@univerjs-pro/docs-formula 1.0.3 → 1.0.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/cjs/facade.js +1 -1
- package/lib/cjs/index.js +1 -1
- package/lib/es/facade.js +1 -1
- package/lib/es/index.js +1 -1
- package/lib/facade.js +1 -1
- package/lib/index.js +1 -1
- package/lib/umd/facade.js +1 -1
- package/lib/umd/index.js +1 -1
- package/package.json +8 -8
package/lib/umd/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
function _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 _0x6417(_0x35ff07,_0xd4b2bd){_0x35ff07=_0x35ff07-0xa7;const _0x2ec900=_0x2ec9();let _0x64174c=_0x2ec900[_0x35ff07];return _0x64174c;}function _0x2ec9(){const _0x1da830=['CUSTOM_BLOCK','paragraphs','FormulaResultStatus','getScalarFormulaResultCell','object','_formulaKeys','40RrhLzl','range','docs-formula.mutation.set-formula','formulaId','disabled','forEach','disposeWithMe','find','endOffset','isDocFormulaResource','Module','segmentId','_loadErrors','liveResult','defineProperty','buildUpdateDocFormulaActions','@univerjs-pro/license','blockRanges','source','paragraph','change$','IConfigService','TABLE_CELL_END','Inject','getRevision','_config','Disposable','UniverProFormulaEnginePlugin','3575789fKgkyC','stale','columnGroups','redoMutation','rxjs','isInteger','_change$','keys','endsWith','_univerInstanceService','pushUndoRedo','getPresentation','externalReferences','startOffset','symbol','getCustomRangeInterval','load','documentData','getLoadError','buildUpsertHostExternalReferenceMutations','nextResource','SetDocFormulaLastValuesMutation','DocFormulaLifecycleController','UniverDocsPlugin','properties','Tools','call','unitAdded$','UNIVER_DOC','paragraphId','resourceRedo','resource','docs-formula.command.insert','unitDisposed$','CustomRangeType','10yLRvar','UniverLicensePlugin','position','getFormulas','touchDependencies','lastValue','unregister','toPrimitive','8qeftSS','docs-formula.command.replace-with-text','delete','resourceUndo','exports','target','resolveText','values','UniverProEngineFormula','_configService','MUTATION','retain','map','data','IUniverInstanceService','removeUnit','_injector','presentationChanged$','registerPluginResource','TABLE_ROW_START','filter','status','_registrations','sectionBreaks','registerFormulaWithRange','_syncScheduled','getTextRanges','complete','every','docs-formula.command.convert-to-text','_preserveInvalid','onStarting','pluginName','deepClone','formulas','startIndex','shiftInclusiveRangeOnDelete','1.0.4','isDocFormulaRange','_presentationChanged$','next','syncUnit','accessor','createEmptyDocFormulaResource','DOC_FORMULA_PLUGIN','documentRedo','assess','docs-formula.mutation.set-resource','_resources','identity','resolveHostFormulaExternalReferences','ReplaceDocFormulaWithTextCommand','_queueSync','color','_deleteRegistration','docs-formula.command.remove','getFormulaValueSync','slice','shiftExclusiveRangeOnDelete','28997WGYqtW','ERROR','deleteLength','push','formula','asObservable','fromEntries','previousDocumentData','iterator','selection','resolved','Plugin','InsertDocFormulaCommand','syncExecuteCommand','_registrationService','getCurrentUnitOfType','isArray','UpdateDocFormulaCommand','externalMutations','UniverEngineFormula','BLOCK_END','serialize','COLUMN_GROUP_START','presentation','undoMutation','DataStreamTreeTokenType','_rawResources','getParagraphContentStartOffset','ConvertDocFormulaToTextCommand','@univerjs/docs','@@toPrimitive\x20must\x20return\x20a\x20primitive\x20value.','get','_docFormulaModel','customRanges','2058YbcZuW','body','type','default','_updateFormulaResult','getUnit','getAllUnitsForType','docs-formula.command.set-number-format','dataStream','customDecorations','DocFormulaService','rangeId','replaceDocRanges','expectedFormula','18272309ihsKXX','DOC_FORMULA_CUSTOM_RANGE_KIND','@univerjs-pro/docs-formula','FormulaCacheEligibilityService','_cacheEligibilityService','prototype','5472042zFLkOj','entries','SECTION_BREAK','PENDING','isFormulaLastValue','editOp','removeFormula','text','degradeDocFormulaDocumentData','_syncUnit','collectFormulaExternalReferenceQualifiers','function','SetDocFormulaNumberFormatCommand','max','from','registerCommand','_resourceManagerService','getResource','setFormulas','numberFormat','parse','UniverCore','constructor','UniverInstanceType','decorate','unregisterUnit','_instanceService','5NpdwaQ','HostExternalReferenceModel','name','document','IResourceManagerService','CUSTOM','success','amd','DependentOn','DocFormulaResourceController','COLUMN_END','resolveBinding','_isDisposed','packageName','7028DZOchs','sort','min','insertLength','_formulaService','resolveFormula','getFormula','setResource','RegisterOtherFormulaService','sequenceNodesBuilder','_commandService','RemoveDocFormulaMutation','register','getUnitId','DocTextResolverService','Injector','findDocFormulaRange','CommandType','getBodySliceForTextXAction','setConfig','getRichTextEditPath','_setPresentation','TABLE_CELL_START','number','COLUMN_START','assertSafeDocFormulaInsertRange','RichTextEditingMutation','Doc\x20Formula\x20range\x20cannot\x20cross\x20document\x20structure\x20boundaries','getBody','schemaVersion','expectedNumberFormat','599463BSrSLB','_model','some','length','JSONX','PARAGRAPH','DOC_FORMULA_OBJECT_REPLACEMENT','docs-formula.config','26927196MWwQZo','shiftInclusiveRangeOnInsert','toStringTag','expectedReferenceRevision','unitId','set','DocFormulaResultStatus','@univerjs-pro/engine-formula','onCommandExecuted','setFormula','CellValueType','start','tables','cursorOffset','univer-docs-formula','previousResource','merge','deleteFormula','has','customBlocks','clear','_pendingUnitIds','toFormulaLastValue','_service','UniverProDocsFormula','getSnapshot','textRuns','getResult','pending','notifyTextChanged','string','DOC','ICommandService','cell','dispose','endIndex','_hostExternalReferenceModel','wholeEntity','UniverDocs','trigger','degradeBody','config','COMMAND','trim','invalid-resource','empty','DOC_SELECTION_OPTION_PRESERVE_CARET','@univerjs/core','LexerTreeBuilder','updates','Subject','TABLE_ROW_END','add','resolveFormulaResultPresentation','nextDocumentData','subscribe','formulaResult$','DocSelectionManagerService','degradeDocumentData','UniverDocsFormulaPlugin','SetDocFormulaResourceMutation','TABLE_START','getRegisteredFormulas','referenceRevision','isDocFormulaConfig','model','startsWith','params','docs-formula.mutation.set-last-values','error','pattern'];_0x2ec9=function(){return _0x1da830;};return _0x2ec9();}(function(_0x2e0f06,_0x3fb341){const _0x2a932b=_0x6417,_0x461693=_0x2e0f06();while(!![]){try{const _0x3caeb0=-parseInt(_0x2a932b(0xc8))/0x1*(parseInt(_0x2a932b(0x1da))/0x2)+-parseInt(_0x2a932b(0xea))/0x3*(parseInt(_0x2a932b(0x127))/0x4)+parseInt(_0x2a932b(0x119))/0x5*(-parseInt(_0x2a932b(0xfe))/0x6)+-parseInt(_0x2a932b(0x1b7))/0x7*(parseInt(_0x2a932b(0x1e2))/0x8)+-parseInt(_0x2a932b(0x146))/0x9*(parseInt(_0x2a932b(0x19b))/0xa)+parseInt(_0x2a932b(0xf8))/0xb+parseInt(_0x2a932b(0x14e))/0xc;if(_0x3caeb0===_0x3fb341)break;else _0x461693['push'](_0x461693['shift']());}catch(_0x3db235){_0x461693['push'](_0x461693['shift']());}}}(_0x2ec9,0xd34df),function(_0x2c026e,_0x261313){const _0x5c1118=_0x6417;typeof exports==_0x5c1118(0x199)&&typeof module<'u'?_0x261313(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[_0x5c1118(0x120)]?define([_0x5c1118(0x1e6),_0x5c1118(0x155),_0x5c1118(0x17d),_0x5c1118(0xe5),'@univerjs/engine-formula',_0x5c1118(0x1bb),_0x5c1118(0x1ab)],_0x261313):(_0x2c026e=typeof globalThis<'u'?globalThis:_0x2c026e||self,_0x261313(_0x2c026e[_0x5c1118(0x166)]={},_0x2c026e[_0x5c1118(0x1ea)],_0x2c026e[_0x5c1118(0x113)],_0x2c026e[_0x5c1118(0x174)],_0x2c026e[_0x5c1118(0xdb)],_0x2c026e[_0x5c1118(0x1bb)],_0x2c026e['UniverProLicense']));}(this,function(_0x2c87ef,_0x3e6ae0,_0x198dff,_0x440871,_0x54a5ff,_0x104340,_0x51d1a7){const _0x5d1a43=_0x6417;Object['defineProperty'](_0x2c87ef,Symbol[_0x5d1a43(0x150)],{'value':_0x5d1a43(0x1a5)});let _0x477554='DOC_FORMULA_PLUGIN',_0x5af56f=_0x5d1a43(0x15c);function _0x2a5f69(){return{'schemaVersion':0x1,'formulas':{}};}function _0xca39c2(_0x4f1c46){const _0x23077b=_0x5d1a43;return!_0x4f1c46||typeof _0x4f1c46!=_0x23077b(0x199)||!_0x29060d(_0x4f1c46,['schemaVersion','formulas'])||!('schemaVersion'in _0x4f1c46)||_0x4f1c46[_0x23077b(0x144)]!==0x1||!(_0x23077b(0xaf)in _0x4f1c46)||!_0x4f1c46['formulas']||typeof _0x4f1c46[_0x23077b(0xaf)]!=_0x23077b(0x199)||Array[_0x23077b(0xd8)](_0x4f1c46[_0x23077b(0xaf)])?!0x1:Object[_0x23077b(0xff)](_0x4f1c46[_0x23077b(0xaf)])[_0x23077b(0xa9)](([_0x454006,_0x354e3e])=>_0x454006[_0x23077b(0x149)]>0x0&&_0x2c8fdb(_0x354e3e));}function _0x2c8fdb(_0x1730f1){const _0x535b0d=_0x5d1a43;return!_0x1730f1||typeof _0x1730f1!=_0x535b0d(0x199)||!_0x29060d(_0x1730f1,['formula',_0x535b0d(0x111),'lastValue'])||!(_0x535b0d(0xcc)in _0x1730f1)||typeof _0x1730f1[_0x535b0d(0xcc)]!='string'||!_0x1730f1[_0x535b0d(0xcc)][_0x535b0d(0x179)]()||_0x535b0d(0x111)in _0x1730f1&&_0x1730f1['numberFormat']!=null&&(typeof _0x1730f1[_0x535b0d(0x111)]!=_0x535b0d(0x199)||!_0x29060d(_0x1730f1[_0x535b0d(0x111)],[_0x535b0d(0x194)])||!(_0x535b0d(0x194)in _0x1730f1['numberFormat'])||typeof _0x1730f1[_0x535b0d(0x111)][_0x535b0d(0x194)]!=_0x535b0d(0x16c))?!0x1:!(_0x535b0d(0x1df)in _0x1730f1)||_0x1730f1[_0x535b0d(0x1df)]==null||_0x162adb(_0x1730f1['lastValue']);}function _0x162adb(_0x411f57){const _0x180516=_0x5d1a43;return!_0x411f57||typeof _0x411f57!='object'||!_0x29060d(_0x411f57,['v','t',_0x180516(0x194)])||!('v'in _0x411f57)||_0x411f57['v']!==null&&typeof _0x411f57['v']!=_0x180516(0x16c)&&typeof _0x411f57['v']!=_0x180516(0x13e)&&typeof _0x411f57['v']!='boolean'||'t'in _0x411f57&&_0x411f57['t']!=null&&!_0x1037f0(_0x411f57['t'])?!0x1:!(_0x180516(0x194)in _0x411f57)||_0x411f57[_0x180516(0x194)]==null||typeof _0x411f57[_0x180516(0x194)]==_0x180516(0x16c);}function _0x29060d(_0x5d980f,_0x7fcda5){const _0x1d7496=_0x5d1a43;let _0x35fb3d=new Set(_0x7fcda5);return Object[_0x1d7496(0x1be)](_0x5d980f)[_0x1d7496(0xa9)](_0x2a85bb=>_0x35fb3d[_0x1d7496(0x160)](_0x2a85bb));}function _0x1037f0(_0x3cff2c){const _0x1338fe=_0x5d1a43;return typeof _0x3cff2c==_0x1338fe(0x13e)&&Object[_0x1338fe(0x1e9)](_0x198dff[_0x1338fe(0x158)])['includes'](_0x3cff2c);}let _0x3bfb62=new Set([_0x198dff[_0x5d1a43(0xe1)][_0x5d1a43(0x100)],_0x198dff['DataStreamTreeTokenType'][_0x5d1a43(0x18b)],_0x198dff['DataStreamTreeTokenType'][_0x5d1a43(0x1f5)],_0x198dff['DataStreamTreeTokenType'][_0x5d1a43(0x13d)],_0x198dff[_0x5d1a43(0xe1)][_0x5d1a43(0x1b1)],_0x198dff['DataStreamTreeTokenType'][_0x5d1a43(0x181)],_0x198dff[_0x5d1a43(0xe1)]['TABLE_END'],_0x198dff['DataStreamTreeTokenType'][_0x5d1a43(0xde)],_0x198dff[_0x5d1a43(0xe1)][_0x5d1a43(0x13f)],_0x198dff['DataStreamTreeTokenType'][_0x5d1a43(0x123)],_0x198dff[_0x5d1a43(0xe1)]['COLUMN_GROUP_END'],_0x198dff[_0x5d1a43(0xe1)]['BLOCK_START'],_0x198dff[_0x5d1a43(0xe1)][_0x5d1a43(0xdc)],_0x198dff[_0x5d1a43(0xe1)][_0x5d1a43(0x195)]]);var _0x428807=class extends Error{constructor(){const _0x5ee152=_0x5d1a43;super(_0x5ee152(0x142));}};function _0x4452fa(_0x4f7dee){const _0x33918f=_0x5d1a43;var _0x35bd38,_0x58e128;let _0x391297=_0x198dff['Tools']['deepClone'](_0x4f7dee[_0x33918f(0x1c8)]),_0x4dbcae=_0x1c5831(_0x391297),{startOffset:_0xeff387,endOffset:_0x3666de}=_0x193170(_0x4dbcae,_0x4f7dee['startOffset'],_0x4f7dee['endOffset']);_0x1a7f02(_0x4dbcae,_0xeff387,_0x3666de);let _0x31163c=((_0x35bd38=_0x4dbcae['customRanges'])==null?void 0x0:_0x35bd38['filter'](_0x3426ed=>{const _0x1fe13c=_0x33918f;if(!_0x1d4100(_0x3426ed))return!0x1;let _0x5105bc=(0x0,_0x198dff['getCustomRangeInterval'])(_0x3426ed);return _0x5105bc['endOffset']>_0xeff387&&_0x5105bc[_0x1fe13c(0x1c4)]<_0x3666de;})[_0x33918f(0x1ee)](_0x117c53=>_0x117c53[_0x33918f(0xf5)]))??[];_0xf23fd1(_0x4dbcae,_0xeff387,_0x3666de,''),_0x4dbcae[_0x33918f(0xe9)]=[...((_0x58e128=_0x4dbcae[_0x33918f(0xe9)])==null?void 0x0:_0x58e128[_0x33918f(0x1f6)](_0x51a55e=>!_0x31163c['includes'](_0x51a55e[_0x33918f(0xf5)])&&_0x51a55e['rangeId']!==_0x4f7dee[_0x33918f(0xf5)]))??[],_0x2ef4bc(_0x4f7dee[_0x33918f(0xf5)],_0xeff387)][_0x33918f(0x128)]((_0x3b42ab,_0x356c32)=>_0x3b42ab['startIndex']-_0x356c32[_0x33918f(0xb0)]);let _0x362288=_0x14187b(_0x4f7dee[_0x33918f(0x1d6)]);return _0x31163c[_0x33918f(0x1a0)](_0xd2e95a=>{const _0x40afda=_0x33918f;delete _0x362288[_0x40afda(0xaf)][_0xd2e95a];}),_0x362288[_0x33918f(0xaf)][_0x4f7dee[_0x33918f(0xf5)]]=_0x198dff[_0x33918f(0x1d0)]['deepClone'](_0x4f7dee[_0x33918f(0x177)]),{'nextDocumentData':_0x391297,'nextResource':_0x362288,'cursorOffset':_0xeff387+0x1};}function _0x4d5377(_0x13f999){const _0x32dbbd=_0x5d1a43;var _0x3a3518,_0x47dd5b;let _0x2118b1=_0x198dff[_0x32dbbd(0x1d0)][_0x32dbbd(0xae)](_0x13f999[_0x32dbbd(0x1c8)]),_0x378200=(_0x3a3518=_0x1c5831(_0x2118b1)[_0x32dbbd(0xe9)])==null?void 0x0:_0x3a3518['find'](_0x10d4e4=>_0x10d4e4['rangeId']===_0x13f999[_0x32dbbd(0xf5)]&&_0x1d4100(_0x10d4e4));if(!_0x378200||!((_0x47dd5b=_0x13f999[_0x32dbbd(0x1d6)])!=null&&_0x47dd5b[_0x32dbbd(0xaf)][_0x13f999['rangeId']]))return null;let _0x36a8b3=_0x14187b(_0x13f999[_0x32dbbd(0x1d6)]);return _0x36a8b3[_0x32dbbd(0xaf)][_0x13f999[_0x32dbbd(0xf5)]]=_0x198dff['Tools'][_0x32dbbd(0xae)](_0x13f999[_0x32dbbd(0x177)]),{'nextDocumentData':_0x2118b1,'nextResource':_0x36a8b3,'cursorOffset':_0x378200[_0x32dbbd(0x171)]+0x1};}function _0x206593(_0x5ebb38){const _0x229d67=_0x5d1a43;let _0x1834ce=_0x198dff[_0x229d67(0x1d0)][_0x229d67(0xae)](_0x5ebb38[_0x229d67(0x1c8)]),_0x108083=_0x2ee4f9(_0x1834ce,_0x5ebb38[_0x229d67(0xf5)],_0x5ebb38['text']??'');if(_0x108083==null)return null;let _0x48cd50=_0x14187b(_0x5ebb38[_0x229d67(0x1d6)]);return delete _0x48cd50['formulas'][_0x5ebb38['rangeId']],{'nextDocumentData':_0x1834ce,'nextResource':_0x48cd50,'cursorOffset':_0x108083};}function _0x143ae8(_0x30661a,_0x22c468){const _0x4a36a6=_0x5d1a43;var _0x23f538;let _0x437721=_0x198dff[_0x4a36a6(0x1d0)][_0x4a36a6(0xae)](_0x30661a),_0x10ec68=_0x437721[_0x4a36a6(0xeb)];if(!_0x10ec68)return _0x437721;let _0x1b849a=new Map(_0x22c468[_0x4a36a6(0x1ee)](_0x1c6ea0=>[_0x1c6ea0[_0x4a36a6(0xf5)],_0x1c6ea0[_0x4a36a6(0x105)]])),_0x4d70d6=((_0x23f538=_0x10ec68['customRanges'])==null?void 0x0:_0x23f538['filter'](_0x3ba490=>_0x1d4100(_0x3ba490)&&_0x1b849a['has'](_0x3ba490[_0x4a36a6(0xf5)]))['sort']((_0x144e24,_0x1471e7)=>_0x1471e7['startIndex']-_0x144e24[_0x4a36a6(0xb0)]))??[];for(let _0x31515d of _0x4d70d6)_0x2ee4f9(_0x437721,_0x31515d[_0x4a36a6(0xf5)],_0x1b849a[_0x4a36a6(0xe7)](_0x31515d[_0x4a36a6(0xf5)])??'');return _0x437721;}function _0x1d4100(_0x4a291e){const _0x3655ac=_0x5d1a43;var _0x322e99;return(_0x4a291e==null?void 0x0:_0x4a291e['rangeType'])===_0x198dff[_0x3655ac(0x1d9)]['CUSTOM']&&_0x4a291e[_0x3655ac(0x173)]===!0x0&&((_0x322e99=_0x4a291e[_0x3655ac(0x1cf)])==null?void 0x0:_0x322e99['kind'])===_0x3655ac(0x15c);}function _0x10498e(_0x4a6b5c,_0x1667da){const _0x46506d=_0x5d1a43;var _0x12bd2c;return _0x4a6b5c==null||(_0x12bd2c=_0x4a6b5c[_0x46506d(0xe9)])==null?void 0x0:_0x12bd2c[_0x46506d(0x1a2)](_0x242482=>_0x242482[_0x46506d(0xf5)]===_0x1667da&&_0x1d4100(_0x242482));}function _0x1a7f02(_0x8ab09a,_0x50baf1,_0x1245e4){const _0x388230=_0x5d1a43;if(_0x50baf1===_0x1245e4){if(_0x3bfb62[_0x388230(0x160)](_0x8ab09a[_0x388230(0xf2)][_0x50baf1]))throw new _0x428807();return;}for(let _0x29236c=_0x50baf1;_0x29236c<_0x1245e4;_0x29236c++)if(_0x8ab09a['dataStream'][_0x29236c]===_0x198dff['DataStreamTreeTokenType'][_0x388230(0x14b)]||_0x3bfb62['has'](_0x8ab09a[_0x388230(0xf2)][_0x29236c]))throw new _0x428807();}function _0x2ef4bc(_0x494fd3,_0x39beca){const _0x3ff0b3=_0x5d1a43;return{'startIndex':_0x39beca,'endIndex':_0x39beca,'rangeId':_0x494fd3,'rangeType':_0x198dff[_0x3ff0b3(0x1d9)][_0x3ff0b3(0x11e)],'wholeEntity':!0x0,'properties':{'kind':_0x5af56f}};}function _0x14187b(_0x3fbed4){const _0x278120=_0x5d1a43;return _0x3fbed4?_0x198dff[_0x278120(0x1d0)][_0x278120(0xae)](_0x3fbed4):_0x2a5f69();}function _0x193170(_0x1d0dd1,_0x470216,_0x1b4101){const _0x571a11=_0x5d1a43;let _0x260f92=_0x2b59c1(_0x1d0dd1),_0x19c2df=_0x470216??_0x260f92,_0x325c42=_0x1b4101??_0x19c2df;return{'startOffset':_0x528ea4(Math[_0x571a11(0x129)](_0x19c2df,_0x325c42),_0x260f92),'endOffset':_0x528ea4(Math[_0x571a11(0x10b)](_0x19c2df,_0x325c42),_0x260f92)};}function _0x528ea4(_0x34a75d,_0x28458d){const _0x106981=_0x5d1a43;return Math['max'](0x0,Math[_0x106981(0x129)](_0x34a75d,_0x28458d));}function _0x2b59c1(_0x278d9a){const _0x5cefd4=_0x5d1a43;return _0x278d9a[_0x5cefd4(0xf2)]['endsWith'](''+_0x198dff['DataStreamTreeTokenType']['PARAGRAPH']+_0x198dff[_0x5cefd4(0xe1)]['SECTION_BREAK'])?Math[_0x5cefd4(0x10b)](0x0,_0x278d9a[_0x5cefd4(0xf2)][_0x5cefd4(0x149)]-0x2):_0x278d9a[_0x5cefd4(0xf2)][_0x5cefd4(0x1bf)](_0x198dff['DataStreamTreeTokenType'][_0x5cefd4(0x100)])?Math[_0x5cefd4(0x10b)](0x0,_0x278d9a[_0x5cefd4(0xf2)]['length']-0x1):_0x278d9a[_0x5cefd4(0xf2)][_0x5cefd4(0x149)];}function _0xf23fd1(_0x1d237b,_0x5416f2,_0x6cfa72,_0x382a9b){_0x6cfa72>_0x5416f2&&_0x4b1ecb(_0x1d237b,_0x5416f2,_0x6cfa72),_0x354e41(_0x1d237b,_0x5416f2,_0x382a9b);}function _0x2ee4f9(_0x55713f,_0x26d68a,_0x5424f8){const _0x8db7f0=_0x5d1a43;var _0x553305,_0x425473;let _0x6b88d0=_0x1c5831(_0x55713f),_0x25bc19=(_0x553305=_0x6b88d0[_0x8db7f0(0xe9)])==null?void 0x0:_0x553305['find'](_0x39d21c=>_0x39d21c[_0x8db7f0(0xf5)]===_0x26d68a&&_0x1d4100(_0x39d21c));if(!_0x25bc19)return null;let _0x5b6458=(0x0,_0x198dff[_0x8db7f0(0x1c6)])(_0x25bc19);return _0xf23fd1(_0x6b88d0,_0x5b6458[_0x8db7f0(0x1c4)],_0x5b6458['endOffset'],_0x5424f8),_0x6b88d0[_0x8db7f0(0xe9)]=(_0x425473=_0x6b88d0['customRanges'])==null?void 0x0:_0x425473[_0x8db7f0(0x1f6)](_0x5cbb09=>_0x5cbb09[_0x8db7f0(0xf5)]!==_0x26d68a),_0x5b6458[_0x8db7f0(0x1c4)]+_0x5424f8['length'];}function _0x354e41(_0x420a91,_0x1b39da,_0x2b9172){const _0x31d0f0=_0x5d1a43;_0x2b9172&&(_0x420a91['dataStream']=''+_0x420a91[_0x31d0f0(0xf2)][_0x31d0f0(0xc6)](0x0,_0x1b39da)+_0x2b9172+_0x420a91[_0x31d0f0(0xf2)]['slice'](_0x1b39da),_0x2bb807(_0x420a91,_0x1b39da,_0x2b9172[_0x31d0f0(0x149)]));}function _0x4b1ecb(_0x2dbb15,_0x2cb9e9,_0x28b905){const _0x36a0e5=_0x5d1a43;let _0x417f33=_0x28b905-_0x2cb9e9;_0x2dbb15['dataStream']=''+_0x2dbb15['dataStream'][_0x36a0e5(0xc6)](0x0,_0x2cb9e9)+_0x2dbb15[_0x36a0e5(0xf2)][_0x36a0e5(0xc6)](_0x28b905),_0x1c0fc8(_0x2dbb15,_0x2cb9e9,_0x417f33);}function _0x2bb807(_0x4b5ba5,_0x49b568,_0x1b597b){const _0x1929ea=_0x5d1a43;_0x4b5ba5['paragraphs']=_0x1b5414(_0x4b5ba5[_0x1929ea(0x196)],_0x49b568,_0x1b597b),_0x4b5ba5[_0x1929ea(0x1f9)]=_0x1b5414(_0x4b5ba5['sectionBreaks'],_0x49b568,_0x1b597b),_0x4b5ba5[_0x1929ea(0x161)]=_0x1b5414(_0x4b5ba5[_0x1929ea(0x161)],_0x49b568,_0x1b597b),_0x4b5ba5['textRuns']=_0x23e7ee(_0x4b5ba5[_0x1929ea(0x168)],_0x49b568,_0x1b597b),_0x4b5ba5['tables']=_0x43a94d(_0x4b5ba5[_0x1929ea(0x15a)],_0x49b568,_0x1b597b),_0x4b5ba5['columnGroups']=_0x24376d(_0x4b5ba5[_0x1929ea(0x1b9)],_0x49b568,_0x1b597b),_0x4b5ba5[_0x1929ea(0xe9)]=_0x24376d(_0x4b5ba5[_0x1929ea(0xe9)],_0x49b568,_0x1b597b),_0x4b5ba5[_0x1929ea(0xf3)]=_0x24376d(_0x4b5ba5[_0x1929ea(0xf3)],_0x49b568,_0x1b597b),_0x4b5ba5['blockRanges']=_0x24376d(_0x4b5ba5['blockRanges'],_0x49b568,_0x1b597b);}function _0x1c0fc8(_0xe0cc5e,_0x5707ef,_0x1fc371){const _0xbde1f3=_0x5d1a43;var _0xfccffa,_0x526256;_0xe0cc5e[_0xbde1f3(0x196)]=_0x861208(_0xe0cc5e[_0xbde1f3(0x196)],_0x5707ef,_0x1fc371),_0xe0cc5e[_0xbde1f3(0x1f9)]=_0x861208(_0xe0cc5e[_0xbde1f3(0x1f9)],_0x5707ef,_0x1fc371),_0xe0cc5e[_0xbde1f3(0x161)]=_0x861208(_0xe0cc5e[_0xbde1f3(0x161)],_0x5707ef,_0x1fc371),_0xe0cc5e[_0xbde1f3(0x168)]=(_0xfccffa=_0x52a4fa((_0x526256=_0xe0cc5e[_0xbde1f3(0x168)])==null?void 0x0:_0x526256[_0xbde1f3(0x1ee)](_0x46ba21=>({..._0x46ba21,'startIndex':_0x46ba21['st'],'endIndex':_0x46ba21['ed']})),_0x5707ef,_0x1fc371))==null?void 0x0:_0xfccffa[_0xbde1f3(0x1ee)](_0x343dae=>{let {startIndex:_0x399917,endIndex:_0x31e474,..._0x5a0e63}=_0x343dae;return{..._0x5a0e63,'st':_0x399917,'ed':_0x31e474};}),_0xe0cc5e[_0xbde1f3(0x15a)]=_0x52a4fa(_0xe0cc5e['tables'],_0x5707ef,_0x1fc371),_0xe0cc5e[_0xbde1f3(0x1b9)]=_0x3cc4d7(_0xe0cc5e['columnGroups'],_0x5707ef,_0x1fc371),_0xe0cc5e[_0xbde1f3(0xe9)]=_0x3cc4d7(_0xe0cc5e[_0xbde1f3(0xe9)],_0x5707ef,_0x1fc371),_0xe0cc5e['customDecorations']=_0x3cc4d7(_0xe0cc5e[_0xbde1f3(0xf3)],_0x5707ef,_0x1fc371),_0xe0cc5e['blockRanges']=_0x3cc4d7(_0xe0cc5e[_0xbde1f3(0x1ac)],_0x5707ef,_0x1fc371);}function _0x1b5414(_0x4b20b7,_0x38da92,_0xf339d6){const _0x5be6c7=_0x5d1a43;return _0x4b20b7==null?void 0x0:_0x4b20b7[_0x5be6c7(0x1ee)](_0xed3c30=>_0xed3c30[_0x5be6c7(0xb0)]>=_0x38da92?{..._0xed3c30,'startIndex':_0xed3c30[_0x5be6c7(0xb0)]+_0xf339d6}:_0xed3c30);}function _0x861208(_0x156c1e,_0x1f5b23,_0x4c581e){const _0x1f7a4a=_0x5d1a43;let _0x166c7f=_0x1f5b23+_0x4c581e;return _0x156c1e==null?void 0x0:_0x156c1e['map'](_0x46d9b4=>_0x46d9b4[_0x1f7a4a(0xb0)]>=_0x1f5b23&&_0x46d9b4[_0x1f7a4a(0xb0)]<_0x166c7f?null:_0x46d9b4[_0x1f7a4a(0xb0)]>=_0x166c7f?{..._0x46d9b4,'startIndex':_0x46d9b4[_0x1f7a4a(0xb0)]-_0x4c581e}:_0x46d9b4)[_0x1f7a4a(0x1f6)](_0x3d3af9=>_0x3d3af9!=null);}function _0x23e7ee(_0x10505e,_0x58929a,_0x4d7c71){const _0x56c0b0=_0x5d1a43;return _0x10505e==null?void 0x0:_0x10505e[_0x56c0b0(0x1ee)](_0x69a15e=>_0x69a15e['st']>=_0x58929a?{..._0x69a15e,'st':_0x69a15e['st']+_0x4d7c71,'ed':_0x69a15e['ed']+_0x4d7c71}:_0x69a15e['ed']>_0x58929a?{..._0x69a15e,'ed':_0x69a15e['ed']+_0x4d7c71}:_0x69a15e);}function _0x24376d(_0x1b5e32,_0x498459,_0x4f61ed){const _0x1129fc=_0x5d1a43;return _0x1b5e32==null?void 0x0:_0x1b5e32[_0x1129fc(0x1ee)](_0x4d6e1d=>(0x0,_0x198dff[_0x1129fc(0x14f)])(_0x4d6e1d,_0x498459,_0x4f61ed));}function _0x43a94d(_0x531394,_0x2f9184,_0x3379dd){const _0x28c4d9=_0x5d1a43;return _0x531394==null?void 0x0:_0x531394[_0x28c4d9(0x1ee)](_0x32ae25=>(0x0,_0x198dff['shiftExclusiveRangeOnInsert'])(_0x32ae25,_0x2f9184,_0x3379dd));}function _0x3cc4d7(_0x3c0457,_0x431c48,_0x527d2f){const _0x55a95d=_0x5d1a43;return _0x3c0457==null?void 0x0:_0x3c0457[_0x55a95d(0x1ee)](_0x38149f=>(0x0,_0x198dff[_0x55a95d(0xb1)])(_0x38149f,_0x431c48,_0x527d2f))['filter'](_0x4e6268=>_0x4e6268!=null);}function _0x52a4fa(_0x6e3050,_0xa517b7,_0x3bf7e5){const _0x44ee35=_0x5d1a43;return _0x6e3050==null?void 0x0:_0x6e3050[_0x44ee35(0x1ee)](_0x1cc600=>(0x0,_0x198dff[_0x44ee35(0xc7)])(_0x1cc600,_0xa517b7,_0x3bf7e5))[_0x44ee35(0x1f6)](_0x3030dd=>_0x3030dd!=null);}function _0x1c5831(_0x36feb0){const _0x4e253b=_0x5d1a43;if(!_0x36feb0[_0x4e253b(0xeb)])throw Error('Document\x20main\x20body\x20is\x20required\x20to\x20insert\x20Doc\x20Formula.');return _0x36feb0[_0x4e253b(0xeb)];}function _0x53bf5a(_0x43f5cb){'@babel/helpers - typeof';const _0x52c31f=_0x5d1a43;return _0x53bf5a=typeof Symbol==_0x52c31f(0x109)&&typeof Symbol[_0x52c31f(0xd0)]==_0x52c31f(0x1c5)?function(_0x461b74){return typeof _0x461b74;}:function(_0x3f22e0){const _0xcb18c0=_0x52c31f;return _0x3f22e0&&typeof Symbol=='function'&&_0x3f22e0[_0xcb18c0(0x114)]===Symbol&&_0x3f22e0!==Symbol[_0xcb18c0(0xfd)]?'symbol':typeof _0x3f22e0;},_0x53bf5a(_0x43f5cb);}function _0x4bb23a(_0x4a511f,_0x473b99){const _0x413c0d=_0x5d1a43;if(_0x53bf5a(_0x4a511f)!='object'||!_0x4a511f)return _0x4a511f;var _0x4d5f9b=_0x4a511f[Symbol[_0x413c0d(0x1e1)]];if(_0x4d5f9b!==void 0x0){var _0x2d5629=_0x4d5f9b[_0x413c0d(0x1d1)](_0x4a511f,_0x473b99||_0x413c0d(0xed));if(_0x53bf5a(_0x2d5629)!=_0x413c0d(0x199))return _0x2d5629;throw TypeError(_0x413c0d(0xe6));}return(_0x473b99===_0x413c0d(0x16c)?String:Number)(_0x4a511f);}function _0x2d00f4(_0x310a00){const _0x5dcdde=_0x5d1a43;var _0x1605e3=_0x4bb23a(_0x310a00,_0x5dcdde(0x16c));return _0x53bf5a(_0x1605e3)==_0x5dcdde(0x1c5)?_0x1605e3:_0x1605e3+'';}function _0x8d49c1(_0x5ae0c4,_0x4bdea8,_0x1a855d){return(_0x4bdea8=_0x2d00f4(_0x4bdea8))in _0x5ae0c4?Object['defineProperty'](_0x5ae0c4,_0x4bdea8,{'value':_0x1a855d,'enumerable':!0x0,'configurable':!0x0,'writable':!0x0}):_0x5ae0c4[_0x4bdea8]=_0x1a855d,_0x5ae0c4;}var _0x12d8e9=class extends _0x198dff[_0x5d1a43(0x1b5)]{constructor(..._0x50f88e){const _0x226dc2=_0x5d1a43;super(..._0x50f88e),_0x8d49c1(this,_0x226dc2(0xbd),new Map()),_0x8d49c1(this,'_rawResources',new Map()),_0x8d49c1(this,_0x226dc2(0x1a7),new Map()),_0x8d49c1(this,_0x226dc2(0x1bd),new _0x104340[(_0x226dc2(0x180))]()),_0x8d49c1(this,_0x226dc2(0x1af),this[_0x226dc2(0x1bd)][_0x226dc2(0xcd)]());}[_0x5d1a43(0x12d)](_0x191be1,_0x3333df){const _0x183ae2=_0x5d1a43;var _0x5a4f1f;let _0x54b016=(_0x5a4f1f=this[_0x183ae2(0xbd)]['get'](_0x191be1))==null?void 0x0:_0x5a4f1f['formulas'][_0x3333df];return _0x54b016?_0x198dff[_0x183ae2(0x1d0)]['deepClone'](_0x54b016):void 0x0;}[_0x5d1a43(0x1dd)](_0x348329){const _0x17ea40=_0x5d1a43;var _0x4a1770;return _0x198dff[_0x17ea40(0x1d0)][_0x17ea40(0xae)](((_0x4a1770=this[_0x17ea40(0xbd)][_0x17ea40(0xe7)](_0x348329))==null?void 0x0:_0x4a1770[_0x17ea40(0xaf)])??{});}['getResource'](_0x5d9ff7){const _0x2131e5=_0x5d1a43;let _0x16caea=this[_0x2131e5(0xbd)]['get'](_0x5d9ff7);return _0x16caea?_0x198dff['Tools']['deepClone'](_0x16caea):void 0x0;}['setFormula'](_0x4a691b,_0x4118a2,_0x41024b){const _0x106e27=_0x5d1a43;return this[_0x106e27(0x110)](_0x4a691b,{[_0x4118a2]:_0x41024b});}[_0x5d1a43(0x12e)](_0x25be8a,_0x364486){const _0x44843b=_0x5d1a43;return this[_0x44843b(0x1a7)][_0x44843b(0x160)](_0x25be8a)||!_0xca39c2(_0x364486)?!0x1:(this[_0x44843b(0xbd)]['set'](_0x25be8a,_0x198dff[_0x44843b(0x1d0)][_0x44843b(0xae)](_0x364486)),this[_0x44843b(0x1bd)][_0x44843b(0xb5)]({'unitId':_0x25be8a}),!0x0);}['setFormulas'](_0x284dc5,_0x40ccd9){const _0x599cda=_0x5d1a43;if(this[_0x599cda(0x1a7)]['has'](_0x284dc5)||!Object['keys'](_0x40ccd9)['length']||!_0xca39c2({'schemaVersion':0x1,'formulas':_0x40ccd9}))return!0x1;let _0x38e372=this[_0x599cda(0xbd)][_0x599cda(0xe7)](_0x284dc5)??_0x2a5f69(),_0x148557=_0x198dff['Tools']['deepClone'](_0x38e372);return Object['assign'](_0x148557['formulas'],_0x198dff[_0x599cda(0x1d0)]['deepClone'](_0x40ccd9)),this[_0x599cda(0xbd)][_0x599cda(0x153)](_0x284dc5,_0x148557),this[_0x599cda(0x1bd)][_0x599cda(0xb5)]({'unitId':_0x284dc5,'rangeIds':Object[_0x599cda(0x1be)](_0x40ccd9)}),!0x0;}['removeFormula'](_0x4513e8,_0x386328){const _0x16b723=_0x5d1a43;if(this[_0x16b723(0x1a7)][_0x16b723(0x160)](_0x4513e8))return!0x1;let _0x58e470=this['_resources']['get'](_0x4513e8);if(!(_0x58e470!=null&&_0x58e470[_0x16b723(0xaf)][_0x386328]))return!0x1;let _0x1c4fc0=_0x198dff[_0x16b723(0x1d0)][_0x16b723(0xae)](_0x58e470);return delete _0x1c4fc0[_0x16b723(0xaf)][_0x386328],this['_resources']['set'](_0x4513e8,_0x1c4fc0),this[_0x16b723(0x1bd)][_0x16b723(0xb5)]({'unitId':_0x4513e8,'rangeIds':[_0x386328]}),!0x0;}[_0x5d1a43(0x1c7)](_0x438efb,_0xe858c){const _0x1e0e51=_0x5d1a43;return _0xe858c&&typeof _0xe858c==_0x1e0e51(0x199)&&_0x1e0e51(0x144)in _0xe858c&&_0xe858c[_0x1e0e51(0x144)]!==0x1?(this['_preserveInvalid'](_0x438efb,_0xe858c,'unsupported-version'),!0x1):_0xca39c2(_0xe858c)?(this[_0x1e0e51(0xbd)][_0x1e0e51(0x153)](_0x438efb,_0x198dff[_0x1e0e51(0x1d0)]['deepClone'](_0xe858c)),this[_0x1e0e51(0xe2)][_0x1e0e51(0x1e4)](_0x438efb),this[_0x1e0e51(0x1a7)][_0x1e0e51(0x1e4)](_0x438efb),this[_0x1e0e51(0x1bd)][_0x1e0e51(0xb5)]({'unitId':_0x438efb}),!0x0):(this[_0x1e0e51(0xab)](_0x438efb,_0xe858c,_0x1e0e51(0x17a)),!0x1);}['serialize'](_0x12c7c1){const _0x1294c6=_0x5d1a43;let _0xe09098=this[_0x1294c6(0xbd)][_0x1294c6(0xe7)](_0x12c7c1);return _0xe09098?_0x198dff[_0x1294c6(0x1d0)][_0x1294c6(0xae)](_0xe09098):this[_0x1294c6(0xe2)]['has'](_0x12c7c1)?_0x198dff[_0x1294c6(0x1d0)][_0x1294c6(0xae)](this[_0x1294c6(0xe2)][_0x1294c6(0xe7)](_0x12c7c1)):_0x2a5f69();}[_0x5d1a43(0x1c9)](_0x16bc64){const _0x221f6b=_0x5d1a43;return this[_0x221f6b(0x1a7)][_0x221f6b(0xe7)](_0x16bc64);}[_0x5d1a43(0x1f1)](_0x25891e){const _0x4ee3aa=_0x5d1a43;this[_0x4ee3aa(0xbd)]['delete'](_0x25891e),this[_0x4ee3aa(0xe2)]['delete'](_0x25891e),this[_0x4ee3aa(0x1a7)][_0x4ee3aa(0x1e4)](_0x25891e),this['_change$'][_0x4ee3aa(0xb5)]({'unitId':_0x25891e});}[_0x5d1a43(0x170)](){const _0x9f1c59=_0x5d1a43;this[_0x9f1c59(0xbd)][_0x9f1c59(0x162)](),this[_0x9f1c59(0xe2)][_0x9f1c59(0x162)](),this[_0x9f1c59(0x1a7)][_0x9f1c59(0x162)](),this['_change$']['complete'](),super[_0x9f1c59(0x170)]();}[_0x5d1a43(0xab)](_0x5ab332,_0x4a999a,_0x57257d){const _0x20d24d=_0x5d1a43;this[_0x20d24d(0xbd)]['delete'](_0x5ab332),this[_0x20d24d(0xe2)][_0x20d24d(0x153)](_0x5ab332,_0x198dff['Tools'][_0x20d24d(0xae)](_0x4a999a)),this['_loadErrors'][_0x20d24d(0x153)](_0x5ab332,_0x57257d),this[_0x20d24d(0x1bd)][_0x20d24d(0xb5)]({'unitId':_0x5ab332});}};let _0x205351=function(_0x39a960){const _0x327119=_0x5d1a43;return _0x39a960['EMPTY']='empty',_0x39a960[_0x327119(0x101)]=_0x327119(0x16a),_0x39a960['SUCCESS']=_0x327119(0x11f),_0x39a960[_0x327119(0xc9)]=_0x327119(0x193),_0x39a960;}({});function _0xbc127b(_0x3b15e7,_0x3ec770){return function(_0x14e066,_0xfdabb3){_0x3ec770(_0x14e066,_0xfdabb3,_0x3b15e7);};}function _0x40a925(_0x477b61,_0x15e0ca,_0x252ca9,_0x10e057){const _0x46c49c=_0x5d1a43;var _0x431166=arguments[_0x46c49c(0x149)],_0x44015e=_0x431166<0x3?_0x15e0ca:_0x10e057===null?_0x10e057=Object['getOwnPropertyDescriptor'](_0x15e0ca,_0x252ca9):_0x10e057,_0x57390b;if(typeof Reflect==_0x46c49c(0x199)&&typeof Reflect[_0x46c49c(0x116)]=='function')_0x44015e=Reflect['decorate'](_0x477b61,_0x15e0ca,_0x252ca9,_0x10e057);else{for(var _0x1ecc00=_0x477b61[_0x46c49c(0x149)]-0x1;_0x1ecc00>=0x0;_0x1ecc00--)(_0x57390b=_0x477b61[_0x1ecc00])&&(_0x44015e=(_0x431166<0x3?_0x57390b(_0x44015e):_0x431166>0x3?_0x57390b(_0x15e0ca,_0x252ca9,_0x44015e):_0x57390b(_0x15e0ca,_0x252ca9))||_0x44015e);}return _0x431166>0x3&&_0x44015e&&Object[_0x46c49c(0x1a9)](_0x15e0ca,_0x252ca9,_0x44015e),_0x44015e;}let _0x25e891=class extends _0x198dff[_0x5d1a43(0x1b5)]{constructor(_0x35e665,_0xd1d4ae,_0x6cbca6){const _0x127eca=_0x5d1a43;super(),this['_model']=_0x35e665,this[_0x127eca(0xd6)]=_0xd1d4ae,this[_0x127eca(0x172)]=_0x6cbca6,_0x8d49c1(this,'_registrations',new Map()),_0x8d49c1(this,'_formulaKeys',new Map()),_0x8d49c1(this,_0x127eca(0xb4),new _0x104340[(_0x127eca(0x180))]()),_0x8d49c1(this,_0x127eca(0x1f3),this['_presentationChanged$'][_0x127eca(0xcd)]()),this[_0x127eca(0x1a1)](this[_0x127eca(0xd6)][_0x127eca(0x186)][_0x127eca(0x185)](_0x571a0e=>{const _0x24324b=_0x127eca;for(let _0x3aa138 of Object['values'](_0x571a0e))for(let _0x4b5387 of Object['values'](_0x3aa138))_0x4b5387[_0x24324b(0x1a0)](_0x1707ca=>this[_0x24324b(0xee)](_0x1707ca));}));}[_0x5d1a43(0xb6)](_0x5e985a){const _0x413437=_0x5d1a43;var _0x1f8514;let _0xed3cec=_0x5e985a[_0x413437(0x134)](),_0x14cd88=((_0x1f8514=_0x5e985a[_0x413437(0x167)]()[_0x413437(0xeb)])==null||(_0x1f8514=_0x1f8514[_0x413437(0xe9)])==null?void 0x0:_0x1f8514['filter'](_0x1d4100))??[],_0x2655aa=this[_0x413437(0x147)][_0x413437(0x1dd)](_0xed3cec),_0x235e1a=new Set();for(let _0x1f1c13 of _0x14cd88){let _0x658d36=_0x2655aa[_0x1f1c13[_0x413437(0xf5)]];_0x658d36&&(_0x235e1a[_0x413437(0x182)](_0x3d76c5(_0xed3cec,_0x1f1c13[_0x413437(0xf5)])),this[_0x413437(0x133)]({'unitId':_0xed3cec,'rangeId':_0x1f1c13[_0x413437(0xf5)]},_0x658d36));}for(let _0x561676 of Array[_0x413437(0x10c)](this[_0x413437(0x1f8)][_0x413437(0x1e9)]()))_0x561676[_0x413437(0x152)]===_0xed3cec&&!_0x235e1a[_0x413437(0x160)](_0x3d76c5(_0x561676[_0x413437(0x152)],_0x561676[_0x413437(0xf5)]))&&this[_0x413437(0x1e0)](_0x561676);}[_0x5d1a43(0x133)](_0x1a1678,_0x3bfc70){const _0x4b55c2=_0x5d1a43;let _0x59844e=_0x3d76c5(_0x1a1678[_0x4b55c2(0x152)],_0x1a1678[_0x4b55c2(0xf5)]),_0x2f5b43=this[_0x4b55c2(0x1f8)][_0x4b55c2(0xe7)](_0x59844e),_0x3d2b8f=this[_0x4b55c2(0x172)][_0x4b55c2(0x1b3)](_0x1a1678[_0x4b55c2(0x152)]);if(_0x2f5b43&&_0x2f5b43[_0x4b55c2(0x177)]['formula']===_0x3bfc70[_0x4b55c2(0xcc)]&&_0x2f5b43[_0x4b55c2(0x18d)]===_0x3d2b8f){_0x2f5b43['config']=_0x3bfc70;let _0x142990=_0x2f5b43[_0x4b55c2(0x19e)]?this['_registrationService'][_0x4b55c2(0xc5)](_0x2f5b43[_0x4b55c2(0x152)],_0x2f5b43[_0x4b55c2(0x152)],_0x2f5b43[_0x4b55c2(0x19e)])??void 0x0:void 0x0;_0x2f5b43[_0x4b55c2(0x1a8)]=_0x142990,this[_0x4b55c2(0x13c)](_0x59844e,_0x57b122(_0x3bfc70,_0x142990));return;}_0x2f5b43!=null&&_0x2f5b43[_0x4b55c2(0x19e)]&&this['_deleteRegistration'](_0x2f5b43);let _0x539eec={..._0x1a1678,'config':_0x3bfc70,'referenceRevision':_0x3d2b8f,'presentation':_0x57b122(_0x3bfc70,void 0x0)};if(this['_registrations'][_0x4b55c2(0x153)](_0x59844e,_0x539eec),!_0x3bfc70[_0x4b55c2(0xcc)][_0x4b55c2(0x179)]())return;let _0x26e74a=this['_registrationService'][_0x4b55c2(0x1fa)](_0x1a1678[_0x4b55c2(0x152)],_0x1a1678['unitId'],_0x3bfc70['formula'],void 0x0,{'rangeId':_0x1a1678[_0x4b55c2(0xf5)]},_0x54a5ff['OtherFormulaBizType'][_0x4b55c2(0x16d)],_0x1a1678[_0x4b55c2(0xf5)]);_0x539eec['formulaId']=_0x26e74a,this[_0x4b55c2(0x19a)][_0x4b55c2(0x153)](_0x26e74a,_0x59844e);}[_0x5d1a43(0x1e0)](_0x21c715){const _0x2399f1=_0x5d1a43;let _0x5ee851=_0x3d76c5(_0x21c715[_0x2399f1(0x152)],_0x21c715[_0x2399f1(0xf5)]),_0x7707aa=this[_0x2399f1(0x1f8)]['get'](_0x5ee851);_0x7707aa&&(this[_0x2399f1(0xc3)](_0x7707aa),this[_0x2399f1(0x1f8)][_0x2399f1(0x1e4)](_0x5ee851));}['unregisterUnit'](_0xba3c90){const _0x3bfb9c=_0x5d1a43;for(let _0x4d325a of Array[_0x3bfb9c(0x10c)](this[_0x3bfb9c(0x1f8)][_0x3bfb9c(0x1e9)]()))_0x4d325a['unitId']===_0xba3c90&&this[_0x3bfb9c(0x1e0)](_0x4d325a);}[_0x5d1a43(0x1c2)](_0x570a0d){const _0xe7e87c=_0x5d1a43;var _0x4dd5a3;return(_0x4dd5a3=this[_0xe7e87c(0x1f8)][_0xe7e87c(0xe7)](_0x3d76c5(_0x570a0d[_0xe7e87c(0x152)],_0x570a0d[_0xe7e87c(0xf5)])))==null?void 0x0:_0x4dd5a3['presentation'];}[_0x5d1a43(0x169)](_0x1f2809){const _0x4600b7=_0x5d1a43;let _0x3beba1=this['_registrations'][_0x4600b7(0xe7)](_0x3d76c5(_0x1f2809[_0x4600b7(0x152)],_0x1f2809['rangeId']));return _0x3beba1?_0x84c3bb(_0x3beba1):void 0x0;}['getRegisteredFormulas'](){const _0x283583=_0x5d1a43;return Array[_0x283583(0x10c)](this[_0x283583(0x1f8)][_0x283583(0x1e9)](),_0x1a2802=>({'identity':{'unitId':_0x1a2802[_0x283583(0x152)],'rangeId':_0x1a2802[_0x283583(0xf5)]},'config':_0x1a2802[_0x283583(0x177)],'referenceRevision':_0x1a2802['referenceRevision'],..._0x1a2802[_0x283583(0x1a8)]?{'liveResult':_0x1a2802[_0x283583(0x1a8)]}:null}));}[_0x5d1a43(0x170)](){const _0x2244a0=_0x5d1a43;for(let _0x1977d8 of this[_0x2244a0(0x1f8)][_0x2244a0(0x1e9)]())this[_0x2244a0(0xc3)](_0x1977d8);this[_0x2244a0(0x1f8)]['clear'](),this[_0x2244a0(0x19a)][_0x2244a0(0x162)](),this[_0x2244a0(0xb4)][_0x2244a0(0xa8)](),super['dispose']();}[_0x5d1a43(0xee)](_0x408b99){const _0x3ca8bc=_0x5d1a43;let _0x1eeb41=this['_formulaKeys'][_0x3ca8bc(0xe7)](_0x408b99[_0x3ca8bc(0x19e)]),_0x5d1a35=_0x1eeb41?this['_registrations'][_0x3ca8bc(0xe7)](_0x1eeb41):void 0x0;_0x1eeb41&&_0x5d1a35&&(_0x5d1a35[_0x3ca8bc(0x1a8)]=_0x408b99,this[_0x3ca8bc(0x13c)](_0x1eeb41,_0x57b122(_0x5d1a35[_0x3ca8bc(0x177)],_0x408b99)));}[_0x5d1a43(0x13c)](_0x486baf,_0x20e442){const _0x296a1a=_0x5d1a43;var _0xd02d77,_0x2f3686;let _0x56e56c=this[_0x296a1a(0x1f8)][_0x296a1a(0xe7)](_0x486baf);if(!_0x56e56c||_0x31eff9(_0x56e56c['presentation'],_0x20e442))return;let _0x30e2d3=_0x56e56c[_0x296a1a(0xdf)],_0x275373=_0x84c3bb(_0x56e56c);_0x56e56c['presentation']=_0x20e442,this[_0x296a1a(0xb4)]['next']({'unitId':_0x56e56c['unitId'],'rangeId':_0x56e56c[_0x296a1a(0xf5)],'presentation':_0x20e442,'previousPresentation':_0x30e2d3,'result':_0x84c3bb(_0x56e56c),'previousResult':{..._0x275373,..._0x30e2d3,'value':(_0xd02d77=_0x30e2d3['cell'])==null?void 0x0:_0xd02d77['v'],'valueType':((_0x2f3686=_0x30e2d3[_0x296a1a(0x16f)])==null?void 0x0:_0x2f3686['t'])??void 0x0}});}['_deleteRegistration'](_0x12df62){const _0x55c843=_0x5d1a43;_0x12df62['formulaId']&&(this[_0x55c843(0xd6)][_0x55c843(0x15f)](_0x12df62[_0x55c843(0x152)],_0x12df62[_0x55c843(0x152)],[_0x12df62[_0x55c843(0x19e)]]),this['_formulaKeys']['delete'](_0x12df62[_0x55c843(0x19e)]));}};_0x25e891=_0x40a925([_0xbc127b(0x0,(0x0,_0x198dff[_0x5d1a43(0x1b2)])(_0x12d8e9)),_0xbc127b(0x1,(0x0,_0x198dff['Inject'])(_0x54a5ff[_0x5d1a43(0x12f)])),_0xbc127b(0x2,(0x0,_0x198dff[_0x5d1a43(0x1b2)])(_0x3e6ae0[_0x5d1a43(0x11a)]))],_0x25e891);function _0x3d76c5(_0x5818be,_0x3328a3){return _0x5818be+'\x00'+_0x3328a3;}function _0x57b122(_0x29ec91,_0x2e49f2){const _0x4b1090=_0x5d1a43;return(0x0,_0x3e6ae0['resolveFormulaResultPresentation'])({'numberFormat':_0x29ec91[_0x4b1090(0x111)],'lastValue':_0x29ec91[_0x4b1090(0x1df)],'result':_0x2e49f2});}function _0x84c3bb(_0x39dabe){const _0x5b66f3=_0x5d1a43;var _0x5c8260,_0x9d870a,_0x5c47d7;let _0x3cef82=_0x39dabe[_0x5b66f3(0xdf)],_0x2893f9=_0x39dabe['config'][_0x5b66f3(0xcc)]['trim']()?_0x3cef82['stale']||_0x3cef82['cell']==null?_0x5b66f3(0x16a):((_0x5c8260=_0x39dabe['liveResult'])==null?void 0x0:_0x5c8260[_0x5b66f3(0x1f7)])===_0x54a5ff[_0x5b66f3(0x197)][_0x5b66f3(0xc9)]?_0x5b66f3(0x193):_0x5b66f3(0x11f):_0x5b66f3(0x17b);return{..._0x3cef82,'status':_0x2893f9,'value':(_0x9d870a=_0x3cef82[_0x5b66f3(0x16f)])==null?void 0x0:_0x9d870a['v'],'valueType':((_0x5c47d7=_0x3cef82['cell'])==null?void 0x0:_0x5c47d7['t'])??void 0x0};}function _0x31eff9(_0x44453a,_0x75046c){const _0x455fe8=_0x5d1a43;var _0xc975ea,_0x3d9f94,_0x222a69,_0x170253;return _0x44453a[_0x455fe8(0x105)]===_0x75046c[_0x455fe8(0x105)]&&_0x44453a[_0x455fe8(0xc2)]===_0x75046c[_0x455fe8(0xc2)]&&_0x44453a[_0x455fe8(0x194)]===_0x75046c[_0x455fe8(0x194)]&&_0x44453a['source']===_0x75046c[_0x455fe8(0x1ad)]&&_0x44453a[_0x455fe8(0x1b8)]===_0x75046c[_0x455fe8(0x1b8)]&&((_0xc975ea=_0x44453a[_0x455fe8(0x16f)])==null?void 0x0:_0xc975ea['t'])===((_0x3d9f94=_0x75046c[_0x455fe8(0x16f)])==null?void 0x0:_0x3d9f94['t'])&&Object['is']((_0x222a69=_0x44453a[_0x455fe8(0x16f)])==null?void 0x0:_0x222a69['v'],(_0x170253=_0x75046c['cell'])==null?void 0x0:_0x170253['v']);}let _0x222ab9={'id':_0x5d1a43(0x19d),'type':_0x198dff[_0x5d1a43(0x138)]['MUTATION'],'handler':(_0x55b5f5,_0x259d76)=>!(_0x259d76!=null&&_0x259d76[_0x5d1a43(0x152)])||!_0x259d76[_0x5d1a43(0xf5)]||!_0x259d76['config']?!0x1:_0x55b5f5[_0x5d1a43(0xe7)](_0x12d8e9)[_0x5d1a43(0x157)](_0x259d76['unitId'],_0x259d76['rangeId'],_0x259d76[_0x5d1a43(0x177)])},_0x598473={'id':'docs-formula.mutation.remove-formula','type':_0x198dff[_0x5d1a43(0x138)][_0x5d1a43(0x1ec)],'handler':(_0x282af1,_0x2e50f6)=>!(_0x2e50f6!=null&&_0x2e50f6['unitId'])||!_0x2e50f6[_0x5d1a43(0xf5)]?!0x1:_0x282af1[_0x5d1a43(0xe7)](_0x12d8e9)[_0x5d1a43(0x104)](_0x2e50f6[_0x5d1a43(0x152)],_0x2e50f6[_0x5d1a43(0xf5)])},_0x58f8fd={'id':_0x5d1a43(0xbc),'type':_0x198dff[_0x5d1a43(0x138)][_0x5d1a43(0x1ec)],'handler':(_0x42155d,_0x32c6f2)=>!(_0x32c6f2!=null&&_0x32c6f2['unitId'])||!_0x32c6f2['resource']?!0x1:_0x42155d['get'](_0x12d8e9)[_0x5d1a43(0x12e)](_0x32c6f2['unitId'],_0x32c6f2['resource'])},_0x2e16ba={'id':_0x5d1a43(0x192),'type':_0x198dff['CommandType']['MUTATION'],'handler':(_0x30f038,_0x5c829c)=>{const _0x1227d1=_0x5d1a43;if(!(_0x5c829c!=null&&_0x5c829c[_0x1227d1(0x152)])||!_0x5c829c[_0x1227d1(0x17f)][_0x1227d1(0x149)])return!0x1;let _0x3adcb2=_0x30f038[_0x1227d1(0xe7)](_0x12d8e9),_0x543ea7=_0x30f038[_0x1227d1(0xe7)](_0x3e6ae0[_0x1227d1(0x11a)]),_0x502720=_0x3adcb2[_0x1227d1(0x10f)](_0x5c829c['unitId']);if(!_0x502720)return!0x1;let _0x94f303=_0x198dff[_0x1227d1(0x1d0)][_0x1227d1(0xae)](_0x502720),_0x2e8621=!0x1;for(let _0x5d29e4 of _0x5c829c['updates']){var _0x5ee001,_0x3dc634,_0x1287a4,_0x2209a9;let _0x22e5f5=_0x94f303['formulas'][_0x5d29e4[_0x1227d1(0xf5)]];_0x22e5f5&&_0x22e5f5[_0x1227d1(0xcc)]===_0x5d29e4[_0x1227d1(0xf7)]&&((_0x5ee001=_0x22e5f5[_0x1227d1(0x111)])==null?void 0x0:_0x5ee001['pattern'])===_0x5d29e4[_0x1227d1(0x145)]&&_0x543ea7['getRevision'](_0x5c829c[_0x1227d1(0x152)])===_0x5d29e4[_0x1227d1(0x151)]&&(((_0x3dc634=_0x22e5f5[_0x1227d1(0x1df)])==null?void 0x0:_0x3dc634['v'])!==_0x5d29e4[_0x1227d1(0x1df)]['v']||((_0x1287a4=_0x22e5f5[_0x1227d1(0x1df)])==null?void 0x0:_0x1287a4['t'])!==_0x5d29e4[_0x1227d1(0x1df)]['t']||((_0x2209a9=_0x22e5f5[_0x1227d1(0x1df)])==null?void 0x0:_0x2209a9[_0x1227d1(0x194)])!==_0x5d29e4['lastValue'][_0x1227d1(0x194)])&&(_0x22e5f5[_0x1227d1(0x1df)]=_0x198dff[_0x1227d1(0x1d0)][_0x1227d1(0xae)](_0x5d29e4['lastValue']),_0x2e8621=!0x0);}return!_0x2e8621||_0x3adcb2['setResource'](_0x5c829c[_0x1227d1(0x152)],_0x94f303);}},_0x4e176c={'id':_0x5d1a43(0x1d7),'type':_0x198dff[_0x5d1a43(0x138)][_0x5d1a43(0x178)],'handler':(_0x4e6822,_0x18a1bc)=>{const _0x1a0c82=_0x5d1a43;if(!(_0x18a1bc!=null&&_0x18a1bc['formula'][_0x1a0c82(0x179)]()))return!0x1;let _0x42f1a7=_0x19f0f5(_0x4e6822,_0x18a1bc[_0x1a0c82(0x152)],'');if(!_0x42f1a7)return!0x1;let _0x57e4a8=_0x336ae5(_0x18a1bc[_0x1a0c82(0x1e7)],_0x42f1a7[_0x1a0c82(0xeb)],_0x44313b(_0x4e6822,_0x42f1a7[_0x1a0c82(0x152)]));if(!_0x57e4a8)return!0x1;let _0x1f945f=_0xae9bd(_0x4e6822,_0x42f1a7['unitId'],_0x18a1bc[_0x1a0c82(0xcc)],_0x18a1bc[_0x1a0c82(0x1c3)]??[]);if(!_0x1f945f)return!0x1;let _0x5e4343=_0x3b8eac(_0x42f1a7[_0x1a0c82(0xeb)],_0x42f1a7['model'],_0x42f1a7[_0x1a0c82(0x152)]),_0x3c8c1b=_0x189dc9({'documentData':_0x42f1a7[_0x1a0c82(0x1c8)],'resource':_0x42f1a7[_0x1a0c82(0x1d6)],'rangeId':_0x5e4343,'config':{'formula':_0x18a1bc['formula'],..._0x18a1bc[_0x1a0c82(0x111)]?{'numberFormat':_0x18a1bc[_0x1a0c82(0x111)]}:null},'startOffset':_0x57e4a8[_0x1a0c82(0x1c4)],'endOffset':_0x57e4a8[_0x1a0c82(0x1a3)]});if(!_0x3c8c1b)return!0x1;let _0x475b06=(0x0,_0x3e6ae0[_0x1a0c82(0x1ca)])(_0x4e6822,_0x42f1a7[_0x1a0c82(0x152)],_0x1f945f);return!_0x475b06||!_0x482dc3({'accessor':_0x4e6822,'document':_0x42f1a7[_0x1a0c82(0x11c)],'unitId':_0x42f1a7['unitId'],'trigger':_0x4e176c['id'],'rangeId':_0x5e4343,'previousResource':_0x42f1a7['resource'],'nextResource':_0x3c8c1b[_0x1a0c82(0x1cb)],'previousDocumentData':_0x42f1a7['documentData'],'nextDocumentData':_0x3c8c1b['nextDocumentData'],'cursorOffset':_0x3c8c1b[_0x1a0c82(0x15b)],'externalMutations':_0x475b06})?!0x1:{'rangeId':_0x5e4343,'startOffset':_0x3c8c1b['cursorOffset']-0x1,'endOffset':_0x3c8c1b[_0x1a0c82(0x15b)]};}},_0x15e8cf={'id':'docs-formula.command.update','type':_0x198dff[_0x5d1a43(0x138)][_0x5d1a43(0x178)],'handler':(_0x5462f6,_0xcd59ae)=>{const _0xf308d2=_0x5d1a43;if(!(_0xcd59ae!=null&&_0xcd59ae['rangeId'])||!_0xcd59ae[_0xf308d2(0xcc)][_0xf308d2(0x179)]())return!0x1;let _0x4c13ca=_0x19f0f5(_0x5462f6,_0xcd59ae[_0xf308d2(0x152)],''),_0x541517=_0x4c13ca==null?void 0x0:_0x4c13ca[_0xf308d2(0x18f)][_0xf308d2(0x12d)](_0x4c13ca[_0xf308d2(0x152)],_0xcd59ae['rangeId']),_0x11ddb6=_0x4c13ca?_0x10498e(_0x4c13ca[_0xf308d2(0x1c8)][_0xf308d2(0xeb)],_0xcd59ae[_0xf308d2(0xf5)]):void 0x0;if(!_0x4c13ca||!_0x541517||!_0x11ddb6)return!0x1;let _0x5462a4=_0xae9bd(_0x5462f6,_0x4c13ca['unitId'],_0xcd59ae[_0xf308d2(0xcc)],_0xcd59ae['externalReferences']??[]);if(!_0x5462a4)return!0x1;let _0x427775=(0x0,_0x3e6ae0[_0xf308d2(0x1ca)])(_0x5462f6,_0x4c13ca[_0xf308d2(0x152)],_0x5462a4);if(!_0x427775)return!0x1;let _0x1eb057=_0x257295(_0x4c13ca['resource']);return _0x1eb057[_0xf308d2(0xaf)][_0xcd59ae[_0xf308d2(0xf5)]]={'formula':_0xcd59ae[_0xf308d2(0xcc)],..._0xcd59ae['numberFormat']?{'numberFormat':_0xcd59ae[_0xf308d2(0x111)]}:_0x541517[_0xf308d2(0x111)]?{'numberFormat':_0x541517['numberFormat']}:null},_0x482dc3({'accessor':_0x5462f6,'document':_0x4c13ca[_0xf308d2(0x11c)],'unitId':_0x4c13ca['unitId'],'trigger':_0x15e8cf['id'],'rangeId':_0xcd59ae['rangeId'],'previousResource':_0x4c13ca[_0xf308d2(0x1d6)],'nextResource':_0x1eb057,'cursorOffset':_0x11ddb6[_0xf308d2(0x171)]+0x1,'externalMutations':_0x427775});}},_0x146b8b={'id':_0x5d1a43(0xf1),'type':_0x198dff[_0x5d1a43(0x138)][_0x5d1a43(0x178)],'handler':(_0x43f6f5,_0x66bb55)=>{const _0x1aea1f=_0x5d1a43;if(!(_0x66bb55!=null&&_0x66bb55['rangeId']))return!0x1;let _0x3ce52f=_0x19f0f5(_0x43f6f5,_0x66bb55[_0x1aea1f(0x152)],''),_0x80fc5d=_0x3ce52f==null?void 0x0:_0x3ce52f[_0x1aea1f(0x18f)][_0x1aea1f(0x12d)](_0x3ce52f['unitId'],_0x66bb55[_0x1aea1f(0xf5)]),_0x28bb1f=_0x3ce52f?_0x10498e(_0x3ce52f[_0x1aea1f(0x1c8)]['body'],_0x66bb55['rangeId']):void 0x0;if(!_0x3ce52f||!_0x80fc5d||!_0x28bb1f)return!0x1;let _0x1663ed=_0x257295(_0x3ce52f['resource']);return _0x1663ed[_0x1aea1f(0xaf)][_0x66bb55['rangeId']]={..._0x80fc5d,..._0x66bb55[_0x1aea1f(0x111)]?{'numberFormat':_0x66bb55[_0x1aea1f(0x111)]}:null},_0x66bb55[_0x1aea1f(0x111)]||delete _0x1663ed[_0x1aea1f(0xaf)][_0x66bb55[_0x1aea1f(0xf5)]][_0x1aea1f(0x111)],_0x482dc3({'accessor':_0x43f6f5,'document':_0x3ce52f[_0x1aea1f(0x11c)],'unitId':_0x3ce52f['unitId'],'trigger':_0x146b8b['id'],'rangeId':_0x66bb55[_0x1aea1f(0xf5)],'previousResource':_0x3ce52f[_0x1aea1f(0x1d6)],'nextResource':_0x1663ed,'cursorOffset':_0x28bb1f[_0x1aea1f(0x171)]+0x1,'externalMutations':{}});}},_0x41b076={'id':_0x5d1a43(0xc4),'type':_0x198dff['CommandType'][_0x5d1a43(0x178)],'handler':(_0x25454d,_0x54f0c9)=>_0x46106e(_0x25454d,_0x54f0c9,'',_0x41b076['id'])},_0x2367ea={'id':_0x5d1a43(0x1e3),'type':_0x198dff[_0x5d1a43(0x138)][_0x5d1a43(0x178)],'handler':(_0x141c69,_0x3e00cc)=>_0x46106e(_0x141c69,_0x3e00cc,(_0x3e00cc==null?void 0x0:_0x3e00cc[_0x5d1a43(0x105)])??'',_0x2367ea['id'])},_0x4eac98={'id':_0x5d1a43(0xaa),'type':_0x198dff[_0x5d1a43(0x138)][_0x5d1a43(0x178)],'handler':(_0x1bcaa9,_0x131964)=>{const _0x43ea68=_0x5d1a43;if(!(_0x131964!=null&&_0x131964['rangeId']))return!0x1;let _0x189b1c=_0x19f0f5(_0x1bcaa9,_0x131964['unitId'],'');if(!_0x189b1c)return!0x1;let _0x36111f=_0x1bcaa9[_0x43ea68(0xe7)](_0x25e891)[_0x43ea68(0x169)]({'unitId':_0x189b1c[_0x43ea68(0x152)],'rangeId':_0x131964[_0x43ea68(0xf5)]});return _0x36111f?_0x46106e(_0x1bcaa9,_0x131964,_0x36111f[_0x43ea68(0x105)],_0x4eac98['id']):!0x1;}};function _0x46106e(_0x367e12,_0x4a78b7,_0x266eed,_0x2f790a){const _0x4359f3=_0x5d1a43;if(!(_0x4a78b7!=null&&_0x4a78b7[_0x4359f3(0xf5)]))return!0x1;let _0x4aad62=_0x19f0f5(_0x367e12,_0x4a78b7[_0x4359f3(0x152)],'');if(!_0x4aad62)return!0x1;let _0x43e8e0=_0x206593({'documentData':_0x4aad62[_0x4359f3(0x1c8)],'resource':_0x4aad62['resource'],'rangeId':_0x4a78b7['rangeId'],'text':_0x266eed});return _0x43e8e0?_0x482dc3({'accessor':_0x367e12,'document':_0x4aad62[_0x4359f3(0x11c)],'unitId':_0x4aad62[_0x4359f3(0x152)],'trigger':_0x2f790a,'rangeId':_0x4a78b7[_0x4359f3(0xf5)],'previousResource':_0x4aad62['resource'],'nextResource':_0x43e8e0[_0x4359f3(0x1cb)],'previousDocumentData':_0x4aad62[_0x4359f3(0x1c8)],'nextDocumentData':_0x43e8e0['nextDocumentData'],'cursorOffset':_0x43e8e0[_0x4359f3(0x15b)],'externalMutations':{}}):!0x1;}function _0x19f0f5(_0x301bc7,_0x28d703,_0x1edf69){const _0x25f1b4=_0x5d1a43;if(_0x1edf69)return null;let _0x45c52c=_0x301bc7[_0x25f1b4(0xe7)](_0x198dff[_0x25f1b4(0x1f0)]),_0x721312=(_0x28d703?_0x45c52c[_0x25f1b4(0xef)](_0x28d703,_0x198dff[_0x25f1b4(0x115)][_0x25f1b4(0x1d3)]):_0x45c52c[_0x25f1b4(0xd7)](_0x198dff[_0x25f1b4(0x115)][_0x25f1b4(0x1d3)]))??null;if(!_0x721312)return null;let _0x757dcb=_0x721312[_0x25f1b4(0x167)](),_0x46ff86=_0x757dcb[_0x25f1b4(0xeb)];if(_0x757dcb[_0x25f1b4(0x19f)]||!_0x46ff86)return null;let _0x18d4be=_0x301bc7[_0x25f1b4(0xe7)](_0x12d8e9);return _0x18d4be[_0x25f1b4(0x1c9)](_0x721312[_0x25f1b4(0x134)]())?null:{'document':_0x721312,'body':_0x46ff86,'documentData':_0x757dcb,'model':_0x18d4be,'resource':_0x18d4be['getResource'](_0x721312[_0x25f1b4(0x134)]())??_0x2a5f69(),'unitId':_0x721312[_0x25f1b4(0x134)]()};}function _0x44313b(_0x4ae7e7,_0x4a4e2d){const _0x5b4776=_0x5d1a43;var _0x5cb8cb;return(_0x5cb8cb=_0x4ae7e7[_0x5b4776(0xe7)](_0x440871[_0x5b4776(0x187)])[_0x5b4776(0xa7)]({'subUnitId':_0x4a4e2d,'unitId':_0x4a4e2d}))==null?void 0x0:_0x5cb8cb[0x0];}function _0x336ae5(_0x4f325b,_0x28191c,_0x25444c){const _0x2c147b=_0x5d1a43;if((_0x4f325b==null?void 0x0:_0x4f325b[_0x2c147b(0xec)])===_0x2c147b(0x1ae)){var _0x126a8b;let _0x2066f3=((_0x126a8b=_0x28191c['paragraphs'])==null?void 0x0:_0x126a8b[_0x2c147b(0x1f6)](_0x4cb73d=>_0x4cb73d[_0x2c147b(0x1d4)]===_0x4f325b[_0x2c147b(0x1d4)]))??[];if(_0x2066f3['length']!==0x1)return null;let _0x519196=_0x2066f3[0x0],_0x315e31=(0x0,_0x198dff[_0x2c147b(0xe3)])(_0x28191c,_0x519196),_0x158c5f=_0x519196[_0x2c147b(0xb0)]-_0x315e31,_0x4fd214=_0x4f325b[_0x2c147b(0x1dc)]==='end'?_0x158c5f:_0x4f325b[_0x2c147b(0x1dc)];if(!Number[_0x2c147b(0x1bc)](_0x4fd214)||_0x4fd214<0x0||_0x4fd214>_0x158c5f)return null;let _0x45be96=_0x315e31+_0x4fd214;return{'startOffset':_0x45be96,'endOffset':_0x45be96};}if((_0x4f325b==null?void 0x0:_0x4f325b[_0x2c147b(0xec)])===_0x2c147b(0x19c))return!Number[_0x2c147b(0x1bc)](_0x4f325b[_0x2c147b(0x1c4)])||!Number[_0x2c147b(0x1bc)](_0x4f325b[_0x2c147b(0x1a3)])?null:{'startOffset':Math['min'](_0x4f325b[_0x2c147b(0x1c4)],_0x4f325b[_0x2c147b(0x1a3)]),'endOffset':Math['max'](_0x4f325b[_0x2c147b(0x1c4)],_0x4f325b[_0x2c147b(0x1a3)])};let _0x21ba19=(_0x4f325b==null?void 0x0:_0x4f325b[_0x2c147b(0xec)])===_0x2c147b(0xd1)?_0x4f325b['selection']:_0x25444c;return!_0x21ba19||_0x21ba19['segmentId']?null:{'startOffset':Math[_0x2c147b(0x129)](_0x21ba19[_0x2c147b(0x1c4)],_0x21ba19[_0x2c147b(0x1a3)]),'endOffset':Math[_0x2c147b(0x10b)](_0x21ba19[_0x2c147b(0x1c4)],_0x21ba19[_0x2c147b(0x1a3)])};}function _0xae9bd(_0x16d327,_0x2d4cba,_0x4f440d,_0x17a773){const _0x5da2d8=_0x5d1a43;let _0x4a0605=_0x16d327[_0x5da2d8(0xe7)](_0x54a5ff[_0x5da2d8(0x17e)]),_0x30f20f=_0x4f440d[_0x5da2d8(0x190)]('=')?_0x4f440d[_0x5da2d8(0xc6)](0x1):_0x4f440d,_0x19ab0c=_0x4a0605[_0x5da2d8(0x130)](_0x30f20f);if(!_0x19ab0c)return null;let _0x5ea50b=_0x16d327[_0x5da2d8(0xe7)](_0x3e6ae0[_0x5da2d8(0x11a)]),_0x44a9a9=(0x0,_0x3e6ae0[_0x5da2d8(0xbf)])({'qualifiers':(0x0,_0x3e6ae0[_0x5da2d8(0x108)])(_0x19ab0c),'explicitReferences':_0x17a773??[],'resolveBinding':_0x3a3dfa=>_0x5ea50b[_0x5da2d8(0x124)](_0x2d4cba,_0x3a3dfa)});return _0x44a9a9[_0x5da2d8(0x1f7)]===_0x5da2d8(0xd2)?_0x44a9a9['references']:null;}function _0x3b8eac(_0xf57623,_0x2a765d,_0x27e502){const _0x44679a=_0x5d1a43;var _0x222ecc;let _0xf16689=(0x0,_0x198dff['generateRandomId'])(0x6);for(;_0xf57623!=null&&(_0x222ecc=_0xf57623['customRanges'])!=null&&_0x222ecc[_0x44679a(0x148)](_0x2b9b20=>_0x2b9b20[_0x44679a(0xf5)]===_0xf16689)||_0x2a765d[_0x44679a(0x12d)](_0x27e502,_0xf16689);)_0xf16689=(0x0,_0x198dff['generateRandomId'])(0x6);return _0xf16689;}function _0x189dc9(_0xc129a0){try{return _0x4452fa(_0xc129a0);}catch(_0x1d1719){if(_0x1d1719 instanceof _0x428807)return null;throw _0x1d1719;}}function _0x365acd(_0x19f464){const _0x8ced85=_0x5d1a43;let _0x2fec77=_0x19f464['previousDocumentData']&&_0x19f464[_0x8ced85(0x184)]?_0x116776(_0x19f464['document'],_0x19f464['unitId'],_0x19f464['previousDocumentData'],_0x19f464['nextDocumentData'],_0x19f464[_0x8ced85(0x15b)],_0x19f464[_0x8ced85(0x175)]):null;return _0x19f464[_0x8ced85(0xcf)]&&_0x19f464['nextDocumentData']&&!_0x2fec77?null:{'documentRedo':_0x2fec77,'resourceRedo':{'id':_0x58f8fd['id'],'params':{'unitId':_0x19f464[_0x8ced85(0x152)],'resource':_0x19f464[_0x8ced85(0x1cb)]}},'resourceUndo':{'id':_0x58f8fd['id'],'params':{'unitId':_0x19f464['unitId'],'resource':_0x19f464[_0x8ced85(0x15d)]}}};}function _0x55a7f7(_0x1229b3,_0x3206c1,_0x17ef1c,_0x2bd893){const _0x226f0e=_0x5d1a43;_0x2bd893[_0x226f0e(0x1c1)]({'id':_0x1229b3[_0x226f0e(0x175)]+':'+_0x1229b3['rangeId'],'unitID':_0x1229b3[_0x226f0e(0x152)],'redoMutations':[..._0x1229b3[_0x226f0e(0xda)][_0x226f0e(0x1ba)]?[_0x1229b3[_0x226f0e(0xda)]['redoMutation']]:[],..._0x3206c1['documentRedo']?[_0x3206c1[_0x226f0e(0xba)]]:[],_0x3206c1[_0x226f0e(0x1d5)]],'undoMutations':[_0x3206c1[_0x226f0e(0x1e5)],..._0x17ef1c?[_0x17ef1c]:[],..._0x1229b3['externalMutations']['undoMutation']?[_0x1229b3[_0x226f0e(0xda)]['undoMutation']]:[]]});}function _0x482dc3(_0x431f7e){const _0x5df262=_0x5d1a43;let _0x5f0ce1=_0x431f7e[_0x5df262(0xb7)][_0x5df262(0xe7)](_0x198dff[_0x5df262(0x16e)]),_0x3159d0=_0x431f7e[_0x5df262(0xb7)]['get'](_0x198dff['IUndoRedoService']),_0xf16286=_0x431f7e['accessor'][_0x5df262(0xe7)](_0x440871[_0x5df262(0x187)]),_0xa0ebb7=_0x365acd(_0x431f7e);if(!_0xa0ebb7)return!0x1;let _0x3959ae=!0x1,_0x24e1fb=null,_0x2dda97=!0x1;try{if(_0x431f7e[_0x5df262(0xda)][_0x5df262(0x1ba)]){if(!_0x5f0ce1['syncExecuteCommand'](_0x431f7e['externalMutations'][_0x5df262(0x1ba)]['id'],_0x431f7e[_0x5df262(0xda)][_0x5df262(0x1ba)][_0x5df262(0x191)]))return!0x1;_0x3959ae=!0x0;}if(_0xa0ebb7['documentRedo']){let _0xc22ac2=_0x5f0ce1[_0x5df262(0xd5)](_0xa0ebb7['documentRedo']['id'],_0xa0ebb7[_0x5df262(0xba)][_0x5df262(0x191)]);if(!_0xc22ac2)return _0x2ab4d1(_0x5f0ce1,_0x431f7e[_0x5df262(0xda)],_0x3959ae),!0x1;_0x24e1fb={'id':_0x440871[_0x5df262(0x141)]['id'],'params':{..._0xc22ac2,'noHistory':!0x0,'noNeedSetTextRange':!0x0,'segmentId':''}};}if(!_0x5f0ce1[_0x5df262(0xd5)](_0xa0ebb7['resourceRedo']['id'],_0xa0ebb7[_0x5df262(0x1d5)]['params']))return _0x14cab7(_0x5f0ce1,_0x24e1fb),_0x2ab4d1(_0x5f0ce1,_0x431f7e['externalMutations'],_0x3959ae),!0x1;_0x2dda97=!0x0,_0x55a7f7(_0x431f7e,_0xa0ebb7,_0x24e1fb,_0x3159d0);}catch(_0x41a611){throw _0x2dda97&&_0x5f0ce1[_0x5df262(0xd5)](_0xa0ebb7[_0x5df262(0x1e5)]['id'],_0xa0ebb7['resourceUndo'][_0x5df262(0x191)]),_0x14cab7(_0x5f0ce1,_0x24e1fb),_0x2ab4d1(_0x5f0ce1,_0x431f7e[_0x5df262(0xda)],_0x3959ae),_0x41a611;}return _0xf16286[_0x5df262(0xf6)]([{'startOffset':_0x431f7e[_0x5df262(0x15b)],'endOffset':_0x431f7e['cursorOffset'],'segmentId':''}],{'unitId':_0x431f7e[_0x5df262(0x152)],'subUnitId':_0x431f7e[_0x5df262(0x152)]},!0x1,{[_0x440871[_0x5df262(0x17c)]]:!0x0}),!0x0;}function _0x116776(_0xeb229,_0x3ba13e,_0x462e41,_0x230f78,_0x3a0173,_0x5b6ec9){const _0x4be65c=_0x5d1a43;let _0x2441a6=_0x223f9b(_0x462e41,_0x230f78,(0x0,_0x198dff[_0x4be65c(0x13b)])(_0xeb229,''));return _0x2441a6?{'id':_0x440871[_0x4be65c(0x141)]['id'],'params':{'unitId':_0x3ba13e,'actions':_0x2441a6,'segmentId':'','textRanges':[{'startOffset':_0x3a0173,'endOffset':_0x3a0173,'collapsed':!0x0,'segmentId':''}],'isEditing':!0x1,'noHistory':!0x0,'noNeedSetTextRange':!0x0,'trigger':_0x5b6ec9}}:null;}function _0x14cab7(_0x1459bb,_0x48d52b){const _0x64da89=_0x5d1a43;_0x48d52b&&_0x1459bb[_0x64da89(0xd5)](_0x48d52b['id'],_0x48d52b[_0x64da89(0x191)]);}function _0x2ab4d1(_0x669168,_0x2bbb2d,_0x21e9fd){const _0x112681=_0x5d1a43;_0x21e9fd&&_0x2bbb2d[_0x112681(0xe0)]&&_0x669168[_0x112681(0xd5)](_0x2bbb2d['undoMutation']['id'],_0x2bbb2d[_0x112681(0xe0)]['params']);}function _0x223f9b(_0xf3f4f1,_0x49ffa9,_0x4314e3){const _0x27c31a=_0x5d1a43;let _0x35b4c5=_0xf3f4f1[_0x27c31a(0xeb)],_0x208286=_0x49ffa9['body'],_0xa9a229=_0x424085(_0x35b4c5==null?void 0x0:_0x35b4c5['dataStream'],_0x208286==null?void 0x0:_0x208286['dataStream']);if(!_0xa9a229||!_0x208286)return null;let _0x360bf4=new _0x198dff['TextX']();return _0x360bf4[_0x27c31a(0x1ed)](_0xa9a229[_0x27c31a(0x159)]),_0xa9a229[_0x27c31a(0x12a)]>0x0&&_0x360bf4['insert'](_0xa9a229[_0x27c31a(0x12a)],(0x0,_0x198dff[_0x27c31a(0x139)])(_0x208286,_0xa9a229[_0x27c31a(0x159)],_0xa9a229[_0x27c31a(0x159)]+_0xa9a229[_0x27c31a(0x12a)],!0x1)),_0xa9a229[_0x27c31a(0xca)]>0x0&&_0x360bf4[_0x27c31a(0x1e4)](_0xa9a229[_0x27c31a(0xca)]),_0x198dff[_0x27c31a(0x14a)]['getInstance']()[_0x27c31a(0x103)](_0x360bf4[_0x27c31a(0xdd)](),_0x4314e3);}function _0x424085(_0x1e10bf,_0x24cfb7){const _0x5db9ce=_0x5d1a43;if(_0x1e10bf==null||_0x24cfb7==null||_0x1e10bf===_0x24cfb7)return null;let _0x2163f1=0x0;for(;_0x2163f1<_0x1e10bf[_0x5db9ce(0x149)]&&_0x2163f1<_0x24cfb7[_0x5db9ce(0x149)]&&_0x1e10bf[_0x2163f1]===_0x24cfb7[_0x2163f1];)_0x2163f1+=0x1;let _0x1f29bd=_0x1e10bf[_0x5db9ce(0x149)],_0x149b6d=_0x24cfb7['length'];for(;_0x1f29bd>_0x2163f1&&_0x149b6d>_0x2163f1&&_0x1e10bf[_0x1f29bd-0x1]===_0x24cfb7[_0x149b6d-0x1];)--_0x1f29bd,--_0x149b6d;return{'start':_0x2163f1,'deleteLength':_0x1f29bd-_0x2163f1,'insertLength':_0x149b6d-_0x2163f1};}function _0x257295(_0x19e919){const _0x16f74b=_0x5d1a43;return{'schemaVersion':0x1,'formulas':Object[_0x16f74b(0xce)](Object[_0x16f74b(0xff)](_0x19e919[_0x16f74b(0xaf)])[_0x16f74b(0x1ee)](([_0x4b753d,_0x2c40e4])=>[_0x4b753d,{..._0x2c40e4,..._0x2c40e4[_0x16f74b(0x111)]?{'numberFormat':{..._0x2c40e4[_0x16f74b(0x111)]}}:null,..._0x2c40e4[_0x16f74b(0x1df)]?{'lastValue':{..._0x2c40e4[_0x16f74b(0x1df)]}}:null}]))};}let _0x22b39b=class extends _0x198dff[_0x5d1a43(0x1b5)]{constructor(_0x1a6966,_0x5a61fb,_0x5e475d,_0x4aeed){const _0x2761b6=_0x5d1a43;super(),this[_0x2761b6(0x118)]=_0x1a6966,this[_0x2761b6(0x131)]=_0x5a61fb,this[_0x2761b6(0x147)]=_0x5e475d,this[_0x2761b6(0x165)]=_0x4aeed,_0x8d49c1(this,'_pendingUnitIds',new Set()),_0x8d49c1(this,_0x2761b6(0x1fb),!0x1),_0x8d49c1(this,_0x2761b6(0x125),!0x1),this[_0x2761b6(0x118)][_0x2761b6(0xf0)](_0x198dff[_0x2761b6(0x115)][_0x2761b6(0x1d3)])[_0x2761b6(0x1a0)](_0x4019c7=>this[_0x2761b6(0x165)]['syncUnit'](_0x4019c7)),this['disposeWithMe'](this[_0x2761b6(0x147)][_0x2761b6(0x1af)][_0x2761b6(0x185)](({unitId:_0x3a482c})=>this['_syncUnit'](_0x3a482c))),this[_0x2761b6(0x1a1)](this[_0x2761b6(0x118)][_0x2761b6(0x1d2)][_0x2761b6(0x185)](({unit:_0x5c10e6})=>{const _0x3089b0=_0x2761b6;_0x5c10e6['type']===_0x198dff[_0x3089b0(0x115)][_0x3089b0(0x1d3)]&&this[_0x3089b0(0xc1)](_0x5c10e6[_0x3089b0(0x134)]());})),this[_0x2761b6(0x1a1)](this[_0x2761b6(0x118)][_0x2761b6(0x1d8)][_0x2761b6(0x185)](_0x2be396=>{const _0x31aed0=_0x2761b6;this['_service'][_0x31aed0(0x117)](_0x2be396[_0x31aed0(0x134)]());})),this[_0x2761b6(0x1a1)](this[_0x2761b6(0x131)][_0x2761b6(0x156)](_0x15dcb5=>{const _0x239c3e=_0x2761b6;if(_0x15dcb5['id']===_0x440871[_0x239c3e(0x141)]['id']&&_0x15277f(_0x15dcb5[_0x239c3e(0x191)])){let _0xca6f37=_0x15dcb5[_0x239c3e(0x191)];_0xca6f37[_0x239c3e(0x1a6)]||this[_0x239c3e(0x107)](_0xca6f37[_0x239c3e(0x152)]);}}));}[_0x5d1a43(0x170)](){const _0xd61418=_0x5d1a43;this[_0xd61418(0x125)]=!0x0,super[_0xd61418(0x170)]();}[_0x5d1a43(0xc1)](_0x50acd4){const _0x43847e=_0x5d1a43;this['_pendingUnitIds']['add'](_0x50acd4),!this[_0x43847e(0x1fb)]&&(this[_0x43847e(0x1fb)]=!0x0,queueMicrotask(()=>{const _0x383937=_0x43847e;if(this[_0x383937(0x1fb)]=!0x1,this['_isDisposed'])return;let _0x451070=Array[_0x383937(0x10c)](this[_0x383937(0x163)]);this['_pendingUnitIds'][_0x383937(0x162)](),_0x451070[_0x383937(0x1a0)](_0x58db7e=>this[_0x383937(0x107)](_0x58db7e));}));}[_0x5d1a43(0x107)](_0x50e278){const _0x52d65e=_0x5d1a43;let _0x5ab8a1=this[_0x52d65e(0x118)]['getUnit'](_0x50e278,_0x198dff[_0x52d65e(0x115)][_0x52d65e(0x1d3)]);_0x5ab8a1&&this[_0x52d65e(0x165)][_0x52d65e(0xb6)](_0x5ab8a1);}};_0x22b39b=_0x40a925([_0xbc127b(0x0,_0x198dff[_0x5d1a43(0x1f0)]),_0xbc127b(0x1,_0x198dff[_0x5d1a43(0x16e)]),_0xbc127b(0x2,(0x0,_0x198dff[_0x5d1a43(0x1b2)])(_0x12d8e9)),_0xbc127b(0x3,(0x0,_0x198dff[_0x5d1a43(0x1b2)])(_0x25e891))],_0x22b39b);function _0x15277f(_0x3fe7be){const _0x44b4bf=_0x5d1a43;return typeof _0x3fe7be==_0x44b4bf(0x199)&&!!_0x3fe7be&&_0x44b4bf(0x152)in _0x3fe7be&&typeof _0x3fe7be['unitId']==_0x44b4bf(0x16c)&&(!(_0x44b4bf(0x1a6)in _0x3fe7be)||_0x3fe7be[_0x44b4bf(0x1a6)]===void 0x0||typeof _0x3fe7be[_0x44b4bf(0x1a6)]==_0x44b4bf(0x16c));}let _0x3e46fa=class extends _0x198dff[_0x5d1a43(0x1b5)]{constructor(_0x7b1364,_0x3ac5f6){const _0x3a79bc=_0x5d1a43;super(),this[_0x3a79bc(0x10e)]=_0x7b1364,this[_0x3a79bc(0xe8)]=_0x3ac5f6,this[_0x3a79bc(0x1a1)](this[_0x3a79bc(0x10e)][_0x3a79bc(0x1f4)]({'pluginName':_0x477554,'businesses':[_0x198dff[_0x3a79bc(0x115)][_0x3a79bc(0x1d3)]],'toJson':_0x241437=>JSON['stringify'](this[_0x3a79bc(0xe8)]['serialize'](_0x241437)),'parseJson':_0x5bced6=>JSON[_0x3a79bc(0x112)](_0x5bced6),'onLoad':(_0x19de83,_0x5ea013)=>{const _0x43db44=_0x3a79bc;this[_0x43db44(0xe8)]['load'](_0x19de83,_0x5ea013);},'onUnLoad':_0x7151ad=>this[_0x3a79bc(0xe8)][_0x3a79bc(0x1f1)](_0x7151ad)}));}};_0x3e46fa=_0x40a925([_0xbc127b(0x0,_0x198dff[_0x5d1a43(0x11d)]),_0xbc127b(0x1,(0x0,_0x198dff['Inject'])(_0x12d8e9))],_0x3e46fa);var _0x40d9c1=_0x5d1a43(0xfa),_0x38c9f7=_0x5d1a43(0xb2);let _0xdc4d8b={},_0x46658f=class extends _0x198dff[_0x5d1a43(0x1b5)]{constructor(_0x2513a9,_0x3a4422,_0x270d4b){const _0x97e619=_0x5d1a43;super(),this[_0x97e619(0x1c0)]=_0x2513a9,this[_0x97e619(0x12b)]=_0x3a4422,this['disposeWithMe'](_0x270d4b[_0x97e619(0x133)]({'resolve':(_0x44f3fb,_0x3cc835)=>{const _0x44404c=_0x97e619;var _0x434390;return((_0x434390=_0x3cc835[_0x44404c(0xe9)])==null?void 0x0:_0x434390[_0x44404c(0x1f6)](_0x1d4100)['map'](_0x18f74d=>({'startOffset':_0x18f74d['startIndex'],'endOffset':_0x18f74d[_0x44404c(0x171)]+0x1,'text':this[_0x44404c(0x12c)](_0x44f3fb,_0x18f74d[_0x44404c(0xf5)])})))??[];}})),this[_0x97e619(0x1a1)](this[_0x97e619(0x12b)][_0x97e619(0x1f3)][_0x97e619(0x185)](({unitId:_0x2aebe8})=>{const _0x55c3a8=_0x97e619;_0x270d4b[_0x55c3a8(0x16b)](_0x2aebe8);}));}['resolveFormula'](_0x1c41ae,_0x27fb11){const _0x40b556=_0x5d1a43;var _0x1ae5c6;return((_0x1ae5c6=this[_0x40b556(0x12b)]['getResult']({'unitId':_0x1c41ae,'rangeId':_0x27fb11}))==null?void 0x0:_0x1ae5c6[_0x40b556(0x105)])??'';}[_0x5d1a43(0x1e8)](_0x541fe1,_0x2046ee,_0x592869){const _0x1d4cca=_0x5d1a43;var _0xaef105;let _0x1c6450=this[_0x1d4cca(0x1c0)][_0x1d4cca(0xef)](_0x541fe1,_0x198dff[_0x1d4cca(0x115)][_0x1d4cca(0x1d3)]),_0x5753c8=_0x1c6450==null?void 0x0:_0x1c6450[_0x1d4cca(0x143)]();if(!_0x5753c8)return'';let _0x1b0b3c=_0x5753c8[_0x1d4cca(0xf2)][_0x1d4cca(0xc6)](_0x2046ee,_0x592869),_0x13ba05=((_0xaef105=_0x5753c8[_0x1d4cca(0xe9)])==null?void 0x0:_0xaef105[_0x1d4cca(0x1f6)](_0x23125f=>_0x1d4100(_0x23125f)&&_0x23125f[_0x1d4cca(0xb0)]>=_0x2046ee&&_0x23125f[_0x1d4cca(0x171)]<_0x592869)[_0x1d4cca(0x128)]((_0x276338,_0xe205e3)=>_0xe205e3[_0x1d4cca(0xb0)]-_0x276338[_0x1d4cca(0xb0)]))??[];for(let _0x67ab4 of _0x13ba05){let _0x497009=_0x67ab4[_0x1d4cca(0xb0)]-_0x2046ee,_0x43edb0=_0x67ab4[_0x1d4cca(0x171)]-_0x2046ee+0x1;_0x1b0b3c=''+_0x1b0b3c[_0x1d4cca(0xc6)](0x0,_0x497009)+this[_0x1d4cca(0x12c)](_0x541fe1,_0x67ab4[_0x1d4cca(0xf5)])+_0x1b0b3c[_0x1d4cca(0xc6)](_0x43edb0);}return _0x1b0b3c;}[_0x5d1a43(0x188)](_0x35ac8c){return _0x285f9a(_0x35ac8c);}[_0x5d1a43(0x176)](_0x13b8d6,_0x5eae2e,_0x55dadf={}){const _0x58182e=_0x5d1a43;var _0x2884b9;return _0x143ae8({'id':_0x13b8d6,'body':_0x5eae2e,'documentStyle':{}},(((_0x2884b9=_0x5eae2e[_0x58182e(0xe9)])==null?void 0x0:_0x2884b9[_0x58182e(0x1f6)](_0x1d4100))??[])['map'](_0x19a6f6=>({'rangeId':_0x19a6f6['rangeId'],'text':_0x55dadf[_0x19a6f6[_0x58182e(0xf5)]]??this[_0x58182e(0x12c)](_0x13b8d6,_0x19a6f6[_0x58182e(0xf5)])})))[_0x58182e(0xeb)]??{'dataStream':''};}};_0x46658f=_0x40a925([_0xbc127b(0x0,_0x198dff[_0x5d1a43(0x1f0)]),_0xbc127b(0x1,(0x0,_0x198dff[_0x5d1a43(0x1b2)])(_0x25e891)),_0xbc127b(0x2,(0x0,_0x198dff['Inject'])(_0x440871[_0x5d1a43(0x135)]))],_0x46658f);function _0x285f9a(_0x3d1354){const _0x23071b=_0x5d1a43;var _0x18eadb,_0x1addcd;let _0xdaad=_0xde1ee8(_0x3d1354),_0x189b7c=_0x143ae8(_0x3d1354,(((_0x18eadb=_0x3d1354[_0x23071b(0xeb)])==null||(_0x18eadb=_0x18eadb[_0x23071b(0xe9)])==null?void 0x0:_0x18eadb['filter'](_0x1d4100))??[])[_0x23071b(0x1ee)](_0x1de110=>({'rangeId':_0x1de110[_0x23071b(0xf5)],'text':_0x2af186(_0xdaad==null?void 0x0:_0xdaad[_0x23071b(0xaf)][_0x1de110[_0x23071b(0xf5)]])})));return _0x189b7c['resources']=(_0x1addcd=_0x189b7c['resources'])==null?void 0x0:_0x1addcd[_0x23071b(0x1f6)](_0x1c1268=>_0x1c1268[_0x23071b(0x11b)]!==_0x477554),_0x189b7c;}function _0xde1ee8(_0x366f2c){const _0x3f81e4=_0x5d1a43;var _0x2cb21e;let _0x1a5938=(_0x2cb21e=_0x366f2c['resources'])==null||(_0x2cb21e=_0x2cb21e[_0x3f81e4(0x1a2)](_0x37eb2c=>_0x37eb2c[_0x3f81e4(0x11b)]==='DOC_FORMULA_PLUGIN'))==null?void 0x0:_0x2cb21e[_0x3f81e4(0x1ef)];if(_0x1a5938)try{let _0x3a7464=JSON[_0x3f81e4(0x112)](_0x1a5938);return _0xca39c2(_0x3a7464)?_0x3a7464:void 0x0;}catch{return;}}function _0x2af186(_0xea3843){const _0x21dcd7=_0x5d1a43;return _0xea3843?(0x0,_0x3e6ae0[_0x21dcd7(0x183)])({'lastValue':_0xea3843[_0x21dcd7(0x1df)],'numberFormat':_0xea3843[_0x21dcd7(0x111)]})[_0x21dcd7(0x105)]:'';}let _0x136b33=class extends _0x198dff[_0x5d1a43(0x1b5)]{constructor(_0x34de4e,_0xa33bf8,_0x54f7cc){const _0x2455fa=_0x5d1a43;super(),this[_0x2455fa(0x12b)]=_0x34de4e,this[_0x2455fa(0xfc)]=_0xa33bf8,this[_0x2455fa(0x1a1)](_0x54f7cc['registerProvider'](this));}['collectMutations'](_0x4e04c2){const _0x21ab2b=_0x5d1a43;let _0x36802e=new Map();for(let _0x42a1a6 of this[_0x21ab2b(0x12b)][_0x21ab2b(0x18c)]()){var _0x2351f0;if(!this[_0x21ab2b(0xfc)][_0x21ab2b(0xbb)](_0x42a1a6[_0x21ab2b(0x177)][_0x21ab2b(0xcc)],_0x42a1a6[_0x21ab2b(0x1a8)])['eligible'])continue;let _0x3ed77d=(0x0,_0x3e6ae0[_0x21ab2b(0x198)])(_0x42a1a6[_0x21ab2b(0x1a8)]),_0x3d83c9=_0x3ed77d?(0x0,_0x3e6ae0[_0x21ab2b(0x164)])(_0x3ed77d):null;if(!_0x3d83c9||_0x42196f(_0x42a1a6[_0x21ab2b(0x177)]['lastValue'],_0x3d83c9))continue;let _0x49896f=_0x36802e[_0x21ab2b(0xe7)](_0x42a1a6[_0x21ab2b(0xbe)][_0x21ab2b(0x152)])??[];_0x49896f[_0x21ab2b(0xcb)]({'rangeId':_0x42a1a6['identity'][_0x21ab2b(0xf5)],'expectedFormula':_0x42a1a6[_0x21ab2b(0x177)][_0x21ab2b(0xcc)],'expectedNumberFormat':(_0x2351f0=_0x42a1a6[_0x21ab2b(0x177)][_0x21ab2b(0x111)])==null?void 0x0:_0x2351f0[_0x21ab2b(0x194)],'expectedReferenceRevision':_0x42a1a6[_0x21ab2b(0x18d)],'lastValue':_0x3d83c9}),_0x36802e[_0x21ab2b(0x153)](_0x42a1a6[_0x21ab2b(0xbe)][_0x21ab2b(0x152)],_0x49896f);}return Array[_0x21ab2b(0x10c)](_0x36802e,([_0x2c0703,_0x1ae08b])=>({'id':_0x2e16ba['id'],'params':{'unitId':_0x2c0703,'updates':_0x1ae08b}}));}};_0x136b33=_0x40a925([_0xbc127b(0x0,(0x0,_0x198dff['Inject'])(_0x25e891)),_0xbc127b(0x1,(0x0,_0x198dff[_0x5d1a43(0x1b2)])(_0x3e6ae0[_0x5d1a43(0xfb)])),_0xbc127b(0x2,(0x0,_0x198dff['Inject'])(_0x3e6ae0['FormulaLastValuePersistenceService']))],_0x136b33);function _0x42196f(_0x639f0c,_0x5872e4){const _0x26ca14=_0x5d1a43;return(_0x639f0c==null?void 0x0:_0x639f0c['v'])===_0x5872e4['v']&&(_0x639f0c==null?void 0x0:_0x639f0c['t'])===_0x5872e4['t']&&(_0x639f0c==null?void 0x0:_0x639f0c[_0x26ca14(0x194)])===_0x5872e4[_0x26ca14(0x194)];}let _0x11b8b3=class extends _0x198dff[_0x5d1a43(0xd3)]{constructor(_0x3fc372=_0xdc4d8b,_0x303fdb,_0x305396,_0x2a4bec){const _0x287631=_0x5d1a43;super(),this[_0x287631(0x1b4)]=_0x3fc372,this[_0x287631(0x1f2)]=_0x303fdb,this[_0x287631(0x131)]=_0x305396,this[_0x287631(0x1eb)]=_0x2a4bec;let {..._0x17a1e2}=(0x0,_0x198dff[_0x287631(0x15e)])({},_0xdc4d8b,this[_0x287631(0x1b4)]);this[_0x287631(0x1eb)][_0x287631(0x13a)](_0x287631(0x14d),_0x17a1e2);}[_0x5d1a43(0xac)](){const _0x31bc39=_0x5d1a43;this['_injector']['add']([_0x12d8e9]),this[_0x31bc39(0x1f2)][_0x31bc39(0x182)]([_0x25e891]),this[_0x31bc39(0x1f2)][_0x31bc39(0x182)]([_0x3e46fa]),this[_0x31bc39(0x1f2)][_0x31bc39(0x182)]([_0x22b39b]),this[_0x31bc39(0x1f2)]['add']([_0x136b33]),this[_0x31bc39(0x1f2)][_0x31bc39(0x182)]([_0x46658f]),(0x0,_0x198dff[_0x31bc39(0x1de)])(this['_injector'],[[_0x12d8e9],[_0x3e46fa],[_0x22b39b],[_0x136b33],[_0x46658f]]),[_0x222ab9,_0x598473,_0x58f8fd,_0x2e16ba,_0x4e176c,_0x15e8cf,_0x146b8b,_0x41b076,_0x2367ea,_0x4eac98][_0x31bc39(0x1a0)](_0x327cb1=>this[_0x31bc39(0x1a1)](this[_0x31bc39(0x131)][_0x31bc39(0x10d)](_0x327cb1)));}};_0x8d49c1(_0x11b8b3,_0x5d1a43(0xad),_0x477554),_0x8d49c1(_0x11b8b3,_0x5d1a43(0x126),_0x40d9c1),_0x8d49c1(_0x11b8b3,'version',_0x38c9f7),_0x8d49c1(_0x11b8b3,'type',_0x198dff[_0x5d1a43(0x115)][_0x5d1a43(0x1d3)]),_0x11b8b3=_0x40a925([(0x0,_0x198dff[_0x5d1a43(0x121)])(_0x51d1a7[_0x5d1a43(0x1db)],_0x3e6ae0[_0x5d1a43(0x1b6)],_0x440871[_0x5d1a43(0x1ce)]),_0xbc127b(0x1,(0x0,_0x198dff[_0x5d1a43(0x1b2)])(_0x198dff[_0x5d1a43(0x136)])),_0xbc127b(0x2,_0x198dff['ICommandService']),_0xbc127b(0x3,_0x198dff[_0x5d1a43(0x1b0)])],_0x11b8b3),_0x2c87ef[_0x5d1a43(0xe4)]=_0x4eac98,_0x2c87ef[_0x5d1a43(0xf9)]=_0x5af56f,_0x2c87ef[_0x5d1a43(0x14c)]='',_0x2c87ef[_0x5d1a43(0xb9)]=_0x477554,_0x2c87ef['DOC_FORMULA_SCHEMA_VERSION']=0x1,Object[_0x5d1a43(0x1a9)](_0x2c87ef,'DocFormulaDisplayTextService',{'enumerable':!0x0,'get':function(){return _0x46658f;}}),Object[_0x5d1a43(0x1a9)](_0x2c87ef,_0x5d1a43(0x1cd),{'enumerable':!0x0,'get':function(){return _0x22b39b;}}),_0x2c87ef['DocFormulaModel']=_0x12d8e9,Object['defineProperty'](_0x2c87ef,_0x5d1a43(0x122),{'enumerable':!0x0,'get':function(){return _0x3e46fa;}}),_0x2c87ef[_0x5d1a43(0x154)]=_0x205351,Object[_0x5d1a43(0x1a9)](_0x2c87ef,_0x5d1a43(0xf4),{'enumerable':!0x0,'get':function(){return _0x25e891;}}),_0x2c87ef[_0x5d1a43(0xd4)]=_0x4e176c,_0x2c87ef['InvalidDocFormulaInsertRangeError']=_0x428807,_0x2c87ef['RemoveDocFormulaCommand']=_0x41b076,_0x2c87ef[_0x5d1a43(0x132)]=_0x598473,_0x2c87ef[_0x5d1a43(0xc0)]=_0x2367ea,_0x2c87ef[_0x5d1a43(0x1cc)]=_0x2e16ba,_0x2c87ef['SetDocFormulaMutation']=_0x222ab9,_0x2c87ef[_0x5d1a43(0x10a)]=_0x146b8b,_0x2c87ef[_0x5d1a43(0x18a)]=_0x58f8fd,Object[_0x5d1a43(0x1a9)](_0x2c87ef,_0x5d1a43(0x189),{'enumerable':!0x0,'get':function(){return _0x11b8b3;}}),_0x2c87ef[_0x5d1a43(0xd9)]=_0x15e8cf,_0x2c87ef[_0x5d1a43(0x140)]=_0x1a7f02,_0x2c87ef['buildInsertDocFormulaActions']=_0x4452fa,_0x2c87ef['buildRemoveDocFormulaActions']=_0x206593,_0x2c87ef[_0x5d1a43(0x1aa)]=_0x4d5377,_0x2c87ef[_0x5d1a43(0xb8)]=_0x2a5f69,_0x2c87ef[_0x5d1a43(0x106)]=_0x285f9a,_0x2c87ef[_0x5d1a43(0x137)]=_0x10498e,_0x2c87ef[_0x5d1a43(0x18e)]=_0x2c8fdb,_0x2c87ef[_0x5d1a43(0xb3)]=_0x1d4100,_0x2c87ef[_0x5d1a43(0x1a4)]=_0xca39c2,_0x2c87ef[_0x5d1a43(0x102)]=_0x162adb;}));
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@univerjs-pro/docs-formula",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.4",
|
|
4
4
|
"private": false,
|
|
5
5
|
"description": "Inline data formula model integration for Univer Docs.",
|
|
6
6
|
"author": "DreamNum Co., Ltd. <developer@univer.ai>",
|
|
@@ -61,15 +61,15 @@
|
|
|
61
61
|
"rxjs": ">=7.0.0"
|
|
62
62
|
},
|
|
63
63
|
"dependencies": {
|
|
64
|
-
"@univerjs-pro/engine-formula": "1.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.0.4",
|
|
65
|
+
"@univerjs-pro/license": "1.0.4",
|
|
66
|
+
"@univerjs/core": "1.0.4",
|
|
67
|
+
"@univerjs/docs": "1.0.4",
|
|
68
|
+
"@univerjs/engine-formula": "1.0.4"
|
|
69
69
|
},
|
|
70
70
|
"devDependencies": {
|
|
71
|
-
"@univerjs-infra/shared": "1.0.
|
|
72
|
-
"@univerjs/engine-render": "1.0.
|
|
71
|
+
"@univerjs-infra/shared": "1.0.4",
|
|
72
|
+
"@univerjs/engine-render": "1.0.4",
|
|
73
73
|
"rxjs": "7.8.2",
|
|
74
74
|
"typescript": "^6.0.3",
|
|
75
75
|
"vitest": "^5.0.0"
|