@univerjs-pro/docs-formula 1.0.3 → 1.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/cjs/facade.js +1 -1
- package/lib/cjs/index.js +1 -1
- package/lib/es/facade.js +1 -1
- package/lib/es/index.js +1 -1
- package/lib/facade.js +1 -1
- package/lib/index.js +1 -1
- package/lib/umd/facade.js +1 -1
- package/lib/umd/index.js +1 -1
- package/package.json +9 -9
package/lib/umd/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
function _0x4d7b(_0x467cd6,_0x4c92fb){_0x467cd6=_0x467cd6-0x12c;const _0x54e04d=_0x54e0();let _0x4d7b6e=_0x54e04d[_0x467cd6];return _0x4d7b6e;}function _0x54e0(){const _0x1c8c45=['getFormulaValueSync','expectedNumberFormat','decorate','createEmptyDocFormulaResource','empty','notifyTextChanged','PENDING','UniverProFormulaEnginePlugin','previousDocumentData','TextX','SetDocFormulaMutation','expectedReferenceRevision','params','getCustomRangeInterval','eligible','setConfig','text','CommandType','getLoadError','status','trigger','isFormulaLastValue','disposeWithMe','@@toPrimitive\x20must\x20return\x20a\x20primitive\x20value.','liveResult','externalReferences','assign','registerFormulaWithRange','_change$','getUnitId','call','FormulaLastValuePersistenceService','Subject','error','map','isDocFormulaRange','DependentOn','UniverDocs','expectedFormula','constructor','endOffset','forEach','shiftInclusiveRangeOnInsert','DocFormulaResourceController','UniverProDocsFormula','paragraphs','docs-formula.command.remove','2gyEBKb','startIndex','referenceRevision','getResource','dispose','startOffset','load','1.0.3','setResource','TABLE_CELL_END','PARAGRAPH','TABLE_START','DOC_FORMULA_PLUGIN','get','documentData','unitId','undoMutation','references','_model','docs-formula.command.replace-with-text','1735YAuVmH','getUnit','cursorOffset','includes','wholeEntity','getAllUnitsForType','10963841vCbRZh','HostExternalReferenceModel','set','getFormulas','UniverEngineFormula','end','kind','pending','Injector','findDocFormulaRange','_instanceService','DocTextResolverService','CUSTOM','presentationChanged$','12984YGXkrk','RemoveDocFormulaMutation','isDocFormulaResource','buildUpdateDocFormulaActions','serialize','textRuns','default','invalid-resource','boolean','filter','ReplaceDocFormulaWithTextCommand','resolved','register','MUTATION','removeFormula','customDecorations','_rawResources','UNIVER_DOC','identity','getParagraphContentStartOffset','change$','docs-formula.mutation.set-resource','retain','model','getCurrentUnitOfType','documentRedo','resolveText','ICommandService','next','syncExecuteCommand','insertLength','position','object','version','name','docs-formula.command.set-number-format','onStarting','rxjs','Document\x20main\x20body\x20is\x20required\x20to\x20insert\x20Doc\x20Formula.','sectionBreaks','endIndex','range','@univerjs/engine-formula','7979288ntshCE','setFormula','_cacheEligibilityService','start','COLUMN_GROUP_START','buildInsertDocFormulaActions','clear','_docFormulaModel','ConvertDocFormulaToTextCommand','values','shiftExclusiveRangeOnInsert','docs-formula.mutation.set-formula','add','isDocFormulaConfig','getBody','nextDocumentData','max','formula','resources','DocFormulaResultStatus','slice','SECTION_BREAK','rangeId','entries','success','trim','RemoveDocFormulaCommand','SetDocFormulaResourceMutation','_configService','_formulaService','FormulaResultStatus','color','@univerjs-pro/engine-formula','document','body','SetDocFormulaNumberFormatCommand','tables','rangeType','DataStreamTreeTokenType','registerPluginResource','keys','UniverCore','_registrationService','symbol','toStringTag','univer-docs-formula','InsertDocFormulaCommand','registerCommand','blockRanges','removeUnit','resolveHostFormulaExternalReferences','length','formulaResult$','TABLE_END','getRevision','dataStream','delete','isInteger','exports','_isDisposed','_deleteRegistration','touchDependencies','_syncUnit','startsWith','unsupported-version','packageName','lastValue','unregister','@univerjs-pro/docs-formula','CellValueType','string','type','resolveFormula','getResult','generateRandomId','RichTextEditingMutation','461531CyKVUD','unitAdded$','has','BLOCK_END','resourceRedo','@univerjs/core','getFormula','shiftInclusiveRangeOnDelete','_registrations','_syncScheduled','disabled','COLUMN_GROUP_END','toPrimitive','_preserveInvalid','endsWith','complete','selection','getRegisteredFormulas','resourceUndo','formulas','UniverInstanceType','deepClone','toFormulaLastValue','COMMAND','editOp','segmentId','9432036MmVbAs','_pendingUnitIds','externalMutations','pattern','Tools','CustomRangeType','UniverDocsPlugin','getScalarFormulaResultCell','DocSelectionManagerService','OtherFormulaBizType','_formulaKeys','getRichTextEditPath','_injector','IResourceManagerService','previousResource','_service','deleteLength','UniverLicensePlugin','number','_univerInstanceService','redoMutation','prototype','_updateFormulaResult','Doc\x20Formula\x20range\x20cannot\x20cross\x20document\x20structure\x20boundaries','_setPresentation','parse','min','customRanges','presentation','_presentationChanged$','Inject','_resourceManagerService','ERROR','_queueSync','function','properties','columnGroups','find','assess','schemaVersion','IUniverInstanceService','fromEntries','Module','InvalidDocFormulaInsertRangeError','merge','760812vDbiDT','DOC_FORMULA_SCHEMA_VERSION','customBlocks','registerProvider','formulaId','collectFormulaExternalReferenceQualifiers','iterator','docs-formula.command.update','amd','SUCCESS','defineProperty','DocFormulaService','resource','getInstance','getPresentation','docs-formula.command.insert','buildUpsertHostExternalReferenceMutations','TABLE_CELL_START','pushUndoRedo','_loadErrors','from','syncUnit','_hostExternalReferenceModel','replaceDocRanges','accessor','setFormulas','_resources','numberFormat','LexerTreeBuilder','cell','BLOCK_START','subscribe','Disposable','getOwnPropertyDescriptor','insert','RegisterOtherFormulaService','sort','updates','resolveFormulaResultPresentation','docs-formula.command.convert-to-text','unregisterUnit','data','paragraphId','6841296cOTFez','stale','config','getSnapshot','paragraph','DocFormulaDisplayTextService','assertSafeDocFormulaInsertRange','asObservable','UpdateDocFormulaCommand','_config'];_0x54e0=function(){return _0x1c8c45;};return _0x54e0();}(function(_0x4c4f3d,_0x30f3d0){const _0x4c21b0=_0x4d7b,_0x16b446=_0x4c4f3d();while(!![]){try{const _0x527eba=-parseInt(_0x4c21b0(0x154))/0x1+-parseInt(_0x4c21b0(0x1ff))/0x2*(parseInt(_0x4c21b0(0x19b))/0x3)+-parseInt(_0x4c21b0(0x227))/0x4*(-parseInt(_0x4c21b0(0x213))/0x5)+-parseInt(_0x4c21b0(0x1c6))/0x6+parseInt(_0x4c21b0(0x219))/0x7+parseInt(_0x4c21b0(0x252))/0x8+-parseInt(_0x4c21b0(0x16e))/0x9;if(_0x527eba===_0x30f3d0)break;else _0x16b446['push'](_0x16b446['shift']());}catch(_0xc84206){_0x16b446['push'](_0x16b446['shift']());}}}(_0x54e0,0xc00f9),function(_0xc92bff,_0x49ea38){const _0xfcae61=_0x4d7b;typeof exports==_0xfcae61(0x247)&&typeof module<'u'?_0x49ea38(exports,require('@univerjs-pro/engine-formula'),require('@univerjs/core'),require('@univerjs/docs'),require('@univerjs/engine-formula'),require('rxjs'),require('@univerjs-pro/license')):typeof define=='function'&&define[_0xfcae61(0x1a3)]?define([_0xfcae61(0x142),_0xfcae61(0x272),_0xfcae61(0x159),'@univerjs/docs',_0xfcae61(0x251),'rxjs','@univerjs-pro/license'],_0x49ea38):(_0xc92bff=typeof globalThis<'u'?globalThis:_0xc92bff||self,_0x49ea38(_0xc92bff[_0xfcae61(0x1fc)]={},_0xc92bff['UniverProEngineFormula'],_0xc92bff[_0xfcae61(0x131)],_0xc92bff[_0xfcae61(0x1f5)],_0xc92bff[_0xfcae61(0x21d)],_0xc92bff[_0xfcae61(0x24c)],_0xc92bff['UniverProLicense']));}(this,function(_0xe6425f,_0x305999,_0x35ada0,_0x56ff97,_0x409f17,_0x4d1d3a,_0x33899c){const _0x5e1fd7=_0x4d7b;Object['defineProperty'](_0xe6425f,Symbol[_0x5e1fd7(0x134)],{'value':_0x5e1fd7(0x198)});let _0x542a71=_0x5e1fd7(0x20b),_0x24a7cd='univer-docs-formula';function _0x3fca4a(){return{'schemaVersion':0x1,'formulas':{}};}function _0x2c1ccf(_0x465503){const _0x40d384=_0x5e1fd7;return!_0x465503||typeof _0x465503!=_0x40d384(0x247)||!_0x3ecd0b(_0x465503,[_0x40d384(0x195),'formulas'])||!(_0x40d384(0x195)in _0x465503)||_0x465503[_0x40d384(0x195)]!==0x1||!(_0x40d384(0x167)in _0x465503)||!_0x465503['formulas']||typeof _0x465503['formulas']!='object'||Array['isArray'](_0x465503[_0x40d384(0x167)])?!0x1:Object[_0x40d384(0x269)](_0x465503[_0x40d384(0x167)])['every'](([_0x323364,_0x55459a])=>_0x323364[_0x40d384(0x13b)]>0x0&&_0x4983da(_0x55459a));}function _0x4983da(_0x5ea632){const _0x577c9e=_0x5e1fd7;return!_0x5ea632||typeof _0x5ea632!=_0x577c9e(0x247)||!_0x3ecd0b(_0x5ea632,[_0x577c9e(0x263),_0x577c9e(0x1b6),_0x577c9e(0x14a)])||!(_0x577c9e(0x263)in _0x5ea632)||typeof _0x5ea632[_0x577c9e(0x263)]!=_0x577c9e(0x14e)||!_0x5ea632['formula'][_0x577c9e(0x26b)]()||_0x577c9e(0x1b6)in _0x5ea632&&_0x5ea632[_0x577c9e(0x1b6)]!=null&&(typeof _0x5ea632['numberFormat']!=_0x577c9e(0x247)||!_0x3ecd0b(_0x5ea632[_0x577c9e(0x1b6)],[_0x577c9e(0x171)])||!(_0x577c9e(0x171)in _0x5ea632['numberFormat'])||typeof _0x5ea632[_0x577c9e(0x1b6)][_0x577c9e(0x171)]!=_0x577c9e(0x14e))?!0x1:!('lastValue'in _0x5ea632)||_0x5ea632[_0x577c9e(0x14a)]==null||_0x544890(_0x5ea632[_0x577c9e(0x14a)]);}function _0x544890(_0x3b008d){const _0x1544a8=_0x5e1fd7;return!_0x3b008d||typeof _0x3b008d!=_0x1544a8(0x247)||!_0x3ecd0b(_0x3b008d,['v','t',_0x1544a8(0x171)])||!('v'in _0x3b008d)||_0x3b008d['v']!==null&&typeof _0x3b008d['v']!=_0x1544a8(0x14e)&&typeof _0x3b008d['v']!=_0x1544a8(0x180)&&typeof _0x3b008d['v']!=_0x1544a8(0x22f)||'t'in _0x3b008d&&_0x3b008d['t']!=null&&!_0x83aac2(_0x3b008d['t'])?!0x1:!(_0x1544a8(0x171)in _0x3b008d)||_0x3b008d['pattern']==null||typeof _0x3b008d[_0x1544a8(0x171)]==_0x1544a8(0x14e);}function _0x3ecd0b(_0x49edea,_0x2ee457){const _0x45515b=_0x5e1fd7;let _0x1de38c=new Set(_0x2ee457);return Object['keys'](_0x49edea)['every'](_0x49c546=>_0x1de38c[_0x45515b(0x156)](_0x49c546));}function _0x83aac2(_0x58f280){const _0xe1ec6a=_0x5e1fd7;return typeof _0x58f280==_0xe1ec6a(0x180)&&Object[_0xe1ec6a(0x25b)](_0x35ada0[_0xe1ec6a(0x14d)])[_0xe1ec6a(0x216)](_0x58f280);}let _0x5bfed7=new Set([_0x35ada0[_0x5e1fd7(0x12e)]['SECTION_BREAK'],_0x35ada0['DataStreamTreeTokenType'][_0x5e1fd7(0x20a)],_0x35ada0['DataStreamTreeTokenType']['TABLE_ROW_START'],_0x35ada0['DataStreamTreeTokenType'][_0x5e1fd7(0x1ac)],_0x35ada0[_0x5e1fd7(0x12e)][_0x5e1fd7(0x208)],_0x35ada0[_0x5e1fd7(0x12e)]['TABLE_ROW_END'],_0x35ada0[_0x5e1fd7(0x12e)][_0x5e1fd7(0x13d)],_0x35ada0[_0x5e1fd7(0x12e)][_0x5e1fd7(0x256)],_0x35ada0[_0x5e1fd7(0x12e)]['COLUMN_START'],_0x35ada0[_0x5e1fd7(0x12e)]['COLUMN_END'],_0x35ada0[_0x5e1fd7(0x12e)][_0x5e1fd7(0x15f)],_0x35ada0[_0x5e1fd7(0x12e)][_0x5e1fd7(0x1b9)],_0x35ada0[_0x5e1fd7(0x12e)][_0x5e1fd7(0x157)],_0x35ada0[_0x5e1fd7(0x12e)]['CUSTOM_BLOCK']]);var _0x84039e=class extends Error{constructor(){const _0x356e31=_0x5e1fd7;super(_0x356e31(0x185));}};function _0x50a02c(_0x50a9f1){const _0x560c44=_0x5e1fd7;var _0x36c1d1,_0x2d6722;let _0xddc41b=_0x35ada0['Tools'][_0x560c44(0x169)](_0x50a9f1[_0x560c44(0x20d)]),_0x3cbb64=_0x55248a(_0xddc41b),{startOffset:_0x57b3aa,endOffset:_0x7a2c4b}=_0x1c47bf(_0x3cbb64,_0x50a9f1[_0x560c44(0x204)],_0x50a9f1[_0x560c44(0x1f8)]);_0x5eec39(_0x3cbb64,_0x57b3aa,_0x7a2c4b);let _0x4e2b89=((_0x36c1d1=_0x3cbb64['customRanges'])==null?void 0x0:_0x36c1d1[_0x560c44(0x230)](_0x3999ba=>{const _0x5f0e0d=_0x560c44;if(!_0x5646e5(_0x3999ba))return!0x1;let _0x30abd5=(0x0,_0x35ada0[_0x5f0e0d(0x1dd)])(_0x3999ba);return _0x30abd5[_0x5f0e0d(0x1f8)]>_0x57b3aa&&_0x30abd5[_0x5f0e0d(0x204)]<_0x7a2c4b;})[_0x560c44(0x1f2)](_0x104b10=>_0x104b10[_0x560c44(0x268)]))??[];_0x5ebec6(_0x3cbb64,_0x57b3aa,_0x7a2c4b,''),_0x3cbb64[_0x560c44(0x189)]=[...((_0x2d6722=_0x3cbb64[_0x560c44(0x189)])==null?void 0x0:_0x2d6722[_0x560c44(0x230)](_0x2f412a=>!_0x4e2b89['includes'](_0x2f412a[_0x560c44(0x268)])&&_0x2f412a[_0x560c44(0x268)]!==_0x50a9f1['rangeId']))??[],_0x19ca4d(_0x50a9f1[_0x560c44(0x268)],_0x57b3aa)][_0x560c44(0x1bf)]((_0x4c9c84,_0xdf1573)=>_0x4c9c84[_0x560c44(0x200)]-_0xdf1573[_0x560c44(0x200)]);let _0x4a56dd=_0x32e049(_0x50a9f1[_0x560c44(0x1a7)]);return _0x4e2b89[_0x560c44(0x1f9)](_0x1c70b2=>{const _0x31cd87=_0x560c44;delete _0x4a56dd[_0x31cd87(0x167)][_0x1c70b2];}),_0x4a56dd[_0x560c44(0x167)][_0x50a9f1[_0x560c44(0x268)]]=_0x35ada0[_0x560c44(0x172)][_0x560c44(0x169)](_0x50a9f1[_0x560c44(0x1c8)]),{'nextDocumentData':_0xddc41b,'nextResource':_0x4a56dd,'cursorOffset':_0x57b3aa+0x1};}function _0x424b69(_0x1254b6){const _0x35d067=_0x5e1fd7;var _0x3d05f7,_0x52471c;let _0x5112ae=_0x35ada0[_0x35d067(0x172)][_0x35d067(0x169)](_0x1254b6['documentData']),_0x265ea7=(_0x3d05f7=_0x55248a(_0x5112ae)[_0x35d067(0x189)])==null?void 0x0:_0x3d05f7[_0x35d067(0x193)](_0x495e8b=>_0x495e8b['rangeId']===_0x1254b6[_0x35d067(0x268)]&&_0x5646e5(_0x495e8b));if(!_0x265ea7||!((_0x52471c=_0x1254b6[_0x35d067(0x1a7)])!=null&&_0x52471c[_0x35d067(0x167)][_0x1254b6['rangeId']]))return null;let _0x34c6fc=_0x32e049(_0x1254b6['resource']);return _0x34c6fc[_0x35d067(0x167)][_0x1254b6['rangeId']]=_0x35ada0[_0x35d067(0x172)][_0x35d067(0x169)](_0x1254b6[_0x35d067(0x1c8)]),{'nextDocumentData':_0x5112ae,'nextResource':_0x34c6fc,'cursorOffset':_0x265ea7['endIndex']+0x1};}function _0x44ab43(_0x44dd1e){const _0x29c326=_0x5e1fd7;let _0x3b7da1=_0x35ada0[_0x29c326(0x172)][_0x29c326(0x169)](_0x44dd1e[_0x29c326(0x20d)]),_0x4cf908=_0x3ff7e6(_0x3b7da1,_0x44dd1e[_0x29c326(0x268)],_0x44dd1e[_0x29c326(0x1e0)]??'');if(_0x4cf908==null)return null;let _0x5b7a66=_0x32e049(_0x44dd1e[_0x29c326(0x1a7)]);return delete _0x5b7a66[_0x29c326(0x167)][_0x44dd1e[_0x29c326(0x268)]],{'nextDocumentData':_0x3b7da1,'nextResource':_0x5b7a66,'cursorOffset':_0x4cf908};}function _0x562951(_0x51a45a,_0xe5b58a){const _0x33056d=_0x5e1fd7;var _0x29699b;let _0x10c1d8=_0x35ada0['Tools'][_0x33056d(0x169)](_0x51a45a),_0x5c22f9=_0x10c1d8[_0x33056d(0x274)];if(!_0x5c22f9)return _0x10c1d8;let _0x5a714e=new Map(_0xe5b58a[_0x33056d(0x1f2)](_0x560176=>[_0x560176[_0x33056d(0x268)],_0x560176[_0x33056d(0x1e0)]])),_0x3f6ed7=((_0x29699b=_0x5c22f9['customRanges'])==null?void 0x0:_0x29699b[_0x33056d(0x230)](_0xbbf63a=>_0x5646e5(_0xbbf63a)&&_0x5a714e[_0x33056d(0x156)](_0xbbf63a[_0x33056d(0x268)]))['sort']((_0xc9f1bc,_0x3464be)=>_0x3464be[_0x33056d(0x200)]-_0xc9f1bc[_0x33056d(0x200)]))??[];for(let _0x28568a of _0x3f6ed7)_0x3ff7e6(_0x10c1d8,_0x28568a['rangeId'],_0x5a714e[_0x33056d(0x20c)](_0x28568a[_0x33056d(0x268)])??'');return _0x10c1d8;}function _0x5646e5(_0x2b67b6){const _0x51cb72=_0x5e1fd7;var _0x2c2ed0;return(_0x2b67b6==null?void 0x0:_0x2b67b6[_0x51cb72(0x12d)])===_0x35ada0[_0x51cb72(0x173)]['CUSTOM']&&_0x2b67b6[_0x51cb72(0x217)]===!0x0&&((_0x2c2ed0=_0x2b67b6[_0x51cb72(0x191)])==null?void 0x0:_0x2c2ed0[_0x51cb72(0x21f)])===_0x51cb72(0x135);}function _0x251f7a(_0x5c8a20,_0x16ac7d){const _0x3e0c7e=_0x5e1fd7;var _0x37d6d5;return _0x5c8a20==null||(_0x37d6d5=_0x5c8a20[_0x3e0c7e(0x189)])==null?void 0x0:_0x37d6d5[_0x3e0c7e(0x193)](_0x2f18ee=>_0x2f18ee[_0x3e0c7e(0x268)]===_0x16ac7d&&_0x5646e5(_0x2f18ee));}function _0x5eec39(_0x4727a0,_0x3a4dc9,_0x33aa1f){const _0x1a6570=_0x5e1fd7;if(_0x3a4dc9===_0x33aa1f){if(_0x5bfed7['has'](_0x4727a0[_0x1a6570(0x13f)][_0x3a4dc9]))throw new _0x84039e();return;}for(let _0x986aee=_0x3a4dc9;_0x986aee<_0x33aa1f;_0x986aee++)if(_0x4727a0[_0x1a6570(0x13f)][_0x986aee]===_0x35ada0[_0x1a6570(0x12e)][_0x1a6570(0x209)]||_0x5bfed7[_0x1a6570(0x156)](_0x4727a0[_0x1a6570(0x13f)][_0x986aee]))throw new _0x84039e();}function _0x19ca4d(_0x25c009,_0x43288e){const _0x3a3f97=_0x5e1fd7;return{'startIndex':_0x43288e,'endIndex':_0x43288e,'rangeId':_0x25c009,'rangeType':_0x35ada0[_0x3a3f97(0x173)][_0x3a3f97(0x225)],'wholeEntity':!0x0,'properties':{'kind':_0x24a7cd}};}function _0x32e049(_0x268fd0){const _0x3d3ee9=_0x5e1fd7;return _0x268fd0?_0x35ada0[_0x3d3ee9(0x172)]['deepClone'](_0x268fd0):_0x3fca4a();}function _0x1c47bf(_0x460d41,_0x8381,_0x2da49c){const _0x51b676=_0x5e1fd7;let _0x372e71=_0x3113f0(_0x460d41),_0x437987=_0x8381??_0x372e71,_0x10ac0f=_0x2da49c??_0x437987;return{'startOffset':_0x15bf95(Math['min'](_0x437987,_0x10ac0f),_0x372e71),'endOffset':_0x15bf95(Math[_0x51b676(0x262)](_0x437987,_0x10ac0f),_0x372e71)};}function _0x15bf95(_0x189eb5,_0x561184){const _0x4ffe7d=_0x5e1fd7;return Math['max'](0x0,Math[_0x4ffe7d(0x188)](_0x189eb5,_0x561184));}function _0x3113f0(_0x9aafcb){const _0x46922f=_0x5e1fd7;return _0x9aafcb['dataStream']['endsWith'](''+_0x35ada0['DataStreamTreeTokenType'][_0x46922f(0x209)]+_0x35ada0['DataStreamTreeTokenType']['SECTION_BREAK'])?Math[_0x46922f(0x262)](0x0,_0x9aafcb[_0x46922f(0x13f)][_0x46922f(0x13b)]-0x2):_0x9aafcb['dataStream'][_0x46922f(0x162)](_0x35ada0[_0x46922f(0x12e)][_0x46922f(0x267)])?Math[_0x46922f(0x262)](0x0,_0x9aafcb[_0x46922f(0x13f)][_0x46922f(0x13b)]-0x1):_0x9aafcb[_0x46922f(0x13f)][_0x46922f(0x13b)];}function _0x5ebec6(_0x220718,_0x508ddd,_0x40fa2d,_0x155539){_0x40fa2d>_0x508ddd&&_0x27342e(_0x220718,_0x508ddd,_0x40fa2d),_0x270215(_0x220718,_0x508ddd,_0x155539);}function _0x3ff7e6(_0x23914c,_0x3001ea,_0x2e8814){const _0x292275=_0x5e1fd7;var _0x5419f8,_0x42457c;let _0x2e66c7=_0x55248a(_0x23914c),_0x349e77=(_0x5419f8=_0x2e66c7['customRanges'])==null?void 0x0:_0x5419f8['find'](_0x2b70e0=>_0x2b70e0[_0x292275(0x268)]===_0x3001ea&&_0x5646e5(_0x2b70e0));if(!_0x349e77)return null;let _0x460184=(0x0,_0x35ada0[_0x292275(0x1dd)])(_0x349e77);return _0x5ebec6(_0x2e66c7,_0x460184[_0x292275(0x204)],_0x460184[_0x292275(0x1f8)],_0x2e8814),_0x2e66c7['customRanges']=(_0x42457c=_0x2e66c7[_0x292275(0x189)])==null?void 0x0:_0x42457c[_0x292275(0x230)](_0x1558c3=>_0x1558c3['rangeId']!==_0x3001ea),_0x460184['startOffset']+_0x2e8814['length'];}function _0x270215(_0xf390c8,_0x2a6026,_0x1dbaa8){const _0x52ba5e=_0x5e1fd7;_0x1dbaa8&&(_0xf390c8[_0x52ba5e(0x13f)]=''+_0xf390c8[_0x52ba5e(0x13f)][_0x52ba5e(0x266)](0x0,_0x2a6026)+_0x1dbaa8+_0xf390c8['dataStream'][_0x52ba5e(0x266)](_0x2a6026),_0x5985c5(_0xf390c8,_0x2a6026,_0x1dbaa8[_0x52ba5e(0x13b)]));}function _0x27342e(_0x3a90f5,_0x3346ef,_0x502d79){const _0x3a5348=_0x5e1fd7;let _0x47d91f=_0x502d79-_0x3346ef;_0x3a90f5[_0x3a5348(0x13f)]=''+_0x3a90f5[_0x3a5348(0x13f)]['slice'](0x0,_0x3346ef)+_0x3a90f5[_0x3a5348(0x13f)][_0x3a5348(0x266)](_0x502d79),_0x5d040c(_0x3a90f5,_0x3346ef,_0x47d91f);}function _0x5985c5(_0x380e23,_0x5f31f0,_0x89a62b){const _0x2ea72f=_0x5e1fd7;_0x380e23[_0x2ea72f(0x1fd)]=_0x3722f6(_0x380e23[_0x2ea72f(0x1fd)],_0x5f31f0,_0x89a62b),_0x380e23[_0x2ea72f(0x24e)]=_0x3722f6(_0x380e23[_0x2ea72f(0x24e)],_0x5f31f0,_0x89a62b),_0x380e23['customBlocks']=_0x3722f6(_0x380e23[_0x2ea72f(0x19d)],_0x5f31f0,_0x89a62b),_0x380e23[_0x2ea72f(0x22c)]=_0x40bc08(_0x380e23['textRuns'],_0x5f31f0,_0x89a62b),_0x380e23[_0x2ea72f(0x12c)]=_0x181e36(_0x380e23[_0x2ea72f(0x12c)],_0x5f31f0,_0x89a62b),_0x380e23['columnGroups']=_0x41f534(_0x380e23[_0x2ea72f(0x192)],_0x5f31f0,_0x89a62b),_0x380e23[_0x2ea72f(0x189)]=_0x41f534(_0x380e23[_0x2ea72f(0x189)],_0x5f31f0,_0x89a62b),_0x380e23[_0x2ea72f(0x236)]=_0x41f534(_0x380e23[_0x2ea72f(0x236)],_0x5f31f0,_0x89a62b),_0x380e23[_0x2ea72f(0x138)]=_0x41f534(_0x380e23[_0x2ea72f(0x138)],_0x5f31f0,_0x89a62b);}function _0x5d040c(_0x59ddfc,_0x26464c,_0x5d9c6e){const _0x100207=_0x5e1fd7;var _0x4e2a21,_0x581e71;_0x59ddfc[_0x100207(0x1fd)]=_0x15d5cc(_0x59ddfc[_0x100207(0x1fd)],_0x26464c,_0x5d9c6e),_0x59ddfc[_0x100207(0x24e)]=_0x15d5cc(_0x59ddfc[_0x100207(0x24e)],_0x26464c,_0x5d9c6e),_0x59ddfc['customBlocks']=_0x15d5cc(_0x59ddfc[_0x100207(0x19d)],_0x26464c,_0x5d9c6e),_0x59ddfc[_0x100207(0x22c)]=(_0x4e2a21=_0x1f02cf((_0x581e71=_0x59ddfc['textRuns'])==null?void 0x0:_0x581e71[_0x100207(0x1f2)](_0xe39058=>({..._0xe39058,'startIndex':_0xe39058['st'],'endIndex':_0xe39058['ed']})),_0x26464c,_0x5d9c6e))==null?void 0x0:_0x4e2a21[_0x100207(0x1f2)](_0x5be1dd=>{let {startIndex:_0x1b22e8,endIndex:_0x21ead8,..._0x3d151f}=_0x5be1dd;return{..._0x3d151f,'st':_0x1b22e8,'ed':_0x21ead8};}),_0x59ddfc[_0x100207(0x12c)]=_0x1f02cf(_0x59ddfc[_0x100207(0x12c)],_0x26464c,_0x5d9c6e),_0x59ddfc['columnGroups']=_0x192edd(_0x59ddfc[_0x100207(0x192)],_0x26464c,_0x5d9c6e),_0x59ddfc[_0x100207(0x189)]=_0x192edd(_0x59ddfc[_0x100207(0x189)],_0x26464c,_0x5d9c6e),_0x59ddfc[_0x100207(0x236)]=_0x192edd(_0x59ddfc[_0x100207(0x236)],_0x26464c,_0x5d9c6e),_0x59ddfc['blockRanges']=_0x192edd(_0x59ddfc['blockRanges'],_0x26464c,_0x5d9c6e);}function _0x3722f6(_0x211b97,_0x3d20f3,_0x5514db){const _0x59c477=_0x5e1fd7;return _0x211b97==null?void 0x0:_0x211b97['map'](_0x381872=>_0x381872['startIndex']>=_0x3d20f3?{..._0x381872,'startIndex':_0x381872[_0x59c477(0x200)]+_0x5514db}:_0x381872);}function _0x15d5cc(_0xeff995,_0x57776f,_0x58ff4d){const _0x3de58d=_0x5e1fd7;let _0x5e2356=_0x57776f+_0x58ff4d;return _0xeff995==null?void 0x0:_0xeff995[_0x3de58d(0x1f2)](_0x501085=>_0x501085[_0x3de58d(0x200)]>=_0x57776f&&_0x501085[_0x3de58d(0x200)]<_0x5e2356?null:_0x501085[_0x3de58d(0x200)]>=_0x5e2356?{..._0x501085,'startIndex':_0x501085[_0x3de58d(0x200)]-_0x58ff4d}:_0x501085)[_0x3de58d(0x230)](_0x465f29=>_0x465f29!=null);}function _0x40bc08(_0x401165,_0x219ab5,_0x4fd9f4){const _0x1033b8=_0x5e1fd7;return _0x401165==null?void 0x0:_0x401165[_0x1033b8(0x1f2)](_0x3979dd=>_0x3979dd['st']>=_0x219ab5?{..._0x3979dd,'st':_0x3979dd['st']+_0x4fd9f4,'ed':_0x3979dd['ed']+_0x4fd9f4}:_0x3979dd['ed']>_0x219ab5?{..._0x3979dd,'ed':_0x3979dd['ed']+_0x4fd9f4}:_0x3979dd);}function _0x41f534(_0x44ba2e,_0x5d5ba0,_0x1c9e9d){const _0x2cd7ad=_0x5e1fd7;return _0x44ba2e==null?void 0x0:_0x44ba2e[_0x2cd7ad(0x1f2)](_0x29eb67=>(0x0,_0x35ada0[_0x2cd7ad(0x1fa)])(_0x29eb67,_0x5d5ba0,_0x1c9e9d));}function _0x181e36(_0x2eac79,_0x570d83,_0x4c1924){const _0x4d702a=_0x5e1fd7;return _0x2eac79==null?void 0x0:_0x2eac79[_0x4d702a(0x1f2)](_0x4b765e=>(0x0,_0x35ada0[_0x4d702a(0x25c)])(_0x4b765e,_0x570d83,_0x4c1924));}function _0x192edd(_0x4e48ba,_0x1ab84d,_0x5ace19){const _0x2b5d32=_0x5e1fd7;return _0x4e48ba==null?void 0x0:_0x4e48ba[_0x2b5d32(0x1f2)](_0x55a11e=>(0x0,_0x35ada0[_0x2b5d32(0x15b)])(_0x55a11e,_0x1ab84d,_0x5ace19))['filter'](_0x1e3002=>_0x1e3002!=null);}function _0x1f02cf(_0x567321,_0x9d55d9,_0x47308e){const _0x4b2e55=_0x5e1fd7;return _0x567321==null?void 0x0:_0x567321[_0x4b2e55(0x1f2)](_0x225b12=>(0x0,_0x35ada0['shiftExclusiveRangeOnDelete'])(_0x225b12,_0x9d55d9,_0x47308e))[_0x4b2e55(0x230)](_0x199b9e=>_0x199b9e!=null);}function _0x55248a(_0x33bd2c){const _0x36d11d=_0x5e1fd7;if(!_0x33bd2c['body'])throw Error(_0x36d11d(0x24d));return _0x33bd2c[_0x36d11d(0x274)];}function _0x571c01(_0x523e41){'@babel/helpers - typeof';const _0x5a3706=_0x5e1fd7;return _0x571c01=typeof Symbol==_0x5a3706(0x190)&&typeof Symbol[_0x5a3706(0x1a1)]==_0x5a3706(0x133)?function(_0x517ea1){return typeof _0x517ea1;}:function(_0x220aab){const _0x20222d=_0x5a3706;return _0x220aab&&typeof Symbol==_0x20222d(0x190)&&_0x220aab[_0x20222d(0x1f7)]===Symbol&&_0x220aab!==Symbol[_0x20222d(0x183)]?'symbol':typeof _0x220aab;},_0x571c01(_0x523e41);}function _0x475ca1(_0x500c95,_0x387465){const _0x53c3b4=_0x5e1fd7;if(_0x571c01(_0x500c95)!=_0x53c3b4(0x247)||!_0x500c95)return _0x500c95;var _0x18b123=_0x500c95[Symbol[_0x53c3b4(0x160)]];if(_0x18b123!==void 0x0){var _0xdd4310=_0x18b123[_0x53c3b4(0x1ee)](_0x500c95,_0x387465||_0x53c3b4(0x22d));if(_0x571c01(_0xdd4310)!=_0x53c3b4(0x247))return _0xdd4310;throw TypeError(_0x53c3b4(0x1e7));}return(_0x387465===_0x53c3b4(0x14e)?String:Number)(_0x500c95);}function _0x59f7c5(_0x44cf15){const _0x532ed3=_0x5e1fd7;var _0x5b0f65=_0x475ca1(_0x44cf15,_0x532ed3(0x14e));return _0x571c01(_0x5b0f65)==_0x532ed3(0x133)?_0x5b0f65:_0x5b0f65+'';}function _0x427b68(_0x382e2a,_0x5a305f,_0x4d9065){const _0x421e24=_0x5e1fd7;return(_0x5a305f=_0x59f7c5(_0x5a305f))in _0x382e2a?Object[_0x421e24(0x1a5)](_0x382e2a,_0x5a305f,{'value':_0x4d9065,'enumerable':!0x0,'configurable':!0x0,'writable':!0x0}):_0x382e2a[_0x5a305f]=_0x4d9065,_0x382e2a;}var _0xde1cef=class extends _0x35ada0[_0x5e1fd7(0x1bb)]{constructor(..._0x24310b){const _0x5b119a=_0x5e1fd7;super(..._0x24310b),_0x427b68(this,_0x5b119a(0x1b5),new Map()),_0x427b68(this,_0x5b119a(0x237),new Map()),_0x427b68(this,_0x5b119a(0x1ae),new Map()),_0x427b68(this,_0x5b119a(0x1ec),new _0x4d1d3a[(_0x5b119a(0x1f0))]()),_0x427b68(this,_0x5b119a(0x23b),this['_change$'][_0x5b119a(0x1cd)]());}[_0x5e1fd7(0x15a)](_0x5c3900,_0x3d55a9){const _0xd70ae8=_0x5e1fd7;var _0x46ebd1;let _0x33aa58=(_0x46ebd1=this['_resources'][_0xd70ae8(0x20c)](_0x5c3900))==null?void 0x0:_0x46ebd1[_0xd70ae8(0x167)][_0x3d55a9];return _0x33aa58?_0x35ada0[_0xd70ae8(0x172)]['deepClone'](_0x33aa58):void 0x0;}[_0x5e1fd7(0x21c)](_0x13d3ab){const _0x2872cf=_0x5e1fd7;var _0x2f1301;return _0x35ada0[_0x2872cf(0x172)][_0x2872cf(0x169)](((_0x2f1301=this['_resources'][_0x2872cf(0x20c)](_0x13d3ab))==null?void 0x0:_0x2f1301[_0x2872cf(0x167)])??{});}[_0x5e1fd7(0x202)](_0x3213bd){const _0x3b3999=_0x5e1fd7;let _0x320e34=this[_0x3b3999(0x1b5)][_0x3b3999(0x20c)](_0x3213bd);return _0x320e34?_0x35ada0[_0x3b3999(0x172)][_0x3b3999(0x169)](_0x320e34):void 0x0;}[_0x5e1fd7(0x253)](_0x4d4c0e,_0x1a5cc1,_0x412170){return this['setFormulas'](_0x4d4c0e,{[_0x1a5cc1]:_0x412170});}[_0x5e1fd7(0x207)](_0x2a532a,_0x16961c){const _0x2a40ab=_0x5e1fd7;return this[_0x2a40ab(0x1ae)][_0x2a40ab(0x156)](_0x2a532a)||!_0x2c1ccf(_0x16961c)?!0x1:(this['_resources']['set'](_0x2a532a,_0x35ada0[_0x2a40ab(0x172)][_0x2a40ab(0x169)](_0x16961c)),this['_change$'][_0x2a40ab(0x243)]({'unitId':_0x2a532a}),!0x0);}[_0x5e1fd7(0x1b4)](_0x68e8f6,_0x335f60){const _0x191920=_0x5e1fd7;if(this['_loadErrors'][_0x191920(0x156)](_0x68e8f6)||!Object[_0x191920(0x130)](_0x335f60)['length']||!_0x2c1ccf({'schemaVersion':0x1,'formulas':_0x335f60}))return!0x1;let _0x35aab1=this[_0x191920(0x1b5)]['get'](_0x68e8f6)??_0x3fca4a(),_0x3862c9=_0x35ada0[_0x191920(0x172)][_0x191920(0x169)](_0x35aab1);return Object[_0x191920(0x1ea)](_0x3862c9['formulas'],_0x35ada0[_0x191920(0x172)][_0x191920(0x169)](_0x335f60)),this[_0x191920(0x1b5)]['set'](_0x68e8f6,_0x3862c9),this[_0x191920(0x1ec)][_0x191920(0x243)]({'unitId':_0x68e8f6,'rangeIds':Object[_0x191920(0x130)](_0x335f60)}),!0x0;}[_0x5e1fd7(0x235)](_0x119d43,_0x2e78cc){const _0x483367=_0x5e1fd7;if(this[_0x483367(0x1ae)][_0x483367(0x156)](_0x119d43))return!0x1;let _0x4b60c8=this['_resources'][_0x483367(0x20c)](_0x119d43);if(!(_0x4b60c8!=null&&_0x4b60c8[_0x483367(0x167)][_0x2e78cc]))return!0x1;let _0x3cc0c2=_0x35ada0[_0x483367(0x172)][_0x483367(0x169)](_0x4b60c8);return delete _0x3cc0c2[_0x483367(0x167)][_0x2e78cc],this[_0x483367(0x1b5)][_0x483367(0x21b)](_0x119d43,_0x3cc0c2),this[_0x483367(0x1ec)][_0x483367(0x243)]({'unitId':_0x119d43,'rangeIds':[_0x2e78cc]}),!0x0;}[_0x5e1fd7(0x205)](_0x56b4d2,_0x5c1cf8){const _0x371e7a=_0x5e1fd7;return _0x5c1cf8&&typeof _0x5c1cf8==_0x371e7a(0x247)&&_0x371e7a(0x195)in _0x5c1cf8&&_0x5c1cf8[_0x371e7a(0x195)]!==0x1?(this[_0x371e7a(0x161)](_0x56b4d2,_0x5c1cf8,_0x371e7a(0x148)),!0x1):_0x2c1ccf(_0x5c1cf8)?(this[_0x371e7a(0x1b5)][_0x371e7a(0x21b)](_0x56b4d2,_0x35ada0[_0x371e7a(0x172)]['deepClone'](_0x5c1cf8)),this[_0x371e7a(0x237)]['delete'](_0x56b4d2),this[_0x371e7a(0x1ae)][_0x371e7a(0x140)](_0x56b4d2),this[_0x371e7a(0x1ec)][_0x371e7a(0x243)]({'unitId':_0x56b4d2}),!0x0):(this[_0x371e7a(0x161)](_0x56b4d2,_0x5c1cf8,_0x371e7a(0x22e)),!0x1);}['serialize'](_0x4e8745){const _0x227dc8=_0x5e1fd7;let _0x5eaa60=this[_0x227dc8(0x1b5)][_0x227dc8(0x20c)](_0x4e8745);return _0x5eaa60?_0x35ada0[_0x227dc8(0x172)]['deepClone'](_0x5eaa60):this[_0x227dc8(0x237)]['has'](_0x4e8745)?_0x35ada0[_0x227dc8(0x172)]['deepClone'](this[_0x227dc8(0x237)][_0x227dc8(0x20c)](_0x4e8745)):_0x3fca4a();}['getLoadError'](_0x5a02f9){const _0x114cd4=_0x5e1fd7;return this[_0x114cd4(0x1ae)][_0x114cd4(0x20c)](_0x5a02f9);}['removeUnit'](_0x3f734e){const _0x585c9f=_0x5e1fd7;this[_0x585c9f(0x1b5)]['delete'](_0x3f734e),this['_rawResources']['delete'](_0x3f734e),this[_0x585c9f(0x1ae)][_0x585c9f(0x140)](_0x3f734e),this['_change$'][_0x585c9f(0x243)]({'unitId':_0x3f734e});}[_0x5e1fd7(0x203)](){const _0x178cdd=_0x5e1fd7;this[_0x178cdd(0x1b5)][_0x178cdd(0x258)](),this['_rawResources'][_0x178cdd(0x258)](),this[_0x178cdd(0x1ae)][_0x178cdd(0x258)](),this[_0x178cdd(0x1ec)][_0x178cdd(0x163)](),super[_0x178cdd(0x203)]();}[_0x5e1fd7(0x161)](_0x1998ec,_0x264c59,_0x1bb734){const _0x2fa0f9=_0x5e1fd7;this[_0x2fa0f9(0x1b5)]['delete'](_0x1998ec),this[_0x2fa0f9(0x237)][_0x2fa0f9(0x21b)](_0x1998ec,_0x35ada0[_0x2fa0f9(0x172)][_0x2fa0f9(0x169)](_0x264c59)),this[_0x2fa0f9(0x1ae)][_0x2fa0f9(0x21b)](_0x1998ec,_0x1bb734),this['_change$'][_0x2fa0f9(0x243)]({'unitId':_0x1998ec});}};let _0x3ac023=function(_0x33f1b1){const _0x21d40d=_0x5e1fd7;return _0x33f1b1['EMPTY']=_0x21d40d(0x1d4),_0x33f1b1[_0x21d40d(0x1d6)]='pending',_0x33f1b1[_0x21d40d(0x1a4)]=_0x21d40d(0x26a),_0x33f1b1[_0x21d40d(0x18e)]=_0x21d40d(0x1f1),_0x33f1b1;}({});function _0xf1755d(_0x104b79,_0x4b3687){return function(_0x193420,_0x5ae800){_0x4b3687(_0x193420,_0x5ae800,_0x104b79);};}function _0x1ac6f5(_0x4f832d,_0x1bacc3,_0x5001e9,_0x5c22ae){const _0x391f4e=_0x5e1fd7;var _0x4ce771=arguments[_0x391f4e(0x13b)],_0x21c5b3=_0x4ce771<0x3?_0x1bacc3:_0x5c22ae===null?_0x5c22ae=Object[_0x391f4e(0x1bc)](_0x1bacc3,_0x5001e9):_0x5c22ae,_0x356782;if(typeof Reflect=='object'&&typeof Reflect[_0x391f4e(0x1d2)]==_0x391f4e(0x190))_0x21c5b3=Reflect['decorate'](_0x4f832d,_0x1bacc3,_0x5001e9,_0x5c22ae);else{for(var _0x3b99b4=_0x4f832d[_0x391f4e(0x13b)]-0x1;_0x3b99b4>=0x0;_0x3b99b4--)(_0x356782=_0x4f832d[_0x3b99b4])&&(_0x21c5b3=(_0x4ce771<0x3?_0x356782(_0x21c5b3):_0x4ce771>0x3?_0x356782(_0x1bacc3,_0x5001e9,_0x21c5b3):_0x356782(_0x1bacc3,_0x5001e9))||_0x21c5b3);}return _0x4ce771>0x3&&_0x21c5b3&&Object['defineProperty'](_0x1bacc3,_0x5001e9,_0x21c5b3),_0x21c5b3;}let _0x131ce3=class extends _0x35ada0[_0x5e1fd7(0x1bb)]{constructor(_0x1643e1,_0x13cec9,_0x52142c){const _0x324688=_0x5e1fd7;super(),this[_0x324688(0x211)]=_0x1643e1,this[_0x324688(0x132)]=_0x13cec9,this['_hostExternalReferenceModel']=_0x52142c,_0x427b68(this,_0x324688(0x15c),new Map()),_0x427b68(this,'_formulaKeys',new Map()),_0x427b68(this,_0x324688(0x18b),new _0x4d1d3a[(_0x324688(0x1f0))]()),_0x427b68(this,'presentationChanged$',this['_presentationChanged$'][_0x324688(0x1cd)]()),this[_0x324688(0x1e6)](this[_0x324688(0x132)][_0x324688(0x13c)][_0x324688(0x1ba)](_0x517ae9=>{for(let _0xc98433 of Object['values'](_0x517ae9))for(let _0xc95b1a of Object['values'](_0xc98433))_0xc95b1a['forEach'](_0x10b08c=>this['_updateFormulaResult'](_0x10b08c));}));}[_0x5e1fd7(0x1b0)](_0x4a6e14){const _0x14c609=_0x5e1fd7;var _0x4d07d9;let _0xc37837=_0x4a6e14[_0x14c609(0x1ed)](),_0x5005ec=((_0x4d07d9=_0x4a6e14[_0x14c609(0x1c9)]()[_0x14c609(0x274)])==null||(_0x4d07d9=_0x4d07d9[_0x14c609(0x189)])==null?void 0x0:_0x4d07d9[_0x14c609(0x230)](_0x5646e5))??[],_0x280811=this['_model'][_0x14c609(0x21c)](_0xc37837),_0x4aacd4=new Set();for(let _0x59034f of _0x5005ec){let _0x5564ad=_0x280811[_0x59034f['rangeId']];_0x5564ad&&(_0x4aacd4[_0x14c609(0x25e)](_0x256128(_0xc37837,_0x59034f[_0x14c609(0x268)])),this[_0x14c609(0x233)]({'unitId':_0xc37837,'rangeId':_0x59034f['rangeId']},_0x5564ad));}for(let _0xd4523e of Array['from'](this['_registrations'][_0x14c609(0x25b)]()))_0xd4523e[_0x14c609(0x20e)]===_0xc37837&&!_0x4aacd4[_0x14c609(0x156)](_0x256128(_0xd4523e[_0x14c609(0x20e)],_0xd4523e[_0x14c609(0x268)]))&&this[_0x14c609(0x14b)](_0xd4523e);}[_0x5e1fd7(0x233)](_0x5e84ad,_0x5a053f){const _0x6d7aeb=_0x5e1fd7;let _0x56ea37=_0x256128(_0x5e84ad['unitId'],_0x5e84ad[_0x6d7aeb(0x268)]),_0x25d624=this[_0x6d7aeb(0x15c)][_0x6d7aeb(0x20c)](_0x56ea37),_0x590814=this[_0x6d7aeb(0x1b1)]['getRevision'](_0x5e84ad[_0x6d7aeb(0x20e)]);if(_0x25d624&&_0x25d624[_0x6d7aeb(0x1c8)][_0x6d7aeb(0x263)]===_0x5a053f[_0x6d7aeb(0x263)]&&_0x25d624[_0x6d7aeb(0x201)]===_0x590814){_0x25d624[_0x6d7aeb(0x1c8)]=_0x5a053f;let _0x62151f=_0x25d624['formulaId']?this[_0x6d7aeb(0x132)][_0x6d7aeb(0x1d0)](_0x25d624['unitId'],_0x25d624[_0x6d7aeb(0x20e)],_0x25d624[_0x6d7aeb(0x19f)])??void 0x0:void 0x0;_0x25d624['liveResult']=_0x62151f,this[_0x6d7aeb(0x186)](_0x56ea37,_0x10ef27(_0x5a053f,_0x62151f));return;}_0x25d624!=null&&_0x25d624[_0x6d7aeb(0x19f)]&&this[_0x6d7aeb(0x144)](_0x25d624);let _0x1bcdec={..._0x5e84ad,'config':_0x5a053f,'referenceRevision':_0x590814,'presentation':_0x10ef27(_0x5a053f,void 0x0)};if(this[_0x6d7aeb(0x15c)][_0x6d7aeb(0x21b)](_0x56ea37,_0x1bcdec),!_0x5a053f[_0x6d7aeb(0x263)][_0x6d7aeb(0x26b)]())return;let _0x45d865=this[_0x6d7aeb(0x132)][_0x6d7aeb(0x1eb)](_0x5e84ad[_0x6d7aeb(0x20e)],_0x5e84ad[_0x6d7aeb(0x20e)],_0x5a053f[_0x6d7aeb(0x263)],void 0x0,{'rangeId':_0x5e84ad[_0x6d7aeb(0x268)]},_0x409f17[_0x6d7aeb(0x177)]['DOC'],_0x5e84ad[_0x6d7aeb(0x268)]);_0x1bcdec['formulaId']=_0x45d865,this['_formulaKeys'][_0x6d7aeb(0x21b)](_0x45d865,_0x56ea37);}[_0x5e1fd7(0x14b)](_0x1c4ce6){const _0x51cc6d=_0x5e1fd7;let _0x369cba=_0x256128(_0x1c4ce6[_0x51cc6d(0x20e)],_0x1c4ce6['rangeId']),_0x283417=this[_0x51cc6d(0x15c)][_0x51cc6d(0x20c)](_0x369cba);_0x283417&&(this[_0x51cc6d(0x144)](_0x283417),this[_0x51cc6d(0x15c)][_0x51cc6d(0x140)](_0x369cba));}[_0x5e1fd7(0x1c3)](_0x45c488){const _0x2703f0=_0x5e1fd7;for(let _0x124e2d of Array['from'](this[_0x2703f0(0x15c)][_0x2703f0(0x25b)]()))_0x124e2d['unitId']===_0x45c488&&this['unregister'](_0x124e2d);}[_0x5e1fd7(0x1a9)](_0x2d8104){const _0x1edf16=_0x5e1fd7;var _0x5358e7;return(_0x5358e7=this[_0x1edf16(0x15c)]['get'](_0x256128(_0x2d8104[_0x1edf16(0x20e)],_0x2d8104[_0x1edf16(0x268)])))==null?void 0x0:_0x5358e7['presentation'];}[_0x5e1fd7(0x151)](_0x19ef53){const _0x4d7a43=_0x5e1fd7;let _0x117400=this['_registrations'][_0x4d7a43(0x20c)](_0x256128(_0x19ef53[_0x4d7a43(0x20e)],_0x19ef53[_0x4d7a43(0x268)]));return _0x117400?_0xa64e3c(_0x117400):void 0x0;}['getRegisteredFormulas'](){const _0x219a89=_0x5e1fd7;return Array[_0x219a89(0x1af)](this[_0x219a89(0x15c)][_0x219a89(0x25b)](),_0x5c9f62=>({'identity':{'unitId':_0x5c9f62['unitId'],'rangeId':_0x5c9f62[_0x219a89(0x268)]},'config':_0x5c9f62['config'],'referenceRevision':_0x5c9f62[_0x219a89(0x201)],..._0x5c9f62['liveResult']?{'liveResult':_0x5c9f62[_0x219a89(0x1e8)]}:null}));}[_0x5e1fd7(0x203)](){const _0x2c271e=_0x5e1fd7;for(let _0x51d2b7 of this[_0x2c271e(0x15c)][_0x2c271e(0x25b)]())this['_deleteRegistration'](_0x51d2b7);this['_registrations']['clear'](),this[_0x2c271e(0x178)]['clear'](),this[_0x2c271e(0x18b)][_0x2c271e(0x163)](),super[_0x2c271e(0x203)]();}[_0x5e1fd7(0x184)](_0x2cf5f9){const _0x2815d9=_0x5e1fd7;let _0x5bb020=this[_0x2815d9(0x178)]['get'](_0x2cf5f9[_0x2815d9(0x19f)]),_0x1e9b25=_0x5bb020?this[_0x2815d9(0x15c)][_0x2815d9(0x20c)](_0x5bb020):void 0x0;_0x5bb020&&_0x1e9b25&&(_0x1e9b25[_0x2815d9(0x1e8)]=_0x2cf5f9,this[_0x2815d9(0x186)](_0x5bb020,_0x10ef27(_0x1e9b25[_0x2815d9(0x1c8)],_0x2cf5f9)));}['_setPresentation'](_0x4aa966,_0x31bf93){const _0x2df8d0=_0x5e1fd7;var _0x39e8bb,_0x192ebd;let _0xa311f0=this['_registrations']['get'](_0x4aa966);if(!_0xa311f0||_0x42d31b(_0xa311f0[_0x2df8d0(0x18a)],_0x31bf93))return;let _0x44a9ce=_0xa311f0['presentation'],_0x501e49=_0xa64e3c(_0xa311f0);_0xa311f0[_0x2df8d0(0x18a)]=_0x31bf93,this[_0x2df8d0(0x18b)][_0x2df8d0(0x243)]({'unitId':_0xa311f0[_0x2df8d0(0x20e)],'rangeId':_0xa311f0[_0x2df8d0(0x268)],'presentation':_0x31bf93,'previousPresentation':_0x44a9ce,'result':_0xa64e3c(_0xa311f0),'previousResult':{..._0x501e49,..._0x44a9ce,'value':(_0x39e8bb=_0x44a9ce[_0x2df8d0(0x1b8)])==null?void 0x0:_0x39e8bb['v'],'valueType':((_0x192ebd=_0x44a9ce[_0x2df8d0(0x1b8)])==null?void 0x0:_0x192ebd['t'])??void 0x0}});}[_0x5e1fd7(0x144)](_0xcbcdd2){const _0x573565=_0x5e1fd7;_0xcbcdd2['formulaId']&&(this['_registrationService']['deleteFormula'](_0xcbcdd2[_0x573565(0x20e)],_0xcbcdd2[_0x573565(0x20e)],[_0xcbcdd2[_0x573565(0x19f)]]),this[_0x573565(0x178)]['delete'](_0xcbcdd2[_0x573565(0x19f)]));}};_0x131ce3=_0x1ac6f5([_0xf1755d(0x0,(0x0,_0x35ada0[_0x5e1fd7(0x18c)])(_0xde1cef)),_0xf1755d(0x1,(0x0,_0x35ada0[_0x5e1fd7(0x18c)])(_0x409f17[_0x5e1fd7(0x1be)])),_0xf1755d(0x2,(0x0,_0x35ada0[_0x5e1fd7(0x18c)])(_0x305999[_0x5e1fd7(0x21a)]))],_0x131ce3);function _0x256128(_0xc23680,_0x2faf84){return _0xc23680+'\x00'+_0x2faf84;}function _0x10ef27(_0x71e6ce,_0xe14cde){const _0x12c8d6=_0x5e1fd7;return(0x0,_0x305999[_0x12c8d6(0x1c1)])({'numberFormat':_0x71e6ce[_0x12c8d6(0x1b6)],'lastValue':_0x71e6ce[_0x12c8d6(0x14a)],'result':_0xe14cde});}function _0xa64e3c(_0x1cf182){const _0x55e75d=_0x5e1fd7;var _0x2d669b,_0x47e04c,_0x4a59bc;let _0xfd67fe=_0x1cf182[_0x55e75d(0x18a)],_0x36e040=_0x1cf182[_0x55e75d(0x1c8)][_0x55e75d(0x263)]['trim']()?_0xfd67fe[_0x55e75d(0x1c7)]||_0xfd67fe[_0x55e75d(0x1b8)]==null?_0x55e75d(0x220):((_0x2d669b=_0x1cf182['liveResult'])==null?void 0x0:_0x2d669b[_0x55e75d(0x1e3)])===_0x409f17[_0x55e75d(0x270)][_0x55e75d(0x18e)]?_0x55e75d(0x1f1):_0x55e75d(0x26a):_0x55e75d(0x1d4);return{..._0xfd67fe,'status':_0x36e040,'value':(_0x47e04c=_0xfd67fe[_0x55e75d(0x1b8)])==null?void 0x0:_0x47e04c['v'],'valueType':((_0x4a59bc=_0xfd67fe[_0x55e75d(0x1b8)])==null?void 0x0:_0x4a59bc['t'])??void 0x0};}function _0x42d31b(_0x12af05,_0x33ac85){const _0x28852d=_0x5e1fd7;var _0x36e391,_0x20e658,_0x1964c0,_0x370d18;return _0x12af05[_0x28852d(0x1e0)]===_0x33ac85['text']&&_0x12af05['color']===_0x33ac85[_0x28852d(0x271)]&&_0x12af05[_0x28852d(0x171)]===_0x33ac85['pattern']&&_0x12af05['source']===_0x33ac85['source']&&_0x12af05[_0x28852d(0x1c7)]===_0x33ac85[_0x28852d(0x1c7)]&&((_0x36e391=_0x12af05[_0x28852d(0x1b8)])==null?void 0x0:_0x36e391['t'])===((_0x20e658=_0x33ac85['cell'])==null?void 0x0:_0x20e658['t'])&&Object['is']((_0x1964c0=_0x12af05[_0x28852d(0x1b8)])==null?void 0x0:_0x1964c0['v'],(_0x370d18=_0x33ac85[_0x28852d(0x1b8)])==null?void 0x0:_0x370d18['v']);}let _0x3ac648={'id':_0x5e1fd7(0x25d),'type':_0x35ada0[_0x5e1fd7(0x1e1)][_0x5e1fd7(0x234)],'handler':(_0x20f80a,_0x4eb683)=>!(_0x4eb683!=null&&_0x4eb683[_0x5e1fd7(0x20e)])||!_0x4eb683[_0x5e1fd7(0x268)]||!_0x4eb683[_0x5e1fd7(0x1c8)]?!0x1:_0x20f80a[_0x5e1fd7(0x20c)](_0xde1cef)[_0x5e1fd7(0x253)](_0x4eb683[_0x5e1fd7(0x20e)],_0x4eb683['rangeId'],_0x4eb683['config'])},_0x399640={'id':'docs-formula.mutation.remove-formula','type':_0x35ada0[_0x5e1fd7(0x1e1)][_0x5e1fd7(0x234)],'handler':(_0x37212a,_0x373a1c)=>!(_0x373a1c!=null&&_0x373a1c[_0x5e1fd7(0x20e)])||!_0x373a1c[_0x5e1fd7(0x268)]?!0x1:_0x37212a['get'](_0xde1cef)[_0x5e1fd7(0x235)](_0x373a1c['unitId'],_0x373a1c[_0x5e1fd7(0x268)])},_0x488e31={'id':_0x5e1fd7(0x23c),'type':_0x35ada0[_0x5e1fd7(0x1e1)][_0x5e1fd7(0x234)],'handler':(_0x30d02a,_0x12f14f)=>!(_0x12f14f!=null&&_0x12f14f[_0x5e1fd7(0x20e)])||!_0x12f14f[_0x5e1fd7(0x1a7)]?!0x1:_0x30d02a[_0x5e1fd7(0x20c)](_0xde1cef)[_0x5e1fd7(0x207)](_0x12f14f[_0x5e1fd7(0x20e)],_0x12f14f[_0x5e1fd7(0x1a7)])},_0xb5810e={'id':'docs-formula.mutation.set-last-values','type':_0x35ada0[_0x5e1fd7(0x1e1)][_0x5e1fd7(0x234)],'handler':(_0x3548b6,_0x24ead8)=>{const _0x56cf41=_0x5e1fd7;if(!(_0x24ead8!=null&&_0x24ead8['unitId'])||!_0x24ead8[_0x56cf41(0x1c0)]['length'])return!0x1;let _0x596b8d=_0x3548b6[_0x56cf41(0x20c)](_0xde1cef),_0x46b4e7=_0x3548b6[_0x56cf41(0x20c)](_0x305999['HostExternalReferenceModel']),_0x5c3cc8=_0x596b8d['getResource'](_0x24ead8[_0x56cf41(0x20e)]);if(!_0x5c3cc8)return!0x1;let _0x570ef9=_0x35ada0[_0x56cf41(0x172)][_0x56cf41(0x169)](_0x5c3cc8),_0x4eff5f=!0x1;for(let _0x47b937 of _0x24ead8['updates']){var _0x104958,_0x751550,_0x14352a,_0x1f9ec5;let _0x3e4607=_0x570ef9[_0x56cf41(0x167)][_0x47b937[_0x56cf41(0x268)]];_0x3e4607&&_0x3e4607[_0x56cf41(0x263)]===_0x47b937[_0x56cf41(0x1f6)]&&((_0x104958=_0x3e4607[_0x56cf41(0x1b6)])==null?void 0x0:_0x104958[_0x56cf41(0x171)])===_0x47b937[_0x56cf41(0x1d1)]&&_0x46b4e7[_0x56cf41(0x13e)](_0x24ead8['unitId'])===_0x47b937[_0x56cf41(0x1db)]&&(((_0x751550=_0x3e4607[_0x56cf41(0x14a)])==null?void 0x0:_0x751550['v'])!==_0x47b937[_0x56cf41(0x14a)]['v']||((_0x14352a=_0x3e4607[_0x56cf41(0x14a)])==null?void 0x0:_0x14352a['t'])!==_0x47b937[_0x56cf41(0x14a)]['t']||((_0x1f9ec5=_0x3e4607[_0x56cf41(0x14a)])==null?void 0x0:_0x1f9ec5[_0x56cf41(0x171)])!==_0x47b937[_0x56cf41(0x14a)][_0x56cf41(0x171)])&&(_0x3e4607[_0x56cf41(0x14a)]=_0x35ada0[_0x56cf41(0x172)][_0x56cf41(0x169)](_0x47b937['lastValue']),_0x4eff5f=!0x0);}return!_0x4eff5f||_0x596b8d['setResource'](_0x24ead8[_0x56cf41(0x20e)],_0x570ef9);}},_0x235e40={'id':_0x5e1fd7(0x1aa),'type':_0x35ada0[_0x5e1fd7(0x1e1)][_0x5e1fd7(0x16b)],'handler':(_0x2d071b,_0x548a38)=>{const _0x15e687=_0x5e1fd7;if(!(_0x548a38!=null&&_0x548a38['formula'][_0x15e687(0x26b)]()))return!0x1;let _0x385197=_0xfe33eb(_0x2d071b,_0x548a38[_0x15e687(0x20e)],'');if(!_0x385197)return!0x1;let _0x312907=_0x16187b(_0x548a38['target'],_0x385197['body'],_0x505636(_0x2d071b,_0x385197[_0x15e687(0x20e)]));if(!_0x312907)return!0x1;let _0x4a5b19=_0x1fa3db(_0x2d071b,_0x385197[_0x15e687(0x20e)],_0x548a38[_0x15e687(0x263)],_0x548a38[_0x15e687(0x1e9)]??[]);if(!_0x4a5b19)return!0x1;let _0x1e3f3b=_0x9cbd09(_0x385197['body'],_0x385197['model'],_0x385197[_0x15e687(0x20e)]),_0x215167=_0x1e9063({'documentData':_0x385197['documentData'],'resource':_0x385197['resource'],'rangeId':_0x1e3f3b,'config':{'formula':_0x548a38['formula'],..._0x548a38[_0x15e687(0x1b6)]?{'numberFormat':_0x548a38['numberFormat']}:null},'startOffset':_0x312907['startOffset'],'endOffset':_0x312907['endOffset']});if(!_0x215167)return!0x1;let _0x247568=(0x0,_0x305999[_0x15e687(0x1ab)])(_0x2d071b,_0x385197[_0x15e687(0x20e)],_0x4a5b19);return!_0x247568||!_0x1242dc({'accessor':_0x2d071b,'document':_0x385197[_0x15e687(0x273)],'unitId':_0x385197[_0x15e687(0x20e)],'trigger':_0x235e40['id'],'rangeId':_0x1e3f3b,'previousResource':_0x385197[_0x15e687(0x1a7)],'nextResource':_0x215167['nextResource'],'previousDocumentData':_0x385197[_0x15e687(0x20d)],'nextDocumentData':_0x215167[_0x15e687(0x261)],'cursorOffset':_0x215167[_0x15e687(0x215)],'externalMutations':_0x247568})?!0x1:{'rangeId':_0x1e3f3b,'startOffset':_0x215167[_0x15e687(0x215)]-0x1,'endOffset':_0x215167[_0x15e687(0x215)]};}},_0x16a7c0={'id':_0x5e1fd7(0x1a2),'type':_0x35ada0[_0x5e1fd7(0x1e1)][_0x5e1fd7(0x16b)],'handler':(_0x138a5b,_0x1a3189)=>{const _0x2b34f1=_0x5e1fd7;if(!(_0x1a3189!=null&&_0x1a3189[_0x2b34f1(0x268)])||!_0x1a3189[_0x2b34f1(0x263)][_0x2b34f1(0x26b)]())return!0x1;let _0x4924c9=_0xfe33eb(_0x138a5b,_0x1a3189[_0x2b34f1(0x20e)],''),_0x6bfe3c=_0x4924c9==null?void 0x0:_0x4924c9[_0x2b34f1(0x23e)]['getFormula'](_0x4924c9[_0x2b34f1(0x20e)],_0x1a3189[_0x2b34f1(0x268)]),_0x175880=_0x4924c9?_0x251f7a(_0x4924c9['documentData'][_0x2b34f1(0x274)],_0x1a3189[_0x2b34f1(0x268)]):void 0x0;if(!_0x4924c9||!_0x6bfe3c||!_0x175880)return!0x1;let _0x3378dc=_0x1fa3db(_0x138a5b,_0x4924c9[_0x2b34f1(0x20e)],_0x1a3189[_0x2b34f1(0x263)],_0x1a3189['externalReferences']??[]);if(!_0x3378dc)return!0x1;let _0x2a4905=(0x0,_0x305999[_0x2b34f1(0x1ab)])(_0x138a5b,_0x4924c9['unitId'],_0x3378dc);if(!_0x2a4905)return!0x1;let _0x246715=_0x1547ad(_0x4924c9['resource']);return _0x246715[_0x2b34f1(0x167)][_0x1a3189[_0x2b34f1(0x268)]]={'formula':_0x1a3189[_0x2b34f1(0x263)],..._0x1a3189[_0x2b34f1(0x1b6)]?{'numberFormat':_0x1a3189[_0x2b34f1(0x1b6)]}:_0x6bfe3c['numberFormat']?{'numberFormat':_0x6bfe3c[_0x2b34f1(0x1b6)]}:null},_0x1242dc({'accessor':_0x138a5b,'document':_0x4924c9[_0x2b34f1(0x273)],'unitId':_0x4924c9[_0x2b34f1(0x20e)],'trigger':_0x16a7c0['id'],'rangeId':_0x1a3189['rangeId'],'previousResource':_0x4924c9[_0x2b34f1(0x1a7)],'nextResource':_0x246715,'cursorOffset':_0x175880[_0x2b34f1(0x24f)]+0x1,'externalMutations':_0x2a4905});}},_0x154ac9={'id':_0x5e1fd7(0x24a),'type':_0x35ada0[_0x5e1fd7(0x1e1)][_0x5e1fd7(0x16b)],'handler':(_0x3b8082,_0x1b4e39)=>{const _0x3cca56=_0x5e1fd7;if(!(_0x1b4e39!=null&&_0x1b4e39[_0x3cca56(0x268)]))return!0x1;let _0x586fbd=_0xfe33eb(_0x3b8082,_0x1b4e39['unitId'],''),_0x2df4f2=_0x586fbd==null?void 0x0:_0x586fbd[_0x3cca56(0x23e)][_0x3cca56(0x15a)](_0x586fbd[_0x3cca56(0x20e)],_0x1b4e39[_0x3cca56(0x268)]),_0x3aa55a=_0x586fbd?_0x251f7a(_0x586fbd[_0x3cca56(0x20d)]['body'],_0x1b4e39[_0x3cca56(0x268)]):void 0x0;if(!_0x586fbd||!_0x2df4f2||!_0x3aa55a)return!0x1;let _0x2c3e9f=_0x1547ad(_0x586fbd[_0x3cca56(0x1a7)]);return _0x2c3e9f[_0x3cca56(0x167)][_0x1b4e39['rangeId']]={..._0x2df4f2,..._0x1b4e39[_0x3cca56(0x1b6)]?{'numberFormat':_0x1b4e39[_0x3cca56(0x1b6)]}:null},_0x1b4e39[_0x3cca56(0x1b6)]||delete _0x2c3e9f[_0x3cca56(0x167)][_0x1b4e39[_0x3cca56(0x268)]][_0x3cca56(0x1b6)],_0x1242dc({'accessor':_0x3b8082,'document':_0x586fbd['document'],'unitId':_0x586fbd[_0x3cca56(0x20e)],'trigger':_0x154ac9['id'],'rangeId':_0x1b4e39[_0x3cca56(0x268)],'previousResource':_0x586fbd[_0x3cca56(0x1a7)],'nextResource':_0x2c3e9f,'cursorOffset':_0x3aa55a[_0x3cca56(0x24f)]+0x1,'externalMutations':{}});}},_0x11cbf3={'id':_0x5e1fd7(0x1fe),'type':_0x35ada0['CommandType'][_0x5e1fd7(0x16b)],'handler':(_0x2318fd,_0x5182f7)=>_0x441f82(_0x2318fd,_0x5182f7,'',_0x11cbf3['id'])},_0x2df4f6={'id':_0x5e1fd7(0x212),'type':_0x35ada0[_0x5e1fd7(0x1e1)][_0x5e1fd7(0x16b)],'handler':(_0x2d9b4b,_0x59dc20)=>_0x441f82(_0x2d9b4b,_0x59dc20,(_0x59dc20==null?void 0x0:_0x59dc20[_0x5e1fd7(0x1e0)])??'',_0x2df4f6['id'])},_0x4c25bb={'id':_0x5e1fd7(0x1c2),'type':_0x35ada0[_0x5e1fd7(0x1e1)][_0x5e1fd7(0x16b)],'handler':(_0x22797c,_0x4684c8)=>{const _0x542291=_0x5e1fd7;if(!(_0x4684c8!=null&&_0x4684c8['rangeId']))return!0x1;let _0x27530e=_0xfe33eb(_0x22797c,_0x4684c8[_0x542291(0x20e)],'');if(!_0x27530e)return!0x1;let _0x425454=_0x22797c['get'](_0x131ce3)[_0x542291(0x151)]({'unitId':_0x27530e[_0x542291(0x20e)],'rangeId':_0x4684c8[_0x542291(0x268)]});return _0x425454?_0x441f82(_0x22797c,_0x4684c8,_0x425454[_0x542291(0x1e0)],_0x4c25bb['id']):!0x1;}};function _0x441f82(_0x5ca2e3,_0x2e888d,_0x374739,_0x96e969){const _0x3cfd68=_0x5e1fd7;if(!(_0x2e888d!=null&&_0x2e888d[_0x3cfd68(0x268)]))return!0x1;let _0x269aba=_0xfe33eb(_0x5ca2e3,_0x2e888d[_0x3cfd68(0x20e)],'');if(!_0x269aba)return!0x1;let _0x49c322=_0x44ab43({'documentData':_0x269aba['documentData'],'resource':_0x269aba[_0x3cfd68(0x1a7)],'rangeId':_0x2e888d[_0x3cfd68(0x268)],'text':_0x374739});return _0x49c322?_0x1242dc({'accessor':_0x5ca2e3,'document':_0x269aba[_0x3cfd68(0x273)],'unitId':_0x269aba['unitId'],'trigger':_0x96e969,'rangeId':_0x2e888d[_0x3cfd68(0x268)],'previousResource':_0x269aba[_0x3cfd68(0x1a7)],'nextResource':_0x49c322['nextResource'],'previousDocumentData':_0x269aba['documentData'],'nextDocumentData':_0x49c322[_0x3cfd68(0x261)],'cursorOffset':_0x49c322[_0x3cfd68(0x215)],'externalMutations':{}}):!0x1;}function _0xfe33eb(_0x4b13f2,_0x2cae2c,_0x5ee282){const _0x3be947=_0x5e1fd7;if(_0x5ee282)return null;let _0x5ce1cb=_0x4b13f2[_0x3be947(0x20c)](_0x35ada0[_0x3be947(0x196)]),_0xf2bd3e=(_0x2cae2c?_0x5ce1cb[_0x3be947(0x214)](_0x2cae2c,_0x35ada0['UniverInstanceType'][_0x3be947(0x238)]):_0x5ce1cb[_0x3be947(0x23f)](_0x35ada0[_0x3be947(0x168)]['UNIVER_DOC']))??null;if(!_0xf2bd3e)return null;let _0x4825a9=_0xf2bd3e[_0x3be947(0x1c9)](),_0x1f2893=_0x4825a9[_0x3be947(0x274)];if(_0x4825a9[_0x3be947(0x15e)]||!_0x1f2893)return null;let _0x4bb21c=_0x4b13f2[_0x3be947(0x20c)](_0xde1cef);return _0x4bb21c[_0x3be947(0x1e2)](_0xf2bd3e[_0x3be947(0x1ed)]())?null:{'document':_0xf2bd3e,'body':_0x1f2893,'documentData':_0x4825a9,'model':_0x4bb21c,'resource':_0x4bb21c[_0x3be947(0x202)](_0xf2bd3e[_0x3be947(0x1ed)]())??_0x3fca4a(),'unitId':_0xf2bd3e[_0x3be947(0x1ed)]()};}function _0x505636(_0x24e8db,_0x439005){const _0x149c7f=_0x5e1fd7;var _0x1e5877;return(_0x1e5877=_0x24e8db[_0x149c7f(0x20c)](_0x56ff97[_0x149c7f(0x176)])['getTextRanges']({'subUnitId':_0x439005,'unitId':_0x439005}))==null?void 0x0:_0x1e5877[0x0];}function _0x16187b(_0x47a37c,_0x5e615a,_0x124d17){const _0x157185=_0x5e1fd7;if((_0x47a37c==null?void 0x0:_0x47a37c['type'])===_0x157185(0x1ca)){var _0x25d5f0;let _0x47fc67=((_0x25d5f0=_0x5e615a['paragraphs'])==null?void 0x0:_0x25d5f0[_0x157185(0x230)](_0x1e0ae1=>_0x1e0ae1[_0x157185(0x1c5)]===_0x47a37c[_0x157185(0x1c5)]))??[];if(_0x47fc67['length']!==0x1)return null;let _0x4db4fc=_0x47fc67[0x0],_0x42acf3=(0x0,_0x35ada0[_0x157185(0x23a)])(_0x5e615a,_0x4db4fc),_0x3ee6f1=_0x4db4fc[_0x157185(0x200)]-_0x42acf3,_0x27f1eb=_0x47a37c[_0x157185(0x246)]===_0x157185(0x21e)?_0x3ee6f1:_0x47a37c[_0x157185(0x246)];if(!Number[_0x157185(0x141)](_0x27f1eb)||_0x27f1eb<0x0||_0x27f1eb>_0x3ee6f1)return null;let _0x5393ac=_0x42acf3+_0x27f1eb;return{'startOffset':_0x5393ac,'endOffset':_0x5393ac};}if((_0x47a37c==null?void 0x0:_0x47a37c[_0x157185(0x14f)])===_0x157185(0x250))return!Number[_0x157185(0x141)](_0x47a37c['startOffset'])||!Number[_0x157185(0x141)](_0x47a37c[_0x157185(0x1f8)])?null:{'startOffset':Math[_0x157185(0x188)](_0x47a37c[_0x157185(0x204)],_0x47a37c[_0x157185(0x1f8)]),'endOffset':Math['max'](_0x47a37c[_0x157185(0x204)],_0x47a37c[_0x157185(0x1f8)])};let _0x52fb2f=(_0x47a37c==null?void 0x0:_0x47a37c[_0x157185(0x14f)])===_0x157185(0x164)?_0x47a37c['selection']:_0x124d17;return!_0x52fb2f||_0x52fb2f[_0x157185(0x16d)]?null:{'startOffset':Math[_0x157185(0x188)](_0x52fb2f['startOffset'],_0x52fb2f[_0x157185(0x1f8)]),'endOffset':Math[_0x157185(0x262)](_0x52fb2f[_0x157185(0x204)],_0x52fb2f['endOffset'])};}function _0x1fa3db(_0x1ecd85,_0x43ee67,_0x2b81e6,_0x58b016){const _0x3b94ee=_0x5e1fd7;let _0x1df155=_0x1ecd85['get'](_0x409f17[_0x3b94ee(0x1b7)]),_0x3864c0=_0x2b81e6[_0x3b94ee(0x147)]('=')?_0x2b81e6[_0x3b94ee(0x266)](0x1):_0x2b81e6,_0x1539cf=_0x1df155['sequenceNodesBuilder'](_0x3864c0);if(!_0x1539cf)return null;let _0x47e31e=_0x1ecd85[_0x3b94ee(0x20c)](_0x305999[_0x3b94ee(0x21a)]),_0x54c28d=(0x0,_0x305999[_0x3b94ee(0x13a)])({'qualifiers':(0x0,_0x305999[_0x3b94ee(0x1a0)])(_0x1539cf),'explicitReferences':_0x58b016??[],'resolveBinding':_0x2c3796=>_0x47e31e['resolveBinding'](_0x43ee67,_0x2c3796)});return _0x54c28d['status']===_0x3b94ee(0x232)?_0x54c28d[_0x3b94ee(0x210)]:null;}function _0x9cbd09(_0x54c36e,_0x5b814c,_0x360b8e){const _0x541191=_0x5e1fd7;var _0x18c870;let _0x3f08b3=(0x0,_0x35ada0[_0x541191(0x152)])(0x6);for(;_0x54c36e!=null&&(_0x18c870=_0x54c36e['customRanges'])!=null&&_0x18c870['some'](_0x2ba08b=>_0x2ba08b[_0x541191(0x268)]===_0x3f08b3)||_0x5b814c[_0x541191(0x15a)](_0x360b8e,_0x3f08b3);)_0x3f08b3=(0x0,_0x35ada0['generateRandomId'])(0x6);return _0x3f08b3;}function _0x1e9063(_0x2c443c){try{return _0x50a02c(_0x2c443c);}catch(_0x133beb){if(_0x133beb instanceof _0x84039e)return null;throw _0x133beb;}}function _0x3c676e(_0x536fdd){const _0x5266d9=_0x5e1fd7;let _0x173698=_0x536fdd[_0x5266d9(0x1d8)]&&_0x536fdd['nextDocumentData']?_0x594252(_0x536fdd[_0x5266d9(0x273)],_0x536fdd[_0x5266d9(0x20e)],_0x536fdd[_0x5266d9(0x1d8)],_0x536fdd[_0x5266d9(0x261)],_0x536fdd['cursorOffset'],_0x536fdd[_0x5266d9(0x1e4)]):null;return _0x536fdd[_0x5266d9(0x1d8)]&&_0x536fdd[_0x5266d9(0x261)]&&!_0x173698?null:{'documentRedo':_0x173698,'resourceRedo':{'id':_0x488e31['id'],'params':{'unitId':_0x536fdd['unitId'],'resource':_0x536fdd['nextResource']}},'resourceUndo':{'id':_0x488e31['id'],'params':{'unitId':_0x536fdd[_0x5266d9(0x20e)],'resource':_0x536fdd[_0x5266d9(0x17c)]}}};}function _0x4751a6(_0x582599,_0x3dacb8,_0x58c96b,_0x2d306b){const _0x1bd222=_0x5e1fd7;_0x2d306b[_0x1bd222(0x1ad)]({'id':_0x582599['trigger']+':'+_0x582599['rangeId'],'unitID':_0x582599['unitId'],'redoMutations':[..._0x582599[_0x1bd222(0x170)][_0x1bd222(0x182)]?[_0x582599[_0x1bd222(0x170)][_0x1bd222(0x182)]]:[],..._0x3dacb8[_0x1bd222(0x240)]?[_0x3dacb8['documentRedo']]:[],_0x3dacb8[_0x1bd222(0x158)]],'undoMutations':[_0x3dacb8[_0x1bd222(0x166)],..._0x58c96b?[_0x58c96b]:[],..._0x582599['externalMutations'][_0x1bd222(0x20f)]?[_0x582599['externalMutations'][_0x1bd222(0x20f)]]:[]]});}function _0x1242dc(_0xff913){const _0x68ca91=_0x5e1fd7;let _0x2ee862=_0xff913[_0x68ca91(0x1b3)][_0x68ca91(0x20c)](_0x35ada0[_0x68ca91(0x242)]),_0x42a22a=_0xff913[_0x68ca91(0x1b3)][_0x68ca91(0x20c)](_0x35ada0['IUndoRedoService']),_0x1203bd=_0xff913['accessor'][_0x68ca91(0x20c)](_0x56ff97[_0x68ca91(0x176)]),_0x1244f7=_0x3c676e(_0xff913);if(!_0x1244f7)return!0x1;let _0x411287=!0x1,_0x3cb486=null,_0x12fcd8=!0x1;try{if(_0xff913[_0x68ca91(0x170)]['redoMutation']){if(!_0x2ee862[_0x68ca91(0x244)](_0xff913[_0x68ca91(0x170)][_0x68ca91(0x182)]['id'],_0xff913[_0x68ca91(0x170)][_0x68ca91(0x182)][_0x68ca91(0x1dc)]))return!0x1;_0x411287=!0x0;}if(_0x1244f7[_0x68ca91(0x240)]){let _0x122a03=_0x2ee862['syncExecuteCommand'](_0x1244f7[_0x68ca91(0x240)]['id'],_0x1244f7['documentRedo'][_0x68ca91(0x1dc)]);if(!_0x122a03)return _0x5f3432(_0x2ee862,_0xff913['externalMutations'],_0x411287),!0x1;_0x3cb486={'id':_0x56ff97[_0x68ca91(0x153)]['id'],'params':{..._0x122a03,'noHistory':!0x0,'noNeedSetTextRange':!0x0,'segmentId':''}};}if(!_0x2ee862['syncExecuteCommand'](_0x1244f7[_0x68ca91(0x158)]['id'],_0x1244f7[_0x68ca91(0x158)]['params']))return _0x5c928d(_0x2ee862,_0x3cb486),_0x5f3432(_0x2ee862,_0xff913['externalMutations'],_0x411287),!0x1;_0x12fcd8=!0x0,_0x4751a6(_0xff913,_0x1244f7,_0x3cb486,_0x42a22a);}catch(_0x46994e){throw _0x12fcd8&&_0x2ee862[_0x68ca91(0x244)](_0x1244f7[_0x68ca91(0x166)]['id'],_0x1244f7[_0x68ca91(0x166)]['params']),_0x5c928d(_0x2ee862,_0x3cb486),_0x5f3432(_0x2ee862,_0xff913[_0x68ca91(0x170)],_0x411287),_0x46994e;}return _0x1203bd[_0x68ca91(0x1b2)]([{'startOffset':_0xff913[_0x68ca91(0x215)],'endOffset':_0xff913['cursorOffset'],'segmentId':''}],{'unitId':_0xff913[_0x68ca91(0x20e)],'subUnitId':_0xff913[_0x68ca91(0x20e)]},!0x1,{[_0x56ff97['DOC_SELECTION_OPTION_PRESERVE_CARET']]:!0x0}),!0x0;}function _0x594252(_0x5799cd,_0x281cbf,_0x123a0c,_0xd1857e,_0x423ab8,_0xabe0b3){const _0x4e1480=_0x5e1fd7;let _0x3df849=_0x2069da(_0x123a0c,_0xd1857e,(0x0,_0x35ada0[_0x4e1480(0x179)])(_0x5799cd,''));return _0x3df849?{'id':_0x56ff97[_0x4e1480(0x153)]['id'],'params':{'unitId':_0x281cbf,'actions':_0x3df849,'segmentId':'','textRanges':[{'startOffset':_0x423ab8,'endOffset':_0x423ab8,'collapsed':!0x0,'segmentId':''}],'isEditing':!0x1,'noHistory':!0x0,'noNeedSetTextRange':!0x0,'trigger':_0xabe0b3}}:null;}function _0x5c928d(_0x49f210,_0x2bbe95){const _0x27607d=_0x5e1fd7;_0x2bbe95&&_0x49f210[_0x27607d(0x244)](_0x2bbe95['id'],_0x2bbe95[_0x27607d(0x1dc)]);}function _0x5f3432(_0x2b586f,_0xfcf965,_0x8a3b22){const _0x3f030a=_0x5e1fd7;_0x8a3b22&&_0xfcf965[_0x3f030a(0x20f)]&&_0x2b586f[_0x3f030a(0x244)](_0xfcf965[_0x3f030a(0x20f)]['id'],_0xfcf965[_0x3f030a(0x20f)][_0x3f030a(0x1dc)]);}function _0x2069da(_0x7ccced,_0x3e6f2e,_0x3152f8){const _0x5df462=_0x5e1fd7;let _0x45665e=_0x7ccced['body'],_0x3da08b=_0x3e6f2e[_0x5df462(0x274)],_0x4a02a1=_0x2489de(_0x45665e==null?void 0x0:_0x45665e[_0x5df462(0x13f)],_0x3da08b==null?void 0x0:_0x3da08b['dataStream']);if(!_0x4a02a1||!_0x3da08b)return null;let _0x5e4f65=new _0x35ada0[(_0x5df462(0x1d9))]();return _0x5e4f65[_0x5df462(0x23d)](_0x4a02a1[_0x5df462(0x255)]),_0x4a02a1[_0x5df462(0x245)]>0x0&&_0x5e4f65[_0x5df462(0x1bd)](_0x4a02a1[_0x5df462(0x245)],(0x0,_0x35ada0['getBodySliceForTextXAction'])(_0x3da08b,_0x4a02a1[_0x5df462(0x255)],_0x4a02a1[_0x5df462(0x255)]+_0x4a02a1[_0x5df462(0x245)],!0x1)),_0x4a02a1[_0x5df462(0x17e)]>0x0&&_0x5e4f65[_0x5df462(0x140)](_0x4a02a1[_0x5df462(0x17e)]),_0x35ada0['JSONX'][_0x5df462(0x1a8)]()[_0x5df462(0x16c)](_0x5e4f65[_0x5df462(0x22b)](),_0x3152f8);}function _0x2489de(_0xa20a0e,_0x54f266){const _0x141762=_0x5e1fd7;if(_0xa20a0e==null||_0x54f266==null||_0xa20a0e===_0x54f266)return null;let _0x5082a0=0x0;for(;_0x5082a0<_0xa20a0e[_0x141762(0x13b)]&&_0x5082a0<_0x54f266[_0x141762(0x13b)]&&_0xa20a0e[_0x5082a0]===_0x54f266[_0x5082a0];)_0x5082a0+=0x1;let _0x10a8f5=_0xa20a0e[_0x141762(0x13b)],_0x13c392=_0x54f266[_0x141762(0x13b)];for(;_0x10a8f5>_0x5082a0&&_0x13c392>_0x5082a0&&_0xa20a0e[_0x10a8f5-0x1]===_0x54f266[_0x13c392-0x1];)--_0x10a8f5,--_0x13c392;return{'start':_0x5082a0,'deleteLength':_0x10a8f5-_0x5082a0,'insertLength':_0x13c392-_0x5082a0};}function _0x1547ad(_0x185161){const _0x1cc8e9=_0x5e1fd7;return{'schemaVersion':0x1,'formulas':Object[_0x1cc8e9(0x197)](Object['entries'](_0x185161[_0x1cc8e9(0x167)])[_0x1cc8e9(0x1f2)](([_0x1016b9,_0xd5ddc8])=>[_0x1016b9,{..._0xd5ddc8,..._0xd5ddc8['numberFormat']?{'numberFormat':{..._0xd5ddc8['numberFormat']}}:null,..._0xd5ddc8[_0x1cc8e9(0x14a)]?{'lastValue':{..._0xd5ddc8[_0x1cc8e9(0x14a)]}}:null}]))};}let _0x1c5633=class extends _0x35ada0[_0x5e1fd7(0x1bb)]{constructor(_0x446159,_0x4a67ad,_0x48a614,_0xe881e9){const _0x2b2c26=_0x5e1fd7;super(),this[_0x2b2c26(0x223)]=_0x446159,this['_commandService']=_0x4a67ad,this['_model']=_0x48a614,this[_0x2b2c26(0x17d)]=_0xe881e9,_0x427b68(this,_0x2b2c26(0x16f),new Set()),_0x427b68(this,_0x2b2c26(0x15d),!0x1),_0x427b68(this,_0x2b2c26(0x143),!0x1),this[_0x2b2c26(0x223)][_0x2b2c26(0x218)](_0x35ada0[_0x2b2c26(0x168)][_0x2b2c26(0x238)])['forEach'](_0x44fac3=>this['_service'][_0x2b2c26(0x1b0)](_0x44fac3)),this['disposeWithMe'](this[_0x2b2c26(0x211)][_0x2b2c26(0x23b)][_0x2b2c26(0x1ba)](({unitId:_0x11f7bf})=>this[_0x2b2c26(0x146)](_0x11f7bf))),this['disposeWithMe'](this[_0x2b2c26(0x223)][_0x2b2c26(0x155)][_0x2b2c26(0x1ba)](({unit:_0x5d1af9})=>{const _0x58f76b=_0x2b2c26;_0x5d1af9[_0x58f76b(0x14f)]===_0x35ada0[_0x58f76b(0x168)]['UNIVER_DOC']&&this['_queueSync'](_0x5d1af9[_0x58f76b(0x1ed)]());})),this[_0x2b2c26(0x1e6)](this['_instanceService']['unitDisposed$'][_0x2b2c26(0x1ba)](_0x1b24e8=>{this['_service']['unregisterUnit'](_0x1b24e8['getUnitId']());})),this[_0x2b2c26(0x1e6)](this['_commandService']['onCommandExecuted'](_0x50f309=>{const _0x3ec8b2=_0x2b2c26;if(_0x50f309['id']===_0x56ff97[_0x3ec8b2(0x153)]['id']&&_0x507eef(_0x50f309[_0x3ec8b2(0x1dc)])){let _0x427749=_0x50f309[_0x3ec8b2(0x1dc)];_0x427749[_0x3ec8b2(0x16d)]||this[_0x3ec8b2(0x146)](_0x427749['unitId']);}}));}['dispose'](){const _0x36f8dc=_0x5e1fd7;this['_isDisposed']=!0x0,super[_0x36f8dc(0x203)]();}[_0x5e1fd7(0x18f)](_0x8c8827){const _0x683c96=_0x5e1fd7;this['_pendingUnitIds']['add'](_0x8c8827),!this['_syncScheduled']&&(this[_0x683c96(0x15d)]=!0x0,queueMicrotask(()=>{const _0x17dc45=_0x683c96;if(this[_0x17dc45(0x15d)]=!0x1,this[_0x17dc45(0x143)])return;let _0x1cbd14=Array['from'](this[_0x17dc45(0x16f)]);this[_0x17dc45(0x16f)][_0x17dc45(0x258)](),_0x1cbd14['forEach'](_0x45b63f=>this[_0x17dc45(0x146)](_0x45b63f));}));}[_0x5e1fd7(0x146)](_0x93dbea){const _0x63f1f5=_0x5e1fd7;let _0x3d9a45=this[_0x63f1f5(0x223)][_0x63f1f5(0x214)](_0x93dbea,_0x35ada0[_0x63f1f5(0x168)][_0x63f1f5(0x238)]);_0x3d9a45&&this[_0x63f1f5(0x17d)][_0x63f1f5(0x1b0)](_0x3d9a45);}};_0x1c5633=_0x1ac6f5([_0xf1755d(0x0,_0x35ada0['IUniverInstanceService']),_0xf1755d(0x1,_0x35ada0[_0x5e1fd7(0x242)]),_0xf1755d(0x2,(0x0,_0x35ada0[_0x5e1fd7(0x18c)])(_0xde1cef)),_0xf1755d(0x3,(0x0,_0x35ada0['Inject'])(_0x131ce3))],_0x1c5633);function _0x507eef(_0x22e011){const _0x53fc04=_0x5e1fd7;return typeof _0x22e011==_0x53fc04(0x247)&&!!_0x22e011&&_0x53fc04(0x20e)in _0x22e011&&typeof _0x22e011[_0x53fc04(0x20e)]==_0x53fc04(0x14e)&&(!(_0x53fc04(0x16d)in _0x22e011)||_0x22e011[_0x53fc04(0x16d)]===void 0x0||typeof _0x22e011['segmentId']==_0x53fc04(0x14e));}let _0x8b51aa=class extends _0x35ada0[_0x5e1fd7(0x1bb)]{constructor(_0x24924d,_0x34cd4b){const _0x488594=_0x5e1fd7;super(),this[_0x488594(0x18d)]=_0x24924d,this['_docFormulaModel']=_0x34cd4b,this[_0x488594(0x1e6)](this['_resourceManagerService'][_0x488594(0x12f)]({'pluginName':_0x542a71,'businesses':[_0x35ada0['UniverInstanceType']['UNIVER_DOC']],'toJson':_0x12f496=>JSON['stringify'](this[_0x488594(0x259)][_0x488594(0x22b)](_0x12f496)),'parseJson':_0x161524=>JSON['parse'](_0x161524),'onLoad':(_0x3e7efa,_0x42b058)=>{const _0x106fd6=_0x488594;this[_0x106fd6(0x259)][_0x106fd6(0x205)](_0x3e7efa,_0x42b058);},'onUnLoad':_0x20c8a2=>this[_0x488594(0x259)][_0x488594(0x139)](_0x20c8a2)}));}};_0x8b51aa=_0x1ac6f5([_0xf1755d(0x0,_0x35ada0[_0x5e1fd7(0x17b)]),_0xf1755d(0x1,(0x0,_0x35ada0[_0x5e1fd7(0x18c)])(_0xde1cef))],_0x8b51aa);var _0x30e850=_0x5e1fd7(0x14c),_0x2875e9=_0x5e1fd7(0x206);let _0x18c23d={},_0x4da995=class extends _0x35ada0[_0x5e1fd7(0x1bb)]{constructor(_0x2b80d0,_0x6804c6,_0x419328){const _0x23ef32=_0x5e1fd7;super(),this[_0x23ef32(0x181)]=_0x2b80d0,this[_0x23ef32(0x26f)]=_0x6804c6,this[_0x23ef32(0x1e6)](_0x419328[_0x23ef32(0x233)]({'resolve':(_0x12ccc6,_0x370ddc)=>{const _0x1361d4=_0x23ef32;var _0x5677bd;return((_0x5677bd=_0x370ddc['customRanges'])==null?void 0x0:_0x5677bd['filter'](_0x5646e5)[_0x1361d4(0x1f2)](_0x2557c1=>({'startOffset':_0x2557c1[_0x1361d4(0x200)],'endOffset':_0x2557c1[_0x1361d4(0x24f)]+0x1,'text':this[_0x1361d4(0x150)](_0x12ccc6,_0x2557c1[_0x1361d4(0x268)])})))??[];}})),this[_0x23ef32(0x1e6)](this[_0x23ef32(0x26f)][_0x23ef32(0x226)][_0x23ef32(0x1ba)](({unitId:_0x19c415})=>{const _0x357519=_0x23ef32;_0x419328[_0x357519(0x1d5)](_0x19c415);}));}['resolveFormula'](_0x4b9962,_0x11b812){const _0x167314=_0x5e1fd7;var _0x3245b4;return((_0x3245b4=this[_0x167314(0x26f)][_0x167314(0x151)]({'unitId':_0x4b9962,'rangeId':_0x11b812}))==null?void 0x0:_0x3245b4['text'])??'';}[_0x5e1fd7(0x241)](_0x347a0c,_0x12eb8a,_0x33731b){const _0x35c53c=_0x5e1fd7;var _0x46e549;let _0xd440b4=this[_0x35c53c(0x181)][_0x35c53c(0x214)](_0x347a0c,_0x35ada0['UniverInstanceType'][_0x35c53c(0x238)]),_0x6c07e1=_0xd440b4==null?void 0x0:_0xd440b4[_0x35c53c(0x260)]();if(!_0x6c07e1)return'';let _0x4c1860=_0x6c07e1[_0x35c53c(0x13f)][_0x35c53c(0x266)](_0x12eb8a,_0x33731b),_0x2566d4=((_0x46e549=_0x6c07e1['customRanges'])==null?void 0x0:_0x46e549['filter'](_0x2c1346=>_0x5646e5(_0x2c1346)&&_0x2c1346[_0x35c53c(0x200)]>=_0x12eb8a&&_0x2c1346[_0x35c53c(0x24f)]<_0x33731b)['sort']((_0x17a92f,_0x4006bf)=>_0x4006bf[_0x35c53c(0x200)]-_0x17a92f[_0x35c53c(0x200)]))??[];for(let _0x328784 of _0x2566d4){let _0x2f39e4=_0x328784[_0x35c53c(0x200)]-_0x12eb8a,_0x12ddb5=_0x328784[_0x35c53c(0x24f)]-_0x12eb8a+0x1;_0x4c1860=''+_0x4c1860[_0x35c53c(0x266)](0x0,_0x2f39e4)+this[_0x35c53c(0x150)](_0x347a0c,_0x328784[_0x35c53c(0x268)])+_0x4c1860[_0x35c53c(0x266)](_0x12ddb5);}return _0x4c1860;}['degradeDocumentData'](_0x24f552){return _0x2cb22a(_0x24f552);}['degradeBody'](_0x7a20ca,_0xe5d23,_0x445986={}){const _0x19e21d=_0x5e1fd7;var _0x504473;return _0x562951({'id':_0x7a20ca,'body':_0xe5d23,'documentStyle':{}},(((_0x504473=_0xe5d23['customRanges'])==null?void 0x0:_0x504473[_0x19e21d(0x230)](_0x5646e5))??[])[_0x19e21d(0x1f2)](_0x4741ad=>({'rangeId':_0x4741ad['rangeId'],'text':_0x445986[_0x4741ad[_0x19e21d(0x268)]]??this['resolveFormula'](_0x7a20ca,_0x4741ad[_0x19e21d(0x268)])})))[_0x19e21d(0x274)]??{'dataStream':''};}};_0x4da995=_0x1ac6f5([_0xf1755d(0x0,_0x35ada0[_0x5e1fd7(0x196)]),_0xf1755d(0x1,(0x0,_0x35ada0[_0x5e1fd7(0x18c)])(_0x131ce3)),_0xf1755d(0x2,(0x0,_0x35ada0[_0x5e1fd7(0x18c)])(_0x56ff97[_0x5e1fd7(0x224)]))],_0x4da995);function _0x2cb22a(_0x168811){const _0x57749a=_0x5e1fd7;var _0x37aa37,_0x8a1984;let _0x50495a=_0x5af54e(_0x168811),_0x5b7766=_0x562951(_0x168811,(((_0x37aa37=_0x168811[_0x57749a(0x274)])==null||(_0x37aa37=_0x37aa37[_0x57749a(0x189)])==null?void 0x0:_0x37aa37[_0x57749a(0x230)](_0x5646e5))??[])[_0x57749a(0x1f2)](_0x113092=>({'rangeId':_0x113092[_0x57749a(0x268)],'text':_0x1b7be2(_0x50495a==null?void 0x0:_0x50495a[_0x57749a(0x167)][_0x113092[_0x57749a(0x268)]])})));return _0x5b7766[_0x57749a(0x264)]=(_0x8a1984=_0x5b7766[_0x57749a(0x264)])==null?void 0x0:_0x8a1984[_0x57749a(0x230)](_0x499ff5=>_0x499ff5['name']!==_0x542a71),_0x5b7766;}function _0x5af54e(_0x234d4a){const _0x20588a=_0x5e1fd7;var _0x53fe47;let _0x5bf6f6=(_0x53fe47=_0x234d4a[_0x20588a(0x264)])==null||(_0x53fe47=_0x53fe47[_0x20588a(0x193)](_0x3986e3=>_0x3986e3[_0x20588a(0x249)]===_0x20588a(0x20b)))==null?void 0x0:_0x53fe47[_0x20588a(0x1c4)];if(_0x5bf6f6)try{let _0x8a1849=JSON[_0x20588a(0x187)](_0x5bf6f6);return _0x2c1ccf(_0x8a1849)?_0x8a1849:void 0x0;}catch{return;}}function _0x1b7be2(_0x7b3244){return _0x7b3244?(0x0,_0x305999['resolveFormulaResultPresentation'])({'lastValue':_0x7b3244['lastValue'],'numberFormat':_0x7b3244['numberFormat']})['text']:'';}let _0x4727c1=class extends _0x35ada0[_0x5e1fd7(0x1bb)]{constructor(_0x2c9a36,_0x4bba23,_0x129fd4){const _0x36e51f=_0x5e1fd7;super(),this['_formulaService']=_0x2c9a36,this[_0x36e51f(0x254)]=_0x4bba23,this['disposeWithMe'](_0x129fd4[_0x36e51f(0x19e)](this));}['collectMutations'](_0x230107){const _0x2c31a1=_0x5e1fd7;let _0x15e346=new Map();for(let _0x19b7ad of this[_0x2c31a1(0x26f)][_0x2c31a1(0x165)]()){var _0x49ca65;if(!this[_0x2c31a1(0x254)][_0x2c31a1(0x194)](_0x19b7ad[_0x2c31a1(0x1c8)][_0x2c31a1(0x263)],_0x19b7ad[_0x2c31a1(0x1e8)])[_0x2c31a1(0x1de)])continue;let _0x26d75d=(0x0,_0x305999[_0x2c31a1(0x175)])(_0x19b7ad[_0x2c31a1(0x1e8)]),_0x506ea1=_0x26d75d?(0x0,_0x305999[_0x2c31a1(0x16a)])(_0x26d75d):null;if(!_0x506ea1||_0x17b958(_0x19b7ad['config'][_0x2c31a1(0x14a)],_0x506ea1))continue;let _0x3b1efc=_0x15e346['get'](_0x19b7ad[_0x2c31a1(0x239)][_0x2c31a1(0x20e)])??[];_0x3b1efc['push']({'rangeId':_0x19b7ad[_0x2c31a1(0x239)][_0x2c31a1(0x268)],'expectedFormula':_0x19b7ad[_0x2c31a1(0x1c8)][_0x2c31a1(0x263)],'expectedNumberFormat':(_0x49ca65=_0x19b7ad[_0x2c31a1(0x1c8)][_0x2c31a1(0x1b6)])==null?void 0x0:_0x49ca65[_0x2c31a1(0x171)],'expectedReferenceRevision':_0x19b7ad[_0x2c31a1(0x201)],'lastValue':_0x506ea1}),_0x15e346[_0x2c31a1(0x21b)](_0x19b7ad[_0x2c31a1(0x239)]['unitId'],_0x3b1efc);}return Array[_0x2c31a1(0x1af)](_0x15e346,([_0x1eb414,_0x1891c8])=>({'id':_0xb5810e['id'],'params':{'unitId':_0x1eb414,'updates':_0x1891c8}}));}};_0x4727c1=_0x1ac6f5([_0xf1755d(0x0,(0x0,_0x35ada0[_0x5e1fd7(0x18c)])(_0x131ce3)),_0xf1755d(0x1,(0x0,_0x35ada0[_0x5e1fd7(0x18c)])(_0x305999['FormulaCacheEligibilityService'])),_0xf1755d(0x2,(0x0,_0x35ada0[_0x5e1fd7(0x18c)])(_0x305999[_0x5e1fd7(0x1ef)]))],_0x4727c1);function _0x17b958(_0x2e9771,_0x34fcd2){const _0x155a0a=_0x5e1fd7;return(_0x2e9771==null?void 0x0:_0x2e9771['v'])===_0x34fcd2['v']&&(_0x2e9771==null?void 0x0:_0x2e9771['t'])===_0x34fcd2['t']&&(_0x2e9771==null?void 0x0:_0x2e9771[_0x155a0a(0x171)])===_0x34fcd2[_0x155a0a(0x171)];}let _0x3b5da5=class extends _0x35ada0['Plugin']{constructor(_0x3f98a1=_0x18c23d,_0x241902,_0x54303a,_0x1c69ae){const _0x547741=_0x5e1fd7;super(),this[_0x547741(0x1cf)]=_0x3f98a1,this['_injector']=_0x241902,this['_commandService']=_0x54303a,this['_configService']=_0x1c69ae;let {..._0x176cf2}=(0x0,_0x35ada0[_0x547741(0x19a)])({},_0x18c23d,this[_0x547741(0x1cf)]);this[_0x547741(0x26e)][_0x547741(0x1df)]('docs-formula.config',_0x176cf2);}[_0x5e1fd7(0x24b)](){const _0x3e9f99=_0x5e1fd7;this[_0x3e9f99(0x17a)][_0x3e9f99(0x25e)]([_0xde1cef]),this[_0x3e9f99(0x17a)]['add']([_0x131ce3]),this['_injector'][_0x3e9f99(0x25e)]([_0x8b51aa]),this[_0x3e9f99(0x17a)]['add']([_0x1c5633]),this['_injector'][_0x3e9f99(0x25e)]([_0x4727c1]),this[_0x3e9f99(0x17a)]['add']([_0x4da995]),(0x0,_0x35ada0[_0x3e9f99(0x145)])(this[_0x3e9f99(0x17a)],[[_0xde1cef],[_0x8b51aa],[_0x1c5633],[_0x4727c1],[_0x4da995]]),[_0x3ac648,_0x399640,_0x488e31,_0xb5810e,_0x235e40,_0x16a7c0,_0x154ac9,_0x11cbf3,_0x2df4f6,_0x4c25bb][_0x3e9f99(0x1f9)](_0x5369da=>this[_0x3e9f99(0x1e6)](this['_commandService'][_0x3e9f99(0x137)](_0x5369da)));}};_0x427b68(_0x3b5da5,'pluginName',_0x542a71),_0x427b68(_0x3b5da5,_0x5e1fd7(0x149),_0x30e850),_0x427b68(_0x3b5da5,_0x5e1fd7(0x248),_0x2875e9),_0x427b68(_0x3b5da5,'type',_0x35ada0['UniverInstanceType'][_0x5e1fd7(0x238)]),_0x3b5da5=_0x1ac6f5([(0x0,_0x35ada0[_0x5e1fd7(0x1f4)])(_0x33899c[_0x5e1fd7(0x17f)],_0x305999[_0x5e1fd7(0x1d7)],_0x56ff97[_0x5e1fd7(0x174)]),_0xf1755d(0x1,(0x0,_0x35ada0[_0x5e1fd7(0x18c)])(_0x35ada0[_0x5e1fd7(0x221)])),_0xf1755d(0x2,_0x35ada0['ICommandService']),_0xf1755d(0x3,_0x35ada0['IConfigService'])],_0x3b5da5),_0xe6425f[_0x5e1fd7(0x25a)]=_0x4c25bb,_0xe6425f['DOC_FORMULA_CUSTOM_RANGE_KIND']=_0x24a7cd,_0xe6425f['DOC_FORMULA_OBJECT_REPLACEMENT']='',_0xe6425f[_0x5e1fd7(0x20b)]=_0x542a71,_0xe6425f[_0x5e1fd7(0x19c)]=0x1,Object[_0x5e1fd7(0x1a5)](_0xe6425f,_0x5e1fd7(0x1cb),{'enumerable':!0x0,'get':function(){return _0x4da995;}}),Object[_0x5e1fd7(0x1a5)](_0xe6425f,'DocFormulaLifecycleController',{'enumerable':!0x0,'get':function(){return _0x1c5633;}}),_0xe6425f['DocFormulaModel']=_0xde1cef,Object[_0x5e1fd7(0x1a5)](_0xe6425f,_0x5e1fd7(0x1fb),{'enumerable':!0x0,'get':function(){return _0x8b51aa;}}),_0xe6425f[_0x5e1fd7(0x265)]=_0x3ac023,Object[_0x5e1fd7(0x1a5)](_0xe6425f,_0x5e1fd7(0x1a6),{'enumerable':!0x0,'get':function(){return _0x131ce3;}}),_0xe6425f[_0x5e1fd7(0x136)]=_0x235e40,_0xe6425f[_0x5e1fd7(0x199)]=_0x84039e,_0xe6425f[_0x5e1fd7(0x26c)]=_0x11cbf3,_0xe6425f[_0x5e1fd7(0x228)]=_0x399640,_0xe6425f[_0x5e1fd7(0x231)]=_0x2df4f6,_0xe6425f['SetDocFormulaLastValuesMutation']=_0xb5810e,_0xe6425f[_0x5e1fd7(0x1da)]=_0x3ac648,_0xe6425f[_0x5e1fd7(0x275)]=_0x154ac9,_0xe6425f[_0x5e1fd7(0x26d)]=_0x488e31,Object['defineProperty'](_0xe6425f,'UniverDocsFormulaPlugin',{'enumerable':!0x0,'get':function(){return _0x3b5da5;}}),_0xe6425f[_0x5e1fd7(0x1ce)]=_0x16a7c0,_0xe6425f[_0x5e1fd7(0x1cc)]=_0x5eec39,_0xe6425f[_0x5e1fd7(0x257)]=_0x50a02c,_0xe6425f['buildRemoveDocFormulaActions']=_0x44ab43,_0xe6425f[_0x5e1fd7(0x22a)]=_0x424b69,_0xe6425f[_0x5e1fd7(0x1d3)]=_0x3fca4a,_0xe6425f['degradeDocFormulaDocumentData']=_0x2cb22a,_0xe6425f[_0x5e1fd7(0x222)]=_0x251f7a,_0xe6425f[_0x5e1fd7(0x25f)]=_0x4983da,_0xe6425f[_0x5e1fd7(0x1f3)]=_0x5646e5,_0xe6425f[_0x5e1fd7(0x229)]=_0x2c1ccf,_0xe6425f[_0x5e1fd7(0x1e5)]=_0x544890;}));
|
|
1
|
+
function _0x546c(_0x41ee64,_0x10925c){_0x41ee64=_0x41ee64-0x140;const _0x540dfe=_0x540d();let _0x546c12=_0x540dfe[_0x41ee64];return _0x546c12;}function _0x540d(){const _0x2e7565=['decorate','DataStreamTreeTokenType','externalReferences','docs-formula.mutation.remove-formula','_docFormulaModel','some','deepClone','_formulaKeys','parse','change$','lastValue','2411352oXdScU','invalid-resource','isInteger','success','entries','_commandService','_syncScheduled','_resourceManagerService','endIndex','values','CustomRangeType','TextX','text','docs-formula.config','trigger','CUSTOM','DOC_FORMULA_PLUGIN','DocFormulaDisplayTextService','sectionBreaks','complete','resolveFormula','trim','getRichTextEditPath','onCommandExecuted','columnGroups','1.1.0','register','unsupported-version','string','getSnapshot','generateRandomId','getBodySliceForTextXAction','symbol','_model','BLOCK_START','registerPluginResource','forEach','UniverDocs','segmentId','_registrationService','empty','deleteFormula','setFormulas','boolean','find','getResource','next','endOffset','Subject','DependentOn','previousResource','insertLength','start','accessor','pluginName','updates','_formulaService','collectMutations','_updateFormulaResult','from','sort','getCustomRangeInterval','dataStream','map','paragraphs','removeFormula','unregister','UniverInstanceType','formula','liveResult','17559NSlJbL','UniverProLicense','wholeEntity','DOC_FORMULA_CUSTOM_RANGE_KIND','_rawResources','HostExternalReferenceModel','resources','5GuCGMj','1811772yEINjW','_service','load','disabled','externalMutations','referenceRevision','Disposable','length','formulaId','default','SECTION_BREAK','nextDocumentData','delete','model','expectedReferenceRevision','rxjs','amd','toFormulaLastValue','IUniverInstanceService','documentData','findDocFormulaRange','degradeBody','_loadErrors','_syncUnit','_setPresentation','COMMAND','setFormula','clear','presentation','@univerjs-pro/engine-formula','merge','range','add','ConvertDocFormulaToTextCommand','FormulaCacheEligibilityService','_registrations','UNIVER_DOC','RemoveDocFormulaCommand','_cacheEligibilityService','_resources','FormulaResultStatus','getFormulaValueSync','paragraphId','@univerjs-pro/license','_config','rangeId','shiftInclusiveRangeOnInsert','getUnitId','4213215hgfrDf','packageName','serialize','replaceDocRanges','identity','UniverEngineFormula','getRevision','_queueSync','RegisterOtherFormulaService','keys','call','docs-formula.command.set-number-format','slice','color','getUnit','tables','selection','syncExecuteCommand','DOC','deleteLength','documentRedo','CUSTOM_BLOCK','UniverProFormulaEnginePlugin','fromEntries','@univerjs/core','_preserveInvalid','univer-docs-formula','getScalarFormulaResultCell','document','references','pattern','@univerjs/engine-formula','registerProvider','getPresentation','resourceRedo','assign','isFormulaLastValue','expectedFormula','Doc\x20Formula\x20range\x20cannot\x20cross\x20document\x20structure\x20boundaries','IResourceManagerService','customRanges','previousDocumentData','751919KwVbxq','config','getOwnPropertyDescriptor','stringify','COLUMN_GROUP_END','version','ICommandService','asObservable','isDocFormulaConfig','exports','customDecorations','docs-formula.command.remove','DocSelectionManagerService','paragraph','subscribe','COLUMN_START','IUndoRedoService','@univerjs-pro/docs-formula','resource','DocFormulaResourceController','error','body','resolved','undoMutation','getAllUnitsForType','MUTATION','UniverProDocsFormula','isArray','set','notifyTextChanged','defineProperty','setConfig','_univerInstanceService','_presentationChanged$','RichTextEditingMutation','expectedNumberFormat','ERROR','degradeDocumentData','docs-formula.command.convert-to-text','number','data','setResource','type','COLUMN_END','max','registerCommand','cell','getFormula','Document\x20main\x20body\x20is\x20required\x20to\x20insert\x20Doc\x20Formula.','EMPTY','unitAdded$','startsWith','@univerjs/docs','docs-formula.command.insert','min','touchDependencies','_hostExternalReferenceModel','startIndex','presentationChanged$','unitId','name','createEmptyDocFormulaResource','end','DocFormulaModel','retain','DocFormulaLifecycleController','_isDisposed','UniverCore','iterator','UniverProEngineFormula','CommandType','object','_change$','nextResource','unregisterUnit','function','blockRanges','LexerTreeBuilder','every','resolveHostFormulaExternalReferences','registerFormulaWithRange','redoMutation','getResult','resourceUndo','docs-formula.mutation.set-last-values','customBlocks','SUCCESS','UniverDocsFormulaPlugin','_instanceService','_configService','dispose','resolveBinding','buildUpdateDocFormulaActions','schemaVersion','154ZVIZHd','buildUpsertHostExternalReferenceMutations','OtherFormulaBizType','Injector','getLoadError','numberFormat','_deleteRegistration','SetDocFormulaResourceMutation','DOC_FORMULA_SCHEMA_VERSION','startOffset','Tools','pushUndoRedo','removeUnit','position','Inject','FormulaLastValuePersistenceService','_injector','has','Module','buildInsertDocFormulaActions','18AthHxo','resolveText','textRuns','115404meOkYK','getFormulas','RemoveDocFormulaMutation','degradeDocFormulaDocumentData','get','TABLE_START','cursorOffset','properties','source','PENDING','SetDocFormulaMutation','ReplaceDocFormulaWithTextCommand','pending','resolveFormulaResultPresentation','status','syncUnit','SetDocFormulaLastValuesMutation','_pendingUnitIds','params','COLUMN_GROUP_START','disposeWithMe','9863570rmoZWI','includes','stale','formulas','target','filter','constructor','UpdateDocFormulaCommand','docs-formula.command.update'];_0x540d=function(){return _0x2e7565;};return _0x540d();}(function(_0x4b80f8,_0x4a3fdf){const _0x94f0c0=_0x546c,_0x3e22c2=_0x4b80f8();while(!![]){try{const _0x836688=-parseInt(_0x94f0c0(0x1bb))/0x1+-parseInt(_0x94f0c0(0x1a4))/0x2*(-parseInt(_0x94f0c0(0x22a))/0x3)+-parseInt(_0x94f0c0(0x232))/0x4*(-parseInt(_0x94f0c0(0x231))/0x5)+-parseInt(_0x94f0c0(0x1b8))/0x6*(-parseInt(_0x94f0c0(0x146))/0x7)+-parseInt(_0x94f0c0(0x1e4))/0x8+parseInt(_0x94f0c0(0x262))/0x9+-parseInt(_0x94f0c0(0x1d0))/0xa;if(_0x836688===_0x4a3fdf)break;else _0x3e22c2['push'](_0x3e22c2['shift']());}catch(_0x1cc9f1){_0x3e22c2['push'](_0x3e22c2['shift']());}}}(_0x540d,0x4700e),function(_0xbab9f,_0x265de6){const _0x5eef5f=_0x546c;typeof exports=='object'&&typeof module<'u'?_0x265de6(exports,require('@univerjs-pro/engine-formula'),require('@univerjs/core'),require('@univerjs/docs'),require('@univerjs/engine-formula'),require('rxjs'),require('@univerjs-pro/license')):typeof define==_0x5eef5f(0x191)&&define[_0x5eef5f(0x242)]?define([_0x5eef5f(0x14f),_0x5eef5f(0x24f),_0x5eef5f(0x27a),_0x5eef5f(0x17a),_0x5eef5f(0x281),_0x5eef5f(0x241),_0x5eef5f(0x25d)],_0x265de6):(_0xbab9f=typeof globalThis<'u'?globalThis:_0xbab9f||self,_0x265de6(_0xbab9f[_0x5eef5f(0x160)]={},_0xbab9f[_0x5eef5f(0x18b)],_0xbab9f[_0x5eef5f(0x189)],_0xbab9f[_0x5eef5f(0x209)],_0xbab9f[_0x5eef5f(0x267)],_0xbab9f[_0x5eef5f(0x241)],_0xbab9f[_0x5eef5f(0x22b)]));}(this,function(_0xb9a124,_0x4c3070,_0x589ba5,_0x3f1694,_0x5d5308,_0x299af7,_0x305e99){const _0x3a09b9=_0x546c;Object[_0x3a09b9(0x164)](_0xb9a124,Symbol['toStringTag'],{'value':_0x3a09b9(0x1b6)});let _0x33fb70='DOC_FORMULA_PLUGIN',_0x3914c0=_0x3a09b9(0x27c);function _0x4e6d45(){return{'schemaVersion':0x1,'formulas':{}};}function _0x4fcbf3(_0x419b2a){const _0x2ac264=_0x3a09b9;return!_0x419b2a||typeof _0x419b2a!=_0x2ac264(0x18d)||!_0x32e964(_0x419b2a,[_0x2ac264(0x1a3),'formulas'])||!('schemaVersion'in _0x419b2a)||_0x419b2a[_0x2ac264(0x1a3)]!==0x1||!(_0x2ac264(0x1d3)in _0x419b2a)||!_0x419b2a['formulas']||typeof _0x419b2a['formulas']!=_0x2ac264(0x18d)||Array[_0x2ac264(0x161)](_0x419b2a[_0x2ac264(0x1d3)])?!0x1:Object[_0x2ac264(0x1e8)](_0x419b2a[_0x2ac264(0x1d3)])[_0x2ac264(0x194)](([_0x39614d,_0x61da3a])=>_0x39614d[_0x2ac264(0x239)]>0x0&&_0x372fdd(_0x61da3a));}function _0x372fdd(_0x3af759){const _0x399efd=_0x3a09b9;return!_0x3af759||typeof _0x3af759!=_0x399efd(0x18d)||!_0x32e964(_0x3af759,['formula',_0x399efd(0x1a9),_0x399efd(0x1e3)])||!(_0x399efd(0x228)in _0x3af759)||typeof _0x3af759['formula']!=_0x399efd(0x200)||!_0x3af759[_0x399efd(0x228)][_0x399efd(0x1f9)]()||_0x399efd(0x1a9)in _0x3af759&&_0x3af759['numberFormat']!=null&&(typeof _0x3af759['numberFormat']!=_0x399efd(0x18d)||!_0x32e964(_0x3af759[_0x399efd(0x1a9)],[_0x399efd(0x280)])||!(_0x399efd(0x280)in _0x3af759['numberFormat'])||typeof _0x3af759['numberFormat']['pattern']!=_0x399efd(0x200))?!0x1:!(_0x399efd(0x1e3)in _0x3af759)||_0x3af759[_0x399efd(0x1e3)]==null||_0x282418(_0x3af759['lastValue']);}function _0x282418(_0x1ffa89){const _0x44aa96=_0x3a09b9;return!_0x1ffa89||typeof _0x1ffa89!=_0x44aa96(0x18d)||!_0x32e964(_0x1ffa89,['v','t',_0x44aa96(0x280)])||!('v'in _0x1ffa89)||_0x1ffa89['v']!==null&&typeof _0x1ffa89['v']!=_0x44aa96(0x200)&&typeof _0x1ffa89['v']!=_0x44aa96(0x16d)&&typeof _0x1ffa89['v']!=_0x44aa96(0x20f)||'t'in _0x1ffa89&&_0x1ffa89['t']!=null&&!_0x25741e(_0x1ffa89['t'])?!0x1:!(_0x44aa96(0x280)in _0x1ffa89)||_0x1ffa89[_0x44aa96(0x280)]==null||typeof _0x1ffa89[_0x44aa96(0x280)]=='string';}function _0x32e964(_0x2576a4,_0x374370){const _0x235260=_0x3a09b9;let _0x8e1a8f=new Set(_0x374370);return Object[_0x235260(0x26b)](_0x2576a4)['every'](_0xb49775=>_0x8e1a8f[_0x235260(0x1b5)](_0xb49775));}function _0x25741e(_0xb0bcbe){const _0x3d30cc=_0x3a09b9;return typeof _0xb0bcbe==_0x3d30cc(0x16d)&&Object[_0x3d30cc(0x1ed)](_0x589ba5['CellValueType'])[_0x3d30cc(0x1d1)](_0xb0bcbe);}let _0x57fb54=new Set([_0x589ba5[_0x3a09b9(0x1da)][_0x3a09b9(0x23c)],_0x589ba5[_0x3a09b9(0x1da)][_0x3a09b9(0x1c0)],_0x589ba5[_0x3a09b9(0x1da)]['TABLE_ROW_START'],_0x589ba5[_0x3a09b9(0x1da)]['TABLE_CELL_START'],_0x589ba5[_0x3a09b9(0x1da)]['TABLE_CELL_END'],_0x589ba5['DataStreamTreeTokenType']['TABLE_ROW_END'],_0x589ba5[_0x3a09b9(0x1da)]['TABLE_END'],_0x589ba5[_0x3a09b9(0x1da)][_0x3a09b9(0x1ce)],_0x589ba5[_0x3a09b9(0x1da)][_0x3a09b9(0x155)],_0x589ba5['DataStreamTreeTokenType'][_0x3a09b9(0x171)],_0x589ba5[_0x3a09b9(0x1da)][_0x3a09b9(0x14a)],_0x589ba5[_0x3a09b9(0x1da)][_0x3a09b9(0x206)],_0x589ba5[_0x3a09b9(0x1da)]['BLOCK_END'],_0x589ba5[_0x3a09b9(0x1da)][_0x3a09b9(0x277)]]);var _0x1c3d3b=class extends Error{constructor(){const _0x189f0c=_0x3a09b9;super(_0x189f0c(0x142));}};function _0x38fc78(_0x5b8cb7){const _0x355a97=_0x3a09b9;var _0x409a73,_0x28ceb4;let _0x5b30c9=_0x589ba5[_0x355a97(0x1ae)][_0x355a97(0x1df)](_0x5b8cb7[_0x355a97(0x245)]),_0x269c9d=_0xe8dc64(_0x5b30c9),{startOffset:_0x36e092,endOffset:_0x5921ad}=_0x94c03c(_0x269c9d,_0x5b8cb7['startOffset'],_0x5b8cb7['endOffset']);_0x5a8223(_0x269c9d,_0x36e092,_0x5921ad);let _0x1f0a55=((_0x409a73=_0x269c9d['customRanges'])==null?void 0x0:_0x409a73[_0x355a97(0x1d5)](_0x1ab68d=>{const _0x477d83=_0x355a97;if(!_0x4e62d2(_0x1ab68d))return!0x1;let _0x5d48f7=(0x0,_0x589ba5[_0x477d83(0x221)])(_0x1ab68d);return _0x5d48f7['endOffset']>_0x36e092&&_0x5d48f7['startOffset']<_0x5921ad;})[_0x355a97(0x223)](_0x5286b2=>_0x5286b2[_0x355a97(0x25f)]))??[];_0x9e1f8f(_0x269c9d,_0x36e092,_0x5921ad,''),_0x269c9d[_0x355a97(0x144)]=[...((_0x28ceb4=_0x269c9d[_0x355a97(0x144)])==null?void 0x0:_0x28ceb4[_0x355a97(0x1d5)](_0x56c13c=>!_0x1f0a55[_0x355a97(0x1d1)](_0x56c13c[_0x355a97(0x25f)])&&_0x56c13c[_0x355a97(0x25f)]!==_0x5b8cb7['rangeId']))??[],_0x5e2901(_0x5b8cb7[_0x355a97(0x25f)],_0x36e092)][_0x355a97(0x220)]((_0xf89696,_0x52d555)=>_0xf89696[_0x355a97(0x17f)]-_0x52d555['startIndex']);let _0x3a636f=_0x4c7e93(_0x5b8cb7[_0x355a97(0x158)]);return _0x1f0a55[_0x355a97(0x208)](_0x47f3e2=>{const _0x4b516=_0x355a97;delete _0x3a636f[_0x4b516(0x1d3)][_0x47f3e2];}),_0x3a636f[_0x355a97(0x1d3)][_0x5b8cb7[_0x355a97(0x25f)]]=_0x589ba5[_0x355a97(0x1ae)][_0x355a97(0x1df)](_0x5b8cb7[_0x355a97(0x147)]),{'nextDocumentData':_0x5b30c9,'nextResource':_0x3a636f,'cursorOffset':_0x36e092+0x1};}function _0x448c17(_0x148fc7){const _0x168771=_0x3a09b9;var _0x5d9717,_0x3ab9b5;let _0x4ea200=_0x589ba5['Tools'][_0x168771(0x1df)](_0x148fc7[_0x168771(0x245)]),_0x4503ab=(_0x5d9717=_0xe8dc64(_0x4ea200)[_0x168771(0x144)])==null?void 0x0:_0x5d9717[_0x168771(0x210)](_0x2eb70f=>_0x2eb70f[_0x168771(0x25f)]===_0x148fc7[_0x168771(0x25f)]&&_0x4e62d2(_0x2eb70f));if(!_0x4503ab||!((_0x3ab9b5=_0x148fc7[_0x168771(0x158)])!=null&&_0x3ab9b5[_0x168771(0x1d3)][_0x148fc7['rangeId']]))return null;let _0x519b4f=_0x4c7e93(_0x148fc7['resource']);return _0x519b4f[_0x168771(0x1d3)][_0x148fc7['rangeId']]=_0x589ba5[_0x168771(0x1ae)][_0x168771(0x1df)](_0x148fc7[_0x168771(0x147)]),{'nextDocumentData':_0x4ea200,'nextResource':_0x519b4f,'cursorOffset':_0x4503ab[_0x168771(0x1ec)]+0x1};}function _0x273d39(_0x3b792e){const _0x5c5705=_0x3a09b9;let _0x5b8e04=_0x589ba5[_0x5c5705(0x1ae)][_0x5c5705(0x1df)](_0x3b792e[_0x5c5705(0x245)]),_0x3c4bca=_0x414dca(_0x5b8e04,_0x3b792e[_0x5c5705(0x25f)],_0x3b792e[_0x5c5705(0x1f0)]??'');if(_0x3c4bca==null)return null;let _0x138822=_0x4c7e93(_0x3b792e['resource']);return delete _0x138822['formulas'][_0x3b792e[_0x5c5705(0x25f)]],{'nextDocumentData':_0x5b8e04,'nextResource':_0x138822,'cursorOffset':_0x3c4bca};}function _0x3a2210(_0x4573ea,_0x3d73b7){const _0xb08034=_0x3a09b9;var _0x3bd45c;let _0x497862=_0x589ba5[_0xb08034(0x1ae)][_0xb08034(0x1df)](_0x4573ea),_0x530c7c=_0x497862['body'];if(!_0x530c7c)return _0x497862;let _0x4a2ede=new Map(_0x3d73b7[_0xb08034(0x223)](_0x2b0be7=>[_0x2b0be7['rangeId'],_0x2b0be7[_0xb08034(0x1f0)]])),_0x16c3a7=((_0x3bd45c=_0x530c7c[_0xb08034(0x144)])==null?void 0x0:_0x3bd45c[_0xb08034(0x1d5)](_0x4241bd=>_0x4e62d2(_0x4241bd)&&_0x4a2ede[_0xb08034(0x1b5)](_0x4241bd['rangeId']))[_0xb08034(0x220)]((_0x394dea,_0x396fee)=>_0x396fee['startIndex']-_0x394dea[_0xb08034(0x17f)]))??[];for(let _0x265d98 of _0x16c3a7)_0x414dca(_0x497862,_0x265d98[_0xb08034(0x25f)],_0x4a2ede['get'](_0x265d98[_0xb08034(0x25f)])??'');return _0x497862;}function _0x4e62d2(_0x5eaeb5){const _0x1f7caa=_0x3a09b9;var _0x2c1182;return(_0x5eaeb5==null?void 0x0:_0x5eaeb5['rangeType'])===_0x589ba5['CustomRangeType'][_0x1f7caa(0x1f3)]&&_0x5eaeb5[_0x1f7caa(0x22c)]===!0x0&&((_0x2c1182=_0x5eaeb5[_0x1f7caa(0x1c2)])==null?void 0x0:_0x2c1182['kind'])===_0x1f7caa(0x27c);}function _0x432e46(_0x102a64,_0x54394c){const _0x2fc73c=_0x3a09b9;var _0x147c09;return _0x102a64==null||(_0x147c09=_0x102a64[_0x2fc73c(0x144)])==null?void 0x0:_0x147c09[_0x2fc73c(0x210)](_0x410fd5=>_0x410fd5['rangeId']===_0x54394c&&_0x4e62d2(_0x410fd5));}function _0x5a8223(_0x1670de,_0x14dcdb,_0x34b8d2){const _0x225640=_0x3a09b9;if(_0x14dcdb===_0x34b8d2){if(_0x57fb54[_0x225640(0x1b5)](_0x1670de[_0x225640(0x222)][_0x14dcdb]))throw new _0x1c3d3b();}else{for(let _0x580856=_0x14dcdb;_0x580856<_0x34b8d2;_0x580856++)if(_0x1670de[_0x225640(0x222)][_0x580856]===_0x589ba5[_0x225640(0x1da)]['PARAGRAPH']||_0x57fb54['has'](_0x1670de[_0x225640(0x222)][_0x580856]))throw new _0x1c3d3b();}}function _0x5e2901(_0x529067,_0x24ebeb){const _0x437241=_0x3a09b9;return{'startIndex':_0x24ebeb,'endIndex':_0x24ebeb,'rangeId':_0x529067,'rangeType':_0x589ba5[_0x437241(0x1ee)]['CUSTOM'],'wholeEntity':!0x0,'properties':{'kind':_0x3914c0}};}function _0x4c7e93(_0x1ef479){const _0x50c7cd=_0x3a09b9;return _0x1ef479?_0x589ba5[_0x50c7cd(0x1ae)][_0x50c7cd(0x1df)](_0x1ef479):_0x4e6d45();}function _0x94c03c(_0x4145df,_0x2b68c5,_0x46ad02){const _0x202176=_0x3a09b9;let _0x45c98e=_0xb7c92a(_0x4145df),_0xe28e79=_0x2b68c5??_0x45c98e,_0x2f5e27=_0x46ad02??_0xe28e79;return{'startOffset':_0x50c23e(Math[_0x202176(0x17c)](_0xe28e79,_0x2f5e27),_0x45c98e),'endOffset':_0x50c23e(Math[_0x202176(0x172)](_0xe28e79,_0x2f5e27),_0x45c98e)};}function _0x50c23e(_0x53883a,_0x59d41a){const _0x1182b7=_0x3a09b9;return Math[_0x1182b7(0x172)](0x0,Math['min'](_0x53883a,_0x59d41a));}function _0xb7c92a(_0x46b119){const _0xc4516b=_0x3a09b9;return _0x46b119[_0xc4516b(0x222)]['endsWith'](''+_0x589ba5[_0xc4516b(0x1da)]['PARAGRAPH']+_0x589ba5[_0xc4516b(0x1da)]['SECTION_BREAK'])?Math[_0xc4516b(0x172)](0x0,_0x46b119[_0xc4516b(0x222)][_0xc4516b(0x239)]-0x2):_0x46b119[_0xc4516b(0x222)]['endsWith'](_0x589ba5[_0xc4516b(0x1da)]['SECTION_BREAK'])?Math['max'](0x0,_0x46b119[_0xc4516b(0x222)][_0xc4516b(0x239)]-0x1):_0x46b119[_0xc4516b(0x222)][_0xc4516b(0x239)];}function _0x9e1f8f(_0xe14d15,_0x53271b,_0x138bc4,_0x2ae031){_0x138bc4>_0x53271b&&_0x4b674d(_0xe14d15,_0x53271b,_0x138bc4),_0x2e3610(_0xe14d15,_0x53271b,_0x2ae031);}function _0x414dca(_0xd68f52,_0x570396,_0x51c0fb){const _0x54e3e1=_0x3a09b9;var _0x3d8855,_0x2443cc;let _0x3a0261=_0xe8dc64(_0xd68f52),_0x59ed7a=(_0x3d8855=_0x3a0261[_0x54e3e1(0x144)])==null?void 0x0:_0x3d8855[_0x54e3e1(0x210)](_0x52554c=>_0x52554c[_0x54e3e1(0x25f)]===_0x570396&&_0x4e62d2(_0x52554c));if(!_0x59ed7a)return null;let _0x5d4408=(0x0,_0x589ba5[_0x54e3e1(0x221)])(_0x59ed7a);return _0x9e1f8f(_0x3a0261,_0x5d4408[_0x54e3e1(0x1ad)],_0x5d4408[_0x54e3e1(0x213)],_0x51c0fb),_0x3a0261[_0x54e3e1(0x144)]=(_0x2443cc=_0x3a0261[_0x54e3e1(0x144)])==null?void 0x0:_0x2443cc[_0x54e3e1(0x1d5)](_0x5bd42a=>_0x5bd42a[_0x54e3e1(0x25f)]!==_0x570396),_0x5d4408[_0x54e3e1(0x1ad)]+_0x51c0fb['length'];}function _0x2e3610(_0x47a7ef,_0x1631c0,_0x1804c5){const _0x22ae9a=_0x3a09b9;_0x1804c5&&(_0x47a7ef['dataStream']=''+_0x47a7ef[_0x22ae9a(0x222)]['slice'](0x0,_0x1631c0)+_0x1804c5+_0x47a7ef[_0x22ae9a(0x222)][_0x22ae9a(0x26e)](_0x1631c0),_0xf3584c(_0x47a7ef,_0x1631c0,_0x1804c5[_0x22ae9a(0x239)]));}function _0x4b674d(_0x2c6ad0,_0x4d90df,_0x1dcf16){const _0xfef88b=_0x3a09b9;let _0x32d101=_0x1dcf16-_0x4d90df;_0x2c6ad0[_0xfef88b(0x222)]=''+_0x2c6ad0[_0xfef88b(0x222)][_0xfef88b(0x26e)](0x0,_0x4d90df)+_0x2c6ad0[_0xfef88b(0x222)][_0xfef88b(0x26e)](_0x1dcf16),_0x506a56(_0x2c6ad0,_0x4d90df,_0x32d101);}function _0xf3584c(_0x587dee,_0x46c946,_0x6276b2){const _0x25d9bd=_0x3a09b9;_0x587dee[_0x25d9bd(0x224)]=_0x198623(_0x587dee[_0x25d9bd(0x224)],_0x46c946,_0x6276b2),_0x587dee[_0x25d9bd(0x1f6)]=_0x198623(_0x587dee[_0x25d9bd(0x1f6)],_0x46c946,_0x6276b2),_0x587dee[_0x25d9bd(0x19b)]=_0x198623(_0x587dee[_0x25d9bd(0x19b)],_0x46c946,_0x6276b2),_0x587dee[_0x25d9bd(0x1ba)]=_0xe8e696(_0x587dee[_0x25d9bd(0x1ba)],_0x46c946,_0x6276b2),_0x587dee[_0x25d9bd(0x271)]=_0x568458(_0x587dee[_0x25d9bd(0x271)],_0x46c946,_0x6276b2),_0x587dee[_0x25d9bd(0x1fc)]=_0x40261b(_0x587dee['columnGroups'],_0x46c946,_0x6276b2),_0x587dee[_0x25d9bd(0x144)]=_0x40261b(_0x587dee[_0x25d9bd(0x144)],_0x46c946,_0x6276b2),_0x587dee['customDecorations']=_0x40261b(_0x587dee[_0x25d9bd(0x150)],_0x46c946,_0x6276b2),_0x587dee[_0x25d9bd(0x192)]=_0x40261b(_0x587dee[_0x25d9bd(0x192)],_0x46c946,_0x6276b2);}function _0x506a56(_0x43e3fb,_0x4f278e,_0x33ef0e){const _0x3e94ab=_0x3a09b9;var _0x1f73d6,_0x5b183a;_0x43e3fb[_0x3e94ab(0x224)]=_0x2792ac(_0x43e3fb[_0x3e94ab(0x224)],_0x4f278e,_0x33ef0e),_0x43e3fb[_0x3e94ab(0x1f6)]=_0x2792ac(_0x43e3fb[_0x3e94ab(0x1f6)],_0x4f278e,_0x33ef0e),_0x43e3fb[_0x3e94ab(0x19b)]=_0x2792ac(_0x43e3fb['customBlocks'],_0x4f278e,_0x33ef0e),_0x43e3fb[_0x3e94ab(0x1ba)]=(_0x1f73d6=_0x3c6977((_0x5b183a=_0x43e3fb[_0x3e94ab(0x1ba)])==null?void 0x0:_0x5b183a[_0x3e94ab(0x223)](_0x3d9e11=>({..._0x3d9e11,'startIndex':_0x3d9e11['st'],'endIndex':_0x3d9e11['ed']})),_0x4f278e,_0x33ef0e))==null?void 0x0:_0x1f73d6[_0x3e94ab(0x223)](_0x196e7b=>{let {startIndex:_0x3d443a,endIndex:_0x1c2957,..._0x15ff36}=_0x196e7b;return{..._0x15ff36,'st':_0x3d443a,'ed':_0x1c2957};}),_0x43e3fb[_0x3e94ab(0x271)]=_0x3c6977(_0x43e3fb[_0x3e94ab(0x271)],_0x4f278e,_0x33ef0e),_0x43e3fb[_0x3e94ab(0x1fc)]=_0xa5127c(_0x43e3fb[_0x3e94ab(0x1fc)],_0x4f278e,_0x33ef0e),_0x43e3fb[_0x3e94ab(0x144)]=_0xa5127c(_0x43e3fb[_0x3e94ab(0x144)],_0x4f278e,_0x33ef0e),_0x43e3fb[_0x3e94ab(0x150)]=_0xa5127c(_0x43e3fb[_0x3e94ab(0x150)],_0x4f278e,_0x33ef0e),_0x43e3fb['blockRanges']=_0xa5127c(_0x43e3fb[_0x3e94ab(0x192)],_0x4f278e,_0x33ef0e);}function _0x198623(_0x45a81a,_0x4e9a6e,_0x3b3f3c){const _0x5849ea=_0x3a09b9;return _0x45a81a==null?void 0x0:_0x45a81a['map'](_0x3b4d71=>_0x3b4d71[_0x5849ea(0x17f)]>=_0x4e9a6e?{..._0x3b4d71,'startIndex':_0x3b4d71[_0x5849ea(0x17f)]+_0x3b3f3c}:_0x3b4d71);}function _0x2792ac(_0x30daa9,_0x1f08d7,_0x320965){const _0x4776f6=_0x3a09b9;let _0x1483b4=_0x1f08d7+_0x320965;return _0x30daa9==null?void 0x0:_0x30daa9[_0x4776f6(0x223)](_0x174da8=>_0x174da8[_0x4776f6(0x17f)]>=_0x1f08d7&&_0x174da8['startIndex']<_0x1483b4?null:_0x174da8[_0x4776f6(0x17f)]>=_0x1483b4?{..._0x174da8,'startIndex':_0x174da8[_0x4776f6(0x17f)]-_0x320965}:_0x174da8)['filter'](_0x2065dd=>_0x2065dd!=null);}function _0xe8e696(_0xe343d5,_0x6957b5,_0x25c583){return _0xe343d5==null?void 0x0:_0xe343d5['map'](_0x2bb648=>_0x2bb648['st']>=_0x6957b5?{..._0x2bb648,'st':_0x2bb648['st']+_0x25c583,'ed':_0x2bb648['ed']+_0x25c583}:_0x2bb648['ed']>_0x6957b5?{..._0x2bb648,'ed':_0x2bb648['ed']+_0x25c583}:_0x2bb648);}function _0x40261b(_0x111f52,_0x255735,_0x148f2d){const _0x1f6d21=_0x3a09b9;return _0x111f52==null?void 0x0:_0x111f52['map'](_0x39a8f3=>(0x0,_0x589ba5[_0x1f6d21(0x260)])(_0x39a8f3,_0x255735,_0x148f2d));}function _0x568458(_0x201bcf,_0x5602e6,_0x50f37d){return _0x201bcf==null?void 0x0:_0x201bcf['map'](_0x485be6=>(0x0,_0x589ba5['shiftExclusiveRangeOnInsert'])(_0x485be6,_0x5602e6,_0x50f37d));}function _0xa5127c(_0x10d556,_0x3ce2ac,_0x5dad0a){const _0x4607a8=_0x3a09b9;return _0x10d556==null?void 0x0:_0x10d556[_0x4607a8(0x223)](_0x484b8c=>(0x0,_0x589ba5['shiftInclusiveRangeOnDelete'])(_0x484b8c,_0x3ce2ac,_0x5dad0a))[_0x4607a8(0x1d5)](_0x3cd37c=>_0x3cd37c!=null);}function _0x3c6977(_0x12102d,_0x47d496,_0x369523){const _0x5dd76b=_0x3a09b9;return _0x12102d==null?void 0x0:_0x12102d[_0x5dd76b(0x223)](_0x3de8cc=>(0x0,_0x589ba5['shiftExclusiveRangeOnDelete'])(_0x3de8cc,_0x47d496,_0x369523))[_0x5dd76b(0x1d5)](_0x25ac81=>_0x25ac81!=null);}function _0xe8dc64(_0x463e51){const _0x1d1423=_0x3a09b9;if(!_0x463e51[_0x1d1423(0x15b)])throw Error(_0x1d1423(0x176));return _0x463e51[_0x1d1423(0x15b)];}function _0x251e22(_0xbdeff9){'@babel/helpers - typeof';const _0x4856a4=_0x3a09b9;return _0x251e22=typeof Symbol==_0x4856a4(0x191)&&typeof Symbol[_0x4856a4(0x18a)]=='symbol'?function(_0x2f6292){return typeof _0x2f6292;}:function(_0x354922){const _0x49132d=_0x4856a4;return _0x354922&&typeof Symbol==_0x49132d(0x191)&&_0x354922[_0x49132d(0x1d6)]===Symbol&&_0x354922!==Symbol['prototype']?_0x49132d(0x204):typeof _0x354922;},_0x251e22(_0xbdeff9);}function _0x382ace(_0x42a6cc,_0xa47b){const _0x18e884=_0x3a09b9;if(_0x251e22(_0x42a6cc)!=_0x18e884(0x18d)||!_0x42a6cc)return _0x42a6cc;var _0x213884=_0x42a6cc[Symbol['toPrimitive']];if(_0x213884!==void 0x0){var _0x7bba9d=_0x213884[_0x18e884(0x26c)](_0x42a6cc,_0xa47b||_0x18e884(0x23b));if(_0x251e22(_0x7bba9d)!=_0x18e884(0x18d))return _0x7bba9d;throw TypeError('@@toPrimitive\x20must\x20return\x20a\x20primitive\x20value.');}return(_0xa47b===_0x18e884(0x200)?String:Number)(_0x42a6cc);}function _0x32051d(_0x1ca7ca){const _0x17f7af=_0x3a09b9;var _0x52a3c9=_0x382ace(_0x1ca7ca,_0x17f7af(0x200));return _0x251e22(_0x52a3c9)==_0x17f7af(0x204)?_0x52a3c9:_0x52a3c9+'';}function _0x3433aa(_0x2b59d7,_0x1257ee,_0x53ffaf){const _0x1034dd=_0x3a09b9;return(_0x1257ee=_0x32051d(_0x1257ee))in _0x2b59d7?Object[_0x1034dd(0x164)](_0x2b59d7,_0x1257ee,{'value':_0x53ffaf,'enumerable':!0x0,'configurable':!0x0,'writable':!0x0}):_0x2b59d7[_0x1257ee]=_0x53ffaf,_0x2b59d7;}var _0x5334e8=class extends _0x589ba5[_0x3a09b9(0x238)]{constructor(..._0x2e9604){const _0x216c68=_0x3a09b9;super(..._0x2e9604),_0x3433aa(this,_0x216c68(0x259),new Map()),_0x3433aa(this,_0x216c68(0x22e),new Map()),_0x3433aa(this,'_loadErrors',new Map()),_0x3433aa(this,_0x216c68(0x18e),new _0x299af7[(_0x216c68(0x214))]()),_0x3433aa(this,_0x216c68(0x1e2),this[_0x216c68(0x18e)]['asObservable']());}['getFormula'](_0x53802c,_0x13c82a){const _0x2d6ba4=_0x3a09b9;var _0x370415;let _0x19dd7b=(_0x370415=this['_resources'][_0x2d6ba4(0x1bf)](_0x53802c))==null?void 0x0:_0x370415['formulas'][_0x13c82a];return _0x19dd7b?_0x589ba5[_0x2d6ba4(0x1ae)][_0x2d6ba4(0x1df)](_0x19dd7b):void 0x0;}[_0x3a09b9(0x1bc)](_0x398474){const _0x29109b=_0x3a09b9;var _0x26cdfe;return _0x589ba5['Tools'][_0x29109b(0x1df)](((_0x26cdfe=this[_0x29109b(0x259)][_0x29109b(0x1bf)](_0x398474))==null?void 0x0:_0x26cdfe[_0x29109b(0x1d3)])??{});}[_0x3a09b9(0x211)](_0x37c1de){const _0x352ec3=_0x3a09b9;let _0x211631=this['_resources']['get'](_0x37c1de);return _0x211631?_0x589ba5[_0x352ec3(0x1ae)][_0x352ec3(0x1df)](_0x211631):void 0x0;}[_0x3a09b9(0x24c)](_0x40f63f,_0x4e8ae7,_0x564629){return this['setFormulas'](_0x40f63f,{[_0x4e8ae7]:_0x564629});}[_0x3a09b9(0x16f)](_0x1ea416,_0xa6d18e){const _0x35e9a7=_0x3a09b9;return this[_0x35e9a7(0x248)]['has'](_0x1ea416)||!_0x4fcbf3(_0xa6d18e)?!0x1:(this['_resources'][_0x35e9a7(0x162)](_0x1ea416,_0x589ba5[_0x35e9a7(0x1ae)][_0x35e9a7(0x1df)](_0xa6d18e)),this[_0x35e9a7(0x18e)]['next']({'unitId':_0x1ea416}),!0x0);}[_0x3a09b9(0x20e)](_0x41033e,_0x109d2f){const _0x3dd07b=_0x3a09b9;if(this[_0x3dd07b(0x248)]['has'](_0x41033e)||!Object[_0x3dd07b(0x26b)](_0x109d2f)['length']||!_0x4fcbf3({'schemaVersion':0x1,'formulas':_0x109d2f}))return!0x1;let _0x37053d=this[_0x3dd07b(0x259)][_0x3dd07b(0x1bf)](_0x41033e)??_0x4e6d45(),_0x2ac417=_0x589ba5['Tools'][_0x3dd07b(0x1df)](_0x37053d);return Object[_0x3dd07b(0x285)](_0x2ac417[_0x3dd07b(0x1d3)],_0x589ba5[_0x3dd07b(0x1ae)][_0x3dd07b(0x1df)](_0x109d2f)),this[_0x3dd07b(0x259)][_0x3dd07b(0x162)](_0x41033e,_0x2ac417),this['_change$']['next']({'unitId':_0x41033e,'rangeIds':Object[_0x3dd07b(0x26b)](_0x109d2f)}),!0x0;}[_0x3a09b9(0x225)](_0x5cde25,_0x19471f){const _0x4a91a6=_0x3a09b9;if(this['_loadErrors'][_0x4a91a6(0x1b5)](_0x5cde25))return!0x1;let _0xdaf555=this[_0x4a91a6(0x259)]['get'](_0x5cde25);if(!(_0xdaf555!=null&&_0xdaf555[_0x4a91a6(0x1d3)][_0x19471f]))return!0x1;let _0x1a2596=_0x589ba5['Tools'][_0x4a91a6(0x1df)](_0xdaf555);return delete _0x1a2596[_0x4a91a6(0x1d3)][_0x19471f],this['_resources'][_0x4a91a6(0x162)](_0x5cde25,_0x1a2596),this[_0x4a91a6(0x18e)][_0x4a91a6(0x212)]({'unitId':_0x5cde25,'rangeIds':[_0x19471f]}),!0x0;}[_0x3a09b9(0x234)](_0x189375,_0x4ecb78){const _0x34f269=_0x3a09b9;return _0x4ecb78&&typeof _0x4ecb78==_0x34f269(0x18d)&&_0x34f269(0x1a3)in _0x4ecb78&&_0x4ecb78[_0x34f269(0x1a3)]!==0x1?(this[_0x34f269(0x27b)](_0x189375,_0x4ecb78,_0x34f269(0x1ff)),!0x1):_0x4fcbf3(_0x4ecb78)?(this[_0x34f269(0x259)][_0x34f269(0x162)](_0x189375,_0x589ba5[_0x34f269(0x1ae)][_0x34f269(0x1df)](_0x4ecb78)),this[_0x34f269(0x22e)][_0x34f269(0x23e)](_0x189375),this['_loadErrors'][_0x34f269(0x23e)](_0x189375),this[_0x34f269(0x18e)][_0x34f269(0x212)]({'unitId':_0x189375}),!0x0):(this[_0x34f269(0x27b)](_0x189375,_0x4ecb78,_0x34f269(0x1e5)),!0x1);}['serialize'](_0x43427d){const _0x3e561b=_0x3a09b9;let _0x5ed6bd=this[_0x3e561b(0x259)]['get'](_0x43427d);return _0x5ed6bd?_0x589ba5['Tools'][_0x3e561b(0x1df)](_0x5ed6bd):this['_rawResources']['has'](_0x43427d)?_0x589ba5['Tools'][_0x3e561b(0x1df)](this[_0x3e561b(0x22e)][_0x3e561b(0x1bf)](_0x43427d)):_0x4e6d45();}[_0x3a09b9(0x1a8)](_0x9bb704){const _0x27a595=_0x3a09b9;return this['_loadErrors'][_0x27a595(0x1bf)](_0x9bb704);}['removeUnit'](_0x47d2de){const _0x2103a6=_0x3a09b9;this[_0x2103a6(0x259)][_0x2103a6(0x23e)](_0x47d2de),this[_0x2103a6(0x22e)][_0x2103a6(0x23e)](_0x47d2de),this[_0x2103a6(0x248)]['delete'](_0x47d2de),this[_0x2103a6(0x18e)][_0x2103a6(0x212)]({'unitId':_0x47d2de});}[_0x3a09b9(0x1a0)](){const _0x432f40=_0x3a09b9;this[_0x432f40(0x259)]['clear'](),this[_0x432f40(0x22e)]['clear'](),this['_loadErrors'][_0x432f40(0x24d)](),this[_0x432f40(0x18e)]['complete'](),super['dispose']();}[_0x3a09b9(0x27b)](_0x4e50d7,_0x36da0d,_0x592a9c){const _0x506d94=_0x3a09b9;this[_0x506d94(0x259)][_0x506d94(0x23e)](_0x4e50d7),this[_0x506d94(0x22e)]['set'](_0x4e50d7,_0x589ba5[_0x506d94(0x1ae)][_0x506d94(0x1df)](_0x36da0d)),this[_0x506d94(0x248)][_0x506d94(0x162)](_0x4e50d7,_0x592a9c),this[_0x506d94(0x18e)][_0x506d94(0x212)]({'unitId':_0x4e50d7});}};let _0x104b08=function(_0x70f549){const _0x541ce2=_0x3a09b9;return _0x70f549[_0x541ce2(0x177)]=_0x541ce2(0x20c),_0x70f549[_0x541ce2(0x1c4)]=_0x541ce2(0x1c7),_0x70f549[_0x541ce2(0x19c)]=_0x541ce2(0x1e7),_0x70f549[_0x541ce2(0x16a)]='error',_0x70f549;}({});function _0x3773bf(_0x1eac82,_0x42b68f){return function(_0x1b9eea,_0x2975e2){_0x42b68f(_0x1b9eea,_0x2975e2,_0x1eac82);};}function _0x2cfc4a(_0x198ece,_0x40d5f8,_0x5333ee,_0x1d1741){const _0x35ccc3=_0x3a09b9;var _0x2167a4=arguments[_0x35ccc3(0x239)],_0x30ef4b=_0x2167a4<0x3?_0x40d5f8:_0x1d1741===null?_0x1d1741=Object[_0x35ccc3(0x148)](_0x40d5f8,_0x5333ee):_0x1d1741,_0x3e0422;if(typeof Reflect==_0x35ccc3(0x18d)&&typeof Reflect['decorate']==_0x35ccc3(0x191))_0x30ef4b=Reflect[_0x35ccc3(0x1d9)](_0x198ece,_0x40d5f8,_0x5333ee,_0x1d1741);else{for(var _0x217670=_0x198ece['length']-0x1;_0x217670>=0x0;_0x217670--)(_0x3e0422=_0x198ece[_0x217670])&&(_0x30ef4b=(_0x2167a4<0x3?_0x3e0422(_0x30ef4b):_0x2167a4>0x3?_0x3e0422(_0x40d5f8,_0x5333ee,_0x30ef4b):_0x3e0422(_0x40d5f8,_0x5333ee))||_0x30ef4b);}return _0x2167a4>0x3&&_0x30ef4b&&Object[_0x35ccc3(0x164)](_0x40d5f8,_0x5333ee,_0x30ef4b),_0x30ef4b;}let _0x1afbc3=class extends _0x589ba5[_0x3a09b9(0x238)]{constructor(_0xc79f0a,_0x1cf1c7,_0x5a4ae4){const _0x6b62b0=_0x3a09b9;super(),this[_0x6b62b0(0x205)]=_0xc79f0a,this[_0x6b62b0(0x20b)]=_0x1cf1c7,this[_0x6b62b0(0x17e)]=_0x5a4ae4,_0x3433aa(this,_0x6b62b0(0x255),new Map()),_0x3433aa(this,_0x6b62b0(0x1e0),new Map()),_0x3433aa(this,'_presentationChanged$',new _0x299af7[(_0x6b62b0(0x214))]()),_0x3433aa(this,_0x6b62b0(0x180),this['_presentationChanged$'][_0x6b62b0(0x14d)]()),this[_0x6b62b0(0x1cf)](this[_0x6b62b0(0x20b)]['formulaResult$']['subscribe'](_0x2ae510=>{const _0x1f57ea=_0x6b62b0;for(let _0x5e12af of Object['values'](_0x2ae510))for(let _0x402059 of Object[_0x1f57ea(0x1ed)](_0x5e12af))_0x402059[_0x1f57ea(0x208)](_0x367c22=>this['_updateFormulaResult'](_0x367c22));}));}[_0x3a09b9(0x1ca)](_0x53bef2){const _0x2eed7f=_0x3a09b9;var _0x3ca8c9;let _0x1a5135=_0x53bef2[_0x2eed7f(0x261)](),_0x2ec7e7=((_0x3ca8c9=_0x53bef2['getSnapshot']()[_0x2eed7f(0x15b)])==null||(_0x3ca8c9=_0x3ca8c9[_0x2eed7f(0x144)])==null?void 0x0:_0x3ca8c9[_0x2eed7f(0x1d5)](_0x4e62d2))??[],_0x1f3362=this[_0x2eed7f(0x205)][_0x2eed7f(0x1bc)](_0x1a5135),_0x50bd94=new Set();for(let _0x522a78 of _0x2ec7e7){let _0x3b9dae=_0x1f3362[_0x522a78[_0x2eed7f(0x25f)]];_0x3b9dae&&(_0x50bd94[_0x2eed7f(0x252)](_0x41cfd3(_0x1a5135,_0x522a78[_0x2eed7f(0x25f)])),this['register']({'unitId':_0x1a5135,'rangeId':_0x522a78['rangeId']},_0x3b9dae));}for(let _0x3080f2 of Array[_0x2eed7f(0x21f)](this[_0x2eed7f(0x255)][_0x2eed7f(0x1ed)]()))_0x3080f2[_0x2eed7f(0x181)]===_0x1a5135&&!_0x50bd94[_0x2eed7f(0x1b5)](_0x41cfd3(_0x3080f2[_0x2eed7f(0x181)],_0x3080f2[_0x2eed7f(0x25f)]))&&this[_0x2eed7f(0x226)](_0x3080f2);}[_0x3a09b9(0x1fe)](_0x51497c,_0x3aca84){const _0x144142=_0x3a09b9;let _0x19a18d=_0x41cfd3(_0x51497c[_0x144142(0x181)],_0x51497c[_0x144142(0x25f)]),_0x2fcbaf=this['_registrations'][_0x144142(0x1bf)](_0x19a18d),_0x1511f8=this['_hostExternalReferenceModel']['getRevision'](_0x51497c[_0x144142(0x181)]);if(_0x2fcbaf&&_0x2fcbaf[_0x144142(0x147)][_0x144142(0x228)]===_0x3aca84[_0x144142(0x228)]&&_0x2fcbaf[_0x144142(0x237)]===_0x1511f8){_0x2fcbaf['config']=_0x3aca84;let _0x421a3d=_0x2fcbaf[_0x144142(0x23a)]?this[_0x144142(0x20b)][_0x144142(0x25b)](_0x2fcbaf[_0x144142(0x181)],_0x2fcbaf[_0x144142(0x181)],_0x2fcbaf['formulaId'])??void 0x0:void 0x0;_0x2fcbaf[_0x144142(0x229)]=_0x421a3d,this[_0x144142(0x24a)](_0x19a18d,_0x5917ab(_0x3aca84,_0x421a3d));return;}_0x2fcbaf!=null&&_0x2fcbaf[_0x144142(0x23a)]&&this[_0x144142(0x1aa)](_0x2fcbaf);let _0x4c8465={..._0x51497c,'config':_0x3aca84,'referenceRevision':_0x1511f8,'presentation':_0x5917ab(_0x3aca84,void 0x0)};if(this['_registrations'][_0x144142(0x162)](_0x19a18d,_0x4c8465),!_0x3aca84['formula'][_0x144142(0x1f9)]())return;let _0x4e4aac=this[_0x144142(0x20b)][_0x144142(0x196)](_0x51497c['unitId'],_0x51497c[_0x144142(0x181)],_0x3aca84['formula'],void 0x0,{'rangeId':_0x51497c[_0x144142(0x25f)]},_0x5d5308[_0x144142(0x1a6)][_0x144142(0x274)],_0x51497c['rangeId']);_0x4c8465[_0x144142(0x23a)]=_0x4e4aac,this['_formulaKeys'][_0x144142(0x162)](_0x4e4aac,_0x19a18d);}[_0x3a09b9(0x226)](_0x3d4503){const _0x4b1336=_0x3a09b9;let _0x21926e=_0x41cfd3(_0x3d4503[_0x4b1336(0x181)],_0x3d4503['rangeId']),_0x270603=this[_0x4b1336(0x255)][_0x4b1336(0x1bf)](_0x21926e);_0x270603&&(this['_deleteRegistration'](_0x270603),this['_registrations']['delete'](_0x21926e));}['unregisterUnit'](_0x4e46d6){const _0x578115=_0x3a09b9;for(let _0x3b7a89 of Array[_0x578115(0x21f)](this[_0x578115(0x255)]['values']()))_0x3b7a89[_0x578115(0x181)]===_0x4e46d6&&this[_0x578115(0x226)](_0x3b7a89);}[_0x3a09b9(0x283)](_0x4bd5e9){const _0x128263=_0x3a09b9;var _0x3a1189;return(_0x3a1189=this[_0x128263(0x255)][_0x128263(0x1bf)](_0x41cfd3(_0x4bd5e9['unitId'],_0x4bd5e9['rangeId'])))==null?void 0x0:_0x3a1189[_0x128263(0x24e)];}[_0x3a09b9(0x198)](_0x2e2103){const _0x393fa8=_0x3a09b9;let _0x3b57b3=this[_0x393fa8(0x255)][_0x393fa8(0x1bf)](_0x41cfd3(_0x2e2103[_0x393fa8(0x181)],_0x2e2103[_0x393fa8(0x25f)]));return _0x3b57b3?_0x24847a(_0x3b57b3):void 0x0;}['getRegisteredFormulas'](){const _0x493158=_0x3a09b9;return Array[_0x493158(0x21f)](this[_0x493158(0x255)][_0x493158(0x1ed)](),_0x2f9e25=>({'identity':{'unitId':_0x2f9e25['unitId'],'rangeId':_0x2f9e25[_0x493158(0x25f)]},'config':_0x2f9e25['config'],'referenceRevision':_0x2f9e25[_0x493158(0x237)],..._0x2f9e25[_0x493158(0x229)]?{'liveResult':_0x2f9e25[_0x493158(0x229)]}:null}));}[_0x3a09b9(0x1a0)](){const _0x26c7e3=_0x3a09b9;for(let _0x5c5da7 of this[_0x26c7e3(0x255)][_0x26c7e3(0x1ed)]())this[_0x26c7e3(0x1aa)](_0x5c5da7);this[_0x26c7e3(0x255)][_0x26c7e3(0x24d)](),this[_0x26c7e3(0x1e0)][_0x26c7e3(0x24d)](),this[_0x26c7e3(0x167)][_0x26c7e3(0x1f7)](),super[_0x26c7e3(0x1a0)]();}[_0x3a09b9(0x21e)](_0x581ce1){const _0x8abce1=_0x3a09b9;let _0x137e35=this['_formulaKeys'][_0x8abce1(0x1bf)](_0x581ce1[_0x8abce1(0x23a)]),_0x46379c=_0x137e35?this[_0x8abce1(0x255)]['get'](_0x137e35):void 0x0;_0x137e35&&_0x46379c&&(_0x46379c[_0x8abce1(0x229)]=_0x581ce1,this['_setPresentation'](_0x137e35,_0x5917ab(_0x46379c[_0x8abce1(0x147)],_0x581ce1)));}[_0x3a09b9(0x24a)](_0x722aca,_0xe42360){const _0x4e186e=_0x3a09b9;var _0x18550e,_0x45120f;let _0x59a6dd=this['_registrations'][_0x4e186e(0x1bf)](_0x722aca);if(!_0x59a6dd||_0x1ebbf4(_0x59a6dd['presentation'],_0xe42360))return;let _0x4b96ce=_0x59a6dd[_0x4e186e(0x24e)],_0x122a75=_0x24847a(_0x59a6dd);_0x59a6dd[_0x4e186e(0x24e)]=_0xe42360,this[_0x4e186e(0x167)][_0x4e186e(0x212)]({'unitId':_0x59a6dd[_0x4e186e(0x181)],'rangeId':_0x59a6dd[_0x4e186e(0x25f)],'presentation':_0xe42360,'previousPresentation':_0x4b96ce,'result':_0x24847a(_0x59a6dd),'previousResult':{..._0x122a75,..._0x4b96ce,'value':(_0x18550e=_0x4b96ce[_0x4e186e(0x174)])==null?void 0x0:_0x18550e['v'],'valueType':((_0x45120f=_0x4b96ce[_0x4e186e(0x174)])==null?void 0x0:_0x45120f['t'])??void 0x0}});}[_0x3a09b9(0x1aa)](_0x38d658){const _0x2c2448=_0x3a09b9;_0x38d658[_0x2c2448(0x23a)]&&(this[_0x2c2448(0x20b)][_0x2c2448(0x20d)](_0x38d658[_0x2c2448(0x181)],_0x38d658[_0x2c2448(0x181)],[_0x38d658[_0x2c2448(0x23a)]]),this[_0x2c2448(0x1e0)][_0x2c2448(0x23e)](_0x38d658['formulaId']));}};_0x1afbc3=_0x2cfc4a([_0x3773bf(0x0,(0x0,_0x589ba5[_0x3a09b9(0x1b2)])(_0x5334e8)),_0x3773bf(0x1,(0x0,_0x589ba5[_0x3a09b9(0x1b2)])(_0x5d5308[_0x3a09b9(0x26a)])),_0x3773bf(0x2,(0x0,_0x589ba5[_0x3a09b9(0x1b2)])(_0x4c3070[_0x3a09b9(0x22f)]))],_0x1afbc3);function _0x41cfd3(_0x573569,_0x42d38f){return _0x573569+'\x00'+_0x42d38f;}function _0x5917ab(_0x3f9b8f,_0x4ee2d9){const _0x1d5801=_0x3a09b9;return(0x0,_0x4c3070[_0x1d5801(0x1c8)])({'numberFormat':_0x3f9b8f[_0x1d5801(0x1a9)],'lastValue':_0x3f9b8f[_0x1d5801(0x1e3)],'result':_0x4ee2d9});}function _0x24847a(_0x590d5b){const _0x137fc1=_0x3a09b9;var _0x4b343b,_0x54f8f9,_0x346022;let _0x1938a0=_0x590d5b[_0x137fc1(0x24e)],_0x1b636e=_0x590d5b['config'][_0x137fc1(0x228)][_0x137fc1(0x1f9)]()?_0x1938a0[_0x137fc1(0x1d2)]||_0x1938a0[_0x137fc1(0x174)]==null?'pending':((_0x4b343b=_0x590d5b[_0x137fc1(0x229)])==null?void 0x0:_0x4b343b[_0x137fc1(0x1c9)])===_0x5d5308[_0x137fc1(0x25a)][_0x137fc1(0x16a)]?_0x137fc1(0x15a):_0x137fc1(0x1e7):_0x137fc1(0x20c);return{..._0x1938a0,'status':_0x1b636e,'value':(_0x54f8f9=_0x1938a0[_0x137fc1(0x174)])==null?void 0x0:_0x54f8f9['v'],'valueType':((_0x346022=_0x1938a0['cell'])==null?void 0x0:_0x346022['t'])??void 0x0};}function _0x1ebbf4(_0x216924,_0x23eee1){const _0x51bfe7=_0x3a09b9;var _0x5dea96,_0x3edd32,_0x197c04,_0x504597;return _0x216924[_0x51bfe7(0x1f0)]===_0x23eee1['text']&&_0x216924[_0x51bfe7(0x26f)]===_0x23eee1['color']&&_0x216924[_0x51bfe7(0x280)]===_0x23eee1[_0x51bfe7(0x280)]&&_0x216924[_0x51bfe7(0x1c3)]===_0x23eee1[_0x51bfe7(0x1c3)]&&_0x216924[_0x51bfe7(0x1d2)]===_0x23eee1[_0x51bfe7(0x1d2)]&&((_0x5dea96=_0x216924[_0x51bfe7(0x174)])==null?void 0x0:_0x5dea96['t'])===((_0x3edd32=_0x23eee1['cell'])==null?void 0x0:_0x3edd32['t'])&&Object['is']((_0x197c04=_0x216924[_0x51bfe7(0x174)])==null?void 0x0:_0x197c04['v'],(_0x504597=_0x23eee1[_0x51bfe7(0x174)])==null?void 0x0:_0x504597['v']);}let _0x5181a6={'id':'docs-formula.mutation.set-formula','type':_0x589ba5['CommandType'][_0x3a09b9(0x15f)],'handler':(_0x33966e,_0x5e045f)=>!(_0x5e045f!=null&&_0x5e045f[_0x3a09b9(0x181)])||!_0x5e045f['rangeId']||!_0x5e045f[_0x3a09b9(0x147)]?!0x1:_0x33966e['get'](_0x5334e8)[_0x3a09b9(0x24c)](_0x5e045f[_0x3a09b9(0x181)],_0x5e045f[_0x3a09b9(0x25f)],_0x5e045f[_0x3a09b9(0x147)])},_0x1a9e4c={'id':_0x3a09b9(0x1dc),'type':_0x589ba5['CommandType'][_0x3a09b9(0x15f)],'handler':(_0x59007a,_0x4a4393)=>!(_0x4a4393!=null&&_0x4a4393[_0x3a09b9(0x181)])||!_0x4a4393[_0x3a09b9(0x25f)]?!0x1:_0x59007a[_0x3a09b9(0x1bf)](_0x5334e8)[_0x3a09b9(0x225)](_0x4a4393[_0x3a09b9(0x181)],_0x4a4393['rangeId'])},_0x397705={'id':'docs-formula.mutation.set-resource','type':_0x589ba5[_0x3a09b9(0x18c)][_0x3a09b9(0x15f)],'handler':(_0x254622,_0x2ca995)=>!(_0x2ca995!=null&&_0x2ca995[_0x3a09b9(0x181)])||!_0x2ca995[_0x3a09b9(0x158)]?!0x1:_0x254622[_0x3a09b9(0x1bf)](_0x5334e8)[_0x3a09b9(0x16f)](_0x2ca995[_0x3a09b9(0x181)],_0x2ca995[_0x3a09b9(0x158)])},_0x62acd3={'id':_0x3a09b9(0x19a),'type':_0x589ba5[_0x3a09b9(0x18c)]['MUTATION'],'handler':(_0x85804e,_0x4b7f20)=>{const _0x4dae5c=_0x3a09b9;if(!(_0x4b7f20!=null&&_0x4b7f20[_0x4dae5c(0x181)])||!_0x4b7f20[_0x4dae5c(0x21b)][_0x4dae5c(0x239)])return!0x1;let _0x5b0347=_0x85804e[_0x4dae5c(0x1bf)](_0x5334e8),_0x333340=_0x85804e['get'](_0x4c3070['HostExternalReferenceModel']),_0x26e491=_0x5b0347['getResource'](_0x4b7f20['unitId']);if(!_0x26e491)return!0x1;let _0x13ae0c=_0x589ba5[_0x4dae5c(0x1ae)][_0x4dae5c(0x1df)](_0x26e491),_0xf9ae29=!0x1;for(let _0x1475dd of _0x4b7f20[_0x4dae5c(0x21b)]){var _0x441aa8,_0x2b4b8d,_0x31e622,_0x2fbac8;let _0x26d87f=_0x13ae0c[_0x4dae5c(0x1d3)][_0x1475dd[_0x4dae5c(0x25f)]];_0x26d87f&&_0x26d87f[_0x4dae5c(0x228)]===_0x1475dd[_0x4dae5c(0x141)]&&((_0x441aa8=_0x26d87f['numberFormat'])==null?void 0x0:_0x441aa8[_0x4dae5c(0x280)])===_0x1475dd[_0x4dae5c(0x169)]&&_0x333340[_0x4dae5c(0x268)](_0x4b7f20[_0x4dae5c(0x181)])===_0x1475dd[_0x4dae5c(0x240)]&&(((_0x2b4b8d=_0x26d87f['lastValue'])==null?void 0x0:_0x2b4b8d['v'])!==_0x1475dd[_0x4dae5c(0x1e3)]['v']||((_0x31e622=_0x26d87f[_0x4dae5c(0x1e3)])==null?void 0x0:_0x31e622['t'])!==_0x1475dd[_0x4dae5c(0x1e3)]['t']||((_0x2fbac8=_0x26d87f['lastValue'])==null?void 0x0:_0x2fbac8[_0x4dae5c(0x280)])!==_0x1475dd[_0x4dae5c(0x1e3)][_0x4dae5c(0x280)])&&(_0x26d87f[_0x4dae5c(0x1e3)]=_0x589ba5[_0x4dae5c(0x1ae)]['deepClone'](_0x1475dd[_0x4dae5c(0x1e3)]),_0xf9ae29=!0x0);}return!_0xf9ae29||_0x5b0347[_0x4dae5c(0x16f)](_0x4b7f20['unitId'],_0x13ae0c);}},_0x39716e={'id':_0x3a09b9(0x17b),'type':_0x589ba5['CommandType'][_0x3a09b9(0x24b)],'handler':(_0x698e64,_0x4f630f)=>{const _0x5b4427=_0x3a09b9;if(!(_0x4f630f!=null&&_0x4f630f[_0x5b4427(0x228)][_0x5b4427(0x1f9)]()))return!0x1;let _0x613221=_0x5c48c6(_0x698e64,_0x4f630f[_0x5b4427(0x181)],'');if(!_0x613221)return!0x1;let _0x5ac425=_0x46e792(_0x4f630f[_0x5b4427(0x1d4)],_0x613221[_0x5b4427(0x15b)],_0x14a296(_0x698e64,_0x613221[_0x5b4427(0x181)]));if(!_0x5ac425)return!0x1;let _0x20b11d=_0x3b95ad(_0x698e64,_0x613221[_0x5b4427(0x181)],_0x4f630f['formula'],_0x4f630f[_0x5b4427(0x1db)]??[]);if(!_0x20b11d)return!0x1;let _0x120dc3=_0x3d0383(_0x613221[_0x5b4427(0x15b)],_0x613221[_0x5b4427(0x23f)],_0x613221[_0x5b4427(0x181)]),_0x54626f=_0x3bdc74({'documentData':_0x613221[_0x5b4427(0x245)],'resource':_0x613221[_0x5b4427(0x158)],'rangeId':_0x120dc3,'config':{'formula':_0x4f630f[_0x5b4427(0x228)],..._0x4f630f[_0x5b4427(0x1a9)]?{'numberFormat':_0x4f630f[_0x5b4427(0x1a9)]}:null},'startOffset':_0x5ac425['startOffset'],'endOffset':_0x5ac425[_0x5b4427(0x213)]});if(!_0x54626f)return!0x1;let _0x4b7ffa=(0x0,_0x4c3070[_0x5b4427(0x1a5)])(_0x698e64,_0x613221[_0x5b4427(0x181)],_0x20b11d);return!_0x4b7ffa||!_0x2c2b75({'accessor':_0x698e64,'document':_0x613221[_0x5b4427(0x27e)],'unitId':_0x613221[_0x5b4427(0x181)],'trigger':_0x39716e['id'],'rangeId':_0x120dc3,'previousResource':_0x613221[_0x5b4427(0x158)],'nextResource':_0x54626f[_0x5b4427(0x18f)],'previousDocumentData':_0x613221[_0x5b4427(0x245)],'nextDocumentData':_0x54626f[_0x5b4427(0x23d)],'cursorOffset':_0x54626f['cursorOffset'],'externalMutations':_0x4b7ffa})?!0x1:{'rangeId':_0x120dc3,'startOffset':_0x54626f[_0x5b4427(0x1c1)]-0x1,'endOffset':_0x54626f[_0x5b4427(0x1c1)]};}},_0x5bb815={'id':_0x3a09b9(0x1d8),'type':_0x589ba5[_0x3a09b9(0x18c)][_0x3a09b9(0x24b)],'handler':(_0x487a08,_0x353957)=>{const _0x1fe311=_0x3a09b9;if(!(_0x353957!=null&&_0x353957['rangeId'])||!_0x353957['formula'][_0x1fe311(0x1f9)]())return!0x1;let _0x486c9e=_0x5c48c6(_0x487a08,_0x353957[_0x1fe311(0x181)],''),_0x229606=_0x486c9e==null?void 0x0:_0x486c9e['model']['getFormula'](_0x486c9e[_0x1fe311(0x181)],_0x353957['rangeId']),_0x3c1836=_0x486c9e?_0x432e46(_0x486c9e['documentData']['body'],_0x353957[_0x1fe311(0x25f)]):void 0x0;if(!_0x486c9e||!_0x229606||!_0x3c1836)return!0x1;let _0x3b9172=_0x3b95ad(_0x487a08,_0x486c9e[_0x1fe311(0x181)],_0x353957[_0x1fe311(0x228)],_0x353957['externalReferences']??[]);if(!_0x3b9172)return!0x1;let _0x10aad7=(0x0,_0x4c3070[_0x1fe311(0x1a5)])(_0x487a08,_0x486c9e[_0x1fe311(0x181)],_0x3b9172);if(!_0x10aad7)return!0x1;let _0x597927=_0x57c0d2(_0x486c9e[_0x1fe311(0x158)]);return _0x597927[_0x1fe311(0x1d3)][_0x353957['rangeId']]={'formula':_0x353957[_0x1fe311(0x228)],..._0x353957[_0x1fe311(0x1a9)]?{'numberFormat':_0x353957['numberFormat']}:_0x229606[_0x1fe311(0x1a9)]?{'numberFormat':_0x229606[_0x1fe311(0x1a9)]}:null},_0x2c2b75({'accessor':_0x487a08,'document':_0x486c9e['document'],'unitId':_0x486c9e['unitId'],'trigger':_0x5bb815['id'],'rangeId':_0x353957[_0x1fe311(0x25f)],'previousResource':_0x486c9e[_0x1fe311(0x158)],'nextResource':_0x597927,'cursorOffset':_0x3c1836[_0x1fe311(0x1ec)]+0x1,'externalMutations':_0x10aad7});}},_0x1dfbc7={'id':_0x3a09b9(0x26d),'type':_0x589ba5['CommandType'][_0x3a09b9(0x24b)],'handler':(_0x5a66fa,_0x546fd6)=>{const _0x23364d=_0x3a09b9;if(!(_0x546fd6!=null&&_0x546fd6[_0x23364d(0x25f)]))return!0x1;let _0x1645dd=_0x5c48c6(_0x5a66fa,_0x546fd6[_0x23364d(0x181)],''),_0x4372c4=_0x1645dd==null?void 0x0:_0x1645dd['model']['getFormula'](_0x1645dd[_0x23364d(0x181)],_0x546fd6['rangeId']),_0xa4209a=_0x1645dd?_0x432e46(_0x1645dd[_0x23364d(0x245)]['body'],_0x546fd6[_0x23364d(0x25f)]):void 0x0;if(!_0x1645dd||!_0x4372c4||!_0xa4209a)return!0x1;let _0x31fbda=_0x57c0d2(_0x1645dd[_0x23364d(0x158)]);return _0x31fbda['formulas'][_0x546fd6[_0x23364d(0x25f)]]={..._0x4372c4,..._0x546fd6[_0x23364d(0x1a9)]?{'numberFormat':_0x546fd6[_0x23364d(0x1a9)]}:null},_0x546fd6['numberFormat']||delete _0x31fbda['formulas'][_0x546fd6[_0x23364d(0x25f)]][_0x23364d(0x1a9)],_0x2c2b75({'accessor':_0x5a66fa,'document':_0x1645dd[_0x23364d(0x27e)],'unitId':_0x1645dd[_0x23364d(0x181)],'trigger':_0x1dfbc7['id'],'rangeId':_0x546fd6['rangeId'],'previousResource':_0x1645dd[_0x23364d(0x158)],'nextResource':_0x31fbda,'cursorOffset':_0xa4209a[_0x23364d(0x1ec)]+0x1,'externalMutations':{}});}},_0x30135d={'id':_0x3a09b9(0x151),'type':_0x589ba5[_0x3a09b9(0x18c)]['COMMAND'],'handler':(_0xa0f4c4,_0x512e52)=>_0x2d3d22(_0xa0f4c4,_0x512e52,'',_0x30135d['id'])},_0xa71694={'id':'docs-formula.command.replace-with-text','type':_0x589ba5[_0x3a09b9(0x18c)][_0x3a09b9(0x24b)],'handler':(_0x15a703,_0xf4b359)=>_0x2d3d22(_0x15a703,_0xf4b359,(_0xf4b359==null?void 0x0:_0xf4b359[_0x3a09b9(0x1f0)])??'',_0xa71694['id'])},_0x4b7e47={'id':_0x3a09b9(0x16c),'type':_0x589ba5['CommandType'][_0x3a09b9(0x24b)],'handler':(_0x23c3e2,_0x24fb58)=>{const _0x40fa46=_0x3a09b9;if(!(_0x24fb58!=null&&_0x24fb58[_0x40fa46(0x25f)]))return!0x1;let _0xd6b9f2=_0x5c48c6(_0x23c3e2,_0x24fb58[_0x40fa46(0x181)],'');if(!_0xd6b9f2)return!0x1;let _0x4c9d16=_0x23c3e2[_0x40fa46(0x1bf)](_0x1afbc3)[_0x40fa46(0x198)]({'unitId':_0xd6b9f2[_0x40fa46(0x181)],'rangeId':_0x24fb58[_0x40fa46(0x25f)]});return _0x4c9d16?_0x2d3d22(_0x23c3e2,_0x24fb58,_0x4c9d16[_0x40fa46(0x1f0)],_0x4b7e47['id']):!0x1;}};function _0x2d3d22(_0x2068b8,_0x1c4557,_0x2ef173,_0x194c85){const _0x5e32c9=_0x3a09b9;if(!(_0x1c4557!=null&&_0x1c4557[_0x5e32c9(0x25f)]))return!0x1;let _0x4e1867=_0x5c48c6(_0x2068b8,_0x1c4557[_0x5e32c9(0x181)],'');if(!_0x4e1867)return!0x1;let _0x411d54=_0x273d39({'documentData':_0x4e1867[_0x5e32c9(0x245)],'resource':_0x4e1867[_0x5e32c9(0x158)],'rangeId':_0x1c4557[_0x5e32c9(0x25f)],'text':_0x2ef173});return _0x411d54?_0x2c2b75({'accessor':_0x2068b8,'document':_0x4e1867[_0x5e32c9(0x27e)],'unitId':_0x4e1867[_0x5e32c9(0x181)],'trigger':_0x194c85,'rangeId':_0x1c4557[_0x5e32c9(0x25f)],'previousResource':_0x4e1867['resource'],'nextResource':_0x411d54[_0x5e32c9(0x18f)],'previousDocumentData':_0x4e1867['documentData'],'nextDocumentData':_0x411d54[_0x5e32c9(0x23d)],'cursorOffset':_0x411d54['cursorOffset'],'externalMutations':{}}):!0x1;}function _0x5c48c6(_0x116350,_0x459fad,_0x4af357){const _0x54d5d9=_0x3a09b9;if(_0x4af357)return null;let _0x402843=_0x116350[_0x54d5d9(0x1bf)](_0x589ba5[_0x54d5d9(0x244)]),_0x1fbf8d=(_0x459fad?_0x402843[_0x54d5d9(0x270)](_0x459fad,_0x589ba5[_0x54d5d9(0x227)][_0x54d5d9(0x256)]):_0x402843['getCurrentUnitOfType'](_0x589ba5[_0x54d5d9(0x227)][_0x54d5d9(0x256)]))??null;if(!_0x1fbf8d)return null;let _0x3302fe=_0x1fbf8d[_0x54d5d9(0x201)](),_0x31d962=_0x3302fe[_0x54d5d9(0x15b)];if(_0x3302fe[_0x54d5d9(0x235)]||!_0x31d962)return null;let _0x21644f=_0x116350[_0x54d5d9(0x1bf)](_0x5334e8);return _0x21644f[_0x54d5d9(0x1a8)](_0x1fbf8d['getUnitId']())?null:{'document':_0x1fbf8d,'body':_0x31d962,'documentData':_0x3302fe,'model':_0x21644f,'resource':_0x21644f[_0x54d5d9(0x211)](_0x1fbf8d[_0x54d5d9(0x261)]())??_0x4e6d45(),'unitId':_0x1fbf8d[_0x54d5d9(0x261)]()};}function _0x14a296(_0x2dda03,_0x4e76f8){const _0x5d66da=_0x3a09b9;var _0xf4d2e3;return(_0xf4d2e3=_0x2dda03[_0x5d66da(0x1bf)](_0x3f1694[_0x5d66da(0x152)])['getTextRanges']({'subUnitId':_0x4e76f8,'unitId':_0x4e76f8}))==null?void 0x0:_0xf4d2e3[0x0];}function _0x46e792(_0x158b43,_0x377563,_0x3f570e){const _0x265922=_0x3a09b9;if((_0x158b43==null?void 0x0:_0x158b43[_0x265922(0x170)])===_0x265922(0x153)){var _0x4a8f2d;let _0x7986af=((_0x4a8f2d=_0x377563['paragraphs'])==null?void 0x0:_0x4a8f2d[_0x265922(0x1d5)](_0x1951d8=>_0x1951d8[_0x265922(0x25c)]===_0x158b43[_0x265922(0x25c)]))??[];if(_0x7986af['length']!==0x1)return null;let _0x2520cf=_0x7986af[0x0],_0x330f24=(0x0,_0x589ba5['getParagraphContentStartOffset'])(_0x377563,_0x2520cf),_0x341cf8=_0x2520cf[_0x265922(0x17f)]-_0x330f24,_0x173b3d=_0x158b43[_0x265922(0x1b1)]===_0x265922(0x184)?_0x341cf8:_0x158b43[_0x265922(0x1b1)];if(!Number['isInteger'](_0x173b3d)||_0x173b3d<0x0||_0x173b3d>_0x341cf8)return null;let _0xe15a06=_0x330f24+_0x173b3d;return{'startOffset':_0xe15a06,'endOffset':_0xe15a06};}if((_0x158b43==null?void 0x0:_0x158b43['type'])===_0x265922(0x251))return!Number[_0x265922(0x1e6)](_0x158b43['startOffset'])||!Number[_0x265922(0x1e6)](_0x158b43[_0x265922(0x213)])?null:{'startOffset':Math[_0x265922(0x17c)](_0x158b43[_0x265922(0x1ad)],_0x158b43[_0x265922(0x213)]),'endOffset':Math['max'](_0x158b43['startOffset'],_0x158b43['endOffset'])};let _0x38b4e8=(_0x158b43==null?void 0x0:_0x158b43[_0x265922(0x170)])===_0x265922(0x272)?_0x158b43[_0x265922(0x272)]:_0x3f570e;return!_0x38b4e8||_0x38b4e8[_0x265922(0x20a)]?null:{'startOffset':Math[_0x265922(0x17c)](_0x38b4e8['startOffset'],_0x38b4e8[_0x265922(0x213)]),'endOffset':Math[_0x265922(0x172)](_0x38b4e8[_0x265922(0x1ad)],_0x38b4e8[_0x265922(0x213)])};}function _0x3b95ad(_0x1ae34a,_0x19b621,_0x18624b,_0x57c6de){const _0x269981=_0x3a09b9;let _0x1e31dd=_0x1ae34a['get'](_0x5d5308[_0x269981(0x193)]),_0x9d05f0=_0x18624b[_0x269981(0x179)]('=')?_0x18624b['slice'](0x1):_0x18624b,_0x5b4f11=_0x1e31dd['sequenceNodesBuilder'](_0x9d05f0);if(!_0x5b4f11)return null;let _0x5d0ff5=_0x1ae34a['get'](_0x4c3070[_0x269981(0x22f)]),_0x286f1a=(0x0,_0x4c3070[_0x269981(0x195)])({'qualifiers':(0x0,_0x4c3070['collectFormulaExternalReferenceQualifiers'])(_0x5b4f11),'explicitReferences':_0x57c6de??[],'resolveBinding':_0x49dc5e=>_0x5d0ff5[_0x269981(0x1a1)](_0x19b621,_0x49dc5e)});return _0x286f1a[_0x269981(0x1c9)]===_0x269981(0x15c)?_0x286f1a[_0x269981(0x27f)]:null;}function _0x3d0383(_0xd55b3,_0x27c0df,_0x5bbee7){const _0x335a66=_0x3a09b9;var _0x2a21e8;let _0x3f6b2c=(0x0,_0x589ba5[_0x335a66(0x202)])(0x6);for(;_0xd55b3!=null&&(_0x2a21e8=_0xd55b3['customRanges'])!=null&&_0x2a21e8[_0x335a66(0x1de)](_0xefdce6=>_0xefdce6['rangeId']===_0x3f6b2c)||_0x27c0df[_0x335a66(0x175)](_0x5bbee7,_0x3f6b2c);)_0x3f6b2c=(0x0,_0x589ba5[_0x335a66(0x202)])(0x6);return _0x3f6b2c;}function _0x3bdc74(_0x1ee735){try{return _0x38fc78(_0x1ee735);}catch(_0x522690){if(_0x522690 instanceof _0x1c3d3b)return null;throw _0x522690;}}function _0x534e35(_0x57d4a4){const _0x503302=_0x3a09b9;let _0x46d9d1=_0x57d4a4[_0x503302(0x145)]&&_0x57d4a4[_0x503302(0x23d)]?_0x25a84f(_0x57d4a4[_0x503302(0x27e)],_0x57d4a4[_0x503302(0x181)],_0x57d4a4[_0x503302(0x145)],_0x57d4a4['nextDocumentData'],_0x57d4a4['cursorOffset'],_0x57d4a4[_0x503302(0x1f2)]):null;return _0x57d4a4[_0x503302(0x145)]&&_0x57d4a4[_0x503302(0x23d)]&&!_0x46d9d1?null:{'documentRedo':_0x46d9d1,'resourceRedo':{'id':_0x397705['id'],'params':{'unitId':_0x57d4a4[_0x503302(0x181)],'resource':_0x57d4a4[_0x503302(0x18f)]}},'resourceUndo':{'id':_0x397705['id'],'params':{'unitId':_0x57d4a4[_0x503302(0x181)],'resource':_0x57d4a4[_0x503302(0x216)]}}};}function _0x4787ac(_0x20eea4,_0x3f54d3,_0x547a0e,_0x15608c){const _0x1473c1=_0x3a09b9;_0x15608c[_0x1473c1(0x1af)]({'id':_0x20eea4[_0x1473c1(0x1f2)]+':'+_0x20eea4['rangeId'],'unitID':_0x20eea4[_0x1473c1(0x181)],'redoMutations':[..._0x20eea4[_0x1473c1(0x236)][_0x1473c1(0x197)]?[_0x20eea4[_0x1473c1(0x236)][_0x1473c1(0x197)]]:[],..._0x3f54d3[_0x1473c1(0x276)]?[_0x3f54d3[_0x1473c1(0x276)]]:[],_0x3f54d3[_0x1473c1(0x284)]],'undoMutations':[_0x3f54d3[_0x1473c1(0x199)],..._0x547a0e?[_0x547a0e]:[],..._0x20eea4['externalMutations'][_0x1473c1(0x15d)]?[_0x20eea4[_0x1473c1(0x236)][_0x1473c1(0x15d)]]:[]]});}function _0x2c2b75(_0x4ca740){const _0x369c54=_0x3a09b9;let _0xdb0574=_0x4ca740[_0x369c54(0x219)][_0x369c54(0x1bf)](_0x589ba5[_0x369c54(0x14c)]),_0xe5e25a=_0x4ca740[_0x369c54(0x219)]['get'](_0x589ba5[_0x369c54(0x156)]),_0x50851e=_0x4ca740['accessor'][_0x369c54(0x1bf)](_0x3f1694['DocSelectionManagerService']),_0x391f02=_0x534e35(_0x4ca740);if(!_0x391f02)return!0x1;let _0x247e94=!0x1,_0xcf2c1b=null,_0x2e3af6=!0x1;try{if(_0x4ca740[_0x369c54(0x236)][_0x369c54(0x197)]){if(!_0xdb0574['syncExecuteCommand'](_0x4ca740[_0x369c54(0x236)][_0x369c54(0x197)]['id'],_0x4ca740[_0x369c54(0x236)][_0x369c54(0x197)][_0x369c54(0x1cd)]))return!0x1;_0x247e94=!0x0;}if(_0x391f02[_0x369c54(0x276)]){let _0x5bd6ab=_0xdb0574['syncExecuteCommand'](_0x391f02[_0x369c54(0x276)]['id'],_0x391f02[_0x369c54(0x276)][_0x369c54(0x1cd)]);if(!_0x5bd6ab)return _0x4e1050(_0xdb0574,_0x4ca740[_0x369c54(0x236)],_0x247e94),!0x1;_0xcf2c1b={'id':_0x3f1694['RichTextEditingMutation']['id'],'params':{..._0x5bd6ab,'noHistory':!0x0,'noNeedSetTextRange':!0x0,'segmentId':''}};}if(!_0xdb0574[_0x369c54(0x273)](_0x391f02[_0x369c54(0x284)]['id'],_0x391f02[_0x369c54(0x284)][_0x369c54(0x1cd)]))return _0x425013(_0xdb0574,_0xcf2c1b),_0x4e1050(_0xdb0574,_0x4ca740[_0x369c54(0x236)],_0x247e94),!0x1;_0x2e3af6=!0x0,_0x4787ac(_0x4ca740,_0x391f02,_0xcf2c1b,_0xe5e25a);}catch(_0x2f9f1d){throw _0x2e3af6&&_0xdb0574[_0x369c54(0x273)](_0x391f02[_0x369c54(0x199)]['id'],_0x391f02[_0x369c54(0x199)]['params']),_0x425013(_0xdb0574,_0xcf2c1b),_0x4e1050(_0xdb0574,_0x4ca740['externalMutations'],_0x247e94),_0x2f9f1d;}return _0x50851e[_0x369c54(0x265)]([{'startOffset':_0x4ca740['cursorOffset'],'endOffset':_0x4ca740['cursorOffset'],'segmentId':''}],{'unitId':_0x4ca740['unitId'],'subUnitId':_0x4ca740[_0x369c54(0x181)]},!0x1,{[_0x3f1694['DOC_SELECTION_OPTION_PRESERVE_CARET']]:!0x0}),!0x0;}function _0x25a84f(_0x21882f,_0x587287,_0xa73beb,_0x29c472,_0xf0422,_0x4ebba4){const _0x3938cb=_0x3a09b9;let _0x2e0e00=_0x3d1943(_0xa73beb,_0x29c472,(0x0,_0x589ba5[_0x3938cb(0x1fa)])(_0x21882f,''));return _0x2e0e00?{'id':_0x3f1694['RichTextEditingMutation']['id'],'params':{'unitId':_0x587287,'actions':_0x2e0e00,'segmentId':'','textRanges':[{'startOffset':_0xf0422,'endOffset':_0xf0422,'collapsed':!0x0,'segmentId':''}],'isEditing':!0x1,'noHistory':!0x0,'noNeedSetTextRange':!0x0,'trigger':_0x4ebba4}}:null;}function _0x425013(_0xf9c897,_0x1cca83){const _0x5d7f0d=_0x3a09b9;_0x1cca83&&_0xf9c897[_0x5d7f0d(0x273)](_0x1cca83['id'],_0x1cca83[_0x5d7f0d(0x1cd)]);}function _0x4e1050(_0x1b1e77,_0xe33962,_0x50dbf7){const _0xbed5db=_0x3a09b9;_0x50dbf7&&_0xe33962[_0xbed5db(0x15d)]&&_0x1b1e77[_0xbed5db(0x273)](_0xe33962[_0xbed5db(0x15d)]['id'],_0xe33962[_0xbed5db(0x15d)][_0xbed5db(0x1cd)]);}function _0x3d1943(_0x595b21,_0xdecdac,_0x41ea82){const _0x130372=_0x3a09b9;let _0x28351d=_0x595b21[_0x130372(0x15b)],_0x58b5bd=_0xdecdac['body'],_0x3d6cc3=_0x4eb72c(_0x28351d==null?void 0x0:_0x28351d[_0x130372(0x222)],_0x58b5bd==null?void 0x0:_0x58b5bd[_0x130372(0x222)]);if(!_0x3d6cc3||!_0x58b5bd)return null;let _0x1f7a30=new _0x589ba5[(_0x130372(0x1ef))]();return _0x1f7a30[_0x130372(0x186)](_0x3d6cc3['start']),_0x3d6cc3['insertLength']>0x0&&_0x1f7a30['insert'](_0x3d6cc3[_0x130372(0x217)],(0x0,_0x589ba5[_0x130372(0x203)])(_0x58b5bd,_0x3d6cc3[_0x130372(0x218)],_0x3d6cc3[_0x130372(0x218)]+_0x3d6cc3[_0x130372(0x217)],!0x1)),_0x3d6cc3['deleteLength']>0x0&&_0x1f7a30['delete'](_0x3d6cc3[_0x130372(0x275)]),_0x589ba5['JSONX']['getInstance']()['editOp'](_0x1f7a30[_0x130372(0x264)](),_0x41ea82);}function _0x4eb72c(_0x16fd77,_0x3d196c){const _0x30107a=_0x3a09b9;if(_0x16fd77==null||_0x3d196c==null||_0x16fd77===_0x3d196c)return null;let _0x2e1722=0x0;for(;_0x2e1722<_0x16fd77[_0x30107a(0x239)]&&_0x2e1722<_0x3d196c['length']&&_0x16fd77[_0x2e1722]===_0x3d196c[_0x2e1722];)_0x2e1722+=0x1;let _0x246205=_0x16fd77['length'],_0x7ba31d=_0x3d196c[_0x30107a(0x239)];for(;_0x246205>_0x2e1722&&_0x7ba31d>_0x2e1722&&_0x16fd77[_0x246205-0x1]===_0x3d196c[_0x7ba31d-0x1];)--_0x246205,--_0x7ba31d;return{'start':_0x2e1722,'deleteLength':_0x246205-_0x2e1722,'insertLength':_0x7ba31d-_0x2e1722};}function _0x57c0d2(_0x5b9e15){const _0x79a825=_0x3a09b9;return{'schemaVersion':0x1,'formulas':Object[_0x79a825(0x279)](Object[_0x79a825(0x1e8)](_0x5b9e15[_0x79a825(0x1d3)])[_0x79a825(0x223)](([_0x2e5862,_0x3b18ac])=>[_0x2e5862,{..._0x3b18ac,..._0x3b18ac['numberFormat']?{'numberFormat':{..._0x3b18ac['numberFormat']}}:null,..._0x3b18ac[_0x79a825(0x1e3)]?{'lastValue':{..._0x3b18ac['lastValue']}}:null}]))};}let _0x584854=class extends _0x589ba5['Disposable']{constructor(_0x408ab0,_0x23cbd3,_0x5a11bb,_0x2e7497){const _0x2ab6dc=_0x3a09b9;super(),this[_0x2ab6dc(0x19e)]=_0x408ab0,this[_0x2ab6dc(0x1e9)]=_0x23cbd3,this['_model']=_0x5a11bb,this[_0x2ab6dc(0x233)]=_0x2e7497,_0x3433aa(this,_0x2ab6dc(0x1cc),new Set()),_0x3433aa(this,_0x2ab6dc(0x1ea),!0x1),_0x3433aa(this,_0x2ab6dc(0x188),!0x1),this['_instanceService'][_0x2ab6dc(0x15e)](_0x589ba5['UniverInstanceType'][_0x2ab6dc(0x256)])[_0x2ab6dc(0x208)](_0x4168af=>this[_0x2ab6dc(0x233)][_0x2ab6dc(0x1ca)](_0x4168af)),this[_0x2ab6dc(0x1cf)](this[_0x2ab6dc(0x205)][_0x2ab6dc(0x1e2)][_0x2ab6dc(0x154)](({unitId:_0x233ad8})=>this[_0x2ab6dc(0x249)](_0x233ad8))),this['disposeWithMe'](this['_instanceService'][_0x2ab6dc(0x178)][_0x2ab6dc(0x154)](({unit:_0xdcb026})=>{const _0x3881f0=_0x2ab6dc;_0xdcb026['type']===_0x589ba5[_0x3881f0(0x227)][_0x3881f0(0x256)]&&this[_0x3881f0(0x269)](_0xdcb026[_0x3881f0(0x261)]());})),this[_0x2ab6dc(0x1cf)](this[_0x2ab6dc(0x19e)]['unitDisposed$'][_0x2ab6dc(0x154)](_0x14be84=>{const _0x145c26=_0x2ab6dc;this[_0x145c26(0x233)][_0x145c26(0x190)](_0x14be84['getUnitId']());})),this[_0x2ab6dc(0x1cf)](this[_0x2ab6dc(0x1e9)][_0x2ab6dc(0x1fb)](_0x34046b=>{const _0x5ea4ed=_0x2ab6dc;if(_0x34046b['id']===_0x3f1694[_0x5ea4ed(0x168)]['id']&&_0x4d19ad(_0x34046b[_0x5ea4ed(0x1cd)])){let _0x5a72b9=_0x34046b['params'];_0x5a72b9[_0x5ea4ed(0x20a)]||this[_0x5ea4ed(0x249)](_0x5a72b9[_0x5ea4ed(0x181)]);}}));}[_0x3a09b9(0x1a0)](){const _0x276725=_0x3a09b9;this['_isDisposed']=!0x0,super[_0x276725(0x1a0)]();}[_0x3a09b9(0x269)](_0x379ed7){const _0x347c77=_0x3a09b9;this['_pendingUnitIds'][_0x347c77(0x252)](_0x379ed7),!this[_0x347c77(0x1ea)]&&(this[_0x347c77(0x1ea)]=!0x0,queueMicrotask(()=>{const _0x51f549=_0x347c77;if(this[_0x51f549(0x1ea)]=!0x1,this[_0x51f549(0x188)])return;let _0x14dcee=Array[_0x51f549(0x21f)](this[_0x51f549(0x1cc)]);this['_pendingUnitIds'][_0x51f549(0x24d)](),_0x14dcee['forEach'](_0x56a694=>this['_syncUnit'](_0x56a694));}));}[_0x3a09b9(0x249)](_0x34846a){const _0x1dc160=_0x3a09b9;let _0xdc4c6a=this[_0x1dc160(0x19e)]['getUnit'](_0x34846a,_0x589ba5[_0x1dc160(0x227)]['UNIVER_DOC']);_0xdc4c6a&&this[_0x1dc160(0x233)][_0x1dc160(0x1ca)](_0xdc4c6a);}};_0x584854=_0x2cfc4a([_0x3773bf(0x0,_0x589ba5[_0x3a09b9(0x244)]),_0x3773bf(0x1,_0x589ba5[_0x3a09b9(0x14c)]),_0x3773bf(0x2,(0x0,_0x589ba5[_0x3a09b9(0x1b2)])(_0x5334e8)),_0x3773bf(0x3,(0x0,_0x589ba5[_0x3a09b9(0x1b2)])(_0x1afbc3))],_0x584854);function _0x4d19ad(_0x2bf73c){const _0x5066d9=_0x3a09b9;return typeof _0x2bf73c==_0x5066d9(0x18d)&&!!_0x2bf73c&&_0x5066d9(0x181)in _0x2bf73c&&typeof _0x2bf73c['unitId']==_0x5066d9(0x200)&&(!(_0x5066d9(0x20a)in _0x2bf73c)||_0x2bf73c[_0x5066d9(0x20a)]===void 0x0||typeof _0x2bf73c[_0x5066d9(0x20a)]=='string');}let _0x8887c7=class extends _0x589ba5[_0x3a09b9(0x238)]{constructor(_0x2d6fc0,_0x587a5c){const _0x5f1abe=_0x3a09b9;super(),this['_resourceManagerService']=_0x2d6fc0,this['_docFormulaModel']=_0x587a5c,this[_0x5f1abe(0x1cf)](this[_0x5f1abe(0x1eb)][_0x5f1abe(0x207)]({'pluginName':_0x33fb70,'businesses':[_0x589ba5[_0x5f1abe(0x227)][_0x5f1abe(0x256)]],'toJson':_0x3a6518=>JSON[_0x5f1abe(0x149)](this[_0x5f1abe(0x1dd)]['serialize'](_0x3a6518)),'parseJson':_0x3ff4e3=>JSON[_0x5f1abe(0x1e1)](_0x3ff4e3),'onLoad':(_0x488658,_0x2b7744)=>{const _0x5d03c1=_0x5f1abe;this[_0x5d03c1(0x1dd)][_0x5d03c1(0x234)](_0x488658,_0x2b7744);},'onUnLoad':_0x27c3c1=>this['_docFormulaModel'][_0x5f1abe(0x1b0)](_0x27c3c1)}));}};_0x8887c7=_0x2cfc4a([_0x3773bf(0x0,_0x589ba5[_0x3a09b9(0x143)]),_0x3773bf(0x1,(0x0,_0x589ba5[_0x3a09b9(0x1b2)])(_0x5334e8))],_0x8887c7);var _0x365b2c=_0x3a09b9(0x157),_0x576b40=_0x3a09b9(0x1fd);let _0x2a2f6b={},_0x53bb4e=class extends _0x589ba5[_0x3a09b9(0x238)]{constructor(_0x5e74b6,_0x32fa49,_0x17cdb6){const _0x592a50=_0x3a09b9;super(),this[_0x592a50(0x166)]=_0x5e74b6,this[_0x592a50(0x21c)]=_0x32fa49,this['disposeWithMe'](_0x17cdb6[_0x592a50(0x1fe)]({'resolve':(_0x469290,_0x22be32)=>{const _0x6103b8=_0x592a50;var _0x1aba35;return((_0x1aba35=_0x22be32[_0x6103b8(0x144)])==null?void 0x0:_0x1aba35[_0x6103b8(0x1d5)](_0x4e62d2)[_0x6103b8(0x223)](_0x1b5f9c=>({'startOffset':_0x1b5f9c['startIndex'],'endOffset':_0x1b5f9c['endIndex']+0x1,'text':this['resolveFormula'](_0x469290,_0x1b5f9c[_0x6103b8(0x25f)])})))??[];}})),this[_0x592a50(0x1cf)](this[_0x592a50(0x21c)][_0x592a50(0x180)]['subscribe'](({unitId:_0x56b2cf})=>{const _0x4fb30c=_0x592a50;_0x17cdb6[_0x4fb30c(0x163)](_0x56b2cf);}));}[_0x3a09b9(0x1f8)](_0x19bbdf,_0x1e1697){const _0x1f975b=_0x3a09b9;var _0x2e8cf7;return((_0x2e8cf7=this[_0x1f975b(0x21c)]['getResult']({'unitId':_0x19bbdf,'rangeId':_0x1e1697}))==null?void 0x0:_0x2e8cf7[_0x1f975b(0x1f0)])??'';}[_0x3a09b9(0x1b9)](_0x408471,_0x514e7c,_0x4bf606){const _0x2b4415=_0x3a09b9;var _0x446ccf;let _0x42e0d5=this['_univerInstanceService']['getUnit'](_0x408471,_0x589ba5[_0x2b4415(0x227)][_0x2b4415(0x256)]),_0x366bc0=_0x42e0d5==null?void 0x0:_0x42e0d5['getBody']();if(!_0x366bc0)return'';let _0x1314fc=_0x366bc0[_0x2b4415(0x222)][_0x2b4415(0x26e)](_0x514e7c,_0x4bf606),_0x21725f=((_0x446ccf=_0x366bc0[_0x2b4415(0x144)])==null?void 0x0:_0x446ccf[_0x2b4415(0x1d5)](_0x241702=>_0x4e62d2(_0x241702)&&_0x241702[_0x2b4415(0x17f)]>=_0x514e7c&&_0x241702[_0x2b4415(0x1ec)]<_0x4bf606)[_0x2b4415(0x220)]((_0x2565ef,_0x58abbd)=>_0x58abbd[_0x2b4415(0x17f)]-_0x2565ef['startIndex']))??[];for(let _0x517e88 of _0x21725f){let _0x2f7d28=_0x517e88[_0x2b4415(0x17f)]-_0x514e7c,_0x28cc0a=_0x517e88[_0x2b4415(0x1ec)]-_0x514e7c+0x1;_0x1314fc=''+_0x1314fc[_0x2b4415(0x26e)](0x0,_0x2f7d28)+this[_0x2b4415(0x1f8)](_0x408471,_0x517e88[_0x2b4415(0x25f)])+_0x1314fc[_0x2b4415(0x26e)](_0x28cc0a);}return _0x1314fc;}[_0x3a09b9(0x16b)](_0x4a5554){return _0x4a0960(_0x4a5554);}[_0x3a09b9(0x247)](_0x5186ed,_0x2db02c,_0x2a4d1a={}){const _0x1e500a=_0x3a09b9;var _0x4bf3bd;return _0x3a2210({'id':_0x5186ed,'body':_0x2db02c,'documentStyle':{}},(((_0x4bf3bd=_0x2db02c[_0x1e500a(0x144)])==null?void 0x0:_0x4bf3bd[_0x1e500a(0x1d5)](_0x4e62d2))??[])[_0x1e500a(0x223)](_0x485f6e=>({'rangeId':_0x485f6e[_0x1e500a(0x25f)],'text':_0x2a4d1a[_0x485f6e[_0x1e500a(0x25f)]]??this['resolveFormula'](_0x5186ed,_0x485f6e[_0x1e500a(0x25f)])})))[_0x1e500a(0x15b)]??{'dataStream':''};}};_0x53bb4e=_0x2cfc4a([_0x3773bf(0x0,_0x589ba5[_0x3a09b9(0x244)]),_0x3773bf(0x1,(0x0,_0x589ba5[_0x3a09b9(0x1b2)])(_0x1afbc3)),_0x3773bf(0x2,(0x0,_0x589ba5[_0x3a09b9(0x1b2)])(_0x3f1694['DocTextResolverService']))],_0x53bb4e);function _0x4a0960(_0x39b388){const _0x21c6cd=_0x3a09b9;var _0x52879b,_0x1320c0;let _0x599471=_0x51eed9(_0x39b388),_0x595d0a=_0x3a2210(_0x39b388,(((_0x52879b=_0x39b388[_0x21c6cd(0x15b)])==null||(_0x52879b=_0x52879b[_0x21c6cd(0x144)])==null?void 0x0:_0x52879b[_0x21c6cd(0x1d5)](_0x4e62d2))??[])['map'](_0x51b111=>({'rangeId':_0x51b111[_0x21c6cd(0x25f)],'text':_0x370536(_0x599471==null?void 0x0:_0x599471['formulas'][_0x51b111[_0x21c6cd(0x25f)]])})));return _0x595d0a[_0x21c6cd(0x230)]=(_0x1320c0=_0x595d0a[_0x21c6cd(0x230)])==null?void 0x0:_0x1320c0['filter'](_0x4c8291=>_0x4c8291[_0x21c6cd(0x182)]!==_0x33fb70),_0x595d0a;}function _0x51eed9(_0x98d290){const _0x2db5d2=_0x3a09b9;var _0x2c3202;let _0x1931b7=(_0x2c3202=_0x98d290['resources'])==null||(_0x2c3202=_0x2c3202['find'](_0x2b13e3=>_0x2b13e3['name']==='DOC_FORMULA_PLUGIN'))==null?void 0x0:_0x2c3202[_0x2db5d2(0x16e)];if(_0x1931b7)try{let _0x5e1516=JSON[_0x2db5d2(0x1e1)](_0x1931b7);return _0x4fcbf3(_0x5e1516)?_0x5e1516:void 0x0;}catch{return;}}function _0x370536(_0x4a9b87){const _0x56bf92=_0x3a09b9;return _0x4a9b87?(0x0,_0x4c3070[_0x56bf92(0x1c8)])({'lastValue':_0x4a9b87[_0x56bf92(0x1e3)],'numberFormat':_0x4a9b87[_0x56bf92(0x1a9)]})['text']:'';}let _0x40f1cf=class extends _0x589ba5['Disposable']{constructor(_0x45b4f6,_0x59a916,_0x27ca7f){const _0x50e565=_0x3a09b9;super(),this[_0x50e565(0x21c)]=_0x45b4f6,this[_0x50e565(0x258)]=_0x59a916,this['disposeWithMe'](_0x27ca7f[_0x50e565(0x282)](this));}[_0x3a09b9(0x21d)](_0x518f78){const _0x5a2865=_0x3a09b9;let _0x258179=new Map();for(let _0x4d8cac of this[_0x5a2865(0x21c)]['getRegisteredFormulas']()){var _0x10860b;if(!this[_0x5a2865(0x258)]['assess'](_0x4d8cac[_0x5a2865(0x147)][_0x5a2865(0x228)],_0x4d8cac[_0x5a2865(0x229)])['eligible'])continue;let _0x1222ef=(0x0,_0x4c3070[_0x5a2865(0x27d)])(_0x4d8cac['liveResult']),_0x2a5b91=_0x1222ef?(0x0,_0x4c3070[_0x5a2865(0x243)])(_0x1222ef):null;if(!_0x2a5b91||_0x4dbc07(_0x4d8cac['config'][_0x5a2865(0x1e3)],_0x2a5b91))continue;let _0x4720a9=_0x258179[_0x5a2865(0x1bf)](_0x4d8cac['identity'][_0x5a2865(0x181)])??[];_0x4720a9['push']({'rangeId':_0x4d8cac[_0x5a2865(0x266)][_0x5a2865(0x25f)],'expectedFormula':_0x4d8cac[_0x5a2865(0x147)]['formula'],'expectedNumberFormat':(_0x10860b=_0x4d8cac[_0x5a2865(0x147)]['numberFormat'])==null?void 0x0:_0x10860b[_0x5a2865(0x280)],'expectedReferenceRevision':_0x4d8cac['referenceRevision'],'lastValue':_0x2a5b91}),_0x258179[_0x5a2865(0x162)](_0x4d8cac[_0x5a2865(0x266)][_0x5a2865(0x181)],_0x4720a9);}return Array[_0x5a2865(0x21f)](_0x258179,([_0x25d3cb,_0x385c2f])=>({'id':_0x62acd3['id'],'params':{'unitId':_0x25d3cb,'updates':_0x385c2f}}));}};_0x40f1cf=_0x2cfc4a([_0x3773bf(0x0,(0x0,_0x589ba5[_0x3a09b9(0x1b2)])(_0x1afbc3)),_0x3773bf(0x1,(0x0,_0x589ba5[_0x3a09b9(0x1b2)])(_0x4c3070[_0x3a09b9(0x254)])),_0x3773bf(0x2,(0x0,_0x589ba5[_0x3a09b9(0x1b2)])(_0x4c3070[_0x3a09b9(0x1b3)]))],_0x40f1cf);function _0x4dbc07(_0x384ce9,_0x5325a9){const _0x5a93b8=_0x3a09b9;return(_0x384ce9==null?void 0x0:_0x384ce9['v'])===_0x5325a9['v']&&(_0x384ce9==null?void 0x0:_0x384ce9['t'])===_0x5325a9['t']&&(_0x384ce9==null?void 0x0:_0x384ce9[_0x5a93b8(0x280)])===_0x5325a9['pattern'];}let _0x45ebc5=class extends _0x589ba5['Plugin']{constructor(_0x1b65cf=_0x2a2f6b,_0x24fd98,_0x1703b0,_0x5bf23a){const _0x1b5842=_0x3a09b9;super(),this[_0x1b5842(0x25e)]=_0x1b65cf,this[_0x1b5842(0x1b4)]=_0x24fd98,this[_0x1b5842(0x1e9)]=_0x1703b0,this[_0x1b5842(0x19f)]=_0x5bf23a;let {..._0x1a54f8}=(0x0,_0x589ba5[_0x1b5842(0x250)])({},_0x2a2f6b,this[_0x1b5842(0x25e)]);this[_0x1b5842(0x19f)][_0x1b5842(0x165)](_0x1b5842(0x1f1),_0x1a54f8);}['onStarting'](){const _0x3187ca=_0x3a09b9;this['_injector'][_0x3187ca(0x252)]([_0x5334e8]),this[_0x3187ca(0x1b4)][_0x3187ca(0x252)]([_0x1afbc3]),this[_0x3187ca(0x1b4)]['add']([_0x8887c7]),this[_0x3187ca(0x1b4)][_0x3187ca(0x252)]([_0x584854]),this[_0x3187ca(0x1b4)][_0x3187ca(0x252)]([_0x40f1cf]),this[_0x3187ca(0x1b4)][_0x3187ca(0x252)]([_0x53bb4e]),(0x0,_0x589ba5[_0x3187ca(0x17d)])(this['_injector'],[[_0x5334e8],[_0x8887c7],[_0x584854],[_0x40f1cf],[_0x53bb4e]]),[_0x5181a6,_0x1a9e4c,_0x397705,_0x62acd3,_0x39716e,_0x5bb815,_0x1dfbc7,_0x30135d,_0xa71694,_0x4b7e47][_0x3187ca(0x208)](_0x156566=>this[_0x3187ca(0x1cf)](this[_0x3187ca(0x1e9)][_0x3187ca(0x173)](_0x156566)));}};_0x3433aa(_0x45ebc5,_0x3a09b9(0x21a),_0x33fb70),_0x3433aa(_0x45ebc5,_0x3a09b9(0x263),_0x365b2c),_0x3433aa(_0x45ebc5,_0x3a09b9(0x14b),_0x576b40),_0x3433aa(_0x45ebc5,_0x3a09b9(0x170),_0x589ba5[_0x3a09b9(0x227)][_0x3a09b9(0x256)]),_0x45ebc5=_0x2cfc4a([(0x0,_0x589ba5[_0x3a09b9(0x215)])(_0x305e99['UniverLicensePlugin'],_0x4c3070[_0x3a09b9(0x278)],_0x3f1694['UniverDocsPlugin']),_0x3773bf(0x1,(0x0,_0x589ba5[_0x3a09b9(0x1b2)])(_0x589ba5[_0x3a09b9(0x1a7)])),_0x3773bf(0x2,_0x589ba5[_0x3a09b9(0x14c)]),_0x3773bf(0x3,_0x589ba5['IConfigService'])],_0x45ebc5),_0xb9a124[_0x3a09b9(0x253)]=_0x4b7e47,_0xb9a124[_0x3a09b9(0x22d)]=_0x3914c0,_0xb9a124['DOC_FORMULA_OBJECT_REPLACEMENT']='',_0xb9a124[_0x3a09b9(0x1f4)]=_0x33fb70,_0xb9a124[_0x3a09b9(0x1ac)]=0x1,Object['defineProperty'](_0xb9a124,_0x3a09b9(0x1f5),{'enumerable':!0x0,'get':function(){return _0x53bb4e;}}),Object['defineProperty'](_0xb9a124,_0x3a09b9(0x187),{'enumerable':!0x0,'get':function(){return _0x584854;}}),_0xb9a124[_0x3a09b9(0x185)]=_0x5334e8,Object[_0x3a09b9(0x164)](_0xb9a124,_0x3a09b9(0x159),{'enumerable':!0x0,'get':function(){return _0x8887c7;}}),_0xb9a124['DocFormulaResultStatus']=_0x104b08,Object[_0x3a09b9(0x164)](_0xb9a124,'DocFormulaService',{'enumerable':!0x0,'get':function(){return _0x1afbc3;}}),_0xb9a124['InsertDocFormulaCommand']=_0x39716e,_0xb9a124['InvalidDocFormulaInsertRangeError']=_0x1c3d3b,_0xb9a124[_0x3a09b9(0x257)]=_0x30135d,_0xb9a124[_0x3a09b9(0x1bd)]=_0x1a9e4c,_0xb9a124[_0x3a09b9(0x1c6)]=_0xa71694,_0xb9a124[_0x3a09b9(0x1cb)]=_0x62acd3,_0xb9a124[_0x3a09b9(0x1c5)]=_0x5181a6,_0xb9a124['SetDocFormulaNumberFormatCommand']=_0x1dfbc7,_0xb9a124[_0x3a09b9(0x1ab)]=_0x397705,Object[_0x3a09b9(0x164)](_0xb9a124,_0x3a09b9(0x19d),{'enumerable':!0x0,'get':function(){return _0x45ebc5;}}),_0xb9a124[_0x3a09b9(0x1d7)]=_0x5bb815,_0xb9a124['assertSafeDocFormulaInsertRange']=_0x5a8223,_0xb9a124[_0x3a09b9(0x1b7)]=_0x38fc78,_0xb9a124['buildRemoveDocFormulaActions']=_0x273d39,_0xb9a124[_0x3a09b9(0x1a2)]=_0x448c17,_0xb9a124[_0x3a09b9(0x183)]=_0x4e6d45,_0xb9a124[_0x3a09b9(0x1be)]=_0x4a0960,_0xb9a124[_0x3a09b9(0x246)]=_0x432e46,_0xb9a124[_0x3a09b9(0x14e)]=_0x372fdd,_0xb9a124['isDocFormulaRange']=_0x4e62d2,_0xb9a124['isDocFormulaResource']=_0x4fcbf3,_0xb9a124[_0x3a09b9(0x140)]=_0x282418;}));
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@univerjs-pro/docs-formula",
|
|
3
|
-
"version": "1.0
|
|
3
|
+
"version": "1.1.0",
|
|
4
4
|
"private": false,
|
|
5
5
|
"description": "Inline data formula model integration for Univer Docs.",
|
|
6
6
|
"author": "DreamNum Co., Ltd. <developer@univer.ai>",
|
|
@@ -61,18 +61,18 @@
|
|
|
61
61
|
"rxjs": ">=7.0.0"
|
|
62
62
|
},
|
|
63
63
|
"dependencies": {
|
|
64
|
-
"@univerjs-pro/engine-formula": "1.0
|
|
65
|
-
"@univerjs-pro/license": "1.0
|
|
66
|
-
"@univerjs/core": "1.0
|
|
67
|
-
"@univerjs/docs": "1.0
|
|
68
|
-
"@univerjs/engine-formula": "1.0
|
|
64
|
+
"@univerjs-pro/engine-formula": "1.1.0",
|
|
65
|
+
"@univerjs-pro/license": "1.1.0",
|
|
66
|
+
"@univerjs/core": "1.1.0",
|
|
67
|
+
"@univerjs/docs": "1.1.0",
|
|
68
|
+
"@univerjs/engine-formula": "1.1.0"
|
|
69
69
|
},
|
|
70
70
|
"devDependencies": {
|
|
71
|
-
"@univerjs-infra/shared": "1.0
|
|
72
|
-
"@univerjs/engine-render": "1.0
|
|
71
|
+
"@univerjs-infra/shared": "1.1.0",
|
|
72
|
+
"@univerjs/engine-render": "1.1.0",
|
|
73
73
|
"rxjs": "7.8.2",
|
|
74
74
|
"typescript": "^6.0.3",
|
|
75
|
-
"vitest": "^5.0.
|
|
75
|
+
"vitest": "^5.0.4"
|
|
76
76
|
},
|
|
77
77
|
"scripts": {
|
|
78
78
|
"test": "vitest run",
|