@univerjs-pro/engine-shape 1.0.0-alpha.5 → 1.0.0-alpha.7

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.
@@ -16,11 +16,18 @@ import { FShape } from './f-shape';
16
16
  * @example Doc
17
17
  * ```ts
18
18
  * const fDocument = univerAPI.getActiveDocument();
19
+ * const paragraph = fDocument.getParagraphs()[0];
19
20
  * const fConnectorShape = fDocument.insertShape({
20
21
  * shapeType: univerAPI.Enum.ShapeTypeEnum.StraightConnector1,
21
- * textRange: { startOffset: 0, endOffset: 0, collapsed: true },
22
- * wrappingStyle: univerAPI.Enum.DocsShapeWrappingStyle.WRAP_SQUARE,
23
- * transform: { left: 80, top: 80, width: 240, height: 120 },
22
+ * placement: {
23
+ * wrappingStyle: univerAPI.Enum.DocsShapeWrappingStyle.WRAP_SQUARE,
24
+ * anchor: {
25
+ * paragraphId: paragraph.getId(),
26
+ * segmentId: paragraph.getSegmentId(),
27
+ * },
28
+ * position: { horizontalOffset: 80, verticalOffset: 80 },
29
+ * },
30
+ * transform: { width: 240, height: 120 },
24
31
  * });
25
32
  * ```
26
33
  *
