@univerjs-pro/engine-shape 1.0.0-alpha.4 → 1.0.0-alpha.6
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/umd/facade.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
function _0x2afc(_0x34beb6,_0x1c174a){_0x34beb6=_0x34beb6-0x6f;const _0x411f06=_0x411f();let _0x2afccf=_0x411f06[_0x34beb6];return _0x2afccf;}function _0x411f(){const _0x2491c2=['UniverProEngineShapeFacade','ShapeFillEnum','setVerticalAlign','color','updateShape','isConnectorShape','getAdjustPoints','5255341SlGwVq','ShapeLineDashEnum','setSelectable','bindEnd','setStrokeLineCapType','bring\x20forward','getStartArrow','setShapeData','boolean','bind\x20','remove','IShapeHostAdapterRegistry','set\x20end\x20arrow','setStrokeColor','isInteger','[Shape\x20Facade]:\x20Connector\x20Shape\x20\x22','height','getShapeType','setName','getConnector','setHorizontalAlign','getEndArrow','angular','ShapeTextAutoFitType','60oPTqAf','ShapeArrowSizeEnum','diamond','isVisible','bringToFront','setColor','ShapeTextWrapType','ShapeLineCapEnum','UniverProEngineShape','getConnectionSites','getStartConnectInfo','setStrikethrough','updateContext','240418BJMteD','\x22\x20must\x20be\x20boolean.','getPlainText','unbindEnd','resolveShapeTextBoxOptions','PictureFill','setStrokeWidth','visible','setItalic','setImageFill','_getAdapter','applyRichTextToShapeText','map','warn','description','toStringTag','shapeId','setRoutePoints','[Shape\x20Facade]:\x20Failed\x20to\x20read\x20Connector\x20Shape\x20\x22','shapeTextToRichTextValue','removeShape','ShapeImageFillModeEnum','setDescription','_injector','Tile','setTextStyle','flipX','[Shape\x20Text\x20Facade]:\x20Failed\x20to\x20read\x20Shape\x20\x22','isFinite','1087889kROuZX','toPlainText','applyShapeTextAlignment','setFontSize','@univerjs-pro/engine-shape','deepClone','set\x20start\x20arrow','stretch','[Shape\x20Facade]:\x20Connector\x20\x22','Diamond','Shape\x20height\x20must\x20be\x20greater\x20than\x20zero.','Shape\x20width\x20must\x20be\x20greater\x20than\x20zero.','ShapeTextDirection','set\x20start\x20point','getEndConnectInfo','sendToBack','sendBackward','getCustomGeometry','Shape\x20transform\x20\x22','\x22\x20text.','_bind','ShapeOperatorEnum','438660JqzeOI','offsetY','setVisible','FShape','routePoints','lineStrokeType','[Shape\x20Facade]:\x20Failed\x20to\x20resolve\x20geometry\x20for\x20Shape\x20\x22','ShapeTypeEnum','getRichText','setStrokeLineType','start','isCustomShape','getText','setShapeType','TRUE','amd','send\x20backward','\x22\x20was\x20not\x20found.','points','offsetX','BooleanNumber','32aOyQaC','Angular','NoLine','shapeData','setStartPoint','setStartArrow','\x22\x20requires\x20a\x20Connector\x20Shape\x20type.','SolidFill','UniverCore','URL','none','48810FdeDSp','setCustomGeometry','set\x20route\x20points','linear','setRichText','getSnapshot','Radial','IConnectorShapeHostAdapter','Shape\x20\x22','gradient','ShapeModel','setEndArrow','unbind\x20end','[Shape\x20Facade]:\x20','@univerjs/core','unbindStart','customGeometry','@univerjs/core/facade','bringForward','getRoutePoints','setRotation','transform','SolidLine','ShapeLineJoinEnum','ImageSourceTypeEnum','_updateShapeData','every','_getSnapshot','setGradientFill','UniverCoreFacade','[Shape\x20Facade]:\x20Failed\x20to\x20','hostType','top','_shapeRef','Module','_getConnectorSnapshot','_patchShapeData','set\x20end\x20point','setStrokeLineDashType','NoFill','ShapeGradientTypeEnum','update','_patchStroke','length','ShapeLineTypeEnum','getShapeData','startArrow','rotation','setUnderline','defineProperty','FALSE','scaleX','getConnectionSiteList','setSolidFill','[Shape\x20Text\x20Facade]:\x20Shape\x20\x22','applyShapeTextStyle','extend','get','2OgWUcG','_mutateConnector','setStroke','getEndEndpoint','radial','shapeText','Linear','_getConnectorAdapter','\x22\x20requires\x20Connector\x20Shape\x20data.','isCustom','setTextBoxOptions','mode','object','_mutate','2789996XwniQo','tile','186iVCFia','setFontFamily','GradientFill','setAbsolutePosition','setNoneFill','\x20Connector\x20Shape\x20\x22','stroke','applyShapeTextBoxOptions','[Shape\x20Text\x20Facade]:\x20Failed\x20to\x20update\x20Shape\x20\x22','_getGeometryModel','getShape','bindStart','ShapeArrowTypeEnum','scaleY','getStartEndpoint','[Shape\x20Facade]:\x20Shape\x20\x22','setEndPoint','flipY','FShapeText','shapeType','relation','name','end','751275rZNEbZ','setTransform','width','_getShapeData','ImageFillModeEnum','FConnectorShape','[Shape\x20Facade]:\x20Gradient\x20fill\x20requires\x20at\x20least\x20two\x20color\x20stops.','Tools','exports','left','\x20Shape\x20\x22'];_0x411f=function(){return _0x2491c2;};return _0x411f();}(function(_0x1dd449,_0xd4e37e){const _0x3b2184=_0x2afc,_0x491374=_0x1dd449();while(!![]){try{const _0x34a314=-parseInt(_0x3b2184(0x118))/0x1*(parseInt(_0x3b2184(0x8b))/0x2)+parseInt(_0x3b2184(0x13f))/0x3+-parseInt(_0x3b2184(0x126))/0x4+parseInt(_0x3b2184(0xde))/0x5*(-parseInt(_0x3b2184(0x128))/0x6)+parseInt(_0x3b2184(0x151))/0x7+-parseInt(_0x3b2184(0xd3))/0x8*(-parseInt(_0x3b2184(0xbe))/0x9)+parseInt(_0x3b2184(0x7e))/0xa*(parseInt(_0x3b2184(0xa8))/0xb);if(_0x34a314===_0xd4e37e)break;else _0x491374['push'](_0x491374['shift']());}catch(_0x576c6c){_0x491374['push'](_0x491374['shift']());}}}(_0x411f,0x8608b),function(_0x2b411d,_0x288f88){const _0xc622f2=_0x2afc;typeof exports==_0xc622f2(0x124)&&typeof module<'u'?_0x288f88(exports,require('@univerjs-pro/engine-shape'),require('@univerjs/core/facade'),require('@univerjs/core')):typeof define=='function'&&define[_0xc622f2(0xcd)]?define([_0xc622f2(0x147),_0xc622f2(0xac),_0xc622f2(0xef),_0xc622f2(0xec)],_0x288f88):(_0x2b411d=typeof globalThis<'u'?globalThis:_0x2b411d||self,_0x288f88(_0x2b411d[_0xc622f2(0x14a)]={},_0x2b411d[_0xc622f2(0x86)],_0x2b411d[_0xc622f2(0xfb)],_0x2b411d[_0xc622f2(0xdb)]));}(this,function(_0x47863a,_0x284558,_0xd11add,_0x10e1c2){const _0x16483e=_0x2afc;Object[_0x16483e(0x10f)](_0x47863a,Symbol[_0x16483e(0x9a)],{'value':_0x16483e(0x100)});var _0x2655b5=class extends _0xd11add['FEnum']{get[_0x16483e(0xc5)](){const _0x4c0d28=_0x16483e;return _0x284558[_0x4c0d28(0xc5)];}get[_0x16483e(0x14b)](){const _0x582711=_0x16483e;return _0x284558[_0x582711(0x14b)];}get[_0x16483e(0x106)](){const _0x452534=_0x16483e;return _0x284558[_0x452534(0x106)];}get[_0x16483e(0xa0)](){const _0x5ab111=_0x16483e;return _0x284558[_0x5ab111(0x143)];}get['ShapeImageSourceTypeEnum'](){const _0x4ba7fb=_0x16483e;return _0x284558[_0x4ba7fb(0xf6)];}get[_0x16483e(0x10a)](){const _0x213b3e=_0x16483e;return _0x284558[_0x213b3e(0x10a)];}get[_0x16483e(0x152)](){const _0x7c071=_0x16483e;return _0x284558[_0x7c071(0x152)];}get[_0x16483e(0x85)](){const _0x5e8f96=_0x16483e;return _0x284558[_0x5e8f96(0x85)];}get[_0x16483e(0xf5)](){const _0x5ac6f0=_0x16483e;return _0x284558[_0x5ac6f0(0xf5)];}get['ShapeOperatorEnum'](){const _0x4889f9=_0x16483e;return _0x284558[_0x4889f9(0xbd)];}get[_0x16483e(0x134)](){const _0x488897=_0x16483e;return _0x284558[_0x488897(0x134)];}get[_0x16483e(0x7f)](){const _0x3d7ed3=_0x16483e;return _0x284558[_0x3d7ed3(0x7f)];}get[_0x16483e(0x7d)](){const _0x2488b5=_0x16483e;return _0x284558[_0x2488b5(0x7d)];}get[_0x16483e(0xb4)](){const _0x5b3c4b=_0x16483e;return _0x284558[_0x5b3c4b(0xb4)];}get[_0x16483e(0x84)](){const _0x6ddd6b=_0x16483e;return _0x284558[_0x6ddd6b(0x84)];}};_0xd11add['FEnum'][_0x16483e(0x116)](_0x2655b5);function _0x519ac1(_0x44dfd6){const _0x62e586=_0x16483e;switch(_0x44dfd6){case _0x284558[_0x62e586(0x106)][_0x62e586(0xe4)]:return _0x62e586(0x11c);case _0x284558['ShapeGradientTypeEnum'][_0x62e586(0xd4)]:return _0x62e586(0x7c);case _0x284558[_0x62e586(0x106)][_0x62e586(0xb1)]:return _0x62e586(0x80);case _0x284558[_0x62e586(0x106)][_0x62e586(0x11e)]:default:return _0x62e586(0xe1);}}function _0x330669(_0x1c19db){const _0x4ebc4e=_0x16483e;return _0x1c19db===_0x284558[_0x4ebc4e(0x143)][_0x4ebc4e(0xa3)]?_0x4ebc4e(0x127):_0x4ebc4e(0xaf);}var _0x2be089=class{constructor(_0x2e6aed,_0x56872c){const _0x3106ea=_0x16483e;this[_0x3106ea(0xff)]=_0x2e6aed,this[_0x3106ea(0xa2)]=_0x56872c;}[_0x16483e(0xc6)](){const _0x50c027=_0x16483e;var _0x24b859;return(0x0,_0x284558[_0x50c027(0x9e)])((_0x24b859=this[_0x50c027(0x142)]())==null?void 0x0:_0x24b859[_0x50c027(0x11d)]);}[_0x16483e(0x8d)](){const _0x5d2b46=_0x16483e;var _0x2bcb3b,_0x150fe2;return(_0x2bcb3b=(_0x150fe2=this[_0x5d2b46(0xc6)]())==null?void 0x0:_0x150fe2[_0x5d2b46(0xa9)]())==null?null:_0x2bcb3b;}[_0x16483e(0xe2)](_0x49700f){const _0x5c391d=_0x16483e;return this[_0x5c391d(0xf7)](_0x179381=>({..._0x179381,'shapeText':(0x0,_0x284558[_0x5c391d(0x96)])(_0x179381[_0x5c391d(0x11d)],_0x49700f)})),this;}['setText'](_0x9c03a0){const _0x225bc8=_0x16483e;return this['_updateShapeData'](_0x518b2a=>({..._0x518b2a,'shapeText':(0x0,_0x284558['applyTextToShapeText'])(_0x518b2a[_0x225bc8(0x11d)],_0x9c03a0)})),this;}[_0x16483e(0xa4)](_0x3e2bda){const _0x22452a=_0x16483e;return this['_updateShapeData'](_0x4dd446=>({..._0x4dd446,'shapeText':(0x0,_0x284558[_0x22452a(0x115)])(_0x4dd446['shapeText'],_0x3e2bda)})),this;}[_0x16483e(0x83)](_0x30d87b,_0x16fafc){const _0x359aae=_0x16483e;return this[_0x359aae(0xa4)]({'cl':{'rgb':_0x30d87b},'textFill':{'type':'solid','color':_0x30d87b,'opacity':_0x16fafc}});}[_0x16483e(0x12c)](){const _0xd82e37=_0x16483e;return this[_0xd82e37(0xa4)]({'cl':{'rgb':'rgba(0,\x200,\x200,\x200)'},'textFill':{'type':_0xd82e37(0xdd)}});}[_0x16483e(0xfa)](_0x144e67,_0xa1edc0,_0x1e1b23){const _0xa5d7ad=_0x16483e;return _0xa1edc0[_0xa5d7ad(0x109)]<0x2?(console[_0xa5d7ad(0x98)]('[Shape\x20Text\x20Facade]:\x20Gradient\x20text\x20fill\x20requires\x20at\x20least\x20two\x20color\x20stops.'),this):this[_0xa5d7ad(0xa4)]({'cl':{'rgb':_0xa1edc0[0x0][_0xa5d7ad(0x14d)]},'textFill':{'type':_0xa5d7ad(0xe7),'gradient':{'type':_0x519ac1(_0x144e67),'angle':_0x1e1b23,'stops':_0xa1edc0[_0xa5d7ad(0x97)](({position:_0x285b0b,color:_0x45e731,opacity:_0x4a4c73})=>({'offset':_0x285b0b,'color':_0x45e731,'opacity':_0x4a4c73}))}}});}[_0x16483e(0x94)](_0x3b09ea,_0x11e616=_0x284558['ImageSourceTypeEnum'][_0x16483e(0xdc)],_0x190933={}){const _0x255aa7=_0x16483e;return this[_0x255aa7(0xa4)]({'textFill':{'type':'picture','picture':{'source':_0x3b09ea,'sourceType':_0x11e616,'opacity':_0x190933['opacity'],'mode':_0x330669(_0x190933[_0x255aa7(0x123)]),'scaleX':_0x190933[_0x255aa7(0x111)],'scaleY':_0x190933[_0x255aa7(0x135)],'offsetX':_0x190933[_0x255aa7(0xd1)],'offsetY':_0x190933[_0x255aa7(0xbf)]}}});}[_0x16483e(0xab)](_0x38ca13){const _0x3da1b7=_0x16483e;return this[_0x3da1b7(0xa4)]({'fs':_0x38ca13});}[_0x16483e(0x129)](_0x379031){const _0x463d09=_0x16483e;return this[_0x463d09(0xa4)]({'ff':_0x379031});}['setBold'](_0x4eaa67){const _0x97c4bc=_0x16483e;return this[_0x97c4bc(0xa4)]({'bl':_0x4eaa67?_0x10e1c2[_0x97c4bc(0xd2)]['TRUE']:_0x10e1c2[_0x97c4bc(0xd2)][_0x97c4bc(0x110)]});}[_0x16483e(0x93)](_0x164e50){const _0x186446=_0x16483e;return this[_0x186446(0xa4)]({'it':_0x164e50?_0x10e1c2[_0x186446(0xd2)]['TRUE']:_0x10e1c2[_0x186446(0xd2)][_0x186446(0x110)]});}[_0x16483e(0x10e)](_0x3bbd48){const _0x5c785f=_0x16483e;return this['setTextStyle']({'ul':{'s':_0x3bbd48?_0x10e1c2[_0x5c785f(0xd2)][_0x5c785f(0xcc)]:_0x10e1c2[_0x5c785f(0xd2)]['FALSE']}});}[_0x16483e(0x89)](_0x4feb9f){const _0x4df7c5=_0x16483e;return this[_0x4df7c5(0xa4)]({'st':{'s':_0x4feb9f?_0x10e1c2[_0x4df7c5(0xd2)]['TRUE']:_0x10e1c2[_0x4df7c5(0xd2)][_0x4df7c5(0x110)]}});}[_0x16483e(0x7a)](_0xef863c){const _0x610cd3=_0x16483e;return this[_0x610cd3(0xf7)](_0x108f01=>(0x0,_0x284558['applyShapeTextAlignment'])(_0x108f01,{'horizontalAlign':_0xef863c})),this;}[_0x16483e(0x14c)](_0x2d5b0d){const _0x2f2ab2=_0x16483e;return this[_0x2f2ab2(0xf7)](_0x1e242c=>(0x0,_0x284558[_0x2f2ab2(0xaa)])(_0x1e242c,{'verticalAlign':_0x2d5b0d})),this;}['getTextBoxOptions'](){const _0x5c5186=_0x16483e;let _0x51c512=this[_0x5c5186(0x142)]();return _0x51c512?(0x0,_0x284558[_0x5c5186(0x8f)])(_0x51c512):null;}[_0x16483e(0x122)](_0x2c91c3){const _0x42ed2c=_0x16483e;return this[_0x42ed2c(0xf7)](_0x381c35=>(0x0,_0x284558[_0x42ed2c(0x12f)])(_0x381c35,_0x2c91c3)),this;}[_0x16483e(0x95)](){const _0x17d64f=_0x16483e;return this[_0x17d64f(0xa2)][_0x17d64f(0x117)](_0x284558[_0x17d64f(0x71)])[_0x17d64f(0x117)](this[_0x17d64f(0xff)][_0x17d64f(0xfd)]);}[_0x16483e(0x142)](){const _0x52dd98=_0x16483e;let _0x375c8a=this[_0x52dd98(0x95)]();if(!_0x375c8a)return null;try{var _0x1ed600;return((_0x1ed600=_0x375c8a[_0x52dd98(0x132)](this['_shapeRef']))==null?void 0x0:_0x1ed600['shapeData'])||(console[_0x52dd98(0x98)](_0x52dd98(0x114)+this[_0x52dd98(0xff)]['shapeId']+'\x22\x20was\x20not\x20found.'),null);}catch(_0x282167){return console[_0x52dd98(0x98)](_0x52dd98(0xa6)+this[_0x52dd98(0xff)][_0x52dd98(0x9b)]+_0x52dd98(0xbb),_0x282167),null;}}['_updateShapeData'](_0x4d18ba){const _0x23d5a2=_0x16483e;let _0xad56cc=this[_0x23d5a2(0x95)]();if(!_0xad56cc)return!0x1;try{var _0x4ed0f7;let _0x5014ca=(_0x4ed0f7=_0xad56cc[_0x23d5a2(0x132)](this[_0x23d5a2(0xff)]))==null?void 0x0:_0x4ed0f7[_0x23d5a2(0xd6)];if(!_0x5014ca)return console[_0x23d5a2(0x98)]('[Shape\x20Text\x20Facade]:\x20Shape\x20\x22'+this[_0x23d5a2(0xff)][_0x23d5a2(0x9b)]+_0x23d5a2(0xcf)),!0x1;let _0x46a2b9=_0xad56cc[_0x23d5a2(0x14e)](this[_0x23d5a2(0xff)],{'shapeData':_0x4d18ba(_0x5014ca)});return _0x46a2b9||console[_0x23d5a2(0x98)](_0x23d5a2(0x130)+this[_0x23d5a2(0xff)][_0x23d5a2(0x9b)]+'\x22\x20text.'),_0x46a2b9;}catch(_0x4c1fe0){return console[_0x23d5a2(0x98)](_0x23d5a2(0x130)+this[_0x23d5a2(0xff)][_0x23d5a2(0x9b)]+_0x23d5a2(0xbb),_0x4c1fe0),!0x1;}}},_0x44cffa=class extends _0xd11add['FBase']{constructor(_0x297fef,_0x282e48){const _0x11ede3=_0x16483e;super(),this[_0x11ede3(0xff)]=_0x297fef,this[_0x11ede3(0xa2)]=_0x282e48;}[_0x16483e(0x14f)](){return!0x1;}['getId'](){const _0x549470=_0x16483e;return this['_shapeRef'][_0x549470(0x9b)];}['getName'](){const _0x5afaca=_0x16483e;var _0x39e934;return(_0x39e934=this[_0x5afaca(0xf9)]())==null?void 0x0:_0x39e934[_0x5afaca(0x13d)];}[_0x16483e(0x78)](_0x702556){return this['update']({'name':_0x702556});}['getDescription'](){const _0x1c4dbe=_0x16483e;var _0x28adf5;return(_0x28adf5=this['_getSnapshot']())==null?void 0x0:_0x28adf5[_0x1c4dbe(0x99)];}[_0x16483e(0xa1)](_0x544212){const _0x450fa4=_0x16483e;return this[_0x450fa4(0x107)]({'description':_0x544212});}['getHostType'](){const _0x45a527=_0x16483e;return this[_0x45a527(0xff)][_0x45a527(0xfd)];}[_0x16483e(0x77)](){const _0x51bb2c=_0x16483e;var _0x51e6a9,_0x1e7b9d;return(_0x51e6a9=(_0x1e7b9d=this[_0x51bb2c(0xf9)]())==null?void 0x0:_0x1e7b9d[_0x51bb2c(0x13b)])==null?null:_0x51e6a9;}[_0x16483e(0x10b)](){const _0x265ad4=_0x16483e;let _0x36c2fc=this['_getSnapshot']();return _0x36c2fc?_0x10e1c2['Tools'][_0x265ad4(0xad)](_0x36c2fc[_0x265ad4(0xd6)]):null;}[_0x16483e(0xe3)](){const _0x4944ca=_0x16483e;let _0x70f610=this[_0x4944ca(0xf9)]();return _0x70f610?_0x10e1c2[_0x4944ca(0x146)][_0x4944ca(0xad)](_0x70f610):null;}['getTransform'](){const _0x683332=_0x16483e;let _0x511a36=this[_0x683332(0xf9)]();return _0x511a36?{..._0x511a36[_0x683332(0xf3)]}:null;}[_0x16483e(0x81)](){const _0x378e86=_0x16483e;var _0x43395e,_0x4241b3;return(_0x43395e=(_0x4241b3=this[_0x378e86(0xf9)]())==null?void 0x0:_0x4241b3[_0x378e86(0x92)])==null?!0x1:_0x43395e;}[_0x16483e(0xc0)](_0x2b2332){const _0x593767=_0x16483e;return this[_0x593767(0x107)]({'visible':_0x2b2332});}['isSelectable'](){const _0x5e4f82=_0x16483e;var _0x5e89c8,_0x522118;return(_0x5e89c8=(_0x522118=this[_0x5e4f82(0xf9)]())==null?void 0x0:_0x522118['selectable'])==null?!0x1:_0x5e89c8;}[_0x16483e(0x153)](_0x101544){const _0x18fb72=_0x16483e;return this[_0x18fb72(0x107)]({'selectable':_0x101544});}[_0x16483e(0xca)](){const _0x249b14=_0x16483e;return this['_injector']['createInstance'](_0x2be089,this[_0x249b14(0xff)],this['_injector']);}[_0x16483e(0xc9)](){const _0x4d91a0=_0x16483e;let _0xd43ba2=this[_0x4d91a0(0x10b)]();return(_0xd43ba2==null?void 0x0:_0xd43ba2[_0x4d91a0(0x121)])===!0x0&&!!_0xd43ba2[_0x4d91a0(0xee)];}[_0x16483e(0xb9)](){const _0x4cbbf9=_0x16483e;var _0x522ccf,_0x28706d;return(_0x522ccf=(_0x28706d=this[_0x4cbbf9(0x10b)]())==null?void 0x0:_0x28706d[_0x4cbbf9(0xee)])==null?null:_0x522ccf;}[_0x16483e(0xcb)](_0x4db853){const _0x321997=_0x16483e;return this[_0x321997(0x102)](_0x1aca8c=>({..._0x1aca8c,'shapeType':_0x4db853}),_0x4db853);}[_0x16483e(0x158)](_0x25ffab){const _0x52126f=_0x16483e;let _0x43c86f=_0x10e1c2['Tools'][_0x52126f(0xad)](_0x25ffab);return this[_0x52126f(0x107)]({'shapeType':_0x43c86f['shapeType'],'shapeData':_0x43c86f});}[_0x16483e(0x140)](_0x107e65){const _0x13b7f7=_0x16483e;return this[_0x13b7f7(0x107)]({'transform':_0x107e65});}['setSize'](_0x99b26f,_0x431534){const _0x30c1f9=_0x16483e;return this[_0x30c1f9(0x140)]({'width':_0x99b26f,'height':_0x431534});}[_0x16483e(0xf2)](_0x4b2e2b){const _0x31faf9=_0x16483e;return this[_0x31faf9(0x140)]({'rotation':_0x4b2e2b});}[_0x16483e(0x12b)](_0x453aa7,_0x4854a0){const _0x22631a=_0x16483e;return this[_0x22631a(0x140)]({'left':_0x453aa7,'top':_0x4854a0});}[_0x16483e(0xdf)](_0x5c6d9e){const _0x43e18d=_0x16483e;let _0x99da6c=_0x10e1c2[_0x43e18d(0x146)][_0x43e18d(0xad)](_0x5c6d9e);return this[_0x43e18d(0x102)](_0x55189e=>({..._0x55189e,'isCustom':!0x0,'customGeometry':_0x99da6c}));}[_0x16483e(0x87)](){const _0x2e544a=_0x16483e;var _0x5502a8,_0x4270f8;return(_0x5502a8=(_0x4270f8=this[_0x2e544a(0x131)]())==null?void 0x0:_0x4270f8[_0x2e544a(0x112)]()[_0x2e544a(0x97)](_0x586237=>({..._0x586237})))==null?[]:_0x5502a8;}[_0x16483e(0x150)](){const _0x318bda=_0x16483e;var _0x5729bc,_0x531704;return(_0x5729bc=(_0x531704=this[_0x318bda(0x131)]())==null?void 0x0:_0x531704['getDrawingPoints']()[_0x318bda(0x97)](_0x1e3a45=>({..._0x1e3a45})))==null?[]:_0x5729bc;}[_0x16483e(0x88)](){const _0x2ccd13=_0x16483e;var _0x5e77b0;let _0x4c223b=(_0x5e77b0=this['_getGeometryModel']())==null?void 0x0:_0x5e77b0[_0x2ccd13(0x88)]();return _0x4c223b?{..._0x4c223b}:null;}['getEndConnectInfo'](){const _0x4661b4=_0x16483e;var _0x217571;let _0x3de4ba=(_0x217571=this[_0x4661b4(0x131)]())==null?void 0x0:_0x217571[_0x4661b4(0xb6)]();return _0x3de4ba?{..._0x3de4ba}:null;}[_0x16483e(0x113)](_0x53d682,_0x5a08e6){const _0x5395ea=_0x16483e;return this[_0x5395ea(0x102)](_0x55531c=>({..._0x55531c,'fill':{'fillType':_0x284558[_0x5395ea(0x14b)][_0x5395ea(0xda)],'color':_0x53d682,'opacity':_0x5a08e6}}));}[_0x16483e(0xfa)](_0x39fcba,_0x53e7a8,_0x17ed75){const _0x3ea436=_0x16483e;return _0x53e7a8[_0x3ea436(0x109)]<0x2?(console['warn'](_0x3ea436(0x145)),this):this[_0x3ea436(0x102)](_0x5370e4=>({..._0x5370e4,'fill':{'fillType':_0x284558[_0x3ea436(0x14b)][_0x3ea436(0x12a)],'gradientType':_0x39fcba,'gradientStops':_0x10e1c2[_0x3ea436(0x146)]['deepClone'](_0x53e7a8),'gradientAngle':_0x17ed75}}));}[_0x16483e(0x94)](_0x5637ac,_0x33148e,_0x8a142={}){const _0xb4a90f=_0x16483e;return this['_patchShapeData'](_0x2a8a0c=>({..._0x2a8a0c,'fill':{..._0x10e1c2[_0xb4a90f(0x146)]['deepClone'](_0x8a142),'fillType':_0x284558['ShapeFillEnum'][_0xb4a90f(0x90)],'fillImageSource':_0x5637ac,'fillImageSourceType':_0x33148e}}));}[_0x16483e(0x12c)](){const _0x33eeec=_0x16483e;return this[_0x33eeec(0x102)](_0x33ab77=>({..._0x33ab77,'fill':{'fillType':_0x284558[_0x33eeec(0x14b)][_0x33eeec(0x105)]}}));}[_0x16483e(0x11a)](_0x2e876d){const _0x5624d1=_0x16483e;return this[_0x5624d1(0x102)](_0x4170cc=>({..._0x4170cc,'stroke':_0x10e1c2[_0x5624d1(0x146)][_0x5624d1(0xad)](_0x2e876d)}));}[_0x16483e(0x73)](_0x1d91ab){const _0x224838=_0x16483e;return this[_0x224838(0x108)](_0x52c52b=>({..._0x52c52b,'color':_0x1d91ab,'lineStrokeType':_0x52c52b[_0x224838(0xc3)]===_0x284558[_0x224838(0x10a)][_0x224838(0xd5)]?_0x284558[_0x224838(0x10a)][_0x224838(0xf4)]:_0x52c52b[_0x224838(0xc3)]}));}[_0x16483e(0x91)](_0x3eb8a5){const _0x3d7afb=_0x16483e;return this['_patchStroke'](_0x7506bb=>({..._0x7506bb,'width':_0x3eb8a5,'lineStrokeType':_0x7506bb['lineStrokeType']===_0x284558['ShapeLineTypeEnum'][_0x3d7afb(0xd5)]?_0x284558[_0x3d7afb(0x10a)]['SolidLine']:_0x7506bb[_0x3d7afb(0xc3)]}));}['setStrokeOpacity'](_0x4259ad){const _0x102b17=_0x16483e;return this[_0x102b17(0x108)](_0x243963=>({..._0x243963,'opacity':_0x4259ad}));}[_0x16483e(0x104)](_0x63d63f){const _0x1fd16d=_0x16483e;return this[_0x1fd16d(0x108)](_0x1f1f69=>({..._0x1f1f69,'dashType':_0x63d63f}));}['setStrokeLineJoinType'](_0x26102e){const _0x3ab0d1=_0x16483e;return this[_0x3ab0d1(0x108)](_0x54f1fb=>({..._0x54f1fb,'lineJoinType':_0x26102e}));}[_0x16483e(0x155)](_0x4dbbf5){return this['_patchStroke'](_0x5c1213=>({..._0x5c1213,'capType':_0x4dbbf5}));}[_0x16483e(0xc7)](_0x225a8b){const _0x140fe9=_0x16483e;return this[_0x140fe9(0x108)](_0x24a483=>({..._0x24a483,'lineStrokeType':_0x225a8b}));}[_0x16483e(0x107)](_0x3f224a){const _0x1345bb=_0x16483e;var _0x196401,_0x4b521f,_0x234011;let _0x2dad5e=_0x3f224a[_0x1345bb(0xd6)],_0x4727f5=_0x2dad5e&&(_0x1345bb(0x13c)in _0x2dad5e||_0x1345bb(0xd0)in _0x2dad5e)?this[_0x1345bb(0x77)]():null,_0x4e6eac=(_0x196401=(_0x4b521f=_0x3f224a['shapeType'])==null?(_0x234011=_0x3f224a[_0x1345bb(0xd6)])==null?void 0x0:_0x234011[_0x1345bb(0x13b)]:_0x4b521f)==null?_0x4727f5:_0x196401,_0x19b940=_0x16f453(_0x3f224a,_0x4e6eac!==null&&(0x0,_0x284558[_0x1345bb(0x14f)])(_0x4e6eac));return _0x19b940?(console['warn'](_0x1345bb(0xeb)+_0x19b940),this):(this['_mutate'](_0x1345bb(0x107),_0x5df5ee=>_0x5df5ee[_0x1345bb(0x14e)](this[_0x1345bb(0xff)],_0x3f224a)),this);}[_0x16483e(0x70)](){const _0x582920=_0x16483e;return this[_0x582920(0x125)]('remove',_0x450bdb=>_0x450bdb[_0x582920(0x9f)](this[_0x582920(0xff)]));}[_0x16483e(0x82)](){const _0x51457a=_0x16483e;return this['_mutate']('bring\x20to\x20front',_0x2e5569=>_0x2e5569[_0x51457a(0x82)](this[_0x51457a(0xff)])),this;}[_0x16483e(0xf0)](){const _0x3ca925=_0x16483e;return this['_mutate'](_0x3ca925(0x156),_0x41daf5=>_0x41daf5['bringForward'](this[_0x3ca925(0xff)])),this;}['sendBackward'](){const _0x10d85a=_0x16483e;return this[_0x10d85a(0x125)](_0x10d85a(0xce),_0x159e1a=>_0x159e1a[_0x10d85a(0xb8)](this[_0x10d85a(0xff)])),this;}[_0x16483e(0xb7)](){const _0x5d4966=_0x16483e;return this[_0x5d4966(0x125)]('send\x20to\x20back',_0x1c220d=>_0x1c220d[_0x5d4966(0xb7)](this['_shapeRef'])),this;}['_getAdapter'](){const _0x3054c0=_0x16483e;return this[_0x3054c0(0xa2)]['get'](_0x284558[_0x3054c0(0x71)])[_0x3054c0(0x117)](this['_shapeRef'][_0x3054c0(0xfd)]);}[_0x16483e(0x102)](_0x3081a5,_0x369c03){const _0x15c0ff=_0x16483e;let _0x3ecf2e=this[_0x15c0ff(0x10b)]();return _0x3ecf2e?this[_0x15c0ff(0x107)]({'shapeType':_0x369c03,'shapeData':_0x3081a5(_0x3ecf2e)}):this;}[_0x16483e(0x108)](_0x835177){const _0x266424=_0x16483e;return this[_0x266424(0x102)](_0x4d6184=>{const _0x27e95d=_0x266424;var _0x54d361;return{..._0x4d6184,'stroke':_0x835177((_0x54d361=_0x4d6184[_0x27e95d(0x12e)])==null?{}:_0x54d361)};});}[_0x16483e(0xf9)](){const _0x2dbdf0=_0x16483e;let _0x1a9cd3=this[_0x2dbdf0(0x95)]();if(!_0x1a9cd3)return null;try{return _0x1a9cd3['getShape'](this[_0x2dbdf0(0xff)])||(console[_0x2dbdf0(0x98)](_0x2dbdf0(0x137)+this[_0x2dbdf0(0xff)]['shapeId']+_0x2dbdf0(0xcf)),null);}catch(_0x41a181){return console[_0x2dbdf0(0x98)]('[Shape\x20Facade]:\x20Failed\x20to\x20read\x20Shape\x20\x22'+this['_shapeRef'][_0x2dbdf0(0x9b)]+'\x22.',_0x41a181),null;}}[_0x16483e(0x131)](){const _0x2615f5=_0x16483e;let _0x54545c=this[_0x2615f5(0xf9)]();if(!_0x54545c)return null;try{let _0x17ec69=new _0x284558[(_0x2615f5(0xe8))](_0x54545c[_0x2615f5(0x13b)],_0x54545c[_0x2615f5(0x9b)],_0x54545c[_0x2615f5(0xd6)]);return _0x17ec69[_0x2615f5(0x8a)]({'width':_0x54545c[_0x2615f5(0xf3)][_0x2615f5(0x141)],'height':_0x54545c['transform'][_0x2615f5(0x76)]}),_0x17ec69;}catch(_0x33a45c){return console[_0x2615f5(0x98)](_0x2615f5(0xc4)+this[_0x2615f5(0xff)]['shapeId']+'\x22.',_0x33a45c),null;}}[_0x16483e(0x125)](_0x5e687e,_0x547eee){const _0x4e28af=_0x16483e;let _0x1214e6=this[_0x4e28af(0x95)]();if(!_0x1214e6)return!0x1;try{let _0x54e82c=_0x547eee(_0x1214e6);return _0x54e82c||console['warn'](_0x4e28af(0xfc)+_0x5e687e+_0x4e28af(0x149)+this[_0x4e28af(0xff)][_0x4e28af(0x9b)]+'\x22.'),_0x54e82c;}catch(_0x4d856f){return console[_0x4e28af(0x98)](_0x4e28af(0xfc)+_0x5e687e+'\x20Shape\x20\x22'+this['_shapeRef'][_0x4e28af(0x9b)]+'\x22.',_0x4d856f),!0x1;}}};function _0x16f453(_0x542139,_0x16b458=!0x1){const _0x501b98=_0x16483e;for(let _0x539402 of['visible','selectable']){let _0x41861b=_0x542139[_0x539402];if(_0x41861b!==void 0x0&&typeof _0x41861b!=_0x501b98(0x159))return _0x501b98(0xe6)+_0x539402+_0x501b98(0x8c);}let _0x1d5f4e=_0x542139['transform'];if(_0x1d5f4e){for(let _0x58a44d of[_0x501b98(0x148),_0x501b98(0xfe),'width','height',_0x501b98(0x10d)]){let _0x1d913f=_0x1d5f4e[_0x58a44d];if(_0x1d913f!==void 0x0&&!Number[_0x501b98(0xa7)](_0x1d913f))return _0x501b98(0xba)+_0x58a44d+'\x22\x20must\x20be\x20finite.';}if(_0x1d5f4e['width']!==void 0x0&&_0x1d5f4e[_0x501b98(0x141)]<=0x0)return _0x501b98(0xb3);if(_0x1d5f4e[_0x501b98(0x76)]!==void 0x0&&_0x1d5f4e[_0x501b98(0x76)]<=0x0)return _0x501b98(0xb2);for(let _0x4b8b18 of[_0x501b98(0xa5),_0x501b98(0x139)]){let _0x5a3e47=_0x1d5f4e[_0x4b8b18];if(_0x5a3e47!==void 0x0&&typeof _0x5a3e47!=_0x501b98(0x159))return _0x501b98(0xba)+_0x4b8b18+_0x501b98(0x8c);}}let _0x554214=_0x542139['shapeData'];return!_0x16b458&&_0x554214&&(_0x501b98(0x13c)in _0x554214||'points'in _0x554214)?'Connector\x20relationships\x20and\x20route\x20points\x20require\x20FConnectorShape.':null;}var _0x53b29c=class extends _0x44cffa{[_0x16483e(0x14f)](){return!0x0;}[_0x16483e(0x136)](){const _0x2bc58f=_0x16483e;let _0x5dd446=this[_0x2bc58f(0x101)]();return _0x5dd446?_0x10e1c2[_0x2bc58f(0x146)][_0x2bc58f(0xad)](_0x5dd446[_0x2bc58f(0xc8)]):null;}[_0x16483e(0x11b)](){const _0x5b914a=_0x16483e;let _0x1153b2=this[_0x5b914a(0x101)]();return _0x1153b2?_0x10e1c2[_0x5b914a(0x146)][_0x5b914a(0xad)](_0x1153b2[_0x5b914a(0x13e)]):null;}[_0x16483e(0xf1)](){const _0x2490c6=_0x16483e;let _0x1878f6=this['_getConnectorSnapshot']();return _0x1878f6?_0x10e1c2[_0x2490c6(0x146)]['deepClone'](_0x1878f6[_0x2490c6(0xc2)]):null;}[_0x16483e(0x157)](){const _0x1dc7e0=_0x16483e;let _0x3246f0=this[_0x1dc7e0(0x101)]();return _0x3246f0?_0x10e1c2[_0x1dc7e0(0x146)]['deepClone'](_0x3246f0[_0x1dc7e0(0x10c)]):null;}[_0x16483e(0x7b)](){const _0x2ea176=_0x16483e;let _0x583e95=this[_0x2ea176(0x101)]();return _0x583e95?_0x10e1c2[_0x2ea176(0x146)][_0x2ea176(0xad)](_0x583e95['endArrow']):null;}[_0x16483e(0xcb)](_0x20aa58){const _0x4129b7=_0x16483e;return(0x0,_0x284558['isConnectorShape'])(_0x20aa58)?super[_0x4129b7(0xcb)](_0x20aa58):(console['warn']('[Shape\x20Facade]:\x20Connector\x20Shape\x20\x22'+this[_0x4129b7(0xff)][_0x4129b7(0x9b)]+_0x4129b7(0xd9)),this);}[_0x16483e(0x158)](_0x2b9768){const _0x131b0c=_0x16483e;return _0x2b9768['shapeType']!==void 0x0&&!(0x0,_0x284558[_0x131b0c(0x14f)])(_0x2b9768[_0x131b0c(0x13b)])?(console[_0x131b0c(0x98)](_0x131b0c(0x75)+this[_0x131b0c(0xff)][_0x131b0c(0x9b)]+_0x131b0c(0x120)),this):super[_0x131b0c(0x158)](_0x2b9768);}['bindStart'](_0x4aeced,_0x424fb1){const _0x45927c=_0x16483e;return this[_0x45927c(0xbc)](_0x45927c(0xc8),_0x4aeced,_0x424fb1),this;}[_0x16483e(0x154)](_0x26c4ef,_0x47c7be){const _0x59fa95=_0x16483e;return this[_0x59fa95(0xbc)](_0x59fa95(0x13e),_0x26c4ef,_0x47c7be),this;}['unbindStart'](){const _0x3831d6=_0x16483e;return this[_0x3831d6(0x119)]('unbind\x20start',_0x2224b0=>_0x2224b0[_0x3831d6(0xed)](this[_0x3831d6(0xff)])),this;}[_0x16483e(0x8e)](){const _0x268a5b=_0x16483e;return this[_0x268a5b(0x119)](_0x268a5b(0xea),_0x65c6e7=>_0x65c6e7[_0x268a5b(0x8e)](this[_0x268a5b(0xff)])),this;}[_0x16483e(0xd7)](_0x5e5b98){const _0x2f1a29=_0x16483e;return _0x22ebda(_0x5e5b98,this[_0x2f1a29(0xff)][_0x2f1a29(0x9b)])&&this[_0x2f1a29(0x119)](_0x2f1a29(0xb5),_0x4f2e36=>_0x4f2e36['setStartPoint'](this[_0x2f1a29(0xff)],_0x5e5b98)),this;}[_0x16483e(0x138)](_0x565df7){const _0x43bffd=_0x16483e;return _0x22ebda(_0x565df7,this[_0x43bffd(0xff)]['shapeId'])&&this['_mutateConnector'](_0x43bffd(0x103),_0x1c3d5b=>_0x1c3d5b[_0x43bffd(0x138)](this[_0x43bffd(0xff)],_0x565df7)),this;}[_0x16483e(0x9c)](_0xa16f3d){const _0x22fdd9=_0x16483e;return _0xa16f3d[_0x22fdd9(0xf8)](_0x5199cc=>_0x22ebda(_0x5199cc,this[_0x22fdd9(0xff)][_0x22fdd9(0x9b)]))&&this[_0x22fdd9(0x119)](_0x22fdd9(0xe0),_0x4499e6=>_0x4499e6[_0x22fdd9(0x9c)](this[_0x22fdd9(0xff)],_0xa16f3d)),this;}['setStartArrow'](_0x460fd1,_0x461341){const _0x7b643d=_0x16483e;return this['_mutateConnector'](_0x7b643d(0xae),_0x38271d=>_0x38271d[_0x7b643d(0xd8)](this[_0x7b643d(0xff)],_0x460fd1,_0x461341)),this;}[_0x16483e(0xe9)](_0x1bee7d,_0x1b3347){const _0x16b290=_0x16483e;return this[_0x16b290(0x119)](_0x16b290(0x72),_0x1f3ffc=>_0x1f3ffc[_0x16b290(0xe9)](this[_0x16b290(0xff)],_0x1bee7d,_0x1b3347)),this;}[_0x16483e(0x11f)](){const _0x1a3244=_0x16483e;return this[_0x1a3244(0xa2)][_0x1a3244(0x117)](_0x284558[_0x1a3244(0xe5)]);}[_0x16483e(0x101)](){const _0x195b57=_0x16483e;let _0x1739e6=this[_0x195b57(0x11f)]();if(!_0x1739e6)return null;try{return _0x1739e6[_0x195b57(0x79)](this[_0x195b57(0xff)])||(console[_0x195b57(0x98)](_0x195b57(0x75)+this[_0x195b57(0xff)][_0x195b57(0x9b)]+'\x22\x20was\x20not\x20found.'),null);}catch(_0x5bdd91){return console[_0x195b57(0x98)](_0x195b57(0x9d)+this[_0x195b57(0xff)]['shapeId']+'\x22.',_0x5bdd91),null;}}[_0x16483e(0xbc)](_0x5c9efc,_0x2dcd4d,_0x99917){const _0x4e95c2=_0x16483e;if(!_0x2dcd4d||!Number[_0x4e95c2(0x74)](_0x99917)||_0x99917<0x0)return console['warn'](_0x4e95c2(0xb0)+this[_0x4e95c2(0xff)][_0x4e95c2(0x9b)]+'\x22\x20binding\x20requires\x20a\x20target\x20Shape\x20ID\x20and\x20a\x20non-negative\x20connection\x20site\x20index.'),!0x1;let _0x4f451a={'shapeId':_0x2dcd4d,'cxnIndex':_0x99917};return this[_0x4e95c2(0x119)](_0x4e95c2(0x6f)+_0x5c9efc,_0xcb78a0=>_0x5c9efc===_0x4e95c2(0xc8)?_0xcb78a0[_0x4e95c2(0x133)](this[_0x4e95c2(0xff)],_0x4f451a):_0xcb78a0['bindEnd'](this['_shapeRef'],_0x4f451a));}[_0x16483e(0x119)](_0x32c0a4,_0x51b6f7){const _0x57f136=_0x16483e;let _0x5310c2=this[_0x57f136(0x11f)]();if(!_0x5310c2)return!0x1;try{let _0x1146bc=_0x51b6f7(_0x5310c2);return _0x1146bc||console[_0x57f136(0x98)]('[Shape\x20Facade]:\x20Failed\x20to\x20'+_0x32c0a4+_0x57f136(0x12d)+this[_0x57f136(0xff)][_0x57f136(0x9b)]+'\x22.'),_0x1146bc;}catch(_0x261d81){return console[_0x57f136(0x98)](_0x57f136(0xfc)+_0x32c0a4+_0x57f136(0x12d)+this[_0x57f136(0xff)][_0x57f136(0x9b)]+'\x22.',_0x261d81),!0x1;}}};function _0x22ebda(_0x1ddff1,_0x2509df){const _0x26f6e2=_0x16483e;return!Number[_0x26f6e2(0xa7)](_0x1ddff1['x'])||!Number[_0x26f6e2(0xa7)](_0x1ddff1['y'])?(console[_0x26f6e2(0x98)](_0x26f6e2(0xb0)+_0x2509df+'\x22\x20points\x20must\x20contain\x20finite\x20coordinates.'),!0x1):!0x0;}_0x47863a[_0x16483e(0x144)]=_0x53b29c,_0x47863a[_0x16483e(0xc1)]=_0x44cffa,_0x47863a[_0x16483e(0x13a)]=_0x2be089;}));
|
|
1
|
+
function _0x1c4f(){const _0x651712=['387mSpUrq','length','getShapeType','unbindStart','setShapeData','setStrikethrough','10984EOvjsx','boolean','setStroke','ShapeModel','rotation','startArrow','isCustomShape','applyShapeTextBoxOptions','set\x20start\x20point','@univerjs/core/facade','updateShape','setUnderline','visible','_getSnapshot','setTextStyle','ShapeFillEnum','extend','setStrokeLineJoinType','getRichText','angular','getDescription','getEndEndpoint','end','function','unbind\x20start','setEndPoint','scaleY','set\x20route\x20points','FEnum','relation','getPlainText','\x20Connector\x20Shape\x20\x22','NoLine','isSelectable','setStrokeWidth','FALSE','bindEnd','warn','gradient','setStrokeLineCapType','setAbsolutePosition','flipY','ShapeArrowTypeEnum','[Shape\x20Text\x20Facade]:\x20Failed\x20to\x20read\x20Shape\x20\x22','hostType','_mutateConnector','2073840omLidR','ShapeLineCapEnum','_bind','\x22\x20points\x20must\x20contain\x20finite\x20coordinates.','object','getRoutePoints','\x22\x20was\x20not\x20found.','ShapeImageFillModeEnum','[Shape\x20Facade]:\x20Shape\x20\x22','getStartArrow','setStartPoint','FShapeText','shapeText','isFinite','bring\x20forward','start','1988Msmitx','setTransform','endArrow','sendBackward','ShapeGradientTypeEnum','setStartArrow','TRUE','UniverCoreFacade','setNoneFill','customGeometry','_patchStroke','defineProperty','getShapeData','SolidLine','[Shape\x20Facade]:\x20Connector\x20Shape\x20\x22','setSolidFill','BooleanNumber','getStartConnectInfo','Tools','IShapeHostAdapterRegistry','ShapeImageSourceTypeEnum','createInstance','ShapeTextAutoFitType','ShapeTextWrapType','13412wrkLMD','getAdjustPoints','GradientFill','\x22\x20text.','getHostType','isVisible','transform','@univerjs/core','setRoutePoints','mode','shapeData','Shape\x20\x22','removeShape','ShapeOperatorEnum','_getConnectorSnapshot','width','setSelectable','isCustom','bindStart','getText','shapeId','FShape','every','stroke','applyRichTextToShapeText','[Shape\x20Facade]:\x20Failed\x20to\x20read\x20Shape\x20\x22','388352kFsWBA','_shapeRef','height','_getGeometryModel','ShapeLineJoinEnum','getCustomGeometry','_patchShapeData','deepClone','setName','getEndConnectInfo','22653750dFwEjf','setItalic','getStartEndpoint','offsetX','toPlainText','getShape','@univerjs-pro/engine-shape','unbindEnd','selectable','\x22\x20must\x20be\x20finite.','ShapeLineDashEnum','[Shape\x20Facade]:\x20Connector\x20\x22','FBase','shapeType','4184EhIatp','rgba(0,\x200,\x200,\x200)','bringToFront','\x22\x20requires\x20Connector\x20Shape\x20data.','map','set\x20start\x20arrow','[Shape\x20Facade]:\x20','_mutate','top','isInteger','getDrawingPoints','getConnector','sendToBack','setDescription','get','bind\x20','[Shape\x20Facade]:\x20Failed\x20to\x20','getSnapshot','PictureFill','lineStrokeType','Connector\x20relationships\x20and\x20route\x20points\x20require\x20FConnectorShape.','radial','applyShapeTextAlignment','Shape\x20transform\x20\x22','_getShapeData','isConnectorShape','\x20Shape\x20\x22','[Shape\x20Text\x20Facade]:\x20Gradient\x20text\x20fill\x20requires\x20at\x20least\x20two\x20color\x20stops.','setBold','Shape\x20width\x20must\x20be\x20greater\x20than\x20zero.','getId','setVerticalAlign','updateContext','getConnectionSiteList','_updateShapeData','points','exports','Radial','remove','getTransform','setHorizontalAlign','[Shape\x20Facade]:\x20Failed\x20to\x20read\x20Connector\x20Shape\x20\x22','flipX','SolidFill','bring\x20to\x20front','[Shape\x20Text\x20Facade]:\x20Failed\x20to\x20update\x20Shape\x20\x22','\x22\x20must\x20be\x20boolean.','setImageFill','Angular','getConnectionSites','toStringTag','_getConnectorAdapter','ImageSourceTypeEnum','diamond','Tile','ShapeTextDirection','setTextBoxOptions','ShapeTypeEnum','update','Linear','ShapeArrowSizeEnum','2925CGlizC','setStrokeLineDashType','\x22\x20requires\x20a\x20Connector\x20Shape\x20type.','ShapeLineTypeEnum','scaleX','Module','send\x20backward','_getAdapter','set\x20end\x20arrow','bringForward','UniverCore','NoFill','left','_injector','Shape\x20height\x20must\x20be\x20greater\x20than\x20zero.','4334427hgaKAy','\x22\x20binding\x20requires\x20a\x20target\x20Shape\x20ID\x20and\x20a\x20non-negative\x20connection\x20site\x20index.','setShapeType'];_0x1c4f=function(){return _0x651712;};return _0x1c4f();}function _0x3406(_0x3b73b9,_0x3adeb8){_0x3b73b9=_0x3b73b9-0x100;const _0x1c4f1a=_0x1c4f();let _0x340653=_0x1c4f1a[_0x3b73b9];return _0x340653;}(function(_0x283ac2,_0x33f871){const _0x38529f=_0x3406,_0x358715=_0x283ac2();while(!![]){try{const _0x5d56d0=-parseInt(_0x38529f(0x182))/0x1+-parseInt(_0x38529f(0x168))/0x2*(-parseInt(_0x38529f(0x10c))/0x3)+parseInt(_0x38529f(0x112))/0x4*(-parseInt(_0x38529f(0x1d7))/0x5)+parseInt(_0x38529f(0x140))/0x6+parseInt(_0x38529f(0x150))/0x7*(-parseInt(_0x38529f(0x19a))/0x8)+-parseInt(_0x38529f(0x109))/0x9+parseInt(_0x38529f(0x18c))/0xa;if(_0x5d56d0===_0x33f871)break;else _0x358715['push'](_0x358715['shift']());}catch(_0x15b938){_0x358715['push'](_0x358715['shift']());}}}(_0x1c4f,0xcfcf8),function(_0x2f3306,_0x2b3377){const _0x3f85be=_0x3406;typeof exports==_0x3f85be(0x144)&&typeof module<'u'?_0x2b3377(exports,require('@univerjs-pro/engine-shape'),require('@univerjs/core/facade'),require('@univerjs/core')):typeof define==_0x3f85be(0x129)&&define['amd']?define([_0x3f85be(0x1be),_0x3f85be(0x192),_0x3f85be(0x11b),_0x3f85be(0x16f)],_0x2b3377):(_0x2f3306=typeof globalThis<'u'?globalThis:_0x2f3306||self,_0x2b3377(_0x2f3306['UniverProEngineShapeFacade']={},_0x2f3306['UniverProEngineShape'],_0x2f3306[_0x3f85be(0x157)],_0x2f3306[_0x3f85be(0x104)]));}(this,function(_0x17addd,_0x28d687,_0x58988f,_0x42ad74){const _0x43d812=_0x3406;Object[_0x43d812(0x15b)](_0x17addd,Symbol[_0x43d812(0x1cc)],{'value':_0x43d812(0x1dc)});var _0x2b94bf=class extends _0x58988f['FEnum']{get[_0x43d812(0x1d3)](){return _0x28d687['ShapeTypeEnum'];}get['ShapeFillEnum'](){const _0x2a807a=_0x43d812;return _0x28d687[_0x2a807a(0x121)];}get['ShapeGradientTypeEnum'](){const _0x26c1de=_0x43d812;return _0x28d687[_0x26c1de(0x154)];}get[_0x43d812(0x147)](){return _0x28d687['ImageFillModeEnum'];}get[_0x43d812(0x164)](){const _0x486d18=_0x43d812;return _0x28d687[_0x486d18(0x1ce)];}get[_0x43d812(0x1da)](){const _0x51f0a8=_0x43d812;return _0x28d687[_0x51f0a8(0x1da)];}get['ShapeLineDashEnum'](){const _0x5760d3=_0x43d812;return _0x28d687[_0x5760d3(0x196)];}get['ShapeLineCapEnum'](){const _0x3f6e56=_0x43d812;return _0x28d687[_0x3f6e56(0x141)];}get['ShapeLineJoinEnum'](){const _0x3e4743=_0x43d812;return _0x28d687[_0x3e4743(0x186)];}get['ShapeOperatorEnum'](){const _0x32308c=_0x43d812;return _0x28d687[_0x32308c(0x175)];}get[_0x43d812(0x13c)](){const _0x2eb025=_0x43d812;return _0x28d687[_0x2eb025(0x13c)];}get[_0x43d812(0x1d6)](){const _0x569fae=_0x43d812;return _0x28d687[_0x569fae(0x1d6)];}get[_0x43d812(0x166)](){const _0x159c25=_0x43d812;return _0x28d687[_0x159c25(0x166)];}get[_0x43d812(0x1d1)](){const _0x122a6a=_0x43d812;return _0x28d687[_0x122a6a(0x1d1)];}get[_0x43d812(0x167)](){return _0x28d687['ShapeTextWrapType'];}};_0x58988f[_0x43d812(0x12e)][_0x43d812(0x122)](_0x2b94bf);function _0x1e3726(_0x37edca){const _0x5377f7=_0x43d812;switch(_0x37edca){case _0x28d687['ShapeGradientTypeEnum'][_0x5377f7(0x1bf)]:return _0x5377f7(0x1af);case _0x28d687[_0x5377f7(0x154)][_0x5377f7(0x1ca)]:return _0x5377f7(0x125);case _0x28d687[_0x5377f7(0x154)]['Diamond']:return _0x5377f7(0x1cf);case _0x28d687[_0x5377f7(0x154)][_0x5377f7(0x1d5)]:default:return'linear';}}function _0x5b75ad(_0x1494dc){const _0xbcdc5c=_0x43d812;return _0x1494dc===_0x28d687['ImageFillModeEnum'][_0xbcdc5c(0x1d0)]?'tile':'stretch';}var _0x455b6d=class{constructor(_0x1faec9,_0x2ecec6){const _0x282264=_0x43d812;this[_0x282264(0x183)]=_0x1faec9,this['_injector']=_0x2ecec6;}[_0x43d812(0x124)](){const _0x26da97=_0x43d812;var _0x3fc608;return(0x0,_0x28d687['shapeTextToRichTextValue'])((_0x3fc608=this[_0x26da97(0x1b2)]())==null?void 0x0:_0x3fc608[_0x26da97(0x14c)]);}[_0x43d812(0x130)](){const _0x510519=_0x43d812;var _0x16935f,_0x21c6a8;return(_0x16935f=(_0x21c6a8=this['getRichText']())==null?void 0x0:_0x21c6a8[_0x510519(0x190)]())==null?null:_0x16935f;}['setRichText'](_0x368d48){const _0x284e3f=_0x43d812;return this[_0x284e3f(0x1bc)](_0x4be1ec=>({..._0x4be1ec,'shapeText':(0x0,_0x28d687[_0x284e3f(0x180)])(_0x4be1ec[_0x284e3f(0x14c)],_0x368d48)})),this;}['setText'](_0x339962){const _0xc9b58f=_0x43d812;return this['_updateShapeData'](_0x45f4ac=>({..._0x45f4ac,'shapeText':(0x0,_0x28d687['applyTextToShapeText'])(_0x45f4ac[_0xc9b58f(0x14c)],_0x339962)})),this;}['setTextStyle'](_0x4638d5){const _0x49a123=_0x43d812;return this[_0x49a123(0x1bc)](_0x9d99d0=>({..._0x9d99d0,'shapeText':(0x0,_0x28d687['applyShapeTextStyle'])(_0x9d99d0[_0x49a123(0x14c)],_0x4638d5)})),this;}['setColor'](_0x9d1be0,_0x2f3755){const _0x3e3900=_0x43d812;return this[_0x3e3900(0x120)]({'cl':{'rgb':_0x9d1be0},'textFill':{'type':'solid','color':_0x9d1be0,'opacity':_0x2f3755}});}[_0x43d812(0x158)](){const _0x3776fa=_0x43d812;return this[_0x3776fa(0x120)]({'cl':{'rgb':_0x3776fa(0x19b)},'textFill':{'type':'none'}});}['setGradientFill'](_0x4199c8,_0x3f020d,_0x414a75){const _0xc6e9ad=_0x43d812;return _0x3f020d[_0xc6e9ad(0x10d)]<0x2?(console[_0xc6e9ad(0x137)](_0xc6e9ad(0x1b5)),this):this['setTextStyle']({'cl':{'rgb':_0x3f020d[0x0]['color']},'textFill':{'type':_0xc6e9ad(0x138),'gradient':{'type':_0x1e3726(_0x4199c8),'angle':_0x414a75,'stops':_0x3f020d['map'](({position:_0x3aa3ff,color:_0x66a56f,opacity:_0x2cfc5f})=>({'offset':_0x3aa3ff,'color':_0x66a56f,'opacity':_0x2cfc5f}))}}});}[_0x43d812(0x1c9)](_0x3e8865,_0xf623d4=_0x28d687[_0x43d812(0x1ce)]['URL'],_0x533364={}){const _0x441fbf=_0x43d812;return this[_0x441fbf(0x120)]({'textFill':{'type':'picture','picture':{'source':_0x3e8865,'sourceType':_0xf623d4,'opacity':_0x533364['opacity'],'mode':_0x5b75ad(_0x533364[_0x441fbf(0x171)]),'scaleX':_0x533364[_0x441fbf(0x1db)],'scaleY':_0x533364[_0x441fbf(0x12c)],'offsetX':_0x533364[_0x441fbf(0x18f)],'offsetY':_0x533364['offsetY']}}});}['setFontSize'](_0x2946e7){const _0x349e47=_0x43d812;return this[_0x349e47(0x120)]({'fs':_0x2946e7});}['setFontFamily'](_0xff4b96){const _0x3fe388=_0x43d812;return this[_0x3fe388(0x120)]({'ff':_0xff4b96});}[_0x43d812(0x1b6)](_0x2e875d){const _0x3072ec=_0x43d812;return this[_0x3072ec(0x120)]({'bl':_0x2e875d?_0x42ad74[_0x3072ec(0x160)][_0x3072ec(0x156)]:_0x42ad74[_0x3072ec(0x160)][_0x3072ec(0x135)]});}[_0x43d812(0x18d)](_0x2e510b){const _0x5b0e36=_0x43d812;return this[_0x5b0e36(0x120)]({'it':_0x2e510b?_0x42ad74[_0x5b0e36(0x160)]['TRUE']:_0x42ad74[_0x5b0e36(0x160)][_0x5b0e36(0x135)]});}[_0x43d812(0x11d)](_0xc2490a){const _0x2de24b=_0x43d812;return this['setTextStyle']({'ul':{'s':_0xc2490a?_0x42ad74[_0x2de24b(0x160)][_0x2de24b(0x156)]:_0x42ad74['BooleanNumber'][_0x2de24b(0x135)]}});}[_0x43d812(0x111)](_0x313de4){const _0x41554b=_0x43d812;return this[_0x41554b(0x120)]({'st':{'s':_0x313de4?_0x42ad74[_0x41554b(0x160)][_0x41554b(0x156)]:_0x42ad74['BooleanNumber']['FALSE']}});}[_0x43d812(0x1c2)](_0x1d7254){const _0x4c9c28=_0x43d812;return this['_updateShapeData'](_0x1de8e0=>(0x0,_0x28d687[_0x4c9c28(0x1b0)])(_0x1de8e0,{'horizontalAlign':_0x1d7254})),this;}[_0x43d812(0x1b9)](_0x44c16d){const _0x56fcfc=_0x43d812;return this[_0x56fcfc(0x1bc)](_0x43a43f=>(0x0,_0x28d687[_0x56fcfc(0x1b0)])(_0x43a43f,{'verticalAlign':_0x44c16d})),this;}['getTextBoxOptions'](){const _0x2b056d=_0x43d812;let _0x8653a3=this[_0x2b056d(0x1b2)]();return _0x8653a3?(0x0,_0x28d687['resolveShapeTextBoxOptions'])(_0x8653a3):null;}[_0x43d812(0x1d2)](_0x3e7196){const _0x453c11=_0x43d812;return this[_0x453c11(0x1bc)](_0x874e2e=>(0x0,_0x28d687[_0x453c11(0x119)])(_0x874e2e,_0x3e7196)),this;}[_0x43d812(0x101)](){const _0x5dcfc2=_0x43d812;return this[_0x5dcfc2(0x107)][_0x5dcfc2(0x1a8)](_0x28d687[_0x5dcfc2(0x163)])[_0x5dcfc2(0x1a8)](this['_shapeRef']['hostType']);}[_0x43d812(0x1b2)](){const _0x4c176d=_0x43d812;let _0x4a83b7=this[_0x4c176d(0x101)]();if(!_0x4a83b7)return null;try{var _0xecfff8;return((_0xecfff8=_0x4a83b7['getShape'](this[_0x4c176d(0x183)]))==null?void 0x0:_0xecfff8[_0x4c176d(0x172)])||(console[_0x4c176d(0x137)]('[Shape\x20Text\x20Facade]:\x20Shape\x20\x22'+this[_0x4c176d(0x183)][_0x4c176d(0x17c)]+_0x4c176d(0x146)),null);}catch(_0x262876){return console[_0x4c176d(0x137)](_0x4c176d(0x13d)+this['_shapeRef'][_0x4c176d(0x17c)]+_0x4c176d(0x16b),_0x262876),null;}}['_updateShapeData'](_0x40183f){const _0x4f94f3=_0x43d812;let _0x16f31f=this[_0x4f94f3(0x101)]();if(!_0x16f31f)return!0x1;try{var _0x499a51;let _0x132d12=(_0x499a51=_0x16f31f['getShape'](this[_0x4f94f3(0x183)]))==null?void 0x0:_0x499a51['shapeData'];if(!_0x132d12)return console[_0x4f94f3(0x137)]('[Shape\x20Text\x20Facade]:\x20Shape\x20\x22'+this[_0x4f94f3(0x183)]['shapeId']+'\x22\x20was\x20not\x20found.'),!0x1;let _0x5e07f1=_0x16f31f[_0x4f94f3(0x11c)](this[_0x4f94f3(0x183)],{'shapeData':_0x40183f(_0x132d12)});return _0x5e07f1||console[_0x4f94f3(0x137)](_0x4f94f3(0x1c7)+this[_0x4f94f3(0x183)]['shapeId']+_0x4f94f3(0x16b)),_0x5e07f1;}catch(_0xa2bbc0){return console[_0x4f94f3(0x137)](_0x4f94f3(0x1c7)+this[_0x4f94f3(0x183)][_0x4f94f3(0x17c)]+'\x22\x20text.',_0xa2bbc0),!0x1;}}},_0x1aa40b=class extends _0x58988f[_0x43d812(0x198)]{constructor(_0x363486,_0x25ad92){const _0x1d85d4=_0x43d812;super(),this[_0x1d85d4(0x183)]=_0x363486,this[_0x1d85d4(0x107)]=_0x25ad92;}['isConnectorShape'](){return!0x1;}[_0x43d812(0x1b8)](){const _0x3401e7=_0x43d812;return this['_shapeRef'][_0x3401e7(0x17c)];}['getName'](){const _0x47e73a=_0x43d812;var _0x2742d4;return(_0x2742d4=this[_0x47e73a(0x11f)]())==null?void 0x0:_0x2742d4['name'];}[_0x43d812(0x18a)](_0x230e37){const _0x461ec2=_0x43d812;return this[_0x461ec2(0x1d4)]({'name':_0x230e37});}[_0x43d812(0x126)](){var _0x2c0266;return(_0x2c0266=this['_getSnapshot']())==null?void 0x0:_0x2c0266['description'];}[_0x43d812(0x1a7)](_0x2041ab){const _0x4a4f9d=_0x43d812;return this[_0x4a4f9d(0x1d4)]({'description':_0x2041ab});}[_0x43d812(0x16c)](){const _0x413d65=_0x43d812;return this[_0x413d65(0x183)]['hostType'];}[_0x43d812(0x10e)](){const _0x1d94bf=_0x43d812;var _0x597720,_0xb9c193;return(_0x597720=(_0xb9c193=this[_0x1d94bf(0x11f)]())==null?void 0x0:_0xb9c193['shapeType'])==null?null:_0x597720;}[_0x43d812(0x15c)](){const _0xdd35ee=_0x43d812;let _0xb1e4a7=this['_getSnapshot']();return _0xb1e4a7?_0x42ad74[_0xdd35ee(0x162)][_0xdd35ee(0x189)](_0xb1e4a7['shapeData']):null;}[_0x43d812(0x1ab)](){const _0x23d9c3=_0x43d812;let _0x3e3709=this[_0x23d9c3(0x11f)]();return _0x3e3709?_0x42ad74['Tools'][_0x23d9c3(0x189)](_0x3e3709):null;}[_0x43d812(0x1c1)](){const _0x4a0aae=_0x43d812;let _0x392c99=this[_0x4a0aae(0x11f)]();return _0x392c99?{..._0x392c99['transform']}:null;}[_0x43d812(0x16d)](){const _0x370bae=_0x43d812;var _0x42785e,_0x2e0141;return(_0x42785e=(_0x2e0141=this[_0x370bae(0x11f)]())==null?void 0x0:_0x2e0141['visible'])==null?!0x1:_0x42785e;}['setVisible'](_0x5cd7a6){const _0xe14fc0=_0x43d812;return this[_0xe14fc0(0x1d4)]({'visible':_0x5cd7a6});}[_0x43d812(0x133)](){const _0xf3c6de=_0x43d812;var _0x12383b,_0xbdb0cd;return(_0x12383b=(_0xbdb0cd=this['_getSnapshot']())==null?void 0x0:_0xbdb0cd[_0xf3c6de(0x194)])==null?!0x1:_0x12383b;}[_0x43d812(0x178)](_0x207b08){const _0x32b037=_0x43d812;return this[_0x32b037(0x1d4)]({'selectable':_0x207b08});}[_0x43d812(0x17b)](){const _0x52f1ae=_0x43d812;return this[_0x52f1ae(0x107)][_0x52f1ae(0x165)](_0x455b6d,this['_shapeRef'],this[_0x52f1ae(0x107)]);}[_0x43d812(0x118)](){const _0x246d55=_0x43d812;let _0xd59cd3=this[_0x246d55(0x15c)]();return(_0xd59cd3==null?void 0x0:_0xd59cd3[_0x246d55(0x179)])===!0x0&&!!_0xd59cd3[_0x246d55(0x159)];}[_0x43d812(0x187)](){const _0x40ec04=_0x43d812;var _0x172fcd,_0x1dc12c;return(_0x172fcd=(_0x1dc12c=this['getShapeData']())==null?void 0x0:_0x1dc12c[_0x40ec04(0x159)])==null?null:_0x172fcd;}[_0x43d812(0x10b)](_0x36efe1){return this['_patchShapeData'](_0x32abed=>({..._0x32abed,'shapeType':_0x36efe1}),_0x36efe1);}[_0x43d812(0x110)](_0x5d9be5){const _0x2976f1=_0x43d812;let _0x5293fe=_0x42ad74['Tools'][_0x2976f1(0x189)](_0x5d9be5);return this[_0x2976f1(0x1d4)]({'shapeType':_0x5293fe[_0x2976f1(0x199)],'shapeData':_0x5293fe});}['setTransform'](_0x2c39eb){const _0x1d945a=_0x43d812;return this[_0x1d945a(0x1d4)]({'transform':_0x2c39eb});}['setSize'](_0x228139,_0x915504){const _0x2adb0f=_0x43d812;return this[_0x2adb0f(0x151)]({'width':_0x228139,'height':_0x915504});}['setRotation'](_0x4c7f48){const _0x19b3d7=_0x43d812;return this[_0x19b3d7(0x151)]({'rotation':_0x4c7f48});}[_0x43d812(0x13a)](_0x5b8fd2,_0x54c03b){const _0x2da529=_0x43d812;return this[_0x2da529(0x151)]({'left':_0x5b8fd2,'top':_0x54c03b});}['setCustomGeometry'](_0x2b515d){const _0x2f5724=_0x43d812;let _0x584fd0=_0x42ad74[_0x2f5724(0x162)][_0x2f5724(0x189)](_0x2b515d);return this[_0x2f5724(0x188)](_0x250709=>({..._0x250709,'isCustom':!0x0,'customGeometry':_0x584fd0}));}[_0x43d812(0x1cb)](){const _0x5e53ea=_0x43d812;var _0x255b83,_0x1057e5;return(_0x255b83=(_0x1057e5=this[_0x5e53ea(0x185)]())==null?void 0x0:_0x1057e5[_0x5e53ea(0x1bb)]()[_0x5e53ea(0x19e)](_0x3a399c=>({..._0x3a399c})))==null?[]:_0x255b83;}[_0x43d812(0x169)](){const _0x15b871=_0x43d812;var _0x48ad11,_0x10307e;return(_0x48ad11=(_0x10307e=this[_0x15b871(0x185)]())==null?void 0x0:_0x10307e[_0x15b871(0x1a4)]()[_0x15b871(0x19e)](_0x4127d1=>({..._0x4127d1})))==null?[]:_0x48ad11;}[_0x43d812(0x161)](){const _0x183559=_0x43d812;var _0x4a8af8;let _0x31b654=(_0x4a8af8=this['_getGeometryModel']())==null?void 0x0:_0x4a8af8[_0x183559(0x161)]();return _0x31b654?{..._0x31b654}:null;}[_0x43d812(0x18b)](){const _0x3a8009=_0x43d812;var _0x3de21b;let _0x1a30cb=(_0x3de21b=this[_0x3a8009(0x185)]())==null?void 0x0:_0x3de21b[_0x3a8009(0x18b)]();return _0x1a30cb?{..._0x1a30cb}:null;}[_0x43d812(0x15f)](_0x15b03a,_0x2fd03e){const _0x491fe9=_0x43d812;return this[_0x491fe9(0x188)](_0x5acc82=>({..._0x5acc82,'fill':{'fillType':_0x28d687[_0x491fe9(0x121)][_0x491fe9(0x1c5)],'color':_0x15b03a,'opacity':_0x2fd03e}}));}['setGradientFill'](_0x235853,_0x56e54f,_0x412637){const _0x3c20b4=_0x43d812;return _0x56e54f['length']<0x2?(console[_0x3c20b4(0x137)]('[Shape\x20Facade]:\x20Gradient\x20fill\x20requires\x20at\x20least\x20two\x20color\x20stops.'),this):this[_0x3c20b4(0x188)](_0x7a8505=>({..._0x7a8505,'fill':{'fillType':_0x28d687[_0x3c20b4(0x121)][_0x3c20b4(0x16a)],'gradientType':_0x235853,'gradientStops':_0x42ad74[_0x3c20b4(0x162)][_0x3c20b4(0x189)](_0x56e54f),'gradientAngle':_0x412637}}));}[_0x43d812(0x1c9)](_0x119b3,_0x44a046,_0x3568d4={}){const _0x4c4ed3=_0x43d812;return this[_0x4c4ed3(0x188)](_0x7dd3ce=>({..._0x7dd3ce,'fill':{..._0x42ad74['Tools'][_0x4c4ed3(0x189)](_0x3568d4),'fillType':_0x28d687[_0x4c4ed3(0x121)][_0x4c4ed3(0x1ac)],'fillImageSource':_0x119b3,'fillImageSourceType':_0x44a046}}));}[_0x43d812(0x158)](){const _0x50b822=_0x43d812;return this[_0x50b822(0x188)](_0x42e793=>({..._0x42e793,'fill':{'fillType':_0x28d687[_0x50b822(0x121)][_0x50b822(0x105)]}}));}[_0x43d812(0x114)](_0x5afe37){const _0x2487e7=_0x43d812;return this[_0x2487e7(0x188)](_0x38dc03=>({..._0x38dc03,'stroke':_0x42ad74['Tools'][_0x2487e7(0x189)](_0x5afe37)}));}['setStrokeColor'](_0x2c262d){const _0x1477cb=_0x43d812;return this[_0x1477cb(0x15a)](_0x1ce174=>({..._0x1ce174,'color':_0x2c262d,'lineStrokeType':_0x1ce174[_0x1477cb(0x1ad)]===_0x28d687[_0x1477cb(0x1da)][_0x1477cb(0x132)]?_0x28d687['ShapeLineTypeEnum'][_0x1477cb(0x15d)]:_0x1ce174[_0x1477cb(0x1ad)]}));}[_0x43d812(0x134)](_0x5c422d){const _0x2a53ca=_0x43d812;return this[_0x2a53ca(0x15a)](_0xac243b=>({..._0xac243b,'width':_0x5c422d,'lineStrokeType':_0xac243b[_0x2a53ca(0x1ad)]===_0x28d687[_0x2a53ca(0x1da)]['NoLine']?_0x28d687[_0x2a53ca(0x1da)]['SolidLine']:_0xac243b[_0x2a53ca(0x1ad)]}));}['setStrokeOpacity'](_0x90b7a2){const _0x690578=_0x43d812;return this[_0x690578(0x15a)](_0x2f656e=>({..._0x2f656e,'opacity':_0x90b7a2}));}[_0x43d812(0x1d8)](_0x3dac12){const _0x260961=_0x43d812;return this[_0x260961(0x15a)](_0x5b4ffb=>({..._0x5b4ffb,'dashType':_0x3dac12}));}[_0x43d812(0x123)](_0x2b47bd){return this['_patchStroke'](_0x272850=>({..._0x272850,'lineJoinType':_0x2b47bd}));}[_0x43d812(0x139)](_0x595bab){const _0x135442=_0x43d812;return this[_0x135442(0x15a)](_0x9be317=>({..._0x9be317,'capType':_0x595bab}));}['setStrokeLineType'](_0x2a3b52){const _0x172435=_0x43d812;return this[_0x172435(0x15a)](_0x2bce8d=>({..._0x2bce8d,'lineStrokeType':_0x2a3b52}));}[_0x43d812(0x1d4)](_0xe44770){const _0x2006be=_0x43d812;var _0x117797,_0x5831c5,_0x1d60d9;let _0x5ab8ed=_0xe44770[_0x2006be(0x172)],_0x46f32c=_0x5ab8ed&&(_0x2006be(0x12f)in _0x5ab8ed||_0x2006be(0x1bd)in _0x5ab8ed)?this[_0x2006be(0x10e)]():null,_0x38abc1=(_0x117797=(_0x5831c5=_0xe44770[_0x2006be(0x199)])==null?(_0x1d60d9=_0xe44770[_0x2006be(0x172)])==null?void 0x0:_0x1d60d9['shapeType']:_0x5831c5)==null?_0x46f32c:_0x117797,_0x48a849=_0x534e3c(_0xe44770,_0x38abc1!==null&&(0x0,_0x28d687[_0x2006be(0x1b3)])(_0x38abc1));return _0x48a849?(console[_0x2006be(0x137)](_0x2006be(0x1a0)+_0x48a849),this):(this[_0x2006be(0x1a1)](_0x2006be(0x1d4),_0x1de61e=>_0x1de61e[_0x2006be(0x11c)](this[_0x2006be(0x183)],_0xe44770)),this);}[_0x43d812(0x1c0)](){const _0x396ce5=_0x43d812;return this[_0x396ce5(0x1a1)]('remove',_0x1a96cd=>_0x1a96cd[_0x396ce5(0x174)](this['_shapeRef']));}[_0x43d812(0x19c)](){const _0x1203f4=_0x43d812;return this[_0x1203f4(0x1a1)](_0x1203f4(0x1c6),_0x3cfd66=>_0x3cfd66[_0x1203f4(0x19c)](this['_shapeRef'])),this;}['bringForward'](){const _0x29ac32=_0x43d812;return this[_0x29ac32(0x1a1)](_0x29ac32(0x14e),_0x12c39d=>_0x12c39d[_0x29ac32(0x103)](this['_shapeRef'])),this;}[_0x43d812(0x153)](){const _0x472b6b=_0x43d812;return this['_mutate'](_0x472b6b(0x100),_0x5155f3=>_0x5155f3[_0x472b6b(0x153)](this['_shapeRef'])),this;}['sendToBack'](){const _0x483283=_0x43d812;return this['_mutate']('send\x20to\x20back',_0x5c6854=>_0x5c6854[_0x483283(0x1a6)](this[_0x483283(0x183)])),this;}[_0x43d812(0x101)](){const _0x58b4a2=_0x43d812;return this[_0x58b4a2(0x107)]['get'](_0x28d687[_0x58b4a2(0x163)])[_0x58b4a2(0x1a8)](this[_0x58b4a2(0x183)][_0x58b4a2(0x13e)]);}[_0x43d812(0x188)](_0x2fdd65,_0xe6818e){const _0x28410d=_0x43d812;let _0x181a8d=this[_0x28410d(0x15c)]();return _0x181a8d?this[_0x28410d(0x1d4)]({'shapeType':_0xe6818e,'shapeData':_0x2fdd65(_0x181a8d)}):this;}[_0x43d812(0x15a)](_0x26022d){return this['_patchShapeData'](_0x189829=>{const _0x5da1ef=_0x3406;var _0x356b44;return{..._0x189829,'stroke':_0x26022d((_0x356b44=_0x189829[_0x5da1ef(0x17f)])==null?{}:_0x356b44)};});}[_0x43d812(0x11f)](){const _0x430e8d=_0x43d812;let _0x4dcbe1=this[_0x430e8d(0x101)]();if(!_0x4dcbe1)return null;try{return _0x4dcbe1[_0x430e8d(0x191)](this[_0x430e8d(0x183)])||(console[_0x430e8d(0x137)](_0x430e8d(0x148)+this[_0x430e8d(0x183)]['shapeId']+_0x430e8d(0x146)),null);}catch(_0x693293){return console[_0x430e8d(0x137)](_0x430e8d(0x181)+this[_0x430e8d(0x183)][_0x430e8d(0x17c)]+'\x22.',_0x693293),null;}}['_getGeometryModel'](){const _0x35adf8=_0x43d812;let _0x528d15=this[_0x35adf8(0x11f)]();if(!_0x528d15)return null;try{let _0x4c273e=new _0x28d687[(_0x35adf8(0x115))](_0x528d15[_0x35adf8(0x199)],_0x528d15[_0x35adf8(0x17c)],_0x528d15[_0x35adf8(0x172)]);return _0x4c273e[_0x35adf8(0x1ba)]({'width':_0x528d15[_0x35adf8(0x16e)][_0x35adf8(0x177)],'height':_0x528d15[_0x35adf8(0x16e)][_0x35adf8(0x184)]}),_0x4c273e;}catch(_0x18bfcb){return console[_0x35adf8(0x137)]('[Shape\x20Facade]:\x20Failed\x20to\x20resolve\x20geometry\x20for\x20Shape\x20\x22'+this[_0x35adf8(0x183)]['shapeId']+'\x22.',_0x18bfcb),null;}}[_0x43d812(0x1a1)](_0x6f8fd8,_0x492bd1){const _0xd3bd75=_0x43d812;let _0x29e738=this[_0xd3bd75(0x101)]();if(!_0x29e738)return!0x1;try{let _0x2fd56b=_0x492bd1(_0x29e738);return _0x2fd56b||console[_0xd3bd75(0x137)]('[Shape\x20Facade]:\x20Failed\x20to\x20'+_0x6f8fd8+_0xd3bd75(0x1b4)+this[_0xd3bd75(0x183)][_0xd3bd75(0x17c)]+'\x22.'),_0x2fd56b;}catch(_0xf6fa1f){return console[_0xd3bd75(0x137)]('[Shape\x20Facade]:\x20Failed\x20to\x20'+_0x6f8fd8+_0xd3bd75(0x1b4)+this['_shapeRef'][_0xd3bd75(0x17c)]+'\x22.',_0xf6fa1f),!0x1;}}};function _0x534e3c(_0x5224a4,_0x36a633=!0x1){const _0x263f68=_0x43d812;for(let _0x3ecf3d of[_0x263f68(0x11e),'selectable']){let _0xe7f73e=_0x5224a4[_0x3ecf3d];if(_0xe7f73e!==void 0x0&&typeof _0xe7f73e!=_0x263f68(0x113))return _0x263f68(0x173)+_0x3ecf3d+_0x263f68(0x1c8);}let _0x52faf4=_0x5224a4['transform'];if(_0x52faf4){for(let _0x52cb6d of[_0x263f68(0x106),_0x263f68(0x1a2),_0x263f68(0x177),_0x263f68(0x184),_0x263f68(0x116)]){let _0x1daa54=_0x52faf4[_0x52cb6d];if(_0x1daa54!==void 0x0&&!Number[_0x263f68(0x14d)](_0x1daa54))return _0x263f68(0x1b1)+_0x52cb6d+_0x263f68(0x195);}if(_0x52faf4['width']!==void 0x0&&_0x52faf4[_0x263f68(0x177)]<=0x0)return _0x263f68(0x1b7);if(_0x52faf4[_0x263f68(0x184)]!==void 0x0&&_0x52faf4[_0x263f68(0x184)]<=0x0)return _0x263f68(0x108);for(let _0x5672c0 of[_0x263f68(0x1c4),_0x263f68(0x13b)]){let _0x592bcc=_0x52faf4[_0x5672c0];if(_0x592bcc!==void 0x0&&typeof _0x592bcc!=_0x263f68(0x113))return _0x263f68(0x1b1)+_0x5672c0+_0x263f68(0x1c8);}}let _0x30a10f=_0x5224a4[_0x263f68(0x172)];return!_0x36a633&&_0x30a10f&&('relation'in _0x30a10f||_0x263f68(0x1bd)in _0x30a10f)?_0x263f68(0x1ae):null;}var _0x4629fe=class extends _0x1aa40b{[_0x43d812(0x1b3)](){return!0x0;}[_0x43d812(0x18e)](){const _0x5378db=_0x43d812;let _0x3c9d6b=this[_0x5378db(0x176)]();return _0x3c9d6b?_0x42ad74['Tools'][_0x5378db(0x189)](_0x3c9d6b[_0x5378db(0x14f)]):null;}[_0x43d812(0x127)](){const _0x41fbaf=_0x43d812;let _0x501c53=this[_0x41fbaf(0x176)]();return _0x501c53?_0x42ad74[_0x41fbaf(0x162)][_0x41fbaf(0x189)](_0x501c53[_0x41fbaf(0x128)]):null;}[_0x43d812(0x145)](){const _0x18854a=_0x43d812;let _0x3abcdb=this[_0x18854a(0x176)]();return _0x3abcdb?_0x42ad74['Tools'][_0x18854a(0x189)](_0x3abcdb['routePoints']):null;}[_0x43d812(0x149)](){const _0x1adaef=_0x43d812;let _0x521be9=this[_0x1adaef(0x176)]();return _0x521be9?_0x42ad74[_0x1adaef(0x162)][_0x1adaef(0x189)](_0x521be9[_0x1adaef(0x117)]):null;}['getEndArrow'](){const _0x57e031=_0x43d812;let _0x560553=this[_0x57e031(0x176)]();return _0x560553?_0x42ad74[_0x57e031(0x162)]['deepClone'](_0x560553[_0x57e031(0x152)]):null;}[_0x43d812(0x10b)](_0x26ef9d){const _0x246b61=_0x43d812;return(0x0,_0x28d687[_0x246b61(0x1b3)])(_0x26ef9d)?super[_0x246b61(0x10b)](_0x26ef9d):(console[_0x246b61(0x137)](_0x246b61(0x15e)+this['_shapeRef'][_0x246b61(0x17c)]+_0x246b61(0x1d9)),this);}[_0x43d812(0x110)](_0x4c544d){const _0x2f39a6=_0x43d812;return _0x4c544d[_0x2f39a6(0x199)]!==void 0x0&&!(0x0,_0x28d687[_0x2f39a6(0x1b3)])(_0x4c544d[_0x2f39a6(0x199)])?(console[_0x2f39a6(0x137)]('[Shape\x20Facade]:\x20Connector\x20Shape\x20\x22'+this[_0x2f39a6(0x183)][_0x2f39a6(0x17c)]+_0x2f39a6(0x19d)),this):super['setShapeData'](_0x4c544d);}[_0x43d812(0x17a)](_0x4071e6,_0x5865ae){const _0x457534=_0x43d812;return this[_0x457534(0x142)]('start',_0x4071e6,_0x5865ae),this;}[_0x43d812(0x136)](_0x505510,_0x4ae44f){const _0x323063=_0x43d812;return this[_0x323063(0x142)]('end',_0x505510,_0x4ae44f),this;}[_0x43d812(0x10f)](){const _0x53e89a=_0x43d812;return this['_mutateConnector'](_0x53e89a(0x12a),_0x1433fe=>_0x1433fe[_0x53e89a(0x10f)](this[_0x53e89a(0x183)])),this;}[_0x43d812(0x193)](){const _0x3dfb08=_0x43d812;return this[_0x3dfb08(0x13f)]('unbind\x20end',_0x510741=>_0x510741['unbindEnd'](this[_0x3dfb08(0x183)])),this;}[_0x43d812(0x14a)](_0x1e254d){const _0x1678b1=_0x43d812;return _0x2433bb(_0x1e254d,this[_0x1678b1(0x183)][_0x1678b1(0x17c)])&&this['_mutateConnector'](_0x1678b1(0x11a),_0x479f91=>_0x479f91[_0x1678b1(0x14a)](this['_shapeRef'],_0x1e254d)),this;}['setEndPoint'](_0x4ee224){const _0x440962=_0x43d812;return _0x2433bb(_0x4ee224,this['_shapeRef'][_0x440962(0x17c)])&&this[_0x440962(0x13f)]('set\x20end\x20point',_0x1b0c77=>_0x1b0c77[_0x440962(0x12b)](this['_shapeRef'],_0x4ee224)),this;}[_0x43d812(0x170)](_0x3bf838){const _0x176061=_0x43d812;return _0x3bf838[_0x176061(0x17e)](_0x188554=>_0x2433bb(_0x188554,this[_0x176061(0x183)][_0x176061(0x17c)]))&&this[_0x176061(0x13f)](_0x176061(0x12d),_0x48d08d=>_0x48d08d[_0x176061(0x170)](this[_0x176061(0x183)],_0x3bf838)),this;}['setStartArrow'](_0x22220c,_0x5542b9){const _0x4c2bba=_0x43d812;return this['_mutateConnector'](_0x4c2bba(0x19f),_0x3b6f2e=>_0x3b6f2e[_0x4c2bba(0x155)](this[_0x4c2bba(0x183)],_0x22220c,_0x5542b9)),this;}['setEndArrow'](_0x53b360,_0x1877ea){const _0x2eaeea=_0x43d812;return this[_0x2eaeea(0x13f)](_0x2eaeea(0x102),_0x3f7b76=>_0x3f7b76['setEndArrow'](this[_0x2eaeea(0x183)],_0x53b360,_0x1877ea)),this;}[_0x43d812(0x1cd)](){const _0x51ae51=_0x43d812;return this['_injector'][_0x51ae51(0x1a8)](_0x28d687['IConnectorShapeHostAdapter']);}['_getConnectorSnapshot'](){const _0x3538e5=_0x43d812;let _0x2d427c=this[_0x3538e5(0x1cd)]();if(!_0x2d427c)return null;try{return _0x2d427c[_0x3538e5(0x1a5)](this['_shapeRef'])||(console[_0x3538e5(0x137)]('[Shape\x20Facade]:\x20Connector\x20Shape\x20\x22'+this[_0x3538e5(0x183)][_0x3538e5(0x17c)]+_0x3538e5(0x146)),null);}catch(_0x28882c){return console[_0x3538e5(0x137)](_0x3538e5(0x1c3)+this[_0x3538e5(0x183)][_0x3538e5(0x17c)]+'\x22.',_0x28882c),null;}}[_0x43d812(0x142)](_0x489750,_0x1a5784,_0x2a3543){const _0x5366ca=_0x43d812;if(!_0x1a5784||!Number[_0x5366ca(0x1a3)](_0x2a3543)||_0x2a3543<0x0)return console['warn'](_0x5366ca(0x197)+this[_0x5366ca(0x183)]['shapeId']+_0x5366ca(0x10a)),!0x1;let _0x325152={'shapeId':_0x1a5784,'cxnIndex':_0x2a3543};return this[_0x5366ca(0x13f)](_0x5366ca(0x1a9)+_0x489750,_0x1ec878=>_0x489750===_0x5366ca(0x14f)?_0x1ec878['bindStart'](this[_0x5366ca(0x183)],_0x325152):_0x1ec878[_0x5366ca(0x136)](this[_0x5366ca(0x183)],_0x325152));}['_mutateConnector'](_0x491734,_0x30f5e7){const _0x43399f=_0x43d812;let _0x2005d1=this[_0x43399f(0x1cd)]();if(!_0x2005d1)return!0x1;try{let _0x1a998e=_0x30f5e7(_0x2005d1);return _0x1a998e||console[_0x43399f(0x137)](_0x43399f(0x1aa)+_0x491734+_0x43399f(0x131)+this[_0x43399f(0x183)][_0x43399f(0x17c)]+'\x22.'),_0x1a998e;}catch(_0x3b93f2){return console['warn'](_0x43399f(0x1aa)+_0x491734+'\x20Connector\x20Shape\x20\x22'+this[_0x43399f(0x183)][_0x43399f(0x17c)]+'\x22.',_0x3b93f2),!0x1;}}};function _0x2433bb(_0xe21b82,_0x2fdec0){const _0x4bea52=_0x43d812;return!Number[_0x4bea52(0x14d)](_0xe21b82['x'])||!Number[_0x4bea52(0x14d)](_0xe21b82['y'])?(console[_0x4bea52(0x137)](_0x4bea52(0x197)+_0x2fdec0+_0x4bea52(0x143)),!0x1):!0x0;}_0x17addd['FConnectorShape']=_0x4629fe,_0x17addd[_0x43d812(0x17d)]=_0x1aa40b,_0x17addd[_0x43d812(0x14b)]=_0x455b6d;}));
|