@univerjs-pro/docs-formula 1.0.4 → 1.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/lib/umd/index.js CHANGED
@@ -1 +1 @@
1
- function _0x6417(_0x35ff07,_0xd4b2bd){_0x35ff07=_0x35ff07-0xa7;const _0x2ec900=_0x2ec9();let _0x64174c=_0x2ec900[_0x35ff07];return _0x64174c;}function _0x2ec9(){const _0x1da830=['CUSTOM_BLOCK','paragraphs','FormulaResultStatus','getScalarFormulaResultCell','object','_formulaKeys','40RrhLzl','range','docs-formula.mutation.set-formula','formulaId','disabled','forEach','disposeWithMe','find','endOffset','isDocFormulaResource','Module','segmentId','_loadErrors','liveResult','defineProperty','buildUpdateDocFormulaActions','@univerjs-pro/license','blockRanges','source','paragraph','change$','IConfigService','TABLE_CELL_END','Inject','getRevision','_config','Disposable','UniverProFormulaEnginePlugin','3575789fKgkyC','stale','columnGroups','redoMutation','rxjs','isInteger','_change$','keys','endsWith','_univerInstanceService','pushUndoRedo','getPresentation','externalReferences','startOffset','symbol','getCustomRangeInterval','load','documentData','getLoadError','buildUpsertHostExternalReferenceMutations','nextResource','SetDocFormulaLastValuesMutation','DocFormulaLifecycleController','UniverDocsPlugin','properties','Tools','call','unitAdded$','UNIVER_DOC','paragraphId','resourceRedo','resource','docs-formula.command.insert','unitDisposed$','CustomRangeType','10yLRvar','UniverLicensePlugin','position','getFormulas','touchDependencies','lastValue','unregister','toPrimitive','8qeftSS','docs-formula.command.replace-with-text','delete','resourceUndo','exports','target','resolveText','values','UniverProEngineFormula','_configService','MUTATION','retain','map','data','IUniverInstanceService','removeUnit','_injector','presentationChanged$','registerPluginResource','TABLE_ROW_START','filter','status','_registrations','sectionBreaks','registerFormulaWithRange','_syncScheduled','getTextRanges','complete','every','docs-formula.command.convert-to-text','_preserveInvalid','onStarting','pluginName','deepClone','formulas','startIndex','shiftInclusiveRangeOnDelete','1.0.4','isDocFormulaRange','_presentationChanged$','next','syncUnit','accessor','createEmptyDocFormulaResource','DOC_FORMULA_PLUGIN','documentRedo','assess','docs-formula.mutation.set-resource','_resources','identity','resolveHostFormulaExternalReferences','ReplaceDocFormulaWithTextCommand','_queueSync','color','_deleteRegistration','docs-formula.command.remove','getFormulaValueSync','slice','shiftExclusiveRangeOnDelete','28997WGYqtW','ERROR','deleteLength','push','formula','asObservable','fromEntries','previousDocumentData','iterator','selection','resolved','Plugin','InsertDocFormulaCommand','syncExecuteCommand','_registrationService','getCurrentUnitOfType','isArray','UpdateDocFormulaCommand','externalMutations','UniverEngineFormula','BLOCK_END','serialize','COLUMN_GROUP_START','presentation','undoMutation','DataStreamTreeTokenType','_rawResources','getParagraphContentStartOffset','ConvertDocFormulaToTextCommand','@univerjs/docs','@@toPrimitive\x20must\x20return\x20a\x20primitive\x20value.','get','_docFormulaModel','customRanges','2058YbcZuW','body','type','default','_updateFormulaResult','getUnit','getAllUnitsForType','docs-formula.command.set-number-format','dataStream','customDecorations','DocFormulaService','rangeId','replaceDocRanges','expectedFormula','18272309ihsKXX','DOC_FORMULA_CUSTOM_RANGE_KIND','@univerjs-pro/docs-formula','FormulaCacheEligibilityService','_cacheEligibilityService','prototype','5472042zFLkOj','entries','SECTION_BREAK','PENDING','isFormulaLastValue','editOp','removeFormula','text','degradeDocFormulaDocumentData','_syncUnit','collectFormulaExternalReferenceQualifiers','function','SetDocFormulaNumberFormatCommand','max','from','registerCommand','_resourceManagerService','getResource','setFormulas','numberFormat','parse','UniverCore','constructor','UniverInstanceType','decorate','unregisterUnit','_instanceService','5NpdwaQ','HostExternalReferenceModel','name','document','IResourceManagerService','CUSTOM','success','amd','DependentOn','DocFormulaResourceController','COLUMN_END','resolveBinding','_isDisposed','packageName','7028DZOchs','sort','min','insertLength','_formulaService','resolveFormula','getFormula','setResource','RegisterOtherFormulaService','sequenceNodesBuilder','_commandService','RemoveDocFormulaMutation','register','getUnitId','DocTextResolverService','Injector','findDocFormulaRange','CommandType','getBodySliceForTextXAction','setConfig','getRichTextEditPath','_setPresentation','TABLE_CELL_START','number','COLUMN_START','assertSafeDocFormulaInsertRange','RichTextEditingMutation','Doc\x20Formula\x20range\x20cannot\x20cross\x20document\x20structure\x20boundaries','getBody','schemaVersion','expectedNumberFormat','599463BSrSLB','_model','some','length','JSONX','PARAGRAPH','DOC_FORMULA_OBJECT_REPLACEMENT','docs-formula.config','26927196MWwQZo','shiftInclusiveRangeOnInsert','toStringTag','expectedReferenceRevision','unitId','set','DocFormulaResultStatus','@univerjs-pro/engine-formula','onCommandExecuted','setFormula','CellValueType','start','tables','cursorOffset','univer-docs-formula','previousResource','merge','deleteFormula','has','customBlocks','clear','_pendingUnitIds','toFormulaLastValue','_service','UniverProDocsFormula','getSnapshot','textRuns','getResult','pending','notifyTextChanged','string','DOC','ICommandService','cell','dispose','endIndex','_hostExternalReferenceModel','wholeEntity','UniverDocs','trigger','degradeBody','config','COMMAND','trim','invalid-resource','empty','DOC_SELECTION_OPTION_PRESERVE_CARET','@univerjs/core','LexerTreeBuilder','updates','Subject','TABLE_ROW_END','add','resolveFormulaResultPresentation','nextDocumentData','subscribe','formulaResult$','DocSelectionManagerService','degradeDocumentData','UniverDocsFormulaPlugin','SetDocFormulaResourceMutation','TABLE_START','getRegisteredFormulas','referenceRevision','isDocFormulaConfig','model','startsWith','params','docs-formula.mutation.set-last-values','error','pattern'];_0x2ec9=function(){return _0x1da830;};return _0x2ec9();}(function(_0x2e0f06,_0x3fb341){const _0x2a932b=_0x6417,_0x461693=_0x2e0f06();while(!![]){try{const _0x3caeb0=-parseInt(_0x2a932b(0xc8))/0x1*(parseInt(_0x2a932b(0x1da))/0x2)+-parseInt(_0x2a932b(0xea))/0x3*(parseInt(_0x2a932b(0x127))/0x4)+parseInt(_0x2a932b(0x119))/0x5*(-parseInt(_0x2a932b(0xfe))/0x6)+-parseInt(_0x2a932b(0x1b7))/0x7*(parseInt(_0x2a932b(0x1e2))/0x8)+-parseInt(_0x2a932b(0x146))/0x9*(parseInt(_0x2a932b(0x19b))/0xa)+parseInt(_0x2a932b(0xf8))/0xb+parseInt(_0x2a932b(0x14e))/0xc;if(_0x3caeb0===_0x3fb341)break;else _0x461693['push'](_0x461693['shift']());}catch(_0x3db235){_0x461693['push'](_0x461693['shift']());}}}(_0x2ec9,0xd34df),function(_0x2c026e,_0x261313){const _0x5c1118=_0x6417;typeof exports==_0x5c1118(0x199)&&typeof module<'u'?_0x261313(exports,require('@univerjs-pro/engine-formula'),require('@univerjs/core'),require('@univerjs/docs'),require('@univerjs/engine-formula'),require('rxjs'),require('@univerjs-pro/license')):typeof define=='function'&&define[_0x5c1118(0x120)]?define([_0x5c1118(0x1e6),_0x5c1118(0x155),_0x5c1118(0x17d),_0x5c1118(0xe5),'@univerjs/engine-formula',_0x5c1118(0x1bb),_0x5c1118(0x1ab)],_0x261313):(_0x2c026e=typeof globalThis<'u'?globalThis:_0x2c026e||self,_0x261313(_0x2c026e[_0x5c1118(0x166)]={},_0x2c026e[_0x5c1118(0x1ea)],_0x2c026e[_0x5c1118(0x113)],_0x2c026e[_0x5c1118(0x174)],_0x2c026e[_0x5c1118(0xdb)],_0x2c026e[_0x5c1118(0x1bb)],_0x2c026e['UniverProLicense']));}(this,function(_0x2c87ef,_0x3e6ae0,_0x198dff,_0x440871,_0x54a5ff,_0x104340,_0x51d1a7){const _0x5d1a43=_0x6417;Object['defineProperty'](_0x2c87ef,Symbol[_0x5d1a43(0x150)],{'value':_0x5d1a43(0x1a5)});let _0x477554='DOC_FORMULA_PLUGIN',_0x5af56f=_0x5d1a43(0x15c);function _0x2a5f69(){return{'schemaVersion':0x1,'formulas':{}};}function _0xca39c2(_0x4f1c46){const _0x23077b=_0x5d1a43;return!_0x4f1c46||typeof _0x4f1c46!=_0x23077b(0x199)||!_0x29060d(_0x4f1c46,['schemaVersion','formulas'])||!('schemaVersion'in _0x4f1c46)||_0x4f1c46[_0x23077b(0x144)]!==0x1||!(_0x23077b(0xaf)in _0x4f1c46)||!_0x4f1c46['formulas']||typeof _0x4f1c46[_0x23077b(0xaf)]!=_0x23077b(0x199)||Array[_0x23077b(0xd8)](_0x4f1c46[_0x23077b(0xaf)])?!0x1:Object[_0x23077b(0xff)](_0x4f1c46[_0x23077b(0xaf)])[_0x23077b(0xa9)](([_0x454006,_0x354e3e])=>_0x454006[_0x23077b(0x149)]>0x0&&_0x2c8fdb(_0x354e3e));}function _0x2c8fdb(_0x1730f1){const _0x535b0d=_0x5d1a43;return!_0x1730f1||typeof _0x1730f1!=_0x535b0d(0x199)||!_0x29060d(_0x1730f1,['formula',_0x535b0d(0x111),'lastValue'])||!(_0x535b0d(0xcc)in _0x1730f1)||typeof _0x1730f1[_0x535b0d(0xcc)]!='string'||!_0x1730f1[_0x535b0d(0xcc)][_0x535b0d(0x179)]()||_0x535b0d(0x111)in _0x1730f1&&_0x1730f1['numberFormat']!=null&&(typeof _0x1730f1[_0x535b0d(0x111)]!=_0x535b0d(0x199)||!_0x29060d(_0x1730f1[_0x535b0d(0x111)],[_0x535b0d(0x194)])||!(_0x535b0d(0x194)in _0x1730f1['numberFormat'])||typeof _0x1730f1[_0x535b0d(0x111)][_0x535b0d(0x194)]!=_0x535b0d(0x16c))?!0x1:!(_0x535b0d(0x1df)in _0x1730f1)||_0x1730f1[_0x535b0d(0x1df)]==null||_0x162adb(_0x1730f1['lastValue']);}function _0x162adb(_0x411f57){const _0x180516=_0x5d1a43;return!_0x411f57||typeof _0x411f57!='object'||!_0x29060d(_0x411f57,['v','t',_0x180516(0x194)])||!('v'in _0x411f57)||_0x411f57['v']!==null&&typeof _0x411f57['v']!=_0x180516(0x16c)&&typeof _0x411f57['v']!=_0x180516(0x13e)&&typeof _0x411f57['v']!='boolean'||'t'in _0x411f57&&_0x411f57['t']!=null&&!_0x1037f0(_0x411f57['t'])?!0x1:!(_0x180516(0x194)in _0x411f57)||_0x411f57[_0x180516(0x194)]==null||typeof _0x411f57[_0x180516(0x194)]==_0x180516(0x16c);}function _0x29060d(_0x5d980f,_0x7fcda5){const _0x1d7496=_0x5d1a43;let _0x35fb3d=new Set(_0x7fcda5);return Object[_0x1d7496(0x1be)](_0x5d980f)[_0x1d7496(0xa9)](_0x2a85bb=>_0x35fb3d[_0x1d7496(0x160)](_0x2a85bb));}function _0x1037f0(_0x3cff2c){const _0x1338fe=_0x5d1a43;return typeof _0x3cff2c==_0x1338fe(0x13e)&&Object[_0x1338fe(0x1e9)](_0x198dff[_0x1338fe(0x158)])['includes'](_0x3cff2c);}let _0x3bfb62=new Set([_0x198dff[_0x5d1a43(0xe1)][_0x5d1a43(0x100)],_0x198dff['DataStreamTreeTokenType'][_0x5d1a43(0x18b)],_0x198dff['DataStreamTreeTokenType'][_0x5d1a43(0x1f5)],_0x198dff['DataStreamTreeTokenType'][_0x5d1a43(0x13d)],_0x198dff[_0x5d1a43(0xe1)][_0x5d1a43(0x1b1)],_0x198dff['DataStreamTreeTokenType'][_0x5d1a43(0x181)],_0x198dff[_0x5d1a43(0xe1)]['TABLE_END'],_0x198dff['DataStreamTreeTokenType'][_0x5d1a43(0xde)],_0x198dff[_0x5d1a43(0xe1)][_0x5d1a43(0x13f)],_0x198dff['DataStreamTreeTokenType'][_0x5d1a43(0x123)],_0x198dff[_0x5d1a43(0xe1)]['COLUMN_GROUP_END'],_0x198dff[_0x5d1a43(0xe1)]['BLOCK_START'],_0x198dff[_0x5d1a43(0xe1)][_0x5d1a43(0xdc)],_0x198dff[_0x5d1a43(0xe1)][_0x5d1a43(0x195)]]);var _0x428807=class extends Error{constructor(){const _0x5ee152=_0x5d1a43;super(_0x5ee152(0x142));}};function _0x4452fa(_0x4f7dee){const _0x33918f=_0x5d1a43;var _0x35bd38,_0x58e128;let _0x391297=_0x198dff['Tools']['deepClone'](_0x4f7dee[_0x33918f(0x1c8)]),_0x4dbcae=_0x1c5831(_0x391297),{startOffset:_0xeff387,endOffset:_0x3666de}=_0x193170(_0x4dbcae,_0x4f7dee['startOffset'],_0x4f7dee['endOffset']);_0x1a7f02(_0x4dbcae,_0xeff387,_0x3666de);let _0x31163c=((_0x35bd38=_0x4dbcae['customRanges'])==null?void 0x0:_0x35bd38['filter'](_0x3426ed=>{const _0x1fe13c=_0x33918f;if(!_0x1d4100(_0x3426ed))return!0x1;let _0x5105bc=(0x0,_0x198dff['getCustomRangeInterval'])(_0x3426ed);return _0x5105bc['endOffset']>_0xeff387&&_0x5105bc[_0x1fe13c(0x1c4)]<_0x3666de;})[_0x33918f(0x1ee)](_0x117c53=>_0x117c53[_0x33918f(0xf5)]))??[];_0xf23fd1(_0x4dbcae,_0xeff387,_0x3666de,''),_0x4dbcae[_0x33918f(0xe9)]=[...((_0x58e128=_0x4dbcae[_0x33918f(0xe9)])==null?void 0x0:_0x58e128[_0x33918f(0x1f6)](_0x51a55e=>!_0x31163c['includes'](_0x51a55e[_0x33918f(0xf5)])&&_0x51a55e['rangeId']!==_0x4f7dee[_0x33918f(0xf5)]))??[],_0x2ef4bc(_0x4f7dee[_0x33918f(0xf5)],_0xeff387)][_0x33918f(0x128)]((_0x3b42ab,_0x356c32)=>_0x3b42ab['startIndex']-_0x356c32[_0x33918f(0xb0)]);let _0x362288=_0x14187b(_0x4f7dee[_0x33918f(0x1d6)]);return _0x31163c[_0x33918f(0x1a0)](_0xd2e95a=>{const _0x40afda=_0x33918f;delete _0x362288[_0x40afda(0xaf)][_0xd2e95a];}),_0x362288[_0x33918f(0xaf)][_0x4f7dee[_0x33918f(0xf5)]]=_0x198dff[_0x33918f(0x1d0)]['deepClone'](_0x4f7dee[_0x33918f(0x177)]),{'nextDocumentData':_0x391297,'nextResource':_0x362288,'cursorOffset':_0xeff387+0x1};}function _0x4d5377(_0x13f999){const _0x32dbbd=_0x5d1a43;var _0x3a3518,_0x47dd5b;let _0x2118b1=_0x198dff[_0x32dbbd(0x1d0)][_0x32dbbd(0xae)](_0x13f999[_0x32dbbd(0x1c8)]),_0x378200=(_0x3a3518=_0x1c5831(_0x2118b1)[_0x32dbbd(0xe9)])==null?void 0x0:_0x3a3518['find'](_0x10d4e4=>_0x10d4e4['rangeId']===_0x13f999[_0x32dbbd(0xf5)]&&_0x1d4100(_0x10d4e4));if(!_0x378200||!((_0x47dd5b=_0x13f999[_0x32dbbd(0x1d6)])!=null&&_0x47dd5b[_0x32dbbd(0xaf)][_0x13f999['rangeId']]))return null;let _0x36a8b3=_0x14187b(_0x13f999[_0x32dbbd(0x1d6)]);return _0x36a8b3[_0x32dbbd(0xaf)][_0x13f999[_0x32dbbd(0xf5)]]=_0x198dff['Tools'][_0x32dbbd(0xae)](_0x13f999[_0x32dbbd(0x177)]),{'nextDocumentData':_0x2118b1,'nextResource':_0x36a8b3,'cursorOffset':_0x378200[_0x32dbbd(0x171)]+0x1};}function _0x206593(_0x5ebb38){const _0x229d67=_0x5d1a43;let _0x1834ce=_0x198dff[_0x229d67(0x1d0)][_0x229d67(0xae)](_0x5ebb38[_0x229d67(0x1c8)]),_0x108083=_0x2ee4f9(_0x1834ce,_0x5ebb38[_0x229d67(0xf5)],_0x5ebb38['text']??'');if(_0x108083==null)return null;let _0x48cd50=_0x14187b(_0x5ebb38[_0x229d67(0x1d6)]);return delete _0x48cd50['formulas'][_0x5ebb38['rangeId']],{'nextDocumentData':_0x1834ce,'nextResource':_0x48cd50,'cursorOffset':_0x108083};}function _0x143ae8(_0x30661a,_0x22c468){const _0x4a36a6=_0x5d1a43;var _0x23f538;let _0x437721=_0x198dff[_0x4a36a6(0x1d0)][_0x4a36a6(0xae)](_0x30661a),_0x10ec68=_0x437721[_0x4a36a6(0xeb)];if(!_0x10ec68)return _0x437721;let _0x1b849a=new Map(_0x22c468[_0x4a36a6(0x1ee)](_0x1c6ea0=>[_0x1c6ea0[_0x4a36a6(0xf5)],_0x1c6ea0[_0x4a36a6(0x105)]])),_0x4d70d6=((_0x23f538=_0x10ec68['customRanges'])==null?void 0x0:_0x23f538['filter'](_0x3ba490=>_0x1d4100(_0x3ba490)&&_0x1b849a['has'](_0x3ba490[_0x4a36a6(0xf5)]))['sort']((_0x144e24,_0x1471e7)=>_0x1471e7['startIndex']-_0x144e24[_0x4a36a6(0xb0)]))??[];for(let _0x31515d of _0x4d70d6)_0x2ee4f9(_0x437721,_0x31515d[_0x4a36a6(0xf5)],_0x1b849a[_0x4a36a6(0xe7)](_0x31515d[_0x4a36a6(0xf5)])??'');return _0x437721;}function _0x1d4100(_0x4a291e){const _0x3655ac=_0x5d1a43;var _0x322e99;return(_0x4a291e==null?void 0x0:_0x4a291e['rangeType'])===_0x198dff[_0x3655ac(0x1d9)]['CUSTOM']&&_0x4a291e[_0x3655ac(0x173)]===!0x0&&((_0x322e99=_0x4a291e[_0x3655ac(0x1cf)])==null?void 0x0:_0x322e99['kind'])===_0x3655ac(0x15c);}function _0x10498e(_0x4a6b5c,_0x1667da){const _0x46506d=_0x5d1a43;var _0x12bd2c;return _0x4a6b5c==null||(_0x12bd2c=_0x4a6b5c[_0x46506d(0xe9)])==null?void 0x0:_0x12bd2c[_0x46506d(0x1a2)](_0x242482=>_0x242482[_0x46506d(0xf5)]===_0x1667da&&_0x1d4100(_0x242482));}function _0x1a7f02(_0x8ab09a,_0x50baf1,_0x1245e4){const _0x388230=_0x5d1a43;if(_0x50baf1===_0x1245e4){if(_0x3bfb62[_0x388230(0x160)](_0x8ab09a[_0x388230(0xf2)][_0x50baf1]))throw new _0x428807();return;}for(let _0x29236c=_0x50baf1;_0x29236c<_0x1245e4;_0x29236c++)if(_0x8ab09a['dataStream'][_0x29236c]===_0x198dff['DataStreamTreeTokenType'][_0x388230(0x14b)]||_0x3bfb62['has'](_0x8ab09a[_0x388230(0xf2)][_0x29236c]))throw new _0x428807();}function _0x2ef4bc(_0x494fd3,_0x39beca){const _0x3ff0b3=_0x5d1a43;return{'startIndex':_0x39beca,'endIndex':_0x39beca,'rangeId':_0x494fd3,'rangeType':_0x198dff[_0x3ff0b3(0x1d9)][_0x3ff0b3(0x11e)],'wholeEntity':!0x0,'properties':{'kind':_0x5af56f}};}function _0x14187b(_0x3fbed4){const _0x278120=_0x5d1a43;return _0x3fbed4?_0x198dff[_0x278120(0x1d0)][_0x278120(0xae)](_0x3fbed4):_0x2a5f69();}function _0x193170(_0x1d0dd1,_0x470216,_0x1b4101){const _0x571a11=_0x5d1a43;let _0x260f92=_0x2b59c1(_0x1d0dd1),_0x19c2df=_0x470216??_0x260f92,_0x325c42=_0x1b4101??_0x19c2df;return{'startOffset':_0x528ea4(Math[_0x571a11(0x129)](_0x19c2df,_0x325c42),_0x260f92),'endOffset':_0x528ea4(Math[_0x571a11(0x10b)](_0x19c2df,_0x325c42),_0x260f92)};}function _0x528ea4(_0x34a75d,_0x28458d){const _0x106981=_0x5d1a43;return Math['max'](0x0,Math[_0x106981(0x129)](_0x34a75d,_0x28458d));}function _0x2b59c1(_0x278d9a){const _0x5cefd4=_0x5d1a43;return _0x278d9a[_0x5cefd4(0xf2)]['endsWith'](''+_0x198dff['DataStreamTreeTokenType']['PARAGRAPH']+_0x198dff[_0x5cefd4(0xe1)]['SECTION_BREAK'])?Math[_0x5cefd4(0x10b)](0x0,_0x278d9a[_0x5cefd4(0xf2)][_0x5cefd4(0x149)]-0x2):_0x278d9a[_0x5cefd4(0xf2)][_0x5cefd4(0x1bf)](_0x198dff['DataStreamTreeTokenType'][_0x5cefd4(0x100)])?Math[_0x5cefd4(0x10b)](0x0,_0x278d9a[_0x5cefd4(0xf2)]['length']-0x1):_0x278d9a[_0x5cefd4(0xf2)][_0x5cefd4(0x149)];}function _0xf23fd1(_0x1d237b,_0x5416f2,_0x6cfa72,_0x382a9b){_0x6cfa72>_0x5416f2&&_0x4b1ecb(_0x1d237b,_0x5416f2,_0x6cfa72),_0x354e41(_0x1d237b,_0x5416f2,_0x382a9b);}function _0x2ee4f9(_0x55713f,_0x26d68a,_0x5424f8){const _0x8db7f0=_0x5d1a43;var _0x553305,_0x425473;let _0x6b88d0=_0x1c5831(_0x55713f),_0x25bc19=(_0x553305=_0x6b88d0[_0x8db7f0(0xe9)])==null?void 0x0:_0x553305['find'](_0x39d21c=>_0x39d21c[_0x8db7f0(0xf5)]===_0x26d68a&&_0x1d4100(_0x39d21c));if(!_0x25bc19)return null;let _0x5b6458=(0x0,_0x198dff[_0x8db7f0(0x1c6)])(_0x25bc19);return _0xf23fd1(_0x6b88d0,_0x5b6458[_0x8db7f0(0x1c4)],_0x5b6458['endOffset'],_0x5424f8),_0x6b88d0[_0x8db7f0(0xe9)]=(_0x425473=_0x6b88d0['customRanges'])==null?void 0x0:_0x425473[_0x8db7f0(0x1f6)](_0x5cbb09=>_0x5cbb09[_0x8db7f0(0xf5)]!==_0x26d68a),_0x5b6458[_0x8db7f0(0x1c4)]+_0x5424f8['length'];}function _0x354e41(_0x420a91,_0x1b39da,_0x2b9172){const _0x31d0f0=_0x5d1a43;_0x2b9172&&(_0x420a91['dataStream']=''+_0x420a91[_0x31d0f0(0xf2)][_0x31d0f0(0xc6)](0x0,_0x1b39da)+_0x2b9172+_0x420a91[_0x31d0f0(0xf2)]['slice'](_0x1b39da),_0x2bb807(_0x420a91,_0x1b39da,_0x2b9172[_0x31d0f0(0x149)]));}function _0x4b1ecb(_0x2dbb15,_0x2cb9e9,_0x28b905){const _0x36a0e5=_0x5d1a43;let _0x417f33=_0x28b905-_0x2cb9e9;_0x2dbb15['dataStream']=''+_0x2dbb15['dataStream'][_0x36a0e5(0xc6)](0x0,_0x2cb9e9)+_0x2dbb15[_0x36a0e5(0xf2)][_0x36a0e5(0xc6)](_0x28b905),_0x1c0fc8(_0x2dbb15,_0x2cb9e9,_0x417f33);}function _0x2bb807(_0x4b5ba5,_0x49b568,_0x1b597b){const _0x1929ea=_0x5d1a43;_0x4b5ba5['paragraphs']=_0x1b5414(_0x4b5ba5[_0x1929ea(0x196)],_0x49b568,_0x1b597b),_0x4b5ba5[_0x1929ea(0x1f9)]=_0x1b5414(_0x4b5ba5['sectionBreaks'],_0x49b568,_0x1b597b),_0x4b5ba5[_0x1929ea(0x161)]=_0x1b5414(_0x4b5ba5[_0x1929ea(0x161)],_0x49b568,_0x1b597b),_0x4b5ba5['textRuns']=_0x23e7ee(_0x4b5ba5[_0x1929ea(0x168)],_0x49b568,_0x1b597b),_0x4b5ba5['tables']=_0x43a94d(_0x4b5ba5[_0x1929ea(0x15a)],_0x49b568,_0x1b597b),_0x4b5ba5['columnGroups']=_0x24376d(_0x4b5ba5[_0x1929ea(0x1b9)],_0x49b568,_0x1b597b),_0x4b5ba5[_0x1929ea(0xe9)]=_0x24376d(_0x4b5ba5[_0x1929ea(0xe9)],_0x49b568,_0x1b597b),_0x4b5ba5[_0x1929ea(0xf3)]=_0x24376d(_0x4b5ba5[_0x1929ea(0xf3)],_0x49b568,_0x1b597b),_0x4b5ba5['blockRanges']=_0x24376d(_0x4b5ba5['blockRanges'],_0x49b568,_0x1b597b);}function _0x1c0fc8(_0xe0cc5e,_0x5707ef,_0x1fc371){const _0xbde1f3=_0x5d1a43;var _0xfccffa,_0x526256;_0xe0cc5e[_0xbde1f3(0x196)]=_0x861208(_0xe0cc5e[_0xbde1f3(0x196)],_0x5707ef,_0x1fc371),_0xe0cc5e[_0xbde1f3(0x1f9)]=_0x861208(_0xe0cc5e[_0xbde1f3(0x1f9)],_0x5707ef,_0x1fc371),_0xe0cc5e[_0xbde1f3(0x161)]=_0x861208(_0xe0cc5e[_0xbde1f3(0x161)],_0x5707ef,_0x1fc371),_0xe0cc5e[_0xbde1f3(0x168)]=(_0xfccffa=_0x52a4fa((_0x526256=_0xe0cc5e[_0xbde1f3(0x168)])==null?void 0x0:_0x526256[_0xbde1f3(0x1ee)](_0x46ba21=>({..._0x46ba21,'startIndex':_0x46ba21['st'],'endIndex':_0x46ba21['ed']})),_0x5707ef,_0x1fc371))==null?void 0x0:_0xfccffa[_0xbde1f3(0x1ee)](_0x343dae=>{let {startIndex:_0x399917,endIndex:_0x31e474,..._0x5a0e63}=_0x343dae;return{..._0x5a0e63,'st':_0x399917,'ed':_0x31e474};}),_0xe0cc5e[_0xbde1f3(0x15a)]=_0x52a4fa(_0xe0cc5e['tables'],_0x5707ef,_0x1fc371),_0xe0cc5e[_0xbde1f3(0x1b9)]=_0x3cc4d7(_0xe0cc5e['columnGroups'],_0x5707ef,_0x1fc371),_0xe0cc5e[_0xbde1f3(0xe9)]=_0x3cc4d7(_0xe0cc5e[_0xbde1f3(0xe9)],_0x5707ef,_0x1fc371),_0xe0cc5e['customDecorations']=_0x3cc4d7(_0xe0cc5e[_0xbde1f3(0xf3)],_0x5707ef,_0x1fc371),_0xe0cc5e['blockRanges']=_0x3cc4d7(_0xe0cc5e[_0xbde1f3(0x1ac)],_0x5707ef,_0x1fc371);}function _0x1b5414(_0x4b20b7,_0x38da92,_0xf339d6){const _0x5be6c7=_0x5d1a43;return _0x4b20b7==null?void 0x0:_0x4b20b7[_0x5be6c7(0x1ee)](_0xed3c30=>_0xed3c30[_0x5be6c7(0xb0)]>=_0x38da92?{..._0xed3c30,'startIndex':_0xed3c30[_0x5be6c7(0xb0)]+_0xf339d6}:_0xed3c30);}function _0x861208(_0x156c1e,_0x1f5b23,_0x4c581e){const _0x1f7a4a=_0x5d1a43;let _0x166c7f=_0x1f5b23+_0x4c581e;return _0x156c1e==null?void 0x0:_0x156c1e['map'](_0x46d9b4=>_0x46d9b4[_0x1f7a4a(0xb0)]>=_0x1f5b23&&_0x46d9b4[_0x1f7a4a(0xb0)]<_0x166c7f?null:_0x46d9b4[_0x1f7a4a(0xb0)]>=_0x166c7f?{..._0x46d9b4,'startIndex':_0x46d9b4[_0x1f7a4a(0xb0)]-_0x4c581e}:_0x46d9b4)[_0x1f7a4a(0x1f6)](_0x3d3af9=>_0x3d3af9!=null);}function _0x23e7ee(_0x10505e,_0x58929a,_0x4d7c71){const _0x56c0b0=_0x5d1a43;return _0x10505e==null?void 0x0:_0x10505e[_0x56c0b0(0x1ee)](_0x69a15e=>_0x69a15e['st']>=_0x58929a?{..._0x69a15e,'st':_0x69a15e['st']+_0x4d7c71,'ed':_0x69a15e['ed']+_0x4d7c71}:_0x69a15e['ed']>_0x58929a?{..._0x69a15e,'ed':_0x69a15e['ed']+_0x4d7c71}:_0x69a15e);}function _0x24376d(_0x1b5e32,_0x498459,_0x4f61ed){const _0x1129fc=_0x5d1a43;return _0x1b5e32==null?void 0x0:_0x1b5e32[_0x1129fc(0x1ee)](_0x4d6e1d=>(0x0,_0x198dff[_0x1129fc(0x14f)])(_0x4d6e1d,_0x498459,_0x4f61ed));}function _0x43a94d(_0x531394,_0x2f9184,_0x3379dd){const _0x28c4d9=_0x5d1a43;return _0x531394==null?void 0x0:_0x531394[_0x28c4d9(0x1ee)](_0x32ae25=>(0x0,_0x198dff['shiftExclusiveRangeOnInsert'])(_0x32ae25,_0x2f9184,_0x3379dd));}function _0x3cc4d7(_0x3c0457,_0x431c48,_0x527d2f){const _0x55a95d=_0x5d1a43;return _0x3c0457==null?void 0x0:_0x3c0457[_0x55a95d(0x1ee)](_0x38149f=>(0x0,_0x198dff[_0x55a95d(0xb1)])(_0x38149f,_0x431c48,_0x527d2f))['filter'](_0x4e6268=>_0x4e6268!=null);}function _0x52a4fa(_0x6e3050,_0xa517b7,_0x3bf7e5){const _0x44ee35=_0x5d1a43;return _0x6e3050==null?void 0x0:_0x6e3050[_0x44ee35(0x1ee)](_0x1cc600=>(0x0,_0x198dff[_0x44ee35(0xc7)])(_0x1cc600,_0xa517b7,_0x3bf7e5))[_0x44ee35(0x1f6)](_0x3030dd=>_0x3030dd!=null);}function _0x1c5831(_0x36feb0){const _0x4e253b=_0x5d1a43;if(!_0x36feb0[_0x4e253b(0xeb)])throw Error('Document\x20main\x20body\x20is\x20required\x20to\x20insert\x20Doc\x20Formula.');return _0x36feb0[_0x4e253b(0xeb)];}function _0x53bf5a(_0x43f5cb){'@babel/helpers - typeof';const _0x52c31f=_0x5d1a43;return _0x53bf5a=typeof Symbol==_0x52c31f(0x109)&&typeof Symbol[_0x52c31f(0xd0)]==_0x52c31f(0x1c5)?function(_0x461b74){return typeof _0x461b74;}:function(_0x3f22e0){const _0xcb18c0=_0x52c31f;return _0x3f22e0&&typeof Symbol=='function'&&_0x3f22e0[_0xcb18c0(0x114)]===Symbol&&_0x3f22e0!==Symbol[_0xcb18c0(0xfd)]?'symbol':typeof _0x3f22e0;},_0x53bf5a(_0x43f5cb);}function _0x4bb23a(_0x4a511f,_0x473b99){const _0x413c0d=_0x5d1a43;if(_0x53bf5a(_0x4a511f)!='object'||!_0x4a511f)return _0x4a511f;var _0x4d5f9b=_0x4a511f[Symbol[_0x413c0d(0x1e1)]];if(_0x4d5f9b!==void 0x0){var _0x2d5629=_0x4d5f9b[_0x413c0d(0x1d1)](_0x4a511f,_0x473b99||_0x413c0d(0xed));if(_0x53bf5a(_0x2d5629)!=_0x413c0d(0x199))return _0x2d5629;throw TypeError(_0x413c0d(0xe6));}return(_0x473b99===_0x413c0d(0x16c)?String:Number)(_0x4a511f);}function _0x2d00f4(_0x310a00){const _0x5dcdde=_0x5d1a43;var _0x1605e3=_0x4bb23a(_0x310a00,_0x5dcdde(0x16c));return _0x53bf5a(_0x1605e3)==_0x5dcdde(0x1c5)?_0x1605e3:_0x1605e3+'';}function _0x8d49c1(_0x5ae0c4,_0x4bdea8,_0x1a855d){return(_0x4bdea8=_0x2d00f4(_0x4bdea8))in _0x5ae0c4?Object['defineProperty'](_0x5ae0c4,_0x4bdea8,{'value':_0x1a855d,'enumerable':!0x0,'configurable':!0x0,'writable':!0x0}):_0x5ae0c4[_0x4bdea8]=_0x1a855d,_0x5ae0c4;}var _0x12d8e9=class extends _0x198dff[_0x5d1a43(0x1b5)]{constructor(..._0x50f88e){const _0x226dc2=_0x5d1a43;super(..._0x50f88e),_0x8d49c1(this,_0x226dc2(0xbd),new Map()),_0x8d49c1(this,'_rawResources',new Map()),_0x8d49c1(this,_0x226dc2(0x1a7),new Map()),_0x8d49c1(this,_0x226dc2(0x1bd),new _0x104340[(_0x226dc2(0x180))]()),_0x8d49c1(this,_0x226dc2(0x1af),this[_0x226dc2(0x1bd)][_0x226dc2(0xcd)]());}[_0x5d1a43(0x12d)](_0x191be1,_0x3333df){const _0x183ae2=_0x5d1a43;var _0x5a4f1f;let _0x54b016=(_0x5a4f1f=this[_0x183ae2(0xbd)]['get'](_0x191be1))==null?void 0x0:_0x5a4f1f['formulas'][_0x3333df];return _0x54b016?_0x198dff[_0x183ae2(0x1d0)]['deepClone'](_0x54b016):void 0x0;}[_0x5d1a43(0x1dd)](_0x348329){const _0x17ea40=_0x5d1a43;var _0x4a1770;return _0x198dff[_0x17ea40(0x1d0)][_0x17ea40(0xae)](((_0x4a1770=this[_0x17ea40(0xbd)][_0x17ea40(0xe7)](_0x348329))==null?void 0x0:_0x4a1770[_0x17ea40(0xaf)])??{});}['getResource'](_0x5d9ff7){const _0x2131e5=_0x5d1a43;let _0x16caea=this[_0x2131e5(0xbd)]['get'](_0x5d9ff7);return _0x16caea?_0x198dff['Tools']['deepClone'](_0x16caea):void 0x0;}['setFormula'](_0x4a691b,_0x4118a2,_0x41024b){const _0x106e27=_0x5d1a43;return this[_0x106e27(0x110)](_0x4a691b,{[_0x4118a2]:_0x41024b});}[_0x5d1a43(0x12e)](_0x25be8a,_0x364486){const _0x44843b=_0x5d1a43;return this[_0x44843b(0x1a7)][_0x44843b(0x160)](_0x25be8a)||!_0xca39c2(_0x364486)?!0x1:(this[_0x44843b(0xbd)]['set'](_0x25be8a,_0x198dff[_0x44843b(0x1d0)][_0x44843b(0xae)](_0x364486)),this[_0x44843b(0x1bd)][_0x44843b(0xb5)]({'unitId':_0x25be8a}),!0x0);}['setFormulas'](_0x284dc5,_0x40ccd9){const _0x599cda=_0x5d1a43;if(this[_0x599cda(0x1a7)]['has'](_0x284dc5)||!Object['keys'](_0x40ccd9)['length']||!_0xca39c2({'schemaVersion':0x1,'formulas':_0x40ccd9}))return!0x1;let _0x38e372=this[_0x599cda(0xbd)][_0x599cda(0xe7)](_0x284dc5)??_0x2a5f69(),_0x148557=_0x198dff['Tools']['deepClone'](_0x38e372);return Object['assign'](_0x148557['formulas'],_0x198dff[_0x599cda(0x1d0)]['deepClone'](_0x40ccd9)),this[_0x599cda(0xbd)][_0x599cda(0x153)](_0x284dc5,_0x148557),this[_0x599cda(0x1bd)][_0x599cda(0xb5)]({'unitId':_0x284dc5,'rangeIds':Object[_0x599cda(0x1be)](_0x40ccd9)}),!0x0;}['removeFormula'](_0x4513e8,_0x386328){const _0x16b723=_0x5d1a43;if(this[_0x16b723(0x1a7)][_0x16b723(0x160)](_0x4513e8))return!0x1;let _0x58e470=this['_resources']['get'](_0x4513e8);if(!(_0x58e470!=null&&_0x58e470[_0x16b723(0xaf)][_0x386328]))return!0x1;let _0x1c4fc0=_0x198dff[_0x16b723(0x1d0)][_0x16b723(0xae)](_0x58e470);return delete _0x1c4fc0[_0x16b723(0xaf)][_0x386328],this['_resources']['set'](_0x4513e8,_0x1c4fc0),this[_0x16b723(0x1bd)][_0x16b723(0xb5)]({'unitId':_0x4513e8,'rangeIds':[_0x386328]}),!0x0;}[_0x5d1a43(0x1c7)](_0x438efb,_0xe858c){const _0x1e0e51=_0x5d1a43;return _0xe858c&&typeof _0xe858c==_0x1e0e51(0x199)&&_0x1e0e51(0x144)in _0xe858c&&_0xe858c[_0x1e0e51(0x144)]!==0x1?(this['_preserveInvalid'](_0x438efb,_0xe858c,'unsupported-version'),!0x1):_0xca39c2(_0xe858c)?(this[_0x1e0e51(0xbd)][_0x1e0e51(0x153)](_0x438efb,_0x198dff[_0x1e0e51(0x1d0)]['deepClone'](_0xe858c)),this[_0x1e0e51(0xe2)][_0x1e0e51(0x1e4)](_0x438efb),this[_0x1e0e51(0x1a7)][_0x1e0e51(0x1e4)](_0x438efb),this[_0x1e0e51(0x1bd)][_0x1e0e51(0xb5)]({'unitId':_0x438efb}),!0x0):(this[_0x1e0e51(0xab)](_0x438efb,_0xe858c,_0x1e0e51(0x17a)),!0x1);}['serialize'](_0x12c7c1){const _0x1294c6=_0x5d1a43;let _0xe09098=this[_0x1294c6(0xbd)][_0x1294c6(0xe7)](_0x12c7c1);return _0xe09098?_0x198dff[_0x1294c6(0x1d0)][_0x1294c6(0xae)](_0xe09098):this[_0x1294c6(0xe2)]['has'](_0x12c7c1)?_0x198dff[_0x1294c6(0x1d0)][_0x1294c6(0xae)](this[_0x1294c6(0xe2)][_0x1294c6(0xe7)](_0x12c7c1)):_0x2a5f69();}[_0x5d1a43(0x1c9)](_0x16bc64){const _0x221f6b=_0x5d1a43;return this[_0x221f6b(0x1a7)][_0x221f6b(0xe7)](_0x16bc64);}[_0x5d1a43(0x1f1)](_0x25891e){const _0x4ee3aa=_0x5d1a43;this[_0x4ee3aa(0xbd)]['delete'](_0x25891e),this[_0x4ee3aa(0xe2)]['delete'](_0x25891e),this[_0x4ee3aa(0x1a7)][_0x4ee3aa(0x1e4)](_0x25891e),this['_change$'][_0x4ee3aa(0xb5)]({'unitId':_0x25891e});}[_0x5d1a43(0x170)](){const _0x9f1c59=_0x5d1a43;this[_0x9f1c59(0xbd)][_0x9f1c59(0x162)](),this[_0x9f1c59(0xe2)][_0x9f1c59(0x162)](),this[_0x9f1c59(0x1a7)][_0x9f1c59(0x162)](),this['_change$']['complete'](),super[_0x9f1c59(0x170)]();}[_0x5d1a43(0xab)](_0x5ab332,_0x4a999a,_0x57257d){const _0x20d24d=_0x5d1a43;this[_0x20d24d(0xbd)]['delete'](_0x5ab332),this[_0x20d24d(0xe2)][_0x20d24d(0x153)](_0x5ab332,_0x198dff['Tools'][_0x20d24d(0xae)](_0x4a999a)),this['_loadErrors'][_0x20d24d(0x153)](_0x5ab332,_0x57257d),this[_0x20d24d(0x1bd)][_0x20d24d(0xb5)]({'unitId':_0x5ab332});}};let _0x205351=function(_0x39a960){const _0x327119=_0x5d1a43;return _0x39a960['EMPTY']='empty',_0x39a960[_0x327119(0x101)]=_0x327119(0x16a),_0x39a960['SUCCESS']=_0x327119(0x11f),_0x39a960[_0x327119(0xc9)]=_0x327119(0x193),_0x39a960;}({});function _0xbc127b(_0x3b15e7,_0x3ec770){return function(_0x14e066,_0xfdabb3){_0x3ec770(_0x14e066,_0xfdabb3,_0x3b15e7);};}function _0x40a925(_0x477b61,_0x15e0ca,_0x252ca9,_0x10e057){const _0x46c49c=_0x5d1a43;var _0x431166=arguments[_0x46c49c(0x149)],_0x44015e=_0x431166<0x3?_0x15e0ca:_0x10e057===null?_0x10e057=Object['getOwnPropertyDescriptor'](_0x15e0ca,_0x252ca9):_0x10e057,_0x57390b;if(typeof Reflect==_0x46c49c(0x199)&&typeof Reflect[_0x46c49c(0x116)]=='function')_0x44015e=Reflect['decorate'](_0x477b61,_0x15e0ca,_0x252ca9,_0x10e057);else{for(var _0x1ecc00=_0x477b61[_0x46c49c(0x149)]-0x1;_0x1ecc00>=0x0;_0x1ecc00--)(_0x57390b=_0x477b61[_0x1ecc00])&&(_0x44015e=(_0x431166<0x3?_0x57390b(_0x44015e):_0x431166>0x3?_0x57390b(_0x15e0ca,_0x252ca9,_0x44015e):_0x57390b(_0x15e0ca,_0x252ca9))||_0x44015e);}return _0x431166>0x3&&_0x44015e&&Object[_0x46c49c(0x1a9)](_0x15e0ca,_0x252ca9,_0x44015e),_0x44015e;}let _0x25e891=class extends _0x198dff[_0x5d1a43(0x1b5)]{constructor(_0x35e665,_0xd1d4ae,_0x6cbca6){const _0x127eca=_0x5d1a43;super(),this['_model']=_0x35e665,this[_0x127eca(0xd6)]=_0xd1d4ae,this[_0x127eca(0x172)]=_0x6cbca6,_0x8d49c1(this,'_registrations',new Map()),_0x8d49c1(this,'_formulaKeys',new Map()),_0x8d49c1(this,_0x127eca(0xb4),new _0x104340[(_0x127eca(0x180))]()),_0x8d49c1(this,_0x127eca(0x1f3),this['_presentationChanged$'][_0x127eca(0xcd)]()),this[_0x127eca(0x1a1)](this[_0x127eca(0xd6)][_0x127eca(0x186)][_0x127eca(0x185)](_0x571a0e=>{const _0x24324b=_0x127eca;for(let _0x3aa138 of Object['values'](_0x571a0e))for(let _0x4b5387 of Object['values'](_0x3aa138))_0x4b5387[_0x24324b(0x1a0)](_0x1707ca=>this[_0x24324b(0xee)](_0x1707ca));}));}[_0x5d1a43(0xb6)](_0x5e985a){const _0x413437=_0x5d1a43;var _0x1f8514;let _0xed3cec=_0x5e985a[_0x413437(0x134)](),_0x14cd88=((_0x1f8514=_0x5e985a[_0x413437(0x167)]()[_0x413437(0xeb)])==null||(_0x1f8514=_0x1f8514[_0x413437(0xe9)])==null?void 0x0:_0x1f8514['filter'](_0x1d4100))??[],_0x2655aa=this[_0x413437(0x147)][_0x413437(0x1dd)](_0xed3cec),_0x235e1a=new Set();for(let _0x1f1c13 of _0x14cd88){let _0x658d36=_0x2655aa[_0x1f1c13[_0x413437(0xf5)]];_0x658d36&&(_0x235e1a[_0x413437(0x182)](_0x3d76c5(_0xed3cec,_0x1f1c13[_0x413437(0xf5)])),this[_0x413437(0x133)]({'unitId':_0xed3cec,'rangeId':_0x1f1c13[_0x413437(0xf5)]},_0x658d36));}for(let _0x561676 of Array[_0x413437(0x10c)](this[_0x413437(0x1f8)][_0x413437(0x1e9)]()))_0x561676[_0x413437(0x152)]===_0xed3cec&&!_0x235e1a[_0x413437(0x160)](_0x3d76c5(_0x561676[_0x413437(0x152)],_0x561676[_0x413437(0xf5)]))&&this[_0x413437(0x1e0)](_0x561676);}[_0x5d1a43(0x133)](_0x1a1678,_0x3bfc70){const _0x4b55c2=_0x5d1a43;let _0x59844e=_0x3d76c5(_0x1a1678[_0x4b55c2(0x152)],_0x1a1678[_0x4b55c2(0xf5)]),_0x2f5b43=this[_0x4b55c2(0x1f8)][_0x4b55c2(0xe7)](_0x59844e),_0x3d2b8f=this[_0x4b55c2(0x172)][_0x4b55c2(0x1b3)](_0x1a1678[_0x4b55c2(0x152)]);if(_0x2f5b43&&_0x2f5b43[_0x4b55c2(0x177)]['formula']===_0x3bfc70[_0x4b55c2(0xcc)]&&_0x2f5b43[_0x4b55c2(0x18d)]===_0x3d2b8f){_0x2f5b43['config']=_0x3bfc70;let _0x142990=_0x2f5b43[_0x4b55c2(0x19e)]?this['_registrationService'][_0x4b55c2(0xc5)](_0x2f5b43[_0x4b55c2(0x152)],_0x2f5b43[_0x4b55c2(0x152)],_0x2f5b43[_0x4b55c2(0x19e)])??void 0x0:void 0x0;_0x2f5b43[_0x4b55c2(0x1a8)]=_0x142990,this[_0x4b55c2(0x13c)](_0x59844e,_0x57b122(_0x3bfc70,_0x142990));return;}_0x2f5b43!=null&&_0x2f5b43[_0x4b55c2(0x19e)]&&this['_deleteRegistration'](_0x2f5b43);let _0x539eec={..._0x1a1678,'config':_0x3bfc70,'referenceRevision':_0x3d2b8f,'presentation':_0x57b122(_0x3bfc70,void 0x0)};if(this['_registrations'][_0x4b55c2(0x153)](_0x59844e,_0x539eec),!_0x3bfc70[_0x4b55c2(0xcc)][_0x4b55c2(0x179)]())return;let _0x26e74a=this['_registrationService'][_0x4b55c2(0x1fa)](_0x1a1678[_0x4b55c2(0x152)],_0x1a1678['unitId'],_0x3bfc70['formula'],void 0x0,{'rangeId':_0x1a1678[_0x4b55c2(0xf5)]},_0x54a5ff['OtherFormulaBizType'][_0x4b55c2(0x16d)],_0x1a1678[_0x4b55c2(0xf5)]);_0x539eec['formulaId']=_0x26e74a,this[_0x4b55c2(0x19a)][_0x4b55c2(0x153)](_0x26e74a,_0x59844e);}[_0x5d1a43(0x1e0)](_0x21c715){const _0x2399f1=_0x5d1a43;let _0x5ee851=_0x3d76c5(_0x21c715[_0x2399f1(0x152)],_0x21c715[_0x2399f1(0xf5)]),_0x7707aa=this[_0x2399f1(0x1f8)]['get'](_0x5ee851);_0x7707aa&&(this[_0x2399f1(0xc3)](_0x7707aa),this[_0x2399f1(0x1f8)][_0x2399f1(0x1e4)](_0x5ee851));}['unregisterUnit'](_0xba3c90){const _0x3bfb9c=_0x5d1a43;for(let _0x4d325a of Array[_0x3bfb9c(0x10c)](this[_0x3bfb9c(0x1f8)][_0x3bfb9c(0x1e9)]()))_0x4d325a['unitId']===_0xba3c90&&this[_0x3bfb9c(0x1e0)](_0x4d325a);}[_0x5d1a43(0x1c2)](_0x570a0d){const _0xe7e87c=_0x5d1a43;var _0x4dd5a3;return(_0x4dd5a3=this[_0xe7e87c(0x1f8)][_0xe7e87c(0xe7)](_0x3d76c5(_0x570a0d[_0xe7e87c(0x152)],_0x570a0d[_0xe7e87c(0xf5)])))==null?void 0x0:_0x4dd5a3['presentation'];}[_0x5d1a43(0x169)](_0x1f2809){const _0x4600b7=_0x5d1a43;let _0x3beba1=this['_registrations'][_0x4600b7(0xe7)](_0x3d76c5(_0x1f2809[_0x4600b7(0x152)],_0x1f2809['rangeId']));return _0x3beba1?_0x84c3bb(_0x3beba1):void 0x0;}['getRegisteredFormulas'](){const _0x283583=_0x5d1a43;return Array[_0x283583(0x10c)](this[_0x283583(0x1f8)][_0x283583(0x1e9)](),_0x1a2802=>({'identity':{'unitId':_0x1a2802[_0x283583(0x152)],'rangeId':_0x1a2802[_0x283583(0xf5)]},'config':_0x1a2802[_0x283583(0x177)],'referenceRevision':_0x1a2802['referenceRevision'],..._0x1a2802[_0x283583(0x1a8)]?{'liveResult':_0x1a2802[_0x283583(0x1a8)]}:null}));}[_0x5d1a43(0x170)](){const _0x2244a0=_0x5d1a43;for(let _0x1977d8 of this[_0x2244a0(0x1f8)][_0x2244a0(0x1e9)]())this[_0x2244a0(0xc3)](_0x1977d8);this[_0x2244a0(0x1f8)]['clear'](),this[_0x2244a0(0x19a)][_0x2244a0(0x162)](),this[_0x2244a0(0xb4)][_0x2244a0(0xa8)](),super['dispose']();}[_0x5d1a43(0xee)](_0x408b99){const _0x3ca8bc=_0x5d1a43;let _0x1eeb41=this['_formulaKeys'][_0x3ca8bc(0xe7)](_0x408b99[_0x3ca8bc(0x19e)]),_0x5d1a35=_0x1eeb41?this['_registrations'][_0x3ca8bc(0xe7)](_0x1eeb41):void 0x0;_0x1eeb41&&_0x5d1a35&&(_0x5d1a35[_0x3ca8bc(0x1a8)]=_0x408b99,this[_0x3ca8bc(0x13c)](_0x1eeb41,_0x57b122(_0x5d1a35[_0x3ca8bc(0x177)],_0x408b99)));}[_0x5d1a43(0x13c)](_0x486baf,_0x20e442){const _0x296a1a=_0x5d1a43;var _0xd02d77,_0x2f3686;let _0x56e56c=this[_0x296a1a(0x1f8)][_0x296a1a(0xe7)](_0x486baf);if(!_0x56e56c||_0x31eff9(_0x56e56c['presentation'],_0x20e442))return;let _0x30e2d3=_0x56e56c[_0x296a1a(0xdf)],_0x275373=_0x84c3bb(_0x56e56c);_0x56e56c['presentation']=_0x20e442,this[_0x296a1a(0xb4)]['next']({'unitId':_0x56e56c['unitId'],'rangeId':_0x56e56c[_0x296a1a(0xf5)],'presentation':_0x20e442,'previousPresentation':_0x30e2d3,'result':_0x84c3bb(_0x56e56c),'previousResult':{..._0x275373,..._0x30e2d3,'value':(_0xd02d77=_0x30e2d3['cell'])==null?void 0x0:_0xd02d77['v'],'valueType':((_0x2f3686=_0x30e2d3[_0x296a1a(0x16f)])==null?void 0x0:_0x2f3686['t'])??void 0x0}});}['_deleteRegistration'](_0x12df62){const _0x55c843=_0x5d1a43;_0x12df62['formulaId']&&(this[_0x55c843(0xd6)][_0x55c843(0x15f)](_0x12df62[_0x55c843(0x152)],_0x12df62[_0x55c843(0x152)],[_0x12df62[_0x55c843(0x19e)]]),this['_formulaKeys']['delete'](_0x12df62[_0x55c843(0x19e)]));}};_0x25e891=_0x40a925([_0xbc127b(0x0,(0x0,_0x198dff[_0x5d1a43(0x1b2)])(_0x12d8e9)),_0xbc127b(0x1,(0x0,_0x198dff['Inject'])(_0x54a5ff[_0x5d1a43(0x12f)])),_0xbc127b(0x2,(0x0,_0x198dff[_0x5d1a43(0x1b2)])(_0x3e6ae0[_0x5d1a43(0x11a)]))],_0x25e891);function _0x3d76c5(_0x5818be,_0x3328a3){return _0x5818be+'\x00'+_0x3328a3;}function _0x57b122(_0x29ec91,_0x2e49f2){const _0x4b1090=_0x5d1a43;return(0x0,_0x3e6ae0['resolveFormulaResultPresentation'])({'numberFormat':_0x29ec91[_0x4b1090(0x111)],'lastValue':_0x29ec91[_0x4b1090(0x1df)],'result':_0x2e49f2});}function _0x84c3bb(_0x39dabe){const _0x5b66f3=_0x5d1a43;var _0x5c8260,_0x9d870a,_0x5c47d7;let _0x3cef82=_0x39dabe[_0x5b66f3(0xdf)],_0x2893f9=_0x39dabe['config'][_0x5b66f3(0xcc)]['trim']()?_0x3cef82['stale']||_0x3cef82['cell']==null?_0x5b66f3(0x16a):((_0x5c8260=_0x39dabe['liveResult'])==null?void 0x0:_0x5c8260[_0x5b66f3(0x1f7)])===_0x54a5ff[_0x5b66f3(0x197)][_0x5b66f3(0xc9)]?_0x5b66f3(0x193):_0x5b66f3(0x11f):_0x5b66f3(0x17b);return{..._0x3cef82,'status':_0x2893f9,'value':(_0x9d870a=_0x3cef82[_0x5b66f3(0x16f)])==null?void 0x0:_0x9d870a['v'],'valueType':((_0x5c47d7=_0x3cef82['cell'])==null?void 0x0:_0x5c47d7['t'])??void 0x0};}function _0x31eff9(_0x44453a,_0x75046c){const _0x455fe8=_0x5d1a43;var _0xc975ea,_0x3d9f94,_0x222a69,_0x170253;return _0x44453a[_0x455fe8(0x105)]===_0x75046c[_0x455fe8(0x105)]&&_0x44453a[_0x455fe8(0xc2)]===_0x75046c[_0x455fe8(0xc2)]&&_0x44453a[_0x455fe8(0x194)]===_0x75046c[_0x455fe8(0x194)]&&_0x44453a['source']===_0x75046c[_0x455fe8(0x1ad)]&&_0x44453a[_0x455fe8(0x1b8)]===_0x75046c[_0x455fe8(0x1b8)]&&((_0xc975ea=_0x44453a[_0x455fe8(0x16f)])==null?void 0x0:_0xc975ea['t'])===((_0x3d9f94=_0x75046c[_0x455fe8(0x16f)])==null?void 0x0:_0x3d9f94['t'])&&Object['is']((_0x222a69=_0x44453a[_0x455fe8(0x16f)])==null?void 0x0:_0x222a69['v'],(_0x170253=_0x75046c['cell'])==null?void 0x0:_0x170253['v']);}let _0x222ab9={'id':_0x5d1a43(0x19d),'type':_0x198dff[_0x5d1a43(0x138)]['MUTATION'],'handler':(_0x55b5f5,_0x259d76)=>!(_0x259d76!=null&&_0x259d76[_0x5d1a43(0x152)])||!_0x259d76[_0x5d1a43(0xf5)]||!_0x259d76['config']?!0x1:_0x55b5f5[_0x5d1a43(0xe7)](_0x12d8e9)[_0x5d1a43(0x157)](_0x259d76['unitId'],_0x259d76['rangeId'],_0x259d76[_0x5d1a43(0x177)])},_0x598473={'id':'docs-formula.mutation.remove-formula','type':_0x198dff[_0x5d1a43(0x138)][_0x5d1a43(0x1ec)],'handler':(_0x282af1,_0x2e50f6)=>!(_0x2e50f6!=null&&_0x2e50f6['unitId'])||!_0x2e50f6[_0x5d1a43(0xf5)]?!0x1:_0x282af1[_0x5d1a43(0xe7)](_0x12d8e9)[_0x5d1a43(0x104)](_0x2e50f6[_0x5d1a43(0x152)],_0x2e50f6[_0x5d1a43(0xf5)])},_0x58f8fd={'id':_0x5d1a43(0xbc),'type':_0x198dff[_0x5d1a43(0x138)][_0x5d1a43(0x1ec)],'handler':(_0x42155d,_0x32c6f2)=>!(_0x32c6f2!=null&&_0x32c6f2['unitId'])||!_0x32c6f2['resource']?!0x1:_0x42155d['get'](_0x12d8e9)[_0x5d1a43(0x12e)](_0x32c6f2['unitId'],_0x32c6f2['resource'])},_0x2e16ba={'id':_0x5d1a43(0x192),'type':_0x198dff['CommandType']['MUTATION'],'handler':(_0x30f038,_0x5c829c)=>{const _0x1227d1=_0x5d1a43;if(!(_0x5c829c!=null&&_0x5c829c[_0x1227d1(0x152)])||!_0x5c829c[_0x1227d1(0x17f)][_0x1227d1(0x149)])return!0x1;let _0x3adcb2=_0x30f038[_0x1227d1(0xe7)](_0x12d8e9),_0x543ea7=_0x30f038[_0x1227d1(0xe7)](_0x3e6ae0[_0x1227d1(0x11a)]),_0x502720=_0x3adcb2[_0x1227d1(0x10f)](_0x5c829c['unitId']);if(!_0x502720)return!0x1;let _0x94f303=_0x198dff[_0x1227d1(0x1d0)][_0x1227d1(0xae)](_0x502720),_0x2e8621=!0x1;for(let _0x5d29e4 of _0x5c829c['updates']){var _0x5ee001,_0x3dc634,_0x1287a4,_0x2209a9;let _0x22e5f5=_0x94f303['formulas'][_0x5d29e4[_0x1227d1(0xf5)]];_0x22e5f5&&_0x22e5f5[_0x1227d1(0xcc)]===_0x5d29e4[_0x1227d1(0xf7)]&&((_0x5ee001=_0x22e5f5[_0x1227d1(0x111)])==null?void 0x0:_0x5ee001['pattern'])===_0x5d29e4[_0x1227d1(0x145)]&&_0x543ea7['getRevision'](_0x5c829c[_0x1227d1(0x152)])===_0x5d29e4[_0x1227d1(0x151)]&&(((_0x3dc634=_0x22e5f5[_0x1227d1(0x1df)])==null?void 0x0:_0x3dc634['v'])!==_0x5d29e4[_0x1227d1(0x1df)]['v']||((_0x1287a4=_0x22e5f5[_0x1227d1(0x1df)])==null?void 0x0:_0x1287a4['t'])!==_0x5d29e4[_0x1227d1(0x1df)]['t']||((_0x2209a9=_0x22e5f5[_0x1227d1(0x1df)])==null?void 0x0:_0x2209a9[_0x1227d1(0x194)])!==_0x5d29e4['lastValue'][_0x1227d1(0x194)])&&(_0x22e5f5[_0x1227d1(0x1df)]=_0x198dff[_0x1227d1(0x1d0)][_0x1227d1(0xae)](_0x5d29e4['lastValue']),_0x2e8621=!0x0);}return!_0x2e8621||_0x3adcb2['setResource'](_0x5c829c[_0x1227d1(0x152)],_0x94f303);}},_0x4e176c={'id':_0x5d1a43(0x1d7),'type':_0x198dff[_0x5d1a43(0x138)][_0x5d1a43(0x178)],'handler':(_0x4e6822,_0x18a1bc)=>{const _0x1a0c82=_0x5d1a43;if(!(_0x18a1bc!=null&&_0x18a1bc['formula'][_0x1a0c82(0x179)]()))return!0x1;let _0x42f1a7=_0x19f0f5(_0x4e6822,_0x18a1bc[_0x1a0c82(0x152)],'');if(!_0x42f1a7)return!0x1;let _0x57e4a8=_0x336ae5(_0x18a1bc[_0x1a0c82(0x1e7)],_0x42f1a7[_0x1a0c82(0xeb)],_0x44313b(_0x4e6822,_0x42f1a7[_0x1a0c82(0x152)]));if(!_0x57e4a8)return!0x1;let _0x1f945f=_0xae9bd(_0x4e6822,_0x42f1a7['unitId'],_0x18a1bc[_0x1a0c82(0xcc)],_0x18a1bc[_0x1a0c82(0x1c3)]??[]);if(!_0x1f945f)return!0x1;let _0x5e4343=_0x3b8eac(_0x42f1a7[_0x1a0c82(0xeb)],_0x42f1a7['model'],_0x42f1a7[_0x1a0c82(0x152)]),_0x3c8c1b=_0x189dc9({'documentData':_0x42f1a7[_0x1a0c82(0x1c8)],'resource':_0x42f1a7[_0x1a0c82(0x1d6)],'rangeId':_0x5e4343,'config':{'formula':_0x18a1bc['formula'],..._0x18a1bc[_0x1a0c82(0x111)]?{'numberFormat':_0x18a1bc[_0x1a0c82(0x111)]}:null},'startOffset':_0x57e4a8[_0x1a0c82(0x1c4)],'endOffset':_0x57e4a8[_0x1a0c82(0x1a3)]});if(!_0x3c8c1b)return!0x1;let _0x475b06=(0x0,_0x3e6ae0[_0x1a0c82(0x1ca)])(_0x4e6822,_0x42f1a7[_0x1a0c82(0x152)],_0x1f945f);return!_0x475b06||!_0x482dc3({'accessor':_0x4e6822,'document':_0x42f1a7[_0x1a0c82(0x11c)],'unitId':_0x42f1a7['unitId'],'trigger':_0x4e176c['id'],'rangeId':_0x5e4343,'previousResource':_0x42f1a7['resource'],'nextResource':_0x3c8c1b[_0x1a0c82(0x1cb)],'previousDocumentData':_0x42f1a7['documentData'],'nextDocumentData':_0x3c8c1b['nextDocumentData'],'cursorOffset':_0x3c8c1b[_0x1a0c82(0x15b)],'externalMutations':_0x475b06})?!0x1:{'rangeId':_0x5e4343,'startOffset':_0x3c8c1b['cursorOffset']-0x1,'endOffset':_0x3c8c1b[_0x1a0c82(0x15b)]};}},_0x15e8cf={'id':'docs-formula.command.update','type':_0x198dff[_0x5d1a43(0x138)][_0x5d1a43(0x178)],'handler':(_0x5462f6,_0xcd59ae)=>{const _0xf308d2=_0x5d1a43;if(!(_0xcd59ae!=null&&_0xcd59ae['rangeId'])||!_0xcd59ae[_0xf308d2(0xcc)][_0xf308d2(0x179)]())return!0x1;let _0x4c13ca=_0x19f0f5(_0x5462f6,_0xcd59ae[_0xf308d2(0x152)],''),_0x541517=_0x4c13ca==null?void 0x0:_0x4c13ca[_0xf308d2(0x18f)][_0xf308d2(0x12d)](_0x4c13ca[_0xf308d2(0x152)],_0xcd59ae['rangeId']),_0x11ddb6=_0x4c13ca?_0x10498e(_0x4c13ca[_0xf308d2(0x1c8)][_0xf308d2(0xeb)],_0xcd59ae[_0xf308d2(0xf5)]):void 0x0;if(!_0x4c13ca||!_0x541517||!_0x11ddb6)return!0x1;let _0x5462a4=_0xae9bd(_0x5462f6,_0x4c13ca['unitId'],_0xcd59ae[_0xf308d2(0xcc)],_0xcd59ae['externalReferences']??[]);if(!_0x5462a4)return!0x1;let _0x427775=(0x0,_0x3e6ae0[_0xf308d2(0x1ca)])(_0x5462f6,_0x4c13ca[_0xf308d2(0x152)],_0x5462a4);if(!_0x427775)return!0x1;let _0x1eb057=_0x257295(_0x4c13ca['resource']);return _0x1eb057[_0xf308d2(0xaf)][_0xcd59ae[_0xf308d2(0xf5)]]={'formula':_0xcd59ae[_0xf308d2(0xcc)],..._0xcd59ae['numberFormat']?{'numberFormat':_0xcd59ae[_0xf308d2(0x111)]}:_0x541517[_0xf308d2(0x111)]?{'numberFormat':_0x541517['numberFormat']}:null},_0x482dc3({'accessor':_0x5462f6,'document':_0x4c13ca[_0xf308d2(0x11c)],'unitId':_0x4c13ca['unitId'],'trigger':_0x15e8cf['id'],'rangeId':_0xcd59ae['rangeId'],'previousResource':_0x4c13ca[_0xf308d2(0x1d6)],'nextResource':_0x1eb057,'cursorOffset':_0x11ddb6[_0xf308d2(0x171)]+0x1,'externalMutations':_0x427775});}},_0x146b8b={'id':_0x5d1a43(0xf1),'type':_0x198dff[_0x5d1a43(0x138)][_0x5d1a43(0x178)],'handler':(_0x43f6f5,_0x66bb55)=>{const _0x1aea1f=_0x5d1a43;if(!(_0x66bb55!=null&&_0x66bb55['rangeId']))return!0x1;let _0x3ce52f=_0x19f0f5(_0x43f6f5,_0x66bb55[_0x1aea1f(0x152)],''),_0x80fc5d=_0x3ce52f==null?void 0x0:_0x3ce52f[_0x1aea1f(0x18f)][_0x1aea1f(0x12d)](_0x3ce52f['unitId'],_0x66bb55[_0x1aea1f(0xf5)]),_0x28bb1f=_0x3ce52f?_0x10498e(_0x3ce52f[_0x1aea1f(0x1c8)]['body'],_0x66bb55['rangeId']):void 0x0;if(!_0x3ce52f||!_0x80fc5d||!_0x28bb1f)return!0x1;let _0x1663ed=_0x257295(_0x3ce52f['resource']);return _0x1663ed[_0x1aea1f(0xaf)][_0x66bb55['rangeId']]={..._0x80fc5d,..._0x66bb55[_0x1aea1f(0x111)]?{'numberFormat':_0x66bb55[_0x1aea1f(0x111)]}:null},_0x66bb55[_0x1aea1f(0x111)]||delete _0x1663ed[_0x1aea1f(0xaf)][_0x66bb55[_0x1aea1f(0xf5)]][_0x1aea1f(0x111)],_0x482dc3({'accessor':_0x43f6f5,'document':_0x3ce52f[_0x1aea1f(0x11c)],'unitId':_0x3ce52f['unitId'],'trigger':_0x146b8b['id'],'rangeId':_0x66bb55[_0x1aea1f(0xf5)],'previousResource':_0x3ce52f[_0x1aea1f(0x1d6)],'nextResource':_0x1663ed,'cursorOffset':_0x28bb1f[_0x1aea1f(0x171)]+0x1,'externalMutations':{}});}},_0x41b076={'id':_0x5d1a43(0xc4),'type':_0x198dff['CommandType'][_0x5d1a43(0x178)],'handler':(_0x25454d,_0x54f0c9)=>_0x46106e(_0x25454d,_0x54f0c9,'',_0x41b076['id'])},_0x2367ea={'id':_0x5d1a43(0x1e3),'type':_0x198dff[_0x5d1a43(0x138)][_0x5d1a43(0x178)],'handler':(_0x141c69,_0x3e00cc)=>_0x46106e(_0x141c69,_0x3e00cc,(_0x3e00cc==null?void 0x0:_0x3e00cc[_0x5d1a43(0x105)])??'',_0x2367ea['id'])},_0x4eac98={'id':_0x5d1a43(0xaa),'type':_0x198dff[_0x5d1a43(0x138)][_0x5d1a43(0x178)],'handler':(_0x1bcaa9,_0x131964)=>{const _0x43ea68=_0x5d1a43;if(!(_0x131964!=null&&_0x131964['rangeId']))return!0x1;let _0x189b1c=_0x19f0f5(_0x1bcaa9,_0x131964['unitId'],'');if(!_0x189b1c)return!0x1;let _0x36111f=_0x1bcaa9[_0x43ea68(0xe7)](_0x25e891)[_0x43ea68(0x169)]({'unitId':_0x189b1c[_0x43ea68(0x152)],'rangeId':_0x131964[_0x43ea68(0xf5)]});return _0x36111f?_0x46106e(_0x1bcaa9,_0x131964,_0x36111f[_0x43ea68(0x105)],_0x4eac98['id']):!0x1;}};function _0x46106e(_0x367e12,_0x4a78b7,_0x266eed,_0x2f790a){const _0x4359f3=_0x5d1a43;if(!(_0x4a78b7!=null&&_0x4a78b7[_0x4359f3(0xf5)]))return!0x1;let _0x4aad62=_0x19f0f5(_0x367e12,_0x4a78b7[_0x4359f3(0x152)],'');if(!_0x4aad62)return!0x1;let _0x43e8e0=_0x206593({'documentData':_0x4aad62[_0x4359f3(0x1c8)],'resource':_0x4aad62['resource'],'rangeId':_0x4a78b7['rangeId'],'text':_0x266eed});return _0x43e8e0?_0x482dc3({'accessor':_0x367e12,'document':_0x4aad62[_0x4359f3(0x11c)],'unitId':_0x4aad62[_0x4359f3(0x152)],'trigger':_0x2f790a,'rangeId':_0x4a78b7[_0x4359f3(0xf5)],'previousResource':_0x4aad62['resource'],'nextResource':_0x43e8e0[_0x4359f3(0x1cb)],'previousDocumentData':_0x4aad62[_0x4359f3(0x1c8)],'nextDocumentData':_0x43e8e0['nextDocumentData'],'cursorOffset':_0x43e8e0[_0x4359f3(0x15b)],'externalMutations':{}}):!0x1;}function _0x19f0f5(_0x301bc7,_0x28d703,_0x1edf69){const _0x25f1b4=_0x5d1a43;if(_0x1edf69)return null;let _0x45c52c=_0x301bc7[_0x25f1b4(0xe7)](_0x198dff[_0x25f1b4(0x1f0)]),_0x721312=(_0x28d703?_0x45c52c[_0x25f1b4(0xef)](_0x28d703,_0x198dff[_0x25f1b4(0x115)][_0x25f1b4(0x1d3)]):_0x45c52c[_0x25f1b4(0xd7)](_0x198dff[_0x25f1b4(0x115)][_0x25f1b4(0x1d3)]))??null;if(!_0x721312)return null;let _0x757dcb=_0x721312[_0x25f1b4(0x167)](),_0x46ff86=_0x757dcb[_0x25f1b4(0xeb)];if(_0x757dcb[_0x25f1b4(0x19f)]||!_0x46ff86)return null;let _0x18d4be=_0x301bc7[_0x25f1b4(0xe7)](_0x12d8e9);return _0x18d4be[_0x25f1b4(0x1c9)](_0x721312[_0x25f1b4(0x134)]())?null:{'document':_0x721312,'body':_0x46ff86,'documentData':_0x757dcb,'model':_0x18d4be,'resource':_0x18d4be['getResource'](_0x721312[_0x25f1b4(0x134)]())??_0x2a5f69(),'unitId':_0x721312[_0x25f1b4(0x134)]()};}function _0x44313b(_0x4ae7e7,_0x4a4e2d){const _0x5b4776=_0x5d1a43;var _0x5cb8cb;return(_0x5cb8cb=_0x4ae7e7[_0x5b4776(0xe7)](_0x440871[_0x5b4776(0x187)])[_0x5b4776(0xa7)]({'subUnitId':_0x4a4e2d,'unitId':_0x4a4e2d}))==null?void 0x0:_0x5cb8cb[0x0];}function _0x336ae5(_0x4f325b,_0x28191c,_0x25444c){const _0x2c147b=_0x5d1a43;if((_0x4f325b==null?void 0x0:_0x4f325b[_0x2c147b(0xec)])===_0x2c147b(0x1ae)){var _0x126a8b;let _0x2066f3=((_0x126a8b=_0x28191c['paragraphs'])==null?void 0x0:_0x126a8b[_0x2c147b(0x1f6)](_0x4cb73d=>_0x4cb73d[_0x2c147b(0x1d4)]===_0x4f325b[_0x2c147b(0x1d4)]))??[];if(_0x2066f3['length']!==0x1)return null;let _0x519196=_0x2066f3[0x0],_0x315e31=(0x0,_0x198dff[_0x2c147b(0xe3)])(_0x28191c,_0x519196),_0x158c5f=_0x519196[_0x2c147b(0xb0)]-_0x315e31,_0x4fd214=_0x4f325b[_0x2c147b(0x1dc)]==='end'?_0x158c5f:_0x4f325b[_0x2c147b(0x1dc)];if(!Number[_0x2c147b(0x1bc)](_0x4fd214)||_0x4fd214<0x0||_0x4fd214>_0x158c5f)return null;let _0x45be96=_0x315e31+_0x4fd214;return{'startOffset':_0x45be96,'endOffset':_0x45be96};}if((_0x4f325b==null?void 0x0:_0x4f325b[_0x2c147b(0xec)])===_0x2c147b(0x19c))return!Number[_0x2c147b(0x1bc)](_0x4f325b[_0x2c147b(0x1c4)])||!Number[_0x2c147b(0x1bc)](_0x4f325b[_0x2c147b(0x1a3)])?null:{'startOffset':Math['min'](_0x4f325b[_0x2c147b(0x1c4)],_0x4f325b[_0x2c147b(0x1a3)]),'endOffset':Math['max'](_0x4f325b[_0x2c147b(0x1c4)],_0x4f325b[_0x2c147b(0x1a3)])};let _0x21ba19=(_0x4f325b==null?void 0x0:_0x4f325b[_0x2c147b(0xec)])===_0x2c147b(0xd1)?_0x4f325b['selection']:_0x25444c;return!_0x21ba19||_0x21ba19['segmentId']?null:{'startOffset':Math[_0x2c147b(0x129)](_0x21ba19[_0x2c147b(0x1c4)],_0x21ba19[_0x2c147b(0x1a3)]),'endOffset':Math[_0x2c147b(0x10b)](_0x21ba19[_0x2c147b(0x1c4)],_0x21ba19[_0x2c147b(0x1a3)])};}function _0xae9bd(_0x16d327,_0x2d4cba,_0x4f440d,_0x17a773){const _0x5da2d8=_0x5d1a43;let _0x4a0605=_0x16d327[_0x5da2d8(0xe7)](_0x54a5ff[_0x5da2d8(0x17e)]),_0x30f20f=_0x4f440d[_0x5da2d8(0x190)]('=')?_0x4f440d[_0x5da2d8(0xc6)](0x1):_0x4f440d,_0x19ab0c=_0x4a0605[_0x5da2d8(0x130)](_0x30f20f);if(!_0x19ab0c)return null;let _0x5ea50b=_0x16d327[_0x5da2d8(0xe7)](_0x3e6ae0[_0x5da2d8(0x11a)]),_0x44a9a9=(0x0,_0x3e6ae0[_0x5da2d8(0xbf)])({'qualifiers':(0x0,_0x3e6ae0[_0x5da2d8(0x108)])(_0x19ab0c),'explicitReferences':_0x17a773??[],'resolveBinding':_0x3a3dfa=>_0x5ea50b[_0x5da2d8(0x124)](_0x2d4cba,_0x3a3dfa)});return _0x44a9a9[_0x5da2d8(0x1f7)]===_0x5da2d8(0xd2)?_0x44a9a9['references']:null;}function _0x3b8eac(_0xf57623,_0x2a765d,_0x27e502){const _0x44679a=_0x5d1a43;var _0x222ecc;let _0xf16689=(0x0,_0x198dff['generateRandomId'])(0x6);for(;_0xf57623!=null&&(_0x222ecc=_0xf57623['customRanges'])!=null&&_0x222ecc[_0x44679a(0x148)](_0x2b9b20=>_0x2b9b20[_0x44679a(0xf5)]===_0xf16689)||_0x2a765d[_0x44679a(0x12d)](_0x27e502,_0xf16689);)_0xf16689=(0x0,_0x198dff['generateRandomId'])(0x6);return _0xf16689;}function _0x189dc9(_0xc129a0){try{return _0x4452fa(_0xc129a0);}catch(_0x1d1719){if(_0x1d1719 instanceof _0x428807)return null;throw _0x1d1719;}}function _0x365acd(_0x19f464){const _0x8ced85=_0x5d1a43;let _0x2fec77=_0x19f464['previousDocumentData']&&_0x19f464[_0x8ced85(0x184)]?_0x116776(_0x19f464['document'],_0x19f464['unitId'],_0x19f464['previousDocumentData'],_0x19f464['nextDocumentData'],_0x19f464[_0x8ced85(0x15b)],_0x19f464[_0x8ced85(0x175)]):null;return _0x19f464[_0x8ced85(0xcf)]&&_0x19f464['nextDocumentData']&&!_0x2fec77?null:{'documentRedo':_0x2fec77,'resourceRedo':{'id':_0x58f8fd['id'],'params':{'unitId':_0x19f464[_0x8ced85(0x152)],'resource':_0x19f464[_0x8ced85(0x1cb)]}},'resourceUndo':{'id':_0x58f8fd['id'],'params':{'unitId':_0x19f464['unitId'],'resource':_0x19f464[_0x8ced85(0x15d)]}}};}function _0x55a7f7(_0x1229b3,_0x3206c1,_0x17ef1c,_0x2bd893){const _0x226f0e=_0x5d1a43;_0x2bd893[_0x226f0e(0x1c1)]({'id':_0x1229b3[_0x226f0e(0x175)]+':'+_0x1229b3['rangeId'],'unitID':_0x1229b3[_0x226f0e(0x152)],'redoMutations':[..._0x1229b3[_0x226f0e(0xda)][_0x226f0e(0x1ba)]?[_0x1229b3[_0x226f0e(0xda)]['redoMutation']]:[],..._0x3206c1['documentRedo']?[_0x3206c1[_0x226f0e(0xba)]]:[],_0x3206c1[_0x226f0e(0x1d5)]],'undoMutations':[_0x3206c1[_0x226f0e(0x1e5)],..._0x17ef1c?[_0x17ef1c]:[],..._0x1229b3['externalMutations']['undoMutation']?[_0x1229b3[_0x226f0e(0xda)]['undoMutation']]:[]]});}function _0x482dc3(_0x431f7e){const _0x5df262=_0x5d1a43;let _0x5f0ce1=_0x431f7e[_0x5df262(0xb7)][_0x5df262(0xe7)](_0x198dff[_0x5df262(0x16e)]),_0x3159d0=_0x431f7e[_0x5df262(0xb7)]['get'](_0x198dff['IUndoRedoService']),_0xf16286=_0x431f7e['accessor'][_0x5df262(0xe7)](_0x440871[_0x5df262(0x187)]),_0xa0ebb7=_0x365acd(_0x431f7e);if(!_0xa0ebb7)return!0x1;let _0x3959ae=!0x1,_0x24e1fb=null,_0x2dda97=!0x1;try{if(_0x431f7e[_0x5df262(0xda)][_0x5df262(0x1ba)]){if(!_0x5f0ce1['syncExecuteCommand'](_0x431f7e['externalMutations'][_0x5df262(0x1ba)]['id'],_0x431f7e[_0x5df262(0xda)][_0x5df262(0x1ba)][_0x5df262(0x191)]))return!0x1;_0x3959ae=!0x0;}if(_0xa0ebb7['documentRedo']){let _0xc22ac2=_0x5f0ce1[_0x5df262(0xd5)](_0xa0ebb7['documentRedo']['id'],_0xa0ebb7[_0x5df262(0xba)][_0x5df262(0x191)]);if(!_0xc22ac2)return _0x2ab4d1(_0x5f0ce1,_0x431f7e[_0x5df262(0xda)],_0x3959ae),!0x1;_0x24e1fb={'id':_0x440871[_0x5df262(0x141)]['id'],'params':{..._0xc22ac2,'noHistory':!0x0,'noNeedSetTextRange':!0x0,'segmentId':''}};}if(!_0x5f0ce1[_0x5df262(0xd5)](_0xa0ebb7['resourceRedo']['id'],_0xa0ebb7[_0x5df262(0x1d5)]['params']))return _0x14cab7(_0x5f0ce1,_0x24e1fb),_0x2ab4d1(_0x5f0ce1,_0x431f7e['externalMutations'],_0x3959ae),!0x1;_0x2dda97=!0x0,_0x55a7f7(_0x431f7e,_0xa0ebb7,_0x24e1fb,_0x3159d0);}catch(_0x41a611){throw _0x2dda97&&_0x5f0ce1[_0x5df262(0xd5)](_0xa0ebb7[_0x5df262(0x1e5)]['id'],_0xa0ebb7['resourceUndo'][_0x5df262(0x191)]),_0x14cab7(_0x5f0ce1,_0x24e1fb),_0x2ab4d1(_0x5f0ce1,_0x431f7e[_0x5df262(0xda)],_0x3959ae),_0x41a611;}return _0xf16286[_0x5df262(0xf6)]([{'startOffset':_0x431f7e[_0x5df262(0x15b)],'endOffset':_0x431f7e['cursorOffset'],'segmentId':''}],{'unitId':_0x431f7e[_0x5df262(0x152)],'subUnitId':_0x431f7e[_0x5df262(0x152)]},!0x1,{[_0x440871[_0x5df262(0x17c)]]:!0x0}),!0x0;}function _0x116776(_0xeb229,_0x3ba13e,_0x462e41,_0x230f78,_0x3a0173,_0x5b6ec9){const _0x4be65c=_0x5d1a43;let _0x2441a6=_0x223f9b(_0x462e41,_0x230f78,(0x0,_0x198dff[_0x4be65c(0x13b)])(_0xeb229,''));return _0x2441a6?{'id':_0x440871[_0x4be65c(0x141)]['id'],'params':{'unitId':_0x3ba13e,'actions':_0x2441a6,'segmentId':'','textRanges':[{'startOffset':_0x3a0173,'endOffset':_0x3a0173,'collapsed':!0x0,'segmentId':''}],'isEditing':!0x1,'noHistory':!0x0,'noNeedSetTextRange':!0x0,'trigger':_0x5b6ec9}}:null;}function _0x14cab7(_0x1459bb,_0x48d52b){const _0x64da89=_0x5d1a43;_0x48d52b&&_0x1459bb[_0x64da89(0xd5)](_0x48d52b['id'],_0x48d52b[_0x64da89(0x191)]);}function _0x2ab4d1(_0x669168,_0x2bbb2d,_0x21e9fd){const _0x112681=_0x5d1a43;_0x21e9fd&&_0x2bbb2d[_0x112681(0xe0)]&&_0x669168[_0x112681(0xd5)](_0x2bbb2d['undoMutation']['id'],_0x2bbb2d[_0x112681(0xe0)]['params']);}function _0x223f9b(_0xf3f4f1,_0x49ffa9,_0x4314e3){const _0x27c31a=_0x5d1a43;let _0x35b4c5=_0xf3f4f1[_0x27c31a(0xeb)],_0x208286=_0x49ffa9['body'],_0xa9a229=_0x424085(_0x35b4c5==null?void 0x0:_0x35b4c5['dataStream'],_0x208286==null?void 0x0:_0x208286['dataStream']);if(!_0xa9a229||!_0x208286)return null;let _0x360bf4=new _0x198dff['TextX']();return _0x360bf4[_0x27c31a(0x1ed)](_0xa9a229[_0x27c31a(0x159)]),_0xa9a229[_0x27c31a(0x12a)]>0x0&&_0x360bf4['insert'](_0xa9a229[_0x27c31a(0x12a)],(0x0,_0x198dff[_0x27c31a(0x139)])(_0x208286,_0xa9a229[_0x27c31a(0x159)],_0xa9a229[_0x27c31a(0x159)]+_0xa9a229[_0x27c31a(0x12a)],!0x1)),_0xa9a229[_0x27c31a(0xca)]>0x0&&_0x360bf4[_0x27c31a(0x1e4)](_0xa9a229[_0x27c31a(0xca)]),_0x198dff[_0x27c31a(0x14a)]['getInstance']()[_0x27c31a(0x103)](_0x360bf4[_0x27c31a(0xdd)](),_0x4314e3);}function _0x424085(_0x1e10bf,_0x24cfb7){const _0x5db9ce=_0x5d1a43;if(_0x1e10bf==null||_0x24cfb7==null||_0x1e10bf===_0x24cfb7)return null;let _0x2163f1=0x0;for(;_0x2163f1<_0x1e10bf[_0x5db9ce(0x149)]&&_0x2163f1<_0x24cfb7[_0x5db9ce(0x149)]&&_0x1e10bf[_0x2163f1]===_0x24cfb7[_0x2163f1];)_0x2163f1+=0x1;let _0x1f29bd=_0x1e10bf[_0x5db9ce(0x149)],_0x149b6d=_0x24cfb7['length'];for(;_0x1f29bd>_0x2163f1&&_0x149b6d>_0x2163f1&&_0x1e10bf[_0x1f29bd-0x1]===_0x24cfb7[_0x149b6d-0x1];)--_0x1f29bd,--_0x149b6d;return{'start':_0x2163f1,'deleteLength':_0x1f29bd-_0x2163f1,'insertLength':_0x149b6d-_0x2163f1};}function _0x257295(_0x19e919){const _0x16f74b=_0x5d1a43;return{'schemaVersion':0x1,'formulas':Object[_0x16f74b(0xce)](Object[_0x16f74b(0xff)](_0x19e919[_0x16f74b(0xaf)])[_0x16f74b(0x1ee)](([_0x4b753d,_0x2c40e4])=>[_0x4b753d,{..._0x2c40e4,..._0x2c40e4[_0x16f74b(0x111)]?{'numberFormat':{..._0x2c40e4[_0x16f74b(0x111)]}}:null,..._0x2c40e4[_0x16f74b(0x1df)]?{'lastValue':{..._0x2c40e4[_0x16f74b(0x1df)]}}:null}]))};}let _0x22b39b=class extends _0x198dff[_0x5d1a43(0x1b5)]{constructor(_0x1a6966,_0x5a61fb,_0x5e475d,_0x4aeed){const _0x2761b6=_0x5d1a43;super(),this[_0x2761b6(0x118)]=_0x1a6966,this[_0x2761b6(0x131)]=_0x5a61fb,this[_0x2761b6(0x147)]=_0x5e475d,this[_0x2761b6(0x165)]=_0x4aeed,_0x8d49c1(this,'_pendingUnitIds',new Set()),_0x8d49c1(this,_0x2761b6(0x1fb),!0x1),_0x8d49c1(this,_0x2761b6(0x125),!0x1),this[_0x2761b6(0x118)][_0x2761b6(0xf0)](_0x198dff[_0x2761b6(0x115)][_0x2761b6(0x1d3)])[_0x2761b6(0x1a0)](_0x4019c7=>this[_0x2761b6(0x165)]['syncUnit'](_0x4019c7)),this['disposeWithMe'](this[_0x2761b6(0x147)][_0x2761b6(0x1af)][_0x2761b6(0x185)](({unitId:_0x3a482c})=>this['_syncUnit'](_0x3a482c))),this[_0x2761b6(0x1a1)](this[_0x2761b6(0x118)][_0x2761b6(0x1d2)][_0x2761b6(0x185)](({unit:_0x5c10e6})=>{const _0x3089b0=_0x2761b6;_0x5c10e6['type']===_0x198dff[_0x3089b0(0x115)][_0x3089b0(0x1d3)]&&this[_0x3089b0(0xc1)](_0x5c10e6[_0x3089b0(0x134)]());})),this[_0x2761b6(0x1a1)](this[_0x2761b6(0x118)][_0x2761b6(0x1d8)][_0x2761b6(0x185)](_0x2be396=>{const _0x31aed0=_0x2761b6;this['_service'][_0x31aed0(0x117)](_0x2be396[_0x31aed0(0x134)]());})),this[_0x2761b6(0x1a1)](this[_0x2761b6(0x131)][_0x2761b6(0x156)](_0x15dcb5=>{const _0x239c3e=_0x2761b6;if(_0x15dcb5['id']===_0x440871[_0x239c3e(0x141)]['id']&&_0x15277f(_0x15dcb5[_0x239c3e(0x191)])){let _0xca6f37=_0x15dcb5[_0x239c3e(0x191)];_0xca6f37[_0x239c3e(0x1a6)]||this[_0x239c3e(0x107)](_0xca6f37[_0x239c3e(0x152)]);}}));}[_0x5d1a43(0x170)](){const _0xd61418=_0x5d1a43;this[_0xd61418(0x125)]=!0x0,super[_0xd61418(0x170)]();}[_0x5d1a43(0xc1)](_0x50acd4){const _0x43847e=_0x5d1a43;this['_pendingUnitIds']['add'](_0x50acd4),!this[_0x43847e(0x1fb)]&&(this[_0x43847e(0x1fb)]=!0x0,queueMicrotask(()=>{const _0x383937=_0x43847e;if(this[_0x383937(0x1fb)]=!0x1,this['_isDisposed'])return;let _0x451070=Array[_0x383937(0x10c)](this[_0x383937(0x163)]);this['_pendingUnitIds'][_0x383937(0x162)](),_0x451070[_0x383937(0x1a0)](_0x58db7e=>this[_0x383937(0x107)](_0x58db7e));}));}[_0x5d1a43(0x107)](_0x50e278){const _0x52d65e=_0x5d1a43;let _0x5ab8a1=this[_0x52d65e(0x118)]['getUnit'](_0x50e278,_0x198dff[_0x52d65e(0x115)][_0x52d65e(0x1d3)]);_0x5ab8a1&&this[_0x52d65e(0x165)][_0x52d65e(0xb6)](_0x5ab8a1);}};_0x22b39b=_0x40a925([_0xbc127b(0x0,_0x198dff[_0x5d1a43(0x1f0)]),_0xbc127b(0x1,_0x198dff[_0x5d1a43(0x16e)]),_0xbc127b(0x2,(0x0,_0x198dff[_0x5d1a43(0x1b2)])(_0x12d8e9)),_0xbc127b(0x3,(0x0,_0x198dff[_0x5d1a43(0x1b2)])(_0x25e891))],_0x22b39b);function _0x15277f(_0x3fe7be){const _0x44b4bf=_0x5d1a43;return typeof _0x3fe7be==_0x44b4bf(0x199)&&!!_0x3fe7be&&_0x44b4bf(0x152)in _0x3fe7be&&typeof _0x3fe7be['unitId']==_0x44b4bf(0x16c)&&(!(_0x44b4bf(0x1a6)in _0x3fe7be)||_0x3fe7be[_0x44b4bf(0x1a6)]===void 0x0||typeof _0x3fe7be[_0x44b4bf(0x1a6)]==_0x44b4bf(0x16c));}let _0x3e46fa=class extends _0x198dff[_0x5d1a43(0x1b5)]{constructor(_0x7b1364,_0x3ac5f6){const _0x3a79bc=_0x5d1a43;super(),this[_0x3a79bc(0x10e)]=_0x7b1364,this[_0x3a79bc(0xe8)]=_0x3ac5f6,this[_0x3a79bc(0x1a1)](this[_0x3a79bc(0x10e)][_0x3a79bc(0x1f4)]({'pluginName':_0x477554,'businesses':[_0x198dff[_0x3a79bc(0x115)][_0x3a79bc(0x1d3)]],'toJson':_0x241437=>JSON['stringify'](this[_0x3a79bc(0xe8)]['serialize'](_0x241437)),'parseJson':_0x5bced6=>JSON[_0x3a79bc(0x112)](_0x5bced6),'onLoad':(_0x19de83,_0x5ea013)=>{const _0x43db44=_0x3a79bc;this[_0x43db44(0xe8)]['load'](_0x19de83,_0x5ea013);},'onUnLoad':_0x7151ad=>this[_0x3a79bc(0xe8)][_0x3a79bc(0x1f1)](_0x7151ad)}));}};_0x3e46fa=_0x40a925([_0xbc127b(0x0,_0x198dff[_0x5d1a43(0x11d)]),_0xbc127b(0x1,(0x0,_0x198dff['Inject'])(_0x12d8e9))],_0x3e46fa);var _0x40d9c1=_0x5d1a43(0xfa),_0x38c9f7=_0x5d1a43(0xb2);let _0xdc4d8b={},_0x46658f=class extends _0x198dff[_0x5d1a43(0x1b5)]{constructor(_0x2513a9,_0x3a4422,_0x270d4b){const _0x97e619=_0x5d1a43;super(),this[_0x97e619(0x1c0)]=_0x2513a9,this[_0x97e619(0x12b)]=_0x3a4422,this['disposeWithMe'](_0x270d4b[_0x97e619(0x133)]({'resolve':(_0x44f3fb,_0x3cc835)=>{const _0x44404c=_0x97e619;var _0x434390;return((_0x434390=_0x3cc835[_0x44404c(0xe9)])==null?void 0x0:_0x434390[_0x44404c(0x1f6)](_0x1d4100)['map'](_0x18f74d=>({'startOffset':_0x18f74d['startIndex'],'endOffset':_0x18f74d[_0x44404c(0x171)]+0x1,'text':this[_0x44404c(0x12c)](_0x44f3fb,_0x18f74d[_0x44404c(0xf5)])})))??[];}})),this[_0x97e619(0x1a1)](this[_0x97e619(0x12b)][_0x97e619(0x1f3)][_0x97e619(0x185)](({unitId:_0x2aebe8})=>{const _0x55c3a8=_0x97e619;_0x270d4b[_0x55c3a8(0x16b)](_0x2aebe8);}));}['resolveFormula'](_0x1c41ae,_0x27fb11){const _0x40b556=_0x5d1a43;var _0x1ae5c6;return((_0x1ae5c6=this[_0x40b556(0x12b)]['getResult']({'unitId':_0x1c41ae,'rangeId':_0x27fb11}))==null?void 0x0:_0x1ae5c6[_0x40b556(0x105)])??'';}[_0x5d1a43(0x1e8)](_0x541fe1,_0x2046ee,_0x592869){const _0x1d4cca=_0x5d1a43;var _0xaef105;let _0x1c6450=this[_0x1d4cca(0x1c0)][_0x1d4cca(0xef)](_0x541fe1,_0x198dff[_0x1d4cca(0x115)][_0x1d4cca(0x1d3)]),_0x5753c8=_0x1c6450==null?void 0x0:_0x1c6450[_0x1d4cca(0x143)]();if(!_0x5753c8)return'';let _0x1b0b3c=_0x5753c8[_0x1d4cca(0xf2)][_0x1d4cca(0xc6)](_0x2046ee,_0x592869),_0x13ba05=((_0xaef105=_0x5753c8[_0x1d4cca(0xe9)])==null?void 0x0:_0xaef105[_0x1d4cca(0x1f6)](_0x23125f=>_0x1d4100(_0x23125f)&&_0x23125f[_0x1d4cca(0xb0)]>=_0x2046ee&&_0x23125f[_0x1d4cca(0x171)]<_0x592869)[_0x1d4cca(0x128)]((_0x276338,_0xe205e3)=>_0xe205e3[_0x1d4cca(0xb0)]-_0x276338[_0x1d4cca(0xb0)]))??[];for(let _0x67ab4 of _0x13ba05){let _0x497009=_0x67ab4[_0x1d4cca(0xb0)]-_0x2046ee,_0x43edb0=_0x67ab4[_0x1d4cca(0x171)]-_0x2046ee+0x1;_0x1b0b3c=''+_0x1b0b3c[_0x1d4cca(0xc6)](0x0,_0x497009)+this[_0x1d4cca(0x12c)](_0x541fe1,_0x67ab4[_0x1d4cca(0xf5)])+_0x1b0b3c[_0x1d4cca(0xc6)](_0x43edb0);}return _0x1b0b3c;}[_0x5d1a43(0x188)](_0x35ac8c){return _0x285f9a(_0x35ac8c);}[_0x5d1a43(0x176)](_0x13b8d6,_0x5eae2e,_0x55dadf={}){const _0x58182e=_0x5d1a43;var _0x2884b9;return _0x143ae8({'id':_0x13b8d6,'body':_0x5eae2e,'documentStyle':{}},(((_0x2884b9=_0x5eae2e[_0x58182e(0xe9)])==null?void 0x0:_0x2884b9[_0x58182e(0x1f6)](_0x1d4100))??[])['map'](_0x19a6f6=>({'rangeId':_0x19a6f6['rangeId'],'text':_0x55dadf[_0x19a6f6[_0x58182e(0xf5)]]??this[_0x58182e(0x12c)](_0x13b8d6,_0x19a6f6[_0x58182e(0xf5)])})))[_0x58182e(0xeb)]??{'dataStream':''};}};_0x46658f=_0x40a925([_0xbc127b(0x0,_0x198dff[_0x5d1a43(0x1f0)]),_0xbc127b(0x1,(0x0,_0x198dff[_0x5d1a43(0x1b2)])(_0x25e891)),_0xbc127b(0x2,(0x0,_0x198dff['Inject'])(_0x440871[_0x5d1a43(0x135)]))],_0x46658f);function _0x285f9a(_0x3d1354){const _0x23071b=_0x5d1a43;var _0x18eadb,_0x1addcd;let _0xdaad=_0xde1ee8(_0x3d1354),_0x189b7c=_0x143ae8(_0x3d1354,(((_0x18eadb=_0x3d1354[_0x23071b(0xeb)])==null||(_0x18eadb=_0x18eadb[_0x23071b(0xe9)])==null?void 0x0:_0x18eadb['filter'](_0x1d4100))??[])[_0x23071b(0x1ee)](_0x1de110=>({'rangeId':_0x1de110[_0x23071b(0xf5)],'text':_0x2af186(_0xdaad==null?void 0x0:_0xdaad[_0x23071b(0xaf)][_0x1de110[_0x23071b(0xf5)]])})));return _0x189b7c['resources']=(_0x1addcd=_0x189b7c['resources'])==null?void 0x0:_0x1addcd[_0x23071b(0x1f6)](_0x1c1268=>_0x1c1268[_0x23071b(0x11b)]!==_0x477554),_0x189b7c;}function _0xde1ee8(_0x366f2c){const _0x3f81e4=_0x5d1a43;var _0x2cb21e;let _0x1a5938=(_0x2cb21e=_0x366f2c['resources'])==null||(_0x2cb21e=_0x2cb21e[_0x3f81e4(0x1a2)](_0x37eb2c=>_0x37eb2c[_0x3f81e4(0x11b)]==='DOC_FORMULA_PLUGIN'))==null?void 0x0:_0x2cb21e[_0x3f81e4(0x1ef)];if(_0x1a5938)try{let _0x3a7464=JSON[_0x3f81e4(0x112)](_0x1a5938);return _0xca39c2(_0x3a7464)?_0x3a7464:void 0x0;}catch{return;}}function _0x2af186(_0xea3843){const _0x21dcd7=_0x5d1a43;return _0xea3843?(0x0,_0x3e6ae0[_0x21dcd7(0x183)])({'lastValue':_0xea3843[_0x21dcd7(0x1df)],'numberFormat':_0xea3843[_0x21dcd7(0x111)]})[_0x21dcd7(0x105)]:'';}let _0x136b33=class extends _0x198dff[_0x5d1a43(0x1b5)]{constructor(_0x34de4e,_0xa33bf8,_0x54f7cc){const _0x2455fa=_0x5d1a43;super(),this[_0x2455fa(0x12b)]=_0x34de4e,this[_0x2455fa(0xfc)]=_0xa33bf8,this[_0x2455fa(0x1a1)](_0x54f7cc['registerProvider'](this));}['collectMutations'](_0x4e04c2){const _0x21ab2b=_0x5d1a43;let _0x36802e=new Map();for(let _0x42a1a6 of this[_0x21ab2b(0x12b)][_0x21ab2b(0x18c)]()){var _0x2351f0;if(!this[_0x21ab2b(0xfc)][_0x21ab2b(0xbb)](_0x42a1a6[_0x21ab2b(0x177)][_0x21ab2b(0xcc)],_0x42a1a6[_0x21ab2b(0x1a8)])['eligible'])continue;let _0x3ed77d=(0x0,_0x3e6ae0[_0x21ab2b(0x198)])(_0x42a1a6[_0x21ab2b(0x1a8)]),_0x3d83c9=_0x3ed77d?(0x0,_0x3e6ae0[_0x21ab2b(0x164)])(_0x3ed77d):null;if(!_0x3d83c9||_0x42196f(_0x42a1a6[_0x21ab2b(0x177)]['lastValue'],_0x3d83c9))continue;let _0x49896f=_0x36802e[_0x21ab2b(0xe7)](_0x42a1a6[_0x21ab2b(0xbe)][_0x21ab2b(0x152)])??[];_0x49896f[_0x21ab2b(0xcb)]({'rangeId':_0x42a1a6['identity'][_0x21ab2b(0xf5)],'expectedFormula':_0x42a1a6[_0x21ab2b(0x177)][_0x21ab2b(0xcc)],'expectedNumberFormat':(_0x2351f0=_0x42a1a6[_0x21ab2b(0x177)][_0x21ab2b(0x111)])==null?void 0x0:_0x2351f0[_0x21ab2b(0x194)],'expectedReferenceRevision':_0x42a1a6[_0x21ab2b(0x18d)],'lastValue':_0x3d83c9}),_0x36802e[_0x21ab2b(0x153)](_0x42a1a6[_0x21ab2b(0xbe)][_0x21ab2b(0x152)],_0x49896f);}return Array[_0x21ab2b(0x10c)](_0x36802e,([_0x2c0703,_0x1ae08b])=>({'id':_0x2e16ba['id'],'params':{'unitId':_0x2c0703,'updates':_0x1ae08b}}));}};_0x136b33=_0x40a925([_0xbc127b(0x0,(0x0,_0x198dff['Inject'])(_0x25e891)),_0xbc127b(0x1,(0x0,_0x198dff[_0x5d1a43(0x1b2)])(_0x3e6ae0[_0x5d1a43(0xfb)])),_0xbc127b(0x2,(0x0,_0x198dff['Inject'])(_0x3e6ae0['FormulaLastValuePersistenceService']))],_0x136b33);function _0x42196f(_0x639f0c,_0x5872e4){const _0x26ca14=_0x5d1a43;return(_0x639f0c==null?void 0x0:_0x639f0c['v'])===_0x5872e4['v']&&(_0x639f0c==null?void 0x0:_0x639f0c['t'])===_0x5872e4['t']&&(_0x639f0c==null?void 0x0:_0x639f0c[_0x26ca14(0x194)])===_0x5872e4[_0x26ca14(0x194)];}let _0x11b8b3=class extends _0x198dff[_0x5d1a43(0xd3)]{constructor(_0x3fc372=_0xdc4d8b,_0x303fdb,_0x305396,_0x2a4bec){const _0x287631=_0x5d1a43;super(),this[_0x287631(0x1b4)]=_0x3fc372,this[_0x287631(0x1f2)]=_0x303fdb,this[_0x287631(0x131)]=_0x305396,this[_0x287631(0x1eb)]=_0x2a4bec;let {..._0x17a1e2}=(0x0,_0x198dff[_0x287631(0x15e)])({},_0xdc4d8b,this[_0x287631(0x1b4)]);this[_0x287631(0x1eb)][_0x287631(0x13a)](_0x287631(0x14d),_0x17a1e2);}[_0x5d1a43(0xac)](){const _0x31bc39=_0x5d1a43;this['_injector']['add']([_0x12d8e9]),this[_0x31bc39(0x1f2)][_0x31bc39(0x182)]([_0x25e891]),this[_0x31bc39(0x1f2)][_0x31bc39(0x182)]([_0x3e46fa]),this[_0x31bc39(0x1f2)][_0x31bc39(0x182)]([_0x22b39b]),this[_0x31bc39(0x1f2)]['add']([_0x136b33]),this[_0x31bc39(0x1f2)][_0x31bc39(0x182)]([_0x46658f]),(0x0,_0x198dff[_0x31bc39(0x1de)])(this['_injector'],[[_0x12d8e9],[_0x3e46fa],[_0x22b39b],[_0x136b33],[_0x46658f]]),[_0x222ab9,_0x598473,_0x58f8fd,_0x2e16ba,_0x4e176c,_0x15e8cf,_0x146b8b,_0x41b076,_0x2367ea,_0x4eac98][_0x31bc39(0x1a0)](_0x327cb1=>this[_0x31bc39(0x1a1)](this[_0x31bc39(0x131)][_0x31bc39(0x10d)](_0x327cb1)));}};_0x8d49c1(_0x11b8b3,_0x5d1a43(0xad),_0x477554),_0x8d49c1(_0x11b8b3,_0x5d1a43(0x126),_0x40d9c1),_0x8d49c1(_0x11b8b3,'version',_0x38c9f7),_0x8d49c1(_0x11b8b3,'type',_0x198dff[_0x5d1a43(0x115)][_0x5d1a43(0x1d3)]),_0x11b8b3=_0x40a925([(0x0,_0x198dff[_0x5d1a43(0x121)])(_0x51d1a7[_0x5d1a43(0x1db)],_0x3e6ae0[_0x5d1a43(0x1b6)],_0x440871[_0x5d1a43(0x1ce)]),_0xbc127b(0x1,(0x0,_0x198dff[_0x5d1a43(0x1b2)])(_0x198dff[_0x5d1a43(0x136)])),_0xbc127b(0x2,_0x198dff['ICommandService']),_0xbc127b(0x3,_0x198dff[_0x5d1a43(0x1b0)])],_0x11b8b3),_0x2c87ef[_0x5d1a43(0xe4)]=_0x4eac98,_0x2c87ef[_0x5d1a43(0xf9)]=_0x5af56f,_0x2c87ef[_0x5d1a43(0x14c)]='',_0x2c87ef[_0x5d1a43(0xb9)]=_0x477554,_0x2c87ef['DOC_FORMULA_SCHEMA_VERSION']=0x1,Object[_0x5d1a43(0x1a9)](_0x2c87ef,'DocFormulaDisplayTextService',{'enumerable':!0x0,'get':function(){return _0x46658f;}}),Object[_0x5d1a43(0x1a9)](_0x2c87ef,_0x5d1a43(0x1cd),{'enumerable':!0x0,'get':function(){return _0x22b39b;}}),_0x2c87ef['DocFormulaModel']=_0x12d8e9,Object['defineProperty'](_0x2c87ef,_0x5d1a43(0x122),{'enumerable':!0x0,'get':function(){return _0x3e46fa;}}),_0x2c87ef[_0x5d1a43(0x154)]=_0x205351,Object[_0x5d1a43(0x1a9)](_0x2c87ef,_0x5d1a43(0xf4),{'enumerable':!0x0,'get':function(){return _0x25e891;}}),_0x2c87ef[_0x5d1a43(0xd4)]=_0x4e176c,_0x2c87ef['InvalidDocFormulaInsertRangeError']=_0x428807,_0x2c87ef['RemoveDocFormulaCommand']=_0x41b076,_0x2c87ef[_0x5d1a43(0x132)]=_0x598473,_0x2c87ef[_0x5d1a43(0xc0)]=_0x2367ea,_0x2c87ef[_0x5d1a43(0x1cc)]=_0x2e16ba,_0x2c87ef['SetDocFormulaMutation']=_0x222ab9,_0x2c87ef[_0x5d1a43(0x10a)]=_0x146b8b,_0x2c87ef[_0x5d1a43(0x18a)]=_0x58f8fd,Object[_0x5d1a43(0x1a9)](_0x2c87ef,_0x5d1a43(0x189),{'enumerable':!0x0,'get':function(){return _0x11b8b3;}}),_0x2c87ef[_0x5d1a43(0xd9)]=_0x15e8cf,_0x2c87ef[_0x5d1a43(0x140)]=_0x1a7f02,_0x2c87ef['buildInsertDocFormulaActions']=_0x4452fa,_0x2c87ef['buildRemoveDocFormulaActions']=_0x206593,_0x2c87ef[_0x5d1a43(0x1aa)]=_0x4d5377,_0x2c87ef[_0x5d1a43(0xb8)]=_0x2a5f69,_0x2c87ef[_0x5d1a43(0x106)]=_0x285f9a,_0x2c87ef[_0x5d1a43(0x137)]=_0x10498e,_0x2c87ef[_0x5d1a43(0x18e)]=_0x2c8fdb,_0x2c87ef[_0x5d1a43(0xb3)]=_0x1d4100,_0x2c87ef[_0x5d1a43(0x1a4)]=_0xca39c2,_0x2c87ef[_0x5d1a43(0x102)]=_0x162adb;}));
1
+ function _0x546c(_0x41ee64,_0x10925c){_0x41ee64=_0x41ee64-0x140;const _0x540dfe=_0x540d();let _0x546c12=_0x540dfe[_0x41ee64];return _0x546c12;}function _0x540d(){const _0x2e7565=['decorate','DataStreamTreeTokenType','externalReferences','docs-formula.mutation.remove-formula','_docFormulaModel','some','deepClone','_formulaKeys','parse','change$','lastValue','2411352oXdScU','invalid-resource','isInteger','success','entries','_commandService','_syncScheduled','_resourceManagerService','endIndex','values','CustomRangeType','TextX','text','docs-formula.config','trigger','CUSTOM','DOC_FORMULA_PLUGIN','DocFormulaDisplayTextService','sectionBreaks','complete','resolveFormula','trim','getRichTextEditPath','onCommandExecuted','columnGroups','1.1.0','register','unsupported-version','string','getSnapshot','generateRandomId','getBodySliceForTextXAction','symbol','_model','BLOCK_START','registerPluginResource','forEach','UniverDocs','segmentId','_registrationService','empty','deleteFormula','setFormulas','boolean','find','getResource','next','endOffset','Subject','DependentOn','previousResource','insertLength','start','accessor','pluginName','updates','_formulaService','collectMutations','_updateFormulaResult','from','sort','getCustomRangeInterval','dataStream','map','paragraphs','removeFormula','unregister','UniverInstanceType','formula','liveResult','17559NSlJbL','UniverProLicense','wholeEntity','DOC_FORMULA_CUSTOM_RANGE_KIND','_rawResources','HostExternalReferenceModel','resources','5GuCGMj','1811772yEINjW','_service','load','disabled','externalMutations','referenceRevision','Disposable','length','formulaId','default','SECTION_BREAK','nextDocumentData','delete','model','expectedReferenceRevision','rxjs','amd','toFormulaLastValue','IUniverInstanceService','documentData','findDocFormulaRange','degradeBody','_loadErrors','_syncUnit','_setPresentation','COMMAND','setFormula','clear','presentation','@univerjs-pro/engine-formula','merge','range','add','ConvertDocFormulaToTextCommand','FormulaCacheEligibilityService','_registrations','UNIVER_DOC','RemoveDocFormulaCommand','_cacheEligibilityService','_resources','FormulaResultStatus','getFormulaValueSync','paragraphId','@univerjs-pro/license','_config','rangeId','shiftInclusiveRangeOnInsert','getUnitId','4213215hgfrDf','packageName','serialize','replaceDocRanges','identity','UniverEngineFormula','getRevision','_queueSync','RegisterOtherFormulaService','keys','call','docs-formula.command.set-number-format','slice','color','getUnit','tables','selection','syncExecuteCommand','DOC','deleteLength','documentRedo','CUSTOM_BLOCK','UniverProFormulaEnginePlugin','fromEntries','@univerjs/core','_preserveInvalid','univer-docs-formula','getScalarFormulaResultCell','document','references','pattern','@univerjs/engine-formula','registerProvider','getPresentation','resourceRedo','assign','isFormulaLastValue','expectedFormula','Doc\x20Formula\x20range\x20cannot\x20cross\x20document\x20structure\x20boundaries','IResourceManagerService','customRanges','previousDocumentData','751919KwVbxq','config','getOwnPropertyDescriptor','stringify','COLUMN_GROUP_END','version','ICommandService','asObservable','isDocFormulaConfig','exports','customDecorations','docs-formula.command.remove','DocSelectionManagerService','paragraph','subscribe','COLUMN_START','IUndoRedoService','@univerjs-pro/docs-formula','resource','DocFormulaResourceController','error','body','resolved','undoMutation','getAllUnitsForType','MUTATION','UniverProDocsFormula','isArray','set','notifyTextChanged','defineProperty','setConfig','_univerInstanceService','_presentationChanged$','RichTextEditingMutation','expectedNumberFormat','ERROR','degradeDocumentData','docs-formula.command.convert-to-text','number','data','setResource','type','COLUMN_END','max','registerCommand','cell','getFormula','Document\x20main\x20body\x20is\x20required\x20to\x20insert\x20Doc\x20Formula.','EMPTY','unitAdded$','startsWith','@univerjs/docs','docs-formula.command.insert','min','touchDependencies','_hostExternalReferenceModel','startIndex','presentationChanged$','unitId','name','createEmptyDocFormulaResource','end','DocFormulaModel','retain','DocFormulaLifecycleController','_isDisposed','UniverCore','iterator','UniverProEngineFormula','CommandType','object','_change$','nextResource','unregisterUnit','function','blockRanges','LexerTreeBuilder','every','resolveHostFormulaExternalReferences','registerFormulaWithRange','redoMutation','getResult','resourceUndo','docs-formula.mutation.set-last-values','customBlocks','SUCCESS','UniverDocsFormulaPlugin','_instanceService','_configService','dispose','resolveBinding','buildUpdateDocFormulaActions','schemaVersion','154ZVIZHd','buildUpsertHostExternalReferenceMutations','OtherFormulaBizType','Injector','getLoadError','numberFormat','_deleteRegistration','SetDocFormulaResourceMutation','DOC_FORMULA_SCHEMA_VERSION','startOffset','Tools','pushUndoRedo','removeUnit','position','Inject','FormulaLastValuePersistenceService','_injector','has','Module','buildInsertDocFormulaActions','18AthHxo','resolveText','textRuns','115404meOkYK','getFormulas','RemoveDocFormulaMutation','degradeDocFormulaDocumentData','get','TABLE_START','cursorOffset','properties','source','PENDING','SetDocFormulaMutation','ReplaceDocFormulaWithTextCommand','pending','resolveFormulaResultPresentation','status','syncUnit','SetDocFormulaLastValuesMutation','_pendingUnitIds','params','COLUMN_GROUP_START','disposeWithMe','9863570rmoZWI','includes','stale','formulas','target','filter','constructor','UpdateDocFormulaCommand','docs-formula.command.update'];_0x540d=function(){return _0x2e7565;};return _0x540d();}(function(_0x4b80f8,_0x4a3fdf){const _0x94f0c0=_0x546c,_0x3e22c2=_0x4b80f8();while(!![]){try{const _0x836688=-parseInt(_0x94f0c0(0x1bb))/0x1+-parseInt(_0x94f0c0(0x1a4))/0x2*(-parseInt(_0x94f0c0(0x22a))/0x3)+-parseInt(_0x94f0c0(0x232))/0x4*(-parseInt(_0x94f0c0(0x231))/0x5)+-parseInt(_0x94f0c0(0x1b8))/0x6*(-parseInt(_0x94f0c0(0x146))/0x7)+-parseInt(_0x94f0c0(0x1e4))/0x8+parseInt(_0x94f0c0(0x262))/0x9+-parseInt(_0x94f0c0(0x1d0))/0xa;if(_0x836688===_0x4a3fdf)break;else _0x3e22c2['push'](_0x3e22c2['shift']());}catch(_0x1cc9f1){_0x3e22c2['push'](_0x3e22c2['shift']());}}}(_0x540d,0x4700e),function(_0xbab9f,_0x265de6){const _0x5eef5f=_0x546c;typeof exports=='object'&&typeof module<'u'?_0x265de6(exports,require('@univerjs-pro/engine-formula'),require('@univerjs/core'),require('@univerjs/docs'),require('@univerjs/engine-formula'),require('rxjs'),require('@univerjs-pro/license')):typeof define==_0x5eef5f(0x191)&&define[_0x5eef5f(0x242)]?define([_0x5eef5f(0x14f),_0x5eef5f(0x24f),_0x5eef5f(0x27a),_0x5eef5f(0x17a),_0x5eef5f(0x281),_0x5eef5f(0x241),_0x5eef5f(0x25d)],_0x265de6):(_0xbab9f=typeof globalThis<'u'?globalThis:_0xbab9f||self,_0x265de6(_0xbab9f[_0x5eef5f(0x160)]={},_0xbab9f[_0x5eef5f(0x18b)],_0xbab9f[_0x5eef5f(0x189)],_0xbab9f[_0x5eef5f(0x209)],_0xbab9f[_0x5eef5f(0x267)],_0xbab9f[_0x5eef5f(0x241)],_0xbab9f[_0x5eef5f(0x22b)]));}(this,function(_0xb9a124,_0x4c3070,_0x589ba5,_0x3f1694,_0x5d5308,_0x299af7,_0x305e99){const _0x3a09b9=_0x546c;Object[_0x3a09b9(0x164)](_0xb9a124,Symbol['toStringTag'],{'value':_0x3a09b9(0x1b6)});let _0x33fb70='DOC_FORMULA_PLUGIN',_0x3914c0=_0x3a09b9(0x27c);function _0x4e6d45(){return{'schemaVersion':0x1,'formulas':{}};}function _0x4fcbf3(_0x419b2a){const _0x2ac264=_0x3a09b9;return!_0x419b2a||typeof _0x419b2a!=_0x2ac264(0x18d)||!_0x32e964(_0x419b2a,[_0x2ac264(0x1a3),'formulas'])||!('schemaVersion'in _0x419b2a)||_0x419b2a[_0x2ac264(0x1a3)]!==0x1||!(_0x2ac264(0x1d3)in _0x419b2a)||!_0x419b2a['formulas']||typeof _0x419b2a['formulas']!=_0x2ac264(0x18d)||Array[_0x2ac264(0x161)](_0x419b2a[_0x2ac264(0x1d3)])?!0x1:Object[_0x2ac264(0x1e8)](_0x419b2a[_0x2ac264(0x1d3)])[_0x2ac264(0x194)](([_0x39614d,_0x61da3a])=>_0x39614d[_0x2ac264(0x239)]>0x0&&_0x372fdd(_0x61da3a));}function _0x372fdd(_0x3af759){const _0x399efd=_0x3a09b9;return!_0x3af759||typeof _0x3af759!=_0x399efd(0x18d)||!_0x32e964(_0x3af759,['formula',_0x399efd(0x1a9),_0x399efd(0x1e3)])||!(_0x399efd(0x228)in _0x3af759)||typeof _0x3af759['formula']!=_0x399efd(0x200)||!_0x3af759[_0x399efd(0x228)][_0x399efd(0x1f9)]()||_0x399efd(0x1a9)in _0x3af759&&_0x3af759['numberFormat']!=null&&(typeof _0x3af759['numberFormat']!=_0x399efd(0x18d)||!_0x32e964(_0x3af759[_0x399efd(0x1a9)],[_0x399efd(0x280)])||!(_0x399efd(0x280)in _0x3af759['numberFormat'])||typeof _0x3af759['numberFormat']['pattern']!=_0x399efd(0x200))?!0x1:!(_0x399efd(0x1e3)in _0x3af759)||_0x3af759[_0x399efd(0x1e3)]==null||_0x282418(_0x3af759['lastValue']);}function _0x282418(_0x1ffa89){const _0x44aa96=_0x3a09b9;return!_0x1ffa89||typeof _0x1ffa89!=_0x44aa96(0x18d)||!_0x32e964(_0x1ffa89,['v','t',_0x44aa96(0x280)])||!('v'in _0x1ffa89)||_0x1ffa89['v']!==null&&typeof _0x1ffa89['v']!=_0x44aa96(0x200)&&typeof _0x1ffa89['v']!=_0x44aa96(0x16d)&&typeof _0x1ffa89['v']!=_0x44aa96(0x20f)||'t'in _0x1ffa89&&_0x1ffa89['t']!=null&&!_0x25741e(_0x1ffa89['t'])?!0x1:!(_0x44aa96(0x280)in _0x1ffa89)||_0x1ffa89[_0x44aa96(0x280)]==null||typeof _0x1ffa89[_0x44aa96(0x280)]=='string';}function _0x32e964(_0x2576a4,_0x374370){const _0x235260=_0x3a09b9;let _0x8e1a8f=new Set(_0x374370);return Object[_0x235260(0x26b)](_0x2576a4)['every'](_0xb49775=>_0x8e1a8f[_0x235260(0x1b5)](_0xb49775));}function _0x25741e(_0xb0bcbe){const _0x3d30cc=_0x3a09b9;return typeof _0xb0bcbe==_0x3d30cc(0x16d)&&Object[_0x3d30cc(0x1ed)](_0x589ba5['CellValueType'])[_0x3d30cc(0x1d1)](_0xb0bcbe);}let _0x57fb54=new Set([_0x589ba5[_0x3a09b9(0x1da)][_0x3a09b9(0x23c)],_0x589ba5[_0x3a09b9(0x1da)][_0x3a09b9(0x1c0)],_0x589ba5[_0x3a09b9(0x1da)]['TABLE_ROW_START'],_0x589ba5[_0x3a09b9(0x1da)]['TABLE_CELL_START'],_0x589ba5[_0x3a09b9(0x1da)]['TABLE_CELL_END'],_0x589ba5['DataStreamTreeTokenType']['TABLE_ROW_END'],_0x589ba5[_0x3a09b9(0x1da)]['TABLE_END'],_0x589ba5[_0x3a09b9(0x1da)][_0x3a09b9(0x1ce)],_0x589ba5[_0x3a09b9(0x1da)][_0x3a09b9(0x155)],_0x589ba5['DataStreamTreeTokenType'][_0x3a09b9(0x171)],_0x589ba5[_0x3a09b9(0x1da)][_0x3a09b9(0x14a)],_0x589ba5[_0x3a09b9(0x1da)][_0x3a09b9(0x206)],_0x589ba5[_0x3a09b9(0x1da)]['BLOCK_END'],_0x589ba5[_0x3a09b9(0x1da)][_0x3a09b9(0x277)]]);var _0x1c3d3b=class extends Error{constructor(){const _0x189f0c=_0x3a09b9;super(_0x189f0c(0x142));}};function _0x38fc78(_0x5b8cb7){const _0x355a97=_0x3a09b9;var _0x409a73,_0x28ceb4;let _0x5b30c9=_0x589ba5[_0x355a97(0x1ae)][_0x355a97(0x1df)](_0x5b8cb7[_0x355a97(0x245)]),_0x269c9d=_0xe8dc64(_0x5b30c9),{startOffset:_0x36e092,endOffset:_0x5921ad}=_0x94c03c(_0x269c9d,_0x5b8cb7['startOffset'],_0x5b8cb7['endOffset']);_0x5a8223(_0x269c9d,_0x36e092,_0x5921ad);let _0x1f0a55=((_0x409a73=_0x269c9d['customRanges'])==null?void 0x0:_0x409a73[_0x355a97(0x1d5)](_0x1ab68d=>{const _0x477d83=_0x355a97;if(!_0x4e62d2(_0x1ab68d))return!0x1;let _0x5d48f7=(0x0,_0x589ba5[_0x477d83(0x221)])(_0x1ab68d);return _0x5d48f7['endOffset']>_0x36e092&&_0x5d48f7['startOffset']<_0x5921ad;})[_0x355a97(0x223)](_0x5286b2=>_0x5286b2[_0x355a97(0x25f)]))??[];_0x9e1f8f(_0x269c9d,_0x36e092,_0x5921ad,''),_0x269c9d[_0x355a97(0x144)]=[...((_0x28ceb4=_0x269c9d[_0x355a97(0x144)])==null?void 0x0:_0x28ceb4[_0x355a97(0x1d5)](_0x56c13c=>!_0x1f0a55[_0x355a97(0x1d1)](_0x56c13c[_0x355a97(0x25f)])&&_0x56c13c[_0x355a97(0x25f)]!==_0x5b8cb7['rangeId']))??[],_0x5e2901(_0x5b8cb7[_0x355a97(0x25f)],_0x36e092)][_0x355a97(0x220)]((_0xf89696,_0x52d555)=>_0xf89696[_0x355a97(0x17f)]-_0x52d555['startIndex']);let _0x3a636f=_0x4c7e93(_0x5b8cb7[_0x355a97(0x158)]);return _0x1f0a55[_0x355a97(0x208)](_0x47f3e2=>{const _0x4b516=_0x355a97;delete _0x3a636f[_0x4b516(0x1d3)][_0x47f3e2];}),_0x3a636f[_0x355a97(0x1d3)][_0x5b8cb7[_0x355a97(0x25f)]]=_0x589ba5[_0x355a97(0x1ae)][_0x355a97(0x1df)](_0x5b8cb7[_0x355a97(0x147)]),{'nextDocumentData':_0x5b30c9,'nextResource':_0x3a636f,'cursorOffset':_0x36e092+0x1};}function _0x448c17(_0x148fc7){const _0x168771=_0x3a09b9;var _0x5d9717,_0x3ab9b5;let _0x4ea200=_0x589ba5['Tools'][_0x168771(0x1df)](_0x148fc7[_0x168771(0x245)]),_0x4503ab=(_0x5d9717=_0xe8dc64(_0x4ea200)[_0x168771(0x144)])==null?void 0x0:_0x5d9717[_0x168771(0x210)](_0x2eb70f=>_0x2eb70f[_0x168771(0x25f)]===_0x148fc7[_0x168771(0x25f)]&&_0x4e62d2(_0x2eb70f));if(!_0x4503ab||!((_0x3ab9b5=_0x148fc7[_0x168771(0x158)])!=null&&_0x3ab9b5[_0x168771(0x1d3)][_0x148fc7['rangeId']]))return null;let _0x519b4f=_0x4c7e93(_0x148fc7['resource']);return _0x519b4f[_0x168771(0x1d3)][_0x148fc7['rangeId']]=_0x589ba5[_0x168771(0x1ae)][_0x168771(0x1df)](_0x148fc7[_0x168771(0x147)]),{'nextDocumentData':_0x4ea200,'nextResource':_0x519b4f,'cursorOffset':_0x4503ab[_0x168771(0x1ec)]+0x1};}function _0x273d39(_0x3b792e){const _0x5c5705=_0x3a09b9;let _0x5b8e04=_0x589ba5[_0x5c5705(0x1ae)][_0x5c5705(0x1df)](_0x3b792e[_0x5c5705(0x245)]),_0x3c4bca=_0x414dca(_0x5b8e04,_0x3b792e[_0x5c5705(0x25f)],_0x3b792e[_0x5c5705(0x1f0)]??'');if(_0x3c4bca==null)return null;let _0x138822=_0x4c7e93(_0x3b792e['resource']);return delete _0x138822['formulas'][_0x3b792e[_0x5c5705(0x25f)]],{'nextDocumentData':_0x5b8e04,'nextResource':_0x138822,'cursorOffset':_0x3c4bca};}function _0x3a2210(_0x4573ea,_0x3d73b7){const _0xb08034=_0x3a09b9;var _0x3bd45c;let _0x497862=_0x589ba5[_0xb08034(0x1ae)][_0xb08034(0x1df)](_0x4573ea),_0x530c7c=_0x497862['body'];if(!_0x530c7c)return _0x497862;let _0x4a2ede=new Map(_0x3d73b7[_0xb08034(0x223)](_0x2b0be7=>[_0x2b0be7['rangeId'],_0x2b0be7[_0xb08034(0x1f0)]])),_0x16c3a7=((_0x3bd45c=_0x530c7c[_0xb08034(0x144)])==null?void 0x0:_0x3bd45c[_0xb08034(0x1d5)](_0x4241bd=>_0x4e62d2(_0x4241bd)&&_0x4a2ede[_0xb08034(0x1b5)](_0x4241bd['rangeId']))[_0xb08034(0x220)]((_0x394dea,_0x396fee)=>_0x396fee['startIndex']-_0x394dea[_0xb08034(0x17f)]))??[];for(let _0x265d98 of _0x16c3a7)_0x414dca(_0x497862,_0x265d98[_0xb08034(0x25f)],_0x4a2ede['get'](_0x265d98[_0xb08034(0x25f)])??'');return _0x497862;}function _0x4e62d2(_0x5eaeb5){const _0x1f7caa=_0x3a09b9;var _0x2c1182;return(_0x5eaeb5==null?void 0x0:_0x5eaeb5['rangeType'])===_0x589ba5['CustomRangeType'][_0x1f7caa(0x1f3)]&&_0x5eaeb5[_0x1f7caa(0x22c)]===!0x0&&((_0x2c1182=_0x5eaeb5[_0x1f7caa(0x1c2)])==null?void 0x0:_0x2c1182['kind'])===_0x1f7caa(0x27c);}function _0x432e46(_0x102a64,_0x54394c){const _0x2fc73c=_0x3a09b9;var _0x147c09;return _0x102a64==null||(_0x147c09=_0x102a64[_0x2fc73c(0x144)])==null?void 0x0:_0x147c09[_0x2fc73c(0x210)](_0x410fd5=>_0x410fd5['rangeId']===_0x54394c&&_0x4e62d2(_0x410fd5));}function _0x5a8223(_0x1670de,_0x14dcdb,_0x34b8d2){const _0x225640=_0x3a09b9;if(_0x14dcdb===_0x34b8d2){if(_0x57fb54[_0x225640(0x1b5)](_0x1670de[_0x225640(0x222)][_0x14dcdb]))throw new _0x1c3d3b();}else{for(let _0x580856=_0x14dcdb;_0x580856<_0x34b8d2;_0x580856++)if(_0x1670de[_0x225640(0x222)][_0x580856]===_0x589ba5[_0x225640(0x1da)]['PARAGRAPH']||_0x57fb54['has'](_0x1670de[_0x225640(0x222)][_0x580856]))throw new _0x1c3d3b();}}function _0x5e2901(_0x529067,_0x24ebeb){const _0x437241=_0x3a09b9;return{'startIndex':_0x24ebeb,'endIndex':_0x24ebeb,'rangeId':_0x529067,'rangeType':_0x589ba5[_0x437241(0x1ee)]['CUSTOM'],'wholeEntity':!0x0,'properties':{'kind':_0x3914c0}};}function _0x4c7e93(_0x1ef479){const _0x50c7cd=_0x3a09b9;return _0x1ef479?_0x589ba5[_0x50c7cd(0x1ae)][_0x50c7cd(0x1df)](_0x1ef479):_0x4e6d45();}function _0x94c03c(_0x4145df,_0x2b68c5,_0x46ad02){const _0x202176=_0x3a09b9;let _0x45c98e=_0xb7c92a(_0x4145df),_0xe28e79=_0x2b68c5??_0x45c98e,_0x2f5e27=_0x46ad02??_0xe28e79;return{'startOffset':_0x50c23e(Math[_0x202176(0x17c)](_0xe28e79,_0x2f5e27),_0x45c98e),'endOffset':_0x50c23e(Math[_0x202176(0x172)](_0xe28e79,_0x2f5e27),_0x45c98e)};}function _0x50c23e(_0x53883a,_0x59d41a){const _0x1182b7=_0x3a09b9;return Math[_0x1182b7(0x172)](0x0,Math['min'](_0x53883a,_0x59d41a));}function _0xb7c92a(_0x46b119){const _0xc4516b=_0x3a09b9;return _0x46b119[_0xc4516b(0x222)]['endsWith'](''+_0x589ba5[_0xc4516b(0x1da)]['PARAGRAPH']+_0x589ba5[_0xc4516b(0x1da)]['SECTION_BREAK'])?Math[_0xc4516b(0x172)](0x0,_0x46b119[_0xc4516b(0x222)][_0xc4516b(0x239)]-0x2):_0x46b119[_0xc4516b(0x222)]['endsWith'](_0x589ba5[_0xc4516b(0x1da)]['SECTION_BREAK'])?Math['max'](0x0,_0x46b119[_0xc4516b(0x222)][_0xc4516b(0x239)]-0x1):_0x46b119[_0xc4516b(0x222)][_0xc4516b(0x239)];}function _0x9e1f8f(_0xe14d15,_0x53271b,_0x138bc4,_0x2ae031){_0x138bc4>_0x53271b&&_0x4b674d(_0xe14d15,_0x53271b,_0x138bc4),_0x2e3610(_0xe14d15,_0x53271b,_0x2ae031);}function _0x414dca(_0xd68f52,_0x570396,_0x51c0fb){const _0x54e3e1=_0x3a09b9;var _0x3d8855,_0x2443cc;let _0x3a0261=_0xe8dc64(_0xd68f52),_0x59ed7a=(_0x3d8855=_0x3a0261[_0x54e3e1(0x144)])==null?void 0x0:_0x3d8855[_0x54e3e1(0x210)](_0x52554c=>_0x52554c[_0x54e3e1(0x25f)]===_0x570396&&_0x4e62d2(_0x52554c));if(!_0x59ed7a)return null;let _0x5d4408=(0x0,_0x589ba5[_0x54e3e1(0x221)])(_0x59ed7a);return _0x9e1f8f(_0x3a0261,_0x5d4408[_0x54e3e1(0x1ad)],_0x5d4408[_0x54e3e1(0x213)],_0x51c0fb),_0x3a0261[_0x54e3e1(0x144)]=(_0x2443cc=_0x3a0261[_0x54e3e1(0x144)])==null?void 0x0:_0x2443cc[_0x54e3e1(0x1d5)](_0x5bd42a=>_0x5bd42a[_0x54e3e1(0x25f)]!==_0x570396),_0x5d4408[_0x54e3e1(0x1ad)]+_0x51c0fb['length'];}function _0x2e3610(_0x47a7ef,_0x1631c0,_0x1804c5){const _0x22ae9a=_0x3a09b9;_0x1804c5&&(_0x47a7ef['dataStream']=''+_0x47a7ef[_0x22ae9a(0x222)]['slice'](0x0,_0x1631c0)+_0x1804c5+_0x47a7ef[_0x22ae9a(0x222)][_0x22ae9a(0x26e)](_0x1631c0),_0xf3584c(_0x47a7ef,_0x1631c0,_0x1804c5[_0x22ae9a(0x239)]));}function _0x4b674d(_0x2c6ad0,_0x4d90df,_0x1dcf16){const _0xfef88b=_0x3a09b9;let _0x32d101=_0x1dcf16-_0x4d90df;_0x2c6ad0[_0xfef88b(0x222)]=''+_0x2c6ad0[_0xfef88b(0x222)][_0xfef88b(0x26e)](0x0,_0x4d90df)+_0x2c6ad0[_0xfef88b(0x222)][_0xfef88b(0x26e)](_0x1dcf16),_0x506a56(_0x2c6ad0,_0x4d90df,_0x32d101);}function _0xf3584c(_0x587dee,_0x46c946,_0x6276b2){const _0x25d9bd=_0x3a09b9;_0x587dee[_0x25d9bd(0x224)]=_0x198623(_0x587dee[_0x25d9bd(0x224)],_0x46c946,_0x6276b2),_0x587dee[_0x25d9bd(0x1f6)]=_0x198623(_0x587dee[_0x25d9bd(0x1f6)],_0x46c946,_0x6276b2),_0x587dee[_0x25d9bd(0x19b)]=_0x198623(_0x587dee[_0x25d9bd(0x19b)],_0x46c946,_0x6276b2),_0x587dee[_0x25d9bd(0x1ba)]=_0xe8e696(_0x587dee[_0x25d9bd(0x1ba)],_0x46c946,_0x6276b2),_0x587dee[_0x25d9bd(0x271)]=_0x568458(_0x587dee[_0x25d9bd(0x271)],_0x46c946,_0x6276b2),_0x587dee[_0x25d9bd(0x1fc)]=_0x40261b(_0x587dee['columnGroups'],_0x46c946,_0x6276b2),_0x587dee[_0x25d9bd(0x144)]=_0x40261b(_0x587dee[_0x25d9bd(0x144)],_0x46c946,_0x6276b2),_0x587dee['customDecorations']=_0x40261b(_0x587dee[_0x25d9bd(0x150)],_0x46c946,_0x6276b2),_0x587dee[_0x25d9bd(0x192)]=_0x40261b(_0x587dee[_0x25d9bd(0x192)],_0x46c946,_0x6276b2);}function _0x506a56(_0x43e3fb,_0x4f278e,_0x33ef0e){const _0x3e94ab=_0x3a09b9;var _0x1f73d6,_0x5b183a;_0x43e3fb[_0x3e94ab(0x224)]=_0x2792ac(_0x43e3fb[_0x3e94ab(0x224)],_0x4f278e,_0x33ef0e),_0x43e3fb[_0x3e94ab(0x1f6)]=_0x2792ac(_0x43e3fb[_0x3e94ab(0x1f6)],_0x4f278e,_0x33ef0e),_0x43e3fb[_0x3e94ab(0x19b)]=_0x2792ac(_0x43e3fb['customBlocks'],_0x4f278e,_0x33ef0e),_0x43e3fb[_0x3e94ab(0x1ba)]=(_0x1f73d6=_0x3c6977((_0x5b183a=_0x43e3fb[_0x3e94ab(0x1ba)])==null?void 0x0:_0x5b183a[_0x3e94ab(0x223)](_0x3d9e11=>({..._0x3d9e11,'startIndex':_0x3d9e11['st'],'endIndex':_0x3d9e11['ed']})),_0x4f278e,_0x33ef0e))==null?void 0x0:_0x1f73d6[_0x3e94ab(0x223)](_0x196e7b=>{let {startIndex:_0x3d443a,endIndex:_0x1c2957,..._0x15ff36}=_0x196e7b;return{..._0x15ff36,'st':_0x3d443a,'ed':_0x1c2957};}),_0x43e3fb[_0x3e94ab(0x271)]=_0x3c6977(_0x43e3fb[_0x3e94ab(0x271)],_0x4f278e,_0x33ef0e),_0x43e3fb[_0x3e94ab(0x1fc)]=_0xa5127c(_0x43e3fb[_0x3e94ab(0x1fc)],_0x4f278e,_0x33ef0e),_0x43e3fb[_0x3e94ab(0x144)]=_0xa5127c(_0x43e3fb[_0x3e94ab(0x144)],_0x4f278e,_0x33ef0e),_0x43e3fb[_0x3e94ab(0x150)]=_0xa5127c(_0x43e3fb[_0x3e94ab(0x150)],_0x4f278e,_0x33ef0e),_0x43e3fb['blockRanges']=_0xa5127c(_0x43e3fb[_0x3e94ab(0x192)],_0x4f278e,_0x33ef0e);}function _0x198623(_0x45a81a,_0x4e9a6e,_0x3b3f3c){const _0x5849ea=_0x3a09b9;return _0x45a81a==null?void 0x0:_0x45a81a['map'](_0x3b4d71=>_0x3b4d71[_0x5849ea(0x17f)]>=_0x4e9a6e?{..._0x3b4d71,'startIndex':_0x3b4d71[_0x5849ea(0x17f)]+_0x3b3f3c}:_0x3b4d71);}function _0x2792ac(_0x30daa9,_0x1f08d7,_0x320965){const _0x4776f6=_0x3a09b9;let _0x1483b4=_0x1f08d7+_0x320965;return _0x30daa9==null?void 0x0:_0x30daa9[_0x4776f6(0x223)](_0x174da8=>_0x174da8[_0x4776f6(0x17f)]>=_0x1f08d7&&_0x174da8['startIndex']<_0x1483b4?null:_0x174da8[_0x4776f6(0x17f)]>=_0x1483b4?{..._0x174da8,'startIndex':_0x174da8[_0x4776f6(0x17f)]-_0x320965}:_0x174da8)['filter'](_0x2065dd=>_0x2065dd!=null);}function _0xe8e696(_0xe343d5,_0x6957b5,_0x25c583){return _0xe343d5==null?void 0x0:_0xe343d5['map'](_0x2bb648=>_0x2bb648['st']>=_0x6957b5?{..._0x2bb648,'st':_0x2bb648['st']+_0x25c583,'ed':_0x2bb648['ed']+_0x25c583}:_0x2bb648['ed']>_0x6957b5?{..._0x2bb648,'ed':_0x2bb648['ed']+_0x25c583}:_0x2bb648);}function _0x40261b(_0x111f52,_0x255735,_0x148f2d){const _0x1f6d21=_0x3a09b9;return _0x111f52==null?void 0x0:_0x111f52['map'](_0x39a8f3=>(0x0,_0x589ba5[_0x1f6d21(0x260)])(_0x39a8f3,_0x255735,_0x148f2d));}function _0x568458(_0x201bcf,_0x5602e6,_0x50f37d){return _0x201bcf==null?void 0x0:_0x201bcf['map'](_0x485be6=>(0x0,_0x589ba5['shiftExclusiveRangeOnInsert'])(_0x485be6,_0x5602e6,_0x50f37d));}function _0xa5127c(_0x10d556,_0x3ce2ac,_0x5dad0a){const _0x4607a8=_0x3a09b9;return _0x10d556==null?void 0x0:_0x10d556[_0x4607a8(0x223)](_0x484b8c=>(0x0,_0x589ba5['shiftInclusiveRangeOnDelete'])(_0x484b8c,_0x3ce2ac,_0x5dad0a))[_0x4607a8(0x1d5)](_0x3cd37c=>_0x3cd37c!=null);}function _0x3c6977(_0x12102d,_0x47d496,_0x369523){const _0x5dd76b=_0x3a09b9;return _0x12102d==null?void 0x0:_0x12102d[_0x5dd76b(0x223)](_0x3de8cc=>(0x0,_0x589ba5['shiftExclusiveRangeOnDelete'])(_0x3de8cc,_0x47d496,_0x369523))[_0x5dd76b(0x1d5)](_0x25ac81=>_0x25ac81!=null);}function _0xe8dc64(_0x463e51){const _0x1d1423=_0x3a09b9;if(!_0x463e51[_0x1d1423(0x15b)])throw Error(_0x1d1423(0x176));return _0x463e51[_0x1d1423(0x15b)];}function _0x251e22(_0xbdeff9){'@babel/helpers - typeof';const _0x4856a4=_0x3a09b9;return _0x251e22=typeof Symbol==_0x4856a4(0x191)&&typeof Symbol[_0x4856a4(0x18a)]=='symbol'?function(_0x2f6292){return typeof _0x2f6292;}:function(_0x354922){const _0x49132d=_0x4856a4;return _0x354922&&typeof Symbol==_0x49132d(0x191)&&_0x354922[_0x49132d(0x1d6)]===Symbol&&_0x354922!==Symbol['prototype']?_0x49132d(0x204):typeof _0x354922;},_0x251e22(_0xbdeff9);}function _0x382ace(_0x42a6cc,_0xa47b){const _0x18e884=_0x3a09b9;if(_0x251e22(_0x42a6cc)!=_0x18e884(0x18d)||!_0x42a6cc)return _0x42a6cc;var _0x213884=_0x42a6cc[Symbol['toPrimitive']];if(_0x213884!==void 0x0){var _0x7bba9d=_0x213884[_0x18e884(0x26c)](_0x42a6cc,_0xa47b||_0x18e884(0x23b));if(_0x251e22(_0x7bba9d)!=_0x18e884(0x18d))return _0x7bba9d;throw TypeError('@@toPrimitive\x20must\x20return\x20a\x20primitive\x20value.');}return(_0xa47b===_0x18e884(0x200)?String:Number)(_0x42a6cc);}function _0x32051d(_0x1ca7ca){const _0x17f7af=_0x3a09b9;var _0x52a3c9=_0x382ace(_0x1ca7ca,_0x17f7af(0x200));return _0x251e22(_0x52a3c9)==_0x17f7af(0x204)?_0x52a3c9:_0x52a3c9+'';}function _0x3433aa(_0x2b59d7,_0x1257ee,_0x53ffaf){const _0x1034dd=_0x3a09b9;return(_0x1257ee=_0x32051d(_0x1257ee))in _0x2b59d7?Object[_0x1034dd(0x164)](_0x2b59d7,_0x1257ee,{'value':_0x53ffaf,'enumerable':!0x0,'configurable':!0x0,'writable':!0x0}):_0x2b59d7[_0x1257ee]=_0x53ffaf,_0x2b59d7;}var _0x5334e8=class extends _0x589ba5[_0x3a09b9(0x238)]{constructor(..._0x2e9604){const _0x216c68=_0x3a09b9;super(..._0x2e9604),_0x3433aa(this,_0x216c68(0x259),new Map()),_0x3433aa(this,_0x216c68(0x22e),new Map()),_0x3433aa(this,'_loadErrors',new Map()),_0x3433aa(this,_0x216c68(0x18e),new _0x299af7[(_0x216c68(0x214))]()),_0x3433aa(this,_0x216c68(0x1e2),this[_0x216c68(0x18e)]['asObservable']());}['getFormula'](_0x53802c,_0x13c82a){const _0x2d6ba4=_0x3a09b9;var _0x370415;let _0x19dd7b=(_0x370415=this['_resources'][_0x2d6ba4(0x1bf)](_0x53802c))==null?void 0x0:_0x370415['formulas'][_0x13c82a];return _0x19dd7b?_0x589ba5[_0x2d6ba4(0x1ae)][_0x2d6ba4(0x1df)](_0x19dd7b):void 0x0;}[_0x3a09b9(0x1bc)](_0x398474){const _0x29109b=_0x3a09b9;var _0x26cdfe;return _0x589ba5['Tools'][_0x29109b(0x1df)](((_0x26cdfe=this[_0x29109b(0x259)][_0x29109b(0x1bf)](_0x398474))==null?void 0x0:_0x26cdfe[_0x29109b(0x1d3)])??{});}[_0x3a09b9(0x211)](_0x37c1de){const _0x352ec3=_0x3a09b9;let _0x211631=this['_resources']['get'](_0x37c1de);return _0x211631?_0x589ba5[_0x352ec3(0x1ae)][_0x352ec3(0x1df)](_0x211631):void 0x0;}[_0x3a09b9(0x24c)](_0x40f63f,_0x4e8ae7,_0x564629){return this['setFormulas'](_0x40f63f,{[_0x4e8ae7]:_0x564629});}[_0x3a09b9(0x16f)](_0x1ea416,_0xa6d18e){const _0x35e9a7=_0x3a09b9;return this[_0x35e9a7(0x248)]['has'](_0x1ea416)||!_0x4fcbf3(_0xa6d18e)?!0x1:(this['_resources'][_0x35e9a7(0x162)](_0x1ea416,_0x589ba5[_0x35e9a7(0x1ae)][_0x35e9a7(0x1df)](_0xa6d18e)),this[_0x35e9a7(0x18e)]['next']({'unitId':_0x1ea416}),!0x0);}[_0x3a09b9(0x20e)](_0x41033e,_0x109d2f){const _0x3dd07b=_0x3a09b9;if(this[_0x3dd07b(0x248)]['has'](_0x41033e)||!Object[_0x3dd07b(0x26b)](_0x109d2f)['length']||!_0x4fcbf3({'schemaVersion':0x1,'formulas':_0x109d2f}))return!0x1;let _0x37053d=this[_0x3dd07b(0x259)][_0x3dd07b(0x1bf)](_0x41033e)??_0x4e6d45(),_0x2ac417=_0x589ba5['Tools'][_0x3dd07b(0x1df)](_0x37053d);return Object[_0x3dd07b(0x285)](_0x2ac417[_0x3dd07b(0x1d3)],_0x589ba5[_0x3dd07b(0x1ae)][_0x3dd07b(0x1df)](_0x109d2f)),this[_0x3dd07b(0x259)][_0x3dd07b(0x162)](_0x41033e,_0x2ac417),this['_change$']['next']({'unitId':_0x41033e,'rangeIds':Object[_0x3dd07b(0x26b)](_0x109d2f)}),!0x0;}[_0x3a09b9(0x225)](_0x5cde25,_0x19471f){const _0x4a91a6=_0x3a09b9;if(this['_loadErrors'][_0x4a91a6(0x1b5)](_0x5cde25))return!0x1;let _0xdaf555=this[_0x4a91a6(0x259)]['get'](_0x5cde25);if(!(_0xdaf555!=null&&_0xdaf555[_0x4a91a6(0x1d3)][_0x19471f]))return!0x1;let _0x1a2596=_0x589ba5['Tools'][_0x4a91a6(0x1df)](_0xdaf555);return delete _0x1a2596[_0x4a91a6(0x1d3)][_0x19471f],this['_resources'][_0x4a91a6(0x162)](_0x5cde25,_0x1a2596),this[_0x4a91a6(0x18e)][_0x4a91a6(0x212)]({'unitId':_0x5cde25,'rangeIds':[_0x19471f]}),!0x0;}[_0x3a09b9(0x234)](_0x189375,_0x4ecb78){const _0x34f269=_0x3a09b9;return _0x4ecb78&&typeof _0x4ecb78==_0x34f269(0x18d)&&_0x34f269(0x1a3)in _0x4ecb78&&_0x4ecb78[_0x34f269(0x1a3)]!==0x1?(this[_0x34f269(0x27b)](_0x189375,_0x4ecb78,_0x34f269(0x1ff)),!0x1):_0x4fcbf3(_0x4ecb78)?(this[_0x34f269(0x259)][_0x34f269(0x162)](_0x189375,_0x589ba5[_0x34f269(0x1ae)][_0x34f269(0x1df)](_0x4ecb78)),this[_0x34f269(0x22e)][_0x34f269(0x23e)](_0x189375),this['_loadErrors'][_0x34f269(0x23e)](_0x189375),this[_0x34f269(0x18e)][_0x34f269(0x212)]({'unitId':_0x189375}),!0x0):(this[_0x34f269(0x27b)](_0x189375,_0x4ecb78,_0x34f269(0x1e5)),!0x1);}['serialize'](_0x43427d){const _0x3e561b=_0x3a09b9;let _0x5ed6bd=this[_0x3e561b(0x259)]['get'](_0x43427d);return _0x5ed6bd?_0x589ba5['Tools'][_0x3e561b(0x1df)](_0x5ed6bd):this['_rawResources']['has'](_0x43427d)?_0x589ba5['Tools'][_0x3e561b(0x1df)](this[_0x3e561b(0x22e)][_0x3e561b(0x1bf)](_0x43427d)):_0x4e6d45();}[_0x3a09b9(0x1a8)](_0x9bb704){const _0x27a595=_0x3a09b9;return this['_loadErrors'][_0x27a595(0x1bf)](_0x9bb704);}['removeUnit'](_0x47d2de){const _0x2103a6=_0x3a09b9;this[_0x2103a6(0x259)][_0x2103a6(0x23e)](_0x47d2de),this[_0x2103a6(0x22e)][_0x2103a6(0x23e)](_0x47d2de),this[_0x2103a6(0x248)]['delete'](_0x47d2de),this[_0x2103a6(0x18e)][_0x2103a6(0x212)]({'unitId':_0x47d2de});}[_0x3a09b9(0x1a0)](){const _0x432f40=_0x3a09b9;this[_0x432f40(0x259)]['clear'](),this[_0x432f40(0x22e)]['clear'](),this['_loadErrors'][_0x432f40(0x24d)](),this[_0x432f40(0x18e)]['complete'](),super['dispose']();}[_0x3a09b9(0x27b)](_0x4e50d7,_0x36da0d,_0x592a9c){const _0x506d94=_0x3a09b9;this[_0x506d94(0x259)][_0x506d94(0x23e)](_0x4e50d7),this[_0x506d94(0x22e)]['set'](_0x4e50d7,_0x589ba5[_0x506d94(0x1ae)][_0x506d94(0x1df)](_0x36da0d)),this[_0x506d94(0x248)][_0x506d94(0x162)](_0x4e50d7,_0x592a9c),this[_0x506d94(0x18e)][_0x506d94(0x212)]({'unitId':_0x4e50d7});}};let _0x104b08=function(_0x70f549){const _0x541ce2=_0x3a09b9;return _0x70f549[_0x541ce2(0x177)]=_0x541ce2(0x20c),_0x70f549[_0x541ce2(0x1c4)]=_0x541ce2(0x1c7),_0x70f549[_0x541ce2(0x19c)]=_0x541ce2(0x1e7),_0x70f549[_0x541ce2(0x16a)]='error',_0x70f549;}({});function _0x3773bf(_0x1eac82,_0x42b68f){return function(_0x1b9eea,_0x2975e2){_0x42b68f(_0x1b9eea,_0x2975e2,_0x1eac82);};}function _0x2cfc4a(_0x198ece,_0x40d5f8,_0x5333ee,_0x1d1741){const _0x35ccc3=_0x3a09b9;var _0x2167a4=arguments[_0x35ccc3(0x239)],_0x30ef4b=_0x2167a4<0x3?_0x40d5f8:_0x1d1741===null?_0x1d1741=Object[_0x35ccc3(0x148)](_0x40d5f8,_0x5333ee):_0x1d1741,_0x3e0422;if(typeof Reflect==_0x35ccc3(0x18d)&&typeof Reflect['decorate']==_0x35ccc3(0x191))_0x30ef4b=Reflect[_0x35ccc3(0x1d9)](_0x198ece,_0x40d5f8,_0x5333ee,_0x1d1741);else{for(var _0x217670=_0x198ece['length']-0x1;_0x217670>=0x0;_0x217670--)(_0x3e0422=_0x198ece[_0x217670])&&(_0x30ef4b=(_0x2167a4<0x3?_0x3e0422(_0x30ef4b):_0x2167a4>0x3?_0x3e0422(_0x40d5f8,_0x5333ee,_0x30ef4b):_0x3e0422(_0x40d5f8,_0x5333ee))||_0x30ef4b);}return _0x2167a4>0x3&&_0x30ef4b&&Object[_0x35ccc3(0x164)](_0x40d5f8,_0x5333ee,_0x30ef4b),_0x30ef4b;}let _0x1afbc3=class extends _0x589ba5[_0x3a09b9(0x238)]{constructor(_0xc79f0a,_0x1cf1c7,_0x5a4ae4){const _0x6b62b0=_0x3a09b9;super(),this[_0x6b62b0(0x205)]=_0xc79f0a,this[_0x6b62b0(0x20b)]=_0x1cf1c7,this[_0x6b62b0(0x17e)]=_0x5a4ae4,_0x3433aa(this,_0x6b62b0(0x255),new Map()),_0x3433aa(this,_0x6b62b0(0x1e0),new Map()),_0x3433aa(this,'_presentationChanged$',new _0x299af7[(_0x6b62b0(0x214))]()),_0x3433aa(this,_0x6b62b0(0x180),this['_presentationChanged$'][_0x6b62b0(0x14d)]()),this[_0x6b62b0(0x1cf)](this[_0x6b62b0(0x20b)]['formulaResult$']['subscribe'](_0x2ae510=>{const _0x1f57ea=_0x6b62b0;for(let _0x5e12af of Object['values'](_0x2ae510))for(let _0x402059 of Object[_0x1f57ea(0x1ed)](_0x5e12af))_0x402059[_0x1f57ea(0x208)](_0x367c22=>this['_updateFormulaResult'](_0x367c22));}));}[_0x3a09b9(0x1ca)](_0x53bef2){const _0x2eed7f=_0x3a09b9;var _0x3ca8c9;let _0x1a5135=_0x53bef2[_0x2eed7f(0x261)](),_0x2ec7e7=((_0x3ca8c9=_0x53bef2['getSnapshot']()[_0x2eed7f(0x15b)])==null||(_0x3ca8c9=_0x3ca8c9[_0x2eed7f(0x144)])==null?void 0x0:_0x3ca8c9[_0x2eed7f(0x1d5)](_0x4e62d2))??[],_0x1f3362=this[_0x2eed7f(0x205)][_0x2eed7f(0x1bc)](_0x1a5135),_0x50bd94=new Set();for(let _0x522a78 of _0x2ec7e7){let _0x3b9dae=_0x1f3362[_0x522a78[_0x2eed7f(0x25f)]];_0x3b9dae&&(_0x50bd94[_0x2eed7f(0x252)](_0x41cfd3(_0x1a5135,_0x522a78[_0x2eed7f(0x25f)])),this['register']({'unitId':_0x1a5135,'rangeId':_0x522a78['rangeId']},_0x3b9dae));}for(let _0x3080f2 of Array[_0x2eed7f(0x21f)](this[_0x2eed7f(0x255)][_0x2eed7f(0x1ed)]()))_0x3080f2[_0x2eed7f(0x181)]===_0x1a5135&&!_0x50bd94[_0x2eed7f(0x1b5)](_0x41cfd3(_0x3080f2[_0x2eed7f(0x181)],_0x3080f2[_0x2eed7f(0x25f)]))&&this[_0x2eed7f(0x226)](_0x3080f2);}[_0x3a09b9(0x1fe)](_0x51497c,_0x3aca84){const _0x144142=_0x3a09b9;let _0x19a18d=_0x41cfd3(_0x51497c[_0x144142(0x181)],_0x51497c[_0x144142(0x25f)]),_0x2fcbaf=this['_registrations'][_0x144142(0x1bf)](_0x19a18d),_0x1511f8=this['_hostExternalReferenceModel']['getRevision'](_0x51497c[_0x144142(0x181)]);if(_0x2fcbaf&&_0x2fcbaf[_0x144142(0x147)][_0x144142(0x228)]===_0x3aca84[_0x144142(0x228)]&&_0x2fcbaf[_0x144142(0x237)]===_0x1511f8){_0x2fcbaf['config']=_0x3aca84;let _0x421a3d=_0x2fcbaf[_0x144142(0x23a)]?this[_0x144142(0x20b)][_0x144142(0x25b)](_0x2fcbaf[_0x144142(0x181)],_0x2fcbaf[_0x144142(0x181)],_0x2fcbaf['formulaId'])??void 0x0:void 0x0;_0x2fcbaf[_0x144142(0x229)]=_0x421a3d,this[_0x144142(0x24a)](_0x19a18d,_0x5917ab(_0x3aca84,_0x421a3d));return;}_0x2fcbaf!=null&&_0x2fcbaf[_0x144142(0x23a)]&&this[_0x144142(0x1aa)](_0x2fcbaf);let _0x4c8465={..._0x51497c,'config':_0x3aca84,'referenceRevision':_0x1511f8,'presentation':_0x5917ab(_0x3aca84,void 0x0)};if(this['_registrations'][_0x144142(0x162)](_0x19a18d,_0x4c8465),!_0x3aca84['formula'][_0x144142(0x1f9)]())return;let _0x4e4aac=this[_0x144142(0x20b)][_0x144142(0x196)](_0x51497c['unitId'],_0x51497c[_0x144142(0x181)],_0x3aca84['formula'],void 0x0,{'rangeId':_0x51497c[_0x144142(0x25f)]},_0x5d5308[_0x144142(0x1a6)][_0x144142(0x274)],_0x51497c['rangeId']);_0x4c8465[_0x144142(0x23a)]=_0x4e4aac,this['_formulaKeys'][_0x144142(0x162)](_0x4e4aac,_0x19a18d);}[_0x3a09b9(0x226)](_0x3d4503){const _0x4b1336=_0x3a09b9;let _0x21926e=_0x41cfd3(_0x3d4503[_0x4b1336(0x181)],_0x3d4503['rangeId']),_0x270603=this[_0x4b1336(0x255)][_0x4b1336(0x1bf)](_0x21926e);_0x270603&&(this['_deleteRegistration'](_0x270603),this['_registrations']['delete'](_0x21926e));}['unregisterUnit'](_0x4e46d6){const _0x578115=_0x3a09b9;for(let _0x3b7a89 of Array[_0x578115(0x21f)](this[_0x578115(0x255)]['values']()))_0x3b7a89[_0x578115(0x181)]===_0x4e46d6&&this[_0x578115(0x226)](_0x3b7a89);}[_0x3a09b9(0x283)](_0x4bd5e9){const _0x128263=_0x3a09b9;var _0x3a1189;return(_0x3a1189=this[_0x128263(0x255)][_0x128263(0x1bf)](_0x41cfd3(_0x4bd5e9['unitId'],_0x4bd5e9['rangeId'])))==null?void 0x0:_0x3a1189[_0x128263(0x24e)];}[_0x3a09b9(0x198)](_0x2e2103){const _0x393fa8=_0x3a09b9;let _0x3b57b3=this[_0x393fa8(0x255)][_0x393fa8(0x1bf)](_0x41cfd3(_0x2e2103[_0x393fa8(0x181)],_0x2e2103[_0x393fa8(0x25f)]));return _0x3b57b3?_0x24847a(_0x3b57b3):void 0x0;}['getRegisteredFormulas'](){const _0x493158=_0x3a09b9;return Array[_0x493158(0x21f)](this[_0x493158(0x255)][_0x493158(0x1ed)](),_0x2f9e25=>({'identity':{'unitId':_0x2f9e25['unitId'],'rangeId':_0x2f9e25[_0x493158(0x25f)]},'config':_0x2f9e25['config'],'referenceRevision':_0x2f9e25[_0x493158(0x237)],..._0x2f9e25[_0x493158(0x229)]?{'liveResult':_0x2f9e25[_0x493158(0x229)]}:null}));}[_0x3a09b9(0x1a0)](){const _0x26c7e3=_0x3a09b9;for(let _0x5c5da7 of this[_0x26c7e3(0x255)][_0x26c7e3(0x1ed)]())this[_0x26c7e3(0x1aa)](_0x5c5da7);this[_0x26c7e3(0x255)][_0x26c7e3(0x24d)](),this[_0x26c7e3(0x1e0)][_0x26c7e3(0x24d)](),this[_0x26c7e3(0x167)][_0x26c7e3(0x1f7)](),super[_0x26c7e3(0x1a0)]();}[_0x3a09b9(0x21e)](_0x581ce1){const _0x8abce1=_0x3a09b9;let _0x137e35=this['_formulaKeys'][_0x8abce1(0x1bf)](_0x581ce1[_0x8abce1(0x23a)]),_0x46379c=_0x137e35?this[_0x8abce1(0x255)]['get'](_0x137e35):void 0x0;_0x137e35&&_0x46379c&&(_0x46379c[_0x8abce1(0x229)]=_0x581ce1,this['_setPresentation'](_0x137e35,_0x5917ab(_0x46379c[_0x8abce1(0x147)],_0x581ce1)));}[_0x3a09b9(0x24a)](_0x722aca,_0xe42360){const _0x4e186e=_0x3a09b9;var _0x18550e,_0x45120f;let _0x59a6dd=this['_registrations'][_0x4e186e(0x1bf)](_0x722aca);if(!_0x59a6dd||_0x1ebbf4(_0x59a6dd['presentation'],_0xe42360))return;let _0x4b96ce=_0x59a6dd[_0x4e186e(0x24e)],_0x122a75=_0x24847a(_0x59a6dd);_0x59a6dd[_0x4e186e(0x24e)]=_0xe42360,this[_0x4e186e(0x167)][_0x4e186e(0x212)]({'unitId':_0x59a6dd[_0x4e186e(0x181)],'rangeId':_0x59a6dd[_0x4e186e(0x25f)],'presentation':_0xe42360,'previousPresentation':_0x4b96ce,'result':_0x24847a(_0x59a6dd),'previousResult':{..._0x122a75,..._0x4b96ce,'value':(_0x18550e=_0x4b96ce[_0x4e186e(0x174)])==null?void 0x0:_0x18550e['v'],'valueType':((_0x45120f=_0x4b96ce[_0x4e186e(0x174)])==null?void 0x0:_0x45120f['t'])??void 0x0}});}[_0x3a09b9(0x1aa)](_0x38d658){const _0x2c2448=_0x3a09b9;_0x38d658[_0x2c2448(0x23a)]&&(this[_0x2c2448(0x20b)][_0x2c2448(0x20d)](_0x38d658[_0x2c2448(0x181)],_0x38d658[_0x2c2448(0x181)],[_0x38d658[_0x2c2448(0x23a)]]),this[_0x2c2448(0x1e0)][_0x2c2448(0x23e)](_0x38d658['formulaId']));}};_0x1afbc3=_0x2cfc4a([_0x3773bf(0x0,(0x0,_0x589ba5[_0x3a09b9(0x1b2)])(_0x5334e8)),_0x3773bf(0x1,(0x0,_0x589ba5[_0x3a09b9(0x1b2)])(_0x5d5308[_0x3a09b9(0x26a)])),_0x3773bf(0x2,(0x0,_0x589ba5[_0x3a09b9(0x1b2)])(_0x4c3070[_0x3a09b9(0x22f)]))],_0x1afbc3);function _0x41cfd3(_0x573569,_0x42d38f){return _0x573569+'\x00'+_0x42d38f;}function _0x5917ab(_0x3f9b8f,_0x4ee2d9){const _0x1d5801=_0x3a09b9;return(0x0,_0x4c3070[_0x1d5801(0x1c8)])({'numberFormat':_0x3f9b8f[_0x1d5801(0x1a9)],'lastValue':_0x3f9b8f[_0x1d5801(0x1e3)],'result':_0x4ee2d9});}function _0x24847a(_0x590d5b){const _0x137fc1=_0x3a09b9;var _0x4b343b,_0x54f8f9,_0x346022;let _0x1938a0=_0x590d5b[_0x137fc1(0x24e)],_0x1b636e=_0x590d5b['config'][_0x137fc1(0x228)][_0x137fc1(0x1f9)]()?_0x1938a0[_0x137fc1(0x1d2)]||_0x1938a0[_0x137fc1(0x174)]==null?'pending':((_0x4b343b=_0x590d5b[_0x137fc1(0x229)])==null?void 0x0:_0x4b343b[_0x137fc1(0x1c9)])===_0x5d5308[_0x137fc1(0x25a)][_0x137fc1(0x16a)]?_0x137fc1(0x15a):_0x137fc1(0x1e7):_0x137fc1(0x20c);return{..._0x1938a0,'status':_0x1b636e,'value':(_0x54f8f9=_0x1938a0[_0x137fc1(0x174)])==null?void 0x0:_0x54f8f9['v'],'valueType':((_0x346022=_0x1938a0['cell'])==null?void 0x0:_0x346022['t'])??void 0x0};}function _0x1ebbf4(_0x216924,_0x23eee1){const _0x51bfe7=_0x3a09b9;var _0x5dea96,_0x3edd32,_0x197c04,_0x504597;return _0x216924[_0x51bfe7(0x1f0)]===_0x23eee1['text']&&_0x216924[_0x51bfe7(0x26f)]===_0x23eee1['color']&&_0x216924[_0x51bfe7(0x280)]===_0x23eee1[_0x51bfe7(0x280)]&&_0x216924[_0x51bfe7(0x1c3)]===_0x23eee1[_0x51bfe7(0x1c3)]&&_0x216924[_0x51bfe7(0x1d2)]===_0x23eee1[_0x51bfe7(0x1d2)]&&((_0x5dea96=_0x216924[_0x51bfe7(0x174)])==null?void 0x0:_0x5dea96['t'])===((_0x3edd32=_0x23eee1['cell'])==null?void 0x0:_0x3edd32['t'])&&Object['is']((_0x197c04=_0x216924[_0x51bfe7(0x174)])==null?void 0x0:_0x197c04['v'],(_0x504597=_0x23eee1[_0x51bfe7(0x174)])==null?void 0x0:_0x504597['v']);}let _0x5181a6={'id':'docs-formula.mutation.set-formula','type':_0x589ba5['CommandType'][_0x3a09b9(0x15f)],'handler':(_0x33966e,_0x5e045f)=>!(_0x5e045f!=null&&_0x5e045f[_0x3a09b9(0x181)])||!_0x5e045f['rangeId']||!_0x5e045f[_0x3a09b9(0x147)]?!0x1:_0x33966e['get'](_0x5334e8)[_0x3a09b9(0x24c)](_0x5e045f[_0x3a09b9(0x181)],_0x5e045f[_0x3a09b9(0x25f)],_0x5e045f[_0x3a09b9(0x147)])},_0x1a9e4c={'id':_0x3a09b9(0x1dc),'type':_0x589ba5['CommandType'][_0x3a09b9(0x15f)],'handler':(_0x59007a,_0x4a4393)=>!(_0x4a4393!=null&&_0x4a4393[_0x3a09b9(0x181)])||!_0x4a4393[_0x3a09b9(0x25f)]?!0x1:_0x59007a[_0x3a09b9(0x1bf)](_0x5334e8)[_0x3a09b9(0x225)](_0x4a4393[_0x3a09b9(0x181)],_0x4a4393['rangeId'])},_0x397705={'id':'docs-formula.mutation.set-resource','type':_0x589ba5[_0x3a09b9(0x18c)][_0x3a09b9(0x15f)],'handler':(_0x254622,_0x2ca995)=>!(_0x2ca995!=null&&_0x2ca995[_0x3a09b9(0x181)])||!_0x2ca995[_0x3a09b9(0x158)]?!0x1:_0x254622[_0x3a09b9(0x1bf)](_0x5334e8)[_0x3a09b9(0x16f)](_0x2ca995[_0x3a09b9(0x181)],_0x2ca995[_0x3a09b9(0x158)])},_0x62acd3={'id':_0x3a09b9(0x19a),'type':_0x589ba5[_0x3a09b9(0x18c)]['MUTATION'],'handler':(_0x85804e,_0x4b7f20)=>{const _0x4dae5c=_0x3a09b9;if(!(_0x4b7f20!=null&&_0x4b7f20[_0x4dae5c(0x181)])||!_0x4b7f20[_0x4dae5c(0x21b)][_0x4dae5c(0x239)])return!0x1;let _0x5b0347=_0x85804e[_0x4dae5c(0x1bf)](_0x5334e8),_0x333340=_0x85804e['get'](_0x4c3070['HostExternalReferenceModel']),_0x26e491=_0x5b0347['getResource'](_0x4b7f20['unitId']);if(!_0x26e491)return!0x1;let _0x13ae0c=_0x589ba5[_0x4dae5c(0x1ae)][_0x4dae5c(0x1df)](_0x26e491),_0xf9ae29=!0x1;for(let _0x1475dd of _0x4b7f20[_0x4dae5c(0x21b)]){var _0x441aa8,_0x2b4b8d,_0x31e622,_0x2fbac8;let _0x26d87f=_0x13ae0c[_0x4dae5c(0x1d3)][_0x1475dd[_0x4dae5c(0x25f)]];_0x26d87f&&_0x26d87f[_0x4dae5c(0x228)]===_0x1475dd[_0x4dae5c(0x141)]&&((_0x441aa8=_0x26d87f['numberFormat'])==null?void 0x0:_0x441aa8[_0x4dae5c(0x280)])===_0x1475dd[_0x4dae5c(0x169)]&&_0x333340[_0x4dae5c(0x268)](_0x4b7f20[_0x4dae5c(0x181)])===_0x1475dd[_0x4dae5c(0x240)]&&(((_0x2b4b8d=_0x26d87f['lastValue'])==null?void 0x0:_0x2b4b8d['v'])!==_0x1475dd[_0x4dae5c(0x1e3)]['v']||((_0x31e622=_0x26d87f[_0x4dae5c(0x1e3)])==null?void 0x0:_0x31e622['t'])!==_0x1475dd[_0x4dae5c(0x1e3)]['t']||((_0x2fbac8=_0x26d87f['lastValue'])==null?void 0x0:_0x2fbac8[_0x4dae5c(0x280)])!==_0x1475dd[_0x4dae5c(0x1e3)][_0x4dae5c(0x280)])&&(_0x26d87f[_0x4dae5c(0x1e3)]=_0x589ba5[_0x4dae5c(0x1ae)]['deepClone'](_0x1475dd[_0x4dae5c(0x1e3)]),_0xf9ae29=!0x0);}return!_0xf9ae29||_0x5b0347[_0x4dae5c(0x16f)](_0x4b7f20['unitId'],_0x13ae0c);}},_0x39716e={'id':_0x3a09b9(0x17b),'type':_0x589ba5['CommandType'][_0x3a09b9(0x24b)],'handler':(_0x698e64,_0x4f630f)=>{const _0x5b4427=_0x3a09b9;if(!(_0x4f630f!=null&&_0x4f630f[_0x5b4427(0x228)][_0x5b4427(0x1f9)]()))return!0x1;let _0x613221=_0x5c48c6(_0x698e64,_0x4f630f[_0x5b4427(0x181)],'');if(!_0x613221)return!0x1;let _0x5ac425=_0x46e792(_0x4f630f[_0x5b4427(0x1d4)],_0x613221[_0x5b4427(0x15b)],_0x14a296(_0x698e64,_0x613221[_0x5b4427(0x181)]));if(!_0x5ac425)return!0x1;let _0x20b11d=_0x3b95ad(_0x698e64,_0x613221[_0x5b4427(0x181)],_0x4f630f['formula'],_0x4f630f[_0x5b4427(0x1db)]??[]);if(!_0x20b11d)return!0x1;let _0x120dc3=_0x3d0383(_0x613221[_0x5b4427(0x15b)],_0x613221[_0x5b4427(0x23f)],_0x613221[_0x5b4427(0x181)]),_0x54626f=_0x3bdc74({'documentData':_0x613221[_0x5b4427(0x245)],'resource':_0x613221[_0x5b4427(0x158)],'rangeId':_0x120dc3,'config':{'formula':_0x4f630f[_0x5b4427(0x228)],..._0x4f630f[_0x5b4427(0x1a9)]?{'numberFormat':_0x4f630f[_0x5b4427(0x1a9)]}:null},'startOffset':_0x5ac425['startOffset'],'endOffset':_0x5ac425[_0x5b4427(0x213)]});if(!_0x54626f)return!0x1;let _0x4b7ffa=(0x0,_0x4c3070[_0x5b4427(0x1a5)])(_0x698e64,_0x613221[_0x5b4427(0x181)],_0x20b11d);return!_0x4b7ffa||!_0x2c2b75({'accessor':_0x698e64,'document':_0x613221[_0x5b4427(0x27e)],'unitId':_0x613221[_0x5b4427(0x181)],'trigger':_0x39716e['id'],'rangeId':_0x120dc3,'previousResource':_0x613221[_0x5b4427(0x158)],'nextResource':_0x54626f[_0x5b4427(0x18f)],'previousDocumentData':_0x613221[_0x5b4427(0x245)],'nextDocumentData':_0x54626f[_0x5b4427(0x23d)],'cursorOffset':_0x54626f['cursorOffset'],'externalMutations':_0x4b7ffa})?!0x1:{'rangeId':_0x120dc3,'startOffset':_0x54626f[_0x5b4427(0x1c1)]-0x1,'endOffset':_0x54626f[_0x5b4427(0x1c1)]};}},_0x5bb815={'id':_0x3a09b9(0x1d8),'type':_0x589ba5[_0x3a09b9(0x18c)][_0x3a09b9(0x24b)],'handler':(_0x487a08,_0x353957)=>{const _0x1fe311=_0x3a09b9;if(!(_0x353957!=null&&_0x353957['rangeId'])||!_0x353957['formula'][_0x1fe311(0x1f9)]())return!0x1;let _0x486c9e=_0x5c48c6(_0x487a08,_0x353957[_0x1fe311(0x181)],''),_0x229606=_0x486c9e==null?void 0x0:_0x486c9e['model']['getFormula'](_0x486c9e[_0x1fe311(0x181)],_0x353957['rangeId']),_0x3c1836=_0x486c9e?_0x432e46(_0x486c9e['documentData']['body'],_0x353957[_0x1fe311(0x25f)]):void 0x0;if(!_0x486c9e||!_0x229606||!_0x3c1836)return!0x1;let _0x3b9172=_0x3b95ad(_0x487a08,_0x486c9e[_0x1fe311(0x181)],_0x353957[_0x1fe311(0x228)],_0x353957['externalReferences']??[]);if(!_0x3b9172)return!0x1;let _0x10aad7=(0x0,_0x4c3070[_0x1fe311(0x1a5)])(_0x487a08,_0x486c9e[_0x1fe311(0x181)],_0x3b9172);if(!_0x10aad7)return!0x1;let _0x597927=_0x57c0d2(_0x486c9e[_0x1fe311(0x158)]);return _0x597927[_0x1fe311(0x1d3)][_0x353957['rangeId']]={'formula':_0x353957[_0x1fe311(0x228)],..._0x353957[_0x1fe311(0x1a9)]?{'numberFormat':_0x353957['numberFormat']}:_0x229606[_0x1fe311(0x1a9)]?{'numberFormat':_0x229606[_0x1fe311(0x1a9)]}:null},_0x2c2b75({'accessor':_0x487a08,'document':_0x486c9e['document'],'unitId':_0x486c9e['unitId'],'trigger':_0x5bb815['id'],'rangeId':_0x353957[_0x1fe311(0x25f)],'previousResource':_0x486c9e[_0x1fe311(0x158)],'nextResource':_0x597927,'cursorOffset':_0x3c1836[_0x1fe311(0x1ec)]+0x1,'externalMutations':_0x10aad7});}},_0x1dfbc7={'id':_0x3a09b9(0x26d),'type':_0x589ba5['CommandType'][_0x3a09b9(0x24b)],'handler':(_0x5a66fa,_0x546fd6)=>{const _0x23364d=_0x3a09b9;if(!(_0x546fd6!=null&&_0x546fd6[_0x23364d(0x25f)]))return!0x1;let _0x1645dd=_0x5c48c6(_0x5a66fa,_0x546fd6[_0x23364d(0x181)],''),_0x4372c4=_0x1645dd==null?void 0x0:_0x1645dd['model']['getFormula'](_0x1645dd[_0x23364d(0x181)],_0x546fd6['rangeId']),_0xa4209a=_0x1645dd?_0x432e46(_0x1645dd[_0x23364d(0x245)]['body'],_0x546fd6[_0x23364d(0x25f)]):void 0x0;if(!_0x1645dd||!_0x4372c4||!_0xa4209a)return!0x1;let _0x31fbda=_0x57c0d2(_0x1645dd[_0x23364d(0x158)]);return _0x31fbda['formulas'][_0x546fd6[_0x23364d(0x25f)]]={..._0x4372c4,..._0x546fd6[_0x23364d(0x1a9)]?{'numberFormat':_0x546fd6[_0x23364d(0x1a9)]}:null},_0x546fd6['numberFormat']||delete _0x31fbda['formulas'][_0x546fd6[_0x23364d(0x25f)]][_0x23364d(0x1a9)],_0x2c2b75({'accessor':_0x5a66fa,'document':_0x1645dd[_0x23364d(0x27e)],'unitId':_0x1645dd[_0x23364d(0x181)],'trigger':_0x1dfbc7['id'],'rangeId':_0x546fd6['rangeId'],'previousResource':_0x1645dd[_0x23364d(0x158)],'nextResource':_0x31fbda,'cursorOffset':_0xa4209a[_0x23364d(0x1ec)]+0x1,'externalMutations':{}});}},_0x30135d={'id':_0x3a09b9(0x151),'type':_0x589ba5[_0x3a09b9(0x18c)]['COMMAND'],'handler':(_0xa0f4c4,_0x512e52)=>_0x2d3d22(_0xa0f4c4,_0x512e52,'',_0x30135d['id'])},_0xa71694={'id':'docs-formula.command.replace-with-text','type':_0x589ba5[_0x3a09b9(0x18c)][_0x3a09b9(0x24b)],'handler':(_0x15a703,_0xf4b359)=>_0x2d3d22(_0x15a703,_0xf4b359,(_0xf4b359==null?void 0x0:_0xf4b359[_0x3a09b9(0x1f0)])??'',_0xa71694['id'])},_0x4b7e47={'id':_0x3a09b9(0x16c),'type':_0x589ba5['CommandType'][_0x3a09b9(0x24b)],'handler':(_0x23c3e2,_0x24fb58)=>{const _0x40fa46=_0x3a09b9;if(!(_0x24fb58!=null&&_0x24fb58[_0x40fa46(0x25f)]))return!0x1;let _0xd6b9f2=_0x5c48c6(_0x23c3e2,_0x24fb58[_0x40fa46(0x181)],'');if(!_0xd6b9f2)return!0x1;let _0x4c9d16=_0x23c3e2[_0x40fa46(0x1bf)](_0x1afbc3)[_0x40fa46(0x198)]({'unitId':_0xd6b9f2[_0x40fa46(0x181)],'rangeId':_0x24fb58[_0x40fa46(0x25f)]});return _0x4c9d16?_0x2d3d22(_0x23c3e2,_0x24fb58,_0x4c9d16[_0x40fa46(0x1f0)],_0x4b7e47['id']):!0x1;}};function _0x2d3d22(_0x2068b8,_0x1c4557,_0x2ef173,_0x194c85){const _0x5e32c9=_0x3a09b9;if(!(_0x1c4557!=null&&_0x1c4557[_0x5e32c9(0x25f)]))return!0x1;let _0x4e1867=_0x5c48c6(_0x2068b8,_0x1c4557[_0x5e32c9(0x181)],'');if(!_0x4e1867)return!0x1;let _0x411d54=_0x273d39({'documentData':_0x4e1867[_0x5e32c9(0x245)],'resource':_0x4e1867[_0x5e32c9(0x158)],'rangeId':_0x1c4557[_0x5e32c9(0x25f)],'text':_0x2ef173});return _0x411d54?_0x2c2b75({'accessor':_0x2068b8,'document':_0x4e1867[_0x5e32c9(0x27e)],'unitId':_0x4e1867[_0x5e32c9(0x181)],'trigger':_0x194c85,'rangeId':_0x1c4557[_0x5e32c9(0x25f)],'previousResource':_0x4e1867['resource'],'nextResource':_0x411d54[_0x5e32c9(0x18f)],'previousDocumentData':_0x4e1867['documentData'],'nextDocumentData':_0x411d54[_0x5e32c9(0x23d)],'cursorOffset':_0x411d54['cursorOffset'],'externalMutations':{}}):!0x1;}function _0x5c48c6(_0x116350,_0x459fad,_0x4af357){const _0x54d5d9=_0x3a09b9;if(_0x4af357)return null;let _0x402843=_0x116350[_0x54d5d9(0x1bf)](_0x589ba5[_0x54d5d9(0x244)]),_0x1fbf8d=(_0x459fad?_0x402843[_0x54d5d9(0x270)](_0x459fad,_0x589ba5[_0x54d5d9(0x227)][_0x54d5d9(0x256)]):_0x402843['getCurrentUnitOfType'](_0x589ba5[_0x54d5d9(0x227)][_0x54d5d9(0x256)]))??null;if(!_0x1fbf8d)return null;let _0x3302fe=_0x1fbf8d[_0x54d5d9(0x201)](),_0x31d962=_0x3302fe[_0x54d5d9(0x15b)];if(_0x3302fe[_0x54d5d9(0x235)]||!_0x31d962)return null;let _0x21644f=_0x116350[_0x54d5d9(0x1bf)](_0x5334e8);return _0x21644f[_0x54d5d9(0x1a8)](_0x1fbf8d['getUnitId']())?null:{'document':_0x1fbf8d,'body':_0x31d962,'documentData':_0x3302fe,'model':_0x21644f,'resource':_0x21644f[_0x54d5d9(0x211)](_0x1fbf8d[_0x54d5d9(0x261)]())??_0x4e6d45(),'unitId':_0x1fbf8d[_0x54d5d9(0x261)]()};}function _0x14a296(_0x2dda03,_0x4e76f8){const _0x5d66da=_0x3a09b9;var _0xf4d2e3;return(_0xf4d2e3=_0x2dda03[_0x5d66da(0x1bf)](_0x3f1694[_0x5d66da(0x152)])['getTextRanges']({'subUnitId':_0x4e76f8,'unitId':_0x4e76f8}))==null?void 0x0:_0xf4d2e3[0x0];}function _0x46e792(_0x158b43,_0x377563,_0x3f570e){const _0x265922=_0x3a09b9;if((_0x158b43==null?void 0x0:_0x158b43[_0x265922(0x170)])===_0x265922(0x153)){var _0x4a8f2d;let _0x7986af=((_0x4a8f2d=_0x377563['paragraphs'])==null?void 0x0:_0x4a8f2d[_0x265922(0x1d5)](_0x1951d8=>_0x1951d8[_0x265922(0x25c)]===_0x158b43[_0x265922(0x25c)]))??[];if(_0x7986af['length']!==0x1)return null;let _0x2520cf=_0x7986af[0x0],_0x330f24=(0x0,_0x589ba5['getParagraphContentStartOffset'])(_0x377563,_0x2520cf),_0x341cf8=_0x2520cf[_0x265922(0x17f)]-_0x330f24,_0x173b3d=_0x158b43[_0x265922(0x1b1)]===_0x265922(0x184)?_0x341cf8:_0x158b43[_0x265922(0x1b1)];if(!Number['isInteger'](_0x173b3d)||_0x173b3d<0x0||_0x173b3d>_0x341cf8)return null;let _0xe15a06=_0x330f24+_0x173b3d;return{'startOffset':_0xe15a06,'endOffset':_0xe15a06};}if((_0x158b43==null?void 0x0:_0x158b43['type'])===_0x265922(0x251))return!Number[_0x265922(0x1e6)](_0x158b43['startOffset'])||!Number[_0x265922(0x1e6)](_0x158b43[_0x265922(0x213)])?null:{'startOffset':Math[_0x265922(0x17c)](_0x158b43[_0x265922(0x1ad)],_0x158b43[_0x265922(0x213)]),'endOffset':Math['max'](_0x158b43['startOffset'],_0x158b43['endOffset'])};let _0x38b4e8=(_0x158b43==null?void 0x0:_0x158b43[_0x265922(0x170)])===_0x265922(0x272)?_0x158b43[_0x265922(0x272)]:_0x3f570e;return!_0x38b4e8||_0x38b4e8[_0x265922(0x20a)]?null:{'startOffset':Math[_0x265922(0x17c)](_0x38b4e8['startOffset'],_0x38b4e8[_0x265922(0x213)]),'endOffset':Math[_0x265922(0x172)](_0x38b4e8[_0x265922(0x1ad)],_0x38b4e8[_0x265922(0x213)])};}function _0x3b95ad(_0x1ae34a,_0x19b621,_0x18624b,_0x57c6de){const _0x269981=_0x3a09b9;let _0x1e31dd=_0x1ae34a['get'](_0x5d5308[_0x269981(0x193)]),_0x9d05f0=_0x18624b[_0x269981(0x179)]('=')?_0x18624b['slice'](0x1):_0x18624b,_0x5b4f11=_0x1e31dd['sequenceNodesBuilder'](_0x9d05f0);if(!_0x5b4f11)return null;let _0x5d0ff5=_0x1ae34a['get'](_0x4c3070[_0x269981(0x22f)]),_0x286f1a=(0x0,_0x4c3070[_0x269981(0x195)])({'qualifiers':(0x0,_0x4c3070['collectFormulaExternalReferenceQualifiers'])(_0x5b4f11),'explicitReferences':_0x57c6de??[],'resolveBinding':_0x49dc5e=>_0x5d0ff5[_0x269981(0x1a1)](_0x19b621,_0x49dc5e)});return _0x286f1a[_0x269981(0x1c9)]===_0x269981(0x15c)?_0x286f1a[_0x269981(0x27f)]:null;}function _0x3d0383(_0xd55b3,_0x27c0df,_0x5bbee7){const _0x335a66=_0x3a09b9;var _0x2a21e8;let _0x3f6b2c=(0x0,_0x589ba5[_0x335a66(0x202)])(0x6);for(;_0xd55b3!=null&&(_0x2a21e8=_0xd55b3['customRanges'])!=null&&_0x2a21e8[_0x335a66(0x1de)](_0xefdce6=>_0xefdce6['rangeId']===_0x3f6b2c)||_0x27c0df[_0x335a66(0x175)](_0x5bbee7,_0x3f6b2c);)_0x3f6b2c=(0x0,_0x589ba5[_0x335a66(0x202)])(0x6);return _0x3f6b2c;}function _0x3bdc74(_0x1ee735){try{return _0x38fc78(_0x1ee735);}catch(_0x522690){if(_0x522690 instanceof _0x1c3d3b)return null;throw _0x522690;}}function _0x534e35(_0x57d4a4){const _0x503302=_0x3a09b9;let _0x46d9d1=_0x57d4a4[_0x503302(0x145)]&&_0x57d4a4[_0x503302(0x23d)]?_0x25a84f(_0x57d4a4[_0x503302(0x27e)],_0x57d4a4[_0x503302(0x181)],_0x57d4a4[_0x503302(0x145)],_0x57d4a4['nextDocumentData'],_0x57d4a4['cursorOffset'],_0x57d4a4[_0x503302(0x1f2)]):null;return _0x57d4a4[_0x503302(0x145)]&&_0x57d4a4[_0x503302(0x23d)]&&!_0x46d9d1?null:{'documentRedo':_0x46d9d1,'resourceRedo':{'id':_0x397705['id'],'params':{'unitId':_0x57d4a4[_0x503302(0x181)],'resource':_0x57d4a4[_0x503302(0x18f)]}},'resourceUndo':{'id':_0x397705['id'],'params':{'unitId':_0x57d4a4[_0x503302(0x181)],'resource':_0x57d4a4[_0x503302(0x216)]}}};}function _0x4787ac(_0x20eea4,_0x3f54d3,_0x547a0e,_0x15608c){const _0x1473c1=_0x3a09b9;_0x15608c[_0x1473c1(0x1af)]({'id':_0x20eea4[_0x1473c1(0x1f2)]+':'+_0x20eea4['rangeId'],'unitID':_0x20eea4[_0x1473c1(0x181)],'redoMutations':[..._0x20eea4[_0x1473c1(0x236)][_0x1473c1(0x197)]?[_0x20eea4[_0x1473c1(0x236)][_0x1473c1(0x197)]]:[],..._0x3f54d3[_0x1473c1(0x276)]?[_0x3f54d3[_0x1473c1(0x276)]]:[],_0x3f54d3[_0x1473c1(0x284)]],'undoMutations':[_0x3f54d3[_0x1473c1(0x199)],..._0x547a0e?[_0x547a0e]:[],..._0x20eea4['externalMutations'][_0x1473c1(0x15d)]?[_0x20eea4[_0x1473c1(0x236)][_0x1473c1(0x15d)]]:[]]});}function _0x2c2b75(_0x4ca740){const _0x369c54=_0x3a09b9;let _0xdb0574=_0x4ca740[_0x369c54(0x219)][_0x369c54(0x1bf)](_0x589ba5[_0x369c54(0x14c)]),_0xe5e25a=_0x4ca740[_0x369c54(0x219)]['get'](_0x589ba5[_0x369c54(0x156)]),_0x50851e=_0x4ca740['accessor'][_0x369c54(0x1bf)](_0x3f1694['DocSelectionManagerService']),_0x391f02=_0x534e35(_0x4ca740);if(!_0x391f02)return!0x1;let _0x247e94=!0x1,_0xcf2c1b=null,_0x2e3af6=!0x1;try{if(_0x4ca740[_0x369c54(0x236)][_0x369c54(0x197)]){if(!_0xdb0574['syncExecuteCommand'](_0x4ca740[_0x369c54(0x236)][_0x369c54(0x197)]['id'],_0x4ca740[_0x369c54(0x236)][_0x369c54(0x197)][_0x369c54(0x1cd)]))return!0x1;_0x247e94=!0x0;}if(_0x391f02[_0x369c54(0x276)]){let _0x5bd6ab=_0xdb0574['syncExecuteCommand'](_0x391f02[_0x369c54(0x276)]['id'],_0x391f02[_0x369c54(0x276)][_0x369c54(0x1cd)]);if(!_0x5bd6ab)return _0x4e1050(_0xdb0574,_0x4ca740[_0x369c54(0x236)],_0x247e94),!0x1;_0xcf2c1b={'id':_0x3f1694['RichTextEditingMutation']['id'],'params':{..._0x5bd6ab,'noHistory':!0x0,'noNeedSetTextRange':!0x0,'segmentId':''}};}if(!_0xdb0574[_0x369c54(0x273)](_0x391f02[_0x369c54(0x284)]['id'],_0x391f02[_0x369c54(0x284)][_0x369c54(0x1cd)]))return _0x425013(_0xdb0574,_0xcf2c1b),_0x4e1050(_0xdb0574,_0x4ca740[_0x369c54(0x236)],_0x247e94),!0x1;_0x2e3af6=!0x0,_0x4787ac(_0x4ca740,_0x391f02,_0xcf2c1b,_0xe5e25a);}catch(_0x2f9f1d){throw _0x2e3af6&&_0xdb0574[_0x369c54(0x273)](_0x391f02[_0x369c54(0x199)]['id'],_0x391f02[_0x369c54(0x199)]['params']),_0x425013(_0xdb0574,_0xcf2c1b),_0x4e1050(_0xdb0574,_0x4ca740['externalMutations'],_0x247e94),_0x2f9f1d;}return _0x50851e[_0x369c54(0x265)]([{'startOffset':_0x4ca740['cursorOffset'],'endOffset':_0x4ca740['cursorOffset'],'segmentId':''}],{'unitId':_0x4ca740['unitId'],'subUnitId':_0x4ca740[_0x369c54(0x181)]},!0x1,{[_0x3f1694['DOC_SELECTION_OPTION_PRESERVE_CARET']]:!0x0}),!0x0;}function _0x25a84f(_0x21882f,_0x587287,_0xa73beb,_0x29c472,_0xf0422,_0x4ebba4){const _0x3938cb=_0x3a09b9;let _0x2e0e00=_0x3d1943(_0xa73beb,_0x29c472,(0x0,_0x589ba5[_0x3938cb(0x1fa)])(_0x21882f,''));return _0x2e0e00?{'id':_0x3f1694['RichTextEditingMutation']['id'],'params':{'unitId':_0x587287,'actions':_0x2e0e00,'segmentId':'','textRanges':[{'startOffset':_0xf0422,'endOffset':_0xf0422,'collapsed':!0x0,'segmentId':''}],'isEditing':!0x1,'noHistory':!0x0,'noNeedSetTextRange':!0x0,'trigger':_0x4ebba4}}:null;}function _0x425013(_0xf9c897,_0x1cca83){const _0x5d7f0d=_0x3a09b9;_0x1cca83&&_0xf9c897[_0x5d7f0d(0x273)](_0x1cca83['id'],_0x1cca83[_0x5d7f0d(0x1cd)]);}function _0x4e1050(_0x1b1e77,_0xe33962,_0x50dbf7){const _0xbed5db=_0x3a09b9;_0x50dbf7&&_0xe33962[_0xbed5db(0x15d)]&&_0x1b1e77[_0xbed5db(0x273)](_0xe33962[_0xbed5db(0x15d)]['id'],_0xe33962[_0xbed5db(0x15d)][_0xbed5db(0x1cd)]);}function _0x3d1943(_0x595b21,_0xdecdac,_0x41ea82){const _0x130372=_0x3a09b9;let _0x28351d=_0x595b21[_0x130372(0x15b)],_0x58b5bd=_0xdecdac['body'],_0x3d6cc3=_0x4eb72c(_0x28351d==null?void 0x0:_0x28351d[_0x130372(0x222)],_0x58b5bd==null?void 0x0:_0x58b5bd[_0x130372(0x222)]);if(!_0x3d6cc3||!_0x58b5bd)return null;let _0x1f7a30=new _0x589ba5[(_0x130372(0x1ef))]();return _0x1f7a30[_0x130372(0x186)](_0x3d6cc3['start']),_0x3d6cc3['insertLength']>0x0&&_0x1f7a30['insert'](_0x3d6cc3[_0x130372(0x217)],(0x0,_0x589ba5[_0x130372(0x203)])(_0x58b5bd,_0x3d6cc3[_0x130372(0x218)],_0x3d6cc3[_0x130372(0x218)]+_0x3d6cc3[_0x130372(0x217)],!0x1)),_0x3d6cc3['deleteLength']>0x0&&_0x1f7a30['delete'](_0x3d6cc3[_0x130372(0x275)]),_0x589ba5['JSONX']['getInstance']()['editOp'](_0x1f7a30[_0x130372(0x264)](),_0x41ea82);}function _0x4eb72c(_0x16fd77,_0x3d196c){const _0x30107a=_0x3a09b9;if(_0x16fd77==null||_0x3d196c==null||_0x16fd77===_0x3d196c)return null;let _0x2e1722=0x0;for(;_0x2e1722<_0x16fd77[_0x30107a(0x239)]&&_0x2e1722<_0x3d196c['length']&&_0x16fd77[_0x2e1722]===_0x3d196c[_0x2e1722];)_0x2e1722+=0x1;let _0x246205=_0x16fd77['length'],_0x7ba31d=_0x3d196c[_0x30107a(0x239)];for(;_0x246205>_0x2e1722&&_0x7ba31d>_0x2e1722&&_0x16fd77[_0x246205-0x1]===_0x3d196c[_0x7ba31d-0x1];)--_0x246205,--_0x7ba31d;return{'start':_0x2e1722,'deleteLength':_0x246205-_0x2e1722,'insertLength':_0x7ba31d-_0x2e1722};}function _0x57c0d2(_0x5b9e15){const _0x79a825=_0x3a09b9;return{'schemaVersion':0x1,'formulas':Object[_0x79a825(0x279)](Object[_0x79a825(0x1e8)](_0x5b9e15[_0x79a825(0x1d3)])[_0x79a825(0x223)](([_0x2e5862,_0x3b18ac])=>[_0x2e5862,{..._0x3b18ac,..._0x3b18ac['numberFormat']?{'numberFormat':{..._0x3b18ac['numberFormat']}}:null,..._0x3b18ac[_0x79a825(0x1e3)]?{'lastValue':{..._0x3b18ac['lastValue']}}:null}]))};}let _0x584854=class extends _0x589ba5['Disposable']{constructor(_0x408ab0,_0x23cbd3,_0x5a11bb,_0x2e7497){const _0x2ab6dc=_0x3a09b9;super(),this[_0x2ab6dc(0x19e)]=_0x408ab0,this[_0x2ab6dc(0x1e9)]=_0x23cbd3,this['_model']=_0x5a11bb,this[_0x2ab6dc(0x233)]=_0x2e7497,_0x3433aa(this,_0x2ab6dc(0x1cc),new Set()),_0x3433aa(this,_0x2ab6dc(0x1ea),!0x1),_0x3433aa(this,_0x2ab6dc(0x188),!0x1),this['_instanceService'][_0x2ab6dc(0x15e)](_0x589ba5['UniverInstanceType'][_0x2ab6dc(0x256)])[_0x2ab6dc(0x208)](_0x4168af=>this[_0x2ab6dc(0x233)][_0x2ab6dc(0x1ca)](_0x4168af)),this[_0x2ab6dc(0x1cf)](this[_0x2ab6dc(0x205)][_0x2ab6dc(0x1e2)][_0x2ab6dc(0x154)](({unitId:_0x233ad8})=>this[_0x2ab6dc(0x249)](_0x233ad8))),this['disposeWithMe'](this['_instanceService'][_0x2ab6dc(0x178)][_0x2ab6dc(0x154)](({unit:_0xdcb026})=>{const _0x3881f0=_0x2ab6dc;_0xdcb026['type']===_0x589ba5[_0x3881f0(0x227)][_0x3881f0(0x256)]&&this[_0x3881f0(0x269)](_0xdcb026[_0x3881f0(0x261)]());})),this[_0x2ab6dc(0x1cf)](this[_0x2ab6dc(0x19e)]['unitDisposed$'][_0x2ab6dc(0x154)](_0x14be84=>{const _0x145c26=_0x2ab6dc;this[_0x145c26(0x233)][_0x145c26(0x190)](_0x14be84['getUnitId']());})),this[_0x2ab6dc(0x1cf)](this[_0x2ab6dc(0x1e9)][_0x2ab6dc(0x1fb)](_0x34046b=>{const _0x5ea4ed=_0x2ab6dc;if(_0x34046b['id']===_0x3f1694[_0x5ea4ed(0x168)]['id']&&_0x4d19ad(_0x34046b[_0x5ea4ed(0x1cd)])){let _0x5a72b9=_0x34046b['params'];_0x5a72b9[_0x5ea4ed(0x20a)]||this[_0x5ea4ed(0x249)](_0x5a72b9[_0x5ea4ed(0x181)]);}}));}[_0x3a09b9(0x1a0)](){const _0x276725=_0x3a09b9;this['_isDisposed']=!0x0,super[_0x276725(0x1a0)]();}[_0x3a09b9(0x269)](_0x379ed7){const _0x347c77=_0x3a09b9;this['_pendingUnitIds'][_0x347c77(0x252)](_0x379ed7),!this[_0x347c77(0x1ea)]&&(this[_0x347c77(0x1ea)]=!0x0,queueMicrotask(()=>{const _0x51f549=_0x347c77;if(this[_0x51f549(0x1ea)]=!0x1,this[_0x51f549(0x188)])return;let _0x14dcee=Array[_0x51f549(0x21f)](this[_0x51f549(0x1cc)]);this['_pendingUnitIds'][_0x51f549(0x24d)](),_0x14dcee['forEach'](_0x56a694=>this['_syncUnit'](_0x56a694));}));}[_0x3a09b9(0x249)](_0x34846a){const _0x1dc160=_0x3a09b9;let _0xdc4c6a=this[_0x1dc160(0x19e)]['getUnit'](_0x34846a,_0x589ba5[_0x1dc160(0x227)]['UNIVER_DOC']);_0xdc4c6a&&this[_0x1dc160(0x233)][_0x1dc160(0x1ca)](_0xdc4c6a);}};_0x584854=_0x2cfc4a([_0x3773bf(0x0,_0x589ba5[_0x3a09b9(0x244)]),_0x3773bf(0x1,_0x589ba5[_0x3a09b9(0x14c)]),_0x3773bf(0x2,(0x0,_0x589ba5[_0x3a09b9(0x1b2)])(_0x5334e8)),_0x3773bf(0x3,(0x0,_0x589ba5[_0x3a09b9(0x1b2)])(_0x1afbc3))],_0x584854);function _0x4d19ad(_0x2bf73c){const _0x5066d9=_0x3a09b9;return typeof _0x2bf73c==_0x5066d9(0x18d)&&!!_0x2bf73c&&_0x5066d9(0x181)in _0x2bf73c&&typeof _0x2bf73c['unitId']==_0x5066d9(0x200)&&(!(_0x5066d9(0x20a)in _0x2bf73c)||_0x2bf73c[_0x5066d9(0x20a)]===void 0x0||typeof _0x2bf73c[_0x5066d9(0x20a)]=='string');}let _0x8887c7=class extends _0x589ba5[_0x3a09b9(0x238)]{constructor(_0x2d6fc0,_0x587a5c){const _0x5f1abe=_0x3a09b9;super(),this['_resourceManagerService']=_0x2d6fc0,this['_docFormulaModel']=_0x587a5c,this[_0x5f1abe(0x1cf)](this[_0x5f1abe(0x1eb)][_0x5f1abe(0x207)]({'pluginName':_0x33fb70,'businesses':[_0x589ba5[_0x5f1abe(0x227)][_0x5f1abe(0x256)]],'toJson':_0x3a6518=>JSON[_0x5f1abe(0x149)](this[_0x5f1abe(0x1dd)]['serialize'](_0x3a6518)),'parseJson':_0x3ff4e3=>JSON[_0x5f1abe(0x1e1)](_0x3ff4e3),'onLoad':(_0x488658,_0x2b7744)=>{const _0x5d03c1=_0x5f1abe;this[_0x5d03c1(0x1dd)][_0x5d03c1(0x234)](_0x488658,_0x2b7744);},'onUnLoad':_0x27c3c1=>this['_docFormulaModel'][_0x5f1abe(0x1b0)](_0x27c3c1)}));}};_0x8887c7=_0x2cfc4a([_0x3773bf(0x0,_0x589ba5[_0x3a09b9(0x143)]),_0x3773bf(0x1,(0x0,_0x589ba5[_0x3a09b9(0x1b2)])(_0x5334e8))],_0x8887c7);var _0x365b2c=_0x3a09b9(0x157),_0x576b40=_0x3a09b9(0x1fd);let _0x2a2f6b={},_0x53bb4e=class extends _0x589ba5[_0x3a09b9(0x238)]{constructor(_0x5e74b6,_0x32fa49,_0x17cdb6){const _0x592a50=_0x3a09b9;super(),this[_0x592a50(0x166)]=_0x5e74b6,this[_0x592a50(0x21c)]=_0x32fa49,this['disposeWithMe'](_0x17cdb6[_0x592a50(0x1fe)]({'resolve':(_0x469290,_0x22be32)=>{const _0x6103b8=_0x592a50;var _0x1aba35;return((_0x1aba35=_0x22be32[_0x6103b8(0x144)])==null?void 0x0:_0x1aba35[_0x6103b8(0x1d5)](_0x4e62d2)[_0x6103b8(0x223)](_0x1b5f9c=>({'startOffset':_0x1b5f9c['startIndex'],'endOffset':_0x1b5f9c['endIndex']+0x1,'text':this['resolveFormula'](_0x469290,_0x1b5f9c[_0x6103b8(0x25f)])})))??[];}})),this[_0x592a50(0x1cf)](this[_0x592a50(0x21c)][_0x592a50(0x180)]['subscribe'](({unitId:_0x56b2cf})=>{const _0x4fb30c=_0x592a50;_0x17cdb6[_0x4fb30c(0x163)](_0x56b2cf);}));}[_0x3a09b9(0x1f8)](_0x19bbdf,_0x1e1697){const _0x1f975b=_0x3a09b9;var _0x2e8cf7;return((_0x2e8cf7=this[_0x1f975b(0x21c)]['getResult']({'unitId':_0x19bbdf,'rangeId':_0x1e1697}))==null?void 0x0:_0x2e8cf7[_0x1f975b(0x1f0)])??'';}[_0x3a09b9(0x1b9)](_0x408471,_0x514e7c,_0x4bf606){const _0x2b4415=_0x3a09b9;var _0x446ccf;let _0x42e0d5=this['_univerInstanceService']['getUnit'](_0x408471,_0x589ba5[_0x2b4415(0x227)][_0x2b4415(0x256)]),_0x366bc0=_0x42e0d5==null?void 0x0:_0x42e0d5['getBody']();if(!_0x366bc0)return'';let _0x1314fc=_0x366bc0[_0x2b4415(0x222)][_0x2b4415(0x26e)](_0x514e7c,_0x4bf606),_0x21725f=((_0x446ccf=_0x366bc0[_0x2b4415(0x144)])==null?void 0x0:_0x446ccf[_0x2b4415(0x1d5)](_0x241702=>_0x4e62d2(_0x241702)&&_0x241702[_0x2b4415(0x17f)]>=_0x514e7c&&_0x241702[_0x2b4415(0x1ec)]<_0x4bf606)[_0x2b4415(0x220)]((_0x2565ef,_0x58abbd)=>_0x58abbd[_0x2b4415(0x17f)]-_0x2565ef['startIndex']))??[];for(let _0x517e88 of _0x21725f){let _0x2f7d28=_0x517e88[_0x2b4415(0x17f)]-_0x514e7c,_0x28cc0a=_0x517e88[_0x2b4415(0x1ec)]-_0x514e7c+0x1;_0x1314fc=''+_0x1314fc[_0x2b4415(0x26e)](0x0,_0x2f7d28)+this[_0x2b4415(0x1f8)](_0x408471,_0x517e88[_0x2b4415(0x25f)])+_0x1314fc[_0x2b4415(0x26e)](_0x28cc0a);}return _0x1314fc;}[_0x3a09b9(0x16b)](_0x4a5554){return _0x4a0960(_0x4a5554);}[_0x3a09b9(0x247)](_0x5186ed,_0x2db02c,_0x2a4d1a={}){const _0x1e500a=_0x3a09b9;var _0x4bf3bd;return _0x3a2210({'id':_0x5186ed,'body':_0x2db02c,'documentStyle':{}},(((_0x4bf3bd=_0x2db02c[_0x1e500a(0x144)])==null?void 0x0:_0x4bf3bd[_0x1e500a(0x1d5)](_0x4e62d2))??[])[_0x1e500a(0x223)](_0x485f6e=>({'rangeId':_0x485f6e[_0x1e500a(0x25f)],'text':_0x2a4d1a[_0x485f6e[_0x1e500a(0x25f)]]??this['resolveFormula'](_0x5186ed,_0x485f6e[_0x1e500a(0x25f)])})))[_0x1e500a(0x15b)]??{'dataStream':''};}};_0x53bb4e=_0x2cfc4a([_0x3773bf(0x0,_0x589ba5[_0x3a09b9(0x244)]),_0x3773bf(0x1,(0x0,_0x589ba5[_0x3a09b9(0x1b2)])(_0x1afbc3)),_0x3773bf(0x2,(0x0,_0x589ba5[_0x3a09b9(0x1b2)])(_0x3f1694['DocTextResolverService']))],_0x53bb4e);function _0x4a0960(_0x39b388){const _0x21c6cd=_0x3a09b9;var _0x52879b,_0x1320c0;let _0x599471=_0x51eed9(_0x39b388),_0x595d0a=_0x3a2210(_0x39b388,(((_0x52879b=_0x39b388[_0x21c6cd(0x15b)])==null||(_0x52879b=_0x52879b[_0x21c6cd(0x144)])==null?void 0x0:_0x52879b[_0x21c6cd(0x1d5)](_0x4e62d2))??[])['map'](_0x51b111=>({'rangeId':_0x51b111[_0x21c6cd(0x25f)],'text':_0x370536(_0x599471==null?void 0x0:_0x599471['formulas'][_0x51b111[_0x21c6cd(0x25f)]])})));return _0x595d0a[_0x21c6cd(0x230)]=(_0x1320c0=_0x595d0a[_0x21c6cd(0x230)])==null?void 0x0:_0x1320c0['filter'](_0x4c8291=>_0x4c8291[_0x21c6cd(0x182)]!==_0x33fb70),_0x595d0a;}function _0x51eed9(_0x98d290){const _0x2db5d2=_0x3a09b9;var _0x2c3202;let _0x1931b7=(_0x2c3202=_0x98d290['resources'])==null||(_0x2c3202=_0x2c3202['find'](_0x2b13e3=>_0x2b13e3['name']==='DOC_FORMULA_PLUGIN'))==null?void 0x0:_0x2c3202[_0x2db5d2(0x16e)];if(_0x1931b7)try{let _0x5e1516=JSON[_0x2db5d2(0x1e1)](_0x1931b7);return _0x4fcbf3(_0x5e1516)?_0x5e1516:void 0x0;}catch{return;}}function _0x370536(_0x4a9b87){const _0x56bf92=_0x3a09b9;return _0x4a9b87?(0x0,_0x4c3070[_0x56bf92(0x1c8)])({'lastValue':_0x4a9b87[_0x56bf92(0x1e3)],'numberFormat':_0x4a9b87[_0x56bf92(0x1a9)]})['text']:'';}let _0x40f1cf=class extends _0x589ba5['Disposable']{constructor(_0x45b4f6,_0x59a916,_0x27ca7f){const _0x50e565=_0x3a09b9;super(),this[_0x50e565(0x21c)]=_0x45b4f6,this[_0x50e565(0x258)]=_0x59a916,this['disposeWithMe'](_0x27ca7f[_0x50e565(0x282)](this));}[_0x3a09b9(0x21d)](_0x518f78){const _0x5a2865=_0x3a09b9;let _0x258179=new Map();for(let _0x4d8cac of this[_0x5a2865(0x21c)]['getRegisteredFormulas']()){var _0x10860b;if(!this[_0x5a2865(0x258)]['assess'](_0x4d8cac[_0x5a2865(0x147)][_0x5a2865(0x228)],_0x4d8cac[_0x5a2865(0x229)])['eligible'])continue;let _0x1222ef=(0x0,_0x4c3070[_0x5a2865(0x27d)])(_0x4d8cac['liveResult']),_0x2a5b91=_0x1222ef?(0x0,_0x4c3070[_0x5a2865(0x243)])(_0x1222ef):null;if(!_0x2a5b91||_0x4dbc07(_0x4d8cac['config'][_0x5a2865(0x1e3)],_0x2a5b91))continue;let _0x4720a9=_0x258179[_0x5a2865(0x1bf)](_0x4d8cac['identity'][_0x5a2865(0x181)])??[];_0x4720a9['push']({'rangeId':_0x4d8cac[_0x5a2865(0x266)][_0x5a2865(0x25f)],'expectedFormula':_0x4d8cac[_0x5a2865(0x147)]['formula'],'expectedNumberFormat':(_0x10860b=_0x4d8cac[_0x5a2865(0x147)]['numberFormat'])==null?void 0x0:_0x10860b[_0x5a2865(0x280)],'expectedReferenceRevision':_0x4d8cac['referenceRevision'],'lastValue':_0x2a5b91}),_0x258179[_0x5a2865(0x162)](_0x4d8cac[_0x5a2865(0x266)][_0x5a2865(0x181)],_0x4720a9);}return Array[_0x5a2865(0x21f)](_0x258179,([_0x25d3cb,_0x385c2f])=>({'id':_0x62acd3['id'],'params':{'unitId':_0x25d3cb,'updates':_0x385c2f}}));}};_0x40f1cf=_0x2cfc4a([_0x3773bf(0x0,(0x0,_0x589ba5[_0x3a09b9(0x1b2)])(_0x1afbc3)),_0x3773bf(0x1,(0x0,_0x589ba5[_0x3a09b9(0x1b2)])(_0x4c3070[_0x3a09b9(0x254)])),_0x3773bf(0x2,(0x0,_0x589ba5[_0x3a09b9(0x1b2)])(_0x4c3070[_0x3a09b9(0x1b3)]))],_0x40f1cf);function _0x4dbc07(_0x384ce9,_0x5325a9){const _0x5a93b8=_0x3a09b9;return(_0x384ce9==null?void 0x0:_0x384ce9['v'])===_0x5325a9['v']&&(_0x384ce9==null?void 0x0:_0x384ce9['t'])===_0x5325a9['t']&&(_0x384ce9==null?void 0x0:_0x384ce9[_0x5a93b8(0x280)])===_0x5325a9['pattern'];}let _0x45ebc5=class extends _0x589ba5['Plugin']{constructor(_0x1b65cf=_0x2a2f6b,_0x24fd98,_0x1703b0,_0x5bf23a){const _0x1b5842=_0x3a09b9;super(),this[_0x1b5842(0x25e)]=_0x1b65cf,this[_0x1b5842(0x1b4)]=_0x24fd98,this[_0x1b5842(0x1e9)]=_0x1703b0,this[_0x1b5842(0x19f)]=_0x5bf23a;let {..._0x1a54f8}=(0x0,_0x589ba5[_0x1b5842(0x250)])({},_0x2a2f6b,this[_0x1b5842(0x25e)]);this[_0x1b5842(0x19f)][_0x1b5842(0x165)](_0x1b5842(0x1f1),_0x1a54f8);}['onStarting'](){const _0x3187ca=_0x3a09b9;this['_injector'][_0x3187ca(0x252)]([_0x5334e8]),this[_0x3187ca(0x1b4)][_0x3187ca(0x252)]([_0x1afbc3]),this[_0x3187ca(0x1b4)]['add']([_0x8887c7]),this[_0x3187ca(0x1b4)][_0x3187ca(0x252)]([_0x584854]),this[_0x3187ca(0x1b4)][_0x3187ca(0x252)]([_0x40f1cf]),this[_0x3187ca(0x1b4)][_0x3187ca(0x252)]([_0x53bb4e]),(0x0,_0x589ba5[_0x3187ca(0x17d)])(this['_injector'],[[_0x5334e8],[_0x8887c7],[_0x584854],[_0x40f1cf],[_0x53bb4e]]),[_0x5181a6,_0x1a9e4c,_0x397705,_0x62acd3,_0x39716e,_0x5bb815,_0x1dfbc7,_0x30135d,_0xa71694,_0x4b7e47][_0x3187ca(0x208)](_0x156566=>this[_0x3187ca(0x1cf)](this[_0x3187ca(0x1e9)][_0x3187ca(0x173)](_0x156566)));}};_0x3433aa(_0x45ebc5,_0x3a09b9(0x21a),_0x33fb70),_0x3433aa(_0x45ebc5,_0x3a09b9(0x263),_0x365b2c),_0x3433aa(_0x45ebc5,_0x3a09b9(0x14b),_0x576b40),_0x3433aa(_0x45ebc5,_0x3a09b9(0x170),_0x589ba5[_0x3a09b9(0x227)][_0x3a09b9(0x256)]),_0x45ebc5=_0x2cfc4a([(0x0,_0x589ba5[_0x3a09b9(0x215)])(_0x305e99['UniverLicensePlugin'],_0x4c3070[_0x3a09b9(0x278)],_0x3f1694['UniverDocsPlugin']),_0x3773bf(0x1,(0x0,_0x589ba5[_0x3a09b9(0x1b2)])(_0x589ba5[_0x3a09b9(0x1a7)])),_0x3773bf(0x2,_0x589ba5[_0x3a09b9(0x14c)]),_0x3773bf(0x3,_0x589ba5['IConfigService'])],_0x45ebc5),_0xb9a124[_0x3a09b9(0x253)]=_0x4b7e47,_0xb9a124[_0x3a09b9(0x22d)]=_0x3914c0,_0xb9a124['DOC_FORMULA_OBJECT_REPLACEMENT']='',_0xb9a124[_0x3a09b9(0x1f4)]=_0x33fb70,_0xb9a124[_0x3a09b9(0x1ac)]=0x1,Object['defineProperty'](_0xb9a124,_0x3a09b9(0x1f5),{'enumerable':!0x0,'get':function(){return _0x53bb4e;}}),Object['defineProperty'](_0xb9a124,_0x3a09b9(0x187),{'enumerable':!0x0,'get':function(){return _0x584854;}}),_0xb9a124[_0x3a09b9(0x185)]=_0x5334e8,Object[_0x3a09b9(0x164)](_0xb9a124,_0x3a09b9(0x159),{'enumerable':!0x0,'get':function(){return _0x8887c7;}}),_0xb9a124['DocFormulaResultStatus']=_0x104b08,Object[_0x3a09b9(0x164)](_0xb9a124,'DocFormulaService',{'enumerable':!0x0,'get':function(){return _0x1afbc3;}}),_0xb9a124['InsertDocFormulaCommand']=_0x39716e,_0xb9a124['InvalidDocFormulaInsertRangeError']=_0x1c3d3b,_0xb9a124[_0x3a09b9(0x257)]=_0x30135d,_0xb9a124[_0x3a09b9(0x1bd)]=_0x1a9e4c,_0xb9a124[_0x3a09b9(0x1c6)]=_0xa71694,_0xb9a124[_0x3a09b9(0x1cb)]=_0x62acd3,_0xb9a124[_0x3a09b9(0x1c5)]=_0x5181a6,_0xb9a124['SetDocFormulaNumberFormatCommand']=_0x1dfbc7,_0xb9a124[_0x3a09b9(0x1ab)]=_0x397705,Object[_0x3a09b9(0x164)](_0xb9a124,_0x3a09b9(0x19d),{'enumerable':!0x0,'get':function(){return _0x45ebc5;}}),_0xb9a124[_0x3a09b9(0x1d7)]=_0x5bb815,_0xb9a124['assertSafeDocFormulaInsertRange']=_0x5a8223,_0xb9a124[_0x3a09b9(0x1b7)]=_0x38fc78,_0xb9a124['buildRemoveDocFormulaActions']=_0x273d39,_0xb9a124[_0x3a09b9(0x1a2)]=_0x448c17,_0xb9a124[_0x3a09b9(0x183)]=_0x4e6d45,_0xb9a124[_0x3a09b9(0x1be)]=_0x4a0960,_0xb9a124[_0x3a09b9(0x246)]=_0x432e46,_0xb9a124[_0x3a09b9(0x14e)]=_0x372fdd,_0xb9a124['isDocFormulaRange']=_0x4e62d2,_0xb9a124['isDocFormulaResource']=_0x4fcbf3,_0xb9a124[_0x3a09b9(0x140)]=_0x282418;}));
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@univerjs-pro/docs-formula",
3
- "version": "1.0.4",
3
+ "version": "1.1.0",
4
4
  "private": false,
