@univerjs-pro/sheets-mcp 0.21.0 → 0.22.1

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/es/facade.js CHANGED
@@ -1 +1 @@
1
- const _0xa4dd1f=_0x2687;(function(_0x4df4eb,_0x289e29){const _0x282985=_0x2687,_0x5b0a30=_0x4df4eb();while(!![]){try{const _0x46cafe=-parseInt(_0x282985(0xaa))/0x1*(parseInt(_0x282985(0xb6))/0x2)+parseInt(_0x282985(0xac))/0x3+-parseInt(_0x282985(0xad))/0x4*(-parseInt(_0x282985(0xc5))/0x5)+-parseInt(_0x282985(0xb4))/0x6+parseInt(_0x282985(0x85))/0x7*(parseInt(_0x282985(0xc9))/0x8)+-parseInt(_0x282985(0x90))/0x9*(parseInt(_0x282985(0xa0))/0xa)+-parseInt(_0x282985(0x88))/0xb;if(_0x46cafe===_0x289e29)break;else _0x5b0a30['push'](_0x5b0a30['shift']());}catch(_0x21f8b2){_0x5b0a30['push'](_0x5b0a30['shift']());}}}(_0x96fe,0xa90d7));import{FUniver}from'@univerjs/core/facade';function _0x96fe(){const _0x471711=['getRange','717321cxIMCC','defineProperty','toLowerCase','getFormulaUsages','_worksheet','getSheetId','getMaxColumns','displayValue','1597275usuidz','forValue','map','firstOccurrence','getCellRaw','indexOf','getAllStyleUsages','getRowVisible','get','getFormulaUsagesAsA1','moveFormulaRefOffset','body','dataStream','getAllFormulaUsages','getStyleUsages','getColVisible','20oAxVxf','push','getSheets','_workbook','getName','startRow','getMaxRows','getCellMatrix','extend','getCell','17801psRuou','_initialize','3819315bndGar','800sPhrAH','isArray','trim','toString','getRowHeight','getValue','toA1','8091894cpcPPs','getWorkbook','136tnPYRq','getAllDataValidationErrorAsync','getRectAreaData','_injector','getColumnManager','searchCells','filledRanges','endColumn','endRow','_formulaDataModel','getSizeUsagesAsA1','getCellDataGrid','AND','getUnitId','getActiveWorkbook','26185YpxHEO','_collectRectAreaData','_cellMatchesSearch','startColumn','900808CjmbcW','getLintErrors','includes','length','getSizeUsages','formula','updateConfig','_isMatch','rawValue','Sheet\x20with\x20ID\x20','84yvhsSJ','getFormulaStringByCell'];_0x96fe=function(){return _0x471711;};return _0x96fe();}import'@univerjs/sheets-formula/facade';import'@univerjs/sheets-data-validation/facade';import{FRange,FWorkbook,FWorksheet}from'@univerjs/sheets/facade';import{FormulaDataModel,serializeRangeWithSheet}from'@univerjs/engine-formula';import{IFormulaUsageAnalyzer,ISizeUsageAnalyzer,IStyleUsageAnalyzer,formulaToA1,styleToA1}from'@univerjs-pro/sheets-mcp';import{getIntersectRange}from'@univerjs/core';var FUniverLintMCPMixin=class extends FUniver{async[_0xa4dd1f(0xca)](){const _0x20c628=_0xa4dd1f;return this[_0x20c628(0xc4)]()[_0x20c628(0xca)]();}};FUniver['extend'](FUniverLintMCPMixin);var FWorkbookCustomSearchCellsMixin=class extends FWorkbook{[_0xa4dd1f(0xab)](){const _0x3425fa=_0xa4dd1f;Object[_0x3425fa(0x89)](this,_0x3425fa(0xbf),{'get'(){const _0x5ca62f=_0x3425fa;return this[_0x5ca62f(0xb9)]['get'](FormulaDataModel);}});}[_0xa4dd1f(0xbb)](_0x3af9ec,_0x4b32fc={}){const _0x5e69f5=_0xa4dd1f,{caseSensitive:caseSensitive=![],matchEntireCell:matchEntireCell=![],specificRanges:_0x477180,specificTypes:_0x5e93d0,searchMultipleTextsCondition:searchMultipleTextsCondition='OR'}=_0x4b32fc;let _0x5dace2=(Array[_0x5e69f5(0xae)](_0x3af9ec)?_0x3af9ec:[_0x3af9ec])[_0x5e69f5(0x92)](_0x58aba1=>_0x58aba1[_0x5e69f5(0xaf)]())['filter'](_0x32ba22=>_0x32ba22);if(!caseSensitive)_0x5dace2=_0x5dace2['map'](_0x214beb=>_0x214beb[_0x5e69f5(0x8a)]());if(_0x5dace2['length']===0x0)return[];const _0x127445={'caseSensitive':caseSensitive,'matchEntireCell':matchEntireCell,'searchMultipleTextsCondition':searchMultipleTextsCondition,'isSearchByRawValue':!_0x5e93d0||_0x5e93d0['includes'](_0x5e69f5(0x83)),'isSearchByDisplayValue':!_0x5e93d0||_0x5e93d0[_0x5e69f5(0xcb)](_0x5e69f5(0x8f)),'isSearchByFormula':!_0x5e93d0||_0x5e93d0['includes'](_0x5e69f5(0x80))},_0x4ba3c5=this[_0x5e69f5(0xb5)](),_0x368b77=[];if(!_0x477180){const _0x47c52a=_0x4ba3c5[_0x5e69f5(0xa2)]();for(const _0x36c637 of _0x47c52a)_0x36c637['getCellMatrix']()[_0x5e69f5(0x91)]((_0x3c1338,_0x722e54,_0x31c24b)=>{const _0x285742=_0x5e69f5;if(_0x31c24b){const _0x526a02=this[_0x285742(0xc7)](_0x31c24b,_0x5dace2,{..._0x127445,'worksheet':_0x36c637,'row':_0x3c1338,'col':_0x722e54});if(_0x526a02)_0x368b77['push']({..._0x526a02,'sheetId':_0x36c637[_0x285742(0x8d)]()});}});}else for(const {sheetId:_0x14d5e2,ranges:_0x2d49ea}of _0x477180){const _0x2b5383=_0x4ba3c5['getSheetBySheetId'](_0x14d5e2);if(!_0x2b5383){console['warn'](_0x5e69f5(0x84)+_0x14d5e2+'\x20not\x20found.\x20Skipping.');continue;}const _0x47c9c3=_0x2b5383[_0x5e69f5(0xa7)]();if(_0x2d49ea&&_0x2d49ea['length']>0x0){for(const _0x20df6f of _0x2d49ea)for(let _0x2fb7f9=_0x20df6f[_0x5e69f5(0xa5)];_0x2fb7f9<=_0x20df6f[_0x5e69f5(0xbe)];_0x2fb7f9++)for(let _0x5f48ae=_0x20df6f[_0x5e69f5(0xc8)];_0x5f48ae<=_0x20df6f[_0x5e69f5(0xbd)];_0x5f48ae++){const _0x84fd64=_0x47c9c3[_0x5e69f5(0xb2)](_0x2fb7f9,_0x5f48ae);if(!_0x84fd64)continue;const _0x157cfd=this[_0x5e69f5(0xc7)](_0x84fd64,_0x5dace2,{..._0x127445,'worksheet':_0x2b5383,'row':_0x2fb7f9,'col':_0x5f48ae});if(_0x157cfd)_0x368b77[_0x5e69f5(0xa1)]({..._0x157cfd,'sheetId':_0x2b5383[_0x5e69f5(0x8d)]()});}}else _0x47c9c3['forValue']((_0x359c6a,_0x3a7678,_0x3f3db3)=>{if(_0x3f3db3){const _0x36a58a=this['_cellMatchesSearch'](_0x3f3db3,_0x5dace2,{..._0x127445,'worksheet':_0x2b5383,'row':_0x359c6a,'col':_0x3a7678});if(_0x36a58a)_0x368b77['push']({..._0x36a58a,'sheetId':_0x2b5383['getSheetId']()});}});}return _0x368b77;}[_0xa4dd1f(0xc7)](_0x50a780,_0x5ef9d5,_0x1e0bd6){const _0x5b1310=_0xa4dd1f,{caseSensitive:_0x3b6fc9,matchEntireCell:_0x46923d,searchMultipleTextsCondition:_0x3e0950,isSearchByRawValue:_0x35aef9,isSearchByDisplayValue:_0x7bef25,isSearchByFormula:_0xcc1953,worksheet:_0x469c69,row:_0x1fb527,col:_0xd22180}=_0x1e0bd6;if(_0x35aef9){var _0x14f30a;const _0x23a6fb=((_0x14f30a=_0x50a780['p'])===null||_0x14f30a===void 0x0||(_0x14f30a=_0x14f30a[_0x5b1310(0x9b)])===null||_0x14f30a===void 0x0?void 0x0:_0x14f30a[_0x5b1310(0x9c)])||_0x50a780['v'];if(_0x23a6fb){const _0x4f10f5=_0x3b6fc9?_0x23a6fb['toString']():_0x23a6fb['toString']()[_0x5b1310(0x8a)]();if(this['_isMatch'](_0x4f10f5,_0x5ef9d5,_0x46923d,_0x3e0950))return{'row':_0x1fb527,'col':_0xd22180,'reference':serializeRangeWithSheet(_0x469c69[_0x5b1310(0xa4)](),{'startRow':_0x1fb527,'endRow':_0x1fb527,'startColumn':_0xd22180,'endColumn':_0xd22180}),'cellData':{..._0x50a780,'rawValue':_0x23a6fb}};}}if(_0xcc1953&&(_0x50a780['f']||_0x50a780['si'])){const _0xf73d95=this['_formulaDataModel'][_0x5b1310(0x86)](_0x1fb527,_0xd22180,_0x469c69[_0x5b1310(0x8d)](),this[_0x5b1310(0xb5)]()[_0x5b1310(0xc3)]());if(_0xf73d95){const _0x2ff877=_0x3b6fc9?_0xf73d95:_0xf73d95[_0x5b1310(0x8a)]();if(this[_0x5b1310(0x82)](_0x2ff877,_0x5ef9d5,_0x46923d,_0x3e0950))return{'row':_0x1fb527,'col':_0xd22180,'reference':serializeRangeWithSheet(_0x469c69[_0x5b1310(0xa4)](),{'startRow':_0x1fb527,'endRow':_0x1fb527,'startColumn':_0xd22180,'endColumn':_0xd22180}),'cellData':{..._0x50a780,'formulaString':_0xf73d95}};}}if(_0x7bef25){var _0x3971ca;let _0x118093=(_0x3971ca=_0x50a780['p'])===null||_0x3971ca===void 0x0||(_0x3971ca=_0x3971ca[_0x5b1310(0x9b)])===null||_0x3971ca===void 0x0?void 0x0:_0x3971ca[_0x5b1310(0x9c)];if(!_0x118093){var _0x4adc30;_0x118093=(_0x4adc30=_0x469c69[_0x5b1310(0xa9)](_0x1fb527,_0xd22180))===null||_0x4adc30===void 0x0?void 0x0:_0x4adc30['v'];}if(_0x118093){const _0x318ba3=_0x3b6fc9?_0x118093[_0x5b1310(0xb0)]():_0x118093[_0x5b1310(0xb0)]()[_0x5b1310(0x8a)]();if(this[_0x5b1310(0x82)](_0x318ba3,_0x5ef9d5,_0x46923d,_0x3e0950))return{'row':_0x1fb527,'col':_0xd22180,'reference':serializeRangeWithSheet(_0x469c69['getName'](),{'startRow':_0x1fb527,'endRow':_0x1fb527,'startColumn':_0xd22180,'endColumn':_0xd22180}),'cellData':{..._0x50a780,'displayValue':_0x118093[_0x5b1310(0xb0)]()}};}}return![];}[_0xa4dd1f(0x82)](_0x2aee0b,_0x4b3cb6,_0x5e87c9,_0x2ee6cf){const _0x4a040d=_0xa4dd1f;if(_0x4b3cb6[_0x4a040d(0x7e)]>0x1&&_0x2ee6cf===_0x4a040d(0xc2))return _0x4b3cb6['every'](_0x527d26=>_0x5e87c9?_0x2aee0b===_0x527d26:_0x2aee0b[_0x4a040d(0x95)](_0x527d26)>-0x1);else return _0x4b3cb6['some'](_0x1b2df5=>_0x5e87c9?_0x2aee0b===_0x1b2df5:_0x2aee0b[_0x4a040d(0x95)](_0x1b2df5)>-0x1);}};FWorkbook['extend'](FWorkbookCustomSearchCellsMixin);var FWorkbookSheetsMCPMixin=class extends FWorkbook{async[_0xa4dd1f(0xca)](){const _0x10adae=_0xa4dd1f;return{'formulaErrors':this['getAllFormulaError'](),'dataValidationErrors':await this[_0x10adae(0xb7)]()};}};FWorkbook[_0xa4dd1f(0xa8)](FWorkbookSheetsMCPMixin);var FWorksheetSheetsMCP=class extends FWorksheet{async['getFormulaUsages'](){const _0x16e3cd=_0xa4dd1f,_0x3f8523=this[_0x16e3cd(0xb9)][_0x16e3cd(0x98)](IFormulaUsageAnalyzer),_0x5b44c7=this[_0x16e3cd(0x87)](0x0,0x0,this[_0x16e3cd(0xa6)](),this['getMaxColumns']())['getCellDataGrid']();return await _0x3f8523[_0x16e3cd(0x9d)](_0x5b44c7);}async[_0xa4dd1f(0x99)](){const _0x9d85dc=_0xa4dd1f;return(await this[_0x9d85dc(0x8b)]())['map'](formulaToA1);}[_0xa4dd1f(0x9e)](_0x52784c){const _0x31df78=_0xa4dd1f,_0x16127b=this[_0x31df78(0xb9)][_0x31df78(0x98)](IStyleUsageAnalyzer),_0x171ed6=this[_0x31df78(0x87)](0x0,0x0,this[_0x31df78(0xa6)](),this[_0x31df78(0x8e)]())[_0x31df78(0xc1)]();return _0x16127b['updateConfig'](_0x52784c),_0x16127b[_0x31df78(0x96)](_0x171ed6,this[_0x31df78(0xa3)],this[_0x31df78(0x8c)]);}['getStyleUsagesAsA1'](_0x2dec7f){const _0x25d6d6=_0xa4dd1f;return this['getStyleUsages'](_0x2dec7f)[_0x25d6d6(0x92)](styleToA1);}[_0xa4dd1f(0x7f)](_0x1fae93){const _0x5ef299=_0xa4dd1f,_0x4f2832=this[_0x5ef299(0xb9)]['get'](ISizeUsageAnalyzer);return _0x4f2832[_0x5ef299(0x81)](_0x1fae93),_0x4f2832['getAllSizeUsages'](this[_0x5ef299(0x8c)]);}['getSizeUsagesAsA1'](_0x161eb3){const _0x37c373=_0xa4dd1f,_0x3c189e=this[_0x37c373(0xb9)][_0x37c373(0x98)](ISizeUsageAnalyzer);_0x3c189e['updateConfig'](_0x161eb3);const _0x363b22=_0x3c189e['getAllSizeUsages'](this[_0x37c373(0x8c)]);return _0x3c189e[_0x37c373(0xb3)](_0x363b22);}};FWorksheet[_0xa4dd1f(0xa8)](FWorksheetSheetsMCP);function _0x2687(_0x12aaca,_0x17bf76){_0x12aaca=_0x12aaca-0x7e;const _0x96fee6=_0x96fe();let _0x2687ab=_0x96fee6[_0x12aaca];return _0x2687ab;}var FRangeSheetsMCP=class extends FRange{[_0xa4dd1f(0xc6)](_0x3e3842){const _0x3adc8c=_0xa4dd1f;var _0xf69e11;const _0x35e533=(_0xf69e11=_0x3e3842===null||_0x3e3842===void 0x0?void 0x0:_0x3e3842['visibleOnly'])!==null&&_0xf69e11!==void 0x0?_0xf69e11:!![],_0x3ca29f=this[_0x3adc8c(0x87)](),_0x406905=this[_0x3adc8c(0x8c)]['getRowManager'](),_0x329459=this[_0x3adc8c(0x8c)][_0x3adc8c(0xba)](),_0x3cd9f5={};let _0x5b99f4=0x0;for(let _0x339f47=_0x3ca29f[_0x3adc8c(0xa5)];_0x339f47<=_0x3ca29f[_0x3adc8c(0xbe)];_0x339f47++){const _0x1c8d60=_0x406905[_0x3adc8c(0xb1)](_0x339f47),_0x5c8bf8=!_0x35e533||this[_0x3adc8c(0x8c)][_0x3adc8c(0x97)](_0x339f47)?_0x1c8d60:0x0;_0x5b99f4+=_0x5c8bf8,_0x3cd9f5[_0x339f47]={'h':_0x5c8bf8};}const _0x47ea83={};let _0xd359e0=0x0;for(let _0x5d1e86=_0x3ca29f[_0x3adc8c(0xc8)];_0x5d1e86<=_0x3ca29f['endColumn'];_0x5d1e86++){const _0x4b07c2=_0x329459['getColumnWidth'](_0x5d1e86),_0x1e8345=!_0x35e533||this['_worksheet'][_0x3adc8c(0x9f)](_0x5d1e86)?_0x4b07c2:0x0;_0xd359e0+=_0x1e8345,_0x47ea83[_0x5d1e86]={'w':_0x1e8345};}return{'w':_0xd359e0,'h':_0x5b99f4,'rowData':_0x3cd9f5,'columnData':_0x47ea83};}async[_0xa4dd1f(0x8b)](){const _0x3b023e=_0xa4dd1f,_0x5b3e7f=this[_0x3b023e(0xb9)][_0x3b023e(0x98)](IFormulaUsageAnalyzer),_0x1eb125=({startRow:_0x315515,endRow:_0x353c46,startColumn:_0x4692a3,endColumn:_0x18f141})=>{const _0x3c60dc=_0x3b023e,_0x2bb689=[];for(let _0x344d55=_0x315515;_0x344d55<=_0x353c46;_0x344d55++){const _0x1eb4ce=[];for(let _0x447f48=_0x4692a3;_0x447f48<=_0x18f141;_0x447f48++)_0x1eb4ce['push'](this['_worksheet'][_0x3c60dc(0x94)](_0x344d55,_0x447f48));_0x2bb689[_0x3c60dc(0xa1)](_0x1eb4ce);}return _0x2bb689;},_0x411b44=_0x1eb125({'startRow':0x0,'endRow':this[_0x3b023e(0x8c)][_0x3b023e(0xa6)](),'startColumn':0x0,'endColumn':this['_worksheet']['getMaxColumns']()}),_0x3de5ee=await _0x5b3e7f[_0x3b023e(0x9d)](_0x411b44),_0x3585e7=this['getRange'](),_0x174fe0=[];for(let _0x5ee3c1=0x0;_0x5ee3c1<_0x3de5ee['length'];_0x5ee3c1++){const _0x3157f3=_0x3de5ee[_0x5ee3c1],_0x3c720f=_0x3157f3[_0x3b023e(0xbc)],_0x52b562=[];for(let _0x48fb3d=0x0;_0x48fb3d<_0x3c720f[_0x3b023e(0x7e)];_0x48fb3d++){const _0x507350=_0x3c720f[_0x48fb3d],_0x445c97=getIntersectRange(_0x507350,_0x3585e7);if(_0x445c97)_0x52b562['push'](_0x445c97);}if(_0x52b562[_0x3b023e(0x7e)]>0x0){_0x3157f3[_0x3b023e(0xbc)]=_0x52b562;if(!(_0x3157f3[_0x3b023e(0x93)][_0x3b023e(0xa5)]>=_0x3585e7[_0x3b023e(0xa5)]&&_0x3157f3[_0x3b023e(0x93)][_0x3b023e(0xa5)]<=_0x3585e7[_0x3b023e(0xbe)]&&_0x3157f3[_0x3b023e(0x93)][_0x3b023e(0xc8)]>=_0x3585e7[_0x3b023e(0xc8)]&&_0x3157f3['firstOccurrence']['startColumn']<=_0x3585e7['endColumn'])){const _0x3daf8e=_0x52b562[0x0],_0x1f3da7=_0x3daf8e[_0x3b023e(0xa5)]-_0x3157f3[_0x3b023e(0x93)][_0x3b023e(0xa5)],_0xff5feb=_0x3daf8e['startColumn']-_0x3157f3[_0x3b023e(0x93)][_0x3b023e(0xc8)];_0x3157f3[_0x3b023e(0x80)]=await _0x5b3e7f[_0x3b023e(0x9a)](_0x3157f3[_0x3b023e(0x80)],_0xff5feb,_0x1f3da7),_0x3157f3[_0x3b023e(0x93)]={'startRow':_0x3daf8e[_0x3b023e(0xa5)],'endRow':_0x3daf8e[_0x3b023e(0xa5)],'startColumn':_0x3daf8e[_0x3b023e(0xc8)],'endColumn':_0x3daf8e[_0x3b023e(0xc8)]};}_0x174fe0[_0x3b023e(0xa1)](_0x3157f3);}}return _0x174fe0;}async[_0xa4dd1f(0x99)](){const _0x257e10=_0xa4dd1f;return(await this['getFormulaUsages']())[_0x257e10(0x92)](formulaToA1);}['getStyleUsages'](_0x20569c){const _0x747b69=_0xa4dd1f,_0x40ccbc=this[_0x747b69(0xb9)]['get'](IStyleUsageAnalyzer),_0x16e5f7=({startRow:_0x2590d9,endRow:_0x4c1a48,startColumn:_0x2cd6f4,endColumn:_0x4c8a38})=>{const _0xaec795=_0x747b69,_0x40d4dc=[];for(let _0x4531d0=_0x2590d9;_0x4531d0<=_0x4c1a48;_0x4531d0++){const _0x1fc39e=[];for(let _0x3ba91c=_0x2cd6f4;_0x3ba91c<=_0x4c8a38;_0x3ba91c++)_0x1fc39e['push'](this['_worksheet'][_0xaec795(0x94)](_0x4531d0,_0x3ba91c));_0x40d4dc[_0xaec795(0xa1)](_0x1fc39e);}return _0x40d4dc;},_0x1d29ae=_0x16e5f7({'startRow':0x0,'endRow':this[_0x747b69(0x8c)][_0x747b69(0xa6)](),'startColumn':0x0,'endColumn':this[_0x747b69(0x8c)][_0x747b69(0x8e)]()});_0x40ccbc[_0x747b69(0x81)](_0x20569c);const _0xa4fc81=_0x40ccbc[_0x747b69(0x96)](_0x1d29ae,this[_0x747b69(0xa3)],this[_0x747b69(0x8c)]),_0x563bc8=this[_0x747b69(0x87)](),_0x150aa6=[];for(let _0x377ce2=0x0;_0x377ce2<_0xa4fc81[_0x747b69(0x7e)];_0x377ce2++){const _0x510097=_0xa4fc81[_0x377ce2],_0x4624b3=_0x510097['filledRanges'],_0x281e3a=[];for(let _0x2921fa=0x0;_0x2921fa<_0x4624b3[_0x747b69(0x7e)];_0x2921fa++){const _0x553caa=_0x4624b3[_0x2921fa],_0x210f53=getIntersectRange(_0x553caa,_0x563bc8);if(_0x210f53)_0x281e3a[_0x747b69(0xa1)](_0x210f53);}_0x281e3a[_0x747b69(0x7e)]>0x0&&(_0x510097[_0x747b69(0xbc)]=_0x281e3a,_0x150aa6[_0x747b69(0xa1)](_0x510097));}return _0x150aa6;}['getStyleUsagesAsA1'](_0x5d988c){const _0x313972=_0xa4dd1f;return this[_0x313972(0x9e)](_0x5d988c)[_0x313972(0x92)](styleToA1);}['getSizeUsages'](_0x44f785){const _0xf46434=_0xa4dd1f,_0x1cbb2b=this[_0xf46434(0xb9)][_0xf46434(0x98)](ISizeUsageAnalyzer),_0x26da1c=this[_0xf46434(0x87)]();return _0x1cbb2b[_0xf46434(0x81)](_0x44f785),_0x1cbb2b['getAllSizeUsages'](this[_0xf46434(0x8c)],_0x26da1c[_0xf46434(0xa5)],_0x26da1c[_0xf46434(0xbe)],_0x26da1c['startColumn'],_0x26da1c[_0xf46434(0xbd)]);}[_0xa4dd1f(0xc0)](_0x324530){const _0x121db9=_0xa4dd1f,_0x42601c=this[_0x121db9(0x7f)](_0x324530);return this['_injector'][_0x121db9(0x98)](ISizeUsageAnalyzer)['toA1'](_0x42601c);}['getRectArea'](_0x45f568){const _0x1c7817=_0xa4dd1f,_0x498652=this[_0x1c7817(0xc6)](_0x45f568);return{'w':_0x498652['w'],'h':_0x498652['h']};}[_0xa4dd1f(0xb8)](_0x41d78b){const _0x5acebe=_0xa4dd1f;return this[_0x5acebe(0xc6)](_0x41d78b);}};FRange[_0xa4dd1f(0xa8)](FRangeSheetsMCP);export{};
1
+ const _0x2c7194=_0x361c;(function(_0xe62d50,_0x48509b){const _0x4c8bcd=_0x361c,_0x411d04=_0xe62d50();while(!![]){try{const _0x51e314=-parseInt(_0x4c8bcd(0x193))/0x1+parseInt(_0x4c8bcd(0x1ac))/0x2*(parseInt(_0x4c8bcd(0x168))/0x3)+parseInt(_0x4c8bcd(0x187))/0x4*(-parseInt(_0x4c8bcd(0x18a))/0x5)+-parseInt(_0x4c8bcd(0x1b0))/0x6*(-parseInt(_0x4c8bcd(0x16a))/0x7)+-parseInt(_0x4c8bcd(0x1a2))/0x8*(-parseInt(_0x4c8bcd(0x1ab))/0x9)+parseInt(_0x4c8bcd(0x1af))/0xa+-parseInt(_0x4c8bcd(0x17e))/0xb*(parseInt(_0x4c8bcd(0x186))/0xc);if(_0x51e314===_0x48509b)break;else _0x411d04['push'](_0x411d04['shift']());}catch(_0x1dbbb3){_0x411d04['push'](_0x411d04['shift']());}}}(_0x2b22,0x77cb3));import{FUniver}from'@univerjs/core/facade';import'@univerjs/sheets-formula/facade';import'@univerjs/sheets-data-validation/facade';import{FRange,FWorkbook,FWorksheet}from'@univerjs/sheets/facade';import{FormulaDataModel,serializeRangeWithSheet}from'@univerjs/engine-formula';import{IFormulaUsageAnalyzer,ISizeUsageAnalyzer,IStyleUsageAnalyzer,formulaToA1,styleToA1}from'@univerjs-pro/sheets-mcp';import{getIntersectRange}from'@univerjs/core';function _0x361c(_0x26429d,_0xfef550){_0x26429d=_0x26429d-0x15f;const _0x2b22b7=_0x2b22();let _0x361c0f=_0x2b22b7[_0x26429d];return _0x361c0f;}var FUniverLintMCPMixin=class extends FUniver{async[_0x2c7194(0x1a0)](){const _0x44a2b2=_0x2c7194;return this[_0x44a2b2(0x169)]()[_0x44a2b2(0x1a0)]();}};FUniver['extend'](FUniverLintMCPMixin);var FWorkbookCustomSearchCellsMixin=class extends FWorkbook{[_0x2c7194(0x161)](){const _0x18c269=_0x2c7194;Object['defineProperty'](this,_0x18c269(0x197),{'get'(){const _0xc7eeee=_0x18c269;return this[_0xc7eeee(0x192)][_0xc7eeee(0x16e)](FormulaDataModel);}});}[_0x2c7194(0x17d)](_0x56d6db,_0x22d7f1={}){const _0x4279e0=_0x2c7194,{caseSensitive:caseSensitive=![],matchEntireCell:matchEntireCell=![],specificRanges:_0xddeb0b,specificTypes:_0x2fbf2b,searchMultipleTextsCondition:searchMultipleTextsCondition='OR'}=_0x22d7f1;let _0x314b9a=(Array[_0x4279e0(0x162)](_0x56d6db)?_0x56d6db:[_0x56d6db])['map'](_0x1802a8=>_0x1802a8[_0x4279e0(0x19d)]())['filter'](_0x132e13=>_0x132e13);if(!caseSensitive)_0x314b9a=_0x314b9a[_0x4279e0(0x16b)](_0x571816=>_0x571816[_0x4279e0(0x19c)]());if(_0x314b9a[_0x4279e0(0x1ae)]===0x0)return[];const _0xb89d14={'caseSensitive':caseSensitive,'matchEntireCell':matchEntireCell,'searchMultipleTextsCondition':searchMultipleTextsCondition,'isSearchByRawValue':!_0x2fbf2b||_0x2fbf2b[_0x4279e0(0x177)](_0x4279e0(0x1a3)),'isSearchByDisplayValue':!_0x2fbf2b||_0x2fbf2b[_0x4279e0(0x177)](_0x4279e0(0x196)),'isSearchByFormula':!_0x2fbf2b||_0x2fbf2b[_0x4279e0(0x177)]('formula')},_0x53ddfa=this[_0x4279e0(0x19a)](),_0x287c4b=[];if(!_0xddeb0b){const _0x1c6ed2=_0x53ddfa[_0x4279e0(0x191)]();for(const _0xb8699f of _0x1c6ed2)_0xb8699f[_0x4279e0(0x170)]()['forValue']((_0x4315ed,_0x2d41a1,_0x53fa95)=>{const _0x16cfc3=_0x4279e0;if(_0x53fa95){const _0x585c32=this['_cellMatchesSearch'](_0x53fa95,_0x314b9a,{..._0xb89d14,'worksheet':_0xb8699f,'row':_0x4315ed,'col':_0x2d41a1});if(_0x585c32)_0x287c4b[_0x16cfc3(0x1a8)]({..._0x585c32,'sheetId':_0xb8699f['getSheetId']()});}});}else for(const {sheetId:_0x4d015d,ranges:_0x1c1467}of _0xddeb0b){const _0x276f9b=_0x53ddfa[_0x4279e0(0x16c)](_0x4d015d);if(!_0x276f9b){console[_0x4279e0(0x1a4)](_0x4279e0(0x18e)+_0x4d015d+_0x4279e0(0x174));continue;}const _0x12c421=_0x276f9b[_0x4279e0(0x170)]();if(_0x1c1467&&_0x1c1467[_0x4279e0(0x1ae)]>0x0){for(const _0x20ec31 of _0x1c1467)for(let _0x3a2ab0=_0x20ec31[_0x4279e0(0x189)];_0x3a2ab0<=_0x20ec31[_0x4279e0(0x1ad)];_0x3a2ab0++)for(let _0x56b5cd=_0x20ec31[_0x4279e0(0x15f)];_0x56b5cd<=_0x20ec31[_0x4279e0(0x199)];_0x56b5cd++){const _0x13ca5f=_0x12c421[_0x4279e0(0x184)](_0x3a2ab0,_0x56b5cd);if(!_0x13ca5f)continue;const _0x2bdf43=this[_0x4279e0(0x182)](_0x13ca5f,_0x314b9a,{..._0xb89d14,'worksheet':_0x276f9b,'row':_0x3a2ab0,'col':_0x56b5cd});if(_0x2bdf43)_0x287c4b[_0x4279e0(0x1a8)]({..._0x2bdf43,'sheetId':_0x276f9b['getSheetId']()});}}else _0x12c421[_0x4279e0(0x1a7)]((_0x31cb6f,_0x5018d1,_0x3fe6b1)=>{const _0x455a42=_0x4279e0;if(_0x3fe6b1){const _0x16f1e8=this[_0x455a42(0x182)](_0x3fe6b1,_0x314b9a,{..._0xb89d14,'worksheet':_0x276f9b,'row':_0x31cb6f,'col':_0x5018d1});if(_0x16f1e8)_0x287c4b['push']({..._0x16f1e8,'sheetId':_0x276f9b[_0x455a42(0x17a)]()});}});}return _0x287c4b;}[_0x2c7194(0x182)](_0x26783c,_0x46128c,_0x51f43d){const _0x2a6a0f=_0x2c7194,{caseSensitive:_0x4e2bed,matchEntireCell:_0x1fe6b5,searchMultipleTextsCondition:_0x20e73b,isSearchByRawValue:_0x1c0706,isSearchByDisplayValue:_0x124738,isSearchByFormula:_0x598c8f,worksheet:_0xdefe1,row:_0x18b1c8,col:_0x3df963}=_0x51f43d;if(_0x1c0706){var _0x470f01;const _0x537584=((_0x470f01=_0x26783c['p'])===null||_0x470f01===void 0x0||(_0x470f01=_0x470f01['body'])===null||_0x470f01===void 0x0?void 0x0:_0x470f01[_0x2a6a0f(0x185)])||_0x26783c['v'];if(_0x537584){const _0x15ac0c=_0x4e2bed?_0x537584[_0x2a6a0f(0x18c)]():_0x537584[_0x2a6a0f(0x18c)]()[_0x2a6a0f(0x19c)]();if(this[_0x2a6a0f(0x16f)](_0x15ac0c,_0x46128c,_0x1fe6b5,_0x20e73b))return{'row':_0x18b1c8,'col':_0x3df963,'reference':serializeRangeWithSheet(_0xdefe1[_0x2a6a0f(0x173)](),{'startRow':_0x18b1c8,'endRow':_0x18b1c8,'startColumn':_0x3df963,'endColumn':_0x3df963}),'cellData':{..._0x26783c,'rawValue':_0x537584}};}}if(_0x598c8f&&(_0x26783c['f']||_0x26783c['si'])){const _0x570361=this[_0x2a6a0f(0x197)][_0x2a6a0f(0x198)](_0x18b1c8,_0x3df963,_0xdefe1[_0x2a6a0f(0x17a)](),this['getWorkbook']()[_0x2a6a0f(0x160)]());if(_0x570361){const _0x27c5b8=_0x4e2bed?_0x570361:_0x570361[_0x2a6a0f(0x19c)]();if(this[_0x2a6a0f(0x16f)](_0x27c5b8,_0x46128c,_0x1fe6b5,_0x20e73b))return{'row':_0x18b1c8,'col':_0x3df963,'reference':serializeRangeWithSheet(_0xdefe1[_0x2a6a0f(0x173)](),{'startRow':_0x18b1c8,'endRow':_0x18b1c8,'startColumn':_0x3df963,'endColumn':_0x3df963}),'cellData':{..._0x26783c,'formulaString':_0x570361}};}}if(_0x124738){var _0x334455;let _0x12a613=(_0x334455=_0x26783c['p'])===null||_0x334455===void 0x0||(_0x334455=_0x334455['body'])===null||_0x334455===void 0x0?void 0x0:_0x334455[_0x2a6a0f(0x185)];if(!_0x12a613){var _0x108dee;_0x12a613=(_0x108dee=_0xdefe1[_0x2a6a0f(0x1aa)](_0x18b1c8,_0x3df963))===null||_0x108dee===void 0x0?void 0x0:_0x108dee['v'];}if(_0x12a613){const _0x29f51c=_0x4e2bed?_0x12a613['toString']():_0x12a613[_0x2a6a0f(0x18c)]()[_0x2a6a0f(0x19c)]();if(this[_0x2a6a0f(0x16f)](_0x29f51c,_0x46128c,_0x1fe6b5,_0x20e73b))return{'row':_0x18b1c8,'col':_0x3df963,'reference':serializeRangeWithSheet(_0xdefe1[_0x2a6a0f(0x173)](),{'startRow':_0x18b1c8,'endRow':_0x18b1c8,'startColumn':_0x3df963,'endColumn':_0x3df963}),'cellData':{..._0x26783c,'displayValue':_0x12a613['toString']()}};}}return![];}[_0x2c7194(0x16f)](_0x204f29,_0x2e48e8,_0x11d2b6,_0x545c17){const _0x40c77a=_0x2c7194;if(_0x2e48e8[_0x40c77a(0x1ae)]>0x1&&_0x545c17==='AND')return _0x2e48e8['every'](_0x3156ab=>_0x11d2b6?_0x204f29===_0x3156ab:_0x204f29['indexOf'](_0x3156ab)>-0x1);else return _0x2e48e8['some'](_0x16fed1=>_0x11d2b6?_0x204f29===_0x16fed1:_0x204f29[_0x40c77a(0x165)](_0x16fed1)>-0x1);}};FWorkbook[_0x2c7194(0x19e)](FWorkbookCustomSearchCellsMixin);var FWorkbookSheetsMCPMixin=class extends FWorkbook{async[_0x2c7194(0x1a0)](){const _0x5efb98=_0x2c7194;return{'formulaErrors':this[_0x5efb98(0x17c)](),'dataValidationErrors':await this['getAllDataValidationErrorAsync']()};}};FWorkbook['extend'](FWorkbookSheetsMCPMixin);var FWorksheetSheetsMCP=class extends FWorksheet{async['getFormulaUsages'](){const _0x5114e9=_0x2c7194,_0x4c1253=this[_0x5114e9(0x192)][_0x5114e9(0x16e)](IFormulaUsageAnalyzer),_0x5547d4=this[_0x5114e9(0x16d)](0x0,0x0,this['getMaxRows'](),this[_0x5114e9(0x18b)]())[_0x5114e9(0x164)]();return await _0x4c1253['getAllFormulaUsages'](_0x5547d4);}async[_0x2c7194(0x181)](){const _0x51e2ba=_0x2c7194;return(await this[_0x51e2ba(0x183)]())['map'](formulaToA1);}['getStyleUsages'](_0x451c84){const _0x5ed84c=_0x2c7194,_0x54be76=this[_0x5ed84c(0x192)]['get'](IStyleUsageAnalyzer),_0x8e1ff=this[_0x5ed84c(0x16d)](0x0,0x0,this[_0x5ed84c(0x178)](),this[_0x5ed84c(0x18b)]())['getCellDataGrid']();return _0x54be76[_0x5ed84c(0x19b)](_0x451c84),_0x54be76['getAllStyleUsages'](_0x8e1ff,this[_0x5ed84c(0x17f)],this[_0x5ed84c(0x175)]);}[_0x2c7194(0x1a5)](_0x19e94a){const _0x151bde=_0x2c7194;return this[_0x151bde(0x190)](_0x19e94a)[_0x151bde(0x16b)](styleToA1);}[_0x2c7194(0x18d)](_0x475639){const _0x57df3b=_0x2c7194,_0x2faf7a=this[_0x57df3b(0x192)][_0x57df3b(0x16e)](ISizeUsageAnalyzer);return _0x2faf7a[_0x57df3b(0x19b)](_0x475639),_0x2faf7a['getAllSizeUsages'](this['_worksheet']);}[_0x2c7194(0x163)](_0x35052f){const _0x25a3ec=_0x2c7194,_0x54da55=this[_0x25a3ec(0x192)][_0x25a3ec(0x16e)](ISizeUsageAnalyzer);_0x54da55[_0x25a3ec(0x19b)](_0x35052f);const _0x1dd5a8=_0x54da55[_0x25a3ec(0x194)](this[_0x25a3ec(0x175)]);return _0x54da55[_0x25a3ec(0x188)](_0x1dd5a8);}};FWorksheet[_0x2c7194(0x19e)](FWorksheetSheetsMCP);var FRangeSheetsMCP=class extends FRange{['_collectRectAreaData'](_0x35768c){const _0xb5ea40=_0x2c7194;var _0x146ca4;const _0x223aeb=(_0x146ca4=_0x35768c===null||_0x35768c===void 0x0?void 0x0:_0x35768c['visibleOnly'])!==null&&_0x146ca4!==void 0x0?_0x146ca4:!![],_0x3348e8=this[_0xb5ea40(0x16d)](),_0x2aa3d2=this['_worksheet'][_0xb5ea40(0x1a1)](),_0xab80bd=this['_worksheet'][_0xb5ea40(0x195)](),_0x356687={};let _0x47f974=0x0;for(let _0x6dfc7=_0x3348e8[_0xb5ea40(0x189)];_0x6dfc7<=_0x3348e8[_0xb5ea40(0x1ad)];_0x6dfc7++){const _0x179bfc=_0x2aa3d2[_0xb5ea40(0x1a9)](_0x6dfc7),_0x2faee4=!_0x223aeb||this['_worksheet'][_0xb5ea40(0x1a6)](_0x6dfc7)?_0x179bfc:0x0;_0x47f974+=_0x2faee4,_0x356687[_0x6dfc7]={'h':_0x2faee4};}const _0x48e3a0={};let _0x283922=0x0;for(let _0x5e123d=_0x3348e8[_0xb5ea40(0x15f)];_0x5e123d<=_0x3348e8[_0xb5ea40(0x199)];_0x5e123d++){const _0xb0caa9=_0xab80bd[_0xb5ea40(0x166)](_0x5e123d),_0x24b19c=!_0x223aeb||this[_0xb5ea40(0x175)][_0xb5ea40(0x171)](_0x5e123d)?_0xb0caa9:0x0;_0x283922+=_0x24b19c,_0x48e3a0[_0x5e123d]={'w':_0x24b19c};}return{'w':_0x283922,'h':_0x47f974,'rowData':_0x356687,'columnData':_0x48e3a0};}async[_0x2c7194(0x183)](){const _0x43bf6f=_0x2c7194,_0x55838=this['_injector']['get'](IFormulaUsageAnalyzer),_0x54a29e=({startRow:_0x1f0e31,endRow:_0x399264,startColumn:_0x194038,endColumn:_0x3082ab})=>{const _0x1ff143=_0x361c,_0x88201b=[];for(let _0x580ec6=_0x1f0e31;_0x580ec6<=_0x399264;_0x580ec6++){const _0x5ea9ed=[];for(let _0x52e8ad=_0x194038;_0x52e8ad<=_0x3082ab;_0x52e8ad++)_0x5ea9ed[_0x1ff143(0x1a8)](this['_worksheet']['getCellRaw'](_0x580ec6,_0x52e8ad));_0x88201b[_0x1ff143(0x1a8)](_0x5ea9ed);}return _0x88201b;},_0x26d8cf=_0x54a29e({'startRow':0x0,'endRow':this[_0x43bf6f(0x175)][_0x43bf6f(0x178)](),'startColumn':0x0,'endColumn':this['_worksheet']['getMaxColumns']()}),_0x558c62=await _0x55838[_0x43bf6f(0x172)](_0x26d8cf),_0x716538=this[_0x43bf6f(0x16d)](),_0x47acaf=[];for(let _0x5b1eb0=0x0;_0x5b1eb0<_0x558c62[_0x43bf6f(0x1ae)];_0x5b1eb0++){const _0x89437f=_0x558c62[_0x5b1eb0],_0x8adaed=_0x89437f[_0x43bf6f(0x176)],_0x5171ca=[];for(let _0x39d5ca=0x0;_0x39d5ca<_0x8adaed[_0x43bf6f(0x1ae)];_0x39d5ca++){const _0x4093b2=_0x8adaed[_0x39d5ca],_0x59895b=getIntersectRange(_0x4093b2,_0x716538);if(_0x59895b)_0x5171ca[_0x43bf6f(0x1a8)](_0x59895b);}if(_0x5171ca[_0x43bf6f(0x1ae)]>0x0){_0x89437f['filledRanges']=_0x5171ca;if(!(_0x89437f[_0x43bf6f(0x17b)][_0x43bf6f(0x189)]>=_0x716538[_0x43bf6f(0x189)]&&_0x89437f[_0x43bf6f(0x17b)]['startRow']<=_0x716538[_0x43bf6f(0x1ad)]&&_0x89437f[_0x43bf6f(0x17b)][_0x43bf6f(0x15f)]>=_0x716538[_0x43bf6f(0x15f)]&&_0x89437f[_0x43bf6f(0x17b)][_0x43bf6f(0x15f)]<=_0x716538[_0x43bf6f(0x199)])){const _0x402258=_0x5171ca[0x0],_0xdc47b5=_0x402258[_0x43bf6f(0x189)]-_0x89437f[_0x43bf6f(0x17b)]['startRow'],_0xe8562b=_0x402258[_0x43bf6f(0x15f)]-_0x89437f[_0x43bf6f(0x17b)]['startColumn'];_0x89437f['formula']=await _0x55838[_0x43bf6f(0x18f)](_0x89437f['formula'],_0xe8562b,_0xdc47b5),_0x89437f[_0x43bf6f(0x17b)]={'startRow':_0x402258[_0x43bf6f(0x189)],'endRow':_0x402258[_0x43bf6f(0x189)],'startColumn':_0x402258[_0x43bf6f(0x15f)],'endColumn':_0x402258[_0x43bf6f(0x15f)]};}_0x47acaf[_0x43bf6f(0x1a8)](_0x89437f);}}return _0x47acaf;}async[_0x2c7194(0x181)](){const _0x31d251=_0x2c7194;return(await this['getFormulaUsages']())[_0x31d251(0x16b)](formulaToA1);}[_0x2c7194(0x190)](_0x18cbe5){const _0x559552=_0x2c7194,_0x35550f=this[_0x559552(0x192)]['get'](IStyleUsageAnalyzer),_0x4ac8e7=({startRow:_0x223f31,endRow:_0x121af7,startColumn:_0x582ed7,endColumn:_0x574314})=>{const _0xcaa187=_0x559552,_0x444c9f=[];for(let _0x26980e=_0x223f31;_0x26980e<=_0x121af7;_0x26980e++){const _0x24278e=[];for(let _0x5155fd=_0x582ed7;_0x5155fd<=_0x574314;_0x5155fd++)_0x24278e[_0xcaa187(0x1a8)](this[_0xcaa187(0x175)][_0xcaa187(0x179)](_0x26980e,_0x5155fd));_0x444c9f[_0xcaa187(0x1a8)](_0x24278e);}return _0x444c9f;},_0x488f93=_0x4ac8e7({'startRow':0x0,'endRow':this['_worksheet'][_0x559552(0x178)](),'startColumn':0x0,'endColumn':this[_0x559552(0x175)][_0x559552(0x18b)]()});_0x35550f['updateConfig'](_0x18cbe5);const _0x40529e=_0x35550f[_0x559552(0x19f)](_0x488f93,this[_0x559552(0x17f)],this[_0x559552(0x175)]),_0x476cec=this[_0x559552(0x16d)](),_0x3e9829=[];for(let _0x44d2e6=0x0;_0x44d2e6<_0x40529e[_0x559552(0x1ae)];_0x44d2e6++){const _0x7bd13f=_0x40529e[_0x44d2e6],_0x1eb383=_0x7bd13f[_0x559552(0x176)],_0x3812e6=[];for(let _0x5c49f3=0x0;_0x5c49f3<_0x1eb383[_0x559552(0x1ae)];_0x5c49f3++){const _0x383e9d=_0x1eb383[_0x5c49f3],_0x3bc06c=getIntersectRange(_0x383e9d,_0x476cec);if(_0x3bc06c)_0x3812e6['push'](_0x3bc06c);}_0x3812e6[_0x559552(0x1ae)]>0x0&&(_0x7bd13f[_0x559552(0x176)]=_0x3812e6,_0x3e9829[_0x559552(0x1a8)](_0x7bd13f));}return _0x3e9829;}[_0x2c7194(0x1a5)](_0x52e724){const _0x64727e=_0x2c7194;return this[_0x64727e(0x190)](_0x52e724)[_0x64727e(0x16b)](styleToA1);}['getSizeUsages'](_0x4dc1d7){const _0x2aa539=_0x2c7194,_0x35d580=this[_0x2aa539(0x192)][_0x2aa539(0x16e)](ISizeUsageAnalyzer),_0x2e723f=this['getRange']();return _0x35d580[_0x2aa539(0x19b)](_0x4dc1d7),_0x35d580[_0x2aa539(0x194)](this[_0x2aa539(0x175)],_0x2e723f[_0x2aa539(0x189)],_0x2e723f[_0x2aa539(0x1ad)],_0x2e723f[_0x2aa539(0x15f)],_0x2e723f[_0x2aa539(0x199)]);}['getSizeUsagesAsA1'](_0x415725){const _0x53b9d5=_0x2c7194,_0x42f197=this[_0x53b9d5(0x18d)](_0x415725);return this['_injector'][_0x53b9d5(0x16e)](ISizeUsageAnalyzer)['toA1'](_0x42f197);}[_0x2c7194(0x167)](_0x6bc00f){const _0x5bd900=this['_collectRectAreaData'](_0x6bc00f);return{'w':_0x5bd900['w'],'h':_0x5bd900['h']};}[_0x2c7194(0x180)](_0x5ee423){return this['_collectRectAreaData'](_0x5ee423);}};FRange[_0x2c7194(0x19e)](FRangeSheetsMCP);function _0x2b22(){const _0xa6a10f=['getStyleUsages','getSheets','_injector','108867TDzOuA','getAllSizeUsages','getColumnManager','displayValue','_formulaDataModel','getFormulaStringByCell','endColumn','getWorkbook','updateConfig','toLowerCase','trim','extend','getAllStyleUsages','getLintErrors','getRowManager','8MvrrXX','rawValue','warn','getStyleUsagesAsA1','getRowVisible','forValue','push','getRowHeight','getCell','1122669iGwiMb','590402RoMUZq','endRow','length','8799510QPNjej','371238LohXaa','startColumn','getUnitId','_initialize','isArray','getSizeUsagesAsA1','getCellDataGrid','indexOf','getColumnWidth','getRectArea','3HpyFPk','getActiveWorkbook','21fXDkQA','map','getSheetBySheetId','getRange','get','_isMatch','getCellMatrix','getColVisible','getAllFormulaUsages','getName','\x20not\x20found.\x20Skipping.','_worksheet','filledRanges','includes','getMaxRows','getCellRaw','getSheetId','firstOccurrence','getAllFormulaError','searchCells','3855962rBQQKS','_workbook','getRectAreaData','getFormulaUsagesAsA1','_cellMatchesSearch','getFormulaUsages','getValue','dataStream','24fMlZrF','1352dsWnJP','toA1','startRow','2735rPZeak','getMaxColumns','toString','getSizeUsages','Sheet\x20with\x20ID\x20','moveFormulaRefOffset'];_0x2b22=function(){return _0xa6a10f;};return _0x2b22();}export{};