@univerjs-pro/engine-shape 1.0.0-alpha.4 → 1.0.0-alpha.5
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/lib/cjs/facade.js +1 -1
- package/lib/cjs/index.js +1 -1
- package/lib/es/facade.js +1 -1
- package/lib/es/index.js +1 -1
- package/lib/facade.js +1 -1
- package/lib/index.js +1 -1
- package/lib/umd/facade.js +1 -1
- package/lib/umd/index.js +1 -1
- package/package.json +3 -3
package/lib/facade.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const _0x59e14c=_0x5050;function _0x5050(_0x5a80c0,_0x557208){_0x5a80c0=_0x5a80c0-0x17d;const _0x526ad7=_0x526a();let _0x5050d2=_0x526ad7[_0x5a80c0];return _0x5050d2;}(function(_0x39f02b,_0x5756b3){const _0x4ca4d6=_0x5050,_0x402988=_0x39f02b();while(!![]){try{const _0x4acd44=parseInt(_0x4ca4d6(0x1ec))/0x1*(-parseInt(_0x4ca4d6(0x19d))/0x2)+-parseInt(_0x4ca4d6(0x203))/0x3*(-parseInt(_0x4ca4d6(0x17f))/0x4)+-parseInt(_0x4ca4d6(0x199))/0x5*(parseInt(_0x4ca4d6(0x23c))/0x6)+parseInt(_0x4ca4d6(0x1f1))/0x7+parseInt(_0x4ca4d6(0x1c9))/0x8+-parseInt(_0x4ca4d6(0x1a5))/0x9*(parseInt(_0x4ca4d6(0x198))/0xa)+parseInt(_0x4ca4d6(0x208))/0xb;if(_0x4acd44===_0x5756b3)break;else _0x402988['push'](_0x402988['shift']());}catch(_0x14f76d){_0x402988['push'](_0x402988['shift']());}}}(_0x526a,0xf3e26));import{IConnectorShapeHostAdapter as _0x3297db,IShapeHostAdapterRegistry as _0x4925db,ImageFillModeEnum as _0x2d081b,ImageSourceTypeEnum as _0x4d2a76,ShapeArrowSizeEnum as _0x22780c,ShapeArrowTypeEnum as _0x3dff0c,ShapeFillEnum as _0xa1af8d,ShapeGradientTypeEnum as _0x1f720c,ShapeLineCapEnum as _0xd17cef,ShapeLineDashEnum as _0x4ca671,ShapeLineJoinEnum as _0x213f75,ShapeLineTypeEnum as _0x31fccc,ShapeModel as _0x4e4076,ShapeOperatorEnum as _0x11c3d7,ShapeTextAutoFitType as _0x29d59c,ShapeTextDirection as _0xe74fe2,ShapeTextWrapType as _0x2b82ce,ShapeTypeEnum as _0x34d7c8,applyRichTextToShapeText as _0x566ca1,applyShapeTextAlignment as _0x32383e,applyShapeTextBoxOptions as _0x1926e5,applyShapeTextStyle as _0x5aa3d7,applyTextToShapeText as _0x5c7a65,isConnectorShape as _0x289853,resolveShapeTextBoxOptions as _0x5d4231,shapeTextToRichTextValue as _0x1c8338}from'@univerjs-pro/engine-shape';import{FBase as _0xfbad9e,FEnum as _0x23b0ba}from'@univerjs/core/facade';import{BooleanNumber as _0x556ae9,Tools as _0x4bafef}from'@univerjs/core';function _0x526a(){const _0x246419=['flipY','\x22\x20points\x20must\x20contain\x20finite\x20coordinates.','[Shape\x20Facade]:\x20Failed\x20to\x20resolve\x20geometry\x20for\x20Shape\x20\x22','\x22\x20binding\x20requires\x20a\x20target\x20Shape\x20ID\x20and\x20a\x20non-negative\x20connection\x20site\x20index.','\x20Connector\x20Shape\x20\x22','bindEnd','setVisible','boolean','GradientFill','\x20Shape\x20\x22','setStrikethrough','\x22\x20must\x20be\x20boolean.','selectable','ShapeTextDirection','Diamond','getDescription','_getConnectorAdapter','getStartConnectInfo','ShapeArrowSizeEnum','ShapeImageFillModeEnum','shapeId','update','scaleY','end','180712UyrcJg','setFontFamily','[Shape\x20Facade]:\x20Connector\x20Shape\x20\x22','_getGeometryModel','ShapeGradientTypeEnum','ShapeLineTypeEnum','SolidLine','[Shape\x20Text\x20Facade]:\x20Failed\x20to\x20update\x20Shape\x20\x22','getConnectionSiteList','setStrokeColor','_patchStroke','warn','toPlainText','setAbsolutePosition','[Shape\x20Text\x20Facade]:\x20Gradient\x20text\x20fill\x20requires\x20at\x20least\x20two\x20color\x20stops.','stroke','mode','[Shape\x20Text\x20Facade]:\x20Shape\x20\x22','setName','setSolidFill','_patchShapeData','setBold','_mutateConnector','TRUE','getEndConnectInfo','getHostType','stretch','setVerticalAlign','getRichText','relation','setEndArrow','extend','isInteger','shapeType','_shapeRef','51VUhmtF','_getSnapshot','getConnector','radial','unbindEnd','5788349zxFQml','_bind','\x22\x20was\x20not\x20found.','[Shape\x20Text\x20Facade]:\x20Failed\x20to\x20read\x20Shape\x20\x22','setEndPoint','ShapeArrowTypeEnum','setStartArrow','bind\x20','deepClone','_getAdapter','bringForward','offsetY','unbind\x20end','setHorizontalAlign','name','_getConnectorSnapshot','set\x20start\x20point','get','78lTHpVm','isFinite','none','unbindStart','getStartEndpoint','31872720rBCuUL','endArrow','updateContext','ShapeLineJoinEnum','isSelectable','setStartPoint','getId','flipX','description','Linear','set\x20end\x20arrow','URL','[Shape\x20Facade]:\x20Connector\x20\x22','\x22\x20requires\x20a\x20Connector\x20Shape\x20type.','remove','sendToBack','map','transform','bindStart','setShapeData','send\x20backward','NoFill','getTextBoxOptions','\x22\x20text.','getShapeType','setRoutePoints','setGradientFill','isCustomShape','[Shape\x20Facade]:\x20','opacity','ShapeOperatorEnum','startArrow','getTransform','left','tile','top','setNoneFill','hostType','setShapeType','_injector','setStrokeLineJoinType','setImageFill','_mutate','setRichText','ShapeFillEnum','scaleX','\x22\x20must\x20be\x20finite.','set\x20route\x20points','Shape\x20transform\x20\x22','Angular','getShapeData','getPlainText','834NAxBDG','getStartArrow','setTextBoxOptions','createInstance','bringToFront','lineStrokeType','getShape','getEndEndpoint','isVisible','171868kDTPJU','set\x20start\x20arrow','setStrokeWidth','setFontSize','[Shape\x20Facade]:\x20Failed\x20to\x20read\x20Shape\x20\x22','customGeometry','getConnectionSites','set\x20end\x20point','setStrokeOpacity','FALSE','ShapeImageSourceTypeEnum','[Shape\x20Facade]:\x20Gradient\x20fill\x20requires\x20at\x20least\x20two\x20color\x20stops.','removeShape','_updateShapeData','Connector\x20relationships\x20and\x20route\x20points\x20require\x20FConnectorShape.','shapeText','rotation','start','setCustomGeometry','width','height','Tile','getText','SolidFill','setTextStyle','10RrjCFE','64490gSyArT','[Shape\x20Facade]:\x20Shape\x20\x22','offsetX','_getShapeData','76046aoadhU','\x22\x20requires\x20Connector\x20Shape\x20data.','Shape\x20width\x20must\x20be\x20greater\x20than\x20zero.','[Shape\x20Facade]:\x20Failed\x20to\x20read\x20Connector\x20Shape\x20\x22','setStroke','[Shape\x20Facade]:\x20Failed\x20to\x20','shapeData','setSelectable','1198917FAxaDw','visible','setStrokeLineDashType','Shape\x20height\x20must\x20be\x20greater\x20than\x20zero.','Shape\x20\x22','setDescription','setTransform','setRotation','sendBackward','updateShape','routePoints','PictureFill'];_0x526a=function(){return _0x246419;};return _0x526a();}var A=class extends _0x23b0ba{get['ShapeTypeEnum'](){return _0x34d7c8;}get[_0x59e14c(0x234)](){return _0xa1af8d;}get[_0x59e14c(0x1cd)](){return _0x1f720c;}get[_0x59e14c(0x1c4)](){return _0x2d081b;}get[_0x59e14c(0x189)](){return _0x4d2a76;}get[_0x59e14c(0x1ce)](){return _0x31fccc;}get['ShapeLineDashEnum'](){return _0x4ca671;}get['ShapeLineCapEnum'](){return _0xd17cef;}get[_0x59e14c(0x20b)](){return _0x213f75;}get[_0x59e14c(0x226)](){return _0x11c3d7;}get[_0x59e14c(0x1f6)](){return _0x3dff0c;}get[_0x59e14c(0x1c3)](){return _0x22780c;}get['ShapeTextAutoFitType'](){return _0x29d59c;}get[_0x59e14c(0x1be)](){return _0xe74fe2;}get['ShapeTextWrapType'](){return _0x2b82ce;}};_0x23b0ba[_0x59e14c(0x1e8)](A);function j(_0x454a77){const _0x1c34e9=_0x59e14c;switch(_0x454a77){case _0x1f720c['Radial']:return _0x1c34e9(0x1ef);case _0x1f720c[_0x1c34e9(0x239)]:return'angular';case _0x1f720c[_0x1c34e9(0x1bf)]:return'diamond';case _0x1f720c[_0x1c34e9(0x211)]:default:return'linear';}}function M(_0x1d4b7b){const _0x3517f4=_0x59e14c;return _0x1d4b7b===_0x2d081b[_0x3517f4(0x194)]?_0x3517f4(0x22a):_0x3517f4(0x1e3);}var N=class{constructor(_0x5a0c47,_0x2737a0){const _0x365403=_0x59e14c;this[_0x365403(0x1eb)]=_0x5a0c47,this[_0x365403(0x22f)]=_0x2737a0;}[_0x59e14c(0x1e5)](){const _0x24742c=_0x59e14c;var _0x48b0e9;return _0x1c8338((_0x48b0e9=this[_0x24742c(0x19c)]())==null?void 0x0:_0x48b0e9[_0x24742c(0x18e)]);}[_0x59e14c(0x23b)](){const _0xd261ab=_0x59e14c;var _0x5a8c1c,_0x3c8f34;return(_0x5a8c1c=(_0x3c8f34=this[_0xd261ab(0x1e5)]())==null?void 0x0:_0x3c8f34[_0xd261ab(0x1d5)]())==null?null:_0x5a8c1c;}[_0x59e14c(0x233)](_0x31f37a){const _0x357b47=_0x59e14c;return this[_0x357b47(0x18c)](_0x50e108=>({..._0x50e108,'shapeText':_0x566ca1(_0x50e108[_0x357b47(0x18e)],_0x31f37a)})),this;}['setText'](_0x3a260f){const _0x35f218=_0x59e14c;return this[_0x35f218(0x18c)](_0x1fe844=>({..._0x1fe844,'shapeText':_0x5c7a65(_0x1fe844[_0x35f218(0x18e)],_0x3a260f)})),this;}['setTextStyle'](_0x3463c3){const _0xd65b27=_0x59e14c;return this[_0xd65b27(0x18c)](_0x496db2=>({..._0x496db2,'shapeText':_0x5aa3d7(_0x496db2[_0xd65b27(0x18e)],_0x3463c3)})),this;}['setColor'](_0x115bf1,_0x36de76){const _0x52e5cd=_0x59e14c;return this[_0x52e5cd(0x197)]({'cl':{'rgb':_0x115bf1},'textFill':{'type':'solid','color':_0x115bf1,'opacity':_0x36de76}});}[_0x59e14c(0x22c)](){const _0x25be06=_0x59e14c;return this[_0x25be06(0x197)]({'cl':{'rgb':'rgba(0,\x200,\x200,\x200)'},'textFill':{'type':_0x25be06(0x205)}});}[_0x59e14c(0x222)](_0x178871,_0x1c4933,_0x30d7fd){const _0x4a7747=_0x59e14c;return _0x1c4933['length']<0x2?(console['warn'](_0x4a7747(0x1d7)),this):this[_0x4a7747(0x197)]({'cl':{'rgb':_0x1c4933[0x0]['color']},'textFill':{'type':'gradient','gradient':{'type':j(_0x178871),'angle':_0x30d7fd,'stops':_0x1c4933[_0x4a7747(0x218)](({position:_0x66fbcd,color:_0x298871,opacity:_0x595f88})=>({'offset':_0x66fbcd,'color':_0x298871,'opacity':_0x595f88}))}}});}[_0x59e14c(0x231)](_0x2667d9,_0x305e43=_0x4d2a76[_0x59e14c(0x213)],_0x488c94={}){const _0x5eb656=_0x59e14c;return this[_0x5eb656(0x197)]({'textFill':{'type':'picture','picture':{'source':_0x2667d9,'sourceType':_0x305e43,'opacity':_0x488c94[_0x5eb656(0x225)],'mode':M(_0x488c94[_0x5eb656(0x1d9)]),'scaleX':_0x488c94[_0x5eb656(0x235)],'scaleY':_0x488c94[_0x5eb656(0x1c7)],'offsetX':_0x488c94[_0x5eb656(0x19b)],'offsetY':_0x488c94[_0x5eb656(0x1fc)]}}});}[_0x59e14c(0x182)](_0x34eab8){const _0x3e3f35=_0x59e14c;return this[_0x3e3f35(0x197)]({'fs':_0x34eab8});}[_0x59e14c(0x1ca)](_0x7fb5a9){const _0x1062e2=_0x59e14c;return this[_0x1062e2(0x197)]({'ff':_0x7fb5a9});}[_0x59e14c(0x1de)](_0x115a24){const _0x1897e7=_0x59e14c;return this[_0x1897e7(0x197)]({'bl':_0x115a24?_0x556ae9[_0x1897e7(0x1e0)]:_0x556ae9['FALSE']});}['setItalic'](_0x4544a5){const _0x142644=_0x59e14c;return this['setTextStyle']({'it':_0x4544a5?_0x556ae9[_0x142644(0x1e0)]:_0x556ae9['FALSE']});}['setUnderline'](_0x343c97){const _0x2b27b6=_0x59e14c;return this[_0x2b27b6(0x197)]({'ul':{'s':_0x343c97?_0x556ae9[_0x2b27b6(0x1e0)]:_0x556ae9[_0x2b27b6(0x188)]}});}[_0x59e14c(0x1bb)](_0x5d4aca){const _0x1a2fad=_0x59e14c;return this[_0x1a2fad(0x197)]({'st':{'s':_0x5d4aca?_0x556ae9[_0x1a2fad(0x1e0)]:_0x556ae9[_0x1a2fad(0x188)]}});}[_0x59e14c(0x1fe)](_0x5f27c){const _0x66662a=_0x59e14c;return this[_0x66662a(0x18c)](_0x217e76=>_0x32383e(_0x217e76,{'horizontalAlign':_0x5f27c})),this;}[_0x59e14c(0x1e4)](_0x38ab71){const _0x1446c6=_0x59e14c;return this[_0x1446c6(0x18c)](_0x1a58c1=>_0x32383e(_0x1a58c1,{'verticalAlign':_0x38ab71})),this;}[_0x59e14c(0x21e)](){const _0x5bb0b1=_0x59e14c;let _0x466cfa=this[_0x5bb0b1(0x19c)]();return _0x466cfa?_0x5d4231(_0x466cfa):null;}[_0x59e14c(0x23e)](_0x18e2c6){const _0x35d7da=_0x59e14c;return this[_0x35d7da(0x18c)](_0x5a3928=>_0x1926e5(_0x5a3928,_0x18e2c6)),this;}[_0x59e14c(0x1fa)](){const _0x30828b=_0x59e14c;return this['_injector'][_0x30828b(0x202)](_0x4925db)['get'](this[_0x30828b(0x1eb)][_0x30828b(0x22d)]);}['_getShapeData'](){const _0x31c867=_0x59e14c;let _0x391d16=this['_getAdapter']();if(!_0x391d16)return null;try{var _0x508e61;return((_0x508e61=_0x391d16[_0x31c867(0x242)](this[_0x31c867(0x1eb)]))==null?void 0x0:_0x508e61[_0x31c867(0x1a3)])||(console[_0x31c867(0x1d4)](_0x31c867(0x1da)+this[_0x31c867(0x1eb)][_0x31c867(0x1c5)]+_0x31c867(0x1f3)),null);}catch(_0x43e5f4){return console['warn'](_0x31c867(0x1f4)+this[_0x31c867(0x1eb)][_0x31c867(0x1c5)]+_0x31c867(0x21f),_0x43e5f4),null;}}[_0x59e14c(0x18c)](_0x1815c4){const _0x551135=_0x59e14c;let _0xab46d=this['_getAdapter']();if(!_0xab46d)return!0x1;try{var _0x10115b;let _0x4f435e=(_0x10115b=_0xab46d[_0x551135(0x242)](this[_0x551135(0x1eb)]))==null?void 0x0:_0x10115b[_0x551135(0x1a3)];if(!_0x4f435e)return console['warn']('[Shape\x20Text\x20Facade]:\x20Shape\x20\x22'+this[_0x551135(0x1eb)][_0x551135(0x1c5)]+_0x551135(0x1f3)),!0x1;let _0x22c863=_0xab46d['updateShape'](this[_0x551135(0x1eb)],{'shapeData':_0x1815c4(_0x4f435e)});return _0x22c863||console[_0x551135(0x1d4)](_0x551135(0x1d0)+this[_0x551135(0x1eb)][_0x551135(0x1c5)]+_0x551135(0x21f)),_0x22c863;}catch(_0x23a74f){return console['warn']('[Shape\x20Text\x20Facade]:\x20Failed\x20to\x20update\x20Shape\x20\x22'+this[_0x551135(0x1eb)][_0x551135(0x1c5)]+_0x551135(0x21f),_0x23a74f),!0x1;}}},P=class extends _0xfbad9e{constructor(_0x505893,_0x4317b2){const _0x41afd9=_0x59e14c;super(),this[_0x41afd9(0x1eb)]=_0x505893,this[_0x41afd9(0x22f)]=_0x4317b2;}['isConnectorShape'](){return!0x1;}[_0x59e14c(0x20e)](){const _0x43ec25=_0x59e14c;return this[_0x43ec25(0x1eb)][_0x43ec25(0x1c5)];}['getName'](){const _0x303d2f=_0x59e14c;var _0x57b383;return(_0x57b383=this['_getSnapshot']())==null?void 0x0:_0x57b383[_0x303d2f(0x1ff)];}[_0x59e14c(0x1db)](_0x353910){return this['update']({'name':_0x353910});}[_0x59e14c(0x1c0)](){const _0x5ec394=_0x59e14c;var _0x355221;return(_0x355221=this['_getSnapshot']())==null?void 0x0:_0x355221[_0x5ec394(0x210)];}[_0x59e14c(0x1aa)](_0xd275d3){const _0x428500=_0x59e14c;return this[_0x428500(0x1c6)]({'description':_0xd275d3});}[_0x59e14c(0x1e2)](){const _0x3022d3=_0x59e14c;return this[_0x3022d3(0x1eb)][_0x3022d3(0x22d)];}[_0x59e14c(0x220)](){const _0x5d36d9=_0x59e14c;var _0x221690,_0x4c71ff;return(_0x221690=(_0x4c71ff=this[_0x5d36d9(0x1ed)]())==null?void 0x0:_0x4c71ff[_0x5d36d9(0x1ea)])==null?null:_0x221690;}[_0x59e14c(0x23a)](){const _0x216fa2=_0x59e14c;let _0x38f255=this[_0x216fa2(0x1ed)]();return _0x38f255?_0x4bafef[_0x216fa2(0x1f9)](_0x38f255[_0x216fa2(0x1a3)]):null;}['getSnapshot'](){const _0x2233d7=_0x59e14c;let _0x139d33=this[_0x2233d7(0x1ed)]();return _0x139d33?_0x4bafef['deepClone'](_0x139d33):null;}[_0x59e14c(0x228)](){const _0x52b5bd=_0x59e14c;let _0x58467f=this[_0x52b5bd(0x1ed)]();return _0x58467f?{..._0x58467f[_0x52b5bd(0x219)]}:null;}[_0x59e14c(0x17e)](){const _0x4b4aef=_0x59e14c;var _0x39ae5a,_0x30b4b2;return(_0x39ae5a=(_0x30b4b2=this[_0x4b4aef(0x1ed)]())==null?void 0x0:_0x30b4b2[_0x4b4aef(0x1a6)])==null?!0x1:_0x39ae5a;}[_0x59e14c(0x1b7)](_0x318406){const _0x19dbbc=_0x59e14c;return this[_0x19dbbc(0x1c6)]({'visible':_0x318406});}[_0x59e14c(0x20c)](){const _0xb9258=_0x59e14c;var _0x32cdf2,_0x2fcdc5;return(_0x32cdf2=(_0x2fcdc5=this[_0xb9258(0x1ed)]())==null?void 0x0:_0x2fcdc5[_0xb9258(0x1bd)])==null?!0x1:_0x32cdf2;}[_0x59e14c(0x1a4)](_0x1c4ef8){return this['update']({'selectable':_0x1c4ef8});}[_0x59e14c(0x195)](){const _0x418872=_0x59e14c;return this[_0x418872(0x22f)][_0x418872(0x23f)](N,this[_0x418872(0x1eb)],this[_0x418872(0x22f)]);}[_0x59e14c(0x223)](){const _0x1025b7=_0x59e14c;let _0x424da0=this[_0x1025b7(0x23a)]();return(_0x424da0==null?void 0x0:_0x424da0['isCustom'])===!0x0&&!!_0x424da0[_0x1025b7(0x184)];}['getCustomGeometry'](){const _0x54ce49=_0x59e14c;var _0x5d5336,_0x2cd13e;return(_0x5d5336=(_0x2cd13e=this[_0x54ce49(0x23a)]())==null?void 0x0:_0x2cd13e[_0x54ce49(0x184)])==null?null:_0x5d5336;}[_0x59e14c(0x22e)](_0x4ce764){const _0x1f0257=_0x59e14c;return this[_0x1f0257(0x1dd)](_0x127afe=>({..._0x127afe,'shapeType':_0x4ce764}),_0x4ce764);}[_0x59e14c(0x21b)](_0x13285d){const _0x2f50eb=_0x59e14c;let _0x362ff3=_0x4bafef[_0x2f50eb(0x1f9)](_0x13285d);return this[_0x2f50eb(0x1c6)]({'shapeType':_0x362ff3['shapeType'],'shapeData':_0x362ff3});}[_0x59e14c(0x1ab)](_0x1a73c8){return this['update']({'transform':_0x1a73c8});}['setSize'](_0x4042c6,_0x4a91bf){const _0x3c1575=_0x59e14c;return this[_0x3c1575(0x1ab)]({'width':_0x4042c6,'height':_0x4a91bf});}[_0x59e14c(0x1ac)](_0xe95f96){const _0x194ef5=_0x59e14c;return this[_0x194ef5(0x1ab)]({'rotation':_0xe95f96});}[_0x59e14c(0x1d6)](_0x3194c3,_0x47647e){return this['setTransform']({'left':_0x3194c3,'top':_0x47647e});}[_0x59e14c(0x191)](_0x5ed6c7){const _0x4fa3af=_0x59e14c;let _0x24459c=_0x4bafef[_0x4fa3af(0x1f9)](_0x5ed6c7);return this[_0x4fa3af(0x1dd)](_0x32ce46=>({..._0x32ce46,'isCustom':!0x0,'customGeometry':_0x24459c}));}[_0x59e14c(0x185)](){const _0x10569f=_0x59e14c;var _0x41bde7,_0x53cd31;return(_0x41bde7=(_0x53cd31=this['_getGeometryModel']())==null?void 0x0:_0x53cd31[_0x10569f(0x1d1)]()[_0x10569f(0x218)](_0x48734b=>({..._0x48734b})))==null?[]:_0x41bde7;}['getAdjustPoints'](){const _0x469408=_0x59e14c;var _0x70fce0,_0x3d4a43;return(_0x70fce0=(_0x3d4a43=this[_0x469408(0x1cc)]())==null?void 0x0:_0x3d4a43['getDrawingPoints']()[_0x469408(0x218)](_0x475ec5=>({..._0x475ec5})))==null?[]:_0x70fce0;}[_0x59e14c(0x1c2)](){const _0x118b00=_0x59e14c;var _0x48ff49;let _0x4d5d07=(_0x48ff49=this[_0x118b00(0x1cc)]())==null?void 0x0:_0x48ff49[_0x118b00(0x1c2)]();return _0x4d5d07?{..._0x4d5d07}:null;}[_0x59e14c(0x1e1)](){const _0x38208f=_0x59e14c;var _0x599b67;let _0x3e3139=(_0x599b67=this[_0x38208f(0x1cc)]())==null?void 0x0:_0x599b67[_0x38208f(0x1e1)]();return _0x3e3139?{..._0x3e3139}:null;}[_0x59e14c(0x1dc)](_0x7214e9,_0x217533){const _0x2a3efc=_0x59e14c;return this[_0x2a3efc(0x1dd)](_0x1b175c=>({..._0x1b175c,'fill':{'fillType':_0xa1af8d[_0x2a3efc(0x196)],'color':_0x7214e9,'opacity':_0x217533}}));}[_0x59e14c(0x222)](_0x33230f,_0x1dea54,_0x586acc){const _0x4ebba3=_0x59e14c;return _0x1dea54['length']<0x2?(console[_0x4ebba3(0x1d4)](_0x4ebba3(0x18a)),this):this[_0x4ebba3(0x1dd)](_0x2dbf4a=>({..._0x2dbf4a,'fill':{'fillType':_0xa1af8d[_0x4ebba3(0x1b9)],'gradientType':_0x33230f,'gradientStops':_0x4bafef[_0x4ebba3(0x1f9)](_0x1dea54),'gradientAngle':_0x586acc}}));}[_0x59e14c(0x231)](_0x31ebb4,_0x5aca6e,_0x1169a7={}){const _0x202b6f=_0x59e14c;return this[_0x202b6f(0x1dd)](_0x4e224c=>({..._0x4e224c,'fill':{..._0x4bafef[_0x202b6f(0x1f9)](_0x1169a7),'fillType':_0xa1af8d[_0x202b6f(0x1b0)],'fillImageSource':_0x31ebb4,'fillImageSourceType':_0x5aca6e}}));}[_0x59e14c(0x22c)](){const _0x39bceb=_0x59e14c;return this[_0x39bceb(0x1dd)](_0x583e52=>({..._0x583e52,'fill':{'fillType':_0xa1af8d[_0x39bceb(0x21d)]}}));}[_0x59e14c(0x1a1)](_0x35819a){const _0x129314=_0x59e14c;return this[_0x129314(0x1dd)](_0x311aeb=>({..._0x311aeb,'stroke':_0x4bafef[_0x129314(0x1f9)](_0x35819a)}));}[_0x59e14c(0x1d2)](_0x3d5745){const _0x533f7a=_0x59e14c;return this[_0x533f7a(0x1d3)](_0x561cc3=>({..._0x561cc3,'color':_0x3d5745,'lineStrokeType':_0x561cc3[_0x533f7a(0x241)]===_0x31fccc['NoLine']?_0x31fccc[_0x533f7a(0x1cf)]:_0x561cc3[_0x533f7a(0x241)]}));}[_0x59e14c(0x181)](_0x59edc6){const _0x51a374=_0x59e14c;return this['_patchStroke'](_0x2eba0b=>({..._0x2eba0b,'width':_0x59edc6,'lineStrokeType':_0x2eba0b[_0x51a374(0x241)]===_0x31fccc['NoLine']?_0x31fccc[_0x51a374(0x1cf)]:_0x2eba0b['lineStrokeType']}));}[_0x59e14c(0x187)](_0x5cc0dc){return this['_patchStroke'](_0x163da4=>({..._0x163da4,'opacity':_0x5cc0dc}));}[_0x59e14c(0x1a7)](_0x317630){const _0x6c1d62=_0x59e14c;return this[_0x6c1d62(0x1d3)](_0x5cb3c2=>({..._0x5cb3c2,'dashType':_0x317630}));}[_0x59e14c(0x230)](_0x2822a6){return this['_patchStroke'](_0x1dbe69=>({..._0x1dbe69,'lineJoinType':_0x2822a6}));}['setStrokeLineCapType'](_0x3468a9){const _0x2c31e5=_0x59e14c;return this[_0x2c31e5(0x1d3)](_0x1e6131=>({..._0x1e6131,'capType':_0x3468a9}));}['setStrokeLineType'](_0x8f3bb8){const _0x56a600=_0x59e14c;return this[_0x56a600(0x1d3)](_0x2c3de6=>({..._0x2c3de6,'lineStrokeType':_0x8f3bb8}));}['update'](_0x58b94d){const _0x194be5=_0x59e14c;var _0x117678,_0x566ea6,_0x1df142;let _0x697f2c=_0x58b94d[_0x194be5(0x1a3)],_0x10963e=_0x697f2c&&('relation'in _0x697f2c||'points'in _0x697f2c)?this[_0x194be5(0x220)]():null,_0x7407e8=(_0x117678=(_0x566ea6=_0x58b94d[_0x194be5(0x1ea)])==null?(_0x1df142=_0x58b94d[_0x194be5(0x1a3)])==null?void 0x0:_0x1df142[_0x194be5(0x1ea)]:_0x566ea6)==null?_0x10963e:_0x117678,_0x2fd4d6=F(_0x58b94d,_0x7407e8!==null&&_0x289853(_0x7407e8));return _0x2fd4d6?(console[_0x194be5(0x1d4)](_0x194be5(0x224)+_0x2fd4d6),this):(this[_0x194be5(0x232)](_0x194be5(0x1c6),_0x4c79bf=>_0x4c79bf[_0x194be5(0x1ae)](this[_0x194be5(0x1eb)],_0x58b94d)),this);}[_0x59e14c(0x216)](){const _0x591d51=_0x59e14c;return this[_0x591d51(0x232)]('remove',_0x4c209a=>_0x4c209a[_0x591d51(0x18b)](this[_0x591d51(0x1eb)]));}[_0x59e14c(0x240)](){const _0x167d6b=_0x59e14c;return this['_mutate']('bring\x20to\x20front',_0x4d5d9b=>_0x4d5d9b[_0x167d6b(0x240)](this[_0x167d6b(0x1eb)])),this;}[_0x59e14c(0x1fb)](){const _0x227571=_0x59e14c;return this[_0x227571(0x232)]('bring\x20forward',_0x1a4b65=>_0x1a4b65['bringForward'](this['_shapeRef'])),this;}[_0x59e14c(0x1ad)](){const _0x830352=_0x59e14c;return this[_0x830352(0x232)](_0x830352(0x21c),_0x13e19a=>_0x13e19a['sendBackward'](this[_0x830352(0x1eb)])),this;}[_0x59e14c(0x217)](){const _0x466c6a=_0x59e14c;return this[_0x466c6a(0x232)]('send\x20to\x20back',_0x41f65e=>_0x41f65e[_0x466c6a(0x217)](this[_0x466c6a(0x1eb)])),this;}[_0x59e14c(0x1fa)](){const _0x5cc1a8=_0x59e14c;return this[_0x5cc1a8(0x22f)][_0x5cc1a8(0x202)](_0x4925db)[_0x5cc1a8(0x202)](this[_0x5cc1a8(0x1eb)][_0x5cc1a8(0x22d)]);}[_0x59e14c(0x1dd)](_0x2d60cf,_0x30f5b3){let _0x13e3c5=this['getShapeData']();return _0x13e3c5?this['update']({'shapeType':_0x30f5b3,'shapeData':_0x2d60cf(_0x13e3c5)}):this;}['_patchStroke'](_0x38842e){return this['_patchShapeData'](_0xe787c3=>{const _0x578049=_0x5050;var _0x19f8cd;return{..._0xe787c3,'stroke':_0x38842e((_0x19f8cd=_0xe787c3[_0x578049(0x1d8)])==null?{}:_0x19f8cd)};});}['_getSnapshot'](){const _0x1896f3=_0x59e14c;let _0x276d85=this[_0x1896f3(0x1fa)]();if(!_0x276d85)return null;try{return _0x276d85[_0x1896f3(0x242)](this['_shapeRef'])||(console[_0x1896f3(0x1d4)](_0x1896f3(0x19a)+this[_0x1896f3(0x1eb)]['shapeId']+'\x22\x20was\x20not\x20found.'),null);}catch(_0x2861eb){return console[_0x1896f3(0x1d4)](_0x1896f3(0x183)+this[_0x1896f3(0x1eb)]['shapeId']+'\x22.',_0x2861eb),null;}}[_0x59e14c(0x1cc)](){const _0x644257=_0x59e14c;let _0x1efea0=this[_0x644257(0x1ed)]();if(!_0x1efea0)return null;try{let _0xddfc99=new _0x4e4076(_0x1efea0[_0x644257(0x1ea)],_0x1efea0[_0x644257(0x1c5)],_0x1efea0[_0x644257(0x1a3)]);return _0xddfc99[_0x644257(0x20a)]({'width':_0x1efea0[_0x644257(0x219)][_0x644257(0x192)],'height':_0x1efea0[_0x644257(0x219)][_0x644257(0x193)]}),_0xddfc99;}catch(_0x15b920){return console[_0x644257(0x1d4)](_0x644257(0x1b3)+this[_0x644257(0x1eb)][_0x644257(0x1c5)]+'\x22.',_0x15b920),null;}}[_0x59e14c(0x232)](_0x2ec210,_0x3e0de6){const _0x2d442c=_0x59e14c;let _0x686b35=this[_0x2d442c(0x1fa)]();if(!_0x686b35)return!0x1;try{let _0x66d659=_0x3e0de6(_0x686b35);return _0x66d659||console[_0x2d442c(0x1d4)](_0x2d442c(0x1a2)+_0x2ec210+_0x2d442c(0x1ba)+this['_shapeRef'][_0x2d442c(0x1c5)]+'\x22.'),_0x66d659;}catch(_0x3df0e3){return console[_0x2d442c(0x1d4)](_0x2d442c(0x1a2)+_0x2ec210+_0x2d442c(0x1ba)+this['_shapeRef'][_0x2d442c(0x1c5)]+'\x22.',_0x3df0e3),!0x1;}}};function F(_0x450bdc,_0x2b70cf=!0x1){const _0x7f394b=_0x59e14c;for(let _0x388d71 of[_0x7f394b(0x1a6),_0x7f394b(0x1bd)]){let _0x13c41a=_0x450bdc[_0x388d71];if(_0x13c41a!==void 0x0&&typeof _0x13c41a!='boolean')return _0x7f394b(0x1a9)+_0x388d71+_0x7f394b(0x1bc);}let _0xe5b196=_0x450bdc['transform'];if(_0xe5b196){for(let _0x2bed15 of[_0x7f394b(0x229),_0x7f394b(0x22b),_0x7f394b(0x192),'height',_0x7f394b(0x18f)]){let _0x272194=_0xe5b196[_0x2bed15];if(_0x272194!==void 0x0&&!Number[_0x7f394b(0x204)](_0x272194))return _0x7f394b(0x238)+_0x2bed15+_0x7f394b(0x236);}if(_0xe5b196[_0x7f394b(0x192)]!==void 0x0&&_0xe5b196[_0x7f394b(0x192)]<=0x0)return _0x7f394b(0x19f);if(_0xe5b196['height']!==void 0x0&&_0xe5b196[_0x7f394b(0x193)]<=0x0)return _0x7f394b(0x1a8);for(let _0x278a24 of[_0x7f394b(0x20f),_0x7f394b(0x1b1)]){let _0x595a69=_0xe5b196[_0x278a24];if(_0x595a69!==void 0x0&&typeof _0x595a69!=_0x7f394b(0x1b8))return _0x7f394b(0x238)+_0x278a24+_0x7f394b(0x1bc);}}let _0x3b4cfb=_0x450bdc[_0x7f394b(0x1a3)];return!_0x2b70cf&&_0x3b4cfb&&(_0x7f394b(0x1e6)in _0x3b4cfb||'points'in _0x3b4cfb)?_0x7f394b(0x18d):null;}var I=class extends P{['isConnectorShape'](){return!0x0;}[_0x59e14c(0x207)](){const _0x5635f9=_0x59e14c;let _0x461cf5=this[_0x5635f9(0x200)]();return _0x461cf5?_0x4bafef['deepClone'](_0x461cf5[_0x5635f9(0x190)]):null;}[_0x59e14c(0x17d)](){const _0xd36098=_0x59e14c;let _0x50e2ae=this['_getConnectorSnapshot']();return _0x50e2ae?_0x4bafef[_0xd36098(0x1f9)](_0x50e2ae[_0xd36098(0x1c8)]):null;}['getRoutePoints'](){const _0x34d01a=_0x59e14c;let _0x384240=this[_0x34d01a(0x200)]();return _0x384240?_0x4bafef[_0x34d01a(0x1f9)](_0x384240[_0x34d01a(0x1af)]):null;}[_0x59e14c(0x23d)](){const _0x3af2d3=_0x59e14c;let _0x139f0b=this['_getConnectorSnapshot']();return _0x139f0b?_0x4bafef[_0x3af2d3(0x1f9)](_0x139f0b[_0x3af2d3(0x227)]):null;}['getEndArrow'](){const _0x2818ff=_0x59e14c;let _0x5b158a=this[_0x2818ff(0x200)]();return _0x5b158a?_0x4bafef['deepClone'](_0x5b158a[_0x2818ff(0x209)]):null;}[_0x59e14c(0x22e)](_0x38ea8f){const _0x73649e=_0x59e14c;return _0x289853(_0x38ea8f)?super[_0x73649e(0x22e)](_0x38ea8f):(console[_0x73649e(0x1d4)](_0x73649e(0x1cb)+this[_0x73649e(0x1eb)][_0x73649e(0x1c5)]+_0x73649e(0x215)),this);}[_0x59e14c(0x21b)](_0x333951){const _0x419c1a=_0x59e14c;return _0x333951[_0x419c1a(0x1ea)]!==void 0x0&&!_0x289853(_0x333951[_0x419c1a(0x1ea)])?(console[_0x419c1a(0x1d4)](_0x419c1a(0x1cb)+this['_shapeRef'][_0x419c1a(0x1c5)]+_0x419c1a(0x19e)),this):super[_0x419c1a(0x21b)](_0x333951);}[_0x59e14c(0x21a)](_0xf2dc31,_0x36602c){const _0x58ca0b=_0x59e14c;return this['_bind'](_0x58ca0b(0x190),_0xf2dc31,_0x36602c),this;}[_0x59e14c(0x1b6)](_0x5f376d,_0x57c6de){const _0x4b7ad7=_0x59e14c;return this[_0x4b7ad7(0x1f2)]('end',_0x5f376d,_0x57c6de),this;}[_0x59e14c(0x206)](){const _0x1bfc7f=_0x59e14c;return this[_0x1bfc7f(0x1df)]('unbind\x20start',_0x28ab2c=>_0x28ab2c[_0x1bfc7f(0x206)](this[_0x1bfc7f(0x1eb)])),this;}[_0x59e14c(0x1f0)](){const _0x31584d=_0x59e14c;return this[_0x31584d(0x1df)](_0x31584d(0x1fd),_0x39f0fa=>_0x39f0fa[_0x31584d(0x1f0)](this[_0x31584d(0x1eb)])),this;}['setStartPoint'](_0x5d4e7d){const _0x13f943=_0x59e14c;return L(_0x5d4e7d,this[_0x13f943(0x1eb)][_0x13f943(0x1c5)])&&this[_0x13f943(0x1df)](_0x13f943(0x201),_0x36697b=>_0x36697b[_0x13f943(0x20d)](this[_0x13f943(0x1eb)],_0x5d4e7d)),this;}[_0x59e14c(0x1f5)](_0x1c59ab){const _0x36d40c=_0x59e14c;return L(_0x1c59ab,this['_shapeRef'][_0x36d40c(0x1c5)])&&this[_0x36d40c(0x1df)](_0x36d40c(0x186),_0x26ec3f=>_0x26ec3f[_0x36d40c(0x1f5)](this['_shapeRef'],_0x1c59ab)),this;}[_0x59e14c(0x221)](_0x181801){const _0x37ce0b=_0x59e14c;return _0x181801['every'](_0x261acf=>L(_0x261acf,this[_0x37ce0b(0x1eb)][_0x37ce0b(0x1c5)]))&&this[_0x37ce0b(0x1df)](_0x37ce0b(0x237),_0x2ea510=>_0x2ea510[_0x37ce0b(0x221)](this[_0x37ce0b(0x1eb)],_0x181801)),this;}[_0x59e14c(0x1f7)](_0x326c82,_0x4dd9a3){const _0x3a030d=_0x59e14c;return this[_0x3a030d(0x1df)](_0x3a030d(0x180),_0x253247=>_0x253247[_0x3a030d(0x1f7)](this[_0x3a030d(0x1eb)],_0x326c82,_0x4dd9a3)),this;}[_0x59e14c(0x1e7)](_0x3bd510,_0xe70b6d){const _0x30ba7a=_0x59e14c;return this[_0x30ba7a(0x1df)](_0x30ba7a(0x212),_0x3ce169=>_0x3ce169['setEndArrow'](this['_shapeRef'],_0x3bd510,_0xe70b6d)),this;}[_0x59e14c(0x1c1)](){const _0xd9df82=_0x59e14c;return this[_0xd9df82(0x22f)][_0xd9df82(0x202)](_0x3297db);}[_0x59e14c(0x200)](){const _0x263ce4=_0x59e14c;let _0x245260=this['_getConnectorAdapter']();if(!_0x245260)return null;try{return _0x245260[_0x263ce4(0x1ee)](this[_0x263ce4(0x1eb)])||(console[_0x263ce4(0x1d4)](_0x263ce4(0x1cb)+this[_0x263ce4(0x1eb)][_0x263ce4(0x1c5)]+'\x22\x20was\x20not\x20found.'),null);}catch(_0x4b2256){return console[_0x263ce4(0x1d4)](_0x263ce4(0x1a0)+this[_0x263ce4(0x1eb)]['shapeId']+'\x22.',_0x4b2256),null;}}[_0x59e14c(0x1f2)](_0x35244c,_0x5f48be,_0x993a12){const _0xc16ffa=_0x59e14c;if(!_0x5f48be||!Number[_0xc16ffa(0x1e9)](_0x993a12)||_0x993a12<0x0)return console[_0xc16ffa(0x1d4)](_0xc16ffa(0x214)+this[_0xc16ffa(0x1eb)]['shapeId']+_0xc16ffa(0x1b4)),!0x1;let _0xf14f0a={'shapeId':_0x5f48be,'cxnIndex':_0x993a12};return this[_0xc16ffa(0x1df)](_0xc16ffa(0x1f8)+_0x35244c,_0x10fa6d=>_0x35244c===_0xc16ffa(0x190)?_0x10fa6d[_0xc16ffa(0x21a)](this[_0xc16ffa(0x1eb)],_0xf14f0a):_0x10fa6d[_0xc16ffa(0x1b6)](this[_0xc16ffa(0x1eb)],_0xf14f0a));}['_mutateConnector'](_0x46c0db,_0x3e3fde){const _0x585171=_0x59e14c;let _0x4ca199=this[_0x585171(0x1c1)]();if(!_0x4ca199)return!0x1;try{let _0x1400b3=_0x3e3fde(_0x4ca199);return _0x1400b3||console['warn'](_0x585171(0x1a2)+_0x46c0db+_0x585171(0x1b5)+this[_0x585171(0x1eb)]['shapeId']+'\x22.'),_0x1400b3;}catch(_0x394407){return console[_0x585171(0x1d4)](_0x585171(0x1a2)+_0x46c0db+_0x585171(0x1b5)+this[_0x585171(0x1eb)][_0x585171(0x1c5)]+'\x22.',_0x394407),!0x1;}}};function L(_0x322749,_0x4184ed){const _0x3dd078=_0x59e14c;return!Number[_0x3dd078(0x204)](_0x322749['x'])||!Number[_0x3dd078(0x204)](_0x322749['y'])?(console[_0x3dd078(0x1d4)](_0x3dd078(0x214)+_0x4184ed+_0x3dd078(0x1b2)),!0x1):!0x0;}export{I as FConnectorShape,P as FShape,N as FShapeText};
|
|
1
|
+
const _0xfef7b=_0x310e;(function(_0x4d7c83,_0x5f0aa3){const _0x5c5e35=_0x310e,_0x2cfe91=_0x4d7c83();while(!![]){try{const _0x18a55f=parseInt(_0x5c5e35(0x147))/0x1*(-parseInt(_0x5c5e35(0x1ea))/0x2)+-parseInt(_0x5c5e35(0x15f))/0x3*(parseInt(_0x5c5e35(0x15b))/0x4)+-parseInt(_0x5c5e35(0x18c))/0x5*(-parseInt(_0x5c5e35(0x199))/0x6)+parseInt(_0x5c5e35(0x152))/0x7*(-parseInt(_0x5c5e35(0x15d))/0x8)+-parseInt(_0x5c5e35(0x1dc))/0x9*(-parseInt(_0x5c5e35(0x175))/0xa)+-parseInt(_0x5c5e35(0x1af))/0xb+-parseInt(_0x5c5e35(0x159))/0xc*(-parseInt(_0x5c5e35(0x200))/0xd);if(_0x18a55f===_0x5f0aa3)break;else _0x2cfe91['push'](_0x2cfe91['shift']());}catch(_0x400cd5){_0x2cfe91['push'](_0x2cfe91['shift']());}}}(_0x4169,0xa86c9));import{IConnectorShapeHostAdapter as _0x34e471,IShapeHostAdapterRegistry as _0x10a896,ImageFillModeEnum as _0xd528dd,ImageSourceTypeEnum as _0xf61a9e,ShapeArrowSizeEnum as _0x586d87,ShapeArrowTypeEnum as _0x39813f,ShapeFillEnum as _0x3837c7,ShapeGradientTypeEnum as _0x726528,ShapeLineCapEnum as _0x19f502,ShapeLineDashEnum as _0x54fd52,ShapeLineJoinEnum as _0x35d2a8,ShapeLineTypeEnum as _0x3c0b59,ShapeModel as _0x4ea37f,ShapeOperatorEnum as _0x2c3449,ShapeTextAutoFitType as _0x10e8a0,ShapeTextDirection as _0x21c4fc,ShapeTextWrapType as _0x2f096b,ShapeTypeEnum as _0x427618,applyRichTextToShapeText as _0x1d4113,applyShapeTextAlignment as _0x798af1,applyShapeTextBoxOptions as _0x5cb351,applyShapeTextStyle as _0x662daa,applyTextToShapeText as _0x4003ab,isConnectorShape as _0x12601b,resolveShapeTextBoxOptions as _0x554dab,shapeTextToRichTextValue as _0x27c4a5}from'@univerjs-pro/engine-shape';import{FBase as _0x20a4c1,FEnum as _0x33fc82}from'@univerjs/core/facade';import{BooleanNumber as _0x548ff2,Tools as _0x50fd2b}from'@univerjs/core';var A=class extends _0x33fc82{get['ShapeTypeEnum'](){return _0x427618;}get['ShapeFillEnum'](){return _0x3837c7;}get['ShapeGradientTypeEnum'](){return _0x726528;}get['ShapeImageFillModeEnum'](){return _0xd528dd;}get[_0xfef7b(0x17e)](){return _0xf61a9e;}get[_0xfef7b(0x178)](){return _0x3c0b59;}get[_0xfef7b(0x13b)](){return _0x54fd52;}get[_0xfef7b(0x1eb)](){return _0x19f502;}get[_0xfef7b(0x1e4)](){return _0x35d2a8;}get[_0xfef7b(0x146)](){return _0x2c3449;}get[_0xfef7b(0x19d)](){return _0x39813f;}get[_0xfef7b(0x17b)](){return _0x586d87;}get[_0xfef7b(0x1fc)](){return _0x10e8a0;}get['ShapeTextDirection'](){return _0x21c4fc;}get[_0xfef7b(0x1db)](){return _0x2f096b;}};_0x33fc82[_0xfef7b(0x1f3)](A);function _0x4169(){const _0x19db96=['1qERoeT','[Shape\x20Text\x20Facade]:\x20Shape\x20\x22','_mutateConnector','setVerticalAlign','map','update','deepClone','bring\x20forward','getTransform','_getConnectorSnapshot','\x22\x20must\x20be\x20boolean.','2977499DWaVCG','shapeData','GradientFill','setHorizontalAlign','warn','picture','set\x20route\x20points','3677364brUeKN','width','14780ylUVfH','removeShape','16vRXiHc','[Shape\x20Facade]:\x20Failed\x20to\x20resolve\x20geometry\x20for\x20Shape\x20\x22','669ohwWcZ','offsetY','length','solid','Angular','selectable','stroke','isFinite','[Shape\x20Facade]:\x20Gradient\x20fill\x20requires\x20at\x20least\x20two\x20color\x20stops.','setFontFamily','[Shape\x20Facade]:\x20Failed\x20to\x20read\x20Connector\x20Shape\x20\x22','flipX','getDrawingPoints','radial','_getShapeData','isCustom','setItalic','NoLine','transform','routePoints','setStroke','angular','10OCouNt','_getGeometryModel','rgba(0,\x200,\x200,\x200)','ShapeLineTypeEnum','_bind','getPlainText','ShapeArrowSizeEnum','setStrokeLineJoinType','bringToFront','ShapeImageSourceTypeEnum','Shape\x20height\x20must\x20be\x20greater\x20than\x20zero.','tile','getDescription','setText','bringForward','[Shape\x20Facade]:\x20Failed\x20to\x20read\x20Shape\x20\x22','getRichText','FALSE','relation','getEndEndpoint','setStrokeLineCapType','getEndConnectInfo','unbindEnd','5501815GJFdRf','unbind\x20start','isInteger','getConnectionSites','_getAdapter','customGeometry','set\x20start\x20arrow','_getSnapshot','_injector','lineStrokeType','getCustomGeometry','Shape\x20transform\x20\x22','unbind\x20end','6CmvjPL','Linear','Connector\x20relationships\x20and\x20route\x20points\x20require\x20FConnectorShape.','[Shape\x20Facade]:\x20Failed\x20to\x20','ShapeArrowTypeEnum','getRoutePoints','setEndPoint','\x22\x20text.','Shape\x20width\x20must\x20be\x20greater\x20than\x20zero.','\x22\x20points\x20must\x20contain\x20finite\x20coordinates.','getShape','bring\x20to\x20front','scaleY','top','remove','name','setRichText','TRUE','visible','setShapeType','setBold','[Shape\x20Text\x20Facade]:\x20Gradient\x20text\x20fill\x20requires\x20at\x20least\x20two\x20color\x20stops.','10939621vdwKqF','updateContext','[Shape\x20Facade]:\x20Connector\x20Shape\x20\x22','getHostType','[Shape\x20Facade]:\x20','setStartPoint','setStrokeLineDashType','end','setRoutePoints','setTextBoxOptions','_patchStroke','PictureFill','\x22\x20must\x20be\x20finite.','points','setSolidFill','\x22\x20was\x20not\x20found.','toPlainText','sendBackward','updateShape','setSize','setShapeData','_mutate','[Shape\x20Facade]:\x20Shape\x20\x22','setVisible','shapeText','getStartArrow','\x22\x20binding\x20requires\x20a\x20target\x20Shape\x20ID\x20and\x20a\x20non-negative\x20connection\x20site\x20index.','bindStart','set\x20end\x20arrow','getName','opacity','setDescription','URL','hostType','getSnapshot','getStartEndpoint','setStartArrow','isCustomShape','setEndArrow','[Shape\x20Facade]:\x20Connector\x20\x22','setSelectable','setStrokeOpacity','getTextBoxOptions','rotation','ShapeTextWrapType','9834849iPRGOw','\x22\x20requires\x20Connector\x20Shape\x20data.','setTransform','setTextStyle','flipY','getEndArrow','_getConnectorAdapter','send\x20backward','ShapeLineJoinEnum','unbindStart','setFontSize','setGradientFill','offsetX','Shape\x20\x22','1958356KUhTNb','ShapeLineCapEnum','shapeType','setStrokeWidth','Tile','bind\x20','start','setUnderline','every','extend','\x20Shape\x20\x22','height','stretch','_updateShapeData','setStrokeColor','diamond','isConnectorShape','\x20Connector\x20Shape\x20\x22','ShapeTextAutoFitType','none','getConnectionSiteList','color','91RIDqYN','SolidLine','boolean','scaleX','_shapeRef','bindEnd','\x22\x20requires\x20a\x20Connector\x20Shape\x20type.','ShapeLineDashEnum','setImageFill','setRotation','SolidFill','get','sendToBack','linear','[Shape\x20Text\x20Facade]:\x20Failed\x20to\x20update\x20Shape\x20\x22','shapeId','getAdjustPoints','_patchShapeData','ShapeOperatorEnum'];_0x4169=function(){return _0x19db96;};return _0x4169();}function j(_0x1309a3){const _0x119c2b=_0xfef7b;switch(_0x1309a3){case _0x726528['Radial']:return _0x119c2b(0x16c);case _0x726528[_0x119c2b(0x163)]:return _0x119c2b(0x174);case _0x726528['Diamond']:return _0x119c2b(0x1f9);case _0x726528[_0x119c2b(0x19a)]:default:return _0x119c2b(0x141);}}function M(_0x4c33a9){const _0x52f6bf=_0xfef7b;return _0x4c33a9===_0xd528dd[_0x52f6bf(0x1ee)]?_0x52f6bf(0x180):_0x52f6bf(0x1f6);}var N=class{constructor(_0x5d2940,_0x53b493){const _0x3349a1=_0xfef7b;this[_0x3349a1(0x138)]=_0x5d2940,this[_0x3349a1(0x194)]=_0x53b493;}[_0xfef7b(0x185)](){const _0x5dd505=_0xfef7b;var _0x13a8ba;return _0x27c4a5((_0x13a8ba=this['_getShapeData']())==null?void 0x0:_0x13a8ba[_0x5dd505(0x1c7)]);}[_0xfef7b(0x17a)](){const _0x4898ac=_0xfef7b;var _0x2e96ed,_0x339e7e;return(_0x2e96ed=(_0x339e7e=this[_0x4898ac(0x185)]())==null?void 0x0:_0x339e7e[_0x4898ac(0x1bf)]())==null?null:_0x2e96ed;}[_0xfef7b(0x1a9)](_0x279320){const _0x295196=_0xfef7b;return this[_0x295196(0x1f7)](_0x4bb553=>({..._0x4bb553,'shapeText':_0x1d4113(_0x4bb553['shapeText'],_0x279320)})),this;}[_0xfef7b(0x182)](_0x268eac){const _0xe1dae9=_0xfef7b;return this[_0xe1dae9(0x1f7)](_0x395948=>({..._0x395948,'shapeText':_0x4003ab(_0x395948['shapeText'],_0x268eac)})),this;}['setTextStyle'](_0x284e42){const _0x53465b=_0xfef7b;return this[_0x53465b(0x1f7)](_0x350424=>({..._0x350424,'shapeText':_0x662daa(_0x350424[_0x53465b(0x1c7)],_0x284e42)})),this;}['setColor'](_0x4903e2,_0x456061){const _0x2bd2c8=_0xfef7b;return this[_0x2bd2c8(0x1df)]({'cl':{'rgb':_0x4903e2},'textFill':{'type':_0x2bd2c8(0x162),'color':_0x4903e2,'opacity':_0x456061}});}['setNoneFill'](){const _0x7fb514=_0xfef7b;return this['setTextStyle']({'cl':{'rgb':_0x7fb514(0x177)},'textFill':{'type':_0x7fb514(0x1fd)}});}[_0xfef7b(0x1e7)](_0xe2d782,_0x2abc60,_0x3f0be4){const _0x135b64=_0xfef7b;return _0x2abc60[_0x135b64(0x161)]<0x2?(console[_0x135b64(0x156)](_0x135b64(0x1ae)),this):this[_0x135b64(0x1df)]({'cl':{'rgb':_0x2abc60[0x0][_0x135b64(0x1ff)]},'textFill':{'type':'gradient','gradient':{'type':j(_0xe2d782),'angle':_0x3f0be4,'stops':_0x2abc60[_0x135b64(0x14b)](({position:_0x1ed31c,color:_0x455410,opacity:_0x1861e4})=>({'offset':_0x1ed31c,'color':_0x455410,'opacity':_0x1861e4}))}}});}[_0xfef7b(0x13c)](_0x1b9fb1,_0x4708a3=_0xf61a9e[_0xfef7b(0x1cf)],_0x5a97f8={}){const _0x307e66=_0xfef7b;return this[_0x307e66(0x1df)]({'textFill':{'type':_0x307e66(0x157),'picture':{'source':_0x1b9fb1,'sourceType':_0x4708a3,'opacity':_0x5a97f8[_0x307e66(0x1cd)],'mode':M(_0x5a97f8['mode']),'scaleX':_0x5a97f8[_0x307e66(0x203)],'scaleY':_0x5a97f8[_0x307e66(0x1a5)],'offsetX':_0x5a97f8[_0x307e66(0x1e8)],'offsetY':_0x5a97f8[_0x307e66(0x160)]}}});}[_0xfef7b(0x1e6)](_0x27c753){const _0x3c4006=_0xfef7b;return this[_0x3c4006(0x1df)]({'fs':_0x27c753});}[_0xfef7b(0x168)](_0x360fa1){const _0x547aee=_0xfef7b;return this[_0x547aee(0x1df)]({'ff':_0x360fa1});}[_0xfef7b(0x1ad)](_0x219b9a){const _0x166fb2=_0xfef7b;return this[_0x166fb2(0x1df)]({'bl':_0x219b9a?_0x548ff2[_0x166fb2(0x1aa)]:_0x548ff2[_0x166fb2(0x186)]});}[_0xfef7b(0x16f)](_0x2f9472){const _0x5206bf=_0xfef7b;return this[_0x5206bf(0x1df)]({'it':_0x2f9472?_0x548ff2[_0x5206bf(0x1aa)]:_0x548ff2[_0x5206bf(0x186)]});}[_0xfef7b(0x1f1)](_0x3b5231){const _0x4dea0c=_0xfef7b;return this['setTextStyle']({'ul':{'s':_0x3b5231?_0x548ff2[_0x4dea0c(0x1aa)]:_0x548ff2['FALSE']}});}['setStrikethrough'](_0x25701a){const _0x190ff7=_0xfef7b;return this[_0x190ff7(0x1df)]({'st':{'s':_0x25701a?_0x548ff2[_0x190ff7(0x1aa)]:_0x548ff2['FALSE']}});}[_0xfef7b(0x155)](_0x339a15){return this['_updateShapeData'](_0x43f695=>_0x798af1(_0x43f695,{'horizontalAlign':_0x339a15})),this;}[_0xfef7b(0x14a)](_0x5a3ea7){return this['_updateShapeData'](_0x2280ee=>_0x798af1(_0x2280ee,{'verticalAlign':_0x5a3ea7})),this;}[_0xfef7b(0x1d9)](){const _0x2d10dc=_0xfef7b;let _0x296564=this[_0x2d10dc(0x16d)]();return _0x296564?_0x554dab(_0x296564):null;}[_0xfef7b(0x1b8)](_0x55ceb8){const _0x59fb33=_0xfef7b;return this[_0x59fb33(0x1f7)](_0x363fa9=>_0x5cb351(_0x363fa9,_0x55ceb8)),this;}[_0xfef7b(0x190)](){const _0x173a4e=_0xfef7b;return this[_0x173a4e(0x194)][_0x173a4e(0x13f)](_0x10a896)['get'](this[_0x173a4e(0x138)][_0x173a4e(0x1d0)]);}[_0xfef7b(0x16d)](){const _0x5641c3=_0xfef7b;let _0x1b1b25=this[_0x5641c3(0x190)]();if(!_0x1b1b25)return null;try{var _0x307d11;return((_0x307d11=_0x1b1b25[_0x5641c3(0x1a3)](this[_0x5641c3(0x138)]))==null?void 0x0:_0x307d11[_0x5641c3(0x153)])||(console[_0x5641c3(0x156)]('[Shape\x20Text\x20Facade]:\x20Shape\x20\x22'+this['_shapeRef'][_0x5641c3(0x143)]+_0x5641c3(0x1be)),null);}catch(_0xc55bf6){return console[_0x5641c3(0x156)]('[Shape\x20Text\x20Facade]:\x20Failed\x20to\x20read\x20Shape\x20\x22'+this[_0x5641c3(0x138)]['shapeId']+'\x22\x20text.',_0xc55bf6),null;}}[_0xfef7b(0x1f7)](_0x397630){const _0x5d03f3=_0xfef7b;let _0x4976e4=this[_0x5d03f3(0x190)]();if(!_0x4976e4)return!0x1;try{var _0x69349b;let _0x12d08e=(_0x69349b=_0x4976e4[_0x5d03f3(0x1a3)](this[_0x5d03f3(0x138)]))==null?void 0x0:_0x69349b[_0x5d03f3(0x153)];if(!_0x12d08e)return console[_0x5d03f3(0x156)](_0x5d03f3(0x148)+this[_0x5d03f3(0x138)][_0x5d03f3(0x143)]+'\x22\x20was\x20not\x20found.'),!0x1;let _0x30daca=_0x4976e4[_0x5d03f3(0x1c1)](this[_0x5d03f3(0x138)],{'shapeData':_0x397630(_0x12d08e)});return _0x30daca||console[_0x5d03f3(0x156)](_0x5d03f3(0x142)+this[_0x5d03f3(0x138)]['shapeId']+_0x5d03f3(0x1a0)),_0x30daca;}catch(_0x4e94b2){return console[_0x5d03f3(0x156)](_0x5d03f3(0x142)+this[_0x5d03f3(0x138)][_0x5d03f3(0x143)]+_0x5d03f3(0x1a0),_0x4e94b2),!0x1;}}},P=class extends _0x20a4c1{constructor(_0x2d1ad7,_0x268016){super(),this['_shapeRef']=_0x2d1ad7,this['_injector']=_0x268016;}['isConnectorShape'](){return!0x1;}['getId'](){const _0x2f8298=_0xfef7b;return this[_0x2f8298(0x138)][_0x2f8298(0x143)];}[_0xfef7b(0x1cc)](){const _0x1cb19b=_0xfef7b;var _0x4edca1;return(_0x4edca1=this[_0x1cb19b(0x193)]())==null?void 0x0:_0x4edca1[_0x1cb19b(0x1a8)];}['setName'](_0xa70e34){const _0x4fdea1=_0xfef7b;return this[_0x4fdea1(0x14c)]({'name':_0xa70e34});}[_0xfef7b(0x181)](){var _0x26fca7;return(_0x26fca7=this['_getSnapshot']())==null?void 0x0:_0x26fca7['description'];}[_0xfef7b(0x1ce)](_0x255802){const _0x20fe11=_0xfef7b;return this[_0x20fe11(0x14c)]({'description':_0x255802});}[_0xfef7b(0x1b2)](){const _0x1124a8=_0xfef7b;return this['_shapeRef'][_0x1124a8(0x1d0)];}['getShapeType'](){const _0x4171ea=_0xfef7b;var _0x5bfab2,_0x16deec;return(_0x5bfab2=(_0x16deec=this[_0x4171ea(0x193)]())==null?void 0x0:_0x16deec[_0x4171ea(0x1ec)])==null?null:_0x5bfab2;}['getShapeData'](){const _0x6e4cbf=_0xfef7b;let _0x40885f=this['_getSnapshot']();return _0x40885f?_0x50fd2b[_0x6e4cbf(0x14d)](_0x40885f[_0x6e4cbf(0x153)]):null;}[_0xfef7b(0x1d1)](){let _0x13c549=this['_getSnapshot']();return _0x13c549?_0x50fd2b['deepClone'](_0x13c549):null;}[_0xfef7b(0x14f)](){const _0x1eb068=_0xfef7b;let _0x5125a3=this['_getSnapshot']();return _0x5125a3?{..._0x5125a3[_0x1eb068(0x171)]}:null;}['isVisible'](){const _0x1cb074=_0xfef7b;var _0xb28201,_0x50e41a;return(_0xb28201=(_0x50e41a=this[_0x1cb074(0x193)]())==null?void 0x0:_0x50e41a[_0x1cb074(0x1ab)])==null?!0x1:_0xb28201;}[_0xfef7b(0x1c6)](_0x46d375){const _0x40dc5c=_0xfef7b;return this[_0x40dc5c(0x14c)]({'visible':_0x46d375});}['isSelectable'](){const _0x3804b6=_0xfef7b;var _0x5b722c,_0x4ead8d;return(_0x5b722c=(_0x4ead8d=this[_0x3804b6(0x193)]())==null?void 0x0:_0x4ead8d[_0x3804b6(0x164)])==null?!0x1:_0x5b722c;}[_0xfef7b(0x1d7)](_0x2cf119){return this['update']({'selectable':_0x2cf119});}['getText'](){const _0x24f1c6=_0xfef7b;return this[_0x24f1c6(0x194)]['createInstance'](N,this[_0x24f1c6(0x138)],this['_injector']);}[_0xfef7b(0x1d4)](){const _0x10c56b=_0xfef7b;let _0x5c37cd=this['getShapeData']();return(_0x5c37cd==null?void 0x0:_0x5c37cd[_0x10c56b(0x16e)])===!0x0&&!!_0x5c37cd[_0x10c56b(0x191)];}[_0xfef7b(0x196)](){const _0x238f19=_0xfef7b;var _0x35fde7,_0x4a5d52;return(_0x35fde7=(_0x4a5d52=this['getShapeData']())==null?void 0x0:_0x4a5d52[_0x238f19(0x191)])==null?null:_0x35fde7;}[_0xfef7b(0x1ac)](_0x24822f){const _0x3a8e64=_0xfef7b;return this[_0x3a8e64(0x145)](_0x462bd0=>({..._0x462bd0,'shapeType':_0x24822f}),_0x24822f);}['setShapeData'](_0x200d0a){const _0xce80dd=_0xfef7b;let _0x1f08ea=_0x50fd2b[_0xce80dd(0x14d)](_0x200d0a);return this[_0xce80dd(0x14c)]({'shapeType':_0x1f08ea[_0xce80dd(0x1ec)],'shapeData':_0x1f08ea});}['setTransform'](_0x14d547){return this['update']({'transform':_0x14d547});}[_0xfef7b(0x1c2)](_0x21ec4b,_0x134437){const _0xad319a=_0xfef7b;return this[_0xad319a(0x1de)]({'width':_0x21ec4b,'height':_0x134437});}[_0xfef7b(0x13d)](_0xd1a69a){return this['setTransform']({'rotation':_0xd1a69a});}['setAbsolutePosition'](_0x51cdd3,_0x59774f){const _0xb62c38=_0xfef7b;return this[_0xb62c38(0x1de)]({'left':_0x51cdd3,'top':_0x59774f});}['setCustomGeometry'](_0x5ecd98){const _0x3fcb6a=_0xfef7b;let _0xe748d7=_0x50fd2b[_0x3fcb6a(0x14d)](_0x5ecd98);return this[_0x3fcb6a(0x145)](_0x9e64c3=>({..._0x9e64c3,'isCustom':!0x0,'customGeometry':_0xe748d7}));}[_0xfef7b(0x18f)](){const _0xe15b80=_0xfef7b;var _0x27b973,_0x157994;return(_0x27b973=(_0x157994=this[_0xe15b80(0x176)]())==null?void 0x0:_0x157994[_0xe15b80(0x1fe)]()[_0xe15b80(0x14b)](_0x43cc94=>({..._0x43cc94})))==null?[]:_0x27b973;}[_0xfef7b(0x144)](){const _0x175250=_0xfef7b;var _0x8bec0f,_0x52760e;return(_0x8bec0f=(_0x52760e=this[_0x175250(0x176)]())==null?void 0x0:_0x52760e[_0x175250(0x16b)]()[_0x175250(0x14b)](_0x2a1c3e=>({..._0x2a1c3e})))==null?[]:_0x8bec0f;}['getStartConnectInfo'](){var _0x402d36;let _0x4368ea=(_0x402d36=this['_getGeometryModel']())==null?void 0x0:_0x402d36['getStartConnectInfo']();return _0x4368ea?{..._0x4368ea}:null;}['getEndConnectInfo'](){const _0x1bf7ab=_0xfef7b;var _0x755c2;let _0x26c22e=(_0x755c2=this[_0x1bf7ab(0x176)]())==null?void 0x0:_0x755c2[_0x1bf7ab(0x18a)]();return _0x26c22e?{..._0x26c22e}:null;}[_0xfef7b(0x1bd)](_0x1e0450,_0xaeb490){const _0x257d88=_0xfef7b;return this[_0x257d88(0x145)](_0x38f415=>({..._0x38f415,'fill':{'fillType':_0x3837c7[_0x257d88(0x13e)],'color':_0x1e0450,'opacity':_0xaeb490}}));}[_0xfef7b(0x1e7)](_0x278052,_0x104694,_0xa1ad07){const _0x5c754e=_0xfef7b;return _0x104694['length']<0x2?(console['warn'](_0x5c754e(0x167)),this):this[_0x5c754e(0x145)](_0x57adda=>({..._0x57adda,'fill':{'fillType':_0x3837c7[_0x5c754e(0x154)],'gradientType':_0x278052,'gradientStops':_0x50fd2b[_0x5c754e(0x14d)](_0x104694),'gradientAngle':_0xa1ad07}}));}['setImageFill'](_0x456217,_0x5de04e,_0x4b99c9={}){const _0x3a660c=_0xfef7b;return this['_patchShapeData'](_0x5383fd=>({..._0x5383fd,'fill':{..._0x50fd2b[_0x3a660c(0x14d)](_0x4b99c9),'fillType':_0x3837c7[_0x3a660c(0x1ba)],'fillImageSource':_0x456217,'fillImageSourceType':_0x5de04e}}));}['setNoneFill'](){const _0x54437b=_0xfef7b;return this[_0x54437b(0x145)](_0x5b9cea=>({..._0x5b9cea,'fill':{'fillType':_0x3837c7['NoFill']}}));}[_0xfef7b(0x173)](_0x4c359b){const _0x4b80a4=_0xfef7b;return this[_0x4b80a4(0x145)](_0x462759=>({..._0x462759,'stroke':_0x50fd2b[_0x4b80a4(0x14d)](_0x4c359b)}));}[_0xfef7b(0x1f8)](_0xf86ed4){const _0x5895ee=_0xfef7b;return this[_0x5895ee(0x1b9)](_0x4beaa3=>({..._0x4beaa3,'color':_0xf86ed4,'lineStrokeType':_0x4beaa3['lineStrokeType']===_0x3c0b59[_0x5895ee(0x170)]?_0x3c0b59[_0x5895ee(0x201)]:_0x4beaa3['lineStrokeType']}));}[_0xfef7b(0x1ed)](_0x1566d8){const _0x3b3520=_0xfef7b;return this[_0x3b3520(0x1b9)](_0x370de4=>({..._0x370de4,'width':_0x1566d8,'lineStrokeType':_0x370de4[_0x3b3520(0x195)]===_0x3c0b59[_0x3b3520(0x170)]?_0x3c0b59[_0x3b3520(0x201)]:_0x370de4[_0x3b3520(0x195)]}));}[_0xfef7b(0x1d8)](_0x56dff3){const _0x23ac44=_0xfef7b;return this[_0x23ac44(0x1b9)](_0x29b98a=>({..._0x29b98a,'opacity':_0x56dff3}));}[_0xfef7b(0x1b5)](_0x4819d0){const _0x10e79a=_0xfef7b;return this[_0x10e79a(0x1b9)](_0xd05454=>({..._0xd05454,'dashType':_0x4819d0}));}[_0xfef7b(0x17c)](_0x1d4bb0){const _0x1727f2=_0xfef7b;return this[_0x1727f2(0x1b9)](_0x521c92=>({..._0x521c92,'lineJoinType':_0x1d4bb0}));}[_0xfef7b(0x189)](_0x14a2b8){const _0x57196a=_0xfef7b;return this[_0x57196a(0x1b9)](_0x554395=>({..._0x554395,'capType':_0x14a2b8}));}['setStrokeLineType'](_0xa44c35){const _0x4a4083=_0xfef7b;return this[_0x4a4083(0x1b9)](_0x27a0ee=>({..._0x27a0ee,'lineStrokeType':_0xa44c35}));}[_0xfef7b(0x14c)](_0x2826ec){const _0x3369bf=_0xfef7b;var _0x154227,_0x42f05c,_0x1b333c;let _0x4a858a=_0x2826ec['shapeData'],_0x417c43=_0x4a858a&&(_0x3369bf(0x187)in _0x4a858a||_0x3369bf(0x1bc)in _0x4a858a)?this['getShapeType']():null,_0x4cd86e=(_0x154227=(_0x42f05c=_0x2826ec[_0x3369bf(0x1ec)])==null?(_0x1b333c=_0x2826ec[_0x3369bf(0x153)])==null?void 0x0:_0x1b333c[_0x3369bf(0x1ec)]:_0x42f05c)==null?_0x417c43:_0x154227,_0x821883=F(_0x2826ec,_0x4cd86e!==null&&_0x12601b(_0x4cd86e));return _0x821883?(console[_0x3369bf(0x156)](_0x3369bf(0x1b3)+_0x821883),this):(this[_0x3369bf(0x1c4)]('update',_0x2d2ef1=>_0x2d2ef1[_0x3369bf(0x1c1)](this[_0x3369bf(0x138)],_0x2826ec)),this);}['remove'](){const _0x79dbb0=_0xfef7b;return this['_mutate'](_0x79dbb0(0x1a7),_0x828ed=>_0x828ed[_0x79dbb0(0x15c)](this['_shapeRef']));}[_0xfef7b(0x17d)](){const _0x47beee=_0xfef7b;return this['_mutate'](_0x47beee(0x1a4),_0x356b7d=>_0x356b7d[_0x47beee(0x17d)](this[_0x47beee(0x138)])),this;}[_0xfef7b(0x183)](){const _0x5be049=_0xfef7b;return this[_0x5be049(0x1c4)](_0x5be049(0x14e),_0x1863df=>_0x1863df[_0x5be049(0x183)](this[_0x5be049(0x138)])),this;}['sendBackward'](){const _0x1ddf62=_0xfef7b;return this[_0x1ddf62(0x1c4)](_0x1ddf62(0x1e3),_0x42dcf9=>_0x42dcf9[_0x1ddf62(0x1c0)](this[_0x1ddf62(0x138)])),this;}[_0xfef7b(0x140)](){const _0x39f168=_0xfef7b;return this[_0x39f168(0x1c4)]('send\x20to\x20back',_0x4430a7=>_0x4430a7[_0x39f168(0x140)](this[_0x39f168(0x138)])),this;}[_0xfef7b(0x190)](){const _0x46f3a6=_0xfef7b;return this[_0x46f3a6(0x194)]['get'](_0x10a896)[_0x46f3a6(0x13f)](this[_0x46f3a6(0x138)][_0x46f3a6(0x1d0)]);}[_0xfef7b(0x145)](_0x46fea8,_0x5624e4){const _0x45e3d0=_0xfef7b;let _0x5bd1fd=this['getShapeData']();return _0x5bd1fd?this[_0x45e3d0(0x14c)]({'shapeType':_0x5624e4,'shapeData':_0x46fea8(_0x5bd1fd)}):this;}[_0xfef7b(0x1b9)](_0x51a448){return this['_patchShapeData'](_0x339935=>{const _0x2384c4=_0x310e;var _0x2b7b4e;return{..._0x339935,'stroke':_0x51a448((_0x2b7b4e=_0x339935[_0x2384c4(0x165)])==null?{}:_0x2b7b4e)};});}[_0xfef7b(0x193)](){const _0x3ab5c7=_0xfef7b;let _0x5bc6dc=this['_getAdapter']();if(!_0x5bc6dc)return null;try{return _0x5bc6dc[_0x3ab5c7(0x1a3)](this[_0x3ab5c7(0x138)])||(console[_0x3ab5c7(0x156)](_0x3ab5c7(0x1c5)+this[_0x3ab5c7(0x138)][_0x3ab5c7(0x143)]+_0x3ab5c7(0x1be)),null);}catch(_0xfb41e8){return console[_0x3ab5c7(0x156)](_0x3ab5c7(0x184)+this[_0x3ab5c7(0x138)][_0x3ab5c7(0x143)]+'\x22.',_0xfb41e8),null;}}[_0xfef7b(0x176)](){const _0x2e0f34=_0xfef7b;let _0x35dd80=this['_getSnapshot']();if(!_0x35dd80)return null;try{let _0x4b5912=new _0x4ea37f(_0x35dd80[_0x2e0f34(0x1ec)],_0x35dd80[_0x2e0f34(0x143)],_0x35dd80[_0x2e0f34(0x153)]);return _0x4b5912[_0x2e0f34(0x1b0)]({'width':_0x35dd80[_0x2e0f34(0x171)][_0x2e0f34(0x15a)],'height':_0x35dd80['transform'][_0x2e0f34(0x1f5)]}),_0x4b5912;}catch(_0x37fef5){return console['warn'](_0x2e0f34(0x15e)+this[_0x2e0f34(0x138)]['shapeId']+'\x22.',_0x37fef5),null;}}[_0xfef7b(0x1c4)](_0x32e300,_0x9060){const _0x27632a=_0xfef7b;let _0xc4ceab=this[_0x27632a(0x190)]();if(!_0xc4ceab)return!0x1;try{let _0x316d4f=_0x9060(_0xc4ceab);return _0x316d4f||console[_0x27632a(0x156)](_0x27632a(0x19c)+_0x32e300+_0x27632a(0x1f4)+this[_0x27632a(0x138)][_0x27632a(0x143)]+'\x22.'),_0x316d4f;}catch(_0x4234f8){return console[_0x27632a(0x156)](_0x27632a(0x19c)+_0x32e300+'\x20Shape\x20\x22'+this[_0x27632a(0x138)][_0x27632a(0x143)]+'\x22.',_0x4234f8),!0x1;}}};function _0x310e(_0x42720c,_0x4a4991){_0x42720c=_0x42720c-0x138;const _0x4169f6=_0x4169();let _0x310e59=_0x4169f6[_0x42720c];return _0x310e59;}function F(_0x1ed5b9,_0x4d5aff=!0x1){const _0x38d8b0=_0xfef7b;for(let _0x27a881 of[_0x38d8b0(0x1ab),_0x38d8b0(0x164)]){let _0x5a9073=_0x1ed5b9[_0x27a881];if(_0x5a9073!==void 0x0&&typeof _0x5a9073!=_0x38d8b0(0x202))return _0x38d8b0(0x1e9)+_0x27a881+_0x38d8b0(0x151);}let _0x1d4eff=_0x1ed5b9[_0x38d8b0(0x171)];if(_0x1d4eff){for(let _0x559f6c of['left',_0x38d8b0(0x1a6),_0x38d8b0(0x15a),_0x38d8b0(0x1f5),_0x38d8b0(0x1da)]){let _0x5c198b=_0x1d4eff[_0x559f6c];if(_0x5c198b!==void 0x0&&!Number[_0x38d8b0(0x166)](_0x5c198b))return'Shape\x20transform\x20\x22'+_0x559f6c+_0x38d8b0(0x1bb);}if(_0x1d4eff[_0x38d8b0(0x15a)]!==void 0x0&&_0x1d4eff[_0x38d8b0(0x15a)]<=0x0)return _0x38d8b0(0x1a1);if(_0x1d4eff[_0x38d8b0(0x1f5)]!==void 0x0&&_0x1d4eff[_0x38d8b0(0x1f5)]<=0x0)return _0x38d8b0(0x17f);for(let _0x253f8b of[_0x38d8b0(0x16a),_0x38d8b0(0x1e0)]){let _0x43012e=_0x1d4eff[_0x253f8b];if(_0x43012e!==void 0x0&&typeof _0x43012e!=_0x38d8b0(0x202))return _0x38d8b0(0x197)+_0x253f8b+'\x22\x20must\x20be\x20boolean.';}}let _0x13e39d=_0x1ed5b9['shapeData'];return!_0x4d5aff&&_0x13e39d&&(_0x38d8b0(0x187)in _0x13e39d||'points'in _0x13e39d)?_0x38d8b0(0x19b):null;}var I=class extends P{[_0xfef7b(0x1fa)](){return!0x0;}[_0xfef7b(0x1d2)](){const _0x3500c5=_0xfef7b;let _0x10d598=this['_getConnectorSnapshot']();return _0x10d598?_0x50fd2b['deepClone'](_0x10d598[_0x3500c5(0x1f0)]):null;}[_0xfef7b(0x188)](){const _0x7116b8=_0xfef7b;let _0x1e5989=this[_0x7116b8(0x150)]();return _0x1e5989?_0x50fd2b['deepClone'](_0x1e5989[_0x7116b8(0x1b6)]):null;}[_0xfef7b(0x19e)](){const _0x57c324=_0xfef7b;let _0x4af87f=this[_0x57c324(0x150)]();return _0x4af87f?_0x50fd2b['deepClone'](_0x4af87f[_0x57c324(0x172)]):null;}[_0xfef7b(0x1c8)](){const _0x2b9b37=_0xfef7b;let _0x2ddfe=this['_getConnectorSnapshot']();return _0x2ddfe?_0x50fd2b[_0x2b9b37(0x14d)](_0x2ddfe['startArrow']):null;}[_0xfef7b(0x1e1)](){const _0xd4cff1=_0xfef7b;let _0x686e63=this[_0xd4cff1(0x150)]();return _0x686e63?_0x50fd2b[_0xd4cff1(0x14d)](_0x686e63['endArrow']):null;}[_0xfef7b(0x1ac)](_0xb5f140){const _0x2ce2f6=_0xfef7b;return _0x12601b(_0xb5f140)?super[_0x2ce2f6(0x1ac)](_0xb5f140):(console[_0x2ce2f6(0x156)]('[Shape\x20Facade]:\x20Connector\x20Shape\x20\x22'+this[_0x2ce2f6(0x138)][_0x2ce2f6(0x143)]+_0x2ce2f6(0x13a)),this);}['setShapeData'](_0x3fc67e){const _0x49f581=_0xfef7b;return _0x3fc67e[_0x49f581(0x1ec)]!==void 0x0&&!_0x12601b(_0x3fc67e[_0x49f581(0x1ec)])?(console['warn'](_0x49f581(0x1b1)+this[_0x49f581(0x138)][_0x49f581(0x143)]+_0x49f581(0x1dd)),this):super[_0x49f581(0x1c3)](_0x3fc67e);}['bindStart'](_0x809674,_0x5a7e1a){const _0x2721c4=_0xfef7b;return this[_0x2721c4(0x179)]('start',_0x809674,_0x5a7e1a),this;}[_0xfef7b(0x139)](_0x505c4a,_0x345409){const _0x45d7a1=_0xfef7b;return this[_0x45d7a1(0x179)](_0x45d7a1(0x1b6),_0x505c4a,_0x345409),this;}[_0xfef7b(0x1e5)](){const _0x166b11=_0xfef7b;return this[_0x166b11(0x149)](_0x166b11(0x18d),_0x4fad36=>_0x4fad36[_0x166b11(0x1e5)](this['_shapeRef'])),this;}[_0xfef7b(0x18b)](){const _0x2665ba=_0xfef7b;return this[_0x2665ba(0x149)](_0x2665ba(0x198),_0x401a80=>_0x401a80['unbindEnd'](this[_0x2665ba(0x138)])),this;}[_0xfef7b(0x1b4)](_0x153d8f){const _0x3b389a=_0xfef7b;return L(_0x153d8f,this[_0x3b389a(0x138)][_0x3b389a(0x143)])&&this['_mutateConnector']('set\x20start\x20point',_0x3fc580=>_0x3fc580[_0x3b389a(0x1b4)](this[_0x3b389a(0x138)],_0x153d8f)),this;}['setEndPoint'](_0x52eae6){const _0x3bb10a=_0xfef7b;return L(_0x52eae6,this[_0x3bb10a(0x138)][_0x3bb10a(0x143)])&&this[_0x3bb10a(0x149)]('set\x20end\x20point',_0x4c62c6=>_0x4c62c6[_0x3bb10a(0x19f)](this[_0x3bb10a(0x138)],_0x52eae6)),this;}[_0xfef7b(0x1b7)](_0xb4acd7){const _0x42b675=_0xfef7b;return _0xb4acd7[_0x42b675(0x1f2)](_0x12c25c=>L(_0x12c25c,this[_0x42b675(0x138)][_0x42b675(0x143)]))&&this[_0x42b675(0x149)](_0x42b675(0x158),_0x2ffe2a=>_0x2ffe2a[_0x42b675(0x1b7)](this[_0x42b675(0x138)],_0xb4acd7)),this;}[_0xfef7b(0x1d3)](_0x100200,_0x59e3c8){const _0x7ed284=_0xfef7b;return this[_0x7ed284(0x149)](_0x7ed284(0x192),_0x4ad205=>_0x4ad205[_0x7ed284(0x1d3)](this[_0x7ed284(0x138)],_0x100200,_0x59e3c8)),this;}[_0xfef7b(0x1d5)](_0x2d1833,_0x51f329){const _0x586439=_0xfef7b;return this['_mutateConnector'](_0x586439(0x1cb),_0x24c431=>_0x24c431['setEndArrow'](this[_0x586439(0x138)],_0x2d1833,_0x51f329)),this;}[_0xfef7b(0x1e2)](){const _0x56d67e=_0xfef7b;return this[_0x56d67e(0x194)][_0x56d67e(0x13f)](_0x34e471);}['_getConnectorSnapshot'](){const _0x45e774=_0xfef7b;let _0x2b091b=this[_0x45e774(0x1e2)]();if(!_0x2b091b)return null;try{return _0x2b091b['getConnector'](this[_0x45e774(0x138)])||(console['warn'](_0x45e774(0x1b1)+this[_0x45e774(0x138)][_0x45e774(0x143)]+'\x22\x20was\x20not\x20found.'),null);}catch(_0x41a662){return console[_0x45e774(0x156)](_0x45e774(0x169)+this[_0x45e774(0x138)]['shapeId']+'\x22.',_0x41a662),null;}}[_0xfef7b(0x179)](_0x125af6,_0x426680,_0x3fb9de){const _0x16a804=_0xfef7b;if(!_0x426680||!Number[_0x16a804(0x18e)](_0x3fb9de)||_0x3fb9de<0x0)return console[_0x16a804(0x156)](_0x16a804(0x1d6)+this['_shapeRef'][_0x16a804(0x143)]+_0x16a804(0x1c9)),!0x1;let _0x3dc6d4={'shapeId':_0x426680,'cxnIndex':_0x3fb9de};return this[_0x16a804(0x149)](_0x16a804(0x1ef)+_0x125af6,_0x46d2b6=>_0x125af6===_0x16a804(0x1f0)?_0x46d2b6[_0x16a804(0x1ca)](this['_shapeRef'],_0x3dc6d4):_0x46d2b6['bindEnd'](this[_0x16a804(0x138)],_0x3dc6d4));}[_0xfef7b(0x149)](_0xe2083f,_0x3caa5f){const _0x50b401=_0xfef7b;let _0x4c758e=this[_0x50b401(0x1e2)]();if(!_0x4c758e)return!0x1;try{let _0xc93f04=_0x3caa5f(_0x4c758e);return _0xc93f04||console[_0x50b401(0x156)](_0x50b401(0x19c)+_0xe2083f+_0x50b401(0x1fb)+this[_0x50b401(0x138)][_0x50b401(0x143)]+'\x22.'),_0xc93f04;}catch(_0x15bc76){return console[_0x50b401(0x156)]('[Shape\x20Facade]:\x20Failed\x20to\x20'+_0xe2083f+_0x50b401(0x1fb)+this['_shapeRef']['shapeId']+'\x22.',_0x15bc76),!0x1;}}};function L(_0x20042d,_0x2d306c){const _0x24cf42=_0xfef7b;return!Number[_0x24cf42(0x166)](_0x20042d['x'])||!Number['isFinite'](_0x20042d['y'])?(console[_0x24cf42(0x156)](_0x24cf42(0x1d6)+_0x2d306c+_0x24cf42(0x1a2)),!0x1):!0x0;}export{I as FConnectorShape,P as FShape,N as FShapeText};
|