@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/browser/index.js
CHANGED
|
@@ -18035,6 +18035,106 @@ const MessageTypeValues =
|
|
|
18035
18035
|
|
|
18036
18036
|
/***/ }),
|
|
18037
18037
|
|
|
18038
|
+
/***/ "../../node_modules/css-loader/dist/cjs.js!../../node_modules/sass-loader/dist/cjs.js!./src/sessionWidget/styles/button.scss":
|
|
18039
|
+
/*!***********************************************************************************************************************************!*\
|
|
18040
|
+
!*** ../../node_modules/css-loader/dist/cjs.js!../../node_modules/sass-loader/dist/cjs.js!./src/sessionWidget/styles/button.scss ***!
|
|
18041
|
+
\***********************************************************************************************************************************/
|
|
18042
|
+
/***/ ((module, __webpack_exports__, __webpack_require__) => {
|
|
18043
|
+
|
|
18044
|
+
"use strict";
|
|
18045
|
+
__webpack_require__.r(__webpack_exports__);
|
|
18046
|
+
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
18047
|
+
/* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__)
|
|
18048
|
+
/* harmony export */ });
|
|
18049
|
+
/* harmony import */ var _node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../../../../../node_modules/css-loader/dist/runtime/api.js */ "../../node_modules/css-loader/dist/runtime/api.js");
|
|
18050
|
+
/* harmony import */ var _node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_0__);
|
|
18051
|
+
// Imports
|
|
18052
|
+
|
|
18053
|
+
var ___CSS_LOADER_EXPORT___ = _node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_0___default()(function(i){return i[1]});
|
|
18054
|
+
// Module
|
|
18055
|
+
___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}", ""]);
|
|
18056
|
+
// Exports
|
|
18057
|
+
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (___CSS_LOADER_EXPORT___);
|
|
18058
|
+
|
|
18059
|
+
|
|
18060
|
+
/***/ }),
|
|
18061
|
+
|
|
18062
|
+
/***/ "../../node_modules/css-loader/dist/runtime/api.js":
|
|
18063
|
+
/*!*********************************************************!*\
|
|
18064
|
+
!*** ../../node_modules/css-loader/dist/runtime/api.js ***!
|
|
18065
|
+
\*********************************************************/
|
|
18066
|
+
/***/ ((module) => {
|
|
18067
|
+
|
|
18068
|
+
"use strict";
|
|
18069
|
+
|
|
18070
|
+
|
|
18071
|
+
/*
|
|
18072
|
+
MIT License http://www.opensource.org/licenses/mit-license.php
|
|
18073
|
+
Author Tobias Koppers @sokra
|
|
18074
|
+
*/
|
|
18075
|
+
// css base code, injected by the css-loader
|
|
18076
|
+
// eslint-disable-next-line func-names
|
|
18077
|
+
module.exports = function (cssWithMappingToString) {
|
|
18078
|
+
var list = []; // return the list of modules as css string
|
|
18079
|
+
|
|
18080
|
+
list.toString = function toString() {
|
|
18081
|
+
return this.map(function (item) {
|
|
18082
|
+
var content = cssWithMappingToString(item);
|
|
18083
|
+
|
|
18084
|
+
if (item[2]) {
|
|
18085
|
+
return "@media ".concat(item[2], " {").concat(content, "}");
|
|
18086
|
+
}
|
|
18087
|
+
|
|
18088
|
+
return content;
|
|
18089
|
+
}).join("");
|
|
18090
|
+
}; // import a list of modules into the list
|
|
18091
|
+
// eslint-disable-next-line func-names
|
|
18092
|
+
|
|
18093
|
+
|
|
18094
|
+
list.i = function (modules, mediaQuery, dedupe) {
|
|
18095
|
+
if (typeof modules === "string") {
|
|
18096
|
+
// eslint-disable-next-line no-param-reassign
|
|
18097
|
+
modules = [[null, modules, ""]];
|
|
18098
|
+
}
|
|
18099
|
+
|
|
18100
|
+
var alreadyImportedModules = {};
|
|
18101
|
+
|
|
18102
|
+
if (dedupe) {
|
|
18103
|
+
for (var i = 0; i < this.length; i++) {
|
|
18104
|
+
// eslint-disable-next-line prefer-destructuring
|
|
18105
|
+
var id = this[i][0];
|
|
18106
|
+
|
|
18107
|
+
if (id != null) {
|
|
18108
|
+
alreadyImportedModules[id] = true;
|
|
18109
|
+
}
|
|
18110
|
+
}
|
|
18111
|
+
}
|
|
18112
|
+
|
|
18113
|
+
for (var _i = 0; _i < modules.length; _i++) {
|
|
18114
|
+
var item = [].concat(modules[_i]);
|
|
18115
|
+
|
|
18116
|
+
if (dedupe && alreadyImportedModules[item[0]]) {
|
|
18117
|
+
// eslint-disable-next-line no-continue
|
|
18118
|
+
continue;
|
|
18119
|
+
}
|
|
18120
|
+
|
|
18121
|
+
if (mediaQuery) {
|
|
18122
|
+
if (!item[2]) {
|
|
18123
|
+
item[2] = mediaQuery;
|
|
18124
|
+
} else {
|
|
18125
|
+
item[2] = "".concat(mediaQuery, " and ").concat(item[2]);
|
|
18126
|
+
}
|
|
18127
|
+
}
|
|
18128
|
+
|
|
18129
|
+
list.push(item);
|
|
18130
|
+
}
|
|
18131
|
+
};
|
|
18132
|
+
|
|
18133
|
+
return list;
|
|
18134
|
+
};
|
|
18135
|
+
|
|
18136
|
+
/***/ }),
|
|
18137
|
+
|
|
18038
18138
|
/***/ "../../node_modules/events/events.js":
|
|
18039
18139
|
/*!*******************************************!*\
|
|
18040
18140
|
!*** ../../node_modules/events/events.js ***!
|
|
@@ -24031,6 +24131,303 @@ function noop() {
|
|
|
24031
24131
|
module.exports = xor;
|
|
24032
24132
|
|
|
24033
24133
|
|
|
24134
|
+
/***/ }),
|
|
24135
|
+
|
|
24136
|
+
/***/ "./src/sessionWidget/styles/button.scss":
|
|
24137
|
+
/*!**********************************************!*\
|
|
24138
|
+
!*** ./src/sessionWidget/styles/button.scss ***!
|
|
24139
|
+
\**********************************************/
|
|
24140
|
+
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
24141
|
+
|
|
24142
|
+
"use strict";
|
|
24143
|
+
__webpack_require__.r(__webpack_exports__);
|
|
24144
|
+
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
24145
|
+
/* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__)
|
|
24146
|
+
/* harmony export */ });
|
|
24147
|
+
/* 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");
|
|
24148
|
+
/* 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__);
|
|
24149
|
+
/* 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");
|
|
24150
|
+
/* 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__);
|
|
24151
|
+
/* 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");
|
|
24152
|
+
/* 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__);
|
|
24153
|
+
/* 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");
|
|
24154
|
+
/* 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__);
|
|
24155
|
+
/* 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");
|
|
24156
|
+
|
|
24157
|
+
|
|
24158
|
+
|
|
24159
|
+
|
|
24160
|
+
|
|
24161
|
+
|
|
24162
|
+
|
|
24163
|
+
|
|
24164
|
+
|
|
24165
|
+
var options = {};
|
|
24166
|
+
|
|
24167
|
+
options.styleTagTransform = function(css, style){
|
|
24168
|
+
if (style.styleSheet) {
|
|
24169
|
+
style.styleSheet.cssText = css;
|
|
24170
|
+
} else {
|
|
24171
|
+
while (style.firstChild) {
|
|
24172
|
+
style.removeChild(style.firstChild);
|
|
24173
|
+
}
|
|
24174
|
+
|
|
24175
|
+
style.appendChild(document.createTextNode(css));
|
|
24176
|
+
}
|
|
24177
|
+
};
|
|
24178
|
+
options.setAttributes = function(style) {
|
|
24179
|
+
var nonce =
|
|
24180
|
+
true ? __webpack_require__.nc : 0;
|
|
24181
|
+
|
|
24182
|
+
if (nonce) {
|
|
24183
|
+
style.setAttribute("nonce", nonce);
|
|
24184
|
+
}
|
|
24185
|
+
};
|
|
24186
|
+
options.insert = function(style){
|
|
24187
|
+
var target = _node_modules_style_loader_dist_runtime_getTarget_js__WEBPACK_IMPORTED_MODULE_2___default()("head");
|
|
24188
|
+
|
|
24189
|
+
if (!target) {
|
|
24190
|
+
throw new Error(
|
|
24191
|
+
"Couldn't find a style target. This probably means that the value for the 'insert' parameter is invalid."
|
|
24192
|
+
);
|
|
24193
|
+
}
|
|
24194
|
+
|
|
24195
|
+
target.appendChild(style);
|
|
24196
|
+
};
|
|
24197
|
+
options.domAPI = (_node_modules_style_loader_dist_runtime_styleDomAPI_js__WEBPACK_IMPORTED_MODULE_1___default());
|
|
24198
|
+
options.insertStyleElement = (_node_modules_style_loader_dist_runtime_insertStyleElement_js__WEBPACK_IMPORTED_MODULE_3___default());
|
|
24199
|
+
|
|
24200
|
+
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);
|
|
24201
|
+
|
|
24202
|
+
|
|
24203
|
+
|
|
24204
|
+
|
|
24205
|
+
/* harmony default export */ const __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);
|
|
24206
|
+
|
|
24207
|
+
|
|
24208
|
+
/***/ }),
|
|
24209
|
+
|
|
24210
|
+
/***/ "../../node_modules/style-loader/dist/runtime/getTarget.js":
|
|
24211
|
+
/*!*****************************************************************!*\
|
|
24212
|
+
!*** ../../node_modules/style-loader/dist/runtime/getTarget.js ***!
|
|
24213
|
+
\*****************************************************************/
|
|
24214
|
+
/***/ ((module) => {
|
|
24215
|
+
|
|
24216
|
+
"use strict";
|
|
24217
|
+
|
|
24218
|
+
|
|
24219
|
+
var memo = {};
|
|
24220
|
+
/* istanbul ignore next */
|
|
24221
|
+
|
|
24222
|
+
function getTarget(target) {
|
|
24223
|
+
if (typeof memo[target] === "undefined") {
|
|
24224
|
+
var styleTarget = document.querySelector(target); // Special case to return head of iframe instead of iframe itself
|
|
24225
|
+
|
|
24226
|
+
if (window.HTMLIFrameElement && styleTarget instanceof window.HTMLIFrameElement) {
|
|
24227
|
+
try {
|
|
24228
|
+
// This will throw an exception if access to iframe is blocked
|
|
24229
|
+
// due to cross-origin restrictions
|
|
24230
|
+
styleTarget = styleTarget.contentDocument.head;
|
|
24231
|
+
} catch (e) {
|
|
24232
|
+
// istanbul ignore next
|
|
24233
|
+
styleTarget = null;
|
|
24234
|
+
}
|
|
24235
|
+
}
|
|
24236
|
+
|
|
24237
|
+
memo[target] = styleTarget;
|
|
24238
|
+
}
|
|
24239
|
+
|
|
24240
|
+
return memo[target];
|
|
24241
|
+
}
|
|
24242
|
+
|
|
24243
|
+
module.exports = getTarget;
|
|
24244
|
+
|
|
24245
|
+
/***/ }),
|
|
24246
|
+
|
|
24247
|
+
/***/ "../../node_modules/style-loader/dist/runtime/injectStylesIntoStyleTag.js":
|
|
24248
|
+
/*!********************************************************************************!*\
|
|
24249
|
+
!*** ../../node_modules/style-loader/dist/runtime/injectStylesIntoStyleTag.js ***!
|
|
24250
|
+
\********************************************************************************/
|
|
24251
|
+
/***/ ((module) => {
|
|
24252
|
+
|
|
24253
|
+
"use strict";
|
|
24254
|
+
|
|
24255
|
+
|
|
24256
|
+
var stylesInDom = [];
|
|
24257
|
+
|
|
24258
|
+
function getIndexByIdentifier(identifier) {
|
|
24259
|
+
var result = -1;
|
|
24260
|
+
|
|
24261
|
+
for (var i = 0; i < stylesInDom.length; i++) {
|
|
24262
|
+
if (stylesInDom[i].identifier === identifier) {
|
|
24263
|
+
result = i;
|
|
24264
|
+
break;
|
|
24265
|
+
}
|
|
24266
|
+
}
|
|
24267
|
+
|
|
24268
|
+
return result;
|
|
24269
|
+
}
|
|
24270
|
+
|
|
24271
|
+
function modulesToDom(list, options) {
|
|
24272
|
+
var idCountMap = {};
|
|
24273
|
+
var identifiers = [];
|
|
24274
|
+
|
|
24275
|
+
for (var i = 0; i < list.length; i++) {
|
|
24276
|
+
var item = list[i];
|
|
24277
|
+
var id = options.base ? item[0] + options.base : item[0];
|
|
24278
|
+
var count = idCountMap[id] || 0;
|
|
24279
|
+
var identifier = "".concat(id, " ").concat(count);
|
|
24280
|
+
idCountMap[id] = count + 1;
|
|
24281
|
+
var index = getIndexByIdentifier(identifier);
|
|
24282
|
+
var obj = {
|
|
24283
|
+
css: item[1],
|
|
24284
|
+
media: item[2],
|
|
24285
|
+
sourceMap: item[3]
|
|
24286
|
+
};
|
|
24287
|
+
|
|
24288
|
+
if (index !== -1) {
|
|
24289
|
+
stylesInDom[index].references++;
|
|
24290
|
+
stylesInDom[index].updater(obj);
|
|
24291
|
+
} else {
|
|
24292
|
+
stylesInDom.push({
|
|
24293
|
+
identifier: identifier,
|
|
24294
|
+
updater: addStyle(obj, options),
|
|
24295
|
+
references: 1
|
|
24296
|
+
});
|
|
24297
|
+
}
|
|
24298
|
+
|
|
24299
|
+
identifiers.push(identifier);
|
|
24300
|
+
}
|
|
24301
|
+
|
|
24302
|
+
return identifiers;
|
|
24303
|
+
}
|
|
24304
|
+
|
|
24305
|
+
function addStyle(obj, options) {
|
|
24306
|
+
var api = options.domAPI(options);
|
|
24307
|
+
api.update(obj);
|
|
24308
|
+
return function updateStyle(newObj) {
|
|
24309
|
+
if (newObj) {
|
|
24310
|
+
if (newObj.css === obj.css && newObj.media === obj.media && newObj.sourceMap === obj.sourceMap) {
|
|
24311
|
+
return;
|
|
24312
|
+
}
|
|
24313
|
+
|
|
24314
|
+
api.update(obj = newObj);
|
|
24315
|
+
} else {
|
|
24316
|
+
api.remove();
|
|
24317
|
+
}
|
|
24318
|
+
};
|
|
24319
|
+
}
|
|
24320
|
+
|
|
24321
|
+
module.exports = function (list, options) {
|
|
24322
|
+
options = options || {};
|
|
24323
|
+
list = list || [];
|
|
24324
|
+
var lastIdentifiers = modulesToDom(list, options);
|
|
24325
|
+
return function update(newList) {
|
|
24326
|
+
newList = newList || [];
|
|
24327
|
+
|
|
24328
|
+
for (var i = 0; i < lastIdentifiers.length; i++) {
|
|
24329
|
+
var identifier = lastIdentifiers[i];
|
|
24330
|
+
var index = getIndexByIdentifier(identifier);
|
|
24331
|
+
stylesInDom[index].references--;
|
|
24332
|
+
}
|
|
24333
|
+
|
|
24334
|
+
var newLastIdentifiers = modulesToDom(newList, options);
|
|
24335
|
+
|
|
24336
|
+
for (var _i = 0; _i < lastIdentifiers.length; _i++) {
|
|
24337
|
+
var _identifier = lastIdentifiers[_i];
|
|
24338
|
+
|
|
24339
|
+
var _index = getIndexByIdentifier(_identifier);
|
|
24340
|
+
|
|
24341
|
+
if (stylesInDom[_index].references === 0) {
|
|
24342
|
+
stylesInDom[_index].updater();
|
|
24343
|
+
|
|
24344
|
+
stylesInDom.splice(_index, 1);
|
|
24345
|
+
}
|
|
24346
|
+
}
|
|
24347
|
+
|
|
24348
|
+
lastIdentifiers = newLastIdentifiers;
|
|
24349
|
+
};
|
|
24350
|
+
};
|
|
24351
|
+
|
|
24352
|
+
/***/ }),
|
|
24353
|
+
|
|
24354
|
+
/***/ "../../node_modules/style-loader/dist/runtime/insertStyleElement.js":
|
|
24355
|
+
/*!**************************************************************************!*\
|
|
24356
|
+
!*** ../../node_modules/style-loader/dist/runtime/insertStyleElement.js ***!
|
|
24357
|
+
\**************************************************************************/
|
|
24358
|
+
/***/ ((module) => {
|
|
24359
|
+
|
|
24360
|
+
"use strict";
|
|
24361
|
+
|
|
24362
|
+
|
|
24363
|
+
/* istanbul ignore next */
|
|
24364
|
+
function insertStyleElement(options) {
|
|
24365
|
+
var style = document.createElement("style");
|
|
24366
|
+
options.setAttributes(style, options.attributes);
|
|
24367
|
+
options.insert(style);
|
|
24368
|
+
return style;
|
|
24369
|
+
}
|
|
24370
|
+
|
|
24371
|
+
module.exports = insertStyleElement;
|
|
24372
|
+
|
|
24373
|
+
/***/ }),
|
|
24374
|
+
|
|
24375
|
+
/***/ "../../node_modules/style-loader/dist/runtime/styleDomAPI.js":
|
|
24376
|
+
/*!*******************************************************************!*\
|
|
24377
|
+
!*** ../../node_modules/style-loader/dist/runtime/styleDomAPI.js ***!
|
|
24378
|
+
\*******************************************************************/
|
|
24379
|
+
/***/ ((module) => {
|
|
24380
|
+
|
|
24381
|
+
"use strict";
|
|
24382
|
+
|
|
24383
|
+
|
|
24384
|
+
/* istanbul ignore next */
|
|
24385
|
+
function apply(style, options, obj) {
|
|
24386
|
+
var css = obj.css;
|
|
24387
|
+
var media = obj.media;
|
|
24388
|
+
var sourceMap = obj.sourceMap;
|
|
24389
|
+
|
|
24390
|
+
if (media) {
|
|
24391
|
+
style.setAttribute("media", media);
|
|
24392
|
+
} else {
|
|
24393
|
+
style.removeAttribute("media");
|
|
24394
|
+
}
|
|
24395
|
+
|
|
24396
|
+
if (sourceMap && typeof btoa !== "undefined") {
|
|
24397
|
+
css += "\n/*# sourceMappingURL=data:application/json;base64,".concat(btoa(unescape(encodeURIComponent(JSON.stringify(sourceMap)))), " */");
|
|
24398
|
+
} // For old IE
|
|
24399
|
+
|
|
24400
|
+
/* istanbul ignore if */
|
|
24401
|
+
|
|
24402
|
+
|
|
24403
|
+
options.styleTagTransform(css, style);
|
|
24404
|
+
}
|
|
24405
|
+
|
|
24406
|
+
function removeStyleElement(style) {
|
|
24407
|
+
// istanbul ignore if
|
|
24408
|
+
if (style.parentNode === null) {
|
|
24409
|
+
return false;
|
|
24410
|
+
}
|
|
24411
|
+
|
|
24412
|
+
style.parentNode.removeChild(style);
|
|
24413
|
+
}
|
|
24414
|
+
/* istanbul ignore next */
|
|
24415
|
+
|
|
24416
|
+
|
|
24417
|
+
function domAPI(options) {
|
|
24418
|
+
var style = options.insertStyleElement(options);
|
|
24419
|
+
return {
|
|
24420
|
+
update: function update(obj) {
|
|
24421
|
+
apply(style, options, obj);
|
|
24422
|
+
},
|
|
24423
|
+
remove: function remove() {
|
|
24424
|
+
removeStyleElement(style);
|
|
24425
|
+
}
|
|
24426
|
+
};
|
|
24427
|
+
}
|
|
24428
|
+
|
|
24429
|
+
module.exports = domAPI;
|
|
24430
|
+
|
|
24034
24431
|
/***/ }),
|
|
24035
24432
|
|
|
24036
24433
|
/***/ "../../node_modules/to-json-schema/lib/helpers.js":
|
|
@@ -24654,7 +25051,7 @@ const CONTINUOUS_DEBUGGING_TIMEOUT = 60000; // 1 minutes
|
|
|
24654
25051
|
const DEBUG_SESSION_MAX_DURATION_SECONDS = 10 * 60 + 30; // TODO: move to shared config otel core
|
|
24655
25052
|
const REMOTE_SESSION_RECORDING_START = 'remote-session-recording:start';
|
|
24656
25053
|
const REMOTE_SESSION_RECORDING_STOP = 'remote-session-recording:stop';
|
|
24657
|
-
const PACKAGE_VERSION_EXPORT = "1.3.
|
|
25054
|
+
const PACKAGE_VERSION_EXPORT = "1.3.13" || 0;
|
|
24658
25055
|
// Regex patterns for OpenTelemetry ignore URLs
|
|
24659
25056
|
const OTEL_IGNORE_URLS = [
|
|
24660
25057
|
// Traces endpoint
|
|
@@ -26826,20 +27223,20 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
26826
27223
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
26827
27224
|
/* harmony export */ SessionRecorder: () => (/* binding */ SessionRecorder)
|
|
26828
27225
|
/* harmony export */ });
|
|
26829
|
-
/* harmony import */ var _otel__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./otel */ "./src/otel/index.ts");
|
|
26830
|
-
/* harmony import */ var _rrweb__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./rrweb */ "./src/rrweb/index.ts");
|
|
26831
|
-
/* harmony import */ var _utils__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./utils */ "./src/utils/index.ts");
|
|
26832
|
-
/* harmony import */ var _types__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./types */ "./src/types/index.ts");
|
|
26833
|
-
/* harmony import */ var _services_socket_service__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./services/socket.service */ "./src/services/socket.service.ts");
|
|
26834
|
-
/* harmony import */ var _config__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./config */ "./src/config/index.ts");
|
|
26835
|
-
/* harmony import */ var _patch__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ./patch */ "./src/patch/index.ts");
|
|
26836
|
-
/* harmony import */ var _eventBus__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ./eventBus */ "./src/eventBus.ts");
|
|
26837
|
-
/* harmony import */ var _sessionWidget__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ./sessionWidget */ "./src/sessionWidget/index.ts");
|
|
26838
|
-
/* harmony import */ var _services_messaging_service__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! ./services/messaging.service */ "./src/services/messaging.service.ts");
|
|
26839
|
-
/* harmony import */ var _services_api_service__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! ./services/api.service */ "./src/services/api.service.ts");
|
|
26840
|
-
/* 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");
|
|
26841
|
-
/* harmony import */ var _sessionWidget_buttonStateConfigs__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! ./sessionWidget/buttonStateConfigs */ "./src/sessionWidget/buttonStateConfigs.ts");
|
|
26842
27226
|
/* harmony import */ var lib0_observable__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(/*! lib0/observable */ "../../node_modules/lib0/observable.js");
|
|
27227
|
+
/* 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");
|
|
27228
|
+
/* harmony import */ var _otel__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./otel */ "./src/otel/index.ts");
|
|
27229
|
+
/* harmony import */ var _rrweb__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./rrweb */ "./src/rrweb/index.ts");
|
|
27230
|
+
/* harmony import */ var _utils__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./utils */ "./src/utils/index.ts");
|
|
27231
|
+
/* harmony import */ var _types__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./types */ "./src/types/index.ts");
|
|
27232
|
+
/* harmony import */ var _services_socket_service__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./services/socket.service */ "./src/services/socket.service.ts");
|
|
27233
|
+
/* harmony import */ var _config__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ./config */ "./src/config/index.ts");
|
|
27234
|
+
/* harmony import */ var _patch__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ./patch */ "./src/patch/index.ts");
|
|
27235
|
+
/* harmony import */ var _eventBus__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ./eventBus */ "./src/eventBus.ts");
|
|
27236
|
+
/* harmony import */ var _sessionWidget__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! ./sessionWidget */ "./src/sessionWidget/index.ts");
|
|
27237
|
+
/* harmony import */ var _services_messaging_service__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! ./services/messaging.service */ "./src/services/messaging.service.ts");
|
|
27238
|
+
/* harmony import */ var _services_api_service__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! ./services/api.service */ "./src/services/api.service.ts");
|
|
27239
|
+
/* harmony import */ var _sessionWidget_buttonStateConfigs__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! ./sessionWidget/buttonStateConfigs */ "./src/sessionWidget/buttonStateConfigs.ts");
|
|
26843
27240
|
/* harmony import */ var _navigation__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! ./navigation */ "./src/navigation/index.ts");
|
|
26844
27241
|
|
|
26845
27242
|
|
|
@@ -26868,38 +27265,38 @@ class SessionRecorder extends lib0_observable__WEBPACK_IMPORTED_MODULE_14__.Obse
|
|
|
26868
27265
|
}
|
|
26869
27266
|
set sessionId(sessionId) {
|
|
26870
27267
|
this._sessionId = sessionId;
|
|
26871
|
-
(0,
|
|
27268
|
+
(0,_utils__WEBPACK_IMPORTED_MODULE_3__.setStoredItem)(_config__WEBPACK_IMPORTED_MODULE_6__.SESSION_ID_PROP_NAME, sessionId);
|
|
26872
27269
|
}
|
|
26873
27270
|
get sessionType() {
|
|
26874
27271
|
return this._sessionType;
|
|
26875
27272
|
}
|
|
26876
27273
|
set sessionType(sessionType) {
|
|
26877
27274
|
this._sessionType = sessionType;
|
|
26878
|
-
const continuousRecording = sessionType ===
|
|
27275
|
+
const continuousRecording = sessionType === _multiplayer_app_session_recorder_common__WEBPACK_IMPORTED_MODULE_0__.SessionType.CONTINUOUS;
|
|
26879
27276
|
this._sessionWidget.updateContinuousRecordingState(continuousRecording);
|
|
26880
|
-
|
|
26881
|
-
(0,
|
|
27277
|
+
_services_messaging_service__WEBPACK_IMPORTED_MODULE_10__["default"].sendMessage('continuous-debugging', continuousRecording);
|
|
27278
|
+
(0,_utils__WEBPACK_IMPORTED_MODULE_3__.setStoredItem)(_config__WEBPACK_IMPORTED_MODULE_6__.SESSION_TYPE_PROP_NAME, sessionType);
|
|
26882
27279
|
}
|
|
26883
27280
|
get continuousRecording() {
|
|
26884
|
-
return this.sessionType ===
|
|
27281
|
+
return this.sessionType === _multiplayer_app_session_recorder_common__WEBPACK_IMPORTED_MODULE_0__.SessionType.CONTINUOUS;
|
|
26885
27282
|
}
|
|
26886
27283
|
get sessionState() {
|
|
26887
|
-
return this._sessionState ||
|
|
27284
|
+
return this._sessionState || _types__WEBPACK_IMPORTED_MODULE_4__.SessionState.stopped;
|
|
26888
27285
|
}
|
|
26889
27286
|
set sessionState(state) {
|
|
26890
27287
|
this._sessionState = state;
|
|
26891
27288
|
this._sessionWidget.updateState(this._sessionState, this.continuousRecording);
|
|
26892
|
-
|
|
26893
|
-
(0,
|
|
27289
|
+
_services_messaging_service__WEBPACK_IMPORTED_MODULE_10__["default"].sendMessage('state-change', this._sessionState);
|
|
27290
|
+
(0,_utils__WEBPACK_IMPORTED_MODULE_3__.setStoredItem)(_config__WEBPACK_IMPORTED_MODULE_6__.SESSION_STATE_PROP_NAME, state);
|
|
26894
27291
|
// Emit observable event to support React wrapper
|
|
26895
|
-
this.emit('state-change', [this._sessionState ||
|
|
27292
|
+
this.emit('state-change', [this._sessionState || _types__WEBPACK_IMPORTED_MODULE_4__.SessionState.stopped, this.sessionType]);
|
|
26896
27293
|
}
|
|
26897
27294
|
get session() {
|
|
26898
27295
|
return this._session;
|
|
26899
27296
|
}
|
|
26900
27297
|
set session(session) {
|
|
26901
27298
|
this._session = session;
|
|
26902
|
-
(0,
|
|
27299
|
+
(0,_utils__WEBPACK_IMPORTED_MODULE_3__.setStoredItem)(_config__WEBPACK_IMPORTED_MODULE_6__.SESSION_PROP_NAME, this._session);
|
|
26903
27300
|
}
|
|
26904
27301
|
get sessionAttributes() {
|
|
26905
27302
|
return this._sessionAttributes || {};
|
|
@@ -26937,17 +27334,17 @@ class SessionRecorder extends lib0_observable__WEBPACK_IMPORTED_MODULE_14__.Obse
|
|
|
26937
27334
|
constructor() {
|
|
26938
27335
|
var _a;
|
|
26939
27336
|
super();
|
|
26940
|
-
this._apiService = new
|
|
26941
|
-
this._socketService = new
|
|
26942
|
-
this._tracer = new
|
|
26943
|
-
this._recorder = new
|
|
26944
|
-
this._sessionWidget = new
|
|
27337
|
+
this._apiService = new _services_api_service__WEBPACK_IMPORTED_MODULE_11__.ApiService();
|
|
27338
|
+
this._socketService = new _services_socket_service__WEBPACK_IMPORTED_MODULE_5__.SocketService();
|
|
27339
|
+
this._tracer = new _otel__WEBPACK_IMPORTED_MODULE_1__.TracerBrowserSDK();
|
|
27340
|
+
this._recorder = new _rrweb__WEBPACK_IMPORTED_MODULE_2__.RecorderBrowserSDK();
|
|
27341
|
+
this._sessionWidget = new _sessionWidget__WEBPACK_IMPORTED_MODULE_9__.SessionWidget();
|
|
26945
27342
|
this._navigationRecorder = new _navigation__WEBPACK_IMPORTED_MODULE_13__.NavigationRecorder();
|
|
26946
27343
|
this._startRequestController = null;
|
|
26947
27344
|
this._isInitialized = false;
|
|
26948
27345
|
// Session ID and state are stored in localStorage
|
|
26949
27346
|
this._sessionId = null;
|
|
26950
|
-
this._sessionType =
|
|
27347
|
+
this._sessionType = _multiplayer_app_session_recorder_common__WEBPACK_IMPORTED_MODULE_0__.SessionType.MANUAL;
|
|
26951
27348
|
this._sessionState = null;
|
|
26952
27349
|
this._session = null;
|
|
26953
27350
|
this._sessionAttributes = null;
|
|
@@ -26958,11 +27355,11 @@ class SessionRecorder extends lib0_observable__WEBPACK_IMPORTED_MODULE_14__.Obse
|
|
|
26958
27355
|
this._error = '';
|
|
26959
27356
|
// Safety: avoid accessing storage in SSR/non-browser environments
|
|
26960
27357
|
const isBrowser = typeof window !== 'undefined';
|
|
26961
|
-
const sessionLocal = isBrowser ? (0,
|
|
26962
|
-
const sessionIdLocal = isBrowser ? (0,
|
|
26963
|
-
const sessionStateLocal = isBrowser ? (0,
|
|
26964
|
-
const sessionTypeLocal = isBrowser ? (0,
|
|
26965
|
-
if ((0,
|
|
27358
|
+
const sessionLocal = isBrowser ? (0,_utils__WEBPACK_IMPORTED_MODULE_3__.getStoredItem)(_config__WEBPACK_IMPORTED_MODULE_6__.SESSION_PROP_NAME, true) : null;
|
|
27359
|
+
const sessionIdLocal = isBrowser ? (0,_utils__WEBPACK_IMPORTED_MODULE_3__.getStoredItem)(_config__WEBPACK_IMPORTED_MODULE_6__.SESSION_ID_PROP_NAME) : null;
|
|
27360
|
+
const sessionStateLocal = isBrowser ? (0,_utils__WEBPACK_IMPORTED_MODULE_3__.getStoredItem)(_config__WEBPACK_IMPORTED_MODULE_6__.SESSION_STATE_PROP_NAME) : null;
|
|
27361
|
+
const sessionTypeLocal = isBrowser ? (0,_utils__WEBPACK_IMPORTED_MODULE_3__.getStoredItem)(_config__WEBPACK_IMPORTED_MODULE_6__.SESSION_TYPE_PROP_NAME) : null;
|
|
27362
|
+
if ((0,_utils__WEBPACK_IMPORTED_MODULE_3__.isSessionActive)(sessionLocal, sessionTypeLocal)) {
|
|
26966
27363
|
this.session = sessionLocal;
|
|
26967
27364
|
this.sessionId = sessionIdLocal;
|
|
26968
27365
|
this.sessionType = sessionTypeLocal;
|
|
@@ -26972,10 +27369,10 @@ class SessionRecorder extends lib0_observable__WEBPACK_IMPORTED_MODULE_14__.Obse
|
|
|
26972
27369
|
this.session = null;
|
|
26973
27370
|
this.sessionId = null;
|
|
26974
27371
|
this.sessionState = null;
|
|
26975
|
-
this.sessionType =
|
|
27372
|
+
this.sessionType = _multiplayer_app_session_recorder_common__WEBPACK_IMPORTED_MODULE_0__.SessionType.MANUAL;
|
|
26976
27373
|
}
|
|
26977
27374
|
this._configs = {
|
|
26978
|
-
...
|
|
27375
|
+
..._config__WEBPACK_IMPORTED_MODULE_6__.BASE_CONFIG,
|
|
26979
27376
|
apiKey: ((_a = this.session) === null || _a === void 0 ? void 0 : _a.tempApiKey) || '',
|
|
26980
27377
|
};
|
|
26981
27378
|
}
|
|
@@ -26987,11 +27384,11 @@ class SessionRecorder extends lib0_observable__WEBPACK_IMPORTED_MODULE_14__.Obse
|
|
|
26987
27384
|
if (typeof window === 'undefined') {
|
|
26988
27385
|
return;
|
|
26989
27386
|
}
|
|
26990
|
-
this._configs = (0,
|
|
27387
|
+
this._configs = (0,_config__WEBPACK_IMPORTED_MODULE_6__.getSessionRecorderConfig)({ ...this._configs, ...configs });
|
|
26991
27388
|
this._isInitialized = true;
|
|
26992
27389
|
this._checkOperation('init');
|
|
26993
|
-
(0,
|
|
26994
|
-
(0,
|
|
27390
|
+
(0,_patch__WEBPACK_IMPORTED_MODULE_7__.setMaxCapturingHttpPayloadSize)(this._configs.maxCapturingHttpPayloadSize || _config__WEBPACK_IMPORTED_MODULE_6__.DEFAULT_MAX_HTTP_CAPTURING_PAYLOAD_SIZE);
|
|
27391
|
+
(0,_patch__WEBPACK_IMPORTED_MODULE_7__.setShouldRecordHttpData)(this._configs.captureBody, this._configs.captureHeaders);
|
|
26995
27392
|
this._tracer.init(this._configs);
|
|
26996
27393
|
this._apiService.init(this._configs);
|
|
26997
27394
|
this._sessionWidget.init(this._configs);
|
|
@@ -27011,13 +27408,13 @@ class SessionRecorder extends lib0_observable__WEBPACK_IMPORTED_MODULE_14__.Obse
|
|
|
27011
27408
|
this._recorder.init(this._configs, this._socketService);
|
|
27012
27409
|
}
|
|
27013
27410
|
if (this.sessionId
|
|
27014
|
-
&& (this.sessionState ===
|
|
27015
|
-
|| this.sessionState ===
|
|
27411
|
+
&& (this.sessionState === _types__WEBPACK_IMPORTED_MODULE_4__.SessionState.started
|
|
27412
|
+
|| this.sessionState === _types__WEBPACK_IMPORTED_MODULE_4__.SessionState.paused)) {
|
|
27016
27413
|
this._start();
|
|
27017
27414
|
}
|
|
27018
27415
|
this._registerWidgetEvents();
|
|
27019
27416
|
this._registerSocketServiceListeners();
|
|
27020
|
-
|
|
27417
|
+
_services_messaging_service__WEBPACK_IMPORTED_MODULE_10__["default"].sendMessage('state-change', this.sessionState);
|
|
27021
27418
|
// Emit init observable event
|
|
27022
27419
|
this.emit('init', [this]);
|
|
27023
27420
|
}
|
|
@@ -27033,7 +27430,7 @@ class SessionRecorder extends lib0_observable__WEBPACK_IMPORTED_MODULE_14__.Obse
|
|
|
27033
27430
|
this._sessionWidget.updateSaveContinuousDebugSessionState(_sessionWidget_buttonStateConfigs__WEBPACK_IMPORTED_MODULE_12__.ContinuousRecordingSaveButtonState.SAVING);
|
|
27034
27431
|
const res = await this._apiService.saveContinuousDebugSession(this.sessionId, {
|
|
27035
27432
|
sessionAttributes: this.sessionAttributes,
|
|
27036
|
-
resourceAttributes: (0,
|
|
27433
|
+
resourceAttributes: (0,_utils__WEBPACK_IMPORTED_MODULE_3__.getNavigatorInfo)(),
|
|
27037
27434
|
stoppedAt: this._recorder.stoppedAt,
|
|
27038
27435
|
name: this._getSessionName()
|
|
27039
27436
|
});
|
|
@@ -27063,11 +27460,11 @@ class SessionRecorder extends lib0_observable__WEBPACK_IMPORTED_MODULE_14__.Obse
|
|
|
27063
27460
|
* @param type - the type of session to start
|
|
27064
27461
|
* @param session - the session to start
|
|
27065
27462
|
*/
|
|
27066
|
-
start(type =
|
|
27463
|
+
start(type = _multiplayer_app_session_recorder_common__WEBPACK_IMPORTED_MODULE_0__.SessionType.MANUAL, session) {
|
|
27067
27464
|
this._checkOperation('start');
|
|
27068
27465
|
// If continuous recording is disabled, force plain mode
|
|
27069
|
-
if (type ===
|
|
27070
|
-
type =
|
|
27466
|
+
if (type === _multiplayer_app_session_recorder_common__WEBPACK_IMPORTED_MODULE_0__.SessionType.CONTINUOUS && !this._configs.showContinuousRecording) {
|
|
27467
|
+
type = _multiplayer_app_session_recorder_common__WEBPACK_IMPORTED_MODULE_0__.SessionType.MANUAL;
|
|
27071
27468
|
}
|
|
27072
27469
|
this.sessionType = type;
|
|
27073
27470
|
this._startRequestController = new AbortController();
|
|
@@ -27088,7 +27485,7 @@ class SessionRecorder extends lib0_observable__WEBPACK_IMPORTED_MODULE_14__.Obse
|
|
|
27088
27485
|
this._stop();
|
|
27089
27486
|
if (this.continuousRecording) {
|
|
27090
27487
|
await this._apiService.stopContinuousDebugSession(this.sessionId);
|
|
27091
|
-
this.sessionType =
|
|
27488
|
+
this.sessionType = _multiplayer_app_session_recorder_common__WEBPACK_IMPORTED_MODULE_0__.SessionType.MANUAL;
|
|
27092
27489
|
}
|
|
27093
27490
|
else {
|
|
27094
27491
|
const request = {
|
|
@@ -27096,7 +27493,7 @@ class SessionRecorder extends lib0_observable__WEBPACK_IMPORTED_MODULE_14__.Obse
|
|
|
27096
27493
|
stoppedAt: this._recorder.stoppedAt,
|
|
27097
27494
|
};
|
|
27098
27495
|
const response = await this._apiService.stopSession(this.sessionId, request);
|
|
27099
|
-
|
|
27496
|
+
_eventBus__WEBPACK_IMPORTED_MODULE_8__.recorderEventBus.emit(_config__WEBPACK_IMPORTED_MODULE_6__.SESSION_RESPONSE, response);
|
|
27100
27497
|
}
|
|
27101
27498
|
this._clearSession();
|
|
27102
27499
|
}
|
|
@@ -27137,7 +27534,7 @@ class SessionRecorder extends lib0_observable__WEBPACK_IMPORTED_MODULE_14__.Obse
|
|
|
27137
27534
|
this._stop();
|
|
27138
27535
|
if (this.continuousRecording) {
|
|
27139
27536
|
await this._apiService.stopContinuousDebugSession(this.sessionId);
|
|
27140
|
-
this.sessionType =
|
|
27537
|
+
this.sessionType = _multiplayer_app_session_recorder_common__WEBPACK_IMPORTED_MODULE_0__.SessionType.MANUAL;
|
|
27141
27538
|
}
|
|
27142
27539
|
else {
|
|
27143
27540
|
await this._apiService.cancelSession(this.sessionId);
|
|
@@ -27205,19 +27602,19 @@ class SessionRecorder extends lib0_observable__WEBPACK_IMPORTED_MODULE_14__.Obse
|
|
|
27205
27602
|
...((sessionPayload === null || sessionPayload === void 0 ? void 0 : sessionPayload.sessionAttributes) || {}),
|
|
27206
27603
|
},
|
|
27207
27604
|
resourceAttributes: {
|
|
27208
|
-
...(0,
|
|
27605
|
+
...(0,_utils__WEBPACK_IMPORTED_MODULE_3__.getNavigatorInfo)(),
|
|
27209
27606
|
...((sessionPayload === null || sessionPayload === void 0 ? void 0 : sessionPayload.resourceAttributes) || {}),
|
|
27210
27607
|
},
|
|
27211
27608
|
userAttributes: this._userAttributes
|
|
27212
27609
|
};
|
|
27213
27610
|
const { state } = await this._apiService.checkRemoteSession(payload);
|
|
27214
27611
|
if (state == 'START') {
|
|
27215
|
-
if (this.sessionState !==
|
|
27216
|
-
await this.start(
|
|
27612
|
+
if (this.sessionState !== _types__WEBPACK_IMPORTED_MODULE_4__.SessionState.started) {
|
|
27613
|
+
await this.start(_multiplayer_app_session_recorder_common__WEBPACK_IMPORTED_MODULE_0__.SessionType.CONTINUOUS);
|
|
27217
27614
|
}
|
|
27218
27615
|
}
|
|
27219
27616
|
else if (state == 'STOP') {
|
|
27220
|
-
if (this.sessionState !==
|
|
27617
|
+
if (this.sessionState !== _types__WEBPACK_IMPORTED_MODULE_4__.SessionState.stopped) {
|
|
27221
27618
|
await this.stop();
|
|
27222
27619
|
}
|
|
27223
27620
|
}
|
|
@@ -27264,15 +27661,15 @@ class SessionRecorder extends lib0_observable__WEBPACK_IMPORTED_MODULE_14__.Obse
|
|
|
27264
27661
|
* Handle the safe start event
|
|
27265
27662
|
*/
|
|
27266
27663
|
_handleStart() {
|
|
27267
|
-
if (this.sessionState ===
|
|
27268
|
-
this.start(
|
|
27664
|
+
if (this.sessionState === _types__WEBPACK_IMPORTED_MODULE_4__.SessionState.stopped) {
|
|
27665
|
+
this.start(_multiplayer_app_session_recorder_common__WEBPACK_IMPORTED_MODULE_0__.SessionType.MANUAL);
|
|
27269
27666
|
}
|
|
27270
27667
|
}
|
|
27271
27668
|
/**
|
|
27272
27669
|
* Handle the safe stop event
|
|
27273
27670
|
*/
|
|
27274
27671
|
_handleStop(comment) {
|
|
27275
|
-
if (this.sessionState ===
|
|
27672
|
+
if (this.sessionState === _types__WEBPACK_IMPORTED_MODULE_4__.SessionState.started || this.sessionState === _types__WEBPACK_IMPORTED_MODULE_4__.SessionState.paused) {
|
|
27276
27673
|
this.stop(comment);
|
|
27277
27674
|
}
|
|
27278
27675
|
}
|
|
@@ -27280,7 +27677,7 @@ class SessionRecorder extends lib0_observable__WEBPACK_IMPORTED_MODULE_14__.Obse
|
|
|
27280
27677
|
* Handle the safe pause event
|
|
27281
27678
|
*/
|
|
27282
27679
|
_handlePause() {
|
|
27283
|
-
if (this.sessionState ===
|
|
27680
|
+
if (this.sessionState === _types__WEBPACK_IMPORTED_MODULE_4__.SessionState.started) {
|
|
27284
27681
|
this.pause();
|
|
27285
27682
|
}
|
|
27286
27683
|
}
|
|
@@ -27288,7 +27685,7 @@ class SessionRecorder extends lib0_observable__WEBPACK_IMPORTED_MODULE_14__.Obse
|
|
|
27288
27685
|
* Handle the safe resume event
|
|
27289
27686
|
*/
|
|
27290
27687
|
_handleResume() {
|
|
27291
|
-
if (this.sessionState ===
|
|
27688
|
+
if (this.sessionState === _types__WEBPACK_IMPORTED_MODULE_4__.SessionState.paused) {
|
|
27292
27689
|
this.resume();
|
|
27293
27690
|
}
|
|
27294
27691
|
}
|
|
@@ -27296,7 +27693,7 @@ class SessionRecorder extends lib0_observable__WEBPACK_IMPORTED_MODULE_14__.Obse
|
|
|
27296
27693
|
* Handle the safe cancel event
|
|
27297
27694
|
*/
|
|
27298
27695
|
_handleCancel() {
|
|
27299
|
-
if (this.sessionState ===
|
|
27696
|
+
if (this.sessionState === _types__WEBPACK_IMPORTED_MODULE_4__.SessionState.started || this.sessionState === _types__WEBPACK_IMPORTED_MODULE_4__.SessionState.paused) {
|
|
27300
27697
|
this.cancel();
|
|
27301
27698
|
}
|
|
27302
27699
|
}
|
|
@@ -27304,7 +27701,7 @@ class SessionRecorder extends lib0_observable__WEBPACK_IMPORTED_MODULE_14__.Obse
|
|
|
27304
27701
|
* Handle the safe save event
|
|
27305
27702
|
*/
|
|
27306
27703
|
_handleSave() {
|
|
27307
|
-
if (this.sessionState ===
|
|
27704
|
+
if (this.sessionState === _types__WEBPACK_IMPORTED_MODULE_4__.SessionState.started && this.continuousRecording) {
|
|
27308
27705
|
this.save();
|
|
27309
27706
|
}
|
|
27310
27707
|
}
|
|
@@ -27312,20 +27709,20 @@ class SessionRecorder extends lib0_observable__WEBPACK_IMPORTED_MODULE_14__.Obse
|
|
|
27312
27709
|
* Handle the safe continuous debugging event
|
|
27313
27710
|
*/
|
|
27314
27711
|
_handleContinuousDebugging() {
|
|
27315
|
-
if (this.sessionState ===
|
|
27316
|
-
this.start(
|
|
27712
|
+
if (this.sessionState === _types__WEBPACK_IMPORTED_MODULE_4__.SessionState.stopped) {
|
|
27713
|
+
this.start(_multiplayer_app_session_recorder_common__WEBPACK_IMPORTED_MODULE_0__.SessionType.CONTINUOUS);
|
|
27317
27714
|
}
|
|
27318
27715
|
}
|
|
27319
27716
|
/**
|
|
27320
27717
|
* Register socket service event listeners
|
|
27321
27718
|
*/
|
|
27322
27719
|
_registerSocketServiceListeners() {
|
|
27323
|
-
this._socketService.on(
|
|
27720
|
+
this._socketService.on(_config__WEBPACK_IMPORTED_MODULE_6__.SESSION_STOPPED_EVENT, () => {
|
|
27324
27721
|
this._stop();
|
|
27325
27722
|
this._clearSession();
|
|
27326
27723
|
this._sessionWidget.handleUIReseting();
|
|
27327
27724
|
});
|
|
27328
|
-
this._socketService.on(
|
|
27725
|
+
this._socketService.on(_config__WEBPACK_IMPORTED_MODULE_6__.SESSION_AUTO_CREATED, (payload) => {
|
|
27329
27726
|
var _a;
|
|
27330
27727
|
if (!(payload === null || payload === void 0 ? void 0 : payload.data))
|
|
27331
27728
|
return;
|
|
@@ -27338,15 +27735,15 @@ class SessionRecorder extends lib0_observable__WEBPACK_IMPORTED_MODULE_14__.Obse
|
|
|
27338
27735
|
},
|
|
27339
27736
|
}, 5000);
|
|
27340
27737
|
});
|
|
27341
|
-
this._socketService.on(
|
|
27738
|
+
this._socketService.on(_config__WEBPACK_IMPORTED_MODULE_6__.REMOTE_SESSION_RECORDING_START, (payload) => {
|
|
27342
27739
|
console.log('REMOTE_SESSION_RECORDING_START', payload);
|
|
27343
|
-
if (this.sessionState ===
|
|
27740
|
+
if (this.sessionState === _types__WEBPACK_IMPORTED_MODULE_4__.SessionState.stopped) {
|
|
27344
27741
|
this.start();
|
|
27345
27742
|
}
|
|
27346
27743
|
});
|
|
27347
|
-
this._socketService.on(
|
|
27744
|
+
this._socketService.on(_config__WEBPACK_IMPORTED_MODULE_6__.REMOTE_SESSION_RECORDING_STOP, (payload) => {
|
|
27348
27745
|
console.log('REMOTE_SESSION_RECORDING_STOP', payload);
|
|
27349
|
-
if (this.sessionState !==
|
|
27746
|
+
if (this.sessionState !== _types__WEBPACK_IMPORTED_MODULE_4__.SessionState.stopped) {
|
|
27350
27747
|
this.stop();
|
|
27351
27748
|
}
|
|
27352
27749
|
});
|
|
@@ -27360,7 +27757,7 @@ class SessionRecorder extends lib0_observable__WEBPACK_IMPORTED_MODULE_14__.Obse
|
|
|
27360
27757
|
try {
|
|
27361
27758
|
const payload = {
|
|
27362
27759
|
sessionAttributes: this.sessionAttributes,
|
|
27363
|
-
resourceAttributes: (0,
|
|
27760
|
+
resourceAttributes: (0,_utils__WEBPACK_IMPORTED_MODULE_3__.getNavigatorInfo)(),
|
|
27364
27761
|
name: this._getSessionName(),
|
|
27365
27762
|
...(this._userAttributes ? { userAttributes: this._userAttributes } : {}),
|
|
27366
27763
|
};
|
|
@@ -27371,16 +27768,16 @@ class SessionRecorder extends lib0_observable__WEBPACK_IMPORTED_MODULE_14__.Obse
|
|
|
27371
27768
|
: await this._apiService.startSession(request, signal);
|
|
27372
27769
|
if (session) {
|
|
27373
27770
|
session.sessionType = this.continuousRecording
|
|
27374
|
-
?
|
|
27375
|
-
:
|
|
27771
|
+
? _multiplayer_app_session_recorder_common__WEBPACK_IMPORTED_MODULE_0__.SessionType.CONTINUOUS
|
|
27772
|
+
: _multiplayer_app_session_recorder_common__WEBPACK_IMPORTED_MODULE_0__.SessionType.MANUAL;
|
|
27376
27773
|
this._setupSessionAndStart(session, false);
|
|
27377
27774
|
}
|
|
27378
27775
|
}
|
|
27379
27776
|
catch (error) {
|
|
27380
27777
|
this.error = error.message;
|
|
27381
|
-
this.sessionState =
|
|
27778
|
+
this.sessionState = _types__WEBPACK_IMPORTED_MODULE_4__.SessionState.stopped;
|
|
27382
27779
|
if (this.continuousRecording) {
|
|
27383
|
-
this.sessionType =
|
|
27780
|
+
this.sessionType = _multiplayer_app_session_recorder_common__WEBPACK_IMPORTED_MODULE_0__.SessionType.MANUAL;
|
|
27384
27781
|
}
|
|
27385
27782
|
}
|
|
27386
27783
|
}
|
|
@@ -27389,22 +27786,22 @@ class SessionRecorder extends lib0_observable__WEBPACK_IMPORTED_MODULE_14__.Obse
|
|
|
27389
27786
|
*/
|
|
27390
27787
|
_start() {
|
|
27391
27788
|
var _a;
|
|
27392
|
-
this.sessionState =
|
|
27789
|
+
this.sessionState = _types__WEBPACK_IMPORTED_MODULE_4__.SessionState.started;
|
|
27393
27790
|
this.sessionType = this.sessionType;
|
|
27394
27791
|
this._tracer.start(this.sessionId, this.sessionType);
|
|
27395
27792
|
this._recorder.start(this.sessionId, this.sessionType);
|
|
27396
27793
|
this._navigationRecorder.start({ sessionId: this.sessionId, sessionType: this.sessionType, });
|
|
27397
27794
|
if (this.session) {
|
|
27398
|
-
|
|
27795
|
+
_eventBus__WEBPACK_IMPORTED_MODULE_8__.recorderEventBus.emit(_config__WEBPACK_IMPORTED_MODULE_6__.SESSION_STARTED_EVENT, this.session);
|
|
27399
27796
|
this._socketService.subscribeToSession(this.session);
|
|
27400
|
-
this._sessionWidget.seconds = (0,
|
|
27797
|
+
this._sessionWidget.seconds = (0,_utils__WEBPACK_IMPORTED_MODULE_3__.getTimeDifferenceInSeconds)((_a = this.session) === null || _a === void 0 ? void 0 : _a.startedAt);
|
|
27401
27798
|
}
|
|
27402
27799
|
}
|
|
27403
27800
|
/**
|
|
27404
27801
|
* Stop tracing and recording for the session
|
|
27405
27802
|
*/
|
|
27406
27803
|
_stop() {
|
|
27407
|
-
this.sessionState =
|
|
27804
|
+
this.sessionState = _types__WEBPACK_IMPORTED_MODULE_4__.SessionState.stopped;
|
|
27408
27805
|
this._socketService.unsubscribeFromSession(true);
|
|
27409
27806
|
this._tracer.stop();
|
|
27410
27807
|
this._recorder.stop();
|
|
@@ -27417,7 +27814,7 @@ class SessionRecorder extends lib0_observable__WEBPACK_IMPORTED_MODULE_14__.Obse
|
|
|
27417
27814
|
this._tracer.stop();
|
|
27418
27815
|
this._recorder.stop();
|
|
27419
27816
|
this._navigationRecorder.pause();
|
|
27420
|
-
this.sessionState =
|
|
27817
|
+
this.sessionState = _types__WEBPACK_IMPORTED_MODULE_4__.SessionState.paused;
|
|
27421
27818
|
}
|
|
27422
27819
|
/**
|
|
27423
27820
|
* Resume the session tracing and recording
|
|
@@ -27426,7 +27823,7 @@ class SessionRecorder extends lib0_observable__WEBPACK_IMPORTED_MODULE_14__.Obse
|
|
|
27426
27823
|
this._tracer.start(this.sessionId, this.sessionType);
|
|
27427
27824
|
this._recorder.start(this.sessionId, this.sessionType);
|
|
27428
27825
|
this._navigationRecorder.resume();
|
|
27429
|
-
this.sessionState =
|
|
27826
|
+
this.sessionState = _types__WEBPACK_IMPORTED_MODULE_4__.SessionState.started;
|
|
27430
27827
|
}
|
|
27431
27828
|
_setupSessionAndStart(session, configureExporters = true) {
|
|
27432
27829
|
if (configureExporters && session.tempApiKey) {
|
|
@@ -27450,7 +27847,7 @@ class SessionRecorder extends lib0_observable__WEBPACK_IMPORTED_MODULE_14__.Obse
|
|
|
27450
27847
|
_clearSession() {
|
|
27451
27848
|
this.session = null;
|
|
27452
27849
|
this.sessionId = null;
|
|
27453
|
-
this.sessionState =
|
|
27850
|
+
this.sessionState = _types__WEBPACK_IMPORTED_MODULE_4__.SessionState.stopped;
|
|
27454
27851
|
}
|
|
27455
27852
|
/**
|
|
27456
27853
|
* Check the operation validity based on the session state and action
|
|
@@ -27462,27 +27859,27 @@ class SessionRecorder extends lib0_observable__WEBPACK_IMPORTED_MODULE_14__.Obse
|
|
|
27462
27859
|
}
|
|
27463
27860
|
switch (action) {
|
|
27464
27861
|
case 'start':
|
|
27465
|
-
if (this.sessionState ===
|
|
27862
|
+
if (this.sessionState === _types__WEBPACK_IMPORTED_MODULE_4__.SessionState.started) {
|
|
27466
27863
|
throw new Error('Session is already started.');
|
|
27467
27864
|
}
|
|
27468
27865
|
break;
|
|
27469
27866
|
case 'stop':
|
|
27470
|
-
if (this.sessionState !==
|
|
27867
|
+
if (this.sessionState !== _types__WEBPACK_IMPORTED_MODULE_4__.SessionState.paused && this.sessionState !== _types__WEBPACK_IMPORTED_MODULE_4__.SessionState.started) {
|
|
27471
27868
|
throw new Error('Cannot stop. Session is not currently started.');
|
|
27472
27869
|
}
|
|
27473
27870
|
break;
|
|
27474
27871
|
case 'cancel':
|
|
27475
|
-
if (this.sessionState ===
|
|
27872
|
+
if (this.sessionState === _types__WEBPACK_IMPORTED_MODULE_4__.SessionState.stopped) {
|
|
27476
27873
|
throw new Error('Cannot cancel. Session has already been stopped.');
|
|
27477
27874
|
}
|
|
27478
27875
|
break;
|
|
27479
27876
|
case 'pause':
|
|
27480
|
-
if (this.sessionState !==
|
|
27877
|
+
if (this.sessionState !== _types__WEBPACK_IMPORTED_MODULE_4__.SessionState.started) {
|
|
27481
27878
|
throw new Error('Cannot pause. Session is not running.');
|
|
27482
27879
|
}
|
|
27483
27880
|
break;
|
|
27484
27881
|
case 'resume':
|
|
27485
|
-
if (this.sessionState !==
|
|
27882
|
+
if (this.sessionState !== _types__WEBPACK_IMPORTED_MODULE_4__.SessionState.paused) {
|
|
27486
27883
|
throw new Error('Cannot resume. Session is not paused.');
|
|
27487
27884
|
}
|
|
27488
27885
|
break;
|
|
@@ -27490,12 +27887,12 @@ class SessionRecorder extends lib0_observable__WEBPACK_IMPORTED_MODULE_14__.Obse
|
|
|
27490
27887
|
if (!this.continuousRecording) {
|
|
27491
27888
|
throw new Error('Cannot save continuous recording session. Continuous recording is not enabled.');
|
|
27492
27889
|
}
|
|
27493
|
-
if (this.sessionState !==
|
|
27890
|
+
if (this.sessionState !== _types__WEBPACK_IMPORTED_MODULE_4__.SessionState.started) {
|
|
27494
27891
|
throw new Error('Cannot save continuous recording session. Session is not started.');
|
|
27495
27892
|
}
|
|
27496
27893
|
break;
|
|
27497
27894
|
case 'autoStartRemoteContinuousSession':
|
|
27498
|
-
if (this.sessionState !==
|
|
27895
|
+
if (this.sessionState !== _types__WEBPACK_IMPORTED_MODULE_4__.SessionState.stopped) {
|
|
27499
27896
|
throw new Error('Cannot start remote continuous session. Session is not stopped.');
|
|
27500
27897
|
}
|
|
27501
27898
|
break;
|
|
@@ -27531,8 +27928,8 @@ class SessionRecorder extends lib0_observable__WEBPACK_IMPORTED_MODULE_14__.Obse
|
|
|
27531
27928
|
var _a, _b, _c;
|
|
27532
27929
|
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) || '';
|
|
27533
27930
|
return userName
|
|
27534
|
-
? `${userName}'s session on ${(0,
|
|
27535
|
-
: `Session on ${(0,
|
|
27931
|
+
? `${userName}'s session on ${(0,_utils__WEBPACK_IMPORTED_MODULE_3__.getFormattedDate)(date, { month: 'short', day: 'numeric' })}`
|
|
27932
|
+
: `Session on ${(0,_utils__WEBPACK_IMPORTED_MODULE_3__.getFormattedDate)(date)}`;
|
|
27536
27933
|
}
|
|
27537
27934
|
}
|
|
27538
27935
|
|
|
@@ -27970,7 +28367,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
27970
28367
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
27971
28368
|
/* harmony export */ SessionWidget: () => (/* binding */ SessionWidget)
|
|
27972
28369
|
/* harmony export */ });
|
|
27973
|
-
/* harmony import */ var
|
|
28370
|
+
/* harmony import */ var lib0_observable__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! lib0/observable */ "../../node_modules/lib0/observable.js");
|
|
27974
28371
|
/* harmony import */ var _utils__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../utils */ "./src/utils/index.ts");
|
|
27975
28372
|
/* harmony import */ var _types__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../types */ "./src/types/index.ts");
|
|
27976
28373
|
/* harmony import */ var _constants__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./constants */ "./src/sessionWidget/constants.ts");
|
|
@@ -27979,7 +28376,8 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
27979
28376
|
/* harmony import */ var _UIManager__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./UIManager */ "./src/sessionWidget/UIManager.ts");
|
|
27980
28377
|
/* harmony import */ var _dragManager__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ./dragManager */ "./src/sessionWidget/dragManager.ts");
|
|
27981
28378
|
/* harmony import */ var _buttonStateConfigs__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ./buttonStateConfigs */ "./src/sessionWidget/buttonStateConfigs.ts");
|
|
27982
|
-
/* harmony import */ var
|
|
28379
|
+
/* harmony import */ var _styles_index_scss_raw__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ./styles/index.scss?raw */ "./src/sessionWidget/styles/index.scss?raw");
|
|
28380
|
+
/* harmony import */ var _styles_button_scss__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! ./styles/button.scss */ "./src/sessionWidget/styles/button.scss");
|
|
27983
28381
|
|
|
27984
28382
|
|
|
27985
28383
|
|
|
@@ -27991,7 +28389,8 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
27991
28389
|
|
|
27992
28390
|
// Import styles as string for shadow DOM injection
|
|
27993
28391
|
|
|
27994
|
-
|
|
28392
|
+
|
|
28393
|
+
class SessionWidget extends lib0_observable__WEBPACK_IMPORTED_MODULE_10__.Observable {
|
|
27995
28394
|
set buttonState(newState) {
|
|
27996
28395
|
var _a, _b;
|
|
27997
28396
|
this._buttonState = newState;
|
|
@@ -28280,8 +28679,8 @@ class SessionWidget extends lib0_observable__WEBPACK_IMPORTED_MODULE_9__.Observa
|
|
|
28280
28679
|
// Create shadow root
|
|
28281
28680
|
this.shadowRoot = rootWrapper.attachShadow({ mode: 'open' });
|
|
28282
28681
|
// Inject styles directly from imported SCSS file
|
|
28283
|
-
if (
|
|
28284
|
-
(0,_utils__WEBPACK_IMPORTED_MODULE_0__.injectStylesIntoShadowRoot)(this.shadowRoot,
|
|
28682
|
+
if (_styles_index_scss_raw__WEBPACK_IMPORTED_MODULE_8__) {
|
|
28683
|
+
(0,_utils__WEBPACK_IMPORTED_MODULE_0__.injectStylesIntoShadowRoot)(this.shadowRoot, _styles_index_scss_raw__WEBPACK_IMPORTED_MODULE_8__);
|
|
28285
28684
|
}
|
|
28286
28685
|
// Append all elements to shadow root
|
|
28287
28686
|
elements.forEach((element) => this.shadowRoot.appendChild(element));
|
|
@@ -28920,14 +29319,11 @@ const getButtonTemplate = (button) => {
|
|
|
28920
29319
|
"use strict";
|
|
28921
29320
|
__webpack_require__.r(__webpack_exports__);
|
|
28922
29321
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
28923
|
-
/* harmony export */
|
|
28924
|
-
/* harmony export */
|
|
28925
|
-
/* harmony export */ WidgetButtonPlacement: () => (/* reexport safe */ _session_recorder__WEBPACK_IMPORTED_MODULE_2__.WidgetButtonPlacement)
|
|
29322
|
+
/* harmony export */ SessionState: () => (/* reexport safe */ _session_recorder__WEBPACK_IMPORTED_MODULE_1__.SessionState),
|
|
29323
|
+
/* harmony export */ WidgetButtonPlacement: () => (/* reexport safe */ _session_recorder__WEBPACK_IMPORTED_MODULE_1__.WidgetButtonPlacement)
|
|
28926
29324
|
/* harmony export */ });
|
|
28927
29325
|
/* harmony import */ var _widget__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./widget */ "./src/types/widget.ts");
|
|
28928
|
-
/* harmony import */ var
|
|
28929
|
-
/* harmony import */ var _session_recorder__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./session-recorder */ "./src/types/session-recorder.ts");
|
|
28930
|
-
|
|
29326
|
+
/* harmony import */ var _session_recorder__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./session-recorder */ "./src/types/session-recorder.ts");
|
|
28931
29327
|
|
|
28932
29328
|
|
|
28933
29329
|
|
|
@@ -28961,27 +29357,6 @@ var SessionState;
|
|
|
28961
29357
|
})(SessionState || (SessionState = {}));
|
|
28962
29358
|
|
|
28963
29359
|
|
|
28964
|
-
/***/ }),
|
|
28965
|
-
|
|
28966
|
-
/***/ "./src/types/session.ts":
|
|
28967
|
-
/*!******************************!*\
|
|
28968
|
-
!*** ./src/types/session.ts ***!
|
|
28969
|
-
\******************************/
|
|
28970
|
-
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
28971
|
-
|
|
28972
|
-
"use strict";
|
|
28973
|
-
__webpack_require__.r(__webpack_exports__);
|
|
28974
|
-
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
28975
|
-
/* harmony export */ DebugSessionDataType: () => (/* binding */ DebugSessionDataType)
|
|
28976
|
-
/* harmony export */ });
|
|
28977
|
-
var DebugSessionDataType;
|
|
28978
|
-
(function (DebugSessionDataType) {
|
|
28979
|
-
DebugSessionDataType["OTLP_TRACES"] = "OTLP_TRACES";
|
|
28980
|
-
DebugSessionDataType["OTLP_LOGS"] = "OTLP_LOGS";
|
|
28981
|
-
DebugSessionDataType["RRWEB_EVENTS"] = "RRWEB_EVENTS";
|
|
28982
|
-
})(DebugSessionDataType || (DebugSessionDataType = {}));
|
|
28983
|
-
|
|
28984
|
-
|
|
28985
29360
|
/***/ }),
|
|
28986
29361
|
|
|
28987
29362
|
/***/ "./src/types/widget.ts":
|
|
@@ -30098,6 +30473,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
30098
30473
|
/* harmony export */ ATTR_MULTIPLAYER_SESSION_RECORDER_VERSION: () => (/* reexport safe */ _constants_constants_browser__WEBPACK_IMPORTED_MODULE_0__.ATTR_MULTIPLAYER_SESSION_RECORDER_VERSION),
|
|
30099
30474
|
/* harmony export */ ATTR_MULTIPLAYER_USER_HASH: () => (/* reexport safe */ _constants_constants_browser__WEBPACK_IMPORTED_MODULE_0__.ATTR_MULTIPLAYER_USER_HASH),
|
|
30100
30475
|
/* harmony export */ ATTR_MULTIPLAYER_WORKSPACE_ID: () => (/* reexport safe */ _constants_constants_browser__WEBPACK_IMPORTED_MODULE_0__.ATTR_MULTIPLAYER_WORKSPACE_ID),
|
|
30476
|
+
/* harmony export */ DebugSessionDataType: () => (/* reexport safe */ _type__WEBPACK_IMPORTED_MODULE_4__.DebugSessionDataType),
|
|
30101
30477
|
/* harmony export */ MASK_PLACEHOLDER: () => (/* reexport safe */ _constants_constants_browser__WEBPACK_IMPORTED_MODULE_0__.MASK_PLACEHOLDER),
|
|
30102
30478
|
/* harmony export */ MULTIPLAYER_ATTRIBUTE_PREFIX: () => (/* reexport safe */ _constants_constants_browser__WEBPACK_IMPORTED_MODULE_0__.MULTIPLAYER_ATTRIBUTE_PREFIX),
|
|
30103
30479
|
/* harmony export */ MULTIPLAYER_BASE_API_URL: () => (/* reexport safe */ _constants_constants_browser__WEBPACK_IMPORTED_MODULE_0__.MULTIPLAYER_BASE_API_URL),
|
|
@@ -30731,11 +31107,14 @@ var setGrpcResponseMessage = function (body, options) {
|
|
|
30731
31107
|
"use strict";
|
|
30732
31108
|
__webpack_require__.r(__webpack_exports__);
|
|
30733
31109
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
31110
|
+
/* harmony export */ DebugSessionDataType: () => (/* reexport safe */ _session__WEBPACK_IMPORTED_MODULE_2__.DebugSessionDataType),
|
|
30734
31111
|
/* harmony export */ SessionType: () => (/* reexport safe */ _session_type_enum__WEBPACK_IMPORTED_MODULE_0__.SessionType),
|
|
30735
31112
|
/* harmony export */ UserType: () => (/* reexport safe */ _user_type_enum__WEBPACK_IMPORTED_MODULE_1__.UserType)
|
|
30736
31113
|
/* harmony export */ });
|
|
30737
31114
|
/* 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");
|
|
30738
31115
|
/* 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");
|
|
31116
|
+
/* harmony import */ var _session__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./session */ "../session-recorder-common/dist/esm/type/session.js");
|
|
31117
|
+
|
|
30739
31118
|
|
|
30740
31119
|
|
|
30741
31120
|
//# sourceMappingURL=index.js.map
|
|
@@ -30766,6 +31145,27 @@ var SessionType;
|
|
|
30766
31145
|
|
|
30767
31146
|
/***/ }),
|
|
30768
31147
|
|
|
31148
|
+
/***/ "../session-recorder-common/dist/esm/type/session.js":
|
|
31149
|
+
/*!***********************************************************!*\
|
|
31150
|
+
!*** ../session-recorder-common/dist/esm/type/session.js ***!
|
|
31151
|
+
\***********************************************************/
|
|
31152
|
+
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
31153
|
+
|
|
31154
|
+
"use strict";
|
|
31155
|
+
__webpack_require__.r(__webpack_exports__);
|
|
31156
|
+
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
31157
|
+
/* harmony export */ DebugSessionDataType: () => (/* binding */ DebugSessionDataType)
|
|
31158
|
+
/* harmony export */ });
|
|
31159
|
+
var DebugSessionDataType;
|
|
31160
|
+
(function (DebugSessionDataType) {
|
|
31161
|
+
DebugSessionDataType["OTLP_TRACES"] = "OTLP_TRACES";
|
|
31162
|
+
DebugSessionDataType["OTLP_LOGS"] = "OTLP_LOGS";
|
|
31163
|
+
DebugSessionDataType["RRWEB_EVENTS"] = "RRWEB_EVENTS";
|
|
31164
|
+
})(DebugSessionDataType || (DebugSessionDataType = {}));
|
|
31165
|
+
//# sourceMappingURL=session.js.map
|
|
31166
|
+
|
|
31167
|
+
/***/ }),
|
|
31168
|
+
|
|
30769
31169
|
/***/ "../session-recorder-common/dist/esm/type/user-type.enum.js":
|
|
30770
31170
|
/*!******************************************************************!*\
|
|
30771
31171
|
!*** ../session-recorder-common/dist/esm/type/user-type.enum.js ***!
|
|
@@ -30787,14 +31187,14 @@ var UserType;
|
|
|
30787
31187
|
|
|
30788
31188
|
/***/ }),
|
|
30789
31189
|
|
|
30790
|
-
/***/ "./src/index.scss?raw":
|
|
30791
|
-
|
|
30792
|
-
!*** ./src/index.scss?raw ***!
|
|
30793
|
-
|
|
31190
|
+
/***/ "./src/sessionWidget/styles/index.scss?raw":
|
|
31191
|
+
/*!*************************************************!*\
|
|
31192
|
+
!*** ./src/sessionWidget/styles/index.scss?raw ***!
|
|
31193
|
+
\*************************************************/
|
|
30794
31194
|
/***/ ((module) => {
|
|
30795
31195
|
|
|
30796
31196
|
"use strict";
|
|
30797
|
-
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}";
|
|
31197
|
+
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}";
|
|
30798
31198
|
|
|
30799
31199
|
/***/ }),
|
|
30800
31200
|
|
|
@@ -49090,6 +49490,11 @@ function hasBinary(obj, toJSON) {
|
|
|
49090
49490
|
/******/ };
|
|
49091
49491
|
/******/ })();
|
|
49092
49492
|
/******/
|
|
49493
|
+
/******/ /* webpack/runtime/nonce */
|
|
49494
|
+
/******/ (() => {
|
|
49495
|
+
/******/ __webpack_require__.nc = undefined;
|
|
49496
|
+
/******/ })();
|
|
49497
|
+
/******/
|
|
49093
49498
|
/************************************************************************/
|
|
49094
49499
|
var __webpack_exports__ = {};
|
|
49095
49500
|
// This entry need to be wrapped in an IIFE because it need to be in strict mode.
|
|
@@ -49129,7 +49534,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
49129
49534
|
/* harmony export */ ATTR_MULTIPLAYER_SESSION_RECORDER_VERSION: () => (/* reexport safe */ _multiplayer_app_session_recorder_common__WEBPACK_IMPORTED_MODULE_7__.ATTR_MULTIPLAYER_SESSION_RECORDER_VERSION),
|
|
49130
49535
|
/* harmony export */ ATTR_MULTIPLAYER_USER_HASH: () => (/* reexport safe */ _multiplayer_app_session_recorder_common__WEBPACK_IMPORTED_MODULE_7__.ATTR_MULTIPLAYER_USER_HASH),
|
|
49131
49536
|
/* harmony export */ ATTR_MULTIPLAYER_WORKSPACE_ID: () => (/* reexport safe */ _multiplayer_app_session_recorder_common__WEBPACK_IMPORTED_MODULE_7__.ATTR_MULTIPLAYER_WORKSPACE_ID),
|
|
49132
|
-
/* harmony export */ DebugSessionDataType: () => (/* reexport safe */
|
|
49537
|
+
/* harmony export */ DebugSessionDataType: () => (/* reexport safe */ _multiplayer_app_session_recorder_common__WEBPACK_IMPORTED_MODULE_7__.DebugSessionDataType),
|
|
49133
49538
|
/* harmony export */ MASK_PLACEHOLDER: () => (/* reexport safe */ _multiplayer_app_session_recorder_common__WEBPACK_IMPORTED_MODULE_7__.MASK_PLACEHOLDER),
|
|
49134
49539
|
/* harmony export */ MULTIPLAYER_ATTRIBUTE_PREFIX: () => (/* reexport safe */ _multiplayer_app_session_recorder_common__WEBPACK_IMPORTED_MODULE_7__.MULTIPLAYER_ATTRIBUTE_PREFIX),
|
|
49135
49540
|
/* harmony export */ MULTIPLAYER_BASE_API_URL: () => (/* reexport safe */ _multiplayer_app_session_recorder_common__WEBPACK_IMPORTED_MODULE_7__.MULTIPLAYER_BASE_API_URL),
|