@univerjs-pro/engine-shape 1.0.0-alpha.7 → 1.0.0-alpha.8
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/types/facade/f-shape-text.d.ts +15 -1
- package/lib/types/facade/f-shape.d.ts +52 -15
- package/lib/types/index.d.ts +3 -5
- package/lib/types/models/shape-model.d.ts +10 -1
- package/lib/types/render-engine/shape-render-model.d.ts +0 -24
- package/lib/types/services/shape-host-adapter.service.d.ts +39 -1
- package/lib/types/shape-type.d.ts +22 -46
- package/lib/umd/facade.js +1 -1
- package/lib/umd/index.js +1 -1
- package/package.json +6 -3
- package/lib/types/util/connector-points-util.d.ts +0 -56
- package/lib/types/utils/shape-shadow.util.d.ts +0 -8
package/lib/cjs/facade.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const _0x2a388e=_0x5e9e;(function(_0x12ef63,_0x58de2d){const _0x320272=_0x5e9e,_0x2493d8=_0x12ef63();while(!![]){try{const _0x4885e4=parseInt(_0x320272(0x100))/0x1+parseInt(_0x320272(0x10a))/0x2*(-parseInt(_0x320272(0x1bd))/0x3)+parseInt(_0x320272(0x108))/0x4+-parseInt(_0x320272(0x1cf))/0x5+-parseInt(_0x320272(0x10f))/0x6*(parseInt(_0x320272(0x129))/0x7)+parseInt(_0x320272(0x11d))/0x8+parseInt(_0x320272(0x1ba))/0x9*(parseInt(_0x320272(0x157))/0xa);if(_0x4885e4===_0x58de2d)break;else _0x2493d8['push'](_0x2493d8['shift']());}catch(_0x29e914){_0x2493d8['push'](_0x2493d8['shift']());}}}(_0x3dab,0x7c1d2),Object['defineProperty'](exports,Symbol[_0x2a388e(0x155)],{'value':'Module'}));let e=require('@univerjs-pro/engine-shape'),t=require('@univerjs/core/facade'),n=require('@univerjs/core');var r=class extends t[_0x2a388e(0x1cd)]{get['ShapeTypeEnum'](){const _0x1985c6=_0x2a388e;return e[_0x1985c6(0x150)];}get[_0x2a388e(0x17c)](){return e['ShapeFillEnum'];}get[_0x2a388e(0x1d0)](){const _0x410389=_0x2a388e;return e[_0x410389(0x1d0)];}get[_0x2a388e(0x195)](){const _0x28a380=_0x2a388e;return e[_0x28a380(0x12f)];}get[_0x2a388e(0x18f)](){const _0x280469=_0x2a388e;return e[_0x280469(0x183)];}get[_0x2a388e(0x194)](){const _0x307f43=_0x2a388e;return e[_0x307f43(0x194)];}get[_0x2a388e(0x122)](){const _0x1624de=_0x2a388e;return e[_0x1624de(0x122)];}get['ShapeLineCapEnum'](){const _0x44aa6e=_0x2a388e;return e[_0x44aa6e(0x1ce)];}get[_0x2a388e(0x123)](){return e['ShapeLineJoinEnum'];}get['ShapeOperatorEnum'](){const _0x16a364=_0x2a388e;return e[_0x16a364(0x1a8)];}get['ShapeArrowTypeEnum'](){return e['ShapeArrowTypeEnum'];}get[_0x2a388e(0x189)](){const _0x414502=_0x2a388e;return e[_0x414502(0x189)];}get[_0x2a388e(0x1d3)](){const _0x35a25d=_0x2a388e;return e[_0x35a25d(0x1d3)];}get[_0x2a388e(0x197)](){const _0x51acbb=_0x2a388e;return e[_0x51acbb(0x197)];}get[_0x2a388e(0x12d)](){return e['ShapeTextWrapType'];}};t[_0x2a388e(0x1cd)][_0x2a388e(0x1d9)](r);function i(_0x433589){const _0x4ecf29=_0x2a388e;switch(_0x433589){case e[_0x4ecf29(0x1d0)][_0x4ecf29(0x19b)]:return _0x4ecf29(0x19d);case e['ShapeGradientTypeEnum'][_0x4ecf29(0x1c6)]:return'angular';case e[_0x4ecf29(0x1d0)][_0x4ecf29(0x154)]:return'diamond';case e['ShapeGradientTypeEnum'][_0x4ecf29(0x114)]:default:return'linear';}}function a(_0x38105a){const _0x5c6b08=_0x2a388e;return _0x38105a===e[_0x5c6b08(0x12f)][_0x5c6b08(0x16d)]?_0x5c6b08(0x15d):_0x5c6b08(0x1ac);}var o=class{constructor(_0x35ee8b,_0x23c61a){const _0x3b8612=_0x2a388e;this[_0x3b8612(0x1bc)]=_0x35ee8b,this[_0x3b8612(0x1c0)]=_0x23c61a;}[_0x2a388e(0x14a)](){const _0x2da1b5=_0x2a388e;var _0x98d402;return(0x0,e[_0x2da1b5(0x136)])((_0x98d402=this[_0x2da1b5(0x116)]())==null?void 0x0:_0x98d402[_0x2da1b5(0x13e)]);}['getPlainText'](){const _0x57accb=_0x2a388e;var _0x3a774a,_0x4442f6;return(_0x3a774a=(_0x4442f6=this[_0x57accb(0x14a)]())==null?void 0x0:_0x4442f6[_0x57accb(0x158)]())==null?null:_0x3a774a;}[_0x2a388e(0x180)](_0xa5853e){const _0x46244e=_0x2a388e;return this[_0x46244e(0x1b6)](_0x115b20=>({..._0x115b20,'shapeText':(0x0,e[_0x46244e(0x18e)])(_0x115b20[_0x46244e(0x13e)],_0xa5853e)})),this;}[_0x2a388e(0xfe)](_0x247a72){const _0x273867=_0x2a388e;return this[_0x273867(0x1b6)](_0x4fa417=>({..._0x4fa417,'shapeText':(0x0,e[_0x273867(0x12c)])(_0x4fa417[_0x273867(0x13e)],_0x247a72)})),this;}['setTextStyle'](_0x48a1c0){const _0x3dc15c=_0x2a388e;return this['_updateShapeData'](_0x30070a=>({..._0x30070a,'shapeText':(0x0,e[_0x3dc15c(0x1d4)])(_0x30070a[_0x3dc15c(0x13e)],_0x48a1c0)})),this;}[_0x2a388e(0x115)](_0xb158cd,_0x13e600){const _0x4ed572=_0x2a388e;return this[_0x4ed572(0x178)]({'cl':{'rgb':_0xb158cd},'textFill':{'type':_0x4ed572(0x15c),'color':_0xb158cd,'opacity':_0x13e600}});}[_0x2a388e(0x1b3)](){const _0x470bcb=_0x2a388e;return this[_0x470bcb(0x178)]({'cl':{'rgb':'rgba(0,\x200,\x200,\x200)'},'textFill':{'type':_0x470bcb(0x13f)}});}[_0x2a388e(0x192)](_0x190f7b,_0x271bdd,_0x4860b){const _0x8ad75d=_0x2a388e;return _0x271bdd[_0x8ad75d(0x184)]<0x2?(console[_0x8ad75d(0xfd)](_0x8ad75d(0xfc)),this):this[_0x8ad75d(0x178)]({'cl':{'rgb':_0x271bdd[0x0][_0x8ad75d(0x19c)]},'textFill':{'type':_0x8ad75d(0x112),'gradient':{'type':i(_0x190f7b),'angle':_0x4860b,'stops':_0x271bdd[_0x8ad75d(0x172)](({position:_0x955b3d,color:_0xb7477e,opacity:_0x5cb930})=>({'offset':_0x955b3d,'color':_0xb7477e,'opacity':_0x5cb930}))}}});}['setImageFill'](_0x4a04fe,_0x4547c3=e[_0x2a388e(0x183)][_0x2a388e(0x1b2)],_0x43e5c2={}){const _0x193461=_0x2a388e;return this[_0x193461(0x178)]({'textFill':{'type':'picture','picture':{'source':_0x4a04fe,'sourceType':_0x4547c3,'opacity':_0x43e5c2[_0x193461(0x1bf)],'mode':a(_0x43e5c2[_0x193461(0x18c)]),'scaleX':_0x43e5c2[_0x193461(0x15e)],'scaleY':_0x43e5c2['scaleY'],'offsetX':_0x43e5c2[_0x193461(0x14f)],'offsetY':_0x43e5c2[_0x193461(0x176)]}}});}[_0x2a388e(0x179)](_0x4573b2){const _0x24a43a=_0x2a388e;return this[_0x24a43a(0x178)]({'fs':_0x4573b2});}[_0x2a388e(0x103)](_0x4ee436){const _0x3d89d9=_0x2a388e;return this[_0x3d89d9(0x178)]({'ff':_0x4ee436});}[_0x2a388e(0x1ad)](_0x382133){const _0x4062dd=_0x2a388e;return this[_0x4062dd(0x178)]({'bl':_0x382133?n[_0x4062dd(0x12e)][_0x4062dd(0x141)]:n[_0x4062dd(0x12e)][_0x4062dd(0x128)]});}[_0x2a388e(0x10e)](_0x26d1c8){const _0xa6ea2d=_0x2a388e;return this[_0xa6ea2d(0x178)]({'it':_0x26d1c8?n['BooleanNumber'][_0xa6ea2d(0x141)]:n['BooleanNumber']['FALSE']});}[_0x2a388e(0x113)](_0x41aa08){const _0x191a2d=_0x2a388e;return this[_0x191a2d(0x178)]({'ul':{'s':_0x41aa08?n['BooleanNumber'][_0x191a2d(0x141)]:n[_0x191a2d(0x12e)][_0x191a2d(0x128)]}});}[_0x2a388e(0x134)](_0x572cd7){const _0x5a835a=_0x2a388e;return this['setTextStyle']({'st':{'s':_0x572cd7?n[_0x5a835a(0x12e)][_0x5a835a(0x141)]:n[_0x5a835a(0x12e)]['FALSE']}});}[_0x2a388e(0x11e)](_0x5d95f1){const _0x2e1ba6=_0x2a388e;return this[_0x2e1ba6(0x1b6)](_0x29043a=>(0x0,e[_0x2e1ba6(0x10c)])(_0x29043a,{'horizontalAlign':_0x5d95f1})),this;}[_0x2a388e(0x166)](_0x4d4d42){return this['_updateShapeData'](_0x28d0b6=>(0x0,e['applyShapeTextAlignment'])(_0x28d0b6,{'verticalAlign':_0x4d4d42})),this;}[_0x2a388e(0x1c8)](){const _0xcacc4c=_0x2a388e;let _0x423556=this[_0xcacc4c(0x116)]();return _0x423556?(0x0,e['resolveShapeTextBoxOptions'])(_0x423556):null;}[_0x2a388e(0x159)](_0x57bdcb){const _0x1a30c9=_0x2a388e;return this[_0x1a30c9(0x1b6)](_0x4b440a=>(0x0,e[_0x1a30c9(0x15f)])(_0x4b440a,_0x57bdcb)),this;}['_getAdapter'](){const _0x2c9531=_0x2a388e;return this[_0x2c9531(0x1c0)][_0x2c9531(0x1ab)](e[_0x2c9531(0x13a)])[_0x2c9531(0x1ab)](this[_0x2c9531(0x1bc)][_0x2c9531(0x1be)]);}[_0x2a388e(0x116)](){const _0x157bd8=_0x2a388e;let _0x3206f4=this['_getAdapter']();if(!_0x3206f4)return null;try{var _0x55423c;return((_0x55423c=_0x3206f4[_0x157bd8(0x135)](this[_0x157bd8(0x1bc)]))==null?void 0x0:_0x55423c[_0x157bd8(0x18a)])||(console[_0x157bd8(0xfd)]('[Shape\x20Text\x20Facade]:\x20Shape\x20\x22'+this[_0x157bd8(0x1bc)][_0x157bd8(0x182)]+'\x22\x20was\x20not\x20found.'),null);}catch(_0x3a58b6){return console[_0x157bd8(0xfd)](_0x157bd8(0x156)+this[_0x157bd8(0x1bc)][_0x157bd8(0x182)]+_0x157bd8(0x120),_0x3a58b6),null;}}[_0x2a388e(0x1b6)](_0xd21a1f){const _0x22adb3=_0x2a388e;let _0x5a7367=this[_0x22adb3(0x149)]();if(!_0x5a7367)return!0x1;try{var _0x5d6e70;let _0xe5c020=(_0x5d6e70=_0x5a7367[_0x22adb3(0x135)](this[_0x22adb3(0x1bc)]))==null?void 0x0:_0x5d6e70[_0x22adb3(0x18a)];if(!_0xe5c020)return console['warn'](_0x22adb3(0x14e)+this[_0x22adb3(0x1bc)][_0x22adb3(0x182)]+_0x22adb3(0x191)),!0x1;let _0x364daf=_0x5a7367[_0x22adb3(0x171)](this[_0x22adb3(0x1bc)],{'shapeData':_0xd21a1f(_0xe5c020)});return _0x364daf||console['warn'](_0x22adb3(0x19f)+this[_0x22adb3(0x1bc)][_0x22adb3(0x182)]+_0x22adb3(0x120)),_0x364daf;}catch(_0x5d10a2){return console['warn'](_0x22adb3(0x19f)+this['_shapeRef']['shapeId']+_0x22adb3(0x120),_0x5d10a2),!0x1;}}},s=class extends t['FBase']{constructor(_0x16d7e1,_0x5718c7){const _0x4a4024=_0x2a388e;super(),this[_0x4a4024(0x1bc)]=_0x16d7e1,this[_0x4a4024(0x1c0)]=_0x5718c7;}[_0x2a388e(0x110)](){return!0x1;}[_0x2a388e(0x1c9)](){const _0x58e25e=_0x2a388e;return this[_0x58e25e(0x1bc)][_0x58e25e(0x182)];}['getName'](){const _0x464a34=_0x2a388e;var _0x404d27;return(_0x404d27=this[_0x464a34(0x175)]())==null?void 0x0:_0x404d27[_0x464a34(0x1d1)];}[_0x2a388e(0x181)](_0xfc4371){const _0x2a6e93=_0x2a388e;return this[_0x2a6e93(0x14b)]({'name':_0xfc4371});}[_0x2a388e(0x1a5)](){const _0xf78237=_0x2a388e;var _0x480f2b;return(_0x480f2b=this[_0xf78237(0x175)]())==null?void 0x0:_0x480f2b['description'];}[_0x2a388e(0x170)](_0x302cea){const _0x28350b=_0x2a388e;return this[_0x28350b(0x14b)]({'description':_0x302cea});}[_0x2a388e(0x1b0)](){const _0x3e70a9=_0x2a388e;return this[_0x3e70a9(0x1bc)]['hostType'];}['getShapeType'](){const _0x58ab5c=_0x2a388e;var _0x26e190,_0x47ef94;return(_0x26e190=(_0x47ef94=this[_0x58ab5c(0x175)]())==null?void 0x0:_0x47ef94[_0x58ab5c(0x15b)])==null?null:_0x26e190;}[_0x2a388e(0x1af)](){const _0x331a8e=_0x2a388e;let _0x2c5181=this[_0x331a8e(0x175)]();return _0x2c5181?n['Tools'][_0x331a8e(0x1c4)](_0x2c5181['shapeData']):null;}[_0x2a388e(0x11c)](){const _0x3a6cfa=_0x2a388e;let _0x504cc8=this[_0x3a6cfa(0x175)]();return _0x504cc8?n[_0x3a6cfa(0x111)][_0x3a6cfa(0x1c4)](_0x504cc8):null;}[_0x2a388e(0x16c)](){const _0x3ec800=_0x2a388e;let _0x31ffdb=this[_0x3ec800(0x175)]();return _0x31ffdb?{..._0x31ffdb[_0x3ec800(0x17d)]}:null;}[_0x2a388e(0x10b)](){const _0x1ad36a=_0x2a388e;var _0x2861a7,_0x104982;return(_0x2861a7=(_0x104982=this[_0x1ad36a(0x175)]())==null?void 0x0:_0x104982['visible'])==null?!0x1:_0x2861a7;}['setVisible'](_0x224ff5){const _0x4dae2=_0x2a388e;return this[_0x4dae2(0x14b)]({'visible':_0x224ff5});}[_0x2a388e(0x1d7)](){var _0x1adafe,_0x337aad;return(_0x1adafe=(_0x337aad=this['_getSnapshot']())==null?void 0x0:_0x337aad['selectable'])==null?!0x1:_0x1adafe;}[_0x2a388e(0x137)](_0x2a5f37){const _0xfe7b00=_0x2a388e;return this[_0xfe7b00(0x14b)]({'selectable':_0x2a5f37});}[_0x2a388e(0x1b7)](){const _0x46160d=_0x2a388e;return this['_injector'][_0x46160d(0x16b)](o,this['_shapeRef'],this[_0x46160d(0x1c0)]);}[_0x2a388e(0x17f)](){const _0x5b478a=_0x2a388e;let _0x27e72b=this[_0x5b478a(0x1af)]();return(_0x27e72b==null?void 0x0:_0x27e72b[_0x5b478a(0x1c1)])===!0x0&&!!_0x27e72b[_0x5b478a(0x139)];}['getCustomGeometry'](){const _0x44879a=_0x2a388e;var _0x497773,_0x1500ea;return(_0x497773=(_0x1500ea=this[_0x44879a(0x1af)]())==null?void 0x0:_0x1500ea[_0x44879a(0x139)])==null?null:_0x497773;}['setShapeType'](_0x245740){return this['_patchShapeData'](_0x508133=>({..._0x508133,'shapeType':_0x245740}),_0x245740);}[_0x2a388e(0x167)](_0x44b9c4){const _0x17f838=_0x2a388e;let _0x274481=n[_0x17f838(0x111)][_0x17f838(0x1c4)](_0x44b9c4);return this['update']({'shapeType':_0x274481[_0x17f838(0x15b)],'shapeData':_0x274481});}[_0x2a388e(0x125)](_0x5eca86){return this['update']({'transform':_0x5eca86});}['setSize'](_0x18f964,_0xd1e244){return this['setTransform']({'width':_0x18f964,'height':_0xd1e244});}[_0x2a388e(0x1c3)](_0x18eb0b){return this['setTransform']({'rotation':_0x18eb0b});}['setAbsolutePosition'](_0x41a5b5,_0x46aa69){const _0x249605=_0x2a388e;return this[_0x249605(0x125)]({'left':_0x41a5b5,'top':_0x46aa69});}[_0x2a388e(0x132)](_0x821ed5){const _0x5b3554=_0x2a388e;let _0x13d2ac=n[_0x5b3554(0x111)][_0x5b3554(0x1c4)](_0x821ed5);return this[_0x5b3554(0x1b9)](_0x417f40=>({..._0x417f40,'isCustom':!0x0,'customGeometry':_0x13d2ac}));}[_0x2a388e(0x12b)](){const _0x4acfa0=_0x2a388e;var _0x594651,_0x48c94d;return(_0x594651=(_0x48c94d=this['_getGeometryModel']())==null?void 0x0:_0x48c94d[_0x4acfa0(0x153)]()['map'](_0x5caaa5=>({..._0x5caaa5})))==null?[]:_0x594651;}[_0x2a388e(0x119)](){const _0x283fc8=_0x2a388e;var _0x371873,_0x548cc6;return(_0x371873=(_0x548cc6=this[_0x283fc8(0x130)]())==null?void 0x0:_0x548cc6[_0x283fc8(0x19a)]()[_0x283fc8(0x172)](_0xfa610=>({..._0xfa610})))==null?[]:_0x371873;}[_0x2a388e(0x13b)](){const _0x3e498b=_0x2a388e;var _0x4b903c;let _0x4ffb7e=(_0x4b903c=this['_getGeometryModel']())==null?void 0x0:_0x4b903c[_0x3e498b(0x13b)]();return _0x4ffb7e?{..._0x4ffb7e}:null;}[_0x2a388e(0x14d)](){const _0xdfdc92=_0x2a388e;var _0x1d4f67;let _0x136a56=(_0x1d4f67=this[_0xdfdc92(0x130)]())==null?void 0x0:_0x1d4f67['getEndConnectInfo']();return _0x136a56?{..._0x136a56}:null;}[_0x2a388e(0x17e)](_0x140ca0,_0x3582de){return this['_patchShapeData'](_0x2c4693=>({..._0x2c4693,'fill':{'fillType':e['ShapeFillEnum']['SolidFill'],'color':_0x140ca0,'opacity':_0x3582de}}));}[_0x2a388e(0x192)](_0x536a6a,_0x4c793c,_0x295070){const _0x40af85=_0x2a388e;return _0x4c793c[_0x40af85(0x184)]<0x2?(console[_0x40af85(0xfd)](_0x40af85(0x147)),this):this[_0x40af85(0x1b9)](_0x117dba=>({..._0x117dba,'fill':{'fillType':e[_0x40af85(0x17c)][_0x40af85(0x1b5)],'gradientType':_0x536a6a,'gradientStops':n[_0x40af85(0x111)]['deepClone'](_0x4c793c),'gradientAngle':_0x295070}}));}[_0x2a388e(0x190)](_0x156e01,_0x2f1b0a,_0x1702d7={}){const _0x4822da=_0x2a388e;return this[_0x4822da(0x1b9)](_0x47e057=>({..._0x47e057,'fill':{...n[_0x4822da(0x111)]['deepClone'](_0x1702d7),'fillType':e['ShapeFillEnum']['PictureFill'],'fillImageSource':_0x156e01,'fillImageSourceType':_0x2f1b0a}}));}['setNoneFill'](){const _0x2be687=_0x2a388e;return this[_0x2be687(0x1b9)](_0x11bfe6=>({..._0x11bfe6,'fill':{'fillType':e[_0x2be687(0x17c)][_0x2be687(0x118)]}}));}[_0x2a388e(0x1aa)](_0x1aa3e6){const _0x30e4e5=_0x2a388e;return this[_0x30e4e5(0x1b9)](_0x4c63fd=>({..._0x4c63fd,'stroke':n[_0x30e4e5(0x111)]['deepClone'](_0x1aa3e6)}));}[_0x2a388e(0x1a1)](_0x5c0515){const _0x55e8db=_0x2a388e;return this['_patchStroke'](_0x430a3d=>({..._0x430a3d,'color':_0x5c0515,'lineStrokeType':_0x430a3d['lineStrokeType']===e[_0x55e8db(0x194)][_0x55e8db(0x16e)]?e[_0x55e8db(0x194)][_0x55e8db(0x1a0)]:_0x430a3d['lineStrokeType']}));}['setStrokeWidth'](_0xf9992d){const _0x1e43de=_0x2a388e;return this['_patchStroke'](_0x32973e=>({..._0x32973e,'width':_0xf9992d,'lineStrokeType':_0x32973e['lineStrokeType']===e['ShapeLineTypeEnum'][_0x1e43de(0x16e)]?e[_0x1e43de(0x194)][_0x1e43de(0x1a0)]:_0x32973e[_0x1e43de(0x15a)]}));}[_0x2a388e(0x193)](_0x5559aa){const _0x5880e7=_0x2a388e;return this[_0x5880e7(0x146)](_0x271f07=>({..._0x271f07,'opacity':_0x5559aa}));}['setStrokeLineDashType'](_0x492d56){const _0x186062=_0x2a388e;return this[_0x186062(0x146)](_0x149e58=>({..._0x149e58,'dashType':_0x492d56}));}['setStrokeLineJoinType'](_0x59604a){const _0x4d8233=_0x2a388e;return this[_0x4d8233(0x146)](_0x41355a=>({..._0x41355a,'lineJoinType':_0x59604a}));}[_0x2a388e(0x1a4)](_0x44d6a8){const _0x1b5ad0=_0x2a388e;return this[_0x1b5ad0(0x146)](_0xaa1d37=>({..._0xaa1d37,'capType':_0x44d6a8}));}[_0x2a388e(0x1d5)](_0x123a74){const _0x263671=_0x2a388e;return this[_0x263671(0x146)](_0x74704c=>({..._0x74704c,'lineStrokeType':_0x123a74}));}['update'](_0x4bd1e1){const _0x509b02=_0x2a388e;var _0x3cd55d,_0x44032b,_0x2b0922;let _0x23da04=_0x4bd1e1[_0x509b02(0x18a)],_0x14d6af=_0x23da04&&(_0x509b02(0x13c)in _0x23da04||_0x509b02(0xff)in _0x23da04)?this[_0x509b02(0x124)]():null,_0x178479=(_0x3cd55d=(_0x44032b=_0x4bd1e1[_0x509b02(0x15b)])==null?(_0x2b0922=_0x4bd1e1[_0x509b02(0x18a)])==null?void 0x0:_0x2b0922[_0x509b02(0x15b)]:_0x44032b)==null?_0x14d6af:_0x3cd55d,_0x28e7e4=c(_0x4bd1e1,_0x178479!==null&&(0x0,e[_0x509b02(0x110)])(_0x178479));return _0x28e7e4?(console[_0x509b02(0xfd)](_0x509b02(0x174)+_0x28e7e4),this):(this[_0x509b02(0x109)](_0x509b02(0x14b),_0x58998d=>_0x58998d['updateShape'](this[_0x509b02(0x1bc)],_0x4bd1e1)),this);}['remove'](){const _0x58e0a0=_0x2a388e;return this[_0x58e0a0(0x109)]('remove',_0x4adac5=>_0x4adac5[_0x58e0a0(0x126)](this[_0x58e0a0(0x1bc)]));}[_0x2a388e(0x163)](){const _0x543f4d=_0x2a388e;return this[_0x543f4d(0x109)](_0x543f4d(0x1b8),_0x4dc966=>_0x4dc966[_0x543f4d(0x163)](this['_shapeRef'])),this;}[_0x2a388e(0x177)](){const _0x4e48ac=_0x2a388e;return this[_0x4e48ac(0x109)](_0x4e48ac(0x1c7),_0x363d0f=>_0x363d0f[_0x4e48ac(0x177)](this['_shapeRef'])),this;}[_0x2a388e(0x143)](){const _0x31db40=_0x2a388e;return this[_0x31db40(0x109)](_0x31db40(0x17a),_0x2f8f18=>_0x2f8f18[_0x31db40(0x143)](this[_0x31db40(0x1bc)])),this;}['sendToBack'](){const _0x26c191=_0x2a388e;return this[_0x26c191(0x109)](_0x26c191(0x11a),_0x2e6b4f=>_0x2e6b4f[_0x26c191(0x1a3)](this[_0x26c191(0x1bc)])),this;}[_0x2a388e(0x149)](){const _0x4428fe=_0x2a388e;return this[_0x4428fe(0x1c0)][_0x4428fe(0x1ab)](e[_0x4428fe(0x13a)])[_0x4428fe(0x1ab)](this[_0x4428fe(0x1bc)][_0x4428fe(0x1be)]);}[_0x2a388e(0x1b9)](_0x3b317a,_0x2a60f1){const _0x483960=_0x2a388e;let _0x51c7e8=this[_0x483960(0x1af)]();return _0x51c7e8?this['update']({'shapeType':_0x2a60f1,'shapeData':_0x3b317a(_0x51c7e8)}):this;}[_0x2a388e(0x146)](_0x3d8ec4){const _0x230021=_0x2a388e;return this[_0x230021(0x1b9)](_0x2eaa70=>{const _0x58e359=_0x230021;var _0x512bce;return{..._0x2eaa70,'stroke':_0x3d8ec4((_0x512bce=_0x2eaa70[_0x58e359(0x162)])==null?{}:_0x512bce)};});}[_0x2a388e(0x175)](){const _0x345f02=_0x2a388e;let _0x29099c=this[_0x345f02(0x149)]();if(!_0x29099c)return null;try{return _0x29099c[_0x345f02(0x135)](this[_0x345f02(0x1bc)])||(console[_0x345f02(0xfd)](_0x345f02(0x131)+this[_0x345f02(0x1bc)]['shapeId']+_0x345f02(0x191)),null);}catch(_0x1966ca){return console[_0x345f02(0xfd)]('[Shape\x20Facade]:\x20Failed\x20to\x20read\x20Shape\x20\x22'+this[_0x345f02(0x1bc)]['shapeId']+'\x22.',_0x1966ca),null;}}['_getGeometryModel'](){const _0x2a4090=_0x2a388e;let _0x56bc3f=this[_0x2a4090(0x175)]();if(!_0x56bc3f)return null;try{let _0x1d51e2=new e[(_0x2a4090(0x164))](_0x56bc3f['shapeType'],_0x56bc3f['shapeId'],_0x56bc3f[_0x2a4090(0x18a)]);return _0x1d51e2[_0x2a4090(0x1b4)]({'width':_0x56bc3f[_0x2a4090(0x17d)][_0x2a4090(0x102)],'height':_0x56bc3f[_0x2a4090(0x17d)][_0x2a4090(0x186)]}),_0x1d51e2;}catch(_0x3ab8df){return console[_0x2a4090(0xfd)](_0x2a4090(0x173)+this['_shapeRef'][_0x2a4090(0x182)]+'\x22.',_0x3ab8df),null;}}['_mutate'](_0x1efe6a,_0x2be558){const _0x1dc6b6=_0x2a388e;let _0x2e6d6f=this[_0x1dc6b6(0x149)]();if(!_0x2e6d6f)return!0x1;try{let _0x1fe0b3=_0x2be558(_0x2e6d6f);return _0x1fe0b3||console[_0x1dc6b6(0xfd)](_0x1dc6b6(0x16f)+_0x1efe6a+_0x1dc6b6(0x140)+this[_0x1dc6b6(0x1bc)][_0x1dc6b6(0x182)]+'\x22.'),_0x1fe0b3;}catch(_0x41998d){return console['warn'](_0x1dc6b6(0x16f)+_0x1efe6a+_0x1dc6b6(0x140)+this['_shapeRef'][_0x1dc6b6(0x182)]+'\x22.',_0x41998d),!0x1;}}};function _0x3dab(){const _0x57c528=['[Shape\x20Facade]:\x20Gradient\x20fill\x20requires\x20at\x20least\x20two\x20color\x20stops.','setEndArrow','_getAdapter','getRichText','update','routePoints','getEndConnectInfo','[Shape\x20Text\x20Facade]:\x20Shape\x20\x22','offsetX','ShapeTypeEnum','unbind\x20start','boolean','getConnectionSiteList','Diamond','toStringTag','[Shape\x20Text\x20Facade]:\x20Failed\x20to\x20read\x20Shape\x20\x22','1832670FyxeCn','toPlainText','setTextBoxOptions','lineStrokeType','shapeType','solid','tile','scaleX','applyShapeTextBoxOptions','\x22\x20must\x20be\x20finite.','bind\x20','stroke','bringToFront','ShapeModel','rotation','setVerticalAlign','setShapeData','FShapeText','FConnectorShape','_getConnectorAdapter','createInstance','getTransform','Tile','NoLine','[Shape\x20Facade]:\x20Failed\x20to\x20','setDescription','updateShape','map','[Shape\x20Facade]:\x20Failed\x20to\x20resolve\x20geometry\x20for\x20Shape\x20\x22','[Shape\x20Facade]:\x20','_getSnapshot','offsetY','bringForward','setTextStyle','setFontSize','send\x20backward','isInteger','ShapeFillEnum','transform','setSolidFill','isCustomShape','setRichText','setName','shapeId','ImageSourceTypeEnum','length','bindEnd','height','set\x20route\x20points','getRoutePoints','ShapeArrowSizeEnum','shapeData','\x22\x20requires\x20a\x20Connector\x20Shape\x20type.','mode','set\x20end\x20point','applyRichTextToShapeText','ShapeImageSourceTypeEnum','setImageFill','\x22\x20was\x20not\x20found.','setGradientFill','setStrokeOpacity','ShapeLineTypeEnum','ShapeImageFillModeEnum','top','ShapeTextDirection','[Shape\x20Facade]:\x20Connector\x20\x22','\x22\x20binding\x20requires\x20a\x20target\x20Shape\x20ID\x20and\x20a\x20non-negative\x20connection\x20site\x20index.','getDrawingPoints','Radial','color','radial','end','[Shape\x20Text\x20Facade]:\x20Failed\x20to\x20update\x20Shape\x20\x22','SolidLine','setStrokeColor','\x22\x20points\x20must\x20contain\x20finite\x20coordinates.','sendToBack','setStrokeLineCapType','getDescription','Shape\x20\x22','Shape\x20transform\x20\x22','ShapeOperatorEnum','FShape','setStroke','get','stretch','setBold','setStartArrow','getShapeData','getHostType','unbindStart','URL','setNoneFill','updateContext','GradientFill','_updateShapeData','getText','bring\x20to\x20front','_patchShapeData','63fDmdnm','left','_shapeRef','8193fJGrQW','hostType','opacity','_injector','isCustom','\x22\x20must\x20be\x20boolean.','setRotation','deepClone','set\x20start\x20point','Angular','bring\x20forward','getTextBoxOptions','getId','setStartPoint','[Shape\x20Facade]:\x20Failed\x20to\x20read\x20Connector\x20Shape\x20\x22','unbindEnd','FEnum','ShapeLineCapEnum','4793470hTVscY','ShapeGradientTypeEnum','name','\x20Connector\x20Shape\x20\x22','ShapeTextAutoFitType','applyShapeTextStyle','setStrokeLineType','selectable','isSelectable','\x22\x20requires\x20Connector\x20Shape\x20data.','extend','setShapeType','[Shape\x20Text\x20Facade]:\x20Gradient\x20text\x20fill\x20requires\x20at\x20least\x20two\x20color\x20stops.','warn','setText','points','31208rYJBRI','every','width','setFontFamily','start','flipX','setRoutePoints','setEndPoint','2623628OEvufa','_mutate','614MAgkSg','isVisible','applyShapeTextAlignment','Shape\x20width\x20must\x20be\x20greater\x20than\x20zero.','setItalic','617718pKROqT','isConnectorShape','Tools','gradient','setUnderline','Linear','setColor','_getShapeData','isFinite','NoFill','getAdjustPoints','send\x20to\x20back','endArrow','getSnapshot','3507600pmmZRZ','setHorizontalAlign','_mutateConnector','\x22\x20text.','getStartEndpoint','ShapeLineDashEnum','ShapeLineJoinEnum','getShapeType','setTransform','removeShape','flipY','FALSE','7KqkjQo','bindStart','getConnectionSites','applyTextToShapeText','ShapeTextWrapType','BooleanNumber','ImageFillModeEnum','_getGeometryModel','[Shape\x20Facade]:\x20Shape\x20\x22','setCustomGeometry','Shape\x20height\x20must\x20be\x20greater\x20than\x20zero.','setStrikethrough','getShape','shapeTextToRichTextValue','setSelectable','set\x20start\x20arrow','customGeometry','IShapeHostAdapterRegistry','getStartConnectInfo','relation','unbind\x20end','shapeText','none','\x20Shape\x20\x22','TRUE','_bind','sendBackward','[Shape\x20Facade]:\x20Connector\x20Shape\x20\x22','_getConnectorSnapshot','_patchStroke'];_0x3dab=function(){return _0x57c528;};return _0x3dab();}function c(_0x38be36,_0x13e064=!0x1){const _0xf1549a=_0x2a388e;for(let _0x849ce5 of['visible',_0xf1549a(0x1d6)]){let _0x3d75d1=_0x38be36[_0x849ce5];if(_0x3d75d1!==void 0x0&&typeof _0x3d75d1!=_0xf1549a(0x152))return _0xf1549a(0x1a6)+_0x849ce5+_0xf1549a(0x1c2);}let _0x4e2817=_0x38be36[_0xf1549a(0x17d)];if(_0x4e2817){for(let _0x3a3af3 of[_0xf1549a(0x1bb),_0xf1549a(0x196),_0xf1549a(0x102),_0xf1549a(0x186),_0xf1549a(0x165)]){let _0x214a03=_0x4e2817[_0x3a3af3];if(_0x214a03!==void 0x0&&!Number['isFinite'](_0x214a03))return _0xf1549a(0x1a7)+_0x3a3af3+_0xf1549a(0x160);}if(_0x4e2817['width']!==void 0x0&&_0x4e2817['width']<=0x0)return _0xf1549a(0x10d);if(_0x4e2817[_0xf1549a(0x186)]!==void 0x0&&_0x4e2817[_0xf1549a(0x186)]<=0x0)return _0xf1549a(0x133);for(let _0x321858 of[_0xf1549a(0x105),_0xf1549a(0x127)]){let _0x5e0dd2=_0x4e2817[_0x321858];if(_0x5e0dd2!==void 0x0&&typeof _0x5e0dd2!=_0xf1549a(0x152))return _0xf1549a(0x1a7)+_0x321858+_0xf1549a(0x1c2);}}let _0x57df14=_0x38be36[_0xf1549a(0x18a)];return!_0x13e064&&_0x57df14&&(_0xf1549a(0x13c)in _0x57df14||_0xf1549a(0xff)in _0x57df14)?'Connector\x20relationships\x20and\x20route\x20points\x20require\x20FConnectorShape.':null;}function _0x5e9e(_0x35575b,_0xe63a1c){_0x35575b=_0x35575b-0xfb;const _0x3dab21=_0x3dab();let _0x5e9e88=_0x3dab21[_0x35575b];return _0x5e9e88;}var l=class extends s{['isConnectorShape'](){return!0x0;}[_0x2a388e(0x121)](){const _0x26b44e=_0x2a388e;let _0x5a970d=this[_0x26b44e(0x145)]();return _0x5a970d?n[_0x26b44e(0x111)][_0x26b44e(0x1c4)](_0x5a970d[_0x26b44e(0x104)]):null;}['getEndEndpoint'](){const _0x26d333=_0x2a388e;let _0x3bdf70=this[_0x26d333(0x145)]();return _0x3bdf70?n['Tools'][_0x26d333(0x1c4)](_0x3bdf70[_0x26d333(0x19e)]):null;}[_0x2a388e(0x188)](){const _0x48acbd=_0x2a388e;let _0x48091c=this[_0x48acbd(0x145)]();return _0x48091c?n[_0x48acbd(0x111)][_0x48acbd(0x1c4)](_0x48091c[_0x48acbd(0x14c)]):null;}['getStartArrow'](){const _0x22af6a=_0x2a388e;let _0x4c3114=this[_0x22af6a(0x145)]();return _0x4c3114?n['Tools'][_0x22af6a(0x1c4)](_0x4c3114['startArrow']):null;}['getEndArrow'](){const _0x33ef98=_0x2a388e;let _0x45f004=this[_0x33ef98(0x145)]();return _0x45f004?n[_0x33ef98(0x111)][_0x33ef98(0x1c4)](_0x45f004[_0x33ef98(0x11b)]):null;}[_0x2a388e(0xfb)](_0x23e52){const _0x2b4557=_0x2a388e;return(0x0,e[_0x2b4557(0x110)])(_0x23e52)?super[_0x2b4557(0xfb)](_0x23e52):(console[_0x2b4557(0xfd)](_0x2b4557(0x144)+this[_0x2b4557(0x1bc)]['shapeId']+_0x2b4557(0x18b)),this);}[_0x2a388e(0x167)](_0x554e89){const _0x157a76=_0x2a388e;return _0x554e89[_0x157a76(0x15b)]!==void 0x0&&!(0x0,e['isConnectorShape'])(_0x554e89['shapeType'])?(console['warn']('[Shape\x20Facade]:\x20Connector\x20Shape\x20\x22'+this[_0x157a76(0x1bc)]['shapeId']+_0x157a76(0x1d8)),this):super[_0x157a76(0x167)](_0x554e89);}[_0x2a388e(0x12a)](_0x44fee7,_0x230a5d){const _0x392333=_0x2a388e;return this['_bind'](_0x392333(0x104),_0x44fee7,_0x230a5d),this;}[_0x2a388e(0x185)](_0x31574d,_0x4bbf91){const _0x252b4a=_0x2a388e;return this[_0x252b4a(0x142)](_0x252b4a(0x19e),_0x31574d,_0x4bbf91),this;}[_0x2a388e(0x1b1)](){const _0x3c3d44=_0x2a388e;return this[_0x3c3d44(0x11f)](_0x3c3d44(0x151),_0x252edf=>_0x252edf[_0x3c3d44(0x1b1)](this[_0x3c3d44(0x1bc)])),this;}[_0x2a388e(0x1cc)](){const _0x251b50=_0x2a388e;return this['_mutateConnector'](_0x251b50(0x13d),_0x247219=>_0x247219[_0x251b50(0x1cc)](this['_shapeRef'])),this;}[_0x2a388e(0x1ca)](_0x212531){const _0x2722ce=_0x2a388e;return u(_0x212531,this[_0x2722ce(0x1bc)]['shapeId'])&&this[_0x2722ce(0x11f)](_0x2722ce(0x1c5),_0x9ab36b=>_0x9ab36b[_0x2722ce(0x1ca)](this[_0x2722ce(0x1bc)],_0x212531)),this;}['setEndPoint'](_0x2d3a2c){const _0x39e8b3=_0x2a388e;return u(_0x2d3a2c,this[_0x39e8b3(0x1bc)][_0x39e8b3(0x182)])&&this['_mutateConnector'](_0x39e8b3(0x18d),_0x655d40=>_0x655d40[_0x39e8b3(0x107)](this[_0x39e8b3(0x1bc)],_0x2d3a2c)),this;}[_0x2a388e(0x106)](_0x4119b2){const _0x31f366=_0x2a388e;return _0x4119b2[_0x31f366(0x101)](_0x766698=>u(_0x766698,this[_0x31f366(0x1bc)][_0x31f366(0x182)]))&&this['_mutateConnector'](_0x31f366(0x187),_0x3c6dcd=>_0x3c6dcd[_0x31f366(0x106)](this[_0x31f366(0x1bc)],_0x4119b2)),this;}[_0x2a388e(0x1ae)](_0x32fb33,_0x38c84e){const _0x155d90=_0x2a388e;return this[_0x155d90(0x11f)](_0x155d90(0x138),_0x4c80db=>_0x4c80db[_0x155d90(0x1ae)](this[_0x155d90(0x1bc)],_0x32fb33,_0x38c84e)),this;}[_0x2a388e(0x148)](_0x4d4420,_0xbdb920){const _0x19390b=_0x2a388e;return this[_0x19390b(0x11f)]('set\x20end\x20arrow',_0x144302=>_0x144302[_0x19390b(0x148)](this[_0x19390b(0x1bc)],_0x4d4420,_0xbdb920)),this;}[_0x2a388e(0x16a)](){const _0x2a2e01=_0x2a388e;return this[_0x2a2e01(0x1c0)][_0x2a2e01(0x1ab)](e['IConnectorShapeHostAdapter']);}[_0x2a388e(0x145)](){const _0x27a7fa=_0x2a388e;let _0x26cffe=this[_0x27a7fa(0x16a)]();if(!_0x26cffe)return null;try{return _0x26cffe['getConnector'](this[_0x27a7fa(0x1bc)])||(console[_0x27a7fa(0xfd)](_0x27a7fa(0x144)+this[_0x27a7fa(0x1bc)][_0x27a7fa(0x182)]+'\x22\x20was\x20not\x20found.'),null);}catch(_0xb5abde){return console[_0x27a7fa(0xfd)](_0x27a7fa(0x1cb)+this[_0x27a7fa(0x1bc)][_0x27a7fa(0x182)]+'\x22.',_0xb5abde),null;}}[_0x2a388e(0x142)](_0x2caef6,_0x424059,_0x3b1386){const _0x4b47b9=_0x2a388e;if(!_0x424059||!Number[_0x4b47b9(0x17b)](_0x3b1386)||_0x3b1386<0x0)return console['warn']('[Shape\x20Facade]:\x20Connector\x20\x22'+this[_0x4b47b9(0x1bc)][_0x4b47b9(0x182)]+_0x4b47b9(0x199)),!0x1;let _0x1d87dd={'shapeId':_0x424059,'cxnIndex':_0x3b1386};return this[_0x4b47b9(0x11f)](_0x4b47b9(0x161)+_0x2caef6,_0x40b97f=>_0x2caef6==='start'?_0x40b97f[_0x4b47b9(0x12a)](this[_0x4b47b9(0x1bc)],_0x1d87dd):_0x40b97f[_0x4b47b9(0x185)](this[_0x4b47b9(0x1bc)],_0x1d87dd));}['_mutateConnector'](_0x54ae5a,_0x56d230){const _0x243c58=_0x2a388e;let _0x4737bc=this[_0x243c58(0x16a)]();if(!_0x4737bc)return!0x1;try{let _0x32f679=_0x56d230(_0x4737bc);return _0x32f679||console[_0x243c58(0xfd)](_0x243c58(0x16f)+_0x54ae5a+_0x243c58(0x1d2)+this[_0x243c58(0x1bc)]['shapeId']+'\x22.'),_0x32f679;}catch(_0x1b7ad8){return console[_0x243c58(0xfd)](_0x243c58(0x16f)+_0x54ae5a+_0x243c58(0x1d2)+this[_0x243c58(0x1bc)][_0x243c58(0x182)]+'\x22.',_0x1b7ad8),!0x1;}}};function u(_0x35045c,_0x18e57d){const _0x34471e=_0x2a388e;return!Number[_0x34471e(0x117)](_0x35045c['x'])||!Number['isFinite'](_0x35045c['y'])?(console[_0x34471e(0xfd)](_0x34471e(0x198)+_0x18e57d+_0x34471e(0x1a2)),!0x1):!0x0;}exports[_0x2a388e(0x169)]=l,exports[_0x2a388e(0x1a9)]=s,exports[_0x2a388e(0x168)]=o;
|
|
1
|
+
const _0x353aab=_0x11ca;(function(_0x46ca7a,_0x131b1f){const _0x1a4e25=_0x11ca,_0x3fe739=_0x46ca7a();while(!![]){try{const _0x401336=parseInt(_0x1a4e25(0x207))/0x1+-parseInt(_0x1a4e25(0x1ee))/0x2+-parseInt(_0x1a4e25(0x16f))/0x3*(parseInt(_0x1a4e25(0x142))/0x4)+parseInt(_0x1a4e25(0x208))/0x5*(-parseInt(_0x1a4e25(0x156))/0x6)+parseInt(_0x1a4e25(0x1e7))/0x7*(-parseInt(_0x1a4e25(0x136))/0x8)+-parseInt(_0x1a4e25(0x147))/0x9*(-parseInt(_0x1a4e25(0x1f7))/0xa)+-parseInt(_0x1a4e25(0x16b))/0xb*(-parseInt(_0x1a4e25(0x176))/0xc);if(_0x401336===_0x131b1f)break;else _0x3fe739['push'](_0x3fe739['shift']());}catch(_0x1a651a){_0x3fe739['push'](_0x3fe739['shift']());}}}(_0x2176,0x4eff4),Object['defineProperty'](exports,Symbol[_0x353aab(0x21c)],{'value':_0x353aab(0x150)}));function _0x11ca(_0x1dc592,_0x4475a6){_0x1dc592=_0x1dc592-0x12e;const _0x217699=_0x2176();let _0x11ca9f=_0x217699[_0x1dc592];return _0x11ca9f;}let e=require('@univerjs-pro/engine-shape'),t=require('@univerjs/core/facade'),n=require('@univerjs/core');var r=class extends t[_0x353aab(0x19e)]{get[_0x353aab(0x1e1)](){const _0x3dd7c1=_0x353aab;return e[_0x3dd7c1(0x1e1)];}get['ShapeFillEnum'](){const _0x557450=_0x353aab;return e[_0x557450(0x195)];}get[_0x353aab(0x174)](){const _0x1ff250=_0x353aab;return e[_0x1ff250(0x174)];}get[_0x353aab(0x1d0)](){const _0x1063d1=_0x353aab;return e[_0x1063d1(0x1a2)];}get[_0x353aab(0x1f4)](){const _0x14418a=_0x353aab;return e[_0x14418a(0x166)];}get[_0x353aab(0x1f6)](){const _0x5aa198=_0x353aab;return e[_0x5aa198(0x1f6)];}get[_0x353aab(0x1b2)](){const _0x562055=_0x353aab;return e[_0x562055(0x1b2)];}get[_0x353aab(0x1f5)](){const _0x1a2d0b=_0x353aab;return e[_0x1a2d0b(0x1f5)];}get[_0x353aab(0x191)](){const _0x2dbea7=_0x353aab;return e[_0x2dbea7(0x191)];}get[_0x353aab(0x19a)](){const _0x1001ec=_0x353aab;return e[_0x1001ec(0x19a)];}get[_0x353aab(0x155)](){const _0x216ad1=_0x353aab;return e[_0x216ad1(0x155)];}get[_0x353aab(0x194)](){const _0x1aa185=_0x353aab;return e[_0x1aa185(0x194)];}get['ShapeTextAutoFitType'](){return e['ShapeTextAutoFitType'];}get[_0x353aab(0x1a5)](){const _0x2e6fff=_0x353aab;return e[_0x2e6fff(0x1a5)];}get[_0x353aab(0x16c)](){const _0x3c7acc=_0x353aab;return e[_0x3c7acc(0x16c)];}};t[_0x353aab(0x19e)][_0x353aab(0x213)](r);function i(_0x2d1411){const _0x4f60e6=_0x353aab;switch(_0x2d1411){case e[_0x4f60e6(0x174)][_0x4f60e6(0x180)]:return _0x4f60e6(0x1c6);case e[_0x4f60e6(0x174)][_0x4f60e6(0x1da)]:return _0x4f60e6(0x1ea);case e[_0x4f60e6(0x174)][_0x4f60e6(0x13e)]:return _0x4f60e6(0x204);case e['ShapeGradientTypeEnum']['Linear']:default:return'linear';}}function a(_0x56e500){const _0x1bb5ae=_0x353aab;return _0x56e500===e[_0x1bb5ae(0x1a2)][_0x1bb5ae(0x15d)]?'tile':_0x1bb5ae(0x20c);}var o=class{constructor(_0x1751a5,_0xb5dcc3){this['_shapeRef']=_0x1751a5,this['_injector']=_0xb5dcc3;}[_0x353aab(0x149)](){const _0x4d22de=_0x353aab;var _0x3c0c04;return(0x0,e[_0x4d22de(0x1ff)])((_0x3c0c04=this[_0x4d22de(0x1bc)]())==null?void 0x0:_0x3c0c04[_0x4d22de(0x15f)]);}[_0x353aab(0x1dd)](){const _0x476205=_0x353aab;var _0x50dbd6,_0x3896e1;return(_0x50dbd6=(_0x3896e1=this[_0x476205(0x149)]())==null?void 0x0:_0x3896e1[_0x476205(0x139)]())==null?null:_0x50dbd6;}[_0x353aab(0x1db)](_0x52e7c3){const _0x48fdc0=_0x353aab;return this[_0x48fdc0(0x189)](_0x3f86c9=>({..._0x3f86c9,'shapeText':(0x0,e['applyRichTextToShapeText'])(_0x3f86c9[_0x48fdc0(0x15f)],_0x52e7c3)})),this;}['setText'](_0xd561b5){const _0x18d3eb=_0x353aab;return this[_0x18d3eb(0x189)](_0x5b0241=>({..._0x5b0241,'shapeText':(0x0,e['applyTextToShapeText'])(_0x5b0241['shapeText'],_0xd561b5)})),this;}[_0x353aab(0x1a8)](_0x121d4b){const _0x336221=_0x353aab;return this[_0x336221(0x189)](_0x19a8a8=>({..._0x19a8a8,'shapeText':(0x0,e['applyShapeTextStyle'])(_0x19a8a8[_0x336221(0x15f)],_0x121d4b)})),this;}[_0x353aab(0x185)](_0x4a8a3e,_0x4f6550){const _0xbdc344=_0x353aab;return this[_0xbdc344(0x1a8)]({'cl':{'rgb':_0x4a8a3e},'textFill':{'type':'solid','color':_0x4a8a3e,'opacity':_0x4f6550}});}[_0x353aab(0x181)](){const _0x3c827e=_0x353aab;return this[_0x3c827e(0x1a8)]({'cl':{'rgb':'rgba(0,\x200,\x200,\x200)'},'textFill':{'type':'none'}});}[_0x353aab(0x197)](_0x2a69f2,_0x39cb00,_0x441da5){const _0x1f085d=_0x353aab;return _0x39cb00['length']<0x2?(console[_0x1f085d(0x20a)](_0x1f085d(0x14a)),this):this[_0x1f085d(0x1a8)]({'cl':{'rgb':_0x39cb00[0x0][_0x1f085d(0x154)]},'textFill':{'type':_0x1f085d(0x1cb),'gradient':{'type':i(_0x2a69f2),'angle':_0x441da5,'stops':_0x39cb00[_0x1f085d(0x135)](({position:_0x52bbf4,color:_0x3f7dbf,opacity:_0x3f19fa})=>({'offset':_0x52bbf4,'color':_0x3f7dbf,'opacity':_0x3f19fa}))}}});}['setImageFill'](_0x2940f0,_0x4d8a84=e['ImageSourceTypeEnum'][_0x353aab(0x201)],_0x58006c={}){const _0x14bd18=_0x353aab;return this[_0x14bd18(0x1a8)]({'textFill':{'type':_0x14bd18(0x212),'picture':{'source':_0x2940f0,'sourceType':_0x4d8a84,'opacity':_0x58006c[_0x14bd18(0x1fe)],'mode':a(_0x58006c['mode']),'scaleX':_0x58006c[_0x14bd18(0x211)],'scaleY':_0x58006c[_0x14bd18(0x1e4)],'offsetX':_0x58006c[_0x14bd18(0x183)],'offsetY':_0x58006c[_0x14bd18(0x1ba)]}}});}[_0x353aab(0x1c9)](_0x11ecc8){const _0x34b128=_0x353aab;return this[_0x34b128(0x1a8)]({'fs':_0x11ecc8});}[_0x353aab(0x1e6)](_0x3625a2){const _0x20e47b=_0x353aab;return this[_0x20e47b(0x1a8)]({'ff':_0x3625a2});}[_0x353aab(0x1ef)](_0x370e97){const _0x6677a1=_0x353aab;return this[_0x6677a1(0x1a8)]({'bl':_0x370e97?n[_0x6677a1(0x13f)][_0x6677a1(0x1e2)]:n[_0x6677a1(0x13f)][_0x6677a1(0x1f1)]});}[_0x353aab(0x1bd)](_0x71465){const _0x45d7f6=_0x353aab;return this[_0x45d7f6(0x1a8)]({'it':_0x71465?n[_0x45d7f6(0x13f)][_0x45d7f6(0x1e2)]:n['BooleanNumber']['FALSE']});}[_0x353aab(0x1a7)](_0x97498e){const _0x2a3fd3=_0x353aab;return this['setTextStyle']({'ul':{'s':_0x97498e?n[_0x2a3fd3(0x13f)][_0x2a3fd3(0x1e2)]:n[_0x2a3fd3(0x13f)]['FALSE']}});}[_0x353aab(0x18f)](_0x23f4cd){const _0x15dcfa=_0x353aab;return this[_0x15dcfa(0x1a8)]({'st':{'s':_0x23f4cd?n[_0x15dcfa(0x13f)][_0x15dcfa(0x1e2)]:n[_0x15dcfa(0x13f)][_0x15dcfa(0x1f1)]}});}['setHorizontalAlign'](_0x13a03a){const _0x311335=_0x353aab;return this[_0x311335(0x189)](_0x15684f=>(0x0,e[_0x311335(0x1f2)])(_0x15684f,{'horizontalAlign':_0x13a03a})),this;}[_0x353aab(0x1e8)](_0x35934d){const _0x303bee=_0x353aab;return this[_0x303bee(0x189)](_0x36b6af=>(0x0,e[_0x303bee(0x1f2)])(_0x36b6af,{'verticalAlign':_0x35934d})),this;}[_0x353aab(0x1b7)](){const _0x2749ce=_0x353aab;let _0x281e68=this[_0x2749ce(0x1bc)]();return _0x281e68?(0x0,e['resolveShapeTextBoxOptions'])(_0x281e68):null;}[_0x353aab(0x1c1)](_0x2d4519){const _0x493846=_0x353aab;return this[_0x493846(0x189)](_0x5c9adf=>(0x0,e[_0x493846(0x1b4)])(_0x5c9adf,_0x2d4519)),this;}[_0x353aab(0x184)](){const _0x5db5e8=_0x353aab;return this['_injector'][_0x5db5e8(0x141)](e[_0x5db5e8(0x1d6)])['get'](this[_0x5db5e8(0x17f)]['hostType']);}[_0x353aab(0x1bc)](){const _0x32a9d9=_0x353aab;let _0x178ead=this[_0x32a9d9(0x184)]();if(!_0x178ead)return null;try{var _0x5c3d03;return((_0x5c3d03=_0x178ead[_0x32a9d9(0x1ec)](this[_0x32a9d9(0x17f)]))==null?void 0x0:_0x5c3d03[_0x32a9d9(0x215)])||(console[_0x32a9d9(0x20a)](_0x32a9d9(0x1ab)+this['_shapeRef'][_0x32a9d9(0x214)]+_0x32a9d9(0x188)),null);}catch(_0x4ef6eb){return console['warn'](_0x32a9d9(0x186)+this[_0x32a9d9(0x17f)][_0x32a9d9(0x214)]+'\x22\x20text.',_0x4ef6eb),null;}}[_0x353aab(0x189)](_0x33f6d5){const _0x11cf04=_0x353aab;let _0x599d1e=this['_getAdapter']();if(!_0x599d1e)return!0x1;try{var _0xa9f5c9;let _0x1e6e5b=(_0xa9f5c9=_0x599d1e[_0x11cf04(0x1ec)](this[_0x11cf04(0x17f)]))==null?void 0x0:_0xa9f5c9[_0x11cf04(0x215)];if(!_0x1e6e5b)return console['warn'](_0x11cf04(0x1ab)+this[_0x11cf04(0x17f)][_0x11cf04(0x214)]+_0x11cf04(0x188)),!0x1;let _0x226a3f=_0x599d1e['updateShape'](this[_0x11cf04(0x17f)],{'shapeData':_0x33f6d5(_0x1e6e5b)});return _0x226a3f||console[_0x11cf04(0x20a)](_0x11cf04(0x217)+this[_0x11cf04(0x17f)][_0x11cf04(0x214)]+'\x22\x20text.'),_0x226a3f;}catch(_0x1e7215){return console[_0x11cf04(0x20a)]('[Shape\x20Text\x20Facade]:\x20Failed\x20to\x20update\x20Shape\x20\x22'+this[_0x11cf04(0x17f)][_0x11cf04(0x214)]+_0x11cf04(0x1bf),_0x1e7215),!0x1;}}};function s(_0x3c9704,_0x490250){return function(_0x1c7536,_0x2ee979){_0x490250(_0x1c7536,_0x2ee979,_0x3c9704);};}function c(_0x94e85a,_0x43e6d9,_0x38e130,_0x45da6d){const _0x2de700=_0x353aab;var _0x574dc1=arguments['length'],_0x48cefe=_0x574dc1<0x3?_0x43e6d9:_0x45da6d===null?_0x45da6d=Object['getOwnPropertyDescriptor'](_0x43e6d9,_0x38e130):_0x45da6d,_0x502e59;if(typeof Reflect==_0x2de700(0x1a0)&&typeof Reflect[_0x2de700(0x16d)]==_0x2de700(0x1c3))_0x48cefe=Reflect[_0x2de700(0x16d)](_0x94e85a,_0x43e6d9,_0x38e130,_0x45da6d);else{for(var _0x6a9ccb=_0x94e85a[_0x2de700(0x1be)]-0x1;_0x6a9ccb>=0x0;_0x6a9ccb--)(_0x502e59=_0x94e85a[_0x6a9ccb])&&(_0x48cefe=(_0x574dc1<0x3?_0x502e59(_0x48cefe):_0x574dc1>0x3?_0x502e59(_0x43e6d9,_0x38e130,_0x48cefe):_0x502e59(_0x43e6d9,_0x38e130))||_0x48cefe);}return _0x574dc1>0x3&&_0x48cefe&&Object[_0x2de700(0x1c4)](_0x43e6d9,_0x38e130,_0x48cefe),_0x48cefe;}let l=class extends t[_0x353aab(0x18a)]{constructor(_0x40fdf5,_0xf8b1e4,_0x5e471f,_0x4e84a4){const _0x3f67d7=_0x353aab;super(),this[_0x3f67d7(0x17f)]=_0x40fdf5,this[_0x3f67d7(0x173)]=_0xf8b1e4,this[_0x3f67d7(0x168)]=_0x5e471f,this[_0x3f67d7(0x216)]=_0x4e84a4;}[_0x353aab(0x19f)](){return!0x1;}['getId'](){const _0x480050=_0x353aab;return this[_0x480050(0x17f)][_0x480050(0x214)];}[_0x353aab(0x1ac)](){const _0x51022c=_0x353aab;var _0x236cbc;return(_0x236cbc=this[_0x51022c(0x1aa)]())==null?void 0x0:_0x236cbc[_0x51022c(0x1fa)];}[_0x353aab(0x21a)](_0x18d29e){return this['update']({'name':_0x18d29e});}[_0x353aab(0x1c5)](){const _0x8b81=_0x353aab;var _0x1e62a7;return(_0x1e62a7=this[_0x8b81(0x1aa)]())==null?void 0x0:_0x1e62a7['description'];}[_0x353aab(0x20f)](_0x4ca964){const _0x339e81=_0x353aab;return this[_0x339e81(0x164)]({'description':_0x4ca964});}['getHostType'](){const _0x1eee8e=_0x353aab;return this[_0x1eee8e(0x17f)][_0x1eee8e(0x19d)];}[_0x353aab(0x218)](){const _0x439cdc=_0x353aab;var _0x15babb,_0x238ad8;return(_0x15babb=(_0x238ad8=this[_0x439cdc(0x1aa)]())==null?void 0x0:_0x238ad8['shapeType'])==null?null:_0x15babb;}['getShapeData'](){const _0x2bf2ab=_0x353aab;let _0x20809f=this[_0x2bf2ab(0x1aa)]();return _0x20809f?n[_0x2bf2ab(0x199)]['deepClone'](_0x20809f[_0x2bf2ab(0x215)]):null;}[_0x353aab(0x177)](){const _0x5859d7=_0x353aab;let _0x445d4d=this[_0x5859d7(0x1aa)]();return _0x445d4d?n[_0x5859d7(0x199)][_0x5859d7(0x151)](_0x445d4d):null;}['getTransform'](){const _0x504ecf=_0x353aab;let _0x2093b7=this[_0x504ecf(0x1aa)]();return _0x2093b7?{..._0x2093b7[_0x504ecf(0x1df)]}:null;}[_0x353aab(0x1f9)](){const _0x278fba=_0x353aab;var _0x2d8d97,_0x4daebd;return(_0x2d8d97=(_0x4daebd=this['_getSnapshot']())==null?void 0x0:_0x4daebd[_0x278fba(0x17b)])!=null&&_0x2d8d97;}[_0x353aab(0x20e)](_0x4c4b5c){const _0x540428=_0x353aab;return this[_0x540428(0x164)]({'visible':_0x4c4b5c});}['isSelectable'](){const _0x17a91=_0x353aab;var _0x490d7d,_0x389e06;return(_0x490d7d=(_0x389e06=this[_0x17a91(0x1aa)]())==null?void 0x0:_0x389e06[_0x17a91(0x12f)])!=null&&_0x490d7d;}[_0x353aab(0x13d)](_0x19839c){return this['update']({'selectable':_0x19839c});}['getText'](){const _0x23a71b=_0x353aab;return this[_0x23a71b(0x173)][_0x23a71b(0x16e)](o,this[_0x23a71b(0x17f)],this[_0x23a71b(0x173)]);}['isCustomShape'](){const _0x141da3=_0x353aab;let _0x2e5b31=this['getShapeData']();return(_0x2e5b31==null?void 0x0:_0x2e5b31[_0x141da3(0x158)])===!0x0&&!!_0x2e5b31[_0x141da3(0x1cf)];}[_0x353aab(0x1ce)](){const _0x1919cc=_0x353aab;var _0x139678,_0x3be31b;return(_0x139678=(_0x3be31b=this[_0x1919cc(0x13c)]())==null?void 0x0:_0x3be31b[_0x1919cc(0x1cf)])==null?null:_0x139678;}[_0x353aab(0x1eb)](_0x26964d){return this['_patchShapeData'](_0x37e39a=>({..._0x37e39a,'shapeType':_0x26964d}),_0x26964d);}['setShapeData'](_0x57c539){const _0x497d0c=_0x353aab;let _0x139b0c=n[_0x497d0c(0x199)][_0x497d0c(0x151)](_0x57c539);return this[_0x497d0c(0x164)]({'shapeType':_0x139b0c[_0x497d0c(0x171)],'shapeData':_0x139b0c});}['setTransform'](_0x466098){const _0x297b24=_0x353aab;return this[_0x297b24(0x164)]({'transform':_0x466098});}[_0x353aab(0x17d)](_0x327c24,_0x3ff757){const _0x48a084=_0x353aab;return this[_0x48a084(0x206)]({'width':_0x327c24,'height':_0x3ff757});}[_0x353aab(0x163)](_0x19ffe1){const _0x432ff6=_0x353aab;return this[_0x432ff6(0x206)]({'rotation':_0x19ffe1});}[_0x353aab(0x18d)](_0x3531fb,_0x59dfd0){return this['setTransform']({'left':_0x3531fb,'top':_0x59dfd0});}[_0x353aab(0x1b5)](_0x947e47){const _0x2b8eb8=_0x353aab;var _0xf7a4d9,_0x335a70,_0x1e424f;let _0x341383=(_0xf7a4d9=(_0x335a70=_0x947e47[_0x2b8eb8(0x202)])==null?void 0x0:_0x335a70[_0x2b8eb8(0x20d)](({x:_0x30255e,y:_0x4c9a96})=>_0x30255e===void 0x0||_0x4c9a96===void 0x0))==null?-0x1:_0xf7a4d9;if(_0x341383>=0x0)return console[_0x2b8eb8(0x20a)](_0x2b8eb8(0x198)+_0x341383+_0x2b8eb8(0x1b8)),this;let _0x4e5473=n[_0x2b8eb8(0x199)]['deepClone'](_0x947e47);if((_0x1e424f=_0x4e5473[_0x2b8eb8(0x202)])!=null&&_0x1e424f['length']){let _0x2406a3=this['_getSnapshot']();if(!_0x2406a3)return this;try{let _0x4a2c41=new e[(_0x2b8eb8(0x133))](_0x2406a3[_0x2b8eb8(0x171)],_0x2406a3[_0x2b8eb8(0x214)],{..._0x2406a3['shapeData'],'isCustom':!0x0,'customGeometry':_0x4e5473});_0x4a2c41[_0x2b8eb8(0x1c7)]({'width':_0x2406a3['transform'][_0x2b8eb8(0x1d4)],'height':_0x2406a3['transform'][_0x2b8eb8(0x148)]}),_0x4a2c41[_0x2b8eb8(0x162)]();}catch{return console[_0x2b8eb8(0x20a)](_0x2b8eb8(0x19b)),this;}}return this[_0x2b8eb8(0x193)](_0x43f981=>({..._0x43f981,'isCustom':!0x0,'customGeometry':_0x4e5473}));}[_0x353aab(0x21d)](){const _0x32170e=_0x353aab;var _0x4c4ad7,_0x9d475c;return(_0x4c4ad7=(_0x9d475c=this['_getGeometryModel']())==null?void 0x0:_0x9d475c['getConnectionSiteList']()[_0x32170e(0x135)](_0x2627dc=>({..._0x2627dc})))==null?[]:_0x4c4ad7;}[_0x353aab(0x1d5)](){const _0x477f5e=_0x353aab;var _0x376419;let _0x2b9214=(_0x376419=this[_0x477f5e(0x20b)]())==null?void 0x0:_0x376419[_0x477f5e(0x1d5)]();return _0x2b9214?{..._0x2b9214}:null;}['getEndConnectInfo'](){const _0xd54495=_0x353aab;var _0x376b6b;let _0x30387c=(_0x376b6b=this['_getGeometryModel']())==null?void 0x0:_0x376b6b[_0xd54495(0x1b6)]();return _0x30387c?{..._0x30387c}:null;}['getAdjustHandles'](){const _0x60bc06=_0x353aab;var _0x5dda40,_0x5b4a35;let _0x52f0d1=this[_0x60bc06(0x20b)](),_0x59d9de=(_0x5dda40=_0x52f0d1==null||(_0x5b4a35=_0x52f0d1['getPresetShapeConfig']()['ahLst'])==null?void 0x0:_0x5b4a35['length'])==null?0x0:_0x5dda40;return!_0x52f0d1||_0x59d9de===0x0?[]:Array[_0x60bc06(0x13b)]({'length':_0x59d9de},(_0x10b49b,_0xc11ab5)=>_0x52f0d1[_0x60bc06(0x1cd)](_0xc11ab5))['filter'](_0x27e1be=>_0x27e1be!==void 0x0)[_0x60bc06(0x135)](_0x9f184f=>n[_0x60bc06(0x199)][_0x60bc06(0x151)](_0x9f184f));}[_0x353aab(0x146)](_0x6c1c82){const _0x2ae0be=_0x353aab;let _0x39f6fe=Object['entries'](_0x6c1c82);if(_0x39f6fe[_0x2ae0be(0x1be)]===0x0)return this;let _0x3c76de=this['_getGeometryModel']();if(!_0x3c76de)return this;let _0x32e687=new Set(_0x3c76de['getAdjustNames']());for(let [_0x3b53d5,_0x34d0e9]of _0x39f6fe){if(!_0x32e687[_0x2ae0be(0x15e)](_0x3b53d5))return console[_0x2ae0be(0x20a)](_0x2ae0be(0x1ca)+_0x3b53d5+_0x2ae0be(0x17a)),this;if(!Number['isFinite'](_0x34d0e9))return console[_0x2ae0be(0x20a)](_0x2ae0be(0x1ca)+_0x3b53d5+'\x22\x20must\x20be\x20finite.'),this;}let _0xb2077d=Object[_0x2ae0be(0x205)](_0x39f6fe[_0x2ae0be(0x135)](([_0x272d0d,_0x4839a1])=>[_0x272d0d,_0x3c76de[_0x2ae0be(0x19c)](_0x272d0d,_0x4839a1)]));return this[_0x2ae0be(0x193)](_0x2522ae=>({..._0x2522ae,'adjustValues':{..._0x2522ae[_0x2ae0be(0x13a)],..._0xb2077d}}));}['resetAdjustValues'](){const _0x48571d=_0x353aab;let _0x3d4612=this['getShapeData']();return _0x3d4612!=null&&_0x3d4612[_0x48571d(0x13a)]?(delete _0x3d4612['adjustValues'],this[_0x48571d(0x164)]({'shapeData':_0x3d4612})):this;}[_0x353aab(0x1f0)](_0x9a7ed4,_0x60dcfc){const _0x5ab61a=_0x353aab;return this[_0x5ab61a(0x193)](_0x687f5e=>({..._0x687f5e,'fill':{'fillType':e[_0x5ab61a(0x195)][_0x5ab61a(0x1e3)],'color':_0x9a7ed4,'opacity':_0x60dcfc}}));}[_0x353aab(0x197)](_0x1e6aa7,_0x21a0d5,_0x4b5e39){const _0x904bce=_0x353aab;return _0x21a0d5['length']<0x2?(console[_0x904bce(0x20a)](_0x904bce(0x1d2)),this):this[_0x904bce(0x193)](_0x2f7262=>({..._0x2f7262,'fill':{'fillType':e[_0x904bce(0x195)][_0x904bce(0x1e0)],'gradientType':_0x1e6aa7,'gradientStops':n[_0x904bce(0x199)]['deepClone'](_0x21a0d5),'gradientAngle':_0x4b5e39}}));}[_0x353aab(0x1cc)](_0x53d7d5,_0xb012d9,_0x22fe61={}){const _0x589f65=_0x353aab;return this[_0x589f65(0x193)](_0x1ac62f=>({..._0x1ac62f,'fill':{...n['Tools']['deepClone'](_0x22fe61),'fillType':e[_0x589f65(0x195)][_0x589f65(0x140)],'fillImageSource':_0x53d7d5,'fillImageSourceType':_0xb012d9}}));}[_0x353aab(0x181)](){const _0x12f0b3=_0x353aab;return this[_0x12f0b3(0x193)](_0x47609d=>({..._0x47609d,'fill':{'fillType':e[_0x12f0b3(0x195)][_0x12f0b3(0x172)]}}));}[_0x353aab(0x1d9)](_0xac6fd5){return this['_patchShapeData'](_0x2551b1=>({..._0x2551b1,'stroke':n['Tools']['deepClone'](_0xac6fd5)}));}[_0x353aab(0x1c8)](_0x198216){const _0x4df453=_0x353aab;return this['_patchStroke'](_0x16b17e=>({..._0x16b17e,'color':_0x198216,'lineStrokeType':_0x16b17e['lineStrokeType']===e[_0x4df453(0x1f6)][_0x4df453(0x16a)]?e[_0x4df453(0x1f6)]['SolidLine']:_0x16b17e['lineStrokeType']}));}[_0x353aab(0x1a4)](_0x7d3148){const _0xde81ac=_0x353aab;return this[_0xde81ac(0x219)](_0x52ca09=>({..._0x52ca09,'width':_0x7d3148,'lineStrokeType':_0x52ca09['lineStrokeType']===e[_0xde81ac(0x1f6)][_0xde81ac(0x16a)]?e[_0xde81ac(0x1f6)][_0xde81ac(0x1a1)]:_0x52ca09['lineStrokeType']}));}[_0x353aab(0x160)](_0x50b157){const _0x1ee6ac=_0x353aab;return this[_0x1ee6ac(0x219)](_0x45ae2a=>({..._0x45ae2a,'opacity':_0x50b157}));}[_0x353aab(0x14d)](_0x71dba1){const _0x982a45=_0x353aab;return this[_0x982a45(0x219)](_0x4629b1=>({..._0x4629b1,'dashType':_0x71dba1}));}['setStrokeLineJoinType'](_0x387e9b){const _0x40d919=_0x353aab;return this[_0x40d919(0x219)](_0xb1cb64=>({..._0xb1cb64,'lineJoinType':_0x387e9b}));}[_0x353aab(0x161)](_0x4bd28a){const _0x19f874=_0x353aab;return this[_0x19f874(0x219)](_0x18d598=>({..._0x18d598,'capType':_0x4bd28a}));}['setStrokeLineType'](_0x4e463a){return this['_patchStroke'](_0x35e65b=>({..._0x35e65b,'lineStrokeType':_0x4e463a}));}[_0x353aab(0x164)](_0x4e42da){const _0x1cd901=_0x353aab;var _0x327c28,_0x537c0b,_0x3375da;let _0x3d8649=_0x4e42da['shapeData'],_0x82252b=_0x3d8649&&(_0x1cd901(0x209)in _0x3d8649||_0x1cd901(0x145)in _0x3d8649)?this[_0x1cd901(0x218)]():null,_0x37a8c2=(_0x327c28=(_0x537c0b=_0x4e42da[_0x1cd901(0x171)])==null?(_0x3375da=_0x4e42da['shapeData'])==null?void 0x0:_0x3375da[_0x1cd901(0x171)]:_0x537c0b)==null?_0x82252b:_0x327c28,_0x55e285=u(_0x4e42da,_0x37a8c2!==null&&(0x0,e[_0x1cd901(0x19f)])(_0x37a8c2));return _0x55e285?(console[_0x1cd901(0x20a)]('[Shape\x20Facade]:\x20'+_0x55e285),this):(this[_0x1cd901(0x21b)]('update',_0x45d58a=>_0x45d58a[_0x1cd901(0x144)](this[_0x1cd901(0x17f)],_0x4e42da)),this);}['remove'](){const _0x14d451=_0x353aab;return this['_mutate']('remove',_0x2cee93=>_0x2cee93[_0x14d451(0x1fd)](this[_0x14d451(0x17f)]));}[_0x353aab(0x153)](){const _0x5a232f=_0x353aab;return this[_0x5a232f(0x21b)]('bring\x20to\x20front',_0x310760=>_0x310760[_0x5a232f(0x153)](this[_0x5a232f(0x17f)])),this;}['bringForward'](){const _0xb8f1a1=_0x353aab;return this[_0xb8f1a1(0x21b)](_0xb8f1a1(0x14f),_0x112841=>_0x112841[_0xb8f1a1(0x18e)](this[_0xb8f1a1(0x17f)])),this;}[_0x353aab(0x169)](){const _0x17d60f=_0x353aab;return this[_0x17d60f(0x21b)](_0x17d60f(0x14e),_0x11be6c=>_0x11be6c[_0x17d60f(0x169)](this[_0x17d60f(0x17f)])),this;}[_0x353aab(0x1d7)](){const _0x347040=_0x353aab;return this['_mutate'](_0x347040(0x1a6),_0x5d9ed0=>_0x5d9ed0[_0x347040(0x1d7)](this['_shapeRef'])),this;}[_0x353aab(0x184)](){const _0xbcba19=_0x353aab;return this[_0xbcba19(0x168)]['get'](this[_0xbcba19(0x17f)][_0xbcba19(0x19d)]);}[_0x353aab(0x193)](_0x18dba,_0x1cb6d8){const _0x14769b=_0x353aab;let _0x2f4bb6=this[_0x14769b(0x13c)]();return _0x2f4bb6?this['update']({'shapeType':_0x1cb6d8,'shapeData':_0x18dba(_0x2f4bb6)}):this;}[_0x353aab(0x219)](_0x40765f){const _0x5ad789=_0x353aab;return this[_0x5ad789(0x193)](_0x3f9db0=>{const _0x458d84=_0x5ad789;var _0x1d29a0;return{..._0x3f9db0,'stroke':_0x40765f((_0x1d29a0=_0x3f9db0[_0x458d84(0x137)])==null?{}:_0x1d29a0)};});}['_getSnapshot'](){const _0x2e94bd=_0x353aab;let _0x4149a4=this['_getAdapter']();if(!_0x4149a4)return null;try{return _0x4149a4[_0x2e94bd(0x1ec)](this['_shapeRef'])||(console[_0x2e94bd(0x20a)](_0x2e94bd(0x1a9)+this[_0x2e94bd(0x17f)]['shapeId']+'\x22\x20was\x20not\x20found.'),null);}catch(_0x4feb5b){return console[_0x2e94bd(0x20a)](_0x2e94bd(0x190)+this['_shapeRef'][_0x2e94bd(0x214)]+'\x22.',_0x4feb5b),null;}}[_0x353aab(0x20b)](){const _0xbf6c6c=_0x353aab;let _0x11a5c8=this['_getSnapshot']();if(!_0x11a5c8)return null;try{let _0xf09087=new e[(_0xbf6c6c(0x133))](_0x11a5c8[_0xbf6c6c(0x171)],_0x11a5c8[_0xbf6c6c(0x214)],n['Tools'][_0xbf6c6c(0x151)](_0x11a5c8[_0xbf6c6c(0x215)]));return _0xf09087[_0xbf6c6c(0x1c7)]({'width':_0x11a5c8[_0xbf6c6c(0x1df)][_0xbf6c6c(0x1d4)],'height':_0x11a5c8['transform'][_0xbf6c6c(0x148)]}),_0xf09087;}catch(_0x18d5de){return console[_0xbf6c6c(0x20a)](_0xbf6c6c(0x132)+this[_0xbf6c6c(0x17f)][_0xbf6c6c(0x214)]+'\x22.',_0x18d5de),null;}}[_0x353aab(0x21b)](_0x3873e2,_0xc525b6){const _0x4c9c2a=_0x353aab;let _0x131d75=this[_0x4c9c2a(0x184)]();if(!_0x131d75)return!0x1;try{let _0x5587d9=_0xc525b6(_0x131d75);return _0x5587d9||console[_0x4c9c2a(0x20a)](_0x4c9c2a(0x14b)+_0x3873e2+'\x20Shape\x20\x22'+this[_0x4c9c2a(0x17f)][_0x4c9c2a(0x214)]+'\x22.'),_0x5587d9;}catch(_0x4a9b73){return console[_0x4c9c2a(0x20a)](_0x4c9c2a(0x14b)+_0x3873e2+_0x4c9c2a(0x210)+this[_0x4c9c2a(0x17f)][_0x4c9c2a(0x214)]+'\x22.',_0x4a9b73),!0x1;}}};l=c([s(0x2,e['IShapeHostAdapterRegistry']),s(0x3,n[_0x353aab(0x1e5)])],l);function _0x2176(){const _0x2b16b9=['every','_shapeRef','Radial','setNoneFill','FShapeText','offsetX','_getAdapter','setColor','[Shape\x20Text\x20Facade]:\x20Failed\x20to\x20read\x20Shape\x20\x22','\x22\x20binding\x20requires\x20a\x20target\x20Shape\x20ID\x20and\x20a\x20non-negative\x20connection\x20site\x20index.','\x22\x20was\x20not\x20found.','_updateShapeData','FBase','isInteger','set\x20start\x20arrow','setAbsolutePosition','bringForward','setStrikethrough','[Shape\x20Facade]:\x20Failed\x20to\x20read\x20Shape\x20\x22','ShapeLineJoinEnum','Shape\x20width\x20must\x20be\x20greater\x20than\x20zero.','_patchShapeData','ShapeArrowSizeEnum','ShapeFillEnum','end','setGradientFill','[Shape\x20Facade]:\x20Custom\x20geometry\x20connection\x20site\x20','Tools','ShapeOperatorEnum','[Shape\x20Facade]:\x20Custom\x20geometry\x20connection\x20sites\x20must\x20resolve\x20to\x20finite\x20coordinates.','setAdjustValueByName','hostType','FEnum','isConnectorShape','object','SolidLine','ImageFillModeEnum','setEndPoint','setStrokeWidth','ShapeTextDirection','send\x20to\x20back','setUnderline','setTextStyle','[Shape\x20Facade]:\x20Shape\x20\x22','_getSnapshot','[Shape\x20Text\x20Facade]:\x20Shape\x20\x22','getName','getEndEndpoint','[Shape\x20Facade]:\x20Failed\x20to\x20read\x20Connector\x20Shape\x20\x22','_mutateConnector','[Shape\x20Facade]:\x20Connector\x20\x22','bindStart','ShapeLineDashEnum','top','applyShapeTextBoxOptions','setCustomGeometry','getEndConnectInfo','getTextBoxOptions','\x20requires\x20both\x20\x22x\x22\x20and\x20\x22y\x22.','\x22\x20must\x20be\x20boolean.','offsetY','setShapeData','_getShapeData','setItalic','length','\x22\x20text.','_getConnectorSnapshot','setTextBoxOptions','boolean','function','defineProperty','getDescription','radial','updateContext','setStrokeColor','setFontSize','[Shape\x20Facade]:\x20Shape\x20adjustment\x20\x22','gradient','setImageFill','getAdjustInfo','getCustomGeometry','customGeometry','ShapeImageFillModeEnum','getEndArrow','[Shape\x20Facade]:\x20Gradient\x20fill\x20requires\x20at\x20least\x20two\x20color\x20stops.','Shape\x20height\x20must\x20be\x20greater\x20than\x20zero.','width','getStartConnectInfo','IShapeHostAdapterRegistry','sendToBack','endArrow','setStroke','Angular','setRichText','unbind\x20end','getPlainText','\x22\x20must\x20be\x20finite.','transform','GradientFill','ShapeTypeEnum','TRUE','SolidFill','scaleY','ICommandService','setFontFamily','7MqNlIT','setVerticalAlign','getConnector','angular','setShapeType','getShape','unbindStart','126766qRCNdx','setBold','setSolidFill','FALSE','applyShapeTextAlignment','flipX','ShapeImageSourceTypeEnum','ShapeLineCapEnum','ShapeLineTypeEnum','10eTCRmP','rotation','isVisible','name','routePoints','\x22\x20requires\x20Connector\x20Shape\x20data.','removeShape','opacity','shapeTextToRichTextValue','unbindEnd','URL','cxnLst','set\x20start\x20point','diamond','fromEntries','setTransform','270151NGFTUu','2460635vmWunp','relation','warn','_getGeometryModel','stretch','findIndex','setVisible','setDescription','\x20Shape\x20\x22','scaleX','picture','extend','shapeId','shapeData','_commandService','[Shape\x20Text\x20Facade]:\x20Failed\x20to\x20update\x20Shape\x20\x22','getShapeType','_patchStroke','setName','_mutate','toStringTag','getConnectionSites','start','selectable','getRoutePoints','setStartPoint','[Shape\x20Facade]:\x20Failed\x20to\x20resolve\x20geometry\x20for\x20Shape\x20\x22','ShapeModel','_getConnectorAdapter','map','1440688qnuFmU','stroke','setStartArrow','toPlainText','adjustValues','from','getShapeData','setSelectable','Diamond','BooleanNumber','PictureFill','get','196124wjqNlu','setRoutePoints','updateShape','points','setAdjustValues','5638761VIAnVH','height','getRichText','[Shape\x20Text\x20Facade]:\x20Gradient\x20text\x20fill\x20requires\x20at\x20least\x20two\x20color\x20stops.','[Shape\x20Facade]:\x20Failed\x20to\x20','[Shape\x20Facade]:\x20Connector\x20Shape\x20\x22','setStrokeLineDashType','send\x20backward','bring\x20forward','Module','deepClone','set\x20route\x20points','bringToFront','color','ShapeArrowTypeEnum','6BLpnbS','unbind\x20start','isCustom','set\x20end\x20point','\x22\x20points\x20must\x20contain\x20finite\x20coordinates.','isFinite','_bind','Tile','has','shapeText','setStrokeOpacity','setStrokeLineCapType','getConnectionSiteList','setRotation','update','\x22\x20requires\x20a\x20Connector\x20Shape\x20type.','ImageSourceTypeEnum','Shape\x20transform\x20\x22','_shapeHostAdapterRegistry','sendBackward','NoLine','11GJNcNH','ShapeTextWrapType','decorate','createInstance','39Okykyv','\x20Connector\x20Shape\x20\x22','shapeType','NoFill','_injector','ShapeGradientTypeEnum','set\x20end\x20arrow','9598692gkgQuY','getSnapshot','setEndArrow','FShape','\x22\x20does\x20not\x20exist.','visible','Shape\x20\x22','setSize'];_0x2176=function(){return _0x2b16b9;};return _0x2176();}function u(_0x63efb0,_0x30f76b=!0x1){const _0x5707a7=_0x353aab;for(let _0x28f275 of['visible',_0x5707a7(0x12f)]){let _0x3cbf5e=_0x63efb0[_0x28f275];if(_0x3cbf5e!==void 0x0&&typeof _0x3cbf5e!=_0x5707a7(0x1c2))return _0x5707a7(0x17c)+_0x28f275+_0x5707a7(0x1b9);}let _0x16e9eb=_0x63efb0[_0x5707a7(0x1df)];if(_0x16e9eb){for(let _0x153c8e of['left',_0x5707a7(0x1b3),_0x5707a7(0x1d4),_0x5707a7(0x148),_0x5707a7(0x1f8)]){let _0x1345ca=_0x16e9eb[_0x153c8e];if(_0x1345ca!==void 0x0&&!Number[_0x5707a7(0x15b)](_0x1345ca))return _0x5707a7(0x167)+_0x153c8e+_0x5707a7(0x1de);}if(_0x16e9eb[_0x5707a7(0x1d4)]!==void 0x0&&_0x16e9eb[_0x5707a7(0x1d4)]<=0x0)return _0x5707a7(0x192);if(_0x16e9eb[_0x5707a7(0x148)]!==void 0x0&&_0x16e9eb['height']<=0x0)return _0x5707a7(0x1d3);for(let _0x1afb32 of[_0x5707a7(0x1f3),'flipY']){let _0x3f19b2=_0x16e9eb[_0x1afb32];if(_0x3f19b2!==void 0x0&&typeof _0x3f19b2!=_0x5707a7(0x1c2))return _0x5707a7(0x167)+_0x1afb32+_0x5707a7(0x1b9);}}let _0x219fea=_0x63efb0[_0x5707a7(0x215)];return!_0x30f76b&&_0x219fea&&(_0x5707a7(0x209)in _0x219fea||'points'in _0x219fea)?'Connector\x20relationships\x20and\x20route\x20points\x20require\x20FConnectorShape.':null;}var d=class extends l{['isConnectorShape'](){return!0x0;}['getStartEndpoint'](){const _0x27cfc5=_0x353aab;let _0x4c17b9=this[_0x27cfc5(0x1c0)]();return _0x4c17b9?n[_0x27cfc5(0x199)][_0x27cfc5(0x151)](_0x4c17b9[_0x27cfc5(0x12e)]):null;}[_0x353aab(0x1ad)](){const _0x192291=_0x353aab;let _0x42fbb7=this[_0x192291(0x1c0)]();return _0x42fbb7?n['Tools'][_0x192291(0x151)](_0x42fbb7[_0x192291(0x196)]):null;}[_0x353aab(0x130)](){const _0x37ecb6=_0x353aab;let _0x26fbd5=this[_0x37ecb6(0x1c0)]();return _0x26fbd5?n[_0x37ecb6(0x199)]['deepClone'](_0x26fbd5[_0x37ecb6(0x1fb)]):null;}['getStartArrow'](){const _0x23a01e=_0x353aab;let _0xfbb9e=this[_0x23a01e(0x1c0)]();return _0xfbb9e?n['Tools']['deepClone'](_0xfbb9e['startArrow']):null;}[_0x353aab(0x1d1)](){const _0x4b44ea=_0x353aab;let _0x211a38=this[_0x4b44ea(0x1c0)]();return _0x211a38?n[_0x4b44ea(0x199)][_0x4b44ea(0x151)](_0x211a38[_0x4b44ea(0x1d8)]):null;}['setShapeType'](_0x37da32){const _0x263149=_0x353aab;return(0x0,e['isConnectorShape'])(_0x37da32)?super['setShapeType'](_0x37da32):(console[_0x263149(0x20a)](_0x263149(0x14c)+this[_0x263149(0x17f)][_0x263149(0x214)]+_0x263149(0x165)),this);}['setShapeData'](_0x4147d3){const _0x35e223=_0x353aab;return _0x4147d3[_0x35e223(0x171)]!==void 0x0&&!(0x0,e[_0x35e223(0x19f)])(_0x4147d3[_0x35e223(0x171)])?(console[_0x35e223(0x20a)]('[Shape\x20Facade]:\x20Connector\x20Shape\x20\x22'+this['_shapeRef'][_0x35e223(0x214)]+_0x35e223(0x1fc)),this):super[_0x35e223(0x1bb)](_0x4147d3);}[_0x353aab(0x1b1)](_0x349728,_0x2f6ac3){const _0x57317c=_0x353aab;return this[_0x57317c(0x15c)]('start',_0x349728,_0x2f6ac3),this;}['bindEnd'](_0x2efd39,_0x24d73f){return this['_bind']('end',_0x2efd39,_0x24d73f),this;}[_0x353aab(0x1ed)](){const _0x3bb9d4=_0x353aab;return this[_0x3bb9d4(0x1af)](_0x3bb9d4(0x157),_0x5b81f1=>_0x5b81f1['unbindStart'](this[_0x3bb9d4(0x17f)])),this;}[_0x353aab(0x200)](){const _0x4e6945=_0x353aab;return this[_0x4e6945(0x1af)](_0x4e6945(0x1dc),_0x2a46c6=>_0x2a46c6[_0x4e6945(0x200)](this[_0x4e6945(0x17f)])),this;}[_0x353aab(0x131)](_0x4de025){const _0x2eaf3f=_0x353aab;return f(_0x4de025,this['_shapeRef'][_0x2eaf3f(0x214)])&&this[_0x2eaf3f(0x1af)](_0x2eaf3f(0x203),_0x4b8a0d=>_0x4b8a0d[_0x2eaf3f(0x131)](this[_0x2eaf3f(0x17f)],_0x4de025)),this;}['setEndPoint'](_0x11e407){const _0x282fa5=_0x353aab;return f(_0x11e407,this[_0x282fa5(0x17f)][_0x282fa5(0x214)])&&this['_mutateConnector'](_0x282fa5(0x159),_0x4d1000=>_0x4d1000[_0x282fa5(0x1a3)](this['_shapeRef'],_0x11e407)),this;}[_0x353aab(0x143)](_0x3e170f){const _0x4bb35c=_0x353aab;return _0x3e170f[_0x4bb35c(0x17e)](_0x270a19=>f(_0x270a19,this[_0x4bb35c(0x17f)][_0x4bb35c(0x214)]))&&this[_0x4bb35c(0x1af)](_0x4bb35c(0x152),_0x3c96ac=>_0x3c96ac['setRoutePoints'](this[_0x4bb35c(0x17f)],_0x3e170f)),this;}[_0x353aab(0x138)](_0x55c940,_0x42d3f3){const _0x3242f3=_0x353aab;return this[_0x3242f3(0x1af)](_0x3242f3(0x18c),_0x18eb14=>_0x18eb14['setStartArrow'](this[_0x3242f3(0x17f)],_0x55c940,_0x42d3f3)),this;}['setEndArrow'](_0x27d823,_0x448798){const _0x10a636=_0x353aab;return this[_0x10a636(0x1af)](_0x10a636(0x175),_0x4d2d1e=>_0x4d2d1e[_0x10a636(0x178)](this[_0x10a636(0x17f)],_0x27d823,_0x448798)),this;}['_getConnectorAdapter'](){const _0x3aedb3=_0x353aab;return this[_0x3aedb3(0x173)][_0x3aedb3(0x141)](e['IConnectorShapeHostAdapter']);}[_0x353aab(0x1c0)](){const _0x1add2c=_0x353aab;let _0x4d4320=this[_0x1add2c(0x134)]();if(!_0x4d4320)return null;try{return _0x4d4320[_0x1add2c(0x1e9)](this['_shapeRef'])||(console['warn']('[Shape\x20Facade]:\x20Connector\x20Shape\x20\x22'+this[_0x1add2c(0x17f)]['shapeId']+_0x1add2c(0x188)),null);}catch(_0x4d2988){return console[_0x1add2c(0x20a)](_0x1add2c(0x1ae)+this[_0x1add2c(0x17f)][_0x1add2c(0x214)]+'\x22.',_0x4d2988),null;}}[_0x353aab(0x15c)](_0x1ad1d4,_0x5295e1,_0x1e1888){const _0x1c9165=_0x353aab;if(!_0x5295e1||!Number[_0x1c9165(0x18b)](_0x1e1888)||_0x1e1888<0x0)return console[_0x1c9165(0x20a)](_0x1c9165(0x1b0)+this['_shapeRef']['shapeId']+_0x1c9165(0x187)),!0x1;let _0x2935ef={'shapeId':_0x5295e1,'cxnIndex':_0x1e1888};return this[_0x1c9165(0x1af)]('bind\x20'+_0x1ad1d4,_0x593e67=>_0x1ad1d4===_0x1c9165(0x12e)?_0x593e67['bindStart'](this['_shapeRef'],_0x2935ef):_0x593e67['bindEnd'](this[_0x1c9165(0x17f)],_0x2935ef));}[_0x353aab(0x1af)](_0x4770be,_0x33b020){const _0x510479=_0x353aab;let _0x2b8c25=this[_0x510479(0x134)]();if(!_0x2b8c25)return!0x1;try{let _0xe90835=_0x33b020(_0x2b8c25);return _0xe90835||console[_0x510479(0x20a)](_0x510479(0x14b)+_0x4770be+_0x510479(0x170)+this[_0x510479(0x17f)][_0x510479(0x214)]+'\x22.'),_0xe90835;}catch(_0x268684){return console['warn']('[Shape\x20Facade]:\x20Failed\x20to\x20'+_0x4770be+'\x20Connector\x20Shape\x20\x22'+this[_0x510479(0x17f)][_0x510479(0x214)]+'\x22.',_0x268684),!0x1;}}};function f(_0x4b9d28,_0xfcc89b){const _0x5ad764=_0x353aab;return!Number[_0x5ad764(0x15b)](_0x4b9d28['x'])||!Number['isFinite'](_0x4b9d28['y'])?(console['warn'](_0x5ad764(0x1b0)+_0xfcc89b+_0x5ad764(0x15a)),!0x1):!0x0;}exports['FConnectorShape']=d,Object[_0x353aab(0x1c4)](exports,_0x353aab(0x179),{'enumerable':!0x0,'get':function(){return l;}}),exports[_0x353aab(0x182)]=o;
|