@ezuikit/player-theme 3.1.4-beta.1 → 3.1.4-beta.2

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/index.esm.js CHANGED
@@ -1,6 +1,6 @@
1
1
  /*
2
- * @ezuikit/player-theme v3.1.4-beta.1
3
- * Copyright (c) 2026-08-24 09:15:26 Ezviz-OpenBiz
2
+ * @ezuikit/player-theme v3.1.4-beta.2
3
+ * Copyright (c) 2026-08-27 19:42:35 Ezviz-OpenBiz
4
4
  * Released under the MIT License.
5
5
  */
6
6
  import EventEmitter from 'eventemitter3';
@@ -478,14 +478,10 @@ function _set_prototype_of$z(o, p) {
478
478
  }(EventEmitter);
479
479
 
480
480
  function _extends$y() {
481
- _extends$y = Object.assign || function(target) {
481
+ _extends$y = Object.assign || function assign(target) {
482
482
  for(var i = 1; i < arguments.length; i++){
483
483
  var source = arguments[i];
484
- for(var key in source){
485
- if (Object.prototype.hasOwnProperty.call(source, key)) {
486
- target[key] = source[key];
487
- }
488
- }
484
+ for(var key in source)if (Object.prototype.hasOwnProperty.call(source, key)) target[key] = source[key];
489
485
  }
490
486
  return target;
491
487
  };
@@ -559,14 +555,10 @@ var LOADING_DEFAULT_OPTIONS = {};
559
555
  }(Control);
560
556
 
561
557
  function _extends$x() {
562
- _extends$x = Object.assign || function(target) {
558
+ _extends$x = Object.assign || function assign(target) {
563
559
  for(var i = 1; i < arguments.length; i++){
564
560
  var source = arguments[i];
565
- for(var key in source){
566
- if (Object.prototype.hasOwnProperty.call(source, key)) {
567
- target[key] = source[key];
568
- }
569
- }
561
+ for(var key in source)if (Object.prototype.hasOwnProperty.call(source, key)) target[key] = source[key];
570
562
  }
571
563
  return target;
572
564
  };
@@ -672,7 +664,7 @@ var POSTER_OPTIONS = {
672
664
  var Icons = {
673
665
  /** 播放 */ play: '<svg width="1em" height="1em" viewBox="0 0 24 24" fill="currentColor" focusable="false" aria-hidden="true" data-icon="play">\n <rect x="6.5" y="5.5" rx="1.25" width="2.5" height="13"/>\n <rect x="15" y="5.5" rx="1.25" width="2.5" height="13"/>\n </svg>',
674
666
  /** 暂停 */ pause: '<svg width="1em" height="1em" viewBox="0 0 24 24" fill="currentColor" focusable="false" aria-hidden="true" data-icon="pause"> <path d="M17.5 13.66L9.1 19.26C7.78 20.14 6 19.19 6 17.59L6 6.4C6 4.8 7.78 3.85 9.1 4.73L17.5 10.33C18.69 11.12 18.69 12.87 17.5 13.66Z" /></svg>',
675
- /** 音量 */ volume: function(prefix) {
667
+ /** 音量 */ volume: function volume(prefix) {
676
668
  return '<svg width="1em" height="1em" viewBox="0 0 24 24" stroke="currentColor" fill="none" focusable="false" aria-hidden="true" data-icon="volume">\n <path class="' + prefix + '-icon-volume-muted" d="M20.57 9.69L16.07 14.19" stroke-width="1.500000" stroke-linejoin="round" stroke-linecap="round"/>\n <path class="' + prefix + '-icon-volume-muted" d="M20.57 14.19L16.07 9.69" stroke-width="1.500000" stroke-linejoin="round" stroke-linecap="round"/>\n <!-- 音低 -->\n <path class="' + prefix + '-icon-volume-low" d="M15.53 15.97C16.69 15.25 17.49 13.75 17.49 12C17.49 10.25 16.69 8.75 15.53 8.02" stroke-width="1.500000" stroke-linejoin="round" stroke-linecap="round"/>\n <!-- 音高 -->\n <path class="' + prefix + '-icon-volume-high" d="M18.5 19.06C20.31 17.5 21.49 14.93 21.49 12C21.49 9.07 20.31 6.48 18.49 4.93" stroke-width="1.500000" stroke-linejoin="round" stroke-linecap="round"/>\n <path d="M5.87 8.62L9.85 5.25C10.5 4.7 11.49 5.16 11.49 6.01L11.49 17.98C11.49 18.83 10.5 19.29 9.85 18.74L5.87 15.37" stroke-width="1.500000" stroke-linejoin="round" stroke-linecap="round"/>\n <path d="M5.87 15.37L3.49 15.37C2.94 15.37 2.49 14.92 2.49 14.37L2.49 9.62C2.49 9.07 2.94 8.62 3.49 8.62L5.87 8.62" stroke-width="1.500000" stroke-linejoin="round" stroke-linecap="round"/>\n </svg>';
677
669
  },
678
670
  /** 全屏 */ mobileFullscreen: '<svg width="1em" height="1em" viewBox="0 0 24 24" fill="currentColor" focusable="false" aria-hidden="true" data-icon="mobile-fullscreen">\n <path d="M4 2.9082L11 2.9082C12.5188 2.9082 13.75 4.1394 13.75 5.6582L13.75 17.6582C13.75 19.177 12.5188 20.4082 11 20.4082L4 20.4082C2.4812 20.4082 1.25 19.177 1.25 17.6582L1.25 5.6582C1.25 4.1394 2.4812 2.9082 4 2.9082ZM4 4.4082L11 4.4082C11.6903 4.4082 12.25 4.9679 12.25 5.6582L12.25 17.6582C12.25 18.3485 11.6903 18.9082 11 18.9082L4 18.9082C3.30969 18.9082 2.75 18.3485 2.75 17.6582L2.75 5.6582C2.75 4.9679 3.30969 4.4082 4 4.4082ZM22.1511 18.3113C22.1511 19.3595 21.2467 20.1652 20.1509 20.2362L19.993 20.2413L15.2939 20.2413C14.8798 20.2413 14.5439 19.9055 14.5439 19.4913C14.5439 19.1116 14.8262 18.7979 15.1921 18.7482L15.2939 18.7413L19.993 18.7413C20.344 18.7413 20.5962 18.5592 20.6432 18.3732L20.6511 18.3113L20.6511 12.4895C20.6511 12.3048 20.4338 12.1042 20.1062 12.066L19.993 12.0594L15.2939 12.0594C14.8798 12.0594 14.5439 11.7238 14.5439 11.3094C14.5439 10.9298 14.8262 10.616 15.1921 10.5663L15.2939 10.5594L19.993 10.5594C21.1055 10.5594 22.0605 11.3175 22.145 12.3416L22.1511 12.4895L22.1511 18.3113ZM10.3225 16.1035C10.3225 15.6893 9.98669 15.3535 9.57251 15.3535L5.84644 15.3535L5.74463 15.3604C5.37854 15.41 5.09644 15.7239 5.09644 16.1035C5.09644 16.5177 5.43225 16.8535 5.84644 16.8535L9.57251 16.8535L9.67432 16.8467C10.0404 16.797 10.3225 16.4832 10.3225 16.1035Z" clip-rule="evenodd" fill-rule="evenodd"/>\n </svg>',
@@ -698,7 +690,7 @@ var Icons = {
698
690
  /** 录制/摄像机 */ record: '<svg width="1em" height="1em" viewBox="0 0 24 24" fill="none" stroke="currentColor" focusable="false" aria-hidden="true" data-icon="record">\n <path d="M4.53 19C3.03 19 1.8 17.74 1.8 16.2L1.8 7.8C1.8 6.25 3.03 5 4.53 5L14.08 5C15.58 5 16.8 6.25 16.8 7.8L16.8 16.2C16.8 17.74 15.58 19 14.08 19L4.53 19Z" stroke-width="1.5" stroke-linejoin="round"/>\n <path d="M17.25 13.64C17.94 14.2 18.97 15.03 20.36 16.15C21.09 16.74 22.19 16.21 22.19 15.27L22.19 8.72C22.19 7.78 21.09 7.25 20.36 7.84C18.99 8.94 17.96 9.77 17.28 10.32" stroke-width="1.5" stroke-linejoin="round" stroke-linecap="round"/>\n </svg>',
699
691
  recordCircle: '<svg width="1em" height="1em" viewBox="0 0 14 14" fill="currentColor" stroke="none" focusable="false" aria-hidden="true" data-icon="record-circle">\n <path d="M7.00044 2.5C9.70278 2.5 11.8935 4.69068 11.8935 7.39302C11.8935 10.0954 9.70278 12.286 7.00044 12.286C4.2981 12.286 2.10742 10.0954 2.10742 7.39302C2.10742 4.69068 4.2981 2.5 7.00044 2.5ZM7.00044 3.5C4.85039 3.5 3.10742 5.24296 3.10742 7.39302C3.10742 9.54307 4.85039 11.286 7.00044 11.286C9.15049 11.286 10.8935 9.54307 10.8935 7.39302C10.8935 5.24296 9.15049 3.5 7.00044 3.5ZM9.50049 7.39252C9.50049 6.01181 8.3812 4.89252 7.00049 4.89252C5.61978 4.89252 4.50049 6.01181 4.50049 7.39252C4.50049 8.77323 5.61978 9.89252 7.00049 9.89252C8.3812 9.89252 9.50049 8.77323 9.50049 7.39252Z" fill-rule="evenodd" />\n </svg>\n ',
700
692
  /** 对讲 */ talk: '<svg width="1em" height="1em" viewBox="0 0 24 24" fill="currentColor" stroke="currentColor" focusable="false" aria-hidden="true" data-icon="talk">\n <path stroke="none" d="M12.22 18.95C12.65 18.95 13.01 19.21 13.07 19.54L13.08 19.64L13.08 21.78C13.08 22.16 12.69 22.47 12.22 22.47C11.78 22.47 11.42 22.21 11.37 21.87L11.36 21.78L11.36 19.64C11.36 19.26 11.74 18.95 12.22 18.95Z" fill-rule="evenodd"/>\n <path d="M19.53 11.37L19.53 11.58C19.53 15.74 16.15 19.11 11.99 19.11C7.83 19.11 4.46 15.74 4.46 11.58L4.46 11.43" fill="none" stroke-width="1.5" stroke-linecap="round"/>\n <path stroke="none" d="M12.05 1.52C9.3 1.52 7.07 3.58 7.07 6.12L7.07 12.07C7.07 14.61 9.3 16.67 12.05 16.67C14.79 16.67 17.02 14.61 17.02 12.07L17.02 6.12C17.02 3.58 14.79 1.52 12.05 1.52ZM8.57 12.07L8.57 6.12C8.57 5.94 8.59 5.75 8.63 5.57C8.67 5.36 8.74 5.16 8.83 4.96C8.86 4.89 8.9 4.82 8.93 4.75C9.09 4.46 9.3 4.21 9.55 3.97C9.64 3.89 9.73 3.81 9.83 3.74C10.08 3.55 10.35 3.4 10.66 3.28C10.79 3.23 10.93 3.19 11.06 3.15C11.38 3.07 11.71 3.02 12.05 3.02C12.38 3.02 12.71 3.07 13.03 3.15C13.17 3.19 13.3 3.23 13.43 3.28C13.74 3.4 14.02 3.55 14.27 3.74C14.36 3.81 14.45 3.89 14.54 3.97C14.79 4.21 15 4.46 15.16 4.75C15.2 4.82 15.23 4.89 15.26 4.96C15.35 5.16 15.42 5.36 15.46 5.57C15.5 5.75 15.52 5.94 15.52 6.12L15.52 12.07C15.52 12.26 15.5 12.44 15.46 12.63C15.42 12.83 15.35 13.04 15.26 13.24C15.23 13.31 15.2 13.38 15.16 13.45C15 13.73 14.79 13.99 14.54 14.22C14.45 14.3 14.36 14.38 14.27 14.45C14.02 14.64 13.74 14.79 13.43 14.91C13.3 14.96 13.17 15.01 13.03 15.05C12.71 15.13 12.38 15.17 12.05 15.17C11.71 15.17 11.38 15.13 11.06 15.05C10.93 15.01 10.79 14.96 10.66 14.91C10.35 14.79 10.08 14.64 9.83 14.45C9.73 14.38 9.64 14.3 9.55 14.22C9.3 13.99 9.09 13.73 8.93 13.45C8.9 13.38 8.86 13.31 8.83 13.24C8.74 13.04 8.67 12.83 8.63 12.63C8.59 12.44 8.57 12.26 8.57 12.07Z" fill-rule="evenodd"/>\n </svg>',
701
- talkGrowth: function(prefix) {
693
+ talkGrowth: function talkGrowth(prefix) {
702
694
  return '<svg width="1em" height="1em" viewBox="0 0 24 24" focusable="false" aria-hidden="true" data-icon="talk-growth">\n <g fill="currentColor" stroke="currentColor">\n <path stroke="none" d="M9.22313 18.9543C9.6588 18.9543 10.0189 19.2133 10.0759 19.5494L10.0837 19.6428L10.0837 21.7847C10.0837 22.1649 9.69841 22.4732 9.22313 22.4732C8.78745 22.4732 8.42739 22.2142 8.37041 21.8781L8.36255 21.7847L8.36255 19.6428C8.36255 19.2626 8.74784 18.9543 9.22313 18.9543Z" fill-rule="evenodd" />\n <path d="M16.5323 11.3779L16.5323 11.5872C16.5323 15.7472 13.1599 19.1197 8.99981 19.1197C4.83971 19.1197 1.46729 15.7472 1.46729 11.5872L1.46729 11.4335" fill-rule="evenodd" fill="none" stroke-width="1.5" />\n <path stroke="none" d="M4.07861 6.12978C4.07861 3.589 6.30476 1.5293 9.05085 1.5293C11.7969 1.5293 14.0231 3.589 14.0231 6.12978L14.0231 12.075C14.0231 14.6158 11.7969 16.6755 9.05085 16.6755C6.30476 16.6755 4.07861 14.6158 4.07861 12.075L4.07861 6.12978ZM5.57861 12.075L5.57861 6.12978C5.57861 5.94083 5.597 5.75561 5.63376 5.57412C5.67605 5.36539 5.74265 5.16158 5.83357 4.9627C5.86625 4.8912 5.90164 4.82121 5.93974 4.75272C6.09781 4.4685 6.30245 4.21019 6.55365 3.97777C6.64206 3.89597 6.73424 3.81921 6.83019 3.7475C7.0816 3.55959 7.3589 3.40632 7.66207 3.28767C7.79552 3.23545 7.93107 3.19114 8.06871 3.15475C8.38503 3.07111 8.71241 3.0293 9.05085 3.0293C9.38929 3.0293 9.71668 3.07112 10.033 3.15475C10.1706 3.19114 10.3062 3.23545 10.4396 3.28767C10.7428 3.40632 11.0201 3.55959 11.2715 3.74749C11.3675 3.81921 11.4596 3.89596 11.548 3.97777C11.7993 4.2102 12.0039 4.46853 12.162 4.75276C12.2001 4.82124 12.2354 4.89122 12.2681 4.9627C12.359 5.16157 12.4256 5.36536 12.4679 5.57407C12.5047 5.75558 12.5231 5.94082 12.5231 6.12978L12.5231 12.075C12.5231 12.264 12.5047 12.4492 12.4679 12.6307C12.4256 12.8394 12.359 13.0432 12.2681 13.2421C12.2355 13.3136 12.2001 13.3835 12.162 13.452C12.0039 13.7362 11.7993 13.9946 11.548 14.227C11.4596 14.3088 11.3675 14.3856 11.2715 14.4573C11.0201 14.6452 10.7428 14.7985 10.4396 14.9171C10.3062 14.9693 10.1706 15.0136 10.033 15.05C9.71667 15.1337 9.38929 15.1755 9.05085 15.1755C8.71241 15.1755 8.38503 15.1337 8.06871 15.05C7.93107 15.0136 7.79552 14.9693 7.66207 14.9171C7.3589 14.7985 7.0816 14.6452 6.83019 14.4573C6.73424 14.3856 6.64206 14.3088 6.55365 14.227C6.30244 13.9946 6.09779 13.7363 5.93972 13.452C5.90163 13.3836 5.86625 13.3136 5.83357 13.2421C5.74265 13.0432 5.67605 12.8394 5.63377 12.6307C5.597 12.4492 5.57861 12.264 5.57861 12.075Z" fill-rule="evenodd" />\n </g>\n <g class="' + prefix + '-icon-talk-growth-dot">\n <path class="' + prefix + '-icon-talk-growth-dot1" d="M19.1333 6.40039L22.8667 6.40039" stroke="currentColor" stroke-linecap="round" stroke-width="1.86666667" />\n <path class="' + prefix + '-icon-talk-growth-dot2" d="M19.1333 10.1338L21.9331 10.1338" stroke="currentColor" stroke-linecap="round" stroke-width="1.86666667" />\n <path class="' + prefix + '-icon-talk-growth-dot3" d="M19.1333 13.8672L20.9995 13.8672" stroke="currentColor" stroke-linecap="round" stroke-width="1.86666667" />\n <path class="' + prefix + '-icon-talk-growth-dot4" d="M19.1333 17.6001L20.0669 17.6001" stroke="currentColor" stroke-linecap="round" stroke-width="1.86666667" />\n </g>\n </svg>';
703
695
  },
704
696
  /** 语音广播 */ broadcast: '\n <svg width="1em" height="1em" viewBox="0 0 24 24" fill="currentColor" stroke="none" focusable="false" aria-hidden="true" data-icon="broadcast">\n <g>\n <path id="矢量 1" d="m8.52109,6.76609l6.17823,-2.91335c0.2485,-0.11718 0.5027,-0.19531 0.7627,-0.2351c0.2034,-0.03077 0.4104,-0.03809 0.6211,-0.02173c0.2092,0.01636 0.4116,0.05493 0.6069,0.11621c0.2278,0.07129 0.4461,0.1731 0.6548,0.30542c0.2087,0.13232 0.394,0.28638 0.5557,0.46216l0.0002,0l0,0c0.1384,0.15064 0.2598,0.31714 0.3638,0.49951c0.1047,0.18335 0.1865,0.37354 0.2451,0.57081c0.0752,0.25219 0.1128,0.51562 0.1128,0.79004l0,10.64651c0,0.2744 -0.0376,0.5379 -0.1128,0.7901l0,0c-0.0586,0.197 -0.1404,0.3874 -0.2451,0.5708c-0.104,0.1823 -0.2254,0.3488 -0.364,0.4995c-0.1617,0.1758 -0.347,0.3298 -0.5557,0.4621c-0.2087,0.1324 -0.427,0.2342 -0.6548,0.3054c-0.1953,0.0611 -0.3977,0.0999 -0.6069,0.1163c-0.2107,0.0163 -0.4175,0.009 -0.6209,-0.0218c-0.2602,-0.0398 -0.5144,-0.1181 -0.7629,-0.2351l-5.45044,-2.5703l0,2.759c0,0.1036 -0.01831,0.1995 -0.05494,0.2879c-0.03662,0.0886 -0.09155,0.1692 -0.16479,0.2424c-0.14624,0.1465 -0.32324,0.2197 -0.53027,0.2197l-2,0c-0.14209,0 -0.27344,-0.0373 -0.39429,-0.112c-0.12085,-0.0745 -0.21289,-0.1756 -0.27661,-0.3025l-1.99268,-3.9856c-0.06225,-0.0234 -0.12402,-0.0481 -0.18555,-0.074c-0.26953,-0.114 -0.52417,-0.2502 -0.7644,-0.4084c-0.26636,-0.1758 -0.51489,-0.3789 -0.74512,-0.6094c-0.23047,-0.2302 -0.43359,-0.4788 -0.60937,-0.7451c-0.1582,-0.2403 -0.29444,-0.4949 -0.40845,-0.7644c-0.11328,-0.2679 -0.20068,-0.5413 -0.26245,-0.8206l0,0c-0.07398,-0.3347 -0.11108,-0.6775 -0.11108,-1.0286c0,-0.351 0.0371,-0.6938 0.11108,-1.0285c0.06177,-0.2793 0.14917,-0.5528 0.26245,-0.8206c0.11401,-0.26953 0.25025,-0.52417 0.40845,-0.7644c0.17578,-0.26636 0.3789,-0.5149 0.60937,-0.74512c0.23023,-0.23047 0.47876,-0.4336 0.74512,-0.60938l0,0c0.24023,-0.1582 0.49487,-0.29444 0.7644,-0.40845c0.26783,-0.11328 0.54126,-0.20068 0.82056,-0.26245l0,0l0,0l0,0c0.33472,-0.07398 0.67749,-0.11109 1.02857,-0.11109l2.93872,0c0.02636,-0.0166 0.05444,-0.03198 0.08349,-0.04589zm0.72876,8.47948l6.08937,2.8716c0.1287,0.0606 0.2598,0.0987 0.3935,0.114c0.0772,0.0088 0.1551,0.0103 0.2337,0.0042c0.0857,-0.0068 0.1687,-0.0217 0.2495,-0.0452c0.1133,-0.0329 0.2219,-0.0822 0.3257,-0.1479c0.104,-0.0659 0.1948,-0.1431 0.2729,-0.2317c0.0554,-0.063 0.1045,-0.1318 0.147,-0.2063c0.0393,-0.0686 0.0713,-0.1397 0.0962,-0.2131c0.043,-0.1277 0.0647,-0.2625 0.0647,-0.4046l0,-10.64651c0,-0.14209 -0.0217,-0.2771 -0.0647,-0.40454c-0.0249,-0.07349 -0.0569,-0.14454 -0.0962,-0.21314c-0.0425,-0.07471 -0.0916,-0.14331 -0.147,-0.2063c-0.0781,-0.08862 -0.1689,-0.16577 -0.2729,-0.23169c-0.1038,-0.06567 -0.2124,-0.11523 -0.3257,-0.14795c-0.0808,-0.02344 -0.1638,-0.03833 -0.2495,-0.04517c-0.0786,-0.0061 -0.1565,-0.00463 -0.2337,0.00415c-0.1337,0.01539 -0.2648,0.05347 -0.3935,0.11402l-6.09034,2.87208l0.00097,7.16405zm13.58447,-7.9121l-2,1c-0.3757,0.18775 -0.8184,0.04029 -1.0063,-0.33545c-0.0552,-0.11035 -0.0813,-0.22656 -0.0813,-0.34033c0,-0.27344 0.1516,-0.53321 0.4167,-0.66602l2,-1c0.3757,-0.18775 0.8186,-0.04004 1.0064,0.33545c0.0551,0.11035 0.0813,0.22656 0.0813,0.34033c0,0.27368 -0.1514,0.53345 -0.4168,0.66602zm-15.08544,8.9785l-2.08667,0l1.30029,2.6006l0.78638,0l0,-2.6006zm0,-7.99998l-2.25,0c-0.24976,0 -0.49317,0.02734 -0.73023,0.08179c-0.18188,0.04174 -0.36011,0.09961 -0.53467,0.17334c-0.17944,0.07593 -0.34961,0.1665 -0.51049,0.27124c-0.18702,0.12231 -0.36133,0.26416 -0.52271,0.42554c-0.16138,0.16137 -0.30322,0.33569 -0.42554,0.52267c-0.10473,0.1609 -0.19531,0.3311 -0.27124,0.5105c-0.07373,0.1746 -0.13159,0.3528 -0.17334,0.5347c-0.05444,0.2371 -0.08178,0.4805 -0.08178,0.7302c0,0.2498 0.02734,0.4932 0.08178,0.7303c0.04175,0.1818 0.09961,0.3601 0.17334,0.5346c0.07593,0.1795 0.16651,0.3496 0.27124,0.5105c0.12232,0.187 0.26416,0.3614 0.42554,0.5227c0.16138,0.1614 0.33569,0.3033 0.52271,0.4256c0.16088,0.1047 0.33105,0.1953 0.51049,0.2712c0.17456,0.0737 0.35279,0.1316 0.53467,0.1734c0.23706,0.0544 0.48047,0.0817 0.73023,0.0817l2.25097,0l-0.00097,-6.49998zm12.75004,2.60058l2,0c0.4199,0 0.75,0.3301 0.75,0.75c0,0.4199 -0.3301,0.75 -0.75,0.75l-2,0c-0.42,0 -0.75,-0.3301 -0.75,-0.75c0,-0.4199 0.33,-0.75 0.75,-0.75zm0.3354,4.0791l2,1c0.2654,0.1326 0.4168,0.3924 0.4168,0.6661c0,0.1137 -0.0262,0.2299 -0.0813,0.3403c-0.1878,0.3755 -0.6307,0.5232 -1.0064,0.3354l-2,-1c-0.2651,-0.1328 -0.4167,-0.3925 -0.4167,-0.666c0,-0.1138 0.0261,-0.23 0.0813,-0.3403c0.1879,-0.3758 0.6306,-0.5232 1.0063,-0.3355z" fill-rule="evenodd"/>\n </g>\n</svg>',
@@ -740,173 +732,169 @@ var Icons = {
740
732
  return '<span class="' + PREFIX_CLASS + "-icon " + PREFIX_CLASS + "-icon-" + type + '" ' + attrStr + ">" + svg + "</span>";
741
733
  }
742
734
  var IconComponents = {
743
- /** 播放 */ play: function(attr) {
735
+ /** 播放 */ play: function play(attr) {
744
736
  if (attr === void 0) attr = {};
745
737
  return createIcon(Icons.play, 'play', attr);
746
738
  },
747
- /** 暂停 */ pause: function(attr) {
739
+ /** 暂停 */ pause: function pause(attr) {
748
740
  if (attr === void 0) attr = {};
749
741
  return createIcon(Icons.pause, 'pause', attr);
750
742
  },
751
- volume: function(attr) {
743
+ volume: function volume(attr) {
752
744
  if (attr === void 0) attr = {};
753
745
  return createIcon(Icons.volume(PREFIX_CLASS), 'volume', attr);
754
746
  },
755
- mobileFullscreen: function(attr) {
747
+ mobileFullscreen: function mobileFullscreen(attr) {
756
748
  if (attr === void 0) attr = {};
757
749
  return createIcon(Icons.mobileFullscreen, 'mobile-fullscreen', attr);
758
750
  },
759
- exitFullscreen: function(attr) {
751
+ exitFullscreen: function exitFullscreen(attr) {
760
752
  if (attr === void 0) attr = {};
761
753
  return createIcon(Icons.exitFullscreen, 'exit-fullscreen', attr);
762
754
  },
763
- fullscreen: function(attr) {
755
+ fullscreen: function fullscreen(attr) {
764
756
  if (attr === void 0) attr = {};
765
757
  return createIcon(Icons.fullscreen, 'fullscreen', attr);
766
758
  },
767
- exitGlobalFullscreen: function(attr) {
759
+ exitGlobalFullscreen: function exitGlobalFullscreen(attr) {
768
760
  if (attr === void 0) attr = {};
769
761
  return createIcon(Icons.exitGlobalFullscreen, 'exit-global-fullscreen', attr);
770
762
  },
771
- globalFullscreen: function(attr) {
763
+ globalFullscreen: function globalFullscreen(attr) {
772
764
  if (attr === void 0) attr = {};
773
765
  return createIcon(Icons.globalFullscreen, 'global-fullscreen', attr);
774
766
  },
775
- capturePicture: function(attr) {
767
+ capturePicture: function capturePicture(attr) {
776
768
  if (attr === void 0) attr = {};
777
769
  return createIcon(Icons.capturePicture, 'capture-picture', attr);
778
770
  },
779
- ptz: function(attr) {
771
+ ptz: function ptz(attr) {
780
772
  if (attr === void 0) attr = {};
781
773
  return createIcon(Icons.ptz, 'ptz', attr);
782
774
  },
783
- record: function(attr) {
775
+ record: function record(attr) {
784
776
  if (attr === void 0) attr = {};
785
777
  return createIcon(Icons.record, 'record', attr);
786
778
  },
787
- recordCircle: function(attr) {
779
+ recordCircle: function recordCircle(attr) {
788
780
  if (attr === void 0) attr = {};
789
781
  return createIcon(Icons.recordCircle, 'record-circle', attr);
790
782
  },
791
- talk: function(attr) {
783
+ talk: function talk(attr) {
792
784
  if (attr === void 0) attr = {};
793
785
  return createIcon(Icons.talk, 'talk', attr);
794
786
  },
795
- broadcast: function(attr) {
787
+ broadcast: function broadcast(attr) {
796
788
  if (attr === void 0) attr = {};
797
789
  return createIcon(Icons.broadcast, 'broadcast', attr);
798
790
  },
799
- aiChat: function(attr) {
791
+ aiChat: function aiChat(attr) {
800
792
  if (attr === void 0) attr = {};
801
793
  return createIcon(Icons.aiChat, 'aiChat', attr);
802
794
  },
803
- talkGrowth: function(attr) {
795
+ talkGrowth: function talkGrowth(attr) {
804
796
  if (attr === void 0) attr = {};
805
797
  return createIcon(Icons.talkGrowth(PREFIX_CLASS), 'talk-growth', attr);
806
798
  },
807
- zoom: function(attr) {
799
+ zoom: function zoom(attr) {
808
800
  if (attr === void 0) attr = {};
809
801
  return createIcon(Icons.zoom, 'zoom', attr);
810
802
  },
811
- more: function(attr) {
803
+ more: function more(attr) {
812
804
  if (attr === void 0) attr = {};
813
805
  return createIcon(Icons.more, 'more', attr);
814
806
  },
815
- moreDot: function(attr) {
807
+ moreDot: function moreDot(attr) {
816
808
  if (attr === void 0) attr = {};
817
809
  return createIcon(Icons.moreDot, 'more-dot', attr);
818
810
  },
819
- minusCircle: function(attr) {
811
+ minusCircle: function minusCircle(attr) {
820
812
  if (attr === void 0) attr = {};
821
813
  return createIcon(Icons.minusCircle, 'minus-circle', attr);
822
814
  },
823
- plusCircle: function(attr) {
815
+ plusCircle: function plusCircle(attr) {
824
816
  if (attr === void 0) attr = {};
825
817
  return createIcon(Icons.plusCircle, 'plus-circle', attr);
826
818
  },
827
- sdk: function(attr) {
819
+ sdk: function sdk(attr) {
828
820
  if (attr === void 0) attr = {};
829
821
  return createIcon(Icons.sdk, 'sdk', attr);
830
822
  },
831
- cloudRec: function(attr) {
823
+ cloudRec: function cloudRec(attr) {
832
824
  if (attr === void 0) attr = {};
833
825
  return createIcon(Icons.cloudRec, 'cloud-rec', attr);
834
826
  },
835
- cloudRecord: function(attr) {
827
+ cloudRecord: function cloudRecord(attr) {
836
828
  if (attr === void 0) attr = {};
837
829
  return createIcon(Icons.cloudRecord, 'cloud-record', attr);
838
830
  },
839
- error: function(attr) {
831
+ error: function error(attr) {
840
832
  if (attr === void 0) attr = {};
841
833
  return createIcon(Icons.error, 'error', attr);
842
834
  },
843
- info: function(attr) {
835
+ info: function info(attr) {
844
836
  if (attr === void 0) attr = {};
845
837
  return createIcon(Icons.info, 'info', attr);
846
838
  },
847
- close: function(attr) {
839
+ close: function close(attr) {
848
840
  if (attr === void 0) attr = {};
849
841
  return createIcon(Icons.close, 'close', attr);
850
842
  },
851
- closeCircleOutLined: function(attr) {
843
+ closeCircleOutLined: function closeCircleOutLined(attr) {
852
844
  if (attr === void 0) attr = {};
853
845
  return createIcon(Icons.closeCircleOutLined, 'close-circle', attr);
854
846
  },
855
- warnCircleOutLined: function(attr) {
847
+ warnCircleOutLined: function warnCircleOutLined(attr) {
856
848
  if (attr === void 0) attr = {};
857
849
  return createIcon(Icons.warnCircleOutLined, 'warn-circle', attr);
858
850
  },
859
- infoCircleOutLined: function(attr) {
851
+ infoCircleOutLined: function infoCircleOutLined(attr) {
860
852
  if (attr === void 0) attr = {};
861
853
  return createIcon(Icons.infoCircleOutLined, 'info-circle', attr);
862
854
  },
863
- date: function(attr) {
855
+ date: function date(attr) {
864
856
  if (attr === void 0) attr = {};
865
857
  return createIcon(Icons.date, 'date', attr);
866
858
  },
867
- filter: function(attr) {
859
+ filter: function filter(attr) {
868
860
  if (attr === void 0) attr = {};
869
861
  return createIcon(Icons.filter, 'filter', attr);
870
862
  },
871
- add: function(attr) {
863
+ add: function add(attr) {
872
864
  if (attr === void 0) attr = {};
873
865
  return createIcon(Icons.add, 'add', attr);
874
866
  },
875
- reduce: function(attr) {
867
+ reduce: function reduce(attr) {
876
868
  if (attr === void 0) attr = {};
877
869
  return createIcon(Icons.reduce, 'reduce', attr);
878
870
  },
879
- /** 直播 */ live: function(attr) {
871
+ /** 直播 */ live: function live(attr) {
880
872
  if (attr === void 0) attr = {};
881
873
  return createIcon(Icons.live, 'live', attr);
882
874
  },
883
- /** 回放 */ recDropdown: function(attr) {
875
+ /** 回放 */ recDropdown: function recDropdown(attr) {
884
876
  if (attr === void 0) attr = {};
885
877
  return createIcon(Icons.recDropdown, 'rec-dropdown', attr);
886
878
  },
887
- /** 录像列表 */ recList: function(attr) {
879
+ /** 录像列表 */ recList: function recList(attr) {
888
880
  if (attr === void 0) attr = {};
889
881
  return createIcon(Icons.list, 'rec-list', attr);
890
882
  },
891
- /** 消息 */ alarmMessage: function(attr) {
883
+ /** 消息 */ alarmMessage: function alarmMessage(attr) {
892
884
  if (attr === void 0) attr = {};
893
885
  return createIcon(Icons.alarmMessage, 'alarm-message', attr);
894
886
  },
895
- time: function(attr) {
887
+ time: function time(attr) {
896
888
  if (attr === void 0) attr = {};
897
889
  return createIcon(Icons.time, 'time', attr);
898
890
  }
899
891
  };
900
892
 
901
893
  function _extends$w() {
902
- _extends$w = Object.assign || function(target) {
894
+ _extends$w = Object.assign || function assign(target) {
903
895
  for(var i = 1; i < arguments.length; i++){
904
896
  var source = arguments[i];
905
- for(var key in source){
906
- if (Object.prototype.hasOwnProperty.call(source, key)) {
907
- target[key] = source[key];
908
- }
909
- }
897
+ for(var key in source)if (Object.prototype.hasOwnProperty.call(source, key)) target[key] = source[key];
910
898
  }
911
899
  return target;
912
900
  };
@@ -1099,14 +1087,10 @@ function _create_class$8(Constructor, protoProps, staticProps) {
1099
1087
  return Constructor;
1100
1088
  }
1101
1089
  function _extends$v() {
1102
- _extends$v = Object.assign || function(target) {
1090
+ _extends$v = Object.assign || function assign(target) {
1103
1091
  for(var i = 1; i < arguments.length; i++){
1104
1092
  var source = arguments[i];
1105
- for(var key in source){
1106
- if (Object.prototype.hasOwnProperty.call(source, key)) {
1107
- target[key] = source[key];
1108
- }
1109
- }
1093
+ for(var key in source)if (Object.prototype.hasOwnProperty.call(source, key)) target[key] = source[key];
1110
1094
  }
1111
1095
  return target;
1112
1096
  };
@@ -1225,14 +1209,6 @@ function _array_like_to_array$2(arr, len) {
1225
1209
  for(var i = 0, arr2 = new Array(len); i < len; i++)arr2[i] = arr[i];
1226
1210
  return arr2;
1227
1211
  }
1228
- function _unsupported_iterable_to_array$2(o, minLen) {
1229
- if (!o) return;
1230
- if (typeof o === "string") return _array_like_to_array$2(o, minLen);
1231
- var n = Object.prototype.toString.call(o).slice(8, -1);
1232
- if (n === "Object" && o.constructor) n = o.constructor.name;
1233
- if (n === "Map" || n === "Set") return Array.from(n);
1234
- if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _array_like_to_array$2(o, minLen);
1235
- }
1236
1212
  function _create_for_of_iterator_helper_loose$2(o, allowArrayLike) {
1237
1213
  var it = typeof Symbol !== "undefined" && o[Symbol.iterator] || o["@@iterator"];
1238
1214
  if (it) return (it = it.call(o)).next.bind(it);
@@ -1240,18 +1216,24 @@ function _create_for_of_iterator_helper_loose$2(o, allowArrayLike) {
1240
1216
  if (it) o = it;
1241
1217
  var i = 0;
1242
1218
  return function() {
1243
- if (i >= o.length) {
1244
- return {
1245
- done: true
1246
- };
1247
- }
1219
+ if (i >= o.length) return {
1220
+ done: true
1221
+ };
1248
1222
  return {
1249
1223
  done: false,
1250
1224
  value: o[i++]
1251
1225
  };
1252
1226
  };
1253
1227
  }
1254
- throw new TypeError("Invalid attempt to iterate non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
1228
+ throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
1229
+ }
1230
+ function _unsupported_iterable_to_array$2(o, minLen) {
1231
+ if (!o) return;
1232
+ if (typeof o === "string") return _array_like_to_array$2(o, minLen);
1233
+ var n = Object.prototype.toString.call(o).slice(8, -1);
1234
+ if (n === "Object" && o.constructor) n = o.constructor.name;
1235
+ if (n === "Map" || n === "Set") return Array.from(n);
1236
+ if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _array_like_to_array$2(o, minLen);
1255
1237
  }
1256
1238
  /**
1257
1239
  * 工具类
@@ -1278,7 +1260,7 @@ function _create_for_of_iterator_helper_loose$2(o, allowArrayLike) {
1278
1260
  */ // prettier-ignore
1279
1261
  Utils.orientationEventListener = function orientationEventListener(change) {
1280
1262
  var _orientationTimer = null;
1281
- var getOrientation = function() {
1263
+ var getOrientation = function getOrientation() {
1282
1264
  var _screen, _window;
1283
1265
  // 现代浏览器方案
1284
1266
  if ((_screen = screen) == null ? void 0 : _screen.orientation) {
@@ -1315,7 +1297,7 @@ function _create_for_of_iterator_helper_loose$2(o, allowArrayLike) {
1315
1297
  };
1316
1298
  var orientation = getOrientation();
1317
1299
  // 监听变化(兼容写法)
1318
- var onOrientationChange = function() {
1300
+ var onOrientationChange = function onOrientationChange() {
1319
1301
  var newOrientation = getOrientation == null ? void 0 : getOrientation();
1320
1302
  // console.log("onOrientationChange", newOrientation, orientation)
1321
1303
  // prettier-ignore
@@ -1324,7 +1306,7 @@ function _create_for_of_iterator_helper_loose$2(o, allowArrayLike) {
1324
1306
  orientation = newOrientation;
1325
1307
  }
1326
1308
  };
1327
- var onResize = function() {
1309
+ var onResize = function onResize() {
1328
1310
  // 防抖处理
1329
1311
  if (_orientationTimer) clearTimeout(_orientationTimer);
1330
1312
  if (onOrientationChange) _orientationTimer = setTimeout(onOrientationChange, 200);
@@ -1379,7 +1361,7 @@ function _create_for_of_iterator_helper_loose$2(o, allowArrayLike) {
1379
1361
  */ // prettier-ignore
1380
1362
  Utils.resizeObserver = function resizeObserver(node, callback) {
1381
1363
  // prettier-ignore
1382
- var observerFn = function(entries, observer) {
1364
+ var observerFn = function observerFn(entries, observer) {
1383
1365
  for(var _iterator = _create_for_of_iterator_helper_loose$2(entries), _step; !(_step = _iterator()).done;){
1384
1366
  var entry = _step.value;
1385
1367
  if (entry.target === node) {
@@ -1443,9 +1425,9 @@ var PROGRESS_DEFAULT_OPTIONS = {
1443
1425
  showPlus: false,
1444
1426
  showMinus: false,
1445
1427
  isRotated: false,
1446
- onChange: function() {
1428
+ onChange: function onChange() {
1447
1429
  /* no-op */ },
1448
- renderText: function(_, percent) {
1430
+ renderText: function renderText(_, percent) {
1449
1431
  return (percent * 100).toFixed(0);
1450
1432
  }
1451
1433
  };
@@ -1468,6 +1450,7 @@ var PROGRESS_DEFAULT_OPTIONS = {
1468
1450
  * })
1469
1451
  */ var Progress = /*#__PURE__*/ function() {
1470
1452
  function Progress(options) {
1453
+ var _this_options_defaultValue;
1471
1454
  var _this_options_range;
1472
1455
  this._percent = 0;
1473
1456
  this._value = 0;
@@ -1489,7 +1472,6 @@ var PROGRESS_DEFAULT_OPTIONS = {
1489
1472
  this.$container = options.container;
1490
1473
  this._render();
1491
1474
  this._eventListeners();
1492
- var _this_options_defaultValue;
1493
1475
  var value = (_this_options_defaultValue = this.options.defaultValue) != null ? _this_options_defaultValue : this.options.range[0]; // 设置默认值
1494
1476
  this._value = +value.toFixed(2); // 保留两位小数
1495
1477
  // prettier-ignore
@@ -1562,8 +1544,8 @@ var PROGRESS_DEFAULT_OPTIONS = {
1562
1544
  this._percent = +((value - this.options.range[0]) / (this.options.range[1] - this.options.range[0])).toFixed(2);
1563
1545
  };
1564
1546
  _proto._render = function _render() {
1565
- this.$content = document.createElement('div');
1566
1547
  var _this_options_className;
1548
+ this.$content = document.createElement('div');
1567
1549
  this.$content.className = PREFIX_CLASS + "-progress " + ((_this_options_className = this.options.className) != null ? _this_options_className : '');
1568
1550
  this.$content.innerHTML = (this.options.showPercent ? '<div class="' + PREFIX_CLASS + '-progress-text">' + (this.options.renderText == null ? void 0 : this.options.renderText.call(this.options, this._value, this._percent, this.options.range)) + "</div>" : '') + "\n " + (this.options.showPlus ? '<div class="' + PREFIX_CLASS + '-progress-plus">\n ' + IconComponents.plusCircle() + "\n </div>" : '') + '\n <div class="' + PREFIX_CLASS + '-progress-slider">\n <div class="' + PREFIX_CLASS + '-progress-slider-fill"></div>\n <div class="' + PREFIX_CLASS + '-progress-slider-handle" style="top: 100%"></div>\n </div>\n ' + (this.options.showMinus ? '<div class="' + PREFIX_CLASS + '-progress-minus">\n ' + IconComponents.minusCircle() + "\n </div>" : '');
1569
1551
  this.$container.appendChild(this.$content);
@@ -1756,14 +1738,10 @@ function _create_class$6(Constructor, protoProps, staticProps) {
1756
1738
  return Constructor;
1757
1739
  }
1758
1740
  function _extends$u() {
1759
- _extends$u = Object.assign || function(target) {
1741
+ _extends$u = Object.assign || function assign(target) {
1760
1742
  for(var i = 1; i < arguments.length; i++){
1761
1743
  var source = arguments[i];
1762
- for(var key in source){
1763
- if (Object.prototype.hasOwnProperty.call(source, key)) {
1764
- target[key] = source[key];
1765
- }
1766
- }
1744
+ for(var key in source)if (Object.prototype.hasOwnProperty.call(source, key)) target[key] = source[key];
1767
1745
  }
1768
1746
  return target;
1769
1747
  };
@@ -1794,8 +1772,8 @@ var VOLUME_DEFAULT_OPTIONS = {
1794
1772
  muted: false,
1795
1773
  open: false,
1796
1774
  trigger: 'hover',
1797
- onOpenChange: function() {},
1798
- onChange: function() {}
1775
+ onOpenChange: function onOpenChange() {},
1776
+ onChange: function onChange() {}
1799
1777
  };
1800
1778
  /**
1801
1779
  * 音量调节控件
@@ -1823,7 +1801,7 @@ var VOLUME_DEFAULT_OPTIONS = {
1823
1801
  if (!(Utils.isMobile || _this._options.PLAY_TYPE === 'ezopen' || _this._options.PLAY_TYPE === 'ezhls')) {
1824
1802
  var _this__options_props4, _this__options_props5;
1825
1803
  _this.picker = new Picker(_this.$container, {
1826
- getPopupContainer: function() {
1804
+ getPopupContainer: function getPopupContainer() {
1827
1805
  return _this.$container;
1828
1806
  },
1829
1807
  trigger: _this._options.trigger,
@@ -1834,7 +1812,7 @@ var VOLUME_DEFAULT_OPTIONS = {
1834
1812
  -10
1835
1813
  ],
1836
1814
  placement: 'top',
1837
- onOpenChange: function(open) {
1815
+ onOpenChange: function onOpenChange(open) {
1838
1816
  _this._options.onOpenChange == null ? void 0 : _this._options.onOpenChange.call(_this._options, open, _this._muted ? _this._lastVolume : _this.volume, _this._muted);
1839
1817
  // prettier-ignore
1840
1818
  _this.emit(EVENTS.control.volumePanelOpenChange, open, _this._lastVolume, _this._muted);
@@ -1851,10 +1829,10 @@ var VOLUME_DEFAULT_OPTIONS = {
1851
1829
  showPercent: true,
1852
1830
  className: "" + PREFIX_CLASS + "-volume-progress",
1853
1831
  // 为了解决点击进度调取消静音
1854
- onProgressClick: function() {
1832
+ onProgressClick: function onProgressClick() {
1855
1833
  _this.muted = false;
1856
1834
  },
1857
- onChange: function(value) {
1835
+ onChange: function onChange(value) {
1858
1836
  if (value !== _this._volume) _this.volume = value;
1859
1837
  }
1860
1838
  });
@@ -2031,11 +2009,8 @@ function asyncGeneratorStep$7(gen, resolve, reject, _next, _throw, key, arg) {
2031
2009
  reject(error);
2032
2010
  return;
2033
2011
  }
2034
- if (info.done) {
2035
- resolve(value);
2036
- } else {
2037
- Promise.resolve(value).then(_next, _throw);
2038
- }
2012
+ if (info.done) resolve(value);
2013
+ else Promise.resolve(value).then(_next, _throw);
2039
2014
  }
2040
2015
  function _async_to_generator$7(fn) {
2041
2016
  return function() {
@@ -2061,9 +2036,17 @@ function _ts_generator$7(thisArg, body) {
2061
2036
  },
2062
2037
  trys: [],
2063
2038
  ops: []
2064
- }, g = Object.create((typeof Iterator === "function" ? Iterator : Object).prototype);
2065
- return g.next = verb(0), g["throw"] = verb(1), g["return"] = verb(2), typeof Symbol === "function" && (g[Symbol.iterator] = function() {
2066
- return this;
2039
+ }, g = Object.create((typeof Iterator === "function" ? Iterator : Object).prototype), d = Object.defineProperty;
2040
+ return d(g, "next", {
2041
+ value: verb(0)
2042
+ }), d(g, "throw", {
2043
+ value: verb(1)
2044
+ }), d(g, "return", {
2045
+ value: verb(2)
2046
+ }), typeof Symbol === "function" && d(g, Symbol.iterator, {
2047
+ value: function() {
2048
+ return this;
2049
+ }
2067
2050
  }), g;
2068
2051
  function verb(n) {
2069
2052
  return function(v) {
@@ -2467,14 +2450,10 @@ var __fullscreenProvider__ = Provider.getInstance();
2467
2450
  }();
2468
2451
 
2469
2452
  function _extends$t() {
2470
- _extends$t = Object.assign || function(target) {
2453
+ _extends$t = Object.assign || function assign(target) {
2471
2454
  for(var i = 1; i < arguments.length; i++){
2472
2455
  var source = arguments[i];
2473
- for(var key in source){
2474
- if (Object.prototype.hasOwnProperty.call(source, key)) {
2475
- target[key] = source[key];
2476
- }
2477
- }
2456
+ for(var key in source)if (Object.prototype.hasOwnProperty.call(source, key)) target[key] = source[key];
2478
2457
  }
2479
2458
  return target;
2480
2459
  };
@@ -2574,14 +2553,10 @@ function _set_prototype_of$t(o, p) {
2574
2553
  }(Control);
2575
2554
 
2576
2555
  function _extends$s() {
2577
- _extends$s = Object.assign || function(target) {
2556
+ _extends$s = Object.assign || function assign(target) {
2578
2557
  for(var i = 1; i < arguments.length; i++){
2579
2558
  var source = arguments[i];
2580
- for(var key in source){
2581
- if (Object.prototype.hasOwnProperty.call(source, key)) {
2582
- target[key] = source[key];
2583
- }
2584
- }
2559
+ for(var key in source)if (Object.prototype.hasOwnProperty.call(source, key)) target[key] = source[key];
2585
2560
  }
2586
2561
  return target;
2587
2562
  };
@@ -4107,14 +4082,10 @@ function _set_prototype_of$r(o, p) {
4107
4082
  }(EventEmitter);
4108
4083
 
4109
4084
  function _extends$r() {
4110
- _extends$r = Object.assign || function(target) {
4085
+ _extends$r = Object.assign || function assign(target) {
4111
4086
  for(var i = 1; i < arguments.length; i++){
4112
4087
  var source = arguments[i];
4113
- for(var key in source){
4114
- if (Object.prototype.hasOwnProperty.call(source, key)) {
4115
- target[key] = source[key];
4116
- }
4117
- }
4088
+ for(var key in source)if (Object.prototype.hasOwnProperty.call(source, key)) target[key] = source[key];
4118
4089
  }
4119
4090
  return target;
4120
4091
  };
@@ -4166,7 +4137,7 @@ function _set_prototype_of$q(o, p) {
4166
4137
  title: (_this_locale1 = this.locale) == null ? void 0 : _this_locale1.BTN_MORE
4167
4138
  });
4168
4139
  this.picker = new Picker(this.$container, {
4169
- getPopupContainer: function() {
4140
+ getPopupContainer: function getPopupContainer() {
4170
4141
  return _this.$container;
4171
4142
  },
4172
4143
  trigger: Utils.isMobile ? 'click' : 'hover',
@@ -4905,14 +4876,10 @@ function _create_class$5(Constructor, protoProps, staticProps) {
4905
4876
  return Constructor;
4906
4877
  }
4907
4878
  function _extends$q() {
4908
- _extends$q = Object.assign || function(target) {
4879
+ _extends$q = Object.assign || function assign(target) {
4909
4880
  for(var i = 1; i < arguments.length; i++){
4910
4881
  var source = arguments[i];
4911
- for(var key in source){
4912
- if (Object.prototype.hasOwnProperty.call(source, key)) {
4913
- target[key] = source[key];
4914
- }
4915
- }
4882
+ for(var key in source)if (Object.prototype.hasOwnProperty.call(source, key)) target[key] = source[key];
4916
4883
  }
4917
4884
  return target;
4918
4885
  };
@@ -4991,14 +4958,14 @@ var ZOOM_DEFAULT_OPTIONS = {
4991
4958
  showPlus: true,
4992
4959
  showPercent: true,
4993
4960
  isRotated: this._isRotated,
4994
- onChange: function(value, percent, range) {
4961
+ onChange: function onChange(value, percent, range) {
4995
4962
  if (value !== _this._value) {
4996
4963
  _this._value = value;
4997
4964
  _this._options.onChange == null ? void 0 : _this._options.onChange.call(_this._options, value, percent, range);
4998
4965
  _this.emit(EVENTS.control.zoomChange, value, percent, range);
4999
4966
  }
5000
4967
  },
5001
- renderText: function(value) {
4968
+ renderText: function renderText(value) {
5002
4969
  return "" + value + "X";
5003
4970
  }
5004
4971
  });
@@ -5078,14 +5045,10 @@ var ZOOM_DEFAULT_OPTIONS = {
5078
5045
  }(Control);
5079
5046
 
5080
5047
  function _extends$p() {
5081
- _extends$p = Object.assign || function(target) {
5048
+ _extends$p = Object.assign || function assign(target) {
5082
5049
  for(var i = 1; i < arguments.length; i++){
5083
5050
  var source = arguments[i];
5084
- for(var key in source){
5085
- if (Object.prototype.hasOwnProperty.call(source, key)) {
5086
- target[key] = source[key];
5087
- }
5088
- }
5051
+ for(var key in source)if (Object.prototype.hasOwnProperty.call(source, key)) target[key] = source[key];
5089
5052
  }
5090
5053
  return target;
5091
5054
  };
@@ -5094,14 +5057,14 @@ function _extends$p() {
5094
5057
  function __zoom(theme, container, options) {
5095
5058
  theme.zoomUtil = new Zoom$1(container, _extends$p({}, options || {}, {
5096
5059
  min: 1,
5097
- onChange: function(zoom, reset) {
5060
+ onChange: function onChange(zoom, reset) {
5098
5061
  if (zoom !== theme._zoom) {
5099
5062
  var _options_onChange;
5100
5063
  theme.zoom = zoom;
5101
5064
  options == null ? void 0 : (_options_onChange = options.onChange) == null ? void 0 : _options_onChange.call(options, zoom, reset);
5102
5065
  }
5103
5066
  },
5104
- onTranslateChange: function(pos) {
5067
+ onTranslateChange: function onTranslateChange(pos) {
5105
5068
  var _options_onTranslateChange;
5106
5069
  theme.emit(EVENTS.zoomTranslateChange, pos);
5107
5070
  options == null ? void 0 : (_options_onTranslateChange = options.onTranslateChange) == null ? void 0 : _options_onTranslateChange.call(options, pos);
@@ -5118,11 +5081,8 @@ function asyncGeneratorStep$6(gen, resolve, reject, _next, _throw, key, arg) {
5118
5081
  reject(error);
5119
5082
  return;
5120
5083
  }
5121
- if (info.done) {
5122
- resolve(value);
5123
- } else {
5124
- Promise.resolve(value).then(_next, _throw);
5125
- }
5084
+ if (info.done) resolve(value);
5085
+ else Promise.resolve(value).then(_next, _throw);
5126
5086
  }
5127
5087
  function _async_to_generator$6(fn) {
5128
5088
  return function() {
@@ -5148,9 +5108,17 @@ function _ts_generator$6(thisArg, body) {
5148
5108
  },
5149
5109
  trys: [],
5150
5110
  ops: []
5151
- }, g = Object.create((typeof Iterator === "function" ? Iterator : Object).prototype);
5152
- return g.next = verb(0), g["throw"] = verb(1), g["return"] = verb(2), typeof Symbol === "function" && (g[Symbol.iterator] = function() {
5153
- return this;
5111
+ }, g = Object.create((typeof Iterator === "function" ? Iterator : Object).prototype), d = Object.defineProperty;
5112
+ return d(g, "next", {
5113
+ value: verb(0)
5114
+ }), d(g, "throw", {
5115
+ value: verb(1)
5116
+ }), d(g, "return", {
5117
+ value: verb(2)
5118
+ }), typeof Symbol === "function" && d(g, Symbol.iterator, {
5119
+ value: function() {
5120
+ return this;
5121
+ }
5154
5122
  }), g;
5155
5123
  function verb(n) {
5156
5124
  return function(v) {
@@ -5306,11 +5274,8 @@ function asyncGeneratorStep$5(gen, resolve, reject, _next, _throw, key, arg) {
5306
5274
  reject(error);
5307
5275
  return;
5308
5276
  }
5309
- if (info.done) {
5310
- resolve(value);
5311
- } else {
5312
- Promise.resolve(value).then(_next, _throw);
5313
- }
5277
+ if (info.done) resolve(value);
5278
+ else Promise.resolve(value).then(_next, _throw);
5314
5279
  }
5315
5280
  function _async_to_generator$5(fn) {
5316
5281
  return function() {
@@ -5328,14 +5293,10 @@ function _async_to_generator$5(fn) {
5328
5293
  };
5329
5294
  }
5330
5295
  function _extends$o() {
5331
- _extends$o = Object.assign || function(target) {
5296
+ _extends$o = Object.assign || function assign(target) {
5332
5297
  for(var i = 1; i < arguments.length; i++){
5333
5298
  var source = arguments[i];
5334
- for(var key in source){
5335
- if (Object.prototype.hasOwnProperty.call(source, key)) {
5336
- target[key] = source[key];
5337
- }
5338
- }
5299
+ for(var key in source)if (Object.prototype.hasOwnProperty.call(source, key)) target[key] = source[key];
5339
5300
  }
5340
5301
  return target;
5341
5302
  };
@@ -5350,9 +5311,17 @@ function _ts_generator$5(thisArg, body) {
5350
5311
  },
5351
5312
  trys: [],
5352
5313
  ops: []
5353
- }, g = Object.create((typeof Iterator === "function" ? Iterator : Object).prototype);
5354
- return g.next = verb(0), g["throw"] = verb(1), g["return"] = verb(2), typeof Symbol === "function" && (g[Symbol.iterator] = function() {
5355
- return this;
5314
+ }, g = Object.create((typeof Iterator === "function" ? Iterator : Object).prototype), d = Object.defineProperty;
5315
+ return d(g, "next", {
5316
+ value: verb(0)
5317
+ }), d(g, "throw", {
5318
+ value: verb(1)
5319
+ }), d(g, "return", {
5320
+ value: verb(2)
5321
+ }), typeof Symbol === "function" && d(g, Symbol.iterator, {
5322
+ value: function() {
5323
+ return this;
5324
+ }
5356
5325
  }), g;
5357
5326
  function verb(n) {
5358
5327
  return function(v) {
@@ -5445,10 +5414,10 @@ function _ts_generator$5(thisArg, body) {
5445
5414
  * @param {IThemeData} themeData 主题数据
5446
5415
  * @returns
5447
5416
  */ function _filterControls(themeData) {
5417
+ var _ref;
5448
5418
  var _themeData_header, _themeData_footer;
5449
5419
  var data = {};
5450
- var _themeData_autoFocus;
5451
- data.autoFocus = (_themeData_autoFocus = themeData == null ? void 0 : themeData.autoFocus) != null ? _themeData_autoFocus : 3; // 3s
5420
+ data.autoFocus = (_ref = themeData == null ? void 0 : themeData.autoFocus) != null ? _ref : 3; // 3s
5452
5421
  data.poster = (themeData == null ? void 0 : themeData.poster) || ''; //
5453
5422
  var deviceControls = [];
5454
5423
  var recControls = [];
@@ -5753,14 +5722,10 @@ function rgbOrHexToRgbaWithOpacity(color, opacity) {
5753
5722
  }();
5754
5723
 
5755
5724
  function _extends$n() {
5756
- _extends$n = Object.assign || function(target) {
5725
+ _extends$n = Object.assign || function assign(target) {
5757
5726
  for(var i = 1; i < arguments.length; i++){
5758
5727
  var source = arguments[i];
5759
- for(var key in source){
5760
- if (Object.prototype.hasOwnProperty.call(source, key)) {
5761
- target[key] = source[key];
5762
- }
5763
- }
5728
+ for(var key in source)if (Object.prototype.hasOwnProperty.call(source, key)) target[key] = source[key];
5764
5729
  }
5765
5730
  return target;
5766
5731
  };
@@ -5798,14 +5763,10 @@ var Footer = /*#__PURE__*/ function(Component) {
5798
5763
  }(Component);
5799
5764
 
5800
5765
  function _extends$m() {
5801
- _extends$m = Object.assign || function(target) {
5766
+ _extends$m = Object.assign || function assign(target) {
5802
5767
  for(var i = 1; i < arguments.length; i++){
5803
5768
  var source = arguments[i];
5804
- for(var key in source){
5805
- if (Object.prototype.hasOwnProperty.call(source, key)) {
5806
- target[key] = source[key];
5807
- }
5808
- }
5769
+ for(var key in source)if (Object.prototype.hasOwnProperty.call(source, key)) target[key] = source[key];
5809
5770
  }
5810
5771
  return target;
5811
5772
  };
@@ -5857,13 +5818,13 @@ function interactiveHF($container, second, callback) {
5857
5818
  var _alwaysDisplay = false;
5858
5819
  var _$header = $container.querySelector("." + PREFIX_CLASS + "-header");
5859
5820
  var _$footer = $container.querySelector("." + PREFIX_CLASS + "-footer");
5860
- var _clearTimeout = function() {
5821
+ var _clearTimeout = function _clearTimeout() {
5861
5822
  if (_timer) {
5862
5823
  clearTimeout(_timer);
5863
5824
  _timer = null;
5864
5825
  }
5865
5826
  };
5866
- var _show = function() {
5827
+ var _show = function _show() {
5867
5828
  _clearTimeout == null ? void 0 : _clearTimeout();
5868
5829
  _$header == null ? void 0 : _$header.classList.remove("" + PREFIX_CLASS + "-hide-transition");
5869
5830
  _$footer == null ? void 0 : _$footer.classList.remove("" + PREFIX_CLASS + "-hide-transition");
@@ -5873,7 +5834,7 @@ function interactiveHF($container, second, callback) {
5873
5834
  }
5874
5835
  _open = true;
5875
5836
  };
5876
- var _hide = function() {
5837
+ var _hide = function _hide() {
5877
5838
  if (_alwaysDisplay) {
5878
5839
  return;
5879
5840
  }
@@ -5888,27 +5849,27 @@ function interactiveHF($container, second, callback) {
5888
5849
  }
5889
5850
  _open = false;
5890
5851
  };
5891
- var _setTimeoutShow = function() {
5852
+ var _setTimeoutShow = function _setTimeoutShow() {
5892
5853
  _show == null ? void 0 : _show();
5893
5854
  _timer = setTimeout(function() {
5894
5855
  _clearTimeout == null ? void 0 : _clearTimeout();
5895
5856
  _hide == null ? void 0 : _hide();
5896
5857
  }, second);
5897
5858
  };
5898
- var _headerFooterMousemove = function(e) {
5859
+ var _headerFooterMousemove = function _headerFooterMousemove(e) {
5899
5860
  var // 鼠标在header footer 移动, 不允许消失及不要冒泡
5900
5861
  _e_stopPropagation;
5901
5862
  e == null ? void 0 : (_e_stopPropagation = e.stopPropagation) == null ? void 0 : _e_stopPropagation.call(e);
5902
5863
  _clearTimeout == null ? void 0 : _clearTimeout();
5903
5864
  };
5904
- var _touchStart = function() {
5865
+ var _touchStart = function _touchStart() {
5905
5866
  if (_open) {
5906
5867
  _hide == null ? void 0 : _hide();
5907
5868
  } else {
5908
5869
  _setTimeoutShow == null ? void 0 : _setTimeoutShow();
5909
5870
  }
5910
5871
  };
5911
- var _headerFooterTouchStart = function(e) {
5872
+ var _headerFooterTouchStart = function _headerFooterTouchStart(e) {
5912
5873
  var // 移动端特殊处理, 点击 header footer不允许消失及不要冒泡
5913
5874
  _e_stopPropagation;
5914
5875
  e == null ? void 0 : (_e_stopPropagation = e.stopPropagation) == null ? void 0 : _e_stopPropagation.call(e);
@@ -5945,7 +5906,7 @@ function interactiveHF($container, second, callback) {
5945
5906
  }
5946
5907
  /**
5947
5908
  * 销毁
5948
- */ var cleanup = function() {
5909
+ */ var cleanup = function cleanup() {
5949
5910
  if ($container) {
5950
5911
  if (Utils.isMobile && _touchStart) {
5951
5912
  var eventName = "click";
@@ -5989,11 +5950,11 @@ function interactiveHF($container, second, callback) {
5989
5950
  };
5990
5951
  return {
5991
5952
  cleanup: cleanup,
5992
- clearTimeout: function() {
5953
+ clearTimeout: function clearTimeout1() {
5993
5954
  _clearTimeout == null ? void 0 : _clearTimeout();
5994
5955
  _alwaysDisplay = true;
5995
5956
  },
5996
- setTimeoutShow: function() {
5957
+ setTimeoutShow: function setTimeoutShow() {
5997
5958
  _setTimeoutShow == null ? void 0 : _setTimeoutShow();
5998
5959
  _alwaysDisplay = false;
5999
5960
  },
@@ -6002,14 +5963,10 @@ function interactiveHF($container, second, callback) {
6002
5963
  }
6003
5964
 
6004
5965
  function _extends$l() {
6005
- _extends$l = Object.assign || function(target) {
5966
+ _extends$l = Object.assign || function assign(target) {
6006
5967
  for(var i = 1; i < arguments.length; i++){
6007
5968
  var source = arguments[i];
6008
- for(var key in source){
6009
- if (Object.prototype.hasOwnProperty.call(source, key)) {
6010
- target[key] = source[key];
6011
- }
6012
- }
5969
+ for(var key in source)if (Object.prototype.hasOwnProperty.call(source, key)) target[key] = source[key];
6013
5970
  }
6014
5971
  return target;
6015
5972
  };
@@ -6074,14 +6031,10 @@ function _set_prototype_of$m(o, p) {
6074
6031
  }(Fullscreen);
6075
6032
 
6076
6033
  function _extends$k() {
6077
- _extends$k = Object.assign || function(target) {
6034
+ _extends$k = Object.assign || function assign(target) {
6078
6035
  for(var i = 1; i < arguments.length; i++){
6079
6036
  var source = arguments[i];
6080
- for(var key in source){
6081
- if (Object.prototype.hasOwnProperty.call(source, key)) {
6082
- target[key] = source[key];
6083
- }
6084
- }
6037
+ for(var key in source)if (Object.prototype.hasOwnProperty.call(source, key)) target[key] = source[key];
6085
6038
  }
6086
6039
  return target;
6087
6040
  };
@@ -6144,8 +6097,8 @@ function _set_prototype_of$l(o, p) {
6144
6097
  * 点击 Control 会触发
6145
6098
  */ _proto._onControlClick = function _onControlClick(e) {
6146
6099
  var _this = this;
6147
- this.active = true;
6148
6100
  var _this_options_type, _this_options_cloudRecUpload;
6101
+ this.active = true;
6149
6102
  this.emit(EVENTS.control.capturePicture, {
6150
6103
  type: (_this_options_type = this.options.type) != null ? _this_options_type : 'download',
6151
6104
  quality: this.options.quality || 0.9,
@@ -6181,14 +6134,10 @@ function _create_class$4(Constructor, protoProps, staticProps) {
6181
6134
  return Constructor;
6182
6135
  }
6183
6136
  function _extends$j() {
6184
- _extends$j = Object.assign || function(target) {
6137
+ _extends$j = Object.assign || function assign(target) {
6185
6138
  for(var i = 1; i < arguments.length; i++){
6186
6139
  var source = arguments[i];
6187
- for(var key in source){
6188
- if (Object.prototype.hasOwnProperty.call(source, key)) {
6189
- target[key] = source[key];
6190
- }
6191
- }
6140
+ for(var key in source)if (Object.prototype.hasOwnProperty.call(source, key)) target[key] = source[key];
6192
6141
  }
6193
6142
  return target;
6194
6143
  };
@@ -6357,7 +6306,7 @@ function formatTime(seconds, format) {
6357
6306
  var hours = Math.floor(seconds / 3600);
6358
6307
  var minutes = Math.floor(seconds % 3600 / 60);
6359
6308
  var secs = seconds % 60;
6360
- var pad = function(num) {
6309
+ var pad = function pad(num) {
6361
6310
  return num.toString().padStart(2, '0');
6362
6311
  };
6363
6312
  return format.replace('HH', pad(hours)).replace('MM', pad(minutes)).replace('SS', pad(secs));
@@ -6377,14 +6326,10 @@ function _create_class$3(Constructor, protoProps, staticProps) {
6377
6326
  return Constructor;
6378
6327
  }
6379
6328
  function _extends$i() {
6380
- _extends$i = Object.assign || function(target) {
6329
+ _extends$i = Object.assign || function assign(target) {
6381
6330
  for(var i = 1; i < arguments.length; i++){
6382
6331
  var source = arguments[i];
6383
- for(var key in source){
6384
- if (Object.prototype.hasOwnProperty.call(source, key)) {
6385
- target[key] = source[key];
6386
- }
6387
- }
6332
+ for(var key in source)if (Object.prototype.hasOwnProperty.call(source, key)) target[key] = source[key];
6388
6333
  }
6389
6334
  return target;
6390
6335
  };
@@ -6532,11 +6477,8 @@ function asyncGeneratorStep$4(gen, resolve, reject, _next, _throw, key, arg) {
6532
6477
  reject(error);
6533
6478
  return;
6534
6479
  }
6535
- if (info.done) {
6536
- resolve(value);
6537
- } else {
6538
- Promise.resolve(value).then(_next, _throw);
6539
- }
6480
+ if (info.done) resolve(value);
6481
+ else Promise.resolve(value).then(_next, _throw);
6540
6482
  }
6541
6483
  function _async_to_generator$4(fn) {
6542
6484
  return function() {
@@ -6567,14 +6509,10 @@ function _create_class$2(Constructor, protoProps, staticProps) {
6567
6509
  return Constructor;
6568
6510
  }
6569
6511
  function _extends$h() {
6570
- _extends$h = Object.assign || function(target) {
6512
+ _extends$h = Object.assign || function assign(target) {
6571
6513
  for(var i = 1; i < arguments.length; i++){
6572
6514
  var source = arguments[i];
6573
- for(var key in source){
6574
- if (Object.prototype.hasOwnProperty.call(source, key)) {
6575
- target[key] = source[key];
6576
- }
6577
- }
6515
+ for(var key in source)if (Object.prototype.hasOwnProperty.call(source, key)) target[key] = source[key];
6578
6516
  }
6579
6517
  return target;
6580
6518
  };
@@ -6609,9 +6547,17 @@ function _ts_generator$4(thisArg, body) {
6609
6547
  },
6610
6548
  trys: [],
6611
6549
  ops: []
6612
- }, g = Object.create((typeof Iterator === "function" ? Iterator : Object).prototype);
6613
- return g.next = verb(0), g["throw"] = verb(1), g["return"] = verb(2), typeof Symbol === "function" && (g[Symbol.iterator] = function() {
6614
- return this;
6550
+ }, g = Object.create((typeof Iterator === "function" ? Iterator : Object).prototype), d = Object.defineProperty;
6551
+ return d(g, "next", {
6552
+ value: verb(0)
6553
+ }), d(g, "throw", {
6554
+ value: verb(1)
6555
+ }), d(g, "return", {
6556
+ value: verb(2)
6557
+ }), typeof Symbol === "function" && d(g, Symbol.iterator, {
6558
+ value: function() {
6559
+ return this;
6560
+ }
6615
6561
  }), g;
6616
6562
  function verb(n) {
6617
6563
  return function(v) {
@@ -6752,7 +6698,7 @@ function _ts_generator$4(thisArg, body) {
6752
6698
  /**
6753
6699
  * 点击 Control 会触发
6754
6700
  */ _proto._onControlClick = function _onControlClick(e) {
6755
- var _this = this, _superprop_get__onControlClick = function() {
6701
+ var _this = this, _superprop_get__onControlClick = function _superprop_get__onControlClick() {
6756
6702
  return Control.prototype._onControlClick;
6757
6703
  };
6758
6704
  return _async_to_generator$4(function() {
@@ -6815,11 +6761,8 @@ function asyncGeneratorStep$3(gen, resolve, reject, _next, _throw, key, arg) {
6815
6761
  reject(error);
6816
6762
  return;
6817
6763
  }
6818
- if (info.done) {
6819
- resolve(value);
6820
- } else {
6821
- Promise.resolve(value).then(_next, _throw);
6822
- }
6764
+ if (info.done) resolve(value);
6765
+ else Promise.resolve(value).then(_next, _throw);
6823
6766
  }
6824
6767
  function _async_to_generator$3(fn) {
6825
6768
  return function() {
@@ -6837,14 +6780,10 @@ function _async_to_generator$3(fn) {
6837
6780
  };
6838
6781
  }
6839
6782
  function _extends$g() {
6840
- _extends$g = Object.assign || function(target) {
6783
+ _extends$g = Object.assign || function assign(target) {
6841
6784
  for(var i = 1; i < arguments.length; i++){
6842
6785
  var source = arguments[i];
6843
- for(var key in source){
6844
- if (Object.prototype.hasOwnProperty.call(source, key)) {
6845
- target[key] = source[key];
6846
- }
6847
- }
6786
+ for(var key in source)if (Object.prototype.hasOwnProperty.call(source, key)) target[key] = source[key];
6848
6787
  }
6849
6788
  return target;
6850
6789
  };
@@ -6879,9 +6818,17 @@ function _ts_generator$3(thisArg, body) {
6879
6818
  },
6880
6819
  trys: [],
6881
6820
  ops: []
6882
- }, g = Object.create((typeof Iterator === "function" ? Iterator : Object).prototype);
6883
- return g.next = verb(0), g["throw"] = verb(1), g["return"] = verb(2), typeof Symbol === "function" && (g[Symbol.iterator] = function() {
6884
- return this;
6821
+ }, g = Object.create((typeof Iterator === "function" ? Iterator : Object).prototype), d = Object.defineProperty;
6822
+ return d(g, "next", {
6823
+ value: verb(0)
6824
+ }), d(g, "throw", {
6825
+ value: verb(1)
6826
+ }), d(g, "return", {
6827
+ value: verb(2)
6828
+ }), typeof Symbol === "function" && d(g, Symbol.iterator, {
6829
+ value: function() {
6830
+ return this;
6831
+ }
6885
6832
  }), g;
6886
6833
  function verb(n) {
6887
6834
  return function(v) {
@@ -7017,7 +6964,7 @@ function _ts_generator$3(thisArg, body) {
7017
6964
  /**
7018
6965
  * 点击 Control 会触发
7019
6966
  */ _proto._onControlClick = function _onControlClick(e) {
7020
- var _this = this, _superprop_get__onControlClick = function() {
6967
+ var _this = this, _superprop_get__onControlClick = function _superprop_get__onControlClick() {
7021
6968
  return Control.prototype._onControlClick;
7022
6969
  };
7023
6970
  return _async_to_generator$3(function() {
@@ -7045,11 +6992,8 @@ function asyncGeneratorStep$2(gen, resolve, reject, _next, _throw, key, arg) {
7045
6992
  reject(error);
7046
6993
  return;
7047
6994
  }
7048
- if (info.done) {
7049
- resolve(value);
7050
- } else {
7051
- Promise.resolve(value).then(_next, _throw);
7052
- }
6995
+ if (info.done) resolve(value);
6996
+ else Promise.resolve(value).then(_next, _throw);
7053
6997
  }
7054
6998
  function _async_to_generator$2(fn) {
7055
6999
  return function() {
@@ -7067,14 +7011,10 @@ function _async_to_generator$2(fn) {
7067
7011
  };
7068
7012
  }
7069
7013
  function _extends$f() {
7070
- _extends$f = Object.assign || function(target) {
7014
+ _extends$f = Object.assign || function assign(target) {
7071
7015
  for(var i = 1; i < arguments.length; i++){
7072
7016
  var source = arguments[i];
7073
- for(var key in source){
7074
- if (Object.prototype.hasOwnProperty.call(source, key)) {
7075
- target[key] = source[key];
7076
- }
7077
- }
7017
+ for(var key in source)if (Object.prototype.hasOwnProperty.call(source, key)) target[key] = source[key];
7078
7018
  }
7079
7019
  return target;
7080
7020
  };
@@ -7109,9 +7049,17 @@ function _ts_generator$2(thisArg, body) {
7109
7049
  },
7110
7050
  trys: [],
7111
7051
  ops: []
7112
- }, g = Object.create((typeof Iterator === "function" ? Iterator : Object).prototype);
7113
- return g.next = verb(0), g["throw"] = verb(1), g["return"] = verb(2), typeof Symbol === "function" && (g[Symbol.iterator] = function() {
7114
- return this;
7052
+ }, g = Object.create((typeof Iterator === "function" ? Iterator : Object).prototype), d = Object.defineProperty;
7053
+ return d(g, "next", {
7054
+ value: verb(0)
7055
+ }), d(g, "throw", {
7056
+ value: verb(1)
7057
+ }), d(g, "return", {
7058
+ value: verb(2)
7059
+ }), typeof Symbol === "function" && d(g, Symbol.iterator, {
7060
+ value: function() {
7061
+ return this;
7062
+ }
7115
7063
  }), g;
7116
7064
  function verb(n) {
7117
7065
  return function(v) {
@@ -7248,7 +7196,7 @@ function _ts_generator$2(thisArg, body) {
7248
7196
  /**
7249
7197
  * 点击 Control 会触发
7250
7198
  */ _proto._onControlClick = function _onControlClick(e) {
7251
- var _this = this, _superprop_get__onControlClick = function() {
7199
+ var _this = this, _superprop_get__onControlClick = function _superprop_get__onControlClick() {
7252
7200
  return Control.prototype._onControlClick;
7253
7201
  };
7254
7202
  return _async_to_generator$2(function() {
@@ -7269,14 +7217,10 @@ function _ts_generator$2(thisArg, body) {
7269
7217
  }(Control);
7270
7218
 
7271
7219
  function _extends$e() {
7272
- _extends$e = Object.assign || function(target) {
7220
+ _extends$e = Object.assign || function assign(target) {
7273
7221
  for(var i = 1; i < arguments.length; i++){
7274
7222
  var source = arguments[i];
7275
- for(var key in source){
7276
- if (Object.prototype.hasOwnProperty.call(source, key)) {
7277
- target[key] = source[key];
7278
- }
7279
- }
7223
+ for(var key in source)if (Object.prototype.hasOwnProperty.call(source, key)) target[key] = source[key];
7280
7224
  }
7281
7225
  return target;
7282
7226
  };
@@ -7364,14 +7308,10 @@ function _set_prototype_of$f(o, p) {
7364
7308
  }(Control);
7365
7309
 
7366
7310
  function _extends$d() {
7367
- _extends$d = Object.assign || function(target) {
7311
+ _extends$d = Object.assign || function assign(target) {
7368
7312
  for(var i = 1; i < arguments.length; i++){
7369
7313
  var source = arguments[i];
7370
- for(var key in source){
7371
- if (Object.prototype.hasOwnProperty.call(source, key)) {
7372
- target[key] = source[key];
7373
- }
7374
- }
7314
+ for(var key in source)if (Object.prototype.hasOwnProperty.call(source, key)) target[key] = source[key];
7375
7315
  }
7376
7316
  return target;
7377
7317
  };
@@ -7454,7 +7394,7 @@ function _set_prototype_of$e(o, p) {
7454
7394
  _proto._initPicker = function _initPicker() {
7455
7395
  var _this = this;
7456
7396
  this._picker = new Picker(this.$container, {
7457
- getPopupContainer: function() {
7397
+ getPopupContainer: function getPopupContainer() {
7458
7398
  return Utils.isMobile ? _this.__options.rootContainer : _this.$container;
7459
7399
  },
7460
7400
  trigger: Utils.isMobile ? 'click' : 'hover',
@@ -7528,14 +7468,10 @@ function _set_prototype_of$e(o, p) {
7528
7468
  }(Control);
7529
7469
 
7530
7470
  function _extends$c() {
7531
- _extends$c = Object.assign || function(target) {
7471
+ _extends$c = Object.assign || function assign(target) {
7532
7472
  for(var i = 1; i < arguments.length; i++){
7533
7473
  var source = arguments[i];
7534
- for(var key in source){
7535
- if (Object.prototype.hasOwnProperty.call(source, key)) {
7536
- target[key] = source[key];
7537
- }
7538
- }
7474
+ for(var key in source)if (Object.prototype.hasOwnProperty.call(source, key)) target[key] = source[key];
7539
7475
  }
7540
7476
  return target;
7541
7477
  };
@@ -7588,10 +7524,10 @@ function _set_prototype_of$d(o, p) {
7588
7524
  showEventFilter: false,
7589
7525
  showCardTypeIcon: false,
7590
7526
  sections: [],
7591
- onCardClick: function(section, index, sections) {
7527
+ onCardClick: function onCardClick(section, index, sections) {
7592
7528
  _this.emit(EVENTS.control.recListCardClick, section, index, sections);
7593
7529
  },
7594
- onClose: function() {
7530
+ onClose: function onClose() {
7595
7531
  var _this__options_onClose, _this__options;
7596
7532
  _this._panelOpen = false;
7597
7533
  _this.active = false;
@@ -7680,14 +7616,10 @@ function _set_prototype_of$d(o, p) {
7680
7616
  }(Control);
7681
7617
 
7682
7618
  function _extends$b() {
7683
- _extends$b = Object.assign || function(target) {
7619
+ _extends$b = Object.assign || function assign(target) {
7684
7620
  for(var i = 1; i < arguments.length; i++){
7685
7621
  var source = arguments[i];
7686
- for(var key in source){
7687
- if (Object.prototype.hasOwnProperty.call(source, key)) {
7688
- target[key] = source[key];
7689
- }
7690
- }
7622
+ for(var key in source)if (Object.prototype.hasOwnProperty.call(source, key)) target[key] = source[key];
7691
7623
  }
7692
7624
  return target;
7693
7625
  };
@@ -7776,14 +7708,10 @@ function _create_class$1(Constructor, protoProps, staticProps) {
7776
7708
  return Constructor;
7777
7709
  }
7778
7710
  function _extends$a() {
7779
- _extends$a = Object.assign || function(target) {
7711
+ _extends$a = Object.assign || function assign(target) {
7780
7712
  for(var i = 1; i < arguments.length; i++){
7781
7713
  var source = arguments[i];
7782
- for(var key in source){
7783
- if (Object.prototype.hasOwnProperty.call(source, key)) {
7784
- target[key] = source[key];
7785
- }
7786
- }
7714
+ for(var key in source)if (Object.prototype.hasOwnProperty.call(source, key)) target[key] = source[key];
7787
7715
  }
7788
7716
  return target;
7789
7717
  };
@@ -7814,11 +7742,11 @@ var SELECT_DEFAULT_OPTIONS = {
7814
7742
  label: 'label',
7815
7743
  value: 'value'
7816
7744
  },
7817
- renderLabel: function(label) {
7745
+ renderLabel: function renderLabel(label) {
7818
7746
  return "<span>" + (label || '') + "</span>";
7819
7747
  },
7820
- onChange: function() {},
7821
- onOpenChange: function() {}
7748
+ onChange: function onChange() {},
7749
+ onOpenChange: function onOpenChange() {}
7822
7750
  };
7823
7751
  /**
7824
7752
  * 选择器切换 (支持PC/Mobile)
@@ -7872,6 +7800,7 @@ var SELECT_DEFAULT_OPTIONS = {
7872
7800
  _inherits$b(Select, Control);
7873
7801
  function Select(options) {
7874
7802
  var _this;
7803
+ var _ref;
7875
7804
  var _this__options_fieldNames, _this__picker_$body;
7876
7805
  _this = Control.call(this, _extends$a({
7877
7806
  tagName: 'span',
@@ -7885,11 +7814,10 @@ var SELECT_DEFAULT_OPTIONS = {
7885
7814
  if (options.value !== undefined || options.value !== null) {
7886
7815
  _this._value = options.value + '';
7887
7816
  }
7888
- var _this__options_fieldNames_value;
7889
- var valueKey = (_this__options_fieldNames_value = (_this__options_fieldNames = _this._options.fieldNames) == null ? void 0 : _this__options_fieldNames.value) != null ? _this__options_fieldNames_value : 'value';
7817
+ var valueKey = (_ref = (_this__options_fieldNames = _this._options.fieldNames) == null ? void 0 : _this__options_fieldNames.value) != null ? _ref : 'value';
7890
7818
  _this._picker = new Picker(_this.$container, {
7891
7819
  // 由于某些原因, 移动端强制渲染在 body 上
7892
- getPopupContainer: function() {
7820
+ getPopupContainer: function getPopupContainer() {
7893
7821
  return Utils.isMobile ? options.rootContainer : _this.$container;
7894
7822
  },
7895
7823
  trigger: Utils.isMobile ? 'click' : 'hover',
@@ -7902,7 +7830,7 @@ var SELECT_DEFAULT_OPTIONS = {
7902
7830
  ],
7903
7831
  placement: 'top',
7904
7832
  // zIndex: 10000,
7905
- onOpenChange: function(open) {
7833
+ onOpenChange: function onOpenChange(open) {
7906
7834
  var item = _this.list.find(function(item) {
7907
7835
  return item[valueKey] + '' === _this.value;
7908
7836
  });
@@ -7926,11 +7854,10 @@ var SELECT_DEFAULT_OPTIONS = {
7926
7854
  var _this = this;
7927
7855
  if (list === void 0) list = [];
7928
7856
  if ((list == null ? void 0 : list.length) > 0 && this._picker) {
7857
+ var _ref, _ref1;
7929
7858
  var _this__options_fieldNames, _this__options_fieldNames1, _this_locale, _this__picker;
7930
- var _this__options_fieldNames_label;
7931
- var labelKey = (_this__options_fieldNames_label = (_this__options_fieldNames = this._options.fieldNames) == null ? void 0 : _this__options_fieldNames.label) != null ? _this__options_fieldNames_label : 'label';
7932
- var _this__options_fieldNames_value;
7933
- var valueKey = (_this__options_fieldNames_value = (_this__options_fieldNames1 = this._options.fieldNames) == null ? void 0 : _this__options_fieldNames1.value) != null ? _this__options_fieldNames_value : 'value';
7859
+ var labelKey = (_ref = (_this__options_fieldNames = this._options.fieldNames) == null ? void 0 : _this__options_fieldNames.label) != null ? _ref : 'label';
7860
+ var valueKey = (_ref1 = (_this__options_fieldNames1 = this._options.fieldNames) == null ? void 0 : _this__options_fieldNames1.value) != null ? _ref1 : 'value';
7934
7861
  (_this__picker = this._picker) == null ? void 0 : _this__picker.innerHTML('<div class="' + PREFIX_CLASS + '-select-panel">\n <ul class="' + PREFIX_CLASS + '-select-list">\n ' + list.map(function(item) {
7935
7862
  return '\n <li class="' + PREFIX_CLASS + "-select-option " + (+item[valueKey] === _this.value ? "" + PREFIX_CLASS + "-active" : '') + '" data-value="' + item[valueKey] + '">\n <span>' + item[labelKey] + "</span>\n </li>\n ";
7936
7863
  }).join('') + "\n </ul>\n " + (Utils.isMobile ? '<div class="' + PREFIX_CLASS + '-select-cancel">\n <span>' + (((_this_locale = this.locale) == null ? void 0 : _this_locale.cancel) || '取消') + "</span>\n </div>" : '') + "\n " + (Utils.isMobile ? '<span class="' + PREFIX_CLASS + '-select-close">' + IconComponents.close() + "</span>" : '') + "\n <div>");
@@ -7942,12 +7869,12 @@ var SELECT_DEFAULT_OPTIONS = {
7942
7869
  }
7943
7870
  };
7944
7871
  _proto._render = function _render(item) {
7872
+ var _ref;
7945
7873
  var _this__options_fieldNames;
7946
7874
  if (this.list.length === 0) {
7947
7875
  return;
7948
7876
  }
7949
- var _this__options_fieldNames_label;
7950
- var labelKey = (_this__options_fieldNames_label = (_this__options_fieldNames = this._options.fieldNames) == null ? void 0 : _this__options_fieldNames.label) != null ? _this__options_fieldNames_label : 'label';
7877
+ var labelKey = (_ref = (_this__options_fieldNames = this._options.fieldNames) == null ? void 0 : _this__options_fieldNames.label) != null ? _ref : 'label';
7951
7878
  if (this.$container.querySelector("." + PREFIX_CLASS + "-select-btn")) {
7952
7879
  this.$container.querySelector("." + PREFIX_CLASS + "-select-btn").innerHTML = this._options.renderLabel == null ? void 0 : this._options.renderLabel.call(this._options, item == null ? void 0 : item[labelKey], item, this.list);
7953
7880
  } else {
@@ -7963,9 +7890,9 @@ var SELECT_DEFAULT_OPTIONS = {
7963
7890
  _proto._activeOption = function _activeOption() {
7964
7891
  var _this = this;
7965
7892
  if (this._picker) {
7893
+ var _ref;
7966
7894
  var _this__options_fieldNames, _this__picker_$body, _this__picker_$body1;
7967
- var _this__options_fieldNames_value;
7968
- var valueKey = (_this__options_fieldNames_value = (_this__options_fieldNames = this._options.fieldNames) == null ? void 0 : _this__options_fieldNames.value) != null ? _this__options_fieldNames_value : 'value';
7895
+ var valueKey = (_ref = (_this__options_fieldNames = this._options.fieldNames) == null ? void 0 : _this__options_fieldNames.value) != null ? _ref : 'value';
7969
7896
  var $active = (_this__picker_$body = this._picker.$body) == null ? void 0 : _this__picker_$body.querySelector("." + PREFIX_CLASS + "-active");
7970
7897
  $active == null ? void 0 : $active.classList.remove(PREFIX_CLASS + '-active');
7971
7898
  var $target = (_this__picker_$body1 = this._picker.$body) == null ? void 0 : _this__picker_$body1.querySelector("." + PREFIX_CLASS + '-select-option[data-value="' + this.value + '"]');
@@ -7979,9 +7906,9 @@ var SELECT_DEFAULT_OPTIONS = {
7979
7906
  _proto._onSelectChange = function _onSelectChange() {
7980
7907
  var _this = this;
7981
7908
  if (this._picker) {
7909
+ var _ref;
7982
7910
  var _this__options_fieldNames;
7983
- var _this__options_fieldNames_value;
7984
- var valueKey = (_this__options_fieldNames_value = (_this__options_fieldNames = this._options.fieldNames) == null ? void 0 : _this__options_fieldNames.value) != null ? _this__options_fieldNames_value : 'value';
7911
+ var valueKey = (_ref = (_this__options_fieldNames = this._options.fieldNames) == null ? void 0 : _this__options_fieldNames.value) != null ? _ref : 'value';
7985
7912
  this._delegationOption = delegate(this._picker.$body, "." + PREFIX_CLASS + "-select-option", 'click', function(e) {
7986
7913
  var target = e.delegateTarget;
7987
7914
  e.stopPropagation();
@@ -8066,20 +7993,14 @@ var SELECT_DEFAULT_OPTIONS = {
8066
7993
  }(Control);
8067
7994
 
8068
7995
  function _assert_this_initialized$1(self) {
8069
- if (self === void 0) {
8070
- throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
8071
- }
7996
+ if (self === void 0) throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
8072
7997
  return self;
8073
7998
  }
8074
7999
  function _extends$9() {
8075
- _extends$9 = Object.assign || function(target) {
8000
+ _extends$9 = Object.assign || function assign(target) {
8076
8001
  for(var i = 1; i < arguments.length; i++){
8077
8002
  var source = arguments[i];
8078
- for(var key in source){
8079
- if (Object.prototype.hasOwnProperty.call(source, key)) {
8080
- target[key] = source[key];
8081
- }
8082
- }
8003
+ for(var key in source)if (Object.prototype.hasOwnProperty.call(source, key)) target[key] = source[key];
8083
8004
  }
8084
8005
  return target;
8085
8006
  };
@@ -8169,7 +8090,7 @@ function __filter(list, locale) {
8169
8090
  title: options == null ? void 0 : (_options_locales_options_language = options.locales[options.language]) == null ? void 0 : _options_locales_options_language.BTN_HD,
8170
8091
  controlType: 'button',
8171
8092
  classNameSuffix: 'definition',
8172
- renderLabel: function(label, item, list) {
8093
+ renderLabel: function renderLabel(label, item, list) {
8173
8094
  var _list_;
8174
8095
  if ((item == null ? void 0 : item.level) === 'auto') {
8175
8096
  var _options_locales_options_language;
@@ -8181,7 +8102,7 @@ function __filter(list, locale) {
8181
8102
  // 如果 label 不存在,则不显示label,直接显示list的第一个label, 一般自定义清晰度列表可能会出现
8182
8103
  return "<span>" + (label || ((_list_ = list[0]) == null ? void 0 : _list_.name) || '') + "</span>";
8183
8104
  },
8184
- onChange: function(value, item) {
8105
+ onChange: function onChange(value, item) {
8185
8106
  var _options_onChange;
8186
8107
  options == null ? void 0 : (_options_onChange = options.onChange) == null ? void 0 : _options_onChange.call(options, value, item);
8187
8108
  if (value === 'auto') {
@@ -8191,7 +8112,7 @@ function __filter(list, locale) {
8191
8112
  _assert_this_initialized$1(_this).emit(EVENTS.control.definitionChange, value, item);
8192
8113
  }
8193
8114
  },
8194
- onOpenChange: function(open, value, item) {
8115
+ onOpenChange: function onOpenChange(open, value, item) {
8195
8116
  var _options_onOpenChange;
8196
8117
  options == null ? void 0 : (_options_onOpenChange = options.onOpenChange) == null ? void 0 : _options_onOpenChange.call(options, open, value, item);
8197
8118
  _assert_this_initialized$1(_this).emit(EVENTS.control.definitionPanelOpenChange, open, value, item);
@@ -8227,20 +8148,14 @@ function __filter(list, locale) {
8227
8148
  }(Select);
8228
8149
 
8229
8150
  function _assert_this_initialized(self) {
8230
- if (self === void 0) {
8231
- throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
8232
- }
8151
+ if (self === void 0) throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
8233
8152
  return self;
8234
8153
  }
8235
8154
  function _extends$8() {
8236
- _extends$8 = Object.assign || function(target) {
8155
+ _extends$8 = Object.assign || function assign(target) {
8237
8156
  for(var i = 1; i < arguments.length; i++){
8238
8157
  var source = arguments[i];
8239
- for(var key in source){
8240
- if (Object.prototype.hasOwnProperty.call(source, key)) {
8241
- target[key] = source[key];
8242
- }
8243
- }
8158
+ for(var key in source)if (Object.prototype.hasOwnProperty.call(source, key)) target[key] = source[key];
8244
8159
  }
8245
8160
  return target;
8246
8161
  };
@@ -8307,13 +8222,13 @@ var SPEED_DEFAULT_OPTIONS = {
8307
8222
  classNameSuffix: 'speed',
8308
8223
  controlType: 'button',
8309
8224
  title: options == null ? void 0 : (_options_locales = options.locales) == null ? void 0 : (_options_locales_options_language = _options_locales[options.language]) == null ? void 0 : _options_locales_options_language.BTN_SPEED,
8310
- onChange: function(value, item) {
8225
+ onChange: function onChange(value, item) {
8311
8226
  var _options_onChange;
8312
8227
  value = +value;
8313
8228
  options == null ? void 0 : (_options_onChange = options.onChange) == null ? void 0 : _options_onChange.call(options, value, item);
8314
8229
  _assert_this_initialized(_this).emit(EVENTS.control.speedChange, value, item);
8315
8230
  },
8316
- onOpenChange: function(open, value, item) {
8231
+ onOpenChange: function onOpenChange(open, value, item) {
8317
8232
  var _options_onOpenChange;
8318
8233
  value = +value;
8319
8234
  options == null ? void 0 : (_options_onOpenChange = options.onOpenChange) == null ? void 0 : _options_onOpenChange.call(options, open, value, item);
@@ -8363,14 +8278,10 @@ var SPEED_DEFAULT_OPTIONS = {
8363
8278
  }(Select);
8364
8279
 
8365
8280
  function _extends$7() {
8366
- _extends$7 = Object.assign || function(target) {
8281
+ _extends$7 = Object.assign || function assign(target) {
8367
8282
  for(var i = 1; i < arguments.length; i++){
8368
8283
  var source = arguments[i];
8369
- for(var key in source){
8370
- if (Object.prototype.hasOwnProperty.call(source, key)) {
8371
- target[key] = source[key];
8372
- }
8373
- }
8284
+ for(var key in source)if (Object.prototype.hasOwnProperty.call(source, key)) target[key] = source[key];
8374
8285
  }
8375
8286
  return target;
8376
8287
  };
@@ -8447,16 +8358,16 @@ function _set_prototype_of$8(o, p) {
8447
8358
  current: DateTime.toDate(this._value),
8448
8359
  placement: 'tr',
8449
8360
  triggerClose: true,
8450
- disabledDate: function(date) {
8361
+ disabledDate: function disabledDate(date) {
8451
8362
  return date.getTime() > (_this.options.maxDate || new Date()).getTime();
8452
8363
  }
8453
8364
  }, this.options || {}, {
8454
8365
  // 不支持自定义
8455
- getPopupContainer: function() {
8366
+ getPopupContainer: function getPopupContainer() {
8456
8367
  return _this.$container;
8457
8368
  },
8458
8369
  // eslint-disable-next-line @typescript-eslint/no-unused-vars
8459
- onOk: function(date, _mode) {
8370
+ onOk: function onOk(date, _mode) {
8460
8371
  if (date && _this._value !== DateTime.format(date, 'YYYY-MM-DD') && isMobile1) {
8461
8372
  _this._value = DateTime.format(date, 'YYYY-MM-DD');
8462
8373
  _this.options.onOk == null ? void 0 : _this.options.onOk.call(_this.options, date);
@@ -8466,14 +8377,14 @@ function _set_prototype_of$8(o, p) {
8466
8377
  }
8467
8378
  }
8468
8379
  },
8469
- onChange: function(date, mode) {
8380
+ onChange: function onChange(date, mode) {
8470
8381
  if (date && _this._value !== DateTime.format(date, 'YYYY-MM-DD') && !isMobile1 && mode === 'date') {
8471
8382
  _this._value = DateTime.format(date, 'YYYY-MM-DD');
8472
8383
  _this.options.onChange == null ? void 0 : _this.options.onChange.call(_this.options, date);
8473
8384
  _this.emit(EVENTS.control.dateChange, date);
8474
8385
  }
8475
8386
  },
8476
- onOpenChange: function(open) {
8387
+ onOpenChange: function onOpenChange(open) {
8477
8388
  _this.options.onPanelChange == null ? void 0 : _this.options.onPanelChange.call(_this.options, open, _this.datePicker.current);
8478
8389
  _this.emit(EVENTS.control.datePanelOpenChange, open, _this.datePicker.current);
8479
8390
  }
@@ -8523,14 +8434,10 @@ function _set_prototype_of$8(o, p) {
8523
8434
  }(Control);
8524
8435
 
8525
8436
  function _extends$6() {
8526
- _extends$6 = Object.assign || function(target) {
8437
+ _extends$6 = Object.assign || function assign(target) {
8527
8438
  for(var i = 1; i < arguments.length; i++){
8528
8439
  var source = arguments[i];
8529
- for(var key in source){
8530
- if (Object.prototype.hasOwnProperty.call(source, key)) {
8531
- target[key] = source[key];
8532
- }
8533
- }
8440
+ for(var key in source)if (Object.prototype.hasOwnProperty.call(source, key)) target[key] = source[key];
8534
8441
  }
8535
8442
  return target;
8536
8443
  };
@@ -8604,17 +8511,17 @@ function _set_prototype_of$7(o, p) {
8604
8511
  triggerClose: true
8605
8512
  }, this.options || {}, {
8606
8513
  // 不支持自定义
8607
- getPopupContainer: function() {
8514
+ getPopupContainer: function getPopupContainer() {
8608
8515
  return _this.$container;
8609
8516
  },
8610
- onChange: function(time, _times) {
8517
+ onChange: function onChange(time, _times) {
8611
8518
  if (time && _this._value !== time) {
8612
8519
  _this._value = time;
8613
8520
  _this.options.onChange == null ? void 0 : _this.options.onChange.call(_this.options, time, _times);
8614
8521
  _this.emit(EVENTS.control.timeChange, time);
8615
8522
  }
8616
8523
  },
8617
- onOpenChange: function(open) {
8524
+ onOpenChange: function onOpenChange(open) {
8618
8525
  _this.options.onPanelChange == null ? void 0 : _this.options.onPanelChange.call(_this.options, open, _this.timePicker.current);
8619
8526
  _this.emit(EVENTS.control.timePanelOpenChange, open, _this.timePicker.current);
8620
8527
  }
@@ -8662,14 +8569,10 @@ function _set_prototype_of$7(o, p) {
8662
8569
  }(Control);
8663
8570
 
8664
8571
  function _extends$5() {
8665
- _extends$5 = Object.assign || function(target) {
8572
+ _extends$5 = Object.assign || function assign(target) {
8666
8573
  for(var i = 1; i < arguments.length; i++){
8667
8574
  var source = arguments[i];
8668
- for(var key in source){
8669
- if (Object.prototype.hasOwnProperty.call(source, key)) {
8670
- target[key] = source[key];
8671
- }
8672
- }
8575
+ for(var key in source)if (Object.prototype.hasOwnProperty.call(source, key)) target[key] = source[key];
8673
8576
  }
8674
8577
  return target;
8675
8578
  };
@@ -8738,8 +8641,8 @@ function _set_prototype_of$6(o, p) {
8738
8641
  var _proto = TimeLineControl.prototype;
8739
8642
  _proto._render = function _render() {
8740
8643
  var _this = this;
8741
- var _this_timeLineUtil_updateTimeSections, _this_timeLineUtil;
8742
8644
  var _this__options_showTimeWidthBtn, _this__options_showCoverFold;
8645
+ var _this_timeLineUtil_updateTimeSections, _this_timeLineUtil;
8743
8646
  var _timeLineOptions = _extends$5({
8744
8647
  language: this._options.language || 'zh',
8745
8648
  coverQuery: this._options.coverQuery || '',
@@ -8748,19 +8651,19 @@ function _set_prototype_of$6(o, p) {
8748
8651
  hoverTipPlacement: 'top'
8749
8652
  }, this._options || {}, {
8750
8653
  showSectionIcon: false,
8751
- onClickSeek: function(date) {
8654
+ onClickSeek: function onClickSeek(date) {
8752
8655
  if (date == null ? void 0 : date.getTime()) {
8753
8656
  _this._options.onClickSeek == null ? void 0 : _this._options.onClickSeek.call(_this._options, date);
8754
8657
  _this.emit(EVENTS.control.timeLineChange, date);
8755
8658
  }
8756
8659
  },
8757
- onChange: function(date) {
8660
+ onChange: function onChange(date) {
8758
8661
  if (_this._currentTime !== (date == null ? void 0 : date.getTime())) {
8759
8662
  _this._options.onChange == null ? void 0 : _this._options.onChange.call(_this._options, date);
8760
8663
  _this.emit(EVENTS.control.timeLineChange, date);
8761
8664
  }
8762
8665
  },
8763
- onDragEnd: function(date, isOver) {
8666
+ onDragEnd: function onDragEnd(date, isOver) {
8764
8667
  var _this__options_props_playbackRange, _this__options_props, _this__options;
8765
8668
  _this._options.onDragEnd == null ? void 0 : _this._options.onDragEnd.call(_this._options, date, isOver);
8766
8669
  // 松手时鼠标已移出时间轴容器(isOver 为 false):控件把这种拖动视为取消,
@@ -8779,11 +8682,11 @@ function _set_prototype_of$6(o, p) {
8779
8682
  _this.emit(EVENTS.control.timeLineChange, date);
8780
8683
  }
8781
8684
  },
8782
- onPickerOpenChange: function(open) {
8685
+ onPickerOpenChange: function onPickerOpenChange(open) {
8783
8686
  _this.emit(EVENTS.control.timeLinePanelOpenChange, open);
8784
8687
  },
8785
8688
  // 2025-10-27 仅移动端支持
8786
- onPickerSelect: function(item) {
8689
+ onPickerSelect: function onPickerSelect(item) {
8787
8690
  var date = null;
8788
8691
  try {
8789
8692
  if ((item.startTime + '').length === 10) date = new Date(item.startTime * 1000);
@@ -8794,7 +8697,7 @@ function _set_prototype_of$6(o, p) {
8794
8697
  } catch (error) {
8795
8698
  }
8796
8699
  },
8797
- onSectionIconClick: function(result) {
8700
+ onSectionIconClick: function onSectionIconClick(result) {
8798
8701
  _this.emit('TimeLine.onSectionIconClick', result);
8799
8702
  }
8800
8703
  });
@@ -8865,14 +8768,10 @@ function _set_prototype_of$6(o, p) {
8865
8768
  }(Control);
8866
8769
 
8867
8770
  function _extends$4() {
8868
- _extends$4 = Object.assign || function(target) {
8771
+ _extends$4 = Object.assign || function assign(target) {
8869
8772
  for(var i = 1; i < arguments.length; i++){
8870
8773
  var source = arguments[i];
8871
- for(var key in source){
8872
- if (Object.prototype.hasOwnProperty.call(source, key)) {
8873
- target[key] = source[key];
8874
- }
8875
- }
8774
+ for(var key in source)if (Object.prototype.hasOwnProperty.call(source, key)) target[key] = source[key];
8876
8775
  }
8877
8776
  return target;
8878
8777
  };
@@ -8917,8 +8816,8 @@ function _set_prototype_of$5(o, p) {
8917
8816
  * @param seg 录像片段
8918
8817
  * @param which 取起点还是终点
8919
8818
  */ function segMs(seg, which) {
8920
- var _seg_startTime, _seg_endTime;
8921
- var value = which === 'start' ? (_seg_startTime = seg == null ? void 0 : seg.startTime) != null ? _seg_startTime : seg == null ? void 0 : seg.begin : (_seg_endTime = seg == null ? void 0 : seg.endTime) != null ? _seg_endTime : seg == null ? void 0 : seg.end;
8819
+ var _ref, _ref1;
8820
+ var value = which === 'start' ? (_ref = seg == null ? void 0 : seg.startTime) != null ? _ref : seg == null ? void 0 : seg.begin : (_ref1 = seg == null ? void 0 : seg.endTime) != null ? _ref1 : seg == null ? void 0 : seg.end;
8922
8821
  if (value === undefined || value === null || value === '') return NaN;
8923
8822
  if (typeof value === 'number') return value < 1e12 ? value * 1000 : value;
8924
8823
  return DateTime.toDate(value).getTime();
@@ -8979,17 +8878,17 @@ function _set_prototype_of$5(o, p) {
8979
8878
  _proto._render = function _render() {
8980
8879
  var _this = this;
8981
8880
  this._progress = new SegmentProgress(this.$container, {
8982
- onChange: function(date) {
8881
+ onChange: function onChange(date) {
8983
8882
  // 用户主动定位即视为重新开始播放,立即解除结束静默,否则静默期内的回写被丢弃、
8984
8883
  // 进度条会停住不动
8985
8884
  _this._silenceUntil = 0;
8986
8885
  _this._options.onChange == null ? void 0 : _this._options.onChange.call(_this._options, date);
8987
8886
  _this.emit(EVENTS.control.timeLineChange, date);
8988
8887
  },
8989
- onDragStart: function() {
8888
+ onDragStart: function onDragStart() {
8990
8889
  _this._isDragging = true;
8991
8890
  },
8992
- onDragEnd: function() {
8891
+ onDragEnd: function onDragEnd() {
8993
8892
  _this._isDragging = false;
8994
8893
  }
8995
8894
  });
@@ -9082,14 +8981,10 @@ function _set_prototype_of$5(o, p) {
9082
8981
  }(Control);
9083
8982
 
9084
8983
  function _extends$3() {
9085
- _extends$3 = Object.assign || function(target) {
8984
+ _extends$3 = Object.assign || function assign(target) {
9086
8985
  for(var i = 1; i < arguments.length; i++){
9087
8986
  var source = arguments[i];
9088
- for(var key in source){
9089
- if (Object.prototype.hasOwnProperty.call(source, key)) {
9090
- target[key] = source[key];
9091
- }
9092
- }
8987
+ for(var key in source)if (Object.prototype.hasOwnProperty.call(source, key)) target[key] = source[key];
9093
8988
  }
9094
8989
  return target;
9095
8990
  };
@@ -9179,7 +9074,7 @@ var Controls = {
9179
9074
  segmentProgress: SegmentProgressControl
9180
9075
  };
9181
9076
 
9182
- /* eslint-disable @typescript-eslint/no-non-null-assertion */ function _inherits$3(subClass, superClass) {
9077
+ function _inherits$3(subClass, superClass) {
9183
9078
  if (typeof superClass !== "function" && superClass !== null) {
9184
9079
  throw new TypeError("Super expression must either be null or a function");
9185
9080
  }
@@ -9344,14 +9239,10 @@ function _set_prototype_of$2(o, p) {
9344
9239
  }(EventEmitter);
9345
9240
 
9346
9241
  function _extends$2() {
9347
- _extends$2 = Object.assign || function(target) {
9242
+ _extends$2 = Object.assign || function assign(target) {
9348
9243
  for(var i = 1; i < arguments.length; i++){
9349
9244
  var source = arguments[i];
9350
- for(var key in source){
9351
- if (Object.prototype.hasOwnProperty.call(source, key)) {
9352
- target[key] = source[key];
9353
- }
9354
- }
9245
+ for(var key in source)if (Object.prototype.hasOwnProperty.call(source, key)) target[key] = source[key];
9355
9246
  }
9356
9247
  return target;
9357
9248
  };
@@ -9483,7 +9374,7 @@ var PAUSE_DEFAULT_OPTIONS = {};
9483
9374
  return Pause;
9484
9375
  }(Control);
9485
9376
 
9486
- var _unmountedControls = function(theme) {
9377
+ var _unmountedControls = function _unmountedControls(theme) {
9487
9378
  if (!theme.controls) {
9488
9379
  return;
9489
9380
  }
@@ -9570,11 +9461,8 @@ function asyncGeneratorStep$1(gen, resolve, reject, _next, _throw, key, arg) {
9570
9461
  reject(error);
9571
9462
  return;
9572
9463
  }
9573
- if (info.done) {
9574
- resolve(value);
9575
- } else {
9576
- Promise.resolve(value).then(_next, _throw);
9577
- }
9464
+ if (info.done) resolve(value);
9465
+ else Promise.resolve(value).then(_next, _throw);
9578
9466
  }
9579
9467
  function _async_to_generator$1(fn) {
9580
9468
  return function() {
@@ -9591,28 +9479,6 @@ function _async_to_generator$1(fn) {
9591
9479
  });
9592
9480
  };
9593
9481
  }
9594
- function _extends$1() {
9595
- _extends$1 = Object.assign || function(target) {
9596
- for(var i = 1; i < arguments.length; i++){
9597
- var source = arguments[i];
9598
- for(var key in source){
9599
- if (Object.prototype.hasOwnProperty.call(source, key)) {
9600
- target[key] = source[key];
9601
- }
9602
- }
9603
- }
9604
- return target;
9605
- };
9606
- return _extends$1.apply(this, arguments);
9607
- }
9608
- function _unsupported_iterable_to_array$1(o, minLen) {
9609
- if (!o) return;
9610
- if (typeof o === "string") return _array_like_to_array$1(o, minLen);
9611
- var n = Object.prototype.toString.call(o).slice(8, -1);
9612
- if (n === "Object" && o.constructor) n = o.constructor.name;
9613
- if (n === "Map" || n === "Set") return Array.from(n);
9614
- if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _array_like_to_array$1(o, minLen);
9615
- }
9616
9482
  function _create_for_of_iterator_helper_loose$1(o, allowArrayLike) {
9617
9483
  var it = typeof Symbol !== "undefined" && o[Symbol.iterator] || o["@@iterator"];
9618
9484
  if (it) return (it = it.call(o)).next.bind(it);
@@ -9620,18 +9486,26 @@ function _create_for_of_iterator_helper_loose$1(o, allowArrayLike) {
9620
9486
  if (it) o = it;
9621
9487
  var i = 0;
9622
9488
  return function() {
9623
- if (i >= o.length) {
9624
- return {
9625
- done: true
9626
- };
9627
- }
9489
+ if (i >= o.length) return {
9490
+ done: true
9491
+ };
9628
9492
  return {
9629
9493
  done: false,
9630
9494
  value: o[i++]
9631
9495
  };
9632
9496
  };
9633
9497
  }
9634
- throw new TypeError("Invalid attempt to iterate non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
9498
+ throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
9499
+ }
9500
+ function _extends$1() {
9501
+ _extends$1 = Object.assign || function assign(target) {
9502
+ for(var i = 1; i < arguments.length; i++){
9503
+ var source = arguments[i];
9504
+ for(var key in source)if (Object.prototype.hasOwnProperty.call(source, key)) target[key] = source[key];
9505
+ }
9506
+ return target;
9507
+ };
9508
+ return _extends$1.apply(this, arguments);
9635
9509
  }
9636
9510
  function _ts_generator$1(thisArg, body) {
9637
9511
  var f, y, t, _ = {
@@ -9642,9 +9516,17 @@ function _ts_generator$1(thisArg, body) {
9642
9516
  },
9643
9517
  trys: [],
9644
9518
  ops: []
9645
- }, g = Object.create((typeof Iterator === "function" ? Iterator : Object).prototype);
9646
- return g.next = verb(0), g["throw"] = verb(1), g["return"] = verb(2), typeof Symbol === "function" && (g[Symbol.iterator] = function() {
9647
- return this;
9519
+ }, g = Object.create((typeof Iterator === "function" ? Iterator : Object).prototype), d = Object.defineProperty;
9520
+ return d(g, "next", {
9521
+ value: verb(0)
9522
+ }), d(g, "throw", {
9523
+ value: verb(1)
9524
+ }), d(g, "return", {
9525
+ value: verb(2)
9526
+ }), typeof Symbol === "function" && d(g, Symbol.iterator, {
9527
+ value: function() {
9528
+ return this;
9529
+ }
9648
9530
  }), g;
9649
9531
  function verb(n) {
9650
9532
  return function(v) {
@@ -9724,6 +9606,14 @@ function _ts_generator$1(thisArg, body) {
9724
9606
  };
9725
9607
  }
9726
9608
  }
9609
+ function _unsupported_iterable_to_array$1(o, minLen) {
9610
+ if (!o) return;
9611
+ if (typeof o === "string") return _array_like_to_array$1(o, minLen);
9612
+ var n = Object.prototype.toString.call(o).slice(8, -1);
9613
+ if (n === "Object" && o.constructor) n = o.constructor.name;
9614
+ if (n === "Map" || n === "Set") return Array.from(n);
9615
+ if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _array_like_to_array$1(o, minLen);
9616
+ }
9727
9617
  // 需要权限的控件
9728
9618
  var AUTH_KEY = [
9729
9619
  'ptz',
@@ -9762,7 +9652,7 @@ function _renderControls(theme, $container, btnList, props) {
9762
9652
  // eslint-disable-next-line @typescript-eslint/dot-notation, new-cap, @typescript-eslint/no-unsafe-argument
9763
9653
  theme.controls["deviceControl"] = new Controls["device"](_extends$1({
9764
9654
  rootContainer: theme.$container,
9765
- getPopupContainer: function() {
9655
+ getPopupContainer: function getPopupContainer() {
9766
9656
  return $container;
9767
9657
  },
9768
9658
  recType: theme.recType,
@@ -9785,7 +9675,7 @@ function _renderControls(theme, $container, btnList, props) {
9785
9675
  // eslint-disable-next-line @typescript-eslint/no-unsafe-argument
9786
9676
  theme.controls["" + item.iconId + "Control"] = new Controls[item.iconId](_extends$1({
9787
9677
  rootContainer: theme.$container,
9788
- getPopupContainer: function() {
9678
+ getPopupContainer: function getPopupContainer() {
9789
9679
  return $container;
9790
9680
  },
9791
9681
  language: theme.options.language || "zh",
@@ -9812,7 +9702,7 @@ function _renderControls(theme, $container, btnList, props) {
9812
9702
  }
9813
9703
  function _renderTheme(theme, data) {
9814
9704
  return _async_to_generator$1(function() {
9815
- var _theme_posterControl, _filterThemeData_header, _filterThemeData_footer, _theme_urlInfo, _theme_playbackRange, _theme_playbackRange1, _theme_options_mobileExtendOptions_controls, _theme_options_mobileExtendOptions, themeData, filterThemeData, props, _$_filterLeftRightControls, leftBtns, rightBtns, _theme_controls, _theme_controls1, _$_filterLeftRightControls1, leftBtns1, rightBtns1, _filterThemeData_footer_btnList, list, _needTimeLine, _hasPlaybackRange, _needDatePicker, hasPtz, _theme_options_mobileExtendOptions1, _theme_options_mobileExtendOptions2, _theme_options_mobileExtendOptions3, _theme_options_mobileExtendOptions4, _theme_controls2, _theme_options_mobileExtendOptions5, _theme_options_mobileExtendOptions_controls1, _theme_options_mobileExtendOptions6, _filterThemeData_header1, _filterThemeData_footer1, _filterThemeData_footer_btnList1, _theme_options;
9705
+ var _ref, _theme_posterControl, _filterThemeData_header, _filterThemeData_footer, _theme_urlInfo, _theme_playbackRange, _theme_playbackRange1, _theme_options_mobileExtendOptions_controls, _theme_options_mobileExtendOptions, themeData, filterThemeData, props, _$_filterLeftRightControls, leftBtns, rightBtns, _theme_controls, _theme_controls1, _$_filterLeftRightControls1, leftBtns1, rightBtns1, list, _needTimeLine, _hasPlaybackRange, _needDatePicker, hasPtz, _theme_options_mobileExtendOptions1, _theme_options_mobileExtendOptions2, _theme_options_mobileExtendOptions3, _theme_options_mobileExtendOptions4, _theme_controls2, _theme_options_mobileExtendOptions5, _theme_options_mobileExtendOptions_controls1, _theme_options_mobileExtendOptions6, _ref1, _filterThemeData_header1, _filterThemeData_footer1, _theme_options;
9816
9706
  return _ts_generator$1(this, function(_state) {
9817
9707
  switch(_state.label){
9818
9708
  case 0:
@@ -9838,7 +9728,7 @@ function _renderTheme(theme, data) {
9838
9728
  language: theme.options.language,
9839
9729
  locales: theme.i18n.translations
9840
9730
  }, theme.options.loadingOptions || {}, {
9841
- getPopupContainer: function() {
9731
+ getPopupContainer: function getPopupContainer() {
9842
9732
  return theme.$container;
9843
9733
  }
9844
9734
  }));
@@ -9848,7 +9738,7 @@ function _renderTheme(theme, data) {
9848
9738
  language: theme.options.language,
9849
9739
  locales: theme.i18n.translations
9850
9740
  }, theme.options.pauseOptions || {}, {
9851
- getPopupContainer: function() {
9741
+ getPopupContainer: function getPopupContainer() {
9852
9742
  return theme.contentControl.$wrapper;
9853
9743
  }
9854
9744
  }));
@@ -9860,14 +9750,14 @@ function _renderTheme(theme, data) {
9860
9750
  theme.messageControl = new Message(_extends$1({
9861
9751
  rootContainer: theme.$container
9862
9752
  }, theme.options.messageOptions || {}, {
9863
- getPopupContainer: function() {
9753
+ getPopupContainer: function getPopupContainer() {
9864
9754
  return theme.contentControl.$wrapper;
9865
9755
  }
9866
9756
  }));
9867
9757
  }
9868
9758
  if (theme.options.posterOptions !== null) {
9869
9759
  theme.posterControl = new Poster(_extends$1({}, theme.options.posterOptions || {}, {
9870
- getPopupContainer: function() {
9760
+ getPopupContainer: function getPopupContainer() {
9871
9761
  return theme.contentControl.$video;
9872
9762
  }
9873
9763
  }));
@@ -9897,7 +9787,7 @@ function _renderTheme(theme, data) {
9897
9787
  }
9898
9788
  if (filterThemeData.header) {
9899
9789
  theme._header = new Header({
9900
- getPopupContainer: function() {
9790
+ getPopupContainer: function getPopupContainer() {
9901
9791
  return theme.$container;
9902
9792
  },
9903
9793
  color: filterThemeData.header.color,
@@ -9912,7 +9802,7 @@ function _renderTheme(theme, data) {
9912
9802
  if (filterThemeData.footer) {
9913
9803
  // prettier-ignore
9914
9804
  theme._footer = new Footer({
9915
- getPopupContainer: function() {
9805
+ getPopupContainer: function getPopupContainer() {
9916
9806
  return theme.$container;
9917
9807
  },
9918
9808
  color: filterThemeData.footer.color,
@@ -9958,7 +9848,7 @@ function _renderTheme(theme, data) {
9958
9848
  _renderControls(theme, theme._footer.$left, leftBtns1, props);
9959
9849
  _renderControls(theme, theme._footer.$right, rightBtns1, props);
9960
9850
  }
9961
- list = [].concat(((_filterThemeData_header = filterThemeData.header) == null ? void 0 : _filterThemeData_header.btnList) || [], (_filterThemeData_footer_btnList = (_filterThemeData_footer = filterThemeData.footer) == null ? void 0 : _filterThemeData_footer.btnList) != null ? _filterThemeData_footer_btnList : []);
9851
+ list = [].concat(((_filterThemeData_header = filterThemeData.header) == null ? void 0 : _filterThemeData_header.btnList) || [], (_ref = (_filterThemeData_footer = filterThemeData.footer) == null ? void 0 : _filterThemeData_footer.btnList) != null ? _ref : []);
9962
9852
  // FIXME: 这个逻辑实际上是有问题的
9963
9853
  _needTimeLine = list.some(function(item) {
9964
9854
  return REC_GROUP.includes(item.iconId) || item.iconId === 'recDropdown';
@@ -10005,7 +9895,7 @@ function _renderTheme(theme, data) {
10005
9895
  }
10006
9896
  // 回放类型切换正常渲染,用户点击后由 SDK 层在 recDropdownChange 事件中自行处理
10007
9897
  if (theme.options.recOptions !== null && ((_theme_options_mobileExtendOptions4 = theme.options.mobileExtendOptions) == null ? void 0 : _theme_options_mobileExtendOptions4.controls.includes('rec')) && _needTimeLine) {
10008
- [].concat(((_filterThemeData_header1 = filterThemeData.header) == null ? void 0 : _filterThemeData_header1.btnList) || [], (_filterThemeData_footer_btnList1 = (_filterThemeData_footer1 = filterThemeData.footer) == null ? void 0 : _filterThemeData_footer1.btnList) != null ? _filterThemeData_footer_btnList1 : []).forEach(function(item) {
9898
+ [].concat(((_filterThemeData_header1 = filterThemeData.header) == null ? void 0 : _filterThemeData_header1.btnList) || [], (_ref1 = (_filterThemeData_footer1 = filterThemeData.footer) == null ? void 0 : _filterThemeData_footer1.btnList) != null ? _ref1 : []).forEach(function(item) {
10009
9899
  var _theme__mobileExtend;
10010
9900
  if (REC_GROUP.includes(item.iconId)) _renderRecType(theme, (_theme__mobileExtend = theme._mobileExtend) == null ? void 0 : _theme__mobileExtend.$topRight, item.iconId, props);
10011
9901
  });
@@ -10015,7 +9905,7 @@ function _renderTheme(theme, data) {
10015
9905
  // eslint-disable-next-line @typescript-eslint/no-unsafe-argument
10016
9906
  theme.controls['alarmMessageControl'] = new Controls['alarmMessage'](_extends$1({
10017
9907
  rootContainer: theme.$container,
10018
- getPopupContainer: function() {
9908
+ getPopupContainer: function getPopupContainer() {
10019
9909
  var _theme__mobileExtend;
10020
9910
  return (_theme__mobileExtend = theme._mobileExtend) == null ? void 0 : _theme__mobileExtend.$topRight;
10021
9911
  },
@@ -10049,33 +9939,33 @@ function _renderTheme(theme, data) {
10049
9939
  });
10050
9940
  })();
10051
9941
  }
10052
- var _renderTimeLine = function(theme, container, props) {
9942
+ var _renderTimeLine = function _renderTimeLine(theme, container, props) {
10053
9943
  if (props === void 0) props = {};
10054
9944
  if (!theme.controls.timeLineControl && theme.options.timeLineOptions !== null) {
9945
+ var _ref;
10055
9946
  var _theme_urlInfo, _theme_urlInfo1, _theme_options, _theme_options1, _this, _theme_options2;
10056
- var _showSectionIcon;
10057
9947
  // eslint-disable-next-line @typescript-eslint/no-unsafe-argument
10058
9948
  theme.controls.timeLineControl = new Controls['timeLine'](_extends$1({
10059
- getPopupContainer: function() {
9949
+ getPopupContainer: function getPopupContainer() {
10060
9950
  return container;
10061
9951
  },
10062
9952
  language: theme.options.language,
10063
9953
  locales: theme.i18n.translations,
10064
9954
  coverQuery: ((_theme_urlInfo = theme.urlInfo) == null ? void 0 : _theme_urlInfo.validateCode) ? "decodekey=" + ((_theme_urlInfo1 = theme.urlInfo) == null ? void 0 : _theme_urlInfo1.validateCode) : ''
10065
9955
  }, ((_theme_options = theme.options) == null ? void 0 : _theme_options["timeLineOptions"]) || {}, {
10066
- showSectionIcon: ((_theme_options1 = theme.options) == null ? void 0 : _theme_options1["recListOptions"]) !== null ? (_showSectionIcon = (_this = ((_theme_options2 = theme.options) == null ? void 0 : _theme_options2["timeLineOptions"]) || {}) == null ? void 0 : _this.showSectionIcon) != null ? _showSectionIcon : true : true,
9956
+ showSectionIcon: ((_theme_options1 = theme.options) == null ? void 0 : _theme_options1["recListOptions"]) !== null ? (_ref = (_this = ((_theme_options2 = theme.options) == null ? void 0 : _theme_options2["timeLineOptions"]) || {}) == null ? void 0 : _this.showSectionIcon) != null ? _ref : true : true,
10067
9957
  props: props
10068
9958
  }));
10069
9959
  }
10070
9960
  };
10071
- var _renderSegmentProgress = function(theme, container, props) {
9961
+ var _renderSegmentProgress = function _renderSegmentProgress(theme, container, props) {
10072
9962
  if (props === void 0) props = {};
10073
9963
  if (!theme.controls.segmentProgressControl && theme.options.segmentProgressOptions !== null) {
10074
9964
  var _theme_options;
10075
9965
  // eslint-disable-next-line @typescript-eslint/no-unsafe-argument
10076
9966
  theme.controls.segmentProgressControl = new Controls['segmentProgress'](_extends$1({
10077
9967
  rootContainer: theme.$container,
10078
- getPopupContainer: function() {
9968
+ getPopupContainer: function getPopupContainer() {
10079
9969
  return container;
10080
9970
  },
10081
9971
  language: theme.options.language,
@@ -10085,13 +9975,13 @@ var _renderSegmentProgress = function(theme, container, props) {
10085
9975
  }));
10086
9976
  }
10087
9977
  };
10088
- var _renderDatePicker = function(theme, container, props) {
9978
+ var _renderDatePicker = function _renderDatePicker(theme, container, props) {
10089
9979
  if (props === void 0) props = {};
10090
9980
  if (!theme.controls.dateControl && theme.options.dateOptions !== null) {
10091
9981
  var _theme_options;
10092
9982
  // eslint-disable-next-line @typescript-eslint/no-unsafe-argument
10093
9983
  theme.controls.dateControl = new Controls['date'](_extends$1({
10094
- getPopupContainer: function() {
9984
+ getPopupContainer: function getPopupContainer() {
10095
9985
  return container;
10096
9986
  },
10097
9987
  language: theme.options.language,
@@ -10101,13 +9991,13 @@ var _renderDatePicker = function(theme, container, props) {
10101
9991
  }));
10102
9992
  }
10103
9993
  };
10104
- var _renderTimePicker = function(theme, container, props) {
9994
+ var _renderTimePicker = function _renderTimePicker(theme, container, props) {
10105
9995
  if (props === void 0) props = {};
10106
9996
  if (!theme.controls.timeControl && theme.options.timeOptions !== null) {
10107
9997
  var _theme_options;
10108
9998
  // eslint-disable-next-line @typescript-eslint/no-unsafe-argument
10109
9999
  theme.controls.timeControl = new Controls['time'](_extends$1({
10110
- getPopupContainer: function() {
10000
+ getPopupContainer: function getPopupContainer() {
10111
10001
  return container;
10112
10002
  },
10113
10003
  language: theme.options.language,
@@ -10117,14 +10007,14 @@ var _renderTimePicker = function(theme, container, props) {
10117
10007
  }));
10118
10008
  }
10119
10009
  };
10120
- var _renderRecType = function(theme, container, recType, props) {
10010
+ var _renderRecType = function _renderRecType(theme, container, recType, props) {
10121
10011
  if (props === void 0) props = {};
10122
10012
  var _theme_controls, _theme_controls1, _theme_controls2;
10123
10013
  if (!((_theme_controls = theme.controls) == null ? void 0 : _theme_controls['recControl']) && theme.options.recOptions !== null && container) {
10124
10014
  var _theme_options;
10125
10015
  // eslint-disable-next-line @typescript-eslint/dot-notation, new-cap, @typescript-eslint/no-unsafe-argument
10126
10016
  theme.controls['recControl'] = new Controls['rec'](_extends$1({
10127
- getPopupContainer: function() {
10017
+ getPopupContainer: function getPopupContainer() {
10128
10018
  return container;
10129
10019
  },
10130
10020
  recType: theme.recType,
@@ -10228,7 +10118,7 @@ var _renderRecType = function(theme, container, recType, props) {
10228
10118
  return width - leftWidth - rightWidth > offset;
10229
10119
  }
10230
10120
 
10231
- /* eslint-disable @typescript-eslint/no-non-null-assertion */ function _array_like_to_array(arr, len) {
10121
+ function _array_like_to_array(arr, len) {
10232
10122
  if (len == null || len > arr.length) len = arr.length;
10233
10123
  for(var i = 0, arr2 = new Array(len); i < len; i++)arr2[i] = arr[i];
10234
10124
  return arr2;
@@ -10241,11 +10131,8 @@ function asyncGeneratorStep(gen, resolve, reject, _next, _throw, key, arg) {
10241
10131
  reject(error);
10242
10132
  return;
10243
10133
  }
10244
- if (info.done) {
10245
- resolve(value);
10246
- } else {
10247
- Promise.resolve(value).then(_next, _throw);
10248
- }
10134
+ if (info.done) resolve(value);
10135
+ else Promise.resolve(value).then(_next, _throw);
10249
10136
  }
10250
10137
  function _async_to_generator(fn) {
10251
10138
  return function() {
@@ -10275,15 +10162,29 @@ function _create_class(Constructor, protoProps, staticProps) {
10275
10162
  if (protoProps) _defineProperties(Constructor.prototype, protoProps);
10276
10163
  return Constructor;
10277
10164
  }
10165
+ function _create_for_of_iterator_helper_loose(o, allowArrayLike) {
10166
+ var it = typeof Symbol !== "undefined" && o[Symbol.iterator] || o["@@iterator"];
10167
+ if (it) return (it = it.call(o)).next.bind(it);
10168
+ if (Array.isArray(o) || (it = _unsupported_iterable_to_array(o)) || allowArrayLike) {
10169
+ if (it) o = it;
10170
+ var i = 0;
10171
+ return function() {
10172
+ if (i >= o.length) return {
10173
+ done: true
10174
+ };
10175
+ return {
10176
+ done: false,
10177
+ value: o[i++]
10178
+ };
10179
+ };
10180
+ }
10181
+ throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
10182
+ }
10278
10183
  function _extends() {
10279
- _extends = Object.assign || function(target) {
10184
+ _extends = Object.assign || function assign(target) {
10280
10185
  for(var i = 1; i < arguments.length; i++){
10281
10186
  var source = arguments[i];
10282
- for(var key in source){
10283
- if (Object.prototype.hasOwnProperty.call(source, key)) {
10284
- target[key] = source[key];
10285
- }
10286
- }
10187
+ for(var key in source)if (Object.prototype.hasOwnProperty.call(source, key)) target[key] = source[key];
10287
10188
  }
10288
10189
  return target;
10289
10190
  };
@@ -10309,34 +10210,6 @@ function _set_prototype_of(o, p) {
10309
10210
  };
10310
10211
  return _set_prototype_of(o, p);
10311
10212
  }
10312
- function _unsupported_iterable_to_array(o, minLen) {
10313
- if (!o) return;
10314
- if (typeof o === "string") return _array_like_to_array(o, minLen);
10315
- var n = Object.prototype.toString.call(o).slice(8, -1);
10316
- if (n === "Object" && o.constructor) n = o.constructor.name;
10317
- if (n === "Map" || n === "Set") return Array.from(n);
10318
- if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _array_like_to_array(o, minLen);
10319
- }
10320
- function _create_for_of_iterator_helper_loose(o, allowArrayLike) {
10321
- var it = typeof Symbol !== "undefined" && o[Symbol.iterator] || o["@@iterator"];
10322
- if (it) return (it = it.call(o)).next.bind(it);
10323
- if (Array.isArray(o) || (it = _unsupported_iterable_to_array(o)) || allowArrayLike) {
10324
- if (it) o = it;
10325
- var i = 0;
10326
- return function() {
10327
- if (i >= o.length) {
10328
- return {
10329
- done: true
10330
- };
10331
- }
10332
- return {
10333
- done: false,
10334
- value: o[i++]
10335
- };
10336
- };
10337
- }
10338
- throw new TypeError("Invalid attempt to iterate non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
10339
- }
10340
10213
  function _ts_generator(thisArg, body) {
10341
10214
  var f, y, t, _ = {
10342
10215
  label: 0,
@@ -10346,9 +10219,17 @@ function _ts_generator(thisArg, body) {
10346
10219
  },
10347
10220
  trys: [],
10348
10221
  ops: []
10349
- }, g = Object.create((typeof Iterator === "function" ? Iterator : Object).prototype);
10350
- return g.next = verb(0), g["throw"] = verb(1), g["return"] = verb(2), typeof Symbol === "function" && (g[Symbol.iterator] = function() {
10351
- return this;
10222
+ }, g = Object.create((typeof Iterator === "function" ? Iterator : Object).prototype), d = Object.defineProperty;
10223
+ return d(g, "next", {
10224
+ value: verb(0)
10225
+ }), d(g, "throw", {
10226
+ value: verb(1)
10227
+ }), d(g, "return", {
10228
+ value: verb(2)
10229
+ }), typeof Symbol === "function" && d(g, Symbol.iterator, {
10230
+ value: function() {
10231
+ return this;
10232
+ }
10352
10233
  }), g;
10353
10234
  function verb(n) {
10354
10235
  return function(v) {
@@ -10428,6 +10309,14 @@ function _ts_generator(thisArg, body) {
10428
10309
  };
10429
10310
  }
10430
10311
  }
10312
+ function _unsupported_iterable_to_array(o, minLen) {
10313
+ if (!o) return;
10314
+ if (typeof o === "string") return _array_like_to_array(o, minLen);
10315
+ var n = Object.prototype.toString.call(o).slice(8, -1);
10316
+ if (n === "Object" && o.constructor) n = o.constructor.name;
10317
+ if (n === "Map" || n === "Set") return Array.from(n);
10318
+ if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _array_like_to_array(o, minLen);
10319
+ }
10431
10320
  var THEME_DEFAULT_OPTIONS = {
10432
10321
  dblClickFullscreen: true,
10433
10322
  language: 'zh',
@@ -10481,6 +10370,7 @@ var THEME_DEFAULT_OPTIONS = {
10481
10370
  _inherits(Theme, EventEmitter);
10482
10371
  function Theme(options) {
10483
10372
  var _this;
10373
+ var _ref, _ref1, _ref2, _ref3, _ref4, _ref5;
10484
10374
  var _this_options_volumeOptions, _this_options_volumeOptions1, _this_options_speedOptions, _this_urlInfo_searchParams, _this_urlInfo, _this_options, _this_options1;
10485
10375
  _this = EventEmitter.call(this) || this, /** 播放器配置项 */ _this.options = THEME_DEFAULT_OPTIONS, _this.staticPath = '', /** 所有控件列表, 所有控件名称规则(`${iconId}Control`), 如音量控件 this.controls["volumeControl"] @since 0.0.1 */ _this.controls = {}, /**
10486
10376
  * @since 0.0.1
@@ -10546,7 +10436,7 @@ var THEME_DEFAULT_OPTIONS = {
10546
10436
  _this._initClassName();
10547
10437
  // 画布需要渲染在 this.contentControl.$content 内
10548
10438
  _this.contentControl = new Content({
10549
- getContainer: function() {
10439
+ getContainer: function getContainer() {
10550
10440
  return _this.$container;
10551
10441
  },
10552
10442
  scaleMode: _this.scaleMode
@@ -10556,18 +10446,15 @@ var THEME_DEFAULT_OPTIONS = {
10556
10446
  });
10557
10447
  // zoom utils
10558
10448
  __zoom(_this, _this.contentControl.$content, _extends({}, _this.options.zoomOptions || {}, {
10559
- onTap: function() {
10449
+ onTap: function onTap() {
10560
10450
  var _this__interactiveResult_setTimeoutShow, _this__interactiveResult;
10561
10451
  (_this__interactiveResult = _this._interactiveResult) == null ? void 0 : (_this__interactiveResult_setTimeoutShow = _this__interactiveResult.setTimeoutShow) == null ? void 0 : _this__interactiveResult_setTimeoutShow.call(_this__interactiveResult);
10562
10452
  }
10563
10453
  }));
10564
- var _this_options_volumeOptions_volume, _ref;
10565
- _this._volume = (_ref = (_this_options_volumeOptions_volume = (_this_options_volumeOptions = _this.options.volumeOptions) == null ? void 0 : _this_options_volumeOptions.volume) != null ? _this_options_volumeOptions_volume : _this.options.volume) != null ? _ref : 0.8;
10566
- var _this_options_volumeOptions_muted, _ref1;
10567
- _this._muted = (_ref1 = (_this_options_volumeOptions_muted = (_this_options_volumeOptions1 = _this.options.volumeOptions) == null ? void 0 : _this_options_volumeOptions1.muted) != null ? _this_options_volumeOptions_muted : _this.options.muted) != null ? _ref1 : false;
10568
- var _this_options_speedOptions_value, _ref2;
10454
+ _this._volume = (_ref = (_ref1 = (_this_options_volumeOptions = _this.options.volumeOptions) == null ? void 0 : _this_options_volumeOptions.volume) != null ? _ref1 : _this.options.volume) != null ? _ref : 0.8;
10455
+ _this._muted = (_ref2 = (_ref3 = (_this_options_volumeOptions1 = _this.options.volumeOptions) == null ? void 0 : _this_options_volumeOptions1.muted) != null ? _ref3 : _this.options.muted) != null ? _ref2 : false;
10569
10456
  // playbackSpeed 是 萤石标准流倍速字段
10570
- _this._speed = +((_ref2 = (_this_options_speedOptions_value = (_this_options_speedOptions = _this.options.speedOptions) == null ? void 0 : _this_options_speedOptions.value) != null ? _this_options_speedOptions_value : (_this_urlInfo = _this.urlInfo) == null ? void 0 : (_this_urlInfo_searchParams = _this_urlInfo.searchParams) == null ? void 0 : _this_urlInfo_searchParams.playbackSpeed) != null ? _ref2 : 1);
10457
+ _this._speed = +((_ref4 = (_ref5 = (_this_options_speedOptions = _this.options.speedOptions) == null ? void 0 : _this_options_speedOptions.value) != null ? _ref5 : (_this_urlInfo = _this.urlInfo) == null ? void 0 : (_this_urlInfo_searchParams = _this_urlInfo.searchParams) == null ? void 0 : _this_urlInfo_searchParams.playbackSpeed) != null ? _ref4 : 1);
10571
10458
  _this._mobileInnerWidthHeight = _this._mobileInnerWidthHeight.bind(_this);
10572
10459
  _this._throttleMobileInnerWidthHeight = throttle(_this._mobileInnerWidthHeight, 20).bind(_this);
10573
10460
  _this._onDblClickFullscreen = debounce(_this._onDblClickFullscreen, 20).bind(_this);
@@ -10595,9 +10482,9 @@ var THEME_DEFAULT_OPTIONS = {
10595
10482
  // flv / mp4:支持自定义 themeData,未传时回退到标准直播模板 LiveTemplate(2026-01-19 起支持自定义)
10596
10483
  initialThemeData = themeData !== undefined ? themeData : LiveTemplate;
10597
10484
  } else {
10598
- var _ref3;
10485
+ var _ref6;
10599
10486
  // 其余类型(如 ezopen 私有流):template 优先级高于 themeData,二者都未设置时为 null
10600
- initialThemeData = (_ref3 = template != null ? template : themeData) != null ? _ref3 : null;
10487
+ initialThemeData = (_ref6 = template != null ? template : themeData) != null ? _ref6 : null;
10601
10488
  }
10602
10489
  _this._renderTheme(initialThemeData);
10603
10490
  _this._addEventListener();
@@ -10948,7 +10835,7 @@ var THEME_DEFAULT_OPTIONS = {
10948
10835
  this._fullscreen = new Fullscreen$1(this.$container, {
10949
10836
  prefix: PREFIX_CLASS,
10950
10837
  // 全屏变化
10951
- onChange: function(info) {
10838
+ onChange: function onChange(info) {
10952
10839
  if (info.isCurrentFullscreen) {
10953
10840
  _this.emit(EVENTS.fullscreen);
10954
10841
  } else if (_this._isCurrentFullscreen) {
@@ -10966,7 +10853,7 @@ var THEME_DEFAULT_OPTIONS = {
10966
10853
  }
10967
10854
  });
10968
10855
  // ------------------------------ 旋转方向 -----------------------------
10969
- var rotateOrientation = function(orientation) {
10856
+ var rotateOrientation = function rotateOrientation(orientation) {
10970
10857
  if (_this.$container) {
10971
10858
  var // 重置移除旋转角度
10972
10859
  _this_$container_classList;
@@ -11089,7 +10976,7 @@ var THEME_DEFAULT_OPTIONS = {
11089
10976
  language: this.options.language,
11090
10977
  locales: this.i18n.translations,
11091
10978
  rootContainer: this.$container,
11092
- getPopupContainer: function() {
10979
+ getPopupContainer: function getPopupContainer() {
11093
10980
  var _this__header;
11094
10981
  return (_this__header = _this._header) == null ? void 0 : _this__header.$right;
11095
10982
  },
@@ -11101,7 +10988,7 @@ var THEME_DEFAULT_OPTIONS = {
11101
10988
  8
11102
10989
  ],
11103
10990
  wrapClassName: "" + PREFIX_CLASS + "-header-more",
11104
- onOpenChange: function(open) {
10991
+ onOpenChange: function onOpenChange(open) {
11105
10992
  _this.emit(EVENTS.control.headerMorePanelOpenChange, open);
11106
10993
  }
11107
10994
  });
@@ -11144,7 +11031,7 @@ var THEME_DEFAULT_OPTIONS = {
11144
11031
  language: this.options.language,
11145
11032
  locales: this.i18n.translations,
11146
11033
  rootContainer: this.$container,
11147
- getPopupContainer: function() {
11034
+ getPopupContainer: function getPopupContainer() {
11148
11035
  var _this__footer;
11149
11036
  return (_this__footer = _this._footer) == null ? void 0 : _this__footer.$right;
11150
11037
  },
@@ -11156,7 +11043,7 @@ var THEME_DEFAULT_OPTIONS = {
11156
11043
  -8
11157
11044
  ],
11158
11045
  wrapClassName: "" + PREFIX_CLASS + "-footer-more",
11159
- onOpenChange: function(open) {
11046
+ onOpenChange: function onOpenChange(open) {
11160
11047
  _this.emit(EVENTS.control.footerMorePanelOpenChange, open);
11161
11048
  }
11162
11049
  });
@@ -11675,6 +11562,7 @@ var THEME_DEFAULT_OPTIONS = {
11675
11562
  * theme.on(Theme.EVENTS.zoomChange, (zoom: number) => {})
11676
11563
  * ```
11677
11564
  */ function set(zoom) {
11565
+ var _ref;
11678
11566
  var _this_options_zoomOptions;
11679
11567
  if (!this._zooming) {
11680
11568
  var _this_messageControl_info, _this_messageControl, _this_logger;
@@ -11683,8 +11571,7 @@ var THEME_DEFAULT_OPTIONS = {
11683
11571
  return;
11684
11572
  }
11685
11573
  zoom = +zoom.toFixed(1);
11686
- var _this_options_zoomOptions_max;
11687
- var ZOOM_MAX = (_this_options_zoomOptions_max = (_this_options_zoomOptions = this.options.zoomOptions) == null ? void 0 : _this_options_zoomOptions.max) != null ? _this_options_zoomOptions_max : ZOOM_DEFAULT_OPTIONS.max;
11574
+ var ZOOM_MAX = (_ref = (_this_options_zoomOptions = this.options.zoomOptions) == null ? void 0 : _this_options_zoomOptions.max) != null ? _ref : ZOOM_DEFAULT_OPTIONS.max;
11688
11575
  if (zoom > ZOOM_MAX) {
11689
11576
  var _this_messageControl_info1, _this_messageControl1, _this_logger1;
11690
11577
  (_this_messageControl1 = this.messageControl) == null ? void 0 : (_this_messageControl_info1 = _this_messageControl1.info) == null ? void 0 : _this_messageControl_info1.call(_this_messageControl1, this.i18n.t('ZOOM_LIMIT_MAX', {
@@ -11888,6 +11775,6 @@ var THEME_DEFAULT_OPTIONS = {
11888
11775
  zh: zh,
11889
11776
  en: en
11890
11777
  };
11891
- /** 版本号 @since 0.0.1 */ Theme.THEME_VERSION = '3.1.4-beta.1';
11778
+ /** 版本号 @since 0.0.1 */ Theme.THEME_VERSION = '3.1.4-beta.2';
11892
11779
 
11893
11780
  export { Control, EVENTS, Fullscreen, Loading, Message, Play, Poster, Rec, Theme, Utils, Volume };