@visactor/vrender 0.22.0-vstory.11 → 0.22.0-vstory.12

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.es.js CHANGED
@@ -571,17 +571,17 @@ const EnvContribution = Symbol.for("EnvContribution");
571
571
  const VGlobal = Symbol.for("VGlobal");
572
572
  const DEFAULT_TEXT_FONT_FAMILY = "PingFang SC,Helvetica Neue,Microsoft Yahei,system-ui,-apple-system,segoe ui,Roboto,Helvetica,Arial,sans-serif,apple color emoji,segoe ui emoji,segoe ui symbol";
573
573
 
574
- var __decorate$1J = undefined && undefined.__decorate || function (decorators, target, key, desc) {
574
+ var __decorate$1L = undefined && undefined.__decorate || function (decorators, target, key, desc) {
575
575
  var d,
576
576
  c = arguments.length,
577
577
  r = c < 3 ? target : null === desc ? desc = Object.getOwnPropertyDescriptor(target, key) : desc;
578
578
  if ("object" == typeof Reflect && "function" == typeof Reflect.decorate) r = Reflect.decorate(decorators, target, key, desc);else for (var i = decorators.length - 1; i >= 0; i--) (d = decorators[i]) && (r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r);
579
579
  return c > 3 && r && Object.defineProperty(target, key, r), r;
580
580
  },
581
- __metadata$1i = undefined && undefined.__metadata || function (k, v) {
581
+ __metadata$1j = undefined && undefined.__metadata || function (k, v) {
582
582
  if ("object" == typeof Reflect && "function" == typeof Reflect.metadata) return Reflect.metadata(k, v);
583
583
  },
584
- __param$U = undefined && undefined.__param || function (paramIndex, decorator) {
584
+ __param$V = undefined && undefined.__param || function (paramIndex, decorator) {
585
585
  return function (target, key) {
586
586
  decorator(target, key, paramIndex);
587
587
  };
@@ -615,6 +615,12 @@ let DefaultGlobal = class {
615
615
  get env() {
616
616
  return this._env;
617
617
  }
618
+ get isImageAnonymous() {
619
+ return this._isImageAnonymous;
620
+ }
621
+ set isImageAnonymous(isImageAnonymous) {
622
+ this._isImageAnonymous = isImageAnonymous;
623
+ }
618
624
  get devicePixelRatio() {
619
625
  return this._env || this.setEnv("browser"), this.envContribution.getDevicePixelRatio();
620
626
  }
@@ -649,7 +655,7 @@ let DefaultGlobal = class {
649
655
  this._env || this.setEnv("browser"), this.envContribution.applyStyles = support;
650
656
  }
651
657
  constructor(contributions) {
652
- this.contributions = contributions, this.id = Generator.GenAutoIncrementId(), this.hooks = {
658
+ this.contributions = contributions, this._isImageAnonymous = !0, this.id = Generator.GenAutoIncrementId(), this.hooks = {
653
659
  onSetEnv: new SyncHook(["lastEnv", "env", "global"])
654
660
  }, this.measureTextMethod = "native", this.optimizeVisible = !1;
655
661
  }
@@ -777,7 +783,7 @@ let DefaultGlobal = class {
777
783
  return this._env || this.setEnv("browser"), this.envContribution.copyToClipBoard(text);
778
784
  }
779
785
  };
780
- DefaultGlobal = __decorate$1J([injectable(), __param$U(0, inject(ContributionProvider)), __param$U(0, named(EnvContribution)), __metadata$1i("design:paramtypes", [Object])], DefaultGlobal);
786
+ DefaultGlobal = __decorate$1L([injectable(), __param$V(0, inject(ContributionProvider)), __param$V(0, named(EnvContribution)), __metadata$1j("design:paramtypes", [Object])], DefaultGlobal);
781
787
 
782
788
  var MeasureModeEnum;
783
789
  !function (MeasureModeEnum) {
@@ -3464,7 +3470,7 @@ let Step$1 = class Step {
3464
3470
  default:
3465
3471
  if (this._t <= 0) this.context.lineTo(this._x, y, !1 !== this._lastDefined && !1 !== p.defined, this.lastPoint), this.context.lineTo(x, y, !1 !== this._lastDefined && !1 !== p.defined, p);else {
3466
3472
  const x1 = this._x * (1 - this._t) + x * this._t;
3467
- this.context.lineTo(x1, this._y, !1 !== this._lastDefined && !1 !== p.defined, this.lastPoint), this.context.lineTo(x1, y, !1 !== this._lastDefined && !1 !== p.defined, p);
3473
+ .5 === this._t ? this.context.lineTo(x1, this._y, !1 !== this._lastDefined, this.lastPoint) : this.context.lineTo(x1, this._y, !1 !== this._lastDefined && !1 !== p.defined, this.lastPoint), this.context.lineTo(x1, y, !1 !== this._lastDefined && !1 !== p.defined, p);
3468
3474
  }
3469
3475
  }
3470
3476
  this._lastDefined = p.defined, this._x = x, this._y = y, this.lastPoint = p;
@@ -4294,6 +4300,7 @@ const DefaultTextAttribute = Object.assign(Object.assign(Object.assign({}, Defau
4294
4300
  const DefaultRichTextAttribute = Object.assign(Object.assign(Object.assign({}, DefaultAttribute), DefaultTextStyle), {
4295
4301
  editable: !1,
4296
4302
  editOptions: null,
4303
+ ascentDescentMode: "actual",
4297
4304
  width: 300,
4298
4305
  height: 300,
4299
4306
  ellipsis: !0,
@@ -4341,7 +4348,7 @@ const DefaultRichTextIconAttribute = Object.assign(Object.assign({}, DefaultImag
4341
4348
  class Application {}
4342
4349
  const application = new Application();
4343
4350
 
4344
- const parse = function () {
4351
+ const parse$1 = function () {
4345
4352
  const tokens = {
4346
4353
  linearGradient: /^(linear\-gradient)/i,
4347
4354
  radialGradient: /^(radial\-gradient)/i,
@@ -4494,7 +4501,7 @@ class GradientParser {
4494
4501
  }
4495
4502
  static Parse(c) {
4496
4503
  if (GradientParser.IsGradientStr(c)) try {
4497
- const datum = parse(c)[0];
4504
+ const datum = parse$1(c)[0];
4498
4505
  if (datum) {
4499
4506
  if ("linear" === datum.type) return GradientParser.ParseLinear(datum);
4500
4507
  if ("radial" === datum.type) return GradientParser.ParseRadial(datum);
@@ -4741,17 +4748,20 @@ function testLetter2(string, index) {
4741
4748
  return i + 1;
4742
4749
  }
4743
4750
  function measureTextCanvas(text, character) {
4751
+ let mode = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : "actual";
4744
4752
  const measurement = application.graphicUtil.textMeasure.measureText(text, character),
4745
4753
  result = {
4746
4754
  ascent: 0,
4747
4755
  height: 0,
4748
4756
  descent: 0,
4749
4757
  width: 0
4750
- };
4751
- return "number" != typeof measurement.fontBoundingBoxAscent || "number" != typeof measurement.fontBoundingBoxDescent ? (result.width = measurement.width, result.height = character.fontSize || 0, result.ascent = result.height, result.descent = 0) : (result.width = measurement.width, result.height = Math.floor(measurement.fontBoundingBoxAscent + measurement.fontBoundingBoxDescent), result.ascent = Math.floor(measurement.fontBoundingBoxAscent), result.descent = result.height - result.ascent), result;
4758
+ },
4759
+ ascent = "actual" === mode ? measurement.actualBoundingBoxAscent : measurement.fontBoundingBoxAscent,
4760
+ descent = "actual" === mode ? measurement.actualBoundingBoxDescent : measurement.fontBoundingBoxDescent;
4761
+ return "number" != typeof ascent || "number" != typeof descent ? (result.width = Math.floor(measurement.width), result.height = character.fontSize || 0, result.ascent = result.height, result.descent = 0) : (result.width = Math.floor(measurement.width), result.height = Math.floor(ascent + descent), result.ascent = Math.floor(ascent), result.descent = result.height - result.ascent), result;
4752
4762
  }
4753
4763
 
4754
- var __decorate$1I = undefined && undefined.__decorate || function (decorators, target, key, desc) {
4764
+ var __decorate$1K = undefined && undefined.__decorate || function (decorators, target, key, desc) {
4755
4765
  var d,
4756
4766
  c = arguments.length,
4757
4767
  r = c < 3 ? target : null === desc ? desc = Object.getOwnPropertyDescriptor(target, key) : desc;
@@ -5133,9 +5143,9 @@ let ATextMeasure = class {
5133
5143
  return data.str = data.result, data.width += suffixWidth, data;
5134
5144
  }
5135
5145
  };
5136
- ATextMeasure = __decorate$1I([injectable()], ATextMeasure);
5146
+ ATextMeasure = __decorate$1K([injectable()], ATextMeasure);
5137
5147
 
5138
- var __decorate$1H = undefined && undefined.__decorate || function (decorators, target, key, desc) {
5148
+ var __decorate$1J = undefined && undefined.__decorate || function (decorators, target, key, desc) {
5139
5149
  var d,
5140
5150
  c = arguments.length,
5141
5151
  r = c < 3 ? target : null === desc ? desc = Object.getOwnPropertyDescriptor(target, key) : desc;
@@ -5144,7 +5154,7 @@ var __decorate$1H = undefined && undefined.__decorate || function (decorators, t
5144
5154
  };
5145
5155
  const TextMeasureContribution = Symbol.for("TextMeasureContribution");
5146
5156
  let DefaultTextMeasureContribution = class extends ATextMeasure {};
5147
- DefaultTextMeasureContribution = __decorate$1H([injectable()], DefaultTextMeasureContribution);
5157
+ DefaultTextMeasureContribution = __decorate$1J([injectable()], DefaultTextMeasureContribution);
5148
5158
 
5149
5159
  const container = new Container();
5150
5160
 
@@ -5558,14 +5568,14 @@ class DefaultCanvasAllocate {
5558
5568
  }
5559
5569
  const canvasAllocate = new DefaultCanvasAllocate();
5560
5570
 
5561
- var __decorate$1G = undefined && undefined.__decorate || function (decorators, target, key, desc) {
5571
+ var __decorate$1I = undefined && undefined.__decorate || function (decorators, target, key, desc) {
5562
5572
  var d,
5563
5573
  c = arguments.length,
5564
5574
  r = c < 3 ? target : null === desc ? desc = Object.getOwnPropertyDescriptor(target, key) : desc;
5565
5575
  if ("object" == typeof Reflect && "function" == typeof Reflect.decorate) r = Reflect.decorate(decorators, target, key, desc);else for (var i = decorators.length - 1; i >= 0; i--) (d = decorators[i]) && (r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r);
5566
5576
  return c > 3 && r && Object.defineProperty(target, key, r), r;
5567
5577
  },
5568
- __metadata$1h = undefined && undefined.__metadata || function (k, v) {
5578
+ __metadata$1i = undefined && undefined.__metadata || function (k, v) {
5569
5579
  if ("object" == typeof Reflect && "function" == typeof Reflect.metadata) return Reflect.metadata(k, v);
5570
5580
  };
5571
5581
  const VWindow = Symbol.for("VWindow");
@@ -5702,19 +5712,19 @@ let DefaultWindow = class {
5702
5712
  return this._handler.getTopLeft(baseWindow);
5703
5713
  }
5704
5714
  };
5705
- DefaultWindow = __decorate$1G([injectable(), __metadata$1h("design:paramtypes", [])], DefaultWindow);
5715
+ DefaultWindow = __decorate$1I([injectable(), __metadata$1i("design:paramtypes", [])], DefaultWindow);
5706
5716
 
5707
- var __decorate$1F = undefined && undefined.__decorate || function (decorators, target, key, desc) {
5717
+ var __decorate$1H = undefined && undefined.__decorate || function (decorators, target, key, desc) {
5708
5718
  var d,
5709
5719
  c = arguments.length,
5710
5720
  r = c < 3 ? target : null === desc ? desc = Object.getOwnPropertyDescriptor(target, key) : desc;
5711
5721
  if ("object" == typeof Reflect && "function" == typeof Reflect.decorate) r = Reflect.decorate(decorators, target, key, desc);else for (var i = decorators.length - 1; i >= 0; i--) (d = decorators[i]) && (r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r);
5712
5722
  return c > 3 && r && Object.defineProperty(target, key, r), r;
5713
5723
  },
5714
- __metadata$1g = undefined && undefined.__metadata || function (k, v) {
5724
+ __metadata$1h = undefined && undefined.__metadata || function (k, v) {
5715
5725
  if ("object" == typeof Reflect && "function" == typeof Reflect.metadata) return Reflect.metadata(k, v);
5716
5726
  },
5717
- __param$T = undefined && undefined.__param || function (paramIndex, decorator) {
5727
+ __param$U = undefined && undefined.__param || function (paramIndex, decorator) {
5718
5728
  return function (target, key) {
5719
5729
  decorator(target, key, paramIndex);
5720
5730
  };
@@ -5809,7 +5819,7 @@ let DefaultGraphicUtil = class {
5809
5819
  return c.nativeCanvas ? c.nativeCanvas : null;
5810
5820
  }
5811
5821
  };
5812
- DefaultGraphicUtil = __decorate$1F([injectable(), __param$T(0, inject(ContributionProvider)), __param$T(0, named(TextMeasureContribution)), __metadata$1g("design:paramtypes", [Object])], DefaultGraphicUtil);
5822
+ DefaultGraphicUtil = __decorate$1H([injectable(), __param$U(0, inject(ContributionProvider)), __param$U(0, named(TextMeasureContribution)), __metadata$1h("design:paramtypes", [Object])], DefaultGraphicUtil);
5813
5823
  var TransformMode;
5814
5824
  !function (TransformMode) {
5815
5825
  TransformMode[TransformMode.transform = 0] = "transform", TransformMode[TransformMode.matrix = 1] = "matrix";
@@ -5867,7 +5877,7 @@ let DefaultTransformUtil = class {
5867
5877
  return this;
5868
5878
  }
5869
5879
  };
5870
- DefaultTransformUtil = __decorate$1F([injectable(), __metadata$1g("design:paramtypes", [])], DefaultTransformUtil);
5880
+ DefaultTransformUtil = __decorate$1H([injectable(), __metadata$1h("design:paramtypes", [])], DefaultTransformUtil);
5871
5881
 
5872
5882
  const defaultThemeObj = {
5873
5883
  arc: DefaultArcAttribute,
@@ -7380,7 +7390,7 @@ class Animate {
7380
7390
  let id = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : Generator.GenAutoIncrementId();
7381
7391
  let timeline = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : defaultTimeline;
7382
7392
  let slience = arguments.length > 2 ? arguments[2] : undefined;
7383
- this.id = id, this.timeline = timeline, this.status = AnimateStatus.INITIAL, this.tailAnimate = new SubAnimate(this), this.subAnimates = [this.tailAnimate], this.timeScale = 1, this.rawPosition = -1, this._startTime = 0, this._duringTime = 0, this.timeline.addAnimate(this), this.slience = slience;
7393
+ this.id = id, this.timeline = timeline || defaultTimeline, this.status = AnimateStatus.INITIAL, this.tailAnimate = new SubAnimate(this), this.subAnimates = [this.tailAnimate], this.timeScale = 1, this.rawPosition = -1, this._startTime = 0, this._duringTime = 0, this.timeline.addAnimate(this), this.slience = slience;
7384
7394
  }
7385
7395
  setTimeline(timeline) {
7386
7396
  timeline !== this.timeline && (this.timeline.removeAnimate(this, !1), timeline.addAnimate(this));
@@ -7870,7 +7880,8 @@ class IncreaseCount extends ACustomAnimate {
7870
7880
  }
7871
7881
  onEnd() {}
7872
7882
  onUpdate(end, ratio, out) {
7873
- !1 !== this.valid && (out.text = end ? this.toNumber : (this.fromNumber + (this.toNumber - this.fromNumber) * ratio).toFixed(this.decimalLength));
7883
+ var _a;
7884
+ !1 !== this.valid && (out.text = end ? null === (_a = this.to) || void 0 === _a ? void 0 : _a.text : (this.fromNumber + (this.toNumber - this.fromNumber) * ratio).toFixed(this.decimalLength));
7874
7885
  }
7875
7886
  }
7876
7887
  var Direction;
@@ -9716,7 +9727,7 @@ class ResourceLoader {
9716
9727
  }
9717
9728
  static GetFile(url, type) {
9718
9729
  let data = ResourceLoader.cache.get(url);
9719
- return data ? "init" === data.loadState || "fail" === data.loadState ? Promise.reject() : "loading" === data.loadState ? data.dataPromise.then(data => data.data) : Promise.resolve(data.data) : (data = {
9730
+ return data ? "fail" === data.loadState ? Promise.reject() : "init" === data.loadState || "loading" === data.loadState ? data.dataPromise.then(data => data.data) : Promise.resolve(data.data) : (data = {
9720
9731
  type: type,
9721
9732
  loadState: "init"
9722
9733
  }, ResourceLoader.cache.set(url, data), "arrayBuffer" === type ? data.dataPromise = application.global.loadArrayBuffer(url) : "blob" === type ? data.dataPromise = application.global.loadBlob(url) : "json" === type && (data.dataPromise = application.global.loadJson(url)), data.dataPromise.then(data => data.data));
@@ -10113,7 +10124,7 @@ class Graphic extends Node {
10113
10124
  null != onStart && animate.onStart(onStart), null != onFrame && animate.onFrame(onFrame), null != onEnd && animate.onEnd(onEnd), null != onRemove && animate.onRemove(onRemove), animate.interpolateFunc = params.interpolate;
10114
10125
  }
10115
10126
  return this.animates.set(animate.id, animate), animate.onRemove(() => {
10116
- animate.stop(), this.animates.delete(animate.id);
10127
+ this.animates.delete(animate.id);
10117
10128
  }), animate;
10118
10129
  }
10119
10130
  onAttributeUpdate(context) {
@@ -10317,7 +10328,7 @@ class Graphic extends Node {
10317
10328
  if (this.stage = stage, this.layer = layer, this.setStageToShadowRoot(stage, layer), this.animates && this.animates.size) {
10318
10329
  const timeline = stage.getTimeline();
10319
10330
  this.animates.forEach(a => {
10320
- a.timeline === defaultTimeline && a.setTimeline(timeline);
10331
+ a.setTimeline(timeline);
10321
10332
  });
10322
10333
  }
10323
10334
  this._onSetStage && this._onSetStage(this, stage, layer), application.graphicService.onSetStage(this, stage);
@@ -10421,7 +10432,7 @@ class Graphic extends Node {
10421
10432
  return shadowRoot && (shadowRoot.shadowHost = this), this.shadowRoot = null != shadowRoot ? shadowRoot : application.graphicService.creator.shadowRoot(this), this.addUpdateBoundTag(), this.shadowRoot.setStage(this.stage, this.layer), this.shadowRoot;
10422
10433
  }
10423
10434
  detachShadow() {
10424
- this.shadowRoot && (this.addUpdateBoundTag(), this.shadowRoot.release(!0), this.shadowRoot = null);
10435
+ this.shadowRoot && (this.addUpdateBoundTag(), this.shadowRoot = null);
10425
10436
  }
10426
10437
  toJson() {
10427
10438
  return {
@@ -10473,7 +10484,7 @@ class Graphic extends Node {
10473
10484
  });
10474
10485
  }
10475
10486
  release() {
10476
- this.releaseStatus = "released", this.stopAnimates(), application.graphicService.onRelease(this);
10487
+ this.releaseStatus = "released", application.graphicService.onRelease(this);
10477
10488
  }
10478
10489
  _emitCustomEvent(type, context) {
10479
10490
  var _a, _b;
@@ -11049,11 +11060,6 @@ class Group extends Graphic {
11049
11060
  getNoWorkAnimateAttr() {
11050
11061
  return Group.NOWORK_ANIMATE_ATTR;
11051
11062
  }
11052
- release(all) {
11053
- all && this.forEachChildren(g => {
11054
- g.release(all);
11055
- }), super.release();
11056
- }
11057
11063
  }
11058
11064
  Group.NOWORK_ANIMATE_ATTR = NOWORK_ANIMATE_ATTR;
11059
11065
  function createGroup(attributes) {
@@ -11175,14 +11181,14 @@ const DynamicLayerHandlerContribution = Symbol.for("DynamicLayerHandlerContribut
11175
11181
  const VirtualLayerHandlerContribution = Symbol.for("VirtualLayerHandlerContribution");
11176
11182
 
11177
11183
  var DefaultLayerService_1,
11178
- __decorate$1E = undefined && undefined.__decorate || function (decorators, target, key, desc) {
11184
+ __decorate$1G = undefined && undefined.__decorate || function (decorators, target, key, desc) {
11179
11185
  var d,
11180
11186
  c = arguments.length,
11181
11187
  r = c < 3 ? target : null === desc ? desc = Object.getOwnPropertyDescriptor(target, key) : desc;
11182
11188
  if ("object" == typeof Reflect && "function" == typeof Reflect.decorate) r = Reflect.decorate(decorators, target, key, desc);else for (var i = decorators.length - 1; i >= 0; i--) (d = decorators[i]) && (r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r);
11183
11189
  return c > 3 && r && Object.defineProperty(target, key, r), r;
11184
11190
  },
11185
- __metadata$1f = undefined && undefined.__metadata || function (k, v) {
11191
+ __metadata$1g = undefined && undefined.__metadata || function (k, v) {
11186
11192
  if ("object" == typeof Reflect && "function" == typeof Reflect.metadata) return Reflect.metadata(k, v);
11187
11193
  };
11188
11194
  let DefaultLayerService = DefaultLayerService_1 = class {
@@ -11246,7 +11252,7 @@ let DefaultLayerService = DefaultLayerService_1 = class {
11246
11252
  this.layerMap.delete(stage);
11247
11253
  }
11248
11254
  };
11249
- DefaultLayerService.idprefix = "visactor_layer", DefaultLayerService.prefix_count = 0, DefaultLayerService = DefaultLayerService_1 = __decorate$1E([injectable(), __metadata$1f("design:paramtypes", [])], DefaultLayerService);
11255
+ DefaultLayerService.idprefix = "visactor_layer", DefaultLayerService.prefix_count = 0, DefaultLayerService = DefaultLayerService_1 = __decorate$1G([injectable(), __metadata$1g("design:paramtypes", [])], DefaultLayerService);
11250
11256
 
11251
11257
  var coreModule = new ContainerModule(bind => {
11252
11258
  bind(VGlobal).to(DefaultGlobal).inSingletonScope(), bind(VWindow).to(DefaultWindow), bind(GraphicUtil).to(DefaultGraphicUtil).inSingletonScope(), bind(TransformUtil).to(DefaultTransformUtil).inSingletonScope(), bind(LayerService).to(DefaultLayerService).inSingletonScope();
@@ -11785,17 +11791,17 @@ class DefaultMat4Allocate {
11785
11791
  const matrixAllocate = new DefaultMatrixAllocate();
11786
11792
  const mat4Allocate = new DefaultMat4Allocate();
11787
11793
 
11788
- var __decorate$1D = undefined && undefined.__decorate || function (decorators, target, key, desc) {
11794
+ var __decorate$1F = undefined && undefined.__decorate || function (decorators, target, key, desc) {
11789
11795
  var d,
11790
11796
  c = arguments.length,
11791
11797
  r = c < 3 ? target : null === desc ? desc = Object.getOwnPropertyDescriptor(target, key) : desc;
11792
11798
  if ("object" == typeof Reflect && "function" == typeof Reflect.decorate) r = Reflect.decorate(decorators, target, key, desc);else for (var i = decorators.length - 1; i >= 0; i--) (d = decorators[i]) && (r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r);
11793
11799
  return c > 3 && r && Object.defineProperty(target, key, r), r;
11794
11800
  },
11795
- __metadata$1e = undefined && undefined.__metadata || function (k, v) {
11801
+ __metadata$1f = undefined && undefined.__metadata || function (k, v) {
11796
11802
  if ("object" == typeof Reflect && "function" == typeof Reflect.metadata) return Reflect.metadata(k, v);
11797
11803
  },
11798
- __param$S = undefined && undefined.__param || function (paramIndex, decorator) {
11804
+ __param$T = undefined && undefined.__param || function (paramIndex, decorator) {
11799
11805
  return function (target, key) {
11800
11806
  decorator(target, key, paramIndex);
11801
11807
  };
@@ -12007,7 +12013,7 @@ let DefaultGraphicService = class {
12007
12013
  };
12008
12014
  }
12009
12015
  };
12010
- DefaultGraphicService = __decorate$1D([injectable(), __param$S(0, inject(GraphicCreator$1)), __metadata$1e("design:paramtypes", [Object])], DefaultGraphicService);
12016
+ DefaultGraphicService = __decorate$1F([injectable(), __param$T(0, inject(GraphicCreator$1)), __metadata$1f("design:paramtypes", [Object])], DefaultGraphicService);
12011
12017
 
12012
12018
  const updateBoundsOfCommonOuterBorder = (attribute, theme, aabbBounds) => {
12013
12019
  const {
@@ -13445,7 +13451,7 @@ let Line$1 = class Line extends Graphic {
13445
13451
  } = attribute,
13446
13452
  b = aabbBounds;
13447
13453
  return points.forEach(p => {
13448
- !1 === p.defined && "zero" !== connectedType && "connect" !== connectedType || b.add(p.x, p.y);
13454
+ !1 === p.defined && "connect" !== connectedType || b.add(p.x, p.y);
13449
13455
  }), b;
13450
13456
  }
13451
13457
  updateLineAABBBoundsBySegments(attribute, lineTheme, aabbBounds, graphic) {
@@ -13456,7 +13462,7 @@ let Line$1 = class Line extends Graphic {
13456
13462
  b = aabbBounds;
13457
13463
  return segments.forEach(s => {
13458
13464
  s.points.forEach(p => {
13459
- !1 === p.defined && "zero" !== connectedType && "connect" !== connectedType || b.add(p.x, p.y);
13465
+ !1 === p.defined && "connect" !== connectedType || b.add(p.x, p.y);
13460
13466
  });
13461
13467
  }), b;
13462
13468
  }
@@ -13887,16 +13893,20 @@ class Frame {
13887
13893
  }
13888
13894
 
13889
13895
  function getFixedLRTB(left, right, top, bottom) {
13896
+ const leftInt = Math.round(left),
13897
+ topInt = Math.round(top),
13898
+ rightInt = Math.round(right),
13899
+ bottomInt = Math.round(bottom);
13890
13900
  return {
13891
- left: Math.round(left),
13892
- top: Math.round(top),
13893
- right: Math.round(right),
13894
- bottom: Math.round(bottom)
13901
+ left: left > leftInt ? leftInt : leftInt - .5,
13902
+ top: top > topInt ? topInt : topInt - .5,
13903
+ right: rightInt > right ? rightInt : rightInt + .5,
13904
+ bottom: bottomInt > bottom ? bottomInt : bottomInt + .5
13895
13905
  };
13896
13906
  }
13897
13907
  class Paragraph {
13898
- constructor(text, newLine, character) {
13899
- this.fontSize = character.fontSize || 16, this.textBaseline = character.textBaseline || "alphabetic";
13908
+ constructor(text, newLine, character, ascentDescentMode) {
13909
+ this.fontSize = character.fontSize || 16, this.textBaseline = character.textBaseline || "alphabetic", this.ascentDescentMode = ascentDescentMode;
13900
13910
  const lineHeight = calculateLineHeight(character.lineHeight, this.fontSize);
13901
13911
  this.lineHeight = "number" == typeof lineHeight ? lineHeight > this.fontSize ? lineHeight : this.fontSize : Math.floor(1.2 * this.fontSize), this.height = this.lineHeight;
13902
13912
  const {
@@ -13904,7 +13914,7 @@ class Paragraph {
13904
13914
  height: height,
13905
13915
  descent: descent,
13906
13916
  width: width
13907
- } = measureTextCanvas(text, character);
13917
+ } = measureTextCanvas(text, character, this.ascentDescentMode);
13908
13918
  let halfDetaHeight = 0,
13909
13919
  deltaAscent = 0,
13910
13920
  deltaDescent = 0;
@@ -13913,7 +13923,7 @@ class Paragraph {
13913
13923
  updateWidth() {
13914
13924
  const {
13915
13925
  width: width
13916
- } = measureTextCanvas(this.text, this.character);
13926
+ } = measureTextCanvas(this.text, this.character, this.ascentDescentMode);
13917
13927
  this.width = width, "vertical" === this.direction && (this.widthOrigin = this.width, this.width = this.heightOrigin, this.height = this.widthOrigin);
13918
13928
  }
13919
13929
  drawBackground(ctx, top, ascent, deltaLeft, isLineFirst, textAlign, lineHeight) {
@@ -13930,16 +13940,24 @@ class Paragraph {
13930
13940
  if (text = text.slice(0, index), text += this.ellipsisStr, "right" === textAlign || "end" === textAlign) {
13931
13941
  const {
13932
13942
  width: width
13933
- } = measureTextCanvas(this.text.slice(index), this.character);
13943
+ } = measureTextCanvas(this.text.slice(index), this.character, this.ascentDescentMode);
13934
13944
  "vertical" === direction || (left -= this.ellipsisWidth - width);
13935
13945
  }
13936
13946
  }
13937
13947
  }
13948
+ switch (this.character.script) {
13949
+ case "super":
13950
+ baseline -= this.ascent * (1 / 3);
13951
+ break;
13952
+ case "sub":
13953
+ baseline += this.descent / 2;
13954
+ }
13955
+ "vertical" === direction && (ctx.save(), ctx.rotateAbout(Math.PI / 2, left, baseline), ctx.translate(-this.heightOrigin || -this.lineHeight / 2, -this.descent / 2), ctx.translate(left, baseline), left = 0, baseline = 0);
13956
+ const fillStyle = ctx.fillStyle,
13957
+ globalAlpha = ctx.globalAlpha;
13958
+ ctx.fillStyle = this.character.background, void 0 !== this.character.backgroundOpacity && (ctx.globalAlpha = this.character.backgroundOpacity);
13938
13959
  const lrtb = getFixedLRTB(left, left + (this.widthOrigin || this.width), top, top + lineHeight);
13939
- return Object.assign(Object.assign({}, lrtb), {
13940
- fillStyle: this.character.background,
13941
- globalAlpha: this.character.backgroundOpacity
13942
- });
13960
+ ctx.fillRect(lrtb.left, lrtb.top, lrtb.right - lrtb.left, lrtb.bottom - lrtb.top), ctx.fillStyle = fillStyle, ctx.globalAlpha = globalAlpha;
13943
13961
  }
13944
13962
  draw(ctx, top, ascent, deltaLeft, isLineFirst, textAlign, lineHeight) {
13945
13963
  let baseline = top + ascent,
@@ -13954,7 +13972,7 @@ class Paragraph {
13954
13972
  if (text = text.slice(0, index), text += this.ellipsisStr, "right" === textAlign || "end" === textAlign) {
13955
13973
  const {
13956
13974
  width: width
13957
- } = measureTextCanvas(this.text.slice(index), this.character);
13975
+ } = measureTextCanvas(this.text.slice(index), this.character, this.ascentDescentMode);
13958
13976
  "vertical" === direction || (left -= this.ellipsisWidth - width);
13959
13977
  }
13960
13978
  }
@@ -13974,21 +13992,21 @@ class Paragraph {
13974
13992
  if (this.character.underline) {
13975
13993
  const top = 1 + baseline,
13976
13994
  lrtb = getFixedLRTB(left, left + (this.widthOrigin || this.width), top, top + (this.character.fontSize ? Math.max(1, Math.floor(this.character.fontSize / 10)) : 1));
13977
- ctx.fillRect(lrtb.left, lrtb.top, lrtb.right - lrtb.left, lrtb.bottom - lrtb.top);
13995
+ ctx.fillRect(lrtb.left, 1 + baseline, lrtb.right - lrtb.left, this.character.fontSize ? Math.max(1, Math.floor(this.character.fontSize / 10)) : 1);
13978
13996
  }
13979
13997
  if (this.character.lineThrough) {
13980
13998
  const top = 1 + baseline - this.ascent / 2,
13981
13999
  lrtb = getFixedLRTB(left, left + (this.widthOrigin || this.width), top, top + (this.character.fontSize ? Math.max(1, Math.floor(this.character.fontSize / 10)) : 1));
13982
- ctx.fillRect(lrtb.left, lrtb.top, lrtb.right - lrtb.left, lrtb.bottom - lrtb.top);
14000
+ ctx.fillRect(lrtb.left, 1 + baseline - this.ascent / 2, lrtb.right - lrtb.left, this.character.fontSize ? Math.max(1, Math.floor(this.character.fontSize / 10)) : 1);
13983
14001
  }
13984
14002
  } else if ("underline" === this.character.textDecoration) {
13985
14003
  const top = 1 + baseline,
13986
14004
  lrtb = getFixedLRTB(left, left + (this.widthOrigin || this.width), top, top + (this.character.fontSize ? Math.max(1, Math.floor(this.character.fontSize / 10)) : 1));
13987
- ctx.fillRect(lrtb.left, lrtb.top, lrtb.right - lrtb.left, lrtb.bottom - lrtb.top);
14005
+ ctx.fillRect(lrtb.left, 1 + baseline, lrtb.right - lrtb.left, this.character.fontSize ? Math.max(1, Math.floor(this.character.fontSize / 10)) : 1);
13988
14006
  } else if ("line-through" === this.character.textDecoration) {
13989
14007
  const top = 1 + baseline - this.ascent / 2,
13990
14008
  lrtb = getFixedLRTB(left, left + (this.widthOrigin || this.width), top, top + (this.character.fontSize ? Math.max(1, Math.floor(this.character.fontSize / 10)) : 1));
13991
- ctx.fillRect(lrtb.left, lrtb.top, lrtb.right - lrtb.left, lrtb.bottom - lrtb.top);
14009
+ ctx.fillRect(lrtb.left, 1 + baseline - this.ascent / 2, lrtb.right - lrtb.left, this.character.fontSize ? Math.max(1, Math.floor(this.character.fontSize / 10)) : 1);
13992
14010
  }
13993
14011
  "vertical" === direction && ctx.restore();
13994
14012
  }
@@ -14002,7 +14020,7 @@ class Paragraph {
14002
14020
  text = text.slice(0, index), text += this.ellipsisStr;
14003
14021
  const {
14004
14022
  width: measureWidth
14005
- } = measureTextCanvas(this.text.slice(index), this.character);
14023
+ } = measureTextCanvas(this.text.slice(index), this.character, this.ascentDescentMode);
14006
14024
  return width + this.ellipsisWidth - measureWidth;
14007
14025
  }
14008
14026
  return width;
@@ -14011,7 +14029,7 @@ class Paragraph {
14011
14029
  function seperateParagraph(paragraph, index) {
14012
14030
  const text1 = paragraph.text.slice(0, index),
14013
14031
  text2 = paragraph.text.slice(index);
14014
- return [new Paragraph(text1, paragraph.newLine, paragraph.character), new Paragraph(text2, !0, paragraph.character)];
14032
+ return [new Paragraph(text1, paragraph.newLine, paragraph.character, paragraph.ascentDescentMode), new Paragraph(text2, !0, paragraph.character, paragraph.ascentDescentMode)];
14015
14033
  }
14016
14034
 
14017
14035
  const IMAGE_UPDATE_TAG_KEY = ["width", "height", "image", ...GRAPHIC_UPDATE_TAG_KEY];
@@ -14200,7 +14218,7 @@ class Line {
14200
14218
  paragraph.ellipsisStr = ellipsis;
14201
14219
  const {
14202
14220
  width: width
14203
- } = measureTextCanvas(ellipsis, paragraph.character),
14221
+ } = measureTextCanvas(ellipsis, paragraph.character, paragraph.ascentDescentMode),
14204
14222
  ellipsisWidth = width || 0;
14205
14223
  if (ellipsisWidth <= this.blankWidth + otherParagraphWidth) {
14206
14224
  lastLine && (paragraph.ellipsis = "add");
@@ -14213,19 +14231,8 @@ class Line {
14213
14231
  paragraph.ellipsis = "hide", otherParagraphWidth += paragraph.width;
14214
14232
  }
14215
14233
  }
14216
- let fillStyle = "",
14217
- globalAlpha = -1,
14218
- currBgList = [];
14219
- const bgList = [currBgList];
14220
14234
  this.paragraphs.forEach((paragraph, index) => {
14221
- if (paragraph instanceof RichTextIcon) return;
14222
- const data = paragraph.drawBackground(ctx, y, this.ascent, x, 0 === index, this.textAlign, this.height);
14223
- data && (fillStyle === data.fillStyle && globalAlpha === data.globalAlpha || (currBgList = [], bgList.push(currBgList), fillStyle = data.fillStyle, globalAlpha = data.globalAlpha), currBgList.push(data));
14224
- }), bgList.forEach(bg => {
14225
- if (0 === bg.length) return;
14226
- const data = bg[0],
14227
- end = bg[bg.length - 1];
14228
- ctx.fillStyle = data.fillStyle, ctx.globalAlpha = data.globalAlpha, ctx.fillRect(data.left, data.top, end.right - data.left, end.bottom - data.top);
14235
+ paragraph instanceof RichTextIcon || paragraph.drawBackground(ctx, y, this.ascent, x, 0 === index, this.textAlign, this.height);
14229
14236
  }), this.paragraphs.forEach((paragraph, index) => {
14230
14237
  if (paragraph instanceof RichTextIcon) return paragraph.setAttributes({
14231
14238
  x: x + paragraph._x,
@@ -14247,7 +14254,7 @@ class Line {
14247
14254
  if (paragraph instanceof RichTextIcon) break;
14248
14255
  const {
14249
14256
  width: width
14250
- } = measureTextCanvas(ellipsis, paragraph.character),
14257
+ } = measureTextCanvas(ellipsis, paragraph.character, paragraph.ascentDescentMode),
14251
14258
  ellipsisWidth = width || 0;
14252
14259
  if (ellipsisWidth <= this.blankWidth + otherParagraphWidth) {
14253
14260
  paragraph.ellipsis = "add", paragraph.ellipsisWidth = ellipsisWidth;
@@ -14388,13 +14395,7 @@ class RichText extends Graphic {
14388
14395
  }
14389
14396
  return cache.every(item => item.isComposing || !(item.text && isString$1(item.text) && RichText.splitText(item.text).length > 1));
14390
14397
  }
14391
- static splitEmoji(text) {
14392
- return [...new Intl.Segmenter().segment(text)].map(x => x.segment);
14393
- }
14394
14398
  static splitText(text) {
14395
- try {
14396
- return this.splitEmoji(text);
14397
- } catch (e) {}
14398
14399
  return Array.from(text);
14399
14400
  }
14400
14401
  static TransformTextConfig2SingleCharacter(textConfig) {
@@ -14520,7 +14521,8 @@ class RichText extends Graphic {
14520
14521
  layoutDirection: layoutDirection,
14521
14522
  singleLine: singleLine,
14522
14523
  disableAutoWrapLine: disableAutoWrapLine,
14523
- editable: editable
14524
+ editable: editable,
14525
+ ascentDescentMode: ascentDescentMode
14524
14526
  } = this.attribute;
14525
14527
  let {
14526
14528
  textConfig: _tc = []
@@ -14543,8 +14545,8 @@ class RichText extends Graphic {
14543
14545
  const richTextConfig = this.combinedStyleToCharacter(textConfig[i]);
14544
14546
  if (isNumber$1(richTextConfig.text) && (richTextConfig.text = `${richTextConfig.text}`), richTextConfig.text && richTextConfig.text.includes("\n")) {
14545
14547
  const textParts = richTextConfig.text.split("\n");
14546
- for (let j = 0; j < textParts.length; j++) paragraphs.push(new Paragraph(textParts[j], 0 !== j, richTextConfig));
14547
- } else richTextConfig.text && paragraphs.push(new Paragraph(richTextConfig.text, !1, richTextConfig));
14548
+ for (let j = 0; j < textParts.length; j++) paragraphs.push(new Paragraph(textParts[j], 0 !== j, richTextConfig, ascentDescentMode));
14549
+ } else richTextConfig.text && paragraphs.push(new Paragraph(richTextConfig.text, !1, richTextConfig, ascentDescentMode));
14548
14550
  }
14549
14551
  const maxWidthFinite = "number" == typeof maxWidth && Number.isFinite(maxWidth) && maxWidth > 0,
14550
14552
  maxHeightFinite = "number" == typeof maxHeight && Number.isFinite(maxHeight) && maxHeight > 0,
@@ -15408,17 +15410,17 @@ class BaseRender {
15408
15410
  }
15409
15411
  }
15410
15412
 
15411
- var __decorate$1C = undefined && undefined.__decorate || function (decorators, target, key, desc) {
15413
+ var __decorate$1E = undefined && undefined.__decorate || function (decorators, target, key, desc) {
15412
15414
  var d,
15413
15415
  c = arguments.length,
15414
15416
  r = c < 3 ? target : null === desc ? desc = Object.getOwnPropertyDescriptor(target, key) : desc;
15415
15417
  if ("object" == typeof Reflect && "function" == typeof Reflect.decorate) r = Reflect.decorate(decorators, target, key, desc);else for (var i = decorators.length - 1; i >= 0; i--) (d = decorators[i]) && (r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r);
15416
15418
  return c > 3 && r && Object.defineProperty(target, key, r), r;
15417
15419
  },
15418
- __metadata$1d = undefined && undefined.__metadata || function (k, v) {
15420
+ __metadata$1e = undefined && undefined.__metadata || function (k, v) {
15419
15421
  if ("object" == typeof Reflect && "function" == typeof Reflect.metadata) return Reflect.metadata(k, v);
15420
15422
  },
15421
- __param$R = undefined && undefined.__param || function (paramIndex, decorator) {
15423
+ __param$S = undefined && undefined.__param || function (paramIndex, decorator) {
15422
15424
  return function (target, key) {
15423
15425
  decorator(target, key, paramIndex);
15424
15426
  };
@@ -15515,7 +15517,7 @@ let DefaultBaseInteractiveRenderContribution = class {
15515
15517
  });
15516
15518
  }
15517
15519
  };
15518
- DefaultBaseInteractiveRenderContribution = __decorate$1C([injectable(), __param$R(0, inject(ContributionProvider)), __param$R(0, named(InteractiveSubRenderContribution)), __metadata$1d("design:paramtypes", [Object])], DefaultBaseInteractiveRenderContribution);
15520
+ DefaultBaseInteractiveRenderContribution = __decorate$1E([injectable(), __param$S(0, inject(ContributionProvider)), __param$S(0, named(InteractiveSubRenderContribution)), __metadata$1e("design:paramtypes", [Object])], DefaultBaseInteractiveRenderContribution);
15519
15521
 
15520
15522
  function formatRatio(ratio) {
15521
15523
  return ratio <= .5 ? 4 * ratio - 1 : -4 * ratio + 3;
@@ -15863,7 +15865,7 @@ function createRectPath(path, x, y, width, height, rectCornerRadius) {
15863
15865
  return !edgeCb && path.closePath(), path;
15864
15866
  }
15865
15867
 
15866
- var __decorate$1B = undefined && undefined.__decorate || function (decorators, target, key, desc) {
15868
+ var __decorate$1D = undefined && undefined.__decorate || function (decorators, target, key, desc) {
15867
15869
  var d,
15868
15870
  c = arguments.length,
15869
15871
  r = c < 3 ? target : null === desc ? desc = Object.getOwnPropertyDescriptor(target, key) : desc;
@@ -15928,7 +15930,7 @@ let SplitRectBeforeRenderContribution = class {
15928
15930
  Array.isArray(stroke) && stroke.some(s => !1 === s) && (doFillOrStroke.doStroke = !1);
15929
15931
  }
15930
15932
  };
15931
- SplitRectBeforeRenderContribution = __decorate$1B([injectable()], SplitRectBeforeRenderContribution);
15933
+ SplitRectBeforeRenderContribution = __decorate$1D([injectable()], SplitRectBeforeRenderContribution);
15932
15934
  let SplitRectAfterRenderContribution = class {
15933
15935
  constructor() {
15934
15936
  this.time = BaseRenderContributionTime.afterFillStroke, this.useStyle = !0, this.order = 0;
@@ -15965,7 +15967,7 @@ let SplitRectAfterRenderContribution = class {
15965
15967
  }
15966
15968
  }
15967
15969
  };
15968
- SplitRectAfterRenderContribution = __decorate$1B([injectable()], SplitRectAfterRenderContribution);
15970
+ SplitRectAfterRenderContribution = __decorate$1D([injectable()], SplitRectAfterRenderContribution);
15969
15971
  const defaultRectRenderContribution = new DefaultRectRenderContribution();
15970
15972
  const defaultRectTextureRenderContribution = defaultBaseTextureRenderContribution;
15971
15973
  const defaultRectBackgroundRenderContribution = defaultBaseBackgroundRenderContribution;
@@ -15974,8 +15976,8 @@ class DefaultImageRenderContribution extends DefaultRectRenderContribution {
15974
15976
  constructor() {
15975
15977
  super(...arguments), this.time = BaseRenderContributionTime.afterFillStroke, this.useStyle = !0, this.order = 0;
15976
15978
  }
15977
- drawShape(rect, context, x, y, doFill, doStroke, fVisible, sVisible, rectAttribute, drawContext, fillCb, strokeCb) {
15978
- return super.drawShape(rect, context, x, y, doFill, doStroke, fVisible, sVisible, rectAttribute, drawContext, fillCb, strokeCb);
15979
+ drawShape(image, context, x, y, doFill, doStroke, fVisible, sVisible, rectAttribute, drawContext, fillCb, strokeCb) {
15980
+ return super.drawShape(image, context, x, y, doFill, doStroke, fVisible, sVisible, rectAttribute, drawContext, fillCb, strokeCb);
15979
15981
  }
15980
15982
  }
15981
15983
  const defaultImageRenderContribution = new DefaultImageRenderContribution();
@@ -16070,17 +16072,17 @@ class DefaultAreaTextureRenderContribution extends DefaultBaseTextureRenderContr
16070
16072
  }
16071
16073
  }
16072
16074
 
16073
- var __decorate$1A = undefined && undefined.__decorate || function (decorators, target, key, desc) {
16075
+ var __decorate$1C = undefined && undefined.__decorate || function (decorators, target, key, desc) {
16074
16076
  var d,
16075
16077
  c = arguments.length,
16076
16078
  r = c < 3 ? target : null === desc ? desc = Object.getOwnPropertyDescriptor(target, key) : desc;
16077
16079
  if ("object" == typeof Reflect && "function" == typeof Reflect.decorate) r = Reflect.decorate(decorators, target, key, desc);else for (var i = decorators.length - 1; i >= 0; i--) (d = decorators[i]) && (r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r);
16078
16080
  return c > 3 && r && Object.defineProperty(target, key, r), r;
16079
16081
  },
16080
- __metadata$1c = undefined && undefined.__metadata || function (k, v) {
16082
+ __metadata$1d = undefined && undefined.__metadata || function (k, v) {
16081
16083
  if ("object" == typeof Reflect && "function" == typeof Reflect.metadata) return Reflect.metadata(k, v);
16082
16084
  },
16083
- __param$Q = undefined && undefined.__param || function (paramIndex, decorator) {
16085
+ __param$R = undefined && undefined.__param || function (paramIndex, decorator) {
16084
16086
  return function (target, key) {
16085
16087
  decorator(target, key, paramIndex);
16086
16088
  };
@@ -16244,19 +16246,19 @@ let DefaultCanvasArcRender = class extends BaseRender {
16244
16246
  this._draw(arc, arcAttribute, !1, drawContext, params);
16245
16247
  }
16246
16248
  };
16247
- DefaultCanvasArcRender = __decorate$1A([injectable(), __param$Q(0, inject(ContributionProvider)), __param$Q(0, named(ArcRenderContribution)), __metadata$1c("design:paramtypes", [Object])], DefaultCanvasArcRender);
16249
+ DefaultCanvasArcRender = __decorate$1C([injectable(), __param$R(0, inject(ContributionProvider)), __param$R(0, named(ArcRenderContribution)), __metadata$1d("design:paramtypes", [Object])], DefaultCanvasArcRender);
16248
16250
 
16249
- var __decorate$1z = undefined && undefined.__decorate || function (decorators, target, key, desc) {
16251
+ var __decorate$1B = undefined && undefined.__decorate || function (decorators, target, key, desc) {
16250
16252
  var d,
16251
16253
  c = arguments.length,
16252
16254
  r = c < 3 ? target : null === desc ? desc = Object.getOwnPropertyDescriptor(target, key) : desc;
16253
16255
  if ("object" == typeof Reflect && "function" == typeof Reflect.decorate) r = Reflect.decorate(decorators, target, key, desc);else for (var i = decorators.length - 1; i >= 0; i--) (d = decorators[i]) && (r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r);
16254
16256
  return c > 3 && r && Object.defineProperty(target, key, r), r;
16255
16257
  },
16256
- __metadata$1b = undefined && undefined.__metadata || function (k, v) {
16258
+ __metadata$1c = undefined && undefined.__metadata || function (k, v) {
16257
16259
  if ("object" == typeof Reflect && "function" == typeof Reflect.metadata) return Reflect.metadata(k, v);
16258
16260
  },
16259
- __param$P = undefined && undefined.__param || function (paramIndex, decorator) {
16261
+ __param$Q = undefined && undefined.__param || function (paramIndex, decorator) {
16260
16262
  return function (target, key) {
16261
16263
  decorator(target, key, paramIndex);
16262
16264
  };
@@ -16297,7 +16299,7 @@ let DefaultCanvasCircleRender = class extends BaseRender {
16297
16299
  this._draw(circle, circleAttribute, !1, drawContext, params);
16298
16300
  }
16299
16301
  };
16300
- DefaultCanvasCircleRender = __decorate$1z([injectable(), __param$P(0, inject(ContributionProvider)), __param$P(0, named(CircleRenderContribution)), __metadata$1b("design:paramtypes", [Object])], DefaultCanvasCircleRender);
16302
+ DefaultCanvasCircleRender = __decorate$1B([injectable(), __param$Q(0, inject(ContributionProvider)), __param$Q(0, named(CircleRenderContribution)), __metadata$1c("design:paramtypes", [Object])], DefaultCanvasCircleRender);
16301
16303
 
16302
16304
  function drawSegItem(ctx, curve, endPercent, params) {
16303
16305
  if (!curve.p1) return;
@@ -16421,7 +16423,7 @@ function drawIncrementalAreaSegments(path, lastSeg, segments, params) {
16421
16423
  });
16422
16424
  }
16423
16425
 
16424
- var __decorate$1y = undefined && undefined.__decorate || function (decorators, target, key, desc) {
16426
+ var __decorate$1A = undefined && undefined.__decorate || function (decorators, target, key, desc) {
16425
16427
  var d,
16426
16428
  c = arguments.length,
16427
16429
  r = c < 3 ? target : null === desc ? desc = Object.getOwnPropertyDescriptor(target, key) : desc;
@@ -16437,7 +16439,7 @@ let DefaultCanvasLineRender = class extends BaseRender {
16437
16439
  this._draw(line, lineAttribute, !1, drawContext, params);
16438
16440
  }
16439
16441
  drawSegmentItem(context, cache, fill, stroke, fillOpacity, strokeOpacity, attribute, defaultAttribute, clipRange, clipRangeByDimension, offsetX, offsetY, line, fillCb, strokeCb) {
16440
- var _a, _b, _c, _d, _e;
16442
+ var _a;
16441
16443
  if (!cache) return;
16442
16444
  context.beginPath();
16443
16445
  const z = null !== (_a = this.z) && void 0 !== _a ? _a : 0;
@@ -16450,27 +16452,7 @@ let DefaultCanvasLineRender = class extends BaseRender {
16450
16452
  x: originX = 0,
16451
16453
  x: originY = 0
16452
16454
  } = attribute;
16453
- !1 !== fill && (fillCb ? fillCb(context, attribute, defaultAttribute) : fillOpacity && (context.setCommonStyle(line, attribute, originX - offsetX, originY - offsetY, defaultAttribute), context.fill())), !1 !== stroke && (strokeCb ? strokeCb(context, attribute, defaultAttribute) : strokeOpacity && (context.setStrokeStyle(line, attribute, originX - offsetX, originY - offsetY, defaultAttribute), context.stroke()));
16454
- let {
16455
- connectedType: connectedType,
16456
- connectedX: connectedX,
16457
- connectedY: connectedY,
16458
- connectedStyle: connectedStyle
16459
- } = attribute;
16460
- if (isArray$1(defaultAttribute) ? (connectedType = null !== (_b = null != connectedType ? connectedType : defaultAttribute[0].connectedType) && void 0 !== _b ? _b : defaultAttribute[1].connectedType, connectedX = null !== (_c = null != connectedX ? connectedX : defaultAttribute[0].connectedX) && void 0 !== _c ? _c : defaultAttribute[1].connectedX, connectedY = null !== (_d = null != connectedY ? connectedY : defaultAttribute[0].connectedY) && void 0 !== _d ? _d : defaultAttribute[1].connectedY, connectedStyle = null !== (_e = null != connectedStyle ? connectedStyle : defaultAttribute[0].connectedStyle) && void 0 !== _e ? _e : defaultAttribute[1].connectedStyle) : (connectedType = null != connectedType ? connectedType : defaultAttribute.connectedType, connectedX = null != connectedX ? connectedX : defaultAttribute.connectedX, connectedY = null != connectedY ? connectedY : defaultAttribute.connectedY, connectedStyle = null != connectedStyle ? connectedStyle : defaultAttribute.connectedStyle), "connect" !== connectedType && "zero" !== connectedType && (connectedType = "none"), "none" !== connectedType) {
16461
- context.beginPath(), drawSegments(context.camera ? context : context.nativeContext, cache, clipRange, clipRangeByDimension, {
16462
- offsetX: offsetX,
16463
- offsetY: offsetY,
16464
- offsetZ: z,
16465
- drawConnect: !0,
16466
- mode: connectedType,
16467
- zeroX: connectedX,
16468
- zeroY: connectedY
16469
- });
16470
- const da = [];
16471
- isArray$1(defaultAttribute) ? defaultAttribute.forEach(i => da.push(i)) : da.push(defaultAttribute), da.push(attribute), !1 !== fill && (fillCb ? fillCb(context, attribute, defaultAttribute) : fillOpacity && (context.setCommonStyle(line, connectedStyle, originX - offsetX, originY - offsetY, da), context.fill())), !1 !== stroke && (strokeCb ? strokeCb(context, attribute, defaultAttribute) : strokeOpacity && (context.setStrokeStyle(line, connectedStyle, originX - offsetX, originY - offsetY, da), context.stroke()));
16472
- }
16473
- return !1;
16455
+ return !1 !== fill && (fillCb ? fillCb(context, attribute, defaultAttribute) : fillOpacity && (context.setCommonStyle(line, attribute, originX - offsetX, originY - offsetY, defaultAttribute), context.fill())), !1 !== stroke && (strokeCb ? strokeCb(context, attribute, defaultAttribute) : strokeOpacity && (context.setStrokeStyle(line, attribute, originX - offsetX, originY - offsetY, defaultAttribute), context.stroke())), !1;
16474
16456
  }
16475
16457
  drawLinearLineHighPerformance(line, context, fill, stroke, fillOpacity, strokeOpacity, offsetX, offsetY, lineAttribute, drawContext, params, fillCb, strokeCb) {
16476
16458
  var _a;
@@ -16502,7 +16484,8 @@ let DefaultCanvasLineRender = class extends BaseRender {
16502
16484
  segments: segments,
16503
16485
  points: points,
16504
16486
  closePath: closePath,
16505
- curveTension = lineAttribute.curveTension
16487
+ curveTension = lineAttribute.curveTension,
16488
+ connectedType = lineAttribute.connectedType
16506
16489
  } = line.attribute;
16507
16490
  if (!this.valid(line, lineAttribute, fillCb, strokeCb)) return;
16508
16491
  let {
@@ -16514,6 +16497,9 @@ let DefaultCanvasLineRender = class extends BaseRender {
16514
16497
  clipRangeByDimension = lineAttribute.clipRangeByDimension
16515
16498
  } = line.attribute;
16516
16499
  if (1 === clipRange && !segments && !points.some(p => !1 === p.defined) && "linear" === curveType) return this.drawLinearLineHighPerformance(line, context, !!fill, !!stroke, fillOpacity, strokeOpacity, x, y, lineAttribute, drawContext, params, fillCb, strokeCb);
16500
+ function parsePoint(points, connectedType) {
16501
+ return "none" === connectedType ? points : points.filter(p => !1 !== p.defined);
16502
+ }
16517
16503
  if (line.shouldUpdateShape()) {
16518
16504
  const {
16519
16505
  points: points,
@@ -16535,7 +16521,7 @@ let DefaultCanvasLineRender = class extends BaseRender {
16535
16521
  y: lastSeg.endY,
16536
16522
  defined: lastSeg.curves[lastSeg.curves.length - 1].defined
16537
16523
  } : index > 1 && (startPoint.x = lastSeg.endX, startPoint.y = lastSeg.endY, startPoint.defined = lastSeg.curves[lastSeg.curves.length - 1].defined);
16538
- const data = calcLineCache(seg.points, curveType, {
16524
+ const data = calcLineCache(parsePoint(seg.points, connectedType), curveType, {
16539
16525
  startPoint: startPoint,
16540
16526
  curveTension: curveTension
16541
16527
  });
@@ -16554,7 +16540,7 @@ let DefaultCanvasLineRender = class extends BaseRender {
16554
16540
  }
16555
16541
  } else {
16556
16542
  if (!points || !points.length) return line.cache = null, void line.clearUpdateShapeTag();
16557
- line.cache = calcLineCache(_points, curveType, {
16543
+ line.cache = calcLineCache(parsePoint(_points, connectedType), curveType, {
16558
16544
  curveTension: curveTension
16559
16545
  });
16560
16546
  }
@@ -16582,15 +16568,10 @@ let DefaultCanvasLineRender = class extends BaseRender {
16582
16568
  } else this.drawSegmentItem(context, line.cache, !!fill, !!stroke, fillOpacity, strokeOpacity, line.attribute, lineAttribute, clipRange, clipRangeByDimension, x, y, line, fillCb, strokeCb);
16583
16569
  }
16584
16570
  };
16585
- DefaultCanvasLineRender = __decorate$1y([injectable()], DefaultCanvasLineRender);
16571
+ DefaultCanvasLineRender = __decorate$1A([injectable()], DefaultCanvasLineRender);
16586
16572
 
16587
16573
  function drawAreaSegments(path, segPath, percent, params) {
16588
16574
  var _a;
16589
- const {
16590
- drawConnect = !1,
16591
- mode = "none"
16592
- } = params || {};
16593
- if (drawConnect && "none" === mode) return;
16594
16575
  const {
16595
16576
  top: top,
16596
16577
  bottom: bottom
@@ -16600,34 +16581,11 @@ function drawAreaSegments(path, segPath, percent, params) {
16600
16581
  const topList = [],
16601
16582
  bottomList = [];
16602
16583
  let lastDefined = !0;
16603
- if (drawConnect) {
16604
- let lastCurve,
16605
- lastBottomCurve,
16606
- defined0 = !0;
16607
- const n = top.curves.length;
16608
- top.curves.forEach((curve, i) => {
16609
- const bototmCurve = bottom.curves[n - i - 1];
16610
- let currentTopCurve = curve,
16611
- currentBottomCurve = bototmCurve;
16612
- if (curve.originP1 === curve.originP2) return lastCurve = curve, void (lastBottomCurve = bototmCurve);
16613
- if (lastCurve && lastCurve.originP1 === lastCurve.originP2 && (currentTopCurve = lastCurve, currentBottomCurve = lastBottomCurve), curve.defined) defined0 || (topList.push(currentTopCurve), bottomList.push(currentBottomCurve), drawAreaConnectBlock(path, topList, bottomList, params), topList.length = 0, bottomList.length = 0, defined0 = !defined0);else {
16614
- const {
16615
- originP1: originP1,
16616
- originP2: originP2
16617
- } = curve;
16618
- let validTopCurve, validBottomCurve;
16619
- originP1 && !1 !== originP1.defined ? (validTopCurve = currentTopCurve, validBottomCurve = currentBottomCurve) : originP1 && !1 !== originP2.defined && (validTopCurve = curve, validBottomCurve = bototmCurve), defined0 ? (defined0 = !defined0, topList.push(validTopCurve || curve), bottomList.push(validBottomCurve || bototmCurve)) : validTopCurve && (defined0 = !defined0, topList.push(validTopCurve || curve), bottomList.push(validBottomCurve || bototmCurve), drawAreaConnectBlock(path, topList, bottomList, params), topList.length = 0, bottomList.length = 0);
16620
- }
16621
- lastCurve = curve;
16622
- }), drawAreaConnectBlock(path, topList, bottomList, params);
16623
- } else {
16624
- for (let i = 0, n = top.curves.length; i < n; i++) {
16625
- const topCurve = top.curves[i];
16626
- lastDefined !== topCurve.defined ? (lastDefined ? (drawAreaBlock(path, topList, bottomList, params), topList.length = 0, bottomList.length = 0) : (topList.push(topCurve), bottomList.push(bottom.curves[n - i - 1])), lastDefined = !lastDefined) : lastDefined && (topList.push(topCurve), bottomList.push(bottom.curves[n - i - 1]));
16627
- }
16628
- drawAreaBlock(path, topList, bottomList, params);
16584
+ for (let i = 0, n = top.curves.length; i < n; i++) {
16585
+ const topCurve = top.curves[i];
16586
+ lastDefined !== topCurve.defined ? (lastDefined ? (drawAreaBlock(path, topList, bottomList, params), topList.length = 0, bottomList.length = 0) : (topList.push(topCurve), bottomList.push(bottom.curves[n - i - 1])), lastDefined = !lastDefined) : lastDefined && (topList.push(topCurve), bottomList.push(bottom.curves[n - i - 1]));
16629
16587
  }
16630
- return;
16588
+ return void drawAreaBlock(path, topList, bottomList, params);
16631
16589
  }
16632
16590
  if (percent <= 0) return;
16633
16591
  let {
@@ -16645,51 +16603,17 @@ function drawAreaSegments(path, segPath, percent, params) {
16645
16603
  lastDefined = !0;
16646
16604
  const topList = [],
16647
16605
  bottomList = [];
16648
- let lastTopCurve,
16649
- lastBottomCurve,
16650
- defined0 = !0;
16651
16606
  for (let i = 0, n = top.curves.length; i < n; i++) {
16652
16607
  const topCurve = top.curves[i],
16653
16608
  curCurveLength = topCurve.getLength(direction),
16654
16609
  percent = (totalDrawLength - drawedLengthUntilLast) / curCurveLength;
16655
16610
  if (percent < 0) break;
16656
- if (drawedLengthUntilLast += curCurveLength, drawConnect) {
16657
- const bototmCurve = bottom.curves[n - i - 1];
16658
- let currentTopCurve = topCurve,
16659
- currentBottomCurve = bototmCurve;
16660
- if (topCurve.originP1 === topCurve.originP2) {
16661
- lastTopCurve = topCurve, lastBottomCurve = bototmCurve;
16662
- continue;
16663
- }
16664
- if (lastTopCurve && lastTopCurve.originP1 === lastTopCurve.originP2 && (currentTopCurve = lastTopCurve, currentBottomCurve = lastBottomCurve), topCurve.defined) defined0 || (topList.push(currentTopCurve), bottomList.push(currentBottomCurve), drawAreaConnectBlock(path, topList, bottomList, params), topList.length = 0, bottomList.length = 0, defined0 = !defined0);else {
16665
- const {
16666
- originP1: originP1,
16667
- originP2: originP2
16668
- } = topCurve;
16669
- let validTopCurve, validBottomCurve;
16670
- originP1 && !1 !== originP1.defined ? (validTopCurve = currentTopCurve, validBottomCurve = currentBottomCurve) : originP1 && !1 !== originP2.defined && (validTopCurve = topCurve, validBottomCurve = bototmCurve), defined0 ? (defined0 = !defined0, topList.push(validTopCurve || topCurve), bottomList.push(validBottomCurve || bototmCurve)) : validTopCurve && (defined0 = !defined0, topList.push(validTopCurve || topCurve), bottomList.push(validBottomCurve || bototmCurve), drawAreaConnectBlock(path, topList, bottomList, params), topList.length = 0, bottomList.length = 0);
16671
- }
16672
- lastTopCurve = topCurve;
16673
- } else {
16674
- let tc = null,
16675
- bc = null;
16676
- lastDefined !== topCurve.defined ? (lastDefined ? (drawAreaBlock(path, topList, bottomList, params), topList.length = 0, bottomList.length = 0) : (tc = topCurve, bc = bottom.curves[n - i - 1]), lastDefined = !lastDefined) : lastDefined && (tc = topCurve, bc = bottom.curves[n - i - 1]), tc && bc && (percent < 1 && (tc = tc.p2 && tc.p3 ? divideCubic(tc, percent)[0] : divideLinear(tc, percent)[0], bc = bc.p2 && bc.p3 ? divideCubic(bc, 1 - percent)[1] : divideLinear(bc, 1 - percent)[1]), tc.defined = lastDefined, bc.defined = lastDefined, topList.push(tc), bottomList.push(bc)), tc = null, bc = null;
16677
- }
16611
+ drawedLengthUntilLast += curCurveLength;
16612
+ let tc = null,
16613
+ bc = null;
16614
+ lastDefined !== topCurve.defined ? (lastDefined ? (drawAreaBlock(path, topList, bottomList, params), topList.length = 0, bottomList.length = 0) : (tc = topCurve, bc = bottom.curves[n - i - 1]), lastDefined = !lastDefined) : lastDefined && (tc = topCurve, bc = bottom.curves[n - i - 1]), tc && bc && (percent < 1 && (tc = tc.p2 && tc.p3 ? divideCubic(tc, percent)[0] : divideLinear(tc, percent)[0], bc = bc.p2 && bc.p3 ? divideCubic(bc, 1 - percent)[1] : divideLinear(bc, 1 - percent)[1]), tc.defined = lastDefined, bc.defined = lastDefined, topList.push(tc), bottomList.push(bc)), tc = null, bc = null;
16678
16615
  }
16679
- drawConnect ? drawAreaConnectBlock(path, topList, bottomList, params) : drawAreaBlock(path, topList, bottomList, params);
16680
- }
16681
- function drawAreaConnectBlock(path, topList, bottomList, params) {
16682
- if (topList.length < 2) return;
16683
- const {
16684
- offsetX = 0,
16685
- offsetY = 0,
16686
- offsetZ = 0,
16687
- mode: mode
16688
- } = params || {};
16689
- let curve = topList[0];
16690
- path.moveTo(curve.p0.x + offsetX, curve.p0.y + offsetY, offsetZ), curve = topList[topList.length - 1];
16691
- let end = curve.p3 || curve.p1;
16692
- path.lineTo(end.x + offsetX, end.y + offsetY, offsetZ), curve = bottomList[bottomList.length - 1], path.lineTo(curve.p0.x + offsetX, curve.p0.y + offsetY, offsetZ), curve = bottomList[0], end = curve.p3 || curve.p1, path.lineTo(end.x + offsetX, end.y + offsetY, offsetZ), path.closePath();
16616
+ drawAreaBlock(path, topList, bottomList, params);
16693
16617
  }
16694
16618
  function drawAreaBlock(path, topList, bottomList, params) {
16695
16619
  const {
@@ -16711,17 +16635,17 @@ function drawAreaBlock(path, topList, bottomList, params) {
16711
16635
  const defaultAreaTextureRenderContribution = new DefaultAreaTextureRenderContribution();
16712
16636
  const defaultAreaBackgroundRenderContribution = defaultBaseBackgroundRenderContribution;
16713
16637
 
16714
- var __decorate$1x = undefined && undefined.__decorate || function (decorators, target, key, desc) {
16638
+ var __decorate$1z = undefined && undefined.__decorate || function (decorators, target, key, desc) {
16715
16639
  var d,
16716
16640
  c = arguments.length,
16717
16641
  r = c < 3 ? target : null === desc ? desc = Object.getOwnPropertyDescriptor(target, key) : desc;
16718
16642
  if ("object" == typeof Reflect && "function" == typeof Reflect.decorate) r = Reflect.decorate(decorators, target, key, desc);else for (var i = decorators.length - 1; i >= 0; i--) (d = decorators[i]) && (r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r);
16719
16643
  return c > 3 && r && Object.defineProperty(target, key, r), r;
16720
16644
  },
16721
- __metadata$1a = undefined && undefined.__metadata || function (k, v) {
16645
+ __metadata$1b = undefined && undefined.__metadata || function (k, v) {
16722
16646
  if ("object" == typeof Reflect && "function" == typeof Reflect.metadata) return Reflect.metadata(k, v);
16723
16647
  },
16724
- __param$O = undefined && undefined.__param || function (paramIndex, decorator) {
16648
+ __param$P = undefined && undefined.__param || function (paramIndex, decorator) {
16725
16649
  return function (target, key) {
16726
16650
  decorator(target, key, paramIndex);
16727
16651
  };
@@ -16790,7 +16714,8 @@ let DefaultCanvasAreaRender = class extends BaseRender {
16790
16714
  fillOpacity = areaAttribute.fillOpacity,
16791
16715
  z = areaAttribute.z,
16792
16716
  strokeOpacity = areaAttribute.strokeOpacity,
16793
- curveTension = areaAttribute.curveTension
16717
+ curveTension = areaAttribute.curveTension,
16718
+ connectedType = areaAttribute.connectedType
16794
16719
  } = area.attribute,
16795
16720
  data = this.valid(area, areaAttribute, fillCb, strokeCb);
16796
16721
  if (!data) return;
@@ -16807,6 +16732,9 @@ let DefaultCanvasAreaRender = class extends BaseRender {
16807
16732
  let {
16808
16733
  curveType = areaAttribute.curveType
16809
16734
  } = area.attribute;
16735
+ function parsePoint(points, connectedType) {
16736
+ return "connect" !== connectedType ? points : points.filter(p => !1 !== p.defined);
16737
+ }
16810
16738
  if (closePath && "linear" === curveType && (curveType = "linearClosed"), 1 === clipRange && !segments && !points.some(p => !1 === p.defined) && "linear" === curveType) return this.drawLinearAreaHighPerformance(area, context, !!fill, doStroke, fillOpacity, strokeOpacity, x, y, areaAttribute, drawContext, params, fillCb, strokeCb);
16811
16739
  if (area.shouldUpdateShape()) {
16812
16740
  if (segments && segments.length) {
@@ -16820,7 +16748,7 @@ let DefaultCanvasAreaRender = class extends BaseRender {
16820
16748
  x: lastTopSeg.endX,
16821
16749
  y: lastTopSeg.endY
16822
16750
  } : index > 1 && (startPoint.x = lastTopSeg.endX, startPoint.y = lastTopSeg.endY);
16823
- const data = calcLineCache(seg.points, curveType, {
16751
+ const data = calcLineCache(parsePoint(seg.points, connectedType), curveType, {
16824
16752
  startPoint: startPoint,
16825
16753
  curveTension: curveTension
16826
16754
  });
@@ -16843,7 +16771,7 @@ let DefaultCanvasAreaRender = class extends BaseRender {
16843
16771
  y: null !== (_d = endPoint.y1) && void 0 !== _d ? _d : endPoint.y
16844
16772
  });
16845
16773
  }
16846
- bottomPoints.length > 1 && (lastBottomSeg = calcLineCache(bottomPoints, "stepBefore" === curveType ? "stepAfter" : "stepAfter" === curveType ? "stepBefore" : curveType, {
16774
+ bottomPoints.length > 1 && (lastBottomSeg = calcLineCache(parsePoint(bottomPoints, connectedType), "stepBefore" === curveType ? "stepAfter" : "stepAfter" === curveType ? "stepBefore" : curveType, {
16847
16775
  curveTension: curveTension
16848
16776
  }), bottomCaches.unshift(lastBottomSeg));
16849
16777
  }
@@ -16854,11 +16782,11 @@ let DefaultCanvasAreaRender = class extends BaseRender {
16854
16782
  } else {
16855
16783
  if (!points || !points.length) return area.cacheArea = null, void area.clearUpdateShapeTag();
16856
16784
  {
16857
- const topPoints = points,
16785
+ const topPoints = parsePoint(points, connectedType),
16858
16786
  bottomPoints = [];
16859
- for (let i = points.length - 1; i >= 0; i--) bottomPoints.push({
16860
- x: null !== (_e = points[i].x1) && void 0 !== _e ? _e : points[i].x,
16861
- y: null !== (_f = points[i].y1) && void 0 !== _f ? _f : points[i].y
16787
+ for (let i = topPoints.length - 1; i >= 0; i--) bottomPoints.push({
16788
+ x: null !== (_e = topPoints[i].x1) && void 0 !== _e ? _e : topPoints[i].x,
16789
+ y: null !== (_f = topPoints[i].y1) && void 0 !== _f ? _f : topPoints[i].y
16862
16790
  });
16863
16791
  const topCache = calcLineCache(topPoints, curveType, {
16864
16792
  curveTension: curveTension
@@ -16900,20 +16828,10 @@ let DefaultCanvasAreaRender = class extends BaseRender {
16900
16828
  this._draw(area, areaAttribute, !1, drawContext, params);
16901
16829
  }
16902
16830
  drawSegmentItem(context, cache, fill, fillOpacity, stroke, strokeOpacity, attribute, defaultAttribute, clipRange, offsetX, offsetY, offsetZ, area, drawContext, fillCb, strokeCb) {
16903
- let ret = !1;
16904
- return ret = ret || this._drawSegmentItem(context, cache, fill, fillOpacity, stroke, strokeOpacity, attribute, defaultAttribute, clipRange, offsetX, offsetY, offsetZ, area, drawContext, !1, fillCb, strokeCb), ret = ret || this._drawSegmentItem(context, cache, fill, fillOpacity, stroke, strokeOpacity, attribute, defaultAttribute, clipRange, offsetX, offsetY, offsetZ, area, drawContext, !0, fillCb, strokeCb), ret;
16831
+ return this._drawSegmentItem(context, cache, fill, fillOpacity, stroke, strokeOpacity, attribute, defaultAttribute, clipRange, offsetX, offsetY, offsetZ, area, drawContext, fillCb, strokeCb);
16905
16832
  }
16906
- _drawSegmentItem(context, cache, fill, fillOpacity, stroke, strokeOpacity, attribute, defaultAttribute, clipRange, offsetX, offsetY, offsetZ, area, drawContext, connect, fillCb, strokeCb) {
16907
- var _a, _b, _c, _d;
16833
+ _drawSegmentItem(context, cache, fill, fillOpacity, stroke, strokeOpacity, attribute, defaultAttribute, clipRange, offsetX, offsetY, offsetZ, area, drawContext, fillCb, strokeCb) {
16908
16834
  if (!(cache && cache.top && cache.bottom && cache.top.curves && cache.top.curves.length && cache.bottom.curves && cache.bottom.curves.length)) return;
16909
- let {
16910
- connectedType: connectedType,
16911
- connectedX: connectedX,
16912
- connectedY: connectedY,
16913
- connectedStyle: connectedStyle
16914
- } = attribute;
16915
- const da = [];
16916
- if (connect && (isArray$1(defaultAttribute) ? (connectedType = null !== (_a = null != connectedType ? connectedType : defaultAttribute[0].connectedType) && void 0 !== _a ? _a : defaultAttribute[1].connectedType, connectedX = null !== (_b = null != connectedX ? connectedX : defaultAttribute[0].connectedX) && void 0 !== _b ? _b : defaultAttribute[1].connectedX, connectedY = null !== (_c = null != connectedY ? connectedY : defaultAttribute[0].connectedY) && void 0 !== _c ? _c : defaultAttribute[1].connectedY, connectedStyle = null !== (_d = null != connectedStyle ? connectedStyle : defaultAttribute[0].connectedStyle) && void 0 !== _d ? _d : defaultAttribute[1].connectedStyle) : (connectedType = null != connectedType ? connectedType : defaultAttribute.connectedType, connectedX = null != connectedX ? connectedX : defaultAttribute.connectedX, connectedY = null != connectedY ? connectedY : defaultAttribute.connectedY, connectedStyle = null != connectedStyle ? connectedStyle : defaultAttribute.connectedStyle), "connect" !== connectedType && "zero" !== connectedType && (connectedType = "none"), isArray$1(defaultAttribute) ? defaultAttribute.forEach(i => da.push(i)) : da.push(defaultAttribute), da.push(attribute)), connect && "none" === connectedType) return !1;
16917
16835
  context.beginPath();
16918
16836
  const {
16919
16837
  points: points,
@@ -16932,11 +16850,7 @@ let DefaultCanvasAreaRender = class extends BaseRender {
16932
16850
  offsetX: offsetX,
16933
16851
  offsetY: offsetY,
16934
16852
  offsetZ: offsetZ,
16935
- direction: direction,
16936
- drawConnect: connect,
16937
- mode: connectedType,
16938
- zeroX: connectedX,
16939
- zeroY: connectedY
16853
+ direction: direction
16940
16854
  }), this.beforeRenderStep(area, context, offsetX, offsetY, !!fillOpacity, !1, fill, !1, defaultAttribute, drawContext, fillCb, null, {
16941
16855
  attribute: attribute
16942
16856
  }), context.setShadowBlendStyle && context.setShadowBlendStyle(area, attribute, defaultAttribute);
@@ -16944,7 +16858,7 @@ let DefaultCanvasAreaRender = class extends BaseRender {
16944
16858
  x: originX = 0,
16945
16859
  x: originY = 0
16946
16860
  } = attribute;
16947
- return !1 !== fill && (fillCb ? fillCb(context, attribute, defaultAttribute) : fillOpacity && (context.setCommonStyle(area, connect ? connectedStyle : attribute, originX - offsetX, originY - offsetY, connect ? da : defaultAttribute), context.fill())), this.afterRenderStep(area, context, offsetX, offsetY, !!fillOpacity, !1, fill, !1, defaultAttribute, drawContext, fillCb, null, {
16861
+ return !1 !== fill && (fillCb ? fillCb(context, attribute, defaultAttribute) : fillOpacity && (context.setCommonStyle(area, attribute, originX - offsetX, originY - offsetY, defaultAttribute), context.fill())), this.afterRenderStep(area, context, offsetX, offsetY, !!fillOpacity, !1, fill, !1, defaultAttribute, drawContext, fillCb, null, {
16948
16862
  attribute: attribute
16949
16863
  }), (() => {
16950
16864
  if (!1 !== stroke) if (strokeCb) strokeCb(context, attribute, defaultAttribute);else {
@@ -16954,32 +16868,28 @@ let DefaultCanvasAreaRender = class extends BaseRender {
16954
16868
  isArray$1(stroke) && (stroke[0] || stroke[2]) && !1 === stroke[1] && (context.beginPath(), drawSegments(context.camera ? context : context.nativeContext, stroke[0] ? cache.top : cache.bottom, clipRange, direction === Direction$1.ROW ? "x" : "y", {
16955
16869
  offsetX: offsetX,
16956
16870
  offsetY: offsetY,
16957
- offsetZ: offsetZ,
16958
- drawConnect: connect,
16959
- mode: connectedType,
16960
- zeroX: connectedX,
16961
- zeroY: connectedY
16962
- })), context.setStrokeStyle(area, connect ? connectedStyle : attribute, originX - offsetX, originY - offsetY, connect ? da : defaultAttribute), context.stroke();
16871
+ offsetZ: offsetZ
16872
+ })), context.setStrokeStyle(area, attribute, originX - offsetX, originY - offsetY, defaultAttribute), context.stroke();
16963
16873
  }
16964
16874
  })(), !1;
16965
16875
  }
16966
16876
  };
16967
- DefaultCanvasAreaRender = __decorate$1x([injectable(), __param$O(0, inject(ContributionProvider)), __param$O(0, named(AreaRenderContribution)), __metadata$1a("design:paramtypes", [Object])], DefaultCanvasAreaRender);
16877
+ DefaultCanvasAreaRender = __decorate$1z([injectable(), __param$P(0, inject(ContributionProvider)), __param$P(0, named(AreaRenderContribution)), __metadata$1b("design:paramtypes", [Object])], DefaultCanvasAreaRender);
16968
16878
 
16969
16879
  const defaultPathTextureRenderContribution = defaultBaseTextureRenderContribution;
16970
16880
  const defaultPathBackgroundRenderContribution = defaultBaseBackgroundRenderContribution;
16971
16881
 
16972
- var __decorate$1w = undefined && undefined.__decorate || function (decorators, target, key, desc) {
16882
+ var __decorate$1y = undefined && undefined.__decorate || function (decorators, target, key, desc) {
16973
16883
  var d,
16974
16884
  c = arguments.length,
16975
16885
  r = c < 3 ? target : null === desc ? desc = Object.getOwnPropertyDescriptor(target, key) : desc;
16976
16886
  if ("object" == typeof Reflect && "function" == typeof Reflect.decorate) r = Reflect.decorate(decorators, target, key, desc);else for (var i = decorators.length - 1; i >= 0; i--) (d = decorators[i]) && (r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r);
16977
16887
  return c > 3 && r && Object.defineProperty(target, key, r), r;
16978
16888
  },
16979
- __metadata$19 = undefined && undefined.__metadata || function (k, v) {
16889
+ __metadata$1a = undefined && undefined.__metadata || function (k, v) {
16980
16890
  if ("object" == typeof Reflect && "function" == typeof Reflect.metadata) return Reflect.metadata(k, v);
16981
16891
  },
16982
- __param$N = undefined && undefined.__param || function (paramIndex, decorator) {
16892
+ __param$O = undefined && undefined.__param || function (paramIndex, decorator) {
16983
16893
  return function (target, key) {
16984
16894
  decorator(target, key, paramIndex);
16985
16895
  };
@@ -17023,19 +16933,19 @@ let DefaultCanvasPathRender = class extends BaseRender {
17023
16933
  this.tempTheme = pathAttribute, this._draw(path, pathAttribute, !1, drawContext, params), this.tempTheme = null;
17024
16934
  }
17025
16935
  };
17026
- DefaultCanvasPathRender = __decorate$1w([injectable(), __param$N(0, inject(ContributionProvider)), __param$N(0, named(PathRenderContribution)), __metadata$19("design:paramtypes", [Object])], DefaultCanvasPathRender);
16936
+ DefaultCanvasPathRender = __decorate$1y([injectable(), __param$O(0, inject(ContributionProvider)), __param$O(0, named(PathRenderContribution)), __metadata$1a("design:paramtypes", [Object])], DefaultCanvasPathRender);
17027
16937
 
17028
- var __decorate$1v = undefined && undefined.__decorate || function (decorators, target, key, desc) {
16938
+ var __decorate$1x = undefined && undefined.__decorate || function (decorators, target, key, desc) {
17029
16939
  var d,
17030
16940
  c = arguments.length,
17031
16941
  r = c < 3 ? target : null === desc ? desc = Object.getOwnPropertyDescriptor(target, key) : desc;
17032
16942
  if ("object" == typeof Reflect && "function" == typeof Reflect.decorate) r = Reflect.decorate(decorators, target, key, desc);else for (var i = decorators.length - 1; i >= 0; i--) (d = decorators[i]) && (r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r);
17033
16943
  return c > 3 && r && Object.defineProperty(target, key, r), r;
17034
16944
  },
17035
- __metadata$18 = undefined && undefined.__metadata || function (k, v) {
16945
+ __metadata$19 = undefined && undefined.__metadata || function (k, v) {
17036
16946
  if ("object" == typeof Reflect && "function" == typeof Reflect.metadata) return Reflect.metadata(k, v);
17037
16947
  },
17038
- __param$M = undefined && undefined.__param || function (paramIndex, decorator) {
16948
+ __param$N = undefined && undefined.__param || function (paramIndex, decorator) {
17039
16949
  return function (target, key) {
17040
16950
  decorator(target, key, paramIndex);
17041
16951
  };
@@ -17095,19 +17005,19 @@ let DefaultCanvasRectRender = class extends BaseRender {
17095
17005
  this.tempTheme = rectAttribute, this._draw(rect, rectAttribute, !1, drawContext, params), this.tempTheme = null;
17096
17006
  }
17097
17007
  };
17098
- DefaultCanvasRectRender = __decorate$1v([injectable(), __param$M(0, inject(ContributionProvider)), __param$M(0, named(RectRenderContribution)), __metadata$18("design:paramtypes", [Object])], DefaultCanvasRectRender);
17008
+ DefaultCanvasRectRender = __decorate$1x([injectable(), __param$N(0, inject(ContributionProvider)), __param$N(0, named(RectRenderContribution)), __metadata$19("design:paramtypes", [Object])], DefaultCanvasRectRender);
17099
17009
 
17100
- var __decorate$1u = undefined && undefined.__decorate || function (decorators, target, key, desc) {
17010
+ var __decorate$1w = undefined && undefined.__decorate || function (decorators, target, key, desc) {
17101
17011
  var d,
17102
17012
  c = arguments.length,
17103
17013
  r = c < 3 ? target : null === desc ? desc = Object.getOwnPropertyDescriptor(target, key) : desc;
17104
17014
  if ("object" == typeof Reflect && "function" == typeof Reflect.decorate) r = Reflect.decorate(decorators, target, key, desc);else for (var i = decorators.length - 1; i >= 0; i--) (d = decorators[i]) && (r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r);
17105
17015
  return c > 3 && r && Object.defineProperty(target, key, r), r;
17106
17016
  },
17107
- __metadata$17 = undefined && undefined.__metadata || function (k, v) {
17017
+ __metadata$18 = undefined && undefined.__metadata || function (k, v) {
17108
17018
  if ("object" == typeof Reflect && "function" == typeof Reflect.metadata) return Reflect.metadata(k, v);
17109
17019
  },
17110
- __param$L = undefined && undefined.__param || function (paramIndex, decorator) {
17020
+ __param$M = undefined && undefined.__param || function (paramIndex, decorator) {
17111
17021
  return function (target, key) {
17112
17022
  decorator(target, key, paramIndex);
17113
17023
  };
@@ -17178,7 +17088,7 @@ let DefaultCanvasSymbolRender = class extends BaseRender {
17178
17088
  this._draw(symbol, symbolAttribute, !1, drawContext, params);
17179
17089
  }
17180
17090
  };
17181
- DefaultCanvasSymbolRender = __decorate$1u([injectable(), __param$L(0, inject(ContributionProvider)), __param$L(0, named(SymbolRenderContribution)), __metadata$17("design:paramtypes", [Object])], DefaultCanvasSymbolRender);
17091
+ DefaultCanvasSymbolRender = __decorate$1w([injectable(), __param$M(0, inject(ContributionProvider)), __param$M(0, named(SymbolRenderContribution)), __metadata$18("design:paramtypes", [Object])], DefaultCanvasSymbolRender);
17182
17092
 
17183
17093
  class DefaultBoundsAllocate {
17184
17094
  constructor() {
@@ -17267,17 +17177,17 @@ class DefaultTextBackgroundRenderContribution extends DefaultBaseBackgroundRende
17267
17177
  }
17268
17178
  const defaultTextBackgroundRenderContribution = new DefaultTextBackgroundRenderContribution();
17269
17179
 
17270
- var __decorate$1t = undefined && undefined.__decorate || function (decorators, target, key, desc) {
17180
+ var __decorate$1v = undefined && undefined.__decorate || function (decorators, target, key, desc) {
17271
17181
  var d,
17272
17182
  c = arguments.length,
17273
17183
  r = c < 3 ? target : null === desc ? desc = Object.getOwnPropertyDescriptor(target, key) : desc;
17274
17184
  if ("object" == typeof Reflect && "function" == typeof Reflect.decorate) r = Reflect.decorate(decorators, target, key, desc);else for (var i = decorators.length - 1; i >= 0; i--) (d = decorators[i]) && (r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r);
17275
17185
  return c > 3 && r && Object.defineProperty(target, key, r), r;
17276
17186
  },
17277
- __metadata$16 = undefined && undefined.__metadata || function (k, v) {
17187
+ __metadata$17 = undefined && undefined.__metadata || function (k, v) {
17278
17188
  if ("object" == typeof Reflect && "function" == typeof Reflect.metadata) return Reflect.metadata(k, v);
17279
17189
  },
17280
- __param$K = undefined && undefined.__param || function (paramIndex, decorator) {
17190
+ __param$L = undefined && undefined.__param || function (paramIndex, decorator) {
17281
17191
  return function (target, key) {
17282
17192
  decorator(target, key, paramIndex);
17283
17193
  };
@@ -17416,9 +17326,9 @@ let DefaultCanvasTextRender = class extends BaseRender {
17416
17326
  }
17417
17327
  }
17418
17328
  };
17419
- DefaultCanvasTextRender = __decorate$1t([injectable(), __param$K(0, inject(ContributionProvider)), __param$K(0, named(TextRenderContribution)), __metadata$16("design:paramtypes", [Object])], DefaultCanvasTextRender);
17329
+ DefaultCanvasTextRender = __decorate$1v([injectable(), __param$L(0, inject(ContributionProvider)), __param$L(0, named(TextRenderContribution)), __metadata$17("design:paramtypes", [Object])], DefaultCanvasTextRender);
17420
17330
 
17421
- var __decorate$1s = undefined && undefined.__decorate || function (decorators, target, key, desc) {
17331
+ var __decorate$1u = undefined && undefined.__decorate || function (decorators, target, key, desc) {
17422
17332
  var d,
17423
17333
  c = arguments.length,
17424
17334
  r = c < 3 ? target : null === desc ? desc = Object.getOwnPropertyDescriptor(target, key) : desc;
@@ -17426,7 +17336,7 @@ var __decorate$1s = undefined && undefined.__decorate || function (decorators, t
17426
17336
  return c > 3 && r && Object.defineProperty(target, key, r), r;
17427
17337
  };
17428
17338
  let AbstractGraphicRender = class {};
17429
- AbstractGraphicRender = __decorate$1s([injectable()], AbstractGraphicRender);
17339
+ AbstractGraphicRender = __decorate$1u([injectable()], AbstractGraphicRender);
17430
17340
 
17431
17341
  function drawPolygon(path, points, x, y) {
17432
17342
  path.moveTo(points[0].x + x, points[0].y + y);
@@ -17482,17 +17392,17 @@ function getProportionPoint(point, segment, length, dx, dy) {
17482
17392
  const defaultPolygonTextureRenderContribution = defaultBaseTextureRenderContribution;
17483
17393
  const defaultPolygonBackgroundRenderContribution = defaultBaseBackgroundRenderContribution;
17484
17394
 
17485
- var __decorate$1r = undefined && undefined.__decorate || function (decorators, target, key, desc) {
17395
+ var __decorate$1t = undefined && undefined.__decorate || function (decorators, target, key, desc) {
17486
17396
  var d,
17487
17397
  c = arguments.length,
17488
17398
  r = c < 3 ? target : null === desc ? desc = Object.getOwnPropertyDescriptor(target, key) : desc;
17489
17399
  if ("object" == typeof Reflect && "function" == typeof Reflect.decorate) r = Reflect.decorate(decorators, target, key, desc);else for (var i = decorators.length - 1; i >= 0; i--) (d = decorators[i]) && (r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r);
17490
17400
  return c > 3 && r && Object.defineProperty(target, key, r), r;
17491
17401
  },
17492
- __metadata$15 = undefined && undefined.__metadata || function (k, v) {
17402
+ __metadata$16 = undefined && undefined.__metadata || function (k, v) {
17493
17403
  if ("object" == typeof Reflect && "function" == typeof Reflect.metadata) return Reflect.metadata(k, v);
17494
17404
  },
17495
- __param$J = undefined && undefined.__param || function (paramIndex, decorator) {
17405
+ __param$K = undefined && undefined.__param || function (paramIndex, decorator) {
17496
17406
  return function (target, key) {
17497
17407
  decorator(target, key, paramIndex);
17498
17408
  };
@@ -17533,19 +17443,19 @@ let DefaultCanvasPolygonRender = class extends BaseRender {
17533
17443
  this._draw(polygon, polygonAttribute, !1, drawContext, params);
17534
17444
  }
17535
17445
  };
17536
- DefaultCanvasPolygonRender = __decorate$1r([injectable(), __param$J(0, inject(ContributionProvider)), __param$J(0, named(PolygonRenderContribution)), __metadata$15("design:paramtypes", [Object])], DefaultCanvasPolygonRender);
17446
+ DefaultCanvasPolygonRender = __decorate$1t([injectable(), __param$K(0, inject(ContributionProvider)), __param$K(0, named(PolygonRenderContribution)), __metadata$16("design:paramtypes", [Object])], DefaultCanvasPolygonRender);
17537
17447
 
17538
- var __decorate$1q = undefined && undefined.__decorate || function (decorators, target, key, desc) {
17448
+ var __decorate$1s = undefined && undefined.__decorate || function (decorators, target, key, desc) {
17539
17449
  var d,
17540
17450
  c = arguments.length,
17541
17451
  r = c < 3 ? target : null === desc ? desc = Object.getOwnPropertyDescriptor(target, key) : desc;
17542
17452
  if ("object" == typeof Reflect && "function" == typeof Reflect.decorate) r = Reflect.decorate(decorators, target, key, desc);else for (var i = decorators.length - 1; i >= 0; i--) (d = decorators[i]) && (r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r);
17543
17453
  return c > 3 && r && Object.defineProperty(target, key, r), r;
17544
17454
  },
17545
- __metadata$14 = undefined && undefined.__metadata || function (k, v) {
17455
+ __metadata$15 = undefined && undefined.__metadata || function (k, v) {
17546
17456
  if ("object" == typeof Reflect && "function" == typeof Reflect.metadata) return Reflect.metadata(k, v);
17547
17457
  },
17548
- __param$I = undefined && undefined.__param || function (paramIndex, decorator) {
17458
+ __param$J = undefined && undefined.__param || function (paramIndex, decorator) {
17549
17459
  return function (target, key) {
17550
17460
  decorator(target, key, paramIndex);
17551
17461
  };
@@ -17640,19 +17550,19 @@ let DefaultCanvasGroupRender = class {
17640
17550
  }) : clip ? context.restore() : context.highPerformanceRestore();
17641
17551
  }
17642
17552
  };
17643
- DefaultCanvasGroupRender = __decorate$1q([injectable(), __param$I(0, inject(ContributionProvider)), __param$I(0, named(GroupRenderContribution)), __metadata$14("design:paramtypes", [Object])], DefaultCanvasGroupRender);
17553
+ DefaultCanvasGroupRender = __decorate$1s([injectable(), __param$J(0, inject(ContributionProvider)), __param$J(0, named(GroupRenderContribution)), __metadata$15("design:paramtypes", [Object])], DefaultCanvasGroupRender);
17644
17554
 
17645
- var __decorate$1p = undefined && undefined.__decorate || function (decorators, target, key, desc) {
17555
+ var __decorate$1r = undefined && undefined.__decorate || function (decorators, target, key, desc) {
17646
17556
  var d,
17647
17557
  c = arguments.length,
17648
17558
  r = c < 3 ? target : null === desc ? desc = Object.getOwnPropertyDescriptor(target, key) : desc;
17649
17559
  if ("object" == typeof Reflect && "function" == typeof Reflect.decorate) r = Reflect.decorate(decorators, target, key, desc);else for (var i = decorators.length - 1; i >= 0; i--) (d = decorators[i]) && (r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r);
17650
17560
  return c > 3 && r && Object.defineProperty(target, key, r), r;
17651
17561
  },
17652
- __metadata$13 = undefined && undefined.__metadata || function (k, v) {
17562
+ __metadata$14 = undefined && undefined.__metadata || function (k, v) {
17653
17563
  if ("object" == typeof Reflect && "function" == typeof Reflect.metadata) return Reflect.metadata(k, v);
17654
17564
  },
17655
- __param$H = undefined && undefined.__param || function (paramIndex, decorator) {
17565
+ __param$I = undefined && undefined.__param || function (paramIndex, decorator) {
17656
17566
  return function (target, key) {
17657
17567
  decorator(target, key, paramIndex);
17658
17568
  };
@@ -17720,7 +17630,7 @@ let DefaultCanvasImageRender = class extends BaseRender {
17720
17630
  this._draw(image, imageAttribute, !1, drawContext);
17721
17631
  }
17722
17632
  };
17723
- DefaultCanvasImageRender = __decorate$1p([injectable(), __param$H(0, inject(ContributionProvider)), __param$H(0, named(ImageRenderContribution)), __metadata$13("design:paramtypes", [Object])], DefaultCanvasImageRender);
17633
+ DefaultCanvasImageRender = __decorate$1r([injectable(), __param$I(0, inject(ContributionProvider)), __param$I(0, named(ImageRenderContribution)), __metadata$14("design:paramtypes", [Object])], DefaultCanvasImageRender);
17724
17634
 
17725
17635
  const IncrementalDrawContribution = Symbol.for("IncrementalDrawContribution");
17726
17636
  const ArcRender = Symbol.for("ArcRender");
@@ -17788,14 +17698,14 @@ const draw3dItem = (context, graphic, callback, output) => {
17788
17698
  return result;
17789
17699
  };
17790
17700
 
17791
- var __decorate$1o = undefined && undefined.__decorate || function (decorators, target, key, desc) {
17701
+ var __decorate$1q = undefined && undefined.__decorate || function (decorators, target, key, desc) {
17792
17702
  var d,
17793
17703
  c = arguments.length,
17794
17704
  r = c < 3 ? target : null === desc ? desc = Object.getOwnPropertyDescriptor(target, key) : desc;
17795
17705
  if ("object" == typeof Reflect && "function" == typeof Reflect.decorate) r = Reflect.decorate(decorators, target, key, desc);else for (var i = decorators.length - 1; i >= 0; i--) (d = decorators[i]) && (r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r);
17796
17706
  return c > 3 && r && Object.defineProperty(target, key, r), r;
17797
17707
  },
17798
- __metadata$12 = undefined && undefined.__metadata || function (k, v) {
17708
+ __metadata$13 = undefined && undefined.__metadata || function (k, v) {
17799
17709
  if ("object" == typeof Reflect && "function" == typeof Reflect.metadata) return Reflect.metadata(k, v);
17800
17710
  };
17801
17711
  const DrawItemInterceptor = Symbol.for("DrawItemInterceptor");
@@ -17855,7 +17765,7 @@ let CommonDrawItemInterceptorContribution = class {
17855
17765
  return !1;
17856
17766
  }
17857
17767
  };
17858
- CommonDrawItemInterceptorContribution = __decorate$1o([injectable(), __metadata$12("design:paramtypes", [])], CommonDrawItemInterceptorContribution);
17768
+ CommonDrawItemInterceptorContribution = __decorate$1q([injectable(), __metadata$13("design:paramtypes", [])], CommonDrawItemInterceptorContribution);
17859
17769
  class InteractiveDrawItemInterceptorContribution {
17860
17770
  constructor() {
17861
17771
  this.order = 1;
@@ -17946,17 +17856,17 @@ class Canvas3DDrawItemInterceptor {
17946
17856
  }
17947
17857
  }
17948
17858
 
17949
- var __decorate$1n = undefined && undefined.__decorate || function (decorators, target, key, desc) {
17859
+ var __decorate$1p = undefined && undefined.__decorate || function (decorators, target, key, desc) {
17950
17860
  var d,
17951
17861
  c = arguments.length,
17952
17862
  r = c < 3 ? target : null === desc ? desc = Object.getOwnPropertyDescriptor(target, key) : desc;
17953
17863
  if ("object" == typeof Reflect && "function" == typeof Reflect.decorate) r = Reflect.decorate(decorators, target, key, desc);else for (var i = decorators.length - 1; i >= 0; i--) (d = decorators[i]) && (r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r);
17954
17864
  return c > 3 && r && Object.defineProperty(target, key, r), r;
17955
17865
  },
17956
- __metadata$11 = undefined && undefined.__metadata || function (k, v) {
17866
+ __metadata$12 = undefined && undefined.__metadata || function (k, v) {
17957
17867
  if ("object" == typeof Reflect && "function" == typeof Reflect.metadata) return Reflect.metadata(k, v);
17958
17868
  },
17959
- __param$G = undefined && undefined.__param || function (paramIndex, decorator) {
17869
+ __param$H = undefined && undefined.__param || function (paramIndex, decorator) {
17960
17870
  return function (target, key) {
17961
17871
  decorator(target, key, paramIndex);
17962
17872
  };
@@ -17994,7 +17904,7 @@ let DefaultRenderService = class {
17994
17904
  this.prepare(updateBounds), this.prepareRenderList(), this.beforeDraw(params), this.draw(params), this.afterDraw(params), this.drawParams = null;
17995
17905
  }
17996
17906
  };
17997
- DefaultRenderService = __decorate$1n([injectable(), __param$G(0, inject(DrawContribution)), __metadata$11("design:paramtypes", [Object])], DefaultRenderService);
17907
+ DefaultRenderService = __decorate$1p([injectable(), __param$H(0, inject(DrawContribution)), __metadata$12("design:paramtypes", [Object])], DefaultRenderService);
17998
17908
 
17999
17909
  var renderModule$1 = new ContainerModule(bind => {
18000
17910
  bind(RenderService).to(DefaultRenderService);
@@ -18007,7 +17917,7 @@ const GlobalPickerService = Symbol.for("GlobalPickerService");
18007
17917
  const PickItemInterceptor = Symbol.for("PickItemInterceptor");
18008
17918
  const PickServiceInterceptor = Symbol.for("PickServiceInterceptor");
18009
17919
 
18010
- var __decorate$1m = undefined && undefined.__decorate || function (decorators, target, key, desc) {
17920
+ var __decorate$1o = undefined && undefined.__decorate || function (decorators, target, key, desc) {
18011
17921
  var d,
18012
17922
  c = arguments.length,
18013
17923
  r = c < 3 ? target : null === desc ? desc = Object.getOwnPropertyDescriptor(target, key) : desc;
@@ -18029,7 +17939,7 @@ let ShadowPickServiceInterceptorContribution = class {
18029
17939
  return result;
18030
17940
  }
18031
17941
  };
18032
- ShadowPickServiceInterceptorContribution = __decorate$1m([injectable()], ShadowPickServiceInterceptorContribution);
17942
+ ShadowPickServiceInterceptorContribution = __decorate$1o([injectable()], ShadowPickServiceInterceptorContribution);
18033
17943
  let ShadowRootPickItemInterceptorContribution = class {
18034
17944
  constructor() {
18035
17945
  this.order = 1;
@@ -18060,7 +17970,7 @@ let ShadowRootPickItemInterceptorContribution = class {
18060
17970
  return context.highPerformanceRestore(), !result.graphic && result.group && "full" === shadowPickMode && (result.graphic = result.group), result;
18061
17971
  }
18062
17972
  };
18063
- ShadowRootPickItemInterceptorContribution = __decorate$1m([injectable()], ShadowRootPickItemInterceptorContribution);
17973
+ ShadowRootPickItemInterceptorContribution = __decorate$1o([injectable()], ShadowRootPickItemInterceptorContribution);
18064
17974
  let InteractivePickItemInterceptorContribution = class {
18065
17975
  constructor() {
18066
17976
  this.order = 1;
@@ -18079,7 +17989,7 @@ let InteractivePickItemInterceptorContribution = class {
18079
17989
  return null;
18080
17990
  }
18081
17991
  };
18082
- InteractivePickItemInterceptorContribution = __decorate$1m([injectable()], InteractivePickItemInterceptorContribution);
17992
+ InteractivePickItemInterceptorContribution = __decorate$1o([injectable()], InteractivePickItemInterceptorContribution);
18083
17993
  let Canvas3DPickItemInterceptor = class {
18084
17994
  constructor() {
18085
17995
  this.order = 1;
@@ -18099,7 +18009,7 @@ let Canvas3DPickItemInterceptor = class {
18099
18009
  context.setTransformForCurrent();
18100
18010
  }
18101
18011
  };
18102
- Canvas3DPickItemInterceptor = __decorate$1m([injectable()], Canvas3DPickItemInterceptor);
18012
+ Canvas3DPickItemInterceptor = __decorate$1o([injectable()], Canvas3DPickItemInterceptor);
18103
18013
 
18104
18014
  var pickModule = new ContainerModule((bind, unbind, isBound) => {
18105
18015
  isBound(PickerService) || (bind(GlobalPickerService).toSelf(), bind(PickerService).toService(GlobalPickerService)), bind(Canvas3DPickItemInterceptor).toSelf().inSingletonScope(), bind(PickItemInterceptor).toService(Canvas3DPickItemInterceptor), bind(ShadowRootPickItemInterceptorContribution).toSelf().inSingletonScope(), bind(PickItemInterceptor).toService(ShadowRootPickItemInterceptorContribution), bind(InteractivePickItemInterceptorContribution).toSelf().inSingletonScope(), bind(PickItemInterceptor).toService(InteractivePickItemInterceptorContribution), bindContributionProvider(bind, PickItemInterceptor), bind(ShadowPickServiceInterceptorContribution).toSelf().inSingletonScope(), bind(PickServiceInterceptor).toService(ShadowPickServiceInterceptorContribution), bindContributionProvider(bind, PickServiceInterceptor);
@@ -18112,17 +18022,17 @@ var graphicModule = new ContainerModule(bind => {
18112
18022
  const AutoEnablePlugins = Symbol.for("AutoEnablePlugins");
18113
18023
  const PluginService = Symbol.for("PluginService");
18114
18024
 
18115
- var __decorate$1l = undefined && undefined.__decorate || function (decorators, target, key, desc) {
18025
+ var __decorate$1n = undefined && undefined.__decorate || function (decorators, target, key, desc) {
18116
18026
  var d,
18117
18027
  c = arguments.length,
18118
18028
  r = c < 3 ? target : null === desc ? desc = Object.getOwnPropertyDescriptor(target, key) : desc;
18119
18029
  if ("object" == typeof Reflect && "function" == typeof Reflect.decorate) r = Reflect.decorate(decorators, target, key, desc);else for (var i = decorators.length - 1; i >= 0; i--) (d = decorators[i]) && (r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r);
18120
18030
  return c > 3 && r && Object.defineProperty(target, key, r), r;
18121
18031
  },
18122
- __metadata$10 = undefined && undefined.__metadata || function (k, v) {
18032
+ __metadata$11 = undefined && undefined.__metadata || function (k, v) {
18123
18033
  if ("object" == typeof Reflect && "function" == typeof Reflect.metadata) return Reflect.metadata(k, v);
18124
18034
  },
18125
- __param$F = undefined && undefined.__param || function (paramIndex, decorator) {
18035
+ __param$G = undefined && undefined.__param || function (paramIndex, decorator) {
18126
18036
  return function (target, key) {
18127
18037
  decorator(target, key, paramIndex);
18128
18038
  };
@@ -18162,7 +18072,7 @@ let DefaultPluginService = class {
18162
18072
  }), this.onRegisterPlugin = [];
18163
18073
  }
18164
18074
  };
18165
- DefaultPluginService = __decorate$1l([injectable(), __param$F(0, inject(ContributionProvider)), __param$F(0, named(AutoEnablePlugins)), __metadata$10("design:paramtypes", [Object])], DefaultPluginService);
18075
+ DefaultPluginService = __decorate$1n([injectable(), __param$G(0, inject(ContributionProvider)), __param$G(0, named(AutoEnablePlugins)), __metadata$11("design:paramtypes", [Object])], DefaultPluginService);
18166
18076
 
18167
18077
  var pluginModule = new ContainerModule(bind => {
18168
18078
  bind(PluginService).to(DefaultPluginService), bindContributionProviderNoSingletonScope(bind, AutoEnablePlugins);
@@ -18176,14 +18086,14 @@ var textMeasureModules = new ContainerModule(bind => {
18176
18086
  bind(TextMeasureContribution).to(DefaultTextMeasureContribution).inSingletonScope(), bindContributionProvider(bind, TextMeasureContribution);
18177
18087
  });
18178
18088
 
18179
- var __decorate$1k = undefined && undefined.__decorate || function (decorators, target, key, desc) {
18089
+ var __decorate$1m = undefined && undefined.__decorate || function (decorators, target, key, desc) {
18180
18090
  var d,
18181
18091
  c = arguments.length,
18182
18092
  r = c < 3 ? target : null === desc ? desc = Object.getOwnPropertyDescriptor(target, key) : desc;
18183
18093
  if ("object" == typeof Reflect && "function" == typeof Reflect.decorate) r = Reflect.decorate(decorators, target, key, desc);else for (var i = decorators.length - 1; i >= 0; i--) (d = decorators[i]) && (r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r);
18184
18094
  return c > 3 && r && Object.defineProperty(target, key, r), r;
18185
18095
  },
18186
- __metadata$$ = undefined && undefined.__metadata || function (k, v) {
18096
+ __metadata$10 = undefined && undefined.__metadata || function (k, v) {
18187
18097
  if ("object" == typeof Reflect && "function" == typeof Reflect.metadata) return Reflect.metadata(k, v);
18188
18098
  };
18189
18099
  let CanvasLayerHandlerContribution = class {
@@ -18253,7 +18163,7 @@ let CanvasLayerHandlerContribution = class {
18253
18163
  this.canvas.release();
18254
18164
  }
18255
18165
  };
18256
- CanvasLayerHandlerContribution = __decorate$1k([injectable(), __metadata$$("design:paramtypes", [])], CanvasLayerHandlerContribution);
18166
+ CanvasLayerHandlerContribution = __decorate$1m([injectable(), __metadata$10("design:paramtypes", [])], CanvasLayerHandlerContribution);
18257
18167
 
18258
18168
  var layerHandlerModules = new ContainerModule(bind => {
18259
18169
  bind(CanvasLayerHandlerContribution).toSelf(), bind(StaticLayerHandlerContribution).toService(CanvasLayerHandlerContribution);
@@ -18372,17 +18282,17 @@ function findNextGraphic(graphic, id, defaultZIndex) {
18372
18282
  return result;
18373
18283
  }
18374
18284
 
18375
- var __decorate$1j = undefined && undefined.__decorate || function (decorators, target, key, desc) {
18285
+ var __decorate$1l = undefined && undefined.__decorate || function (decorators, target, key, desc) {
18376
18286
  var d,
18377
18287
  c = arguments.length,
18378
18288
  r = c < 3 ? target : null === desc ? desc = Object.getOwnPropertyDescriptor(target, key) : desc;
18379
18289
  if ("object" == typeof Reflect && "function" == typeof Reflect.decorate) r = Reflect.decorate(decorators, target, key, desc);else for (var i = decorators.length - 1; i >= 0; i--) (d = decorators[i]) && (r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r);
18380
18290
  return c > 3 && r && Object.defineProperty(target, key, r), r;
18381
18291
  },
18382
- __metadata$_ = undefined && undefined.__metadata || function (k, v) {
18292
+ __metadata$$ = undefined && undefined.__metadata || function (k, v) {
18383
18293
  if ("object" == typeof Reflect && "function" == typeof Reflect.metadata) return Reflect.metadata(k, v);
18384
18294
  },
18385
- __param$E = undefined && undefined.__param || function (paramIndex, decorator) {
18295
+ __param$F = undefined && undefined.__param || function (paramIndex, decorator) {
18386
18296
  return function (target, key) {
18387
18297
  decorator(target, key, paramIndex);
18388
18298
  };
@@ -18581,9 +18491,9 @@ let DefaultDrawContribution = class {
18581
18491
  }
18582
18492
  afterDraw(renderService, drawParams) {}
18583
18493
  };
18584
- DefaultDrawContribution = __decorate$1j([injectable(), __param$E(0, multiInject(GraphicRender)), __param$E(1, inject(ContributionProvider)), __param$E(1, named(DrawItemInterceptor)), __metadata$_("design:paramtypes", [Array, Object])], DefaultDrawContribution);
18494
+ DefaultDrawContribution = __decorate$1l([injectable(), __param$F(0, multiInject(GraphicRender)), __param$F(1, inject(ContributionProvider)), __param$F(1, named(DrawItemInterceptor)), __metadata$$("design:paramtypes", [Array, Object])], DefaultDrawContribution);
18585
18495
 
18586
- var __decorate$1i = undefined && undefined.__decorate || function (decorators, target, key, desc) {
18496
+ var __decorate$1k = undefined && undefined.__decorate || function (decorators, target, key, desc) {
18587
18497
  var d,
18588
18498
  c = arguments.length,
18589
18499
  r = c < 3 ? target : null === desc ? desc = Object.getOwnPropertyDescriptor(target, key) : desc;
@@ -18634,9 +18544,9 @@ let DefaultIncrementalCanvasLineRender = class extends DefaultCanvasLineRender {
18634
18544
  }), context.setShadowBlendStyle && context.setShadowBlendStyle(line, attribute, defaultAttribute), context.setStrokeStyle(line, attribute, offsetX, offsetY, defaultAttribute), context.stroke());
18635
18545
  }
18636
18546
  };
18637
- DefaultIncrementalCanvasLineRender = __decorate$1i([injectable()], DefaultIncrementalCanvasLineRender);
18547
+ DefaultIncrementalCanvasLineRender = __decorate$1k([injectable()], DefaultIncrementalCanvasLineRender);
18638
18548
 
18639
- var __decorate$1h = undefined && undefined.__decorate || function (decorators, target, key, desc) {
18549
+ var __decorate$1j = undefined && undefined.__decorate || function (decorators, target, key, desc) {
18640
18550
  var d,
18641
18551
  c = arguments.length,
18642
18552
  r = c < 3 ? target : null === desc ? desc = Object.getOwnPropertyDescriptor(target, key) : desc;
@@ -18679,20 +18589,20 @@ let DefaultIncrementalCanvasAreaRender = class extends DefaultCanvasAreaRender {
18679
18589
  }), context.setShadowBlendStyle && context.setShadowBlendStyle(area, attribute, defaultAttribute), context.setCommonStyle(area, attribute, offsetX, offsetY, defaultAttribute), context.fill());
18680
18590
  }
18681
18591
  };
18682
- DefaultIncrementalCanvasAreaRender = __decorate$1h([injectable()], DefaultIncrementalCanvasAreaRender);
18592
+ DefaultIncrementalCanvasAreaRender = __decorate$1j([injectable()], DefaultIncrementalCanvasAreaRender);
18683
18593
 
18684
18594
  var STATUS,
18685
- __decorate$1g = undefined && undefined.__decorate || function (decorators, target, key, desc) {
18595
+ __decorate$1i = undefined && undefined.__decorate || function (decorators, target, key, desc) {
18686
18596
  var d,
18687
18597
  c = arguments.length,
18688
18598
  r = c < 3 ? target : null === desc ? desc = Object.getOwnPropertyDescriptor(target, key) : desc;
18689
18599
  if ("object" == typeof Reflect && "function" == typeof Reflect.decorate) r = Reflect.decorate(decorators, target, key, desc);else for (var i = decorators.length - 1; i >= 0; i--) (d = decorators[i]) && (r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r);
18690
18600
  return c > 3 && r && Object.defineProperty(target, key, r), r;
18691
18601
  },
18692
- __metadata$Z = undefined && undefined.__metadata || function (k, v) {
18602
+ __metadata$_ = undefined && undefined.__metadata || function (k, v) {
18693
18603
  if ("object" == typeof Reflect && "function" == typeof Reflect.metadata) return Reflect.metadata(k, v);
18694
18604
  },
18695
- __param$D = undefined && undefined.__param || function (paramIndex, decorator) {
18605
+ __param$E = undefined && undefined.__param || function (paramIndex, decorator) {
18696
18606
  return function (target, key) {
18697
18607
  decorator(target, key, paramIndex);
18698
18608
  };
@@ -18822,7 +18732,7 @@ let DefaultIncrementalDrawContribution = class extends DefaultDrawContribution {
18822
18732
  });
18823
18733
  }
18824
18734
  };
18825
- DefaultIncrementalDrawContribution = __decorate$1g([injectable(), __param$D(0, multiInject(GraphicRender)), __param$D(1, inject(DefaultIncrementalCanvasLineRender)), __param$D(2, inject(DefaultIncrementalCanvasAreaRender)), __param$D(3, inject(ContributionProvider)), __param$D(3, named(DrawItemInterceptor)), __metadata$Z("design:paramtypes", [Array, Object, Object, Object])], DefaultIncrementalDrawContribution);
18735
+ DefaultIncrementalDrawContribution = __decorate$1i([injectable(), __param$E(0, multiInject(GraphicRender)), __param$E(1, inject(DefaultIncrementalCanvasLineRender)), __param$E(2, inject(DefaultIncrementalCanvasAreaRender)), __param$E(3, inject(ContributionProvider)), __param$E(3, named(DrawItemInterceptor)), __metadata$_("design:paramtypes", [Array, Object, Object, Object])], DefaultIncrementalDrawContribution);
18826
18736
 
18827
18737
  var renderModule = new ContainerModule(bind => {
18828
18738
  bind(DefaultBaseBackgroundRenderContribution).toSelf().inSingletonScope(), bind(DefaultBaseTextureRenderContribution).toSelf().inSingletonScope(), bind(DrawContribution).to(DefaultDrawContribution), bind(IncrementalDrawContribution).to(DefaultIncrementalDrawContribution), bind(GroupRender).to(DefaultCanvasGroupRender).inSingletonScope(), bind(GraphicRender).toService(GroupRender), bindContributionProvider(bind, GroupRenderContribution), bind(DefaultBaseInteractiveRenderContribution).toSelf().inSingletonScope(), bindContributionProvider(bind, InteractiveSubRenderContribution), bindContributionProvider(bind, GraphicRender), bind(CommonDrawItemInterceptorContribution).toSelf().inSingletonScope(), bind(DrawItemInterceptor).toService(CommonDrawItemInterceptorContribution), bindContributionProvider(bind, DrawItemInterceptor);
@@ -19518,14 +19428,14 @@ function createStage(params) {
19518
19428
  return new Stage(params);
19519
19429
  }
19520
19430
 
19521
- var __decorate$1f = undefined && undefined.__decorate || function (decorators, target, key, desc) {
19431
+ var __decorate$1h = undefined && undefined.__decorate || function (decorators, target, key, desc) {
19522
19432
  var d,
19523
19433
  c = arguments.length,
19524
19434
  r = c < 3 ? target : null === desc ? desc = Object.getOwnPropertyDescriptor(target, key) : desc;
19525
19435
  if ("object" == typeof Reflect && "function" == typeof Reflect.decorate) r = Reflect.decorate(decorators, target, key, desc);else for (var i = decorators.length - 1; i >= 0; i--) (d = decorators[i]) && (r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r);
19526
19436
  return c > 3 && r && Object.defineProperty(target, key, r), r;
19527
19437
  },
19528
- __metadata$Y = undefined && undefined.__metadata || function (k, v) {
19438
+ __metadata$Z = undefined && undefined.__metadata || function (k, v) {
19529
19439
  if ("object" == typeof Reflect && "function" == typeof Reflect.metadata) return Reflect.metadata(k, v);
19530
19440
  };
19531
19441
  const initMatrix = new Matrix(1, 0, 0, 1, 0, 0),
@@ -19735,7 +19645,7 @@ let EmptyContext2d = class {
19735
19645
  this.stack.forEach(m => matrixAllocate.free(m)), this.stack.length = 0;
19736
19646
  }
19737
19647
  };
19738
- EmptyContext2d = __decorate$1f([injectable(), __metadata$Y("design:paramtypes", [Object, Number])], EmptyContext2d);
19648
+ EmptyContext2d = __decorate$1h([injectable(), __metadata$Z("design:paramtypes", [Object, Number])], EmptyContext2d);
19739
19649
 
19740
19650
  const DefaultConfig = {
19741
19651
  WIDTH: 500,
@@ -19834,7 +19744,7 @@ class BaseCanvas {
19834
19744
  }
19835
19745
  BaseCanvas.env = "browser";
19836
19746
 
19837
- var __decorate$1e = undefined && undefined.__decorate || function (decorators, target, key, desc) {
19747
+ var __decorate$1g = undefined && undefined.__decorate || function (decorators, target, key, desc) {
19838
19748
  var d,
19839
19749
  c = arguments.length,
19840
19750
  r = c < 3 ? target : null === desc ? desc = Object.getOwnPropertyDescriptor(target, key) : desc;
@@ -19948,16 +19858,16 @@ let BaseEnvContribution = class {
19948
19858
  return Promise.resolve(null);
19949
19859
  }
19950
19860
  };
19951
- BaseEnvContribution = __decorate$1e([injectable()], BaseEnvContribution);
19861
+ BaseEnvContribution = __decorate$1g([injectable()], BaseEnvContribution);
19952
19862
 
19953
- var __decorate$1d = undefined && undefined.__decorate || function (decorators, target, key, desc) {
19863
+ var __decorate$1f = undefined && undefined.__decorate || function (decorators, target, key, desc) {
19954
19864
  var d,
19955
19865
  c = arguments.length,
19956
19866
  r = c < 3 ? target : null === desc ? desc = Object.getOwnPropertyDescriptor(target, key) : desc;
19957
19867
  if ("object" == typeof Reflect && "function" == typeof Reflect.decorate) r = Reflect.decorate(decorators, target, key, desc);else for (var i = decorators.length - 1; i >= 0; i--) (d = decorators[i]) && (r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r);
19958
19868
  return c > 3 && r && Object.defineProperty(target, key, r), r;
19959
19869
  },
19960
- __metadata$X = undefined && undefined.__metadata || function (k, v) {
19870
+ __metadata$Y = undefined && undefined.__metadata || function (k, v) {
19961
19871
  if ("object" == typeof Reflect && "function" == typeof Reflect.metadata) return Reflect.metadata(k, v);
19962
19872
  };
19963
19873
  let BaseWindowHandlerContribution = class {
@@ -19996,7 +19906,7 @@ let BaseWindowHandlerContribution = class {
19996
19906
  return this.modelMatrix;
19997
19907
  }
19998
19908
  };
19999
- BaseWindowHandlerContribution = __decorate$1d([injectable(), __metadata$X("design:paramtypes", [])], BaseWindowHandlerContribution);
19909
+ BaseWindowHandlerContribution = __decorate$1f([injectable(), __metadata$Y("design:paramtypes", [])], BaseWindowHandlerContribution);
20000
19910
 
20001
19911
  class DirectionalLight {
20002
19912
  constructor(dir, color) {
@@ -20087,17 +19997,17 @@ const registerOrthoCamera = () => {
20087
19997
  Factory.registerPlugin("OrthoCamera", OrthoCamera);
20088
19998
  };
20089
19999
 
20090
- var __decorate$1c = undefined && undefined.__decorate || function (decorators, target, key, desc) {
20000
+ var __decorate$1e = undefined && undefined.__decorate || function (decorators, target, key, desc) {
20091
20001
  var d,
20092
20002
  c = arguments.length,
20093
20003
  r = c < 3 ? target : null === desc ? desc = Object.getOwnPropertyDescriptor(target, key) : desc;
20094
20004
  if ("object" == typeof Reflect && "function" == typeof Reflect.decorate) r = Reflect.decorate(decorators, target, key, desc);else for (var i = decorators.length - 1; i >= 0; i--) (d = decorators[i]) && (r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r);
20095
20005
  return c > 3 && r && Object.defineProperty(target, key, r), r;
20096
20006
  },
20097
- __metadata$W = undefined && undefined.__metadata || function (k, v) {
20007
+ __metadata$X = undefined && undefined.__metadata || function (k, v) {
20098
20008
  if ("object" == typeof Reflect && "function" == typeof Reflect.metadata) return Reflect.metadata(k, v);
20099
20009
  },
20100
- __param$C = undefined && undefined.__param || function (paramIndex, decorator) {
20010
+ __param$D = undefined && undefined.__param || function (paramIndex, decorator) {
20101
20011
  return function (target, key) {
20102
20012
  decorator(target, key, paramIndex);
20103
20013
  };
@@ -20202,16 +20112,16 @@ let DefaultPickService = class {
20202
20112
  return picker || null;
20203
20113
  }
20204
20114
  };
20205
- DefaultPickService = __decorate$1c([injectable(), __param$C(0, inject(ContributionProvider)), __param$C(0, named(PickItemInterceptor)), __param$C(1, inject(ContributionProvider)), __param$C(1, named(PickServiceInterceptor)), __metadata$W("design:paramtypes", [Object, Object])], DefaultPickService);
20115
+ DefaultPickService = __decorate$1e([injectable(), __param$D(0, inject(ContributionProvider)), __param$D(0, named(PickItemInterceptor)), __param$D(1, inject(ContributionProvider)), __param$D(1, named(PickServiceInterceptor)), __metadata$X("design:paramtypes", [Object, Object])], DefaultPickService);
20206
20116
 
20207
- var __decorate$1b = undefined && undefined.__decorate || function (decorators, target, key, desc) {
20117
+ var __decorate$1d = undefined && undefined.__decorate || function (decorators, target, key, desc) {
20208
20118
  var d,
20209
20119
  c = arguments.length,
20210
20120
  r = c < 3 ? target : null === desc ? desc = Object.getOwnPropertyDescriptor(target, key) : desc;
20211
20121
  if ("object" == typeof Reflect && "function" == typeof Reflect.decorate) r = Reflect.decorate(decorators, target, key, desc);else for (var i = decorators.length - 1; i >= 0; i--) (d = decorators[i]) && (r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r);
20212
20122
  return c > 3 && r && Object.defineProperty(target, key, r), r;
20213
20123
  },
20214
- __metadata$V = undefined && undefined.__metadata || function (k, v) {
20124
+ __metadata$W = undefined && undefined.__metadata || function (k, v) {
20215
20125
  if ("object" == typeof Reflect && "function" == typeof Reflect.metadata) return Reflect.metadata(k, v);
20216
20126
  };
20217
20127
  let DefaultGlobalPickerService = class {
@@ -20276,7 +20186,7 @@ let DefaultGlobalPickerService = class {
20276
20186
  } : null;
20277
20187
  }
20278
20188
  };
20279
- DefaultGlobalPickerService = __decorate$1b([injectable(), __metadata$V("design:paramtypes", [])], DefaultGlobalPickerService);
20189
+ DefaultGlobalPickerService = __decorate$1d([injectable(), __metadata$W("design:paramtypes", [])], DefaultGlobalPickerService);
20280
20190
 
20281
20191
  function simplifyRadialDist(points, sqTolerance) {
20282
20192
  let deltaX,
@@ -20357,13 +20267,17 @@ class EditModule {
20357
20267
  } = this.currRt.attribute;
20358
20268
  if (this.composingConfigIdx = this.cursorIndex < 0 ? 0 : findConfigIndexByCursorIdx(textConfig, this.cursorIndex), this.cursorIndex < 0) {
20359
20269
  const config = textConfig[0];
20360
- textConfig.unshift(Object.assign(Object.assign(Object.assign({}, getDefaultCharacterConfig(this.currRt.attribute)), config), {
20270
+ textConfig.unshift(Object.assign(Object.assign(Object.assign({
20271
+ fill: "black"
20272
+ }, getDefaultCharacterConfig(this.currRt.attribute)), config), {
20361
20273
  text: ""
20362
20274
  }));
20363
20275
  } else {
20364
20276
  const configIdx = this.composingConfigIdx,
20365
20277
  lastConfig = textConfig[configIdx] || textConfig[configIdx - 1];
20366
- textConfig.splice(configIdx, 0, Object.assign(Object.assign({}, lastConfig), {
20278
+ textConfig.splice(configIdx, 0, Object.assign(Object.assign({
20279
+ fill: "black"
20280
+ }, lastConfig), {
20367
20281
  text: ""
20368
20282
  }));
20369
20283
  }
@@ -20435,9 +20349,9 @@ class EditModule {
20435
20349
  textConfig.splice(configIdx, 1);
20436
20350
  const text = lastConfig.text,
20437
20351
  textList = text ? Array.from(text.toString()) : [];
20438
- for (let i = 0; i < textList.length; i++) textConfig.splice(i + configIdx, 0, Object.assign(Object.assign(Object.assign(Object.assign({}, getDefaultCharacterConfig(this.currRt.attribute)), {
20352
+ for (let i = 0; i < textList.length; i++) textConfig.splice(i + configIdx, 0, Object.assign(Object.assign({
20439
20353
  fill: "black"
20440
- }), lastConfig), {
20354
+ }, lastConfig), {
20441
20355
  isComposing: !1,
20442
20356
  text: textList[i]
20443
20357
  }));
@@ -20490,14 +20404,14 @@ class Selection {
20490
20404
  getFormat(key) {
20491
20405
  return this.getAllFormat(key)[0];
20492
20406
  }
20493
- getAllFormat(key, includeUndefined) {
20407
+ getAllFormat(key) {
20494
20408
  const valSet = new Set(),
20495
20409
  minCursorIdx = Math.min(this.selectionStartCursorIdx, this.curCursorIdx),
20496
20410
  maxCursorIdx = Math.max(this.selectionStartCursorIdx, this.curCursorIdx);
20497
20411
  if (minCursorIdx === maxCursorIdx) return [this._getFormat(key, minCursorIdx)];
20498
20412
  for (let i = Math.ceil(minCursorIdx); i <= Math.floor(maxCursorIdx); i++) {
20499
20413
  const val = this._getFormat(key, i);
20500
- (includeUndefined || void 0 !== val) && valSet.add(val);
20414
+ val && valSet.add(val);
20501
20415
  }
20502
20416
  return Array.from(valSet.values());
20503
20417
  }
@@ -20557,13 +20471,13 @@ class RichTextEditPlugin {
20557
20471
  }, this.handleFocusOut = () => {
20558
20472
  throw new Error("不会走到这里 handleFocusOut");
20559
20473
  }, this.handleMove = e => {
20560
- this.currRt && !this.currRt.attribute.editable && this.deFocus(!0), this.isEditableRichtext(e) ? (this.handleEnter(), e.target.once("pointerleave", this.handleLeave), this.tryShowSelection(e, !1)) : this.handleLeave();
20561
- }, this.handleEnter = () => {
20474
+ this.isRichtext(e) && (this.currRt = e.target, this.handleEnter(e), e.target.once("pointerleave", this.handleLeave), this.tryShowSelection(e, !1));
20475
+ }, this.handleEnter = e => {
20562
20476
  this.editing = !0, this.pluginService.stage.setCursor("text");
20563
- }, this.handleLeave = () => {
20477
+ }, this.handleLeave = e => {
20564
20478
  this.editing = !1, this.pluginService.stage.setCursor("default");
20565
20479
  }, this.handlePointerDown = e => {
20566
- this.editing && this.isEditableRichtext(e) ? this.onFocus(e) : this.deFocus(!0), this.triggerRender(), this.pointerDown = !0, this.updateCbs.forEach(cb => cb(this.editing ? "onfocus" : "defocus", this));
20480
+ this.editing ? this.onFocus(e) : this.deFocus(!0), this.triggerRender(), this.pointerDown = !0, this.updateCbs.forEach(cb => cb(this.editing ? "onfocus" : "defocus", this));
20567
20481
  }, this.handlePointerUp = e => {
20568
20482
  this.pointerDown = !1;
20569
20483
  }, this.handleDBLClick = e => {
@@ -20637,11 +20551,9 @@ class RichTextEditPlugin {
20637
20551
  const cache = currRt.getFrameCache();
20638
20552
  if (!cache) return;
20639
20553
  const {
20640
- lines: lines
20641
- } = cache;
20642
- if (0 === lines.length) return;
20643
- if (!lines[0].paragraphs || 0 === lines[0].paragraphs.length) return;
20644
- const totalCursorCount = lines.reduce((total, line) => total + line.paragraphs.length, 0) - 1;
20554
+ lines: lines
20555
+ } = cache,
20556
+ totalCursorCount = lines.reduce((total, line) => total + line.paragraphs.length, 0) - 1;
20645
20557
  return this.selectionRange(-.1, totalCursorCount + .1), e.preventDefault(), !0;
20646
20558
  }
20647
20559
  return !1;
@@ -20662,7 +20574,7 @@ class RichTextEditPlugin {
20662
20574
  } = cache,
20663
20575
  totalCursorCount = lines.reduce((total, line) => total + line.paragraphs.length, 0) - 1;
20664
20576
  if (x) {
20665
- x > 0 && columnInfo === lineInfo.paragraphs[lineInfo.paragraphs.length - 2] && this.curCursorIdx < Math.round(this.curCursorIdx) ? this.curCursorIdx = this.curCursorIdx + .2 : x > 0 && columnInfo === lineInfo.paragraphs[lineInfo.paragraphs.length - 1] && this.curCursorIdx > Math.round(this.curCursorIdx) ? this.curCursorIdx = this.curCursorIdx + 1 - .2 : x < 0 && columnInfo === lineInfo.paragraphs[0] && this.curCursorIdx > Math.round(this.curCursorIdx) ? this.curCursorIdx = this.curCursorIdx - .2 : x < 0 && columnInfo === lineInfo.paragraphs[0] && this.curCursorIdx < Math.round(this.curCursorIdx) ? this.curCursorIdx = this.curCursorIdx - 1 + .2 : this.curCursorIdx += x, this.curCursorIdx < -.1 ? this.curCursorIdx = -.1 : this.curCursorIdx > totalCursorCount + .1 && (this.curCursorIdx = totalCursorCount + .1), this.selectionStartCursorIdx = this.curCursorIdx;
20577
+ x > 0 && columnInfo === lineInfo.paragraphs[lineInfo.paragraphs.length - 2] && this.curCursorIdx < Math.round(this.curCursorIdx) ? this.curCursorIdx = this.curCursorIdx + .2 : x > 0 && columnInfo === lineInfo.paragraphs[lineInfo.paragraphs.length - 1] && this.curCursorIdx > Math.round(this.curCursorIdx) ? this.curCursorIdx = this.curCursorIdx + 1 - .2 : x < 0 && columnInfo === lineInfo.paragraphs[0] && this.curCursorIdx > Math.round(this.curCursorIdx) ? this.curCursorIdx = this.curCursorIdx - .2 : x < 0 && columnInfo === lineInfo.paragraphs[0] && this.curCursorIdx < Math.round(this.curCursorIdx) ? this.curCursorIdx = this.curCursorIdx - 1 + .2 : this.curCursorIdx += x, this.curCursorIdx < -.1 ? this.curCursorIdx = -.1 : this.curCursorIdx > totalCursorCount + .1 && (this.curCursorIdx = totalCursorCount + .1);
20666
20578
  const pos = this.computedCursorPosByCursorIdx(this.curCursorIdx, this.currRt);
20667
20579
  this.setCursorAndTextArea(pos.x, pos.y1, pos.y2, this.currRt), this.hideSelection();
20668
20580
  }
@@ -20716,9 +20628,6 @@ class RichTextEditPlugin {
20716
20628
  placeholderColor && (textConfigItem.fill = placeholderColor), placeholderFontFamily && (textConfigItem.fontFamily = placeholderFontFamily), placeholderFontSize && (textConfigItem.fontSize = placeholderFontSize), this.shadowPlaceHolder = createRichText(Object.assign(Object.assign({}, this.currRt.attribute), {
20717
20629
  x: 0,
20718
20630
  y: 0,
20719
- pickable: !1,
20720
- editable: !1,
20721
- editOptions: null,
20722
20631
  angle: 0,
20723
20632
  _debug_bounds: !1,
20724
20633
  textConfig: [textConfigItem]
@@ -20734,15 +20643,15 @@ class RichTextEditPlugin {
20734
20643
  } = editOptions;
20735
20644
  if (!editOptions || !boundsStrokeWhenInput) return;
20736
20645
  const {
20737
- attribute: attribute
20738
- } = this.currRt;
20739
- let b = this.currRt.AABBBounds,
20740
- h = b.height();
20646
+ attribute: attribute
20647
+ } = this.currRt,
20648
+ b = this.currRt.AABBBounds;
20649
+ let h = b.height();
20741
20650
  if (!attribute.textConfig.length && this.editLine) {
20742
20651
  const {
20743
20652
  points: points
20744
20653
  } = this.editLine.attribute;
20745
- h = points[1].y - points[0].y, b = getRichTextBounds(Object.assign({}, this.shadowPlaceHolder.attribute));
20654
+ h = points[1].y - points[0].y;
20746
20655
  }
20747
20656
  this.shadowBounds = this.shadowBounds || createRect({}), this.shadowBounds.setAttributes({
20748
20657
  x: 0,
@@ -20763,7 +20672,7 @@ class RichTextEditPlugin {
20763
20672
  editOptions: editOptions
20764
20673
  } = this.currRt.attribute;
20765
20674
  if (textConfig && textConfig.length) return;
20766
- if (!(editOptions && editOptions.placeholder && editOptions.syncPlaceHolderToTextConfig)) return;
20675
+ if (!editOptions || !editOptions.placeholder) return;
20767
20676
  const {
20768
20677
  placeholder: placeholder
20769
20678
  } = editOptions;
@@ -20854,23 +20763,24 @@ class RichTextEditPlugin {
20854
20763
  }
20855
20764
  deFocus() {
20856
20765
  let trulyDeFocus = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : !1;
20857
- const currRt = this.currRt;
20858
- if (!currRt) return;
20859
20766
  this.updateCbs && this.updateCbs.forEach(cb => cb("beforeDefocus", this, {
20860
20767
  trulyDeFocus: trulyDeFocus
20861
- })), trulyDeFocus && (this.trySyncPlaceholderToTextConfig(), currRt.detachShadow()), this.currRt = null, this.editLine && (this.editLine.parent && this.editLine.parent.removeChild(this.editLine), this.editLine.release(), this.editLine = null, this.editBg.parent && this.editBg.parent.removeChild(this.editBg), this.editBg.release(), this.editBg = null), trulyDeFocus && (this.shadowBounds && (this.shadowBounds.parent && this.shadowBounds.parent.removeChild(this.shadowBounds), this.shadowBounds.release(), this.shadowBounds = null), this.shadowPlaceHolder && (this.shadowPlaceHolder.parent && this.shadowPlaceHolder.parent.removeChild(this.shadowPlaceHolder), this.shadowPlaceHolder.release(), this.shadowPlaceHolder = null)), this.focusing = !1;
20768
+ }));
20769
+ const target = this.currRt;
20770
+ if (!target) return;
20771
+ trulyDeFocus && (this.trySyncPlaceholderToTextConfig(), target.detachShadow());
20772
+ const currRt = this.currRt;
20773
+ this.currRt = null, this.editLine && (this.editLine.parent && this.editLine.parent.removeChild(this.editLine), this.editLine.release(), this.editLine = null, this.editBg.parent && this.editBg.parent.removeChild(this.editBg), this.editBg.release(), this.editBg = null), trulyDeFocus && (this.shadowBounds && (this.shadowBounds.parent && this.shadowBounds.parent.removeChild(this.shadowBounds), this.shadowBounds.release(), this.shadowBounds = null), this.shadowPlaceHolder && (this.shadowPlaceHolder.parent && this.shadowPlaceHolder.parent.removeChild(this.shadowPlaceHolder), this.shadowPlaceHolder.release(), this.shadowPlaceHolder = null)), this.focusing = !1;
20862
20774
  const textConfig = currRt.attribute.textConfig;
20863
20775
  let lastConfig = textConfig[textConfig.length - 1],
20864
20776
  cleared = !1;
20865
20777
  for (; lastConfig && "\n" === lastConfig.text;) textConfig.pop(), lastConfig = textConfig[textConfig.length - 1], cleared = !0;
20866
20778
  cleared && currRt.setAttributes({
20867
20779
  textConfig: textConfig
20868
- }), currRt.removeEventListener("pointerleave", this.handleLeave);
20780
+ });
20869
20781
  }
20870
20782
  addAnimateToLine(line) {
20871
- line.setAttributes({
20872
- opacity: 1
20873
- }), line.animates && line.animates.forEach(animate => {
20783
+ line.animates && line.animates.forEach(animate => {
20874
20784
  animate.stop(), animate.release();
20875
20785
  });
20876
20786
  line.animate({
@@ -20915,63 +20825,61 @@ class RichTextEditPlugin {
20915
20825
  },
20916
20826
  line0Info = this.getLineByPoint(cache, startCursorPos),
20917
20827
  line1Info = this.getLineByPoint(cache, endCursorPos);
20918
- if (line0Info && line1Info) {
20919
- if ((startCursorPos.y > endCursorPos.y || startCursorPos.y === endCursorPos.y && startCursorPos.x > endCursorPos.x) && ([startCursorPos, endCursorPos] = [endCursorPos, startCursorPos], [line1Info, line0Info] = [line0Info, line1Info]), this.hideSelection(), line0Info === line1Info) this.editBg.setAttributes({
20920
- x: startCursorPos.x,
20828
+ if ((startCursorPos.y > endCursorPos.y || startCursorPos.y === endCursorPos.y && startCursorPos.x > endCursorPos.x) && ([startCursorPos, endCursorPos] = [endCursorPos, startCursorPos], [line1Info, line0Info] = [line0Info, line1Info]), this.hideSelection(), line0Info === line1Info) this.editBg.setAttributes({
20829
+ x: startCursorPos.x,
20830
+ y: line0Info.top,
20831
+ width: endCursorPos.x - startCursorPos.x,
20832
+ height: line0Info.height,
20833
+ fill: "#336df4",
20834
+ fillOpacity: .2
20835
+ });else {
20836
+ this.editBg.setAttributes({
20837
+ x: 0,
20921
20838
  y: line0Info.top,
20922
- width: endCursorPos.x - startCursorPos.x,
20923
- height: line0Info.height,
20924
- fill: "#336df4",
20925
- fillOpacity: .2
20926
- });else {
20927
- this.editBg.setAttributes({
20928
- x: 0,
20929
- y: line0Info.top,
20930
- width: 0,
20931
- height: 0
20932
- });
20933
- const startIdx = cache.lines.findIndex(item => item === line0Info),
20934
- endIdx = cache.lines.findIndex(item => item === line1Info);
20935
- let y = 0;
20936
- for (let i = startIdx; i <= endIdx; i++) {
20937
- const line = cache.lines[i];
20938
- if (i === startIdx) {
20939
- const p = line.paragraphs[line.paragraphs.length - 1];
20940
- this.editBg.add(createRect({
20941
- x: startCursorPos.x,
20942
- y: y,
20943
- width: p.left + p.width - startCursorPos.x,
20944
- height: line.height,
20945
- fill: "#336df4",
20946
- fillOpacity: .2
20947
- }));
20948
- } else if (i === endIdx) {
20949
- const p = line.paragraphs[0];
20950
- this.editBg.add(createRect({
20951
- x: p.left,
20952
- y: y,
20953
- width: endCursorPos.x - p.left,
20954
- height: line.height,
20955
- fill: "#336df4",
20956
- fillOpacity: .2
20957
- }));
20958
- } else {
20959
- const p0 = line.paragraphs[0],
20960
- p1 = line.paragraphs[line.paragraphs.length - 1];
20961
- this.editBg.add(createRect({
20962
- x: p0.left,
20963
- y: y,
20964
- width: p1.left + p1.width - p0.left,
20965
- height: line.height,
20966
- fill: "#336df4",
20967
- fillOpacity: .2
20968
- }));
20969
- }
20970
- y += line.height;
20839
+ width: 0,
20840
+ height: 0
20841
+ });
20842
+ const startIdx = cache.lines.findIndex(item => item === line0Info),
20843
+ endIdx = cache.lines.findIndex(item => item === line1Info);
20844
+ let y = 0;
20845
+ for (let i = startIdx; i <= endIdx; i++) {
20846
+ const line = cache.lines[i];
20847
+ if (i === startIdx) {
20848
+ const p = line.paragraphs[line.paragraphs.length - 1];
20849
+ this.editBg.add(createRect({
20850
+ x: startCursorPos.x,
20851
+ y: y,
20852
+ width: p.left + p.width - startCursorPos.x,
20853
+ height: line.height,
20854
+ fill: "#336df4",
20855
+ fillOpacity: .2
20856
+ }));
20857
+ } else if (i === endIdx) {
20858
+ const p = line.paragraphs[0];
20859
+ this.editBg.add(createRect({
20860
+ x: p.left,
20861
+ y: y,
20862
+ width: endCursorPos.x - p.left,
20863
+ height: line.height,
20864
+ fill: "#336df4",
20865
+ fillOpacity: .2
20866
+ }));
20867
+ } else {
20868
+ const p0 = line.paragraphs[0],
20869
+ p1 = line.paragraphs[line.paragraphs.length - 1];
20870
+ this.editBg.add(createRect({
20871
+ x: p0.left,
20872
+ y: y,
20873
+ width: p1.left + p1.width - p0.left,
20874
+ height: line.height,
20875
+ fill: "#336df4",
20876
+ fillOpacity: .2
20877
+ }));
20971
20878
  }
20879
+ y += line.height;
20972
20880
  }
20973
- this.setCursorAndTextArea(currCursorData.x, currCursorData.y1, currCursorData.y2, this.currRt), this.triggerRender(), this.updateCbs.forEach(cb => cb("selection", this));
20974
20881
  }
20882
+ this.setCursorAndTextArea(currCursorData.x, currCursorData.y1, currCursorData.y2, this.currRt), this.triggerRender(), this.updateCbs.forEach(cb => cb("selection", this));
20975
20883
  }
20976
20884
  hideSelection() {
20977
20885
  this.editBg && (this.editBg.removeAllChild(), this.editBg.setAttributes({
@@ -21015,10 +20923,7 @@ class RichTextEditPlugin {
21015
20923
  return -1;
21016
20924
  }
21017
20925
  isRichtext(e) {
21018
- return !(!e.target || "richtext" !== e.target.type);
21019
- }
21020
- isEditableRichtext(e) {
21021
- return this.isRichtext(e) && !!e.target.attribute.editable;
20926
+ return !(!e.target || "richtext" !== e.target.type || !e.target.attribute.editable);
21022
20927
  }
21023
20928
  triggerRender() {
21024
20929
  this.pluginService.stage.renderNextFrame();
@@ -21164,7 +21069,7 @@ class RichTextEditPlugin {
21164
21069
  target && (this.currRt = target, e ? this._forceFocusByEvent(e) : this._forceFocusByCursorIndex(null != cursorIndex ? cursorIndex : -.1));
21165
21070
  }
21166
21071
  _forceFocusByEvent(e) {
21167
- this.handleEnter(), this.handlePointerDown(e), this.handlePointerUp(e);
21072
+ this.handleEnter(e), this.handlePointerDown(e), this.handlePointerUp(e);
21168
21073
  }
21169
21074
  _forceFocusByCursorIndex(cursorIndex) {
21170
21075
  const richtext = this.currRt;
@@ -21368,7 +21273,7 @@ const polygonModule = new ContainerModule(bind => {
21368
21273
  loadPolygonModule || (loadPolygonModule = !0, bind(PolygonRender).to(DefaultCanvasPolygonRender).inSingletonScope(), bind(GraphicRender).toService(PolygonRender), bind(PolygonRenderContribution).toService(DefaultBaseInteractiveRenderContribution), bindContributionProvider(bind, PolygonRenderContribution));
21369
21274
  });
21370
21275
 
21371
- var __decorate$1a = undefined && undefined.__decorate || function (decorators, target, key, desc) {
21276
+ var __decorate$1c = undefined && undefined.__decorate || function (decorators, target, key, desc) {
21372
21277
  var d,
21373
21278
  c = arguments.length,
21374
21279
  r = c < 3 ? target : null === desc ? desc = Object.getOwnPropertyDescriptor(target, key) : desc;
@@ -21400,21 +21305,21 @@ let DefaultCanvasGlyphRender = class {
21400
21305
  }), context.highPerformanceRestore();
21401
21306
  }
21402
21307
  };
21403
- DefaultCanvasGlyphRender = __decorate$1a([injectable()], DefaultCanvasGlyphRender);
21308
+ DefaultCanvasGlyphRender = __decorate$1c([injectable()], DefaultCanvasGlyphRender);
21404
21309
 
21405
21310
  let loadGlyphModule = !1;
21406
21311
  const glyphModule = new ContainerModule(bind => {
21407
21312
  loadGlyphModule || (loadGlyphModule = !0, bind(GlyphRender).to(DefaultCanvasGlyphRender).inSingletonScope(), bind(GraphicRender).toService(GlyphRender));
21408
21313
  });
21409
21314
 
21410
- var __decorate$19 = undefined && undefined.__decorate || function (decorators, target, key, desc) {
21315
+ var __decorate$1b = undefined && undefined.__decorate || function (decorators, target, key, desc) {
21411
21316
  var d,
21412
21317
  c = arguments.length,
21413
21318
  r = c < 3 ? target : null === desc ? desc = Object.getOwnPropertyDescriptor(target, key) : desc;
21414
21319
  if ("object" == typeof Reflect && "function" == typeof Reflect.decorate) r = Reflect.decorate(decorators, target, key, desc);else for (var i = decorators.length - 1; i >= 0; i--) (d = decorators[i]) && (r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r);
21415
21320
  return c > 3 && r && Object.defineProperty(target, key, r), r;
21416
21321
  },
21417
- __metadata$U = undefined && undefined.__metadata || function (k, v) {
21322
+ __metadata$V = undefined && undefined.__metadata || function (k, v) {
21418
21323
  if ("object" == typeof Reflect && "function" == typeof Reflect.metadata) return Reflect.metadata(k, v);
21419
21324
  };
21420
21325
  let DefaultCanvasRichTextRender = class extends BaseRender {
@@ -21468,7 +21373,7 @@ let DefaultCanvasRichTextRender = class extends BaseRender {
21468
21373
  this._draw(richtext, richtextAttribute, !1, drawContext);
21469
21374
  }
21470
21375
  };
21471
- DefaultCanvasRichTextRender = __decorate$19([injectable(), __metadata$U("design:paramtypes", [])], DefaultCanvasRichTextRender);
21376
+ DefaultCanvasRichTextRender = __decorate$1b([injectable(), __metadata$V("design:paramtypes", [])], DefaultCanvasRichTextRender);
21472
21377
 
21473
21378
  let loadRichtextModule = !1;
21474
21379
  const richtextModule = new ContainerModule(bind => {
@@ -21552,7 +21457,7 @@ class Base3dRender extends BaseRender {
21552
21457
  }
21553
21458
  }
21554
21459
 
21555
- var __decorate$18 = undefined && undefined.__decorate || function (decorators, target, key, desc) {
21460
+ var __decorate$1a = undefined && undefined.__decorate || function (decorators, target, key, desc) {
21556
21461
  var d,
21557
21462
  c = arguments.length,
21558
21463
  r = c < 3 ? target : null === desc ? desc = Object.getOwnPropertyDescriptor(target, key) : desc;
@@ -21608,14 +21513,14 @@ let DefaultCanvasRect3dRender = class extends Base3dRender {
21608
21513
  this._draw(rect, rectAttribute, !1, drawContext);
21609
21514
  }
21610
21515
  };
21611
- DefaultCanvasRect3dRender = __decorate$18([injectable()], DefaultCanvasRect3dRender);
21516
+ DefaultCanvasRect3dRender = __decorate$1a([injectable()], DefaultCanvasRect3dRender);
21612
21517
 
21613
21518
  let loadRect3dModule = !1;
21614
21519
  const rect3dModule = new ContainerModule(bind => {
21615
21520
  loadRect3dModule || (loadRect3dModule = !0, bind(Rect3DRender).to(DefaultCanvasRect3dRender).inSingletonScope(), bind(GraphicRender).toService(Rect3DRender));
21616
21521
  });
21617
21522
 
21618
- var __decorate$17 = undefined && undefined.__decorate || function (decorators, target, key, desc) {
21523
+ var __decorate$19 = undefined && undefined.__decorate || function (decorators, target, key, desc) {
21619
21524
  var d,
21620
21525
  c = arguments.length,
21621
21526
  r = c < 3 ? target : null === desc ? desc = Object.getOwnPropertyDescriptor(target, key) : desc;
@@ -21742,14 +21647,14 @@ let DefaultCanvasArc3DRender = class extends BaseRender {
21742
21647
  this._draw(arc, arcAttribute, !1, drawContext, params);
21743
21648
  }
21744
21649
  };
21745
- DefaultCanvasArc3DRender = __decorate$17([injectable()], DefaultCanvasArc3DRender);
21650
+ DefaultCanvasArc3DRender = __decorate$19([injectable()], DefaultCanvasArc3DRender);
21746
21651
 
21747
21652
  let loadArc3dModule = !1;
21748
21653
  const arc3dModule = new ContainerModule(bind => {
21749
21654
  loadArc3dModule || (loadArc3dModule = !0, bind(Arc3dRender).to(DefaultCanvasArc3DRender).inSingletonScope(), bind(GraphicRender).toService(Arc3dRender));
21750
21655
  });
21751
21656
 
21752
- var __decorate$16 = undefined && undefined.__decorate || function (decorators, target, key, desc) {
21657
+ var __decorate$18 = undefined && undefined.__decorate || function (decorators, target, key, desc) {
21753
21658
  var d,
21754
21659
  c = arguments.length,
21755
21660
  r = c < 3 ? target : null === desc ? desc = Object.getOwnPropertyDescriptor(target, key) : desc;
@@ -21786,7 +21691,7 @@ let DefaultCanvasPyramid3dRender = class extends Base3dRender {
21786
21691
  this._draw(pyramid3d, pyramid3dAttribute, !1, drawContext);
21787
21692
  }
21788
21693
  };
21789
- DefaultCanvasPyramid3dRender = __decorate$16([injectable()], DefaultCanvasPyramid3dRender);
21694
+ DefaultCanvasPyramid3dRender = __decorate$18([injectable()], DefaultCanvasPyramid3dRender);
21790
21695
 
21791
21696
  let loadPyramid3dModule = !1;
21792
21697
  const pyramid3dModule = new ContainerModule(bind => {
@@ -23909,17 +23814,17 @@ class RoughBaseRender {
23909
23814
  }
23910
23815
  }
23911
23816
 
23912
- var __decorate$15 = undefined && undefined.__decorate || function (decorators, target, key, desc) {
23817
+ var __decorate$17 = undefined && undefined.__decorate || function (decorators, target, key, desc) {
23913
23818
  var d,
23914
23819
  c = arguments.length,
23915
23820
  r = c < 3 ? target : null === desc ? desc = Object.getOwnPropertyDescriptor(target, key) : desc;
23916
23821
  if ("object" == typeof Reflect && "function" == typeof Reflect.decorate) r = Reflect.decorate(decorators, target, key, desc);else for (var i = decorators.length - 1; i >= 0; i--) (d = decorators[i]) && (r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r);
23917
23822
  return c > 3 && r && Object.defineProperty(target, key, r), r;
23918
23823
  },
23919
- __metadata$T = undefined && undefined.__metadata || function (k, v) {
23824
+ __metadata$U = undefined && undefined.__metadata || function (k, v) {
23920
23825
  if ("object" == typeof Reflect && "function" == typeof Reflect.metadata) return Reflect.metadata(k, v);
23921
23826
  },
23922
- __param$B = undefined && undefined.__param || function (paramIndex, decorator) {
23827
+ __param$C = undefined && undefined.__param || function (paramIndex, decorator) {
23923
23828
  return function (target, key) {
23924
23829
  decorator(target, key, paramIndex);
23925
23830
  };
@@ -24005,9 +23910,9 @@ let RoughCanvasArcRender = class extends RoughBaseRender {
24005
23910
  }), context.highPerformanceRestore();
24006
23911
  }
24007
23912
  };
24008
- RoughCanvasArcRender = __decorate$15([injectable(), __param$B(0, inject(DefaultCanvasArcRender)), __metadata$T("design:paramtypes", [Object])], RoughCanvasArcRender);
23913
+ RoughCanvasArcRender = __decorate$17([injectable(), __param$C(0, inject(DefaultCanvasArcRender)), __metadata$U("design:paramtypes", [Object])], RoughCanvasArcRender);
24009
23914
 
24010
- var __decorate$14 = undefined && undefined.__decorate || function (decorators, target, key, desc) {
23915
+ var __decorate$16 = undefined && undefined.__decorate || function (decorators, target, key, desc) {
24011
23916
  var d,
24012
23917
  c = arguments.length,
24013
23918
  r = c < 3 ? target : null === desc ? desc = Object.getOwnPropertyDescriptor(target, key) : desc;
@@ -24085,19 +23990,19 @@ let RoughCanvasAreaRender = class extends DefaultCanvasAreaRender {
24085
23990
  }), context.highPerformanceRestore(), !1;
24086
23991
  }
24087
23992
  };
24088
- RoughCanvasAreaRender = __decorate$14([injectable()], RoughCanvasAreaRender);
23993
+ RoughCanvasAreaRender = __decorate$16([injectable()], RoughCanvasAreaRender);
24089
23994
 
24090
- var __decorate$13 = undefined && undefined.__decorate || function (decorators, target, key, desc) {
23995
+ var __decorate$15 = undefined && undefined.__decorate || function (decorators, target, key, desc) {
24091
23996
  var d,
24092
23997
  c = arguments.length,
24093
23998
  r = c < 3 ? target : null === desc ? desc = Object.getOwnPropertyDescriptor(target, key) : desc;
24094
23999
  if ("object" == typeof Reflect && "function" == typeof Reflect.decorate) r = Reflect.decorate(decorators, target, key, desc);else for (var i = decorators.length - 1; i >= 0; i--) (d = decorators[i]) && (r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r);
24095
24000
  return c > 3 && r && Object.defineProperty(target, key, r), r;
24096
24001
  },
24097
- __metadata$S = undefined && undefined.__metadata || function (k, v) {
24002
+ __metadata$T = undefined && undefined.__metadata || function (k, v) {
24098
24003
  if ("object" == typeof Reflect && "function" == typeof Reflect.metadata) return Reflect.metadata(k, v);
24099
24004
  },
24100
- __param$A = undefined && undefined.__param || function (paramIndex, decorator) {
24005
+ __param$B = undefined && undefined.__param || function (paramIndex, decorator) {
24101
24006
  return function (target, key) {
24102
24007
  decorator(target, key, paramIndex);
24103
24008
  };
@@ -24134,9 +24039,9 @@ let RoughCanvasCircleRender = class extends RoughBaseRender {
24134
24039
  });
24135
24040
  }
24136
24041
  };
24137
- RoughCanvasCircleRender = __decorate$13([injectable(), __param$A(0, inject(DefaultCanvasCircleRender)), __metadata$S("design:paramtypes", [Object])], RoughCanvasCircleRender);
24042
+ RoughCanvasCircleRender = __decorate$15([injectable(), __param$B(0, inject(DefaultCanvasCircleRender)), __metadata$T("design:paramtypes", [Object])], RoughCanvasCircleRender);
24138
24043
 
24139
- var __decorate$12 = undefined && undefined.__decorate || function (decorators, target, key, desc) {
24044
+ var __decorate$14 = undefined && undefined.__decorate || function (decorators, target, key, desc) {
24140
24045
  var d,
24141
24046
  c = arguments.length,
24142
24047
  r = c < 3 ? target : null === desc ? desc = Object.getOwnPropertyDescriptor(target, key) : desc;
@@ -24215,19 +24120,19 @@ let RoughCanvasLineRender = class extends DefaultCanvasLineRender {
24215
24120
  }), context.highPerformanceRestore(), !1;
24216
24121
  }
24217
24122
  };
24218
- RoughCanvasLineRender = __decorate$12([injectable()], RoughCanvasLineRender);
24123
+ RoughCanvasLineRender = __decorate$14([injectable()], RoughCanvasLineRender);
24219
24124
 
24220
- var __decorate$11 = undefined && undefined.__decorate || function (decorators, target, key, desc) {
24125
+ var __decorate$13 = undefined && undefined.__decorate || function (decorators, target, key, desc) {
24221
24126
  var d,
24222
24127
  c = arguments.length,
24223
24128
  r = c < 3 ? target : null === desc ? desc = Object.getOwnPropertyDescriptor(target, key) : desc;
24224
24129
  if ("object" == typeof Reflect && "function" == typeof Reflect.decorate) r = Reflect.decorate(decorators, target, key, desc);else for (var i = decorators.length - 1; i >= 0; i--) (d = decorators[i]) && (r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r);
24225
24130
  return c > 3 && r && Object.defineProperty(target, key, r), r;
24226
24131
  },
24227
- __metadata$R = undefined && undefined.__metadata || function (k, v) {
24132
+ __metadata$S = undefined && undefined.__metadata || function (k, v) {
24228
24133
  if ("object" == typeof Reflect && "function" == typeof Reflect.metadata) return Reflect.metadata(k, v);
24229
24134
  },
24230
- __param$z = undefined && undefined.__param || function (paramIndex, decorator) {
24135
+ __param$A = undefined && undefined.__param || function (paramIndex, decorator) {
24231
24136
  return function (target, key) {
24232
24137
  decorator(target, key, paramIndex);
24233
24138
  };
@@ -24301,19 +24206,19 @@ let RoughCanvasPathRender = class extends RoughBaseRender {
24301
24206
  }), context.highPerformanceRestore();
24302
24207
  }
24303
24208
  };
24304
- RoughCanvasPathRender = __decorate$11([injectable(), __param$z(0, inject(DefaultCanvasPathRender)), __metadata$R("design:paramtypes", [Object])], RoughCanvasPathRender);
24209
+ RoughCanvasPathRender = __decorate$13([injectable(), __param$A(0, inject(DefaultCanvasPathRender)), __metadata$S("design:paramtypes", [Object])], RoughCanvasPathRender);
24305
24210
 
24306
- var __decorate$10 = undefined && undefined.__decorate || function (decorators, target, key, desc) {
24211
+ var __decorate$12 = undefined && undefined.__decorate || function (decorators, target, key, desc) {
24307
24212
  var d,
24308
24213
  c = arguments.length,
24309
24214
  r = c < 3 ? target : null === desc ? desc = Object.getOwnPropertyDescriptor(target, key) : desc;
24310
24215
  if ("object" == typeof Reflect && "function" == typeof Reflect.decorate) r = Reflect.decorate(decorators, target, key, desc);else for (var i = decorators.length - 1; i >= 0; i--) (d = decorators[i]) && (r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r);
24311
24216
  return c > 3 && r && Object.defineProperty(target, key, r), r;
24312
24217
  },
24313
- __metadata$Q = undefined && undefined.__metadata || function (k, v) {
24218
+ __metadata$R = undefined && undefined.__metadata || function (k, v) {
24314
24219
  if ("object" == typeof Reflect && "function" == typeof Reflect.metadata) return Reflect.metadata(k, v);
24315
24220
  },
24316
- __param$y = undefined && undefined.__param || function (paramIndex, decorator) {
24221
+ __param$z = undefined && undefined.__param || function (paramIndex, decorator) {
24317
24222
  return function (target, key) {
24318
24223
  decorator(target, key, paramIndex);
24319
24224
  };
@@ -24404,19 +24309,19 @@ let RoughCanvasRectRender = class extends RoughBaseRender {
24404
24309
  }), context.highPerformanceRestore();
24405
24310
  }
24406
24311
  };
24407
- RoughCanvasRectRender = __decorate$10([injectable(), __param$y(0, inject(DefaultCanvasRectRender)), __metadata$Q("design:paramtypes", [Object])], RoughCanvasRectRender);
24312
+ RoughCanvasRectRender = __decorate$12([injectable(), __param$z(0, inject(DefaultCanvasRectRender)), __metadata$R("design:paramtypes", [Object])], RoughCanvasRectRender);
24408
24313
 
24409
- var __decorate$$ = undefined && undefined.__decorate || function (decorators, target, key, desc) {
24314
+ var __decorate$11 = undefined && undefined.__decorate || function (decorators, target, key, desc) {
24410
24315
  var d,
24411
24316
  c = arguments.length,
24412
24317
  r = c < 3 ? target : null === desc ? desc = Object.getOwnPropertyDescriptor(target, key) : desc;
24413
24318
  if ("object" == typeof Reflect && "function" == typeof Reflect.decorate) r = Reflect.decorate(decorators, target, key, desc);else for (var i = decorators.length - 1; i >= 0; i--) (d = decorators[i]) && (r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r);
24414
24319
  return c > 3 && r && Object.defineProperty(target, key, r), r;
24415
24320
  },
24416
- __metadata$P = undefined && undefined.__metadata || function (k, v) {
24321
+ __metadata$Q = undefined && undefined.__metadata || function (k, v) {
24417
24322
  if ("object" == typeof Reflect && "function" == typeof Reflect.metadata) return Reflect.metadata(k, v);
24418
24323
  },
24419
- __param$x = undefined && undefined.__param || function (paramIndex, decorator) {
24324
+ __param$y = undefined && undefined.__param || function (paramIndex, decorator) {
24420
24325
  return function (target, key) {
24421
24326
  decorator(target, key, paramIndex);
24422
24327
  };
@@ -24508,7 +24413,7 @@ let RoughCanvasSymbolRender = class extends BaseRender {
24508
24413
  if (this.canvasRenderer.drawShape) return this.canvasRenderer.drawShape(graphic, ctx, x, y, drawContext, params, fillCb, strokeCb);
24509
24414
  }
24510
24415
  };
24511
- RoughCanvasSymbolRender = __decorate$$([injectable(), __param$x(0, inject(DefaultCanvasSymbolRender)), __metadata$P("design:paramtypes", [Object])], RoughCanvasSymbolRender);
24416
+ RoughCanvasSymbolRender = __decorate$11([injectable(), __param$y(0, inject(DefaultCanvasSymbolRender)), __metadata$Q("design:paramtypes", [Object])], RoughCanvasSymbolRender);
24512
24417
 
24513
24418
  var _roughModule = new ContainerModule(bind => {
24514
24419
  bind(RoughCanvasCircleRender).toSelf().inSingletonScope(), bind(GraphicRender).to(RoughCanvasCircleRender), bind(RoughCanvasRectRender).toSelf().inSingletonScope(), bind(GraphicRender).to(RoughCanvasRectRender), bind(RoughCanvasPathRender).toSelf().inSingletonScope(), bind(GraphicRender).to(RoughCanvasPathRender), bind(RoughCanvasSymbolRender).toSelf().inSingletonScope(), bind(GraphicRender).to(RoughCanvasSymbolRender), bind(RoughCanvasLineRender).toSelf().inSingletonScope(), bind(GraphicRender).to(RoughCanvasLineRender), bind(RoughCanvasAreaRender).toSelf().inSingletonScope(), bind(GraphicRender).to(RoughCanvasAreaRender), bind(RoughCanvasArcRender).toSelf().inSingletonScope(), bind(GraphicRender).to(RoughCanvasArcRender);
@@ -24531,6 +24436,7 @@ const CanvasArc3dPicker = Symbol.for("CanvasArc3dPicker");
24531
24436
  const CanvasAreaPicker = Symbol.for("CanvasAreaPicker");
24532
24437
  const CanvasCirclePicker = Symbol.for("CanvasCirclePicker");
24533
24438
  const CanvasImagePicker = Symbol.for("CanvasImagePicker");
24439
+ const CanvasGifImagePicker = Symbol.for("CanvasGifImagePicker");
24534
24440
  const CanvasLinePicker = Symbol.for("CanvasLinePicker");
24535
24441
  const CanvasLottiePicker = Symbol.for("CanvasLottiePicker");
24536
24442
  const CanvasPathPicker = Symbol.for("CanvasPathPicker");
@@ -24671,9 +24577,11 @@ function jsx(type, config) {
24671
24577
  name: name,
24672
24578
  id: id,
24673
24579
  attribute: attribute,
24674
- stateProxy: stateProxy
24580
+ stateProxy: stateProxy,
24581
+ animation: animation,
24582
+ timeline: timeline
24675
24583
  } = _a,
24676
- props = __rest(_a, ["key", "name", "id", "attribute", "stateProxy"]);
24584
+ props = __rest(_a, ["key", "name", "id", "attribute", "stateProxy", "animation", "timeline"]);
24677
24585
  let c = type;
24678
24586
  isString$1(type) && (c = graphicCreator[type]);
24679
24587
  const childrenList = [];
@@ -24682,7 +24590,13 @@ function jsx(type, config) {
24682
24590
  }
24683
24591
  children.length && flatten(1 === children.length ? children[0] : children, childrenList);
24684
24592
  const g = "Group" === c.name ? new c(attribute) : c(config);
24685
- return parseToGraphic$1(g, childrenList, props), stateProxy && (g.stateProxy = stateProxy), g;
24593
+ if (parseToGraphic$1(g, childrenList, props), stateProxy && (g.stateProxy = stateProxy), name && (g.name = name), isArray$1(animation)) {
24594
+ const animate = g.animate();
24595
+ timeline && animate.setTimeline(timeline), animation.forEach(item => {
24596
+ animate[item[0]](...item.slice(1));
24597
+ });
24598
+ }
24599
+ return g;
24686
24600
  }
24687
24601
  function parseToGraphic$1(g, childrenList, props) {
24688
24602
  let out,
@@ -25012,14 +24926,14 @@ class Gesture extends EventEmitter {
25012
24926
  }
25013
24927
  }
25014
24928
 
25015
- var __decorate$_ = undefined && undefined.__decorate || function (decorators, target, key, desc) {
24929
+ var __decorate$10 = undefined && undefined.__decorate || function (decorators, target, key, desc) {
25016
24930
  var d,
25017
24931
  c = arguments.length,
25018
24932
  r = c < 3 ? target : null === desc ? desc = Object.getOwnPropertyDescriptor(target, key) : desc;
25019
24933
  if ("object" == typeof Reflect && "function" == typeof Reflect.decorate) r = Reflect.decorate(decorators, target, key, desc);else for (var i = decorators.length - 1; i >= 0; i--) (d = decorators[i]) && (r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r);
25020
24934
  return c > 3 && r && Object.defineProperty(target, key, r), r;
25021
24935
  },
25022
- __metadata$O = undefined && undefined.__metadata || function (k, v) {
24936
+ __metadata$P = undefined && undefined.__metadata || function (k, v) {
25023
24937
  if ("object" == typeof Reflect && "function" == typeof Reflect.metadata) return Reflect.metadata(k, v);
25024
24938
  };
25025
24939
  const outP = [0, 0, 0],
@@ -25531,16 +25445,16 @@ let BrowserContext2d = class {
25531
25445
  this.stack.forEach(m => matrixAllocate.free(m)), this.stack.length = 0;
25532
25446
  }
25533
25447
  };
25534
- BrowserContext2d.env = "browser", BrowserContext2d = __decorate$_([injectable(), __metadata$O("design:paramtypes", [Object, Number])], BrowserContext2d);
25448
+ BrowserContext2d.env = "browser", BrowserContext2d = __decorate$10([injectable(), __metadata$P("design:paramtypes", [Object, Number])], BrowserContext2d);
25535
25449
 
25536
- var __decorate$Z = undefined && undefined.__decorate || function (decorators, target, key, desc) {
25450
+ var __decorate$$ = undefined && undefined.__decorate || function (decorators, target, key, desc) {
25537
25451
  var d,
25538
25452
  c = arguments.length,
25539
25453
  r = c < 3 ? target : null === desc ? desc = Object.getOwnPropertyDescriptor(target, key) : desc;
25540
25454
  if ("object" == typeof Reflect && "function" == typeof Reflect.decorate) r = Reflect.decorate(decorators, target, key, desc);else for (var i = decorators.length - 1; i >= 0; i--) (d = decorators[i]) && (r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r);
25541
25455
  return c > 3 && r && Object.defineProperty(target, key, r), r;
25542
25456
  },
25543
- __metadata$N = undefined && undefined.__metadata || function (k, v) {
25457
+ __metadata$O = undefined && undefined.__metadata || function (k, v) {
25544
25458
  if ("object" == typeof Reflect && "function" == typeof Reflect.metadata) return Reflect.metadata(k, v);
25545
25459
  };
25546
25460
  let BrowserCanvas = class extends BaseCanvas {
@@ -25602,7 +25516,7 @@ let BrowserCanvas = class extends BaseCanvas {
25602
25516
  this._context.dpr = this._dpr;
25603
25517
  }
25604
25518
  };
25605
- BrowserCanvas.env = "browser", BrowserCanvas = __decorate$Z([injectable(), __metadata$N("design:paramtypes", [Object])], BrowserCanvas);
25519
+ BrowserCanvas.env = "browser", BrowserCanvas = __decorate$$([injectable(), __metadata$O("design:paramtypes", [Object])], BrowserCanvas);
25606
25520
 
25607
25521
  function createModule(CanvasConstructor, ContextConstructor) {
25608
25522
  return new ContainerModule(bind => {
@@ -25612,17 +25526,17 @@ function createModule(CanvasConstructor, ContextConstructor) {
25612
25526
 
25613
25527
  const browserCanvasModule = createModule(BrowserCanvas, BrowserContext2d);
25614
25528
 
25615
- var __decorate$Y = undefined && undefined.__decorate || function (decorators, target, key, desc) {
25529
+ var __decorate$_ = undefined && undefined.__decorate || function (decorators, target, key, desc) {
25616
25530
  var d,
25617
25531
  c = arguments.length,
25618
25532
  r = c < 3 ? target : null === desc ? desc = Object.getOwnPropertyDescriptor(target, key) : desc;
25619
25533
  if ("object" == typeof Reflect && "function" == typeof Reflect.decorate) r = Reflect.decorate(decorators, target, key, desc);else for (var i = decorators.length - 1; i >= 0; i--) (d = decorators[i]) && (r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r);
25620
25534
  return c > 3 && r && Object.defineProperty(target, key, r), r;
25621
25535
  },
25622
- __metadata$M = undefined && undefined.__metadata || function (k, v) {
25536
+ __metadata$N = undefined && undefined.__metadata || function (k, v) {
25623
25537
  if ("object" == typeof Reflect && "function" == typeof Reflect.metadata) return Reflect.metadata(k, v);
25624
25538
  },
25625
- __param$w = undefined && undefined.__param || function (paramIndex, decorator) {
25539
+ __param$x = undefined && undefined.__param || function (paramIndex, decorator) {
25626
25540
  return function (target, key) {
25627
25541
  decorator(target, key, paramIndex);
25628
25542
  };
@@ -25673,9 +25587,9 @@ let DefaultCanvasPickerService = class extends DefaultPickService {
25673
25587
  return data;
25674
25588
  }
25675
25589
  };
25676
- DefaultCanvasPickerService = __decorate$Y([injectable(), __param$w(0, inject(ContributionProvider)), __param$w(0, named(CanvasPickerContribution)), __param$w(1, inject(DrawContribution)), __param$w(2, inject(ContributionProvider)), __param$w(2, named(PickItemInterceptor)), __param$w(3, inject(ContributionProvider)), __param$w(3, named(PickServiceInterceptor)), __metadata$M("design:paramtypes", [Object, Object, Object, Object])], DefaultCanvasPickerService);
25590
+ DefaultCanvasPickerService = __decorate$_([injectable(), __param$x(0, inject(ContributionProvider)), __param$x(0, named(CanvasPickerContribution)), __param$x(1, inject(DrawContribution)), __param$x(2, inject(ContributionProvider)), __param$x(2, named(PickItemInterceptor)), __param$x(3, inject(ContributionProvider)), __param$x(3, named(PickServiceInterceptor)), __metadata$N("design:paramtypes", [Object, Object, Object, Object])], DefaultCanvasPickerService);
25677
25591
 
25678
- var __decorate$X = undefined && undefined.__decorate || function (decorators, target, key, desc) {
25592
+ var __decorate$Z = undefined && undefined.__decorate || function (decorators, target, key, desc) {
25679
25593
  var d,
25680
25594
  c = arguments.length,
25681
25595
  r = c < 3 ? target : null === desc ? desc = Object.getOwnPropertyDescriptor(target, key) : desc;
@@ -25690,7 +25604,7 @@ let DefaultCanvasGroupPicker = class {
25690
25604
  return !1;
25691
25605
  }
25692
25606
  };
25693
- DefaultCanvasGroupPicker = __decorate$X([injectable()], DefaultCanvasGroupPicker);
25607
+ DefaultCanvasGroupPicker = __decorate$Z([injectable()], DefaultCanvasGroupPicker);
25694
25608
 
25695
25609
  const m$1 = new ContainerModule((bind, unbind, isBound, rebind) => {
25696
25610
  m$1.__vloaded || (m$1.__vloaded = !0, bind(CanvasGroupPicker).to(DefaultCanvasGroupPicker).inSingletonScope(), bind(CanvasPickerContribution).toService(CanvasGroupPicker), bindContributionProvider(bind, CanvasPickerContribution));
@@ -25706,14 +25620,14 @@ function loadCanvasPicker(c) {
25706
25620
  }
25707
25621
 
25708
25622
  var BrowserWindowHandlerContribution_1,
25709
- __decorate$W = undefined && undefined.__decorate || function (decorators, target, key, desc) {
25623
+ __decorate$Y = undefined && undefined.__decorate || function (decorators, target, key, desc) {
25710
25624
  var d,
25711
25625
  c = arguments.length,
25712
25626
  r = c < 3 ? target : null === desc ? desc = Object.getOwnPropertyDescriptor(target, key) : desc;
25713
25627
  if ("object" == typeof Reflect && "function" == typeof Reflect.decorate) r = Reflect.decorate(decorators, target, key, desc);else for (var i = decorators.length - 1; i >= 0; i--) (d = decorators[i]) && (r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r);
25714
25628
  return c > 3 && r && Object.defineProperty(target, key, r), r;
25715
25629
  },
25716
- __metadata$L = undefined && undefined.__metadata || function (k, v) {
25630
+ __metadata$M = undefined && undefined.__metadata || function (k, v) {
25717
25631
  if ("object" == typeof Reflect && "function" == typeof Reflect.metadata) return Reflect.metadata(k, v);
25718
25632
  };
25719
25633
  let BrowserWindowHandlerContribution = BrowserWindowHandlerContribution_1 = class extends BaseWindowHandlerContribution {
@@ -25871,19 +25785,19 @@ let BrowserWindowHandlerContribution = BrowserWindowHandlerContribution_1 = clas
25871
25785
  return this.global.getElementTopLeft(this.canvas.nativeCanvas, baseWindow);
25872
25786
  }
25873
25787
  };
25874
- BrowserWindowHandlerContribution.env = "browser", BrowserWindowHandlerContribution.idprefix = "visactor_window", BrowserWindowHandlerContribution.prefix_count = 0, BrowserWindowHandlerContribution = BrowserWindowHandlerContribution_1 = __decorate$W([injectable(), __metadata$L("design:paramtypes", [])], BrowserWindowHandlerContribution);
25788
+ BrowserWindowHandlerContribution.env = "browser", BrowserWindowHandlerContribution.idprefix = "visactor_window", BrowserWindowHandlerContribution.prefix_count = 0, BrowserWindowHandlerContribution = BrowserWindowHandlerContribution_1 = __decorate$Y([injectable(), __metadata$M("design:paramtypes", [])], BrowserWindowHandlerContribution);
25875
25789
  const browserWindowModule = new ContainerModule(bind => {
25876
25790
  bind(BrowserWindowHandlerContribution).toSelf(), bind(WindowHandlerContribution).toDynamicValue(ctx => ctx.container.get(BrowserWindowHandlerContribution)).whenTargetNamed(BrowserWindowHandlerContribution.env);
25877
25791
  });
25878
25792
 
25879
- var __decorate$V = undefined && undefined.__decorate || function (decorators, target, key, desc) {
25793
+ var __decorate$X = undefined && undefined.__decorate || function (decorators, target, key, desc) {
25880
25794
  var d,
25881
25795
  c = arguments.length,
25882
25796
  r = c < 3 ? target : null === desc ? desc = Object.getOwnPropertyDescriptor(target, key) : desc;
25883
25797
  if ("object" == typeof Reflect && "function" == typeof Reflect.decorate) r = Reflect.decorate(decorators, target, key, desc);else for (var i = decorators.length - 1; i >= 0; i--) (d = decorators[i]) && (r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r);
25884
25798
  return c > 3 && r && Object.defineProperty(target, key, r), r;
25885
25799
  },
25886
- __metadata$K = undefined && undefined.__metadata || function (k, v) {
25800
+ __metadata$L = undefined && undefined.__metadata || function (k, v) {
25887
25801
  if ("object" == typeof Reflect && "function" == typeof Reflect.metadata) return Reflect.metadata(k, v);
25888
25802
  },
25889
25803
  __awaiter$2 = undefined && undefined.__awaiter || function (thisArg, _arguments, P, generator) {
@@ -25937,7 +25851,7 @@ class DynamicB {
25937
25851
  function createImageElement$1(src) {
25938
25852
  let isSvg = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : !1;
25939
25853
  const img = document.createElement("img");
25940
- if (img.crossOrigin = "anonymous", isSvg) {
25854
+ if (application.global.isImageAnonymous && (img.crossOrigin = "anonymous"), isSvg) {
25941
25855
  const data = new Blob([src], {
25942
25856
  type: "image/svg+xml"
25943
25857
  });
@@ -26130,7 +26044,7 @@ let BrowserEnvContribution = class extends BaseEnvContribution {
26130
26044
  return navigator.clipboard.writeText(text).then(() => {}).catch(err => {});
26131
26045
  }
26132
26046
  };
26133
- BrowserEnvContribution = __decorate$V([injectable(), __metadata$K("design:paramtypes", [])], BrowserEnvContribution);
26047
+ BrowserEnvContribution = __decorate$X([injectable(), __metadata$L("design:paramtypes", [])], BrowserEnvContribution);
26134
26048
 
26135
26049
  const browserEnvModule = new ContainerModule(bind => {
26136
26050
  browserEnvModule.isBrowserBound || (browserEnvModule.isBrowserBound = !0, bind(BrowserEnvContribution).toSelf().inSingletonScope(), bind(EnvContribution).toService(BrowserEnvContribution));
@@ -26145,7 +26059,7 @@ function initBrowserEnv() {
26145
26059
  loadBrowserEnv(container);
26146
26060
  }
26147
26061
 
26148
- var __decorate$U = undefined && undefined.__decorate || function (decorators, target, key, desc) {
26062
+ var __decorate$W = undefined && undefined.__decorate || function (decorators, target, key, desc) {
26149
26063
  var d,
26150
26064
  c = arguments.length,
26151
26065
  r = c < 3 ? target : null === desc ? desc = Object.getOwnPropertyDescriptor(target, key) : desc;
@@ -26190,16 +26104,16 @@ let FeishuContext2d = class extends BrowserContext2d {
26190
26104
  return null;
26191
26105
  }
26192
26106
  };
26193
- FeishuContext2d.env = "feishu", FeishuContext2d = __decorate$U([injectable()], FeishuContext2d);
26107
+ FeishuContext2d.env = "feishu", FeishuContext2d = __decorate$W([injectable()], FeishuContext2d);
26194
26108
 
26195
- var __decorate$T = undefined && undefined.__decorate || function (decorators, target, key, desc) {
26109
+ var __decorate$V = undefined && undefined.__decorate || function (decorators, target, key, desc) {
26196
26110
  var d,
26197
26111
  c = arguments.length,
26198
26112
  r = c < 3 ? target : null === desc ? desc = Object.getOwnPropertyDescriptor(target, key) : desc;
26199
26113
  if ("object" == typeof Reflect && "function" == typeof Reflect.decorate) r = Reflect.decorate(decorators, target, key, desc);else for (var i = decorators.length - 1; i >= 0; i--) (d = decorators[i]) && (r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r);
26200
26114
  return c > 3 && r && Object.defineProperty(target, key, r), r;
26201
26115
  },
26202
- __metadata$J = undefined && undefined.__metadata || function (k, v) {
26116
+ __metadata$K = undefined && undefined.__metadata || function (k, v) {
26203
26117
  if ("object" == typeof Reflect && "function" == typeof Reflect.metadata) return Reflect.metadata(k, v);
26204
26118
  };
26205
26119
  let FeishuCanvas = class extends BaseCanvas {
@@ -26211,21 +26125,21 @@ let FeishuCanvas = class extends BaseCanvas {
26211
26125
  }
26212
26126
  release() {}
26213
26127
  };
26214
- FeishuCanvas.env = "feishu", FeishuCanvas = __decorate$T([injectable(), __metadata$J("design:paramtypes", [Object])], FeishuCanvas);
26128
+ FeishuCanvas.env = "feishu", FeishuCanvas = __decorate$V([injectable(), __metadata$K("design:paramtypes", [Object])], FeishuCanvas);
26215
26129
 
26216
26130
  const feishuCanvasModule = createModule(FeishuCanvas, FeishuContext2d);
26217
26131
 
26218
- var __decorate$S = undefined && undefined.__decorate || function (decorators, target, key, desc) {
26132
+ var __decorate$U = undefined && undefined.__decorate || function (decorators, target, key, desc) {
26219
26133
  var d,
26220
26134
  c = arguments.length,
26221
26135
  r = c < 3 ? target : null === desc ? desc = Object.getOwnPropertyDescriptor(target, key) : desc;
26222
26136
  if ("object" == typeof Reflect && "function" == typeof Reflect.decorate) r = Reflect.decorate(decorators, target, key, desc);else for (var i = decorators.length - 1; i >= 0; i--) (d = decorators[i]) && (r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r);
26223
26137
  return c > 3 && r && Object.defineProperty(target, key, r), r;
26224
26138
  },
26225
- __metadata$I = undefined && undefined.__metadata || function (k, v) {
26139
+ __metadata$J = undefined && undefined.__metadata || function (k, v) {
26226
26140
  if ("object" == typeof Reflect && "function" == typeof Reflect.metadata) return Reflect.metadata(k, v);
26227
26141
  },
26228
- __param$v = undefined && undefined.__param || function (paramIndex, decorator) {
26142
+ __param$w = undefined && undefined.__param || function (paramIndex, decorator) {
26229
26143
  return function (target, key) {
26230
26144
  decorator(target, key, paramIndex);
26231
26145
  };
@@ -26361,22 +26275,22 @@ let FeishuWindowHandlerContribution = class extends BaseWindowHandlerContributio
26361
26275
  context.nativeContext.save(), context.nativeContext.setTransform(dpr, 0, 0, dpr, 0, 0), context.clearRect(vb.x1, vb.y1, vb.x2 - vb.x1, vb.y2 - vb.y1), color && (context.fillStyle = color, context.fillRect(vb.x1, vb.y1, vb.x2 - vb.x1, vb.y2 - vb.y1)), context.nativeContext.restore();
26362
26276
  }
26363
26277
  };
26364
- FeishuWindowHandlerContribution.env = "feishu", FeishuWindowHandlerContribution = __decorate$S([injectable(), __param$v(0, inject(VGlobal)), __metadata$I("design:paramtypes", [Object])], FeishuWindowHandlerContribution);
26278
+ FeishuWindowHandlerContribution.env = "feishu", FeishuWindowHandlerContribution = __decorate$U([injectable(), __param$w(0, inject(VGlobal)), __metadata$J("design:paramtypes", [Object])], FeishuWindowHandlerContribution);
26365
26279
  const feishuWindowModule = new ContainerModule(bind => {
26366
26280
  bind(FeishuWindowHandlerContribution).toSelf(), bind(WindowHandlerContribution).toDynamicValue(ctx => ctx.container.get(FeishuWindowHandlerContribution)).whenTargetNamed(FeishuWindowHandlerContribution.env);
26367
26281
  });
26368
26282
 
26369
- var __decorate$R = undefined && undefined.__decorate || function (decorators, target, key, desc) {
26283
+ var __decorate$T = undefined && undefined.__decorate || function (decorators, target, key, desc) {
26370
26284
  var d,
26371
26285
  c = arguments.length,
26372
26286
  r = c < 3 ? target : null === desc ? desc = Object.getOwnPropertyDescriptor(target, key) : desc;
26373
26287
  if ("object" == typeof Reflect && "function" == typeof Reflect.decorate) r = Reflect.decorate(decorators, target, key, desc);else for (var i = decorators.length - 1; i >= 0; i--) (d = decorators[i]) && (r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r);
26374
26288
  return c > 3 && r && Object.defineProperty(target, key, r), r;
26375
26289
  },
26376
- __metadata$H = undefined && undefined.__metadata || function (k, v) {
26290
+ __metadata$I = undefined && undefined.__metadata || function (k, v) {
26377
26291
  if ("object" == typeof Reflect && "function" == typeof Reflect.metadata) return Reflect.metadata(k, v);
26378
26292
  },
26379
- __param$u = undefined && undefined.__param || function (paramIndex, decorator) {
26293
+ __param$v = undefined && undefined.__param || function (paramIndex, decorator) {
26380
26294
  return function (target, key) {
26381
26295
  decorator(target, key, paramIndex);
26382
26296
  };
@@ -26407,7 +26321,7 @@ let DefaultMathPickerService = class extends DefaultPickService {
26407
26321
  } : null;
26408
26322
  }
26409
26323
  };
26410
- DefaultMathPickerService = __decorate$R([injectable(), __param$u(0, inject(ContributionProvider)), __param$u(0, named(MathPickerContribution)), __param$u(1, inject(ContributionProvider)), __param$u(1, named(PickItemInterceptor)), __param$u(2, inject(ContributionProvider)), __param$u(2, named(PickServiceInterceptor)), __metadata$H("design:paramtypes", [Object, Object, Object])], DefaultMathPickerService);
26324
+ DefaultMathPickerService = __decorate$T([injectable(), __param$v(0, inject(ContributionProvider)), __param$v(0, named(MathPickerContribution)), __param$v(1, inject(ContributionProvider)), __param$v(1, named(PickItemInterceptor)), __param$v(2, inject(ContributionProvider)), __param$v(2, named(PickServiceInterceptor)), __metadata$I("design:paramtypes", [Object, Object, Object])], DefaultMathPickerService);
26411
26325
 
26412
26326
  const m = new ContainerModule(bind => {
26413
26327
  m.__vloaded || (m.__vloaded = !0, bindContributionProvider(bind, MathPickerContribution));
@@ -26444,17 +26358,17 @@ class PickerBase {
26444
26358
  }
26445
26359
  }
26446
26360
 
26447
- var __decorate$Q = undefined && undefined.__decorate || function (decorators, target, key, desc) {
26361
+ var __decorate$S = undefined && undefined.__decorate || function (decorators, target, key, desc) {
26448
26362
  var d,
26449
26363
  c = arguments.length,
26450
26364
  r = c < 3 ? target : null === desc ? desc = Object.getOwnPropertyDescriptor(target, key) : desc;
26451
26365
  if ("object" == typeof Reflect && "function" == typeof Reflect.decorate) r = Reflect.decorate(decorators, target, key, desc);else for (var i = decorators.length - 1; i >= 0; i--) (d = decorators[i]) && (r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r);
26452
26366
  return c > 3 && r && Object.defineProperty(target, key, r), r;
26453
26367
  },
26454
- __metadata$G = undefined && undefined.__metadata || function (k, v) {
26368
+ __metadata$H = undefined && undefined.__metadata || function (k, v) {
26455
26369
  if ("object" == typeof Reflect && "function" == typeof Reflect.metadata) return Reflect.metadata(k, v);
26456
26370
  },
26457
- __param$t = undefined && undefined.__param || function (paramIndex, decorator) {
26371
+ __param$u = undefined && undefined.__param || function (paramIndex, decorator) {
26458
26372
  return function (target, key) {
26459
26373
  decorator(target, key, paramIndex);
26460
26374
  };
@@ -26464,24 +26378,24 @@ let DefaultMathArcPicker = class extends PickerBase {
26464
26378
  super(), this.canvasRenderer = canvasRenderer, this.type = "arc", this.numberType = ARC_NUMBER_TYPE;
26465
26379
  }
26466
26380
  };
26467
- DefaultMathArcPicker = __decorate$Q([injectable(), __param$t(0, inject(ArcRender)), __metadata$G("design:paramtypes", [Object])], DefaultMathArcPicker);
26381
+ DefaultMathArcPicker = __decorate$S([injectable(), __param$u(0, inject(ArcRender)), __metadata$H("design:paramtypes", [Object])], DefaultMathArcPicker);
26468
26382
 
26469
26383
  let loadArcPick$1 = !1;
26470
26384
  const arcMathPickModule = new ContainerModule((bind, unbind, isBound, rebind) => {
26471
26385
  loadArcPick$1 || (loadArcPick$1 = !0, bind(MathArcPicker).to(DefaultMathArcPicker).inSingletonScope(), bind(MathPickerContribution).toService(MathArcPicker));
26472
26386
  });
26473
26387
 
26474
- var __decorate$P = undefined && undefined.__decorate || function (decorators, target, key, desc) {
26388
+ var __decorate$R = undefined && undefined.__decorate || function (decorators, target, key, desc) {
26475
26389
  var d,
26476
26390
  c = arguments.length,
26477
26391
  r = c < 3 ? target : null === desc ? desc = Object.getOwnPropertyDescriptor(target, key) : desc;
26478
26392
  if ("object" == typeof Reflect && "function" == typeof Reflect.decorate) r = Reflect.decorate(decorators, target, key, desc);else for (var i = decorators.length - 1; i >= 0; i--) (d = decorators[i]) && (r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r);
26479
26393
  return c > 3 && r && Object.defineProperty(target, key, r), r;
26480
26394
  },
26481
- __metadata$F = undefined && undefined.__metadata || function (k, v) {
26395
+ __metadata$G = undefined && undefined.__metadata || function (k, v) {
26482
26396
  if ("object" == typeof Reflect && "function" == typeof Reflect.metadata) return Reflect.metadata(k, v);
26483
26397
  },
26484
- __param$s = undefined && undefined.__param || function (paramIndex, decorator) {
26398
+ __param$t = undefined && undefined.__param || function (paramIndex, decorator) {
26485
26399
  return function (target, key) {
26486
26400
  decorator(target, key, paramIndex);
26487
26401
  };
@@ -26491,24 +26405,24 @@ let DefaultMathAreaPicker = class extends PickerBase {
26491
26405
  super(), this.canvasRenderer = canvasRenderer, this.type = "area", this.numberType = AREA_NUMBER_TYPE;
26492
26406
  }
26493
26407
  };
26494
- DefaultMathAreaPicker = __decorate$P([injectable(), __param$s(0, inject(AreaRender)), __metadata$F("design:paramtypes", [Object])], DefaultMathAreaPicker);
26408
+ DefaultMathAreaPicker = __decorate$R([injectable(), __param$t(0, inject(AreaRender)), __metadata$G("design:paramtypes", [Object])], DefaultMathAreaPicker);
26495
26409
 
26496
26410
  let loadAreaPick$1 = !1;
26497
26411
  const areaMathPickModule = new ContainerModule((bind, unbind, isBound, rebind) => {
26498
26412
  loadAreaPick$1 || (loadAreaPick$1 = !0, bind(MathAreaPicker).to(DefaultMathAreaPicker).inSingletonScope(), bind(MathPickerContribution).toService(MathAreaPicker));
26499
26413
  });
26500
26414
 
26501
- var __decorate$O = undefined && undefined.__decorate || function (decorators, target, key, desc) {
26415
+ var __decorate$Q = undefined && undefined.__decorate || function (decorators, target, key, desc) {
26502
26416
  var d,
26503
26417
  c = arguments.length,
26504
26418
  r = c < 3 ? target : null === desc ? desc = Object.getOwnPropertyDescriptor(target, key) : desc;
26505
26419
  if ("object" == typeof Reflect && "function" == typeof Reflect.decorate) r = Reflect.decorate(decorators, target, key, desc);else for (var i = decorators.length - 1; i >= 0; i--) (d = decorators[i]) && (r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r);
26506
26420
  return c > 3 && r && Object.defineProperty(target, key, r), r;
26507
26421
  },
26508
- __metadata$E = undefined && undefined.__metadata || function (k, v) {
26422
+ __metadata$F = undefined && undefined.__metadata || function (k, v) {
26509
26423
  if ("object" == typeof Reflect && "function" == typeof Reflect.metadata) return Reflect.metadata(k, v);
26510
26424
  },
26511
- __param$r = undefined && undefined.__param || function (paramIndex, decorator) {
26425
+ __param$s = undefined && undefined.__param || function (paramIndex, decorator) {
26512
26426
  return function (target, key) {
26513
26427
  decorator(target, key, paramIndex);
26514
26428
  };
@@ -26518,7 +26432,7 @@ let DefaultMathCirclePicker = class extends PickerBase {
26518
26432
  super(), this.canvasRenderer = canvasRenderer, this.type = "circle", this.numberType = CIRCLE_NUMBER_TYPE;
26519
26433
  }
26520
26434
  };
26521
- DefaultMathCirclePicker = __decorate$O([injectable(), __param$r(0, inject(CircleRender)), __metadata$E("design:paramtypes", [Object])], DefaultMathCirclePicker);
26435
+ DefaultMathCirclePicker = __decorate$Q([injectable(), __param$s(0, inject(CircleRender)), __metadata$F("design:paramtypes", [Object])], DefaultMathCirclePicker);
26522
26436
 
26523
26437
  let loadCirclePick$1 = !1;
26524
26438
  const circleMathPickModule = new ContainerModule((bind, unbind, isBound, rebind) => {
@@ -26549,17 +26463,17 @@ class GlyphPickerBase {
26549
26463
  }
26550
26464
  }
26551
26465
 
26552
- var __decorate$N = undefined && undefined.__decorate || function (decorators, target, key, desc) {
26466
+ var __decorate$P = undefined && undefined.__decorate || function (decorators, target, key, desc) {
26553
26467
  var d,
26554
26468
  c = arguments.length,
26555
26469
  r = c < 3 ? target : null === desc ? desc = Object.getOwnPropertyDescriptor(target, key) : desc;
26556
26470
  if ("object" == typeof Reflect && "function" == typeof Reflect.decorate) r = Reflect.decorate(decorators, target, key, desc);else for (var i = decorators.length - 1; i >= 0; i--) (d = decorators[i]) && (r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r);
26557
26471
  return c > 3 && r && Object.defineProperty(target, key, r), r;
26558
26472
  },
26559
- __metadata$D = undefined && undefined.__metadata || function (k, v) {
26473
+ __metadata$E = undefined && undefined.__metadata || function (k, v) {
26560
26474
  if ("object" == typeof Reflect && "function" == typeof Reflect.metadata) return Reflect.metadata(k, v);
26561
26475
  },
26562
- __param$q = undefined && undefined.__param || function (paramIndex, decorator) {
26476
+ __param$r = undefined && undefined.__param || function (paramIndex, decorator) {
26563
26477
  return function (target, key) {
26564
26478
  decorator(target, key, paramIndex);
26565
26479
  };
@@ -26569,14 +26483,14 @@ let DefaultMathGlyphPicker = class extends GlyphPickerBase {
26569
26483
  super(), this.canvasRenderer = canvasRenderer;
26570
26484
  }
26571
26485
  };
26572
- DefaultMathGlyphPicker = __decorate$N([injectable(), __param$q(0, inject(GlyphRender)), __metadata$D("design:paramtypes", [Object])], DefaultMathGlyphPicker);
26486
+ DefaultMathGlyphPicker = __decorate$P([injectable(), __param$r(0, inject(GlyphRender)), __metadata$E("design:paramtypes", [Object])], DefaultMathGlyphPicker);
26573
26487
 
26574
26488
  let loadGlyphPick$1 = !1;
26575
26489
  const glyphMathPickModule = new ContainerModule((bind, unbind, isBound, rebind) => {
26576
26490
  loadGlyphPick$1 || (loadGlyphPick$1 = !0, bind(MathGlyphPicker).to(DefaultMathGlyphPicker).inSingletonScope(), bind(DefaultMathGlyphPicker).toService(MathGlyphPicker));
26577
26491
  });
26578
26492
 
26579
- var __decorate$M = undefined && undefined.__decorate || function (decorators, target, key, desc) {
26493
+ var __decorate$O = undefined && undefined.__decorate || function (decorators, target, key, desc) {
26580
26494
  var d,
26581
26495
  c = arguments.length,
26582
26496
  r = c < 3 ? target : null === desc ? desc = Object.getOwnPropertyDescriptor(target, key) : desc;
@@ -26594,24 +26508,24 @@ let DefaultMathImagePicker = class {
26594
26508
  return !!pickContext && !!image.AABBBounds.containsPoint(point);
26595
26509
  }
26596
26510
  };
26597
- DefaultMathImagePicker = __decorate$M([injectable()], DefaultMathImagePicker);
26511
+ DefaultMathImagePicker = __decorate$O([injectable()], DefaultMathImagePicker);
26598
26512
 
26599
26513
  let loadImagePick$1 = !1;
26600
26514
  const imageMathPickModule = new ContainerModule((bind, unbind, isBound, rebind) => {
26601
26515
  loadImagePick$1 || (loadImagePick$1 = !0, bind(MathImagePicker).to(DefaultMathImagePicker).inSingletonScope(), bind(DefaultMathImagePicker).toService(MathImagePicker));
26602
26516
  });
26603
26517
 
26604
- var __decorate$L = undefined && undefined.__decorate || function (decorators, target, key, desc) {
26518
+ var __decorate$N = undefined && undefined.__decorate || function (decorators, target, key, desc) {
26605
26519
  var d,
26606
26520
  c = arguments.length,
26607
26521
  r = c < 3 ? target : null === desc ? desc = Object.getOwnPropertyDescriptor(target, key) : desc;
26608
26522
  if ("object" == typeof Reflect && "function" == typeof Reflect.decorate) r = Reflect.decorate(decorators, target, key, desc);else for (var i = decorators.length - 1; i >= 0; i--) (d = decorators[i]) && (r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r);
26609
26523
  return c > 3 && r && Object.defineProperty(target, key, r), r;
26610
26524
  },
26611
- __metadata$C = undefined && undefined.__metadata || function (k, v) {
26525
+ __metadata$D = undefined && undefined.__metadata || function (k, v) {
26612
26526
  if ("object" == typeof Reflect && "function" == typeof Reflect.metadata) return Reflect.metadata(k, v);
26613
26527
  },
26614
- __param$p = undefined && undefined.__param || function (paramIndex, decorator) {
26528
+ __param$q = undefined && undefined.__param || function (paramIndex, decorator) {
26615
26529
  return function (target, key) {
26616
26530
  decorator(target, key, paramIndex);
26617
26531
  };
@@ -26621,24 +26535,24 @@ let DefaultMathLinePicker = class extends PickerBase {
26621
26535
  super(), this.canvasRenderer = canvasRenderer, this.type = "line", this.numberType = LINE_NUMBER_TYPE;
26622
26536
  }
26623
26537
  };
26624
- DefaultMathLinePicker = __decorate$L([injectable(), __param$p(0, inject(LineRender)), __metadata$C("design:paramtypes", [Object])], DefaultMathLinePicker);
26538
+ DefaultMathLinePicker = __decorate$N([injectable(), __param$q(0, inject(LineRender)), __metadata$D("design:paramtypes", [Object])], DefaultMathLinePicker);
26625
26539
 
26626
26540
  let loadLinePick$1 = !1;
26627
26541
  const lineMathPickModule = new ContainerModule((bind, unbind, isBound, rebind) => {
26628
26542
  loadLinePick$1 || (loadLinePick$1 = !0, bind(MathLinePicker).to(DefaultMathLinePicker).inSingletonScope(), bind(MathPickerContribution).toService(MathLinePicker));
26629
26543
  });
26630
26544
 
26631
- var __decorate$K = undefined && undefined.__decorate || function (decorators, target, key, desc) {
26545
+ var __decorate$M = undefined && undefined.__decorate || function (decorators, target, key, desc) {
26632
26546
  var d,
26633
26547
  c = arguments.length,
26634
26548
  r = c < 3 ? target : null === desc ? desc = Object.getOwnPropertyDescriptor(target, key) : desc;
26635
26549
  if ("object" == typeof Reflect && "function" == typeof Reflect.decorate) r = Reflect.decorate(decorators, target, key, desc);else for (var i = decorators.length - 1; i >= 0; i--) (d = decorators[i]) && (r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r);
26636
26550
  return c > 3 && r && Object.defineProperty(target, key, r), r;
26637
26551
  },
26638
- __metadata$B = undefined && undefined.__metadata || function (k, v) {
26552
+ __metadata$C = undefined && undefined.__metadata || function (k, v) {
26639
26553
  if ("object" == typeof Reflect && "function" == typeof Reflect.metadata) return Reflect.metadata(k, v);
26640
26554
  },
26641
- __param$o = undefined && undefined.__param || function (paramIndex, decorator) {
26555
+ __param$p = undefined && undefined.__param || function (paramIndex, decorator) {
26642
26556
  return function (target, key) {
26643
26557
  decorator(target, key, paramIndex);
26644
26558
  };
@@ -26648,24 +26562,24 @@ let DefaultMathPolygonPicker = class extends PickerBase {
26648
26562
  super(), this.canvasRenderer = canvasRenderer, this.type = "polygon", this.numberType = POLYGON_NUMBER_TYPE;
26649
26563
  }
26650
26564
  };
26651
- DefaultMathPolygonPicker = __decorate$K([injectable(), __param$o(0, inject(PolygonRender)), __metadata$B("design:paramtypes", [Object])], DefaultMathPolygonPicker);
26565
+ DefaultMathPolygonPicker = __decorate$M([injectable(), __param$p(0, inject(PolygonRender)), __metadata$C("design:paramtypes", [Object])], DefaultMathPolygonPicker);
26652
26566
 
26653
26567
  let loadPolygonPick$1 = !1;
26654
26568
  const polygonMathPickModule = new ContainerModule((bind, unbind, isBound, rebind) => {
26655
26569
  loadPolygonPick$1 || (loadPolygonPick$1 = !0, bind(MathPolygonPicker).to(DefaultMathPolygonPicker).inSingletonScope(), bind(MathPickerContribution).toService(MathPolygonPicker));
26656
26570
  });
26657
26571
 
26658
- var __decorate$J = undefined && undefined.__decorate || function (decorators, target, key, desc) {
26572
+ var __decorate$L = undefined && undefined.__decorate || function (decorators, target, key, desc) {
26659
26573
  var d,
26660
26574
  c = arguments.length,
26661
26575
  r = c < 3 ? target : null === desc ? desc = Object.getOwnPropertyDescriptor(target, key) : desc;
26662
26576
  if ("object" == typeof Reflect && "function" == typeof Reflect.decorate) r = Reflect.decorate(decorators, target, key, desc);else for (var i = decorators.length - 1; i >= 0; i--) (d = decorators[i]) && (r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r);
26663
26577
  return c > 3 && r && Object.defineProperty(target, key, r), r;
26664
26578
  },
26665
- __metadata$A = undefined && undefined.__metadata || function (k, v) {
26579
+ __metadata$B = undefined && undefined.__metadata || function (k, v) {
26666
26580
  if ("object" == typeof Reflect && "function" == typeof Reflect.metadata) return Reflect.metadata(k, v);
26667
26581
  },
26668
- __param$n = undefined && undefined.__param || function (paramIndex, decorator) {
26582
+ __param$o = undefined && undefined.__param || function (paramIndex, decorator) {
26669
26583
  return function (target, key) {
26670
26584
  decorator(target, key, paramIndex);
26671
26585
  };
@@ -26675,7 +26589,7 @@ let DefaultMathPathPicker = class extends PickerBase {
26675
26589
  super(), this.canvasRenderer = canvasRenderer, this.type = "path", this.numberType = PATH_NUMBER_TYPE;
26676
26590
  }
26677
26591
  };
26678
- DefaultMathPathPicker = __decorate$J([injectable(), __param$n(0, inject(PathRender)), __metadata$A("design:paramtypes", [Object])], DefaultMathPathPicker);
26592
+ DefaultMathPathPicker = __decorate$L([injectable(), __param$o(0, inject(PathRender)), __metadata$B("design:paramtypes", [Object])], DefaultMathPathPicker);
26679
26593
 
26680
26594
  let loadPathPick$1 = !1;
26681
26595
  const pathMathPickModule = new ContainerModule((bind, unbind, isBound, rebind) => {
@@ -26730,17 +26644,17 @@ class RectPickerBase {
26730
26644
  }
26731
26645
  }
26732
26646
 
26733
- var __decorate$I = undefined && undefined.__decorate || function (decorators, target, key, desc) {
26647
+ var __decorate$K = undefined && undefined.__decorate || function (decorators, target, key, desc) {
26734
26648
  var d,
26735
26649
  c = arguments.length,
26736
26650
  r = c < 3 ? target : null === desc ? desc = Object.getOwnPropertyDescriptor(target, key) : desc;
26737
26651
  if ("object" == typeof Reflect && "function" == typeof Reflect.decorate) r = Reflect.decorate(decorators, target, key, desc);else for (var i = decorators.length - 1; i >= 0; i--) (d = decorators[i]) && (r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r);
26738
26652
  return c > 3 && r && Object.defineProperty(target, key, r), r;
26739
26653
  },
26740
- __metadata$z = undefined && undefined.__metadata || function (k, v) {
26654
+ __metadata$A = undefined && undefined.__metadata || function (k, v) {
26741
26655
  if ("object" == typeof Reflect && "function" == typeof Reflect.metadata) return Reflect.metadata(k, v);
26742
26656
  },
26743
- __param$m = undefined && undefined.__param || function (paramIndex, decorator) {
26657
+ __param$n = undefined && undefined.__param || function (paramIndex, decorator) {
26744
26658
  return function (target, key) {
26745
26659
  decorator(target, key, paramIndex);
26746
26660
  };
@@ -26750,7 +26664,7 @@ let DefaultMathRectPicker = class extends RectPickerBase {
26750
26664
  super(), this.canvasRenderer = canvasRenderer;
26751
26665
  }
26752
26666
  };
26753
- DefaultMathRectPicker = __decorate$I([injectable(), __param$m(0, inject(RectRender)), __metadata$z("design:paramtypes", [Object])], DefaultMathRectPicker);
26667
+ DefaultMathRectPicker = __decorate$K([injectable(), __param$n(0, inject(RectRender)), __metadata$A("design:paramtypes", [Object])], DefaultMathRectPicker);
26754
26668
 
26755
26669
  let loadRectPick$1 = !1;
26756
26670
  const rectMathPickModule = new ContainerModule((bind, unbind, isBound, rebind) => {
@@ -26762,17 +26676,17 @@ const richTextMathPickModule = new ContainerModule((bind, unbind, isBound, rebin
26762
26676
  loadRichTextPick || (loadRichTextPick = !0, bind(MathImagePicker).to(DefaultMathImagePicker).inSingletonScope(), bind(DefaultMathImagePicker).toService(MathImagePicker));
26763
26677
  });
26764
26678
 
26765
- var __decorate$H = undefined && undefined.__decorate || function (decorators, target, key, desc) {
26679
+ var __decorate$J = undefined && undefined.__decorate || function (decorators, target, key, desc) {
26766
26680
  var d,
26767
26681
  c = arguments.length,
26768
26682
  r = c < 3 ? target : null === desc ? desc = Object.getOwnPropertyDescriptor(target, key) : desc;
26769
26683
  if ("object" == typeof Reflect && "function" == typeof Reflect.decorate) r = Reflect.decorate(decorators, target, key, desc);else for (var i = decorators.length - 1; i >= 0; i--) (d = decorators[i]) && (r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r);
26770
26684
  return c > 3 && r && Object.defineProperty(target, key, r), r;
26771
26685
  },
26772
- __metadata$y = undefined && undefined.__metadata || function (k, v) {
26686
+ __metadata$z = undefined && undefined.__metadata || function (k, v) {
26773
26687
  if ("object" == typeof Reflect && "function" == typeof Reflect.metadata) return Reflect.metadata(k, v);
26774
26688
  },
26775
- __param$l = undefined && undefined.__param || function (paramIndex, decorator) {
26689
+ __param$m = undefined && undefined.__param || function (paramIndex, decorator) {
26776
26690
  return function (target, key) {
26777
26691
  decorator(target, key, paramIndex);
26778
26692
  };
@@ -26782,14 +26696,14 @@ let DefaultMathSymbolPicker = class extends PickerBase {
26782
26696
  super(), this.canvasRenderer = canvasRenderer, this.type = "symbol", this.numberType = SYMBOL_NUMBER_TYPE;
26783
26697
  }
26784
26698
  };
26785
- DefaultMathSymbolPicker = __decorate$H([injectable(), __param$l(0, inject(SymbolRender)), __metadata$y("design:paramtypes", [Object])], DefaultMathSymbolPicker);
26699
+ DefaultMathSymbolPicker = __decorate$J([injectable(), __param$m(0, inject(SymbolRender)), __metadata$z("design:paramtypes", [Object])], DefaultMathSymbolPicker);
26786
26700
 
26787
26701
  let loadSymbolPick$1 = !1;
26788
26702
  const symbolMathPickModule = new ContainerModule((bind, unbind, isBound, rebind) => {
26789
26703
  loadSymbolPick$1 || (loadSymbolPick$1 = !0, bind(MathSymbolPicker).to(DefaultMathSymbolPicker).inSingletonScope(), bind(MathPickerContribution).toService(MathSymbolPicker));
26790
26704
  });
26791
26705
 
26792
- var __decorate$G = undefined && undefined.__decorate || function (decorators, target, key, desc) {
26706
+ var __decorate$I = undefined && undefined.__decorate || function (decorators, target, key, desc) {
26793
26707
  var d,
26794
26708
  c = arguments.length,
26795
26709
  r = c < 3 ? target : null === desc ? desc = Object.getOwnPropertyDescriptor(target, key) : desc;
@@ -26804,7 +26718,7 @@ let DefaultMathTextPicker = class {
26804
26718
  return !!text.AABBBounds.containsPoint(point);
26805
26719
  }
26806
26720
  };
26807
- DefaultMathTextPicker = __decorate$G([injectable()], DefaultMathTextPicker);
26721
+ DefaultMathTextPicker = __decorate$I([injectable()], DefaultMathTextPicker);
26808
26722
 
26809
26723
  let loadTextPick$1 = !1;
26810
26724
  const textMathPickModule = new ContainerModule((bind, unbind, isBound, rebind) => {
@@ -26887,19 +26801,20 @@ class CanvasWrapEnableWH {
26887
26801
  }
26888
26802
  }
26889
26803
 
26890
- var __decorate$F = undefined && undefined.__decorate || function (decorators, target, key, desc) {
26804
+ var __decorate$H = undefined && undefined.__decorate || function (decorators, target, key, desc) {
26891
26805
  var d,
26892
26806
  c = arguments.length,
26893
26807
  r = c < 3 ? target : null === desc ? desc = Object.getOwnPropertyDescriptor(target, key) : desc;
26894
26808
  if ("object" == typeof Reflect && "function" == typeof Reflect.decorate) r = Reflect.decorate(decorators, target, key, desc);else for (var i = decorators.length - 1; i >= 0; i--) (d = decorators[i]) && (r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r);
26895
26809
  return c > 3 && r && Object.defineProperty(target, key, r), r;
26896
26810
  },
26897
- __metadata$x = undefined && undefined.__metadata || function (k, v) {
26811
+ __metadata$y = undefined && undefined.__metadata || function (k, v) {
26898
26812
  if ("object" == typeof Reflect && "function" == typeof Reflect.metadata) return Reflect.metadata(k, v);
26899
26813
  };
26900
26814
  function makeUpCanvas$4(domref, canvasIdLists, canvasMap, freeCanvasIdx, freeCanvasList, pixelRatio) {
26901
26815
  const dpr = null != pixelRatio ? pixelRatio : tt.getSystemInfoSync().pixelRatio;
26902
26816
  canvasIdLists.forEach((id, i) => {
26817
+ if (canvasMap.has(id)) return;
26903
26818
  const ctx = tt.createCanvasContext(id),
26904
26819
  canvas = new CanvasWrapDisableWH(ctx.canvas || {}, ctx, dpr, domref.width, domref.height, id);
26905
26820
  ctx.canvas = canvas, canvasMap.set(id, canvas), i >= freeCanvasIdx && freeCanvasList.push(canvas);
@@ -26976,7 +26891,7 @@ let FeishuEnvContribution = class extends BaseEnvContribution {
26976
26891
  return null === (_a = null == event ? void 0 : event.type) || void 0 === _a || _a.startsWith("mouse"), event;
26977
26892
  }
26978
26893
  };
26979
- FeishuEnvContribution = __decorate$F([injectable(), __metadata$x("design:paramtypes", [])], FeishuEnvContribution);
26894
+ FeishuEnvContribution = __decorate$H([injectable(), __metadata$y("design:paramtypes", [])], FeishuEnvContribution);
26980
26895
 
26981
26896
  const feishuEnvModule = new ContainerModule(bind => {
26982
26897
  feishuEnvModule.isFeishuBound || (feishuEnvModule.isFeishuBound = !0, bind(FeishuEnvContribution).toSelf().inSingletonScope(), bind(EnvContribution).toService(FeishuEnvContribution));
@@ -26991,7 +26906,7 @@ function initFeishuEnv() {
26991
26906
  loadFeishuEnv(container);
26992
26907
  }
26993
26908
 
26994
- var __decorate$E = undefined && undefined.__decorate || function (decorators, target, key, desc) {
26909
+ var __decorate$G = undefined && undefined.__decorate || function (decorators, target, key, desc) {
26995
26910
  var d,
26996
26911
  c = arguments.length,
26997
26912
  r = c < 3 ? target : null === desc ? desc = Object.getOwnPropertyDescriptor(target, key) : desc;
@@ -27038,7 +26953,13 @@ let LynxContext2d = class extends BrowserContext2d {
27038
26953
  measureText(text) {
27039
26954
  let method = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : application.global.measureTextMethod;
27040
26955
  this.setTransform(1, 0, 0, 1, 0, 0, !0, application.global.devicePixelRatio);
27041
- return super.measureText(text, method);
26956
+ return {
26957
+ width: super.measureText(text, method).width,
26958
+ fontBoundingBoxDescent: void 0,
26959
+ fontBoundingBoxAscent: void 0,
26960
+ actualBoundingBoxAscent: void 0,
26961
+ actualBoundingBoxDescent: void 0
26962
+ };
27042
26963
  }
27043
26964
  createPattern(image, repetition) {
27044
26965
  return null;
@@ -27052,16 +26973,16 @@ let LynxContext2d = class extends BrowserContext2d {
27052
26973
  }));
27053
26974
  }
27054
26975
  };
27055
- LynxContext2d.env = "lynx", LynxContext2d = __decorate$E([injectable()], LynxContext2d);
26976
+ LynxContext2d.env = "lynx", LynxContext2d = __decorate$G([injectable()], LynxContext2d);
27056
26977
 
27057
- var __decorate$D = undefined && undefined.__decorate || function (decorators, target, key, desc) {
26978
+ var __decorate$F = undefined && undefined.__decorate || function (decorators, target, key, desc) {
27058
26979
  var d,
27059
26980
  c = arguments.length,
27060
26981
  r = c < 3 ? target : null === desc ? desc = Object.getOwnPropertyDescriptor(target, key) : desc;
27061
26982
  if ("object" == typeof Reflect && "function" == typeof Reflect.decorate) r = Reflect.decorate(decorators, target, key, desc);else for (var i = decorators.length - 1; i >= 0; i--) (d = decorators[i]) && (r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r);
27062
26983
  return c > 3 && r && Object.defineProperty(target, key, r), r;
27063
26984
  },
27064
- __metadata$w = undefined && undefined.__metadata || function (k, v) {
26985
+ __metadata$x = undefined && undefined.__metadata || function (k, v) {
27065
26986
  if ("object" == typeof Reflect && "function" == typeof Reflect.metadata) return Reflect.metadata(k, v);
27066
26987
  };
27067
26988
  let LynxCanvas = class extends BaseCanvas {
@@ -27077,19 +26998,19 @@ let LynxCanvas = class extends BaseCanvas {
27077
26998
  }
27078
26999
  release() {}
27079
27000
  };
27080
- LynxCanvas.env = "lynx", LynxCanvas = __decorate$D([injectable(), __metadata$w("design:paramtypes", [Object])], LynxCanvas);
27001
+ LynxCanvas.env = "lynx", LynxCanvas = __decorate$F([injectable(), __metadata$x("design:paramtypes", [Object])], LynxCanvas);
27081
27002
 
27082
- var __decorate$C = undefined && undefined.__decorate || function (decorators, target, key, desc) {
27003
+ var __decorate$E = undefined && undefined.__decorate || function (decorators, target, key, desc) {
27083
27004
  var d,
27084
27005
  c = arguments.length,
27085
27006
  r = c < 3 ? target : null === desc ? desc = Object.getOwnPropertyDescriptor(target, key) : desc;
27086
27007
  if ("object" == typeof Reflect && "function" == typeof Reflect.decorate) r = Reflect.decorate(decorators, target, key, desc);else for (var i = decorators.length - 1; i >= 0; i--) (d = decorators[i]) && (r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r);
27087
27008
  return c > 3 && r && Object.defineProperty(target, key, r), r;
27088
27009
  },
27089
- __metadata$v = undefined && undefined.__metadata || function (k, v) {
27010
+ __metadata$w = undefined && undefined.__metadata || function (k, v) {
27090
27011
  if ("object" == typeof Reflect && "function" == typeof Reflect.metadata) return Reflect.metadata(k, v);
27091
27012
  },
27092
- __param$k = undefined && undefined.__param || function (paramIndex, decorator) {
27013
+ __param$l = undefined && undefined.__param || function (paramIndex, decorator) {
27093
27014
  return function (target, key) {
27094
27015
  decorator(target, key, paramIndex);
27095
27016
  };
@@ -27227,21 +27148,21 @@ let LynxWindowHandlerContribution = class extends BaseWindowHandlerContribution
27227
27148
  context.nativeContext.save(), context.nativeContext.setTransform(dpr, 0, 0, dpr, 0, 0), context.clearRect(vb.x1, vb.y1, vb.x2 - vb.x1, vb.y2 - vb.y1), color && (context.fillStyle = color, context.fillRect(vb.x1, vb.y1, vb.x2 - vb.x1, vb.y2 - vb.y1)), context.nativeContext.restore();
27228
27149
  }
27229
27150
  };
27230
- LynxWindowHandlerContribution.env = "lynx", LynxWindowHandlerContribution = __decorate$C([injectable(), __param$k(0, inject(VGlobal)), __metadata$v("design:paramtypes", [Object])], LynxWindowHandlerContribution);
27151
+ LynxWindowHandlerContribution.env = "lynx", LynxWindowHandlerContribution = __decorate$E([injectable(), __param$l(0, inject(VGlobal)), __metadata$w("design:paramtypes", [Object])], LynxWindowHandlerContribution);
27231
27152
  const lynxWindowModule = new ContainerModule(bind => {
27232
27153
  bind(LynxWindowHandlerContribution).toSelf(), bind(WindowHandlerContribution).toDynamicValue(ctx => ctx.container.get(LynxWindowHandlerContribution)).whenTargetNamed(LynxWindowHandlerContribution.env);
27233
27154
  });
27234
27155
 
27235
27156
  const lynxCanvasModule = createModule(LynxCanvas, LynxContext2d);
27236
27157
 
27237
- var __decorate$B = undefined && undefined.__decorate || function (decorators, target, key, desc) {
27158
+ var __decorate$D = undefined && undefined.__decorate || function (decorators, target, key, desc) {
27238
27159
  var d,
27239
27160
  c = arguments.length,
27240
27161
  r = c < 3 ? target : null === desc ? desc = Object.getOwnPropertyDescriptor(target, key) : desc;
27241
27162
  if ("object" == typeof Reflect && "function" == typeof Reflect.decorate) r = Reflect.decorate(decorators, target, key, desc);else for (var i = decorators.length - 1; i >= 0; i--) (d = decorators[i]) && (r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r);
27242
27163
  return c > 3 && r && Object.defineProperty(target, key, r), r;
27243
27164
  },
27244
- __metadata$u = undefined && undefined.__metadata || function (k, v) {
27165
+ __metadata$v = undefined && undefined.__metadata || function (k, v) {
27245
27166
  if ("object" == typeof Reflect && "function" == typeof Reflect.metadata) return Reflect.metadata(k, v);
27246
27167
  };
27247
27168
  let ng = !1;
@@ -27351,7 +27272,7 @@ let LynxEnvContribution = class extends BaseEnvContribution {
27351
27272
  }
27352
27273
  release() {}
27353
27274
  };
27354
- LynxEnvContribution = __decorate$B([injectable(), __metadata$u("design:paramtypes", [])], LynxEnvContribution);
27275
+ LynxEnvContribution = __decorate$D([injectable(), __metadata$v("design:paramtypes", [])], LynxEnvContribution);
27355
27276
 
27356
27277
  const lynxEnvModule = new ContainerModule(bind => {
27357
27278
  lynxEnvModule.isLynxBound || (lynxEnvModule.isLynxBound = !0, bind(LynxEnvContribution).toSelf().inSingletonScope(), bind(EnvContribution).toService(LynxEnvContribution));
@@ -27366,14 +27287,14 @@ function initLynxEnv() {
27366
27287
  loadLynxEnv(container);
27367
27288
  }
27368
27289
 
27369
- var __decorate$A = undefined && undefined.__decorate || function (decorators, target, key, desc) {
27290
+ var __decorate$C = undefined && undefined.__decorate || function (decorators, target, key, desc) {
27370
27291
  var d,
27371
27292
  c = arguments.length,
27372
27293
  r = c < 3 ? target : null === desc ? desc = Object.getOwnPropertyDescriptor(target, key) : desc;
27373
27294
  if ("object" == typeof Reflect && "function" == typeof Reflect.decorate) r = Reflect.decorate(decorators, target, key, desc);else for (var i = decorators.length - 1; i >= 0; i--) (d = decorators[i]) && (r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r);
27374
27295
  return c > 3 && r && Object.defineProperty(target, key, r), r;
27375
27296
  },
27376
- __metadata$t = undefined && undefined.__metadata || function (k, v) {
27297
+ __metadata$u = undefined && undefined.__metadata || function (k, v) {
27377
27298
  if ("object" == typeof Reflect && "function" == typeof Reflect.metadata) return Reflect.metadata(k, v);
27378
27299
  };
27379
27300
  let NodeContext2d = class extends BrowserContext2d {
@@ -27385,16 +27306,16 @@ let NodeContext2d = class extends BrowserContext2d {
27385
27306
  }
27386
27307
  release() {}
27387
27308
  };
27388
- NodeContext2d.env = "node", NodeContext2d = __decorate$A([injectable(), __metadata$t("design:paramtypes", [Object, Number])], NodeContext2d);
27309
+ NodeContext2d.env = "node", NodeContext2d = __decorate$C([injectable(), __metadata$u("design:paramtypes", [Object, Number])], NodeContext2d);
27389
27310
 
27390
- var __decorate$z = undefined && undefined.__decorate || function (decorators, target, key, desc) {
27311
+ var __decorate$B = undefined && undefined.__decorate || function (decorators, target, key, desc) {
27391
27312
  var d,
27392
27313
  c = arguments.length,
27393
27314
  r = c < 3 ? target : null === desc ? desc = Object.getOwnPropertyDescriptor(target, key) : desc;
27394
27315
  if ("object" == typeof Reflect && "function" == typeof Reflect.decorate) r = Reflect.decorate(decorators, target, key, desc);else for (var i = decorators.length - 1; i >= 0; i--) (d = decorators[i]) && (r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r);
27395
27316
  return c > 3 && r && Object.defineProperty(target, key, r), r;
27396
27317
  },
27397
- __metadata$s = undefined && undefined.__metadata || function (k, v) {
27318
+ __metadata$t = undefined && undefined.__metadata || function (k, v) {
27398
27319
  if ("object" == typeof Reflect && "function" == typeof Reflect.metadata) return Reflect.metadata(k, v);
27399
27320
  };
27400
27321
  let NodeCanvas = class extends BaseCanvas {
@@ -27408,21 +27329,21 @@ let NodeCanvas = class extends BaseCanvas {
27408
27329
  this._nativeCanvas.release && isFunction$1(this._nativeCanvas.release) && this._nativeCanvas.release();
27409
27330
  }
27410
27331
  };
27411
- NodeCanvas.env = "node", NodeCanvas = __decorate$z([injectable(), __metadata$s("design:paramtypes", [Object])], NodeCanvas);
27332
+ NodeCanvas.env = "node", NodeCanvas = __decorate$B([injectable(), __metadata$t("design:paramtypes", [Object])], NodeCanvas);
27412
27333
 
27413
27334
  const nodeCanvasModule = createModule(NodeCanvas, NodeContext2d);
27414
27335
 
27415
- var __decorate$y = undefined && undefined.__decorate || function (decorators, target, key, desc) {
27336
+ var __decorate$A = undefined && undefined.__decorate || function (decorators, target, key, desc) {
27416
27337
  var d,
27417
27338
  c = arguments.length,
27418
27339
  r = c < 3 ? target : null === desc ? desc = Object.getOwnPropertyDescriptor(target, key) : desc;
27419
27340
  if ("object" == typeof Reflect && "function" == typeof Reflect.decorate) r = Reflect.decorate(decorators, target, key, desc);else for (var i = decorators.length - 1; i >= 0; i--) (d = decorators[i]) && (r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r);
27420
27341
  return c > 3 && r && Object.defineProperty(target, key, r), r;
27421
27342
  },
27422
- __metadata$r = undefined && undefined.__metadata || function (k, v) {
27343
+ __metadata$s = undefined && undefined.__metadata || function (k, v) {
27423
27344
  if ("object" == typeof Reflect && "function" == typeof Reflect.metadata) return Reflect.metadata(k, v);
27424
27345
  },
27425
- __param$j = undefined && undefined.__param || function (paramIndex, decorator) {
27346
+ __param$k = undefined && undefined.__param || function (paramIndex, decorator) {
27426
27347
  return function (target, key) {
27427
27348
  decorator(target, key, paramIndex);
27428
27349
  };
@@ -27513,12 +27434,12 @@ let NodeWindowHandlerContribution = class extends BaseWindowHandlerContribution
27513
27434
  }
27514
27435
  clearViewBox(color) {}
27515
27436
  };
27516
- NodeWindowHandlerContribution.env = "node", NodeWindowHandlerContribution = __decorate$y([injectable(), __param$j(0, inject(VGlobal)), __metadata$r("design:paramtypes", [Object])], NodeWindowHandlerContribution);
27437
+ NodeWindowHandlerContribution.env = "node", NodeWindowHandlerContribution = __decorate$A([injectable(), __param$k(0, inject(VGlobal)), __metadata$s("design:paramtypes", [Object])], NodeWindowHandlerContribution);
27517
27438
  const nodeWindowModule = new ContainerModule(bind => {
27518
27439
  bind(NodeWindowHandlerContribution).toSelf(), bind(WindowHandlerContribution).toDynamicValue(ctx => ctx.container.get(NodeWindowHandlerContribution)).whenTargetNamed(NodeWindowHandlerContribution.env);
27519
27440
  });
27520
27441
 
27521
- var __decorate$x = undefined && undefined.__decorate || function (decorators, target, key, desc) {
27442
+ var __decorate$z = undefined && undefined.__decorate || function (decorators, target, key, desc) {
27522
27443
  var d,
27523
27444
  c = arguments.length,
27524
27445
  r = c < 3 ? target : null === desc ? desc = Object.getOwnPropertyDescriptor(target, key) : desc;
@@ -27604,7 +27525,7 @@ let NodeEnvContribution = class extends BaseEnvContribution {
27604
27525
  release() {}
27605
27526
  createOffscreenCanvas(params) {}
27606
27527
  };
27607
- NodeEnvContribution = __decorate$x([injectable()], NodeEnvContribution);
27528
+ NodeEnvContribution = __decorate$z([injectable()], NodeEnvContribution);
27608
27529
 
27609
27530
  const nodeEnvModule = new ContainerModule(bind => {
27610
27531
  nodeEnvModule.isNodeBound || (nodeEnvModule.isNodeBound = !0, bind(NodeEnvContribution).toSelf().inSingletonScope(), bind(EnvContribution).toService(NodeEnvContribution));
@@ -27618,7 +27539,7 @@ function initNodeEnv() {
27618
27539
  loadNodeEnv(container);
27619
27540
  }
27620
27541
 
27621
- var __decorate$w = undefined && undefined.__decorate || function (decorators, target, key, desc) {
27542
+ var __decorate$y = undefined && undefined.__decorate || function (decorators, target, key, desc) {
27622
27543
  var d,
27623
27544
  c = arguments.length,
27624
27545
  r = c < 3 ? target : null === desc ? desc = Object.getOwnPropertyDescriptor(target, key) : desc;
@@ -27707,16 +27628,16 @@ let TaroContext2d = class extends BrowserContext2d {
27707
27628
  return this.nativeContext.createCircularGradient && this.nativeContext.createCircularGradient(x0, y0, r0, x1, y1, r1);
27708
27629
  }
27709
27630
  };
27710
- TaroContext2d.env = "taro", TaroContext2d = __decorate$w([injectable()], TaroContext2d);
27631
+ TaroContext2d.env = "taro", TaroContext2d = __decorate$y([injectable()], TaroContext2d);
27711
27632
 
27712
- var __decorate$v = undefined && undefined.__decorate || function (decorators, target, key, desc) {
27633
+ var __decorate$x = undefined && undefined.__decorate || function (decorators, target, key, desc) {
27713
27634
  var d,
27714
27635
  c = arguments.length,
27715
27636
  r = c < 3 ? target : null === desc ? desc = Object.getOwnPropertyDescriptor(target, key) : desc;
27716
27637
  if ("object" == typeof Reflect && "function" == typeof Reflect.decorate) r = Reflect.decorate(decorators, target, key, desc);else for (var i = decorators.length - 1; i >= 0; i--) (d = decorators[i]) && (r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r);
27717
27638
  return c > 3 && r && Object.defineProperty(target, key, r), r;
27718
27639
  },
27719
- __metadata$q = undefined && undefined.__metadata || function (k, v) {
27640
+ __metadata$r = undefined && undefined.__metadata || function (k, v) {
27720
27641
  if ("object" == typeof Reflect && "function" == typeof Reflect.metadata) return Reflect.metadata(k, v);
27721
27642
  };
27722
27643
  let TaroCanvas = class extends BaseCanvas {
@@ -27728,21 +27649,21 @@ let TaroCanvas = class extends BaseCanvas {
27728
27649
  }
27729
27650
  release() {}
27730
27651
  };
27731
- TaroCanvas.env = "taro", TaroCanvas = __decorate$v([injectable(), __metadata$q("design:paramtypes", [Object])], TaroCanvas);
27652
+ TaroCanvas.env = "taro", TaroCanvas = __decorate$x([injectable(), __metadata$r("design:paramtypes", [Object])], TaroCanvas);
27732
27653
 
27733
27654
  const taroCanvasModule = createModule(TaroCanvas, TaroContext2d);
27734
27655
 
27735
- var __decorate$u = undefined && undefined.__decorate || function (decorators, target, key, desc) {
27656
+ var __decorate$w = undefined && undefined.__decorate || function (decorators, target, key, desc) {
27736
27657
  var d,
27737
27658
  c = arguments.length,
27738
27659
  r = c < 3 ? target : null === desc ? desc = Object.getOwnPropertyDescriptor(target, key) : desc;
27739
27660
  if ("object" == typeof Reflect && "function" == typeof Reflect.decorate) r = Reflect.decorate(decorators, target, key, desc);else for (var i = decorators.length - 1; i >= 0; i--) (d = decorators[i]) && (r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r);
27740
27661
  return c > 3 && r && Object.defineProperty(target, key, r), r;
27741
27662
  },
27742
- __metadata$p = undefined && undefined.__metadata || function (k, v) {
27663
+ __metadata$q = undefined && undefined.__metadata || function (k, v) {
27743
27664
  if ("object" == typeof Reflect && "function" == typeof Reflect.metadata) return Reflect.metadata(k, v);
27744
27665
  },
27745
- __param$i = undefined && undefined.__param || function (paramIndex, decorator) {
27666
+ __param$j = undefined && undefined.__param || function (paramIndex, decorator) {
27746
27667
  return function (target, key) {
27747
27668
  decorator(target, key, paramIndex);
27748
27669
  };
@@ -27888,19 +27809,19 @@ let TaroWindowHandlerContribution = class extends BaseWindowHandlerContribution
27888
27809
  context.nativeContext.save(), context.nativeContext.setTransform(dpr, 0, 0, dpr, 0, 0), context.clearRect(vb.x1, vb.y1, vb.x2 - vb.x1, vb.y2 - vb.y1), color && (context.fillStyle = color, context.fillRect(vb.x1, vb.y1, vb.x2 - vb.x1, vb.y2 - vb.y1)), context.nativeContext.restore();
27889
27810
  }
27890
27811
  };
27891
- TaroWindowHandlerContribution.env = "taro", TaroWindowHandlerContribution = __decorate$u([injectable(), __param$i(0, inject(VGlobal)), __metadata$p("design:paramtypes", [Object])], TaroWindowHandlerContribution);
27812
+ TaroWindowHandlerContribution.env = "taro", TaroWindowHandlerContribution = __decorate$w([injectable(), __param$j(0, inject(VGlobal)), __metadata$q("design:paramtypes", [Object])], TaroWindowHandlerContribution);
27892
27813
  const taroWindowModule = new ContainerModule(bind => {
27893
27814
  bind(TaroWindowHandlerContribution).toSelf(), bind(WindowHandlerContribution).toDynamicValue(ctx => ctx.container.get(TaroWindowHandlerContribution)).whenTargetNamed(TaroWindowHandlerContribution.env);
27894
27815
  });
27895
27816
 
27896
- var __decorate$t = undefined && undefined.__decorate || function (decorators, target, key, desc) {
27817
+ var __decorate$v = undefined && undefined.__decorate || function (decorators, target, key, desc) {
27897
27818
  var d,
27898
27819
  c = arguments.length,
27899
27820
  r = c < 3 ? target : null === desc ? desc = Object.getOwnPropertyDescriptor(target, key) : desc;
27900
27821
  if ("object" == typeof Reflect && "function" == typeof Reflect.decorate) r = Reflect.decorate(decorators, target, key, desc);else for (var i = decorators.length - 1; i >= 0; i--) (d = decorators[i]) && (r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r);
27901
27822
  return c > 3 && r && Object.defineProperty(target, key, r), r;
27902
27823
  },
27903
- __metadata$o = undefined && undefined.__metadata || function (k, v) {
27824
+ __metadata$p = undefined && undefined.__metadata || function (k, v) {
27904
27825
  if ("object" == typeof Reflect && "function" == typeof Reflect.metadata) return Reflect.metadata(k, v);
27905
27826
  };
27906
27827
  function makeUpCanvas$2(domref, canvasIdLists, canvasMap, freeCanvasIdx, freeCanvasList, taro, dpr) {
@@ -27997,7 +27918,7 @@ let TaroEnvContribution = class extends BaseEnvContribution {
27997
27918
  }
27998
27919
  release() {}
27999
27920
  };
28000
- TaroEnvContribution = __decorate$t([injectable(), __metadata$o("design:paramtypes", [])], TaroEnvContribution);
27921
+ TaroEnvContribution = __decorate$v([injectable(), __metadata$p("design:paramtypes", [])], TaroEnvContribution);
28001
27922
 
28002
27923
  const taroEnvModule = new ContainerModule(bind => {
28003
27924
  taroEnvModule.isTaroBound || (taroEnvModule.isTaroBound = !0, bind(TaroEnvContribution).toSelf().inSingletonScope(), bind(EnvContribution).toService(TaroEnvContribution));
@@ -28012,7 +27933,7 @@ function initTaroEnv() {
28012
27933
  loadTaroEnv(container);
28013
27934
  }
28014
27935
 
28015
- var __decorate$s = undefined && undefined.__decorate || function (decorators, target, key, desc) {
27936
+ var __decorate$u = undefined && undefined.__decorate || function (decorators, target, key, desc) {
28016
27937
  var d,
28017
27938
  c = arguments.length,
28018
27939
  r = c < 3 ? target : null === desc ? desc = Object.getOwnPropertyDescriptor(target, key) : desc;
@@ -28025,16 +27946,16 @@ let WxContext2d = class extends BrowserContext2d {
28025
27946
  return null;
28026
27947
  }
28027
27948
  };
28028
- WxContext2d.env = "wx", WxContext2d = __decorate$s([injectable()], WxContext2d);
27949
+ WxContext2d.env = "wx", WxContext2d = __decorate$u([injectable()], WxContext2d);
28029
27950
 
28030
- var __decorate$r = undefined && undefined.__decorate || function (decorators, target, key, desc) {
27951
+ var __decorate$t = undefined && undefined.__decorate || function (decorators, target, key, desc) {
28031
27952
  var d,
28032
27953
  c = arguments.length,
28033
27954
  r = c < 3 ? target : null === desc ? desc = Object.getOwnPropertyDescriptor(target, key) : desc;
28034
27955
  if ("object" == typeof Reflect && "function" == typeof Reflect.decorate) r = Reflect.decorate(decorators, target, key, desc);else for (var i = decorators.length - 1; i >= 0; i--) (d = decorators[i]) && (r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r);
28035
27956
  return c > 3 && r && Object.defineProperty(target, key, r), r;
28036
27957
  },
28037
- __metadata$n = undefined && undefined.__metadata || function (k, v) {
27958
+ __metadata$o = undefined && undefined.__metadata || function (k, v) {
28038
27959
  if ("object" == typeof Reflect && "function" == typeof Reflect.metadata) return Reflect.metadata(k, v);
28039
27960
  };
28040
27961
  let WxCanvas = class extends BaseCanvas {
@@ -28046,21 +27967,21 @@ let WxCanvas = class extends BaseCanvas {
28046
27967
  }
28047
27968
  release() {}
28048
27969
  };
28049
- WxCanvas.env = "wx", WxCanvas = __decorate$r([injectable(), __metadata$n("design:paramtypes", [Object])], WxCanvas);
27970
+ WxCanvas.env = "wx", WxCanvas = __decorate$t([injectable(), __metadata$o("design:paramtypes", [Object])], WxCanvas);
28050
27971
 
28051
27972
  const wxCanvasModule = createModule(WxCanvas, WxContext2d);
28052
27973
 
28053
- var __decorate$q = undefined && undefined.__decorate || function (decorators, target, key, desc) {
27974
+ var __decorate$s = undefined && undefined.__decorate || function (decorators, target, key, desc) {
28054
27975
  var d,
28055
27976
  c = arguments.length,
28056
27977
  r = c < 3 ? target : null === desc ? desc = Object.getOwnPropertyDescriptor(target, key) : desc;
28057
27978
  if ("object" == typeof Reflect && "function" == typeof Reflect.decorate) r = Reflect.decorate(decorators, target, key, desc);else for (var i = decorators.length - 1; i >= 0; i--) (d = decorators[i]) && (r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r);
28058
27979
  return c > 3 && r && Object.defineProperty(target, key, r), r;
28059
27980
  },
28060
- __metadata$m = undefined && undefined.__metadata || function (k, v) {
27981
+ __metadata$n = undefined && undefined.__metadata || function (k, v) {
28061
27982
  if ("object" == typeof Reflect && "function" == typeof Reflect.metadata) return Reflect.metadata(k, v);
28062
27983
  },
28063
- __param$h = undefined && undefined.__param || function (paramIndex, decorator) {
27984
+ __param$i = undefined && undefined.__param || function (paramIndex, decorator) {
28064
27985
  return function (target, key) {
28065
27986
  decorator(target, key, paramIndex);
28066
27987
  };
@@ -28197,19 +28118,19 @@ let WxWindowHandlerContribution = class extends BaseWindowHandlerContribution {
28197
28118
  context.nativeContext.save(), context.nativeContext.setTransform(dpr, 0, 0, dpr, 0, 0), context.clearRect(vb.x1, vb.y1, vb.x2 - vb.x1, vb.y2 - vb.y1), color && (context.fillStyle = color, context.fillRect(vb.x1, vb.y1, vb.x2 - vb.x1, vb.y2 - vb.y1)), context.nativeContext.restore();
28198
28119
  }
28199
28120
  };
28200
- WxWindowHandlerContribution.env = "wx", WxWindowHandlerContribution = __decorate$q([injectable(), __param$h(0, inject(VGlobal)), __metadata$m("design:paramtypes", [Object])], WxWindowHandlerContribution);
28121
+ WxWindowHandlerContribution.env = "wx", WxWindowHandlerContribution = __decorate$s([injectable(), __param$i(0, inject(VGlobal)), __metadata$n("design:paramtypes", [Object])], WxWindowHandlerContribution);
28201
28122
  const wxWindowModule = new ContainerModule(bind => {
28202
28123
  bind(WxWindowHandlerContribution).toSelf(), bind(WindowHandlerContribution).toDynamicValue(ctx => ctx.container.get(WxWindowHandlerContribution)).whenTargetNamed(WxWindowHandlerContribution.env);
28203
28124
  });
28204
28125
 
28205
- var __decorate$p = undefined && undefined.__decorate || function (decorators, target, key, desc) {
28126
+ var __decorate$r = undefined && undefined.__decorate || function (decorators, target, key, desc) {
28206
28127
  var d,
28207
28128
  c = arguments.length,
28208
28129
  r = c < 3 ? target : null === desc ? desc = Object.getOwnPropertyDescriptor(target, key) : desc;
28209
28130
  if ("object" == typeof Reflect && "function" == typeof Reflect.decorate) r = Reflect.decorate(decorators, target, key, desc);else for (var i = decorators.length - 1; i >= 0; i--) (d = decorators[i]) && (r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r);
28210
28131
  return c > 3 && r && Object.defineProperty(target, key, r), r;
28211
28132
  },
28212
- __metadata$l = undefined && undefined.__metadata || function (k, v) {
28133
+ __metadata$m = undefined && undefined.__metadata || function (k, v) {
28213
28134
  if ("object" == typeof Reflect && "function" == typeof Reflect.metadata) return Reflect.metadata(k, v);
28214
28135
  },
28215
28136
  __awaiter$1 = undefined && undefined.__awaiter || function (thisArg, _arguments, P, generator) {
@@ -28242,7 +28163,7 @@ function makeUpCanvas$1(domref, canvasIdLists, canvasMap, freeCanvasIdx, freeCan
28242
28163
  const dpr = wx.getSystemInfoSync().pixelRatio;
28243
28164
  for (let i = 0; i < canvasIdLists.length; i++) {
28244
28165
  const id = canvasIdLists[i];
28245
- yield new Promise(resolve => {
28166
+ canvasMap.has(id) || (yield new Promise(resolve => {
28246
28167
  let data = wx.createSelectorQuery();
28247
28168
  component && (data = data.in(component)), data.select(`#${id}`).fields({
28248
28169
  node: !0,
@@ -28254,7 +28175,7 @@ function makeUpCanvas$1(domref, canvasIdLists, canvasMap, freeCanvasIdx, freeCan
28254
28175
  height = res[0].height;
28255
28176
  canvas.width = width * dpr, canvas.height = height * dpr, canvasMap.set(id, canvas), i >= freeCanvasIdx && freeCanvasList.push(canvas), resolve(null);
28256
28177
  });
28257
- });
28178
+ }));
28258
28179
  }
28259
28180
  });
28260
28181
  }
@@ -28323,7 +28244,7 @@ let WxEnvContribution = class extends BaseEnvContribution {
28323
28244
  return null === (_a = null == event ? void 0 : event.type) || void 0 === _a || _a.startsWith("mouse"), event;
28324
28245
  }
28325
28246
  };
28326
- WxEnvContribution = __decorate$p([injectable(), __metadata$l("design:paramtypes", [])], WxEnvContribution);
28247
+ WxEnvContribution = __decorate$r([injectable(), __metadata$m("design:paramtypes", [])], WxEnvContribution);
28327
28248
 
28328
28249
  const wxEnvModule = new ContainerModule(bind => {
28329
28250
  wxEnvModule._isWxBound || (wxEnvModule._isWxBound = !0, bind(WxEnvContribution).toSelf().inSingletonScope(), bind(EnvContribution).toService(WxEnvContribution));
@@ -28351,7 +28272,7 @@ function initAllEnv() {
28351
28272
  loadAllEnv(container);
28352
28273
  }
28353
28274
 
28354
- var __decorate$o = undefined && undefined.__decorate || function (decorators, target, key, desc) {
28275
+ var __decorate$q = undefined && undefined.__decorate || function (decorators, target, key, desc) {
28355
28276
  var d,
28356
28277
  c = arguments.length,
28357
28278
  r = c < 3 ? target : null === desc ? desc = Object.getOwnPropertyDescriptor(target, key) : desc;
@@ -28359,16 +28280,16 @@ var __decorate$o = undefined && undefined.__decorate || function (decorators, ta
28359
28280
  return c > 3 && r && Object.defineProperty(target, key, r), r;
28360
28281
  };
28361
28282
  let TTContext2d = class extends FeishuContext2d {};
28362
- TTContext2d.env = "tt", TTContext2d = __decorate$o([injectable()], TTContext2d);
28283
+ TTContext2d.env = "tt", TTContext2d = __decorate$q([injectable()], TTContext2d);
28363
28284
 
28364
- var __decorate$n = undefined && undefined.__decorate || function (decorators, target, key, desc) {
28285
+ var __decorate$p = undefined && undefined.__decorate || function (decorators, target, key, desc) {
28365
28286
  var d,
28366
28287
  c = arguments.length,
28367
28288
  r = c < 3 ? target : null === desc ? desc = Object.getOwnPropertyDescriptor(target, key) : desc;
28368
28289
  if ("object" == typeof Reflect && "function" == typeof Reflect.decorate) r = Reflect.decorate(decorators, target, key, desc);else for (var i = decorators.length - 1; i >= 0; i--) (d = decorators[i]) && (r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r);
28369
28290
  return c > 3 && r && Object.defineProperty(target, key, r), r;
28370
28291
  },
28371
- __metadata$k = undefined && undefined.__metadata || function (k, v) {
28292
+ __metadata$l = undefined && undefined.__metadata || function (k, v) {
28372
28293
  if ("object" == typeof Reflect && "function" == typeof Reflect.metadata) return Reflect.metadata(k, v);
28373
28294
  };
28374
28295
  let TTCanvas = class extends BaseCanvas {
@@ -28380,21 +28301,21 @@ let TTCanvas = class extends BaseCanvas {
28380
28301
  }
28381
28302
  release() {}
28382
28303
  };
28383
- TTCanvas.env = "tt", TTCanvas = __decorate$n([injectable(), __metadata$k("design:paramtypes", [Object])], TTCanvas);
28304
+ TTCanvas.env = "tt", TTCanvas = __decorate$p([injectable(), __metadata$l("design:paramtypes", [Object])], TTCanvas);
28384
28305
 
28385
28306
  const ttCanvasModule = createModule(TTCanvas, TTContext2d);
28386
28307
 
28387
- var __decorate$m = undefined && undefined.__decorate || function (decorators, target, key, desc) {
28308
+ var __decorate$o = undefined && undefined.__decorate || function (decorators, target, key, desc) {
28388
28309
  var d,
28389
28310
  c = arguments.length,
28390
28311
  r = c < 3 ? target : null === desc ? desc = Object.getOwnPropertyDescriptor(target, key) : desc;
28391
28312
  if ("object" == typeof Reflect && "function" == typeof Reflect.decorate) r = Reflect.decorate(decorators, target, key, desc);else for (var i = decorators.length - 1; i >= 0; i--) (d = decorators[i]) && (r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r);
28392
28313
  return c > 3 && r && Object.defineProperty(target, key, r), r;
28393
28314
  },
28394
- __metadata$j = undefined && undefined.__metadata || function (k, v) {
28315
+ __metadata$k = undefined && undefined.__metadata || function (k, v) {
28395
28316
  if ("object" == typeof Reflect && "function" == typeof Reflect.metadata) return Reflect.metadata(k, v);
28396
28317
  },
28397
- __param$g = undefined && undefined.__param || function (paramIndex, decorator) {
28318
+ __param$h = undefined && undefined.__param || function (paramIndex, decorator) {
28398
28319
  return function (target, key) {
28399
28320
  decorator(target, key, paramIndex);
28400
28321
  };
@@ -28530,19 +28451,19 @@ let TTWindowHandlerContribution = class extends BaseWindowHandlerContribution {
28530
28451
  context.nativeContext.save(), context.nativeContext.setTransform(dpr, 0, 0, dpr, 0, 0), context.clearRect(vb.x1, vb.y1, vb.x2 - vb.x1, vb.y2 - vb.y1), color && (context.fillStyle = color, context.fillRect(vb.x1, vb.y1, vb.x2 - vb.x1, vb.y2 - vb.y1)), context.nativeContext.restore();
28531
28452
  }
28532
28453
  };
28533
- TTWindowHandlerContribution.env = "tt", TTWindowHandlerContribution = __decorate$m([injectable(), __param$g(0, inject(VGlobal)), __metadata$j("design:paramtypes", [Object])], TTWindowHandlerContribution);
28454
+ TTWindowHandlerContribution.env = "tt", TTWindowHandlerContribution = __decorate$o([injectable(), __param$h(0, inject(VGlobal)), __metadata$k("design:paramtypes", [Object])], TTWindowHandlerContribution);
28534
28455
  const ttWindowModule = new ContainerModule(bind => {
28535
28456
  bind(TTWindowHandlerContribution).toSelf(), bind(WindowHandlerContribution).toDynamicValue(ctx => ctx.container.get(TTWindowHandlerContribution)).whenTargetNamed(TTWindowHandlerContribution.env);
28536
28457
  });
28537
28458
 
28538
- var __decorate$l = undefined && undefined.__decorate || function (decorators, target, key, desc) {
28459
+ var __decorate$n = undefined && undefined.__decorate || function (decorators, target, key, desc) {
28539
28460
  var d,
28540
28461
  c = arguments.length,
28541
28462
  r = c < 3 ? target : null === desc ? desc = Object.getOwnPropertyDescriptor(target, key) : desc;
28542
28463
  if ("object" == typeof Reflect && "function" == typeof Reflect.decorate) r = Reflect.decorate(decorators, target, key, desc);else for (var i = decorators.length - 1; i >= 0; i--) (d = decorators[i]) && (r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r);
28543
28464
  return c > 3 && r && Object.defineProperty(target, key, r), r;
28544
28465
  },
28545
- __metadata$i = undefined && undefined.__metadata || function (k, v) {
28466
+ __metadata$j = undefined && undefined.__metadata || function (k, v) {
28546
28467
  if ("object" == typeof Reflect && "function" == typeof Reflect.metadata) return Reflect.metadata(k, v);
28547
28468
  },
28548
28469
  __awaiter = undefined && undefined.__awaiter || function (thisArg, _arguments, P, generator) {
@@ -28575,7 +28496,7 @@ function makeUpCanvas(domref, canvasIdLists, canvasMap, freeCanvasIdx, freeCanva
28575
28496
  const dpr = tt.getSystemInfoSync().pixelRatio;
28576
28497
  for (let i = 0; i < canvasIdLists.length; i++) {
28577
28498
  const id = canvasIdLists[i];
28578
- yield new Promise(resolve => {
28499
+ canvasMap.has(id) || (yield new Promise(resolve => {
28579
28500
  let data = tt.createSelectorQuery();
28580
28501
  component && (data = data.in(component)), data.select(`#${id}`).node().exec(res => {
28581
28502
  const canvas = res[0].node,
@@ -28583,7 +28504,7 @@ function makeUpCanvas(domref, canvasIdLists, canvasMap, freeCanvasIdx, freeCanva
28583
28504
  height = canvas.height;
28584
28505
  canvas.width = width * dpr, canvas.height = height * dpr, canvasMap.set(id, canvas), i >= freeCanvasIdx && freeCanvasList.push(canvas), resolve(null);
28585
28506
  });
28586
- });
28507
+ }));
28587
28508
  }
28588
28509
  });
28589
28510
  }
@@ -28652,7 +28573,7 @@ let TTEnvContribution = class extends BaseEnvContribution {
28652
28573
  return null === (_a = null == event ? void 0 : event.type) || void 0 === _a || _a.startsWith("mouse"), event;
28653
28574
  }
28654
28575
  };
28655
- TTEnvContribution = __decorate$l([injectable(), __metadata$i("design:paramtypes", [])], TTEnvContribution);
28576
+ TTEnvContribution = __decorate$n([injectable(), __metadata$j("design:paramtypes", [])], TTEnvContribution);
28656
28577
 
28657
28578
  const ttEnvModule = new ContainerModule(bind => {
28658
28579
  ttEnvModule.isTTBound || (ttEnvModule.isTTBound = !0, bind(TTEnvContribution).toSelf().inSingletonScope(), bind(EnvContribution).toService(TTEnvContribution));
@@ -28667,7 +28588,7 @@ function initTTEnv() {
28667
28588
  loadTTEnv(container);
28668
28589
  }
28669
28590
 
28670
- var __decorate$k = undefined && undefined.__decorate || function (decorators, target, key, desc) {
28591
+ var __decorate$m = undefined && undefined.__decorate || function (decorators, target, key, desc) {
28671
28592
  var d,
28672
28593
  c = arguments.length,
28673
28594
  r = c < 3 ? target : null === desc ? desc = Object.getOwnPropertyDescriptor(target, key) : desc;
@@ -28752,16 +28673,16 @@ let HarmonyContext2d = class extends BrowserContext2d {
28752
28673
  }
28753
28674
  draw() {}
28754
28675
  };
28755
- HarmonyContext2d.env = "harmony", HarmonyContext2d = __decorate$k([injectable()], HarmonyContext2d);
28676
+ HarmonyContext2d.env = "harmony", HarmonyContext2d = __decorate$m([injectable()], HarmonyContext2d);
28756
28677
 
28757
- var __decorate$j = undefined && undefined.__decorate || function (decorators, target, key, desc) {
28678
+ var __decorate$l = undefined && undefined.__decorate || function (decorators, target, key, desc) {
28758
28679
  var d,
28759
28680
  c = arguments.length,
28760
28681
  r = c < 3 ? target : null === desc ? desc = Object.getOwnPropertyDescriptor(target, key) : desc;
28761
28682
  if ("object" == typeof Reflect && "function" == typeof Reflect.decorate) r = Reflect.decorate(decorators, target, key, desc);else for (var i = decorators.length - 1; i >= 0; i--) (d = decorators[i]) && (r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r);
28762
28683
  return c > 3 && r && Object.defineProperty(target, key, r), r;
28763
28684
  },
28764
- __metadata$h = undefined && undefined.__metadata || function (k, v) {
28685
+ __metadata$i = undefined && undefined.__metadata || function (k, v) {
28765
28686
  if ("object" == typeof Reflect && "function" == typeof Reflect.metadata) return Reflect.metadata(k, v);
28766
28687
  };
28767
28688
  let HarmonyCanvas = class extends BaseCanvas {
@@ -28774,19 +28695,19 @@ let HarmonyCanvas = class extends BaseCanvas {
28774
28695
  resize(width, height) {}
28775
28696
  release() {}
28776
28697
  };
28777
- HarmonyCanvas.env = "harmony", HarmonyCanvas = __decorate$j([injectable(), __metadata$h("design:paramtypes", [Object])], HarmonyCanvas);
28698
+ HarmonyCanvas.env = "harmony", HarmonyCanvas = __decorate$l([injectable(), __metadata$i("design:paramtypes", [Object])], HarmonyCanvas);
28778
28699
 
28779
- var __decorate$i = undefined && undefined.__decorate || function (decorators, target, key, desc) {
28700
+ var __decorate$k = undefined && undefined.__decorate || function (decorators, target, key, desc) {
28780
28701
  var d,
28781
28702
  c = arguments.length,
28782
28703
  r = c < 3 ? target : null === desc ? desc = Object.getOwnPropertyDescriptor(target, key) : desc;
28783
28704
  if ("object" == typeof Reflect && "function" == typeof Reflect.decorate) r = Reflect.decorate(decorators, target, key, desc);else for (var i = decorators.length - 1; i >= 0; i--) (d = decorators[i]) && (r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r);
28784
28705
  return c > 3 && r && Object.defineProperty(target, key, r), r;
28785
28706
  },
28786
- __metadata$g = undefined && undefined.__metadata || function (k, v) {
28707
+ __metadata$h = undefined && undefined.__metadata || function (k, v) {
28787
28708
  if ("object" == typeof Reflect && "function" == typeof Reflect.metadata) return Reflect.metadata(k, v);
28788
28709
  },
28789
- __param$f = undefined && undefined.__param || function (paramIndex, decorator) {
28710
+ __param$g = undefined && undefined.__param || function (paramIndex, decorator) {
28790
28711
  return function (target, key) {
28791
28712
  decorator(target, key, paramIndex);
28792
28713
  };
@@ -28923,21 +28844,21 @@ let HarmonyWindowHandlerContribution = class extends BaseWindowHandlerContributi
28923
28844
  context.nativeContext.save(), context.nativeContext.setTransform(dpr, 0, 0, dpr, 0, 0), context.clearRect(vb.x1, vb.y1, vb.x2 - vb.x1, vb.y2 - vb.y1), color && (context.fillStyle = color, context.fillRect(vb.x1, vb.y1, vb.x2 - vb.x1, vb.y2 - vb.y1)), context.nativeContext.restore();
28924
28845
  }
28925
28846
  };
28926
- HarmonyWindowHandlerContribution.env = "harmony", HarmonyWindowHandlerContribution = __decorate$i([injectable(), __param$f(0, inject(VGlobal)), __metadata$g("design:paramtypes", [Object])], HarmonyWindowHandlerContribution);
28847
+ HarmonyWindowHandlerContribution.env = "harmony", HarmonyWindowHandlerContribution = __decorate$k([injectable(), __param$g(0, inject(VGlobal)), __metadata$h("design:paramtypes", [Object])], HarmonyWindowHandlerContribution);
28927
28848
  const harmonyWindowModule = new ContainerModule(bind => {
28928
28849
  bind(HarmonyWindowHandlerContribution).toSelf(), bind(WindowHandlerContribution).toDynamicValue(ctx => ctx.container.get(HarmonyWindowHandlerContribution)).whenTargetNamed(HarmonyWindowHandlerContribution.env);
28929
28850
  });
28930
28851
 
28931
28852
  const harmonyCanvasModule = createModule(HarmonyCanvas, HarmonyContext2d);
28932
28853
 
28933
- var __decorate$h = undefined && undefined.__decorate || function (decorators, target, key, desc) {
28854
+ var __decorate$j = undefined && undefined.__decorate || function (decorators, target, key, desc) {
28934
28855
  var d,
28935
28856
  c = arguments.length,
28936
28857
  r = c < 3 ? target : null === desc ? desc = Object.getOwnPropertyDescriptor(target, key) : desc;
28937
28858
  if ("object" == typeof Reflect && "function" == typeof Reflect.decorate) r = Reflect.decorate(decorators, target, key, desc);else for (var i = decorators.length - 1; i >= 0; i--) (d = decorators[i]) && (r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r);
28938
28859
  return c > 3 && r && Object.defineProperty(target, key, r), r;
28939
28860
  },
28940
- __metadata$f = undefined && undefined.__metadata || function (k, v) {
28861
+ __metadata$g = undefined && undefined.__metadata || function (k, v) {
28941
28862
  if ("object" == typeof Reflect && "function" == typeof Reflect.metadata) return Reflect.metadata(k, v);
28942
28863
  };
28943
28864
  function createCanvas(width, height, id) {
@@ -29018,7 +28939,7 @@ let HarmonyEnvContribution = class extends BaseEnvContribution {
29018
28939
  }
29019
28940
  release() {}
29020
28941
  };
29021
- HarmonyEnvContribution = __decorate$h([injectable(), __metadata$f("design:paramtypes", [])], HarmonyEnvContribution);
28942
+ HarmonyEnvContribution = __decorate$j([injectable(), __metadata$g("design:paramtypes", [])], HarmonyEnvContribution);
29022
28943
 
29023
28944
  const harmonyEnvModule = new ContainerModule(bind => {
29024
28945
  harmonyEnvModule.isHarmonyBound || (harmonyEnvModule.isHarmonyBound = !0, bind(HarmonyEnvContribution).toSelf().inSingletonScope(), bind(EnvContribution).toService(HarmonyEnvContribution));
@@ -29033,17 +28954,17 @@ function initHarmonyEnv() {
29033
28954
  loadHarmonyEnv(container);
29034
28955
  }
29035
28956
 
29036
- var __decorate$g = undefined && undefined.__decorate || function (decorators, target, key, desc) {
28957
+ var __decorate$i = undefined && undefined.__decorate || function (decorators, target, key, desc) {
29037
28958
  var d,
29038
28959
  c = arguments.length,
29039
28960
  r = c < 3 ? target : null === desc ? desc = Object.getOwnPropertyDescriptor(target, key) : desc;
29040
28961
  if ("object" == typeof Reflect && "function" == typeof Reflect.decorate) r = Reflect.decorate(decorators, target, key, desc);else for (var i = decorators.length - 1; i >= 0; i--) (d = decorators[i]) && (r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r);
29041
28962
  return c > 3 && r && Object.defineProperty(target, key, r), r;
29042
28963
  },
29043
- __metadata$e = undefined && undefined.__metadata || function (k, v) {
28964
+ __metadata$f = undefined && undefined.__metadata || function (k, v) {
29044
28965
  if ("object" == typeof Reflect && "function" == typeof Reflect.metadata) return Reflect.metadata(k, v);
29045
28966
  },
29046
- __param$e = undefined && undefined.__param || function (paramIndex, decorator) {
28967
+ __param$f = undefined && undefined.__param || function (paramIndex, decorator) {
29047
28968
  return function (target, key) {
29048
28969
  decorator(target, key, paramIndex);
29049
28970
  };
@@ -29053,24 +28974,24 @@ let DefaultCanvasArcPicker = class extends PickerBase {
29053
28974
  super(), this.canvasRenderer = canvasRenderer, this.type = "arc", this.numberType = ARC_NUMBER_TYPE;
29054
28975
  }
29055
28976
  };
29056
- DefaultCanvasArcPicker = __decorate$g([injectable(), __param$e(0, inject(ArcRender)), __metadata$e("design:paramtypes", [Object])], DefaultCanvasArcPicker);
28977
+ DefaultCanvasArcPicker = __decorate$i([injectable(), __param$f(0, inject(ArcRender)), __metadata$f("design:paramtypes", [Object])], DefaultCanvasArcPicker);
29057
28978
 
29058
28979
  let loadArcPick = !1;
29059
28980
  const arcCanvasPickModule = new ContainerModule((bind, unbind, isBound, rebind) => {
29060
28981
  loadArcPick || (loadArcPick = !0, bind(CanvasArcPicker).to(DefaultCanvasArcPicker).inSingletonScope(), bind(CanvasPickerContribution).toService(CanvasArcPicker));
29061
28982
  });
29062
28983
 
29063
- var __decorate$f = undefined && undefined.__decorate || function (decorators, target, key, desc) {
28984
+ var __decorate$h = undefined && undefined.__decorate || function (decorators, target, key, desc) {
29064
28985
  var d,
29065
28986
  c = arguments.length,
29066
28987
  r = c < 3 ? target : null === desc ? desc = Object.getOwnPropertyDescriptor(target, key) : desc;
29067
28988
  if ("object" == typeof Reflect && "function" == typeof Reflect.decorate) r = Reflect.decorate(decorators, target, key, desc);else for (var i = decorators.length - 1; i >= 0; i--) (d = decorators[i]) && (r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r);
29068
28989
  return c > 3 && r && Object.defineProperty(target, key, r), r;
29069
28990
  },
29070
- __metadata$d = undefined && undefined.__metadata || function (k, v) {
28991
+ __metadata$e = undefined && undefined.__metadata || function (k, v) {
29071
28992
  if ("object" == typeof Reflect && "function" == typeof Reflect.metadata) return Reflect.metadata(k, v);
29072
28993
  },
29073
- __param$d = undefined && undefined.__param || function (paramIndex, decorator) {
28994
+ __param$e = undefined && undefined.__param || function (paramIndex, decorator) {
29074
28995
  return function (target, key) {
29075
28996
  decorator(target, key, paramIndex);
29076
28997
  };
@@ -29080,7 +29001,7 @@ let DefaultCanvasRectPicker = class extends RectPickerBase {
29080
29001
  super(), this.canvasRenderer = canvasRenderer;
29081
29002
  }
29082
29003
  };
29083
- DefaultCanvasRectPicker = __decorate$f([injectable(), __param$d(0, inject(RectRender)), __metadata$d("design:paramtypes", [Object])], DefaultCanvasRectPicker);
29004
+ DefaultCanvasRectPicker = __decorate$h([injectable(), __param$e(0, inject(RectRender)), __metadata$e("design:paramtypes", [Object])], DefaultCanvasRectPicker);
29084
29005
 
29085
29006
  let loadRectPick = !1;
29086
29007
  const rectCanvasPickModule = new ContainerModule((bind, unbind, isBound, rebind) => {
@@ -29122,17 +29043,17 @@ class BaseLinePicker extends BaseRender {
29122
29043
  }
29123
29044
  }
29124
29045
 
29125
- var __decorate$e = undefined && undefined.__decorate || function (decorators, target, key, desc) {
29046
+ var __decorate$g = undefined && undefined.__decorate || function (decorators, target, key, desc) {
29126
29047
  var d,
29127
29048
  c = arguments.length,
29128
29049
  r = c < 3 ? target : null === desc ? desc = Object.getOwnPropertyDescriptor(target, key) : desc;
29129
29050
  if ("object" == typeof Reflect && "function" == typeof Reflect.decorate) r = Reflect.decorate(decorators, target, key, desc);else for (var i = decorators.length - 1; i >= 0; i--) (d = decorators[i]) && (r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r);
29130
29051
  return c > 3 && r && Object.defineProperty(target, key, r), r;
29131
29052
  },
29132
- __metadata$c = undefined && undefined.__metadata || function (k, v) {
29053
+ __metadata$d = undefined && undefined.__metadata || function (k, v) {
29133
29054
  if ("object" == typeof Reflect && "function" == typeof Reflect.metadata) return Reflect.metadata(k, v);
29134
29055
  },
29135
- __param$c = undefined && undefined.__param || function (paramIndex, decorator) {
29056
+ __param$d = undefined && undefined.__param || function (paramIndex, decorator) {
29136
29057
  return function (target, key) {
29137
29058
  decorator(target, key, paramIndex);
29138
29059
  };
@@ -29142,24 +29063,24 @@ let DefaultCanvasLinePicker = class extends BaseLinePicker {
29142
29063
  super(), this.canvasRenderer = canvasRenderer, this.type = "line", this.numberType = LINE_NUMBER_TYPE;
29143
29064
  }
29144
29065
  };
29145
- DefaultCanvasLinePicker = __decorate$e([injectable(), __param$c(0, inject(LineRender)), __metadata$c("design:paramtypes", [Object])], DefaultCanvasLinePicker);
29066
+ DefaultCanvasLinePicker = __decorate$g([injectable(), __param$d(0, inject(LineRender)), __metadata$d("design:paramtypes", [Object])], DefaultCanvasLinePicker);
29146
29067
 
29147
29068
  let loadLinePick = !1;
29148
29069
  const lineCanvasPickModule = new ContainerModule((bind, unbind, isBound, rebind) => {
29149
29070
  loadLinePick || (loadLinePick = !0, bind(CanvasLinePicker).to(DefaultCanvasLinePicker).inSingletonScope(), bind(CanvasPickerContribution).toService(CanvasLinePicker));
29150
29071
  });
29151
29072
 
29152
- var __decorate$d = undefined && undefined.__decorate || function (decorators, target, key, desc) {
29073
+ var __decorate$f = undefined && undefined.__decorate || function (decorators, target, key, desc) {
29153
29074
  var d,
29154
29075
  c = arguments.length,
29155
29076
  r = c < 3 ? target : null === desc ? desc = Object.getOwnPropertyDescriptor(target, key) : desc;
29156
29077
  if ("object" == typeof Reflect && "function" == typeof Reflect.decorate) r = Reflect.decorate(decorators, target, key, desc);else for (var i = decorators.length - 1; i >= 0; i--) (d = decorators[i]) && (r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r);
29157
29078
  return c > 3 && r && Object.defineProperty(target, key, r), r;
29158
29079
  },
29159
- __metadata$b = undefined && undefined.__metadata || function (k, v) {
29080
+ __metadata$c = undefined && undefined.__metadata || function (k, v) {
29160
29081
  if ("object" == typeof Reflect && "function" == typeof Reflect.metadata) return Reflect.metadata(k, v);
29161
29082
  },
29162
- __param$b = undefined && undefined.__param || function (paramIndex, decorator) {
29083
+ __param$c = undefined && undefined.__param || function (paramIndex, decorator) {
29163
29084
  return function (target, key) {
29164
29085
  decorator(target, key, paramIndex);
29165
29086
  };
@@ -29169,7 +29090,7 @@ let DefaultCanvasAreaPicker = class extends PickerBase {
29169
29090
  super(), this.canvasRenderer = canvasRenderer, this.type = "area", this.numberType = AREA_NUMBER_TYPE;
29170
29091
  }
29171
29092
  };
29172
- DefaultCanvasAreaPicker = __decorate$d([injectable(), __param$b(0, inject(AreaRender)), __metadata$b("design:paramtypes", [Object])], DefaultCanvasAreaPicker);
29093
+ DefaultCanvasAreaPicker = __decorate$f([injectable(), __param$c(0, inject(AreaRender)), __metadata$c("design:paramtypes", [Object])], DefaultCanvasAreaPicker);
29173
29094
 
29174
29095
  let loadAreaPick = !1;
29175
29096
  const areaCanvasPickModule = new ContainerModule((bind, unbind, isBound, rebind) => {
@@ -29203,17 +29124,17 @@ class Base3dPicker extends BaseRender {
29203
29124
  }
29204
29125
  }
29205
29126
 
29206
- var __decorate$c = undefined && undefined.__decorate || function (decorators, target, key, desc) {
29127
+ var __decorate$e = undefined && undefined.__decorate || function (decorators, target, key, desc) {
29207
29128
  var d,
29208
29129
  c = arguments.length,
29209
29130
  r = c < 3 ? target : null === desc ? desc = Object.getOwnPropertyDescriptor(target, key) : desc;
29210
29131
  if ("object" == typeof Reflect && "function" == typeof Reflect.decorate) r = Reflect.decorate(decorators, target, key, desc);else for (var i = decorators.length - 1; i >= 0; i--) (d = decorators[i]) && (r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r);
29211
29132
  return c > 3 && r && Object.defineProperty(target, key, r), r;
29212
29133
  },
29213
- __metadata$a = undefined && undefined.__metadata || function (k, v) {
29134
+ __metadata$b = undefined && undefined.__metadata || function (k, v) {
29214
29135
  if ("object" == typeof Reflect && "function" == typeof Reflect.metadata) return Reflect.metadata(k, v);
29215
29136
  },
29216
- __param$a = undefined && undefined.__param || function (paramIndex, decorator) {
29137
+ __param$b = undefined && undefined.__param || function (paramIndex, decorator) {
29217
29138
  return function (target, key) {
29218
29139
  decorator(target, key, paramIndex);
29219
29140
  };
@@ -29258,24 +29179,24 @@ let DefaultCanvasSymbolPicker = class extends Base3dPicker {
29258
29179
  }), this.canvasRenderer.z = 0, pickContext.modelMatrix !== lastModelMatrix && mat4Allocate.free(pickContext.modelMatrix), pickContext.modelMatrix = lastModelMatrix, pickContext.highPerformanceRestore(), picked;
29259
29180
  }
29260
29181
  };
29261
- DefaultCanvasSymbolPicker = __decorate$c([injectable(), __param$a(0, inject(SymbolRender)), __metadata$a("design:paramtypes", [Object])], DefaultCanvasSymbolPicker);
29182
+ DefaultCanvasSymbolPicker = __decorate$e([injectable(), __param$b(0, inject(SymbolRender)), __metadata$b("design:paramtypes", [Object])], DefaultCanvasSymbolPicker);
29262
29183
 
29263
29184
  let loadSymbolPick = !1;
29264
29185
  const symbolCanvasPickModule = new ContainerModule((bind, unbind, isBound, rebind) => {
29265
29186
  loadSymbolPick || (loadSymbolPick = !0, bind(CanvasSymbolPicker).to(DefaultCanvasSymbolPicker).inSingletonScope(), bind(CanvasPickerContribution).toService(CanvasSymbolPicker));
29266
29187
  });
29267
29188
 
29268
- var __decorate$b = undefined && undefined.__decorate || function (decorators, target, key, desc) {
29189
+ var __decorate$d = undefined && undefined.__decorate || function (decorators, target, key, desc) {
29269
29190
  var d,
29270
29191
  c = arguments.length,
29271
29192
  r = c < 3 ? target : null === desc ? desc = Object.getOwnPropertyDescriptor(target, key) : desc;
29272
29193
  if ("object" == typeof Reflect && "function" == typeof Reflect.decorate) r = Reflect.decorate(decorators, target, key, desc);else for (var i = decorators.length - 1; i >= 0; i--) (d = decorators[i]) && (r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r);
29273
29194
  return c > 3 && r && Object.defineProperty(target, key, r), r;
29274
29195
  },
29275
- __metadata$9 = undefined && undefined.__metadata || function (k, v) {
29196
+ __metadata$a = undefined && undefined.__metadata || function (k, v) {
29276
29197
  if ("object" == typeof Reflect && "function" == typeof Reflect.metadata) return Reflect.metadata(k, v);
29277
29198
  },
29278
- __param$9 = undefined && undefined.__param || function (paramIndex, decorator) {
29199
+ __param$a = undefined && undefined.__param || function (paramIndex, decorator) {
29279
29200
  return function (target, key) {
29280
29201
  decorator(target, key, paramIndex);
29281
29202
  };
@@ -29285,24 +29206,24 @@ let DefaultCanvasCirclePicker = class extends PickerBase {
29285
29206
  super(), this.canvasRenderer = canvasRenderer, this.type = "circle", this.numberType = CIRCLE_NUMBER_TYPE;
29286
29207
  }
29287
29208
  };
29288
- DefaultCanvasCirclePicker = __decorate$b([injectable(), __param$9(0, inject(CircleRender)), __metadata$9("design:paramtypes", [Object])], DefaultCanvasCirclePicker);
29209
+ DefaultCanvasCirclePicker = __decorate$d([injectable(), __param$a(0, inject(CircleRender)), __metadata$a("design:paramtypes", [Object])], DefaultCanvasCirclePicker);
29289
29210
 
29290
29211
  let loadCirclePick = !1;
29291
29212
  const circleCanvasPickModule = new ContainerModule((bind, unbind, isBound, rebind) => {
29292
29213
  loadCirclePick || (loadCirclePick = !0, bind(CanvasCirclePicker).to(DefaultCanvasCirclePicker).inSingletonScope(), bind(CanvasPickerContribution).toService(CanvasCirclePicker));
29293
29214
  });
29294
29215
 
29295
- var __decorate$a = undefined && undefined.__decorate || function (decorators, target, key, desc) {
29216
+ var __decorate$c = undefined && undefined.__decorate || function (decorators, target, key, desc) {
29296
29217
  var d,
29297
29218
  c = arguments.length,
29298
29219
  r = c < 3 ? target : null === desc ? desc = Object.getOwnPropertyDescriptor(target, key) : desc;
29299
29220
  if ("object" == typeof Reflect && "function" == typeof Reflect.decorate) r = Reflect.decorate(decorators, target, key, desc);else for (var i = decorators.length - 1; i >= 0; i--) (d = decorators[i]) && (r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r);
29300
29221
  return c > 3 && r && Object.defineProperty(target, key, r), r;
29301
29222
  },
29302
- __metadata$8 = undefined && undefined.__metadata || function (k, v) {
29223
+ __metadata$9 = undefined && undefined.__metadata || function (k, v) {
29303
29224
  if ("object" == typeof Reflect && "function" == typeof Reflect.metadata) return Reflect.metadata(k, v);
29304
29225
  },
29305
- __param$8 = undefined && undefined.__param || function (paramIndex, decorator) {
29226
+ __param$9 = undefined && undefined.__param || function (paramIndex, decorator) {
29306
29227
  return function (target, key) {
29307
29228
  decorator(target, key, paramIndex);
29308
29229
  };
@@ -29355,24 +29276,24 @@ let DefaultCanvasTextPicker = class extends Base3dPicker {
29355
29276
  }, (context, symbolAttribute, themeAttribute) => picked), this.canvasRenderer.z = 0, pickContext.modelMatrix !== lastModelMatrix && mat4Allocate.free(pickContext.modelMatrix), pickContext.modelMatrix = lastModelMatrix, pickContext.highPerformanceRestore(), picked;
29356
29277
  }
29357
29278
  };
29358
- DefaultCanvasTextPicker = __decorate$a([injectable(), __param$8(0, inject(TextRender)), __metadata$8("design:paramtypes", [Object])], DefaultCanvasTextPicker);
29279
+ DefaultCanvasTextPicker = __decorate$c([injectable(), __param$9(0, inject(TextRender)), __metadata$9("design:paramtypes", [Object])], DefaultCanvasTextPicker);
29359
29280
 
29360
29281
  let loadTextPick = !1;
29361
29282
  const textCanvasPickModule = new ContainerModule((bind, unbind, isBound, rebind) => {
29362
29283
  loadTextPick || (loadTextPick = !0, bind(CanvasTextPicker).to(DefaultCanvasTextPicker).inSingletonScope(), bind(CanvasPickerContribution).toService(CanvasTextPicker));
29363
29284
  });
29364
29285
 
29365
- var __decorate$9 = undefined && undefined.__decorate || function (decorators, target, key, desc) {
29286
+ var __decorate$b = undefined && undefined.__decorate || function (decorators, target, key, desc) {
29366
29287
  var d,
29367
29288
  c = arguments.length,
29368
29289
  r = c < 3 ? target : null === desc ? desc = Object.getOwnPropertyDescriptor(target, key) : desc;
29369
29290
  if ("object" == typeof Reflect && "function" == typeof Reflect.decorate) r = Reflect.decorate(decorators, target, key, desc);else for (var i = decorators.length - 1; i >= 0; i--) (d = decorators[i]) && (r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r);
29370
29291
  return c > 3 && r && Object.defineProperty(target, key, r), r;
29371
29292
  },
29372
- __metadata$7 = undefined && undefined.__metadata || function (k, v) {
29293
+ __metadata$8 = undefined && undefined.__metadata || function (k, v) {
29373
29294
  if ("object" == typeof Reflect && "function" == typeof Reflect.metadata) return Reflect.metadata(k, v);
29374
29295
  },
29375
- __param$7 = undefined && undefined.__param || function (paramIndex, decorator) {
29296
+ __param$8 = undefined && undefined.__param || function (paramIndex, decorator) {
29376
29297
  return function (target, key) {
29377
29298
  decorator(target, key, paramIndex);
29378
29299
  };
@@ -29382,24 +29303,24 @@ let DefaultCanvasPathPicker = class extends BaseLinePicker {
29382
29303
  super(), this.canvasRenderer = canvasRenderer, this.type = "path", this.numberType = PATH_NUMBER_TYPE;
29383
29304
  }
29384
29305
  };
29385
- DefaultCanvasPathPicker = __decorate$9([injectable(), __param$7(0, inject(PathRender)), __metadata$7("design:paramtypes", [Object])], DefaultCanvasPathPicker);
29306
+ DefaultCanvasPathPicker = __decorate$b([injectable(), __param$8(0, inject(PathRender)), __metadata$8("design:paramtypes", [Object])], DefaultCanvasPathPicker);
29386
29307
 
29387
29308
  let loadPathPick = !1;
29388
29309
  const pathCanvasPickModule = new ContainerModule((bind, unbind, isBound, rebind) => {
29389
29310
  loadPathPick || (loadPathPick = !0, bind(CanvasPathPicker).to(DefaultCanvasPathPicker).inSingletonScope(), bind(CanvasPickerContribution).toService(CanvasPathPicker));
29390
29311
  });
29391
29312
 
29392
- var __decorate$8 = undefined && undefined.__decorate || function (decorators, target, key, desc) {
29313
+ var __decorate$a = undefined && undefined.__decorate || function (decorators, target, key, desc) {
29393
29314
  var d,
29394
29315
  c = arguments.length,
29395
29316
  r = c < 3 ? target : null === desc ? desc = Object.getOwnPropertyDescriptor(target, key) : desc;
29396
29317
  if ("object" == typeof Reflect && "function" == typeof Reflect.decorate) r = Reflect.decorate(decorators, target, key, desc);else for (var i = decorators.length - 1; i >= 0; i--) (d = decorators[i]) && (r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r);
29397
29318
  return c > 3 && r && Object.defineProperty(target, key, r), r;
29398
29319
  },
29399
- __metadata$6 = undefined && undefined.__metadata || function (k, v) {
29320
+ __metadata$7 = undefined && undefined.__metadata || function (k, v) {
29400
29321
  if ("object" == typeof Reflect && "function" == typeof Reflect.metadata) return Reflect.metadata(k, v);
29401
29322
  },
29402
- __param$6 = undefined && undefined.__param || function (paramIndex, decorator) {
29323
+ __param$7 = undefined && undefined.__param || function (paramIndex, decorator) {
29403
29324
  return function (target, key) {
29404
29325
  decorator(target, key, paramIndex);
29405
29326
  };
@@ -29409,24 +29330,24 @@ let DefaultCanvasPolygonPicker = class extends PickerBase {
29409
29330
  super(), this.canvasRenderer = canvasRenderer, this.type = "polygon", this.numberType = POLYGON_NUMBER_TYPE;
29410
29331
  }
29411
29332
  };
29412
- DefaultCanvasPolygonPicker = __decorate$8([injectable(), __param$6(0, inject(PolygonRender)), __metadata$6("design:paramtypes", [Object])], DefaultCanvasPolygonPicker);
29333
+ DefaultCanvasPolygonPicker = __decorate$a([injectable(), __param$7(0, inject(PolygonRender)), __metadata$7("design:paramtypes", [Object])], DefaultCanvasPolygonPicker);
29413
29334
 
29414
29335
  let loadPolygonPick = !1;
29415
29336
  const polygonCanvasPickModule = new ContainerModule((bind, unbind, isBound, rebind) => {
29416
29337
  loadPolygonPick || (loadPolygonPick = !0, bind(CanvasPolygonPicker).to(DefaultCanvasPolygonPicker).inSingletonScope(), bind(CanvasPickerContribution).toService(CanvasPolygonPicker));
29417
29338
  });
29418
29339
 
29419
- var __decorate$7 = undefined && undefined.__decorate || function (decorators, target, key, desc) {
29340
+ var __decorate$9 = undefined && undefined.__decorate || function (decorators, target, key, desc) {
29420
29341
  var d,
29421
29342
  c = arguments.length,
29422
29343
  r = c < 3 ? target : null === desc ? desc = Object.getOwnPropertyDescriptor(target, key) : desc;
29423
29344
  if ("object" == typeof Reflect && "function" == typeof Reflect.decorate) r = Reflect.decorate(decorators, target, key, desc);else for (var i = decorators.length - 1; i >= 0; i--) (d = decorators[i]) && (r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r);
29424
29345
  return c > 3 && r && Object.defineProperty(target, key, r), r;
29425
29346
  },
29426
- __metadata$5 = undefined && undefined.__metadata || function (k, v) {
29347
+ __metadata$6 = undefined && undefined.__metadata || function (k, v) {
29427
29348
  if ("object" == typeof Reflect && "function" == typeof Reflect.metadata) return Reflect.metadata(k, v);
29428
29349
  },
29429
- __param$5 = undefined && undefined.__param || function (paramIndex, decorator) {
29350
+ __param$6 = undefined && undefined.__param || function (paramIndex, decorator) {
29430
29351
  return function (target, key) {
29431
29352
  decorator(target, key, paramIndex);
29432
29353
  };
@@ -29436,24 +29357,24 @@ let DefaultCanvasGlyphPicker = class extends GlyphPickerBase {
29436
29357
  super(), this.canvasRenderer = canvasRenderer;
29437
29358
  }
29438
29359
  };
29439
- DefaultCanvasGlyphPicker = __decorate$7([injectable(), __param$5(0, inject(GlyphRender)), __metadata$5("design:paramtypes", [Object])], DefaultCanvasGlyphPicker);
29360
+ DefaultCanvasGlyphPicker = __decorate$9([injectable(), __param$6(0, inject(GlyphRender)), __metadata$6("design:paramtypes", [Object])], DefaultCanvasGlyphPicker);
29440
29361
 
29441
29362
  let loadGlyphPick = !1;
29442
29363
  const glyphCanvasPickModule = new ContainerModule((bind, unbind, isBound, rebind) => {
29443
29364
  loadGlyphPick || (loadGlyphPick = !0, bind(CanvasGlyphPicker).to(DefaultCanvasGlyphPicker).inSingletonScope(), bind(CanvasPickerContribution).toService(CanvasGlyphPicker));
29444
29365
  });
29445
29366
 
29446
- var __decorate$6 = undefined && undefined.__decorate || function (decorators, target, key, desc) {
29367
+ var __decorate$8 = undefined && undefined.__decorate || function (decorators, target, key, desc) {
29447
29368
  var d,
29448
29369
  c = arguments.length,
29449
29370
  r = c < 3 ? target : null === desc ? desc = Object.getOwnPropertyDescriptor(target, key) : desc;
29450
29371
  if ("object" == typeof Reflect && "function" == typeof Reflect.decorate) r = Reflect.decorate(decorators, target, key, desc);else for (var i = decorators.length - 1; i >= 0; i--) (d = decorators[i]) && (r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r);
29451
29372
  return c > 3 && r && Object.defineProperty(target, key, r), r;
29452
29373
  },
29453
- __metadata$4 = undefined && undefined.__metadata || function (k, v) {
29374
+ __metadata$5 = undefined && undefined.__metadata || function (k, v) {
29454
29375
  if ("object" == typeof Reflect && "function" == typeof Reflect.metadata) return Reflect.metadata(k, v);
29455
29376
  },
29456
- __param$4 = undefined && undefined.__param || function (paramIndex, decorator) {
29377
+ __param$5 = undefined && undefined.__param || function (paramIndex, decorator) {
29457
29378
  return function (target, key) {
29458
29379
  decorator(target, key, paramIndex);
29459
29380
  };
@@ -29466,14 +29387,14 @@ let DefaultCanvasRichTextPicker = class {
29466
29387
  return !!richtext.AABBBounds.containsPoint(point);
29467
29388
  }
29468
29389
  };
29469
- DefaultCanvasRichTextPicker = __decorate$6([injectable(), __param$4(0, inject(RichTextRender)), __metadata$4("design:paramtypes", [Object])], DefaultCanvasRichTextPicker);
29390
+ DefaultCanvasRichTextPicker = __decorate$8([injectable(), __param$5(0, inject(RichTextRender)), __metadata$5("design:paramtypes", [Object])], DefaultCanvasRichTextPicker);
29470
29391
 
29471
29392
  let loadRichtextPick = !1;
29472
29393
  const richtextCanvasPickModule = new ContainerModule((bind, unbind, isBound, rebind) => {
29473
29394
  loadRichtextPick || (loadRichtextPick = !0, bind(CanvasRichTextPicker).to(DefaultCanvasRichTextPicker).inSingletonScope(), bind(CanvasPickerContribution).toService(CanvasRichTextPicker));
29474
29395
  });
29475
29396
 
29476
- var __decorate$5 = undefined && undefined.__decorate || function (decorators, target, key, desc) {
29397
+ var __decorate$7 = undefined && undefined.__decorate || function (decorators, target, key, desc) {
29477
29398
  var d,
29478
29399
  c = arguments.length,
29479
29400
  r = c < 3 ? target : null === desc ? desc = Object.getOwnPropertyDescriptor(target, key) : desc;
@@ -29491,24 +29412,24 @@ let DefaultCanvasImagePicker = class {
29491
29412
  return !!pickContext && !!image.AABBBounds.containsPoint(point);
29492
29413
  }
29493
29414
  };
29494
- DefaultCanvasImagePicker = __decorate$5([injectable()], DefaultCanvasImagePicker);
29415
+ DefaultCanvasImagePicker = __decorate$7([injectable()], DefaultCanvasImagePicker);
29495
29416
 
29496
29417
  let loadImagePick = !1;
29497
29418
  const imageCanvasPickModule = new ContainerModule((bind, unbind, isBound, rebind) => {
29498
29419
  loadImagePick || (loadImagePick = !0, bind(CanvasImagePicker).to(DefaultCanvasImagePicker).inSingletonScope(), bind(CanvasPickerContribution).toService(CanvasImagePicker));
29499
29420
  });
29500
29421
 
29501
- var __decorate$4 = undefined && undefined.__decorate || function (decorators, target, key, desc) {
29422
+ var __decorate$6 = undefined && undefined.__decorate || function (decorators, target, key, desc) {
29502
29423
  var d,
29503
29424
  c = arguments.length,
29504
29425
  r = c < 3 ? target : null === desc ? desc = Object.getOwnPropertyDescriptor(target, key) : desc;
29505
29426
  if ("object" == typeof Reflect && "function" == typeof Reflect.decorate) r = Reflect.decorate(decorators, target, key, desc);else for (var i = decorators.length - 1; i >= 0; i--) (d = decorators[i]) && (r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r);
29506
29427
  return c > 3 && r && Object.defineProperty(target, key, r), r;
29507
29428
  },
29508
- __metadata$3 = undefined && undefined.__metadata || function (k, v) {
29429
+ __metadata$4 = undefined && undefined.__metadata || function (k, v) {
29509
29430
  if ("object" == typeof Reflect && "function" == typeof Reflect.metadata) return Reflect.metadata(k, v);
29510
29431
  },
29511
- __param$3 = undefined && undefined.__param || function (paramIndex, decorator) {
29432
+ __param$4 = undefined && undefined.__param || function (paramIndex, decorator) {
29512
29433
  return function (target, key) {
29513
29434
  decorator(target, key, paramIndex);
29514
29435
  };
@@ -29518,24 +29439,24 @@ let DefaultCanvasRect3dPicker = class extends Base3dPicker {
29518
29439
  super(), this.canvasRenderer = canvasRenderer, this.type = "rect3d", this.numberType = RECT3D_NUMBER_TYPE, this.themeType = "rect";
29519
29440
  }
29520
29441
  };
29521
- DefaultCanvasRect3dPicker = __decorate$4([injectable(), __param$3(0, inject(Rect3DRender)), __metadata$3("design:paramtypes", [Object])], DefaultCanvasRect3dPicker);
29442
+ DefaultCanvasRect3dPicker = __decorate$6([injectable(), __param$4(0, inject(Rect3DRender)), __metadata$4("design:paramtypes", [Object])], DefaultCanvasRect3dPicker);
29522
29443
 
29523
29444
  let loadRect3dPick = !1;
29524
29445
  const rect3dCanvasPickModule = new ContainerModule((bind, unbind, isBound, rebind) => {
29525
29446
  loadRect3dPick || (loadRect3dPick = !0, bind(CanvasRect3dPicker).to(DefaultCanvasRect3dPicker).inSingletonScope(), bind(CanvasPickerContribution).toService(CanvasRect3dPicker));
29526
29447
  });
29527
29448
 
29528
- var __decorate$3 = undefined && undefined.__decorate || function (decorators, target, key, desc) {
29449
+ var __decorate$5 = undefined && undefined.__decorate || function (decorators, target, key, desc) {
29529
29450
  var d,
29530
29451
  c = arguments.length,
29531
29452
  r = c < 3 ? target : null === desc ? desc = Object.getOwnPropertyDescriptor(target, key) : desc;
29532
29453
  if ("object" == typeof Reflect && "function" == typeof Reflect.decorate) r = Reflect.decorate(decorators, target, key, desc);else for (var i = decorators.length - 1; i >= 0; i--) (d = decorators[i]) && (r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r);
29533
29454
  return c > 3 && r && Object.defineProperty(target, key, r), r;
29534
29455
  },
29535
- __metadata$2 = undefined && undefined.__metadata || function (k, v) {
29456
+ __metadata$3 = undefined && undefined.__metadata || function (k, v) {
29536
29457
  if ("object" == typeof Reflect && "function" == typeof Reflect.metadata) return Reflect.metadata(k, v);
29537
29458
  },
29538
- __param$2 = undefined && undefined.__param || function (paramIndex, decorator) {
29459
+ __param$3 = undefined && undefined.__param || function (paramIndex, decorator) {
29539
29460
  return function (target, key) {
29540
29461
  decorator(target, key, paramIndex);
29541
29462
  };
@@ -29545,24 +29466,24 @@ let DefaultCanvasArc3dPicker = class extends Base3dPicker {
29545
29466
  super(), this.canvasRenderer = canvasRenderer, this.type = "arc3d", this.numberType = ARC3D_NUMBER_TYPE, this.themeType = "arc";
29546
29467
  }
29547
29468
  };
29548
- DefaultCanvasArc3dPicker = __decorate$3([injectable(), __param$2(0, inject(Arc3dRender)), __metadata$2("design:paramtypes", [Object])], DefaultCanvasArc3dPicker);
29469
+ DefaultCanvasArc3dPicker = __decorate$5([injectable(), __param$3(0, inject(Arc3dRender)), __metadata$3("design:paramtypes", [Object])], DefaultCanvasArc3dPicker);
29549
29470
 
29550
29471
  let loadArc3dPick = !1;
29551
29472
  const arc3dCanvasPickModule = new ContainerModule((bind, unbind, isBound, rebind) => {
29552
29473
  loadArc3dPick || (loadArc3dPick = !0, bind(CanvasArc3dPicker).to(DefaultCanvasArc3dPicker).inSingletonScope(), bind(CanvasPickerContribution).toService(CanvasArc3dPicker));
29553
29474
  });
29554
29475
 
29555
- var __decorate$2 = undefined && undefined.__decorate || function (decorators, target, key, desc) {
29476
+ var __decorate$4 = undefined && undefined.__decorate || function (decorators, target, key, desc) {
29556
29477
  var d,
29557
29478
  c = arguments.length,
29558
29479
  r = c < 3 ? target : null === desc ? desc = Object.getOwnPropertyDescriptor(target, key) : desc;
29559
29480
  if ("object" == typeof Reflect && "function" == typeof Reflect.decorate) r = Reflect.decorate(decorators, target, key, desc);else for (var i = decorators.length - 1; i >= 0; i--) (d = decorators[i]) && (r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r);
29560
29481
  return c > 3 && r && Object.defineProperty(target, key, r), r;
29561
29482
  },
29562
- __metadata$1 = undefined && undefined.__metadata || function (k, v) {
29483
+ __metadata$2 = undefined && undefined.__metadata || function (k, v) {
29563
29484
  if ("object" == typeof Reflect && "function" == typeof Reflect.metadata) return Reflect.metadata(k, v);
29564
29485
  },
29565
- __param$1 = undefined && undefined.__param || function (paramIndex, decorator) {
29486
+ __param$2 = undefined && undefined.__param || function (paramIndex, decorator) {
29566
29487
  return function (target, key) {
29567
29488
  decorator(target, key, paramIndex);
29568
29489
  };
@@ -29572,15 +29493,747 @@ let DefaultCanvasPyramid3dPicker = class extends Base3dPicker {
29572
29493
  super(), this.canvasRenderer = canvasRenderer, this.type = "pyramid3d", this.numberType = PYRAMID3D_NUMBER_TYPE, this.themeType = "polygon";
29573
29494
  }
29574
29495
  };
29575
- DefaultCanvasPyramid3dPicker = __decorate$2([injectable(), __param$1(0, inject(Pyramid3dRender)), __metadata$1("design:paramtypes", [Object])], DefaultCanvasPyramid3dPicker);
29496
+ DefaultCanvasPyramid3dPicker = __decorate$4([injectable(), __param$2(0, inject(Pyramid3dRender)), __metadata$2("design:paramtypes", [Object])], DefaultCanvasPyramid3dPicker);
29576
29497
 
29577
29498
  let loadPyramid3dPick = !1;
29578
29499
  const pyramid3dCanvasPickModule = new ContainerModule((bind, unbind, isBound, rebind) => {
29579
29500
  loadPyramid3dPick || (loadPyramid3dPick = !0, bind(CanvasPyramid3dPicker).to(DefaultCanvasPyramid3dPicker).inSingletonScope(), bind(CanvasPickerContribution).toService(CanvasPyramid3dPicker));
29580
29501
  });
29581
29502
 
29503
+ var lib$1 = {};
29504
+
29505
+ var gif = {};
29506
+
29507
+ var lib = {};
29508
+
29509
+ Object.defineProperty(lib, "__esModule", {
29510
+ value: true
29511
+ });
29512
+ lib.loop = lib.conditional = lib.parse = void 0;
29513
+ var parse = function parse(stream, schema) {
29514
+ var result = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : {};
29515
+ var parent = arguments.length > 3 && arguments[3] !== undefined ? arguments[3] : result;
29516
+ if (Array.isArray(schema)) {
29517
+ schema.forEach(function (partSchema) {
29518
+ return parse(stream, partSchema, result, parent);
29519
+ });
29520
+ } else if (typeof schema === 'function') {
29521
+ schema(stream, result, parent, parse);
29522
+ } else {
29523
+ var key = Object.keys(schema)[0];
29524
+ if (Array.isArray(schema[key])) {
29525
+ parent[key] = {};
29526
+ parse(stream, schema[key], result, parent[key]);
29527
+ } else {
29528
+ parent[key] = schema[key](stream, result, parent, parse);
29529
+ }
29530
+ }
29531
+ return result;
29532
+ };
29533
+ lib.parse = parse;
29534
+ var conditional = function conditional(schema, conditionFunc) {
29535
+ return function (stream, result, parent, parse) {
29536
+ if (conditionFunc(stream, result, parent)) {
29537
+ parse(stream, schema, result, parent);
29538
+ }
29539
+ };
29540
+ };
29541
+ lib.conditional = conditional;
29542
+ var loop = function loop(schema, continueFunc) {
29543
+ return function (stream, result, parent, parse) {
29544
+ var arr = [];
29545
+ var lastStreamPos = stream.pos;
29546
+ while (continueFunc(stream, result, parent)) {
29547
+ var newParent = {};
29548
+ parse(stream, schema, result, newParent); // cases when whole file is parsed but no termination is there and stream position is not getting updated as well
29549
+ // it falls into infinite recursion, null check to avoid the same
29550
+
29551
+ if (stream.pos === lastStreamPos) {
29552
+ break;
29553
+ }
29554
+ lastStreamPos = stream.pos;
29555
+ arr.push(newParent);
29556
+ }
29557
+ return arr;
29558
+ };
29559
+ };
29560
+ lib.loop = loop;
29561
+
29562
+ var uint8 = {};
29563
+
29564
+ Object.defineProperty(uint8, "__esModule", {
29565
+ value: true
29566
+ });
29567
+ uint8.readBits = uint8.readArray = uint8.readUnsigned = uint8.readString = uint8.peekBytes = uint8.readBytes = uint8.peekByte = uint8.readByte = uint8.buildStream = void 0;
29568
+
29569
+ // Default stream and parsers for Uint8TypedArray data type
29570
+ var buildStream = function buildStream(uint8Data) {
29571
+ return {
29572
+ data: uint8Data,
29573
+ pos: 0
29574
+ };
29575
+ };
29576
+ uint8.buildStream = buildStream;
29577
+ var readByte = function readByte() {
29578
+ return function (stream) {
29579
+ return stream.data[stream.pos++];
29580
+ };
29581
+ };
29582
+ uint8.readByte = readByte;
29583
+ var peekByte = function peekByte() {
29584
+ var offset = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : 0;
29585
+ return function (stream) {
29586
+ return stream.data[stream.pos + offset];
29587
+ };
29588
+ };
29589
+ uint8.peekByte = peekByte;
29590
+ var readBytes = function readBytes(length) {
29591
+ return function (stream) {
29592
+ return stream.data.subarray(stream.pos, stream.pos += length);
29593
+ };
29594
+ };
29595
+ uint8.readBytes = readBytes;
29596
+ var peekBytes = function peekBytes(length) {
29597
+ return function (stream) {
29598
+ return stream.data.subarray(stream.pos, stream.pos + length);
29599
+ };
29600
+ };
29601
+ uint8.peekBytes = peekBytes;
29602
+ var readString = function readString(length) {
29603
+ return function (stream) {
29604
+ return Array.from(readBytes(length)(stream)).map(function (value) {
29605
+ return String.fromCharCode(value);
29606
+ }).join('');
29607
+ };
29608
+ };
29609
+ uint8.readString = readString;
29610
+ var readUnsigned = function readUnsigned(littleEndian) {
29611
+ return function (stream) {
29612
+ var bytes = readBytes(2)(stream);
29613
+ return littleEndian ? (bytes[1] << 8) + bytes[0] : (bytes[0] << 8) + bytes[1];
29614
+ };
29615
+ };
29616
+ uint8.readUnsigned = readUnsigned;
29617
+ var readArray = function readArray(byteSize, totalOrFunc) {
29618
+ return function (stream, result, parent) {
29619
+ var total = typeof totalOrFunc === 'function' ? totalOrFunc(stream, result, parent) : totalOrFunc;
29620
+ var parser = readBytes(byteSize);
29621
+ var arr = new Array(total);
29622
+ for (var i = 0; i < total; i++) {
29623
+ arr[i] = parser(stream);
29624
+ }
29625
+ return arr;
29626
+ };
29627
+ };
29628
+ uint8.readArray = readArray;
29629
+ var subBitsTotal = function subBitsTotal(bits, startIndex, length) {
29630
+ var result = 0;
29631
+ for (var i = 0; i < length; i++) {
29632
+ result += bits[startIndex + i] && Math.pow(2, length - i - 1);
29633
+ }
29634
+ return result;
29635
+ };
29636
+ var readBits = function readBits(schema) {
29637
+ return function (stream) {
29638
+ var _byte = readByte()(stream); // convert the byte to bit array
29639
+
29640
+ var bits = new Array(8);
29641
+ for (var i = 0; i < 8; i++) {
29642
+ bits[7 - i] = !!(_byte & 1 << i);
29643
+ } // convert the bit array to values based on the schema
29644
+
29645
+ return Object.keys(schema).reduce(function (res, key) {
29646
+ var def = schema[key];
29647
+ if (def.length) {
29648
+ res[key] = subBitsTotal(bits, def.index, def.length);
29649
+ } else {
29650
+ res[key] = bits[def.index];
29651
+ }
29652
+ return res;
29653
+ }, {});
29654
+ };
29655
+ };
29656
+ uint8.readBits = readBits;
29657
+
29658
+ (function (exports) {
29659
+
29660
+ Object.defineProperty(exports, "__esModule", {
29661
+ value: true
29662
+ });
29663
+ exports["default"] = void 0;
29664
+ var _ = lib;
29665
+ var _uint = uint8;
29666
+
29667
+ // a set of 0x00 terminated subblocks
29668
+ var subBlocksSchema = {
29669
+ blocks: function blocks(stream) {
29670
+ var terminator = 0x00;
29671
+ var chunks = [];
29672
+ var streamSize = stream.data.length;
29673
+ var total = 0;
29674
+ for (var size = (0, _uint.readByte)()(stream); size !== terminator; size = (0, _uint.readByte)()(stream)) {
29675
+ // size becomes undefined for some case when file is corrupted and terminator is not proper
29676
+ // null check to avoid recursion
29677
+ if (!size) break; // catch corrupted files with no terminator
29678
+
29679
+ if (stream.pos + size >= streamSize) {
29680
+ var availableSize = streamSize - stream.pos;
29681
+ chunks.push((0, _uint.readBytes)(availableSize)(stream));
29682
+ total += availableSize;
29683
+ break;
29684
+ }
29685
+ chunks.push((0, _uint.readBytes)(size)(stream));
29686
+ total += size;
29687
+ }
29688
+ var result = new Uint8Array(total);
29689
+ var offset = 0;
29690
+ for (var i = 0; i < chunks.length; i++) {
29691
+ result.set(chunks[i], offset);
29692
+ offset += chunks[i].length;
29693
+ }
29694
+ return result;
29695
+ }
29696
+ }; // global control extension
29697
+
29698
+ var gceSchema = (0, _.conditional)({
29699
+ gce: [{
29700
+ codes: (0, _uint.readBytes)(2)
29701
+ }, {
29702
+ byteSize: (0, _uint.readByte)()
29703
+ }, {
29704
+ extras: (0, _uint.readBits)({
29705
+ future: {
29706
+ index: 0,
29707
+ length: 3
29708
+ },
29709
+ disposal: {
29710
+ index: 3,
29711
+ length: 3
29712
+ },
29713
+ userInput: {
29714
+ index: 6
29715
+ },
29716
+ transparentColorGiven: {
29717
+ index: 7
29718
+ }
29719
+ })
29720
+ }, {
29721
+ delay: (0, _uint.readUnsigned)(true)
29722
+ }, {
29723
+ transparentColorIndex: (0, _uint.readByte)()
29724
+ }, {
29725
+ terminator: (0, _uint.readByte)()
29726
+ }]
29727
+ }, function (stream) {
29728
+ var codes = (0, _uint.peekBytes)(2)(stream);
29729
+ return codes[0] === 0x21 && codes[1] === 0xf9;
29730
+ }); // image pipeline block
29731
+
29732
+ var imageSchema = (0, _.conditional)({
29733
+ image: [{
29734
+ code: (0, _uint.readByte)()
29735
+ }, {
29736
+ descriptor: [{
29737
+ left: (0, _uint.readUnsigned)(true)
29738
+ }, {
29739
+ top: (0, _uint.readUnsigned)(true)
29740
+ }, {
29741
+ width: (0, _uint.readUnsigned)(true)
29742
+ }, {
29743
+ height: (0, _uint.readUnsigned)(true)
29744
+ }, {
29745
+ lct: (0, _uint.readBits)({
29746
+ exists: {
29747
+ index: 0
29748
+ },
29749
+ interlaced: {
29750
+ index: 1
29751
+ },
29752
+ sort: {
29753
+ index: 2
29754
+ },
29755
+ future: {
29756
+ index: 3,
29757
+ length: 2
29758
+ },
29759
+ size: {
29760
+ index: 5,
29761
+ length: 3
29762
+ }
29763
+ })
29764
+ }]
29765
+ }, (0, _.conditional)({
29766
+ lct: (0, _uint.readArray)(3, function (stream, result, parent) {
29767
+ return Math.pow(2, parent.descriptor.lct.size + 1);
29768
+ })
29769
+ }, function (stream, result, parent) {
29770
+ return parent.descriptor.lct.exists;
29771
+ }), {
29772
+ data: [{
29773
+ minCodeSize: (0, _uint.readByte)()
29774
+ }, subBlocksSchema]
29775
+ }]
29776
+ }, function (stream) {
29777
+ return (0, _uint.peekByte)()(stream) === 0x2c;
29778
+ }); // plain text block
29779
+
29780
+ var textSchema = (0, _.conditional)({
29781
+ text: [{
29782
+ codes: (0, _uint.readBytes)(2)
29783
+ }, {
29784
+ blockSize: (0, _uint.readByte)()
29785
+ }, {
29786
+ preData: function preData(stream, result, parent) {
29787
+ return (0, _uint.readBytes)(parent.text.blockSize)(stream);
29788
+ }
29789
+ }, subBlocksSchema]
29790
+ }, function (stream) {
29791
+ var codes = (0, _uint.peekBytes)(2)(stream);
29792
+ return codes[0] === 0x21 && codes[1] === 0x01;
29793
+ }); // application block
29794
+
29795
+ var applicationSchema = (0, _.conditional)({
29796
+ application: [{
29797
+ codes: (0, _uint.readBytes)(2)
29798
+ }, {
29799
+ blockSize: (0, _uint.readByte)()
29800
+ }, {
29801
+ id: function id(stream, result, parent) {
29802
+ return (0, _uint.readString)(parent.blockSize)(stream);
29803
+ }
29804
+ }, subBlocksSchema]
29805
+ }, function (stream) {
29806
+ var codes = (0, _uint.peekBytes)(2)(stream);
29807
+ return codes[0] === 0x21 && codes[1] === 0xff;
29808
+ }); // comment block
29809
+
29810
+ var commentSchema = (0, _.conditional)({
29811
+ comment: [{
29812
+ codes: (0, _uint.readBytes)(2)
29813
+ }, subBlocksSchema]
29814
+ }, function (stream) {
29815
+ var codes = (0, _uint.peekBytes)(2)(stream);
29816
+ return codes[0] === 0x21 && codes[1] === 0xfe;
29817
+ });
29818
+ var schema = [{
29819
+ header: [{
29820
+ signature: (0, _uint.readString)(3)
29821
+ }, {
29822
+ version: (0, _uint.readString)(3)
29823
+ }]
29824
+ }, {
29825
+ lsd: [{
29826
+ width: (0, _uint.readUnsigned)(true)
29827
+ }, {
29828
+ height: (0, _uint.readUnsigned)(true)
29829
+ }, {
29830
+ gct: (0, _uint.readBits)({
29831
+ exists: {
29832
+ index: 0
29833
+ },
29834
+ resolution: {
29835
+ index: 1,
29836
+ length: 3
29837
+ },
29838
+ sort: {
29839
+ index: 4
29840
+ },
29841
+ size: {
29842
+ index: 5,
29843
+ length: 3
29844
+ }
29845
+ })
29846
+ }, {
29847
+ backgroundColorIndex: (0, _uint.readByte)()
29848
+ }, {
29849
+ pixelAspectRatio: (0, _uint.readByte)()
29850
+ }]
29851
+ }, (0, _.conditional)({
29852
+ gct: (0, _uint.readArray)(3, function (stream, result) {
29853
+ return Math.pow(2, result.lsd.gct.size + 1);
29854
+ })
29855
+ }, function (stream, result) {
29856
+ return result.lsd.gct.exists;
29857
+ }),
29858
+ // content frames
29859
+ {
29860
+ frames: (0, _.loop)([gceSchema, applicationSchema, commentSchema, imageSchema, textSchema], function (stream) {
29861
+ var nextCode = (0, _uint.peekByte)()(stream); // rather than check for a terminator, we should check for the existence
29862
+ // of an ext or image block to avoid infinite loops
29863
+ //var terminator = 0x3B;
29864
+ //return nextCode !== terminator;
29865
+
29866
+ return nextCode === 0x21 || nextCode === 0x2c;
29867
+ })
29868
+ }];
29869
+ var _default = schema;
29870
+ exports["default"] = _default;
29871
+ })(gif);
29872
+
29873
+ var deinterlace$1 = {};
29874
+
29875
+ Object.defineProperty(deinterlace$1, "__esModule", {
29876
+ value: true
29877
+ });
29878
+ deinterlace$1.deinterlace = void 0;
29879
+
29880
+ /**
29881
+ * Deinterlace function from https://github.com/shachaf/jsgif
29882
+ */
29883
+ var deinterlace = function deinterlace(pixels, width) {
29884
+ var newPixels = new Array(pixels.length);
29885
+ var rows = pixels.length / width;
29886
+ var cpRow = function cpRow(toRow, fromRow) {
29887
+ var fromPixels = pixels.slice(fromRow * width, (fromRow + 1) * width);
29888
+ newPixels.splice.apply(newPixels, [toRow * width, width].concat(fromPixels));
29889
+ }; // See appendix E.
29890
+
29891
+ var offsets = [0, 4, 2, 1];
29892
+ var steps = [8, 8, 4, 2];
29893
+ var fromRow = 0;
29894
+ for (var pass = 0; pass < 4; pass++) {
29895
+ for (var toRow = offsets[pass]; toRow < rows; toRow += steps[pass]) {
29896
+ cpRow(toRow, fromRow);
29897
+ fromRow++;
29898
+ }
29899
+ }
29900
+ return newPixels;
29901
+ };
29902
+ deinterlace$1.deinterlace = deinterlace;
29903
+
29904
+ var lzw$1 = {};
29905
+
29906
+ Object.defineProperty(lzw$1, "__esModule", {
29907
+ value: true
29908
+ });
29909
+ lzw$1.lzw = void 0;
29910
+
29911
+ /**
29912
+ * javascript port of java LZW decompression
29913
+ * Original java author url: https://gist.github.com/devunwired/4479231
29914
+ */
29915
+ var lzw = function lzw(minCodeSize, data, pixelCount) {
29916
+ var MAX_STACK_SIZE = 4096;
29917
+ var nullCode = -1;
29918
+ var npix = pixelCount;
29919
+ var available, clear, code_mask, code_size, end_of_information, in_code, old_code, bits, code, i, datum, data_size, first, top, bi, pi;
29920
+ var dstPixels = new Array(pixelCount);
29921
+ var prefix = new Array(MAX_STACK_SIZE);
29922
+ var suffix = new Array(MAX_STACK_SIZE);
29923
+ var pixelStack = new Array(MAX_STACK_SIZE + 1); // Initialize GIF data stream decoder.
29924
+
29925
+ data_size = minCodeSize;
29926
+ clear = 1 << data_size;
29927
+ end_of_information = clear + 1;
29928
+ available = clear + 2;
29929
+ old_code = nullCode;
29930
+ code_size = data_size + 1;
29931
+ code_mask = (1 << code_size) - 1;
29932
+ for (code = 0; code < clear; code++) {
29933
+ prefix[code] = 0;
29934
+ suffix[code] = code;
29935
+ } // Decode GIF pixel stream.
29936
+
29937
+ var datum, bits, first, top, pi, bi;
29938
+ datum = bits = first = top = pi = bi = 0;
29939
+ for (i = 0; i < npix;) {
29940
+ if (top === 0) {
29941
+ if (bits < code_size) {
29942
+ // get the next byte
29943
+ datum += data[bi] << bits;
29944
+ bits += 8;
29945
+ bi++;
29946
+ continue;
29947
+ } // Get the next code.
29948
+
29949
+ code = datum & code_mask;
29950
+ datum >>= code_size;
29951
+ bits -= code_size; // Interpret the code
29952
+
29953
+ if (code > available || code == end_of_information) {
29954
+ break;
29955
+ }
29956
+ if (code == clear) {
29957
+ // Reset decoder.
29958
+ code_size = data_size + 1;
29959
+ code_mask = (1 << code_size) - 1;
29960
+ available = clear + 2;
29961
+ old_code = nullCode;
29962
+ continue;
29963
+ }
29964
+ if (old_code == nullCode) {
29965
+ pixelStack[top++] = suffix[code];
29966
+ old_code = code;
29967
+ first = code;
29968
+ continue;
29969
+ }
29970
+ in_code = code;
29971
+ if (code == available) {
29972
+ pixelStack[top++] = first;
29973
+ code = old_code;
29974
+ }
29975
+ while (code > clear) {
29976
+ pixelStack[top++] = suffix[code];
29977
+ code = prefix[code];
29978
+ }
29979
+ first = suffix[code] & 0xff;
29980
+ pixelStack[top++] = first; // add a new string to the table, but only if space is available
29981
+ // if not, just continue with current table until a clear code is found
29982
+ // (deferred clear code implementation as per GIF spec)
29983
+
29984
+ if (available < MAX_STACK_SIZE) {
29985
+ prefix[available] = old_code;
29986
+ suffix[available] = first;
29987
+ available++;
29988
+ if ((available & code_mask) === 0 && available < MAX_STACK_SIZE) {
29989
+ code_size++;
29990
+ code_mask += available;
29991
+ }
29992
+ }
29993
+ old_code = in_code;
29994
+ } // Pop a pixel off the pixel stack.
29995
+
29996
+ top--;
29997
+ dstPixels[pi++] = pixelStack[top];
29998
+ i++;
29999
+ }
30000
+ for (i = pi; i < npix; i++) {
30001
+ dstPixels[i] = 0; // clear missing pixels
30002
+ }
30003
+
30004
+ return dstPixels;
30005
+ };
30006
+ lzw$1.lzw = lzw;
30007
+
30008
+ Object.defineProperty(lib$1, "__esModule", {
30009
+ value: true
30010
+ });
30011
+ var decompressFrames_1 = lib$1.decompressFrames = lib$1.decompressFrame = parseGIF_1 = lib$1.parseGIF = void 0;
30012
+ var _gif = _interopRequireDefault(gif);
30013
+ var _jsBinarySchemaParser = lib;
30014
+ var _uint = uint8;
30015
+ var _deinterlace = deinterlace$1;
30016
+ var _lzw = lzw$1;
30017
+ function _interopRequireDefault(obj) {
30018
+ return obj && obj.__esModule ? obj : {
30019
+ "default": obj
30020
+ };
30021
+ }
30022
+ var parseGIF = function parseGIF(arrayBuffer) {
30023
+ var byteData = new Uint8Array(arrayBuffer);
30024
+ return (0, _jsBinarySchemaParser.parse)((0, _uint.buildStream)(byteData), _gif["default"]);
30025
+ };
30026
+ var parseGIF_1 = lib$1.parseGIF = parseGIF;
30027
+ var generatePatch = function generatePatch(image) {
30028
+ var totalPixels = image.pixels.length;
30029
+ var patchData = new Uint8ClampedArray(totalPixels * 4);
30030
+ for (var i = 0; i < totalPixels; i++) {
30031
+ var pos = i * 4;
30032
+ var colorIndex = image.pixels[i];
30033
+ var color = image.colorTable[colorIndex] || [0, 0, 0];
30034
+ patchData[pos] = color[0];
30035
+ patchData[pos + 1] = color[1];
30036
+ patchData[pos + 2] = color[2];
30037
+ patchData[pos + 3] = colorIndex !== image.transparentIndex ? 255 : 0;
30038
+ }
30039
+ return patchData;
30040
+ };
30041
+ var decompressFrame = function decompressFrame(frame, gct, buildImagePatch) {
30042
+ if (!frame.image) {
30043
+ console.warn('gif frame does not have associated image.');
30044
+ return;
30045
+ }
30046
+ var image = frame.image; // get the number of pixels
30047
+
30048
+ var totalPixels = image.descriptor.width * image.descriptor.height; // do lzw decompression
30049
+
30050
+ var pixels = (0, _lzw.lzw)(image.data.minCodeSize, image.data.blocks, totalPixels); // deal with interlacing if necessary
30051
+
30052
+ if (image.descriptor.lct.interlaced) {
30053
+ pixels = (0, _deinterlace.deinterlace)(pixels, image.descriptor.width);
30054
+ }
30055
+ var resultImage = {
30056
+ pixels: pixels,
30057
+ dims: {
30058
+ top: frame.image.descriptor.top,
30059
+ left: frame.image.descriptor.left,
30060
+ width: frame.image.descriptor.width,
30061
+ height: frame.image.descriptor.height
30062
+ }
30063
+ }; // color table
30064
+
30065
+ if (image.descriptor.lct && image.descriptor.lct.exists) {
30066
+ resultImage.colorTable = image.lct;
30067
+ } else {
30068
+ resultImage.colorTable = gct;
30069
+ } // add per frame relevant gce information
30070
+
30071
+ if (frame.gce) {
30072
+ resultImage.delay = (frame.gce.delay || 10) * 10; // convert to ms
30073
+
30074
+ resultImage.disposalType = frame.gce.extras.disposal; // transparency
30075
+
30076
+ if (frame.gce.extras.transparentColorGiven) {
30077
+ resultImage.transparentIndex = frame.gce.transparentColorIndex;
30078
+ }
30079
+ } // create canvas usable imagedata if desired
30080
+
30081
+ if (buildImagePatch) {
30082
+ resultImage.patch = generatePatch(resultImage);
30083
+ }
30084
+ return resultImage;
30085
+ };
30086
+ lib$1.decompressFrame = decompressFrame;
30087
+ var decompressFrames = function decompressFrames(parsedGif, buildImagePatches) {
30088
+ return parsedGif.frames.filter(function (f) {
30089
+ return f.image;
30090
+ }).map(function (f) {
30091
+ return decompressFrame(f, parsedGif.gct, buildImagePatches);
30092
+ });
30093
+ };
30094
+ decompressFrames_1 = lib$1.decompressFrames = decompressFrames;
30095
+
30096
+ const GIFIMAGE_NUMBER_TYPE = Generator.GenAutoIncrementId();
29582
30097
  const LOTTIE_NUMBER_TYPE = Generator.GenAutoIncrementId();
29583
30098
 
30099
+ class GifImage extends Image$1 {
30100
+ constructor(params) {
30101
+ super(params), this.type = "gif-image", this.numberType = GIFIMAGE_NUMBER_TYPE, this.loadGif();
30102
+ }
30103
+ loadGif() {
30104
+ if (isString$1(this.attribute.gifImage)) ResourceLoader.GetFile(this.attribute.gifImage, "arrayBuffer").then(res => {
30105
+ const gif = parseGIF_1(res),
30106
+ frames = decompressFrames_1(gif, !0);
30107
+ this.renderGIF(frames);
30108
+ }).catch(e => {
30109
+ console.error("Gif load error: ", e);
30110
+ });else if (this.attribute.gifImage instanceof ArrayBuffer) {
30111
+ const gif = parseGIF_1(this.attribute.gifImage),
30112
+ frames = decompressFrames_1(gif, !0);
30113
+ this.renderGIF(frames);
30114
+ }
30115
+ }
30116
+ renderGIF(frames) {
30117
+ this.loadedFrames = frames, this.frameIndex = 0, this.tempCanvas || (this.tempCanvas = application.global.createCanvas({}), this.tempCtx = this.tempCanvas.getContext("2d")), this.gifCanvas || (this.gifCanvas = application.global.createCanvas({}), this.gifCtx = this.gifCanvas.getContext("2d")), this.gifCanvas.width = frames[0].dims.width, this.gifCanvas.height = frames[0].dims.height, this.playing = !0, this.lastTime = new Date().getTime();
30118
+ const animation = this.animate();
30119
+ this.attribute.timeline && animation.setTimeline(this.attribute.timeline), animation.to({}, 1e3, "linear").loop(1 / 0);
30120
+ }
30121
+ renderFrame(context, x, y) {
30122
+ const frame = this.loadedFrames[this.frameIndex || 0];
30123
+ 2 === frame.disposalType && this.gifCtx.clearRect(0, 0, this.gifCanvas.width, this.gifCanvas.height), this.drawPatch(frame), this.manipulate(context, x, y);
30124
+ const diff = new Date().getTime() - this.lastTime;
30125
+ frame.delay < diff && (this.frameIndex++, this.lastTime = new Date().getTime()), this.frameIndex >= this.loadedFrames.length && (this.frameIndex = 0);
30126
+ }
30127
+ drawPatch(frame) {
30128
+ const dims = frame.dims;
30129
+ this.frameImageData && dims.width === this.frameImageData.width && dims.height === this.frameImageData.height || (this.tempCanvas.width = dims.width, this.tempCanvas.height = dims.height, this.frameImageData = this.tempCtx.createImageData(dims.width, dims.height)), this.frameImageData.data.set(frame.patch), this.tempCtx.putImageData(this.frameImageData, 0, 0), this.gifCtx.drawImage(this.tempCanvas, dims.left, dims.top);
30130
+ }
30131
+ manipulate(context, x, y) {
30132
+ context.drawImage(this.gifCanvas, 0, 0, this.gifCanvas.width, this.gifCanvas.height, x, y, this.attribute.width, this.attribute.height);
30133
+ }
30134
+ setAttribute(key, value, forceUpdateTag, context) {
30135
+ super.setAttribute(key, value, forceUpdateTag, context), "gifImage" === key && this.loadGif();
30136
+ }
30137
+ setAttributes(params, forceUpdateTag, context) {
30138
+ super.setAttributes(params, forceUpdateTag, context), params.gifImage && this.loadGif();
30139
+ }
30140
+ }
30141
+ function createGifImage(attributes) {
30142
+ return new GifImage(attributes);
30143
+ }
30144
+
30145
+ var __decorate$3 = undefined && undefined.__decorate || function (decorators, target, key, desc) {
30146
+ var d,
30147
+ c = arguments.length,
30148
+ r = c < 3 ? target : null === desc ? desc = Object.getOwnPropertyDescriptor(target, key) : desc;
30149
+ if ("object" == typeof Reflect && "function" == typeof Reflect.decorate) r = Reflect.decorate(decorators, target, key, desc);else for (var i = decorators.length - 1; i >= 0; i--) (d = decorators[i]) && (r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r);
30150
+ return c > 3 && r && Object.defineProperty(target, key, r), r;
30151
+ };
30152
+ let DefaultCanvasGifImagePicker = class {
30153
+ constructor() {
30154
+ this.type = "gif-image", this.numberType = GIFIMAGE_NUMBER_TYPE;
30155
+ }
30156
+ contains(gifImage, point, params) {
30157
+ const {
30158
+ pickContext: pickContext
30159
+ } = null != params ? params : {};
30160
+ return !!pickContext && !!gifImage.AABBBounds.containsPoint(point);
30161
+ }
30162
+ };
30163
+ DefaultCanvasGifImagePicker = __decorate$3([injectable()], DefaultCanvasGifImagePicker);
30164
+
30165
+ let loadGifImagePick = !1;
30166
+ const gifImageCanvasPickModule = new ContainerModule((bind, unbind, isBound, rebind) => {
30167
+ loadGifImagePick || (loadGifImagePick = !0, bind(CanvasGifImagePicker).to(DefaultCanvasGifImagePicker).inSingletonScope(), bind(CanvasPickerContribution).toService(CanvasGifImagePicker));
30168
+ });
30169
+
30170
+ var __decorate$2 = undefined && undefined.__decorate || function (decorators, target, key, desc) {
30171
+ var d,
30172
+ c = arguments.length,
30173
+ r = c < 3 ? target : null === desc ? desc = Object.getOwnPropertyDescriptor(target, key) : desc;
30174
+ if ("object" == typeof Reflect && "function" == typeof Reflect.decorate) r = Reflect.decorate(decorators, target, key, desc);else for (var i = decorators.length - 1; i >= 0; i--) (d = decorators[i]) && (r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r);
30175
+ return c > 3 && r && Object.defineProperty(target, key, r), r;
30176
+ },
30177
+ __metadata$1 = undefined && undefined.__metadata || function (k, v) {
30178
+ if ("object" == typeof Reflect && "function" == typeof Reflect.metadata) return Reflect.metadata(k, v);
30179
+ },
30180
+ __param$1 = undefined && undefined.__param || function (paramIndex, decorator) {
30181
+ return function (target, key) {
30182
+ decorator(target, key, paramIndex);
30183
+ };
30184
+ };
30185
+ let DefaultCanvasGifImageRender = class extends DefaultCanvasImageRender {
30186
+ constructor(imageRenderContribitions) {
30187
+ super(imageRenderContribitions), this.imageRenderContribitions = imageRenderContribitions, this.numberType = GIFIMAGE_NUMBER_TYPE, this._renderContribitions = void 0, this.builtinContributions = [defaultGifImageRenderContribution], this.init(imageRenderContribitions);
30188
+ }
30189
+ drawShape(image, context, x, y, drawContext, params, fillCb, strokeCb) {
30190
+ const imageAttribute = getTheme(image).image,
30191
+ {
30192
+ x: originX = imageAttribute.x,
30193
+ y: originY = imageAttribute.y,
30194
+ fillStrokeOrder = imageAttribute.fillStrokeOrder
30195
+ } = image.attribute,
30196
+ data = this.valid(image, imageAttribute, fillCb);
30197
+ if (!data) return;
30198
+ const {
30199
+ fVisible: fVisible,
30200
+ sVisible: sVisible,
30201
+ doFill: doFill,
30202
+ doStroke: doStroke
30203
+ } = data,
30204
+ _runFill = () => {
30205
+ doFill && fillCb && fillCb(context, image.attribute, imageAttribute);
30206
+ },
30207
+ _runStroke = () => {
30208
+ doStroke && (strokeCb ? strokeCb(context, image.attribute, imageAttribute) : sVisible && (context.setStrokeStyle(image, image.attribute, originX - x, originY - y, imageAttribute), context.stroke()));
30209
+ };
30210
+ fillStrokeOrder ? (_runStroke(), context.save(), context.clip(), this.beforeRenderStep(image, context, x, y, doFill, !1, fVisible, !1, imageAttribute, drawContext, fillCb), _runFill(), context.restore()) : (context.save(), context.clip(), this.beforeRenderStep(image, context, x, y, doFill, !1, fVisible, !1, imageAttribute, drawContext, fillCb), _runFill(), context.restore(), _runStroke()), this.afterRenderStep(image, context, x, y, doFill, !1, fVisible, !1, imageAttribute, drawContext, fillCb);
30211
+ }
30212
+ draw(image, renderService, drawContext) {
30213
+ const {
30214
+ context: context
30215
+ } = renderService.drawParams;
30216
+ if (!context) return;
30217
+ const imageAttribute = getTheme(image).image;
30218
+ this._draw(image, imageAttribute, !1, drawContext);
30219
+ }
30220
+ };
30221
+ DefaultCanvasGifImageRender = __decorate$2([injectable(), __param$1(0, inject(ContributionProvider)), __param$1(0, named(ImageRenderContribution)), __metadata$1("design:paramtypes", [Object])], DefaultCanvasGifImageRender);
30222
+ class DefaultGifImageRenderContribution extends DefaultRectRenderContribution {
30223
+ constructor() {
30224
+ super(...arguments), this.time = BaseRenderContributionTime.afterFillStroke, this.useStyle = !0, this.order = 0;
30225
+ }
30226
+ drawShape(image, context, x, y, doFill, doStroke, fVisible, sVisible, rectAttribute, drawContext, fillCb, strokeCb) {
30227
+ image.renderFrame && image.playing && image.renderFrame(context, x, y);
30228
+ }
30229
+ }
30230
+ const defaultGifImageRenderContribution = new DefaultGifImageRenderContribution();
30231
+
30232
+ let loadGifImageModule = !1;
30233
+ const gifImageModule = new ContainerModule(bind => {
30234
+ loadGifImageModule || (loadGifImageModule = !0, bind(DefaultCanvasGifImageRender).toSelf().inSingletonScope(), bind(GraphicRender).toService(DefaultCanvasGifImageRender));
30235
+ });
30236
+
29584
30237
  var lottie = {exports: {}};
29585
30238
 
29586
30239
  (function(module,exports){typeof navigator!=="undefined"&&function(global,factory){module.exports=factory();}(commonjsGlobal,function(){var svgNS='http://www.w3.org/2000/svg';var locationHref='';var _useWebWorker=false;var initialDefaultFrame=-999999;var setWebWorker=function setWebWorker(flag){_useWebWorker=!!flag;};var getWebWorker=function getWebWorker(){return _useWebWorker;};var setLocationHref=function setLocationHref(value){locationHref=value;};var getLocationHref=function getLocationHref(){return locationHref;};function createTag(type){// return {appendChild:function(){},setAttribute:function(){},style:{}}
@@ -30482,7 +31135,7 @@ const registerWrapText = _registerWrapText;
30482
31135
 
30483
31136
  const roughModule = _roughModule;
30484
31137
 
30485
- const version = "0.22.0-vstory.11";
31138
+ const version = "0.22.0-vstory.12";
30486
31139
  preLoadAllModule();
30487
31140
  if (isBrowserEnv()) {
30488
31141
  loadBrowserEnv(container);
@@ -30515,4 +31168,4 @@ registerReactAttributePlugin();
30515
31168
  registerDirectionalLight();
30516
31169
  registerOrthoCamera();
30517
31170
 
30518
- export { ACustomAnimate, ARC3D_NUMBER_TYPE, ARC_NUMBER_TYPE, AREA_NUMBER_TYPE, AbstractGraphicRender, Animate, AnimateGroup, AnimateGroup1, AnimateMode, AnimateStatus, AnimateStepType, Application, Arc, Arc3d, Arc3dRender, ArcRender, ArcRenderContribution, Area, AreaRender, AreaRenderContribution, AttributeAnimate, AttributeUpdateType, AutoEnablePlugins, BaseCanvas, BaseEnvContribution, BaseRender, BaseRenderContributionTime, BaseWindowHandlerContribution, Basis, BeforeRenderConstribution, BoundsContext, BoundsPicker, BrowserEnvContribution, CIRCLE_NUMBER_TYPE, Canvas3DDrawItemInterceptor, Canvas3DPickItemInterceptor, CanvasArc3dPicker, CanvasArcPicker, CanvasAreaPicker, CanvasCirclePicker, CanvasFactory, CanvasGlyphPicker, CanvasGroupPicker, CanvasImagePicker, CanvasLinePicker, CanvasLottiePicker, CanvasPathPicker, CanvasPickerContribution, CanvasPolygonPicker, CanvasPyramid3dPicker, CanvasRect3dPicker, CanvasRectPicker, CanvasRichTextPicker, CanvasSymbolPicker, CanvasTextLayout, CanvasTextPicker, CbAnimate, Circle, CircleRender, CircleRenderContribution, ClipAngleAnimate, ClipDirectionAnimate, ClipGraphicAnimate, ClipRadiusAnimate, ColorInterpolate, ColorStore, ColorType, CommonDrawItemInterceptorContribution, CommonRenderContribution, Container, ContainerModule, Context2dFactory, ContributionProvider, CurveContext, CurveTypeEnum, CustomEvent, CustomPath2D, CustomSymbolClass, DEFAULT_TEXT_FONT_FAMILY, DebugDrawItemInterceptorContribution, DefaultArcAllocate, DefaultArcAttribute, DefaultArcRenderContribution, DefaultAreaAllocate, DefaultAreaAttribute, DefaultAreaTextureRenderContribution, DefaultAttribute, DefaultBaseBackgroundRenderContribution, DefaultBaseInteractiveRenderContribution, DefaultBaseTextureRenderContribution, DefaultCanvasAllocate, DefaultCanvasArcRender, DefaultCanvasAreaRender, DefaultCanvasCircleRender, DefaultCanvasGroupRender, DefaultCanvasImageRender, DefaultCanvasLineRender, DefaultCanvasPathRender, DefaultCanvasPolygonRender, DefaultCanvasRectRender, DefaultCanvasSymbolRender, DefaultCanvasTextRender, DefaultCircleAllocate, DefaultCircleAttribute, DefaultCircleRenderContribution, DefaultConnectAttribute, DefaultDebugAttribute, DefaultFillStyle, DefaultGlobal, DefaultGlobalPickerService, DefaultGlyphAttribute, DefaultGraphicAllocate, DefaultGraphicMemoryManager, DefaultGraphicService, DefaultGraphicUtil, DefaultGroupAttribute, DefaultGroupBackgroundRenderContribution, DefaultImageAttribute, DefaultImageRenderContribution, DefaultLayerService, DefaultLayout, DefaultLineAllocate, DefaultLineAttribute, DefaultMat4Allocate, DefaultMatrixAllocate, DefaultMorphingAnimateConfig, DefaultPathAllocate, DefaultPathAttribute, DefaultPickService, DefaultPickStyle, DefaultPolygonAttribute, DefaultRect3dAttribute, DefaultRectAllocate, DefaultRectAttribute, DefaultRectRenderContribution, DefaultRenderService, DefaultRichTextAttribute, DefaultRichTextIconAttribute, DefaultStateAnimateConfig, DefaultStrokeStyle, DefaultStyle, DefaultSymbolAllocate, DefaultSymbolAttribute, DefaultSymbolClipRangeStrokeRenderContribution, DefaultSymbolRenderContribution, DefaultTextAllocate, DefaultTextAttribute, DefaultTextMeasureContribution, DefaultTextStyle, DefaultTicker, DefaultTimeline, DefaultTransform, DefaultTransformUtil, DefaultWindow, Direction$1 as Direction, DirectionalLight, DragNDrop, DrawContribution, DrawItemInterceptor, DynamicLayerHandlerContribution, Easing, Edge, EditModule, EmptyContext2d, EnvContribution, EventManager, EventSystem, EventTarget, FORMAT_ALL_TEXT_COMMAND, FORMAT_ELEMENT_COMMAND, FORMAT_TEXT_COMMAND, Factory, FadeInPlus, FederatedEvent, FederatedMouseEvent, FederatedPointerEvent, FederatedWheelEvent, FlexLayoutPlugin, Fragment, GLYPH_NUMBER_TYPE, GRAPHIC_UPDATE_TAG_KEY, GROUP_NUMBER_TYPE, Generator, Gesture, GlobalPickerService, Glyph, GlyphRender, Graphic, GraphicAnimate, GraphicCreator$1 as GraphicCreator, GraphicPicker, GraphicRender, GraphicService, GraphicUtil, Group, GroupFadeIn, GroupFadeOut, GroupRender, GroupRenderContribution, GroupUpdateAABBBoundsMode, HtmlAttributePlugin, IContainPointMode, IMAGE_NUMBER_TYPE, Image$1 as Image, ImageRender, ImageRenderContribution, IncreaseCount, IncrementalDrawContribution, InputText, InteractiveDrawItemInterceptorContribution, InteractivePickItemInterceptorContribution, InteractiveSubRenderContribution, LINE_NUMBER_TYPE, Layer, LayerService, Line$1 as Line, LineRender, Linear, LinearClosed, Lottie, ManualTickHandler, ManualTicker, Mat4Allocate, MathArcPicker, MathAreaPicker, MathCirclePicker, MathGlyphPicker, MathImagePicker, MathLinePicker, MathPathPicker, MathPickerContribution, MathPolygonPicker, MathRectPicker, MathSymbolPicker, MathTextPicker, MatrixAllocate, MeasureModeEnum, Meteor, MonotoneX, MonotoneY, MorphingPath, MotionPath, MultiToOneMorphingPath, NOWORK_ANIMATE_ATTR, Node, OrthoCamera, PATH_NUMBER_TYPE, POLYGON_NUMBER_TYPE, PURE_STYLE_KEY, PYRAMID3D_NUMBER_TYPE, Path, PathRender, PathRenderContribution, PickItemInterceptor, PickServiceInterceptor, PickerService, PluginService, Polygon, PolygonRender, PolygonRenderContribution, Pyramid3d, Pyramid3dRender, RAFTickHandler, REACT_TO_CANOPUS_EVENTS, REACT_TO_CANOPUS_EVENTS_LIST, RECT3D_NUMBER_TYPE, RECT_NUMBER_TYPE, RICHTEXT_NUMBER_TYPE, RafBasedSTO, ReactAttributePlugin, Rect, Rect3DRender, Rect3d, RectRender, RectRenderContribution, ReflectSegContext, RenderSelector, RenderService, ResourceLoader, RichText, RichTextEditPlugin, RichTextRender, RotateBySphereAnimate, SVG_ATTRIBUTE_MAP, SVG_ATTRIBUTE_MAP_KEYS, SVG_PARSE_ATTRIBUTE_MAP, SVG_PARSE_ATTRIBUTE_MAP_KEYS, SYMBOL_NUMBER_TYPE, SegContext, ShadowPickServiceInterceptorContribution, ShadowRoot, ShadowRootDrawItemInterceptorContribution, ShadowRootPickItemInterceptorContribution, SplitRectAfterRenderContribution, SplitRectBeforeRenderContribution, Stage, StaticLayerHandlerContribution, Step$1 as Step, StreamLight, SubAnimate, Symbol$1 as Symbol, SymbolRender, SymbolRenderContribution, TEXT_NUMBER_TYPE, TagPointsUpdate, Text, TextDirection, TextMeasureContribution, TextRender, TextRenderContribution, Theme, TimeOutTickHandler, TransformUtil, UpdateTag, VArc, VArc3d, VArea, VCircle, VGlobal, VGlyph, VGroup, VImage, VLine, VPath, VPolygon, VPyramid3d, VRect, VRect3d, VRichText, VSymbol, VText, VWindow, ViewTransform3dPlugin, VirtualLayerHandlerContribution, WILDCARD, WindowHandlerContribution, WrapText, XMLParser, _calculateLineHeight, _interpolateColor, _registerArc, addArcToBezierPath$1 as addArcToBezierPath, addAttributeToPrototype, alignBezierCurves, alignSubpath, application, applyTransformOnBezierCurves, arc3dCanvasPickModule, arc3dModule, arcCanvasPickModule, arcMathPickModule, arcModule, areaCanvasPickModule, areaMathPickModule, areaModule, bezier, bezierCurversToPath, binarySplitPolygon, bindContributionProvider, bindContributionProviderNoSingletonScope, boundStroke, browserEnvModule, builtInSymbolStrMap, builtinSymbols, builtinSymbolsMap, calcLineCache, calculateArcCornerRadius, calculateLineHeight, canvasAllocate, centroidOfSubpath, circleBounds, circleCanvasPickModule, circleMathPickModule, circleModule, clock, cloneGraphic, colorEqual, colorStringInterpolationToStr, container, cornerTangents, createArc, createArc3d, createArea, createCircle, createColor, createConicalGradient, createGlyph, createGroup, createImage, createImageElement$1 as createImageElement, createLine, createLottie, createMat4, createPath, createPolygon, createPyramid3d, createRect, createRect3d, createRectPath, createRichText, createShadowRoot, createStage, createSymbol, createText, createWrapText, cubicCalc, cubicLength, cubicPointAt, cubicSubdivide, decodeReactDom, defaultArcAllocate, defaultArcBackgroundRenderContribution, defaultArcRenderContribution, defaultArcTextureRenderContribution, defaultAreaAllocate, defaultBaseBackgroundRenderContribution, defaultBaseTextureRenderContribution, defaultCircleAllocate, defaultCircleBackgroundRenderContribution, defaultCircleRenderContribution, defaultCircleTextureRenderContribution, defaultGraphicMemoryManager, defaultGroupBackgroundRenderContribution, defaultImageBackgroundRenderContribution, defaultImageRenderContribution, defaultLineAllocate, defaultPathAllocate, defaultRectAllocate, defaultRectBackgroundRenderContribution, defaultRectRenderContribution, defaultRectTextureRenderContribution, defaultSymbolAllocate, defaultSymbolBackgroundRenderContribution, defaultSymbolClipRangeStrokeRenderContribution, defaultSymbolRenderContribution, defaultSymbolTextureRenderContribution, defaultTextAllocate, defaultTicker, defaultTimeline, drawArc, drawArcPath$1 as drawArcPath, drawAreaSegments, drawIncrementalAreaSegments, drawIncrementalSegments, drawSegments, enumCommandMap, feishuEnvModule, fillVisible, findBestMorphingRotation, findConfigIndexByCursorIdx, findCursorIdxByConfigIndex, findNextGraphic, flatten_simplify, foreach, foreachAsync, genBasisSegments, genBasisTypeSegments, genLinearClosedSegments, genLinearClosedTypeSegments, genLinearSegments, genLinearTypeSegments, genMonotoneXSegments, genMonotoneXTypeSegments, genMonotoneYSegments, genMonotoneYTypeSegments, genNumberType, genStepSegments, genStepTypeSegments, generatorPathEasingFunc, getAttributeFromDefaultAttrList, getConicGradientAt, getCurrentEnv, getDefaultCharacterConfig, getExtraModelMatrix, getModelMatrix, getRichTextBounds, getScaledStroke, getTextBounds, getTheme, getThemeFromGroup, globalTheme, glyphCanvasPickModule, glyphMathPickModule, glyphModule, graphicCreator, graphicService, graphicUtil, harmonyEnvModule, identityMat4, imageCanvasPickModule, imageMathPickModule, imageModule, incrementalAddTo, initAllEnv, initBrowserEnv, initFeishuEnv, initHarmonyEnv, initLynxEnv, initNodeEnv, initTTEnv, initTaroEnv, initWxEnv, inject, injectable, interpolateColor, interpolateGradientConicalColor, interpolateGradientLinearColor, interpolateGradientRadialColor, interpolatePureColorArray, intersect, isBrowserEnv, isNodeEnv, isSvg, isTransformKey, isXML, jsx, layerService, lineCanvasPickModule, lineMathPickModule, lineModule, loadAllEnv, loadAllModule, loadBrowserEnv, loadFeishuEnv, loadHarmonyEnv, loadLynxEnv, loadNodeEnv, loadTTEnv, loadTaroEnv, loadWxEnv, lookAt, lottieCanvasPickModule, lottieModule, lynxEnvModule, mat3Tomat4, mat4Allocate, matrixAllocate, morphPath, multiInject, multiToOneMorph, multiplyMat4Mat3, multiplyMat4Mat4, named, newThemeObj, nodeEnvModule, oneToMultiMorph, ortho, parsePadding, parseStroke, parseSvgPath, pathCanvasPickModule, pathMathPickModule, pathModule, pathToBezierCurves, point$3 as point, pointEqual, pointInterpolation, pointInterpolationHighPerformance, pointsEqual, pointsInterpolation, polygonCanvasPickModule, polygonMathPickModule, polygonModule, preLoadAllModule, pyramid3dCanvasPickModule, pyramid3dModule, quadCalc, quadLength, quadPointAt, rafBasedSto, rect3dCanvasPickModule, rect3dModule, rectCanvasPickModule, rectFillVisible, rectMathPickModule, rectModule, rectStrokeVisible, recursiveCallBinarySplit, registerArc, registerArc3d, registerArc3dGraphic, registerArcGraphic, registerArea, registerAreaGraphic, registerCircle, registerCircleGraphic, registerDirectionalLight, registerFlexLayoutPlugin, registerGlyph, registerGlyphGraphic, registerGroup, registerGroupGraphic, registerHtmlAttributePlugin, registerImage, registerImageGraphic, registerLine, registerLineGraphic, registerOrthoCamera, registerPath, registerPathGraphic, registerPolygon, registerPolygonGraphic, registerPyramid3d, registerPyramid3dGraphic, registerReactAttributePlugin, registerRect, registerRect3d, registerRect3dGraphic, registerRectGraphic, registerRichtext, registerRichtextGraphic, registerShadowRoot, registerShadowRootGraphic, registerSymbol, registerSymbolGraphic, registerText, registerTextGraphic, registerViewTransform3dPlugin, registerWrapText, registerWrapTextGraphic, renderCommandList, rewriteProto, richTextMathPickModule, richtextCanvasPickModule, richtextModule, rotateX, rotateY, rotateZ, roughModule, runFill, runStroke, scaleMat4, segments, shouldUseMat4, snapLength, splitArc, splitArea, splitCircle, splitGraphic, splitLine, splitPath, splitPolygon, splitRect, splitToGrids, strCommandMap, strokeVisible, symbolCanvasPickModule, symbolMathPickModule, symbolModule, taroEnvModule, textAttributesToStyle, textCanvasPickModule, textDrawOffsetX, textDrawOffsetY, textLayoutOffsetY, textMathPickModule, textModule, transformKeys, transformMat4, transformUtil, translate, ttEnvModule, version, verticalLayout, vglobal, waitForAllSubLayers, wrapCanvas, wrapContext, wxEnvModule, xul };
31171
+ export { ACustomAnimate, ARC3D_NUMBER_TYPE, ARC_NUMBER_TYPE, AREA_NUMBER_TYPE, AbstractGraphicRender, Animate, AnimateGroup, AnimateGroup1, AnimateMode, AnimateStatus, AnimateStepType, Application, Arc, Arc3d, Arc3dRender, ArcRender, ArcRenderContribution, Area, AreaRender, AreaRenderContribution, AttributeAnimate, AttributeUpdateType, AutoEnablePlugins, BaseCanvas, BaseEnvContribution, BaseRender, BaseRenderContributionTime, BaseWindowHandlerContribution, Basis, BeforeRenderConstribution, BoundsContext, BoundsPicker, BrowserEnvContribution, CIRCLE_NUMBER_TYPE, Canvas3DDrawItemInterceptor, Canvas3DPickItemInterceptor, CanvasArc3dPicker, CanvasArcPicker, CanvasAreaPicker, CanvasCirclePicker, CanvasFactory, CanvasGifImagePicker, CanvasGlyphPicker, CanvasGroupPicker, CanvasImagePicker, CanvasLinePicker, CanvasLottiePicker, CanvasPathPicker, CanvasPickerContribution, CanvasPolygonPicker, CanvasPyramid3dPicker, CanvasRect3dPicker, CanvasRectPicker, CanvasRichTextPicker, CanvasSymbolPicker, CanvasTextLayout, CanvasTextPicker, CbAnimate, Circle, CircleRender, CircleRenderContribution, ClipAngleAnimate, ClipDirectionAnimate, ClipGraphicAnimate, ClipRadiusAnimate, ColorInterpolate, ColorStore, ColorType, CommonDrawItemInterceptorContribution, CommonRenderContribution, Container, ContainerModule, Context2dFactory, ContributionProvider, CurveContext, CurveTypeEnum, CustomEvent, CustomPath2D, CustomSymbolClass, DEFAULT_TEXT_FONT_FAMILY, DebugDrawItemInterceptorContribution, DefaultArcAllocate, DefaultArcAttribute, DefaultArcRenderContribution, DefaultAreaAllocate, DefaultAreaAttribute, DefaultAreaTextureRenderContribution, DefaultAttribute, DefaultBaseBackgroundRenderContribution, DefaultBaseInteractiveRenderContribution, DefaultBaseTextureRenderContribution, DefaultCanvasAllocate, DefaultCanvasArcRender, DefaultCanvasAreaRender, DefaultCanvasCircleRender, DefaultCanvasGroupRender, DefaultCanvasImageRender, DefaultCanvasLineRender, DefaultCanvasPathRender, DefaultCanvasPolygonRender, DefaultCanvasRectRender, DefaultCanvasSymbolRender, DefaultCanvasTextRender, DefaultCircleAllocate, DefaultCircleAttribute, DefaultCircleRenderContribution, DefaultConnectAttribute, DefaultDebugAttribute, DefaultFillStyle, DefaultGlobal, DefaultGlobalPickerService, DefaultGlyphAttribute, DefaultGraphicAllocate, DefaultGraphicMemoryManager, DefaultGraphicService, DefaultGraphicUtil, DefaultGroupAttribute, DefaultGroupBackgroundRenderContribution, DefaultImageAttribute, DefaultImageRenderContribution, DefaultLayerService, DefaultLayout, DefaultLineAllocate, DefaultLineAttribute, DefaultMat4Allocate, DefaultMatrixAllocate, DefaultMorphingAnimateConfig, DefaultPathAllocate, DefaultPathAttribute, DefaultPickService, DefaultPickStyle, DefaultPolygonAttribute, DefaultRect3dAttribute, DefaultRectAllocate, DefaultRectAttribute, DefaultRectRenderContribution, DefaultRenderService, DefaultRichTextAttribute, DefaultRichTextIconAttribute, DefaultStateAnimateConfig, DefaultStrokeStyle, DefaultStyle, DefaultSymbolAllocate, DefaultSymbolAttribute, DefaultSymbolClipRangeStrokeRenderContribution, DefaultSymbolRenderContribution, DefaultTextAllocate, DefaultTextAttribute, DefaultTextMeasureContribution, DefaultTextStyle, DefaultTicker, DefaultTimeline, DefaultTransform, DefaultTransformUtil, DefaultWindow, Direction$1 as Direction, DirectionalLight, DragNDrop, DrawContribution, DrawItemInterceptor, DynamicLayerHandlerContribution, Easing, Edge, EditModule, EmptyContext2d, EnvContribution, EventManager, EventSystem, EventTarget, FORMAT_ALL_TEXT_COMMAND, FORMAT_ELEMENT_COMMAND, FORMAT_TEXT_COMMAND, Factory, FadeInPlus, FederatedEvent, FederatedMouseEvent, FederatedPointerEvent, FederatedWheelEvent, FlexLayoutPlugin, Fragment, GLYPH_NUMBER_TYPE, GRAPHIC_UPDATE_TAG_KEY, GROUP_NUMBER_TYPE, Generator, Gesture, GifImage, GlobalPickerService, Glyph, GlyphRender, Graphic, GraphicAnimate, GraphicCreator$1 as GraphicCreator, GraphicPicker, GraphicRender, GraphicService, GraphicUtil, Group, GroupFadeIn, GroupFadeOut, GroupRender, GroupRenderContribution, GroupUpdateAABBBoundsMode, HtmlAttributePlugin, IContainPointMode, IMAGE_NUMBER_TYPE, Image$1 as Image, ImageRender, ImageRenderContribution, IncreaseCount, IncrementalDrawContribution, InputText, InteractiveDrawItemInterceptorContribution, InteractivePickItemInterceptorContribution, InteractiveSubRenderContribution, LINE_NUMBER_TYPE, Layer, LayerService, Line$1 as Line, LineRender, Linear, LinearClosed, Lottie, ManualTickHandler, ManualTicker, Mat4Allocate, MathArcPicker, MathAreaPicker, MathCirclePicker, MathGlyphPicker, MathImagePicker, MathLinePicker, MathPathPicker, MathPickerContribution, MathPolygonPicker, MathRectPicker, MathSymbolPicker, MathTextPicker, MatrixAllocate, MeasureModeEnum, Meteor, MonotoneX, MonotoneY, MorphingPath, MotionPath, MultiToOneMorphingPath, NOWORK_ANIMATE_ATTR, Node, OrthoCamera, PATH_NUMBER_TYPE, POLYGON_NUMBER_TYPE, PURE_STYLE_KEY, PYRAMID3D_NUMBER_TYPE, Path, PathRender, PathRenderContribution, PickItemInterceptor, PickServiceInterceptor, PickerService, PluginService, Polygon, PolygonRender, PolygonRenderContribution, Pyramid3d, Pyramid3dRender, RAFTickHandler, REACT_TO_CANOPUS_EVENTS, REACT_TO_CANOPUS_EVENTS_LIST, RECT3D_NUMBER_TYPE, RECT_NUMBER_TYPE, RICHTEXT_NUMBER_TYPE, RafBasedSTO, ReactAttributePlugin, Rect, Rect3DRender, Rect3d, RectRender, RectRenderContribution, ReflectSegContext, RenderSelector, RenderService, ResourceLoader, RichText, RichTextEditPlugin, RichTextRender, RotateBySphereAnimate, SVG_ATTRIBUTE_MAP, SVG_ATTRIBUTE_MAP_KEYS, SVG_PARSE_ATTRIBUTE_MAP, SVG_PARSE_ATTRIBUTE_MAP_KEYS, SYMBOL_NUMBER_TYPE, SegContext, ShadowPickServiceInterceptorContribution, ShadowRoot, ShadowRootDrawItemInterceptorContribution, ShadowRootPickItemInterceptorContribution, SplitRectAfterRenderContribution, SplitRectBeforeRenderContribution, Stage, StaticLayerHandlerContribution, Step$1 as Step, StreamLight, SubAnimate, Symbol$1 as Symbol, SymbolRender, SymbolRenderContribution, TEXT_NUMBER_TYPE, TagPointsUpdate, Text, TextDirection, TextMeasureContribution, TextRender, TextRenderContribution, Theme, TimeOutTickHandler, TransformUtil, UpdateTag, VArc, VArc3d, VArea, VCircle, VGlobal, VGlyph, VGroup, VImage, VLine, VPath, VPolygon, VPyramid3d, VRect, VRect3d, VRichText, VSymbol, VText, VWindow, ViewTransform3dPlugin, VirtualLayerHandlerContribution, WILDCARD, WindowHandlerContribution, WrapText, XMLParser, _calculateLineHeight, _interpolateColor, _registerArc, addArcToBezierPath$1 as addArcToBezierPath, addAttributeToPrototype, alignBezierCurves, alignSubpath, application, applyTransformOnBezierCurves, arc3dCanvasPickModule, arc3dModule, arcCanvasPickModule, arcMathPickModule, arcModule, areaCanvasPickModule, areaMathPickModule, areaModule, bezier, bezierCurversToPath, binarySplitPolygon, bindContributionProvider, bindContributionProviderNoSingletonScope, boundStroke, browserEnvModule, builtInSymbolStrMap, builtinSymbols, builtinSymbolsMap, calcLineCache, calculateArcCornerRadius, calculateLineHeight, canvasAllocate, centroidOfSubpath, circleBounds, circleCanvasPickModule, circleMathPickModule, circleModule, clock, cloneGraphic, colorEqual, colorStringInterpolationToStr, container, cornerTangents, createArc, createArc3d, createArea, createCircle, createColor, createConicalGradient, createGifImage, createGlyph, createGroup, createImage, createImageElement$1 as createImageElement, createLine, createLottie, createMat4, createPath, createPolygon, createPyramid3d, createRect, createRect3d, createRectPath, createRichText, createShadowRoot, createStage, createSymbol, createText, createWrapText, cubicCalc, cubicLength, cubicPointAt, cubicSubdivide, decodeReactDom, defaultArcAllocate, defaultArcBackgroundRenderContribution, defaultArcRenderContribution, defaultArcTextureRenderContribution, defaultAreaAllocate, defaultBaseBackgroundRenderContribution, defaultBaseTextureRenderContribution, defaultCircleAllocate, defaultCircleBackgroundRenderContribution, defaultCircleRenderContribution, defaultCircleTextureRenderContribution, defaultGraphicMemoryManager, defaultGroupBackgroundRenderContribution, defaultImageBackgroundRenderContribution, defaultImageRenderContribution, defaultLineAllocate, defaultPathAllocate, defaultRectAllocate, defaultRectBackgroundRenderContribution, defaultRectRenderContribution, defaultRectTextureRenderContribution, defaultSymbolAllocate, defaultSymbolBackgroundRenderContribution, defaultSymbolClipRangeStrokeRenderContribution, defaultSymbolRenderContribution, defaultSymbolTextureRenderContribution, defaultTextAllocate, defaultTicker, defaultTimeline, drawArc, drawArcPath$1 as drawArcPath, drawAreaSegments, drawIncrementalAreaSegments, drawIncrementalSegments, drawSegments, enumCommandMap, feishuEnvModule, fillVisible, findBestMorphingRotation, findConfigIndexByCursorIdx, findCursorIdxByConfigIndex, findNextGraphic, flatten_simplify, foreach, foreachAsync, genBasisSegments, genBasisTypeSegments, genLinearClosedSegments, genLinearClosedTypeSegments, genLinearSegments, genLinearTypeSegments, genMonotoneXSegments, genMonotoneXTypeSegments, genMonotoneYSegments, genMonotoneYTypeSegments, genNumberType, genStepSegments, genStepTypeSegments, generatorPathEasingFunc, getAttributeFromDefaultAttrList, getConicGradientAt, getCurrentEnv, getDefaultCharacterConfig, getExtraModelMatrix, getModelMatrix, getRichTextBounds, getScaledStroke, getTextBounds, getTheme, getThemeFromGroup, gifImageCanvasPickModule, gifImageModule, globalTheme, glyphCanvasPickModule, glyphMathPickModule, glyphModule, graphicCreator, graphicService, graphicUtil, harmonyEnvModule, identityMat4, imageCanvasPickModule, imageMathPickModule, imageModule, incrementalAddTo, initAllEnv, initBrowserEnv, initFeishuEnv, initHarmonyEnv, initLynxEnv, initNodeEnv, initTTEnv, initTaroEnv, initWxEnv, inject, injectable, interpolateColor, interpolateGradientConicalColor, interpolateGradientLinearColor, interpolateGradientRadialColor, interpolatePureColorArray, intersect, isBrowserEnv, isNodeEnv, isSvg, isTransformKey, isXML, jsx, layerService, lineCanvasPickModule, lineMathPickModule, lineModule, loadAllEnv, loadAllModule, loadBrowserEnv, loadFeishuEnv, loadHarmonyEnv, loadLynxEnv, loadNodeEnv, loadTTEnv, loadTaroEnv, loadWxEnv, lookAt, lottieCanvasPickModule, lottieModule, lynxEnvModule, mat3Tomat4, mat4Allocate, matrixAllocate, morphPath, multiInject, multiToOneMorph, multiplyMat4Mat3, multiplyMat4Mat4, named, newThemeObj, nodeEnvModule, oneToMultiMorph, ortho, parsePadding, parseStroke, parseSvgPath, pathCanvasPickModule, pathMathPickModule, pathModule, pathToBezierCurves, point$3 as point, pointEqual, pointInterpolation, pointInterpolationHighPerformance, pointsEqual, pointsInterpolation, polygonCanvasPickModule, polygonMathPickModule, polygonModule, preLoadAllModule, pyramid3dCanvasPickModule, pyramid3dModule, quadCalc, quadLength, quadPointAt, rafBasedSto, rect3dCanvasPickModule, rect3dModule, rectCanvasPickModule, rectFillVisible, rectMathPickModule, rectModule, rectStrokeVisible, recursiveCallBinarySplit, registerArc, registerArc3d, registerArc3dGraphic, registerArcGraphic, registerArea, registerAreaGraphic, registerCircle, registerCircleGraphic, registerDirectionalLight, registerFlexLayoutPlugin, registerGlyph, registerGlyphGraphic, registerGroup, registerGroupGraphic, registerHtmlAttributePlugin, registerImage, registerImageGraphic, registerLine, registerLineGraphic, registerOrthoCamera, registerPath, registerPathGraphic, registerPolygon, registerPolygonGraphic, registerPyramid3d, registerPyramid3dGraphic, registerReactAttributePlugin, registerRect, registerRect3d, registerRect3dGraphic, registerRectGraphic, registerRichtext, registerRichtextGraphic, registerShadowRoot, registerShadowRootGraphic, registerSymbol, registerSymbolGraphic, registerText, registerTextGraphic, registerViewTransform3dPlugin, registerWrapText, registerWrapTextGraphic, renderCommandList, rewriteProto, richTextMathPickModule, richtextCanvasPickModule, richtextModule, rotateX, rotateY, rotateZ, roughModule, runFill, runStroke, scaleMat4, segments, shouldUseMat4, snapLength, splitArc, splitArea, splitCircle, splitGraphic, splitLine, splitPath, splitPolygon, splitRect, splitToGrids, strCommandMap, strokeVisible, symbolCanvasPickModule, symbolMathPickModule, symbolModule, taroEnvModule, textAttributesToStyle, textCanvasPickModule, textDrawOffsetX, textDrawOffsetY, textLayoutOffsetY, textMathPickModule, textModule, transformKeys, transformMat4, transformUtil, translate, ttEnvModule, version, verticalLayout, vglobal, waitForAllSubLayers, wrapCanvas, wrapContext, wxEnvModule, xul };