@univerjs-pro/collaboration-client-ui 0.12.2-experimental.20251201-5b27b55 → 0.12.2-experimental.20251202-45172c6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/cjs/facade.js +1 -1
- package/lib/cjs/index.js +1 -1
- package/lib/cjs/locale/ca-ES.js +1 -1
- package/lib/cjs/locale/en-US.js +1 -1
- package/lib/cjs/locale/es-ES.js +1 -1
- package/lib/cjs/locale/fa-IR.js +1 -1
- package/lib/cjs/locale/fr-FR.js +1 -1
- package/lib/cjs/locale/ja-JP.js +1 -1
- package/lib/cjs/locale/ko-KR.js +1 -1
- package/lib/cjs/locale/ru-RU.js +1 -1
- package/lib/cjs/locale/vi-VN.js +1 -1
- package/lib/cjs/locale/zh-CN.js +1 -1
- package/lib/cjs/locale/zh-TW.js +1 -1
- package/lib/es/facade.js +1 -1
- package/lib/es/index.js +1 -1
- package/lib/es/locale/ca-ES.js +1 -1
- package/lib/es/locale/en-US.js +1 -1
- package/lib/es/locale/es-ES.js +1 -1
- package/lib/es/locale/fa-IR.js +1 -1
- package/lib/es/locale/fr-FR.js +1 -1
- package/lib/es/locale/ja-JP.js +1 -1
- package/lib/es/locale/ko-KR.js +1 -1
- package/lib/es/locale/ru-RU.js +1 -1
- package/lib/es/locale/vi-VN.js +1 -1
- package/lib/es/locale/zh-CN.js +1 -1
- package/lib/es/locale/zh-TW.js +1 -1
- package/lib/facade.js +1 -1
- package/lib/index.js +1 -1
- package/lib/locale/ca-ES.js +1 -1
- package/lib/locale/en-US.js +1 -1
- package/lib/locale/es-ES.js +1 -1
- package/lib/locale/fa-IR.js +1 -1
- package/lib/locale/fr-FR.js +1 -1
- package/lib/locale/ja-JP.js +1 -1
- package/lib/locale/ko-KR.js +1 -1
- package/lib/locale/ru-RU.js +1 -1
- package/lib/locale/vi-VN.js +1 -1
- package/lib/locale/zh-CN.js +1 -1
- package/lib/locale/zh-TW.js +1 -1
- package/lib/umd/facade.js +1 -1
- package/lib/umd/index.js +1 -1
- package/lib/umd/locale/ca-ES.js +1 -1
- package/lib/umd/locale/en-US.js +1 -1
- package/lib/umd/locale/es-ES.js +1 -1
- package/lib/umd/locale/fa-IR.js +1 -1
- package/lib/umd/locale/fr-FR.js +1 -1
- package/lib/umd/locale/ja-JP.js +1 -1
- package/lib/umd/locale/ko-KR.js +1 -1
- package/lib/umd/locale/ru-RU.js +1 -1
- package/lib/umd/locale/vi-VN.js +1 -1
- package/lib/umd/locale/zh-CN.js +1 -1
- package/lib/umd/locale/zh-TW.js +1 -1
- package/package.json +15 -15
package/lib/umd/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(_0x43998d,_0x3c5ccd){const _0x186334=_0x3b56,_0x1202c5=_0x43998d();while(!![]){try{const _0x247f63=parseInt(_0x186334(0x1a1))/0x1*(-parseInt(_0x186334(0x414))/0x2)+-parseInt(_0x186334(0x1e7))/0x3+-parseInt(_0x186334(0x35f))/0x4+parseInt(_0x186334(0x375))/0x5+parseInt(_0x186334(0x24f))/0x6+parseInt(_0x186334(0x381))/0x7*(parseInt(_0x186334(0x19e))/0x8)+parseInt(_0x186334(0x3ab))/0x9;if(_0x247f63===_0x3c5ccd)break;else _0x1202c5['push'](_0x1202c5['shift']());}catch(_0x399b37){_0x1202c5['push'](_0x1202c5['shift']());}}}(_0x41f7,0x373ac),function(_0x5bfb76,_0x3d7a1c){const _0x2ee755=_0x3b56;typeof exports==_0x2ee755(0x1cf)&&typeof module<'u'?_0x3d7a1c(exports,require('react/jsx-runtime'),require('@univerjs-pro/collaboration-client'),require('@univerjs/core'),require('@univerjs/ui'),require('rxjs'),require('@univerjs/design'),require('react'),require('@univerjs/rpc'),require('@univerjs/sheets'),require('@univerjs/engine-render'),require('@univerjs/network'),require('@univerjs/docs-ui'),require('@univerjs/drawing'),require('@univerjs-pro/collaboration'),require('@univerjs/docs'),require('@univerjs/engine-formula'),require('rxjs/operators'),require('@univerjs/sheets-ui')):typeof define=='function'&&define['amd']?define(['exports',_0x2ee755(0x2eb),'@univerjs-pro/collaboration-client','@univerjs/core',_0x2ee755(0x347),_0x2ee755(0x274),_0x2ee755(0x19c),_0x2ee755(0x345),_0x2ee755(0x418),'@univerjs/sheets','@univerjs/engine-render',_0x2ee755(0x430),_0x2ee755(0x317),'@univerjs/drawing',_0x2ee755(0x33a),'@univerjs/docs',_0x2ee755(0x365),_0x2ee755(0x328),'@univerjs/sheets-ui'],_0x3d7a1c):(_0x5bfb76=typeof globalThis<'u'?globalThis:_0x5bfb76||self,_0x3d7a1c(_0x5bfb76[_0x2ee755(0x241)]={},_0x5bfb76[_0x2ee755(0x268)],_0x5bfb76[_0x2ee755(0x452)],_0x5bfb76['UniverCore'],_0x5bfb76['UniverUi'],_0x5bfb76[_0x2ee755(0x274)],_0x5bfb76[_0x2ee755(0x189)],_0x5bfb76[_0x2ee755(0x268)],_0x5bfb76[_0x2ee755(0x302)],_0x5bfb76['UniverSheets'],_0x5bfb76['UniverEngineRender'],_0x5bfb76[_0x2ee755(0x298)],_0x5bfb76['UniverDocsUi'],_0x5bfb76[_0x2ee755(0x40a)],_0x5bfb76[_0x2ee755(0x212)],_0x5bfb76[_0x2ee755(0x18d)],_0x5bfb76['UniverEngineFormula'],_0x5bfb76[_0x2ee755(0x274)][_0x2ee755(0x37e)],_0x5bfb76[_0x2ee755(0x3e5)]));}(this,function(_0x2a5145,_0x3eda53,_0x51298c,_0x197d59,_0x5a190a,_0x22ea33,_0xa9b0b1,_0x221e60,_0x347808,_0x40ce40,_0x4ef8d4,_0x7b80a,_0x3b2259,_0x30f5ff,_0x249f8c,_0xa4499d,_0x1a5e73,_0x28a993,_0x1f6d72){'use strict';const _0x10d65d=_0x3b56;var _0x18539f=Object[_0x10d65d(0x41a)],_0x21ee77=(_0x520f24,_0x311a73,_0x45c843)=>_0x311a73 in _0x520f24?_0x18539f(_0x520f24,_0x311a73,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x45c843}):_0x520f24[_0x311a73]=_0x45c843,_0x3ab141=(_0x1b627c,_0x1e3049,_0x4cc27b)=>_0x21ee77(_0x1b627c,typeof _0x1e3049!='symbol'?_0x1e3049+'':_0x1e3049,_0x4cc27b);function _0x2c5009({ref:_0x2a70f2,..._0x435752}){const _0x555f7f=_0x10d65d,{icon:_0x19f730,id:_0x33f78c,className:_0x34e8fa,extend:_0x46b8ec,..._0x5be081}=_0x435752,_0x4cc4fb=(_0x555f7f(0x22a)+_0x33f78c+'\x20'+(_0x34e8fa||''))[_0x555f7f(0x3d3)](),_0x3cdea7=_0x221e60[_0x555f7f(0x3ee)]('_'+_0x173266());return _0x13b48a(_0x19f730,''+_0x33f78c,{'defIds':_0x19f730['defIds'],'idSuffix':_0x3cdea7[_0x555f7f(0x32d)]},{'ref':_0x2a70f2,'className':_0x4cc4fb,..._0x5be081},_0x46b8ec);}function _0x13b48a(_0x387cbc,_0x247f62,_0x502e30,_0x49fde5,_0x5cd2f3){const _0x1c3157=_0x10d65d;return _0x221e60[_0x1c3157(0x3a7)](_0x387cbc[_0x1c3157(0x2d8)],{'key':_0x247f62,..._0x3666fc(_0x387cbc,_0x502e30,_0x5cd2f3),..._0x49fde5},(_0x115dfb(_0x387cbc,_0x502e30)[_0x1c3157(0x3ef)]||[])[_0x1c3157(0x28f)]((_0x4008d0,_0x10665d)=>_0x13b48a(_0x4008d0,_0x247f62+'-'+_0x387cbc[_0x1c3157(0x2d8)]+'-'+_0x10665d,_0x502e30,void 0x0,_0x5cd2f3)));}function _0x3666fc(_0x46c343,_0x3e1ccc,_0x474825){const _0x4bb8f3=_0x10d65d,_0x1a95c1={..._0x46c343[_0x4bb8f3(0x1be)]};_0x474825!=null&&_0x474825[_0x4bb8f3(0x278)]&&_0x1a95c1[_0x4bb8f3(0x1f3)]===_0x4bb8f3(0x278)&&(_0x1a95c1[_0x4bb8f3(0x1f3)]=_0x474825[_0x4bb8f3(0x278)]),_0x46c343[_0x4bb8f3(0x2d8)]==='mask'&&_0x1a95c1['id']&&(_0x1a95c1['id']=_0x1a95c1['id']+_0x3e1ccc['idSuffix']),Object[_0x4bb8f3(0x1ae)](_0x1a95c1)['forEach'](([_0x23bcf6,_0x258d37])=>{const _0x328f08=_0x4bb8f3;_0x23bcf6===_0x328f08(0x276)&&typeof _0x258d37==_0x328f08(0x3f1)&&(_0x1a95c1[_0x23bcf6]=_0x258d37[_0x328f08(0x1b1)](/url\(#(.*)\)/,_0x328f08(0x20d)+_0x3e1ccc['idSuffix']+')'));});const {defIds:_0x32f71c}=_0x3e1ccc;return!_0x32f71c||_0x32f71c[_0x4bb8f3(0x344)]===0x0||(_0x46c343[_0x4bb8f3(0x2d8)]===_0x4bb8f3(0x3a3)&&_0x1a95c1[_0x4bb8f3(0x32c)]&&(_0x1a95c1[_0x4bb8f3(0x32c)]=_0x1a95c1[_0x4bb8f3(0x32c)]+_0x3e1ccc[_0x4bb8f3(0x301)]),Object[_0x4bb8f3(0x1ae)](_0x1a95c1)['forEach'](([_0x8a6e8a,_0x5054d5])=>{const _0x3212a9=_0x4bb8f3;typeof _0x5054d5==_0x3212a9(0x3f1)&&(_0x1a95c1[_0x8a6e8a]=_0x5054d5[_0x3212a9(0x1b1)](/url\(#(.*)\)/,_0x3212a9(0x20d)+_0x3e1ccc[_0x3212a9(0x301)]+')'));})),_0x1a95c1;}function _0x115dfb(_0x580708,_0x1dfb82){const _0x57c5da=_0x10d65d;var _0x227fae;const {defIds:_0x150bf}=_0x1dfb82;return!_0x150bf||_0x150bf['length']===0x0?_0x580708:_0x580708[_0x57c5da(0x2d8)]===_0x57c5da(0x275)&&((_0x227fae=_0x580708[_0x57c5da(0x3ef)])!=null&&_0x227fae[_0x57c5da(0x344)])?{..._0x580708,'children':_0x580708[_0x57c5da(0x3ef)]['map'](_0x42dd90=>typeof _0x42dd90[_0x57c5da(0x1be)]['id']==_0x57c5da(0x3f1)&&_0x150bf&&_0x150bf[_0x57c5da(0x286)](_0x42dd90['attrs']['id'])?{..._0x42dd90,'attrs':{..._0x42dd90[_0x57c5da(0x1be)],'id':_0x42dd90[_0x57c5da(0x1be)]['id']+_0x1dfb82[_0x57c5da(0x301)]}}:_0x42dd90)}:_0x580708;}function _0x173266(){const _0x355855=_0x10d65d;return Math['random']()[_0x355855(0x3cd)](0x24)[_0x355855(0x455)](0x2,0x8);}_0x2c5009['displayName']='UniverIcon';const _0x47630b={'tag':_0x10d65d(0x333),'attrs':{'xmlns':_0x10d65d(0x285),'fill':'none','viewBox':_0x10d65d(0x29b),'width':_0x10d65d(0x34e),'height':_0x10d65d(0x34e)},'children':[{'tag':'g','attrs':{'clipPath':_0x10d65d(0x17e)},'children':[{'tag':_0x10d65d(0x1df),'attrs':{'stroke':_0x10d65d(0x3e1),'d':_0x10d65d(0x1c1),'strokeLinecap':_0x10d65d(0x18b),'strokeLinejoin':'round','strokeWidth':1.2}}]},{'tag':_0x10d65d(0x275),'attrs':{},'children':[{'tag':_0x10d65d(0x1ca),'attrs':{'id':'off-line-icon_clip0_910_343'},'children':[{'tag':_0x10d65d(0x1df),'attrs':{'fill':_0x10d65d(0x2cf),'d':'M0\x200H16V16H0z'}}]}]}],'defIds':[_0x10d65d(0x40c)]},_0x5eaf88=_0x221e60[_0x10d65d(0x408)](function(_0x3c4be5,_0x3ec28f){const _0x2006ba=_0x10d65d;return _0x221e60['createElement'](_0x2c5009,Object['assign']({},_0x3c4be5,{'id':_0x2006ba(0x2bf),'ref':_0x3ec28f,'icon':_0x47630b}));});_0x5eaf88[_0x10d65d(0x2ec)]=_0x10d65d(0x3c5);const _0x2db8fc={'tag':_0x10d65d(0x333),'attrs':{'xmlns':'http://www.w3.org/2000/svg','fill':_0x10d65d(0x3e7),'viewBox':_0x10d65d(0x2a2),'width':'1em','height':_0x10d65d(0x34e)},'children':[{'tag':'g','attrs':{'clipPath':_0x10d65d(0x2a4)},'children':[{'tag':_0x10d65d(0x1df),'attrs':{'stroke':_0x10d65d(0x3e1),'d':'M4.5865\x2011.6499C3.36983\x2011.6499\x201.6665\x2011.1024\x201.6665\x208.9124C1.6665\x206.3574\x204.2215\x205.8099\x204.9515\x205.8099C5.3165\x204.5324\x206.0465\x202.5249\x208.9665\x202.5249C11.5215\x202.5249\x2012.6165\x203.9849\x2012.9815\x205.2624C12.9815\x205.2624\x2016.2665\x205.6274\x2016.2665\x208.7299C16.2665\x2010.9199\x2014.8065\x2011.6499\x2013.3465\x2011.6499M6.7767\x2011.6497L8.9667\x2013.4747L11.8867\x209.82466','strokeLinecap':_0x10d65d(0x18b),'strokeLinejoin':_0x10d65d(0x18b),'strokeWidth':1.2}}]},{'tag':'defs','attrs':{},'children':[{'tag':_0x10d65d(0x1ca),'attrs':{'id':_0x10d65d(0x230)},'children':[{'tag':'path','attrs':{'fill':_0x10d65d(0x2cf),'d':_0x10d65d(0x324),'transform':_0x10d65d(0x27f)}}]}]}],'defIds':[_0x10d65d(0x230)]},_0x13e27b=_0x221e60[_0x10d65d(0x408)](function(_0x160e03,_0x4160fa){const _0x13811e=_0x10d65d;return _0x221e60['createElement'](_0x2c5009,Object[_0x13811e(0x180)]({},_0x160e03,{'id':_0x13811e(0x232),'ref':_0x4160fa,'icon':_0x2db8fc}));});_0x13e27b[_0x10d65d(0x2ec)]='OnLineIcon';function _0x4aa6e3(_0x310918){const _0x5c1245=_0x10d65d;switch(_0x310918){case _0x51298c[_0x5c1245(0x3aa)][_0x5c1245(0x326)]:return'collabStatus.offline';case _0x51298c[_0x5c1245(0x3aa)][_0x5c1245(0x244)]:return'collabStatus.conflict';case _0x51298c[_0x5c1245(0x3aa)][_0x5c1245(0x27b)]:return _0x5c1245(0x394);case _0x51298c['CollaborationStatus'][_0x5c1245(0x36a)]:return'collabStatus.notCollab';case _0x51298c['CollaborationStatus'][_0x5c1245(0x30d)]:case _0x51298c['CollaborationStatus']['AWAITING_WITH_PENDING']:return _0x5c1245(0x329);case _0x51298c['CollaborationStatus']['SYNCED']:case _0x51298c[_0x5c1245(0x3aa)][_0x5c1245(0x223)]:return _0x5c1245(0x2e9);}}function _0x11522d(_0x1a89b2){const _0x137806=_0x10d65d,{status$:_0x51e0fb}=_0x1a89b2,_0x3eeb8e=_0x5a190a['useObservable'](_0x51e0fb,_0x51298c[_0x137806(0x3aa)][_0x137806(0x36a)]),_0x1459d2=_0x5a190a[_0x137806(0x1c8)](_0x197d59[_0x137806(0x3b5)]),_0x3f2773=_0x5a190a[_0x137806(0x1c8)](_0x51298c[_0x137806(0x3b0)]),_0x55cabe=_0x3eeb8e!==_0x51298c[_0x137806(0x3aa)][_0x137806(0x326)],_0x2c676f=_0x1459d2['t'](_0x4aa6e3(_0x3eeb8e)),_0x1fbbc6=_0x55cabe?_0x3eda53[_0x137806(0x204)](_0x13e27b,{}):_0x3eda53[_0x137806(0x204)](_0x5eaf88,{}),_0x3b8c58=_0x221e60['useCallback'](()=>{const _0xe307c3=_0x137806;_0x55cabe||_0x3f2773[_0xe307c3(0x2b4)]();},[_0x55cabe,_0x3f2773]);function _0x4e1b43(){const _0x16e30c=_0x137806;return _0x3eda53[_0x16e30c(0x3da)]('div',{'className':'univer-flex\x20univer-items-center','onClick':_0x3b8c58,'children':[_0x3eda53['jsx']('div',{'className':_0xa9b0b1['clsx'](_0x16e30c(0x438),{'univer-text-green-500':_0x55cabe,'univer-text-red-500':!_0x55cabe}),'children':_0x1fbbc6}),_0x3eda53[_0x16e30c(0x204)](_0x16e30c(0x30b),{'className':_0x16e30c(0x1d7),'children':_0x2c676f})]});}return _0x55cabe?_0x4e1b43():_0x3eda53['jsx'](_0xa9b0b1[_0x137806(0x3ad)],{'title':_0x1459d2['t'](_0x137806(0x1e3)),'children':_0x4e1b43()});}var _0x3858dc=Object[_0x10d65d(0x17f)],_0x4ec781=(_0x249ea5,_0x54be38,_0x1f7299,_0x13724d)=>{const _0x4771aa=_0x10d65d;for(var _0x3de545=_0x13724d>0x1?void 0x0:_0x13724d?_0x3858dc(_0x54be38,_0x1f7299):_0x54be38,_0x38ccb0=_0x249ea5[_0x4771aa(0x344)]-0x1,_0x2c2cae;_0x38ccb0>=0x0;_0x38ccb0--)(_0x2c2cae=_0x249ea5[_0x38ccb0])&&(_0x3de545=_0x2c2cae(_0x3de545)||_0x3de545);return _0x3de545;},_0x10f0c8=(_0xff30a9,_0x418545)=>(_0x2c8386,_0x582689)=>_0x418545(_0x2c8386,_0x582689,_0xff30a9);_0x2a5145[_0x10d65d(0x28d)]=class extends _0x197d59[_0x10d65d(0x308)]{constructor(_0x3a1080,_0x822654,_0x317a74,_0xd0cac1){const _0xd91f2=_0x10d65d;super(),_0x3ab141(this,'_status$',new _0x22ea33[(_0xd91f2(0x3e8))](_0x51298c[_0xd91f2(0x3aa)][_0xd91f2(0x36a)])),(this[_0xd91f2(0x1fb)]=_0x3a1080,this[_0xd91f2(0x3a1)]=_0x822654,this[_0xd91f2(0x1bc)]=_0x317a74,this['_uiPartsService']=_0xd0cac1,this['_initStatusComponent'](),this[_0xd91f2(0x3bc)]());}[_0x10d65d(0x3bc)](){const _0x1245c2=_0x10d65d;this[_0x1245c2(0x406)](this['_univerInstanceService'][_0x1245c2(0x44c)]['pipe'](_0x22ea33[_0x1245c2(0x3d9)](()=>{const _0x4f7d22=_0x1245c2,_0x5dd1f4=this[_0x4f7d22(0x1fb)]['getFocusedUnit']();return _0x5dd1f4?this[_0x4f7d22(0x1bc)][_0x4f7d22(0x371)](_0x5dd1f4['getUnitId']()):_0x22ea33['of'](null);}),_0x22ea33['switchMap'](_0x360431=>_0x360431?_0x360431[_0x1245c2(0x342)]:_0x22ea33['of'](_0x51298c[_0x1245c2(0x3aa)][_0x1245c2(0x36a)])))['subscribe'](_0x320025=>{const _0x4dae38=_0x1245c2;this[_0x4dae38(0x39c)][_0x4dae38(0x2a6)](_0x320025);}));}['_initStatusComponent'](){const _0x169740=_0x10d65d;this[_0x169740(0x406)](this[_0x169740(0x416)][_0x169740(0x3c0)](_0x5a190a['BuiltInUIPart'][_0x169740(0x39a)],()=>_0x5a190a[_0x169740(0x19f)](_0x5a54ca({'status$':this[_0x169740(0x39c)][_0x169740(0x318)]()}),this['_injector'])));}},_0x2a5145[_0x10d65d(0x28d)]=_0x4ec781([_0x10f0c8(0x0,_0x197d59[_0x10d65d(0x27e)]),_0x10f0c8(0x1,_0x197d59[_0x10d65d(0x1de)](_0x197d59['Injector'])),_0x10f0c8(0x2,_0x197d59['Inject'](_0x51298c[_0x10d65d(0x43d)])),_0x10f0c8(0x3,_0x5a190a[_0x10d65d(0x1a2)])],_0x2a5145[_0x10d65d(0x28d)]);function _0x5a54ca(_0x91678c){const {status$:_0x38bb4f}=_0x91678c;return function(){const _0x22100d=_0x3b56;return _0x3eda53[_0x22100d(0x204)](_0x11522d,{'status$':_0x38bb4f});};}const _0x2e52dc=_0x197d59['createIdentifier'](_0x10d65d(0x42b));var _0x19925a=Object['getOwnPropertyDescriptor'],_0x427d2d=(_0x30e896,_0x2ac079,_0x24089e,_0x42af30)=>{for(var _0xc4abfa=_0x42af30>0x1?void 0x0:_0x42af30?_0x19925a(_0x2ac079,_0x24089e):_0x2ac079,_0xb246b6=_0x30e896['length']-0x1,_0xb978f6;_0xb246b6>=0x0;_0xb246b6--)(_0xb978f6=_0x30e896[_0xb246b6])&&(_0xc4abfa=_0xb978f6(_0xc4abfa)||_0xc4abfa);return _0xc4abfa;},_0x28c559=(_0x3c305e,_0x3173d3)=>(_0x43d7d6,_0x1c6aad)=>_0x3173d3(_0x43d7d6,_0x1c6aad,_0x3c305e);_0x2a5145[_0x10d65d(0x3cb)]=class extends _0x197d59['RxDisposable']{constructor(_0x7d9e2c,_0x2b1510,_0x4386b5,_0x52cf55,_0x4a1a9d){const _0x2271cf=_0x10d65d;super(),this[_0x2271cf(0x266)]=_0x7d9e2c,this['_logService']=_0x2b1510,this[_0x2271cf(0x456)]=_0x4386b5,this[_0x2271cf(0x30e)]=_0x52cf55,_0x4a1a9d?_0x4a1a9d==null||_0x4a1a9d[_0x2271cf(0x185)]()[_0x2271cf(0x18c)](()=>this[_0x2271cf(0x36d)]()):(this[_0x2271cf(0x434)][_0x2271cf(0x362)](_0x2271cf(0x21a),_0x2271cf(0x259)),this[_0x2271cf(0x36d)]());}async[_0x10d65d(0x36d)](){const _0x5db7b0=_0x10d65d,_0x33e5f3=this[_0x5db7b0(0x266)][_0x5db7b0(0x426)](_0x5db7b0(0x39b)),_0x585a35=this['_urlService'][_0x5db7b0(0x426)](_0x5db7b0(0x44f)),_0x567ce5=this[_0x5db7b0(0x266)][_0x5db7b0(0x426)]('subunit');if(!_0x33e5f3||!_0x585a35){this[_0x5db7b0(0x434)][_0x5db7b0(0x362)](_0x5db7b0(0x21a),_0x5db7b0(0x389));return;}const _0x1368ec=await this['_dataLoaderService'][_0x5db7b0(0x263)](_0x33e5f3,Number(_0x585a35),_0x567ce5);_0x1368ec&&_0x1368ec instanceof _0x197d59[_0x5db7b0(0x358)]&&this[_0x5db7b0(0x427)](_0x1368ec);}async['_setupSubUnitSync'](_0x3d6fe2){const _0x27d282=_0x10d65d;await this[_0x27d282(0x26d)](_0x3d6fe2),_0x3d6fe2[_0x27d282(0x304)][_0x27d282(0x2be)](_0x22ea33[_0x27d282(0x41f)](this[_0x27d282(0x29c)]))['subscribe'](_0x15fd0c=>{_0x15fd0c&&this['_updateURLWithCurrentState'](_0x15fd0c);}),this['_urlService'][_0x27d282(0x3fc)][_0x27d282(0x2be)](_0x22ea33[_0x27d282(0x41f)](this[_0x27d282(0x29c)]))['subscribe'](()=>this[_0x27d282(0x26d)](_0x3d6fe2));}[_0x10d65d(0x402)](_0xddd1c8,_0x3368b6=!0x1){const _0x4cd9a7=_0x10d65d,_0x42a2f7=this['_urlService'][_0x4cd9a7(0x426)](_0x4cd9a7(0x3b9));_0xddd1c8[_0x4cd9a7(0x262)]()!==_0x42a2f7&&this[_0x4cd9a7(0x266)][_0x4cd9a7(0x42e)]('subunit',_0xddd1c8[_0x4cd9a7(0x262)](),_0x3368b6);}async['_updateSubUnitFromURLParams'](_0x37b8c2){const _0x1f5498=_0x10d65d;var _0x485b41;const _0x3768a0=this[_0x1f5498(0x266)][_0x1f5498(0x426)](_0x1f5498(0x3b9));if(!_0x3768a0||!_0x37b8c2[_0x1f5498(0x207)](_0x3768a0)){const _0x10a2a8=_0x37b8c2[_0x1f5498(0x23f)]()[0x0],_0x26065c=_0x37b8c2[_0x1f5498(0x207)](_0x10a2a8);if(!_0x26065c)return;this[_0x1f5498(0x402)](_0x26065c,!0x0),await this[_0x1f5498(0x456)]['executeCommand'](_0x40ce40['SetWorksheetActivateCommand']['id'],{'unitId':_0x37b8c2['getUnitId'](),'subUnitId':_0x10a2a8});return;}((_0x485b41=_0x37b8c2['getActiveSheet']())==null?void 0x0:_0x485b41['getSheetId']())!==_0x3768a0&&await this[_0x1f5498(0x456)]['executeCommand'](_0x40ce40[_0x1f5498(0x1a4)]['id'],{'unitId':_0x37b8c2['getUnitId'](),'subUnitId':_0x3768a0});}},_0x2a5145[_0x10d65d(0x3cb)]=_0x427d2d([_0x28c559(0x0,_0x2e52dc),_0x28c559(0x1,_0x197d59[_0x10d65d(0x439)]),_0x28c559(0x2,_0x197d59['ICommandService']),_0x28c559(0x3,_0x197d59[_0x10d65d(0x1de)](_0x51298c['DataLoaderService'])),_0x28c559(0x4,_0x197d59[_0x10d65d(0x18a)](_0x347808[_0x10d65d(0x3ea)]))],_0x2a5145[_0x10d65d(0x3cb)]);var _0x34209b=Object[_0x10d65d(0x17f)],_0x6e5dac=(_0x57c3e6,_0x3aef83,_0x381d70,_0x222dbe)=>{const _0x90003a=_0x10d65d;for(var _0x216bdd=_0x222dbe>0x1?void 0x0:_0x222dbe?_0x34209b(_0x3aef83,_0x381d70):_0x3aef83,_0x576531=_0x57c3e6[_0x90003a(0x344)]-0x1,_0x3a2bb2;_0x576531>=0x0;_0x576531--)(_0x3a2bb2=_0x57c3e6[_0x576531])&&(_0x216bdd=_0x3a2bb2(_0x216bdd)||_0x216bdd);return _0x216bdd;},_0xa5986b=(_0x3dccdb,_0x158eff)=>(_0x57db2a,_0x347dcd)=>_0x158eff(_0x57db2a,_0x347dcd,_0x3dccdb);let _0x3aba9a=class extends _0x197d59[_0x10d65d(0x410)]{constructor(_0x5e0f86,_0x1ca945){const _0x3ea78c=_0x10d65d;super(),this[_0x3ea78c(0x233)]=_0x5e0f86,this[_0x3ea78c(0x2bc)]=_0x1ca945,this[_0x3ea78c(0x36d)]();}[_0x10d65d(0x36d)](){const _0x4adb0c=_0x10d65d,_0x20bc6c=this;this[_0x4adb0c(0x406)](this[_0x4adb0c(0x233)][_0x4adb0c(0x24a)]({'onBeforePasteImage':async _0x2116fc=>{const _0x1436a6=_0x4adb0c,_0x2e1961=await _0x20bc6c[_0x1436a6(0x2bc)][_0x1436a6(0x315)](_0x2116fc);return _0x2e1961?{'source':_0x2e1961['source'],'imageSourceType':_0x2e1961[_0x1436a6(0x349)]}:null;}}));}};_0x3aba9a=_0x6e5dac([_0xa5986b(0x0,_0x3b2259['IDocClipboardService']),_0xa5986b(0x1,_0x30f5ff[_0x10d65d(0x2aa)])],_0x3aba9a);const _0x39b427=[_0x10d65d(0x3ff),_0x10d65d(0x193),_0x10d65d(0x39f),_0x10d65d(0x22f),_0x10d65d(0x295),'yellow.400'];class _0x4bb0e6 extends _0x197d59['Disposable']{constructor(){super(...arguments),_0x3ab141(this,'_assignedColors',new Map()),_0x3ab141(this,'_colorIndex',0x0);}['assignAColorForMemberID'](_0x42b85d){const _0x275c89=_0x10d65d;if(this['_assignedColors'][_0x275c89(0x1da)](_0x42b85d))return this['_assignedColors']['get'](_0x42b85d);const _0x3393d8=_0x39b427[this[_0x275c89(0x3a9)]];return this['_colorIndex']=(this[_0x275c89(0x3a9)]+0x1)%_0x39b427[_0x275c89(0x344)],this['_assignedColors'][_0x275c89(0x3f2)](_0x42b85d,_0x3393d8),_0x3393d8;}}function _0x540517(_0x11bd53){const _0x28680f=_0x10d65d;let _0x541764='';for(const _0x24c95d of _0x11bd53){const {startOffset:_0xb1ce80,endOffset:_0x5f51bc,isActive:_0x58b3c1,rangeType:_0x24b41a,segmentId:_0x29511f,segmentPage:_0x4d26c0}=_0x24c95d;_0x541764[_0x28680f(0x344)]&&(_0x541764+=','),_0x541764+=_0xb1ce80+':'+_0x5f51bc+':'+(_0x58b3c1?'1':'0')+':'+_0x24b41a+':'+_0x29511f+':'+_0x4d26c0;}return _0x541764;}function _0x37f8f2(_0x114e4e){const _0x4e60ea=_0x10d65d,_0x5ad32f=_0x114e4e[_0x4e60ea(0x421)](','),_0xc6ab52=[];for(const _0x189c20 of _0x5ad32f){const [_0x300352,_0x300b7f,_0x357f2a,_0xfd7e81,_0xc52f94,_0x1b4346]=_0x189c20[_0x4e60ea(0x421)](':');_0xc6ab52[_0x4e60ea(0x1e8)]({'startOffset':Number(_0x300352),'endOffset':Number(_0x300b7f),'collapsed':_0x300352===_0x300b7f,'isActive':_0x357f2a==='1','rangeType':_0xfd7e81===_0x197d59['DOC_RANGE_TYPE'][_0x4e60ea(0x361)]?_0x197d59[_0x4e60ea(0x392)][_0x4e60ea(0x361)]:_0x197d59['DOC_RANGE_TYPE']['RECT'],'segmentId':typeof _0xc52f94==_0x4e60ea(0x3f1)?String(_0xc52f94):'','segmentPage':Number(_0x1b4346!=null?_0x1b4346:-0x1)});}return _0xc6ab52[_0x4e60ea(0x3ca)](_0x106c11=>_0x106c11[_0x4e60ea(0x419)])||(_0xc6ab52[0x0][_0x4e60ea(0x419)]=!0x0),_0xc6ab52;}class _0x590b29 extends _0x197d59[_0x10d65d(0x410)]{constructor(){const _0x1d9d5e=_0x10d65d;super(...arguments),_0x3ab141(this,_0x1d9d5e(0x407),new _0x22ea33[(_0x1d9d5e(0x3e8))](null)),_0x3ab141(this,_0x1d9d5e(0x2c5),this[_0x1d9d5e(0x407)][_0x1d9d5e(0x318)]());}[_0x10d65d(0x1c5)](_0x48feac){const _0x3e53c6=_0x10d65d,{unitID:_0x80d1b,memberID:_0x445fa5,textRanges:_0x27daa8}=_0x48feac,_0x37171b=_0x540517(_0x27daa8);if(_0x37171b==='')return;const _0x3e1e87={'unitID':_0x80d1b,'memberID':_0x445fa5,'selection':_0x37171b};this[_0x3e53c6(0x407)]['next'](_0x3e1e87);}}var _0x444163=Object['getOwnPropertyDescriptor'],_0x386196=(_0x1bea64,_0x5e5aa0,_0x40c1ff,_0x1df3c2)=>{const _0x35ea89=_0x10d65d;for(var _0x31ed2e=_0x1df3c2>0x1?void 0x0:_0x1df3c2?_0x444163(_0x5e5aa0,_0x40c1ff):_0x5e5aa0,_0x26d485=_0x1bea64[_0x35ea89(0x344)]-0x1,_0x16503c;_0x26d485>=0x0;_0x26d485--)(_0x16503c=_0x1bea64[_0x26d485])&&(_0x31ed2e=_0x16503c(_0x31ed2e)||_0x31ed2e);return _0x31ed2e;},_0x11f49a=(_0x1ff1d4,_0x5a9179)=>(_0x5a0979,_0x52c888)=>_0x5a9179(_0x5a0979,_0x52c888,_0x1ff1d4);const _0x165fb8=0x12c,_0x1ba47a=0x64;let _0x5605f6=class extends _0x197d59[_0x10d65d(0x410)]{constructor(_0x55bac2,_0x533571,_0x2d333e,_0x13d1e6,_0x4cc9ba,_0x52de1b,_0x4d1026,_0xfa4a07,_0x4108e9){const _0x1a5209=_0x10d65d;super(),_0x3ab141(this,_0x1a5209(0x45a),!0x1),_0x3ab141(this,_0x1a5209(0x36d),!0x1),_0x3ab141(this,_0x1a5209(0x412),new _0x22ea33['BehaviorSubject'](new Map())),_0x3ab141(this,_0x1a5209(0x368),this[_0x1a5209(0x412)][_0x1a5209(0x318)]()),_0x3ab141(this,_0x1a5209(0x192),new _0x22ea33[(_0x1a5209(0x3e8))]([])),_0x3ab141(this,'roomMembers$',this[_0x1a5209(0x192)][_0x1a5209(0x2be)](_0x22ea33['debounceTime'](_0x165fb8))),_0x3ab141(this,_0x1a5209(0x1d8),_0x197d59[_0x1a5209(0x2c7)](_0x4e87cc=>{const _0x5a63ad=_0x1a5209,_0x2427ef={'eventID':_0x249f8c['CollaborationEvent']['UPDATE_CURSOR'],'data':{'unitID':this[_0x5a63ad(0x370)],'memberID':this[_0x5a63ad(0x3a4)]['getMemberID'](),'selection':_0x540517(_0x4e87cc)}};this['_session'][_0x5a63ad(0x2fb)](_0x2427ef,this[_0x5a63ad(0x370)]);},_0x1ba47a)),(this[_0x1a5209(0x370)]=_0x55bac2,this[_0x1a5209(0x3a4)]=_0x533571,this[_0x1a5209(0x3a1)]=_0x2d333e,this[_0x1a5209(0x2b9)]=_0x13d1e6,this[_0x1a5209(0x45b)]=_0x4cc9ba,this[_0x1a5209(0x1d9)]=_0x52de1b,this[_0x1a5209(0x2bb)]=_0x4d1026,this[_0x1a5209(0x1fb)]=_0xfa4a07,this[_0x1a5209(0x456)]=_0x4108e9);}get[_0x10d65d(0x3fd)](){const _0x1a9bfc=_0x10d65d;return this[_0x1a9bfc(0x412)]['getValue']();}get[_0x10d65d(0x1ef)](){const _0x223e74=_0x10d65d;return this[_0x223e74(0x192)]['getValue']();}[_0x10d65d(0x195)](){const _0xba972b=_0x10d65d;super['dispose'](),this[_0xba972b(0x412)][_0xba972b(0x2a6)](new Map()),this[_0xba972b(0x412)][_0xba972b(0x219)](),this[_0xba972b(0x192)][_0xba972b(0x2a6)]([]),this[_0xba972b(0x192)]['complete']();}['init'](){const _0x4e9799=_0x10d65d;this[_0x4e9799(0x36d)]||(this[_0x4e9799(0x36d)]=!0x0,this[_0x4e9799(0x3a4)][_0x4e9799(0x3ba)][_0x4e9799(0x2be)](_0x22ea33[_0x4e9799(0x41f)](this[_0x4e9799(0x29c)]))['subscribe'](_0x53a0a0=>{const _0x49ffad=_0x4e9799;_0x53a0a0===_0x51298c[_0x49ffad(0x2ed)][_0x49ffad(0x2db)]?this[_0x49ffad(0x288)]():this['_toggleOffline']();}),this['_session'][_0x4e9799(0x24c)]['pipe'](_0x22ea33[_0x4e9799(0x41f)](this[_0x4e9799(0x29c)]))[_0x4e9799(0x38e)](_0xf69c12=>{const _0x5ba1ea=_0x4e9799,_0x344b26=_0xf69c12[_0x5ba1ea(0x352)];_0x344b26===_0x249f8c[_0x5ba1ea(0x2bd)]['UPDATE_CURSOR']&&this['_onCursorUpdate'](_0xf69c12),_0x344b26===_0x249f8c[_0x5ba1ea(0x2bd)][_0x5ba1ea(0x280)]&&this['_onCursorDelete'](_0xf69c12);}),this[_0x4e9799(0x406)](this[_0x4e9799(0x456)]['onCommandExecuted'](_0x324ef3=>{const _0x230327=_0x4e9799,_0x273209=_0x324ef3['params'];_0x273209!=null&&this[_0x230327(0x45a)]&&_0x324ef3['id']===_0xa4499d[_0x230327(0x3f7)]['id']&&_0x273209[_0x230327(0x3cc)]===this[_0x230327(0x370)]&&_0x273209[_0x230327(0x3fb)]===!0x1&&_0x273209[_0x230327(0x403)][_0x230327(0x344)]>0x0&&this[_0x230327(0x1d8)](_0x273209[_0x230327(0x403)]);})),this[_0x4e9799(0x1d9)][_0x4e9799(0x2c5)][_0x4e9799(0x2be)](_0x22ea33['takeUntil'](this['dispose$']))[_0x4e9799(0x38e)](_0x50462d=>{const _0x39c14b=_0x4e9799;if((_0x50462d==null?void 0x0:_0x50462d[_0x39c14b(0x370)])!==this[_0x39c14b(0x370)])return;const _0x19b844={'eventID':_0x249f8c[_0x39c14b(0x2bd)][_0x39c14b(0x23d)],'data':_0x50462d};this['_onCursorUpdate'](_0x19b844);}),this['disposeWithMe'](this[_0x4e9799(0x456)]['onCommandExecuted'](_0x2d8a9e=>{const _0x3ad5b9=_0x4e9799;if(_0x2d8a9e[_0x3ad5b9(0x380)]==null)return;const _0x3d8b9f=_0x2d8a9e[_0x3ad5b9(0x380)];if(_0x2d8a9e['id']!==_0xa4499d[_0x3ad5b9(0x30a)]['id']||_0x3d8b9f[_0x3ad5b9(0x3cc)]!==this['unitID'])return;const _0x2436ed={'id':_0x3ad5b9(0x3e4),'params':_0x3d8b9f},_0x270950=this['cursorInfo'];for(const [_0x303d32,_0x38b1a2]of _0x270950){const _0x277f9e={'id':_0x3ad5b9(0x3e4),'params':{'unitId':this[_0x3ad5b9(0x370)],'actions':null,'textRanges':_0x38b1a2['ranges']}},_0x43ac56=this[_0x3ad5b9(0x2bb)][_0x3ad5b9(0x2c1)](_0x2436ed,_0x277f9e,!0x1);if(_0x249f8c['isTransformMutationFailure'](_0x43ac56))throw _0x43ac56[_0x3ad5b9(0x357)];_0x270950[_0x3ad5b9(0x3f2)](_0x303d32,{..._0x38b1a2,'ranges':_0x43ac56[_0x3ad5b9(0x3c9)][_0x3ad5b9(0x380)]['textRanges']});}queueMicrotask(()=>{this['_cursorInfo$']['next'](_0x270950);});})));}['_onCursorUpdate'](_0x6e6602){const _0x4083e1=_0x10d65d;var _0x488795,_0x330b14;const {memberID:_0x1da2a8,selection:_0x253f8}=_0x6e6602[_0x4083e1(0x269)],_0x3de4c2=_0x37f8f2(_0x253f8),_0x2cacdc=(_0x330b14=(_0x488795=this[_0x4083e1(0x45b)][_0x4083e1(0x420)](this[_0x4083e1(0x370)],_0x1da2a8))==null?void 0x0:_0x488795[_0x4083e1(0x31d)])!=null?_0x330b14:_0x4083e1(0x20b),_0x38eb04={'color':this['_colorAssignService'][_0x4083e1(0x2f5)](_0x1da2a8),'name':_0x2cacdc,'ranges':_0x3de4c2},_0x615ca1=this[_0x4083e1(0x3fd)];_0x615ca1[_0x4083e1(0x3f2)](_0x1da2a8,_0x38eb04),this['_cursorInfo$']['next'](_0x615ca1);}[_0x10d65d(0x2af)](_0x4fc7cb){const _0x324d5b=_0x10d65d,{memberID:_0x532cf5}=_0x4fc7cb[_0x324d5b(0x269)],_0x95a853=this['cursorInfo'];_0x95a853[_0x324d5b(0x35e)](_0x532cf5),this['_cursorInfo$']['next'](_0x95a853);}[_0x10d65d(0x288)](){const _0x55be21=_0x10d65d;var _0x5542c9;if(this['_online']=!0x0,((_0x5542c9=this[_0x55be21(0x1fb)][_0x55be21(0x3b2)]())==null?void 0x0:_0x5542c9['getUnitId']())!==this[_0x55be21(0x370)])return;const _0x268ce1=this['_injector'][_0x55be21(0x3ec)](_0xa4499d[_0x55be21(0x251)])[_0x55be21(0x43e)]();Array['isArray'](_0x268ce1)&&_0x268ce1[_0x55be21(0x344)]>0x0&&this[_0x55be21(0x1d8)](_0x268ce1);}[_0x10d65d(0x181)](){const _0x47cdcd=_0x10d65d;this[_0x47cdcd(0x45a)]=!0x1;}};_0x5605f6=_0x386196([_0x11f49a(0x2,_0x197d59[_0x10d65d(0x1de)](_0x197d59[_0x10d65d(0x270)])),_0x11f49a(0x3,_0x197d59['Inject'](_0x4bb0e6)),_0x11f49a(0x4,_0x197d59['Inject'](_0x51298c[_0x10d65d(0x2d4)])),_0x11f49a(0x5,_0x197d59[_0x10d65d(0x1de)](_0x590b29)),_0x11f49a(0x6,_0x249f8c[_0x10d65d(0x311)]),_0x11f49a(0x7,_0x197d59[_0x10d65d(0x27e)]),_0x11f49a(0x8,_0x197d59['ICommandService'])],_0x5605f6);var _0x352a56=Object[_0x10d65d(0x17f)],_0x1628be=(_0x39ad12,_0x5359c9,_0x2e2259,_0x48e7d9)=>{const _0xd0868e=_0x10d65d;for(var _0x32dad2=_0x48e7d9>0x1?void 0x0:_0x48e7d9?_0x352a56(_0x5359c9,_0x2e2259):_0x5359c9,_0x25b47b=_0x39ad12[_0xd0868e(0x344)]-0x1,_0x12eef5;_0x25b47b>=0x0;_0x25b47b--)(_0x12eef5=_0x39ad12[_0x25b47b])&&(_0x32dad2=_0x12eef5(_0x32dad2)||_0x32dad2);return _0x32dad2;},_0x32149e=(_0x3eb186,_0x229e7d)=>(_0x3a2c45,_0x138bc5)=>_0x229e7d(_0x3a2c45,_0x138bc5,_0x3eb186);const _0x17a9e0=0x12c,_0x2a83ca=0x64,_0x2d1971=()=>{let _0x21503b=[],_0x152d6b=!0x1;return _0x4a23e9=>{const _0x22ae90=_0x3b56;_0x21503b[_0x22ae90(0x1e8)](_0x4a23e9),_0x152d6b||(_0x152d6b=!0x0,setTimeout(()=>{_0x21503b['forEach'](_0x1ba998=>_0x1ba998()),_0x21503b=[],_0x152d6b=!0x1;}));};};let _0x26b776=class extends _0x197d59[_0x10d65d(0x410)]{constructor(_0x3fd26f,_0x464fc8,_0x4d03a0,_0x4db353,_0x17172e,_0x5cdfd6,_0x4e4c98,_0xcec36f){const _0x5eb440=_0x10d65d;super(),_0x3ab141(this,_0x5eb440(0x45a),!0x1),_0x3ab141(this,_0x5eb440(0x36d),!0x1),_0x3ab141(this,'_cursorInfo$',new _0x22ea33[(_0x5eb440(0x3e8))](new Map())),_0x3ab141(this,_0x5eb440(0x368),this['_cursorInfo$'][_0x5eb440(0x318)]()),_0x3ab141(this,_0x5eb440(0x192),new _0x22ea33['BehaviorSubject']([])),_0x3ab141(this,'roomMembers$',this[_0x5eb440(0x192)][_0x5eb440(0x2be)](_0x22ea33[_0x5eb440(0x3d1)](_0x17a9e0))),_0x3ab141(this,_0x5eb440(0x1d8),_0x197d59[_0x5eb440(0x2c7)]((_0x527f9e,_0x21a589)=>{const _0x59d287=_0x5eb440,_0x5ace74={'eventID':_0x249f8c[_0x59d287(0x2bd)][_0x59d287(0x23d)],'data':{'unitID':this['unitID'],'memberID':this[_0x59d287(0x3a4)][_0x59d287(0x3be)](),'selection':_0x1a5e73['serializeRangeWithSheet'](_0x527f9e,_0x21a589['range'])}};this[_0x59d287(0x3a4)][_0x59d287(0x2fb)](_0x5ace74,this['unitID']);},_0x2a83ca)),(this['unitID']=_0x3fd26f,this[_0x5eb440(0x3a4)]=_0x464fc8,this[_0x5eb440(0x3a1)]=_0x4d03a0,this[_0x5eb440(0x2b9)]=_0x4db353,this['_memberService']=_0x17172e,this['_univerInstanceService']=_0x5cdfd6,this[_0x5eb440(0x456)]=_0x4e4c98,this[_0x5eb440(0x291)]=_0xcec36f);}get[_0x10d65d(0x3fd)](){const _0x3e2002=_0x10d65d;return this['_cursorInfo$'][_0x3e2002(0x215)]();}get[_0x10d65d(0x1ef)](){const _0x5e90a8=_0x10d65d;return this['_roomMembers$'][_0x5e90a8(0x215)]();}[_0x10d65d(0x195)](){const _0x3f9ab2=_0x10d65d;super[_0x3f9ab2(0x195)](),this[_0x3f9ab2(0x412)][_0x3f9ab2(0x2a6)](new Map()),this[_0x3f9ab2(0x412)][_0x3f9ab2(0x219)](),this[_0x3f9ab2(0x192)][_0x3f9ab2(0x2a6)]([]),this[_0x3f9ab2(0x192)][_0x3f9ab2(0x219)]();}[_0x10d65d(0x374)](){const _0x3369bf=_0x10d65d;this[_0x3369bf(0x36d)]||(this[_0x3369bf(0x36d)]=!0x0,this['_session'][_0x3369bf(0x3ba)][_0x3369bf(0x2be)](_0x22ea33[_0x3369bf(0x41f)](this[_0x3369bf(0x29c)]))[_0x3369bf(0x38e)](_0x451cff=>{const _0x53e5bf=_0x3369bf;_0x451cff===_0x51298c[_0x53e5bf(0x2ed)]['ONLINE']?this['_toggleOnline']():this[_0x53e5bf(0x181)]();}),this['_session']['event$'][_0x3369bf(0x2be)](_0x22ea33[_0x3369bf(0x41f)](this[_0x3369bf(0x29c)]))[_0x3369bf(0x38e)](_0x406a5f=>{const _0x130832=_0x3369bf,_0x587914=_0x406a5f[_0x130832(0x352)];_0x587914===_0x249f8c['CollaborationEvent'][_0x130832(0x23d)]&&this[_0x130832(0x218)](_0x406a5f),_0x587914===_0x249f8c['CollaborationEvent'][_0x130832(0x280)]&&this[_0x130832(0x2af)](_0x406a5f);}),this['_onRefRangeChange'](),this['disposeWithMe'](this['_commandService'][_0x3369bf(0x1e6)](_0xdf0035=>{const _0x74b8c1=_0x3369bf;if(this[_0x74b8c1(0x45a)]&&_0xdf0035['id']===_0x40ce40[_0x74b8c1(0x260)]['id']&&_0xdf0035[_0x74b8c1(0x380)][_0x74b8c1(0x3cc)]===this[_0x74b8c1(0x370)]){const _0x28d093=_0xdf0035[_0x74b8c1(0x380)];this['_updateLocalCursor'](_0x28d093[_0x74b8c1(0x3a6)],_0x28d093[_0x74b8c1(0x2de)][0x0]);}})));}[_0x10d65d(0x218)](_0x14dcd6){const _0x180fb7=_0x10d65d;var _0x1f387c,_0x397521;const {memberID:_0x17a0a3,selection:_0x6e22bc}=_0x14dcd6[_0x180fb7(0x269)],{sheetName:_0x452bdd,range:_0x43b2f9}=_0x1a5e73[_0x180fb7(0x3b6)](_0x6e22bc),_0x58c63d={'name':(_0x397521=(_0x1f387c=this[_0x180fb7(0x45b)][_0x180fb7(0x420)](this[_0x180fb7(0x370)],_0x17a0a3))==null?void 0x0:_0x1f387c['name'])!=null?_0x397521:'Unknown\x20user','range':this['_getMergeRange'](_0x452bdd,_0x43b2f9),'sheetID':_0x452bdd,'color':this[_0x180fb7(0x2b9)][_0x180fb7(0x2f5)](_0x17a0a3),'selection':_0x6e22bc},_0x4b53a1=this[_0x180fb7(0x3fd)];_0x4b53a1[_0x180fb7(0x3f2)](_0x17a0a3,_0x58c63d),this['_cursorInfo$'][_0x180fb7(0x2a6)](_0x4b53a1);}[_0x10d65d(0x2af)](_0x1914c7){const _0x14800f=_0x10d65d,{memberID:_0x4aa75e}=_0x1914c7[_0x14800f(0x269)],_0x158484=this[_0x14800f(0x3fd)];_0x158484[_0x14800f(0x35e)](_0x4aa75e),this[_0x14800f(0x412)][_0x14800f(0x2a6)](_0x158484);}['_getMergeRange'](_0x4eecb7,_0x45b2f5){const _0x5a8414=_0x10d65d;var _0x58a402,_0x51a945;const _0x2950ea=(_0x51a945=(_0x58a402=this[_0x5a8414(0x1fb)][_0x5a8414(0x346)](this[_0x5a8414(0x370)]))==null?void 0x0:_0x58a402['getSheetBySheetId'](_0x4eecb7))==null?void 0x0:_0x51a945[_0x5a8414(0x1b7)]();return(_0x2950ea==null?void 0x0:_0x2950ea['find'](_0x54c21e=>_0x197d59[_0x5a8414(0x36c)]['contains'](_0x54c21e,_0x45b2f5)))||_0x45b2f5;}[_0x10d65d(0x2f1)](){const _0x41e88c=_0x10d65d,_0x22ac00=new _0x197d59[(_0x41e88c(0x41b))](),_0x15a1a8=_0x2d1971(),_0x31e415=()=>{const _0x3d17e7=_0x41e88c;_0x22ac00[_0x3d17e7(0x195)]();const _0x52990e=(_0x126d34,_0x36b951,_0x541f2c,_0x43308a)=>{const _0x13e1bd=_0x3d17e7;let _0x235061=[];switch(_0x126d34['id']){case _0x40ce40['EffectRefRangId']['DeleteRangeMoveLeftCommandId']:{_0x235061=_0x40ce40['handleDeleteRangeMoveLeft'](_0x126d34,_0x43308a);break;}case _0x40ce40['EffectRefRangId'][_0x13e1bd(0x2b0)]:{_0x235061=_0x40ce40[_0x13e1bd(0x188)](_0x126d34,_0x43308a);break;}case _0x40ce40[_0x13e1bd(0x32b)][_0x13e1bd(0x231)]:{_0x235061=_0x40ce40[_0x13e1bd(0x3d2)](_0x126d34,_0x43308a);break;}case _0x40ce40[_0x13e1bd(0x32b)][_0x13e1bd(0x1ac)]:{_0x235061=_0x40ce40[_0x13e1bd(0x1f2)](_0x126d34,_0x43308a);break;}case _0x40ce40[_0x13e1bd(0x32b)][_0x13e1bd(0x209)]:{_0x235061=_0x40ce40['handleInsertRangeMoveRight'](_0x126d34,_0x43308a);break;}case _0x40ce40[_0x13e1bd(0x32b)][_0x13e1bd(0x191)]:{_0x235061=_0x40ce40[_0x13e1bd(0x2fa)](_0x126d34,_0x43308a);break;}case _0x40ce40[_0x13e1bd(0x32b)][_0x13e1bd(0x3d4)]:{_0x235061=_0x40ce40[_0x13e1bd(0x325)](_0x126d34,_0x43308a);break;}case _0x40ce40[_0x13e1bd(0x32b)][_0x13e1bd(0x1c2)]:{_0x235061=_0x40ce40[_0x13e1bd(0x18f)](_0x126d34,_0x43308a);break;}case _0x40ce40[_0x13e1bd(0x32b)][_0x13e1bd(0x228)]:{_0x235061=_0x40ce40[_0x13e1bd(0x43c)](_0x126d34,_0x43308a);break;}}const _0x4f254e=_0x40ce40[_0x13e1bd(0x45d)](_0x235061,_0x43308a),_0x32d4ba=this[_0x13e1bd(0x3fd)][_0x13e1bd(0x3ec)](_0x36b951);if(_0x32d4ba&&_0x4f254e){const _0x53481e={..._0x32d4ba,'range':_0x4f254e};this['cursorInfo']['set'](_0x36b951,_0x53481e),_0x15a1a8(()=>{const _0x3afb10=_0x13e1bd,_0x5899ba=this['_refRangeService'][_0x3afb10(0x425)](_0x4f254e,_0x2cfd80=>(_0x5899ba[_0x3afb10(0x195)](),_0x52990e(_0x2cfd80,_0x36b951,_0x541f2c,_0x4f254e)));_0x22ac00[_0x3afb10(0x2ce)](_0x5899ba);});}return{'redos':[],'undos':[]};};this[_0x3d17e7(0x3fd)][_0x3d17e7(0x206)]((_0x1b741f,_0x4caf72)=>{const _0x410d70=_0x3d17e7,{range:_0x77e59,sheetID:_0x4285a0}=_0x1b741f,_0x7c75bf=this[_0x410d70(0x291)][_0x410d70(0x425)](_0x77e59,_0x3de2e2=>(_0x7c75bf[_0x410d70(0x195)](),_0x52990e(_0x3de2e2,_0x4caf72,_0x4285a0,_0x77e59)));_0x22ac00[_0x410d70(0x2ce)](_0x7c75bf);});};this[_0x41e88c(0x406)](_0x197d59['toDisposable'](this[_0x41e88c(0x412)]['subscribe'](()=>{_0x31e415();})));}[_0x10d65d(0x288)](){const _0x256327=_0x10d65d;var _0x4adca1,_0x31070a;if(this['_online']=!0x0,((_0x4adca1=this[_0x256327(0x1fb)][_0x256327(0x3b2)]())==null?void 0x0:_0x4adca1[_0x256327(0x2ca)]())!==this['unitID'])return;const _0x478f20=(_0x31070a=this[_0x256327(0x3a1)][_0x256327(0x3ec)](_0x40ce40[_0x256327(0x1e9)])[_0x256327(0x26c)]())==null?void 0x0:_0x31070a[0x0],_0x3a502a=this[_0x256327(0x1fb)]['getCurrentUnitForType'](_0x197d59[_0x256327(0x36e)][_0x256327(0x3b8)])[_0x256327(0x1fa)]();_0x478f20&&_0x3a502a&&this[_0x256327(0x1d8)](_0x3a502a[_0x256327(0x262)](),_0x478f20);}[_0x10d65d(0x181)](){const _0x4da7a6=_0x10d65d;this[_0x4da7a6(0x45a)]=!0x1;}};_0x26b776=_0x1628be([_0x32149e(0x2,_0x197d59[_0x10d65d(0x1de)](_0x197d59['Injector'])),_0x32149e(0x3,_0x197d59[_0x10d65d(0x1de)](_0x4bb0e6)),_0x32149e(0x4,_0x197d59[_0x10d65d(0x1de)](_0x51298c[_0x10d65d(0x2d4)])),_0x32149e(0x5,_0x197d59[_0x10d65d(0x27e)]),_0x32149e(0x6,_0x197d59[_0x10d65d(0x34a)]),_0x32149e(0x7,_0x197d59[_0x10d65d(0x1de)](_0x40ce40[_0x10d65d(0x332)]))],_0x26b776);var _0x195ba8=Object[_0x10d65d(0x17f)],_0x3c36da=(_0x45eb3e,_0x3553d2,_0xf8ad81,_0x54b6dc)=>{const _0x512680=_0x10d65d;for(var _0x1304af=_0x54b6dc>0x1?void 0x0:_0x54b6dc?_0x195ba8(_0x3553d2,_0xf8ad81):_0x3553d2,_0x337faf=_0x45eb3e[_0x512680(0x344)]-0x1,_0x42034b;_0x337faf>=0x0;_0x337faf--)(_0x42034b=_0x45eb3e[_0x337faf])&&(_0x1304af=_0x42034b(_0x1304af)||_0x1304af);return _0x1304af;},_0x54c7b7=(_0x12397f,_0x3b4d06)=>(_0x3a20b5,_0x89b8f3)=>_0x3b4d06(_0x3a20b5,_0x89b8f3,_0x12397f);let _0x440f4b=class extends _0x197d59['RxDisposable']{constructor(_0x4b5fef,_0x4a9d9b,_0x318abc){const _0xd1de35=_0x10d65d;super(),_0x3ab141(this,'_entities',new Map()),_0x3ab141(this,_0xd1de35(0x289),new _0x22ea33[(_0xd1de35(0x41e))]()),(this[_0xd1de35(0x1fb)]=_0x4b5fef,this[_0xd1de35(0x3a1)]=_0x4a9d9b,this[_0xd1de35(0x351)]=_0x318abc,this[_0xd1de35(0x36d)]());}[_0x10d65d(0x195)](){const _0x19e53=_0x10d65d;super['dispose'](),this[_0x19e53(0x289)]['complete'](),this[_0x19e53(0x1aa)][_0x19e53(0x206)](_0x48d829=>_0x48d829[_0x19e53(0x195)]());}[_0x10d65d(0x20e)](_0x336ad5){const _0x5943ab=_0x10d65d;return this[_0x5943ab(0x1aa)][_0x5943ab(0x1da)](_0x336ad5)?this['_entities'][_0x5943ab(0x3ec)](_0x336ad5)[_0x5943ab(0x368)]:this[_0x5943ab(0x289)]['pipe'](_0x22ea33[_0x5943ab(0x442)](_0x4a0c66=>_0x4a0c66[_0x5943ab(0x370)]===_0x336ad5),_0x22ea33[_0x5943ab(0x3d9)](_0x162b68=>_0x162b68[_0x5943ab(0x368)]));}[_0x10d65d(0x36d)](){const _0x1e0690=_0x10d65d;this[_0x1e0690(0x1fb)][_0x1e0690(0x2dd)](_0x197d59[_0x1e0690(0x36e)][_0x1e0690(0x3b8)])[_0x1e0690(0x2be)](_0x22ea33[_0x1e0690(0x41f)](this['dispose$']))[_0x1e0690(0x38e)](async _0x4dbd93=>{const _0x47744f=_0x1e0690,_0x235021=_0x4dbd93[_0x47744f(0x2ca)](),_0x1dde02=await this['_startSheetCollabCursor'](_0x235021);this[_0x47744f(0x289)][_0x47744f(0x2a6)](_0x1dde02),this[_0x47744f(0x1aa)][_0x47744f(0x3f2)](_0x235021,_0x1dde02);}),this['_univerInstanceService'][_0x1e0690(0x2dd)](_0x197d59[_0x1e0690(0x36e)]['UNIVER_DOC'])[_0x1e0690(0x2be)](_0x22ea33[_0x1e0690(0x41f)](this['dispose$']))['pipe'](_0x22ea33[_0x1e0690(0x442)](_0x934a6f=>!_0x934a6f[_0x1e0690(0x2ca)]()[_0x1e0690(0x1e5)]('__')))[_0x1e0690(0x38e)](async _0x6a6718=>{const _0x9ecc44=_0x1e0690,_0x27e68c=_0x6a6718[_0x9ecc44(0x2ca)](),_0x7d58d3=await this[_0x9ecc44(0x37c)](_0x27e68c);this['_entityInit$'][_0x9ecc44(0x2a6)](_0x7d58d3),this[_0x9ecc44(0x1aa)][_0x9ecc44(0x3f2)](_0x27e68c,_0x7d58d3);}),_0x22ea33[_0x1e0690(0x339)](this[_0x1e0690(0x1fb)][_0x1e0690(0x322)](_0x197d59[_0x1e0690(0x36e)][_0x1e0690(0x369)]),this[_0x1e0690(0x1fb)][_0x1e0690(0x322)](_0x197d59[_0x1e0690(0x36e)]['UNIVER_SHEET']))['pipe'](_0x22ea33['takeUntil'](this[_0x1e0690(0x29c)]))['subscribe'](_0x53cb62=>{const _0x1f65b4=_0x1e0690,_0x23920e=_0x53cb62[_0x1f65b4(0x2ca)](),_0x3d6bbe=this['_entities']['get'](_0x23920e);_0x3d6bbe&&(_0x3d6bbe[_0x1f65b4(0x195)](),this[_0x1f65b4(0x1aa)]['delete'](_0x23920e));});}async[_0x10d65d(0x397)](_0x4f32d6){const _0x24a0ca=_0x10d65d,_0x520c7f=await this[_0x24a0ca(0x351)][_0x24a0ca(0x33c)](_0x4f32d6),_0x3d3cdd=this[_0x24a0ca(0x3a1)]['createInstance'](_0x26b776,_0x4f32d6,_0x520c7f);return _0x3d3cdd['init'](),_0x3d3cdd;}async[_0x10d65d(0x37c)](_0x3214e4){const _0x1fa2eb=_0x10d65d,_0x22bd5f=await this['_collabSessionService']['requireSession'](_0x3214e4),_0x1a3987=this[_0x1fa2eb(0x3a1)][_0x1fa2eb(0x27d)](_0x5605f6,_0x3214e4,_0x22bd5f);return _0x1a3987[_0x1fa2eb(0x374)](),_0x1a3987;}};_0x440f4b=_0x3c36da([_0x54c7b7(0x0,_0x197d59[_0x10d65d(0x27e)]),_0x54c7b7(0x1,_0x197d59[_0x10d65d(0x1de)](_0x197d59[_0x10d65d(0x270)])),_0x54c7b7(0x2,_0x197d59[_0x10d65d(0x1de)](_0x51298c['CollaborationSessionService']))],_0x440f4b);const _0x546239=0x14,_0x26b5bb=0xc8,_0x3b09bc=0x4,_0x60d79f=0x5;function _0x1a36b9(_0x47f3a8,_0x1133d){const _0x3ef44f=_0x10d65d;let {radius:_0x477353,width:_0x11227b,height:_0x5e7579}=_0x1133d;_0x477353=_0x477353!=null?_0x477353:0x0,_0x11227b=_0x11227b!=null?_0x11227b:0x1e,_0x5e7579=_0x5e7579!=null?_0x5e7579:0x1e;let _0x54339e=0x0,_0xcd7935=0x0,_0x3ea55d=0x0;_0x54339e=_0xcd7935=_0x3ea55d=Math[_0x3ef44f(0x447)](_0x477353,_0x11227b/0x2,_0x5e7579/0x2),_0x47f3a8['beginPath'](),_0x47f3a8[_0x3ef44f(0x217)](_0x54339e,0x0),_0x47f3a8['lineTo'](_0x11227b-_0xcd7935,0x0),_0x47f3a8[_0x3ef44f(0x2d0)](_0x11227b-_0xcd7935,_0xcd7935,_0xcd7935,Math['PI']*0x3/0x2,0x0,!0x1),_0x47f3a8[_0x3ef44f(0x1b3)](_0x11227b,_0x5e7579-_0x3ea55d),_0x47f3a8['arc'](_0x11227b-_0x3ea55d,_0x5e7579-_0x3ea55d,_0x3ea55d,0x0,Math['PI']/0x2,!0x1),_0x47f3a8[_0x3ef44f(0x1b3)](0x0,_0x5e7579),_0x47f3a8['lineTo'](0x0,_0x54339e),_0x47f3a8[_0x3ef44f(0x2d0)](_0x54339e,_0x54339e,_0x54339e,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x47f3a8[_0x3ef44f(0x1eb)](),_0x1133d[_0x3ef44f(0x1f3)]&&(_0x47f3a8[_0x3ef44f(0x19a)](),_0x47f3a8['fillStyle']=_0x1133d['fill'],_0x1133d[_0x3ef44f(0x2ea)]===_0x3ef44f(0x2cb)?_0x47f3a8[_0x3ef44f(0x1f3)](_0x3ef44f(0x2cb)):_0x47f3a8['fill'](),_0x47f3a8[_0x3ef44f(0x22b)]());}class _0x3e249c extends _0x4ef8d4[_0x10d65d(0x3b7)]{constructor(_0x115d0c,_0x3b9036){const _0x3dc0ed=_0x10d65d;super(_0x115d0c,_0x3b9036),_0x3ab141(this,_0x3dc0ed(0x45c)),_0x3ab141(this,_0x3dc0ed(0x353)),(this[_0x3dc0ed(0x45c)]=_0x3b9036==null?void 0x0:_0x3b9036[_0x3dc0ed(0x45c)],this[_0x3dc0ed(0x353)]=_0x3b9036==null?void 0x0:_0x3b9036[_0x3dc0ed(0x353)]);}static[_0x10d65d(0x2d1)](_0xb54fe1,_0x9e7862){const _0x5e015e=_0x10d65d,{text:_0x2d3cd0,color:_0x2eb8e0}=_0x9e7862;_0xb54fe1[_0x5e015e(0x19a)](),_0xb54fe1[_0x5e015e(0x44d)]='bold\x2013px\x20Source\x20Han\x20Sans\x20CN';const _0x2043af=_0xb54fe1['measureText'](_0x2d3cd0)['width'],_0x343e9a=Math['min'](_0x2043af+0x2*_0x3b09bc,_0x26b5bb);_0x1a36b9(_0xb54fe1,{'height':_0x546239,'radius':0x4,'width':_0x343e9a,'fill':_0x2eb8e0}),_0xb54fe1[_0x5e015e(0x1f8)]='#FFF';const _0x3c893d=_0x3b09bc,_0x31ea9a=_0x546239-_0x60d79f,_0x2db560=_0x26b5bb-0x2*_0x3b09bc;if(_0x2043af>_0x2db560){let _0x472fe9='',_0x4455ca=0x0;for(const _0x37251c of _0x2d3cd0){const _0x3a80c5=_0xb54fe1[_0x5e015e(0x3b1)](_0x37251c)[_0x5e015e(0x43a)];if(_0x4455ca+_0x3a80c5<=_0x2db560-_0xb54fe1['measureText'](_0x5e015e(0x36f))['width'])_0x472fe9+=_0x37251c,_0x4455ca+=_0x3a80c5;else{_0x472fe9+=_0x5e015e(0x36f);break;}}_0xb54fe1[_0x5e015e(0x443)](_0x472fe9,_0x3c893d,_0x31ea9a);}else _0xb54fe1[_0x5e015e(0x443)](_0x2d3cd0,_0x3c893d,_0x31ea9a);_0xb54fe1[_0x5e015e(0x22b)]();}[_0x10d65d(0x399)](_0x59a8fa){const _0x242cfb=_0x10d65d;_0x3e249c[_0x242cfb(0x2d1)](_0x59a8fa,this);}}const _0x5d3112=_0x10d65d(0x3e9),_0x53e582=_0x10d65d(0x3d5),_0x51868a=_0x10d65d(0x2ad),_0x43c1f8=0x6,_0x545dbd=1.5,_0x2c354b=0x4,_0x10dca6=1.5,_0x2d36cf='rgba(255,\x20255,\x20255,\x200.01)';class _0x3edfdd{constructor(_0x1b2e0b,_0x235e5f,_0x51ff23,_0x4ba969){const _0x3fbd7d=_0x10d65d;_0x3ab141(this,'_shapes',[]),_0x3ab141(this,_0x3fbd7d(0x187),null),_0x3ab141(this,_0x3fbd7d(0x424),null),_0x3ab141(this,_0x3fbd7d(0x33f),null),_0x3ab141(this,_0x3fbd7d(0x2e0),null),_0x3ab141(this,_0x3fbd7d(0x330),null),(this[_0x3fbd7d(0x183)]=_0x1b2e0b,this['_scene']=_0x235e5f,this[_0x3fbd7d(0x40e)]=_0x51ff23,this[_0x3fbd7d(0x437)]=_0x4ba969,this[_0x3fbd7d(0x1a5)]());}set['_hover'](_0xa4c595){const _0x36dfd3=_0x10d65d;_0xa4c595?(this['_anchorDot']&&this[_0x36dfd3(0x33f)][_0x36dfd3(0x220)](),this[_0x36dfd3(0x424)]&&this[_0x36dfd3(0x424)][_0x36dfd3(0x400)]()):(this[_0x36dfd3(0x33f)]&&this['_anchorDot'][_0x36dfd3(0x400)](),this['_textBubble']&&this[_0x36dfd3(0x424)][_0x36dfd3(0x220)]());}[_0x10d65d(0x195)](){const _0x2fdfbe=_0x10d65d;for(const _0x47b5a5 of this[_0x2fdfbe(0x208)])_0x47b5a5[_0x2fdfbe(0x195)]();this['_textBubble']&&this[_0x2fdfbe(0x424)][_0x2fdfbe(0x195)](),this[_0x2fdfbe(0x33f)]&&this[_0x2fdfbe(0x33f)][_0x2fdfbe(0x195)](),this[_0x2fdfbe(0x187)]&&this[_0x2fdfbe(0x187)]['dispose'](),this[_0x2fdfbe(0x330)]&&this[_0x2fdfbe(0x330)]();}[_0x10d65d(0x1a5)](){const _0x565408=_0x10d65d;var _0x432438;const {_docSkeleton:_0x44d0f5,_document:_0x2a3ce4}=this,{color:_0x259042,name:_0x1d293c,ranges:_0x1cb959}=this[_0x565408(0x183)],_0x47383c=_0x2a3ce4['getOffsetConfig'](),{docsLeft:_0x50e666,docsTop:_0x2aa016}=_0x47383c,_0x56706b=new _0x3b2259[(_0x565408(0x390))](_0x47383c,_0x44d0f5);for(const {startOffset:_0x3ba537,endOffset:_0x4d7d12,rangeType:_0x1f03b1,segmentId:_0x108aa8,segmentPage:_0x124c8a,collapsed:_0xc8701c,isActive:_0x1a929c}of _0x1cb959){const _0x208b17=_0x44d0f5[_0x565408(0x3c6)](_0x3ba537,!0x0,_0x108aa8,_0x124c8a);let _0x366152=_0x44d0f5[_0x565408(0x3c6)](_0x4d7d12,!0x0,_0x108aa8,_0x124c8a);if(_0x366152==null&&(_0x366152=_0x44d0f5[_0x565408(0x3c6)](_0x4d7d12-0x1,!0x1,_0x108aa8,_0x124c8a)),_0x1a929c){const {contentBoxPointGroup:_0x3d9a75}=_0x56706b[_0x565408(0x277)](_0x366152,_0x366152);if(_0x3d9a75[_0x565408(0x344)]===0x0)continue;this['_drawAnchor'](_0x259042,_0x3d9a75,_0x50e666,_0x2aa016,_0x1d293c),this[_0x565408(0x330)]=this['_handleHover']();}if(_0x208b17&&_0x366152){if(_0x1f03b1===_0x197d59[_0x565408(0x392)][_0x565408(0x446)]){const _0x1db7b8=new _0x3b2259[(_0x565408(0x454))](_0x47383c,_0x44d0f5),{pointGroup:_0x1851c2}=(_0x432438=_0x1db7b8[_0x565408(0x277)](_0x208b17,_0x366152))!=null?_0x432438:{};if(_0x1851c2==null||_0x1851c2['length']===0x0)continue;this[_0x565408(0x3fa)](_0x259042,_0x1851c2,_0x50e666,_0x2aa016);}else{if(!_0xc8701c){const {borderBoxPointGroup:_0x25547f}=_0x56706b[_0x565408(0x277)](_0x208b17,_0x366152);if(_0x25547f[_0x565408(0x344)]===0x0)continue;this[_0x565408(0x18e)](_0x259042,_0x25547f,_0x50e666,_0x2aa016);}}}}}[_0x10d65d(0x1d5)](_0x3d2157,_0x39ea5f,_0x52eba7,_0x2c6343,_0x44b88d){const _0x6d5f9d=_0x10d65d,_0x3c73e0=this[_0x6d5f9d(0x2e4)](_0x39ea5f),{left:_0x1bada9,top:_0x413830,height:_0x3f9873}=_0x3c73e0,_0x4e2296=this[_0x6d5f9d(0x1b8)](),_0x30c61b=_0x10dca6/_0x4e2296,_0x2db6e1=new _0x4ef8d4[(_0x6d5f9d(0x284))](_0x5d3112+_0x197d59[_0x6d5f9d(0x310)](_0x43c1f8),{'left':_0x1bada9+_0x52eba7-_0x30c61b,'top':_0x413830+_0x2c6343,'height':_0x3f9873,'width':_0x545dbd,'fill':_0x3d2157||_0x4ef8d4[_0x6d5f9d(0x1c4)](_0x197d59[_0x6d5f9d(0x42a)][_0x6d5f9d(0x197)],0x0),'strokeWidth':_0x30c61b,'stroke':_0x2d36cf,'evented':!0x0});this[_0x6d5f9d(0x187)]=_0x2db6e1,this[_0x6d5f9d(0x1ad)][_0x6d5f9d(0x19b)](_0x2db6e1,_0x3b2259['TEXT_RANGE_LAYER_INDEX']);const _0x15c4f9=new _0x4ef8d4[(_0x6d5f9d(0x284))](_0x5d3112+_0x197d59[_0x6d5f9d(0x310)](_0x43c1f8),{'left':_0x1bada9+_0x52eba7-_0x30c61b,'top':_0x413830+_0x2c6343-_0x2c354b/0x2,'height':_0x2c354b,'width':_0x2c354b,'fill':_0x3d2157||_0x4ef8d4['getColor'](_0x197d59[_0x6d5f9d(0x42a)][_0x6d5f9d(0x197)],0x0),'strokeWidth':0x0,'stroke':_0x3d2157||_0x4ef8d4[_0x6d5f9d(0x1c4)](_0x197d59[_0x6d5f9d(0x42a)]['black'],0x0),'evented':!0x1});this[_0x6d5f9d(0x33f)]=_0x15c4f9,this['_scene']['addObject'](_0x15c4f9,_0x3b2259[_0x6d5f9d(0x37f)]);const _0x3ca2c2=new _0x3e249c(_0x5d3112+_0x197d59[_0x6d5f9d(0x310)](_0x43c1f8),{'left':_0x1bada9+_0x52eba7-_0x30c61b,'top':_0x413830+_0x2c6343-_0x546239,'text':_0x44b88d,'color':_0x3d2157});this[_0x6d5f9d(0x424)]=_0x3ca2c2,this['_scene'][_0x6d5f9d(0x19b)](_0x3ca2c2,_0x3b2259[_0x6d5f9d(0x37f)]),this[_0x6d5f9d(0x2e1)]=!0x1;}[_0x10d65d(0x22c)](){const _0x13b0c7=_0x10d65d,_0x277eb0=this['_anchor'][_0x13b0c7(0x3db)][_0x13b0c7(0x34f)](()=>{const _0x4b73be=_0x13b0c7;this[_0x4b73be(0x2e1)]=!0x0;}),_0x3c9bc6=this[_0x13b0c7(0x187)]['onPointerLeave$'][_0x13b0c7(0x34f)](()=>{const _0x6a3eeb=_0x13b0c7;this[_0x6a3eeb(0x2e0)]&&clearTimeout(this['_hideTimer']),this[_0x6a3eeb(0x2e0)]=setTimeout(()=>{const _0xa39f82=_0x6a3eeb;this[_0xa39f82(0x2e1)]=!0x1;},0x7d0);});return()=>{const _0x17f691=_0x13b0c7;_0x277eb0[_0x17f691(0x2d7)](),_0x3c9bc6['unsubscribe']();};}['_drawTextRange'](_0x25e527,_0x464f2b,_0x115a9c,_0x95b8d4){const _0x130c90=_0x10d65d,_0x2416c4=new _0x197d59[(_0x130c90(0x1ed))](_0x25e527)[_0x130c90(0x2a5)](0.2)[_0x130c90(0x202)](),_0x3e752a=new _0x4ef8d4[(_0x130c90(0x33e))](_0x53e582+_0x197d59['generateRandomId'](_0x43c1f8),{'pointsGroup':_0x464f2b,'fill':_0x2416c4||_0x4ef8d4['getColor'](_0x197d59[_0x130c90(0x42a)][_0x130c90(0x197)],0.2),'left':_0x115a9c,'top':_0x95b8d4,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x130c90(0x208)][_0x130c90(0x1e8)](_0x3e752a),this[_0x130c90(0x1ad)][_0x130c90(0x19b)](_0x3e752a,_0x3b2259[_0x130c90(0x37f)]);}[_0x10d65d(0x3fa)](_0x4f476a,_0x472c0a,_0x4ff999,_0x3db710){const _0x482a3e=_0x10d65d,_0x37c551=new _0x197d59[(_0x482a3e(0x1ed))](_0x4f476a)['setAlpha'](0.2)[_0x482a3e(0x202)](),_0x44319b=new _0x4ef8d4[(_0x482a3e(0x33e))](_0x51868a+_0x197d59['generateRandomId'](_0x43c1f8),{'pointsGroup':_0x472c0a,'fill':_0x37c551||_0x4ef8d4[_0x482a3e(0x1c4)](_0x197d59[_0x482a3e(0x42a)][_0x482a3e(0x197)],0.2),'left':_0x4ff999,'top':_0x3db710,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x482a3e(0x208)]['push'](_0x44319b),this[_0x482a3e(0x1ad)][_0x482a3e(0x19b)](_0x44319b,_0x3b2259['TEXT_RANGE_LAYER_INDEX']);}[_0x10d65d(0x2e4)](_0x44464e){const _0x444cbd=_0x44464e[0x0],_0x35dc2a=_0x444cbd[0x0],_0x3265ba=_0x444cbd[0x2],{x:_0x69ef20,y:_0x521dad}=_0x35dc2a,{x:_0x438b1d,y:_0xc30b4b}=_0x3265ba;return{'left':_0x69ef20,'top':_0x521dad,'width':_0x438b1d-_0x69ef20,'height':_0xc30b4b-_0x521dad};}[_0x10d65d(0x1b8)](){const _0xb4a091=_0x10d65d,{scaleX:_0x5cbf6b,scaleY:_0x2dd62f}=this[_0xb4a091(0x1ad)][_0xb4a091(0x33d)]();return Math[_0xb4a091(0x451)](_0x5cbf6b,_0x2dd62f);}}var _0x20571f=Object[_0x10d65d(0x17f)],_0x1945bb=(_0x5ac5dc,_0xdff04d,_0x4e0280,_0x47b00e)=>{const _0x526bff=_0x10d65d;for(var _0x5fe83a=_0x47b00e>0x1?void 0x0:_0x47b00e?_0x20571f(_0xdff04d,_0x4e0280):_0xdff04d,_0x4c170a=_0x5ac5dc[_0x526bff(0x344)]-0x1,_0xd27df8;_0x4c170a>=0x0;_0x4c170a--)(_0xd27df8=_0x5ac5dc[_0x4c170a])&&(_0x5fe83a=_0xd27df8(_0x5fe83a)||_0x5fe83a);return _0x5fe83a;},_0x159470=(_0x14d236,_0x1c89de)=>(_0x2d3365,_0x18433f)=>_0x1c89de(_0x2d3365,_0x18433f,_0x14d236);let _0x22d195=class extends _0x197d59[_0x10d65d(0x410)]{constructor(_0x39cd9c,_0x4e5052,_0x4242fc,_0x5b58e4,_0x30dafc){const _0x9e4dbd=_0x10d65d;super(),_0x3ab141(this,_0x9e4dbd(0x2d3),[]),_0x3ab141(this,'_cursors',[]),(this[_0x9e4dbd(0x2c6)]=_0x39cd9c,this[_0x9e4dbd(0x1a6)]=_0x4e5052,this[_0x9e4dbd(0x32e)]=_0x4242fc,this[_0x9e4dbd(0x456)]=_0x5b58e4,this[_0x9e4dbd(0x3a0)]=_0x30dafc,this[_0x9e4dbd(0x36d)]());}[_0x10d65d(0x36d)](){const _0x410081=_0x10d65d,_0x4ed5b3=this[_0x410081(0x2c6)][_0x410081(0x3cc)],_0x518cb6=this[_0x410081(0x1a6)];this[_0x410081(0x406)](_0x22ea33[_0x410081(0x387)]([this[_0x410081(0x32e)]['getCollabCursors$'](_0x4ed5b3),this[_0x410081(0x3a0)][_0x410081(0x22e)]])['pipe'](_0x28a993[_0x410081(0x28f)](([_0x3b7f30,_0x35dbd1])=>({'skeleton':_0x518cb6[_0x410081(0x3d0)](),'cursors':[..._0x3b7f30[_0x410081(0x257)]()]['flatMap'](_0x8f37b7=>({..._0x8f37b7,'color':this[_0x410081(0x3a0)][_0x410081(0x337)](_0x8f37b7[_0x410081(0x45c)])}))})))['subscribe'](_0x1d9b01=>{const _0x575c64=_0x410081;if(this[_0x575c64(0x2f2)](),_0x1d9b01){const {skeleton:_0x19bcd2,cursors:_0x40f0f1}=_0x1d9b01;this['_updateCollabCursors'](_0x19bcd2,_0x40f0f1);}})),this[_0x410081(0x283)](),this['_initCommandExecutedListener']();}['_updateCollabCursors'](_0x42c7e7,_0x2e80bb){const _0x9ea706=_0x10d65d,{scene:_0x36c867,mainComponent:_0xac8be8}=this[_0x9ea706(0x2c6)],_0x3fbcf6=_0x2e80bb['map'](_0x27fec8=>new _0x3edfdd(_0x27fec8,_0x36c867,_0x42c7e7,_0xac8be8));this[_0x9ea706(0x2d3)]=_0x3fbcf6,this[_0x9ea706(0x243)]=_0x2e80bb;}[_0x10d65d(0x448)](){const _0x364621=_0x10d65d;this['_removeCollabCursors']();const {scene:_0x134325,mainComponent:_0x57625c}=this['_context'],_0x49647f=this[_0x364621(0x1a6)][_0x364621(0x3d0)](),_0x188916=this[_0x364621(0x243)][_0x364621(0x28f)](_0x2c37ba=>new _0x3edfdd(_0x2c37ba,_0x134325,_0x49647f,_0x57625c));this['_cursorShapes']=_0x188916;}[_0x10d65d(0x2f2)](){const _0x4fb385=_0x10d65d;this[_0x4fb385(0x2d3)][_0x4fb385(0x206)](_0x2686e1=>_0x2686e1[_0x4fb385(0x195)]()),this[_0x4fb385(0x2d3)]=[];}['_initCommandExecutedListener'](){const _0x4edf8a=_0x10d65d,_0x334ffc=[_0x3b2259[_0x4edf8a(0x1c0)]['id']];this[_0x4edf8a(0x406)](this['_commandService']['onCommandExecuted'](_0x22debb=>{const _0xba80b5=_0x4edf8a;_0x334ffc['includes'](_0x22debb['id'])&&_0x22debb[_0xba80b5(0x380)][_0xba80b5(0x3cc)]===this[_0xba80b5(0x2c6)][_0xba80b5(0x3cc)]&&this[_0xba80b5(0x448)]();}));}[_0x10d65d(0x283)](){const _0x2639b8=_0x10d65d;this[_0x2639b8(0x406)](_0x197d59['fromEventSubject'](this[_0x2639b8(0x2c6)][_0x2639b8(0x248)]['onTransformChange$'])[_0x2639b8(0x2be)](_0x28a993['filter'](_0x2e7fae=>_0x2e7fae[_0x2639b8(0x44f)]===_0x4ef8d4[_0x2639b8(0x450)][_0x2639b8(0x210)]),_0x28a993['throttleTime'](0x10))[_0x2639b8(0x38e)](()=>{const _0xa871cf=_0x2639b8;this[_0xa871cf(0x448)]();}));}};_0x22d195=_0x1945bb([_0x159470(0x1,_0x197d59['Inject'](_0xa4499d['DocSkeletonManagerService'])),_0x159470(0x2,_0x197d59[_0x10d65d(0x1de)](_0x440f4b)),_0x159470(0x3,_0x197d59[_0x10d65d(0x34a)]),_0x159470(0x4,_0x197d59['Inject'](_0x197d59[_0x10d65d(0x245)]))],_0x22d195);const _0xe690ba=0x1,_0x1bdd0f=1.5;class _0x49000f extends _0x4ef8d4['Shape']{constructor(_0x3de291,_0x14ee50){const _0x4f3a9d=_0x10d65d;super(_0x3de291,_0x14ee50),_0x3ab141(this,_0x4f3a9d(0x224)),_0x3ab141(this,_0x4f3a9d(0x290),!0x1),_0x3ab141(this,_0x4f3a9d(0x240)),_0x3ab141(this,_0x4f3a9d(0x2a3),''),_0x3ab141(this,_0x4f3a9d(0x3ac),_0x4f3a9d(0x28b)),_0x3ab141(this,_0x4f3a9d(0x2c9)),(_0x14ee50&&this[_0x4f3a9d(0x393)](_0x14ee50),this[_0x4f3a9d(0x3db)][_0x4f3a9d(0x34f)](()=>this[_0x4f3a9d(0x393)]({'hovered':!0x0})),this['onPointerLeave$'][_0x4f3a9d(0x34f)](()=>this[_0x4f3a9d(0x393)]({'hovered':!0x1})));}[_0x10d65d(0x393)](_0x6c76a0){const _0x3fade1=_0x10d65d;var _0x21a151,_0x54ba78,_0x36a999,_0x5aa889,_0xb214d0,_0x868695;this[_0x3fade1(0x224)]=(_0x21a151=_0x6c76a0[_0x3fade1(0x45c)])!=null?_0x21a151:this[_0x3fade1(0x224)],this[_0x3fade1(0x290)]=(_0x54ba78=_0x6c76a0['hovered'])!=null?_0x54ba78:this[_0x3fade1(0x290)],this[_0x3fade1(0x240)]=(_0x36a999=_0x6c76a0[_0x3fade1(0x3f6)])!=null?_0x36a999:this[_0x3fade1(0x240)],this[_0x3fade1(0x2a3)]=(_0x5aa889=_0x6c76a0[_0x3fade1(0x31d)])!=null?_0x5aa889:this[_0x3fade1(0x2a3)],this[_0x3fade1(0x3ac)]=(_0xb214d0=_0x6c76a0['labelPosition'])!=null?_0xb214d0:this[_0x3fade1(0x3ac)],this[_0x3fade1(0x2c9)]=(_0x868695=_0x6c76a0[_0x3fade1(0x3c4)])!=null?_0x868695:this[_0x3fade1(0x2c9)],this[_0x3fade1(0x1f1)]({'width':_0x6c76a0[_0x3fade1(0x43a)],'height':_0x6c76a0[_0x3fade1(0x23a)]});}[_0x10d65d(0x3f9)](_0x5c7a96){const _0xe14c00=_0x10d65d,{row:_0x357a97,column:_0x55608b}=_0x5c7a96;if(_0x357a97>=this['_range'][_0xe14c00(0x32a)]&&_0x357a97<=this[_0xe14c00(0x240)][_0xe14c00(0x1b2)]&&_0x55608b>=this[_0xe14c00(0x240)][_0xe14c00(0x265)]&&_0x55608b<=this[_0xe14c00(0x240)][_0xe14c00(0x2e7)]){this[_0xe14c00(0x393)]({'hovered':!0x0});return;}this[_0xe14c00(0x393)]({'hovered':!0x1});}['triggerDblclick'](_0x520e06){return!0x1;}[_0x10d65d(0x399)](_0x2d2430){const _0x1e3bdc=_0x10d65d;_0x4ef8d4[_0x1e3bdc(0x284)]['drawWith'](_0x2d2430,{'width':this[_0x1e3bdc(0x43a)],'height':this['height'],'strokeWidth':_0x1bdd0f,'stroke':this[_0x1e3bdc(0x224)],'evented':!0x1,'fill':this[_0x1e3bdc(0x2c9)]}),this[_0x1e3bdc(0x290)]&&(_0x2d2430[_0x1e3bdc(0x19a)](),_0x2d2430['transform'](0x1,0x0,0x0,0x1,this[_0x1e3bdc(0x43a)],this['_labelPosition']===_0x1e3bdc(0x282)?0x0:-_0x546239),_0x3e249c[_0x1e3bdc(0x2d1)](_0x2d2430,{'text':this[_0x1e3bdc(0x2a3)],'color':this[_0x1e3bdc(0x224)]}),_0x2d2430[_0x1e3bdc(0x22b)]());}}var _0x1f4607=Object['getOwnPropertyDescriptor'],_0x1200b5=(_0x3f2e3c,_0x25ce57,_0x4195d8,_0x536457)=>{const _0x927bd0=_0x10d65d;for(var _0x58a658=_0x536457>0x1?void 0x0:_0x536457?_0x1f4607(_0x25ce57,_0x4195d8):_0x25ce57,_0x23e7a3=_0x3f2e3c[_0x927bd0(0x344)]-0x1,_0x3889cc;_0x23e7a3>=0x0;_0x23e7a3--)(_0x3889cc=_0x3f2e3c[_0x23e7a3])&&(_0x58a658=_0x3889cc(_0x58a658)||_0x58a658);return _0x58a658;},_0xbed4ab=(_0x4aedda,_0x5be7ac)=>(_0x24b6fa,_0x166444)=>_0x5be7ac(_0x24b6fa,_0x166444,_0x4aedda);const _0x2abf5b=0x1389;let _0x30a955=class extends _0x197d59[_0x10d65d(0x410)]{constructor(_0x48dd34,_0x571866,_0x4bbcb9,_0x539c8a){const _0x4b96b0=_0x10d65d;super(),_0x3ab141(this,_0x4b96b0(0x243),new Set()),_0x3ab141(this,'_lastPointer',null),(this[_0x4b96b0(0x2c6)]=_0x48dd34,this[_0x4b96b0(0x17a)]=_0x571866,this[_0x4b96b0(0x32e)]=_0x4bbcb9,this[_0x4b96b0(0x3a0)]=_0x539c8a,this[_0x4b96b0(0x36d)]());}[_0x10d65d(0x36d)](){const _0x200186=_0x10d65d;this['_sheetSkeletonManagerService']['currentSkeleton$'][_0x200186(0x2be)](_0x28a993[_0x200186(0x41f)](this[_0x200186(0x29c)]),_0x28a993[_0x200186(0x3d9)](_0x55fe07=>{const _0x47d872=_0x200186;if(_0x55fe07){const _0x1f3b2f=_0x55fe07[_0x47d872(0x3dc)];return _0x22ea33[_0x47d872(0x387)](this[_0x47d872(0x32e)]['getCollabCursors$'](this[_0x47d872(0x2c6)][_0x47d872(0x3cc)]),this['_themeService'][_0x47d872(0x22e)])[_0x47d872(0x2be)](_0x28a993[_0x47d872(0x28f)](([_0x5a4133,_0x3b9de9])=>{const _0x55c867=_0x47d872,_0x188295=new Map();return _0x5a4133[_0x55c867(0x206)]((_0x419e16,_0x8eea60)=>{const _0x53d92e=_0x55c867;if(_0x419e16['sheetID']===_0x1f3b2f){const _0x3a50f7={..._0x419e16};_0x3a50f7[_0x53d92e(0x45c)]=this[_0x53d92e(0x3a0)][_0x53d92e(0x337)](_0x419e16[_0x53d92e(0x45c)]),_0x188295[_0x53d92e(0x3f2)](_0x8eea60,_0x3a50f7);}}),{'skeleton':_0x55fe07,'cursors':_0x188295};}));}return _0x22ea33['of']({'skeleton':null,'cursors':new Map()});}))[_0x200186(0x38e)](({skeleton:_0x5b3fd2,cursors:_0x2bac68})=>{const _0x26b42f=_0x200186;this[_0x26b42f(0x2f2)](),_0x5b3fd2&&this[_0x26b42f(0x2a1)](_0x5b3fd2,_0x2bac68);}),this['_sheetSkeletonManagerService'][_0x200186(0x1b9)][_0x200186(0x38e)](_0x4c0aeb=>{const _0x382a52=_0x200186;if(_0x4c0aeb==null)return;const {skeleton:_0x546103}=_0x4c0aeb,{scene:_0x23b564}=this[_0x382a52(0x2c6)];_0x23b564['onPointerMove$']['subscribeEvent'](_0x197d59[_0x382a52(0x2c7)](_0x1c3bea=>{const _0x648a35=_0x382a52;var _0x2f6da1,_0x437992;const {offsetX:_0x193c0b,offsetY:_0x51df5d}=_0x1c3bea,{x:_0x5737c4,y:_0x141d4f}=_0x23b564[_0x648a35(0x1cd)](_0x4ef8d4['Vector2'][_0x648a35(0x21d)]([_0x193c0b,_0x51df5d])),{scaleX:_0x1c94bf,scaleY:_0x28d34a}=_0x23b564[_0x648a35(0x33d)](),_0x3a588a=_0x23b564[_0x648a35(0x30f)](_0x4ef8d4['SHEET_VIEWPORT_KEY'][_0x648a35(0x2b5)]),_0x9511a5=_0x23b564[_0x648a35(0x252)](_0x4ef8d4[_0x648a35(0x40d)]['FromArray']([_0x5737c4,_0x141d4f]),_0x3a588a),_0x909ac5=_0x546103[_0x648a35(0x17c)](_0x193c0b,_0x51df5d,_0x1c94bf,_0x28d34a,_0x9511a5);((_0x2f6da1=this[_0x648a35(0x256)])==null?void 0x0:_0x2f6da1[_0x648a35(0x41c)])===_0x909ac5[_0x648a35(0x41c)]&&((_0x437992=this[_0x648a35(0x256)])==null?void 0x0:_0x437992['row'])===_0x909ac5[_0x648a35(0x3f5)]||this['_cursors'][_0x648a35(0x206)](_0x5b6e4c=>{const _0x48d91f=_0x648a35;_0x5b6e4c[_0x48d91f(0x3f9)](_0x909ac5);});},0x64));});}[_0x10d65d(0x2a1)](_0x348ac1,_0x4fa059){const _0x4e2490=_0x10d65d;var _0x11e26a;const _0x33bed6=(_0x11e26a=this[_0x4e2490(0x17a)]['getCurrent']())==null?void 0x0:_0x11e26a['skeleton'];if(!_0x33bed6)return;const _0x5dfe01=this[_0x4e2490(0x3b4)]();if(!_0x5dfe01)return;this['_cursors'][_0x4e2490(0x206)](_0x2fe309=>{const _0x5df179=_0x4e2490;_0x2fe309[_0x5df179(0x3d7)]();});const {scene:_0x129246}=_0x5dfe01,_0x260f23=_0x214703(Array[_0x4e2490(0x44e)](_0x4fa059[_0x4e2490(0x257)]()))[_0x4e2490(0x28f)](_0x35fcde=>{const _0x86c9e2=_0x4e2490,{color:_0x851c5d,range:_0x148756,name:_0x127d4f,selection:_0x340640,sheetID:_0x15da3b}=_0x35fcde,{startColumn:_0x5e3fcf,startRow:_0x4a531f,endColumn:_0x1d8647,endRow:_0x3678d1}=_0x148756,_0x35c347=_0x1f6d72[_0x86c9e2(0x415)](_0x4a531f,_0x5e3fcf,_0x129246,_0x33bed6),_0x21b105=_0x1f6d72[_0x86c9e2(0x415)](_0x3678d1,_0x1d8647,_0x129246,_0x33bed6),{columnHeaderHeightAndMarginTop:_0x18d4ee}=_0x33bed6,{startX:_0xb8b7ef,startY:_0x40cc93}=_0x35c347,{endX:_0x211be8,endY:_0x5a35d6}=_0x21b105,_0x4566b4=_0x211be8-_0xb8b7ef,_0x4ff41a=_0x5a35d6-_0x40cc93,_0x3d2b54={'labelPosition':_0x40cc93-_0x18d4ee>=_0x546239?_0x86c9e2(0x28b):'bottom','sheetID':_0x15da3b,'range':_0x148756,'color':_0x851c5d,'name':_0x127d4f,'selection':_0x340640,'left':_0xb8b7ef,'top':_0x40cc93,'width':_0x4566b4,'height':_0x4ff41a,'evented':!0x1,'zIndex':_0x2abf5b};return new _0x49000f(_0x127d4f,_0x3d2b54);});_0x129246['addObjects'](_0x260f23,_0xe690ba),this[_0x4e2490(0x243)]=new Set(_0x260f23);}[_0x10d65d(0x2f2)](){const _0x32cf9f=_0x10d65d;var _0x8d750;(_0x8d750=this['_cursors'])==null||_0x8d750[_0x32cf9f(0x206)](_0x356999=>_0x356999[_0x32cf9f(0x195)]());}[_0x10d65d(0x3b4)](){const _0x2fbad6=_0x10d65d;return _0x1f6d72[_0x2fbad6(0x273)](this['_context'][_0x2fbad6(0x39b)],this['_context']);}};_0x30a955=_0x1200b5([_0xbed4ab(0x1,_0x197d59[_0x10d65d(0x1de)](_0x1f6d72[_0x10d65d(0x3d6)])),_0xbed4ab(0x2,_0x197d59[_0x10d65d(0x1de)](_0x440f4b)),_0xbed4ab(0x3,_0x197d59[_0x10d65d(0x1de)](_0x197d59[_0x10d65d(0x245)]))],_0x30a955);function _0x214703(_0x11ee8d){const _0xae1265=_0x10d65d,_0x3ad9eb=new Map();return _0x11ee8d[_0xae1265(0x206)](_0x4d8496=>{const _0x7d1a73=_0xae1265;if(_0x3ad9eb[_0x7d1a73(0x1da)](_0x4d8496['selection'])){const _0x44ef91=_0x3ad9eb[_0x7d1a73(0x3ec)](_0x4d8496[_0x7d1a73(0x2d6)]);_0x44ef91[_0x7d1a73(0x31d)]+=',\x20'+_0x4d8496['name'];}else _0x3ad9eb[_0x7d1a73(0x3f2)](_0x4d8496[_0x7d1a73(0x2d6)],_0x4d8496);}),Array[_0xae1265(0x44e)](_0x3ad9eb[_0xae1265(0x257)]());}var _0x33e03b=Object[_0x10d65d(0x17f)],_0x5056ac=(_0xe4a4ad,_0x28cecf,_0x138824,_0x4339eb)=>{for(var _0x31ae55=_0x4339eb>0x1?void 0x0:_0x4339eb?_0x33e03b(_0x28cecf,_0x138824):_0x28cecf,_0x4c9658=_0xe4a4ad['length']-0x1,_0x25fa63;_0x4c9658>=0x0;_0x4c9658--)(_0x25fa63=_0xe4a4ad[_0x4c9658])&&(_0x31ae55=_0x25fa63(_0x31ae55)||_0x31ae55);return _0x31ae55;},_0x34649a=(_0x6db586,_0x51aa80)=>(_0x42602c,_0x559837)=>_0x51aa80(_0x42602c,_0x559837,_0x6db586);let _0x391c06=class extends _0x197d59['Disposable']{constructor(_0x6805d2,_0x11e2f9,_0xe7c02c,_0x53a9da,_0x1bc617,_0x43bea3){const _0x5ab667=_0x10d65d;super(),this[_0x5ab667(0x1b0)]=_0x6805d2,this[_0x5ab667(0x211)]=_0x11e2f9,this[_0x5ab667(0x261)]=_0xe7c02c,this[_0x5ab667(0x319)]=_0x53a9da,this['_notificationService']=_0x1bc617,this['_localeService']=_0x43bea3,this[_0x5ab667(0x2ee)](),this[_0x5ab667(0x453)]();}[_0x10d65d(0x2ee)](){const _0x263f61=_0x10d65d;this[_0x263f61(0x406)](this[_0x263f61(0x1b0)][_0x263f61(0x20f)](()=>{const _0xcd1952=_0x263f61;if(this[_0xcd1952(0x211)][_0xcd1952(0x23c)][_0xcd1952(0x293)])return this[_0xcd1952(0x1f6)]['t'](_0xcd1952(0x441));}));}[_0x10d65d(0x453)](){const _0x1f1ee4=_0x10d65d;this[_0x1f1ee4(0x406)](this[_0x1f1ee4(0x261)]['event$'][_0x1f1ee4(0x38e)](_0x2be113=>{const _0x2f9f7a=_0x1f1ee4;_0x2be113['id']===_0x51298c['CollaborationUIEventId'][_0x2f9f7a(0x182)]&&this[_0x2f9f7a(0x319)][_0x2f9f7a(0x400)]({'type':_0xa9b0b1[_0x2f9f7a(0x1b5)][_0x2f9f7a(0x2e3)],'content':this['_localeService']['t'](_0x2f9f7a(0x234))}),_0x2be113['id']===_0x51298c[_0x2f9f7a(0x29d)][_0x2f9f7a(0x1c7)]&&this[_0x2f9f7a(0x319)][_0x2f9f7a(0x400)]({'type':_0xa9b0b1[_0x2f9f7a(0x1b5)][_0x2f9f7a(0x2e3)],'content':this[_0x2f9f7a(0x1f6)]['t']('collaboration.closeRoom')}),_0x2be113['id']===_0x51298c['CollaborationUIEventId'][_0x2f9f7a(0x435)]&&this[_0x2f9f7a(0x226)][_0x2f9f7a(0x400)]({'title':this[_0x2f9f7a(0x1f6)]['t'](_0x2f9f7a(0x363)),'content':this[_0x2f9f7a(0x1f6)]['t'](_0x2f9f7a(0x429)),'type':'error','duration':0x0}),_0x2be113['id']===_0x51298c[_0x2f9f7a(0x29d)][_0x2f9f7a(0x244)]&&this[_0x2f9f7a(0x319)][_0x2f9f7a(0x400)]({'type':_0xa9b0b1[_0x2f9f7a(0x1b5)]['Error'],'content':this[_0x2f9f7a(0x1f6)]['t'](_0x2f9f7a(0x3ed))+'('+_0x2be113[_0x2f9f7a(0x269)]+')'}),_0x2be113['id']===_0x51298c[_0x2f9f7a(0x29d)]['JOIN_ROOM_FAILED']&&this[_0x2f9f7a(0x319)][_0x2f9f7a(0x400)]({'type':_0xa9b0b1['MessageType']['Warning'],'content':this['_localeService']['t'](_0x2be113[_0x2f9f7a(0x269)]||'')}),_0x2be113['id']===_0x51298c['CollaborationUIEventId']['SOCKET_FAILED_RETRY']&&this['_messageService'][_0x2f9f7a(0x400)]({'type':_0xa9b0b1['MessageType']['Warning'],'content':this[_0x2f9f7a(0x1f6)]['t'](_0x2f9f7a(0x35c))}),_0x2be113['id']===_0x51298c[_0x2f9f7a(0x29d)][_0x2f9f7a(0x31c)]&&this[_0x2f9f7a(0x319)]['show']({'type':_0xa9b0b1[_0x2f9f7a(0x1b5)][_0x2f9f7a(0x24e)],'content':this['_localeService']['t'](_0x2f9f7a(0x26b))}),_0x2be113['id']===_0x51298c[_0x2f9f7a(0x29d)]['SUBMIT_CHANGESET_TIMEOUT']&&this[_0x2f9f7a(0x319)][_0x2f9f7a(0x400)]({'type':_0xa9b0b1[_0x2f9f7a(0x1b5)][_0x2f9f7a(0x24e)],'content':this['_localeService']['t'](_0x2f9f7a(0x40f))});}));}};_0x391c06=_0x5056ac([_0x34649a(0x0,_0x5a190a[_0x10d65d(0x25d)]),_0x34649a(0x1,_0x51298c[_0x10d65d(0x1a7)]),_0x34649a(0x2,_0x197d59['Inject'](_0x51298c[_0x10d65d(0x376)])),_0x34649a(0x3,_0x5a190a[_0x10d65d(0x2ef)]),_0x34649a(0x4,_0x5a190a[_0x10d65d(0x423)]),_0x34649a(0x5,_0x197d59['Inject'](_0x197d59[_0x10d65d(0x3b5)]))],_0x391c06);var _0x5c8af5=Object[_0x10d65d(0x17f)],_0x55d60e=(_0x12ef3e,_0x4c3d47,_0x52a6c1,_0x30e993)=>{for(var _0x4b2155=_0x30e993>0x1?void 0x0:_0x30e993?_0x5c8af5(_0x4c3d47,_0x52a6c1):_0x4c3d47,_0x13cfef=_0x12ef3e['length']-0x1,_0x29783a;_0x13cfef>=0x0;_0x13cfef--)(_0x29783a=_0x12ef3e[_0x13cfef])&&(_0x4b2155=_0x29783a(_0x4b2155)||_0x4b2155);return _0x4b2155;},_0x1ddafd=(_0x24ed5d,_0x432a0d)=>(_0x48a709,_0x3b1dfb)=>_0x432a0d(_0x48a709,_0x3b1dfb,_0x24ed5d);let _0x2935d7=class extends _0x197d59[_0x10d65d(0x308)]{constructor(_0x1241bc,_0x5b5a74,_0x1e1985,_0x369e88){const _0x5cca62=_0x10d65d;super(),_0x3ab141(this,_0x5cca62(0x355)),(this['_injector']=_0x1241bc,this[_0x5cca62(0x213)]=_0x5b5a74,this[_0x5cca62(0x434)]=_0x1e1985,this[_0x5cca62(0x459)]=_0x369e88,this[_0x5cca62(0x36d)]());}[_0x10d65d(0x36d)](){const _0x2ca83c=_0x10d65d;this[_0x2ca83c(0x1ba)](),this[_0x2ca83c(0x229)](),this[_0x2ca83c(0x28a)](),this[_0x2ca83c(0x3bb)]();}[_0x10d65d(0x3bb)](){const _0x257e8c=_0x10d65d;this[_0x257e8c(0x406)](this[_0x257e8c(0x459)][_0x257e8c(0x307)][_0x257e8c(0x38e)](_0x4cdf08=>{const _0x17b1b8=_0x257e8c;this[_0x17b1b8(0x355)]=_0x4cdf08==null?void 0x0:_0x4cdf08[_0x17b1b8(0x2a7)];}));}[_0x10d65d(0x1ba)](){const _0x327e26=_0x10d65d,_0x3ed2f8=_0x5680d1=>{const _0x53fd07=_0x3b56;var _0x325af7;this[_0x53fd07(0x255)]('error',_0x53fd07(0x334)+_0x5680d1[_0x53fd07(0x2c8)]+_0x53fd07(0x3cf)+_0x5680d1[_0x53fd07(0x1e1)]+':'+_0x5680d1[_0x53fd07(0x1a9)]+':'+_0x5680d1[_0x53fd07(0x20c)]+'\x0a'+(((_0x325af7=_0x5680d1['error'])==null?void 0x0:_0x325af7[_0x53fd07(0x3a8)])||''));};window['addEventListener'](_0x327e26(0x357),_0x3ed2f8),this[_0x327e26(0x406)](()=>{const _0x49367b=_0x327e26;window[_0x49367b(0x1d3)](_0x49367b(0x357),_0x3ed2f8);});}[_0x10d65d(0x229)](){const _0x5ab66d=_0x10d65d,_0x82eb56=_0x4fcc3e=>{const _0xd2e1de=_0x3b56;this[_0xd2e1de(0x255)](_0xd2e1de(0x357),'[Unhandled\x20Rejection]:\x20'+_0x4fcc3e[_0xd2e1de(0x444)]);};window[_0x5ab66d(0x323)](_0x5ab66d(0x445),_0x82eb56),this[_0x5ab66d(0x406)](()=>{const _0x5b1ef7=_0x5ab66d;window[_0x5b1ef7(0x1d3)]('unhandledrejection',_0x82eb56);});}['_monkeyPatchLogService'](){const _0x217caa=_0x10d65d,_0x40e4b3=this[_0x217caa(0x434)][_0x217caa(0x357)][_0x217caa(0x221)](this['_logService']);this[_0x217caa(0x434)][_0x217caa(0x357)]=(..._0x2c402a)=>{const _0x1998a9=_0x217caa,_0x1830a8=_0x2c402a[_0x1998a9(0x28f)](_0x4ee89a=>_0x4ee89a instanceof Error?_0x4ee89a[_0x1998a9(0x2c8)]+'\x0a'+_0x4ee89a[_0x1998a9(0x3a8)]:String(_0x4ee89a))[_0x1998a9(0x3a5)]('\x20');this[_0x1998a9(0x255)](_0x1998a9(0x357),_0x1998a9(0x254)+_0x1830a8),_0x40e4b3(..._0x2c402a);},this[_0x217caa(0x406)](()=>{this['_logService']['error']=_0x40e4b3;});}[_0x10d65d(0x255)](_0x31f0f0,_0x11abf8){const _0x1d4999=_0x10d65d;try{const _0x312c59={'userId':this[_0x1d4999(0x355)],'logLabel':_0x31f0f0,'content':_0x11abf8};this[_0x1d4999(0x213)][_0x1d4999(0x1d0)](_0x1d4999(0x24d),{'body':_0x312c59})['catch'](()=>{});}catch{}}};_0x2935d7=_0x55d60e([_0x1ddafd(0x0,_0x197d59['Inject'](_0x197d59['Injector'])),_0x1ddafd(0x1,_0x197d59[_0x10d65d(0x1de)](_0x7b80a['HTTPService'])),_0x1ddafd(0x2,_0x197d59[_0x10d65d(0x439)]),_0x1ddafd(0x3,_0x197d59[_0x10d65d(0x1de)](_0x51298c[_0x10d65d(0x3b0)]))],_0x2935d7);const _0x51fecf=_0x10d65d(0x201),_0x18365a={};var _0x5a2ab5=Object[_0x10d65d(0x17f)],_0x1a9972=(_0x10a4e0,_0x52fa79,_0x1b01d3,_0xe9d38b)=>{const _0x42ec96=_0x10d65d;for(var _0x2267a7=_0xe9d38b>0x1?void 0x0:_0xe9d38b?_0x5a2ab5(_0x52fa79,_0x1b01d3):_0x52fa79,_0x1e51b0=_0x10a4e0[_0x42ec96(0x344)]-0x1,_0x56c011;_0x1e51b0>=0x0;_0x1e51b0--)(_0x56c011=_0x10a4e0[_0x1e51b0])&&(_0x2267a7=_0x56c011(_0x2267a7)||_0x2267a7);return _0x2267a7;},_0x315524=(_0x1cb8f0,_0x399deb)=>(_0x13d8c1,_0x37a66c)=>_0x399deb(_0x13d8c1,_0x37a66c,_0x1cb8f0);let _0x5a0166=class{constructor(_0x477d59,_0x5d725a){const _0x14843f=_0x10d65d;this[_0x14843f(0x2bb)]=_0x477d59,this[_0x14843f(0x22d)]=_0x5d725a;}[_0x10d65d(0x1bd)](_0x484d30){const _0x125160=_0x10d65d;this[_0x125160(0x2fc)](_0x484d30),this[_0x125160(0x2f8)](_0x484d30);}[_0x10d65d(0x320)](_0x274309){const _0x2d7937=_0x10d65d,{unitID:_0x7bd8f6}=_0x274309,_0x3a7d57=this[_0x2d7937(0x22d)][_0x2d7937(0x222)](_0x7bd8f6)[_0x2d7937(0x3a2)](_0x3b2259[_0x2d7937(0x26f)]),{redoCache:_0xafeb91}=_0x3a7d57[_0x2d7937(0x203)]();if(_0xafeb91['length']===0x0)return _0x274309;let _0x3f00ef=_0x197d59[_0x2d7937(0x388)][_0x2d7937(0x31e)](_0x274309[_0x2d7937(0x35d)][0x0]);for(let _0x5b1bfa=0x0;_0x5b1bfa<_0xafeb91[_0x2d7937(0x344)];_0x5b1bfa++){const _0x2ffcaa={'id':_0x2d7937(0x3e4),'params':{..._0xafeb91[_0x5b1bfa]}},_0x32abf5=this[_0x2d7937(0x2bb)][_0x2d7937(0x2c1)](_0x3f00ef,_0x2ffcaa,!0x1);if(_0x249f8c[_0x2d7937(0x2b6)](_0x32abf5))throw _0x32abf5[_0x2d7937(0x357)];_0x3f00ef=_0x32abf5['m1Prime'];}return{..._0x197d59[_0x2d7937(0x388)][_0x2d7937(0x31e)](_0x274309),'mutations':[_0x3f00ef]};}[_0x10d65d(0x2fc)](_0x29e877){const _0x935a37=_0x10d65d,{unitID:_0x512a97}=_0x29e877,_0xd95828=this[_0x935a37(0x22d)]['getRenderById'](_0x512a97)[_0x935a37(0x3a2)](_0x3b2259[_0x935a37(0x26f)]),{undoCache:_0x1fe8a8,redoCache:_0x33877f}=_0xd95828[_0x935a37(0x203)]();if(_0x1fe8a8[_0x935a37(0x344)]===0x0||_0x33877f[_0x935a37(0x344)]===0x0)return;const _0x58ae65=[],_0x16c2b3=[];let _0x17f8c7=_0x197d59['Tools'][_0x935a37(0x31e)](_0x29e877[_0x935a37(0x35d)][0x0]),_0x28de58=_0x197d59['Tools'][_0x935a37(0x31e)](_0x29e877[_0x935a37(0x35d)][0x0]);for(let _0x129a12=_0x1fe8a8['length']-0x1;_0x129a12>=0x0;_0x129a12--){const _0x3df64c={'id':_0x935a37(0x3e4),'params':{..._0x1fe8a8[_0x129a12]}},_0x16215d={'id':_0x935a37(0x3e4),'params':{..._0x33877f[_0x129a12]}},_0x70d4a3=this['_transformService'][_0x935a37(0x2c1)](_0x17f8c7,_0x3df64c,!0x1),_0x53a737=this['_transformService'][_0x935a37(0x2c1)](_0x28de58,_0x16215d,!0x1);if(_0x249f8c['isTransformMutationFailure'](_0x70d4a3))throw _0x70d4a3[_0x935a37(0x357)];if(_0x249f8c[_0x935a37(0x2b6)](_0x53a737))throw _0x53a737[_0x935a37(0x357)];_0x58ae65[_0x935a37(0x360)](_0x70d4a3[_0x935a37(0x3c9)][_0x935a37(0x380)]),_0x16c2b3[_0x935a37(0x360)](_0x53a737[_0x935a37(0x3c9)][_0x935a37(0x380)]),_0x17f8c7=_0x70d4a3[_0x935a37(0x249)],_0x28de58=_0x53a737['m1Prime'];}_0xd95828[_0x935a37(0x379)]({'undoCache':_0x58ae65,'redoCache':_0x16c2b3});}['_transformPreviousActiveRange'](_0x1e0797){const _0x4472e8=_0x10d65d,{unitID:_0x6ad9f2}=_0x1e0797,_0x4124cf=this[_0x4472e8(0x22d)][_0x4472e8(0x222)](_0x6ad9f2)['with'](_0x3b2259[_0x4472e8(0x26f)]),_0x4626ef=_0x4124cf['getActiveRange']();if(_0x4626ef==null)return;const _0x13ca2f=[{'id':_0x4472e8(0x3e4),'params':{'unitId':_0x1e0797[_0x4472e8(0x370)],'actions':null,'textRanges':[_0x4626ef]}}],_0x303f71=this['_transformService']['transformMutationsWithChangeset'](_0x1e0797,_0x13ca2f);if(!_0x249f8c[_0x4472e8(0x1b6)](_0x303f71))throw _0x303f71['error'];const _0x26d538=_0x303f71['m2Prime'][0x0]['params'][_0x4472e8(0x1a8)];Array[_0x4472e8(0x1af)](_0x26d538)&&_0x26d538['length']&&_0x4124cf[_0x4472e8(0x26a)](_0x26d538[0x0]);}};_0x5a0166=_0x1a9972([_0x315524(0x0,_0x249f8c['ITransformService']),_0x315524(0x1,_0x4ef8d4['IRenderManagerService'])],_0x5a0166);var _0xa8adb1=Object[_0x10d65d(0x17f)],_0x51ea0f=(_0x4e5ef2,_0x1ced38,_0x304a60,_0x4fd47c)=>{for(var _0x519fd5=_0x4fd47c>0x1?void 0x0:_0x4fd47c?_0xa8adb1(_0x1ced38,_0x304a60):_0x1ced38,_0x155e21=_0x4e5ef2['length']-0x1,_0x5d51ad;_0x155e21>=0x0;_0x155e21--)(_0x5d51ad=_0x4e5ef2[_0x155e21])&&(_0x519fd5=_0x5d51ad(_0x519fd5)||_0x519fd5);return _0x519fd5;},_0x4d96e7=(_0x28bcb7,_0x2bd993)=>(_0x4724d0,_0x49e49c)=>_0x2bd993(_0x4724d0,_0x49e49c,_0x28bcb7);let _0x6d0f29=class{constructor(_0x53f576,_0x115045,_0x5c4601){const _0x3805c6=_0x10d65d;this['_injector']=_0x53f576,this[_0x3805c6(0x2bb)]=_0x115045,this[_0x3805c6(0x3bd)]=_0x5c4601;}['transformStateCache'](_0x433f69){const _0x4dab5e=_0x10d65d;this[_0x4dab5e(0x431)](_0x433f69);}[_0x10d65d(0x320)](_0x1d2c69){const _0x46b487=_0x10d65d,{unitID:_0x4d2dff}=_0x1d2c69,{collaboration:_0x56678c}=this[_0x46b487(0x3bd)][_0x46b487(0x242)](_0x4d2dff);if(_0x56678c[_0x46b487(0x344)]===0x0)return _0x1d2c69;let _0x7ae8fc=_0x197d59[_0x46b487(0x388)][_0x46b487(0x31e)](_0x1d2c69[_0x46b487(0x35d)][0x0]);for(let _0x1fdb23=0x0;_0x1fdb23<_0x56678c[_0x46b487(0x344)];_0x1fdb23++){const _0x46e291={'id':_0x46b487(0x3e4),'params':{'unitId':_0x56678c[_0x1fdb23]['unitId'],..._0x56678c[_0x1fdb23][_0x46b487(0x2ae)]}},_0x223598=this[_0x46b487(0x2bb)][_0x46b487(0x2c1)](_0x7ae8fc,_0x46e291,!0x1);if(_0x249f8c[_0x46b487(0x2b6)](_0x223598))throw _0x223598[_0x46b487(0x357)];_0x7ae8fc=_0x223598[_0x46b487(0x249)];}return{..._0x197d59['Tools'][_0x46b487(0x31e)](_0x1d2c69),'mutations':[_0x7ae8fc]};}[_0x10d65d(0x431)](_0x5ce037){const _0x3d31ad=_0x10d65d,{unitID:_0x406c1a}=_0x5ce037,{history:_0x134da9,collaboration:_0x5d9db4}=this[_0x3d31ad(0x3bd)][_0x3d31ad(0x242)](_0x406c1a);if(_0x134da9['length']===0x0&&_0x5d9db4[_0x3d31ad(0x344)]===0x0)return;const _0x4b5c98=[],_0x305786=[];let _0x4f8993=_0x197d59[_0x3d31ad(0x388)][_0x3d31ad(0x31e)](_0x5ce037[_0x3d31ad(0x35d)][0x0]),_0x3f9ef6=_0x197d59[_0x3d31ad(0x388)][_0x3d31ad(0x31e)](_0x5ce037['mutations'][0x0]);for(let _0xf5a063=_0x134da9[_0x3d31ad(0x344)]-0x1;_0xf5a063>=0x0;_0xf5a063--){const _0x59d9f8={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x134da9[_0xf5a063][_0x3d31ad(0x3cc)],..._0x134da9[_0xf5a063]['undoState']}},_0x25c965={'id':_0x3d31ad(0x3e4),'params':{'unitId':_0x134da9[_0xf5a063]['unitId'],..._0x134da9[_0xf5a063]['redoState']}},_0x1d0b8e=this[_0x3d31ad(0x2bb)][_0x3d31ad(0x2c1)](_0x4f8993,_0x59d9f8,!0x1),_0x4b5be9=this['_transformService'][_0x3d31ad(0x2c1)](_0x3f9ef6,_0x25c965,!0x1);if(_0x249f8c[_0x3d31ad(0x2b6)](_0x1d0b8e))throw _0x1d0b8e['error'];if(_0x249f8c[_0x3d31ad(0x2b6)](_0x4b5be9))throw _0x4b5be9['error'];_0x4b5c98['unshift']({..._0x134da9[_0xf5a063],'undoState':_0x1d0b8e['m2Prime']['params'],'redoState':_0x4b5be9[_0x3d31ad(0x3c9)][_0x3d31ad(0x380)]}),_0x4f8993=_0x1d0b8e[_0x3d31ad(0x249)],_0x3f9ef6=_0x4b5be9[_0x3d31ad(0x249)];}_0x4f8993=_0x197d59['Tools'][_0x3d31ad(0x31e)](_0x5ce037[_0x3d31ad(0x35d)][0x0]),_0x3f9ef6=_0x197d59[_0x3d31ad(0x388)]['deepClone'](_0x5ce037[_0x3d31ad(0x35d)][0x0]);for(let _0x48b56a=_0x5d9db4[_0x3d31ad(0x344)]-0x1;_0x48b56a>=0x0;_0x48b56a--){const _0x158bb1={'id':_0x3d31ad(0x3e4),'params':{'unitId':_0x5d9db4[_0x48b56a][_0x3d31ad(0x3cc)],..._0x5d9db4[_0x48b56a][_0x3d31ad(0x356)]}},_0x5f3b42={'id':_0x3d31ad(0x3e4),'params':{'unitId':_0x5d9db4[_0x48b56a][_0x3d31ad(0x3cc)],..._0x5d9db4[_0x48b56a][_0x3d31ad(0x2ae)]}},_0x4f121d=this[_0x3d31ad(0x2bb)][_0x3d31ad(0x2c1)](_0x4f8993,_0x158bb1,!0x1),_0x54e7ed=this[_0x3d31ad(0x2bb)][_0x3d31ad(0x2c1)](_0x3f9ef6,_0x5f3b42,!0x1);if(_0x249f8c[_0x3d31ad(0x2b6)](_0x4f121d))throw _0x4f121d[_0x3d31ad(0x357)];if(_0x249f8c[_0x3d31ad(0x2b6)](_0x54e7ed))throw _0x54e7ed[_0x3d31ad(0x357)];_0x305786['unshift']({..._0x5d9db4[_0x48b56a],'undoState':_0x4f121d[_0x3d31ad(0x3c9)][_0x3d31ad(0x380)],'redoState':_0x54e7ed['m2Prime'][_0x3d31ad(0x380)]}),_0x4f8993=_0x4f121d[_0x3d31ad(0x249)],_0x3f9ef6=_0x54e7ed[_0x3d31ad(0x249)];}this[_0x3d31ad(0x3bd)][_0x3d31ad(0x39e)](_0x406c1a,{'history':_0x4b5c98,'collaboration':_0x305786});}};_0x6d0f29=_0x51ea0f([_0x4d96e7(0x0,_0x197d59[_0x10d65d(0x1de)](_0x197d59['Injector'])),_0x4d96e7(0x1,_0x249f8c[_0x10d65d(0x311)]),_0x4d96e7(0x2,_0x197d59[_0x10d65d(0x1de)](_0x3b2259[_0x10d65d(0x312)]))],_0x6d0f29);var _0x5eeb2e=Object['getOwnPropertyDescriptor'],_0x4b396b=(_0x3a7fbb,_0x4ee44c,_0x298f3f,_0x26defe)=>{const _0x51a971=_0x10d65d;for(var _0x343726=_0x26defe>0x1?void 0x0:_0x26defe?_0x5eeb2e(_0x4ee44c,_0x298f3f):_0x4ee44c,_0x5a511b=_0x3a7fbb[_0x51a971(0x344)]-0x1,_0x156b2c;_0x5a511b>=0x0;_0x5a511b--)(_0x156b2c=_0x3a7fbb[_0x5a511b])&&(_0x343726=_0x156b2c(_0x343726)||_0x343726);return _0x343726;},_0x56388c=(_0x35a457,_0x23adca)=>(_0x1f9ccd,_0x10b955)=>_0x23adca(_0x1f9ccd,_0x10b955,_0x35a457);let _0x5d1eb3=class{constructor(_0x51e795,_0x5126cf){const _0x297939=_0x10d65d;this[_0x297939(0x3a1)]=_0x51e795,this['_transformService']=_0x5126cf;}[_0x10d65d(0x246)](_0x14c296){const _0x1b220a=_0x10d65d;var _0x1c3186;const _0x1af3c9=this[_0x1b220a(0x3a1)][_0x1b220a(0x3ec)](_0xa4499d[_0x1b220a(0x251)]),_0x26b3fc=(_0x1c3186=_0x1af3c9[_0x1b220a(0x43e)]())!=null?_0x1c3186:[];if(_0x26b3fc[_0x1b220a(0x344)]===0x0)return;const _0xe21473=_0x14c296[_0x1b220a(0x370)],_0x50c5b2=[{'id':_0x1b220a(0x3e4),'params':{'unitId':_0xe21473,'actions':null,'textRanges':_0x26b3fc}}],_0x55d9c3=this['_transformService'][_0x1b220a(0x336)](_0x14c296,_0x50c5b2);if(!_0x249f8c['isTransformMutationsWithChangesetSuccess'](_0x55d9c3))throw _0x55d9c3[_0x1b220a(0x357)];const _0x510328=_0x55d9c3[_0x1b220a(0x3c9)][0x0]['params'][_0x1b220a(0x1a8)];Array[_0x1b220a(0x1af)](_0x510328)&&_0x510328[_0x1b220a(0x344)]&&_0x1af3c9[_0x1b220a(0x1e0)](_0x510328,{'unitId':_0xe21473,'subUnitId':_0xe21473},!0x1);}};_0x5d1eb3=_0x4b396b([_0x56388c(0x0,_0x197d59[_0x10d65d(0x1de)](_0x197d59[_0x10d65d(0x270)])),_0x56388c(0x1,_0x249f8c['ITransformService'])],_0x5d1eb3);var _0x41dc4d=Object[_0x10d65d(0x17f)],_0x42f707=(_0x202658,_0x358595,_0x4a18b7,_0x436c5a)=>{const _0x270ffe=_0x10d65d;for(var _0x49b21f=_0x436c5a>0x1?void 0x0:_0x436c5a?_0x41dc4d(_0x358595,_0x4a18b7):_0x358595,_0x5eb906=_0x202658[_0x270ffe(0x344)]-0x1,_0x527788;_0x5eb906>=0x0;_0x5eb906--)(_0x527788=_0x202658[_0x5eb906])&&(_0x49b21f=_0x527788(_0x49b21f)||_0x49b21f);return _0x49b21f;},_0x2102db=(_0x238763,_0x40c686)=>(_0x2264ae,_0x404e15)=>_0x40c686(_0x2264ae,_0x404e15,_0x238763);let _0x10a052=class extends _0x197d59[_0x10d65d(0x308)]{constructor(_0x24ebff,_0x2a7637,_0x3e0a64,_0x591a5b,_0x357697,_0x3396cb,_0x59ddb9,_0x4b8413){const _0x24f0fb=_0x10d65d;super(),_0x3ab141(this,_0x24f0fb(0x39c),new _0x22ea33[(_0x24f0fb(0x3e8))](_0x51298c[_0x24f0fb(0x3aa)][_0x24f0fb(0x36a)])),(this[_0x24f0fb(0x3bd)]=_0x24ebff,this[_0x24f0fb(0x1bc)]=_0x2a7637,this['_docTransformIMECacheService']=_0x3e0a64,this[_0x24f0fb(0x38a)]=_0x591a5b,this[_0x24f0fb(0x3f4)]=_0x357697,this[_0x24f0fb(0x321)]=_0x3396cb,this[_0x24f0fb(0x319)]=_0x59ddb9,this[_0x24f0fb(0x1f6)]=_0x4b8413,this['_initEntityListener']());}['_initEntityListener'](){const _0x21adff=_0x10d65d;this[_0x21adff(0x406)](this[_0x21adff(0x1bc)]['entityInit$']['subscribe'](_0x546027=>{const _0x3386a3=_0x21adff,_0x2069e6=this[_0x3386a3(0x3bd)][_0x3386a3(0x1cb)][_0x3386a3(0x38e)](_0x2d2321=>{const _0x53e572=_0x3386a3;if(_0x2d2321==null)return;const {unitId:_0x41f933,redoState:_0x154234,commandId:_0x46d76e}=_0x2d2321;if(_0x41f933!==_0x546027['unitID'])return;const _0x323d6b={'id':_0x46d76e,'type':_0x197d59[_0x53e572(0x2e2)][_0x53e572(0x2f6)],'params':{'unitId':_0x41f933,'actions':_0x154234[_0x53e572(0x1d6)],'textRanges':null}};_0x546027[_0x53e572(0x2e5)](_0x323d6b);});if(_0x546027['disposeWithMe'](_0x2069e6),_0x546027 instanceof _0x51298c[_0x3386a3(0x2a8)]){const _0x1f7772={'onTransformIME':_0x44be75=>this['_docTransformIMECacheService']['transformIMECache'](_0x44be75),'onTransformState':_0x248d9e=>this['_docTransformStateCacheService'][_0x3386a3(0x354)](_0x248d9e),'onTransformSelections':_0x198cde=>this['_docTransformSelectionsService']['transformSelections'](_0x198cde),'onSyncEditingCollabCursor':_0x48ff39=>this[_0x3386a3(0x321)][_0x3386a3(0x1c5)](_0x48ff39),'onTransformRemoteChangesetByIMECache':_0xb786bc=>this[_0x3386a3(0x34c)][_0x3386a3(0x320)](_0xb786bc),'onTransformRemoteChangesetByStateCache':_0x21f884=>this[_0x3386a3(0x38a)][_0x3386a3(0x320)](_0x21f884)};_0x546027[_0x3386a3(0x26e)](_0x1f7772);}}));}};_0x10a052=_0x42f707([_0x2102db(0x0,_0x197d59['Inject'](_0x3b2259[_0x10d65d(0x312)])),_0x2102db(0x1,_0x197d59[_0x10d65d(0x1de)](_0x51298c['CollaborationController'])),_0x2102db(0x2,_0x197d59[_0x10d65d(0x1de)](_0x5a0166)),_0x2102db(0x3,_0x197d59['Inject'](_0x6d0f29)),_0x2102db(0x4,_0x197d59[_0x10d65d(0x1de)](_0x5d1eb3)),_0x2102db(0x5,_0x197d59['Inject'](_0x590b29)),_0x2102db(0x6,_0x5a190a['IMessageService']),_0x2102db(0x7,_0x197d59[_0x10d65d(0x1de)](_0x197d59[_0x10d65d(0x3b5)]))],_0x10a052);var _0x42e28c=(_0x5e95cb=>(_0x5e95cb[_0x5e95cb['UNDEFINED']=0x0]=_0x10d65d(0x44b),_0x5e95cb[_0x5e95cb['OK']=0x1]='OK',_0x5e95cb[_0x5e95cb['INTERNAL_ERROR']=0x2]='INTERNAL_ERROR',_0x5e95cb[_0x5e95cb[_0x10d65d(0x435)]=0x3]=_0x10d65d(0x435),_0x5e95cb[_0x5e95cb[_0x10d65d(0x3f3)]=0x4]=_0x10d65d(0x3f3),_0x5e95cb[_0x5e95cb[_0x10d65d(0x281)]=0x5]='UNAUTHENTICATED',_0x5e95cb[_0x5e95cb[_0x10d65d(0x303)]=0x6]=_0x10d65d(0x303),_0x5e95cb[_0x5e95cb[_0x10d65d(0x2a9)]=0x7]='INVALID_ARGUMENT',_0x5e95cb[_0x5e95cb[_0x10d65d(0x24b)]=0x8]=_0x10d65d(0x24b),_0x5e95cb[_0x5e95cb[_0x10d65d(0x42f)]=0x9]=_0x10d65d(0x42f),_0x5e95cb[_0x5e95cb['LOGIN_FAILED']=0xa]=_0x10d65d(0x3e3),_0x5e95cb[_0x5e95cb[_0x10d65d(0x348)]=0xb]=_0x10d65d(0x348),_0x5e95cb[_0x5e95cb[_0x10d65d(0x2e6)]=0xc]=_0x10d65d(0x2e6),_0x5e95cb[_0x5e95cb[_0x10d65d(0x2c3)]=0xd]='EMAIL_VERIFY_CODE_MISMATCH',_0x5e95cb[_0x5e95cb[_0x10d65d(0x3af)]=0xe]=_0x10d65d(0x3af),_0x5e95cb[_0x5e95cb[_0x10d65d(0x327)]=0xf]=_0x10d65d(0x327),_0x5e95cb[_0x5e95cb[_0x10d65d(0x2fe)]=0x10]=_0x10d65d(0x2fe),_0x5e95cb[_0x5e95cb[_0x10d65d(0x404)]=0x64]='CURRENT_STATUS_CANNOT_OPERATE',_0x5e95cb[_0x5e95cb[_0x10d65d(0x27c)]=0x65]='ERROR_AGAIN',_0x5e95cb[_0x5e95cb[_0x10d65d(0x23b)]=0xc9]=_0x10d65d(0x23b),_0x5e95cb[_0x5e95cb[_0x10d65d(0x3c8)]=0xca]=_0x10d65d(0x3c8),_0x5e95cb[_0x5e95cb[_0x10d65d(0x2fd)]=0x1389]=_0x10d65d(0x2fd),_0x5e95cb[_0x5e95cb[_0x10d65d(0x401)]=0x1771]='SNAPSHOT_INVALID_SNAPSHOT',_0x5e95cb[_0x5e95cb[_0x10d65d(0x2a0)]=0x1772]=_0x10d65d(0x2a0),_0x5e95cb[_0x5e95cb[_0x10d65d(0x2d2)]=0x1773]=_0x10d65d(0x2d2),_0x5e95cb[_0x5e95cb[_0x10d65d(0x31f)]=0x1b59]='APPLY_REJECT',_0x5e95cb[_0x5e95cb[_0x10d65d(0x42d)]=0x1b5a]='APPLY_NON_SEQUENTIAL_REVISION',_0x5e95cb[_0x5e95cb[_0x10d65d(0x385)]=0x1b5b]='APPLY_REVISION_CONFILICT',_0x5e95cb[_0x5e95cb[_0x10d65d(0x17b)]=0x1b5c]=_0x10d65d(0x17b),_0x5e95cb[_0x5e95cb['APPLY_DUPLICATED']=0x1b5d]=_0x10d65d(0x373),_0x5e95cb[_0x5e95cb[_0x10d65d(0x338)]=0x1f41]=_0x10d65d(0x338),_0x5e95cb[_0x5e95cb['LICENSE_MAX_UNITS_EXCEEDED']=0x2329]='LICENSE_MAX_UNITS_EXCEEDED',_0x5e95cb[_0x5e95cb[_0x10d65d(0x2b2)]=0x232a]='LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED',_0x5e95cb[_0x5e95cb[_0x10d65d(0x294)]=0x232b]=_0x10d65d(0x294),_0x5e95cb[_0x5e95cb[_0x10d65d(0x45e)]=0x232c]=_0x10d65d(0x45e),_0x5e95cb[_0x5e95cb['LICENSE_DISTRO_REJECTED']=0x232d]=_0x10d65d(0x247),_0x5e95cb[_0x5e95cb[_0x10d65d(0x340)]=0x2711]=_0x10d65d(0x340),_0x5e95cb[_0x5e95cb[_0x10d65d(0x367)]=0x2712]=_0x10d65d(0x367),_0x5e95cb[_0x5e95cb[_0x10d65d(0x1d2)]=0x2713]='YUUMI_RATE_OVER_LIMIT',_0x5e95cb[_0x5e95cb[_0x10d65d(0x313)]=0x2714]=_0x10d65d(0x313),_0x5e95cb[_0x5e95cb[_0x10d65d(0x25b)]=0x271a]=_0x10d65d(0x25b),_0x5e95cb[_0x5e95cb[_0x10d65d(0x31b)]=0x271b]=_0x10d65d(0x31b),_0x5e95cb[_0x5e95cb[_0x10d65d(0x413)]=0x271c]=_0x10d65d(0x413),_0x5e95cb[_0x5e95cb['YUUMI_ALL_TABLES_IS_INVALID']=0x271d]=_0x10d65d(0x1f7),_0x5e95cb[_0x5e95cb[_0x10d65d(0x3ce)]=0x271e]=_0x10d65d(0x3ce),_0x5e95cb[_0x5e95cb['YUUMI_AI_RUN_FAILED']=0x271f]=_0x10d65d(0x25f),_0x5e95cb[_0x5e95cb[_0x10d65d(0x17d)]=0x2720]=_0x10d65d(0x17d),_0x5e95cb[_0x5e95cb[_0x10d65d(0x2f3)]=0x2af9]=_0x10d65d(0x2f3),_0x5e95cb[_0x5e95cb[_0x10d65d(0x382)]=0x2ee1]=_0x10d65d(0x382),_0x5e95cb[_0x5e95cb[_0x10d65d(0x1dc)]=0x2ee2]=_0x10d65d(0x1dc),_0x5e95cb[_0x5e95cb[_0x10d65d(0x350)]=0x2ee3]=_0x10d65d(0x350),_0x5e95cb[_0x5e95cb[_0x10d65d(0x377)]=0x2ee4]=_0x10d65d(0x377),_0x5e95cb[_0x5e95cb[_0x10d65d(0x296)]=0x2ee5]='INVITE_CODE_ALREADY_BOUND',_0x5e95cb[_0x5e95cb[_0x10d65d(0x43f)]=0x32c9]=_0x10d65d(0x43f),_0x5e95cb[_0x5e95cb['MOBILE_HAS_BEEN_BOUND']=0x32ca]=_0x10d65d(0x200),_0x5e95cb[_0x5e95cb[_0x10d65d(0x297)]=0x32cb]=_0x10d65d(0x297),_0x5e95cb[_0x5e95cb[_0x10d65d(0x29f)]=0x36b1]=_0x10d65d(0x29f),_0x5e95cb[_0x5e95cb['ENTITLE_UPDOWN_GRADE_NOT_SUPPORT']=0x36b2]=_0x10d65d(0x21b),_0x5e95cb[_0x5e95cb[_0x10d65d(0x186)]=0x36b3]=_0x10d65d(0x186),_0x5e95cb[_0x5e95cb[_0x10d65d(0x2c0)]=0x36b4]=_0x10d65d(0x2c0),_0x5e95cb[_0x5e95cb[_0x10d65d(0x31a)]=0x3715]='ENTITLE_CHAT_LIMIT_EXCEED',_0x5e95cb[_0x5e95cb[_0x10d65d(0x305)]=0x3716]=_0x10d65d(0x305),_0x5e95cb[_0x5e95cb[_0x10d65d(0x216)]=0x3717]=_0x10d65d(0x216),_0x5e95cb[_0x5e95cb[_0x10d65d(0x1ec)]=0x37dd]='ENTITLE_NEED_BILLING_ADDRESS',_0x5e95cb[_0x5e95cb['REDEMPTION_INVALID_CODE']=0x3a99]=_0x10d65d(0x1db),_0x5e95cb[_0x5e95cb[_0x10d65d(0x299)]=0x3a9a]=_0x10d65d(0x299),_0x5e95cb[_0x5e95cb[_0x10d65d(0x1bf)]=0x3a9b]=_0x10d65d(0x1bf),_0x5e95cb[_0x5e95cb[_0x10d65d(0x25a)]=0x3a9c]='REDEMPTION_CODE_NOT_STARTED',_0x5e95cb[_0x5e95cb[_0x10d65d(0x1c6)]=0x3a9d]=_0x10d65d(0x1c6),_0x5e95cb[_0x5e95cb[_0x10d65d(0x1e4)]=0x3a9e]=_0x10d65d(0x1e4),_0x5e95cb[_0x5e95cb['REDEMPTION_CODE_HAS_BEEN_CREATED']=0x3a9f]='REDEMPTION_CODE_HAS_BEEN_CREATED',_0x5e95cb[_0x5e95cb['DATA_SOURCE_TOO_LARGE']=0x3e81]=_0x10d65d(0x2b8),_0x5e95cb[_0x5e95cb[_0x10d65d(0x44a)]=-0x1]=_0x10d65d(0x44a),_0x5e95cb))(_0x42e28c||{});function _0x280f12(_0x4478f3){const _0x54fdad=_0x10d65d;var _0x10d320,_0x5bf47d;const _0x2ca004=(_0x10d320=_0x4478f3[_0x54fdad(0x3df)])==null?void 0x0:_0x10d320['stage'],_0x579753=((_0x5bf47d=_0x4478f3[_0x54fdad(0x3df)])==null?void 0x0:_0x5bf47d[_0x54fdad(0x29a)])||0x0;return _0x2ca004===_0x1a5e73['FormulaExecuteStageType'][_0x54fdad(0x42c)]&&_0x579753>0x0;}function _0x38f6f8(_0x185015){const _0x51ae4e=_0x10d65d;return _0x185015[_0x51ae4e(0x2b1)]===_0x1a5e73[_0x51ae4e(0x37d)][_0x51ae4e(0x1c3)];}var _0x5251c6=Object[_0x10d65d(0x17f)],_0x24d99a=(_0x39a312,_0x8d527e,_0x33b21a,_0x50b494)=>{const _0x3c5f92=_0x10d65d;for(var _0x58c960=_0x50b494>0x1?void 0x0:_0x50b494?_0x5251c6(_0x8d527e,_0x33b21a):_0x8d527e,_0x1b824c=_0x39a312[_0x3c5f92(0x344)]-0x1,_0x41b136;_0x1b824c>=0x0;_0x1b824c--)(_0x41b136=_0x39a312[_0x1b824c])&&(_0x58c960=_0x41b136(_0x58c960)||_0x58c960);return _0x58c960;},_0x265e25=(_0x2b87e2,_0x171fb2)=>(_0x454c0d,_0x3c7add)=>_0x171fb2(_0x454c0d,_0x3c7add,_0x2b87e2);const _0x422c50=_0x10d65d(0x3e2),_0x1a80ac='/universer-api/license/formula/limit/start',_0x4a2d89=_0x10d65d(0x38c);let _0x5f305f=class extends _0x197d59[_0x10d65d(0x308)]{constructor(_0xd31d1a,_0x4a71e2,_0x29cfb6,_0x4987d3,_0x97e3e1,_0x5b1412,_0x53647a){const _0x1a3a7f=_0x10d65d;super(),_0x3ab141(this,_0x1a3a7f(0x1bb),null),_0x3ab141(this,_0x1a3a7f(0x3c7),0x0),_0x3ab141(this,_0x1a3a7f(0x378),0x0),_0x3ab141(this,_0x1a3a7f(0x449),[]),_0x3ab141(this,_0x1a3a7f(0x40b),0x0),(this[_0x1a3a7f(0x319)]=_0xd31d1a,this['_commandService']=_0x4a71e2,this[_0x1a3a7f(0x3d8)]=_0x29cfb6,this[_0x1a3a7f(0x213)]=_0x4987d3,this[_0x1a3a7f(0x1fb)]=_0x97e3e1,this[_0x1a3a7f(0x434)]=_0x5b1412,this['_localeService']=_0x53647a,this[_0x1a3a7f(0x205)]());}[_0x10d65d(0x205)](){const _0x1246d0=_0x10d65d;this[_0x1246d0(0x406)](this[_0x1246d0(0x456)][_0x1246d0(0x35a)]((_0x3da976,_0x103c3f)=>{const _0x262b63=_0x1246d0;var _0x12fed0;if(_0x3da976['id']!==_0x1a5e73['SetFormulaCalculationStartMutation']['id'])return;const _0x250218=_0x3da976[_0x262b63(0x380)];if(!this[_0x262b63(0x3ae)]((_0x12fed0=_0x250218[_0x262b63(0x432)])!=null?_0x12fed0:[]))return;if(!this[_0x262b63(0x34d)]())throw this['_checkAndWaitForCalculationPermission'](_0x3da976,_0x103c3f),this[_0x262b63(0x1f0)](),new _0x197d59[(_0x262b63(0x36b))]();})),this[_0x1246d0(0x406)](this['_commandService'][_0x1246d0(0x1e6)]((_0x4ca274,_0x1d80a3)=>{const _0x5ae814=_0x1246d0;if(_0x4ca274['id']!==_0x1a5e73[_0x5ae814(0x38b)]['id'])return;const _0x2e94e4=_0x4ca274['params'];if(_0x280f12(_0x2e94e4)){const _0x5dc03e=_0x197d59[_0x5ae814(0x310)]();this[_0x5ae814(0x449)][_0x5ae814(0x1e8)](_0x5dc03e),this[_0x5ae814(0x383)](_0x5dc03e);}else{if(_0x38f6f8(_0x2e94e4)&&this[_0x5ae814(0x449)]['length']>0x0){const _0x2a510c=this[_0x5ae814(0x449)][_0x5ae814(0x343)]();this[_0x5ae814(0x292)](_0x2a510c);}}}));}[_0x10d65d(0x195)](){const _0x12e3e8=_0x10d65d;super[_0x12e3e8(0x195)](),this['_clearPolling'](),this[_0x12e3e8(0x449)]=[],this[_0x12e3e8(0x378)]=0x0,this[_0x12e3e8(0x3c7)]=0x0,this[_0x12e3e8(0x40b)]=0x0;}async[_0x10d65d(0x253)](_0x2c0481,_0x3f5e7a){const _0x202aa8=_0x10d65d;for(let _0x47a1d=0x0;_0x47a1d<0x1e;_0x47a1d++)try{if(await this[_0x202aa8(0x2b3)](),this[_0x202aa8(0x34d)]()){this[_0x202aa8(0x440)](_0x2c0481,_0x3f5e7a),this[_0x202aa8(0x319)][_0x202aa8(0x400)]({'content':this[_0x202aa8(0x1f6)]['t'](_0x202aa8(0x1f5)),'type':_0xa9b0b1[_0x202aa8(0x1b5)][_0x202aa8(0x1ab)]});return;}await new Promise(_0x29216a=>{const _0x3096d2=_0x202aa8;this[_0x3096d2(0x1bb)]=window[_0x3096d2(0x2c4)](_0x29216a,0x3e8);});}catch(_0x561dc5){this[_0x202aa8(0x434)][_0x202aa8(0x357)](_0x561dc5);}this[_0x202aa8(0x319)][_0x202aa8(0x400)]({'content':this['_localeService']['t']('formula.calculation.unable'),'type':_0xa9b0b1[_0x202aa8(0x1b5)][_0x202aa8(0x24e)]});}[_0x10d65d(0x440)](_0xc3c31a,_0x105492){const _0x6b0c98=_0x10d65d;try{this[_0x6b0c98(0x456)][_0x6b0c98(0x1d4)](_0xc3c31a['id'],_0xc3c31a[_0x6b0c98(0x380)],_0x105492);}catch(_0x2f3f40){this[_0x6b0c98(0x434)][_0x6b0c98(0x357)](_0x2f3f40);}}[_0x10d65d(0x238)](_0x12979b,_0x1b1b59){const _0x46bba5=_0x10d65d;_0x1b1b59<this['_lastResponseTimestamp']||(this[_0x46bba5(0x40b)]=_0x1b1b59,this[_0x46bba5(0x3c7)]=Number[_0x46bba5(0x428)](_0x12979b[_0x46bba5(0x258)]),this[_0x46bba5(0x378)]=Number[_0x46bba5(0x428)](_0x12979b['currentUsage']));}async[_0x10d65d(0x383)](_0x4a5ac6){const _0x31b271=_0x10d65d;var _0x25f215,_0x3d004f;const _0x898b94=Date[_0x31b271(0x3eb)]();try{const _0x2bb9cb=((_0x25f215=this['_configService'][_0x31b271(0x271)](_0x51298c[_0x31b271(0x1a3)]))==null?void 0x0:_0x25f215[_0x31b271(0x3e0)])||_0x1a80ac,_0x38d835=(await this[_0x31b271(0x213)][_0x31b271(0x1d0)](_0x2bb9cb,{'body':JSON[_0x31b271(0x194)]({'taskId':_0x4a5ac6})}))[_0x31b271(0x417)];if(((_0x3d004f=_0x38d835[_0x31b271(0x357)])==null?void 0x0:_0x3d004f[_0x31b271(0x43b)])!==_0x42e28c['OK'])return;this[_0x31b271(0x238)](_0x38d835['limitInfo'],_0x898b94);}catch(_0x2d35d8){this[_0x31b271(0x434)][_0x31b271(0x357)](_0x2d35d8);}}async[_0x10d65d(0x2b3)](_0x175067){const _0x2d0332=_0x10d65d;var _0x1c97f5,_0x548b2c;const _0x226ac6=Date[_0x2d0332(0x3eb)]();try{const _0x283e65=((_0x1c97f5=this[_0x2d0332(0x3d8)][_0x2d0332(0x271)](_0x51298c[_0x2d0332(0x1a3)]))==null?void 0x0:_0x1c97f5[_0x2d0332(0x38d)])||_0x422c50,_0x126703=_0x175067?_0x283e65+'?taskId='+encodeURIComponent(_0x175067):_0x283e65,_0x4a6055=(await this[_0x2d0332(0x213)][_0x2d0332(0x3ec)](_0x126703))[_0x2d0332(0x417)];if(((_0x548b2c=_0x4a6055[_0x2d0332(0x357)])==null?void 0x0:_0x548b2c[_0x2d0332(0x43b)])!==_0x42e28c['OK'])return;this[_0x2d0332(0x238)](_0x4a6055[_0x2d0332(0x2ac)],_0x226ac6);}catch(_0x5a15d4){this[_0x2d0332(0x434)][_0x2d0332(0x357)](_0x5a15d4);}}async[_0x10d65d(0x292)](_0x593671){const _0xbb6e4a=_0x10d65d;var _0x2675b4,_0x7ad8a1;const _0x78cd1f=Date[_0xbb6e4a(0x3eb)]();try{const _0x5e3485=((_0x2675b4=this[_0xbb6e4a(0x3d8)][_0xbb6e4a(0x271)](_0x51298c[_0xbb6e4a(0x1a3)]))==null?void 0x0:_0x2675b4[_0xbb6e4a(0x32f)])||_0x4a2d89,_0x455f70=(await this[_0xbb6e4a(0x213)][_0xbb6e4a(0x1d0)](_0x5e3485,{'body':JSON['stringify']({'taskId':_0x593671})}))[_0xbb6e4a(0x417)];if(((_0x7ad8a1=_0x455f70['error'])==null?void 0x0:_0x7ad8a1[_0xbb6e4a(0x43b)])!==_0x42e28c['OK'])return;this[_0xbb6e4a(0x238)](_0x455f70[_0xbb6e4a(0x2ac)],_0x78cd1f);}catch(_0x21ccd3){this['_logService'][_0xbb6e4a(0x357)](_0x21ccd3);}}['_checkCalculationAvailable'](){const _0x138c4f=_0x10d65d;return this[_0x138c4f(0x3c7)]===0x0?!0x0:this[_0x138c4f(0x3c7)]-this[_0x138c4f(0x378)]>0x0;}[_0x10d65d(0x1f4)](){const _0x82abcc=_0x10d65d;this[_0x82abcc(0x1bb)]&&(clearTimeout(this[_0x82abcc(0x1bb)]),this[_0x82abcc(0x1bb)]=null);}[_0x10d65d(0x1f0)](){const _0x46573a=_0x10d65d;this[_0x46573a(0x319)][_0x46573a(0x400)]({'content':this[_0x46573a(0x1f6)]['t'](_0x46573a(0x225)),'type':_0xa9b0b1[_0x46573a(0x1b5)][_0x46573a(0x2da)]});}[_0x10d65d(0x3ae)](_0x39a85e){const _0x4b0504=_0x10d65d;for(const _0x21f117 of _0x39a85e){const {unitId:_0x465eb9,sheetId:_0x2322f6,range:_0x49eb92}=_0x21f117,_0x32638a=this['_univerInstanceService'][_0x4b0504(0x21e)](_0x465eb9);if(!_0x32638a)continue;const _0xf45610=_0x32638a['getSheetBySheetId'](_0x2322f6);if(!_0xf45610)continue;const _0x32bbe4=_0xf45610[_0x4b0504(0x306)]();for(let _0x292183=_0x49eb92[_0x4b0504(0x32a)];_0x292183<=_0x49eb92[_0x4b0504(0x1b2)];_0x292183++)for(let _0x5b941d=_0x49eb92['startColumn'];_0x5b941d<=_0x49eb92[_0x4b0504(0x2e7)];_0x5b941d++){const _0x58a41a=_0x32bbe4[_0x4b0504(0x215)](_0x292183,_0x5b941d);if(_0x58a41a&&(_0x197d59[_0x4b0504(0x1a0)](_0x58a41a['f'])||_0x197d59[_0x4b0504(0x409)](_0x58a41a['si'])))return!0x0;}}return!0x1;}};_0x5f305f=_0x24d99a([_0x265e25(0x0,_0x197d59[_0x10d65d(0x1de)](_0x5a190a['IMessageService'])),_0x265e25(0x1,_0x197d59[_0x10d65d(0x34a)]),_0x265e25(0x2,_0x197d59[_0x10d65d(0x27a)]),_0x265e25(0x3,_0x197d59[_0x10d65d(0x1de)](_0x7b80a[_0x10d65d(0x3dd)])),_0x265e25(0x4,_0x197d59[_0x10d65d(0x27e)]),_0x265e25(0x5,_0x197d59[_0x10d65d(0x439)]),_0x265e25(0x6,_0x197d59[_0x10d65d(0x1de)](_0x197d59[_0x10d65d(0x3b5)]))],_0x5f305f);var _0xba653b=Object['getOwnPropertyDescriptor'],_0x132c4f=(_0x4fb2a1,_0x17cacf,_0x412833,_0x25b4e1)=>{const _0x3842bc=_0x10d65d;for(var _0x136eb8=_0x25b4e1>0x1?void 0x0:_0x25b4e1?_0xba653b(_0x17cacf,_0x412833):_0x17cacf,_0x2a2b23=_0x4fb2a1[_0x3842bc(0x344)]-0x1,_0x4fc8bf;_0x2a2b23>=0x0;_0x2a2b23--)(_0x4fc8bf=_0x4fb2a1[_0x2a2b23])&&(_0x136eb8=_0x4fc8bf(_0x136eb8)||_0x136eb8);return _0x136eb8;},_0x4128b9=(_0x49d587,_0x12bca2)=>(_0x20360a,_0x3b492e)=>_0x12bca2(_0x20360a,_0x3b492e,_0x49d587);let _0x195ef9=class extends _0x197d59[_0x10d65d(0x308)]{constructor(_0x56435f,_0x43ff63,_0x304d73){const _0x120ec2=_0x10d65d;super(),_0x3ab141(this,_0x120ec2(0x264),new Map()),_0x3ab141(this,_0x120ec2(0x1dd),new Map()),_0x3ab141(this,'_disabled',!0x1),(this['_configService']=_0x56435f,this['_localStorageService']=_0x43ff63,this[_0x120ec2(0x3de)]=_0x304d73);}[_0x10d65d(0x1fc)](){const _0xc0d50c=_0x10d65d;this[_0xc0d50c(0x28c)]=!0x0;}[_0x10d65d(0x29e)](){const _0x45b819=_0x10d65d;this[_0x45b819(0x28c)]=!0x1;}get['saveTaskMap'](){const _0x5c5d89=_0x10d65d;return this[_0x5c5d89(0x1dd)];}[_0x10d65d(0x195)](){const _0x43b212=_0x10d65d;this['exhaustSavingTask']()['then'](()=>super[_0x43b212(0x195)]());}async[_0x10d65d(0x331)](_0x3436a0){const _0x367926=_0x10d65d;return this[_0x367926(0x28c)]?null:this[_0x367926(0x196)][_0x367926(0x23e)](_0x51298c['getLocalCacheKey'](_0x3436a0));}async[_0x10d65d(0x300)](_0x25090b,_0x161f65){const _0x31496e=_0x10d65d;return!!this[_0x31496e(0x196)][_0x31496e(0x3f0)](_0x25090b,_0x161f65);}['updateOfflineData'](_0x1d3650,_0x5177e0,_0x3c38cb,_0x45db8f){const _0x233695=_0x10d65d,_0x4a8426=this[_0x233695(0x3de)]['getCurrentRevOfUnit'](_0x1d3650);this['_cachedData'][_0x233695(0x3f2)](_0x1d3650,{'unitID':_0x1d3650,'type':_0x5177e0,'awaitingChangeset':_0x3c38cb,'mutations':_0x45db8f,'rev':_0x4a8426}),this[_0x233695(0x1dd)][_0x233695(0x1da)](_0x1d3650)||this[_0x233695(0x21f)](_0x1d3650);}[_0x10d65d(0x21f)](_0x37d92d){const _0x1f15c9=_0x10d65d,_0x33dfce=this['_getSaveTimeout']();_0x33dfce===0x0?this[_0x1f15c9(0x364)](_0x37d92d):this[_0x1f15c9(0x1dd)][_0x1f15c9(0x3f2)](_0x37d92d,setTimeout(()=>this[_0x1f15c9(0x364)](_0x37d92d),_0x33dfce));}['_getSaveTimeout'](){const _0x575c5b=_0x10d65d;var _0x2039d5;return(_0x2039d5=this[_0x575c5b(0x3d8)][_0x575c5b(0x271)](_0x51298c[_0x575c5b(0x1f9)]))!=null?_0x2039d5:_0x51298c[_0x575c5b(0x366)];}[_0x10d65d(0x364)](_0x407a7b){const _0x261b5c=_0x10d65d,_0x438ab2=this[_0x261b5c(0x1dd)][_0x261b5c(0x3ec)](_0x407a7b);return _0x438ab2!==void 0x0&&window[_0x261b5c(0x25e)](_0x438ab2),this[_0x261b5c(0x196)][_0x261b5c(0x3f0)](_0x51298c['getLocalCacheKey'](_0x407a7b),this[_0x261b5c(0x264)][_0x261b5c(0x3ec)](_0x407a7b))[_0x261b5c(0x18c)](()=>this[_0x261b5c(0x1dd)]['delete'](_0x407a7b));}async[_0x10d65d(0x2cd)](){const _0x44fca4=_0x10d65d,_0x1d89f0=[];this[_0x44fca4(0x1dd)][_0x44fca4(0x206)]((_0x2cd2da,_0x1b5a62)=>{const _0x5d0d98=_0x44fca4;window['clearTimeout'](_0x2cd2da),_0x1d89f0[_0x5d0d98(0x1e8)](this[_0x5d0d98(0x364)](_0x1b5a62)[_0x5d0d98(0x18c)](()=>{const _0x584c2f=_0x5d0d98;this['_saveTaskMap'][_0x584c2f(0x35e)](_0x1b5a62);}));}),await Promise[_0x44fca4(0x2ba)](_0x1d89f0);}};_0x195ef9=_0x132c4f([_0x4128b9(0x0,_0x197d59['IConfigService']),_0x4128b9(0x1,_0x197d59[_0x10d65d(0x250)]),_0x4128b9(0x2,_0x197d59[_0x10d65d(0x1de)](_0x249f8c[_0x10d65d(0x214)]))],_0x195ef9);class _0x58b1ad extends _0x197d59['RxDisposable']{constructor(){const _0x3e28cb=_0x10d65d;super(),_0x3ab141(this,_0x3e28cb(0x3fc)),this['urlChange$']=_0x22ea33['fromEvent'](window,_0x3e28cb(0x314))[_0x3e28cb(0x2be)](_0x22ea33[_0x3e28cb(0x41f)](this[_0x3e28cb(0x29c)]),_0x22ea33[_0x3e28cb(0x2f0)](0x1),_0x22ea33[_0x3e28cb(0x267)](void 0x0));}[_0x10d65d(0x42e)](_0x14d7cb,_0x29e19e,_0x3cf8fc=!0x1){const _0x1935d8=_0x10d65d,_0x4ec8b2=new URL(window[_0x1935d8(0x2e8)][_0x1935d8(0x433)]);_0x4ec8b2[_0x1935d8(0x19d)][_0x1935d8(0x3f2)](_0x14d7cb,_0x29e19e),_0x3cf8fc?window[_0x1935d8(0x3f8)][_0x1935d8(0x179)]('','',_0x4ec8b2[_0x1935d8(0x3cd)]()):window[_0x1935d8(0x3f8)]['pushState']('','',_0x4ec8b2['toString']());}[_0x10d65d(0x21c)](_0x36aaf7,_0x4fce96=!0x1){const _0x242fda=_0x10d65d,_0xb70444=new URL(window['location']['href']);_0xb70444[_0x242fda(0x19d)][_0x242fda(0x35e)](_0x36aaf7),_0x4fce96?window[_0x242fda(0x3f8)][_0x242fda(0x179)]('','',_0xb70444['toString']()):window[_0x242fda(0x3f8)][_0x242fda(0x1fe)]('','',_0xb70444[_0x242fda(0x3cd)]());}[_0x10d65d(0x426)](_0x3a03d2){const _0x2e817=_0x10d65d;var _0x4edfa4;return(_0x4edfa4=new URL(window[_0x2e817(0x2e8)][_0x2e817(0x433)])[_0x2e817(0x19d)]['get'](_0x3a03d2))!=null?_0x4edfa4:void 0x0;}}var _0x202af2=Object[_0x10d65d(0x41a)],_0x1a76cd=Object[_0x10d65d(0x17f)],_0x1c0bb9=(_0x16779c,_0x4ba8e3,_0x1c99ed)=>_0x4ba8e3 in _0x16779c?_0x202af2(_0x16779c,_0x4ba8e3,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x1c99ed}):_0x16779c[_0x4ba8e3]=_0x1c99ed,_0x1e7fb0=(_0x7fbdce,_0x4497d0,_0x538140,_0x3aaebd)=>{for(var _0x95b6f3=_0x3aaebd>0x1?void 0x0:_0x3aaebd?_0x1a76cd(_0x4497d0,_0x538140):_0x4497d0,_0x57ec35=_0x7fbdce['length']-0x1,_0x406627;_0x57ec35>=0x0;_0x57ec35--)(_0x406627=_0x7fbdce[_0x57ec35])&&(_0x95b6f3=_0x406627(_0x95b6f3)||_0x95b6f3);return _0x95b6f3;},_0xef7021=(_0x36d4d2,_0x10be5a)=>(_0x1ee497,_0x1d7970)=>_0x10be5a(_0x1ee497,_0x1d7970,_0x36d4d2),_0x48a8dd=(_0x407a22,_0x1ef3e5,_0xd86291)=>_0x1c0bb9(_0x407a22,_0x1ef3e5+'',_0xd86291);const _0x4da431=_0x10d65d(0x395);_0x2a5145[_0x10d65d(0x3c2)]=class extends _0x197d59[_0x10d65d(0x227)]{constructor(_0x579346=_0x18365a,_0x36ef4c,_0x2183bc,_0x40ae7d){const _0x534e34=_0x10d65d;super(),this[_0x534e34(0x20a)]=_0x579346,this['_renderManagerService']=_0x36ef4c,this[_0x534e34(0x3a1)]=_0x2183bc,this[_0x534e34(0x3d8)]=_0x40ae7d;const {..._0xedf59f}=_0x197d59[_0x534e34(0x339)]({},_0x18365a,this[_0x534e34(0x20a)]);this['_configService'][_0x534e34(0x309)](_0x51fecf,_0xedf59f);}[_0x10d65d(0x272)](){const _0x268477=_0x10d65d;this[_0x268477(0x235)](),this[_0x268477(0x341)]();}['onRendered'](){const _0x5934f0=_0x10d65d;this[_0x5934f0(0x2df)]();}[_0x10d65d(0x235)](){const _0xda7da9=_0x10d65d;var _0x338cfa;const _0x4831cc=[[_0x4bb0e6],[_0x5f305f],[_0x5d1eb3],[_0x5a0166],[_0x6d0f29],[_0x590b29],[_0x2e52dc,{'useClass':_0x58b1ad}],[_0x7b80a['ISocketService'],{'useClass':_0x7b80a[_0xda7da9(0x39d)]}],[_0x51298c['ILocalCacheService'],{'useClass':_0x195ef9}],[_0x2a5145[_0xda7da9(0x28d)]],[_0x10a052],[_0x391c06],[_0x440f4b],[_0x3aba9a],[_0x2a5145[_0xda7da9(0x3cb)]]];this[_0xda7da9(0x20a)][_0xda7da9(0x3fe)]&&_0x4831cc['push']([_0x2935d7]),_0x197d59['registerDependencies'](this[_0xda7da9(0x3a1)],_0x197d59[_0xda7da9(0x372)](_0x4831cc,(_0x338cfa=this[_0xda7da9(0x20a)])==null?void 0x0:_0x338cfa[_0xda7da9(0x1c9)]));}['_registerRenderDependencies'](){const _0x22ff9a=_0x10d65d;this[_0x22ff9a(0x406)](this[_0x22ff9a(0x22d)]['registerRenderModule'](_0x197d59[_0x22ff9a(0x36e)]['UNIVER_DOC'],[_0x22d195])),this[_0x22ff9a(0x406)](this[_0x22ff9a(0x22d)][_0x22ff9a(0x1ce)](_0x197d59[_0x22ff9a(0x36e)][_0x22ff9a(0x3b8)],[_0x30a955]));}[_0x10d65d(0x341)](){const _0x35515e=_0x10d65d;_0x197d59['touchDependencies'](this['_injector'],[[_0x440f4b],[_0x2a5145[_0x35515e(0x28d)]],[_0x10a052],[_0x391c06],[_0x2a5145[_0x35515e(0x3cb)]],[_0x5f305f]]),this[_0x35515e(0x20a)][_0x35515e(0x3fe)]&&_0x197d59[_0x35515e(0x184)](this[_0x35515e(0x3a1)],[[_0x2935d7]]);}},_0x48a8dd(_0x2a5145['UniverCollaborationClientUIPlugin'],'pluginName',_0x4da431),_0x2a5145[_0x10d65d(0x3c2)]=_0x1e7fb0([_0x197d59[_0x10d65d(0x398)](_0x51298c[_0x10d65d(0x2f4)]),_0xef7021(0x1,_0x4ef8d4[_0x10d65d(0x359)]),_0xef7021(0x2,_0x197d59[_0x10d65d(0x1de)](_0x197d59['Injector'])),_0xef7021(0x3,_0x197d59[_0x10d65d(0x27a)])],_0x2a5145[_0x10d65d(0x3c2)]);var _0x16465c=Object[_0x10d65d(0x17f)],_0x2304c6=(_0x1089c8,_0x6c1ceb,_0x46ed7e,_0x14eebc)=>{const _0x18b700=_0x10d65d;for(var _0x3864fe=_0x14eebc>0x1?void 0x0:_0x14eebc?_0x16465c(_0x6c1ceb,_0x46ed7e):_0x6c1ceb,_0x4df99b=_0x1089c8[_0x18b700(0x344)]-0x1,_0xd8d011;_0x4df99b>=0x0;_0x4df99b--)(_0xd8d011=_0x1089c8[_0x4df99b])&&(_0x3864fe=_0xd8d011(_0x3864fe)||_0x3864fe);return _0x3864fe;},_0xe5098a=(_0x15ef67,_0x448084)=>(_0x359341,_0x58d066)=>_0x448084(_0x359341,_0x58d066,_0x15ef67);_0x2a5145[_0x10d65d(0x239)]=class extends _0x51298c['CollaborationSocketService']{constructor(_0x5e6241,_0x428b4f,_0x5a7f56,_0x3d7357,_0x5cfd98){super(_0x5e6241,_0x428b4f,_0x5a7f56,_0x3d7357,_0x5cfd98);}async[_0x10d65d(0x422)](_0x3ee8de){const _0x334f62=_0x10d65d,_0x267a14=await this[_0x334f62(0x35b)](),_0x4a2a62=this['_createSocketURL'](_0x3ee8de,_0x267a14);return this[_0x334f62(0x30c)](_0x4a2a62);}['_createSocketURL'](_0x1bcf2d,_0x2bcd8e){const _0xe83c7b=_0x10d65d,_0x5ecafe=typeof window>'u'?new URL(_0x1bcf2d):new URL(_0x1bcf2d,window['location'][_0xe83c7b(0x1e2)]);_0x5ecafe[_0xe83c7b(0x19d)][_0xe83c7b(0x3f2)]('sessionTicket',_0x2bcd8e);const _0x52a328=typeof window>'u'?new URLSearchParams():new URLSearchParams(window[_0xe83c7b(0x2e8)][_0xe83c7b(0x316)]);return _0x52a328['get'](_0xe83c7b(0x1d1))&&_0x5ecafe[_0xe83c7b(0x19d)]['set'](_0xe83c7b(0x1d1),_0x52a328['get'](_0xe83c7b(0x1d1))),_0x5ecafe['toString']();}async[_0x10d65d(0x35b)](){const _0x4a0cf9=_0x10d65d;var _0x171b25,_0x18f74b,_0x4b92d7;const _0x1fe344=this['_configService'][_0x4a0cf9(0x271)](_0x51298c[_0x4a0cf9(0x1a3)]),_0x52be3b=(_0x171b25=_0x1fe344==null?void 0x0:_0x1fe344[_0x4a0cf9(0x411)])!=null?_0x171b25:_0x51298c[_0x4a0cf9(0x396)];return(_0x4b92d7=(_0x18f74b=(await this['_httpService']['get'](_0x52be3b,{'headers':{'Content-Type':_0x4a0cf9(0x1ea)}}))[_0x4a0cf9(0x417)])==null?void 0x0:_0x18f74b[_0x4a0cf9(0x190)])!=null?_0x4b92d7:'';}},_0x2a5145[_0x10d65d(0x239)]=_0x2304c6([_0xe5098a(0x0,_0x197d59['Inject'](_0x197d59['Injector'])),_0xe5098a(0x1,_0x197d59[_0x10d65d(0x1de)](_0x7b80a['HTTPService'])),_0xe5098a(0x2,_0x197d59['IConfigService']),_0xe5098a(0x3,_0x197d59['ILogService']),_0xe5098a(0x4,_0x249f8c[_0x10d65d(0x178)])],_0x2a5145['BrowserCollaborationSocketService']);var _0x117262=Object[_0x10d65d(0x17f)],_0x11ad75=(_0x283ab6,_0x21b1ab,_0x2350ae,_0x3b0929)=>{for(var _0x514773=_0x3b0929>0x1?void 0x0:_0x3b0929?_0x117262(_0x21b1ab,_0x2350ae):_0x21b1ab,_0x294488=_0x283ab6['length']-0x1,_0x379b21;_0x294488>=0x0;_0x294488--)(_0x379b21=_0x283ab6[_0x294488])&&(_0x514773=_0x379b21(_0x514773)||_0x514773);return _0x514773;},_0xe670c7=(_0x53499d,_0x354f90)=>(_0x4edf1c,_0x3381d0)=>_0x354f90(_0x4edf1c,_0x3381d0,_0x53499d);_0x2a5145[_0x10d65d(0x3bf)]=class extends _0x197d59['Disposable']{constructor(_0x1602ef,_0x5dd7e9,_0x415511){const _0x2b7298=_0x10d65d;super(),this['_instanceService']=_0x1602ef,this[_0x2b7298(0x213)]=_0x5dd7e9,this[_0x2b7298(0x3d8)]=_0x415511;}async[_0x10d65d(0x2f9)](_0x5052ab,_0x254fa1,_0x1a6c5b,..._0x529562){const _0x549320=_0x10d65d;var _0x3b363d,_0xb4d816,_0x274da2,_0x18a7ac;const _0x4036e1=this[_0x549320(0x391)]['getFocusedUnit']();if(!_0x4036e1)throw new Error(_0x549320(0x2b7));const _0x303015=((_0x3b363d=this[_0x549320(0x3d8)]['getConfig'](_0x51298c[_0x549320(0x25c)]))!=null?_0x3b363d:_0x51298c[_0x549320(0x2ff)])+'/'+_0x5052ab+_0x549320(0x3c3)+_0x254fa1,_0x25f0a1=new URL(window[_0x549320(0x2e8)][_0x549320(0x433)]),_0x2e893b={'scriptId':_0x5052ab,'runId':(_0xb4d816=_0x25f0a1['searchParams'][_0x549320(0x3ec)](_0x549320(0x1d1)))!=null?_0xb4d816:'','function':_0x254fa1,'unitId':_0x4036e1[_0x549320(0x2ca)](),'argsOfFunction':JSON[_0x549320(0x194)](_0x529562),'invokeId':(_0x274da2=_0x1a6c5b[_0x549320(0x199)])!=null?_0x274da2:'','executionId':(_0x18a7ac=_0x1a6c5b[_0x549320(0x28e)])!=null?_0x18a7ac:''};try{const _0x19387a=await this['_httpService']['post'](_0x303015,{'body':_0x2e893b});return _0x19387a[_0x549320(0x417)]['error']&&_0x19387a[_0x549320(0x417)][_0x549320(0x357)][_0x549320(0x43b)]!==_0x42e28c['OK']?_0x549320(0x2f7):_0x19387a[_0x549320(0x417)][_0x549320(0x386)];}catch{return _0x549320(0x2f7);}}},_0x2a5145[_0x10d65d(0x3bf)]=_0x11ad75([_0xe670c7(0x0,_0x197d59['IUniverInstanceService']),_0xe670c7(0x1,_0x197d59[_0x10d65d(0x1de)](_0x7b80a['HTTPService'])),_0xe670c7(0x2,_0x197d59[_0x10d65d(0x27a)])],_0x2a5145[_0x10d65d(0x3bf)]);const _0x23d698=0x7530,_0x5ed467='ACTIVE_UNIT_EVENT_CHANNEL';class _0x2365be extends _0x197d59[_0x10d65d(0x308)]{constructor(){const _0x153bba=_0x10d65d;super(),_0x3ab141(this,_0x153bba(0x237),_0x197d59[_0x153bba(0x310)]()),_0x3ab141(this,_0x153bba(0x287),new Set()),_0x3ab141(this,_0x153bba(0x3c1),new Map()),_0x3ab141(this,_0x153bba(0x405),null),_0x3ab141(this,_0x153bba(0x1ee),new Map()),_0x3ab141(this,_0x153bba(0x436),new Map()),this['_init']();}['dispose'](){const _0x2bda60=_0x10d65d;super['dispose'](),this[_0x2bda60(0x1ee)][_0x2bda60(0x206)]((_0x1074c0,_0x20e0ad)=>this['_removeClearOtherTimer'](_0x20e0ad)),this[_0x2bda60(0x405)]&&window[_0x2bda60(0x37b)](this[_0x2bda60(0x405)]);}[_0x10d65d(0x2d9)](_0x4c77c9){const _0xd39117=_0x10d65d;return this[_0xd39117(0x1ff)](_0x4c77c9)[_0xd39117(0x2be)](_0x22ea33['distinctUntilChanged']());}['editingUnit'](_0x562ef0){const _0x270ac3=_0x10d65d;this[_0x270ac3(0x287)][_0x270ac3(0x293)]===0x0&&this[_0x270ac3(0x37a)](),this[_0x270ac3(0x287)][_0x270ac3(0x2ce)](_0x562ef0),this[_0x270ac3(0x2dc)]({'type':0x0,'memberID':this[_0x270ac3(0x237)],'unitIDs':[_0x562ef0],'isForwarded':!0x1});}[_0x10d65d(0x2d5)](_0x3e3916){const _0x3315cd=_0x10d65d;this['_selfUnitIDs']['delete'](_0x3e3916),this[_0x3315cd(0x287)][_0x3315cd(0x293)]===0x0&&this[_0x3315cd(0x405)]&&window[_0x3315cd(0x37b)](this['_heartbeatTimer']);}[_0x10d65d(0x36d)](){const _0x2ddd38=_0x10d65d;this[_0x2ddd38(0x406)](_0x197d59[_0x2ddd38(0x457)](_0x22ea33['fromEvent'](window,_0x2ddd38(0x41d))['subscribe'](_0x57406f=>{const _0x2425c0=_0x2ddd38;if(_0x57406f[_0x2425c0(0x38f)]!==_0x5ed467||!_0x57406f[_0x2425c0(0x236)])return;const _0x58f325=JSON[_0x2425c0(0x177)](_0x57406f[_0x2425c0(0x236)]);this['_handleEvent'](_0x58f325);}))),window['addEventListener'](_0x2ddd38(0x2cc),()=>this[_0x2ddd38(0x2dc)]({'type':0x1,'memberID':this['_id'],'unitIDs':Array['from'](this[_0x2ddd38(0x287)])}));}[_0x10d65d(0x335)](_0x4b4030){const _0x312bc9=_0x10d65d;switch(_0x4b4030['type']){case 0x0:this[_0x312bc9(0x3b3)](_0x4b4030);break;case 0x1:this[_0x312bc9(0x3e6)](_0x4b4030);break;case 0x2:this[_0x312bc9(0x458)](_0x4b4030);break;}}[_0x10d65d(0x3b3)](_0x8b824){const _0x224a7d=_0x10d65d,{unitIDs:_0x3fe0a2,memberID:_0x34d79f,isForwarded:_0x31784b}=_0x8b824;_0x3fe0a2[_0x224a7d(0x206)](_0xc7f26b=>{const _0x2406b9=_0x224a7d;if(!_0x31784b&&this[_0x2406b9(0x3c1)][_0x2406b9(0x1da)](_0xc7f26b)&&this[_0x2406b9(0x1ff)](_0xc7f26b)['next'](_0x51298c[_0x2406b9(0x34b)][_0x2406b9(0x279)]),!this[_0x2406b9(0x3c1)][_0x2406b9(0x1da)](_0xc7f26b)||!this[_0x2406b9(0x3c1)]['get'](_0xc7f26b)[_0x2406b9(0x1da)](_0x34d79f)){const _0x1237d4=this[_0x2406b9(0x3c1)][_0x2406b9(0x3ec)](_0xc7f26b)||new Set();_0x1237d4[_0x2406b9(0x2ce)](_0x34d79f),this[_0x2406b9(0x3c1)][_0x2406b9(0x3f2)](_0xc7f26b,_0x1237d4),this[_0x2406b9(0x384)](_0x34d79f);}}),_0x31784b||this[_0x224a7d(0x2dc)]({'type':0x0,'memberID':this[_0x224a7d(0x237)],'unitIDs':[...this[_0x224a7d(0x287)]],'isForwarded':!0x0});}[_0x10d65d(0x384)](_0x3d09a5){const _0x13e8fa=_0x10d65d;this[_0x13e8fa(0x198)](_0x3d09a5);const _0x51475b=window[_0x13e8fa(0x2c4)](()=>{const _0x4735d4=_0x13e8fa;this[_0x4735d4(0x3c1)][_0x4735d4(0x206)](_0x5e9194=>{_0x5e9194['delete'](_0x3d09a5);});},_0x23d698*0x2);this[_0x13e8fa(0x1ee)][_0x13e8fa(0x3f2)](_0x3d09a5,_0x51475b);}[_0x10d65d(0x198)](_0x55dbd3){const _0x18b28e=_0x10d65d;if(this[_0x18b28e(0x1ee)]['has'](_0x55dbd3)){const _0x6b81e9=this[_0x18b28e(0x1ee)]['get'](_0x55dbd3);_0x6b81e9&&window[_0x18b28e(0x25e)](_0x6b81e9),this['_clearOtherTimers'][_0x18b28e(0x3f2)](_0x55dbd3,null);}}[_0x10d65d(0x3e6)](_0x5b6a62){const _0x5119e6=_0x10d65d,{memberID:_0x36343c,unitIDs:_0xf5e8cf}=_0x5b6a62;_0xf5e8cf[_0x5119e6(0x206)](_0x13db24=>{const _0x171ec5=_0x5119e6;var _0x571926;const _0x58429e=this[_0x171ec5(0x3c1)][_0x171ec5(0x3ec)](_0x13db24);_0x58429e&&(_0x58429e[_0x171ec5(0x35e)](_0x36343c),(_0x571926=this[_0x171ec5(0x1ff)](_0x13db24))==null||_0x571926[_0x171ec5(0x2a6)](_0x58429e[_0x171ec5(0x293)]===0x0?_0x51298c['UnitStatus'][_0x171ec5(0x2ab)]:_0x51298c['UnitStatus']['OTHER_CLIENTS_EDITING']));}),this[_0x5119e6(0x198)](_0x36343c);}['_handleHeartbeatEvent'](_0x2944b4){const _0x58d698=_0x10d65d;this[_0x58d698(0x384)](_0x2944b4[_0x58d698(0x2a7)]);}['_send'](_0x40a117){const _0x5eb9f8=_0x10d65d;localStorage[_0x5eb9f8(0x3f0)](_0x5ed467,JSON[_0x5eb9f8(0x194)](_0x40a117));}[_0x10d65d(0x37a)](){const _0x777e1c=_0x10d65d;this[_0x777e1c(0x405)]=window[_0x777e1c(0x1cc)](()=>{const _0x301064=_0x777e1c;this[_0x301064(0x2dc)]({'type':0x2,'memberID':this['_id']});},_0x23d698);}[_0x10d65d(0x1ff)](_0x4b5c4f){const _0x55eb1c=_0x10d65d;return this['_unitStatus']['has'](_0x4b5c4f)||this[_0x55eb1c(0x436)][_0x55eb1c(0x3f2)](_0x4b5c4f,new _0x22ea33['BehaviorSubject'](_0x51298c[_0x55eb1c(0x34b)][_0x55eb1c(0x2ab)])),this[_0x55eb1c(0x436)][_0x55eb1c(0x3ec)](_0x4b5c4f);}}_0x2a5145['IURLService']=_0x2e52dc,_0x2a5145[_0x10d65d(0x1fd)]=_0x49000f,_0x2a5145[_0x10d65d(0x2c2)]=_0x2365be,_0x2a5145[_0x10d65d(0x33b)]=_0x58b1ad,Object[_0x10d65d(0x41a)](_0x2a5145,Symbol[_0x10d65d(0x1b4)],{'value':'Module'});}));function _0x3b56(_0x27e290,_0x57b409){const _0x41f707=_0x41f7();return _0x3b56=function(_0x3b56e1,_0x140f3a){_0x3b56e1=_0x3b56e1-0x177;let _0x1951e9=_0x41f707[_0x3b56e1];return _0x1951e9;},_0x3b56(_0x27e290,_0x57b409);}function _0x41f7(){const _0x47ad17=['_monkeyPatchLogService','top','_disabled','DesktopCollaborationStatusDisplayController','executionId','map','_hovered','_refRangeService','_releaseCalculationLimit','size','LICENSE_IMPORT_SIZE_EXCEEDED','blue.400','INVITE_CODE_ALREADY_BOUND','EMAIL_HAS_BEEN_BOUND','UniverNetwork','REDEMPTION_CODE_INACTIVE','totalFormulasToCalculate','0\x200\x2016\x2016','dispose$','CollaborationUIEventId','enableLocalCache','ENTITLE_CAN_NOT_BUY_LOWER_OTP','SNAPSHOT_HAS_BEEN_REMOVED','_updateCollabCursors','0\x200\x2017\x2016','_name','url(#on-line-icon_clip0_910_349)','setAlpha','next','memberID','DocCollaborationEntity','INVALID_ARGUMENT','IImageIoService','NO_OTHER_CLIENTS_EDITING','limitInfo','collab-rect-range-','redoState','_onCursorDelete','DeleteRangeMoveUpCommandId','functionsExecutedState','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','_getFormulaLimitStatus','reconnect','VIEW_MAIN','isTransformMutationFailure','[RemoteUniscriptService]:\x20no\x20focused\x20unit','DATA_SOURCE_TOO_LARGE','_colorAssignService','all','_transformService','_imageIoService','CollaborationEvent','pipe','off-line-icon','PAYMENT_CHANNEL_NOT_SUPPORT','transformMutation','WebBrowserSingleActiveUnitService','EMAIL_VERIFY_CODE_MISMATCH','setTimeout','collabCursorState$','_context','debounce','message','_backgroundColor','getUnitId','evenodd','unload','exhaustSavingTask','add','white','arc','drawWith','ENSURE_SNAPSHOT_EXECUTION','_cursorShapes','MemberService','disposeUnit','selection','unsubscribe','tag','getUnitStatus$','Loading','ONLINE','_send','getTypeOfUnitAdded$','selections','_registerRenderDependencies','_hideTimer','_hover','CommandType','Warning','_getAnchorBounding','onLocalMutation','MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','endColumn','location','collabStatus.synced','fillRule','react/jsx-runtime','displayName','SessionStatus','_setupBeforeClosingHandler','IMessageService','shareReplay','_onRefRangeChange','_removeCollabCursors','PY_RUNTIME_SCRIPT_ERROR','UniverCollaborationClientPlugin','assignAColorForMemberID','MUTATION','Failed','_transformPreviousActiveRange','runOnServer','handleInsertRow','send','_transformUndoRedoStack','CHANGESET_REVISION_CONFILICT','LOGIN_TOKEN_PROCESSING_FAILED','DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','saveOfflineData','idSuffix','UniverRpc','ALREADY_EXISTS','activeSheet$','ENTITLE_REPORT_LIMIT_EXCEED','getCellMatrix','socket$','Disposable','setConfig','RichTextEditingMutation','div','_doCreateSocket','AWAITING','_dataLoaderService','getViewport','generateRandomId','ITransformService','DocStateChangeManagerService','YUUMI_SUBSCRIPTION_NOT_FOUND','popstate','saveImage','search','@univerjs/docs-ui','asObservable','_messageService','ENTITLE_CHAT_LIMIT_EXCEED','YUUMI_ASYNCIO_CANCELLED','SOCKET_FAILED','name','deepClone','APPLY_REJECT','transformRemoteChangeset','_docSyncEditingCollabCursorService','getTypeOfUnitDisposed$','addEventListener','M0\x200H16V16H0z','handleMoveRange','OFFLINE','AUTHORIZE_CODE_ILLEGAL','rxjs/operators','collabStatus.syncing','startRow','EffectRefRangId','xlink:href','current','_collabCursorController','releaseFormulaLimitUrl','_eventUnsubscribe','loadOfflineData','RefRangeService','svg','[Window\x20Error]:\x20','_handleEvent','transformMutationsWithChangeset','getColorFromTheme','CONNECTOR_DATA_TOO_LARGE','merge','@univerjs-pro/collaboration','WebURLService','requireSession','getAncestorScale','RegularPolygon','_anchorDot','YUUMI_UNABLE_LOAD_URL','_initDependencies','status$','shift','length','react','getUniverSheetInstance','@univerjs/ui','MOBILE_VERIFY_CODE_MISMATCH','imageSourceType','ICommandService','UnitStatus','_docTransformIMECacheService','_checkCalculationAvailable','1em','subscribeEvent','INVITE_CODE_REQUIRED','_collabSessionService','eventID','text','transformStateCache','_memberID','undoState','error','Workbook','IRenderManagerService','beforeCommandExecuted','_getSessionTicket','session.will-retry','mutations','delete','193492Tcjixe','unshift','TEXT','debug','permission.title','_saveCache','@univerjs/engine-formula','LOCAL_CACHE_INTERVAL','YUUMI_URL_COL_OUT_OF_RANGE','cursorInfo$','UNIVER_DOC','NOT_COLLAB','CanceledError','Rectangle','_init','UniverInstanceType','...','unitID','getCollabEntity$','mergeOverrideWithDependencies','APPLY_DUPLICATED','init','713555SdrFYs','CollaborationUIEventService','USER_NOT_INVITED_CODE','_currentUsage','setUndoRedoMutationParamsCache','_scheduleHeartbeat','clearInterval','_startDocCollabCursor','FormulaExecutedStateType','operators','TEXT_RANGE_LAYER_INDEX','params','262983dgrGcQ','INVITE_CODE_HAS_BEEN_UES','_startCalculationLimit','_scheduleClearOtherTimer','APPLY_REVISION_CONFILICT','result','combineLatest','Tools','No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','_docTransformStateCacheService','SetFormulaCalculationNotificationMutation','/universer-api/license/formula/limit/done','getformulaLimitStatusUrl','subscribe','key','NodePositionConvertToCursor','_instanceService','DOC_RANGE_TYPE','setShapeProps','collabStatus.fetchMiss','UNIVER_COLLABORATION_CLIENT_WEB_PLUGIN','DEFAULT_WS_SESSION_TICKET_URL','_startSheetCollabCursor','DependentOn','_draw','HEADER_MENU','unit','_status$','WebSocketService','setStateCache','green.600','_themeService','_injector','with','use','_session','join','subUnitId','createElement','stack','_colorIndex','CollaborationStatus','1288269klGQcL','_labelPosition','Tooltip','_hasFormulaInDirtyRanges','EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','CollaborationSessionService','measureText','getFocusedUnit','_handleJoinEvent','_getSheetObject','LocaleService','deserializeRangeWithSheet','Shape','UNIVER_SHEET','subunit','sessionStatus$','_initUserListener','_initStatusListener','_docStateChangeManagerService','getMemberID','RemoteUniscriptService','registerComponent','_unitOnClients','UniverCollaborationClientUIPlugin','/run/','backgroundColor','OffLineIcon','findNodePositionByCharIndex','_maxFormulaLimit','USER_IS_ANONYMOUS','m2Prime','some','CollaborationDataLoaderController','unitId','toString','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','\x20at\x20','getSkeleton','debounceTime','handleInsertCol','trim','MoveRangeCommandId','collab-text-range-','SheetSkeletonManagerService','makeDirty','_configService','switchMap','jsxs','onPointerEnter$','sheetId','HTTPService','_revisionService','stageInfo','startFormulaLimitUrl','currentColor','/universer-api/license/formula/limit/status','LOGIN_FAILED','doc.mutation.rich-text-editing','UniverSheetsUi','_handleLeaveEvent','none','BehaviorSubject','collab-text-anchor-','IRemoteInstanceService','now','get','collaboration.closeRoom','useRef','children','setItem','string','set','NOT_FOUND','_docTransformSelectionsService','row','range','SetTextSelectionsOperation','history','onMouseMove','_drawRectRange','isEditing','urlChange$','cursorInfo','enableFrontendLog','purple.300','show','SNAPSHOT_INVALID_SNAPSHOT','_updateURLWithCurrentState','ranges','CURRENT_STATUS_CANNOT_OPERATE','_heartbeatTimer','disposeWithMe','_collabCursorState$','forwardRef','isFormulaId','UniverDrawing','_lastResponseTimestamp','off-line-icon_clip0_910_343','Vector2','_docSkeleton','session.collaboration-timeout','RxDisposable','wsSessionTicketUrl','_cursorInfo$','YUUMI_TABLE_NOT_FOUND_IN_UNIT','2ZEsFmu','getCoordByCell','_uiPartsService','body','@univerjs/rpc','isActive','defineProperty','DisposableCollection','column','storage','Subject','takeUntil','getMember','split','createSocket','INotificationService','_textBubble','registerRefRange','getParam','_setupSubUnitSync','parseInt','permission.content','COLORS','uni.network.url-service','START_CALCULATION','APPLY_NON_SEQUENTIAL_REVISION','setParam','COMPLETION_FINISHED','@univerjs/network','_transformHistoryAndStateStack','dirtyRanges','href','_logService','PERMISSION_DENIED','_unitStatus','_document','univer-mr-2\x20univer-flex\x20univer-text-xl','ILogService','width','code','handleIRemoveRow','CollaborationController','getDocRanges','WECHAT_HAS_BEEN_BOUND','_applyCommand','collaboration-client.offline-data-not-saved','filter','fillText','reason','unhandledrejection','RECT','min','_refreshCollabCursors','_taskIds','UNRECOGNIZED','UNDEFINED','focused$','font','from','type','TRANSFORM_CHANGE_OBSERVABLE_TYPE','max','UniverProCollaborationClient','_initEvent','NodePositionConvertToRectRange','substring','_commandService','toDisposable','_handleHeartbeatEvent','_collaborationSessionService','_online','_memberService','color','runRefRangeMutations','LICENSE_EXPORT_SIZE_EXCEEDED','parse','ISnapshotServerService','replaceState','_sheetSkeletonManagerService','APPLY_PERMISSION_DENIED','getCellPositionByOffset','YUUMI_CONNECTOR_URL_NOT_FOUND','url(#off-line-icon_clip0_910_343)','getOwnPropertyDescriptor','assign','_toggleOffline','OTHER_CLIENT_EDITING','_cursor','touchDependencies','whenReady','ENTITLE_DUP_SUBSCRIPTION','_anchor','handleDeleteRangeMoveUp','UniverDesign','Optional','round','then','UniverDocs','_drawTextRange','handleIRemoveCol','ticket','InsertRowCommandId','_roomMembers$','jiqing.500','stringify','dispose','_localStorageService','black','_removeClearOtherTimer','invokeId','save','addObject','@univerjs/design','searchParams','40mTTsGp','connectInjector','isFormulaString','360466NWFVzv','IUIPartsService','COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY','SetWorksheetActivateCommand','_render','_docSkeletonManagerService','ILocalCacheService','textRanges','lineno','_entities','Success','InsertRangeMoveDownCommandId','_scene','entries','isArray','_beforeCloseService','replace','endRow','lineTo','toStringTag','MessageType','isTransformMutationsWithChangesetSuccess','getMergeData','_getScale','currentSkeleton$','_initWindowErrorListener','_pollingInterval','_collaborationController','transformIMECache','attrs','REDEMPTION_CODE_FULLY_REDEEMED','SetDocZoomRatioOperation','M3.61971\x2011.6499C2.40304\x2011.6499\x200.699707\x2011.1024\x200.699707\x208.9124C0.699707\x206.3574\x203.25471\x205.8099\x203.98471\x205.8099C4.34971\x204.5324\x205.07971\x202.5249\x207.99971\x202.5249C10.5547\x202.5249\x2011.6497\x203.9849\x2012.0147\x205.2624C12.0147\x205.2624\x2015.2997\x205.6274\x2015.2997\x208.7299C15.2997\x2010.9199\x2013.8397\x2011.6499\x2012.3797\x2011.6499M9.82471\x209.82466L6.17471\x2013.4747M6.17471\x209.82466L9.82471\x2013.4747','RemoveColCommandId','SUCCESS','getColor','syncEditingCollabCursor','REDEMPTION_USER_NOT_ELIGIBLE','CLOSE_ROOM','useDependency','override','clipPath','docStateChange$','setInterval','getRelativeToViewportCoord','registerRenderModule','object','post','runId','YUUMI_RATE_OVER_LIMIT','removeEventListener','executeCommand','_drawAnchor','actions','univer-text-sm\x20univer-leading-8\x20univer-text-gray-600\x20dark:!univer-text-gray-200','_updateLocalCursor','_syncEditingCollabCursorService','has','REDEMPTION_INVALID_CODE','INVALID_INVITE_CODE','_saveTaskMap','Inject','path','replaceDocRanges','filename','origin','collab-client.tooltip.reconnect','REDEMPTION_USER_REDEEM_TIMES_EXCEED','startsWith','onCommandExecuted','492423IRFoHL','push','SheetsSelectionsService','application/json','closePath','ENTITLE_NEED_BILLING_ADDRESS','ColorKit','_clearOtherTimers','roomMembers','_showGuardMessage','transformByState','handleInsertRangeMoveDown','fill','_clearPolling','formula.calculation.started','_localeService','YUUMI_ALL_TABLES_IS_INVALID','fillStyle','LOCAL_CACHE_INTERVAL_KEY','getActiveSheet','_univerInstanceService','disableLocalCache','SheetCollabCursorShape','pushState','_ensureSubject','MOBILE_HAS_BEEN_BOUND','collaboration-client-ui.config','toRgbString','getUndoRedoMutationParamsCache','jsx','_initCommandInterceptor','forEach','getSheetBySheetId','_shapes','InsertRangeMoveRightCommandId','_config','Unknown\x20user','colno','url(#$1','getCollabCursors$','registerBeforeClose','resize','_localCacheService','UniverProCollaboration','_httpService','RevisionService','getValue','ENTITLE_INSUFFICIENT_QUOTA','moveTo','_onCursorUpdate','complete','[CollaborationDataLoaderController]','ENTITLE_UPDOWN_GRADE_NOT_SUPPORT','removeParam','FromArray','getUnit','_scheduleSaving','hide','bind','getRenderById','PENDING','_color','formula.calculation.waiting','_notificationService','Plugin','RemoveRowCommandId','_initUnhandledRejectionListener','univerjs-icon\x20univerjs-icon-','restore','_handleHover','_renderManagerService','currentTheme$','red.300','on-line-icon_clip0_910_349','InsertColCommandId','on-line-icon','_docClipboardService','collaboration.single-unit.warning','_registerDependencies','newValue','_id','_setFormulaLimitStatus','BrowserCollaborationSocketService','height','USER_NOT_FOUND','saveTaskMap','UPDATE_CURSOR','getItem','getUnhiddenWorksheets','_range','UniverProCollaborationClientUi','getStateCache','_cursors','CONFLICT','ThemeService','transformSelections','LICENSE_DISTRO_REJECTED','engine','m1Prime','addClipboardHook','TOO_MANY_REQUESTS','event$','/universer-api/frontend/logs','Error','1953018zeqKqf','ILocalStorageService','DocSelectionManagerService','getVpScrollXYInfoByPosToVp','_checkAndWaitForCalculationPermission','[LogService\x20Error]:\x20','_uploadLog','_lastPointer','values','maxFormulaLimit','No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.','REDEMPTION_CODE_NOT_STARTED','YUUMI_NO_CUBOID_FOR_QUESTION','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY','IBeforeCloseService','clearTimeout','YUUMI_AI_RUN_FAILED','SetSelectionsOperation','_collaborationUIEventService','getSheetId','loadUnit','_cachedData','startColumn','_urlService','mapTo','React','data','setActiveRange','session.connection-failed','getCurrentSelections','_updateSubUnitFromURLParams','addHandlerCallback','DocIMEInputManagerService','Injector','getConfig','onStarting','getSheetObject','rxjs','defs','mask','getRangePointData','colorChannel1','OTHER_CLIENTS_EDITING','IConfigService','FETCH_MISS','ERROR_AGAIN','createInstance','IUniverInstanceService','translate(.97)','USERS_LEAVE','UNAUTHENTICATED','bottom','_initResize','Rect','http://www.w3.org/2000/svg','includes','_selfUnitIDs','_toggleOnline','_entityInit$'];_0x41f7=function(){return _0x47ad17;};return _0x41f7();}
|
|
1
|
+
function _0xe84b(_0xef347a,_0x517dd6){const _0x253448=_0x2534();return _0xe84b=function(_0xe84b35,_0x228784){_0xe84b35=_0xe84b35-0xc0;let _0x5a6036=_0x253448[_0xe84b35];return _0x5a6036;},_0xe84b(_0xef347a,_0x517dd6);}function _0x2534(){const _0x597335=['RECT','CommandType','entries','_render','search','application/json','_updateLocalCursor','syncEditingCollabCursor','USER_NOT_FOUND','toDisposable','getLocalCacheKey','textRanges','function','DependentOn','getCellPositionByOffset','_docTransformSelectionsService','react','getOffsetConfig','actions','BuiltInUIPart','TOO_MANY_REQUESTS','_getSessionTicket','from','_toggleOnline','collaboration-client-ui.config','FETCH_MISS','addEventListener','getUnitStatus$','getRenderById','Error','UnitStatus','collabCursorState$','#FFF','APPLY_PERMISSION_DENIED','Plugin','_showGuardMessage','UniverUi','SUBMIT_CHANGESET_TIMEOUT','_themeService','urlChange$','UniverProCollaborationClientUi','_onCursorUpdate','type','CollaborationDataLoaderController','YUUMI_AI_RUN_FAILED','OffLineIcon','_ensureSubject','IRemoteInstanceService','location','exhaustSavingTask','_online','_clearPolling','_httpService','rxjs','runOnServer','IRenderManagerService','_colorAssignService','15125175fNOpdh','ranges','SetFormulaCalculationStartMutation','IConfigService','UniverProCollaboration','Injector','@univerjs/core','backgroundColor','row','createElement','transformMutationsWithChangeset','message','_entities','executionId','\x20at\x20','undoState','updateOfflineData','_pollingInterval','getRelativeToViewportCoord','transformRemoteChangeset','APPLY_REVISION_CONFILICT','MOBILE_VERIFY_CODE_MISMATCH','result','stack','_onCursorDelete','collabStatus.notCollab','getParam','getViewport','addObjects','min','AUTHORIZE_CODE_ILLEGAL','history','ColorKit','MUTATION','getColor','_checkCalculationAvailable','SessionStatus','DEFAULT_WS_SESSION_TICKET_URL','COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY','unsubscribe','_collaborationUIEventService','INVITE_CODE_REQUIRED','forwardRef','distinctUntilChanged','SetWorksheetActivateCommand','off-line-icon_clip0_910_343','_beforeCloseService','_removeClearOtherTimer','_range','_injector','url(#on-line-icon_clip0_910_349)','values','ICommandService','getTypeOfUnitDisposed$','m1Prime','7sCjCNd','on-line-icon_clip0_910_349','dispose','_doCreateSocket','REDEMPTION_CODE_FULLY_REDEEMED','enableLocalCache','enableFrontendLog','_send','labelPosition','getColorFromTheme','size','isFormulaString','MoveRangeCommandId','DeleteRangeMoveUpCommandId','_collaborationController','_renderManagerService','code','LOGIN_FAILED','entityInit$','setActiveRange','MOBILE_HAS_BEEN_BOUND','YUUMI_URL_COL_OUT_OF_RANGE','registerRenderModule','displayName','Shape','svg','operators','arc','transformMutation','INVITE_CODE_HAS_BEEN_UES','SheetsSelectionsService','collabStatus.fetchMiss','PERMISSION_DENIED','max','SHEET_VIEWPORT_KEY','restore','onMouseMove','exports','blue.400','socket$','INVALID_ARGUMENT','length','setInterval','IURLService','UniverProCollaborationClient','_handleHeartbeatEvent','_docTransformStateCacheService','clearInterval','origin','IUniverInstanceService','sheetID','UniverCore','range','body','getMemberID','_registerDependencies','SetFormulaCalculationNotificationMutation','LICENSE_EXPORT_SIZE_EXCEEDED','_initCommandInterceptor','_eventUnsubscribe','tag','EffectRefRangId','onCommandExecuted','handleDeleteRangeMoveUp','[CollaborationDataLoaderController]','YUUMI_ASYNCIO_CANCELLED','yellow.400','@univerjs/docs','drawWith','_handleEvent','debounce','subscribeEvent','RegularPolygon','_name','DesktopCollaborationStatusDisplayController','runRefRangeMutations','UNIVER_DOC','delete','TEXT_RANGE_LAYER_INDEX','sessionStatus$','clipPath','_anchorDot','YUUMI_UNABLE_LOAD_URL','UNIVER_SHEET','pluginName','getFocusedUnit','handleInsertRangeMoveRight','SetTextSelectionsOperation','includes','APPLY_REJECT','executeCommand','RemoteUniscriptService','DataLoaderService','collabStatus.offline','bold\x2013px\x20Source\x20Han\x20Sans\x20CN','getActiveSheet','_localStorageService','@univerjs/rpc','fillRule','SYNCED','_getMergeRange','_transformHistoryAndStateStack','getUnitId','_cursorShapes','_monkeyPatchLogService','_revisionService','WebSocketService','text','removeParam','_registerRenderDependencies','_assignedColors','Workbook','1em','@univerjs/docs-ui','SetSelectionsOperation','_startSheetCollabCursor','show','ILocalStorageService','generateRandomId','REDEMPTION_CODE_NOT_STARTED','transformStateCache','ONLINE','createInstance','UniverCollaborationClientUIPlugin','fromEventSubject','catch','transformByState','UniverInstanceType','totalFormulasToCalculate','_docSkeletonManagerService','lineno','fill','_startDocCollabCursor','2519480tgKIFK','purple.300','ENTITLE_INSUFFICIENT_QUOTA','_handleJoinEvent','disposeWithMe','onTransformChange$','getSheetId','send','_getSaveTimeout','DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','sheetId','href','CollaborationEvent','_lastPointer','VIEW_MAIN','parseInt','bind','IMessageService','startColumn','getCurrentRevOfUnit','INTERNAL_ERROR','set','findNodePositionByCharIndex','DocCollaborationEntity','EMAIL_VERIFY_CODE_MISMATCH','CollaborationUIEventId','functionsExecutedState','red.300','Rectangle','CHANGESET_REVISION_CONFILICT','url(#off-line-icon_clip0_910_343)','_collabCursorState$','formula.calculation.unable','NOT_FOUND','No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.','OTHER_CLIENT_EDITING','roomMembers$','collaboration-client.offline-data-not-saved','_initCommandExecutedListener','currentSkeleton$','disableLocalCache','beforeCommandExecuted','evenodd','pushState','current','Tooltip','DOC_RANGE_TYPE','DocStateChangeManagerService','post','onRendered','touchDependencies','TEXT','unitId','ThemeService','Warning','ENTITLE_REPORT_LIMIT_EXCEED','SheetSkeletonManagerService','getValue','rxjs/operators','clearTimeout','height','IBeforeCloseService','get','subunit','unload','with','split','getCollabCursors$','onPointerEnter$','forEach','UniverEngineFormula','/run/','RemoveColCommandId','CURRENT_STATUS_CANNOT_OPERATE','toString','black','Vector2','collab-rect-range-','registerDependencies','error','imageSourceType','_initUnhandledRejectionListener','SetDocZoomRatioOperation','UniverDrawing','_syncEditingCollabCursorService','registerRefRange','_applyCommand','selection','init','isEditing','isActive','redoState','AWAITING','getUnit','Unknown\x20user','runId','unhandledrejection','moveTo','NodePositionConvertToCursor','LICENSE_MAX_UNITS_EXCEEDED','_draw','REDEMPTION_USER_NOT_ELIGIBLE','_docStateChangeManagerService','save','_colorIndex','activeSheet$','Failed','addClipboardHook','_initStatusComponent','cursorInfo','xlink:href','DocIMEInputManagerService','_scheduleSaving','UniverIcon','isTransformMutationFailure','color','saveTaskMap','fillText','_unitStatus','Success','REDEMPTION_CODE_HAS_BEEN_CREATED','registerBeforeClose','CONNECTOR_DATA_TOO_LARGE','COLORS','column','CONFLICT','_saveCache','_context','registerComponent','now','UniverDesign','loadOfflineData','_roomMembers$','cursorInfo$','_textBubble','width','Tools','eventID','USER_IS_ANONYMOUS','InsertColCommandId','children','getConfig','M4.5865\x2011.6499C3.36983\x2011.6499\x201.6665\x2011.1024\x201.6665\x208.9124C1.6665\x206.3574\x204.2215\x205.8099\x204.9515\x205.8099C5.3165\x204.5324\x206.0465\x202.5249\x208.9665\x202.5249C11.5215\x202.5249\x2012.6165\x203.9849\x2012.9815\x205.2624C12.9815\x205.2624\x2016.2665\x205.6274\x2016.2665\x208.7299C16.2665\x2010.9199\x2014.8065\x2011.6499\x2013.3465\x2011.6499M6.7767\x2011.6497L8.9667\x2013.4747L11.8867\x209.82466','UNDEFINED','Disposable','_selfUnitIDs','_lastResponseTimestamp','override','SNAPSHOT_HAS_BEEN_REMOVED','Subject','UniverRpc','REDEMPTION_INVALID_CODE','_initUserListener','INVITE_CODE_ALREADY_BOUND','filter','newValue','_setupBeforeClosingHandler','bottom','focused$','RemoveRowCommandId','measureText','key','_memberID','permission.content','requireSession','fromEvent','_drawAnchor','assignAColorForMemberID','_drawRectRange','collabStatus.synced','add','useRef','Rect','debug','handleDeleteRangeMoveLeft','_scheduleHeartbeat','UniverNetwork','univerjs-icon\x20univerjs-icon-','setTimeout','...','_configService','ILogService','jsx','resize','getSheetBySheetId','object','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','lineTo','replaceDocRanges','UPDATE_CURSOR','_heartbeatTimer','WECHAT_HAS_BEEN_BOUND','data','parse','react/jsx-runtime','PAYMENT_CHANNEL_NOT_SUPPORT','ENTITLE_CAN_NOT_BUY_LOWER_OTP','searchParams','ERROR_AGAIN','unitID','_scheduleClearOtherTimer','3368296iHSKqN','_updateURLWithCurrentState','dirtyRanges','_hideTimer','_session','getAncestorScale','endRow','OTHER_CLIENTS_EDITING','permission.title','throttleTime','_checkAndWaitForCalculationPermission','IDocClipboardService','_messageService','_shapes','dispose$','subscribe','getOwnPropertyDescriptor','substring','switchMap','_cursorInfo$','onPointerMove$','stringify','maxFormulaLimit','jsxs','shift','START_CALCULATION','CollaborationSessionService','_hasFormulaInDirtyRanges','EMAIL_HAS_BEEN_BOUND','removeEventListener','_maxFormulaLimit','_refreshCollabCursors','memberID','?taskId=','ITransformService','closePath','getMergeData','_getSheetObject','_onRefRangeChange','_collabSessionService','replaceState','getCoordByCell','all','saveImage','event$','_entityInit$','idSuffix','YUUMI_ALL_TABLES_IS_INVALID','_document','_logService','_localeService','_toggleOffline','_docClipboardService','5347988TpYpcx','createIdentifier','1083006LcbXrw','toRgbString','startRow','name','join','_drawTextRange','_status$','_localCacheService','YUUMI_SUBSCRIPTION_NOT_FOUND','_clearOtherTimers','m2Prime','makeDirty','getCellMatrix','getUniverSheetInstance','USER_NOT_INVITED_CODE','getCurrentUnitForType','InsertRangeMoveRightCommandId','_handleLeaveEvent','onPointerLeave$','getMember','2117436zAZCfr','off-line-icon','rgba(255,\x20255,\x20255,\x200.01)','collab-text-range-','0\x200\x2016\x2016','translate(.97)','white','none','_unitOnClients','clsx','RichTextEditingMutation','_initWindowErrorListener','DisposableCollection','_cursor','defIds','transformIMECache','CollaborationStatus','CanceledError','limitInfo','editingUnit','_taskIds','USERS_LEAVE','AWAITING_WITH_PENDING','@univerjs/engine-render','NOT_COLLAB','push','addObject','DATA_SOURCE_TOO_LARGE','getCurrent','SOCKET_FAILED_RETRY','unshift','_backgroundColor','contains','univer-mr-2\x20univer-flex\x20univer-text-xl','@univerjs/drawing','startFormulaLimitUrl','_instanceService','popstate','_collabCursorController','currentTheme$','defineProperty','_memberService','getActiveRange','_urlService','WebBrowserSingleActiveUnitService','UNAUTHENTICATED','InsertRowCommandId','handleIRemoveCol','Inject','BrowserCollaborationSocketService','releaseFormulaLimitUrl','LocaleService','UNIVER_COLLABORATION_CLIENT_WEB_PLUGIN','_getAnchorBounding','mask','serializeRangeWithSheet','transformSelections','Optional','_setupSubUnitSync','transform','ENTITLE_UPDOWN_GRADE_NOT_SUPPORT','_updateSubUnitFromURLParams','@univerjs-pro/collaboration','_initEntityListener','_hover','addHandlerCallback','getTypeOfUnitAdded$','_anchor','collabStatus.syncing','UniverEngineRender','ENTITLE_CHAT_LIMIT_EXCEED','_startCalculationLimit','REDEMPTION_CODE_INACTIVE','_color','asObservable','SNAPSHOT_INVALID_SNAPSHOT','Loading','_docSkeleton','has','deepClone','1397994RCFdaK','UNRECOGNIZED','_removeCollabCursors','collaboration.closeRoom','unit','_initDependencies','setAlpha','NO_OTHER_CLIENTS_EDITING','getVpScrollXYInfoByPosToVp','pipe','INotificationService','_initResize','ENTITLE_NEED_BILLING_ADDRESS','params','[LogService\x20Error]:\x20','mutations','_uploadLog','combineLatest','DocSelectionManagerService','getStateCache','MemberService','_handleHover','_univerInstanceService','reason','_refRangeService','_initStatusListener','_cursors','_docTransformIMECacheService','defs','hide','DocSkeletonManagerService','setParam','BehaviorSubject','status$','next','_init','YUUMI_RATE_OVER_LIMIT','getDocRanges','onStarting','beginPath','Module','disposeUnit','MessageType','getRangePointData','_imageIoService','_transformPreviousActiveRange','debounceTime','map','HTTPService','5CHEqvz','COMPLETION_FINISHED','[Unhandled\x20Rejection]:\x20','_dataLoaderService','path','isArray','filename','stage','ISnapshotServerService','_id','url(#$1','endColumn','_transformService','isTransformMutationsWithChangesetSuccess','jiqing.500','getformulaLimitStatusUrl','useCallback','IUIPartsService','storage','then','LOCAL_CACHE_INTERVAL','ticket','_cachedData','getUndoRedoMutationParamsCache','_currentUsage','div','ENSURE_SNAPSHOT_EXECUTION','string','takeUntil','WebURLService','CollaborationController','some','roomMembers','NodePositionConvertToRectRange','mergeOverrideWithDependencies','createSocket','collab-text-anchor-','_uiPartsService','APPLY_DUPLICATED','_scene','univer-flex\x20univer-items-center','INVALID_INVITE_CODE','FromArray','REDEMPTION_USER_REDEEM_TIMES_EXCEED','JOIN_ROOM_FAILED','RxDisposable','assign','/universer-api/license/formula/limit/done','YUUMI_CONNECTOR_URL_NOT_FOUND','setShapeProps','colorChannel1','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','0\x200\x2017\x2016','font','@univerjs-pro/collaboration-client','_setFormulaLimitStatus','_hovered','replace','_releaseCalculationLimit','collaboration.single-unit.warning','collab-client.tooltip.reconnect','LOCAL_CACHE_INTERVAL_KEY','top','_getScale','_collaborationSessionService','_disabled','_sheetSkeletonManagerService','flatMap','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY','RevisionService','onLocalMutation','CLOSE_ROOM','LICENSE_DISTRO_REJECTED','_initEvent','PENDING','@univerjs/sheets','_notificationService','skeleton','_labelPosition','React','[RemoteUniscriptService]:\x20no\x20focused\x20unit','useDependency','complete','round','ILocalCacheService','setItem','_updateCollabCursors','attrs','YUUMI_TABLE_NOT_FOUND_IN_UNIT','getSkeleton','_config','M0\x200H16V16H0z','getSheetObject','MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','shareReplay','getCurrentSelections','SheetCollabCursorShape','UniverSheetsUi','_createSocketURL','currentColor','doc.mutation.rich-text-editing','/universer-api/license/formula/limit/start','LICENSE_IMPORT_SIZE_EXCEEDED','_commandService','_saveTaskMap','TRANSFORM_CHANGE_OBSERVABLE_TYPE','PY_RUNTIME_SCRIPT_ERROR'];_0x2534=function(){return _0x597335;};return _0x2534();}(function(_0x350420,_0x2f6620){const _0x34c0a4=_0xe84b,_0x31772e=_0x350420();while(!![]){try{const _0x97fb2f=-parseInt(_0x34c0a4(0x1a5))/0x1+-parseInt(_0x34c0a4(0x39a))/0x2+parseInt(_0x34c0a4(0x1b9))/0x3+-parseInt(_0x34c0a4(0x1a3))/0x4*(-parseInt(_0x34c0a4(0x23a))/0x5)+-parseInt(_0x34c0a4(0x209))/0x6+-parseInt(_0x34c0a4(0x315))/0x7*(parseInt(_0x34c0a4(0x16e))/0x8)+parseInt(_0x34c0a4(0x2de))/0x9;if(_0x97fb2f===_0x2f6620)break;else _0x31772e['push'](_0x31772e['shift']());}catch(_0x3e5f1b){_0x31772e['push'](_0x31772e['shift']());}}}(_0x2534,0xb164a),function(_0x4a261e,_0x16bd3c){const _0x1c91a9=_0xe84b;typeof exports==_0x1c91a9(0x15e)&&typeof module<'u'?_0x16bd3c(exports,require('react/jsx-runtime'),require('@univerjs-pro/collaboration-client'),require('@univerjs/core'),require('@univerjs/ui'),require('rxjs'),require('@univerjs/design'),require('react'),require('@univerjs/rpc'),require('@univerjs/sheets'),require('@univerjs/engine-render'),require('@univerjs/network'),require('@univerjs/docs-ui'),require('@univerjs/drawing'),require('@univerjs-pro/collaboration'),require('@univerjs/docs'),require('@univerjs/engine-formula'),require('rxjs/operators'),require('@univerjs/sheets-ui')):typeof define==_0x1c91a9(0x2b1)&&define['amd']?define([_0x1c91a9(0x33a),_0x1c91a9(0x167),_0x1c91a9(0x270),_0x1c91a9(0x2e4),'@univerjs/ui',_0x1c91a9(0x2da),'@univerjs/design',_0x1c91a9(0x2b5),_0x1c91a9(0x376),_0x1c91a9(0x285),_0x1c91a9(0x1d0),'@univerjs/network',_0x1c91a9(0x386),_0x1c91a9(0x1db),_0x1c91a9(0x1f7),_0x1c91a9(0x358),'@univerjs/engine-formula',_0x1c91a9(0xdf),'@univerjs/sheets-ui'],_0x16bd3c):(_0x4a261e=typeof globalThis<'u'?globalThis:_0x4a261e||self,_0x16bd3c(_0x4a261e[_0x1c91a9(0x2cd)]={},_0x4a261e[_0x1c91a9(0x289)],_0x4a261e[_0x1c91a9(0x341)],_0x4a261e[_0x1c91a9(0x348)],_0x4a261e[_0x1c91a9(0x2c9)],_0x4a261e[_0x1c91a9(0x2da)],_0x4a261e[_0x1c91a9(0x127)],_0x4a261e[_0x1c91a9(0x289)],_0x4a261e[_0x1c91a9(0x13b)],_0x4a261e['UniverSheets'],_0x4a261e[_0x1c91a9(0x1fe)],_0x4a261e[_0x1c91a9(0x155)],_0x4a261e['UniverDocsUi'],_0x4a261e[_0x1c91a9(0xf8)],_0x4a261e[_0x1c91a9(0x2e2)],_0x4a261e['UniverDocs'],_0x4a261e[_0x1c91a9(0xeb)],_0x4a261e[_0x1c91a9(0x2da)][_0x1c91a9(0x32f)],_0x4a261e[_0x1c91a9(0x29b)]));}(this,function(_0x978c78,_0x122d59,_0x250214,_0x1121b6,_0x1c0cb7,_0xf2ac11,_0x50d683,_0x1709bc,_0xd99031,_0x3f9144,_0x42a824,_0x24e2e1,_0x509b22,_0x19f064,_0x271c6b,_0x5ead8d,_0x564ab7,_0x12b9a5,_0x1ac3ed){'use strict';const _0x8e1915=_0xe84b;var _0x1e8d01=Object[_0x8e1915(0x1e1)],_0xdaf53e=(_0x25dd67,_0x26f1fe,_0x2a7dd6)=>_0x26f1fe in _0x25dd67?_0x1e8d01(_0x25dd67,_0x26f1fe,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x2a7dd6}):_0x25dd67[_0x26f1fe]=_0x2a7dd6,_0xdf3e66=(_0x1e2e56,_0x2dfafa,_0x597057)=>_0xdaf53e(_0x1e2e56,typeof _0x2dfafa!='symbol'?_0x2dfafa+'':_0x2dfafa,_0x597057);function _0x321dd3({ref:_0x89577a,..._0x4ebaed}){const _0x4404de=_0x8e1915,{icon:_0x488a30,id:_0x143f85,className:_0x43a7e2,extend:_0x52c9c7,..._0x1b2375}=_0x4ebaed,_0x11d13b=(_0x4404de(0x156)+_0x143f85+'\x20'+(_0x43a7e2||''))['trim'](),_0x5834cd=_0x1709bc[_0x4404de(0x150)]('_'+_0x119cc0());return _0x5b3d50(_0x488a30,''+_0x143f85,{'defIds':_0x488a30[_0x4404de(0x1c7)],'idSuffix':_0x5834cd[_0x4404de(0xd1)]},{'ref':_0x89577a,'className':_0x11d13b,..._0x1b2375},_0x52c9c7);}function _0x5b3d50(_0x22942e,_0x3434a8,_0x10148b,_0x2845d3,_0x20b4d1){const _0x5e6bb0=_0x8e1915;return _0x1709bc['createElement'](_0x22942e['tag'],{'key':_0x3434a8,..._0x4ba961(_0x22942e,_0x10148b,_0x20b4d1),..._0x2845d3},(_0x15e812(_0x22942e,_0x10148b)['children']||[])[_0x5e6bb0(0x238)]((_0xfb560d,_0x574ca5)=>_0x5b3d50(_0xfb560d,_0x3434a8+'-'+_0x22942e[_0x5e6bb0(0x351)]+'-'+_0x574ca5,_0x10148b,void 0x0,_0x20b4d1)));}function _0x4ba961(_0x446b44,_0x1ed53f,_0x3e2c43){const _0xb890cb=_0x8e1915,_0x248e61={..._0x446b44[_0xb890cb(0x291)]};_0x3e2c43!=null&&_0x3e2c43[_0xb890cb(0x26c)]&&_0x248e61[_0xb890cb(0x398)]===_0xb890cb(0x26c)&&(_0x248e61['fill']=_0x3e2c43['colorChannel1']),_0x446b44['tag']==='mask'&&_0x248e61['id']&&(_0x248e61['id']=_0x248e61['id']+_0x1ed53f['idSuffix']),Object['entries'](_0x248e61)['forEach'](([_0x10fabe,_0x4484ce])=>{const _0x3658c6=_0xb890cb;_0x10fabe===_0x3658c6(0x1ef)&&typeof _0x4484ce==_0x3658c6(0x255)&&(_0x248e61[_0x10fabe]=_0x4484ce[_0x3658c6(0x273)](/url\(#(.*)\)/,_0x3658c6(0x244)+_0x1ed53f[_0x3658c6(0x19c)]+')'));});const {defIds:_0x41c5c3}=_0x1ed53f;return!_0x41c5c3||_0x41c5c3['length']===0x0||(_0x446b44[_0xb890cb(0x351)]==='use'&&_0x248e61[_0xb890cb(0x113)]&&(_0x248e61[_0xb890cb(0x113)]=_0x248e61[_0xb890cb(0x113)]+_0x1ed53f[_0xb890cb(0x19c)]),Object[_0xb890cb(0x2a7)](_0x248e61)[_0xb890cb(0xea)](([_0x387dac,_0x590617])=>{const _0x4bcda2=_0xb890cb;typeof _0x590617==_0x4bcda2(0x255)&&(_0x248e61[_0x387dac]=_0x590617[_0x4bcda2(0x273)](/url\(#(.*)\)/,_0x4bcda2(0x244)+_0x1ed53f[_0x4bcda2(0x19c)]+')'));})),_0x248e61;}function _0x15e812(_0x538445,_0xa18553){const _0xfe2df5=_0x8e1915;var _0x14d9fc;const {defIds:_0xd5d08f}=_0xa18553;return!_0xd5d08f||_0xd5d08f['length']===0x0?_0x538445:_0x538445['tag']===_0xfe2df5(0x225)&&((_0x14d9fc=_0x538445[_0xfe2df5(0x131)])!=null&&_0x14d9fc[_0xfe2df5(0x33e)])?{..._0x538445,'children':_0x538445[_0xfe2df5(0x131)]['map'](_0x5e6842=>typeof _0x5e6842[_0xfe2df5(0x291)]['id']==_0xfe2df5(0x255)&&_0xd5d08f&&_0xd5d08f[_0xfe2df5(0x36d)](_0x5e6842['attrs']['id'])?{..._0x5e6842,'attrs':{..._0x5e6842[_0xfe2df5(0x291)],'id':_0x5e6842['attrs']['id']+_0xa18553['idSuffix']}}:_0x5e6842)}:_0x538445;}function _0x119cc0(){const _0x211389=_0x8e1915;return Math['random']()[_0x211389(0xef)](0x24)[_0x211389(0x17f)](0x2,0x8);}_0x321dd3[_0x8e1915(0x32c)]=_0x8e1915(0x116);const _0x55c19a={'tag':_0x8e1915(0x32e),'attrs':{'xmlns':'http://www.w3.org/2000/svg','fill':_0x8e1915(0x1c0),'viewBox':_0x8e1915(0x1bd),'width':'1em','height':'1em'},'children':[{'tag':'g','attrs':{'clipPath':_0x8e1915(0xc3)},'children':[{'tag':_0x8e1915(0x23e),'attrs':{'stroke':'currentColor','d':'M3.61971\x2011.6499C2.40304\x2011.6499\x200.699707\x2011.1024\x200.699707\x208.9124C0.699707\x206.3574\x203.25471\x205.8099\x203.98471\x205.8099C4.34971\x204.5324\x205.07971\x202.5249\x207.99971\x202.5249C10.5547\x202.5249\x2011.6497\x203.9849\x2012.0147\x205.2624C12.0147\x205.2624\x2015.2997\x205.6274\x2015.2997\x208.7299C15.2997\x2010.9199\x2013.8397\x2011.6499\x2012.3797\x2011.6499M9.82471\x209.82466L6.17471\x2013.4747M6.17471\x209.82466L9.82471\x2013.4747','strokeLinecap':_0x8e1915(0x28d),'strokeLinejoin':_0x8e1915(0x28d),'strokeWidth':1.2}}]},{'tag':_0x8e1915(0x225),'attrs':{},'children':[{'tag':'clipPath','attrs':{'id':_0x8e1915(0x30b)},'children':[{'tag':_0x8e1915(0x23e),'attrs':{'fill':_0x8e1915(0x1bf),'d':'M0\x200H16V16H0z'}}]}]}],'defIds':[_0x8e1915(0x30b)]},_0x2d3b43=_0x1709bc[_0x8e1915(0x308)](function(_0x38cb08,_0x12ddb6){const _0x36b696=_0x8e1915;return _0x1709bc[_0x36b696(0x2e7)](_0x321dd3,Object['assign']({},_0x38cb08,{'id':_0x36b696(0x1ba),'ref':_0x12ddb6,'icon':_0x55c19a}));});_0x2d3b43['displayName']=_0x8e1915(0x2d2);const _0xe5d0cc={'tag':_0x8e1915(0x32e),'attrs':{'xmlns':'http://www.w3.org/2000/svg','fill':_0x8e1915(0x1c0),'viewBox':_0x8e1915(0x26e),'width':'1em','height':_0x8e1915(0x385)},'children':[{'tag':'g','attrs':{'clipPath':_0x8e1915(0x310)},'children':[{'tag':_0x8e1915(0x23e),'attrs':{'stroke':_0x8e1915(0x29d),'d':_0x8e1915(0x133),'strokeLinecap':_0x8e1915(0x28d),'strokeLinejoin':_0x8e1915(0x28d),'strokeWidth':1.2}}]},{'tag':_0x8e1915(0x225),'attrs':{},'children':[{'tag':_0x8e1915(0x365),'attrs':{'id':_0x8e1915(0x316)},'children':[{'tag':_0x8e1915(0x23e),'attrs':{'fill':'white','d':_0x8e1915(0x295),'transform':_0x8e1915(0x1be)}}]}]}],'defIds':[_0x8e1915(0x316)]},_0x4db5b7=_0x1709bc['forwardRef'](function(_0xfc1050,_0x4b085f){const _0xf517a8=_0x8e1915;return _0x1709bc[_0xf517a8(0x2e7)](_0x321dd3,Object[_0xf517a8(0x268)]({},_0xfc1050,{'id':'on-line-icon','ref':_0x4b085f,'icon':_0xe5d0cc}));});_0x4db5b7[_0x8e1915(0x32c)]='OnLineIcon';function _0x4eb002(_0xd003d2){const _0x58187a=_0x8e1915;switch(_0xd003d2){case _0x250214[_0x58187a(0x1c9)]['OFFLINE']:return _0x58187a(0x372);case _0x250214[_0x58187a(0x1c9)][_0x58187a(0x122)]:return'collabStatus.conflict';case _0x250214[_0x58187a(0x1c9)][_0x58187a(0x2be)]:return _0x58187a(0x334);case _0x250214['CollaborationStatus']['NOT_COLLAB']:return _0x58187a(0x2f7);case _0x250214['CollaborationStatus'][_0x58187a(0x101)]:case _0x250214[_0x58187a(0x1c9)][_0x58187a(0x1cf)]:return _0x58187a(0x1fd);case _0x250214[_0x58187a(0x1c9)][_0x58187a(0x378)]:case _0x250214[_0x58187a(0x1c9)][_0x58187a(0x284)]:return _0x58187a(0x14e);}}function _0x8da27a(_0x59a156){const _0x1b6ac0=_0x8e1915,{status$:_0x4a4c5f}=_0x59a156,_0x5bda81=_0x1c0cb7['useObservable'](_0x4a4c5f,_0x250214[_0x1b6ac0(0x1c9)][_0x1b6ac0(0x1d1)]),_0x164ef9=_0x1c0cb7[_0x1b6ac0(0x28b)](_0x1121b6['LocaleService']),_0x537ab5=_0x1c0cb7[_0x1b6ac0(0x28b)](_0x250214[_0x1b6ac0(0x188)]),_0x485774=_0x5bda81!==_0x250214[_0x1b6ac0(0x1c9)]['OFFLINE'],_0x3f169d=_0x164ef9['t'](_0x4eb002(_0x5bda81)),_0x2a5c9d=_0x485774?_0x122d59[_0x1b6ac0(0x15b)](_0x4db5b7,{}):_0x122d59[_0x1b6ac0(0x15b)](_0x2d3b43,{}),_0x3b1836=_0x1709bc[_0x1b6ac0(0x24a)](()=>{_0x485774||_0x537ab5['reconnect']();},[_0x485774,_0x537ab5]);function _0x49a1c9(){const _0x6c014b=_0x1b6ac0;return _0x122d59[_0x6c014b(0x185)]('div',{'className':_0x6c014b(0x262),'onClick':_0x3b1836,'children':[_0x122d59[_0x6c014b(0x15b)](_0x6c014b(0x253),{'className':_0x50d683[_0x6c014b(0x1c2)](_0x6c014b(0x1da),{'univer-text-green-500':_0x485774,'univer-text-red-500':!_0x485774}),'children':_0x2a5c9d}),_0x122d59[_0x6c014b(0x15b)]('div',{'className':'univer-text-sm\x20univer-leading-8\x20univer-text-gray-600\x20dark:!univer-text-gray-200','children':_0x3f169d})]});}return _0x485774?_0x49a1c9():_0x122d59[_0x1b6ac0(0x15b)](_0x50d683[_0x1b6ac0(0xd2)],{'title':_0x164ef9['t'](_0x1b6ac0(0x276)),'children':_0x49a1c9()});}var _0x3c85ad=Object['getOwnPropertyDescriptor'],_0x50dfd8=(_0x38fd1e,_0x597af7,_0x4afd66,_0x525598)=>{const _0x7a04df=_0x8e1915;for(var _0x21a2bc=_0x525598>0x1?void 0x0:_0x525598?_0x3c85ad(_0x597af7,_0x4afd66):_0x597af7,_0x5d639e=_0x38fd1e[_0x7a04df(0x33e)]-0x1,_0x1fbf9f;_0x5d639e>=0x0;_0x5d639e--)(_0x1fbf9f=_0x38fd1e[_0x5d639e])&&(_0x21a2bc=_0x1fbf9f(_0x21a2bc)||_0x21a2bc);return _0x21a2bc;},_0xde6c44=(_0x228d24,_0x10d34a)=>(_0x2e9a95,_0x194830)=>_0x10d34a(_0x2e9a95,_0x194830,_0x228d24);_0x978c78['DesktopCollaborationStatusDisplayController']=class extends _0x1121b6['Disposable']{constructor(_0x19fcae,_0x43bc76,_0x1ac664,_0x5d99d2){const _0xd2e1a1=_0x8e1915;super(),_0xdf3e66(this,_0xd2e1a1(0x1ab),new _0xf2ac11[(_0xd2e1a1(0x229))](_0x250214[_0xd2e1a1(0x1c9)][_0xd2e1a1(0x1d1)])),(this[_0xd2e1a1(0x21f)]=_0x19fcae,this[_0xd2e1a1(0x30f)]=_0x43bc76,this['_collaborationController']=_0x1ac664,this[_0xd2e1a1(0x25f)]=_0x5d99d2,this['_initStatusComponent'](),this[_0xd2e1a1(0x222)]());}[_0x8e1915(0x222)](){const _0x4e00cb=_0x8e1915;this[_0x4e00cb(0x39e)](this[_0x4e00cb(0x21f)][_0x4e00cb(0x143)][_0x4e00cb(0x212)](_0xf2ac11[_0x4e00cb(0x180)](()=>{const _0x27cead=_0x4e00cb,_0x150cc8=this['_univerInstanceService']['getFocusedUnit']();return _0x150cc8?this['_collaborationController']['getCollabEntity$'](_0x150cc8[_0x27cead(0x37b)]()):_0xf2ac11['of'](null);}),_0xf2ac11[_0x4e00cb(0x180)](_0x3f1565=>_0x3f1565?_0x3f1565[_0x4e00cb(0x22a)]:_0xf2ac11['of'](_0x250214['CollaborationStatus'][_0x4e00cb(0x1d1)])))[_0x4e00cb(0x17d)](_0x3b49a7=>{const _0x2f3040=_0x4e00cb;this[_0x2f3040(0x1ab)][_0x2f3040(0x22b)](_0x3b49a7);}));}[_0x8e1915(0x111)](){const _0x52040e=_0x8e1915;this['disposeWithMe'](this['_uiPartsService'][_0x52040e(0x125)](_0x1c0cb7[_0x52040e(0x2b8)]['HEADER_MENU'],()=>_0x1c0cb7['connectInjector'](_0x2d7eba({'status$':this[_0x52040e(0x1ab)][_0x52040e(0x203)]()}),this[_0x52040e(0x30f)])));}},_0x978c78[_0x8e1915(0x35f)]=_0x50dfd8([_0xde6c44(0x0,_0x1121b6[_0x8e1915(0x346)]),_0xde6c44(0x1,_0x1121b6[_0x8e1915(0x1e9)](_0x1121b6[_0x8e1915(0x2e3)])),_0xde6c44(0x2,_0x1121b6[_0x8e1915(0x1e9)](_0x250214['CollaborationController'])),_0xde6c44(0x3,_0x1c0cb7[_0x8e1915(0x24b)])],_0x978c78[_0x8e1915(0x35f)]);function _0x2d7eba(_0x586af5){const {status$:_0x2ce7a0}=_0x586af5;return function(){const _0x6052ed=_0xe84b;return _0x122d59[_0x6052ed(0x15b)](_0x8da27a,{'status$':_0x2ce7a0});};}const _0x34bcdd=_0x1121b6[_0x8e1915(0x1a4)]('uni.network.url-service');var _0xcc8286=Object[_0x8e1915(0x17e)],_0x1c162b=(_0x64228b,_0x7b78c6,_0x208217,_0x4120d4)=>{const _0x199821=_0x8e1915;for(var _0xd7177e=_0x4120d4>0x1?void 0x0:_0x4120d4?_0xcc8286(_0x7b78c6,_0x208217):_0x7b78c6,_0xe372b4=_0x64228b[_0x199821(0x33e)]-0x1,_0x2caf73;_0xe372b4>=0x0;_0xe372b4--)(_0x2caf73=_0x64228b[_0xe372b4])&&(_0xd7177e=_0x2caf73(_0xd7177e)||_0xd7177e);return _0xd7177e;},_0x5082d4=(_0x3057de,_0x568733)=>(_0x38c9a8,_0xa61d40)=>_0x568733(_0x38c9a8,_0xa61d40,_0x3057de);_0x978c78[_0x8e1915(0x2d0)]=class extends _0x1121b6['RxDisposable']{constructor(_0x2f6ebe,_0x2efc51,_0x472a94,_0x5de81b,_0x11b363){const _0xe1d2f9=_0x8e1915;super(),this[_0xe1d2f9(0x1e4)]=_0x2f6ebe,this[_0xe1d2f9(0x19f)]=_0x2efc51,this[_0xe1d2f9(0x2a1)]=_0x472a94,this['_dataLoaderService']=_0x5de81b,_0x11b363?_0x11b363==null||_0x11b363['whenReady']()['then'](()=>this['_init']()):(this[_0xe1d2f9(0x19f)][_0xe1d2f9(0x152)](_0xe1d2f9(0x355),_0xe1d2f9(0xc7)),this['_init']());}async[_0x8e1915(0x22c)](){const _0x16b170=_0x8e1915,_0xc6b47f=this[_0x16b170(0x1e4)][_0x16b170(0x2f8)](_0x16b170(0x20d)),_0x29cb17=this[_0x16b170(0x1e4)][_0x16b170(0x2f8)](_0x16b170(0x2cf)),_0x4d4ad6=this[_0x16b170(0x1e4)][_0x16b170(0x2f8)]('subunit');if(!_0xc6b47f||!_0x29cb17){this[_0x16b170(0x19f)][_0x16b170(0x152)]('[CollaborationDataLoaderController]','No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.');return;}const _0x293894=await this[_0x16b170(0x23d)]['loadUnit'](_0xc6b47f,Number(_0x29cb17),_0x4d4ad6);_0x293894&&_0x293894 instanceof _0x1121b6[_0x16b170(0x384)]&&this[_0x16b170(0x1f3)](_0x293894);}async[_0x8e1915(0x1f3)](_0x4b9853){const _0x2063f1=_0x8e1915;await this[_0x2063f1(0x1f6)](_0x4b9853),_0x4b9853[_0x2063f1(0x10e)][_0x2063f1(0x212)](_0xf2ac11['takeUntil'](this[_0x2063f1(0x17c)]))[_0x2063f1(0x17d)](_0xeee115=>{const _0x46650c=_0x2063f1;_0xeee115&&this[_0x46650c(0x16f)](_0xeee115);}),this[_0x2063f1(0x1e4)][_0x2063f1(0x2cc)][_0x2063f1(0x212)](_0xf2ac11['takeUntil'](this[_0x2063f1(0x17c)]))['subscribe'](()=>this['_updateSubUnitFromURLParams'](_0x4b9853));}['_updateURLWithCurrentState'](_0x1b0e35,_0x4cb681=!0x1){const _0x257ee5=_0x8e1915,_0x4b885d=this[_0x257ee5(0x1e4)][_0x257ee5(0x2f8)]('subunit');_0x1b0e35[_0x257ee5(0x3a0)]()!==_0x4b885d&&this['_urlService'][_0x257ee5(0x228)](_0x257ee5(0xe4),_0x1b0e35[_0x257ee5(0x3a0)](),_0x4cb681);}async['_updateSubUnitFromURLParams'](_0x153967){const _0x189565=_0x8e1915;var _0xdb5b2a;const _0x454126=this['_urlService'][_0x189565(0x2f8)](_0x189565(0xe4));if(!_0x454126||!_0x153967[_0x189565(0x15d)](_0x454126)){const _0x5cbe37=_0x153967['getUnhiddenWorksheets']()[0x0],_0x5bf6c5=_0x153967[_0x189565(0x15d)](_0x5cbe37);if(!_0x5bf6c5)return;this[_0x189565(0x16f)](_0x5bf6c5,!0x0),await this[_0x189565(0x2a1)][_0x189565(0x36f)](_0x3f9144[_0x189565(0x30a)]['id'],{'unitId':_0x153967['getUnitId'](),'subUnitId':_0x5cbe37});return;}((_0xdb5b2a=_0x153967[_0x189565(0x374)]())==null?void 0x0:_0xdb5b2a[_0x189565(0x3a0)]())!==_0x454126&&await this[_0x189565(0x2a1)]['executeCommand'](_0x3f9144['SetWorksheetActivateCommand']['id'],{'unitId':_0x153967[_0x189565(0x37b)](),'subUnitId':_0x454126});}},_0x978c78[_0x8e1915(0x2d0)]=_0x1c162b([_0x5082d4(0x0,_0x34bcdd),_0x5082d4(0x1,_0x1121b6[_0x8e1915(0x15a)]),_0x5082d4(0x2,_0x1121b6[_0x8e1915(0x312)]),_0x5082d4(0x3,_0x1121b6['Inject'](_0x250214[_0x8e1915(0x371)])),_0x5082d4(0x4,_0x1121b6[_0x8e1915(0x1f2)](_0xd99031[_0x8e1915(0x2d4)]))],_0x978c78['CollaborationDataLoaderController']);var _0x16e77d=Object[_0x8e1915(0x17e)],_0x18e748=(_0xffb8f4,_0x7335b0,_0x5384af,_0x35110b)=>{for(var _0x5d6a33=_0x35110b>0x1?void 0x0:_0x35110b?_0x16e77d(_0x7335b0,_0x5384af):_0x7335b0,_0x3fa463=_0xffb8f4['length']-0x1,_0x35c69a;_0x3fa463>=0x0;_0x3fa463--)(_0x35c69a=_0xffb8f4[_0x3fa463])&&(_0x5d6a33=_0x35c69a(_0x5d6a33)||_0x5d6a33);return _0x5d6a33;},_0x2d9a86=(_0x1f310c,_0x47c3b4)=>(_0x128923,_0x3267f3)=>_0x47c3b4(_0x128923,_0x3267f3,_0x1f310c);let _0x248341=class extends _0x1121b6[_0x8e1915(0x267)]{constructor(_0x39f114,_0xdccc47){const _0x495826=_0x8e1915;super(),this[_0x495826(0x1a2)]=_0x39f114,this[_0x495826(0x235)]=_0xdccc47,this['_init']();}[_0x8e1915(0x22c)](){const _0x42f25a=_0x8e1915,_0x3fcb29=this;this['disposeWithMe'](this[_0x42f25a(0x1a2)][_0x42f25a(0x110)]({'onBeforePasteImage':async _0x50ad2f=>{const _0x5ea33b=_0x42f25a,_0x5c1c0a=await _0x3fcb29[_0x5ea33b(0x235)][_0x5ea33b(0x199)](_0x50ad2f);return _0x5c1c0a?{'source':_0x5c1c0a['source'],'imageSourceType':_0x5c1c0a[_0x5ea33b(0xf5)]}:null;}}));}};_0x248341=_0x18e748([_0x2d9a86(0x0,_0x509b22[_0x8e1915(0x179)]),_0x2d9a86(0x1,_0x19f064['IImageIoService'])],_0x248341);const _0x3f2d60=[_0x8e1915(0x39b),_0x8e1915(0x248),'green.600',_0x8e1915(0xc0),_0x8e1915(0x33b),_0x8e1915(0x357)];class _0x3f7ec8 extends _0x1121b6[_0x8e1915(0x135)]{constructor(){const _0x51ff3e=_0x8e1915;super(...arguments),_0xdf3e66(this,'_assignedColors',new Map()),_0xdf3e66(this,_0x51ff3e(0x10d),0x0);}[_0x8e1915(0x14c)](_0x2f12e1){const _0x48fa32=_0x8e1915;if(this['_assignedColors'][_0x48fa32(0x207)](_0x2f12e1))return this[_0x48fa32(0x383)][_0x48fa32(0xe3)](_0x2f12e1);const _0x906736=_0x3f2d60[this[_0x48fa32(0x10d)]];return this[_0x48fa32(0x10d)]=(this[_0x48fa32(0x10d)]+0x1)%_0x3f2d60[_0x48fa32(0x33e)],this[_0x48fa32(0x383)][_0x48fa32(0x3af)](_0x2f12e1,_0x906736),_0x906736;}}function _0x587d11(_0x4471fb){const _0x42f653=_0x8e1915;let _0x5f44f5='';for(const _0x5615eb of _0x4471fb){const {startOffset:_0x5e7081,endOffset:_0x32c689,isActive:_0x1def21,rangeType:_0xf987da,segmentId:_0x37d3a4,segmentPage:_0x2c324b}=_0x5615eb;_0x5f44f5[_0x42f653(0x33e)]&&(_0x5f44f5+=','),_0x5f44f5+=_0x5e7081+':'+_0x32c689+':'+(_0x1def21?'1':'0')+':'+_0xf987da+':'+_0x37d3a4+':'+_0x2c324b;}return _0x5f44f5;}function _0x353533(_0x210929){const _0x26a5d0=_0x8e1915,_0x1614da=_0x210929[_0x26a5d0(0xe7)](','),_0x2f1ab3=[];for(const _0x235b81 of _0x1614da){const [_0x3fc779,_0x5e2f37,_0x2ed532,_0x19ba64,_0x5a91d8,_0x285039]=_0x235b81[_0x26a5d0(0xe7)](':');_0x2f1ab3[_0x26a5d0(0x1d2)]({'startOffset':Number(_0x3fc779),'endOffset':Number(_0x5e2f37),'collapsed':_0x3fc779===_0x5e2f37,'isActive':_0x2ed532==='1','rangeType':_0x19ba64===_0x1121b6[_0x26a5d0(0xd3)][_0x26a5d0(0xd8)]?_0x1121b6[_0x26a5d0(0xd3)]['TEXT']:_0x1121b6[_0x26a5d0(0xd3)][_0x26a5d0(0x2a5)],'segmentId':typeof _0x5a91d8==_0x26a5d0(0x255)?String(_0x5a91d8):'','segmentPage':Number(_0x285039!=null?_0x285039:-0x1)});}return _0x2f1ab3[_0x26a5d0(0x259)](_0xdc5e44=>_0xdc5e44[_0x26a5d0(0xff)])||(_0x2f1ab3[0x0][_0x26a5d0(0xff)]=!0x0),_0x2f1ab3;}class _0x343dd9 extends _0x1121b6[_0x8e1915(0x267)]{constructor(){const _0x35affe=_0x8e1915;super(...arguments),_0xdf3e66(this,_0x35affe(0xc4),new _0xf2ac11[(_0x35affe(0x229))](null)),_0xdf3e66(this,_0x35affe(0x2c4),this[_0x35affe(0xc4)]['asObservable']());}[_0x8e1915(0x2ac)](_0x549c98){const _0x584531=_0x8e1915,{unitID:_0x12ec61,memberID:_0xbd5ad5,textRanges:_0x586bc9}=_0x549c98,_0x77196d=_0x587d11(_0x586bc9);if(_0x77196d==='')return;const _0x400364={'unitID':_0x12ec61,'memberID':_0xbd5ad5,'selection':_0x77196d};this[_0x584531(0xc4)][_0x584531(0x22b)](_0x400364);}}var _0x5bc9af=Object[_0x8e1915(0x17e)],_0x52b34f=(_0x2b0842,_0x187dab,_0x21c90f,_0x3c44d1)=>{for(var _0x23e46d=_0x3c44d1>0x1?void 0x0:_0x3c44d1?_0x5bc9af(_0x187dab,_0x21c90f):_0x187dab,_0x293ef3=_0x2b0842['length']-0x1,_0x1b5735;_0x293ef3>=0x0;_0x293ef3--)(_0x1b5735=_0x2b0842[_0x293ef3])&&(_0x23e46d=_0x1b5735(_0x23e46d)||_0x23e46d);return _0x23e46d;},_0x11152a=(_0xa039d,_0x30d89f)=>(_0x4267a7,_0x17204d)=>_0x30d89f(_0x4267a7,_0x17204d,_0xa039d);const _0x2ae3b7=0x12c,_0x5ebdf2=0x64;let _0x1a6b98=class extends _0x1121b6['RxDisposable']{constructor(_0x56ba66,_0x258c04,_0x54305e,_0x1cc733,_0x1176a4,_0x386589,_0x3d39bc,_0x563930,_0x276b5f){const _0x52e595=_0x8e1915;super(),_0xdf3e66(this,'_online',!0x1),_0xdf3e66(this,_0x52e595(0x22c),!0x1),_0xdf3e66(this,_0x52e595(0x181),new _0xf2ac11[(_0x52e595(0x229))](new Map())),_0xdf3e66(this,_0x52e595(0x12a),this[_0x52e595(0x181)][_0x52e595(0x203)]()),_0xdf3e66(this,_0x52e595(0x129),new _0xf2ac11['BehaviorSubject']([])),_0xdf3e66(this,_0x52e595(0xc9),this[_0x52e595(0x129)][_0x52e595(0x212)](_0xf2ac11[_0x52e595(0x237)](_0x2ae3b7))),_0xdf3e66(this,_0x52e595(0x2ab),_0x1121b6['debounce'](_0x20bc77=>{const _0x1aacca=_0x52e595,_0x348773={'eventID':_0x271c6b[_0x1aacca(0x3a6)][_0x1aacca(0x162)],'data':{'unitID':this[_0x1aacca(0x16c)],'memberID':this[_0x1aacca(0x172)][_0x1aacca(0x34b)](),'selection':_0x587d11(_0x20bc77)}};this[_0x1aacca(0x172)][_0x1aacca(0x3a1)](_0x348773,this[_0x1aacca(0x16c)]);},_0x5ebdf2)),(this[_0x52e595(0x16c)]=_0x56ba66,this[_0x52e595(0x172)]=_0x258c04,this[_0x52e595(0x30f)]=_0x54305e,this[_0x52e595(0x2dd)]=_0x1cc733,this[_0x52e595(0x1e2)]=_0x1176a4,this[_0x52e595(0xf9)]=_0x386589,this['_transformService']=_0x3d39bc,this[_0x52e595(0x21f)]=_0x563930,this[_0x52e595(0x2a1)]=_0x276b5f);}get[_0x8e1915(0x112)](){const _0x37efce=_0x8e1915;return this[_0x37efce(0x181)][_0x37efce(0xde)]();}get[_0x8e1915(0x25a)](){const _0x5e9cd1=_0x8e1915;return this[_0x5e9cd1(0x129)][_0x5e9cd1(0xde)]();}[_0x8e1915(0x317)](){const _0x4051e1=_0x8e1915;super[_0x4051e1(0x317)](),this[_0x4051e1(0x181)]['next'](new Map()),this['_cursorInfo$']['complete'](),this['_roomMembers$'][_0x4051e1(0x22b)]([]),this[_0x4051e1(0x129)][_0x4051e1(0x28c)]();}[_0x8e1915(0xfd)](){const _0x4f5ca3=_0x8e1915;this[_0x4f5ca3(0x22c)]||(this[_0x4f5ca3(0x22c)]=!0x0,this[_0x4f5ca3(0x172)][_0x4f5ca3(0x364)][_0x4f5ca3(0x212)](_0xf2ac11[_0x4f5ca3(0x256)](this[_0x4f5ca3(0x17c)]))[_0x4f5ca3(0x17d)](_0x53ff20=>{const _0x3a9a88=_0x4f5ca3;_0x53ff20===_0x250214['SessionStatus'][_0x3a9a88(0x38e)]?this[_0x3a9a88(0x2bc)]():this[_0x3a9a88(0x1a1)]();}),this[_0x4f5ca3(0x172)][_0x4f5ca3(0x19a)][_0x4f5ca3(0x212)](_0xf2ac11['takeUntil'](this[_0x4f5ca3(0x17c)]))[_0x4f5ca3(0x17d)](_0x2d1202=>{const _0x5bb086=_0x4f5ca3,_0x1514c2=_0x2d1202[_0x5bb086(0x12e)];_0x1514c2===_0x271c6b['CollaborationEvent'][_0x5bb086(0x162)]&&this['_onCursorUpdate'](_0x2d1202),_0x1514c2===_0x271c6b[_0x5bb086(0x3a6)][_0x5bb086(0x1ce)]&&this[_0x5bb086(0x2f6)](_0x2d1202);}),this[_0x4f5ca3(0x39e)](this[_0x4f5ca3(0x2a1)][_0x4f5ca3(0x353)](_0x424de0=>{const _0x1fe4d2=_0x4f5ca3,_0x158061=_0x424de0[_0x1fe4d2(0x216)];_0x158061!=null&&this[_0x1fe4d2(0x2d7)]&&_0x424de0['id']===_0x5ead8d[_0x1fe4d2(0x36c)]['id']&&_0x158061[_0x1fe4d2(0xd9)]===this['unitID']&&_0x158061[_0x1fe4d2(0xfe)]===!0x1&&_0x158061[_0x1fe4d2(0x2df)][_0x1fe4d2(0x33e)]>0x0&&this[_0x1fe4d2(0x2ab)](_0x158061[_0x1fe4d2(0x2df)]);})),this[_0x4f5ca3(0xf9)][_0x4f5ca3(0x2c4)]['pipe'](_0xf2ac11[_0x4f5ca3(0x256)](this[_0x4f5ca3(0x17c)]))[_0x4f5ca3(0x17d)](_0x27d609=>{const _0x10e9de=_0x4f5ca3;if((_0x27d609==null?void 0x0:_0x27d609[_0x10e9de(0x16c)])!==this[_0x10e9de(0x16c)])return;const _0x3946db={'eventID':_0x271c6b['CollaborationEvent'][_0x10e9de(0x162)],'data':_0x27d609};this[_0x10e9de(0x2ce)](_0x3946db);}),this['disposeWithMe'](this[_0x4f5ca3(0x2a1)][_0x4f5ca3(0x353)](_0x25a066=>{const _0xc4915c=_0x4f5ca3;if(_0x25a066[_0xc4915c(0x216)]==null)return;const _0x40addd=_0x25a066['params'];if(_0x25a066['id']!==_0x5ead8d[_0xc4915c(0x1c3)]['id']||_0x40addd[_0xc4915c(0xd9)]!==this[_0xc4915c(0x16c)])return;const _0x268fbe={'id':_0xc4915c(0x29e),'params':_0x40addd},_0xb9ed5=this[_0xc4915c(0x112)];for(const [_0x9a85a4,_0x435602]of _0xb9ed5){const _0x17581d={'id':_0xc4915c(0x29e),'params':{'unitId':this[_0xc4915c(0x16c)],'actions':null,'textRanges':_0x435602[_0xc4915c(0x2df)]}},_0x393d61=this[_0xc4915c(0x246)][_0xc4915c(0x331)](_0x268fbe,_0x17581d,!0x1);if(_0x271c6b[_0xc4915c(0x117)](_0x393d61))throw _0x393d61[_0xc4915c(0xf4)];_0xb9ed5[_0xc4915c(0x3af)](_0x9a85a4,{..._0x435602,'ranges':_0x393d61['m2Prime'][_0xc4915c(0x216)][_0xc4915c(0x2b0)]});}queueMicrotask(()=>{this['_cursorInfo$']['next'](_0xb9ed5);});})));}[_0x8e1915(0x2ce)](_0x27179c){const _0x4a7890=_0x8e1915;var _0x327959,_0x599b60;const {memberID:_0x2a25bf,selection:_0x1a57b0}=_0x27179c[_0x4a7890(0x165)],_0x81165c=_0x353533(_0x1a57b0),_0x199cb8=(_0x599b60=(_0x327959=this[_0x4a7890(0x1e2)][_0x4a7890(0x1b8)](this[_0x4a7890(0x16c)],_0x2a25bf))==null?void 0x0:_0x327959[_0x4a7890(0x1a8)])!=null?_0x599b60:_0x4a7890(0x103),_0x2cfd4a={'color':this[_0x4a7890(0x2dd)]['assignAColorForMemberID'](_0x2a25bf),'name':_0x199cb8,'ranges':_0x81165c},_0x1f9c12=this[_0x4a7890(0x112)];_0x1f9c12['set'](_0x2a25bf,_0x2cfd4a),this[_0x4a7890(0x181)]['next'](_0x1f9c12);}[_0x8e1915(0x2f6)](_0x58ca09){const _0x48b097=_0x8e1915,{memberID:_0x17fab2}=_0x58ca09[_0x48b097(0x165)],_0x4467d4=this[_0x48b097(0x112)];_0x4467d4['delete'](_0x17fab2),this[_0x48b097(0x181)]['next'](_0x4467d4);}['_toggleOnline'](){const _0x1cb224=_0x8e1915;var _0x199b0f;if(this['_online']=!0x0,((_0x199b0f=this[_0x1cb224(0x21f)]['getFocusedUnit']())==null?void 0x0:_0x199b0f['getUnitId']())!==this[_0x1cb224(0x16c)])return;const _0x427b9d=this[_0x1cb224(0x30f)][_0x1cb224(0xe3)](_0x5ead8d['DocSelectionManagerService'])[_0x1cb224(0x22e)]();Array[_0x1cb224(0x23f)](_0x427b9d)&&_0x427b9d[_0x1cb224(0x33e)]>0x0&&this[_0x1cb224(0x2ab)](_0x427b9d);}[_0x8e1915(0x1a1)](){const _0x2e36af=_0x8e1915;this[_0x2e36af(0x2d7)]=!0x1;}};_0x1a6b98=_0x52b34f([_0x11152a(0x2,_0x1121b6[_0x8e1915(0x1e9)](_0x1121b6[_0x8e1915(0x2e3)])),_0x11152a(0x3,_0x1121b6[_0x8e1915(0x1e9)](_0x3f7ec8)),_0x11152a(0x4,_0x1121b6[_0x8e1915(0x1e9)](_0x250214[_0x8e1915(0x21d)])),_0x11152a(0x5,_0x1121b6['Inject'](_0x343dd9)),_0x11152a(0x6,_0x271c6b['ITransformService']),_0x11152a(0x7,_0x1121b6['IUniverInstanceService']),_0x11152a(0x8,_0x1121b6[_0x8e1915(0x312)])],_0x1a6b98);var _0x266dcb=Object[_0x8e1915(0x17e)],_0x5b4a19=(_0x302208,_0x303d26,_0x40cf78,_0x5547a6)=>{const _0xea35b3=_0x8e1915;for(var _0x2d79d6=_0x5547a6>0x1?void 0x0:_0x5547a6?_0x266dcb(_0x303d26,_0x40cf78):_0x303d26,_0x2e00af=_0x302208[_0xea35b3(0x33e)]-0x1,_0x125e9c;_0x2e00af>=0x0;_0x2e00af--)(_0x125e9c=_0x302208[_0x2e00af])&&(_0x2d79d6=_0x125e9c(_0x2d79d6)||_0x2d79d6);return _0x2d79d6;},_0x96957a=(_0x1fbdeb,_0x1cc00a)=>(_0x1876d7,_0x11abcb)=>_0x1cc00a(_0x1876d7,_0x11abcb,_0x1fbdeb);const _0x2ce67b=0x12c,_0x11f59a=0x64,_0x407acb=()=>{let _0x34a87c=[],_0x2e303b=!0x1;return _0xf460f8=>{_0x34a87c['push'](_0xf460f8),_0x2e303b||(_0x2e303b=!0x0,setTimeout(()=>{const _0x199103=_0xe84b;_0x34a87c[_0x199103(0xea)](_0x1cdb72=>_0x1cdb72()),_0x34a87c=[],_0x2e303b=!0x1;}));};};let _0x2a45b9=class extends _0x1121b6[_0x8e1915(0x267)]{constructor(_0x4d5973,_0x16b3be,_0x57d897,_0x3420fe,_0x2a0722,_0x17769f,_0x59e2eb,_0x808d66){const _0x6aaf87=_0x8e1915;super(),_0xdf3e66(this,_0x6aaf87(0x2d7),!0x1),_0xdf3e66(this,'_init',!0x1),_0xdf3e66(this,_0x6aaf87(0x181),new _0xf2ac11[(_0x6aaf87(0x229))](new Map())),_0xdf3e66(this,'cursorInfo$',this[_0x6aaf87(0x181)][_0x6aaf87(0x203)]()),_0xdf3e66(this,'_roomMembers$',new _0xf2ac11[(_0x6aaf87(0x229))]([])),_0xdf3e66(this,'roomMembers$',this[_0x6aaf87(0x129)][_0x6aaf87(0x212)](_0xf2ac11[_0x6aaf87(0x237)](_0x2ce67b))),_0xdf3e66(this,_0x6aaf87(0x2ab),_0x1121b6[_0x6aaf87(0x35b)]((_0x442bb3,_0x5a48dd)=>{const _0x5becba=_0x6aaf87,_0x585a74={'eventID':_0x271c6b[_0x5becba(0x3a6)][_0x5becba(0x162)],'data':{'unitID':this[_0x5becba(0x16c)],'memberID':this['_session'][_0x5becba(0x34b)](),'selection':_0x564ab7[_0x5becba(0x1f0)](_0x442bb3,_0x5a48dd['range'])}};this['_session'][_0x5becba(0x3a1)](_0x585a74,this[_0x5becba(0x16c)]);},_0x11f59a)),(this[_0x6aaf87(0x16c)]=_0x4d5973,this[_0x6aaf87(0x172)]=_0x16b3be,this[_0x6aaf87(0x30f)]=_0x57d897,this[_0x6aaf87(0x2dd)]=_0x3420fe,this[_0x6aaf87(0x1e2)]=_0x2a0722,this['_univerInstanceService']=_0x17769f,this[_0x6aaf87(0x2a1)]=_0x59e2eb,this[_0x6aaf87(0x221)]=_0x808d66);}get[_0x8e1915(0x112)](){const _0x526fe0=_0x8e1915;return this[_0x526fe0(0x181)][_0x526fe0(0xde)]();}get[_0x8e1915(0x25a)](){const _0x1426d3=_0x8e1915;return this[_0x1426d3(0x129)][_0x1426d3(0xde)]();}['dispose'](){const _0x4a987e=_0x8e1915;super['dispose'](),this[_0x4a987e(0x181)][_0x4a987e(0x22b)](new Map()),this[_0x4a987e(0x181)][_0x4a987e(0x28c)](),this[_0x4a987e(0x129)][_0x4a987e(0x22b)]([]),this[_0x4a987e(0x129)][_0x4a987e(0x28c)]();}[_0x8e1915(0xfd)](){const _0x541b11=_0x8e1915;this[_0x541b11(0x22c)]||(this[_0x541b11(0x22c)]=!0x0,this[_0x541b11(0x172)]['sessionStatus$'][_0x541b11(0x212)](_0xf2ac11['takeUntil'](this[_0x541b11(0x17c)]))[_0x541b11(0x17d)](_0x3ef387=>{const _0x4f1325=_0x541b11;_0x3ef387===_0x250214[_0x4f1325(0x302)][_0x4f1325(0x38e)]?this[_0x4f1325(0x2bc)]():this[_0x4f1325(0x1a1)]();}),this[_0x541b11(0x172)][_0x541b11(0x19a)][_0x541b11(0x212)](_0xf2ac11[_0x541b11(0x256)](this[_0x541b11(0x17c)]))['subscribe'](_0x3baa24=>{const _0x5ea12c=_0x541b11,_0x1f46ca=_0x3baa24[_0x5ea12c(0x12e)];_0x1f46ca===_0x271c6b[_0x5ea12c(0x3a6)][_0x5ea12c(0x162)]&&this[_0x5ea12c(0x2ce)](_0x3baa24),_0x1f46ca===_0x271c6b[_0x5ea12c(0x3a6)][_0x5ea12c(0x1ce)]&&this[_0x5ea12c(0x2f6)](_0x3baa24);}),this[_0x541b11(0x194)](),this[_0x541b11(0x39e)](this[_0x541b11(0x2a1)][_0x541b11(0x353)](_0x11910b=>{const _0x303e4d=_0x541b11;if(this[_0x303e4d(0x2d7)]&&_0x11910b['id']===_0x3f9144[_0x303e4d(0x387)]['id']&&_0x11910b[_0x303e4d(0x216)][_0x303e4d(0xd9)]===this[_0x303e4d(0x16c)]){const _0x13cab9=_0x11910b[_0x303e4d(0x216)];this['_updateLocalCursor'](_0x13cab9['subUnitId'],_0x13cab9['selections'][0x0]);}})));}['_onCursorUpdate'](_0x45950a){const _0x4f4a70=_0x8e1915;var _0x29936,_0x31c843;const {memberID:_0xc8db8c,selection:_0x5c5114}=_0x45950a[_0x4f4a70(0x165)],{sheetName:_0x4a0340,range:_0x12e451}=_0x564ab7['deserializeRangeWithSheet'](_0x5c5114),_0x333e28={'name':(_0x31c843=(_0x29936=this[_0x4f4a70(0x1e2)][_0x4f4a70(0x1b8)](this['unitID'],_0xc8db8c))==null?void 0x0:_0x29936[_0x4f4a70(0x1a8)])!=null?_0x31c843:_0x4f4a70(0x103),'range':this[_0x4f4a70(0x379)](_0x4a0340,_0x12e451),'sheetID':_0x4a0340,'color':this[_0x4f4a70(0x2dd)][_0x4f4a70(0x14c)](_0xc8db8c),'selection':_0x5c5114},_0x28f17b=this[_0x4f4a70(0x112)];_0x28f17b[_0x4f4a70(0x3af)](_0xc8db8c,_0x333e28),this[_0x4f4a70(0x181)][_0x4f4a70(0x22b)](_0x28f17b);}[_0x8e1915(0x2f6)](_0x378258){const _0x19bdac=_0x8e1915,{memberID:_0x2b78e4}=_0x378258['data'],_0xfe1aa5=this[_0x19bdac(0x112)];_0xfe1aa5[_0x19bdac(0x362)](_0x2b78e4),this[_0x19bdac(0x181)][_0x19bdac(0x22b)](_0xfe1aa5);}['_getMergeRange'](_0x4a0052,_0x1d12c0){const _0x2de011=_0x8e1915;var _0xc51af4,_0x269aa6;const _0x57c64e=(_0x269aa6=(_0xc51af4=this['_univerInstanceService'][_0x2de011(0x1b2)](this[_0x2de011(0x16c)]))==null?void 0x0:_0xc51af4[_0x2de011(0x15d)](_0x4a0052))==null?void 0x0:_0x269aa6[_0x2de011(0x192)]();return(_0x57c64e==null?void 0x0:_0x57c64e['find'](_0x2436a3=>_0x1121b6[_0x2de011(0xc1)][_0x2de011(0x1d9)](_0x2436a3,_0x1d12c0)))||_0x1d12c0;}[_0x8e1915(0x194)](){const _0x43f257=_0x8e1915,_0x4073a4=new _0x1121b6[(_0x43f257(0x1c5))](),_0x5aceba=_0x407acb(),_0x55bac1=()=>{const _0x12b094=_0x43f257;_0x4073a4['dispose']();const _0x4e69f1=(_0x5affce,_0x393ff8,_0x4f704b,_0x18923b)=>{const _0x4efc82=_0xe84b;let _0x487967=[];switch(_0x5affce['id']){case _0x3f9144[_0x4efc82(0x352)]['DeleteRangeMoveLeftCommandId']:{_0x487967=_0x3f9144[_0x4efc82(0x153)](_0x5affce,_0x18923b);break;}case _0x3f9144[_0x4efc82(0x352)][_0x4efc82(0x322)]:{_0x487967=_0x3f9144[_0x4efc82(0x354)](_0x5affce,_0x18923b);break;}case _0x3f9144[_0x4efc82(0x352)][_0x4efc82(0x130)]:{_0x487967=_0x3f9144['handleInsertCol'](_0x5affce,_0x18923b);break;}case _0x3f9144[_0x4efc82(0x352)]['InsertRangeMoveDownCommandId']:{_0x487967=_0x3f9144['handleInsertRangeMoveDown'](_0x5affce,_0x18923b);break;}case _0x3f9144['EffectRefRangId'][_0x4efc82(0x1b5)]:{_0x487967=_0x3f9144[_0x4efc82(0x36b)](_0x5affce,_0x18923b);break;}case _0x3f9144[_0x4efc82(0x352)][_0x4efc82(0x1e7)]:{_0x487967=_0x3f9144['handleInsertRow'](_0x5affce,_0x18923b);break;}case _0x3f9144[_0x4efc82(0x352)][_0x4efc82(0x321)]:{_0x487967=_0x3f9144['handleMoveRange'](_0x5affce,_0x18923b);break;}case _0x3f9144['EffectRefRangId'][_0x4efc82(0xed)]:{_0x487967=_0x3f9144[_0x4efc82(0x1e8)](_0x5affce,_0x18923b);break;}case _0x3f9144[_0x4efc82(0x352)][_0x4efc82(0x144)]:{_0x487967=_0x3f9144['handleIRemoveRow'](_0x5affce,_0x18923b);break;}}const _0x48b340=_0x3f9144[_0x4efc82(0x360)](_0x487967,_0x18923b),_0x2dc573=this['cursorInfo'][_0x4efc82(0xe3)](_0x393ff8);if(_0x2dc573&&_0x48b340){const _0x2d46c8={..._0x2dc573,'range':_0x48b340};this[_0x4efc82(0x112)][_0x4efc82(0x3af)](_0x393ff8,_0x2d46c8),_0x5aceba(()=>{const _0x3ab8a2=_0x4efc82,_0x4e78ef=this[_0x3ab8a2(0x221)][_0x3ab8a2(0xfa)](_0x48b340,_0x577b84=>(_0x4e78ef[_0x3ab8a2(0x317)](),_0x4e69f1(_0x577b84,_0x393ff8,_0x4f704b,_0x48b340)));_0x4073a4[_0x3ab8a2(0x14f)](_0x4e78ef);});}return{'redos':[],'undos':[]};};this[_0x12b094(0x112)]['forEach']((_0x296745,_0x2d9f7b)=>{const _0xdecdbd=_0x12b094,{range:_0x450cf6,sheetID:_0x414bef}=_0x296745,_0x569336=this[_0xdecdbd(0x221)]['registerRefRange'](_0x450cf6,_0x16edb0=>(_0x569336['dispose'](),_0x4e69f1(_0x16edb0,_0x2d9f7b,_0x414bef,_0x450cf6)));_0x4073a4['add'](_0x569336);});};this[_0x43f257(0x39e)](_0x1121b6[_0x43f257(0x2ae)](this[_0x43f257(0x181)][_0x43f257(0x17d)](()=>{_0x55bac1();})));}[_0x8e1915(0x2bc)](){const _0x51d708=_0x8e1915;var _0x5ded0e,_0x2e65b;if(this['_online']=!0x0,((_0x5ded0e=this[_0x51d708(0x21f)][_0x51d708(0x36a)]())==null?void 0x0:_0x5ded0e[_0x51d708(0x37b)]())!==this['unitID'])return;const _0x4f25bc=(_0x2e65b=this['_injector'][_0x51d708(0xe3)](_0x3f9144[_0x51d708(0x333)])[_0x51d708(0x299)]())==null?void 0x0:_0x2e65b[0x0],_0x1af08c=this[_0x51d708(0x21f)][_0x51d708(0x1b4)](_0x1121b6[_0x51d708(0x394)][_0x51d708(0x368)])['getActiveSheet']();_0x4f25bc&&_0x1af08c&&this['_updateLocalCursor'](_0x1af08c['getSheetId'](),_0x4f25bc);}[_0x8e1915(0x1a1)](){const _0x267b63=_0x8e1915;this[_0x267b63(0x2d7)]=!0x1;}};_0x2a45b9=_0x5b4a19([_0x96957a(0x2,_0x1121b6[_0x8e1915(0x1e9)](_0x1121b6[_0x8e1915(0x2e3)])),_0x96957a(0x3,_0x1121b6[_0x8e1915(0x1e9)](_0x3f7ec8)),_0x96957a(0x4,_0x1121b6['Inject'](_0x250214[_0x8e1915(0x21d)])),_0x96957a(0x5,_0x1121b6[_0x8e1915(0x346)]),_0x96957a(0x6,_0x1121b6[_0x8e1915(0x312)]),_0x96957a(0x7,_0x1121b6[_0x8e1915(0x1e9)](_0x3f9144['RefRangeService']))],_0x2a45b9);var _0x5bb8d4=Object[_0x8e1915(0x17e)],_0x1079b3=(_0x570d7c,_0x1e569a,_0x2a574e,_0x1f42ad)=>{for(var _0x3c4625=_0x1f42ad>0x1?void 0x0:_0x1f42ad?_0x5bb8d4(_0x1e569a,_0x2a574e):_0x1e569a,_0x4ae8f4=_0x570d7c['length']-0x1,_0x48e40e;_0x4ae8f4>=0x0;_0x4ae8f4--)(_0x48e40e=_0x570d7c[_0x4ae8f4])&&(_0x3c4625=_0x48e40e(_0x3c4625)||_0x3c4625);return _0x3c4625;},_0x245e35=(_0x375d94,_0x3c7faa)=>(_0x101bad,_0x1de5d6)=>_0x3c7faa(_0x101bad,_0x1de5d6,_0x375d94);let _0x2ddf05=class extends _0x1121b6[_0x8e1915(0x267)]{constructor(_0x5eaa41,_0x11a2c2,_0x3ef199){const _0x7104e1=_0x8e1915;super(),_0xdf3e66(this,'_entities',new Map()),_0xdf3e66(this,_0x7104e1(0x19b),new _0xf2ac11[(_0x7104e1(0x13a))]()),(this['_univerInstanceService']=_0x5eaa41,this[_0x7104e1(0x30f)]=_0x11a2c2,this[_0x7104e1(0x195)]=_0x3ef199,this[_0x7104e1(0x22c)]());}['dispose'](){const _0x17417d=_0x8e1915;super[_0x17417d(0x317)](),this[_0x17417d(0x19b)]['complete'](),this['_entities'][_0x17417d(0xea)](_0x19a321=>_0x19a321[_0x17417d(0x317)]());}[_0x8e1915(0xe8)](_0x227189){const _0x8d7a11=_0x8e1915;return this[_0x8d7a11(0x2ea)][_0x8d7a11(0x207)](_0x227189)?this[_0x8d7a11(0x2ea)][_0x8d7a11(0xe3)](_0x227189)[_0x8d7a11(0x12a)]:this[_0x8d7a11(0x19b)]['pipe'](_0xf2ac11['filter'](_0x5d7bce=>_0x5d7bce[_0x8d7a11(0x16c)]===_0x227189),_0xf2ac11[_0x8d7a11(0x180)](_0x1d2aa7=>_0x1d2aa7['cursorInfo$']));}[_0x8e1915(0x22c)](){const _0x5714ad=_0x8e1915;this[_0x5714ad(0x21f)][_0x5714ad(0x1fb)](_0x1121b6['UniverInstanceType']['UNIVER_SHEET'])[_0x5714ad(0x212)](_0xf2ac11['takeUntil'](this[_0x5714ad(0x17c)]))[_0x5714ad(0x17d)](async _0x1dbb21=>{const _0x1a38ca=_0x5714ad,_0xde4b00=_0x1dbb21[_0x1a38ca(0x37b)](),_0x501adc=await this[_0x1a38ca(0x388)](_0xde4b00);this[_0x1a38ca(0x19b)][_0x1a38ca(0x22b)](_0x501adc),this[_0x1a38ca(0x2ea)][_0x1a38ca(0x3af)](_0xde4b00,_0x501adc);}),this['_univerInstanceService'][_0x5714ad(0x1fb)](_0x1121b6[_0x5714ad(0x394)][_0x5714ad(0x361)])[_0x5714ad(0x212)](_0xf2ac11[_0x5714ad(0x256)](this[_0x5714ad(0x17c)]))[_0x5714ad(0x212)](_0xf2ac11[_0x5714ad(0x13f)](_0x3fc508=>!_0x3fc508[_0x5714ad(0x37b)]()['startsWith']('__')))[_0x5714ad(0x17d)](async _0xd45c2e=>{const _0x2760a2=_0x5714ad,_0x51eefb=_0xd45c2e['getUnitId'](),_0x44e55d=await this[_0x2760a2(0x399)](_0x51eefb);this[_0x2760a2(0x19b)][_0x2760a2(0x22b)](_0x44e55d),this[_0x2760a2(0x2ea)][_0x2760a2(0x3af)](_0x51eefb,_0x44e55d);}),_0xf2ac11['merge'](this[_0x5714ad(0x21f)][_0x5714ad(0x313)](_0x1121b6[_0x5714ad(0x394)][_0x5714ad(0x361)]),this[_0x5714ad(0x21f)][_0x5714ad(0x313)](_0x1121b6[_0x5714ad(0x394)][_0x5714ad(0x368)]))['pipe'](_0xf2ac11['takeUntil'](this[_0x5714ad(0x17c)]))[_0x5714ad(0x17d)](_0x9589e7=>{const _0x3028fe=_0x5714ad,_0x85ea07=_0x9589e7[_0x3028fe(0x37b)](),_0x5afb8c=this[_0x3028fe(0x2ea)]['get'](_0x85ea07);_0x5afb8c&&(_0x5afb8c['dispose'](),this[_0x3028fe(0x2ea)][_0x3028fe(0x362)](_0x85ea07));});}async['_startSheetCollabCursor'](_0x4fbf5b){const _0x45f6da=_0x8e1915,_0xf188e3=await this[_0x45f6da(0x195)][_0x45f6da(0x149)](_0x4fbf5b),_0x3f51d5=this['_injector'][_0x45f6da(0x38f)](_0x2a45b9,_0x4fbf5b,_0xf188e3);return _0x3f51d5[_0x45f6da(0xfd)](),_0x3f51d5;}async['_startDocCollabCursor'](_0x1f3b16){const _0x2ac657=_0x8e1915,_0x4e8be3=await this['_collabSessionService'][_0x2ac657(0x149)](_0x1f3b16),_0x20a4f5=this[_0x2ac657(0x30f)][_0x2ac657(0x38f)](_0x1a6b98,_0x1f3b16,_0x4e8be3);return _0x20a4f5[_0x2ac657(0xfd)](),_0x20a4f5;}};_0x2ddf05=_0x1079b3([_0x245e35(0x0,_0x1121b6[_0x8e1915(0x346)]),_0x245e35(0x1,_0x1121b6[_0x8e1915(0x1e9)](_0x1121b6[_0x8e1915(0x2e3)])),_0x245e35(0x2,_0x1121b6['Inject'](_0x250214[_0x8e1915(0x188)]))],_0x2ddf05);const _0x568256=0x14,_0xb8504=0xc8,_0x12ab12=0x4,_0x4c220c=0x5;function _0x230f99(_0x2624bf,_0xec414d){const _0x5ef5c5=_0x8e1915;let {radius:_0x120c1c,width:_0x2a7a06,height:_0x54283f}=_0xec414d;_0x120c1c=_0x120c1c!=null?_0x120c1c:0x0,_0x2a7a06=_0x2a7a06!=null?_0x2a7a06:0x1e,_0x54283f=_0x54283f!=null?_0x54283f:0x1e;let _0xf7db90=0x0,_0x2cfe1b=0x0,_0x2ba9af=0x0;_0xf7db90=_0x2cfe1b=_0x2ba9af=Math[_0x5ef5c5(0x2fb)](_0x120c1c,_0x2a7a06/0x2,_0x54283f/0x2),_0x2624bf[_0x5ef5c5(0x230)](),_0x2624bf[_0x5ef5c5(0x106)](_0xf7db90,0x0),_0x2624bf['lineTo'](_0x2a7a06-_0x2cfe1b,0x0),_0x2624bf[_0x5ef5c5(0x330)](_0x2a7a06-_0x2cfe1b,_0x2cfe1b,_0x2cfe1b,Math['PI']*0x3/0x2,0x0,!0x1),_0x2624bf[_0x5ef5c5(0x160)](_0x2a7a06,_0x54283f-_0x2ba9af),_0x2624bf[_0x5ef5c5(0x330)](_0x2a7a06-_0x2ba9af,_0x54283f-_0x2ba9af,_0x2ba9af,0x0,Math['PI']/0x2,!0x1),_0x2624bf[_0x5ef5c5(0x160)](0x0,_0x54283f),_0x2624bf[_0x5ef5c5(0x160)](0x0,_0xf7db90),_0x2624bf['arc'](_0xf7db90,_0xf7db90,_0xf7db90,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x2624bf[_0x5ef5c5(0x191)](),_0xec414d[_0x5ef5c5(0x398)]&&(_0x2624bf[_0x5ef5c5(0x10c)](),_0x2624bf['fillStyle']=_0xec414d['fill'],_0xec414d[_0x5ef5c5(0x377)]==='evenodd'?_0x2624bf['fill'](_0x5ef5c5(0xcf)):_0x2624bf[_0x5ef5c5(0x398)](),_0x2624bf['restore']());}class _0x13de89 extends _0x42a824[_0x8e1915(0x32d)]{constructor(_0x2f5e94,_0x2a553b){const _0x116b05=_0x8e1915;super(_0x2f5e94,_0x2a553b),_0xdf3e66(this,'color'),_0xdf3e66(this,_0x116b05(0x380)),(this[_0x116b05(0x118)]=_0x2a553b==null?void 0x0:_0x2a553b[_0x116b05(0x118)],this['text']=_0x2a553b==null?void 0x0:_0x2a553b['text']);}static[_0x8e1915(0x359)](_0x52d2c2,_0x405d4a){const _0x425fb3=_0x8e1915,{text:_0xaaed60,color:_0x32321f}=_0x405d4a;_0x52d2c2[_0x425fb3(0x10c)](),_0x52d2c2[_0x425fb3(0x26f)]=_0x425fb3(0x373);const _0x318dc2=_0x52d2c2[_0x425fb3(0x145)](_0xaaed60)[_0x425fb3(0x12c)],_0x45f3d1=Math[_0x425fb3(0x2fb)](_0x318dc2+0x2*_0x12ab12,_0xb8504);_0x230f99(_0x52d2c2,{'height':_0x568256,'radius':0x4,'width':_0x45f3d1,'fill':_0x32321f}),_0x52d2c2['fillStyle']=_0x425fb3(0x2c5);const _0x15f710=_0x12ab12,_0x55acb6=_0x568256-_0x4c220c,_0x3b240b=_0xb8504-0x2*_0x12ab12;if(_0x318dc2>_0x3b240b){let _0x46d4cb='',_0x433a3e=0x0;for(const _0xe4178b of _0xaaed60){const _0x52313d=_0x52d2c2[_0x425fb3(0x145)](_0xe4178b)[_0x425fb3(0x12c)];if(_0x433a3e+_0x52313d<=_0x3b240b-_0x52d2c2[_0x425fb3(0x145)](_0x425fb3(0x158))[_0x425fb3(0x12c)])_0x46d4cb+=_0xe4178b,_0x433a3e+=_0x52313d;else{_0x46d4cb+='...';break;}}_0x52d2c2[_0x425fb3(0x11a)](_0x46d4cb,_0x15f710,_0x55acb6);}else _0x52d2c2[_0x425fb3(0x11a)](_0xaaed60,_0x15f710,_0x55acb6);_0x52d2c2[_0x425fb3(0x338)]();}[_0x8e1915(0x109)](_0x5ac698){_0x13de89['drawWith'](_0x5ac698,this);}}const _0xe3f24a=_0x8e1915(0x25e),_0x1e3948=_0x8e1915(0x1bc),_0x360a5c=_0x8e1915(0xf2),_0x5de191=0x6,_0x21df3e=1.5,_0x5f1024=0x4,_0x481442=1.5,_0x356823=_0x8e1915(0x1bb);class _0x202fbb{constructor(_0x5b1520,_0x469add,_0x3305eb,_0x2c7604){const _0x4f1dcd=_0x8e1915;_0xdf3e66(this,_0x4f1dcd(0x17b),[]),_0xdf3e66(this,_0x4f1dcd(0x1fc),null),_0xdf3e66(this,'_textBubble',null),_0xdf3e66(this,_0x4f1dcd(0x366),null),_0xdf3e66(this,_0x4f1dcd(0x171),null),_0xdf3e66(this,_0x4f1dcd(0x350),null),(this[_0x4f1dcd(0x1c6)]=_0x5b1520,this[_0x4f1dcd(0x261)]=_0x469add,this[_0x4f1dcd(0x206)]=_0x3305eb,this[_0x4f1dcd(0x19e)]=_0x2c7604,this[_0x4f1dcd(0x2a8)]());}set[_0x8e1915(0x1f9)](_0x4ae333){const _0x46ab9d=_0x8e1915;_0x4ae333?(this[_0x46ab9d(0x366)]&&this['_anchorDot'][_0x46ab9d(0x226)](),this[_0x46ab9d(0x12b)]&&this[_0x46ab9d(0x12b)][_0x46ab9d(0x389)]()):(this['_anchorDot']&&this[_0x46ab9d(0x366)][_0x46ab9d(0x389)](),this[_0x46ab9d(0x12b)]&&this[_0x46ab9d(0x12b)][_0x46ab9d(0x226)]());}['dispose'](){const _0x281435=_0x8e1915;for(const _0x150125 of this[_0x281435(0x17b)])_0x150125[_0x281435(0x317)]();this[_0x281435(0x12b)]&&this[_0x281435(0x12b)]['dispose'](),this[_0x281435(0x366)]&&this['_anchorDot'][_0x281435(0x317)](),this[_0x281435(0x1fc)]&&this[_0x281435(0x1fc)][_0x281435(0x317)](),this[_0x281435(0x350)]&&this[_0x281435(0x350)]();}['_render'](){const _0x50dbbf=_0x8e1915;var _0x2e1403;const {_docSkeleton:_0x516f0c,_document:_0x1b0632}=this,{color:_0x1fd782,name:_0x9b70c5,ranges:_0x99f2fd}=this['_cursor'],_0x455bd0=_0x1b0632[_0x50dbbf(0x2b6)](),{docsLeft:_0x1b3e1d,docsTop:_0x2ae540}=_0x455bd0,_0x2c5ee9=new _0x509b22[(_0x50dbbf(0x107))](_0x455bd0,_0x516f0c);for(const {startOffset:_0x4a7f11,endOffset:_0x28f8ab,rangeType:_0x51c52f,segmentId:_0x171bc8,segmentPage:_0x219f2c,collapsed:_0x17674a,isActive:_0x3e2f01}of _0x99f2fd){const _0x14162f=_0x516f0c[_0x50dbbf(0x3b0)](_0x4a7f11,!0x0,_0x171bc8,_0x219f2c);let _0x331406=_0x516f0c[_0x50dbbf(0x3b0)](_0x28f8ab,!0x0,_0x171bc8,_0x219f2c);if(_0x331406==null&&(_0x331406=_0x516f0c[_0x50dbbf(0x3b0)](_0x28f8ab-0x1,!0x1,_0x171bc8,_0x219f2c)),_0x3e2f01){const {contentBoxPointGroup:_0x5d9c10}=_0x2c5ee9[_0x50dbbf(0x234)](_0x331406,_0x331406);if(_0x5d9c10[_0x50dbbf(0x33e)]===0x0)continue;this[_0x50dbbf(0x14b)](_0x1fd782,_0x5d9c10,_0x1b3e1d,_0x2ae540,_0x9b70c5),this[_0x50dbbf(0x350)]=this['_handleHover']();}if(_0x14162f&&_0x331406){if(_0x51c52f===_0x1121b6[_0x50dbbf(0xd3)]['RECT']){const _0xc7ce59=new _0x509b22[(_0x50dbbf(0x25b))](_0x455bd0,_0x516f0c),{pointGroup:_0x3c1889}=(_0x2e1403=_0xc7ce59[_0x50dbbf(0x234)](_0x14162f,_0x331406))!=null?_0x2e1403:{};if(_0x3c1889==null||_0x3c1889[_0x50dbbf(0x33e)]===0x0)continue;this[_0x50dbbf(0x14d)](_0x1fd782,_0x3c1889,_0x1b3e1d,_0x2ae540);}else{if(!_0x17674a){const {borderBoxPointGroup:_0x40d357}=_0x2c5ee9[_0x50dbbf(0x234)](_0x14162f,_0x331406);if(_0x40d357[_0x50dbbf(0x33e)]===0x0)continue;this[_0x50dbbf(0x1aa)](_0x1fd782,_0x40d357,_0x1b3e1d,_0x2ae540);}}}}}[_0x8e1915(0x14b)](_0x3c8db9,_0x20a618,_0xe0d58f,_0x2de4fd,_0x2e39cb){const _0x568960=_0x8e1915,_0x53ebda=this[_0x568960(0x1ee)](_0x20a618),{left:_0x553092,top:_0x12309a,height:_0x2ae61a}=_0x53ebda,_0x342402=this[_0x568960(0x279)](),_0x1ebcc1=_0x481442/_0x342402,_0x51ad9c=new _0x42a824[(_0x568960(0x151))](_0xe3f24a+_0x1121b6[_0x568960(0x38b)](_0x5de191),{'left':_0x553092+_0xe0d58f-_0x1ebcc1,'top':_0x12309a+_0x2de4fd,'height':_0x2ae61a,'width':_0x21df3e,'fill':_0x3c8db9||_0x42a824[_0x568960(0x300)](_0x1121b6['COLORS']['black'],0x0),'strokeWidth':_0x1ebcc1,'stroke':_0x356823,'evented':!0x0});this['_anchor']=_0x51ad9c,this[_0x568960(0x261)]['addObject'](_0x51ad9c,_0x509b22[_0x568960(0x363)]);const _0x114d0a=new _0x42a824['Rect'](_0xe3f24a+_0x1121b6[_0x568960(0x38b)](_0x5de191),{'left':_0x553092+_0xe0d58f-_0x1ebcc1,'top':_0x12309a+_0x2de4fd-_0x5f1024/0x2,'height':_0x5f1024,'width':_0x5f1024,'fill':_0x3c8db9||_0x42a824[_0x568960(0x300)](_0x1121b6['COLORS'][_0x568960(0xf0)],0x0),'strokeWidth':0x0,'stroke':_0x3c8db9||_0x42a824['getColor'](_0x1121b6[_0x568960(0x120)]['black'],0x0),'evented':!0x1});this[_0x568960(0x366)]=_0x114d0a,this[_0x568960(0x261)][_0x568960(0x1d3)](_0x114d0a,_0x509b22[_0x568960(0x363)]);const _0x5a679a=new _0x13de89(_0xe3f24a+_0x1121b6['generateRandomId'](_0x5de191),{'left':_0x553092+_0xe0d58f-_0x1ebcc1,'top':_0x12309a+_0x2de4fd-_0x568256,'text':_0x2e39cb,'color':_0x3c8db9});this[_0x568960(0x12b)]=_0x5a679a,this[_0x568960(0x261)][_0x568960(0x1d3)](_0x5a679a,_0x509b22[_0x568960(0x363)]),this['_hover']=!0x1;}[_0x8e1915(0x21e)](){const _0x227d60=_0x8e1915,_0x297378=this['_anchor'][_0x227d60(0xe9)][_0x227d60(0x35c)](()=>{const _0xe61c0e=_0x227d60;this[_0xe61c0e(0x1f9)]=!0x0;}),_0xee2707=this[_0x227d60(0x1fc)][_0x227d60(0x1b7)][_0x227d60(0x35c)](()=>{const _0x46cea9=_0x227d60;this[_0x46cea9(0x171)]&&clearTimeout(this[_0x46cea9(0x171)]),this[_0x46cea9(0x171)]=setTimeout(()=>{const _0x383eca=_0x46cea9;this[_0x383eca(0x1f9)]=!0x1;},0x7d0);});return()=>{const _0x1df435=_0x227d60;_0x297378[_0x1df435(0x305)](),_0xee2707[_0x1df435(0x305)]();};}[_0x8e1915(0x1aa)](_0x393e19,_0x4cd698,_0x29e5c6,_0xedb8ad){const _0x5c8b40=_0x8e1915,_0x1689c2=new _0x1121b6['ColorKit'](_0x393e19)['setAlpha'](0.2)[_0x5c8b40(0x1a6)](),_0x4e4a6a=new _0x42a824[(_0x5c8b40(0x35d))](_0x1e3948+_0x1121b6[_0x5c8b40(0x38b)](_0x5de191),{'pointsGroup':_0x4cd698,'fill':_0x1689c2||_0x42a824[_0x5c8b40(0x300)](_0x1121b6[_0x5c8b40(0x120)][_0x5c8b40(0xf0)],0.2),'left':_0x29e5c6,'top':_0xedb8ad,'evented':!0x1,'debounceParentDirty':!0x1});this['_shapes'][_0x5c8b40(0x1d2)](_0x4e4a6a),this[_0x5c8b40(0x261)][_0x5c8b40(0x1d3)](_0x4e4a6a,_0x509b22[_0x5c8b40(0x363)]);}['_drawRectRange'](_0x37dcf7,_0x2b9d1d,_0x415fa4,_0x148838){const _0x42ceac=_0x8e1915,_0x464ce4=new _0x1121b6[(_0x42ceac(0x2fe))](_0x37dcf7)[_0x42ceac(0x20f)](0.2)['toRgbString'](),_0x4460fc=new _0x42a824[(_0x42ceac(0x35d))](_0x360a5c+_0x1121b6[_0x42ceac(0x38b)](_0x5de191),{'pointsGroup':_0x2b9d1d,'fill':_0x464ce4||_0x42a824[_0x42ceac(0x300)](_0x1121b6['COLORS'][_0x42ceac(0xf0)],0.2),'left':_0x415fa4,'top':_0x148838,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x42ceac(0x17b)][_0x42ceac(0x1d2)](_0x4460fc),this['_scene']['addObject'](_0x4460fc,_0x509b22['TEXT_RANGE_LAYER_INDEX']);}['_getAnchorBounding'](_0x539174){const _0x56b23a=_0x539174[0x0],_0x53a591=_0x56b23a[0x0],_0x6515f3=_0x56b23a[0x2],{x:_0x1aab03,y:_0x1feaa1}=_0x53a591,{x:_0x18669b,y:_0x46e667}=_0x6515f3;return{'left':_0x1aab03,'top':_0x1feaa1,'width':_0x18669b-_0x1aab03,'height':_0x46e667-_0x1feaa1};}[_0x8e1915(0x279)](){const _0x19ab26=_0x8e1915,{scaleX:_0xbfb9d0,scaleY:_0xb9ce20}=this['_scene'][_0x19ab26(0x173)]();return Math[_0x19ab26(0x336)](_0xbfb9d0,_0xb9ce20);}}var _0x463a36=Object['getOwnPropertyDescriptor'],_0x49b3bf=(_0x25d987,_0x3023b4,_0x1134bd,_0x27fc3a)=>{const _0x18ebe7=_0x8e1915;for(var _0x2e26d1=_0x27fc3a>0x1?void 0x0:_0x27fc3a?_0x463a36(_0x3023b4,_0x1134bd):_0x3023b4,_0x4bffdc=_0x25d987[_0x18ebe7(0x33e)]-0x1,_0x460bd4;_0x4bffdc>=0x0;_0x4bffdc--)(_0x460bd4=_0x25d987[_0x4bffdc])&&(_0x2e26d1=_0x460bd4(_0x2e26d1)||_0x2e26d1);return _0x2e26d1;},_0x2a049b=(_0x39a21a,_0x503131)=>(_0x22e004,_0x5e58cd)=>_0x503131(_0x22e004,_0x5e58cd,_0x39a21a);let _0x3decd5=class extends _0x1121b6[_0x8e1915(0x267)]{constructor(_0x42fa79,_0x434380,_0x181747,_0x54c2eb,_0x310770){const _0x55fb13=_0x8e1915;super(),_0xdf3e66(this,_0x55fb13(0x37c),[]),_0xdf3e66(this,_0x55fb13(0x223),[]),(this[_0x55fb13(0x124)]=_0x42fa79,this[_0x55fb13(0x396)]=_0x434380,this['_collabCursorController']=_0x181747,this[_0x55fb13(0x2a1)]=_0x54c2eb,this[_0x55fb13(0x2cb)]=_0x310770,this['_init']());}[_0x8e1915(0x22c)](){const _0x3f7254=_0x8e1915,_0xac1b99=this['_context'][_0x3f7254(0xd9)],_0x550e03=this[_0x3f7254(0x396)];this[_0x3f7254(0x39e)](_0xf2ac11[_0x3f7254(0x21a)]([this['_collabCursorController'][_0x3f7254(0xe8)](_0xac1b99),this[_0x3f7254(0x2cb)][_0x3f7254(0x1e0)]])['pipe'](_0x12b9a5[_0x3f7254(0x238)](([_0x98e6d6,_0x37665f])=>({'skeleton':_0x550e03[_0x3f7254(0x293)](),'cursors':[..._0x98e6d6[_0x3f7254(0x311)]()][_0x3f7254(0x27d)](_0x1b82a1=>({..._0x1b82a1,'color':this[_0x3f7254(0x2cb)][_0x3f7254(0x31e)](_0x1b82a1[_0x3f7254(0x118)])}))})))['subscribe'](_0x4e63a3=>{const _0xcab2b2=_0x3f7254;if(this[_0xcab2b2(0x20b)](),_0x4e63a3){const {skeleton:_0xd86435,cursors:_0x282525}=_0x4e63a3;this['_updateCollabCursors'](_0xd86435,_0x282525);}})),this[_0x3f7254(0x214)](),this[_0x3f7254(0xcb)]();}[_0x8e1915(0x290)](_0x4ee9b1,_0x38eef0){const _0x136f74=_0x8e1915,{scene:_0x4608df,mainComponent:_0x40b5b0}=this[_0x136f74(0x124)],_0xb24f3f=_0x38eef0[_0x136f74(0x238)](_0x1e728f=>new _0x202fbb(_0x1e728f,_0x4608df,_0x4ee9b1,_0x40b5b0));this[_0x136f74(0x37c)]=_0xb24f3f,this[_0x136f74(0x223)]=_0x38eef0;}['_refreshCollabCursors'](){const _0x5e4cb7=_0x8e1915;this['_removeCollabCursors']();const {scene:_0x56ba44,mainComponent:_0x1698a7}=this[_0x5e4cb7(0x124)],_0x13b8ee=this[_0x5e4cb7(0x396)][_0x5e4cb7(0x293)](),_0xb3bc48=this['_cursors'][_0x5e4cb7(0x238)](_0x4b6a14=>new _0x202fbb(_0x4b6a14,_0x56ba44,_0x13b8ee,_0x1698a7));this[_0x5e4cb7(0x37c)]=_0xb3bc48;}[_0x8e1915(0x20b)](){const _0x10fee4=_0x8e1915;this[_0x10fee4(0x37c)][_0x10fee4(0xea)](_0x48a44e=>_0x48a44e[_0x10fee4(0x317)]()),this[_0x10fee4(0x37c)]=[];}[_0x8e1915(0xcb)](){const _0x294a90=_0x8e1915,_0x2f1b5a=[_0x509b22[_0x294a90(0xf7)]['id']];this['disposeWithMe'](this[_0x294a90(0x2a1)][_0x294a90(0x353)](_0x4c3312=>{const _0x2708c5=_0x294a90;_0x2f1b5a[_0x2708c5(0x36d)](_0x4c3312['id'])&&_0x4c3312['params'][_0x2708c5(0xd9)]===this[_0x2708c5(0x124)][_0x2708c5(0xd9)]&&this['_refreshCollabCursors']();}));}['_initResize'](){const _0x4831ae=_0x8e1915;this[_0x4831ae(0x39e)](_0x1121b6[_0x4831ae(0x391)](this[_0x4831ae(0x124)]['engine'][_0x4831ae(0x39f)])[_0x4831ae(0x212)](_0x12b9a5[_0x4831ae(0x13f)](_0x9d3c01=>_0x9d3c01['type']===_0x42a824[_0x4831ae(0x2a3)][_0x4831ae(0x15c)]),_0x12b9a5[_0x4831ae(0x177)](0x10))[_0x4831ae(0x17d)](()=>{const _0x3f4cc7=_0x4831ae;this[_0x3f4cc7(0x18d)]();}));}};_0x3decd5=_0x49b3bf([_0x2a049b(0x1,_0x1121b6[_0x8e1915(0x1e9)](_0x5ead8d[_0x8e1915(0x227)])),_0x2a049b(0x2,_0x1121b6[_0x8e1915(0x1e9)](_0x2ddf05)),_0x2a049b(0x3,_0x1121b6[_0x8e1915(0x312)]),_0x2a049b(0x4,_0x1121b6[_0x8e1915(0x1e9)](_0x1121b6[_0x8e1915(0xda)]))],_0x3decd5);const _0x5483c3=0x1,_0x24c4e4=1.5;class _0x40acb1 extends _0x42a824[_0x8e1915(0x32d)]{constructor(_0x183f77,_0x411581){const _0x4cac51=_0x8e1915;super(_0x183f77,_0x411581),_0xdf3e66(this,_0x4cac51(0x202)),_0xdf3e66(this,_0x4cac51(0x272),!0x1),_0xdf3e66(this,_0x4cac51(0x30e)),_0xdf3e66(this,_0x4cac51(0x35e),''),_0xdf3e66(this,'_labelPosition',_0x4cac51(0x278)),_0xdf3e66(this,_0x4cac51(0x1d8)),(_0x411581&&this['setShapeProps'](_0x411581),this['onPointerEnter$'][_0x4cac51(0x35c)](()=>this[_0x4cac51(0x26b)]({'hovered':!0x0})),this[_0x4cac51(0x1b7)][_0x4cac51(0x35c)](()=>this[_0x4cac51(0x26b)]({'hovered':!0x1})));}['setShapeProps'](_0x2c650b){const _0x39ba27=_0x8e1915;var _0x4aac91,_0x31ebe2,_0x26bf16,_0xca0371,_0x2beb03,_0x4a9751;this[_0x39ba27(0x202)]=(_0x4aac91=_0x2c650b[_0x39ba27(0x118)])!=null?_0x4aac91:this[_0x39ba27(0x202)],this['_hovered']=(_0x31ebe2=_0x2c650b['hovered'])!=null?_0x31ebe2:this['_hovered'],this['_range']=(_0x26bf16=_0x2c650b[_0x39ba27(0x349)])!=null?_0x26bf16:this[_0x39ba27(0x30e)],this['_name']=(_0xca0371=_0x2c650b[_0x39ba27(0x1a8)])!=null?_0xca0371:this[_0x39ba27(0x35e)],this[_0x39ba27(0x288)]=(_0x2beb03=_0x2c650b[_0x39ba27(0x31d)])!=null?_0x2beb03:this[_0x39ba27(0x288)],this['_backgroundColor']=(_0x4a9751=_0x2c650b[_0x39ba27(0x2e5)])!=null?_0x4a9751:this[_0x39ba27(0x1d8)],this[_0x39ba27(0x393)]({'width':_0x2c650b[_0x39ba27(0x12c)],'height':_0x2c650b[_0x39ba27(0xe1)]});}[_0x8e1915(0x339)](_0x4c8dde){const _0x1054e3=_0x8e1915,{row:_0x2fb42c,column:_0x5859bf}=_0x4c8dde;if(_0x2fb42c>=this[_0x1054e3(0x30e)][_0x1054e3(0x1a7)]&&_0x2fb42c<=this[_0x1054e3(0x30e)]['endRow']&&_0x5859bf>=this[_0x1054e3(0x30e)][_0x1054e3(0x3ac)]&&_0x5859bf<=this[_0x1054e3(0x30e)][_0x1054e3(0x245)]){this['setShapeProps']({'hovered':!0x0});return;}this[_0x1054e3(0x26b)]({'hovered':!0x1});}['triggerDblclick'](_0x48c585){return!0x1;}['_draw'](_0x35810e){const _0x28951c=_0x8e1915;_0x42a824[_0x28951c(0x151)][_0x28951c(0x359)](_0x35810e,{'width':this['width'],'height':this[_0x28951c(0xe1)],'strokeWidth':_0x24c4e4,'stroke':this[_0x28951c(0x202)],'evented':!0x1,'fill':this[_0x28951c(0x1d8)]}),this[_0x28951c(0x272)]&&(_0x35810e['save'](),_0x35810e[_0x28951c(0x1f4)](0x1,0x0,0x0,0x1,this[_0x28951c(0x12c)],this[_0x28951c(0x288)]===_0x28951c(0x142)?0x0:-_0x568256),_0x13de89[_0x28951c(0x359)](_0x35810e,{'text':this['_name'],'color':this[_0x28951c(0x202)]}),_0x35810e[_0x28951c(0x338)]());}}var _0x1b8dd6=Object[_0x8e1915(0x17e)],_0x3bb5e8=(_0x15ca22,_0x3d2e5c,_0x10ed8b,_0x43a005)=>{const _0x1d5da1=_0x8e1915;for(var _0x43fb26=_0x43a005>0x1?void 0x0:_0x43a005?_0x1b8dd6(_0x3d2e5c,_0x10ed8b):_0x3d2e5c,_0x310db7=_0x15ca22[_0x1d5da1(0x33e)]-0x1,_0x5c2d17;_0x310db7>=0x0;_0x310db7--)(_0x5c2d17=_0x15ca22[_0x310db7])&&(_0x43fb26=_0x5c2d17(_0x43fb26)||_0x43fb26);return _0x43fb26;},_0x18c571=(_0x312a39,_0x331f3f)=>(_0x57e934,_0x125d72)=>_0x331f3f(_0x57e934,_0x125d72,_0x312a39);const _0x4f369d=0x1389;let _0x57fc11=class extends _0x1121b6[_0x8e1915(0x267)]{constructor(_0x295df4,_0xb48330,_0x2bde24,_0x2e540e){const _0x41f8a6=_0x8e1915;super(),_0xdf3e66(this,_0x41f8a6(0x223),new Set()),_0xdf3e66(this,_0x41f8a6(0x3a7),null),(this[_0x41f8a6(0x124)]=_0x295df4,this[_0x41f8a6(0x27c)]=_0xb48330,this[_0x41f8a6(0x1df)]=_0x2bde24,this['_themeService']=_0x2e540e,this['_init']());}[_0x8e1915(0x22c)](){const _0x508723=_0x8e1915;this['_sheetSkeletonManagerService'][_0x508723(0xcc)][_0x508723(0x212)](_0x12b9a5['takeUntil'](this[_0x508723(0x17c)]),_0x12b9a5[_0x508723(0x180)](_0x3ede42=>{const _0x3183e2=_0x508723;if(_0x3ede42){const _0x43ed58=_0x3ede42[_0x3183e2(0x3a4)];return _0xf2ac11[_0x3183e2(0x21a)](this['_collabCursorController'][_0x3183e2(0xe8)](this[_0x3183e2(0x124)][_0x3183e2(0xd9)]),this[_0x3183e2(0x2cb)]['currentTheme$'])[_0x3183e2(0x212)](_0x12b9a5[_0x3183e2(0x238)](([_0xb330e9,_0x2c2397])=>{const _0x5099ec=new Map();return _0xb330e9['forEach']((_0x4b0a4b,_0x173764)=>{const _0x5e5b00=_0xe84b;if(_0x4b0a4b[_0x5e5b00(0x347)]===_0x43ed58){const _0x180016={..._0x4b0a4b};_0x180016[_0x5e5b00(0x118)]=this[_0x5e5b00(0x2cb)][_0x5e5b00(0x31e)](_0x4b0a4b[_0x5e5b00(0x118)]),_0x5099ec[_0x5e5b00(0x3af)](_0x173764,_0x180016);}}),{'skeleton':_0x3ede42,'cursors':_0x5099ec};}));}return _0xf2ac11['of']({'skeleton':null,'cursors':new Map()});}))[_0x508723(0x17d)](({skeleton:_0x38b4c1,cursors:_0x2e3c96})=>{const _0x4a6ee8=_0x508723;this[_0x4a6ee8(0x20b)](),_0x38b4c1&&this['_updateCollabCursors'](_0x38b4c1,_0x2e3c96);}),this[_0x508723(0x27c)][_0x508723(0xcc)][_0x508723(0x17d)](_0x507d0f=>{const _0x49523d=_0x508723;if(_0x507d0f==null)return;const {skeleton:_0x5216de}=_0x507d0f,{scene:_0x2d712c}=this[_0x49523d(0x124)];_0x2d712c[_0x49523d(0x182)][_0x49523d(0x35c)](_0x1121b6['debounce'](_0x5c9d88=>{const _0x41e2bf=_0x49523d;var _0x303077,_0x4efca7;const {offsetX:_0x48e864,offsetY:_0x5c6715}=_0x5c9d88,{x:_0x5eb659,y:_0x2c7dde}=_0x2d712c[_0x41e2bf(0x2f0)](_0x42a824[_0x41e2bf(0xf1)][_0x41e2bf(0x264)]([_0x48e864,_0x5c6715])),{scaleX:_0x5c9433,scaleY:_0x5a8440}=_0x2d712c['getAncestorScale'](),_0x5b9ef4=_0x2d712c[_0x41e2bf(0x2f9)](_0x42a824[_0x41e2bf(0x337)][_0x41e2bf(0x3a8)]),_0x44f822=_0x2d712c[_0x41e2bf(0x211)](_0x42a824['Vector2'][_0x41e2bf(0x264)]([_0x5eb659,_0x2c7dde]),_0x5b9ef4),_0x2fa752=_0x5216de[_0x41e2bf(0x2b3)](_0x48e864,_0x5c6715,_0x5c9433,_0x5a8440,_0x44f822);((_0x303077=this[_0x41e2bf(0x3a7)])==null?void 0x0:_0x303077['column'])===_0x2fa752[_0x41e2bf(0x121)]&&((_0x4efca7=this[_0x41e2bf(0x3a7)])==null?void 0x0:_0x4efca7[_0x41e2bf(0x2e6)])===_0x2fa752['row']||this[_0x41e2bf(0x223)]['forEach'](_0x25e6d8=>{const _0x506eb7=_0x41e2bf;_0x25e6d8[_0x506eb7(0x339)](_0x2fa752);});},0x64));});}[_0x8e1915(0x290)](_0x2da1bf,_0x18dd1f){const _0x51a508=_0x8e1915;var _0x23548f;const _0x244de9=(_0x23548f=this[_0x51a508(0x27c)][_0x51a508(0x1d5)]())==null?void 0x0:_0x23548f[_0x51a508(0x287)];if(!_0x244de9)return;const _0x13b15c=this[_0x51a508(0x193)]();if(!_0x13b15c)return;this[_0x51a508(0x223)][_0x51a508(0xea)](_0x2ae9c2=>{const _0x7a833b=_0x51a508;_0x2ae9c2[_0x7a833b(0x1b0)]();});const {scene:_0xbca1ed}=_0x13b15c,_0x5e4f29=_0x7a596b(Array['from'](_0x18dd1f[_0x51a508(0x311)]()))[_0x51a508(0x238)](_0x395fc0=>{const _0x2cba2f=_0x51a508,{color:_0x57fe99,range:_0x32eef5,name:_0x170211,selection:_0x29171e,sheetID:_0x2183ba}=_0x395fc0,{startColumn:_0x223946,startRow:_0x558288,endColumn:_0x5e55f3,endRow:_0xde5eb7}=_0x32eef5,_0x7c1992=_0x1ac3ed[_0x2cba2f(0x197)](_0x558288,_0x223946,_0xbca1ed,_0x244de9),_0x7cbeab=_0x1ac3ed['getCoordByCell'](_0xde5eb7,_0x5e55f3,_0xbca1ed,_0x244de9),{columnHeaderHeightAndMarginTop:_0xadefa8}=_0x244de9,{startX:_0x1770ec,startY:_0x3ac061}=_0x7c1992,{endX:_0x1ba69c,endY:_0x2ef578}=_0x7cbeab,_0x26e478=_0x1ba69c-_0x1770ec,_0x39df2c=_0x2ef578-_0x3ac061,_0x334e33={'labelPosition':_0x3ac061-_0xadefa8>=_0x568256?'top':_0x2cba2f(0x142),'sheetID':_0x2183ba,'range':_0x32eef5,'color':_0x57fe99,'name':_0x170211,'selection':_0x29171e,'left':_0x1770ec,'top':_0x3ac061,'width':_0x26e478,'height':_0x39df2c,'evented':!0x1,'zIndex':_0x4f369d};return new _0x40acb1(_0x170211,_0x334e33);});_0xbca1ed[_0x51a508(0x2fa)](_0x5e4f29,_0x5483c3),this['_cursors']=new Set(_0x5e4f29);}['_removeCollabCursors'](){const _0x57e5f8=_0x8e1915;var _0x994c0;(_0x994c0=this[_0x57e5f8(0x223)])==null||_0x994c0['forEach'](_0x45e2cd=>_0x45e2cd['dispose']());}['_getSheetObject'](){const _0x27de01=_0x8e1915;return _0x1ac3ed[_0x27de01(0x296)](this[_0x27de01(0x124)][_0x27de01(0x20d)],this[_0x27de01(0x124)]);}};_0x57fc11=_0x3bb5e8([_0x18c571(0x1,_0x1121b6[_0x8e1915(0x1e9)](_0x1ac3ed[_0x8e1915(0xdd)])),_0x18c571(0x2,_0x1121b6[_0x8e1915(0x1e9)](_0x2ddf05)),_0x18c571(0x3,_0x1121b6[_0x8e1915(0x1e9)](_0x1121b6[_0x8e1915(0xda)]))],_0x57fc11);function _0x7a596b(_0x39d131){const _0x3da880=_0x8e1915,_0x35abbe=new Map();return _0x39d131[_0x3da880(0xea)](_0x3ce3eb=>{const _0x1d2b73=_0x3da880;if(_0x35abbe[_0x1d2b73(0x207)](_0x3ce3eb[_0x1d2b73(0xfc)])){const _0x2753b4=_0x35abbe[_0x1d2b73(0xe3)](_0x3ce3eb[_0x1d2b73(0xfc)]);_0x2753b4['name']+=',\x20'+_0x3ce3eb[_0x1d2b73(0x1a8)];}else _0x35abbe[_0x1d2b73(0x3af)](_0x3ce3eb[_0x1d2b73(0xfc)],_0x3ce3eb);}),Array[_0x3da880(0x2bb)](_0x35abbe[_0x3da880(0x311)]());}var _0x53ce8d=Object[_0x8e1915(0x17e)],_0x3c7086=(_0x138274,_0x2e8c7c,_0x38fdbe,_0x3a817f)=>{const _0x366c6a=_0x8e1915;for(var _0x1c6573=_0x3a817f>0x1?void 0x0:_0x3a817f?_0x53ce8d(_0x2e8c7c,_0x38fdbe):_0x2e8c7c,_0x3efef1=_0x138274[_0x366c6a(0x33e)]-0x1,_0x4482cf;_0x3efef1>=0x0;_0x3efef1--)(_0x4482cf=_0x138274[_0x3efef1])&&(_0x1c6573=_0x4482cf(_0x1c6573)||_0x1c6573);return _0x1c6573;},_0x5a16f1=(_0x4ac502,_0x3cab1b)=>(_0x2fc36b,_0xb5175c)=>_0x3cab1b(_0x2fc36b,_0xb5175c,_0x4ac502);let _0x49a6f3=class extends _0x1121b6[_0x8e1915(0x135)]{constructor(_0x127b73,_0x255632,_0x3a7a1b,_0x4898e6,_0x15f708,_0xa06baf){const _0x286420=_0x8e1915;super(),this['_beforeCloseService']=_0x127b73,this[_0x286420(0x1ac)]=_0x255632,this['_collaborationUIEventService']=_0x3a7a1b,this['_messageService']=_0x4898e6,this[_0x286420(0x286)]=_0x15f708,this[_0x286420(0x1a0)]=_0xa06baf,this['_setupBeforeClosingHandler'](),this['_initEvent']();}[_0x8e1915(0x141)](){const _0x1304a2=_0x8e1915;this['disposeWithMe'](this[_0x1304a2(0x30c)][_0x1304a2(0x11e)](()=>{const _0x591e67=_0x1304a2;if(this[_0x591e67(0x1ac)][_0x591e67(0x119)][_0x591e67(0x31f)])return this[_0x591e67(0x1a0)]['t'](_0x591e67(0xca));}));}[_0x8e1915(0x283)](){const _0x20a203=_0x8e1915;this[_0x20a203(0x39e)](this[_0x20a203(0x306)]['event$']['subscribe'](_0x2cded5=>{const _0x260eb9=_0x20a203;_0x2cded5['id']===_0x250214[_0x260eb9(0x3b3)][_0x260eb9(0xc8)]&&this['_messageService'][_0x260eb9(0x389)]({'type':_0x50d683['MessageType']['Warning'],'content':this[_0x260eb9(0x1a0)]['t'](_0x260eb9(0x275))}),_0x2cded5['id']===_0x250214['CollaborationUIEventId'][_0x260eb9(0x281)]&&this[_0x260eb9(0x17a)]['show']({'type':_0x50d683[_0x260eb9(0x233)]['Warning'],'content':this[_0x260eb9(0x1a0)]['t']('collaboration.closeRoom')}),_0x2cded5['id']===_0x250214[_0x260eb9(0x3b3)][_0x260eb9(0x335)]&&this['_notificationService'][_0x260eb9(0x389)]({'title':this[_0x260eb9(0x1a0)]['t'](_0x260eb9(0x176)),'content':this[_0x260eb9(0x1a0)]['t'](_0x260eb9(0x148)),'type':_0x260eb9(0xf4),'duration':0x0}),_0x2cded5['id']===_0x250214[_0x260eb9(0x3b3)][_0x260eb9(0x122)]&&this[_0x260eb9(0x17a)]['show']({'type':_0x50d683[_0x260eb9(0x233)][_0x260eb9(0x2c2)],'content':this[_0x260eb9(0x1a0)]['t'](_0x260eb9(0x20c))+'('+_0x2cded5[_0x260eb9(0x165)]+')'}),_0x2cded5['id']===_0x250214[_0x260eb9(0x3b3)][_0x260eb9(0x266)]&&this[_0x260eb9(0x17a)][_0x260eb9(0x389)]({'type':_0x50d683['MessageType'][_0x260eb9(0xdb)],'content':this[_0x260eb9(0x1a0)]['t'](_0x2cded5[_0x260eb9(0x165)]||'')}),_0x2cded5['id']===_0x250214['CollaborationUIEventId'][_0x260eb9(0x1d6)]&&this[_0x260eb9(0x17a)][_0x260eb9(0x389)]({'type':_0x50d683[_0x260eb9(0x233)][_0x260eb9(0xdb)],'content':this[_0x260eb9(0x1a0)]['t']('session.will-retry')}),_0x2cded5['id']===_0x250214[_0x260eb9(0x3b3)]['SOCKET_FAILED']&&this[_0x260eb9(0x17a)][_0x260eb9(0x389)]({'type':_0x50d683[_0x260eb9(0x233)][_0x260eb9(0x2c2)],'content':this['_localeService']['t']('session.connection-failed')}),_0x2cded5['id']===_0x250214['CollaborationUIEventId'][_0x260eb9(0x2ca)]&&this[_0x260eb9(0x17a)][_0x260eb9(0x389)]({'type':_0x50d683[_0x260eb9(0x233)][_0x260eb9(0x2c2)],'content':this[_0x260eb9(0x1a0)]['t']('session.collaboration-timeout')});}));}};_0x49a6f3=_0x3c7086([_0x5a16f1(0x0,_0x1c0cb7[_0x8e1915(0xe2)]),_0x5a16f1(0x1,_0x250214[_0x8e1915(0x28e)]),_0x5a16f1(0x2,_0x1121b6['Inject'](_0x250214['CollaborationUIEventService'])),_0x5a16f1(0x3,_0x1c0cb7['IMessageService']),_0x5a16f1(0x4,_0x1c0cb7[_0x8e1915(0x213)]),_0x5a16f1(0x5,_0x1121b6[_0x8e1915(0x1e9)](_0x1121b6[_0x8e1915(0x1ec)]))],_0x49a6f3);var _0x5c13e8=Object[_0x8e1915(0x17e)],_0x5dfa8c=(_0x54f9a0,_0x20ac04,_0x562fa4,_0x253459)=>{for(var _0x4881ee=_0x253459>0x1?void 0x0:_0x253459?_0x5c13e8(_0x20ac04,_0x562fa4):_0x20ac04,_0xe7213b=_0x54f9a0['length']-0x1,_0x53a127;_0xe7213b>=0x0;_0xe7213b--)(_0x53a127=_0x54f9a0[_0xe7213b])&&(_0x4881ee=_0x53a127(_0x4881ee)||_0x4881ee);return _0x4881ee;},_0x216017=(_0x2fc15a,_0x1bf6c1)=>(_0x1299fa,_0xa3931)=>_0x1bf6c1(_0x1299fa,_0xa3931,_0x2fc15a);let _0x3c92a1=class extends _0x1121b6[_0x8e1915(0x135)]{constructor(_0x2c1cef,_0x57e179,_0x5dc0f4,_0x5bdee0){const _0x1eeb90=_0x8e1915;super(),_0xdf3e66(this,_0x1eeb90(0x147)),(this[_0x1eeb90(0x30f)]=_0x2c1cef,this[_0x1eeb90(0x2d9)]=_0x57e179,this[_0x1eeb90(0x19f)]=_0x5dc0f4,this[_0x1eeb90(0x27a)]=_0x5bdee0,this['_init']());}[_0x8e1915(0x22c)](){const _0x4428f6=_0x8e1915;this[_0x4428f6(0x1c4)](),this[_0x4428f6(0xf6)](),this[_0x4428f6(0x37d)](),this[_0x4428f6(0x13d)]();}['_initUserListener'](){const _0x2a172c=_0x8e1915;this[_0x2a172c(0x39e)](this['_collaborationSessionService'][_0x2a172c(0x33c)][_0x2a172c(0x17d)](_0x28fb72=>{const _0x5a73d6=_0x2a172c;this[_0x5a73d6(0x147)]=_0x28fb72==null?void 0x0:_0x28fb72[_0x5a73d6(0x18e)];}));}['_initWindowErrorListener'](){const _0x52c48f=_0x8e1915,_0x16ecb1=_0x5a20fc=>{const _0x1a8345=_0xe84b;var _0x1f7db8;this[_0x1a8345(0x219)](_0x1a8345(0xf4),'[Window\x20Error]:\x20'+_0x5a20fc[_0x1a8345(0x2e9)]+_0x1a8345(0x2ec)+_0x5a20fc[_0x1a8345(0x240)]+':'+_0x5a20fc[_0x1a8345(0x397)]+':'+_0x5a20fc['colno']+'\x0a'+(((_0x1f7db8=_0x5a20fc[_0x1a8345(0xf4)])==null?void 0x0:_0x1f7db8[_0x1a8345(0x2f5)])||''));};window[_0x52c48f(0x2bf)](_0x52c48f(0xf4),_0x16ecb1),this[_0x52c48f(0x39e)](()=>{const _0x4b620f=_0x52c48f;window['removeEventListener'](_0x4b620f(0xf4),_0x16ecb1);});}[_0x8e1915(0xf6)](){const _0x57112c=_0x8e1915,_0xcf58b=_0x1f22ec=>{const _0x658e7=_0xe84b;this['_uploadLog'](_0x658e7(0xf4),_0x658e7(0x23c)+_0x1f22ec[_0x658e7(0x220)]);};window[_0x57112c(0x2bf)](_0x57112c(0x105),_0xcf58b),this[_0x57112c(0x39e)](()=>{const _0x2c879c=_0x57112c;window[_0x2c879c(0x18b)](_0x2c879c(0x105),_0xcf58b);});}[_0x8e1915(0x37d)](){const _0xfb2af8=_0x8e1915,_0x498fe2=this[_0xfb2af8(0x19f)][_0xfb2af8(0xf4)][_0xfb2af8(0x3aa)](this[_0xfb2af8(0x19f)]);this[_0xfb2af8(0x19f)]['error']=(..._0x2b3611)=>{const _0x2e7d9e=_0xfb2af8,_0x121ba7=_0x2b3611['map'](_0x1929d5=>_0x1929d5 instanceof Error?_0x1929d5[_0x2e7d9e(0x2e9)]+'\x0a'+_0x1929d5[_0x2e7d9e(0x2f5)]:String(_0x1929d5))[_0x2e7d9e(0x1a9)]('\x20');this[_0x2e7d9e(0x219)]('error',_0x2e7d9e(0x217)+_0x121ba7),_0x498fe2(..._0x2b3611);},this[_0xfb2af8(0x39e)](()=>{const _0x1ffa7f=_0xfb2af8;this['_logService'][_0x1ffa7f(0xf4)]=_0x498fe2;});}[_0x8e1915(0x219)](_0x4b28aa,_0x29529a){const _0x41fb37=_0x8e1915;try{const _0x307e5d={'userId':this[_0x41fb37(0x147)],'logLabel':_0x4b28aa,'content':_0x29529a};this[_0x41fb37(0x2d9)][_0x41fb37(0xd5)]('/universer-api/frontend/logs',{'body':_0x307e5d})[_0x41fb37(0x392)](()=>{});}catch{}}};_0x3c92a1=_0x5dfa8c([_0x216017(0x0,_0x1121b6[_0x8e1915(0x1e9)](_0x1121b6[_0x8e1915(0x2e3)])),_0x216017(0x1,_0x1121b6[_0x8e1915(0x1e9)](_0x24e2e1[_0x8e1915(0x239)])),_0x216017(0x2,_0x1121b6[_0x8e1915(0x15a)]),_0x216017(0x3,_0x1121b6[_0x8e1915(0x1e9)](_0x250214[_0x8e1915(0x188)]))],_0x3c92a1);const _0x4b7b62=_0x8e1915(0x2bd),_0x55c3aa={};var _0x534b85=Object[_0x8e1915(0x17e)],_0x59bea3=(_0x5df3c2,_0x2f6ff8,_0x428250,_0x135cc8)=>{for(var _0x31e4c3=_0x135cc8>0x1?void 0x0:_0x135cc8?_0x534b85(_0x2f6ff8,_0x428250):_0x2f6ff8,_0x4529aa=_0x5df3c2['length']-0x1,_0x29d541;_0x4529aa>=0x0;_0x4529aa--)(_0x29d541=_0x5df3c2[_0x4529aa])&&(_0x31e4c3=_0x29d541(_0x31e4c3)||_0x31e4c3);return _0x31e4c3;},_0x312097=(_0x11fb7c,_0x1f721e)=>(_0x52c6cb,_0x4c701f)=>_0x1f721e(_0x52c6cb,_0x4c701f,_0x11fb7c);let _0x4c9319=class{constructor(_0x3fc393,_0x33ebb6){const _0x35fcbf=_0x8e1915;this[_0x35fcbf(0x246)]=_0x3fc393,this[_0x35fcbf(0x324)]=_0x33ebb6;}[_0x8e1915(0x1c8)](_0x36f001){this['_transformUndoRedoStack'](_0x36f001),this['_transformPreviousActiveRange'](_0x36f001);}['transformRemoteChangeset'](_0x4862b7){const _0x12b100=_0x8e1915,{unitID:_0x2208bd}=_0x4862b7,_0x3b7d44=this[_0x12b100(0x324)][_0x12b100(0x2c1)](_0x2208bd)[_0x12b100(0xe6)](_0x509b22[_0x12b100(0x114)]),{redoCache:_0x4f387c}=_0x3b7d44[_0x12b100(0x251)]();if(_0x4f387c[_0x12b100(0x33e)]===0x0)return _0x4862b7;let _0x5e6c3f=_0x1121b6[_0x12b100(0x12d)][_0x12b100(0x208)](_0x4862b7[_0x12b100(0x218)][0x0]);for(let _0x2d99bb=0x0;_0x2d99bb<_0x4f387c[_0x12b100(0x33e)];_0x2d99bb++){const _0x1f55ee={'id':_0x12b100(0x29e),'params':{..._0x4f387c[_0x2d99bb]}},_0x32e2d0=this[_0x12b100(0x246)]['transformMutation'](_0x5e6c3f,_0x1f55ee,!0x1);if(_0x271c6b['isTransformMutationFailure'](_0x32e2d0))throw _0x32e2d0[_0x12b100(0xf4)];_0x5e6c3f=_0x32e2d0[_0x12b100(0x314)];}return{..._0x1121b6[_0x12b100(0x12d)][_0x12b100(0x208)](_0x4862b7),'mutations':[_0x5e6c3f]};}['_transformUndoRedoStack'](_0x8b7ed3){const _0x106a98=_0x8e1915,{unitID:_0xd6c9a2}=_0x8b7ed3,_0x1b913=this[_0x106a98(0x324)][_0x106a98(0x2c1)](_0xd6c9a2)[_0x106a98(0xe6)](_0x509b22[_0x106a98(0x114)]),{undoCache:_0x124cfa,redoCache:_0x39370a}=_0x1b913['getUndoRedoMutationParamsCache']();if(_0x124cfa[_0x106a98(0x33e)]===0x0||_0x39370a[_0x106a98(0x33e)]===0x0)return;const _0xaabaef=[],_0xf615de=[];let _0x2771cd=_0x1121b6['Tools'][_0x106a98(0x208)](_0x8b7ed3[_0x106a98(0x218)][0x0]),_0x6f735f=_0x1121b6[_0x106a98(0x12d)][_0x106a98(0x208)](_0x8b7ed3[_0x106a98(0x218)][0x0]);for(let _0x525954=_0x124cfa[_0x106a98(0x33e)]-0x1;_0x525954>=0x0;_0x525954--){const _0x57e897={'id':_0x106a98(0x29e),'params':{..._0x124cfa[_0x525954]}},_0x3d1e17={'id':'doc.mutation.rich-text-editing','params':{..._0x39370a[_0x525954]}},_0x69e475=this['_transformService'][_0x106a98(0x331)](_0x2771cd,_0x57e897,!0x1),_0x244df1=this[_0x106a98(0x246)][_0x106a98(0x331)](_0x6f735f,_0x3d1e17,!0x1);if(_0x271c6b[_0x106a98(0x117)](_0x69e475))throw _0x69e475['error'];if(_0x271c6b[_0x106a98(0x117)](_0x244df1))throw _0x244df1[_0x106a98(0xf4)];_0xaabaef[_0x106a98(0x1d7)](_0x69e475['m2Prime']['params']),_0xf615de[_0x106a98(0x1d7)](_0x244df1[_0x106a98(0x1af)][_0x106a98(0x216)]),_0x2771cd=_0x69e475[_0x106a98(0x314)],_0x6f735f=_0x244df1[_0x106a98(0x314)];}_0x1b913['setUndoRedoMutationParamsCache']({'undoCache':_0xaabaef,'redoCache':_0xf615de});}[_0x8e1915(0x236)](_0x170429){const _0x45c0c4=_0x8e1915,{unitID:_0x5eee7a}=_0x170429,_0x369f50=this['_renderManagerService'][_0x45c0c4(0x2c1)](_0x5eee7a)[_0x45c0c4(0xe6)](_0x509b22['DocIMEInputManagerService']),_0x232b2a=_0x369f50[_0x45c0c4(0x1e3)]();if(_0x232b2a==null)return;const _0x125587=[{'id':_0x45c0c4(0x29e),'params':{'unitId':_0x170429[_0x45c0c4(0x16c)],'actions':null,'textRanges':[_0x232b2a]}}],_0x59f362=this[_0x45c0c4(0x246)][_0x45c0c4(0x2e8)](_0x170429,_0x125587);if(!_0x271c6b[_0x45c0c4(0x247)](_0x59f362))throw _0x59f362[_0x45c0c4(0xf4)];const _0x401d11=_0x59f362[_0x45c0c4(0x1af)][0x0][_0x45c0c4(0x216)][_0x45c0c4(0x2b0)];Array['isArray'](_0x401d11)&&_0x401d11['length']&&_0x369f50[_0x45c0c4(0x328)](_0x401d11[0x0]);}};_0x4c9319=_0x59bea3([_0x312097(0x0,_0x271c6b['ITransformService']),_0x312097(0x1,_0x42a824[_0x8e1915(0x2dc)])],_0x4c9319);var _0x4def12=Object[_0x8e1915(0x17e)],_0x24ae61=(_0x3ab5bb,_0x829df8,_0x5d32b5,_0x4c86eb)=>{const _0x1b5ea0=_0x8e1915;for(var _0x3630a5=_0x4c86eb>0x1?void 0x0:_0x4c86eb?_0x4def12(_0x829df8,_0x5d32b5):_0x829df8,_0x94ae98=_0x3ab5bb[_0x1b5ea0(0x33e)]-0x1,_0xab86ca;_0x94ae98>=0x0;_0x94ae98--)(_0xab86ca=_0x3ab5bb[_0x94ae98])&&(_0x3630a5=_0xab86ca(_0x3630a5)||_0x3630a5);return _0x3630a5;},_0xaf6ac1=(_0x42d033,_0x3e3746)=>(_0x5257f0,_0x217bc1)=>_0x3e3746(_0x5257f0,_0x217bc1,_0x42d033);let _0x275ae7=class{constructor(_0x249f8b,_0x45dbba,_0xf67a77){const _0x436385=_0x8e1915;this[_0x436385(0x30f)]=_0x249f8b,this['_transformService']=_0x45dbba,this[_0x436385(0x10b)]=_0xf67a77;}['transformStateCache'](_0x1d8db0){const _0x3a8394=_0x8e1915;this[_0x3a8394(0x37a)](_0x1d8db0);}[_0x8e1915(0x2f1)](_0x2cdff3){const _0x4f67d2=_0x8e1915,{unitID:_0xb4561b}=_0x2cdff3,{collaboration:_0x569535}=this[_0x4f67d2(0x10b)][_0x4f67d2(0x21c)](_0xb4561b);if(_0x569535[_0x4f67d2(0x33e)]===0x0)return _0x2cdff3;let _0x3b12f9=_0x1121b6['Tools'][_0x4f67d2(0x208)](_0x2cdff3[_0x4f67d2(0x218)][0x0]);for(let _0x77479a=0x0;_0x77479a<_0x569535[_0x4f67d2(0x33e)];_0x77479a++){const _0x39a81b={'id':_0x4f67d2(0x29e),'params':{'unitId':_0x569535[_0x77479a][_0x4f67d2(0xd9)],..._0x569535[_0x77479a][_0x4f67d2(0x100)]}},_0x1e9ef4=this[_0x4f67d2(0x246)]['transformMutation'](_0x3b12f9,_0x39a81b,!0x1);if(_0x271c6b[_0x4f67d2(0x117)](_0x1e9ef4))throw _0x1e9ef4[_0x4f67d2(0xf4)];_0x3b12f9=_0x1e9ef4[_0x4f67d2(0x314)];}return{..._0x1121b6[_0x4f67d2(0x12d)][_0x4f67d2(0x208)](_0x2cdff3),'mutations':[_0x3b12f9]};}['_transformHistoryAndStateStack'](_0x49b4eb){const _0x1f3b91=_0x8e1915,{unitID:_0x595417}=_0x49b4eb,{history:_0x581ae0,collaboration:_0x270f2c}=this[_0x1f3b91(0x10b)]['getStateCache'](_0x595417);if(_0x581ae0['length']===0x0&&_0x270f2c[_0x1f3b91(0x33e)]===0x0)return;const _0x1f51d4=[],_0x45457c=[];let _0x1fd998=_0x1121b6['Tools'][_0x1f3b91(0x208)](_0x49b4eb[_0x1f3b91(0x218)][0x0]),_0x145a4f=_0x1121b6['Tools']['deepClone'](_0x49b4eb[_0x1f3b91(0x218)][0x0]);for(let _0x25c232=_0x581ae0[_0x1f3b91(0x33e)]-0x1;_0x25c232>=0x0;_0x25c232--){const _0x1381d3={'id':_0x1f3b91(0x29e),'params':{'unitId':_0x581ae0[_0x25c232][_0x1f3b91(0xd9)],..._0x581ae0[_0x25c232]['undoState']}},_0xe8faea={'id':_0x1f3b91(0x29e),'params':{'unitId':_0x581ae0[_0x25c232][_0x1f3b91(0xd9)],..._0x581ae0[_0x25c232][_0x1f3b91(0x100)]}},_0xe3561e=this['_transformService'][_0x1f3b91(0x331)](_0x1fd998,_0x1381d3,!0x1),_0x215eea=this[_0x1f3b91(0x246)][_0x1f3b91(0x331)](_0x145a4f,_0xe8faea,!0x1);if(_0x271c6b['isTransformMutationFailure'](_0xe3561e))throw _0xe3561e['error'];if(_0x271c6b[_0x1f3b91(0x117)](_0x215eea))throw _0x215eea[_0x1f3b91(0xf4)];_0x1f51d4[_0x1f3b91(0x1d7)]({..._0x581ae0[_0x25c232],'undoState':_0xe3561e[_0x1f3b91(0x1af)]['params'],'redoState':_0x215eea[_0x1f3b91(0x1af)]['params']}),_0x1fd998=_0xe3561e[_0x1f3b91(0x314)],_0x145a4f=_0x215eea[_0x1f3b91(0x314)];}_0x1fd998=_0x1121b6[_0x1f3b91(0x12d)]['deepClone'](_0x49b4eb[_0x1f3b91(0x218)][0x0]),_0x145a4f=_0x1121b6[_0x1f3b91(0x12d)][_0x1f3b91(0x208)](_0x49b4eb[_0x1f3b91(0x218)][0x0]);for(let _0x431a24=_0x270f2c['length']-0x1;_0x431a24>=0x0;_0x431a24--){const _0x45866b={'id':_0x1f3b91(0x29e),'params':{'unitId':_0x270f2c[_0x431a24][_0x1f3b91(0xd9)],..._0x270f2c[_0x431a24][_0x1f3b91(0x2ed)]}},_0x5efde0={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x270f2c[_0x431a24][_0x1f3b91(0xd9)],..._0x270f2c[_0x431a24][_0x1f3b91(0x100)]}},_0x282c49=this[_0x1f3b91(0x246)][_0x1f3b91(0x331)](_0x1fd998,_0x45866b,!0x1),_0x2d21f7=this[_0x1f3b91(0x246)][_0x1f3b91(0x331)](_0x145a4f,_0x5efde0,!0x1);if(_0x271c6b['isTransformMutationFailure'](_0x282c49))throw _0x282c49[_0x1f3b91(0xf4)];if(_0x271c6b[_0x1f3b91(0x117)](_0x2d21f7))throw _0x2d21f7[_0x1f3b91(0xf4)];_0x45457c[_0x1f3b91(0x1d7)]({..._0x270f2c[_0x431a24],'undoState':_0x282c49['m2Prime'][_0x1f3b91(0x216)],'redoState':_0x2d21f7[_0x1f3b91(0x1af)][_0x1f3b91(0x216)]}),_0x1fd998=_0x282c49[_0x1f3b91(0x314)],_0x145a4f=_0x2d21f7[_0x1f3b91(0x314)];}this['_docStateChangeManagerService']['setStateCache'](_0x595417,{'history':_0x1f51d4,'collaboration':_0x45457c});}};_0x275ae7=_0x24ae61([_0xaf6ac1(0x0,_0x1121b6['Inject'](_0x1121b6[_0x8e1915(0x2e3)])),_0xaf6ac1(0x1,_0x271c6b[_0x8e1915(0x190)]),_0xaf6ac1(0x2,_0x1121b6[_0x8e1915(0x1e9)](_0x509b22['DocStateChangeManagerService']))],_0x275ae7);var _0x5488b4=Object[_0x8e1915(0x17e)],_0x499b91=(_0x187609,_0x1a2984,_0x3a65e1,_0x4edbc8)=>{const _0x2fb763=_0x8e1915;for(var _0x4b53b0=_0x4edbc8>0x1?void 0x0:_0x4edbc8?_0x5488b4(_0x1a2984,_0x3a65e1):_0x1a2984,_0x2ecfb3=_0x187609[_0x2fb763(0x33e)]-0x1,_0x46aea4;_0x2ecfb3>=0x0;_0x2ecfb3--)(_0x46aea4=_0x187609[_0x2ecfb3])&&(_0x4b53b0=_0x46aea4(_0x4b53b0)||_0x4b53b0);return _0x4b53b0;},_0x11ff10=(_0x5955b8,_0x20dfce)=>(_0x50d690,_0x706c6e)=>_0x20dfce(_0x50d690,_0x706c6e,_0x5955b8);let _0x2e67b4=class{constructor(_0x3ab72a,_0x49f5e2){const _0x1c03a1=_0x8e1915;this[_0x1c03a1(0x30f)]=_0x3ab72a,this[_0x1c03a1(0x246)]=_0x49f5e2;}[_0x8e1915(0x1f1)](_0x15f289){const _0x2baffa=_0x8e1915;var _0x37d5b4;const _0x29a217=this['_injector'][_0x2baffa(0xe3)](_0x5ead8d[_0x2baffa(0x21b)]),_0x156a8b=(_0x37d5b4=_0x29a217['getDocRanges']())!=null?_0x37d5b4:[];if(_0x156a8b[_0x2baffa(0x33e)]===0x0)return;const _0x493eb8=_0x15f289['unitID'],_0x5a1160=[{'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x493eb8,'actions':null,'textRanges':_0x156a8b}}],_0x249b89=this[_0x2baffa(0x246)]['transformMutationsWithChangeset'](_0x15f289,_0x5a1160);if(!_0x271c6b[_0x2baffa(0x247)](_0x249b89))throw _0x249b89[_0x2baffa(0xf4)];const _0xb57d2=_0x249b89['m2Prime'][0x0][_0x2baffa(0x216)]['textRanges'];Array[_0x2baffa(0x23f)](_0xb57d2)&&_0xb57d2[_0x2baffa(0x33e)]&&_0x29a217[_0x2baffa(0x161)](_0xb57d2,{'unitId':_0x493eb8,'subUnitId':_0x493eb8},!0x1);}};_0x2e67b4=_0x499b91([_0x11ff10(0x0,_0x1121b6['Inject'](_0x1121b6[_0x8e1915(0x2e3)])),_0x11ff10(0x1,_0x271c6b[_0x8e1915(0x190)])],_0x2e67b4);var _0x39ab78=Object[_0x8e1915(0x17e)],_0x450970=(_0x48ddd1,_0x36c76d,_0xbef4e5,_0x141f43)=>{for(var _0xd3fc84=_0x141f43>0x1?void 0x0:_0x141f43?_0x39ab78(_0x36c76d,_0xbef4e5):_0x36c76d,_0x1e5733=_0x48ddd1['length']-0x1,_0x2a9396;_0x1e5733>=0x0;_0x1e5733--)(_0x2a9396=_0x48ddd1[_0x1e5733])&&(_0xd3fc84=_0x2a9396(_0xd3fc84)||_0xd3fc84);return _0xd3fc84;},_0x59c628=(_0x25a01b,_0x27dc68)=>(_0x300ed2,_0x3234e5)=>_0x27dc68(_0x300ed2,_0x3234e5,_0x25a01b);let _0x5f1a44=class extends _0x1121b6['Disposable']{constructor(_0x2ff23e,_0x430f6d,_0x362064,_0x4817b3,_0x46e5b0,_0x1b9323,_0x171bf3,_0x5dd43e){const _0x5639aa=_0x8e1915;super(),_0xdf3e66(this,_0x5639aa(0x1ab),new _0xf2ac11[(_0x5639aa(0x229))](_0x250214[_0x5639aa(0x1c9)]['NOT_COLLAB'])),(this[_0x5639aa(0x10b)]=_0x2ff23e,this[_0x5639aa(0x323)]=_0x430f6d,this['_docTransformIMECacheService']=_0x362064,this['_docTransformStateCacheService']=_0x4817b3,this['_docTransformSelectionsService']=_0x46e5b0,this['_docSyncEditingCollabCursorService']=_0x1b9323,this['_messageService']=_0x171bf3,this[_0x5639aa(0x1a0)]=_0x5dd43e,this[_0x5639aa(0x1f8)]());}[_0x8e1915(0x1f8)](){const _0x44838d=_0x8e1915;this[_0x44838d(0x39e)](this[_0x44838d(0x323)][_0x44838d(0x327)]['subscribe'](_0x68afef=>{const _0x4c8f56=_0x44838d,_0x14e365=this[_0x4c8f56(0x10b)]['docStateChange$']['subscribe'](_0x28a486=>{const _0x175bf7=_0x4c8f56;if(_0x28a486==null)return;const {unitId:_0x115d75,redoState:_0x2576cf,commandId:_0x571f2a}=_0x28a486;if(_0x115d75!==_0x68afef[_0x175bf7(0x16c)])return;const _0x1dad4a={'id':_0x571f2a,'type':_0x1121b6[_0x175bf7(0x2a6)][_0x175bf7(0x2ff)],'params':{'unitId':_0x115d75,'actions':_0x2576cf[_0x175bf7(0x2b7)],'textRanges':null}};_0x68afef[_0x175bf7(0x280)](_0x1dad4a);});if(_0x68afef[_0x4c8f56(0x39e)](_0x14e365),_0x68afef instanceof _0x250214[_0x4c8f56(0x3b1)]){const _0x52acc1={'onTransformIME':_0x4a7ef0=>this[_0x4c8f56(0x224)][_0x4c8f56(0x1c8)](_0x4a7ef0),'onTransformState':_0x5b2d0c=>this[_0x4c8f56(0x343)][_0x4c8f56(0x38d)](_0x5b2d0c),'onTransformSelections':_0x4698e3=>this[_0x4c8f56(0x2b4)]['transformSelections'](_0x4698e3),'onSyncEditingCollabCursor':_0x33a0fa=>this['_docSyncEditingCollabCursorService']['syncEditingCollabCursor'](_0x33a0fa),'onTransformRemoteChangesetByIMECache':_0x2cbc58=>this['_docTransformIMECacheService']['transformRemoteChangeset'](_0x2cbc58),'onTransformRemoteChangesetByStateCache':_0x3f6c52=>this[_0x4c8f56(0x343)]['transformRemoteChangeset'](_0x3f6c52)};_0x68afef[_0x4c8f56(0x1fa)](_0x52acc1);}}));}};_0x5f1a44=_0x450970([_0x59c628(0x0,_0x1121b6[_0x8e1915(0x1e9)](_0x509b22[_0x8e1915(0xd4)])),_0x59c628(0x1,_0x1121b6[_0x8e1915(0x1e9)](_0x250214[_0x8e1915(0x258)])),_0x59c628(0x2,_0x1121b6[_0x8e1915(0x1e9)](_0x4c9319)),_0x59c628(0x3,_0x1121b6[_0x8e1915(0x1e9)](_0x275ae7)),_0x59c628(0x4,_0x1121b6[_0x8e1915(0x1e9)](_0x2e67b4)),_0x59c628(0x5,_0x1121b6[_0x8e1915(0x1e9)](_0x343dd9)),_0x59c628(0x6,_0x1c0cb7[_0x8e1915(0x3ab)]),_0x59c628(0x7,_0x1121b6[_0x8e1915(0x1e9)](_0x1121b6[_0x8e1915(0x1ec)]))],_0x5f1a44);var _0x16ca9b=(_0x55944f=>(_0x55944f[_0x55944f[_0x8e1915(0x134)]=0x0]='UNDEFINED',_0x55944f[_0x55944f['OK']=0x1]='OK',_0x55944f[_0x55944f['INTERNAL_ERROR']=0x2]=_0x8e1915(0x3ae),_0x55944f[_0x55944f['PERMISSION_DENIED']=0x3]=_0x8e1915(0x335),_0x55944f[_0x55944f['NOT_FOUND']=0x4]=_0x8e1915(0xc6),_0x55944f[_0x55944f['UNAUTHENTICATED']=0x5]=_0x8e1915(0x1e6),_0x55944f[_0x55944f['ALREADY_EXISTS']=0x6]='ALREADY_EXISTS',_0x55944f[_0x55944f[_0x8e1915(0x33d)]=0x7]=_0x8e1915(0x33d),_0x55944f[_0x55944f[_0x8e1915(0x2b9)]=0x8]=_0x8e1915(0x2b9),_0x55944f[_0x55944f[_0x8e1915(0x23b)]=0x9]=_0x8e1915(0x23b),_0x55944f[_0x55944f[_0x8e1915(0x326)]=0xa]=_0x8e1915(0x326),_0x55944f[_0x55944f['MOBILE_VERIFY_CODE_MISMATCH']=0xb]=_0x8e1915(0x2f3),_0x55944f[_0x55944f['MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED']=0xc]=_0x8e1915(0x297),_0x55944f[_0x55944f[_0x8e1915(0x3b2)]=0xd]=_0x8e1915(0x3b2),_0x55944f[_0x55944f['EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED']=0xe]='EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED',_0x55944f[_0x55944f[_0x8e1915(0x2fc)]=0xf]='AUTHORIZE_CODE_ILLEGAL',_0x55944f[_0x55944f['LOGIN_TOKEN_PROCESSING_FAILED']=0x10]='LOGIN_TOKEN_PROCESSING_FAILED',_0x55944f[_0x55944f[_0x8e1915(0xee)]=0x64]='CURRENT_STATUS_CANNOT_OPERATE',_0x55944f[_0x55944f[_0x8e1915(0x16b)]=0x65]=_0x8e1915(0x16b),_0x55944f[_0x55944f['USER_NOT_FOUND']=0xc9]=_0x8e1915(0x2ad),_0x55944f[_0x55944f[_0x8e1915(0x12f)]=0xca]=_0x8e1915(0x12f),_0x55944f[_0x55944f['CHANGESET_REVISION_CONFILICT']=0x1389]=_0x8e1915(0xc2),_0x55944f[_0x55944f[_0x8e1915(0x204)]=0x1771]=_0x8e1915(0x204),_0x55944f[_0x55944f[_0x8e1915(0x139)]=0x1772]='SNAPSHOT_HAS_BEEN_REMOVED',_0x55944f[_0x55944f[_0x8e1915(0x254)]=0x1773]=_0x8e1915(0x254),_0x55944f[_0x55944f[_0x8e1915(0x36e)]=0x1b59]=_0x8e1915(0x36e),_0x55944f[_0x55944f['APPLY_NON_SEQUENTIAL_REVISION']=0x1b5a]='APPLY_NON_SEQUENTIAL_REVISION',_0x55944f[_0x55944f[_0x8e1915(0x2f2)]=0x1b5b]='APPLY_REVISION_CONFILICT',_0x55944f[_0x55944f[_0x8e1915(0x2c6)]=0x1b5c]=_0x8e1915(0x2c6),_0x55944f[_0x55944f[_0x8e1915(0x260)]=0x1b5d]=_0x8e1915(0x260),_0x55944f[_0x55944f[_0x8e1915(0x11f)]=0x1f41]=_0x8e1915(0x11f),_0x55944f[_0x55944f[_0x8e1915(0x108)]=0x2329]='LICENSE_MAX_UNITS_EXCEEDED',_0x55944f[_0x55944f['LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED']=0x232a]=_0x8e1915(0x26d),_0x55944f[_0x55944f[_0x8e1915(0x2a0)]=0x232b]=_0x8e1915(0x2a0),_0x55944f[_0x55944f[_0x8e1915(0x34e)]=0x232c]='LICENSE_EXPORT_SIZE_EXCEEDED',_0x55944f[_0x55944f['LICENSE_DISTRO_REJECTED']=0x232d]=_0x8e1915(0x282),_0x55944f[_0x55944f[_0x8e1915(0x367)]=0x2711]=_0x8e1915(0x367),_0x55944f[_0x55944f[_0x8e1915(0x32a)]=0x2712]=_0x8e1915(0x32a),_0x55944f[_0x55944f['YUUMI_RATE_OVER_LIMIT']=0x2713]=_0x8e1915(0x22d),_0x55944f[_0x55944f[_0x8e1915(0x1ad)]=0x2714]=_0x8e1915(0x1ad),_0x55944f[_0x55944f['YUUMI_NO_CUBOID_FOR_QUESTION']=0x271a]='YUUMI_NO_CUBOID_FOR_QUESTION',_0x55944f[_0x55944f['YUUMI_ASYNCIO_CANCELLED']=0x271b]=_0x8e1915(0x356),_0x55944f[_0x55944f[_0x8e1915(0x292)]=0x271c]=_0x8e1915(0x292),_0x55944f[_0x55944f[_0x8e1915(0x19d)]=0x271d]=_0x8e1915(0x19d),_0x55944f[_0x55944f[_0x8e1915(0x15f)]=0x271e]=_0x8e1915(0x15f),_0x55944f[_0x55944f[_0x8e1915(0x2d1)]=0x271f]=_0x8e1915(0x2d1),_0x55944f[_0x55944f[_0x8e1915(0x26a)]=0x2720]=_0x8e1915(0x26a),_0x55944f[_0x55944f[_0x8e1915(0x2a4)]=0x2af9]=_0x8e1915(0x2a4),_0x55944f[_0x55944f[_0x8e1915(0x332)]=0x2ee1]=_0x8e1915(0x332),_0x55944f[_0x55944f[_0x8e1915(0x263)]=0x2ee2]=_0x8e1915(0x263),_0x55944f[_0x55944f[_0x8e1915(0x307)]=0x2ee3]=_0x8e1915(0x307),_0x55944f[_0x55944f[_0x8e1915(0x1b3)]=0x2ee4]='USER_NOT_INVITED_CODE',_0x55944f[_0x55944f[_0x8e1915(0x13e)]=0x2ee5]=_0x8e1915(0x13e),_0x55944f[_0x55944f[_0x8e1915(0x164)]=0x32c9]='WECHAT_HAS_BEEN_BOUND',_0x55944f[_0x55944f['MOBILE_HAS_BEEN_BOUND']=0x32ca]=_0x8e1915(0x329),_0x55944f[_0x55944f[_0x8e1915(0x18a)]=0x32cb]=_0x8e1915(0x18a),_0x55944f[_0x55944f[_0x8e1915(0x169)]=0x36b1]=_0x8e1915(0x169),_0x55944f[_0x55944f[_0x8e1915(0x1f5)]=0x36b2]='ENTITLE_UPDOWN_GRADE_NOT_SUPPORT',_0x55944f[_0x55944f['ENTITLE_DUP_SUBSCRIPTION']=0x36b3]='ENTITLE_DUP_SUBSCRIPTION',_0x55944f[_0x55944f[_0x8e1915(0x168)]=0x36b4]=_0x8e1915(0x168),_0x55944f[_0x55944f[_0x8e1915(0x1ff)]=0x3715]=_0x8e1915(0x1ff),_0x55944f[_0x55944f[_0x8e1915(0xdc)]=0x3716]=_0x8e1915(0xdc),_0x55944f[_0x55944f[_0x8e1915(0x39c)]=0x3717]=_0x8e1915(0x39c),_0x55944f[_0x55944f[_0x8e1915(0x215)]=0x37dd]=_0x8e1915(0x215),_0x55944f[_0x55944f[_0x8e1915(0x13c)]=0x3a99]=_0x8e1915(0x13c),_0x55944f[_0x55944f[_0x8e1915(0x201)]=0x3a9a]=_0x8e1915(0x201),_0x55944f[_0x55944f[_0x8e1915(0x319)]=0x3a9b]=_0x8e1915(0x319),_0x55944f[_0x55944f[_0x8e1915(0x38c)]=0x3a9c]='REDEMPTION_CODE_NOT_STARTED',_0x55944f[_0x55944f[_0x8e1915(0x10a)]=0x3a9d]='REDEMPTION_USER_NOT_ELIGIBLE',_0x55944f[_0x55944f[_0x8e1915(0x265)]=0x3a9e]=_0x8e1915(0x265),_0x55944f[_0x55944f['REDEMPTION_CODE_HAS_BEEN_CREATED']=0x3a9f]=_0x8e1915(0x11d),_0x55944f[_0x55944f[_0x8e1915(0x1d4)]=0x3e81]=_0x8e1915(0x1d4),_0x55944f[_0x55944f[_0x8e1915(0x20a)]=-0x1]=_0x8e1915(0x20a),_0x55944f))(_0x16ca9b||{});function _0x16dbbc(_0x277fa0){const _0x3b336a=_0x8e1915;var _0x3364db,_0x3b2320;const _0x5305aa=(_0x3364db=_0x277fa0['stageInfo'])==null?void 0x0:_0x3364db[_0x3b336a(0x241)],_0xb8682=((_0x3b2320=_0x277fa0['stageInfo'])==null?void 0x0:_0x3b2320[_0x3b336a(0x395)])||0x0;return _0x5305aa===_0x564ab7['FormulaExecuteStageType'][_0x3b336a(0x187)]&&_0xb8682>0x0;}function _0x4e0afc(_0x5b6f2d){const _0x17f440=_0x8e1915;return _0x5b6f2d[_0x17f440(0x3b4)]===_0x564ab7['FormulaExecutedStateType']['SUCCESS'];}var _0x42d938=Object[_0x8e1915(0x17e)],_0xfbf118=(_0x5bb4b0,_0x1f0a7a,_0x4aba36,_0x2f56e9)=>{const _0x2df427=_0x8e1915;for(var _0x4ff155=_0x2f56e9>0x1?void 0x0:_0x2f56e9?_0x42d938(_0x1f0a7a,_0x4aba36):_0x1f0a7a,_0x387dce=_0x5bb4b0[_0x2df427(0x33e)]-0x1,_0x6db732;_0x387dce>=0x0;_0x387dce--)(_0x6db732=_0x5bb4b0[_0x387dce])&&(_0x4ff155=_0x6db732(_0x4ff155)||_0x4ff155);return _0x4ff155;},_0x543504=(_0x256669,_0xdb44ba)=>(_0x12f829,_0x3e7355)=>_0xdb44ba(_0x12f829,_0x3e7355,_0x256669);const _0x2db60b='/universer-api/license/formula/limit/status',_0x3e88a0=_0x8e1915(0x29f),_0x1dd434=_0x8e1915(0x269);let _0x104612=class extends _0x1121b6[_0x8e1915(0x135)]{constructor(_0x13d726,_0x5b29d3,_0x38cc44,_0x1d8485,_0x90a820,_0x405ea5,_0x8384f){const _0x238873=_0x8e1915;super(),_0xdf3e66(this,'_pollingInterval',null),_0xdf3e66(this,_0x238873(0x18c),0x0),_0xdf3e66(this,_0x238873(0x252),0x0),_0xdf3e66(this,_0x238873(0x1cd),[]),_0xdf3e66(this,_0x238873(0x137),0x0),(this['_messageService']=_0x13d726,this['_commandService']=_0x5b29d3,this[_0x238873(0x159)]=_0x38cc44,this[_0x238873(0x2d9)]=_0x1d8485,this[_0x238873(0x21f)]=_0x90a820,this[_0x238873(0x19f)]=_0x405ea5,this[_0x238873(0x1a0)]=_0x8384f,this[_0x238873(0x34f)]());}[_0x8e1915(0x34f)](){const _0xade7ac=_0x8e1915;this['disposeWithMe'](this['_commandService'][_0xade7ac(0xce)]((_0x275930,_0x54b871)=>{const _0x1650a9=_0xade7ac;var _0x61e1bd;if(_0x275930['id']!==_0x564ab7[_0x1650a9(0x2e0)]['id'])return;const _0xd57273=_0x275930[_0x1650a9(0x216)];if(!this[_0x1650a9(0x189)]((_0x61e1bd=_0xd57273[_0x1650a9(0x170)])!=null?_0x61e1bd:[]))return;if(!this[_0x1650a9(0x301)]())throw this[_0x1650a9(0x178)](_0x275930,_0x54b871),this[_0x1650a9(0x2c8)](),new _0x1121b6[(_0x1650a9(0x1ca))]();})),this['disposeWithMe'](this[_0xade7ac(0x2a1)][_0xade7ac(0x353)]((_0x46935d,_0x234892)=>{const _0x37afaf=_0xade7ac;if(_0x46935d['id']!==_0x564ab7[_0x37afaf(0x34d)]['id'])return;const _0x5b1981=_0x46935d[_0x37afaf(0x216)];if(_0x16dbbc(_0x5b1981)){const _0x338459=_0x1121b6[_0x37afaf(0x38b)]();this[_0x37afaf(0x1cd)]['push'](_0x338459),this[_0x37afaf(0x200)](_0x338459);}else{if(_0x4e0afc(_0x5b1981)&&this[_0x37afaf(0x1cd)][_0x37afaf(0x33e)]>0x0){const _0x11e861=this[_0x37afaf(0x1cd)][_0x37afaf(0x186)]();this[_0x37afaf(0x274)](_0x11e861);}}}));}[_0x8e1915(0x317)](){const _0x598916=_0x8e1915;super[_0x598916(0x317)](),this[_0x598916(0x2d8)](),this[_0x598916(0x1cd)]=[],this[_0x598916(0x252)]=0x0,this[_0x598916(0x18c)]=0x0,this[_0x598916(0x137)]=0x0;}async[_0x8e1915(0x178)](_0x4b782c,_0x480a58){const _0x52ff0c=_0x8e1915;for(let _0x36a4fa=0x0;_0x36a4fa<0x1e;_0x36a4fa++)try{if(await this['_getFormulaLimitStatus'](),this['_checkCalculationAvailable']()){this[_0x52ff0c(0xfb)](_0x4b782c,_0x480a58),this[_0x52ff0c(0x17a)][_0x52ff0c(0x389)]({'content':this[_0x52ff0c(0x1a0)]['t']('formula.calculation.started'),'type':_0x50d683['MessageType'][_0x52ff0c(0x11c)]});return;}await new Promise(_0x593447=>{const _0x5169e9=_0x52ff0c;this['_pollingInterval']=window[_0x5169e9(0x157)](_0x593447,0x3e8);});}catch(_0x1acce4){this[_0x52ff0c(0x19f)][_0x52ff0c(0xf4)](_0x1acce4);}this[_0x52ff0c(0x17a)][_0x52ff0c(0x389)]({'content':this[_0x52ff0c(0x1a0)]['t'](_0x52ff0c(0xc5)),'type':_0x50d683[_0x52ff0c(0x233)]['Error']});}['_applyCommand'](_0x29e9b3,_0x23f00e){const _0x3403ec=_0x8e1915;try{this[_0x3403ec(0x2a1)][_0x3403ec(0x36f)](_0x29e9b3['id'],_0x29e9b3['params'],_0x23f00e);}catch(_0x178811){this[_0x3403ec(0x19f)]['error'](_0x178811);}}[_0x8e1915(0x271)](_0x22d918,_0x399763){const _0x1faa23=_0x8e1915;_0x399763<this[_0x1faa23(0x137)]||(this[_0x1faa23(0x137)]=_0x399763,this[_0x1faa23(0x18c)]=Number[_0x1faa23(0x3a9)](_0x22d918[_0x1faa23(0x184)]),this[_0x1faa23(0x252)]=Number['parseInt'](_0x22d918['currentUsage']));}async['_startCalculationLimit'](_0x554bb2){const _0x383910=_0x8e1915;var _0x1e1787,_0x2e2667;const _0x2088e0=Date['now']();try{const _0x10ba23=((_0x1e1787=this['_configService'][_0x383910(0x132)](_0x250214[_0x383910(0x304)]))==null?void 0x0:_0x1e1787[_0x383910(0x1dc)])||_0x3e88a0,_0xe97de4=(await this['_httpService'][_0x383910(0xd5)](_0x10ba23,{'body':JSON[_0x383910(0x183)]({'taskId':_0x554bb2})}))[_0x383910(0x34a)];if(((_0x2e2667=_0xe97de4[_0x383910(0xf4)])==null?void 0x0:_0x2e2667[_0x383910(0x325)])!==_0x16ca9b['OK'])return;this['_setFormulaLimitStatus'](_0xe97de4['limitInfo'],_0x2088e0);}catch(_0x44e6c3){this[_0x383910(0x19f)][_0x383910(0xf4)](_0x44e6c3);}}async['_getFormulaLimitStatus'](_0x5d34bc){const _0x3a3402=_0x8e1915;var _0x27a024,_0x34f071;const _0x4cf694=Date[_0x3a3402(0x126)]();try{const _0x3ece07=((_0x27a024=this[_0x3a3402(0x159)][_0x3a3402(0x132)](_0x250214[_0x3a3402(0x304)]))==null?void 0x0:_0x27a024[_0x3a3402(0x249)])||_0x2db60b,_0x11494c=_0x5d34bc?_0x3ece07+_0x3a3402(0x18f)+encodeURIComponent(_0x5d34bc):_0x3ece07,_0xc4350f=(await this[_0x3a3402(0x2d9)][_0x3a3402(0xe3)](_0x11494c))[_0x3a3402(0x34a)];if(((_0x34f071=_0xc4350f[_0x3a3402(0xf4)])==null?void 0x0:_0x34f071[_0x3a3402(0x325)])!==_0x16ca9b['OK'])return;this[_0x3a3402(0x271)](_0xc4350f[_0x3a3402(0x1cb)],_0x4cf694);}catch(_0x1a414b){this[_0x3a3402(0x19f)][_0x3a3402(0xf4)](_0x1a414b);}}async[_0x8e1915(0x274)](_0x15ba92){const _0xf8ca6e=_0x8e1915;var _0x134e80,_0x2bf637;const _0x4b61ad=Date['now']();try{const _0x1bafdb=((_0x134e80=this[_0xf8ca6e(0x159)][_0xf8ca6e(0x132)](_0x250214[_0xf8ca6e(0x304)]))==null?void 0x0:_0x134e80[_0xf8ca6e(0x1eb)])||_0x1dd434,_0x27a6bd=(await this[_0xf8ca6e(0x2d9)][_0xf8ca6e(0xd5)](_0x1bafdb,{'body':JSON[_0xf8ca6e(0x183)]({'taskId':_0x15ba92})}))['body'];if(((_0x2bf637=_0x27a6bd[_0xf8ca6e(0xf4)])==null?void 0x0:_0x2bf637['code'])!==_0x16ca9b['OK'])return;this['_setFormulaLimitStatus'](_0x27a6bd[_0xf8ca6e(0x1cb)],_0x4b61ad);}catch(_0x357fa6){this[_0xf8ca6e(0x19f)]['error'](_0x357fa6);}}[_0x8e1915(0x301)](){const _0x1b377b=_0x8e1915;return this[_0x1b377b(0x18c)]===0x0?!0x0:this['_maxFormulaLimit']-this['_currentUsage']>0x0;}['_clearPolling'](){const _0x518262=_0x8e1915;this[_0x518262(0x2ef)]&&(clearTimeout(this[_0x518262(0x2ef)]),this[_0x518262(0x2ef)]=null);}[_0x8e1915(0x2c8)](){const _0x32ba12=_0x8e1915;this[_0x32ba12(0x17a)][_0x32ba12(0x389)]({'content':this[_0x32ba12(0x1a0)]['t']('formula.calculation.waiting'),'type':_0x50d683['MessageType'][_0x32ba12(0x205)]});}[_0x8e1915(0x189)](_0x50b4eb){const _0xc47503=_0x8e1915;for(const _0x57ecb9 of _0x50b4eb){const {unitId:_0x4c1b5d,sheetId:_0x1cf538,range:_0x5c2722}=_0x57ecb9,_0x3965f9=this[_0xc47503(0x21f)][_0xc47503(0x102)](_0x4c1b5d);if(!_0x3965f9)continue;const _0x2258e4=_0x3965f9[_0xc47503(0x15d)](_0x1cf538);if(!_0x2258e4)continue;const _0x5e1531=_0x2258e4[_0xc47503(0x1b1)]();for(let _0xc63f29=_0x5c2722[_0xc47503(0x1a7)];_0xc63f29<=_0x5c2722[_0xc47503(0x174)];_0xc63f29++)for(let _0x1dd198=_0x5c2722[_0xc47503(0x3ac)];_0x1dd198<=_0x5c2722[_0xc47503(0x245)];_0x1dd198++){const _0xb6c918=_0x5e1531[_0xc47503(0xde)](_0xc63f29,_0x1dd198);if(_0xb6c918&&(_0x1121b6[_0xc47503(0x320)](_0xb6c918['f'])||_0x1121b6['isFormulaId'](_0xb6c918['si'])))return!0x0;}}return!0x1;}};_0x104612=_0xfbf118([_0x543504(0x0,_0x1121b6['Inject'](_0x1c0cb7[_0x8e1915(0x3ab)])),_0x543504(0x1,_0x1121b6[_0x8e1915(0x312)]),_0x543504(0x2,_0x1121b6[_0x8e1915(0x2e1)]),_0x543504(0x3,_0x1121b6[_0x8e1915(0x1e9)](_0x24e2e1[_0x8e1915(0x239)])),_0x543504(0x4,_0x1121b6[_0x8e1915(0x346)]),_0x543504(0x5,_0x1121b6['ILogService']),_0x543504(0x6,_0x1121b6[_0x8e1915(0x1e9)](_0x1121b6[_0x8e1915(0x1ec)]))],_0x104612);var _0x29d556=Object[_0x8e1915(0x17e)],_0x83b6c3=(_0x499b62,_0x3ae1ed,_0xf87899,_0x1460ff)=>{for(var _0xe1c0e9=_0x1460ff>0x1?void 0x0:_0x1460ff?_0x29d556(_0x3ae1ed,_0xf87899):_0x3ae1ed,_0x3e95a7=_0x499b62['length']-0x1,_0x41b3c6;_0x3e95a7>=0x0;_0x3e95a7--)(_0x41b3c6=_0x499b62[_0x3e95a7])&&(_0xe1c0e9=_0x41b3c6(_0xe1c0e9)||_0xe1c0e9);return _0xe1c0e9;},_0xd00847=(_0x3a6b2a,_0x29ea0e)=>(_0x3eba8d,_0x1684fe)=>_0x29ea0e(_0x3eba8d,_0x1684fe,_0x3a6b2a);let _0x5aef11=class extends _0x1121b6[_0x8e1915(0x135)]{constructor(_0x2373e1,_0x131ac3,_0x35ae4f){const _0x2f52f0=_0x8e1915;super(),_0xdf3e66(this,_0x2f52f0(0x250),new Map()),_0xdf3e66(this,'_saveTaskMap',new Map()),_0xdf3e66(this,_0x2f52f0(0x27b),!0x1),(this[_0x2f52f0(0x159)]=_0x2373e1,this[_0x2f52f0(0x375)]=_0x131ac3,this[_0x2f52f0(0x37e)]=_0x35ae4f);}[_0x8e1915(0xcd)](){const _0x4fe1c7=_0x8e1915;this[_0x4fe1c7(0x27b)]=!0x0;}[_0x8e1915(0x31a)](){const _0x21d955=_0x8e1915;this[_0x21d955(0x27b)]=!0x1;}get[_0x8e1915(0x119)](){const _0x39122f=_0x8e1915;return this[_0x39122f(0x2a2)];}[_0x8e1915(0x317)](){const _0x2108e2=_0x8e1915;this[_0x2108e2(0x2d6)]()['then'](()=>super[_0x2108e2(0x317)]());}async[_0x8e1915(0x128)](_0x136354){const _0x52111a=_0x8e1915;return this['_disabled']?null:this[_0x52111a(0x375)]['getItem'](_0x250214[_0x52111a(0x2af)](_0x136354));}async['saveOfflineData'](_0x3abfee,_0x3fd8cf){const _0x4b3b8c=_0x8e1915;return!!this[_0x4b3b8c(0x375)][_0x4b3b8c(0x28f)](_0x3abfee,_0x3fd8cf);}[_0x8e1915(0x2ee)](_0x59dc46,_0x2e35d9,_0x1c7eff,_0x598101){const _0x290622=_0x8e1915,_0x57b788=this[_0x290622(0x37e)][_0x290622(0x3ad)](_0x59dc46);this['_cachedData'][_0x290622(0x3af)](_0x59dc46,{'unitID':_0x59dc46,'type':_0x2e35d9,'awaitingChangeset':_0x1c7eff,'mutations':_0x598101,'rev':_0x57b788}),this['_saveTaskMap'][_0x290622(0x207)](_0x59dc46)||this[_0x290622(0x115)](_0x59dc46);}['_scheduleSaving'](_0x404daf){const _0x4e00d8=_0x8e1915,_0x4a8688=this[_0x4e00d8(0x3a2)]();_0x4a8688===0x0?this['_saveCache'](_0x404daf):this[_0x4e00d8(0x2a2)]['set'](_0x404daf,setTimeout(()=>this[_0x4e00d8(0x123)](_0x404daf),_0x4a8688));}[_0x8e1915(0x3a2)](){const _0x2d1db3=_0x8e1915;var _0x45d59f;return(_0x45d59f=this[_0x2d1db3(0x159)][_0x2d1db3(0x132)](_0x250214[_0x2d1db3(0x277)]))!=null?_0x45d59f:_0x250214[_0x2d1db3(0x24e)];}[_0x8e1915(0x123)](_0x4f5f01){const _0x40a614=_0x8e1915,_0x1809d3=this['_saveTaskMap']['get'](_0x4f5f01);return _0x1809d3!==void 0x0&&window[_0x40a614(0xe0)](_0x1809d3),this['_localStorageService']['setItem'](_0x250214[_0x40a614(0x2af)](_0x4f5f01),this[_0x40a614(0x250)][_0x40a614(0xe3)](_0x4f5f01))[_0x40a614(0x24d)](()=>this[_0x40a614(0x2a2)]['delete'](_0x4f5f01));}async[_0x8e1915(0x2d6)](){const _0x349e2b=_0x8e1915,_0x149f1=[];this[_0x349e2b(0x2a2)][_0x349e2b(0xea)]((_0x5301e5,_0x209edf)=>{const _0x4dca2e=_0x349e2b;window[_0x4dca2e(0xe0)](_0x5301e5),_0x149f1['push'](this[_0x4dca2e(0x123)](_0x209edf)['then'](()=>{const _0x32ad89=_0x4dca2e;this[_0x32ad89(0x2a2)][_0x32ad89(0x362)](_0x209edf);}));}),await Promise[_0x349e2b(0x198)](_0x149f1);}};_0x5aef11=_0x83b6c3([_0xd00847(0x0,_0x1121b6[_0x8e1915(0x2e1)]),_0xd00847(0x1,_0x1121b6[_0x8e1915(0x38a)]),_0xd00847(0x2,_0x1121b6[_0x8e1915(0x1e9)](_0x271c6b[_0x8e1915(0x27f)]))],_0x5aef11);class _0x47dd8e extends _0x1121b6[_0x8e1915(0x267)]{constructor(){const _0x1dafe0=_0x8e1915;super(),_0xdf3e66(this,'urlChange$'),this['urlChange$']=_0xf2ac11[_0x1dafe0(0x14a)](window,_0x1dafe0(0x1de))[_0x1dafe0(0x212)](_0xf2ac11[_0x1dafe0(0x256)](this[_0x1dafe0(0x17c)]),_0xf2ac11[_0x1dafe0(0x298)](0x1),_0xf2ac11['mapTo'](void 0x0));}[_0x8e1915(0x228)](_0x563824,_0x2f4cb6,_0x5b8d02=!0x1){const _0x3c8067=_0x8e1915,_0x38efe7=new URL(window['location'][_0x3c8067(0x3a5)]);_0x38efe7['searchParams']['set'](_0x563824,_0x2f4cb6),_0x5b8d02?window[_0x3c8067(0x2fd)][_0x3c8067(0x196)]('','',_0x38efe7['toString']()):window['history'][_0x3c8067(0xd0)]('','',_0x38efe7['toString']());}[_0x8e1915(0x381)](_0x58a4b4,_0x62db69=!0x1){const _0x3e47a4=_0x8e1915,_0x26216b=new URL(window[_0x3e47a4(0x2d5)][_0x3e47a4(0x3a5)]);_0x26216b[_0x3e47a4(0x16a)]['delete'](_0x58a4b4),_0x62db69?window[_0x3e47a4(0x2fd)]['replaceState']('','',_0x26216b[_0x3e47a4(0xef)]()):window[_0x3e47a4(0x2fd)][_0x3e47a4(0xd0)]('','',_0x26216b[_0x3e47a4(0xef)]());}[_0x8e1915(0x2f8)](_0x4b9721){const _0x2bb555=_0x8e1915;var _0x4a3ed8;return(_0x4a3ed8=new URL(window[_0x2bb555(0x2d5)][_0x2bb555(0x3a5)])[_0x2bb555(0x16a)][_0x2bb555(0xe3)](_0x4b9721))!=null?_0x4a3ed8:void 0x0;}}var _0x540bff=Object[_0x8e1915(0x1e1)],_0x11b218=Object[_0x8e1915(0x17e)],_0x5f1b41=(_0x527de7,_0x5b6ae2,_0x567e6e)=>_0x5b6ae2 in _0x527de7?_0x540bff(_0x527de7,_0x5b6ae2,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x567e6e}):_0x527de7[_0x5b6ae2]=_0x567e6e,_0x4f6c4d=(_0xffb0bf,_0x5d945e,_0x234d1a,_0x3b45bd)=>{for(var _0x29ccf1=_0x3b45bd>0x1?void 0x0:_0x3b45bd?_0x11b218(_0x5d945e,_0x234d1a):_0x5d945e,_0x5b5477=_0xffb0bf['length']-0x1,_0x83d640;_0x5b5477>=0x0;_0x5b5477--)(_0x83d640=_0xffb0bf[_0x5b5477])&&(_0x29ccf1=_0x83d640(_0x29ccf1)||_0x29ccf1);return _0x29ccf1;},_0x598e35=(_0x41dc98,_0xbe2f53)=>(_0x4eb328,_0x4fbdf4)=>_0xbe2f53(_0x4eb328,_0x4fbdf4,_0x41dc98),_0x4c1a36=(_0x72342d,_0x5de12c,_0x3e48ec)=>_0x5f1b41(_0x72342d,_0x5de12c+'',_0x3e48ec);const _0x563432=_0x8e1915(0x1ed);_0x978c78[_0x8e1915(0x390)]=class extends _0x1121b6[_0x8e1915(0x2c7)]{constructor(_0x2cdd3e=_0x55c3aa,_0x1966a7,_0x40c9b8,_0x3fba8f){const _0x2ea144=_0x8e1915;super(),this['_config']=_0x2cdd3e,this[_0x2ea144(0x324)]=_0x1966a7,this[_0x2ea144(0x30f)]=_0x40c9b8,this[_0x2ea144(0x159)]=_0x3fba8f;const {..._0x7079ec}=_0x1121b6['merge']({},_0x55c3aa,this[_0x2ea144(0x294)]);this[_0x2ea144(0x159)]['setConfig'](_0x4b7b62,_0x7079ec);}[_0x8e1915(0x22f)](){const _0x5cdb32=_0x8e1915;this[_0x5cdb32(0x34c)](),this[_0x5cdb32(0x20e)]();}[_0x8e1915(0xd6)](){const _0x2aeca0=_0x8e1915;this[_0x2aeca0(0x382)]();}[_0x8e1915(0x34c)](){const _0x39df66=_0x8e1915;var _0x45922e;const _0x4da5fa=[[_0x3f7ec8],[_0x104612],[_0x2e67b4],[_0x4c9319],[_0x275ae7],[_0x343dd9],[_0x34bcdd,{'useClass':_0x47dd8e}],[_0x24e2e1['ISocketService'],{'useClass':_0x24e2e1[_0x39df66(0x37f)]}],[_0x250214['ILocalCacheService'],{'useClass':_0x5aef11}],[_0x978c78[_0x39df66(0x35f)]],[_0x5f1a44],[_0x49a6f3],[_0x2ddf05],[_0x248341],[_0x978c78[_0x39df66(0x2d0)]]];this[_0x39df66(0x294)][_0x39df66(0x31b)]&&_0x4da5fa[_0x39df66(0x1d2)]([_0x3c92a1]),_0x1121b6[_0x39df66(0xf3)](this['_injector'],_0x1121b6[_0x39df66(0x25c)](_0x4da5fa,(_0x45922e=this[_0x39df66(0x294)])==null?void 0x0:_0x45922e[_0x39df66(0x138)]));}[_0x8e1915(0x382)](){const _0x992126=_0x8e1915;this[_0x992126(0x39e)](this[_0x992126(0x324)][_0x992126(0x32b)](_0x1121b6['UniverInstanceType']['UNIVER_DOC'],[_0x3decd5])),this[_0x992126(0x39e)](this[_0x992126(0x324)][_0x992126(0x32b)](_0x1121b6['UniverInstanceType']['UNIVER_SHEET'],[_0x57fc11]));}[_0x8e1915(0x20e)](){const _0x5281cf=_0x8e1915;_0x1121b6[_0x5281cf(0xd7)](this[_0x5281cf(0x30f)],[[_0x2ddf05],[_0x978c78[_0x5281cf(0x35f)]],[_0x5f1a44],[_0x49a6f3],[_0x978c78[_0x5281cf(0x2d0)]],[_0x104612]]),this['_config'][_0x5281cf(0x31b)]&&_0x1121b6['touchDependencies'](this[_0x5281cf(0x30f)],[[_0x3c92a1]]);}},_0x4c1a36(_0x978c78[_0x8e1915(0x390)],_0x8e1915(0x369),_0x563432),_0x978c78[_0x8e1915(0x390)]=_0x4f6c4d([_0x1121b6[_0x8e1915(0x2b2)](_0x250214['UniverCollaborationClientPlugin']),_0x598e35(0x1,_0x42a824['IRenderManagerService']),_0x598e35(0x2,_0x1121b6[_0x8e1915(0x1e9)](_0x1121b6[_0x8e1915(0x2e3)])),_0x598e35(0x3,_0x1121b6[_0x8e1915(0x2e1)])],_0x978c78[_0x8e1915(0x390)]);var _0x6cf713=Object['getOwnPropertyDescriptor'],_0x21711f=(_0x1969e7,_0x34ce03,_0x212717,_0x572462)=>{for(var _0x15ede4=_0x572462>0x1?void 0x0:_0x572462?_0x6cf713(_0x34ce03,_0x212717):_0x34ce03,_0x23c064=_0x1969e7['length']-0x1,_0x4cc088;_0x23c064>=0x0;_0x23c064--)(_0x4cc088=_0x1969e7[_0x23c064])&&(_0x15ede4=_0x4cc088(_0x15ede4)||_0x15ede4);return _0x15ede4;},_0xdc9720=(_0xa0208b,_0xf52ae7)=>(_0xee8469,_0x302112)=>_0xf52ae7(_0xee8469,_0x302112,_0xa0208b);_0x978c78[_0x8e1915(0x1ea)]=class extends _0x250214['CollaborationSocketService']{constructor(_0x460783,_0x5b47d8,_0x3a38f9,_0x5177c9,_0x4a2616){super(_0x460783,_0x5b47d8,_0x3a38f9,_0x5177c9,_0x4a2616);}async[_0x8e1915(0x25d)](_0x4074e0){const _0x53fc68=_0x8e1915,_0xdb205a=await this[_0x53fc68(0x2ba)](),_0x3499e6=this[_0x53fc68(0x29c)](_0x4074e0,_0xdb205a);return this[_0x53fc68(0x318)](_0x3499e6);}[_0x8e1915(0x29c)](_0x5cf497,_0x27d79d){const _0x2f2730=_0x8e1915,_0x10f4b7=typeof window>'u'?new URL(_0x5cf497):new URL(_0x5cf497,window[_0x2f2730(0x2d5)][_0x2f2730(0x345)]);_0x10f4b7[_0x2f2730(0x16a)]['set']('sessionTicket',_0x27d79d);const _0x356689=typeof window>'u'?new URLSearchParams():new URLSearchParams(window['location'][_0x2f2730(0x2a9)]);return _0x356689[_0x2f2730(0xe3)](_0x2f2730(0x104))&&_0x10f4b7[_0x2f2730(0x16a)][_0x2f2730(0x3af)](_0x2f2730(0x104),_0x356689[_0x2f2730(0xe3)](_0x2f2730(0x104))),_0x10f4b7[_0x2f2730(0xef)]();}async['_getSessionTicket'](){const _0x523b5b=_0x8e1915;var _0x6ecbfd,_0x2104e3,_0x360465;const _0x251505=this[_0x523b5b(0x159)][_0x523b5b(0x132)](_0x250214[_0x523b5b(0x304)]),_0x44d323=(_0x6ecbfd=_0x251505==null?void 0x0:_0x251505['wsSessionTicketUrl'])!=null?_0x6ecbfd:_0x250214[_0x523b5b(0x303)];return(_0x360465=(_0x2104e3=(await this['_httpService'][_0x523b5b(0xe3)](_0x44d323,{'headers':{'Content-Type':_0x523b5b(0x2aa)}}))['body'])==null?void 0x0:_0x2104e3[_0x523b5b(0x24f)])!=null?_0x360465:'';}},_0x978c78[_0x8e1915(0x1ea)]=_0x21711f([_0xdc9720(0x0,_0x1121b6[_0x8e1915(0x1e9)](_0x1121b6['Injector'])),_0xdc9720(0x1,_0x1121b6[_0x8e1915(0x1e9)](_0x24e2e1[_0x8e1915(0x239)])),_0xdc9720(0x2,_0x1121b6[_0x8e1915(0x2e1)]),_0xdc9720(0x3,_0x1121b6[_0x8e1915(0x15a)]),_0xdc9720(0x4,_0x271c6b[_0x8e1915(0x242)])],_0x978c78['BrowserCollaborationSocketService']);var _0x1efab8=Object[_0x8e1915(0x17e)],_0x2981c2=(_0xa67e69,_0x4c5c7b,_0x4896d2,_0xf795bf)=>{const _0x1480a4=_0x8e1915;for(var _0x374fd1=_0xf795bf>0x1?void 0x0:_0xf795bf?_0x1efab8(_0x4c5c7b,_0x4896d2):_0x4c5c7b,_0x5aebc3=_0xa67e69[_0x1480a4(0x33e)]-0x1,_0x334263;_0x5aebc3>=0x0;_0x5aebc3--)(_0x334263=_0xa67e69[_0x5aebc3])&&(_0x374fd1=_0x334263(_0x374fd1)||_0x374fd1);return _0x374fd1;},_0xbe2581=(_0x465ec4,_0x589135)=>(_0x490f1c,_0x50dc89)=>_0x589135(_0x490f1c,_0x50dc89,_0x465ec4);_0x978c78[_0x8e1915(0x370)]=class extends _0x1121b6[_0x8e1915(0x135)]{constructor(_0x53432a,_0x11f029,_0x159008){const _0x4eab82=_0x8e1915;super(),this[_0x4eab82(0x1dd)]=_0x53432a,this['_httpService']=_0x11f029,this[_0x4eab82(0x159)]=_0x159008;}async[_0x8e1915(0x2db)](_0x1af984,_0x5f627d,_0x2b6264,..._0x3b9df0){const _0x40c687=_0x8e1915;var _0x105539,_0x4992eb,_0x1f2656,_0x55edca;const _0x3213b8=this['_instanceService'][_0x40c687(0x36a)]();if(!_0x3213b8)throw new Error(_0x40c687(0x28a));const _0x443112=((_0x105539=this[_0x40c687(0x159)]['getConfig'](_0x250214[_0x40c687(0x27e)]))!=null?_0x105539:_0x250214[_0x40c687(0x3a3)])+'/'+_0x1af984+_0x40c687(0xec)+_0x5f627d,_0x112cfc=new URL(window[_0x40c687(0x2d5)]['href']),_0x52ffe7={'scriptId':_0x1af984,'runId':(_0x4992eb=_0x112cfc['searchParams'][_0x40c687(0xe3)](_0x40c687(0x104)))!=null?_0x4992eb:'','function':_0x5f627d,'unitId':_0x3213b8[_0x40c687(0x37b)](),'argsOfFunction':JSON['stringify'](_0x3b9df0),'invokeId':(_0x1f2656=_0x2b6264['invokeId'])!=null?_0x1f2656:'','executionId':(_0x55edca=_0x2b6264[_0x40c687(0x2eb)])!=null?_0x55edca:''};try{const _0x218d98=await this['_httpService']['post'](_0x443112,{'body':_0x52ffe7});return _0x218d98[_0x40c687(0x34a)][_0x40c687(0xf4)]&&_0x218d98[_0x40c687(0x34a)]['error'][_0x40c687(0x325)]!==_0x16ca9b['OK']?_0x40c687(0x10f):_0x218d98[_0x40c687(0x34a)][_0x40c687(0x2f4)];}catch{return _0x40c687(0x10f);}}},_0x978c78[_0x8e1915(0x370)]=_0x2981c2([_0xbe2581(0x0,_0x1121b6[_0x8e1915(0x346)]),_0xbe2581(0x1,_0x1121b6[_0x8e1915(0x1e9)](_0x24e2e1[_0x8e1915(0x239)])),_0xbe2581(0x2,_0x1121b6[_0x8e1915(0x2e1)])],_0x978c78[_0x8e1915(0x370)]);const _0x21388c=0x7530,_0x90c80b='ACTIVE_UNIT_EVENT_CHANNEL';class _0x5077dc extends _0x1121b6[_0x8e1915(0x135)]{constructor(){const _0xec4c0f=_0x8e1915;super(),_0xdf3e66(this,_0xec4c0f(0x243),_0x1121b6['generateRandomId']()),_0xdf3e66(this,'_selfUnitIDs',new Set()),_0xdf3e66(this,_0xec4c0f(0x1c1),new Map()),_0xdf3e66(this,_0xec4c0f(0x163),null),_0xdf3e66(this,_0xec4c0f(0x1ae),new Map()),_0xdf3e66(this,_0xec4c0f(0x11b),new Map()),this['_init']();}[_0x8e1915(0x317)](){const _0x3d72e4=_0x8e1915;super[_0x3d72e4(0x317)](),this[_0x3d72e4(0x1ae)]['forEach']((_0xec24bb,_0x4d51a4)=>this['_removeClearOtherTimer'](_0x4d51a4)),this[_0x3d72e4(0x163)]&&window[_0x3d72e4(0x344)](this[_0x3d72e4(0x163)]);}[_0x8e1915(0x2c0)](_0x4ffbc4){const _0x131bdb=_0x8e1915;return this['_ensureSubject'](_0x4ffbc4)[_0x131bdb(0x212)](_0xf2ac11[_0x131bdb(0x309)]());}[_0x8e1915(0x1cc)](_0x10f380){const _0x2f517f=_0x8e1915;this['_selfUnitIDs']['size']===0x0&&this[_0x2f517f(0x154)](),this[_0x2f517f(0x136)]['add'](_0x10f380),this['_send']({'type':0x0,'memberID':this[_0x2f517f(0x243)],'unitIDs':[_0x10f380],'isForwarded':!0x1});}[_0x8e1915(0x232)](_0x2c662b){const _0xe2b677=_0x8e1915;this[_0xe2b677(0x136)][_0xe2b677(0x362)](_0x2c662b),this[_0xe2b677(0x136)][_0xe2b677(0x31f)]===0x0&&this[_0xe2b677(0x163)]&&window[_0xe2b677(0x344)](this[_0xe2b677(0x163)]);}[_0x8e1915(0x22c)](){const _0x2e7a64=_0x8e1915;this['disposeWithMe'](_0x1121b6[_0x2e7a64(0x2ae)](_0xf2ac11[_0x2e7a64(0x14a)](window,_0x2e7a64(0x24c))[_0x2e7a64(0x17d)](_0x3d9eb9=>{const _0x3dd21d=_0x2e7a64;if(_0x3d9eb9[_0x3dd21d(0x146)]!==_0x90c80b||!_0x3d9eb9[_0x3dd21d(0x140)])return;const _0x1ab392=JSON[_0x3dd21d(0x166)](_0x3d9eb9[_0x3dd21d(0x140)]);this[_0x3dd21d(0x35a)](_0x1ab392);}))),window[_0x2e7a64(0x2bf)](_0x2e7a64(0xe5),()=>this[_0x2e7a64(0x31c)]({'type':0x1,'memberID':this['_id'],'unitIDs':Array[_0x2e7a64(0x2bb)](this[_0x2e7a64(0x136)])}));}[_0x8e1915(0x35a)](_0x233d88){const _0x2f4fc2=_0x8e1915;switch(_0x233d88[_0x2f4fc2(0x2cf)]){case 0x0:this[_0x2f4fc2(0x39d)](_0x233d88);break;case 0x1:this[_0x2f4fc2(0x1b6)](_0x233d88);break;case 0x2:this[_0x2f4fc2(0x342)](_0x233d88);break;}}['_handleJoinEvent'](_0x1c4c80){const _0x591325=_0x8e1915,{unitIDs:_0x38f631,memberID:_0x546be3,isForwarded:_0x153338}=_0x1c4c80;_0x38f631[_0x591325(0xea)](_0x57f8b2=>{const _0x1fcc04=_0x591325;if(!_0x153338&&this[_0x1fcc04(0x1c1)][_0x1fcc04(0x207)](_0x57f8b2)&&this[_0x1fcc04(0x2d3)](_0x57f8b2)[_0x1fcc04(0x22b)](_0x250214[_0x1fcc04(0x2c3)][_0x1fcc04(0x175)]),!this['_unitOnClients'][_0x1fcc04(0x207)](_0x57f8b2)||!this[_0x1fcc04(0x1c1)]['get'](_0x57f8b2)[_0x1fcc04(0x207)](_0x546be3)){const _0x17f90e=this[_0x1fcc04(0x1c1)][_0x1fcc04(0xe3)](_0x57f8b2)||new Set();_0x17f90e['add'](_0x546be3),this[_0x1fcc04(0x1c1)][_0x1fcc04(0x3af)](_0x57f8b2,_0x17f90e),this[_0x1fcc04(0x16d)](_0x546be3);}}),_0x153338||this[_0x591325(0x31c)]({'type':0x0,'memberID':this['_id'],'unitIDs':[...this[_0x591325(0x136)]],'isForwarded':!0x0});}[_0x8e1915(0x16d)](_0x1fc133){const _0x566f4b=_0x8e1915;this['_removeClearOtherTimer'](_0x1fc133);const _0x385630=window[_0x566f4b(0x157)](()=>{this['_unitOnClients']['forEach'](_0x41ec17=>{_0x41ec17['delete'](_0x1fc133);});},_0x21388c*0x2);this[_0x566f4b(0x1ae)][_0x566f4b(0x3af)](_0x1fc133,_0x385630);}[_0x8e1915(0x30d)](_0x4a843c){const _0x172081=_0x8e1915;if(this[_0x172081(0x1ae)][_0x172081(0x207)](_0x4a843c)){const _0x399f3a=this[_0x172081(0x1ae)][_0x172081(0xe3)](_0x4a843c);_0x399f3a&&window[_0x172081(0xe0)](_0x399f3a),this[_0x172081(0x1ae)][_0x172081(0x3af)](_0x4a843c,null);}}['_handleLeaveEvent'](_0x17a9c6){const _0x408d62=_0x8e1915,{memberID:_0x3ab845,unitIDs:_0x569c83}=_0x17a9c6;_0x569c83[_0x408d62(0xea)](_0x2307d5=>{const _0x1e4429=_0x408d62;var _0x1f035d;const _0x126eea=this[_0x1e4429(0x1c1)]['get'](_0x2307d5);_0x126eea&&(_0x126eea['delete'](_0x3ab845),(_0x1f035d=this['_ensureSubject'](_0x2307d5))==null||_0x1f035d[_0x1e4429(0x22b)](_0x126eea[_0x1e4429(0x31f)]===0x0?_0x250214[_0x1e4429(0x2c3)][_0x1e4429(0x210)]:_0x250214[_0x1e4429(0x2c3)]['OTHER_CLIENTS_EDITING']));}),this[_0x408d62(0x30d)](_0x3ab845);}[_0x8e1915(0x342)](_0x90a84){const _0x5dd584=_0x8e1915;this[_0x5dd584(0x16d)](_0x90a84[_0x5dd584(0x18e)]);}[_0x8e1915(0x31c)](_0xcf10ef){const _0x4f726f=_0x8e1915;localStorage['setItem'](_0x90c80b,JSON[_0x4f726f(0x183)](_0xcf10ef));}[_0x8e1915(0x154)](){const _0x5ef118=_0x8e1915;this['_heartbeatTimer']=window[_0x5ef118(0x33f)](()=>{const _0x364d00=_0x5ef118;this[_0x364d00(0x31c)]({'type':0x2,'memberID':this[_0x364d00(0x243)]});},_0x21388c);}[_0x8e1915(0x2d3)](_0xbbbfaa){const _0x163f03=_0x8e1915;return this[_0x163f03(0x11b)][_0x163f03(0x207)](_0xbbbfaa)||this[_0x163f03(0x11b)][_0x163f03(0x3af)](_0xbbbfaa,new _0xf2ac11[(_0x163f03(0x229))](_0x250214['UnitStatus'][_0x163f03(0x210)])),this[_0x163f03(0x11b)]['get'](_0xbbbfaa);}}_0x978c78[_0x8e1915(0x340)]=_0x34bcdd,_0x978c78[_0x8e1915(0x29a)]=_0x40acb1,_0x978c78[_0x8e1915(0x1e5)]=_0x5077dc,_0x978c78[_0x8e1915(0x257)]=_0x47dd8e,Object[_0x8e1915(0x1e1)](_0x978c78,Symbol['toStringTag'],{'value':_0x8e1915(0x231)});}));
|