5
5
  "description": "Inline data formula model integration for Univer Docs.",
6
6
  "author": "DreamNum Co., Ltd. <developer@univer.ai>",
@@ -61,18 +61,18 @@
61
61
  "rxjs": ">=7.0.0"
62
62
  },
63
63
  "dependencies": {
64
- "@univerjs-pro/engine-formula": "1.0.4",
65
- "@univerjs-pro/license": "1.0.4",
66
- "@univerjs/core": "1.0.4",
67
- "@univerjs/docs": "1.0.4",
68
- "@univerjs/engine-formula": "1.0.4"
64
+ "@univerjs-pro/engine-formula": "1.1.0",
65
+ "@univerjs-pro/license": "1.1.0",
66
+ "@univerjs/core": "1.1.0",
67
+ "@univerjs/docs": "1.1.0",
68
+ "@univerjs/engine-formula": "1.1.0"
69
69
  },
70
70
  "devDependencies": {
71
- "@univerjs-infra/shared": "1.0.4",
72
- "@univerjs/engine-render": "1.0.4",
71
+ "@univerjs-infra/shared": "1.1.0",
72
+ "@univerjs/engine-render": "1.1.0",
73
73
  "rxjs": "7.8.2",
74
74
  "typescript": "^6.0.3",
75
- "vitest": "^5.0.0"
75
+ "vitest": "^5.0.4"
76
76
  },
77
77
  "scripts": {
78
78
  "test": "vitest run",