@univerjs-pro/engine-shape 1.0.0-alpha.5 → 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 CHANGED
@@ -1 +1 @@
1
- const _0x5b147c=_0x5cb5;(function(_0x3ff251,_0x71d267){const _0x1646b9=_0x5cb5,_0x173e55=_0x3ff251();while(!![]){try{const _0x216a02=-parseInt(_0x1646b9(0x1db))/0x1*(parseInt(_0x1646b9(0x1f0))/0x2)+parseInt(_0x1646b9(0x1fc))/0x3*(parseInt(_0x1646b9(0x223))/0x4)+-parseInt(_0x1646b9(0x230))/0x5+-parseInt(_0x1646b9(0x1a1))/0x6*(-parseInt(_0x1646b9(0x216))/0x7)+-parseInt(_0x1646b9(0x17e))/0x8*(parseInt(_0x1646b9(0x167))/0x9)+parseInt(_0x1646b9(0x209))/0xa*(parseInt(_0x1646b9(0x188))/0xb)+parseInt(_0x1646b9(0x201))/0xc;if(_0x216a02===_0x71d267)break;else _0x173e55['push'](_0x173e55['shift']());}catch(_0x606ec2){_0x173e55['push'](_0x173e55['shift']());}}}(_0x2159,0x7af90),Object['defineProperty'](exports,Symbol['toStringTag'],{'value':_0x5b147c(0x181)}));let e=require('@univerjs-pro/engine-shape'),t=require('@univerjs/core/facade'),n=require('@univerjs/core');var r=class extends t[_0x5b147c(0x22a)]{get[_0x5b147c(0x1a3)](){const _0x3e22b9=_0x5b147c;return e[_0x3e22b9(0x1a3)];}get['ShapeFillEnum'](){const _0x327c0e=_0x5b147c;return e[_0x327c0e(0x1c8)];}get[_0x5b147c(0x1ac)](){const _0x269f61=_0x5b147c;return e[_0x269f61(0x1ac)];}get[_0x5b147c(0x228)](){return e['ImageFillModeEnum'];}get[_0x5b147c(0x1ab)](){const _0x25a11b=_0x5b147c;return e[_0x25a11b(0x17b)];}get['ShapeLineTypeEnum'](){const _0x328e90=_0x5b147c;return e[_0x328e90(0x233)];}get['ShapeLineDashEnum'](){return e['ShapeLineDashEnum'];}get[_0x5b147c(0x22b)](){const _0x4f1657=_0x5b147c;return e[_0x4f1657(0x22b)];}get[_0x5b147c(0x1b7)](){const _0x5f1439=_0x5b147c;return e[_0x5f1439(0x1b7)];}get[_0x5b147c(0x1a9)](){return e['ShapeOperatorEnum'];}get[_0x5b147c(0x15c)](){return e['ShapeArrowTypeEnum'];}get[_0x5b147c(0x182)](){return e['ShapeArrowSizeEnum'];}get['ShapeTextAutoFitType'](){const _0x319f23=_0x5b147c;return e[_0x319f23(0x1dd)];}get[_0x5b147c(0x1f7)](){const _0x36effe=_0x5b147c;return e[_0x36effe(0x1f7)];}get[_0x5b147c(0x1bd)](){const _0x146630=_0x5b147c;return e[_0x146630(0x1bd)];}};t['FEnum'][_0x5b147c(0x17d)](r);function i(_0x79143f){const _0x57760e=_0x5b147c;switch(_0x79143f){case e[_0x57760e(0x1ac)][_0x57760e(0x16e)]:return _0x57760e(0x1eb);case e[_0x57760e(0x1ac)][_0x57760e(0x22d)]:return _0x57760e(0x1f9);case e[_0x57760e(0x1ac)][_0x57760e(0x192)]:return'diamond';case e[_0x57760e(0x1ac)][_0x57760e(0x1a4)]:default:return'linear';}}function a(_0x1f6359){const _0x55d844=_0x5b147c;return _0x1f6359===e['ImageFillModeEnum'][_0x55d844(0x1ae)]?_0x55d844(0x1b2):'stretch';}var o=class{constructor(_0x5b543a,_0x3447c5){const _0x48fe42=_0x5b147c;this[_0x48fe42(0x1e0)]=_0x5b543a,this[_0x48fe42(0x179)]=_0x3447c5;}[_0x5b147c(0x178)](){const _0x1a7b19=_0x5b147c;var _0x1a11ff;return(0x0,e[_0x1a7b19(0x1e6)])((_0x1a11ff=this[_0x1a7b19(0x160)]())==null?void 0x0:_0x1a11ff[_0x1a7b19(0x176)]);}[_0x5b147c(0x1d6)](){var _0x1325a6,_0x209716;return(_0x1325a6=(_0x209716=this['getRichText']())==null?void 0x0:_0x209716['toPlainText']())==null?null:_0x1325a6;}[_0x5b147c(0x1f1)](_0x39f163){const _0x573304=_0x5b147c;return this[_0x573304(0x18c)](_0x212993=>({..._0x212993,'shapeText':(0x0,e[_0x573304(0x21c)])(_0x212993[_0x573304(0x176)],_0x39f163)})),this;}[_0x5b147c(0x219)](_0x137859){const _0x44a50e=_0x5b147c;return this[_0x44a50e(0x18c)](_0x35f22c=>({..._0x35f22c,'shapeText':(0x0,e['applyTextToShapeText'])(_0x35f22c[_0x44a50e(0x176)],_0x137859)})),this;}['setTextStyle'](_0x32e393){const _0x10edc6=_0x5b147c;return this[_0x10edc6(0x18c)](_0x29e73b=>({..._0x29e73b,'shapeText':(0x0,e[_0x10edc6(0x222)])(_0x29e73b['shapeText'],_0x32e393)})),this;}['setColor'](_0x2708b4,_0x230b89){const _0x2ff597=_0x5b147c;return this[_0x2ff597(0x1c1)]({'cl':{'rgb':_0x2708b4},'textFill':{'type':_0x2ff597(0x19d),'color':_0x2708b4,'opacity':_0x230b89}});}[_0x5b147c(0x1d2)](){const _0x258f83=_0x5b147c;return this[_0x258f83(0x1c1)]({'cl':{'rgb':_0x258f83(0x174)},'textFill':{'type':_0x258f83(0x1b4)}});}[_0x5b147c(0x218)](_0x5915d0,_0x8c358f,_0x297be3){const _0x28a371=_0x5b147c;return _0x8c358f[_0x28a371(0x1f2)]<0x2?(console['warn'](_0x28a371(0x1ef)),this):this[_0x28a371(0x1c1)]({'cl':{'rgb':_0x8c358f[0x0][_0x28a371(0x1e5)]},'textFill':{'type':_0x28a371(0x1d9),'gradient':{'type':i(_0x5915d0),'angle':_0x297be3,'stops':_0x8c358f['map'](({position:_0x2bde65,color:_0x342706,opacity:_0xb5785d})=>({'offset':_0x2bde65,'color':_0x342706,'opacity':_0xb5785d}))}}});}[_0x5b147c(0x199)](_0x388517,_0x3985c5=e['ImageSourceTypeEnum'][_0x5b147c(0x185)],_0x86c79={}){const _0x28efd3=_0x5b147c;return this[_0x28efd3(0x1c1)]({'textFill':{'type':_0x28efd3(0x200),'picture':{'source':_0x388517,'sourceType':_0x3985c5,'opacity':_0x86c79[_0x28efd3(0x1a0)],'mode':a(_0x86c79[_0x28efd3(0x196)]),'scaleX':_0x86c79[_0x28efd3(0x1d5)],'scaleY':_0x86c79[_0x28efd3(0x1a7)],'offsetX':_0x86c79[_0x28efd3(0x221)],'offsetY':_0x86c79[_0x28efd3(0x1fa)]}}});}[_0x5b147c(0x1bc)](_0x1bff76){return this['setTextStyle']({'fs':_0x1bff76});}[_0x5b147c(0x204)](_0x4bce22){return this['setTextStyle']({'ff':_0x4bce22});}['setBold'](_0x922c0d){const _0x4fd5b5=_0x5b147c;return this['setTextStyle']({'bl':_0x922c0d?n['BooleanNumber'][_0x4fd5b5(0x168)]:n[_0x4fd5b5(0x162)]['FALSE']});}['setItalic'](_0x3638dd){const _0x3ebe37=_0x5b147c;return this[_0x3ebe37(0x1c1)]({'it':_0x3638dd?n[_0x3ebe37(0x162)][_0x3ebe37(0x168)]:n[_0x3ebe37(0x162)][_0x3ebe37(0x1c9)]});}[_0x5b147c(0x1cb)](_0x1f244e){const _0x22bcc4=_0x5b147c;return this[_0x22bcc4(0x1c1)]({'ul':{'s':_0x1f244e?n['BooleanNumber']['TRUE']:n[_0x22bcc4(0x162)][_0x22bcc4(0x1c9)]}});}[_0x5b147c(0x171)](_0xb54c6a){const _0x54de4b=_0x5b147c;return this[_0x54de4b(0x1c1)]({'st':{'s':_0xb54c6a?n['BooleanNumber']['TRUE']:n[_0x54de4b(0x162)][_0x54de4b(0x1c9)]}});}['setHorizontalAlign'](_0x6bad95){const _0x23bdfe=_0x5b147c;return this['_updateShapeData'](_0x3018db=>(0x0,e[_0x23bdfe(0x18a)])(_0x3018db,{'horizontalAlign':_0x6bad95})),this;}[_0x5b147c(0x21f)](_0x35f7d2){const _0x308a43=_0x5b147c;return this['_updateShapeData'](_0x1befa6=>(0x0,e[_0x308a43(0x18a)])(_0x1befa6,{'verticalAlign':_0x35f7d2})),this;}[_0x5b147c(0x1c5)](){const _0x54a8a1=_0x5b147c;let _0x3ae657=this['_getShapeData']();return _0x3ae657?(0x0,e[_0x54a8a1(0x1c2)])(_0x3ae657):null;}['setTextBoxOptions'](_0x3cc3d1){const _0xb565bf=_0x5b147c;return this[_0xb565bf(0x18c)](_0x486e25=>(0x0,e[_0xb565bf(0x190)])(_0x486e25,_0x3cc3d1)),this;}[_0x5b147c(0x191)](){const _0x341dac=_0x5b147c;return this[_0x341dac(0x179)]['get'](e['IShapeHostAdapterRegistry'])[_0x341dac(0x22e)](this[_0x341dac(0x1e0)][_0x341dac(0x1b6)]);}[_0x5b147c(0x160)](){const _0x74e654=_0x5b147c;let _0x10cf90=this[_0x74e654(0x191)]();if(!_0x10cf90)return null;try{var _0x503c3b;return((_0x503c3b=_0x10cf90[_0x74e654(0x202)](this[_0x74e654(0x1e0)]))==null?void 0x0:_0x503c3b['shapeData'])||(console['warn'](_0x74e654(0x17c)+this[_0x74e654(0x1e0)]['shapeId']+_0x74e654(0x15f)),null);}catch(_0x2d4e66){return console[_0x74e654(0x161)](_0x74e654(0x1d8)+this['_shapeRef'][_0x74e654(0x1e9)]+_0x74e654(0x18e),_0x2d4e66),null;}}['_updateShapeData'](_0x7c1f0a){const _0x1cffcd=_0x5b147c;let _0x4455fd=this['_getAdapter']();if(!_0x4455fd)return!0x1;try{var _0x53a014;let _0x3fea57=(_0x53a014=_0x4455fd[_0x1cffcd(0x202)](this[_0x1cffcd(0x1e0)]))==null?void 0x0:_0x53a014[_0x1cffcd(0x15e)];if(!_0x3fea57)return console['warn']('[Shape\x20Text\x20Facade]:\x20Shape\x20\x22'+this[_0x1cffcd(0x1e0)]['shapeId']+_0x1cffcd(0x15f)),!0x1;let _0x11d46a=_0x4455fd[_0x1cffcd(0x208)](this[_0x1cffcd(0x1e0)],{'shapeData':_0x7c1f0a(_0x3fea57)});return _0x11d46a||console[_0x1cffcd(0x161)](_0x1cffcd(0x21e)+this[_0x1cffcd(0x1e0)][_0x1cffcd(0x1e9)]+_0x1cffcd(0x18e)),_0x11d46a;}catch(_0x117b57){return console[_0x1cffcd(0x161)](_0x1cffcd(0x21e)+this[_0x1cffcd(0x1e0)][_0x1cffcd(0x1e9)]+_0x1cffcd(0x18e),_0x117b57),!0x1;}}},s=class extends t['FBase']{constructor(_0x3d84cd,_0x41f109){const _0xcc33f4=_0x5b147c;super(),this[_0xcc33f4(0x1e0)]=_0x3d84cd,this[_0xcc33f4(0x179)]=_0x41f109;}['isConnectorShape'](){return!0x1;}[_0x5b147c(0x1f6)](){const _0x3c4785=_0x5b147c;return this['_shapeRef'][_0x3c4785(0x1e9)];}[_0x5b147c(0x1ca)](){const _0x76eedf=_0x5b147c;var _0x533ceb;return(_0x533ceb=this[_0x76eedf(0x1ed)]())==null?void 0x0:_0x533ceb[_0x76eedf(0x1a8)];}['setName'](_0x13ae83){const _0x33d7b3=_0x5b147c;return this[_0x33d7b3(0x1fe)]({'name':_0x13ae83});}[_0x5b147c(0x226)](){const _0x1484ea=_0x5b147c;var _0x4b2706;return(_0x4b2706=this[_0x1484ea(0x1ed)]())==null?void 0x0:_0x4b2706['description'];}[_0x5b147c(0x18b)](_0x375a04){const _0x3659b7=_0x5b147c;return this[_0x3659b7(0x1fe)]({'description':_0x375a04});}[_0x5b147c(0x1b1)](){const _0xca16f4=_0x5b147c;return this[_0xca16f4(0x1e0)]['hostType'];}['getShapeType'](){const _0x32f196=_0x5b147c;var _0x3cb3e2,_0x2227f4;return(_0x3cb3e2=(_0x2227f4=this['_getSnapshot']())==null?void 0x0:_0x2227f4[_0x32f196(0x1c0)])==null?null:_0x3cb3e2;}[_0x5b147c(0x177)](){const _0x1b4793=_0x5b147c;let _0x22ca42=this[_0x1b4793(0x1ed)]();return _0x22ca42?n['Tools'][_0x1b4793(0x17a)](_0x22ca42[_0x1b4793(0x15e)]):null;}[_0x5b147c(0x1e7)](){const _0x3b44f3=_0x5b147c;let _0x3f6706=this[_0x3b44f3(0x1ed)]();return _0x3f6706?n['Tools'][_0x3b44f3(0x17a)](_0x3f6706):null;}['getTransform'](){const _0x4a59f5=_0x5b147c;let _0x32fe6e=this[_0x4a59f5(0x1ed)]();return _0x32fe6e?{..._0x32fe6e[_0x4a59f5(0x180)]}:null;}[_0x5b147c(0x16f)](){const _0x5aa750=_0x5b147c;var _0x4eac5b,_0x23176c;return(_0x4eac5b=(_0x23176c=this[_0x5aa750(0x1ed)]())==null?void 0x0:_0x23176c['visible'])==null?!0x1:_0x4eac5b;}[_0x5b147c(0x1a5)](_0x473c4a){const _0x4c7e1e=_0x5b147c;return this[_0x4c7e1e(0x1fe)]({'visible':_0x473c4a});}[_0x5b147c(0x1b5)](){const _0xd0a163=_0x5b147c;var _0x37b283,_0x2d5ae2;return(_0x37b283=(_0x2d5ae2=this[_0xd0a163(0x1ed)]())==null?void 0x0:_0x2d5ae2[_0xd0a163(0x187)])==null?!0x1:_0x37b283;}[_0x5b147c(0x1a6)](_0x43ab3f){return this['update']({'selectable':_0x43ab3f});}[_0x5b147c(0x1ba)](){const _0x13b28d=_0x5b147c;return this[_0x13b28d(0x179)][_0x13b28d(0x205)](o,this[_0x13b28d(0x1e0)],this[_0x13b28d(0x179)]);}[_0x5b147c(0x1c7)](){const _0x2d5ddc=_0x5b147c;let _0x2541e9=this[_0x2d5ddc(0x177)]();return(_0x2541e9==null?void 0x0:_0x2541e9[_0x2d5ddc(0x207)])===!0x0&&!!_0x2541e9['customGeometry'];}[_0x5b147c(0x16a)](){const _0x26e8c4=_0x5b147c;var _0x4d61d6,_0x4b1ce4;return(_0x4d61d6=(_0x4b1ce4=this['getShapeData']())==null?void 0x0:_0x4b1ce4[_0x26e8c4(0x1e1)])==null?null:_0x4d61d6;}[_0x5b147c(0x1e8)](_0x53cdfe){const _0x42d1f5=_0x5b147c;return this[_0x42d1f5(0x211)](_0x3d4858=>({..._0x3d4858,'shapeType':_0x53cdfe}),_0x53cdfe);}[_0x5b147c(0x1be)](_0x1288e4){const _0x5b3ac7=_0x5b147c;let _0x1401f3=n[_0x5b3ac7(0x16c)]['deepClone'](_0x1288e4);return this[_0x5b3ac7(0x1fe)]({'shapeType':_0x1401f3[_0x5b3ac7(0x1c0)],'shapeData':_0x1401f3});}[_0x5b147c(0x16b)](_0x57e149){const _0x1aad63=_0x5b147c;return this[_0x1aad63(0x1fe)]({'transform':_0x57e149});}[_0x5b147c(0x165)](_0x4135be,_0xeabc05){return this['setTransform']({'width':_0x4135be,'height':_0xeabc05});}[_0x5b147c(0x1c3)](_0x35883a){return this['setTransform']({'rotation':_0x35883a});}[_0x5b147c(0x229)](_0x20dbb8,_0x25b8c5){const _0x35d987=_0x5b147c;return this[_0x35d987(0x16b)]({'left':_0x20dbb8,'top':_0x25b8c5});}[_0x5b147c(0x22f)](_0x20e30c){const _0x4479e6=_0x5b147c;let _0x42918c=n[_0x4479e6(0x16c)][_0x4479e6(0x17a)](_0x20e30c);return this[_0x4479e6(0x211)](_0x52dd29=>({..._0x52dd29,'isCustom':!0x0,'customGeometry':_0x42918c}));}['getConnectionSites'](){const _0x4cb78=_0x5b147c;var _0xa82791,_0x2c9755;return(_0xa82791=(_0x2c9755=this[_0x4cb78(0x1bf)]())==null?void 0x0:_0x2c9755['getConnectionSiteList']()[_0x4cb78(0x172)](_0x861e62=>({..._0x861e62})))==null?[]:_0xa82791;}['getAdjustPoints'](){const _0x2043d1=_0x5b147c;var _0x38a650,_0x5ef3d3;return(_0x38a650=(_0x5ef3d3=this[_0x2043d1(0x1bf)]())==null?void 0x0:_0x5ef3d3[_0x2043d1(0x193)]()[_0x2043d1(0x172)](_0x78734f=>({..._0x78734f})))==null?[]:_0x38a650;}['getStartConnectInfo'](){const _0xa3154e=_0x5b147c;var _0x1b29d8;let _0x23e3d8=(_0x1b29d8=this['_getGeometryModel']())==null?void 0x0:_0x1b29d8[_0xa3154e(0x212)]();return _0x23e3d8?{..._0x23e3d8}:null;}[_0x5b147c(0x1dc)](){const _0xa54e5=_0x5b147c;var _0x1128e6;let _0x5b68e9=(_0x1128e6=this[_0xa54e5(0x1bf)]())==null?void 0x0:_0x1128e6[_0xa54e5(0x1dc)]();return _0x5b68e9?{..._0x5b68e9}:null;}[_0x5b147c(0x1ee)](_0x1d13e1,_0x13b3a6){const _0xbe142e=_0x5b147c;return this[_0xbe142e(0x211)](_0x47a6d3=>({..._0x47a6d3,'fill':{'fillType':e[_0xbe142e(0x1c8)][_0xbe142e(0x21a)],'color':_0x1d13e1,'opacity':_0x13b3a6}}));}[_0x5b147c(0x218)](_0x29cdcc,_0x24cb18,_0x1f9856){const _0xb24ade=_0x5b147c;return _0x24cb18['length']<0x2?(console[_0xb24ade(0x161)](_0xb24ade(0x214)),this):this[_0xb24ade(0x211)](_0x17c4c5=>({..._0x17c4c5,'fill':{'fillType':e[_0xb24ade(0x1c8)]['GradientFill'],'gradientType':_0x29cdcc,'gradientStops':n['Tools']['deepClone'](_0x24cb18),'gradientAngle':_0x1f9856}}));}['setImageFill'](_0x3d7f33,_0x2be368,_0x33b599={}){const _0x15c57f=_0x5b147c;return this[_0x15c57f(0x211)](_0x403d91=>({..._0x403d91,'fill':{...n[_0x15c57f(0x16c)][_0x15c57f(0x17a)](_0x33b599),'fillType':e[_0x15c57f(0x1c8)][_0x15c57f(0x1bb)],'fillImageSource':_0x3d7f33,'fillImageSourceType':_0x2be368}}));}[_0x5b147c(0x1d2)](){const _0x2d3c65=_0x5b147c;return this[_0x2d3c65(0x211)](_0x38467b=>({..._0x38467b,'fill':{'fillType':e[_0x2d3c65(0x1c8)]['NoFill']}}));}['setStroke'](_0x555da6){const _0x578efe=_0x5b147c;return this[_0x578efe(0x211)](_0x1403dc=>({..._0x1403dc,'stroke':n['Tools']['deepClone'](_0x555da6)}));}['setStrokeColor'](_0x32329c){const _0x1f7887=_0x5b147c;return this[_0x1f7887(0x1e4)](_0x561cb2=>({..._0x561cb2,'color':_0x32329c,'lineStrokeType':_0x561cb2[_0x1f7887(0x197)]===e[_0x1f7887(0x233)][_0x1f7887(0x194)]?e[_0x1f7887(0x233)][_0x1f7887(0x18f)]:_0x561cb2[_0x1f7887(0x197)]}));}[_0x5b147c(0x1af)](_0x3503b2){const _0x13a7b1=_0x5b147c;return this[_0x13a7b1(0x1e4)](_0x7606e=>({..._0x7606e,'width':_0x3503b2,'lineStrokeType':_0x7606e[_0x13a7b1(0x197)]===e['ShapeLineTypeEnum'][_0x13a7b1(0x194)]?e['ShapeLineTypeEnum']['SolidLine']:_0x7606e[_0x13a7b1(0x197)]}));}[_0x5b147c(0x231)](_0xd7458){const _0x400a6d=_0x5b147c;return this[_0x400a6d(0x1e4)](_0x5bc76a=>({..._0x5bc76a,'opacity':_0xd7458}));}[_0x5b147c(0x1cf)](_0x40353c){return this['_patchStroke'](_0x36c565=>({..._0x36c565,'dashType':_0x40353c}));}['setStrokeLineJoinType'](_0x1ba68e){const _0x5039d2=_0x5b147c;return this[_0x5039d2(0x1e4)](_0x295470=>({..._0x295470,'lineJoinType':_0x1ba68e}));}[_0x5b147c(0x1d0)](_0x5b5f51){const _0x2fc242=_0x5b147c;return this[_0x2fc242(0x1e4)](_0x1edbcf=>({..._0x1edbcf,'capType':_0x5b5f51}));}[_0x5b147c(0x210)](_0x1e7cb6){const _0x4cd018=_0x5b147c;return this[_0x4cd018(0x1e4)](_0x14b8f8=>({..._0x14b8f8,'lineStrokeType':_0x1e7cb6}));}['update'](_0x46cf37){const _0x262621=_0x5b147c;var _0x5d927e,_0x15ab7e,_0x5ec7c0;let _0x362c8b=_0x46cf37[_0x262621(0x15e)],_0x477e7c=_0x362c8b&&(_0x262621(0x19c)in _0x362c8b||'points'in _0x362c8b)?this[_0x262621(0x220)]():null,_0x5bd034=(_0x5d927e=(_0x15ab7e=_0x46cf37['shapeType'])==null?(_0x5ec7c0=_0x46cf37['shapeData'])==null?void 0x0:_0x5ec7c0[_0x262621(0x1c0)]:_0x15ab7e)==null?_0x477e7c:_0x5d927e,_0x5dfa88=c(_0x46cf37,_0x5bd034!==null&&(0x0,e[_0x262621(0x225)])(_0x5bd034));return _0x5dfa88?(console[_0x262621(0x161)](_0x262621(0x195)+_0x5dfa88),this):(this['_mutate'](_0x262621(0x1fe),_0x112fc3=>_0x112fc3['updateShape'](this['_shapeRef'],_0x46cf37)),this);}[_0x5b147c(0x17f)](){const _0xd10439=_0x5b147c;return this[_0xd10439(0x21d)](_0xd10439(0x17f),_0xada337=>_0xada337[_0xd10439(0x1d4)](this['_shapeRef']));}['bringToFront'](){const _0xf9f2ed=_0x5b147c;return this['_mutate'](_0xf9f2ed(0x1d3),_0x5e628b=>_0x5e628b[_0xf9f2ed(0x19b)](this[_0xf9f2ed(0x1e0)])),this;}[_0x5b147c(0x20e)](){const _0x2ada52=_0x5b147c;return this[_0x2ada52(0x21d)](_0x2ada52(0x164),_0x5ca584=>_0x5ca584[_0x2ada52(0x20e)](this['_shapeRef'])),this;}['sendBackward'](){const _0xb4d47f=_0x5b147c;return this[_0xb4d47f(0x21d)](_0xb4d47f(0x1ea),_0x16d322=>_0x16d322['sendBackward'](this[_0xb4d47f(0x1e0)])),this;}[_0x5b147c(0x1aa)](){const _0x215d88=_0x5b147c;return this[_0x215d88(0x21d)]('send\x20to\x20back',_0x41ee71=>_0x41ee71['sendToBack'](this[_0x215d88(0x1e0)])),this;}[_0x5b147c(0x191)](){const _0x442e7d=_0x5b147c;return this[_0x442e7d(0x179)][_0x442e7d(0x22e)](e[_0x442e7d(0x175)])[_0x442e7d(0x22e)](this[_0x442e7d(0x1e0)][_0x442e7d(0x1b6)]);}['_patchShapeData'](_0x68a03e,_0x5482d4){const _0x56ec02=_0x5b147c;let _0x4afab2=this[_0x56ec02(0x177)]();return _0x4afab2?this[_0x56ec02(0x1fe)]({'shapeType':_0x5482d4,'shapeData':_0x68a03e(_0x4afab2)}):this;}[_0x5b147c(0x1e4)](_0x2914e8){const _0x127349=_0x5b147c;return this[_0x127349(0x211)](_0x83e76d=>{const _0x1bbfab=_0x127349;var _0x30a545;return{..._0x83e76d,'stroke':_0x2914e8((_0x30a545=_0x83e76d[_0x1bbfab(0x1e2)])==null?{}:_0x30a545)};});}['_getSnapshot'](){const _0x183488=_0x5b147c;let _0xbc88a8=this[_0x183488(0x191)]();if(!_0xbc88a8)return null;try{return _0xbc88a8[_0x183488(0x202)](this[_0x183488(0x1e0)])||(console[_0x183488(0x161)](_0x183488(0x224)+this['_shapeRef'][_0x183488(0x1e9)]+_0x183488(0x15f)),null);}catch(_0x5dccd4){return console[_0x183488(0x161)](_0x183488(0x1a2)+this[_0x183488(0x1e0)][_0x183488(0x1e9)]+'\x22.',_0x5dccd4),null;}}[_0x5b147c(0x1bf)](){const _0x1d77b5=_0x5b147c;let _0x108dfc=this[_0x1d77b5(0x1ed)]();if(!_0x108dfc)return null;try{let _0xd98f18=new e[(_0x1d77b5(0x166))](_0x108dfc[_0x1d77b5(0x1c0)],_0x108dfc[_0x1d77b5(0x1e9)],_0x108dfc[_0x1d77b5(0x15e)]);return _0xd98f18[_0x1d77b5(0x22c)]({'width':_0x108dfc[_0x1d77b5(0x180)][_0x1d77b5(0x183)],'height':_0x108dfc['transform'][_0x1d77b5(0x20b)]}),_0xd98f18;}catch(_0x27ebc1){return console[_0x1d77b5(0x161)](_0x1d77b5(0x19f)+this[_0x1d77b5(0x1e0)][_0x1d77b5(0x1e9)]+'\x22.',_0x27ebc1),null;}}[_0x5b147c(0x21d)](_0x30986a,_0xc68c08){const _0x5271ae=_0x5b147c;let _0x4b679f=this[_0x5271ae(0x191)]();if(!_0x4b679f)return!0x1;try{let _0x4f3476=_0xc68c08(_0x4b679f);return _0x4f3476||console[_0x5271ae(0x161)](_0x5271ae(0x215)+_0x30986a+_0x5271ae(0x20a)+this['_shapeRef']['shapeId']+'\x22.'),_0x4f3476;}catch(_0x3d5aa6){return console[_0x5271ae(0x161)](_0x5271ae(0x215)+_0x30986a+_0x5271ae(0x20a)+this[_0x5271ae(0x1e0)][_0x5271ae(0x1e9)]+'\x22.',_0x3d5aa6),!0x1;}}};function c(_0x194592,_0x4c4eeb=!0x1){const _0xad7f8d=_0x5b147c;for(let _0x7f44a7 of[_0xad7f8d(0x213),_0xad7f8d(0x187)]){let _0x312379=_0x194592[_0x7f44a7];if(_0x312379!==void 0x0&&typeof _0x312379!=_0xad7f8d(0x1fb))return _0xad7f8d(0x1f3)+_0x7f44a7+_0xad7f8d(0x1d1);}let _0xb5d032=_0x194592['transform'];if(_0xb5d032){for(let _0x11bba5 of[_0xad7f8d(0x169),_0xad7f8d(0x19e),_0xad7f8d(0x183),_0xad7f8d(0x20b),_0xad7f8d(0x1da)]){let _0x2cd36a=_0xb5d032[_0x11bba5];if(_0x2cd36a!==void 0x0&&!Number[_0xad7f8d(0x1d7)](_0x2cd36a))return _0xad7f8d(0x1b3)+_0x11bba5+'\x22\x20must\x20be\x20finite.';}if(_0xb5d032[_0xad7f8d(0x183)]!==void 0x0&&_0xb5d032[_0xad7f8d(0x183)]<=0x0)return'Shape\x20width\x20must\x20be\x20greater\x20than\x20zero.';if(_0xb5d032[_0xad7f8d(0x20b)]!==void 0x0&&_0xb5d032[_0xad7f8d(0x20b)]<=0x0)return _0xad7f8d(0x1e3);for(let _0x4ee16b of['flipX',_0xad7f8d(0x184)]){let _0x4aded8=_0xb5d032[_0x4ee16b];if(_0x4aded8!==void 0x0&&typeof _0x4aded8!=_0xad7f8d(0x1fb))return _0xad7f8d(0x1b3)+_0x4ee16b+_0xad7f8d(0x1d1);}}let _0x751014=_0x194592[_0xad7f8d(0x15e)];return!_0x4c4eeb&&_0x751014&&(_0xad7f8d(0x19c)in _0x751014||_0xad7f8d(0x1df)in _0x751014)?_0xad7f8d(0x163):null;}var l=class extends s{[_0x5b147c(0x225)](){return!0x0;}['getStartEndpoint'](){const _0x3de9db=_0x5b147c;let _0x2ac8dd=this['_getConnectorSnapshot']();return _0x2ac8dd?n[_0x3de9db(0x16c)][_0x3de9db(0x17a)](_0x2ac8dd[_0x3de9db(0x173)]):null;}[_0x5b147c(0x170)](){const _0x38d9a6=_0x5b147c;let _0x1bc673=this[_0x38d9a6(0x1ff)]();return _0x1bc673?n[_0x38d9a6(0x16c)][_0x38d9a6(0x17a)](_0x1bc673[_0x38d9a6(0x198)]):null;}[_0x5b147c(0x1de)](){const _0x2c5c87=_0x5b147c;let _0x309efe=this[_0x2c5c87(0x1ff)]();return _0x309efe?n[_0x2c5c87(0x16c)][_0x2c5c87(0x17a)](_0x309efe[_0x2c5c87(0x1b0)]):null;}[_0x5b147c(0x20d)](){const _0x3289be=_0x5b147c;let _0x18ac0f=this[_0x3289be(0x1ff)]();return _0x18ac0f?n[_0x3289be(0x16c)]['deepClone'](_0x18ac0f[_0x3289be(0x1ec)]):null;}[_0x5b147c(0x1b9)](){const _0x22e9a7=_0x5b147c;let _0x428269=this['_getConnectorSnapshot']();return _0x428269?n[_0x22e9a7(0x16c)][_0x22e9a7(0x17a)](_0x428269['endArrow']):null;}['setShapeType'](_0x332611){const _0x158267=_0x5b147c;return(0x0,e[_0x158267(0x225)])(_0x332611)?super[_0x158267(0x1e8)](_0x332611):(console[_0x158267(0x161)](_0x158267(0x15d)+this[_0x158267(0x1e0)]['shapeId']+_0x158267(0x1cc)),this);}[_0x5b147c(0x1be)](_0x48abee){const _0xe7abad=_0x5b147c;return _0x48abee[_0xe7abad(0x1c0)]!==void 0x0&&!(0x0,e[_0xe7abad(0x225)])(_0x48abee[_0xe7abad(0x1c0)])?(console[_0xe7abad(0x161)](_0xe7abad(0x15d)+this['_shapeRef'][_0xe7abad(0x1e9)]+'\x22\x20requires\x20Connector\x20Shape\x20data.'),this):super['setShapeData'](_0x48abee);}[_0x5b147c(0x232)](_0x2fcd15,_0x9f69c2){const _0xa6f8db=_0x5b147c;return this[_0xa6f8db(0x20c)](_0xa6f8db(0x173),_0x2fcd15,_0x9f69c2),this;}[_0x5b147c(0x206)](_0x6510fc,_0x2ce698){const _0x1a8ff5=_0x5b147c;return this[_0x1a8ff5(0x20c)](_0x1a8ff5(0x198),_0x6510fc,_0x2ce698),this;}[_0x5b147c(0x1f4)](){const _0x5e7139=_0x5b147c;return this[_0x5e7139(0x1cd)](_0x5e7139(0x186),_0x17e8eb=>_0x17e8eb[_0x5e7139(0x1f4)](this[_0x5e7139(0x1e0)])),this;}['unbindEnd'](){const _0x40ac10=_0x5b147c;return this[_0x40ac10(0x1cd)](_0x40ac10(0x20f),_0x77cd8a=>_0x77cd8a['unbindEnd'](this[_0x40ac10(0x1e0)])),this;}['setStartPoint'](_0x24565a){const _0x3a824b=_0x5b147c;return u(_0x24565a,this[_0x3a824b(0x1e0)][_0x3a824b(0x1e9)])&&this[_0x3a824b(0x1cd)]('set\x20start\x20point',_0xcdd6f4=>_0xcdd6f4[_0x3a824b(0x1fd)](this[_0x3a824b(0x1e0)],_0x24565a)),this;}['setEndPoint'](_0x18383c){const _0xa4ed71=_0x5b147c;return u(_0x18383c,this[_0xa4ed71(0x1e0)]['shapeId'])&&this['_mutateConnector']('set\x20end\x20point',_0x10e748=>_0x10e748[_0xa4ed71(0x203)](this[_0xa4ed71(0x1e0)],_0x18383c)),this;}[_0x5b147c(0x1f8)](_0xb70169){const _0x56dda5=_0x5b147c;return _0xb70169['every'](_0x865c0e=>u(_0x865c0e,this[_0x56dda5(0x1e0)][_0x56dda5(0x1e9)]))&&this[_0x56dda5(0x1cd)]('set\x20route\x20points',_0x33faf8=>_0x33faf8[_0x56dda5(0x1f8)](this[_0x56dda5(0x1e0)],_0xb70169)),this;}[_0x5b147c(0x1ce)](_0x4cc210,_0x1542f9){const _0x27230a=_0x5b147c;return this['_mutateConnector'](_0x27230a(0x1b8),_0x1bf562=>_0x1bf562[_0x27230a(0x1ce)](this[_0x27230a(0x1e0)],_0x4cc210,_0x1542f9)),this;}['setEndArrow'](_0x2f4c59,_0x20b59e){const _0x1e30a7=_0x5b147c;return this['_mutateConnector'](_0x1e30a7(0x1ad),_0x3a7f6a=>_0x3a7f6a[_0x1e30a7(0x16d)](this[_0x1e30a7(0x1e0)],_0x2f4c59,_0x20b59e)),this;}[_0x5b147c(0x1c6)](){const _0x2c95a5=_0x5b147c;return this[_0x2c95a5(0x179)][_0x2c95a5(0x22e)](e[_0x2c95a5(0x1f5)]);}[_0x5b147c(0x1ff)](){const _0x29de85=_0x5b147c;let _0x4b21c8=this[_0x29de85(0x1c6)]();if(!_0x4b21c8)return null;try{return _0x4b21c8['getConnector'](this['_shapeRef'])||(console[_0x29de85(0x161)](_0x29de85(0x15d)+this['_shapeRef']['shapeId']+_0x29de85(0x15f)),null);}catch(_0x46e9da){return console['warn']('[Shape\x20Facade]:\x20Failed\x20to\x20read\x20Connector\x20Shape\x20\x22'+this[_0x29de85(0x1e0)][_0x29de85(0x1e9)]+'\x22.',_0x46e9da),null;}}[_0x5b147c(0x20c)](_0x45bcac,_0x559f1b,_0x4fb1a1){const _0x296bc2=_0x5b147c;if(!_0x559f1b||!Number['isInteger'](_0x4fb1a1)||_0x4fb1a1<0x0)return console[_0x296bc2(0x161)](_0x296bc2(0x217)+this[_0x296bc2(0x1e0)][_0x296bc2(0x1e9)]+_0x296bc2(0x189)),!0x1;let _0x46862b={'shapeId':_0x559f1b,'cxnIndex':_0x4fb1a1};return this['_mutateConnector']('bind\x20'+_0x45bcac,_0x3b1a76=>_0x45bcac==='start'?_0x3b1a76[_0x296bc2(0x232)](this[_0x296bc2(0x1e0)],_0x46862b):_0x3b1a76['bindEnd'](this[_0x296bc2(0x1e0)],_0x46862b));}[_0x5b147c(0x1cd)](_0x482aac,_0x1ebf62){const _0x5179d3=_0x5b147c;let _0x37f606=this['_getConnectorAdapter']();if(!_0x37f606)return!0x1;try{let _0x3082d3=_0x1ebf62(_0x37f606);return _0x3082d3||console[_0x5179d3(0x161)](_0x5179d3(0x215)+_0x482aac+_0x5179d3(0x227)+this[_0x5179d3(0x1e0)][_0x5179d3(0x1e9)]+'\x22.'),_0x3082d3;}catch(_0x9c2dd7){return console[_0x5179d3(0x161)](_0x5179d3(0x215)+_0x482aac+'\x20Connector\x20Shape\x20\x22'+this[_0x5179d3(0x1e0)]['shapeId']+'\x22.',_0x9c2dd7),!0x1;}}};function u(_0x58b46b,_0x52741e){const _0xc7481c=_0x5b147c;return!Number[_0xc7481c(0x1d7)](_0x58b46b['x'])||!Number[_0xc7481c(0x1d7)](_0x58b46b['y'])?(console['warn'](_0xc7481c(0x217)+_0x52741e+_0xc7481c(0x1c4)),!0x1):!0x0;}function _0x5cb5(_0x5366a1,_0x16eb95){_0x5366a1=_0x5366a1-0x15c;const _0x2159ac=_0x2159();let _0x5cb5c2=_0x2159ac[_0x5366a1];return _0x5cb5c2;}function _0x2159(){const _0x23491d=['getDrawingPoints','NoLine','[Shape\x20Facade]:\x20','mode','lineStrokeType','end','setImageFill','FShapeText','bringToFront','relation','solid','top','[Shape\x20Facade]:\x20Failed\x20to\x20resolve\x20geometry\x20for\x20Shape\x20\x22','opacity','12dSLOfn','[Shape\x20Facade]:\x20Failed\x20to\x20read\x20Shape\x20\x22','ShapeTypeEnum','Linear','setVisible','setSelectable','scaleY','name','ShapeOperatorEnum','sendToBack','ShapeImageSourceTypeEnum','ShapeGradientTypeEnum','set\x20end\x20arrow','Tile','setStrokeWidth','routePoints','getHostType','tile','Shape\x20transform\x20\x22','none','isSelectable','hostType','ShapeLineJoinEnum','set\x20start\x20arrow','getEndArrow','getText','PictureFill','setFontSize','ShapeTextWrapType','setShapeData','_getGeometryModel','shapeType','setTextStyle','resolveShapeTextBoxOptions','setRotation','\x22\x20points\x20must\x20contain\x20finite\x20coordinates.','getTextBoxOptions','_getConnectorAdapter','isCustomShape','ShapeFillEnum','FALSE','getName','setUnderline','\x22\x20requires\x20a\x20Connector\x20Shape\x20type.','_mutateConnector','setStartArrow','setStrokeLineDashType','setStrokeLineCapType','\x22\x20must\x20be\x20boolean.','setNoneFill','bring\x20to\x20front','removeShape','scaleX','getPlainText','isFinite','[Shape\x20Text\x20Facade]:\x20Failed\x20to\x20read\x20Shape\x20\x22','gradient','rotation','157LMeiIe','getEndConnectInfo','ShapeTextAutoFitType','getRoutePoints','points','_shapeRef','customGeometry','stroke','Shape\x20height\x20must\x20be\x20greater\x20than\x20zero.','_patchStroke','color','shapeTextToRichTextValue','getSnapshot','setShapeType','shapeId','send\x20backward','radial','startArrow','_getSnapshot','setSolidFill','[Shape\x20Text\x20Facade]:\x20Gradient\x20text\x20fill\x20requires\x20at\x20least\x20two\x20color\x20stops.','2628lBPnPC','setRichText','length','Shape\x20\x22','unbindStart','IConnectorShapeHostAdapter','getId','ShapeTextDirection','setRoutePoints','angular','offsetY','boolean','3ZiXbCy','setStartPoint','update','_getConnectorSnapshot','picture','20218260NVsCnP','getShape','setEndPoint','setFontFamily','createInstance','bindEnd','isCustom','updateShape','9060IUMRWG','\x20Shape\x20\x22','height','_bind','getStartArrow','bringForward','unbind\x20end','setStrokeLineType','_patchShapeData','getStartConnectInfo','visible','[Shape\x20Facade]:\x20Gradient\x20fill\x20requires\x20at\x20least\x20two\x20color\x20stops.','[Shape\x20Facade]:\x20Failed\x20to\x20','608888YaEmtI','[Shape\x20Facade]:\x20Connector\x20\x22','setGradientFill','setText','SolidFill','FConnectorShape','applyRichTextToShapeText','_mutate','[Shape\x20Text\x20Facade]:\x20Failed\x20to\x20update\x20Shape\x20\x22','setVerticalAlign','getShapeType','offsetX','applyShapeTextStyle','458632CoFQiD','[Shape\x20Facade]:\x20Shape\x20\x22','isConnectorShape','getDescription','\x20Connector\x20Shape\x20\x22','ShapeImageFillModeEnum','setAbsolutePosition','FEnum','ShapeLineCapEnum','updateContext','Angular','get','setCustomGeometry','2663265HJfzKw','setStrokeOpacity','bindStart','ShapeLineTypeEnum','ShapeArrowTypeEnum','[Shape\x20Facade]:\x20Connector\x20Shape\x20\x22','shapeData','\x22\x20was\x20not\x20found.','_getShapeData','warn','BooleanNumber','Connector\x20relationships\x20and\x20route\x20points\x20require\x20FConnectorShape.','bring\x20forward','setSize','ShapeModel','2988pEMAPZ','TRUE','left','getCustomGeometry','setTransform','Tools','setEndArrow','Radial','isVisible','getEndEndpoint','setStrikethrough','map','start','rgba(0,\x200,\x200,\x200)','IShapeHostAdapterRegistry','shapeText','getShapeData','getRichText','_injector','deepClone','ImageSourceTypeEnum','[Shape\x20Text\x20Facade]:\x20Shape\x20\x22','extend','20776gnIizo','remove','transform','Module','ShapeArrowSizeEnum','width','flipY','URL','unbind\x20start','selectable','1595saYrmq','\x22\x20binding\x20requires\x20a\x20target\x20Shape\x20ID\x20and\x20a\x20non-negative\x20connection\x20site\x20index.','applyShapeTextAlignment','setDescription','_updateShapeData','FShape','\x22\x20text.','SolidLine','applyShapeTextBoxOptions','_getAdapter','Diamond'];_0x2159=function(){return _0x23491d;};return _0x2159();}exports[_0x5b147c(0x21b)]=l,exports[_0x5b147c(0x18d)]=s,exports[_0x5b147c(0x19a)]=o;
1
+ const _0x50050f=_0xca78;(function(_0x16406e,_0x3f8f10){const _0x2c935a=_0xca78,_0x82a3c8=_0x16406e();while(!![]){try{const _0x461367=-parseInt(_0x2c935a(0x1cb))/0x1+-parseInt(_0x2c935a(0x20e))/0x2*(parseInt(_0x2c935a(0x16e))/0x3)+-parseInt(_0x2c935a(0x1d6))/0x4*(parseInt(_0x2c935a(0x21a))/0x5)+-parseInt(_0x2c935a(0x1d3))/0x6*(-parseInt(_0x2c935a(0x18f))/0x7)+parseInt(_0x2c935a(0x1f6))/0x8*(parseInt(_0x2c935a(0x1c5))/0x9)+-parseInt(_0x2c935a(0x19a))/0xa+-parseInt(_0x2c935a(0x1ef))/0xb*(-parseInt(_0x2c935a(0x215))/0xc);if(_0x461367===_0x3f8f10)break;else _0x82a3c8['push'](_0x82a3c8['shift']());}catch(_0x575ad4){_0x82a3c8['push'](_0x82a3c8['shift']());}}}(_0x2c23,0x86c4d),Object[_0x50050f(0x1b7)](exports,Symbol['toStringTag'],{'value':_0x50050f(0x21f)}));let e=require('@univerjs-pro/engine-shape'),t=require('@univerjs/core/facade'),n=require('@univerjs/core');var r=class extends t[_0x50050f(0x214)]{get[_0x50050f(0x226)](){return e['ShapeTypeEnum'];}get[_0x50050f(0x173)](){const _0x51dda2=_0x50050f;return e[_0x51dda2(0x173)];}get[_0x50050f(0x1a2)](){return e['ShapeGradientTypeEnum'];}get[_0x50050f(0x196)](){const _0x107939=_0x50050f;return e[_0x107939(0x1ee)];}get[_0x50050f(0x1a6)](){const _0x317d20=_0x50050f;return e[_0x317d20(0x1de)];}get[_0x50050f(0x15a)](){return e['ShapeLineTypeEnum'];}get[_0x50050f(0x17c)](){const _0xb74a15=_0x50050f;return e[_0xb74a15(0x17c)];}get['ShapeLineCapEnum'](){const _0x1374d7=_0x50050f;return e[_0x1374d7(0x1a0)];}get[_0x50050f(0x1b0)](){const _0x218fd2=_0x50050f;return e[_0x218fd2(0x1b0)];}get['ShapeOperatorEnum'](){const _0x5e347e=_0x50050f;return e[_0x5e347e(0x15f)];}get['ShapeArrowTypeEnum'](){const _0x219a61=_0x50050f;return e[_0x219a61(0x20c)];}get[_0x50050f(0x154)](){return e['ShapeArrowSizeEnum'];}get[_0x50050f(0x193)](){return e['ShapeTextAutoFitType'];}get['ShapeTextDirection'](){const _0x5960d4=_0x50050f;return e[_0x5960d4(0x1f0)];}get[_0x50050f(0x205)](){return e['ShapeTextWrapType'];}};function _0x2c23(){const _0x1ab0bc=['flipY','setImageFill','setNoneFill','shapeTextToRichTextValue','IShapeHostAdapterRegistry','ShapeTypeEnum','setStrokeLineType','getStartConnectInfo','_getConnectorSnapshot','ShapeArrowSizeEnum','_bind','applyShapeTextBoxOptions','picture','[Shape\x20Facade]:\x20Failed\x20to\x20','[Shape\x20Text\x20Facade]:\x20Failed\x20to\x20update\x20Shape\x20\x22','ShapeLineTypeEnum','set\x20end\x20point','_mutateConnector','GradientFill','resolveShapeTextBoxOptions','ShapeOperatorEnum','bringForward','sendToBack','setGradientFill','width','getEndEndpoint','[Shape\x20Facade]:\x20Connector\x20\x22','setRoutePoints','_getConnectorAdapter','SolidFill','get','setShapeType','isVisible','getShape','rgba(0,\x200,\x200,\x200)','686583NzzMBh','FALSE','setTextStyle','setStroke','getEndArrow','ShapeFillEnum','description','selectable','_patchShapeData','shapeText','\x22\x20text.','FBase','routePoints','remove','ShapeLineDashEnum','NoLine','Tools','setEndPoint','setVerticalAlign','_getSnapshot','\x22\x20points\x20must\x20contain\x20finite\x20coordinates.','start','getConnector','setVisible','[Shape\x20Text\x20Facade]:\x20Failed\x20to\x20read\x20Shape\x20\x22','customGeometry','\x22\x20was\x20not\x20found.','sendBackward','bind\x20','getDrawingPoints','\x22\x20must\x20be\x20boolean.','gradient','applyShapeTextStyle','3249106kQMrEf','setSolidFill','height','FShape','ShapeTextAutoFitType','shapeId','warn','ShapeImageFillModeEnum','ShapeModel','deepClone','relation','1291330ufNvGi','setText','unbind\x20start','getEndConnectInfo','scaleY','bindEnd','ShapeLineCapEnum','unbindEnd','ShapeGradientTypeEnum','Angular','_updateShapeData','end','ShapeImageSourceTypeEnum','getRichText','getTransform','setStrokeColor','send\x20to\x20back','isFinite','visible','set\x20start\x20point','URL','unbind\x20end','ShapeLineJoinEnum','toPlainText','applyRichTextToShapeText','mode','[Shape\x20Facade]:\x20','getRoutePoints','PictureFill','defineProperty','isCustomShape','setStrokeWidth','offsetY','map','getPlainText','endArrow','getShapeType','\x20Connector\x20Shape\x20\x22','_injector','every','setTransform','setBold','length','7227513wXvUUg','isConnectorShape','[Shape\x20Facade]:\x20Connector\x20Shape\x20\x22','setStartArrow','getTextBoxOptions','getId','979027HSDpbW','[Shape\x20Text\x20Facade]:\x20Shape\x20\x22','_shapeRef','isSelectable','getText','setShapeData','setColor','lineStrokeType','12IiNjVl','setName','rotation','188iVXvoF','_getShapeData','removeShape','_mutate','set\x20route\x20points','offsetX','setHorizontalAlign','transform','ImageSourceTypeEnum','getStartEndpoint','getName','setCustomGeometry','boolean','setAbsolutePosition','[Shape\x20Facade]:\x20Failed\x20to\x20resolve\x20geometry\x20for\x20Shape\x20\x22','startArrow','set\x20end\x20arrow','shapeType','getShapeData','top','hostType','_getGeometryModel','scaleX','updateContext','ImageFillModeEnum','1331781iPfWQo','ShapeTextDirection','diamond','[Shape\x20Facade]:\x20Shape\x20\x22','_patchStroke','applyShapeTextAlignment','points','8dnfayC','opacity','setTextBoxOptions','Shape\x20transform\x20\x22','solid','Tile','BooleanNumber','getAdjustPoints','shapeData','unbindStart','setRotation','setStrokeLineJoinType','NoFill','_getAdapter','color','ShapeTextWrapType','SolidLine','setEndArrow','stretch','updateShape','\x22\x20requires\x20a\x20Connector\x20Shape\x20type.','bindStart','ShapeArrowTypeEnum','getConnectionSites','4TcJYgX','setStartPoint','update','getSnapshot','TRUE','bringToFront','FEnum','72SMVeMn','[Shape\x20Facade]:\x20Failed\x20to\x20read\x20Shape\x20\x22','\x20Shape\x20\x22','name','setSelectable','36160Cqvptt','left','setFontFamily','getCustomGeometry','applyTextToShapeText','Module','set\x20start\x20arrow'];_0x2c23=function(){return _0x1ab0bc;};return _0x2c23();}t[_0x50050f(0x214)]['extend'](r);function i(_0x57e75f){const _0x314053=_0x50050f;switch(_0x57e75f){case e[_0x314053(0x1a2)]['Radial']:return'radial';case e[_0x314053(0x1a2)][_0x314053(0x1a3)]:return'angular';case e['ShapeGradientTypeEnum']['Diamond']:return _0x314053(0x1f1);case e[_0x314053(0x1a2)]['Linear']:default:return'linear';}}function a(_0x54cf0c){const _0x582243=_0x50050f;return _0x54cf0c===e[_0x582243(0x1ee)][_0x582243(0x1fb)]?'tile':_0x582243(0x208);}var o=class{constructor(_0x4b8771,_0x23476b){const _0x565fd3=_0x50050f;this[_0x565fd3(0x1cd)]=_0x4b8771,this[_0x565fd3(0x1c0)]=_0x23476b;}[_0x50050f(0x1a7)](){const _0x17edfe=_0x50050f;var _0x34a361;return(0x0,e[_0x17edfe(0x224)])((_0x34a361=this['_getShapeData']())==null?void 0x0:_0x34a361['shapeText']);}[_0x50050f(0x1bc)](){const _0xb0b009=_0x50050f;var _0x1f5cba,_0x146966;return(_0x1f5cba=(_0x146966=this[_0xb0b009(0x1a7)]())==null?void 0x0:_0x146966[_0xb0b009(0x1b1)]())==null?null:_0x1f5cba;}['setRichText'](_0x2a6222){const _0x2e409b=_0x50050f;return this[_0x2e409b(0x1a4)](_0x1fd454=>({..._0x1fd454,'shapeText':(0x0,e[_0x2e409b(0x1b2)])(_0x1fd454[_0x2e409b(0x177)],_0x2a6222)})),this;}[_0x50050f(0x19b)](_0x431d39){const _0x1ab5e5=_0x50050f;return this[_0x1ab5e5(0x1a4)](_0x391413=>({..._0x391413,'shapeText':(0x0,e[_0x1ab5e5(0x21e)])(_0x391413['shapeText'],_0x431d39)})),this;}['setTextStyle'](_0x5ec227){const _0x525ca1=_0x50050f;return this[_0x525ca1(0x1a4)](_0x21b905=>({..._0x21b905,'shapeText':(0x0,e[_0x525ca1(0x18e)])(_0x21b905['shapeText'],_0x5ec227)})),this;}[_0x50050f(0x1d1)](_0x2e99bf,_0x2e90a4){const _0x18a2b7=_0x50050f;return this['setTextStyle']({'cl':{'rgb':_0x2e99bf},'textFill':{'type':_0x18a2b7(0x1fa),'color':_0x2e99bf,'opacity':_0x2e90a4}});}[_0x50050f(0x223)](){const _0x217008=_0x50050f;return this[_0x217008(0x170)]({'cl':{'rgb':_0x217008(0x16d)},'textFill':{'type':'none'}});}[_0x50050f(0x162)](_0x4b0403,_0x13cad9,_0x1f8ed8){const _0x4db67f=_0x50050f;return _0x13cad9['length']<0x2?(console[_0x4db67f(0x195)]('[Shape\x20Text\x20Facade]:\x20Gradient\x20text\x20fill\x20requires\x20at\x20least\x20two\x20color\x20stops.'),this):this[_0x4db67f(0x170)]({'cl':{'rgb':_0x13cad9[0x0][_0x4db67f(0x204)]},'textFill':{'type':_0x4db67f(0x18d),'gradient':{'type':i(_0x4b0403),'angle':_0x1f8ed8,'stops':_0x13cad9[_0x4db67f(0x1bb)](({position:_0x6d2d69,color:_0xc411e7,opacity:_0x25b539})=>({'offset':_0x6d2d69,'color':_0xc411e7,'opacity':_0x25b539}))}}});}[_0x50050f(0x222)](_0x1e8ab6,_0x316aa8=e[_0x50050f(0x1de)][_0x50050f(0x1ae)],_0x47ed26={}){const _0x23d7a4=_0x50050f;return this[_0x23d7a4(0x170)]({'textFill':{'type':_0x23d7a4(0x157),'picture':{'source':_0x1e8ab6,'sourceType':_0x316aa8,'opacity':_0x47ed26[_0x23d7a4(0x1f7)],'mode':a(_0x47ed26[_0x23d7a4(0x1b3)]),'scaleX':_0x47ed26[_0x23d7a4(0x1ec)],'scaleY':_0x47ed26[_0x23d7a4(0x19e)],'offsetX':_0x47ed26[_0x23d7a4(0x1db)],'offsetY':_0x47ed26[_0x23d7a4(0x1ba)]}}});}['setFontSize'](_0x5e8b6d){const _0x19666d=_0x50050f;return this[_0x19666d(0x170)]({'fs':_0x5e8b6d});}[_0x50050f(0x21c)](_0x40e23f){const _0xb110c0=_0x50050f;return this[_0xb110c0(0x170)]({'ff':_0x40e23f});}[_0x50050f(0x1c3)](_0x414bdd){const _0x5dac69=_0x50050f;return this[_0x5dac69(0x170)]({'bl':_0x414bdd?n[_0x5dac69(0x1fc)][_0x5dac69(0x212)]:n[_0x5dac69(0x1fc)][_0x5dac69(0x16f)]});}['setItalic'](_0x38a7e5){const _0x37f336=_0x50050f;return this[_0x37f336(0x170)]({'it':_0x38a7e5?n[_0x37f336(0x1fc)]['TRUE']:n[_0x37f336(0x1fc)][_0x37f336(0x16f)]});}['setUnderline'](_0x31b455){const _0x4ecb7f=_0x50050f;return this[_0x4ecb7f(0x170)]({'ul':{'s':_0x31b455?n['BooleanNumber'][_0x4ecb7f(0x212)]:n[_0x4ecb7f(0x1fc)][_0x4ecb7f(0x16f)]}});}['setStrikethrough'](_0x3df2e0){const _0x1eabe1=_0x50050f;return this[_0x1eabe1(0x170)]({'st':{'s':_0x3df2e0?n[_0x1eabe1(0x1fc)][_0x1eabe1(0x212)]:n[_0x1eabe1(0x1fc)][_0x1eabe1(0x16f)]}});}[_0x50050f(0x1dc)](_0x206c20){const _0x1b22b1=_0x50050f;return this[_0x1b22b1(0x1a4)](_0x4459bc=>(0x0,e['applyShapeTextAlignment'])(_0x4459bc,{'horizontalAlign':_0x206c20})),this;}[_0x50050f(0x180)](_0x1d2451){const _0x45fb2b=_0x50050f;return this[_0x45fb2b(0x1a4)](_0xba9b2d=>(0x0,e[_0x45fb2b(0x1f4)])(_0xba9b2d,{'verticalAlign':_0x1d2451})),this;}[_0x50050f(0x1c9)](){const _0x4ee071=_0x50050f;let _0x586fdc=this[_0x4ee071(0x1d7)]();return _0x586fdc?(0x0,e[_0x4ee071(0x15e)])(_0x586fdc):null;}[_0x50050f(0x1f8)](_0x1ad10c){const _0x533f12=_0x50050f;return this[_0x533f12(0x1a4)](_0x39ae40=>(0x0,e[_0x533f12(0x156)])(_0x39ae40,_0x1ad10c)),this;}[_0x50050f(0x203)](){const _0x55eb83=_0x50050f;return this['_injector'][_0x55eb83(0x169)](e['IShapeHostAdapterRegistry'])[_0x55eb83(0x169)](this[_0x55eb83(0x1cd)]['hostType']);}['_getShapeData'](){const _0x5c78cd=_0x50050f;let _0x423da7=this[_0x5c78cd(0x203)]();if(!_0x423da7)return null;try{var _0x48d517;return((_0x48d517=_0x423da7[_0x5c78cd(0x16c)](this[_0x5c78cd(0x1cd)]))==null?void 0x0:_0x48d517[_0x5c78cd(0x1fe)])||(console['warn'](_0x5c78cd(0x1cc)+this['_shapeRef'][_0x5c78cd(0x194)]+_0x5c78cd(0x188)),null);}catch(_0x556cfd){return console[_0x5c78cd(0x195)](_0x5c78cd(0x186)+this[_0x5c78cd(0x1cd)][_0x5c78cd(0x194)]+'\x22\x20text.',_0x556cfd),null;}}['_updateShapeData'](_0x575e61){const _0x215b89=_0x50050f;let _0x587b73=this[_0x215b89(0x203)]();if(!_0x587b73)return!0x1;try{var _0x431ccb;let _0x51cb16=(_0x431ccb=_0x587b73[_0x215b89(0x16c)](this[_0x215b89(0x1cd)]))==null?void 0x0:_0x431ccb[_0x215b89(0x1fe)];if(!_0x51cb16)return console[_0x215b89(0x195)]('[Shape\x20Text\x20Facade]:\x20Shape\x20\x22'+this[_0x215b89(0x1cd)][_0x215b89(0x194)]+_0x215b89(0x188)),!0x1;let _0x1e4a1f=_0x587b73[_0x215b89(0x209)](this[_0x215b89(0x1cd)],{'shapeData':_0x575e61(_0x51cb16)});return _0x1e4a1f||console[_0x215b89(0x195)](_0x215b89(0x159)+this[_0x215b89(0x1cd)][_0x215b89(0x194)]+_0x215b89(0x178)),_0x1e4a1f;}catch(_0x55bec){return console[_0x215b89(0x195)]('[Shape\x20Text\x20Facade]:\x20Failed\x20to\x20update\x20Shape\x20\x22'+this[_0x215b89(0x1cd)][_0x215b89(0x194)]+_0x215b89(0x178),_0x55bec),!0x1;}}},s=class extends t[_0x50050f(0x179)]{constructor(_0x133433,_0x667359){const _0xbdab0b=_0x50050f;super(),this[_0xbdab0b(0x1cd)]=_0x133433,this['_injector']=_0x667359;}[_0x50050f(0x1c6)](){return!0x1;}[_0x50050f(0x1ca)](){const _0x5a90be=_0x50050f;return this[_0x5a90be(0x1cd)][_0x5a90be(0x194)];}[_0x50050f(0x1e0)](){const _0x4a519e=_0x50050f;var _0x485ec5;return(_0x485ec5=this[_0x4a519e(0x181)]())==null?void 0x0:_0x485ec5[_0x4a519e(0x218)];}[_0x50050f(0x1d4)](_0x3ea524){return this['update']({'name':_0x3ea524});}['getDescription'](){const _0x3b9f8d=_0x50050f;var _0x57a351;return(_0x57a351=this[_0x3b9f8d(0x181)]())==null?void 0x0:_0x57a351[_0x3b9f8d(0x174)];}['setDescription'](_0x46598d){const _0x111d21=_0x50050f;return this[_0x111d21(0x210)]({'description':_0x46598d});}['getHostType'](){const _0x579970=_0x50050f;return this['_shapeRef'][_0x579970(0x1ea)];}[_0x50050f(0x1be)](){const _0x20b29b=_0x50050f;var _0x3b6213,_0x435075;return(_0x3b6213=(_0x435075=this[_0x20b29b(0x181)]())==null?void 0x0:_0x435075['shapeType'])==null?null:_0x3b6213;}[_0x50050f(0x1e8)](){const _0x3d3f55=_0x50050f;let _0x3cb2c2=this[_0x3d3f55(0x181)]();return _0x3cb2c2?n[_0x3d3f55(0x17e)][_0x3d3f55(0x198)](_0x3cb2c2[_0x3d3f55(0x1fe)]):null;}[_0x50050f(0x211)](){const _0x13d063=_0x50050f;let _0x55ced6=this[_0x13d063(0x181)]();return _0x55ced6?n[_0x13d063(0x17e)][_0x13d063(0x198)](_0x55ced6):null;}[_0x50050f(0x1a8)](){const _0x3ff02e=_0x50050f;let _0x459d9a=this['_getSnapshot']();return _0x459d9a?{..._0x459d9a[_0x3ff02e(0x1dd)]}:null;}[_0x50050f(0x16b)](){const _0x4a662a=_0x50050f;var _0x267882,_0x4f9736;return(_0x267882=(_0x4f9736=this[_0x4a662a(0x181)]())==null?void 0x0:_0x4f9736['visible'])==null?!0x1:_0x267882;}[_0x50050f(0x185)](_0x2b3f01){return this['update']({'visible':_0x2b3f01});}[_0x50050f(0x1ce)](){const _0x1af65b=_0x50050f;var _0x3740bb,_0x109b76;return(_0x3740bb=(_0x109b76=this[_0x1af65b(0x181)]())==null?void 0x0:_0x109b76[_0x1af65b(0x175)])==null?!0x1:_0x3740bb;}[_0x50050f(0x219)](_0x955a9d){return this['update']({'selectable':_0x955a9d});}[_0x50050f(0x1cf)](){const _0x693a79=_0x50050f;return this[_0x693a79(0x1c0)]['createInstance'](o,this[_0x693a79(0x1cd)],this[_0x693a79(0x1c0)]);}[_0x50050f(0x1b8)](){const _0x58d2d8=_0x50050f;let _0x1bc717=this[_0x58d2d8(0x1e8)]();return(_0x1bc717==null?void 0x0:_0x1bc717['isCustom'])===!0x0&&!!_0x1bc717['customGeometry'];}[_0x50050f(0x21d)](){const _0x4a25c1=_0x50050f;var _0x2156f0,_0xa61d7a;return(_0x2156f0=(_0xa61d7a=this['getShapeData']())==null?void 0x0:_0xa61d7a[_0x4a25c1(0x187)])==null?null:_0x2156f0;}[_0x50050f(0x16a)](_0x3c4546){return this['_patchShapeData'](_0x57f732=>({..._0x57f732,'shapeType':_0x3c4546}),_0x3c4546);}[_0x50050f(0x1d0)](_0x33b684){const _0x1013d4=_0x50050f;let _0x55c3d0=n[_0x1013d4(0x17e)][_0x1013d4(0x198)](_0x33b684);return this[_0x1013d4(0x210)]({'shapeType':_0x55c3d0[_0x1013d4(0x1e7)],'shapeData':_0x55c3d0});}[_0x50050f(0x1c2)](_0x2ca261){const _0xf4862f=_0x50050f;return this[_0xf4862f(0x210)]({'transform':_0x2ca261});}['setSize'](_0x2cfc65,_0x12435e){return this['setTransform']({'width':_0x2cfc65,'height':_0x12435e});}[_0x50050f(0x200)](_0x18964b){const _0x5a4e05=_0x50050f;return this[_0x5a4e05(0x1c2)]({'rotation':_0x18964b});}[_0x50050f(0x1e3)](_0x1a57e0,_0x4bce4c){const _0x1218bf=_0x50050f;return this[_0x1218bf(0x1c2)]({'left':_0x1a57e0,'top':_0x4bce4c});}[_0x50050f(0x1e1)](_0x483694){const _0x5a6476=_0x50050f;let _0x27984c=n[_0x5a6476(0x17e)][_0x5a6476(0x198)](_0x483694);return this['_patchShapeData'](_0x370e55=>({..._0x370e55,'isCustom':!0x0,'customGeometry':_0x27984c}));}[_0x50050f(0x20d)](){const _0x4c9031=_0x50050f;var _0x1a4f1f,_0x13faed;return(_0x1a4f1f=(_0x13faed=this['_getGeometryModel']())==null?void 0x0:_0x13faed['getConnectionSiteList']()[_0x4c9031(0x1bb)](_0x27b9e9=>({..._0x27b9e9})))==null?[]:_0x1a4f1f;}[_0x50050f(0x1fd)](){const _0x43ff91=_0x50050f;var _0x4ace37,_0x181616;return(_0x4ace37=(_0x181616=this[_0x43ff91(0x1eb)]())==null?void 0x0:_0x181616[_0x43ff91(0x18b)]()['map'](_0x5a0782=>({..._0x5a0782})))==null?[]:_0x4ace37;}[_0x50050f(0x152)](){const _0x5296cc=_0x50050f;var _0x343ff9;let _0x236bed=(_0x343ff9=this[_0x5296cc(0x1eb)]())==null?void 0x0:_0x343ff9[_0x5296cc(0x152)]();return _0x236bed?{..._0x236bed}:null;}[_0x50050f(0x19d)](){var _0x37e854;let _0x4e9c2a=(_0x37e854=this['_getGeometryModel']())==null?void 0x0:_0x37e854['getEndConnectInfo']();return _0x4e9c2a?{..._0x4e9c2a}:null;}[_0x50050f(0x190)](_0xa030e9,_0x33a84c){const _0x1bdb70=_0x50050f;return this[_0x1bdb70(0x176)](_0x367ce4=>({..._0x367ce4,'fill':{'fillType':e['ShapeFillEnum'][_0x1bdb70(0x168)],'color':_0xa030e9,'opacity':_0x33a84c}}));}[_0x50050f(0x162)](_0x2b8a3c,_0x203aea,_0x1c65ae){const _0x126885=_0x50050f;return _0x203aea[_0x126885(0x1c4)]<0x2?(console[_0x126885(0x195)]('[Shape\x20Facade]:\x20Gradient\x20fill\x20requires\x20at\x20least\x20two\x20color\x20stops.'),this):this[_0x126885(0x176)](_0x5c3fa7=>({..._0x5c3fa7,'fill':{'fillType':e[_0x126885(0x173)][_0x126885(0x15d)],'gradientType':_0x2b8a3c,'gradientStops':n['Tools'][_0x126885(0x198)](_0x203aea),'gradientAngle':_0x1c65ae}}));}[_0x50050f(0x222)](_0x39c7af,_0x496ede,_0x1c2f8b={}){const _0x489c29=_0x50050f;return this[_0x489c29(0x176)](_0x3fab48=>({..._0x3fab48,'fill':{...n[_0x489c29(0x17e)][_0x489c29(0x198)](_0x1c2f8b),'fillType':e[_0x489c29(0x173)][_0x489c29(0x1b6)],'fillImageSource':_0x39c7af,'fillImageSourceType':_0x496ede}}));}[_0x50050f(0x223)](){const _0x5c779a=_0x50050f;return this[_0x5c779a(0x176)](_0x282d2a=>({..._0x282d2a,'fill':{'fillType':e[_0x5c779a(0x173)][_0x5c779a(0x202)]}}));}[_0x50050f(0x171)](_0x4911cb){const _0x3851ed=_0x50050f;return this[_0x3851ed(0x176)](_0x1ba68b=>({..._0x1ba68b,'stroke':n['Tools'][_0x3851ed(0x198)](_0x4911cb)}));}[_0x50050f(0x1a9)](_0x535477){const _0x375537=_0x50050f;return this[_0x375537(0x1f3)](_0x2c669b=>({..._0x2c669b,'color':_0x535477,'lineStrokeType':_0x2c669b[_0x375537(0x1d2)]===e[_0x375537(0x15a)][_0x375537(0x17d)]?e[_0x375537(0x15a)][_0x375537(0x206)]:_0x2c669b[_0x375537(0x1d2)]}));}[_0x50050f(0x1b9)](_0x1b0ef7){const _0x5b1087=_0x50050f;return this[_0x5b1087(0x1f3)](_0x57107c=>({..._0x57107c,'width':_0x1b0ef7,'lineStrokeType':_0x57107c[_0x5b1087(0x1d2)]===e[_0x5b1087(0x15a)][_0x5b1087(0x17d)]?e[_0x5b1087(0x15a)]['SolidLine']:_0x57107c['lineStrokeType']}));}['setStrokeOpacity'](_0x2efed3){const _0x718b4=_0x50050f;return this[_0x718b4(0x1f3)](_0x4ba387=>({..._0x4ba387,'opacity':_0x2efed3}));}['setStrokeLineDashType'](_0x202760){return this['_patchStroke'](_0x400f34=>({..._0x400f34,'dashType':_0x202760}));}[_0x50050f(0x201)](_0x32d02e){return this['_patchStroke'](_0x4048e5=>({..._0x4048e5,'lineJoinType':_0x32d02e}));}['setStrokeLineCapType'](_0x46c8cc){const _0x3c81b4=_0x50050f;return this[_0x3c81b4(0x1f3)](_0x465dbc=>({..._0x465dbc,'capType':_0x46c8cc}));}[_0x50050f(0x151)](_0x4bd518){return this['_patchStroke'](_0x22f1b3=>({..._0x22f1b3,'lineStrokeType':_0x4bd518}));}[_0x50050f(0x210)](_0x23969f){const _0x52f67a=_0x50050f;var _0x511306,_0x16ecc1,_0xec28fc;let _0x4d7611=_0x23969f[_0x52f67a(0x1fe)],_0x1889fc=_0x4d7611&&('relation'in _0x4d7611||_0x52f67a(0x1f5)in _0x4d7611)?this['getShapeType']():null,_0x85efb9=(_0x511306=(_0x16ecc1=_0x23969f['shapeType'])==null?(_0xec28fc=_0x23969f[_0x52f67a(0x1fe)])==null?void 0x0:_0xec28fc[_0x52f67a(0x1e7)]:_0x16ecc1)==null?_0x1889fc:_0x511306,_0x314c57=c(_0x23969f,_0x85efb9!==null&&(0x0,e[_0x52f67a(0x1c6)])(_0x85efb9));return _0x314c57?(console[_0x52f67a(0x195)](_0x52f67a(0x1b4)+_0x314c57),this):(this['_mutate'](_0x52f67a(0x210),_0x493ca9=>_0x493ca9[_0x52f67a(0x209)](this[_0x52f67a(0x1cd)],_0x23969f)),this);}[_0x50050f(0x17b)](){const _0x500bdf=_0x50050f;return this[_0x500bdf(0x1d9)](_0x500bdf(0x17b),_0x42919b=>_0x42919b[_0x500bdf(0x1d8)](this[_0x500bdf(0x1cd)]));}[_0x50050f(0x213)](){const _0x17b0b3=_0x50050f;return this['_mutate']('bring\x20to\x20front',_0xb09202=>_0xb09202[_0x17b0b3(0x213)](this[_0x17b0b3(0x1cd)])),this;}['bringForward'](){const _0x1e792b=_0x50050f;return this[_0x1e792b(0x1d9)]('bring\x20forward',_0x425263=>_0x425263[_0x1e792b(0x160)](this[_0x1e792b(0x1cd)])),this;}['sendBackward'](){const _0x1c9e62=_0x50050f;return this['_mutate']('send\x20backward',_0x50220b=>_0x50220b[_0x1c9e62(0x189)](this[_0x1c9e62(0x1cd)])),this;}[_0x50050f(0x161)](){const _0x2829b4=_0x50050f;return this[_0x2829b4(0x1d9)](_0x2829b4(0x1aa),_0x176f48=>_0x176f48[_0x2829b4(0x161)](this['_shapeRef'])),this;}[_0x50050f(0x203)](){const _0x5702b6=_0x50050f;return this[_0x5702b6(0x1c0)][_0x5702b6(0x169)](e[_0x5702b6(0x225)])['get'](this[_0x5702b6(0x1cd)][_0x5702b6(0x1ea)]);}[_0x50050f(0x176)](_0x22fb21,_0x3f7e6a){const _0x154368=_0x50050f;let _0x3b9f90=this[_0x154368(0x1e8)]();return _0x3b9f90?this[_0x154368(0x210)]({'shapeType':_0x3f7e6a,'shapeData':_0x22fb21(_0x3b9f90)}):this;}[_0x50050f(0x1f3)](_0x53fd3c){const _0x5ac1dc=_0x50050f;return this[_0x5ac1dc(0x176)](_0x16bc65=>{var _0x3a5bdc;return{..._0x16bc65,'stroke':_0x53fd3c((_0x3a5bdc=_0x16bc65['stroke'])==null?{}:_0x3a5bdc)};});}['_getSnapshot'](){const _0x267da7=_0x50050f;let _0x15e47a=this[_0x267da7(0x203)]();if(!_0x15e47a)return null;try{return _0x15e47a[_0x267da7(0x16c)](this[_0x267da7(0x1cd)])||(console[_0x267da7(0x195)](_0x267da7(0x1f2)+this['_shapeRef'][_0x267da7(0x194)]+_0x267da7(0x188)),null);}catch(_0x4f5c15){return console[_0x267da7(0x195)](_0x267da7(0x216)+this[_0x267da7(0x1cd)][_0x267da7(0x194)]+'\x22.',_0x4f5c15),null;}}[_0x50050f(0x1eb)](){const _0x57b63f=_0x50050f;let _0xc70395=this[_0x57b63f(0x181)]();if(!_0xc70395)return null;try{let _0x1f66d8=new e[(_0x57b63f(0x197))](_0xc70395[_0x57b63f(0x1e7)],_0xc70395[_0x57b63f(0x194)],_0xc70395[_0x57b63f(0x1fe)]);return _0x1f66d8[_0x57b63f(0x1ed)]({'width':_0xc70395[_0x57b63f(0x1dd)]['width'],'height':_0xc70395['transform'][_0x57b63f(0x191)]}),_0x1f66d8;}catch(_0x2efa0a){return console['warn'](_0x57b63f(0x1e4)+this[_0x57b63f(0x1cd)]['shapeId']+'\x22.',_0x2efa0a),null;}}[_0x50050f(0x1d9)](_0x42e0f1,_0x4c2193){const _0x2d1ad8=_0x50050f;let _0x563172=this[_0x2d1ad8(0x203)]();if(!_0x563172)return!0x1;try{let _0x38007a=_0x4c2193(_0x563172);return _0x38007a||console[_0x2d1ad8(0x195)]('[Shape\x20Facade]:\x20Failed\x20to\x20'+_0x42e0f1+'\x20Shape\x20\x22'+this[_0x2d1ad8(0x1cd)][_0x2d1ad8(0x194)]+'\x22.'),_0x38007a;}catch(_0x571cdb){return console[_0x2d1ad8(0x195)]('[Shape\x20Facade]:\x20Failed\x20to\x20'+_0x42e0f1+_0x2d1ad8(0x217)+this[_0x2d1ad8(0x1cd)][_0x2d1ad8(0x194)]+'\x22.',_0x571cdb),!0x1;}}};function c(_0x3e6313,_0x325dd6=!0x1){const _0x26f3ea=_0x50050f;for(let _0x1dc665 of[_0x26f3ea(0x1ac),_0x26f3ea(0x175)]){let _0x11ed9c=_0x3e6313[_0x1dc665];if(_0x11ed9c!==void 0x0&&typeof _0x11ed9c!='boolean')return'Shape\x20\x22'+_0x1dc665+_0x26f3ea(0x18c);}let _0x4e526a=_0x3e6313['transform'];if(_0x4e526a){for(let _0x39deb4 of[_0x26f3ea(0x21b),_0x26f3ea(0x1e9),'width',_0x26f3ea(0x191),_0x26f3ea(0x1d5)]){let _0x4aa790=_0x4e526a[_0x39deb4];if(_0x4aa790!==void 0x0&&!Number[_0x26f3ea(0x1ab)](_0x4aa790))return'Shape\x20transform\x20\x22'+_0x39deb4+'\x22\x20must\x20be\x20finite.';}if(_0x4e526a[_0x26f3ea(0x163)]!==void 0x0&&_0x4e526a[_0x26f3ea(0x163)]<=0x0)return'Shape\x20width\x20must\x20be\x20greater\x20than\x20zero.';if(_0x4e526a[_0x26f3ea(0x191)]!==void 0x0&&_0x4e526a[_0x26f3ea(0x191)]<=0x0)return'Shape\x20height\x20must\x20be\x20greater\x20than\x20zero.';for(let _0x11fbfc of['flipX',_0x26f3ea(0x221)]){let _0x6a5e=_0x4e526a[_0x11fbfc];if(_0x6a5e!==void 0x0&&typeof _0x6a5e!=_0x26f3ea(0x1e2))return _0x26f3ea(0x1f9)+_0x11fbfc+'\x22\x20must\x20be\x20boolean.';}}let _0x1a2dea=_0x3e6313[_0x26f3ea(0x1fe)];return!_0x325dd6&&_0x1a2dea&&(_0x26f3ea(0x199)in _0x1a2dea||_0x26f3ea(0x1f5)in _0x1a2dea)?'Connector\x20relationships\x20and\x20route\x20points\x20require\x20FConnectorShape.':null;}var l=class extends s{[_0x50050f(0x1c6)](){return!0x0;}[_0x50050f(0x1df)](){const _0x4f3616=_0x50050f;let _0x133742=this['_getConnectorSnapshot']();return _0x133742?n['Tools']['deepClone'](_0x133742[_0x4f3616(0x183)]):null;}[_0x50050f(0x164)](){const _0x1e5281=_0x50050f;let _0x3c85cf=this[_0x1e5281(0x153)]();return _0x3c85cf?n['Tools']['deepClone'](_0x3c85cf[_0x1e5281(0x1a5)]):null;}[_0x50050f(0x1b5)](){const _0x2300a9=_0x50050f;let _0x189763=this['_getConnectorSnapshot']();return _0x189763?n[_0x2300a9(0x17e)][_0x2300a9(0x198)](_0x189763[_0x2300a9(0x17a)]):null;}['getStartArrow'](){const _0x50fa10=_0x50050f;let _0x481355=this[_0x50fa10(0x153)]();return _0x481355?n[_0x50fa10(0x17e)][_0x50fa10(0x198)](_0x481355[_0x50fa10(0x1e5)]):null;}[_0x50050f(0x172)](){const _0x260324=_0x50050f;let _0x5f3926=this['_getConnectorSnapshot']();return _0x5f3926?n['Tools']['deepClone'](_0x5f3926[_0x260324(0x1bd)]):null;}['setShapeType'](_0xb7ce89){const _0x4a0d41=_0x50050f;return(0x0,e[_0x4a0d41(0x1c6)])(_0xb7ce89)?super['setShapeType'](_0xb7ce89):(console['warn'](_0x4a0d41(0x1c7)+this[_0x4a0d41(0x1cd)][_0x4a0d41(0x194)]+_0x4a0d41(0x20a)),this);}['setShapeData'](_0x8d9f72){const _0x5d4a34=_0x50050f;return _0x8d9f72[_0x5d4a34(0x1e7)]!==void 0x0&&!(0x0,e['isConnectorShape'])(_0x8d9f72[_0x5d4a34(0x1e7)])?(console['warn']('[Shape\x20Facade]:\x20Connector\x20Shape\x20\x22'+this[_0x5d4a34(0x1cd)]['shapeId']+'\x22\x20requires\x20Connector\x20Shape\x20data.'),this):super[_0x5d4a34(0x1d0)](_0x8d9f72);}['bindStart'](_0x109d59,_0x5b5cc7){const _0x138e52=_0x50050f;return this[_0x138e52(0x155)]('start',_0x109d59,_0x5b5cc7),this;}[_0x50050f(0x19f)](_0x3ab6a6,_0x33ef83){const _0x3e3deb=_0x50050f;return this['_bind'](_0x3e3deb(0x1a5),_0x3ab6a6,_0x33ef83),this;}[_0x50050f(0x1ff)](){const _0x1e6c3a=_0x50050f;return this[_0x1e6c3a(0x15c)](_0x1e6c3a(0x19c),_0x41a0fe=>_0x41a0fe['unbindStart'](this[_0x1e6c3a(0x1cd)])),this;}[_0x50050f(0x1a1)](){const _0xc65196=_0x50050f;return this['_mutateConnector'](_0xc65196(0x1af),_0x552616=>_0x552616['unbindEnd'](this[_0xc65196(0x1cd)])),this;}[_0x50050f(0x20f)](_0x5cf16b){const _0x3ecd3d=_0x50050f;return u(_0x5cf16b,this[_0x3ecd3d(0x1cd)]['shapeId'])&&this[_0x3ecd3d(0x15c)](_0x3ecd3d(0x1ad),_0xf0e2b6=>_0xf0e2b6[_0x3ecd3d(0x20f)](this['_shapeRef'],_0x5cf16b)),this;}[_0x50050f(0x17f)](_0x331e8b){const _0x485d7b=_0x50050f;return u(_0x331e8b,this[_0x485d7b(0x1cd)][_0x485d7b(0x194)])&&this[_0x485d7b(0x15c)](_0x485d7b(0x15b),_0x2da6f6=>_0x2da6f6[_0x485d7b(0x17f)](this[_0x485d7b(0x1cd)],_0x331e8b)),this;}['setRoutePoints'](_0x2c2340){const _0x3cb6ec=_0x50050f;return _0x2c2340[_0x3cb6ec(0x1c1)](_0xb15955=>u(_0xb15955,this['_shapeRef'][_0x3cb6ec(0x194)]))&&this[_0x3cb6ec(0x15c)](_0x3cb6ec(0x1da),_0x1878fe=>_0x1878fe[_0x3cb6ec(0x166)](this[_0x3cb6ec(0x1cd)],_0x2c2340)),this;}[_0x50050f(0x1c8)](_0x48a3f3,_0x3d2fd){const _0x211241=_0x50050f;return this[_0x211241(0x15c)](_0x211241(0x220),_0x2e6cdb=>_0x2e6cdb[_0x211241(0x1c8)](this[_0x211241(0x1cd)],_0x48a3f3,_0x3d2fd)),this;}['setEndArrow'](_0x198ec0,_0x474b51){const _0x5a9208=_0x50050f;return this[_0x5a9208(0x15c)](_0x5a9208(0x1e6),_0x33d9a3=>_0x33d9a3[_0x5a9208(0x207)](this[_0x5a9208(0x1cd)],_0x198ec0,_0x474b51)),this;}[_0x50050f(0x167)](){const _0x3e9c75=_0x50050f;return this[_0x3e9c75(0x1c0)][_0x3e9c75(0x169)](e['IConnectorShapeHostAdapter']);}[_0x50050f(0x153)](){const _0x52287f=_0x50050f;let _0x4a2efc=this['_getConnectorAdapter']();if(!_0x4a2efc)return null;try{return _0x4a2efc[_0x52287f(0x184)](this[_0x52287f(0x1cd)])||(console[_0x52287f(0x195)](_0x52287f(0x1c7)+this[_0x52287f(0x1cd)][_0x52287f(0x194)]+_0x52287f(0x188)),null);}catch(_0x5734d9){return console['warn']('[Shape\x20Facade]:\x20Failed\x20to\x20read\x20Connector\x20Shape\x20\x22'+this[_0x52287f(0x1cd)][_0x52287f(0x194)]+'\x22.',_0x5734d9),null;}}['_bind'](_0x28525e,_0x47f6fc,_0x71bfad){const _0x381fbd=_0x50050f;if(!_0x47f6fc||!Number['isInteger'](_0x71bfad)||_0x71bfad<0x0)return console['warn']('[Shape\x20Facade]:\x20Connector\x20\x22'+this['_shapeRef'][_0x381fbd(0x194)]+'\x22\x20binding\x20requires\x20a\x20target\x20Shape\x20ID\x20and\x20a\x20non-negative\x20connection\x20site\x20index.'),!0x1;let _0x25966d={'shapeId':_0x47f6fc,'cxnIndex':_0x71bfad};return this[_0x381fbd(0x15c)](_0x381fbd(0x18a)+_0x28525e,_0x580e09=>_0x28525e===_0x381fbd(0x183)?_0x580e09[_0x381fbd(0x20b)](this[_0x381fbd(0x1cd)],_0x25966d):_0x580e09[_0x381fbd(0x19f)](this[_0x381fbd(0x1cd)],_0x25966d));}[_0x50050f(0x15c)](_0x9481d9,_0x5f591a){const _0x1af0b7=_0x50050f;let _0x2aa1d1=this[_0x1af0b7(0x167)]();if(!_0x2aa1d1)return!0x1;try{let _0x2de57b=_0x5f591a(_0x2aa1d1);return _0x2de57b||console[_0x1af0b7(0x195)]('[Shape\x20Facade]:\x20Failed\x20to\x20'+_0x9481d9+_0x1af0b7(0x1bf)+this[_0x1af0b7(0x1cd)][_0x1af0b7(0x194)]+'\x22.'),_0x2de57b;}catch(_0x2f77f2){return console[_0x1af0b7(0x195)](_0x1af0b7(0x158)+_0x9481d9+_0x1af0b7(0x1bf)+this[_0x1af0b7(0x1cd)][_0x1af0b7(0x194)]+'\x22.',_0x2f77f2),!0x1;}}};function u(_0x23f3d9,_0x219242){const _0x33d887=_0x50050f;return!Number[_0x33d887(0x1ab)](_0x23f3d9['x'])||!Number[_0x33d887(0x1ab)](_0x23f3d9['y'])?(console['warn'](_0x33d887(0x165)+_0x219242+_0x33d887(0x182)),!0x1):!0x0;}function _0xca78(_0x4e63c6,_0x56616d){_0x4e63c6=_0x4e63c6-0x151;const _0x2c2380=_0x2c23();let _0xca78b9=_0x2c2380[_0x4e63c6];return _0xca78b9;}exports['FConnectorShape']=l,exports[_0x50050f(0x192)]=s,exports['FShapeText']=o;