@univerjs-pro/docs-formula 1.0.0 → 1.0.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/lib/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 _0x439d(){const _0x6ad436=['buildUpsertHostExternalReferenceMutations','7341160CZuMSW','PENDING','JSONX','subscribe','_syncUnit','_hostExternalReferenceModel','schemaVersion','toPrimitive','delete','previousResource','toFormulaLastValue','registerFormulaWithRange','eligible','fromEntries','DOC_SELECTION_OPTION_PRESERVE_CARET','resolveFormula','number','params','getScalarFormulaResultCell','getSnapshot','color','RemoveDocFormulaMutation','endIndex','getFormulas','replaceDocRanges','externalReferences','textRuns','resolveHostFormulaExternalReferences','docs-formula.command.insert','getBodySliceForTextXAction','univer-docs-formula','kind','COMMAND','docs-formula.mutation.set-last-values','registerCommand','cursorOffset','wholeEntity','updates','rangeId','unitId','onCommandExecuted','RemoveDocFormulaCommand','segmentId','parse','deleteLength','body','UniverCore','register','Disposable','EMPTY','isDocFormulaResource','expectedReferenceRevision','SetDocFormulaLastValuesMutation','degradeDocumentData','DocSelectionManagerService','startIndex','_setPresentation','TABLE_CELL_END','sectionBreaks','getUnit','DataStreamTreeTokenType','pending','document','toStringTag','resource','Inject','DocFormulaDisplayTextService','UniverDocsFormulaPlugin','registerProvider','empty','getCurrentUnitOfType','_configService','UNIVER_DOC','externalMutations','_resourceManagerService','symbol','_updateFormulaResult','getResource','setFormulas','DocFormulaModel','degradeDocFormulaDocumentData','amd','TABLE_ROW_END','includes','name','rangeType','_model','paragraphId','ERROR','expectedFormula','call','rxjs','defineProperty','resources','type','FormulaLastValuePersistenceService','complete','resourceRedo','function','unitAdded$','docs-formula.command.update','formulaResult$','DependentOn','getLoadError','419292xYzcrm','_syncScheduled','DocTextResolverService','assign','BLOCK_END','_formulaKeys','CommandType','start','success','syncUnit','getBody','SetDocFormulaMutation','filter','_pendingUnitIds','TABLE_ROW_START','endOffset','findDocFormulaRange','Tools','expectedNumberFormat','LexerTreeBuilder','pattern','previousDocumentData','nextDocumentData','every','COLUMN_START','Module','properties','getFormula','TextX','notifyTextChanged','1ZmrlOj','_cacheEligibilityService','undoMutation','dataStream','isInteger','lastValue','get','length','docs-formula.mutation.set-resource','shiftExclusiveRangeOnInsert','199410StjAew','RichTextEditingMutation','TABLE_CELL_START','_injector','ICommandService','_registrations','_univerInstanceService','exports','getAllUnitsForType','text','collectMutations','asObservable','_formulaService','HostExternalReferenceModel','max','formulas','cell','_loadErrors','FormulaCacheEligibilityService','assertSafeDocFormulaInsertRange','blockRanges','slice','SetDocFormulaNumberFormatCommand','setFormula','formula','_deleteRegistration','_change$','unitDisposed$','serialize','startOffset','_config','presentation','tables','redoMutation','selection','constructor','_service','from','DOC_FORMULA_PLUGIN','CUSTOM','_preserveInvalid','COLUMN_END','ConvertDocFormulaToTextCommand','getParagraphContentStartOffset','resolveBinding','RegisterOtherFormulaService','@univerjs/engine-formula','stale','sequenceNodesBuilder','map','UpdateDocFormulaCommand','setResource','getOwnPropertyDescriptor','string','values','FormulaResultStatus','some','IResourceManagerService','merge','_presentationChanged$','SetDocFormulaResourceMutation','_isDisposed','columnGroups','24718640UuPkhK','SUCCESS','MUTATION','removeFormula','@univerjs-pro/engine-formula','documentData','9pSVVor','startsWith','CellValueType','position','touchDependencies','forEach','BLOCK_START','invalid-resource','getTextRanges','_queueSync','resolved','UniverProEngineFormula','docs-formula.mutation.set-formula','@univerjs-pro/docs-formula','resolveText','DocFormulaResultStatus','getUnitId','unregisterUnit','disposeWithMe','next','trigger','numberFormat','_docFormulaModel','3302560cfqFxy','identity','_rawResources','Plugin','data','docs-formula.mutation.remove-formula','getRevision','min','customRanges','2150228KdvJjB','has','resourceUndo','config','getPresentation','buildRemoveDocFormulaActions','ReplaceDocFormulaWithTextCommand','_commandService','version','IUniverInstanceService','getResult','clear','_resources','15lPKewm','UniverInstanceType','_registrationService','paragraphs','documentRedo','source','removeUnit','presentationChanged$','createEmptyDocFormulaResource','SECTION_BREAK','isDocFormulaConfig','@univerjs/docs','resolveFormulaResultPresentation','UniverLicensePlugin','find','keys','object','model','add','insertLength','syncExecuteCommand','trim','UniverProDocsFormula','getRichTextEditPath','deepClone','docs-formula.command.convert-to-text','Subject','entries','_instanceService','getCustomRangeInterval','DOC_FORMULA_OBJECT_REPLACEMENT','shiftExclusiveRangeOnDelete','getRegisteredFormulas','retain','registerPluginResource','generateRandomId','formulaId','set','Doc\x20Formula\x20range\x20cannot\x20cross\x20document\x20structure\x20boundaries','accessor','paragraph','customBlocks','error','DOC_FORMULA_CUSTOM_RANGE_KIND','sort','default','assess','range','nextResource','IConfigService','setConfig','OtherFormulaBizType','customDecorations','DocFormulaResourceController','change$','docs-formula.config','referenceRevision','insert','4911963RygLke','unregister','prototype','dispose','UniverProLicense','docs-formula.command.remove','liveResult','load','DOC','onStarting'];_0x439d=function(){return _0x6ad436;};return _0x439d();}function _0x55f6(_0x3ddf53,_0x370835){_0x3ddf53=_0x3ddf53-0xf0;const _0x439dc4=_0x439d();let _0x55f6f2=_0x439dc4[_0x3ddf53];return _0x55f6f2;}(function(_0x1ae1d9,_0x4b2a5c){const _0x227631=_0x55f6,_0x5b081b=_0x1ae1d9();while(!![]){try{const _0x1ec177=parseInt(_0x227631(0x149))/0x1*(-parseInt(_0x227631(0x1b8))/0x2)+parseInt(_0x227631(0x12b))/0x3+-parseInt(_0x227631(0x1af))/0x4+-parseInt(_0x227631(0x1c5))/0x5*(-parseInt(_0x227631(0x153))/0x6)+parseInt(_0x227631(0x1ff))/0x7+-parseInt(_0x227631(0x20a))/0x8+parseInt(_0x227631(0x198))/0x9*(parseInt(_0x227631(0x192))/0xa);if(_0x1ec177===_0x4b2a5c)break;else _0x5b081b['push'](_0x5b081b['shift']());}catch(_0x302edb){_0x5b081b['push'](_0x5b081b['shift']());}}}(_0x439d,0x912d3),function(_0x59a3a0,_0x9a6b1){const _0x1e2339=_0x55f6;typeof exports=='object'&&typeof module<'u'?_0x9a6b1(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[_0x1e2339(0x114)]?define([_0x1e2339(0x15a),_0x1e2339(0x196),'@univerjs/core',_0x1e2339(0x1d0),_0x1e2339(0x181),'rxjs','@univerjs-pro/license'],_0x9a6b1):(_0x59a3a0=typeof globalThis<'u'?globalThis:_0x59a3a0||self,_0x9a6b1(_0x59a3a0[_0x1e2339(0x1db)]={},_0x59a3a0[_0x1e2339(0x1a3)],_0x59a3a0[_0x1e2339(0xf1)],_0x59a3a0['UniverDocs'],_0x59a3a0['UniverEngineFormula'],_0x59a3a0[_0x1e2339(0x11e)],_0x59a3a0[_0x1e2339(0x203)]));}(this,function(_0x415d22,_0x27ed60,_0x3ad0ce,_0xe8b14d,_0xce0fe7,_0x5e5a60,_0x3ebd32){const _0x754d11=_0x55f6;Object[_0x754d11(0x11f)](_0x415d22,Symbol[_0x754d11(0x102)],{'value':_0x754d11(0x144)});let _0x959d06=_0x754d11(0x179),_0x13f145=_0x754d11(0x228);function _0x2dd373(){return{'schemaVersion':0x1,'formulas':{}};}function _0x1b1cdf(_0x4dc09c){const _0x52931a=_0x754d11;return!_0x4dc09c||typeof _0x4dc09c!=_0x52931a(0x1d5)||!_0x5120be(_0x4dc09c,[_0x52931a(0x210),_0x52931a(0x162)])||!(_0x52931a(0x210)in _0x4dc09c)||_0x4dc09c[_0x52931a(0x210)]!==0x1||!(_0x52931a(0x162)in _0x4dc09c)||!_0x4dc09c[_0x52931a(0x162)]||typeof _0x4dc09c[_0x52931a(0x162)]!=_0x52931a(0x1d5)||Array['isArray'](_0x4dc09c['formulas'])?!0x1:Object[_0x52931a(0x1e0)](_0x4dc09c['formulas'])[_0x52931a(0x142)](([_0x40b867,_0x3252b5])=>_0x40b867[_0x52931a(0x150)]>0x0&&_0x14ba05(_0x3252b5));}function _0x14ba05(_0x30378b){const _0x46690e=_0x754d11;return!_0x30378b||typeof _0x30378b!=_0x46690e(0x1d5)||!_0x5120be(_0x30378b,['formula','numberFormat',_0x46690e(0x14e)])||!(_0x46690e(0x16b)in _0x30378b)||typeof _0x30378b['formula']!='string'||!_0x30378b[_0x46690e(0x16b)][_0x46690e(0x1da)]()||_0x46690e(0x1ad)in _0x30378b&&_0x30378b[_0x46690e(0x1ad)]!=null&&(typeof _0x30378b[_0x46690e(0x1ad)]!=_0x46690e(0x1d5)||!_0x5120be(_0x30378b['numberFormat'],['pattern'])||!('pattern'in _0x30378b['numberFormat'])||typeof _0x30378b[_0x46690e(0x1ad)][_0x46690e(0x13f)]!=_0x46690e(0x188))?!0x1:!(_0x46690e(0x14e)in _0x30378b)||_0x30378b[_0x46690e(0x14e)]==null||_0x590ba7(_0x30378b['lastValue']);}function _0x590ba7(_0x41f5b9){const _0x278f02=_0x754d11;return!_0x41f5b9||typeof _0x41f5b9!=_0x278f02(0x1d5)||!_0x5120be(_0x41f5b9,['v','t',_0x278f02(0x13f)])||!('v'in _0x41f5b9)||_0x41f5b9['v']!==null&&typeof _0x41f5b9['v']!=_0x278f02(0x188)&&typeof _0x41f5b9['v']!=_0x278f02(0x21a)&&typeof _0x41f5b9['v']!='boolean'||'t'in _0x41f5b9&&_0x41f5b9['t']!=null&&!_0x492c9c(_0x41f5b9['t'])?!0x1:!('pattern'in _0x41f5b9)||_0x41f5b9[_0x278f02(0x13f)]==null||typeof _0x41f5b9[_0x278f02(0x13f)]==_0x278f02(0x188);}function _0x5120be(_0x4abdf0,_0x29866f){const _0x51aa20=_0x754d11;let _0x53e7d6=new Set(_0x29866f);return Object[_0x51aa20(0x1d4)](_0x4abdf0)['every'](_0x352aa9=>_0x53e7d6[_0x51aa20(0x1b9)](_0x352aa9));}function _0x492c9c(_0x1237e3){const _0x52ef02=_0x754d11;return typeof _0x1237e3==_0x52ef02(0x21a)&&Object[_0x52ef02(0x189)](_0x3ad0ce[_0x52ef02(0x19a)])[_0x52ef02(0x116)](_0x1237e3);}let _0x5991e1=new Set([_0x3ad0ce[_0x754d11(0xff)][_0x754d11(0x1ce)],_0x3ad0ce[_0x754d11(0xff)]['TABLE_START'],_0x3ad0ce[_0x754d11(0xff)][_0x754d11(0x139)],_0x3ad0ce['DataStreamTreeTokenType'][_0x754d11(0x155)],_0x3ad0ce[_0x754d11(0xff)][_0x754d11(0xfc)],_0x3ad0ce[_0x754d11(0xff)][_0x754d11(0x115)],_0x3ad0ce[_0x754d11(0xff)]['TABLE_END'],_0x3ad0ce['DataStreamTreeTokenType']['COLUMN_GROUP_START'],_0x3ad0ce[_0x754d11(0xff)][_0x754d11(0x143)],_0x3ad0ce[_0x754d11(0xff)][_0x754d11(0x17c)],_0x3ad0ce[_0x754d11(0xff)]['COLUMN_GROUP_END'],_0x3ad0ce[_0x754d11(0xff)][_0x754d11(0x19e)],_0x3ad0ce['DataStreamTreeTokenType'][_0x754d11(0x12f)],_0x3ad0ce[_0x754d11(0xff)]['CUSTOM_BLOCK']]);var _0x471f6f=class extends Error{constructor(){const _0x27a2d0=_0x754d11;super(_0x27a2d0(0x1eb));}};function _0x2a913d(_0x35c0fd){const _0x492cf9=_0x754d11;var _0x59698c,_0x4a3c01;let _0x5bc55b=_0x3ad0ce[_0x492cf9(0x13c)][_0x492cf9(0x1dd)](_0x35c0fd[_0x492cf9(0x197)]),_0x3a491d=_0x3a0ded(_0x5bc55b),{startOffset:_0x5bcf8a,endOffset:_0x590096}=_0x51f330(_0x3a491d,_0x35c0fd[_0x492cf9(0x170)],_0x35c0fd[_0x492cf9(0x13a)]);_0x216280(_0x3a491d,_0x5bcf8a,_0x590096);let _0x1f9b82=((_0x59698c=_0x3a491d[_0x492cf9(0x1b7)])==null?void 0x0:_0x59698c[_0x492cf9(0x137)](_0x3b0bb5=>{const _0x4ab13c=_0x492cf9;if(!_0x2ea921(_0x3b0bb5))return!0x1;let _0x50df55=(0x0,_0x3ad0ce['getCustomRangeInterval'])(_0x3b0bb5);return _0x50df55[_0x4ab13c(0x13a)]>_0x5bcf8a&&_0x50df55['startOffset']<_0x590096;})[_0x492cf9(0x184)](_0x10a70b=>_0x10a70b[_0x492cf9(0x230)]))??[];_0x1fd56f(_0x3a491d,_0x5bcf8a,_0x590096,''),_0x3a491d[_0x492cf9(0x1b7)]=[...((_0x4a3c01=_0x3a491d['customRanges'])==null?void 0x0:_0x4a3c01['filter'](_0x5d3250=>!_0x1f9b82[_0x492cf9(0x116)](_0x5d3250[_0x492cf9(0x230)])&&_0x5d3250[_0x492cf9(0x230)]!==_0x35c0fd[_0x492cf9(0x230)]))??[],_0x32cef5(_0x35c0fd[_0x492cf9(0x230)],_0x5bcf8a)][_0x492cf9(0x1f1)]((_0x4963c2,_0x29cc3f)=>_0x4963c2[_0x492cf9(0xfa)]-_0x29cc3f['startIndex']);let _0x230e14=_0x6d4f40(_0x35c0fd[_0x492cf9(0x103)]);return _0x1f9b82[_0x492cf9(0x19d)](_0x5a6b33=>{const _0x1e9e91=_0x492cf9;delete _0x230e14[_0x1e9e91(0x162)][_0x5a6b33];}),_0x230e14[_0x492cf9(0x162)][_0x35c0fd['rangeId']]=_0x3ad0ce[_0x492cf9(0x13c)][_0x492cf9(0x1dd)](_0x35c0fd[_0x492cf9(0x1bb)]),{'nextDocumentData':_0x5bc55b,'nextResource':_0x230e14,'cursorOffset':_0x5bcf8a+0x1};}function _0x40505e(_0x58dd4d){const _0x2e6c6f=_0x754d11;var _0x1068e8,_0x3f8d56;let _0x1d955e=_0x3ad0ce['Tools']['deepClone'](_0x58dd4d[_0x2e6c6f(0x197)]),_0x16fde1=(_0x1068e8=_0x3a0ded(_0x1d955e)[_0x2e6c6f(0x1b7)])==null?void 0x0:_0x1068e8[_0x2e6c6f(0x1d3)](_0x5be49f=>_0x5be49f[_0x2e6c6f(0x230)]===_0x58dd4d['rangeId']&&_0x2ea921(_0x5be49f));if(!_0x16fde1||!((_0x3f8d56=_0x58dd4d['resource'])!=null&&_0x3f8d56['formulas'][_0x58dd4d['rangeId']]))return null;let _0x3d0d13=_0x6d4f40(_0x58dd4d['resource']);return _0x3d0d13[_0x2e6c6f(0x162)][_0x58dd4d[_0x2e6c6f(0x230)]]=_0x3ad0ce['Tools'][_0x2e6c6f(0x1dd)](_0x58dd4d[_0x2e6c6f(0x1bb)]),{'nextDocumentData':_0x1d955e,'nextResource':_0x3d0d13,'cursorOffset':_0x16fde1[_0x2e6c6f(0x220)]+0x1};}function _0x2dc10f(_0x45b3a0){const _0x5612cc=_0x754d11;let _0x1c6b71=_0x3ad0ce['Tools'][_0x5612cc(0x1dd)](_0x45b3a0[_0x5612cc(0x197)]),_0x3568e3=_0x12cda4(_0x1c6b71,_0x45b3a0[_0x5612cc(0x230)],_0x45b3a0['text']??'');if(_0x3568e3==null)return null;let _0x14196f=_0x6d4f40(_0x45b3a0[_0x5612cc(0x103)]);return delete _0x14196f[_0x5612cc(0x162)][_0x45b3a0[_0x5612cc(0x230)]],{'nextDocumentData':_0x1c6b71,'nextResource':_0x14196f,'cursorOffset':_0x3568e3};}function _0x1fb233(_0x58f703,_0x232f29){const _0x41ac69=_0x754d11;var _0x5d0225;let _0x163ebc=_0x3ad0ce[_0x41ac69(0x13c)]['deepClone'](_0x58f703),_0x2feca5=_0x163ebc[_0x41ac69(0xf0)];if(!_0x2feca5)return _0x163ebc;let _0x3e9848=new Map(_0x232f29['map'](_0x5d7f78=>[_0x5d7f78['rangeId'],_0x5d7f78[_0x41ac69(0x15c)]])),_0xee51a9=((_0x5d0225=_0x2feca5[_0x41ac69(0x1b7)])==null?void 0x0:_0x5d0225[_0x41ac69(0x137)](_0xb90c35=>_0x2ea921(_0xb90c35)&&_0x3e9848[_0x41ac69(0x1b9)](_0xb90c35[_0x41ac69(0x230)]))['sort']((_0x2f8a34,_0xcac9b8)=>_0xcac9b8[_0x41ac69(0xfa)]-_0x2f8a34[_0x41ac69(0xfa)]))??[];for(let _0x17308b of _0xee51a9)_0x12cda4(_0x163ebc,_0x17308b[_0x41ac69(0x230)],_0x3e9848[_0x41ac69(0x14f)](_0x17308b[_0x41ac69(0x230)])??'');return _0x163ebc;}function _0x2ea921(_0x1fc298){const _0x2899c0=_0x754d11;var _0x3ceeb1;return(_0x1fc298==null?void 0x0:_0x1fc298[_0x2899c0(0x118)])===_0x3ad0ce['CustomRangeType'][_0x2899c0(0x17a)]&&_0x1fc298[_0x2899c0(0x22e)]===!0x0&&((_0x3ceeb1=_0x1fc298[_0x2899c0(0x145)])==null?void 0x0:_0x3ceeb1[_0x2899c0(0x229)])===_0x2899c0(0x228);}function _0x4001d5(_0x5ec4d3,_0x56fdd7){const _0x2bc724=_0x754d11;var _0x759c8f;return _0x5ec4d3==null||(_0x759c8f=_0x5ec4d3['customRanges'])==null?void 0x0:_0x759c8f[_0x2bc724(0x1d3)](_0x96b5c0=>_0x96b5c0[_0x2bc724(0x230)]===_0x56fdd7&&_0x2ea921(_0x96b5c0));}function _0x216280(_0x488eda,_0x325c45,_0x18ee37){const _0x355ceb=_0x754d11;if(_0x325c45===_0x18ee37){if(_0x5991e1[_0x355ceb(0x1b9)](_0x488eda[_0x355ceb(0x14c)][_0x325c45]))throw new _0x471f6f();return;}for(let _0x2a9240=_0x325c45;_0x2a9240<_0x18ee37;_0x2a9240++)if(_0x488eda[_0x355ceb(0x14c)][_0x2a9240]===_0x3ad0ce['DataStreamTreeTokenType']['PARAGRAPH']||_0x5991e1[_0x355ceb(0x1b9)](_0x488eda[_0x355ceb(0x14c)][_0x2a9240]))throw new _0x471f6f();}function _0x32cef5(_0x5c6bdd,_0x47c982){const _0x3887b8=_0x754d11;return{'startIndex':_0x47c982,'endIndex':_0x47c982,'rangeId':_0x5c6bdd,'rangeType':_0x3ad0ce['CustomRangeType'][_0x3887b8(0x17a)],'wholeEntity':!0x0,'properties':{'kind':_0x13f145}};}function _0x6d4f40(_0x265b2b){const _0x21e4e4=_0x754d11;return _0x265b2b?_0x3ad0ce[_0x21e4e4(0x13c)][_0x21e4e4(0x1dd)](_0x265b2b):_0x2dd373();}function _0x51f330(_0x2c2fd2,_0x3916a7,_0xbfa5ac){const _0xb92d83=_0x754d11;let _0x24eb37=_0x49257a(_0x2c2fd2),_0x49c83e=_0x3916a7??_0x24eb37,_0x17b333=_0xbfa5ac??_0x49c83e;return{'startOffset':_0x556704(Math[_0xb92d83(0x1b6)](_0x49c83e,_0x17b333),_0x24eb37),'endOffset':_0x556704(Math[_0xb92d83(0x161)](_0x49c83e,_0x17b333),_0x24eb37)};}function _0x556704(_0x2ff147,_0x58f2e6){const _0x3a613b=_0x754d11;return Math[_0x3a613b(0x161)](0x0,Math['min'](_0x2ff147,_0x58f2e6));}function _0x49257a(_0x32e709){const _0x3e352b=_0x754d11;return _0x32e709[_0x3e352b(0x14c)]['endsWith'](''+_0x3ad0ce[_0x3e352b(0xff)]['PARAGRAPH']+_0x3ad0ce[_0x3e352b(0xff)][_0x3e352b(0x1ce)])?Math['max'](0x0,_0x32e709['dataStream'][_0x3e352b(0x150)]-0x2):_0x32e709[_0x3e352b(0x14c)]['endsWith'](_0x3ad0ce[_0x3e352b(0xff)][_0x3e352b(0x1ce)])?Math[_0x3e352b(0x161)](0x0,_0x32e709['dataStream']['length']-0x1):_0x32e709[_0x3e352b(0x14c)][_0x3e352b(0x150)];}function _0x1fd56f(_0x21bafc,_0xd0a9db,_0x1cd62a,_0x518097){_0x1cd62a>_0xd0a9db&&_0x5809e1(_0x21bafc,_0xd0a9db,_0x1cd62a),_0x23c8ef(_0x21bafc,_0xd0a9db,_0x518097);}function _0x12cda4(_0x557881,_0x3773aa,_0x10882e){const _0x21f7d0=_0x754d11;var _0x35f94f,_0x141f3e;let _0x4af25e=_0x3a0ded(_0x557881),_0x187857=(_0x35f94f=_0x4af25e[_0x21f7d0(0x1b7)])==null?void 0x0:_0x35f94f[_0x21f7d0(0x1d3)](_0xa3aaac=>_0xa3aaac[_0x21f7d0(0x230)]===_0x3773aa&&_0x2ea921(_0xa3aaac));if(!_0x187857)return null;let _0x4f89f7=(0x0,_0x3ad0ce[_0x21f7d0(0x1e2)])(_0x187857);return _0x1fd56f(_0x4af25e,_0x4f89f7['startOffset'],_0x4f89f7[_0x21f7d0(0x13a)],_0x10882e),_0x4af25e[_0x21f7d0(0x1b7)]=(_0x141f3e=_0x4af25e[_0x21f7d0(0x1b7)])==null?void 0x0:_0x141f3e['filter'](_0x3a202c=>_0x3a202c[_0x21f7d0(0x230)]!==_0x3773aa),_0x4f89f7['startOffset']+_0x10882e[_0x21f7d0(0x150)];}function _0x23c8ef(_0x5f0c1e,_0x53c36b,_0x1ae49a){const _0x5a2e2a=_0x754d11;_0x1ae49a&&(_0x5f0c1e['dataStream']=''+_0x5f0c1e[_0x5a2e2a(0x14c)][_0x5a2e2a(0x168)](0x0,_0x53c36b)+_0x1ae49a+_0x5f0c1e[_0x5a2e2a(0x14c)]['slice'](_0x53c36b),_0x19a3da(_0x5f0c1e,_0x53c36b,_0x1ae49a[_0x5a2e2a(0x150)]));}function _0x5809e1(_0x5a4f31,_0x5410a4,_0x5dc13c){const _0x3d735d=_0x754d11;let _0xa4d85b=_0x5dc13c-_0x5410a4;_0x5a4f31[_0x3d735d(0x14c)]=''+_0x5a4f31['dataStream']['slice'](0x0,_0x5410a4)+_0x5a4f31[_0x3d735d(0x14c)][_0x3d735d(0x168)](_0x5dc13c),_0x27242d(_0x5a4f31,_0x5410a4,_0xa4d85b);}function _0x19a3da(_0x12161b,_0x1d26fe,_0x297ed4){const _0x33f29b=_0x754d11;_0x12161b[_0x33f29b(0x1c8)]=_0xf485f4(_0x12161b[_0x33f29b(0x1c8)],_0x1d26fe,_0x297ed4),_0x12161b[_0x33f29b(0xfd)]=_0xf485f4(_0x12161b[_0x33f29b(0xfd)],_0x1d26fe,_0x297ed4),_0x12161b[_0x33f29b(0x1ee)]=_0xf485f4(_0x12161b[_0x33f29b(0x1ee)],_0x1d26fe,_0x297ed4),_0x12161b[_0x33f29b(0x224)]=_0x4a7334(_0x12161b['textRuns'],_0x1d26fe,_0x297ed4),_0x12161b[_0x33f29b(0x173)]=_0x1a2da9(_0x12161b[_0x33f29b(0x173)],_0x1d26fe,_0x297ed4),_0x12161b[_0x33f29b(0x191)]=_0x4068bb(_0x12161b['columnGroups'],_0x1d26fe,_0x297ed4),_0x12161b['customRanges']=_0x4068bb(_0x12161b[_0x33f29b(0x1b7)],_0x1d26fe,_0x297ed4),_0x12161b[_0x33f29b(0x1f9)]=_0x4068bb(_0x12161b[_0x33f29b(0x1f9)],_0x1d26fe,_0x297ed4),_0x12161b[_0x33f29b(0x167)]=_0x4068bb(_0x12161b[_0x33f29b(0x167)],_0x1d26fe,_0x297ed4);}function _0x27242d(_0xd0eec2,_0x2c7ca6,_0x3392d6){const _0x2f0f7c=_0x754d11;var _0x18a008,_0x4c0541;_0xd0eec2[_0x2f0f7c(0x1c8)]=_0x3aa950(_0xd0eec2['paragraphs'],_0x2c7ca6,_0x3392d6),_0xd0eec2[_0x2f0f7c(0xfd)]=_0x3aa950(_0xd0eec2['sectionBreaks'],_0x2c7ca6,_0x3392d6),_0xd0eec2[_0x2f0f7c(0x1ee)]=_0x3aa950(_0xd0eec2[_0x2f0f7c(0x1ee)],_0x2c7ca6,_0x3392d6),_0xd0eec2[_0x2f0f7c(0x224)]=(_0x18a008=_0x3636fd((_0x4c0541=_0xd0eec2[_0x2f0f7c(0x224)])==null?void 0x0:_0x4c0541[_0x2f0f7c(0x184)](_0x4ecce3=>({..._0x4ecce3,'startIndex':_0x4ecce3['st'],'endIndex':_0x4ecce3['ed']})),_0x2c7ca6,_0x3392d6))==null?void 0x0:_0x18a008[_0x2f0f7c(0x184)](_0x80370c=>{let {startIndex:_0x21d750,endIndex:_0x2127fb,..._0x3a8df3}=_0x80370c;return{..._0x3a8df3,'st':_0x21d750,'ed':_0x2127fb};}),_0xd0eec2['tables']=_0x3636fd(_0xd0eec2[_0x2f0f7c(0x173)],_0x2c7ca6,_0x3392d6),_0xd0eec2[_0x2f0f7c(0x191)]=_0x36957c(_0xd0eec2['columnGroups'],_0x2c7ca6,_0x3392d6),_0xd0eec2[_0x2f0f7c(0x1b7)]=_0x36957c(_0xd0eec2[_0x2f0f7c(0x1b7)],_0x2c7ca6,_0x3392d6),_0xd0eec2[_0x2f0f7c(0x1f9)]=_0x36957c(_0xd0eec2[_0x2f0f7c(0x1f9)],_0x2c7ca6,_0x3392d6),_0xd0eec2['blockRanges']=_0x36957c(_0xd0eec2[_0x2f0f7c(0x167)],_0x2c7ca6,_0x3392d6);}function _0xf485f4(_0x213dea,_0x480928,_0x287194){const _0x5f04eb=_0x754d11;return _0x213dea==null?void 0x0:_0x213dea[_0x5f04eb(0x184)](_0x50541d=>_0x50541d[_0x5f04eb(0xfa)]>=_0x480928?{..._0x50541d,'startIndex':_0x50541d[_0x5f04eb(0xfa)]+_0x287194}:_0x50541d);}function _0x3aa950(_0x46f2cb,_0x1b9cb4,_0x342ea7){const _0xa6b4d6=_0x754d11;let _0x2dd71c=_0x1b9cb4+_0x342ea7;return _0x46f2cb==null?void 0x0:_0x46f2cb['map'](_0x298c58=>_0x298c58[_0xa6b4d6(0xfa)]>=_0x1b9cb4&&_0x298c58[_0xa6b4d6(0xfa)]<_0x2dd71c?null:_0x298c58[_0xa6b4d6(0xfa)]>=_0x2dd71c?{..._0x298c58,'startIndex':_0x298c58['startIndex']-_0x342ea7}:_0x298c58)[_0xa6b4d6(0x137)](_0x32f9cb=>_0x32f9cb!=null);}function _0x4a7334(_0x3b4289,_0xef38ad,_0x5b6097){const _0x2179ba=_0x754d11;return _0x3b4289==null?void 0x0:_0x3b4289[_0x2179ba(0x184)](_0x534e8d=>_0x534e8d['st']>=_0xef38ad?{..._0x534e8d,'st':_0x534e8d['st']+_0x5b6097,'ed':_0x534e8d['ed']+_0x5b6097}:_0x534e8d['ed']>_0xef38ad?{..._0x534e8d,'ed':_0x534e8d['ed']+_0x5b6097}:_0x534e8d);}function _0x4068bb(_0x4057ef,_0x131820,_0x5e1600){const _0x54c7ab=_0x754d11;return _0x4057ef==null?void 0x0:_0x4057ef[_0x54c7ab(0x184)](_0x3d644d=>(0x0,_0x3ad0ce['shiftInclusiveRangeOnInsert'])(_0x3d644d,_0x131820,_0x5e1600));}function _0x1a2da9(_0x26e5d8,_0x5af637,_0x133ecb){const _0xb631b6=_0x754d11;return _0x26e5d8==null?void 0x0:_0x26e5d8[_0xb631b6(0x184)](_0x18463a=>(0x0,_0x3ad0ce[_0xb631b6(0x152)])(_0x18463a,_0x5af637,_0x133ecb));}function _0x36957c(_0x421a4b,_0x30eeb6,_0x45c036){const _0x1a6e0e=_0x754d11;return _0x421a4b==null?void 0x0:_0x421a4b[_0x1a6e0e(0x184)](_0x1d2b61=>(0x0,_0x3ad0ce['shiftInclusiveRangeOnDelete'])(_0x1d2b61,_0x30eeb6,_0x45c036))['filter'](_0x3a9baa=>_0x3a9baa!=null);}function _0x3636fd(_0x3b93d7,_0x4a7a1c,_0xdab041){const _0x22658a=_0x754d11;return _0x3b93d7==null?void 0x0:_0x3b93d7[_0x22658a(0x184)](_0x3f1a7a=>(0x0,_0x3ad0ce[_0x22658a(0x1e4)])(_0x3f1a7a,_0x4a7a1c,_0xdab041))[_0x22658a(0x137)](_0x2b5b17=>_0x2b5b17!=null);}function _0x3a0ded(_0x1f4858){const _0x455c75=_0x754d11;if(!_0x1f4858[_0x455c75(0xf0)])throw Error('Document\x20main\x20body\x20is\x20required\x20to\x20insert\x20Doc\x20Formula.');return _0x1f4858['body'];}function _0x5b04cb(_0x1b3f90){'@babel/helpers - typeof';const _0x8a1a3a=_0x754d11;return _0x5b04cb=typeof Symbol==_0x8a1a3a(0x125)&&typeof Symbol['iterator']=='symbol'?function(_0x4db4ec){return typeof _0x4db4ec;}:function(_0x4b0ad8){const _0x555ad5=_0x8a1a3a;return _0x4b0ad8&&typeof Symbol=='function'&&_0x4b0ad8[_0x555ad5(0x176)]===Symbol&&_0x4b0ad8!==Symbol[_0x555ad5(0x201)]?_0x555ad5(0x10e):typeof _0x4b0ad8;},_0x5b04cb(_0x1b3f90);}function _0x5cf4d7(_0x764dc4,_0x38d92f){const _0x2c1c66=_0x754d11;if(_0x5b04cb(_0x764dc4)!='object'||!_0x764dc4)return _0x764dc4;var _0x431639=_0x764dc4[Symbol[_0x2c1c66(0x211)]];if(_0x431639!==void 0x0){var _0x5599d9=_0x431639[_0x2c1c66(0x11d)](_0x764dc4,_0x38d92f||_0x2c1c66(0x1f2));if(_0x5b04cb(_0x5599d9)!=_0x2c1c66(0x1d5))return _0x5599d9;throw TypeError('@@toPrimitive\x20must\x20return\x20a\x20primitive\x20value.');}return(_0x38d92f===_0x2c1c66(0x188)?String:Number)(_0x764dc4);}function _0x403ee9(_0x8ad2f1){const _0x5157bd=_0x754d11;var _0x53cce1=_0x5cf4d7(_0x8ad2f1,_0x5157bd(0x188));return _0x5b04cb(_0x53cce1)=='symbol'?_0x53cce1:_0x53cce1+'';}function _0x4fce06(_0x1bf1ab,_0x2e3ecc,_0x610d54){const _0x178ea2=_0x754d11;return(_0x2e3ecc=_0x403ee9(_0x2e3ecc))in _0x1bf1ab?Object[_0x178ea2(0x11f)](_0x1bf1ab,_0x2e3ecc,{'value':_0x610d54,'enumerable':!0x0,'configurable':!0x0,'writable':!0x0}):_0x1bf1ab[_0x2e3ecc]=_0x610d54,_0x1bf1ab;}var _0x46f2a0=class extends _0x3ad0ce[_0x754d11(0xf3)]{constructor(..._0x4a1f5e){const _0x30be3f=_0x754d11;super(..._0x4a1f5e),_0x4fce06(this,_0x30be3f(0x1c4),new Map()),_0x4fce06(this,_0x30be3f(0x1b1),new Map()),_0x4fce06(this,_0x30be3f(0x164),new Map()),_0x4fce06(this,_0x30be3f(0x16d),new _0x5e5a60[(_0x30be3f(0x1df))]()),_0x4fce06(this,'change$',this[_0x30be3f(0x16d)]['asObservable']());}[_0x754d11(0x146)](_0x7cf1d5,_0x5f166e){const _0x28cae4=_0x754d11;var _0x53ebc3;let _0x222dae=(_0x53ebc3=this[_0x28cae4(0x1c4)][_0x28cae4(0x14f)](_0x7cf1d5))==null?void 0x0:_0x53ebc3['formulas'][_0x5f166e];return _0x222dae?_0x3ad0ce['Tools'][_0x28cae4(0x1dd)](_0x222dae):void 0x0;}[_0x754d11(0x221)](_0x42a420){const _0x585ee3=_0x754d11;var _0x4813cc;return _0x3ad0ce[_0x585ee3(0x13c)][_0x585ee3(0x1dd)](((_0x4813cc=this[_0x585ee3(0x1c4)][_0x585ee3(0x14f)](_0x42a420))==null?void 0x0:_0x4813cc['formulas'])??{});}[_0x754d11(0x110)](_0x588871){const _0x763a1d=_0x754d11;let _0xf80d48=this[_0x763a1d(0x1c4)][_0x763a1d(0x14f)](_0x588871);return _0xf80d48?_0x3ad0ce[_0x763a1d(0x13c)]['deepClone'](_0xf80d48):void 0x0;}[_0x754d11(0x16a)](_0x55305c,_0x1e9721,_0x21f67e){const _0xc1e45f=_0x754d11;return this[_0xc1e45f(0x111)](_0x55305c,{[_0x1e9721]:_0x21f67e});}['setResource'](_0x5a1d74,_0xc51bd4){const _0x916b66=_0x754d11;return this[_0x916b66(0x164)]['has'](_0x5a1d74)||!_0x1b1cdf(_0xc51bd4)?!0x1:(this[_0x916b66(0x1c4)]['set'](_0x5a1d74,_0x3ad0ce[_0x916b66(0x13c)][_0x916b66(0x1dd)](_0xc51bd4)),this[_0x916b66(0x16d)][_0x916b66(0x1ab)]({'unitId':_0x5a1d74}),!0x0);}['setFormulas'](_0x52b172,_0x2810ef){const _0xccaa00=_0x754d11;if(this[_0xccaa00(0x164)][_0xccaa00(0x1b9)](_0x52b172)||!Object[_0xccaa00(0x1d4)](_0x2810ef)[_0xccaa00(0x150)]||!_0x1b1cdf({'schemaVersion':0x1,'formulas':_0x2810ef}))return!0x1;let _0x217ced=this[_0xccaa00(0x1c4)]['get'](_0x52b172)??_0x2dd373(),_0x6f56fb=_0x3ad0ce[_0xccaa00(0x13c)][_0xccaa00(0x1dd)](_0x217ced);return Object[_0xccaa00(0x12e)](_0x6f56fb[_0xccaa00(0x162)],_0x3ad0ce[_0xccaa00(0x13c)]['deepClone'](_0x2810ef)),this[_0xccaa00(0x1c4)]['set'](_0x52b172,_0x6f56fb),this[_0xccaa00(0x16d)][_0xccaa00(0x1ab)]({'unitId':_0x52b172,'rangeIds':Object[_0xccaa00(0x1d4)](_0x2810ef)}),!0x0;}[_0x754d11(0x195)](_0x363069,_0xb0309e){const _0x4c66d2=_0x754d11;if(this[_0x4c66d2(0x164)]['has'](_0x363069))return!0x1;let _0x275c8a=this[_0x4c66d2(0x1c4)][_0x4c66d2(0x14f)](_0x363069);if(!(_0x275c8a!=null&&_0x275c8a[_0x4c66d2(0x162)][_0xb0309e]))return!0x1;let _0x559699=_0x3ad0ce[_0x4c66d2(0x13c)][_0x4c66d2(0x1dd)](_0x275c8a);return delete _0x559699[_0x4c66d2(0x162)][_0xb0309e],this['_resources'][_0x4c66d2(0x1ea)](_0x363069,_0x559699),this[_0x4c66d2(0x16d)][_0x4c66d2(0x1ab)]({'unitId':_0x363069,'rangeIds':[_0xb0309e]}),!0x0;}[_0x754d11(0x206)](_0x16ac68,_0x5afba4){const _0x29ea06=_0x754d11;return _0x5afba4&&typeof _0x5afba4==_0x29ea06(0x1d5)&&_0x29ea06(0x210)in _0x5afba4&&_0x5afba4[_0x29ea06(0x210)]!==0x1?(this[_0x29ea06(0x17b)](_0x16ac68,_0x5afba4,'unsupported-version'),!0x1):_0x1b1cdf(_0x5afba4)?(this[_0x29ea06(0x1c4)][_0x29ea06(0x1ea)](_0x16ac68,_0x3ad0ce['Tools'][_0x29ea06(0x1dd)](_0x5afba4)),this[_0x29ea06(0x1b1)][_0x29ea06(0x212)](_0x16ac68),this[_0x29ea06(0x164)][_0x29ea06(0x212)](_0x16ac68),this['_change$'][_0x29ea06(0x1ab)]({'unitId':_0x16ac68}),!0x0):(this[_0x29ea06(0x17b)](_0x16ac68,_0x5afba4,_0x29ea06(0x19f)),!0x1);}['serialize'](_0xba92ce){const _0x137861=_0x754d11;let _0x2785b2=this['_resources'][_0x137861(0x14f)](_0xba92ce);return _0x2785b2?_0x3ad0ce[_0x137861(0x13c)][_0x137861(0x1dd)](_0x2785b2):this[_0x137861(0x1b1)]['has'](_0xba92ce)?_0x3ad0ce['Tools'][_0x137861(0x1dd)](this[_0x137861(0x1b1)][_0x137861(0x14f)](_0xba92ce)):_0x2dd373();}[_0x754d11(0x12a)](_0x1a9d98){const _0x38a480=_0x754d11;return this[_0x38a480(0x164)][_0x38a480(0x14f)](_0x1a9d98);}[_0x754d11(0x1cb)](_0x4ab54c){const _0x221ed7=_0x754d11;this[_0x221ed7(0x1c4)]['delete'](_0x4ab54c),this[_0x221ed7(0x1b1)][_0x221ed7(0x212)](_0x4ab54c),this[_0x221ed7(0x164)]['delete'](_0x4ab54c),this[_0x221ed7(0x16d)]['next']({'unitId':_0x4ab54c});}[_0x754d11(0x202)](){const _0x5f2ba1=_0x754d11;this[_0x5f2ba1(0x1c4)]['clear'](),this[_0x5f2ba1(0x1b1)][_0x5f2ba1(0x1c3)](),this[_0x5f2ba1(0x164)]['clear'](),this[_0x5f2ba1(0x16d)][_0x5f2ba1(0x123)](),super['dispose']();}[_0x754d11(0x17b)](_0x44d995,_0x4eaf1b,_0x546b66){const _0x27e60c=_0x754d11;this[_0x27e60c(0x1c4)][_0x27e60c(0x212)](_0x44d995),this[_0x27e60c(0x1b1)]['set'](_0x44d995,_0x3ad0ce[_0x27e60c(0x13c)][_0x27e60c(0x1dd)](_0x4eaf1b)),this['_loadErrors'][_0x27e60c(0x1ea)](_0x44d995,_0x546b66),this[_0x27e60c(0x16d)][_0x27e60c(0x1ab)]({'unitId':_0x44d995});}};let _0x26d030=function(_0x39be29){const _0x372a31=_0x754d11;return _0x39be29[_0x372a31(0xf4)]=_0x372a31(0x108),_0x39be29[_0x372a31(0x20b)]=_0x372a31(0x100),_0x39be29[_0x372a31(0x193)]=_0x372a31(0x133),_0x39be29[_0x372a31(0x11b)]='error',_0x39be29;}({});function _0x54abe0(_0x1bf88a,_0x256085){return function(_0x61550a,_0x82bddb){_0x256085(_0x61550a,_0x82bddb,_0x1bf88a);};}function _0x2f1059(_0x58f382,_0x10fc6e,_0x274168,_0xe997dc){const _0x7414a7=_0x754d11;var _0x27071b=arguments[_0x7414a7(0x150)],_0x36a294=_0x27071b<0x3?_0x10fc6e:_0xe997dc===null?_0xe997dc=Object[_0x7414a7(0x187)](_0x10fc6e,_0x274168):_0xe997dc,_0x9d79e2;if(typeof Reflect=='object'&&typeof Reflect['decorate']==_0x7414a7(0x125))_0x36a294=Reflect['decorate'](_0x58f382,_0x10fc6e,_0x274168,_0xe997dc);else{for(var _0x123484=_0x58f382[_0x7414a7(0x150)]-0x1;_0x123484>=0x0;_0x123484--)(_0x9d79e2=_0x58f382[_0x123484])&&(_0x36a294=(_0x27071b<0x3?_0x9d79e2(_0x36a294):_0x27071b>0x3?_0x9d79e2(_0x10fc6e,_0x274168,_0x36a294):_0x9d79e2(_0x10fc6e,_0x274168))||_0x36a294);}return _0x27071b>0x3&&_0x36a294&&Object[_0x7414a7(0x11f)](_0x10fc6e,_0x274168,_0x36a294),_0x36a294;}let _0x20a44b=class extends _0x3ad0ce['Disposable']{constructor(_0x2d4296,_0x2abfab,_0x323a8a){const _0x25ed1d=_0x754d11;super(),this['_model']=_0x2d4296,this[_0x25ed1d(0x1c7)]=_0x2abfab,this[_0x25ed1d(0x20f)]=_0x323a8a,_0x4fce06(this,'_registrations',new Map()),_0x4fce06(this,_0x25ed1d(0x130),new Map()),_0x4fce06(this,'_presentationChanged$',new _0x5e5a60[(_0x25ed1d(0x1df))]()),_0x4fce06(this,_0x25ed1d(0x1cc),this[_0x25ed1d(0x18e)][_0x25ed1d(0x15e)]()),this[_0x25ed1d(0x1aa)](this[_0x25ed1d(0x1c7)][_0x25ed1d(0x128)][_0x25ed1d(0x20d)](_0x1da54c=>{const _0x5e8c98=_0x25ed1d;for(let _0x3192e4 of Object['values'](_0x1da54c))for(let _0x2228fd of Object[_0x5e8c98(0x189)](_0x3192e4))_0x2228fd['forEach'](_0x562936=>this[_0x5e8c98(0x10f)](_0x562936));}));}['syncUnit'](_0x557736){const _0x186418=_0x754d11;var _0x22d308;let _0x5ee9f7=_0x557736[_0x186418(0x1a8)](),_0x3a9e2f=((_0x22d308=_0x557736[_0x186418(0x21d)]()[_0x186418(0xf0)])==null||(_0x22d308=_0x22d308['customRanges'])==null?void 0x0:_0x22d308['filter'](_0x2ea921))??[],_0x4a1c29=this[_0x186418(0x119)][_0x186418(0x221)](_0x5ee9f7),_0x2361ce=new Set();for(let _0x15cb62 of _0x3a9e2f){let _0x3daaa0=_0x4a1c29[_0x15cb62[_0x186418(0x230)]];_0x3daaa0&&(_0x2361ce['add'](_0x142418(_0x5ee9f7,_0x15cb62[_0x186418(0x230)])),this['register']({'unitId':_0x5ee9f7,'rangeId':_0x15cb62[_0x186418(0x230)]},_0x3daaa0));}for(let _0x2a94b5 of Array['from'](this[_0x186418(0x158)][_0x186418(0x189)]()))_0x2a94b5['unitId']===_0x5ee9f7&&!_0x2361ce[_0x186418(0x1b9)](_0x142418(_0x2a94b5[_0x186418(0x231)],_0x2a94b5['rangeId']))&&this[_0x186418(0x200)](_0x2a94b5);}[_0x754d11(0xf2)](_0xfbb454,_0x473b41){const _0x471090=_0x754d11;let _0x52897e=_0x142418(_0xfbb454['unitId'],_0xfbb454[_0x471090(0x230)]),_0x33a34d=this[_0x471090(0x158)]['get'](_0x52897e),_0x1c5d7d=this[_0x471090(0x20f)]['getRevision'](_0xfbb454['unitId']);if(_0x33a34d&&_0x33a34d[_0x471090(0x1bb)][_0x471090(0x16b)]===_0x473b41[_0x471090(0x16b)]&&_0x33a34d['referenceRevision']===_0x1c5d7d){_0x33a34d[_0x471090(0x1bb)]=_0x473b41;let _0x3c6f5d=_0x33a34d[_0x471090(0x1e9)]?this[_0x471090(0x1c7)]['getFormulaValueSync'](_0x33a34d[_0x471090(0x231)],_0x33a34d[_0x471090(0x231)],_0x33a34d[_0x471090(0x1e9)])??void 0x0:void 0x0;_0x33a34d[_0x471090(0x205)]=_0x3c6f5d,this[_0x471090(0xfb)](_0x52897e,_0x4ee25d(_0x473b41,_0x3c6f5d));return;}_0x33a34d!=null&&_0x33a34d[_0x471090(0x1e9)]&&this[_0x471090(0x16c)](_0x33a34d);let _0x25a5ec={..._0xfbb454,'config':_0x473b41,'referenceRevision':_0x1c5d7d,'presentation':_0x4ee25d(_0x473b41,void 0x0)};if(this[_0x471090(0x158)]['set'](_0x52897e,_0x25a5ec),!_0x473b41[_0x471090(0x16b)][_0x471090(0x1da)]())return;let _0x5e5c4e=this[_0x471090(0x1c7)][_0x471090(0x215)](_0xfbb454[_0x471090(0x231)],_0xfbb454[_0x471090(0x231)],_0x473b41['formula'],void 0x0,{'rangeId':_0xfbb454['rangeId']},_0xce0fe7[_0x471090(0x1f8)][_0x471090(0x207)],_0xfbb454['rangeId']);_0x25a5ec[_0x471090(0x1e9)]=_0x5e5c4e,this[_0x471090(0x130)][_0x471090(0x1ea)](_0x5e5c4e,_0x52897e);}[_0x754d11(0x200)](_0x37a5d5){const _0x5ecdb4=_0x754d11;let _0x412609=_0x142418(_0x37a5d5['unitId'],_0x37a5d5[_0x5ecdb4(0x230)]),_0x1f44c6=this['_registrations'][_0x5ecdb4(0x14f)](_0x412609);_0x1f44c6&&(this[_0x5ecdb4(0x16c)](_0x1f44c6),this[_0x5ecdb4(0x158)][_0x5ecdb4(0x212)](_0x412609));}[_0x754d11(0x1a9)](_0x29e51b){const _0x13acb4=_0x754d11;for(let _0x56c5be of Array[_0x13acb4(0x178)](this[_0x13acb4(0x158)][_0x13acb4(0x189)]()))_0x56c5be[_0x13acb4(0x231)]===_0x29e51b&&this[_0x13acb4(0x200)](_0x56c5be);}[_0x754d11(0x1bc)](_0x4a4dfb){const _0x5acd96=_0x754d11;var _0x2399f4;return(_0x2399f4=this['_registrations'][_0x5acd96(0x14f)](_0x142418(_0x4a4dfb[_0x5acd96(0x231)],_0x4a4dfb['rangeId'])))==null?void 0x0:_0x2399f4[_0x5acd96(0x172)];}[_0x754d11(0x1c2)](_0x374aa2){const _0x3a8b39=_0x754d11;let _0x390104=this[_0x3a8b39(0x158)][_0x3a8b39(0x14f)](_0x142418(_0x374aa2[_0x3a8b39(0x231)],_0x374aa2['rangeId']));return _0x390104?_0x5140b3(_0x390104):void 0x0;}[_0x754d11(0x1e5)](){const _0x2005bb=_0x754d11;return Array[_0x2005bb(0x178)](this['_registrations'][_0x2005bb(0x189)](),_0x16c3ff=>({'identity':{'unitId':_0x16c3ff[_0x2005bb(0x231)],'rangeId':_0x16c3ff[_0x2005bb(0x230)]},'config':_0x16c3ff['config'],'referenceRevision':_0x16c3ff[_0x2005bb(0x1fd)],..._0x16c3ff['liveResult']?{'liveResult':_0x16c3ff[_0x2005bb(0x205)]}:null}));}[_0x754d11(0x202)](){const _0x333aa8=_0x754d11;for(let _0x3c372e of this['_registrations']['values']())this['_deleteRegistration'](_0x3c372e);this[_0x333aa8(0x158)][_0x333aa8(0x1c3)](),this[_0x333aa8(0x130)][_0x333aa8(0x1c3)](),this[_0x333aa8(0x18e)][_0x333aa8(0x123)](),super[_0x333aa8(0x202)]();}[_0x754d11(0x10f)](_0x519538){const _0x55d8be=_0x754d11;let _0x35c6b3=this[_0x55d8be(0x130)][_0x55d8be(0x14f)](_0x519538[_0x55d8be(0x1e9)]),_0x27af5c=_0x35c6b3?this['_registrations']['get'](_0x35c6b3):void 0x0;_0x35c6b3&&_0x27af5c&&(_0x27af5c[_0x55d8be(0x205)]=_0x519538,this[_0x55d8be(0xfb)](_0x35c6b3,_0x4ee25d(_0x27af5c[_0x55d8be(0x1bb)],_0x519538)));}[_0x754d11(0xfb)](_0x599608,_0x1e4fd2){const _0x3879ae=_0x754d11;var _0x3a2d23,_0x5f00e3;let _0x2f3196=this[_0x3879ae(0x158)][_0x3879ae(0x14f)](_0x599608);if(!_0x2f3196||_0x303dbe(_0x2f3196[_0x3879ae(0x172)],_0x1e4fd2))return;let _0x23f05a=_0x2f3196[_0x3879ae(0x172)],_0x3f5cec=_0x5140b3(_0x2f3196);_0x2f3196[_0x3879ae(0x172)]=_0x1e4fd2,this['_presentationChanged$']['next']({'unitId':_0x2f3196[_0x3879ae(0x231)],'rangeId':_0x2f3196[_0x3879ae(0x230)],'presentation':_0x1e4fd2,'previousPresentation':_0x23f05a,'result':_0x5140b3(_0x2f3196),'previousResult':{..._0x3f5cec,..._0x23f05a,'value':(_0x3a2d23=_0x23f05a[_0x3879ae(0x163)])==null?void 0x0:_0x3a2d23['v'],'valueType':((_0x5f00e3=_0x23f05a['cell'])==null?void 0x0:_0x5f00e3['t'])??void 0x0}});}[_0x754d11(0x16c)](_0x1e56fb){const _0x5c1a25=_0x754d11;_0x1e56fb[_0x5c1a25(0x1e9)]&&(this[_0x5c1a25(0x1c7)]['deleteFormula'](_0x1e56fb[_0x5c1a25(0x231)],_0x1e56fb[_0x5c1a25(0x231)],[_0x1e56fb[_0x5c1a25(0x1e9)]]),this[_0x5c1a25(0x130)][_0x5c1a25(0x212)](_0x1e56fb['formulaId']));}};_0x20a44b=_0x2f1059([_0x54abe0(0x0,(0x0,_0x3ad0ce[_0x754d11(0x104)])(_0x46f2a0)),_0x54abe0(0x1,(0x0,_0x3ad0ce[_0x754d11(0x104)])(_0xce0fe7[_0x754d11(0x180)])),_0x54abe0(0x2,(0x0,_0x3ad0ce[_0x754d11(0x104)])(_0x27ed60[_0x754d11(0x160)]))],_0x20a44b);function _0x142418(_0x5d85a7,_0x90aeac){return _0x5d85a7+'\x00'+_0x90aeac;}function _0x4ee25d(_0x2d878c,_0x47d62f){const _0x25a9be=_0x754d11;return(0x0,_0x27ed60[_0x25a9be(0x1d1)])({'numberFormat':_0x2d878c[_0x25a9be(0x1ad)],'lastValue':_0x2d878c['lastValue'],'result':_0x47d62f});}function _0x5140b3(_0x1b782e){const _0x520221=_0x754d11;var _0x2d608d,_0x15d11b,_0x17809d;let _0x4fe569=_0x1b782e[_0x520221(0x172)],_0x5d1093=_0x1b782e[_0x520221(0x1bb)][_0x520221(0x16b)]['trim']()?_0x4fe569[_0x520221(0x182)]||_0x4fe569[_0x520221(0x163)]==null?_0x520221(0x100):((_0x2d608d=_0x1b782e[_0x520221(0x205)])==null?void 0x0:_0x2d608d['status'])===_0xce0fe7[_0x520221(0x18a)]['ERROR']?_0x520221(0x1ef):_0x520221(0x133):_0x520221(0x108);return{..._0x4fe569,'status':_0x5d1093,'value':(_0x15d11b=_0x4fe569[_0x520221(0x163)])==null?void 0x0:_0x15d11b['v'],'valueType':((_0x17809d=_0x4fe569[_0x520221(0x163)])==null?void 0x0:_0x17809d['t'])??void 0x0};}function _0x303dbe(_0x803784,_0x1fc5b9){const _0x3e3704=_0x754d11;var _0x1b6c30,_0x5998d7,_0x4e5acb,_0x1fe96b;return _0x803784['text']===_0x1fc5b9[_0x3e3704(0x15c)]&&_0x803784['color']===_0x1fc5b9[_0x3e3704(0x21e)]&&_0x803784[_0x3e3704(0x13f)]===_0x1fc5b9[_0x3e3704(0x13f)]&&_0x803784[_0x3e3704(0x1ca)]===_0x1fc5b9[_0x3e3704(0x1ca)]&&_0x803784[_0x3e3704(0x182)]===_0x1fc5b9['stale']&&((_0x1b6c30=_0x803784[_0x3e3704(0x163)])==null?void 0x0:_0x1b6c30['t'])===((_0x5998d7=_0x1fc5b9[_0x3e3704(0x163)])==null?void 0x0:_0x5998d7['t'])&&Object['is']((_0x4e5acb=_0x803784[_0x3e3704(0x163)])==null?void 0x0:_0x4e5acb['v'],(_0x1fe96b=_0x1fc5b9[_0x3e3704(0x163)])==null?void 0x0:_0x1fe96b['v']);}let _0x4ce42c={'id':_0x754d11(0x1a4),'type':_0x3ad0ce[_0x754d11(0x131)][_0x754d11(0x194)],'handler':(_0x4e5d49,_0x246177)=>!(_0x246177!=null&&_0x246177['unitId'])||!_0x246177['rangeId']||!_0x246177['config']?!0x1:_0x4e5d49[_0x754d11(0x14f)](_0x46f2a0)[_0x754d11(0x16a)](_0x246177[_0x754d11(0x231)],_0x246177[_0x754d11(0x230)],_0x246177[_0x754d11(0x1bb)])},_0x27e5d8={'id':_0x754d11(0x1b4),'type':_0x3ad0ce['CommandType']['MUTATION'],'handler':(_0x3ad4a2,_0x51519b)=>!(_0x51519b!=null&&_0x51519b['unitId'])||!_0x51519b['rangeId']?!0x1:_0x3ad4a2['get'](_0x46f2a0)[_0x754d11(0x195)](_0x51519b[_0x754d11(0x231)],_0x51519b[_0x754d11(0x230)])},_0x3db73a={'id':_0x754d11(0x151),'type':_0x3ad0ce[_0x754d11(0x131)]['MUTATION'],'handler':(_0x13b6cf,_0x4a8377)=>!(_0x4a8377!=null&&_0x4a8377[_0x754d11(0x231)])||!_0x4a8377[_0x754d11(0x103)]?!0x1:_0x13b6cf[_0x754d11(0x14f)](_0x46f2a0)[_0x754d11(0x186)](_0x4a8377[_0x754d11(0x231)],_0x4a8377['resource'])},_0x3618d4={'id':_0x754d11(0x22b),'type':_0x3ad0ce[_0x754d11(0x131)][_0x754d11(0x194)],'handler':(_0x497f92,_0x4cc8ad)=>{const _0x1916ff=_0x754d11;if(!(_0x4cc8ad!=null&&_0x4cc8ad[_0x1916ff(0x231)])||!_0x4cc8ad[_0x1916ff(0x22f)][_0x1916ff(0x150)])return!0x1;let _0x140858=_0x497f92['get'](_0x46f2a0),_0x33b204=_0x497f92['get'](_0x27ed60['HostExternalReferenceModel']),_0x38ae7b=_0x140858[_0x1916ff(0x110)](_0x4cc8ad[_0x1916ff(0x231)]);if(!_0x38ae7b)return!0x1;let _0x1037d1=_0x3ad0ce[_0x1916ff(0x13c)][_0x1916ff(0x1dd)](_0x38ae7b),_0x38aba5=!0x1;for(let _0x2914a1 of _0x4cc8ad['updates']){var _0x2f3399,_0x6031bf,_0x5ed7ba,_0xe5d90c;let _0x16d2f5=_0x1037d1[_0x1916ff(0x162)][_0x2914a1[_0x1916ff(0x230)]];_0x16d2f5&&_0x16d2f5[_0x1916ff(0x16b)]===_0x2914a1[_0x1916ff(0x11c)]&&((_0x2f3399=_0x16d2f5[_0x1916ff(0x1ad)])==null?void 0x0:_0x2f3399[_0x1916ff(0x13f)])===_0x2914a1[_0x1916ff(0x13d)]&&_0x33b204[_0x1916ff(0x1b5)](_0x4cc8ad[_0x1916ff(0x231)])===_0x2914a1[_0x1916ff(0xf6)]&&(((_0x6031bf=_0x16d2f5['lastValue'])==null?void 0x0:_0x6031bf['v'])!==_0x2914a1[_0x1916ff(0x14e)]['v']||((_0x5ed7ba=_0x16d2f5[_0x1916ff(0x14e)])==null?void 0x0:_0x5ed7ba['t'])!==_0x2914a1[_0x1916ff(0x14e)]['t']||((_0xe5d90c=_0x16d2f5[_0x1916ff(0x14e)])==null?void 0x0:_0xe5d90c['pattern'])!==_0x2914a1['lastValue'][_0x1916ff(0x13f)])&&(_0x16d2f5[_0x1916ff(0x14e)]=_0x3ad0ce[_0x1916ff(0x13c)][_0x1916ff(0x1dd)](_0x2914a1[_0x1916ff(0x14e)]),_0x38aba5=!0x0);}return!_0x38aba5||_0x140858[_0x1916ff(0x186)](_0x4cc8ad[_0x1916ff(0x231)],_0x1037d1);}},_0x28c79d={'id':_0x754d11(0x226),'type':_0x3ad0ce['CommandType'][_0x754d11(0x22a)],'handler':(_0x2954bf,_0x549c21)=>{const _0x48480f=_0x754d11;if(!(_0x549c21!=null&&_0x549c21[_0x48480f(0x16b)]['trim']()))return!0x1;let _0x108b30=_0x2d9b2e(_0x2954bf,_0x549c21[_0x48480f(0x231)],'');if(!_0x108b30)return!0x1;let _0x5a5638=_0x1a44ab(_0x549c21['target'],_0x108b30[_0x48480f(0xf0)],_0x389dea(_0x2954bf,_0x108b30[_0x48480f(0x231)]));if(!_0x5a5638)return!0x1;let _0x125f81=_0x50ed22(_0x2954bf,_0x108b30[_0x48480f(0x231)],_0x549c21[_0x48480f(0x16b)],_0x549c21[_0x48480f(0x223)]??[]);if(!_0x125f81)return!0x1;let _0x315d2a=_0x3f76d3(_0x108b30[_0x48480f(0xf0)],_0x108b30[_0x48480f(0x1d6)],_0x108b30[_0x48480f(0x231)]),_0x25ac88=_0x2d32d3({'documentData':_0x108b30[_0x48480f(0x197)],'resource':_0x108b30[_0x48480f(0x103)],'rangeId':_0x315d2a,'config':{'formula':_0x549c21[_0x48480f(0x16b)],..._0x549c21[_0x48480f(0x1ad)]?{'numberFormat':_0x549c21[_0x48480f(0x1ad)]}:null},'startOffset':_0x5a5638[_0x48480f(0x170)],'endOffset':_0x5a5638[_0x48480f(0x13a)]});if(!_0x25ac88)return!0x1;let _0x439ed4=(0x0,_0x27ed60[_0x48480f(0x209)])(_0x2954bf,_0x108b30[_0x48480f(0x231)],_0x125f81);return!_0x439ed4||!_0x29c804({'accessor':_0x2954bf,'document':_0x108b30[_0x48480f(0x101)],'unitId':_0x108b30[_0x48480f(0x231)],'trigger':_0x28c79d['id'],'rangeId':_0x315d2a,'previousResource':_0x108b30[_0x48480f(0x103)],'nextResource':_0x25ac88[_0x48480f(0x1f5)],'previousDocumentData':_0x108b30[_0x48480f(0x197)],'nextDocumentData':_0x25ac88[_0x48480f(0x141)],'cursorOffset':_0x25ac88[_0x48480f(0x22d)],'externalMutations':_0x439ed4})?!0x1:{'rangeId':_0x315d2a,'startOffset':_0x25ac88[_0x48480f(0x22d)]-0x1,'endOffset':_0x25ac88['cursorOffset']};}},_0x4b3299={'id':_0x754d11(0x127),'type':_0x3ad0ce['CommandType'][_0x754d11(0x22a)],'handler':(_0x3cec8b,_0x198247)=>{const _0x1d4abc=_0x754d11;if(!(_0x198247!=null&&_0x198247[_0x1d4abc(0x230)])||!_0x198247['formula'][_0x1d4abc(0x1da)]())return!0x1;let _0x3423a4=_0x2d9b2e(_0x3cec8b,_0x198247[_0x1d4abc(0x231)],''),_0x5a39b6=_0x3423a4==null?void 0x0:_0x3423a4[_0x1d4abc(0x1d6)][_0x1d4abc(0x146)](_0x3423a4[_0x1d4abc(0x231)],_0x198247[_0x1d4abc(0x230)]),_0x346539=_0x3423a4?_0x4001d5(_0x3423a4['documentData'][_0x1d4abc(0xf0)],_0x198247[_0x1d4abc(0x230)]):void 0x0;if(!_0x3423a4||!_0x5a39b6||!_0x346539)return!0x1;let _0x55498a=_0x50ed22(_0x3cec8b,_0x3423a4[_0x1d4abc(0x231)],_0x198247[_0x1d4abc(0x16b)],_0x198247[_0x1d4abc(0x223)]??[]);if(!_0x55498a)return!0x1;let _0x96bae6=(0x0,_0x27ed60[_0x1d4abc(0x209)])(_0x3cec8b,_0x3423a4[_0x1d4abc(0x231)],_0x55498a);if(!_0x96bae6)return!0x1;let _0x5b4a15=_0x351b6a(_0x3423a4[_0x1d4abc(0x103)]);return _0x5b4a15['formulas'][_0x198247[_0x1d4abc(0x230)]]={'formula':_0x198247[_0x1d4abc(0x16b)],..._0x198247[_0x1d4abc(0x1ad)]?{'numberFormat':_0x198247[_0x1d4abc(0x1ad)]}:_0x5a39b6[_0x1d4abc(0x1ad)]?{'numberFormat':_0x5a39b6[_0x1d4abc(0x1ad)]}:null},_0x29c804({'accessor':_0x3cec8b,'document':_0x3423a4[_0x1d4abc(0x101)],'unitId':_0x3423a4['unitId'],'trigger':_0x4b3299['id'],'rangeId':_0x198247[_0x1d4abc(0x230)],'previousResource':_0x3423a4[_0x1d4abc(0x103)],'nextResource':_0x5b4a15,'cursorOffset':_0x346539[_0x1d4abc(0x220)]+0x1,'externalMutations':_0x96bae6});}},_0x1dcb18={'id':'docs-formula.command.set-number-format','type':_0x3ad0ce[_0x754d11(0x131)][_0x754d11(0x22a)],'handler':(_0x1cd37c,_0x3489ee)=>{const _0x1740bb=_0x754d11;if(!(_0x3489ee!=null&&_0x3489ee[_0x1740bb(0x230)]))return!0x1;let _0x296e56=_0x2d9b2e(_0x1cd37c,_0x3489ee['unitId'],''),_0x29f089=_0x296e56==null?void 0x0:_0x296e56['model'][_0x1740bb(0x146)](_0x296e56[_0x1740bb(0x231)],_0x3489ee[_0x1740bb(0x230)]),_0x20eeb0=_0x296e56?_0x4001d5(_0x296e56[_0x1740bb(0x197)]['body'],_0x3489ee[_0x1740bb(0x230)]):void 0x0;if(!_0x296e56||!_0x29f089||!_0x20eeb0)return!0x1;let _0x247caf=_0x351b6a(_0x296e56['resource']);return _0x247caf[_0x1740bb(0x162)][_0x3489ee[_0x1740bb(0x230)]]={..._0x29f089,..._0x3489ee[_0x1740bb(0x1ad)]?{'numberFormat':_0x3489ee['numberFormat']}:null},_0x3489ee[_0x1740bb(0x1ad)]||delete _0x247caf[_0x1740bb(0x162)][_0x3489ee[_0x1740bb(0x230)]][_0x1740bb(0x1ad)],_0x29c804({'accessor':_0x1cd37c,'document':_0x296e56[_0x1740bb(0x101)],'unitId':_0x296e56[_0x1740bb(0x231)],'trigger':_0x1dcb18['id'],'rangeId':_0x3489ee['rangeId'],'previousResource':_0x296e56['resource'],'nextResource':_0x247caf,'cursorOffset':_0x20eeb0[_0x1740bb(0x220)]+0x1,'externalMutations':{}});}},_0x4dc2c7={'id':_0x754d11(0x204),'type':_0x3ad0ce[_0x754d11(0x131)][_0x754d11(0x22a)],'handler':(_0x48eef,_0x12e089)=>_0x39afc0(_0x48eef,_0x12e089,'',_0x4dc2c7['id'])},_0x550e48={'id':'docs-formula.command.replace-with-text','type':_0x3ad0ce[_0x754d11(0x131)][_0x754d11(0x22a)],'handler':(_0x21f215,_0x22d66e)=>_0x39afc0(_0x21f215,_0x22d66e,(_0x22d66e==null?void 0x0:_0x22d66e[_0x754d11(0x15c)])??'',_0x550e48['id'])},_0x2d94b4={'id':_0x754d11(0x1de),'type':_0x3ad0ce['CommandType'][_0x754d11(0x22a)],'handler':(_0x47e984,_0x2d42de)=>{const _0x1fd46a=_0x754d11;if(!(_0x2d42de!=null&&_0x2d42de[_0x1fd46a(0x230)]))return!0x1;let _0x55f896=_0x2d9b2e(_0x47e984,_0x2d42de[_0x1fd46a(0x231)],'');if(!_0x55f896)return!0x1;let _0x38a3f1=_0x47e984[_0x1fd46a(0x14f)](_0x20a44b)[_0x1fd46a(0x1c2)]({'unitId':_0x55f896[_0x1fd46a(0x231)],'rangeId':_0x2d42de['rangeId']});return _0x38a3f1?_0x39afc0(_0x47e984,_0x2d42de,_0x38a3f1['text'],_0x2d94b4['id']):!0x1;}};function _0x39afc0(_0x45668c,_0x4f0366,_0x54e2f3,_0x2846f2){const _0x4633e1=_0x754d11;if(!(_0x4f0366!=null&&_0x4f0366['rangeId']))return!0x1;let _0x3973f6=_0x2d9b2e(_0x45668c,_0x4f0366[_0x4633e1(0x231)],'');if(!_0x3973f6)return!0x1;let _0x4123c2=_0x2dc10f({'documentData':_0x3973f6[_0x4633e1(0x197)],'resource':_0x3973f6[_0x4633e1(0x103)],'rangeId':_0x4f0366['rangeId'],'text':_0x54e2f3});return _0x4123c2?_0x29c804({'accessor':_0x45668c,'document':_0x3973f6[_0x4633e1(0x101)],'unitId':_0x3973f6[_0x4633e1(0x231)],'trigger':_0x2846f2,'rangeId':_0x4f0366[_0x4633e1(0x230)],'previousResource':_0x3973f6['resource'],'nextResource':_0x4123c2[_0x4633e1(0x1f5)],'previousDocumentData':_0x3973f6['documentData'],'nextDocumentData':_0x4123c2[_0x4633e1(0x141)],'cursorOffset':_0x4123c2[_0x4633e1(0x22d)],'externalMutations':{}}):!0x1;}function _0x2d9b2e(_0x2e9101,_0x31412b,_0x188841){const _0x101596=_0x754d11;if(_0x188841)return null;let _0x50c99e=_0x2e9101['get'](_0x3ad0ce['IUniverInstanceService']),_0x128cb5=(_0x31412b?_0x50c99e[_0x101596(0xfe)](_0x31412b,_0x3ad0ce[_0x101596(0x1c6)][_0x101596(0x10b)]):_0x50c99e[_0x101596(0x109)](_0x3ad0ce[_0x101596(0x1c6)][_0x101596(0x10b)]))??null;if(!_0x128cb5)return null;let _0x4bb9b2=_0x128cb5[_0x101596(0x21d)](),_0x12d1b8=_0x4bb9b2[_0x101596(0xf0)];if(_0x4bb9b2['disabled']||!_0x12d1b8)return null;let _0x6e85e5=_0x2e9101['get'](_0x46f2a0);return _0x6e85e5['getLoadError'](_0x128cb5[_0x101596(0x1a8)]())?null:{'document':_0x128cb5,'body':_0x12d1b8,'documentData':_0x4bb9b2,'model':_0x6e85e5,'resource':_0x6e85e5['getResource'](_0x128cb5['getUnitId']())??_0x2dd373(),'unitId':_0x128cb5[_0x101596(0x1a8)]()};}function _0x389dea(_0x21ca58,_0x47c9dd){const _0x255baa=_0x754d11;var _0x42e707;return(_0x42e707=_0x21ca58[_0x255baa(0x14f)](_0xe8b14d[_0x255baa(0xf9)])[_0x255baa(0x1a0)]({'subUnitId':_0x47c9dd,'unitId':_0x47c9dd}))==null?void 0x0:_0x42e707[0x0];}function _0x1a44ab(_0x244c61,_0x32069f,_0x1de56e){const _0x4842d1=_0x754d11;if((_0x244c61==null?void 0x0:_0x244c61[_0x4842d1(0x121)])===_0x4842d1(0x1ed)){var _0x459c82;let _0x10baf0=((_0x459c82=_0x32069f[_0x4842d1(0x1c8)])==null?void 0x0:_0x459c82[_0x4842d1(0x137)](_0x5ebbcf=>_0x5ebbcf[_0x4842d1(0x11a)]===_0x244c61[_0x4842d1(0x11a)]))??[];if(_0x10baf0[_0x4842d1(0x150)]!==0x1)return null;let _0x56463d=_0x10baf0[0x0],_0x273f4d=(0x0,_0x3ad0ce[_0x4842d1(0x17e)])(_0x32069f,_0x56463d),_0x5eb229=_0x56463d['startIndex']-_0x273f4d,_0x24aba5=_0x244c61[_0x4842d1(0x19b)]==='end'?_0x5eb229:_0x244c61[_0x4842d1(0x19b)];if(!Number[_0x4842d1(0x14d)](_0x24aba5)||_0x24aba5<0x0||_0x24aba5>_0x5eb229)return null;let _0x5cb94d=_0x273f4d+_0x24aba5;return{'startOffset':_0x5cb94d,'endOffset':_0x5cb94d};}if((_0x244c61==null?void 0x0:_0x244c61[_0x4842d1(0x121)])===_0x4842d1(0x1f4))return!Number['isInteger'](_0x244c61[_0x4842d1(0x170)])||!Number[_0x4842d1(0x14d)](_0x244c61[_0x4842d1(0x13a)])?null:{'startOffset':Math[_0x4842d1(0x1b6)](_0x244c61[_0x4842d1(0x170)],_0x244c61[_0x4842d1(0x13a)]),'endOffset':Math['max'](_0x244c61[_0x4842d1(0x170)],_0x244c61[_0x4842d1(0x13a)])};let _0x54d2d5=(_0x244c61==null?void 0x0:_0x244c61['type'])===_0x4842d1(0x175)?_0x244c61[_0x4842d1(0x175)]:_0x1de56e;return!_0x54d2d5||_0x54d2d5['segmentId']?null:{'startOffset':Math[_0x4842d1(0x1b6)](_0x54d2d5[_0x4842d1(0x170)],_0x54d2d5['endOffset']),'endOffset':Math[_0x4842d1(0x161)](_0x54d2d5[_0x4842d1(0x170)],_0x54d2d5[_0x4842d1(0x13a)])};}function _0x50ed22(_0x4f82ff,_0x72358e,_0x4a6c41,_0xce4142){const _0x5a7c85=_0x754d11;let _0x3880e3=_0x4f82ff['get'](_0xce0fe7[_0x5a7c85(0x13e)]),_0x499abd=_0x4a6c41[_0x5a7c85(0x199)]('=')?_0x4a6c41[_0x5a7c85(0x168)](0x1):_0x4a6c41,_0x186955=_0x3880e3[_0x5a7c85(0x183)](_0x499abd);if(!_0x186955)return null;let _0x5e997e=_0x4f82ff[_0x5a7c85(0x14f)](_0x27ed60[_0x5a7c85(0x160)]),_0x1c37fb=(0x0,_0x27ed60[_0x5a7c85(0x225)])({'qualifiers':(0x0,_0x27ed60['collectFormulaExternalReferenceQualifiers'])(_0x186955),'explicitReferences':_0xce4142??[],'resolveBinding':_0x4bbcbf=>_0x5e997e[_0x5a7c85(0x17f)](_0x72358e,_0x4bbcbf)});return _0x1c37fb['status']===_0x5a7c85(0x1a2)?_0x1c37fb['references']:null;}function _0x3f76d3(_0x25d031,_0x32241e,_0x3bdd9a){const _0x32cc65=_0x754d11;var _0x416109;let _0x175ed3=(0x0,_0x3ad0ce[_0x32cc65(0x1e8)])(0x6);for(;_0x25d031!=null&&(_0x416109=_0x25d031['customRanges'])!=null&&_0x416109[_0x32cc65(0x18b)](_0x5b5768=>_0x5b5768['rangeId']===_0x175ed3)||_0x32241e['getFormula'](_0x3bdd9a,_0x175ed3);)_0x175ed3=(0x0,_0x3ad0ce['generateRandomId'])(0x6);return _0x175ed3;}function _0x2d32d3(_0x2a78fb){try{return _0x2a913d(_0x2a78fb);}catch(_0x1d1088){if(_0x1d1088 instanceof _0x471f6f)return null;throw _0x1d1088;}}function _0x1c6031(_0xf5b57b){const _0x32c432=_0x754d11;let _0x2df47a=_0xf5b57b['previousDocumentData']&&_0xf5b57b[_0x32c432(0x141)]?_0x1009a5(_0xf5b57b[_0x32c432(0x101)],_0xf5b57b[_0x32c432(0x231)],_0xf5b57b[_0x32c432(0x140)],_0xf5b57b[_0x32c432(0x141)],_0xf5b57b['cursorOffset'],_0xf5b57b['trigger']):null;return _0xf5b57b[_0x32c432(0x140)]&&_0xf5b57b[_0x32c432(0x141)]&&!_0x2df47a?null:{'documentRedo':_0x2df47a,'resourceRedo':{'id':_0x3db73a['id'],'params':{'unitId':_0xf5b57b[_0x32c432(0x231)],'resource':_0xf5b57b['nextResource']}},'resourceUndo':{'id':_0x3db73a['id'],'params':{'unitId':_0xf5b57b['unitId'],'resource':_0xf5b57b[_0x32c432(0x213)]}}};}function _0x52b8f4(_0x8390b1,_0x5b9c94,_0x153d6a,_0x4b2c12){const _0x56069b=_0x754d11;_0x4b2c12['pushUndoRedo']({'id':_0x8390b1[_0x56069b(0x1ac)]+':'+_0x8390b1[_0x56069b(0x230)],'unitID':_0x8390b1[_0x56069b(0x231)],'redoMutations':[..._0x8390b1[_0x56069b(0x10c)][_0x56069b(0x174)]?[_0x8390b1[_0x56069b(0x10c)]['redoMutation']]:[],..._0x5b9c94['documentRedo']?[_0x5b9c94[_0x56069b(0x1c9)]]:[],_0x5b9c94[_0x56069b(0x124)]],'undoMutations':[_0x5b9c94['resourceUndo'],..._0x153d6a?[_0x153d6a]:[],..._0x8390b1[_0x56069b(0x10c)][_0x56069b(0x14b)]?[_0x8390b1[_0x56069b(0x10c)][_0x56069b(0x14b)]]:[]]});}function _0x29c804(_0x133e2f){const _0xf2d4c6=_0x754d11;let _0x347101=_0x133e2f[_0xf2d4c6(0x1ec)][_0xf2d4c6(0x14f)](_0x3ad0ce[_0xf2d4c6(0x157)]),_0x5813bb=_0x133e2f['accessor']['get'](_0x3ad0ce['IUndoRedoService']),_0x109fc5=_0x133e2f[_0xf2d4c6(0x1ec)][_0xf2d4c6(0x14f)](_0xe8b14d['DocSelectionManagerService']),_0x48d899=_0x1c6031(_0x133e2f);if(!_0x48d899)return!0x1;let _0x52c9bb=!0x1,_0x1d4a6d=null,_0x577a5a=!0x1;try{if(_0x133e2f[_0xf2d4c6(0x10c)][_0xf2d4c6(0x174)]){if(!_0x347101[_0xf2d4c6(0x1d9)](_0x133e2f['externalMutations'][_0xf2d4c6(0x174)]['id'],_0x133e2f[_0xf2d4c6(0x10c)][_0xf2d4c6(0x174)][_0xf2d4c6(0x21b)]))return!0x1;_0x52c9bb=!0x0;}if(_0x48d899[_0xf2d4c6(0x1c9)]){let _0x1f9d48=_0x347101['syncExecuteCommand'](_0x48d899[_0xf2d4c6(0x1c9)]['id'],_0x48d899[_0xf2d4c6(0x1c9)][_0xf2d4c6(0x21b)]);if(!_0x1f9d48)return _0x22a54f(_0x347101,_0x133e2f[_0xf2d4c6(0x10c)],_0x52c9bb),!0x1;_0x1d4a6d={'id':_0xe8b14d['RichTextEditingMutation']['id'],'params':{..._0x1f9d48,'noHistory':!0x0,'noNeedSetTextRange':!0x0,'segmentId':''}};}if(!_0x347101[_0xf2d4c6(0x1d9)](_0x48d899[_0xf2d4c6(0x124)]['id'],_0x48d899['resourceRedo'][_0xf2d4c6(0x21b)]))return _0x58b000(_0x347101,_0x1d4a6d),_0x22a54f(_0x347101,_0x133e2f[_0xf2d4c6(0x10c)],_0x52c9bb),!0x1;_0x577a5a=!0x0,_0x52b8f4(_0x133e2f,_0x48d899,_0x1d4a6d,_0x5813bb);}catch(_0x394eee){throw _0x577a5a&&_0x347101['syncExecuteCommand'](_0x48d899[_0xf2d4c6(0x1ba)]['id'],_0x48d899[_0xf2d4c6(0x1ba)][_0xf2d4c6(0x21b)]),_0x58b000(_0x347101,_0x1d4a6d),_0x22a54f(_0x347101,_0x133e2f[_0xf2d4c6(0x10c)],_0x52c9bb),_0x394eee;}return _0x109fc5[_0xf2d4c6(0x222)]([{'startOffset':_0x133e2f[_0xf2d4c6(0x22d)],'endOffset':_0x133e2f[_0xf2d4c6(0x22d)],'segmentId':''}],{'unitId':_0x133e2f[_0xf2d4c6(0x231)],'subUnitId':_0x133e2f[_0xf2d4c6(0x231)]},!0x1,{[_0xe8b14d[_0xf2d4c6(0x218)]]:!0x0}),!0x0;}function _0x1009a5(_0x2d4e0e,_0x1954f4,_0x4096a2,_0x122355,_0x537de5,_0xb5539b){const _0x56ca0c=_0x754d11;let _0x327b2e=_0x15be00(_0x4096a2,_0x122355,(0x0,_0x3ad0ce[_0x56ca0c(0x1dc)])(_0x2d4e0e,''));return _0x327b2e?{'id':_0xe8b14d[_0x56ca0c(0x154)]['id'],'params':{'unitId':_0x1954f4,'actions':_0x327b2e,'segmentId':'','textRanges':[{'startOffset':_0x537de5,'endOffset':_0x537de5,'collapsed':!0x0,'segmentId':''}],'isEditing':!0x1,'noHistory':!0x0,'noNeedSetTextRange':!0x0,'trigger':_0xb5539b}}:null;}function _0x58b000(_0x27ab4a,_0x2db17f){const _0x306d2d=_0x754d11;_0x2db17f&&_0x27ab4a[_0x306d2d(0x1d9)](_0x2db17f['id'],_0x2db17f['params']);}function _0x22a54f(_0x36ee23,_0x14699c,_0x14b729){const _0x64e1d=_0x754d11;_0x14b729&&_0x14699c[_0x64e1d(0x14b)]&&_0x36ee23['syncExecuteCommand'](_0x14699c[_0x64e1d(0x14b)]['id'],_0x14699c[_0x64e1d(0x14b)][_0x64e1d(0x21b)]);}function _0x15be00(_0x25e4ed,_0x477bd6,_0x23c625){const _0x240c3b=_0x754d11;let _0x5b96e2=_0x25e4ed['body'],_0x3552dd=_0x477bd6[_0x240c3b(0xf0)],_0x27b687=_0x3882f8(_0x5b96e2==null?void 0x0:_0x5b96e2[_0x240c3b(0x14c)],_0x3552dd==null?void 0x0:_0x3552dd['dataStream']);if(!_0x27b687||!_0x3552dd)return null;let _0x311787=new _0x3ad0ce[(_0x240c3b(0x147))]();return _0x311787[_0x240c3b(0x1e6)](_0x27b687[_0x240c3b(0x132)]),_0x27b687[_0x240c3b(0x1d8)]>0x0&&_0x311787[_0x240c3b(0x1fe)](_0x27b687[_0x240c3b(0x1d8)],(0x0,_0x3ad0ce[_0x240c3b(0x227)])(_0x3552dd,_0x27b687[_0x240c3b(0x132)],_0x27b687[_0x240c3b(0x132)]+_0x27b687[_0x240c3b(0x1d8)],!0x1)),_0x27b687['deleteLength']>0x0&&_0x311787['delete'](_0x27b687[_0x240c3b(0x236)]),_0x3ad0ce[_0x240c3b(0x20c)]['getInstance']()['editOp'](_0x311787[_0x240c3b(0x16f)](),_0x23c625);}function _0x3882f8(_0x15dc3d,_0x41e617){const _0x6f7345=_0x754d11;if(_0x15dc3d==null||_0x41e617==null||_0x15dc3d===_0x41e617)return null;let _0x519cdb=0x0;for(;_0x519cdb<_0x15dc3d['length']&&_0x519cdb<_0x41e617[_0x6f7345(0x150)]&&_0x15dc3d[_0x519cdb]===_0x41e617[_0x519cdb];)_0x519cdb+=0x1;let _0x14cf01=_0x15dc3d[_0x6f7345(0x150)],_0x40279f=_0x41e617['length'];for(;_0x14cf01>_0x519cdb&&_0x40279f>_0x519cdb&&_0x15dc3d[_0x14cf01-0x1]===_0x41e617[_0x40279f-0x1];)--_0x14cf01,--_0x40279f;return{'start':_0x519cdb,'deleteLength':_0x14cf01-_0x519cdb,'insertLength':_0x40279f-_0x519cdb};}function _0x351b6a(_0x209262){const _0x3cb2e1=_0x754d11;return{'schemaVersion':0x1,'formulas':Object[_0x3cb2e1(0x217)](Object[_0x3cb2e1(0x1e0)](_0x209262[_0x3cb2e1(0x162)])[_0x3cb2e1(0x184)](([_0x3edd32,_0x161817])=>[_0x3edd32,{..._0x161817,..._0x161817[_0x3cb2e1(0x1ad)]?{'numberFormat':{..._0x161817[_0x3cb2e1(0x1ad)]}}:null,..._0x161817[_0x3cb2e1(0x14e)]?{'lastValue':{..._0x161817[_0x3cb2e1(0x14e)]}}:null}]))};}let _0x841e44=class extends _0x3ad0ce['Disposable']{constructor(_0x4d86c7,_0xf9631d,_0x5ab3da,_0x24197d){const _0x245293=_0x754d11;super(),this['_instanceService']=_0x4d86c7,this['_commandService']=_0xf9631d,this[_0x245293(0x119)]=_0x5ab3da,this[_0x245293(0x177)]=_0x24197d,_0x4fce06(this,_0x245293(0x138),new Set()),_0x4fce06(this,'_syncScheduled',!0x1),_0x4fce06(this,_0x245293(0x190),!0x1),this[_0x245293(0x1e1)][_0x245293(0x15b)](_0x3ad0ce[_0x245293(0x1c6)][_0x245293(0x10b)])[_0x245293(0x19d)](_0xb9ed08=>this[_0x245293(0x177)][_0x245293(0x134)](_0xb9ed08)),this[_0x245293(0x1aa)](this[_0x245293(0x119)][_0x245293(0x1fb)][_0x245293(0x20d)](({unitId:_0x458cc5})=>this['_syncUnit'](_0x458cc5))),this['disposeWithMe'](this[_0x245293(0x1e1)][_0x245293(0x126)][_0x245293(0x20d)](({unit:_0x1aeb39})=>{const _0x9f0498=_0x245293;_0x1aeb39[_0x9f0498(0x121)]===_0x3ad0ce[_0x9f0498(0x1c6)][_0x9f0498(0x10b)]&&this[_0x9f0498(0x1a1)](_0x1aeb39[_0x9f0498(0x1a8)]());})),this[_0x245293(0x1aa)](this['_instanceService'][_0x245293(0x16e)][_0x245293(0x20d)](_0x19154b=>{const _0x1771b7=_0x245293;this[_0x1771b7(0x177)][_0x1771b7(0x1a9)](_0x19154b[_0x1771b7(0x1a8)]());})),this[_0x245293(0x1aa)](this['_commandService'][_0x245293(0x232)](_0x1a6b62=>{const _0x5b7ad1=_0x245293;if(_0x1a6b62['id']===_0xe8b14d[_0x5b7ad1(0x154)]['id']&&_0x491e33(_0x1a6b62['params'])){let _0x1b5ae5=_0x1a6b62['params'];_0x1b5ae5[_0x5b7ad1(0x234)]||this[_0x5b7ad1(0x20e)](_0x1b5ae5[_0x5b7ad1(0x231)]);}}));}['dispose'](){const _0x27ea91=_0x754d11;this[_0x27ea91(0x190)]=!0x0,super[_0x27ea91(0x202)]();}[_0x754d11(0x1a1)](_0x367a6a){const _0x2663ba=_0x754d11;this['_pendingUnitIds'][_0x2663ba(0x1d7)](_0x367a6a),!this[_0x2663ba(0x12c)]&&(this[_0x2663ba(0x12c)]=!0x0,queueMicrotask(()=>{const _0x4d08c2=_0x2663ba;if(this['_syncScheduled']=!0x1,this[_0x4d08c2(0x190)])return;let _0x4f3ef2=Array['from'](this[_0x4d08c2(0x138)]);this['_pendingUnitIds']['clear'](),_0x4f3ef2[_0x4d08c2(0x19d)](_0x5cd954=>this[_0x4d08c2(0x20e)](_0x5cd954));}));}[_0x754d11(0x20e)](_0x3895a2){const _0x49bf5b=_0x754d11;let _0x5aaccf=this[_0x49bf5b(0x1e1)][_0x49bf5b(0xfe)](_0x3895a2,_0x3ad0ce['UniverInstanceType'][_0x49bf5b(0x10b)]);_0x5aaccf&&this[_0x49bf5b(0x177)][_0x49bf5b(0x134)](_0x5aaccf);}};_0x841e44=_0x2f1059([_0x54abe0(0x0,_0x3ad0ce['IUniverInstanceService']),_0x54abe0(0x1,_0x3ad0ce['ICommandService']),_0x54abe0(0x2,(0x0,_0x3ad0ce[_0x754d11(0x104)])(_0x46f2a0)),_0x54abe0(0x3,(0x0,_0x3ad0ce[_0x754d11(0x104)])(_0x20a44b))],_0x841e44);function _0x491e33(_0xc8a81d){const _0x1ae096=_0x754d11;return typeof _0xc8a81d==_0x1ae096(0x1d5)&&!!_0xc8a81d&&_0x1ae096(0x231)in _0xc8a81d&&typeof _0xc8a81d[_0x1ae096(0x231)]=='string'&&(!(_0x1ae096(0x234)in _0xc8a81d)||_0xc8a81d['segmentId']===void 0x0||typeof _0xc8a81d[_0x1ae096(0x234)]==_0x1ae096(0x188));}let _0x573977=class extends _0x3ad0ce['Disposable']{constructor(_0x249b5e,_0x14f0c0){const _0x47a6f5=_0x754d11;super(),this[_0x47a6f5(0x10d)]=_0x249b5e,this[_0x47a6f5(0x1ae)]=_0x14f0c0,this[_0x47a6f5(0x1aa)](this[_0x47a6f5(0x10d)][_0x47a6f5(0x1e7)]({'pluginName':_0x959d06,'businesses':[_0x3ad0ce[_0x47a6f5(0x1c6)]['UNIVER_DOC']],'toJson':_0x5a555f=>JSON['stringify'](this[_0x47a6f5(0x1ae)][_0x47a6f5(0x16f)](_0x5a555f)),'parseJson':_0x234777=>JSON[_0x47a6f5(0x235)](_0x234777),'onLoad':(_0x1d3818,_0x540e98)=>{const _0x5b14db=_0x47a6f5;this[_0x5b14db(0x1ae)][_0x5b14db(0x206)](_0x1d3818,_0x540e98);},'onUnLoad':_0x245adb=>this[_0x47a6f5(0x1ae)]['removeUnit'](_0x245adb)}));}};_0x573977=_0x2f1059([_0x54abe0(0x0,_0x3ad0ce[_0x754d11(0x18c)]),_0x54abe0(0x1,(0x0,_0x3ad0ce['Inject'])(_0x46f2a0))],_0x573977);var _0x13460d=_0x754d11(0x1a5),_0x18c596='1.0.1';let _0x2f8a9f={},_0x4ec3b4=class extends _0x3ad0ce[_0x754d11(0xf3)]{constructor(_0x1c261d,_0x4d3cd9,_0x62211){const _0x56e074=_0x754d11;super(),this[_0x56e074(0x159)]=_0x1c261d,this[_0x56e074(0x15f)]=_0x4d3cd9,this[_0x56e074(0x1aa)](_0x62211[_0x56e074(0xf2)]({'resolve':(_0x31a957,_0xc75f20)=>{const _0x47352f=_0x56e074;var _0x8d0ea;return((_0x8d0ea=_0xc75f20[_0x47352f(0x1b7)])==null?void 0x0:_0x8d0ea[_0x47352f(0x137)](_0x2ea921)[_0x47352f(0x184)](_0x135f0d=>({'startOffset':_0x135f0d[_0x47352f(0xfa)],'endOffset':_0x135f0d[_0x47352f(0x220)]+0x1,'text':this['resolveFormula'](_0x31a957,_0x135f0d['rangeId'])})))??[];}})),this['disposeWithMe'](this['_formulaService'][_0x56e074(0x1cc)][_0x56e074(0x20d)](({unitId:_0x50cf57})=>{const _0x2a19df=_0x56e074;_0x62211[_0x2a19df(0x148)](_0x50cf57);}));}[_0x754d11(0x219)](_0xa2ef8c,_0x5596bd){const _0x3b1e18=_0x754d11;var _0x4a6180;return((_0x4a6180=this[_0x3b1e18(0x15f)]['getResult']({'unitId':_0xa2ef8c,'rangeId':_0x5596bd}))==null?void 0x0:_0x4a6180['text'])??'';}[_0x754d11(0x1a6)](_0x183fca,_0xcb27ff,_0x12d903){const _0x588186=_0x754d11;var _0x49106d;let _0x63cbbf=this[_0x588186(0x159)]['getUnit'](_0x183fca,_0x3ad0ce[_0x588186(0x1c6)][_0x588186(0x10b)]),_0x102652=_0x63cbbf==null?void 0x0:_0x63cbbf[_0x588186(0x135)]();if(!_0x102652)return'';let _0xa1b1e6=_0x102652[_0x588186(0x14c)][_0x588186(0x168)](_0xcb27ff,_0x12d903),_0x2ed59d=((_0x49106d=_0x102652[_0x588186(0x1b7)])==null?void 0x0:_0x49106d[_0x588186(0x137)](_0x5395fe=>_0x2ea921(_0x5395fe)&&_0x5395fe[_0x588186(0xfa)]>=_0xcb27ff&&_0x5395fe[_0x588186(0x220)]<_0x12d903)[_0x588186(0x1f1)]((_0xddbc5e,_0x564ef4)=>_0x564ef4[_0x588186(0xfa)]-_0xddbc5e[_0x588186(0xfa)]))??[];for(let _0x58b48f of _0x2ed59d){let _0x32d438=_0x58b48f[_0x588186(0xfa)]-_0xcb27ff,_0x496171=_0x58b48f['endIndex']-_0xcb27ff+0x1;_0xa1b1e6=''+_0xa1b1e6[_0x588186(0x168)](0x0,_0x32d438)+this[_0x588186(0x219)](_0x183fca,_0x58b48f[_0x588186(0x230)])+_0xa1b1e6[_0x588186(0x168)](_0x496171);}return _0xa1b1e6;}[_0x754d11(0xf8)](_0x16f311){return _0xca32cb(_0x16f311);}['degradeBody'](_0x339a9a,_0x5ae85d,_0x4386a8={}){const _0xdd25a1=_0x754d11;var _0x4af93d;return _0x1fb233({'id':_0x339a9a,'body':_0x5ae85d,'documentStyle':{}},(((_0x4af93d=_0x5ae85d[_0xdd25a1(0x1b7)])==null?void 0x0:_0x4af93d[_0xdd25a1(0x137)](_0x2ea921))??[])[_0xdd25a1(0x184)](_0x2ea464=>({'rangeId':_0x2ea464['rangeId'],'text':_0x4386a8[_0x2ea464[_0xdd25a1(0x230)]]??this['resolveFormula'](_0x339a9a,_0x2ea464[_0xdd25a1(0x230)])})))[_0xdd25a1(0xf0)]??{'dataStream':''};}};_0x4ec3b4=_0x2f1059([_0x54abe0(0x0,_0x3ad0ce[_0x754d11(0x1c1)]),_0x54abe0(0x1,(0x0,_0x3ad0ce[_0x754d11(0x104)])(_0x20a44b)),_0x54abe0(0x2,(0x0,_0x3ad0ce[_0x754d11(0x104)])(_0xe8b14d[_0x754d11(0x12d)]))],_0x4ec3b4);function _0xca32cb(_0x3c3bfe){const _0x3717b2=_0x754d11;var _0x263dd6,_0xa7b13f;let _0xc36412=_0x2a46e4(_0x3c3bfe),_0x3364ad=_0x1fb233(_0x3c3bfe,(((_0x263dd6=_0x3c3bfe[_0x3717b2(0xf0)])==null||(_0x263dd6=_0x263dd6[_0x3717b2(0x1b7)])==null?void 0x0:_0x263dd6['filter'](_0x2ea921))??[])[_0x3717b2(0x184)](_0x22b012=>({'rangeId':_0x22b012[_0x3717b2(0x230)],'text':_0x345a78(_0xc36412==null?void 0x0:_0xc36412[_0x3717b2(0x162)][_0x22b012['rangeId']])})));return _0x3364ad[_0x3717b2(0x120)]=(_0xa7b13f=_0x3364ad['resources'])==null?void 0x0:_0xa7b13f[_0x3717b2(0x137)](_0x311036=>_0x311036[_0x3717b2(0x117)]!==_0x959d06),_0x3364ad;}function _0x2a46e4(_0x24ea26){const _0x48a5ce=_0x754d11;var _0x516a03;let _0x13486b=(_0x516a03=_0x24ea26['resources'])==null||(_0x516a03=_0x516a03[_0x48a5ce(0x1d3)](_0x6bf995=>_0x6bf995[_0x48a5ce(0x117)]===_0x48a5ce(0x179)))==null?void 0x0:_0x516a03[_0x48a5ce(0x1b3)];if(_0x13486b)try{let _0x4fe22e=JSON[_0x48a5ce(0x235)](_0x13486b);return _0x1b1cdf(_0x4fe22e)?_0x4fe22e:void 0x0;}catch{return;}}function _0x345a78(_0x29d5a7){const _0x250bf0=_0x754d11;return _0x29d5a7?(0x0,_0x27ed60[_0x250bf0(0x1d1)])({'lastValue':_0x29d5a7[_0x250bf0(0x14e)],'numberFormat':_0x29d5a7[_0x250bf0(0x1ad)]})[_0x250bf0(0x15c)]:'';}let _0x5a43fc=class extends _0x3ad0ce[_0x754d11(0xf3)]{constructor(_0x51d196,_0x2ad542,_0x56b65c){const _0x3248fa=_0x754d11;super(),this[_0x3248fa(0x15f)]=_0x51d196,this['_cacheEligibilityService']=_0x2ad542,this[_0x3248fa(0x1aa)](_0x56b65c[_0x3248fa(0x107)](this));}[_0x754d11(0x15d)](_0x23b40a){const _0x3498ae=_0x754d11;let _0x4d75d1=new Map();for(let _0x2aee38 of this[_0x3498ae(0x15f)][_0x3498ae(0x1e5)]()){var _0x2018d2;if(!this[_0x3498ae(0x14a)][_0x3498ae(0x1f3)](_0x2aee38[_0x3498ae(0x1bb)][_0x3498ae(0x16b)],_0x2aee38[_0x3498ae(0x205)])[_0x3498ae(0x216)])continue;let _0x584b18=(0x0,_0x27ed60[_0x3498ae(0x21c)])(_0x2aee38['liveResult']),_0x265f04=_0x584b18?(0x0,_0x27ed60[_0x3498ae(0x214)])(_0x584b18):null;if(!_0x265f04||_0x18ab00(_0x2aee38[_0x3498ae(0x1bb)][_0x3498ae(0x14e)],_0x265f04))continue;let _0xaf8a05=_0x4d75d1[_0x3498ae(0x14f)](_0x2aee38[_0x3498ae(0x1b0)][_0x3498ae(0x231)])??[];_0xaf8a05['push']({'rangeId':_0x2aee38[_0x3498ae(0x1b0)][_0x3498ae(0x230)],'expectedFormula':_0x2aee38[_0x3498ae(0x1bb)][_0x3498ae(0x16b)],'expectedNumberFormat':(_0x2018d2=_0x2aee38[_0x3498ae(0x1bb)][_0x3498ae(0x1ad)])==null?void 0x0:_0x2018d2[_0x3498ae(0x13f)],'expectedReferenceRevision':_0x2aee38[_0x3498ae(0x1fd)],'lastValue':_0x265f04}),_0x4d75d1[_0x3498ae(0x1ea)](_0x2aee38[_0x3498ae(0x1b0)]['unitId'],_0xaf8a05);}return Array['from'](_0x4d75d1,([_0x118459,_0x298a92])=>({'id':_0x3618d4['id'],'params':{'unitId':_0x118459,'updates':_0x298a92}}));}};_0x5a43fc=_0x2f1059([_0x54abe0(0x0,(0x0,_0x3ad0ce[_0x754d11(0x104)])(_0x20a44b)),_0x54abe0(0x1,(0x0,_0x3ad0ce[_0x754d11(0x104)])(_0x27ed60[_0x754d11(0x165)])),_0x54abe0(0x2,(0x0,_0x3ad0ce[_0x754d11(0x104)])(_0x27ed60[_0x754d11(0x122)]))],_0x5a43fc);function _0x18ab00(_0x19b2d0,_0xca958f){const _0x5cba05=_0x754d11;return(_0x19b2d0==null?void 0x0:_0x19b2d0['v'])===_0xca958f['v']&&(_0x19b2d0==null?void 0x0:_0x19b2d0['t'])===_0xca958f['t']&&(_0x19b2d0==null?void 0x0:_0x19b2d0[_0x5cba05(0x13f)])===_0xca958f[_0x5cba05(0x13f)];}let _0x429a18=class extends _0x3ad0ce[_0x754d11(0x1b2)]{constructor(_0x180da7=_0x2f8a9f,_0x3aa989,_0x3ea98d,_0x2650f8){const _0x3a1860=_0x754d11;super(),this[_0x3a1860(0x171)]=_0x180da7,this[_0x3a1860(0x156)]=_0x3aa989,this[_0x3a1860(0x1bf)]=_0x3ea98d,this['_configService']=_0x2650f8;let {..._0x4c8beb}=(0x0,_0x3ad0ce[_0x3a1860(0x18d)])({},_0x2f8a9f,this[_0x3a1860(0x171)]);this[_0x3a1860(0x10a)][_0x3a1860(0x1f7)](_0x3a1860(0x1fc),_0x4c8beb);}[_0x754d11(0x208)](){const _0x3bea5a=_0x754d11;this[_0x3bea5a(0x156)][_0x3bea5a(0x1d7)]([_0x46f2a0]),this[_0x3bea5a(0x156)][_0x3bea5a(0x1d7)]([_0x20a44b]),this[_0x3bea5a(0x156)][_0x3bea5a(0x1d7)]([_0x573977]),this['_injector'][_0x3bea5a(0x1d7)]([_0x841e44]),this[_0x3bea5a(0x156)]['add']([_0x5a43fc]),this[_0x3bea5a(0x156)][_0x3bea5a(0x1d7)]([_0x4ec3b4]),(0x0,_0x3ad0ce[_0x3bea5a(0x19c)])(this[_0x3bea5a(0x156)],[[_0x46f2a0],[_0x573977],[_0x841e44],[_0x5a43fc],[_0x4ec3b4]]),[_0x4ce42c,_0x27e5d8,_0x3db73a,_0x3618d4,_0x28c79d,_0x4b3299,_0x1dcb18,_0x4dc2c7,_0x550e48,_0x2d94b4]['forEach'](_0x3e2899=>this[_0x3bea5a(0x1aa)](this['_commandService'][_0x3bea5a(0x22c)](_0x3e2899)));}};_0x4fce06(_0x429a18,'pluginName',_0x959d06),_0x4fce06(_0x429a18,'packageName',_0x13460d),_0x4fce06(_0x429a18,_0x754d11(0x1c0),_0x18c596),_0x4fce06(_0x429a18,_0x754d11(0x121),_0x3ad0ce[_0x754d11(0x1c6)][_0x754d11(0x10b)]),_0x429a18=_0x2f1059([(0x0,_0x3ad0ce[_0x754d11(0x129)])(_0x3ebd32[_0x754d11(0x1d2)],_0x27ed60['UniverProFormulaEnginePlugin'],_0xe8b14d['UniverDocsPlugin']),_0x54abe0(0x1,(0x0,_0x3ad0ce[_0x754d11(0x104)])(_0x3ad0ce['Injector'])),_0x54abe0(0x2,_0x3ad0ce[_0x754d11(0x157)]),_0x54abe0(0x3,_0x3ad0ce[_0x754d11(0x1f6)])],_0x429a18),_0x415d22[_0x754d11(0x17d)]=_0x2d94b4,_0x415d22[_0x754d11(0x1f0)]=_0x13f145,_0x415d22[_0x754d11(0x1e3)]='',_0x415d22[_0x754d11(0x179)]=_0x959d06,_0x415d22['DOC_FORMULA_SCHEMA_VERSION']=0x1,Object[_0x754d11(0x11f)](_0x415d22,_0x754d11(0x105),{'enumerable':!0x0,'get':function(){return _0x4ec3b4;}}),Object[_0x754d11(0x11f)](_0x415d22,'DocFormulaLifecycleController',{'enumerable':!0x0,'get':function(){return _0x841e44;}}),_0x415d22[_0x754d11(0x112)]=_0x46f2a0,Object[_0x754d11(0x11f)](_0x415d22,_0x754d11(0x1fa),{'enumerable':!0x0,'get':function(){return _0x573977;}}),_0x415d22[_0x754d11(0x1a7)]=_0x26d030,Object['defineProperty'](_0x415d22,'DocFormulaService',{'enumerable':!0x0,'get':function(){return _0x20a44b;}}),_0x415d22['InsertDocFormulaCommand']=_0x28c79d,_0x415d22['InvalidDocFormulaInsertRangeError']=_0x471f6f,_0x415d22[_0x754d11(0x233)]=_0x4dc2c7,_0x415d22[_0x754d11(0x21f)]=_0x27e5d8,_0x415d22[_0x754d11(0x1be)]=_0x550e48,_0x415d22[_0x754d11(0xf7)]=_0x3618d4,_0x415d22[_0x754d11(0x136)]=_0x4ce42c,_0x415d22[_0x754d11(0x169)]=_0x1dcb18,_0x415d22[_0x754d11(0x18f)]=_0x3db73a,Object[_0x754d11(0x11f)](_0x415d22,_0x754d11(0x106),{'enumerable':!0x0,'get':function(){return _0x429a18;}}),_0x415d22[_0x754d11(0x185)]=_0x4b3299,_0x415d22[_0x754d11(0x166)]=_0x216280,_0x415d22['buildInsertDocFormulaActions']=_0x2a913d,_0x415d22[_0x754d11(0x1bd)]=_0x2dc10f,_0x415d22['buildUpdateDocFormulaActions']=_0x40505e,_0x415d22[_0x754d11(0x1cd)]=_0x2dd373,_0x415d22[_0x754d11(0x113)]=_0xca32cb,_0x415d22[_0x754d11(0x13b)]=_0x4001d5,_0x415d22[_0x754d11(0x1cf)]=_0x14ba05,_0x415d22['isDocFormulaRange']=_0x2ea921,_0x415d22[_0x754d11(0xf5)]=_0x1b1cdf,_0x415d22['isFormulaLastValue']=_0x590ba7;}));
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@univerjs-pro/docs-formula",
3
- "version": "1.0.0",
3
+ "version": "1.0.1",
4
4
  "private": false,
5
5
  "description": "Inline data formula model integration for Univer Docs.",
6
6
  "author": "DreamNum Co., Ltd. <developer@univer.ai>",
@@ -61,15 +61,15 @@
61
61
  "rxjs": ">=7.0.0"
62
62
  },
63
63
  "dependencies": {
64
- "@univerjs-pro/engine-formula": "1.0.0",
65
- "@univerjs-pro/license": "1.0.0",
66
- "@univerjs/core": "1.0.0",
67
- "@univerjs/docs": "1.0.0",
68
- "@univerjs/engine-formula": "1.0.0"
64
+ "@univerjs-pro/engine-formula": "1.0.1",
65
+ "@univerjs-pro/license": "1.0.1",
66
+ "@univerjs/core": "1.0.1",
67
+ "@univerjs/docs": "1.0.1",
68
+ "@univerjs/engine-formula": "1.0.1"
69
69
  },
70
70
  "devDependencies": {
71
- "@univerjs-infra/shared": "1.0.0",
72
- "@univerjs/engine-render": "1.0.0",
71
+ "@univerjs-infra/shared": "1.0.1",
72
+ "@univerjs/engine-render": "1.0.1",
73
73
  "rxjs": "7.8.2",
74
74
  "typescript": "^6.0.3",
75
75
  "vitest": "^5.0.0"