@univerjs-pro/docs-formula 1.0.0 → 1.0.2
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 _0x2b8f(){const _0x392864=['TABLE_START','OtherFormulaBizType','decorate','getCurrentUnitOfType','registerCommand','defineProperty','DocFormulaResourceController','Plugin','_loadErrors','constructor','replaceDocRanges','toStringTag','syncUnit','COLUMN_GROUP_END','_model','deleteFormula','getFormula','pending','getBodySliceForTextXAction','find','getUnit','_pendingUnitIds','resolveFormulaResultPresentation','_updateFormulaResult','TABLE_ROW_END','resolveBinding','1.0.0','symbol','resources','length','accessor','error','stale','exports','isInteger','6vIxUso','getCustomRangeInterval','generateRandomId','univer-docs-formula','_deleteRegistration','insertLength','setFormulas','pattern','some','startIndex','prototype','_resourceManagerService','RegisterOtherFormulaService','dataStream','every','isFormulaLastValue','function','paragraphs','customRanges','cursorOffset','51546jkAyWT','resolveText','_isDisposed','MUTATION','BLOCK_END','start','call','has','registerProvider','DocFormulaModel','_univerInstanceService','UniverInstanceType','disposeWithMe','isDocFormulaResource','set','liveResult','load','color','onCommandExecuted','SetDocFormulaResourceMutation','pushUndoRedo','getPresentation','_instanceService','endsWith','push','@univerjs-pro/docs-formula','CUSTOM','ConvertDocFormulaToTextCommand','DOC_SELECTION_OPTION_PRESERVE_CARET','references','UniverDocsFormulaPlugin','_cacheEligibilityService','updates','source','rangeType','FormulaCacheEligibilityService','string','buildUpsertHostExternalReferenceMutations','get','segmentId','notifyTextChanged','expectedFormula','BLOCK_START','nextDocumentData','clear','@univerjs-pro/engine-formula','paragraphId','getTextRanges','undoMutation','unitAdded$','insert','subscribe','isDocFormulaConfig','sort','startsWith','unregisterUnit','config','399992YpIfDa','DocFormulaService','from','documentData','params','DocFormulaLifecycleController','CUSTOM_BLOCK','CustomRangeType','merge','resourceUndo','dispose','docs-formula.mutation.set-last-values','textRuns','_resources','unitId','serialize','SetDocFormulaNumberFormatCommand','UniverProDocsFormula','LexerTreeBuilder','EMPTY','complete','UniverDocs','88hRXOsW','getAllUnitsForType','selection','resource','_service','nextResource','408541mJQUxD','1171812BbSctk','Tools','next','_setPresentation','TABLE_END','cell','externalReferences','docs-formula.command.convert-to-text','COLUMN_START','fromEntries','rangeId','Inject','UNIVER_DOC','_injector','redoMutation','editOp','setResource','ICommandService','change$','_rawResources','paragraph','filter','shiftInclusiveRangeOnInsert','getLoadError','map','Disposable','retain','version','253284hbHvwT','3AakCiR','blockRanges','entries','model','customDecorations','max','object','registerFormulaWithRange','unregister','getBody','InvalidDocFormulaInsertRangeError','1207130UNxCay','endIndex','disabled','documentRedo','IResourceManagerService','rxjs','_config','getFormulaValueSync','getResult','resolveFormula','ERROR','setFormula','tables','unitDisposed$','_presentationChanged$','values','getRevision','getOwnPropertyDescriptor','includes','isDocFormulaRange','referenceRevision','SUCCESS','_commandService','FormulaResultStatus','docs-formula.config','data','asObservable','toPrimitive','degradeBody','Document\x20main\x20body\x20is\x20required\x20to\x20insert\x20Doc\x20Formula.','TextX','docs-formula.mutation.set-resource','DOC_FORMULA_SCHEMA_VERSION','empty','invalid-resource','document','trigger','DOC','parse','COMMAND','eligible','removeFormula','DOC_FORMULA_CUSTOM_RANGE_KIND','expectedNumberFormat','TABLE_ROW_START','sequenceNodesBuilder','name','FormulaLastValuePersistenceService','customBlocks','UniverProFormulaEnginePlugin','number','endOffset','DocSelectionManagerService','deepClone','77769dZwDhS','getParagraphContentStartOffset','presentation','PARAGRAPH','UniverDocsPlugin','CommandType','formulaId','RichTextEditingMutation','delete','Module','body','RemoveDocFormulaCommand','buildRemoveDocFormulaActions','_hostExternalReferenceModel','UniverProLicense','_change$','previousDocumentData','getUnitId','boolean','_queueSync','isArray','@@toPrimitive\x20must\x20return\x20a\x20primitive\x20value.','add','schemaVersion','_formulaKeys','success','toFormulaLastValue','sectionBreaks','_formulaService','_syncScheduled','getRichTextEditPath','HostExternalReferenceModel','_configService','shiftExclusiveRangeOnDelete','columnGroups','_registrations','UniverEngineFormula','externalMutations','_preserveInvalid','degradeDocFormulaDocumentData','touchDependencies','slice','CellValueType','COLUMN_END','presentationChanged$','getFormulas','identity','5mDyAIZ','getResource','resolveHostFormulaExternalReferences','PENDING','docs-formula.command.remove','DependentOn','startOffset','DOC_FORMULA_PLUGIN','Subject','formulas','register','_syncUnit','TABLE_CELL_START','_docFormulaModel','text','lastValue','formula','status','syncExecuteCommand','_registrationService','UniverLicensePlugin','16hFnZLx','onStarting','DataStreamTreeTokenType','trim','buildInsertDocFormulaActions','DocTextResolverService','range','keys','@univerjs/core','registerPluginResource','resolved','getSnapshot','IUndoRedoService','previousResource','forEach','type','min','UniverProEngineFormula','getRegisteredFormulas','formulaResult$','SECTION_BREAK','numberFormat','createEmptyDocFormulaResource','assess','deleteLength'];_0x2b8f=function(){return _0x392864;};return _0x2b8f();}function _0x33bd(_0x155499,_0x527210){_0x155499=_0x155499-0x1c4;const _0x2b8faf=_0x2b8f();let _0x33bdd4=_0x2b8faf[_0x155499];return _0x33bdd4;}(function(_0x45aa47,_0x313d09){const _0x5a56aa=_0x33bd,_0xa0d1ca=_0x45aa47();while(!![]){try{const _0xfb41a5=parseInt(_0x5a56aa(0x280))/0x1+-parseInt(_0x5a56aa(0x2b9))/0x2*(-parseInt(_0x5a56aa(0x2f3))/0x3)+parseInt(_0x5a56aa(0x2d6))/0x4*(parseInt(_0x5a56aa(0x21b))/0x5)+parseInt(_0x5a56aa(0x26c))/0x6*(-parseInt(_0x5a56aa(0x2d5))/0x7)+-parseInt(_0x5a56aa(0x230))/0x8*(parseInt(_0x5a56aa(0x1ec))/0x9)+-parseInt(_0x5a56aa(0x2fe))/0xa+parseInt(_0x5a56aa(0x2cf))/0xb*(-parseInt(_0x5a56aa(0x2f2))/0xc);if(_0xfb41a5===_0x313d09)break;else _0xa0d1ca['push'](_0xa0d1ca['shift']());}catch(_0x503c3b){_0xa0d1ca['push'](_0xa0d1ca['shift']());}}}(_0x2b8f,0x2bc51),function(_0x49dc7a,_0x2d57aa){const _0x354e2a=_0x33bd;typeof exports=='object'&&typeof module<'u'?_0x2d57aa(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['amd']?define([_0x354e2a(0x26a),_0x354e2a(0x2ad),_0x354e2a(0x238),'@univerjs/docs','@univerjs/engine-formula',_0x354e2a(0x303),'@univerjs-pro/license'],_0x2d57aa):(_0x49dc7a=typeof globalThis<'u'?globalThis:_0x49dc7a||self,_0x2d57aa(_0x49dc7a[_0x354e2a(0x2ca)]={},_0x49dc7a[_0x354e2a(0x241)],_0x49dc7a['UniverCore'],_0x49dc7a[_0x354e2a(0x2ce)],_0x49dc7a[_0x354e2a(0x210)],_0x49dc7a[_0x354e2a(0x303)],_0x49dc7a[_0x354e2a(0x1fa)]));}(this,function(_0x3afca9,_0x50090f,_0x1d869f,_0x2fc97e,_0x410f01,_0x59aa37,_0x16421b){const _0x827b65=_0x33bd;Object[_0x827b65(0x24e)](_0x3afca9,Symbol[_0x827b65(0x254)],{'value':_0x827b65(0x1f5)});let _0x9736a7=_0x827b65(0x222),_0x201e91=_0x827b65(0x26f);function _0x79ce8d(){return{'schemaVersion':0x1,'formulas':{}};}function _0x169706(_0x45d883){const _0x33d400=_0x827b65;return!_0x45d883||typeof _0x45d883!=_0x33d400(0x2f9)||!_0x210d0f(_0x45d883,[_0x33d400(0x203),_0x33d400(0x224)])||!(_0x33d400(0x203)in _0x45d883)||_0x45d883[_0x33d400(0x203)]!==0x1||!(_0x33d400(0x224)in _0x45d883)||!_0x45d883[_0x33d400(0x224)]||typeof _0x45d883[_0x33d400(0x224)]!=_0x33d400(0x2f9)||Array[_0x33d400(0x200)](_0x45d883[_0x33d400(0x224)])?!0x1:Object['entries'](_0x45d883[_0x33d400(0x224)])[_0x33d400(0x27a)](([_0x560fff,_0x2e231f])=>_0x560fff['length']>0x0&&_0xa57316(_0x2e231f));}function _0xa57316(_0xb30385){const _0x119e08=_0x827b65;return!_0xb30385||typeof _0xb30385!=_0x119e08(0x2f9)||!_0x210d0f(_0xb30385,[_0x119e08(0x22b),_0x119e08(0x245),_0x119e08(0x22a)])||!('formula'in _0xb30385)||typeof _0xb30385['formula']!='string'||!_0xb30385['formula'][_0x119e08(0x233)]()||_0x119e08(0x245)in _0xb30385&&_0xb30385['numberFormat']!=null&&(typeof _0xb30385[_0x119e08(0x245)]!=_0x119e08(0x2f9)||!_0x210d0f(_0xb30385[_0x119e08(0x245)],['pattern'])||!(_0x119e08(0x273)in _0xb30385['numberFormat'])||typeof _0xb30385['numberFormat'][_0x119e08(0x273)]!=_0x119e08(0x2a4))?!0x1:!(_0x119e08(0x22a)in _0xb30385)||_0xb30385[_0x119e08(0x22a)]==null||_0x234ce5(_0xb30385[_0x119e08(0x22a)]);}function _0x234ce5(_0x58979e){const _0x54c988=_0x827b65;return!_0x58979e||typeof _0x58979e!=_0x54c988(0x2f9)||!_0x210d0f(_0x58979e,['v','t',_0x54c988(0x273)])||!('v'in _0x58979e)||_0x58979e['v']!==null&&typeof _0x58979e['v']!=_0x54c988(0x2a4)&&typeof _0x58979e['v']!=_0x54c988(0x1e8)&&typeof _0x58979e['v']!=_0x54c988(0x1fe)||'t'in _0x58979e&&_0x58979e['t']!=null&&!_0x48a922(_0x58979e['t'])?!0x1:!(_0x54c988(0x273)in _0x58979e)||_0x58979e[_0x54c988(0x273)]==null||typeof _0x58979e[_0x54c988(0x273)]=='string';}function _0x210d0f(_0x5a057c,_0x518502){const _0x10fcba=_0x827b65;let _0x41804f=new Set(_0x518502);return Object[_0x10fcba(0x237)](_0x5a057c)['every'](_0x405e0a=>_0x41804f[_0x10fcba(0x287)](_0x405e0a));}function _0x48a922(_0x5a3775){const _0x15104e=_0x827b65;return typeof _0x5a3775==_0x15104e(0x1e8)&&Object['values'](_0x1d869f[_0x15104e(0x216)])['includes'](_0x5a3775);}let _0x1e51a9=new Set([_0x1d869f[_0x827b65(0x232)][_0x827b65(0x244)],_0x1d869f[_0x827b65(0x232)][_0x827b65(0x249)],_0x1d869f[_0x827b65(0x232)][_0x827b65(0x1e2)],_0x1d869f[_0x827b65(0x232)][_0x827b65(0x227)],_0x1d869f[_0x827b65(0x232)]['TABLE_CELL_END'],_0x1d869f[_0x827b65(0x232)][_0x827b65(0x261)],_0x1d869f['DataStreamTreeTokenType'][_0x827b65(0x2da)],_0x1d869f[_0x827b65(0x232)]['COLUMN_GROUP_START'],_0x1d869f['DataStreamTreeTokenType'][_0x827b65(0x2de)],_0x1d869f[_0x827b65(0x232)][_0x827b65(0x217)],_0x1d869f[_0x827b65(0x232)][_0x827b65(0x256)],_0x1d869f['DataStreamTreeTokenType'][_0x827b65(0x2aa)],_0x1d869f[_0x827b65(0x232)][_0x827b65(0x284)],_0x1d869f[_0x827b65(0x232)][_0x827b65(0x2bf)]]);var _0xafe7e3=class extends Error{constructor(){super('Doc\x20Formula\x20range\x20cannot\x20cross\x20document\x20structure\x20boundaries');}};function _0x4d21e2(_0x45d8ad){const _0xcc7d17=_0x827b65;var _0x17c2e8,_0x525bcb;let _0x246595=_0x1d869f[_0xcc7d17(0x2d7)][_0xcc7d17(0x1eb)](_0x45d8ad[_0xcc7d17(0x2bc)]),_0x5b49cf=_0x46719a(_0x246595),{startOffset:_0x4d41cd,endOffset:_0x59f6a4}=_0x111922(_0x5b49cf,_0x45d8ad[_0xcc7d17(0x221)],_0x45d8ad[_0xcc7d17(0x1e9)]);_0x582df1(_0x5b49cf,_0x4d41cd,_0x59f6a4);let _0x4c21fa=((_0x17c2e8=_0x5b49cf[_0xcc7d17(0x27e)])==null?void 0x0:_0x17c2e8[_0xcc7d17(0x2eb)](_0x2f9c17=>{const _0x308433=_0xcc7d17;if(!_0x2ff3e4(_0x2f9c17))return!0x1;let _0x40189b=(0x0,_0x1d869f[_0x308433(0x26d)])(_0x2f9c17);return _0x40189b['endOffset']>_0x4d41cd&&_0x40189b[_0x308433(0x221)]<_0x59f6a4;})[_0xcc7d17(0x2ee)](_0x3c4bf2=>_0x3c4bf2[_0xcc7d17(0x2e0)]))??[];_0xc1d509(_0x5b49cf,_0x4d41cd,_0x59f6a4,''),_0x5b49cf[_0xcc7d17(0x27e)]=[...((_0x525bcb=_0x5b49cf[_0xcc7d17(0x27e)])==null?void 0x0:_0x525bcb[_0xcc7d17(0x2eb)](_0x2b62cd=>!_0x4c21fa[_0xcc7d17(0x1c8)](_0x2b62cd['rangeId'])&&_0x2b62cd[_0xcc7d17(0x2e0)]!==_0x45d8ad[_0xcc7d17(0x2e0)]))??[],_0x5576ec(_0x45d8ad[_0xcc7d17(0x2e0)],_0x4d41cd)][_0xcc7d17(0x2b5)]((_0x32ef3a,_0x28c0c4)=>_0x32ef3a[_0xcc7d17(0x275)]-_0x28c0c4[_0xcc7d17(0x275)]);let _0x109c05=_0x27896e(_0x45d8ad['resource']);return _0x4c21fa['forEach'](_0x75cd94=>{const _0x4bdc7f=_0xcc7d17;delete _0x109c05[_0x4bdc7f(0x224)][_0x75cd94];}),_0x109c05[_0xcc7d17(0x224)][_0x45d8ad[_0xcc7d17(0x2e0)]]=_0x1d869f[_0xcc7d17(0x2d7)][_0xcc7d17(0x1eb)](_0x45d8ad[_0xcc7d17(0x2b8)]),{'nextDocumentData':_0x246595,'nextResource':_0x109c05,'cursorOffset':_0x4d41cd+0x1};}function _0x39d274(_0x1eecc2){const _0x192edd=_0x827b65;var _0x55f12c,_0x33f85f;let _0x5695bd=_0x1d869f[_0x192edd(0x2d7)][_0x192edd(0x1eb)](_0x1eecc2['documentData']),_0x5140aa=(_0x55f12c=_0x46719a(_0x5695bd)[_0x192edd(0x27e)])==null?void 0x0:_0x55f12c[_0x192edd(0x25c)](_0x433138=>_0x433138[_0x192edd(0x2e0)]===_0x1eecc2[_0x192edd(0x2e0)]&&_0x2ff3e4(_0x433138));if(!_0x5140aa||!((_0x33f85f=_0x1eecc2[_0x192edd(0x2d2)])!=null&&_0x33f85f['formulas'][_0x1eecc2[_0x192edd(0x2e0)]]))return null;let _0x5b9f09=_0x27896e(_0x1eecc2[_0x192edd(0x2d2)]);return _0x5b9f09[_0x192edd(0x224)][_0x1eecc2[_0x192edd(0x2e0)]]=_0x1d869f['Tools'][_0x192edd(0x1eb)](_0x1eecc2[_0x192edd(0x2b8)]),{'nextDocumentData':_0x5695bd,'nextResource':_0x5b9f09,'cursorOffset':_0x5140aa[_0x192edd(0x2ff)]+0x1};}function _0x4eace5(_0x36c9f0){const _0xb82ee2=_0x827b65;let _0x1d3dbf=_0x1d869f[_0xb82ee2(0x2d7)]['deepClone'](_0x36c9f0[_0xb82ee2(0x2bc)]),_0x3b75a0=_0xcf2312(_0x1d3dbf,_0x36c9f0[_0xb82ee2(0x2e0)],_0x36c9f0[_0xb82ee2(0x229)]??'');if(_0x3b75a0==null)return null;let _0x3516fe=_0x27896e(_0x36c9f0[_0xb82ee2(0x2d2)]);return delete _0x3516fe['formulas'][_0x36c9f0[_0xb82ee2(0x2e0)]],{'nextDocumentData':_0x1d3dbf,'nextResource':_0x3516fe,'cursorOffset':_0x3b75a0};}function _0x3c9939(_0x45b267,_0x137e59){const _0x9cdc40=_0x827b65;var _0x2fa77c;let _0x102219=_0x1d869f[_0x9cdc40(0x2d7)][_0x9cdc40(0x1eb)](_0x45b267),_0x1f3c66=_0x102219['body'];if(!_0x1f3c66)return _0x102219;let _0x555a34=new Map(_0x137e59[_0x9cdc40(0x2ee)](_0x24b50c=>[_0x24b50c['rangeId'],_0x24b50c[_0x9cdc40(0x229)]])),_0x28adc9=((_0x2fa77c=_0x1f3c66[_0x9cdc40(0x27e)])==null?void 0x0:_0x2fa77c[_0x9cdc40(0x2eb)](_0x9b62c6=>_0x2ff3e4(_0x9b62c6)&&_0x555a34[_0x9cdc40(0x287)](_0x9b62c6[_0x9cdc40(0x2e0)]))['sort']((_0x29baf5,_0x309eab)=>_0x309eab['startIndex']-_0x29baf5[_0x9cdc40(0x275)]))??[];for(let _0x47b83d of _0x28adc9)_0xcf2312(_0x102219,_0x47b83d[_0x9cdc40(0x2e0)],_0x555a34[_0x9cdc40(0x2a6)](_0x47b83d[_0x9cdc40(0x2e0)])??'');return _0x102219;}function _0x2ff3e4(_0x15106c){const _0x4c1460=_0x827b65;var _0x34f458;return(_0x15106c==null?void 0x0:_0x15106c[_0x4c1460(0x2a2)])===_0x1d869f[_0x4c1460(0x2c0)]['CUSTOM']&&_0x15106c['wholeEntity']===!0x0&&((_0x34f458=_0x15106c['properties'])==null?void 0x0:_0x34f458['kind'])===_0x4c1460(0x26f);}function _0x261b2d(_0x2a47ce,_0x1ad5cb){const _0xc47c64=_0x827b65;var _0x1eb2b4;return _0x2a47ce==null||(_0x1eb2b4=_0x2a47ce[_0xc47c64(0x27e)])==null?void 0x0:_0x1eb2b4[_0xc47c64(0x25c)](_0x5bc930=>_0x5bc930[_0xc47c64(0x2e0)]===_0x1ad5cb&&_0x2ff3e4(_0x5bc930));}function _0x582df1(_0x3e435d,_0x52064e,_0x655a9f){const _0x5963a3=_0x827b65;if(_0x52064e===_0x655a9f){if(_0x1e51a9[_0x5963a3(0x287)](_0x3e435d[_0x5963a3(0x279)][_0x52064e]))throw new _0xafe7e3();return;}for(let _0x2a9e82=_0x52064e;_0x2a9e82<_0x655a9f;_0x2a9e82++)if(_0x3e435d[_0x5963a3(0x279)][_0x2a9e82]===_0x1d869f['DataStreamTreeTokenType'][_0x5963a3(0x1ef)]||_0x1e51a9[_0x5963a3(0x287)](_0x3e435d['dataStream'][_0x2a9e82]))throw new _0xafe7e3();}function _0x5576ec(_0x20521e,_0x177996){const _0x3c0af8=_0x827b65;return{'startIndex':_0x177996,'endIndex':_0x177996,'rangeId':_0x20521e,'rangeType':_0x1d869f['CustomRangeType'][_0x3c0af8(0x29a)],'wholeEntity':!0x0,'properties':{'kind':_0x201e91}};}function _0x27896e(_0x2d3695){const _0x4de8c7=_0x827b65;return _0x2d3695?_0x1d869f[_0x4de8c7(0x2d7)][_0x4de8c7(0x1eb)](_0x2d3695):_0x79ce8d();}function _0x111922(_0x4db51b,_0x2e6388,_0x26f233){const _0x12ba40=_0x827b65;let _0x4bca7f=_0x39d86f(_0x4db51b),_0xbfd0f5=_0x2e6388??_0x4bca7f,_0x2c9b8d=_0x26f233??_0xbfd0f5;return{'startOffset':_0x9d2e85(Math['min'](_0xbfd0f5,_0x2c9b8d),_0x4bca7f),'endOffset':_0x9d2e85(Math[_0x12ba40(0x2f8)](_0xbfd0f5,_0x2c9b8d),_0x4bca7f)};}function _0x9d2e85(_0xb35e26,_0x19af7d){const _0x480712=_0x827b65;return Math['max'](0x0,Math[_0x480712(0x240)](_0xb35e26,_0x19af7d));}function _0x39d86f(_0x33969a){const _0x4c2aab=_0x827b65;return _0x33969a[_0x4c2aab(0x279)][_0x4c2aab(0x297)](''+_0x1d869f[_0x4c2aab(0x232)][_0x4c2aab(0x1ef)]+_0x1d869f[_0x4c2aab(0x232)][_0x4c2aab(0x244)])?Math[_0x4c2aab(0x2f8)](0x0,_0x33969a[_0x4c2aab(0x279)]['length']-0x2):_0x33969a[_0x4c2aab(0x279)]['endsWith'](_0x1d869f['DataStreamTreeTokenType'][_0x4c2aab(0x244)])?Math['max'](0x0,_0x33969a[_0x4c2aab(0x279)][_0x4c2aab(0x266)]-0x1):_0x33969a[_0x4c2aab(0x279)][_0x4c2aab(0x266)];}function _0xc1d509(_0x11512d,_0x1c11ea,_0x54db18,_0x4b36a2){_0x54db18>_0x1c11ea&&_0x4a62f1(_0x11512d,_0x1c11ea,_0x54db18),_0xd1cbf8(_0x11512d,_0x1c11ea,_0x4b36a2);}function _0xcf2312(_0x320f80,_0x5b44f2,_0x1ac6d0){const _0xcc8815=_0x827b65;var _0x4e795c,_0x261686;let _0x5ce966=_0x46719a(_0x320f80),_0x277ba1=(_0x4e795c=_0x5ce966['customRanges'])==null?void 0x0:_0x4e795c['find'](_0x266375=>_0x266375[_0xcc8815(0x2e0)]===_0x5b44f2&&_0x2ff3e4(_0x266375));if(!_0x277ba1)return null;let _0x9c7ea=(0x0,_0x1d869f[_0xcc8815(0x26d)])(_0x277ba1);return _0xc1d509(_0x5ce966,_0x9c7ea[_0xcc8815(0x221)],_0x9c7ea[_0xcc8815(0x1e9)],_0x1ac6d0),_0x5ce966[_0xcc8815(0x27e)]=(_0x261686=_0x5ce966[_0xcc8815(0x27e)])==null?void 0x0:_0x261686[_0xcc8815(0x2eb)](_0x5a9d9a=>_0x5a9d9a['rangeId']!==_0x5b44f2),_0x9c7ea[_0xcc8815(0x221)]+_0x1ac6d0[_0xcc8815(0x266)];}function _0xd1cbf8(_0x49836b,_0x178222,_0x20f91b){const _0x568e4c=_0x827b65;_0x20f91b&&(_0x49836b[_0x568e4c(0x279)]=''+_0x49836b[_0x568e4c(0x279)][_0x568e4c(0x215)](0x0,_0x178222)+_0x20f91b+_0x49836b[_0x568e4c(0x279)]['slice'](_0x178222),_0x534543(_0x49836b,_0x178222,_0x20f91b[_0x568e4c(0x266)]));}function _0x4a62f1(_0x452f1f,_0x1ccadd,_0x2c32d6){const _0x80e469=_0x827b65;let _0x19abfb=_0x2c32d6-_0x1ccadd;_0x452f1f[_0x80e469(0x279)]=''+_0x452f1f[_0x80e469(0x279)][_0x80e469(0x215)](0x0,_0x1ccadd)+_0x452f1f[_0x80e469(0x279)][_0x80e469(0x215)](_0x2c32d6),_0xa99ff8(_0x452f1f,_0x1ccadd,_0x19abfb);}function _0x534543(_0x3bb9cb,_0x1fc493,_0x23dd33){const _0x498ff9=_0x827b65;_0x3bb9cb[_0x498ff9(0x27d)]=_0xcfc225(_0x3bb9cb[_0x498ff9(0x27d)],_0x1fc493,_0x23dd33),_0x3bb9cb[_0x498ff9(0x207)]=_0xcfc225(_0x3bb9cb[_0x498ff9(0x207)],_0x1fc493,_0x23dd33),_0x3bb9cb[_0x498ff9(0x1e6)]=_0xcfc225(_0x3bb9cb[_0x498ff9(0x1e6)],_0x1fc493,_0x23dd33),_0x3bb9cb[_0x498ff9(0x2c5)]=_0x496e90(_0x3bb9cb[_0x498ff9(0x2c5)],_0x1fc493,_0x23dd33),_0x3bb9cb[_0x498ff9(0x30a)]=_0x245acf(_0x3bb9cb[_0x498ff9(0x30a)],_0x1fc493,_0x23dd33),_0x3bb9cb[_0x498ff9(0x20e)]=_0x477ae0(_0x3bb9cb[_0x498ff9(0x20e)],_0x1fc493,_0x23dd33),_0x3bb9cb[_0x498ff9(0x27e)]=_0x477ae0(_0x3bb9cb['customRanges'],_0x1fc493,_0x23dd33),_0x3bb9cb['customDecorations']=_0x477ae0(_0x3bb9cb[_0x498ff9(0x2f7)],_0x1fc493,_0x23dd33),_0x3bb9cb['blockRanges']=_0x477ae0(_0x3bb9cb[_0x498ff9(0x2f4)],_0x1fc493,_0x23dd33);}function _0xa99ff8(_0x379011,_0x572731,_0x115fdb){const _0x9f4654=_0x827b65;var _0x1bb2b1,_0x3ad5e2;_0x379011[_0x9f4654(0x27d)]=_0x418bd7(_0x379011[_0x9f4654(0x27d)],_0x572731,_0x115fdb),_0x379011[_0x9f4654(0x207)]=_0x418bd7(_0x379011['sectionBreaks'],_0x572731,_0x115fdb),_0x379011['customBlocks']=_0x418bd7(_0x379011['customBlocks'],_0x572731,_0x115fdb),_0x379011['textRuns']=(_0x1bb2b1=_0x2571c1((_0x3ad5e2=_0x379011[_0x9f4654(0x2c5)])==null?void 0x0:_0x3ad5e2[_0x9f4654(0x2ee)](_0x2e00ae=>({..._0x2e00ae,'startIndex':_0x2e00ae['st'],'endIndex':_0x2e00ae['ed']})),_0x572731,_0x115fdb))==null?void 0x0:_0x1bb2b1['map'](_0x50e2e=>{let {startIndex:_0x4ce489,endIndex:_0x25f09d,..._0x591229}=_0x50e2e;return{..._0x591229,'st':_0x4ce489,'ed':_0x25f09d};}),_0x379011[_0x9f4654(0x30a)]=_0x2571c1(_0x379011[_0x9f4654(0x30a)],_0x572731,_0x115fdb),_0x379011[_0x9f4654(0x20e)]=_0x368e57(_0x379011[_0x9f4654(0x20e)],_0x572731,_0x115fdb),_0x379011[_0x9f4654(0x27e)]=_0x368e57(_0x379011[_0x9f4654(0x27e)],_0x572731,_0x115fdb),_0x379011['customDecorations']=_0x368e57(_0x379011[_0x9f4654(0x2f7)],_0x572731,_0x115fdb),_0x379011[_0x9f4654(0x2f4)]=_0x368e57(_0x379011[_0x9f4654(0x2f4)],_0x572731,_0x115fdb);}function _0xcfc225(_0x12a88d,_0x246854,_0x2fb3ca){const _0x4b8e81=_0x827b65;return _0x12a88d==null?void 0x0:_0x12a88d[_0x4b8e81(0x2ee)](_0x1c569a=>_0x1c569a[_0x4b8e81(0x275)]>=_0x246854?{..._0x1c569a,'startIndex':_0x1c569a['startIndex']+_0x2fb3ca}:_0x1c569a);}function _0x418bd7(_0x4758fb,_0x1a0be9,_0xb1ca8b){const _0x5125bf=_0x827b65;let _0x211a01=_0x1a0be9+_0xb1ca8b;return _0x4758fb==null?void 0x0:_0x4758fb[_0x5125bf(0x2ee)](_0x17a1f8=>_0x17a1f8[_0x5125bf(0x275)]>=_0x1a0be9&&_0x17a1f8[_0x5125bf(0x275)]<_0x211a01?null:_0x17a1f8[_0x5125bf(0x275)]>=_0x211a01?{..._0x17a1f8,'startIndex':_0x17a1f8[_0x5125bf(0x275)]-_0xb1ca8b}:_0x17a1f8)[_0x5125bf(0x2eb)](_0x30adc4=>_0x30adc4!=null);}function _0x496e90(_0xbb9ad7,_0x396281,_0x3416ac){return _0xbb9ad7==null?void 0x0:_0xbb9ad7['map'](_0x19f616=>_0x19f616['st']>=_0x396281?{..._0x19f616,'st':_0x19f616['st']+_0x3416ac,'ed':_0x19f616['ed']+_0x3416ac}:_0x19f616['ed']>_0x396281?{..._0x19f616,'ed':_0x19f616['ed']+_0x3416ac}:_0x19f616);}function _0x477ae0(_0x2cee68,_0x31c185,_0x410438){const _0x90a7df=_0x827b65;return _0x2cee68==null?void 0x0:_0x2cee68[_0x90a7df(0x2ee)](_0x4ecc53=>(0x0,_0x1d869f[_0x90a7df(0x2ec)])(_0x4ecc53,_0x31c185,_0x410438));}function _0x245acf(_0x3be9cf,_0x1b14e6,_0x18f8fd){const _0xaa4908=_0x827b65;return _0x3be9cf==null?void 0x0:_0x3be9cf[_0xaa4908(0x2ee)](_0x16e3a2=>(0x0,_0x1d869f['shiftExclusiveRangeOnInsert'])(_0x16e3a2,_0x1b14e6,_0x18f8fd));}function _0x368e57(_0x348e91,_0x5db322,_0x24a8f8){const _0x1d5cc1=_0x827b65;return _0x348e91==null?void 0x0:_0x348e91[_0x1d5cc1(0x2ee)](_0x5f0eb7=>(0x0,_0x1d869f['shiftInclusiveRangeOnDelete'])(_0x5f0eb7,_0x5db322,_0x24a8f8))['filter'](_0x4924d2=>_0x4924d2!=null);}function _0x2571c1(_0x1a197e,_0x4c923d,_0x1a8b83){const _0x4a3a18=_0x827b65;return _0x1a197e==null?void 0x0:_0x1a197e[_0x4a3a18(0x2ee)](_0x21ed27=>(0x0,_0x1d869f[_0x4a3a18(0x20d)])(_0x21ed27,_0x4c923d,_0x1a8b83))[_0x4a3a18(0x2eb)](_0x54cf12=>_0x54cf12!=null);}function _0x46719a(_0x2403b7){const _0xf77704=_0x827b65;if(!_0x2403b7[_0xf77704(0x1f6)])throw Error(_0xf77704(0x1d3));return _0x2403b7[_0xf77704(0x1f6)];}function _0x1e601d(_0x9b9d07){'@babel/helpers - typeof';const _0x151060=_0x827b65;return _0x1e601d=typeof Symbol=='function'&&typeof Symbol['iterator']==_0x151060(0x264)?function(_0x3f4ab6){return typeof _0x3f4ab6;}:function(_0x11f9e6){const _0x31bc4c=_0x151060;return _0x11f9e6&&typeof Symbol==_0x31bc4c(0x27c)&&_0x11f9e6[_0x31bc4c(0x252)]===Symbol&&_0x11f9e6!==Symbol[_0x31bc4c(0x276)]?_0x31bc4c(0x264):typeof _0x11f9e6;},_0x1e601d(_0x9b9d07);}function _0x22576(_0x415e73,_0x29691d){const _0x595bda=_0x827b65;if(_0x1e601d(_0x415e73)!=_0x595bda(0x2f9)||!_0x415e73)return _0x415e73;var _0xe3437a=_0x415e73[Symbol[_0x595bda(0x1d1)]];if(_0xe3437a!==void 0x0){var _0x3b9917=_0xe3437a[_0x595bda(0x286)](_0x415e73,_0x29691d||'default');if(_0x1e601d(_0x3b9917)!='object')return _0x3b9917;throw TypeError(_0x595bda(0x201));}return(_0x29691d===_0x595bda(0x2a4)?String:Number)(_0x415e73);}function _0xed0c53(_0x2e05a2){const _0x1410b9=_0x827b65;var _0x23933e=_0x22576(_0x2e05a2,'string');return _0x1e601d(_0x23933e)==_0x1410b9(0x264)?_0x23933e:_0x23933e+'';}function _0x3d78b2(_0x52e461,_0x437eaf,_0x505080){const _0x3999b9=_0x827b65;return(_0x437eaf=_0xed0c53(_0x437eaf))in _0x52e461?Object[_0x3999b9(0x24e)](_0x52e461,_0x437eaf,{'value':_0x505080,'enumerable':!0x0,'configurable':!0x0,'writable':!0x0}):_0x52e461[_0x437eaf]=_0x505080,_0x52e461;}var _0x3d0928=class extends _0x1d869f[_0x827b65(0x2ef)]{constructor(..._0x300709){const _0x49fdca=_0x827b65;super(..._0x300709),_0x3d78b2(this,_0x49fdca(0x2c6),new Map()),_0x3d78b2(this,'_rawResources',new Map()),_0x3d78b2(this,_0x49fdca(0x251),new Map()),_0x3d78b2(this,_0x49fdca(0x1fb),new _0x59aa37['Subject']()),_0x3d78b2(this,_0x49fdca(0x2e8),this[_0x49fdca(0x1fb)][_0x49fdca(0x1d0)]());}[_0x827b65(0x259)](_0x310b7d,_0x210377){const _0x5d5804=_0x827b65;var _0x24d197;let _0x4d3829=(_0x24d197=this[_0x5d5804(0x2c6)][_0x5d5804(0x2a6)](_0x310b7d))==null?void 0x0:_0x24d197[_0x5d5804(0x224)][_0x210377];return _0x4d3829?_0x1d869f['Tools'][_0x5d5804(0x1eb)](_0x4d3829):void 0x0;}[_0x827b65(0x219)](_0x156349){const _0x531561=_0x827b65;var _0x1a543d;return _0x1d869f[_0x531561(0x2d7)]['deepClone'](((_0x1a543d=this[_0x531561(0x2c6)]['get'](_0x156349))==null?void 0x0:_0x1a543d[_0x531561(0x224)])??{});}[_0x827b65(0x21c)](_0x971a49){const _0x16edbf=_0x827b65;let _0x9d8451=this[_0x16edbf(0x2c6)]['get'](_0x971a49);return _0x9d8451?_0x1d869f['Tools']['deepClone'](_0x9d8451):void 0x0;}[_0x827b65(0x309)](_0x284730,_0x532519,_0x3da324){const _0x47cddf=_0x827b65;return this[_0x47cddf(0x272)](_0x284730,{[_0x532519]:_0x3da324});}[_0x827b65(0x2e6)](_0x8a669c,_0x4e4b35){const _0x22196c=_0x827b65;return this[_0x22196c(0x251)]['has'](_0x8a669c)||!_0x169706(_0x4e4b35)?!0x1:(this['_resources'][_0x22196c(0x28e)](_0x8a669c,_0x1d869f['Tools'][_0x22196c(0x1eb)](_0x4e4b35)),this['_change$'][_0x22196c(0x2d8)]({'unitId':_0x8a669c}),!0x0);}[_0x827b65(0x272)](_0x7399af,_0x20e197){const _0x37baea=_0x827b65;if(this[_0x37baea(0x251)][_0x37baea(0x287)](_0x7399af)||!Object[_0x37baea(0x237)](_0x20e197)['length']||!_0x169706({'schemaVersion':0x1,'formulas':_0x20e197}))return!0x1;let _0xc33b46=this['_resources']['get'](_0x7399af)??_0x79ce8d(),_0x5da85f=_0x1d869f['Tools']['deepClone'](_0xc33b46);return Object['assign'](_0x5da85f['formulas'],_0x1d869f[_0x37baea(0x2d7)][_0x37baea(0x1eb)](_0x20e197)),this['_resources'][_0x37baea(0x28e)](_0x7399af,_0x5da85f),this[_0x37baea(0x1fb)][_0x37baea(0x2d8)]({'unitId':_0x7399af,'rangeIds':Object['keys'](_0x20e197)}),!0x0;}[_0x827b65(0x1df)](_0x1b510f,_0x10affd){const _0x173545=_0x827b65;if(this[_0x173545(0x251)]['has'](_0x1b510f))return!0x1;let _0x269571=this[_0x173545(0x2c6)][_0x173545(0x2a6)](_0x1b510f);if(!(_0x269571!=null&&_0x269571[_0x173545(0x224)][_0x10affd]))return!0x1;let _0x4080ae=_0x1d869f[_0x173545(0x2d7)][_0x173545(0x1eb)](_0x269571);return delete _0x4080ae[_0x173545(0x224)][_0x10affd],this['_resources']['set'](_0x1b510f,_0x4080ae),this[_0x173545(0x1fb)][_0x173545(0x2d8)]({'unitId':_0x1b510f,'rangeIds':[_0x10affd]}),!0x0;}[_0x827b65(0x290)](_0x249117,_0x34e128){const _0x1fbee5=_0x827b65;return _0x34e128&&typeof _0x34e128==_0x1fbee5(0x2f9)&&'schemaVersion'in _0x34e128&&_0x34e128[_0x1fbee5(0x203)]!==0x1?(this['_preserveInvalid'](_0x249117,_0x34e128,'unsupported-version'),!0x1):_0x169706(_0x34e128)?(this[_0x1fbee5(0x2c6)][_0x1fbee5(0x28e)](_0x249117,_0x1d869f[_0x1fbee5(0x2d7)]['deepClone'](_0x34e128)),this[_0x1fbee5(0x2e9)][_0x1fbee5(0x1f4)](_0x249117),this[_0x1fbee5(0x251)][_0x1fbee5(0x1f4)](_0x249117),this[_0x1fbee5(0x1fb)][_0x1fbee5(0x2d8)]({'unitId':_0x249117}),!0x0):(this[_0x1fbee5(0x212)](_0x249117,_0x34e128,_0x1fbee5(0x1d8)),!0x1);}[_0x827b65(0x2c8)](_0x545256){const _0xef0c07=_0x827b65;let _0x17104e=this['_resources'][_0xef0c07(0x2a6)](_0x545256);return _0x17104e?_0x1d869f[_0xef0c07(0x2d7)][_0xef0c07(0x1eb)](_0x17104e):this['_rawResources'][_0xef0c07(0x287)](_0x545256)?_0x1d869f['Tools']['deepClone'](this[_0xef0c07(0x2e9)][_0xef0c07(0x2a6)](_0x545256)):_0x79ce8d();}[_0x827b65(0x2ed)](_0x55a9b7){const _0x154acd=_0x827b65;return this[_0x154acd(0x251)][_0x154acd(0x2a6)](_0x55a9b7);}['removeUnit'](_0x2f1427){const _0x31e512=_0x827b65;this[_0x31e512(0x2c6)]['delete'](_0x2f1427),this['_rawResources'][_0x31e512(0x1f4)](_0x2f1427),this[_0x31e512(0x251)][_0x31e512(0x1f4)](_0x2f1427),this[_0x31e512(0x1fb)][_0x31e512(0x2d8)]({'unitId':_0x2f1427});}[_0x827b65(0x2c3)](){const _0x5c4430=_0x827b65;this[_0x5c4430(0x2c6)]['clear'](),this[_0x5c4430(0x2e9)]['clear'](),this[_0x5c4430(0x251)]['clear'](),this['_change$'][_0x5c4430(0x2cd)](),super[_0x5c4430(0x2c3)]();}[_0x827b65(0x212)](_0x408765,_0x4774f2,_0x1c6464){const _0x41f18f=_0x827b65;this[_0x41f18f(0x2c6)][_0x41f18f(0x1f4)](_0x408765),this[_0x41f18f(0x2e9)][_0x41f18f(0x28e)](_0x408765,_0x1d869f[_0x41f18f(0x2d7)][_0x41f18f(0x1eb)](_0x4774f2)),this['_loadErrors'][_0x41f18f(0x28e)](_0x408765,_0x1c6464),this[_0x41f18f(0x1fb)][_0x41f18f(0x2d8)]({'unitId':_0x408765});}};let _0x4ef19e=function(_0x28df4c){const _0x3c2db5=_0x827b65;return _0x28df4c[_0x3c2db5(0x2cc)]='empty',_0x28df4c[_0x3c2db5(0x21e)]=_0x3c2db5(0x25a),_0x28df4c[_0x3c2db5(0x1cb)]=_0x3c2db5(0x205),_0x28df4c['ERROR']='error',_0x28df4c;}({});function _0x43893f(_0x4da6a1,_0x156c0c){return function(_0x5af6a6,_0x41a76e){_0x156c0c(_0x5af6a6,_0x41a76e,_0x4da6a1);};}function _0x7efcf8(_0x40464b,_0x4b1ad5,_0x296570,_0x4853e9){const _0x40f8c9=_0x827b65;var _0x2d96d6=arguments[_0x40f8c9(0x266)],_0x24abf7=_0x2d96d6<0x3?_0x4b1ad5:_0x4853e9===null?_0x4853e9=Object[_0x40f8c9(0x1c7)](_0x4b1ad5,_0x296570):_0x4853e9,_0x5150a7;if(typeof Reflect==_0x40f8c9(0x2f9)&&typeof Reflect[_0x40f8c9(0x24b)]==_0x40f8c9(0x27c))_0x24abf7=Reflect[_0x40f8c9(0x24b)](_0x40464b,_0x4b1ad5,_0x296570,_0x4853e9);else{for(var _0x136557=_0x40464b['length']-0x1;_0x136557>=0x0;_0x136557--)(_0x5150a7=_0x40464b[_0x136557])&&(_0x24abf7=(_0x2d96d6<0x3?_0x5150a7(_0x24abf7):_0x2d96d6>0x3?_0x5150a7(_0x4b1ad5,_0x296570,_0x24abf7):_0x5150a7(_0x4b1ad5,_0x296570))||_0x24abf7);}return _0x2d96d6>0x3&&_0x24abf7&&Object[_0x40f8c9(0x24e)](_0x4b1ad5,_0x296570,_0x24abf7),_0x24abf7;}let _0x458a05=class extends _0x1d869f[_0x827b65(0x2ef)]{constructor(_0x1c4252,_0x3fcee7,_0x34539c){const _0x47144c=_0x827b65;super(),this[_0x47144c(0x257)]=_0x1c4252,this[_0x47144c(0x22e)]=_0x3fcee7,this[_0x47144c(0x1f9)]=_0x34539c,_0x3d78b2(this,_0x47144c(0x20f),new Map()),_0x3d78b2(this,_0x47144c(0x204),new Map()),_0x3d78b2(this,'_presentationChanged$',new _0x59aa37[(_0x47144c(0x223))]()),_0x3d78b2(this,'presentationChanged$',this['_presentationChanged$'][_0x47144c(0x1d0)]()),this[_0x47144c(0x28c)](this[_0x47144c(0x22e)][_0x47144c(0x243)][_0x47144c(0x2b3)](_0x32264d=>{const _0x4b8396=_0x47144c;for(let _0xa615e2 of Object[_0x4b8396(0x1c5)](_0x32264d))for(let _0x199bf9 of Object['values'](_0xa615e2))_0x199bf9[_0x4b8396(0x23e)](_0x27e9e2=>this[_0x4b8396(0x260)](_0x27e9e2));}));}[_0x827b65(0x255)](_0x1614e1){const _0x5a68c6=_0x827b65;var _0x22b5f1;let _0x46a8a5=_0x1614e1[_0x5a68c6(0x1fd)](),_0x1d77c4=((_0x22b5f1=_0x1614e1[_0x5a68c6(0x23b)]()[_0x5a68c6(0x1f6)])==null||(_0x22b5f1=_0x22b5f1[_0x5a68c6(0x27e)])==null?void 0x0:_0x22b5f1[_0x5a68c6(0x2eb)](_0x2ff3e4))??[],_0x333cb4=this[_0x5a68c6(0x257)][_0x5a68c6(0x219)](_0x46a8a5),_0x11d6b6=new Set();for(let _0x55527f of _0x1d77c4){let _0x3149da=_0x333cb4[_0x55527f[_0x5a68c6(0x2e0)]];_0x3149da&&(_0x11d6b6[_0x5a68c6(0x202)](_0x334c74(_0x46a8a5,_0x55527f[_0x5a68c6(0x2e0)])),this[_0x5a68c6(0x225)]({'unitId':_0x46a8a5,'rangeId':_0x55527f[_0x5a68c6(0x2e0)]},_0x3149da));}for(let _0x5379bf of Array['from'](this[_0x5a68c6(0x20f)]['values']()))_0x5379bf[_0x5a68c6(0x2c7)]===_0x46a8a5&&!_0x11d6b6[_0x5a68c6(0x287)](_0x334c74(_0x5379bf[_0x5a68c6(0x2c7)],_0x5379bf[_0x5a68c6(0x2e0)]))&&this[_0x5a68c6(0x2fb)](_0x5379bf);}[_0x827b65(0x225)](_0x1e8cc2,_0x5d5434){const _0x118a01=_0x827b65;let _0x26bf67=_0x334c74(_0x1e8cc2[_0x118a01(0x2c7)],_0x1e8cc2['rangeId']),_0x58879b=this[_0x118a01(0x20f)][_0x118a01(0x2a6)](_0x26bf67),_0x1707cb=this[_0x118a01(0x1f9)][_0x118a01(0x1c6)](_0x1e8cc2[_0x118a01(0x2c7)]);if(_0x58879b&&_0x58879b[_0x118a01(0x2b8)][_0x118a01(0x22b)]===_0x5d5434[_0x118a01(0x22b)]&&_0x58879b[_0x118a01(0x1ca)]===_0x1707cb){_0x58879b['config']=_0x5d5434;let _0x297e40=_0x58879b[_0x118a01(0x1f2)]?this['_registrationService'][_0x118a01(0x305)](_0x58879b['unitId'],_0x58879b[_0x118a01(0x2c7)],_0x58879b[_0x118a01(0x1f2)])??void 0x0:void 0x0;_0x58879b[_0x118a01(0x28f)]=_0x297e40,this[_0x118a01(0x2d9)](_0x26bf67,_0x4b7aff(_0x5d5434,_0x297e40));return;}_0x58879b!=null&&_0x58879b[_0x118a01(0x1f2)]&&this[_0x118a01(0x270)](_0x58879b);let _0xaee96b={..._0x1e8cc2,'config':_0x5d5434,'referenceRevision':_0x1707cb,'presentation':_0x4b7aff(_0x5d5434,void 0x0)};if(this[_0x118a01(0x20f)]['set'](_0x26bf67,_0xaee96b),!_0x5d5434[_0x118a01(0x22b)][_0x118a01(0x233)]())return;let _0x3f37a8=this['_registrationService'][_0x118a01(0x2fa)](_0x1e8cc2[_0x118a01(0x2c7)],_0x1e8cc2[_0x118a01(0x2c7)],_0x5d5434[_0x118a01(0x22b)],void 0x0,{'rangeId':_0x1e8cc2[_0x118a01(0x2e0)]},_0x410f01[_0x118a01(0x24a)][_0x118a01(0x1db)],_0x1e8cc2[_0x118a01(0x2e0)]);_0xaee96b[_0x118a01(0x1f2)]=_0x3f37a8,this[_0x118a01(0x204)][_0x118a01(0x28e)](_0x3f37a8,_0x26bf67);}[_0x827b65(0x2fb)](_0x20354e){const _0x54e68f=_0x827b65;let _0x3ff6d6=_0x334c74(_0x20354e['unitId'],_0x20354e['rangeId']),_0x1e3574=this[_0x54e68f(0x20f)]['get'](_0x3ff6d6);_0x1e3574&&(this[_0x54e68f(0x270)](_0x1e3574),this['_registrations'][_0x54e68f(0x1f4)](_0x3ff6d6));}['unregisterUnit'](_0x18c53f){const _0x4fe579=_0x827b65;for(let _0x5c72b1 of Array[_0x4fe579(0x2bb)](this[_0x4fe579(0x20f)][_0x4fe579(0x1c5)]()))_0x5c72b1[_0x4fe579(0x2c7)]===_0x18c53f&&this[_0x4fe579(0x2fb)](_0x5c72b1);}[_0x827b65(0x295)](_0x145039){const _0x7abd8c=_0x827b65;var _0x194cc0;return(_0x194cc0=this['_registrations']['get'](_0x334c74(_0x145039[_0x7abd8c(0x2c7)],_0x145039['rangeId'])))==null?void 0x0:_0x194cc0['presentation'];}[_0x827b65(0x306)](_0x59eb2e){const _0x31adfb=_0x827b65;let _0x47662f=this['_registrations'][_0x31adfb(0x2a6)](_0x334c74(_0x59eb2e[_0x31adfb(0x2c7)],_0x59eb2e['rangeId']));return _0x47662f?_0x1d41b3(_0x47662f):void 0x0;}[_0x827b65(0x242)](){const _0x47c42f=_0x827b65;return Array[_0x47c42f(0x2bb)](this[_0x47c42f(0x20f)][_0x47c42f(0x1c5)](),_0x407c69=>({'identity':{'unitId':_0x407c69[_0x47c42f(0x2c7)],'rangeId':_0x407c69['rangeId']},'config':_0x407c69[_0x47c42f(0x2b8)],'referenceRevision':_0x407c69[_0x47c42f(0x1ca)],..._0x407c69[_0x47c42f(0x28f)]?{'liveResult':_0x407c69[_0x47c42f(0x28f)]}:null}));}[_0x827b65(0x2c3)](){const _0x3d72ac=_0x827b65;for(let _0x41f394 of this[_0x3d72ac(0x20f)][_0x3d72ac(0x1c5)]())this[_0x3d72ac(0x270)](_0x41f394);this[_0x3d72ac(0x20f)][_0x3d72ac(0x2ac)](),this[_0x3d72ac(0x204)]['clear'](),this['_presentationChanged$'][_0x3d72ac(0x2cd)](),super[_0x3d72ac(0x2c3)]();}[_0x827b65(0x260)](_0x28faa3){const _0xc874a5=_0x827b65;let _0x53c4b2=this[_0xc874a5(0x204)][_0xc874a5(0x2a6)](_0x28faa3[_0xc874a5(0x1f2)]),_0x25d9fe=_0x53c4b2?this[_0xc874a5(0x20f)]['get'](_0x53c4b2):void 0x0;_0x53c4b2&&_0x25d9fe&&(_0x25d9fe['liveResult']=_0x28faa3,this[_0xc874a5(0x2d9)](_0x53c4b2,_0x4b7aff(_0x25d9fe[_0xc874a5(0x2b8)],_0x28faa3)));}[_0x827b65(0x2d9)](_0x3205ab,_0x3a7b4e){const _0x600b48=_0x827b65;var _0x484ed8,_0x352ead;let _0x4aedfd=this[_0x600b48(0x20f)][_0x600b48(0x2a6)](_0x3205ab);if(!_0x4aedfd||_0x586dac(_0x4aedfd[_0x600b48(0x1ee)],_0x3a7b4e))return;let _0x3ef4d9=_0x4aedfd[_0x600b48(0x1ee)],_0x53ac58=_0x1d41b3(_0x4aedfd);_0x4aedfd['presentation']=_0x3a7b4e,this[_0x600b48(0x1c4)]['next']({'unitId':_0x4aedfd[_0x600b48(0x2c7)],'rangeId':_0x4aedfd[_0x600b48(0x2e0)],'presentation':_0x3a7b4e,'previousPresentation':_0x3ef4d9,'result':_0x1d41b3(_0x4aedfd),'previousResult':{..._0x53ac58,..._0x3ef4d9,'value':(_0x484ed8=_0x3ef4d9[_0x600b48(0x2db)])==null?void 0x0:_0x484ed8['v'],'valueType':((_0x352ead=_0x3ef4d9[_0x600b48(0x2db)])==null?void 0x0:_0x352ead['t'])??void 0x0}});}[_0x827b65(0x270)](_0x4f6db5){const _0x318498=_0x827b65;_0x4f6db5[_0x318498(0x1f2)]&&(this[_0x318498(0x22e)][_0x318498(0x258)](_0x4f6db5[_0x318498(0x2c7)],_0x4f6db5[_0x318498(0x2c7)],[_0x4f6db5['formulaId']]),this[_0x318498(0x204)][_0x318498(0x1f4)](_0x4f6db5['formulaId']));}};_0x458a05=_0x7efcf8([_0x43893f(0x0,(0x0,_0x1d869f['Inject'])(_0x3d0928)),_0x43893f(0x1,(0x0,_0x1d869f[_0x827b65(0x2e1)])(_0x410f01[_0x827b65(0x278)])),_0x43893f(0x2,(0x0,_0x1d869f[_0x827b65(0x2e1)])(_0x50090f[_0x827b65(0x20b)]))],_0x458a05);function _0x334c74(_0xc77b2,_0xb44992){return _0xc77b2+'\x00'+_0xb44992;}function _0x4b7aff(_0x295e8f,_0x28ef1c){const _0x4cc2c7=_0x827b65;return(0x0,_0x50090f[_0x4cc2c7(0x25f)])({'numberFormat':_0x295e8f['numberFormat'],'lastValue':_0x295e8f[_0x4cc2c7(0x22a)],'result':_0x28ef1c});}function _0x1d41b3(_0x581fd2){const _0xfe9adc=_0x827b65;var _0x3d022c,_0x30c4a7,_0x26e899;let _0xc03062=_0x581fd2[_0xfe9adc(0x1ee)],_0xae194e=_0x581fd2['config'][_0xfe9adc(0x22b)][_0xfe9adc(0x233)]()?_0xc03062['stale']||_0xc03062[_0xfe9adc(0x2db)]==null?_0xfe9adc(0x25a):((_0x3d022c=_0x581fd2[_0xfe9adc(0x28f)])==null?void 0x0:_0x3d022c[_0xfe9adc(0x22c)])===_0x410f01[_0xfe9adc(0x1cd)][_0xfe9adc(0x308)]?_0xfe9adc(0x268):_0xfe9adc(0x205):_0xfe9adc(0x1d7);return{..._0xc03062,'status':_0xae194e,'value':(_0x30c4a7=_0xc03062[_0xfe9adc(0x2db)])==null?void 0x0:_0x30c4a7['v'],'valueType':((_0x26e899=_0xc03062[_0xfe9adc(0x2db)])==null?void 0x0:_0x26e899['t'])??void 0x0};}function _0x586dac(_0x3a16b6,_0x2e9efc){const _0x52621b=_0x827b65;var _0x3afa0f,_0x1021f9,_0x4a6dfa,_0x15492d;return _0x3a16b6[_0x52621b(0x229)]===_0x2e9efc[_0x52621b(0x229)]&&_0x3a16b6[_0x52621b(0x291)]===_0x2e9efc['color']&&_0x3a16b6[_0x52621b(0x273)]===_0x2e9efc[_0x52621b(0x273)]&&_0x3a16b6['source']===_0x2e9efc[_0x52621b(0x2a1)]&&_0x3a16b6[_0x52621b(0x269)]===_0x2e9efc[_0x52621b(0x269)]&&((_0x3afa0f=_0x3a16b6['cell'])==null?void 0x0:_0x3afa0f['t'])===((_0x1021f9=_0x2e9efc[_0x52621b(0x2db)])==null?void 0x0:_0x1021f9['t'])&&Object['is']((_0x4a6dfa=_0x3a16b6[_0x52621b(0x2db)])==null?void 0x0:_0x4a6dfa['v'],(_0x15492d=_0x2e9efc[_0x52621b(0x2db)])==null?void 0x0:_0x15492d['v']);}let _0x2c27f0={'id':'docs-formula.mutation.set-formula','type':_0x1d869f[_0x827b65(0x1f1)][_0x827b65(0x283)],'handler':(_0x27cb20,_0x43fbac)=>!(_0x43fbac!=null&&_0x43fbac[_0x827b65(0x2c7)])||!_0x43fbac[_0x827b65(0x2e0)]||!_0x43fbac['config']?!0x1:_0x27cb20['get'](_0x3d0928)[_0x827b65(0x309)](_0x43fbac[_0x827b65(0x2c7)],_0x43fbac['rangeId'],_0x43fbac[_0x827b65(0x2b8)])},_0x35c2b9={'id':'docs-formula.mutation.remove-formula','type':_0x1d869f[_0x827b65(0x1f1)][_0x827b65(0x283)],'handler':(_0x3cab01,_0x3a9e53)=>!(_0x3a9e53!=null&&_0x3a9e53['unitId'])||!_0x3a9e53['rangeId']?!0x1:_0x3cab01[_0x827b65(0x2a6)](_0x3d0928)[_0x827b65(0x1df)](_0x3a9e53[_0x827b65(0x2c7)],_0x3a9e53['rangeId'])},_0x1e92ee={'id':_0x827b65(0x1d5),'type':_0x1d869f[_0x827b65(0x1f1)][_0x827b65(0x283)],'handler':(_0x50f9ec,_0x31f170)=>!(_0x31f170!=null&&_0x31f170[_0x827b65(0x2c7)])||!_0x31f170[_0x827b65(0x2d2)]?!0x1:_0x50f9ec[_0x827b65(0x2a6)](_0x3d0928)[_0x827b65(0x2e6)](_0x31f170['unitId'],_0x31f170[_0x827b65(0x2d2)])},_0x3c160a={'id':_0x827b65(0x2c4),'type':_0x1d869f[_0x827b65(0x1f1)][_0x827b65(0x283)],'handler':(_0x526eaf,_0x2b4555)=>{const _0x13bf6e=_0x827b65;if(!(_0x2b4555!=null&&_0x2b4555[_0x13bf6e(0x2c7)])||!_0x2b4555[_0x13bf6e(0x2a0)][_0x13bf6e(0x266)])return!0x1;let _0xd4539b=_0x526eaf['get'](_0x3d0928),_0x4103c1=_0x526eaf['get'](_0x50090f['HostExternalReferenceModel']),_0x216970=_0xd4539b[_0x13bf6e(0x21c)](_0x2b4555['unitId']);if(!_0x216970)return!0x1;let _0x8203e=_0x1d869f[_0x13bf6e(0x2d7)][_0x13bf6e(0x1eb)](_0x216970),_0x5e11da=!0x1;for(let _0x20a79a of _0x2b4555['updates']){var _0x521a7b,_0x2bf7dd,_0x5b749b,_0xd0b54d;let _0x23e857=_0x8203e[_0x13bf6e(0x224)][_0x20a79a[_0x13bf6e(0x2e0)]];_0x23e857&&_0x23e857[_0x13bf6e(0x22b)]===_0x20a79a[_0x13bf6e(0x2a9)]&&((_0x521a7b=_0x23e857['numberFormat'])==null?void 0x0:_0x521a7b[_0x13bf6e(0x273)])===_0x20a79a[_0x13bf6e(0x1e1)]&&_0x4103c1[_0x13bf6e(0x1c6)](_0x2b4555[_0x13bf6e(0x2c7)])===_0x20a79a['expectedReferenceRevision']&&(((_0x2bf7dd=_0x23e857['lastValue'])==null?void 0x0:_0x2bf7dd['v'])!==_0x20a79a['lastValue']['v']||((_0x5b749b=_0x23e857['lastValue'])==null?void 0x0:_0x5b749b['t'])!==_0x20a79a[_0x13bf6e(0x22a)]['t']||((_0xd0b54d=_0x23e857['lastValue'])==null?void 0x0:_0xd0b54d['pattern'])!==_0x20a79a['lastValue']['pattern'])&&(_0x23e857[_0x13bf6e(0x22a)]=_0x1d869f[_0x13bf6e(0x2d7)][_0x13bf6e(0x1eb)](_0x20a79a[_0x13bf6e(0x22a)]),_0x5e11da=!0x0);}return!_0x5e11da||_0xd4539b[_0x13bf6e(0x2e6)](_0x2b4555[_0x13bf6e(0x2c7)],_0x8203e);}},_0xb81e24={'id':'docs-formula.command.insert','type':_0x1d869f[_0x827b65(0x1f1)][_0x827b65(0x1dd)],'handler':(_0x5c9fba,_0x2d98f4)=>{const _0x4b4796=_0x827b65;if(!(_0x2d98f4!=null&&_0x2d98f4[_0x4b4796(0x22b)][_0x4b4796(0x233)]()))return!0x1;let _0x5f40d8=_0x1ce930(_0x5c9fba,_0x2d98f4[_0x4b4796(0x2c7)],'');if(!_0x5f40d8)return!0x1;let _0x1d1544=_0x4dcfa1(_0x2d98f4['target'],_0x5f40d8['body'],_0x5adf50(_0x5c9fba,_0x5f40d8['unitId']));if(!_0x1d1544)return!0x1;let _0x412f4d=_0x1ace49(_0x5c9fba,_0x5f40d8[_0x4b4796(0x2c7)],_0x2d98f4[_0x4b4796(0x22b)],_0x2d98f4[_0x4b4796(0x2dc)]??[]);if(!_0x412f4d)return!0x1;let _0x34ec23=_0x293cd3(_0x5f40d8['body'],_0x5f40d8[_0x4b4796(0x2f6)],_0x5f40d8['unitId']),_0x399294=_0x5a9709({'documentData':_0x5f40d8[_0x4b4796(0x2bc)],'resource':_0x5f40d8['resource'],'rangeId':_0x34ec23,'config':{'formula':_0x2d98f4[_0x4b4796(0x22b)],..._0x2d98f4[_0x4b4796(0x245)]?{'numberFormat':_0x2d98f4['numberFormat']}:null},'startOffset':_0x1d1544[_0x4b4796(0x221)],'endOffset':_0x1d1544[_0x4b4796(0x1e9)]});if(!_0x399294)return!0x1;let _0x195276=(0x0,_0x50090f[_0x4b4796(0x2a5)])(_0x5c9fba,_0x5f40d8['unitId'],_0x412f4d);return!_0x195276||!_0x4fe10a({'accessor':_0x5c9fba,'document':_0x5f40d8['document'],'unitId':_0x5f40d8['unitId'],'trigger':_0xb81e24['id'],'rangeId':_0x34ec23,'previousResource':_0x5f40d8[_0x4b4796(0x2d2)],'nextResource':_0x399294[_0x4b4796(0x2d4)],'previousDocumentData':_0x5f40d8[_0x4b4796(0x2bc)],'nextDocumentData':_0x399294[_0x4b4796(0x2ab)],'cursorOffset':_0x399294['cursorOffset'],'externalMutations':_0x195276})?!0x1:{'rangeId':_0x34ec23,'startOffset':_0x399294[_0x4b4796(0x27f)]-0x1,'endOffset':_0x399294['cursorOffset']};}},_0x18cd15={'id':'docs-formula.command.update','type':_0x1d869f[_0x827b65(0x1f1)][_0x827b65(0x1dd)],'handler':(_0x5d5feb,_0x24b097)=>{const _0xbde758=_0x827b65;if(!(_0x24b097!=null&&_0x24b097[_0xbde758(0x2e0)])||!_0x24b097[_0xbde758(0x22b)][_0xbde758(0x233)]())return!0x1;let _0x2a8f78=_0x1ce930(_0x5d5feb,_0x24b097['unitId'],''),_0x41d2e5=_0x2a8f78==null?void 0x0:_0x2a8f78[_0xbde758(0x2f6)][_0xbde758(0x259)](_0x2a8f78[_0xbde758(0x2c7)],_0x24b097['rangeId']),_0x35b42a=_0x2a8f78?_0x261b2d(_0x2a8f78[_0xbde758(0x2bc)][_0xbde758(0x1f6)],_0x24b097[_0xbde758(0x2e0)]):void 0x0;if(!_0x2a8f78||!_0x41d2e5||!_0x35b42a)return!0x1;let _0x5c4504=_0x1ace49(_0x5d5feb,_0x2a8f78['unitId'],_0x24b097['formula'],_0x24b097[_0xbde758(0x2dc)]??[]);if(!_0x5c4504)return!0x1;let _0x70f065=(0x0,_0x50090f[_0xbde758(0x2a5)])(_0x5d5feb,_0x2a8f78[_0xbde758(0x2c7)],_0x5c4504);if(!_0x70f065)return!0x1;let _0x3afea8=_0x2ff30b(_0x2a8f78['resource']);return _0x3afea8[_0xbde758(0x224)][_0x24b097['rangeId']]={'formula':_0x24b097[_0xbde758(0x22b)],..._0x24b097['numberFormat']?{'numberFormat':_0x24b097[_0xbde758(0x245)]}:_0x41d2e5['numberFormat']?{'numberFormat':_0x41d2e5[_0xbde758(0x245)]}:null},_0x4fe10a({'accessor':_0x5d5feb,'document':_0x2a8f78[_0xbde758(0x1d9)],'unitId':_0x2a8f78['unitId'],'trigger':_0x18cd15['id'],'rangeId':_0x24b097[_0xbde758(0x2e0)],'previousResource':_0x2a8f78['resource'],'nextResource':_0x3afea8,'cursorOffset':_0x35b42a['endIndex']+0x1,'externalMutations':_0x70f065});}},_0x4049f1={'id':'docs-formula.command.set-number-format','type':_0x1d869f['CommandType']['COMMAND'],'handler':(_0x2f0d8f,_0xfe3d35)=>{const _0xee17b9=_0x827b65;if(!(_0xfe3d35!=null&&_0xfe3d35[_0xee17b9(0x2e0)]))return!0x1;let _0xb8dcc7=_0x1ce930(_0x2f0d8f,_0xfe3d35[_0xee17b9(0x2c7)],''),_0x3b33a4=_0xb8dcc7==null?void 0x0:_0xb8dcc7[_0xee17b9(0x2f6)][_0xee17b9(0x259)](_0xb8dcc7['unitId'],_0xfe3d35['rangeId']),_0x8e2391=_0xb8dcc7?_0x261b2d(_0xb8dcc7['documentData']['body'],_0xfe3d35['rangeId']):void 0x0;if(!_0xb8dcc7||!_0x3b33a4||!_0x8e2391)return!0x1;let _0x22d22d=_0x2ff30b(_0xb8dcc7[_0xee17b9(0x2d2)]);return _0x22d22d['formulas'][_0xfe3d35[_0xee17b9(0x2e0)]]={..._0x3b33a4,..._0xfe3d35[_0xee17b9(0x245)]?{'numberFormat':_0xfe3d35[_0xee17b9(0x245)]}:null},_0xfe3d35[_0xee17b9(0x245)]||delete _0x22d22d[_0xee17b9(0x224)][_0xfe3d35[_0xee17b9(0x2e0)]][_0xee17b9(0x245)],_0x4fe10a({'accessor':_0x2f0d8f,'document':_0xb8dcc7['document'],'unitId':_0xb8dcc7[_0xee17b9(0x2c7)],'trigger':_0x4049f1['id'],'rangeId':_0xfe3d35['rangeId'],'previousResource':_0xb8dcc7[_0xee17b9(0x2d2)],'nextResource':_0x22d22d,'cursorOffset':_0x8e2391[_0xee17b9(0x2ff)]+0x1,'externalMutations':{}});}},_0x172215={'id':_0x827b65(0x21f),'type':_0x1d869f[_0x827b65(0x1f1)]['COMMAND'],'handler':(_0x2f7580,_0x5aeb10)=>_0x476611(_0x2f7580,_0x5aeb10,'',_0x172215['id'])},_0x3f932c={'id':'docs-formula.command.replace-with-text','type':_0x1d869f[_0x827b65(0x1f1)][_0x827b65(0x1dd)],'handler':(_0x4f4db1,_0x304f2a)=>_0x476611(_0x4f4db1,_0x304f2a,(_0x304f2a==null?void 0x0:_0x304f2a[_0x827b65(0x229)])??'',_0x3f932c['id'])},_0x2309df={'id':_0x827b65(0x2dd),'type':_0x1d869f[_0x827b65(0x1f1)][_0x827b65(0x1dd)],'handler':(_0x476315,_0x21da07)=>{const _0x1635cb=_0x827b65;if(!(_0x21da07!=null&&_0x21da07['rangeId']))return!0x1;let _0x277259=_0x1ce930(_0x476315,_0x21da07[_0x1635cb(0x2c7)],'');if(!_0x277259)return!0x1;let _0x1258e7=_0x476315[_0x1635cb(0x2a6)](_0x458a05)['getResult']({'unitId':_0x277259[_0x1635cb(0x2c7)],'rangeId':_0x21da07[_0x1635cb(0x2e0)]});return _0x1258e7?_0x476611(_0x476315,_0x21da07,_0x1258e7['text'],_0x2309df['id']):!0x1;}};function _0x476611(_0x3a0efc,_0x5e5217,_0x23adb4,_0x14bcaf){const _0x28dc1f=_0x827b65;if(!(_0x5e5217!=null&&_0x5e5217[_0x28dc1f(0x2e0)]))return!0x1;let _0x1cb696=_0x1ce930(_0x3a0efc,_0x5e5217[_0x28dc1f(0x2c7)],'');if(!_0x1cb696)return!0x1;let _0x43e2ec=_0x4eace5({'documentData':_0x1cb696[_0x28dc1f(0x2bc)],'resource':_0x1cb696[_0x28dc1f(0x2d2)],'rangeId':_0x5e5217[_0x28dc1f(0x2e0)],'text':_0x23adb4});return _0x43e2ec?_0x4fe10a({'accessor':_0x3a0efc,'document':_0x1cb696[_0x28dc1f(0x1d9)],'unitId':_0x1cb696['unitId'],'trigger':_0x14bcaf,'rangeId':_0x5e5217[_0x28dc1f(0x2e0)],'previousResource':_0x1cb696[_0x28dc1f(0x2d2)],'nextResource':_0x43e2ec[_0x28dc1f(0x2d4)],'previousDocumentData':_0x1cb696[_0x28dc1f(0x2bc)],'nextDocumentData':_0x43e2ec[_0x28dc1f(0x2ab)],'cursorOffset':_0x43e2ec[_0x28dc1f(0x27f)],'externalMutations':{}}):!0x1;}function _0x1ce930(_0x2ec80d,_0x25a696,_0x3e9e07){const _0x8861da=_0x827b65;if(_0x3e9e07)return null;let _0x37ed8a=_0x2ec80d[_0x8861da(0x2a6)](_0x1d869f['IUniverInstanceService']),_0x5d861e=(_0x25a696?_0x37ed8a[_0x8861da(0x25d)](_0x25a696,_0x1d869f[_0x8861da(0x28b)][_0x8861da(0x2e2)]):_0x37ed8a[_0x8861da(0x24c)](_0x1d869f[_0x8861da(0x28b)][_0x8861da(0x2e2)]))??null;if(!_0x5d861e)return null;let _0x1f8d89=_0x5d861e[_0x8861da(0x23b)](),_0x5b44f9=_0x1f8d89[_0x8861da(0x1f6)];if(_0x1f8d89[_0x8861da(0x300)]||!_0x5b44f9)return null;let _0x29749b=_0x2ec80d['get'](_0x3d0928);return _0x29749b[_0x8861da(0x2ed)](_0x5d861e['getUnitId']())?null:{'document':_0x5d861e,'body':_0x5b44f9,'documentData':_0x1f8d89,'model':_0x29749b,'resource':_0x29749b[_0x8861da(0x21c)](_0x5d861e[_0x8861da(0x1fd)]())??_0x79ce8d(),'unitId':_0x5d861e['getUnitId']()};}function _0x5adf50(_0x38ced0,_0x468c89){const _0x5754d4=_0x827b65;var _0x6b5fe1;return(_0x6b5fe1=_0x38ced0[_0x5754d4(0x2a6)](_0x2fc97e[_0x5754d4(0x1ea)])[_0x5754d4(0x2af)]({'subUnitId':_0x468c89,'unitId':_0x468c89}))==null?void 0x0:_0x6b5fe1[0x0];}function _0x4dcfa1(_0x2e55be,_0x523465,_0x287a6e){const _0x3758f3=_0x827b65;if((_0x2e55be==null?void 0x0:_0x2e55be['type'])===_0x3758f3(0x2ea)){var _0x34f837;let _0x44d6db=((_0x34f837=_0x523465[_0x3758f3(0x27d)])==null?void 0x0:_0x34f837['filter'](_0x8426c9=>_0x8426c9[_0x3758f3(0x2ae)]===_0x2e55be['paragraphId']))??[];if(_0x44d6db['length']!==0x1)return null;let _0xbdf5b9=_0x44d6db[0x0],_0x2dd5f8=(0x0,_0x1d869f[_0x3758f3(0x1ed)])(_0x523465,_0xbdf5b9),_0x38137b=_0xbdf5b9['startIndex']-_0x2dd5f8,_0x4041c5=_0x2e55be['position']==='end'?_0x38137b:_0x2e55be['position'];if(!Number[_0x3758f3(0x26b)](_0x4041c5)||_0x4041c5<0x0||_0x4041c5>_0x38137b)return null;let _0x225084=_0x2dd5f8+_0x4041c5;return{'startOffset':_0x225084,'endOffset':_0x225084};}if((_0x2e55be==null?void 0x0:_0x2e55be[_0x3758f3(0x23f)])===_0x3758f3(0x236))return!Number[_0x3758f3(0x26b)](_0x2e55be[_0x3758f3(0x221)])||!Number['isInteger'](_0x2e55be[_0x3758f3(0x1e9)])?null:{'startOffset':Math['min'](_0x2e55be[_0x3758f3(0x221)],_0x2e55be['endOffset']),'endOffset':Math[_0x3758f3(0x2f8)](_0x2e55be[_0x3758f3(0x221)],_0x2e55be[_0x3758f3(0x1e9)])};let _0x7df192=(_0x2e55be==null?void 0x0:_0x2e55be[_0x3758f3(0x23f)])===_0x3758f3(0x2d1)?_0x2e55be['selection']:_0x287a6e;return!_0x7df192||_0x7df192['segmentId']?null:{'startOffset':Math[_0x3758f3(0x240)](_0x7df192[_0x3758f3(0x221)],_0x7df192['endOffset']),'endOffset':Math[_0x3758f3(0x2f8)](_0x7df192[_0x3758f3(0x221)],_0x7df192['endOffset'])};}function _0x1ace49(_0x19c39f,_0x3e355f,_0x4a7c39,_0x4a7db7){const _0x55049e=_0x827b65;let _0x5f1066=_0x19c39f[_0x55049e(0x2a6)](_0x410f01[_0x55049e(0x2cb)]),_0x1fb85d=_0x4a7c39[_0x55049e(0x2b6)]('=')?_0x4a7c39[_0x55049e(0x215)](0x1):_0x4a7c39,_0x10eb0e=_0x5f1066[_0x55049e(0x1e3)](_0x1fb85d);if(!_0x10eb0e)return null;let _0x22c7d4=_0x19c39f[_0x55049e(0x2a6)](_0x50090f[_0x55049e(0x20b)]),_0x192a71=(0x0,_0x50090f[_0x55049e(0x21d)])({'qualifiers':(0x0,_0x50090f['collectFormulaExternalReferenceQualifiers'])(_0x10eb0e),'explicitReferences':_0x4a7db7??[],'resolveBinding':_0x46c318=>_0x22c7d4[_0x55049e(0x262)](_0x3e355f,_0x46c318)});return _0x192a71['status']===_0x55049e(0x23a)?_0x192a71[_0x55049e(0x29d)]:null;}function _0x293cd3(_0xce2576,_0x42be50,_0x450777){const _0x54e1b4=_0x827b65;var _0x4cfa51;let _0x2fc036=(0x0,_0x1d869f[_0x54e1b4(0x26e)])(0x6);for(;_0xce2576!=null&&(_0x4cfa51=_0xce2576[_0x54e1b4(0x27e)])!=null&&_0x4cfa51[_0x54e1b4(0x274)](_0x2ae384=>_0x2ae384[_0x54e1b4(0x2e0)]===_0x2fc036)||_0x42be50[_0x54e1b4(0x259)](_0x450777,_0x2fc036);)_0x2fc036=(0x0,_0x1d869f[_0x54e1b4(0x26e)])(0x6);return _0x2fc036;}function _0x5a9709(_0x45433c){try{return _0x4d21e2(_0x45433c);}catch(_0x3714ae){if(_0x3714ae instanceof _0xafe7e3)return null;throw _0x3714ae;}}function _0x1cd074(_0x353d67){const _0x5394e9=_0x827b65;let _0x466d0d=_0x353d67[_0x5394e9(0x1fc)]&&_0x353d67[_0x5394e9(0x2ab)]?_0x4e1c80(_0x353d67[_0x5394e9(0x1d9)],_0x353d67[_0x5394e9(0x2c7)],_0x353d67[_0x5394e9(0x1fc)],_0x353d67[_0x5394e9(0x2ab)],_0x353d67[_0x5394e9(0x27f)],_0x353d67[_0x5394e9(0x1da)]):null;return _0x353d67[_0x5394e9(0x1fc)]&&_0x353d67[_0x5394e9(0x2ab)]&&!_0x466d0d?null:{'documentRedo':_0x466d0d,'resourceRedo':{'id':_0x1e92ee['id'],'params':{'unitId':_0x353d67[_0x5394e9(0x2c7)],'resource':_0x353d67['nextResource']}},'resourceUndo':{'id':_0x1e92ee['id'],'params':{'unitId':_0x353d67[_0x5394e9(0x2c7)],'resource':_0x353d67[_0x5394e9(0x23d)]}}};}function _0x9253e0(_0x548b96,_0x5f4445,_0xa7997e,_0x3c475c){const _0x16d160=_0x827b65;_0x3c475c[_0x16d160(0x294)]({'id':_0x548b96[_0x16d160(0x1da)]+':'+_0x548b96['rangeId'],'unitID':_0x548b96[_0x16d160(0x2c7)],'redoMutations':[..._0x548b96[_0x16d160(0x211)][_0x16d160(0x2e4)]?[_0x548b96['externalMutations'][_0x16d160(0x2e4)]]:[],..._0x5f4445[_0x16d160(0x301)]?[_0x5f4445[_0x16d160(0x301)]]:[],_0x5f4445['resourceRedo']],'undoMutations':[_0x5f4445[_0x16d160(0x2c2)],..._0xa7997e?[_0xa7997e]:[],..._0x548b96['externalMutations'][_0x16d160(0x2b0)]?[_0x548b96['externalMutations'][_0x16d160(0x2b0)]]:[]]});}function _0x4fe10a(_0x367908){const _0x4e471e=_0x827b65;let _0x93d7b4=_0x367908['accessor'][_0x4e471e(0x2a6)](_0x1d869f[_0x4e471e(0x2e7)]),_0x6c2bf=_0x367908[_0x4e471e(0x267)][_0x4e471e(0x2a6)](_0x1d869f[_0x4e471e(0x23c)]),_0x108fb8=_0x367908[_0x4e471e(0x267)][_0x4e471e(0x2a6)](_0x2fc97e[_0x4e471e(0x1ea)]),_0x55023f=_0x1cd074(_0x367908);if(!_0x55023f)return!0x1;let _0x5ec29f=!0x1,_0x434937=null,_0xfe702c=!0x1;try{if(_0x367908[_0x4e471e(0x211)][_0x4e471e(0x2e4)]){if(!_0x93d7b4[_0x4e471e(0x22d)](_0x367908[_0x4e471e(0x211)][_0x4e471e(0x2e4)]['id'],_0x367908['externalMutations'][_0x4e471e(0x2e4)][_0x4e471e(0x2bd)]))return!0x1;_0x5ec29f=!0x0;}if(_0x55023f[_0x4e471e(0x301)]){let _0x4c87b0=_0x93d7b4[_0x4e471e(0x22d)](_0x55023f[_0x4e471e(0x301)]['id'],_0x55023f['documentRedo'][_0x4e471e(0x2bd)]);if(!_0x4c87b0)return _0x3c6a80(_0x93d7b4,_0x367908['externalMutations'],_0x5ec29f),!0x1;_0x434937={'id':_0x2fc97e[_0x4e471e(0x1f3)]['id'],'params':{..._0x4c87b0,'noHistory':!0x0,'noNeedSetTextRange':!0x0,'segmentId':''}};}if(!_0x93d7b4['syncExecuteCommand'](_0x55023f['resourceRedo']['id'],_0x55023f['resourceRedo'][_0x4e471e(0x2bd)]))return _0x4d55d1(_0x93d7b4,_0x434937),_0x3c6a80(_0x93d7b4,_0x367908['externalMutations'],_0x5ec29f),!0x1;_0xfe702c=!0x0,_0x9253e0(_0x367908,_0x55023f,_0x434937,_0x6c2bf);}catch(_0x2488ea){throw _0xfe702c&&_0x93d7b4[_0x4e471e(0x22d)](_0x55023f['resourceUndo']['id'],_0x55023f[_0x4e471e(0x2c2)][_0x4e471e(0x2bd)]),_0x4d55d1(_0x93d7b4,_0x434937),_0x3c6a80(_0x93d7b4,_0x367908[_0x4e471e(0x211)],_0x5ec29f),_0x2488ea;}return _0x108fb8[_0x4e471e(0x253)]([{'startOffset':_0x367908['cursorOffset'],'endOffset':_0x367908[_0x4e471e(0x27f)],'segmentId':''}],{'unitId':_0x367908['unitId'],'subUnitId':_0x367908['unitId']},!0x1,{[_0x2fc97e[_0x4e471e(0x29c)]]:!0x0}),!0x0;}function _0x4e1c80(_0x5c547f,_0x46985e,_0x329413,_0xcd990b,_0x4be2cd,_0x47859f){const _0x5c6fce=_0x827b65;let _0x883af=_0x53f518(_0x329413,_0xcd990b,(0x0,_0x1d869f[_0x5c6fce(0x20a)])(_0x5c547f,''));return _0x883af?{'id':_0x2fc97e['RichTextEditingMutation']['id'],'params':{'unitId':_0x46985e,'actions':_0x883af,'segmentId':'','textRanges':[{'startOffset':_0x4be2cd,'endOffset':_0x4be2cd,'collapsed':!0x0,'segmentId':''}],'isEditing':!0x1,'noHistory':!0x0,'noNeedSetTextRange':!0x0,'trigger':_0x47859f}}:null;}function _0x4d55d1(_0x256c39,_0x4b31c2){const _0x21098d=_0x827b65;_0x4b31c2&&_0x256c39[_0x21098d(0x22d)](_0x4b31c2['id'],_0x4b31c2[_0x21098d(0x2bd)]);}function _0x3c6a80(_0x5bda07,_0x153cfc,_0x2e0cf4){const _0x59f0ab=_0x827b65;_0x2e0cf4&&_0x153cfc[_0x59f0ab(0x2b0)]&&_0x5bda07[_0x59f0ab(0x22d)](_0x153cfc[_0x59f0ab(0x2b0)]['id'],_0x153cfc[_0x59f0ab(0x2b0)][_0x59f0ab(0x2bd)]);}function _0x53f518(_0x19ebb2,_0x385698,_0x5eb1f6){const _0xd04434=_0x827b65;let _0x3a50ed=_0x19ebb2[_0xd04434(0x1f6)],_0x533c2d=_0x385698[_0xd04434(0x1f6)],_0x128948=_0x2bba63(_0x3a50ed==null?void 0x0:_0x3a50ed[_0xd04434(0x279)],_0x533c2d==null?void 0x0:_0x533c2d['dataStream']);if(!_0x128948||!_0x533c2d)return null;let _0x374c80=new _0x1d869f[(_0xd04434(0x1d4))]();return _0x374c80[_0xd04434(0x2f0)](_0x128948['start']),_0x128948[_0xd04434(0x271)]>0x0&&_0x374c80[_0xd04434(0x2b2)](_0x128948[_0xd04434(0x271)],(0x0,_0x1d869f[_0xd04434(0x25b)])(_0x533c2d,_0x128948[_0xd04434(0x285)],_0x128948[_0xd04434(0x285)]+_0x128948[_0xd04434(0x271)],!0x1)),_0x128948[_0xd04434(0x248)]>0x0&&_0x374c80['delete'](_0x128948[_0xd04434(0x248)]),_0x1d869f['JSONX']['getInstance']()[_0xd04434(0x2e5)](_0x374c80[_0xd04434(0x2c8)](),_0x5eb1f6);}function _0x2bba63(_0x46fc82,_0x375978){const _0x9aebb5=_0x827b65;if(_0x46fc82==null||_0x375978==null||_0x46fc82===_0x375978)return null;let _0x75e6a7=0x0;for(;_0x75e6a7<_0x46fc82[_0x9aebb5(0x266)]&&_0x75e6a7<_0x375978[_0x9aebb5(0x266)]&&_0x46fc82[_0x75e6a7]===_0x375978[_0x75e6a7];)_0x75e6a7+=0x1;let _0x51f6cb=_0x46fc82[_0x9aebb5(0x266)],_0x369a3b=_0x375978[_0x9aebb5(0x266)];for(;_0x51f6cb>_0x75e6a7&&_0x369a3b>_0x75e6a7&&_0x46fc82[_0x51f6cb-0x1]===_0x375978[_0x369a3b-0x1];)--_0x51f6cb,--_0x369a3b;return{'start':_0x75e6a7,'deleteLength':_0x51f6cb-_0x75e6a7,'insertLength':_0x369a3b-_0x75e6a7};}function _0x2ff30b(_0x222cd5){const _0x31e16b=_0x827b65;return{'schemaVersion':0x1,'formulas':Object[_0x31e16b(0x2df)](Object[_0x31e16b(0x2f5)](_0x222cd5[_0x31e16b(0x224)])[_0x31e16b(0x2ee)](([_0x441784,_0x2dfce4])=>[_0x441784,{..._0x2dfce4,..._0x2dfce4[_0x31e16b(0x245)]?{'numberFormat':{..._0x2dfce4['numberFormat']}}:null,..._0x2dfce4[_0x31e16b(0x22a)]?{'lastValue':{..._0x2dfce4['lastValue']}}:null}]))};}let _0x46421d=class extends _0x1d869f['Disposable']{constructor(_0x49b40f,_0x523e58,_0xd51b95,_0x1233e5){const _0x2fbe81=_0x827b65;super(),this['_instanceService']=_0x49b40f,this[_0x2fbe81(0x1cc)]=_0x523e58,this[_0x2fbe81(0x257)]=_0xd51b95,this[_0x2fbe81(0x2d3)]=_0x1233e5,_0x3d78b2(this,_0x2fbe81(0x25e),new Set()),_0x3d78b2(this,_0x2fbe81(0x209),!0x1),_0x3d78b2(this,'_isDisposed',!0x1),this[_0x2fbe81(0x296)][_0x2fbe81(0x2d0)](_0x1d869f[_0x2fbe81(0x28b)][_0x2fbe81(0x2e2)])[_0x2fbe81(0x23e)](_0x20f25c=>this[_0x2fbe81(0x2d3)]['syncUnit'](_0x20f25c)),this['disposeWithMe'](this['_model'][_0x2fbe81(0x2e8)]['subscribe'](({unitId:_0x3a76cb})=>this[_0x2fbe81(0x226)](_0x3a76cb))),this[_0x2fbe81(0x28c)](this[_0x2fbe81(0x296)][_0x2fbe81(0x2b1)]['subscribe'](({unit:_0x10e9c7})=>{const _0x26cc55=_0x2fbe81;_0x10e9c7[_0x26cc55(0x23f)]===_0x1d869f[_0x26cc55(0x28b)]['UNIVER_DOC']&&this['_queueSync'](_0x10e9c7['getUnitId']());})),this[_0x2fbe81(0x28c)](this[_0x2fbe81(0x296)][_0x2fbe81(0x30b)][_0x2fbe81(0x2b3)](_0x366d5f=>{const _0x5afc5c=_0x2fbe81;this[_0x5afc5c(0x2d3)][_0x5afc5c(0x2b7)](_0x366d5f[_0x5afc5c(0x1fd)]());})),this[_0x2fbe81(0x28c)](this[_0x2fbe81(0x1cc)][_0x2fbe81(0x292)](_0x22c2cc=>{const _0x4dfdc4=_0x2fbe81;if(_0x22c2cc['id']===_0x2fc97e['RichTextEditingMutation']['id']&&_0xae9c01(_0x22c2cc[_0x4dfdc4(0x2bd)])){let _0x47c4fb=_0x22c2cc[_0x4dfdc4(0x2bd)];_0x47c4fb[_0x4dfdc4(0x2a7)]||this[_0x4dfdc4(0x226)](_0x47c4fb[_0x4dfdc4(0x2c7)]);}}));}[_0x827b65(0x2c3)](){const _0x4f28b8=_0x827b65;this[_0x4f28b8(0x282)]=!0x0,super[_0x4f28b8(0x2c3)]();}[_0x827b65(0x1ff)](_0x1f5c4d){const _0x334571=_0x827b65;this[_0x334571(0x25e)]['add'](_0x1f5c4d),!this[_0x334571(0x209)]&&(this[_0x334571(0x209)]=!0x0,queueMicrotask(()=>{const _0x52fbe6=_0x334571;if(this['_syncScheduled']=!0x1,this['_isDisposed'])return;let _0x1d04a7=Array[_0x52fbe6(0x2bb)](this['_pendingUnitIds']);this[_0x52fbe6(0x25e)]['clear'](),_0x1d04a7[_0x52fbe6(0x23e)](_0x4bdec4=>this[_0x52fbe6(0x226)](_0x4bdec4));}));}[_0x827b65(0x226)](_0x1b4843){const _0x3606ef=_0x827b65;let _0x4e5113=this[_0x3606ef(0x296)][_0x3606ef(0x25d)](_0x1b4843,_0x1d869f[_0x3606ef(0x28b)][_0x3606ef(0x2e2)]);_0x4e5113&&this[_0x3606ef(0x2d3)]['syncUnit'](_0x4e5113);}};_0x46421d=_0x7efcf8([_0x43893f(0x0,_0x1d869f['IUniverInstanceService']),_0x43893f(0x1,_0x1d869f[_0x827b65(0x2e7)]),_0x43893f(0x2,(0x0,_0x1d869f['Inject'])(_0x3d0928)),_0x43893f(0x3,(0x0,_0x1d869f[_0x827b65(0x2e1)])(_0x458a05))],_0x46421d);function _0xae9c01(_0x540f9a){const _0x402d45=_0x827b65;return typeof _0x540f9a=='object'&&!!_0x540f9a&&_0x402d45(0x2c7)in _0x540f9a&&typeof _0x540f9a[_0x402d45(0x2c7)]==_0x402d45(0x2a4)&&(!('segmentId'in _0x540f9a)||_0x540f9a[_0x402d45(0x2a7)]===void 0x0||typeof _0x540f9a[_0x402d45(0x2a7)]==_0x402d45(0x2a4));}let _0x5ef141=class extends _0x1d869f['Disposable']{constructor(_0x3e1ea7,_0xd569f5){const _0x4245af=_0x827b65;super(),this['_resourceManagerService']=_0x3e1ea7,this[_0x4245af(0x228)]=_0xd569f5,this[_0x4245af(0x28c)](this[_0x4245af(0x277)][_0x4245af(0x239)]({'pluginName':_0x9736a7,'businesses':[_0x1d869f['UniverInstanceType']['UNIVER_DOC']],'toJson':_0x2e6edb=>JSON['stringify'](this[_0x4245af(0x228)][_0x4245af(0x2c8)](_0x2e6edb)),'parseJson':_0x5b1356=>JSON[_0x4245af(0x1dc)](_0x5b1356),'onLoad':(_0x466bf2,_0x93eb7a)=>{const _0x3ec1d6=_0x4245af;this[_0x3ec1d6(0x228)][_0x3ec1d6(0x290)](_0x466bf2,_0x93eb7a);},'onUnLoad':_0x3c36a3=>this[_0x4245af(0x228)]['removeUnit'](_0x3c36a3)}));}};_0x5ef141=_0x7efcf8([_0x43893f(0x0,_0x1d869f[_0x827b65(0x302)]),_0x43893f(0x1,(0x0,_0x1d869f['Inject'])(_0x3d0928))],_0x5ef141);var _0x598f49=_0x827b65(0x299),_0xda297d=_0x827b65(0x263);let _0x566acc={},_0x4ee4d3=class extends _0x1d869f[_0x827b65(0x2ef)]{constructor(_0x4f0307,_0x118dc9,_0x20c3dd){const _0x32d5a3=_0x827b65;super(),this[_0x32d5a3(0x28a)]=_0x4f0307,this[_0x32d5a3(0x208)]=_0x118dc9,this['disposeWithMe'](_0x20c3dd[_0x32d5a3(0x225)]({'resolve':(_0x146f99,_0x308936)=>{const _0x2b0ac8=_0x32d5a3;var _0x58a02c;return((_0x58a02c=_0x308936[_0x2b0ac8(0x27e)])==null?void 0x0:_0x58a02c[_0x2b0ac8(0x2eb)](_0x2ff3e4)[_0x2b0ac8(0x2ee)](_0x14cd92=>({'startOffset':_0x14cd92['startIndex'],'endOffset':_0x14cd92['endIndex']+0x1,'text':this[_0x2b0ac8(0x307)](_0x146f99,_0x14cd92['rangeId'])})))??[];}})),this[_0x32d5a3(0x28c)](this['_formulaService'][_0x32d5a3(0x218)][_0x32d5a3(0x2b3)](({unitId:_0x1ca931})=>{const _0x15e614=_0x32d5a3;_0x20c3dd[_0x15e614(0x2a8)](_0x1ca931);}));}['resolveFormula'](_0x5bf6c1,_0x13f992){const _0x39fe24=_0x827b65;var _0x4b5584;return((_0x4b5584=this[_0x39fe24(0x208)][_0x39fe24(0x306)]({'unitId':_0x5bf6c1,'rangeId':_0x13f992}))==null?void 0x0:_0x4b5584['text'])??'';}[_0x827b65(0x281)](_0x2a5100,_0x3b30f7,_0xb16a72){const _0x3e8d90=_0x827b65;var _0x148dbf;let _0x1f8797=this[_0x3e8d90(0x28a)][_0x3e8d90(0x25d)](_0x2a5100,_0x1d869f[_0x3e8d90(0x28b)][_0x3e8d90(0x2e2)]),_0x432c3a=_0x1f8797==null?void 0x0:_0x1f8797[_0x3e8d90(0x2fc)]();if(!_0x432c3a)return'';let _0x44f3de=_0x432c3a[_0x3e8d90(0x279)][_0x3e8d90(0x215)](_0x3b30f7,_0xb16a72),_0x393c26=((_0x148dbf=_0x432c3a[_0x3e8d90(0x27e)])==null?void 0x0:_0x148dbf[_0x3e8d90(0x2eb)](_0x1d22ab=>_0x2ff3e4(_0x1d22ab)&&_0x1d22ab[_0x3e8d90(0x275)]>=_0x3b30f7&&_0x1d22ab[_0x3e8d90(0x2ff)]<_0xb16a72)[_0x3e8d90(0x2b5)]((_0x4011e3,_0x4261b0)=>_0x4261b0[_0x3e8d90(0x275)]-_0x4011e3[_0x3e8d90(0x275)]))??[];for(let _0x267d4b of _0x393c26){let _0x1715cf=_0x267d4b[_0x3e8d90(0x275)]-_0x3b30f7,_0x5ddbcc=_0x267d4b[_0x3e8d90(0x2ff)]-_0x3b30f7+0x1;_0x44f3de=''+_0x44f3de[_0x3e8d90(0x215)](0x0,_0x1715cf)+this[_0x3e8d90(0x307)](_0x2a5100,_0x267d4b['rangeId'])+_0x44f3de[_0x3e8d90(0x215)](_0x5ddbcc);}return _0x44f3de;}['degradeDocumentData'](_0x3d0e38){return _0x440ff3(_0x3d0e38);}[_0x827b65(0x1d2)](_0x1e3016,_0x5a3e6c,_0x489fa4={}){const _0xf18775=_0x827b65;var _0x3cb518;return _0x3c9939({'id':_0x1e3016,'body':_0x5a3e6c,'documentStyle':{}},(((_0x3cb518=_0x5a3e6c[_0xf18775(0x27e)])==null?void 0x0:_0x3cb518[_0xf18775(0x2eb)](_0x2ff3e4))??[])[_0xf18775(0x2ee)](_0x4ff764=>({'rangeId':_0x4ff764[_0xf18775(0x2e0)],'text':_0x489fa4[_0x4ff764[_0xf18775(0x2e0)]]??this['resolveFormula'](_0x1e3016,_0x4ff764['rangeId'])})))[_0xf18775(0x1f6)]??{'dataStream':''};}};_0x4ee4d3=_0x7efcf8([_0x43893f(0x0,_0x1d869f['IUniverInstanceService']),_0x43893f(0x1,(0x0,_0x1d869f[_0x827b65(0x2e1)])(_0x458a05)),_0x43893f(0x2,(0x0,_0x1d869f[_0x827b65(0x2e1)])(_0x2fc97e[_0x827b65(0x235)]))],_0x4ee4d3);function _0x440ff3(_0x28c5f8){const _0x2e9694=_0x827b65;var _0x55f682,_0xbd51fd;let _0x5d3c49=_0xd2ef73(_0x28c5f8),_0x45d22e=_0x3c9939(_0x28c5f8,(((_0x55f682=_0x28c5f8[_0x2e9694(0x1f6)])==null||(_0x55f682=_0x55f682[_0x2e9694(0x27e)])==null?void 0x0:_0x55f682['filter'](_0x2ff3e4))??[])['map'](_0x540396=>({'rangeId':_0x540396[_0x2e9694(0x2e0)],'text':_0x37961a(_0x5d3c49==null?void 0x0:_0x5d3c49[_0x2e9694(0x224)][_0x540396['rangeId']])})));return _0x45d22e['resources']=(_0xbd51fd=_0x45d22e[_0x2e9694(0x265)])==null?void 0x0:_0xbd51fd[_0x2e9694(0x2eb)](_0x11724d=>_0x11724d[_0x2e9694(0x1e4)]!==_0x9736a7),_0x45d22e;}function _0xd2ef73(_0x46f00d){const _0x424dd1=_0x827b65;var _0x4740f2;let _0x3f7157=(_0x4740f2=_0x46f00d['resources'])==null||(_0x4740f2=_0x4740f2[_0x424dd1(0x25c)](_0x3e9702=>_0x3e9702['name']==='DOC_FORMULA_PLUGIN'))==null?void 0x0:_0x4740f2[_0x424dd1(0x1cf)];if(_0x3f7157)try{let _0x59b116=JSON[_0x424dd1(0x1dc)](_0x3f7157);return _0x169706(_0x59b116)?_0x59b116:void 0x0;}catch{return;}}function _0x37961a(_0x1dfa46){const _0xf73694=_0x827b65;return _0x1dfa46?(0x0,_0x50090f[_0xf73694(0x25f)])({'lastValue':_0x1dfa46[_0xf73694(0x22a)],'numberFormat':_0x1dfa46['numberFormat']})[_0xf73694(0x229)]:'';}let _0x5507aa=class extends _0x1d869f[_0x827b65(0x2ef)]{constructor(_0x42b795,_0x395d60,_0x2e9579){const _0x4c866f=_0x827b65;super(),this[_0x4c866f(0x208)]=_0x42b795,this['_cacheEligibilityService']=_0x395d60,this[_0x4c866f(0x28c)](_0x2e9579[_0x4c866f(0x288)](this));}['collectMutations'](_0x387b7d){const _0x11d586=_0x827b65;let _0x6355be=new Map();for(let _0x212cb8 of this['_formulaService'][_0x11d586(0x242)]()){var _0x475034;if(!this[_0x11d586(0x29f)][_0x11d586(0x247)](_0x212cb8[_0x11d586(0x2b8)][_0x11d586(0x22b)],_0x212cb8[_0x11d586(0x28f)])[_0x11d586(0x1de)])continue;let _0x5d1918=(0x0,_0x50090f['getScalarFormulaResultCell'])(_0x212cb8[_0x11d586(0x28f)]),_0x5bf265=_0x5d1918?(0x0,_0x50090f[_0x11d586(0x206)])(_0x5d1918):null;if(!_0x5bf265||_0x4d0b0a(_0x212cb8[_0x11d586(0x2b8)][_0x11d586(0x22a)],_0x5bf265))continue;let _0xbb2dbf=_0x6355be[_0x11d586(0x2a6)](_0x212cb8[_0x11d586(0x21a)]['unitId'])??[];_0xbb2dbf[_0x11d586(0x298)]({'rangeId':_0x212cb8['identity'][_0x11d586(0x2e0)],'expectedFormula':_0x212cb8[_0x11d586(0x2b8)]['formula'],'expectedNumberFormat':(_0x475034=_0x212cb8[_0x11d586(0x2b8)][_0x11d586(0x245)])==null?void 0x0:_0x475034['pattern'],'expectedReferenceRevision':_0x212cb8[_0x11d586(0x1ca)],'lastValue':_0x5bf265}),_0x6355be['set'](_0x212cb8['identity'][_0x11d586(0x2c7)],_0xbb2dbf);}return Array[_0x11d586(0x2bb)](_0x6355be,([_0x5638b5,_0x3d4ea3])=>({'id':_0x3c160a['id'],'params':{'unitId':_0x5638b5,'updates':_0x3d4ea3}}));}};_0x5507aa=_0x7efcf8([_0x43893f(0x0,(0x0,_0x1d869f['Inject'])(_0x458a05)),_0x43893f(0x1,(0x0,_0x1d869f[_0x827b65(0x2e1)])(_0x50090f[_0x827b65(0x2a3)])),_0x43893f(0x2,(0x0,_0x1d869f[_0x827b65(0x2e1)])(_0x50090f[_0x827b65(0x1e5)]))],_0x5507aa);function _0x4d0b0a(_0x3dfacb,_0x3c5e16){return(_0x3dfacb==null?void 0x0:_0x3dfacb['v'])===_0x3c5e16['v']&&(_0x3dfacb==null?void 0x0:_0x3dfacb['t'])===_0x3c5e16['t']&&(_0x3dfacb==null?void 0x0:_0x3dfacb['pattern'])===_0x3c5e16['pattern'];}let _0x1f0b60=class extends _0x1d869f[_0x827b65(0x250)]{constructor(_0x44e31a=_0x566acc,_0x501b9f,_0xb3a715,_0x18bcb6){const _0x1c341f=_0x827b65;super(),this[_0x1c341f(0x304)]=_0x44e31a,this[_0x1c341f(0x2e3)]=_0x501b9f,this[_0x1c341f(0x1cc)]=_0xb3a715,this['_configService']=_0x18bcb6;let {..._0x35048a}=(0x0,_0x1d869f[_0x1c341f(0x2c1)])({},_0x566acc,this[_0x1c341f(0x304)]);this[_0x1c341f(0x20c)]['setConfig'](_0x1c341f(0x1ce),_0x35048a);}[_0x827b65(0x231)](){const _0x5ce73d=_0x827b65;this[_0x5ce73d(0x2e3)][_0x5ce73d(0x202)]([_0x3d0928]),this[_0x5ce73d(0x2e3)]['add']([_0x458a05]),this[_0x5ce73d(0x2e3)]['add']([_0x5ef141]),this[_0x5ce73d(0x2e3)][_0x5ce73d(0x202)]([_0x46421d]),this[_0x5ce73d(0x2e3)][_0x5ce73d(0x202)]([_0x5507aa]),this[_0x5ce73d(0x2e3)][_0x5ce73d(0x202)]([_0x4ee4d3]),(0x0,_0x1d869f[_0x5ce73d(0x214)])(this[_0x5ce73d(0x2e3)],[[_0x3d0928],[_0x5ef141],[_0x46421d],[_0x5507aa],[_0x4ee4d3]]),[_0x2c27f0,_0x35c2b9,_0x1e92ee,_0x3c160a,_0xb81e24,_0x18cd15,_0x4049f1,_0x172215,_0x3f932c,_0x2309df][_0x5ce73d(0x23e)](_0x1342ae=>this[_0x5ce73d(0x28c)](this[_0x5ce73d(0x1cc)][_0x5ce73d(0x24d)](_0x1342ae)));}};_0x3d78b2(_0x1f0b60,'pluginName',_0x9736a7),_0x3d78b2(_0x1f0b60,'packageName',_0x598f49),_0x3d78b2(_0x1f0b60,_0x827b65(0x2f1),_0xda297d),_0x3d78b2(_0x1f0b60,'type',_0x1d869f[_0x827b65(0x28b)]['UNIVER_DOC']),_0x1f0b60=_0x7efcf8([(0x0,_0x1d869f[_0x827b65(0x220)])(_0x16421b[_0x827b65(0x22f)],_0x50090f[_0x827b65(0x1e7)],_0x2fc97e[_0x827b65(0x1f0)]),_0x43893f(0x1,(0x0,_0x1d869f['Inject'])(_0x1d869f['Injector'])),_0x43893f(0x2,_0x1d869f['ICommandService']),_0x43893f(0x3,_0x1d869f['IConfigService'])],_0x1f0b60),_0x3afca9[_0x827b65(0x29b)]=_0x2309df,_0x3afca9[_0x827b65(0x1e0)]=_0x201e91,_0x3afca9['DOC_FORMULA_OBJECT_REPLACEMENT']='',_0x3afca9[_0x827b65(0x222)]=_0x9736a7,_0x3afca9[_0x827b65(0x1d6)]=0x1,Object['defineProperty'](_0x3afca9,'DocFormulaDisplayTextService',{'enumerable':!0x0,'get':function(){return _0x4ee4d3;}}),Object['defineProperty'](_0x3afca9,_0x827b65(0x2be),{'enumerable':!0x0,'get':function(){return _0x46421d;}}),_0x3afca9[_0x827b65(0x289)]=_0x3d0928,Object['defineProperty'](_0x3afca9,_0x827b65(0x24f),{'enumerable':!0x0,'get':function(){return _0x5ef141;}}),_0x3afca9['DocFormulaResultStatus']=_0x4ef19e,Object[_0x827b65(0x24e)](_0x3afca9,_0x827b65(0x2ba),{'enumerable':!0x0,'get':function(){return _0x458a05;}}),_0x3afca9['InsertDocFormulaCommand']=_0xb81e24,_0x3afca9[_0x827b65(0x2fd)]=_0xafe7e3,_0x3afca9[_0x827b65(0x1f7)]=_0x172215,_0x3afca9['RemoveDocFormulaMutation']=_0x35c2b9,_0x3afca9['ReplaceDocFormulaWithTextCommand']=_0x3f932c,_0x3afca9['SetDocFormulaLastValuesMutation']=_0x3c160a,_0x3afca9['SetDocFormulaMutation']=_0x2c27f0,_0x3afca9[_0x827b65(0x2c9)]=_0x4049f1,_0x3afca9[_0x827b65(0x293)]=_0x1e92ee,Object['defineProperty'](_0x3afca9,_0x827b65(0x29e),{'enumerable':!0x0,'get':function(){return _0x1f0b60;}}),_0x3afca9['UpdateDocFormulaCommand']=_0x18cd15,_0x3afca9['assertSafeDocFormulaInsertRange']=_0x582df1,_0x3afca9[_0x827b65(0x234)]=_0x4d21e2,_0x3afca9[_0x827b65(0x1f8)]=_0x4eace5,_0x3afca9['buildUpdateDocFormulaActions']=_0x39d274,_0x3afca9[_0x827b65(0x246)]=_0x79ce8d,_0x3afca9[_0x827b65(0x213)]=_0x440ff3,_0x3afca9['findDocFormulaRange']=_0x261b2d,_0x3afca9[_0x827b65(0x2b4)]=_0xa57316,_0x3afca9[_0x827b65(0x1c9)]=_0x2ff3e4,_0x3afca9[_0x827b65(0x28d)]=_0x169706,_0x3afca9[_0x827b65(0x27b)]=_0x234ce5;}));
|
|
1
|
+
function _0x371c(_0x1bb790,_0x484b10){_0x1bb790=_0x1bb790-0x14f;const _0x4f32e1=_0x4f32();let _0x371cfb=_0x4f32e1[_0x1bb790];return _0x371cfb;}(function(_0x451183,_0x4bb4dc){const _0x4b0316=_0x371c,_0x112bbf=_0x451183();while(!![]){try{const _0x13419b=parseInt(_0x4b0316(0x27c))/0x1*(parseInt(_0x4b0316(0x1f2))/0x2)+parseInt(_0x4b0316(0x227))/0x3*(-parseInt(_0x4b0316(0x251))/0x4)+parseInt(_0x4b0316(0x1d2))/0x5+parseInt(_0x4b0316(0x1f6))/0x6+-parseInt(_0x4b0316(0x200))/0x7*(parseInt(_0x4b0316(0x1b4))/0x8)+parseInt(_0x4b0316(0x234))/0x9+-parseInt(_0x4b0316(0x247))/0xa;if(_0x13419b===_0x4bb4dc)break;else _0x112bbf['push'](_0x112bbf['shift']());}catch(_0x1ae892){_0x112bbf['push'](_0x112bbf['shift']());}}}(_0x4f32,0x1dd00),function(_0x3c4a63,_0x27e23){const _0x1a44dd=_0x371c;typeof exports==_0x1a44dd(0x1a5)&&typeof module<'u'?_0x27e23(exports,require('@univerjs-pro/engine-formula'),require('@univerjs/core'),require('@univerjs/docs'),require('@univerjs/engine-formula'),require('rxjs'),require('@univerjs-pro/license')):typeof define==_0x1a44dd(0x1f1)&&define['amd']?define([_0x1a44dd(0x26b),_0x1a44dd(0x28d),_0x1a44dd(0x1f0),_0x1a44dd(0x1ca),_0x1a44dd(0x182),'rxjs','@univerjs-pro/license'],_0x27e23):(_0x3c4a63=typeof globalThis<'u'?globalThis:_0x3c4a63||self,_0x27e23(_0x3c4a63[_0x1a44dd(0x1e5)]={},_0x3c4a63[_0x1a44dd(0x23d)],_0x3c4a63[_0x1a44dd(0x25c)],_0x3c4a63[_0x1a44dd(0x1bb)],_0x3c4a63[_0x1a44dd(0x1cc)],_0x3c4a63[_0x1a44dd(0x24e)],_0x3c4a63['UniverProLicense']));}(this,function(_0x1dc156,_0x4e3069,_0x4bed3b,_0x4e7dc9,_0x2b808c,_0x593723,_0x26a251){const _0x57f770=_0x371c;Object[_0x57f770(0x1b9)](_0x1dc156,Symbol['toStringTag'],{'value':'Module'});let _0xd27543=_0x57f770(0x162),_0xc6a381='univer-docs-formula';function _0x5e4c14(){return{'schemaVersion':0x1,'formulas':{}};}function _0x2c51c9(_0x24ec81){const _0x7bf154=_0x57f770;return!_0x24ec81||typeof _0x24ec81!=_0x7bf154(0x1a5)||!_0x52c67f(_0x24ec81,[_0x7bf154(0x16a),_0x7bf154(0x20f)])||!(_0x7bf154(0x16a)in _0x24ec81)||_0x24ec81[_0x7bf154(0x16a)]!==0x1||!('formulas'in _0x24ec81)||!_0x24ec81[_0x7bf154(0x20f)]||typeof _0x24ec81['formulas']!='object'||Array['isArray'](_0x24ec81[_0x7bf154(0x20f)])?!0x1:Object[_0x7bf154(0x22b)](_0x24ec81[_0x7bf154(0x20f)])['every'](([_0x47123c,_0x474d60])=>_0x47123c[_0x7bf154(0x23b)]>0x0&&_0x36e466(_0x474d60));}function _0x36e466(_0x4016a8){const _0x316be4=_0x57f770;return!_0x4016a8||typeof _0x4016a8!=_0x316be4(0x1a5)||!_0x52c67f(_0x4016a8,[_0x316be4(0x1b8),_0x316be4(0x177),_0x316be4(0x246)])||!(_0x316be4(0x1b8)in _0x4016a8)||typeof _0x4016a8[_0x316be4(0x1b8)]!='string'||!_0x4016a8[_0x316be4(0x1b8)][_0x316be4(0x210)]()||_0x316be4(0x177)in _0x4016a8&&_0x4016a8[_0x316be4(0x177)]!=null&&(typeof _0x4016a8[_0x316be4(0x177)]!=_0x316be4(0x1a5)||!_0x52c67f(_0x4016a8[_0x316be4(0x177)],[_0x316be4(0x28c)])||!(_0x316be4(0x28c)in _0x4016a8[_0x316be4(0x177)])||typeof _0x4016a8[_0x316be4(0x177)][_0x316be4(0x28c)]!='string')?!0x1:!(_0x316be4(0x246)in _0x4016a8)||_0x4016a8['lastValue']==null||_0x5b24ff(_0x4016a8[_0x316be4(0x246)]);}function _0x5b24ff(_0x1b6282){const _0x33ddb7=_0x57f770;return!_0x1b6282||typeof _0x1b6282!=_0x33ddb7(0x1a5)||!_0x52c67f(_0x1b6282,['v','t','pattern'])||!('v'in _0x1b6282)||_0x1b6282['v']!==null&&typeof _0x1b6282['v']!='string'&&typeof _0x1b6282['v']!='number'&&typeof _0x1b6282['v']!=_0x33ddb7(0x273)||'t'in _0x1b6282&&_0x1b6282['t']!=null&&!_0x2af51d(_0x1b6282['t'])?!0x1:!('pattern'in _0x1b6282)||_0x1b6282[_0x33ddb7(0x28c)]==null||typeof _0x1b6282[_0x33ddb7(0x28c)]=='string';}function _0x52c67f(_0x4f59a0,_0x478ea1){const _0x325f3e=_0x57f770;let _0x2a020c=new Set(_0x478ea1);return Object[_0x325f3e(0x283)](_0x4f59a0)['every'](_0x47c4a1=>_0x2a020c[_0x325f3e(0x221)](_0x47c4a1));}function _0x2af51d(_0x51295d){const _0x4a90e4=_0x57f770;return typeof _0x51295d==_0x4a90e4(0x1cf)&&Object['values'](_0x4bed3b[_0x4a90e4(0x269)])['includes'](_0x51295d);}let _0x41be3e=new Set([_0x4bed3b['DataStreamTreeTokenType']['SECTION_BREAK'],_0x4bed3b[_0x57f770(0x21a)][_0x57f770(0x266)],_0x4bed3b[_0x57f770(0x21a)]['TABLE_ROW_START'],_0x4bed3b[_0x57f770(0x21a)]['TABLE_CELL_START'],_0x4bed3b[_0x57f770(0x21a)]['TABLE_CELL_END'],_0x4bed3b[_0x57f770(0x21a)][_0x57f770(0x18b)],_0x4bed3b[_0x57f770(0x21a)][_0x57f770(0x213)],_0x4bed3b['DataStreamTreeTokenType'][_0x57f770(0x158)],_0x4bed3b[_0x57f770(0x21a)]['COLUMN_START'],_0x4bed3b[_0x57f770(0x21a)][_0x57f770(0x24d)],_0x4bed3b[_0x57f770(0x21a)][_0x57f770(0x241)],_0x4bed3b[_0x57f770(0x21a)][_0x57f770(0x1d7)],_0x4bed3b[_0x57f770(0x21a)]['BLOCK_END'],_0x4bed3b['DataStreamTreeTokenType'][_0x57f770(0x26d)]]);var _0x4b9dca=class extends Error{constructor(){const _0x481a25=_0x57f770;super(_0x481a25(0x222));}};function _0x2e6ab7(_0x223825){const _0x310cd9=_0x57f770;var _0x3cd856,_0xd9f568;let _0x975012=_0x4bed3b[_0x310cd9(0x252)][_0x310cd9(0x196)](_0x223825['documentData']),_0x2fc1dc=_0x5e2027(_0x975012),{startOffset:_0x4aa48a,endOffset:_0x332eaa}=_0x16c630(_0x2fc1dc,_0x223825[_0x310cd9(0x1ef)],_0x223825['endOffset']);_0x36c271(_0x2fc1dc,_0x4aa48a,_0x332eaa);let _0x31306f=((_0x3cd856=_0x2fc1dc[_0x310cd9(0x15e)])==null?void 0x0:_0x3cd856[_0x310cd9(0x25d)](_0x550fe4=>{const _0x3628de=_0x310cd9;if(!_0x3f3a71(_0x550fe4))return!0x1;let _0x21be4b=(0x0,_0x4bed3b['getCustomRangeInterval'])(_0x550fe4);return _0x21be4b[_0x3628de(0x199)]>_0x4aa48a&&_0x21be4b[_0x3628de(0x1ef)]<_0x332eaa;})['map'](_0x1aff0c=>_0x1aff0c[_0x310cd9(0x24b)]))??[];_0x337991(_0x2fc1dc,_0x4aa48a,_0x332eaa,''),_0x2fc1dc['customRanges']=[...((_0xd9f568=_0x2fc1dc[_0x310cd9(0x15e)])==null?void 0x0:_0xd9f568[_0x310cd9(0x25d)](_0x1a6a3e=>!_0x31306f[_0x310cd9(0x235)](_0x1a6a3e[_0x310cd9(0x24b)])&&_0x1a6a3e[_0x310cd9(0x24b)]!==_0x223825[_0x310cd9(0x24b)]))??[],_0x318d5a(_0x223825[_0x310cd9(0x24b)],_0x4aa48a)][_0x310cd9(0x287)]((_0x43a5d8,_0xa4e84)=>_0x43a5d8[_0x310cd9(0x268)]-_0xa4e84[_0x310cd9(0x268)]);let _0x240bd9=_0x58dfbf(_0x223825[_0x310cd9(0x1c1)]);return _0x31306f[_0x310cd9(0x1e1)](_0x137a6f=>{const _0x23347c=_0x310cd9;delete _0x240bd9[_0x23347c(0x20f)][_0x137a6f];}),_0x240bd9[_0x310cd9(0x20f)][_0x223825[_0x310cd9(0x24b)]]=_0x4bed3b[_0x310cd9(0x252)][_0x310cd9(0x196)](_0x223825['config']),{'nextDocumentData':_0x975012,'nextResource':_0x240bd9,'cursorOffset':_0x4aa48a+0x1};}function _0x496d24(_0x5e0470){const _0x1fee35=_0x57f770;var _0x56c0a1,_0x599266;let _0x2642b7=_0x4bed3b['Tools'][_0x1fee35(0x196)](_0x5e0470['documentData']),_0x39746c=(_0x56c0a1=_0x5e2027(_0x2642b7)[_0x1fee35(0x15e)])==null?void 0x0:_0x56c0a1[_0x1fee35(0x174)](_0x43c3a6=>_0x43c3a6[_0x1fee35(0x24b)]===_0x5e0470['rangeId']&&_0x3f3a71(_0x43c3a6));if(!_0x39746c||!((_0x599266=_0x5e0470['resource'])!=null&&_0x599266[_0x1fee35(0x20f)][_0x5e0470[_0x1fee35(0x24b)]]))return null;let _0x406175=_0x58dfbf(_0x5e0470['resource']);return _0x406175[_0x1fee35(0x20f)][_0x5e0470[_0x1fee35(0x24b)]]=_0x4bed3b[_0x1fee35(0x252)][_0x1fee35(0x196)](_0x5e0470[_0x1fee35(0x1c4)]),{'nextDocumentData':_0x2642b7,'nextResource':_0x406175,'cursorOffset':_0x39746c[_0x1fee35(0x23a)]+0x1};}function _0x562d2a(_0x561b24){const _0x3de149=_0x57f770;let _0x5a216d=_0x4bed3b[_0x3de149(0x252)]['deepClone'](_0x561b24[_0x3de149(0x185)]),_0x19502a=_0x587bcd(_0x5a216d,_0x561b24['rangeId'],_0x561b24[_0x3de149(0x159)]??'');if(_0x19502a==null)return null;let _0xeed849=_0x58dfbf(_0x561b24[_0x3de149(0x1c1)]);return delete _0xeed849['formulas'][_0x561b24[_0x3de149(0x24b)]],{'nextDocumentData':_0x5a216d,'nextResource':_0xeed849,'cursorOffset':_0x19502a};}function _0x12f0e6(_0x228a05,_0x5adbf7){const _0x55e7d7=_0x57f770;var _0x2f989a;let _0x296cf0=_0x4bed3b[_0x55e7d7(0x252)][_0x55e7d7(0x196)](_0x228a05),_0x307a6d=_0x296cf0['body'];if(!_0x307a6d)return _0x296cf0;let _0x32c7a5=new Map(_0x5adbf7[_0x55e7d7(0x261)](_0x471f3d=>[_0x471f3d[_0x55e7d7(0x24b)],_0x471f3d['text']])),_0x4f6b64=((_0x2f989a=_0x307a6d['customRanges'])==null?void 0x0:_0x2f989a[_0x55e7d7(0x25d)](_0xf52643=>_0x3f3a71(_0xf52643)&&_0x32c7a5[_0x55e7d7(0x221)](_0xf52643['rangeId']))[_0x55e7d7(0x287)]((_0x315137,_0x1077e3)=>_0x1077e3['startIndex']-_0x315137[_0x55e7d7(0x268)]))??[];for(let _0x22a305 of _0x4f6b64)_0x587bcd(_0x296cf0,_0x22a305['rangeId'],_0x32c7a5['get'](_0x22a305[_0x55e7d7(0x24b)])??'');return _0x296cf0;}function _0x3f3a71(_0x5d3b4b){const _0x56e9bb=_0x57f770;var _0x1a16ed;return(_0x5d3b4b==null?void 0x0:_0x5d3b4b[_0x56e9bb(0x1da)])===_0x4bed3b[_0x56e9bb(0x21c)][_0x56e9bb(0x280)]&&_0x5d3b4b[_0x56e9bb(0x20c)]===!0x0&&((_0x1a16ed=_0x5d3b4b[_0x56e9bb(0x1be)])==null?void 0x0:_0x1a16ed['kind'])===_0x56e9bb(0x163);}function _0x339a9d(_0xfede1a,_0x575493){const _0x5e0b6c=_0x57f770;var _0x28fb97;return _0xfede1a==null||(_0x28fb97=_0xfede1a['customRanges'])==null?void 0x0:_0x28fb97[_0x5e0b6c(0x174)](_0x267a8b=>_0x267a8b[_0x5e0b6c(0x24b)]===_0x575493&&_0x3f3a71(_0x267a8b));}function _0x36c271(_0x94d7a6,_0x163c8d,_0x279a0b){const _0x4b10d6=_0x57f770;if(_0x163c8d===_0x279a0b){if(_0x41be3e[_0x4b10d6(0x221)](_0x94d7a6[_0x4b10d6(0x25f)][_0x163c8d]))throw new _0x4b9dca();return;}for(let _0x567fcb=_0x163c8d;_0x567fcb<_0x279a0b;_0x567fcb++)if(_0x94d7a6[_0x4b10d6(0x25f)][_0x567fcb]===_0x4bed3b[_0x4b10d6(0x21a)][_0x4b10d6(0x23e)]||_0x41be3e[_0x4b10d6(0x221)](_0x94d7a6[_0x4b10d6(0x25f)][_0x567fcb]))throw new _0x4b9dca();}function _0x318d5a(_0x2fc422,_0x4dc72c){const _0x130b1e=_0x57f770;return{'startIndex':_0x4dc72c,'endIndex':_0x4dc72c,'rangeId':_0x2fc422,'rangeType':_0x4bed3b[_0x130b1e(0x21c)][_0x130b1e(0x280)],'wholeEntity':!0x0,'properties':{'kind':_0xc6a381}};}function _0x58dfbf(_0x5723f8){const _0x5d6ae8=_0x57f770;return _0x5723f8?_0x4bed3b['Tools'][_0x5d6ae8(0x196)](_0x5723f8):_0x5e4c14();}function _0x16c630(_0x25aa4a,_0x3ec1eb,_0x32c962){const _0x2dffcc=_0x57f770;let _0x32b789=_0x17029c(_0x25aa4a),_0x3c3cc3=_0x3ec1eb??_0x32b789,_0x3d1b2f=_0x32c962??_0x3c3cc3;return{'startOffset':_0x1566e6(Math[_0x2dffcc(0x254)](_0x3c3cc3,_0x3d1b2f),_0x32b789),'endOffset':_0x1566e6(Math['max'](_0x3c3cc3,_0x3d1b2f),_0x32b789)};}function _0x1566e6(_0x545456,_0x15fa37){const _0x2c95c1=_0x57f770;return Math[_0x2c95c1(0x219)](0x0,Math[_0x2c95c1(0x254)](_0x545456,_0x15fa37));}function _0x17029c(_0x57d9aa){const _0x4d457e=_0x57f770;return _0x57d9aa[_0x4d457e(0x25f)]['endsWith'](''+_0x4bed3b[_0x4d457e(0x21a)][_0x4d457e(0x23e)]+_0x4bed3b['DataStreamTreeTokenType'][_0x4d457e(0x197)])?Math[_0x4d457e(0x219)](0x0,_0x57d9aa[_0x4d457e(0x25f)][_0x4d457e(0x23b)]-0x2):_0x57d9aa[_0x4d457e(0x25f)]['endsWith'](_0x4bed3b[_0x4d457e(0x21a)][_0x4d457e(0x197)])?Math['max'](0x0,_0x57d9aa[_0x4d457e(0x25f)]['length']-0x1):_0x57d9aa[_0x4d457e(0x25f)]['length'];}function _0x337991(_0x4954a3,_0x41717b,_0x4c5943,_0x25f708){_0x4c5943>_0x41717b&&_0x2182db(_0x4954a3,_0x41717b,_0x4c5943),_0x550248(_0x4954a3,_0x41717b,_0x25f708);}function _0x587bcd(_0x874bce,_0x1d9070,_0x126def){const _0x2813bc=_0x57f770;var _0x827c7,_0x27b3e2;let _0xb73718=_0x5e2027(_0x874bce),_0x4c353f=(_0x827c7=_0xb73718[_0x2813bc(0x15e)])==null?void 0x0:_0x827c7[_0x2813bc(0x174)](_0x421071=>_0x421071['rangeId']===_0x1d9070&&_0x3f3a71(_0x421071));if(!_0x4c353f)return null;let _0x3aed51=(0x0,_0x4bed3b[_0x2813bc(0x21b)])(_0x4c353f);return _0x337991(_0xb73718,_0x3aed51['startOffset'],_0x3aed51[_0x2813bc(0x199)],_0x126def),_0xb73718[_0x2813bc(0x15e)]=(_0x27b3e2=_0xb73718[_0x2813bc(0x15e)])==null?void 0x0:_0x27b3e2['filter'](_0xdd67fc=>_0xdd67fc[_0x2813bc(0x24b)]!==_0x1d9070),_0x3aed51['startOffset']+_0x126def[_0x2813bc(0x23b)];}function _0x550248(_0x4cf388,_0x49e951,_0x15b341){const _0x5aa104=_0x57f770;_0x15b341&&(_0x4cf388[_0x5aa104(0x25f)]=''+_0x4cf388[_0x5aa104(0x25f)][_0x5aa104(0x25b)](0x0,_0x49e951)+_0x15b341+_0x4cf388[_0x5aa104(0x25f)][_0x5aa104(0x25b)](_0x49e951),_0x29e20a(_0x4cf388,_0x49e951,_0x15b341[_0x5aa104(0x23b)]));}function _0x2182db(_0x4043b5,_0xace62f,_0x3f5532){const _0x3cce05=_0x57f770;let _0x1621f7=_0x3f5532-_0xace62f;_0x4043b5[_0x3cce05(0x25f)]=''+_0x4043b5[_0x3cce05(0x25f)]['slice'](0x0,_0xace62f)+_0x4043b5[_0x3cce05(0x25f)][_0x3cce05(0x25b)](_0x3f5532),_0x433c39(_0x4043b5,_0xace62f,_0x1621f7);}function _0x29e20a(_0x5698ac,_0x36ace0,_0x3552ac){const _0x6885f0=_0x57f770;_0x5698ac[_0x6885f0(0x21f)]=_0x4c9873(_0x5698ac['paragraphs'],_0x36ace0,_0x3552ac),_0x5698ac[_0x6885f0(0x228)]=_0x4c9873(_0x5698ac[_0x6885f0(0x228)],_0x36ace0,_0x3552ac),_0x5698ac[_0x6885f0(0x167)]=_0x4c9873(_0x5698ac[_0x6885f0(0x167)],_0x36ace0,_0x3552ac),_0x5698ac['textRuns']=_0x4b8c8f(_0x5698ac[_0x6885f0(0x178)],_0x36ace0,_0x3552ac),_0x5698ac[_0x6885f0(0x26c)]=_0x1c6f46(_0x5698ac[_0x6885f0(0x26c)],_0x36ace0,_0x3552ac),_0x5698ac[_0x6885f0(0x1aa)]=_0xf87d3d(_0x5698ac['columnGroups'],_0x36ace0,_0x3552ac),_0x5698ac[_0x6885f0(0x15e)]=_0xf87d3d(_0x5698ac[_0x6885f0(0x15e)],_0x36ace0,_0x3552ac),_0x5698ac[_0x6885f0(0x1fa)]=_0xf87d3d(_0x5698ac[_0x6885f0(0x1fa)],_0x36ace0,_0x3552ac),_0x5698ac[_0x6885f0(0x192)]=_0xf87d3d(_0x5698ac[_0x6885f0(0x192)],_0x36ace0,_0x3552ac);}function _0x433c39(_0x5cb2c2,_0x28c6d1,_0x184571){const _0x5bdcbf=_0x57f770;var _0x3f3ec9,_0x18617d;_0x5cb2c2['paragraphs']=_0x167d18(_0x5cb2c2['paragraphs'],_0x28c6d1,_0x184571),_0x5cb2c2[_0x5bdcbf(0x228)]=_0x167d18(_0x5cb2c2[_0x5bdcbf(0x228)],_0x28c6d1,_0x184571),_0x5cb2c2[_0x5bdcbf(0x167)]=_0x167d18(_0x5cb2c2[_0x5bdcbf(0x167)],_0x28c6d1,_0x184571),_0x5cb2c2['textRuns']=(_0x3f3ec9=_0x5bcf60((_0x18617d=_0x5cb2c2[_0x5bdcbf(0x178)])==null?void 0x0:_0x18617d['map'](_0x31b2ab=>({..._0x31b2ab,'startIndex':_0x31b2ab['st'],'endIndex':_0x31b2ab['ed']})),_0x28c6d1,_0x184571))==null?void 0x0:_0x3f3ec9[_0x5bdcbf(0x261)](_0x49a4d0=>{let {startIndex:_0x18e82e,endIndex:_0x519ae5,..._0x1c877e}=_0x49a4d0;return{..._0x1c877e,'st':_0x18e82e,'ed':_0x519ae5};}),_0x5cb2c2['tables']=_0x5bcf60(_0x5cb2c2[_0x5bdcbf(0x26c)],_0x28c6d1,_0x184571),_0x5cb2c2[_0x5bdcbf(0x1aa)]=_0x4076a7(_0x5cb2c2[_0x5bdcbf(0x1aa)],_0x28c6d1,_0x184571),_0x5cb2c2[_0x5bdcbf(0x15e)]=_0x4076a7(_0x5cb2c2[_0x5bdcbf(0x15e)],_0x28c6d1,_0x184571),_0x5cb2c2[_0x5bdcbf(0x1fa)]=_0x4076a7(_0x5cb2c2[_0x5bdcbf(0x1fa)],_0x28c6d1,_0x184571),_0x5cb2c2['blockRanges']=_0x4076a7(_0x5cb2c2[_0x5bdcbf(0x192)],_0x28c6d1,_0x184571);}function _0x4c9873(_0x136574,_0x2c7427,_0x2bf3e4){const _0x3712f1=_0x57f770;return _0x136574==null?void 0x0:_0x136574[_0x3712f1(0x261)](_0x199f6b=>_0x199f6b[_0x3712f1(0x268)]>=_0x2c7427?{..._0x199f6b,'startIndex':_0x199f6b[_0x3712f1(0x268)]+_0x2bf3e4}:_0x199f6b);}function _0x167d18(_0x43466f,_0x426f34,_0x49ed91){const _0x499eae=_0x57f770;let _0x140838=_0x426f34+_0x49ed91;return _0x43466f==null?void 0x0:_0x43466f[_0x499eae(0x261)](_0x522015=>_0x522015['startIndex']>=_0x426f34&&_0x522015['startIndex']<_0x140838?null:_0x522015[_0x499eae(0x268)]>=_0x140838?{..._0x522015,'startIndex':_0x522015[_0x499eae(0x268)]-_0x49ed91}:_0x522015)[_0x499eae(0x25d)](_0x112e66=>_0x112e66!=null);}function _0x4b8c8f(_0x3be01f,_0x290bbd,_0xe91446){return _0x3be01f==null?void 0x0:_0x3be01f['map'](_0x9d297d=>_0x9d297d['st']>=_0x290bbd?{..._0x9d297d,'st':_0x9d297d['st']+_0xe91446,'ed':_0x9d297d['ed']+_0xe91446}:_0x9d297d['ed']>_0x290bbd?{..._0x9d297d,'ed':_0x9d297d['ed']+_0xe91446}:_0x9d297d);}function _0xf87d3d(_0x56ae94,_0xfc0d3d,_0x550c1b){const _0x5c4b92=_0x57f770;return _0x56ae94==null?void 0x0:_0x56ae94[_0x5c4b92(0x261)](_0x228a9c=>(0x0,_0x4bed3b[_0x5c4b92(0x264)])(_0x228a9c,_0xfc0d3d,_0x550c1b));}function _0x1c6f46(_0x1b9330,_0x17c331,_0x14a90b){const _0x386b40=_0x57f770;return _0x1b9330==null?void 0x0:_0x1b9330['map'](_0x54e324=>(0x0,_0x4bed3b[_0x386b40(0x1a6)])(_0x54e324,_0x17c331,_0x14a90b));}function _0x4076a7(_0x22c128,_0x2e9053,_0x533e52){const _0x3aad79=_0x57f770;return _0x22c128==null?void 0x0:_0x22c128[_0x3aad79(0x261)](_0x12ad83=>(0x0,_0x4bed3b['shiftInclusiveRangeOnDelete'])(_0x12ad83,_0x2e9053,_0x533e52))[_0x3aad79(0x25d)](_0x5b06a9=>_0x5b06a9!=null);}function _0x5bcf60(_0x149cda,_0xd632c4,_0x149986){const _0x32ada7=_0x57f770;return _0x149cda==null?void 0x0:_0x149cda[_0x32ada7(0x261)](_0x258e46=>(0x0,_0x4bed3b[_0x32ada7(0x1ec)])(_0x258e46,_0xd632c4,_0x149986))[_0x32ada7(0x25d)](_0x29a692=>_0x29a692!=null);}function _0x5e2027(_0x4c9bc2){const _0x361949=_0x57f770;if(!_0x4c9bc2[_0x361949(0x1b0)])throw Error(_0x361949(0x16c));return _0x4c9bc2[_0x361949(0x1b0)];}function _0x29afda(_0xeceded){'@babel/helpers - typeof';const _0x34dafe=_0x57f770;return _0x29afda=typeof Symbol==_0x34dafe(0x1f1)&&typeof Symbol[_0x34dafe(0x169)]==_0x34dafe(0x17c)?function(_0x14489f){return typeof _0x14489f;}:function(_0x12a133){const _0x140878=_0x34dafe;return _0x12a133&&typeof Symbol==_0x140878(0x1f1)&&_0x12a133['constructor']===Symbol&&_0x12a133!==Symbol['prototype']?_0x140878(0x17c):typeof _0x12a133;},_0x29afda(_0xeceded);}function _0x21e00f(_0x561a03,_0x41e2cc){const _0x3aaf34=_0x57f770;if(_0x29afda(_0x561a03)!=_0x3aaf34(0x1a5)||!_0x561a03)return _0x561a03;var _0x5d7a13=_0x561a03[Symbol[_0x3aaf34(0x1e0)]];if(_0x5d7a13!==void 0x0){var _0x4418b4=_0x5d7a13[_0x3aaf34(0x208)](_0x561a03,_0x41e2cc||'default');if(_0x29afda(_0x4418b4)!='object')return _0x4418b4;throw TypeError('@@toPrimitive\x20must\x20return\x20a\x20primitive\x20value.');}return(_0x41e2cc===_0x3aaf34(0x262)?String:Number)(_0x561a03);}function _0x276234(_0x481580){const _0x131f57=_0x57f770;var _0x43ad6a=_0x21e00f(_0x481580,_0x131f57(0x262));return _0x29afda(_0x43ad6a)=='symbol'?_0x43ad6a:_0x43ad6a+'';}function _0x2c07ac(_0x17c19f,_0x23fb7b,_0x3d56f0){const _0x3f6e62=_0x57f770;return(_0x23fb7b=_0x276234(_0x23fb7b))in _0x17c19f?Object[_0x3f6e62(0x1b9)](_0x17c19f,_0x23fb7b,{'value':_0x3d56f0,'enumerable':!0x0,'configurable':!0x0,'writable':!0x0}):_0x17c19f[_0x23fb7b]=_0x3d56f0,_0x17c19f;}var _0x419434=class extends _0x4bed3b[_0x57f770(0x267)]{constructor(..._0x5b046d){const _0x5ab423=_0x57f770;super(..._0x5b046d),_0x2c07ac(this,_0x5ab423(0x1c2),new Map()),_0x2c07ac(this,'_rawResources',new Map()),_0x2c07ac(this,_0x5ab423(0x1b3),new Map()),_0x2c07ac(this,_0x5ab423(0x14f),new _0x593723[(_0x5ab423(0x17d))]()),_0x2c07ac(this,_0x5ab423(0x153),this[_0x5ab423(0x14f)]['asObservable']());}['getFormula'](_0x34bacf,_0xa72eb8){const _0x96e233=_0x57f770;var _0x4b1c10;let _0x46baac=(_0x4b1c10=this['_resources'][_0x96e233(0x1ff)](_0x34bacf))==null?void 0x0:_0x4b1c10['formulas'][_0xa72eb8];return _0x46baac?_0x4bed3b['Tools'][_0x96e233(0x196)](_0x46baac):void 0x0;}[_0x57f770(0x21e)](_0x4bcbdf){const _0x58667d=_0x57f770;var _0x231608;return _0x4bed3b[_0x58667d(0x252)][_0x58667d(0x196)](((_0x231608=this[_0x58667d(0x1c2)][_0x58667d(0x1ff)](_0x4bcbdf))==null?void 0x0:_0x231608['formulas'])??{});}[_0x57f770(0x1c5)](_0x421ae5){const _0xe6ba1f=_0x57f770;let _0x14641d=this['_resources'][_0xe6ba1f(0x1ff)](_0x421ae5);return _0x14641d?_0x4bed3b[_0xe6ba1f(0x252)][_0xe6ba1f(0x196)](_0x14641d):void 0x0;}[_0x57f770(0x1a1)](_0x42ea8f,_0x18c592,_0x26d4a6){const _0x395c88=_0x57f770;return this[_0x395c88(0x285)](_0x42ea8f,{[_0x18c592]:_0x26d4a6});}['setResource'](_0x3c8a12,_0x47cea2){const _0x41f2b4=_0x57f770;return this[_0x41f2b4(0x1b3)][_0x41f2b4(0x221)](_0x3c8a12)||!_0x2c51c9(_0x47cea2)?!0x1:(this[_0x41f2b4(0x1c2)]['set'](_0x3c8a12,_0x4bed3b['Tools'][_0x41f2b4(0x196)](_0x47cea2)),this[_0x41f2b4(0x14f)][_0x41f2b4(0x240)]({'unitId':_0x3c8a12}),!0x0);}[_0x57f770(0x285)](_0x13d333,_0x5aad2a){const _0x160e2b=_0x57f770;if(this[_0x160e2b(0x1b3)][_0x160e2b(0x221)](_0x13d333)||!Object['keys'](_0x5aad2a)[_0x160e2b(0x23b)]||!_0x2c51c9({'schemaVersion':0x1,'formulas':_0x5aad2a}))return!0x1;let _0x2031d9=this[_0x160e2b(0x1c2)][_0x160e2b(0x1ff)](_0x13d333)??_0x5e4c14(),_0x392f76=_0x4bed3b[_0x160e2b(0x252)][_0x160e2b(0x196)](_0x2031d9);return Object[_0x160e2b(0x1cd)](_0x392f76['formulas'],_0x4bed3b[_0x160e2b(0x252)][_0x160e2b(0x196)](_0x5aad2a)),this[_0x160e2b(0x1c2)][_0x160e2b(0x1e7)](_0x13d333,_0x392f76),this[_0x160e2b(0x14f)][_0x160e2b(0x240)]({'unitId':_0x13d333,'rangeIds':Object[_0x160e2b(0x283)](_0x5aad2a)}),!0x0;}[_0x57f770(0x231)](_0x4923b0,_0xfd0545){const _0x303ff2=_0x57f770;if(this[_0x303ff2(0x1b3)]['has'](_0x4923b0))return!0x1;let _0x4e154a=this[_0x303ff2(0x1c2)]['get'](_0x4923b0);if(!(_0x4e154a!=null&&_0x4e154a[_0x303ff2(0x20f)][_0xfd0545]))return!0x1;let _0x4f68c5=_0x4bed3b[_0x303ff2(0x252)][_0x303ff2(0x196)](_0x4e154a);return delete _0x4f68c5['formulas'][_0xfd0545],this[_0x303ff2(0x1c2)][_0x303ff2(0x1e7)](_0x4923b0,_0x4f68c5),this['_change$'][_0x303ff2(0x240)]({'unitId':_0x4923b0,'rangeIds':[_0xfd0545]}),!0x0;}[_0x57f770(0x180)](_0x110211,_0x53cb96){const _0x4d6408=_0x57f770;return _0x53cb96&&typeof _0x53cb96==_0x4d6408(0x1a5)&&_0x4d6408(0x16a)in _0x53cb96&&_0x53cb96[_0x4d6408(0x16a)]!==0x1?(this['_preserveInvalid'](_0x110211,_0x53cb96,_0x4d6408(0x172)),!0x1):_0x2c51c9(_0x53cb96)?(this[_0x4d6408(0x1c2)][_0x4d6408(0x1e7)](_0x110211,_0x4bed3b[_0x4d6408(0x252)][_0x4d6408(0x196)](_0x53cb96)),this[_0x4d6408(0x1a3)]['delete'](_0x110211),this[_0x4d6408(0x1b3)]['delete'](_0x110211),this[_0x4d6408(0x14f)]['next']({'unitId':_0x110211}),!0x0):(this['_preserveInvalid'](_0x110211,_0x53cb96,_0x4d6408(0x188)),!0x1);}[_0x57f770(0x238)](_0x4fab97){const _0x340339=_0x57f770;let _0x651f8=this[_0x340339(0x1c2)]['get'](_0x4fab97);return _0x651f8?_0x4bed3b[_0x340339(0x252)][_0x340339(0x196)](_0x651f8):this['_rawResources'][_0x340339(0x221)](_0x4fab97)?_0x4bed3b[_0x340339(0x252)]['deepClone'](this[_0x340339(0x1a3)]['get'](_0x4fab97)):_0x5e4c14();}[_0x57f770(0x15f)](_0x451f7e){const _0x37e956=_0x57f770;return this[_0x37e956(0x1b3)][_0x37e956(0x1ff)](_0x451f7e);}[_0x57f770(0x232)](_0x7da657){const _0x14244d=_0x57f770;this[_0x14244d(0x1c2)]['delete'](_0x7da657),this[_0x14244d(0x1a3)][_0x14244d(0x215)](_0x7da657),this[_0x14244d(0x1b3)][_0x14244d(0x215)](_0x7da657),this[_0x14244d(0x14f)]['next']({'unitId':_0x7da657});}[_0x57f770(0x16b)](){const _0x48379e=_0x57f770;this[_0x48379e(0x1c2)]['clear'](),this[_0x48379e(0x1a3)][_0x48379e(0x1bf)](),this[_0x48379e(0x1b3)]['clear'](),this['_change$'][_0x48379e(0x165)](),super[_0x48379e(0x16b)]();}[_0x57f770(0x203)](_0x370e64,_0x7d2c1b,_0x59deec){const _0x46f5cb=_0x57f770;this['_resources'][_0x46f5cb(0x215)](_0x370e64),this[_0x46f5cb(0x1a3)][_0x46f5cb(0x1e7)](_0x370e64,_0x4bed3b[_0x46f5cb(0x252)][_0x46f5cb(0x196)](_0x7d2c1b)),this['_loadErrors'][_0x46f5cb(0x1e7)](_0x370e64,_0x59deec),this[_0x46f5cb(0x14f)]['next']({'unitId':_0x370e64});}};let _0x3e772c=function(_0x3a9f58){const _0x4dd31a=_0x57f770;return _0x3a9f58['EMPTY']=_0x4dd31a(0x17b),_0x3a9f58['PENDING']=_0x4dd31a(0x24f),_0x3a9f58[_0x4dd31a(0x1d9)]=_0x4dd31a(0x1e2),_0x3a9f58['ERROR']=_0x4dd31a(0x17f),_0x3a9f58;}({});function _0x52ecc4(_0x2011b2,_0x425335){return function(_0x451549,_0x2461e0){_0x425335(_0x451549,_0x2461e0,_0x2011b2);};}function _0x4d4426(_0x54f76a,_0x47952f,_0x7abbc7,_0x27a8b0){const _0x3f04b3=_0x57f770;var _0x1053ae=arguments[_0x3f04b3(0x23b)],_0x505722=_0x1053ae<0x3?_0x47952f:_0x27a8b0===null?_0x27a8b0=Object[_0x3f04b3(0x19c)](_0x47952f,_0x7abbc7):_0x27a8b0,_0xb5d806;if(typeof Reflect==_0x3f04b3(0x1a5)&&typeof Reflect[_0x3f04b3(0x1bd)]==_0x3f04b3(0x1f1))_0x505722=Reflect[_0x3f04b3(0x1bd)](_0x54f76a,_0x47952f,_0x7abbc7,_0x27a8b0);else{for(var _0x144050=_0x54f76a['length']-0x1;_0x144050>=0x0;_0x144050--)(_0xb5d806=_0x54f76a[_0x144050])&&(_0x505722=(_0x1053ae<0x3?_0xb5d806(_0x505722):_0x1053ae>0x3?_0xb5d806(_0x47952f,_0x7abbc7,_0x505722):_0xb5d806(_0x47952f,_0x7abbc7))||_0x505722);}return _0x1053ae>0x3&&_0x505722&&Object['defineProperty'](_0x47952f,_0x7abbc7,_0x505722),_0x505722;}let _0x51a5f5=class extends _0x4bed3b[_0x57f770(0x267)]{constructor(_0x4bb5b7,_0x25cfe7,_0x3ab571){const _0x29c398=_0x57f770;super(),this[_0x29c398(0x211)]=_0x4bb5b7,this[_0x29c398(0x15a)]=_0x25cfe7,this[_0x29c398(0x1f8)]=_0x3ab571,_0x2c07ac(this,_0x29c398(0x19b),new Map()),_0x2c07ac(this,_0x29c398(0x270),new Map()),_0x2c07ac(this,_0x29c398(0x255),new _0x593723[(_0x29c398(0x17d))]()),_0x2c07ac(this,_0x29c398(0x1e4),this[_0x29c398(0x255)]['asObservable']()),this[_0x29c398(0x1c3)](this[_0x29c398(0x15a)][_0x29c398(0x1a0)][_0x29c398(0x243)](_0x367f42=>{const _0x1281ac=_0x29c398;for(let _0x4e597a of Object[_0x1281ac(0x1c9)](_0x367f42))for(let _0x4a6da1 of Object[_0x1281ac(0x1c9)](_0x4e597a))_0x4a6da1[_0x1281ac(0x1e1)](_0x110ecf=>this['_updateFormulaResult'](_0x110ecf));}));}[_0x57f770(0x179)](_0x5cce44){const _0x3ffb91=_0x57f770;var _0x4f94fc;let _0x58ff41=_0x5cce44['getUnitId'](),_0x432a52=((_0x4f94fc=_0x5cce44[_0x3ffb91(0x166)]()['body'])==null||(_0x4f94fc=_0x4f94fc['customRanges'])==null?void 0x0:_0x4f94fc[_0x3ffb91(0x25d)](_0x3f3a71))??[],_0x4af811=this[_0x3ffb91(0x211)][_0x3ffb91(0x21e)](_0x58ff41),_0x5ca630=new Set();for(let _0x81cd0f of _0x432a52){let _0x5dc309=_0x4af811[_0x81cd0f[_0x3ffb91(0x24b)]];_0x5dc309&&(_0x5ca630[_0x3ffb91(0x28b)](_0x43079d(_0x58ff41,_0x81cd0f[_0x3ffb91(0x24b)])),this[_0x3ffb91(0x217)]({'unitId':_0x58ff41,'rangeId':_0x81cd0f['rangeId']},_0x5dc309));}for(let _0x3e431d of Array[_0x3ffb91(0x1cb)](this[_0x3ffb91(0x19b)][_0x3ffb91(0x1c9)]()))_0x3e431d[_0x3ffb91(0x242)]===_0x58ff41&&!_0x5ca630[_0x3ffb91(0x221)](_0x43079d(_0x3e431d[_0x3ffb91(0x242)],_0x3e431d[_0x3ffb91(0x24b)]))&&this[_0x3ffb91(0x1df)](_0x3e431d);}[_0x57f770(0x217)](_0x4afe7e,_0x9c1cbd){const _0x2577df=_0x57f770;let _0x2f65d2=_0x43079d(_0x4afe7e[_0x2577df(0x242)],_0x4afe7e[_0x2577df(0x24b)]),_0x586bf2=this['_registrations'][_0x2577df(0x1ff)](_0x2f65d2),_0x1c2bc5=this[_0x2577df(0x1f8)][_0x2577df(0x18f)](_0x4afe7e[_0x2577df(0x242)]);if(_0x586bf2&&_0x586bf2[_0x2577df(0x1c4)]['formula']===_0x9c1cbd[_0x2577df(0x1b8)]&&_0x586bf2['referenceRevision']===_0x1c2bc5){_0x586bf2['config']=_0x9c1cbd;let _0x585261=_0x586bf2[_0x2577df(0x1f9)]?this[_0x2577df(0x15a)][_0x2577df(0x239)](_0x586bf2['unitId'],_0x586bf2['unitId'],_0x586bf2['formulaId'])??void 0x0:void 0x0;_0x586bf2[_0x2577df(0x1b5)]=_0x585261,this[_0x2577df(0x279)](_0x2f65d2,_0x9dc728(_0x9c1cbd,_0x585261));return;}_0x586bf2!=null&&_0x586bf2[_0x2577df(0x1f9)]&&this[_0x2577df(0x229)](_0x586bf2);let _0x3de715={..._0x4afe7e,'config':_0x9c1cbd,'referenceRevision':_0x1c2bc5,'presentation':_0x9dc728(_0x9c1cbd,void 0x0)};if(this['_registrations'][_0x2577df(0x1e7)](_0x2f65d2,_0x3de715),!_0x9c1cbd[_0x2577df(0x1b8)][_0x2577df(0x210)]())return;let _0x31a652=this[_0x2577df(0x15a)][_0x2577df(0x1de)](_0x4afe7e[_0x2577df(0x242)],_0x4afe7e[_0x2577df(0x242)],_0x9c1cbd[_0x2577df(0x1b8)],void 0x0,{'rangeId':_0x4afe7e[_0x2577df(0x24b)]},_0x2b808c['OtherFormulaBizType'][_0x2577df(0x19f)],_0x4afe7e[_0x2577df(0x24b)]);_0x3de715[_0x2577df(0x1f9)]=_0x31a652,this[_0x2577df(0x270)][_0x2577df(0x1e7)](_0x31a652,_0x2f65d2);}['unregister'](_0x26d0cf){const _0x4912f4=_0x57f770;let _0xaeb006=_0x43079d(_0x26d0cf[_0x4912f4(0x242)],_0x26d0cf[_0x4912f4(0x24b)]),_0xaf4444=this[_0x4912f4(0x19b)][_0x4912f4(0x1ff)](_0xaeb006);_0xaf4444&&(this['_deleteRegistration'](_0xaf4444),this['_registrations']['delete'](_0xaeb006));}[_0x57f770(0x22c)](_0x40e200){const _0x81f3b4=_0x57f770;for(let _0x3b8609 of Array[_0x81f3b4(0x1cb)](this['_registrations'][_0x81f3b4(0x1c9)]()))_0x3b8609[_0x81f3b4(0x242)]===_0x40e200&&this[_0x81f3b4(0x1df)](_0x3b8609);}[_0x57f770(0x23c)](_0x5990a8){const _0x59c466=_0x57f770;var _0x42bc64;return(_0x42bc64=this[_0x59c466(0x19b)][_0x59c466(0x1ff)](_0x43079d(_0x5990a8[_0x59c466(0x242)],_0x5990a8[_0x59c466(0x24b)])))==null?void 0x0:_0x42bc64['presentation'];}[_0x57f770(0x218)](_0x1d65ba){const _0x20dab1=_0x57f770;let _0x3802a9=this[_0x20dab1(0x19b)][_0x20dab1(0x1ff)](_0x43079d(_0x1d65ba['unitId'],_0x1d65ba['rangeId']));return _0x3802a9?_0x5a8e33(_0x3802a9):void 0x0;}[_0x57f770(0x259)](){const _0x4ddc9e=_0x57f770;return Array[_0x4ddc9e(0x1cb)](this[_0x4ddc9e(0x19b)]['values'](),_0x7c05d3=>({'identity':{'unitId':_0x7c05d3['unitId'],'rangeId':_0x7c05d3['rangeId']},'config':_0x7c05d3[_0x4ddc9e(0x1c4)],'referenceRevision':_0x7c05d3['referenceRevision'],..._0x7c05d3['liveResult']?{'liveResult':_0x7c05d3['liveResult']}:null}));}[_0x57f770(0x16b)](){const _0x1ca338=_0x57f770;for(let _0x17c78f of this[_0x1ca338(0x19b)][_0x1ca338(0x1c9)]())this[_0x1ca338(0x229)](_0x17c78f);this[_0x1ca338(0x19b)][_0x1ca338(0x1bf)](),this[_0x1ca338(0x270)]['clear'](),this[_0x1ca338(0x255)][_0x1ca338(0x165)](),super[_0x1ca338(0x16b)]();}['_updateFormulaResult'](_0x3c1bd1){const _0x3dcba6=_0x57f770;let _0x977ff8=this[_0x3dcba6(0x270)][_0x3dcba6(0x1ff)](_0x3c1bd1[_0x3dcba6(0x1f9)]),_0x4dc088=_0x977ff8?this[_0x3dcba6(0x19b)][_0x3dcba6(0x1ff)](_0x977ff8):void 0x0;_0x977ff8&&_0x4dc088&&(_0x4dc088[_0x3dcba6(0x1b5)]=_0x3c1bd1,this['_setPresentation'](_0x977ff8,_0x9dc728(_0x4dc088[_0x3dcba6(0x1c4)],_0x3c1bd1)));}[_0x57f770(0x279)](_0x4e0771,_0x302530){const _0x51a8e0=_0x57f770;var _0x15f7df,_0x4ad13f;let _0x72128a=this[_0x51a8e0(0x19b)][_0x51a8e0(0x1ff)](_0x4e0771);if(!_0x72128a||_0x30f295(_0x72128a[_0x51a8e0(0x263)],_0x302530))return;let _0x4654e6=_0x72128a[_0x51a8e0(0x263)],_0x3d8e55=_0x5a8e33(_0x72128a);_0x72128a[_0x51a8e0(0x263)]=_0x302530,this[_0x51a8e0(0x255)]['next']({'unitId':_0x72128a[_0x51a8e0(0x242)],'rangeId':_0x72128a[_0x51a8e0(0x24b)],'presentation':_0x302530,'previousPresentation':_0x4654e6,'result':_0x5a8e33(_0x72128a),'previousResult':{..._0x3d8e55,..._0x4654e6,'value':(_0x15f7df=_0x4654e6['cell'])==null?void 0x0:_0x15f7df['v'],'valueType':((_0x4ad13f=_0x4654e6[_0x51a8e0(0x184)])==null?void 0x0:_0x4ad13f['t'])??void 0x0}});}[_0x57f770(0x229)](_0x5004ed){const _0x359826=_0x57f770;_0x5004ed[_0x359826(0x1f9)]&&(this[_0x359826(0x15a)][_0x359826(0x22e)](_0x5004ed[_0x359826(0x242)],_0x5004ed['unitId'],[_0x5004ed[_0x359826(0x1f9)]]),this['_formulaKeys'][_0x359826(0x215)](_0x5004ed[_0x359826(0x1f9)]));}};_0x51a5f5=_0x4d4426([_0x52ecc4(0x0,(0x0,_0x4bed3b[_0x57f770(0x176)])(_0x419434)),_0x52ecc4(0x1,(0x0,_0x4bed3b[_0x57f770(0x176)])(_0x2b808c['RegisterOtherFormulaService'])),_0x52ecc4(0x2,(0x0,_0x4bed3b['Inject'])(_0x4e3069[_0x57f770(0x206)]))],_0x51a5f5);function _0x43079d(_0xd6e3eb,_0x1e7ae5){return _0xd6e3eb+'\x00'+_0x1e7ae5;}function _0x9dc728(_0x3936f0,_0x1ca06d){const _0x34b32d=_0x57f770;return(0x0,_0x4e3069[_0x34b32d(0x1d3)])({'numberFormat':_0x3936f0[_0x34b32d(0x177)],'lastValue':_0x3936f0[_0x34b32d(0x246)],'result':_0x1ca06d});}function _0x5a8e33(_0x15f867){const _0xcca399=_0x57f770;var _0x2e0d47,_0xce94f2,_0x11732a;let _0x2b036c=_0x15f867[_0xcca399(0x263)],_0x8554c1=_0x15f867[_0xcca399(0x1c4)][_0xcca399(0x1b8)]['trim']()?_0x2b036c['stale']||_0x2b036c[_0xcca399(0x184)]==null?_0xcca399(0x24f):((_0x2e0d47=_0x15f867['liveResult'])==null?void 0x0:_0x2e0d47['status'])===_0x2b808c[_0xcca399(0x224)]['ERROR']?_0xcca399(0x17f):_0xcca399(0x1e2):'empty';return{..._0x2b036c,'status':_0x8554c1,'value':(_0xce94f2=_0x2b036c[_0xcca399(0x184)])==null?void 0x0:_0xce94f2['v'],'valueType':((_0x11732a=_0x2b036c['cell'])==null?void 0x0:_0x11732a['t'])??void 0x0};}function _0x30f295(_0x157397,_0x36b063){const _0x3190cc=_0x57f770;var _0x3da0cc,_0x1aa229,_0x3210f9,_0x272814;return _0x157397['text']===_0x36b063[_0x3190cc(0x159)]&&_0x157397['color']===_0x36b063[_0x3190cc(0x1af)]&&_0x157397[_0x3190cc(0x28c)]===_0x36b063[_0x3190cc(0x28c)]&&_0x157397[_0x3190cc(0x18c)]===_0x36b063['source']&&_0x157397['stale']===_0x36b063[_0x3190cc(0x272)]&&((_0x3da0cc=_0x157397[_0x3190cc(0x184)])==null?void 0x0:_0x3da0cc['t'])===((_0x1aa229=_0x36b063[_0x3190cc(0x184)])==null?void 0x0:_0x1aa229['t'])&&Object['is']((_0x3210f9=_0x157397[_0x3190cc(0x184)])==null?void 0x0:_0x3210f9['v'],(_0x272814=_0x36b063[_0x3190cc(0x184)])==null?void 0x0:_0x272814['v']);}let _0x465b96={'id':_0x57f770(0x156),'type':_0x4bed3b['CommandType'][_0x57f770(0x1d8)],'handler':(_0x532d75,_0x4b1cb5)=>!(_0x4b1cb5!=null&&_0x4b1cb5[_0x57f770(0x242)])||!_0x4b1cb5[_0x57f770(0x24b)]||!_0x4b1cb5['config']?!0x1:_0x532d75[_0x57f770(0x1ff)](_0x419434)[_0x57f770(0x1a1)](_0x4b1cb5[_0x57f770(0x242)],_0x4b1cb5['rangeId'],_0x4b1cb5[_0x57f770(0x1c4)])},_0x30c2aa={'id':_0x57f770(0x16d),'type':_0x4bed3b['CommandType'][_0x57f770(0x1d8)],'handler':(_0x2ec433,_0x318f4c)=>!(_0x318f4c!=null&&_0x318f4c[_0x57f770(0x242)])||!_0x318f4c['rangeId']?!0x1:_0x2ec433['get'](_0x419434)[_0x57f770(0x231)](_0x318f4c[_0x57f770(0x242)],_0x318f4c['rangeId'])},_0x1b5161={'id':'docs-formula.mutation.set-resource','type':_0x4bed3b[_0x57f770(0x1f3)]['MUTATION'],'handler':(_0x2d7e55,_0x1c0907)=>!(_0x1c0907!=null&&_0x1c0907['unitId'])||!_0x1c0907[_0x57f770(0x1c1)]?!0x1:_0x2d7e55[_0x57f770(0x1ff)](_0x419434)[_0x57f770(0x22f)](_0x1c0907[_0x57f770(0x242)],_0x1c0907[_0x57f770(0x1c1)])},_0x2d9019={'id':'docs-formula.mutation.set-last-values','type':_0x4bed3b[_0x57f770(0x1f3)]['MUTATION'],'handler':(_0x389bd7,_0x1e8494)=>{const _0x25074=_0x57f770;if(!(_0x1e8494!=null&&_0x1e8494[_0x25074(0x242)])||!_0x1e8494['updates'][_0x25074(0x23b)])return!0x1;let _0x2e51fc=_0x389bd7[_0x25074(0x1ff)](_0x419434),_0x4c0f5d=_0x389bd7[_0x25074(0x1ff)](_0x4e3069[_0x25074(0x206)]),_0x60f2b0=_0x2e51fc[_0x25074(0x1c5)](_0x1e8494['unitId']);if(!_0x60f2b0)return!0x1;let _0x3e3ffc=_0x4bed3b[_0x25074(0x252)]['deepClone'](_0x60f2b0),_0x3cb65e=!0x1;for(let _0x472371 of _0x1e8494[_0x25074(0x249)]){var _0x219d62,_0x5be578,_0x5a579e,_0x233b23;let _0x4e50ca=_0x3e3ffc[_0x25074(0x20f)][_0x472371[_0x25074(0x24b)]];_0x4e50ca&&_0x4e50ca[_0x25074(0x1b8)]===_0x472371[_0x25074(0x274)]&&((_0x219d62=_0x4e50ca[_0x25074(0x177)])==null?void 0x0:_0x219d62[_0x25074(0x28c)])===_0x472371[_0x25074(0x245)]&&_0x4c0f5d[_0x25074(0x18f)](_0x1e8494['unitId'])===_0x472371[_0x25074(0x216)]&&(((_0x5be578=_0x4e50ca['lastValue'])==null?void 0x0:_0x5be578['v'])!==_0x472371[_0x25074(0x246)]['v']||((_0x5a579e=_0x4e50ca[_0x25074(0x246)])==null?void 0x0:_0x5a579e['t'])!==_0x472371[_0x25074(0x246)]['t']||((_0x233b23=_0x4e50ca[_0x25074(0x246)])==null?void 0x0:_0x233b23['pattern'])!==_0x472371[_0x25074(0x246)][_0x25074(0x28c)])&&(_0x4e50ca[_0x25074(0x246)]=_0x4bed3b[_0x25074(0x252)]['deepClone'](_0x472371['lastValue']),_0x3cb65e=!0x0);}return!_0x3cb65e||_0x2e51fc[_0x25074(0x22f)](_0x1e8494[_0x25074(0x242)],_0x3e3ffc);}},_0x2f5e40={'id':_0x57f770(0x209),'type':_0x4bed3b[_0x57f770(0x1f3)][_0x57f770(0x175)],'handler':(_0x48de4f,_0x1a48ed)=>{const _0x30cd5d=_0x57f770;if(!(_0x1a48ed!=null&&_0x1a48ed[_0x30cd5d(0x1b8)][_0x30cd5d(0x210)]()))return!0x1;let _0x97ceb2=_0x1c0b6b(_0x48de4f,_0x1a48ed[_0x30cd5d(0x242)],'');if(!_0x97ceb2)return!0x1;let _0x372431=_0x27bca5(_0x1a48ed[_0x30cd5d(0x1e9)],_0x97ceb2['body'],_0x172891(_0x48de4f,_0x97ceb2[_0x30cd5d(0x242)]));if(!_0x372431)return!0x1;let _0x20d9a3=_0x5a4c92(_0x48de4f,_0x97ceb2[_0x30cd5d(0x242)],_0x1a48ed['formula'],_0x1a48ed['externalReferences']??[]);if(!_0x20d9a3)return!0x1;let _0x3d697f=_0x2ae9aa(_0x97ceb2[_0x30cd5d(0x1b0)],_0x97ceb2[_0x30cd5d(0x1ae)],_0x97ceb2[_0x30cd5d(0x242)]),_0x2f3709=_0x3b7a23({'documentData':_0x97ceb2[_0x30cd5d(0x185)],'resource':_0x97ceb2[_0x30cd5d(0x1c1)],'rangeId':_0x3d697f,'config':{'formula':_0x1a48ed[_0x30cd5d(0x1b8)],..._0x1a48ed[_0x30cd5d(0x177)]?{'numberFormat':_0x1a48ed[_0x30cd5d(0x177)]}:null},'startOffset':_0x372431[_0x30cd5d(0x1ef)],'endOffset':_0x372431[_0x30cd5d(0x199)]});if(!_0x2f3709)return!0x1;let _0x2fd559=(0x0,_0x4e3069[_0x30cd5d(0x281)])(_0x48de4f,_0x97ceb2[_0x30cd5d(0x242)],_0x20d9a3);return!_0x2fd559||!_0x209fb5({'accessor':_0x48de4f,'document':_0x97ceb2[_0x30cd5d(0x225)],'unitId':_0x97ceb2['unitId'],'trigger':_0x2f5e40['id'],'rangeId':_0x3d697f,'previousResource':_0x97ceb2['resource'],'nextResource':_0x2f3709[_0x30cd5d(0x171)],'previousDocumentData':_0x97ceb2['documentData'],'nextDocumentData':_0x2f3709['nextDocumentData'],'cursorOffset':_0x2f3709[_0x30cd5d(0x1ba)],'externalMutations':_0x2fd559})?!0x1:{'rangeId':_0x3d697f,'startOffset':_0x2f3709[_0x30cd5d(0x1ba)]-0x1,'endOffset':_0x2f3709[_0x30cd5d(0x1ba)]};}},_0x1039f9={'id':'docs-formula.command.update','type':_0x4bed3b['CommandType']['COMMAND'],'handler':(_0x2c6eac,_0x1ad623)=>{const _0x4d9469=_0x57f770;if(!(_0x1ad623!=null&&_0x1ad623[_0x4d9469(0x24b)])||!_0x1ad623[_0x4d9469(0x1b8)][_0x4d9469(0x210)]())return!0x1;let _0x176cd2=_0x1c0b6b(_0x2c6eac,_0x1ad623[_0x4d9469(0x242)],''),_0x1978bc=_0x176cd2==null?void 0x0:_0x176cd2['model'][_0x4d9469(0x160)](_0x176cd2[_0x4d9469(0x242)],_0x1ad623[_0x4d9469(0x24b)]),_0x403c6e=_0x176cd2?_0x339a9d(_0x176cd2[_0x4d9469(0x185)]['body'],_0x1ad623[_0x4d9469(0x24b)]):void 0x0;if(!_0x176cd2||!_0x1978bc||!_0x403c6e)return!0x1;let _0x5141ec=_0x5a4c92(_0x2c6eac,_0x176cd2[_0x4d9469(0x242)],_0x1ad623[_0x4d9469(0x1b8)],_0x1ad623[_0x4d9469(0x256)]??[]);if(!_0x5141ec)return!0x1;let _0x38aa0b=(0x0,_0x4e3069[_0x4d9469(0x281)])(_0x2c6eac,_0x176cd2[_0x4d9469(0x242)],_0x5141ec);if(!_0x38aa0b)return!0x1;let _0x57b360=_0x585799(_0x176cd2[_0x4d9469(0x1c1)]);return _0x57b360[_0x4d9469(0x20f)][_0x1ad623['rangeId']]={'formula':_0x1ad623['formula'],..._0x1ad623[_0x4d9469(0x177)]?{'numberFormat':_0x1ad623[_0x4d9469(0x177)]}:_0x1978bc[_0x4d9469(0x177)]?{'numberFormat':_0x1978bc[_0x4d9469(0x177)]}:null},_0x209fb5({'accessor':_0x2c6eac,'document':_0x176cd2[_0x4d9469(0x225)],'unitId':_0x176cd2[_0x4d9469(0x242)],'trigger':_0x1039f9['id'],'rangeId':_0x1ad623[_0x4d9469(0x24b)],'previousResource':_0x176cd2[_0x4d9469(0x1c1)],'nextResource':_0x57b360,'cursorOffset':_0x403c6e[_0x4d9469(0x23a)]+0x1,'externalMutations':_0x38aa0b});}},_0x3c50cd={'id':_0x57f770(0x19a),'type':_0x4bed3b[_0x57f770(0x1f3)][_0x57f770(0x175)],'handler':(_0x4cc698,_0x36babf)=>{const _0x55f809=_0x57f770;if(!(_0x36babf!=null&&_0x36babf[_0x55f809(0x24b)]))return!0x1;let _0x435314=_0x1c0b6b(_0x4cc698,_0x36babf['unitId'],''),_0x25d19a=_0x435314==null?void 0x0:_0x435314[_0x55f809(0x1ae)][_0x55f809(0x160)](_0x435314[_0x55f809(0x242)],_0x36babf[_0x55f809(0x24b)]),_0x18d976=_0x435314?_0x339a9d(_0x435314[_0x55f809(0x185)][_0x55f809(0x1b0)],_0x36babf[_0x55f809(0x24b)]):void 0x0;if(!_0x435314||!_0x25d19a||!_0x18d976)return!0x1;let _0x2d91c0=_0x585799(_0x435314['resource']);return _0x2d91c0[_0x55f809(0x20f)][_0x36babf[_0x55f809(0x24b)]]={..._0x25d19a,..._0x36babf['numberFormat']?{'numberFormat':_0x36babf[_0x55f809(0x177)]}:null},_0x36babf[_0x55f809(0x177)]||delete _0x2d91c0[_0x55f809(0x20f)][_0x36babf[_0x55f809(0x24b)]]['numberFormat'],_0x209fb5({'accessor':_0x4cc698,'document':_0x435314[_0x55f809(0x225)],'unitId':_0x435314['unitId'],'trigger':_0x3c50cd['id'],'rangeId':_0x36babf['rangeId'],'previousResource':_0x435314[_0x55f809(0x1c1)],'nextResource':_0x2d91c0,'cursorOffset':_0x18d976[_0x55f809(0x23a)]+0x1,'externalMutations':{}});}},_0x16b842={'id':_0x57f770(0x275),'type':_0x4bed3b['CommandType']['COMMAND'],'handler':(_0x448578,_0xba8508)=>_0x278e44(_0x448578,_0xba8508,'',_0x16b842['id'])},_0x4fdf1c={'id':'docs-formula.command.replace-with-text','type':_0x4bed3b['CommandType'][_0x57f770(0x175)],'handler':(_0x45657d,_0x38f557)=>_0x278e44(_0x45657d,_0x38f557,(_0x38f557==null?void 0x0:_0x38f557[_0x57f770(0x159)])??'',_0x4fdf1c['id'])},_0x38dc53={'id':_0x57f770(0x194),'type':_0x4bed3b['CommandType'][_0x57f770(0x175)],'handler':(_0x2fa56a,_0x484874)=>{const _0x4df6c4=_0x57f770;if(!(_0x484874!=null&&_0x484874['rangeId']))return!0x1;let _0x2ec813=_0x1c0b6b(_0x2fa56a,_0x484874['unitId'],'');if(!_0x2ec813)return!0x1;let _0x13fe72=_0x2fa56a[_0x4df6c4(0x1ff)](_0x51a5f5)[_0x4df6c4(0x218)]({'unitId':_0x2ec813[_0x4df6c4(0x242)],'rangeId':_0x484874['rangeId']});return _0x13fe72?_0x278e44(_0x2fa56a,_0x484874,_0x13fe72[_0x4df6c4(0x159)],_0x38dc53['id']):!0x1;}};function _0x278e44(_0x15e5e3,_0x2483b1,_0x4d2562,_0x2b0b1d){const _0x477759=_0x57f770;if(!(_0x2483b1!=null&&_0x2483b1[_0x477759(0x24b)]))return!0x1;let _0x13abe4=_0x1c0b6b(_0x15e5e3,_0x2483b1['unitId'],'');if(!_0x13abe4)return!0x1;let _0x38e485=_0x562d2a({'documentData':_0x13abe4['documentData'],'resource':_0x13abe4[_0x477759(0x1c1)],'rangeId':_0x2483b1[_0x477759(0x24b)],'text':_0x4d2562});return _0x38e485?_0x209fb5({'accessor':_0x15e5e3,'document':_0x13abe4[_0x477759(0x225)],'unitId':_0x13abe4[_0x477759(0x242)],'trigger':_0x2b0b1d,'rangeId':_0x2483b1[_0x477759(0x24b)],'previousResource':_0x13abe4[_0x477759(0x1c1)],'nextResource':_0x38e485[_0x477759(0x171)],'previousDocumentData':_0x13abe4[_0x477759(0x185)],'nextDocumentData':_0x38e485['nextDocumentData'],'cursorOffset':_0x38e485['cursorOffset'],'externalMutations':{}}):!0x1;}function _0x1c0b6b(_0x4e46d1,_0x217b71,_0x33ba99){const _0x1518df=_0x57f770;if(_0x33ba99)return null;let _0x3a428b=_0x4e46d1[_0x1518df(0x1ff)](_0x4bed3b[_0x1518df(0x1f5)]),_0x59a6a2=(_0x217b71?_0x3a428b['getUnit'](_0x217b71,_0x4bed3b[_0x1518df(0x1eb)][_0x1518df(0x20e)]):_0x3a428b[_0x1518df(0x26e)](_0x4bed3b[_0x1518df(0x1eb)]['UNIVER_DOC']))??null;if(!_0x59a6a2)return null;let _0x5dc553=_0x59a6a2[_0x1518df(0x166)](),_0x34594d=_0x5dc553['body'];if(_0x5dc553['disabled']||!_0x34594d)return null;let _0x594f06=_0x4e46d1[_0x1518df(0x1ff)](_0x419434);return _0x594f06[_0x1518df(0x15f)](_0x59a6a2[_0x1518df(0x1fe)]())?null:{'document':_0x59a6a2,'body':_0x34594d,'documentData':_0x5dc553,'model':_0x594f06,'resource':_0x594f06[_0x1518df(0x1c5)](_0x59a6a2[_0x1518df(0x1fe)]())??_0x5e4c14(),'unitId':_0x59a6a2[_0x1518df(0x1fe)]()};}function _0x172891(_0x1c00f1,_0x3655fd){const _0x374f54=_0x57f770;var _0x17f36c;return(_0x17f36c=_0x1c00f1[_0x374f54(0x1ff)](_0x4e7dc9['DocSelectionManagerService'])['getTextRanges']({'subUnitId':_0x3655fd,'unitId':_0x3655fd}))==null?void 0x0:_0x17f36c[0x0];}function _0x27bca5(_0x506c7e,_0x201eb0,_0x474dae){const _0x5940c3=_0x57f770;if((_0x506c7e==null?void 0x0:_0x506c7e[_0x5940c3(0x1db)])==='paragraph'){var _0xd032c5;let _0x579182=((_0xd032c5=_0x201eb0[_0x5940c3(0x21f)])==null?void 0x0:_0xd032c5['filter'](_0xe84f4=>_0xe84f4[_0x5940c3(0x277)]===_0x506c7e[_0x5940c3(0x277)]))??[];if(_0x579182[_0x5940c3(0x23b)]!==0x1)return null;let _0x5ea958=_0x579182[0x0],_0x56f2ba=(0x0,_0x4bed3b[_0x5940c3(0x170)])(_0x201eb0,_0x5ea958),_0x1d4fb9=_0x5ea958[_0x5940c3(0x268)]-_0x56f2ba,_0x428551=_0x506c7e[_0x5940c3(0x237)]===_0x5940c3(0x1a4)?_0x1d4fb9:_0x506c7e[_0x5940c3(0x237)];if(!Number[_0x5940c3(0x23f)](_0x428551)||_0x428551<0x0||_0x428551>_0x1d4fb9)return null;let _0x17950e=_0x56f2ba+_0x428551;return{'startOffset':_0x17950e,'endOffset':_0x17950e};}if((_0x506c7e==null?void 0x0:_0x506c7e[_0x5940c3(0x1db)])===_0x5940c3(0x1b6))return!Number[_0x5940c3(0x23f)](_0x506c7e[_0x5940c3(0x1ef)])||!Number['isInteger'](_0x506c7e['endOffset'])?null:{'startOffset':Math['min'](_0x506c7e[_0x5940c3(0x1ef)],_0x506c7e['endOffset']),'endOffset':Math[_0x5940c3(0x219)](_0x506c7e[_0x5940c3(0x1ef)],_0x506c7e[_0x5940c3(0x199)])};let _0x333a73=(_0x506c7e==null?void 0x0:_0x506c7e[_0x5940c3(0x1db)])===_0x5940c3(0x257)?_0x506c7e[_0x5940c3(0x257)]:_0x474dae;return!_0x333a73||_0x333a73[_0x5940c3(0x1fc)]?null:{'startOffset':Math[_0x5940c3(0x254)](_0x333a73['startOffset'],_0x333a73[_0x5940c3(0x199)]),'endOffset':Math[_0x5940c3(0x219)](_0x333a73[_0x5940c3(0x1ef)],_0x333a73[_0x5940c3(0x199)])};}function _0x5a4c92(_0xc083c8,_0x4416af,_0x2a267b,_0x1458fe){const _0x221c36=_0x57f770;let _0x2ad00e=_0xc083c8['get'](_0x2b808c[_0x221c36(0x204)]),_0x3f168f=_0x2a267b['startsWith']('=')?_0x2a267b[_0x221c36(0x25b)](0x1):_0x2a267b,_0x1e5a11=_0x2ad00e[_0x221c36(0x276)](_0x3f168f);if(!_0x1e5a11)return null;let _0x44d699=_0xc083c8[_0x221c36(0x1ff)](_0x4e3069[_0x221c36(0x206)]),_0x1774e6=(0x0,_0x4e3069['resolveHostFormulaExternalReferences'])({'qualifiers':(0x0,_0x4e3069['collectFormulaExternalReferenceQualifiers'])(_0x1e5a11),'explicitReferences':_0x1458fe??[],'resolveBinding':_0x264af4=>_0x44d699[_0x221c36(0x1fd)](_0x4416af,_0x264af4)});return _0x1774e6['status']==='resolved'?_0x1774e6[_0x221c36(0x151)]:null;}function _0x2ae9aa(_0x579e25,_0x143e71,_0x269f38){const _0x59e34d=_0x57f770;var _0x32d90f;let _0x533681=(0x0,_0x4bed3b[_0x59e34d(0x183)])(0x6);for(;_0x579e25!=null&&(_0x32d90f=_0x579e25[_0x59e34d(0x15e)])!=null&&_0x32d90f[_0x59e34d(0x25e)](_0x184879=>_0x184879['rangeId']===_0x533681)||_0x143e71[_0x59e34d(0x160)](_0x269f38,_0x533681);)_0x533681=(0x0,_0x4bed3b[_0x59e34d(0x183)])(0x6);return _0x533681;}function _0x3b7a23(_0x3fba6a){try{return _0x2e6ab7(_0x3fba6a);}catch(_0x2c0277){if(_0x2c0277 instanceof _0x4b9dca)return null;throw _0x2c0277;}}function _0x355c8a(_0x17713c){const _0x5a6781=_0x57f770;let _0xfdcde8=_0x17713c[_0x5a6781(0x15d)]&&_0x17713c[_0x5a6781(0x17e)]?_0x16c2eb(_0x17713c[_0x5a6781(0x225)],_0x17713c[_0x5a6781(0x242)],_0x17713c[_0x5a6781(0x15d)],_0x17713c['nextDocumentData'],_0x17713c[_0x5a6781(0x1ba)],_0x17713c[_0x5a6781(0x1a2)]):null;return _0x17713c[_0x5a6781(0x15d)]&&_0x17713c[_0x5a6781(0x17e)]&&!_0xfdcde8?null:{'documentRedo':_0xfdcde8,'resourceRedo':{'id':_0x1b5161['id'],'params':{'unitId':_0x17713c[_0x5a6781(0x242)],'resource':_0x17713c['nextResource']}},'resourceUndo':{'id':_0x1b5161['id'],'params':{'unitId':_0x17713c[_0x5a6781(0x242)],'resource':_0x17713c[_0x5a6781(0x164)]}}};}function _0x1cbe6a(_0x572fd4,_0xe0dcd0,_0x508abd,_0x16a430){const _0x11d999=_0x57f770;_0x16a430[_0x11d999(0x226)]({'id':_0x572fd4[_0x11d999(0x1a2)]+':'+_0x572fd4['rangeId'],'unitID':_0x572fd4[_0x11d999(0x242)],'redoMutations':[..._0x572fd4[_0x11d999(0x1e8)][_0x11d999(0x26f)]?[_0x572fd4['externalMutations'][_0x11d999(0x26f)]]:[],..._0xe0dcd0[_0x11d999(0x157)]?[_0xe0dcd0[_0x11d999(0x157)]]:[],_0xe0dcd0[_0x11d999(0x191)]],'undoMutations':[_0xe0dcd0['resourceUndo'],..._0x508abd?[_0x508abd]:[],..._0x572fd4[_0x11d999(0x1e8)]['undoMutation']?[_0x572fd4[_0x11d999(0x1e8)][_0x11d999(0x288)]]:[]]});}function _0x209fb5(_0x1cfef8){const _0x5454ee=_0x57f770;let _0x435633=_0x1cfef8[_0x5454ee(0x187)][_0x5454ee(0x1ff)](_0x4bed3b[_0x5454ee(0x15c)]),_0x137c70=_0x1cfef8[_0x5454ee(0x187)][_0x5454ee(0x1ff)](_0x4bed3b[_0x5454ee(0x1d6)]),_0x12ca65=_0x1cfef8[_0x5454ee(0x187)][_0x5454ee(0x1ff)](_0x4e7dc9[_0x5454ee(0x258)]),_0x43f89b=_0x355c8a(_0x1cfef8);if(!_0x43f89b)return!0x1;let _0x1c3eb5=!0x1,_0x4ee6ac=null,_0x3f204e=!0x1;try{if(_0x1cfef8[_0x5454ee(0x1e8)][_0x5454ee(0x26f)]){if(!_0x435633[_0x5454ee(0x1ed)](_0x1cfef8[_0x5454ee(0x1e8)][_0x5454ee(0x26f)]['id'],_0x1cfef8['externalMutations'][_0x5454ee(0x26f)]['params']))return!0x1;_0x1c3eb5=!0x0;}if(_0x43f89b[_0x5454ee(0x157)]){let _0xe168ed=_0x435633[_0x5454ee(0x1ed)](_0x43f89b[_0x5454ee(0x157)]['id'],_0x43f89b[_0x5454ee(0x157)][_0x5454ee(0x1a7)]);if(!_0xe168ed)return _0x5069c3(_0x435633,_0x1cfef8[_0x5454ee(0x1e8)],_0x1c3eb5),!0x1;_0x4ee6ac={'id':_0x4e7dc9['RichTextEditingMutation']['id'],'params':{..._0xe168ed,'noHistory':!0x0,'noNeedSetTextRange':!0x0,'segmentId':''}};}if(!_0x435633[_0x5454ee(0x1ed)](_0x43f89b[_0x5454ee(0x191)]['id'],_0x43f89b[_0x5454ee(0x191)][_0x5454ee(0x1a7)]))return _0x256a50(_0x435633,_0x4ee6ac),_0x5069c3(_0x435633,_0x1cfef8[_0x5454ee(0x1e8)],_0x1c3eb5),!0x1;_0x3f204e=!0x0,_0x1cbe6a(_0x1cfef8,_0x43f89b,_0x4ee6ac,_0x137c70);}catch(_0x1a93d8){throw _0x3f204e&&_0x435633[_0x5454ee(0x1ed)](_0x43f89b[_0x5454ee(0x1c6)]['id'],_0x43f89b[_0x5454ee(0x1c6)][_0x5454ee(0x1a7)]),_0x256a50(_0x435633,_0x4ee6ac),_0x5069c3(_0x435633,_0x1cfef8[_0x5454ee(0x1e8)],_0x1c3eb5),_0x1a93d8;}return _0x12ca65[_0x5454ee(0x1d1)]([{'startOffset':_0x1cfef8['cursorOffset'],'endOffset':_0x1cfef8[_0x5454ee(0x1ba)],'segmentId':''}],{'unitId':_0x1cfef8[_0x5454ee(0x242)],'subUnitId':_0x1cfef8[_0x5454ee(0x242)]},!0x1,{[_0x4e7dc9[_0x5454ee(0x1ee)]]:!0x0}),!0x0;}function _0x16c2eb(_0x55726a,_0x4f22e4,_0x1220fd,_0x37ad29,_0x37bd8f,_0x2aebe6){const _0x38b58a=_0x57f770;let _0xf23582=_0x3587e4(_0x1220fd,_0x37ad29,(0x0,_0x4bed3b['getRichTextEditPath'])(_0x55726a,''));return _0xf23582?{'id':_0x4e7dc9[_0x38b58a(0x181)]['id'],'params':{'unitId':_0x4f22e4,'actions':_0xf23582,'segmentId':'','textRanges':[{'startOffset':_0x37bd8f,'endOffset':_0x37bd8f,'collapsed':!0x0,'segmentId':''}],'isEditing':!0x1,'noHistory':!0x0,'noNeedSetTextRange':!0x0,'trigger':_0x2aebe6}}:null;}function _0x256a50(_0x24c384,_0xdf65ae){const _0xf51b4d=_0x57f770;_0xdf65ae&&_0x24c384[_0xf51b4d(0x1ed)](_0xdf65ae['id'],_0xdf65ae[_0xf51b4d(0x1a7)]);}function _0x5069c3(_0x2a7ac1,_0x3dfc0d,_0x10d274){const _0x165818=_0x57f770;_0x10d274&&_0x3dfc0d['undoMutation']&&_0x2a7ac1[_0x165818(0x1ed)](_0x3dfc0d[_0x165818(0x288)]['id'],_0x3dfc0d['undoMutation']['params']);}function _0x3587e4(_0x2266c1,_0x300f85,_0x4c1999){const _0x17ada=_0x57f770;let _0x243f5a=_0x2266c1[_0x17ada(0x1b0)],_0x313cdf=_0x300f85[_0x17ada(0x1b0)],_0x54892e=_0x400a80(_0x243f5a==null?void 0x0:_0x243f5a[_0x17ada(0x25f)],_0x313cdf==null?void 0x0:_0x313cdf['dataStream']);if(!_0x54892e||!_0x313cdf)return null;let _0x2db9ab=new _0x4bed3b['TextX']();return _0x2db9ab[_0x17ada(0x186)](_0x54892e['start']),_0x54892e[_0x17ada(0x193)]>0x0&&_0x2db9ab[_0x17ada(0x21d)](_0x54892e[_0x17ada(0x193)],(0x0,_0x4bed3b[_0x17ada(0x154)])(_0x313cdf,_0x54892e[_0x17ada(0x155)],_0x54892e[_0x17ada(0x155)]+_0x54892e[_0x17ada(0x193)],!0x1)),_0x54892e[_0x17ada(0x1b1)]>0x0&&_0x2db9ab[_0x17ada(0x215)](_0x54892e[_0x17ada(0x1b1)]),_0x4bed3b[_0x17ada(0x150)]['getInstance']()[_0x17ada(0x1c0)](_0x2db9ab['serialize'](),_0x4c1999);}function _0x400a80(_0x42e84e,_0x122426){const _0x46c2d1=_0x57f770;if(_0x42e84e==null||_0x122426==null||_0x42e84e===_0x122426)return null;let _0xf47a9=0x0;for(;_0xf47a9<_0x42e84e[_0x46c2d1(0x23b)]&&_0xf47a9<_0x122426['length']&&_0x42e84e[_0xf47a9]===_0x122426[_0xf47a9];)_0xf47a9+=0x1;let _0x996816=_0x42e84e[_0x46c2d1(0x23b)],_0x589cbb=_0x122426[_0x46c2d1(0x23b)];for(;_0x996816>_0xf47a9&&_0x589cbb>_0xf47a9&&_0x42e84e[_0x996816-0x1]===_0x122426[_0x589cbb-0x1];)--_0x996816,--_0x589cbb;return{'start':_0xf47a9,'deleteLength':_0x996816-_0xf47a9,'insertLength':_0x589cbb-_0xf47a9};}function _0x585799(_0x50b140){const _0x467696=_0x57f770;return{'schemaVersion':0x1,'formulas':Object[_0x467696(0x16f)](Object['entries'](_0x50b140['formulas'])[_0x467696(0x261)](([_0x4b1111,_0x5a8865])=>[_0x4b1111,{..._0x5a8865,..._0x5a8865[_0x467696(0x177)]?{'numberFormat':{..._0x5a8865[_0x467696(0x177)]}}:null,..._0x5a8865[_0x467696(0x246)]?{'lastValue':{..._0x5a8865[_0x467696(0x246)]}}:null}]))};}let _0x57ea5b=class extends _0x4bed3b[_0x57f770(0x267)]{constructor(_0xfcef5b,_0x4edee6,_0x3b2fb7,_0x3bd260){const _0x1804fb=_0x57f770;super(),this[_0x1804fb(0x282)]=_0xfcef5b,this[_0x1804fb(0x244)]=_0x4edee6,this[_0x1804fb(0x211)]=_0x3b2fb7,this['_service']=_0x3bd260,_0x2c07ac(this,_0x1804fb(0x1ce),new Set()),_0x2c07ac(this,_0x1804fb(0x1ea),!0x1),_0x2c07ac(this,_0x1804fb(0x284),!0x1),this[_0x1804fb(0x282)][_0x1804fb(0x286)](_0x4bed3b[_0x1804fb(0x1eb)]['UNIVER_DOC'])[_0x1804fb(0x1e1)](_0xa2d827=>this[_0x1804fb(0x253)]['syncUnit'](_0xa2d827)),this[_0x1804fb(0x1c3)](this[_0x1804fb(0x211)][_0x1804fb(0x153)][_0x1804fb(0x243)](({unitId:_0x4b97a0})=>this['_syncUnit'](_0x4b97a0))),this[_0x1804fb(0x1c3)](this[_0x1804fb(0x282)]['unitAdded$'][_0x1804fb(0x243)](({unit:_0x235704})=>{const _0x2aa4e6=_0x1804fb;_0x235704[_0x2aa4e6(0x1db)]===_0x4bed3b['UniverInstanceType'][_0x2aa4e6(0x20e)]&&this['_queueSync'](_0x235704[_0x2aa4e6(0x1fe)]());})),this[_0x1804fb(0x1c3)](this['_instanceService']['unitDisposed$'][_0x1804fb(0x243)](_0x5ce540=>{const _0x53ca8d=_0x1804fb;this[_0x53ca8d(0x253)][_0x53ca8d(0x22c)](_0x5ce540[_0x53ca8d(0x1fe)]());})),this[_0x1804fb(0x1c3)](this[_0x1804fb(0x244)][_0x1804fb(0x27f)](_0x4e7282=>{const _0x4daf88=_0x1804fb;if(_0x4e7282['id']===_0x4e7dc9[_0x4daf88(0x181)]['id']&&_0x10b641(_0x4e7282['params'])){let _0x483c05=_0x4e7282[_0x4daf88(0x1a7)];_0x483c05[_0x4daf88(0x1fc)]||this[_0x4daf88(0x1ab)](_0x483c05[_0x4daf88(0x242)]);}}));}[_0x57f770(0x16b)](){const _0x49f91a=_0x57f770;this['_isDisposed']=!0x0,super[_0x49f91a(0x16b)]();}[_0x57f770(0x20d)](_0x32868f){const _0x53bbac=_0x57f770;this[_0x53bbac(0x1ce)][_0x53bbac(0x28b)](_0x32868f),!this['_syncScheduled']&&(this[_0x53bbac(0x1ea)]=!0x0,queueMicrotask(()=>{const _0x324d44=_0x53bbac;if(this[_0x324d44(0x1ea)]=!0x1,this[_0x324d44(0x284)])return;let _0x21f1ef=Array[_0x324d44(0x1cb)](this[_0x324d44(0x1ce)]);this[_0x324d44(0x1ce)][_0x324d44(0x1bf)](),_0x21f1ef[_0x324d44(0x1e1)](_0x1c48bf=>this['_syncUnit'](_0x1c48bf));}));}[_0x57f770(0x1ab)](_0x5bd09e){const _0x4d7d9d=_0x57f770;let _0x151ec4=this[_0x4d7d9d(0x282)]['getUnit'](_0x5bd09e,_0x4bed3b[_0x4d7d9d(0x1eb)][_0x4d7d9d(0x20e)]);_0x151ec4&&this['_service'][_0x4d7d9d(0x179)](_0x151ec4);}};_0x57ea5b=_0x4d4426([_0x52ecc4(0x0,_0x4bed3b[_0x57f770(0x1f5)]),_0x52ecc4(0x1,_0x4bed3b[_0x57f770(0x15c)]),_0x52ecc4(0x2,(0x0,_0x4bed3b[_0x57f770(0x176)])(_0x419434)),_0x52ecc4(0x3,(0x0,_0x4bed3b[_0x57f770(0x176)])(_0x51a5f5))],_0x57ea5b);function _0x10b641(_0x46669c){const _0xc362d6=_0x57f770;return typeof _0x46669c==_0xc362d6(0x1a5)&&!!_0x46669c&&_0xc362d6(0x242)in _0x46669c&&typeof _0x46669c[_0xc362d6(0x242)]==_0xc362d6(0x262)&&(!('segmentId'in _0x46669c)||_0x46669c['segmentId']===void 0x0||typeof _0x46669c['segmentId']==_0xc362d6(0x262));}let _0x206277=class extends _0x4bed3b[_0x57f770(0x267)]{constructor(_0x30f2ac,_0x1be1c7){const _0x31890b=_0x57f770;super(),this['_resourceManagerService']=_0x30f2ac,this[_0x31890b(0x233)]=_0x1be1c7,this[_0x31890b(0x1c3)](this['_resourceManagerService'][_0x31890b(0x17a)]({'pluginName':_0xd27543,'businesses':[_0x4bed3b[_0x31890b(0x1eb)][_0x31890b(0x20e)]],'toJson':_0xcff78b=>JSON[_0x31890b(0x27b)](this[_0x31890b(0x233)][_0x31890b(0x238)](_0xcff78b)),'parseJson':_0x2946b2=>JSON[_0x31890b(0x1b7)](_0x2946b2),'onLoad':(_0x3f977a,_0x15759e)=>{const _0x3f3a8f=_0x31890b;this[_0x3f3a8f(0x233)][_0x3f3a8f(0x180)](_0x3f977a,_0x15759e);},'onUnLoad':_0x25ce7b=>this[_0x31890b(0x233)]['removeUnit'](_0x25ce7b)}));}};_0x206277=_0x4d4426([_0x52ecc4(0x0,_0x4bed3b[_0x57f770(0x22a)]),_0x52ecc4(0x1,(0x0,_0x4bed3b[_0x57f770(0x176)])(_0x419434))],_0x206277);var _0x330da3=_0x57f770(0x28a),_0x181800='1.0.2';let _0x463c63={},_0x5e85b3=class extends _0x4bed3b[_0x57f770(0x267)]{constructor(_0x1132bf,_0x4c24ce,_0x1d17e0){const _0x2a961d=_0x57f770;super(),this['_univerInstanceService']=_0x1132bf,this[_0x2a961d(0x20a)]=_0x4c24ce,this['disposeWithMe'](_0x1d17e0[_0x2a961d(0x217)]({'resolve':(_0x382bb9,_0x2abd9e)=>{const _0x37b518=_0x2a961d;var _0x34171b;return((_0x34171b=_0x2abd9e[_0x37b518(0x15e)])==null?void 0x0:_0x34171b[_0x37b518(0x25d)](_0x3f3a71)[_0x37b518(0x261)](_0x29e438=>({'startOffset':_0x29e438[_0x37b518(0x268)],'endOffset':_0x29e438[_0x37b518(0x23a)]+0x1,'text':this[_0x37b518(0x1e6)](_0x382bb9,_0x29e438['rangeId'])})))??[];}})),this[_0x2a961d(0x1c3)](this[_0x2a961d(0x20a)][_0x2a961d(0x1e4)][_0x2a961d(0x243)](({unitId:_0x188d13})=>{_0x1d17e0['notifyTextChanged'](_0x188d13);}));}[_0x57f770(0x1e6)](_0x175d42,_0x1a4c84){const _0x25edf7=_0x57f770;var _0x4bbe53;return((_0x4bbe53=this[_0x25edf7(0x20a)][_0x25edf7(0x218)]({'unitId':_0x175d42,'rangeId':_0x1a4c84}))==null?void 0x0:_0x4bbe53[_0x25edf7(0x159)])??'';}[_0x57f770(0x19d)](_0x8e1fc6,_0x5d87ff,_0x27f10f){const _0x19da30=_0x57f770;var _0x54b4f3;let _0x6f643b=this[_0x19da30(0x24a)][_0x19da30(0x212)](_0x8e1fc6,_0x4bed3b['UniverInstanceType'][_0x19da30(0x20e)]),_0x418c21=_0x6f643b==null?void 0x0:_0x6f643b[_0x19da30(0x190)]();if(!_0x418c21)return'';let _0x228e01=_0x418c21['dataStream']['slice'](_0x5d87ff,_0x27f10f),_0x3324ee=((_0x54b4f3=_0x418c21['customRanges'])==null?void 0x0:_0x54b4f3[_0x19da30(0x25d)](_0x58e2fe=>_0x3f3a71(_0x58e2fe)&&_0x58e2fe[_0x19da30(0x268)]>=_0x5d87ff&&_0x58e2fe['endIndex']<_0x27f10f)[_0x19da30(0x287)]((_0x5020f5,_0x17004e)=>_0x17004e['startIndex']-_0x5020f5[_0x19da30(0x268)]))??[];for(let _0x41cf66 of _0x3324ee){let _0x2c4695=_0x41cf66[_0x19da30(0x268)]-_0x5d87ff,_0x13e856=_0x41cf66[_0x19da30(0x23a)]-_0x5d87ff+0x1;_0x228e01=''+_0x228e01[_0x19da30(0x25b)](0x0,_0x2c4695)+this[_0x19da30(0x1e6)](_0x8e1fc6,_0x41cf66[_0x19da30(0x24b)])+_0x228e01[_0x19da30(0x25b)](_0x13e856);}return _0x228e01;}['degradeDocumentData'](_0x39b34e){return _0x1baa5f(_0x39b34e);}[_0x57f770(0x189)](_0x57137c,_0x42796b,_0x4d88ba={}){const _0xff1088=_0x57f770;var _0x312e6c;return _0x12f0e6({'id':_0x57137c,'body':_0x42796b,'documentStyle':{}},(((_0x312e6c=_0x42796b[_0xff1088(0x15e)])==null?void 0x0:_0x312e6c['filter'](_0x3f3a71))??[])[_0xff1088(0x261)](_0x1abd5b=>({'rangeId':_0x1abd5b[_0xff1088(0x24b)],'text':_0x4d88ba[_0x1abd5b[_0xff1088(0x24b)]]??this[_0xff1088(0x1e6)](_0x57137c,_0x1abd5b[_0xff1088(0x24b)])})))[_0xff1088(0x1b0)]??{'dataStream':''};}};_0x5e85b3=_0x4d4426([_0x52ecc4(0x0,_0x4bed3b[_0x57f770(0x1f5)]),_0x52ecc4(0x1,(0x0,_0x4bed3b[_0x57f770(0x176)])(_0x51a5f5)),_0x52ecc4(0x2,(0x0,_0x4bed3b[_0x57f770(0x176)])(_0x4e7dc9[_0x57f770(0x214)]))],_0x5e85b3);function _0x1baa5f(_0x4629b5){const _0x40b484=_0x57f770;var _0x40b8b7,_0x40a704;let _0x183b67=_0x410d65(_0x4629b5),_0x3e15f6=_0x12f0e6(_0x4629b5,(((_0x40b8b7=_0x4629b5[_0x40b484(0x1b0)])==null||(_0x40b8b7=_0x40b8b7[_0x40b484(0x15e)])==null?void 0x0:_0x40b8b7[_0x40b484(0x25d)](_0x3f3a71))??[])[_0x40b484(0x261)](_0x22df74=>({'rangeId':_0x22df74[_0x40b484(0x24b)],'text':_0x59843b(_0x183b67==null?void 0x0:_0x183b67[_0x40b484(0x20f)][_0x22df74[_0x40b484(0x24b)]])})));return _0x3e15f6[_0x40b484(0x1ad)]=(_0x40a704=_0x3e15f6[_0x40b484(0x1ad)])==null?void 0x0:_0x40a704[_0x40b484(0x25d)](_0x428713=>_0x428713[_0x40b484(0x18e)]!==_0xd27543),_0x3e15f6;}function _0x410d65(_0x145552){const _0x2b3afb=_0x57f770;var _0xcfd1a0;let _0x402897=(_0xcfd1a0=_0x145552[_0x2b3afb(0x1ad)])==null||(_0xcfd1a0=_0xcfd1a0['find'](_0x301c71=>_0x301c71[_0x2b3afb(0x18e)]===_0x2b3afb(0x162)))==null?void 0x0:_0xcfd1a0[_0x2b3afb(0x1f4)];if(_0x402897)try{let _0x4b257=JSON[_0x2b3afb(0x1b7)](_0x402897);return _0x2c51c9(_0x4b257)?_0x4b257:void 0x0;}catch{return;}}function _0x59843b(_0x1021b9){const _0x5cf135=_0x57f770;return _0x1021b9?(0x0,_0x4e3069[_0x5cf135(0x1d3)])({'lastValue':_0x1021b9[_0x5cf135(0x246)],'numberFormat':_0x1021b9['numberFormat']})[_0x5cf135(0x159)]:'';}let _0x56817c=class extends _0x4bed3b[_0x57f770(0x267)]{constructor(_0xcde45b,_0x1a74f7,_0x255a55){const _0x16e531=_0x57f770;super(),this[_0x16e531(0x20a)]=_0xcde45b,this[_0x16e531(0x207)]=_0x1a74f7,this[_0x16e531(0x1c3)](_0x255a55[_0x16e531(0x250)](this));}[_0x57f770(0x152)](_0x3f9d80){const _0x4e6460=_0x57f770;let _0x3d685b=new Map();for(let _0x370a13 of this[_0x4e6460(0x20a)]['getRegisteredFormulas']()){var _0x37ac0b;if(!this[_0x4e6460(0x207)][_0x4e6460(0x173)](_0x370a13['config'][_0x4e6460(0x1b8)],_0x370a13[_0x4e6460(0x1b5)])[_0x4e6460(0x18a)])continue;let _0x57c855=(0x0,_0x4e3069[_0x4e6460(0x161)])(_0x370a13[_0x4e6460(0x1b5)]),_0x426fff=_0x57c855?(0x0,_0x4e3069['toFormulaLastValue'])(_0x57c855):null;if(!_0x426fff||_0x40bd36(_0x370a13['config'][_0x4e6460(0x246)],_0x426fff))continue;let _0x174465=_0x3d685b[_0x4e6460(0x1ff)](_0x370a13[_0x4e6460(0x168)][_0x4e6460(0x242)])??[];_0x174465[_0x4e6460(0x236)]({'rangeId':_0x370a13[_0x4e6460(0x168)][_0x4e6460(0x24b)],'expectedFormula':_0x370a13[_0x4e6460(0x1c4)][_0x4e6460(0x1b8)],'expectedNumberFormat':(_0x37ac0b=_0x370a13[_0x4e6460(0x1c4)][_0x4e6460(0x177)])==null?void 0x0:_0x37ac0b[_0x4e6460(0x28c)],'expectedReferenceRevision':_0x370a13[_0x4e6460(0x27a)],'lastValue':_0x426fff}),_0x3d685b[_0x4e6460(0x1e7)](_0x370a13[_0x4e6460(0x168)][_0x4e6460(0x242)],_0x174465);}return Array[_0x4e6460(0x1cb)](_0x3d685b,([_0x599279,_0x52115e])=>({'id':_0x2d9019['id'],'params':{'unitId':_0x599279,'updates':_0x52115e}}));}};_0x56817c=_0x4d4426([_0x52ecc4(0x0,(0x0,_0x4bed3b[_0x57f770(0x176)])(_0x51a5f5)),_0x52ecc4(0x1,(0x0,_0x4bed3b[_0x57f770(0x176)])(_0x4e3069[_0x57f770(0x248)])),_0x52ecc4(0x2,(0x0,_0x4bed3b[_0x57f770(0x176)])(_0x4e3069[_0x57f770(0x205)]))],_0x56817c);function _0x40bd36(_0x23356c,_0x5dfaa3){const _0x3bd951=_0x57f770;return(_0x23356c==null?void 0x0:_0x23356c['v'])===_0x5dfaa3['v']&&(_0x23356c==null?void 0x0:_0x23356c['t'])===_0x5dfaa3['t']&&(_0x23356c==null?void 0x0:_0x23356c[_0x3bd951(0x28c)])===_0x5dfaa3[_0x3bd951(0x28c)];}let _0x2f90cc=class extends _0x4bed3b[_0x57f770(0x223)]{constructor(_0x3f0fa5=_0x463c63,_0x8e2438,_0x413c98,_0x47c54d){const _0x44a711=_0x57f770;super(),this[_0x44a711(0x1a8)]=_0x3f0fa5,this[_0x44a711(0x27e)]=_0x8e2438,this[_0x44a711(0x244)]=_0x413c98,this[_0x44a711(0x1ac)]=_0x47c54d;let {..._0xc0837f}=(0x0,_0x4bed3b[_0x44a711(0x230)])({},_0x463c63,this['_config']);this[_0x44a711(0x1ac)][_0x44a711(0x1b2)]('docs-formula.config',_0xc0837f);}[_0x57f770(0x26a)](){const _0x3d88e6=_0x57f770;this[_0x3d88e6(0x27e)]['add']([_0x419434]),this['_injector'][_0x3d88e6(0x28b)]([_0x51a5f5]),this[_0x3d88e6(0x27e)][_0x3d88e6(0x28b)]([_0x206277]),this[_0x3d88e6(0x27e)][_0x3d88e6(0x28b)]([_0x57ea5b]),this[_0x3d88e6(0x27e)][_0x3d88e6(0x28b)]([_0x56817c]),this['_injector'][_0x3d88e6(0x28b)]([_0x5e85b3]),(0x0,_0x4bed3b[_0x3d88e6(0x1e3)])(this['_injector'],[[_0x419434],[_0x206277],[_0x57ea5b],[_0x56817c],[_0x5e85b3]]),[_0x465b96,_0x30c2aa,_0x1b5161,_0x2d9019,_0x2f5e40,_0x1039f9,_0x3c50cd,_0x16b842,_0x4fdf1c,_0x38dc53][_0x3d88e6(0x1e1)](_0x15a37d=>this['disposeWithMe'](this[_0x3d88e6(0x244)]['registerCommand'](_0x15a37d)));}};_0x2c07ac(_0x2f90cc,_0x57f770(0x260),_0xd27543),_0x2c07ac(_0x2f90cc,_0x57f770(0x1f7),_0x330da3),_0x2c07ac(_0x2f90cc,_0x57f770(0x28e),_0x181800),_0x2c07ac(_0x2f90cc,_0x57f770(0x1db),_0x4bed3b[_0x57f770(0x1eb)]['UNIVER_DOC']),_0x2f90cc=_0x4d4426([(0x0,_0x4bed3b['DependentOn'])(_0x26a251[_0x57f770(0x195)],_0x4e3069['UniverProFormulaEnginePlugin'],_0x4e7dc9[_0x57f770(0x18d)]),_0x52ecc4(0x1,(0x0,_0x4bed3b[_0x57f770(0x176)])(_0x4bed3b[_0x57f770(0x278)])),_0x52ecc4(0x2,_0x4bed3b[_0x57f770(0x15c)]),_0x52ecc4(0x3,_0x4bed3b[_0x57f770(0x16e)])],_0x2f90cc),_0x1dc156[_0x57f770(0x1c8)]=_0x38dc53,_0x1dc156[_0x57f770(0x1a9)]=_0xc6a381,_0x1dc156['DOC_FORMULA_OBJECT_REPLACEMENT']='',_0x1dc156['DOC_FORMULA_PLUGIN']=_0xd27543,_0x1dc156['DOC_FORMULA_SCHEMA_VERSION']=0x1,Object['defineProperty'](_0x1dc156,'DocFormulaDisplayTextService',{'enumerable':!0x0,'get':function(){return _0x5e85b3;}}),Object['defineProperty'](_0x1dc156,_0x57f770(0x289),{'enumerable':!0x0,'get':function(){return _0x57ea5b;}}),_0x1dc156[_0x57f770(0x1dd)]=_0x419434,Object[_0x57f770(0x1b9)](_0x1dc156,_0x57f770(0x271),{'enumerable':!0x0,'get':function(){return _0x206277;}}),_0x1dc156['DocFormulaResultStatus']=_0x3e772c,Object[_0x57f770(0x1b9)](_0x1dc156,_0x57f770(0x1c7),{'enumerable':!0x0,'get':function(){return _0x51a5f5;}}),_0x1dc156[_0x57f770(0x24c)]=_0x2f5e40,_0x1dc156['InvalidDocFormulaInsertRangeError']=_0x4b9dca,_0x1dc156['RemoveDocFormulaCommand']=_0x16b842,_0x1dc156[_0x57f770(0x20b)]=_0x30c2aa,_0x1dc156[_0x57f770(0x15b)]=_0x4fdf1c,_0x1dc156[_0x57f770(0x22d)]=_0x2d9019,_0x1dc156[_0x57f770(0x1dc)]=_0x465b96,_0x1dc156[_0x57f770(0x19e)]=_0x3c50cd,_0x1dc156[_0x57f770(0x220)]=_0x1b5161,Object[_0x57f770(0x1b9)](_0x1dc156,'UniverDocsFormulaPlugin',{'enumerable':!0x0,'get':function(){return _0x2f90cc;}}),_0x1dc156[_0x57f770(0x27d)]=_0x1039f9,_0x1dc156[_0x57f770(0x265)]=_0x36c271,_0x1dc156['buildInsertDocFormulaActions']=_0x2e6ab7,_0x1dc156[_0x57f770(0x201)]=_0x562d2a,_0x1dc156[_0x57f770(0x1d4)]=_0x496d24,_0x1dc156[_0x57f770(0x1fb)]=_0x5e4c14,_0x1dc156[_0x57f770(0x1d0)]=_0x1baa5f,_0x1dc156[_0x57f770(0x1d5)]=_0x339a9d,_0x1dc156[_0x57f770(0x198)]=_0x36e466,_0x1dc156[_0x57f770(0x1bc)]=_0x3f3a71,_0x1dc156[_0x57f770(0x202)]=_0x2c51c9,_0x1dc156[_0x57f770(0x25a)]=_0x5b24ff;}));function _0x4f32(){const _0x5133af=['743850texWAX','FormulaCacheEligibilityService','updates','_univerInstanceService','rangeId','InsertDocFormulaCommand','COLUMN_END','rxjs','pending','registerProvider','12RWrymO','Tools','_service','min','_presentationChanged$','externalReferences','selection','DocSelectionManagerService','getRegisteredFormulas','isFormulaLastValue','slice','UniverCore','filter','some','dataStream','pluginName','map','string','presentation','shiftInclusiveRangeOnInsert','assertSafeDocFormulaInsertRange','TABLE_START','Disposable','startIndex','CellValueType','onStarting','exports','tables','CUSTOM_BLOCK','getCurrentUnitOfType','redoMutation','_formulaKeys','DocFormulaResourceController','stale','boolean','expectedFormula','docs-formula.command.remove','sequenceNodesBuilder','paragraphId','Injector','_setPresentation','referenceRevision','stringify','46BUOpSg','UpdateDocFormulaCommand','_injector','onCommandExecuted','CUSTOM','buildUpsertHostExternalReferenceMutations','_instanceService','keys','_isDisposed','setFormulas','getAllUnitsForType','sort','undoMutation','DocFormulaLifecycleController','@univerjs-pro/docs-formula','add','pattern','@univerjs-pro/engine-formula','version','_change$','JSONX','references','collectMutations','change$','getBodySliceForTextXAction','start','docs-formula.mutation.set-formula','documentRedo','COLUMN_GROUP_START','text','_registrationService','ReplaceDocFormulaWithTextCommand','ICommandService','previousDocumentData','customRanges','getLoadError','getFormula','getScalarFormulaResultCell','DOC_FORMULA_PLUGIN','univer-docs-formula','previousResource','complete','getSnapshot','customBlocks','identity','iterator','schemaVersion','dispose','Document\x20main\x20body\x20is\x20required\x20to\x20insert\x20Doc\x20Formula.','docs-formula.mutation.remove-formula','IConfigService','fromEntries','getParagraphContentStartOffset','nextResource','unsupported-version','assess','find','COMMAND','Inject','numberFormat','textRuns','syncUnit','registerPluginResource','empty','symbol','Subject','nextDocumentData','error','load','RichTextEditingMutation','@univerjs/engine-formula','generateRandomId','cell','documentData','retain','accessor','invalid-resource','degradeBody','eligible','TABLE_ROW_END','source','UniverDocsPlugin','name','getRevision','getBody','resourceRedo','blockRanges','insertLength','docs-formula.command.convert-to-text','UniverLicensePlugin','deepClone','SECTION_BREAK','isDocFormulaConfig','endOffset','docs-formula.command.set-number-format','_registrations','getOwnPropertyDescriptor','resolveText','SetDocFormulaNumberFormatCommand','DOC','formulaResult$','setFormula','trigger','_rawResources','end','object','shiftExclusiveRangeOnInsert','params','_config','DOC_FORMULA_CUSTOM_RANGE_KIND','columnGroups','_syncUnit','_configService','resources','model','color','body','deleteLength','setConfig','_loadErrors','192yCSPaG','liveResult','range','parse','formula','defineProperty','cursorOffset','UniverDocs','isDocFormulaRange','decorate','properties','clear','editOp','resource','_resources','disposeWithMe','config','getResource','resourceUndo','DocFormulaService','ConvertDocFormulaToTextCommand','values','@univerjs/docs','from','UniverEngineFormula','assign','_pendingUnitIds','number','degradeDocFormulaDocumentData','replaceDocRanges','1187685Csobff','resolveFormulaResultPresentation','buildUpdateDocFormulaActions','findDocFormulaRange','IUndoRedoService','BLOCK_START','MUTATION','SUCCESS','rangeType','type','SetDocFormulaMutation','DocFormulaModel','registerFormulaWithRange','unregister','toPrimitive','forEach','success','touchDependencies','presentationChanged$','UniverProDocsFormula','resolveFormula','set','externalMutations','target','_syncScheduled','UniverInstanceType','shiftExclusiveRangeOnDelete','syncExecuteCommand','DOC_SELECTION_OPTION_PRESERVE_CARET','startOffset','@univerjs/core','function','4226HzSoVV','CommandType','data','IUniverInstanceService','330174CveFNH','packageName','_hostExternalReferenceModel','formulaId','customDecorations','createEmptyDocFormulaResource','segmentId','resolveBinding','getUnitId','get','59017AvABTT','buildRemoveDocFormulaActions','isDocFormulaResource','_preserveInvalid','LexerTreeBuilder','FormulaLastValuePersistenceService','HostExternalReferenceModel','_cacheEligibilityService','call','docs-formula.command.insert','_formulaService','RemoveDocFormulaMutation','wholeEntity','_queueSync','UNIVER_DOC','formulas','trim','_model','getUnit','TABLE_END','DocTextResolverService','delete','expectedReferenceRevision','register','getResult','max','DataStreamTreeTokenType','getCustomRangeInterval','CustomRangeType','insert','getFormulas','paragraphs','SetDocFormulaResourceMutation','has','Doc\x20Formula\x20range\x20cannot\x20cross\x20document\x20structure\x20boundaries','Plugin','FormulaResultStatus','document','pushUndoRedo','19449iwnrGU','sectionBreaks','_deleteRegistration','IResourceManagerService','entries','unregisterUnit','SetDocFormulaLastValuesMutation','deleteFormula','setResource','merge','removeFormula','removeUnit','_docFormulaModel','256734FrqHQj','includes','push','position','serialize','getFormulaValueSync','endIndex','length','getPresentation','UniverProEngineFormula','PARAGRAPH','isInteger','next','COLUMN_GROUP_END','unitId','subscribe','_commandService','expectedNumberFormat','lastValue'];_0x4f32=function(){return _0x5133af;};return _0x4f32();}
|
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.2",
|
|
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.2",
|
|
65
|
+
"@univerjs-pro/license": "1.0.2",
|
|
66
|
+
"@univerjs/core": "1.0.2",
|
|
67
|
+
"@univerjs/docs": "1.0.2",
|
|
68
|
+
"@univerjs/engine-formula": "1.0.2"
|
|
69
69
|
},
|
|
70
70
|
"devDependencies": {
|
|
71
|
-
"@univerjs-infra/shared": "1.0.
|
|
72
|
-
"@univerjs/engine-render": "1.0.
|
|
71
|
+
"@univerjs-infra/shared": "1.0.2",
|
|
72
|
+
"@univerjs/engine-render": "1.0.2",
|
|
73
73
|
"rxjs": "7.8.2",
|
|
74
74
|
"typescript": "^6.0.3",
|
|
75
75
|
"vitest": "^5.0.0"
|