@univerjs-pro/sheets-mcp 0.25.0 → 1.0.0-alpha.0
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/tools/conditional-format-tools.d.ts +16 -16
- package/lib/types/tools/data-validation-tools.d.ts +3 -3
- package/lib/umd/facade.js +1 -1
- package/lib/umd/index.js +1 -1
- package/package.json +13 -13
package/lib/facade.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const _0xcf5ace=_0x49b2;(function(_0x45494e,_0xc99ce2){const _0x2123c3=_0x49b2,_0x18ad5a=_0x45494e();while(!![]){try{const _0x5ed060=parseInt(_0x2123c3(0x15b))/0x1*(-parseInt(_0x2123c3(0x11e))/0x2)+parseInt(_0x2123c3(0x150))/0x3+parseInt(_0x2123c3(0x14d))/0x4*(parseInt(_0x2123c3(0x11b))/0x5)+-parseInt(_0x2123c3(0x141))/0x6+-parseInt(_0x2123c3(0x122))/0x7+-parseInt(_0x2123c3(0x140))/0x8*(-parseInt(_0x2123c3(0x134))/0x9)+-parseInt(_0x2123c3(0x15e))/0xa*(-parseInt(_0x2123c3(0x132))/0xb);if(_0x5ed060===_0xc99ce2)break;else _0x18ad5a['push'](_0x18ad5a['shift']());}catch(_0xe7559c){_0x18ad5a['push'](_0x18ad5a['shift']());}}}(_0x3b4f,0xe0741));function _0x3b4f(){const _0x136245=['moveFormulaRefOffset','8580177iOlpin','AND','getStyleUsagesAsA1','firstOccurrence','getAllStyleUsages','getLintErrors','getSheetId','getMaxRows','every','getCellDataGrid','getAllFormulaError','getRowHeight','8aQtShs','3534666yBimEQ','_cellMatchesSearch','getFormulaUsagesAsA1','getFormulaUsages','formula','dataStream','displayValue','_formulaDataModel','getCellRaw','_initialize','startColumn','getRowVisible','23612GlFWrC','getSheets','getRectArea','236832NNbleK','getAllSizeUsages','map','indexOf','rawValue','getCellMatrix','_isMatch','getAllFormulaUsages','filledRanges','extend','toA1','160457VUKPZo','getAllDataValidationErrorAsync','forValue','10QrqKIa','defineProperty','getRowManager','getWorkbook','push','getSizeUsages','updateConfig','endColumn','_workbook','getRange','getName','275cgEhZx','endRow','filter','14vBlNPJ','length','getUnitId','_worksheet','664111dHFcum','getMaxColumns','getSizeUsagesAsA1','includes','visibleOnly','_injector','toLowerCase','warn','get','toString','getRectAreaData','getColumnManager','body','startRow','getStyleUsages','_collectRectAreaData','15065402dxrvVB'];_0x3b4f=function(){return _0x136245;};return _0x3b4f();}import{FUniver as _0x5b4756}from'@univerjs/core/facade';import'@univerjs/sheets-formula/facade';import'@univerjs/sheets-data-validation/facade';import{FRange as _0x10eea1,FWorkbook as _0x128261,FWorksheet as _0x5aac02}from'@univerjs/sheets/facade';import{FormulaDataModel as _0x254a7e,serializeRangeWithSheet as _0x307291}from'@univerjs/engine-formula';import{IFormulaUsageAnalyzer as _0x2854de,ISizeUsageAnalyzer as _0x297215,IStyleUsageAnalyzer as _0xf05aec,formulaToA1 as _0x3e3e1f,styleToA1 as _0x2fe053}from'@univerjs-pro/sheets-mcp';import{getIntersectRange as _0xf9e5f6}from'@univerjs/core';var f=class extends _0x5b4756{async[_0xcf5ace(0x139)](){return this['getActiveWorkbook']()['getLintErrors']();}};_0x5b4756[_0xcf5ace(0x159)](f);var p=class extends _0x128261{[_0xcf5ace(0x14a)](){const _0x22277d=_0xcf5ace;Object[_0x22277d(0x15f)](this,'_formulaDataModel',{'get'(){const _0x2148da=_0x22277d;return this[_0x2148da(0x127)]['get'](_0x254a7e);}});}['searchCells'](_0x66d9cd,_0x169657={}){const _0x5d72e9=_0xcf5ace;let {caseSensitive:_0x97bbf3=!0x1,matchEntireCell:_0xff58cd=!0x1,specificRanges:_0x3a94dc,specificTypes:_0x3489de,searchMultipleTextsCondition:_0x2deccb='OR'}=_0x169657,_0x47cfbf=(Array['isArray'](_0x66d9cd)?_0x66d9cd:[_0x66d9cd])[_0x5d72e9(0x152)](_0x1a652d=>_0x1a652d['trim']())[_0x5d72e9(0x11d)](_0x4a108b=>_0x4a108b);if(_0x97bbf3||(_0x47cfbf=_0x47cfbf['map'](_0x5e57b3=>_0x5e57b3['toLowerCase']())),_0x47cfbf[_0x5d72e9(0x11f)]===0x0)return[];let _0x284256={'caseSensitive':_0x97bbf3,'matchEntireCell':_0xff58cd,'searchMultipleTextsCondition':_0x2deccb,'isSearchByRawValue':!_0x3489de||_0x3489de[_0x5d72e9(0x125)](_0x5d72e9(0x154)),'isSearchByDisplayValue':!_0x3489de||_0x3489de[_0x5d72e9(0x125)](_0x5d72e9(0x147)),'isSearchByFormula':!_0x3489de||_0x3489de[_0x5d72e9(0x125)](_0x5d72e9(0x145))},_0x2fd4e6=this[_0x5d72e9(0x161)](),_0x26bcf1=[];if(_0x3a94dc)for(let {sheetId:_0x4cf001,ranges:_0x62dc63}of _0x3a94dc){let _0x15e623=_0x2fd4e6['getSheetBySheetId'](_0x4cf001);if(!_0x15e623){console[_0x5d72e9(0x129)]('Sheet\x20with\x20ID\x20'+_0x4cf001+'\x20not\x20found.\x20Skipping.');continue;}let _0x48c028=_0x15e623[_0x5d72e9(0x155)]();if(_0x62dc63&&_0x62dc63['length']>0x0){for(let _0x3e34c5 of _0x62dc63)for(let _0x1a7261=_0x3e34c5[_0x5d72e9(0x12f)];_0x1a7261<=_0x3e34c5[_0x5d72e9(0x11c)];_0x1a7261++)for(let _0x30e5ad=_0x3e34c5[_0x5d72e9(0x14b)];_0x30e5ad<=_0x3e34c5[_0x5d72e9(0x117)];_0x30e5ad++){let _0x1b39ee=_0x48c028['getValue'](_0x1a7261,_0x30e5ad);if(!_0x1b39ee)continue;let _0x5afcb3=this[_0x5d72e9(0x142)](_0x1b39ee,_0x47cfbf,{..._0x284256,'worksheet':_0x15e623,'row':_0x1a7261,'col':_0x30e5ad});_0x5afcb3&&_0x26bcf1[_0x5d72e9(0x162)]({..._0x5afcb3,'sheetId':_0x15e623[_0x5d72e9(0x13a)]()});}}else _0x48c028[_0x5d72e9(0x15d)]((_0x414ab4,_0x370135,_0x361497)=>{const _0xccfd00=_0x5d72e9;if(_0x361497){let _0x508d0d=this[_0xccfd00(0x142)](_0x361497,_0x47cfbf,{..._0x284256,'worksheet':_0x15e623,'row':_0x414ab4,'col':_0x370135});_0x508d0d&&_0x26bcf1[_0xccfd00(0x162)]({..._0x508d0d,'sheetId':_0x15e623[_0xccfd00(0x13a)]()});}});}else{let _0x175463=_0x2fd4e6[_0x5d72e9(0x14e)]();for(let _0x475dad of _0x175463)_0x475dad[_0x5d72e9(0x155)]()['forValue']((_0x3cb987,_0x55ff05,_0x4c94ab)=>{const _0x4cf09a=_0x5d72e9;if(_0x4c94ab){let _0x1e750b=this[_0x4cf09a(0x142)](_0x4c94ab,_0x47cfbf,{..._0x284256,'worksheet':_0x475dad,'row':_0x3cb987,'col':_0x55ff05});_0x1e750b&&_0x26bcf1['push']({..._0x1e750b,'sheetId':_0x475dad[_0x4cf09a(0x13a)]()});}});}return _0x26bcf1;}[_0xcf5ace(0x142)](_0x294b24,_0x3d2845,_0x23b71e){const _0x3cc564=_0xcf5ace;let {caseSensitive:_0x129e2b,matchEntireCell:_0x3914c1,searchMultipleTextsCondition:_0x581023,isSearchByRawValue:_0x3622c7,isSearchByDisplayValue:_0x1e039c,isSearchByFormula:_0x5c5679,worksheet:_0x309cf7,row:_0xb2ebcf,col:_0x5bfd14}=_0x23b71e;if(_0x3622c7){var _0x4b027c;let _0x4a9d2b=((_0x4b027c=_0x294b24['p'])==null||(_0x4b027c=_0x4b027c['body'])==null?void 0x0:_0x4b027c[_0x3cc564(0x146)])||_0x294b24['v'];if(_0x4a9d2b){let _0x2511ca=_0x129e2b?_0x4a9d2b['toString']():_0x4a9d2b[_0x3cc564(0x12b)]()['toLowerCase']();if(this[_0x3cc564(0x156)](_0x2511ca,_0x3d2845,_0x3914c1,_0x581023))return{'row':_0xb2ebcf,'col':_0x5bfd14,'reference':_0x307291(_0x309cf7[_0x3cc564(0x11a)](),{'startRow':_0xb2ebcf,'endRow':_0xb2ebcf,'startColumn':_0x5bfd14,'endColumn':_0x5bfd14}),'cellData':{..._0x294b24,'rawValue':_0x4a9d2b}};}}if(_0x5c5679&&(_0x294b24['f']||_0x294b24['si'])){let _0xc495c3=this[_0x3cc564(0x148)]['getFormulaStringByCell'](_0xb2ebcf,_0x5bfd14,_0x309cf7[_0x3cc564(0x13a)](),this[_0x3cc564(0x161)]()[_0x3cc564(0x120)]());if(_0xc495c3){let _0x8d0664=_0x129e2b?_0xc495c3:_0xc495c3[_0x3cc564(0x128)]();if(this[_0x3cc564(0x156)](_0x8d0664,_0x3d2845,_0x3914c1,_0x581023))return{'row':_0xb2ebcf,'col':_0x5bfd14,'reference':_0x307291(_0x309cf7['getName'](),{'startRow':_0xb2ebcf,'endRow':_0xb2ebcf,'startColumn':_0x5bfd14,'endColumn':_0x5bfd14}),'cellData':{..._0x294b24,'formulaString':_0xc495c3}};}}if(_0x1e039c){var _0x13e343;let _0x151435=(_0x13e343=_0x294b24['p'])==null||(_0x13e343=_0x13e343[_0x3cc564(0x12e)])==null?void 0x0:_0x13e343['dataStream'];if(!_0x151435){var _0x5ed7dc;_0x151435=(_0x5ed7dc=_0x309cf7['getCell'](_0xb2ebcf,_0x5bfd14))==null?void 0x0:_0x5ed7dc['v'];}if(_0x151435){let _0x1fbb99=_0x129e2b?_0x151435[_0x3cc564(0x12b)]():_0x151435[_0x3cc564(0x12b)]()[_0x3cc564(0x128)]();if(this[_0x3cc564(0x156)](_0x1fbb99,_0x3d2845,_0x3914c1,_0x581023))return{'row':_0xb2ebcf,'col':_0x5bfd14,'reference':_0x307291(_0x309cf7[_0x3cc564(0x11a)](),{'startRow':_0xb2ebcf,'endRow':_0xb2ebcf,'startColumn':_0x5bfd14,'endColumn':_0x5bfd14}),'cellData':{..._0x294b24,'displayValue':_0x151435[_0x3cc564(0x12b)]()}};}}return!0x1;}[_0xcf5ace(0x156)](_0x2681f5,_0x44f599,_0x1c7c18,_0x55fa1e){const _0x3f2669=_0xcf5ace;return _0x44f599[_0x3f2669(0x11f)]>0x1&&_0x55fa1e===_0x3f2669(0x135)?_0x44f599[_0x3f2669(0x13c)](_0x451101=>_0x1c7c18?_0x2681f5===_0x451101:_0x2681f5[_0x3f2669(0x153)](_0x451101)>-0x1):_0x44f599['some'](_0x1441d1=>_0x1c7c18?_0x2681f5===_0x1441d1:_0x2681f5[_0x3f2669(0x153)](_0x1441d1)>-0x1);}};_0x128261[_0xcf5ace(0x159)](p);var m=class extends _0x128261{async['getLintErrors'](){const _0x1759f8=_0xcf5ace;return{'formulaErrors':this[_0x1759f8(0x13e)](),'dataValidationErrors':await this[_0x1759f8(0x15c)]()};}};_0x128261[_0xcf5ace(0x159)](m);var h=class extends _0x5aac02{async[_0xcf5ace(0x144)](){const _0x223dd4=_0xcf5ace;let _0x3959fa=this['_injector']['get'](_0x2854de),_0x292a24=this['getRange'](0x0,0x0,this[_0x223dd4(0x13b)](),this[_0x223dd4(0x123)]())[_0x223dd4(0x13d)]();return await _0x3959fa[_0x223dd4(0x157)](_0x292a24);}async[_0xcf5ace(0x143)](){const _0x16cdce=_0xcf5ace;return(await this['getFormulaUsages']())[_0x16cdce(0x152)](_0x3e3e1f);}[_0xcf5ace(0x130)](_0x167291){const _0x5377b9=_0xcf5ace;let _0x2d3f2e=this[_0x5377b9(0x127)][_0x5377b9(0x12a)](_0xf05aec),_0x1054a4=this[_0x5377b9(0x119)](0x0,0x0,this[_0x5377b9(0x13b)](),this[_0x5377b9(0x123)]())['getCellDataGrid']();return _0x2d3f2e[_0x5377b9(0x116)](_0x167291),_0x2d3f2e[_0x5377b9(0x138)](_0x1054a4,this[_0x5377b9(0x118)],this['_worksheet']);}['getStyleUsagesAsA1'](_0x71b21e){const _0x4f9866=_0xcf5ace;return this[_0x4f9866(0x130)](_0x71b21e)[_0x4f9866(0x152)](_0x2fe053);}[_0xcf5ace(0x115)](_0x3ac847){const _0x4d819b=_0xcf5ace;let _0x545143=this['_injector']['get'](_0x297215);return _0x545143[_0x4d819b(0x116)](_0x3ac847),_0x545143[_0x4d819b(0x151)](this[_0x4d819b(0x121)]);}[_0xcf5ace(0x124)](_0x481cee){const _0xe94968=_0xcf5ace;let _0x44d6e6=this[_0xe94968(0x127)][_0xe94968(0x12a)](_0x297215);_0x44d6e6[_0xe94968(0x116)](_0x481cee);let _0x3d8b97=_0x44d6e6['getAllSizeUsages'](this[_0xe94968(0x121)]);return _0x44d6e6[_0xe94968(0x15a)](_0x3d8b97);}};_0x5aac02[_0xcf5ace(0x159)](h);var g=class extends _0x10eea1{[_0xcf5ace(0x131)](_0x2ceb41){const _0x5e4895=_0xcf5ace;var _0x5658a5;let _0x2d0ee3=(_0x5658a5=_0x2ceb41==null?void 0x0:_0x2ceb41[_0x5e4895(0x126)])==null?!0x0:_0x5658a5,_0x3c2d19=this[_0x5e4895(0x119)](),_0x254124=this['_worksheet'][_0x5e4895(0x160)](),_0x5073c0=this[_0x5e4895(0x121)][_0x5e4895(0x12d)](),_0x148c8f={},_0x5b7cb1=0x0;for(let _0x4a7cf7=_0x3c2d19['startRow'];_0x4a7cf7<=_0x3c2d19[_0x5e4895(0x11c)];_0x4a7cf7++){let _0x5c200f=_0x254124[_0x5e4895(0x13f)](_0x4a7cf7),_0x5702d3=!_0x2d0ee3||this[_0x5e4895(0x121)][_0x5e4895(0x14c)](_0x4a7cf7)?_0x5c200f:0x0;_0x5b7cb1+=_0x5702d3,_0x148c8f[_0x4a7cf7]={'h':_0x5702d3};}let _0x1b98cf={},_0x3dd905=0x0;for(let _0x44a195=_0x3c2d19[_0x5e4895(0x14b)];_0x44a195<=_0x3c2d19[_0x5e4895(0x117)];_0x44a195++){let _0x1c42bc=_0x5073c0['getColumnWidth'](_0x44a195),_0x12889a=!_0x2d0ee3||this[_0x5e4895(0x121)]['getColVisible'](_0x44a195)?_0x1c42bc:0x0;_0x3dd905+=_0x12889a,_0x1b98cf[_0x44a195]={'w':_0x12889a};}return{'w':_0x3dd905,'h':_0x5b7cb1,'rowData':_0x148c8f,'columnData':_0x1b98cf};}async['getFormulaUsages'](){const _0x2c17fb=_0xcf5ace;let _0x3bde5c=this[_0x2c17fb(0x127)][_0x2c17fb(0x12a)](_0x2854de),_0x17f9da=(({startRow:_0x46d6d0,endRow:_0xf5b160,startColumn:_0x19dd2f,endColumn:_0x1f17c4})=>{const _0x3fecb1=_0x2c17fb;let _0x44c636=[];for(let _0x4e90ca=_0x46d6d0;_0x4e90ca<=_0xf5b160;_0x4e90ca++){let _0x1688d0=[];for(let _0x259927=_0x19dd2f;_0x259927<=_0x1f17c4;_0x259927++)_0x1688d0[_0x3fecb1(0x162)](this[_0x3fecb1(0x121)]['getCellRaw'](_0x4e90ca,_0x259927));_0x44c636['push'](_0x1688d0);}return _0x44c636;})({'startRow':0x0,'endRow':this['_worksheet']['getMaxRows'](),'startColumn':0x0,'endColumn':this[_0x2c17fb(0x121)][_0x2c17fb(0x123)]()}),_0xd341d9=await _0x3bde5c['getAllFormulaUsages'](_0x17f9da),_0xedfa8f=this[_0x2c17fb(0x119)](),_0xa46926=[];for(let _0x4e4416=0x0;_0x4e4416<_0xd341d9['length'];_0x4e4416++){let _0x36bce0=_0xd341d9[_0x4e4416],_0x57797b=_0x36bce0[_0x2c17fb(0x158)],_0x18ce91=[];for(let _0x1eaeec=0x0;_0x1eaeec<_0x57797b[_0x2c17fb(0x11f)];_0x1eaeec++){let _0x3501f1=_0x57797b[_0x1eaeec],_0x4b853e=_0xf9e5f6(_0x3501f1,_0xedfa8f);_0x4b853e&&_0x18ce91[_0x2c17fb(0x162)](_0x4b853e);}if(_0x18ce91[_0x2c17fb(0x11f)]>0x0){if(_0x36bce0[_0x2c17fb(0x158)]=_0x18ce91,!(_0x36bce0[_0x2c17fb(0x137)][_0x2c17fb(0x12f)]>=_0xedfa8f[_0x2c17fb(0x12f)]&&_0x36bce0[_0x2c17fb(0x137)][_0x2c17fb(0x12f)]<=_0xedfa8f['endRow']&&_0x36bce0['firstOccurrence'][_0x2c17fb(0x14b)]>=_0xedfa8f[_0x2c17fb(0x14b)]&&_0x36bce0[_0x2c17fb(0x137)][_0x2c17fb(0x14b)]<=_0xedfa8f[_0x2c17fb(0x117)])){let _0x5d4a92=_0x18ce91[0x0],_0x54158b=_0x5d4a92[_0x2c17fb(0x12f)]-_0x36bce0[_0x2c17fb(0x137)][_0x2c17fb(0x12f)],_0x57cd63=_0x5d4a92[_0x2c17fb(0x14b)]-_0x36bce0[_0x2c17fb(0x137)][_0x2c17fb(0x14b)];_0x36bce0[_0x2c17fb(0x145)]=await _0x3bde5c[_0x2c17fb(0x133)](_0x36bce0['formula'],_0x57cd63,_0x54158b),_0x36bce0['firstOccurrence']={'startRow':_0x5d4a92['startRow'],'endRow':_0x5d4a92[_0x2c17fb(0x12f)],'startColumn':_0x5d4a92[_0x2c17fb(0x14b)],'endColumn':_0x5d4a92[_0x2c17fb(0x14b)]};}_0xa46926[_0x2c17fb(0x162)](_0x36bce0);}}return _0xa46926;}async[_0xcf5ace(0x143)](){const _0x5e047e=_0xcf5ace;return(await this[_0x5e047e(0x144)]())[_0x5e047e(0x152)](_0x3e3e1f);}[_0xcf5ace(0x130)](_0x1bfd6e){const _0x25936a=_0xcf5ace;let _0x322338=this[_0x25936a(0x127)]['get'](_0xf05aec),_0x1124c7=(({startRow:_0x26d3a1,endRow:_0x8ff54f,startColumn:_0x1985ec,endColumn:_0x1e4256})=>{const _0x43f262=_0x25936a;let _0x2ac683=[];for(let _0x44f6ed=_0x26d3a1;_0x44f6ed<=_0x8ff54f;_0x44f6ed++){let _0x14976e=[];for(let _0x22b30c=_0x1985ec;_0x22b30c<=_0x1e4256;_0x22b30c++)_0x14976e[_0x43f262(0x162)](this[_0x43f262(0x121)][_0x43f262(0x149)](_0x44f6ed,_0x22b30c));_0x2ac683['push'](_0x14976e);}return _0x2ac683;})({'startRow':0x0,'endRow':this[_0x25936a(0x121)][_0x25936a(0x13b)](),'startColumn':0x0,'endColumn':this['_worksheet'][_0x25936a(0x123)]()});_0x322338[_0x25936a(0x116)](_0x1bfd6e);let _0x58a5da=_0x322338['getAllStyleUsages'](_0x1124c7,this[_0x25936a(0x118)],this[_0x25936a(0x121)]),_0x53b309=this[_0x25936a(0x119)](),_0x459829=[];for(let _0x41f3ec=0x0;_0x41f3ec<_0x58a5da[_0x25936a(0x11f)];_0x41f3ec++){let _0xab91a9=_0x58a5da[_0x41f3ec],_0x1e9f84=_0xab91a9[_0x25936a(0x158)],_0x5808ee=[];for(let _0x4cc050=0x0;_0x4cc050<_0x1e9f84[_0x25936a(0x11f)];_0x4cc050++){let _0x5a3861=_0x1e9f84[_0x4cc050],_0x812089=_0xf9e5f6(_0x5a3861,_0x53b309);_0x812089&&_0x5808ee[_0x25936a(0x162)](_0x812089);}_0x5808ee[_0x25936a(0x11f)]>0x0&&(_0xab91a9[_0x25936a(0x158)]=_0x5808ee,_0x459829[_0x25936a(0x162)](_0xab91a9));}return _0x459829;}[_0xcf5ace(0x136)](_0x5650d4){const _0x471da9=_0xcf5ace;return this[_0x471da9(0x130)](_0x5650d4)['map'](_0x2fe053);}[_0xcf5ace(0x115)](_0x1c2754){const _0x3aa339=_0xcf5ace;let _0x388bef=this[_0x3aa339(0x127)][_0x3aa339(0x12a)](_0x297215),_0x210e4d=this['getRange']();return _0x388bef['updateConfig'](_0x1c2754),_0x388bef[_0x3aa339(0x151)](this['_worksheet'],_0x210e4d['startRow'],_0x210e4d[_0x3aa339(0x11c)],_0x210e4d[_0x3aa339(0x14b)],_0x210e4d[_0x3aa339(0x117)]);}[_0xcf5ace(0x124)](_0x182ae8){const _0x3c932a=_0xcf5ace;let _0x43aa7d=this[_0x3c932a(0x115)](_0x182ae8);return this[_0x3c932a(0x127)][_0x3c932a(0x12a)](_0x297215)[_0x3c932a(0x15a)](_0x43aa7d);}[_0xcf5ace(0x14f)](_0x1ec8e0){let _0x209d46=this['_collectRectAreaData'](_0x1ec8e0);return{'w':_0x209d46['w'],'h':_0x209d46['h']};}[_0xcf5ace(0x12c)](_0x2c3ab1){return this['_collectRectAreaData'](_0x2c3ab1);}};function _0x49b2(_0x569368,_0x263ab3){_0x569368=_0x569368-0x115;const _0x3b4fa5=_0x3b4f();let _0x49b239=_0x3b4fa5[_0x569368];return _0x49b239;}_0x10eea1['extend'](g);export{};
|
|
1
|
+
const _0x21c4e3=_0x4c77;function _0x56c5(){const _0x4a66ac=['displayValue','getColVisible','includes','_injector','getCellMatrix','extend','getLintErrors','defineProperty','getRange','getAllFormulaUsages','_workbook','firstOccurrence','filter','trim','getMaxColumns','546651kwyKxI','_collectRectAreaData','indexOf','endRow','1690985MgUURg','body','getSizeUsagesAsA1','4117608jlypvl','_worksheet','toA1','getRectAreaData','getName','getColumnWidth','getFormulaStringByCell','getAllSizeUsages','formula','219hZMYQl','filledRanges','map','visibleOnly','toLowerCase','getFormulaUsages','updateConfig','29860KawbQQ','startRow','6JNmaeS','get','_formulaDataModel','getColumnManager','length','150qKFpXB','Sheet\x20with\x20ID\x20','getCellDataGrid','getMaxRows','5460ctVQQk','toString','getCell','getRowVisible','_cellMatchesSearch','getSheetBySheetId','every','getAllStyleUsages','some','getSizeUsages','810568jRJPXS','rawValue','getSheetId','getCellRaw','getRowHeight','isArray','_isMatch','getFormulaUsagesAsA1','getStyleUsagesAsA1','push','forValue','moveFormulaRefOffset','getActiveWorkbook','getAllFormulaError','startColumn','searchCells','getWorkbook','endColumn','11420iUrRKU','getAllDataValidationErrorAsync','getStyleUsages','60okNvIw','getSheets','AND'];_0x56c5=function(){return _0x4a66ac;};return _0x56c5();}(function(_0x436ff5,_0x30d970){const _0x3f51fb=_0x4c77,_0x3c0af8=_0x436ff5();while(!![]){try{const _0x356930=parseInt(_0x3f51fb(0x163))/0x1*(parseInt(_0x3f51fb(0x166))/0x2)+-parseInt(_0x3f51fb(0x135))/0x3*(parseInt(_0x3f51fb(0x13c))/0x4)+parseInt(_0x3f51fb(0x17c))/0x5*(parseInt(_0x3f51fb(0x13e))/0x6)+parseInt(_0x3f51fb(0x147))/0x7+parseInt(_0x3f51fb(0x151))/0x8+parseInt(_0x3f51fb(0x178))/0x9*(parseInt(_0x3f51fb(0x143))/0xa)+-parseInt(_0x3f51fb(0x17f))/0xb;if(_0x356930===_0x30d970)break;else _0x3c0af8['push'](_0x3c0af8['shift']());}catch(_0x2680ae){_0x3c0af8['push'](_0x3c0af8['shift']());}}}(_0x56c5,0xbd236));import{FUniver as _0x318f1b}from'@univerjs/core/facade';import'@univerjs/sheets-formula/facade';import'@univerjs/sheets-data-validation/facade';import{FRange as _0x1d0793,FWorkbook as _0x379632,FWorksheet as _0x5a92b0}from'@univerjs/sheets/facade';import{FormulaDataModel as _0x317cc0,serializeRangeWithSheet as _0x3ccf82}from'@univerjs/engine-formula';import{IFormulaUsageAnalyzer as _0x742142,ISizeUsageAnalyzer as _0x5fd34e,IStyleUsageAnalyzer as _0x18e256,formulaToA1 as _0x3b57ce,styleToA1 as _0x42800d}from'@univerjs-pro/sheets-mcp';import{getIntersectRange as _0x16e3bf}from'@univerjs/core';var f=class extends _0x318f1b{async[_0x21c4e3(0x16f)](){const _0x44d096=_0x21c4e3;return this[_0x44d096(0x15d)]()[_0x44d096(0x16f)]();}};_0x318f1b[_0x21c4e3(0x16e)](f);var p=class extends _0x379632{['_initialize'](){const _0x50b7bd=_0x21c4e3;Object[_0x50b7bd(0x170)](this,_0x50b7bd(0x140),{'get'(){const _0x4ac8ba=_0x50b7bd;return this['_injector'][_0x4ac8ba(0x13f)](_0x317cc0);}});}[_0x21c4e3(0x160)](_0xc999f5,_0x1d02c5={}){const _0x44bcf1=_0x21c4e3;let {caseSensitive:_0x393882=!0x1,matchEntireCell:_0x357ccc=!0x1,specificRanges:_0x3bc81a,specificTypes:_0x198fa2,searchMultipleTextsCondition:_0x3e504a='OR'}=_0x1d02c5,_0x12d696=(Array[_0x44bcf1(0x156)](_0xc999f5)?_0xc999f5:[_0xc999f5])[_0x44bcf1(0x137)](_0x5550aa=>_0x5550aa[_0x44bcf1(0x176)]())[_0x44bcf1(0x175)](_0x2faa6f=>_0x2faa6f);if(_0x393882||(_0x12d696=_0x12d696[_0x44bcf1(0x137)](_0x58dfba=>_0x58dfba['toLowerCase']())),_0x12d696[_0x44bcf1(0x142)]===0x0)return[];let _0x5331db={'caseSensitive':_0x393882,'matchEntireCell':_0x357ccc,'searchMultipleTextsCondition':_0x3e504a,'isSearchByRawValue':!_0x198fa2||_0x198fa2[_0x44bcf1(0x16b)](_0x44bcf1(0x152)),'isSearchByDisplayValue':!_0x198fa2||_0x198fa2[_0x44bcf1(0x16b)](_0x44bcf1(0x169)),'isSearchByFormula':!_0x198fa2||_0x198fa2[_0x44bcf1(0x16b)]('formula')},_0x1f10e0=this[_0x44bcf1(0x161)](),_0x6c4e83=[];if(_0x3bc81a)for(let {sheetId:_0x444ca9,ranges:_0x489e9c}of _0x3bc81a){let _0x44df95=_0x1f10e0[_0x44bcf1(0x14c)](_0x444ca9);if(!_0x44df95){console['warn'](_0x44bcf1(0x144)+_0x444ca9+'\x20not\x20found.\x20Skipping.');continue;}let _0x4a7ee8=_0x44df95[_0x44bcf1(0x16d)]();if(_0x489e9c&&_0x489e9c['length']>0x0){for(let _0x393b67 of _0x489e9c)for(let _0x176ad6=_0x393b67[_0x44bcf1(0x13d)];_0x176ad6<=_0x393b67[_0x44bcf1(0x17b)];_0x176ad6++)for(let _0x540d07=_0x393b67[_0x44bcf1(0x15f)];_0x540d07<=_0x393b67[_0x44bcf1(0x162)];_0x540d07++){let _0x1ca353=_0x4a7ee8['getValue'](_0x176ad6,_0x540d07);if(!_0x1ca353)continue;let _0x118e50=this[_0x44bcf1(0x14b)](_0x1ca353,_0x12d696,{..._0x5331db,'worksheet':_0x44df95,'row':_0x176ad6,'col':_0x540d07});_0x118e50&&_0x6c4e83[_0x44bcf1(0x15a)]({..._0x118e50,'sheetId':_0x44df95[_0x44bcf1(0x153)]()});}}else _0x4a7ee8[_0x44bcf1(0x15b)]((_0x33cb5a,_0x36921e,_0x38db97)=>{if(_0x38db97){let _0x225c46=this['_cellMatchesSearch'](_0x38db97,_0x12d696,{..._0x5331db,'worksheet':_0x44df95,'row':_0x33cb5a,'col':_0x36921e});_0x225c46&&_0x6c4e83['push']({..._0x225c46,'sheetId':_0x44df95['getSheetId']()});}});}else{let _0x2e2d0b=_0x1f10e0[_0x44bcf1(0x167)]();for(let _0x429168 of _0x2e2d0b)_0x429168[_0x44bcf1(0x16d)]()[_0x44bcf1(0x15b)]((_0x1201b0,_0x79b3c6,_0xda2e6c)=>{const _0x1934ad=_0x44bcf1;if(_0xda2e6c){let _0x2fc784=this['_cellMatchesSearch'](_0xda2e6c,_0x12d696,{..._0x5331db,'worksheet':_0x429168,'row':_0x1201b0,'col':_0x79b3c6});_0x2fc784&&_0x6c4e83[_0x1934ad(0x15a)]({..._0x2fc784,'sheetId':_0x429168[_0x1934ad(0x153)]()});}});}return _0x6c4e83;}['_cellMatchesSearch'](_0x304600,_0x294141,_0x462070){const _0x4126f3=_0x21c4e3;let {caseSensitive:_0x176b87,matchEntireCell:_0x4beb49,searchMultipleTextsCondition:_0x8e268e,isSearchByRawValue:_0x286908,isSearchByDisplayValue:_0x2826ab,isSearchByFormula:_0x17e2cc,worksheet:_0xc7f5e4,row:_0x54b560,col:_0x1b2d82}=_0x462070;if(_0x286908){var _0x4b12a9;let _0x5f0e01=((_0x4b12a9=_0x304600['p'])==null||(_0x4b12a9=_0x4b12a9[_0x4126f3(0x17d)])==null?void 0x0:_0x4b12a9['dataStream'])||_0x304600['v'];if(_0x5f0e01){let _0x3769c4=_0x176b87?_0x5f0e01[_0x4126f3(0x148)]():_0x5f0e01[_0x4126f3(0x148)]()[_0x4126f3(0x139)]();if(this[_0x4126f3(0x157)](_0x3769c4,_0x294141,_0x4beb49,_0x8e268e))return{'row':_0x54b560,'col':_0x1b2d82,'reference':_0x3ccf82(_0xc7f5e4[_0x4126f3(0x130)](),{'startRow':_0x54b560,'endRow':_0x54b560,'startColumn':_0x1b2d82,'endColumn':_0x1b2d82}),'cellData':{..._0x304600,'rawValue':_0x5f0e01}};}}if(_0x17e2cc&&(_0x304600['f']||_0x304600['si'])){let _0x23babd=this[_0x4126f3(0x140)][_0x4126f3(0x132)](_0x54b560,_0x1b2d82,_0xc7f5e4['getSheetId'](),this[_0x4126f3(0x161)]()['getUnitId']());if(_0x23babd){let _0x20caad=_0x176b87?_0x23babd:_0x23babd[_0x4126f3(0x139)]();if(this[_0x4126f3(0x157)](_0x20caad,_0x294141,_0x4beb49,_0x8e268e))return{'row':_0x54b560,'col':_0x1b2d82,'reference':_0x3ccf82(_0xc7f5e4[_0x4126f3(0x130)](),{'startRow':_0x54b560,'endRow':_0x54b560,'startColumn':_0x1b2d82,'endColumn':_0x1b2d82}),'cellData':{..._0x304600,'formulaString':_0x23babd}};}}if(_0x2826ab){var _0x3e8d12;let _0x24b697=(_0x3e8d12=_0x304600['p'])==null||(_0x3e8d12=_0x3e8d12[_0x4126f3(0x17d)])==null?void 0x0:_0x3e8d12['dataStream'];if(!_0x24b697){var _0x5bab4b;_0x24b697=(_0x5bab4b=_0xc7f5e4[_0x4126f3(0x149)](_0x54b560,_0x1b2d82))==null?void 0x0:_0x5bab4b['v'];}if(_0x24b697){let _0x41a075=_0x176b87?_0x24b697[_0x4126f3(0x148)]():_0x24b697['toString']()['toLowerCase']();if(this[_0x4126f3(0x157)](_0x41a075,_0x294141,_0x4beb49,_0x8e268e))return{'row':_0x54b560,'col':_0x1b2d82,'reference':_0x3ccf82(_0xc7f5e4[_0x4126f3(0x130)](),{'startRow':_0x54b560,'endRow':_0x54b560,'startColumn':_0x1b2d82,'endColumn':_0x1b2d82}),'cellData':{..._0x304600,'displayValue':_0x24b697[_0x4126f3(0x148)]()}};}}return!0x1;}[_0x21c4e3(0x157)](_0x5bbe30,_0xa1c449,_0x22dcaf,_0x656ded){const _0x5ac005=_0x21c4e3;return _0xa1c449['length']>0x1&&_0x656ded===_0x5ac005(0x168)?_0xa1c449[_0x5ac005(0x14d)](_0x25e562=>_0x22dcaf?_0x5bbe30===_0x25e562:_0x5bbe30[_0x5ac005(0x17a)](_0x25e562)>-0x1):_0xa1c449[_0x5ac005(0x14f)](_0x2eae4d=>_0x22dcaf?_0x5bbe30===_0x2eae4d:_0x5bbe30['indexOf'](_0x2eae4d)>-0x1);}};_0x379632[_0x21c4e3(0x16e)](p);function _0x4c77(_0x4dc111,_0x302837){_0x4dc111=_0x4dc111-0x12d;const _0x56c5b7=_0x56c5();let _0x4c77b3=_0x56c5b7[_0x4dc111];return _0x4c77b3;}var m=class extends _0x379632{async[_0x21c4e3(0x16f)](){const _0x2cfcec=_0x21c4e3;return{'formulaErrors':this[_0x2cfcec(0x15e)](),'dataValidationErrors':await this[_0x2cfcec(0x164)]()};}};_0x379632[_0x21c4e3(0x16e)](m);var h=class extends _0x5a92b0{async['getFormulaUsages'](){const _0x2cdffd=_0x21c4e3;let _0x437ed6=this[_0x2cdffd(0x16c)][_0x2cdffd(0x13f)](_0x742142),_0x5c803d=this[_0x2cdffd(0x171)](0x0,0x0,this['getMaxRows'](),this[_0x2cdffd(0x177)]())[_0x2cdffd(0x145)]();return await _0x437ed6[_0x2cdffd(0x172)](_0x5c803d);}async[_0x21c4e3(0x158)](){const _0x4acde7=_0x21c4e3;return(await this[_0x4acde7(0x13a)]())['map'](_0x3b57ce);}[_0x21c4e3(0x165)](_0x9bfcf1){const _0x32f2ce=_0x21c4e3;let _0x59af6f=this[_0x32f2ce(0x16c)][_0x32f2ce(0x13f)](_0x18e256),_0x2b9bdd=this[_0x32f2ce(0x171)](0x0,0x0,this[_0x32f2ce(0x146)](),this[_0x32f2ce(0x177)]())[_0x32f2ce(0x145)]();return _0x59af6f[_0x32f2ce(0x13b)](_0x9bfcf1),_0x59af6f[_0x32f2ce(0x14e)](_0x2b9bdd,this[_0x32f2ce(0x173)],this['_worksheet']);}[_0x21c4e3(0x159)](_0xd6b29e){const _0xcabcec=_0x21c4e3;return this['getStyleUsages'](_0xd6b29e)[_0xcabcec(0x137)](_0x42800d);}[_0x21c4e3(0x150)](_0x47f4d3){const _0x31fb82=_0x21c4e3;let _0x2355dc=this[_0x31fb82(0x16c)][_0x31fb82(0x13f)](_0x5fd34e);return _0x2355dc[_0x31fb82(0x13b)](_0x47f4d3),_0x2355dc[_0x31fb82(0x133)](this['_worksheet']);}['getSizeUsagesAsA1'](_0x4b7d98){const _0x458ef2=_0x21c4e3;let _0x8304c3=this[_0x458ef2(0x16c)][_0x458ef2(0x13f)](_0x5fd34e);_0x8304c3[_0x458ef2(0x13b)](_0x4b7d98);let _0x3c5671=_0x8304c3[_0x458ef2(0x133)](this[_0x458ef2(0x12d)]);return _0x8304c3[_0x458ef2(0x12e)](_0x3c5671);}};_0x5a92b0[_0x21c4e3(0x16e)](h);var g=class extends _0x1d0793{[_0x21c4e3(0x179)](_0x52344c){const _0x5d0aa9=_0x21c4e3;var _0x5a96e5;let _0xfdbe8f=(_0x5a96e5=_0x52344c==null?void 0x0:_0x52344c[_0x5d0aa9(0x138)])==null?!0x0:_0x5a96e5,_0x18189d=this[_0x5d0aa9(0x171)](),_0xc1d33a=this[_0x5d0aa9(0x12d)]['getRowManager'](),_0x2bfe29=this[_0x5d0aa9(0x12d)][_0x5d0aa9(0x141)](),_0x3d8455={},_0x55a4c6=0x0;for(let _0x117222=_0x18189d[_0x5d0aa9(0x13d)];_0x117222<=_0x18189d[_0x5d0aa9(0x17b)];_0x117222++){let _0x626b0c=_0xc1d33a[_0x5d0aa9(0x155)](_0x117222),_0x47996a=!_0xfdbe8f||this[_0x5d0aa9(0x12d)][_0x5d0aa9(0x14a)](_0x117222)?_0x626b0c:0x0;_0x55a4c6+=_0x47996a,_0x3d8455[_0x117222]={'h':_0x47996a};}let _0x59bca9={},_0x1383c0=0x0;for(let _0xec8646=_0x18189d[_0x5d0aa9(0x15f)];_0xec8646<=_0x18189d[_0x5d0aa9(0x162)];_0xec8646++){let _0xe7eea=_0x2bfe29[_0x5d0aa9(0x131)](_0xec8646),_0x134ebc=!_0xfdbe8f||this[_0x5d0aa9(0x12d)][_0x5d0aa9(0x16a)](_0xec8646)?_0xe7eea:0x0;_0x1383c0+=_0x134ebc,_0x59bca9[_0xec8646]={'w':_0x134ebc};}return{'w':_0x1383c0,'h':_0x55a4c6,'rowData':_0x3d8455,'columnData':_0x59bca9};}async[_0x21c4e3(0x13a)](){const _0x5c2a22=_0x21c4e3;let _0x13bac2=this['_injector'][_0x5c2a22(0x13f)](_0x742142),_0xf6c013=(({startRow:_0x54c1e1,endRow:_0x39f287,startColumn:_0x2c08ee,endColumn:_0x21d5ba})=>{const _0x2fa382=_0x5c2a22;let _0x38f1c9=[];for(let _0x33543c=_0x54c1e1;_0x33543c<=_0x39f287;_0x33543c++){let _0x1edf9d=[];for(let _0x3e0105=_0x2c08ee;_0x3e0105<=_0x21d5ba;_0x3e0105++)_0x1edf9d[_0x2fa382(0x15a)](this[_0x2fa382(0x12d)]['getCellRaw'](_0x33543c,_0x3e0105));_0x38f1c9[_0x2fa382(0x15a)](_0x1edf9d);}return _0x38f1c9;})({'startRow':0x0,'endRow':this[_0x5c2a22(0x12d)][_0x5c2a22(0x146)](),'startColumn':0x0,'endColumn':this[_0x5c2a22(0x12d)][_0x5c2a22(0x177)]()}),_0x579427=await _0x13bac2['getAllFormulaUsages'](_0xf6c013),_0x108338=this['getRange'](),_0xf4b5e4=[];for(let _0x438c2d=0x0;_0x438c2d<_0x579427[_0x5c2a22(0x142)];_0x438c2d++){let _0x319ba6=_0x579427[_0x438c2d],_0x3caf9e=_0x319ba6['filledRanges'],_0x470184=[];for(let _0x4c972c=0x0;_0x4c972c<_0x3caf9e[_0x5c2a22(0x142)];_0x4c972c++){let _0x386f17=_0x3caf9e[_0x4c972c],_0x1138fc=_0x16e3bf(_0x386f17,_0x108338);_0x1138fc&&_0x470184['push'](_0x1138fc);}if(_0x470184['length']>0x0){if(_0x319ba6[_0x5c2a22(0x136)]=_0x470184,!(_0x319ba6['firstOccurrence']['startRow']>=_0x108338['startRow']&&_0x319ba6[_0x5c2a22(0x174)][_0x5c2a22(0x13d)]<=_0x108338['endRow']&&_0x319ba6[_0x5c2a22(0x174)]['startColumn']>=_0x108338[_0x5c2a22(0x15f)]&&_0x319ba6['firstOccurrence'][_0x5c2a22(0x15f)]<=_0x108338[_0x5c2a22(0x162)])){let _0x11a1c8=_0x470184[0x0],_0x2d5a99=_0x11a1c8[_0x5c2a22(0x13d)]-_0x319ba6[_0x5c2a22(0x174)][_0x5c2a22(0x13d)],_0x577d49=_0x11a1c8[_0x5c2a22(0x15f)]-_0x319ba6['firstOccurrence'][_0x5c2a22(0x15f)];_0x319ba6['formula']=await _0x13bac2[_0x5c2a22(0x15c)](_0x319ba6[_0x5c2a22(0x134)],_0x577d49,_0x2d5a99),_0x319ba6['firstOccurrence']={'startRow':_0x11a1c8[_0x5c2a22(0x13d)],'endRow':_0x11a1c8[_0x5c2a22(0x13d)],'startColumn':_0x11a1c8[_0x5c2a22(0x15f)],'endColumn':_0x11a1c8['startColumn']};}_0xf4b5e4['push'](_0x319ba6);}}return _0xf4b5e4;}async[_0x21c4e3(0x158)](){const _0x14b4c6=_0x21c4e3;return(await this[_0x14b4c6(0x13a)]())[_0x14b4c6(0x137)](_0x3b57ce);}[_0x21c4e3(0x165)](_0x4445be){const _0x46059a=_0x21c4e3;let _0x2406dc=this['_injector'][_0x46059a(0x13f)](_0x18e256),_0xe5e3d2=(({startRow:_0x344ca4,endRow:_0x5d999c,startColumn:_0x711615,endColumn:_0x4d61e5})=>{const _0x4f2829=_0x46059a;let _0x3c175d=[];for(let _0x265d6f=_0x344ca4;_0x265d6f<=_0x5d999c;_0x265d6f++){let _0x52f860=[];for(let _0x2a3156=_0x711615;_0x2a3156<=_0x4d61e5;_0x2a3156++)_0x52f860[_0x4f2829(0x15a)](this[_0x4f2829(0x12d)][_0x4f2829(0x154)](_0x265d6f,_0x2a3156));_0x3c175d[_0x4f2829(0x15a)](_0x52f860);}return _0x3c175d;})({'startRow':0x0,'endRow':this[_0x46059a(0x12d)][_0x46059a(0x146)](),'startColumn':0x0,'endColumn':this[_0x46059a(0x12d)]['getMaxColumns']()});_0x2406dc[_0x46059a(0x13b)](_0x4445be);let _0x534b85=_0x2406dc[_0x46059a(0x14e)](_0xe5e3d2,this['_workbook'],this[_0x46059a(0x12d)]),_0x48c844=this[_0x46059a(0x171)](),_0x4e9786=[];for(let _0x1ff04c=0x0;_0x1ff04c<_0x534b85[_0x46059a(0x142)];_0x1ff04c++){let _0x34c21b=_0x534b85[_0x1ff04c],_0x53e141=_0x34c21b[_0x46059a(0x136)],_0xe73a3a=[];for(let _0x131e39=0x0;_0x131e39<_0x53e141[_0x46059a(0x142)];_0x131e39++){let _0x5ca755=_0x53e141[_0x131e39],_0x4d5495=_0x16e3bf(_0x5ca755,_0x48c844);_0x4d5495&&_0xe73a3a[_0x46059a(0x15a)](_0x4d5495);}_0xe73a3a['length']>0x0&&(_0x34c21b[_0x46059a(0x136)]=_0xe73a3a,_0x4e9786[_0x46059a(0x15a)](_0x34c21b));}return _0x4e9786;}[_0x21c4e3(0x159)](_0x5b08e0){const _0x412d93=_0x21c4e3;return this[_0x412d93(0x165)](_0x5b08e0)['map'](_0x42800d);}[_0x21c4e3(0x150)](_0x2e764d){const _0x517a92=_0x21c4e3;let _0x36e362=this['_injector']['get'](_0x5fd34e),_0x258e8d=this[_0x517a92(0x171)]();return _0x36e362[_0x517a92(0x13b)](_0x2e764d),_0x36e362[_0x517a92(0x133)](this[_0x517a92(0x12d)],_0x258e8d['startRow'],_0x258e8d[_0x517a92(0x17b)],_0x258e8d[_0x517a92(0x15f)],_0x258e8d[_0x517a92(0x162)]);}[_0x21c4e3(0x17e)](_0x159f20){const _0x5e2c63=_0x21c4e3;let _0x54a989=this[_0x5e2c63(0x150)](_0x159f20);return this[_0x5e2c63(0x16c)][_0x5e2c63(0x13f)](_0x5fd34e)['toA1'](_0x54a989);}['getRectArea'](_0x3bd858){const _0x14fc73=_0x21c4e3;let _0x3bdc74=this[_0x14fc73(0x179)](_0x3bd858);return{'w':_0x3bdc74['w'],'h':_0x3bdc74['h']};}[_0x21c4e3(0x12f)](_0x2854ab){const _0x29ffe0=_0x21c4e3;return this[_0x29ffe0(0x179)](_0x2854ab);}};_0x1d0793['extend'](g);export{};
|