imeik-imui 2.2.1 → 2.2.4
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/imeik-imui.common.js +2404 -135
- package/dist/imeik-imui.common.js.gz +0 -0
- package/dist/imeik-imui.css +1 -1
- package/dist/imeik-imui.css.gz +0 -0
- package/dist/imeik-imui.umd.js +2404 -135
- package/dist/imeik-imui.umd.js.gz +0 -0
- package/dist/imeik-imui.umd.min.js +50 -22
- package/dist/imeik-imui.umd.min.js.gz +0 -0
- package/package.json +3 -1
package/dist/imeik-imui.umd.js
CHANGED
|
@@ -233,6 +233,13 @@ module.exports = function (object, names) {
|
|
|
233
233
|
};
|
|
234
234
|
|
|
235
235
|
|
|
236
|
+
/***/ }),
|
|
237
|
+
|
|
238
|
+
/***/ "03f3":
|
|
239
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
240
|
+
|
|
241
|
+
// extracted by mini-css-extract-plugin
|
|
242
|
+
|
|
236
243
|
/***/ }),
|
|
237
244
|
|
|
238
245
|
/***/ "04f8":
|
|
@@ -1058,7 +1065,7 @@ module.exports = function repeat(count) {
|
|
|
1058
1065
|
// ESM COMPAT FLAG
|
|
1059
1066
|
__webpack_require__.r(__webpack_exports__);
|
|
1060
1067
|
|
|
1061
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
1068
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"a30fa5d8-vue-loader-template"}!./node_modules/cache-loader/dist/cjs.js??ref--13-0!./node_modules/babel-loader/lib!./node_modules/vue-loader/lib/loaders/templateLoader.js??ref--6!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/vue-loader/lib??vue-loader-options!./node_modules/windicss-webpack-plugin/dist/loaders/windicss-template.cjs!./src/imui/src/FormComponents/upload/ImMultiVideoUpload.vue?vue&type=template&id=4c7306f8&scoped=true
|
|
1062
1069
|
var render = function render() {
|
|
1063
1070
|
var _vm = this,
|
|
1064
1071
|
_c = _vm._self._c;
|
|
@@ -1070,12 +1077,17 @@ var render = function render() {
|
|
|
1070
1077
|
return _c('div', {
|
|
1071
1078
|
key: index,
|
|
1072
1079
|
staticClass: "preview-item"
|
|
1073
|
-
}, [recordingUrl ? _c('
|
|
1080
|
+
}, [recordingUrl ? [_vm.isJSON(recordingUrl.url) ? _c('img', {
|
|
1074
1081
|
staticClass: "video-preview",
|
|
1075
1082
|
attrs: {
|
|
1076
|
-
"src":
|
|
1083
|
+
"src": "https://udstatic.imeik.com/pcUploads/1733198986155/icon_recording_recording.png"
|
|
1077
1084
|
}
|
|
1078
|
-
}) : _c('
|
|
1085
|
+
}) : _c('img', {
|
|
1086
|
+
staticClass: "video-preview",
|
|
1087
|
+
attrs: {
|
|
1088
|
+
"src": "".concat(recordingUrl.url, "?x-oss-process=video/snapshot,t_1000,f_jpg,w_1140,h_640")
|
|
1089
|
+
}
|
|
1090
|
+
})] : _c('ImLoading'), recordingUrl ? _c('div', {
|
|
1079
1091
|
staticClass: "play-btn",
|
|
1080
1092
|
on: {
|
|
1081
1093
|
"click": function click($event) {
|
|
@@ -1101,7 +1113,7 @@ var render = function render() {
|
|
|
1101
1113
|
"src": "https://udstatic.imeik.com/pcUploads/1732247355378/delete-icon.png",
|
|
1102
1114
|
"alt": "删除"
|
|
1103
1115
|
}
|
|
1104
|
-
})])]) : _vm._e()],
|
|
1116
|
+
})])]) : _vm._e()], 2);
|
|
1105
1117
|
}), !_vm.isView && _vm.fileList.length < _vm.maxfileList ? _c('el-upload', _vm._g({
|
|
1106
1118
|
class: {
|
|
1107
1119
|
hide: _vm.hideUpload
|
|
@@ -1152,21 +1164,15 @@ var render = function render() {
|
|
|
1152
1164
|
_vm.dialogVisible = $event;
|
|
1153
1165
|
}
|
|
1154
1166
|
}
|
|
1155
|
-
}, [
|
|
1156
|
-
staticStyle: {
|
|
1157
|
-
"width": "100%",
|
|
1158
|
-
"max-height": "70vh"
|
|
1159
|
-
},
|
|
1167
|
+
}, [_c('RecordPreview', {
|
|
1160
1168
|
attrs: {
|
|
1161
|
-
"src": _vm.currentVideoUrl
|
|
1162
|
-
"controls": "",
|
|
1163
|
-
"autoplay": ""
|
|
1169
|
+
"src": _vm.currentVideoUrl
|
|
1164
1170
|
}
|
|
1165
|
-
})
|
|
1171
|
+
})], 1)], 1);
|
|
1166
1172
|
};
|
|
1167
1173
|
var staticRenderFns = [];
|
|
1168
1174
|
|
|
1169
|
-
// CONCATENATED MODULE: ./src/imui/src/FormComponents/upload/ImMultiVideoUpload.vue?vue&type=template&id=
|
|
1175
|
+
// CONCATENATED MODULE: ./src/imui/src/FormComponents/upload/ImMultiVideoUpload.vue?vue&type=template&id=4c7306f8&scoped=true
|
|
1170
1176
|
|
|
1171
1177
|
// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/regeneratorRuntime.js
|
|
1172
1178
|
var regeneratorRuntime = __webpack_require__("c7eb");
|
|
@@ -1207,6 +1213,9 @@ var es_object_keys = __webpack_require__("b64b");
|
|
|
1207
1213
|
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.object.to-string.js
|
|
1208
1214
|
var es_object_to_string = __webpack_require__("d3b7");
|
|
1209
1215
|
|
|
1216
|
+
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.string.ends-with.js
|
|
1217
|
+
var es_string_ends_with = __webpack_require__("8a79");
|
|
1218
|
+
|
|
1210
1219
|
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.string.iterator.js
|
|
1211
1220
|
var es_string_iterator = __webpack_require__("3ca3");
|
|
1212
1221
|
|
|
@@ -1231,6 +1240,172 @@ var web_url_search_params_size = __webpack_require__("5494");
|
|
|
1231
1240
|
// EXTERNAL MODULE: ./src/imui/src/FormComponents/upload/upload.js
|
|
1232
1241
|
var upload = __webpack_require__("3f24");
|
|
1233
1242
|
|
|
1243
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"a30fa5d8-vue-loader-template"}!./node_modules/cache-loader/dist/cjs.js??ref--13-0!./node_modules/babel-loader/lib!./node_modules/vue-loader/lib/loaders/templateLoader.js??ref--6!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/vue-loader/lib??vue-loader-options!./node_modules/windicss-webpack-plugin/dist/loaders/windicss-template.cjs!./src/imui/src/FormComponents/upload/widgets/RecordPreview.vue?vue&type=template&id=598823ea&scoped=true
|
|
1244
|
+
var RecordPreviewvue_type_template_id_598823ea_scoped_true_render = function render() {
|
|
1245
|
+
var _vm = this,
|
|
1246
|
+
_c = _vm._self._c;
|
|
1247
|
+
return _c('div', {
|
|
1248
|
+
ref: "previewContainer",
|
|
1249
|
+
staticClass: "preview-container"
|
|
1250
|
+
});
|
|
1251
|
+
};
|
|
1252
|
+
var RecordPreviewvue_type_template_id_598823ea_scoped_true_staticRenderFns = [];
|
|
1253
|
+
|
|
1254
|
+
// CONCATENATED MODULE: ./src/imui/src/FormComponents/upload/widgets/RecordPreview.vue?vue&type=template&id=598823ea&scoped=true
|
|
1255
|
+
|
|
1256
|
+
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.promise.js
|
|
1257
|
+
var es_promise = __webpack_require__("e6cf");
|
|
1258
|
+
|
|
1259
|
+
// EXTERNAL MODULE: ./node_modules/rrweb-player/dist/index.mjs
|
|
1260
|
+
var dist = __webpack_require__("c1c8");
|
|
1261
|
+
|
|
1262
|
+
// EXTERNAL MODULE: ./node_modules/rrweb-player/dist/style.css
|
|
1263
|
+
var style = __webpack_require__("2a00");
|
|
1264
|
+
|
|
1265
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js??ref--13-0!./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/vue-loader/lib??vue-loader-options!./node_modules/windicss-webpack-plugin/dist/loaders/windicss-template.cjs!./src/imui/src/FormComponents/upload/widgets/RecordPreview.vue?vue&type=script&lang=js
|
|
1266
|
+
|
|
1267
|
+
|
|
1268
|
+
|
|
1269
|
+
|
|
1270
|
+
|
|
1271
|
+
|
|
1272
|
+
|
|
1273
|
+
/* harmony default export */ var RecordPreviewvue_type_script_lang_js = ({
|
|
1274
|
+
name: 'RrwebPlayer',
|
|
1275
|
+
props: {
|
|
1276
|
+
src: {
|
|
1277
|
+
type: String,
|
|
1278
|
+
required: true
|
|
1279
|
+
}
|
|
1280
|
+
},
|
|
1281
|
+
data: function data() {
|
|
1282
|
+
return {
|
|
1283
|
+
events: []
|
|
1284
|
+
};
|
|
1285
|
+
},
|
|
1286
|
+
computed: {
|
|
1287
|
+
isNormalVideo: function isNormalVideo() {
|
|
1288
|
+
var _this = this;
|
|
1289
|
+
var videoExtensions = ['.mp4', '.webm', '.ogg', '.mov'];
|
|
1290
|
+
return videoExtensions.some(function (ext) {
|
|
1291
|
+
return _this.src.toLowerCase().endsWith(ext);
|
|
1292
|
+
});
|
|
1293
|
+
}
|
|
1294
|
+
},
|
|
1295
|
+
watch: {
|
|
1296
|
+
src: {
|
|
1297
|
+
handler: function handler(newVal) {
|
|
1298
|
+
console.log('src--', newVal);
|
|
1299
|
+
if (this.isNormalVideo) {
|
|
1300
|
+
this.initNormalVideo(newVal);
|
|
1301
|
+
} else {
|
|
1302
|
+
this.initRrwebPlayer(newVal);
|
|
1303
|
+
}
|
|
1304
|
+
}
|
|
1305
|
+
}
|
|
1306
|
+
},
|
|
1307
|
+
mounted: function mounted() {
|
|
1308
|
+
var _this2 = this;
|
|
1309
|
+
return Object(asyncToGenerator["a" /* default */])( /*#__PURE__*/Object(regeneratorRuntime["a" /* default */])().mark(function _callee() {
|
|
1310
|
+
var response;
|
|
1311
|
+
return Object(regeneratorRuntime["a" /* default */])().wrap(function _callee$(_context) {
|
|
1312
|
+
while (1) switch (_context.prev = _context.next) {
|
|
1313
|
+
case 0:
|
|
1314
|
+
_context.prev = 0;
|
|
1315
|
+
_context.next = 3;
|
|
1316
|
+
return fetch(_this2.src);
|
|
1317
|
+
case 3:
|
|
1318
|
+
response = _context.sent;
|
|
1319
|
+
_context.next = 6;
|
|
1320
|
+
return response.json();
|
|
1321
|
+
case 6:
|
|
1322
|
+
_this2.events = _context.sent;
|
|
1323
|
+
_context.next = 12;
|
|
1324
|
+
break;
|
|
1325
|
+
case 9:
|
|
1326
|
+
_context.prev = 9;
|
|
1327
|
+
_context.t0 = _context["catch"](0);
|
|
1328
|
+
console.error('加载录屏数据失败:', _context.t0);
|
|
1329
|
+
case 12:
|
|
1330
|
+
case "end":
|
|
1331
|
+
return _context.stop();
|
|
1332
|
+
}
|
|
1333
|
+
}, _callee, null, [[0, 9]]);
|
|
1334
|
+
}))();
|
|
1335
|
+
},
|
|
1336
|
+
methods: {
|
|
1337
|
+
initNormalVideo: function initNormalVideo(url) {
|
|
1338
|
+
var container = this.$refs.previewContainer;
|
|
1339
|
+
if (!container) return;
|
|
1340
|
+
container.innerHTML = '';
|
|
1341
|
+
var video = document.createElement('video');
|
|
1342
|
+
video.src = url;
|
|
1343
|
+
video.autoplay = true;
|
|
1344
|
+
video.controls = true;
|
|
1345
|
+
video.style.width = '100%';
|
|
1346
|
+
video.style.height = '100%';
|
|
1347
|
+
video.style.objectFit = 'contain';
|
|
1348
|
+
this.$refs.previewContainer.appendChild(video);
|
|
1349
|
+
},
|
|
1350
|
+
initRrwebPlayer: function initRrwebPlayer() {
|
|
1351
|
+
var _this3 = this;
|
|
1352
|
+
var container = this.$refs.previewContainer;
|
|
1353
|
+
if (!container) return;
|
|
1354
|
+
container.innerHTML = '';
|
|
1355
|
+
|
|
1356
|
+
// 获取容器的实际尺寸
|
|
1357
|
+
var containerWidth = container.clientWidth;
|
|
1358
|
+
var containerHeight = Math.min(window.innerHeight, containerWidth * 0.5625); // 16:9 比例
|
|
1359
|
+
|
|
1360
|
+
// 获取视频数据并播放
|
|
1361
|
+
fetch(this.src).then(function (response) {
|
|
1362
|
+
return response.json();
|
|
1363
|
+
}).then(function (events) {
|
|
1364
|
+
_this3.currentReplayer = new dist["a" /* default */]({
|
|
1365
|
+
target: container,
|
|
1366
|
+
props: {
|
|
1367
|
+
events: events,
|
|
1368
|
+
width: containerWidth,
|
|
1369
|
+
height: containerHeight
|
|
1370
|
+
}
|
|
1371
|
+
});
|
|
1372
|
+
_this3.currentReplayer.play();
|
|
1373
|
+
}).catch(function (err) {
|
|
1374
|
+
console.error('预览失败:', err);
|
|
1375
|
+
_this3.previewVisible = false;
|
|
1376
|
+
});
|
|
1377
|
+
}
|
|
1378
|
+
}
|
|
1379
|
+
});
|
|
1380
|
+
// CONCATENATED MODULE: ./src/imui/src/FormComponents/upload/widgets/RecordPreview.vue?vue&type=script&lang=js
|
|
1381
|
+
/* harmony default export */ var widgets_RecordPreviewvue_type_script_lang_js = (RecordPreviewvue_type_script_lang_js);
|
|
1382
|
+
// EXTERNAL MODULE: ./src/imui/src/FormComponents/upload/widgets/RecordPreview.vue?vue&type=style&index=0&id=598823ea&prod&scoped=true&lang=css
|
|
1383
|
+
var RecordPreviewvue_type_style_index_0_id_598823ea_prod_scoped_true_lang_css = __webpack_require__("a640b");
|
|
1384
|
+
|
|
1385
|
+
// EXTERNAL MODULE: ./node_modules/vue-loader/lib/runtime/componentNormalizer.js
|
|
1386
|
+
var componentNormalizer = __webpack_require__("2877");
|
|
1387
|
+
|
|
1388
|
+
// CONCATENATED MODULE: ./src/imui/src/FormComponents/upload/widgets/RecordPreview.vue
|
|
1389
|
+
|
|
1390
|
+
|
|
1391
|
+
|
|
1392
|
+
|
|
1393
|
+
|
|
1394
|
+
|
|
1395
|
+
/* normalize component */
|
|
1396
|
+
|
|
1397
|
+
var component = Object(componentNormalizer["a" /* default */])(
|
|
1398
|
+
widgets_RecordPreviewvue_type_script_lang_js,
|
|
1399
|
+
RecordPreviewvue_type_template_id_598823ea_scoped_true_render,
|
|
1400
|
+
RecordPreviewvue_type_template_id_598823ea_scoped_true_staticRenderFns,
|
|
1401
|
+
false,
|
|
1402
|
+
null,
|
|
1403
|
+
"598823ea",
|
|
1404
|
+
null
|
|
1405
|
+
|
|
1406
|
+
)
|
|
1407
|
+
|
|
1408
|
+
/* harmony default export */ var RecordPreview = (component.exports);
|
|
1234
1409
|
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js??ref--13-0!./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/vue-loader/lib??vue-loader-options!./node_modules/windicss-webpack-plugin/dist/loaders/windicss-template.cjs!./src/imui/src/FormComponents/upload/ImMultiVideoUpload.vue?vue&type=script&lang=js
|
|
1235
1410
|
|
|
1236
1411
|
|
|
@@ -1250,11 +1425,16 @@ var upload = __webpack_require__("3f24");
|
|
|
1250
1425
|
|
|
1251
1426
|
|
|
1252
1427
|
|
|
1428
|
+
|
|
1429
|
+
|
|
1253
1430
|
|
|
1254
1431
|
|
|
1255
1432
|
|
|
1256
1433
|
/* harmony default export */ var ImMultiVideoUploadvue_type_script_lang_js = ({
|
|
1257
1434
|
name: 'RecordScreen',
|
|
1435
|
+
components: {
|
|
1436
|
+
RecordPreview: RecordPreview
|
|
1437
|
+
},
|
|
1258
1438
|
// 组件属性定义
|
|
1259
1439
|
props: {
|
|
1260
1440
|
value: {
|
|
@@ -1331,6 +1511,10 @@ var upload = __webpack_require__("3f24");
|
|
|
1331
1511
|
}
|
|
1332
1512
|
},
|
|
1333
1513
|
methods: {
|
|
1514
|
+
// 添加判断是否为 JSON 录屏文件的方法
|
|
1515
|
+
isJSON: function isJSON(url) {
|
|
1516
|
+
return url && url.endsWith('.json');
|
|
1517
|
+
},
|
|
1334
1518
|
// 设置组件内部的fileList值
|
|
1335
1519
|
setMyValue: function setMyValue(newVal) {
|
|
1336
1520
|
try {
|
|
@@ -1399,8 +1583,11 @@ var upload = __webpack_require__("3f24");
|
|
|
1399
1583
|
},
|
|
1400
1584
|
// 播放视频
|
|
1401
1585
|
playVideo: function playVideo(videoUrl) {
|
|
1402
|
-
|
|
1586
|
+
var _this2 = this;
|
|
1403
1587
|
this.dialogVisible = true;
|
|
1588
|
+
this.$nextTick(function () {
|
|
1589
|
+
_this2.currentVideoUrl = videoUrl;
|
|
1590
|
+
});
|
|
1404
1591
|
},
|
|
1405
1592
|
// 关闭视频播放弹窗
|
|
1406
1593
|
handleClose: function handleClose() {
|
|
@@ -1463,11 +1650,8 @@ var upload = __webpack_require__("3f24");
|
|
|
1463
1650
|
});
|
|
1464
1651
|
// CONCATENATED MODULE: ./src/imui/src/FormComponents/upload/ImMultiVideoUpload.vue?vue&type=script&lang=js
|
|
1465
1652
|
/* harmony default export */ var upload_ImMultiVideoUploadvue_type_script_lang_js = (ImMultiVideoUploadvue_type_script_lang_js);
|
|
1466
|
-
// EXTERNAL MODULE: ./src/imui/src/FormComponents/upload/ImMultiVideoUpload.vue?vue&type=style&index=0&id=
|
|
1467
|
-
var
|
|
1468
|
-
|
|
1469
|
-
// EXTERNAL MODULE: ./node_modules/vue-loader/lib/runtime/componentNormalizer.js
|
|
1470
|
-
var componentNormalizer = __webpack_require__("2877");
|
|
1653
|
+
// EXTERNAL MODULE: ./src/imui/src/FormComponents/upload/ImMultiVideoUpload.vue?vue&type=style&index=0&id=4c7306f8&prod&scoped=true&lang=scss
|
|
1654
|
+
var ImMultiVideoUploadvue_type_style_index_0_id_4c7306f8_prod_scoped_true_lang_scss = __webpack_require__("baad");
|
|
1471
1655
|
|
|
1472
1656
|
// CONCATENATED MODULE: ./src/imui/src/FormComponents/upload/ImMultiVideoUpload.vue
|
|
1473
1657
|
|
|
@@ -1478,18 +1662,18 @@ var componentNormalizer = __webpack_require__("2877");
|
|
|
1478
1662
|
|
|
1479
1663
|
/* normalize component */
|
|
1480
1664
|
|
|
1481
|
-
var
|
|
1665
|
+
var ImMultiVideoUpload_component = Object(componentNormalizer["a" /* default */])(
|
|
1482
1666
|
upload_ImMultiVideoUploadvue_type_script_lang_js,
|
|
1483
1667
|
render,
|
|
1484
1668
|
staticRenderFns,
|
|
1485
1669
|
false,
|
|
1486
1670
|
null,
|
|
1487
|
-
"
|
|
1671
|
+
"4c7306f8",
|
|
1488
1672
|
null
|
|
1489
1673
|
|
|
1490
1674
|
)
|
|
1491
1675
|
|
|
1492
|
-
/* harmony default export */ var ImMultiVideoUpload = __webpack_exports__["default"] = (
|
|
1676
|
+
/* harmony default export */ var ImMultiVideoUpload = __webpack_exports__["default"] = (ImMultiVideoUpload_component.exports);
|
|
1493
1677
|
|
|
1494
1678
|
/***/ }),
|
|
1495
1679
|
|
|
@@ -2651,13 +2835,6 @@ module.exports = function (METHOD_NAME) {
|
|
|
2651
2835
|
};
|
|
2652
2836
|
|
|
2653
2837
|
|
|
2654
|
-
/***/ }),
|
|
2655
|
-
|
|
2656
|
-
/***/ "1e6e":
|
|
2657
|
-
/***/ (function(module, exports, __webpack_require__) {
|
|
2658
|
-
|
|
2659
|
-
// extracted by mini-css-extract-plugin
|
|
2660
|
-
|
|
2661
2838
|
/***/ }),
|
|
2662
2839
|
|
|
2663
2840
|
/***/ "1f68":
|
|
@@ -3212,7 +3389,7 @@ $({ target: 'String', proto: true, forced: !correctIsRegExpLogic('includes') },
|
|
|
3212
3389
|
// ESM COMPAT FLAG
|
|
3213
3390
|
__webpack_require__.r(__webpack_exports__);
|
|
3214
3391
|
|
|
3215
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
3392
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"a30fa5d8-vue-loader-template"}!./node_modules/cache-loader/dist/cjs.js??ref--13-0!./node_modules/babel-loader/lib!./node_modules/vue-loader/lib/loaders/templateLoader.js??ref--6!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/vue-loader/lib??vue-loader-options!./node_modules/windicss-webpack-plugin/dist/loaders/windicss-template.cjs!./src/imui/src/FormComponents/ImBr.vue?vue&type=template&id=c7fbbe86
|
|
3216
3393
|
var render = function render() {
|
|
3217
3394
|
var _vm = this,
|
|
3218
3395
|
_c = _vm._self._c;
|
|
@@ -3931,6 +4108,13 @@ module.exports = __webpack_require__("8bbf");
|
|
|
3931
4108
|
|
|
3932
4109
|
/***/ }),
|
|
3933
4110
|
|
|
4111
|
+
/***/ "2a00":
|
|
4112
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
4113
|
+
|
|
4114
|
+
// extracted by mini-css-extract-plugin
|
|
4115
|
+
|
|
4116
|
+
/***/ }),
|
|
4117
|
+
|
|
3934
4118
|
/***/ "2a5e":
|
|
3935
4119
|
/***/ (function(module, exports, __webpack_require__) {
|
|
3936
4120
|
|
|
@@ -4335,7 +4519,7 @@ module.exports = function isCancel(value) {
|
|
|
4335
4519
|
// ESM COMPAT FLAG
|
|
4336
4520
|
__webpack_require__.r(__webpack_exports__);
|
|
4337
4521
|
|
|
4338
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
4522
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"a30fa5d8-vue-loader-template"}!./node_modules/cache-loader/dist/cjs.js??ref--13-0!./node_modules/babel-loader/lib!./node_modules/vue-loader/lib/loaders/templateLoader.js??ref--6!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/vue-loader/lib??vue-loader-options!./node_modules/windicss-webpack-plugin/dist/loaders/windicss-template.cjs!./src/imui/src/FormComponents/ImServerCascader.vue?vue&type=template&id=a30b4482
|
|
4339
4523
|
var render = function render() {
|
|
4340
4524
|
var _vm = this,
|
|
4341
4525
|
_c = _vm._self._c;
|
|
@@ -5939,7 +6123,7 @@ module.exports = function () { /* empty */ };
|
|
|
5939
6123
|
// ESM COMPAT FLAG
|
|
5940
6124
|
__webpack_require__.r(__webpack_exports__);
|
|
5941
6125
|
|
|
5942
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
6126
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"a30fa5d8-vue-loader-template"}!./node_modules/cache-loader/dist/cjs.js??ref--13-0!./node_modules/babel-loader/lib!./node_modules/vue-loader/lib/loaders/templateLoader.js??ref--6!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/vue-loader/lib??vue-loader-options!./node_modules/windicss-webpack-plugin/dist/loaders/windicss-template.cjs!./src/imui/src/FormComponents/ImNumberInput.vue?vue&type=template&id=3f4f2e4b&scoped=true
|
|
5943
6127
|
var render = function render() {
|
|
5944
6128
|
var _vm$placeholder;
|
|
5945
6129
|
var _vm = this,
|
|
@@ -7202,7 +7386,7 @@ var service = Object(_requestTemplate__WEBPACK_IMPORTED_MODULE_0__[/* getService
|
|
|
7202
7386
|
// ESM COMPAT FLAG
|
|
7203
7387
|
__webpack_require__.r(__webpack_exports__);
|
|
7204
7388
|
|
|
7205
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
7389
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"a30fa5d8-vue-loader-template"}!./node_modules/cache-loader/dist/cjs.js??ref--13-0!./node_modules/babel-loader/lib!./node_modules/vue-loader/lib/loaders/templateLoader.js??ref--6!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/vue-loader/lib??vue-loader-options!./node_modules/windicss-webpack-plugin/dist/loaders/windicss-template.cjs!./src/imui/src/FormComponents/upload/ImFieldFileUpload.vue?vue&type=template&id=6d90a31c&scoped=true
|
|
7206
7390
|
var render = function render() {
|
|
7207
7391
|
var _vm = this,
|
|
7208
7392
|
_c = _vm._self._c;
|
|
@@ -7310,7 +7494,7 @@ var upload = __webpack_require__("3f24");
|
|
|
7310
7494
|
// EXTERNAL MODULE: ./node_modules/element-ui/src/mixins/emitter.js
|
|
7311
7495
|
var emitter = __webpack_require__("f6f4");
|
|
7312
7496
|
|
|
7313
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
7497
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"a30fa5d8-vue-loader-template"}!./node_modules/cache-loader/dist/cjs.js??ref--13-0!./node_modules/babel-loader/lib!./node_modules/vue-loader/lib/loaders/templateLoader.js??ref--6!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/vue-loader/lib??vue-loader-options!./node_modules/windicss-webpack-plugin/dist/loaders/windicss-template.cjs!./src/imui/src/FormComponents/upload/widgets/FileLinePreview.vue?vue&type=template&id=5ec1d9b8&scoped=true
|
|
7314
7498
|
var FileLinePreviewvue_type_template_id_5ec1d9b8_scoped_true_render = function render() {
|
|
7315
7499
|
var _vm = this,
|
|
7316
7500
|
_c = _vm._self._c;
|
|
@@ -7689,7 +7873,7 @@ var component = Object(componentNormalizer["a" /* default */])(
|
|
|
7689
7873
|
)
|
|
7690
7874
|
|
|
7691
7875
|
/* harmony default export */ var FileLinePreview = (component.exports);
|
|
7692
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
7876
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"a30fa5d8-vue-loader-template"}!./node_modules/cache-loader/dist/cjs.js??ref--13-0!./node_modules/babel-loader/lib!./node_modules/vue-loader/lib/loaders/templateLoader.js??ref--6!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/vue-loader/lib??vue-loader-options!./node_modules/windicss-webpack-plugin/dist/loaders/windicss-template.cjs!./src/imui/src/FormComponents/upload/widgets/PdfPreviewDialog.vue?vue&type=template&id=3ca8baa0&scoped=true
|
|
7693
7877
|
var PdfPreviewDialogvue_type_template_id_3ca8baa0_scoped_true_render = function render() {
|
|
7694
7878
|
var _vm = this,
|
|
7695
7879
|
_c = _vm._self._c;
|
|
@@ -8061,7 +8245,9 @@ function _fnUploadRequest() {
|
|
|
8061
8245
|
// 你的 OSS bucket 名称
|
|
8062
8246
|
region: 'oss-cn-beijing',
|
|
8063
8247
|
// bucket 所在地址,我的是 华北2 北京
|
|
8064
|
-
endpoint: 'oss-cn-beijing.aliyuncs.com'
|
|
8248
|
+
endpoint: 'oss-cn-beijing.aliyuncs.com',
|
|
8249
|
+
// 自己的域名
|
|
8250
|
+
timeout: 600000
|
|
8065
8251
|
// cname: 'udstatic.imeik.com'
|
|
8066
8252
|
});
|
|
8067
8253
|
file = options.file; // 拿到 file
|
|
@@ -9673,13 +9859,6 @@ module.exports = function (fn) {
|
|
|
9673
9859
|
|
|
9674
9860
|
/***/ }),
|
|
9675
9861
|
|
|
9676
|
-
/***/ "4653":
|
|
9677
|
-
/***/ (function(module, exports, __webpack_require__) {
|
|
9678
|
-
|
|
9679
|
-
// extracted by mini-css-extract-plugin
|
|
9680
|
-
|
|
9681
|
-
/***/ }),
|
|
9682
|
-
|
|
9683
9862
|
/***/ "467f":
|
|
9684
9863
|
/***/ (function(module, exports, __webpack_require__) {
|
|
9685
9864
|
|
|
@@ -14180,7 +14359,7 @@ module.exports = Array.isArray || function isArray(arg) {
|
|
|
14180
14359
|
// ESM COMPAT FLAG
|
|
14181
14360
|
__webpack_require__.r(__webpack_exports__);
|
|
14182
14361
|
|
|
14183
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
14362
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"a30fa5d8-vue-loader-template"}!./node_modules/cache-loader/dist/cjs.js??ref--13-0!./node_modules/babel-loader/lib!./node_modules/vue-loader/lib/loaders/templateLoader.js??ref--6!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/vue-loader/lib??vue-loader-options!./node_modules/windicss-webpack-plugin/dist/loaders/windicss-template.cjs!./src/imui/src/FormComponents/ImGroupSelect.vue?vue&type=template&id=7d92665e
|
|
14184
14363
|
var render = function render() {
|
|
14185
14364
|
var _vm = this,
|
|
14186
14365
|
_c = _vm._self._c;
|
|
@@ -15452,7 +15631,7 @@ function _typeof(o) {
|
|
|
15452
15631
|
// ESM COMPAT FLAG
|
|
15453
15632
|
__webpack_require__.r(__webpack_exports__);
|
|
15454
15633
|
|
|
15455
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
15634
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"a30fa5d8-vue-loader-template"}!./node_modules/cache-loader/dist/cjs.js??ref--13-0!./node_modules/babel-loader/lib!./node_modules/vue-loader/lib/loaders/templateLoader.js??ref--6!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/vue-loader/lib??vue-loader-options!./node_modules/windicss-webpack-plugin/dist/loaders/windicss-template.cjs!./src/imui/src/FormComponents/ImSlot.vue?vue&type=template&id=67e1336e
|
|
15456
15635
|
var render = function render() {
|
|
15457
15636
|
var _vm = this,
|
|
15458
15637
|
_c = _vm._self._c;
|
|
@@ -70137,7 +70316,7 @@ module.exports = FORCED_PROMISE_CONSTRUCTOR || !checkCorrectnessOfIteration(func
|
|
|
70137
70316
|
// ESM COMPAT FLAG
|
|
70138
70317
|
__webpack_require__.r(__webpack_exports__);
|
|
70139
70318
|
|
|
70140
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
70319
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"a30fa5d8-vue-loader-template"}!./node_modules/cache-loader/dist/cjs.js??ref--13-0!./node_modules/babel-loader/lib!./node_modules/vue-loader/lib/loaders/templateLoader.js??ref--6!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/vue-loader/lib??vue-loader-options!./node_modules/windicss-webpack-plugin/dist/loaders/windicss-template.cjs!./src/imui/src/FormComponents/ImOneLineDot.vue?vue&type=template&id=5614931a&scoped=true
|
|
70141
70320
|
var render = function render() {
|
|
70142
70321
|
var _vm = this,
|
|
70143
70322
|
_c = _vm._self._c;
|
|
@@ -70509,17 +70688,6 @@ var classof = __webpack_require__("c6b6");
|
|
|
70509
70688
|
module.exports = classof(global.process) === 'process';
|
|
70510
70689
|
|
|
70511
70690
|
|
|
70512
|
-
/***/ }),
|
|
70513
|
-
|
|
70514
|
-
/***/ "6061":
|
|
70515
|
-
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
70516
|
-
|
|
70517
|
-
"use strict";
|
|
70518
|
-
/* harmony import */ var _node_modules_windicss_webpack_plugin_dist_loaders_windicss_style_pitcher_cjs_node_modules_mini_css_extract_plugin_dist_loader_js_ref_9_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_9_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_9_oneOf_1_2_node_modules_windicss_webpack_plugin_dist_loaders_windicss_template_cjs_node_modules_sass_loader_dist_cjs_js_ref_9_oneOf_1_3_node_modules_cache_loader_dist_cjs_js_ref_1_0_node_modules_vue_loader_lib_index_js_vue_loader_options_ImMultiVideoUpload_vue_vue_type_style_index_0_id_2ee2a434_prod_scoped_true_lang_scss__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("4653");
|
|
70519
|
-
/* harmony import */ var _node_modules_windicss_webpack_plugin_dist_loaders_windicss_style_pitcher_cjs_node_modules_mini_css_extract_plugin_dist_loader_js_ref_9_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_9_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_9_oneOf_1_2_node_modules_windicss_webpack_plugin_dist_loaders_windicss_template_cjs_node_modules_sass_loader_dist_cjs_js_ref_9_oneOf_1_3_node_modules_cache_loader_dist_cjs_js_ref_1_0_node_modules_vue_loader_lib_index_js_vue_loader_options_ImMultiVideoUpload_vue_vue_type_style_index_0_id_2ee2a434_prod_scoped_true_lang_scss__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_windicss_webpack_plugin_dist_loaders_windicss_style_pitcher_cjs_node_modules_mini_css_extract_plugin_dist_loader_js_ref_9_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_9_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_9_oneOf_1_2_node_modules_windicss_webpack_plugin_dist_loaders_windicss_template_cjs_node_modules_sass_loader_dist_cjs_js_ref_9_oneOf_1_3_node_modules_cache_loader_dist_cjs_js_ref_1_0_node_modules_vue_loader_lib_index_js_vue_loader_options_ImMultiVideoUpload_vue_vue_type_style_index_0_id_2ee2a434_prod_scoped_true_lang_scss__WEBPACK_IMPORTED_MODULE_0__);
|
|
70520
|
-
/* unused harmony reexport * */
|
|
70521
|
-
|
|
70522
|
-
|
|
70523
70691
|
/***/ }),
|
|
70524
70692
|
|
|
70525
70693
|
/***/ "6062":
|
|
@@ -77167,7 +77335,7 @@ module.exports = function (CONSTRUCTOR_NAME, wrapper, common) {
|
|
|
77167
77335
|
// ESM COMPAT FLAG
|
|
77168
77336
|
__webpack_require__.r(__webpack_exports__);
|
|
77169
77337
|
|
|
77170
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
77338
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"a30fa5d8-vue-loader-template"}!./node_modules/cache-loader/dist/cjs.js??ref--13-0!./node_modules/babel-loader/lib!./node_modules/vue-loader/lib/loaders/templateLoader.js??ref--6!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/vue-loader/lib??vue-loader-options!./node_modules/windicss-webpack-plugin/dist/loaders/windicss-template.cjs!./src/imui/src/FormComponents/ImNumberRange.vue?vue&type=template&id=5b7f0434&scoped=true
|
|
77171
77339
|
var render = function render() {
|
|
77172
77340
|
var _vm = this,
|
|
77173
77341
|
_c = _vm._self._c;
|
|
@@ -78625,6 +78793,17 @@ module.exports = function (object, key, method) {
|
|
|
78625
78793
|
/* unused harmony reexport * */
|
|
78626
78794
|
|
|
78627
78795
|
|
|
78796
|
+
/***/ }),
|
|
78797
|
+
|
|
78798
|
+
/***/ "733c":
|
|
78799
|
+
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
78800
|
+
|
|
78801
|
+
"use strict";
|
|
78802
|
+
/* harmony import */ var _node_modules_windicss_webpack_plugin_dist_loaders_windicss_style_pitcher_cjs_node_modules_mini_css_extract_plugin_dist_loader_js_ref_9_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_9_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_9_oneOf_1_2_node_modules_windicss_webpack_plugin_dist_loaders_windicss_template_cjs_node_modules_sass_loader_dist_cjs_js_ref_9_oneOf_1_3_node_modules_cache_loader_dist_cjs_js_ref_1_0_node_modules_vue_loader_lib_index_js_vue_loader_options_ImMultiImgUploadList_vue_vue_type_style_index_0_id_5109f95b_prod_lang_scss_scoped_true__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("03f3");
|
|
78803
|
+
/* harmony import */ var _node_modules_windicss_webpack_plugin_dist_loaders_windicss_style_pitcher_cjs_node_modules_mini_css_extract_plugin_dist_loader_js_ref_9_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_9_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_9_oneOf_1_2_node_modules_windicss_webpack_plugin_dist_loaders_windicss_template_cjs_node_modules_sass_loader_dist_cjs_js_ref_9_oneOf_1_3_node_modules_cache_loader_dist_cjs_js_ref_1_0_node_modules_vue_loader_lib_index_js_vue_loader_options_ImMultiImgUploadList_vue_vue_type_style_index_0_id_5109f95b_prod_lang_scss_scoped_true__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_windicss_webpack_plugin_dist_loaders_windicss_style_pitcher_cjs_node_modules_mini_css_extract_plugin_dist_loader_js_ref_9_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_9_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_9_oneOf_1_2_node_modules_windicss_webpack_plugin_dist_loaders_windicss_template_cjs_node_modules_sass_loader_dist_cjs_js_ref_9_oneOf_1_3_node_modules_cache_loader_dist_cjs_js_ref_1_0_node_modules_vue_loader_lib_index_js_vue_loader_options_ImMultiImgUploadList_vue_vue_type_style_index_0_id_5109f95b_prod_lang_scss_scoped_true__WEBPACK_IMPORTED_MODULE_0__);
|
|
78804
|
+
/* unused harmony reexport * */
|
|
78805
|
+
|
|
78806
|
+
|
|
78628
78807
|
/***/ }),
|
|
78629
78808
|
|
|
78630
78809
|
/***/ "7418":
|
|
@@ -78753,17 +78932,6 @@ Cancel.prototype.__CANCEL__ = true;
|
|
|
78753
78932
|
module.exports = Cancel;
|
|
78754
78933
|
|
|
78755
78934
|
|
|
78756
|
-
/***/ }),
|
|
78757
|
-
|
|
78758
|
-
/***/ "7a91":
|
|
78759
|
-
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
78760
|
-
|
|
78761
|
-
"use strict";
|
|
78762
|
-
/* harmony import */ var _node_modules_windicss_webpack_plugin_dist_loaders_windicss_style_pitcher_cjs_node_modules_mini_css_extract_plugin_dist_loader_js_ref_9_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_9_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_9_oneOf_1_2_node_modules_windicss_webpack_plugin_dist_loaders_windicss_template_cjs_node_modules_sass_loader_dist_cjs_js_ref_9_oneOf_1_3_node_modules_cache_loader_dist_cjs_js_ref_1_0_node_modules_vue_loader_lib_index_js_vue_loader_options_ImMultiImgUploadList_vue_vue_type_style_index_0_id_39615df0_prod_lang_scss_scoped_true__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("1e6e");
|
|
78763
|
-
/* harmony import */ var _node_modules_windicss_webpack_plugin_dist_loaders_windicss_style_pitcher_cjs_node_modules_mini_css_extract_plugin_dist_loader_js_ref_9_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_9_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_9_oneOf_1_2_node_modules_windicss_webpack_plugin_dist_loaders_windicss_template_cjs_node_modules_sass_loader_dist_cjs_js_ref_9_oneOf_1_3_node_modules_cache_loader_dist_cjs_js_ref_1_0_node_modules_vue_loader_lib_index_js_vue_loader_options_ImMultiImgUploadList_vue_vue_type_style_index_0_id_39615df0_prod_lang_scss_scoped_true__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_windicss_webpack_plugin_dist_loaders_windicss_style_pitcher_cjs_node_modules_mini_css_extract_plugin_dist_loader_js_ref_9_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_9_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_9_oneOf_1_2_node_modules_windicss_webpack_plugin_dist_loaders_windicss_template_cjs_node_modules_sass_loader_dist_cjs_js_ref_9_oneOf_1_3_node_modules_cache_loader_dist_cjs_js_ref_1_0_node_modules_vue_loader_lib_index_js_vue_loader_options_ImMultiImgUploadList_vue_vue_type_style_index_0_id_39615df0_prod_lang_scss_scoped_true__WEBPACK_IMPORTED_MODULE_0__);
|
|
78764
|
-
/* unused harmony reexport * */
|
|
78765
|
-
|
|
78766
|
-
|
|
78767
78935
|
/***/ }),
|
|
78768
78936
|
|
|
78769
78937
|
/***/ "7aac":
|
|
@@ -78834,7 +79002,7 @@ module.exports = (
|
|
|
78834
79002
|
// ESM COMPAT FLAG
|
|
78835
79003
|
__webpack_require__.r(__webpack_exports__);
|
|
78836
79004
|
|
|
78837
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
79005
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"a30fa5d8-vue-loader-template"}!./node_modules/cache-loader/dist/cjs.js??ref--13-0!./node_modules/babel-loader/lib!./node_modules/vue-loader/lib/loaders/templateLoader.js??ref--6!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/vue-loader/lib??vue-loader-options!./node_modules/windicss-webpack-plugin/dist/loaders/windicss-template.cjs!./src/imui/src/FormComponents/upload/ImMultiImgUploadList.vue?vue&type=template&id=5109f95b&scoped=true
|
|
78838
79006
|
var render = function render() {
|
|
78839
79007
|
var _vm = this,
|
|
78840
79008
|
_c = _vm._self._c;
|
|
@@ -78849,7 +79017,14 @@ var render = function render() {
|
|
|
78849
79017
|
return _c('div', {
|
|
78850
79018
|
key: index,
|
|
78851
79019
|
staticClass: "item-view"
|
|
78852
|
-
}, [_c('
|
|
79020
|
+
}, [_vm.isSnapshotData(item) ? _c('div', {
|
|
79021
|
+
staticClass: "file-img-view"
|
|
79022
|
+
}, [_c('img', {
|
|
79023
|
+
attrs: {
|
|
79024
|
+
"src": "https://udstatic.imeik.com/pcUploads/1733198986155/icon_recording_recording.png",
|
|
79025
|
+
"alt": "快照预览"
|
|
79026
|
+
}
|
|
79027
|
+
})]) : _c('el-image', {
|
|
78853
79028
|
staticClass: "file-img-view",
|
|
78854
79029
|
attrs: {
|
|
78855
79030
|
"src": item,
|
|
@@ -78857,7 +79032,14 @@ var render = function render() {
|
|
|
78857
79032
|
}
|
|
78858
79033
|
}), _c('div', {
|
|
78859
79034
|
staticClass: "operate"
|
|
78860
|
-
}, [_c('i', {
|
|
79035
|
+
}, [_vm.isSnapshotData(item) ? _c('i', {
|
|
79036
|
+
staticClass: "el-icon-view",
|
|
79037
|
+
on: {
|
|
79038
|
+
"click": function click($event) {
|
|
79039
|
+
return _vm.showSnapshotView(item);
|
|
79040
|
+
}
|
|
79041
|
+
}
|
|
79042
|
+
}) : _c('i', {
|
|
78861
79043
|
staticClass: "el-icon-view",
|
|
78862
79044
|
on: {
|
|
78863
79045
|
"click": function click($event) {
|
|
@@ -78867,7 +79049,23 @@ var render = function render() {
|
|
|
78867
79049
|
}
|
|
78868
79050
|
}
|
|
78869
79051
|
})])], 1);
|
|
78870
|
-
}), 0)
|
|
79052
|
+
}), 0), _c('el-dialog', {
|
|
79053
|
+
attrs: {
|
|
79054
|
+
"title": "快照预览",
|
|
79055
|
+
"visible": _vm.snapshotDialogVisible,
|
|
79056
|
+
"width": "60%",
|
|
79057
|
+
"before-close": _vm.handleSnapshotDialogClose,
|
|
79058
|
+
"custom-class": "snapshot-dialog"
|
|
79059
|
+
},
|
|
79060
|
+
on: {
|
|
79061
|
+
"update:visible": function updateVisible($event) {
|
|
79062
|
+
_vm.snapshotDialogVisible = $event;
|
|
79063
|
+
}
|
|
79064
|
+
}
|
|
79065
|
+
}, [_c('div', {
|
|
79066
|
+
ref: "snapshotContainer",
|
|
79067
|
+
staticClass: "snapshot-container"
|
|
79068
|
+
})])], 1) : _c('el-upload', _vm._g(_vm._b({
|
|
78871
79069
|
ref: "upload",
|
|
78872
79070
|
class: {
|
|
78873
79071
|
hide: _vm.hideUpload
|
|
@@ -78895,29 +79093,1895 @@ var render = function render() {
|
|
|
78895
79093
|
};
|
|
78896
79094
|
var staticRenderFns = [];
|
|
78897
79095
|
|
|
78898
|
-
// CONCATENATED MODULE: ./src/imui/src/FormComponents/upload/ImMultiImgUploadList.vue?vue&type=template&id=
|
|
79096
|
+
// CONCATENATED MODULE: ./src/imui/src/FormComponents/upload/ImMultiImgUploadList.vue?vue&type=template&id=5109f95b&scoped=true
|
|
79097
|
+
|
|
79098
|
+
// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/regeneratorRuntime.js
|
|
79099
|
+
var regeneratorRuntime = __webpack_require__("c7eb");
|
|
79100
|
+
|
|
79101
|
+
// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/asyncToGenerator.js
|
|
79102
|
+
var asyncToGenerator = __webpack_require__("1da1");
|
|
79103
|
+
|
|
79104
|
+
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.array.filter.js
|
|
79105
|
+
var es_array_filter = __webpack_require__("4de4");
|
|
78899
79106
|
|
|
78900
79107
|
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.array.find-index.js
|
|
78901
79108
|
var es_array_find_index = __webpack_require__("c740");
|
|
78902
79109
|
|
|
79110
|
+
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.array.includes.js
|
|
79111
|
+
var es_array_includes = __webpack_require__("caad");
|
|
79112
|
+
|
|
78903
79113
|
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.array.push.js
|
|
78904
79114
|
var es_array_push = __webpack_require__("14d9");
|
|
78905
79115
|
|
|
78906
79116
|
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.array.splice.js
|
|
78907
79117
|
var es_array_splice = __webpack_require__("a434");
|
|
78908
79118
|
|
|
79119
|
+
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.object.to-string.js
|
|
79120
|
+
var es_object_to_string = __webpack_require__("d3b7");
|
|
79121
|
+
|
|
79122
|
+
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.promise.js
|
|
79123
|
+
var es_promise = __webpack_require__("e6cf");
|
|
79124
|
+
|
|
79125
|
+
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.string.ends-with.js
|
|
79126
|
+
var es_string_ends_with = __webpack_require__("8a79");
|
|
79127
|
+
|
|
79128
|
+
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.string.includes.js
|
|
79129
|
+
var es_string_includes = __webpack_require__("2532");
|
|
79130
|
+
|
|
78909
79131
|
// EXTERNAL MODULE: ./src/imui/src/FormComponents/upload/upload.js
|
|
78910
79132
|
var upload = __webpack_require__("3f24");
|
|
78911
79133
|
|
|
78912
79134
|
// EXTERNAL MODULE: ./node_modules/element-ui/src/mixins/emitter.js
|
|
78913
79135
|
var emitter = __webpack_require__("f6f4");
|
|
78914
79136
|
|
|
79137
|
+
// CONCATENATED MODULE: ./node_modules/rrweb-snapshot/es/rrweb-snapshot.js
|
|
79138
|
+
var NodeType;
|
|
79139
|
+
(function (NodeType) {
|
|
79140
|
+
NodeType[NodeType["Document"] = 0] = "Document";
|
|
79141
|
+
NodeType[NodeType["DocumentType"] = 1] = "DocumentType";
|
|
79142
|
+
NodeType[NodeType["Element"] = 2] = "Element";
|
|
79143
|
+
NodeType[NodeType["Text"] = 3] = "Text";
|
|
79144
|
+
NodeType[NodeType["CDATA"] = 4] = "CDATA";
|
|
79145
|
+
NodeType[NodeType["Comment"] = 5] = "Comment";
|
|
79146
|
+
})(NodeType || (NodeType = {}));
|
|
79147
|
+
|
|
79148
|
+
function isElement(n) {
|
|
79149
|
+
return n.nodeType === n.ELEMENT_NODE;
|
|
79150
|
+
}
|
|
79151
|
+
function isShadowRoot(n) {
|
|
79152
|
+
var host = n === null || n === void 0 ? void 0 : n.host;
|
|
79153
|
+
return Boolean((host === null || host === void 0 ? void 0 : host.shadowRoot) === n);
|
|
79154
|
+
}
|
|
79155
|
+
function isNativeShadowDom(shadowRoot) {
|
|
79156
|
+
return Object.prototype.toString.call(shadowRoot) === '[object ShadowRoot]';
|
|
79157
|
+
}
|
|
79158
|
+
function fixBrowserCompatibilityIssuesInCSS(cssText) {
|
|
79159
|
+
if (cssText.includes(' background-clip: text;') &&
|
|
79160
|
+
!cssText.includes(' -webkit-background-clip: text;')) {
|
|
79161
|
+
cssText = cssText.replace(' background-clip: text;', ' -webkit-background-clip: text; background-clip: text;');
|
|
79162
|
+
}
|
|
79163
|
+
return cssText;
|
|
79164
|
+
}
|
|
79165
|
+
function getCssRulesString(s) {
|
|
79166
|
+
try {
|
|
79167
|
+
var rules = s.rules || s.cssRules;
|
|
79168
|
+
return rules
|
|
79169
|
+
? fixBrowserCompatibilityIssuesInCSS(Array.from(rules).map(getCssRuleString).join(''))
|
|
79170
|
+
: null;
|
|
79171
|
+
}
|
|
79172
|
+
catch (error) {
|
|
79173
|
+
return null;
|
|
79174
|
+
}
|
|
79175
|
+
}
|
|
79176
|
+
function getCssRuleString(rule) {
|
|
79177
|
+
var cssStringified = rule.cssText;
|
|
79178
|
+
if (isCSSImportRule(rule)) {
|
|
79179
|
+
try {
|
|
79180
|
+
cssStringified = getCssRulesString(rule.styleSheet) || cssStringified;
|
|
79181
|
+
}
|
|
79182
|
+
catch (_a) {
|
|
79183
|
+
}
|
|
79184
|
+
}
|
|
79185
|
+
return cssStringified;
|
|
79186
|
+
}
|
|
79187
|
+
function isCSSImportRule(rule) {
|
|
79188
|
+
return 'styleSheet' in rule;
|
|
79189
|
+
}
|
|
79190
|
+
var Mirror = (function () {
|
|
79191
|
+
function Mirror() {
|
|
79192
|
+
this.idNodeMap = new Map();
|
|
79193
|
+
this.nodeMetaMap = new WeakMap();
|
|
79194
|
+
}
|
|
79195
|
+
Mirror.prototype.getId = function (n) {
|
|
79196
|
+
var _a;
|
|
79197
|
+
if (!n)
|
|
79198
|
+
return -1;
|
|
79199
|
+
var id = (_a = this.getMeta(n)) === null || _a === void 0 ? void 0 : _a.id;
|
|
79200
|
+
return id !== null && id !== void 0 ? id : -1;
|
|
79201
|
+
};
|
|
79202
|
+
Mirror.prototype.getNode = function (id) {
|
|
79203
|
+
return this.idNodeMap.get(id) || null;
|
|
79204
|
+
};
|
|
79205
|
+
Mirror.prototype.getIds = function () {
|
|
79206
|
+
return Array.from(this.idNodeMap.keys());
|
|
79207
|
+
};
|
|
79208
|
+
Mirror.prototype.getMeta = function (n) {
|
|
79209
|
+
return this.nodeMetaMap.get(n) || null;
|
|
79210
|
+
};
|
|
79211
|
+
Mirror.prototype.removeNodeFromMap = function (n) {
|
|
79212
|
+
var _this = this;
|
|
79213
|
+
var id = this.getId(n);
|
|
79214
|
+
this.idNodeMap["delete"](id);
|
|
79215
|
+
if (n.childNodes) {
|
|
79216
|
+
n.childNodes.forEach(function (childNode) {
|
|
79217
|
+
return _this.removeNodeFromMap(childNode);
|
|
79218
|
+
});
|
|
79219
|
+
}
|
|
79220
|
+
};
|
|
79221
|
+
Mirror.prototype.has = function (id) {
|
|
79222
|
+
return this.idNodeMap.has(id);
|
|
79223
|
+
};
|
|
79224
|
+
Mirror.prototype.hasNode = function (node) {
|
|
79225
|
+
return this.nodeMetaMap.has(node);
|
|
79226
|
+
};
|
|
79227
|
+
Mirror.prototype.add = function (n, meta) {
|
|
79228
|
+
var id = meta.id;
|
|
79229
|
+
this.idNodeMap.set(id, n);
|
|
79230
|
+
this.nodeMetaMap.set(n, meta);
|
|
79231
|
+
};
|
|
79232
|
+
Mirror.prototype.replace = function (id, n) {
|
|
79233
|
+
var oldNode = this.getNode(id);
|
|
79234
|
+
if (oldNode) {
|
|
79235
|
+
var meta = this.nodeMetaMap.get(oldNode);
|
|
79236
|
+
if (meta)
|
|
79237
|
+
this.nodeMetaMap.set(n, meta);
|
|
79238
|
+
}
|
|
79239
|
+
this.idNodeMap.set(id, n);
|
|
79240
|
+
};
|
|
79241
|
+
Mirror.prototype.reset = function () {
|
|
79242
|
+
this.idNodeMap = new Map();
|
|
79243
|
+
this.nodeMetaMap = new WeakMap();
|
|
79244
|
+
};
|
|
79245
|
+
return Mirror;
|
|
79246
|
+
}());
|
|
79247
|
+
function createMirror() {
|
|
79248
|
+
return new Mirror();
|
|
79249
|
+
}
|
|
79250
|
+
function maskInputValue(_a) {
|
|
79251
|
+
var maskInputOptions = _a.maskInputOptions, tagName = _a.tagName, type = _a.type, value = _a.value, maskInputFn = _a.maskInputFn;
|
|
79252
|
+
var text = value || '';
|
|
79253
|
+
if (maskInputOptions[tagName.toLowerCase()] ||
|
|
79254
|
+
maskInputOptions[type]) {
|
|
79255
|
+
if (maskInputFn) {
|
|
79256
|
+
text = maskInputFn(text);
|
|
79257
|
+
}
|
|
79258
|
+
else {
|
|
79259
|
+
text = '*'.repeat(text.length);
|
|
79260
|
+
}
|
|
79261
|
+
}
|
|
79262
|
+
return text;
|
|
79263
|
+
}
|
|
79264
|
+
var ORIGINAL_ATTRIBUTE_NAME = '__rrweb_original__';
|
|
79265
|
+
function is2DCanvasBlank(canvas) {
|
|
79266
|
+
var ctx = canvas.getContext('2d');
|
|
79267
|
+
if (!ctx)
|
|
79268
|
+
return true;
|
|
79269
|
+
var chunkSize = 50;
|
|
79270
|
+
for (var x = 0; x < canvas.width; x += chunkSize) {
|
|
79271
|
+
for (var y = 0; y < canvas.height; y += chunkSize) {
|
|
79272
|
+
var getImageData = ctx.getImageData;
|
|
79273
|
+
var originalGetImageData = ORIGINAL_ATTRIBUTE_NAME in getImageData
|
|
79274
|
+
? getImageData[ORIGINAL_ATTRIBUTE_NAME]
|
|
79275
|
+
: getImageData;
|
|
79276
|
+
var pixelBuffer = new Uint32Array(originalGetImageData.call(ctx, x, y, Math.min(chunkSize, canvas.width - x), Math.min(chunkSize, canvas.height - y)).data.buffer);
|
|
79277
|
+
if (pixelBuffer.some(function (pixel) { return pixel !== 0; }))
|
|
79278
|
+
return false;
|
|
79279
|
+
}
|
|
79280
|
+
}
|
|
79281
|
+
return true;
|
|
79282
|
+
}
|
|
79283
|
+
|
|
79284
|
+
var _id = 1;
|
|
79285
|
+
var tagNameRegex = new RegExp('[^a-z0-9-_:]');
|
|
79286
|
+
var IGNORED_NODE = -2;
|
|
79287
|
+
function genId() {
|
|
79288
|
+
return _id++;
|
|
79289
|
+
}
|
|
79290
|
+
function getValidTagName(element) {
|
|
79291
|
+
if (element instanceof HTMLFormElement) {
|
|
79292
|
+
return 'form';
|
|
79293
|
+
}
|
|
79294
|
+
var processedTagName = element.tagName.toLowerCase().trim();
|
|
79295
|
+
if (tagNameRegex.test(processedTagName)) {
|
|
79296
|
+
return 'div';
|
|
79297
|
+
}
|
|
79298
|
+
return processedTagName;
|
|
79299
|
+
}
|
|
79300
|
+
function stringifyStyleSheet(sheet) {
|
|
79301
|
+
return sheet.cssRules
|
|
79302
|
+
? Array.from(sheet.cssRules)
|
|
79303
|
+
.map(function (rule) { return rule.cssText || ''; })
|
|
79304
|
+
.join('')
|
|
79305
|
+
: '';
|
|
79306
|
+
}
|
|
79307
|
+
function extractOrigin(url) {
|
|
79308
|
+
var origin = '';
|
|
79309
|
+
if (url.indexOf('//') > -1) {
|
|
79310
|
+
origin = url.split('/').slice(0, 3).join('/');
|
|
79311
|
+
}
|
|
79312
|
+
else {
|
|
79313
|
+
origin = url.split('/')[0];
|
|
79314
|
+
}
|
|
79315
|
+
origin = origin.split('?')[0];
|
|
79316
|
+
return origin;
|
|
79317
|
+
}
|
|
79318
|
+
var canvasService;
|
|
79319
|
+
var canvasCtx;
|
|
79320
|
+
var URL_IN_CSS_REF = /url\((?:(')([^']*)'|(")(.*?)"|([^)]*))\)/gm;
|
|
79321
|
+
var RELATIVE_PATH = /^(?!www\.|(?:http|ftp)s?:\/\/|[A-Za-z]:\\|\/\/|#).*/;
|
|
79322
|
+
var DATA_URI = /^(data:)([^,]*),(.*)/i;
|
|
79323
|
+
function absoluteToStylesheet(cssText, href) {
|
|
79324
|
+
return (cssText || '').replace(URL_IN_CSS_REF, function (origin, quote1, path1, quote2, path2, path3) {
|
|
79325
|
+
var filePath = path1 || path2 || path3;
|
|
79326
|
+
var maybeQuote = quote1 || quote2 || '';
|
|
79327
|
+
if (!filePath) {
|
|
79328
|
+
return origin;
|
|
79329
|
+
}
|
|
79330
|
+
if (!RELATIVE_PATH.test(filePath)) {
|
|
79331
|
+
return "url(".concat(maybeQuote).concat(filePath).concat(maybeQuote, ")");
|
|
79332
|
+
}
|
|
79333
|
+
if (DATA_URI.test(filePath)) {
|
|
79334
|
+
return "url(".concat(maybeQuote).concat(filePath).concat(maybeQuote, ")");
|
|
79335
|
+
}
|
|
79336
|
+
if (filePath[0] === '/') {
|
|
79337
|
+
return "url(".concat(maybeQuote).concat(extractOrigin(href) + filePath).concat(maybeQuote, ")");
|
|
79338
|
+
}
|
|
79339
|
+
var stack = href.split('/');
|
|
79340
|
+
var parts = filePath.split('/');
|
|
79341
|
+
stack.pop();
|
|
79342
|
+
for (var _i = 0, parts_1 = parts; _i < parts_1.length; _i++) {
|
|
79343
|
+
var part = parts_1[_i];
|
|
79344
|
+
if (part === '.') {
|
|
79345
|
+
continue;
|
|
79346
|
+
}
|
|
79347
|
+
else if (part === '..') {
|
|
79348
|
+
stack.pop();
|
|
79349
|
+
}
|
|
79350
|
+
else {
|
|
79351
|
+
stack.push(part);
|
|
79352
|
+
}
|
|
79353
|
+
}
|
|
79354
|
+
return "url(".concat(maybeQuote).concat(stack.join('/')).concat(maybeQuote, ")");
|
|
79355
|
+
});
|
|
79356
|
+
}
|
|
79357
|
+
var SRCSET_NOT_SPACES = /^[^ \t\n\r\u000c]+/;
|
|
79358
|
+
var SRCSET_COMMAS_OR_SPACES = /^[, \t\n\r\u000c]+/;
|
|
79359
|
+
function getAbsoluteSrcsetString(doc, attributeValue) {
|
|
79360
|
+
if (attributeValue.trim() === '') {
|
|
79361
|
+
return attributeValue;
|
|
79362
|
+
}
|
|
79363
|
+
var pos = 0;
|
|
79364
|
+
function collectCharacters(regEx) {
|
|
79365
|
+
var chars;
|
|
79366
|
+
var match = regEx.exec(attributeValue.substring(pos));
|
|
79367
|
+
if (match) {
|
|
79368
|
+
chars = match[0];
|
|
79369
|
+
pos += chars.length;
|
|
79370
|
+
return chars;
|
|
79371
|
+
}
|
|
79372
|
+
return '';
|
|
79373
|
+
}
|
|
79374
|
+
var output = [];
|
|
79375
|
+
while (true) {
|
|
79376
|
+
collectCharacters(SRCSET_COMMAS_OR_SPACES);
|
|
79377
|
+
if (pos >= attributeValue.length) {
|
|
79378
|
+
break;
|
|
79379
|
+
}
|
|
79380
|
+
var url = collectCharacters(SRCSET_NOT_SPACES);
|
|
79381
|
+
if (url.slice(-1) === ',') {
|
|
79382
|
+
url = absoluteToDoc(doc, url.substring(0, url.length - 1));
|
|
79383
|
+
output.push(url);
|
|
79384
|
+
}
|
|
79385
|
+
else {
|
|
79386
|
+
var descriptorsStr = '';
|
|
79387
|
+
url = absoluteToDoc(doc, url);
|
|
79388
|
+
var inParens = false;
|
|
79389
|
+
while (true) {
|
|
79390
|
+
var c = attributeValue.charAt(pos);
|
|
79391
|
+
if (c === '') {
|
|
79392
|
+
output.push((url + descriptorsStr).trim());
|
|
79393
|
+
break;
|
|
79394
|
+
}
|
|
79395
|
+
else if (!inParens) {
|
|
79396
|
+
if (c === ',') {
|
|
79397
|
+
pos += 1;
|
|
79398
|
+
output.push((url + descriptorsStr).trim());
|
|
79399
|
+
break;
|
|
79400
|
+
}
|
|
79401
|
+
else if (c === '(') {
|
|
79402
|
+
inParens = true;
|
|
79403
|
+
}
|
|
79404
|
+
}
|
|
79405
|
+
else {
|
|
79406
|
+
if (c === ')') {
|
|
79407
|
+
inParens = false;
|
|
79408
|
+
}
|
|
79409
|
+
}
|
|
79410
|
+
descriptorsStr += c;
|
|
79411
|
+
pos += 1;
|
|
79412
|
+
}
|
|
79413
|
+
}
|
|
79414
|
+
}
|
|
79415
|
+
return output.join(', ');
|
|
79416
|
+
}
|
|
79417
|
+
function absoluteToDoc(doc, attributeValue) {
|
|
79418
|
+
if (!attributeValue || attributeValue.trim() === '') {
|
|
79419
|
+
return attributeValue;
|
|
79420
|
+
}
|
|
79421
|
+
var a = doc.createElement('a');
|
|
79422
|
+
a.href = attributeValue;
|
|
79423
|
+
return a.href;
|
|
79424
|
+
}
|
|
79425
|
+
function isSVGElement(el) {
|
|
79426
|
+
return Boolean(el.tagName === 'svg' || el.ownerSVGElement);
|
|
79427
|
+
}
|
|
79428
|
+
function getHref() {
|
|
79429
|
+
var a = document.createElement('a');
|
|
79430
|
+
a.href = '';
|
|
79431
|
+
return a.href;
|
|
79432
|
+
}
|
|
79433
|
+
function transformAttribute(doc, tagName, name, value) {
|
|
79434
|
+
if (name === 'src' ||
|
|
79435
|
+
(name === 'href' && value && !(tagName === 'use' && value[0] === '#'))) {
|
|
79436
|
+
return absoluteToDoc(doc, value);
|
|
79437
|
+
}
|
|
79438
|
+
else if (name === 'xlink:href' && value && value[0] !== '#') {
|
|
79439
|
+
return absoluteToDoc(doc, value);
|
|
79440
|
+
}
|
|
79441
|
+
else if (name === 'background' &&
|
|
79442
|
+
value &&
|
|
79443
|
+
(tagName === 'table' || tagName === 'td' || tagName === 'th')) {
|
|
79444
|
+
return absoluteToDoc(doc, value);
|
|
79445
|
+
}
|
|
79446
|
+
else if (name === 'srcset' && value) {
|
|
79447
|
+
return getAbsoluteSrcsetString(doc, value);
|
|
79448
|
+
}
|
|
79449
|
+
else if (name === 'style' && value) {
|
|
79450
|
+
return absoluteToStylesheet(value, getHref());
|
|
79451
|
+
}
|
|
79452
|
+
else if (tagName === 'object' && name === 'data' && value) {
|
|
79453
|
+
return absoluteToDoc(doc, value);
|
|
79454
|
+
}
|
|
79455
|
+
else {
|
|
79456
|
+
return value;
|
|
79457
|
+
}
|
|
79458
|
+
}
|
|
79459
|
+
function _isBlockedElement(element, blockClass, blockSelector) {
|
|
79460
|
+
if (typeof blockClass === 'string') {
|
|
79461
|
+
if (element.classList.contains(blockClass)) {
|
|
79462
|
+
return true;
|
|
79463
|
+
}
|
|
79464
|
+
}
|
|
79465
|
+
else {
|
|
79466
|
+
for (var eIndex = element.classList.length; eIndex--;) {
|
|
79467
|
+
var className = element.classList[eIndex];
|
|
79468
|
+
if (blockClass.test(className)) {
|
|
79469
|
+
return true;
|
|
79470
|
+
}
|
|
79471
|
+
}
|
|
79472
|
+
}
|
|
79473
|
+
if (blockSelector) {
|
|
79474
|
+
return element.matches(blockSelector);
|
|
79475
|
+
}
|
|
79476
|
+
return false;
|
|
79477
|
+
}
|
|
79478
|
+
function classMatchesRegex(node, regex, checkAncestors) {
|
|
79479
|
+
if (!node)
|
|
79480
|
+
return false;
|
|
79481
|
+
if (node.nodeType !== node.ELEMENT_NODE) {
|
|
79482
|
+
if (!checkAncestors)
|
|
79483
|
+
return false;
|
|
79484
|
+
return classMatchesRegex(node.parentNode, regex, checkAncestors);
|
|
79485
|
+
}
|
|
79486
|
+
for (var eIndex = node.classList.length; eIndex--;) {
|
|
79487
|
+
var className = node.classList[eIndex];
|
|
79488
|
+
if (regex.test(className)) {
|
|
79489
|
+
return true;
|
|
79490
|
+
}
|
|
79491
|
+
}
|
|
79492
|
+
if (!checkAncestors)
|
|
79493
|
+
return false;
|
|
79494
|
+
return classMatchesRegex(node.parentNode, regex, checkAncestors);
|
|
79495
|
+
}
|
|
79496
|
+
function needMaskingText(node, maskTextClass, maskTextSelector) {
|
|
79497
|
+
var el = node.nodeType === node.ELEMENT_NODE
|
|
79498
|
+
? node
|
|
79499
|
+
: node.parentElement;
|
|
79500
|
+
if (el === null)
|
|
79501
|
+
return false;
|
|
79502
|
+
if (typeof maskTextClass === 'string') {
|
|
79503
|
+
if (el.classList.contains(maskTextClass))
|
|
79504
|
+
return true;
|
|
79505
|
+
if (el.closest(".".concat(maskTextClass)))
|
|
79506
|
+
return true;
|
|
79507
|
+
}
|
|
79508
|
+
else {
|
|
79509
|
+
if (classMatchesRegex(el, maskTextClass, true))
|
|
79510
|
+
return true;
|
|
79511
|
+
}
|
|
79512
|
+
if (maskTextSelector) {
|
|
79513
|
+
if (el.matches(maskTextSelector))
|
|
79514
|
+
return true;
|
|
79515
|
+
if (el.closest(maskTextSelector))
|
|
79516
|
+
return true;
|
|
79517
|
+
}
|
|
79518
|
+
return false;
|
|
79519
|
+
}
|
|
79520
|
+
function onceIframeLoaded(iframeEl, listener, iframeLoadTimeout) {
|
|
79521
|
+
var win = iframeEl.contentWindow;
|
|
79522
|
+
if (!win) {
|
|
79523
|
+
return;
|
|
79524
|
+
}
|
|
79525
|
+
var fired = false;
|
|
79526
|
+
var readyState;
|
|
79527
|
+
try {
|
|
79528
|
+
readyState = win.document.readyState;
|
|
79529
|
+
}
|
|
79530
|
+
catch (error) {
|
|
79531
|
+
return;
|
|
79532
|
+
}
|
|
79533
|
+
if (readyState !== 'complete') {
|
|
79534
|
+
var timer_1 = setTimeout(function () {
|
|
79535
|
+
if (!fired) {
|
|
79536
|
+
listener();
|
|
79537
|
+
fired = true;
|
|
79538
|
+
}
|
|
79539
|
+
}, iframeLoadTimeout);
|
|
79540
|
+
iframeEl.addEventListener('load', function () {
|
|
79541
|
+
clearTimeout(timer_1);
|
|
79542
|
+
fired = true;
|
|
79543
|
+
listener();
|
|
79544
|
+
});
|
|
79545
|
+
return;
|
|
79546
|
+
}
|
|
79547
|
+
var blankUrl = 'about:blank';
|
|
79548
|
+
if (win.location.href !== blankUrl ||
|
|
79549
|
+
iframeEl.src === blankUrl ||
|
|
79550
|
+
iframeEl.src === '') {
|
|
79551
|
+
setTimeout(listener, 0);
|
|
79552
|
+
return iframeEl.addEventListener('load', listener);
|
|
79553
|
+
}
|
|
79554
|
+
iframeEl.addEventListener('load', listener);
|
|
79555
|
+
}
|
|
79556
|
+
function onceStylesheetLoaded(link, listener, styleSheetLoadTimeout) {
|
|
79557
|
+
var fired = false;
|
|
79558
|
+
var styleSheetLoaded;
|
|
79559
|
+
try {
|
|
79560
|
+
styleSheetLoaded = link.sheet;
|
|
79561
|
+
}
|
|
79562
|
+
catch (error) {
|
|
79563
|
+
return;
|
|
79564
|
+
}
|
|
79565
|
+
if (styleSheetLoaded)
|
|
79566
|
+
return;
|
|
79567
|
+
var timer = setTimeout(function () {
|
|
79568
|
+
if (!fired) {
|
|
79569
|
+
listener();
|
|
79570
|
+
fired = true;
|
|
79571
|
+
}
|
|
79572
|
+
}, styleSheetLoadTimeout);
|
|
79573
|
+
link.addEventListener('load', function () {
|
|
79574
|
+
clearTimeout(timer);
|
|
79575
|
+
fired = true;
|
|
79576
|
+
listener();
|
|
79577
|
+
});
|
|
79578
|
+
}
|
|
79579
|
+
function serializeNode(n, options) {
|
|
79580
|
+
var doc = options.doc, mirror = options.mirror, blockClass = options.blockClass, blockSelector = options.blockSelector, maskTextClass = options.maskTextClass, maskTextSelector = options.maskTextSelector, inlineStylesheet = options.inlineStylesheet, _a = options.maskInputOptions, maskInputOptions = _a === void 0 ? {} : _a, maskTextFn = options.maskTextFn, maskInputFn = options.maskInputFn, _b = options.dataURLOptions, dataURLOptions = _b === void 0 ? {} : _b, inlineImages = options.inlineImages, recordCanvas = options.recordCanvas, keepIframeSrcFn = options.keepIframeSrcFn, _c = options.newlyAddedElement, newlyAddedElement = _c === void 0 ? false : _c;
|
|
79581
|
+
var rootId = getRootId(doc, mirror);
|
|
79582
|
+
switch (n.nodeType) {
|
|
79583
|
+
case n.DOCUMENT_NODE:
|
|
79584
|
+
if (n.compatMode !== 'CSS1Compat') {
|
|
79585
|
+
return {
|
|
79586
|
+
type: NodeType.Document,
|
|
79587
|
+
childNodes: [],
|
|
79588
|
+
compatMode: n.compatMode
|
|
79589
|
+
};
|
|
79590
|
+
}
|
|
79591
|
+
else {
|
|
79592
|
+
return {
|
|
79593
|
+
type: NodeType.Document,
|
|
79594
|
+
childNodes: []
|
|
79595
|
+
};
|
|
79596
|
+
}
|
|
79597
|
+
case n.DOCUMENT_TYPE_NODE:
|
|
79598
|
+
return {
|
|
79599
|
+
type: NodeType.DocumentType,
|
|
79600
|
+
name: n.name,
|
|
79601
|
+
publicId: n.publicId,
|
|
79602
|
+
systemId: n.systemId,
|
|
79603
|
+
rootId: rootId
|
|
79604
|
+
};
|
|
79605
|
+
case n.ELEMENT_NODE:
|
|
79606
|
+
return serializeElementNode(n, {
|
|
79607
|
+
doc: doc,
|
|
79608
|
+
blockClass: blockClass,
|
|
79609
|
+
blockSelector: blockSelector,
|
|
79610
|
+
inlineStylesheet: inlineStylesheet,
|
|
79611
|
+
maskInputOptions: maskInputOptions,
|
|
79612
|
+
maskInputFn: maskInputFn,
|
|
79613
|
+
dataURLOptions: dataURLOptions,
|
|
79614
|
+
inlineImages: inlineImages,
|
|
79615
|
+
recordCanvas: recordCanvas,
|
|
79616
|
+
keepIframeSrcFn: keepIframeSrcFn,
|
|
79617
|
+
newlyAddedElement: newlyAddedElement,
|
|
79618
|
+
rootId: rootId
|
|
79619
|
+
});
|
|
79620
|
+
case n.TEXT_NODE:
|
|
79621
|
+
return serializeTextNode(n, {
|
|
79622
|
+
maskTextClass: maskTextClass,
|
|
79623
|
+
maskTextSelector: maskTextSelector,
|
|
79624
|
+
maskTextFn: maskTextFn,
|
|
79625
|
+
rootId: rootId
|
|
79626
|
+
});
|
|
79627
|
+
case n.CDATA_SECTION_NODE:
|
|
79628
|
+
return {
|
|
79629
|
+
type: NodeType.CDATA,
|
|
79630
|
+
textContent: '',
|
|
79631
|
+
rootId: rootId
|
|
79632
|
+
};
|
|
79633
|
+
case n.COMMENT_NODE:
|
|
79634
|
+
return {
|
|
79635
|
+
type: NodeType.Comment,
|
|
79636
|
+
textContent: n.textContent || '',
|
|
79637
|
+
rootId: rootId
|
|
79638
|
+
};
|
|
79639
|
+
default:
|
|
79640
|
+
return false;
|
|
79641
|
+
}
|
|
79642
|
+
}
|
|
79643
|
+
function getRootId(doc, mirror) {
|
|
79644
|
+
if (!mirror.hasNode(doc))
|
|
79645
|
+
return undefined;
|
|
79646
|
+
var docId = mirror.getId(doc);
|
|
79647
|
+
return docId === 1 ? undefined : docId;
|
|
79648
|
+
}
|
|
79649
|
+
function serializeTextNode(n, options) {
|
|
79650
|
+
var _a;
|
|
79651
|
+
var maskTextClass = options.maskTextClass, maskTextSelector = options.maskTextSelector, maskTextFn = options.maskTextFn, rootId = options.rootId;
|
|
79652
|
+
var parentTagName = n.parentNode && n.parentNode.tagName;
|
|
79653
|
+
var textContent = n.textContent;
|
|
79654
|
+
var isStyle = parentTagName === 'STYLE' ? true : undefined;
|
|
79655
|
+
var isScript = parentTagName === 'SCRIPT' ? true : undefined;
|
|
79656
|
+
if (isStyle && textContent) {
|
|
79657
|
+
try {
|
|
79658
|
+
if (n.nextSibling || n.previousSibling) {
|
|
79659
|
+
}
|
|
79660
|
+
else if ((_a = n.parentNode.sheet) === null || _a === void 0 ? void 0 : _a.cssRules) {
|
|
79661
|
+
textContent = stringifyStyleSheet(n.parentNode.sheet);
|
|
79662
|
+
}
|
|
79663
|
+
}
|
|
79664
|
+
catch (err) {
|
|
79665
|
+
console.warn("Cannot get CSS styles from text's parentNode. Error: ".concat(err), n);
|
|
79666
|
+
}
|
|
79667
|
+
textContent = absoluteToStylesheet(textContent, getHref());
|
|
79668
|
+
}
|
|
79669
|
+
if (isScript) {
|
|
79670
|
+
textContent = 'SCRIPT_PLACEHOLDER';
|
|
79671
|
+
}
|
|
79672
|
+
if (!isStyle &&
|
|
79673
|
+
!isScript &&
|
|
79674
|
+
textContent &&
|
|
79675
|
+
needMaskingText(n, maskTextClass, maskTextSelector)) {
|
|
79676
|
+
textContent = maskTextFn
|
|
79677
|
+
? maskTextFn(textContent)
|
|
79678
|
+
: textContent.replace(/[\S]/g, '*');
|
|
79679
|
+
}
|
|
79680
|
+
return {
|
|
79681
|
+
type: NodeType.Text,
|
|
79682
|
+
textContent: textContent || '',
|
|
79683
|
+
isStyle: isStyle,
|
|
79684
|
+
rootId: rootId
|
|
79685
|
+
};
|
|
79686
|
+
}
|
|
79687
|
+
function serializeElementNode(n, options) {
|
|
79688
|
+
var doc = options.doc, blockClass = options.blockClass, blockSelector = options.blockSelector, inlineStylesheet = options.inlineStylesheet, _a = options.maskInputOptions, maskInputOptions = _a === void 0 ? {} : _a, maskInputFn = options.maskInputFn, _b = options.dataURLOptions, dataURLOptions = _b === void 0 ? {} : _b, inlineImages = options.inlineImages, recordCanvas = options.recordCanvas, keepIframeSrcFn = options.keepIframeSrcFn, _c = options.newlyAddedElement, newlyAddedElement = _c === void 0 ? false : _c, rootId = options.rootId;
|
|
79689
|
+
var needBlock = _isBlockedElement(n, blockClass, blockSelector);
|
|
79690
|
+
var tagName = getValidTagName(n);
|
|
79691
|
+
var attributes = {};
|
|
79692
|
+
var len = n.attributes.length;
|
|
79693
|
+
for (var i = 0; i < len; i++) {
|
|
79694
|
+
var attr = n.attributes[i];
|
|
79695
|
+
attributes[attr.name] = transformAttribute(doc, tagName, attr.name, attr.value);
|
|
79696
|
+
}
|
|
79697
|
+
if (tagName === 'link' && inlineStylesheet) {
|
|
79698
|
+
var stylesheet = Array.from(doc.styleSheets).find(function (s) {
|
|
79699
|
+
return s.href === n.href;
|
|
79700
|
+
});
|
|
79701
|
+
var cssText = null;
|
|
79702
|
+
if (stylesheet) {
|
|
79703
|
+
cssText = getCssRulesString(stylesheet);
|
|
79704
|
+
}
|
|
79705
|
+
if (cssText) {
|
|
79706
|
+
delete attributes.rel;
|
|
79707
|
+
delete attributes.href;
|
|
79708
|
+
attributes._cssText = absoluteToStylesheet(cssText, stylesheet.href);
|
|
79709
|
+
}
|
|
79710
|
+
}
|
|
79711
|
+
if (tagName === 'style' &&
|
|
79712
|
+
n.sheet &&
|
|
79713
|
+
!(n.innerText || n.textContent || '').trim().length) {
|
|
79714
|
+
var cssText = getCssRulesString(n.sheet);
|
|
79715
|
+
if (cssText) {
|
|
79716
|
+
attributes._cssText = absoluteToStylesheet(cssText, getHref());
|
|
79717
|
+
}
|
|
79718
|
+
}
|
|
79719
|
+
if (tagName === 'input' || tagName === 'textarea' || tagName === 'select') {
|
|
79720
|
+
var value = n.value;
|
|
79721
|
+
var checked = n.checked;
|
|
79722
|
+
if (attributes.type !== 'radio' &&
|
|
79723
|
+
attributes.type !== 'checkbox' &&
|
|
79724
|
+
attributes.type !== 'submit' &&
|
|
79725
|
+
attributes.type !== 'button' &&
|
|
79726
|
+
value) {
|
|
79727
|
+
attributes.value = maskInputValue({
|
|
79728
|
+
type: attributes.type,
|
|
79729
|
+
tagName: tagName,
|
|
79730
|
+
value: value,
|
|
79731
|
+
maskInputOptions: maskInputOptions,
|
|
79732
|
+
maskInputFn: maskInputFn
|
|
79733
|
+
});
|
|
79734
|
+
}
|
|
79735
|
+
else if (checked) {
|
|
79736
|
+
attributes.checked = checked;
|
|
79737
|
+
}
|
|
79738
|
+
}
|
|
79739
|
+
if (tagName === 'option') {
|
|
79740
|
+
if (n.selected && !maskInputOptions['select']) {
|
|
79741
|
+
attributes.selected = true;
|
|
79742
|
+
}
|
|
79743
|
+
else {
|
|
79744
|
+
delete attributes.selected;
|
|
79745
|
+
}
|
|
79746
|
+
}
|
|
79747
|
+
if (tagName === 'canvas' && recordCanvas) {
|
|
79748
|
+
if (n.__context === '2d') {
|
|
79749
|
+
if (!is2DCanvasBlank(n)) {
|
|
79750
|
+
attributes.rr_dataURL = n.toDataURL(dataURLOptions.type, dataURLOptions.quality);
|
|
79751
|
+
}
|
|
79752
|
+
}
|
|
79753
|
+
else if (!('__context' in n)) {
|
|
79754
|
+
var canvasDataURL = n.toDataURL(dataURLOptions.type, dataURLOptions.quality);
|
|
79755
|
+
var blankCanvas = document.createElement('canvas');
|
|
79756
|
+
blankCanvas.width = n.width;
|
|
79757
|
+
blankCanvas.height = n.height;
|
|
79758
|
+
var blankCanvasDataURL = blankCanvas.toDataURL(dataURLOptions.type, dataURLOptions.quality);
|
|
79759
|
+
if (canvasDataURL !== blankCanvasDataURL) {
|
|
79760
|
+
attributes.rr_dataURL = canvasDataURL;
|
|
79761
|
+
}
|
|
79762
|
+
}
|
|
79763
|
+
}
|
|
79764
|
+
if (tagName === 'img' && inlineImages) {
|
|
79765
|
+
if (!canvasService) {
|
|
79766
|
+
canvasService = doc.createElement('canvas');
|
|
79767
|
+
canvasCtx = canvasService.getContext('2d');
|
|
79768
|
+
}
|
|
79769
|
+
var image_1 = n;
|
|
79770
|
+
var oldValue_1 = image_1.crossOrigin;
|
|
79771
|
+
image_1.crossOrigin = 'anonymous';
|
|
79772
|
+
var recordInlineImage = function () {
|
|
79773
|
+
try {
|
|
79774
|
+
canvasService.width = image_1.naturalWidth;
|
|
79775
|
+
canvasService.height = image_1.naturalHeight;
|
|
79776
|
+
canvasCtx.drawImage(image_1, 0, 0);
|
|
79777
|
+
attributes.rr_dataURL = canvasService.toDataURL(dataURLOptions.type, dataURLOptions.quality);
|
|
79778
|
+
}
|
|
79779
|
+
catch (err) {
|
|
79780
|
+
console.warn("Cannot inline img src=".concat(image_1.currentSrc, "! Error: ").concat(err));
|
|
79781
|
+
}
|
|
79782
|
+
oldValue_1
|
|
79783
|
+
? (attributes.crossOrigin = oldValue_1)
|
|
79784
|
+
: image_1.removeAttribute('crossorigin');
|
|
79785
|
+
};
|
|
79786
|
+
if (image_1.complete && image_1.naturalWidth !== 0)
|
|
79787
|
+
recordInlineImage();
|
|
79788
|
+
else
|
|
79789
|
+
image_1.onload = recordInlineImage;
|
|
79790
|
+
}
|
|
79791
|
+
if (tagName === 'audio' || tagName === 'video') {
|
|
79792
|
+
attributes.rr_mediaState = n.paused
|
|
79793
|
+
? 'paused'
|
|
79794
|
+
: 'played';
|
|
79795
|
+
attributes.rr_mediaCurrentTime = n.currentTime;
|
|
79796
|
+
}
|
|
79797
|
+
if (!newlyAddedElement) {
|
|
79798
|
+
if (n.scrollLeft) {
|
|
79799
|
+
attributes.rr_scrollLeft = n.scrollLeft;
|
|
79800
|
+
}
|
|
79801
|
+
if (n.scrollTop) {
|
|
79802
|
+
attributes.rr_scrollTop = n.scrollTop;
|
|
79803
|
+
}
|
|
79804
|
+
}
|
|
79805
|
+
if (needBlock) {
|
|
79806
|
+
var _d = n.getBoundingClientRect(), width = _d.width, height = _d.height;
|
|
79807
|
+
attributes = {
|
|
79808
|
+
"class": attributes["class"],
|
|
79809
|
+
rr_width: "".concat(width, "px"),
|
|
79810
|
+
rr_height: "".concat(height, "px")
|
|
79811
|
+
};
|
|
79812
|
+
}
|
|
79813
|
+
if (tagName === 'iframe' && !keepIframeSrcFn(attributes.src)) {
|
|
79814
|
+
if (!n.contentDocument) {
|
|
79815
|
+
attributes.rr_src = attributes.src;
|
|
79816
|
+
}
|
|
79817
|
+
delete attributes.src;
|
|
79818
|
+
}
|
|
79819
|
+
return {
|
|
79820
|
+
type: NodeType.Element,
|
|
79821
|
+
tagName: tagName,
|
|
79822
|
+
attributes: attributes,
|
|
79823
|
+
childNodes: [],
|
|
79824
|
+
isSVG: isSVGElement(n) || undefined,
|
|
79825
|
+
needBlock: needBlock,
|
|
79826
|
+
rootId: rootId
|
|
79827
|
+
};
|
|
79828
|
+
}
|
|
79829
|
+
function lowerIfExists(maybeAttr) {
|
|
79830
|
+
if (maybeAttr === undefined) {
|
|
79831
|
+
return '';
|
|
79832
|
+
}
|
|
79833
|
+
else {
|
|
79834
|
+
return maybeAttr.toLowerCase();
|
|
79835
|
+
}
|
|
79836
|
+
}
|
|
79837
|
+
function slimDOMExcluded(sn, slimDOMOptions) {
|
|
79838
|
+
if (slimDOMOptions.comment && sn.type === NodeType.Comment) {
|
|
79839
|
+
return true;
|
|
79840
|
+
}
|
|
79841
|
+
else if (sn.type === NodeType.Element) {
|
|
79842
|
+
if (slimDOMOptions.script &&
|
|
79843
|
+
(sn.tagName === 'script' ||
|
|
79844
|
+
(sn.tagName === 'link' &&
|
|
79845
|
+
sn.attributes.rel === 'preload' &&
|
|
79846
|
+
sn.attributes.as === 'script') ||
|
|
79847
|
+
(sn.tagName === 'link' &&
|
|
79848
|
+
sn.attributes.rel === 'prefetch' &&
|
|
79849
|
+
typeof sn.attributes.href === 'string' &&
|
|
79850
|
+
sn.attributes.href.endsWith('.js')))) {
|
|
79851
|
+
return true;
|
|
79852
|
+
}
|
|
79853
|
+
else if (slimDOMOptions.headFavicon &&
|
|
79854
|
+
((sn.tagName === 'link' && sn.attributes.rel === 'shortcut icon') ||
|
|
79855
|
+
(sn.tagName === 'meta' &&
|
|
79856
|
+
(lowerIfExists(sn.attributes.name).match(/^msapplication-tile(image|color)$/) ||
|
|
79857
|
+
lowerIfExists(sn.attributes.name) === 'application-name' ||
|
|
79858
|
+
lowerIfExists(sn.attributes.rel) === 'icon' ||
|
|
79859
|
+
lowerIfExists(sn.attributes.rel) === 'apple-touch-icon' ||
|
|
79860
|
+
lowerIfExists(sn.attributes.rel) === 'shortcut icon')))) {
|
|
79861
|
+
return true;
|
|
79862
|
+
}
|
|
79863
|
+
else if (sn.tagName === 'meta') {
|
|
79864
|
+
if (slimDOMOptions.headMetaDescKeywords &&
|
|
79865
|
+
lowerIfExists(sn.attributes.name).match(/^description|keywords$/)) {
|
|
79866
|
+
return true;
|
|
79867
|
+
}
|
|
79868
|
+
else if (slimDOMOptions.headMetaSocial &&
|
|
79869
|
+
(lowerIfExists(sn.attributes.property).match(/^(og|twitter|fb):/) ||
|
|
79870
|
+
lowerIfExists(sn.attributes.name).match(/^(og|twitter):/) ||
|
|
79871
|
+
lowerIfExists(sn.attributes.name) === 'pinterest')) {
|
|
79872
|
+
return true;
|
|
79873
|
+
}
|
|
79874
|
+
else if (slimDOMOptions.headMetaRobots &&
|
|
79875
|
+
(lowerIfExists(sn.attributes.name) === 'robots' ||
|
|
79876
|
+
lowerIfExists(sn.attributes.name) === 'googlebot' ||
|
|
79877
|
+
lowerIfExists(sn.attributes.name) === 'bingbot')) {
|
|
79878
|
+
return true;
|
|
79879
|
+
}
|
|
79880
|
+
else if (slimDOMOptions.headMetaHttpEquiv &&
|
|
79881
|
+
sn.attributes['http-equiv'] !== undefined) {
|
|
79882
|
+
return true;
|
|
79883
|
+
}
|
|
79884
|
+
else if (slimDOMOptions.headMetaAuthorship &&
|
|
79885
|
+
(lowerIfExists(sn.attributes.name) === 'author' ||
|
|
79886
|
+
lowerIfExists(sn.attributes.name) === 'generator' ||
|
|
79887
|
+
lowerIfExists(sn.attributes.name) === 'framework' ||
|
|
79888
|
+
lowerIfExists(sn.attributes.name) === 'publisher' ||
|
|
79889
|
+
lowerIfExists(sn.attributes.name) === 'progid' ||
|
|
79890
|
+
lowerIfExists(sn.attributes.property).match(/^article:/) ||
|
|
79891
|
+
lowerIfExists(sn.attributes.property).match(/^product:/))) {
|
|
79892
|
+
return true;
|
|
79893
|
+
}
|
|
79894
|
+
else if (slimDOMOptions.headMetaVerification &&
|
|
79895
|
+
(lowerIfExists(sn.attributes.name) === 'google-site-verification' ||
|
|
79896
|
+
lowerIfExists(sn.attributes.name) === 'yandex-verification' ||
|
|
79897
|
+
lowerIfExists(sn.attributes.name) === 'csrf-token' ||
|
|
79898
|
+
lowerIfExists(sn.attributes.name) === 'p:domain_verify' ||
|
|
79899
|
+
lowerIfExists(sn.attributes.name) === 'verify-v1' ||
|
|
79900
|
+
lowerIfExists(sn.attributes.name) === 'verification' ||
|
|
79901
|
+
lowerIfExists(sn.attributes.name) === 'shopify-checkout-api-token')) {
|
|
79902
|
+
return true;
|
|
79903
|
+
}
|
|
79904
|
+
}
|
|
79905
|
+
}
|
|
79906
|
+
return false;
|
|
79907
|
+
}
|
|
79908
|
+
function serializeNodeWithId(n, options) {
|
|
79909
|
+
var doc = options.doc, mirror = options.mirror, blockClass = options.blockClass, blockSelector = options.blockSelector, maskTextClass = options.maskTextClass, maskTextSelector = options.maskTextSelector, _a = options.skipChild, skipChild = _a === void 0 ? false : _a, _b = options.inlineStylesheet, inlineStylesheet = _b === void 0 ? true : _b, _c = options.maskInputOptions, maskInputOptions = _c === void 0 ? {} : _c, maskTextFn = options.maskTextFn, maskInputFn = options.maskInputFn, slimDOMOptions = options.slimDOMOptions, _d = options.dataURLOptions, dataURLOptions = _d === void 0 ? {} : _d, _e = options.inlineImages, inlineImages = _e === void 0 ? false : _e, _f = options.recordCanvas, recordCanvas = _f === void 0 ? false : _f, onSerialize = options.onSerialize, onIframeLoad = options.onIframeLoad, _g = options.iframeLoadTimeout, iframeLoadTimeout = _g === void 0 ? 5000 : _g, onStylesheetLoad = options.onStylesheetLoad, _h = options.stylesheetLoadTimeout, stylesheetLoadTimeout = _h === void 0 ? 5000 : _h, _j = options.keepIframeSrcFn, keepIframeSrcFn = _j === void 0 ? function () { return false; } : _j, _k = options.newlyAddedElement, newlyAddedElement = _k === void 0 ? false : _k;
|
|
79910
|
+
var _l = options.preserveWhiteSpace, preserveWhiteSpace = _l === void 0 ? true : _l;
|
|
79911
|
+
var _serializedNode = serializeNode(n, {
|
|
79912
|
+
doc: doc,
|
|
79913
|
+
mirror: mirror,
|
|
79914
|
+
blockClass: blockClass,
|
|
79915
|
+
blockSelector: blockSelector,
|
|
79916
|
+
maskTextClass: maskTextClass,
|
|
79917
|
+
maskTextSelector: maskTextSelector,
|
|
79918
|
+
inlineStylesheet: inlineStylesheet,
|
|
79919
|
+
maskInputOptions: maskInputOptions,
|
|
79920
|
+
maskTextFn: maskTextFn,
|
|
79921
|
+
maskInputFn: maskInputFn,
|
|
79922
|
+
dataURLOptions: dataURLOptions,
|
|
79923
|
+
inlineImages: inlineImages,
|
|
79924
|
+
recordCanvas: recordCanvas,
|
|
79925
|
+
keepIframeSrcFn: keepIframeSrcFn,
|
|
79926
|
+
newlyAddedElement: newlyAddedElement
|
|
79927
|
+
});
|
|
79928
|
+
if (!_serializedNode) {
|
|
79929
|
+
console.warn(n, 'not serialized');
|
|
79930
|
+
return null;
|
|
79931
|
+
}
|
|
79932
|
+
var id;
|
|
79933
|
+
if (mirror.hasNode(n)) {
|
|
79934
|
+
id = mirror.getId(n);
|
|
79935
|
+
}
|
|
79936
|
+
else if (slimDOMExcluded(_serializedNode, slimDOMOptions) ||
|
|
79937
|
+
(!preserveWhiteSpace &&
|
|
79938
|
+
_serializedNode.type === NodeType.Text &&
|
|
79939
|
+
!_serializedNode.isStyle &&
|
|
79940
|
+
!_serializedNode.textContent.replace(/^\s+|\s+$/gm, '').length)) {
|
|
79941
|
+
id = IGNORED_NODE;
|
|
79942
|
+
}
|
|
79943
|
+
else {
|
|
79944
|
+
id = genId();
|
|
79945
|
+
}
|
|
79946
|
+
var serializedNode = Object.assign(_serializedNode, { id: id });
|
|
79947
|
+
mirror.add(n, serializedNode);
|
|
79948
|
+
if (id === IGNORED_NODE) {
|
|
79949
|
+
return null;
|
|
79950
|
+
}
|
|
79951
|
+
if (onSerialize) {
|
|
79952
|
+
onSerialize(n);
|
|
79953
|
+
}
|
|
79954
|
+
var recordChild = !skipChild;
|
|
79955
|
+
if (serializedNode.type === NodeType.Element) {
|
|
79956
|
+
recordChild = recordChild && !serializedNode.needBlock;
|
|
79957
|
+
delete serializedNode.needBlock;
|
|
79958
|
+
var shadowRoot = n.shadowRoot;
|
|
79959
|
+
if (shadowRoot && isNativeShadowDom(shadowRoot))
|
|
79960
|
+
serializedNode.isShadowHost = true;
|
|
79961
|
+
}
|
|
79962
|
+
if ((serializedNode.type === NodeType.Document ||
|
|
79963
|
+
serializedNode.type === NodeType.Element) &&
|
|
79964
|
+
recordChild) {
|
|
79965
|
+
if (slimDOMOptions.headWhitespace &&
|
|
79966
|
+
serializedNode.type === NodeType.Element &&
|
|
79967
|
+
serializedNode.tagName === 'head') {
|
|
79968
|
+
preserveWhiteSpace = false;
|
|
79969
|
+
}
|
|
79970
|
+
var bypassOptions = {
|
|
79971
|
+
doc: doc,
|
|
79972
|
+
mirror: mirror,
|
|
79973
|
+
blockClass: blockClass,
|
|
79974
|
+
blockSelector: blockSelector,
|
|
79975
|
+
maskTextClass: maskTextClass,
|
|
79976
|
+
maskTextSelector: maskTextSelector,
|
|
79977
|
+
skipChild: skipChild,
|
|
79978
|
+
inlineStylesheet: inlineStylesheet,
|
|
79979
|
+
maskInputOptions: maskInputOptions,
|
|
79980
|
+
maskTextFn: maskTextFn,
|
|
79981
|
+
maskInputFn: maskInputFn,
|
|
79982
|
+
slimDOMOptions: slimDOMOptions,
|
|
79983
|
+
dataURLOptions: dataURLOptions,
|
|
79984
|
+
inlineImages: inlineImages,
|
|
79985
|
+
recordCanvas: recordCanvas,
|
|
79986
|
+
preserveWhiteSpace: preserveWhiteSpace,
|
|
79987
|
+
onSerialize: onSerialize,
|
|
79988
|
+
onIframeLoad: onIframeLoad,
|
|
79989
|
+
iframeLoadTimeout: iframeLoadTimeout,
|
|
79990
|
+
onStylesheetLoad: onStylesheetLoad,
|
|
79991
|
+
stylesheetLoadTimeout: stylesheetLoadTimeout,
|
|
79992
|
+
keepIframeSrcFn: keepIframeSrcFn
|
|
79993
|
+
};
|
|
79994
|
+
for (var _i = 0, _m = Array.from(n.childNodes); _i < _m.length; _i++) {
|
|
79995
|
+
var childN = _m[_i];
|
|
79996
|
+
var serializedChildNode = serializeNodeWithId(childN, bypassOptions);
|
|
79997
|
+
if (serializedChildNode) {
|
|
79998
|
+
serializedNode.childNodes.push(serializedChildNode);
|
|
79999
|
+
}
|
|
80000
|
+
}
|
|
80001
|
+
if (isElement(n) && n.shadowRoot) {
|
|
80002
|
+
for (var _o = 0, _p = Array.from(n.shadowRoot.childNodes); _o < _p.length; _o++) {
|
|
80003
|
+
var childN = _p[_o];
|
|
80004
|
+
var serializedChildNode = serializeNodeWithId(childN, bypassOptions);
|
|
80005
|
+
if (serializedChildNode) {
|
|
80006
|
+
isNativeShadowDom(n.shadowRoot) &&
|
|
80007
|
+
(serializedChildNode.isShadow = true);
|
|
80008
|
+
serializedNode.childNodes.push(serializedChildNode);
|
|
80009
|
+
}
|
|
80010
|
+
}
|
|
80011
|
+
}
|
|
80012
|
+
}
|
|
80013
|
+
if (n.parentNode &&
|
|
80014
|
+
isShadowRoot(n.parentNode) &&
|
|
80015
|
+
isNativeShadowDom(n.parentNode)) {
|
|
80016
|
+
serializedNode.isShadow = true;
|
|
80017
|
+
}
|
|
80018
|
+
if (serializedNode.type === NodeType.Element &&
|
|
80019
|
+
serializedNode.tagName === 'iframe') {
|
|
80020
|
+
onceIframeLoaded(n, function () {
|
|
80021
|
+
var iframeDoc = n.contentDocument;
|
|
80022
|
+
if (iframeDoc && onIframeLoad) {
|
|
80023
|
+
var serializedIframeNode = serializeNodeWithId(iframeDoc, {
|
|
80024
|
+
doc: iframeDoc,
|
|
80025
|
+
mirror: mirror,
|
|
80026
|
+
blockClass: blockClass,
|
|
80027
|
+
blockSelector: blockSelector,
|
|
80028
|
+
maskTextClass: maskTextClass,
|
|
80029
|
+
maskTextSelector: maskTextSelector,
|
|
80030
|
+
skipChild: false,
|
|
80031
|
+
inlineStylesheet: inlineStylesheet,
|
|
80032
|
+
maskInputOptions: maskInputOptions,
|
|
80033
|
+
maskTextFn: maskTextFn,
|
|
80034
|
+
maskInputFn: maskInputFn,
|
|
80035
|
+
slimDOMOptions: slimDOMOptions,
|
|
80036
|
+
dataURLOptions: dataURLOptions,
|
|
80037
|
+
inlineImages: inlineImages,
|
|
80038
|
+
recordCanvas: recordCanvas,
|
|
80039
|
+
preserveWhiteSpace: preserveWhiteSpace,
|
|
80040
|
+
onSerialize: onSerialize,
|
|
80041
|
+
onIframeLoad: onIframeLoad,
|
|
80042
|
+
iframeLoadTimeout: iframeLoadTimeout,
|
|
80043
|
+
onStylesheetLoad: onStylesheetLoad,
|
|
80044
|
+
stylesheetLoadTimeout: stylesheetLoadTimeout,
|
|
80045
|
+
keepIframeSrcFn: keepIframeSrcFn
|
|
80046
|
+
});
|
|
80047
|
+
if (serializedIframeNode) {
|
|
80048
|
+
onIframeLoad(n, serializedIframeNode);
|
|
80049
|
+
}
|
|
80050
|
+
}
|
|
80051
|
+
}, iframeLoadTimeout);
|
|
80052
|
+
}
|
|
80053
|
+
if (serializedNode.type === NodeType.Element &&
|
|
80054
|
+
serializedNode.tagName === 'link' &&
|
|
80055
|
+
serializedNode.attributes.rel === 'stylesheet') {
|
|
80056
|
+
onceStylesheetLoaded(n, function () {
|
|
80057
|
+
if (onStylesheetLoad) {
|
|
80058
|
+
var serializedLinkNode = serializeNodeWithId(n, {
|
|
80059
|
+
doc: doc,
|
|
80060
|
+
mirror: mirror,
|
|
80061
|
+
blockClass: blockClass,
|
|
80062
|
+
blockSelector: blockSelector,
|
|
80063
|
+
maskTextClass: maskTextClass,
|
|
80064
|
+
maskTextSelector: maskTextSelector,
|
|
80065
|
+
skipChild: false,
|
|
80066
|
+
inlineStylesheet: inlineStylesheet,
|
|
80067
|
+
maskInputOptions: maskInputOptions,
|
|
80068
|
+
maskTextFn: maskTextFn,
|
|
80069
|
+
maskInputFn: maskInputFn,
|
|
80070
|
+
slimDOMOptions: slimDOMOptions,
|
|
80071
|
+
dataURLOptions: dataURLOptions,
|
|
80072
|
+
inlineImages: inlineImages,
|
|
80073
|
+
recordCanvas: recordCanvas,
|
|
80074
|
+
preserveWhiteSpace: preserveWhiteSpace,
|
|
80075
|
+
onSerialize: onSerialize,
|
|
80076
|
+
onIframeLoad: onIframeLoad,
|
|
80077
|
+
iframeLoadTimeout: iframeLoadTimeout,
|
|
80078
|
+
onStylesheetLoad: onStylesheetLoad,
|
|
80079
|
+
stylesheetLoadTimeout: stylesheetLoadTimeout,
|
|
80080
|
+
keepIframeSrcFn: keepIframeSrcFn
|
|
80081
|
+
});
|
|
80082
|
+
if (serializedLinkNode) {
|
|
80083
|
+
onStylesheetLoad(n, serializedLinkNode);
|
|
80084
|
+
}
|
|
80085
|
+
}
|
|
80086
|
+
}, stylesheetLoadTimeout);
|
|
80087
|
+
}
|
|
80088
|
+
return serializedNode;
|
|
80089
|
+
}
|
|
80090
|
+
function snapshot(n, options) {
|
|
80091
|
+
var _a = options || {}, _b = _a.mirror, mirror = _b === void 0 ? new Mirror() : _b, _c = _a.blockClass, blockClass = _c === void 0 ? 'rr-block' : _c, _d = _a.blockSelector, blockSelector = _d === void 0 ? null : _d, _e = _a.maskTextClass, maskTextClass = _e === void 0 ? 'rr-mask' : _e, _f = _a.maskTextSelector, maskTextSelector = _f === void 0 ? null : _f, _g = _a.inlineStylesheet, inlineStylesheet = _g === void 0 ? true : _g, _h = _a.inlineImages, inlineImages = _h === void 0 ? false : _h, _j = _a.recordCanvas, recordCanvas = _j === void 0 ? false : _j, _k = _a.maskAllInputs, maskAllInputs = _k === void 0 ? false : _k, maskTextFn = _a.maskTextFn, maskInputFn = _a.maskInputFn, _l = _a.slimDOM, slimDOM = _l === void 0 ? false : _l, dataURLOptions = _a.dataURLOptions, preserveWhiteSpace = _a.preserveWhiteSpace, onSerialize = _a.onSerialize, onIframeLoad = _a.onIframeLoad, iframeLoadTimeout = _a.iframeLoadTimeout, onStylesheetLoad = _a.onStylesheetLoad, stylesheetLoadTimeout = _a.stylesheetLoadTimeout, _m = _a.keepIframeSrcFn, keepIframeSrcFn = _m === void 0 ? function () { return false; } : _m;
|
|
80092
|
+
var maskInputOptions = maskAllInputs === true
|
|
80093
|
+
? {
|
|
80094
|
+
color: true,
|
|
80095
|
+
date: true,
|
|
80096
|
+
'datetime-local': true,
|
|
80097
|
+
email: true,
|
|
80098
|
+
month: true,
|
|
80099
|
+
number: true,
|
|
80100
|
+
range: true,
|
|
80101
|
+
search: true,
|
|
80102
|
+
tel: true,
|
|
80103
|
+
text: true,
|
|
80104
|
+
time: true,
|
|
80105
|
+
url: true,
|
|
80106
|
+
week: true,
|
|
80107
|
+
textarea: true,
|
|
80108
|
+
select: true,
|
|
80109
|
+
password: true
|
|
80110
|
+
}
|
|
80111
|
+
: maskAllInputs === false
|
|
80112
|
+
? {
|
|
80113
|
+
password: true
|
|
80114
|
+
}
|
|
80115
|
+
: maskAllInputs;
|
|
80116
|
+
var slimDOMOptions = slimDOM === true || slimDOM === 'all'
|
|
80117
|
+
?
|
|
80118
|
+
{
|
|
80119
|
+
script: true,
|
|
80120
|
+
comment: true,
|
|
80121
|
+
headFavicon: true,
|
|
80122
|
+
headWhitespace: true,
|
|
80123
|
+
headMetaDescKeywords: slimDOM === 'all',
|
|
80124
|
+
headMetaSocial: true,
|
|
80125
|
+
headMetaRobots: true,
|
|
80126
|
+
headMetaHttpEquiv: true,
|
|
80127
|
+
headMetaAuthorship: true,
|
|
80128
|
+
headMetaVerification: true
|
|
80129
|
+
}
|
|
80130
|
+
: slimDOM === false
|
|
80131
|
+
? {}
|
|
80132
|
+
: slimDOM;
|
|
80133
|
+
return serializeNodeWithId(n, {
|
|
80134
|
+
doc: n,
|
|
80135
|
+
mirror: mirror,
|
|
80136
|
+
blockClass: blockClass,
|
|
80137
|
+
blockSelector: blockSelector,
|
|
80138
|
+
maskTextClass: maskTextClass,
|
|
80139
|
+
maskTextSelector: maskTextSelector,
|
|
80140
|
+
skipChild: false,
|
|
80141
|
+
inlineStylesheet: inlineStylesheet,
|
|
80142
|
+
maskInputOptions: maskInputOptions,
|
|
80143
|
+
maskTextFn: maskTextFn,
|
|
80144
|
+
maskInputFn: maskInputFn,
|
|
80145
|
+
slimDOMOptions: slimDOMOptions,
|
|
80146
|
+
dataURLOptions: dataURLOptions,
|
|
80147
|
+
inlineImages: inlineImages,
|
|
80148
|
+
recordCanvas: recordCanvas,
|
|
80149
|
+
preserveWhiteSpace: preserveWhiteSpace,
|
|
80150
|
+
onSerialize: onSerialize,
|
|
80151
|
+
onIframeLoad: onIframeLoad,
|
|
80152
|
+
iframeLoadTimeout: iframeLoadTimeout,
|
|
80153
|
+
onStylesheetLoad: onStylesheetLoad,
|
|
80154
|
+
stylesheetLoadTimeout: stylesheetLoadTimeout,
|
|
80155
|
+
keepIframeSrcFn: keepIframeSrcFn,
|
|
80156
|
+
newlyAddedElement: false
|
|
80157
|
+
});
|
|
80158
|
+
}
|
|
80159
|
+
function visitSnapshot(node, onVisit) {
|
|
80160
|
+
function walk(current) {
|
|
80161
|
+
onVisit(current);
|
|
80162
|
+
if (current.type === NodeType.Document ||
|
|
80163
|
+
current.type === NodeType.Element) {
|
|
80164
|
+
current.childNodes.forEach(walk);
|
|
80165
|
+
}
|
|
80166
|
+
}
|
|
80167
|
+
walk(node);
|
|
80168
|
+
}
|
|
80169
|
+
function cleanupSnapshot() {
|
|
80170
|
+
_id = 1;
|
|
80171
|
+
}
|
|
80172
|
+
|
|
80173
|
+
var commentre = /\/\*[^*]*\*+([^/*][^*]*\*+)*\//g;
|
|
80174
|
+
function parse(css, options) {
|
|
80175
|
+
if (options === void 0) { options = {}; }
|
|
80176
|
+
var lineno = 1;
|
|
80177
|
+
var column = 1;
|
|
80178
|
+
function updatePosition(str) {
|
|
80179
|
+
var lines = str.match(/\n/g);
|
|
80180
|
+
if (lines) {
|
|
80181
|
+
lineno += lines.length;
|
|
80182
|
+
}
|
|
80183
|
+
var i = str.lastIndexOf('\n');
|
|
80184
|
+
column = i === -1 ? column + str.length : str.length - i;
|
|
80185
|
+
}
|
|
80186
|
+
function position() {
|
|
80187
|
+
var start = { line: lineno, column: column };
|
|
80188
|
+
return function (node) {
|
|
80189
|
+
node.position = new Position(start);
|
|
80190
|
+
whitespace();
|
|
80191
|
+
return node;
|
|
80192
|
+
};
|
|
80193
|
+
}
|
|
80194
|
+
var Position = (function () {
|
|
80195
|
+
function Position(start) {
|
|
80196
|
+
this.start = start;
|
|
80197
|
+
this.end = { line: lineno, column: column };
|
|
80198
|
+
this.source = options.source;
|
|
80199
|
+
}
|
|
80200
|
+
return Position;
|
|
80201
|
+
}());
|
|
80202
|
+
Position.prototype.content = css;
|
|
80203
|
+
var errorsList = [];
|
|
80204
|
+
function error(msg) {
|
|
80205
|
+
var err = new Error("".concat(options.source || '', ":").concat(lineno, ":").concat(column, ": ").concat(msg));
|
|
80206
|
+
err.reason = msg;
|
|
80207
|
+
err.filename = options.source;
|
|
80208
|
+
err.line = lineno;
|
|
80209
|
+
err.column = column;
|
|
80210
|
+
err.source = css;
|
|
80211
|
+
if (options.silent) {
|
|
80212
|
+
errorsList.push(err);
|
|
80213
|
+
}
|
|
80214
|
+
else {
|
|
80215
|
+
throw err;
|
|
80216
|
+
}
|
|
80217
|
+
}
|
|
80218
|
+
function stylesheet() {
|
|
80219
|
+
var rulesList = rules();
|
|
80220
|
+
return {
|
|
80221
|
+
type: 'stylesheet',
|
|
80222
|
+
stylesheet: {
|
|
80223
|
+
source: options.source,
|
|
80224
|
+
rules: rulesList,
|
|
80225
|
+
parsingErrors: errorsList
|
|
80226
|
+
}
|
|
80227
|
+
};
|
|
80228
|
+
}
|
|
80229
|
+
function open() {
|
|
80230
|
+
return match(/^{\s*/);
|
|
80231
|
+
}
|
|
80232
|
+
function close() {
|
|
80233
|
+
return match(/^}/);
|
|
80234
|
+
}
|
|
80235
|
+
function rules() {
|
|
80236
|
+
var node;
|
|
80237
|
+
var rules = [];
|
|
80238
|
+
whitespace();
|
|
80239
|
+
comments(rules);
|
|
80240
|
+
while (css.length && css.charAt(0) !== '}' && (node = atrule() || rule())) {
|
|
80241
|
+
if (node !== false) {
|
|
80242
|
+
rules.push(node);
|
|
80243
|
+
comments(rules);
|
|
80244
|
+
}
|
|
80245
|
+
}
|
|
80246
|
+
return rules;
|
|
80247
|
+
}
|
|
80248
|
+
function match(re) {
|
|
80249
|
+
var m = re.exec(css);
|
|
80250
|
+
if (!m) {
|
|
80251
|
+
return;
|
|
80252
|
+
}
|
|
80253
|
+
var str = m[0];
|
|
80254
|
+
updatePosition(str);
|
|
80255
|
+
css = css.slice(str.length);
|
|
80256
|
+
return m;
|
|
80257
|
+
}
|
|
80258
|
+
function whitespace() {
|
|
80259
|
+
match(/^\s*/);
|
|
80260
|
+
}
|
|
80261
|
+
function comments(rules) {
|
|
80262
|
+
if (rules === void 0) { rules = []; }
|
|
80263
|
+
var c;
|
|
80264
|
+
while ((c = comment())) {
|
|
80265
|
+
if (c !== false) {
|
|
80266
|
+
rules.push(c);
|
|
80267
|
+
}
|
|
80268
|
+
c = comment();
|
|
80269
|
+
}
|
|
80270
|
+
return rules;
|
|
80271
|
+
}
|
|
80272
|
+
function comment() {
|
|
80273
|
+
var pos = position();
|
|
80274
|
+
if ('/' !== css.charAt(0) || '*' !== css.charAt(1)) {
|
|
80275
|
+
return;
|
|
80276
|
+
}
|
|
80277
|
+
var i = 2;
|
|
80278
|
+
while ('' !== css.charAt(i) &&
|
|
80279
|
+
('*' !== css.charAt(i) || '/' !== css.charAt(i + 1))) {
|
|
80280
|
+
++i;
|
|
80281
|
+
}
|
|
80282
|
+
i += 2;
|
|
80283
|
+
if ('' === css.charAt(i - 1)) {
|
|
80284
|
+
return error('End of comment missing');
|
|
80285
|
+
}
|
|
80286
|
+
var str = css.slice(2, i - 2);
|
|
80287
|
+
column += 2;
|
|
80288
|
+
updatePosition(str);
|
|
80289
|
+
css = css.slice(i);
|
|
80290
|
+
column += 2;
|
|
80291
|
+
return pos({
|
|
80292
|
+
type: 'comment',
|
|
80293
|
+
comment: str
|
|
80294
|
+
});
|
|
80295
|
+
}
|
|
80296
|
+
function selector() {
|
|
80297
|
+
var m = match(/^([^{]+)/);
|
|
80298
|
+
if (!m) {
|
|
80299
|
+
return;
|
|
80300
|
+
}
|
|
80301
|
+
return trim(m[0])
|
|
80302
|
+
.replace(/\/\*([^*]|[\r\n]|(\*+([^*/]|[\r\n])))*\*\/+/g, '')
|
|
80303
|
+
.replace(/"(?:\\"|[^"])*"|'(?:\\'|[^'])*'/g, function (m) {
|
|
80304
|
+
return m.replace(/,/g, '\u200C');
|
|
80305
|
+
})
|
|
80306
|
+
.split(/\s*(?![^(]*\)),\s*/)
|
|
80307
|
+
.map(function (s) {
|
|
80308
|
+
return s.replace(/\u200C/g, ',');
|
|
80309
|
+
});
|
|
80310
|
+
}
|
|
80311
|
+
function declaration() {
|
|
80312
|
+
var pos = position();
|
|
80313
|
+
var propMatch = match(/^(\*?[-#\/\*\\\w]+(\[[0-9a-z_-]+\])?)\s*/);
|
|
80314
|
+
if (!propMatch) {
|
|
80315
|
+
return;
|
|
80316
|
+
}
|
|
80317
|
+
var prop = trim(propMatch[0]);
|
|
80318
|
+
if (!match(/^:\s*/)) {
|
|
80319
|
+
return error("property missing ':'");
|
|
80320
|
+
}
|
|
80321
|
+
var val = match(/^((?:'(?:\\'|.)*?'|"(?:\\"|.)*?"|\([^\)]*?\)|[^};])+)/);
|
|
80322
|
+
var ret = pos({
|
|
80323
|
+
type: 'declaration',
|
|
80324
|
+
property: prop.replace(commentre, ''),
|
|
80325
|
+
value: val ? trim(val[0]).replace(commentre, '') : ''
|
|
80326
|
+
});
|
|
80327
|
+
match(/^[;\s]*/);
|
|
80328
|
+
return ret;
|
|
80329
|
+
}
|
|
80330
|
+
function declarations() {
|
|
80331
|
+
var decls = [];
|
|
80332
|
+
if (!open()) {
|
|
80333
|
+
return error("missing '{'");
|
|
80334
|
+
}
|
|
80335
|
+
comments(decls);
|
|
80336
|
+
var decl;
|
|
80337
|
+
while ((decl = declaration())) {
|
|
80338
|
+
if (decl !== false) {
|
|
80339
|
+
decls.push(decl);
|
|
80340
|
+
comments(decls);
|
|
80341
|
+
}
|
|
80342
|
+
decl = declaration();
|
|
80343
|
+
}
|
|
80344
|
+
if (!close()) {
|
|
80345
|
+
return error("missing '}'");
|
|
80346
|
+
}
|
|
80347
|
+
return decls;
|
|
80348
|
+
}
|
|
80349
|
+
function keyframe() {
|
|
80350
|
+
var m;
|
|
80351
|
+
var vals = [];
|
|
80352
|
+
var pos = position();
|
|
80353
|
+
while ((m = match(/^((\d+\.\d+|\.\d+|\d+)%?|[a-z]+)\s*/))) {
|
|
80354
|
+
vals.push(m[1]);
|
|
80355
|
+
match(/^,\s*/);
|
|
80356
|
+
}
|
|
80357
|
+
if (!vals.length) {
|
|
80358
|
+
return;
|
|
80359
|
+
}
|
|
80360
|
+
return pos({
|
|
80361
|
+
type: 'keyframe',
|
|
80362
|
+
values: vals,
|
|
80363
|
+
declarations: declarations()
|
|
80364
|
+
});
|
|
80365
|
+
}
|
|
80366
|
+
function atkeyframes() {
|
|
80367
|
+
var pos = position();
|
|
80368
|
+
var m = match(/^@([-\w]+)?keyframes\s*/);
|
|
80369
|
+
if (!m) {
|
|
80370
|
+
return;
|
|
80371
|
+
}
|
|
80372
|
+
var vendor = m[1];
|
|
80373
|
+
m = match(/^([-\w]+)\s*/);
|
|
80374
|
+
if (!m) {
|
|
80375
|
+
return error('@keyframes missing name');
|
|
80376
|
+
}
|
|
80377
|
+
var name = m[1];
|
|
80378
|
+
if (!open()) {
|
|
80379
|
+
return error("@keyframes missing '{'");
|
|
80380
|
+
}
|
|
80381
|
+
var frame;
|
|
80382
|
+
var frames = comments();
|
|
80383
|
+
while ((frame = keyframe())) {
|
|
80384
|
+
frames.push(frame);
|
|
80385
|
+
frames = frames.concat(comments());
|
|
80386
|
+
}
|
|
80387
|
+
if (!close()) {
|
|
80388
|
+
return error("@keyframes missing '}'");
|
|
80389
|
+
}
|
|
80390
|
+
return pos({
|
|
80391
|
+
type: 'keyframes',
|
|
80392
|
+
name: name,
|
|
80393
|
+
vendor: vendor,
|
|
80394
|
+
keyframes: frames
|
|
80395
|
+
});
|
|
80396
|
+
}
|
|
80397
|
+
function atsupports() {
|
|
80398
|
+
var pos = position();
|
|
80399
|
+
var m = match(/^@supports *([^{]+)/);
|
|
80400
|
+
if (!m) {
|
|
80401
|
+
return;
|
|
80402
|
+
}
|
|
80403
|
+
var supports = trim(m[1]);
|
|
80404
|
+
if (!open()) {
|
|
80405
|
+
return error("@supports missing '{'");
|
|
80406
|
+
}
|
|
80407
|
+
var style = comments().concat(rules());
|
|
80408
|
+
if (!close()) {
|
|
80409
|
+
return error("@supports missing '}'");
|
|
80410
|
+
}
|
|
80411
|
+
return pos({
|
|
80412
|
+
type: 'supports',
|
|
80413
|
+
supports: supports,
|
|
80414
|
+
rules: style
|
|
80415
|
+
});
|
|
80416
|
+
}
|
|
80417
|
+
function athost() {
|
|
80418
|
+
var pos = position();
|
|
80419
|
+
var m = match(/^@host\s*/);
|
|
80420
|
+
if (!m) {
|
|
80421
|
+
return;
|
|
80422
|
+
}
|
|
80423
|
+
if (!open()) {
|
|
80424
|
+
return error("@host missing '{'");
|
|
80425
|
+
}
|
|
80426
|
+
var style = comments().concat(rules());
|
|
80427
|
+
if (!close()) {
|
|
80428
|
+
return error("@host missing '}'");
|
|
80429
|
+
}
|
|
80430
|
+
return pos({
|
|
80431
|
+
type: 'host',
|
|
80432
|
+
rules: style
|
|
80433
|
+
});
|
|
80434
|
+
}
|
|
80435
|
+
function atmedia() {
|
|
80436
|
+
var pos = position();
|
|
80437
|
+
var m = match(/^@media *([^{]+)/);
|
|
80438
|
+
if (!m) {
|
|
80439
|
+
return;
|
|
80440
|
+
}
|
|
80441
|
+
var media = trim(m[1]);
|
|
80442
|
+
if (!open()) {
|
|
80443
|
+
return error("@media missing '{'");
|
|
80444
|
+
}
|
|
80445
|
+
var style = comments().concat(rules());
|
|
80446
|
+
if (!close()) {
|
|
80447
|
+
return error("@media missing '}'");
|
|
80448
|
+
}
|
|
80449
|
+
return pos({
|
|
80450
|
+
type: 'media',
|
|
80451
|
+
media: media,
|
|
80452
|
+
rules: style
|
|
80453
|
+
});
|
|
80454
|
+
}
|
|
80455
|
+
function atcustommedia() {
|
|
80456
|
+
var pos = position();
|
|
80457
|
+
var m = match(/^@custom-media\s+(--[^\s]+)\s*([^{;]+);/);
|
|
80458
|
+
if (!m) {
|
|
80459
|
+
return;
|
|
80460
|
+
}
|
|
80461
|
+
return pos({
|
|
80462
|
+
type: 'custom-media',
|
|
80463
|
+
name: trim(m[1]),
|
|
80464
|
+
media: trim(m[2])
|
|
80465
|
+
});
|
|
80466
|
+
}
|
|
80467
|
+
function atpage() {
|
|
80468
|
+
var pos = position();
|
|
80469
|
+
var m = match(/^@page */);
|
|
80470
|
+
if (!m) {
|
|
80471
|
+
return;
|
|
80472
|
+
}
|
|
80473
|
+
var sel = selector() || [];
|
|
80474
|
+
if (!open()) {
|
|
80475
|
+
return error("@page missing '{'");
|
|
80476
|
+
}
|
|
80477
|
+
var decls = comments();
|
|
80478
|
+
var decl;
|
|
80479
|
+
while ((decl = declaration())) {
|
|
80480
|
+
decls.push(decl);
|
|
80481
|
+
decls = decls.concat(comments());
|
|
80482
|
+
}
|
|
80483
|
+
if (!close()) {
|
|
80484
|
+
return error("@page missing '}'");
|
|
80485
|
+
}
|
|
80486
|
+
return pos({
|
|
80487
|
+
type: 'page',
|
|
80488
|
+
selectors: sel,
|
|
80489
|
+
declarations: decls
|
|
80490
|
+
});
|
|
80491
|
+
}
|
|
80492
|
+
function atdocument() {
|
|
80493
|
+
var pos = position();
|
|
80494
|
+
var m = match(/^@([-\w]+)?document *([^{]+)/);
|
|
80495
|
+
if (!m) {
|
|
80496
|
+
return;
|
|
80497
|
+
}
|
|
80498
|
+
var vendor = trim(m[1]);
|
|
80499
|
+
var doc = trim(m[2]);
|
|
80500
|
+
if (!open()) {
|
|
80501
|
+
return error("@document missing '{'");
|
|
80502
|
+
}
|
|
80503
|
+
var style = comments().concat(rules());
|
|
80504
|
+
if (!close()) {
|
|
80505
|
+
return error("@document missing '}'");
|
|
80506
|
+
}
|
|
80507
|
+
return pos({
|
|
80508
|
+
type: 'document',
|
|
80509
|
+
document: doc,
|
|
80510
|
+
vendor: vendor,
|
|
80511
|
+
rules: style
|
|
80512
|
+
});
|
|
80513
|
+
}
|
|
80514
|
+
function atfontface() {
|
|
80515
|
+
var pos = position();
|
|
80516
|
+
var m = match(/^@font-face\s*/);
|
|
80517
|
+
if (!m) {
|
|
80518
|
+
return;
|
|
80519
|
+
}
|
|
80520
|
+
if (!open()) {
|
|
80521
|
+
return error("@font-face missing '{'");
|
|
80522
|
+
}
|
|
80523
|
+
var decls = comments();
|
|
80524
|
+
var decl;
|
|
80525
|
+
while ((decl = declaration())) {
|
|
80526
|
+
decls.push(decl);
|
|
80527
|
+
decls = decls.concat(comments());
|
|
80528
|
+
}
|
|
80529
|
+
if (!close()) {
|
|
80530
|
+
return error("@font-face missing '}'");
|
|
80531
|
+
}
|
|
80532
|
+
return pos({
|
|
80533
|
+
type: 'font-face',
|
|
80534
|
+
declarations: decls
|
|
80535
|
+
});
|
|
80536
|
+
}
|
|
80537
|
+
var atimport = _compileAtrule('import');
|
|
80538
|
+
var atcharset = _compileAtrule('charset');
|
|
80539
|
+
var atnamespace = _compileAtrule('namespace');
|
|
80540
|
+
function _compileAtrule(name) {
|
|
80541
|
+
var re = new RegExp('^@' + name + '\\s*([^;]+);');
|
|
80542
|
+
return function () {
|
|
80543
|
+
var pos = position();
|
|
80544
|
+
var m = match(re);
|
|
80545
|
+
if (!m) {
|
|
80546
|
+
return;
|
|
80547
|
+
}
|
|
80548
|
+
var ret = { type: name };
|
|
80549
|
+
ret[name] = m[1].trim();
|
|
80550
|
+
return pos(ret);
|
|
80551
|
+
};
|
|
80552
|
+
}
|
|
80553
|
+
function atrule() {
|
|
80554
|
+
if (css[0] !== '@') {
|
|
80555
|
+
return;
|
|
80556
|
+
}
|
|
80557
|
+
return (atkeyframes() ||
|
|
80558
|
+
atmedia() ||
|
|
80559
|
+
atcustommedia() ||
|
|
80560
|
+
atsupports() ||
|
|
80561
|
+
atimport() ||
|
|
80562
|
+
atcharset() ||
|
|
80563
|
+
atnamespace() ||
|
|
80564
|
+
atdocument() ||
|
|
80565
|
+
atpage() ||
|
|
80566
|
+
athost() ||
|
|
80567
|
+
atfontface());
|
|
80568
|
+
}
|
|
80569
|
+
function rule() {
|
|
80570
|
+
var pos = position();
|
|
80571
|
+
var sel = selector();
|
|
80572
|
+
if (!sel) {
|
|
80573
|
+
return error('selector missing');
|
|
80574
|
+
}
|
|
80575
|
+
comments();
|
|
80576
|
+
return pos({
|
|
80577
|
+
type: 'rule',
|
|
80578
|
+
selectors: sel,
|
|
80579
|
+
declarations: declarations()
|
|
80580
|
+
});
|
|
80581
|
+
}
|
|
80582
|
+
return addParent(stylesheet());
|
|
80583
|
+
}
|
|
80584
|
+
function trim(str) {
|
|
80585
|
+
return str ? str.replace(/^\s+|\s+$/g, '') : '';
|
|
80586
|
+
}
|
|
80587
|
+
function addParent(obj, parent) {
|
|
80588
|
+
var isNode = obj && typeof obj.type === 'string';
|
|
80589
|
+
var childParent = isNode ? obj : parent;
|
|
80590
|
+
for (var _i = 0, _a = Object.keys(obj); _i < _a.length; _i++) {
|
|
80591
|
+
var k = _a[_i];
|
|
80592
|
+
var value = obj[k];
|
|
80593
|
+
if (Array.isArray(value)) {
|
|
80594
|
+
value.forEach(function (v) {
|
|
80595
|
+
addParent(v, childParent);
|
|
80596
|
+
});
|
|
80597
|
+
}
|
|
80598
|
+
else if (value && typeof value === 'object') {
|
|
80599
|
+
addParent(value, childParent);
|
|
80600
|
+
}
|
|
80601
|
+
}
|
|
80602
|
+
if (isNode) {
|
|
80603
|
+
Object.defineProperty(obj, 'parent', {
|
|
80604
|
+
configurable: true,
|
|
80605
|
+
writable: true,
|
|
80606
|
+
enumerable: false,
|
|
80607
|
+
value: parent || null
|
|
80608
|
+
});
|
|
80609
|
+
}
|
|
80610
|
+
return obj;
|
|
80611
|
+
}
|
|
80612
|
+
|
|
80613
|
+
var tagMap = {
|
|
80614
|
+
script: 'noscript',
|
|
80615
|
+
altglyph: 'altGlyph',
|
|
80616
|
+
altglyphdef: 'altGlyphDef',
|
|
80617
|
+
altglyphitem: 'altGlyphItem',
|
|
80618
|
+
animatecolor: 'animateColor',
|
|
80619
|
+
animatemotion: 'animateMotion',
|
|
80620
|
+
animatetransform: 'animateTransform',
|
|
80621
|
+
clippath: 'clipPath',
|
|
80622
|
+
feblend: 'feBlend',
|
|
80623
|
+
fecolormatrix: 'feColorMatrix',
|
|
80624
|
+
fecomponenttransfer: 'feComponentTransfer',
|
|
80625
|
+
fecomposite: 'feComposite',
|
|
80626
|
+
feconvolvematrix: 'feConvolveMatrix',
|
|
80627
|
+
fediffuselighting: 'feDiffuseLighting',
|
|
80628
|
+
fedisplacementmap: 'feDisplacementMap',
|
|
80629
|
+
fedistantlight: 'feDistantLight',
|
|
80630
|
+
fedropshadow: 'feDropShadow',
|
|
80631
|
+
feflood: 'feFlood',
|
|
80632
|
+
fefunca: 'feFuncA',
|
|
80633
|
+
fefuncb: 'feFuncB',
|
|
80634
|
+
fefuncg: 'feFuncG',
|
|
80635
|
+
fefuncr: 'feFuncR',
|
|
80636
|
+
fegaussianblur: 'feGaussianBlur',
|
|
80637
|
+
feimage: 'feImage',
|
|
80638
|
+
femerge: 'feMerge',
|
|
80639
|
+
femergenode: 'feMergeNode',
|
|
80640
|
+
femorphology: 'feMorphology',
|
|
80641
|
+
feoffset: 'feOffset',
|
|
80642
|
+
fepointlight: 'fePointLight',
|
|
80643
|
+
fespecularlighting: 'feSpecularLighting',
|
|
80644
|
+
fespotlight: 'feSpotLight',
|
|
80645
|
+
fetile: 'feTile',
|
|
80646
|
+
feturbulence: 'feTurbulence',
|
|
80647
|
+
foreignobject: 'foreignObject',
|
|
80648
|
+
glyphref: 'glyphRef',
|
|
80649
|
+
lineargradient: 'linearGradient',
|
|
80650
|
+
radialgradient: 'radialGradient'
|
|
80651
|
+
};
|
|
80652
|
+
function getTagName(n) {
|
|
80653
|
+
var tagName = tagMap[n.tagName] ? tagMap[n.tagName] : n.tagName;
|
|
80654
|
+
if (tagName === 'link' && n.attributes._cssText) {
|
|
80655
|
+
tagName = 'style';
|
|
80656
|
+
}
|
|
80657
|
+
return tagName;
|
|
80658
|
+
}
|
|
80659
|
+
function escapeRegExp(str) {
|
|
80660
|
+
return str.replace(/[.*+?^${}()|[\]\\]/g, '\\$&');
|
|
80661
|
+
}
|
|
80662
|
+
var HOVER_SELECTOR = /([^\\]):hover/;
|
|
80663
|
+
var HOVER_SELECTOR_GLOBAL = new RegExp(HOVER_SELECTOR.source, 'g');
|
|
80664
|
+
function addHoverClass(cssText, cache) {
|
|
80665
|
+
var cachedStyle = cache === null || cache === void 0 ? void 0 : cache.stylesWithHoverClass.get(cssText);
|
|
80666
|
+
if (cachedStyle)
|
|
80667
|
+
return cachedStyle;
|
|
80668
|
+
var ast = parse(cssText, {
|
|
80669
|
+
silent: true
|
|
80670
|
+
});
|
|
80671
|
+
if (!ast.stylesheet) {
|
|
80672
|
+
return cssText;
|
|
80673
|
+
}
|
|
80674
|
+
var selectors = [];
|
|
80675
|
+
ast.stylesheet.rules.forEach(function (rule) {
|
|
80676
|
+
if ('selectors' in rule) {
|
|
80677
|
+
(rule.selectors || []).forEach(function (selector) {
|
|
80678
|
+
if (HOVER_SELECTOR.test(selector)) {
|
|
80679
|
+
selectors.push(selector);
|
|
80680
|
+
}
|
|
80681
|
+
});
|
|
80682
|
+
}
|
|
80683
|
+
});
|
|
80684
|
+
if (selectors.length === 0) {
|
|
80685
|
+
return cssText;
|
|
80686
|
+
}
|
|
80687
|
+
var selectorMatcher = new RegExp(selectors
|
|
80688
|
+
.filter(function (selector, index) { return selectors.indexOf(selector) === index; })
|
|
80689
|
+
.sort(function (a, b) { return b.length - a.length; })
|
|
80690
|
+
.map(function (selector) {
|
|
80691
|
+
return escapeRegExp(selector);
|
|
80692
|
+
})
|
|
80693
|
+
.join('|'), 'g');
|
|
80694
|
+
var result = cssText.replace(selectorMatcher, function (selector) {
|
|
80695
|
+
var newSelector = selector.replace(HOVER_SELECTOR_GLOBAL, '$1.\\:hover');
|
|
80696
|
+
return "".concat(selector, ", ").concat(newSelector);
|
|
80697
|
+
});
|
|
80698
|
+
cache === null || cache === void 0 ? void 0 : cache.stylesWithHoverClass.set(cssText, result);
|
|
80699
|
+
return result;
|
|
80700
|
+
}
|
|
80701
|
+
function createCache() {
|
|
80702
|
+
var stylesWithHoverClass = new Map();
|
|
80703
|
+
return {
|
|
80704
|
+
stylesWithHoverClass: stylesWithHoverClass
|
|
80705
|
+
};
|
|
80706
|
+
}
|
|
80707
|
+
function buildNode(n, options) {
|
|
80708
|
+
var doc = options.doc, hackCss = options.hackCss, cache = options.cache;
|
|
80709
|
+
switch (n.type) {
|
|
80710
|
+
case NodeType.Document:
|
|
80711
|
+
return doc.implementation.createDocument(null, '', null);
|
|
80712
|
+
case NodeType.DocumentType:
|
|
80713
|
+
return doc.implementation.createDocumentType(n.name || 'html', n.publicId, n.systemId);
|
|
80714
|
+
case NodeType.Element: {
|
|
80715
|
+
var tagName = getTagName(n);
|
|
80716
|
+
var node_1;
|
|
80717
|
+
if (n.isSVG) {
|
|
80718
|
+
node_1 = doc.createElementNS('http://www.w3.org/2000/svg', tagName);
|
|
80719
|
+
}
|
|
80720
|
+
else {
|
|
80721
|
+
node_1 = doc.createElement(tagName);
|
|
80722
|
+
}
|
|
80723
|
+
var specialAttributes = {};
|
|
80724
|
+
for (var name_1 in n.attributes) {
|
|
80725
|
+
if (!Object.prototype.hasOwnProperty.call(n.attributes, name_1)) {
|
|
80726
|
+
continue;
|
|
80727
|
+
}
|
|
80728
|
+
var value = n.attributes[name_1];
|
|
80729
|
+
if (tagName === 'option' &&
|
|
80730
|
+
name_1 === 'selected' &&
|
|
80731
|
+
value === false) {
|
|
80732
|
+
continue;
|
|
80733
|
+
}
|
|
80734
|
+
if (value === true)
|
|
80735
|
+
value = '';
|
|
80736
|
+
if (name_1.startsWith('rr_')) {
|
|
80737
|
+
specialAttributes[name_1] = value;
|
|
80738
|
+
continue;
|
|
80739
|
+
}
|
|
80740
|
+
var isTextarea = tagName === 'textarea' && name_1 === 'value';
|
|
80741
|
+
var isRemoteOrDynamicCss = tagName === 'style' && name_1 === '_cssText';
|
|
80742
|
+
if (isRemoteOrDynamicCss && hackCss && typeof value === 'string') {
|
|
80743
|
+
value = addHoverClass(value, cache);
|
|
80744
|
+
}
|
|
80745
|
+
if ((isTextarea || isRemoteOrDynamicCss) && typeof value === 'string') {
|
|
80746
|
+
var child = doc.createTextNode(value);
|
|
80747
|
+
for (var _i = 0, _a = Array.from(node_1.childNodes); _i < _a.length; _i++) {
|
|
80748
|
+
var c = _a[_i];
|
|
80749
|
+
if (c.nodeType === node_1.TEXT_NODE) {
|
|
80750
|
+
node_1.removeChild(c);
|
|
80751
|
+
}
|
|
80752
|
+
}
|
|
80753
|
+
node_1.appendChild(child);
|
|
80754
|
+
continue;
|
|
80755
|
+
}
|
|
80756
|
+
try {
|
|
80757
|
+
if (n.isSVG && name_1 === 'xlink:href') {
|
|
80758
|
+
node_1.setAttributeNS('http://www.w3.org/1999/xlink', name_1, value.toString());
|
|
80759
|
+
}
|
|
80760
|
+
else if (name_1 === 'onload' ||
|
|
80761
|
+
name_1 === 'onclick' ||
|
|
80762
|
+
name_1.substring(0, 7) === 'onmouse') {
|
|
80763
|
+
node_1.setAttribute('_' + name_1, value.toString());
|
|
80764
|
+
}
|
|
80765
|
+
else if (tagName === 'meta' &&
|
|
80766
|
+
n.attributes['http-equiv'] === 'Content-Security-Policy' &&
|
|
80767
|
+
name_1 === 'content') {
|
|
80768
|
+
node_1.setAttribute('csp-content', value.toString());
|
|
80769
|
+
continue;
|
|
80770
|
+
}
|
|
80771
|
+
else if (tagName === 'link' &&
|
|
80772
|
+
n.attributes.rel === 'preload' &&
|
|
80773
|
+
n.attributes.as === 'script') {
|
|
80774
|
+
}
|
|
80775
|
+
else if (tagName === 'link' &&
|
|
80776
|
+
n.attributes.rel === 'prefetch' &&
|
|
80777
|
+
typeof n.attributes.href === 'string' &&
|
|
80778
|
+
n.attributes.href.endsWith('.js')) {
|
|
80779
|
+
}
|
|
80780
|
+
else if (tagName === 'img' &&
|
|
80781
|
+
n.attributes.srcset &&
|
|
80782
|
+
n.attributes.rr_dataURL) {
|
|
80783
|
+
node_1.setAttribute('rrweb-original-srcset', n.attributes.srcset);
|
|
80784
|
+
}
|
|
80785
|
+
else {
|
|
80786
|
+
node_1.setAttribute(name_1, value.toString());
|
|
80787
|
+
}
|
|
80788
|
+
}
|
|
80789
|
+
catch (error) {
|
|
80790
|
+
}
|
|
80791
|
+
}
|
|
80792
|
+
var _loop_1 = function (name_2) {
|
|
80793
|
+
var value = specialAttributes[name_2];
|
|
80794
|
+
if (tagName === 'canvas' && name_2 === 'rr_dataURL') {
|
|
80795
|
+
var image_1 = document.createElement('img');
|
|
80796
|
+
image_1.onload = function () {
|
|
80797
|
+
var ctx = node_1.getContext('2d');
|
|
80798
|
+
if (ctx) {
|
|
80799
|
+
ctx.drawImage(image_1, 0, 0, image_1.width, image_1.height);
|
|
80800
|
+
}
|
|
80801
|
+
};
|
|
80802
|
+
image_1.src = value.toString();
|
|
80803
|
+
if (node_1.RRNodeType)
|
|
80804
|
+
node_1.rr_dataURL = value.toString();
|
|
80805
|
+
}
|
|
80806
|
+
else if (tagName === 'img' && name_2 === 'rr_dataURL') {
|
|
80807
|
+
var image = node_1;
|
|
80808
|
+
if (!image.currentSrc.startsWith('data:')) {
|
|
80809
|
+
image.setAttribute('rrweb-original-src', n.attributes.src);
|
|
80810
|
+
image.src = value.toString();
|
|
80811
|
+
}
|
|
80812
|
+
}
|
|
80813
|
+
if (name_2 === 'rr_width') {
|
|
80814
|
+
node_1.style.width = value.toString();
|
|
80815
|
+
}
|
|
80816
|
+
else if (name_2 === 'rr_height') {
|
|
80817
|
+
node_1.style.height = value.toString();
|
|
80818
|
+
}
|
|
80819
|
+
else if (name_2 === 'rr_mediaCurrentTime' &&
|
|
80820
|
+
typeof value === 'number') {
|
|
80821
|
+
node_1.currentTime = value;
|
|
80822
|
+
}
|
|
80823
|
+
else if (name_2 === 'rr_mediaState') {
|
|
80824
|
+
switch (value) {
|
|
80825
|
+
case 'played':
|
|
80826
|
+
node_1
|
|
80827
|
+
.play()["catch"](function (e) { return console.warn('media playback error', e); });
|
|
80828
|
+
break;
|
|
80829
|
+
case 'paused':
|
|
80830
|
+
node_1.pause();
|
|
80831
|
+
break;
|
|
80832
|
+
}
|
|
80833
|
+
}
|
|
80834
|
+
};
|
|
80835
|
+
for (var name_2 in specialAttributes) {
|
|
80836
|
+
_loop_1(name_2);
|
|
80837
|
+
}
|
|
80838
|
+
if (n.isShadowHost) {
|
|
80839
|
+
if (!node_1.shadowRoot) {
|
|
80840
|
+
node_1.attachShadow({ mode: 'open' });
|
|
80841
|
+
}
|
|
80842
|
+
else {
|
|
80843
|
+
while (node_1.shadowRoot.firstChild) {
|
|
80844
|
+
node_1.shadowRoot.removeChild(node_1.shadowRoot.firstChild);
|
|
80845
|
+
}
|
|
80846
|
+
}
|
|
80847
|
+
}
|
|
80848
|
+
return node_1;
|
|
80849
|
+
}
|
|
80850
|
+
case NodeType.Text:
|
|
80851
|
+
return doc.createTextNode(n.isStyle && hackCss
|
|
80852
|
+
? addHoverClass(n.textContent, cache)
|
|
80853
|
+
: n.textContent);
|
|
80854
|
+
case NodeType.CDATA:
|
|
80855
|
+
return doc.createCDATASection(n.textContent);
|
|
80856
|
+
case NodeType.Comment:
|
|
80857
|
+
return doc.createComment(n.textContent);
|
|
80858
|
+
default:
|
|
80859
|
+
return null;
|
|
80860
|
+
}
|
|
80861
|
+
}
|
|
80862
|
+
function buildNodeWithSN(n, options) {
|
|
80863
|
+
var doc = options.doc, mirror = options.mirror, _a = options.skipChild, skipChild = _a === void 0 ? false : _a, _b = options.hackCss, hackCss = _b === void 0 ? true : _b, afterAppend = options.afterAppend, cache = options.cache;
|
|
80864
|
+
var node = buildNode(n, { doc: doc, hackCss: hackCss, cache: cache });
|
|
80865
|
+
if (!node) {
|
|
80866
|
+
return null;
|
|
80867
|
+
}
|
|
80868
|
+
if (n.rootId && mirror.getNode(n.rootId) !== doc) {
|
|
80869
|
+
mirror.replace(n.rootId, doc);
|
|
80870
|
+
}
|
|
80871
|
+
if (n.type === NodeType.Document) {
|
|
80872
|
+
doc.close();
|
|
80873
|
+
doc.open();
|
|
80874
|
+
if (n.compatMode === 'BackCompat' &&
|
|
80875
|
+
n.childNodes &&
|
|
80876
|
+
n.childNodes[0].type !== NodeType.DocumentType) {
|
|
80877
|
+
if (n.childNodes[0].type === NodeType.Element &&
|
|
80878
|
+
'xmlns' in n.childNodes[0].attributes &&
|
|
80879
|
+
n.childNodes[0].attributes.xmlns === 'http://www.w3.org/1999/xhtml') {
|
|
80880
|
+
doc.write('<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "">');
|
|
80881
|
+
}
|
|
80882
|
+
else {
|
|
80883
|
+
doc.write('<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" "">');
|
|
80884
|
+
}
|
|
80885
|
+
}
|
|
80886
|
+
node = doc;
|
|
80887
|
+
}
|
|
80888
|
+
mirror.add(node, n);
|
|
80889
|
+
if ((n.type === NodeType.Document || n.type === NodeType.Element) &&
|
|
80890
|
+
!skipChild) {
|
|
80891
|
+
for (var _i = 0, _c = n.childNodes; _i < _c.length; _i++) {
|
|
80892
|
+
var childN = _c[_i];
|
|
80893
|
+
var childNode = buildNodeWithSN(childN, {
|
|
80894
|
+
doc: doc,
|
|
80895
|
+
mirror: mirror,
|
|
80896
|
+
skipChild: false,
|
|
80897
|
+
hackCss: hackCss,
|
|
80898
|
+
afterAppend: afterAppend,
|
|
80899
|
+
cache: cache
|
|
80900
|
+
});
|
|
80901
|
+
if (!childNode) {
|
|
80902
|
+
console.warn('Failed to rebuild', childN);
|
|
80903
|
+
continue;
|
|
80904
|
+
}
|
|
80905
|
+
if (childN.isShadow && isElement(node) && node.shadowRoot) {
|
|
80906
|
+
node.shadowRoot.appendChild(childNode);
|
|
80907
|
+
}
|
|
80908
|
+
else {
|
|
80909
|
+
node.appendChild(childNode);
|
|
80910
|
+
}
|
|
80911
|
+
if (afterAppend) {
|
|
80912
|
+
afterAppend(childNode, childN.id);
|
|
80913
|
+
}
|
|
80914
|
+
}
|
|
80915
|
+
}
|
|
80916
|
+
return node;
|
|
80917
|
+
}
|
|
80918
|
+
function visit(mirror, onVisit) {
|
|
80919
|
+
function walk(node) {
|
|
80920
|
+
onVisit(node);
|
|
80921
|
+
}
|
|
80922
|
+
for (var _i = 0, _a = mirror.getIds(); _i < _a.length; _i++) {
|
|
80923
|
+
var id = _a[_i];
|
|
80924
|
+
if (mirror.has(id)) {
|
|
80925
|
+
walk(mirror.getNode(id));
|
|
80926
|
+
}
|
|
80927
|
+
}
|
|
80928
|
+
}
|
|
80929
|
+
function handleScroll(node, mirror) {
|
|
80930
|
+
var n = mirror.getMeta(node);
|
|
80931
|
+
if ((n === null || n === void 0 ? void 0 : n.type) !== NodeType.Element) {
|
|
80932
|
+
return;
|
|
80933
|
+
}
|
|
80934
|
+
var el = node;
|
|
80935
|
+
for (var name_3 in n.attributes) {
|
|
80936
|
+
if (!(Object.prototype.hasOwnProperty.call(n.attributes, name_3) &&
|
|
80937
|
+
name_3.startsWith('rr_'))) {
|
|
80938
|
+
continue;
|
|
80939
|
+
}
|
|
80940
|
+
var value = n.attributes[name_3];
|
|
80941
|
+
if (name_3 === 'rr_scrollLeft') {
|
|
80942
|
+
el.scrollLeft = value;
|
|
80943
|
+
}
|
|
80944
|
+
if (name_3 === 'rr_scrollTop') {
|
|
80945
|
+
el.scrollTop = value;
|
|
80946
|
+
}
|
|
80947
|
+
}
|
|
80948
|
+
}
|
|
80949
|
+
function rebuild(n, options) {
|
|
80950
|
+
var doc = options.doc, onVisit = options.onVisit, _a = options.hackCss, hackCss = _a === void 0 ? true : _a, afterAppend = options.afterAppend, cache = options.cache, _b = options.mirror, mirror = _b === void 0 ? new Mirror() : _b;
|
|
80951
|
+
var node = buildNodeWithSN(n, {
|
|
80952
|
+
doc: doc,
|
|
80953
|
+
mirror: mirror,
|
|
80954
|
+
skipChild: false,
|
|
80955
|
+
hackCss: hackCss,
|
|
80956
|
+
afterAppend: afterAppend,
|
|
80957
|
+
cache: cache
|
|
80958
|
+
});
|
|
80959
|
+
visit(mirror, function (visitedNode) {
|
|
80960
|
+
if (onVisit) {
|
|
80961
|
+
onVisit(visitedNode);
|
|
80962
|
+
}
|
|
80963
|
+
handleScroll(visitedNode, mirror);
|
|
80964
|
+
});
|
|
80965
|
+
return node;
|
|
80966
|
+
}
|
|
80967
|
+
|
|
80968
|
+
|
|
80969
|
+
|
|
78915
80970
|
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js??ref--13-0!./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/vue-loader/lib??vue-loader-options!./node_modules/windicss-webpack-plugin/dist/loaders/windicss-template.cjs!./src/imui/src/FormComponents/upload/ImMultiImgUploadList.vue?vue&type=script&lang=js
|
|
78916
80971
|
|
|
78917
80972
|
|
|
78918
80973
|
|
|
78919
80974
|
|
|
78920
80975
|
|
|
80976
|
+
|
|
80977
|
+
|
|
80978
|
+
|
|
80979
|
+
|
|
80980
|
+
|
|
80981
|
+
|
|
80982
|
+
|
|
80983
|
+
|
|
80984
|
+
|
|
78921
80985
|
/* harmony default export */ var ImMultiImgUploadListvue_type_script_lang_js = ({
|
|
78922
80986
|
name: 'ImMultiImgUpload',
|
|
78923
80987
|
mixins: [emitter["a" /* default */]],
|
|
@@ -78949,7 +81013,8 @@ var emitter = __webpack_require__("f6f4");
|
|
|
78949
81013
|
},
|
|
78950
81014
|
data: function data() {
|
|
78951
81015
|
return {
|
|
78952
|
-
uploadedImageList: []
|
|
81016
|
+
uploadedImageList: [],
|
|
81017
|
+
snapshotDialogVisible: false
|
|
78953
81018
|
};
|
|
78954
81019
|
},
|
|
78955
81020
|
computed: {
|
|
@@ -78976,15 +81041,22 @@ var emitter = __webpack_require__("f6f4");
|
|
|
78976
81041
|
}
|
|
78977
81042
|
},
|
|
78978
81043
|
methods: {
|
|
78979
|
-
|
|
78980
|
-
|
|
81044
|
+
// 判断是否为rrweb快照数据
|
|
81045
|
+
isSnapshotData: function isSnapshotData(url) {
|
|
81046
|
+
return url && url.endsWith('.json');
|
|
78981
81047
|
},
|
|
78982
81048
|
showImgView: function showImgView(res) {
|
|
81049
|
+
var _this = this;
|
|
78983
81050
|
var file = res;
|
|
78984
81051
|
if (res.response) {
|
|
78985
81052
|
file = res.response;
|
|
78986
81053
|
}
|
|
78987
|
-
|
|
81054
|
+
// 图片只预览非isSnapshotData的数据
|
|
81055
|
+
var previewList = this.uploadedImageList.filter(function (i) {
|
|
81056
|
+
return !_this.isSnapshotData(i);
|
|
81057
|
+
});
|
|
81058
|
+
console.log('previewList', previewList);
|
|
81059
|
+
var index = previewList.findIndex(function (i) {
|
|
78988
81060
|
return i === file.url;
|
|
78989
81061
|
});
|
|
78990
81062
|
this.$viewerApi({
|
|
@@ -78992,9 +81064,87 @@ var emitter = __webpack_require__("f6f4");
|
|
|
78992
81064
|
navbar: false,
|
|
78993
81065
|
initialViewIndex: index
|
|
78994
81066
|
},
|
|
78995
|
-
images:
|
|
81067
|
+
images: previewList
|
|
78996
81068
|
});
|
|
78997
81069
|
},
|
|
81070
|
+
showSnapshotView: function showSnapshotView(url) {
|
|
81071
|
+
var _this2 = this;
|
|
81072
|
+
return Object(asyncToGenerator["a" /* default */])( /*#__PURE__*/Object(regeneratorRuntime["a" /* default */])().mark(function _callee2() {
|
|
81073
|
+
return Object(regeneratorRuntime["a" /* default */])().wrap(function _callee2$(_context2) {
|
|
81074
|
+
while (1) switch (_context2.prev = _context2.next) {
|
|
81075
|
+
case 0:
|
|
81076
|
+
_this2.snapshotDialogVisible = true;
|
|
81077
|
+
try {
|
|
81078
|
+
_this2.$nextTick( /*#__PURE__*/Object(asyncToGenerator["a" /* default */])( /*#__PURE__*/Object(regeneratorRuntime["a" /* default */])().mark(function _callee() {
|
|
81079
|
+
var response, snapshotData, container, _snapshotData$childNo, iframe, isMobileSnapshot, iframeDoc, meta;
|
|
81080
|
+
return Object(regeneratorRuntime["a" /* default */])().wrap(function _callee$(_context) {
|
|
81081
|
+
while (1) switch (_context.prev = _context.next) {
|
|
81082
|
+
case 0:
|
|
81083
|
+
_context.next = 2;
|
|
81084
|
+
return fetch(url);
|
|
81085
|
+
case 2:
|
|
81086
|
+
response = _context.sent;
|
|
81087
|
+
_context.next = 5;
|
|
81088
|
+
return response.json();
|
|
81089
|
+
case 5:
|
|
81090
|
+
snapshotData = _context.sent;
|
|
81091
|
+
container = _this2.$refs.snapshotContainer;
|
|
81092
|
+
if (!container) {
|
|
81093
|
+
_context.next = 21;
|
|
81094
|
+
break;
|
|
81095
|
+
}
|
|
81096
|
+
iframe = document.createElement('iframe'); // 检查是否为移动端截屏
|
|
81097
|
+
isMobileSnapshot = (_snapshotData$childNo = snapshotData.childNodes) === null || _snapshotData$childNo === void 0 ? void 0 : _snapshotData$childNo.some(function (node) {
|
|
81098
|
+
var _node$attributes;
|
|
81099
|
+
return node.type === 2 && node.tagName === 'html' && ((_node$attributes = node.attributes) === null || _node$attributes === void 0 || (_node$attributes = _node$attributes.class) === null || _node$attributes === void 0 ? void 0 : _node$attributes.includes('mobile'));
|
|
81100
|
+
}); // 根据是否是移动端设置不同的样式
|
|
81101
|
+
iframe.style.cssText = isMobileSnapshot ? 'width: 375px; height: 100%; border: none; margin: 0 auto; display: block;' : 'max-width: 100%; height: 100%; border: none; margin: 0 auto; display: block;';
|
|
81102
|
+
container.innerHTML = '';
|
|
81103
|
+
container.appendChild(iframe);
|
|
81104
|
+
_context.next = 15;
|
|
81105
|
+
return new Promise(function (resolve) {
|
|
81106
|
+
iframe.onload = resolve;
|
|
81107
|
+
iframe.src = 'about:blank';
|
|
81108
|
+
});
|
|
81109
|
+
case 15:
|
|
81110
|
+
iframeDoc = iframe.contentDocument;
|
|
81111
|
+
meta = iframeDoc.createElement('meta');
|
|
81112
|
+
meta.setAttribute('name', 'viewport');
|
|
81113
|
+
meta.setAttribute('content', 'width=device-width, initial-scale=1');
|
|
81114
|
+
iframeDoc.head.appendChild(meta);
|
|
81115
|
+
rebuild(snapshotData, {
|
|
81116
|
+
doc: iframeDoc,
|
|
81117
|
+
afterAppend: function afterAppend(node) {
|
|
81118
|
+
if (node.tagName === 'STYLE' || node.tagName === 'SCRIPT') {
|
|
81119
|
+
node.setAttribute('data-snapshot', 'true');
|
|
81120
|
+
}
|
|
81121
|
+
}
|
|
81122
|
+
});
|
|
81123
|
+
case 21:
|
|
81124
|
+
case "end":
|
|
81125
|
+
return _context.stop();
|
|
81126
|
+
}
|
|
81127
|
+
}, _callee);
|
|
81128
|
+
})));
|
|
81129
|
+
} catch (err) {
|
|
81130
|
+
console.error('预览快照失败:', err);
|
|
81131
|
+
_this2.error = '预览快照失败';
|
|
81132
|
+
_this2.dialogVisible = false;
|
|
81133
|
+
}
|
|
81134
|
+
case 2:
|
|
81135
|
+
case "end":
|
|
81136
|
+
return _context2.stop();
|
|
81137
|
+
}
|
|
81138
|
+
}, _callee2);
|
|
81139
|
+
}))();
|
|
81140
|
+
},
|
|
81141
|
+
handleSnapshotDialogClose: function handleSnapshotDialogClose() {
|
|
81142
|
+
this.snapshotDialogVisible = false;
|
|
81143
|
+
this.currentSnapshotUrl = null;
|
|
81144
|
+
if (this.$refs.snapshotContainer) {
|
|
81145
|
+
this.$refs.snapshotContainer.innerHTML = '';
|
|
81146
|
+
}
|
|
81147
|
+
},
|
|
78998
81148
|
setMyValue: function setMyValue() {
|
|
78999
81149
|
try {
|
|
79000
81150
|
if ((!this.value || this.value.length === 0) && this.$refs.upload) {
|
|
@@ -79035,8 +81185,8 @@ var emitter = __webpack_require__("f6f4");
|
|
|
79035
81185
|
});
|
|
79036
81186
|
// CONCATENATED MODULE: ./src/imui/src/FormComponents/upload/ImMultiImgUploadList.vue?vue&type=script&lang=js
|
|
79037
81187
|
/* harmony default export */ var upload_ImMultiImgUploadListvue_type_script_lang_js = (ImMultiImgUploadListvue_type_script_lang_js);
|
|
79038
|
-
// EXTERNAL MODULE: ./src/imui/src/FormComponents/upload/ImMultiImgUploadList.vue?vue&type=style&index=0&id=
|
|
79039
|
-
var
|
|
81188
|
+
// EXTERNAL MODULE: ./src/imui/src/FormComponents/upload/ImMultiImgUploadList.vue?vue&type=style&index=0&id=5109f95b&prod&lang=scss&scoped=true
|
|
81189
|
+
var ImMultiImgUploadListvue_type_style_index_0_id_5109f95b_prod_lang_scss_scoped_true = __webpack_require__("733c");
|
|
79040
81190
|
|
|
79041
81191
|
// EXTERNAL MODULE: ./node_modules/vue-loader/lib/runtime/componentNormalizer.js
|
|
79042
81192
|
var componentNormalizer = __webpack_require__("2877");
|
|
@@ -79056,7 +81206,7 @@ var component = Object(componentNormalizer["a" /* default */])(
|
|
|
79056
81206
|
staticRenderFns,
|
|
79057
81207
|
false,
|
|
79058
81208
|
null,
|
|
79059
|
-
"
|
|
81209
|
+
"5109f95b",
|
|
79060
81210
|
null
|
|
79061
81211
|
|
|
79062
81212
|
)
|
|
@@ -79651,7 +81801,7 @@ checkbox_group.install = function (Vue) {
|
|
|
79651
81801
|
// ESM COMPAT FLAG
|
|
79652
81802
|
__webpack_require__.r(__webpack_exports__);
|
|
79653
81803
|
|
|
79654
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
81804
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"a30fa5d8-vue-loader-template"}!./node_modules/cache-loader/dist/cjs.js??ref--13-0!./node_modules/babel-loader/lib!./node_modules/vue-loader/lib/loaders/templateLoader.js??ref--6!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/vue-loader/lib??vue-loader-options!./node_modules/windicss-webpack-plugin/dist/loaders/windicss-template.cjs!./src/imui/src/FormComponents/ImTimePicker.vue?vue&type=template&id=da9d169e
|
|
79655
81805
|
var render = function render() {
|
|
79656
81806
|
var _vm = this,
|
|
79657
81807
|
_c = _vm._self._c;
|
|
@@ -80496,7 +82646,7 @@ module.exports = function (it) {
|
|
|
80496
82646
|
// ESM COMPAT FLAG
|
|
80497
82647
|
__webpack_require__.r(__webpack_exports__);
|
|
80498
82648
|
|
|
80499
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
82649
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"a30fa5d8-vue-loader-template"}!./node_modules/cache-loader/dist/cjs.js??ref--13-0!./node_modules/babel-loader/lib!./node_modules/vue-loader/lib/loaders/templateLoader.js??ref--6!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/vue-loader/lib??vue-loader-options!./node_modules/windicss-webpack-plugin/dist/loaders/windicss-template.cjs!./src/imui/src/FormComponents/ImCheckbox.vue?vue&type=template&id=110925f2
|
|
80500
82650
|
var render = function render() {
|
|
80501
82651
|
var _vm = this,
|
|
80502
82652
|
_c = _vm._self._c;
|
|
@@ -80856,7 +83006,7 @@ module.exports = store.inspectSource;
|
|
|
80856
83006
|
// ESM COMPAT FLAG
|
|
80857
83007
|
__webpack_require__.r(__webpack_exports__);
|
|
80858
83008
|
|
|
80859
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
83009
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"a30fa5d8-vue-loader-template"}!./node_modules/cache-loader/dist/cjs.js??ref--13-0!./node_modules/babel-loader/lib!./node_modules/vue-loader/lib/loaders/templateLoader.js??ref--6!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/vue-loader/lib??vue-loader-options!./node_modules/windicss-webpack-plugin/dist/loaders/windicss-template.cjs!./src/imui/src/FormComponents/ImDatePicker.vue?vue&type=template&id=194776d8&scoped=true
|
|
80860
83010
|
var render = function render() {
|
|
80861
83011
|
var _vm = this,
|
|
80862
83012
|
_c = _vm._self._c;
|
|
@@ -81045,6 +83195,48 @@ var component = Object(componentNormalizer["a" /* default */])(
|
|
|
81045
83195
|
module.exports = {};
|
|
81046
83196
|
|
|
81047
83197
|
|
|
83198
|
+
/***/ }),
|
|
83199
|
+
|
|
83200
|
+
/***/ "8a79":
|
|
83201
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
83202
|
+
|
|
83203
|
+
"use strict";
|
|
83204
|
+
|
|
83205
|
+
var $ = __webpack_require__("23e7");
|
|
83206
|
+
var uncurryThis = __webpack_require__("4625");
|
|
83207
|
+
var getOwnPropertyDescriptor = __webpack_require__("06cf").f;
|
|
83208
|
+
var toLength = __webpack_require__("50c4");
|
|
83209
|
+
var toString = __webpack_require__("577e");
|
|
83210
|
+
var notARegExp = __webpack_require__("5a34");
|
|
83211
|
+
var requireObjectCoercible = __webpack_require__("1d80");
|
|
83212
|
+
var correctIsRegExpLogic = __webpack_require__("ab13");
|
|
83213
|
+
var IS_PURE = __webpack_require__("c430");
|
|
83214
|
+
|
|
83215
|
+
var slice = uncurryThis(''.slice);
|
|
83216
|
+
var min = Math.min;
|
|
83217
|
+
|
|
83218
|
+
var CORRECT_IS_REGEXP_LOGIC = correctIsRegExpLogic('endsWith');
|
|
83219
|
+
// https://github.com/zloirock/core-js/pull/702
|
|
83220
|
+
var MDN_POLYFILL_BUG = !IS_PURE && !CORRECT_IS_REGEXP_LOGIC && !!function () {
|
|
83221
|
+
var descriptor = getOwnPropertyDescriptor(String.prototype, 'endsWith');
|
|
83222
|
+
return descriptor && !descriptor.writable;
|
|
83223
|
+
}();
|
|
83224
|
+
|
|
83225
|
+
// `String.prototype.endsWith` method
|
|
83226
|
+
// https://tc39.es/ecma262/#sec-string.prototype.endswith
|
|
83227
|
+
$({ target: 'String', proto: true, forced: !MDN_POLYFILL_BUG && !CORRECT_IS_REGEXP_LOGIC }, {
|
|
83228
|
+
endsWith: function endsWith(searchString /* , endPosition = @length */) {
|
|
83229
|
+
var that = toString(requireObjectCoercible(this));
|
|
83230
|
+
notARegExp(searchString);
|
|
83231
|
+
var endPosition = arguments.length > 1 ? arguments[1] : undefined;
|
|
83232
|
+
var len = that.length;
|
|
83233
|
+
var end = endPosition === undefined ? len : min(toLength(endPosition), len);
|
|
83234
|
+
var search = toString(searchString);
|
|
83235
|
+
return slice(that, end - search.length, end) === search;
|
|
83236
|
+
}
|
|
83237
|
+
});
|
|
83238
|
+
|
|
83239
|
+
|
|
81048
83240
|
/***/ }),
|
|
81049
83241
|
|
|
81050
83242
|
/***/ "8a98":
|
|
@@ -81448,7 +83640,7 @@ module.exports = __WEBPACK_EXTERNAL_MODULE__8bbf__;
|
|
|
81448
83640
|
// ESM COMPAT FLAG
|
|
81449
83641
|
__webpack_require__.r(__webpack_exports__);
|
|
81450
83642
|
|
|
81451
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
83643
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"a30fa5d8-vue-loader-template"}!./node_modules/cache-loader/dist/cjs.js??ref--13-0!./node_modules/babel-loader/lib!./node_modules/vue-loader/lib/loaders/templateLoader.js??ref--6!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/vue-loader/lib??vue-loader-options!./node_modules/windicss-webpack-plugin/dist/loaders/windicss-template.cjs!./src/imui/src/FormComponents/upload/ImVideoUpload.vue?vue&type=template&id=0dac940a&scoped=true
|
|
81452
83644
|
var render = function render() {
|
|
81453
83645
|
var _vm = this,
|
|
81454
83646
|
_c = _vm._self._c;
|
|
@@ -81774,7 +83966,7 @@ var component = Object(componentNormalizer["a" /* default */])(
|
|
|
81774
83966
|
// ESM COMPAT FLAG
|
|
81775
83967
|
__webpack_require__.r(__webpack_exports__);
|
|
81776
83968
|
|
|
81777
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
83969
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"a30fa5d8-vue-loader-template"}!./node_modules/cache-loader/dist/cjs.js??ref--13-0!./node_modules/babel-loader/lib!./node_modules/vue-loader/lib/loaders/templateLoader.js??ref--6!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/vue-loader/lib??vue-loader-options!./node_modules/windicss-webpack-plugin/dist/loaders/windicss-template.cjs!./src/imui/src/FormComponents/upload/ImImgUpload.vue?vue&type=template&id=22b1a1b7&scoped=true
|
|
81778
83970
|
var render = function render() {
|
|
81779
83971
|
var _vm = this,
|
|
81780
83972
|
_c = _vm._self._c;
|
|
@@ -82345,7 +84537,7 @@ module.exports = UserAgent_DEPRECATED;
|
|
|
82345
84537
|
|
|
82346
84538
|
"use strict";
|
|
82347
84539
|
|
|
82348
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
84540
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"a30fa5d8-vue-loader-template"}!./node_modules/cache-loader/dist/cjs.js??ref--13-0!./node_modules/babel-loader/lib!./node_modules/vue-loader/lib/loaders/templateLoader.js??ref--6!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/vue-loader/lib??vue-loader-options!./node_modules/windicss-webpack-plugin/dist/loaders/windicss-template.cjs!./src/imui/src/FormComponents/widgets/SelectShape.vue?vue&type=template&id=73d52be2
|
|
82349
84541
|
var render = function render() {
|
|
82350
84542
|
var _vm = this,
|
|
82351
84543
|
_c = _vm._self._c;
|
|
@@ -82481,7 +84673,7 @@ var es_array_includes = __webpack_require__("caad");
|
|
|
82481
84673
|
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.string.includes.js
|
|
82482
84674
|
var es_string_includes = __webpack_require__("2532");
|
|
82483
84675
|
|
|
82484
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
84676
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"a30fa5d8-vue-loader-template"}!./node_modules/cache-loader/dist/cjs.js??ref--13-0!./node_modules/babel-loader/lib!./node_modules/vue-loader/lib/loaders/templateLoader.js??ref--6!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/vue-loader/lib??vue-loader-options!./node_modules/windicss-webpack-plugin/dist/loaders/windicss-template.cjs!./src/imui/src/FormComponents/ImSelect.vue?vue&type=template&id=7d424400
|
|
82485
84677
|
|
|
82486
84678
|
|
|
82487
84679
|
var render = function render() {
|
|
@@ -83095,7 +85287,7 @@ function mergeFn (a, b) {
|
|
|
83095
85287
|
// ESM COMPAT FLAG
|
|
83096
85288
|
__webpack_require__.r(__webpack_exports__);
|
|
83097
85289
|
|
|
83098
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
85290
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"a30fa5d8-vue-loader-template"}!./node_modules/cache-loader/dist/cjs.js??ref--13-0!./node_modules/babel-loader/lib!./node_modules/vue-loader/lib/loaders/templateLoader.js??ref--6!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/vue-loader/lib??vue-loader-options!./node_modules/windicss-webpack-plugin/dist/loaders/windicss-template.cjs!./src/imui/src/FormComponents/ImEnumCheckboxGroup.vue?vue&type=template&id=36c46656
|
|
83099
85291
|
var render = function render() {
|
|
83100
85292
|
var _vm = this,
|
|
83101
85293
|
_c = _vm._self._c;
|
|
@@ -129207,7 +131399,7 @@ __webpack_require__("5a47");
|
|
|
129207
131399
|
// ESM COMPAT FLAG
|
|
129208
131400
|
__webpack_require__.r(__webpack_exports__);
|
|
129209
131401
|
|
|
129210
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
131402
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"a30fa5d8-vue-loader-template"}!./node_modules/cache-loader/dist/cjs.js??ref--13-0!./node_modules/babel-loader/lib!./node_modules/vue-loader/lib/loaders/templateLoader.js??ref--6!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/vue-loader/lib??vue-loader-options!./node_modules/windicss-webpack-plugin/dist/loaders/windicss-template.cjs!./src/imui/src/FormComponents/ImInputNumber.vue?vue&type=template&id=2eb1554a&scoped=true
|
|
129211
131403
|
var render = function render() {
|
|
129212
131404
|
var _vm = this,
|
|
129213
131405
|
_c = _vm._self._c;
|
|
@@ -129362,6 +131554,17 @@ module.exports = function (METHOD_NAME, argument) {
|
|
|
129362
131554
|
};
|
|
129363
131555
|
|
|
129364
131556
|
|
|
131557
|
+
/***/ }),
|
|
131558
|
+
|
|
131559
|
+
/***/ "a640b":
|
|
131560
|
+
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
131561
|
+
|
|
131562
|
+
"use strict";
|
|
131563
|
+
/* harmony import */ var _node_modules_windicss_webpack_plugin_dist_loaders_windicss_style_pitcher_cjs_node_modules_mini_css_extract_plugin_dist_loader_js_ref_7_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_7_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_7_oneOf_1_2_node_modules_windicss_webpack_plugin_dist_loaders_windicss_template_cjs_node_modules_cache_loader_dist_cjs_js_ref_1_0_node_modules_vue_loader_lib_index_js_vue_loader_options_RecordPreview_vue_vue_type_style_index_0_id_598823ea_prod_scoped_true_lang_css__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("f3c7");
|
|
131564
|
+
/* harmony import */ var _node_modules_windicss_webpack_plugin_dist_loaders_windicss_style_pitcher_cjs_node_modules_mini_css_extract_plugin_dist_loader_js_ref_7_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_7_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_7_oneOf_1_2_node_modules_windicss_webpack_plugin_dist_loaders_windicss_template_cjs_node_modules_cache_loader_dist_cjs_js_ref_1_0_node_modules_vue_loader_lib_index_js_vue_loader_options_RecordPreview_vue_vue_type_style_index_0_id_598823ea_prod_scoped_true_lang_css__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_windicss_webpack_plugin_dist_loaders_windicss_style_pitcher_cjs_node_modules_mini_css_extract_plugin_dist_loader_js_ref_7_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_7_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_7_oneOf_1_2_node_modules_windicss_webpack_plugin_dist_loaders_windicss_template_cjs_node_modules_cache_loader_dist_cjs_js_ref_1_0_node_modules_vue_loader_lib_index_js_vue_loader_options_RecordPreview_vue_vue_type_style_index_0_id_598823ea_prod_scoped_true_lang_css__WEBPACK_IMPORTED_MODULE_0__);
|
|
131565
|
+
/* unused harmony reexport * */
|
|
131566
|
+
|
|
131567
|
+
|
|
129365
131568
|
/***/ }),
|
|
129366
131569
|
|
|
129367
131570
|
/***/ "a742":
|
|
@@ -129481,7 +131684,7 @@ if (!IS_PURE && isCallable(NativePromiseConstructor)) {
|
|
|
129481
131684
|
// ESM COMPAT FLAG
|
|
129482
131685
|
__webpack_require__.r(__webpack_exports__);
|
|
129483
131686
|
|
|
129484
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
131687
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"a30fa5d8-vue-loader-template"}!./node_modules/cache-loader/dist/cjs.js??ref--13-0!./node_modules/babel-loader/lib!./node_modules/vue-loader/lib/loaders/templateLoader.js??ref--6!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/vue-loader/lib??vue-loader-options!./node_modules/windicss-webpack-plugin/dist/loaders/windicss-template.cjs!./src/imui/src/FormComponents/ImColorPicker.vue?vue&type=template&id=68f4415e&scoped=true
|
|
129485
131688
|
var render = function render() {
|
|
129486
131689
|
var _vm = this,
|
|
129487
131690
|
_c = _vm._self._c;
|
|
@@ -129604,7 +131807,7 @@ var component = Object(componentNormalizer["a" /* default */])(
|
|
|
129604
131807
|
// ESM COMPAT FLAG
|
|
129605
131808
|
__webpack_require__.r(__webpack_exports__);
|
|
129606
131809
|
|
|
129607
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
131810
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"a30fa5d8-vue-loader-template"}!./node_modules/cache-loader/dist/cjs.js??ref--13-0!./node_modules/babel-loader/lib!./node_modules/vue-loader/lib/loaders/templateLoader.js??ref--6!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/vue-loader/lib??vue-loader-options!./node_modules/windicss-webpack-plugin/dist/loaders/windicss-template.cjs!./src/imui/src/FormComponents/ImRadio.vue?vue&type=template&id=747c97b0
|
|
129608
131811
|
var render = function render() {
|
|
129609
131812
|
var _vm = this,
|
|
129610
131813
|
_c = _vm._self._c;
|
|
@@ -129867,6 +132070,13 @@ if (IS_PURE && PureNumberNamespace) copyConstructorProperties(path[NUMBER], Pure
|
|
|
129867
132070
|
if (FORCED || IS_PURE) copyConstructorProperties(path[NUMBER], NativeNumber);
|
|
129868
132071
|
|
|
129869
132072
|
|
|
132073
|
+
/***/ }),
|
|
132074
|
+
|
|
132075
|
+
/***/ "aa42":
|
|
132076
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
132077
|
+
|
|
132078
|
+
// extracted by mini-css-extract-plugin
|
|
132079
|
+
|
|
129870
132080
|
/***/ }),
|
|
129871
132081
|
|
|
129872
132082
|
/***/ "aa47":
|
|
@@ -133654,7 +135864,7 @@ $({ target: 'RegExp', proto: true, forced: /./.exec !== exec }, {
|
|
|
133654
135864
|
// ESM COMPAT FLAG
|
|
133655
135865
|
__webpack_require__.r(__webpack_exports__);
|
|
133656
135866
|
|
|
133657
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
135867
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"a30fa5d8-vue-loader-template"}!./node_modules/cache-loader/dist/cjs.js??ref--13-0!./node_modules/babel-loader/lib!./node_modules/vue-loader/lib/loaders/templateLoader.js??ref--6!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/vue-loader/lib??vue-loader-options!./node_modules/windicss-webpack-plugin/dist/loaders/windicss-template.cjs!./src/imui/src/FormComponents/ImInput.vue?vue&type=template&id=6878bf9e
|
|
133658
135868
|
var render = function render() {
|
|
133659
135869
|
var _vm = this,
|
|
133660
135870
|
_c = _vm._self._c;
|
|
@@ -136461,7 +138671,7 @@ var es_array_includes = __webpack_require__("caad");
|
|
|
136461
138671
|
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.string.includes.js
|
|
136462
138672
|
var es_string_includes = __webpack_require__("2532");
|
|
136463
138673
|
|
|
136464
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
138674
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"a30fa5d8-vue-loader-template"}!./node_modules/cache-loader/dist/cjs.js??ref--13-0!./node_modules/babel-loader/lib!./node_modules/vue-loader/lib/loaders/templateLoader.js??ref--6!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/vue-loader/lib??vue-loader-options!./node_modules/windicss-webpack-plugin/dist/loaders/windicss-template.cjs!./src/imui/src/FormComponents/ImServerSelect.vue?vue&type=template&id=5ebc8274
|
|
136465
138675
|
|
|
136466
138676
|
|
|
136467
138677
|
var render = function render() {
|
|
@@ -142211,6 +144421,17 @@ module.exports = __webpack_require__("5524").Object.assign;
|
|
|
142211
144421
|
module.exports = __webpack_require__("051b");
|
|
142212
144422
|
|
|
142213
144423
|
|
|
144424
|
+
/***/ }),
|
|
144425
|
+
|
|
144426
|
+
/***/ "baad":
|
|
144427
|
+
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
144428
|
+
|
|
144429
|
+
"use strict";
|
|
144430
|
+
/* harmony import */ var _node_modules_windicss_webpack_plugin_dist_loaders_windicss_style_pitcher_cjs_node_modules_mini_css_extract_plugin_dist_loader_js_ref_9_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_9_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_9_oneOf_1_2_node_modules_windicss_webpack_plugin_dist_loaders_windicss_template_cjs_node_modules_sass_loader_dist_cjs_js_ref_9_oneOf_1_3_node_modules_cache_loader_dist_cjs_js_ref_1_0_node_modules_vue_loader_lib_index_js_vue_loader_options_ImMultiVideoUpload_vue_vue_type_style_index_0_id_4c7306f8_prod_scoped_true_lang_scss__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("aa42");
|
|
144431
|
+
/* harmony import */ var _node_modules_windicss_webpack_plugin_dist_loaders_windicss_style_pitcher_cjs_node_modules_mini_css_extract_plugin_dist_loader_js_ref_9_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_9_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_9_oneOf_1_2_node_modules_windicss_webpack_plugin_dist_loaders_windicss_template_cjs_node_modules_sass_loader_dist_cjs_js_ref_9_oneOf_1_3_node_modules_cache_loader_dist_cjs_js_ref_1_0_node_modules_vue_loader_lib_index_js_vue_loader_options_ImMultiVideoUpload_vue_vue_type_style_index_0_id_4c7306f8_prod_scoped_true_lang_scss__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_windicss_webpack_plugin_dist_loaders_windicss_style_pitcher_cjs_node_modules_mini_css_extract_plugin_dist_loader_js_ref_9_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_9_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_9_oneOf_1_2_node_modules_windicss_webpack_plugin_dist_loaders_windicss_template_cjs_node_modules_sass_loader_dist_cjs_js_ref_9_oneOf_1_3_node_modules_cache_loader_dist_cjs_js_ref_1_0_node_modules_vue_loader_lib_index_js_vue_loader_options_ImMultiVideoUpload_vue_vue_type_style_index_0_id_4c7306f8_prod_scoped_true_lang_scss__WEBPACK_IMPORTED_MODULE_0__);
|
|
144432
|
+
/* unused harmony reexport * */
|
|
144433
|
+
|
|
144434
|
+
|
|
142214
144435
|
/***/ }),
|
|
142215
144436
|
|
|
142216
144437
|
/***/ "bb16":
|
|
@@ -142331,6 +144552,47 @@ module.exports = function (input, pref) {
|
|
|
142331
144552
|
module.exports = __webpack_require__("d4af");
|
|
142332
144553
|
|
|
142333
144554
|
|
|
144555
|
+
/***/ }),
|
|
144556
|
+
|
|
144557
|
+
/***/ "c1c8":
|
|
144558
|
+
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
144559
|
+
|
|
144560
|
+
"use strict";
|
|
144561
|
+
/* WEBPACK VAR INJECTION */(function(module, Buffer, process) {/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return Qn; });
|
|
144562
|
+
function e(){}function t(e,t){for(const n in t)e[n]=t[n];return e}function n(e){return e()}function i(){return Object.create(null)}function o(e){e.forEach(n)}function r(e){return"function"==typeof e}function s(e,t){return e!=e?t==t:e!==t||e&&"object"==typeof e||"function"==typeof e}function a(e){const t={};for(const n in e)"$"!==n[0]&&(t[n]=e[n]);return t}function l(e,t){e.appendChild(t)}function c(e,t,n){e.insertBefore(t,n||null)}function d(e){e.parentNode.removeChild(e)}function u(e,t){for(let n=0;n<e.length;n+=1)e[n]&&e[n].d(t)}function h(e){return document.createElement(e)}function p(e){return document.createElementNS("http://www.w3.org/2000/svg",e)}function g(e){return document.createTextNode(e)}function m(){return g(" ")}function f(e,t,n,i){return e.addEventListener(t,n,i),()=>e.removeEventListener(t,n,i)}function y(e,t,n){null==n?e.removeAttribute(t):e.getAttribute(t)!==n&&e.setAttribute(t,n)}function v(e,t){t=""+t,e.wholeText!==t&&(e.data=t)}function C(e,t,n,i){null===n?e.style.removeProperty(t):e.style.setProperty(t,n,i?"important":"")}function I(e,t,n){e.classList[n?"add":"remove"](t)}let A;function b(e){A=e}function w(){if(!A)throw new Error("Function called outside component initialization");return A}function N(e){w().$$.on_mount.push(e)}function E(e){w().$$.on_destroy.push(e)}function S(){const e=w();return(t,n,{cancelable:i=!1}={})=>{const o=e.$$.callbacks[t];if(o){const r=function(e,t,{bubbles:n=!1,cancelable:i=!1}={}){const o=document.createEvent("CustomEvent");return o.initCustomEvent(e,n,i,t),o}(t,n,{cancelable:i});return o.slice().forEach((t=>{t.call(e,r)})),!r.defaultPrevented}return!0}}const T=[],D=[],M=[],R=[],x=Promise.resolve();let k=!1;function F(e){M.push(e)}const O=new Set;let B=0;function L(){const e=A;do{for(;B<T.length;){const e=T[B];B++,b(e),V(e.$$)}for(b(null),T.length=0,B=0;D.length;)D.pop()();for(let e=0;e<M.length;e+=1){const t=M[e];O.has(t)||(O.add(t),t())}M.length=0}while(T.length);for(;R.length;)R.pop()();k=!1,O.clear(),b(e)}function V(e){if(null!==e.fragment){e.update(),o(e.before_update);const t=e.dirty;e.dirty=[-1],e.fragment&&e.fragment.p(e.ctx,t),e.after_update.forEach(F)}}const _=new Set;let G;function W(){G={r:0,c:[],p:G}}function U(){G.r||o(G.c),G=G.p}function Z(e,t){e&&e.i&&(_.delete(e),e.i(t))}function $(e,t,n,i){if(e&&e.o){if(_.has(e))return;_.add(e),G.c.push((()=>{_.delete(e),i&&(n&&e.d(1),i())})),e.o(t)}else i&&i()}function K(e){e&&e.c()}function Y(e,t,i,s){const{fragment:a,on_mount:l,on_destroy:c,after_update:d}=e.$$;a&&a.m(t,i),s||F((()=>{const t=l.map(n).filter(r);c?c.push(...t):o(t),e.$$.on_mount=[]})),d.forEach(F)}function P(e,t){const n=e.$$;null!==n.fragment&&(o(n.on_destroy),n.fragment&&n.fragment.d(t),n.on_destroy=n.fragment=null,n.ctx=[])}function Q(e,t){-1===e.$$.dirty[0]&&(T.push(e),k||(k=!0,x.then(L)),e.$$.dirty.fill(0)),e.$$.dirty[t/31|0]|=1<<t%31}function z(t,n,r,s,a,l,c,u=[-1]){const h=A;b(t);const p=t.$$={fragment:null,ctx:null,props:l,update:e,not_equal:a,bound:i(),on_mount:[],on_destroy:[],on_disconnect:[],before_update:[],after_update:[],context:new Map(n.context||(h?h.$$.context:[])),callbacks:i(),dirty:u,skip_bound:!1,root:n.target||h.$$.root};c&&c(p.root);let g=!1;if(p.ctx=r?r(t,n.props||{},((e,n,...i)=>{const o=i.length?i[0]:n;return p.ctx&&a(p.ctx[e],p.ctx[e]=o)&&(!p.skip_bound&&p.bound[e]&&p.bound[e](o),g&&Q(t,e)),n})):[],p.update(),g=!0,o(p.before_update),p.fragment=!!s&&s(p.ctx),n.target){if(n.hydrate){const e=function(e){return Array.from(e.childNodes)}(n.target);p.fragment&&p.fragment.l(e),e.forEach(d)}else p.fragment&&p.fragment.c();n.intro&&Z(t.$$.fragment),Y(t,n.target,n.anchor,n.customElement),L()}b(h)}class J{$destroy(){P(this,1),this.$destroy=e}$on(e,t){const n=this.$$.callbacks[e]||(this.$$.callbacks[e]=[]);return n.push(t),()=>{const e=n.indexOf(t);-1!==e&&n.splice(e,1)}}$set(e){var t;this.$$set&&(t=e,0!==Object.keys(t).length)&&(this.$$.skip_bound=!0,this.$$set(e),this.$$.skip_bound=!1)}}var X;function H(e){return e.nodeType===e.ELEMENT_NODE}!function(e){e[e.Document=0]="Document",e[e.DocumentType=1]="DocumentType",e[e.Element=2]="Element",e[e.Text=3]="Text",e[e.CDATA=4]="CDATA",e[e.Comment=5]="Comment"}(X||(X={}));var j=function(){function e(){this.idNodeMap=new Map,this.nodeMetaMap=new WeakMap}return e.prototype.getId=function(e){var t;if(!e)return-1;var n=null===(t=this.getMeta(e))||void 0===t?void 0:t.id;return null!=n?n:-1},e.prototype.getNode=function(e){return this.idNodeMap.get(e)||null},e.prototype.getIds=function(){return Array.from(this.idNodeMap.keys())},e.prototype.getMeta=function(e){return this.nodeMetaMap.get(e)||null},e.prototype.removeNodeFromMap=function(e){var t=this,n=this.getId(e);this.idNodeMap.delete(n),e.childNodes&&e.childNodes.forEach((function(e){return t.removeNodeFromMap(e)}))},e.prototype.has=function(e){return this.idNodeMap.has(e)},e.prototype.hasNode=function(e){return this.nodeMetaMap.has(e)},e.prototype.add=function(e,t){var n=t.id;this.idNodeMap.set(n,e),this.nodeMetaMap.set(e,t)},e.prototype.replace=function(e,t){var n=this.getNode(e);if(n){var i=this.nodeMetaMap.get(n);i&&this.nodeMetaMap.set(t,i)}this.idNodeMap.set(e,t)},e.prototype.reset=function(){this.idNodeMap=new Map,this.nodeMetaMap=new WeakMap},e}();function q(){return new j}var ee=/\/\*[^*]*\*+([^/*][^*]*\*+)*\//g;function te(e,t){void 0===t&&(t={});var n=1,i=1;function o(e){var t=e.match(/\n/g);t&&(n+=t.length);var o=e.lastIndexOf("\n");i=-1===o?i+e.length:e.length-o}function r(){var e={line:n,column:i};return function(t){return t.position=new s(e),p(),t}}var s=function(e){this.start=e,this.end={line:n,column:i},this.source=t.source};s.prototype.content=e;var a=[];function l(o){var r=new Error("".concat(t.source||"",":").concat(n,":").concat(i,": ").concat(o));if(r.reason=o,r.filename=t.source,r.line=n,r.column=i,r.source=e,!t.silent)throw r;a.push(r)}function c(){return h(/^{\s*/)}function d(){return h(/^}/)}function u(){var t,n=[];for(p(),g(n);e.length&&"}"!==e.charAt(0)&&(t=E()||S());)!1!==t&&(n.push(t),g(n));return n}function h(t){var n=t.exec(e);if(n){var i=n[0];return o(i),e=e.slice(i.length),n}}function p(){h(/^\s*/)}function g(e){var t;for(void 0===e&&(e=[]);t=m();)!1!==t&&e.push(t),t=m();return e}function m(){var t=r();if("/"===e.charAt(0)&&"*"===e.charAt(1)){for(var n=2;""!==e.charAt(n)&&("*"!==e.charAt(n)||"/"!==e.charAt(n+1));)++n;if(n+=2,""===e.charAt(n-1))return l("End of comment missing");var s=e.slice(2,n-2);return i+=2,o(s),e=e.slice(n),i+=2,t({type:"comment",comment:s})}}function f(){var e=h(/^([^{]+)/);if(e)return ne(e[0]).replace(/\/\*([^*]|[\r\n]|(\*+([^*/]|[\r\n])))*\*\/+/g,"").replace(/"(?:\\"|[^"])*"|'(?:\\'|[^'])*'/g,(function(e){return e.replace(/,/g,"")})).split(/\s*(?![^(]*\)),\s*/).map((function(e){return e.replace(/\u200C/g,",")}))}function y(){var e=r(),t=h(/^(\*?[-#\/\*\\\w]+(\[[0-9a-z_-]+\])?)\s*/);if(t){var n=ne(t[0]);if(!h(/^:\s*/))return l("property missing ':'");var i=h(/^((?:'(?:\\'|.)*?'|"(?:\\"|.)*?"|\([^\)]*?\)|[^};])+)/),o=e({type:"declaration",property:n.replace(ee,""),value:i?ne(i[0]).replace(ee,""):""});return h(/^[;\s]*/),o}}function v(){var e,t=[];if(!c())return l("missing '{'");for(g(t);e=y();)!1!==e&&(t.push(e),g(t)),e=y();return d()?t:l("missing '}'")}function C(){for(var e,t=[],n=r();e=h(/^((\d+\.\d+|\.\d+|\d+)%?|[a-z]+)\s*/);)t.push(e[1]),h(/^,\s*/);if(t.length)return n({type:"keyframe",values:t,declarations:v()})}var I,A=N("import"),b=N("charset"),w=N("namespace");function N(e){var t=new RegExp("^@"+e+"\\s*([^;]+);");return function(){var n=r(),i=h(t);if(i){var o={type:e};return o[e]=i[1].trim(),n(o)}}}function E(){if("@"===e[0])return function(){var e=r(),t=h(/^@([-\w]+)?keyframes\s*/);if(t){var n=t[1];if(!(t=h(/^([-\w]+)\s*/)))return l("@keyframes missing name");var i,o=t[1];if(!c())return l("@keyframes missing '{'");for(var s=g();i=C();)s.push(i),s=s.concat(g());return d()?e({type:"keyframes",name:o,vendor:n,keyframes:s}):l("@keyframes missing '}'")}}()||function(){var e=r(),t=h(/^@media *([^{]+)/);if(t){var n=ne(t[1]);if(!c())return l("@media missing '{'");var i=g().concat(u());return d()?e({type:"media",media:n,rules:i}):l("@media missing '}'")}}()||function(){var e=r(),t=h(/^@custom-media\s+(--[^\s]+)\s*([^{;]+);/);if(t)return e({type:"custom-media",name:ne(t[1]),media:ne(t[2])})}()||function(){var e=r(),t=h(/^@supports *([^{]+)/);if(t){var n=ne(t[1]);if(!c())return l("@supports missing '{'");var i=g().concat(u());return d()?e({type:"supports",supports:n,rules:i}):l("@supports missing '}'")}}()||A()||b()||w()||function(){var e=r(),t=h(/^@([-\w]+)?document *([^{]+)/);if(t){var n=ne(t[1]),i=ne(t[2]);if(!c())return l("@document missing '{'");var o=g().concat(u());return d()?e({type:"document",document:i,vendor:n,rules:o}):l("@document missing '}'")}}()||function(){var e=r();if(h(/^@page */)){var t=f()||[];if(!c())return l("@page missing '{'");for(var n,i=g();n=y();)i.push(n),i=i.concat(g());return d()?e({type:"page",selectors:t,declarations:i}):l("@page missing '}'")}}()||function(){var e=r();if(h(/^@host\s*/)){if(!c())return l("@host missing '{'");var t=g().concat(u());return d()?e({type:"host",rules:t}):l("@host missing '}'")}}()||function(){var e=r();if(h(/^@font-face\s*/)){if(!c())return l("@font-face missing '{'");for(var t,n=g();t=y();)n.push(t),n=n.concat(g());return d()?e({type:"font-face",declarations:n}):l("@font-face missing '}'")}}()}function S(){var e=r(),t=f();return t?(g(),e({type:"rule",selectors:t,declarations:v()})):l("selector missing")}return ie((I=u(),{type:"stylesheet",stylesheet:{source:t.source,rules:I,parsingErrors:a}}))}function ne(e){return e?e.replace(/^\s+|\s+$/g,""):""}function ie(e,t){for(var n=e&&"string"==typeof e.type,i=n?e:t,o=0,r=Object.keys(e);o<r.length;o++){var s=e[r[o]];Array.isArray(s)?s.forEach((function(e){ie(e,i)})):s&&"object"==typeof s&&ie(s,i)}return n&&Object.defineProperty(e,"parent",{configurable:!0,writable:!0,enumerable:!1,value:t||null}),e}var oe={script:"noscript",altglyph:"altGlyph",altglyphdef:"altGlyphDef",altglyphitem:"altGlyphItem",animatecolor:"animateColor",animatemotion:"animateMotion",animatetransform:"animateTransform",clippath:"clipPath",feblend:"feBlend",fecolormatrix:"feColorMatrix",fecomponenttransfer:"feComponentTransfer",fecomposite:"feComposite",feconvolvematrix:"feConvolveMatrix",fediffuselighting:"feDiffuseLighting",fedisplacementmap:"feDisplacementMap",fedistantlight:"feDistantLight",fedropshadow:"feDropShadow",feflood:"feFlood",fefunca:"feFuncA",fefuncb:"feFuncB",fefuncg:"feFuncG",fefuncr:"feFuncR",fegaussianblur:"feGaussianBlur",feimage:"feImage",femerge:"feMerge",femergenode:"feMergeNode",femorphology:"feMorphology",feoffset:"feOffset",fepointlight:"fePointLight",fespecularlighting:"feSpecularLighting",fespotlight:"feSpotLight",fetile:"feTile",feturbulence:"feTurbulence",foreignobject:"foreignObject",glyphref:"glyphRef",lineargradient:"linearGradient",radialgradient:"radialGradient"};var re=/([^\\]):hover/,se=new RegExp(re.source,"g");function ae(e,t){var n=null==t?void 0:t.stylesWithHoverClass.get(e);if(n)return n;var i=te(e,{silent:!0});if(!i.stylesheet)return e;var o=[];if(i.stylesheet.rules.forEach((function(e){"selectors"in e&&(e.selectors||[]).forEach((function(e){re.test(e)&&o.push(e)}))})),0===o.length)return e;var r=new RegExp(o.filter((function(e,t){return o.indexOf(e)===t})).sort((function(e,t){return t.length-e.length})).map((function(e){return e.replace(/[.*+?^${}()|[\]\\]/g,"\\$&")})).join("|"),"g"),s=e.replace(r,(function(e){var t=e.replace(se,"$1.\\:hover");return"".concat(e,", ").concat(t)}));return null==t||t.stylesWithHoverClass.set(e,s),s}function le(){return{stylesWithHoverClass:new Map}}function ce(e,t){var n=t.doc,i=t.hackCss,o=t.cache;switch(e.type){case X.Document:return n.implementation.createDocument(null,"",null);case X.DocumentType:return n.implementation.createDocumentType(e.name||"html",e.publicId,e.systemId);case X.Element:var r,s=function(e){var t=oe[e.tagName]?oe[e.tagName]:e.tagName;return"link"===t&&e.attributes._cssText&&(t="style"),t}(e);r=e.isSVG?n.createElementNS("http://www.w3.org/2000/svg",s):n.createElement(s);var a={};for(var l in e.attributes)if(Object.prototype.hasOwnProperty.call(e.attributes,l)){var c=e.attributes[l];if("option"!==s||"selected"!==l||!1!==c)if(!0===c&&(c=""),l.startsWith("rr_"))a[l]=c;else{var d="textarea"===s&&"value"===l,u="style"===s&&"_cssText"===l;if(u&&i&&"string"==typeof c&&(c=ae(c,o)),!d&&!u||"string"!=typeof c)try{if(e.isSVG&&"xlink:href"===l)r.setAttributeNS("http://www.w3.org/1999/xlink",l,c.toString());else if("onload"===l||"onclick"===l||"onmouse"===l.substring(0,7))r.setAttribute("_"+l,c.toString());else{if("meta"===s&&"Content-Security-Policy"===e.attributes["http-equiv"]&&"content"===l){r.setAttribute("csp-content",c.toString());continue}"link"===s&&"preload"===e.attributes.rel&&"script"===e.attributes.as||"link"===s&&"prefetch"===e.attributes.rel&&"string"==typeof e.attributes.href&&e.attributes.href.endsWith(".js")||("img"===s&&e.attributes.srcset&&e.attributes.rr_dataURL?r.setAttribute("rrweb-original-srcset",e.attributes.srcset):r.setAttribute(l,c.toString()))}}catch(e){}else{for(var h=n.createTextNode(c),p=0,g=Array.from(r.childNodes);p<g.length;p++){var m=g[p];m.nodeType===r.TEXT_NODE&&r.removeChild(m)}r.appendChild(h)}}}var f=function(t){var n=a[t];if("canvas"===s&&"rr_dataURL"===t){var i=document.createElement("img");i.onload=function(){var e=r.getContext("2d");e&&e.drawImage(i,0,0,i.width,i.height)},i.src=n.toString(),r.RRNodeType&&(r.rr_dataURL=n.toString())}else if("img"===s&&"rr_dataURL"===t){var o=r;o.currentSrc.startsWith("data:")||(o.setAttribute("rrweb-original-src",e.attributes.src),o.src=n.toString())}if("rr_width"===t)r.style.width=n.toString();else if("rr_height"===t)r.style.height=n.toString();else if("rr_mediaCurrentTime"===t&&"number"==typeof n)r.currentTime=n;else if("rr_mediaState"===t)switch(n){case"played":r.play().catch((function(e){return console.warn("media playback error",e)}));break;case"paused":r.pause()}};for(var y in a)f(y);if(e.isShadowHost)if(r.shadowRoot)for(;r.shadowRoot.firstChild;)r.shadowRoot.removeChild(r.shadowRoot.firstChild);else r.attachShadow({mode:"open"});return r;case X.Text:return n.createTextNode(e.isStyle&&i?ae(e.textContent,o):e.textContent);case X.CDATA:return n.createCDATASection(e.textContent);case X.Comment:return n.createComment(e.textContent);default:return null}}function de(e,t){var n=t.doc,i=t.mirror,o=t.skipChild,r=void 0!==o&&o,s=t.hackCss,a=void 0===s||s,l=t.afterAppend,c=t.cache,d=ce(e,{doc:n,hackCss:a,cache:c});if(!d)return null;if(e.rootId&&i.getNode(e.rootId)!==n&&i.replace(e.rootId,n),e.type===X.Document&&(n.close(),n.open(),"BackCompat"===e.compatMode&&e.childNodes&&e.childNodes[0].type!==X.DocumentType&&(e.childNodes[0].type===X.Element&&"xmlns"in e.childNodes[0].attributes&&"http://www.w3.org/1999/xhtml"===e.childNodes[0].attributes.xmlns?n.write('<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "">'):n.write('<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" "">')),d=n),i.add(d,e),(e.type===X.Document||e.type===X.Element)&&!r)for(var u=0,h=e.childNodes;u<h.length;u++){var p=h[u],g=de(p,{doc:n,mirror:i,skipChild:!1,hackCss:a,afterAppend:l,cache:c});g?(p.isShadow&&H(d)&&d.shadowRoot?d.shadowRoot.appendChild(g):d.appendChild(g),l&&l(g,p.id)):console.warn("Failed to rebuild",p)}return d}function ue(e,t){var n=t.doc,i=t.onVisit,o=t.hackCss,r=void 0===o||o,s=t.afterAppend,a=t.cache,l=t.mirror,c=void 0===l?new j:l,d=de(e,{doc:n,mirror:c,skipChild:!1,hackCss:r,afterAppend:s,cache:a});return function(e,t){for(var n=0,i=e.getIds();n<i.length;n++){var o=i[n];e.has(o)&&t(e.getNode(o))}}(c,(function(e){i&&i(e),function(e,t){var n=t.getMeta(e);if((null==n?void 0:n.type)===X.Element){var i=e;for(var o in n.attributes)if(Object.prototype.hasOwnProperty.call(n.attributes,o)&&o.startsWith("rr_")){var r=n.attributes[o];"rr_scrollLeft"===o&&(i.scrollLeft=r),"rr_scrollTop"===o&&(i.scrollTop=r)}}}(e,c)})),d}const he="Please stop import mirror directly. Instead of that,\r\nnow you can use replayer.getMirror() to access the mirror instance of a replayer,\r\nor you can use record.mirror to access the mirror instance during recording.";let pe={map:{},getId:()=>(console.error(he),-1),getNode:()=>(console.error(he),null),removeNodeFromMap(){console.error(he)},has:()=>(console.error(he),!1),reset(){console.error(he)}};function ge(e){const t={},n=(e,n)=>{const i={value:e,parent:n,children:[]};return t[e.node.id]=i,i},i=[];for(const o of e){const{nextId:e,parentId:r}=o;if(e&&e in t){const r=t[e];if(r.parent){const e=r.parent.children.indexOf(r);r.parent.children.splice(e,0,n(o,r.parent))}else{const e=i.indexOf(r);i.splice(e,0,n(o,null))}}else if(r in t){const e=t[r];e.children.push(n(o,e))}else i.push(n(o,null))}return i}function me(e,t){t(e.value);for(let n=e.children.length-1;n>=0;n--)me(e.children[n],t)}function fe(e,t){return Boolean("IFRAME"===e.nodeName&&t.getMeta(e))}function ye(e,t){var n,i;const o=null===(i=null===(n=e.ownerDocument)||void 0===n?void 0:n.defaultView)||void 0===i?void 0:i.frameElement;if(!o||o===t)return{x:0,y:0,relativeScale:1,absoluteScale:1};const r=o.getBoundingClientRect(),s=ye(o,t),a=r.height/o.clientHeight;return{x:r.x*s.relativeScale+s.x,y:r.y*s.relativeScale+s.y,relativeScale:a,absoluteScale:s.absoluteScale*a}}function ve(e){return Boolean(null==e?void 0:e.shadowRoot)}function Ce(e,t){const n=e[t[0]];return 1===t.length?n:Ce(n.cssRules[t[1]].cssRules,t.slice(2))}function Ie(e){const t=[...e],n=t.pop();return{positions:t,index:n}}"undefined"!=typeof window&&window.Proxy&&window.Reflect&&(pe=new Proxy(pe,{get:(e,t,n)=>("map"===t&&console.error(he),Reflect.get(e,t,n))}));class Ae{constructor(){this.id=1,this.styleIDMap=new WeakMap,this.idStyleMap=new Map}getId(e){var t;return null!==(t=this.styleIDMap.get(e))&&void 0!==t?t:-1}has(e){return this.styleIDMap.has(e)}add(e,t){if(this.has(e))return this.getId(e);let n;return n=void 0===t?this.id++:t,this.styleIDMap.set(e,n),this.idStyleMap.set(n,e),n}getStyle(e){return this.idStyleMap.get(e)||null}reset(){this.styleIDMap=new WeakMap,this.idStyleMap=new Map,this.id=1}generateId(){return this.id++}}var be=(e=>(e[e.DomContentLoaded=0]="DomContentLoaded",e[e.Load=1]="Load",e[e.FullSnapshot=2]="FullSnapshot",e[e.IncrementalSnapshot=3]="IncrementalSnapshot",e[e.Meta=4]="Meta",e[e.Custom=5]="Custom",e[e.Plugin=6]="Plugin",e))(be||{}),we=(e=>(e[e.Mutation=0]="Mutation",e[e.MouseMove=1]="MouseMove",e[e.MouseInteraction=2]="MouseInteraction",e[e.Scroll=3]="Scroll",e[e.ViewportResize=4]="ViewportResize",e[e.Input=5]="Input",e[e.TouchMove=6]="TouchMove",e[e.MediaInteraction=7]="MediaInteraction",e[e.StyleSheetRule=8]="StyleSheetRule",e[e.CanvasMutation=9]="CanvasMutation",e[e.Font=10]="Font",e[e.Log=11]="Log",e[e.Drag=12]="Drag",e[e.StyleDeclaration=13]="StyleDeclaration",e[e.Selection=14]="Selection",e[e.AdoptedStyleSheet=15]="AdoptedStyleSheet",e))(we||{}),Ne=(e=>(e[e.MouseUp=0]="MouseUp",e[e.MouseDown=1]="MouseDown",e[e.Click=2]="Click",e[e.ContextMenu=3]="ContextMenu",e[e.DblClick=4]="DblClick",e[e.Focus=5]="Focus",e[e.Blur=6]="Blur",e[e.TouchStart=7]="TouchStart",e[e.TouchMove_Departed=8]="TouchMove_Departed",e[e.TouchEnd=9]="TouchEnd",e[e.TouchCancel=10]="TouchCancel",e))(Ne||{}),Ee=(e=>(e[e["2D"]=0]="2D",e[e.WebGL=1]="WebGL",e[e.WebGL2=2]="WebGL2",e))(Ee||{}),Se=(e=>(e.Start="start",e.Pause="pause",e.Resume="resume",e.Resize="resize",e.Finish="finish",e.FullsnapshotRebuilded="fullsnapshot-rebuilded",e.LoadStylesheetStart="load-stylesheet-start",e.LoadStylesheetEnd="load-stylesheet-end",e.SkipStart="skip-start",e.SkipEnd="skip-end",e.MouseInteraction="mouse-interaction",e.EventCast="event-cast",e.CustomEvent="custom-event",e.Flush="flush",e.StateChange="state-change",e.PlayBack="play-back",e.Destroy="destroy",e))(Se||{});
|
|
144563
|
+
/*! *****************************************************************************
|
|
144564
|
+
Copyright (c) Microsoft Corporation.
|
|
144565
|
+
|
|
144566
|
+
Permission to use, copy, modify, and/or distribute this software for any
|
|
144567
|
+
purpose with or without fee is hereby granted.
|
|
144568
|
+
|
|
144569
|
+
THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
|
|
144570
|
+
REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
|
|
144571
|
+
AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
|
|
144572
|
+
INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
|
|
144573
|
+
LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
|
|
144574
|
+
OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
|
|
144575
|
+
PERFORMANCE OF THIS SOFTWARE.
|
|
144576
|
+
***************************************************************************** */
|
|
144577
|
+
function Te(e,t,n,i){return new(n||(n=Promise))((function(o,r){function s(e){try{l(i.next(e))}catch(e){r(e)}}function a(e){try{l(i.throw(e))}catch(e){r(e)}}function l(e){var t;e.done?o(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(s,a)}l((i=i.apply(e,t||[])).next())}))}for(var De="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",Me="undefined"==typeof Uint8Array?[]:new Uint8Array(256),Re=0;Re<De.length;Re++)Me[De.charCodeAt(Re)]=Re;var xe=null;try{var ke= true&&"function"==typeof module.require&&__webpack_require__(!(function webpackMissingModule() { var e = new Error("Cannot find module 'worker_threads'"); e.code = 'MODULE_NOT_FOUND'; throw e; }()))||"function"==typeof require&&require("worker_threads")|| true&&__webpack_require__(!(function webpackMissingModule() { var e = new Error("Cannot find module 'worker_threads'"); e.code = 'MODULE_NOT_FOUND'; throw e; }()));xe=ke.Worker}catch(Ht){}function Fe(e,t,n){var i=void 0===t?null:t,o=function(e,t){return Buffer.from(e,"base64").toString(t?"utf16":"utf8")}(e,void 0!==n&&n),r=o.indexOf("\n",10)+1,s=o.substring(r)+(i?"//# sourceMappingURL="+i:"");return function(e){return new xe(s,Object.assign({},e,{eval:!0}))}}var Oe,Be,Le,Ve,_e="[object process]"===Object.prototype.toString.call("undefined"!=typeof process?process:0);Oe="Lyogcm9sbHVwLXBsdWdpbi13ZWItd29ya2VyLWxvYWRlciAqLwooZnVuY3Rpb24gKCkgewogICAgJ3VzZSBzdHJpY3QnOwoKICAgIC8qISAqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKg0KICAgIENvcHlyaWdodCAoYykgTWljcm9zb2Z0IENvcnBvcmF0aW9uLg0KDQogICAgUGVybWlzc2lvbiB0byB1c2UsIGNvcHksIG1vZGlmeSwgYW5kL29yIGRpc3RyaWJ1dGUgdGhpcyBzb2Z0d2FyZSBmb3IgYW55DQogICAgcHVycG9zZSB3aXRoIG9yIHdpdGhvdXQgZmVlIGlzIGhlcmVieSBncmFudGVkLg0KDQogICAgVEhFIFNPRlRXQVJFIElTIFBST1ZJREVEICJBUyBJUyIgQU5EIFRIRSBBVVRIT1IgRElTQ0xBSU1TIEFMTCBXQVJSQU5USUVTIFdJVEgNCiAgICBSRUdBUkQgVE8gVEhJUyBTT0ZUV0FSRSBJTkNMVURJTkcgQUxMIElNUExJRUQgV0FSUkFOVElFUyBPRiBNRVJDSEFOVEFCSUxJVFkNCiAgICBBTkQgRklUTkVTUy4gSU4gTk8gRVZFTlQgU0hBTEwgVEhFIEFVVEhPUiBCRSBMSUFCTEUgRk9SIEFOWSBTUEVDSUFMLCBESVJFQ1QsDQogICAgSU5ESVJFQ1QsIE9SIENPTlNFUVVFTlRJQUwgREFNQUdFUyBPUiBBTlkgREFNQUdFUyBXSEFUU09FVkVSIFJFU1VMVElORyBGUk9NDQogICAgTE9TUyBPRiBVU0UsIERBVEEgT1IgUFJPRklUUywgV0hFVEhFUiBJTiBBTiBBQ1RJT04gT0YgQ09OVFJBQ1QsIE5FR0xJR0VOQ0UgT1INCiAgICBPVEhFUiBUT1JUSU9VUyBBQ1RJT04sIEFSSVNJTkcgT1VUIE9GIE9SIElOIENPTk5FQ1RJT04gV0lUSCBUSEUgVVNFIE9SDQogICAgUEVSRk9STUFOQ0UgT0YgVEhJUyBTT0ZUV0FSRS4NCiAgICAqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKiAqLw0KDQogICAgZnVuY3Rpb24gX19hd2FpdGVyKHRoaXNBcmcsIF9hcmd1bWVudHMsIFAsIGdlbmVyYXRvcikgew0KICAgICAgICBmdW5jdGlvbiBhZG9wdCh2YWx1ZSkgeyByZXR1cm4gdmFsdWUgaW5zdGFuY2VvZiBQID8gdmFsdWUgOiBuZXcgUChmdW5jdGlvbiAocmVzb2x2ZSkgeyByZXNvbHZlKHZhbHVlKTsgfSk7IH0NCiAgICAgICAgcmV0dXJuIG5ldyAoUCB8fCAoUCA9IFByb21pc2UpKShmdW5jdGlvbiAocmVzb2x2ZSwgcmVqZWN0KSB7DQogICAgICAgICAgICBmdW5jdGlvbiBmdWxmaWxsZWQodmFsdWUpIHsgdHJ5IHsgc3RlcChnZW5lcmF0b3IubmV4dCh2YWx1ZSkpOyB9IGNhdGNoIChlKSB7IHJlamVjdChlKTsgfSB9DQogICAgICAgICAgICBmdW5jdGlvbiByZWplY3RlZCh2YWx1ZSkgeyB0cnkgeyBzdGVwKGdlbmVyYXRvclsidGhyb3ciXSh2YWx1ZSkpOyB9IGNhdGNoIChlKSB7IHJlamVjdChlKTsgfSB9DQogICAgICAgICAgICBmdW5jdGlvbiBzdGVwKHJlc3VsdCkgeyByZXN1bHQuZG9uZSA/IHJlc29sdmUocmVzdWx0LnZhbHVlKSA6IGFkb3B0KHJlc3VsdC52YWx1ZSkudGhlbihmdWxmaWxsZWQsIHJlamVjdGVkKTsgfQ0KICAgICAgICAgICAgc3RlcCgoZ2VuZXJhdG9yID0gZ2VuZXJhdG9yLmFwcGx5KHRoaXNBcmcsIF9hcmd1bWVudHMgfHwgW10pKS5uZXh0KCkpOw0KICAgICAgICB9KTsNCiAgICB9CgogICAgLyoKICAgICAqIGJhc2U2NC1hcnJheWJ1ZmZlciAxLjAuMSA8aHR0cHM6Ly9naXRodWIuY29tL25pa2xhc3ZoL2Jhc2U2NC1hcnJheWJ1ZmZlcj4KICAgICAqIENvcHlyaWdodCAoYykgMjAyMSBOaWtsYXMgdm9uIEhlcnR6ZW4gPGh0dHBzOi8vaGVydHplbi5jb20+CiAgICAgKiBSZWxlYXNlZCB1bmRlciBNSVQgTGljZW5zZQogICAgICovCiAgICB2YXIgY2hhcnMgPSAnQUJDREVGR0hJSktMTU5PUFFSU1RVVldYWVphYmNkZWZnaGlqa2xtbm9wcXJzdHV2d3h5ejAxMjM0NTY3ODkrLyc7CiAgICAvLyBVc2UgYSBsb29rdXAgdGFibGUgdG8gZmluZCB0aGUgaW5kZXguCiAgICB2YXIgbG9va3VwID0gdHlwZW9mIFVpbnQ4QXJyYXkgPT09ICd1bmRlZmluZWQnID8gW10gOiBuZXcgVWludDhBcnJheSgyNTYpOwogICAgZm9yICh2YXIgaSA9IDA7IGkgPCBjaGFycy5sZW5ndGg7IGkrKykgewogICAgICAgIGxvb2t1cFtjaGFycy5jaGFyQ29kZUF0KGkpXSA9IGk7CiAgICB9CiAgICB2YXIgZW5jb2RlID0gZnVuY3Rpb24gKGFycmF5YnVmZmVyKSB7CiAgICAgICAgdmFyIGJ5dGVzID0gbmV3IFVpbnQ4QXJyYXkoYXJyYXlidWZmZXIpLCBpLCBsZW4gPSBieXRlcy5sZW5ndGgsIGJhc2U2NCA9ICcnOwogICAgICAgIGZvciAoaSA9IDA7IGkgPCBsZW47IGkgKz0gMykgewogICAgICAgICAgICBiYXNlNjQgKz0gY2hhcnNbYnl0ZXNbaV0gPj4gMl07CiAgICAgICAgICAgIGJhc2U2NCArPSBjaGFyc1soKGJ5dGVzW2ldICYgMykgPDwgNCkgfCAoYnl0ZXNbaSArIDFdID4+IDQpXTsKICAgICAgICAgICAgYmFzZTY0ICs9IGNoYXJzWygoYnl0ZXNbaSArIDFdICYgMTUpIDw8IDIpIHwgKGJ5dGVzW2kgKyAyXSA+PiA2KV07CiAgICAgICAgICAgIGJhc2U2NCArPSBjaGFyc1tieXRlc1tpICsgMl0gJiA2M107CiAgICAgICAgfQogICAgICAgIGlmIChsZW4gJSAzID09PSAyKSB7CiAgICAgICAgICAgIGJhc2U2NCA9IGJhc2U2NC5zdWJzdHJpbmcoMCwgYmFzZTY0Lmxlbmd0aCAtIDEpICsgJz0nOwogICAgICAgIH0KICAgICAgICBlbHNlIGlmIChsZW4gJSAzID09PSAxKSB7CiAgICAgICAgICAgIGJhc2U2NCA9IGJhc2U2NC5zdWJzdHJpbmcoMCwgYmFzZTY0Lmxlbmd0aCAtIDIpICsgJz09JzsKICAgICAgICB9CiAgICAgICAgcmV0dXJuIGJhc2U2NDsKICAgIH07CgogICAgY29uc3QgbGFzdEJsb2JNYXAgPSBuZXcgTWFwKCk7DQogICAgY29uc3QgdHJhbnNwYXJlbnRCbG9iTWFwID0gbmV3IE1hcCgpOw0KICAgIGZ1bmN0aW9uIGdldFRyYW5zcGFyZW50QmxvYkZvcih3aWR0aCwgaGVpZ2h0LCBkYXRhVVJMT3B0aW9ucykgew0KICAgICAgICByZXR1cm4gX19hd2FpdGVyKHRoaXMsIHZvaWQgMCwgdm9pZCAwLCBmdW5jdGlvbiogKCkgew0KICAgICAgICAgICAgY29uc3QgaWQgPSBgJHt3aWR0aH0tJHtoZWlnaHR9YDsNCiAgICAgICAgICAgIGlmICgnT2Zmc2NyZWVuQ2FudmFzJyBpbiBnbG9iYWxUaGlzKSB7DQogICAgICAgICAgICAgICAgaWYgKHRyYW5zcGFyZW50QmxvYk1hcC5oYXMoaWQpKQ0KICAgICAgICAgICAgICAgICAgICByZXR1cm4gdHJhbnNwYXJlbnRCbG9iTWFwLmdldChpZCk7DQogICAgICAgICAgICAgICAgY29uc3Qgb2Zmc2NyZWVuID0gbmV3IE9mZnNjcmVlbkNhbnZhcyh3aWR0aCwgaGVpZ2h0KTsNCiAgICAgICAgICAgICAgICBvZmZzY3JlZW4uZ2V0Q29udGV4dCgnMmQnKTsNCiAgICAgICAgICAgICAgICBjb25zdCBibG9iID0geWllbGQgb2Zmc2NyZWVuLmNvbnZlcnRUb0Jsb2IoZGF0YVVSTE9wdGlvbnMpOw0KICAgICAgICAgICAgICAgIGNvbnN0IGFycmF5QnVmZmVyID0geWllbGQgYmxvYi5hcnJheUJ1ZmZlcigpOw0KICAgICAgICAgICAgICAgIGNvbnN0IGJhc2U2NCA9IGVuY29kZShhcnJheUJ1ZmZlcik7DQogICAgICAgICAgICAgICAgdHJhbnNwYXJlbnRCbG9iTWFwLnNldChpZCwgYmFzZTY0KTsNCiAgICAgICAgICAgICAgICByZXR1cm4gYmFzZTY0Ow0KICAgICAgICAgICAgfQ0KICAgICAgICAgICAgZWxzZSB7DQogICAgICAgICAgICAgICAgcmV0dXJuICcnOw0KICAgICAgICAgICAgfQ0KICAgICAgICB9KTsNCiAgICB9DQogICAgY29uc3Qgd29ya2VyID0gc2VsZjsNCiAgICB3b3JrZXIub25tZXNzYWdlID0gZnVuY3Rpb24gKGUpIHsNCiAgICAgICAgcmV0dXJuIF9fYXdhaXRlcih0aGlzLCB2b2lkIDAsIHZvaWQgMCwgZnVuY3Rpb24qICgpIHsNCiAgICAgICAgICAgIGlmICgnT2Zmc2NyZWVuQ2FudmFzJyBpbiBnbG9iYWxUaGlzKSB7DQogICAgICAgICAgICAgICAgY29uc3QgeyBpZCwgYml0bWFwLCB3aWR0aCwgaGVpZ2h0LCBkYXRhVVJMT3B0aW9ucyB9ID0gZS5kYXRhOw0KICAgICAgICAgICAgICAgIGNvbnN0IHRyYW5zcGFyZW50QmFzZTY0ID0gZ2V0VHJhbnNwYXJlbnRCbG9iRm9yKHdpZHRoLCBoZWlnaHQsIGRhdGFVUkxPcHRpb25zKTsNCiAgICAgICAgICAgICAgICBjb25zdCBvZmZzY3JlZW4gPSBuZXcgT2Zmc2NyZWVuQ2FudmFzKHdpZHRoLCBoZWlnaHQpOw0KICAgICAgICAgICAgICAgIGNvbnN0IGN0eCA9IG9mZnNjcmVlbi5nZXRDb250ZXh0KCcyZCcpOw0KICAgICAgICAgICAgICAgIGN0eC5kcmF3SW1hZ2UoYml0bWFwLCAwLCAwKTsNCiAgICAgICAgICAgICAgICBiaXRtYXAuY2xvc2UoKTsNCiAgICAgICAgICAgICAgICBjb25zdCBibG9iID0geWllbGQgb2Zmc2NyZWVuLmNvbnZlcnRUb0Jsb2IoZGF0YVVSTE9wdGlvbnMpOw0KICAgICAgICAgICAgICAgIGNvbnN0IHR5cGUgPSBibG9iLnR5cGU7DQogICAgICAgICAgICAgICAgY29uc3QgYXJyYXlCdWZmZXIgPSB5aWVsZCBibG9iLmFycmF5QnVmZmVyKCk7DQogICAgICAgICAgICAgICAgY29uc3QgYmFzZTY0ID0gZW5jb2RlKGFycmF5QnVmZmVyKTsNCiAgICAgICAgICAgICAgICBpZiAoIWxhc3RCbG9iTWFwLmhhcyhpZCkgJiYgKHlpZWxkIHRyYW5zcGFyZW50QmFzZTY0KSA9PT0gYmFzZTY0KSB7DQogICAgICAgICAgICAgICAgICAgIGxhc3RCbG9iTWFwLnNldChpZCwgYmFzZTY0KTsNCiAgICAgICAgICAgICAgICAgICAgcmV0dXJuIHdvcmtlci5wb3N0TWVzc2FnZSh7IGlkIH0pOw0KICAgICAgICAgICAgICAgIH0NCiAgICAgICAgICAgICAgICBpZiAobGFzdEJsb2JNYXAuZ2V0KGlkKSA9PT0gYmFzZTY0KQ0KICAgICAgICAgICAgICAgICAgICByZXR1cm4gd29ya2VyLnBvc3RNZXNzYWdlKHsgaWQgfSk7DQogICAgICAgICAgICAgICAgd29ya2VyLnBvc3RNZXNzYWdlKHsNCiAgICAgICAgICAgICAgICAgICAgaWQsDQogICAgICAgICAgICAgICAgICAgIHR5cGUsDQogICAgICAgICAgICAgICAgICAgIGJhc2U2NCwNCiAgICAgICAgICAgICAgICAgICAgd2lkdGgsDQogICAgICAgICAgICAgICAgICAgIGhlaWdodCwNCiAgICAgICAgICAgICAgICB9KTsNCiAgICAgICAgICAgICAgICBsYXN0QmxvYk1hcC5zZXQoaWQsIGJhc2U2NCk7DQogICAgICAgICAgICB9DQogICAgICAgICAgICBlbHNlIHsNCiAgICAgICAgICAgICAgICByZXR1cm4gd29ya2VyLnBvc3RNZXNzYWdlKHsgaWQ6IGUuZGF0YS5pZCB9KTsNCiAgICAgICAgICAgIH0NCiAgICAgICAgfSk7DQogICAgfTsKCn0pKCk7Cgo=",Be=null,Le=!1,_e?Fe(Oe,Be,Le):function(e,t,n){var i}(Oe,Be,Le),q(),function(e){e[e.Document=0]="Document",e[e.DocumentType=1]="DocumentType",e[e.Element=2]="Element",e[e.Text=3]="Text",e[e.CDATA=4]="CDATA",e[e.Comment=5]="Comment"}(Ve||(Ve={}));var Ge=function(){function e(){this.idNodeMap=new Map,this.nodeMetaMap=new WeakMap}return e.prototype.getId=function(e){var t;if(!e)return-1;var n=null===(t=this.getMeta(e))||void 0===t?void 0:t.id;return null!=n?n:-1},e.prototype.getNode=function(e){return this.idNodeMap.get(e)||null},e.prototype.getIds=function(){return Array.from(this.idNodeMap.keys())},e.prototype.getMeta=function(e){return this.nodeMetaMap.get(e)||null},e.prototype.removeNodeFromMap=function(e){var t=this,n=this.getId(e);this.idNodeMap.delete(n),e.childNodes&&e.childNodes.forEach((function(e){return t.removeNodeFromMap(e)}))},e.prototype.has=function(e){return this.idNodeMap.has(e)},e.prototype.hasNode=function(e){return this.nodeMetaMap.has(e)},e.prototype.add=function(e,t){var n=t.id;this.idNodeMap.set(n,e),this.nodeMetaMap.set(e,t)},e.prototype.replace=function(e,t){var n=this.getNode(e);if(n){var i=this.nodeMetaMap.get(n);i&&this.nodeMetaMap.set(t,i)}this.idNodeMap.set(e,t)},e.prototype.reset=function(){this.idNodeMap=new Map,this.nodeMetaMap=new WeakMap},e}();function We(e){const t=[];for(const n in e){const i=e[n];if("string"!=typeof i)continue;const o=Ye(n);t.push(`${o}: ${i};`)}return t.join(" ")}const Ue=/-([a-z])/g,Ze=/^--[a-zA-Z0-9-]+$/,$e=e=>Ze.test(e)?e:e.replace(Ue,((e,t)=>t?t.toUpperCase():"")),Ke=/\B([A-Z])/g,Ye=e=>e.replace(Ke,"-$1").toLowerCase();class Pe{constructor(...e){this.childNodes=[],this.parentElement=null,this.parentNode=null,this.ELEMENT_NODE=qe.ELEMENT_NODE,this.TEXT_NODE=qe.TEXT_NODE}get firstChild(){return this.childNodes[0]||null}get lastChild(){return this.childNodes[this.childNodes.length-1]||null}get nextSibling(){const e=this.parentNode;if(!e)return null;const t=e.childNodes,n=t.indexOf(this);return t[n+1]||null}contains(e){if(e===this)return!0;for(const t of this.childNodes)if(t.contains(e))return!0;return!1}appendChild(e){throw new Error("RRDomException: Failed to execute 'appendChild' on 'RRNode': This RRNode type does not support this method.")}insertBefore(e,t){throw new Error("RRDomException: Failed to execute 'insertBefore' on 'RRNode': This RRNode type does not support this method.")}removeChild(e){throw new Error("RRDomException: Failed to execute 'removeChild' on 'RRNode': This RRNode type does not support this method.")}toString(){return"RRNode"}}function Qe(e){return class extends e{constructor(e,t,n){super(),this.nodeType=qe.DOCUMENT_TYPE_NODE,this.RRNodeType=Ve.DocumentType,this.textContent=null,this.name=e,this.publicId=t,this.systemId=n,this.nodeName=e}toString(){return"RRDocumentType"}}}function ze(e){return class extends e{constructor(e){super(),this.nodeType=qe.ELEMENT_NODE,this.RRNodeType=Ve.Element,this.attributes={},this.shadowRoot=null,this.tagName=e.toUpperCase(),this.nodeName=e.toUpperCase()}get textContent(){let e="";return this.childNodes.forEach((t=>e+=t.textContent)),e}set textContent(e){this.childNodes=[this.ownerDocument.createTextNode(e)]}get classList(){return new je(this.attributes.class,(e=>{this.attributes.class=e}))}get id(){return this.attributes.id||""}get className(){return this.attributes.class||""}get style(){const e=this.attributes.style?function(e){const t={},n=/:(.+)/;return e.replace(/\/\*.*?\*\//g,"").split(/;(?![^(]*\))/g).forEach((function(e){if(e){const i=e.split(n);i.length>1&&(t[$e(i[0].trim())]=i[1].trim())}})),t}(this.attributes.style):{},t=/\B([A-Z])/g;return e.setProperty=(n,i,o)=>{if(t.test(n))return;const r=$e(n);i?e[r]=i:delete e[r],"important"===o&&(e[r]+=" !important"),this.attributes.style=We(e)},e.removeProperty=n=>{if(t.test(n))return"";const i=$e(n),o=e[i]||"";return delete e[i],this.attributes.style=We(e),o},e}getAttribute(e){return this.attributes[e]||null}setAttribute(e,t){this.attributes[e]=t}setAttributeNS(e,t,n){this.setAttribute(t,n)}removeAttribute(e){delete this.attributes[e]}appendChild(e){return this.childNodes.push(e),e.parentNode=this,e.parentElement=this,e}insertBefore(e,t){if(null===t)return this.appendChild(e);const n=this.childNodes.indexOf(t);if(-1==n)throw new Error("Failed to execute 'insertBefore' on 'RRNode': The RRNode before which the new node is to be inserted is not a child of this RRNode.");return this.childNodes.splice(n,0,e),e.parentElement=this,e.parentNode=this,e}removeChild(e){const t=this.childNodes.indexOf(e);if(-1===t)throw new Error("Failed to execute 'removeChild' on 'RRElement': The RRNode to be removed is not a child of this RRNode.");return this.childNodes.splice(t,1),e.parentElement=null,e.parentNode=null,e}attachShadow(e){const t=this.ownerDocument.createElement("SHADOWROOT");return this.shadowRoot=t,t}dispatchEvent(e){return!0}toString(){let e="";for(const t in this.attributes)e+=`${t}="${this.attributes[t]}" `;return`${this.tagName} ${e}`}}}function Je(e){return class extends e{constructor(e){super(),this.nodeType=qe.TEXT_NODE,this.nodeName="#text",this.RRNodeType=Ve.Text,this.data=e}get textContent(){return this.data}set textContent(e){this.data=e}toString(){return`RRText text=${JSON.stringify(this.data)}`}}}function Xe(e){return class extends e{constructor(e){super(),this.nodeType=qe.COMMENT_NODE,this.nodeName="#comment",this.RRNodeType=Ve.Comment,this.data=e}get textContent(){return this.data}set textContent(e){this.data=e}toString(){return`RRComment text=${JSON.stringify(this.data)}`}}}function He(e){return class extends e{constructor(e){super(),this.nodeName="#cdata-section",this.nodeType=qe.CDATA_SECTION_NODE,this.RRNodeType=Ve.CDATA,this.data=e}get textContent(){return this.data}set textContent(e){this.data=e}toString(){return`RRCDATASection data=${JSON.stringify(this.data)}`}}}class je{constructor(e,t){if(this.classes=[],this.add=(...e)=>{for(const t of e){const e=String(t);this.classes.indexOf(e)>=0||this.classes.push(e)}this.onChange&&this.onChange(this.classes.join(" "))},this.remove=(...e)=>{this.classes=this.classes.filter((t=>-1===e.indexOf(t))),this.onChange&&this.onChange(this.classes.join(" "))},e){const t=e.trim().split(/\s+/);this.classes.push(...t)}this.onChange=t}}var qe;!function(e){e[e.PLACEHOLDER=0]="PLACEHOLDER",e[e.ELEMENT_NODE=1]="ELEMENT_NODE",e[e.ATTRIBUTE_NODE=2]="ATTRIBUTE_NODE",e[e.TEXT_NODE=3]="TEXT_NODE",e[e.CDATA_SECTION_NODE=4]="CDATA_SECTION_NODE",e[e.ENTITY_REFERENCE_NODE=5]="ENTITY_REFERENCE_NODE",e[e.ENTITY_NODE=6]="ENTITY_NODE",e[e.PROCESSING_INSTRUCTION_NODE=7]="PROCESSING_INSTRUCTION_NODE",e[e.COMMENT_NODE=8]="COMMENT_NODE",e[e.DOCUMENT_NODE=9]="DOCUMENT_NODE",e[e.DOCUMENT_TYPE_NODE=10]="DOCUMENT_TYPE_NODE",e[e.DOCUMENT_FRAGMENT_NODE=11]="DOCUMENT_FRAGMENT_NODE"}(qe||(qe={}));const et={svg:"http://www.w3.org/2000/svg","xlink:href":"http://www.w3.org/1999/xlink",xmlns:"http://www.w3.org/2000/xmlns/"},tt={altglyph:"altGlyph",altglyphdef:"altGlyphDef",altglyphitem:"altGlyphItem",animatecolor:"animateColor",animatemotion:"animateMotion",animatetransform:"animateTransform",clippath:"clipPath",feblend:"feBlend",fecolormatrix:"feColorMatrix",fecomponenttransfer:"feComponentTransfer",fecomposite:"feComposite",feconvolvematrix:"feConvolveMatrix",fediffuselighting:"feDiffuseLighting",fedisplacementmap:"feDisplacementMap",fedistantlight:"feDistantLight",fedropshadow:"feDropShadow",feflood:"feFlood",fefunca:"feFuncA",fefuncb:"feFuncB",fefuncg:"feFuncG",fefuncr:"feFuncR",fegaussianblur:"feGaussianBlur",feimage:"feImage",femerge:"feMerge",femergenode:"feMergeNode",femorphology:"feMorphology",feoffset:"feOffset",fepointlight:"fePointLight",fespecularlighting:"feSpecularLighting",fespotlight:"feSpotLight",fetile:"feTile",feturbulence:"feTurbulence",foreignobject:"foreignObject",glyphref:"glyphRef",lineargradient:"linearGradient",radialgradient:"radialGradient"};function nt(e,t,n,i){const o=e.childNodes,r=t.childNodes;i=i||t.mirror||t.ownerDocument.mirror,(o.length>0||r.length>0)&&it(Array.from(o),r,e,n,i);let s=null,a=null;switch(t.RRNodeType){case Ve.Document:a=t.scrollData;break;case Ve.Element:{const o=e,r=t;switch(function(e,t,n){const i=e.attributes,o=t.attributes;for(const i in o){const r=o[i],s=n.getMeta(t);if(s&&"isSVG"in s&&s.isSVG&&et[i])e.setAttributeNS(et[i],i,r);else if("CANVAS"===t.tagName&&"rr_dataURL"===i){const t=document.createElement("img");t.src=r,t.onload=()=>{const n=e.getContext("2d");n&&n.drawImage(t,0,0,t.width,t.height)}}else e.setAttribute(i,r)}for(const{name:t}of Array.from(i))t in o||e.removeAttribute(t);t.scrollLeft&&(e.scrollLeft=t.scrollLeft),t.scrollTop&&(e.scrollTop=t.scrollTop)}(o,r,i),a=r.scrollData,s=r.inputData,r.tagName){case"AUDIO":case"VIDEO":{const t=e,n=r;void 0!==n.paused&&(n.paused?t.pause():t.play()),void 0!==n.muted&&(t.muted=n.muted),void 0!==n.volume&&(t.volume=n.volume),void 0!==n.currentTime&&(t.currentTime=n.currentTime),void 0!==n.playbackRate&&(t.playbackRate=n.playbackRate);break}case"CANVAS":{const i=t;if(null!==i.rr_dataURL){const e=document.createElement("img");e.onload=()=>{const t=o.getContext("2d");t&&t.drawImage(e,0,0,e.width,e.height)},e.src=i.rr_dataURL}i.canvasMutations.forEach((t=>n.applyCanvas(t.event,t.mutation,e)))}break;case"STYLE":{const e=o.sheet;e&&t.rules.forEach((t=>n.applyStyleSheetMutation(t,e)))}}if(r.shadowRoot){o.shadowRoot||o.attachShadow({mode:"open"});const e=o.shadowRoot.childNodes,t=r.shadowRoot.childNodes;(e.length>0||t.length>0)&&it(Array.from(e),t,o.shadowRoot,n,i)}break}case Ve.Text:case Ve.Comment:case Ve.CDATA:e.textContent!==t.data&&(e.textContent=t.data)}if(a&&n.applyScroll(a,!0),s&&n.applyInput(s),"IFRAME"===t.nodeName){const o=e.contentDocument,r=t;if(o){const e=i.getMeta(r.contentDocument);e&&n.mirror.add(o,Object.assign({},e)),nt(o,r.contentDocument,n,i)}}}function it(e,t,n,i,o){var r;let s,a,l=0,c=e.length-1,d=0,u=t.length-1,h=e[l],p=e[c],g=t[d],m=t[u];for(;l<=c&&d<=u;){const f=i.mirror.getId(h),y=i.mirror.getId(p),v=o.getId(g),C=o.getId(m);if(void 0===h)h=e[++l];else if(void 0===p)p=e[--c];else if(-1!==f&&f===v)nt(h,g,i,o),h=e[++l],g=t[++d];else if(-1!==y&&y===C)nt(p,m,i,o),p=e[--c],m=t[--u];else if(-1!==f&&f===C)n.insertBefore(h,p.nextSibling),nt(h,m,i,o),h=e[++l],m=t[--u];else if(-1!==y&&y===v)n.insertBefore(p,h),nt(p,g,i,o),p=e[--c],g=t[++d];else{if(!s){s={};for(let t=l;t<=c;t++){const n=e[t];n&&i.mirror.hasNode(n)&&(s[i.mirror.getId(n)]=t)}}if(a=s[o.getId(g)],a){const t=e[a];n.insertBefore(t,h),nt(t,g,i,o),e[a]=void 0}else{const t=ot(g,i.mirror,o);"#document"===n.nodeName&&(null===(r=i.mirror.getMeta(t))||void 0===r?void 0:r.type)===Ve.Element&&n.documentElement&&(n.removeChild(n.documentElement),e[l]=void 0,h=void 0),n.insertBefore(t,h||null),nt(t,g,i,o)}g=t[++d]}}if(l>c){const e=t[u+1];let r=null;for(e&&n.childNodes.forEach((t=>{i.mirror.getId(t)===o.getId(e)&&(r=t)}));d<=u;++d){const e=ot(t[d],i.mirror,o);n.insertBefore(e,r),nt(e,t[d],i,o)}}else if(d>u)for(;l<=c;l++){const t=e[l];t&&(n.removeChild(t),i.mirror.removeNodeFromMap(t))}}function ot(e,t,n){const i=n.getId(e),o=n.getMeta(e);let r=null;if(i>-1&&(r=t.getNode(i)),null!==r)return r;switch(e.RRNodeType){case Ve.Document:r=new Document;break;case Ve.DocumentType:r=document.implementation.createDocumentType(e.name,e.publicId,e.systemId);break;case Ve.Element:{let t=e.tagName.toLowerCase();t=tt[t]||t,r=o&&"isSVG"in o&&(null==o?void 0:o.isSVG)?document.createElementNS(et.svg,t):document.createElement(e.tagName);break}case Ve.Text:r=document.createTextNode(e.data);break;case Ve.Comment:r=document.createComment(e.data);break;case Ve.CDATA:r=document.createCDATASection(e.data)}return o&&t.add(r,Object.assign({},o)),r}class rt extends(function(e){return class t extends e{constructor(){super(...arguments),this.nodeType=qe.DOCUMENT_NODE,this.nodeName="#document",this.compatMode="CSS1Compat",this.RRNodeType=Ve.Document,this.textContent=null}get documentElement(){return this.childNodes.find((e=>e.RRNodeType===Ve.Element&&"HTML"===e.tagName))||null}get body(){var e;return(null===(e=this.documentElement)||void 0===e?void 0:e.childNodes.find((e=>e.RRNodeType===Ve.Element&&"BODY"===e.tagName)))||null}get head(){var e;return(null===(e=this.documentElement)||void 0===e?void 0:e.childNodes.find((e=>e.RRNodeType===Ve.Element&&"HEAD"===e.tagName)))||null}get implementation(){return this}get firstElementChild(){return this.documentElement}appendChild(e){const t=e.RRNodeType;if((t===Ve.Element||t===Ve.DocumentType)&&this.childNodes.some((e=>e.RRNodeType===t)))throw new Error(`RRDomException: Failed to execute 'appendChild' on 'RRNode': Only one ${t===Ve.Element?"RRElement":"RRDoctype"} on RRDocument allowed.`);return e.parentElement=null,e.parentNode=this,this.childNodes.push(e),e}insertBefore(e,t){const n=e.RRNodeType;if((n===Ve.Element||n===Ve.DocumentType)&&this.childNodes.some((e=>e.RRNodeType===n)))throw new Error(`RRDomException: Failed to execute 'insertBefore' on 'RRNode': Only one ${n===Ve.Element?"RRElement":"RRDoctype"} on RRDocument allowed.`);if(null===t)return this.appendChild(e);const i=this.childNodes.indexOf(t);if(-1==i)throw new Error("Failed to execute 'insertBefore' on 'RRNode': The RRNode before which the new node is to be inserted is not a child of this RRNode.");return this.childNodes.splice(i,0,e),e.parentElement=null,e.parentNode=this,e}removeChild(e){const t=this.childNodes.indexOf(e);if(-1===t)throw new Error("Failed to execute 'removeChild' on 'RRDocument': The RRNode to be removed is not a child of this RRNode.");return this.childNodes.splice(t,1),e.parentElement=null,e.parentNode=null,e}open(){this.childNodes=[]}close(){}write(e){let t;if('<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "">'===e?t="-//W3C//DTD XHTML 1.0 Transitional//EN":'<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" "">'===e&&(t="-//W3C//DTD HTML 4.0 Transitional//EN"),t){const e=this.createDocumentType("html",t,"");this.open(),this.appendChild(e)}}createDocument(e,n,i){return new t}createDocumentType(e,t,n){const i=new(Qe(Pe))(e,t,n);return i.ownerDocument=this,i}createElement(e){const t=new(ze(Pe))(e);return t.ownerDocument=this,t}createElementNS(e,t){return this.createElement(t)}createTextNode(e){const t=new(Je(Pe))(e);return t.ownerDocument=this,t}createComment(e){const t=new(Xe(Pe))(e);return t.ownerDocument=this,t}createCDATASection(e){const t=new(He(Pe))(e);return t.ownerDocument=this,t}toString(){return"RRDocument"}}}(Pe)){constructor(e){super(),this.UNSERIALIZED_STARTING_ID=-2,this._unserializedId=this.UNSERIALIZED_STARTING_ID,this.mirror=new yt,this.scrollData=null,e&&(this.mirror=e)}get unserializedId(){return this._unserializedId--}createDocument(e,t,n){return new rt}createDocumentType(e,t,n){const i=new st(e,t,n);return i.ownerDocument=this,i}createElement(e){const t=e.toUpperCase();let n;switch(t){case"AUDIO":case"VIDEO":n=new lt(t);break;case"IFRAME":n=new ut(t,this.mirror);break;case"CANVAS":n=new ct(t);break;case"STYLE":n=new dt(t);break;default:n=new at(t)}return n.ownerDocument=this,n}createComment(e){const t=new pt(e);return t.ownerDocument=this,t}createCDATASection(e){const t=new gt(e);return t.ownerDocument=this,t}createTextNode(e){const t=new ht(e);return t.ownerDocument=this,t}destroyTree(){this.childNodes=[],this.mirror.reset()}open(){super.open(),this._unserializedId=this.UNSERIALIZED_STARTING_ID}}const st=Qe(Pe);class at extends(ze(Pe)){constructor(){super(...arguments),this.inputData=null,this.scrollData=null}}class lt extends(function(e){return class extends e{attachShadow(e){throw new Error("RRDomException: Failed to execute 'attachShadow' on 'RRElement': This RRElement does not support attachShadow")}play(){this.paused=!1}pause(){this.paused=!0}}}(at)){}class ct extends at{constructor(){super(...arguments),this.rr_dataURL=null,this.canvasMutations=[]}getContext(){return null}}class dt extends at{constructor(){super(...arguments),this.rules=[]}}class ut extends at{constructor(e,t){super(e),this.contentDocument=new rt,this.contentDocument.mirror=t}}const ht=Je(Pe),pt=Xe(Pe),gt=He(Pe);function mt(e,t,n,i){let o;switch(e.nodeType){case qe.DOCUMENT_NODE:i&&"IFRAME"===i.nodeName?o=i.contentDocument:(o=t,o.compatMode=e.compatMode);break;case qe.DOCUMENT_TYPE_NODE:{const n=e;o=t.createDocumentType(n.name,n.publicId,n.systemId);break}case qe.ELEMENT_NODE:{const n=e,i=function(e){return e instanceof HTMLFormElement?"FORM":e.tagName.toUpperCase()}(n);o=t.createElement(i);const r=o;for(const{name:e,value:t}of Array.from(n.attributes))r.attributes[e]=t;n.scrollLeft&&(r.scrollLeft=n.scrollLeft),n.scrollTop&&(r.scrollTop=n.scrollTop);break}case qe.TEXT_NODE:o=t.createTextNode(e.textContent||"");break;case qe.CDATA_SECTION_NODE:o=t.createCDATASection(e.data);break;case qe.COMMENT_NODE:o=t.createComment(e.textContent||"");break;case qe.DOCUMENT_FRAGMENT_NODE:o=i.attachShadow({mode:"open"});break;default:return null}let r=n.getMeta(e);return t instanceof rt&&(r||(r=vt(o,t.unserializedId),n.add(e,r)),t.mirror.add(o,Object.assign({},r))),o}function ft(e,t=function(){return new Ge}(),n=new rt){return function e(i,o){const r=mt(i,n,t,o);if(null!==r)if("IFRAME"!==(null==o?void 0:o.nodeName)&&i.nodeType!==qe.DOCUMENT_FRAGMENT_NODE&&(null==o||o.appendChild(r),r.parentNode=o,r.parentElement=o),"IFRAME"===i.nodeName){const t=i.contentDocument;t&&e(t,r)}else i.nodeType!==qe.DOCUMENT_NODE&&i.nodeType!==qe.ELEMENT_NODE&&i.nodeType!==qe.DOCUMENT_FRAGMENT_NODE||(i.nodeType===qe.ELEMENT_NODE&&i.shadowRoot&&e(i.shadowRoot,r),i.childNodes.forEach((t=>e(t,r))))}(e,null),n}class yt{constructor(){this.idNodeMap=new Map,this.nodeMetaMap=new WeakMap}getId(e){var t;if(!e)return-1;const n=null===(t=this.getMeta(e))||void 0===t?void 0:t.id;return null!=n?n:-1}getNode(e){return this.idNodeMap.get(e)||null}getIds(){return Array.from(this.idNodeMap.keys())}getMeta(e){return this.nodeMetaMap.get(e)||null}removeNodeFromMap(e){const t=this.getId(e);this.idNodeMap.delete(t),e.childNodes&&e.childNodes.forEach((e=>this.removeNodeFromMap(e)))}has(e){return this.idNodeMap.has(e)}hasNode(e){return this.nodeMetaMap.has(e)}add(e,t){const n=t.id;this.idNodeMap.set(n,e),this.nodeMetaMap.set(e,t)}replace(e,t){const n=this.getNode(e);if(n){const e=this.nodeMetaMap.get(n);e&&this.nodeMetaMap.set(t,e)}this.idNodeMap.set(e,t)}reset(){this.idNodeMap=new Map,this.nodeMetaMap=new WeakMap}}function vt(e,t){switch(e.RRNodeType){case Ve.Document:return{id:t,type:e.RRNodeType,childNodes:[]};case Ve.DocumentType:{const n=e;return{id:t,type:e.RRNodeType,name:n.name,publicId:n.publicId,systemId:n.systemId}}case Ve.Element:return{id:t,type:e.RRNodeType,tagName:e.tagName.toLowerCase(),attributes:{},childNodes:[]};case Ve.Text:case Ve.Comment:return{id:t,type:e.RRNodeType,textContent:e.textContent||""};case Ve.CDATA:return{id:t,type:e.RRNodeType,textContent:""}}}var Ct=Uint8Array,It=Uint16Array,At=Uint32Array,bt=new Ct([0,0,0,0,0,0,0,0,1,1,1,1,2,2,2,2,3,3,3,3,4,4,4,4,5,5,5,5,0,0,0,0]),wt=new Ct([0,0,0,0,1,1,2,2,3,3,4,4,5,5,6,6,7,7,8,8,9,9,10,10,11,11,12,12,13,13,0,0]),Nt=new Ct([16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15]),Et=function(e,t){for(var n=new It(31),i=0;i<31;++i)n[i]=t+=1<<e[i-1];var o=new At(n[30]);for(i=1;i<30;++i)for(var r=n[i];r<n[i+1];++r)o[r]=r-n[i]<<5|i;return[n,o]},St=Et(bt,2),Tt=St[0],Dt=St[1];Tt[28]=258,Dt[258]=28;for(var Mt=Et(wt,0)[0],Rt=new It(32768),xt=0;xt<32768;++xt){var kt=(43690&xt)>>>1|(21845&xt)<<1;kt=(61680&(kt=(52428&kt)>>>2|(13107&kt)<<2))>>>4|(3855&kt)<<4,Rt[xt]=((65280&kt)>>>8|(255&kt)<<8)>>>1}var Ft=function(e,t,n){for(var i=e.length,o=0,r=new It(t);o<i;++o)++r[e[o]-1];var s,a=new It(t);for(o=0;o<t;++o)a[o]=a[o-1]+r[o-1]<<1;if(n){s=new It(1<<t);var l=15-t;for(o=0;o<i;++o)if(e[o])for(var c=o<<4|e[o],d=t-e[o],u=a[e[o]-1]++<<d,h=u|(1<<d)-1;u<=h;++u)s[Rt[u]>>>l]=c}else for(s=new It(i),o=0;o<i;++o)s[o]=Rt[a[e[o]-1]++]>>>15-e[o];return s},Ot=new Ct(288);for(xt=0;xt<144;++xt)Ot[xt]=8;for(xt=144;xt<256;++xt)Ot[xt]=9;for(xt=256;xt<280;++xt)Ot[xt]=7;for(xt=280;xt<288;++xt)Ot[xt]=8;var Bt=new Ct(32);for(xt=0;xt<32;++xt)Bt[xt]=5;var Lt=Ft(Ot,9,1),Vt=Ft(Bt,5,1),_t=function(e){for(var t=e[0],n=1;n<e.length;++n)e[n]>t&&(t=e[n]);return t},Gt=function(e,t,n){var i=t/8>>0;return(e[i]|e[i+1]<<8)>>>(7&t)&n},Wt=function(e,t){var n=t/8>>0;return(e[n]|e[n+1]<<8|e[n+2]<<16)>>>(7&t)},Ut=function(e,t,n){(null==t||t<0)&&(t=0),(null==n||n>e.length)&&(n=e.length);var i=new(e instanceof It?It:e instanceof At?At:Ct)(n-t);return i.set(e.subarray(t,n)),i};function Zt(e,t){return function(e,t,n){var i=e.length,o=!t||n,r=!n||n.i;n||(n={}),t||(t=new Ct(3*i));var s,a=function(e){var n=t.length;if(e>n){var i=new Ct(Math.max(2*n,e));i.set(t),t=i}},l=n.f||0,c=n.p||0,d=n.b||0,u=n.l,h=n.d,p=n.m,g=n.n,m=8*i;do{if(!u){n.f=l=Gt(e,c,1);var f=Gt(e,c+1,3);if(c+=3,!f){var y=e[(D=((s=c)/8>>0)+(7&s&&1)+4)-4]|e[D-3]<<8,v=D+y;if(v>i){if(r)throw"unexpected EOF";break}o&&a(d+y),t.set(e.subarray(D,v),d),n.b=d+=y,n.p=c=8*v;continue}if(1==f)u=Lt,h=Vt,p=9,g=5;else{if(2!=f)throw"invalid block type";var C=Gt(e,c,31)+257,I=Gt(e,c+10,15)+4,A=C+Gt(e,c+5,31)+1;c+=14;for(var b=new Ct(A),w=new Ct(19),N=0;N<I;++N)w[Nt[N]]=Gt(e,c+3*N,7);c+=3*I;var E=_t(w),S=(1<<E)-1;if(!r&&c+A*(E+7)>m)break;var T=Ft(w,E,1);for(N=0;N<A;){var D,M=T[Gt(e,c,S)];if(c+=15&M,(D=M>>>4)<16)b[N++]=D;else{var R=0,x=0;for(16==D?(x=3+Gt(e,c,3),c+=2,R=b[N-1]):17==D?(x=3+Gt(e,c,7),c+=3):18==D&&(x=11+Gt(e,c,127),c+=7);x--;)b[N++]=R}}var k=b.subarray(0,C),F=b.subarray(C);p=_t(k),g=_t(F),u=Ft(k,p,1),h=Ft(F,g,1)}if(c>m)throw"unexpected EOF"}o&&a(d+131072);for(var O=(1<<p)-1,B=(1<<g)-1,L=p+g+18;r||c+L<m;){var V=(R=u[Wt(e,c)&O])>>>4;if((c+=15&R)>m)throw"unexpected EOF";if(!R)throw"invalid length/literal";if(V<256)t[d++]=V;else{if(256==V){u=null;break}var _=V-254;if(V>264){var G=bt[N=V-257];_=Gt(e,c,(1<<G)-1)+Tt[N],c+=G}var W=h[Wt(e,c)&B],U=W>>>4;if(!W)throw"invalid distance";if(c+=15&W,F=Mt[U],U>3&&(G=wt[U],F+=Wt(e,c)&(1<<G)-1,c+=G),c>m)throw"unexpected EOF";o&&a(d+131072);for(var Z=d+_;d<Z;d+=4)t[d]=t[d-F],t[d+1]=t[d+1-F],t[d+2]=t[d+2-F],t[d+3]=t[d+3-F];d=Z}}n.l=u,n.p=c,n.b=d,u&&(l=1,n.m=p,n.d=h,n.n=g)}while(!l);return d==t.length?t:Ut(t,0,d)}((function(e){if(8!=(15&e[0])||e[0]>>>4>7||(e[0]<<8|e[1])%31)throw"invalid zlib data";if(32&e[1])throw"invalid zlib data: preset dictionaries not supported"}(e),e.subarray(2,-4)),t)}const $t=e=>{if("string"!=typeof e)return e;try{const t=JSON.parse(e);if(t.timestamp)return t}catch(e){}try{const t=JSON.parse(function(e,t){var n="";if(!t&&"undefined"!=typeof TextDecoder)return(new TextDecoder).decode(e);for(var i=0;i<e.length;){var o=e[i++];o<128||t?n+=String.fromCharCode(o):o<224?n+=String.fromCharCode((31&o)<<6|63&e[i++]):o<240?n+=String.fromCharCode((15&o)<<12|(63&e[i++])<<6|63&e[i++]):(o=((15&o)<<18|(63&e[i++])<<12|(63&e[i++])<<6|63&e[i++])-65536,n+=String.fromCharCode(55296|o>>10,56320|1023&o))}return n}(Zt(function(e,t){var n=e.length;if(!t&&"undefined"!=typeof TextEncoder)return(new TextEncoder).encode(e);for(var i=new Ct(e.length+(e.length>>>1)),o=0,r=function(e){i[o++]=e},s=0;s<n;++s){if(o+5>i.length){var a=new Ct(o+8+(n-s<<1));a.set(i),i=a}var l=e.charCodeAt(s);l<128||t?r(l):l<2048?(r(192|l>>>6),r(128|63&l)):l>55295&&l<57344?(r(240|(l=65536+(1047552&l)|1023&e.charCodeAt(++s))>>>18),r(128|l>>>12&63),r(128|l>>>6&63),r(128|63&l)):(r(224|l>>>12),r(128|l>>>6&63),r(128|63&l))}return Ut(i,0,o)}(e,!0))));if("v1"===t.v)return t;throw new Error(`These events were packed with packer ${t.v} which is incompatible with current packer v1.`)}catch(e){throw console.error(e),new Error("Unknown data format.")}};function Kt(e){return{all:e=e||new Map,on:function(t,n){var i=e.get(t);i?i.push(n):e.set(t,[n])},off:function(t,n){var i=e.get(t);i&&(n?i.splice(i.indexOf(n)>>>0,1):e.set(t,[]))},emit:function(t,n){var i=e.get(t);i&&i.slice().map((function(e){e(n)})),(i=e.get("*"))&&i.slice().map((function(e){e(t,n)}))}}}var Yt,Pt=Object.freeze({__proto__:null,default:Kt});function Qt(e=window,t=document){if("scrollBehavior"in t.documentElement.style&&!0!==e.__forceSmoothScrollPolyfill__)return;const n=e.HTMLElement||e.Element,i={scroll:e.scroll||e.scrollTo,scrollBy:e.scrollBy,elementScroll:n.prototype.scroll||a,scrollIntoView:n.prototype.scrollIntoView},o=e.performance&&e.performance.now?e.performance.now.bind(e.performance):Date.now;const r=(s=e.navigator.userAgent,new RegExp(["MSIE ","Trident/","Edge/"].join("|")).test(s)?1:0);var s;function a(e,t){this.scrollLeft=e,this.scrollTop=t}function l(e){if(null===e||"object"!=typeof e||void 0===e.behavior||"auto"===e.behavior||"instant"===e.behavior)return!0;if("object"==typeof e&&"smooth"===e.behavior)return!1;throw new TypeError("behavior member of ScrollOptions "+e.behavior+" is not a valid value for enumeration ScrollBehavior.")}function c(e,t){return"Y"===t?e.clientHeight+r<e.scrollHeight:"X"===t?e.clientWidth+r<e.scrollWidth:void 0}function d(t,n){const i=e.getComputedStyle(t,null)["overflow"+n];return"auto"===i||"scroll"===i}function u(e){const t=c(e,"Y")&&d(e,"Y"),n=c(e,"X")&&d(e,"X");return t||n}function h(e){for(;e!==t.body&&!1===u(e);)e=e.parentNode||e.host;return e}function p(t){let n,i,r,s=(o()-t.startTime)/468;var a;s=s>1?1:s,a=s,n=.5*(1-Math.cos(Math.PI*a)),i=t.startX+(t.x-t.startX)*n,r=t.startY+(t.y-t.startY)*n,t.method.call(t.scrollable,i,r),i===t.x&&r===t.y||e.requestAnimationFrame(p.bind(e,t))}function g(n,r,s){let l,c,d,u;const h=o();n===t.body?(l=e,c=e.scrollX||e.pageXOffset,d=e.scrollY||e.pageYOffset,u=i.scroll):(l=n,c=n.scrollLeft,d=n.scrollTop,u=a),p({scrollable:l,method:u,startTime:h,startX:c,startY:d,x:r,y:s})}e.scroll=e.scrollTo=function(){void 0!==arguments[0]&&(!0!==l(arguments[0])?g.call(e,t.body,void 0!==arguments[0].left?~~arguments[0].left:e.scrollX||e.pageXOffset,void 0!==arguments[0].top?~~arguments[0].top:e.scrollY||e.pageYOffset):i.scroll.call(e,void 0!==arguments[0].left?arguments[0].left:"object"!=typeof arguments[0]?arguments[0]:e.scrollX||e.pageXOffset,void 0!==arguments[0].top?arguments[0].top:void 0!==arguments[1]?arguments[1]:e.scrollY||e.pageYOffset))},e.scrollBy=function(){void 0!==arguments[0]&&(l(arguments[0])?i.scrollBy.call(e,void 0!==arguments[0].left?arguments[0].left:"object"!=typeof arguments[0]?arguments[0]:0,void 0!==arguments[0].top?arguments[0].top:void 0!==arguments[1]?arguments[1]:0):g.call(e,t.body,~~arguments[0].left+(e.scrollX||e.pageXOffset),~~arguments[0].top+(e.scrollY||e.pageYOffset)))},n.prototype.scroll=n.prototype.scrollTo=function(){if(void 0===arguments[0])return;if(!0===l(arguments[0])){if("number"==typeof arguments[0]&&void 0===arguments[1])throw new SyntaxError("Value could not be converted");return void i.elementScroll.call(this,void 0!==arguments[0].left?~~arguments[0].left:"object"!=typeof arguments[0]?~~arguments[0]:this.scrollLeft,void 0!==arguments[0].top?~~arguments[0].top:void 0!==arguments[1]?~~arguments[1]:this.scrollTop)}const e=arguments[0].left,t=arguments[0].top;g.call(this,this,void 0===e?this.scrollLeft:~~e,void 0===t?this.scrollTop:~~t)},n.prototype.scrollBy=function(){void 0!==arguments[0]&&(!0!==l(arguments[0])?this.scroll({left:~~arguments[0].left+this.scrollLeft,top:~~arguments[0].top+this.scrollTop,behavior:arguments[0].behavior}):i.elementScroll.call(this,void 0!==arguments[0].left?~~arguments[0].left+this.scrollLeft:~~arguments[0]+this.scrollLeft,void 0!==arguments[0].top?~~arguments[0].top+this.scrollTop:~~arguments[1]+this.scrollTop))},n.prototype.scrollIntoView=function(){if(!0===l(arguments[0]))return void i.scrollIntoView.call(this,void 0===arguments[0]||arguments[0]);const n=h(this),o=n.getBoundingClientRect(),r=this.getBoundingClientRect();n!==t.body?(g.call(this,n,n.scrollLeft+r.left-o.left,n.scrollTop+r.top-o.top),"fixed"!==e.getComputedStyle(n).position&&e.scrollBy({left:o.left,top:o.top,behavior:"smooth"})):e.scrollBy({left:r.left,top:r.top,behavior:"smooth"})}}class zt{constructor(e=[],t){this.timeOffset=0,this.raf=null,this.actions=e,this.speed=t.speed,this.liveMode=t.liveMode}addAction(e){if(!this.actions.length||this.actions[this.actions.length-1].delay<=e.delay)return void this.actions.push(e);const t=this.findActionIndex(e);this.actions.splice(t,0,e)}start(){this.timeOffset=0;let e=performance.now();const t=()=>{const n=performance.now();for(this.timeOffset+=(n-e)*this.speed,e=n;this.actions.length;){const e=this.actions[0];if(!(this.timeOffset>=e.delay))break;this.actions.shift(),e.doAction()}(this.actions.length>0||this.liveMode)&&(this.raf=requestAnimationFrame(t))};this.raf=requestAnimationFrame(t)}clear(){this.raf&&(cancelAnimationFrame(this.raf),this.raf=null),this.actions.length=0}setSpeed(e){this.speed=e}toggleLiveMode(e){this.liveMode=e}isActive(){return null!==this.raf}findActionIndex(e){let t=0,n=this.actions.length-1;for(;t<=n;){const i=Math.floor((t+n)/2);if(this.actions[i].delay<e.delay)t=i+1;else{if(!(this.actions[i].delay>e.delay))return i+1;n=i-1}}return t}}function Jt(e,t){if(e.type===be.IncrementalSnapshot&&e.data.source===we.MouseMove&&e.data.positions&&e.data.positions.length){const n=e.data.positions[0].timeOffset,i=e.timestamp+n;return e.delay=i-t,i-t}return e.delay=e.timestamp-t,e.delay}
|
|
144578
|
+
/*! *****************************************************************************
|
|
144579
|
+
Copyright (c) Microsoft Corporation.
|
|
144580
|
+
|
|
144581
|
+
Permission to use, copy, modify, and/or distribute this software for any
|
|
144582
|
+
purpose with or without fee is hereby granted.
|
|
144583
|
+
|
|
144584
|
+
THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
|
|
144585
|
+
REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
|
|
144586
|
+
AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
|
|
144587
|
+
INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
|
|
144588
|
+
LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
|
|
144589
|
+
OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
|
|
144590
|
+
PERFORMANCE OF THIS SOFTWARE.
|
|
144591
|
+
***************************************************************************** */function Xt(e,t){var n="function"==typeof Symbol&&e[Symbol.iterator];if(!n)return e;var i,o,r=n.call(e),s=[];try{for(;(void 0===t||t-- >0)&&!(i=r.next()).done;)s.push(i.value)}catch(e){o={error:e}}finally{try{i&&!i.done&&(n=r.return)&&n.call(r)}finally{if(o)throw o.error}}return s}!function(e){e[e.NotStarted=0]="NotStarted",e[e.Running=1]="Running",e[e.Stopped=2]="Stopped"}(Yt||(Yt={}));var Ht={type:"xstate.init"};function jt(e){return void 0===e?[]:[].concat(e)}function qt(e){return{type:"xstate.assign",assignment:e}}function en(e,t){return"string"==typeof(e="string"==typeof e&&t&&t[e]?t[e]:e)?{type:e}:"function"==typeof e?{type:e.name,exec:e}:e}function tn(e){return function(t){return e===t}}function nn(e){return"string"==typeof e?{type:e}:e}function on(e,t){return{value:e,context:t,actions:[],changed:!1,matches:tn(e)}}function rn(e,t,n){var i=t,o=!1;return[e.filter((function(e){if("xstate.assign"===e.type){o=!0;var t=Object.assign({},i);return"function"==typeof e.assignment?t=e.assignment(i,n):Object.keys(e.assignment).forEach((function(o){t[o]="function"==typeof e.assignment[o]?e.assignment[o](i,n):e.assignment[o]})),i=t,!1}return!0})),i,o]}function sn(e,t){void 0===t&&(t={});var n=Xt(rn(jt(e.states[e.initial].entry).map((function(e){return en(e,t.actions)})),e.context,Ht),2),i=n[0],o=n[1],r={config:e,_options:t,initialState:{value:e.initial,actions:i,context:o,matches:tn(e.initial)},transition:function(t,n){var i,o,s="string"==typeof t?{value:t,context:e.context}:t,a=s.value,l=s.context,c=nn(n),d=e.states[a];if(d.on){var u=jt(d.on[c.type]);try{for(var h=function(e){var t="function"==typeof Symbol&&Symbol.iterator,n=t&&e[t],i=0;if(n)return n.call(e);if(e&&"number"==typeof e.length)return{next:function(){return e&&i>=e.length&&(e=void 0),{value:e&&e[i++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")}(u),p=h.next();!p.done;p=h.next()){var g=p.value;if(void 0===g)return on(a,l);var m="string"==typeof g?{target:g}:g,f=m.target,y=m.actions,v=void 0===y?[]:y,C=m.cond,I=void 0===C?function(){return!0}:C,A=void 0===f,b=null!=f?f:a,w=e.states[b];if(I(l,c)){var N=Xt(rn((A?jt(v):[].concat(d.exit,v,w.entry).filter((function(e){return e}))).map((function(e){return en(e,r._options.actions)})),l,c),3),E=N[0],S=N[1],T=N[2],D=null!=f?f:a;return{value:D,context:S,actions:E,changed:f!==a||E.length>0||T,matches:tn(D)}}}}catch(e){i={error:e}}finally{try{p&&!p.done&&(o=h.return)&&o.call(h)}finally{if(i)throw i.error}}}return on(a,l)}};return r}var an=function(e,t){return e.actions.forEach((function(n){var i=n.exec;return i&&i(e.context,t)}))};function ln(e){var t=e.initialState,n=Yt.NotStarted,i=new Set,o={_machine:e,send:function(o){n===Yt.Running&&(t=e.transition(t,o),an(t,nn(o)),i.forEach((function(e){return e(t)})))},subscribe:function(e){return i.add(e),e(t),{unsubscribe:function(){return i.delete(e)}}},start:function(i){if(i){var r="object"==typeof i?i:{context:e.config.context,value:i};t={value:r.value,actions:[],context:r.context,matches:tn(r.value)}}return n=Yt.Running,an(t,Ht),o},stop:function(){return n=Yt.Stopped,i.clear(),o},get state(){return t},get status(){return n}};return o}function cn(e,{getCastFn:t,applyEventsSynchronously:n,emitter:i}){const o=sn({id:"player",context:e,initial:"paused",states:{playing:{on:{PAUSE:{target:"paused",actions:["pause"]},CAST_EVENT:{target:"playing",actions:"castEvent"},END:{target:"paused",actions:["resetLastPlayedEvent","pause"]},ADD_EVENT:{target:"playing",actions:["addEvent"]}}},paused:{on:{PLAY:{target:"playing",actions:["recordTimeOffset","play"]},CAST_EVENT:{target:"paused",actions:"castEvent"},TO_LIVE:{target:"live",actions:["startLive"]},ADD_EVENT:{target:"paused",actions:["addEvent"]}}},live:{on:{ADD_EVENT:{target:"live",actions:["addEvent"]},CAST_EVENT:{target:"live",actions:["castEvent"]}}}}},{actions:{castEvent:qt({lastPlayedEvent:(e,t)=>"CAST_EVENT"===t.type?t.payload.event:e.lastPlayedEvent}),recordTimeOffset:qt(((e,t)=>{let n=e.timeOffset;return"payload"in t&&"timeOffset"in t.payload&&(n=t.payload.timeOffset),Object.assign(Object.assign({},e),{timeOffset:n,baselineTime:e.events[0].timestamp+n})})),play(e){var o;const{timer:r,events:s,baselineTime:a,lastPlayedEvent:l}=e;r.clear();for(const e of s)Jt(e,a);const c=function(e,t){for(let n=e.length-1;n>=0;n--){const i=e[n];if(i.type===be.Meta&&i.timestamp<=t)return e.slice(n)}return e}(s,a);let d=null==l?void 0:l.timestamp;(null==l?void 0:l.type)===be.IncrementalSnapshot&&l.data.source===we.MouseMove&&(d=l.timestamp+(null===(o=l.data.positions[0])||void 0===o?void 0:o.timeOffset)),a<(d||0)&&i.emit(Se.PlayBack);const u=new Array;for(const e of c)if(!(d&&d<a&&(e.timestamp<=d||e===l)))if(e.timestamp<a)u.push(e);else{const n=t(e,!1);r.addAction({doAction:()=>{n()},delay:e.delay})}n(u),i.emit(Se.Flush),r.start()},pause(e){e.timer.clear()},resetLastPlayedEvent:qt((e=>Object.assign(Object.assign({},e),{lastPlayedEvent:null}))),startLive:qt({baselineTime:(e,t)=>(e.timer.toggleLiveMode(!0),e.timer.start(),"TO_LIVE"===t.type&&t.payload.baselineTime?t.payload.baselineTime:Date.now())}),addEvent:qt(((e,n)=>{const{baselineTime:i,timer:o,events:r}=e;if("ADD_EVENT"===n.type){const{event:e}=n.payload;Jt(e,i);let s=r.length-1;if(!r[s]||r[s].timestamp<=e.timestamp)r.push(e);else{let t=-1,n=0;for(;n<=s;){const t=Math.floor((n+s)/2);r[t].timestamp<=e.timestamp?n=t+1:s=t-1}-1===t&&(t=n),r.splice(t,0,e)}const a=e.timestamp<i,l=t(e,a);a?l():o.isActive()&&o.addAction({doAction:()=>{l()},delay:e.delay})}return Object.assign(Object.assign({},e),{events:r})}))}});return ln(o)}const dn=new Map;function un(e,t){let n=dn.get(e);return n||(n=new Map,dn.set(e,n)),n.has(t)||n.set(t,[]),n.get(t)}function hn(e,t,n){return i=>Te(this,void 0,void 0,(function*(){if(i&&"object"==typeof i&&"rr_type"in i){if(n&&(n.isUnchanged=!1),"ImageBitmap"===i.rr_type&&"args"in i){const o=yield hn(e,t,n)(i.args);return yield createImageBitmap.apply(null,o)}if("index"in i){if(n||null===t)return i;const{rr_type:e,index:o}=i;return un(t,e)[o]}if("args"in i){const{rr_type:o,args:r}=i;return new(0,window[o])(...yield Promise.all(r.map(hn(e,t,n))))}if("base64"in i)return function(e){var t,n,i,o,r,s=.75*e.length,a=e.length,l=0;"="===e[e.length-1]&&(s--,"="===e[e.length-2]&&s--);var c=new ArrayBuffer(s),d=new Uint8Array(c);for(t=0;t<a;t+=4)n=Me[e.charCodeAt(t)],i=Me[e.charCodeAt(t+1)],o=Me[e.charCodeAt(t+2)],r=Me[e.charCodeAt(t+3)],d[l++]=n<<2|i>>4,d[l++]=(15&i)<<4|o>>2,d[l++]=(3&o)<<6|63&r;return c}(i.base64);if("src"in i){const t=e.get(i.src);if(t)return t;{const t=new Image;return t.src=i.src,e.set(i.src,t),t}}if("data"in i&&"Blob"===i.rr_type){const o=yield Promise.all(i.data.map(hn(e,t,n)));return new Blob(o,{type:i.type})}}else if(Array.isArray(i)){return yield Promise.all(i.map(hn(e,t,n)))}return i}))}const pn=["WebGLActiveInfo","WebGLBuffer","WebGLFramebuffer","WebGLProgram","WebGLRenderbuffer","WebGLShader","WebGLShaderPrecisionFormat","WebGLTexture","WebGLUniformLocation","WebGLVertexArrayObject"];function gn({mutation:e,target:t,type:n,imageMap:i,errorHandler:o}){return Te(this,void 0,void 0,(function*(){try{const o=function(e,t){try{return t===Ee.WebGL?e.getContext("webgl")||e.getContext("experimental-webgl"):e.getContext("webgl2")}catch(e){return null}}(t,n);if(!o)return;if(e.setter)return void(o[e.property]=e.args[0]);const r=o[e.property],s=yield Promise.all(e.args.map(hn(i,o)));!function(e,t){if(!(null==t?void 0:t.constructor))return;const{name:n}=t.constructor;if(!pn.includes(n))return;const i=un(e,n);i.includes(t)||i.push(t)}(o,r.apply(o,s))}catch(t){o(e,t)}}))}function mn({event:e,mutation:t,target:n,imageMap:i,errorHandler:o}){return Te(this,void 0,void 0,(function*(){try{const o=n.getContext("2d");if(t.setter)return void(o[t.property]=t.args[0]);const r=o[t.property];if("drawImage"===t.property&&"string"==typeof t.args[0])i.get(e),r.apply(o,t.args);else{const e=yield Promise.all(t.args.map(hn(i,o)));r.apply(o,e)}}catch(e){o(t,e)}}))}function fn({event:e,mutation:t,target:n,imageMap:i,canvasEventMap:o,errorHandler:r}){return Te(this,void 0,void 0,(function*(){try{const s=o.get(e)||t,a="commands"in s?s.commands:[s];if([Ee.WebGL,Ee.WebGL2].includes(t.type)){for(let e=0;e<a.length;e++){const o=a[e];yield gn({mutation:o,type:t.type,target:n,imageMap:i,errorHandler:r})}return}for(let t=0;t<a.length;t++){const o=a[t];yield mn({event:e,mutation:o,target:n,imageMap:i,errorHandler:r})}}catch(e){r(t,e)}}))}const yn=Kt||Pt,vn={duration:500,lineCap:"round",lineWidth:3,strokeStyle:"red"};function Cn(e){return e.type==be.IncrementalSnapshot&&(e.data.source==we.TouchMove||e.data.source==we.MouseInteraction&&e.data.type==Ne.TouchStart)}class In{constructor(e,t){if(this.usingVirtualDom=!1,this.virtualDom=new rt,this.mouseTail=null,this.tailPositions=[],this.emitter=yn(),this.legacy_missingNodeRetryMap={},this.cache=le(),this.imageMap=new Map,this.canvasEventMap=new Map,this.mirror=q(),this.styleMirror=new Ae,this.firstFullSnapshot=null,this.newDocumentQueue=[],this.mousePos=null,this.touchActive=null,this.lastSelectionData=null,this.constructedStyleMutations=[],this.adoptedStyleSheets=[],this.handleResize=e=>{this.iframe.style.display="inherit";for(const t of[this.mouseTail,this.iframe])t&&(t.setAttribute("width",String(e.width)),t.setAttribute("height",String(e.height)))},this.applyEventsSynchronously=e=>{for(const t of e){switch(t.type){case be.DomContentLoaded:case be.Load:case be.Custom:continue;case be.FullSnapshot:case be.Meta:case be.Plugin:case be.IncrementalSnapshot:}this.getCastFn(t,!0)()}!0===this.touchActive?this.mouse.classList.add("touch-active"):!1===this.touchActive&&this.mouse.classList.remove("touch-active"),this.touchActive=null},this.getCastFn=(e,t=!1)=>{let n;switch(e.type){case be.DomContentLoaded:case be.Load:break;case be.Custom:n=()=>{this.emitter.emit(Se.CustomEvent,e)};break;case be.Meta:n=()=>this.emitter.emit(Se.Resize,{width:e.data.width,height:e.data.height});break;case be.FullSnapshot:n=()=>{var n;if(this.firstFullSnapshot){if(this.firstFullSnapshot===e)return void(this.firstFullSnapshot=!0)}else this.firstFullSnapshot=!0;this.rebuildFullSnapshot(e,t),null===(n=this.iframe.contentWindow)||void 0===n||n.scrollTo(e.data.initialOffset),this.styleMirror.reset()};break;case be.IncrementalSnapshot:n=()=>{if(this.applyIncremental(e,t),!t&&(e===this.nextUserInteractionEvent&&(this.nextUserInteractionEvent=null,this.backToNormal()),this.config.skipInactive&&!this.nextUserInteractionEvent)){for(const t of this.service.state.context.events)if(!(t.timestamp<=e.timestamp)&&this.isUserInteraction(t)){t.delay-e.delay>1e4*this.speedService.state.context.timer.speed&&(this.nextUserInteractionEvent=t);break}if(this.nextUserInteractionEvent){const t=this.nextUserInteractionEvent.delay-e.delay,n={speed:Math.min(Math.round(t/5e3),this.config.maxSpeed)};this.speedService.send({type:"FAST_FORWARD",payload:n}),this.emitter.emit(Se.SkipStart,n)}}}}return()=>{n&&n();for(const n of this.config.plugins||[])n.handler&&n.handler(e,t,{replayer:this});this.service.send({type:"CAST_EVENT",payload:{event:e}});const i=this.service.state.context.events.length-1;if(e===this.service.state.context.events[i]){const t=()=>{i<this.service.state.context.events.length-1||(this.backToNormal(),this.service.send("END"),this.emitter.emit(Se.Finish))};e.type===be.IncrementalSnapshot&&e.data.source===we.MouseMove&&e.data.positions.length?setTimeout((()=>{t()}),Math.max(0,50-e.data.positions[0].timeOffset)):t()}this.emitter.emit(Se.EventCast,e)}},!(null==t?void 0:t.liveMode)&&e.length<2)throw new Error("Replayer need at least 2 events.");const n={speed:1,maxSpeed:360,root:document.body,loadTimeout:0,skipInactive:!1,showWarning:!0,showDebug:!1,blockClass:"rr-block",liveMode:!1,insertStyleRules:[],triggerFocus:!0,UNSAFE_replayCanvas:!1,pauseAnimation:!0,mouseTail:vn,useVirtualDom:!0};this.config=Object.assign({},n,t),this.handleResize=this.handleResize.bind(this),this.getCastFn=this.getCastFn.bind(this),this.applyEventsSynchronously=this.applyEventsSynchronously.bind(this),this.emitter.on(Se.Resize,this.handleResize),this.setupDom();for(const e of this.config.plugins||[])e.getMirror&&e.getMirror({nodeMirror:this.mirror});this.emitter.on(Se.Flush,(()=>{if(this.usingVirtualDom){const e={mirror:this.mirror,applyCanvas:(e,t,n)=>{fn({event:e,mutation:t,target:n,imageMap:this.imageMap,canvasEventMap:this.canvasEventMap,errorHandler:this.warnCanvasMutationFailed.bind(this)})},applyInput:this.applyInput.bind(this),applyScroll:this.applyScroll.bind(this),applyStyleSheetMutation:(e,t)=>{e.source===we.StyleSheetRule?this.applyStyleSheetRule(e,t):e.source===we.StyleDeclaration&&this.applyStyleDeclaration(e,t)}};if(this.iframe.contentDocument&&nt(this.iframe.contentDocument,this.virtualDom,e,this.virtualDom.mirror),this.virtualDom.destroyTree(),this.usingVirtualDom=!1,Object.keys(this.legacy_missingNodeRetryMap).length)for(const t in this.legacy_missingNodeRetryMap)try{const n=this.legacy_missingNodeRetryMap[t],i=ot(n.node,this.mirror,this.virtualDom.mirror);nt(i,n.node,e,this.virtualDom.mirror),n.node=i}catch(e){this.config.showWarning&&console.warn(e)}this.constructedStyleMutations.forEach((e=>{this.applyStyleSheetMutation(e)})),this.constructedStyleMutations=[],this.adoptedStyleSheets.forEach((e=>{this.applyAdoptedStyleSheet(e)})),this.adoptedStyleSheets=[]}this.mousePos&&(this.moveAndHover(this.mousePos.x,this.mousePos.y,this.mousePos.id,!0,this.mousePos.debugData),this.mousePos=null),this.lastSelectionData&&(this.applySelection(this.lastSelectionData),this.lastSelectionData=null)})),this.emitter.on(Se.PlayBack,(()=>{this.firstFullSnapshot=null,this.mirror.reset(),this.styleMirror.reset()}));const i=new zt([],{speed:this.config.speed,liveMode:this.config.liveMode});this.service=cn({events:e.map((e=>t&&t.unpackFn?t.unpackFn(e):e)).sort(((e,t)=>e.timestamp-t.timestamp)),timer:i,timeOffset:0,baselineTime:0,lastPlayedEvent:null},{getCastFn:this.getCastFn,applyEventsSynchronously:this.applyEventsSynchronously,emitter:this.emitter}),this.service.start(),this.service.subscribe((e=>{this.emitter.emit(Se.StateChange,{player:e})})),this.speedService=ln(sn({id:"speed",context:{normalSpeed:-1,timer:i},initial:"normal",states:{normal:{on:{FAST_FORWARD:{target:"skipping",actions:["recordSpeed","setSpeed"]},SET_SPEED:{target:"normal",actions:["setSpeed"]}}},skipping:{on:{BACK_TO_NORMAL:{target:"normal",actions:["restoreSpeed"]},SET_SPEED:{target:"normal",actions:["setSpeed"]}}}}},{actions:{setSpeed:(e,t)=>{"payload"in t&&e.timer.setSpeed(t.payload.speed)},recordSpeed:qt({normalSpeed:e=>e.timer.speed}),restoreSpeed:e=>{e.timer.setSpeed(e.normalSpeed)}}})),this.speedService.start(),this.speedService.subscribe((e=>{this.emitter.emit(Se.StateChange,{speed:e})}));const o=this.service.state.context.events.find((e=>e.type===be.Meta)),r=this.service.state.context.events.find((e=>e.type===be.FullSnapshot));if(o){const{width:e,height:t}=o.data;setTimeout((()=>{this.emitter.emit(Se.Resize,{width:e,height:t})}),0)}r&&setTimeout((()=>{var e;this.firstFullSnapshot||(this.firstFullSnapshot=r,this.rebuildFullSnapshot(r),null===(e=this.iframe.contentWindow)||void 0===e||e.scrollTo(r.data.initialOffset))}),1),this.service.state.context.events.find(Cn)&&this.mouse.classList.add("touch-device")}get timer(){return this.service.state.context.timer}on(e,t){return this.emitter.on(e,t),this}off(e,t){return this.emitter.off(e,t),this}setConfig(e){Object.keys(e).forEach((t=>{e[t],this.config[t]=e[t]})),this.config.skipInactive||this.backToNormal(),void 0!==e.speed&&this.speedService.send({type:"SET_SPEED",payload:{speed:e.speed}}),void 0!==e.mouseTail&&(!1===e.mouseTail?this.mouseTail&&(this.mouseTail.style.display="none"):(this.mouseTail||(this.mouseTail=document.createElement("canvas"),this.mouseTail.width=Number.parseFloat(this.iframe.width),this.mouseTail.height=Number.parseFloat(this.iframe.height),this.mouseTail.classList.add("replayer-mouse-tail"),this.wrapper.insertBefore(this.mouseTail,this.iframe)),this.mouseTail.style.display="inherit"))}getMetaData(){const e=this.service.state.context.events[0],t=this.service.state.context.events[this.service.state.context.events.length-1];return{startTime:e.timestamp,endTime:t.timestamp,totalTime:t.timestamp-e.timestamp}}getCurrentTime(){return this.timer.timeOffset+this.getTimeOffset()}getTimeOffset(){const{baselineTime:e,events:t}=this.service.state.context;return e-t[0].timestamp}getMirror(){return this.mirror}play(e=0){var t,n;this.service.state.matches("paused")||this.service.send({type:"PAUSE"}),this.service.send({type:"PLAY",payload:{timeOffset:e}}),null===(n=null===(t=this.iframe.contentDocument)||void 0===t?void 0:t.getElementsByTagName("html")[0])||void 0===n||n.classList.remove("rrweb-paused"),this.emitter.emit(Se.Start)}pause(e){var t,n;void 0===e&&this.service.state.matches("playing")&&this.service.send({type:"PAUSE"}),"number"==typeof e&&(this.play(e),this.service.send({type:"PAUSE"})),null===(n=null===(t=this.iframe.contentDocument)||void 0===t?void 0:t.getElementsByTagName("html")[0])||void 0===n||n.classList.add("rrweb-paused"),this.emitter.emit(Se.Pause)}resume(e=0){console.warn("The 'resume' was deprecated in 1.0. Please use 'play' method which has the same interface."),this.play(e),this.emitter.emit(Se.Resume)}destroy(){this.pause(),this.config.root.removeChild(this.wrapper),this.emitter.emit(Se.Destroy)}startLive(e){this.service.send({type:"TO_LIVE",payload:{baselineTime:e}})}addEvent(e){const t=this.config.unpackFn?this.config.unpackFn(e):e;Cn(t)&&this.mouse.classList.add("touch-device"),Promise.resolve().then((()=>this.service.send({type:"ADD_EVENT",payload:{event:t}})))}enableInteract(){this.iframe.setAttribute("scrolling","auto"),this.iframe.style.pointerEvents="auto"}disableInteract(){this.iframe.setAttribute("scrolling","no"),this.iframe.style.pointerEvents="none"}resetCache(){this.cache=le()}setupDom(){this.wrapper=document.createElement("div"),this.wrapper.classList.add("replayer-wrapper"),this.config.root.appendChild(this.wrapper),this.mouse=document.createElement("div"),this.mouse.classList.add("replayer-mouse"),this.wrapper.appendChild(this.mouse),!1!==this.config.mouseTail&&(this.mouseTail=document.createElement("canvas"),this.mouseTail.classList.add("replayer-mouse-tail"),this.mouseTail.style.display="inherit",this.wrapper.appendChild(this.mouseTail)),this.iframe=document.createElement("iframe");const e=["allow-same-origin"];this.config.UNSAFE_replayCanvas&&e.push("allow-scripts"),this.iframe.style.display="none",this.iframe.setAttribute("sandbox",e.join(" ")),this.disableInteract(),this.wrapper.appendChild(this.iframe),this.iframe.contentWindow&&this.iframe.contentDocument&&(Qt(this.iframe.contentWindow,this.iframe.contentDocument),function(e=window){"NodeList"in e&&!e.NodeList.prototype.forEach&&(e.NodeList.prototype.forEach=Array.prototype.forEach),"DOMTokenList"in e&&!e.DOMTokenList.prototype.forEach&&(e.DOMTokenList.prototype.forEach=Array.prototype.forEach),Node.prototype.contains||(Node.prototype.contains=(...e)=>{let t=e[0];if(!(0 in e))throw new TypeError("1 argument is required");do{if(this===t)return!0}while(t=t&&t.parentNode);return!1})}(this.iframe.contentWindow))}rebuildFullSnapshot(e,t=!1){if(!this.iframe.contentDocument)return console.warn("Looks like your replayer has been destroyed.");Object.keys(this.legacy_missingNodeRetryMap).length&&console.warn("Found unresolved missing node map",this.legacy_missingNodeRetryMap),this.legacy_missingNodeRetryMap={};const n=[],i=(e,t)=>{this.collectIframeAndAttachDocument(n,e);for(const n of this.config.plugins||[])n.onBuild&&n.onBuild(e,{id:t,replayer:this})};ue(e.data.node,{doc:this.iframe.contentDocument,afterAppend:i,cache:this.cache,mirror:this.mirror}),i(this.iframe.contentDocument,e.data.node.id);for(const{mutationInQueue:e,builtNode:t}of n)this.attachDocumentToIframe(e,t),this.newDocumentQueue=this.newDocumentQueue.filter((t=>t!==e));const{documentElement:o,head:r}=this.iframe.contentDocument;this.insertStyleRules(o,r),this.service.state.matches("playing")||this.iframe.contentDocument.getElementsByTagName("html")[0].classList.add("rrweb-paused"),this.emitter.emit(Se.FullsnapshotRebuilded,e),t||this.waitForStylesheetLoad(),this.config.UNSAFE_replayCanvas&&this.preloadAllImages()}insertStyleRules(e,t){var n;const i=(o=this.config.blockClass,[`.${o} { background: currentColor }`,"noscript { display: none !important; }"]).concat(this.config.insertStyleRules);var o;if(this.config.pauseAnimation&&i.push("html.rrweb-paused *, html.rrweb-paused *:before, html.rrweb-paused *:after { animation-play-state: paused !important; }"),this.usingVirtualDom){const n=this.virtualDom.createElement("style");this.virtualDom.mirror.add(n,vt(n,this.virtualDom.unserializedId)),e.insertBefore(n,t),n.rules.push({source:we.StyleSheetRule,adds:i.map(((e,t)=>({rule:e,index:t})))})}else{const o=document.createElement("style");e.insertBefore(o,t);for(let e=0;e<i.length;e++)null===(n=o.sheet)||void 0===n||n.insertRule(i[e],e)}}attachDocumentToIframe(e,t){const n=this.usingVirtualDom?this.virtualDom.mirror:this.mirror,i=[],o=(e,o)=>{this.collectIframeAndAttachDocument(i,e);const r=n.getMeta(e);if((null==r?void 0:r.type)===X.Element&&"HTML"===(null==r?void 0:r.tagName.toUpperCase())){const{documentElement:e,head:n}=t.contentDocument;this.insertStyleRules(e,n)}for(const t of this.config.plugins||[])t.onBuild&&t.onBuild(e,{id:o,replayer:this})};de(e.node,{doc:t.contentDocument,mirror:n,hackCss:!0,skipChild:!1,afterAppend:o,cache:this.cache}),o(t.contentDocument,e.node.id);for(const{mutationInQueue:e,builtNode:t}of i)this.attachDocumentToIframe(e,t),this.newDocumentQueue=this.newDocumentQueue.filter((t=>t!==e))}collectIframeAndAttachDocument(e,t){if(fe(t,this.mirror)){const n=this.newDocumentQueue.find((e=>e.parentId===this.mirror.getId(t)));n&&e.push({mutationInQueue:n,builtNode:t})}}waitForStylesheetLoad(){var e;const t=null===(e=this.iframe.contentDocument)||void 0===e?void 0:e.head;if(t){const e=new Set;let n,i=this.service.state;const o=()=>{i=this.service.state};this.emitter.on(Se.Start,o),this.emitter.on(Se.Pause,o);const r=()=>{this.emitter.off(Se.Start,o),this.emitter.off(Se.Pause,o)};t.querySelectorAll('link[rel="stylesheet"]').forEach((t=>{t.sheet||(e.add(t),t.addEventListener("load",(()=>{e.delete(t),0===e.size&&-1!==n&&(i.matches("playing")&&this.play(this.getCurrentTime()),this.emitter.emit(Se.LoadStylesheetEnd),n&&clearTimeout(n),r())})))})),e.size>0&&(this.service.send({type:"PAUSE"}),this.emitter.emit(Se.LoadStylesheetStart),n=setTimeout((()=>{i.matches("playing")&&this.play(this.getCurrentTime()),n=-1,r()}),this.config.loadTimeout))}}preloadAllImages(){return Te(this,void 0,void 0,(function*(){this.service.state;const e=()=>{this.service.state};this.emitter.on(Se.Start,e),this.emitter.on(Se.Pause,e);const t=[];for(const e of this.service.state.context.events)if(e.type===be.IncrementalSnapshot&&e.data.source===we.CanvasMutation){t.push(this.deserializeAndPreloadCanvasEvents(e.data,e));("commands"in e.data?e.data.commands:[e.data]).forEach((t=>{this.preloadImages(t,e)}))}return Promise.all(t)}))}preloadImages(e,t){if("drawImage"===e.property&&"string"==typeof e.args[0]&&!this.imageMap.has(t)){const t=document.createElement("canvas"),n=t.getContext("2d"),i=null==n?void 0:n.createImageData(t.width,t.height);null==i||i.data,JSON.parse(e.args[0]),null==n||n.putImageData(i,0,0)}}deserializeAndPreloadCanvasEvents(e,t){return Te(this,void 0,void 0,(function*(){if(!this.canvasEventMap.has(t)){const n={isUnchanged:!0};if("commands"in e){const i=yield Promise.all(e.commands.map((e=>Te(this,void 0,void 0,(function*(){const t=yield Promise.all(e.args.map(hn(this.imageMap,null,n)));return Object.assign(Object.assign({},e),{args:t})})))));!1===n.isUnchanged&&this.canvasEventMap.set(t,Object.assign(Object.assign({},e),{commands:i}))}else{const i=yield Promise.all(e.args.map(hn(this.imageMap,null,n)));!1===n.isUnchanged&&this.canvasEventMap.set(t,Object.assign(Object.assign({},e),{args:i}))}}}))}applyIncremental(e,t){var n,i,o;const{data:r}=e;switch(r.source){case we.Mutation:try{this.applyMutation(r,t)}catch(e){this.warn(`Exception in mutation ${e.message||e}`,r)}break;case we.Drag:case we.TouchMove:case we.MouseMove:if(t){const e=r.positions[r.positions.length-1];this.mousePos={x:e.x,y:e.y,id:e.id,debugData:r}}else r.positions.forEach((n=>{const i={doAction:()=>{this.moveAndHover(n.x,n.y,n.id,t,r)},delay:n.timeOffset+e.timestamp-this.service.state.context.baselineTime};this.timer.addAction(i)})),this.timer.addAction({doAction(){},delay:e.delay-(null===(n=r.positions[0])||void 0===n?void 0:n.timeOffset)});break;case we.MouseInteraction:{if(-1===r.id||t)break;const e=new Event(Ne[r.type].toLowerCase()),n=this.mirror.getNode(r.id);if(!n)return this.debugNodeNotFound(r,r.id);this.emitter.emit(Se.MouseInteraction,{type:r.type,target:n});const{triggerFocus:i}=this.config;switch(r.type){case Ne.Blur:"blur"in n&&n.blur();break;case Ne.Focus:i&&n.focus&&n.focus({preventScroll:!0});break;case Ne.Click:case Ne.TouchStart:case Ne.TouchEnd:t?(r.type===Ne.TouchStart?this.touchActive=!0:r.type===Ne.TouchEnd&&(this.touchActive=!1),this.mousePos={x:r.x,y:r.y,id:r.id,debugData:r}):(r.type===Ne.TouchStart&&(this.tailPositions.length=0),this.moveAndHover(r.x,r.y,r.id,t,r),r.type===Ne.Click?(this.mouse.classList.remove("active"),this.mouse.offsetWidth,this.mouse.classList.add("active")):r.type===Ne.TouchStart?(this.mouse.offsetWidth,this.mouse.classList.add("touch-active")):r.type===Ne.TouchEnd&&this.mouse.classList.remove("touch-active"));break;case Ne.TouchCancel:t?this.touchActive=!1:this.mouse.classList.remove("touch-active");break;default:n.dispatchEvent(e)}break}case we.Scroll:if(-1===r.id)break;if(this.usingVirtualDom){const e=this.virtualDom.mirror.getNode(r.id);if(!e)return this.debugNodeNotFound(r,r.id);e.scrollData=r;break}this.applyScroll(r,t);break;case we.ViewportResize:this.emitter.emit(Se.Resize,{width:r.width,height:r.height});break;case we.Input:if(-1===r.id)break;if(this.usingVirtualDom){const e=this.virtualDom.mirror.getNode(r.id);if(!e)return this.debugNodeNotFound(r,r.id);e.inputData=r;break}this.applyInput(r);break;case we.MediaInteraction:{const e=this.usingVirtualDom?this.virtualDom.mirror.getNode(r.id):this.mirror.getNode(r.id);if(!e)return this.debugNodeNotFound(r,r.id);const t=e;try{r.currentTime&&(t.currentTime=r.currentTime),r.volume&&(t.volume=r.volume),r.muted&&(t.muted=r.muted),1===r.type&&t.pause(),0===r.type&&t.play(),4===r.type&&(t.playbackRate=r.playbackRate)}catch(e){this.config.showWarning&&console.warn(`Failed to replay media interactions: ${e.message||e}`)}break}case we.StyleSheetRule:case we.StyleDeclaration:this.usingVirtualDom?r.styleId?this.constructedStyleMutations.push(r):r.id&&(null===(i=this.virtualDom.mirror.getNode(r.id))||void 0===i||i.rules.push(r)):this.applyStyleSheetMutation(r);break;case we.CanvasMutation:if(!this.config.UNSAFE_replayCanvas)return;if(this.usingVirtualDom){const t=this.virtualDom.mirror.getNode(r.id);if(!t)return this.debugNodeNotFound(r,r.id);t.canvasMutations.push({event:e,mutation:r})}else{const t=this.mirror.getNode(r.id);if(!t)return this.debugNodeNotFound(r,r.id);fn({event:e,mutation:r,target:t,imageMap:this.imageMap,canvasEventMap:this.canvasEventMap,errorHandler:this.warnCanvasMutationFailed.bind(this)})}break;case we.Font:try{const e=new FontFace(r.family,r.buffer?new Uint8Array(JSON.parse(r.fontSource)):r.fontSource,r.descriptors);null===(o=this.iframe.contentDocument)||void 0===o||o.fonts.add(e)}catch(e){this.config.showWarning&&console.warn(e)}break;case we.Selection:if(t){this.lastSelectionData=r;break}this.applySelection(r);break;case we.AdoptedStyleSheet:this.usingVirtualDom?this.adoptedStyleSheets.push(r):this.applyAdoptedStyleSheet(r)}}applyMutation(e,t){if(this.config.useVirtualDom&&!this.usingVirtualDom&&t&&(this.usingVirtualDom=!0,ft(this.iframe.contentDocument,this.mirror,this.virtualDom),Object.keys(this.legacy_missingNodeRetryMap).length))for(const e in this.legacy_missingNodeRetryMap)try{const t=this.legacy_missingNodeRetryMap[e],n=mt(t.node,this.virtualDom,this.mirror);n&&(t.node=n)}catch(e){this.config.showWarning&&console.warn(e)}const n=this.usingVirtualDom?this.virtualDom.mirror:this.mirror;e.removes.forEach((t=>{var i;const o=n.getNode(t.id);if(!o){if(e.removes.find((e=>e.id===t.parentId)))return;return this.warnNodeNotFound(e,t.id)}let r=n.getNode(t.parentId);if(!r)return this.warnNodeNotFound(e,t.parentId);if(t.isShadow&&ve(r)&&(r=r.shadowRoot),n.removeNodeFromMap(o),r)try{r.removeChild(o),this.usingVirtualDom&&"#text"===o.nodeName&&"STYLE"===r.nodeName&&(null===(i=r.rules)||void 0===i?void 0:i.length)>0&&(r.rules=[])}catch(t){if(!(t instanceof DOMException))throw t;this.warn("parent could not remove child in mutation",r,o,e)}}));const i=Object.assign({},this.legacy_missingNodeRetryMap),o=[],r=e=>{var t;if(!this.iframe.contentDocument)return console.warn("Looks like your replayer has been destroyed.");let r=n.getNode(e.parentId);if(!r)return e.node.type===X.Document?this.newDocumentQueue.push(e):o.push(e);e.node.isShadow&&(ve(r)||r.attachShadow({mode:"open"}),r=r.shadowRoot);let s=null,a=null;if(e.previousId&&(s=n.getNode(e.previousId)),e.nextId&&(a=n.getNode(e.nextId)),(e=>{let t=null;return e.nextId&&(t=n.getNode(e.nextId)),null!==e.nextId&&void 0!==e.nextId&&-1!==e.nextId&&!t})(e))return o.push(e);if(e.node.rootId&&!n.getNode(e.node.rootId))return;const l=e.node.rootId?n.getNode(e.node.rootId):this.usingVirtualDom?this.virtualDom:this.iframe.contentDocument;if(fe(r,n))return void this.attachDocumentToIframe(e,r);const c=(e,t)=>{for(const n of this.config.plugins||[])n.onBuild&&n.onBuild(e,{id:t,replayer:this})},d=de(e.node,{doc:l,mirror:n,skipChild:!0,hackCss:!0,cache:this.cache,afterAppend:c});if(-1===e.previousId||-1===e.nextId)return void(i[e.node.id]={node:d,mutation:e});const u=n.getMeta(r);if(u&&u.type===X.Element&&"textarea"===u.tagName&&e.node.type===X.Text){const e=Array.isArray(r.childNodes)?r.childNodes:Array.from(r.childNodes);for(const t of e)t.nodeType===r.TEXT_NODE&&r.removeChild(t)}if(s&&s.nextSibling&&s.nextSibling.parentNode)r.insertBefore(d,s.nextSibling);else if(a&&a.parentNode)r.contains(a)?r.insertBefore(d,a):r.insertBefore(d,null);else{if(r===l)for(;l.firstChild;)l.removeChild(l.firstChild);r.appendChild(d)}if(c(d,e.node.id),this.usingVirtualDom&&"#text"===d.nodeName&&"STYLE"===r.nodeName&&(null===(t=r.rules)||void 0===t?void 0:t.length)>0&&(r.rules=[]),fe(d,this.mirror)){const e=this.mirror.getId(d),t=this.newDocumentQueue.find((t=>t.parentId===e));t&&(this.attachDocumentToIframe(t,d),this.newDocumentQueue=this.newDocumentQueue.filter((e=>e!==t)))}(e.previousId||e.nextId)&&this.legacy_resolveMissingNode(i,r,d,e)};e.adds.forEach((e=>{r(e)}));const s=Date.now();for(;o.length;){const e=ge(o);if(o.length=0,Date.now()-s>500){this.warn("Timeout in the loop, please check the resolve tree data:",e);break}for(const t of e){n.getNode(t.value.parentId)?me(t,(e=>{r(e)})):this.debug("Drop resolve tree since there is no parent for the root node.",t)}}Object.keys(i).length&&Object.assign(this.legacy_missingNodeRetryMap,i),function(e){const t=new Set,n=[];for(let i=e.length;i--;){const o=e[i];t.has(o.id)||(n.push(o),t.add(o.id))}return n}(e.texts).forEach((t=>{var i;const o=n.getNode(t.id);if(!o){if(e.removes.find((e=>e.id===t.id)))return;return this.warnNodeNotFound(e,t.id)}if(o.textContent=t.value,this.usingVirtualDom){const e=o.parentNode;(null===(i=null==e?void 0:e.rules)||void 0===i?void 0:i.length)>0&&(e.rules=[])}})),e.attributes.forEach((t=>{const i=n.getNode(t.id);if(!i){if(e.removes.find((e=>e.id===t.id)))return;return this.warnNodeNotFound(e,t.id)}for(const e in t.attributes)if("string"==typeof e){const o=t.attributes[e];if(null===o)i.removeAttribute(e);else if("string"==typeof o)try{if("_cssText"===e&&("LINK"===i.nodeName||"STYLE"===i.nodeName))try{const e=n.getMeta(i);Object.assign(e.attributes,t.attributes);const o=de(e,{doc:i.ownerDocument,mirror:n,skipChild:!0,hackCss:!0,cache:this.cache}),r=i.nextSibling,s=i.parentNode;if(o&&s){s.removeChild(i),s.insertBefore(o,r),n.replace(t.id,o);break}}catch(e){}i.setAttribute(e,o)}catch(e){this.config.showWarning&&console.warn("An error occurred may due to the checkout feature.",e)}else if("style"===e){const e=o,t=i;for(const n in e)if(!1===e[n])t.style.removeProperty(n);else if(e[n]instanceof Array){const i=e[n];t.style.setProperty(n,i[0],i[1])}else{const i=e[n];t.style.setProperty(n,i)}}}}))}applyScroll(e,t){var n,i;const o=this.mirror.getNode(e.id);if(!o)return this.debugNodeNotFound(e,e.id);const r=this.mirror.getMeta(o);if(o===this.iframe.contentDocument)null===(n=this.iframe.contentWindow)||void 0===n||n.scrollTo({top:e.y,left:e.x,behavior:t?"auto":"smooth"});else if((null==r?void 0:r.type)===X.Document)null===(i=o.defaultView)||void 0===i||i.scrollTo({top:e.y,left:e.x,behavior:t?"auto":"smooth"});else try{o.scrollTo({top:e.y,left:e.x,behavior:t?"auto":"smooth"})}catch(e){}}applyInput(e){const t=this.mirror.getNode(e.id);if(!t)return this.debugNodeNotFound(e,e.id);try{t.checked=e.isChecked,t.value=e.text}catch(e){}}applySelection(e){try{const t=new Set,n=e.ranges.map((({start:e,startOffset:n,end:i,endOffset:o})=>{const r=this.mirror.getNode(e),s=this.mirror.getNode(i);if(!r||!s)return;const a=new Range;a.setStart(r,n),a.setEnd(s,o);const l=r.ownerDocument,c=null==l?void 0:l.getSelection();return c&&t.add(c),{range:a,selection:c}}));t.forEach((e=>e.removeAllRanges())),n.forEach((e=>{var t;return e&&(null===(t=e.selection)||void 0===t?void 0:t.addRange(e.range))}))}catch(e){}}applyStyleSheetMutation(e){var t;let n=null;e.styleId?n=this.styleMirror.getStyle(e.styleId):e.id&&(n=(null===(t=this.mirror.getNode(e.id))||void 0===t?void 0:t.sheet)||null),n&&(e.source===we.StyleSheetRule?this.applyStyleSheetRule(e,n):e.source===we.StyleDeclaration&&this.applyStyleDeclaration(e,n))}applyStyleSheetRule(e,t){var n,i,o,r;if(null===(n=e.adds)||void 0===n||n.forEach((({rule:e,index:n})=>{try{if(Array.isArray(n)){const{positions:i,index:o}=Ie(n);Ce(t.cssRules,i).insertRule(e,o)}else{const i=void 0===n?void 0:Math.min(n,t.cssRules.length);null==t||t.insertRule(e,i)}}catch(e){}})),null===(i=e.removes)||void 0===i||i.forEach((({index:e})=>{try{if(Array.isArray(e)){const{positions:n,index:i}=Ie(e);Ce(t.cssRules,n).deleteRule(i||0)}else null==t||t.deleteRule(e)}catch(e){}})),e.replace)try{null===(o=t.replace)||void 0===o||o.call(t,e.replace)}catch(e){}if(e.replaceSync)try{null===(r=t.replaceSync)||void 0===r||r.call(t,e.replaceSync)}catch(e){}}applyStyleDeclaration(e,t){if(e.set){Ce(t.rules,e.index).style.setProperty(e.set.property,e.set.value,e.set.priority)}if(e.remove){Ce(t.rules,e.index).style.removeProperty(e.remove.property)}}applyAdoptedStyleSheet(e){var t;const n=this.mirror.getNode(e.id);if(!n)return;null===(t=e.styles)||void 0===t||t.forEach((e=>{var t;let i=null,o=null;if(ve(n)?o=(null===(t=n.ownerDocument)||void 0===t?void 0:t.defaultView)||null:"#document"===n.nodeName&&(o=n.defaultView),o)try{i=new o.CSSStyleSheet,this.styleMirror.add(i,e.styleId),this.applyStyleSheetRule({source:we.StyleSheetRule,adds:e.rules},i)}catch(e){}}));let i=0;const o=(e,t)=>{const n=t.map((e=>this.styleMirror.getStyle(e))).filter((e=>null!==e));ve(e)?e.shadowRoot.adoptedStyleSheets=n:"#document"===e.nodeName&&(e.adoptedStyleSheets=n),n.length!==t.length&&i<10&&(setTimeout((()=>o(e,t)),0+100*i),i++)};o(n,e.styleIds)}legacy_resolveMissingNode(e,t,n,i){const{previousId:o,nextId:r}=i,s=o&&e[o],a=r&&e[r];if(s){const{node:i,mutation:o}=s;t.insertBefore(i,n),delete e[o.node.id],delete this.legacy_missingNodeRetryMap[o.node.id],(o.previousId||o.nextId)&&this.legacy_resolveMissingNode(e,t,i,o)}if(a){const{node:i,mutation:o}=a;t.insertBefore(i,n.nextSibling),delete e[o.node.id],delete this.legacy_missingNodeRetryMap[o.node.id],(o.previousId||o.nextId)&&this.legacy_resolveMissingNode(e,t,i,o)}}moveAndHover(e,t,n,i,o){const r=this.mirror.getNode(n);if(!r)return this.debugNodeNotFound(o,n);const s=ye(r,this.iframe),a=e*s.absoluteScale+s.x,l=t*s.absoluteScale+s.y;this.mouse.style.left=`${a}px`,this.mouse.style.top=`${l}px`,i||this.drawMouseTail({x:a,y:l}),this.hoverElements(r)}drawMouseTail(e){if(!this.mouseTail)return;const{lineCap:t,lineWidth:n,strokeStyle:i,duration:o}=!0===this.config.mouseTail?vn:Object.assign({},vn,this.config.mouseTail),r=()=>{if(!this.mouseTail)return;const e=this.mouseTail.getContext("2d");e&&this.tailPositions.length&&(e.clearRect(0,0,this.mouseTail.width,this.mouseTail.height),e.beginPath(),e.lineWidth=n,e.lineCap=t,e.strokeStyle=i,e.moveTo(this.tailPositions[0].x,this.tailPositions[0].y),this.tailPositions.forEach((t=>e.lineTo(t.x,t.y))),e.stroke())};this.tailPositions.push(e),r(),setTimeout((()=>{this.tailPositions=this.tailPositions.filter((t=>t!==e)),r()}),o/this.speedService.state.context.timer.speed)}hoverElements(e){var t;null===(t=this.iframe.contentDocument)||void 0===t||t.querySelectorAll(".\\:hover").forEach((e=>{e.classList.remove(":hover")}));let n=e;for(;n;)n.classList&&n.classList.add(":hover"),n=n.parentElement}isUserInteraction(e){return e.type===be.IncrementalSnapshot&&(e.data.source>we.Mutation&&e.data.source<=we.Input)}backToNormal(){this.nextUserInteractionEvent=null,this.speedService.state.matches("normal")||(this.speedService.send({type:"BACK_TO_NORMAL"}),this.emitter.emit(Se.SkipEnd,{speed:this.speedService.state.context.normalSpeed}))}warnNodeNotFound(e,t){this.warn(`Node with id '${t}' not found. `,e)}warnCanvasMutationFailed(e,t){this.warn("Has error on canvas update",t,"canvas mutation:",e)}debugNodeNotFound(e,t){this.debug("[replayer]",`Node with id '${t}' not found. `,e)}warn(...e){this.config.showWarning&&console.warn("[replayer]",...e)}debug(...e){this.config.showDebug&&console.log("[replayer]",...e)}}function An(e){let t="";return Object.keys(e).forEach((n=>{t+=`${n}: ${e[n]};`})),t}function bn(e,t=2){let n=String(e);const i=Math.pow(10,t-1);if(e<i)for(;String(i).length>n.length;)n=`0${e}`;return n}function wn(e){if(e<=0)return"00:00";const t=Math.floor(e/36e5);e%=36e5;const n=Math.floor(e/6e4);e%=6e4;const i=Math.floor(e/1e3);return t?`${bn(t)}:${bn(n)}:${bn(i)}`:`${bn(n)}:${bn(i)}`}function Nn(){let e=!1;return["fullscreen","webkitIsFullScreen","mozFullScreen","msFullscreenElement"].forEach((t=>{t in document&&(e=e||Boolean(document[t]))})),e}function En(e){return{"[object Boolean]":"boolean","[object Number]":"number","[object String]":"string","[object Function]":"function","[object Array]":"array","[object Date]":"date","[object RegExp]":"regExp","[object Undefined]":"undefined","[object Null]":"null","[object Object]":"object"}[Object.prototype.toString.call(e)]}function Sn(e){return e.type===be.IncrementalSnapshot&&(e.data.source>we.Mutation&&e.data.source<=we.Input)}function Tn(t){let n,i,o,r,s,a,u,p,C;return{c(){n=h("div"),i=h("input"),o=m(),r=h("label"),s=m(),a=h("span"),u=g(t[3]),y(i,"type","checkbox"),y(i,"id",t[2]),i.disabled=t[1],y(i,"class","svelte-9brlez"),y(r,"for",t[2]),y(r,"class","svelte-9brlez"),y(a,"class","label svelte-9brlez"),y(n,"class","switch svelte-9brlez"),I(n,"disabled",t[1])},m(e,d){c(e,n,d),l(n,i),i.checked=t[0],l(n,o),l(n,r),l(n,s),l(n,a),l(a,u),p||(C=f(i,"change",t[4]),p=!0)},p(e,[t]){4&t&&y(i,"id",e[2]),2&t&&(i.disabled=e[1]),1&t&&(i.checked=e[0]),4&t&&y(r,"for",e[2]),8&t&&v(u,e[3]),2&t&&I(n,"disabled",e[1])},i:e,o:e,d(e){e&&d(n),p=!1,C()}}}function Dn(e,t,n){let{disabled:i}=t,{checked:o}=t,{id:r}=t,{label:s}=t;return e.$$set=e=>{"disabled"in e&&n(1,i=e.disabled),"checked"in e&&n(0,o=e.checked),"id"in e&&n(2,r=e.id),"label"in e&&n(3,s=e.label)},[o,i,r,s,function(){o=this.checked,n(0,o)}]}class Mn extends J{constructor(e){super(),z(this,e,Dn,Tn,s,{disabled:1,checked:0,id:2,label:3})}}function Rn(e,t,n){const i=e.slice();return i[39]=t[n],i}function xn(e,t,n){const i=e.slice();return i[42]=t[n],i}function kn(e,t,n){const i=e.slice();return i[45]=t[n],i}function Fn(e){let t,n,i,r,s,a,p,A,b,w,N,E,S,T,M,x,k,F,O,B,L,V,_,G,W,U,Q=wn(e[6])+"",z=wn(e[8].totalTime)+"",J=e[14],X=[];for(let t=0;t<J.length;t+=1)X[t]=On(kn(e,J,t));let H=e[9],j=[];for(let t=0;t<H.length;t+=1)j[t]=Bn(xn(e,H,t));function q(e,t){return"playing"===e[7]?Vn:Ln}let ee=q(e),te=ee(e),ne=e[3],ie=[];for(let t=0;t<ne.length;t+=1)ie[t]=_n(Rn(e,ne,t));function oe(t){e[30](t)}let re={id:"skip",disabled:"skipping"===e[10],label:"skip inactive"};return void 0!==e[0]&&(re.checked=e[0]),B=new Mn({props:re}),D.push((()=>function(e,t,n){const i=e.$$.props[t];void 0!==i&&(e.$$.bound[i]=n,n(e.$$.ctx[i]))}(B,"checked",oe))),{c(){t=h("div"),n=h("div"),i=h("span"),r=g(Q),s=m(),a=h("div"),p=h("div"),A=m();for(let e=0;e<X.length;e+=1)X[e].c();b=m();for(let e=0;e<j.length;e+=1)j[e].c();w=m(),N=h("div"),E=m(),S=h("span"),T=g(z),M=m(),x=h("div"),k=h("button"),te.c(),F=m();for(let e=0;e<ie.length;e+=1)ie[e].c();O=m(),K(B.$$.fragment),V=m(),_=h("button"),_.innerHTML='<svg class="icon" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" width="16" height="16"><defs><style type="text/css"></style></defs><path d="M916 380c-26.4 0-48-21.6-48-48L868 223.2 613.6 477.6c-18.4\n 18.4-48.8 18.4-68 0-18.4-18.4-18.4-48.8 0-68L800 156 692 156c-26.4\n 0-48-21.6-48-48 0-26.4 21.6-48 48-48l224 0c26.4 0 48 21.6 48 48l0\n 224C964 358.4 942.4 380 916 380zM231.2 860l108.8 0c26.4 0 48 21.6 48\n 48s-21.6 48-48 48l-224 0c-26.4 0-48-21.6-48-48l0-224c0-26.4 21.6-48\n 48-48 26.4 0 48 21.6 48 48L164 792l253.6-253.6c18.4-18.4 48.8-18.4\n 68 0 18.4 18.4 18.4 48.8 0 68L231.2 860z" p-id="1286"></path></svg>',y(i,"class","rr-timeline__time svelte-19ke1iv"),y(p,"class","rr-progress__step svelte-19ke1iv"),C(p,"width",e[13]),y(N,"class","rr-progress__handler svelte-19ke1iv"),C(N,"left",e[13]),y(a,"class","rr-progress svelte-19ke1iv"),I(a,"disabled","skipping"===e[10]),y(S,"class","rr-timeline__time svelte-19ke1iv"),y(n,"class","rr-timeline svelte-19ke1iv"),y(k,"class","svelte-19ke1iv"),y(_,"class","svelte-19ke1iv"),y(x,"class","rr-controller__btns svelte-19ke1iv"),y(t,"class","rr-controller svelte-19ke1iv")},m(o,d){c(o,t,d),l(t,n),l(n,i),l(i,r),l(n,s),l(n,a),l(a,p),e[27](p),l(a,A);for(let e=0;e<X.length;e+=1)X[e].m(a,null);l(a,b);for(let e=0;e<j.length;e+=1)j[e].m(a,null);l(a,w),l(a,N),e[28](a),l(n,E),l(n,S),l(S,T),l(t,M),l(t,x),l(x,k),te.m(k,null),l(x,F);for(let e=0;e<ie.length;e+=1)ie[e].m(x,null);l(x,O),Y(B,x,null),l(x,V),l(x,_),G=!0,W||(U=[f(a,"click",e[16]),f(k,"click",e[4]),f(_,"click",e[31])],W=!0)},p(e,t){if((!G||64&t[0])&&Q!==(Q=wn(e[6])+"")&&v(r,Q),(!G||8192&t[0])&&C(p,"width",e[13]),16384&t[0]){let n;for(J=e[14],n=0;n<J.length;n+=1){const i=kn(e,J,n);X[n]?X[n].p(i,t):(X[n]=On(i),X[n].c(),X[n].m(a,b))}for(;n<X.length;n+=1)X[n].d(1);X.length=J.length}if(512&t[0]){let n;for(H=e[9],n=0;n<H.length;n+=1){const i=xn(e,H,n);j[n]?j[n].p(i,t):(j[n]=Bn(i),j[n].c(),j[n].m(a,w))}for(;n<j.length;n+=1)j[n].d(1);j.length=H.length}if((!G||8192&t[0])&&C(N,"left",e[13]),1024&t[0]&&I(a,"disabled","skipping"===e[10]),(!G||256&t[0])&&z!==(z=wn(e[8].totalTime)+"")&&v(T,z),ee!==(ee=q(e))&&(te.d(1),te=ee(e),te&&(te.c(),te.m(k,null))),1066&t[0]){let n;for(ne=e[3],n=0;n<ne.length;n+=1){const i=Rn(e,ne,n);ie[n]?ie[n].p(i,t):(ie[n]=_n(i),ie[n].c(),ie[n].m(x,O))}for(;n<ie.length;n+=1)ie[n].d(1);ie.length=ne.length}const n={};var i;1024&t[0]&&(n.disabled="skipping"===e[10]),!L&&1&t[0]&&(L=!0,n.checked=e[0],i=()=>L=!1,R.push(i)),B.$set(n)},i(e){G||(Z(B.$$.fragment,e),G=!0)},o(e){$(B.$$.fragment,e),G=!1},d(n){n&&d(t),e[27](null),u(X,n),u(j,n),e[28](null),te.d(),u(ie,n),P(B),W=!1,o(U)}}}function On(e){let t,n;return{c(){t=h("div"),y(t,"title",n=e[45].name),C(t,"width",e[45].width),C(t,"height","4px"),C(t,"position","absolute"),C(t,"background",e[45].background),C(t,"left",e[45].position)},m(e,n){c(e,t,n)},p(e,i){16384&i[0]&&n!==(n=e[45].name)&&y(t,"title",n),16384&i[0]&&C(t,"width",e[45].width),16384&i[0]&&C(t,"background",e[45].background),16384&i[0]&&C(t,"left",e[45].position)},d(e){e&&d(t)}}}function Bn(e){let t,n;return{c(){t=h("div"),y(t,"title",n=e[42].name),C(t,"width","10px"),C(t,"height","5px"),C(t,"position","absolute"),C(t,"top","2px"),C(t,"transform","translate(-50%, -50%)"),C(t,"background",e[42].background),C(t,"left",e[42].position)},m(e,n){c(e,t,n)},p(e,i){512&i[0]&&n!==(n=e[42].name)&&y(t,"title",n),512&i[0]&&C(t,"background",e[42].background),512&i[0]&&C(t,"left",e[42].position)},d(e){e&&d(t)}}}function Ln(e){let t,n;return{c(){t=p("svg"),n=p("path"),y(n,"d","M170.65984 896l0-768 640 384zM644.66944\n 512l-388.66944-233.32864 0 466.65728z"),y(t,"class","icon"),y(t,"viewBox","0 0 1024 1024"),y(t,"version","1.1"),y(t,"xmlns","http://www.w3.org/2000/svg"),y(t,"xmlns:xlink","http://www.w3.org/1999/xlink"),y(t,"width","16"),y(t,"height","16")},m(e,i){c(e,t,i),l(t,n)},d(e){e&&d(t)}}}function Vn(e){let t,n;return{c(){t=p("svg"),n=p("path"),y(n,"d","M682.65984 128q53.00224 0 90.50112 37.49888t37.49888 90.50112l0\n 512q0 53.00224-37.49888 90.50112t-90.50112\n 37.49888-90.50112-37.49888-37.49888-90.50112l0-512q0-53.00224\n 37.49888-90.50112t90.50112-37.49888zM341.34016 128q53.00224 0\n 90.50112 37.49888t37.49888 90.50112l0 512q0 53.00224-37.49888\n 90.50112t-90.50112\n 37.49888-90.50112-37.49888-37.49888-90.50112l0-512q0-53.00224\n 37.49888-90.50112t90.50112-37.49888zM341.34016 213.34016q-17.67424\n 0-30.16704 12.4928t-12.4928 30.16704l0 512q0 17.67424 12.4928\n 30.16704t30.16704 12.4928 30.16704-12.4928\n 12.4928-30.16704l0-512q0-17.67424-12.4928-30.16704t-30.16704-12.4928zM682.65984\n 213.34016q-17.67424 0-30.16704 12.4928t-12.4928 30.16704l0 512q0\n 17.67424 12.4928 30.16704t30.16704 12.4928 30.16704-12.4928\n 12.4928-30.16704l0-512q0-17.67424-12.4928-30.16704t-30.16704-12.4928z"),y(t,"class","icon"),y(t,"viewBox","0 0 1024 1024"),y(t,"version","1.1"),y(t,"xmlns","http://www.w3.org/2000/svg"),y(t,"xmlns:xlink","http://www.w3.org/1999/xlink"),y(t,"width","16"),y(t,"height","16")},m(e,i){c(e,t,i),l(t,n)},d(e){e&&d(t)}}}function _n(e){let t,n,i,o,r,s,a=e[39]+"";function u(){return e[29](e[39])}return{c(){t=h("button"),n=g(a),i=g("x"),t.disabled=o="skipping"===e[10],y(t,"class","svelte-19ke1iv"),I(t,"active",e[39]===e[1]&&"skipping"!==e[10])},m(e,o){c(e,t,o),l(t,n),l(t,i),r||(s=f(t,"click",u),r=!0)},p(i,r){e=i,8&r[0]&&a!==(a=e[39]+"")&&v(n,a),1024&r[0]&&o!==(o="skipping"===e[10])&&(t.disabled=o),1034&r[0]&&I(t,"active",e[39]===e[1]&&"skipping"!==e[10])},d(e){e&&d(t),r=!1,s()}}}function Gn(e){let t,n,i=e[2]&&Fn(e);return{c(){i&&i.c(),t=g("")},m(e,o){i&&i.m(e,o),c(e,t,o),n=!0},p(e,n){e[2]?i?(i.p(e,n),4&n[0]&&Z(i,1)):(i=Fn(e),i.c(),Z(i,1),i.m(t.parentNode,t)):i&&(W(),$(i,1,1,(()=>{i=null})),U())},i(e){n||(Z(i),n=!0)},o(e){$(i),n=!1},d(e){i&&i.d(e),e&&d(t)}}}function Wn(e,t,n){return(100-(t-n)/(t-e)*100).toFixed(2)}function Un(e,t,n){const i=S();let o,r,s,a,l,c,d,u,h,p,{replayer:g}=t,{showController:m}=t,{autoPlay:f}=t,{skipInactive:y}=t,{speedOption:v}=t,{speed:C=(v.length?v[0]:1)}=t,{tags:I={}}=t,{inactiveColor:A}=t,b=0,T=null,M=!1,R=null;const x=()=>{T&&(cancelAnimationFrame(T),T=null)},k=()=>{"paused"===o&&(l?(g.play(),l=!1):g.play(b))},F=()=>{"playing"===o&&(g.pause(),M=!1)},O=(e,t)=>{n(6,b=e),M=!1;("boolean"==typeof t?t:"playing"===o)?g.play(e):g.pause(e)},B=(e,t,i=!1,o)=>{R=i?{start:e,end:t}:null,n(6,b=e),M=t,c=o,g.play(e)},L=e=>{let t="playing"===o;n(1,C=e),t&&g.pause(),g.setConfig({speed:C}),t&&g.play(b)};var V;N((()=>{n(7,o=g.service.state.value),n(10,r=g.speedService.state.value),g.on("state-change",(e=>{const{player:t,speed:i}=e;if((null==t?void 0:t.value)&&o!==t.value)switch(n(7,o=t.value),o){case"playing":x(),T=requestAnimationFrame((function e(){n(6,b=g.getCurrentTime()),M&&b>=M&&(R?B(R.start,R.end,!0,void 0):(g.pause(),c&&(c(),c=null))),b<d.totalTime&&(T=requestAnimationFrame(e))}));break;case"paused":x()}(null==i?void 0:i.value)&&r!==i.value&&n(10,r=i.value)})),g.on("finish",(()=>{l=!0,c&&(c(),c=null)})),f&&g.play()})),V=()=>{y!==g.config.skipInactive&&g.setConfig({skipInactive:y})},w().$$.after_update.push(V),E((()=>{g.pause(),x()}));return e.$$set=e=>{"replayer"in e&&n(17,g=e.replayer),"showController"in e&&n(2,m=e.showController),"autoPlay"in e&&n(18,f=e.autoPlay),"skipInactive"in e&&n(0,y=e.skipInactive),"speedOption"in e&&n(3,v=e.speedOption),"speed"in e&&n(1,C=e.speed),"tags"in e&&n(19,I=e.tags),"inactiveColor"in e&&n(20,A=e.inactiveColor)},e.$$.update=()=>{if(64&e.$$.dirty[0]&&i("ui-update-current-time",{payload:b}),128&e.$$.dirty[0]&&i("ui-update-player-state",{payload:o}),131072&e.$$.dirty[0]&&n(8,d=g.getMetaData()),320&e.$$.dirty[0]){const e=Math.min(1,b/d.totalTime);n(13,u=100*e+"%"),i("ui-update-progress",{payload:e})}655360&e.$$.dirty[0]&&n(9,h=(()=>{const{context:e}=g.service.state,t=e.events.length,n=e.events[0].timestamp,i=e.events[t-1].timestamp,o=[];return e.events.forEach((e=>{if(e.type===be.Custom){const t={name:e.data.tag,background:I[e.data.tag]||"rgb(73, 80, 246)",position:`${Wn(n,i,e.timestamp)}%`};o.push(t)}})),o})()),1179648&e.$$.dirty[0]&&n(14,p=(()=>{try{const{context:e}=g.service.state,t=e.events.length,n=e.events[0].timestamp,i=e.events[t-1].timestamp,o=function(e){const t=[];let n=e[0].timestamp;for(const i of e)Sn(i)&&(i.timestamp-n>1e4&&t.push([n,i.timestamp]),n=i.timestamp);return t}(e.events),r=(e,t,n,i)=>((i-n)/(t-e)*100).toFixed(2);return o.map((e=>({name:"inactive period",background:A,position:`${Wn(n,i,e[0])}%`,width:`${r(n,i,e[0],e[1])}%`})))}catch(e){return[]}})())},[y,C,m,v,()=>{switch(o){case"playing":F();break;case"paused":k()}},L,b,o,d,h,r,s,a,u,p,i,e=>{if("skipping"===r)return;const t=s.getBoundingClientRect();let n=(e.clientX-t.left)/t.width;n<0?n=0:n>1&&(n=1);const i=d.totalTime*n;l=!1,O(i)},g,f,I,A,k,F,O,B,()=>{n(0,y=!y)},()=>Promise.resolve().then((()=>{n(8,d=g.getMetaData())})),function(e){D[e?"unshift":"push"]((()=>{a=e,n(12,a)}))},function(e){D[e?"unshift":"push"]((()=>{s=e,n(11,s)}))},e=>L(e),function(e){y=e,n(0,y)},()=>i("fullscreen")]}class Zn extends J{constructor(e){super(),z(this,e,Un,Gn,s,{replayer:17,showController:2,autoPlay:18,skipInactive:0,speedOption:3,speed:1,tags:19,inactiveColor:20,toggle:4,play:21,pause:22,goto:23,playRange:24,setSpeed:5,toggleSkipInactive:25,triggerUpdateMeta:26},null,[-1,-1])}get toggle(){return this.$$.ctx[4]}get play(){return this.$$.ctx[21]}get pause(){return this.$$.ctx[22]}get goto(){return this.$$.ctx[23]}get playRange(){return this.$$.ctx[24]}get setSpeed(){return this.$$.ctx[5]}get toggleSkipInactive(){return this.$$.ctx[25]}get triggerUpdateMeta(){return this.$$.ctx[26]}}function $n(e){let t,n,i={replayer:e[7],showController:e[3],autoPlay:e[1],speedOption:e[2],skipInactive:e[0],tags:e[4],inactiveColor:e[5]};return t=new Zn({props:i}),e[32](t),t.$on("fullscreen",e[33]),{c(){K(t.$$.fragment)},m(e,i){Y(t,e,i),n=!0},p(e,n){const i={};128&n[0]&&(i.replayer=e[7]),8&n[0]&&(i.showController=e[3]),2&n[0]&&(i.autoPlay=e[1]),4&n[0]&&(i.speedOption=e[2]),1&n[0]&&(i.skipInactive=e[0]),16&n[0]&&(i.tags=e[4]),32&n[0]&&(i.inactiveColor=e[5]),t.$set(i)},i(e){n||(Z(t.$$.fragment,e),n=!0)},o(e){$(t.$$.fragment,e),n=!1},d(n){e[32](null),P(t,n)}}}function Kn(e){let t,n,i,o,r=e[7]&&$n(e);return{c(){t=h("div"),n=h("div"),i=m(),r&&r.c(),y(n,"class","rr-player__frame"),y(n,"style",e[11]),y(t,"class","rr-player"),y(t,"style",e[12])},m(s,a){c(s,t,a),l(t,n),e[31](n),l(t,i),r&&r.m(t,null),e[34](t),o=!0},p(e,i){(!o||2048&i[0])&&y(n,"style",e[11]),e[7]?r?(r.p(e,i),128&i[0]&&Z(r,1)):(r=$n(e),r.c(),Z(r,1),r.m(t,null)):r&&(W(),$(r,1,1,(()=>{r=null})),U()),(!o||4096&i[0])&&y(t,"style",e[12])},i(e){o||(Z(r),o=!0)},o(e){$(r),o=!1},d(n){n&&d(t),e[31](null),r&&r.d(),e[34](null)}}}function Yn(e,n,i){let o,{width:r=1024}=n,{height:s=576}=n,{maxScale:l=1}=n,{events:c=[]}=n,{skipInactive:d=!0}=n,{autoPlay:u=!0}=n,{speedOption:h=[1,2,4,8]}=n,{speed:p=1}=n,{showController:g=!0}=n,{tags:m={}}=n,{inactiveColor:f="#D4D4D4"}=n;let y,v,C,I,A,b,w=r,S=s;const T=(e,t)=>{const n=[r/t.width,s/t.height];l&&n.push(l),e.style.transform=`scale(${Math.min(...n)})translate(-50%, -50%)`},M=()=>{var e;y&&(Nn()?document.exitFullscreen?document.exitFullscreen():document.mozExitFullscreen?document.mozExitFullscreen():document.webkitExitFullscreen?document.webkitExitFullscreen():document.msExitFullscreen&&document.msExitFullscreen():(e=y).requestFullscreen?e.requestFullscreen():e.mozRequestFullScreen?e.mozRequestFullScreen():e.webkitRequestFullscreen?e.webkitRequestFullscreen():e.msRequestFullscreen&&e.msRequestFullscreen())};N((()=>{if(void 0!==h&&"array"!==En(h))throw new Error("speedOption must be array");if(h.forEach((e=>{if("number"!==En(e))throw new Error("item of speedOption must be number")})),h.indexOf(p)<0)throw new Error(`speed must be one of speedOption,\n current config:\n {\n ...\n speed: ${p},\n speedOption: [${h.toString()}]\n ...\n }\n `);var e;i(7,o=new In(c,Object.assign({speed:p,root:v,unpackFn:$t},n))),o.on("resize",(e=>{T(o.wrapper,e)})),e=()=>{Nn()?setTimeout((()=>{w=r,S=s,i(13,r=y.offsetWidth),i(14,s=y.offsetHeight-(g?80:0)),T(o.wrapper,{width:o.iframe.offsetWidth,height:o.iframe.offsetHeight})}),0):(i(13,r=w),i(14,s=S),T(o.wrapper,{width:o.iframe.offsetWidth,height:o.iframe.offsetHeight}))},document.addEventListener("fullscreenchange",e),document.addEventListener("webkitfullscreenchange",e),document.addEventListener("mozfullscreenchange",e),document.addEventListener("MSFullscreenChange",e),C=()=>{document.removeEventListener("fullscreenchange",e),document.removeEventListener("webkitfullscreenchange",e),document.removeEventListener("mozfullscreenchange",e),document.removeEventListener("MSFullscreenChange",e)}})),E((()=>{C&&C()}));return e.$$set=e=>{i(39,n=t(t({},n),a(e))),"width"in e&&i(13,r=e.width),"height"in e&&i(14,s=e.height),"maxScale"in e&&i(15,l=e.maxScale),"events"in e&&i(16,c=e.events),"skipInactive"in e&&i(0,d=e.skipInactive),"autoPlay"in e&&i(1,u=e.autoPlay),"speedOption"in e&&i(2,h=e.speedOption),"speed"in e&&i(17,p=e.speed),"showController"in e&&i(3,g=e.showController),"tags"in e&&i(4,m=e.tags),"inactiveColor"in e&&i(5,f=e.inactiveColor)},e.$$.update=()=>{24576&e.$$.dirty[0]&&i(11,A=An({width:`${r}px`,height:`${s}px`})),24584&e.$$.dirty[0]&&i(12,b=An({width:`${r}px`,height:`${s+(g?80:0)}px`}))},n=a(n),[d,u,h,g,m,f,M,o,y,v,I,A,b,r,s,l,c,p,()=>o.getMirror(),()=>{T(o.wrapper,{width:o.iframe.offsetWidth,height:o.iframe.offsetHeight})},(e,t)=>{switch(o.on(e,t),e){case"ui-update-current-time":case"ui-update-progress":case"ui-update-player-state":I.$on(e,(({detail:e})=>t(e)))}},e=>{o.addEvent(e),I.triggerUpdateMeta()},()=>o.getMetaData(),()=>o,()=>{I.toggle()},e=>{I.setSpeed(e)},()=>{I.toggleSkipInactive()},()=>{I.play()},()=>{I.pause()},(e,t)=>{I.goto(e,t)},(e,t,n=!1,i)=>{I.playRange(e,t,n,i)},function(e){D[e?"unshift":"push"]((()=>{v=e,i(9,v)}))},function(e){D[e?"unshift":"push"]((()=>{I=e,i(10,I)}))},()=>M(),function(e){D[e?"unshift":"push"]((()=>{y=e,i(8,y)}))}]}class Pn extends J{constructor(e){super(),z(this,e,Yn,Kn,s,{width:13,height:14,maxScale:15,events:16,skipInactive:0,autoPlay:1,speedOption:2,speed:17,showController:3,tags:4,inactiveColor:5,getMirror:18,triggerResize:19,toggleFullscreen:6,addEventListener:20,addEvent:21,getMetaData:22,getReplayer:23,toggle:24,setSpeed:25,toggleSkipInactive:26,play:27,pause:28,goto:29,playRange:30},null,[-1,-1])}get getMirror(){return this.$$.ctx[18]}get triggerResize(){return this.$$.ctx[19]}get toggleFullscreen(){return this.$$.ctx[6]}get addEventListener(){return this.$$.ctx[20]}get addEvent(){return this.$$.ctx[21]}get getMetaData(){return this.$$.ctx[22]}get getReplayer(){return this.$$.ctx[23]}get toggle(){return this.$$.ctx[24]}get setSpeed(){return this.$$.ctx[25]}get toggleSkipInactive(){return this.$$.ctx[26]}get play(){return this.$$.ctx[27]}get pause(){return this.$$.ctx[28]}get goto(){return this.$$.ctx[29]}get playRange(){return this.$$.ctx[30]}}class Qn extends Pn{constructor(e){super({target:e.target,props:e.data||e.props})}}
|
|
144592
|
+
//# sourceMappingURL=index.mjs.map
|
|
144593
|
+
|
|
144594
|
+
/* WEBPACK VAR INJECTION */}.call(this, __webpack_require__("dd40")(module), __webpack_require__("b639").Buffer, __webpack_require__("4362")))
|
|
144595
|
+
|
|
142334
144596
|
/***/ }),
|
|
142335
144597
|
|
|
142336
144598
|
/***/ "c1df":
|
|
@@ -154782,7 +157044,7 @@ module.exports = function (passed, required) {
|
|
|
154782
157044
|
// ESM COMPAT FLAG
|
|
154783
157045
|
__webpack_require__.r(__webpack_exports__);
|
|
154784
157046
|
|
|
154785
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
157047
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"a30fa5d8-vue-loader-template"}!./node_modules/cache-loader/dist/cjs.js??ref--13-0!./node_modules/babel-loader/lib!./node_modules/vue-loader/lib/loaders/templateLoader.js??ref--6!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/vue-loader/lib??vue-loader-options!./node_modules/windicss-webpack-plugin/dist/loaders/windicss-template.cjs!./src/imui/src/FormComponents/ImTree.vue?vue&type=template&id=4db1f357&scoped=true
|
|
154786
157048
|
var render = function render() {
|
|
154787
157049
|
var _vm = this,
|
|
154788
157050
|
_c = _vm._self._c;
|
|
@@ -155764,7 +158026,7 @@ var validateRangeInOneMonth = exports.validateRangeInOneMonth = function validat
|
|
|
155764
158026
|
// ESM COMPAT FLAG
|
|
155765
158027
|
__webpack_require__.r(__webpack_exports__);
|
|
155766
158028
|
|
|
155767
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
158029
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"a30fa5d8-vue-loader-template"}!./node_modules/cache-loader/dist/cjs.js??ref--13-0!./node_modules/babel-loader/lib!./node_modules/vue-loader/lib/loaders/templateLoader.js??ref--6!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/vue-loader/lib??vue-loader-options!./node_modules/windicss-webpack-plugin/dist/loaders/windicss-template.cjs!./src/imui/src/FormComponents/ImCascader.vue?vue&type=template&id=53cd3903
|
|
155768
158030
|
var render = function render() {
|
|
155769
158031
|
var _vm = this,
|
|
155770
158032
|
_c = _vm._self._c;
|
|
@@ -156399,7 +158661,7 @@ module.exports =
|
|
|
156399
158661
|
// ESM COMPAT FLAG
|
|
156400
158662
|
__webpack_require__.r(__webpack_exports__);
|
|
156401
158663
|
|
|
156402
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
158664
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"a30fa5d8-vue-loader-template"}!./node_modules/cache-loader/dist/cjs.js??ref--13-0!./node_modules/babel-loader/lib!./node_modules/vue-loader/lib/loaders/templateLoader.js??ref--6!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/vue-loader/lib??vue-loader-options!./node_modules/windicss-webpack-plugin/dist/loaders/windicss-template.cjs!./src/imui/src/FormComponents/upload/ImMultiImgUpload.vue?vue&type=template&id=56df7e15&scoped=true
|
|
156403
158665
|
var render = function render() {
|
|
156404
158666
|
var _vm = this,
|
|
156405
158667
|
_c = _vm._self._c;
|
|
@@ -196609,7 +198871,7 @@ module.exports = function (target, name, descriptor) {
|
|
|
196609
198871
|
// ESM COMPAT FLAG
|
|
196610
198872
|
__webpack_require__.r(__webpack_exports__);
|
|
196611
198873
|
|
|
196612
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
198874
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"a30fa5d8-vue-loader-template"}!./node_modules/cache-loader/dist/cjs.js??ref--13-0!./node_modules/babel-loader/lib!./node_modules/vue-loader/lib/loaders/templateLoader.js??ref--6!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/vue-loader/lib??vue-loader-options!./node_modules/windicss-webpack-plugin/dist/loaders/windicss-template.cjs!./src/imui/src/FormComponents/ImButton.vue?vue&type=template&id=1b6e4273
|
|
196613
198875
|
var render = function render() {
|
|
196614
198876
|
var _vm = this,
|
|
196615
198877
|
_c = _vm._self._c;
|
|
@@ -198442,6 +200704,13 @@ module.exports = __webpack_require__("7f4d");
|
|
|
198442
200704
|
|
|
198443
200705
|
/***/ }),
|
|
198444
200706
|
|
|
200707
|
+
/***/ "f3c7":
|
|
200708
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
200709
|
+
|
|
200710
|
+
// extracted by mini-css-extract-plugin
|
|
200711
|
+
|
|
200712
|
+
/***/ }),
|
|
200713
|
+
|
|
198445
200714
|
/***/ "f477":
|
|
198446
200715
|
/***/ (function(module, exports, __webpack_require__) {
|
|
198447
200716
|
|
|
@@ -199176,7 +201445,7 @@ var virtual_windi = __webpack_require__("5a4b");
|
|
|
199176
201445
|
// EXTERNAL MODULE: ./node_modules/viewerjs/dist/viewer.css
|
|
199177
201446
|
var viewer = __webpack_require__("0808");
|
|
199178
201447
|
|
|
199179
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
201448
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"a30fa5d8-vue-loader-template"}!./node_modules/cache-loader/dist/cjs.js??ref--13-0!./node_modules/babel-loader/lib!./node_modules/vue-loader/lib/loaders/templateLoader.js??ref--6!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/vue-loader/lib??vue-loader-options!./node_modules/windicss-webpack-plugin/dist/loaders/windicss-template.cjs!./src/imui/src/ImCard/index.vue?vue&type=template&id=11ff4f58&scoped=true
|
|
199180
201449
|
var render = function render() {
|
|
199181
201450
|
var _vm = this,
|
|
199182
201451
|
_c = _vm._self._c;
|
|
@@ -199234,7 +201503,7 @@ var ImCard_component = Object(componentNormalizer["a" /* default */])(
|
|
|
199234
201503
|
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.array.concat.js
|
|
199235
201504
|
var es_array_concat = __webpack_require__("99af");
|
|
199236
201505
|
|
|
199237
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
201506
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"a30fa5d8-vue-loader-template"}!./node_modules/cache-loader/dist/cjs.js??ref--13-0!./node_modules/babel-loader/lib!./node_modules/vue-loader/lib/loaders/templateLoader.js??ref--6!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/vue-loader/lib??vue-loader-options!./node_modules/windicss-webpack-plugin/dist/loaders/windicss-template.cjs!./src/imui/src/ImDialog/index.vue?vue&type=template&id=285f8cb1&scoped=true
|
|
199238
201507
|
|
|
199239
201508
|
var ImDialogvue_type_template_id_285f8cb1_scoped_true_render = function render() {
|
|
199240
201509
|
var _vm = this,
|
|
@@ -199378,7 +201647,7 @@ var ImDialog_component = Object(componentNormalizer["a" /* default */])(
|
|
|
199378
201647
|
)
|
|
199379
201648
|
|
|
199380
201649
|
/* harmony default export */ var ImDialog = (ImDialog_component.exports);
|
|
199381
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
201650
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"a30fa5d8-vue-loader-template"}!./node_modules/cache-loader/dist/cjs.js??ref--13-0!./node_modules/babel-loader/lib!./node_modules/vue-loader/lib/loaders/templateLoader.js??ref--6!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/vue-loader/lib??vue-loader-options!./node_modules/windicss-webpack-plugin/dist/loaders/windicss-template.cjs!./src/imui/src/ImDrawer/index.vue?vue&type=template&id=29483507&scoped=true
|
|
199382
201651
|
var ImDrawervue_type_template_id_29483507_scoped_true_render = function render() {
|
|
199383
201652
|
var _vm = this,
|
|
199384
201653
|
_c = _vm._self._c;
|
|
@@ -199496,7 +201765,7 @@ var ImDrawer_component = Object(componentNormalizer["a" /* default */])(
|
|
|
199496
201765
|
)
|
|
199497
201766
|
|
|
199498
201767
|
/* harmony default export */ var ImDrawer = (ImDrawer_component.exports);
|
|
199499
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
201768
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"a30fa5d8-vue-loader-template"}!./node_modules/cache-loader/dist/cjs.js??ref--13-0!./node_modules/babel-loader/lib!./node_modules/vue-loader/lib/loaders/templateLoader.js??ref--6!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/vue-loader/lib??vue-loader-options!./node_modules/windicss-webpack-plugin/dist/loaders/windicss-template.cjs!./src/imui/src/ImForm/index.vue?vue&type=template&id=35e9de13&scoped=true
|
|
199500
201769
|
var ImFormvue_type_template_id_35e9de13_scoped_true_render = function render() {
|
|
199501
201770
|
var _vm = this,
|
|
199502
201771
|
_c = _vm._self._c;
|
|
@@ -199767,7 +202036,7 @@ var es_object_keys = __webpack_require__("b64b");
|
|
|
199767
202036
|
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.regexp.to-string.js
|
|
199768
202037
|
var es_regexp_to_string = __webpack_require__("25f0");
|
|
199769
202038
|
|
|
199770
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
202039
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"a30fa5d8-vue-loader-template"}!./node_modules/cache-loader/dist/cjs.js??ref--13-0!./node_modules/babel-loader/lib!./node_modules/vue-loader/lib/loaders/templateLoader.js??ref--6!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/vue-loader/lib??vue-loader-options!./node_modules/windicss-webpack-plugin/dist/loaders/windicss-template.cjs!./src/imui/src/ImForm/FormComponents.vue?vue&type=template&id=356304c0
|
|
199771
202040
|
var FormComponentsvue_type_template_id_356304c0_render = function render() {
|
|
199772
202041
|
var _vm = this,
|
|
199773
202042
|
_c = _vm._self._c;
|
|
@@ -199858,7 +202127,7 @@ var es_array_includes = __webpack_require__("caad");
|
|
|
199858
202127
|
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.string.includes.js
|
|
199859
202128
|
var es_string_includes = __webpack_require__("2532");
|
|
199860
202129
|
|
|
199861
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
202130
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"a30fa5d8-vue-loader-template"}!./node_modules/cache-loader/dist/cjs.js??ref--13-0!./node_modules/babel-loader/lib!./node_modules/vue-loader/lib/loaders/templateLoader.js??ref--6!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/vue-loader/lib??vue-loader-options!./node_modules/windicss-webpack-plugin/dist/loaders/windicss-template.cjs!./src/imui/src/ImForm/components/FilterCustomSettingModal.vue?vue&type=template&id=61feb7a8&scoped=true
|
|
199862
202131
|
|
|
199863
202132
|
|
|
199864
202133
|
var FilterCustomSettingModalvue_type_template_id_61feb7a8_scoped_true_render = function render() {
|
|
@@ -200648,7 +202917,7 @@ var ImForm_component = Object(componentNormalizer["a" /* default */])(
|
|
|
200648
202917
|
)
|
|
200649
202918
|
|
|
200650
202919
|
/* harmony default export */ var ImForm = (ImForm_component.exports);
|
|
200651
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
202920
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"a30fa5d8-vue-loader-template"}!./node_modules/cache-loader/dist/cjs.js??ref--13-0!./node_modules/babel-loader/lib!./node_modules/vue-loader/lib/loaders/templateLoader.js??ref--6!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/vue-loader/lib??vue-loader-options!./node_modules/windicss-webpack-plugin/dist/loaders/windicss-template.cjs!./src/imui/src/ImPagination/index.vue?vue&type=template&id=6f76a067
|
|
200652
202921
|
var ImPaginationvue_type_template_id_6f76a067_render = function render() {
|
|
200653
202922
|
var _vm = this,
|
|
200654
202923
|
_c = _vm._self._c;
|
|
@@ -200785,7 +203054,7 @@ var ImPagination_component = Object(componentNormalizer["a" /* default */])(
|
|
|
200785
203054
|
)
|
|
200786
203055
|
|
|
200787
203056
|
/* harmony default export */ var ImPagination = (ImPagination_component.exports);
|
|
200788
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
203057
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"a30fa5d8-vue-loader-template"}!./node_modules/cache-loader/dist/cjs.js??ref--13-0!./node_modules/babel-loader/lib!./node_modules/vue-loader/lib/loaders/templateLoader.js??ref--6!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/vue-loader/lib??vue-loader-options!./node_modules/windicss-webpack-plugin/dist/loaders/windicss-template.cjs!./src/imui/src/ImSearchArea/index.vue?vue&type=template&id=1b4f9e72&scoped=true
|
|
200789
203058
|
var ImSearchAreavue_type_template_id_1b4f9e72_scoped_true_render = function render() {
|
|
200790
203059
|
var _vm = this,
|
|
200791
203060
|
_c = _vm._self._c;
|
|
@@ -200893,7 +203162,7 @@ var ImSearchArea_component = Object(componentNormalizer["a" /* default */])(
|
|
|
200893
203162
|
)
|
|
200894
203163
|
|
|
200895
203164
|
/* harmony default export */ var ImSearchArea = (ImSearchArea_component.exports);
|
|
200896
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
203165
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"a30fa5d8-vue-loader-template"}!./node_modules/cache-loader/dist/cjs.js??ref--13-0!./node_modules/babel-loader/lib!./node_modules/vue-loader/lib/loaders/templateLoader.js??ref--6!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/vue-loader/lib??vue-loader-options!./node_modules/windicss-webpack-plugin/dist/loaders/windicss-template.cjs!./src/imui/src/ImTable/index.vue?vue&type=template&id=9d34b7e8&scoped=true
|
|
200897
203166
|
var ImTablevue_type_template_id_9d34b7e8_scoped_true_render = function render() {
|
|
200898
203167
|
var _vm = this,
|
|
200899
203168
|
_c = _vm._self._c;
|
|
@@ -200983,7 +203252,7 @@ var ImTablevue_type_template_id_9d34b7e8_scoped_true_staticRenderFns = [];
|
|
|
200983
203252
|
|
|
200984
203253
|
// CONCATENATED MODULE: ./src/imui/src/ImTable/index.vue?vue&type=template&id=9d34b7e8&scoped=true
|
|
200985
203254
|
|
|
200986
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
203255
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"a30fa5d8-vue-loader-template"}!./node_modules/cache-loader/dist/cjs.js??ref--13-0!./node_modules/babel-loader/lib!./node_modules/vue-loader/lib/loaders/templateLoader.js??ref--6!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/vue-loader/lib??vue-loader-options!./node_modules/windicss-webpack-plugin/dist/loaders/windicss-template.cjs!./src/imui/src/ImTable/AffixedTable.vue?vue&type=template&id=fbf8607a
|
|
200987
203256
|
var AffixedTablevue_type_template_id_fbf8607a_render = function render() {
|
|
200988
203257
|
var _vm = this,
|
|
200989
203258
|
_c = _vm._self._c;
|
|
@@ -201138,7 +203407,7 @@ var AffixedTable_component = Object(componentNormalizer["a" /* default */])(
|
|
|
201138
203407
|
)
|
|
201139
203408
|
|
|
201140
203409
|
/* harmony default export */ var AffixedTable = (AffixedTable_component.exports);
|
|
201141
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
203410
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"a30fa5d8-vue-loader-template"}!./node_modules/cache-loader/dist/cjs.js??ref--13-0!./node_modules/babel-loader/lib!./node_modules/vue-loader/lib/loaders/templateLoader.js??ref--6!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/vue-loader/lib??vue-loader-options!./node_modules/windicss-webpack-plugin/dist/loaders/windicss-template.cjs!./src/imui/src/ImTable/VirtualScroll.vue?vue&type=template&id=4fed4559
|
|
201142
203411
|
var VirtualScrollvue_type_template_id_4fed4559_render = function render() {
|
|
201143
203412
|
var _vm = this,
|
|
201144
203413
|
_c = _vm._self._c;
|
|
@@ -201242,7 +203511,7 @@ var VirtualScroll_component = Object(componentNormalizer["a" /* default */])(
|
|
|
201242
203511
|
)
|
|
201243
203512
|
|
|
201244
203513
|
/* harmony default export */ var VirtualScroll = (VirtualScroll_component.exports);
|
|
201245
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
203514
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"a30fa5d8-vue-loader-template"}!./node_modules/cache-loader/dist/cjs.js??ref--13-0!./node_modules/babel-loader/lib!./node_modules/vue-loader/lib/loaders/templateLoader.js??ref--6!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/vue-loader/lib??vue-loader-options!./node_modules/windicss-webpack-plugin/dist/loaders/windicss-template.cjs!./src/imui/src/ImTable/components/ImTableColumn.vue?vue&type=template&id=a30c0c32
|
|
201246
203515
|
var ImTableColumnvue_type_template_id_a30c0c32_render = function render() {
|
|
201247
203516
|
var _vm = this,
|
|
201248
203517
|
_c = _vm._self._c;
|
|
@@ -201363,7 +203632,7 @@ var ImTableColumn_component = Object(componentNormalizer["a" /* default */])(
|
|
|
201363
203632
|
)
|
|
201364
203633
|
|
|
201365
203634
|
/* harmony default export */ var ImTableColumn = (ImTableColumn_component.exports);
|
|
201366
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
203635
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"a30fa5d8-vue-loader-template"}!./node_modules/cache-loader/dist/cjs.js??ref--13-0!./node_modules/babel-loader/lib!./node_modules/vue-loader/lib/loaders/templateLoader.js??ref--6!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/vue-loader/lib??vue-loader-options!./node_modules/windicss-webpack-plugin/dist/loaders/windicss-template.cjs!./src/imui/src/ImTable/components/TableCustomSettingModal.vue?vue&type=template&id=966c0fa2
|
|
201367
203636
|
var TableCustomSettingModalvue_type_template_id_966c0fa2_render = function render() {
|
|
201368
203637
|
var _vm = this,
|
|
201369
203638
|
_c = _vm._self._c;
|
|
@@ -201388,7 +203657,7 @@ var TableCustomSettingModalvue_type_template_id_966c0fa2_staticRenderFns = [];
|
|
|
201388
203657
|
|
|
201389
203658
|
// CONCATENATED MODULE: ./src/imui/src/ImTable/components/TableCustomSettingModal.vue?vue&type=template&id=966c0fa2
|
|
201390
203659
|
|
|
201391
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
203660
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"a30fa5d8-vue-loader-template"}!./node_modules/cache-loader/dist/cjs.js??ref--13-0!./node_modules/babel-loader/lib!./node_modules/vue-loader/lib/loaders/templateLoader.js??ref--6!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/vue-loader/lib??vue-loader-options!./node_modules/windicss-webpack-plugin/dist/loaders/windicss-template.cjs!./src/imui/src/ImTable/components/ImFieldsEditor/index.vue?vue&type=template&id=2967d530&scoped=true
|
|
201392
203661
|
|
|
201393
203662
|
|
|
201394
203663
|
var ImFieldsEditorvue_type_template_id_2967d530_scoped_true_render = function render() {
|
|
@@ -201527,7 +203796,7 @@ var regeneratorRuntime = __webpack_require__("c7eb");
|
|
|
201527
203796
|
// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/asyncToGenerator.js
|
|
201528
203797
|
var asyncToGenerator = __webpack_require__("1da1");
|
|
201529
203798
|
|
|
201530
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
203799
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"a30fa5d8-vue-loader-template"}!./node_modules/cache-loader/dist/cjs.js??ref--13-0!./node_modules/babel-loader/lib!./node_modules/vue-loader/lib/loaders/templateLoader.js??ref--6!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/vue-loader/lib??vue-loader-options!./node_modules/windicss-webpack-plugin/dist/loaders/windicss-template.cjs!./src/imui/src/ImTable/components/ImFieldsEditor/widget/ExcelEditor.vue?vue&type=template&id=91b0abec&scoped=true
|
|
201531
203800
|
var ExcelEditorvue_type_template_id_91b0abec_scoped_true_render = function render() {
|
|
201532
203801
|
var _vm = this,
|
|
201533
203802
|
_c = _vm._self._c;
|
|
@@ -202385,7 +204654,7 @@ var ImTable_component = Object(componentNormalizer["a" /* default */])(
|
|
|
202385
204654
|
)
|
|
202386
204655
|
|
|
202387
204656
|
/* harmony default export */ var ImTable = (ImTable_component.exports);
|
|
202388
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
204657
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"a30fa5d8-vue-loader-template"}!./node_modules/cache-loader/dist/cjs.js??ref--13-0!./node_modules/babel-loader/lib!./node_modules/vue-loader/lib/loaders/templateLoader.js??ref--6!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/vue-loader/lib??vue-loader-options!./node_modules/windicss-webpack-plugin/dist/loaders/windicss-template.cjs!./src/imui/src/ImTableArea/index.vue?vue&type=template&id=7bf010fa
|
|
202389
204658
|
var ImTableAreavue_type_template_id_7bf010fa_render = function render() {
|
|
202390
204659
|
var _vm = this,
|
|
202391
204660
|
_c = _vm._self._c;
|
|
@@ -202416,7 +204685,7 @@ var ImTableArea_component = Object(componentNormalizer["a" /* default */])(
|
|
|
202416
204685
|
)
|
|
202417
204686
|
|
|
202418
204687
|
/* harmony default export */ var ImTableArea = (ImTableArea_component.exports);
|
|
202419
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
204688
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"a30fa5d8-vue-loader-template"}!./node_modules/cache-loader/dist/cjs.js??ref--13-0!./node_modules/babel-loader/lib!./node_modules/vue-loader/lib/loaders/templateLoader.js??ref--6!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/vue-loader/lib??vue-loader-options!./node_modules/windicss-webpack-plugin/dist/loaders/windicss-template.cjs!./src/imui/src/ImWrapper/index.vue?vue&type=template&id=7441841e
|
|
202420
204689
|
var ImWrappervue_type_template_id_7441841e_render = function render() {
|
|
202421
204690
|
var _vm = this,
|
|
202422
204691
|
_c = _vm._self._c;
|
|
@@ -202471,7 +204740,7 @@ var ImWrapper_component = Object(componentNormalizer["a" /* default */])(
|
|
|
202471
204740
|
)
|
|
202472
204741
|
|
|
202473
204742
|
/* harmony default export */ var ImWrapper = (ImWrapper_component.exports);
|
|
202474
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
204743
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"a30fa5d8-vue-loader-template"}!./node_modules/cache-loader/dist/cjs.js??ref--13-0!./node_modules/babel-loader/lib!./node_modules/vue-loader/lib/loaders/templateLoader.js??ref--6!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/vue-loader/lib??vue-loader-options!./node_modules/windicss-webpack-plugin/dist/loaders/windicss-template.cjs!./src/imui/src/ImTableCellWithBorder/index.vue?vue&type=template&id=49945022&scoped=true
|
|
202475
204744
|
var ImTableCellWithBordervue_type_template_id_49945022_scoped_true_render = function render() {
|
|
202476
204745
|
var _vm = this,
|
|
202477
204746
|
_c = _vm._self._c;
|
|
@@ -202545,7 +204814,7 @@ var ImTableCellWithBorder_component = Object(componentNormalizer["a" /* default
|
|
|
202545
204814
|
)
|
|
202546
204815
|
|
|
202547
204816
|
/* harmony default export */ var ImTableCellWithBorder = (ImTableCellWithBorder_component.exports);
|
|
202548
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
204817
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"a30fa5d8-vue-loader-template"}!./node_modules/cache-loader/dist/cjs.js??ref--13-0!./node_modules/babel-loader/lib!./node_modules/vue-loader/lib/loaders/templateLoader.js??ref--6!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/vue-loader/lib??vue-loader-options!./node_modules/windicss-webpack-plugin/dist/loaders/windicss-template.cjs!./src/imui/src/ImLoading/index.vue?vue&type=template&id=26a57fc3
|
|
202549
204818
|
var ImLoadingvue_type_template_id_26a57fc3_render = function render() {
|
|
202550
204819
|
var _vm = this,
|
|
202551
204820
|
_c = _vm._self._c;
|
|
@@ -202598,7 +204867,7 @@ var ImLoading_component = Object(componentNormalizer["a" /* default */])(
|
|
|
202598
204867
|
)
|
|
202599
204868
|
|
|
202600
204869
|
/* harmony default export */ var ImLoading = (ImLoading_component.exports);
|
|
202601
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
204870
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"a30fa5d8-vue-loader-template"}!./node_modules/cache-loader/dist/cjs.js??ref--13-0!./node_modules/babel-loader/lib!./node_modules/vue-loader/lib/loaders/templateLoader.js??ref--6!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/vue-loader/lib??vue-loader-options!./node_modules/windicss-webpack-plugin/dist/loaders/windicss-template.cjs!./src/imui/src/FormWidgets/CardHeader.vue?vue&type=template&id=67efff71&scoped=true
|
|
202602
204871
|
var CardHeadervue_type_template_id_67efff71_scoped_true_render = function render() {
|
|
202603
204872
|
var _vm = this,
|
|
202604
204873
|
_c = _vm._self._c;
|
|
@@ -202648,7 +204917,7 @@ var CardHeader_component = Object(componentNormalizer["a" /* default */])(
|
|
|
202648
204917
|
)
|
|
202649
204918
|
|
|
202650
204919
|
/* harmony default export */ var CardHeader = (CardHeader_component.exports);
|
|
202651
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
204920
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"a30fa5d8-vue-loader-template"}!./node_modules/cache-loader/dist/cjs.js??ref--13-0!./node_modules/babel-loader/lib!./node_modules/vue-loader/lib/loaders/templateLoader.js??ref--6!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/vue-loader/lib??vue-loader-options!./node_modules/windicss-webpack-plugin/dist/loaders/windicss-template.cjs!./src/imui/src/FormWidgets/FormSplit.vue?vue&type=template&id=9a4f854c&scoped=true
|
|
202652
204921
|
var FormSplitvue_type_template_id_9a4f854c_scoped_true_render = function render() {
|
|
202653
204922
|
var _vm = this,
|
|
202654
204923
|
_c = _vm._self._c;
|
|
@@ -202700,7 +204969,7 @@ var FormSplit_component = Object(componentNormalizer["a" /* default */])(
|
|
|
202700
204969
|
)
|
|
202701
204970
|
|
|
202702
204971
|
/* harmony default export */ var FormSplit = (FormSplit_component.exports);
|
|
202703
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
204972
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"a30fa5d8-vue-loader-template"}!./node_modules/cache-loader/dist/cjs.js??ref--13-0!./node_modules/babel-loader/lib!./node_modules/vue-loader/lib/loaders/templateLoader.js??ref--6!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/vue-loader/lib??vue-loader-options!./node_modules/windicss-webpack-plugin/dist/loaders/windicss-template.cjs!./src/imui/src/FormWidgets/FixedBottom.vue?vue&type=template&id=ad1f3b18&scoped=true
|
|
202704
204973
|
var FixedBottomvue_type_template_id_ad1f3b18_scoped_true_render = function render() {
|
|
202705
204974
|
var _vm = this,
|
|
202706
204975
|
_c = _vm._self._c;
|
|
@@ -202795,7 +205064,7 @@ uploadComponent.keys().forEach(function (fileName) {
|
|
|
202795
205064
|
defaultObj[componentName] = componentConfig.default || componentConfig;
|
|
202796
205065
|
});
|
|
202797
205066
|
/* harmony default export */ var src_FormComponents = (defaultObj);
|
|
202798
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
205067
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"a30fa5d8-vue-loader-template"}!./node_modules/cache-loader/dist/cjs.js??ref--13-0!./node_modules/babel-loader/lib!./node_modules/vue-loader/lib/loaders/templateLoader.js??ref--6!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/vue-loader/lib??vue-loader-options!./node_modules/windicss-webpack-plugin/dist/loaders/windicss-template.cjs!./src/imui/pages/FormConfigPage/index.vue?vue&type=template&id=f3b8846c&scoped=true
|
|
202799
205068
|
var FormConfigPagevue_type_template_id_f3b8846c_scoped_true_render = function render() {
|
|
202800
205069
|
var _vm = this,
|
|
202801
205070
|
_c = _vm._self._c;
|
|
@@ -202841,7 +205110,7 @@ var FormConfigPagevue_type_template_id_f3b8846c_scoped_true_staticRenderFns = []
|
|
|
202841
205110
|
|
|
202842
205111
|
// CONCATENATED MODULE: ./src/imui/pages/FormConfigPage/index.vue?vue&type=template&id=f3b8846c&scoped=true
|
|
202843
205112
|
|
|
202844
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
205113
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"a30fa5d8-vue-loader-template"}!./node_modules/cache-loader/dist/cjs.js??ref--13-0!./node_modules/babel-loader/lib!./node_modules/vue-loader/lib/loaders/templateLoader.js??ref--6!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/vue-loader/lib??vue-loader-options!./node_modules/windicss-webpack-plugin/dist/loaders/windicss-template.cjs!./src/imui/pages/FormConfigPage/components/ConfigHeader.vue?vue&type=template&id=3d363a68&scoped=true
|
|
202845
205114
|
var ConfigHeadervue_type_template_id_3d363a68_scoped_true_render = function render() {
|
|
202846
205115
|
var _vm = this,
|
|
202847
205116
|
_c = _vm._self._c;
|
|
@@ -202968,7 +205237,7 @@ var ConfigHeader_component = Object(componentNormalizer["a" /* default */])(
|
|
|
202968
205237
|
)
|
|
202969
205238
|
|
|
202970
205239
|
/* harmony default export */ var ConfigHeader = (ConfigHeader_component.exports);
|
|
202971
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
205240
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"a30fa5d8-vue-loader-template"}!./node_modules/cache-loader/dist/cjs.js??ref--13-0!./node_modules/babel-loader/lib!./node_modules/vue-loader/lib/loaders/templateLoader.js??ref--6!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/vue-loader/lib??vue-loader-options!./node_modules/windicss-webpack-plugin/dist/loaders/windicss-template.cjs!./src/imui/pages/FormConfigPage/FormConfiguration/index.vue?vue&type=template&id=6e73dcb8&scoped=true
|
|
202972
205241
|
var FormConfigurationvue_type_template_id_6e73dcb8_scoped_true_render = function render() {
|
|
202973
205242
|
var _vm = this,
|
|
202974
205243
|
_c = _vm._self._c;
|
|
@@ -203066,7 +205335,7 @@ function getDaysBetweenDates(date) {
|
|
|
203066
205335
|
return '';
|
|
203067
205336
|
}
|
|
203068
205337
|
}
|
|
203069
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
205338
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"a30fa5d8-vue-loader-template"}!./node_modules/cache-loader/dist/cjs.js??ref--13-0!./node_modules/babel-loader/lib!./node_modules/vue-loader/lib/loaders/templateLoader.js??ref--6!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/vue-loader/lib??vue-loader-options!./node_modules/windicss-webpack-plugin/dist/loaders/windicss-template.cjs!./src/imui/pages/FormConfigPage/FormConfiguration/FieldListToDrag.vue?vue&type=template&id=6b49dbef&scoped=true
|
|
203070
205339
|
var FieldListToDragvue_type_template_id_6b49dbef_scoped_true_render = function render() {
|
|
203071
205340
|
var _vm = this,
|
|
203072
205341
|
_c = _vm._self._c;
|
|
@@ -203546,7 +205815,7 @@ var FieldListToDrag_component = Object(componentNormalizer["a" /* default */])(
|
|
|
203546
205815
|
)
|
|
203547
205816
|
|
|
203548
205817
|
/* harmony default export */ var FieldListToDrag = (FieldListToDrag_component.exports);
|
|
203549
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
205818
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"a30fa5d8-vue-loader-template"}!./node_modules/cache-loader/dist/cjs.js??ref--13-0!./node_modules/babel-loader/lib!./node_modules/vue-loader/lib/loaders/templateLoader.js??ref--6!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/vue-loader/lib??vue-loader-options!./node_modules/windicss-webpack-plugin/dist/loaders/windicss-template.cjs!./src/imui/pages/FormConfigPage/FieldConfigurate/FieldConfigs.vue?vue&type=template&id=f605c1be&scoped=true
|
|
203550
205819
|
|
|
203551
205820
|
var FieldConfigsvue_type_template_id_f605c1be_scoped_true_render = function render() {
|
|
203552
205821
|
var _vm = this,
|
|
@@ -203881,7 +206150,7 @@ var FieldConfigsvue_type_template_id_f605c1be_scoped_true_staticRenderFns = [];
|
|
|
203881
206150
|
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.function.name.js
|
|
203882
206151
|
var es_function_name = __webpack_require__("b0c0");
|
|
203883
206152
|
|
|
203884
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
206153
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"a30fa5d8-vue-loader-template"}!./node_modules/cache-loader/dist/cjs.js??ref--13-0!./node_modules/babel-loader/lib!./node_modules/vue-loader/lib/loaders/templateLoader.js??ref--6!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/vue-loader/lib??vue-loader-options!./node_modules/windicss-webpack-plugin/dist/loaders/windicss-template.cjs!./src/imui/pages/FormConfigPage/FieldConfigurate/widgets/RadioSelect.vue?vue&type=template&id=caf18b06&scoped=true
|
|
203885
206154
|
var RadioSelectvue_type_template_id_caf18b06_scoped_true_render = function render() {
|
|
203886
206155
|
var _vm = this,
|
|
203887
206156
|
_c = _vm._self._c;
|
|
@@ -203991,7 +206260,7 @@ var RadioSelect_component = Object(componentNormalizer["a" /* default */])(
|
|
|
203991
206260
|
)
|
|
203992
206261
|
|
|
203993
206262
|
/* harmony default export */ var RadioSelect = (RadioSelect_component.exports);
|
|
203994
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
206263
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"a30fa5d8-vue-loader-template"}!./node_modules/cache-loader/dist/cjs.js??ref--13-0!./node_modules/babel-loader/lib!./node_modules/vue-loader/lib/loaders/templateLoader.js??ref--6!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/vue-loader/lib??vue-loader-options!./node_modules/windicss-webpack-plugin/dist/loaders/windicss-template.cjs!./src/imui/pages/FormConfigPage/FieldConfigurate/widgets/OptionsSetting.vue?vue&type=template&id=c1c234e6&scoped=true
|
|
203995
206264
|
var OptionsSettingvue_type_template_id_c1c234e6_scoped_true_render = function render() {
|
|
203996
206265
|
var _vm = this,
|
|
203997
206266
|
_c = _vm._self._c;
|
|
@@ -204319,7 +206588,7 @@ var OptionsSetting_component = Object(componentNormalizer["a" /* default */])(
|
|
|
204319
206588
|
)
|
|
204320
206589
|
|
|
204321
206590
|
/* harmony default export */ var OptionsSetting = (OptionsSetting_component.exports);
|
|
204322
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
206591
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"a30fa5d8-vue-loader-template"}!./node_modules/cache-loader/dist/cjs.js??ref--13-0!./node_modules/babel-loader/lib!./node_modules/vue-loader/lib/loaders/templateLoader.js??ref--6!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/vue-loader/lib??vue-loader-options!./node_modules/windicss-webpack-plugin/dist/loaders/windicss-template.cjs!./src/imui/pages/FormConfigPage/FieldConfigurate/widgets/DefaultSetting.vue?vue&type=template&id=50f667ba&scoped=true
|
|
204323
206592
|
var DefaultSettingvue_type_template_id_50f667ba_scoped_true_render = function render() {
|
|
204324
206593
|
var _vm = this,
|
|
204325
206594
|
_c = _vm._self._c;
|
|
@@ -204663,7 +206932,7 @@ var DefaultSetting_component = Object(componentNormalizer["a" /* default */])(
|
|
|
204663
206932
|
)
|
|
204664
206933
|
|
|
204665
206934
|
/* harmony default export */ var DefaultSetting = (DefaultSetting_component.exports);
|
|
204666
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
206935
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"a30fa5d8-vue-loader-template"}!./node_modules/cache-loader/dist/cjs.js??ref--13-0!./node_modules/babel-loader/lib!./node_modules/vue-loader/lib/loaders/templateLoader.js??ref--6!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/vue-loader/lib??vue-loader-options!./node_modules/windicss-webpack-plugin/dist/loaders/windicss-template.cjs!./src/imui/pages/FormConfigPage/FieldConfigurate/widgets/TagCodeSelect.vue?vue&type=template&id=1b0dd909
|
|
204667
206936
|
|
|
204668
206937
|
|
|
204669
206938
|
var TagCodeSelectvue_type_template_id_1b0dd909_render = function render() {
|
|
@@ -205319,7 +207588,7 @@ var FieldConfigs_component = Object(componentNormalizer["a" /* default */])(
|
|
|
205319
207588
|
)
|
|
205320
207589
|
|
|
205321
207590
|
/* harmony default export */ var FieldConfigs = (FieldConfigs_component.exports);
|
|
205322
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
207591
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"a30fa5d8-vue-loader-template"}!./node_modules/cache-loader/dist/cjs.js??ref--13-0!./node_modules/babel-loader/lib!./node_modules/vue-loader/lib/loaders/templateLoader.js??ref--6!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/vue-loader/lib??vue-loader-options!./node_modules/windicss-webpack-plugin/dist/loaders/windicss-template.cjs!./src/imui/pages/FormConfigPage/FormConfiguration/FormRender.vue?vue&type=template&id=22847edb&scoped=true
|
|
205323
207592
|
var FormRendervue_type_template_id_22847edb_scoped_true_render = function render() {
|
|
205324
207593
|
var _vm = this,
|
|
205325
207594
|
_c = _vm._self._c;
|
|
@@ -205716,7 +207985,7 @@ var FormConfiguration_component = Object(componentNormalizer["a" /* default */])
|
|
|
205716
207985
|
)
|
|
205717
207986
|
|
|
205718
207987
|
/* harmony default export */ var FormConfiguration = (FormConfiguration_component.exports);
|
|
205719
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
207988
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"a30fa5d8-vue-loader-template"}!./node_modules/cache-loader/dist/cjs.js??ref--13-0!./node_modules/babel-loader/lib!./node_modules/vue-loader/lib/loaders/templateLoader.js??ref--6!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/vue-loader/lib??vue-loader-options!./node_modules/windicss-webpack-plugin/dist/loaders/windicss-template.cjs!./src/imui/pages/FormConfigPage/components/ViewConfigDialog.vue?vue&type=template&id=0dc2e9b2&scoped=true
|
|
205720
207989
|
var ViewConfigDialogvue_type_template_id_0dc2e9b2_scoped_true_render = function render() {
|
|
205721
207990
|
var _vm = this,
|
|
205722
207991
|
_c = _vm._self._c;
|
|
@@ -205754,7 +208023,7 @@ var ViewConfigDialogvue_type_template_id_0dc2e9b2_scoped_true_staticRenderFns =
|
|
|
205754
208023
|
|
|
205755
208024
|
// CONCATENATED MODULE: ./src/imui/pages/FormConfigPage/components/ViewConfigDialog.vue?vue&type=template&id=0dc2e9b2&scoped=true
|
|
205756
208025
|
|
|
205757
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
208026
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"a30fa5d8-vue-loader-template"}!./node_modules/cache-loader/dist/cjs.js??ref--13-0!./node_modules/babel-loader/lib!./node_modules/vue-loader/lib/loaders/templateLoader.js??ref--6!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/vue-loader/lib??vue-loader-options!./node_modules/vue-json-editor/vue-json-editor.vue?vue&type=template&id=9b72cb1a&scoped=true
|
|
205758
208027
|
var vue_json_editorvue_type_template_id_9b72cb1a_scoped_true_render = function render() {
|
|
205759
208028
|
var _vm = this,
|
|
205760
208029
|
_c = _vm._self._c;
|