@univerjs-pro/docs-formula 1.3.1 → 1.4.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/common/const.d.ts +0 -1
- package/lib/types/common/type.d.ts +1 -3
- package/lib/types/index.d.ts +1 -1
- package/lib/umd/facade.js +1 -1
- package/lib/umd/index.js +1 -1
- package/package.json +12 -12
package/lib/umd/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
function _0x2c20(_0x35540d,_0x3b71dd){_0x35540d=_0x35540d-0x1cf;const _0x3dcb06=_0x3dcb();let _0x2c2082=_0x3dcb06[_0x35540d];return _0x2c2082;}function _0x3dcb(){const _0x59fe3a=['formulaId','getFormula','Module','_rawResources','CUSTOM_BLOCK','UniverLicensePlugin','buildInsertDocFormulaActions','add','SECTION_BREAK','setFormula','textRuns','docs-formula.command.replace-with-text','resourceRedo','startOffset','deleteLength','_commandService','nextResource','unitDisposed$','resolveHostFormulaExternalReferences','PARAGRAPH','endOffset','error','presentation','dataStream','RegisterOtherFormulaService','updates','rangeType','removeUnit','generateRandomId','deepClone','buildRemoveDocFormulaActions','docs-formula.mutation.set-resource','type','TABLE_CELL_END','prototype','syncUnit','formula','references','min','1432446VGYmqX','endIndex','syncExecuteCommand','unitAdded$','assign','notifyTextChanged','selection','_formulaService','Doc\x20Formula\x20range\x20cannot\x20cross\x20document\x20structure\x20boundaries','setConfig','forEach','number','data','end','getCurrentUnitOfType','_configService','sort','getPresentation','SUCCESS','pending','DOC','Disposable','color','55kLfVdO','SetDocFormulaResourceMutation','ConvertDocFormulaToTextCommand','insertLength','registerProvider','symbol','unregisterUnit','retain','lastValue','values','startsWith','change$','assertSafeDocFormulaInsertRange','disposeWithMe','ReplaceDocFormulaWithTextCommand','univer-docs-formula','isArray','disabled','getTextRanges','customDecorations','_service','identity','asObservable','getFormulas','documentRedo','unsupported-version','stale','UNIVER_DOC','customRanges','paragraphs','23316260Qmgeuc','ERROR','Inject','pluginName','Injector','resourceUndo','DOC_FORMULA_CUSTOM_RANGE_KIND','DataStreamTreeTokenType','resources','_injector','_config','DOC_SELECTION_OPTION_PRESERVE_CARET','previousDocumentData','customBlocks','DocFormulaDisplayTextService','UniverProEngineFormula','FormulaCacheEligibilityService','getAllUnitsForType','iterator','model','wholeEntity','parse','onStarting','string','cursorOffset','DocFormulaModel','formulaResult$','getRichTextEditPath','docs-formula.command.update','@univerjs-pro/docs-formula','2666094bXvTLS','object','DocSelectionManagerService','BLOCK_END','IUniverInstanceService','text','trim','range','2712clVeGa','setResource','map','_resources','endsWith','empty','liveResult','_updateFormulaResult','clear','getParagraphContentStartOffset','Tools','250692turZst','accessor','complete','COLUMN_START','COMMAND','slice','FormulaResultStatus','cell','config','_loadErrors','UniverProLicense','_docFormulaModel','paragraphId','@univerjs/core','DocFormulaResultStatus','DocFormulaService','max','externalMutations','getScalarFormulaResultCell','function','shiftExclusiveRangeOnInsert','_formulaKeys','keys','docs-formula.mutation.set-formula','8271nVCUZB','buildUpsertHostExternalReferenceMutations','name','UpdateDocFormulaCommand','degradeBody','CommandType','_queueSync','next','filter','params','rangeId','boolean','sequenceNodesBuilder','getUnit','RemoveDocFormulaCommand','UniverCore','referenceRevision','formulas','DOC_FORMULA_OBJECT_REPLACEMENT','has','getCustomRangeInterval','getOwnPropertyDescriptor','segmentId','_isDisposed','docs-formula.config','UniverDocs','success','OtherFormulaBizType','22zGplyj','@univerjs-pro/engine-formula','Subject','replaceDocRanges','_instanceService','delete','expectedNumberFormat','constructor','length','registerPluginResource','1355906JHfYtG','_registrationService','presentationChanged$','start','_cacheEligibilityService','fromEntries','PENDING','TABLE_ROW_END','getResult','documentData','kind','rxjs','amd','@univerjs/engine-formula','getBody','source','shiftInclusiveRangeOnDelete','docs-formula.mutation.set-last-values','RichTextEditingMutation','SetDocFormulaLastValuesMutation','invalid-resource','getResource','unitId','DOC_FORMULA_PLUGIN','serialize','defineProperty','_model','undoMutation','pattern','DOC_FORMULA_SCHEMA_VERSION','degradeDocFormulaDocumentData','isFormulaLastValue','CustomRangeType','IConfigService','get','merge','toFormulaLastValue','buildUpdateDocFormulaActions','docs-formula.command.set-number-format','setFormulas','TABLE_START','COLUMN_END','IResourceManagerService','MUTATION','resource','target','assess','unregister','sectionBreaks','TABLE_CELL_START','_resourceManagerService','properties','7hdzhEH','_setPresentation','schemaVersion','blockRanges','resolved','getRevision','isDocFormulaRange','_syncScheduled','entries','touchDependencies','startIndex','dispose','InsertDocFormulaCommand','UniverInstanceType','trigger','SetDocFormulaMutation','HostExternalReferenceModel','paragraph','columnGroups','getLoadError','push','UniverProFormulaEnginePlugin','findDocFormulaRange','ICommandService','UniverDocsFormulaPlugin','editOp','DocFormulaResourceController','decorate','TABLE_END','numberFormat','tables','redoMutation','getRegisteredFormulas','find','_presentationChanged$','resolveFormula','collectFormulaExternalReferenceQualifiers','_deleteRegistration','insert','subscribe','_hostExternalReferenceModel','_preserveInvalid','_pendingUnitIds','getUnitId','DependentOn','register','_change$','getInstance','resolveFormulaResultPresentation','deleteFormula','COLUMN_GROUP_START','resolveBinding','shiftInclusiveRangeOnInsert','UniverProDocsFormula','position','RemoveDocFormulaMutation','from','every','_registrations','getSnapshot','load','expectedFormula','TABLE_ROW_START','CellValueType','document','body','Plugin','3222537BbBkrY','nextDocumentData','set','@univerjs/docs','@@toPrimitive\x20must\x20return\x20a\x20primitive\x20value.','_univerInstanceService','isInteger','_syncUnit','toPrimitive'];_0x3dcb=function(){return _0x59fe3a;};return _0x3dcb();}(function(_0x5d8217,_0x234522){const _0x40c728=_0x2c20,_0x3d01c5=_0x5d8217();while(!![]){try{const _0x39accb=-parseInt(_0x40c728(0x20a))/0x1+-parseInt(_0x40c728(0x2b1))/0x2+-parseInt(_0x40c728(0x281))/0x3+parseInt(_0x40c728(0x317))/0x4*(-parseInt(_0x40c728(0x2c8))/0x5)+parseInt(_0x40c728(0x304))/0x6*(-parseInt(_0x40c728(0x23e))/0x7)+-parseInt(_0x40c728(0x30c))/0x8*(-parseInt(_0x40c728(0x1e4))/0x9)+-parseInt(_0x40c728(0x2e6))/0xa*(-parseInt(_0x40c728(0x200))/0xb);if(_0x39accb===_0x234522)break;else _0x3d01c5['push'](_0x3d01c5['shift']());}catch(_0x30c226){_0x3d01c5['push'](_0x3d01c5['shift']());}}}(_0x3dcb,0xa99cd),function(_0x50e297,_0x308068){const _0x386022=_0x2c20;typeof exports==_0x386022(0x305)&&typeof module<'u'?_0x308068(exports,require('@univerjs-pro/engine-formula'),require('@univerjs/core'),require('@univerjs/docs'),require('@univerjs/engine-formula'),require('rxjs'),require('@univerjs-pro/license')):typeof define==_0x386022(0x1df)&&define[_0x386022(0x216)]?define(['exports',_0x386022(0x201),_0x386022(0x1d9),_0x386022(0x284),_0x386022(0x217),_0x386022(0x215),'@univerjs-pro/license'],_0x308068):(_0x50e297=typeof globalThis<'u'?globalThis:_0x50e297||self,_0x308068(_0x50e297[_0x386022(0x273)]={},_0x50e297[_0x386022(0x2f5)],_0x50e297[_0x386022(0x1f3)],_0x50e297[_0x386022(0x1fd)],_0x50e297['UniverEngineFormula'],_0x50e297[_0x386022(0x215)],_0x50e297[_0x386022(0x1d6)]));}(this,function(_0x56aa93,_0x35ae52,_0x2286fa,_0x5c0da1,_0x371fd5,_0x5339e7,_0x44b28c){const _0x2ae91e=_0x2c20;Object[_0x2ae91e(0x223)](_0x56aa93,Symbol['toStringTag'],{'value':_0x2ae91e(0x28c)});let _0xd931c2=_0x2ae91e(0x221),_0x578adb=_0x2ae91e(0x2d7);function _0x4ecf65(){return{'schemaVersion':0x1,'formulas':{}};}function _0x1a0bf1(_0x2eee41){const _0x5cff26=_0x2ae91e;return!_0x2eee41||typeof _0x2eee41!=_0x5cff26(0x305)||!_0x3090ab(_0x2eee41,['schemaVersion',_0x5cff26(0x1f5)])||!('schemaVersion'in _0x2eee41)||_0x2eee41[_0x5cff26(0x240)]!==0x1||!(_0x5cff26(0x1f5)in _0x2eee41)||!_0x2eee41[_0x5cff26(0x1f5)]||typeof _0x2eee41[_0x5cff26(0x1f5)]!=_0x5cff26(0x305)||Array[_0x5cff26(0x2d8)](_0x2eee41[_0x5cff26(0x1f5)])?!0x1:Object[_0x5cff26(0x246)](_0x2eee41['formulas'])['every'](([_0x417ad6,_0x21bb9d])=>_0x417ad6[_0x5cff26(0x208)]>0x0&&_0x94a41(_0x21bb9d));}function _0x94a41(_0x29106f){const _0x2e8189=_0x2ae91e;return!_0x29106f||typeof _0x29106f!=_0x2e8189(0x305)||!_0x3090ab(_0x29106f,[_0x2e8189(0x2ae),_0x2e8189(0x25b),'lastValue'])||!(_0x2e8189(0x2ae)in _0x29106f)||typeof _0x29106f[_0x2e8189(0x2ae)]!=_0x2e8189(0x2fd)||!_0x29106f[_0x2e8189(0x2ae)]['trim']()||_0x2e8189(0x25b)in _0x29106f&&_0x29106f[_0x2e8189(0x25b)]!=null&&(typeof _0x29106f[_0x2e8189(0x25b)]!='object'||!_0x3090ab(_0x29106f[_0x2e8189(0x25b)],[_0x2e8189(0x226)])||!(_0x2e8189(0x226)in _0x29106f[_0x2e8189(0x25b)])||typeof _0x29106f['numberFormat'][_0x2e8189(0x226)]!='string')?!0x1:!(_0x2e8189(0x2d0)in _0x29106f)||_0x29106f[_0x2e8189(0x2d0)]==null||_0x4334a0(_0x29106f['lastValue']);}function _0x4334a0(_0x464e40){const _0xaeb4db=_0x2ae91e;return!_0x464e40||typeof _0x464e40!='object'||!_0x3090ab(_0x464e40,['v','t','pattern'])||!('v'in _0x464e40)||_0x464e40['v']!==null&&typeof _0x464e40['v']!=_0xaeb4db(0x2fd)&&typeof _0x464e40['v']!='number'&&typeof _0x464e40['v']!=_0xaeb4db(0x1ef)||'t'in _0x464e40&&_0x464e40['t']!=null&&!_0x16ca80(_0x464e40['t'])?!0x1:!(_0xaeb4db(0x226)in _0x464e40)||_0x464e40[_0xaeb4db(0x226)]==null||typeof _0x464e40[_0xaeb4db(0x226)]=='string';}function _0x3090ab(_0x237ed1,_0x3a4a71){const _0x78af5a=_0x2ae91e;let _0x73604d=new Set(_0x3a4a71);return Object[_0x78af5a(0x1e2)](_0x237ed1)[_0x78af5a(0x277)](_0x3aa81e=>_0x73604d[_0x78af5a(0x1f7)](_0x3aa81e));}function _0x16ca80(_0x30bd98){const _0x49f377=_0x2ae91e;return typeof _0x30bd98==_0x49f377(0x2bc)&&Object[_0x49f377(0x2d1)](_0x2286fa[_0x49f377(0x27d)])['includes'](_0x30bd98);}let _0x4b98ae=new Set([_0x2286fa[_0x2ae91e(0x2ed)][_0x2ae91e(0x292)],_0x2286fa['DataStreamTreeTokenType'][_0x2ae91e(0x232)],_0x2286fa['DataStreamTreeTokenType'][_0x2ae91e(0x27c)],_0x2286fa['DataStreamTreeTokenType'][_0x2ae91e(0x23b)],_0x2286fa['DataStreamTreeTokenType'][_0x2ae91e(0x2ab)],_0x2286fa[_0x2ae91e(0x2ed)][_0x2ae91e(0x211)],_0x2286fa[_0x2ae91e(0x2ed)][_0x2ae91e(0x25a)],_0x2286fa['DataStreamTreeTokenType'][_0x2ae91e(0x270)],_0x2286fa[_0x2ae91e(0x2ed)][_0x2ae91e(0x1cf)],_0x2286fa[_0x2ae91e(0x2ed)][_0x2ae91e(0x233)],_0x2286fa[_0x2ae91e(0x2ed)]['COLUMN_GROUP_END'],_0x2286fa[_0x2ae91e(0x2ed)]['BLOCK_START'],_0x2286fa[_0x2ae91e(0x2ed)][_0x2ae91e(0x307)],_0x2286fa[_0x2ae91e(0x2ed)][_0x2ae91e(0x28e)]]);var _0x3e04ef=class extends Error{constructor(){const _0x35bc07=_0x2ae91e;super(_0x35bc07(0x2b9));}};function _0x53b154(_0x44a577){const _0x1b14d2=_0x2ae91e;var _0x4b7fb1,_0x508422;let _0x49dc54=_0x2286fa[_0x1b14d2(0x316)]['deepClone'](_0x44a577[_0x1b14d2(0x213)]),_0x3f167f=_0x2026c4(_0x49dc54),{startOffset:_0x34c713,endOffset:_0x16d516}=_0x1dd191(_0x3f167f,_0x44a577['startOffset'],_0x44a577[_0x1b14d2(0x29e)]);_0x11f22b(_0x3f167f,_0x34c713,_0x16d516);let _0x339af=((_0x4b7fb1=_0x3f167f[_0x1b14d2(0x2e4)])==null?void 0x0:_0x4b7fb1[_0x1b14d2(0x1ec)](_0x3f34d0=>{const _0x108c91=_0x1b14d2;if(!_0x5b47a7(_0x3f34d0))return!0x1;let _0x4f3627=(0x0,_0x2286fa[_0x108c91(0x1f8)])(_0x3f34d0);return _0x4f3627['endOffset']>_0x34c713&&_0x4f3627[_0x108c91(0x297)]<_0x16d516;})[_0x1b14d2(0x30e)](_0x4f3a97=>_0x4f3a97[_0x1b14d2(0x1ee)]))??[];_0x5e3e01(_0x3f167f,_0x34c713,_0x16d516,''),_0x3f167f[_0x1b14d2(0x2e4)]=[...((_0x508422=_0x3f167f['customRanges'])==null?void 0x0:_0x508422[_0x1b14d2(0x1ec)](_0x11d009=>!_0x339af['includes'](_0x11d009[_0x1b14d2(0x1ee)])&&_0x11d009[_0x1b14d2(0x1ee)]!==_0x44a577[_0x1b14d2(0x1ee)]))??[],_0x1528f7(_0x44a577[_0x1b14d2(0x1ee)],_0x34c713)][_0x1b14d2(0x2c1)]((_0x4576cf,_0x562799)=>_0x4576cf[_0x1b14d2(0x248)]-_0x562799[_0x1b14d2(0x248)]);let _0x241a29=_0x39d9e8(_0x44a577[_0x1b14d2(0x236)]);return _0x339af[_0x1b14d2(0x2bb)](_0x5dac36=>{const _0x282a87=_0x1b14d2;delete _0x241a29[_0x282a87(0x1f5)][_0x5dac36];}),_0x241a29[_0x1b14d2(0x1f5)][_0x44a577['rangeId']]=_0x2286fa[_0x1b14d2(0x316)]['deepClone'](_0x44a577[_0x1b14d2(0x1d4)]),{'nextDocumentData':_0x49dc54,'nextResource':_0x241a29,'cursorOffset':_0x34c713+0x1};}function _0x5b863c(_0x3a764e){const _0x2e0d9f=_0x2ae91e;var _0x52f373,_0x3565cf;let _0xfd5205=_0x2286fa[_0x2e0d9f(0x316)][_0x2e0d9f(0x2a7)](_0x3a764e[_0x2e0d9f(0x213)]),_0x5dcf5b=(_0x52f373=_0x2026c4(_0xfd5205)[_0x2e0d9f(0x2e4)])==null?void 0x0:_0x52f373[_0x2e0d9f(0x25f)](_0x2bb926=>_0x2bb926[_0x2e0d9f(0x1ee)]===_0x3a764e['rangeId']&&_0x5b47a7(_0x2bb926));if(!_0x5dcf5b||!((_0x3565cf=_0x3a764e['resource'])!=null&&_0x3565cf['formulas'][_0x3a764e[_0x2e0d9f(0x1ee)]]))return null;let _0xe1f1c1=_0x39d9e8(_0x3a764e[_0x2e0d9f(0x236)]);return _0xe1f1c1['formulas'][_0x3a764e['rangeId']]=_0x2286fa[_0x2e0d9f(0x316)][_0x2e0d9f(0x2a7)](_0x3a764e['config']),{'nextDocumentData':_0xfd5205,'nextResource':_0xe1f1c1,'cursorOffset':_0x5dcf5b[_0x2e0d9f(0x2b2)]+0x1};}function _0x26f8d9(_0x1cf11a){const _0x4f83bc=_0x2ae91e;let _0x5ce052=_0x2286fa[_0x4f83bc(0x316)][_0x4f83bc(0x2a7)](_0x1cf11a[_0x4f83bc(0x213)]),_0x56b247=_0x5ac4b9(_0x5ce052,_0x1cf11a[_0x4f83bc(0x1ee)],_0x1cf11a['text']??'');if(_0x56b247==null)return null;let _0x464bc0=_0x39d9e8(_0x1cf11a[_0x4f83bc(0x236)]);return delete _0x464bc0[_0x4f83bc(0x1f5)][_0x1cf11a[_0x4f83bc(0x1ee)]],{'nextDocumentData':_0x5ce052,'nextResource':_0x464bc0,'cursorOffset':_0x56b247};}function _0x599857(_0x245360,_0x2d5f69){const _0x40d4bd=_0x2ae91e;var _0x1fd14a;let _0x3e8d20=_0x2286fa[_0x40d4bd(0x316)]['deepClone'](_0x245360),_0x357548=_0x3e8d20[_0x40d4bd(0x27f)];if(!_0x357548)return _0x3e8d20;let _0x2d7aee=new Map(_0x2d5f69[_0x40d4bd(0x30e)](_0x112bbf=>[_0x112bbf[_0x40d4bd(0x1ee)],_0x112bbf[_0x40d4bd(0x309)]])),_0x35992b=((_0x1fd14a=_0x357548['customRanges'])==null?void 0x0:_0x1fd14a[_0x40d4bd(0x1ec)](_0x322b42=>_0x5b47a7(_0x322b42)&&_0x2d7aee['has'](_0x322b42[_0x40d4bd(0x1ee)]))[_0x40d4bd(0x2c1)]((_0x51ea1f,_0x4deb15)=>_0x4deb15['startIndex']-_0x51ea1f[_0x40d4bd(0x248)]))??[];for(let _0x25ceb0 of _0x35992b)_0x5ac4b9(_0x3e8d20,_0x25ceb0[_0x40d4bd(0x1ee)],_0x2d7aee[_0x40d4bd(0x22c)](_0x25ceb0[_0x40d4bd(0x1ee)])??'');return _0x3e8d20;}function _0x5b47a7(_0x550a70){const _0x309767=_0x2ae91e;var _0x2f8f81;return(_0x550a70==null?void 0x0:_0x550a70[_0x309767(0x2a4)])===_0x2286fa[_0x309767(0x22a)]['CUSTOM']&&_0x550a70[_0x309767(0x2fa)]===!0x0&&((_0x2f8f81=_0x550a70[_0x309767(0x23d)])==null?void 0x0:_0x2f8f81[_0x309767(0x214)])===_0x309767(0x2d7);}function _0x38a9f3(_0x3115e7,_0x55e932){const _0x226454=_0x2ae91e;var _0x2e3b35;return _0x3115e7==null||(_0x2e3b35=_0x3115e7[_0x226454(0x2e4)])==null?void 0x0:_0x2e3b35[_0x226454(0x25f)](_0x53159a=>_0x53159a[_0x226454(0x1ee)]===_0x55e932&&_0x5b47a7(_0x53159a));}function _0x11f22b(_0x446304,_0x34cfb3,_0xe96f62){const _0x2bdd36=_0x2ae91e;if(_0x34cfb3===_0xe96f62){if(_0x4b98ae[_0x2bdd36(0x1f7)](_0x446304['dataStream'][_0x34cfb3]))throw new _0x3e04ef();}else{for(let _0x375d5a=_0x34cfb3;_0x375d5a<_0xe96f62;_0x375d5a++)if(_0x446304[_0x2bdd36(0x2a1)][_0x375d5a]===_0x2286fa[_0x2bdd36(0x2ed)][_0x2bdd36(0x29d)]||_0x4b98ae[_0x2bdd36(0x1f7)](_0x446304[_0x2bdd36(0x2a1)][_0x375d5a]))throw new _0x3e04ef();}}function _0x1528f7(_0xb929b8,_0x1e3188){const _0x2ef2b0=_0x2ae91e;return{'startIndex':_0x1e3188,'endIndex':_0x1e3188,'rangeId':_0xb929b8,'rangeType':_0x2286fa[_0x2ef2b0(0x22a)]['CUSTOM'],'wholeEntity':!0x0,'properties':{'kind':_0x578adb}};}function _0x39d9e8(_0xf1b999){const _0x4f064b=_0x2ae91e;return _0xf1b999?_0x2286fa[_0x4f064b(0x316)]['deepClone'](_0xf1b999):_0x4ecf65();}function _0x1dd191(_0x522b51,_0x2de7b4,_0x2fc146){const _0x355be5=_0x2ae91e;let _0x5ea40d=_0x17fd98(_0x522b51),_0x1f1471=_0x2de7b4??_0x5ea40d,_0x531504=_0x2fc146??_0x1f1471;return{'startOffset':_0x3672de(Math[_0x355be5(0x2b0)](_0x1f1471,_0x531504),_0x5ea40d),'endOffset':_0x3672de(Math[_0x355be5(0x1dc)](_0x1f1471,_0x531504),_0x5ea40d)};}function _0x3672de(_0x3fffbc,_0x37a2fb){const _0x456750=_0x2ae91e;return Math['max'](0x0,Math[_0x456750(0x2b0)](_0x3fffbc,_0x37a2fb));}function _0x17fd98(_0x2ab485){const _0x5d6d4c=_0x2ae91e;return _0x2ab485[_0x5d6d4c(0x2a1)][_0x5d6d4c(0x310)](''+_0x2286fa['DataStreamTreeTokenType'][_0x5d6d4c(0x29d)]+_0x2286fa[_0x5d6d4c(0x2ed)]['SECTION_BREAK'])?Math['max'](0x0,_0x2ab485[_0x5d6d4c(0x2a1)][_0x5d6d4c(0x208)]-0x2):_0x2ab485['dataStream'][_0x5d6d4c(0x310)](_0x2286fa[_0x5d6d4c(0x2ed)][_0x5d6d4c(0x292)])?Math[_0x5d6d4c(0x1dc)](0x0,_0x2ab485[_0x5d6d4c(0x2a1)][_0x5d6d4c(0x208)]-0x1):_0x2ab485[_0x5d6d4c(0x2a1)][_0x5d6d4c(0x208)];}function _0x5e3e01(_0x55213c,_0x223ee8,_0x1caba9,_0x10fa9f){_0x1caba9>_0x223ee8&&_0x1610f1(_0x55213c,_0x223ee8,_0x1caba9),_0x538439(_0x55213c,_0x223ee8,_0x10fa9f);}function _0x5ac4b9(_0x154c53,_0x3107df,_0x5682a0){const _0x12dac5=_0x2ae91e;var _0x52e559,_0x5a490b;let _0x180994=_0x2026c4(_0x154c53),_0x1a0376=(_0x52e559=_0x180994[_0x12dac5(0x2e4)])==null?void 0x0:_0x52e559[_0x12dac5(0x25f)](_0x31fa93=>_0x31fa93[_0x12dac5(0x1ee)]===_0x3107df&&_0x5b47a7(_0x31fa93));if(!_0x1a0376)return null;let _0x3def42=(0x0,_0x2286fa[_0x12dac5(0x1f8)])(_0x1a0376);return _0x5e3e01(_0x180994,_0x3def42['startOffset'],_0x3def42['endOffset'],_0x5682a0),_0x180994[_0x12dac5(0x2e4)]=(_0x5a490b=_0x180994['customRanges'])==null?void 0x0:_0x5a490b[_0x12dac5(0x1ec)](_0x14b98b=>_0x14b98b[_0x12dac5(0x1ee)]!==_0x3107df),_0x3def42[_0x12dac5(0x297)]+_0x5682a0[_0x12dac5(0x208)];}function _0x538439(_0x48ea47,_0x4074d2,_0x5b8b6d){const _0x10eabc=_0x2ae91e;_0x5b8b6d&&(_0x48ea47['dataStream']=''+_0x48ea47['dataStream'][_0x10eabc(0x1d1)](0x0,_0x4074d2)+_0x5b8b6d+_0x48ea47[_0x10eabc(0x2a1)][_0x10eabc(0x1d1)](_0x4074d2),_0x3296ba(_0x48ea47,_0x4074d2,_0x5b8b6d[_0x10eabc(0x208)]));}function _0x1610f1(_0x54bc35,_0x598b3b,_0x37ad0c){const _0x745cf3=_0x2ae91e;let _0x4da999=_0x37ad0c-_0x598b3b;_0x54bc35[_0x745cf3(0x2a1)]=''+_0x54bc35[_0x745cf3(0x2a1)][_0x745cf3(0x1d1)](0x0,_0x598b3b)+_0x54bc35[_0x745cf3(0x2a1)][_0x745cf3(0x1d1)](_0x37ad0c),_0x4ea10d(_0x54bc35,_0x598b3b,_0x4da999);}function _0x3296ba(_0x55874f,_0x3c9566,_0x474c33){const _0x3e5980=_0x2ae91e;_0x55874f[_0x3e5980(0x2e5)]=_0x1bf92d(_0x55874f['paragraphs'],_0x3c9566,_0x474c33),_0x55874f['sectionBreaks']=_0x1bf92d(_0x55874f[_0x3e5980(0x23a)],_0x3c9566,_0x474c33),_0x55874f['customBlocks']=_0x1bf92d(_0x55874f[_0x3e5980(0x2f3)],_0x3c9566,_0x474c33),_0x55874f[_0x3e5980(0x294)]=_0x25f1f4(_0x55874f[_0x3e5980(0x294)],_0x3c9566,_0x474c33),_0x55874f[_0x3e5980(0x25c)]=_0x1b78db(_0x55874f[_0x3e5980(0x25c)],_0x3c9566,_0x474c33),_0x55874f['columnGroups']=_0x1dccf6(_0x55874f[_0x3e5980(0x250)],_0x3c9566,_0x474c33),_0x55874f[_0x3e5980(0x2e4)]=_0x1dccf6(_0x55874f[_0x3e5980(0x2e4)],_0x3c9566,_0x474c33),_0x55874f[_0x3e5980(0x2db)]=_0x1dccf6(_0x55874f['customDecorations'],_0x3c9566,_0x474c33),_0x55874f['blockRanges']=_0x1dccf6(_0x55874f[_0x3e5980(0x241)],_0x3c9566,_0x474c33);}function _0x4ea10d(_0x4befc2,_0x38589c,_0x550fd3){const _0x47c4e6=_0x2ae91e;var _0x18c8c4,_0x48a8ad;_0x4befc2[_0x47c4e6(0x2e5)]=_0x574c96(_0x4befc2[_0x47c4e6(0x2e5)],_0x38589c,_0x550fd3),_0x4befc2[_0x47c4e6(0x23a)]=_0x574c96(_0x4befc2[_0x47c4e6(0x23a)],_0x38589c,_0x550fd3),_0x4befc2[_0x47c4e6(0x2f3)]=_0x574c96(_0x4befc2[_0x47c4e6(0x2f3)],_0x38589c,_0x550fd3),_0x4befc2[_0x47c4e6(0x294)]=(_0x18c8c4=_0xbd3aaf((_0x48a8ad=_0x4befc2[_0x47c4e6(0x294)])==null?void 0x0:_0x48a8ad['map'](_0x1d27a3=>({..._0x1d27a3,'startIndex':_0x1d27a3['st'],'endIndex':_0x1d27a3['ed']})),_0x38589c,_0x550fd3))==null?void 0x0:_0x18c8c4[_0x47c4e6(0x30e)](_0xd75349=>{let {startIndex:_0x152cc8,endIndex:_0x27241c,..._0x6723b6}=_0xd75349;return{..._0x6723b6,'st':_0x152cc8,'ed':_0x27241c};}),_0x4befc2[_0x47c4e6(0x25c)]=_0xbd3aaf(_0x4befc2[_0x47c4e6(0x25c)],_0x38589c,_0x550fd3),_0x4befc2[_0x47c4e6(0x250)]=_0x103463(_0x4befc2[_0x47c4e6(0x250)],_0x38589c,_0x550fd3),_0x4befc2['customRanges']=_0x103463(_0x4befc2[_0x47c4e6(0x2e4)],_0x38589c,_0x550fd3),_0x4befc2[_0x47c4e6(0x2db)]=_0x103463(_0x4befc2['customDecorations'],_0x38589c,_0x550fd3),_0x4befc2[_0x47c4e6(0x241)]=_0x103463(_0x4befc2['blockRanges'],_0x38589c,_0x550fd3);}function _0x1bf92d(_0x2ce8a6,_0x43b2c8,_0x25262c){const _0x4e5c31=_0x2ae91e;return _0x2ce8a6==null?void 0x0:_0x2ce8a6[_0x4e5c31(0x30e)](_0x24a688=>_0x24a688[_0x4e5c31(0x248)]>=_0x43b2c8?{..._0x24a688,'startIndex':_0x24a688['startIndex']+_0x25262c}:_0x24a688);}function _0x574c96(_0x5dae7b,_0x2dc400,_0x10b077){const _0x40a171=_0x2ae91e;let _0x280537=_0x2dc400+_0x10b077;return _0x5dae7b==null?void 0x0:_0x5dae7b[_0x40a171(0x30e)](_0x32e026=>_0x32e026['startIndex']>=_0x2dc400&&_0x32e026[_0x40a171(0x248)]<_0x280537?null:_0x32e026[_0x40a171(0x248)]>=_0x280537?{..._0x32e026,'startIndex':_0x32e026[_0x40a171(0x248)]-_0x10b077}:_0x32e026)[_0x40a171(0x1ec)](_0x25865c=>_0x25865c!=null);}function _0x25f1f4(_0x4a7a4a,_0x40af00,_0x569281){const _0x9c5fbd=_0x2ae91e;return _0x4a7a4a==null?void 0x0:_0x4a7a4a[_0x9c5fbd(0x30e)](_0x5eea2d=>_0x5eea2d['st']>=_0x40af00?{..._0x5eea2d,'st':_0x5eea2d['st']+_0x569281,'ed':_0x5eea2d['ed']+_0x569281}:_0x5eea2d['ed']>_0x40af00?{..._0x5eea2d,'ed':_0x5eea2d['ed']+_0x569281}:_0x5eea2d);}function _0x1dccf6(_0x4fb357,_0x27b87,_0x29703a){const _0x43d7e8=_0x2ae91e;return _0x4fb357==null?void 0x0:_0x4fb357[_0x43d7e8(0x30e)](_0x2368d4=>(0x0,_0x2286fa[_0x43d7e8(0x272)])(_0x2368d4,_0x27b87,_0x29703a));}function _0x1b78db(_0x282f37,_0x4ce1a8,_0x3e9e8f){const _0x17d915=_0x2ae91e;return _0x282f37==null?void 0x0:_0x282f37[_0x17d915(0x30e)](_0x53fe2a=>(0x0,_0x2286fa[_0x17d915(0x1e0)])(_0x53fe2a,_0x4ce1a8,_0x3e9e8f));}function _0x103463(_0x24a789,_0x29fede,_0x309597){const _0x56c5d7=_0x2ae91e;return _0x24a789==null?void 0x0:_0x24a789[_0x56c5d7(0x30e)](_0x19b7a9=>(0x0,_0x2286fa[_0x56c5d7(0x21a)])(_0x19b7a9,_0x29fede,_0x309597))['filter'](_0x2e7030=>_0x2e7030!=null);}function _0xbd3aaf(_0xbd4f62,_0x131f4d,_0x4f911f){const _0x45da15=_0x2ae91e;return _0xbd4f62==null?void 0x0:_0xbd4f62['map'](_0x4a7c48=>(0x0,_0x2286fa['shiftExclusiveRangeOnDelete'])(_0x4a7c48,_0x131f4d,_0x4f911f))[_0x45da15(0x1ec)](_0x5276d7=>_0x5276d7!=null);}function _0x2026c4(_0x3249bc){const _0x363de0=_0x2ae91e;if(!_0x3249bc['body'])throw Error('Document\x20main\x20body\x20is\x20required\x20to\x20insert\x20Doc\x20Formula.');return _0x3249bc[_0x363de0(0x27f)];}function _0x4172d8(_0x3ca415){'@babel/helpers - typeof';const _0x57ace4=_0x2ae91e;return _0x4172d8=typeof Symbol==_0x57ace4(0x1df)&&typeof Symbol[_0x57ace4(0x2f8)]=='symbol'?function(_0x375f69){return typeof _0x375f69;}:function(_0x1d2a3b){const _0x4b465d=_0x57ace4;return _0x1d2a3b&&typeof Symbol==_0x4b465d(0x1df)&&_0x1d2a3b[_0x4b465d(0x207)]===Symbol&&_0x1d2a3b!==Symbol[_0x4b465d(0x2ac)]?'symbol':typeof _0x1d2a3b;},_0x4172d8(_0x3ca415);}function _0x5a487a(_0x5842cf,_0x4d7f01){const _0x552fc5=_0x2ae91e;if(_0x4172d8(_0x5842cf)!=_0x552fc5(0x305)||!_0x5842cf)return _0x5842cf;var _0x4da9d0=_0x5842cf[Symbol[_0x552fc5(0x289)]];if(_0x4da9d0!==void 0x0){var _0x5c38ce=_0x4da9d0['call'](_0x5842cf,_0x4d7f01||'default');if(_0x4172d8(_0x5c38ce)!=_0x552fc5(0x305))return _0x5c38ce;throw TypeError(_0x552fc5(0x285));}return(_0x4d7f01==='string'?String:Number)(_0x5842cf);}function _0x3498ea(_0x488812){const _0x46fc3e=_0x2ae91e;var _0x553424=_0x5a487a(_0x488812,_0x46fc3e(0x2fd));return _0x4172d8(_0x553424)==_0x46fc3e(0x2cd)?_0x553424:_0x553424+'';}function _0x5488d1(_0xda3cb0,_0x1d0903,_0x560724){return(_0x1d0903=_0x3498ea(_0x1d0903))in _0xda3cb0?Object['defineProperty'](_0xda3cb0,_0x1d0903,{'value':_0x560724,'enumerable':!0x0,'configurable':!0x0,'writable':!0x0}):_0xda3cb0[_0x1d0903]=_0x560724,_0xda3cb0;}var _0x19c8f5=class extends _0x2286fa[_0x2ae91e(0x2c6)]{constructor(..._0x51a817){const _0x3f72c1=_0x2ae91e;super(..._0x51a817),_0x5488d1(this,'_resources',new Map()),_0x5488d1(this,_0x3f72c1(0x28d),new Map()),_0x5488d1(this,_0x3f72c1(0x1d5),new Map()),_0x5488d1(this,_0x3f72c1(0x26c),new _0x5339e7['Subject']()),_0x5488d1(this,_0x3f72c1(0x2d3),this[_0x3f72c1(0x26c)]['asObservable']());}['getFormula'](_0x5b71c0,_0x1ad96c){const _0x1498b9=_0x2ae91e;var _0x4dbd48;let _0x5d4eb4=(_0x4dbd48=this[_0x1498b9(0x30f)]['get'](_0x5b71c0))==null?void 0x0:_0x4dbd48[_0x1498b9(0x1f5)][_0x1ad96c];return _0x5d4eb4?_0x2286fa[_0x1498b9(0x316)][_0x1498b9(0x2a7)](_0x5d4eb4):void 0x0;}[_0x2ae91e(0x2df)](_0x17f9df){const _0x13ae55=_0x2ae91e;var _0x2ba08d;return _0x2286fa[_0x13ae55(0x316)][_0x13ae55(0x2a7)](((_0x2ba08d=this[_0x13ae55(0x30f)][_0x13ae55(0x22c)](_0x17f9df))==null?void 0x0:_0x2ba08d['formulas'])??{});}[_0x2ae91e(0x21f)](_0xca187a){const _0x51800c=_0x2ae91e;let _0x45f59d=this[_0x51800c(0x30f)][_0x51800c(0x22c)](_0xca187a);return _0x45f59d?_0x2286fa[_0x51800c(0x316)][_0x51800c(0x2a7)](_0x45f59d):void 0x0;}[_0x2ae91e(0x293)](_0x16144b,_0x888f66,_0x22fac5){const _0x661a11=_0x2ae91e;return this[_0x661a11(0x231)](_0x16144b,{[_0x888f66]:_0x22fac5});}[_0x2ae91e(0x30d)](_0x39d81f,_0x307209){const _0x3c4a63=_0x2ae91e;return this[_0x3c4a63(0x1d5)][_0x3c4a63(0x1f7)](_0x39d81f)||!_0x1a0bf1(_0x307209)?!0x1:(this[_0x3c4a63(0x30f)][_0x3c4a63(0x283)](_0x39d81f,_0x2286fa[_0x3c4a63(0x316)][_0x3c4a63(0x2a7)](_0x307209)),this[_0x3c4a63(0x26c)]['next']({'unitId':_0x39d81f}),!0x0);}[_0x2ae91e(0x231)](_0x393899,_0x3fd91a){const _0x2311ca=_0x2ae91e;if(this[_0x2311ca(0x1d5)][_0x2311ca(0x1f7)](_0x393899)||!Object[_0x2311ca(0x1e2)](_0x3fd91a)[_0x2311ca(0x208)]||!_0x1a0bf1({'schemaVersion':0x1,'formulas':_0x3fd91a}))return!0x1;let _0x4e2ea3=this[_0x2311ca(0x30f)][_0x2311ca(0x22c)](_0x393899)??_0x4ecf65(),_0x54be5f=_0x2286fa[_0x2311ca(0x316)][_0x2311ca(0x2a7)](_0x4e2ea3);return Object[_0x2311ca(0x2b5)](_0x54be5f[_0x2311ca(0x1f5)],_0x2286fa[_0x2311ca(0x316)][_0x2311ca(0x2a7)](_0x3fd91a)),this[_0x2311ca(0x30f)][_0x2311ca(0x283)](_0x393899,_0x54be5f),this[_0x2311ca(0x26c)][_0x2311ca(0x1eb)]({'unitId':_0x393899,'rangeIds':Object[_0x2311ca(0x1e2)](_0x3fd91a)}),!0x0;}['removeFormula'](_0x58914c,_0x203ccf){const _0x4d7104=_0x2ae91e;if(this[_0x4d7104(0x1d5)][_0x4d7104(0x1f7)](_0x58914c))return!0x1;let _0x16f924=this['_resources'][_0x4d7104(0x22c)](_0x58914c);if(!(_0x16f924!=null&&_0x16f924['formulas'][_0x203ccf]))return!0x1;let _0x605f9e=_0x2286fa[_0x4d7104(0x316)][_0x4d7104(0x2a7)](_0x16f924);return delete _0x605f9e['formulas'][_0x203ccf],this[_0x4d7104(0x30f)][_0x4d7104(0x283)](_0x58914c,_0x605f9e),this['_change$'][_0x4d7104(0x1eb)]({'unitId':_0x58914c,'rangeIds':[_0x203ccf]}),!0x0;}[_0x2ae91e(0x27a)](_0x4486fc,_0x17b728){const _0x20798f=_0x2ae91e;return _0x17b728&&typeof _0x17b728=='object'&&_0x20798f(0x240)in _0x17b728&&_0x17b728['schemaVersion']!==0x1?(this['_preserveInvalid'](_0x4486fc,_0x17b728,_0x20798f(0x2e1)),!0x1):_0x1a0bf1(_0x17b728)?(this[_0x20798f(0x30f)]['set'](_0x4486fc,_0x2286fa[_0x20798f(0x316)][_0x20798f(0x2a7)](_0x17b728)),this[_0x20798f(0x28d)][_0x20798f(0x205)](_0x4486fc),this[_0x20798f(0x1d5)]['delete'](_0x4486fc),this[_0x20798f(0x26c)][_0x20798f(0x1eb)]({'unitId':_0x4486fc}),!0x0):(this[_0x20798f(0x267)](_0x4486fc,_0x17b728,_0x20798f(0x21e)),!0x1);}[_0x2ae91e(0x222)](_0x2996e8){const _0x169bce=_0x2ae91e;let _0x3d6f6d=this['_resources'][_0x169bce(0x22c)](_0x2996e8);return _0x3d6f6d?_0x2286fa[_0x169bce(0x316)]['deepClone'](_0x3d6f6d):this[_0x169bce(0x28d)][_0x169bce(0x1f7)](_0x2996e8)?_0x2286fa[_0x169bce(0x316)][_0x169bce(0x2a7)](this['_rawResources'][_0x169bce(0x22c)](_0x2996e8)):_0x4ecf65();}['getLoadError'](_0x27f81c){const _0x34c41b=_0x2ae91e;return this['_loadErrors'][_0x34c41b(0x22c)](_0x27f81c);}['removeUnit'](_0xd0d703){const _0x1e6dc1=_0x2ae91e;this['_resources'][_0x1e6dc1(0x205)](_0xd0d703),this['_rawResources'][_0x1e6dc1(0x205)](_0xd0d703),this[_0x1e6dc1(0x1d5)][_0x1e6dc1(0x205)](_0xd0d703),this[_0x1e6dc1(0x26c)][_0x1e6dc1(0x1eb)]({'unitId':_0xd0d703});}['dispose'](){const _0x5197f1=_0x2ae91e;this[_0x5197f1(0x30f)]['clear'](),this[_0x5197f1(0x28d)]['clear'](),this[_0x5197f1(0x1d5)][_0x5197f1(0x314)](),this[_0x5197f1(0x26c)][_0x5197f1(0x319)](),super[_0x5197f1(0x249)]();}[_0x2ae91e(0x267)](_0xe09e6f,_0x3ca6a0,_0x48e397){const _0x5a0965=_0x2ae91e;this[_0x5a0965(0x30f)][_0x5a0965(0x205)](_0xe09e6f),this[_0x5a0965(0x28d)]['set'](_0xe09e6f,_0x2286fa[_0x5a0965(0x316)][_0x5a0965(0x2a7)](_0x3ca6a0)),this[_0x5a0965(0x1d5)][_0x5a0965(0x283)](_0xe09e6f,_0x48e397),this['_change$'][_0x5a0965(0x1eb)]({'unitId':_0xe09e6f});}};let _0x5d9bf9=function(_0x2cd9f6){const _0x3b9c1f=_0x2ae91e;return _0x2cd9f6['EMPTY']=_0x3b9c1f(0x311),_0x2cd9f6[_0x3b9c1f(0x210)]=_0x3b9c1f(0x2c4),_0x2cd9f6[_0x3b9c1f(0x2c3)]=_0x3b9c1f(0x1fe),_0x2cd9f6[_0x3b9c1f(0x2e7)]='error',_0x2cd9f6;}({});function _0x551aa1(_0xb23989,_0x492ad7){return function(_0x2dd90d,_0x13fb19){_0x492ad7(_0x2dd90d,_0x13fb19,_0xb23989);};}function _0x401e7a(_0x33105a,_0x397d29,_0x481727,_0x13fa7b){const _0x4d17c6=_0x2ae91e;var _0x29c5ea=arguments[_0x4d17c6(0x208)],_0x2b24c1=_0x29c5ea<0x3?_0x397d29:_0x13fa7b===null?_0x13fa7b=Object[_0x4d17c6(0x1f9)](_0x397d29,_0x481727):_0x13fa7b,_0x268df5;if(typeof Reflect==_0x4d17c6(0x305)&&typeof Reflect['decorate']==_0x4d17c6(0x1df))_0x2b24c1=Reflect[_0x4d17c6(0x259)](_0x33105a,_0x397d29,_0x481727,_0x13fa7b);else{for(var _0x1a2083=_0x33105a[_0x4d17c6(0x208)]-0x1;_0x1a2083>=0x0;_0x1a2083--)(_0x268df5=_0x33105a[_0x1a2083])&&(_0x2b24c1=(_0x29c5ea<0x3?_0x268df5(_0x2b24c1):_0x29c5ea>0x3?_0x268df5(_0x397d29,_0x481727,_0x2b24c1):_0x268df5(_0x397d29,_0x481727))||_0x2b24c1);}return _0x29c5ea>0x3&&_0x2b24c1&&Object[_0x4d17c6(0x223)](_0x397d29,_0x481727,_0x2b24c1),_0x2b24c1;}let _0x293256=class extends _0x2286fa['Disposable']{constructor(_0x4af057,_0xb6ba8f,_0x284d41){const _0x2e7808=_0x2ae91e;super(),this[_0x2e7808(0x224)]=_0x4af057,this[_0x2e7808(0x20b)]=_0xb6ba8f,this[_0x2e7808(0x266)]=_0x284d41,_0x5488d1(this,_0x2e7808(0x278),new Map()),_0x5488d1(this,'_formulaKeys',new Map()),_0x5488d1(this,_0x2e7808(0x260),new _0x5339e7[(_0x2e7808(0x202))]()),_0x5488d1(this,_0x2e7808(0x20c),this[_0x2e7808(0x260)][_0x2e7808(0x2de)]()),this['disposeWithMe'](this[_0x2e7808(0x20b)][_0x2e7808(0x300)][_0x2e7808(0x265)](_0x4f072c=>{const _0xfba354=_0x2e7808;for(let _0x193ccc of Object[_0xfba354(0x2d1)](_0x4f072c))for(let _0x4d1f8b of Object[_0xfba354(0x2d1)](_0x193ccc))_0x4d1f8b[_0xfba354(0x2bb)](_0x28a09f=>this['_updateFormulaResult'](_0x28a09f));}));}[_0x2ae91e(0x2ad)](_0x3e671f){const _0x5a6500=_0x2ae91e;var _0x3b1b9e;let _0x25e0b0=_0x3e671f['getUnitId'](),_0x3ab6ba=((_0x3b1b9e=_0x3e671f[_0x5a6500(0x279)]()[_0x5a6500(0x27f)])==null||(_0x3b1b9e=_0x3b1b9e['customRanges'])==null?void 0x0:_0x3b1b9e[_0x5a6500(0x1ec)](_0x5b47a7))??[],_0x710e6c=this[_0x5a6500(0x224)][_0x5a6500(0x2df)](_0x25e0b0),_0x2309fe=new Set();for(let _0x47e3b7 of _0x3ab6ba){let _0x4cfa4b=_0x710e6c[_0x47e3b7[_0x5a6500(0x1ee)]];_0x4cfa4b&&(_0x2309fe['add'](_0x4aad59(_0x25e0b0,_0x47e3b7[_0x5a6500(0x1ee)])),this['register']({'unitId':_0x25e0b0,'rangeId':_0x47e3b7['rangeId']},_0x4cfa4b));}for(let _0x575c31 of Array[_0x5a6500(0x276)](this[_0x5a6500(0x278)][_0x5a6500(0x2d1)]()))_0x575c31[_0x5a6500(0x220)]===_0x25e0b0&&!_0x2309fe[_0x5a6500(0x1f7)](_0x4aad59(_0x575c31[_0x5a6500(0x220)],_0x575c31[_0x5a6500(0x1ee)]))&&this[_0x5a6500(0x239)](_0x575c31);}['register'](_0x2ecc92,_0x1ae17c){const _0x48cc11=_0x2ae91e;let _0x313270=_0x4aad59(_0x2ecc92['unitId'],_0x2ecc92[_0x48cc11(0x1ee)]),_0x276936=this[_0x48cc11(0x278)][_0x48cc11(0x22c)](_0x313270),_0x5e31f9=this[_0x48cc11(0x266)][_0x48cc11(0x243)](_0x2ecc92[_0x48cc11(0x220)]);if(_0x276936&&_0x276936['config'][_0x48cc11(0x2ae)]===_0x1ae17c[_0x48cc11(0x2ae)]&&_0x276936[_0x48cc11(0x1f4)]===_0x5e31f9){_0x276936[_0x48cc11(0x1d4)]=_0x1ae17c;let _0x50d20c=_0x276936[_0x48cc11(0x28a)]?this[_0x48cc11(0x20b)]['getFormulaValueSync'](_0x276936[_0x48cc11(0x220)],_0x276936[_0x48cc11(0x220)],_0x276936[_0x48cc11(0x28a)])??void 0x0:void 0x0;_0x276936['liveResult']=_0x50d20c,this['_setPresentation'](_0x313270,_0x1dd3c3(_0x1ae17c,_0x50d20c));return;}_0x276936!=null&&_0x276936['formulaId']&&this['_deleteRegistration'](_0x276936);let _0x36de08={..._0x2ecc92,'config':_0x1ae17c,'referenceRevision':_0x5e31f9,'presentation':_0x1dd3c3(_0x1ae17c,void 0x0)};if(this['_registrations'][_0x48cc11(0x283)](_0x313270,_0x36de08),!_0x1ae17c[_0x48cc11(0x2ae)]['trim']())return;let _0x8e2e00=this['_registrationService']['registerFormulaWithRange'](_0x2ecc92[_0x48cc11(0x220)],_0x2ecc92[_0x48cc11(0x220)],_0x1ae17c['formula'],void 0x0,{'rangeId':_0x2ecc92[_0x48cc11(0x1ee)]},_0x371fd5[_0x48cc11(0x1ff)][_0x48cc11(0x2c5)],_0x2ecc92[_0x48cc11(0x1ee)]);_0x36de08[_0x48cc11(0x28a)]=_0x8e2e00,this['_formulaKeys'][_0x48cc11(0x283)](_0x8e2e00,_0x313270);}[_0x2ae91e(0x239)](_0x40773e){const _0x365581=_0x2ae91e;let _0xfe806f=_0x4aad59(_0x40773e[_0x365581(0x220)],_0x40773e[_0x365581(0x1ee)]),_0x114f6f=this[_0x365581(0x278)][_0x365581(0x22c)](_0xfe806f);_0x114f6f&&(this[_0x365581(0x263)](_0x114f6f),this['_registrations'][_0x365581(0x205)](_0xfe806f));}[_0x2ae91e(0x2ce)](_0x46b882){const _0x45fecb=_0x2ae91e;for(let _0x3ab4b2 of Array[_0x45fecb(0x276)](this['_registrations']['values']()))_0x3ab4b2[_0x45fecb(0x220)]===_0x46b882&&this[_0x45fecb(0x239)](_0x3ab4b2);}[_0x2ae91e(0x2c2)](_0x1232ec){const _0x30e9af=_0x2ae91e;var _0x549c5a;return(_0x549c5a=this[_0x30e9af(0x278)][_0x30e9af(0x22c)](_0x4aad59(_0x1232ec[_0x30e9af(0x220)],_0x1232ec[_0x30e9af(0x1ee)])))==null?void 0x0:_0x549c5a[_0x30e9af(0x2a0)];}['getResult'](_0x5d28ce){const _0xfc8222=_0x2ae91e;let _0x3eb2c6=this[_0xfc8222(0x278)][_0xfc8222(0x22c)](_0x4aad59(_0x5d28ce['unitId'],_0x5d28ce[_0xfc8222(0x1ee)]));return _0x3eb2c6?_0x224960(_0x3eb2c6):void 0x0;}[_0x2ae91e(0x25e)](){const _0xcf689b=_0x2ae91e;return Array[_0xcf689b(0x276)](this[_0xcf689b(0x278)]['values'](),_0x135bdf=>({'identity':{'unitId':_0x135bdf[_0xcf689b(0x220)],'rangeId':_0x135bdf[_0xcf689b(0x1ee)]},'config':_0x135bdf[_0xcf689b(0x1d4)],'referenceRevision':_0x135bdf[_0xcf689b(0x1f4)],..._0x135bdf[_0xcf689b(0x312)]?{'liveResult':_0x135bdf[_0xcf689b(0x312)]}:null}));}[_0x2ae91e(0x249)](){const _0x1c790f=_0x2ae91e;for(let _0x618444 of this[_0x1c790f(0x278)][_0x1c790f(0x2d1)]())this['_deleteRegistration'](_0x618444);this[_0x1c790f(0x278)]['clear'](),this[_0x1c790f(0x1e1)][_0x1c790f(0x314)](),this['_presentationChanged$']['complete'](),super[_0x1c790f(0x249)]();}[_0x2ae91e(0x313)](_0x1ea5a8){const _0x20cb48=_0x2ae91e;let _0x109e42=this[_0x20cb48(0x1e1)][_0x20cb48(0x22c)](_0x1ea5a8['formulaId']),_0x2c8c94=_0x109e42?this[_0x20cb48(0x278)][_0x20cb48(0x22c)](_0x109e42):void 0x0;_0x109e42&&_0x2c8c94&&(_0x2c8c94[_0x20cb48(0x312)]=_0x1ea5a8,this[_0x20cb48(0x23f)](_0x109e42,_0x1dd3c3(_0x2c8c94['config'],_0x1ea5a8)));}['_setPresentation'](_0x1c710c,_0x1bbfbc){const _0x1cdd0b=_0x2ae91e;var _0x350daf,_0x2986d3;let _0x216ff6=this[_0x1cdd0b(0x278)][_0x1cdd0b(0x22c)](_0x1c710c);if(!_0x216ff6||_0x447d1e(_0x216ff6[_0x1cdd0b(0x2a0)],_0x1bbfbc))return;let _0x352f84=_0x216ff6[_0x1cdd0b(0x2a0)],_0x3bda94=_0x224960(_0x216ff6);_0x216ff6[_0x1cdd0b(0x2a0)]=_0x1bbfbc,this['_presentationChanged$']['next']({'unitId':_0x216ff6[_0x1cdd0b(0x220)],'rangeId':_0x216ff6['rangeId'],'presentation':_0x1bbfbc,'previousPresentation':_0x352f84,'result':_0x224960(_0x216ff6),'previousResult':{..._0x3bda94,..._0x352f84,'value':(_0x350daf=_0x352f84[_0x1cdd0b(0x1d3)])==null?void 0x0:_0x350daf['v'],'valueType':((_0x2986d3=_0x352f84[_0x1cdd0b(0x1d3)])==null?void 0x0:_0x2986d3['t'])??void 0x0}});}[_0x2ae91e(0x263)](_0x1ae11b){const _0x450919=_0x2ae91e;_0x1ae11b[_0x450919(0x28a)]&&(this[_0x450919(0x20b)][_0x450919(0x26f)](_0x1ae11b[_0x450919(0x220)],_0x1ae11b[_0x450919(0x220)],[_0x1ae11b[_0x450919(0x28a)]]),this['_formulaKeys'][_0x450919(0x205)](_0x1ae11b['formulaId']));}};_0x293256=_0x401e7a([_0x551aa1(0x0,(0x0,_0x2286fa[_0x2ae91e(0x2e8)])(_0x19c8f5)),_0x551aa1(0x1,(0x0,_0x2286fa['Inject'])(_0x371fd5[_0x2ae91e(0x2a2)])),_0x551aa1(0x2,(0x0,_0x2286fa[_0x2ae91e(0x2e8)])(_0x35ae52[_0x2ae91e(0x24e)]))],_0x293256);function _0x4aad59(_0x528070,_0x453a2d){return _0x528070+'\x00'+_0x453a2d;}function _0x1dd3c3(_0x1663ba,_0x4791bd){const _0x3b8dab=_0x2ae91e;return(0x0,_0x35ae52[_0x3b8dab(0x26e)])({'numberFormat':_0x1663ba[_0x3b8dab(0x25b)],'lastValue':_0x1663ba[_0x3b8dab(0x2d0)],'result':_0x4791bd});}function _0x224960(_0x3acc5d){const _0x19e294=_0x2ae91e;var _0x51cfd1,_0x3dc805,_0x18b506;let _0x3e23de=_0x3acc5d[_0x19e294(0x2a0)],_0x4df583=_0x3acc5d['config']['formula'][_0x19e294(0x30a)]()?_0x3e23de['stale']||_0x3e23de[_0x19e294(0x1d3)]==null?_0x19e294(0x2c4):((_0x51cfd1=_0x3acc5d[_0x19e294(0x312)])==null?void 0x0:_0x51cfd1['status'])===_0x371fd5[_0x19e294(0x1d2)][_0x19e294(0x2e7)]?_0x19e294(0x29f):_0x19e294(0x1fe):'empty';return{..._0x3e23de,'status':_0x4df583,'value':(_0x3dc805=_0x3e23de[_0x19e294(0x1d3)])==null?void 0x0:_0x3dc805['v'],'valueType':((_0x18b506=_0x3e23de[_0x19e294(0x1d3)])==null?void 0x0:_0x18b506['t'])??void 0x0};}function _0x447d1e(_0x535b03,_0x3290f3){const _0x58ee8c=_0x2ae91e;var _0x2eb4d9,_0x6f0c48,_0x2e6ba7,_0x4f49bf;return _0x535b03['text']===_0x3290f3[_0x58ee8c(0x309)]&&_0x535b03['color']===_0x3290f3[_0x58ee8c(0x2c7)]&&_0x535b03['pattern']===_0x3290f3[_0x58ee8c(0x226)]&&_0x535b03[_0x58ee8c(0x219)]===_0x3290f3[_0x58ee8c(0x219)]&&_0x535b03[_0x58ee8c(0x2e2)]===_0x3290f3[_0x58ee8c(0x2e2)]&&((_0x2eb4d9=_0x535b03[_0x58ee8c(0x1d3)])==null?void 0x0:_0x2eb4d9['t'])===((_0x6f0c48=_0x3290f3[_0x58ee8c(0x1d3)])==null?void 0x0:_0x6f0c48['t'])&&Object['is']((_0x2e6ba7=_0x535b03[_0x58ee8c(0x1d3)])==null?void 0x0:_0x2e6ba7['v'],(_0x4f49bf=_0x3290f3[_0x58ee8c(0x1d3)])==null?void 0x0:_0x4f49bf['v']);}let _0x1e590b={'id':_0x2ae91e(0x1e3),'type':_0x2286fa[_0x2ae91e(0x1e9)]['MUTATION'],'handler':(_0x21b636,_0x1f548d)=>!(_0x1f548d!=null&&_0x1f548d[_0x2ae91e(0x220)])||!_0x1f548d[_0x2ae91e(0x1ee)]||!_0x1f548d['config']?!0x1:_0x21b636['get'](_0x19c8f5)[_0x2ae91e(0x293)](_0x1f548d[_0x2ae91e(0x220)],_0x1f548d[_0x2ae91e(0x1ee)],_0x1f548d[_0x2ae91e(0x1d4)])},_0x534cc7={'id':'docs-formula.mutation.remove-formula','type':_0x2286fa[_0x2ae91e(0x1e9)][_0x2ae91e(0x235)],'handler':(_0x1a1b2d,_0x20a0a6)=>!(_0x20a0a6!=null&&_0x20a0a6[_0x2ae91e(0x220)])||!_0x20a0a6[_0x2ae91e(0x1ee)]?!0x1:_0x1a1b2d[_0x2ae91e(0x22c)](_0x19c8f5)['removeFormula'](_0x20a0a6[_0x2ae91e(0x220)],_0x20a0a6[_0x2ae91e(0x1ee)])},_0x3bc26c={'id':_0x2ae91e(0x2a9),'type':_0x2286fa[_0x2ae91e(0x1e9)][_0x2ae91e(0x235)],'handler':(_0x6ce1fe,_0x4d6ec6)=>!(_0x4d6ec6!=null&&_0x4d6ec6[_0x2ae91e(0x220)])||!_0x4d6ec6[_0x2ae91e(0x236)]?!0x1:_0x6ce1fe[_0x2ae91e(0x22c)](_0x19c8f5)['setResource'](_0x4d6ec6[_0x2ae91e(0x220)],_0x4d6ec6['resource'])},_0x1875d6={'id':_0x2ae91e(0x21b),'type':_0x2286fa[_0x2ae91e(0x1e9)][_0x2ae91e(0x235)],'handler':(_0x3b88fe,_0x3da3a5)=>{const _0xbc3f4b=_0x2ae91e;if(!(_0x3da3a5!=null&&_0x3da3a5[_0xbc3f4b(0x220)])||!_0x3da3a5[_0xbc3f4b(0x2a3)][_0xbc3f4b(0x208)])return!0x1;let _0xae4f54=_0x3b88fe[_0xbc3f4b(0x22c)](_0x19c8f5),_0x364fd2=_0x3b88fe[_0xbc3f4b(0x22c)](_0x35ae52['HostExternalReferenceModel']),_0x4daa5d=_0xae4f54[_0xbc3f4b(0x21f)](_0x3da3a5[_0xbc3f4b(0x220)]);if(!_0x4daa5d)return!0x1;let _0x481e39=_0x2286fa[_0xbc3f4b(0x316)][_0xbc3f4b(0x2a7)](_0x4daa5d),_0x57abeb=!0x1;for(let _0x2fea79 of _0x3da3a5['updates']){var _0x20c96b,_0x3b391f,_0x3e95d4,_0x4d3b9f;let _0x10e7a3=_0x481e39[_0xbc3f4b(0x1f5)][_0x2fea79[_0xbc3f4b(0x1ee)]];_0x10e7a3&&_0x10e7a3[_0xbc3f4b(0x2ae)]===_0x2fea79[_0xbc3f4b(0x27b)]&&((_0x20c96b=_0x10e7a3[_0xbc3f4b(0x25b)])==null?void 0x0:_0x20c96b[_0xbc3f4b(0x226)])===_0x2fea79[_0xbc3f4b(0x206)]&&_0x364fd2[_0xbc3f4b(0x243)](_0x3da3a5[_0xbc3f4b(0x220)])===_0x2fea79['expectedReferenceRevision']&&(((_0x3b391f=_0x10e7a3[_0xbc3f4b(0x2d0)])==null?void 0x0:_0x3b391f['v'])!==_0x2fea79[_0xbc3f4b(0x2d0)]['v']||((_0x3e95d4=_0x10e7a3[_0xbc3f4b(0x2d0)])==null?void 0x0:_0x3e95d4['t'])!==_0x2fea79['lastValue']['t']||((_0x4d3b9f=_0x10e7a3[_0xbc3f4b(0x2d0)])==null?void 0x0:_0x4d3b9f[_0xbc3f4b(0x226)])!==_0x2fea79['lastValue'][_0xbc3f4b(0x226)])&&(_0x10e7a3[_0xbc3f4b(0x2d0)]=_0x2286fa[_0xbc3f4b(0x316)]['deepClone'](_0x2fea79[_0xbc3f4b(0x2d0)]),_0x57abeb=!0x0);}return!_0x57abeb||_0xae4f54[_0xbc3f4b(0x30d)](_0x3da3a5[_0xbc3f4b(0x220)],_0x481e39);}},_0x5a58c1={'id':'docs-formula.command.insert','type':_0x2286fa['CommandType']['COMMAND'],'handler':(_0x451026,_0x133a7d)=>{const _0x3a840d=_0x2ae91e;if(!(_0x133a7d!=null&&_0x133a7d[_0x3a840d(0x2ae)][_0x3a840d(0x30a)]()))return!0x1;let _0x1f1ebe=_0x3b6882(_0x451026,_0x133a7d[_0x3a840d(0x220)],'');if(!_0x1f1ebe)return!0x1;let _0x8b732=_0x2348aa(_0x133a7d[_0x3a840d(0x237)],_0x1f1ebe[_0x3a840d(0x27f)],_0x59c3da(_0x451026,_0x1f1ebe[_0x3a840d(0x220)]));if(!_0x8b732)return!0x1;let _0x4d6c54=_0x1e82f1(_0x451026,_0x1f1ebe[_0x3a840d(0x220)],_0x133a7d[_0x3a840d(0x2ae)],_0x133a7d['externalReferences']??[]);if(!_0x4d6c54)return!0x1;let _0x21c4d5=_0xabb392(_0x1f1ebe[_0x3a840d(0x27f)],_0x1f1ebe[_0x3a840d(0x2f9)],_0x1f1ebe[_0x3a840d(0x220)]),_0x42a370=_0x545c7e({'documentData':_0x1f1ebe['documentData'],'resource':_0x1f1ebe['resource'],'rangeId':_0x21c4d5,'config':{'formula':_0x133a7d[_0x3a840d(0x2ae)],..._0x133a7d[_0x3a840d(0x25b)]?{'numberFormat':_0x133a7d['numberFormat']}:null},'startOffset':_0x8b732[_0x3a840d(0x297)],'endOffset':_0x8b732[_0x3a840d(0x29e)]});if(!_0x42a370)return!0x1;let _0x10bae9=(0x0,_0x35ae52[_0x3a840d(0x1e5)])(_0x451026,_0x1f1ebe[_0x3a840d(0x220)],_0x4d6c54);return!_0x10bae9||!_0x590c55({'accessor':_0x451026,'document':_0x1f1ebe[_0x3a840d(0x27e)],'unitId':_0x1f1ebe[_0x3a840d(0x220)],'trigger':_0x5a58c1['id'],'rangeId':_0x21c4d5,'previousResource':_0x1f1ebe[_0x3a840d(0x236)],'nextResource':_0x42a370[_0x3a840d(0x29a)],'previousDocumentData':_0x1f1ebe['documentData'],'nextDocumentData':_0x42a370[_0x3a840d(0x282)],'cursorOffset':_0x42a370[_0x3a840d(0x2fe)],'externalMutations':_0x10bae9})?!0x1:{'rangeId':_0x21c4d5,'startOffset':_0x42a370[_0x3a840d(0x2fe)]-0x1,'endOffset':_0x42a370[_0x3a840d(0x2fe)]};}},_0x1c141a={'id':_0x2ae91e(0x302),'type':_0x2286fa[_0x2ae91e(0x1e9)][_0x2ae91e(0x1d0)],'handler':(_0x2c6a87,_0x225970)=>{const _0x1d8102=_0x2ae91e;if(!(_0x225970!=null&&_0x225970[_0x1d8102(0x1ee)])||!_0x225970[_0x1d8102(0x2ae)]['trim']())return!0x1;let _0x5d4451=_0x3b6882(_0x2c6a87,_0x225970[_0x1d8102(0x220)],''),_0x58d422=_0x5d4451==null?void 0x0:_0x5d4451[_0x1d8102(0x2f9)][_0x1d8102(0x28b)](_0x5d4451[_0x1d8102(0x220)],_0x225970[_0x1d8102(0x1ee)]),_0x3c558f=_0x5d4451?_0x38a9f3(_0x5d4451[_0x1d8102(0x213)][_0x1d8102(0x27f)],_0x225970[_0x1d8102(0x1ee)]):void 0x0;if(!_0x5d4451||!_0x58d422||!_0x3c558f)return!0x1;let _0x251495=_0x1e82f1(_0x2c6a87,_0x5d4451[_0x1d8102(0x220)],_0x225970[_0x1d8102(0x2ae)],_0x225970['externalReferences']??[]);if(!_0x251495)return!0x1;let _0x2bb901=(0x0,_0x35ae52[_0x1d8102(0x1e5)])(_0x2c6a87,_0x5d4451[_0x1d8102(0x220)],_0x251495);if(!_0x2bb901)return!0x1;let _0x4d7365=_0x1cd427(_0x5d4451[_0x1d8102(0x236)]);return _0x4d7365[_0x1d8102(0x1f5)][_0x225970['rangeId']]={'formula':_0x225970[_0x1d8102(0x2ae)],..._0x225970['numberFormat']?{'numberFormat':_0x225970[_0x1d8102(0x25b)]}:_0x58d422[_0x1d8102(0x25b)]?{'numberFormat':_0x58d422[_0x1d8102(0x25b)]}:null},_0x590c55({'accessor':_0x2c6a87,'document':_0x5d4451['document'],'unitId':_0x5d4451[_0x1d8102(0x220)],'trigger':_0x1c141a['id'],'rangeId':_0x225970[_0x1d8102(0x1ee)],'previousResource':_0x5d4451[_0x1d8102(0x236)],'nextResource':_0x4d7365,'cursorOffset':_0x3c558f[_0x1d8102(0x2b2)]+0x1,'externalMutations':_0x2bb901});}},_0x47ec42={'id':_0x2ae91e(0x230),'type':_0x2286fa[_0x2ae91e(0x1e9)][_0x2ae91e(0x1d0)],'handler':(_0x1120d3,_0x5812bb)=>{const _0x5beab8=_0x2ae91e;if(!(_0x5812bb!=null&&_0x5812bb[_0x5beab8(0x1ee)]))return!0x1;let _0x196177=_0x3b6882(_0x1120d3,_0x5812bb[_0x5beab8(0x220)],''),_0x5fdda1=_0x196177==null?void 0x0:_0x196177['model'][_0x5beab8(0x28b)](_0x196177[_0x5beab8(0x220)],_0x5812bb[_0x5beab8(0x1ee)]),_0x27af7d=_0x196177?_0x38a9f3(_0x196177[_0x5beab8(0x213)]['body'],_0x5812bb[_0x5beab8(0x1ee)]):void 0x0;if(!_0x196177||!_0x5fdda1||!_0x27af7d)return!0x1;let _0x20df82=_0x1cd427(_0x196177[_0x5beab8(0x236)]);return _0x20df82['formulas'][_0x5812bb[_0x5beab8(0x1ee)]]={..._0x5fdda1,..._0x5812bb[_0x5beab8(0x25b)]?{'numberFormat':_0x5812bb[_0x5beab8(0x25b)]}:null},_0x5812bb['numberFormat']||delete _0x20df82[_0x5beab8(0x1f5)][_0x5812bb[_0x5beab8(0x1ee)]][_0x5beab8(0x25b)],_0x590c55({'accessor':_0x1120d3,'document':_0x196177[_0x5beab8(0x27e)],'unitId':_0x196177[_0x5beab8(0x220)],'trigger':_0x47ec42['id'],'rangeId':_0x5812bb[_0x5beab8(0x1ee)],'previousResource':_0x196177[_0x5beab8(0x236)],'nextResource':_0x20df82,'cursorOffset':_0x27af7d[_0x5beab8(0x2b2)]+0x1,'externalMutations':{}});}},_0x3bc60b={'id':'docs-formula.command.remove','type':_0x2286fa[_0x2ae91e(0x1e9)]['COMMAND'],'handler':(_0x1b967c,_0x5de4dc)=>_0x468d1a(_0x1b967c,_0x5de4dc,'',_0x3bc60b['id'])},_0x44bf67={'id':_0x2ae91e(0x295),'type':_0x2286fa[_0x2ae91e(0x1e9)]['COMMAND'],'handler':(_0x467461,_0x26b08c)=>_0x468d1a(_0x467461,_0x26b08c,(_0x26b08c==null?void 0x0:_0x26b08c[_0x2ae91e(0x309)])??'',_0x44bf67['id'])},_0x3aad7f={'id':'docs-formula.command.convert-to-text','type':_0x2286fa['CommandType']['COMMAND'],'handler':(_0x329c92,_0x5ed6b9)=>{const _0x28f3f0=_0x2ae91e;if(!(_0x5ed6b9!=null&&_0x5ed6b9[_0x28f3f0(0x1ee)]))return!0x1;let _0x12189b=_0x3b6882(_0x329c92,_0x5ed6b9['unitId'],'');if(!_0x12189b)return!0x1;let _0x13214d=_0x329c92[_0x28f3f0(0x22c)](_0x293256)[_0x28f3f0(0x212)]({'unitId':_0x12189b[_0x28f3f0(0x220)],'rangeId':_0x5ed6b9[_0x28f3f0(0x1ee)]});return _0x13214d?_0x468d1a(_0x329c92,_0x5ed6b9,_0x13214d[_0x28f3f0(0x309)],_0x3aad7f['id']):!0x1;}};function _0x468d1a(_0x2676a4,_0x3939a6,_0x4d4ed5,_0x24aa91){const _0x57e204=_0x2ae91e;if(!(_0x3939a6!=null&&_0x3939a6[_0x57e204(0x1ee)]))return!0x1;let _0x1dfc4e=_0x3b6882(_0x2676a4,_0x3939a6['unitId'],'');if(!_0x1dfc4e)return!0x1;let _0x4659a1=_0x26f8d9({'documentData':_0x1dfc4e[_0x57e204(0x213)],'resource':_0x1dfc4e[_0x57e204(0x236)],'rangeId':_0x3939a6[_0x57e204(0x1ee)],'text':_0x4d4ed5});return _0x4659a1?_0x590c55({'accessor':_0x2676a4,'document':_0x1dfc4e[_0x57e204(0x27e)],'unitId':_0x1dfc4e[_0x57e204(0x220)],'trigger':_0x24aa91,'rangeId':_0x3939a6['rangeId'],'previousResource':_0x1dfc4e[_0x57e204(0x236)],'nextResource':_0x4659a1['nextResource'],'previousDocumentData':_0x1dfc4e[_0x57e204(0x213)],'nextDocumentData':_0x4659a1['nextDocumentData'],'cursorOffset':_0x4659a1['cursorOffset'],'externalMutations':{}}):!0x1;}function _0x3b6882(_0x5b9d8a,_0x2eeb57,_0x46fa29){const _0x133984=_0x2ae91e;if(_0x46fa29)return null;let _0x2ec19d=_0x5b9d8a['get'](_0x2286fa[_0x133984(0x308)]),_0x16840f=(_0x2eeb57?_0x2ec19d[_0x133984(0x1f1)](_0x2eeb57,_0x2286fa[_0x133984(0x24b)][_0x133984(0x2e3)]):_0x2ec19d[_0x133984(0x2bf)](_0x2286fa[_0x133984(0x24b)]['UNIVER_DOC']))??null;if(!_0x16840f)return null;let _0x28e7cb=_0x16840f[_0x133984(0x279)](),_0x3c478a=_0x28e7cb[_0x133984(0x27f)];if(_0x28e7cb[_0x133984(0x2d9)]||!_0x3c478a)return null;let _0x2fa1cf=_0x5b9d8a[_0x133984(0x22c)](_0x19c8f5);return _0x2fa1cf[_0x133984(0x251)](_0x16840f[_0x133984(0x269)]())?null:{'document':_0x16840f,'body':_0x3c478a,'documentData':_0x28e7cb,'model':_0x2fa1cf,'resource':_0x2fa1cf[_0x133984(0x21f)](_0x16840f[_0x133984(0x269)]())??_0x4ecf65(),'unitId':_0x16840f[_0x133984(0x269)]()};}function _0x59c3da(_0x446c8f,_0x20e1e7){const _0x4acb94=_0x2ae91e;var _0x2b9c77;return(_0x2b9c77=_0x446c8f[_0x4acb94(0x22c)](_0x5c0da1[_0x4acb94(0x306)])[_0x4acb94(0x2da)]({'subUnitId':_0x20e1e7,'unitId':_0x20e1e7}))==null?void 0x0:_0x2b9c77[0x0];}function _0x2348aa(_0x577fb8,_0x5168f3,_0x563c11){const _0x5adb51=_0x2ae91e;if((_0x577fb8==null?void 0x0:_0x577fb8['type'])===_0x5adb51(0x24f)){var _0x252057;let _0x8023b2=((_0x252057=_0x5168f3['paragraphs'])==null?void 0x0:_0x252057[_0x5adb51(0x1ec)](_0x314b6b=>_0x314b6b[_0x5adb51(0x1d8)]===_0x577fb8[_0x5adb51(0x1d8)]))??[];if(_0x8023b2[_0x5adb51(0x208)]!==0x1)return null;let _0x341f05=_0x8023b2[0x0],_0x445b6b=(0x0,_0x2286fa[_0x5adb51(0x315)])(_0x5168f3,_0x341f05),_0x5a6e8d=_0x341f05[_0x5adb51(0x248)]-_0x445b6b,_0x26ac95=_0x577fb8[_0x5adb51(0x274)]===_0x5adb51(0x2be)?_0x5a6e8d:_0x577fb8[_0x5adb51(0x274)];if(!Number[_0x5adb51(0x287)](_0x26ac95)||_0x26ac95<0x0||_0x26ac95>_0x5a6e8d)return null;let _0x54cdc1=_0x445b6b+_0x26ac95;return{'startOffset':_0x54cdc1,'endOffset':_0x54cdc1};}if((_0x577fb8==null?void 0x0:_0x577fb8[_0x5adb51(0x2aa)])===_0x5adb51(0x30b))return!Number['isInteger'](_0x577fb8[_0x5adb51(0x297)])||!Number[_0x5adb51(0x287)](_0x577fb8[_0x5adb51(0x29e)])?null:{'startOffset':Math['min'](_0x577fb8[_0x5adb51(0x297)],_0x577fb8[_0x5adb51(0x29e)]),'endOffset':Math[_0x5adb51(0x1dc)](_0x577fb8[_0x5adb51(0x297)],_0x577fb8['endOffset'])};let _0x30cc87=(_0x577fb8==null?void 0x0:_0x577fb8[_0x5adb51(0x2aa)])==='selection'?_0x577fb8[_0x5adb51(0x2b7)]:_0x563c11;return!_0x30cc87||_0x30cc87[_0x5adb51(0x1fa)]?null:{'startOffset':Math[_0x5adb51(0x2b0)](_0x30cc87[_0x5adb51(0x297)],_0x30cc87[_0x5adb51(0x29e)]),'endOffset':Math[_0x5adb51(0x1dc)](_0x30cc87[_0x5adb51(0x297)],_0x30cc87[_0x5adb51(0x29e)])};}function _0x1e82f1(_0x4cb502,_0x480596,_0x346d93,_0x24bfdc){const _0x1321db=_0x2ae91e;let _0x20b637=_0x4cb502['get'](_0x371fd5['LexerTreeBuilder']),_0x4c1222=_0x346d93[_0x1321db(0x2d2)]('=')?_0x346d93[_0x1321db(0x1d1)](0x1):_0x346d93,_0x188aad=_0x20b637[_0x1321db(0x1f0)](_0x4c1222);if(!_0x188aad)return null;let _0x1f333f=_0x4cb502[_0x1321db(0x22c)](_0x35ae52[_0x1321db(0x24e)]),_0x54ed35=(0x0,_0x35ae52[_0x1321db(0x29c)])({'qualifiers':(0x0,_0x35ae52[_0x1321db(0x262)])(_0x188aad),'explicitReferences':_0x24bfdc??[],'resolveBinding':_0x4edd92=>_0x1f333f[_0x1321db(0x271)](_0x480596,_0x4edd92)});return _0x54ed35['status']===_0x1321db(0x242)?_0x54ed35[_0x1321db(0x2af)]:null;}function _0xabb392(_0xb172f8,_0x1086e2,_0x1c5ef5){const _0x4f863=_0x2ae91e;var _0x4a14f2;let _0x4dcb6b=(0x0,_0x2286fa['generateRandomId'])(0x6);for(;_0xb172f8!=null&&(_0x4a14f2=_0xb172f8[_0x4f863(0x2e4)])!=null&&_0x4a14f2['some'](_0x2fd02f=>_0x2fd02f['rangeId']===_0x4dcb6b)||_0x1086e2[_0x4f863(0x28b)](_0x1c5ef5,_0x4dcb6b);)_0x4dcb6b=(0x0,_0x2286fa[_0x4f863(0x2a6)])(0x6);return _0x4dcb6b;}function _0x545c7e(_0xaa6165){try{return _0x53b154(_0xaa6165);}catch(_0x11bc8d){if(_0x11bc8d instanceof _0x3e04ef)return null;throw _0x11bc8d;}}function _0x2b049f(_0x2bbcb2){const _0x5a9862=_0x2ae91e;let _0x26f967=_0x2bbcb2[_0x5a9862(0x2f2)]&&_0x2bbcb2[_0x5a9862(0x282)]?_0x4babce(_0x2bbcb2['document'],_0x2bbcb2['unitId'],_0x2bbcb2[_0x5a9862(0x2f2)],_0x2bbcb2[_0x5a9862(0x282)],_0x2bbcb2[_0x5a9862(0x2fe)],_0x2bbcb2[_0x5a9862(0x24c)]):null;return _0x2bbcb2[_0x5a9862(0x2f2)]&&_0x2bbcb2[_0x5a9862(0x282)]&&!_0x26f967?null:{'documentRedo':_0x26f967,'resourceRedo':{'id':_0x3bc26c['id'],'params':{'unitId':_0x2bbcb2[_0x5a9862(0x220)],'resource':_0x2bbcb2[_0x5a9862(0x29a)]}},'resourceUndo':{'id':_0x3bc26c['id'],'params':{'unitId':_0x2bbcb2[_0x5a9862(0x220)],'resource':_0x2bbcb2['previousResource']}}};}function _0x2ffedb(_0x16839f,_0x272d1f,_0x5e9206,_0x55732c){const _0x35d81f=_0x2ae91e;_0x55732c['pushUndoRedo']({'id':_0x16839f[_0x35d81f(0x24c)]+':'+_0x16839f[_0x35d81f(0x1ee)],'unitID':_0x16839f[_0x35d81f(0x220)],'redoMutations':[..._0x16839f[_0x35d81f(0x1dd)]['redoMutation']?[_0x16839f[_0x35d81f(0x1dd)][_0x35d81f(0x25d)]]:[],..._0x272d1f[_0x35d81f(0x2e0)]?[_0x272d1f[_0x35d81f(0x2e0)]]:[],_0x272d1f['resourceRedo']],'undoMutations':[_0x272d1f[_0x35d81f(0x2eb)],..._0x5e9206?[_0x5e9206]:[],..._0x16839f[_0x35d81f(0x1dd)][_0x35d81f(0x225)]?[_0x16839f[_0x35d81f(0x1dd)][_0x35d81f(0x225)]]:[]]});}function _0x590c55(_0x3fee00){const _0x51c70e=_0x2ae91e;let _0x43fe07=_0x3fee00[_0x51c70e(0x318)][_0x51c70e(0x22c)](_0x2286fa[_0x51c70e(0x255)]),_0x4de155=_0x3fee00['accessor'][_0x51c70e(0x22c)](_0x2286fa['IUndoRedoService']),_0x36645c=_0x3fee00[_0x51c70e(0x318)]['get'](_0x5c0da1[_0x51c70e(0x306)]),_0x5a920d=_0x2b049f(_0x3fee00);if(!_0x5a920d)return!0x1;let _0x37a990=!0x1,_0x4585e5=null,_0x3cf5b6=!0x1;try{if(_0x3fee00[_0x51c70e(0x1dd)]['redoMutation']){if(!_0x43fe07[_0x51c70e(0x2b3)](_0x3fee00['externalMutations']['redoMutation']['id'],_0x3fee00['externalMutations'][_0x51c70e(0x25d)][_0x51c70e(0x1ed)]))return!0x1;_0x37a990=!0x0;}if(_0x5a920d[_0x51c70e(0x2e0)]){let _0x1daf85=_0x43fe07[_0x51c70e(0x2b3)](_0x5a920d['documentRedo']['id'],_0x5a920d[_0x51c70e(0x2e0)]['params']);if(!_0x1daf85)return _0x2f66f9(_0x43fe07,_0x3fee00['externalMutations'],_0x37a990),!0x1;_0x4585e5={'id':_0x5c0da1[_0x51c70e(0x21c)]['id'],'params':{..._0x1daf85,'noHistory':!0x0,'noNeedSetTextRange':!0x0,'segmentId':''}};}if(!_0x43fe07['syncExecuteCommand'](_0x5a920d['resourceRedo']['id'],_0x5a920d[_0x51c70e(0x296)][_0x51c70e(0x1ed)]))return _0x2c78c2(_0x43fe07,_0x4585e5),_0x2f66f9(_0x43fe07,_0x3fee00[_0x51c70e(0x1dd)],_0x37a990),!0x1;_0x3cf5b6=!0x0,_0x2ffedb(_0x3fee00,_0x5a920d,_0x4585e5,_0x4de155);}catch(_0x468d11){throw _0x3cf5b6&&_0x43fe07[_0x51c70e(0x2b3)](_0x5a920d[_0x51c70e(0x2eb)]['id'],_0x5a920d[_0x51c70e(0x2eb)]['params']),_0x2c78c2(_0x43fe07,_0x4585e5),_0x2f66f9(_0x43fe07,_0x3fee00['externalMutations'],_0x37a990),_0x468d11;}return _0x36645c[_0x51c70e(0x203)]([{'startOffset':_0x3fee00[_0x51c70e(0x2fe)],'endOffset':_0x3fee00[_0x51c70e(0x2fe)],'segmentId':''}],{'unitId':_0x3fee00[_0x51c70e(0x220)],'subUnitId':_0x3fee00['unitId']},!0x1,{[_0x5c0da1[_0x51c70e(0x2f1)]]:!0x0}),!0x0;}function _0x4babce(_0x34e43d,_0x161199,_0x9399ab,_0x1dd5d9,_0x333f06,_0x5d31f5){const _0x5df74f=_0x2ae91e;let _0x1252d5=_0x362ac3(_0x9399ab,_0x1dd5d9,(0x0,_0x2286fa[_0x5df74f(0x301)])(_0x34e43d,''));return _0x1252d5?{'id':_0x5c0da1[_0x5df74f(0x21c)]['id'],'params':{'unitId':_0x161199,'actions':_0x1252d5,'segmentId':'','textRanges':[{'startOffset':_0x333f06,'endOffset':_0x333f06,'collapsed':!0x0,'segmentId':''}],'isEditing':!0x1,'noHistory':!0x0,'noNeedSetTextRange':!0x0,'trigger':_0x5d31f5}}:null;}function _0x2c78c2(_0x23f0a3,_0x2d366c){const _0x337b1b=_0x2ae91e;_0x2d366c&&_0x23f0a3[_0x337b1b(0x2b3)](_0x2d366c['id'],_0x2d366c[_0x337b1b(0x1ed)]);}function _0x2f66f9(_0xd2579,_0x2a2dd2,_0x436b9b){const _0x4b5e04=_0x2ae91e;_0x436b9b&&_0x2a2dd2[_0x4b5e04(0x225)]&&_0xd2579[_0x4b5e04(0x2b3)](_0x2a2dd2[_0x4b5e04(0x225)]['id'],_0x2a2dd2[_0x4b5e04(0x225)][_0x4b5e04(0x1ed)]);}function _0x362ac3(_0x102369,_0x4f8422,_0xc5d28b){const _0x256c7a=_0x2ae91e;let _0x55d0bc=_0x102369[_0x256c7a(0x27f)],_0xa30b70=_0x4f8422[_0x256c7a(0x27f)],_0x3eb538=_0x168ffb(_0x55d0bc==null?void 0x0:_0x55d0bc['dataStream'],_0xa30b70==null?void 0x0:_0xa30b70[_0x256c7a(0x2a1)]);if(!_0x3eb538||!_0xa30b70)return null;let _0x39ca9f=new _0x2286fa['TextX']();return _0x39ca9f[_0x256c7a(0x2cf)](_0x3eb538[_0x256c7a(0x20d)]),_0x3eb538[_0x256c7a(0x2cb)]>0x0&&_0x39ca9f[_0x256c7a(0x264)](_0x3eb538[_0x256c7a(0x2cb)],(0x0,_0x2286fa['getBodySliceForTextXAction'])(_0xa30b70,_0x3eb538[_0x256c7a(0x20d)],_0x3eb538[_0x256c7a(0x20d)]+_0x3eb538[_0x256c7a(0x2cb)],!0x1)),_0x3eb538[_0x256c7a(0x298)]>0x0&&_0x39ca9f[_0x256c7a(0x205)](_0x3eb538[_0x256c7a(0x298)]),_0x2286fa['JSONX'][_0x256c7a(0x26d)]()[_0x256c7a(0x257)](_0x39ca9f[_0x256c7a(0x222)](),_0xc5d28b);}function _0x168ffb(_0xb4dd48,_0x10b1aa){const _0x4cfc48=_0x2ae91e;if(_0xb4dd48==null||_0x10b1aa==null||_0xb4dd48===_0x10b1aa)return null;let _0x34b51f=0x0;for(;_0x34b51f<_0xb4dd48[_0x4cfc48(0x208)]&&_0x34b51f<_0x10b1aa[_0x4cfc48(0x208)]&&_0xb4dd48[_0x34b51f]===_0x10b1aa[_0x34b51f];)_0x34b51f+=0x1;let _0x21b80c=_0xb4dd48['length'],_0x11e7c3=_0x10b1aa[_0x4cfc48(0x208)];for(;_0x21b80c>_0x34b51f&&_0x11e7c3>_0x34b51f&&_0xb4dd48[_0x21b80c-0x1]===_0x10b1aa[_0x11e7c3-0x1];)--_0x21b80c,--_0x11e7c3;return{'start':_0x34b51f,'deleteLength':_0x21b80c-_0x34b51f,'insertLength':_0x11e7c3-_0x34b51f};}function _0x1cd427(_0x4af823){const _0x1adf1b=_0x2ae91e;return{'schemaVersion':0x1,'formulas':Object[_0x1adf1b(0x20f)](Object[_0x1adf1b(0x246)](_0x4af823[_0x1adf1b(0x1f5)])[_0x1adf1b(0x30e)](([_0xe6984d,_0x250a99])=>[_0xe6984d,{..._0x250a99,..._0x250a99['numberFormat']?{'numberFormat':{..._0x250a99[_0x1adf1b(0x25b)]}}:null,..._0x250a99[_0x1adf1b(0x2d0)]?{'lastValue':{..._0x250a99[_0x1adf1b(0x2d0)]}}:null}]))};}let _0x29c4de=class extends _0x2286fa[_0x2ae91e(0x2c6)]{constructor(_0xdfc649,_0x3a1458,_0x1917bb,_0x474ece){const _0x4b4e80=_0x2ae91e;super(),this[_0x4b4e80(0x204)]=_0xdfc649,this[_0x4b4e80(0x299)]=_0x3a1458,this[_0x4b4e80(0x224)]=_0x1917bb,this[_0x4b4e80(0x2dc)]=_0x474ece,_0x5488d1(this,'_pendingUnitIds',new Set()),_0x5488d1(this,'_syncScheduled',!0x1),_0x5488d1(this,'_isDisposed',!0x1),this[_0x4b4e80(0x204)][_0x4b4e80(0x2f7)](_0x2286fa[_0x4b4e80(0x24b)]['UNIVER_DOC'])[_0x4b4e80(0x2bb)](_0x5d2549=>this[_0x4b4e80(0x2dc)][_0x4b4e80(0x2ad)](_0x5d2549)),this[_0x4b4e80(0x2d5)](this[_0x4b4e80(0x224)][_0x4b4e80(0x2d3)]['subscribe'](({unitId:_0xcb44cd})=>this[_0x4b4e80(0x288)](_0xcb44cd))),this[_0x4b4e80(0x2d5)](this['_instanceService'][_0x4b4e80(0x2b4)]['subscribe'](({unit:_0x463350})=>{const _0x13111e=_0x4b4e80;_0x463350[_0x13111e(0x2aa)]===_0x2286fa[_0x13111e(0x24b)]['UNIVER_DOC']&&this[_0x13111e(0x1ea)](_0x463350['getUnitId']());})),this[_0x4b4e80(0x2d5)](this['_instanceService'][_0x4b4e80(0x29b)][_0x4b4e80(0x265)](_0x50fa57=>{const _0x16b110=_0x4b4e80;this[_0x16b110(0x2dc)][_0x16b110(0x2ce)](_0x50fa57[_0x16b110(0x269)]());})),this[_0x4b4e80(0x2d5)](this['_commandService']['onCommandExecuted'](_0x5323cd=>{const _0xb40f10=_0x4b4e80;if(_0x5323cd['id']===_0x5c0da1[_0xb40f10(0x21c)]['id']&&_0x334f78(_0x5323cd['params'])){let _0x51b86e=_0x5323cd[_0xb40f10(0x1ed)];_0x51b86e[_0xb40f10(0x1fa)]||this[_0xb40f10(0x288)](_0x51b86e['unitId']);}}));}[_0x2ae91e(0x249)](){this['_isDisposed']=!0x0,super['dispose']();}[_0x2ae91e(0x1ea)](_0x147727){const _0x22e674=_0x2ae91e;this[_0x22e674(0x268)]['add'](_0x147727),!this[_0x22e674(0x245)]&&(this[_0x22e674(0x245)]=!0x0,queueMicrotask(()=>{const _0x318c60=_0x22e674;if(this['_syncScheduled']=!0x1,this[_0x318c60(0x1fb)])return;let _0x383c14=Array[_0x318c60(0x276)](this['_pendingUnitIds']);this['_pendingUnitIds'][_0x318c60(0x314)](),_0x383c14['forEach'](_0x32f1dc=>this[_0x318c60(0x288)](_0x32f1dc));}));}[_0x2ae91e(0x288)](_0x54e432){const _0x1a46a8=_0x2ae91e;let _0x3715b5=this['_instanceService'][_0x1a46a8(0x1f1)](_0x54e432,_0x2286fa[_0x1a46a8(0x24b)][_0x1a46a8(0x2e3)]);_0x3715b5&&this[_0x1a46a8(0x2dc)]['syncUnit'](_0x3715b5);}};_0x29c4de=_0x401e7a([_0x551aa1(0x0,_0x2286fa[_0x2ae91e(0x308)]),_0x551aa1(0x1,_0x2286fa[_0x2ae91e(0x255)]),_0x551aa1(0x2,(0x0,_0x2286fa[_0x2ae91e(0x2e8)])(_0x19c8f5)),_0x551aa1(0x3,(0x0,_0x2286fa[_0x2ae91e(0x2e8)])(_0x293256))],_0x29c4de);function _0x334f78(_0x4a8a42){const _0x5bb0d6=_0x2ae91e;return typeof _0x4a8a42==_0x5bb0d6(0x305)&&!!_0x4a8a42&&_0x5bb0d6(0x220)in _0x4a8a42&&typeof _0x4a8a42[_0x5bb0d6(0x220)]==_0x5bb0d6(0x2fd)&&(!(_0x5bb0d6(0x1fa)in _0x4a8a42)||_0x4a8a42[_0x5bb0d6(0x1fa)]===void 0x0||typeof _0x4a8a42['segmentId']==_0x5bb0d6(0x2fd));}let _0x4ba186=class extends _0x2286fa[_0x2ae91e(0x2c6)]{constructor(_0x5f404f,_0x3708d7){const _0x1676a1=_0x2ae91e;super(),this[_0x1676a1(0x23c)]=_0x5f404f,this[_0x1676a1(0x1d7)]=_0x3708d7,this[_0x1676a1(0x2d5)](this[_0x1676a1(0x23c)][_0x1676a1(0x209)]({'pluginName':_0xd931c2,'businesses':[_0x2286fa[_0x1676a1(0x24b)][_0x1676a1(0x2e3)]],'toJson':_0x22c683=>JSON['stringify'](this[_0x1676a1(0x1d7)][_0x1676a1(0x222)](_0x22c683)),'parseJson':_0x3f0cd2=>JSON[_0x1676a1(0x2fb)](_0x3f0cd2),'onLoad':(_0x34ef95,_0x439e94)=>{const _0x2d0f6e=_0x1676a1;this[_0x2d0f6e(0x1d7)]['load'](_0x34ef95,_0x439e94);},'onUnLoad':_0x5a6898=>this['_docFormulaModel'][_0x1676a1(0x2a5)](_0x5a6898)}));}};_0x4ba186=_0x401e7a([_0x551aa1(0x0,_0x2286fa[_0x2ae91e(0x234)]),_0x551aa1(0x1,(0x0,_0x2286fa[_0x2ae91e(0x2e8)])(_0x19c8f5))],_0x4ba186);var _0x2fc440=_0x2ae91e(0x303),_0x2741aa='1.3.1';let _0x3cdfdf={},_0x159069=class extends _0x2286fa['Disposable']{constructor(_0x4ce395,_0x3447a3,_0x41b411){const _0x6e5711=_0x2ae91e;super(),this[_0x6e5711(0x286)]=_0x4ce395,this[_0x6e5711(0x2b8)]=_0x3447a3,this[_0x6e5711(0x2d5)](_0x41b411[_0x6e5711(0x26b)]({'resolve':(_0x1a728b,_0x3c73df)=>{const _0xcaffab=_0x6e5711;var _0x18a897;return((_0x18a897=_0x3c73df[_0xcaffab(0x2e4)])==null?void 0x0:_0x18a897['filter'](_0x5b47a7)[_0xcaffab(0x30e)](_0x1a56ff=>({'startOffset':_0x1a56ff[_0xcaffab(0x248)],'endOffset':_0x1a56ff[_0xcaffab(0x2b2)]+0x1,'text':this[_0xcaffab(0x261)](_0x1a728b,_0x1a56ff[_0xcaffab(0x1ee)])})))??[];}})),this[_0x6e5711(0x2d5)](this[_0x6e5711(0x2b8)][_0x6e5711(0x20c)]['subscribe'](({unitId:_0x33ead4})=>{const _0x7c0a31=_0x6e5711;_0x41b411[_0x7c0a31(0x2b6)](_0x33ead4);}));}['resolveFormula'](_0x1be5e4,_0x335270){const _0x3c42d4=_0x2ae91e;var _0x15aa92;return((_0x15aa92=this[_0x3c42d4(0x2b8)][_0x3c42d4(0x212)]({'unitId':_0x1be5e4,'rangeId':_0x335270}))==null?void 0x0:_0x15aa92[_0x3c42d4(0x309)])??'';}['resolveText'](_0xbf9fac,_0x131c85,_0x256575){const _0x167e8e=_0x2ae91e;var _0x3c6a98;let _0x1aa4b7=this[_0x167e8e(0x286)]['getUnit'](_0xbf9fac,_0x2286fa[_0x167e8e(0x24b)][_0x167e8e(0x2e3)]),_0x3faeeb=_0x1aa4b7==null?void 0x0:_0x1aa4b7[_0x167e8e(0x218)]();if(!_0x3faeeb)return'';let _0x408f12=_0x3faeeb[_0x167e8e(0x2a1)][_0x167e8e(0x1d1)](_0x131c85,_0x256575),_0x11513c=((_0x3c6a98=_0x3faeeb[_0x167e8e(0x2e4)])==null?void 0x0:_0x3c6a98['filter'](_0x31fe26=>_0x5b47a7(_0x31fe26)&&_0x31fe26[_0x167e8e(0x248)]>=_0x131c85&&_0x31fe26[_0x167e8e(0x2b2)]<_0x256575)['sort']((_0x447326,_0x47d7ad)=>_0x47d7ad['startIndex']-_0x447326[_0x167e8e(0x248)]))??[];for(let _0x2f818f of _0x11513c){let _0x573f56=_0x2f818f[_0x167e8e(0x248)]-_0x131c85,_0x4aece5=_0x2f818f['endIndex']-_0x131c85+0x1;_0x408f12=''+_0x408f12['slice'](0x0,_0x573f56)+this[_0x167e8e(0x261)](_0xbf9fac,_0x2f818f[_0x167e8e(0x1ee)])+_0x408f12[_0x167e8e(0x1d1)](_0x4aece5);}return _0x408f12;}['degradeDocumentData'](_0x32fea4){return _0x3361bc(_0x32fea4);}[_0x2ae91e(0x1e8)](_0x16ed53,_0x3f23cd,_0x3105ee={}){const _0xf2e938=_0x2ae91e;var _0x32c80e;return _0x599857({'id':_0x16ed53,'body':_0x3f23cd,'documentStyle':{}},(((_0x32c80e=_0x3f23cd[_0xf2e938(0x2e4)])==null?void 0x0:_0x32c80e[_0xf2e938(0x1ec)](_0x5b47a7))??[])['map'](_0x3ef317=>({'rangeId':_0x3ef317[_0xf2e938(0x1ee)],'text':_0x3105ee[_0x3ef317[_0xf2e938(0x1ee)]]??this[_0xf2e938(0x261)](_0x16ed53,_0x3ef317[_0xf2e938(0x1ee)])})))[_0xf2e938(0x27f)]??{'dataStream':''};}};_0x159069=_0x401e7a([_0x551aa1(0x0,_0x2286fa[_0x2ae91e(0x308)]),_0x551aa1(0x1,(0x0,_0x2286fa[_0x2ae91e(0x2e8)])(_0x293256)),_0x551aa1(0x2,(0x0,_0x2286fa[_0x2ae91e(0x2e8)])(_0x5c0da1['DocTextResolverService']))],_0x159069);function _0x3361bc(_0x1d97d4){const _0x5e2fad=_0x2ae91e;var _0x218290,_0x3b9a3c;let _0x587dc3=_0x2d253b(_0x1d97d4),_0x439eb7=_0x599857(_0x1d97d4,(((_0x218290=_0x1d97d4[_0x5e2fad(0x27f)])==null||(_0x218290=_0x218290['customRanges'])==null?void 0x0:_0x218290['filter'](_0x5b47a7))??[])[_0x5e2fad(0x30e)](_0x5e5373=>({'rangeId':_0x5e5373[_0x5e2fad(0x1ee)],'text':_0x400ba6(_0x587dc3==null?void 0x0:_0x587dc3[_0x5e2fad(0x1f5)][_0x5e5373[_0x5e2fad(0x1ee)]])})));return _0x439eb7[_0x5e2fad(0x2ee)]=(_0x3b9a3c=_0x439eb7[_0x5e2fad(0x2ee)])==null?void 0x0:_0x3b9a3c['filter'](_0x5d816b=>_0x5d816b['name']!==_0xd931c2),_0x439eb7;}function _0x2d253b(_0x3e6a7b){const _0x593d18=_0x2ae91e;var _0x2400b6;let _0x1afcc2=(_0x2400b6=_0x3e6a7b[_0x593d18(0x2ee)])==null||(_0x2400b6=_0x2400b6[_0x593d18(0x25f)](_0x333c7f=>_0x333c7f[_0x593d18(0x1e6)]===_0x593d18(0x221)))==null?void 0x0:_0x2400b6[_0x593d18(0x2bd)];if(_0x1afcc2)try{let _0x459cbc=JSON['parse'](_0x1afcc2);return _0x1a0bf1(_0x459cbc)?_0x459cbc:void 0x0;}catch{return;}}function _0x400ba6(_0x48c3dc){const _0x47f026=_0x2ae91e;return _0x48c3dc?(0x0,_0x35ae52[_0x47f026(0x26e)])({'lastValue':_0x48c3dc[_0x47f026(0x2d0)],'numberFormat':_0x48c3dc['numberFormat']})[_0x47f026(0x309)]:'';}let _0x261569=class extends _0x2286fa[_0x2ae91e(0x2c6)]{constructor(_0x22f7aa,_0x5916d6,_0xa86edf){const _0xdada47=_0x2ae91e;super(),this[_0xdada47(0x2b8)]=_0x22f7aa,this[_0xdada47(0x20e)]=_0x5916d6,this[_0xdada47(0x2d5)](_0xa86edf[_0xdada47(0x2cc)](this));}['collectMutations'](_0x575ea3){const _0x4d74cb=_0x2ae91e;let _0x60e536=new Map();for(let _0x3b49c6 of this[_0x4d74cb(0x2b8)][_0x4d74cb(0x25e)]()){var _0x20a33c;if(!this[_0x4d74cb(0x20e)][_0x4d74cb(0x238)](_0x3b49c6[_0x4d74cb(0x1d4)][_0x4d74cb(0x2ae)],_0x3b49c6['liveResult'])['eligible'])continue;let _0x35b8bc=(0x0,_0x35ae52[_0x4d74cb(0x1de)])(_0x3b49c6['liveResult']),_0x45da80=_0x35b8bc?(0x0,_0x35ae52[_0x4d74cb(0x22e)])(_0x35b8bc):null;if(!_0x45da80||_0x5c66c6(_0x3b49c6[_0x4d74cb(0x1d4)][_0x4d74cb(0x2d0)],_0x45da80))continue;let _0x1b85b8=_0x60e536[_0x4d74cb(0x22c)](_0x3b49c6[_0x4d74cb(0x2dd)][_0x4d74cb(0x220)])??[];_0x1b85b8[_0x4d74cb(0x252)]({'rangeId':_0x3b49c6[_0x4d74cb(0x2dd)][_0x4d74cb(0x1ee)],'expectedFormula':_0x3b49c6[_0x4d74cb(0x1d4)][_0x4d74cb(0x2ae)],'expectedNumberFormat':(_0x20a33c=_0x3b49c6[_0x4d74cb(0x1d4)][_0x4d74cb(0x25b)])==null?void 0x0:_0x20a33c[_0x4d74cb(0x226)],'expectedReferenceRevision':_0x3b49c6[_0x4d74cb(0x1f4)],'lastValue':_0x45da80}),_0x60e536[_0x4d74cb(0x283)](_0x3b49c6[_0x4d74cb(0x2dd)][_0x4d74cb(0x220)],_0x1b85b8);}return Array[_0x4d74cb(0x276)](_0x60e536,([_0x378c9a,_0x4f476b])=>({'id':_0x1875d6['id'],'params':{'unitId':_0x378c9a,'updates':_0x4f476b}}));}};_0x261569=_0x401e7a([_0x551aa1(0x0,(0x0,_0x2286fa[_0x2ae91e(0x2e8)])(_0x293256)),_0x551aa1(0x1,(0x0,_0x2286fa[_0x2ae91e(0x2e8)])(_0x35ae52[_0x2ae91e(0x2f6)])),_0x551aa1(0x2,(0x0,_0x2286fa[_0x2ae91e(0x2e8)])(_0x35ae52['FormulaLastValuePersistenceService']))],_0x261569);function _0x5c66c6(_0x2b7c39,_0x333043){const _0x447fe1=_0x2ae91e;return(_0x2b7c39==null?void 0x0:_0x2b7c39['v'])===_0x333043['v']&&(_0x2b7c39==null?void 0x0:_0x2b7c39['t'])===_0x333043['t']&&(_0x2b7c39==null?void 0x0:_0x2b7c39[_0x447fe1(0x226)])===_0x333043[_0x447fe1(0x226)];}let _0x370830=class extends _0x2286fa[_0x2ae91e(0x280)]{constructor(_0x138b36=_0x3cdfdf,_0x50ca57,_0x103bdd,_0x4a6451){const _0x4483ac=_0x2ae91e;super(),this[_0x4483ac(0x2f0)]=_0x138b36,this[_0x4483ac(0x2ef)]=_0x50ca57,this[_0x4483ac(0x299)]=_0x103bdd,this[_0x4483ac(0x2c0)]=_0x4a6451;let {..._0x4bd41}=(0x0,_0x2286fa[_0x4483ac(0x22d)])({},_0x3cdfdf,this[_0x4483ac(0x2f0)]);this[_0x4483ac(0x2c0)][_0x4483ac(0x2ba)](_0x4483ac(0x1fc),_0x4bd41);}[_0x2ae91e(0x2fc)](){const _0x5e84ae=_0x2ae91e;this[_0x5e84ae(0x2ef)][_0x5e84ae(0x291)]([_0x19c8f5]),this['_injector'][_0x5e84ae(0x291)]([_0x293256]),this[_0x5e84ae(0x2ef)][_0x5e84ae(0x291)]([_0x4ba186]),this[_0x5e84ae(0x2ef)][_0x5e84ae(0x291)]([_0x29c4de]),this['_injector']['add']([_0x261569]),this['_injector'][_0x5e84ae(0x291)]([_0x159069]),(0x0,_0x2286fa[_0x5e84ae(0x247)])(this[_0x5e84ae(0x2ef)],[[_0x19c8f5],[_0x4ba186],[_0x29c4de],[_0x261569],[_0x159069]]),[_0x1e590b,_0x534cc7,_0x3bc26c,_0x1875d6,_0x5a58c1,_0x1c141a,_0x47ec42,_0x3bc60b,_0x44bf67,_0x3aad7f][_0x5e84ae(0x2bb)](_0x5243d1=>this[_0x5e84ae(0x2d5)](this[_0x5e84ae(0x299)]['registerCommand'](_0x5243d1)));}};_0x5488d1(_0x370830,_0x2ae91e(0x2e9),_0xd931c2),_0x5488d1(_0x370830,'packageName',_0x2fc440),_0x5488d1(_0x370830,'version',_0x2741aa),_0x5488d1(_0x370830,_0x2ae91e(0x2aa),_0x2286fa[_0x2ae91e(0x24b)][_0x2ae91e(0x2e3)]),_0x370830=_0x401e7a([(0x0,_0x2286fa[_0x2ae91e(0x26a)])(_0x44b28c[_0x2ae91e(0x28f)],_0x35ae52[_0x2ae91e(0x253)],_0x5c0da1['UniverDocsPlugin']),_0x551aa1(0x1,(0x0,_0x2286fa[_0x2ae91e(0x2e8)])(_0x2286fa[_0x2ae91e(0x2ea)])),_0x551aa1(0x2,_0x2286fa[_0x2ae91e(0x255)]),_0x551aa1(0x3,_0x2286fa[_0x2ae91e(0x22b)])],_0x370830),_0x56aa93[_0x2ae91e(0x2ca)]=_0x3aad7f,_0x56aa93[_0x2ae91e(0x2ec)]=_0x578adb,_0x56aa93[_0x2ae91e(0x1f6)]='',_0x56aa93['DOC_FORMULA_PLUGIN']=_0xd931c2,_0x56aa93[_0x2ae91e(0x227)]=0x1,Object[_0x2ae91e(0x223)](_0x56aa93,_0x2ae91e(0x2f4),{'enumerable':!0x0,'get':function(){return _0x159069;}}),Object[_0x2ae91e(0x223)](_0x56aa93,'DocFormulaLifecycleController',{'enumerable':!0x0,'get':function(){return _0x29c4de;}}),_0x56aa93[_0x2ae91e(0x2ff)]=_0x19c8f5,Object[_0x2ae91e(0x223)](_0x56aa93,_0x2ae91e(0x258),{'enumerable':!0x0,'get':function(){return _0x4ba186;}}),_0x56aa93[_0x2ae91e(0x1da)]=_0x5d9bf9,Object['defineProperty'](_0x56aa93,_0x2ae91e(0x1db),{'enumerable':!0x0,'get':function(){return _0x293256;}}),_0x56aa93[_0x2ae91e(0x24a)]=_0x5a58c1,_0x56aa93['InvalidDocFormulaInsertRangeError']=_0x3e04ef,_0x56aa93[_0x2ae91e(0x1f2)]=_0x3bc60b,_0x56aa93[_0x2ae91e(0x275)]=_0x534cc7,_0x56aa93[_0x2ae91e(0x2d6)]=_0x44bf67,_0x56aa93[_0x2ae91e(0x21d)]=_0x1875d6,_0x56aa93[_0x2ae91e(0x24d)]=_0x1e590b,_0x56aa93['SetDocFormulaNumberFormatCommand']=_0x47ec42,_0x56aa93[_0x2ae91e(0x2c9)]=_0x3bc26c,Object[_0x2ae91e(0x223)](_0x56aa93,_0x2ae91e(0x256),{'enumerable':!0x0,'get':function(){return _0x370830;}}),_0x56aa93[_0x2ae91e(0x1e7)]=_0x1c141a,_0x56aa93[_0x2ae91e(0x2d4)]=_0x11f22b,_0x56aa93[_0x2ae91e(0x290)]=_0x53b154,_0x56aa93[_0x2ae91e(0x2a8)]=_0x26f8d9,_0x56aa93[_0x2ae91e(0x22f)]=_0x5b863c,_0x56aa93['createEmptyDocFormulaResource']=_0x4ecf65,_0x56aa93[_0x2ae91e(0x228)]=_0x3361bc,_0x56aa93[_0x2ae91e(0x254)]=_0x38a9f3,_0x56aa93['isDocFormulaConfig']=_0x94a41,_0x56aa93[_0x2ae91e(0x244)]=_0x5b47a7,_0x56aa93['isDocFormulaResource']=_0x1a0bf1,_0x56aa93[_0x2ae91e(0x229)]=_0x4334a0;}));
|
|
1
|
+
function _0x3533(_0x5a245a,_0x3f49ef){_0x5a245a=_0x5a245a-0x1cc;const _0x51dcab=_0x51dc();let _0x3533c7=_0x51dcab[_0x5a245a];return _0x3533c7;}(function(_0x1dcc37,_0x4ae6fe){const _0x21377a=_0x3533,_0x3474ef=_0x1dcc37();while(!![]){try{const _0x3c648b=parseInt(_0x21377a(0x1f2))/0x1*(parseInt(_0x21377a(0x1fd))/0x2)+parseInt(_0x21377a(0x299))/0x3+parseInt(_0x21377a(0x2d6))/0x4*(-parseInt(_0x21377a(0x2fb))/0x5)+parseInt(_0x21377a(0x232))/0x6*(parseInt(_0x21377a(0x2cd))/0x7)+-parseInt(_0x21377a(0x208))/0x8*(parseInt(_0x21377a(0x1d6))/0x9)+-parseInt(_0x21377a(0x2b4))/0xa*(parseInt(_0x21377a(0x1f9))/0xb)+parseInt(_0x21377a(0x231))/0xc;if(_0x3c648b===_0x4ae6fe)break;else _0x3474ef['push'](_0x3474ef['shift']());}catch(_0x28ad31){_0x3474ef['push'](_0x3474ef['shift']());}}}(_0x51dc,0xb62f7),function(_0x348c9a,_0x4cce82){const _0x22de76=_0x3533;typeof exports==_0x22de76(0x2f0)&&typeof module<'u'?_0x4cce82(exports,require('@univerjs-pro/engine-formula'),require('@univerjs/core'),require('@univerjs/docs'),require('@univerjs/engine-formula'),require('rxjs'),require('@univerjs-pro/license')):typeof define==_0x22de76(0x2cb)&&define[_0x22de76(0x2f7)]?define([_0x22de76(0x27a),'@univerjs-pro/engine-formula',_0x22de76(0x2e7),_0x22de76(0x25c),_0x22de76(0x2cc),'rxjs',_0x22de76(0x242)],_0x4cce82):(_0x348c9a=typeof globalThis<'u'?globalThis:_0x348c9a||self,_0x4cce82(_0x348c9a['UniverProDocsFormula']={},_0x348c9a[_0x22de76(0x206)],_0x348c9a[_0x22de76(0x20f)],_0x348c9a[_0x22de76(0x26b)],_0x348c9a[_0x22de76(0x316)],_0x348c9a['rxjs'],_0x348c9a[_0x22de76(0x1e4)]));}(this,function(_0x54a0ee,_0x35cdb4,_0x268d47,_0x13b587,_0x144841,_0x22c49e,_0x3ae0fa){const _0x2dd6cc=_0x3533;Object[_0x2dd6cc(0x1cd)](_0x54a0ee,Symbol[_0x2dd6cc(0x317)],{'value':'Module'});let _0x422f2b=_0x2dd6cc(0x2a0),_0x4f2d27='univer-docs-formula';function _0x2e7c75(){return{'formulas':{}};}function _0x277cf0(_0x5255db){const _0x10114b=_0x2dd6cc;return!_0x5255db||typeof _0x5255db!=_0x10114b(0x2f0)||!('formulas'in _0x5255db)||!_0x5255db[_0x10114b(0x2a3)]||typeof _0x5255db[_0x10114b(0x2a3)]!=_0x10114b(0x2f0)||Array[_0x10114b(0x277)](_0x5255db[_0x10114b(0x2a3)])?!0x1:Object['entries'](_0x5255db[_0x10114b(0x2a3)])[_0x10114b(0x236)](([_0x122e56,_0x4849ca])=>_0x122e56[_0x10114b(0x28f)]>0x0&&_0x4a8011(_0x4849ca));}function _0x4a8011(_0x513434){const _0x3d88ba=_0x2dd6cc;return!_0x513434||typeof _0x513434!=_0x3d88ba(0x2f0)||!_0x529d17(_0x513434,[_0x3d88ba(0x245),'numberFormat',_0x3d88ba(0x2c2)])||!('formula'in _0x513434)||typeof _0x513434['formula']!='string'||!_0x513434[_0x3d88ba(0x245)]['trim']()||'numberFormat'in _0x513434&&_0x513434[_0x3d88ba(0x23f)]!=null&&(typeof _0x513434[_0x3d88ba(0x23f)]!=_0x3d88ba(0x2f0)||!_0x529d17(_0x513434[_0x3d88ba(0x23f)],[_0x3d88ba(0x2b5)])||!(_0x3d88ba(0x2b5)in _0x513434['numberFormat'])||typeof _0x513434[_0x3d88ba(0x23f)][_0x3d88ba(0x2b5)]!=_0x3d88ba(0x1de))?!0x1:!('lastValue'in _0x513434)||_0x513434[_0x3d88ba(0x2c2)]==null||_0x1f5739(_0x513434['lastValue']);}function _0x1f5739(_0x1979a4){const _0x4f4902=_0x2dd6cc;return!_0x1979a4||typeof _0x1979a4!=_0x4f4902(0x2f0)||!_0x529d17(_0x1979a4,['v','t','pattern'])||!('v'in _0x1979a4)||_0x1979a4['v']!==null&&typeof _0x1979a4['v']!='string'&&typeof _0x1979a4['v']!=_0x4f4902(0x252)&&typeof _0x1979a4['v']!=_0x4f4902(0x21d)||'t'in _0x1979a4&&_0x1979a4['t']!=null&&!_0x505e6d(_0x1979a4['t'])?!0x1:!(_0x4f4902(0x2b5)in _0x1979a4)||_0x1979a4['pattern']==null||typeof _0x1979a4[_0x4f4902(0x2b5)]==_0x4f4902(0x1de);}function _0x529d17(_0x1aa55e,_0xa833cb){const _0x14ae0f=_0x2dd6cc;let _0xd610ec=new Set(_0xa833cb);return Object[_0x14ae0f(0x283)](_0x1aa55e)[_0x14ae0f(0x236)](_0x4bd2af=>_0xd610ec[_0x14ae0f(0x223)](_0x4bd2af));}function _0x505e6d(_0x1e7fc3){const _0x1be80f=_0x2dd6cc;return typeof _0x1e7fc3==_0x1be80f(0x252)&&Object[_0x1be80f(0x302)](_0x268d47[_0x1be80f(0x318)])[_0x1be80f(0x2b9)](_0x1e7fc3);}let _0x2275c4=new Set([_0x268d47['DataStreamTreeTokenType'][_0x2dd6cc(0x211)],_0x268d47[_0x2dd6cc(0x1dd)][_0x2dd6cc(0x25a)],_0x268d47['DataStreamTreeTokenType']['TABLE_ROW_START'],_0x268d47[_0x2dd6cc(0x1dd)][_0x2dd6cc(0x287)],_0x268d47[_0x2dd6cc(0x1dd)][_0x2dd6cc(0x2c7)],_0x268d47['DataStreamTreeTokenType'][_0x2dd6cc(0x2ab)],_0x268d47[_0x2dd6cc(0x1dd)][_0x2dd6cc(0x2ef)],_0x268d47[_0x2dd6cc(0x1dd)]['COLUMN_GROUP_START'],_0x268d47[_0x2dd6cc(0x1dd)][_0x2dd6cc(0x1dc)],_0x268d47[_0x2dd6cc(0x1dd)][_0x2dd6cc(0x289)],_0x268d47[_0x2dd6cc(0x1dd)][_0x2dd6cc(0x2d1)],_0x268d47[_0x2dd6cc(0x1dd)][_0x2dd6cc(0x200)],_0x268d47['DataStreamTreeTokenType']['BLOCK_END'],_0x268d47[_0x2dd6cc(0x1dd)][_0x2dd6cc(0x2e6)]]);var _0x4d259a=class extends Error{constructor(){const _0x4adf5a=_0x2dd6cc;super(_0x4adf5a(0x28d));}};function _0x40b110(_0x33f98e){const _0x37bac5=_0x2dd6cc;var _0x41b4a7,_0x1c6116;let _0x1ab79f=_0x268d47[_0x37bac5(0x2da)][_0x37bac5(0x297)](_0x33f98e['documentData']),_0x423a28=_0x1ed592(_0x1ab79f),{startOffset:_0x2d9296,endOffset:_0x4d5fd8}=_0x338206(_0x423a28,_0x33f98e['startOffset'],_0x33f98e[_0x37bac5(0x1e9)]);_0x23ad2d(_0x423a28,_0x2d9296,_0x4d5fd8);let _0x5a298d=((_0x41b4a7=_0x423a28[_0x37bac5(0x31a)])==null?void 0x0:_0x41b4a7[_0x37bac5(0x2d9)](_0x4cf63b=>{const _0x3b2b86=_0x37bac5;if(!_0x10ebc7(_0x4cf63b))return!0x1;let _0x25784e=(0x0,_0x268d47[_0x3b2b86(0x21a)])(_0x4cf63b);return _0x25784e[_0x3b2b86(0x1e9)]>_0x2d9296&&_0x25784e['startOffset']<_0x4d5fd8;})[_0x37bac5(0x1cf)](_0x58b348=>_0x58b348['rangeId']))??[];_0x4e17a1(_0x423a28,_0x2d9296,_0x4d5fd8,''),_0x423a28[_0x37bac5(0x31a)]=[...((_0x1c6116=_0x423a28[_0x37bac5(0x31a)])==null?void 0x0:_0x1c6116[_0x37bac5(0x2d9)](_0x4c0087=>!_0x5a298d[_0x37bac5(0x2b9)](_0x4c0087[_0x37bac5(0x2e1)])&&_0x4c0087['rangeId']!==_0x33f98e['rangeId']))??[],_0x1f8a0c(_0x33f98e[_0x37bac5(0x2e1)],_0x2d9296)][_0x37bac5(0x203)]((_0xa124e5,_0x4c6d1c)=>_0xa124e5[_0x37bac5(0x210)]-_0x4c6d1c[_0x37bac5(0x210)]);let _0x40851f=_0x2c48de(_0x33f98e[_0x37bac5(0x22f)]);return _0x5a298d[_0x37bac5(0x2e9)](_0x38277a=>{delete _0x40851f['formulas'][_0x38277a];}),_0x40851f['formulas'][_0x33f98e['rangeId']]=_0x268d47[_0x37bac5(0x2da)][_0x37bac5(0x297)](_0x33f98e[_0x37bac5(0x2b6)]),{'nextDocumentData':_0x1ab79f,'nextResource':_0x40851f,'cursorOffset':_0x2d9296+0x1};}function _0x433876(_0x5e0db6){const _0x29ffd5=_0x2dd6cc;var _0x2f03e0,_0x5a5029;let _0x4a76c9=_0x268d47['Tools'][_0x29ffd5(0x297)](_0x5e0db6[_0x29ffd5(0x313)]),_0x5d31cf=(_0x2f03e0=_0x1ed592(_0x4a76c9)['customRanges'])==null?void 0x0:_0x2f03e0[_0x29ffd5(0x2e8)](_0x531685=>_0x531685[_0x29ffd5(0x2e1)]===_0x5e0db6[_0x29ffd5(0x2e1)]&&_0x10ebc7(_0x531685));if(!_0x5d31cf||!((_0x5a5029=_0x5e0db6[_0x29ffd5(0x22f)])!=null&&_0x5a5029[_0x29ffd5(0x2a3)][_0x5e0db6[_0x29ffd5(0x2e1)]]))return null;let _0x4ab27e=_0x2c48de(_0x5e0db6['resource']);return _0x4ab27e[_0x29ffd5(0x2a3)][_0x5e0db6[_0x29ffd5(0x2e1)]]=_0x268d47[_0x29ffd5(0x2da)]['deepClone'](_0x5e0db6[_0x29ffd5(0x2b6)]),{'nextDocumentData':_0x4a76c9,'nextResource':_0x4ab27e,'cursorOffset':_0x5d31cf[_0x29ffd5(0x31b)]+0x1};}function _0x366cd0(_0x403661){const _0x62d6cb=_0x2dd6cc;let _0x18325d=_0x268d47[_0x62d6cb(0x2da)][_0x62d6cb(0x297)](_0x403661['documentData']),_0x10e9cf=_0x234024(_0x18325d,_0x403661[_0x62d6cb(0x2e1)],_0x403661[_0x62d6cb(0x2fe)]??'');if(_0x10e9cf==null)return null;let _0x2ce88a=_0x2c48de(_0x403661['resource']);return delete _0x2ce88a[_0x62d6cb(0x2a3)][_0x403661[_0x62d6cb(0x2e1)]],{'nextDocumentData':_0x18325d,'nextResource':_0x2ce88a,'cursorOffset':_0x10e9cf};}function _0xff40f2(_0xf40445,_0x5c62e1){const _0x4f96ed=_0x2dd6cc;var _0x56c47a;let _0x4c119a=_0x268d47[_0x4f96ed(0x2da)]['deepClone'](_0xf40445),_0xfbc766=_0x4c119a[_0x4f96ed(0x31e)];if(!_0xfbc766)return _0x4c119a;let _0x2ff976=new Map(_0x5c62e1[_0x4f96ed(0x1cf)](_0x31807e=>[_0x31807e[_0x4f96ed(0x2e1)],_0x31807e[_0x4f96ed(0x2fe)]])),_0x2f5d3c=((_0x56c47a=_0xfbc766[_0x4f96ed(0x31a)])==null?void 0x0:_0x56c47a[_0x4f96ed(0x2d9)](_0x1141b1=>_0x10ebc7(_0x1141b1)&&_0x2ff976['has'](_0x1141b1[_0x4f96ed(0x2e1)]))[_0x4f96ed(0x203)]((_0x56734a,_0x43b273)=>_0x43b273[_0x4f96ed(0x210)]-_0x56734a[_0x4f96ed(0x210)]))??[];for(let _0x5a94c4 of _0x2f5d3c)_0x234024(_0x4c119a,_0x5a94c4['rangeId'],_0x2ff976[_0x4f96ed(0x249)](_0x5a94c4[_0x4f96ed(0x2e1)])??'');return _0x4c119a;}function _0x10ebc7(_0x1710a9){const _0x488f42=_0x2dd6cc;var _0x50b1c2;return(_0x1710a9==null?void 0x0:_0x1710a9[_0x488f42(0x27d)])===_0x268d47[_0x488f42(0x2cf)][_0x488f42(0x257)]&&_0x1710a9[_0x488f42(0x275)]===!0x0&&((_0x50b1c2=_0x1710a9['properties'])==null?void 0x0:_0x50b1c2[_0x488f42(0x1ec)])===_0x488f42(0x2ee);}function _0x5bfb7e(_0x3039ca,_0x4b5681){const _0x50c47d=_0x2dd6cc;var _0x3a1d17;return _0x3039ca==null||(_0x3a1d17=_0x3039ca[_0x50c47d(0x31a)])==null?void 0x0:_0x3a1d17[_0x50c47d(0x2e8)](_0xf91824=>_0xf91824[_0x50c47d(0x2e1)]===_0x4b5681&&_0x10ebc7(_0xf91824));}function _0x23ad2d(_0xfc9ca4,_0x5c80fb,_0x188774){const _0x1e3db3=_0x2dd6cc;if(_0x5c80fb===_0x188774){if(_0x2275c4[_0x1e3db3(0x223)](_0xfc9ca4['dataStream'][_0x5c80fb]))throw new _0x4d259a();}else{for(let _0x2eba74=_0x5c80fb;_0x2eba74<_0x188774;_0x2eba74++)if(_0xfc9ca4['dataStream'][_0x2eba74]===_0x268d47['DataStreamTreeTokenType'][_0x1e3db3(0x2af)]||_0x2275c4['has'](_0xfc9ca4[_0x1e3db3(0x2ea)][_0x2eba74]))throw new _0x4d259a();}}function _0x1f8a0c(_0x5a5446,_0x366f7b){const _0x1a5c9f=_0x2dd6cc;return{'startIndex':_0x366f7b,'endIndex':_0x366f7b,'rangeId':_0x5a5446,'rangeType':_0x268d47[_0x1a5c9f(0x2cf)][_0x1a5c9f(0x257)],'wholeEntity':!0x0,'properties':{'kind':_0x4f2d27}};}function _0x2c48de(_0x51becf){const _0x1a629c=_0x2dd6cc;return _0x51becf?_0x268d47['Tools'][_0x1a629c(0x297)](_0x51becf):_0x2e7c75();}function _0x338206(_0x39d24c,_0x23423a,_0x3de4b5){const _0x5c3579=_0x2dd6cc;let _0x5ea809=_0x5b6fc7(_0x39d24c),_0x58312a=_0x23423a??_0x5ea809,_0x5b072b=_0x3de4b5??_0x58312a;return{'startOffset':_0x297fd6(Math[_0x5c3579(0x1df)](_0x58312a,_0x5b072b),_0x5ea809),'endOffset':_0x297fd6(Math[_0x5c3579(0x1ea)](_0x58312a,_0x5b072b),_0x5ea809)};}function _0x297fd6(_0xf1a958,_0x5b66aa){const _0x1ad718=_0x2dd6cc;return Math[_0x1ad718(0x1ea)](0x0,Math[_0x1ad718(0x1df)](_0xf1a958,_0x5b66aa));}function _0x5b6fc7(_0x25dd8d){const _0x23d264=_0x2dd6cc;return _0x25dd8d['dataStream'][_0x23d264(0x2e3)](''+_0x268d47[_0x23d264(0x1dd)][_0x23d264(0x2af)]+_0x268d47[_0x23d264(0x1dd)][_0x23d264(0x211)])?Math[_0x23d264(0x1ea)](0x0,_0x25dd8d[_0x23d264(0x2ea)][_0x23d264(0x28f)]-0x2):_0x25dd8d['dataStream'][_0x23d264(0x2e3)](_0x268d47[_0x23d264(0x1dd)][_0x23d264(0x211)])?Math['max'](0x0,_0x25dd8d[_0x23d264(0x2ea)]['length']-0x1):_0x25dd8d['dataStream'][_0x23d264(0x28f)];}function _0x4e17a1(_0x4fab0c,_0x428072,_0x491e01,_0x4906aa){_0x491e01>_0x428072&&_0x279193(_0x4fab0c,_0x428072,_0x491e01),_0xd75f40(_0x4fab0c,_0x428072,_0x4906aa);}function _0x234024(_0x2291c0,_0xe86ab6,_0x552e88){const _0x20ebcf=_0x2dd6cc;var _0x549d1f,_0x72f189;let _0x49ae8f=_0x1ed592(_0x2291c0),_0x113965=(_0x549d1f=_0x49ae8f[_0x20ebcf(0x31a)])==null?void 0x0:_0x549d1f['find'](_0x404f15=>_0x404f15[_0x20ebcf(0x2e1)]===_0xe86ab6&&_0x10ebc7(_0x404f15));if(!_0x113965)return null;let _0x4a0e2d=(0x0,_0x268d47[_0x20ebcf(0x21a)])(_0x113965);return _0x4e17a1(_0x49ae8f,_0x4a0e2d['startOffset'],_0x4a0e2d[_0x20ebcf(0x1e9)],_0x552e88),_0x49ae8f['customRanges']=(_0x72f189=_0x49ae8f[_0x20ebcf(0x31a)])==null?void 0x0:_0x72f189['filter'](_0x3df66d=>_0x3df66d[_0x20ebcf(0x2e1)]!==_0xe86ab6),_0x4a0e2d[_0x20ebcf(0x30e)]+_0x552e88['length'];}function _0xd75f40(_0x2ffec4,_0x55540c,_0x12056e){const _0x4e6649=_0x2dd6cc;_0x12056e&&(_0x2ffec4[_0x4e6649(0x2ea)]=''+_0x2ffec4[_0x4e6649(0x2ea)][_0x4e6649(0x24c)](0x0,_0x55540c)+_0x12056e+_0x2ffec4['dataStream']['slice'](_0x55540c),_0x4b4995(_0x2ffec4,_0x55540c,_0x12056e[_0x4e6649(0x28f)]));}function _0x279193(_0x56d8b8,_0x1a7aa7,_0x378c6a){const _0x718355=_0x2dd6cc;let _0xeab786=_0x378c6a-_0x1a7aa7;_0x56d8b8['dataStream']=''+_0x56d8b8[_0x718355(0x2ea)]['slice'](0x0,_0x1a7aa7)+_0x56d8b8['dataStream'][_0x718355(0x24c)](_0x378c6a),_0x41a4d0(_0x56d8b8,_0x1a7aa7,_0xeab786);}function _0x4b4995(_0x4f8e9d,_0x628562,_0x43648a){const _0x439800=_0x2dd6cc;_0x4f8e9d[_0x439800(0x1cc)]=_0x28a97b(_0x4f8e9d[_0x439800(0x1cc)],_0x628562,_0x43648a),_0x4f8e9d['sectionBreaks']=_0x28a97b(_0x4f8e9d[_0x439800(0x264)],_0x628562,_0x43648a),_0x4f8e9d[_0x439800(0x22d)]=_0x28a97b(_0x4f8e9d['customBlocks'],_0x628562,_0x43648a),_0x4f8e9d[_0x439800(0x26c)]=_0x1b3f8d(_0x4f8e9d[_0x439800(0x26c)],_0x628562,_0x43648a),_0x4f8e9d[_0x439800(0x2ca)]=_0x334085(_0x4f8e9d[_0x439800(0x2ca)],_0x628562,_0x43648a),_0x4f8e9d[_0x439800(0x2ae)]=_0x4c5561(_0x4f8e9d[_0x439800(0x2ae)],_0x628562,_0x43648a),_0x4f8e9d[_0x439800(0x31a)]=_0x4c5561(_0x4f8e9d[_0x439800(0x31a)],_0x628562,_0x43648a),_0x4f8e9d['customDecorations']=_0x4c5561(_0x4f8e9d['customDecorations'],_0x628562,_0x43648a),_0x4f8e9d[_0x439800(0x248)]=_0x4c5561(_0x4f8e9d['blockRanges'],_0x628562,_0x43648a);}function _0x41a4d0(_0x24c515,_0x3c9400,_0x5c966e){const _0x3c995f=_0x2dd6cc;var _0xc15cdf,_0x1eef74;_0x24c515[_0x3c995f(0x1cc)]=_0x1d30be(_0x24c515[_0x3c995f(0x1cc)],_0x3c9400,_0x5c966e),_0x24c515[_0x3c995f(0x264)]=_0x1d30be(_0x24c515[_0x3c995f(0x264)],_0x3c9400,_0x5c966e),_0x24c515[_0x3c995f(0x22d)]=_0x1d30be(_0x24c515['customBlocks'],_0x3c9400,_0x5c966e),_0x24c515[_0x3c995f(0x26c)]=(_0xc15cdf=_0x3a5d60((_0x1eef74=_0x24c515[_0x3c995f(0x26c)])==null?void 0x0:_0x1eef74[_0x3c995f(0x1cf)](_0x5ddc55=>({..._0x5ddc55,'startIndex':_0x5ddc55['st'],'endIndex':_0x5ddc55['ed']})),_0x3c9400,_0x5c966e))==null?void 0x0:_0xc15cdf[_0x3c995f(0x1cf)](_0x5d855c=>{let {startIndex:_0x1ad7f6,endIndex:_0x309844,..._0x9da194}=_0x5d855c;return{..._0x9da194,'st':_0x1ad7f6,'ed':_0x309844};}),_0x24c515[_0x3c995f(0x2ca)]=_0x3a5d60(_0x24c515[_0x3c995f(0x2ca)],_0x3c9400,_0x5c966e),_0x24c515[_0x3c995f(0x2ae)]=_0x453935(_0x24c515[_0x3c995f(0x2ae)],_0x3c9400,_0x5c966e),_0x24c515['customRanges']=_0x453935(_0x24c515['customRanges'],_0x3c9400,_0x5c966e),_0x24c515['customDecorations']=_0x453935(_0x24c515[_0x3c995f(0x207)],_0x3c9400,_0x5c966e),_0x24c515[_0x3c995f(0x248)]=_0x453935(_0x24c515[_0x3c995f(0x248)],_0x3c9400,_0x5c966e);}function _0x28a97b(_0x3b69aa,_0x99d3f5,_0x4d8540){const _0x9707fd=_0x2dd6cc;return _0x3b69aa==null?void 0x0:_0x3b69aa[_0x9707fd(0x1cf)](_0x32644a=>_0x32644a[_0x9707fd(0x210)]>=_0x99d3f5?{..._0x32644a,'startIndex':_0x32644a['startIndex']+_0x4d8540}:_0x32644a);}function _0x1d30be(_0x4575c2,_0x361e47,_0x242a7b){const _0xc61799=_0x2dd6cc;let _0x1e29ff=_0x361e47+_0x242a7b;return _0x4575c2==null?void 0x0:_0x4575c2[_0xc61799(0x1cf)](_0x95e5ba=>_0x95e5ba[_0xc61799(0x210)]>=_0x361e47&&_0x95e5ba['startIndex']<_0x1e29ff?null:_0x95e5ba[_0xc61799(0x210)]>=_0x1e29ff?{..._0x95e5ba,'startIndex':_0x95e5ba[_0xc61799(0x210)]-_0x242a7b}:_0x95e5ba)[_0xc61799(0x2d9)](_0x3c42e1=>_0x3c42e1!=null);}function _0x1b3f8d(_0x552013,_0xc95c5e,_0x525e29){const _0xc6fe05=_0x2dd6cc;return _0x552013==null?void 0x0:_0x552013[_0xc6fe05(0x1cf)](_0x3bbd5e=>_0x3bbd5e['st']>=_0xc95c5e?{..._0x3bbd5e,'st':_0x3bbd5e['st']+_0x525e29,'ed':_0x3bbd5e['ed']+_0x525e29}:_0x3bbd5e['ed']>_0xc95c5e?{..._0x3bbd5e,'ed':_0x3bbd5e['ed']+_0x525e29}:_0x3bbd5e);}function _0x4c5561(_0x274361,_0x531db6,_0x4b6fac){const _0x5eecdd=_0x2dd6cc;return _0x274361==null?void 0x0:_0x274361[_0x5eecdd(0x1cf)](_0x2ab0e0=>(0x0,_0x268d47[_0x5eecdd(0x2f9)])(_0x2ab0e0,_0x531db6,_0x4b6fac));}function _0x334085(_0x494d3b,_0x24a2f7,_0x8c462c){const _0x4c9081=_0x2dd6cc;return _0x494d3b==null?void 0x0:_0x494d3b[_0x4c9081(0x1cf)](_0x3d9dec=>(0x0,_0x268d47['shiftExclusiveRangeOnInsert'])(_0x3d9dec,_0x24a2f7,_0x8c462c));}function _0x453935(_0x2877f5,_0x500360,_0x344815){const _0x4eedb1=_0x2dd6cc;return _0x2877f5==null?void 0x0:_0x2877f5['map'](_0x56b16d=>(0x0,_0x268d47[_0x4eedb1(0x1fe)])(_0x56b16d,_0x500360,_0x344815))[_0x4eedb1(0x2d9)](_0x1fe2d2=>_0x1fe2d2!=null);}function _0x3a5d60(_0x3f55ec,_0x1da359,_0x5368a8){const _0x153953=_0x2dd6cc;return _0x3f55ec==null?void 0x0:_0x3f55ec[_0x153953(0x1cf)](_0x223c37=>(0x0,_0x268d47[_0x153953(0x2f5)])(_0x223c37,_0x1da359,_0x5368a8))['filter'](_0x46ca61=>_0x46ca61!=null);}function _0x1ed592(_0xb013d4){const _0x3de716=_0x2dd6cc;if(!_0xb013d4[_0x3de716(0x31e)])throw Error(_0x3de716(0x301));return _0xb013d4[_0x3de716(0x31e)];}function _0xf7d2ca(_0x781f83){'@babel/helpers - typeof';const _0x5db298=_0x2dd6cc;return _0xf7d2ca=typeof Symbol==_0x5db298(0x2cb)&&typeof Symbol[_0x5db298(0x319)]==_0x5db298(0x1d5)?function(_0x57218c){return typeof _0x57218c;}:function(_0x525f42){const _0x1cfdd1=_0x5db298;return _0x525f42&&typeof Symbol=='function'&&_0x525f42['constructor']===Symbol&&_0x525f42!==Symbol[_0x1cfdd1(0x26a)]?_0x1cfdd1(0x1d5):typeof _0x525f42;},_0xf7d2ca(_0x781f83);}function _0x2f3f6c(_0x1ba17d,_0x5a86db){const _0xede545=_0x2dd6cc;if(_0xf7d2ca(_0x1ba17d)!=_0xede545(0x2f0)||!_0x1ba17d)return _0x1ba17d;var _0x50b754=_0x1ba17d[Symbol['toPrimitive']];if(_0x50b754!==void 0x0){var _0x1d3dee=_0x50b754['call'](_0x1ba17d,_0x5a86db||_0xede545(0x1d9));if(_0xf7d2ca(_0x1d3dee)!=_0xede545(0x2f0))return _0x1d3dee;throw TypeError(_0xede545(0x29c));}return(_0x5a86db===_0xede545(0x1de)?String:Number)(_0x1ba17d);}function _0x300607(_0x432d55){const _0x2b9d92=_0x2dd6cc;var _0x324351=_0x2f3f6c(_0x432d55,_0x2b9d92(0x1de));return _0xf7d2ca(_0x324351)==_0x2b9d92(0x1d5)?_0x324351:_0x324351+'';}function _0x2997b9(_0x21bada,_0x3d043b,_0x1e2175){const _0x1caa9e=_0x2dd6cc;return(_0x3d043b=_0x300607(_0x3d043b))in _0x21bada?Object[_0x1caa9e(0x1cd)](_0x21bada,_0x3d043b,{'value':_0x1e2175,'enumerable':!0x0,'configurable':!0x0,'writable':!0x0}):_0x21bada[_0x3d043b]=_0x1e2175,_0x21bada;}var _0x400aa0=class extends _0x268d47[_0x2dd6cc(0x298)]{constructor(..._0x6de162){const _0x1b23b1=_0x2dd6cc;super(..._0x6de162),_0x2997b9(this,'_resources',new Map()),_0x2997b9(this,_0x1b23b1(0x260),new Map()),_0x2997b9(this,_0x1b23b1(0x20d),new Map()),_0x2997b9(this,'_change$',new _0x22c49e['Subject']()),_0x2997b9(this,_0x1b23b1(0x2bc),this[_0x1b23b1(0x27b)]['asObservable']());}['getFormula'](_0x493b8a,_0x89bbb4){const _0x346b1d=_0x2dd6cc;var _0xcdbeac;let _0x349fad=(_0xcdbeac=this[_0x346b1d(0x239)]['get'](_0x493b8a))==null?void 0x0:_0xcdbeac[_0x346b1d(0x2a3)][_0x89bbb4];return _0x349fad?_0x268d47[_0x346b1d(0x2da)][_0x346b1d(0x297)](_0x349fad):void 0x0;}[_0x2dd6cc(0x205)](_0x2f1a30){const _0x28395d=_0x2dd6cc;var _0xd77836;return _0x268d47[_0x28395d(0x2da)][_0x28395d(0x297)](((_0xd77836=this[_0x28395d(0x239)]['get'](_0x2f1a30))==null?void 0x0:_0xd77836[_0x28395d(0x2a3)])??{});}['getResource'](_0x2383b4){const _0x17ee14=_0x2dd6cc;let _0x5290c5=this[_0x17ee14(0x239)]['get'](_0x2383b4);return _0x5290c5?_0x268d47[_0x17ee14(0x2da)][_0x17ee14(0x297)](_0x5290c5):void 0x0;}[_0x2dd6cc(0x24f)](_0x5bdf6d,_0x43e02d,_0x4c3083){const _0x30c029=_0x2dd6cc;return this[_0x30c029(0x265)](_0x5bdf6d,{[_0x43e02d]:_0x4c3083});}[_0x2dd6cc(0x26f)](_0x4f8f91,_0x5958a0){const _0x5d1e93=_0x2dd6cc;return this['_loadErrors'][_0x5d1e93(0x223)](_0x4f8f91)||!_0x277cf0(_0x5958a0)?!0x1:(this[_0x5d1e93(0x239)][_0x5d1e93(0x234)](_0x4f8f91,{'formulas':_0x268d47[_0x5d1e93(0x2da)][_0x5d1e93(0x297)](_0x5958a0['formulas'])}),this[_0x5d1e93(0x27b)][_0x5d1e93(0x1e3)]({'unitId':_0x4f8f91}),!0x0);}[_0x2dd6cc(0x265)](_0x44d420,_0x6fdc1c){const _0x38ae48=_0x2dd6cc;if(this['_loadErrors'][_0x38ae48(0x223)](_0x44d420)||!Object[_0x38ae48(0x283)](_0x6fdc1c)['length']||!_0x277cf0({'formulas':_0x6fdc1c}))return!0x1;let _0x4c4b50=this[_0x38ae48(0x239)][_0x38ae48(0x249)](_0x44d420)??_0x2e7c75(),_0x12577c=_0x268d47[_0x38ae48(0x2da)][_0x38ae48(0x297)](_0x4c4b50);return Object[_0x38ae48(0x2bf)](_0x12577c[_0x38ae48(0x2a3)],_0x268d47[_0x38ae48(0x2da)][_0x38ae48(0x297)](_0x6fdc1c)),this['_resources'][_0x38ae48(0x234)](_0x44d420,_0x12577c),this[_0x38ae48(0x27b)][_0x38ae48(0x1e3)]({'unitId':_0x44d420,'rangeIds':Object['keys'](_0x6fdc1c)}),!0x0;}['removeFormula'](_0x568163,_0x3b2e4c){const _0x29771c=_0x2dd6cc;if(this[_0x29771c(0x20d)][_0x29771c(0x223)](_0x568163))return!0x1;let _0x2a8249=this[_0x29771c(0x239)][_0x29771c(0x249)](_0x568163);if(!(_0x2a8249!=null&&_0x2a8249['formulas'][_0x3b2e4c]))return!0x1;let _0x462279=_0x268d47[_0x29771c(0x2da)][_0x29771c(0x297)](_0x2a8249);return delete _0x462279[_0x29771c(0x2a3)][_0x3b2e4c],this[_0x29771c(0x239)][_0x29771c(0x234)](_0x568163,_0x462279),this['_change$'][_0x29771c(0x1e3)]({'unitId':_0x568163,'rangeIds':[_0x3b2e4c]}),!0x0;}[_0x2dd6cc(0x1d8)](_0x350d9d,_0x37a75a){const _0x3a41c8=_0x2dd6cc;return _0x277cf0(_0x37a75a)?(this[_0x3a41c8(0x239)][_0x3a41c8(0x234)](_0x350d9d,{'formulas':_0x268d47[_0x3a41c8(0x2da)]['deepClone'](_0x37a75a[_0x3a41c8(0x2a3)])}),this[_0x3a41c8(0x260)][_0x3a41c8(0x2aa)](_0x350d9d),this[_0x3a41c8(0x20d)][_0x3a41c8(0x2aa)](_0x350d9d),this['_change$'][_0x3a41c8(0x1e3)]({'unitId':_0x350d9d}),!0x0):(this[_0x3a41c8(0x1ed)](_0x350d9d,_0x37a75a,_0x3a41c8(0x2e2)),!0x1);}[_0x2dd6cc(0x251)](_0x9d1f8){const _0x424981=_0x2dd6cc;let _0x41bffa=this[_0x424981(0x239)][_0x424981(0x249)](_0x9d1f8);return _0x41bffa?_0x268d47[_0x424981(0x2da)][_0x424981(0x297)](_0x41bffa):this['_rawResources']['has'](_0x9d1f8)?_0x268d47[_0x424981(0x2da)]['deepClone'](this[_0x424981(0x260)][_0x424981(0x249)](_0x9d1f8)):_0x2e7c75();}[_0x2dd6cc(0x1db)](_0x336b0e){const _0x572f19=_0x2dd6cc;return this[_0x572f19(0x20d)][_0x572f19(0x249)](_0x336b0e);}[_0x2dd6cc(0x1e1)](_0x3e658d){const _0x58d312=_0x2dd6cc;this[_0x58d312(0x239)][_0x58d312(0x2aa)](_0x3e658d),this[_0x58d312(0x260)][_0x58d312(0x2aa)](_0x3e658d),this['_loadErrors']['delete'](_0x3e658d),this[_0x58d312(0x27b)][_0x58d312(0x1e3)]({'unitId':_0x3e658d});}['dispose'](){const _0x1c0487=_0x2dd6cc;this[_0x1c0487(0x239)][_0x1c0487(0x25b)](),this[_0x1c0487(0x260)][_0x1c0487(0x25b)](),this[_0x1c0487(0x20d)][_0x1c0487(0x25b)](),this[_0x1c0487(0x27b)][_0x1c0487(0x308)](),super[_0x1c0487(0x259)]();}[_0x2dd6cc(0x1ed)](_0x52dab0,_0x2eae2b,_0x306412){const _0x17c4a1=_0x2dd6cc;this[_0x17c4a1(0x239)][_0x17c4a1(0x2aa)](_0x52dab0),this[_0x17c4a1(0x260)][_0x17c4a1(0x234)](_0x52dab0,_0x268d47[_0x17c4a1(0x2da)]['deepClone'](_0x2eae2b)),this['_loadErrors'][_0x17c4a1(0x234)](_0x52dab0,_0x306412),this[_0x17c4a1(0x27b)][_0x17c4a1(0x1e3)]({'unitId':_0x52dab0});}};let _0x4057d2=function(_0x4b3e5b){const _0x2ac7a3=_0x2dd6cc;return _0x4b3e5b[_0x2ac7a3(0x2be)]=_0x2ac7a3(0x2fc),_0x4b3e5b[_0x2ac7a3(0x237)]='pending',_0x4b3e5b[_0x2ac7a3(0x23a)]=_0x2ac7a3(0x278),_0x4b3e5b['ERROR']=_0x2ac7a3(0x2e5),_0x4b3e5b;}({});function _0x26635b(_0x7c0f1c,_0x7f39e4){return function(_0x33a996,_0xf49257){_0x7f39e4(_0x33a996,_0xf49257,_0x7c0f1c);};}function _0x1047e5(_0x3cbc49,_0x20413a,_0x597516,_0x4c5c9a){const _0x5369dd=_0x2dd6cc;var _0xab1e4b=arguments[_0x5369dd(0x28f)],_0x137f4a=_0xab1e4b<0x3?_0x20413a:_0x4c5c9a===null?_0x4c5c9a=Object[_0x5369dd(0x293)](_0x20413a,_0x597516):_0x4c5c9a,_0x33d1d3;if(typeof Reflect==_0x5369dd(0x2f0)&&typeof Reflect[_0x5369dd(0x306)]==_0x5369dd(0x2cb))_0x137f4a=Reflect[_0x5369dd(0x306)](_0x3cbc49,_0x20413a,_0x597516,_0x4c5c9a);else{for(var _0x27f8db=_0x3cbc49[_0x5369dd(0x28f)]-0x1;_0x27f8db>=0x0;_0x27f8db--)(_0x33d1d3=_0x3cbc49[_0x27f8db])&&(_0x137f4a=(_0xab1e4b<0x3?_0x33d1d3(_0x137f4a):_0xab1e4b>0x3?_0x33d1d3(_0x20413a,_0x597516,_0x137f4a):_0x33d1d3(_0x20413a,_0x597516))||_0x137f4a);}return _0xab1e4b>0x3&&_0x137f4a&&Object[_0x5369dd(0x1cd)](_0x20413a,_0x597516,_0x137f4a),_0x137f4a;}let _0xd0fdb1=class extends _0x268d47[_0x2dd6cc(0x298)]{constructor(_0x5920d3,_0x3c526d,_0x38928b){const _0x5caae9=_0x2dd6cc;super(),this[_0x5caae9(0x2bb)]=_0x5920d3,this['_registrationService']=_0x3c526d,this[_0x5caae9(0x2b2)]=_0x38928b,_0x2997b9(this,_0x5caae9(0x2c5),new Map()),_0x2997b9(this,_0x5caae9(0x311),new Map()),_0x2997b9(this,_0x5caae9(0x244),new _0x22c49e[(_0x5caae9(0x23b))]()),_0x2997b9(this,_0x5caae9(0x267),this['_presentationChanged$'][_0x5caae9(0x273)]()),this[_0x5caae9(0x2d2)](this['_registrationService'][_0x5caae9(0x216)][_0x5caae9(0x28a)](_0x329234=>{const _0x5e5f8c=_0x5caae9;for(let _0x3afef0 of Object['values'](_0x329234))for(let _0x30dcbe of Object[_0x5e5f8c(0x302)](_0x3afef0))_0x30dcbe['forEach'](_0xa51315=>this[_0x5e5f8c(0x1ce)](_0xa51315));}));}[_0x2dd6cc(0x2c9)](_0x57115d){const _0x5d5c88=_0x2dd6cc;var _0x4a5159;let _0x17d4fc=_0x57115d[_0x5d5c88(0x204)](),_0x24b739=((_0x4a5159=_0x57115d[_0x5d5c88(0x291)]()[_0x5d5c88(0x31e)])==null||(_0x4a5159=_0x4a5159[_0x5d5c88(0x31a)])==null?void 0x0:_0x4a5159[_0x5d5c88(0x2d9)](_0x10ebc7))??[],_0xf1e420=this[_0x5d5c88(0x2bb)][_0x5d5c88(0x205)](_0x17d4fc),_0x3cfcf5=new Set();for(let _0xd28c6a of _0x24b739){let _0x5d31ff=_0xf1e420[_0xd28c6a[_0x5d5c88(0x2e1)]];_0x5d31ff&&(_0x3cfcf5[_0x5d5c88(0x2db)](_0x17fbe8(_0x17d4fc,_0xd28c6a[_0x5d5c88(0x2e1)])),this[_0x5d5c88(0x1e8)]({'unitId':_0x17d4fc,'rangeId':_0xd28c6a[_0x5d5c88(0x2e1)]},_0x5d31ff));}for(let _0x5ec6e8 of Array[_0x5d5c88(0x295)](this[_0x5d5c88(0x2c5)][_0x5d5c88(0x302)]()))_0x5ec6e8[_0x5d5c88(0x30f)]===_0x17d4fc&&!_0x3cfcf5['has'](_0x17fbe8(_0x5ec6e8[_0x5d5c88(0x30f)],_0x5ec6e8[_0x5d5c88(0x2e1)]))&&this[_0x5d5c88(0x238)](_0x5ec6e8);}[_0x2dd6cc(0x1e8)](_0x871ec5,_0x31a10a){const _0x48b313=_0x2dd6cc;let _0x222f05=_0x17fbe8(_0x871ec5[_0x48b313(0x30f)],_0x871ec5[_0x48b313(0x2e1)]),_0x4034d7=this['_registrations'][_0x48b313(0x249)](_0x222f05),_0x7c9410=this['_hostExternalReferenceModel'][_0x48b313(0x202)](_0x871ec5['unitId']);if(_0x4034d7&&_0x4034d7['config'][_0x48b313(0x245)]===_0x31a10a[_0x48b313(0x245)]&&_0x4034d7[_0x48b313(0x2ce)]===_0x7c9410){_0x4034d7[_0x48b313(0x2b6)]=_0x31a10a;let _0x34cdcc=_0x4034d7['formulaId']?this['_registrationService'][_0x48b313(0x2d8)](_0x4034d7[_0x48b313(0x30f)],_0x4034d7[_0x48b313(0x30f)],_0x4034d7[_0x48b313(0x25d)])??void 0x0:void 0x0;_0x4034d7[_0x48b313(0x2ed)]=_0x34cdcc,this['_setPresentation'](_0x222f05,_0x13a530(_0x31a10a,_0x34cdcc));return;}_0x4034d7!=null&&_0x4034d7['formulaId']&&this[_0x48b313(0x2df)](_0x4034d7);let _0x5b9b38={..._0x871ec5,'config':_0x31a10a,'referenceRevision':_0x7c9410,'presentation':_0x13a530(_0x31a10a,void 0x0)};if(this['_registrations'][_0x48b313(0x234)](_0x222f05,_0x5b9b38),!_0x31a10a[_0x48b313(0x245)]['trim']())return;let _0x4cdfc8=this[_0x48b313(0x1f0)][_0x48b313(0x25e)](_0x871ec5[_0x48b313(0x30f)],_0x871ec5[_0x48b313(0x30f)],_0x31a10a[_0x48b313(0x245)],void 0x0,{'rangeId':_0x871ec5[_0x48b313(0x2e1)]},_0x144841[_0x48b313(0x2a9)][_0x48b313(0x227)],_0x871ec5[_0x48b313(0x2e1)]);_0x5b9b38[_0x48b313(0x25d)]=_0x4cdfc8,this[_0x48b313(0x311)]['set'](_0x4cdfc8,_0x222f05);}['unregister'](_0xd98cbb){const _0x4629b4=_0x2dd6cc;let _0xab9753=_0x17fbe8(_0xd98cbb[_0x4629b4(0x30f)],_0xd98cbb[_0x4629b4(0x2e1)]),_0x2e7461=this[_0x4629b4(0x2c5)]['get'](_0xab9753);_0x2e7461&&(this['_deleteRegistration'](_0x2e7461),this[_0x4629b4(0x2c5)][_0x4629b4(0x2aa)](_0xab9753));}[_0x2dd6cc(0x1fb)](_0x5015de){const _0x8ddb69=_0x2dd6cc;for(let _0x2a31f6 of Array[_0x8ddb69(0x295)](this[_0x8ddb69(0x2c5)][_0x8ddb69(0x302)]()))_0x2a31f6[_0x8ddb69(0x30f)]===_0x5015de&&this[_0x8ddb69(0x238)](_0x2a31f6);}[_0x2dd6cc(0x1d0)](_0x97b292){const _0x5e8a13=_0x2dd6cc;var _0x1d4be6;return(_0x1d4be6=this[_0x5e8a13(0x2c5)][_0x5e8a13(0x249)](_0x17fbe8(_0x97b292[_0x5e8a13(0x30f)],_0x97b292[_0x5e8a13(0x2e1)])))==null?void 0x0:_0x1d4be6[_0x5e8a13(0x31d)];}[_0x2dd6cc(0x241)](_0xc71369){const _0x102ab0=_0x2dd6cc;let _0xb33e21=this['_registrations']['get'](_0x17fbe8(_0xc71369['unitId'],_0xc71369[_0x102ab0(0x2e1)]));return _0xb33e21?_0x48bec3(_0xb33e21):void 0x0;}[_0x2dd6cc(0x247)](){const _0x4fbaaa=_0x2dd6cc;return Array[_0x4fbaaa(0x295)](this[_0x4fbaaa(0x2c5)]['values'](),_0x3faddc=>({'identity':{'unitId':_0x3faddc[_0x4fbaaa(0x30f)],'rangeId':_0x3faddc['rangeId']},'config':_0x3faddc[_0x4fbaaa(0x2b6)],'referenceRevision':_0x3faddc[_0x4fbaaa(0x2ce)],..._0x3faddc[_0x4fbaaa(0x2ed)]?{'liveResult':_0x3faddc[_0x4fbaaa(0x2ed)]}:null}));}[_0x2dd6cc(0x259)](){const _0x346f54=_0x2dd6cc;for(let _0x364d4e of this[_0x346f54(0x2c5)][_0x346f54(0x302)]())this[_0x346f54(0x2df)](_0x364d4e);this[_0x346f54(0x2c5)][_0x346f54(0x25b)](),this[_0x346f54(0x311)][_0x346f54(0x25b)](),this[_0x346f54(0x244)][_0x346f54(0x308)](),super[_0x346f54(0x259)]();}[_0x2dd6cc(0x1ce)](_0x3d5ca6){const _0x4210f8=_0x2dd6cc;let _0x53649f=this[_0x4210f8(0x311)][_0x4210f8(0x249)](_0x3d5ca6[_0x4210f8(0x25d)]),_0x340013=_0x53649f?this['_registrations'][_0x4210f8(0x249)](_0x53649f):void 0x0;_0x53649f&&_0x340013&&(_0x340013[_0x4210f8(0x2ed)]=_0x3d5ca6,this[_0x4210f8(0x1d7)](_0x53649f,_0x13a530(_0x340013[_0x4210f8(0x2b6)],_0x3d5ca6)));}['_setPresentation'](_0x1db7f9,_0x46fbb9){const _0x4dec9e=_0x2dd6cc;var _0x2d54cf,_0x399997;let _0x279bbc=this['_registrations'][_0x4dec9e(0x249)](_0x1db7f9);if(!_0x279bbc||_0xa30ea7(_0x279bbc['presentation'],_0x46fbb9))return;let _0x4463ba=_0x279bbc['presentation'],_0x1c0a88=_0x48bec3(_0x279bbc);_0x279bbc[_0x4dec9e(0x31d)]=_0x46fbb9,this[_0x4dec9e(0x244)][_0x4dec9e(0x1e3)]({'unitId':_0x279bbc['unitId'],'rangeId':_0x279bbc[_0x4dec9e(0x2e1)],'presentation':_0x46fbb9,'previousPresentation':_0x4463ba,'result':_0x48bec3(_0x279bbc),'previousResult':{..._0x1c0a88,..._0x4463ba,'value':(_0x2d54cf=_0x4463ba[_0x4dec9e(0x22b)])==null?void 0x0:_0x2d54cf['v'],'valueType':((_0x399997=_0x4463ba['cell'])==null?void 0x0:_0x399997['t'])??void 0x0}});}['_deleteRegistration'](_0x4bc8fb){const _0x284115=_0x2dd6cc;_0x4bc8fb[_0x284115(0x25d)]&&(this['_registrationService']['deleteFormula'](_0x4bc8fb[_0x284115(0x30f)],_0x4bc8fb[_0x284115(0x30f)],[_0x4bc8fb['formulaId']]),this['_formulaKeys'][_0x284115(0x2aa)](_0x4bc8fb[_0x284115(0x25d)]));}};_0xd0fdb1=_0x1047e5([_0x26635b(0x0,(0x0,_0x268d47[_0x2dd6cc(0x266)])(_0x400aa0)),_0x26635b(0x1,(0x0,_0x268d47[_0x2dd6cc(0x266)])(_0x144841[_0x2dd6cc(0x285)])),_0x26635b(0x2,(0x0,_0x268d47['Inject'])(_0x35cdb4[_0x2dd6cc(0x243)]))],_0xd0fdb1);function _0x17fbe8(_0x52c9c0,_0x437483){return _0x52c9c0+'\x00'+_0x437483;}function _0x13a530(_0x38ae37,_0x275014){const _0x14f19b=_0x2dd6cc;return(0x0,_0x35cdb4['resolveFormulaResultPresentation'])({'numberFormat':_0x38ae37[_0x14f19b(0x23f)],'lastValue':_0x38ae37['lastValue'],'result':_0x275014});}function _0x48bec3(_0x29a339){const _0xa3e2bc=_0x2dd6cc;var _0x3a9d55,_0x265ee2,_0xcd2af9;let _0x108e57=_0x29a339[_0xa3e2bc(0x31d)],_0x28ff92=_0x29a339[_0xa3e2bc(0x2b6)][_0xa3e2bc(0x245)]['trim']()?_0x108e57['stale']||_0x108e57[_0xa3e2bc(0x22b)]==null?_0xa3e2bc(0x29e):((_0x3a9d55=_0x29a339['liveResult'])==null?void 0x0:_0x3a9d55['status'])===_0x144841[_0xa3e2bc(0x30c)][_0xa3e2bc(0x22a)]?_0xa3e2bc(0x2e5):'success':_0xa3e2bc(0x2fc);return{..._0x108e57,'status':_0x28ff92,'value':(_0x265ee2=_0x108e57[_0xa3e2bc(0x22b)])==null?void 0x0:_0x265ee2['v'],'valueType':((_0xcd2af9=_0x108e57[_0xa3e2bc(0x22b)])==null?void 0x0:_0xcd2af9['t'])??void 0x0};}function _0xa30ea7(_0x42b65d,_0x4d163a){const _0x1372b8=_0x2dd6cc;var _0x1e0e3b,_0x2f18a5,_0x55bb4b,_0x1ad9b6;return _0x42b65d[_0x1372b8(0x2fe)]===_0x4d163a[_0x1372b8(0x2fe)]&&_0x42b65d[_0x1372b8(0x209)]===_0x4d163a[_0x1372b8(0x209)]&&_0x42b65d[_0x1372b8(0x2b5)]===_0x4d163a[_0x1372b8(0x2b5)]&&_0x42b65d[_0x1372b8(0x2a4)]===_0x4d163a[_0x1372b8(0x2a4)]&&_0x42b65d[_0x1372b8(0x240)]===_0x4d163a[_0x1372b8(0x240)]&&((_0x1e0e3b=_0x42b65d[_0x1372b8(0x22b)])==null?void 0x0:_0x1e0e3b['t'])===((_0x2f18a5=_0x4d163a['cell'])==null?void 0x0:_0x2f18a5['t'])&&Object['is']((_0x55bb4b=_0x42b65d[_0x1372b8(0x22b)])==null?void 0x0:_0x55bb4b['v'],(_0x1ad9b6=_0x4d163a[_0x1372b8(0x22b)])==null?void 0x0:_0x1ad9b6['v']);}let _0x2a530f={'id':_0x2dd6cc(0x26e),'type':_0x268d47[_0x2dd6cc(0x2fa)][_0x2dd6cc(0x271)],'handler':(_0x5e96d3,_0x53dc0f)=>!(_0x53dc0f!=null&&_0x53dc0f[_0x2dd6cc(0x30f)])||!_0x53dc0f[_0x2dd6cc(0x2e1)]||!_0x53dc0f[_0x2dd6cc(0x2b6)]?!0x1:_0x5e96d3['get'](_0x400aa0)[_0x2dd6cc(0x24f)](_0x53dc0f[_0x2dd6cc(0x30f)],_0x53dc0f[_0x2dd6cc(0x2e1)],_0x53dc0f['config'])},_0x36f934={'id':_0x2dd6cc(0x2ac),'type':_0x268d47['CommandType'][_0x2dd6cc(0x271)],'handler':(_0x1e2f5b,_0x6265eb)=>!(_0x6265eb!=null&&_0x6265eb[_0x2dd6cc(0x30f)])||!_0x6265eb[_0x2dd6cc(0x2e1)]?!0x1:_0x1e2f5b[_0x2dd6cc(0x249)](_0x400aa0)['removeFormula'](_0x6265eb[_0x2dd6cc(0x30f)],_0x6265eb[_0x2dd6cc(0x2e1)])},_0x1245e8={'id':_0x2dd6cc(0x1ff),'type':_0x268d47[_0x2dd6cc(0x2fa)][_0x2dd6cc(0x271)],'handler':(_0x1f750f,_0x20e152)=>!(_0x20e152!=null&&_0x20e152[_0x2dd6cc(0x30f)])||!_0x20e152[_0x2dd6cc(0x22f)]?!0x1:_0x1f750f[_0x2dd6cc(0x249)](_0x400aa0)['setResource'](_0x20e152['unitId'],_0x20e152['resource'])},_0x5b0b65={'id':_0x2dd6cc(0x1e5),'type':_0x268d47[_0x2dd6cc(0x2fa)]['MUTATION'],'handler':(_0x55f801,_0x3a0936)=>{const _0x3bb7a9=_0x2dd6cc;if(!(_0x3a0936!=null&&_0x3a0936[_0x3bb7a9(0x30f)])||!_0x3a0936[_0x3bb7a9(0x279)][_0x3bb7a9(0x28f)])return!0x1;let _0x5e4208=_0x55f801[_0x3bb7a9(0x249)](_0x400aa0),_0x50353d=_0x55f801[_0x3bb7a9(0x249)](_0x35cdb4['HostExternalReferenceModel']),_0x2d3053=_0x5e4208['getResource'](_0x3a0936[_0x3bb7a9(0x30f)]);if(!_0x2d3053)return!0x1;let _0x2bb0f9=_0x268d47[_0x3bb7a9(0x2da)]['deepClone'](_0x2d3053),_0x14b35d=!0x1;for(let _0x823061 of _0x3a0936[_0x3bb7a9(0x279)]){var _0x391b86,_0x5165a4,_0x1921fc,_0x95b8ee;let _0xd4c3f7=_0x2bb0f9['formulas'][_0x823061['rangeId']];_0xd4c3f7&&_0xd4c3f7[_0x3bb7a9(0x245)]===_0x823061['expectedFormula']&&((_0x391b86=_0xd4c3f7[_0x3bb7a9(0x23f)])==null?void 0x0:_0x391b86[_0x3bb7a9(0x2b5)])===_0x823061[_0x3bb7a9(0x310)]&&_0x50353d[_0x3bb7a9(0x202)](_0x3a0936[_0x3bb7a9(0x30f)])===_0x823061['expectedReferenceRevision']&&(((_0x5165a4=_0xd4c3f7[_0x3bb7a9(0x2c2)])==null?void 0x0:_0x5165a4['v'])!==_0x823061[_0x3bb7a9(0x2c2)]['v']||((_0x1921fc=_0xd4c3f7[_0x3bb7a9(0x2c2)])==null?void 0x0:_0x1921fc['t'])!==_0x823061[_0x3bb7a9(0x2c2)]['t']||((_0x95b8ee=_0xd4c3f7[_0x3bb7a9(0x2c2)])==null?void 0x0:_0x95b8ee[_0x3bb7a9(0x2b5)])!==_0x823061['lastValue'][_0x3bb7a9(0x2b5)])&&(_0xd4c3f7[_0x3bb7a9(0x2c2)]=_0x268d47[_0x3bb7a9(0x2da)][_0x3bb7a9(0x297)](_0x823061[_0x3bb7a9(0x2c2)]),_0x14b35d=!0x0);}return!_0x14b35d||_0x5e4208[_0x3bb7a9(0x26f)](_0x3a0936['unitId'],_0x2bb0f9);}},_0x2e61bb={'id':_0x2dd6cc(0x2c4),'type':_0x268d47[_0x2dd6cc(0x2fa)]['COMMAND'],'handler':(_0xb4ba4d,_0x4cf34c)=>{const _0x27e135=_0x2dd6cc;if(!(_0x4cf34c!=null&&_0x4cf34c['formula'][_0x27e135(0x2a8)]()))return!0x1;let _0x3205a1=_0x2a4cda(_0xb4ba4d,_0x4cf34c[_0x27e135(0x30f)],'');if(!_0x3205a1)return!0x1;let _0x4c77f4=_0x5e7b80(_0x4cf34c[_0x27e135(0x23e)],_0x3205a1[_0x27e135(0x31e)],_0x2ebd77(_0xb4ba4d,_0x3205a1['unitId']));if(!_0x4c77f4)return!0x1;let _0x347017=_0x4eaf68(_0xb4ba4d,_0x3205a1[_0x27e135(0x30f)],_0x4cf34c[_0x27e135(0x245)],_0x4cf34c[_0x27e135(0x28b)]??[]);if(!_0x347017)return!0x1;let _0x456956=_0x5c65a8(_0x3205a1['body'],_0x3205a1[_0x27e135(0x20c)],_0x3205a1[_0x27e135(0x30f)]),_0x5a0efe=_0x4ca3c2({'documentData':_0x3205a1[_0x27e135(0x313)],'resource':_0x3205a1['resource'],'rangeId':_0x456956,'config':{'formula':_0x4cf34c[_0x27e135(0x245)],..._0x4cf34c[_0x27e135(0x23f)]?{'numberFormat':_0x4cf34c[_0x27e135(0x23f)]}:null},'startOffset':_0x4c77f4[_0x27e135(0x30e)],'endOffset':_0x4c77f4[_0x27e135(0x1e9)]});if(!_0x5a0efe)return!0x1;let _0x4650aa=(0x0,_0x35cdb4['buildUpsertHostExternalReferenceMutations'])(_0xb4ba4d,_0x3205a1[_0x27e135(0x30f)],_0x347017);return!_0x4650aa||!_0x287b85({'accessor':_0xb4ba4d,'document':_0x3205a1['document'],'unitId':_0x3205a1[_0x27e135(0x30f)],'trigger':_0x2e61bb['id'],'rangeId':_0x456956,'previousResource':_0x3205a1[_0x27e135(0x22f)],'nextResource':_0x5a0efe[_0x27e135(0x290)],'previousDocumentData':_0x3205a1[_0x27e135(0x313)],'nextDocumentData':_0x5a0efe[_0x27e135(0x31c)],'cursorOffset':_0x5a0efe['cursorOffset'],'externalMutations':_0x4650aa})?!0x1:{'rangeId':_0x456956,'startOffset':_0x5a0efe[_0x27e135(0x23d)]-0x1,'endOffset':_0x5a0efe[_0x27e135(0x23d)]};}},_0x19bd2b={'id':_0x2dd6cc(0x2dc),'type':_0x268d47['CommandType'][_0x2dd6cc(0x1da)],'handler':(_0x49c613,_0x51795c)=>{const _0x5bd1e4=_0x2dd6cc;if(!(_0x51795c!=null&&_0x51795c['rangeId'])||!_0x51795c[_0x5bd1e4(0x245)][_0x5bd1e4(0x2a8)]())return!0x1;let _0x461fbc=_0x2a4cda(_0x49c613,_0x51795c[_0x5bd1e4(0x30f)],''),_0x1945a0=_0x461fbc==null?void 0x0:_0x461fbc[_0x5bd1e4(0x20c)][_0x5bd1e4(0x2a5)](_0x461fbc[_0x5bd1e4(0x30f)],_0x51795c[_0x5bd1e4(0x2e1)]),_0x1f03b3=_0x461fbc?_0x5bfb7e(_0x461fbc[_0x5bd1e4(0x313)][_0x5bd1e4(0x31e)],_0x51795c[_0x5bd1e4(0x2e1)]):void 0x0;if(!_0x461fbc||!_0x1945a0||!_0x1f03b3)return!0x1;let _0x93031e=_0x4eaf68(_0x49c613,_0x461fbc[_0x5bd1e4(0x30f)],_0x51795c['formula'],_0x51795c['externalReferences']??[]);if(!_0x93031e)return!0x1;let _0x31ae5b=(0x0,_0x35cdb4[_0x5bd1e4(0x276)])(_0x49c613,_0x461fbc['unitId'],_0x93031e);if(!_0x31ae5b)return!0x1;let _0x10ccfa=_0x28db7b(_0x461fbc[_0x5bd1e4(0x22f)]);return _0x10ccfa['formulas'][_0x51795c['rangeId']]={'formula':_0x51795c[_0x5bd1e4(0x245)],..._0x51795c[_0x5bd1e4(0x23f)]?{'numberFormat':_0x51795c[_0x5bd1e4(0x23f)]}:_0x1945a0[_0x5bd1e4(0x23f)]?{'numberFormat':_0x1945a0[_0x5bd1e4(0x23f)]}:null},_0x287b85({'accessor':_0x49c613,'document':_0x461fbc['document'],'unitId':_0x461fbc['unitId'],'trigger':_0x19bd2b['id'],'rangeId':_0x51795c[_0x5bd1e4(0x2e1)],'previousResource':_0x461fbc[_0x5bd1e4(0x22f)],'nextResource':_0x10ccfa,'cursorOffset':_0x1f03b3[_0x5bd1e4(0x31b)]+0x1,'externalMutations':_0x31ae5b});}},_0x450b4f={'id':_0x2dd6cc(0x23c),'type':_0x268d47[_0x2dd6cc(0x2fa)][_0x2dd6cc(0x1da)],'handler':(_0x24136e,_0x4fc9f6)=>{const _0x480963=_0x2dd6cc;if(!(_0x4fc9f6!=null&&_0x4fc9f6[_0x480963(0x2e1)]))return!0x1;let _0x2869f2=_0x2a4cda(_0x24136e,_0x4fc9f6[_0x480963(0x30f)],''),_0x1d85fe=_0x2869f2==null?void 0x0:_0x2869f2[_0x480963(0x20c)]['getFormula'](_0x2869f2[_0x480963(0x30f)],_0x4fc9f6[_0x480963(0x2e1)]),_0x256b68=_0x2869f2?_0x5bfb7e(_0x2869f2[_0x480963(0x313)][_0x480963(0x31e)],_0x4fc9f6[_0x480963(0x2e1)]):void 0x0;if(!_0x2869f2||!_0x1d85fe||!_0x256b68)return!0x1;let _0x4bf076=_0x28db7b(_0x2869f2[_0x480963(0x22f)]);return _0x4bf076[_0x480963(0x2a3)][_0x4fc9f6['rangeId']]={..._0x1d85fe,..._0x4fc9f6[_0x480963(0x23f)]?{'numberFormat':_0x4fc9f6['numberFormat']}:null},_0x4fc9f6[_0x480963(0x23f)]||delete _0x4bf076[_0x480963(0x2a3)][_0x4fc9f6[_0x480963(0x2e1)]][_0x480963(0x23f)],_0x287b85({'accessor':_0x24136e,'document':_0x2869f2['document'],'unitId':_0x2869f2[_0x480963(0x30f)],'trigger':_0x450b4f['id'],'rangeId':_0x4fc9f6['rangeId'],'previousResource':_0x2869f2['resource'],'nextResource':_0x4bf076,'cursorOffset':_0x256b68[_0x480963(0x31b)]+0x1,'externalMutations':{}});}},_0x36cdb0={'id':'docs-formula.command.remove','type':_0x268d47[_0x2dd6cc(0x2fa)][_0x2dd6cc(0x1da)],'handler':(_0x35fb26,_0x3c4ddc)=>_0x3f1faf(_0x35fb26,_0x3c4ddc,'',_0x36cdb0['id'])},_0x360b38={'id':_0x2dd6cc(0x1f5),'type':_0x268d47[_0x2dd6cc(0x2fa)][_0x2dd6cc(0x1da)],'handler':(_0x4d6ee8,_0x307bf6)=>_0x3f1faf(_0x4d6ee8,_0x307bf6,(_0x307bf6==null?void 0x0:_0x307bf6['text'])??'',_0x360b38['id'])},_0x4196d1={'id':_0x2dd6cc(0x282),'type':_0x268d47['CommandType'][_0x2dd6cc(0x1da)],'handler':(_0xbf27cb,_0x2c9688)=>{const _0x814be5=_0x2dd6cc;if(!(_0x2c9688!=null&&_0x2c9688[_0x814be5(0x2e1)]))return!0x1;let _0x322760=_0x2a4cda(_0xbf27cb,_0x2c9688[_0x814be5(0x30f)],'');if(!_0x322760)return!0x1;let _0x15983c=_0xbf27cb['get'](_0xd0fdb1)[_0x814be5(0x241)]({'unitId':_0x322760[_0x814be5(0x30f)],'rangeId':_0x2c9688[_0x814be5(0x2e1)]});return _0x15983c?_0x3f1faf(_0xbf27cb,_0x2c9688,_0x15983c[_0x814be5(0x2fe)],_0x4196d1['id']):!0x1;}};function _0x3f1faf(_0x1502e0,_0x25580d,_0x27c686,_0x3d4ec5){const _0x2d9240=_0x2dd6cc;if(!(_0x25580d!=null&&_0x25580d['rangeId']))return!0x1;let _0x151fe1=_0x2a4cda(_0x1502e0,_0x25580d[_0x2d9240(0x30f)],'');if(!_0x151fe1)return!0x1;let _0x3eba76=_0x366cd0({'documentData':_0x151fe1[_0x2d9240(0x313)],'resource':_0x151fe1[_0x2d9240(0x22f)],'rangeId':_0x25580d['rangeId'],'text':_0x27c686});return _0x3eba76?_0x287b85({'accessor':_0x1502e0,'document':_0x151fe1[_0x2d9240(0x2a1)],'unitId':_0x151fe1[_0x2d9240(0x30f)],'trigger':_0x3d4ec5,'rangeId':_0x25580d[_0x2d9240(0x2e1)],'previousResource':_0x151fe1[_0x2d9240(0x22f)],'nextResource':_0x3eba76['nextResource'],'previousDocumentData':_0x151fe1[_0x2d9240(0x313)],'nextDocumentData':_0x3eba76[_0x2d9240(0x31c)],'cursorOffset':_0x3eba76[_0x2d9240(0x23d)],'externalMutations':{}}):!0x1;}function _0x2a4cda(_0x845b88,_0xc47cde,_0xe88d04){const _0x5114b4=_0x2dd6cc;if(_0xe88d04)return null;let _0x4ca932=_0x845b88['get'](_0x268d47['IUniverInstanceService']),_0x4aaf0f=(_0xc47cde?_0x4ca932[_0x5114b4(0x2a2)](_0xc47cde,_0x268d47[_0x5114b4(0x212)][_0x5114b4(0x254)]):_0x4ca932['getCurrentUnitOfType'](_0x268d47['UniverInstanceType'][_0x5114b4(0x254)]))??null;if(!_0x4aaf0f)return null;let _0x498a35=_0x4aaf0f['getSnapshot'](),_0xb3eb8e=_0x498a35[_0x5114b4(0x31e)];if(_0x498a35[_0x5114b4(0x250)]||!_0xb3eb8e)return null;let _0x2bae34=_0x845b88['get'](_0x400aa0);return _0x2bae34['getLoadError'](_0x4aaf0f[_0x5114b4(0x204)]())?null:{'document':_0x4aaf0f,'body':_0xb3eb8e,'documentData':_0x498a35,'model':_0x2bae34,'resource':_0x2bae34[_0x5114b4(0x30b)](_0x4aaf0f['getUnitId']())??_0x2e7c75(),'unitId':_0x4aaf0f[_0x5114b4(0x204)]()};}function _0x2ebd77(_0x25f21f,_0x47916d){const _0xc3af5e=_0x2dd6cc;var _0xfdf299;return(_0xfdf299=_0x25f21f[_0xc3af5e(0x249)](_0x13b587[_0xc3af5e(0x2d7)])['getTextRanges']({'subUnitId':_0x47916d,'unitId':_0x47916d}))==null?void 0x0:_0xfdf299[0x0];}function _0x5e7b80(_0x5e136f,_0x4d270b,_0x5adde4){const _0x1533c9=_0x2dd6cc;if((_0x5e136f==null?void 0x0:_0x5e136f[_0x1533c9(0x253)])===_0x1533c9(0x2dd)){var _0x3e3484;let _0x536916=((_0x3e3484=_0x4d270b[_0x1533c9(0x1cc)])==null?void 0x0:_0x3e3484[_0x1533c9(0x2d9)](_0x1bea6e=>_0x1bea6e['paragraphId']===_0x5e136f[_0x1533c9(0x220)]))??[];if(_0x536916['length']!==0x1)return null;let _0x57932c=_0x536916[0x0],_0x1b6d1f=(0x0,_0x268d47[_0x1533c9(0x222)])(_0x4d270b,_0x57932c),_0x5ed7cc=_0x57932c[_0x1533c9(0x210)]-_0x1b6d1f,_0x271a49=_0x5e136f['position']===_0x1533c9(0x2eb)?_0x5ed7cc:_0x5e136f[_0x1533c9(0x27e)];if(!Number['isInteger'](_0x271a49)||_0x271a49<0x0||_0x271a49>_0x5ed7cc)return null;let _0x2d81e5=_0x1b6d1f+_0x271a49;return{'startOffset':_0x2d81e5,'endOffset':_0x2d81e5};}if((_0x5e136f==null?void 0x0:_0x5e136f[_0x1533c9(0x253)])===_0x1533c9(0x305))return!Number[_0x1533c9(0x307)](_0x5e136f[_0x1533c9(0x30e)])||!Number[_0x1533c9(0x307)](_0x5e136f['endOffset'])?null:{'startOffset':Math[_0x1533c9(0x1df)](_0x5e136f[_0x1533c9(0x30e)],_0x5e136f[_0x1533c9(0x1e9)]),'endOffset':Math[_0x1533c9(0x1ea)](_0x5e136f[_0x1533c9(0x30e)],_0x5e136f[_0x1533c9(0x1e9)])};let _0x4362c2=(_0x5e136f==null?void 0x0:_0x5e136f[_0x1533c9(0x253)])===_0x1533c9(0x2d4)?_0x5e136f[_0x1533c9(0x2d4)]:_0x5adde4;return!_0x4362c2||_0x4362c2[_0x1533c9(0x233)]?null:{'startOffset':Math[_0x1533c9(0x1df)](_0x4362c2['startOffset'],_0x4362c2['endOffset']),'endOffset':Math[_0x1533c9(0x1ea)](_0x4362c2['startOffset'],_0x4362c2[_0x1533c9(0x1e9)])};}function _0x4eaf68(_0x74cb9b,_0xf8b55d,_0x232643,_0x5ad803){const _0x479e85=_0x2dd6cc;let _0xf057d=_0x74cb9b[_0x479e85(0x249)](_0x144841[_0x479e85(0x256)]),_0x18714f=_0x232643['startsWith']('=')?_0x232643[_0x479e85(0x24c)](0x1):_0x232643,_0x1f1e04=_0xf057d[_0x479e85(0x280)](_0x18714f);if(!_0x1f1e04)return null;let _0x263955=_0x74cb9b[_0x479e85(0x249)](_0x35cdb4[_0x479e85(0x243)]),_0x1ebfd2=(0x0,_0x35cdb4[_0x479e85(0x255)])({'qualifiers':(0x0,_0x35cdb4[_0x479e85(0x270)])(_0x1f1e04),'explicitReferences':_0x5ad803??[],'resolveBinding':_0x12b8b3=>_0x263955[_0x479e85(0x1e2)](_0xf8b55d,_0x12b8b3)});return _0x1ebfd2[_0x479e85(0x1e7)]===_0x479e85(0x2b3)?_0x1ebfd2[_0x479e85(0x281)]:null;}function _0x5c65a8(_0x3622af,_0x1bdc4c,_0x12b388){const _0x50b430=_0x2dd6cc;var _0x4015a3;let _0x1efa2b=(0x0,_0x268d47[_0x50b430(0x269)])(0x6);for(;_0x3622af!=null&&(_0x4015a3=_0x3622af[_0x50b430(0x31a)])!=null&&_0x4015a3[_0x50b430(0x218)](_0xfee56c=>_0xfee56c[_0x50b430(0x2e1)]===_0x1efa2b)||_0x1bdc4c[_0x50b430(0x2a5)](_0x12b388,_0x1efa2b);)_0x1efa2b=(0x0,_0x268d47[_0x50b430(0x269)])(0x6);return _0x1efa2b;}function _0x4ca3c2(_0x1aaedf){try{return _0x40b110(_0x1aaedf);}catch(_0xeb8ea0){if(_0xeb8ea0 instanceof _0x4d259a)return null;throw _0xeb8ea0;}}function _0x476677(_0x3b9222){const _0x7f4748=_0x2dd6cc;let _0x46672e=_0x3b9222['previousDocumentData']&&_0x3b9222[_0x7f4748(0x31c)]?_0x2a0ac5(_0x3b9222[_0x7f4748(0x2a1)],_0x3b9222[_0x7f4748(0x30f)],_0x3b9222[_0x7f4748(0x1d3)],_0x3b9222['nextDocumentData'],_0x3b9222[_0x7f4748(0x23d)],_0x3b9222[_0x7f4748(0x2d3)]):null;return _0x3b9222[_0x7f4748(0x1d3)]&&_0x3b9222[_0x7f4748(0x31c)]&&!_0x46672e?null:{'documentRedo':_0x46672e,'resourceRedo':{'id':_0x1245e8['id'],'params':{'unitId':_0x3b9222[_0x7f4748(0x30f)],'resource':_0x3b9222[_0x7f4748(0x290)]}},'resourceUndo':{'id':_0x1245e8['id'],'params':{'unitId':_0x3b9222['unitId'],'resource':_0x3b9222[_0x7f4748(0x21e)]}}};}function _0x8660bc(_0x3a9d5a,_0x2e620a,_0x1cbde6,_0x49311e){const _0x2ff6cf=_0x2dd6cc;_0x49311e[_0x2ff6cf(0x288)]({'id':_0x3a9d5a[_0x2ff6cf(0x2d3)]+':'+_0x3a9d5a[_0x2ff6cf(0x2e1)],'unitID':_0x3a9d5a[_0x2ff6cf(0x30f)],'redoMutations':[..._0x3a9d5a[_0x2ff6cf(0x29d)][_0x2ff6cf(0x2de)]?[_0x3a9d5a[_0x2ff6cf(0x29d)]['redoMutation']]:[],..._0x2e620a['documentRedo']?[_0x2e620a['documentRedo']]:[],_0x2e620a['resourceRedo']],'undoMutations':[_0x2e620a['resourceUndo'],..._0x1cbde6?[_0x1cbde6]:[],..._0x3a9d5a[_0x2ff6cf(0x29d)]['undoMutation']?[_0x3a9d5a[_0x2ff6cf(0x29d)]['undoMutation']]:[]]});}function _0x287b85(_0x3f6cdb){const _0x2762c4=_0x2dd6cc;let _0x530fd1=_0x3f6cdb[_0x2762c4(0x221)][_0x2762c4(0x249)](_0x268d47[_0x2762c4(0x1ef)]),_0x30f62f=_0x3f6cdb[_0x2762c4(0x221)][_0x2762c4(0x249)](_0x268d47[_0x2762c4(0x2ff)]),_0x551318=_0x3f6cdb[_0x2762c4(0x221)][_0x2762c4(0x249)](_0x13b587[_0x2762c4(0x2d7)]),_0x43e76b=_0x476677(_0x3f6cdb);if(!_0x43e76b)return!0x1;let _0x6dfb78=!0x1,_0x3cbb44=null,_0x112753=!0x1;try{if(_0x3f6cdb[_0x2762c4(0x29d)][_0x2762c4(0x2de)]){if(!_0x530fd1[_0x2762c4(0x1f8)](_0x3f6cdb[_0x2762c4(0x29d)]['redoMutation']['id'],_0x3f6cdb[_0x2762c4(0x29d)][_0x2762c4(0x2de)]['params']))return!0x1;_0x6dfb78=!0x0;}if(_0x43e76b[_0x2762c4(0x30a)]){let _0x39366a=_0x530fd1[_0x2762c4(0x1f8)](_0x43e76b[_0x2762c4(0x30a)]['id'],_0x43e76b['documentRedo'][_0x2762c4(0x2d5)]);if(!_0x39366a)return _0xb9b145(_0x530fd1,_0x3f6cdb[_0x2762c4(0x29d)],_0x6dfb78),!0x1;_0x3cbb44={'id':_0x13b587[_0x2762c4(0x1eb)]['id'],'params':{..._0x39366a,'noHistory':!0x0,'noNeedSetTextRange':!0x0,'segmentId':''}};}if(!_0x530fd1[_0x2762c4(0x1f8)](_0x43e76b[_0x2762c4(0x24a)]['id'],_0x43e76b[_0x2762c4(0x24a)][_0x2762c4(0x2d5)]))return _0x25a2c0(_0x530fd1,_0x3cbb44),_0xb9b145(_0x530fd1,_0x3f6cdb[_0x2762c4(0x29d)],_0x6dfb78),!0x1;_0x112753=!0x0,_0x8660bc(_0x3f6cdb,_0x43e76b,_0x3cbb44,_0x30f62f);}catch(_0x588ff9){throw _0x112753&&_0x530fd1[_0x2762c4(0x1f8)](_0x43e76b[_0x2762c4(0x224)]['id'],_0x43e76b[_0x2762c4(0x224)][_0x2762c4(0x2d5)]),_0x25a2c0(_0x530fd1,_0x3cbb44),_0xb9b145(_0x530fd1,_0x3f6cdb['externalMutations'],_0x6dfb78),_0x588ff9;}return _0x551318[_0x2762c4(0x2f8)]([{'startOffset':_0x3f6cdb[_0x2762c4(0x23d)],'endOffset':_0x3f6cdb[_0x2762c4(0x23d)],'segmentId':''}],{'unitId':_0x3f6cdb['unitId'],'subUnitId':_0x3f6cdb[_0x2762c4(0x30f)]},!0x1,{[_0x13b587[_0x2762c4(0x304)]]:!0x0}),!0x0;}function _0x2a0ac5(_0x259087,_0x210302,_0x1dbc52,_0xa033ab,_0x35b562,_0x4369bd){const _0x1a2d2e=_0x2dd6cc;let _0x35f1db=_0x383ae5(_0x1dbc52,_0xa033ab,(0x0,_0x268d47[_0x1a2d2e(0x2c8)])(_0x259087,''));return _0x35f1db?{'id':_0x13b587[_0x1a2d2e(0x1eb)]['id'],'params':{'unitId':_0x210302,'actions':_0x35f1db,'segmentId':'','textRanges':[{'startOffset':_0x35b562,'endOffset':_0x35b562,'collapsed':!0x0,'segmentId':''}],'isEditing':!0x1,'noHistory':!0x0,'noNeedSetTextRange':!0x0,'trigger':_0x4369bd}}:null;}function _0x25a2c0(_0x29319f,_0x14ba57){const _0x1b4a4e=_0x2dd6cc;_0x14ba57&&_0x29319f[_0x1b4a4e(0x1f8)](_0x14ba57['id'],_0x14ba57[_0x1b4a4e(0x2d5)]);}function _0xb9b145(_0x2b6bad,_0x1d5d62,_0x20c652){const _0x1e6f1c=_0x2dd6cc;_0x20c652&&_0x1d5d62[_0x1e6f1c(0x1d4)]&&_0x2b6bad[_0x1e6f1c(0x1f8)](_0x1d5d62[_0x1e6f1c(0x1d4)]['id'],_0x1d5d62[_0x1e6f1c(0x1d4)][_0x1e6f1c(0x2d5)]);}function _0x383ae5(_0x348555,_0x52dfc5,_0x28a1b6){const _0x35fb24=_0x2dd6cc;let _0x2b1627=_0x348555[_0x35fb24(0x31e)],_0x5b763a=_0x52dfc5[_0x35fb24(0x31e)],_0x10c9d7=_0x497697(_0x2b1627==null?void 0x0:_0x2b1627['dataStream'],_0x5b763a==null?void 0x0:_0x5b763a[_0x35fb24(0x2ea)]);if(!_0x10c9d7||!_0x5b763a)return null;let _0x260304=new _0x268d47[(_0x35fb24(0x1f7))]();return _0x260304[_0x35fb24(0x25f)](_0x10c9d7[_0x35fb24(0x2f3)]),_0x10c9d7[_0x35fb24(0x28c)]>0x0&&_0x260304[_0x35fb24(0x294)](_0x10c9d7[_0x35fb24(0x28c)],(0x0,_0x268d47[_0x35fb24(0x268)])(_0x5b763a,_0x10c9d7[_0x35fb24(0x2f3)],_0x10c9d7['start']+_0x10c9d7[_0x35fb24(0x28c)],!0x1)),_0x10c9d7[_0x35fb24(0x201)]>0x0&&_0x260304[_0x35fb24(0x2aa)](_0x10c9d7[_0x35fb24(0x201)]),_0x268d47[_0x35fb24(0x258)]['getInstance']()['editOp'](_0x260304[_0x35fb24(0x251)](),_0x28a1b6);}function _0x497697(_0x3879b0,_0x418d77){const _0x8f301d=_0x2dd6cc;if(_0x3879b0==null||_0x418d77==null||_0x3879b0===_0x418d77)return null;let _0x30d6bc=0x0;for(;_0x30d6bc<_0x3879b0[_0x8f301d(0x28f)]&&_0x30d6bc<_0x418d77[_0x8f301d(0x28f)]&&_0x3879b0[_0x30d6bc]===_0x418d77[_0x30d6bc];)_0x30d6bc+=0x1;let _0x11a9a1=_0x3879b0['length'],_0x39ae8e=_0x418d77[_0x8f301d(0x28f)];for(;_0x11a9a1>_0x30d6bc&&_0x39ae8e>_0x30d6bc&&_0x3879b0[_0x11a9a1-0x1]===_0x418d77[_0x39ae8e-0x1];)--_0x11a9a1,--_0x39ae8e;return{'start':_0x30d6bc,'deleteLength':_0x11a9a1-_0x30d6bc,'insertLength':_0x39ae8e-_0x30d6bc};}function _0x28db7b(_0x31b277){const _0x16e26d=_0x2dd6cc;return{'formulas':Object[_0x16e26d(0x2b7)](Object['entries'](_0x31b277[_0x16e26d(0x2a3)])[_0x16e26d(0x1cf)](([_0x2f25b0,_0x2e1829])=>[_0x2f25b0,{..._0x2e1829,..._0x2e1829[_0x16e26d(0x23f)]?{'numberFormat':{..._0x2e1829[_0x16e26d(0x23f)]}}:null,..._0x2e1829[_0x16e26d(0x2c2)]?{'lastValue':{..._0x2e1829[_0x16e26d(0x2c2)]}}:null}]))};}let _0x4a4ef0=class extends _0x268d47[_0x2dd6cc(0x298)]{constructor(_0x1f6f12,_0x1332d5,_0x169c11,_0x39e933){const _0x2b06f0=_0x2dd6cc;super(),this[_0x2b06f0(0x30d)]=_0x1f6f12,this[_0x2b06f0(0x261)]=_0x1332d5,this['_model']=_0x169c11,this[_0x2b06f0(0x2c0)]=_0x39e933,_0x2997b9(this,'_pendingUnitIds',new Set()),_0x2997b9(this,'_syncScheduled',!0x1),_0x2997b9(this,_0x2b06f0(0x1e0),!0x1),this[_0x2b06f0(0x30d)]['getAllUnitsForType'](_0x268d47[_0x2b06f0(0x212)][_0x2b06f0(0x254)])[_0x2b06f0(0x2e9)](_0x469ca8=>this[_0x2b06f0(0x2c0)][_0x2b06f0(0x2c9)](_0x469ca8)),this[_0x2b06f0(0x2d2)](this[_0x2b06f0(0x2bb)][_0x2b06f0(0x2bc)][_0x2b06f0(0x28a)](({unitId:_0x43d3e7})=>this[_0x2b06f0(0x229)](_0x43d3e7))),this[_0x2b06f0(0x2d2)](this[_0x2b06f0(0x30d)][_0x2b06f0(0x1f6)][_0x2b06f0(0x28a)](({unit:_0x2b0b68})=>{const _0xd12d=_0x2b06f0;_0x2b0b68[_0xd12d(0x253)]===_0x268d47[_0xd12d(0x212)][_0xd12d(0x254)]&&this[_0xd12d(0x1d2)](_0x2b0b68[_0xd12d(0x204)]());})),this[_0x2b06f0(0x2d2)](this[_0x2b06f0(0x30d)][_0x2b06f0(0x284)][_0x2b06f0(0x28a)](_0x38bf09=>{const _0x53d48f=_0x2b06f0;this[_0x53d48f(0x2c0)][_0x53d48f(0x1fb)](_0x38bf09[_0x53d48f(0x204)]());})),this[_0x2b06f0(0x2d2)](this[_0x2b06f0(0x261)][_0x2b06f0(0x29b)](_0x707ef7=>{const _0x4d80b2=_0x2b06f0;if(_0x707ef7['id']===_0x13b587[_0x4d80b2(0x1eb)]['id']&&_0x543fff(_0x707ef7[_0x4d80b2(0x2d5)])){let _0x290750=_0x707ef7[_0x4d80b2(0x2d5)];_0x290750[_0x4d80b2(0x233)]||this[_0x4d80b2(0x229)](_0x290750[_0x4d80b2(0x30f)]);}}));}[_0x2dd6cc(0x259)](){const _0x1fb1fd=_0x2dd6cc;this['_isDisposed']=!0x0,super[_0x1fb1fd(0x259)]();}[_0x2dd6cc(0x1d2)](_0x2e2968){const _0x56c577=_0x2dd6cc;this['_pendingUnitIds']['add'](_0x2e2968),this[_0x56c577(0x20b)]||(this[_0x56c577(0x20b)]=!0x0,queueMicrotask(()=>{const _0x4479c9=_0x56c577;if(this['_syncScheduled']=!0x1,this[_0x4479c9(0x1e0)])return;let _0x2a3458=Array[_0x4479c9(0x295)](this[_0x4479c9(0x246)]);this[_0x4479c9(0x246)]['clear'](),_0x2a3458[_0x4479c9(0x2e9)](_0x32805f=>this[_0x4479c9(0x229)](_0x32805f));}));}[_0x2dd6cc(0x229)](_0x7e6b0a){const _0x3d296d=_0x2dd6cc;let _0x2f5a45=this['_instanceService'][_0x3d296d(0x2a2)](_0x7e6b0a,_0x268d47[_0x3d296d(0x212)][_0x3d296d(0x254)]);_0x2f5a45&&this[_0x3d296d(0x2c0)][_0x3d296d(0x2c9)](_0x2f5a45);}};_0x4a4ef0=_0x1047e5([_0x26635b(0x0,_0x268d47[_0x2dd6cc(0x292)]),_0x26635b(0x1,_0x268d47[_0x2dd6cc(0x1ef)]),_0x26635b(0x2,(0x0,_0x268d47[_0x2dd6cc(0x266)])(_0x400aa0)),_0x26635b(0x3,(0x0,_0x268d47[_0x2dd6cc(0x266)])(_0xd0fdb1))],_0x4a4ef0);function _0x543fff(_0x37c442){const _0x335b0d=_0x2dd6cc;return typeof _0x37c442==_0x335b0d(0x2f0)&&!!_0x37c442&&_0x335b0d(0x30f)in _0x37c442&&typeof _0x37c442[_0x335b0d(0x30f)]==_0x335b0d(0x1de)&&(!(_0x335b0d(0x233)in _0x37c442)||_0x37c442[_0x335b0d(0x233)]===void 0x0||typeof _0x37c442[_0x335b0d(0x233)]==_0x335b0d(0x1de));}let _0x13cea0=class extends _0x268d47[_0x2dd6cc(0x298)]{constructor(_0x1cdc9a,_0x14feec){const _0x414364=_0x2dd6cc;super(),this[_0x414364(0x215)]=_0x1cdc9a,this[_0x414364(0x217)]=_0x14feec,this[_0x414364(0x2d2)](this[_0x414364(0x215)]['registerPluginResource']({'pluginName':_0x422f2b,'businesses':[_0x268d47[_0x414364(0x212)][_0x414364(0x254)]],'toJson':_0x2195b4=>JSON[_0x414364(0x1f1)](this[_0x414364(0x217)][_0x414364(0x251)](_0x2195b4)),'parseJson':_0x2ca72c=>JSON[_0x414364(0x22c)](_0x2ca72c),'onLoad':(_0x3aa044,_0x26022a)=>{const _0xba6e89=_0x414364;this[_0xba6e89(0x217)][_0xba6e89(0x1d8)](_0x3aa044,_0x26022a);},'onUnLoad':_0x32a460=>this['_docFormulaModel'][_0x414364(0x1e1)](_0x32a460)}));}};_0x13cea0=_0x1047e5([_0x26635b(0x0,_0x268d47[_0x2dd6cc(0x29f)]),_0x26635b(0x1,(0x0,_0x268d47[_0x2dd6cc(0x266)])(_0x400aa0))],_0x13cea0);var _0x4a78a4=_0x2dd6cc(0x2ec),_0x6c6a1a='1.4.0';let _0x3b21dd={},_0x222882=class extends _0x268d47[_0x2dd6cc(0x298)]{constructor(_0x3b1b3b,_0x339d2e,_0x1f57c4){const _0x536a93=_0x2dd6cc;super(),this[_0x536a93(0x2c1)]=_0x3b1b3b,this[_0x536a93(0x2e0)]=_0x339d2e,this['disposeWithMe'](_0x1f57c4[_0x536a93(0x1e8)]({'resolve':(_0x5f0b7f,_0x1356f3)=>{const _0x4d3d7e=_0x536a93;var _0x26dec7;return((_0x26dec7=_0x1356f3['customRanges'])==null?void 0x0:_0x26dec7[_0x4d3d7e(0x2d9)](_0x10ebc7)[_0x4d3d7e(0x1cf)](_0x2ba9aa=>({'startOffset':_0x2ba9aa['startIndex'],'endOffset':_0x2ba9aa[_0x4d3d7e(0x31b)]+0x1,'text':this['resolveFormula'](_0x5f0b7f,_0x2ba9aa[_0x4d3d7e(0x2e1)])})))??[];}})),this[_0x536a93(0x2d2)](this['_formulaService'][_0x536a93(0x267)][_0x536a93(0x28a)](({unitId:_0x44ed63})=>{_0x1f57c4['notifyTextChanged'](_0x44ed63);}));}[_0x2dd6cc(0x214)](_0x572d87,_0x8df16d){const _0x5849a3=_0x2dd6cc;var _0x5089fa;return((_0x5089fa=this['_formulaService'][_0x5849a3(0x241)]({'unitId':_0x572d87,'rangeId':_0x8df16d}))==null?void 0x0:_0x5089fa['text'])??'';}['resolveText'](_0x20bcf1,_0x5e4e4d,_0x1e293b){const _0x5c955a=_0x2dd6cc;var _0x306f5f;let _0x928583=this[_0x5c955a(0x2c1)][_0x5c955a(0x2a2)](_0x20bcf1,_0x268d47['UniverInstanceType'][_0x5c955a(0x254)]),_0x50f65e=_0x928583==null?void 0x0:_0x928583[_0x5c955a(0x27f)]();if(!_0x50f65e)return'';let _0x51259a=_0x50f65e[_0x5c955a(0x2ea)]['slice'](_0x5e4e4d,_0x1e293b),_0x50f127=((_0x306f5f=_0x50f65e[_0x5c955a(0x31a)])==null?void 0x0:_0x306f5f['filter'](_0x2c2aac=>_0x10ebc7(_0x2c2aac)&&_0x2c2aac['startIndex']>=_0x5e4e4d&&_0x2c2aac[_0x5c955a(0x31b)]<_0x1e293b)[_0x5c955a(0x203)]((_0x552d82,_0x34380a)=>_0x34380a[_0x5c955a(0x210)]-_0x552d82['startIndex']))??[];for(let _0x543010 of _0x50f127){let _0x2a270c=_0x543010[_0x5c955a(0x210)]-_0x5e4e4d,_0x2c3cab=_0x543010[_0x5c955a(0x31b)]-_0x5e4e4d+0x1;_0x51259a=''+_0x51259a[_0x5c955a(0x24c)](0x0,_0x2a270c)+this[_0x5c955a(0x214)](_0x20bcf1,_0x543010[_0x5c955a(0x2e1)])+_0x51259a['slice'](_0x2c3cab);}return _0x51259a;}[_0x2dd6cc(0x2f1)](_0x180c99){return _0x25d135(_0x180c99);}[_0x2dd6cc(0x24d)](_0x319dc2,_0xd856d8,_0x49cbb1={}){const _0x39df64=_0x2dd6cc;var _0x430ff5;return _0xff40f2({'id':_0x319dc2,'body':_0xd856d8,'documentStyle':{}},(((_0x430ff5=_0xd856d8[_0x39df64(0x31a)])==null?void 0x0:_0x430ff5[_0x39df64(0x2d9)](_0x10ebc7))??[])['map'](_0x4b175c=>({'rangeId':_0x4b175c['rangeId'],'text':_0x49cbb1[_0x4b175c[_0x39df64(0x2e1)]]??this[_0x39df64(0x214)](_0x319dc2,_0x4b175c[_0x39df64(0x2e1)])})))['body']??{'dataStream':''};}};_0x222882=_0x1047e5([_0x26635b(0x0,_0x268d47['IUniverInstanceService']),_0x26635b(0x1,(0x0,_0x268d47[_0x2dd6cc(0x266)])(_0xd0fdb1)),_0x26635b(0x2,(0x0,_0x268d47['Inject'])(_0x13b587['DocTextResolverService']))],_0x222882);function _0x25d135(_0x4275d1){const _0x5155f2=_0x2dd6cc;var _0x2ee3f7,_0x40a4d0;let _0x23654a=_0x37118b(_0x4275d1),_0x2cb4b0=_0xff40f2(_0x4275d1,(((_0x2ee3f7=_0x4275d1[_0x5155f2(0x31e)])==null||(_0x2ee3f7=_0x2ee3f7[_0x5155f2(0x31a)])==null?void 0x0:_0x2ee3f7[_0x5155f2(0x2d9)](_0x10ebc7))??[])[_0x5155f2(0x1cf)](_0x56976e=>({'rangeId':_0x56976e[_0x5155f2(0x2e1)],'text':_0x55f822(_0x23654a==null?void 0x0:_0x23654a[_0x5155f2(0x2a3)][_0x56976e['rangeId']])})));return _0x2cb4b0[_0x5155f2(0x2a6)]=(_0x40a4d0=_0x2cb4b0[_0x5155f2(0x2a6)])==null?void 0x0:_0x40a4d0['filter'](_0x30e854=>_0x30e854[_0x5155f2(0x315)]!==_0x422f2b),_0x2cb4b0;}function _0x37118b(_0x201d14){const _0x828753=_0x2dd6cc;var _0x395c19;let _0xf530b3=(_0x395c19=_0x201d14[_0x828753(0x2a6)])==null||(_0x395c19=_0x395c19['find'](_0xbfa8ba=>_0xbfa8ba['name']===_0x828753(0x2a0)))==null?void 0x0:_0x395c19[_0x828753(0x312)];if(_0xf530b3)try{let _0x39e5bb=JSON[_0x828753(0x22c)](_0xf530b3);return _0x277cf0(_0x39e5bb)?_0x39e5bb:void 0x0;}catch{return;}}function _0x55f822(_0x1ebda3){const _0x1c027c=_0x2dd6cc;return _0x1ebda3?(0x0,_0x35cdb4[_0x1c027c(0x24e)])({'lastValue':_0x1ebda3[_0x1c027c(0x2c2)],'numberFormat':_0x1ebda3[_0x1c027c(0x23f)]})['text']:'';}let _0x25da14=class extends _0x268d47[_0x2dd6cc(0x298)]{constructor(_0x11c9ee,_0x2a974a,_0x333b7e){const _0x1831b5=_0x2dd6cc;super(),this[_0x1831b5(0x2e0)]=_0x11c9ee,this[_0x1831b5(0x1ee)]=_0x2a974a,this[_0x1831b5(0x2d2)](_0x333b7e[_0x1831b5(0x1f3)](this));}[_0x2dd6cc(0x20a)](_0x22f37c){const _0x8f6843=_0x2dd6cc;let _0x28363d=new Map();for(let _0x5dd32a of this[_0x8f6843(0x2e0)][_0x8f6843(0x247)]()){var _0x25476e;if(!this['_cacheEligibilityService'][_0x8f6843(0x28e)](_0x5dd32a['config'][_0x8f6843(0x245)],_0x5dd32a[_0x8f6843(0x2ed)])['eligible'])continue;let _0x1a66de=(0x0,_0x35cdb4[_0x8f6843(0x24b)])(_0x5dd32a['liveResult']),_0x17a4e8=_0x1a66de?(0x0,_0x35cdb4['toFormulaLastValue'])(_0x1a66de):null;if(!_0x17a4e8||_0x5e6240(_0x5dd32a[_0x8f6843(0x2b6)][_0x8f6843(0x2c2)],_0x17a4e8))continue;let _0x151ccf=_0x28363d[_0x8f6843(0x249)](_0x5dd32a[_0x8f6843(0x263)][_0x8f6843(0x30f)])??[];_0x151ccf[_0x8f6843(0x2c3)]({'rangeId':_0x5dd32a[_0x8f6843(0x263)][_0x8f6843(0x2e1)],'expectedFormula':_0x5dd32a[_0x8f6843(0x2b6)]['formula'],'expectedNumberFormat':(_0x25476e=_0x5dd32a[_0x8f6843(0x2b6)][_0x8f6843(0x23f)])==null?void 0x0:_0x25476e[_0x8f6843(0x2b5)],'expectedReferenceRevision':_0x5dd32a[_0x8f6843(0x2ce)],'lastValue':_0x17a4e8}),_0x28363d[_0x8f6843(0x234)](_0x5dd32a['identity'][_0x8f6843(0x30f)],_0x151ccf);}return Array[_0x8f6843(0x295)](_0x28363d,([_0x22ef38,_0x5a8f40])=>({'id':_0x5b0b65['id'],'params':{'unitId':_0x22ef38,'updates':_0x5a8f40}}));}};_0x25da14=_0x1047e5([_0x26635b(0x0,(0x0,_0x268d47[_0x2dd6cc(0x266)])(_0xd0fdb1)),_0x26635b(0x1,(0x0,_0x268d47['Inject'])(_0x35cdb4[_0x2dd6cc(0x21f)])),_0x26635b(0x2,(0x0,_0x268d47[_0x2dd6cc(0x266)])(_0x35cdb4[_0x2dd6cc(0x29a)]))],_0x25da14);function _0x5e6240(_0x4ed543,_0x18b7d5){const _0x3af7bc=_0x2dd6cc;return(_0x4ed543==null?void 0x0:_0x4ed543['v'])===_0x18b7d5['v']&&(_0x4ed543==null?void 0x0:_0x4ed543['t'])===_0x18b7d5['t']&&(_0x4ed543==null?void 0x0:_0x4ed543[_0x3af7bc(0x2b5)])===_0x18b7d5[_0x3af7bc(0x2b5)];}let _0x4204df=class extends _0x268d47[_0x2dd6cc(0x230)]{constructor(_0x221bf1=_0x3b21dd,_0x47bb91,_0x3b4fb5,_0x29cb8b){const _0x2be84b=_0x2dd6cc;super(),this[_0x2be84b(0x21b)]=_0x221bf1,this[_0x2be84b(0x262)]=_0x47bb91,this[_0x2be84b(0x261)]=_0x3b4fb5,this[_0x2be84b(0x225)]=_0x29cb8b;let {..._0x501299}=(0x0,_0x268d47[_0x2be84b(0x1d1)])({},_0x3b21dd,this[_0x2be84b(0x21b)]);this['_configService'][_0x2be84b(0x272)](_0x2be84b(0x27c),_0x501299);}[_0x2dd6cc(0x213)](){const _0x2d1a6f=_0x2dd6cc;this['_injector']['add']([_0x400aa0]),this[_0x2d1a6f(0x262)][_0x2d1a6f(0x2db)]([_0xd0fdb1]),this['_injector'][_0x2d1a6f(0x2db)]([_0x13cea0]),this[_0x2d1a6f(0x262)]['add']([_0x4a4ef0]),this['_injector'][_0x2d1a6f(0x2db)]([_0x25da14]),this[_0x2d1a6f(0x262)][_0x2d1a6f(0x2db)]([_0x222882]),(0x0,_0x268d47[_0x2d1a6f(0x2b8)])(this['_injector'],[[_0x400aa0],[_0x13cea0],[_0x4a4ef0],[_0x25da14],[_0x222882]]),[_0x2a530f,_0x36f934,_0x1245e8,_0x5b0b65,_0x2e61bb,_0x19bd2b,_0x450b4f,_0x36cdb0,_0x360b38,_0x4196d1][_0x2d1a6f(0x2e9)](_0x4de43d=>this['disposeWithMe'](this[_0x2d1a6f(0x261)][_0x2d1a6f(0x2c6)](_0x4de43d)));}};_0x2997b9(_0x4204df,_0x2dd6cc(0x2f6),_0x422f2b),_0x2997b9(_0x4204df,'packageName',_0x4a78a4),_0x2997b9(_0x4204df,_0x2dd6cc(0x235),_0x6c6a1a),_0x2997b9(_0x4204df,'type',_0x268d47['UniverInstanceType'][_0x2dd6cc(0x254)]),_0x4204df=_0x1047e5([(0x0,_0x268d47[_0x2dd6cc(0x2bd)])(_0x3ae0fa[_0x2dd6cc(0x2e4)],_0x35cdb4[_0x2dd6cc(0x1e6)],_0x13b587[_0x2dd6cc(0x2b0)]),_0x26635b(0x1,(0x0,_0x268d47['Inject'])(_0x268d47[_0x2dd6cc(0x303)])),_0x26635b(0x2,_0x268d47[_0x2dd6cc(0x1ef)]),_0x26635b(0x3,_0x268d47['IConfigService'])],_0x4204df),_0x54a0ee[_0x2dd6cc(0x2f4)]=_0x4196d1,_0x54a0ee[_0x2dd6cc(0x226)]=_0x4f2d27,_0x54a0ee[_0x2dd6cc(0x286)]='',_0x54a0ee[_0x2dd6cc(0x2a0)]=_0x422f2b,Object[_0x2dd6cc(0x1cd)](_0x54a0ee,_0x2dd6cc(0x300),{'enumerable':!0x0,'get':function(){return _0x222882;}}),Object[_0x2dd6cc(0x1cd)](_0x54a0ee,'DocFormulaLifecycleController',{'enumerable':!0x0,'get':function(){return _0x4a4ef0;}}),_0x54a0ee[_0x2dd6cc(0x1f4)]=_0x400aa0,Object[_0x2dd6cc(0x1cd)](_0x54a0ee,_0x2dd6cc(0x2ad),{'enumerable':!0x0,'get':function(){return _0x13cea0;}}),_0x54a0ee[_0x2dd6cc(0x20e)]=_0x4057d2,Object[_0x2dd6cc(0x1cd)](_0x54a0ee,_0x2dd6cc(0x2b1),{'enumerable':!0x0,'get':function(){return _0xd0fdb1;}}),_0x54a0ee[_0x2dd6cc(0x1fa)]=_0x2e61bb,_0x54a0ee[_0x2dd6cc(0x2ba)]=_0x4d259a,_0x54a0ee['RemoveDocFormulaCommand']=_0x36cdb0,_0x54a0ee[_0x2dd6cc(0x309)]=_0x36f934,_0x54a0ee[_0x2dd6cc(0x1fc)]=_0x360b38,_0x54a0ee['SetDocFormulaLastValuesMutation']=_0x5b0b65,_0x54a0ee['SetDocFormulaMutation']=_0x2a530f,_0x54a0ee[_0x2dd6cc(0x219)]=_0x450b4f,_0x54a0ee[_0x2dd6cc(0x228)]=_0x1245e8,Object[_0x2dd6cc(0x1cd)](_0x54a0ee,'UniverDocsFormulaPlugin',{'enumerable':!0x0,'get':function(){return _0x4204df;}}),_0x54a0ee[_0x2dd6cc(0x274)]=_0x19bd2b,_0x54a0ee[_0x2dd6cc(0x2a7)]=_0x23ad2d,_0x54a0ee[_0x2dd6cc(0x296)]=_0x40b110,_0x54a0ee[_0x2dd6cc(0x26d)]=_0x366cd0,_0x54a0ee[_0x2dd6cc(0x21c)]=_0x433876,_0x54a0ee[_0x2dd6cc(0x2fd)]=_0x2e7c75,_0x54a0ee['degradeDocFormulaDocumentData']=_0x25d135,_0x54a0ee[_0x2dd6cc(0x22e)]=_0x5bfb7e,_0x54a0ee[_0x2dd6cc(0x314)]=_0x4a8011,_0x54a0ee[_0x2dd6cc(0x2d0)]=_0x10ebc7,_0x54a0ee[_0x2dd6cc(0x2f2)]=_0x277cf0,_0x54a0ee['isFormulaLastValue']=_0x1f5739;}));function _0x51dc(){const _0x1cf4e1=['asObservable','UpdateDocFormulaCommand','wholeEntity','buildUpsertHostExternalReferenceMutations','isArray','success','updates','exports','_change$','docs-formula.config','rangeType','position','getBody','sequenceNodesBuilder','references','docs-formula.command.convert-to-text','keys','unitDisposed$','RegisterOtherFormulaService','DOC_FORMULA_OBJECT_REPLACEMENT','TABLE_CELL_START','pushUndoRedo','COLUMN_END','subscribe','externalReferences','insertLength','Doc\x20Formula\x20range\x20cannot\x20cross\x20document\x20structure\x20boundaries','assess','length','nextResource','getSnapshot','IUniverInstanceService','getOwnPropertyDescriptor','insert','from','buildInsertDocFormulaActions','deepClone','Disposable','3411744QvuGWz','FormulaLastValuePersistenceService','onCommandExecuted','@@toPrimitive\x20must\x20return\x20a\x20primitive\x20value.','externalMutations','pending','IResourceManagerService','DOC_FORMULA_PLUGIN','document','getUnit','formulas','source','getFormula','resources','assertSafeDocFormulaInsertRange','trim','OtherFormulaBizType','delete','TABLE_ROW_END','docs-formula.mutation.remove-formula','DocFormulaResourceController','columnGroups','PARAGRAPH','UniverDocsPlugin','DocFormulaService','_hostExternalReferenceModel','resolved','10iVQckX','pattern','config','fromEntries','touchDependencies','includes','InvalidDocFormulaInsertRangeError','_model','change$','DependentOn','EMPTY','assign','_service','_univerInstanceService','lastValue','push','docs-formula.command.insert','_registrations','registerCommand','TABLE_CELL_END','getRichTextEditPath','syncUnit','tables','function','@univerjs/engine-formula','1722EuQPDF','referenceRevision','CustomRangeType','isDocFormulaRange','COLUMN_GROUP_END','disposeWithMe','trigger','selection','params','32332AnWYzb','DocSelectionManagerService','getFormulaValueSync','filter','Tools','add','docs-formula.command.update','paragraph','redoMutation','_deleteRegistration','_formulaService','rangeId','invalid-resource','endsWith','UniverLicensePlugin','error','CUSTOM_BLOCK','@univerjs/core','find','forEach','dataStream','end','@univerjs-pro/docs-formula','liveResult','univer-docs-formula','TABLE_END','object','degradeDocumentData','isDocFormulaResource','start','ConvertDocFormulaToTextCommand','shiftExclusiveRangeOnDelete','pluginName','amd','replaceDocRanges','shiftInclusiveRangeOnInsert','CommandType','410vjDmAg','empty','createEmptyDocFormulaResource','text','IUndoRedoService','DocFormulaDisplayTextService','Document\x20main\x20body\x20is\x20required\x20to\x20insert\x20Doc\x20Formula.','values','Injector','DOC_SELECTION_OPTION_PRESERVE_CARET','range','decorate','isInteger','complete','RemoveDocFormulaMutation','documentRedo','getResource','FormulaResultStatus','_instanceService','startOffset','unitId','expectedNumberFormat','_formulaKeys','data','documentData','isDocFormulaConfig','name','UniverEngineFormula','toStringTag','CellValueType','iterator','customRanges','endIndex','nextDocumentData','presentation','body','paragraphs','defineProperty','_updateFormulaResult','map','getPresentation','merge','_queueSync','previousDocumentData','undoMutation','symbol','1575nwsgvH','_setPresentation','load','default','COMMAND','getLoadError','COLUMN_START','DataStreamTreeTokenType','string','min','_isDisposed','removeUnit','resolveBinding','next','UniverProLicense','docs-formula.mutation.set-last-values','UniverProFormulaEnginePlugin','status','register','endOffset','max','RichTextEditingMutation','kind','_preserveInvalid','_cacheEligibilityService','ICommandService','_registrationService','stringify','443433hgGIxB','registerProvider','DocFormulaModel','docs-formula.command.replace-with-text','unitAdded$','TextX','syncExecuteCommand','12210473YbMdoP','InsertDocFormulaCommand','unregisterUnit','ReplaceDocFormulaWithTextCommand','2gOrbEZ','shiftInclusiveRangeOnDelete','docs-formula.mutation.set-resource','BLOCK_START','deleteLength','getRevision','sort','getUnitId','getFormulas','UniverProEngineFormula','customDecorations','51592FDZRyh','color','collectMutations','_syncScheduled','model','_loadErrors','DocFormulaResultStatus','UniverCore','startIndex','SECTION_BREAK','UniverInstanceType','onStarting','resolveFormula','_resourceManagerService','formulaResult$','_docFormulaModel','some','SetDocFormulaNumberFormatCommand','getCustomRangeInterval','_config','buildUpdateDocFormulaActions','boolean','previousResource','FormulaCacheEligibilityService','paragraphId','accessor','getParagraphContentStartOffset','has','resourceUndo','_configService','DOC_FORMULA_CUSTOM_RANGE_KIND','DOC','SetDocFormulaResourceMutation','_syncUnit','ERROR','cell','parse','customBlocks','findDocFormulaRange','resource','Plugin','19593408tgwwvn','10590CdHsiL','segmentId','set','version','every','PENDING','unregister','_resources','SUCCESS','Subject','docs-formula.command.set-number-format','cursorOffset','target','numberFormat','stale','getResult','@univerjs-pro/license','HostExternalReferenceModel','_presentationChanged$','formula','_pendingUnitIds','getRegisteredFormulas','blockRanges','get','resourceRedo','getScalarFormulaResultCell','slice','degradeBody','resolveFormulaResultPresentation','setFormula','disabled','serialize','number','type','UNIVER_DOC','resolveHostFormulaExternalReferences','LexerTreeBuilder','CUSTOM','JSONX','dispose','TABLE_START','clear','@univerjs/docs','formulaId','registerFormulaWithRange','retain','_rawResources','_commandService','_injector','identity','sectionBreaks','setFormulas','Inject','presentationChanged$','getBodySliceForTextXAction','generateRandomId','prototype','UniverDocs','textRuns','buildRemoveDocFormulaActions','docs-formula.mutation.set-formula','setResource','collectFormulaExternalReferenceQualifiers','MUTATION','setConfig'];_0x51dc=function(){return _0x1cf4e1;};return _0x51dc();}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@univerjs-pro/docs-formula",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.4.0",
|
|
4
4
|
"private": false,
|
|
5
5
|
"description": "Inline data formula model integration for Univer Docs.",
|
|
6
6
|
"author": "DreamNum Co., Ltd. <developer@univer.ai>",
|
|
@@ -61,26 +61,26 @@
|
|
|
61
61
|
"rxjs": ">=7.0.0"
|
|
62
62
|
},
|
|
63
63
|
"dependencies": {
|
|
64
|
-
"@univerjs-pro/engine-formula": "1.
|
|
65
|
-
"@univerjs-pro/license": "1.
|
|
66
|
-
"@univerjs/core": "1.
|
|
67
|
-
"@univerjs/docs": "1.
|
|
68
|
-
"@univerjs/engine-formula": "1.
|
|
64
|
+
"@univerjs-pro/engine-formula": "1.4.0",
|
|
65
|
+
"@univerjs-pro/license": "1.4.0",
|
|
66
|
+
"@univerjs/core": "1.4.0",
|
|
67
|
+
"@univerjs/docs": "1.4.0",
|
|
68
|
+
"@univerjs/engine-formula": "1.4.0"
|
|
69
69
|
},
|
|
70
70
|
"devDependencies": {
|
|
71
|
-
"@univerjs-infra/shared": "1.
|
|
72
|
-
"@univerjs/engine-render": "1.
|
|
71
|
+
"@univerjs-infra/shared": "1.4.0",
|
|
72
|
+
"@univerjs/engine-render": "1.4.0",
|
|
73
73
|
"rxjs": "7.8.2",
|
|
74
|
-
"
|
|
75
|
-
"vitest": "^5.0.
|
|
74
|
+
"tsrs": "0.20.1-ts7.1.0-beta",
|
|
75
|
+
"vitest": "^5.0.5"
|
|
76
76
|
},
|
|
77
77
|
"scripts": {
|
|
78
78
|
"test": "vitest run",
|
|
79
79
|
"test:watch": "vitest",
|
|
80
80
|
"coverage": "vitest run --coverage",
|
|
81
|
-
"typecheck": "
|
|
81
|
+
"typecheck": "tsrs --noEmit",
|
|
82
82
|
"build:bundle": "univer-cli build",
|
|
83
|
-
"build:types": "
|
|
83
|
+
"build:types": "tsrs -p tsconfig.node.json",
|
|
84
84
|
"build": "pnpm run build:bundle && pnpm run build:types"
|
|
85
85
|
},
|
|
86
86
|
"module": "./lib/es/index.js"
|