@univerjs-pro/docs-formula 1.2.0 → 1.3.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/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/umd/facade.js +1 -1
- package/lib/umd/index.js +1 -1
- package/package.json +8 -8
package/lib/umd/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
function _0x2cc1(){const _0x6e6f50=['TABLE_CELL_END','_univerInstanceService','RichTextEditingMutation','231051OUTrsW','startsWith','version','resolveText','endOffset','UniverDocsPlugin','length','FormulaLastValuePersistenceService','DocFormulaModel','range','docs-formula.command.update','resolved','map','start','registerFormulaWithRange','cell','expectedReferenceRevision','disposeWithMe','iterator','Inject','replaceDocRanges','document','HostExternalReferenceModel','source','kind','_queueSync','customBlocks','object','univer-docs-formula','liveResult','_syncUnit','pending','docs-formula.mutation.set-resource','_configService','_setPresentation','has','34pJuqJp','formulaId','packageName','schemaVersion','values','IUniverInstanceService','retain','getBody','COLUMN_END','endIndex','_config','getFormulaValueSync','unitAdded$','config','_resourceManagerService','register','clear','@univerjs-pro/license','onStarting','customRanges','775qQCKUq','_syncScheduled','parse','updates','deleteFormula','TABLE_END','properties','selection','lastValue','getFormulas','push','documentRedo','end','isDocFormulaResource','findDocFormulaRange','resourceUndo','sequenceNodesBuilder','delete','getParagraphContentStartOffset','columnGroups','getPresentation','textRuns','error','filter','UniverCore','resources','CustomRangeType','UniverDocsFormulaPlugin','docs-formula.mutation.set-formula','serialize','JSONX','ERROR','DocFormulaResultStatus','UNIVER_DOC','stale','documentData','_formulaKeys','SetDocFormulaNumberFormatCommand','_model','RemoveDocFormulaMutation','tables','externalMutations','SetDocFormulaLastValuesMutation','_docFormulaModel','docs-formula.command.remove','sectionBreaks','DOC_FORMULA_SCHEMA_VERSION','cursorOffset','_pendingUnitIds','references','disabled','max','registerPluginResource','EMPTY','shiftInclusiveRangeOnInsert','slice','_deleteRegistration','_updateFormulaResult','symbol','ICommandService','Disposable','_registrations','endsWith','COMMAND','deleteLength','toFormulaLastValue','pluginName','default','decorate','every','collectFormulaExternalReferenceQualifiers','DocSelectionManagerService','COLUMN_GROUP_START','buildInsertDocFormulaActions','sort','assign','resource','segmentId','get','getUnit','_preserveInvalid','syncUnit','asObservable','Injector','next','from','getBodySliceForTextXAction','formulaResult$','docs-formula.command.insert','UniverEngineFormula','invalid-resource','previousResource','forEach','set','collectMutations','_registrationService','docs-formula.mutation.remove-formula','stringify','TABLE_START','success','getLoadError','DocTextResolverService','function','_presentationChanged$','DataStreamTreeTokenType','getResource','RemoveDocFormulaCommand','26900FmsgVs','_resources','assertSafeDocFormulaInsertRange','UniverProDocsFormula','generateRandomId','Document\x20main\x20body\x20is\x20required\x20to\x20insert\x20Doc\x20Formula.','33dOHfhY','removeFormula','resourceRedo','presentationChanged$','setConfig','paragraph','startOffset','getInstance','resolveFormula','DOC_FORMULA_CUSTOM_RANGE_KIND','complete','DocFormulaLifecycleController','DOC_FORMULA_PLUGIN','FormulaResultStatus','externalReferences','subscribe','amd','_rawResources','IConfigService','body','getRevision','TABLE_CELL_START','referenceRevision','7796608QVLzXZ','MUTATION','degradeDocumentData','data','undoMutation','docs-formula.command.set-number-format','FormulaCacheEligibilityService','boolean','status','formula','docs-formula.command.convert-to-text','COLUMN_GROUP_END','pattern','shiftExclusiveRangeOnDelete','shiftInclusiveRangeOnDelete','resolveFormulaResultPresentation','IResourceManagerService','removeUnit','insert','color','dataStream','wholeEntity','getScalarFormulaResultCell','CellValueType','getSnapshot','startIndex','UniverProEngineFormula','InvalidDocFormulaInsertRangeError','load','eligible','getRegisteredFormulas','constructor','change$','find','SUCCESS','getAllUnitsForType','CUSTOM_BLOCK','BLOCK_START','getFormula','BLOCK_END','unregister','expectedFormula','1.2.0','217110ejLpIm','DOC_SELECTION_OPTION_PRESERVE_CARET','UniverLicensePlugin','CommandType','registerCommand','133hgWjCW','isDocFormulaConfig','COLUMN_START','907903HOCsCg','Plugin','redoMutation','accessor','resolveBinding','identity','some','nextDocumentData','fromEntries','syncExecuteCommand','defineProperty','buildUpsertHostExternalReferenceMutations','createEmptyDocFormulaResource','SetDocFormulaMutation','params','touchDependencies','trim','getCustomRangeInterval','getRichTextEditPath','prototype','_change$','getResult','name','UpdateDocFormulaCommand','insertLength','rxjs','dispose','rangeType','TextX','exports','model','buildUpdateDocFormulaActions','DOC_FORMULA_OBJECT_REPLACEMENT','setFormula','getUnitId','_instanceService','_isDisposed','expectedNumberFormat','_commandService','Doc\x20Formula\x20range\x20cannot\x20cross\x20document\x20structure\x20boundaries','UniverDocs','docs-formula.config','Tools','_injector','_service','7013976edsbqr','buildRemoveDocFormulaActions','add','paragraphs','unregisterUnit','DOC','_loadErrors','Subject','includes','text','unitId','isArray','empty','customDecorations','previousDocumentData','degradeDocFormulaDocumentData','number','rangeId','TABLE_ROW_END','toPrimitive','deepClone','formulas','position','registerProvider','numberFormat','_cacheEligibilityService','onCommandExecuted','ReplaceDocFormulaWithTextCommand','15452230SipowB','@univerjs/docs','@univerjs/engine-formula','setFormulas','string','_formulaService','9Lpcdem','OtherFormulaBizType','ConvertDocFormulaToTextCommand','PARAGRAPH','blockRanges','DependentOn','@univerjs-pro/engine-formula','UniverInstanceType','getTextRanges','SECTION_BREAK','presentation','LexerTreeBuilder','nextResource','setResource','type','CUSTOM'];_0x2cc1=function(){return _0x6e6f50;};return _0x2cc1();}function _0x2b4f(_0xd67568,_0x5af7dd){_0xd67568=_0xd67568-0x12b;const _0x2cc183=_0x2cc1();let _0x2b4fff=_0x2cc183[_0xd67568];return _0x2b4fff;}(function(_0x2a4fb3,_0xe309f3){const _0x1cd901=_0x2b4f,_0x5da5ea=_0x2a4fb3();while(!![]){try{const _0x259e52=-parseInt(_0x1cd901(0x220))/0x1+-parseInt(_0x1cd901(0x151))/0x2*(-parseInt(_0x1cd901(0x12d))/0x3)+parseInt(_0x1cd901(0x1d0))/0x4*(parseInt(_0x1cd901(0x165))/0x5)+-parseInt(_0x1cd901(0x218))/0x6*(-parseInt(_0x1cd901(0x21d))/0x7)+-parseInt(_0x1cd901(0x1ed))/0x8+parseInt(_0x1cd901(0x26f))/0x9*(parseInt(_0x1cd901(0x269))/0xa)+parseInt(_0x1cd901(0x1d6))/0xb*(-parseInt(_0x1cd901(0x24d))/0xc);if(_0x259e52===_0xe309f3)break;else _0x5da5ea['push'](_0x5da5ea['shift']());}catch(_0xe693e2){_0x5da5ea['push'](_0x5da5ea['shift']());}}}(_0x2cc1,0xe78cd),function(_0x25a8b2,_0x345e20){const _0x7214ad=_0x2b4f;typeof exports==_0x7214ad(0x148)&&typeof module<'u'?_0x345e20(exports,require('@univerjs-pro/engine-formula'),require('@univerjs/core'),require('@univerjs/docs'),require('@univerjs/engine-formula'),require('rxjs'),require('@univerjs-pro/license')):typeof define==_0x7214ad(0x1cb)&&define[_0x7214ad(0x1e6)]?define([_0x7214ad(0x23d),_0x7214ad(0x275),'@univerjs/core',_0x7214ad(0x26a),_0x7214ad(0x26b),_0x7214ad(0x239),_0x7214ad(0x162)],_0x345e20):(_0x25a8b2=typeof globalThis<'u'?globalThis:_0x25a8b2||self,_0x345e20(_0x25a8b2[_0x7214ad(0x1d3)]={},_0x25a8b2[_0x7214ad(0x207)],_0x25a8b2[_0x7214ad(0x17d)],_0x25a8b2[_0x7214ad(0x248)],_0x25a8b2[_0x7214ad(0x1be)],_0x25a8b2[_0x7214ad(0x239)],_0x25a8b2['UniverProLicense']));}(this,function(_0x5c28cd,_0x219b45,_0xa600dd,_0x165f65,_0x5430b4,_0x4127ab,_0x5f572e){const _0x4955bb=_0x2b4f;Object[_0x4955bb(0x22a)](_0x5c28cd,Symbol['toStringTag'],{'value':'Module'});let _0x37b0b3=_0x4955bb(0x1e2),_0x2846a2=_0x4955bb(0x149);function _0x3eac7f(){return{'schemaVersion':0x1,'formulas':{}};}function _0x5010f7(_0x28b240){const _0x530199=_0x4955bb;return!_0x28b240||typeof _0x28b240!=_0x530199(0x148)||!_0x36bc01(_0x28b240,[_0x530199(0x154),_0x530199(0x262)])||!('schemaVersion'in _0x28b240)||_0x28b240['schemaVersion']!==0x1||!('formulas'in _0x28b240)||!_0x28b240[_0x530199(0x262)]||typeof _0x28b240[_0x530199(0x262)]!='object'||Array[_0x530199(0x258)](_0x28b240['formulas'])?!0x1:Object['entries'](_0x28b240['formulas'])[_0x530199(0x1aa)](([_0x397a57,_0xe57473])=>_0x397a57[_0x530199(0x133)]>0x0&&_0x3cd1eb(_0xe57473));}function _0x3cd1eb(_0x33302d){const _0xa8e96b=_0x4955bb;return!_0x33302d||typeof _0x33302d!=_0xa8e96b(0x148)||!_0x36bc01(_0x33302d,[_0xa8e96b(0x1f6),_0xa8e96b(0x265),_0xa8e96b(0x16d)])||!(_0xa8e96b(0x1f6)in _0x33302d)||typeof _0x33302d[_0xa8e96b(0x1f6)]!=_0xa8e96b(0x26d)||!_0x33302d[_0xa8e96b(0x1f6)][_0xa8e96b(0x230)]()||_0xa8e96b(0x265)in _0x33302d&&_0x33302d[_0xa8e96b(0x265)]!=null&&(typeof _0x33302d[_0xa8e96b(0x265)]!=_0xa8e96b(0x148)||!_0x36bc01(_0x33302d[_0xa8e96b(0x265)],['pattern'])||!(_0xa8e96b(0x1f9)in _0x33302d[_0xa8e96b(0x265)])||typeof _0x33302d[_0xa8e96b(0x265)][_0xa8e96b(0x1f9)]!=_0xa8e96b(0x26d))?!0x1:!(_0xa8e96b(0x16d)in _0x33302d)||_0x33302d['lastValue']==null||_0xce23f5(_0x33302d[_0xa8e96b(0x16d)]);}function _0xce23f5(_0x506b80){const _0x4732b7=_0x4955bb;return!_0x506b80||typeof _0x506b80!=_0x4732b7(0x148)||!_0x36bc01(_0x506b80,['v','t',_0x4732b7(0x1f9)])||!('v'in _0x506b80)||_0x506b80['v']!==null&&typeof _0x506b80['v']!=_0x4732b7(0x26d)&&typeof _0x506b80['v']!=_0x4732b7(0x25d)&&typeof _0x506b80['v']!=_0x4732b7(0x1f4)||'t'in _0x506b80&&_0x506b80['t']!=null&&!_0x5aca3d(_0x506b80['t'])?!0x1:!(_0x4732b7(0x1f9)in _0x506b80)||_0x506b80[_0x4732b7(0x1f9)]==null||typeof _0x506b80[_0x4732b7(0x1f9)]==_0x4732b7(0x26d);}function _0x36bc01(_0xfa993f,_0x3f5ccf){const _0x49e0a4=_0x4955bb;let _0xfe4601=new Set(_0x3f5ccf);return Object['keys'](_0xfa993f)[_0x49e0a4(0x1aa)](_0x188540=>_0xfe4601[_0x49e0a4(0x150)](_0x188540));}function _0x5aca3d(_0x380186){const _0x1112f1=_0x4955bb;return typeof _0x380186==_0x1112f1(0x25d)&&Object['values'](_0xa600dd[_0x1112f1(0x204)])[_0x1112f1(0x255)](_0x380186);}let _0x2e917f=new Set([_0xa600dd[_0x4955bb(0x1cd)][_0x4955bb(0x278)],_0xa600dd[_0x4955bb(0x1cd)][_0x4955bb(0x1c7)],_0xa600dd['DataStreamTreeTokenType']['TABLE_ROW_START'],_0xa600dd[_0x4955bb(0x1cd)][_0x4955bb(0x1eb)],_0xa600dd['DataStreamTreeTokenType'][_0x4955bb(0x27f)],_0xa600dd[_0x4955bb(0x1cd)][_0x4955bb(0x25f)],_0xa600dd[_0x4955bb(0x1cd)][_0x4955bb(0x16a)],_0xa600dd[_0x4955bb(0x1cd)][_0x4955bb(0x1ad)],_0xa600dd['DataStreamTreeTokenType'][_0x4955bb(0x21f)],_0xa600dd[_0x4955bb(0x1cd)][_0x4955bb(0x159)],_0xa600dd[_0x4955bb(0x1cd)][_0x4955bb(0x1f8)],_0xa600dd[_0x4955bb(0x1cd)][_0x4955bb(0x212)],_0xa600dd[_0x4955bb(0x1cd)][_0x4955bb(0x214)],_0xa600dd[_0x4955bb(0x1cd)][_0x4955bb(0x211)]]);var _0x341a6d=class extends Error{constructor(){const _0x1e4dd9=_0x4955bb;super(_0x1e4dd9(0x247));}};function _0x59d760(_0x16f5ea){const _0x41a6b7=_0x4955bb;var _0x249e83,_0x35f132;let _0x5ced58=_0xa600dd[_0x41a6b7(0x24a)][_0x41a6b7(0x261)](_0x16f5ea['documentData']),_0x453b4a=_0x134976(_0x5ced58),{startOffset:_0x16638b,endOffset:_0x1589de}=_0xca18fe(_0x453b4a,_0x16f5ea['startOffset'],_0x16f5ea[_0x41a6b7(0x131)]);_0x1461cd(_0x453b4a,_0x16638b,_0x1589de);let _0x36eced=((_0x249e83=_0x453b4a[_0x41a6b7(0x164)])==null?void 0x0:_0x249e83[_0x41a6b7(0x17c)](_0x57bf74=>{const _0x12eaa9=_0x41a6b7;if(!_0xac054f(_0x57bf74))return!0x1;let _0x48c0d0=(0x0,_0xa600dd[_0x12eaa9(0x231)])(_0x57bf74);return _0x48c0d0[_0x12eaa9(0x131)]>_0x16638b&&_0x48c0d0[_0x12eaa9(0x1dc)]<_0x1589de;})[_0x41a6b7(0x139)](_0x11e0fb=>_0x11e0fb['rangeId']))??[];_0xa92fb5(_0x453b4a,_0x16638b,_0x1589de,''),_0x453b4a['customRanges']=[...((_0x35f132=_0x453b4a[_0x41a6b7(0x164)])==null?void 0x0:_0x35f132['filter'](_0x1edc94=>!_0x36eced[_0x41a6b7(0x255)](_0x1edc94[_0x41a6b7(0x25e)])&&_0x1edc94[_0x41a6b7(0x25e)]!==_0x16f5ea[_0x41a6b7(0x25e)]))??[],_0x1752d8(_0x16f5ea['rangeId'],_0x16638b)][_0x41a6b7(0x1af)]((_0x82d84d,_0xbd603b)=>_0x82d84d[_0x41a6b7(0x206)]-_0xbd603b[_0x41a6b7(0x206)]);let _0x311d3d=_0x58d91a(_0x16f5ea[_0x41a6b7(0x1b1)]);return _0x36eced[_0x41a6b7(0x1c1)](_0x4e36a4=>{const _0x2d9bdc=_0x41a6b7;delete _0x311d3d[_0x2d9bdc(0x262)][_0x4e36a4];}),_0x311d3d[_0x41a6b7(0x262)][_0x16f5ea[_0x41a6b7(0x25e)]]=_0xa600dd[_0x41a6b7(0x24a)][_0x41a6b7(0x261)](_0x16f5ea['config']),{'nextDocumentData':_0x5ced58,'nextResource':_0x311d3d,'cursorOffset':_0x16638b+0x1};}function _0x382cd5(_0x46f885){const _0x2c26af=_0x4955bb;var _0x40a4b7,_0x5d75f7;let _0x890b94=_0xa600dd[_0x2c26af(0x24a)][_0x2c26af(0x261)](_0x46f885['documentData']),_0xa6fb3f=(_0x40a4b7=_0x134976(_0x890b94)[_0x2c26af(0x164)])==null?void 0x0:_0x40a4b7[_0x2c26af(0x20e)](_0x3e0779=>_0x3e0779[_0x2c26af(0x25e)]===_0x46f885[_0x2c26af(0x25e)]&&_0xac054f(_0x3e0779));if(!_0xa6fb3f||!((_0x5d75f7=_0x46f885['resource'])!=null&&_0x5d75f7[_0x2c26af(0x262)][_0x46f885[_0x2c26af(0x25e)]]))return null;let _0x106ead=_0x58d91a(_0x46f885[_0x2c26af(0x1b1)]);return _0x106ead['formulas'][_0x46f885[_0x2c26af(0x25e)]]=_0xa600dd[_0x2c26af(0x24a)][_0x2c26af(0x261)](_0x46f885[_0x2c26af(0x15e)]),{'nextDocumentData':_0x890b94,'nextResource':_0x106ead,'cursorOffset':_0xa6fb3f[_0x2c26af(0x15a)]+0x1};}function _0x17de84(_0x19eb9a){const _0x53ba84=_0x4955bb;let _0x44b2e7=_0xa600dd[_0x53ba84(0x24a)][_0x53ba84(0x261)](_0x19eb9a[_0x53ba84(0x188)]),_0x3ed2e1=_0x4c7663(_0x44b2e7,_0x19eb9a[_0x53ba84(0x25e)],_0x19eb9a['text']??'');if(_0x3ed2e1==null)return null;let _0x552b43=_0x58d91a(_0x19eb9a[_0x53ba84(0x1b1)]);return delete _0x552b43['formulas'][_0x19eb9a['rangeId']],{'nextDocumentData':_0x44b2e7,'nextResource':_0x552b43,'cursorOffset':_0x3ed2e1};}function _0x3220ee(_0x443356,_0x2c9c12){const _0x3aafca=_0x4955bb;var _0x5e0567;let _0x150fd7=_0xa600dd[_0x3aafca(0x24a)][_0x3aafca(0x261)](_0x443356),_0x1df3db=_0x150fd7['body'];if(!_0x1df3db)return _0x150fd7;let _0x1c9fee=new Map(_0x2c9c12[_0x3aafca(0x139)](_0x4af97f=>[_0x4af97f[_0x3aafca(0x25e)],_0x4af97f[_0x3aafca(0x256)]])),_0x10a61d=((_0x5e0567=_0x1df3db[_0x3aafca(0x164)])==null?void 0x0:_0x5e0567[_0x3aafca(0x17c)](_0x21f34b=>_0xac054f(_0x21f34b)&&_0x1c9fee[_0x3aafca(0x150)](_0x21f34b['rangeId']))[_0x3aafca(0x1af)]((_0x2cb4a0,_0x2fd0ec)=>_0x2fd0ec['startIndex']-_0x2cb4a0[_0x3aafca(0x206)]))??[];for(let _0x85ba04 of _0x10a61d)_0x4c7663(_0x150fd7,_0x85ba04[_0x3aafca(0x25e)],_0x1c9fee['get'](_0x85ba04[_0x3aafca(0x25e)])??'');return _0x150fd7;}function _0xac054f(_0x2e6d9f){const _0x1e6414=_0x4955bb;var _0x328d16;return(_0x2e6d9f==null?void 0x0:_0x2e6d9f[_0x1e6414(0x23b)])===_0xa600dd['CustomRangeType'][_0x1e6414(0x27e)]&&_0x2e6d9f[_0x1e6414(0x202)]===!0x0&&((_0x328d16=_0x2e6d9f[_0x1e6414(0x16b)])==null?void 0x0:_0x328d16[_0x1e6414(0x145)])===_0x1e6414(0x149);}function _0x274b50(_0x4109ae,_0x2b3427){const _0x5c1f8d=_0x4955bb;var _0x5a682c;return _0x4109ae==null||(_0x5a682c=_0x4109ae['customRanges'])==null?void 0x0:_0x5a682c[_0x5c1f8d(0x20e)](_0x5026c3=>_0x5026c3['rangeId']===_0x2b3427&&_0xac054f(_0x5026c3));}function _0x1461cd(_0xfe03f6,_0x599fe2,_0x1c9f70){const _0x3fee2b=_0x4955bb;if(_0x599fe2===_0x1c9f70){if(_0x2e917f[_0x3fee2b(0x150)](_0xfe03f6[_0x3fee2b(0x201)][_0x599fe2]))throw new _0x341a6d();}else{for(let _0x4afd88=_0x599fe2;_0x4afd88<_0x1c9f70;_0x4afd88++)if(_0xfe03f6[_0x3fee2b(0x201)][_0x4afd88]===_0xa600dd[_0x3fee2b(0x1cd)][_0x3fee2b(0x272)]||_0x2e917f[_0x3fee2b(0x150)](_0xfe03f6['dataStream'][_0x4afd88]))throw new _0x341a6d();}}function _0x1752d8(_0x103352,_0x1f4307){const _0x8daebc=_0x4955bb;return{'startIndex':_0x1f4307,'endIndex':_0x1f4307,'rangeId':_0x103352,'rangeType':_0xa600dd[_0x8daebc(0x17f)][_0x8daebc(0x27e)],'wholeEntity':!0x0,'properties':{'kind':_0x2846a2}};}function _0x58d91a(_0x3bea11){const _0xfce4fc=_0x4955bb;return _0x3bea11?_0xa600dd[_0xfce4fc(0x24a)][_0xfce4fc(0x261)](_0x3bea11):_0x3eac7f();}function _0xca18fe(_0x240125,_0x2bdd4a,_0x39b6cc){const _0x3436b7=_0x4955bb;let _0x2dac23=_0x4d3ace(_0x240125),_0x13a30f=_0x2bdd4a??_0x2dac23,_0x2eb8cd=_0x39b6cc??_0x13a30f;return{'startOffset':_0x553cbb(Math['min'](_0x13a30f,_0x2eb8cd),_0x2dac23),'endOffset':_0x553cbb(Math[_0x3436b7(0x198)](_0x13a30f,_0x2eb8cd),_0x2dac23)};}function _0x553cbb(_0x5be1d6,_0x2ccf2a){return Math['max'](0x0,Math['min'](_0x5be1d6,_0x2ccf2a));}function _0x4d3ace(_0x57bf75){const _0x3ec672=_0x4955bb;return _0x57bf75[_0x3ec672(0x201)]['endsWith'](''+_0xa600dd[_0x3ec672(0x1cd)][_0x3ec672(0x272)]+_0xa600dd['DataStreamTreeTokenType'][_0x3ec672(0x278)])?Math[_0x3ec672(0x198)](0x0,_0x57bf75[_0x3ec672(0x201)][_0x3ec672(0x133)]-0x2):_0x57bf75[_0x3ec672(0x201)][_0x3ec672(0x1a3)](_0xa600dd[_0x3ec672(0x1cd)][_0x3ec672(0x278)])?Math['max'](0x0,_0x57bf75['dataStream']['length']-0x1):_0x57bf75['dataStream'][_0x3ec672(0x133)];}function _0xa92fb5(_0x118fd5,_0x10fae4,_0x373d4c,_0x276a70){_0x373d4c>_0x10fae4&&_0x1ed35f(_0x118fd5,_0x10fae4,_0x373d4c),_0x32d34f(_0x118fd5,_0x10fae4,_0x276a70);}function _0x4c7663(_0x182092,_0x55864f,_0x527869){const _0x400bf9=_0x4955bb;var _0x65e97a,_0x2f05e7;let _0x486a84=_0x134976(_0x182092),_0x5e0113=(_0x65e97a=_0x486a84['customRanges'])==null?void 0x0:_0x65e97a[_0x400bf9(0x20e)](_0x389cbc=>_0x389cbc['rangeId']===_0x55864f&&_0xac054f(_0x389cbc));if(!_0x5e0113)return null;let _0x4f6661=(0x0,_0xa600dd[_0x400bf9(0x231)])(_0x5e0113);return _0xa92fb5(_0x486a84,_0x4f6661[_0x400bf9(0x1dc)],_0x4f6661['endOffset'],_0x527869),_0x486a84[_0x400bf9(0x164)]=(_0x2f05e7=_0x486a84[_0x400bf9(0x164)])==null?void 0x0:_0x2f05e7['filter'](_0x49ab7a=>_0x49ab7a[_0x400bf9(0x25e)]!==_0x55864f),_0x4f6661[_0x400bf9(0x1dc)]+_0x527869[_0x400bf9(0x133)];}function _0x32d34f(_0x53392d,_0x15d38b,_0x16574f){const _0x3eec94=_0x4955bb;_0x16574f&&(_0x53392d[_0x3eec94(0x201)]=''+_0x53392d[_0x3eec94(0x201)][_0x3eec94(0x19c)](0x0,_0x15d38b)+_0x16574f+_0x53392d[_0x3eec94(0x201)]['slice'](_0x15d38b),_0xc28b98(_0x53392d,_0x15d38b,_0x16574f[_0x3eec94(0x133)]));}function _0x1ed35f(_0x1b4d99,_0x4b1116,_0x3e86a9){const _0x5a6c6e=_0x4955bb;let _0x32f4ce=_0x3e86a9-_0x4b1116;_0x1b4d99[_0x5a6c6e(0x201)]=''+_0x1b4d99[_0x5a6c6e(0x201)][_0x5a6c6e(0x19c)](0x0,_0x4b1116)+_0x1b4d99[_0x5a6c6e(0x201)][_0x5a6c6e(0x19c)](_0x3e86a9),_0x272608(_0x1b4d99,_0x4b1116,_0x32f4ce);}function _0xc28b98(_0x59f817,_0x3b3338,_0x1e8f72){const _0x4eb279=_0x4955bb;_0x59f817[_0x4eb279(0x250)]=_0xc4b940(_0x59f817[_0x4eb279(0x250)],_0x3b3338,_0x1e8f72),_0x59f817[_0x4eb279(0x192)]=_0xc4b940(_0x59f817[_0x4eb279(0x192)],_0x3b3338,_0x1e8f72),_0x59f817['customBlocks']=_0xc4b940(_0x59f817[_0x4eb279(0x147)],_0x3b3338,_0x1e8f72),_0x59f817['textRuns']=_0x2478c8(_0x59f817[_0x4eb279(0x17a)],_0x3b3338,_0x1e8f72),_0x59f817[_0x4eb279(0x18d)]=_0x31982a(_0x59f817['tables'],_0x3b3338,_0x1e8f72),_0x59f817['columnGroups']=_0x4c8946(_0x59f817['columnGroups'],_0x3b3338,_0x1e8f72),_0x59f817[_0x4eb279(0x164)]=_0x4c8946(_0x59f817[_0x4eb279(0x164)],_0x3b3338,_0x1e8f72),_0x59f817[_0x4eb279(0x25a)]=_0x4c8946(_0x59f817[_0x4eb279(0x25a)],_0x3b3338,_0x1e8f72),_0x59f817['blockRanges']=_0x4c8946(_0x59f817[_0x4eb279(0x273)],_0x3b3338,_0x1e8f72);}function _0x272608(_0x5f2345,_0x54b556,_0x486db7){const _0x28aefe=_0x4955bb;var _0x54f0d8,_0x21d86f;_0x5f2345['paragraphs']=_0x46267f(_0x5f2345[_0x28aefe(0x250)],_0x54b556,_0x486db7),_0x5f2345[_0x28aefe(0x192)]=_0x46267f(_0x5f2345[_0x28aefe(0x192)],_0x54b556,_0x486db7),_0x5f2345['customBlocks']=_0x46267f(_0x5f2345[_0x28aefe(0x147)],_0x54b556,_0x486db7),_0x5f2345[_0x28aefe(0x17a)]=(_0x54f0d8=_0x51c81b((_0x21d86f=_0x5f2345['textRuns'])==null?void 0x0:_0x21d86f['map'](_0x58b91b=>({..._0x58b91b,'startIndex':_0x58b91b['st'],'endIndex':_0x58b91b['ed']})),_0x54b556,_0x486db7))==null?void 0x0:_0x54f0d8[_0x28aefe(0x139)](_0x1a8c7f=>{let {startIndex:_0xb08dfe,endIndex:_0x3556fa,..._0x4ad3da}=_0x1a8c7f;return{..._0x4ad3da,'st':_0xb08dfe,'ed':_0x3556fa};}),_0x5f2345[_0x28aefe(0x18d)]=_0x51c81b(_0x5f2345['tables'],_0x54b556,_0x486db7),_0x5f2345[_0x28aefe(0x178)]=_0x3e120f(_0x5f2345[_0x28aefe(0x178)],_0x54b556,_0x486db7),_0x5f2345[_0x28aefe(0x164)]=_0x3e120f(_0x5f2345['customRanges'],_0x54b556,_0x486db7),_0x5f2345[_0x28aefe(0x25a)]=_0x3e120f(_0x5f2345[_0x28aefe(0x25a)],_0x54b556,_0x486db7),_0x5f2345[_0x28aefe(0x273)]=_0x3e120f(_0x5f2345[_0x28aefe(0x273)],_0x54b556,_0x486db7);}function _0xc4b940(_0x3f63b2,_0x2c652e,_0x937085){const _0x2300ee=_0x4955bb;return _0x3f63b2==null?void 0x0:_0x3f63b2[_0x2300ee(0x139)](_0x1db6ca=>_0x1db6ca['startIndex']>=_0x2c652e?{..._0x1db6ca,'startIndex':_0x1db6ca[_0x2300ee(0x206)]+_0x937085}:_0x1db6ca);}function _0x46267f(_0x288694,_0x198ced,_0x3da02c){const _0xb22630=_0x4955bb;let _0xae0f=_0x198ced+_0x3da02c;return _0x288694==null?void 0x0:_0x288694[_0xb22630(0x139)](_0x5760cd=>_0x5760cd[_0xb22630(0x206)]>=_0x198ced&&_0x5760cd['startIndex']<_0xae0f?null:_0x5760cd[_0xb22630(0x206)]>=_0xae0f?{..._0x5760cd,'startIndex':_0x5760cd[_0xb22630(0x206)]-_0x3da02c}:_0x5760cd)['filter'](_0x3de2b2=>_0x3de2b2!=null);}function _0x2478c8(_0x16de63,_0x415fba,_0x275def){const _0x41f9f8=_0x4955bb;return _0x16de63==null?void 0x0:_0x16de63[_0x41f9f8(0x139)](_0x5577b5=>_0x5577b5['st']>=_0x415fba?{..._0x5577b5,'st':_0x5577b5['st']+_0x275def,'ed':_0x5577b5['ed']+_0x275def}:_0x5577b5['ed']>_0x415fba?{..._0x5577b5,'ed':_0x5577b5['ed']+_0x275def}:_0x5577b5);}function _0x4c8946(_0x384a7e,_0x161e0e,_0x3d575f){const _0x525580=_0x4955bb;return _0x384a7e==null?void 0x0:_0x384a7e[_0x525580(0x139)](_0x15f92d=>(0x0,_0xa600dd[_0x525580(0x19b)])(_0x15f92d,_0x161e0e,_0x3d575f));}function _0x31982a(_0xea9a10,_0x263d09,_0x19eaa8){const _0x490ab=_0x4955bb;return _0xea9a10==null?void 0x0:_0xea9a10[_0x490ab(0x139)](_0x209d2e=>(0x0,_0xa600dd['shiftExclusiveRangeOnInsert'])(_0x209d2e,_0x263d09,_0x19eaa8));}function _0x3e120f(_0x11139a,_0x4b3789,_0x536b5c){const _0x26ec9c=_0x4955bb;return _0x11139a==null?void 0x0:_0x11139a[_0x26ec9c(0x139)](_0x4d76ab=>(0x0,_0xa600dd[_0x26ec9c(0x1fb)])(_0x4d76ab,_0x4b3789,_0x536b5c))[_0x26ec9c(0x17c)](_0x4d7f82=>_0x4d7f82!=null);}function _0x51c81b(_0x1a2075,_0x37ae21,_0x48a555){const _0x2c2083=_0x4955bb;return _0x1a2075==null?void 0x0:_0x1a2075[_0x2c2083(0x139)](_0xd6b841=>(0x0,_0xa600dd[_0x2c2083(0x1fa)])(_0xd6b841,_0x37ae21,_0x48a555))[_0x2c2083(0x17c)](_0x4248a6=>_0x4248a6!=null);}function _0x134976(_0x5c9176){const _0x373a66=_0x4955bb;if(!_0x5c9176[_0x373a66(0x1e9)])throw Error(_0x373a66(0x1d5));return _0x5c9176['body'];}function _0x5b9600(_0x4d090d){'@babel/helpers - typeof';const _0x383682=_0x4955bb;return _0x5b9600=typeof Symbol=='function'&&typeof Symbol[_0x383682(0x13f)]=='symbol'?function(_0x42d22e){return typeof _0x42d22e;}:function(_0x3eeac0){const _0x3eaaf6=_0x383682;return _0x3eeac0&&typeof Symbol=='function'&&_0x3eeac0[_0x3eaaf6(0x20c)]===Symbol&&_0x3eeac0!==Symbol[_0x3eaaf6(0x233)]?_0x3eaaf6(0x19f):typeof _0x3eeac0;},_0x5b9600(_0x4d090d);}function _0x55e20e(_0x215d03,_0x55c3f2){const _0x929dc6=_0x4955bb;if(_0x5b9600(_0x215d03)!=_0x929dc6(0x148)||!_0x215d03)return _0x215d03;var _0x4eab18=_0x215d03[Symbol[_0x929dc6(0x260)]];if(_0x4eab18!==void 0x0){var _0x4884df=_0x4eab18['call'](_0x215d03,_0x55c3f2||_0x929dc6(0x1a8));if(_0x5b9600(_0x4884df)!=_0x929dc6(0x148))return _0x4884df;throw TypeError('@@toPrimitive\x20must\x20return\x20a\x20primitive\x20value.');}return(_0x55c3f2===_0x929dc6(0x26d)?String:Number)(_0x215d03);}function _0x3ec881(_0x3be2bd){var _0x4822a5=_0x55e20e(_0x3be2bd,'string');return _0x5b9600(_0x4822a5)=='symbol'?_0x4822a5:_0x4822a5+'';}function _0x2567b3(_0x5e4de5,_0x31938e,_0x563d16){const _0x63ad7=_0x4955bb;return(_0x31938e=_0x3ec881(_0x31938e))in _0x5e4de5?Object[_0x63ad7(0x22a)](_0x5e4de5,_0x31938e,{'value':_0x563d16,'enumerable':!0x0,'configurable':!0x0,'writable':!0x0}):_0x5e4de5[_0x31938e]=_0x563d16,_0x5e4de5;}var _0x5e0b6b=class extends _0xa600dd[_0x4955bb(0x1a1)]{constructor(..._0x5e4528){const _0x2ed1f0=_0x4955bb;super(..._0x5e4528),_0x2567b3(this,_0x2ed1f0(0x1d1),new Map()),_0x2567b3(this,_0x2ed1f0(0x1e7),new Map()),_0x2567b3(this,_0x2ed1f0(0x253),new Map()),_0x2567b3(this,_0x2ed1f0(0x234),new _0x4127ab[(_0x2ed1f0(0x254))]()),_0x2567b3(this,_0x2ed1f0(0x20d),this[_0x2ed1f0(0x234)][_0x2ed1f0(0x1b7)]());}['getFormula'](_0x4e1a41,_0x471782){const _0x502f71=_0x4955bb;var _0x927426;let _0x57b1d7=(_0x927426=this['_resources'][_0x502f71(0x1b3)](_0x4e1a41))==null?void 0x0:_0x927426[_0x502f71(0x262)][_0x471782];return _0x57b1d7?_0xa600dd['Tools']['deepClone'](_0x57b1d7):void 0x0;}[_0x4955bb(0x16e)](_0x4e266a){const _0x1386eb=_0x4955bb;var _0x263532;return _0xa600dd[_0x1386eb(0x24a)][_0x1386eb(0x261)](((_0x263532=this['_resources'][_0x1386eb(0x1b3)](_0x4e266a))==null?void 0x0:_0x263532[_0x1386eb(0x262)])??{});}[_0x4955bb(0x1ce)](_0x499d3d){const _0x478e08=_0x4955bb;let _0x14d70d=this['_resources'][_0x478e08(0x1b3)](_0x499d3d);return _0x14d70d?_0xa600dd[_0x478e08(0x24a)]['deepClone'](_0x14d70d):void 0x0;}['setFormula'](_0x1a31a3,_0x5c7150,_0x2ff601){const _0x3183c3=_0x4955bb;return this[_0x3183c3(0x26c)](_0x1a31a3,{[_0x5c7150]:_0x2ff601});}['setResource'](_0x2c899c,_0x4bc741){const _0x487203=_0x4955bb;return this['_loadErrors'][_0x487203(0x150)](_0x2c899c)||!_0x5010f7(_0x4bc741)?!0x1:(this[_0x487203(0x1d1)]['set'](_0x2c899c,_0xa600dd[_0x487203(0x24a)][_0x487203(0x261)](_0x4bc741)),this['_change$'][_0x487203(0x1b9)]({'unitId':_0x2c899c}),!0x0);}[_0x4955bb(0x26c)](_0xfc7ed0,_0x34ca45){const _0x287680=_0x4955bb;if(this[_0x287680(0x253)][_0x287680(0x150)](_0xfc7ed0)||!Object['keys'](_0x34ca45)[_0x287680(0x133)]||!_0x5010f7({'schemaVersion':0x1,'formulas':_0x34ca45}))return!0x1;let _0x1e1ff4=this['_resources'][_0x287680(0x1b3)](_0xfc7ed0)??_0x3eac7f(),_0x4f4a89=_0xa600dd['Tools']['deepClone'](_0x1e1ff4);return Object[_0x287680(0x1b0)](_0x4f4a89['formulas'],_0xa600dd['Tools']['deepClone'](_0x34ca45)),this[_0x287680(0x1d1)]['set'](_0xfc7ed0,_0x4f4a89),this[_0x287680(0x234)]['next']({'unitId':_0xfc7ed0,'rangeIds':Object['keys'](_0x34ca45)}),!0x0;}[_0x4955bb(0x1d7)](_0x28f20a,_0x4d8cd0){const _0x2c0cd3=_0x4955bb;if(this[_0x2c0cd3(0x253)][_0x2c0cd3(0x150)](_0x28f20a))return!0x1;let _0x223711=this[_0x2c0cd3(0x1d1)][_0x2c0cd3(0x1b3)](_0x28f20a);if(!(_0x223711!=null&&_0x223711[_0x2c0cd3(0x262)][_0x4d8cd0]))return!0x1;let _0x2702b2=_0xa600dd[_0x2c0cd3(0x24a)][_0x2c0cd3(0x261)](_0x223711);return delete _0x2702b2[_0x2c0cd3(0x262)][_0x4d8cd0],this[_0x2c0cd3(0x1d1)][_0x2c0cd3(0x1c2)](_0x28f20a,_0x2702b2),this[_0x2c0cd3(0x234)][_0x2c0cd3(0x1b9)]({'unitId':_0x28f20a,'rangeIds':[_0x4d8cd0]}),!0x0;}[_0x4955bb(0x209)](_0x904fe5,_0x1a7b0e){const _0x274105=_0x4955bb;return _0x1a7b0e&&typeof _0x1a7b0e==_0x274105(0x148)&&_0x274105(0x154)in _0x1a7b0e&&_0x1a7b0e[_0x274105(0x154)]!==0x1?(this[_0x274105(0x1b5)](_0x904fe5,_0x1a7b0e,'unsupported-version'),!0x1):_0x5010f7(_0x1a7b0e)?(this[_0x274105(0x1d1)]['set'](_0x904fe5,_0xa600dd['Tools']['deepClone'](_0x1a7b0e)),this['_rawResources'][_0x274105(0x176)](_0x904fe5),this[_0x274105(0x253)][_0x274105(0x176)](_0x904fe5),this[_0x274105(0x234)][_0x274105(0x1b9)]({'unitId':_0x904fe5}),!0x0):(this[_0x274105(0x1b5)](_0x904fe5,_0x1a7b0e,_0x274105(0x1bf)),!0x1);}[_0x4955bb(0x182)](_0x35f271){const _0x3f1a45=_0x4955bb;let _0x5f54ea=this[_0x3f1a45(0x1d1)][_0x3f1a45(0x1b3)](_0x35f271);return _0x5f54ea?_0xa600dd['Tools'][_0x3f1a45(0x261)](_0x5f54ea):this['_rawResources'][_0x3f1a45(0x150)](_0x35f271)?_0xa600dd[_0x3f1a45(0x24a)][_0x3f1a45(0x261)](this[_0x3f1a45(0x1e7)][_0x3f1a45(0x1b3)](_0x35f271)):_0x3eac7f();}[_0x4955bb(0x1c9)](_0x3bed18){const _0x1e0c0c=_0x4955bb;return this[_0x1e0c0c(0x253)][_0x1e0c0c(0x1b3)](_0x3bed18);}[_0x4955bb(0x1fe)](_0x2351fe){const _0x95686=_0x4955bb;this[_0x95686(0x1d1)][_0x95686(0x176)](_0x2351fe),this[_0x95686(0x1e7)][_0x95686(0x176)](_0x2351fe),this['_loadErrors'][_0x95686(0x176)](_0x2351fe),this[_0x95686(0x234)]['next']({'unitId':_0x2351fe});}[_0x4955bb(0x23a)](){const _0x444dcc=_0x4955bb;this[_0x444dcc(0x1d1)][_0x444dcc(0x161)](),this['_rawResources'][_0x444dcc(0x161)](),this[_0x444dcc(0x253)]['clear'](),this['_change$'][_0x444dcc(0x1e0)](),super[_0x444dcc(0x23a)]();}['_preserveInvalid'](_0x1c1bc9,_0x666209,_0x4fdd18){const _0x348406=_0x4955bb;this['_resources']['delete'](_0x1c1bc9),this[_0x348406(0x1e7)]['set'](_0x1c1bc9,_0xa600dd[_0x348406(0x24a)][_0x348406(0x261)](_0x666209)),this['_loadErrors'][_0x348406(0x1c2)](_0x1c1bc9,_0x4fdd18),this['_change$'][_0x348406(0x1b9)]({'unitId':_0x1c1bc9});}};let _0xb37966=function(_0x469120){const _0x5711f4=_0x4955bb;return _0x469120[_0x5711f4(0x19a)]=_0x5711f4(0x259),_0x469120['PENDING']=_0x5711f4(0x14c),_0x469120[_0x5711f4(0x20f)]=_0x5711f4(0x1c8),_0x469120[_0x5711f4(0x184)]='error',_0x469120;}({});function _0x43cc7d(_0x2628f4,_0x232a8e){return function(_0x5f1df5,_0x5ee284){_0x232a8e(_0x5f1df5,_0x5ee284,_0x2628f4);};}function _0x349b98(_0x27255b,_0x4fa7b2,_0x4a29f9,_0x4301fe){const _0x1d9426=_0x4955bb;var _0x212fbc=arguments[_0x1d9426(0x133)],_0xffe682=_0x212fbc<0x3?_0x4fa7b2:_0x4301fe===null?_0x4301fe=Object['getOwnPropertyDescriptor'](_0x4fa7b2,_0x4a29f9):_0x4301fe,_0x1abfe8;if(typeof Reflect=='object'&&typeof Reflect[_0x1d9426(0x1a9)]=='function')_0xffe682=Reflect[_0x1d9426(0x1a9)](_0x27255b,_0x4fa7b2,_0x4a29f9,_0x4301fe);else{for(var _0x306723=_0x27255b[_0x1d9426(0x133)]-0x1;_0x306723>=0x0;_0x306723--)(_0x1abfe8=_0x27255b[_0x306723])&&(_0xffe682=(_0x212fbc<0x3?_0x1abfe8(_0xffe682):_0x212fbc>0x3?_0x1abfe8(_0x4fa7b2,_0x4a29f9,_0xffe682):_0x1abfe8(_0x4fa7b2,_0x4a29f9))||_0xffe682);}return _0x212fbc>0x3&&_0xffe682&&Object[_0x1d9426(0x22a)](_0x4fa7b2,_0x4a29f9,_0xffe682),_0xffe682;}let _0x4738b9=class extends _0xa600dd[_0x4955bb(0x1a1)]{constructor(_0x1adae7,_0x149727,_0x57acae){const _0x54cbff=_0x4955bb;super(),this[_0x54cbff(0x18b)]=_0x1adae7,this[_0x54cbff(0x1c4)]=_0x149727,this['_hostExternalReferenceModel']=_0x57acae,_0x2567b3(this,_0x54cbff(0x1a2),new Map()),_0x2567b3(this,_0x54cbff(0x189),new Map()),_0x2567b3(this,'_presentationChanged$',new _0x4127ab[(_0x54cbff(0x254))]()),_0x2567b3(this,_0x54cbff(0x1d9),this[_0x54cbff(0x1cc)]['asObservable']()),this[_0x54cbff(0x13e)](this[_0x54cbff(0x1c4)][_0x54cbff(0x1bc)][_0x54cbff(0x1e5)](_0x446679=>{const _0x267741=_0x54cbff;for(let _0x15de43 of Object[_0x267741(0x155)](_0x446679))for(let _0x3cbc5f of Object[_0x267741(0x155)](_0x15de43))_0x3cbc5f[_0x267741(0x1c1)](_0x2c2f59=>this['_updateFormulaResult'](_0x2c2f59));}));}[_0x4955bb(0x1b6)](_0x50ae5d){const _0xe6687a=_0x4955bb;var _0x480650;let _0x22ffe7=_0x50ae5d[_0xe6687a(0x242)](),_0x229fb8=((_0x480650=_0x50ae5d['getSnapshot']()[_0xe6687a(0x1e9)])==null||(_0x480650=_0x480650[_0xe6687a(0x164)])==null?void 0x0:_0x480650[_0xe6687a(0x17c)](_0xac054f))??[],_0x333723=this['_model']['getFormulas'](_0x22ffe7),_0x23f952=new Set();for(let _0x5e47b6 of _0x229fb8){let _0x1d9f45=_0x333723[_0x5e47b6['rangeId']];_0x1d9f45&&(_0x23f952[_0xe6687a(0x24f)](_0x41ac89(_0x22ffe7,_0x5e47b6[_0xe6687a(0x25e)])),this[_0xe6687a(0x160)]({'unitId':_0x22ffe7,'rangeId':_0x5e47b6['rangeId']},_0x1d9f45));}for(let _0x7377a3 of Array[_0xe6687a(0x1ba)](this[_0xe6687a(0x1a2)][_0xe6687a(0x155)]()))_0x7377a3['unitId']===_0x22ffe7&&!_0x23f952['has'](_0x41ac89(_0x7377a3[_0xe6687a(0x257)],_0x7377a3[_0xe6687a(0x25e)]))&&this[_0xe6687a(0x215)](_0x7377a3);}[_0x4955bb(0x160)](_0x24a02c,_0x54fb8a){const _0x30ee29=_0x4955bb;let _0x10a34f=_0x41ac89(_0x24a02c[_0x30ee29(0x257)],_0x24a02c[_0x30ee29(0x25e)]),_0x4f43b3=this['_registrations'][_0x30ee29(0x1b3)](_0x10a34f),_0xd56e01=this['_hostExternalReferenceModel'][_0x30ee29(0x1ea)](_0x24a02c['unitId']);if(_0x4f43b3&&_0x4f43b3[_0x30ee29(0x15e)][_0x30ee29(0x1f6)]===_0x54fb8a[_0x30ee29(0x1f6)]&&_0x4f43b3['referenceRevision']===_0xd56e01){_0x4f43b3[_0x30ee29(0x15e)]=_0x54fb8a;let _0x298d3d=_0x4f43b3[_0x30ee29(0x152)]?this[_0x30ee29(0x1c4)][_0x30ee29(0x15c)](_0x4f43b3['unitId'],_0x4f43b3['unitId'],_0x4f43b3[_0x30ee29(0x152)])??void 0x0:void 0x0;_0x4f43b3[_0x30ee29(0x14a)]=_0x298d3d,this[_0x30ee29(0x14f)](_0x10a34f,_0x1fcc08(_0x54fb8a,_0x298d3d));return;}_0x4f43b3!=null&&_0x4f43b3['formulaId']&&this[_0x30ee29(0x19d)](_0x4f43b3);let _0xbab168={..._0x24a02c,'config':_0x54fb8a,'referenceRevision':_0xd56e01,'presentation':_0x1fcc08(_0x54fb8a,void 0x0)};if(this['_registrations'][_0x30ee29(0x1c2)](_0x10a34f,_0xbab168),!_0x54fb8a[_0x30ee29(0x1f6)]['trim']())return;let _0x96cf7b=this[_0x30ee29(0x1c4)][_0x30ee29(0x13b)](_0x24a02c['unitId'],_0x24a02c[_0x30ee29(0x257)],_0x54fb8a['formula'],void 0x0,{'rangeId':_0x24a02c['rangeId']},_0x5430b4[_0x30ee29(0x270)][_0x30ee29(0x252)],_0x24a02c[_0x30ee29(0x25e)]);_0xbab168[_0x30ee29(0x152)]=_0x96cf7b,this['_formulaKeys'][_0x30ee29(0x1c2)](_0x96cf7b,_0x10a34f);}['unregister'](_0x3bf8d9){const _0x3e0a7b=_0x4955bb;let _0x4fc0af=_0x41ac89(_0x3bf8d9['unitId'],_0x3bf8d9[_0x3e0a7b(0x25e)]),_0x4ca271=this[_0x3e0a7b(0x1a2)][_0x3e0a7b(0x1b3)](_0x4fc0af);_0x4ca271&&(this[_0x3e0a7b(0x19d)](_0x4ca271),this[_0x3e0a7b(0x1a2)][_0x3e0a7b(0x176)](_0x4fc0af));}[_0x4955bb(0x251)](_0x16b010){const _0x11b8ab=_0x4955bb;for(let _0x245d5b of Array['from'](this['_registrations']['values']()))_0x245d5b[_0x11b8ab(0x257)]===_0x16b010&&this[_0x11b8ab(0x215)](_0x245d5b);}[_0x4955bb(0x179)](_0xec776f){const _0xe19292=_0x4955bb;var _0xe4b013;return(_0xe4b013=this[_0xe19292(0x1a2)][_0xe19292(0x1b3)](_0x41ac89(_0xec776f['unitId'],_0xec776f[_0xe19292(0x25e)])))==null?void 0x0:_0xe4b013['presentation'];}['getResult'](_0x35cd11){const _0x432e19=_0x4955bb;let _0xf71329=this[_0x432e19(0x1a2)][_0x432e19(0x1b3)](_0x41ac89(_0x35cd11[_0x432e19(0x257)],_0x35cd11[_0x432e19(0x25e)]));return _0xf71329?_0x3840ab(_0xf71329):void 0x0;}[_0x4955bb(0x20b)](){const _0x3aa601=_0x4955bb;return Array['from'](this[_0x3aa601(0x1a2)][_0x3aa601(0x155)](),_0x59ab8a=>({'identity':{'unitId':_0x59ab8a[_0x3aa601(0x257)],'rangeId':_0x59ab8a[_0x3aa601(0x25e)]},'config':_0x59ab8a[_0x3aa601(0x15e)],'referenceRevision':_0x59ab8a[_0x3aa601(0x1ec)],..._0x59ab8a[_0x3aa601(0x14a)]?{'liveResult':_0x59ab8a['liveResult']}:null}));}[_0x4955bb(0x23a)](){const _0x317ac5=_0x4955bb;for(let _0x2cc99a of this['_registrations'][_0x317ac5(0x155)]())this[_0x317ac5(0x19d)](_0x2cc99a);this['_registrations'][_0x317ac5(0x161)](),this[_0x317ac5(0x189)][_0x317ac5(0x161)](),this[_0x317ac5(0x1cc)][_0x317ac5(0x1e0)](),super['dispose']();}[_0x4955bb(0x19e)](_0x22d164){const _0x10adc0=_0x4955bb;let _0x9277a=this['_formulaKeys'][_0x10adc0(0x1b3)](_0x22d164['formulaId']),_0x3105b7=_0x9277a?this[_0x10adc0(0x1a2)][_0x10adc0(0x1b3)](_0x9277a):void 0x0;_0x9277a&&_0x3105b7&&(_0x3105b7[_0x10adc0(0x14a)]=_0x22d164,this[_0x10adc0(0x14f)](_0x9277a,_0x1fcc08(_0x3105b7['config'],_0x22d164)));}[_0x4955bb(0x14f)](_0x51dfa9,_0xdd1cff){const _0xa5c3c9=_0x4955bb;var _0x4b618e,_0x6c21ae;let _0x24d7ac=this['_registrations'][_0xa5c3c9(0x1b3)](_0x51dfa9);if(!_0x24d7ac||_0x412413(_0x24d7ac['presentation'],_0xdd1cff))return;let _0x5c5fd1=_0x24d7ac[_0xa5c3c9(0x279)],_0x3047a5=_0x3840ab(_0x24d7ac);_0x24d7ac[_0xa5c3c9(0x279)]=_0xdd1cff,this[_0xa5c3c9(0x1cc)][_0xa5c3c9(0x1b9)]({'unitId':_0x24d7ac[_0xa5c3c9(0x257)],'rangeId':_0x24d7ac[_0xa5c3c9(0x25e)],'presentation':_0xdd1cff,'previousPresentation':_0x5c5fd1,'result':_0x3840ab(_0x24d7ac),'previousResult':{..._0x3047a5,..._0x5c5fd1,'value':(_0x4b618e=_0x5c5fd1['cell'])==null?void 0x0:_0x4b618e['v'],'valueType':((_0x6c21ae=_0x5c5fd1['cell'])==null?void 0x0:_0x6c21ae['t'])??void 0x0}});}[_0x4955bb(0x19d)](_0x4e8f36){const _0x14420a=_0x4955bb;_0x4e8f36[_0x14420a(0x152)]&&(this['_registrationService'][_0x14420a(0x169)](_0x4e8f36['unitId'],_0x4e8f36[_0x14420a(0x257)],[_0x4e8f36[_0x14420a(0x152)]]),this[_0x14420a(0x189)][_0x14420a(0x176)](_0x4e8f36['formulaId']));}};_0x4738b9=_0x349b98([_0x43cc7d(0x0,(0x0,_0xa600dd[_0x4955bb(0x140)])(_0x5e0b6b)),_0x43cc7d(0x1,(0x0,_0xa600dd['Inject'])(_0x5430b4['RegisterOtherFormulaService'])),_0x43cc7d(0x2,(0x0,_0xa600dd[_0x4955bb(0x140)])(_0x219b45['HostExternalReferenceModel']))],_0x4738b9);function _0x41ac89(_0x40a49a,_0x4342cf){return _0x40a49a+'\x00'+_0x4342cf;}function _0x1fcc08(_0x482de4,_0x2a3656){return(0x0,_0x219b45['resolveFormulaResultPresentation'])({'numberFormat':_0x482de4['numberFormat'],'lastValue':_0x482de4['lastValue'],'result':_0x2a3656});}function _0x3840ab(_0x3e87f9){const _0x1ae4cb=_0x4955bb;var _0x561b76,_0x56e53b,_0x358a67;let _0x17d110=_0x3e87f9[_0x1ae4cb(0x279)],_0x1354f3=_0x3e87f9[_0x1ae4cb(0x15e)]['formula'][_0x1ae4cb(0x230)]()?_0x17d110['stale']||_0x17d110[_0x1ae4cb(0x13c)]==null?_0x1ae4cb(0x14c):((_0x561b76=_0x3e87f9['liveResult'])==null?void 0x0:_0x561b76[_0x1ae4cb(0x1f5)])===_0x5430b4[_0x1ae4cb(0x1e3)][_0x1ae4cb(0x184)]?_0x1ae4cb(0x17b):_0x1ae4cb(0x1c8):'empty';return{..._0x17d110,'status':_0x1354f3,'value':(_0x56e53b=_0x17d110[_0x1ae4cb(0x13c)])==null?void 0x0:_0x56e53b['v'],'valueType':((_0x358a67=_0x17d110[_0x1ae4cb(0x13c)])==null?void 0x0:_0x358a67['t'])??void 0x0};}function _0x412413(_0x128933,_0xbc6ef5){const _0x2942c4=_0x4955bb;var _0x21e6b7,_0x3e95b2,_0x2627b4,_0x527524;return _0x128933['text']===_0xbc6ef5[_0x2942c4(0x256)]&&_0x128933[_0x2942c4(0x200)]===_0xbc6ef5[_0x2942c4(0x200)]&&_0x128933[_0x2942c4(0x1f9)]===_0xbc6ef5[_0x2942c4(0x1f9)]&&_0x128933[_0x2942c4(0x144)]===_0xbc6ef5[_0x2942c4(0x144)]&&_0x128933[_0x2942c4(0x187)]===_0xbc6ef5[_0x2942c4(0x187)]&&((_0x21e6b7=_0x128933[_0x2942c4(0x13c)])==null?void 0x0:_0x21e6b7['t'])===((_0x3e95b2=_0xbc6ef5[_0x2942c4(0x13c)])==null?void 0x0:_0x3e95b2['t'])&&Object['is']((_0x2627b4=_0x128933[_0x2942c4(0x13c)])==null?void 0x0:_0x2627b4['v'],(_0x527524=_0xbc6ef5[_0x2942c4(0x13c)])==null?void 0x0:_0x527524['v']);}let _0x2aab19={'id':_0x4955bb(0x181),'type':_0xa600dd[_0x4955bb(0x21b)]['MUTATION'],'handler':(_0x563715,_0x4bd2d3)=>!(_0x4bd2d3!=null&&_0x4bd2d3[_0x4955bb(0x257)])||!_0x4bd2d3[_0x4955bb(0x25e)]||!_0x4bd2d3[_0x4955bb(0x15e)]?!0x1:_0x563715[_0x4955bb(0x1b3)](_0x5e0b6b)[_0x4955bb(0x241)](_0x4bd2d3[_0x4955bb(0x257)],_0x4bd2d3[_0x4955bb(0x25e)],_0x4bd2d3[_0x4955bb(0x15e)])},_0x152f9d={'id':_0x4955bb(0x1c5),'type':_0xa600dd[_0x4955bb(0x21b)]['MUTATION'],'handler':(_0xcff1dc,_0x430b66)=>!(_0x430b66!=null&&_0x430b66['unitId'])||!_0x430b66[_0x4955bb(0x25e)]?!0x1:_0xcff1dc['get'](_0x5e0b6b)[_0x4955bb(0x1d7)](_0x430b66[_0x4955bb(0x257)],_0x430b66['rangeId'])},_0x386db0={'id':_0x4955bb(0x14d),'type':_0xa600dd['CommandType'][_0x4955bb(0x1ee)],'handler':(_0x172b4f,_0xc635a7)=>!(_0xc635a7!=null&&_0xc635a7[_0x4955bb(0x257)])||!_0xc635a7[_0x4955bb(0x1b1)]?!0x1:_0x172b4f[_0x4955bb(0x1b3)](_0x5e0b6b)['setResource'](_0xc635a7['unitId'],_0xc635a7[_0x4955bb(0x1b1)])},_0xd3745f={'id':'docs-formula.mutation.set-last-values','type':_0xa600dd[_0x4955bb(0x21b)][_0x4955bb(0x1ee)],'handler':(_0x401eed,_0x20c109)=>{const _0x1add98=_0x4955bb;if(!(_0x20c109!=null&&_0x20c109[_0x1add98(0x257)])||!_0x20c109[_0x1add98(0x168)]['length'])return!0x1;let _0x1150ba=_0x401eed[_0x1add98(0x1b3)](_0x5e0b6b),_0x2298bb=_0x401eed[_0x1add98(0x1b3)](_0x219b45['HostExternalReferenceModel']),_0x57f2d6=_0x1150ba['getResource'](_0x20c109['unitId']);if(!_0x57f2d6)return!0x1;let _0xc5a1a1=_0xa600dd['Tools']['deepClone'](_0x57f2d6),_0x2e448c=!0x1;for(let _0x16b44c of _0x20c109[_0x1add98(0x168)]){var _0x9b5a3e,_0x145c6e,_0x366edb,_0x295c25;let _0x593226=_0xc5a1a1[_0x1add98(0x262)][_0x16b44c['rangeId']];_0x593226&&_0x593226[_0x1add98(0x1f6)]===_0x16b44c[_0x1add98(0x216)]&&((_0x9b5a3e=_0x593226[_0x1add98(0x265)])==null?void 0x0:_0x9b5a3e[_0x1add98(0x1f9)])===_0x16b44c[_0x1add98(0x245)]&&_0x2298bb[_0x1add98(0x1ea)](_0x20c109['unitId'])===_0x16b44c[_0x1add98(0x13d)]&&(((_0x145c6e=_0x593226['lastValue'])==null?void 0x0:_0x145c6e['v'])!==_0x16b44c['lastValue']['v']||((_0x366edb=_0x593226[_0x1add98(0x16d)])==null?void 0x0:_0x366edb['t'])!==_0x16b44c[_0x1add98(0x16d)]['t']||((_0x295c25=_0x593226[_0x1add98(0x16d)])==null?void 0x0:_0x295c25[_0x1add98(0x1f9)])!==_0x16b44c[_0x1add98(0x16d)]['pattern'])&&(_0x593226[_0x1add98(0x16d)]=_0xa600dd[_0x1add98(0x24a)][_0x1add98(0x261)](_0x16b44c[_0x1add98(0x16d)]),_0x2e448c=!0x0);}return!_0x2e448c||_0x1150ba[_0x1add98(0x27c)](_0x20c109[_0x1add98(0x257)],_0xc5a1a1);}},_0x2ec352={'id':_0x4955bb(0x1bd),'type':_0xa600dd[_0x4955bb(0x21b)][_0x4955bb(0x1a4)],'handler':(_0x28605b,_0x50acaf)=>{const _0x4afea3=_0x4955bb;if(!(_0x50acaf!=null&&_0x50acaf[_0x4afea3(0x1f6)][_0x4afea3(0x230)]()))return!0x1;let _0x3813ff=_0x3fdd9b(_0x28605b,_0x50acaf[_0x4afea3(0x257)],'');if(!_0x3813ff)return!0x1;let _0x4ad77e=_0xb70f7e(_0x50acaf['target'],_0x3813ff['body'],_0x54e05c(_0x28605b,_0x3813ff[_0x4afea3(0x257)]));if(!_0x4ad77e)return!0x1;let _0x1d7287=_0x581a17(_0x28605b,_0x3813ff['unitId'],_0x50acaf[_0x4afea3(0x1f6)],_0x50acaf['externalReferences']??[]);if(!_0x1d7287)return!0x1;let _0x33c6a9=_0x101714(_0x3813ff[_0x4afea3(0x1e9)],_0x3813ff[_0x4afea3(0x23e)],_0x3813ff[_0x4afea3(0x257)]),_0x1684ef=_0x31fb2b({'documentData':_0x3813ff[_0x4afea3(0x188)],'resource':_0x3813ff[_0x4afea3(0x1b1)],'rangeId':_0x33c6a9,'config':{'formula':_0x50acaf[_0x4afea3(0x1f6)],..._0x50acaf[_0x4afea3(0x265)]?{'numberFormat':_0x50acaf[_0x4afea3(0x265)]}:null},'startOffset':_0x4ad77e['startOffset'],'endOffset':_0x4ad77e[_0x4afea3(0x131)]});if(!_0x1684ef)return!0x1;let _0x3051d4=(0x0,_0x219b45[_0x4afea3(0x22b)])(_0x28605b,_0x3813ff[_0x4afea3(0x257)],_0x1d7287);return!_0x3051d4||!_0x3ab3e2({'accessor':_0x28605b,'document':_0x3813ff['document'],'unitId':_0x3813ff[_0x4afea3(0x257)],'trigger':_0x2ec352['id'],'rangeId':_0x33c6a9,'previousResource':_0x3813ff[_0x4afea3(0x1b1)],'nextResource':_0x1684ef['nextResource'],'previousDocumentData':_0x3813ff['documentData'],'nextDocumentData':_0x1684ef[_0x4afea3(0x227)],'cursorOffset':_0x1684ef[_0x4afea3(0x194)],'externalMutations':_0x3051d4})?!0x1:{'rangeId':_0x33c6a9,'startOffset':_0x1684ef[_0x4afea3(0x194)]-0x1,'endOffset':_0x1684ef[_0x4afea3(0x194)]};}},_0x578b02={'id':_0x4955bb(0x137),'type':_0xa600dd['CommandType'][_0x4955bb(0x1a4)],'handler':(_0x598fb9,_0x3393e4)=>{const _0x16afa0=_0x4955bb;if(!(_0x3393e4!=null&&_0x3393e4[_0x16afa0(0x25e)])||!_0x3393e4[_0x16afa0(0x1f6)][_0x16afa0(0x230)]())return!0x1;let _0x287644=_0x3fdd9b(_0x598fb9,_0x3393e4['unitId'],''),_0x4eee81=_0x287644==null?void 0x0:_0x287644[_0x16afa0(0x23e)][_0x16afa0(0x213)](_0x287644['unitId'],_0x3393e4['rangeId']),_0x318877=_0x287644?_0x274b50(_0x287644[_0x16afa0(0x188)]['body'],_0x3393e4[_0x16afa0(0x25e)]):void 0x0;if(!_0x287644||!_0x4eee81||!_0x318877)return!0x1;let _0x40e635=_0x581a17(_0x598fb9,_0x287644['unitId'],_0x3393e4[_0x16afa0(0x1f6)],_0x3393e4[_0x16afa0(0x1e4)]??[]);if(!_0x40e635)return!0x1;let _0x89b212=(0x0,_0x219b45[_0x16afa0(0x22b)])(_0x598fb9,_0x287644[_0x16afa0(0x257)],_0x40e635);if(!_0x89b212)return!0x1;let _0x304839=_0x451b02(_0x287644[_0x16afa0(0x1b1)]);return _0x304839[_0x16afa0(0x262)][_0x3393e4[_0x16afa0(0x25e)]]={'formula':_0x3393e4[_0x16afa0(0x1f6)],..._0x3393e4[_0x16afa0(0x265)]?{'numberFormat':_0x3393e4[_0x16afa0(0x265)]}:_0x4eee81[_0x16afa0(0x265)]?{'numberFormat':_0x4eee81[_0x16afa0(0x265)]}:null},_0x3ab3e2({'accessor':_0x598fb9,'document':_0x287644[_0x16afa0(0x142)],'unitId':_0x287644[_0x16afa0(0x257)],'trigger':_0x578b02['id'],'rangeId':_0x3393e4[_0x16afa0(0x25e)],'previousResource':_0x287644['resource'],'nextResource':_0x304839,'cursorOffset':_0x318877[_0x16afa0(0x15a)]+0x1,'externalMutations':_0x89b212});}},_0x1ae193={'id':_0x4955bb(0x1f2),'type':_0xa600dd['CommandType'][_0x4955bb(0x1a4)],'handler':(_0x422460,_0x3d4de7)=>{const _0x2d748c=_0x4955bb;if(!(_0x3d4de7!=null&&_0x3d4de7[_0x2d748c(0x25e)]))return!0x1;let _0x3c797e=_0x3fdd9b(_0x422460,_0x3d4de7[_0x2d748c(0x257)],''),_0x41d8cb=_0x3c797e==null?void 0x0:_0x3c797e[_0x2d748c(0x23e)]['getFormula'](_0x3c797e[_0x2d748c(0x257)],_0x3d4de7['rangeId']),_0x37acc2=_0x3c797e?_0x274b50(_0x3c797e[_0x2d748c(0x188)]['body'],_0x3d4de7['rangeId']):void 0x0;if(!_0x3c797e||!_0x41d8cb||!_0x37acc2)return!0x1;let _0x499477=_0x451b02(_0x3c797e[_0x2d748c(0x1b1)]);return _0x499477[_0x2d748c(0x262)][_0x3d4de7[_0x2d748c(0x25e)]]={..._0x41d8cb,..._0x3d4de7[_0x2d748c(0x265)]?{'numberFormat':_0x3d4de7[_0x2d748c(0x265)]}:null},_0x3d4de7[_0x2d748c(0x265)]||delete _0x499477[_0x2d748c(0x262)][_0x3d4de7['rangeId']]['numberFormat'],_0x3ab3e2({'accessor':_0x422460,'document':_0x3c797e[_0x2d748c(0x142)],'unitId':_0x3c797e[_0x2d748c(0x257)],'trigger':_0x1ae193['id'],'rangeId':_0x3d4de7[_0x2d748c(0x25e)],'previousResource':_0x3c797e[_0x2d748c(0x1b1)],'nextResource':_0x499477,'cursorOffset':_0x37acc2[_0x2d748c(0x15a)]+0x1,'externalMutations':{}});}},_0x391537={'id':_0x4955bb(0x191),'type':_0xa600dd[_0x4955bb(0x21b)][_0x4955bb(0x1a4)],'handler':(_0x5026bf,_0x273aad)=>_0x1a1183(_0x5026bf,_0x273aad,'',_0x391537['id'])},_0x45e88e={'id':'docs-formula.command.replace-with-text','type':_0xa600dd[_0x4955bb(0x21b)][_0x4955bb(0x1a4)],'handler':(_0x426fc2,_0x40a0cf)=>_0x1a1183(_0x426fc2,_0x40a0cf,(_0x40a0cf==null?void 0x0:_0x40a0cf['text'])??'',_0x45e88e['id'])},_0x4dd97d={'id':_0x4955bb(0x1f7),'type':_0xa600dd[_0x4955bb(0x21b)][_0x4955bb(0x1a4)],'handler':(_0x15e17b,_0x14f8bf)=>{const _0x5773cc=_0x4955bb;if(!(_0x14f8bf!=null&&_0x14f8bf[_0x5773cc(0x25e)]))return!0x1;let _0x1d0f02=_0x3fdd9b(_0x15e17b,_0x14f8bf[_0x5773cc(0x257)],'');if(!_0x1d0f02)return!0x1;let _0x437d57=_0x15e17b['get'](_0x4738b9)[_0x5773cc(0x235)]({'unitId':_0x1d0f02['unitId'],'rangeId':_0x14f8bf[_0x5773cc(0x25e)]});return _0x437d57?_0x1a1183(_0x15e17b,_0x14f8bf,_0x437d57[_0x5773cc(0x256)],_0x4dd97d['id']):!0x1;}};function _0x1a1183(_0x5a4bff,_0xd7b843,_0x53b5e6,_0x430f10){const _0x3816d9=_0x4955bb;if(!(_0xd7b843!=null&&_0xd7b843['rangeId']))return!0x1;let _0x21b3e0=_0x3fdd9b(_0x5a4bff,_0xd7b843[_0x3816d9(0x257)],'');if(!_0x21b3e0)return!0x1;let _0x2f15a5=_0x17de84({'documentData':_0x21b3e0[_0x3816d9(0x188)],'resource':_0x21b3e0[_0x3816d9(0x1b1)],'rangeId':_0xd7b843[_0x3816d9(0x25e)],'text':_0x53b5e6});return _0x2f15a5?_0x3ab3e2({'accessor':_0x5a4bff,'document':_0x21b3e0[_0x3816d9(0x142)],'unitId':_0x21b3e0[_0x3816d9(0x257)],'trigger':_0x430f10,'rangeId':_0xd7b843[_0x3816d9(0x25e)],'previousResource':_0x21b3e0[_0x3816d9(0x1b1)],'nextResource':_0x2f15a5[_0x3816d9(0x27b)],'previousDocumentData':_0x21b3e0[_0x3816d9(0x188)],'nextDocumentData':_0x2f15a5[_0x3816d9(0x227)],'cursorOffset':_0x2f15a5[_0x3816d9(0x194)],'externalMutations':{}}):!0x1;}function _0x3fdd9b(_0x315e5d,_0x3fef3a,_0x1e6e82){const _0x21adc1=_0x4955bb;if(_0x1e6e82)return null;let _0x21f609=_0x315e5d[_0x21adc1(0x1b3)](_0xa600dd[_0x21adc1(0x156)]),_0x5036de=(_0x3fef3a?_0x21f609[_0x21adc1(0x1b4)](_0x3fef3a,_0xa600dd[_0x21adc1(0x276)][_0x21adc1(0x186)]):_0x21f609['getCurrentUnitOfType'](_0xa600dd[_0x21adc1(0x276)][_0x21adc1(0x186)]))??null;if(!_0x5036de)return null;let _0x2973cf=_0x5036de[_0x21adc1(0x205)](),_0x33bdee=_0x2973cf[_0x21adc1(0x1e9)];if(_0x2973cf[_0x21adc1(0x197)]||!_0x33bdee)return null;let _0x3081eb=_0x315e5d['get'](_0x5e0b6b);return _0x3081eb['getLoadError'](_0x5036de['getUnitId']())?null:{'document':_0x5036de,'body':_0x33bdee,'documentData':_0x2973cf,'model':_0x3081eb,'resource':_0x3081eb[_0x21adc1(0x1ce)](_0x5036de[_0x21adc1(0x242)]())??_0x3eac7f(),'unitId':_0x5036de[_0x21adc1(0x242)]()};}function _0x54e05c(_0x53a8f3,_0x2a27e9){const _0x3aaff7=_0x4955bb;var _0x38dba4;return(_0x38dba4=_0x53a8f3[_0x3aaff7(0x1b3)](_0x165f65[_0x3aaff7(0x1ac)])[_0x3aaff7(0x277)]({'subUnitId':_0x2a27e9,'unitId':_0x2a27e9}))==null?void 0x0:_0x38dba4[0x0];}function _0xb70f7e(_0x3385ec,_0x395a61,_0x44d111){const _0x107883=_0x4955bb;if((_0x3385ec==null?void 0x0:_0x3385ec[_0x107883(0x27d)])===_0x107883(0x1db)){var _0x2f03fc;let _0x438c04=((_0x2f03fc=_0x395a61[_0x107883(0x250)])==null?void 0x0:_0x2f03fc[_0x107883(0x17c)](_0x568faf=>_0x568faf['paragraphId']===_0x3385ec['paragraphId']))??[];if(_0x438c04[_0x107883(0x133)]!==0x1)return null;let _0x5c29c8=_0x438c04[0x0],_0x45e790=(0x0,_0xa600dd[_0x107883(0x177)])(_0x395a61,_0x5c29c8),_0x4836f6=_0x5c29c8[_0x107883(0x206)]-_0x45e790,_0xda30ac=_0x3385ec[_0x107883(0x263)]===_0x107883(0x171)?_0x4836f6:_0x3385ec[_0x107883(0x263)];if(!Number['isInteger'](_0xda30ac)||_0xda30ac<0x0||_0xda30ac>_0x4836f6)return null;let _0x3b088c=_0x45e790+_0xda30ac;return{'startOffset':_0x3b088c,'endOffset':_0x3b088c};}if((_0x3385ec==null?void 0x0:_0x3385ec[_0x107883(0x27d)])===_0x107883(0x136))return!Number['isInteger'](_0x3385ec['startOffset'])||!Number['isInteger'](_0x3385ec[_0x107883(0x131)])?null:{'startOffset':Math['min'](_0x3385ec[_0x107883(0x1dc)],_0x3385ec[_0x107883(0x131)]),'endOffset':Math['max'](_0x3385ec['startOffset'],_0x3385ec[_0x107883(0x131)])};let _0x524d93=(_0x3385ec==null?void 0x0:_0x3385ec[_0x107883(0x27d)])===_0x107883(0x16c)?_0x3385ec[_0x107883(0x16c)]:_0x44d111;return!_0x524d93||_0x524d93['segmentId']?null:{'startOffset':Math['min'](_0x524d93[_0x107883(0x1dc)],_0x524d93[_0x107883(0x131)]),'endOffset':Math[_0x107883(0x198)](_0x524d93['startOffset'],_0x524d93[_0x107883(0x131)])};}function _0x581a17(_0x3c9336,_0x16d9f1,_0x3f5ddd,_0x222db6){const _0x50b6e7=_0x4955bb;let _0x56df7b=_0x3c9336['get'](_0x5430b4[_0x50b6e7(0x27a)]),_0x3c374d=_0x3f5ddd[_0x50b6e7(0x12e)]('=')?_0x3f5ddd['slice'](0x1):_0x3f5ddd,_0x5d7b60=_0x56df7b[_0x50b6e7(0x175)](_0x3c374d);if(!_0x5d7b60)return null;let _0x2108da=_0x3c9336[_0x50b6e7(0x1b3)](_0x219b45[_0x50b6e7(0x143)]),_0x149412=(0x0,_0x219b45['resolveHostFormulaExternalReferences'])({'qualifiers':(0x0,_0x219b45[_0x50b6e7(0x1ab)])(_0x5d7b60),'explicitReferences':_0x222db6??[],'resolveBinding':_0x321995=>_0x2108da[_0x50b6e7(0x224)](_0x16d9f1,_0x321995)});return _0x149412[_0x50b6e7(0x1f5)]===_0x50b6e7(0x138)?_0x149412[_0x50b6e7(0x196)]:null;}function _0x101714(_0x17b255,_0x983ff4,_0x326702){const _0x500dc5=_0x4955bb;var _0x478955;let _0x4b8d58=(0x0,_0xa600dd[_0x500dc5(0x1d4)])(0x6);for(;_0x17b255!=null&&(_0x478955=_0x17b255['customRanges'])!=null&&_0x478955[_0x500dc5(0x226)](_0x64252a=>_0x64252a['rangeId']===_0x4b8d58)||_0x983ff4[_0x500dc5(0x213)](_0x326702,_0x4b8d58);)_0x4b8d58=(0x0,_0xa600dd[_0x500dc5(0x1d4)])(0x6);return _0x4b8d58;}function _0x31fb2b(_0x480764){try{return _0x59d760(_0x480764);}catch(_0x2b8457){if(_0x2b8457 instanceof _0x341a6d)return null;throw _0x2b8457;}}function _0x3f3e0f(_0x166843){const _0x295563=_0x4955bb;let _0x429ea6=_0x166843['previousDocumentData']&&_0x166843['nextDocumentData']?_0x471a0d(_0x166843[_0x295563(0x142)],_0x166843[_0x295563(0x257)],_0x166843['previousDocumentData'],_0x166843[_0x295563(0x227)],_0x166843[_0x295563(0x194)],_0x166843['trigger']):null;return _0x166843[_0x295563(0x25b)]&&_0x166843[_0x295563(0x227)]&&!_0x429ea6?null:{'documentRedo':_0x429ea6,'resourceRedo':{'id':_0x386db0['id'],'params':{'unitId':_0x166843[_0x295563(0x257)],'resource':_0x166843[_0x295563(0x27b)]}},'resourceUndo':{'id':_0x386db0['id'],'params':{'unitId':_0x166843[_0x295563(0x257)],'resource':_0x166843[_0x295563(0x1c0)]}}};}function _0xa96b2b(_0x2783a7,_0x43a41f,_0x52702b,_0x31c002){const _0x3aeba6=_0x4955bb;_0x31c002['pushUndoRedo']({'id':_0x2783a7['trigger']+':'+_0x2783a7['rangeId'],'unitID':_0x2783a7[_0x3aeba6(0x257)],'redoMutations':[..._0x2783a7[_0x3aeba6(0x18e)]['redoMutation']?[_0x2783a7[_0x3aeba6(0x18e)][_0x3aeba6(0x222)]]:[],..._0x43a41f['documentRedo']?[_0x43a41f[_0x3aeba6(0x170)]]:[],_0x43a41f[_0x3aeba6(0x1d8)]],'undoMutations':[_0x43a41f[_0x3aeba6(0x174)],..._0x52702b?[_0x52702b]:[],..._0x2783a7[_0x3aeba6(0x18e)]['undoMutation']?[_0x2783a7['externalMutations']['undoMutation']]:[]]});}function _0x3ab3e2(_0xeb625e){const _0x84ed72=_0x4955bb;let _0x4dd03d=_0xeb625e[_0x84ed72(0x223)]['get'](_0xa600dd[_0x84ed72(0x1a0)]),_0x9f1c1c=_0xeb625e['accessor'][_0x84ed72(0x1b3)](_0xa600dd['IUndoRedoService']),_0x6abcd8=_0xeb625e[_0x84ed72(0x223)][_0x84ed72(0x1b3)](_0x165f65['DocSelectionManagerService']),_0x440438=_0x3f3e0f(_0xeb625e);if(!_0x440438)return!0x1;let _0x2620b3=!0x1,_0x1ebfe5=null,_0x414891=!0x1;try{if(_0xeb625e[_0x84ed72(0x18e)][_0x84ed72(0x222)]){if(!_0x4dd03d[_0x84ed72(0x229)](_0xeb625e[_0x84ed72(0x18e)][_0x84ed72(0x222)]['id'],_0xeb625e[_0x84ed72(0x18e)][_0x84ed72(0x222)][_0x84ed72(0x22e)]))return!0x1;_0x2620b3=!0x0;}if(_0x440438['documentRedo']){let _0x556600=_0x4dd03d['syncExecuteCommand'](_0x440438[_0x84ed72(0x170)]['id'],_0x440438[_0x84ed72(0x170)][_0x84ed72(0x22e)]);if(!_0x556600)return _0x4ba4a5(_0x4dd03d,_0xeb625e[_0x84ed72(0x18e)],_0x2620b3),!0x1;_0x1ebfe5={'id':_0x165f65[_0x84ed72(0x12c)]['id'],'params':{..._0x556600,'noHistory':!0x0,'noNeedSetTextRange':!0x0,'segmentId':''}};}if(!_0x4dd03d[_0x84ed72(0x229)](_0x440438[_0x84ed72(0x1d8)]['id'],_0x440438[_0x84ed72(0x1d8)][_0x84ed72(0x22e)]))return _0x43be04(_0x4dd03d,_0x1ebfe5),_0x4ba4a5(_0x4dd03d,_0xeb625e[_0x84ed72(0x18e)],_0x2620b3),!0x1;_0x414891=!0x0,_0xa96b2b(_0xeb625e,_0x440438,_0x1ebfe5,_0x9f1c1c);}catch(_0x12684b){throw _0x414891&&_0x4dd03d[_0x84ed72(0x229)](_0x440438[_0x84ed72(0x174)]['id'],_0x440438['resourceUndo'][_0x84ed72(0x22e)]),_0x43be04(_0x4dd03d,_0x1ebfe5),_0x4ba4a5(_0x4dd03d,_0xeb625e[_0x84ed72(0x18e)],_0x2620b3),_0x12684b;}return _0x6abcd8[_0x84ed72(0x141)]([{'startOffset':_0xeb625e['cursorOffset'],'endOffset':_0xeb625e[_0x84ed72(0x194)],'segmentId':''}],{'unitId':_0xeb625e['unitId'],'subUnitId':_0xeb625e[_0x84ed72(0x257)]},!0x1,{[_0x165f65[_0x84ed72(0x219)]]:!0x0}),!0x0;}function _0x471a0d(_0x2f7859,_0x34ddd8,_0x46c228,_0x3b9096,_0x29b3b7,_0x3691d7){const _0x373095=_0x4955bb;let _0xc080ca=_0x4c4516(_0x46c228,_0x3b9096,(0x0,_0xa600dd[_0x373095(0x232)])(_0x2f7859,''));return _0xc080ca?{'id':_0x165f65['RichTextEditingMutation']['id'],'params':{'unitId':_0x34ddd8,'actions':_0xc080ca,'segmentId':'','textRanges':[{'startOffset':_0x29b3b7,'endOffset':_0x29b3b7,'collapsed':!0x0,'segmentId':''}],'isEditing':!0x1,'noHistory':!0x0,'noNeedSetTextRange':!0x0,'trigger':_0x3691d7}}:null;}function _0x43be04(_0x27d0ca,_0x2b84c7){const _0x404d8e=_0x4955bb;_0x2b84c7&&_0x27d0ca[_0x404d8e(0x229)](_0x2b84c7['id'],_0x2b84c7[_0x404d8e(0x22e)]);}function _0x4ba4a5(_0x5e29fb,_0x3a29d7,_0x299fc0){const _0xc92843=_0x4955bb;_0x299fc0&&_0x3a29d7[_0xc92843(0x1f1)]&&_0x5e29fb[_0xc92843(0x229)](_0x3a29d7['undoMutation']['id'],_0x3a29d7[_0xc92843(0x1f1)][_0xc92843(0x22e)]);}function _0x4c4516(_0x4684a3,_0x2ccb1c,_0x4eb067){const _0xc19fa7=_0x4955bb;let _0x24fa6d=_0x4684a3[_0xc19fa7(0x1e9)],_0x2bac2d=_0x2ccb1c[_0xc19fa7(0x1e9)],_0x2aaa97=_0x44698c(_0x24fa6d==null?void 0x0:_0x24fa6d['dataStream'],_0x2bac2d==null?void 0x0:_0x2bac2d['dataStream']);if(!_0x2aaa97||!_0x2bac2d)return null;let _0x13ea50=new _0xa600dd[(_0xc19fa7(0x23c))]();return _0x13ea50[_0xc19fa7(0x157)](_0x2aaa97['start']),_0x2aaa97[_0xc19fa7(0x238)]>0x0&&_0x13ea50[_0xc19fa7(0x1ff)](_0x2aaa97[_0xc19fa7(0x238)],(0x0,_0xa600dd[_0xc19fa7(0x1bb)])(_0x2bac2d,_0x2aaa97[_0xc19fa7(0x13a)],_0x2aaa97[_0xc19fa7(0x13a)]+_0x2aaa97['insertLength'],!0x1)),_0x2aaa97['deleteLength']>0x0&&_0x13ea50[_0xc19fa7(0x176)](_0x2aaa97[_0xc19fa7(0x1a5)]),_0xa600dd[_0xc19fa7(0x183)][_0xc19fa7(0x1dd)]()['editOp'](_0x13ea50[_0xc19fa7(0x182)](),_0x4eb067);}function _0x44698c(_0x5a26b1,_0x430af0){const _0x482437=_0x4955bb;if(_0x5a26b1==null||_0x430af0==null||_0x5a26b1===_0x430af0)return null;let _0x4ab1a0=0x0;for(;_0x4ab1a0<_0x5a26b1[_0x482437(0x133)]&&_0x4ab1a0<_0x430af0['length']&&_0x5a26b1[_0x4ab1a0]===_0x430af0[_0x4ab1a0];)_0x4ab1a0+=0x1;let _0x10f08e=_0x5a26b1[_0x482437(0x133)],_0x2437d1=_0x430af0[_0x482437(0x133)];for(;_0x10f08e>_0x4ab1a0&&_0x2437d1>_0x4ab1a0&&_0x5a26b1[_0x10f08e-0x1]===_0x430af0[_0x2437d1-0x1];)--_0x10f08e,--_0x2437d1;return{'start':_0x4ab1a0,'deleteLength':_0x10f08e-_0x4ab1a0,'insertLength':_0x2437d1-_0x4ab1a0};}function _0x451b02(_0x3f7b1e){const _0x5c4577=_0x4955bb;return{'schemaVersion':0x1,'formulas':Object[_0x5c4577(0x228)](Object['entries'](_0x3f7b1e[_0x5c4577(0x262)])[_0x5c4577(0x139)](([_0x50c6af,_0x2eacec])=>[_0x50c6af,{..._0x2eacec,..._0x2eacec[_0x5c4577(0x265)]?{'numberFormat':{..._0x2eacec[_0x5c4577(0x265)]}}:null,..._0x2eacec[_0x5c4577(0x16d)]?{'lastValue':{..._0x2eacec['lastValue']}}:null}]))};}let _0x55cec0=class extends _0xa600dd[_0x4955bb(0x1a1)]{constructor(_0x2ccad2,_0x151aff,_0x434c31,_0x47b8ec){const _0x58d9c1=_0x4955bb;super(),this['_instanceService']=_0x2ccad2,this['_commandService']=_0x151aff,this[_0x58d9c1(0x18b)]=_0x434c31,this[_0x58d9c1(0x24c)]=_0x47b8ec,_0x2567b3(this,_0x58d9c1(0x195),new Set()),_0x2567b3(this,_0x58d9c1(0x166),!0x1),_0x2567b3(this,_0x58d9c1(0x244),!0x1),this['_instanceService'][_0x58d9c1(0x210)](_0xa600dd[_0x58d9c1(0x276)][_0x58d9c1(0x186)])[_0x58d9c1(0x1c1)](_0x3348cf=>this[_0x58d9c1(0x24c)][_0x58d9c1(0x1b6)](_0x3348cf)),this['disposeWithMe'](this[_0x58d9c1(0x18b)][_0x58d9c1(0x20d)][_0x58d9c1(0x1e5)](({unitId:_0x922bcb})=>this[_0x58d9c1(0x14b)](_0x922bcb))),this['disposeWithMe'](this['_instanceService'][_0x58d9c1(0x15d)][_0x58d9c1(0x1e5)](({unit:_0x3ef350})=>{const _0x24fb8f=_0x58d9c1;_0x3ef350['type']===_0xa600dd['UniverInstanceType']['UNIVER_DOC']&&this[_0x24fb8f(0x146)](_0x3ef350[_0x24fb8f(0x242)]());})),this[_0x58d9c1(0x13e)](this['_instanceService']['unitDisposed$'][_0x58d9c1(0x1e5)](_0x2a0a3b=>{const _0x1305bf=_0x58d9c1;this[_0x1305bf(0x24c)][_0x1305bf(0x251)](_0x2a0a3b['getUnitId']());})),this[_0x58d9c1(0x13e)](this[_0x58d9c1(0x246)][_0x58d9c1(0x267)](_0x18318b=>{const _0x1b941d=_0x58d9c1;if(_0x18318b['id']===_0x165f65[_0x1b941d(0x12c)]['id']&&_0x137068(_0x18318b[_0x1b941d(0x22e)])){let _0x2fa126=_0x18318b[_0x1b941d(0x22e)];_0x2fa126[_0x1b941d(0x1b2)]||this[_0x1b941d(0x14b)](_0x2fa126[_0x1b941d(0x257)]);}}));}[_0x4955bb(0x23a)](){const _0x4aab53=_0x4955bb;this['_isDisposed']=!0x0,super[_0x4aab53(0x23a)]();}[_0x4955bb(0x146)](_0x118721){const _0x572fcc=_0x4955bb;this[_0x572fcc(0x195)][_0x572fcc(0x24f)](_0x118721),!this[_0x572fcc(0x166)]&&(this['_syncScheduled']=!0x0,queueMicrotask(()=>{const _0x3c60a7=_0x572fcc;if(this['_syncScheduled']=!0x1,this[_0x3c60a7(0x244)])return;let _0x1be45a=Array[_0x3c60a7(0x1ba)](this[_0x3c60a7(0x195)]);this[_0x3c60a7(0x195)][_0x3c60a7(0x161)](),_0x1be45a[_0x3c60a7(0x1c1)](_0x53c2ee=>this['_syncUnit'](_0x53c2ee));}));}[_0x4955bb(0x14b)](_0x42ed45){const _0x1381bc=_0x4955bb;let _0x15f4bd=this[_0x1381bc(0x243)]['getUnit'](_0x42ed45,_0xa600dd[_0x1381bc(0x276)][_0x1381bc(0x186)]);_0x15f4bd&&this['_service'][_0x1381bc(0x1b6)](_0x15f4bd);}};_0x55cec0=_0x349b98([_0x43cc7d(0x0,_0xa600dd[_0x4955bb(0x156)]),_0x43cc7d(0x1,_0xa600dd[_0x4955bb(0x1a0)]),_0x43cc7d(0x2,(0x0,_0xa600dd[_0x4955bb(0x140)])(_0x5e0b6b)),_0x43cc7d(0x3,(0x0,_0xa600dd[_0x4955bb(0x140)])(_0x4738b9))],_0x55cec0);function _0x137068(_0x39c493){const _0x4c5144=_0x4955bb;return typeof _0x39c493==_0x4c5144(0x148)&&!!_0x39c493&&'unitId'in _0x39c493&&typeof _0x39c493[_0x4c5144(0x257)]=='string'&&(!(_0x4c5144(0x1b2)in _0x39c493)||_0x39c493['segmentId']===void 0x0||typeof _0x39c493['segmentId']=='string');}let _0xb875c5=class extends _0xa600dd['Disposable']{constructor(_0x5051f4,_0x3fd442){const _0xf75d36=_0x4955bb;super(),this[_0xf75d36(0x15f)]=_0x5051f4,this[_0xf75d36(0x190)]=_0x3fd442,this[_0xf75d36(0x13e)](this[_0xf75d36(0x15f)][_0xf75d36(0x199)]({'pluginName':_0x37b0b3,'businesses':[_0xa600dd[_0xf75d36(0x276)]['UNIVER_DOC']],'toJson':_0x42050b=>JSON[_0xf75d36(0x1c6)](this[_0xf75d36(0x190)][_0xf75d36(0x182)](_0x42050b)),'parseJson':_0x4879c2=>JSON['parse'](_0x4879c2),'onLoad':(_0x205ab5,_0x27deac)=>{const _0x1d67b0=_0xf75d36;this[_0x1d67b0(0x190)][_0x1d67b0(0x209)](_0x205ab5,_0x27deac);},'onUnLoad':_0x42dd1a=>this[_0xf75d36(0x190)][_0xf75d36(0x1fe)](_0x42dd1a)}));}};_0xb875c5=_0x349b98([_0x43cc7d(0x0,_0xa600dd[_0x4955bb(0x1fd)]),_0x43cc7d(0x1,(0x0,_0xa600dd['Inject'])(_0x5e0b6b))],_0xb875c5);var _0x44e9d7='@univerjs-pro/docs-formula',_0x4ff9a6=_0x4955bb(0x217);let _0x4da552={},_0x5e7a86=class extends _0xa600dd[_0x4955bb(0x1a1)]{constructor(_0xa8fd43,_0x30fe50,_0x16cf06){const _0x2951ee=_0x4955bb;super(),this[_0x2951ee(0x12b)]=_0xa8fd43,this[_0x2951ee(0x26e)]=_0x30fe50,this[_0x2951ee(0x13e)](_0x16cf06['register']({'resolve':(_0xb2ba0e,_0x5499b2)=>{const _0x2017a3=_0x2951ee;var _0x190540;return((_0x190540=_0x5499b2[_0x2017a3(0x164)])==null?void 0x0:_0x190540[_0x2017a3(0x17c)](_0xac054f)[_0x2017a3(0x139)](_0x13d789=>({'startOffset':_0x13d789[_0x2017a3(0x206)],'endOffset':_0x13d789[_0x2017a3(0x15a)]+0x1,'text':this[_0x2017a3(0x1de)](_0xb2ba0e,_0x13d789[_0x2017a3(0x25e)])})))??[];}})),this[_0x2951ee(0x13e)](this[_0x2951ee(0x26e)]['presentationChanged$']['subscribe'](({unitId:_0xf4a26a})=>{_0x16cf06['notifyTextChanged'](_0xf4a26a);}));}[_0x4955bb(0x1de)](_0x5f38fb,_0x216402){const _0x5633e3=_0x4955bb;var _0x302abe;return((_0x302abe=this[_0x5633e3(0x26e)][_0x5633e3(0x235)]({'unitId':_0x5f38fb,'rangeId':_0x216402}))==null?void 0x0:_0x302abe['text'])??'';}[_0x4955bb(0x130)](_0x311b8f,_0x5d312e,_0x21810c){const _0x20ec44=_0x4955bb;var _0x229dc9;let _0x235525=this[_0x20ec44(0x12b)][_0x20ec44(0x1b4)](_0x311b8f,_0xa600dd[_0x20ec44(0x276)]['UNIVER_DOC']),_0x1ed788=_0x235525==null?void 0x0:_0x235525[_0x20ec44(0x158)]();if(!_0x1ed788)return'';let _0x235a86=_0x1ed788['dataStream'][_0x20ec44(0x19c)](_0x5d312e,_0x21810c),_0x682329=((_0x229dc9=_0x1ed788['customRanges'])==null?void 0x0:_0x229dc9[_0x20ec44(0x17c)](_0x2317cb=>_0xac054f(_0x2317cb)&&_0x2317cb['startIndex']>=_0x5d312e&&_0x2317cb[_0x20ec44(0x15a)]<_0x21810c)[_0x20ec44(0x1af)]((_0x58f59e,_0x1ef8d8)=>_0x1ef8d8[_0x20ec44(0x206)]-_0x58f59e[_0x20ec44(0x206)]))??[];for(let _0x3773f9 of _0x682329){let _0x3b8b43=_0x3773f9[_0x20ec44(0x206)]-_0x5d312e,_0x28d1da=_0x3773f9[_0x20ec44(0x15a)]-_0x5d312e+0x1;_0x235a86=''+_0x235a86['slice'](0x0,_0x3b8b43)+this[_0x20ec44(0x1de)](_0x311b8f,_0x3773f9['rangeId'])+_0x235a86['slice'](_0x28d1da);}return _0x235a86;}[_0x4955bb(0x1ef)](_0x1c7c81){return _0x59a4e8(_0x1c7c81);}['degradeBody'](_0x585a36,_0x523287,_0x354070={}){const _0x2eced2=_0x4955bb;var _0x5eadcf;return _0x3220ee({'id':_0x585a36,'body':_0x523287,'documentStyle':{}},(((_0x5eadcf=_0x523287['customRanges'])==null?void 0x0:_0x5eadcf[_0x2eced2(0x17c)](_0xac054f))??[])[_0x2eced2(0x139)](_0x5091c1=>({'rangeId':_0x5091c1[_0x2eced2(0x25e)],'text':_0x354070[_0x5091c1[_0x2eced2(0x25e)]]??this[_0x2eced2(0x1de)](_0x585a36,_0x5091c1[_0x2eced2(0x25e)])})))[_0x2eced2(0x1e9)]??{'dataStream':''};}};_0x5e7a86=_0x349b98([_0x43cc7d(0x0,_0xa600dd[_0x4955bb(0x156)]),_0x43cc7d(0x1,(0x0,_0xa600dd[_0x4955bb(0x140)])(_0x4738b9)),_0x43cc7d(0x2,(0x0,_0xa600dd[_0x4955bb(0x140)])(_0x165f65[_0x4955bb(0x1ca)]))],_0x5e7a86);function _0x59a4e8(_0x1278b0){const _0x12c4fa=_0x4955bb;var _0x41f863,_0x1a8c1d;let _0x2736eb=_0x3aff5b(_0x1278b0),_0x4b00e7=_0x3220ee(_0x1278b0,(((_0x41f863=_0x1278b0['body'])==null||(_0x41f863=_0x41f863['customRanges'])==null?void 0x0:_0x41f863[_0x12c4fa(0x17c)](_0xac054f))??[])['map'](_0x1aed7c=>({'rangeId':_0x1aed7c[_0x12c4fa(0x25e)],'text':_0x1cbdb2(_0x2736eb==null?void 0x0:_0x2736eb[_0x12c4fa(0x262)][_0x1aed7c[_0x12c4fa(0x25e)]])})));return _0x4b00e7[_0x12c4fa(0x17e)]=(_0x1a8c1d=_0x4b00e7[_0x12c4fa(0x17e)])==null?void 0x0:_0x1a8c1d[_0x12c4fa(0x17c)](_0xfd520=>_0xfd520[_0x12c4fa(0x236)]!==_0x37b0b3),_0x4b00e7;}function _0x3aff5b(_0x3969ef){const _0x55d235=_0x4955bb;var _0x177da9;let _0x2d88fb=(_0x177da9=_0x3969ef[_0x55d235(0x17e)])==null||(_0x177da9=_0x177da9['find'](_0x410ca0=>_0x410ca0[_0x55d235(0x236)]===_0x55d235(0x1e2)))==null?void 0x0:_0x177da9[_0x55d235(0x1f0)];if(_0x2d88fb)try{let _0x505606=JSON[_0x55d235(0x167)](_0x2d88fb);return _0x5010f7(_0x505606)?_0x505606:void 0x0;}catch{return;}}function _0x1cbdb2(_0x53dbcf){const _0x30c88a=_0x4955bb;return _0x53dbcf?(0x0,_0x219b45[_0x30c88a(0x1fc)])({'lastValue':_0x53dbcf['lastValue'],'numberFormat':_0x53dbcf[_0x30c88a(0x265)]})[_0x30c88a(0x256)]:'';}let _0x57628b=class extends _0xa600dd['Disposable']{constructor(_0x11c670,_0x5ad665,_0x5afcc0){const _0x3e403a=_0x4955bb;super(),this[_0x3e403a(0x26e)]=_0x11c670,this[_0x3e403a(0x266)]=_0x5ad665,this[_0x3e403a(0x13e)](_0x5afcc0[_0x3e403a(0x264)](this));}[_0x4955bb(0x1c3)](_0x1b1562){const _0x2de7e2=_0x4955bb;let _0x4cd4d6=new Map();for(let _0x21f104 of this[_0x2de7e2(0x26e)][_0x2de7e2(0x20b)]()){var _0x4f057e;if(!this[_0x2de7e2(0x266)]['assess'](_0x21f104[_0x2de7e2(0x15e)][_0x2de7e2(0x1f6)],_0x21f104[_0x2de7e2(0x14a)])[_0x2de7e2(0x20a)])continue;let _0x5196e8=(0x0,_0x219b45[_0x2de7e2(0x203)])(_0x21f104[_0x2de7e2(0x14a)]),_0x4373a2=_0x5196e8?(0x0,_0x219b45[_0x2de7e2(0x1a6)])(_0x5196e8):null;if(!_0x4373a2||_0x7aa200(_0x21f104['config'][_0x2de7e2(0x16d)],_0x4373a2))continue;let _0x3a5c73=_0x4cd4d6[_0x2de7e2(0x1b3)](_0x21f104[_0x2de7e2(0x225)][_0x2de7e2(0x257)])??[];_0x3a5c73[_0x2de7e2(0x16f)]({'rangeId':_0x21f104[_0x2de7e2(0x225)]['rangeId'],'expectedFormula':_0x21f104[_0x2de7e2(0x15e)][_0x2de7e2(0x1f6)],'expectedNumberFormat':(_0x4f057e=_0x21f104[_0x2de7e2(0x15e)][_0x2de7e2(0x265)])==null?void 0x0:_0x4f057e[_0x2de7e2(0x1f9)],'expectedReferenceRevision':_0x21f104['referenceRevision'],'lastValue':_0x4373a2}),_0x4cd4d6[_0x2de7e2(0x1c2)](_0x21f104[_0x2de7e2(0x225)]['unitId'],_0x3a5c73);}return Array[_0x2de7e2(0x1ba)](_0x4cd4d6,([_0xbb1690,_0x15f56b])=>({'id':_0xd3745f['id'],'params':{'unitId':_0xbb1690,'updates':_0x15f56b}}));}};_0x57628b=_0x349b98([_0x43cc7d(0x0,(0x0,_0xa600dd[_0x4955bb(0x140)])(_0x4738b9)),_0x43cc7d(0x1,(0x0,_0xa600dd[_0x4955bb(0x140)])(_0x219b45[_0x4955bb(0x1f3)])),_0x43cc7d(0x2,(0x0,_0xa600dd['Inject'])(_0x219b45[_0x4955bb(0x134)]))],_0x57628b);function _0x7aa200(_0xd1947a,_0x354cbb){const _0x1e1c62=_0x4955bb;return(_0xd1947a==null?void 0x0:_0xd1947a['v'])===_0x354cbb['v']&&(_0xd1947a==null?void 0x0:_0xd1947a['t'])===_0x354cbb['t']&&(_0xd1947a==null?void 0x0:_0xd1947a[_0x1e1c62(0x1f9)])===_0x354cbb[_0x1e1c62(0x1f9)];}let _0x52f923=class extends _0xa600dd[_0x4955bb(0x221)]{constructor(_0x113045=_0x4da552,_0x2dc434,_0x550a0f,_0x9e3475){const _0x4563e9=_0x4955bb;super(),this[_0x4563e9(0x15b)]=_0x113045,this[_0x4563e9(0x24b)]=_0x2dc434,this[_0x4563e9(0x246)]=_0x550a0f,this[_0x4563e9(0x14e)]=_0x9e3475;let {..._0x466444}=(0x0,_0xa600dd['merge'])({},_0x4da552,this['_config']);this['_configService'][_0x4563e9(0x1da)](_0x4563e9(0x249),_0x466444);}[_0x4955bb(0x163)](){const _0x405433=_0x4955bb;this[_0x405433(0x24b)][_0x405433(0x24f)]([_0x5e0b6b]),this[_0x405433(0x24b)][_0x405433(0x24f)]([_0x4738b9]),this[_0x405433(0x24b)][_0x405433(0x24f)]([_0xb875c5]),this[_0x405433(0x24b)]['add']([_0x55cec0]),this['_injector']['add']([_0x57628b]),this['_injector'][_0x405433(0x24f)]([_0x5e7a86]),(0x0,_0xa600dd[_0x405433(0x22f)])(this['_injector'],[[_0x5e0b6b],[_0xb875c5],[_0x55cec0],[_0x57628b],[_0x5e7a86]]),[_0x2aab19,_0x152f9d,_0x386db0,_0xd3745f,_0x2ec352,_0x578b02,_0x1ae193,_0x391537,_0x45e88e,_0x4dd97d][_0x405433(0x1c1)](_0x3bb144=>this[_0x405433(0x13e)](this[_0x405433(0x246)][_0x405433(0x21c)](_0x3bb144)));}};_0x2567b3(_0x52f923,_0x4955bb(0x1a7),_0x37b0b3),_0x2567b3(_0x52f923,_0x4955bb(0x153),_0x44e9d7),_0x2567b3(_0x52f923,_0x4955bb(0x12f),_0x4ff9a6),_0x2567b3(_0x52f923,_0x4955bb(0x27d),_0xa600dd['UniverInstanceType']['UNIVER_DOC']),_0x52f923=_0x349b98([(0x0,_0xa600dd[_0x4955bb(0x274)])(_0x5f572e[_0x4955bb(0x21a)],_0x219b45['UniverProFormulaEnginePlugin'],_0x165f65[_0x4955bb(0x132)]),_0x43cc7d(0x1,(0x0,_0xa600dd[_0x4955bb(0x140)])(_0xa600dd[_0x4955bb(0x1b8)])),_0x43cc7d(0x2,_0xa600dd[_0x4955bb(0x1a0)]),_0x43cc7d(0x3,_0xa600dd[_0x4955bb(0x1e8)])],_0x52f923),_0x5c28cd[_0x4955bb(0x271)]=_0x4dd97d,_0x5c28cd[_0x4955bb(0x1df)]=_0x2846a2,_0x5c28cd[_0x4955bb(0x240)]='',_0x5c28cd[_0x4955bb(0x1e2)]=_0x37b0b3,_0x5c28cd[_0x4955bb(0x193)]=0x1,Object[_0x4955bb(0x22a)](_0x5c28cd,'DocFormulaDisplayTextService',{'enumerable':!0x0,'get':function(){return _0x5e7a86;}}),Object[_0x4955bb(0x22a)](_0x5c28cd,_0x4955bb(0x1e1),{'enumerable':!0x0,'get':function(){return _0x55cec0;}}),_0x5c28cd[_0x4955bb(0x135)]=_0x5e0b6b,Object[_0x4955bb(0x22a)](_0x5c28cd,'DocFormulaResourceController',{'enumerable':!0x0,'get':function(){return _0xb875c5;}}),_0x5c28cd[_0x4955bb(0x185)]=_0xb37966,Object['defineProperty'](_0x5c28cd,'DocFormulaService',{'enumerable':!0x0,'get':function(){return _0x4738b9;}}),_0x5c28cd['InsertDocFormulaCommand']=_0x2ec352,_0x5c28cd[_0x4955bb(0x208)]=_0x341a6d,_0x5c28cd[_0x4955bb(0x1cf)]=_0x391537,_0x5c28cd[_0x4955bb(0x18c)]=_0x152f9d,_0x5c28cd[_0x4955bb(0x268)]=_0x45e88e,_0x5c28cd[_0x4955bb(0x18f)]=_0xd3745f,_0x5c28cd[_0x4955bb(0x22d)]=_0x2aab19,_0x5c28cd[_0x4955bb(0x18a)]=_0x1ae193,_0x5c28cd['SetDocFormulaResourceMutation']=_0x386db0,Object[_0x4955bb(0x22a)](_0x5c28cd,_0x4955bb(0x180),{'enumerable':!0x0,'get':function(){return _0x52f923;}}),_0x5c28cd[_0x4955bb(0x237)]=_0x578b02,_0x5c28cd[_0x4955bb(0x1d2)]=_0x1461cd,_0x5c28cd[_0x4955bb(0x1ae)]=_0x59d760,_0x5c28cd[_0x4955bb(0x24e)]=_0x17de84,_0x5c28cd[_0x4955bb(0x23f)]=_0x382cd5,_0x5c28cd[_0x4955bb(0x22c)]=_0x3eac7f,_0x5c28cd[_0x4955bb(0x25c)]=_0x59a4e8,_0x5c28cd[_0x4955bb(0x173)]=_0x274b50,_0x5c28cd[_0x4955bb(0x21e)]=_0x3cd1eb,_0x5c28cd['isDocFormulaRange']=_0xac054f,_0x5c28cd[_0x4955bb(0x172)]=_0x5010f7,_0x5c28cd['isFormulaLastValue']=_0xce23f5;}));
|
|
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;}));
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@univerjs-pro/docs-formula",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.3.1",
|
|
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,15 +61,15 @@
|
|
|
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.3.1",
|
|
65
|
+
"@univerjs-pro/license": "1.3.1",
|
|
66
|
+
"@univerjs/core": "1.3.1",
|
|
67
|
+
"@univerjs/docs": "1.3.1",
|
|
68
|
+
"@univerjs/engine-formula": "1.3.1"
|
|
69
69
|
},
|
|
70
70
|
"devDependencies": {
|
|
71
|
-
"@univerjs-infra/shared": "1.
|
|
72
|
-
"@univerjs/engine-render": "1.
|
|
71
|
+
"@univerjs-infra/shared": "1.3.1",
|
|
72
|
+
"@univerjs/engine-render": "1.3.1",
|
|
73
73
|
"rxjs": "7.8.2",
|
|
74
74
|
"typescript": "^6.0.3",
|
|
75
75
|
"vitest": "^5.0.4"
|