@@ -31,9 +31,16 @@ export interface IShapeTextImageFillOptions {
31
31
  * @example Doc
32
32
  * ```ts
33
33
  * const fDocument = univerAPI.getActiveDocument();
34
+ * const paragraph = fDocument.getParagraphs()[0];
34
35
  * const fShape = fDocument.insertShape({
35
36
  * shapeType: univerAPI.Enum.ShapeTypeEnum.Rect,
36
- * textRange: { startOffset: 0, endOffset: 0, collapsed: true },
37
+ * placement: {
38
+ * wrappingStyle: univerAPI.Enum.DocsShapeWrappingStyle.INLINE,
39
+ * anchor: {
40
+ * paragraphId: paragraph.getId(),
41
+ * segmentId: paragraph.getSegmentId(),
42
+ * },
43
+ * },
37
44
  * });
38
45
  * const fShapeText = fShape?.getText();
39
46
  * ```
@@ -40,9 +40,16 @@ export type IShapeImageFillOptions = Pick<ShapeFill, 'imageFillMode' | 'imageOpa
40
40
  * @example Doc
41
41
  * ```ts
42
42
  * const fDocument = univerAPI.getActiveDocument();
43
+ * const paragraph = fDocument.getParagraphs()[0];
43
44
  * const fShape = fDocument.insertShape({
44
45
  * shapeType: univerAPI.Enum.ShapeTypeEnum.Rect,
45
- * textRange: { startOffset: 0, endOffset: 0, collapsed: true },
46
+ * placement: {
47
+ * wrappingStyle: univerAPI.Enum.DocsShapeWrappingStyle.INLINE,
48
+ * anchor: {
49
+ * paragraphId: paragraph.getId(),
50
+ * segmentId: paragraph.getSegmentId(),
51
+ * },
52
+ * },
46
53
  * });
47
54
  * ```
48
55
  *
@@ -1,7 +1,7 @@
1
1
  export { BasicShapeModel as ShapeModel } from '../src/models/shape-model';
2
2
  export { BaseShapeRenderModel } from '../src/render-engine/shape-render-model';
3
3
  export { ImageFillModeEnum, ImageSourceTypeEnum, ShapeArrowSizeEnum, ShapeArrowTypeEnum, ShapeFillEnum, ShapeGradientTypeEnum, ShapeLineCapEnum, ShapeLineDashEnum, ShapeLineJoinEnum, ShapeLineTypeEnum, ShapeOperatorEnum, ShapePresetShadowValEnum, ShapeRenderModeEnum, ShapeSketchTypeEnum, ShapeTypeEnum, } from '../src/shape-enum';
4
- export type { IBasicShapeData, IConnectorLayoutResult, IConnectPointInfo, ICustomShapeTextData, ICxnShapeData, IDrawingRect, IGdContext, ILineType, IPathCommand, IPresetShapeConfig, IShapeAdjustItemResolved, IShapeData, IShapeJSONData, IShapeLineStyle, IShapePath, IShapePoint, IShapePointWithAdjName, IShapeRect, IShapeRelation, IShapeRelationItem, IShapeShadowEffect, IShapeText, IShapeTextBodyBehavior, IShapeTextBoxOptions, IShapeTextData, IShapeTextDataModel, IShapeTextRectPadding, ShapeShadowAlignment, ShapeTextHorizontalAnchor, } from '../src/shape-type';
4
+ export type { IBasicShapeData, IConnectorLayoutResult, IConnectPointInfo, ICustomShapeTextData, ICxnShapeData, IDrawingRect, IGdContext, ILineType, IPathCommand, IPresetShapeConfig, IShapeAdjustItemResolved, IShapeData, IShapeFormulaBinding, IShapeJSONData, IShapeLineStyle, IShapePath, IShapePoint, IShapePointWithAdjName, IShapeRect, IShapeRelation, IShapeRelationItem, IShapeShadowEffect, IShapeText, IShapeTextBodyBehavior, IShapeTextBoxOptions, IShapeTextData, IShapeTextDataModel, IShapeTextRectPadding, ShapeShadowAlignment, ShapeTextHorizontalAnchor, } from '../src/shape-type';
5
5
  export { ShapeTextAutoFitType, ShapeTextDirection, ShapeTextWrapType } from '../src/shape-type';
6
6
  export type { IResolvedShapeShadow } from '../src/utils/shape-shadow.util';
7
7
  export { resolveShapeShadow } from '../src/utils/shape-shadow.util';
@@ -78,6 +78,7 @@ export declare abstract class BaseShapeRenderModel {
78
78
  * 而 Canvas ellipse() 使用参数角度:point = (rx·cos(t), ry·sin(t))。
79
79
  * 对于非正圆的椭圆,两者不同。OOXML 中 cat2/sat2 公式正是执行此转换来定位
80
80
  * moveTo 点和调节手柄,因此传给 Canvas 时必须做同样的转换。
81
+ * 半径必须使用 path 的逻辑坐标值;最终画布的非等比缩放不应再次改变参数角。
81
82
  */
82
83
  private _ooxmlAngleToParametric;
83
84
  /**
@@ -695,6 +695,17 @@ export interface IShapeShadowEffect {
695
695
  /** Whether the shadow rotates together with the shape. */
696
696
  rotateWithShape?: boolean;
697
697
  }
698
+ /** Formula data persisted by a formula-backed text-box shape. */
699
+ export interface IShapeFormulaBinding {
700
+ /** The complete formula string, including the leading equals sign. */
701
+ formula: string;
702
+ /** Whether value changes should be animated. Defaults to true. */
703
+ animationEnabled?: boolean;
704
+ /** Optional display format chosen for this shape. */
705
+ numberFormat?: {
706
+ pattern: string;
707
+ };
708
+ }
698
709
  /**
699
710
  * This interface defines the shape data structure , and this part will save in json
700
711
  */
@@ -771,6 +782,8 @@ export interface IBasicShapeData {
771
782
  * Values use the same drawing units as the shape rect.
772
783
  */
773
784
  textRectPadding?: IShapeTextRectPadding;
785
+ /** Presence of this field identifies a formula shape. */
786
+ formulaBinding?: IShapeFormulaBinding;
774
787
  }
775
788
  export interface ICxnShapeData extends IBasicShapeData {
776
789
  points?: Array<{
@@ -817,6 +830,8 @@ export interface IShapeHitTestResult {
817
830
  hitType: ShapeHitTestHitTypeEnum;
818
831
  }
819
832
  export interface IPresetShapeConfig {
833
+ /** Arc angles are visual by default; guide-derived presets may already provide Canvas-compatible parametric angles. */
834
+ arcAngleMode?: 'visual' | 'parametric';
820
835
  /** Adjustment values for shape parameters, each value typically ranges from 0 to 100000 */
821
836
  adjustValues?: Record<string, ShapeOperatorValue>;
822
837
  /** Guide definitions - formulas for calculating shape geometry */
@@ -1,5 +1,6 @@
1
1
  import type { IPresetShapeConfig } from '../shape-type';
2
2
  import { BaseShapeRenderModel } from '../render-engine/shape-render-model';
3
+ /** Legacy name for Excel's oval callout preset. */
3
4
  export declare class OvalCallout1Shape extends BaseShapeRenderModel {
4
5
  readonly name: string;
5
6
  readonly presetShapeConfig: IPresetShapeConfig;
package/lib/umd/facade.js CHANGED
@@ -1 +1 @@
1
- (function(_0x403112,_0x2cc63b){const _0x367855=_0x2f0c,_0x5c03be=_0x403112();while(!![]){try{const _0x2540fd=parseInt(_0x367855(0xc7))/0x1*(parseInt(_0x367855(0xa4))/0x2)+-parseInt(_0x367855(0xaa))/0x3*(-parseInt(_0x367855(0x90))/0x4)+parseInt(_0x367855(0xef))/0x5+parseInt(_0x367855(0x135))/0x6*(parseInt(_0x367855(0x11a))/0x7)+-parseInt(_0x367855(0xbd))/0x8*(parseInt(_0x367855(0xb8))/0x9)+parseInt(_0x367855(0xa9))/0xa*(-parseInt(_0x367855(0x110))/0xb)+-parseInt(_0x367855(0xf8))/0xc*(-parseInt(_0x367855(0xa7))/0xd);if(_0x2540fd===_0x2cc63b)break;else _0x5c03be['push'](_0x5c03be['shift']());}catch(_0x10fe45){_0x5c03be['push'](_0x5c03be['shift']());}}}(_0x726c,0x1f9db),function(_0x1f96b5,_0x2507de){const _0x4a6e72=_0x2f0c;typeof exports==_0x4a6e72(0x13e)&&typeof module<'u'?_0x2507de(exports,require('@univerjs-pro/engine-shape'),require('@univerjs/core/facade'),require('@univerjs/core')):typeof define==_0x4a6e72(0x111)&&define['amd']?define(['exports','@univerjs-pro/engine-shape','@univerjs/core/facade',_0x4a6e72(0x85)],_0x2507de):(_0x1f96b5=typeof globalThis<'u'?globalThis:_0x1f96b5||self,_0x2507de(_0x1f96b5[_0x4a6e72(0xe7)]={},_0x1f96b5['UniverProEngineShape'],_0x1f96b5[_0x4a6e72(0x101)],_0x1f96b5[_0x4a6e72(0xe2)]));}(this,function(_0x45a3d5,_0xa28743,_0x23a7b7,_0x4d548f){const _0x30e99e=_0x2f0c;Object[_0x30e99e(0xb9)](_0x45a3d5,Symbol[_0x30e99e(0x81)],{'value':_0x30e99e(0x12f)});var _0x11663c=class extends _0x23a7b7['FEnum']{get[_0x30e99e(0xa1)](){const _0x406db5=_0x30e99e;return _0xa28743[_0x406db5(0xa1)];}get[_0x30e99e(0x96)](){const _0x13ccd9=_0x30e99e;return _0xa28743[_0x13ccd9(0x96)];}get['ShapeGradientTypeEnum'](){const _0x2bb07a=_0x30e99e;return _0xa28743[_0x2bb07a(0x139)];}get[_0x30e99e(0xb6)](){const _0x463cc3=_0x30e99e;return _0xa28743[_0x463cc3(0x105)];}get[_0x30e99e(0xd1)](){const _0x5baccb=_0x30e99e;return _0xa28743[_0x5baccb(0xd3)];}get[_0x30e99e(0xaf)](){return _0xa28743['ShapeLineTypeEnum'];}get[_0x30e99e(0xe6)](){const _0x52e6f3=_0x30e99e;return _0xa28743[_0x52e6f3(0xe6)];}get[_0x30e99e(0xc3)](){const _0x762b55=_0x30e99e;return _0xa28743[_0x762b55(0xc3)];}get['ShapeLineJoinEnum'](){return _0xa28743['ShapeLineJoinEnum'];}get[_0x30e99e(0x116)](){const _0x365561=_0x30e99e;return _0xa28743[_0x365561(0x116)];}get['ShapeArrowTypeEnum'](){const _0x2a3772=_0x30e99e;return _0xa28743[_0x2a3772(0x107)];}get[_0x30e99e(0xdc)](){const _0x2b8527=_0x30e99e;return _0xa28743[_0x2b8527(0xdc)];}get[_0x30e99e(0xd7)](){const _0xfaee20=_0x30e99e;return _0xa28743[_0xfaee20(0xd7)];}get[_0x30e99e(0xb3)](){return _0xa28743['ShapeTextDirection'];}get[_0x30e99e(0x147)](){const _0x309340=_0x30e99e;return _0xa28743[_0x309340(0x147)];}};_0x23a7b7[_0x30e99e(0x102)]['extend'](_0x11663c);function _0x51d53d(_0x58481d){const _0x3c165e=_0x30e99e;switch(_0x58481d){case _0xa28743[_0x3c165e(0x139)][_0x3c165e(0x118)]:return _0x3c165e(0x122);case _0xa28743[_0x3c165e(0x139)]['Angular']:return'angular';case _0xa28743['ShapeGradientTypeEnum'][_0x3c165e(0xf9)]:return _0x3c165e(0x7f);case _0xa28743[_0x3c165e(0x139)][_0x3c165e(0xd5)]:default:return _0x3c165e(0xa0);}}function _0x43dd0a(_0x3e1f22){const _0x4ac664=_0x30e99e;return _0x3e1f22===_0xa28743['ImageFillModeEnum'][_0x4ac664(0x87)]?'tile':_0x4ac664(0xea);}var _0x5d6d4d=class{constructor(_0x5781ea,_0x1afdb2){const _0x84fa91=_0x30e99e;this['_shapeRef']=_0x5781ea,this[_0x84fa91(0xf3)]=_0x1afdb2;}[_0x30e99e(0xcd)](){const _0x50716a=_0x30e99e;var _0x1e7d39;return(0x0,_0xa28743['shapeTextToRichTextValue'])((_0x1e7d39=this[_0x50716a(0x117)]())==null?void 0x0:_0x1e7d39[_0x50716a(0x7e)]);}['getPlainText'](){const _0x9ecb31=_0x30e99e;var _0x4ea82e,_0x114fd4;return(_0x4ea82e=(_0x114fd4=this[_0x9ecb31(0xcd)]())==null?void 0x0:_0x114fd4[_0x9ecb31(0xb2)]())==null?null:_0x4ea82e;}[_0x30e99e(0xd8)](_0x46a611){const _0x4ce1e5=_0x30e99e;return this[_0x4ce1e5(0x128)](_0x566031=>({..._0x566031,'shapeText':(0x0,_0xa28743[_0x4ce1e5(0x108)])(_0x566031[_0x4ce1e5(0x7e)],_0x46a611)})),this;}['setText'](_0xaae9b6){const _0x288acc=_0x30e99e;return this[_0x288acc(0x128)](_0x36ac6e=>({..._0x36ac6e,'shapeText':(0x0,_0xa28743['applyTextToShapeText'])(_0x36ac6e['shapeText'],_0xaae9b6)})),this;}[_0x30e99e(0xcb)](_0x3be142){const _0x5eae39=_0x30e99e;return this[_0x5eae39(0x128)](_0x5ccdd4=>({..._0x5ccdd4,'shapeText':(0x0,_0xa28743['applyShapeTextStyle'])(_0x5ccdd4[_0x5eae39(0x7e)],_0x3be142)})),this;}[_0x30e99e(0x109)](_0x1aa637,_0x59ee45){const _0x511a60=_0x30e99e;return this['setTextStyle']({'cl':{'rgb':_0x1aa637},'textFill':{'type':_0x511a60(0xc2),'color':_0x1aa637,'opacity':_0x59ee45}});}[_0x30e99e(0x9c)](){const _0x370a5d=_0x30e99e;return this[_0x370a5d(0xcb)]({'cl':{'rgb':_0x370a5d(0xfd)},'textFill':{'type':_0x370a5d(0xad)}});}[_0x30e99e(0x143)](_0x5a8f9b,_0x1b0675,_0x504398){const _0x5e8532=_0x30e99e;return _0x1b0675[_0x5e8532(0xe3)]<0x2?(console[_0x5e8532(0x127)](_0x5e8532(0x98)),this):this[_0x5e8532(0xcb)]({'cl':{'rgb':_0x1b0675[0x0][_0x5e8532(0x136)]},'textFill':{'type':_0x5e8532(0xa8),'gradient':{'type':_0x51d53d(_0x5a8f9b),'angle':_0x504398,'stops':_0x1b0675[_0x5e8532(0xb1)](({position:_0x543320,color:_0x39298e,opacity:_0x482fa7})=>({'offset':_0x543320,'color':_0x39298e,'opacity':_0x482fa7}))}}});}[_0x30e99e(0x119)](_0x385556,_0x5df3c8=_0xa28743[_0x30e99e(0xd3)][_0x30e99e(0x11b)],_0x4e3f4f={}){const _0x399a37=_0x30e99e;return this[_0x399a37(0xcb)]({'textFill':{'type':_0x399a37(0xe4),'picture':{'source':_0x385556,'sourceType':_0x5df3c8,'opacity':_0x4e3f4f[_0x399a37(0x129)],'mode':_0x43dd0a(_0x4e3f4f['mode']),'scaleX':_0x4e3f4f['scaleX'],'scaleY':_0x4e3f4f['scaleY'],'offsetX':_0x4e3f4f[_0x399a37(0x113)],'offsetY':_0x4e3f4f[_0x399a37(0xc6)]}}});}[_0x30e99e(0x10c)](_0x6988ee){return this['setTextStyle']({'fs':_0x6988ee});}['setFontFamily'](_0x12c1c8){const _0x41ac78=_0x30e99e;return this[_0x41ac78(0xcb)]({'ff':_0x12c1c8});}['setBold'](_0xb74fc2){const _0x36de33=_0x30e99e;return this[_0x36de33(0xcb)]({'bl':_0xb74fc2?_0x4d548f[_0x36de33(0x97)][_0x36de33(0xcf)]:_0x4d548f[_0x36de33(0x97)][_0x36de33(0x92)]});}['setItalic'](_0x2772b2){const _0x41da3c=_0x30e99e;return this[_0x41da3c(0xcb)]({'it':_0x2772b2?_0x4d548f[_0x41da3c(0x97)][_0x41da3c(0xcf)]:_0x4d548f[_0x41da3c(0x97)][_0x41da3c(0x92)]});}['setUnderline'](_0x3d454c){const _0x33d8c8=_0x30e99e;return this[_0x33d8c8(0xcb)]({'ul':{'s':_0x3d454c?_0x4d548f[_0x33d8c8(0x97)][_0x33d8c8(0xcf)]:_0x4d548f['BooleanNumber'][_0x33d8c8(0x92)]}});}['setStrikethrough'](_0x10661f){const _0x2e7739=_0x30e99e;return this[_0x2e7739(0xcb)]({'st':{'s':_0x10661f?_0x4d548f['BooleanNumber'][_0x2e7739(0xcf)]:_0x4d548f[_0x2e7739(0x97)][_0x2e7739(0x92)]}});}[_0x30e99e(0xc4)](_0x309fb1){const _0x305623=_0x30e99e;return this[_0x305623(0x128)](_0x1ad484=>(0x0,_0xa28743[_0x305623(0x9f)])(_0x1ad484,{'horizontalAlign':_0x309fb1})),this;}[_0x30e99e(0xa2)](_0x1560d3){const _0x10c2ac=_0x30e99e;return this[_0x10c2ac(0x128)](_0x178709=>(0x0,_0xa28743[_0x10c2ac(0x9f)])(_0x178709,{'verticalAlign':_0x1560d3})),this;}[_0x30e99e(0x146)](){const _0x117e5d=_0x30e99e;let _0xa1f15b=this[_0x117e5d(0x117)]();return _0xa1f15b?(0x0,_0xa28743[_0x117e5d(0x12a)])(_0xa1f15b):null;}[_0x30e99e(0x8c)](_0x5394d9){const _0x54615e=_0x30e99e;return this[_0x54615e(0x128)](_0xb433df=>(0x0,_0xa28743[_0x54615e(0xdd)])(_0xb433df,_0x5394d9)),this;}[_0x30e99e(0x13b)](){const _0x1aaa28=_0x30e99e;return this[_0x1aaa28(0xf3)]['get'](_0xa28743[_0x1aaa28(0x133)])['get'](this['_shapeRef'][_0x1aaa28(0x91)]);}[_0x30e99e(0x117)](){const _0xd7cc04=_0x30e99e;let _0x1d7d6d=this[_0xd7cc04(0x13b)]();if(!_0x1d7d6d)return null;try{var _0x55fffb;return((_0x55fffb=_0x1d7d6d['getShape'](this[_0xd7cc04(0x115)]))==null?void 0x0:_0x55fffb[_0xd7cc04(0xab)])||(console[_0xd7cc04(0x127)](_0xd7cc04(0x150)+this[_0xd7cc04(0x115)]['shapeId']+'\x22\x20was\x20not\x20found.'),null);}catch(_0x306ce8){return console[_0xd7cc04(0x127)](_0xd7cc04(0x10f)+this[_0xd7cc04(0x115)][_0xd7cc04(0xf5)]+_0xd7cc04(0xbb),_0x306ce8),null;}}[_0x30e99e(0x128)](_0x590567){const _0x4d44a0=_0x30e99e;let _0x29054d=this['_getAdapter']();if(!_0x29054d)return!0x1;try{var _0x396a86;let _0x9973db=(_0x396a86=_0x29054d['getShape'](this[_0x4d44a0(0x115)]))==null?void 0x0:_0x396a86[_0x4d44a0(0xab)];if(!_0x9973db)return console[_0x4d44a0(0x127)](_0x4d44a0(0x150)+this[_0x4d44a0(0x115)][_0x4d44a0(0xf5)]+_0x4d44a0(0x142)),!0x1;let _0x2e8ba4=_0x29054d[_0x4d44a0(0x138)](this['_shapeRef'],{'shapeData':_0x590567(_0x9973db)});return _0x2e8ba4||console[_0x4d44a0(0x127)]('[Shape\x20Text\x20Facade]:\x20Failed\x20to\x20update\x20Shape\x20\x22'+this[_0x4d44a0(0x115)][_0x4d44a0(0xf5)]+_0x4d44a0(0xbb)),_0x2e8ba4;}catch(_0x4377f9){return console[_0x4d44a0(0x127)](_0x4d44a0(0x12d)+this['_shapeRef'][_0x4d44a0(0xf5)]+_0x4d44a0(0xbb),_0x4377f9),!0x1;}}},_0x5e2605=class extends _0x23a7b7['FBase']{constructor(_0x46e4ed,_0x174c6d){const _0xee21db=_0x30e99e;super(),this[_0xee21db(0x115)]=_0x46e4ed,this['_injector']=_0x174c6d;}['isConnectorShape'](){return!0x1;}['getId'](){const _0xcc1a44=_0x30e99e;return this[_0xcc1a44(0x115)][_0xcc1a44(0xf5)];}[_0x30e99e(0xe0)](){const _0x2d9bd9=_0x30e99e;var _0x2bece3;return(_0x2bece3=this[_0x2d9bd9(0xbc)]())==null?void 0x0:_0x2bece3['name'];}[_0x30e99e(0x11e)](_0x43147a){return this['update']({'name':_0x43147a});}[_0x30e99e(0xfb)](){const _0x58e9dd=_0x30e99e;var _0x407e63;return(_0x407e63=this[_0x58e9dd(0xbc)]())==null?void 0x0:_0x407e63[_0x58e9dd(0x93)];}[_0x30e99e(0x103)](_0x3e0b50){const _0x22671c=_0x30e99e;return this[_0x22671c(0xc9)]({'description':_0x3e0b50});}[_0x30e99e(0x83)](){const _0x423453=_0x30e99e;return this[_0x423453(0x115)][_0x423453(0x91)];}[_0x30e99e(0x100)](){const _0xc86451=_0x30e99e;var _0x3ee484,_0x5accf1;return(_0x3ee484=(_0x5accf1=this[_0xc86451(0xbc)]())==null?void 0x0:_0x5accf1[_0xc86451(0x112)])==null?null:_0x3ee484;}[_0x30e99e(0x82)](){const _0x480c0f=_0x30e99e;let _0x33e3b0=this[_0x480c0f(0xbc)]();return _0x33e3b0?_0x4d548f[_0x480c0f(0xae)][_0x480c0f(0xc0)](_0x33e3b0[_0x480c0f(0xab)]):null;}[_0x30e99e(0xb5)](){const _0x1cabbd=_0x30e99e;let _0x5a5f0f=this['_getSnapshot']();return _0x5a5f0f?_0x4d548f[_0x1cabbd(0xae)][_0x1cabbd(0xc0)](_0x5a5f0f):null;}[_0x30e99e(0x131)](){const _0x1a2973=_0x30e99e;let _0x5bac23=this['_getSnapshot']();return _0x5bac23?{..._0x5bac23[_0x1a2973(0x89)]}:null;}['isVisible'](){const _0x945cb4=_0x30e99e;var _0x3da25c,_0x1e8d9a;return(_0x3da25c=(_0x1e8d9a=this['_getSnapshot']())==null?void 0x0:_0x1e8d9a[_0x945cb4(0xf2)])==null?!0x1:_0x3da25c;}['setVisible'](_0x1b991b){const _0x2aa781=_0x30e99e;return this[_0x2aa781(0xc9)]({'visible':_0x1b991b});}[_0x30e99e(0x80)](){const _0x9c0f1c=_0x30e99e;var _0x1b922e,_0x48d276;return(_0x1b922e=(_0x48d276=this[_0x9c0f1c(0xbc)]())==null?void 0x0:_0x48d276[_0x9c0f1c(0xf0)])==null?!0x1:_0x1b922e;}[_0x30e99e(0x106)](_0x356f3f){const _0x4b1bb9=_0x30e99e;return this[_0x4b1bb9(0xc9)]({'selectable':_0x356f3f});}['getText'](){const _0x1dae12=_0x30e99e;return this[_0x1dae12(0xf3)]['createInstance'](_0x5d6d4d,this[_0x1dae12(0x115)],this[_0x1dae12(0xf3)]);}[_0x30e99e(0xe1)](){const _0x5bccc7=_0x30e99e;let _0xc356b0=this[_0x5bccc7(0x82)]();return(_0xc356b0==null?void 0x0:_0xc356b0[_0x5bccc7(0xd0)])===!0x0&&!!_0xc356b0['customGeometry'];}['getCustomGeometry'](){const _0x1c8808=_0x30e99e;var _0x5497f6,_0x428546;return(_0x5497f6=(_0x428546=this['getShapeData']())==null?void 0x0:_0x428546[_0x1c8808(0xbe)])==null?null:_0x5497f6;}[_0x30e99e(0x12c)](_0x3dfd02){const _0x5072be=_0x30e99e;return this[_0x5072be(0xeb)](_0x91c29c=>({..._0x91c29c,'shapeType':_0x3dfd02}),_0x3dfd02);}['setShapeData'](_0x31c11c){const _0x2e5d10=_0x30e99e;let _0x3c1167=_0x4d548f[_0x2e5d10(0xae)][_0x2e5d10(0xc0)](_0x31c11c);return this[_0x2e5d10(0xc9)]({'shapeType':_0x3c1167[_0x2e5d10(0x112)],'shapeData':_0x3c1167});}[_0x30e99e(0xe9)](_0x7491fb){const _0x4ad25c=_0x30e99e;return this[_0x4ad25c(0xc9)]({'transform':_0x7491fb});}['setSize'](_0x51128e,_0x3fd89b){const _0x23ecae=_0x30e99e;return this[_0x23ecae(0xe9)]({'width':_0x51128e,'height':_0x3fd89b});}[_0x30e99e(0x132)](_0x30680b){const _0x118d5a=_0x30e99e;return this[_0x118d5a(0xe9)]({'rotation':_0x30680b});}[_0x30e99e(0xa6)](_0x21c5c2,_0x3d7eaa){const _0x21bd73=_0x30e99e;return this[_0x21bd73(0xe9)]({'left':_0x21c5c2,'top':_0x3d7eaa});}[_0x30e99e(0x14c)](_0x18eb35){const _0x55f371=_0x30e99e;let _0x2e4cd4=_0x4d548f[_0x55f371(0xae)][_0x55f371(0xc0)](_0x18eb35);return this['_patchShapeData'](_0x3ba7bd=>({..._0x3ba7bd,'isCustom':!0x0,'customGeometry':_0x2e4cd4}));}[_0x30e99e(0x94)](){const _0x2ccbc1=_0x30e99e;var _0x1c6008,_0x96922b;return(_0x1c6008=(_0x96922b=this[_0x2ccbc1(0x7d)]())==null?void 0x0:_0x96922b[_0x2ccbc1(0x123)]()[_0x2ccbc1(0xb1)](_0xaa360d=>({..._0xaa360d})))==null?[]:_0x1c6008;}[_0x30e99e(0xd6)](){const _0xaed3fa=_0x30e99e;var _0xfc5173,_0x49227d;return(_0xfc5173=(_0x49227d=this[_0xaed3fa(0x7d)]())==null?void 0x0:_0x49227d[_0xaed3fa(0x121)]()['map'](_0x13a30d=>({..._0x13a30d})))==null?[]:_0xfc5173;}[_0x30e99e(0xb7)](){const _0x59dfaf=_0x30e99e;var _0x4b781c;let _0x1c9238=(_0x4b781c=this['_getGeometryModel']())==null?void 0x0:_0x4b781c[_0x59dfaf(0xb7)]();return _0x1c9238?{..._0x1c9238}:null;}[_0x30e99e(0x14d)](){const _0x4eceed=_0x30e99e;var _0x3d622e;let _0x5574d1=(_0x3d622e=this['_getGeometryModel']())==null?void 0x0:_0x3d622e[_0x4eceed(0x14d)]();return _0x5574d1?{..._0x5574d1}:null;}[_0x30e99e(0x14e)](_0x57c20c,_0x92f626){const _0x4d1384=_0x30e99e;return this[_0x4d1384(0xeb)](_0x3aeab8=>({..._0x3aeab8,'fill':{'fillType':_0xa28743[_0x4d1384(0x96)][_0x4d1384(0x11c)],'color':_0x57c20c,'opacity':_0x92f626}}));}[_0x30e99e(0x143)](_0x5a5934,_0x2c4cb4,_0x5f16dd){const _0x650f08=_0x30e99e;return _0x2c4cb4['length']<0x2?(console['warn'](_0x650f08(0xf7)),this):this['_patchShapeData'](_0x1cd192=>({..._0x1cd192,'fill':{'fillType':_0xa28743[_0x650f08(0x96)]['GradientFill'],'gradientType':_0x5a5934,'gradientStops':_0x4d548f[_0x650f08(0xae)][_0x650f08(0xc0)](_0x2c4cb4),'gradientAngle':_0x5f16dd}}));}[_0x30e99e(0x119)](_0x2d6269,_0x2b961,_0x48d46f={}){const _0x545e1e=_0x30e99e;return this['_patchShapeData'](_0x34932d=>({..._0x34932d,'fill':{..._0x4d548f[_0x545e1e(0xae)]['deepClone'](_0x48d46f),'fillType':_0xa28743[_0x545e1e(0x96)][_0x545e1e(0x130)],'fillImageSource':_0x2d6269,'fillImageSourceType':_0x2b961}}));}[_0x30e99e(0x9c)](){const _0xe44ef5=_0x30e99e;return this[_0xe44ef5(0xeb)](_0x4ddce5=>({..._0x4ddce5,'fill':{'fillType':_0xa28743[_0xe44ef5(0x96)][_0xe44ef5(0x9d)]}}));}[_0x30e99e(0x88)](_0x5493a3){const _0x10da99=_0x30e99e;return this[_0x10da99(0xeb)](_0x43fa61=>({..._0x43fa61,'stroke':_0x4d548f[_0x10da99(0xae)][_0x10da99(0xc0)](_0x5493a3)}));}['setStrokeColor'](_0x29bcd0){const _0x437142=_0x30e99e;return this[_0x437142(0x137)](_0x5bd527=>({..._0x5bd527,'color':_0x29bcd0,'lineStrokeType':_0x5bd527[_0x437142(0xc8)]===_0xa28743[_0x437142(0xaf)][_0x437142(0xce)]?_0xa28743[_0x437142(0xaf)][_0x437142(0x11d)]:_0x5bd527[_0x437142(0xc8)]}));}[_0x30e99e(0xda)](_0x2d0155){const _0x3dcab7=_0x30e99e;return this['_patchStroke'](_0x448cc6=>({..._0x448cc6,'width':_0x2d0155,'lineStrokeType':_0x448cc6[_0x3dcab7(0xc8)]===_0xa28743[_0x3dcab7(0xaf)][_0x3dcab7(0xce)]?_0xa28743[_0x3dcab7(0xaf)][_0x3dcab7(0x11d)]:_0x448cc6[_0x3dcab7(0xc8)]}));}[_0x30e99e(0x14f)](_0x30de60){return this['_patchStroke'](_0x29a195=>({..._0x29a195,'opacity':_0x30de60}));}['setStrokeLineDashType'](_0x5ee4c3){const _0x5bfdea=_0x30e99e;return this[_0x5bfdea(0x137)](_0x43ea03=>({..._0x43ea03,'dashType':_0x5ee4c3}));}[_0x30e99e(0x13c)](_0x46f908){return this['_patchStroke'](_0x4b4a50=>({..._0x4b4a50,'lineJoinType':_0x46f908}));}[_0x30e99e(0x10e)](_0x3cec1b){const _0xbefd4=_0x30e99e;return this[_0xbefd4(0x137)](_0x15e9e0=>({..._0x15e9e0,'capType':_0x3cec1b}));}[_0x30e99e(0x126)](_0x2e26f3){const _0x3fe244=_0x30e99e;return this[_0x3fe244(0x137)](_0x34696d=>({..._0x34696d,'lineStrokeType':_0x2e26f3}));}['update'](_0x1d48ae){const _0x249d2b=_0x30e99e;var _0x43e302,_0x2ae172,_0x1ff0dd;let _0xed4024=_0x1d48ae['shapeData'],_0x3d06fa=_0xed4024&&(_0x249d2b(0xa3)in _0xed4024||'points'in _0xed4024)?this[_0x249d2b(0x100)]():null,_0x498181=(_0x43e302=(_0x2ae172=_0x1d48ae['shapeType'])==null?(_0x1ff0dd=_0x1d48ae['shapeData'])==null?void 0x0:_0x1ff0dd[_0x249d2b(0x112)]:_0x2ae172)==null?_0x3d06fa:_0x43e302,_0x285ea9=_0x397892(_0x1d48ae,_0x498181!==null&&(0x0,_0xa28743[_0x249d2b(0x86)])(_0x498181));return _0x285ea9?(console['warn'](_0x249d2b(0x149)+_0x285ea9),this):(this[_0x249d2b(0x11f)](_0x249d2b(0xc9),_0x4e99ae=>_0x4e99ae[_0x249d2b(0x138)](this[_0x249d2b(0x115)],_0x1d48ae)),this);}['remove'](){const _0x40f376=_0x30e99e;return this[_0x40f376(0x11f)](_0x40f376(0x124),_0x5b51b7=>_0x5b51b7[_0x40f376(0xc1)](this[_0x40f376(0x115)]));}['bringToFront'](){const _0x3d91c6=_0x30e99e;return this[_0x3d91c6(0x11f)](_0x3d91c6(0xbf),_0x3e5e5e=>_0x3e5e5e[_0x3d91c6(0xac)](this[_0x3d91c6(0x115)])),this;}[_0x30e99e(0x9e)](){const _0x1df99d=_0x30e99e;return this[_0x1df99d(0x11f)]('bring\x20forward',_0x419aee=>_0x419aee[_0x1df99d(0x9e)](this[_0x1df99d(0x115)])),this;}['sendBackward'](){return this['_mutate']('send\x20backward',_0x3d48e9=>_0x3d48e9['sendBackward'](this['_shapeRef'])),this;}['sendToBack'](){const _0x4cb16d=_0x30e99e;return this[_0x4cb16d(0x11f)](_0x4cb16d(0x8b),_0x9df475=>_0x9df475['sendToBack'](this[_0x4cb16d(0x115)])),this;}['_getAdapter'](){const _0x12e060=_0x30e99e;return this[_0x12e060(0xf3)][_0x12e060(0x10b)](_0xa28743[_0x12e060(0x133)])[_0x12e060(0x10b)](this[_0x12e060(0x115)][_0x12e060(0x91)]);}[_0x30e99e(0xeb)](_0x1d08ca,_0x296bee){const _0x40b6b9=_0x30e99e;let _0x3a88ed=this[_0x40b6b9(0x82)]();return _0x3a88ed?this[_0x40b6b9(0xc9)]({'shapeType':_0x296bee,'shapeData':_0x1d08ca(_0x3a88ed)}):this;}[_0x30e99e(0x137)](_0xa89922){return this['_patchShapeData'](_0xcbea50=>{var _0x1bfd53;return{..._0xcbea50,'stroke':_0xa89922((_0x1bfd53=_0xcbea50['stroke'])==null?{}:_0x1bfd53)};});}[_0x30e99e(0xbc)](){const _0x3134b8=_0x30e99e;let _0x23835d=this[_0x3134b8(0x13b)]();if(!_0x23835d)return null;try{return _0x23835d[_0x3134b8(0x13d)](this['_shapeRef'])||(console[_0x3134b8(0x127)](_0x3134b8(0xca)+this[_0x3134b8(0x115)][_0x3134b8(0xf5)]+'\x22\x20was\x20not\x20found.'),null);}catch(_0x17a872){return console['warn']('[Shape\x20Facade]:\x20Failed\x20to\x20read\x20Shape\x20\x22'+this[_0x3134b8(0x115)][_0x3134b8(0xf5)]+'\x22.',_0x17a872),null;}}['_getGeometryModel'](){const _0x2406cd=_0x30e99e;let _0x1bc802=this[_0x2406cd(0xbc)]();if(!_0x1bc802)return null;try{let _0x6e2c4a=new _0xa28743[(_0x2406cd(0xf6))](_0x1bc802[_0x2406cd(0x112)],_0x1bc802['shapeId'],_0x1bc802[_0x2406cd(0xab)]);return _0x6e2c4a[_0x2406cd(0x8e)]({'width':_0x1bc802[_0x2406cd(0x89)]['width'],'height':_0x1bc802[_0x2406cd(0x89)]['height']}),_0x6e2c4a;}catch(_0xc0b8f0){return console[_0x2406cd(0x127)]('[Shape\x20Facade]:\x20Failed\x20to\x20resolve\x20geometry\x20for\x20Shape\x20\x22'+this[_0x2406cd(0x115)][_0x2406cd(0xf5)]+'\x22.',_0xc0b8f0),null;}}[_0x30e99e(0x11f)](_0x2a78d9,_0xa82b74){const _0x20521c=_0x30e99e;let _0x58fdfe=this[_0x20521c(0x13b)]();if(!_0x58fdfe)return!0x1;try{let _0x3f1491=_0xa82b74(_0x58fdfe);return _0x3f1491||console['warn'](_0x20521c(0xfa)+_0x2a78d9+_0x20521c(0x140)+this[_0x20521c(0x115)]['shapeId']+'\x22.'),_0x3f1491;}catch(_0x2ee97f){return console[_0x20521c(0x127)](_0x20521c(0xfa)+_0x2a78d9+_0x20521c(0x140)+this[_0x20521c(0x115)][_0x20521c(0xf5)]+'\x22.',_0x2ee97f),!0x1;}}};function _0x397892(_0x1720f5,_0x1e2408=!0x1){const _0x7684b4=_0x30e99e;for(let _0x1140fa of[_0x7684b4(0xf2),'selectable']){let _0x565bc5=_0x1720f5[_0x1140fa];if(_0x565bc5!==void 0x0&&typeof _0x565bc5!=_0x7684b4(0x104))return _0x7684b4(0x10d)+_0x1140fa+_0x7684b4(0x114);}let _0x381aba=_0x1720f5[_0x7684b4(0x89)];if(_0x381aba){for(let _0x47ea46 of['left','top','width',_0x7684b4(0xe5),'rotation']){let _0x6ae6ee=_0x381aba[_0x47ea46];if(_0x6ae6ee!==void 0x0&&!Number[_0x7684b4(0xdf)](_0x6ae6ee))return _0x7684b4(0xc5)+_0x47ea46+_0x7684b4(0xff);}if(_0x381aba['width']!==void 0x0&&_0x381aba[_0x7684b4(0x99)]<=0x0)return _0x7684b4(0x148);if(_0x381aba[_0x7684b4(0xe5)]!==void 0x0&&_0x381aba[_0x7684b4(0xe5)]<=0x0)return _0x7684b4(0x13f);for(let _0x5137ed of[_0x7684b4(0xa5),_0x7684b4(0x141)]){let _0x58f584=_0x381aba[_0x5137ed];if(_0x58f584!==void 0x0&&typeof _0x58f584!=_0x7684b4(0x104))return'Shape\x20transform\x20\x22'+_0x5137ed+_0x7684b4(0x114);}}let _0x128077=_0x1720f5[_0x7684b4(0xab)];return!_0x1e2408&&_0x128077&&('relation'in _0x128077||'points'in _0x128077)?'Connector\x20relationships\x20and\x20route\x20points\x20require\x20FConnectorShape.':null;}var _0xc6f4f1=class extends _0x5e2605{[_0x30e99e(0x86)](){return!0x0;}['getStartEndpoint'](){const _0x5e4805=_0x30e99e;let _0x275ed4=this['_getConnectorSnapshot']();return _0x275ed4?_0x4d548f[_0x5e4805(0xae)][_0x5e4805(0xc0)](_0x275ed4[_0x5e4805(0xf1)]):null;}[_0x30e99e(0x13a)](){const _0x1fc8ba=_0x30e99e;let _0x4780cb=this[_0x1fc8ba(0x95)]();return _0x4780cb?_0x4d548f['Tools'][_0x1fc8ba(0xc0)](_0x4780cb[_0x1fc8ba(0x120)]):null;}['getRoutePoints'](){const _0x4153a5=_0x30e99e;let _0xaa02da=this[_0x4153a5(0x95)]();return _0xaa02da?_0x4d548f[_0x4153a5(0xae)][_0x4153a5(0xc0)](_0xaa02da[_0x4153a5(0xf4)]):null;}[_0x30e99e(0x84)](){const _0x116bf7=_0x30e99e;let _0x3bb1a3=this[_0x116bf7(0x95)]();return _0x3bb1a3?_0x4d548f[_0x116bf7(0xae)]['deepClone'](_0x3bb1a3[_0x116bf7(0x134)]):null;}[_0x30e99e(0x14b)](){const _0x5acbab=_0x30e99e;let _0x3d40be=this['_getConnectorSnapshot']();return _0x3d40be?_0x4d548f[_0x5acbab(0xae)]['deepClone'](_0x3d40be['endArrow']):null;}[_0x30e99e(0x12c)](_0x51bc1a){const _0x5f066f=_0x30e99e;return(0x0,_0xa28743['isConnectorShape'])(_0x51bc1a)?super['setShapeType'](_0x51bc1a):(console[_0x5f066f(0x127)](_0x5f066f(0xdb)+this['_shapeRef'][_0x5f066f(0xf5)]+'\x22\x20requires\x20a\x20Connector\x20Shape\x20type.'),this);}[_0x30e99e(0x9b)](_0xa13a2a){const _0x270d1a=_0x30e99e;return _0xa13a2a['shapeType']!==void 0x0&&!(0x0,_0xa28743[_0x270d1a(0x86)])(_0xa13a2a[_0x270d1a(0x112)])?(console[_0x270d1a(0x127)](_0x270d1a(0xdb)+this['_shapeRef'][_0x270d1a(0xf5)]+_0x270d1a(0xfc)),this):super['setShapeData'](_0xa13a2a);}[_0x30e99e(0x9a)](_0x1a5a96,_0x23b562){const _0x53ff86=_0x30e99e;return this[_0x53ff86(0xd4)](_0x53ff86(0xf1),_0x1a5a96,_0x23b562),this;}[_0x30e99e(0xd2)](_0x3f7b6c,_0x2fdd97){const _0x282153=_0x30e99e;return this[_0x282153(0xd4)]('end',_0x3f7b6c,_0x2fdd97),this;}[_0x30e99e(0xde)](){const _0x12f9e5=_0x30e99e;return this['_mutateConnector']('unbind\x20start',_0x4a03ce=>_0x4a03ce[_0x12f9e5(0xde)](this[_0x12f9e5(0x115)])),this;}[_0x30e99e(0xb0)](){const _0x46a784=_0x30e99e;return this[_0x46a784(0x10a)](_0x46a784(0x12b),_0xb66345=>_0xb66345[_0x46a784(0xb0)](this[_0x46a784(0x115)])),this;}[_0x30e99e(0x144)](_0x4578d6){const _0x47dab4=_0x30e99e;return _0x6c4625(_0x4578d6,this['_shapeRef'][_0x47dab4(0xf5)])&&this[_0x47dab4(0x10a)](_0x47dab4(0xee),_0x1e3c31=>_0x1e3c31[_0x47dab4(0x144)](this[_0x47dab4(0x115)],_0x4578d6)),this;}['setEndPoint'](_0x5b8e1c){const _0x4f52e6=_0x30e99e;return _0x6c4625(_0x5b8e1c,this[_0x4f52e6(0x115)][_0x4f52e6(0xf5)])&&this[_0x4f52e6(0x10a)](_0x4f52e6(0x145),_0xaef59d=>_0xaef59d['setEndPoint'](this[_0x4f52e6(0x115)],_0x5b8e1c)),this;}[_0x30e99e(0xcc)](_0x10917b){const _0x404299=_0x30e99e;return _0x10917b[_0x404299(0xb4)](_0x5e2acc=>_0x6c4625(_0x5e2acc,this[_0x404299(0x115)]['shapeId']))&&this[_0x404299(0x10a)](_0x404299(0xd9),_0x47a2fa=>_0x47a2fa[_0x404299(0xcc)](this[_0x404299(0x115)],_0x10917b)),this;}['setStartArrow'](_0x5e4729,_0x4036e2){const _0x5d87a4=_0x30e99e;return this[_0x5d87a4(0x10a)](_0x5d87a4(0xe8),_0x4a9c73=>_0x4a9c73[_0x5d87a4(0x8a)](this['_shapeRef'],_0x5e4729,_0x4036e2)),this;}['setEndArrow'](_0xe36f8d,_0x5e2c28){const _0x4c808f=_0x30e99e;return this[_0x4c808f(0x10a)]('set\x20end\x20arrow',_0x4568d9=>_0x4568d9['setEndArrow'](this['_shapeRef'],_0xe36f8d,_0x5e2c28)),this;}['_getConnectorAdapter'](){const _0x4811c=_0x30e99e;return this['_injector'][_0x4811c(0x10b)](_0xa28743['IConnectorShapeHostAdapter']);}['_getConnectorSnapshot'](){const _0x53728e=_0x30e99e;let _0x1b2779=this[_0x53728e(0x12e)]();if(!_0x1b2779)return null;try{return _0x1b2779['getConnector'](this['_shapeRef'])||(console['warn']('[Shape\x20Facade]:\x20Connector\x20Shape\x20\x22'+this[_0x53728e(0x115)][_0x53728e(0xf5)]+_0x53728e(0x142)),null);}catch(_0x54535f){return console[_0x53728e(0x127)]('[Shape\x20Facade]:\x20Failed\x20to\x20read\x20Connector\x20Shape\x20\x22'+this[_0x53728e(0x115)][_0x53728e(0xf5)]+'\x22.',_0x54535f),null;}}['_bind'](_0x5481c6,_0x1bacf2,_0x1582b7){const _0x1b7390=_0x30e99e;if(!_0x1bacf2||!Number['isInteger'](_0x1582b7)||_0x1582b7<0x0)return console[_0x1b7390(0x127)](_0x1b7390(0xba)+this[_0x1b7390(0x115)][_0x1b7390(0xf5)]+_0x1b7390(0xec)),!0x1;let _0x146bdd={'shapeId':_0x1bacf2,'cxnIndex':_0x1582b7};return this[_0x1b7390(0x10a)](_0x1b7390(0x8f)+_0x5481c6,_0xb4dde8=>_0x5481c6==='start'?_0xb4dde8['bindStart'](this[_0x1b7390(0x115)],_0x146bdd):_0xb4dde8[_0x1b7390(0xd2)](this[_0x1b7390(0x115)],_0x146bdd));}[_0x30e99e(0x10a)](_0x5cd9f5,_0x3409ec){const _0x105c57=_0x30e99e;let _0x11a2b8=this[_0x105c57(0x12e)]();if(!_0x11a2b8)return!0x1;try{let _0x2ac997=_0x3409ec(_0x11a2b8);return _0x2ac997||console[_0x105c57(0x127)](_0x105c57(0xfa)+_0x5cd9f5+_0x105c57(0x14a)+this[_0x105c57(0x115)][_0x105c57(0xf5)]+'\x22.'),_0x2ac997;}catch(_0x109eb9){return console['warn'](_0x105c57(0xfa)+_0x5cd9f5+_0x105c57(0x14a)+this[_0x105c57(0x115)][_0x105c57(0xf5)]+'\x22.',_0x109eb9),!0x1;}}};function _0x6c4625(_0x26ed2f,_0x4de5a1){const _0xe764e7=_0x30e99e;return!Number['isFinite'](_0x26ed2f['x'])||!Number[_0xe764e7(0xdf)](_0x26ed2f['y'])?(console[_0xe764e7(0x127)](_0xe764e7(0xba)+_0x4de5a1+_0xe764e7(0xfe)),!0x1):!0x0;}_0x45a3d5[_0x30e99e(0x125)]=_0xc6f4f1,_0x45a3d5[_0x30e99e(0xed)]=_0x5e2605,_0x45a3d5[_0x30e99e(0x8d)]=_0x5d6d4d;}));function _0x2f0c(_0x21a1aa,_0x42bed1){_0x21a1aa=_0x21a1aa-0x7d;const _0x726c75=_0x726c();let _0x2f0cd2=_0x726c75[_0x21a1aa];return _0x2f0cd2;}function _0x726c(){const _0x15538a=['ImageSourceTypeEnum','_bind','Linear','getAdjustPoints','ShapeTextAutoFitType','setRichText','set\x20route\x20points','setStrokeWidth','[Shape\x20Facade]:\x20Connector\x20Shape\x20\x22','ShapeArrowSizeEnum','applyShapeTextBoxOptions','unbindStart','isFinite','getName','isCustomShape','UniverCore','length','picture','height','ShapeLineDashEnum','UniverProEngineShapeFacade','set\x20start\x20arrow','setTransform','stretch','_patchShapeData','\x22\x20binding\x20requires\x20a\x20target\x20Shape\x20ID\x20and\x20a\x20non-negative\x20connection\x20site\x20index.','FShape','set\x20start\x20point','347625lmOivW','selectable','start','visible','_injector','routePoints','shapeId','ShapeModel','[Shape\x20Facade]:\x20Gradient\x20fill\x20requires\x20at\x20least\x20two\x20color\x20stops.','793644ISvTke','Diamond','[Shape\x20Facade]:\x20Failed\x20to\x20','getDescription','\x22\x20requires\x20Connector\x20Shape\x20data.','rgba(0,\x200,\x200,\x200)','\x22\x20points\x20must\x20contain\x20finite\x20coordinates.','\x22\x20must\x20be\x20finite.','getShapeType','UniverCoreFacade','FEnum','setDescription','boolean','ImageFillModeEnum','setSelectable','ShapeArrowTypeEnum','applyRichTextToShapeText','setColor','_mutateConnector','get','setFontSize','Shape\x20\x22','setStrokeLineCapType','[Shape\x20Text\x20Facade]:\x20Failed\x20to\x20read\x20Shape\x20\x22','29557XOomLR','function','shapeType','offsetX','\x22\x20must\x20be\x20boolean.','_shapeRef','ShapeOperatorEnum','_getShapeData','Radial','setImageFill','119mnLbWM','URL','SolidFill','SolidLine','setName','_mutate','end','getDrawingPoints','radial','getConnectionSiteList','remove','FConnectorShape','setStrokeLineType','warn','_updateShapeData','opacity','resolveShapeTextBoxOptions','unbind\x20end','setShapeType','[Shape\x20Text\x20Facade]:\x20Failed\x20to\x20update\x20Shape\x20\x22','_getConnectorAdapter','Module','PictureFill','getTransform','setRotation','IShapeHostAdapterRegistry','startArrow','50994jSmLWb','color','_patchStroke','updateShape','ShapeGradientTypeEnum','getEndEndpoint','_getAdapter','setStrokeLineJoinType','getShape','object','Shape\x20height\x20must\x20be\x20greater\x20than\x20zero.','\x20Shape\x20\x22','flipY','\x22\x20was\x20not\x20found.','setGradientFill','setStartPoint','set\x20end\x20point','getTextBoxOptions','ShapeTextWrapType','Shape\x20width\x20must\x20be\x20greater\x20than\x20zero.','[Shape\x20Facade]:\x20','\x20Connector\x20Shape\x20\x22','getEndArrow','setCustomGeometry','getEndConnectInfo','setSolidFill','setStrokeOpacity','[Shape\x20Text\x20Facade]:\x20Shape\x20\x22','_getGeometryModel','shapeText','diamond','isSelectable','toStringTag','getShapeData','getHostType','getStartArrow','@univerjs/core','isConnectorShape','Tile','setStroke','transform','setStartArrow','send\x20to\x20back','setTextBoxOptions','FShapeText','updateContext','bind\x20','8qzjcQt','hostType','FALSE','description','getConnectionSites','_getConnectorSnapshot','ShapeFillEnum','BooleanNumber','[Shape\x20Text\x20Facade]:\x20Gradient\x20text\x20fill\x20requires\x20at\x20least\x20two\x20color\x20stops.','width','bindStart','setShapeData','setNoneFill','NoFill','bringForward','applyShapeTextAlignment','linear','ShapeTypeEnum','setVerticalAlign','relation','894gmhYQF','flipX','setAbsolutePosition','13ofFwIf','gradient','710eRmdHn','46662LXegdr','shapeData','bringToFront','none','Tools','ShapeLineTypeEnum','unbindEnd','map','toPlainText','ShapeTextDirection','every','getSnapshot','ShapeImageFillModeEnum','getStartConnectInfo','603UGVNml','defineProperty','[Shape\x20Facade]:\x20Connector\x20\x22','\x22\x20text.','_getSnapshot','13280XWDoWm','customGeometry','bring\x20to\x20front','deepClone','removeShape','solid','ShapeLineCapEnum','setHorizontalAlign','Shape\x20transform\x20\x22','offsetY','269rZnDIH','lineStrokeType','update','[Shape\x20Facade]:\x20Shape\x20\x22','setTextStyle','setRoutePoints','getRichText','NoLine','TRUE','isCustom','ShapeImageSourceTypeEnum','bindEnd'];_0x726c=function(){return _0x15538a;};return _0x726c();}
1
+ function _0x3f1c(){const _0x4d844b=['FShape','[Shape\x20Text\x20Facade]:\x20Gradient\x20text\x20fill\x20requires\x20at\x20least\x20two\x20color\x20stops.','applyShapeTextStyle','extend','\x22\x20binding\x20requires\x20a\x20target\x20Shape\x20ID\x20and\x20a\x20non-negative\x20connection\x20site\x20index.','setDescription','shapeTextToRichTextValue','Linear','getPlainText','ShapeArrowSizeEnum','getTransform','isInteger','[Shape\x20Text\x20Facade]:\x20Failed\x20to\x20update\x20Shape\x20\x22','@univerjs/core','getConnector','getSnapshot','color','shapeData','Shape\x20transform\x20\x22','ShapeLineCapEnum','_getSnapshot','[Shape\x20Facade]:\x20Failed\x20to\x20','2866195KuVGQk','scaleX','bring\x20forward','Diamond','Shape\x20height\x20must\x20be\x20greater\x20than\x20zero.','IConnectorShapeHostAdapter','diamond','setRichText','scaleY','flipX','hostType','tile','width','getTextBoxOptions','_injector','[Shape\x20Facade]:\x20Shape\x20\x22','@univerjs/core/facade','shapeText','_getShapeData','setFontFamily','58oYPOhT','[Shape\x20Text\x20Facade]:\x20Failed\x20to\x20read\x20Shape\x20\x22','_mutate','left','UniverProEngineShapeFacade','setStartArrow','2856135EHaIOB','_patchStroke','exports','bringForward','toPlainText','boolean','get','bind\x20','SolidFill','setName','setTextBoxOptions','setGradientFill','setSize','FALSE','sendToBack','setSelectable','Tools','_getAdapter','getEndConnectInfo','_getGeometryModel','Shape\x20width\x20must\x20be\x20greater\x20than\x20zero.','setBold','unbindStart','BooleanNumber','TRUE','ShapeTextWrapType','\x22\x20points\x20must\x20contain\x20finite\x20coordinates.','setShapeType','_bind','[Shape\x20Facade]:\x20','FShapeText','Tile','isVisible','getShapeData','getEndEndpoint','solid','setNoneFill','ShapeImageSourceTypeEnum','ImageSourceTypeEnum','_shapeRef','5955952NfErmX','bringToFront','[Shape\x20Facade]:\x20Failed\x20to\x20read\x20Shape\x20\x22','21526YmjPHq','getEndArrow','amd','setStrokeColor','setStrokeOpacity','ShapeTextAutoFitType','update','\x22\x20requires\x20a\x20Connector\x20Shape\x20type.','getStartEndpoint','setImageFill','\x22\x20must\x20be\x20boolean.','updateContext','setVerticalAlign','ShapeTextDirection','setStroke','bring\x20to\x20front','isFinite','setStrokeLineType','relation','ShapeArrowTypeEnum','transform','\x20Shape\x20\x22','Angular','resolveShapeTextBoxOptions','[Shape\x20Facade]:\x20Connector\x20Shape\x20\x22','GradientFill','shapeId','none','visible','ShapeTypeEnum','lineStrokeType','SolidLine','top','UniverCore','_patchShapeData','Module','getRichText','getText','applyShapeTextAlignment','\x22\x20text.','customGeometry','unbind\x20start','FBase','offsetX','setItalic','set\x20start\x20arrow','setEndPoint','setRoutePoints','set\x20start\x20point','getDescription','applyTextToShapeText','ShapeLineTypeEnum','[Shape\x20Facade]:\x20Connector\x20\x22','URL','[Shape\x20Text\x20Facade]:\x20Shape\x20\x22','Connector\x20relationships\x20and\x20route\x20points\x20require\x20FConnectorShape.','setTransform','FEnum','flipY','radial','shapeType','@univerjs-pro/engine-shape','endArrow','setTextStyle','setStrokeWidth','_getConnectorSnapshot','setShapeData','set\x20route\x20points','selectable','setVisible','ShapeImageFillModeEnum','setHorizontalAlign','bindStart','setCustomGeometry','every','map','_mutateConnector','function','isConnectorShape','deepClone','1884496IwIkuj','setStrokeLineDashType','\x20Connector\x20Shape\x20\x22','ShapeLineDashEnum','set\x20end\x20point','FConnectorShape','updateShape','removeShape','ShapeFillEnum','UniverProEngineShape','27WyXFwm','25942jPHYxm','NoFill','\x22\x20was\x20not\x20found.','getAdjustPoints','setSolidFill','Shape\x20\x22','warn','points','remove','PictureFill','ShapeGradientTypeEnum','_updateShapeData','getRoutePoints','setStartPoint','length','isSelectable','description','object','defineProperty','ShapeLineJoinEnum','start','isCustomShape','getStartConnectInfo','rotation','4845710PHPivj','getShape','getShapeType','ImageFillModeEnum','894qZueZy','send\x20backward','gradient','height','_getConnectorAdapter','Radial','sendBackward','getName','end','stretch','ShapeOperatorEnum','IShapeHostAdapterRegistry','isCustom','NoLine'];_0x3f1c=function(){return _0x4d844b;};return _0x3f1c();}function _0x5bd5(_0x4a1044,_0x552607){_0x4a1044=_0x4a1044-0x18a;const _0x3f1cf5=_0x3f1c();let _0x5bd5f5=_0x3f1cf5[_0x4a1044];return _0x5bd5f5;}(function(_0x59dd0f,_0x48ebbf){const _0x19bad2=_0x5bd5,_0x308619=_0x59dd0f();while(!![]){try{const _0x474e0f=-parseInt(_0x19bad2(0x210))/0x1*(-parseInt(_0x19bad2(0x241))/0x2)+-parseInt(_0x19bad2(0x216))/0x3+parseInt(_0x19bad2(0x1b1))/0x4+parseInt(_0x19bad2(0x1fc))/0x5+-parseInt(_0x19bad2(0x1d8))/0x6*(-parseInt(_0x19bad2(0x1bc))/0x7)+parseInt(_0x19bad2(0x23e))/0x8+-parseInt(_0x19bad2(0x1bb))/0x9*(parseInt(_0x19bad2(0x1d4))/0xa);if(_0x474e0f===_0x48ebbf)break;else _0x308619['push'](_0x308619['shift']());}catch(_0x15a832){_0x308619['push'](_0x308619['shift']());}}}(_0x3f1c,0x889bb),function(_0x452d47,_0x4ee5ff){const _0x39c97d=_0x5bd5;typeof exports==_0x39c97d(0x1cd)&&typeof module<'u'?_0x4ee5ff(exports,require('@univerjs-pro/engine-shape'),require('@univerjs/core/facade'),require('@univerjs/core')):typeof define==_0x39c97d(0x1ae)&&define[_0x39c97d(0x243)]?define([_0x39c97d(0x218),_0x39c97d(0x19e),_0x39c97d(0x20c),_0x39c97d(0x1f3)],_0x4ee5ff):(_0x452d47=typeof globalThis<'u'?globalThis:_0x452d47||self,_0x4ee5ff(_0x452d47[_0x39c97d(0x214)]={},_0x452d47[_0x39c97d(0x1ba)],_0x452d47['UniverCoreFacade'],_0x452d47[_0x39c97d(0x262)]));}(this,function(_0x56c73f,_0x36aa3b,_0x1b9acd,_0x268bbd){const _0x59cf0f=_0x5bd5;Object[_0x59cf0f(0x1ce)](_0x56c73f,Symbol['toStringTag'],{'value':_0x59cf0f(0x264)});var _0xd33d49=class extends _0x1b9acd[_0x59cf0f(0x19a)]{get[_0x59cf0f(0x25e)](){const _0x382c93=_0x59cf0f;return _0x36aa3b[_0x382c93(0x25e)];}get[_0x59cf0f(0x1b9)](){return _0x36aa3b['ShapeFillEnum'];}get[_0x59cf0f(0x1c6)](){return _0x36aa3b['ShapeGradientTypeEnum'];}get[_0x59cf0f(0x1a7)](){const _0x5d531b=_0x59cf0f;return _0x36aa3b[_0x5d531b(0x1d7)];}get[_0x59cf0f(0x23b)](){const _0x1fe35c=_0x59cf0f;return _0x36aa3b[_0x1fe35c(0x23c)];}get[_0x59cf0f(0x194)](){return _0x36aa3b['ShapeLineTypeEnum'];}get[_0x59cf0f(0x1b4)](){return _0x36aa3b['ShapeLineDashEnum'];}get[_0x59cf0f(0x1f9)](){const _0x55e83b=_0x59cf0f;return _0x36aa3b[_0x55e83b(0x1f9)];}get[_0x59cf0f(0x1cf)](){const _0xbab46=_0x59cf0f;return _0x36aa3b[_0xbab46(0x1cf)];}get[_0x59cf0f(0x1e2)](){const _0x1ea3a7=_0x59cf0f;return _0x36aa3b[_0x1ea3a7(0x1e2)];}get[_0x59cf0f(0x254)](){const _0x3bd745=_0x59cf0f;return _0x36aa3b[_0x3bd745(0x254)];}get[_0x59cf0f(0x1ef)](){const _0x330692=_0x59cf0f;return _0x36aa3b[_0x330692(0x1ef)];}get[_0x59cf0f(0x246)](){const _0x4c1294=_0x59cf0f;return _0x36aa3b[_0x4c1294(0x246)];}get[_0x59cf0f(0x24e)](){const _0x25cdd9=_0x59cf0f;return _0x36aa3b[_0x25cdd9(0x24e)];}get[_0x59cf0f(0x22f)](){const _0x29707d=_0x59cf0f;return _0x36aa3b[_0x29707d(0x22f)];}};_0x1b9acd['FEnum'][_0x59cf0f(0x1e9)](_0xd33d49);function _0x475a42(_0x4b45af){const _0x3730c0=_0x59cf0f;switch(_0x4b45af){case _0x36aa3b[_0x3730c0(0x1c6)][_0x3730c0(0x1dd)]:return _0x3730c0(0x19c);case _0x36aa3b[_0x3730c0(0x1c6)][_0x3730c0(0x257)]:return'angular';case _0x36aa3b[_0x3730c0(0x1c6)][_0x3730c0(0x1ff)]:return _0x3730c0(0x202);case _0x36aa3b['ShapeGradientTypeEnum'][_0x3730c0(0x1ed)]:default:return'linear';}}function _0x10474e(_0x43da8d){const _0x5e0fa4=_0x59cf0f;return _0x43da8d===_0x36aa3b[_0x5e0fa4(0x1d7)][_0x5e0fa4(0x235)]?_0x5e0fa4(0x207):_0x5e0fa4(0x1e1);}var _0x2ce68f=class{constructor(_0xa7706f,_0x49051e){const _0x25aaf2=_0x59cf0f;this[_0x25aaf2(0x23d)]=_0xa7706f,this[_0x25aaf2(0x20a)]=_0x49051e;}[_0x59cf0f(0x265)](){const _0x5c4946=_0x59cf0f;var _0x414102;return(0x0,_0x36aa3b[_0x5c4946(0x1ec)])((_0x414102=this[_0x5c4946(0x20e)]())==null?void 0x0:_0x414102[_0x5c4946(0x20d)]);}[_0x59cf0f(0x1ee)](){const _0x3b8bc4=_0x59cf0f;var _0x3ff1ff,_0x217d4b;return(_0x3ff1ff=(_0x217d4b=this[_0x3b8bc4(0x265)]())==null?void 0x0:_0x217d4b[_0x3b8bc4(0x21a)]())==null?null:_0x3ff1ff;}[_0x59cf0f(0x203)](_0x364198){const _0x322aef=_0x59cf0f;return this['_updateShapeData'](_0x3329da=>({..._0x3329da,'shapeText':(0x0,_0x36aa3b['applyRichTextToShapeText'])(_0x3329da[_0x322aef(0x20d)],_0x364198)})),this;}['setText'](_0x3f1560){const _0x28ecf4=_0x59cf0f;return this['_updateShapeData'](_0x1a94e5=>({..._0x1a94e5,'shapeText':(0x0,_0x36aa3b[_0x28ecf4(0x193)])(_0x1a94e5['shapeText'],_0x3f1560)})),this;}['setTextStyle'](_0x118c51){const _0x1076b5=_0x59cf0f;return this[_0x1076b5(0x1c7)](_0x38da6f=>({..._0x38da6f,'shapeText':(0x0,_0x36aa3b[_0x1076b5(0x1e8)])(_0x38da6f['shapeText'],_0x118c51)})),this;}['setColor'](_0x1984da,_0x54d351){const _0x3755c0=_0x59cf0f;return this[_0x3755c0(0x1a0)]({'cl':{'rgb':_0x1984da},'textFill':{'type':_0x3755c0(0x239),'color':_0x1984da,'opacity':_0x54d351}});}[_0x59cf0f(0x23a)](){const _0x4cb2c3=_0x59cf0f;return this[_0x4cb2c3(0x1a0)]({'cl':{'rgb':'rgba(0,\x200,\x200,\x200)'},'textFill':{'type':_0x4cb2c3(0x25c)}});}[_0x59cf0f(0x221)](_0x4795da,_0x4d6e29,_0x26fb38){const _0x599758=_0x59cf0f;return _0x4d6e29[_0x599758(0x1ca)]<0x2?(console[_0x599758(0x1c2)](_0x599758(0x1e7)),this):this[_0x599758(0x1a0)]({'cl':{'rgb':_0x4d6e29[0x0][_0x599758(0x1f6)]},'textFill':{'type':_0x599758(0x1da),'gradient':{'type':_0x475a42(_0x4795da),'angle':_0x26fb38,'stops':_0x4d6e29[_0x599758(0x1ac)](({position:_0x57b57c,color:_0x5d4798,opacity:_0xea0e3})=>({'offset':_0x57b57c,'color':_0x5d4798,'opacity':_0xea0e3}))}}});}[_0x59cf0f(0x24a)](_0x2cb197,_0x1624e7=_0x36aa3b['ImageSourceTypeEnum'][_0x59cf0f(0x196)],_0x1bb39d={}){const _0x7e8936=_0x59cf0f;return this['setTextStyle']({'textFill':{'type':'picture','picture':{'source':_0x2cb197,'sourceType':_0x1624e7,'opacity':_0x1bb39d['opacity'],'mode':_0x10474e(_0x1bb39d['mode']),'scaleX':_0x1bb39d[_0x7e8936(0x1fd)],'scaleY':_0x1bb39d[_0x7e8936(0x204)],'offsetX':_0x1bb39d[_0x7e8936(0x18c)],'offsetY':_0x1bb39d['offsetY']}}});}['setFontSize'](_0x402812){const _0x3d93e4=_0x59cf0f;return this[_0x3d93e4(0x1a0)]({'fs':_0x402812});}[_0x59cf0f(0x20f)](_0x3b9eb4){const _0x38d706=_0x59cf0f;return this[_0x38d706(0x1a0)]({'ff':_0x3b9eb4});}[_0x59cf0f(0x22b)](_0xd82bb3){const _0x23dbb9=_0x59cf0f;return this[_0x23dbb9(0x1a0)]({'bl':_0xd82bb3?_0x268bbd['BooleanNumber']['TRUE']:_0x268bbd[_0x23dbb9(0x22d)][_0x23dbb9(0x223)]});}[_0x59cf0f(0x18d)](_0x561113){const _0x118d02=_0x59cf0f;return this[_0x118d02(0x1a0)]({'it':_0x561113?_0x268bbd[_0x118d02(0x22d)][_0x118d02(0x22e)]:_0x268bbd[_0x118d02(0x22d)][_0x118d02(0x223)]});}['setUnderline'](_0x3ead6b){const _0xf10d1f=_0x59cf0f;return this[_0xf10d1f(0x1a0)]({'ul':{'s':_0x3ead6b?_0x268bbd[_0xf10d1f(0x22d)][_0xf10d1f(0x22e)]:_0x268bbd['BooleanNumber']['FALSE']}});}['setStrikethrough'](_0x3bbcf3){const _0x24845e=_0x59cf0f;return this[_0x24845e(0x1a0)]({'st':{'s':_0x3bbcf3?_0x268bbd[_0x24845e(0x22d)][_0x24845e(0x22e)]:_0x268bbd[_0x24845e(0x22d)]['FALSE']}});}[_0x59cf0f(0x1a8)](_0x29e4fe){const _0x72e5ac=_0x59cf0f;return this[_0x72e5ac(0x1c7)](_0x2c810f=>(0x0,_0x36aa3b[_0x72e5ac(0x267)])(_0x2c810f,{'horizontalAlign':_0x29e4fe})),this;}[_0x59cf0f(0x24d)](_0x30df5e){const _0x24b2bd=_0x59cf0f;return this[_0x24b2bd(0x1c7)](_0x1aad50=>(0x0,_0x36aa3b[_0x24b2bd(0x267)])(_0x1aad50,{'verticalAlign':_0x30df5e})),this;}[_0x59cf0f(0x209)](){const _0x3f00d7=_0x59cf0f;let _0x424305=this[_0x3f00d7(0x20e)]();return _0x424305?(0x0,_0x36aa3b[_0x3f00d7(0x258)])(_0x424305):null;}[_0x59cf0f(0x220)](_0xdfe14e){const _0x21e4c9=_0x59cf0f;return this[_0x21e4c9(0x1c7)](_0x260489=>(0x0,_0x36aa3b['applyShapeTextBoxOptions'])(_0x260489,_0xdfe14e)),this;}['_getAdapter'](){const _0x3e9295=_0x59cf0f;return this[_0x3e9295(0x20a)]['get'](_0x36aa3b['IShapeHostAdapterRegistry'])[_0x3e9295(0x21c)](this[_0x3e9295(0x23d)]['hostType']);}[_0x59cf0f(0x20e)](){const _0x31ff2b=_0x59cf0f;let _0x22f3b2=this[_0x31ff2b(0x227)]();if(!_0x22f3b2)return null;try{var _0x34e722;return((_0x34e722=_0x22f3b2[_0x31ff2b(0x1d5)](this[_0x31ff2b(0x23d)]))==null?void 0x0:_0x34e722[_0x31ff2b(0x1f7)])||(console[_0x31ff2b(0x1c2)](_0x31ff2b(0x197)+this[_0x31ff2b(0x23d)][_0x31ff2b(0x25b)]+_0x31ff2b(0x1be)),null);}catch(_0xcd2fd){return console['warn'](_0x31ff2b(0x211)+this[_0x31ff2b(0x23d)][_0x31ff2b(0x25b)]+_0x31ff2b(0x268),_0xcd2fd),null;}}[_0x59cf0f(0x1c7)](_0x1aaee0){const _0x49c5b1=_0x59cf0f;let _0x31b372=this[_0x49c5b1(0x227)]();if(!_0x31b372)return!0x1;try{var _0x14b35f;let _0x3f789d=(_0x14b35f=_0x31b372[_0x49c5b1(0x1d5)](this[_0x49c5b1(0x23d)]))==null?void 0x0:_0x14b35f[_0x49c5b1(0x1f7)];if(!_0x3f789d)return console['warn'](_0x49c5b1(0x197)+this['_shapeRef'][_0x49c5b1(0x25b)]+_0x49c5b1(0x1be)),!0x1;let _0x481f84=_0x31b372[_0x49c5b1(0x1b7)](this[_0x49c5b1(0x23d)],{'shapeData':_0x1aaee0(_0x3f789d)});return _0x481f84||console[_0x49c5b1(0x1c2)](_0x49c5b1(0x1f2)+this[_0x49c5b1(0x23d)][_0x49c5b1(0x25b)]+_0x49c5b1(0x268)),_0x481f84;}catch(_0x32854e){return console['warn']('[Shape\x20Text\x20Facade]:\x20Failed\x20to\x20update\x20Shape\x20\x22'+this[_0x49c5b1(0x23d)][_0x49c5b1(0x25b)]+_0x49c5b1(0x268),_0x32854e),!0x1;}}},_0x41b18a=class extends _0x1b9acd[_0x59cf0f(0x18b)]{constructor(_0x2a0cee,_0x9f185a){super(),this['_shapeRef']=_0x2a0cee,this['_injector']=_0x9f185a;}['isConnectorShape'](){return!0x1;}['getId'](){const _0x1f263e=_0x59cf0f;return this[_0x1f263e(0x23d)][_0x1f263e(0x25b)];}[_0x59cf0f(0x1df)](){var _0x228d0e;return(_0x228d0e=this['_getSnapshot']())==null?void 0x0:_0x228d0e['name'];}[_0x59cf0f(0x21f)](_0x47b88e){const _0x46e28a=_0x59cf0f;return this[_0x46e28a(0x247)]({'name':_0x47b88e});}[_0x59cf0f(0x192)](){const _0x331568=_0x59cf0f;var _0x1bcee5;return(_0x1bcee5=this[_0x331568(0x1fa)]())==null?void 0x0:_0x1bcee5[_0x331568(0x1cc)];}[_0x59cf0f(0x1eb)](_0x2af186){const _0x5eb707=_0x59cf0f;return this[_0x5eb707(0x247)]({'description':_0x2af186});}['getHostType'](){const _0x4c6830=_0x59cf0f;return this[_0x4c6830(0x23d)][_0x4c6830(0x206)];}[_0x59cf0f(0x1d6)](){const _0x4efb06=_0x59cf0f;var _0x18cb5c,_0x55c14c;return(_0x18cb5c=(_0x55c14c=this[_0x4efb06(0x1fa)]())==null?void 0x0:_0x55c14c[_0x4efb06(0x19d)])==null?null:_0x18cb5c;}[_0x59cf0f(0x237)](){const _0x5297e0=_0x59cf0f;let _0x17aa76=this[_0x5297e0(0x1fa)]();return _0x17aa76?_0x268bbd[_0x5297e0(0x226)]['deepClone'](_0x17aa76[_0x5297e0(0x1f7)]):null;}[_0x59cf0f(0x1f5)](){const _0x3d5a81=_0x59cf0f;let _0x15a9b=this[_0x3d5a81(0x1fa)]();return _0x15a9b?_0x268bbd[_0x3d5a81(0x226)][_0x3d5a81(0x1b0)](_0x15a9b):null;}[_0x59cf0f(0x1f0)](){const _0x3b7302=_0x59cf0f;let _0x59496b=this['_getSnapshot']();return _0x59496b?{..._0x59496b[_0x3b7302(0x255)]}:null;}[_0x59cf0f(0x236)](){var _0x2ddae9,_0x1f1ed1;return(_0x2ddae9=(_0x1f1ed1=this['_getSnapshot']())==null?void 0x0:_0x1f1ed1['visible'])==null?!0x1:_0x2ddae9;}[_0x59cf0f(0x1a6)](_0x40a49d){const _0x5ee739=_0x59cf0f;return this[_0x5ee739(0x247)]({'visible':_0x40a49d});}[_0x59cf0f(0x1cb)](){const _0x2c57fd=_0x59cf0f;var _0x172a7d,_0x2acf5d;return(_0x172a7d=(_0x2acf5d=this['_getSnapshot']())==null?void 0x0:_0x2acf5d[_0x2c57fd(0x1a5)])==null?!0x1:_0x172a7d;}[_0x59cf0f(0x225)](_0x304af7){const _0x9d0ad1=_0x59cf0f;return this[_0x9d0ad1(0x247)]({'selectable':_0x304af7});}[_0x59cf0f(0x266)](){const _0x2c0ac1=_0x59cf0f;return this[_0x2c0ac1(0x20a)]['createInstance'](_0x2ce68f,this[_0x2c0ac1(0x23d)],this[_0x2c0ac1(0x20a)]);}[_0x59cf0f(0x1d1)](){const _0x2592db=_0x59cf0f;let _0x429d7f=this[_0x2592db(0x237)]();return(_0x429d7f==null?void 0x0:_0x429d7f[_0x2592db(0x1e4)])===!0x0&&!!_0x429d7f['customGeometry'];}['getCustomGeometry'](){const _0x269407=_0x59cf0f;var _0x4117ee,_0x361d9d;return(_0x4117ee=(_0x361d9d=this['getShapeData']())==null?void 0x0:_0x361d9d[_0x269407(0x269)])==null?null:_0x4117ee;}[_0x59cf0f(0x231)](_0x4ee67e){const _0x30cdc5=_0x59cf0f;return this[_0x30cdc5(0x263)](_0x4b95e4=>({..._0x4b95e4,'shapeType':_0x4ee67e}),_0x4ee67e);}[_0x59cf0f(0x1a3)](_0x20906d){const _0x47392a=_0x59cf0f;let _0x25d7fe=_0x268bbd['Tools']['deepClone'](_0x20906d);return this[_0x47392a(0x247)]({'shapeType':_0x25d7fe['shapeType'],'shapeData':_0x25d7fe});}[_0x59cf0f(0x199)](_0x329de8){const _0x2b634c=_0x59cf0f;return this[_0x2b634c(0x247)]({'transform':_0x329de8});}[_0x59cf0f(0x222)](_0x792e44,_0x4a2048){const _0xa90586=_0x59cf0f;return this[_0xa90586(0x199)]({'width':_0x792e44,'height':_0x4a2048});}['setRotation'](_0x4cca62){const _0x42a835=_0x59cf0f;return this[_0x42a835(0x199)]({'rotation':_0x4cca62});}['setAbsolutePosition'](_0x1bc005,_0x1eda3d){const _0x1b0aff=_0x59cf0f;return this[_0x1b0aff(0x199)]({'left':_0x1bc005,'top':_0x1eda3d});}[_0x59cf0f(0x1aa)](_0x301bd3){const _0x4ffe02=_0x59cf0f;let _0x28e0c4=_0x268bbd[_0x4ffe02(0x226)]['deepClone'](_0x301bd3);return this[_0x4ffe02(0x263)](_0x529792=>({..._0x529792,'isCustom':!0x0,'customGeometry':_0x28e0c4}));}['getConnectionSites'](){const _0x500644=_0x59cf0f;var _0x25e93a,_0x21a81e;return(_0x25e93a=(_0x21a81e=this[_0x500644(0x229)]())==null?void 0x0:_0x21a81e['getConnectionSiteList']()[_0x500644(0x1ac)](_0x36490c=>({..._0x36490c})))==null?[]:_0x25e93a;}[_0x59cf0f(0x1bf)](){const _0x1524e1=_0x59cf0f;var _0xf34faa,_0x17f58d;return(_0xf34faa=(_0x17f58d=this['_getGeometryModel']())==null?void 0x0:_0x17f58d['getDrawingPoints']()[_0x1524e1(0x1ac)](_0x45e8c9=>({..._0x45e8c9})))==null?[]:_0xf34faa;}['getStartConnectInfo'](){const _0x5e561c=_0x59cf0f;var _0x16146f;let _0x576da3=(_0x16146f=this[_0x5e561c(0x229)]())==null?void 0x0:_0x16146f[_0x5e561c(0x1d2)]();return _0x576da3?{..._0x576da3}:null;}[_0x59cf0f(0x228)](){var _0x23486e;let _0xc21413=(_0x23486e=this['_getGeometryModel']())==null?void 0x0:_0x23486e['getEndConnectInfo']();return _0xc21413?{..._0xc21413}:null;}[_0x59cf0f(0x1c0)](_0x2719c5,_0x189a71){const _0x335e2e=_0x59cf0f;return this[_0x335e2e(0x263)](_0x1d4587=>({..._0x1d4587,'fill':{'fillType':_0x36aa3b['ShapeFillEnum'][_0x335e2e(0x21e)],'color':_0x2719c5,'opacity':_0x189a71}}));}[_0x59cf0f(0x221)](_0x1eb136,_0x39f640,_0x4a85f9){const _0xdd3418=_0x59cf0f;return _0x39f640[_0xdd3418(0x1ca)]<0x2?(console[_0xdd3418(0x1c2)]('[Shape\x20Facade]:\x20Gradient\x20fill\x20requires\x20at\x20least\x20two\x20color\x20stops.'),this):this[_0xdd3418(0x263)](_0x59ef07=>({..._0x59ef07,'fill':{'fillType':_0x36aa3b['ShapeFillEnum'][_0xdd3418(0x25a)],'gradientType':_0x1eb136,'gradientStops':_0x268bbd[_0xdd3418(0x226)][_0xdd3418(0x1b0)](_0x39f640),'gradientAngle':_0x4a85f9}}));}[_0x59cf0f(0x24a)](_0x431125,_0x5b75a6,_0x1d042c={}){const _0x3c6edd=_0x59cf0f;return this[_0x3c6edd(0x263)](_0x3b1777=>({..._0x3b1777,'fill':{..._0x268bbd[_0x3c6edd(0x226)][_0x3c6edd(0x1b0)](_0x1d042c),'fillType':_0x36aa3b[_0x3c6edd(0x1b9)][_0x3c6edd(0x1c5)],'fillImageSource':_0x431125,'fillImageSourceType':_0x5b75a6}}));}[_0x59cf0f(0x23a)](){const _0x30d15b=_0x59cf0f;return this[_0x30d15b(0x263)](_0x422faf=>({..._0x422faf,'fill':{'fillType':_0x36aa3b[_0x30d15b(0x1b9)][_0x30d15b(0x1bd)]}}));}[_0x59cf0f(0x24f)](_0x577c66){const _0x23515b=_0x59cf0f;return this['_patchShapeData'](_0x291129=>({..._0x291129,'stroke':_0x268bbd['Tools'][_0x23515b(0x1b0)](_0x577c66)}));}[_0x59cf0f(0x244)](_0x5ff4fc){const _0x159ce8=_0x59cf0f;return this['_patchStroke'](_0x3659ff=>({..._0x3659ff,'color':_0x5ff4fc,'lineStrokeType':_0x3659ff[_0x159ce8(0x25f)]===_0x36aa3b['ShapeLineTypeEnum']['NoLine']?_0x36aa3b[_0x159ce8(0x194)][_0x159ce8(0x260)]:_0x3659ff['lineStrokeType']}));}[_0x59cf0f(0x1a1)](_0x2731a1){const _0x2c61df=_0x59cf0f;return this[_0x2c61df(0x217)](_0x120805=>({..._0x120805,'width':_0x2731a1,'lineStrokeType':_0x120805[_0x2c61df(0x25f)]===_0x36aa3b[_0x2c61df(0x194)][_0x2c61df(0x1e5)]?_0x36aa3b[_0x2c61df(0x194)][_0x2c61df(0x260)]:_0x120805[_0x2c61df(0x25f)]}));}[_0x59cf0f(0x245)](_0x8b3438){return this['_patchStroke'](_0xef9ef=>({..._0xef9ef,'opacity':_0x8b3438}));}[_0x59cf0f(0x1b2)](_0x8c599f){const _0x4ebcb6=_0x59cf0f;return this[_0x4ebcb6(0x217)](_0x3a9b8d=>({..._0x3a9b8d,'dashType':_0x8c599f}));}['setStrokeLineJoinType'](_0x261d1b){const _0x2144f4=_0x59cf0f;return this[_0x2144f4(0x217)](_0x10d8ca=>({..._0x10d8ca,'lineJoinType':_0x261d1b}));}['setStrokeLineCapType'](_0x20f955){const _0x4b532f=_0x59cf0f;return this[_0x4b532f(0x217)](_0x5af3e5=>({..._0x5af3e5,'capType':_0x20f955}));}[_0x59cf0f(0x252)](_0x40c94e){const _0x245f48=_0x59cf0f;return this[_0x245f48(0x217)](_0x5b1cad=>({..._0x5b1cad,'lineStrokeType':_0x40c94e}));}[_0x59cf0f(0x247)](_0x123e61){const _0x56119d=_0x59cf0f;var _0x6a65ed,_0x3c3ad6,_0x34d898;let _0x216936=_0x123e61[_0x56119d(0x1f7)],_0x1d0090=_0x216936&&(_0x56119d(0x253)in _0x216936||_0x56119d(0x1c3)in _0x216936)?this[_0x56119d(0x1d6)]():null,_0x5ef8de=(_0x6a65ed=(_0x3c3ad6=_0x123e61[_0x56119d(0x19d)])==null?(_0x34d898=_0x123e61[_0x56119d(0x1f7)])==null?void 0x0:_0x34d898['shapeType']:_0x3c3ad6)==null?_0x1d0090:_0x6a65ed,_0x13b060=_0x7c5cb0(_0x123e61,_0x5ef8de!==null&&(0x0,_0x36aa3b[_0x56119d(0x1af)])(_0x5ef8de));return _0x13b060?(console[_0x56119d(0x1c2)](_0x56119d(0x233)+_0x13b060),this):(this[_0x56119d(0x212)](_0x56119d(0x247),_0x7bd094=>_0x7bd094[_0x56119d(0x1b7)](this[_0x56119d(0x23d)],_0x123e61)),this);}[_0x59cf0f(0x1c4)](){const _0x3170bb=_0x59cf0f;return this['_mutate']('remove',_0x27287b=>_0x27287b[_0x3170bb(0x1b8)](this[_0x3170bb(0x23d)]));}[_0x59cf0f(0x23f)](){const _0xb42ea7=_0x59cf0f;return this['_mutate'](_0xb42ea7(0x250),_0x3e6cc3=>_0x3e6cc3[_0xb42ea7(0x23f)](this[_0xb42ea7(0x23d)])),this;}['bringForward'](){const _0x263880=_0x59cf0f;return this[_0x263880(0x212)](_0x263880(0x1fe),_0x3af05c=>_0x3af05c[_0x263880(0x219)](this[_0x263880(0x23d)])),this;}['sendBackward'](){const _0x996c46=_0x59cf0f;return this[_0x996c46(0x212)](_0x996c46(0x1d9),_0x2303cd=>_0x2303cd[_0x996c46(0x1de)](this[_0x996c46(0x23d)])),this;}[_0x59cf0f(0x224)](){const _0x2f090d=_0x59cf0f;return this[_0x2f090d(0x212)]('send\x20to\x20back',_0x508853=>_0x508853[_0x2f090d(0x224)](this['_shapeRef'])),this;}[_0x59cf0f(0x227)](){const _0x2f1f0a=_0x59cf0f;return this[_0x2f1f0a(0x20a)]['get'](_0x36aa3b[_0x2f1f0a(0x1e3)])['get'](this[_0x2f1f0a(0x23d)][_0x2f1f0a(0x206)]);}[_0x59cf0f(0x263)](_0x1fda8a,_0x10c883){const _0x230056=_0x59cf0f;let _0x40ca67=this[_0x230056(0x237)]();return _0x40ca67?this[_0x230056(0x247)]({'shapeType':_0x10c883,'shapeData':_0x1fda8a(_0x40ca67)}):this;}[_0x59cf0f(0x217)](_0x12cb44){const _0x3e91be=_0x59cf0f;return this[_0x3e91be(0x263)](_0x276ff3=>{var _0x2dc890;return{..._0x276ff3,'stroke':_0x12cb44((_0x2dc890=_0x276ff3['stroke'])==null?{}:_0x2dc890)};});}[_0x59cf0f(0x1fa)](){const _0x35534e=_0x59cf0f;let _0x587629=this['_getAdapter']();if(!_0x587629)return null;try{return _0x587629[_0x35534e(0x1d5)](this[_0x35534e(0x23d)])||(console[_0x35534e(0x1c2)](_0x35534e(0x20b)+this[_0x35534e(0x23d)][_0x35534e(0x25b)]+_0x35534e(0x1be)),null);}catch(_0x34786a){return console[_0x35534e(0x1c2)](_0x35534e(0x240)+this[_0x35534e(0x23d)][_0x35534e(0x25b)]+'\x22.',_0x34786a),null;}}[_0x59cf0f(0x229)](){const _0x596250=_0x59cf0f;let _0x5ac363=this[_0x596250(0x1fa)]();if(!_0x5ac363)return null;try{let _0x312422=new _0x36aa3b['ShapeModel'](_0x5ac363['shapeType'],_0x5ac363['shapeId'],_0x5ac363[_0x596250(0x1f7)]);return _0x312422[_0x596250(0x24c)]({'width':_0x5ac363[_0x596250(0x255)]['width'],'height':_0x5ac363[_0x596250(0x255)]['height']}),_0x312422;}catch(_0x1a5f0c){return console[_0x596250(0x1c2)]('[Shape\x20Facade]:\x20Failed\x20to\x20resolve\x20geometry\x20for\x20Shape\x20\x22'+this[_0x596250(0x23d)][_0x596250(0x25b)]+'\x22.',_0x1a5f0c),null;}}[_0x59cf0f(0x212)](_0x12c246,_0x238e34){const _0x2f5f3d=_0x59cf0f;let _0x52c6b7=this[_0x2f5f3d(0x227)]();if(!_0x52c6b7)return!0x1;try{let _0x4c68ea=_0x238e34(_0x52c6b7);return _0x4c68ea||console['warn'](_0x2f5f3d(0x1fb)+_0x12c246+_0x2f5f3d(0x256)+this['_shapeRef']['shapeId']+'\x22.'),_0x4c68ea;}catch(_0x2a56e8){return console['warn'](_0x2f5f3d(0x1fb)+_0x12c246+_0x2f5f3d(0x256)+this[_0x2f5f3d(0x23d)][_0x2f5f3d(0x25b)]+'\x22.',_0x2a56e8),!0x1;}}};function _0x7c5cb0(_0xe2862f,_0x5df44c=!0x1){const _0x22682f=_0x59cf0f;for(let _0x412692 of[_0x22682f(0x25d),_0x22682f(0x1a5)]){let _0x9f1837=_0xe2862f[_0x412692];if(_0x9f1837!==void 0x0&&typeof _0x9f1837!=_0x22682f(0x21b))return _0x22682f(0x1c1)+_0x412692+_0x22682f(0x24b);}let _0x38e93d=_0xe2862f['transform'];if(_0x38e93d){for(let _0x52bc78 of[_0x22682f(0x213),_0x22682f(0x261),_0x22682f(0x208),'height',_0x22682f(0x1d3)]){let _0x3b49df=_0x38e93d[_0x52bc78];if(_0x3b49df!==void 0x0&&!Number['isFinite'](_0x3b49df))return _0x22682f(0x1f8)+_0x52bc78+'\x22\x20must\x20be\x20finite.';}if(_0x38e93d[_0x22682f(0x208)]!==void 0x0&&_0x38e93d[_0x22682f(0x208)]<=0x0)return _0x22682f(0x22a);if(_0x38e93d[_0x22682f(0x1db)]!==void 0x0&&_0x38e93d[_0x22682f(0x1db)]<=0x0)return _0x22682f(0x200);for(let _0x44e10a of[_0x22682f(0x205),_0x22682f(0x19b)]){let _0x1a239a=_0x38e93d[_0x44e10a];if(_0x1a239a!==void 0x0&&typeof _0x1a239a!=_0x22682f(0x21b))return _0x22682f(0x1f8)+_0x44e10a+_0x22682f(0x24b);}}let _0x2ef23b=_0xe2862f[_0x22682f(0x1f7)];return!_0x5df44c&&_0x2ef23b&&(_0x22682f(0x253)in _0x2ef23b||_0x22682f(0x1c3)in _0x2ef23b)?_0x22682f(0x198):null;}var _0x126206=class extends _0x41b18a{[_0x59cf0f(0x1af)](){return!0x0;}[_0x59cf0f(0x249)](){const _0x520e95=_0x59cf0f;let _0x5b4dfb=this[_0x520e95(0x1a2)]();return _0x5b4dfb?_0x268bbd[_0x520e95(0x226)][_0x520e95(0x1b0)](_0x5b4dfb['start']):null;}[_0x59cf0f(0x238)](){const _0x28d0ec=_0x59cf0f;let _0xc6dd78=this[_0x28d0ec(0x1a2)]();return _0xc6dd78?_0x268bbd[_0x28d0ec(0x226)][_0x28d0ec(0x1b0)](_0xc6dd78[_0x28d0ec(0x1e0)]):null;}[_0x59cf0f(0x1c8)](){const _0x3e1d80=_0x59cf0f;let _0x3bf7c0=this['_getConnectorSnapshot']();return _0x3bf7c0?_0x268bbd[_0x3e1d80(0x226)][_0x3e1d80(0x1b0)](_0x3bf7c0['routePoints']):null;}['getStartArrow'](){const _0x37511e=_0x59cf0f;let _0x29bbdd=this[_0x37511e(0x1a2)]();return _0x29bbdd?_0x268bbd[_0x37511e(0x226)][_0x37511e(0x1b0)](_0x29bbdd['startArrow']):null;}[_0x59cf0f(0x242)](){const _0x1d24dc=_0x59cf0f;let _0x24ef6e=this[_0x1d24dc(0x1a2)]();return _0x24ef6e?_0x268bbd['Tools']['deepClone'](_0x24ef6e[_0x1d24dc(0x19f)]):null;}[_0x59cf0f(0x231)](_0x440e56){const _0x34c52b=_0x59cf0f;return(0x0,_0x36aa3b[_0x34c52b(0x1af)])(_0x440e56)?super['setShapeType'](_0x440e56):(console[_0x34c52b(0x1c2)](_0x34c52b(0x259)+this[_0x34c52b(0x23d)][_0x34c52b(0x25b)]+_0x34c52b(0x248)),this);}[_0x59cf0f(0x1a3)](_0x2087d7){const _0x5ab246=_0x59cf0f;return _0x2087d7[_0x5ab246(0x19d)]!==void 0x0&&!(0x0,_0x36aa3b[_0x5ab246(0x1af)])(_0x2087d7['shapeType'])?(console[_0x5ab246(0x1c2)](_0x5ab246(0x259)+this[_0x5ab246(0x23d)][_0x5ab246(0x25b)]+'\x22\x20requires\x20Connector\x20Shape\x20data.'),this):super['setShapeData'](_0x2087d7);}[_0x59cf0f(0x1a9)](_0x19ab90,_0x17d979){const _0x585b69=_0x59cf0f;return this['_bind'](_0x585b69(0x1d0),_0x19ab90,_0x17d979),this;}['bindEnd'](_0x38ada1,_0x33f750){const _0x5be6af=_0x59cf0f;return this[_0x5be6af(0x232)](_0x5be6af(0x1e0),_0x38ada1,_0x33f750),this;}[_0x59cf0f(0x22c)](){const _0x2376e5=_0x59cf0f;return this[_0x2376e5(0x1ad)](_0x2376e5(0x18a),_0x102377=>_0x102377['unbindStart'](this['_shapeRef'])),this;}['unbindEnd'](){const _0x94d17a=_0x59cf0f;return this[_0x94d17a(0x1ad)]('unbind\x20end',_0x5b202f=>_0x5b202f['unbindEnd'](this['_shapeRef'])),this;}[_0x59cf0f(0x1c9)](_0x321470){const _0x442164=_0x59cf0f;return _0x398e9a(_0x321470,this['_shapeRef'][_0x442164(0x25b)])&&this[_0x442164(0x1ad)](_0x442164(0x191),_0x570878=>_0x570878[_0x442164(0x1c9)](this['_shapeRef'],_0x321470)),this;}[_0x59cf0f(0x18f)](_0x515a93){const _0x2cc45f=_0x59cf0f;return _0x398e9a(_0x515a93,this[_0x2cc45f(0x23d)][_0x2cc45f(0x25b)])&&this[_0x2cc45f(0x1ad)](_0x2cc45f(0x1b5),_0x26a222=>_0x26a222[_0x2cc45f(0x18f)](this[_0x2cc45f(0x23d)],_0x515a93)),this;}[_0x59cf0f(0x190)](_0x3cf805){const _0x41a3ef=_0x59cf0f;return _0x3cf805[_0x41a3ef(0x1ab)](_0xc3956b=>_0x398e9a(_0xc3956b,this['_shapeRef']['shapeId']))&&this[_0x41a3ef(0x1ad)](_0x41a3ef(0x1a4),_0x194e85=>_0x194e85[_0x41a3ef(0x190)](this[_0x41a3ef(0x23d)],_0x3cf805)),this;}[_0x59cf0f(0x215)](_0x429dd1,_0xbe0faa){const _0x507489=_0x59cf0f;return this[_0x507489(0x1ad)](_0x507489(0x18e),_0x443a08=>_0x443a08[_0x507489(0x215)](this[_0x507489(0x23d)],_0x429dd1,_0xbe0faa)),this;}['setEndArrow'](_0x435c0d,_0x267f66){const _0x21bcde=_0x59cf0f;return this[_0x21bcde(0x1ad)]('set\x20end\x20arrow',_0x1d4c83=>_0x1d4c83['setEndArrow'](this[_0x21bcde(0x23d)],_0x435c0d,_0x267f66)),this;}['_getConnectorAdapter'](){const _0x4fd44c=_0x59cf0f;return this[_0x4fd44c(0x20a)][_0x4fd44c(0x21c)](_0x36aa3b[_0x4fd44c(0x201)]);}[_0x59cf0f(0x1a2)](){const _0x2db12b=_0x59cf0f;let _0x44b543=this[_0x2db12b(0x1dc)]();if(!_0x44b543)return null;try{return _0x44b543[_0x2db12b(0x1f4)](this[_0x2db12b(0x23d)])||(console[_0x2db12b(0x1c2)]('[Shape\x20Facade]:\x20Connector\x20Shape\x20\x22'+this['_shapeRef']['shapeId']+_0x2db12b(0x1be)),null);}catch(_0x41207e){return console['warn']('[Shape\x20Facade]:\x20Failed\x20to\x20read\x20Connector\x20Shape\x20\x22'+this[_0x2db12b(0x23d)][_0x2db12b(0x25b)]+'\x22.',_0x41207e),null;}}[_0x59cf0f(0x232)](_0x4f770e,_0x1c5fa8,_0xbdf66d){const _0x5476a1=_0x59cf0f;if(!_0x1c5fa8||!Number[_0x5476a1(0x1f1)](_0xbdf66d)||_0xbdf66d<0x0)return console[_0x5476a1(0x1c2)]('[Shape\x20Facade]:\x20Connector\x20\x22'+this[_0x5476a1(0x23d)]['shapeId']+_0x5476a1(0x1ea)),!0x1;let _0x186606={'shapeId':_0x1c5fa8,'cxnIndex':_0xbdf66d};return this[_0x5476a1(0x1ad)](_0x5476a1(0x21d)+_0x4f770e,_0x417667=>_0x4f770e==='start'?_0x417667['bindStart'](this[_0x5476a1(0x23d)],_0x186606):_0x417667['bindEnd'](this[_0x5476a1(0x23d)],_0x186606));}[_0x59cf0f(0x1ad)](_0x3e0754,_0x12d1b4){const _0x1b2fe7=_0x59cf0f;let _0x29517d=this[_0x1b2fe7(0x1dc)]();if(!_0x29517d)return!0x1;try{let _0x17e29a=_0x12d1b4(_0x29517d);return _0x17e29a||console[_0x1b2fe7(0x1c2)]('[Shape\x20Facade]:\x20Failed\x20to\x20'+_0x3e0754+'\x20Connector\x20Shape\x20\x22'+this[_0x1b2fe7(0x23d)][_0x1b2fe7(0x25b)]+'\x22.'),_0x17e29a;}catch(_0x5cd48d){return console[_0x1b2fe7(0x1c2)](_0x1b2fe7(0x1fb)+_0x3e0754+_0x1b2fe7(0x1b3)+this[_0x1b2fe7(0x23d)][_0x1b2fe7(0x25b)]+'\x22.',_0x5cd48d),!0x1;}}};function _0x398e9a(_0x46a822,_0x1ef32e){const _0x570847=_0x59cf0f;return!Number[_0x570847(0x251)](_0x46a822['x'])||!Number[_0x570847(0x251)](_0x46a822['y'])?(console[_0x570847(0x1c2)](_0x570847(0x195)+_0x1ef32e+_0x570847(0x230)),!0x1):!0x0;}_0x56c73f[_0x59cf0f(0x1b6)]=_0x126206,_0x56c73f[_0x59cf0f(0x1e6)]=_0x41b18a,_0x56c73f[_0x59cf0f(0x234)]=_0x2ce68f;}));