@univerjs-pro/collaboration-client-ui 0.15.0-insiders.20251227-c108ce3 → 0.15.0-insiders.20260107-3441c7a
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(_0x4f3322,_0x279ef4){const _0x11eea3=_0x1c91,_0xa57bf9=_0x4f3322();while(!![]){try{const _0x2d45ce=parseInt(_0x11eea3(0x36b))/0x1+-parseInt(_0x11eea3(0x304))/0x2*(-parseInt(_0x11eea3(0x284))/0x3)+parseInt(_0x11eea3(0x1eb))/0x4+-parseInt(_0x11eea3(0x309))/0x5*(parseInt(_0x11eea3(0x453))/0x6)+parseInt(_0x11eea3(0x418))/0x7*(parseInt(_0x11eea3(0x3cb))/0x8)+-parseInt(_0x11eea3(0x31e))/0x9+-parseInt(_0x11eea3(0x1f1))/0xa*(parseInt(_0x11eea3(0x228))/0xb);if(_0x2d45ce===_0x279ef4)break;else _0xa57bf9['push'](_0xa57bf9['shift']());}catch(_0x39bdba){_0xa57bf9['push'](_0xa57bf9['shift']());}}}(_0x5e56,0x9b528),function(_0x39214c,_0x230597){const _0x9b12a0=_0x1c91;typeof exports==_0x9b12a0(0x494)&&typeof module<'u'?_0x230597(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[_0x9b12a0(0x476)]?define(['exports',_0x9b12a0(0x2b3),_0x9b12a0(0x437),_0x9b12a0(0x4c9),_0x9b12a0(0x4bd),_0x9b12a0(0x417),_0x9b12a0(0x3e5),'react',_0x9b12a0(0x30e),_0x9b12a0(0x350),_0x9b12a0(0x34c),'@univerjs/network',_0x9b12a0(0x31d),'@univerjs/drawing','@univerjs-pro/collaboration',_0x9b12a0(0x3b2),_0x9b12a0(0x459),'rxjs/operators',_0x9b12a0(0x201)],_0x230597):(_0x39214c=typeof globalThis<'u'?globalThis:_0x39214c||self,_0x230597(_0x39214c['UniverProCollaborationClientUi']={},_0x39214c['React'],_0x39214c[_0x9b12a0(0x493)],_0x39214c[_0x9b12a0(0x49b)],_0x39214c['UniverUi'],_0x39214c[_0x9b12a0(0x417)],_0x39214c[_0x9b12a0(0x4b4)],_0x39214c[_0x9b12a0(0x253)],_0x39214c[_0x9b12a0(0x473)],_0x39214c[_0x9b12a0(0x463)],_0x39214c[_0x9b12a0(0x3ef)],_0x39214c[_0x9b12a0(0x307)],_0x39214c[_0x9b12a0(0x3b5)],_0x39214c['UniverDrawing'],_0x39214c['UniverProCollaboration'],_0x39214c[_0x9b12a0(0x207)],_0x39214c[_0x9b12a0(0x39f)],_0x39214c[_0x9b12a0(0x417)][_0x9b12a0(0x2d0)],_0x39214c[_0x9b12a0(0x2c9)]));}(this,function(_0x578c06,_0x1e9aca,_0x19bf42,_0x34f1d8,_0x2d6b7e,_0x385e00,_0x1dffd2,_0x1009fb,_0x38b5cc,_0xf2a465,_0x20bbd1,_0x22f61a,_0x47a231,_0x55b404,_0x40c5dd,_0x49d9c8,_0x35db63,_0x345861,_0x4d9d5f){'use strict';const _0x369468=_0x1c91;var _0x8d09d1=Object[_0x369468(0x432)],_0x163c4e=(_0x3230e1,_0x5aa058,_0x57e56d)=>_0x5aa058 in _0x3230e1?_0x8d09d1(_0x3230e1,_0x5aa058,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x57e56d}):_0x3230e1[_0x5aa058]=_0x57e56d,_0x45ff9b=(_0x1c7f31,_0x38214b,_0x52e6cf)=>_0x163c4e(_0x1c7f31,typeof _0x38214b!=_0x369468(0x301)?_0x38214b+'':_0x38214b,_0x52e6cf);function _0x493feb({ref:_0x3c1ce5,..._0x1607a2}){const _0x58b108=_0x369468,{icon:_0x245ac1,id:_0x1717f4,className:_0x1f5b4f,extend:_0x5ad2f7,..._0x2613ab}=_0x1607a2,_0x18c579=('univerjs-icon\x20univerjs-icon-'+_0x1717f4+'\x20'+(_0x1f5b4f||''))['trim'](),_0x4b8b04=_0x1009fb['useRef']('_'+_0x598d11());return _0x2896cc(_0x245ac1,''+_0x1717f4,{'defIds':_0x245ac1[_0x58b108(0x44b)],'idSuffix':_0x4b8b04[_0x58b108(0x283)]},{'ref':_0x3c1ce5,'className':_0x18c579,..._0x2613ab},_0x5ad2f7);}function _0x2896cc(_0xb2409f,_0x20e097,_0x52dd58,_0x4eaca0,_0x5e001e){const _0x435ec1=_0x369468;return _0x1009fb['createElement'](_0xb2409f['tag'],{'key':_0x20e097,..._0x4e7053(_0xb2409f,_0x52dd58,_0x5e001e),..._0x4eaca0},(_0x39321d(_0xb2409f,_0x52dd58)['children']||[])['map']((_0xc4f9ab,_0x11c0cd)=>_0x2896cc(_0xc4f9ab,_0x20e097+'-'+_0xb2409f[_0x435ec1(0x32f)]+'-'+_0x11c0cd,_0x52dd58,void 0x0,_0x5e001e)));}function _0x4e7053(_0x3bf0a1,_0xec2364,_0x15436d){const _0x41f65b=_0x369468,_0x2584c1={..._0x3bf0a1[_0x41f65b(0x466)]};_0x15436d!=null&&_0x15436d[_0x41f65b(0x3d4)]&&_0x2584c1[_0x41f65b(0x208)]===_0x41f65b(0x3d4)&&(_0x2584c1['fill']=_0x15436d[_0x41f65b(0x3d4)]),_0x3bf0a1[_0x41f65b(0x32f)]===_0x41f65b(0x3f0)&&_0x2584c1['id']&&(_0x2584c1['id']=_0x2584c1['id']+_0xec2364[_0x41f65b(0x2f0)]),Object[_0x41f65b(0x351)](_0x2584c1)[_0x41f65b(0x336)](([_0x5a3812,_0x5f3d2a])=>{const _0x4cab42=_0x41f65b;_0x5a3812===_0x4cab42(0x3f0)&&typeof _0x5f3d2a==_0x4cab42(0x3c6)&&(_0x2584c1[_0x5a3812]=_0x5f3d2a[_0x4cab42(0x345)](/url\(#(.*)\)/,_0x4cab42(0x406)+_0xec2364[_0x4cab42(0x2f0)]+')'));});const {defIds:_0x6ef835}=_0xec2364;return!_0x6ef835||_0x6ef835[_0x41f65b(0x411)]===0x0||(_0x3bf0a1[_0x41f65b(0x32f)]===_0x41f65b(0x426)&&_0x2584c1[_0x41f65b(0x424)]&&(_0x2584c1[_0x41f65b(0x424)]=_0x2584c1[_0x41f65b(0x424)]+_0xec2364[_0x41f65b(0x2f0)]),Object[_0x41f65b(0x351)](_0x2584c1)[_0x41f65b(0x336)](([_0x438b4f,_0x51108f])=>{const _0x54d8f9=_0x41f65b;typeof _0x51108f=='string'&&(_0x2584c1[_0x438b4f]=_0x51108f['replace'](/url\(#(.*)\)/,_0x54d8f9(0x406)+_0xec2364[_0x54d8f9(0x2f0)]+')'));})),_0x2584c1;}function _0x39321d(_0x50bcd2,_0x202354){const _0x414db3=_0x369468;var _0x5c032b;const {defIds:_0x47e236}=_0x202354;return!_0x47e236||_0x47e236[_0x414db3(0x411)]===0x0?_0x50bcd2:_0x50bcd2[_0x414db3(0x32f)]===_0x414db3(0x492)&&((_0x5c032b=_0x50bcd2['children'])!=null&&_0x5c032b[_0x414db3(0x411)])?{..._0x50bcd2,'children':_0x50bcd2[_0x414db3(0x1fb)][_0x414db3(0x2ce)](_0x5673d7=>typeof _0x5673d7[_0x414db3(0x466)]['id']==_0x414db3(0x3c6)&&_0x47e236&&_0x47e236[_0x414db3(0x23b)](_0x5673d7[_0x414db3(0x466)]['id'])?{..._0x5673d7,'attrs':{..._0x5673d7[_0x414db3(0x466)],'id':_0x5673d7[_0x414db3(0x466)]['id']+_0x202354[_0x414db3(0x2f0)]}}:_0x5673d7)}:_0x50bcd2;}function _0x598d11(){const _0x4cb14a=_0x369468;return Math[_0x4cb14a(0x380)]()[_0x4cb14a(0x45f)](0x24)[_0x4cb14a(0x47d)](0x2,0x8);}_0x493feb['displayName']=_0x369468(0x3c9);const _0x11880f={'tag':'svg','attrs':{'xmlns':_0x369468(0x469),'fill':_0x369468(0x4a1),'viewBox':_0x369468(0x332),'width':_0x369468(0x383),'height':'1em'},'children':[{'tag':'g','attrs':{'clipPath':_0x369468(0x323)},'children':[{'tag':_0x369468(0x352),'attrs':{'stroke':_0x369468(0x2e7),'d':_0x369468(0x30c),'strokeLinecap':_0x369468(0x46c),'strokeLinejoin':_0x369468(0x46c),'strokeWidth':1.2}}]},{'tag':_0x369468(0x492),'attrs':{},'children':[{'tag':'clipPath','attrs':{'id':_0x369468(0x44e)},'children':[{'tag':_0x369468(0x352),'attrs':{'fill':_0x369468(0x2fd),'d':'M0\x200H16V16H0z'}}]}]}],'defIds':[_0x369468(0x44e)]},_0x5eb87c=_0x1009fb[_0x369468(0x46f)](function(_0x52a491,_0x2269fb){const _0x597847=_0x369468;return _0x1009fb['createElement'](_0x493feb,Object['assign']({},_0x52a491,{'id':_0x597847(0x243),'ref':_0x2269fb,'icon':_0x11880f}));});_0x5eb87c[_0x369468(0x2aa)]=_0x369468(0x4d4);const _0x4255ee={'tag':_0x369468(0x2a2),'attrs':{'xmlns':_0x369468(0x469),'fill':_0x369468(0x4a1),'viewBox':_0x369468(0x29e),'width':_0x369468(0x383),'height':_0x369468(0x383)},'children':[{'tag':'g','attrs':{'clipPath':_0x369468(0x2dd)},'children':[{'tag':'path','attrs':{'stroke':_0x369468(0x2e7),'d':_0x369468(0x2f1),'strokeLinecap':_0x369468(0x46c),'strokeLinejoin':_0x369468(0x46c),'strokeWidth':1.2}}]},{'tag':'defs','attrs':{},'children':[{'tag':_0x369468(0x2f8),'attrs':{'id':'on-line-icon_clip0_910_349'},'children':[{'tag':'path','attrs':{'fill':'white','d':_0x369468(0x310),'transform':_0x369468(0x3ea)}}]}]}],'defIds':[_0x369468(0x404)]},_0x3d2a27=_0x1009fb['forwardRef'](function(_0x2f45ac,_0x2a9911){const _0x119578=_0x369468;return _0x1009fb[_0x119578(0x3b9)](_0x493feb,Object[_0x119578(0x2f7)]({},_0x2f45ac,{'id':_0x119578(0x457),'ref':_0x2a9911,'icon':_0x4255ee}));});_0x3d2a27[_0x369468(0x2aa)]=_0x369468(0x21d);function _0x4259b8(_0x17380b){const _0x3b3b41=_0x369468;switch(_0x17380b){case _0x19bf42[_0x3b3b41(0x245)][_0x3b3b41(0x26a)]:return _0x3b3b41(0x436);case _0x19bf42[_0x3b3b41(0x245)][_0x3b3b41(0x263)]:return'collabStatus.conflict';case _0x19bf42['CollaborationStatus'][_0x3b3b41(0x277)]:return'collabStatus.fetchMiss';case _0x19bf42[_0x3b3b41(0x245)]['NOT_COLLAB']:return _0x3b3b41(0x1f8);case _0x19bf42['CollaborationStatus'][_0x3b3b41(0x3e2)]:case _0x19bf42[_0x3b3b41(0x245)][_0x3b3b41(0x329)]:return'collabStatus.syncing';case _0x19bf42[_0x3b3b41(0x245)][_0x3b3b41(0x434)]:case _0x19bf42[_0x3b3b41(0x245)][_0x3b3b41(0x405)]:return'collabStatus.synced';}}function _0x159020(_0x4faa45){const _0x379fc9=_0x369468,{status$:_0x165097}=_0x4faa45,_0x452ae6=_0x2d6b7e[_0x379fc9(0x272)](_0x165097,_0x19bf42[_0x379fc9(0x245)][_0x379fc9(0x24b)]),_0x4eecfc=_0x2d6b7e[_0x379fc9(0x4c0)](_0x34f1d8[_0x379fc9(0x33e)]),_0x547f83=_0x2d6b7e[_0x379fc9(0x4c0)](_0x19bf42[_0x379fc9(0x474)]),_0x43e64f=_0x452ae6!==_0x19bf42['CollaborationStatus'][_0x379fc9(0x26a)],_0x261ce6=_0x4eecfc['t'](_0x4259b8(_0x452ae6)),_0x164723=_0x43e64f?_0x1e9aca[_0x379fc9(0x318)](_0x3d2a27,{}):_0x1e9aca['jsx'](_0x5eb87c,{}),_0x295816=_0x1009fb[_0x379fc9(0x333)](()=>{_0x43e64f||_0x547f83['reconnect']();},[_0x43e64f,_0x547f83]);function _0x371db4(){const _0x13ef6f=_0x379fc9;return _0x1e9aca[_0x13ef6f(0x3e8)](_0x13ef6f(0x250),{'className':_0x13ef6f(0x3a2),'onClick':_0x295816,'children':[_0x1e9aca[_0x13ef6f(0x318)](_0x13ef6f(0x250),{'className':_0x1dffd2[_0x13ef6f(0x4b9)](_0x13ef6f(0x353),{'univer-text-green-500':_0x43e64f,'univer-text-red-500':!_0x43e64f}),'children':_0x164723}),_0x1e9aca['jsx'](_0x13ef6f(0x250),{'className':'univer-text-sm\x20univer-leading-8\x20univer-text-gray-600\x20dark:!univer-text-gray-200','children':_0x261ce6})]});}return _0x43e64f?_0x371db4():_0x1e9aca['jsx'](_0x1dffd2[_0x379fc9(0x22e)],{'title':_0x4eecfc['t']('collab-client.tooltip.reconnect'),'children':_0x371db4()});}var _0x97e350=Object['getOwnPropertyDescriptor'],_0x223553=(_0x2f4b94,_0x38a68c,_0x459e2b,_0x3214c1)=>{const _0x91c0ee=_0x369468;for(var _0x5219d5=_0x3214c1>0x1?void 0x0:_0x3214c1?_0x97e350(_0x38a68c,_0x459e2b):_0x38a68c,_0x276541=_0x2f4b94[_0x91c0ee(0x411)]-0x1,_0x412745;_0x276541>=0x0;_0x276541--)(_0x412745=_0x2f4b94[_0x276541])&&(_0x5219d5=_0x412745(_0x5219d5)||_0x5219d5);return _0x5219d5;},_0xdbba48=(_0x24908c,_0x686a78)=>(_0x40495a,_0x1e566c)=>_0x686a78(_0x40495a,_0x1e566c,_0x24908c);_0x578c06['DesktopCollaborationStatusDisplayController']=class extends _0x34f1d8[_0x369468(0x3ac)]{constructor(_0x29f0e0,_0x7042bd,_0x87c2b2,_0x1feb98){const _0x14b61f=_0x369468;super(),_0x45ff9b(this,_0x14b61f(0x22f),new _0x385e00[(_0x14b61f(0x2e1))](_0x19bf42[_0x14b61f(0x245)][_0x14b61f(0x24b)])),(this[_0x14b61f(0x31f)]=_0x29f0e0,this[_0x14b61f(0x483)]=_0x7042bd,this[_0x14b61f(0x43e)]=_0x87c2b2,this[_0x14b61f(0x4c1)]=_0x1feb98,this[_0x14b61f(0x2e9)](),this[_0x14b61f(0x3a9)]());}['_initStatusListener'](){const _0xdcb81b=_0x369468;this[_0xdcb81b(0x2d9)](this[_0xdcb81b(0x31f)][_0xdcb81b(0x3fa)][_0xdcb81b(0x2f9)](_0x385e00[_0xdcb81b(0x3cd)](()=>{const _0x288f86=_0xdcb81b,_0x56cc5e=this[_0x288f86(0x31f)][_0x288f86(0x221)]();return _0x56cc5e?this[_0x288f86(0x43e)][_0x288f86(0x23c)](_0x56cc5e[_0x288f86(0x20e)]()):_0x385e00['of'](null);}),_0x385e00[_0xdcb81b(0x3cd)](_0x57a334=>_0x57a334?_0x57a334['status$']:_0x385e00['of'](_0x19bf42['CollaborationStatus'][_0xdcb81b(0x24b)])))[_0xdcb81b(0x47a)](_0x57620d=>{const _0x2f5e16=_0xdcb81b;this[_0x2f5e16(0x22f)]['next'](_0x57620d);}));}[_0x369468(0x2e9)](){const _0x14d13d=_0x369468;this[_0x14d13d(0x2d9)](this[_0x14d13d(0x4c1)][_0x14d13d(0x2eb)](_0x2d6b7e[_0x14d13d(0x381)]['HEADER_MENU'],()=>_0x2d6b7e[_0x14d13d(0x373)](_0x31bce7({'status$':this[_0x14d13d(0x22f)][_0x14d13d(0x3bf)]()}),this[_0x14d13d(0x483)])));}},_0x578c06[_0x369468(0x2a7)]=_0x223553([_0xdbba48(0x0,_0x34f1d8['IUniverInstanceService']),_0xdbba48(0x1,_0x34f1d8[_0x369468(0x2db)](_0x34f1d8[_0x369468(0x341)])),_0xdbba48(0x2,_0x34f1d8[_0x369468(0x2db)](_0x19bf42[_0x369468(0x455)])),_0xdbba48(0x3,_0x2d6b7e['IUIPartsService'])],_0x578c06[_0x369468(0x2a7)]);function _0x31bce7(_0x22107b){const {status$:_0x32a9e8}=_0x22107b;return function(){const _0x576c7d=_0x1c91;return _0x1e9aca[_0x576c7d(0x318)](_0x159020,{'status$':_0x32a9e8});};}const _0x575f53=_0x34f1d8[_0x369468(0x31a)](_0x369468(0x3b6));var _0x3496c2=Object[_0x369468(0x40f)],_0x58123d=(_0x5a3283,_0x39dae0,_0x1cfe97,_0x3eaf79)=>{const _0x1a84f0=_0x369468;for(var _0x5b5a1e=_0x3eaf79>0x1?void 0x0:_0x3eaf79?_0x3496c2(_0x39dae0,_0x1cfe97):_0x39dae0,_0x5b760f=_0x5a3283[_0x1a84f0(0x411)]-0x1,_0x2230cc;_0x5b760f>=0x0;_0x5b760f--)(_0x2230cc=_0x5a3283[_0x5b760f])&&(_0x5b5a1e=_0x2230cc(_0x5b5a1e)||_0x5b5a1e);return _0x5b5a1e;},_0xa58610=(_0x28dffe,_0x24ccc1)=>(_0x4f5708,_0x4ccd91)=>_0x24ccc1(_0x4f5708,_0x4ccd91,_0x28dffe);_0x578c06[_0x369468(0x3db)]=class extends _0x34f1d8[_0x369468(0x204)]{constructor(_0x82b251,_0x1db017,_0xaf35e4,_0x247d80,_0x3d9baf){const _0x25e965=_0x369468;super(),this[_0x25e965(0x2b6)]=_0x82b251,this[_0x25e965(0x274)]=_0x1db017,this[_0x25e965(0x33f)]=_0xaf35e4,this[_0x25e965(0x382)]=_0x247d80,_0x3d9baf?_0x3d9baf==null||_0x3d9baf[_0x25e965(0x4ab)]()[_0x25e965(0x3e7)](()=>this[_0x25e965(0x2b0)]()):(this[_0x25e965(0x274)][_0x25e965(0x448)](_0x25e965(0x484),'No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.'),this[_0x25e965(0x2b0)]());}async[_0x369468(0x2b0)](){const _0x350b28=_0x369468,_0x4c4525=this[_0x350b28(0x2b6)]['getParam'](_0x350b28(0x326)),_0x2a3003=this['_urlService'][_0x350b28(0x4c8)](_0x350b28(0x395)),_0x332d71=this[_0x350b28(0x2b6)][_0x350b28(0x4c8)](_0x350b28(0x491));if(!_0x4c4525||!_0x2a3003){this[_0x350b28(0x274)]['debug'](_0x350b28(0x484),'No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.');return;}const _0x424593=await this[_0x350b28(0x382)]['loadUnit'](_0x4c4525,Number(_0x2a3003),_0x332d71);_0x424593&&_0x424593 instanceof _0x34f1d8[_0x350b28(0x3ee)]&&this[_0x350b28(0x4cc)](_0x424593);}async[_0x369468(0x4cc)](_0x5ffed4){const _0x589346=_0x369468;await this[_0x589346(0x41f)](_0x5ffed4),_0x5ffed4[_0x589346(0x297)][_0x589346(0x2f9)](_0x385e00[_0x589346(0x2cd)](this[_0x589346(0x230)]))[_0x589346(0x47a)](_0x185c76=>{const _0x4cca81=_0x589346;_0x185c76&&this[_0x4cca81(0x365)](_0x185c76);}),this[_0x589346(0x2b6)][_0x589346(0x37c)][_0x589346(0x2f9)](_0x385e00['takeUntil'](this[_0x589346(0x230)]))[_0x589346(0x47a)](()=>this[_0x589346(0x41f)](_0x5ffed4));}[_0x369468(0x365)](_0xf6ddd6,_0x3ceece=!0x1){const _0xe3ac77=_0x369468,_0x4dd22e=this[_0xe3ac77(0x2b6)][_0xe3ac77(0x4c8)](_0xe3ac77(0x491));_0xf6ddd6['getSheetId']()!==_0x4dd22e&&this[_0xe3ac77(0x2b6)]['setParam'](_0xe3ac77(0x491),_0xf6ddd6['getSheetId'](),_0x3ceece);}async[_0x369468(0x41f)](_0xa82149){const _0x44bf26=_0x369468;var _0x3a1012;const _0x48c03c=this['_urlService']['getParam']('subunit');if(!_0x48c03c||!_0xa82149[_0x44bf26(0x4bc)](_0x48c03c)){const _0x586981=_0xa82149['getUnhiddenWorksheets']()[0x0],_0x53da60=_0xa82149['getSheetBySheetId'](_0x586981);if(!_0x53da60)return;this['_updateURLWithCurrentState'](_0x53da60,!0x0),await this[_0x44bf26(0x33f)][_0x44bf26(0x49e)](_0xf2a465['SetWorksheetActivateCommand']['id'],{'unitId':_0xa82149[_0x44bf26(0x20e)](),'subUnitId':_0x586981});return;}((_0x3a1012=_0xa82149['getActiveSheet']())==null?void 0x0:_0x3a1012[_0x44bf26(0x2bd)]())!==_0x48c03c&&await this[_0x44bf26(0x33f)][_0x44bf26(0x49e)](_0xf2a465[_0x44bf26(0x2cc)]['id'],{'unitId':_0xa82149[_0x44bf26(0x20e)](),'subUnitId':_0x48c03c});}},_0x578c06[_0x369468(0x3db)]=_0x58123d([_0xa58610(0x0,_0x575f53),_0xa58610(0x1,_0x34f1d8[_0x369468(0x425)]),_0xa58610(0x2,_0x34f1d8['ICommandService']),_0xa58610(0x3,_0x34f1d8['Inject'](_0x19bf42['DataLoaderService'])),_0xa58610(0x4,_0x34f1d8[_0x369468(0x24f)](_0x38b5cc[_0x369468(0x4a0)]))],_0x578c06[_0x369468(0x3db)]);var _0x50c2d7=Object['getOwnPropertyDescriptor'],_0x381a5b=(_0x1f7c5e,_0x3dc33e,_0x343f6a,_0x365b51)=>{const _0x35b563=_0x369468;for(var _0x5954ed=_0x365b51>0x1?void 0x0:_0x365b51?_0x50c2d7(_0x3dc33e,_0x343f6a):_0x3dc33e,_0x1764cb=_0x1f7c5e[_0x35b563(0x411)]-0x1,_0xe1d36b;_0x1764cb>=0x0;_0x1764cb--)(_0xe1d36b=_0x1f7c5e[_0x1764cb])&&(_0x5954ed=_0xe1d36b(_0x5954ed)||_0x5954ed);return _0x5954ed;},_0x4dd0cf=(_0x35b4e1,_0x41ff3b)=>(_0x1d4dd7,_0x1c48a6)=>_0x41ff3b(_0x1d4dd7,_0x1c48a6,_0x35b4e1);let _0xd32ba6=class extends _0x34f1d8[_0x369468(0x204)]{constructor(_0x53cebc,_0x34fb04){const _0x3c8989=_0x369468;super(),this[_0x3c8989(0x223)]=_0x53cebc,this[_0x3c8989(0x268)]=_0x34fb04,this[_0x3c8989(0x2b0)]();}[_0x369468(0x2b0)](){const _0x460039=_0x369468,_0x2891ec=this;this[_0x460039(0x2d9)](this[_0x460039(0x223)]['addClipboardHook']({'onBeforePasteImage':async _0xa8ed61=>{const _0x35b7ef=_0x460039,_0x355425=await _0x2891ec[_0x35b7ef(0x268)][_0x35b7ef(0x2ab)](_0xa8ed61);return _0x355425?{'source':_0x355425[_0x35b7ef(0x24a)],'imageSourceType':_0x355425[_0x35b7ef(0x47c)]}:null;}}));}};_0xd32ba6=_0x381a5b([_0x4dd0cf(0x0,_0x47a231[_0x369468(0x2e0)]),_0x4dd0cf(0x1,_0x55b404['IImageIoService'])],_0xd32ba6);const _0x45306c=['purple.300',_0x369468(0x3b7),_0x369468(0x3ca),_0x369468(0x2a8),_0x369468(0x3af),'yellow.400'];class _0x5b42d8 extends _0x34f1d8[_0x369468(0x3ac)]{constructor(){const _0x2ba71e=_0x369468;super(...arguments),_0x45ff9b(this,_0x2ba71e(0x31b),new Map()),_0x45ff9b(this,_0x2ba71e(0x248),0x0);}[_0x369468(0x2bc)](_0x53ad66){const _0x465357=_0x369468;if(this[_0x465357(0x31b)][_0x465357(0x48b)](_0x53ad66))return this[_0x465357(0x31b)][_0x465357(0x2b5)](_0x53ad66);const _0x30234d=_0x45306c[this[_0x465357(0x248)]];return this[_0x465357(0x248)]=(this[_0x465357(0x248)]+0x1)%_0x45306c[_0x465357(0x411)],this[_0x465357(0x31b)][_0x465357(0x386)](_0x53ad66,_0x30234d),_0x30234d;}}function _0x3bf0b7(_0x14b9a5){const _0x2b444e=_0x369468;let _0x76ed58='';for(const _0x54be87 of _0x14b9a5){const {startOffset:_0x176f71,endOffset:_0x49bb3f,isActive:_0x15a477,rangeType:_0x186269,segmentId:_0x62fe2d,segmentPage:_0x23f265}=_0x54be87;_0x76ed58[_0x2b444e(0x411)]&&(_0x76ed58+=','),_0x76ed58+=_0x176f71+':'+_0x49bb3f+':'+(_0x15a477?'1':'0')+':'+_0x186269+':'+_0x62fe2d+':'+_0x23f265;}return _0x76ed58;}function _0x2b0bcc(_0x1f22d3){const _0x333a6c=_0x369468,_0x1b4c78=_0x1f22d3[_0x333a6c(0x1f0)](','),_0x2b4b97=[];for(const _0x4c79de of _0x1b4c78){const [_0x2e5b95,_0x2aa841,_0x5b0724,_0x3f1b12,_0xb0e67f,_0x3354eb]=_0x4c79de[_0x333a6c(0x1f0)](':');_0x2b4b97[_0x333a6c(0x258)]({'startOffset':Number(_0x2e5b95),'endOffset':Number(_0x2aa841),'collapsed':_0x2e5b95===_0x2aa841,'isActive':_0x5b0724==='1','rangeType':_0x3f1b12===_0x34f1d8[_0x333a6c(0x451)][_0x333a6c(0x445)]?_0x34f1d8[_0x333a6c(0x451)]['TEXT']:_0x34f1d8[_0x333a6c(0x451)]['RECT'],'segmentId':typeof _0xb0e67f=='string'?String(_0xb0e67f):'','segmentPage':Number(_0x3354eb!=null?_0x3354eb:-0x1)});}return _0x2b4b97[_0x333a6c(0x45c)](_0x2fdf8d=>_0x2fdf8d['isActive'])||(_0x2b4b97[0x0][_0x333a6c(0x216)]=!0x0),_0x2b4b97;}class _0xda9f47 extends _0x34f1d8['RxDisposable']{constructor(){const _0x334ec9=_0x369468;super(...arguments),_0x45ff9b(this,_0x334ec9(0x286),new _0x385e00['BehaviorSubject'](null)),_0x45ff9b(this,_0x334ec9(0x288),this[_0x334ec9(0x286)][_0x334ec9(0x3bf)]());}[_0x369468(0x27f)](_0x1ba8e1){const _0x881b18=_0x369468,{unitID:_0x127eb9,memberID:_0x1d56cf,textRanges:_0x43d28f}=_0x1ba8e1,_0x16bbf5=_0x3bf0b7(_0x43d28f);if(_0x16bbf5==='')return;const _0x49831c={'unitID':_0x127eb9,'memberID':_0x1d56cf,'selection':_0x16bbf5};this[_0x881b18(0x286)]['next'](_0x49831c);}}var _0x2f152d=Object[_0x369468(0x40f)],_0x3af67b=(_0x15e2f2,_0x55ca10,_0x54102e,_0x2b4aac)=>{for(var _0x10af2b=_0x2b4aac>0x1?void 0x0:_0x2b4aac?_0x2f152d(_0x55ca10,_0x54102e):_0x55ca10,_0x54b410=_0x15e2f2['length']-0x1,_0x21117c;_0x54b410>=0x0;_0x54b410--)(_0x21117c=_0x15e2f2[_0x54b410])&&(_0x10af2b=_0x21117c(_0x10af2b)||_0x10af2b);return _0x10af2b;},_0x1882ed=(_0xe699f9,_0x14f635)=>(_0x32cca7,_0x36688f)=>_0x14f635(_0x32cca7,_0x36688f,_0xe699f9);const _0xb0ebbb=0x12c,_0x4f7abf=0x64;let _0x4a437f=class extends _0x34f1d8['RxDisposable']{constructor(_0x56a6de,_0x19bf3,_0xc72661,_0x32c448,_0x3157c4,_0x9f6c0c,_0x5cf050,_0x42660e,_0x280c88){const _0x103ca1=_0x369468;super(),_0x45ff9b(this,_0x103ca1(0x34f),!0x1),_0x45ff9b(this,'_init',!0x1),_0x45ff9b(this,_0x103ca1(0x2ca),new _0x385e00['BehaviorSubject'](new Map())),_0x45ff9b(this,_0x103ca1(0x3e1),this[_0x103ca1(0x2ca)][_0x103ca1(0x3bf)]()),_0x45ff9b(this,_0x103ca1(0x266),new _0x385e00[(_0x103ca1(0x2e1))]([])),_0x45ff9b(this,'roomMembers$',this[_0x103ca1(0x266)]['pipe'](_0x385e00['debounceTime'](_0xb0ebbb))),_0x45ff9b(this,_0x103ca1(0x299),_0x34f1d8[_0x103ca1(0x34b)](_0x1d5855=>{const _0x522554=_0x103ca1,_0x12fff1={'eventID':_0x40c5dd[_0x522554(0x20b)][_0x522554(0x271)],'data':{'unitID':this['unitID'],'memberID':this['_session'][_0x522554(0x21f)](),'selection':_0x3bf0b7(_0x1d5855)}};this['_session']['send'](_0x12fff1,this[_0x522554(0x33d)]);},_0x4f7abf)),(this['unitID']=_0x56a6de,this[_0x103ca1(0x259)]=_0x19bf3,this[_0x103ca1(0x483)]=_0xc72661,this[_0x103ca1(0x2d3)]=_0x32c448,this[_0x103ca1(0x3a6)]=_0x3157c4,this[_0x103ca1(0x363)]=_0x9f6c0c,this[_0x103ca1(0x413)]=_0x5cf050,this[_0x103ca1(0x31f)]=_0x42660e,this[_0x103ca1(0x33f)]=_0x280c88);}get[_0x369468(0x2ee)](){const _0x43813b=_0x369468;return this['_cursorInfo$'][_0x43813b(0x40e)]();}get['roomMembers'](){const _0x5aa22e=_0x369468;return this[_0x5aa22e(0x266)][_0x5aa22e(0x40e)]();}[_0x369468(0x486)](){const _0xba36e8=_0x369468;super[_0xba36e8(0x486)](),this[_0xba36e8(0x2ca)]['next'](new Map()),this[_0xba36e8(0x2ca)][_0xba36e8(0x3d3)](),this[_0xba36e8(0x266)][_0xba36e8(0x396)]([]),this[_0xba36e8(0x266)][_0xba36e8(0x3d3)]();}[_0x369468(0x1fa)](){const _0x35ab7b=_0x369468;this[_0x35ab7b(0x2b0)]||(this[_0x35ab7b(0x2b0)]=!0x0,this['_session'][_0x35ab7b(0x356)]['pipe'](_0x385e00[_0x35ab7b(0x2cd)](this[_0x35ab7b(0x230)]))['subscribe'](_0x33925f=>{const _0x1b89fc=_0x35ab7b;_0x33925f===_0x19bf42['SessionStatus'][_0x1b89fc(0x257)]?this[_0x1b89fc(0x344)]():this[_0x1b89fc(0x4ba)]();}),this[_0x35ab7b(0x259)][_0x35ab7b(0x2ff)][_0x35ab7b(0x2f9)](_0x385e00[_0x35ab7b(0x2cd)](this['dispose$']))[_0x35ab7b(0x47a)](_0x49aae3=>{const _0x595843=_0x35ab7b,_0x39e4ba=_0x49aae3[_0x595843(0x20c)];_0x39e4ba===_0x40c5dd[_0x595843(0x20b)]['UPDATE_CURSOR']&&this[_0x595843(0x410)](_0x49aae3),_0x39e4ba===_0x40c5dd[_0x595843(0x20b)]['USERS_LEAVE']&&this[_0x595843(0x217)](_0x49aae3);}),this['disposeWithMe'](this[_0x35ab7b(0x33f)][_0x35ab7b(0x2f2)](_0x5330ea=>{const _0x3e9e37=_0x35ab7b,_0x6aa1c0=_0x5330ea['params'];_0x6aa1c0!=null&&this[_0x3e9e37(0x34f)]&&_0x5330ea['id']===_0x49d9c8[_0x3e9e37(0x361)]['id']&&_0x6aa1c0[_0x3e9e37(0x41d)]===this[_0x3e9e37(0x33d)]&&_0x6aa1c0[_0x3e9e37(0x3a8)]===!0x1&&_0x6aa1c0[_0x3e9e37(0x2ef)]['length']>0x0&&this[_0x3e9e37(0x299)](_0x6aa1c0['ranges']);})),this[_0x35ab7b(0x363)][_0x35ab7b(0x288)][_0x35ab7b(0x2f9)](_0x385e00[_0x35ab7b(0x2cd)](this[_0x35ab7b(0x230)]))[_0x35ab7b(0x47a)](_0x3b2eca=>{const _0x1235ee=_0x35ab7b;if((_0x3b2eca==null?void 0x0:_0x3b2eca[_0x1235ee(0x33d)])!==this[_0x1235ee(0x33d)])return;const _0x348ce4={'eventID':_0x40c5dd['CollaborationEvent'][_0x1235ee(0x271)],'data':_0x3b2eca};this[_0x1235ee(0x410)](_0x348ce4);}),this[_0x35ab7b(0x2d9)](this[_0x35ab7b(0x33f)]['onCommandExecuted'](_0x2dd44e=>{const _0x1aafc5=_0x35ab7b;if(_0x2dd44e[_0x1aafc5(0x42e)]==null)return;const _0x2363a=_0x2dd44e['params'];if(_0x2dd44e['id']!==_0x49d9c8['RichTextEditingMutation']['id']||_0x2363a[_0x1aafc5(0x41d)]!==this[_0x1aafc5(0x33d)])return;const _0xb47537={'id':'doc.mutation.rich-text-editing','params':_0x2363a},_0xce487c=this[_0x1aafc5(0x2ee)];for(const [_0x40c395,_0xc28961]of _0xce487c){const _0x499e27={'id':_0x1aafc5(0x489),'params':{'unitId':this['unitID'],'actions':null,'textRanges':_0xc28961[_0x1aafc5(0x2ef)]}},_0x11caa5=this[_0x1aafc5(0x413)][_0x1aafc5(0x21e)](_0xb47537,_0x499e27,!0x1);if(_0x40c5dd['isTransformMutationFailure'](_0x11caa5))throw _0x11caa5[_0x1aafc5(0x22b)];_0xce487c[_0x1aafc5(0x386)](_0x40c395,{..._0xc28961,'ranges':_0x11caa5['m2Prime'][_0x1aafc5(0x42e)][_0x1aafc5(0x234)]});}queueMicrotask(()=>{const _0x4ecc0e=_0x1aafc5;this['_cursorInfo$'][_0x4ecc0e(0x396)](_0xce487c);});})));}['_onCursorUpdate'](_0x55988f){const _0xaad9d=_0x369468;var _0x138150,_0x11bc0c;const {memberID:_0x48df80,selection:_0x213cc0}=_0x55988f[_0xaad9d(0x227)],_0x62b7f2=_0x2b0bcc(_0x213cc0),_0x3aad5c=(_0x11bc0c=(_0x138150=this[_0xaad9d(0x3a6)][_0xaad9d(0x30f)](this[_0xaad9d(0x33d)],_0x48df80))==null?void 0x0:_0x138150[_0xaad9d(0x330)])!=null?_0x11bc0c:_0xaad9d(0x2da),_0x3d3a0c={'color':this[_0xaad9d(0x2d3)]['assignAColorForMemberID'](_0x48df80),'name':_0x3aad5c,'ranges':_0x62b7f2},_0x36fa2c=this[_0xaad9d(0x2ee)];_0x36fa2c[_0xaad9d(0x386)](_0x48df80,_0x3d3a0c),this[_0xaad9d(0x2ca)][_0xaad9d(0x396)](_0x36fa2c);}[_0x369468(0x217)](_0x4f6489){const _0x3cd216=_0x369468,{memberID:_0x5046b4}=_0x4f6489[_0x3cd216(0x227)],_0x38776d=this['cursorInfo'];_0x38776d[_0x3cd216(0x280)](_0x5046b4),this[_0x3cd216(0x2ca)][_0x3cd216(0x396)](_0x38776d);}[_0x369468(0x344)](){const _0x51f183=_0x369468;var _0xf7512f;if(this[_0x51f183(0x34f)]=!0x0,((_0xf7512f=this[_0x51f183(0x31f)][_0x51f183(0x221)]())==null?void 0x0:_0xf7512f[_0x51f183(0x20e)]())!==this[_0x51f183(0x33d)])return;const _0x5c8452=this[_0x51f183(0x483)][_0x51f183(0x2b5)](_0x49d9c8[_0x51f183(0x428)])[_0x51f183(0x3d5)]();Array['isArray'](_0x5c8452)&&_0x5c8452[_0x51f183(0x411)]>0x0&&this[_0x51f183(0x299)](_0x5c8452);}['_toggleOffline'](){const _0x41ef27=_0x369468;this[_0x41ef27(0x34f)]=!0x1;}};_0x4a437f=_0x3af67b([_0x1882ed(0x2,_0x34f1d8[_0x369468(0x2db)](_0x34f1d8[_0x369468(0x341)])),_0x1882ed(0x3,_0x34f1d8[_0x369468(0x2db)](_0x5b42d8)),_0x1882ed(0x4,_0x34f1d8[_0x369468(0x2db)](_0x19bf42[_0x369468(0x3bd)])),_0x1882ed(0x5,_0x34f1d8[_0x369468(0x2db)](_0xda9f47)),_0x1882ed(0x6,_0x40c5dd['ITransformService']),_0x1882ed(0x7,_0x34f1d8[_0x369468(0x236)]),_0x1882ed(0x8,_0x34f1d8['ICommandService'])],_0x4a437f);var _0x5626ec=Object['getOwnPropertyDescriptor'],_0x1d845d=(_0x5c72d5,_0x11a3e3,_0x3819b5,_0x3307f4)=>{const _0xf0a356=_0x369468;for(var _0x2565fd=_0x3307f4>0x1?void 0x0:_0x3307f4?_0x5626ec(_0x11a3e3,_0x3819b5):_0x11a3e3,_0x36377c=_0x5c72d5[_0xf0a356(0x411)]-0x1,_0x4f2607;_0x36377c>=0x0;_0x36377c--)(_0x4f2607=_0x5c72d5[_0x36377c])&&(_0x2565fd=_0x4f2607(_0x2565fd)||_0x2565fd);return _0x2565fd;},_0x315bbf=(_0xe595fa,_0x3f4ad3)=>(_0xba372e,_0x483561)=>_0x3f4ad3(_0xba372e,_0x483561,_0xe595fa);const _0x3a645d=0x12c,_0x1b285d=0x64,_0x740225=()=>{let _0x50509a=[],_0x5dcaf4=!0x1;return _0x347fc9=>{_0x50509a['push'](_0x347fc9),_0x5dcaf4||(_0x5dcaf4=!0x0,setTimeout(()=>{const _0x4360e3=_0x1c91;_0x50509a[_0x4360e3(0x336)](_0x536ea8=>_0x536ea8()),_0x50509a=[],_0x5dcaf4=!0x1;}));};};let _0x3df2b4=class extends _0x34f1d8[_0x369468(0x204)]{constructor(_0x5caf7f,_0x28967c,_0x19ddab,_0x2dcf43,_0x59be0a,_0x5c6c6b,_0x52f322,_0x207992){const _0x28f0ca=_0x369468;super(),_0x45ff9b(this,_0x28f0ca(0x34f),!0x1),_0x45ff9b(this,_0x28f0ca(0x2b0),!0x1),_0x45ff9b(this,'_cursorInfo$',new _0x385e00['BehaviorSubject'](new Map())),_0x45ff9b(this,_0x28f0ca(0x3e1),this[_0x28f0ca(0x2ca)][_0x28f0ca(0x3bf)]()),_0x45ff9b(this,_0x28f0ca(0x266),new _0x385e00['BehaviorSubject']([])),_0x45ff9b(this,_0x28f0ca(0x2ec),this[_0x28f0ca(0x266)][_0x28f0ca(0x2f9)](_0x385e00[_0x28f0ca(0x384)](_0x3a645d))),_0x45ff9b(this,_0x28f0ca(0x299),_0x34f1d8[_0x28f0ca(0x34b)]((_0x323dcb,_0x19a0d1)=>{const _0x2bd794=_0x28f0ca,_0x3f3541={'eventID':_0x40c5dd[_0x2bd794(0x20b)][_0x2bd794(0x271)],'data':{'unitID':this[_0x2bd794(0x33d)],'memberID':this['_session']['getMemberID'](),'selection':_0x35db63['serializeRangeWithSheet'](_0x323dcb,_0x19a0d1[_0x2bd794(0x472)])}};this[_0x2bd794(0x259)][_0x2bd794(0x46b)](_0x3f3541,this[_0x2bd794(0x33d)]);},_0x1b285d)),(this['unitID']=_0x5caf7f,this[_0x28f0ca(0x259)]=_0x28967c,this[_0x28f0ca(0x483)]=_0x19ddab,this[_0x28f0ca(0x2d3)]=_0x2dcf43,this[_0x28f0ca(0x3a6)]=_0x59be0a,this[_0x28f0ca(0x31f)]=_0x5c6c6b,this['_commandService']=_0x52f322,this['_refRangeService']=_0x207992);}get[_0x369468(0x2ee)](){const _0x5b9b04=_0x369468;return this[_0x5b9b04(0x2ca)][_0x5b9b04(0x40e)]();}get[_0x369468(0x2a6)](){const _0x37d2be=_0x369468;return this[_0x37d2be(0x266)][_0x37d2be(0x40e)]();}[_0x369468(0x486)](){const _0x1649ad=_0x369468;super[_0x1649ad(0x486)](),this['_cursorInfo$'][_0x1649ad(0x396)](new Map()),this[_0x1649ad(0x2ca)][_0x1649ad(0x3d3)](),this['_roomMembers$'][_0x1649ad(0x396)]([]),this['_roomMembers$'][_0x1649ad(0x3d3)]();}['init'](){const _0x551be4=_0x369468;this[_0x551be4(0x2b0)]||(this[_0x551be4(0x2b0)]=!0x0,this[_0x551be4(0x259)][_0x551be4(0x356)][_0x551be4(0x2f9)](_0x385e00[_0x551be4(0x2cd)](this[_0x551be4(0x230)]))['subscribe'](_0x59f6d5=>{const _0x450f4c=_0x551be4;_0x59f6d5===_0x19bf42[_0x450f4c(0x40c)]['ONLINE']?this[_0x450f4c(0x344)]():this['_toggleOffline']();}),this[_0x551be4(0x259)][_0x551be4(0x2ff)]['pipe'](_0x385e00[_0x551be4(0x2cd)](this[_0x551be4(0x230)]))[_0x551be4(0x47a)](_0x63ed25=>{const _0x19c5fb=_0x551be4,_0x2d494f=_0x63ed25[_0x19c5fb(0x20c)];_0x2d494f===_0x40c5dd[_0x19c5fb(0x20b)][_0x19c5fb(0x271)]&&this[_0x19c5fb(0x410)](_0x63ed25),_0x2d494f===_0x40c5dd['CollaborationEvent']['USERS_LEAVE']&&this[_0x19c5fb(0x217)](_0x63ed25);}),this[_0x551be4(0x3d6)](),this['disposeWithMe'](this['_commandService']['onCommandExecuted'](_0x3f7420=>{const _0x13b8a4=_0x551be4;if(this[_0x13b8a4(0x34f)]&&_0x3f7420['id']===_0xf2a465['SetSelectionsOperation']['id']&&_0x3f7420['params'][_0x13b8a4(0x41d)]===this['unitID']){const _0x43b1a9=_0x3f7420[_0x13b8a4(0x42e)];this['_updateLocalCursor'](_0x43b1a9[_0x13b8a4(0x4a3)],_0x43b1a9['selections'][0x0]);}})));}['_onCursorUpdate'](_0x25577a){const _0x5691d7=_0x369468;var _0x270323,_0x370fd6;const {memberID:_0x4070fb,selection:_0x3516e0}=_0x25577a[_0x5691d7(0x227)],{sheetName:_0xd160d0,range:_0x50ca26}=_0x35db63[_0x5691d7(0x45d)](_0x3516e0),_0x4dceb2={'name':(_0x370fd6=(_0x270323=this[_0x5691d7(0x3a6)][_0x5691d7(0x30f)](this[_0x5691d7(0x33d)],_0x4070fb))==null?void 0x0:_0x270323[_0x5691d7(0x330)])!=null?_0x370fd6:_0x5691d7(0x2da),'range':this['_getMergeRange'](_0xd160d0,_0x50ca26),'sheetID':_0xd160d0,'color':this['_colorAssignService']['assignAColorForMemberID'](_0x4070fb),'selection':_0x3516e0},_0x5c9901=this['cursorInfo'];_0x5c9901[_0x5691d7(0x386)](_0x4070fb,_0x4dceb2),this[_0x5691d7(0x2ca)][_0x5691d7(0x396)](_0x5c9901);}[_0x369468(0x217)](_0x29fabc){const _0x1a3230=_0x369468,{memberID:_0x3b5926}=_0x29fabc[_0x1a3230(0x227)],_0x4111e4=this[_0x1a3230(0x2ee)];_0x4111e4[_0x1a3230(0x280)](_0x3b5926),this[_0x1a3230(0x2ca)][_0x1a3230(0x396)](_0x4111e4);}['_getMergeRange'](_0x11cc3c,_0x2ac225){const _0x343559=_0x369468;var _0x4c753c,_0x1b3adc;const _0x385cf0=(_0x1b3adc=(_0x4c753c=this[_0x343559(0x31f)][_0x343559(0x42d)](this[_0x343559(0x33d)]))==null?void 0x0:_0x4c753c[_0x343559(0x4bc)](_0x11cc3c))==null?void 0x0:_0x1b3adc['getMergeData']();return(_0x385cf0==null?void 0x0:_0x385cf0[_0x343559(0x2fa)](_0x2e6b0b=>_0x34f1d8[_0x343559(0x38a)][_0x343559(0x447)](_0x2e6b0b,_0x2ac225)))||_0x2ac225;}[_0x369468(0x3d6)](){const _0x42cdf1=_0x369468,_0x430614=new _0x34f1d8[(_0x42cdf1(0x38b))](),_0xf90583=_0x740225(),_0x13c29c=()=>{const _0x28d84d=_0x42cdf1;_0x430614['dispose']();const _0x5a8bb3=(_0x50f9c7,_0x2653d1,_0x3f1abb,_0x20df7f)=>{const _0x405003=_0x1c91;let _0x195278=[];switch(_0x50f9c7['id']){case _0xf2a465[_0x405003(0x399)][_0x405003(0x20f)]:{_0x195278=_0xf2a465[_0x405003(0x2bf)](_0x50f9c7,_0x20df7f);break;}case _0xf2a465[_0x405003(0x399)][_0x405003(0x237)]:{_0x195278=_0xf2a465['handleDeleteRangeMoveUp'](_0x50f9c7,_0x20df7f);break;}case _0xf2a465[_0x405003(0x399)]['InsertColCommandId']:{_0x195278=_0xf2a465[_0x405003(0x3d1)](_0x50f9c7,_0x20df7f);break;}case _0xf2a465[_0x405003(0x399)][_0x405003(0x3c4)]:{_0x195278=_0xf2a465[_0x405003(0x3f3)](_0x50f9c7,_0x20df7f);break;}case _0xf2a465['EffectRefRangId'][_0x405003(0x349)]:{_0x195278=_0xf2a465['handleInsertRangeMoveRight'](_0x50f9c7,_0x20df7f);break;}case _0xf2a465[_0x405003(0x399)][_0x405003(0x2b7)]:{_0x195278=_0xf2a465[_0x405003(0x39a)](_0x50f9c7,_0x20df7f);break;}case _0xf2a465[_0x405003(0x399)][_0x405003(0x48e)]:{_0x195278=_0xf2a465[_0x405003(0x488)](_0x50f9c7,_0x20df7f);break;}case _0xf2a465[_0x405003(0x399)]['RemoveColCommandId']:{_0x195278=_0xf2a465[_0x405003(0x21a)](_0x50f9c7,_0x20df7f);break;}case _0xf2a465[_0x405003(0x399)][_0x405003(0x391)]:{_0x195278=_0xf2a465[_0x405003(0x27a)](_0x50f9c7,_0x20df7f);break;}}const _0x50f6fc=_0xf2a465[_0x405003(0x470)](_0x195278,_0x20df7f),_0x35eaac=this[_0x405003(0x2ee)][_0x405003(0x2b5)](_0x2653d1);if(_0x35eaac&&_0x50f6fc){const _0x3c01e5={..._0x35eaac,'range':_0x50f6fc};this[_0x405003(0x2ee)][_0x405003(0x386)](_0x2653d1,_0x3c01e5),_0xf90583(()=>{const _0x16d6a7=_0x405003,_0x59d26d=this[_0x16d6a7(0x339)]['registerRefRange'](_0x50f6fc,_0x20fbd3=>(_0x59d26d[_0x16d6a7(0x486)](),_0x5a8bb3(_0x20fbd3,_0x2653d1,_0x3f1abb,_0x50f6fc)));_0x430614['add'](_0x59d26d);});}return{'redos':[],'undos':[]};};this[_0x28d84d(0x2ee)]['forEach']((_0x180e20,_0x46a28c)=>{const _0x512a0c=_0x28d84d,{range:_0x5d658d,sheetID:_0x86cbf6}=_0x180e20,_0x2c3b2f=this[_0x512a0c(0x339)][_0x512a0c(0x387)](_0x5d658d,_0x399f3e=>(_0x2c3b2f[_0x512a0c(0x486)](),_0x5a8bb3(_0x399f3e,_0x46a28c,_0x86cbf6,_0x5d658d)));_0x430614[_0x512a0c(0x2d5)](_0x2c3b2f);});};this[_0x42cdf1(0x2d9)](_0x34f1d8[_0x42cdf1(0x3a1)](this[_0x42cdf1(0x2ca)]['subscribe'](()=>{_0x13c29c();})));}[_0x369468(0x344)](){const _0xb9e01b=_0x369468;var _0x5bcfaa,_0x20d35c;if(this[_0xb9e01b(0x34f)]=!0x0,((_0x5bcfaa=this[_0xb9e01b(0x31f)][_0xb9e01b(0x221)]())==null?void 0x0:_0x5bcfaa['getUnitId']())!==this[_0xb9e01b(0x33d)])return;const _0x499cdf=(_0x20d35c=this[_0xb9e01b(0x483)][_0xb9e01b(0x2b5)](_0xf2a465[_0xb9e01b(0x369)])[_0xb9e01b(0x37a)]())==null?void 0x0:_0x20d35c[0x0],_0x18af03=this[_0xb9e01b(0x31f)][_0xb9e01b(0x2c0)](_0x34f1d8['UniverInstanceType'][_0xb9e01b(0x371)])['getActiveSheet']();_0x499cdf&&_0x18af03&&this[_0xb9e01b(0x299)](_0x18af03['getSheetId'](),_0x499cdf);}[_0x369468(0x4ba)](){this['_online']=!0x1;}};_0x3df2b4=_0x1d845d([_0x315bbf(0x2,_0x34f1d8['Inject'](_0x34f1d8[_0x369468(0x341)])),_0x315bbf(0x3,_0x34f1d8[_0x369468(0x2db)](_0x5b42d8)),_0x315bbf(0x4,_0x34f1d8['Inject'](_0x19bf42[_0x369468(0x3bd)])),_0x315bbf(0x5,_0x34f1d8[_0x369468(0x236)]),_0x315bbf(0x6,_0x34f1d8[_0x369468(0x499)]),_0x315bbf(0x7,_0x34f1d8['Inject'](_0xf2a465[_0x369468(0x2ae)]))],_0x3df2b4);var _0xcd2630=Object[_0x369468(0x40f)],_0x431955=(_0x1d5eee,_0x38ee19,_0x303616,_0x596a79)=>{for(var _0x550310=_0x596a79>0x1?void 0x0:_0x596a79?_0xcd2630(_0x38ee19,_0x303616):_0x38ee19,_0x28f1ad=_0x1d5eee['length']-0x1,_0x1fd719;_0x28f1ad>=0x0;_0x28f1ad--)(_0x1fd719=_0x1d5eee[_0x28f1ad])&&(_0x550310=_0x1fd719(_0x550310)||_0x550310);return _0x550310;},_0x5ab2df=(_0x1e5c7f,_0x436c9b)=>(_0x45a30b,_0x1de883)=>_0x436c9b(_0x45a30b,_0x1de883,_0x1e5c7f);let _0x531216=class extends _0x34f1d8['RxDisposable']{constructor(_0x32c7be,_0x495329,_0x5a7f6d){const _0x27c449=_0x369468;super(),_0x45ff9b(this,_0x27c449(0x273),new Map()),_0x45ff9b(this,_0x27c449(0x355),new _0x385e00['Subject']()),(this[_0x27c449(0x31f)]=_0x32c7be,this[_0x27c449(0x483)]=_0x495329,this[_0x27c449(0x3ba)]=_0x5a7f6d,this['_init']());}['dispose'](){const _0x12e9e2=_0x369468;super[_0x12e9e2(0x486)](),this[_0x12e9e2(0x355)][_0x12e9e2(0x3d3)](),this['_entities']['forEach'](_0xd1bfd8=>_0xd1bfd8[_0x12e9e2(0x486)]());}[_0x369468(0x2f3)](_0x227a47){const _0x95207e=_0x369468;return this[_0x95207e(0x273)][_0x95207e(0x48b)](_0x227a47)?this['_entities'][_0x95207e(0x2b5)](_0x227a47)[_0x95207e(0x3e1)]:this[_0x95207e(0x355)][_0x95207e(0x2f9)](_0x385e00[_0x95207e(0x276)](_0xd25d9a=>_0xd25d9a[_0x95207e(0x33d)]===_0x227a47),_0x385e00[_0x95207e(0x3cd)](_0x46f472=>_0x46f472[_0x95207e(0x3e1)]));}[_0x369468(0x2b0)](){const _0x2ba844=_0x369468;this['_univerInstanceService'][_0x2ba844(0x23f)](_0x34f1d8[_0x2ba844(0x49d)]['UNIVER_SHEET'])[_0x2ba844(0x2f9)](_0x385e00[_0x2ba844(0x2cd)](this[_0x2ba844(0x230)]))[_0x2ba844(0x47a)](async _0x27c9be=>{const _0x5cc37c=_0x2ba844,_0x57a82a=_0x27c9be['getUnitId'](),_0x228715=await this[_0x5cc37c(0x346)](_0x57a82a);this[_0x5cc37c(0x355)][_0x5cc37c(0x396)](_0x228715),this[_0x5cc37c(0x273)][_0x5cc37c(0x386)](_0x57a82a,_0x228715);}),this[_0x2ba844(0x31f)][_0x2ba844(0x23f)](_0x34f1d8['UniverInstanceType']['UNIVER_DOC'])[_0x2ba844(0x2f9)](_0x385e00[_0x2ba844(0x2cd)](this[_0x2ba844(0x230)]))[_0x2ba844(0x2f9)](_0x385e00[_0x2ba844(0x276)](_0x411a97=>!_0x411a97[_0x2ba844(0x20e)]()['startsWith']('__')))[_0x2ba844(0x47a)](async _0x2c39c5=>{const _0x1dec4c=_0x2ba844,_0x289565=_0x2c39c5[_0x1dec4c(0x20e)](),_0x2c4398=await this['_startDocCollabCursor'](_0x289565);this[_0x1dec4c(0x355)]['next'](_0x2c4398),this['_entities'][_0x1dec4c(0x386)](_0x289565,_0x2c4398);}),_0x385e00[_0x2ba844(0x3a7)](this['_univerInstanceService']['getTypeOfUnitDisposed$'](_0x34f1d8[_0x2ba844(0x49d)][_0x2ba844(0x211)]),this[_0x2ba844(0x31f)][_0x2ba844(0x209)](_0x34f1d8[_0x2ba844(0x49d)][_0x2ba844(0x371)]))[_0x2ba844(0x2f9)](_0x385e00[_0x2ba844(0x2cd)](this['dispose$']))[_0x2ba844(0x47a)](_0x3881aa=>{const _0x4350ef=_0x2ba844,_0x3a67d2=_0x3881aa[_0x4350ef(0x20e)](),_0x5ac723=this[_0x4350ef(0x273)][_0x4350ef(0x2b5)](_0x3a67d2);_0x5ac723&&(_0x5ac723[_0x4350ef(0x486)](),this['_entities'][_0x4350ef(0x280)](_0x3a67d2));});}async[_0x369468(0x346)](_0x3e3e01){const _0x5c7b80=_0x369468,_0xdb4bdf=await this[_0x5c7b80(0x3ba)][_0x5c7b80(0x49f)](_0x3e3e01),_0x462d4a=this[_0x5c7b80(0x483)][_0x5c7b80(0x231)](_0x3df2b4,_0x3e3e01,_0xdb4bdf);return _0x462d4a[_0x5c7b80(0x1fa)](),_0x462d4a;}async[_0x369468(0x1f5)](_0xea9f2e){const _0x29a03c=_0x369468,_0x4508ad=await this[_0x29a03c(0x3ba)][_0x29a03c(0x49f)](_0xea9f2e),_0x13bbe7=this['_injector']['createInstance'](_0x4a437f,_0xea9f2e,_0x4508ad);return _0x13bbe7[_0x29a03c(0x1fa)](),_0x13bbe7;}};_0x531216=_0x431955([_0x5ab2df(0x0,_0x34f1d8[_0x369468(0x236)]),_0x5ab2df(0x1,_0x34f1d8[_0x369468(0x2db)](_0x34f1d8[_0x369468(0x341)])),_0x5ab2df(0x2,_0x34f1d8['Inject'](_0x19bf42[_0x369468(0x474)]))],_0x531216);const _0x1bae0c=0x14,_0x201f59=0xc8,_0x328e9d=0x4,_0x595b29=0x5;function _0x1fddc0(_0x3ad1bc,_0x1ef21d){const _0x225a69=_0x369468;let {radius:_0x1cb8bc,width:_0x6f021a,height:_0x51896e}=_0x1ef21d;_0x1cb8bc=_0x1cb8bc!=null?_0x1cb8bc:0x0,_0x6f021a=_0x6f021a!=null?_0x6f021a:0x1e,_0x51896e=_0x51896e!=null?_0x51896e:0x1e;let _0xa6fd18=0x0,_0x30fb81=0x0,_0x121bb3=0x0;_0xa6fd18=_0x30fb81=_0x121bb3=Math[_0x225a69(0x467)](_0x1cb8bc,_0x6f021a/0x2,_0x51896e/0x2),_0x3ad1bc[_0x225a69(0x375)](),_0x3ad1bc[_0x225a69(0x4c2)](_0xa6fd18,0x0),_0x3ad1bc[_0x225a69(0x282)](_0x6f021a-_0x30fb81,0x0),_0x3ad1bc[_0x225a69(0x32a)](_0x6f021a-_0x30fb81,_0x30fb81,_0x30fb81,Math['PI']*0x3/0x2,0x0,!0x1),_0x3ad1bc[_0x225a69(0x282)](_0x6f021a,_0x51896e-_0x121bb3),_0x3ad1bc[_0x225a69(0x32a)](_0x6f021a-_0x121bb3,_0x51896e-_0x121bb3,_0x121bb3,0x0,Math['PI']/0x2,!0x1),_0x3ad1bc[_0x225a69(0x282)](0x0,_0x51896e),_0x3ad1bc[_0x225a69(0x282)](0x0,_0xa6fd18),_0x3ad1bc[_0x225a69(0x32a)](_0xa6fd18,_0xa6fd18,_0xa6fd18,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x3ad1bc[_0x225a69(0x3f4)](),_0x1ef21d['fill']&&(_0x3ad1bc[_0x225a69(0x48f)](),_0x3ad1bc[_0x225a69(0x4ae)]=_0x1ef21d[_0x225a69(0x208)],_0x1ef21d['fillRule']===_0x225a69(0x316)?_0x3ad1bc['fill']('evenodd'):_0x3ad1bc[_0x225a69(0x208)](),_0x3ad1bc['restore']());}class _0x2a5a24 extends _0x20bbd1[_0x369468(0x3c2)]{constructor(_0xddd4cc,_0x475cbb){const _0x2301e9=_0x369468;super(_0xddd4cc,_0x475cbb),_0x45ff9b(this,_0x2301e9(0x226)),_0x45ff9b(this,_0x2301e9(0x44a)),(this[_0x2301e9(0x226)]=_0x475cbb==null?void 0x0:_0x475cbb['color'],this[_0x2301e9(0x44a)]=_0x475cbb==null?void 0x0:_0x475cbb['text']);}static['drawWith'](_0x57178c,_0x28d687){const _0x42d2a8=_0x369468,{text:_0x2c3b73,color:_0x42e40a}=_0x28d687;_0x57178c[_0x42d2a8(0x48f)](),_0x57178c['font']=_0x42d2a8(0x295);const _0x5e5f2a=_0x57178c['measureText'](_0x2c3b73)[_0x42d2a8(0x202)],_0x16fb21=Math[_0x42d2a8(0x467)](_0x5e5f2a+0x2*_0x328e9d,_0x201f59);_0x1fddc0(_0x57178c,{'height':_0x1bae0c,'radius':0x4,'width':_0x16fb21,'fill':_0x42e40a}),_0x57178c['fillStyle']='#FFF';const _0x138353=_0x328e9d,_0x460701=_0x1bae0c-_0x595b29,_0x2e1e53=_0x201f59-0x2*_0x328e9d;if(_0x5e5f2a>_0x2e1e53){let _0x4c3257='',_0x4bb3ce=0x0;for(const _0x6986ba of _0x2c3b73){const _0x2ff72a=_0x57178c[_0x42d2a8(0x26f)](_0x6986ba)[_0x42d2a8(0x202)];if(_0x4bb3ce+_0x2ff72a<=_0x2e1e53-_0x57178c[_0x42d2a8(0x26f)](_0x42d2a8(0x34e))[_0x42d2a8(0x202)])_0x4c3257+=_0x6986ba,_0x4bb3ce+=_0x2ff72a;else{_0x4c3257+='...';break;}}_0x57178c[_0x42d2a8(0x39c)](_0x4c3257,_0x138353,_0x460701);}else _0x57178c[_0x42d2a8(0x39c)](_0x2c3b73,_0x138353,_0x460701);_0x57178c[_0x42d2a8(0x36c)]();}[_0x369468(0x3b4)](_0x59b42b){const _0x351dae=_0x369468;_0x2a5a24[_0x351dae(0x440)](_0x59b42b,this);}}const _0x388361=_0x369468(0x412),_0x1e7f75='collab-text-range-',_0x4b1022=_0x369468(0x261),_0x247b28=0x6,_0x1cdbb9=1.5,_0x3c4d17=0x4,_0x4202ac=1.5,_0x5ccd48=_0x369468(0x28d);class _0x2e9b47{constructor(_0x569719,_0x2249fd,_0xe008ec,_0x2a543e){const _0x27fc21=_0x369468;_0x45ff9b(this,_0x27fc21(0x308),[]),_0x45ff9b(this,_0x27fc21(0x3da),null),_0x45ff9b(this,_0x27fc21(0x35e),null),_0x45ff9b(this,_0x27fc21(0x28c),null),_0x45ff9b(this,_0x27fc21(0x312),null),_0x45ff9b(this,'_eventUnsubscribe',null),(this[_0x27fc21(0x4ce)]=_0x569719,this[_0x27fc21(0x454)]=_0x2249fd,this[_0x27fc21(0x2b9)]=_0xe008ec,this[_0x27fc21(0x37f)]=_0x2a543e,this[_0x27fc21(0x2c3)]());}set[_0x369468(0x48d)](_0xb86691){const _0x560d09=_0x369468;_0xb86691?(this[_0x560d09(0x28c)]&&this['_anchorDot'][_0x560d09(0x289)](),this['_textBubble']&&this[_0x560d09(0x35e)]['show']()):(this['_anchorDot']&&this[_0x560d09(0x28c)][_0x560d09(0x475)](),this[_0x560d09(0x35e)]&&this['_textBubble']['hide']());}[_0x369468(0x486)](){const _0xe14c19=_0x369468;for(const _0x52aa80 of this[_0xe14c19(0x308)])_0x52aa80[_0xe14c19(0x486)]();this[_0xe14c19(0x35e)]&&this[_0xe14c19(0x35e)][_0xe14c19(0x486)](),this[_0xe14c19(0x28c)]&&this[_0xe14c19(0x28c)]['dispose'](),this[_0xe14c19(0x3da)]&&this[_0xe14c19(0x3da)][_0xe14c19(0x486)](),this[_0xe14c19(0x317)]&&this[_0xe14c19(0x317)]();}[_0x369468(0x2c3)](){const _0x5571f3=_0x369468;var _0x1f7656;const {_docSkeleton:_0x1691d7,_document:_0x384ad8}=this,{color:_0x478ad0,name:_0x1bd755,ranges:_0x4a8a11}=this[_0x5571f3(0x4ce)],_0x3ecd3e=_0x384ad8[_0x5571f3(0x254)](),{docsLeft:_0x268113,docsTop:_0x4cbddd}=_0x3ecd3e,_0x50eff3=new _0x47a231[(_0x5571f3(0x44d))](_0x3ecd3e,_0x1691d7);for(const {startOffset:_0x431bc4,endOffset:_0x30e9de,rangeType:_0x353fcb,segmentId:_0x27dee6,segmentPage:_0x3f6ac4,collapsed:_0x2b3a07,isActive:_0x48eec8}of _0x4a8a11){const _0x13eeab=_0x1691d7['findNodePositionByCharIndex'](_0x431bc4,!0x0,_0x27dee6,_0x3f6ac4);let _0x332606=_0x1691d7[_0x5571f3(0x43f)](_0x30e9de,!0x0,_0x27dee6,_0x3f6ac4);if(_0x332606==null&&(_0x332606=_0x1691d7[_0x5571f3(0x43f)](_0x30e9de-0x1,!0x1,_0x27dee6,_0x3f6ac4)),_0x48eec8){const {contentBoxPointGroup:_0x328e07}=_0x50eff3[_0x5571f3(0x287)](_0x332606,_0x332606);if(_0x328e07['length']===0x0)continue;this['_drawAnchor'](_0x478ad0,_0x328e07,_0x268113,_0x4cbddd,_0x1bd755),this[_0x5571f3(0x317)]=this[_0x5571f3(0x3ad)]();}if(_0x13eeab&&_0x332606){if(_0x353fcb===_0x34f1d8[_0x5571f3(0x451)][_0x5571f3(0x34d)]){const _0x149aa3=new _0x47a231[(_0x5571f3(0x4b7))](_0x3ecd3e,_0x1691d7),{pointGroup:_0x1b275a}=(_0x1f7656=_0x149aa3[_0x5571f3(0x287)](_0x13eeab,_0x332606))!=null?_0x1f7656:{};if(_0x1b275a==null||_0x1b275a[_0x5571f3(0x411)]===0x0)continue;this['_drawRectRange'](_0x478ad0,_0x1b275a,_0x268113,_0x4cbddd);}else{if(!_0x2b3a07){const {borderBoxPointGroup:_0x405c24}=_0x50eff3[_0x5571f3(0x287)](_0x13eeab,_0x332606);if(_0x405c24[_0x5571f3(0x411)]===0x0)continue;this[_0x5571f3(0x24e)](_0x478ad0,_0x405c24,_0x268113,_0x4cbddd);}}}}}[_0x369468(0x2cf)](_0x48f3df,_0x293b1c,_0x1eb1af,_0x19bfc1,_0x3f6f1d){const _0x2313e4=_0x369468,_0x4ad8a3=this[_0x2313e4(0x2df)](_0x293b1c),{left:_0x4c8bf0,top:_0x29c0d2,height:_0x49d5ca}=_0x4ad8a3,_0x5b6dc4=this[_0x2313e4(0x3be)](),_0x51c1a9=_0x4202ac/_0x5b6dc4,_0x208755=new _0x20bbd1[(_0x2313e4(0x2be))](_0x388361+_0x34f1d8[_0x2313e4(0x464)](_0x247b28),{'left':_0x4c8bf0+_0x1eb1af-_0x51c1a9,'top':_0x29c0d2+_0x19bfc1,'height':_0x49d5ca,'width':_0x1cdbb9,'fill':_0x48f3df||_0x20bbd1[_0x2313e4(0x2c6)](_0x34f1d8[_0x2313e4(0x2f4)][_0x2313e4(0x480)],0x0),'strokeWidth':_0x51c1a9,'stroke':_0x5ccd48,'evented':!0x0});this['_anchor']=_0x208755,this['_scene']['addObject'](_0x208755,_0x47a231['TEXT_RANGE_LAYER_INDEX']);const _0x3f18b7=new _0x20bbd1[(_0x2313e4(0x2be))](_0x388361+_0x34f1d8['generateRandomId'](_0x247b28),{'left':_0x4c8bf0+_0x1eb1af-_0x51c1a9,'top':_0x29c0d2+_0x19bfc1-_0x3c4d17/0x2,'height':_0x3c4d17,'width':_0x3c4d17,'fill':_0x48f3df||_0x20bbd1[_0x2313e4(0x2c6)](_0x34f1d8[_0x2313e4(0x2f4)][_0x2313e4(0x480)],0x0),'strokeWidth':0x0,'stroke':_0x48f3df||_0x20bbd1['getColor'](_0x34f1d8[_0x2313e4(0x2f4)][_0x2313e4(0x480)],0x0),'evented':!0x1});this[_0x2313e4(0x28c)]=_0x3f18b7,this[_0x2313e4(0x454)]['addObject'](_0x3f18b7,_0x47a231['TEXT_RANGE_LAYER_INDEX']);const _0x5701e9=new _0x2a5a24(_0x388361+_0x34f1d8[_0x2313e4(0x464)](_0x247b28),{'left':_0x4c8bf0+_0x1eb1af-_0x51c1a9,'top':_0x29c0d2+_0x19bfc1-_0x1bae0c,'text':_0x3f6f1d,'color':_0x48f3df});this[_0x2313e4(0x35e)]=_0x5701e9,this[_0x2313e4(0x454)][_0x2313e4(0x427)](_0x5701e9,_0x47a231['TEXT_RANGE_LAYER_INDEX']),this[_0x2313e4(0x48d)]=!0x1;}['_handleHover'](){const _0x39363e=_0x369468,_0x227d92=this[_0x39363e(0x3da)][_0x39363e(0x281)][_0x39363e(0x3b0)](()=>{const _0x489d70=_0x39363e;this[_0x489d70(0x48d)]=!0x0;}),_0x298828=this[_0x39363e(0x3da)][_0x39363e(0x212)][_0x39363e(0x3b0)](()=>{const _0x10b5e6=_0x39363e;this[_0x10b5e6(0x312)]&&clearTimeout(this[_0x10b5e6(0x312)]),this[_0x10b5e6(0x312)]=setTimeout(()=>{this['_hover']=!0x1;},0x7d0);});return()=>{const _0xe20b8d=_0x39363e;_0x227d92[_0xe20b8d(0x419)](),_0x298828[_0xe20b8d(0x419)]();};}[_0x369468(0x24e)](_0x1d153d,_0x11c899,_0x45bdac,_0x496abd){const _0x3c7aed=_0x369468,_0x4a85e3=new _0x34f1d8[(_0x3c7aed(0x305))](_0x1d153d)[_0x3c7aed(0x2e5)](0.2)[_0x3c7aed(0x285)](),_0x113902=new _0x20bbd1['RegularPolygon'](_0x1e7f75+_0x34f1d8[_0x3c7aed(0x464)](_0x247b28),{'pointsGroup':_0x11c899,'fill':_0x4a85e3||_0x20bbd1[_0x3c7aed(0x2c6)](_0x34f1d8['COLORS'][_0x3c7aed(0x480)],0.2),'left':_0x45bdac,'top':_0x496abd,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x3c7aed(0x308)][_0x3c7aed(0x258)](_0x113902),this[_0x3c7aed(0x454)][_0x3c7aed(0x427)](_0x113902,_0x47a231[_0x3c7aed(0x3fb)]);}['_drawRectRange'](_0x1c1942,_0x3652f7,_0x279fdb,_0x4e5f94){const _0x140ad0=_0x369468,_0xcbda95=new _0x34f1d8[(_0x140ad0(0x305))](_0x1c1942)['setAlpha'](0.2)[_0x140ad0(0x285)](),_0x293a7a=new _0x20bbd1[(_0x140ad0(0x2fc))](_0x4b1022+_0x34f1d8[_0x140ad0(0x464)](_0x247b28),{'pointsGroup':_0x3652f7,'fill':_0xcbda95||_0x20bbd1[_0x140ad0(0x2c6)](_0x34f1d8['COLORS'][_0x140ad0(0x480)],0.2),'left':_0x279fdb,'top':_0x4e5f94,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x140ad0(0x308)][_0x140ad0(0x258)](_0x293a7a),this[_0x140ad0(0x454)]['addObject'](_0x293a7a,_0x47a231['TEXT_RANGE_LAYER_INDEX']);}['_getAnchorBounding'](_0x5616fd){const _0xb61dfb=_0x5616fd[0x0],_0x3495fd=_0xb61dfb[0x0],_0x5ebb65=_0xb61dfb[0x2],{x:_0x8176dd,y:_0x3cd027}=_0x3495fd,{x:_0x4adfda,y:_0x3438fd}=_0x5ebb65;return{'left':_0x8176dd,'top':_0x3cd027,'width':_0x4adfda-_0x8176dd,'height':_0x3438fd-_0x3cd027};}[_0x369468(0x3be)](){const _0xe680ac=_0x369468,{scaleX:_0x59c40c,scaleY:_0x5e9ef2}=this[_0xe680ac(0x454)][_0xe680ac(0x3f9)]();return Math[_0xe680ac(0x313)](_0x59c40c,_0x5e9ef2);}}var _0x31cfa5=Object[_0x369468(0x40f)],_0x277652=(_0x45e215,_0x25c4b6,_0x9cdcf2,_0x11a5c0)=>{const _0x113a7e=_0x369468;for(var _0xe9b6e9=_0x11a5c0>0x1?void 0x0:_0x11a5c0?_0x31cfa5(_0x25c4b6,_0x9cdcf2):_0x25c4b6,_0x363149=_0x45e215[_0x113a7e(0x411)]-0x1,_0x27bd72;_0x363149>=0x0;_0x363149--)(_0x27bd72=_0x45e215[_0x363149])&&(_0xe9b6e9=_0x27bd72(_0xe9b6e9)||_0xe9b6e9);return _0xe9b6e9;},_0x5a0ac0=(_0x26d0a0,_0x1c328c)=>(_0x4b2aa5,_0x35430f)=>_0x1c328c(_0x4b2aa5,_0x35430f,_0x26d0a0);let _0x331e0b=class extends _0x34f1d8['RxDisposable']{constructor(_0xe1d07,_0x373dc2,_0x253d64,_0xe740df,_0x3e3739){const _0x2d1bb7=_0x369468;super(),_0x45ff9b(this,_0x2d1bb7(0x1f2),[]),_0x45ff9b(this,_0x2d1bb7(0x22a),[]),(this[_0x2d1bb7(0x298)]=_0xe1d07,this[_0x2d1bb7(0x296)]=_0x373dc2,this[_0x2d1bb7(0x343)]=_0x253d64,this[_0x2d1bb7(0x33f)]=_0xe740df,this[_0x2d1bb7(0x348)]=_0x3e3739,this[_0x2d1bb7(0x2b0)]());}[_0x369468(0x2b0)](){const _0x525f30=_0x369468,_0x2aa7ff=this[_0x525f30(0x298)][_0x525f30(0x41d)],_0x3f77fe=this[_0x525f30(0x296)];this[_0x525f30(0x2d9)](_0x385e00[_0x525f30(0x4bb)]([this[_0x525f30(0x343)]['getCollabCursors$'](_0x2aa7ff),this['_themeService']['currentTheme$']])['pipe'](_0x345861[_0x525f30(0x2ce)](([_0x43151f,_0x39ef06])=>({'skeleton':_0x3f77fe['getSkeleton'](),'cursors':[..._0x43151f[_0x525f30(0x48a)]()][_0x525f30(0x2a1)](_0x51132e=>({..._0x51132e,'color':this[_0x525f30(0x348)][_0x525f30(0x422)](_0x51132e[_0x525f30(0x226)])}))})))[_0x525f30(0x47a)](_0x2da73f=>{const _0x489a4b=_0x525f30;if(this['_removeCollabCursors'](),_0x2da73f){const {skeleton:_0x15e808,cursors:_0x1778f9}=_0x2da73f;this[_0x489a4b(0x3d8)](_0x15e808,_0x1778f9);}})),this['_initResize'](),this[_0x525f30(0x2c5)]();}[_0x369468(0x3d8)](_0x2a9d35,_0x483036){const _0x192c3a=_0x369468,{scene:_0x42f560,mainComponent:_0x177a0d}=this[_0x192c3a(0x298)],_0x562a39=_0x483036['map'](_0x1ef7b0=>new _0x2e9b47(_0x1ef7b0,_0x42f560,_0x2a9d35,_0x177a0d));this[_0x192c3a(0x1f2)]=_0x562a39,this[_0x192c3a(0x22a)]=_0x483036;}[_0x369468(0x4a4)](){const _0x117170=_0x369468;this[_0x117170(0x435)]();const {scene:_0x1726a2,mainComponent:_0x491eb5}=this[_0x117170(0x298)],_0x2f2013=this['_docSkeletonManagerService'][_0x117170(0x47e)](),_0x4f37e3=this[_0x117170(0x22a)][_0x117170(0x2ce)](_0x469e2a=>new _0x2e9b47(_0x469e2a,_0x1726a2,_0x2f2013,_0x491eb5));this[_0x117170(0x1f2)]=_0x4f37e3;}[_0x369468(0x435)](){const _0xc21f40=_0x369468;this[_0xc21f40(0x1f2)][_0xc21f40(0x336)](_0x107a15=>_0x107a15[_0xc21f40(0x486)]()),this[_0xc21f40(0x1f2)]=[];}['_initCommandExecutedListener'](){const _0x24e17a=_0x369468,_0xd7e7f=[_0x47a231[_0x24e17a(0x25f)]['id']];this['disposeWithMe'](this['_commandService'][_0x24e17a(0x2f2)](_0x592807=>{const _0x4fb93c=_0x24e17a;_0xd7e7f['includes'](_0x592807['id'])&&_0x592807['params']['unitId']===this['_context'][_0x4fb93c(0x41d)]&&this[_0x4fb93c(0x4a4)]();}));}['_initResize'](){const _0x5b112e=_0x369468;this[_0x5b112e(0x2d9)](_0x34f1d8['fromEventSubject'](this[_0x5b112e(0x298)]['engine'][_0x5b112e(0x394)])[_0x5b112e(0x2f9)](_0x345861[_0x5b112e(0x276)](_0x4b3bba=>_0x4b3bba[_0x5b112e(0x395)]===_0x20bbd1['TRANSFORM_CHANGE_OBSERVABLE_TYPE'][_0x5b112e(0x34a)]),_0x345861[_0x5b112e(0x3d0)](0x10))['subscribe'](()=>{this['_refreshCollabCursors']();}));}};_0x331e0b=_0x277652([_0x5a0ac0(0x1,_0x34f1d8[_0x369468(0x2db)](_0x49d9c8[_0x369468(0x482)])),_0x5a0ac0(0x2,_0x34f1d8['Inject'](_0x531216)),_0x5a0ac0(0x3,_0x34f1d8[_0x369468(0x499)]),_0x5a0ac0(0x4,_0x34f1d8['Inject'](_0x34f1d8[_0x369468(0x220)]))],_0x331e0b);const _0x4dfb5e=0x1,_0x5073e3=1.5;class _0x2b0016 extends _0x20bbd1[_0x369468(0x3c2)]{constructor(_0x4ecade,_0x2af31d){const _0x905ac9=_0x369468;super(_0x4ecade,_0x2af31d),_0x45ff9b(this,'_color'),_0x45ff9b(this,_0x905ac9(0x327),!0x1),_0x45ff9b(this,_0x905ac9(0x401)),_0x45ff9b(this,_0x905ac9(0x222),''),_0x45ff9b(this,_0x905ac9(0x490),_0x905ac9(0x3bc)),_0x45ff9b(this,_0x905ac9(0x1f7)),(_0x2af31d&&this[_0x905ac9(0x4aa)](_0x2af31d),this[_0x905ac9(0x281)][_0x905ac9(0x3b0)](()=>this[_0x905ac9(0x4aa)]({'hovered':!0x0})),this[_0x905ac9(0x212)][_0x905ac9(0x3b0)](()=>this[_0x905ac9(0x4aa)]({'hovered':!0x1})));}[_0x369468(0x4aa)](_0x2318d5){const _0x56a44b=_0x369468;var _0x500f5a,_0x44fbfc,_0x352430,_0x451db2,_0x4320df,_0x5a91bc;this['_color']=(_0x500f5a=_0x2318d5[_0x56a44b(0x226)])!=null?_0x500f5a:this[_0x56a44b(0x39d)],this[_0x56a44b(0x327)]=(_0x44fbfc=_0x2318d5[_0x56a44b(0x32b)])!=null?_0x44fbfc:this[_0x56a44b(0x327)],this[_0x56a44b(0x401)]=(_0x352430=_0x2318d5[_0x56a44b(0x472)])!=null?_0x352430:this[_0x56a44b(0x401)],this[_0x56a44b(0x222)]=(_0x451db2=_0x2318d5[_0x56a44b(0x330)])!=null?_0x451db2:this[_0x56a44b(0x222)],this[_0x56a44b(0x490)]=(_0x4320df=_0x2318d5[_0x56a44b(0x1fe)])!=null?_0x4320df:this[_0x56a44b(0x490)],this[_0x56a44b(0x1f7)]=(_0x5a91bc=_0x2318d5[_0x56a44b(0x3fe)])!=null?_0x5a91bc:this['_backgroundColor'],this[_0x56a44b(0x29f)]({'width':_0x2318d5['width'],'height':_0x2318d5[_0x56a44b(0x2d4)]});}[_0x369468(0x242)](_0x36fe16){const _0x84b848=_0x369468,{row:_0x19f158,column:_0x118b4f}=_0x36fe16;if(_0x19f158>=this['_range']['startRow']&&_0x19f158<=this['_range']['endRow']&&_0x118b4f>=this[_0x84b848(0x401)][_0x84b848(0x430)]&&_0x118b4f<=this['_range']['endColumn']){this[_0x84b848(0x4aa)]({'hovered':!0x0});return;}this[_0x84b848(0x4aa)]({'hovered':!0x1});}['triggerDblclick'](_0x44522c){return!0x1;}['_draw'](_0x5dc94e){const _0x2e3960=_0x369468;_0x20bbd1[_0x2e3960(0x2be)]['drawWith'](_0x5dc94e,{'width':this[_0x2e3960(0x202)],'height':this[_0x2e3960(0x2d4)],'strokeWidth':_0x5073e3,'stroke':this[_0x2e3960(0x39d)],'evented':!0x1,'fill':this['_backgroundColor']}),this['_hovered']&&(_0x5dc94e[_0x2e3960(0x48f)](),_0x5dc94e['transform'](0x1,0x0,0x0,0x1,this[_0x2e3960(0x202)],this[_0x2e3960(0x490)]==='bottom'?0x0:-_0x1bae0c),_0x2a5a24['drawWith'](_0x5dc94e,{'text':this[_0x2e3960(0x222)],'color':this['_color']}),_0x5dc94e['restore']());}}var _0x3f303a=Object[_0x369468(0x40f)],_0x8edae7=(_0x4f8633,_0x13f46e,_0x28074a,_0x108fa8)=>{const _0x13bf64=_0x369468;for(var _0x50a8a7=_0x108fa8>0x1?void 0x0:_0x108fa8?_0x3f303a(_0x13f46e,_0x28074a):_0x13f46e,_0x25d196=_0x4f8633[_0x13bf64(0x411)]-0x1,_0x5f2554;_0x25d196>=0x0;_0x25d196--)(_0x5f2554=_0x4f8633[_0x25d196])&&(_0x50a8a7=_0x5f2554(_0x50a8a7)||_0x50a8a7);return _0x50a8a7;},_0x36e14e=(_0x305bed,_0x59e9fa)=>(_0x3dda08,_0x316af1)=>_0x59e9fa(_0x3dda08,_0x316af1,_0x305bed);const _0x5ba77d=0x1389;let _0x48b586=class extends _0x34f1d8[_0x369468(0x204)]{constructor(_0xd3ecbf,_0x125038,_0x3c546f,_0x4cba35){const _0x610b56=_0x369468;super(),_0x45ff9b(this,_0x610b56(0x22a),new Set()),_0x45ff9b(this,_0x610b56(0x496),null),(this[_0x610b56(0x298)]=_0xd3ecbf,this[_0x610b56(0x3bb)]=_0x125038,this[_0x610b56(0x343)]=_0x3c546f,this['_themeService']=_0x4cba35,this[_0x610b56(0x2b0)]());}[_0x369468(0x2b0)](){const _0x44b519=_0x369468;this[_0x44b519(0x3bb)]['currentSkeleton$'][_0x44b519(0x2f9)](_0x345861['takeUntil'](this[_0x44b519(0x230)]),_0x345861[_0x44b519(0x3cd)](_0x3ff5c1=>{const _0x30f3fb=_0x44b519;if(_0x3ff5c1){const _0x16d3f5=_0x3ff5c1[_0x30f3fb(0x33b)];return _0x385e00[_0x30f3fb(0x4bb)](this[_0x30f3fb(0x343)][_0x30f3fb(0x2f3)](this[_0x30f3fb(0x298)][_0x30f3fb(0x41d)]),this[_0x30f3fb(0x348)][_0x30f3fb(0x2a0)])[_0x30f3fb(0x2f9)](_0x345861[_0x30f3fb(0x2ce)](([_0x11d637,_0x5d0ab7])=>{const _0x15a955=_0x30f3fb,_0x11b52b=new Map();return _0x11d637[_0x15a955(0x336)]((_0x53d779,_0x3b5e1b)=>{const _0x18ef87=_0x15a955;if(_0x53d779[_0x18ef87(0x377)]===_0x16d3f5){const _0x220588={..._0x53d779};_0x220588[_0x18ef87(0x226)]=this['_themeService']['getColorFromTheme'](_0x53d779[_0x18ef87(0x226)]),_0x11b52b[_0x18ef87(0x386)](_0x3b5e1b,_0x220588);}}),{'skeleton':_0x3ff5c1,'cursors':_0x11b52b};}));}return _0x385e00['of']({'skeleton':null,'cursors':new Map()});}))[_0x44b519(0x47a)](({skeleton:_0x474c7d,cursors:_0x371371})=>{const _0x4e2ffd=_0x44b519;this['_removeCollabCursors'](),_0x474c7d&&this[_0x4e2ffd(0x3d8)](_0x474c7d,_0x371371);}),this[_0x44b519(0x3bb)]['currentSkeleton$'][_0x44b519(0x47a)](_0x1ad44b=>{const _0x1f8faa=_0x44b519;if(_0x1ad44b==null)return;const {skeleton:_0x2e4bab}=_0x1ad44b,{scene:_0x1f112e}=this[_0x1f8faa(0x298)];_0x1f112e[_0x1f8faa(0x49a)][_0x1f8faa(0x3b0)](_0x34f1d8['debounce'](_0x3a1fba=>{const _0x338296=_0x1f8faa;var _0x358a57,_0x475abc;const {offsetX:_0x194ff0,offsetY:_0x45e156}=_0x3a1fba,{x:_0x1dc6e6,y:_0x2afbde}=_0x1f112e[_0x338296(0x4c7)](_0x20bbd1[_0x338296(0x20a)][_0x338296(0x495)]([_0x194ff0,_0x45e156])),{scaleX:_0x3833bd,scaleY:_0x3bee62}=_0x1f112e[_0x338296(0x3f9)](),_0x38c1c5=_0x1f112e['getViewport'](_0x20bbd1[_0x338296(0x2e6)][_0x338296(0x3c5)]),_0x56da59=_0x1f112e[_0x338296(0x42b)](_0x20bbd1[_0x338296(0x20a)]['FromArray']([_0x1dc6e6,_0x2afbde]),_0x38c1c5),_0x4e5041=_0x2e4bab[_0x338296(0x251)](_0x194ff0,_0x45e156,_0x3833bd,_0x3bee62,_0x56da59);((_0x358a57=this['_lastPointer'])==null?void 0x0:_0x358a57['column'])===_0x4e5041[_0x338296(0x200)]&&((_0x475abc=this[_0x338296(0x496)])==null?void 0x0:_0x475abc[_0x338296(0x442)])===_0x4e5041[_0x338296(0x442)]||this[_0x338296(0x22a)][_0x338296(0x336)](_0x7630a5=>{_0x7630a5['onMouseMove'](_0x4e5041);});},0x64));});}[_0x369468(0x3d8)](_0x1dca38,_0x36a6f1){const _0x39bf2b=_0x369468;var _0x47cbe0;const _0x354b0f=(_0x47cbe0=this['_sheetSkeletonManagerService'][_0x39bf2b(0x3dc)]())==null?void 0x0:_0x47cbe0['skeleton'];if(!_0x354b0f)return;const _0x574b87=this['_getSheetObject']();if(!_0x574b87)return;this[_0x39bf2b(0x22a)][_0x39bf2b(0x336)](_0x339d9b=>{const _0x696be4=_0x39bf2b;_0x339d9b[_0x696be4(0x2de)]();});const {scene:_0x175a4e}=_0x574b87,_0x265eac=_0x7f6700(Array[_0x39bf2b(0x415)](_0x36a6f1[_0x39bf2b(0x48a)]()))[_0x39bf2b(0x2ce)](_0x3f3043=>{const _0x23afc9=_0x39bf2b,{color:_0x1d37fe,range:_0x4e5037,name:_0x16ff93,selection:_0x2d622b,sheetID:_0x3136e8}=_0x3f3043,{startColumn:_0x34ecc6,startRow:_0x32acbb,endColumn:_0x143f9c,endRow:_0x57cfb2}=_0x4e5037,_0x3fbf36=_0x4d9d5f[_0x23afc9(0x4b1)](_0x32acbb,_0x34ecc6,_0x175a4e,_0x354b0f),_0x398857=_0x4d9d5f[_0x23afc9(0x4b1)](_0x57cfb2,_0x143f9c,_0x175a4e,_0x354b0f),{columnHeaderHeightAndMarginTop:_0x5f4001}=_0x354b0f,{startX:_0x337b7e,startY:_0x137a3f}=_0x3fbf36,{endX:_0x4e99da,endY:_0xac4d8}=_0x398857,_0x3bd053=_0x4e99da-_0x337b7e,_0x3d8748=_0xac4d8-_0x137a3f,_0x3db473={'labelPosition':_0x137a3f-_0x5f4001>=_0x1bae0c?_0x23afc9(0x3bc):_0x23afc9(0x347),'sheetID':_0x3136e8,'range':_0x4e5037,'color':_0x1d37fe,'name':_0x16ff93,'selection':_0x2d622b,'left':_0x337b7e,'top':_0x137a3f,'width':_0x3bd053,'height':_0x3d8748,'evented':!0x1,'zIndex':_0x5ba77d};return new _0x2b0016(_0x16ff93,_0x3db473);});_0x175a4e[_0x39bf2b(0x3e3)](_0x265eac,_0x4dfb5e),this[_0x39bf2b(0x22a)]=new Set(_0x265eac);}[_0x369468(0x435)](){const _0x2f1c8b=_0x369468;var _0x2d8a1f;(_0x2d8a1f=this[_0x2f1c8b(0x22a)])==null||_0x2d8a1f[_0x2f1c8b(0x336)](_0x5d8b70=>_0x5d8b70[_0x2f1c8b(0x486)]());}['_getSheetObject'](){return _0x4d9d5f['getSheetObject'](this['_context']['unit'],this['_context']);}};_0x48b586=_0x8edae7([_0x36e14e(0x1,_0x34f1d8[_0x369468(0x2db)](_0x4d9d5f['SheetSkeletonManagerService'])),_0x36e14e(0x2,_0x34f1d8[_0x369468(0x2db)](_0x531216)),_0x36e14e(0x3,_0x34f1d8[_0x369468(0x2db)](_0x34f1d8[_0x369468(0x220)]))],_0x48b586);function _0x7f6700(_0x8a7686){const _0x42145d=_0x369468,_0x5e390a=new Map();return _0x8a7686[_0x42145d(0x336)](_0x272eb4=>{const _0x1defcd=_0x42145d;if(_0x5e390a[_0x1defcd(0x48b)](_0x272eb4[_0x1defcd(0x43b)])){const _0x54b452=_0x5e390a[_0x1defcd(0x2b5)](_0x272eb4[_0x1defcd(0x43b)]);_0x54b452[_0x1defcd(0x330)]+=',\x20'+_0x272eb4[_0x1defcd(0x330)];}else _0x5e390a[_0x1defcd(0x386)](_0x272eb4[_0x1defcd(0x43b)],_0x272eb4);}),Array[_0x42145d(0x415)](_0x5e390a[_0x42145d(0x48a)]());}var _0x3f951f=Object[_0x369468(0x40f)],_0x3968fd=(_0x428cef,_0x335f24,_0x3863fd,_0x2081d8)=>{const _0x4baa1f=_0x369468;for(var _0x134b83=_0x2081d8>0x1?void 0x0:_0x2081d8?_0x3f951f(_0x335f24,_0x3863fd):_0x335f24,_0x18d569=_0x428cef[_0x4baa1f(0x411)]-0x1,_0x379530;_0x18d569>=0x0;_0x18d569--)(_0x379530=_0x428cef[_0x18d569])&&(_0x134b83=_0x379530(_0x134b83)||_0x134b83);return _0x134b83;},_0x5a98af=(_0x35e722,_0x19208e)=>(_0x339081,_0xdbc9e)=>_0x19208e(_0x339081,_0xdbc9e,_0x35e722);let _0x37e1d9=class extends _0x34f1d8[_0x369468(0x3ac)]{constructor(_0x476d5d,_0x4bf57a,_0x36797a,_0x116f8a,_0x409434,_0x3c6bec){const _0x2b2e1c=_0x369468;super(),this[_0x2b2e1c(0x402)]=_0x476d5d,this[_0x2b2e1c(0x485)]=_0x4bf57a,this[_0x2b2e1c(0x1e9)]=_0x36797a,this[_0x2b2e1c(0x378)]=_0x116f8a,this[_0x2b2e1c(0x2e4)]=_0x409434,this[_0x2b2e1c(0x3b8)]=_0x3c6bec,this['_setupBeforeClosingHandler'](),this[_0x2b2e1c(0x279)]();}[_0x369468(0x423)](){const _0x308e7f=_0x369468;this[_0x308e7f(0x2d9)](this[_0x308e7f(0x402)]['registerBeforeClose'](()=>{const _0x36538a=_0x308e7f;if(this[_0x36538a(0x485)][_0x36538a(0x321)][_0x36538a(0x3df)])return this['_localeService']['t'](_0x36538a(0x393));}));}[_0x369468(0x279)](){const _0x36018d=_0x369468;this[_0x36018d(0x2d9)](this[_0x36018d(0x1e9)][_0x36018d(0x2ff)][_0x36018d(0x47a)](_0x17d29a=>{const _0x5a831a=_0x36018d;_0x17d29a['id']===_0x19bf42['CollaborationUIEventId'][_0x5a831a(0x2a5)]&&this[_0x5a831a(0x378)][_0x5a831a(0x475)]({'type':_0x1dffd2[_0x5a831a(0x2e2)][_0x5a831a(0x4d3)],'content':this['_localeService']['t'](_0x5a831a(0x303))}),_0x17d29a['id']===_0x19bf42['CollaborationUIEventId'][_0x5a831a(0x421)]&&this[_0x5a831a(0x378)][_0x5a831a(0x475)]({'type':_0x1dffd2[_0x5a831a(0x2e2)][_0x5a831a(0x4d3)],'content':this[_0x5a831a(0x3b8)]['t'](_0x5a831a(0x1fd))}),_0x17d29a['id']===_0x19bf42['CollaborationUIEventId']['PERMISSION_DENIED']&&this[_0x5a831a(0x2e4)][_0x5a831a(0x475)]({'title':this[_0x5a831a(0x3b8)]['t'](_0x5a831a(0x403)),'content':this[_0x5a831a(0x3b8)]['t'](_0x5a831a(0x4cf)),'type':_0x5a831a(0x22b),'duration':0x0}),_0x17d29a['id']===_0x19bf42[_0x5a831a(0x290)][_0x5a831a(0x263)]&&this[_0x5a831a(0x378)][_0x5a831a(0x475)]({'type':_0x1dffd2['MessageType'][_0x5a831a(0x366)],'content':this[_0x5a831a(0x3b8)]['t'](_0x5a831a(0x1fd))+'('+_0x17d29a['data']+')'}),_0x17d29a['id']===_0x19bf42['CollaborationUIEventId'][_0x5a831a(0x3f8)]&&this[_0x5a831a(0x378)][_0x5a831a(0x475)]({'type':_0x1dffd2[_0x5a831a(0x2e2)][_0x5a831a(0x4d3)],'content':this['_localeService']['t'](_0x17d29a[_0x5a831a(0x227)]||'')}),_0x17d29a['id']===_0x19bf42[_0x5a831a(0x290)][_0x5a831a(0x3fd)]&&this[_0x5a831a(0x378)][_0x5a831a(0x475)]({'type':_0x1dffd2[_0x5a831a(0x2e2)]['Warning'],'content':this[_0x5a831a(0x3b8)]['t']('session.will-retry')}),_0x17d29a['id']===_0x19bf42['CollaborationUIEventId'][_0x5a831a(0x3e9)]&&this[_0x5a831a(0x378)][_0x5a831a(0x475)]({'type':_0x1dffd2['MessageType']['Error'],'content':this[_0x5a831a(0x3b8)]['t']('session.connection-failed')}),_0x17d29a['id']===_0x19bf42['CollaborationUIEventId']['SUBMIT_CHANGESET_TIMEOUT']&&this[_0x5a831a(0x378)][_0x5a831a(0x475)]({'type':_0x1dffd2[_0x5a831a(0x2e2)]['Error'],'content':this[_0x5a831a(0x3b8)]['t'](_0x5a831a(0x45b))});}));}};_0x37e1d9=_0x3968fd([_0x5a98af(0x0,_0x2d6b7e[_0x369468(0x36e)]),_0x5a98af(0x1,_0x19bf42[_0x369468(0x3c0)]),_0x5a98af(0x2,_0x34f1d8[_0x369468(0x2db)](_0x19bf42['CollaborationUIEventService'])),_0x5a98af(0x3,_0x2d6b7e['IMessageService']),_0x5a98af(0x4,_0x2d6b7e[_0x369468(0x2d7)]),_0x5a98af(0x5,_0x34f1d8[_0x369468(0x2db)](_0x34f1d8[_0x369468(0x33e)]))],_0x37e1d9);var _0x2ada6b=Object[_0x369468(0x40f)],_0x500dd4=(_0x573268,_0xaa6252,_0xf0b1dd,_0x175a31)=>{const _0x123933=_0x369468;for(var _0x5ec8ce=_0x175a31>0x1?void 0x0:_0x175a31?_0x2ada6b(_0xaa6252,_0xf0b1dd):_0xaa6252,_0x53a512=_0x573268[_0x123933(0x411)]-0x1,_0x15ab6a;_0x53a512>=0x0;_0x53a512--)(_0x15ab6a=_0x573268[_0x53a512])&&(_0x5ec8ce=_0x15ab6a(_0x5ec8ce)||_0x5ec8ce);return _0x5ec8ce;},_0x208d06=(_0x48863e,_0x331a7b)=>(_0x52a92c,_0x58d4e6)=>_0x331a7b(_0x52a92c,_0x58d4e6,_0x48863e);let _0x2dc5fe=class extends _0x34f1d8['Disposable']{constructor(_0x3e88b4,_0x3592d9,_0x33a8f2,_0x1afb38){const _0x18f5de=_0x369468;super(),_0x45ff9b(this,_0x18f5de(0x2c2)),(this[_0x18f5de(0x483)]=_0x3e88b4,this['_httpService']=_0x3592d9,this['_logService']=_0x33a8f2,this[_0x18f5de(0x420)]=_0x1afb38,this[_0x18f5de(0x2b0)]());}[_0x369468(0x2b0)](){const _0x32d4a8=_0x369468;this['_initWindowErrorListener'](),this[_0x32d4a8(0x4cb)](),this[_0x32d4a8(0x438)](),this[_0x32d4a8(0x2b8)]();}[_0x369468(0x2b8)](){const _0x2372fa=_0x369468;this[_0x2372fa(0x2d9)](this[_0x2372fa(0x420)][_0x2372fa(0x4a2)][_0x2372fa(0x47a)](_0x2e3666=>{const _0x457bf9=_0x2372fa;this[_0x457bf9(0x2c2)]=_0x2e3666==null?void 0x0:_0x2e3666[_0x457bf9(0x26d)];}));}[_0x369468(0x203)](){const _0x23656c=_0x369468,_0xb99326=_0x5d02b1=>{const _0x4229e6=_0x1c91;var _0x553ce9;this['_uploadLog'](_0x4229e6(0x22b),_0x4229e6(0x458)+_0x5d02b1[_0x4229e6(0x358)]+_0x4229e6(0x28e)+_0x5d02b1[_0x4229e6(0x3de)]+':'+_0x5d02b1[_0x4229e6(0x43d)]+':'+_0x5d02b1[_0x4229e6(0x444)]+'\x0a'+(((_0x553ce9=_0x5d02b1[_0x4229e6(0x22b)])==null?void 0x0:_0x553ce9['stack'])||''));};window[_0x23656c(0x49c)](_0x23656c(0x22b),_0xb99326),this[_0x23656c(0x2d9)](()=>{const _0x3044d0=_0x23656c;window[_0x3044d0(0x252)](_0x3044d0(0x22b),_0xb99326);});}['_initUnhandledRejectionListener'](){const _0x334c22=_0x369468,_0xe058d4=_0x5592cb=>{const _0x17d6e7=_0x1c91;this[_0x17d6e7(0x379)]('error',_0x17d6e7(0x3dd)+_0x5592cb[_0x17d6e7(0x3ce)]);};window[_0x334c22(0x49c)](_0x334c22(0x3b3),_0xe058d4),this['disposeWithMe'](()=>{const _0x3d71e9=_0x334c22;window[_0x3d71e9(0x252)]('unhandledrejection',_0xe058d4);});}[_0x369468(0x438)](){const _0x561afe=_0x369468,_0x3e59df=this[_0x561afe(0x274)]['error']['bind'](this[_0x561afe(0x274)]);this[_0x561afe(0x274)][_0x561afe(0x22b)]=(..._0x1725e0)=>{const _0x4b9d6d=_0x561afe,_0x6fb806=_0x1725e0[_0x4b9d6d(0x2ce)](_0x4b8fc2=>_0x4b8fc2 instanceof Error?_0x4b8fc2['message']+'\x0a'+_0x4b8fc2[_0x4b9d6d(0x3fc)]:String(_0x4b8fc2))[_0x4b9d6d(0x43a)]('\x20');this[_0x4b9d6d(0x379)](_0x4b9d6d(0x22b),_0x4b9d6d(0x235)+_0x6fb806),_0x3e59df(..._0x1725e0);},this[_0x561afe(0x2d9)](()=>{const _0x4a96a5=_0x561afe;this['_logService'][_0x4a96a5(0x22b)]=_0x3e59df;});}[_0x369468(0x379)](_0xd1f2a2,_0x5709e8){const _0x3225bf=_0x369468;try{const _0x3940d8={'userId':this[_0x3225bf(0x2c2)],'logLabel':_0xd1f2a2,'content':_0x5709e8};this[_0x3225bf(0x42f)][_0x3225bf(0x4be)]('/universer-api/frontend/logs',{'body':_0x3940d8})['catch'](()=>{});}catch{}}};_0x2dc5fe=_0x500dd4([_0x208d06(0x0,_0x34f1d8['Inject'](_0x34f1d8[_0x369468(0x341)])),_0x208d06(0x1,_0x34f1d8[_0x369468(0x2db)](_0x22f61a[_0x369468(0x22c)])),_0x208d06(0x2,_0x34f1d8[_0x369468(0x425)]),_0x208d06(0x3,_0x34f1d8['Inject'](_0x19bf42[_0x369468(0x474)]))],_0x2dc5fe);const _0x425a0b='collaboration-client-ui.config',_0x1a0903={};var _0x42f1d6=Object['getOwnPropertyDescriptor'],_0x4d5319=(_0x31b088,_0x506732,_0x4a8228,_0x584fb8)=>{const _0x1f31a1=_0x369468;for(var _0x22d541=_0x584fb8>0x1?void 0x0:_0x584fb8?_0x42f1d6(_0x506732,_0x4a8228):_0x506732,_0x9c7826=_0x31b088[_0x1f31a1(0x411)]-0x1,_0x3eb36d;_0x9c7826>=0x0;_0x9c7826--)(_0x3eb36d=_0x31b088[_0x9c7826])&&(_0x22d541=_0x3eb36d(_0x22d541)||_0x22d541);return _0x22d541;},_0x56c8cb=(_0x5c5294,_0x254448)=>(_0x425ef0,_0x14f73f)=>_0x254448(_0x425ef0,_0x14f73f,_0x5c5294);let _0x5bfd19=class{constructor(_0x15f882,_0x5b4455){const _0x2940c4=_0x369468;this['_transformService']=_0x15f882,this[_0x2940c4(0x300)]=_0x5b4455;}['transformIMECache'](_0x299950){const _0x3d92db=_0x369468;this[_0x3d92db(0x4b0)](_0x299950),this[_0x3d92db(0x229)](_0x299950);}[_0x369468(0x215)](_0x4c2ed6){const _0x35473c=_0x369468,{unitID:_0x448bf1}=_0x4c2ed6,_0x2ca823=this['_renderManagerService'][_0x35473c(0x46d)](_0x448bf1)[_0x35473c(0x441)](_0x47a231[_0x35473c(0x443)]),{redoCache:_0x41cf23}=_0x2ca823['getUndoRedoMutationParamsCache']();if(_0x41cf23[_0x35473c(0x411)]===0x0)return _0x4c2ed6;let _0x13defe=_0x34f1d8[_0x35473c(0x315)]['deepClone'](_0x4c2ed6[_0x35473c(0x247)][0x0]);for(let _0xa57173=0x0;_0xa57173<_0x41cf23[_0x35473c(0x411)];_0xa57173++){const _0x4087ea={'id':'doc.mutation.rich-text-editing','params':{..._0x41cf23[_0xa57173]}},_0x4e701b=this['_transformService'][_0x35473c(0x21e)](_0x13defe,_0x4087ea,!0x1);if(_0x40c5dd[_0x35473c(0x29b)](_0x4e701b))throw _0x4e701b[_0x35473c(0x22b)];_0x13defe=_0x4e701b['m1Prime'];}return{..._0x34f1d8[_0x35473c(0x315)][_0x35473c(0x36f)](_0x4c2ed6),'mutations':[_0x13defe]};}['_transformUndoRedoStack'](_0x387602){const _0x2c4751=_0x369468,{unitID:_0x43beed}=_0x387602,_0x47261f=this[_0x2c4751(0x300)][_0x2c4751(0x46d)](_0x43beed)['with'](_0x47a231[_0x2c4751(0x443)]),{undoCache:_0x1bd47c,redoCache:_0x409f2c}=_0x47261f[_0x2c4751(0x3e4)]();if(_0x1bd47c[_0x2c4751(0x411)]===0x0||_0x409f2c[_0x2c4751(0x411)]===0x0)return;const _0x1723d7=[],_0x859fb3=[];let _0x378c1d=_0x34f1d8['Tools'][_0x2c4751(0x36f)](_0x387602['mutations'][0x0]),_0x200425=_0x34f1d8[_0x2c4751(0x315)]['deepClone'](_0x387602[_0x2c4751(0x247)][0x0]);for(let _0x3b22ab=_0x1bd47c[_0x2c4751(0x411)]-0x1;_0x3b22ab>=0x0;_0x3b22ab--){const _0x5b1ea3={'id':'doc.mutation.rich-text-editing','params':{..._0x1bd47c[_0x3b22ab]}},_0x2fe512={'id':_0x2c4751(0x489),'params':{..._0x409f2c[_0x3b22ab]}},_0x1df416=this[_0x2c4751(0x413)][_0x2c4751(0x21e)](_0x378c1d,_0x5b1ea3,!0x1),_0x2916f3=this[_0x2c4751(0x413)][_0x2c4751(0x21e)](_0x200425,_0x2fe512,!0x1);if(_0x40c5dd['isTransformMutationFailure'](_0x1df416))throw _0x1df416['error'];if(_0x40c5dd[_0x2c4751(0x29b)](_0x2916f3))throw _0x2916f3[_0x2c4751(0x22b)];_0x1723d7[_0x2c4751(0x1ec)](_0x1df416[_0x2c4751(0x3b1)][_0x2c4751(0x42e)]),_0x859fb3[_0x2c4751(0x1ec)](_0x2916f3[_0x2c4751(0x3b1)]['params']),_0x378c1d=_0x1df416[_0x2c4751(0x4ad)],_0x200425=_0x2916f3['m1Prime'];}_0x47261f[_0x2c4751(0x3f7)]({'undoCache':_0x1723d7,'redoCache':_0x859fb3});}[_0x369468(0x229)](_0x5dfb76){const _0x3a5ffa=_0x369468,{unitID:_0x1b7e06}=_0x5dfb76,_0x200cc4=this[_0x3a5ffa(0x300)]['getRenderById'](_0x1b7e06)[_0x3a5ffa(0x441)](_0x47a231[_0x3a5ffa(0x443)]),_0x1375eb=_0x200cc4[_0x3a5ffa(0x3f5)]();if(_0x1375eb==null)return;const _0x43747f=[{'id':_0x3a5ffa(0x489),'params':{'unitId':_0x5dfb76[_0x3a5ffa(0x33d)],'actions':null,'textRanges':[_0x1375eb]}}],_0x4994c2=this[_0x3a5ffa(0x413)][_0x3a5ffa(0x1fc)](_0x5dfb76,_0x43747f);if(!_0x40c5dd[_0x3a5ffa(0x3f2)](_0x4994c2))throw _0x4994c2[_0x3a5ffa(0x22b)];const _0x3b8197=_0x4994c2[_0x3a5ffa(0x3b1)][0x0][_0x3a5ffa(0x42e)]['textRanges'];Array[_0x3a5ffa(0x3c7)](_0x3b8197)&&_0x3b8197['length']&&_0x200cc4[_0x3a5ffa(0x41e)](_0x3b8197[0x0]);}};_0x5bfd19=_0x4d5319([_0x56c8cb(0x0,_0x40c5dd[_0x369468(0x246)]),_0x56c8cb(0x1,_0x20bbd1['IRenderManagerService'])],_0x5bfd19);var _0x597256=Object[_0x369468(0x40f)],_0x3c99e3=(_0x361d2d,_0x232c9a,_0x13700f,_0x4bbb62)=>{for(var _0x313cbd=_0x4bbb62>0x1?void 0x0:_0x4bbb62?_0x597256(_0x232c9a,_0x13700f):_0x232c9a,_0xe091ec=_0x361d2d['length']-0x1,_0x4d8c80;_0xe091ec>=0x0;_0xe091ec--)(_0x4d8c80=_0x361d2d[_0xe091ec])&&(_0x313cbd=_0x4d8c80(_0x313cbd)||_0x313cbd);return _0x313cbd;},_0x40fc67=(_0x50d29d,_0x22db11)=>(_0x577bbe,_0x5f2a8b)=>_0x22db11(_0x577bbe,_0x5f2a8b,_0x50d29d);let _0x174787=class{constructor(_0x3cb73d,_0x4522c6,_0x5ca012){const _0x2be7cc=_0x369468;this['_injector']=_0x3cb73d,this[_0x2be7cc(0x413)]=_0x4522c6,this[_0x2be7cc(0x340)]=_0x5ca012;}[_0x369468(0x260)](_0x480730){const _0x70e9b5=_0x369468;this[_0x70e9b5(0x3ae)](_0x480730);}[_0x369468(0x215)](_0x307bd2){const _0x5e62b9=_0x369468,{unitID:_0x5542a2}=_0x307bd2,{collaboration:_0x6e7dd0}=this[_0x5e62b9(0x340)][_0x5e62b9(0x4cd)](_0x5542a2);if(_0x6e7dd0['length']===0x0)return _0x307bd2;let _0x39d862=_0x34f1d8[_0x5e62b9(0x315)][_0x5e62b9(0x36f)](_0x307bd2[_0x5e62b9(0x247)][0x0]);for(let _0x410ee9=0x0;_0x410ee9<_0x6e7dd0[_0x5e62b9(0x411)];_0x410ee9++){const _0x7c8b3={'id':_0x5e62b9(0x489),'params':{'unitId':_0x6e7dd0[_0x410ee9]['unitId'],..._0x6e7dd0[_0x410ee9][_0x5e62b9(0x4b2)]}},_0x4403db=this[_0x5e62b9(0x413)]['transformMutation'](_0x39d862,_0x7c8b3,!0x1);if(_0x40c5dd[_0x5e62b9(0x29b)](_0x4403db))throw _0x4403db[_0x5e62b9(0x22b)];_0x39d862=_0x4403db[_0x5e62b9(0x4ad)];}return{..._0x34f1d8['Tools'][_0x5e62b9(0x36f)](_0x307bd2),'mutations':[_0x39d862]};}[_0x369468(0x3ae)](_0x2c7dd5){const _0x123eaf=_0x369468,{unitID:_0xa777a8}=_0x2c7dd5,{history:_0x284546,collaboration:_0x32404e}=this[_0x123eaf(0x340)][_0x123eaf(0x4cd)](_0xa777a8);if(_0x284546[_0x123eaf(0x411)]===0x0&&_0x32404e[_0x123eaf(0x411)]===0x0)return;const _0x48a990=[],_0x29b0b3=[];let _0xb14691=_0x34f1d8[_0x123eaf(0x315)]['deepClone'](_0x2c7dd5[_0x123eaf(0x247)][0x0]),_0x2be295=_0x34f1d8[_0x123eaf(0x315)][_0x123eaf(0x36f)](_0x2c7dd5[_0x123eaf(0x247)][0x0]);for(let _0x227b00=_0x284546[_0x123eaf(0x411)]-0x1;_0x227b00>=0x0;_0x227b00--){const _0x862b72={'id':_0x123eaf(0x489),'params':{'unitId':_0x284546[_0x227b00]['unitId'],..._0x284546[_0x227b00]['undoState']}},_0xd47ebf={'id':_0x123eaf(0x489),'params':{'unitId':_0x284546[_0x227b00][_0x123eaf(0x41d)],..._0x284546[_0x227b00][_0x123eaf(0x4b2)]}},_0x49b3c6=this['_transformService'][_0x123eaf(0x21e)](_0xb14691,_0x862b72,!0x1),_0x597cc3=this[_0x123eaf(0x413)]['transformMutation'](_0x2be295,_0xd47ebf,!0x1);if(_0x40c5dd[_0x123eaf(0x29b)](_0x49b3c6))throw _0x49b3c6[_0x123eaf(0x22b)];if(_0x40c5dd[_0x123eaf(0x29b)](_0x597cc3))throw _0x597cc3[_0x123eaf(0x22b)];_0x48a990['unshift']({..._0x284546[_0x227b00],'undoState':_0x49b3c6['m2Prime'][_0x123eaf(0x42e)],'redoState':_0x597cc3[_0x123eaf(0x3b1)]['params']}),_0xb14691=_0x49b3c6[_0x123eaf(0x4ad)],_0x2be295=_0x597cc3[_0x123eaf(0x4ad)];}_0xb14691=_0x34f1d8[_0x123eaf(0x315)][_0x123eaf(0x36f)](_0x2c7dd5[_0x123eaf(0x247)][0x0]),_0x2be295=_0x34f1d8[_0x123eaf(0x315)][_0x123eaf(0x36f)](_0x2c7dd5[_0x123eaf(0x247)][0x0]);for(let _0x484d36=_0x32404e[_0x123eaf(0x411)]-0x1;_0x484d36>=0x0;_0x484d36--){const _0xb53c45={'id':_0x123eaf(0x489),'params':{'unitId':_0x32404e[_0x484d36][_0x123eaf(0x41d)],..._0x32404e[_0x484d36]['undoState']}},_0x4b9d9d={'id':_0x123eaf(0x489),'params':{'unitId':_0x32404e[_0x484d36][_0x123eaf(0x41d)],..._0x32404e[_0x484d36]['redoState']}},_0x6053ca=this['_transformService'][_0x123eaf(0x21e)](_0xb14691,_0xb53c45,!0x1),_0x31200c=this['_transformService'][_0x123eaf(0x21e)](_0x2be295,_0x4b9d9d,!0x1);if(_0x40c5dd[_0x123eaf(0x29b)](_0x6053ca))throw _0x6053ca[_0x123eaf(0x22b)];if(_0x40c5dd[_0x123eaf(0x29b)](_0x31200c))throw _0x31200c[_0x123eaf(0x22b)];_0x29b0b3['unshift']({..._0x32404e[_0x484d36],'undoState':_0x6053ca[_0x123eaf(0x3b1)][_0x123eaf(0x42e)],'redoState':_0x31200c['m2Prime'][_0x123eaf(0x42e)]}),_0xb14691=_0x6053ca['m1Prime'],_0x2be295=_0x31200c[_0x123eaf(0x4ad)];}this[_0x123eaf(0x340)][_0x123eaf(0x47f)](_0xa777a8,{'history':_0x48a990,'collaboration':_0x29b0b3});}};_0x174787=_0x3c99e3([_0x40fc67(0x0,_0x34f1d8[_0x369468(0x2db)](_0x34f1d8[_0x369468(0x341)])),_0x40fc67(0x1,_0x40c5dd['ITransformService']),_0x40fc67(0x2,_0x34f1d8[_0x369468(0x2db)](_0x47a231['DocStateChangeManagerService']))],_0x174787);var _0x817a97=Object[_0x369468(0x40f)],_0x4d22bd=(_0x51ce9d,_0x4aadad,_0x58db89,_0x273b1c)=>{const _0x461dc7=_0x369468;for(var _0xed486b=_0x273b1c>0x1?void 0x0:_0x273b1c?_0x817a97(_0x4aadad,_0x58db89):_0x4aadad,_0x361fc1=_0x51ce9d[_0x461dc7(0x411)]-0x1,_0x53afe3;_0x361fc1>=0x0;_0x361fc1--)(_0x53afe3=_0x51ce9d[_0x361fc1])&&(_0xed486b=_0x53afe3(_0xed486b)||_0xed486b);return _0xed486b;},_0x5a6b10=(_0x4ef65e,_0x21d29e)=>(_0x3c1b3b,_0x4450f4)=>_0x21d29e(_0x3c1b3b,_0x4450f4,_0x4ef65e);let _0x44503d=class{constructor(_0x1e40f7,_0x1480d6){const _0x39a211=_0x369468;this[_0x39a211(0x483)]=_0x1e40f7,this['_transformService']=_0x1480d6;}[_0x369468(0x23e)](_0x9e45ff){const _0x49160a=_0x369468;var _0x49eccf;const _0x326631=this['_injector']['get'](_0x49d9c8[_0x49160a(0x428)]),_0x53dff8=(_0x49eccf=_0x326631[_0x49160a(0x3d5)]())!=null?_0x49eccf:[];if(_0x53dff8[_0x49160a(0x411)]===0x0)return;const _0x486509=_0x9e45ff['unitID'],_0x7cd4fa=[{'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x486509,'actions':null,'textRanges':_0x53dff8}}],_0x5d22cd=this[_0x49160a(0x413)][_0x49160a(0x1fc)](_0x9e45ff,_0x7cd4fa);if(!_0x40c5dd[_0x49160a(0x3f2)](_0x5d22cd))throw _0x5d22cd['error'];const _0x14b2d3=_0x5d22cd[_0x49160a(0x3b1)][0x0][_0x49160a(0x42e)][_0x49160a(0x234)];Array[_0x49160a(0x3c7)](_0x14b2d3)&&_0x14b2d3['length']&&_0x326631[_0x49160a(0x28f)](_0x14b2d3,{'unitId':_0x486509,'subUnitId':_0x486509},!0x1);}};_0x44503d=_0x4d22bd([_0x5a6b10(0x0,_0x34f1d8[_0x369468(0x2db)](_0x34f1d8[_0x369468(0x341)])),_0x5a6b10(0x1,_0x40c5dd[_0x369468(0x246)])],_0x44503d);var _0x45aa5e=Object[_0x369468(0x40f)],_0x45acfa=(_0x2e2a6f,_0x489dc0,_0xd4dde4,_0x367b95)=>{const _0x432403=_0x369468;for(var _0x1de31c=_0x367b95>0x1?void 0x0:_0x367b95?_0x45aa5e(_0x489dc0,_0xd4dde4):_0x489dc0,_0x342807=_0x2e2a6f[_0x432403(0x411)]-0x1,_0x477058;_0x342807>=0x0;_0x342807--)(_0x477058=_0x2e2a6f[_0x342807])&&(_0x1de31c=_0x477058(_0x1de31c)||_0x1de31c);return _0x1de31c;},_0x529e87=(_0x1a9875,_0x2d8bd9)=>(_0x4c4959,_0x3d5c7a)=>_0x2d8bd9(_0x4c4959,_0x3d5c7a,_0x1a9875);let _0x379dde=class extends _0x34f1d8[_0x369468(0x3ac)]{constructor(_0x397092,_0x51b231,_0x135656,_0x2ca5bd,_0x283d8c,_0x92d012,_0x2d994a,_0x4f17ed){const _0x5702e6=_0x369468;super(),_0x45ff9b(this,_0x5702e6(0x22f),new _0x385e00[(_0x5702e6(0x2e1))](_0x19bf42[_0x5702e6(0x245)][_0x5702e6(0x24b)])),(this[_0x5702e6(0x340)]=_0x397092,this[_0x5702e6(0x43e)]=_0x51b231,this[_0x5702e6(0x239)]=_0x135656,this[_0x5702e6(0x478)]=_0x2ca5bd,this[_0x5702e6(0x3e0)]=_0x283d8c,this[_0x5702e6(0x3cc)]=_0x92d012,this['_messageService']=_0x2d994a,this[_0x5702e6(0x3b8)]=_0x4f17ed,this[_0x5702e6(0x28a)]());}['_initEntityListener'](){const _0x3e9f09=_0x369468;this[_0x3e9f09(0x2d9)](this['_collaborationController'][_0x3e9f09(0x4a8)][_0x3e9f09(0x47a)](_0x4f28e5=>{const _0x1d3f3d=_0x3e9f09,_0x463af7=this[_0x1d3f3d(0x340)][_0x1d3f3d(0x22d)][_0x1d3f3d(0x47a)](_0x767ceb=>{const _0x3be0e3=_0x1d3f3d;if(_0x767ceb==null)return;const {unitId:_0x528a00,redoState:_0xf1c186,commandId:_0x3ad770}=_0x767ceb;if(_0x528a00!==_0x4f28e5[_0x3be0e3(0x33d)])return;const _0x194bdb={'id':_0x3ad770,'type':_0x34f1d8[_0x3be0e3(0x42c)]['MUTATION'],'params':{'unitId':_0x528a00,'actions':_0xf1c186['actions'],'textRanges':null}};_0x4f28e5[_0x3be0e3(0x2d6)](_0x194bdb);});if(_0x4f28e5[_0x1d3f3d(0x2d9)](_0x463af7),_0x4f28e5 instanceof _0x19bf42[_0x1d3f3d(0x392)]){const _0x42cdb6={'onTransformIME':_0x48e809=>this[_0x1d3f3d(0x239)][_0x1d3f3d(0x32d)](_0x48e809),'onTransformState':_0x5b590d=>this[_0x1d3f3d(0x478)][_0x1d3f3d(0x260)](_0x5b590d),'onTransformSelections':_0x569b88=>this[_0x1d3f3d(0x3e0)][_0x1d3f3d(0x23e)](_0x569b88),'onSyncEditingCollabCursor':_0x38aa73=>this[_0x1d3f3d(0x3cc)][_0x1d3f3d(0x27f)](_0x38aa73),'onTransformRemoteChangesetByIMECache':_0x5430d7=>this[_0x1d3f3d(0x239)]['transformRemoteChangeset'](_0x5430d7),'onTransformRemoteChangesetByStateCache':_0x116ccf=>this[_0x1d3f3d(0x478)][_0x1d3f3d(0x215)](_0x116ccf)};_0x4f28e5[_0x1d3f3d(0x24c)](_0x42cdb6);}}));}};_0x379dde=_0x45acfa([_0x529e87(0x0,_0x34f1d8[_0x369468(0x2db)](_0x47a231[_0x369468(0x25d)])),_0x529e87(0x1,_0x34f1d8[_0x369468(0x2db)](_0x19bf42[_0x369468(0x455)])),_0x529e87(0x2,_0x34f1d8[_0x369468(0x2db)](_0x5bfd19)),_0x529e87(0x3,_0x34f1d8[_0x369468(0x2db)](_0x174787)),_0x529e87(0x4,_0x34f1d8['Inject'](_0x44503d)),_0x529e87(0x5,_0x34f1d8[_0x369468(0x2db)](_0xda9f47)),_0x529e87(0x6,_0x2d6b7e[_0x369468(0x35f)]),_0x529e87(0x7,_0x34f1d8[_0x369468(0x2db)](_0x34f1d8[_0x369468(0x33e)]))],_0x379dde);var _0x3fc67b=(_0x5358e9=>(_0x5358e9[_0x5358e9[_0x369468(0x302)]=0x0]='UNDEFINED',_0x5358e9[_0x5358e9['OK']=0x1]='OK',_0x5358e9[_0x5358e9[_0x369468(0x334)]=0x2]='INTERNAL_ERROR',_0x5358e9[_0x5358e9['PERMISSION_DENIED']=0x3]=_0x369468(0x28b),_0x5358e9[_0x5358e9['NOT_FOUND']=0x4]='NOT_FOUND',_0x5358e9[_0x5358e9[_0x369468(0x4a5)]=0x5]='UNAUTHENTICATED',_0x5358e9[_0x5358e9['ALREADY_EXISTS']=0x6]=_0x369468(0x3c8),_0x5358e9[_0x5358e9[_0x369468(0x1f9)]=0x7]=_0x369468(0x1f9),_0x5358e9[_0x5358e9[_0x369468(0x32c)]=0x8]=_0x369468(0x32c),_0x5358e9[_0x5358e9['COMPLETION_FINISHED']=0x9]=_0x369468(0x45e),_0x5358e9[_0x5358e9['LOGIN_FAILED']=0xa]=_0x369468(0x265),_0x5358e9[_0x5358e9[_0x369468(0x39b)]=0xb]='MOBILE_VERIFY_CODE_MISMATCH',_0x5358e9[_0x5358e9[_0x369468(0x2f6)]=0xc]=_0x369468(0x2f6),_0x5358e9[_0x5358e9[_0x369468(0x26b)]=0xd]='EMAIL_VERIFY_CODE_MISMATCH',_0x5358e9[_0x5358e9['EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED']=0xe]='EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED',_0x5358e9[_0x5358e9[_0x369468(0x39e)]=0xf]=_0x369468(0x39e),_0x5358e9[_0x5358e9[_0x369468(0x45a)]=0x10]=_0x369468(0x45a),_0x5358e9[_0x5358e9[_0x369468(0x1ed)]=0x64]=_0x369468(0x1ed),_0x5358e9[_0x5358e9[_0x369468(0x264)]=0x65]=_0x369468(0x264),_0x5358e9[_0x5358e9[_0x369468(0x429)]=0xc9]='USER_NOT_FOUND',_0x5358e9[_0x5358e9[_0x369468(0x325)]=0xca]=_0x369468(0x325),_0x5358e9[_0x5358e9[_0x369468(0x27b)]=0x1389]=_0x369468(0x27b),_0x5358e9[_0x5358e9[_0x369468(0x3c1)]=0x1771]=_0x369468(0x3c1),_0x5358e9[_0x5358e9[_0x369468(0x37b)]=0x1772]='SNAPSHOT_HAS_BEEN_REMOVED',_0x5358e9[_0x5358e9[_0x369468(0x224)]=0x1773]=_0x369468(0x224),_0x5358e9[_0x5358e9[_0x369468(0x40b)]=0x1b59]=_0x369468(0x40b),_0x5358e9[_0x5358e9[_0x369468(0x354)]=0x1b5a]=_0x369468(0x354),_0x5358e9[_0x5358e9[_0x369468(0x397)]=0x1b5b]=_0x369468(0x397),_0x5358e9[_0x5358e9['APPLY_PERMISSION_DENIED']=0x1b5c]=_0x369468(0x331),_0x5358e9[_0x5358e9['APPLY_DUPLICATED']=0x1b5d]='APPLY_DUPLICATED',_0x5358e9[_0x5358e9[_0x369468(0x3e6)]=0x1f41]=_0x369468(0x3e6),_0x5358e9[_0x5358e9[_0x369468(0x3a4)]=0x2329]=_0x369468(0x3a4),_0x5358e9[_0x5358e9[_0x369468(0x46e)]=0x232a]=_0x369468(0x46e),_0x5358e9[_0x5358e9[_0x369468(0x364)]=0x232b]=_0x369468(0x364),_0x5358e9[_0x5358e9[_0x369468(0x465)]=0x232c]=_0x369468(0x465),_0x5358e9[_0x5358e9[_0x369468(0x205)]=0x232d]=_0x369468(0x205),_0x5358e9[_0x5358e9[_0x369468(0x4d2)]=0x2711]='YUUMI_UNABLE_LOAD_URL',_0x5358e9[_0x5358e9[_0x369468(0x244)]=0x2712]='YUUMI_URL_COL_OUT_OF_RANGE',_0x5358e9[_0x5358e9['YUUMI_RATE_OVER_LIMIT']=0x2713]='YUUMI_RATE_OVER_LIMIT',_0x5358e9[_0x5358e9[_0x369468(0x210)]=0x2714]=_0x369468(0x210),_0x5358e9[_0x5358e9['YUUMI_NO_CUBOID_FOR_QUESTION']=0x271a]=_0x369468(0x41a),_0x5358e9[_0x5358e9['YUUMI_ASYNCIO_CANCELLED']=0x271b]=_0x369468(0x256),_0x5358e9[_0x5358e9[_0x369468(0x376)]=0x271c]=_0x369468(0x376),_0x5358e9[_0x5358e9[_0x369468(0x33c)]=0x271d]='YUUMI_ALL_TABLES_IS_INVALID',_0x5358e9[_0x5358e9['YUUMI_PROMPT_MAX_TOKENS_EXCEEDED']=0x271e]='YUUMI_PROMPT_MAX_TOKENS_EXCEEDED',_0x5358e9[_0x5358e9['YUUMI_AI_RUN_FAILED']=0x271f]=_0x369468(0x2a4),_0x5358e9[_0x5358e9[_0x369468(0x26c)]=0x2720]='YUUMI_CONNECTOR_URL_NOT_FOUND',_0x5358e9[_0x5358e9[_0x369468(0x241)]=0x2af9]=_0x369468(0x241),_0x5358e9[_0x5358e9[_0x369468(0x278)]=0x2ee1]=_0x369468(0x278),_0x5358e9[_0x5358e9[_0x369468(0x3d9)]=0x2ee2]=_0x369468(0x3d9),_0x5358e9[_0x5358e9[_0x369468(0x4ca)]=0x2ee3]='INVITE_CODE_REQUIRED',_0x5358e9[_0x5358e9[_0x369468(0x446)]=0x2ee4]=_0x369468(0x446),_0x5358e9[_0x5358e9[_0x369468(0x3ec)]=0x2ee5]=_0x369468(0x3ec),_0x5358e9[_0x5358e9[_0x369468(0x21c)]=0x32c9]=_0x369468(0x21c),_0x5358e9[_0x5358e9[_0x369468(0x27d)]=0x32ca]=_0x369468(0x27d),_0x5358e9[_0x5358e9[_0x369468(0x3eb)]=0x32cb]=_0x369468(0x3eb),_0x5358e9[_0x5358e9['ENTITLE_CAN_NOT_BUY_LOWER_OTP']=0x36b1]=_0x369468(0x374),_0x5358e9[_0x5358e9[_0x369468(0x2b2)]=0x36b2]=_0x369468(0x2b2),_0x5358e9[_0x5358e9[_0x369468(0x23a)]=0x36b3]='ENTITLE_DUP_SUBSCRIPTION',_0x5358e9[_0x5358e9[_0x369468(0x4bf)]=0x36b4]='PAYMENT_CHANNEL_NOT_SUPPORT',_0x5358e9[_0x5358e9[_0x369468(0x4d1)]=0x36b5]=_0x369468(0x4d1),_0x5358e9[_0x5358e9['ENTITLE_COUPON_EXPIRED']=0x36b6]=_0x369468(0x311),_0x5358e9[_0x5358e9[_0x369468(0x1f4)]=0x36b7]=_0x369468(0x1f4),_0x5358e9[_0x5358e9[_0x369468(0x2fb)]=0x36b8]=_0x369468(0x2fb),_0x5358e9[_0x5358e9[_0x369468(0x29d)]=0x3715]=_0x369468(0x29d),_0x5358e9[_0x5358e9[_0x369468(0x44c)]=0x3716]=_0x369468(0x44c),_0x5358e9[_0x5358e9[_0x369468(0x4c3)]=0x3717]='ENTITLE_INSUFFICIENT_QUOTA',_0x5358e9[_0x5358e9[_0x369468(0x29a)]=0x37dd]=_0x369468(0x29a),_0x5358e9[_0x5358e9['REDEMPTION_INVALID_CODE']=0x3a99]=_0x369468(0x477),_0x5358e9[_0x5358e9[_0x369468(0x368)]=0x3a9a]=_0x369468(0x368),_0x5358e9[_0x5358e9['REDEMPTION_CODE_FULLY_REDEEMED']=0x3a9b]=_0x369468(0x4d0),_0x5358e9[_0x5358e9['REDEMPTION_CODE_NOT_STARTED']=0x3a9c]='REDEMPTION_CODE_NOT_STARTED',_0x5358e9[_0x5358e9[_0x369468(0x3aa)]=0x3a9d]=_0x369468(0x3aa),_0x5358e9[_0x5358e9[_0x369468(0x389)]=0x3a9e]=_0x369468(0x389),_0x5358e9[_0x5358e9[_0x369468(0x31c)]=0x3a9f]='REDEMPTION_CODE_HAS_BEEN_CREATED',_0x5358e9[_0x5358e9[_0x369468(0x461)]=0x3e81]=_0x369468(0x461),_0x5358e9[_0x5358e9[_0x369468(0x462)]=-0x1]=_0x369468(0x462),_0x5358e9))(_0x3fc67b||{});function _0x49b20d(_0x186fa5){const _0x23c076=_0x369468;var _0x46ac0a,_0x9e3fc0;const _0x10a965=(_0x46ac0a=_0x186fa5[_0x23c076(0x337)])==null?void 0x0:_0x46ac0a[_0x23c076(0x2fe)],_0x2961f4=((_0x9e3fc0=_0x186fa5[_0x23c076(0x337)])==null?void 0x0:_0x9e3fc0['totalFormulasToCalculate'])||0x0;return _0x10a965===_0x35db63[_0x23c076(0x2d1)][_0x23c076(0x37d)]&&_0x2961f4>0x0;}function _0x210c6b(_0x1c2d23){const _0x518bd7=_0x369468;return _0x1c2d23['functionsExecutedState']===_0x35db63[_0x518bd7(0x3a5)]['SUCCESS'];}var _0x2f8f2b=Object[_0x369468(0x40f)],_0x16cac8=(_0x33cadd,_0x119ae3,_0x39b209,_0x2ec600)=>{const _0x4fe651=_0x369468;for(var _0x4a9e14=_0x2ec600>0x1?void 0x0:_0x2ec600?_0x2f8f2b(_0x119ae3,_0x39b209):_0x119ae3,_0x4de8e5=_0x33cadd[_0x4fe651(0x411)]-0x1,_0x33994a;_0x4de8e5>=0x0;_0x4de8e5--)(_0x33994a=_0x33cadd[_0x4de8e5])&&(_0x4a9e14=_0x33994a(_0x4a9e14)||_0x4a9e14);return _0x4a9e14;},_0x12a3d8=(_0x574948,_0x5bf117)=>(_0x4a3d6f,_0x240d8b)=>_0x5bf117(_0x4a3d6f,_0x240d8b,_0x574948);const _0x366dac='/universer-api/license/formula/limit/status',_0x6c4d91=_0x369468(0x328),_0x861b3d=_0x369468(0x409);let _0xc97bb1=class extends _0x34f1d8[_0x369468(0x3ac)]{constructor(_0x1cd6bb,_0x4f1ff8,_0x7d5e59,_0x4d02a7,_0x4015d5,_0x325a10,_0x3dfb11){const _0x288c08=_0x369468;super(),_0x45ff9b(this,'_pollingInterval',null),_0x45ff9b(this,'_maxFormulaLimit',0x0),_0x45ff9b(this,'_currentUsage',0x0),_0x45ff9b(this,_0x288c08(0x1e8),[]),_0x45ff9b(this,_0x288c08(0x292),0x0),(this[_0x288c08(0x378)]=_0x1cd6bb,this[_0x288c08(0x33f)]=_0x4f1ff8,this[_0x288c08(0x487)]=_0x7d5e59,this[_0x288c08(0x42f)]=_0x4d02a7,this[_0x288c08(0x31f)]=_0x4015d5,this[_0x288c08(0x274)]=_0x325a10,this[_0x288c08(0x3b8)]=_0x3dfb11,this[_0x288c08(0x25c)]());}[_0x369468(0x25c)](){const _0x3697ce=_0x369468;this[_0x3697ce(0x2d9)](this[_0x3697ce(0x33f)][_0x3697ce(0x294)]((_0x3ccda1,_0x6ad66f)=>{const _0x214f96=_0x3697ce;var _0x4f4edd;if(_0x3ccda1['id']!==_0x35db63[_0x214f96(0x2ed)]['id'])return;const _0xccc8ba=_0x3ccda1[_0x214f96(0x42e)];if(!this[_0x214f96(0x214)]((_0x4f4edd=_0xccc8ba['dirtyRanges'])!=null?_0x4f4edd:[]))return;if(!this['_checkCalculationAvailable']())throw this[_0x214f96(0x319)](_0x3ccda1,_0x6ad66f),this[_0x214f96(0x47b)](),new _0x34f1d8[(_0x214f96(0x2b4))]();})),this[_0x3697ce(0x2d9)](this['_commandService']['onCommandExecuted']((_0x531f76,_0x293aa4)=>{const _0x69546=_0x3697ce;if(_0x531f76['id']!==_0x35db63[_0x69546(0x42a)]['id'])return;const _0x4e58ef=_0x531f76[_0x69546(0x42e)];if(_0x49b20d(_0x4e58ef)){const _0x5547aa=_0x34f1d8[_0x69546(0x464)]();this['_taskIds'][_0x69546(0x258)](_0x5547aa),this[_0x69546(0x213)](_0x5547aa);}else{if(_0x210c6b(_0x4e58ef)&&this[_0x69546(0x1e8)][_0x69546(0x411)]>0x0){const _0x127e71=this[_0x69546(0x1e8)][_0x69546(0x43c)]();this['_releaseCalculationLimit'](_0x127e71);}}}));}['dispose'](){const _0x1f9e0e=_0x369468;super[_0x1f9e0e(0x486)](),this['_clearPolling'](),this[_0x1f9e0e(0x1e8)]=[],this[_0x1f9e0e(0x4b5)]=0x0,this[_0x1f9e0e(0x4ac)]=0x0,this[_0x1f9e0e(0x292)]=0x0;}async[_0x369468(0x319)](_0x4b6c61,_0x5339ab){const _0x36cf9f=_0x369468;for(let _0x24ec56=0x0;_0x24ec56<0x1e;_0x24ec56++)try{if(await this[_0x36cf9f(0x206)](),this[_0x36cf9f(0x4a9)]()){this['_applyCommand'](_0x4b6c61,_0x5339ab),this[_0x36cf9f(0x378)][_0x36cf9f(0x475)]({'content':this['_localeService']['t'](_0x36cf9f(0x46a)),'type':_0x1dffd2[_0x36cf9f(0x2e2)][_0x36cf9f(0x322)]});return;}await new Promise(_0x5c94a6=>{const _0x566db6=_0x36cf9f;this['_pollingInterval']=window[_0x566db6(0x4a6)](_0x5c94a6,0x3e8);});}catch(_0x20cac0){this['_logService'][_0x36cf9f(0x22b)](_0x20cac0);}this['_messageService'][_0x36cf9f(0x475)]({'content':this[_0x36cf9f(0x3b8)]['t'](_0x36cf9f(0x359)),'type':_0x1dffd2[_0x36cf9f(0x2e2)][_0x36cf9f(0x366)]});}[_0x369468(0x3cf)](_0x57a693,_0x12f6a9){const _0xd50bb8=_0x369468;try{this['_commandService'][_0xd50bb8(0x49e)](_0x57a693['id'],_0x57a693[_0xd50bb8(0x42e)],_0x12f6a9);}catch(_0x386a05){this[_0xd50bb8(0x274)][_0xd50bb8(0x22b)](_0x386a05);}}[_0x369468(0x262)](_0x1bf107,_0x209d33){const _0x2d5ab2=_0x369468;_0x209d33<this[_0x2d5ab2(0x292)]||(this[_0x2d5ab2(0x292)]=_0x209d33,this['_maxFormulaLimit']=Number[_0x2d5ab2(0x48c)](_0x1bf107[_0x2d5ab2(0x30d)]),this['_currentUsage']=Number[_0x2d5ab2(0x48c)](_0x1bf107[_0x2d5ab2(0x335)]));}async[_0x369468(0x213)](_0xd26321){const _0x17ff88=_0x369468;var _0x446f3c,_0x21146f;const _0x144684=Date[_0x17ff88(0x4b3)]();try{const _0x3014c4=((_0x446f3c=this['_configService']['getConfig'](_0x19bf42[_0x17ff88(0x4af)]))==null?void 0x0:_0x446f3c[_0x17ff88(0x38d)])||_0x6c4d91,_0x18fd48=(await this['_httpService']['post'](_0x3014c4,{'body':JSON[_0x17ff88(0x26e)]({'taskId':_0xd26321})}))['body'];if(((_0x21146f=_0x18fd48[_0x17ff88(0x22b)])==null?void 0x0:_0x21146f[_0x17ff88(0x468)])!==_0x3fc67b['OK'])return;this[_0x17ff88(0x262)](_0x18fd48['limitInfo'],_0x144684);}catch(_0x1d8b79){this[_0x17ff88(0x274)][_0x17ff88(0x22b)](_0x1d8b79);}}async[_0x369468(0x206)](_0x10eb7f){const _0x2dfcef=_0x369468;var _0x2c66a2,_0x385ef6;const _0x1985a8=Date['now']();try{const _0x3c2bf1=((_0x2c66a2=this[_0x2dfcef(0x487)]['getConfig'](_0x19bf42[_0x2dfcef(0x4af)]))==null?void 0x0:_0x2c66a2[_0x2dfcef(0x456)])||_0x366dac,_0x4098fe=_0x10eb7f?_0x3c2bf1+'?taskId='+encodeURIComponent(_0x10eb7f):_0x3c2bf1,_0x1d821c=(await this[_0x2dfcef(0x42f)][_0x2dfcef(0x2b5)](_0x4098fe))[_0x2dfcef(0x233)];if(((_0x385ef6=_0x1d821c[_0x2dfcef(0x22b)])==null?void 0x0:_0x385ef6['code'])!==_0x3fc67b['OK'])return;this['_setFormulaLimitStatus'](_0x1d821c['limitInfo'],_0x1985a8);}catch(_0x179d68){this[_0x2dfcef(0x274)][_0x2dfcef(0x22b)](_0x179d68);}}async[_0x369468(0x400)](_0x7495a5){const _0x26989b=_0x369468;var _0x3399b8,_0x431415;const _0x43c7d5=Date[_0x26989b(0x4b3)]();try{const _0x5375ec=((_0x3399b8=this[_0x26989b(0x487)][_0x26989b(0x324)](_0x19bf42[_0x26989b(0x4af)]))==null?void 0x0:_0x3399b8[_0x26989b(0x342)])||_0x861b3d,_0x97de01=(await this[_0x26989b(0x42f)][_0x26989b(0x4be)](_0x5375ec,{'body':JSON[_0x26989b(0x26e)]({'taskId':_0x7495a5})}))[_0x26989b(0x233)];if(((_0x431415=_0x97de01['error'])==null?void 0x0:_0x431415['code'])!==_0x3fc67b['OK'])return;this['_setFormulaLimitStatus'](_0x97de01[_0x26989b(0x2a3)],_0x43c7d5);}catch(_0x3b1074){this['_logService'][_0x26989b(0x22b)](_0x3b1074);}}['_checkCalculationAvailable'](){const _0x5e682b=_0x369468;return this[_0x5e682b(0x4ac)]===0x0?!0x0:this[_0x5e682b(0x4ac)]-this[_0x5e682b(0x4b5)]>0x0;}[_0x369468(0x306)](){const _0x50bf6e=_0x369468;this[_0x50bf6e(0x3a3)]&&(clearTimeout(this['_pollingInterval']),this[_0x50bf6e(0x3a3)]=null);}[_0x369468(0x47b)](){const _0x4773cf=_0x369468;this[_0x4773cf(0x378)]['show']({'content':this[_0x4773cf(0x3b8)]['t'](_0x4773cf(0x471)),'type':_0x1dffd2[_0x4773cf(0x2e2)]['Loading']});}[_0x369468(0x214)](_0x1ae026){const _0x50f0e0=_0x369468;for(const _0x40bae7 of _0x1ae026){const {unitId:_0x4300d6,sheetId:_0x4eb20e,range:_0x3f926c}=_0x40bae7,_0x53232d=this[_0x50f0e0(0x31f)][_0x50f0e0(0x3f6)](_0x4300d6);if(!_0x53232d)continue;const _0x4db7e3=_0x53232d['getSheetBySheetId'](_0x4eb20e);if(!_0x4db7e3)continue;const _0x2d17ad=_0x4db7e3[_0x50f0e0(0x452)]();for(let _0x56d9aa=_0x3f926c['startRow'];_0x56d9aa<=_0x3f926c[_0x50f0e0(0x3d7)];_0x56d9aa++)for(let _0x205a77=_0x3f926c[_0x50f0e0(0x430)];_0x205a77<=_0x3f926c[_0x50f0e0(0x40d)];_0x205a77++){const _0x180e93=_0x2d17ad['getValue'](_0x56d9aa,_0x205a77);if(_0x180e93&&(_0x34f1d8[_0x50f0e0(0x40a)](_0x180e93['f'])||_0x34f1d8[_0x50f0e0(0x479)](_0x180e93['si'])))return!0x0;}}return!0x1;}};_0xc97bb1=_0x16cac8([_0x12a3d8(0x0,_0x34f1d8[_0x369468(0x2db)](_0x2d6b7e[_0x369468(0x35f)])),_0x12a3d8(0x1,_0x34f1d8[_0x369468(0x499)]),_0x12a3d8(0x2,_0x34f1d8[_0x369468(0x33a)]),_0x12a3d8(0x3,_0x34f1d8[_0x369468(0x2db)](_0x22f61a[_0x369468(0x22c)])),_0x12a3d8(0x4,_0x34f1d8[_0x369468(0x236)]),_0x12a3d8(0x5,_0x34f1d8[_0x369468(0x425)]),_0x12a3d8(0x6,_0x34f1d8['Inject'](_0x34f1d8[_0x369468(0x33e)]))],_0xc97bb1);var _0x3a2491=Object[_0x369468(0x40f)],_0x43b320=(_0x2f3524,_0x2ddf41,_0x5e5135,_0x23e462)=>{const _0x2d31b9=_0x369468;for(var _0x57bcab=_0x23e462>0x1?void 0x0:_0x23e462?_0x3a2491(_0x2ddf41,_0x5e5135):_0x2ddf41,_0x1475cb=_0x2f3524[_0x2d31b9(0x411)]-0x1,_0xbf6cde;_0x1475cb>=0x0;_0x1475cb--)(_0xbf6cde=_0x2f3524[_0x1475cb])&&(_0x57bcab=_0xbf6cde(_0x57bcab)||_0x57bcab);return _0x57bcab;},_0x305ed6=(_0x55526f,_0x405ca5)=>(_0x25e8bf,_0x2b5848)=>_0x405ca5(_0x25e8bf,_0x2b5848,_0x55526f);let _0x4bcff3=class extends _0x34f1d8[_0x369468(0x3ac)]{constructor(_0x5ce1ce,_0x3db02e,_0x2cf508){const _0x4e9395=_0x369468;super(),_0x45ff9b(this,_0x4e9395(0x38c),new Map()),_0x45ff9b(this,_0x4e9395(0x35a),new Map()),_0x45ff9b(this,_0x4e9395(0x44f),!0x1),(this[_0x4e9395(0x487)]=_0x5ce1ce,this['_localStorageService']=_0x3db02e,this[_0x4e9395(0x2d2)]=_0x2cf508);}[_0x369468(0x30a)](){this['_disabled']=!0x0;}['enableLocalCache'](){const _0x440c93=_0x369468;this[_0x440c93(0x44f)]=!0x1;}get[_0x369468(0x321)](){const _0x70e7e4=_0x369468;return this[_0x70e7e4(0x35a)];}[_0x369468(0x486)](){const _0x1aaee0=_0x369468;this['exhaustSavingTask']()[_0x1aaee0(0x3e7)](()=>super['dispose']());}async[_0x369468(0x35d)](_0x43a3c4){const _0xc5e603=_0x369468;return this['_disabled']?null:this[_0xc5e603(0x3ab)][_0xc5e603(0x3f1)](_0x19bf42[_0xc5e603(0x2dc)](_0x43a3c4));}async[_0x369468(0x2bb)](_0x306526,_0x22c2f2){const _0x1f531a=_0x369468;return!!this[_0x1f531a(0x3ab)]['setItem'](_0x306526,_0x22c2f2);}['updateOfflineData'](_0x213fe6,_0x29769f,_0x5cd695,_0x31e367){const _0x498fce=_0x369468,_0x2fca2b=this[_0x498fce(0x2d2)]['getCurrentRevOfUnit'](_0x213fe6);this['_cachedData']['set'](_0x213fe6,{'unitID':_0x213fe6,'type':_0x29769f,'awaitingChangeset':_0x5cd695,'mutations':_0x31e367,'rev':_0x2fca2b}),this[_0x498fce(0x35a)][_0x498fce(0x48b)](_0x213fe6)||this[_0x498fce(0x416)](_0x213fe6);}[_0x369468(0x416)](_0x538e8e){const _0x25c9c1=_0x369468,_0x6069bb=this[_0x25c9c1(0x4b8)]();_0x6069bb===0x0?this['_saveCache'](_0x538e8e):this[_0x25c9c1(0x35a)][_0x25c9c1(0x386)](_0x538e8e,setTimeout(()=>this['_saveCache'](_0x538e8e),_0x6069bb));}['_getSaveTimeout'](){const _0x3f59b3=_0x369468;var _0x2df871;return(_0x2df871=this[_0x3f59b3(0x487)][_0x3f59b3(0x324)](_0x19bf42[_0x3f59b3(0x38e)]))!=null?_0x2df871:_0x19bf42[_0x3f59b3(0x450)];}[_0x369468(0x3a0)](_0x28e391){const _0x89dbe3=_0x369468,_0x3ed28a=this['_saveTaskMap'][_0x89dbe3(0x2b5)](_0x28e391);return _0x3ed28a!==void 0x0&&window[_0x89dbe3(0x1e6)](_0x3ed28a),this['_localStorageService'][_0x89dbe3(0x41c)](_0x19bf42[_0x89dbe3(0x2dc)](_0x28e391),this[_0x89dbe3(0x38c)][_0x89dbe3(0x2b5)](_0x28e391))[_0x89dbe3(0x3e7)](()=>this[_0x89dbe3(0x35a)][_0x89dbe3(0x280)](_0x28e391));}async[_0x369468(0x1ee)](){const _0x46d4=_0x369468,_0x33ae21=[];this[_0x46d4(0x35a)]['forEach']((_0x390a4e,_0x4e44f0)=>{const _0x2f91c2=_0x46d4;window[_0x2f91c2(0x1e6)](_0x390a4e),_0x33ae21['push'](this[_0x2f91c2(0x3a0)](_0x4e44f0)[_0x2f91c2(0x3e7)](()=>{const _0x3bdea3=_0x2f91c2;this[_0x3bdea3(0x35a)][_0x3bdea3(0x280)](_0x4e44f0);}));}),await Promise[_0x46d4(0x2ba)](_0x33ae21);}};_0x4bcff3=_0x43b320([_0x305ed6(0x0,_0x34f1d8[_0x369468(0x33a)]),_0x305ed6(0x1,_0x34f1d8[_0x369468(0x218)]),_0x305ed6(0x2,_0x34f1d8[_0x369468(0x2db)](_0x40c5dd[_0x369468(0x449)]))],_0x4bcff3);class _0x2b6e72 extends _0x34f1d8[_0x369468(0x204)]{constructor(){const _0x304837=_0x369468;super(),_0x45ff9b(this,_0x304837(0x37c)),this[_0x304837(0x37c)]=_0x385e00[_0x304837(0x2c7)](window,_0x304837(0x360))[_0x304837(0x2f9)](_0x385e00[_0x304837(0x2cd)](this[_0x304837(0x230)]),_0x385e00[_0x304837(0x388)](0x1),_0x385e00[_0x304837(0x338)](void 0x0));}[_0x369468(0x25a)](_0x317589,_0x53c3b6,_0x4f4566=!0x1){const _0x41d28c=_0x369468,_0x501dce=new URL(window[_0x41d28c(0x267)][_0x41d28c(0x2ad)]);_0x501dce['searchParams'][_0x41d28c(0x386)](_0x317589,_0x53c3b6),_0x4f4566?window[_0x41d28c(0x2d8)][_0x41d28c(0x38f)]('','',_0x501dce[_0x41d28c(0x45f)]()):window['history'][_0x41d28c(0x4c4)]('','',_0x501dce['toString']());}['removeParam'](_0x41b288,_0x4873d2=!0x1){const _0x300bd7=_0x369468,_0x4c39ed=new URL(window[_0x300bd7(0x267)][_0x300bd7(0x2ad)]);_0x4c39ed[_0x300bd7(0x270)][_0x300bd7(0x280)](_0x41b288),_0x4873d2?window[_0x300bd7(0x2d8)][_0x300bd7(0x38f)]('','',_0x4c39ed['toString']()):window['history'][_0x300bd7(0x4c4)]('','',_0x4c39ed[_0x300bd7(0x45f)]());}[_0x369468(0x4c8)](_0x2bf217){const _0x385147=_0x369468;var _0x23dfb5;return(_0x23dfb5=new URL(window['location']['href'])['searchParams'][_0x385147(0x2b5)](_0x2bf217))!=null?_0x23dfb5:void 0x0;}}var _0x55e6b0=Object['defineProperty'],_0x4fb594=Object[_0x369468(0x40f)],_0x21def5=(_0x4820ed,_0x2455eb,_0x47a0e0)=>_0x2455eb in _0x4820ed?_0x55e6b0(_0x4820ed,_0x2455eb,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x47a0e0}):_0x4820ed[_0x2455eb]=_0x47a0e0,_0x18a028=(_0x53dd2c,_0x4feddc,_0xa2bd09,_0x589254)=>{const _0x5a2edf=_0x369468;for(var _0x1f835d=_0x589254>0x1?void 0x0:_0x589254?_0x4fb594(_0x4feddc,_0xa2bd09):_0x4feddc,_0x43ada2=_0x53dd2c[_0x5a2edf(0x411)]-0x1,_0x5544ba;_0x43ada2>=0x0;_0x43ada2--)(_0x5544ba=_0x53dd2c[_0x43ada2])&&(_0x1f835d=_0x5544ba(_0x1f835d)||_0x1f835d);return _0x1f835d;},_0x321e53=(_0x4564c6,_0x258261)=>(_0x51b5a4,_0xf9212b)=>_0x258261(_0x51b5a4,_0xf9212b,_0x4564c6),_0x2659ae=(_0x163a88,_0x35c179,_0x3b972c)=>_0x21def5(_0x163a88,_0x35c179+'',_0x3b972c);const _0x2dcae8=_0x369468(0x3c3);_0x578c06[_0x369468(0x20d)]=class extends _0x34f1d8[_0x369468(0x2c1)]{constructor(_0x4abac2=_0x1a0903,_0x844801,_0x5a119a,_0x340834){const _0x54e79c=_0x369468;super(),this[_0x54e79c(0x314)]=_0x4abac2,this['_renderManagerService']=_0x844801,this[_0x54e79c(0x483)]=_0x5a119a,this[_0x54e79c(0x487)]=_0x340834;const {..._0x31f28}=_0x34f1d8[_0x54e79c(0x3a7)]({},_0x1a0903,this['_config']);this['_configService'][_0x54e79c(0x370)](_0x425a0b,_0x31f28);}['onStarting'](){const _0x29ac30=_0x369468;this[_0x29ac30(0x1e7)](),this[_0x29ac30(0x21b)]();}[_0x369468(0x372)](){this['_registerRenderDependencies']();}[_0x369468(0x1e7)](){const _0x244339=_0x369468;var _0x57b172;const _0x294834=[[_0x5b42d8],[_0xc97bb1],[_0x44503d],[_0x5bfd19],[_0x174787],[_0xda9f47],[_0x575f53,{'useClass':_0x2b6e72}],[_0x22f61a['ISocketService'],{'useClass':_0x22f61a[_0x244339(0x249)]}],[_0x19bf42['ILocalCacheService'],{'useClass':_0x4bcff3}],[_0x578c06['DesktopCollaborationStatusDisplayController']],[_0x379dde],[_0x37e1d9],[_0x531216],[_0xd32ba6],[_0x578c06[_0x244339(0x3db)]]];this[_0x244339(0x314)]['enableFrontendLog']&&_0x294834[_0x244339(0x258)]([_0x2dc5fe]),_0x34f1d8[_0x244339(0x219)](this[_0x244339(0x483)],_0x34f1d8[_0x244339(0x4c5)](_0x294834,(_0x57b172=this[_0x244339(0x314)])==null?void 0x0:_0x57b172[_0x244339(0x481)]));}[_0x369468(0x232)](){const _0x3a727a=_0x369468;this['disposeWithMe'](this[_0x3a727a(0x300)]['registerRenderModule'](_0x34f1d8['UniverInstanceType'][_0x3a727a(0x211)],[_0x331e0b])),this['disposeWithMe'](this[_0x3a727a(0x300)][_0x3a727a(0x269)](_0x34f1d8[_0x3a727a(0x49d)][_0x3a727a(0x371)],[_0x48b586]));}[_0x369468(0x21b)](){const _0x105554=_0x369468;_0x34f1d8[_0x105554(0x4c6)](this[_0x105554(0x483)],[[_0x531216],[_0x578c06[_0x105554(0x2a7)]],[_0x379dde],[_0x37e1d9],[_0x578c06[_0x105554(0x3db)]],[_0xc97bb1]]),this[_0x105554(0x314)][_0x105554(0x1ef)]&&_0x34f1d8[_0x105554(0x4c6)](this[_0x105554(0x483)],[[_0x2dc5fe]]);}},_0x2659ae(_0x578c06[_0x369468(0x20d)],_0x369468(0x36a),_0x2dcae8),_0x578c06[_0x369468(0x20d)]=_0x18a028([_0x34f1d8[_0x369468(0x255)](_0x19bf42['UniverCollaborationClientPlugin']),_0x321e53(0x1,_0x20bbd1['IRenderManagerService']),_0x321e53(0x2,_0x34f1d8[_0x369468(0x2db)](_0x34f1d8['Injector'])),_0x321e53(0x3,_0x34f1d8[_0x369468(0x33a)])],_0x578c06[_0x369468(0x20d)]);var _0x331d08=Object[_0x369468(0x40f)],_0x2c6c42=(_0x107a56,_0x2e2631,_0x4858e5,_0x527f6b)=>{for(var _0x1209d5=_0x527f6b>0x1?void 0x0:_0x527f6b?_0x331d08(_0x2e2631,_0x4858e5):_0x2e2631,_0x5c168e=_0x107a56['length']-0x1,_0x23de89;_0x5c168e>=0x0;_0x5c168e--)(_0x23de89=_0x107a56[_0x5c168e])&&(_0x1209d5=_0x23de89(_0x1209d5)||_0x1209d5);return _0x1209d5;},_0x35d0c1=(_0x3fe92a,_0x1759b4)=>(_0x4a19f2,_0x281395)=>_0x1759b4(_0x4a19f2,_0x281395,_0x3fe92a);_0x578c06[_0x369468(0x3ff)]=class extends _0x19bf42[_0x369468(0x3d2)]{constructor(_0x11acd1,_0x5e92e9,_0x3d5776,_0x2ba488,_0x5ed28d){super(_0x11acd1,_0x5e92e9,_0x3d5776,_0x2ba488,_0x5ed28d);}async[_0x369468(0x2ac)](_0x310012){const _0x34f1e7=_0x369468,_0x2c3e4e=await this[_0x34f1e7(0x1ea)](),_0x37e066=this[_0x34f1e7(0x32e)](_0x310012,_0x2c3e4e);return this[_0x34f1e7(0x460)](_0x37e066);}['_createSocketURL'](_0x2a171b,_0x5e97ea){const _0x17c527=_0x369468,_0x3811cf=typeof window>'u'?new URL(_0x2a171b):new URL(_0x2a171b,window[_0x17c527(0x267)][_0x17c527(0x497)]);_0x3811cf[_0x17c527(0x270)][_0x17c527(0x386)](_0x17c527(0x385),_0x5e97ea);const _0x46e0eb=typeof window>'u'?new URLSearchParams():new URLSearchParams(window[_0x17c527(0x267)][_0x17c527(0x408)]);return _0x46e0eb[_0x17c527(0x2b5)](_0x17c527(0x3ed))&&_0x3811cf[_0x17c527(0x270)][_0x17c527(0x386)](_0x17c527(0x3ed),_0x46e0eb[_0x17c527(0x2b5)](_0x17c527(0x3ed))),_0x3811cf[_0x17c527(0x45f)]();}async[_0x369468(0x1ea)](){const _0x8eb980=_0x369468;var _0x1fcc7c,_0x3998b5,_0x13f9a3;const _0x2b227c=this['_configService'][_0x8eb980(0x324)](_0x19bf42[_0x8eb980(0x4af)]),_0x513bfb=(_0x1fcc7c=_0x2b227c==null?void 0x0:_0x2b227c[_0x8eb980(0x27c)])!=null?_0x1fcc7c:_0x19bf42[_0x8eb980(0x4b6)];return(_0x13f9a3=(_0x3998b5=(await this[_0x8eb980(0x42f)][_0x8eb980(0x2b5)](_0x513bfb,{'headers':{'Content-Type':_0x8eb980(0x2ea)}}))[_0x8eb980(0x233)])==null?void 0x0:_0x3998b5[_0x8eb980(0x2c4)])!=null?_0x13f9a3:'';}},_0x578c06[_0x369468(0x3ff)]=_0x2c6c42([_0x35d0c1(0x0,_0x34f1d8[_0x369468(0x2db)](_0x34f1d8[_0x369468(0x341)])),_0x35d0c1(0x1,_0x34f1d8[_0x369468(0x2db)](_0x22f61a[_0x369468(0x22c)])),_0x35d0c1(0x2,_0x34f1d8[_0x369468(0x33a)]),_0x35d0c1(0x3,_0x34f1d8[_0x369468(0x425)]),_0x35d0c1(0x4,_0x40c5dd[_0x369468(0x1ff)])],_0x578c06['BrowserCollaborationSocketService']);var _0x52bd7c=Object[_0x369468(0x40f)],_0x2875d4=(_0x51b8ee,_0x43f09d,_0x3551c4,_0x19624c)=>{for(var _0x45cd9e=_0x19624c>0x1?void 0x0:_0x19624c?_0x52bd7c(_0x43f09d,_0x3551c4):_0x43f09d,_0xda098b=_0x51b8ee['length']-0x1,_0x2c24a5;_0xda098b>=0x0;_0xda098b--)(_0x2c24a5=_0x51b8ee[_0xda098b])&&(_0x45cd9e=_0x2c24a5(_0x45cd9e)||_0x45cd9e);return _0x45cd9e;},_0x2833e1=(_0x18e6fb,_0x5b5511)=>(_0x4dc549,_0x1f2cfb)=>_0x5b5511(_0x4dc549,_0x1f2cfb,_0x18e6fb);_0x578c06[_0x369468(0x293)]=class extends _0x34f1d8[_0x369468(0x3ac)]{constructor(_0x4333f2,_0x8f01e3,_0x1d4a16){const _0x547866=_0x369468;super(),this['_instanceService']=_0x4333f2,this[_0x547866(0x42f)]=_0x8f01e3,this[_0x547866(0x487)]=_0x1d4a16;}async[_0x369468(0x362)](_0x2fd518,_0x32f034,_0x2438c4,..._0x219b65){const _0x558d88=_0x369468;var _0x15b8a4,_0x239ad3,_0x2104ef,_0x43a3ae;const _0x129d79=this[_0x558d88(0x238)][_0x558d88(0x221)]();if(!_0x129d79)throw new Error(_0x558d88(0x357));const _0x28e6c0=((_0x15b8a4=this[_0x558d88(0x487)]['getConfig'](_0x19bf42[_0x558d88(0x275)]))!=null?_0x15b8a4:_0x19bf42[_0x558d88(0x35b)])+'/'+_0x2fd518+_0x558d88(0x23d)+_0x32f034,_0x160817=new URL(window[_0x558d88(0x267)][_0x558d88(0x2ad)]),_0x4c1029={'scriptId':_0x2fd518,'runId':(_0x239ad3=_0x160817[_0x558d88(0x270)][_0x558d88(0x2b5)](_0x558d88(0x3ed)))!=null?_0x239ad3:'','function':_0x32f034,'unitId':_0x129d79['getUnitId'](),'argsOfFunction':JSON['stringify'](_0x219b65),'invokeId':(_0x2104ef=_0x2438c4[_0x558d88(0x30b)])!=null?_0x2104ef:'','executionId':(_0x43a3ae=_0x2438c4[_0x558d88(0x431)])!=null?_0x43a3ae:''};try{const _0xe700a1=await this[_0x558d88(0x42f)][_0x558d88(0x4be)](_0x28e6c0,{'body':_0x4c1029});return _0xe700a1[_0x558d88(0x233)][_0x558d88(0x22b)]&&_0xe700a1[_0x558d88(0x233)]['error'][_0x558d88(0x468)]!==_0x3fc67b['OK']?_0x558d88(0x29c):_0xe700a1[_0x558d88(0x233)][_0x558d88(0x35c)];}catch{return _0x558d88(0x29c);}}},_0x578c06[_0x369468(0x293)]=_0x2875d4([_0x2833e1(0x0,_0x34f1d8[_0x369468(0x236)]),_0x2833e1(0x1,_0x34f1d8[_0x369468(0x2db)](_0x22f61a[_0x369468(0x22c)])),_0x2833e1(0x2,_0x34f1d8[_0x369468(0x33a)])],_0x578c06[_0x369468(0x293)]);const _0x2d81ac=0x7530,_0x12eb95=_0x369468(0x398);class _0x9956bd extends _0x34f1d8[_0x369468(0x3ac)]{constructor(){const _0x510800=_0x369468;super(),_0x45ff9b(this,_0x510800(0x25e),_0x34f1d8[_0x510800(0x464)]()),_0x45ff9b(this,_0x510800(0x36d),new Set()),_0x45ff9b(this,_0x510800(0x291),new Map()),_0x45ff9b(this,_0x510800(0x4a7),null),_0x45ff9b(this,_0x510800(0x2e8),new Map()),_0x45ff9b(this,_0x510800(0x390),new Map()),this['_init']();}[_0x369468(0x486)](){const _0x5c0d0f=_0x369468;super['dispose'](),this['_clearOtherTimers'][_0x5c0d0f(0x336)]((_0x1c81e4,_0xbe10e9)=>this[_0x5c0d0f(0x2c8)](_0xbe10e9)),this[_0x5c0d0f(0x4a7)]&&window[_0x5c0d0f(0x24d)](this[_0x5c0d0f(0x4a7)]);}[_0x369468(0x2f5)](_0x258f45){const _0x280215=_0x369468;return this['_ensureSubject'](_0x258f45)[_0x280215(0x2f9)](_0x385e00['distinctUntilChanged']());}['editingUnit'](_0x4ded33){const _0x4c00d8=_0x369468;this[_0x4c00d8(0x36d)][_0x4c00d8(0x3df)]===0x0&&this['_scheduleHeartbeat'](),this['_selfUnitIDs']['add'](_0x4ded33),this[_0x4c00d8(0x2e3)]({'type':0x0,'memberID':this[_0x4c00d8(0x25e)],'unitIDs':[_0x4ded33],'isForwarded':!0x1});}[_0x369468(0x407)](_0x35c7b0){const _0x5490c6=_0x369468;this[_0x5490c6(0x36d)]['delete'](_0x35c7b0),this[_0x5490c6(0x36d)][_0x5490c6(0x3df)]===0x0&&this[_0x5490c6(0x4a7)]&&window[_0x5490c6(0x24d)](this[_0x5490c6(0x4a7)]);}['_init'](){const _0x260c64=_0x369468;this['disposeWithMe'](_0x34f1d8['toDisposable'](_0x385e00[_0x260c64(0x2c7)](window,_0x260c64(0x439))['subscribe'](_0x56888e=>{const _0x426c6f=_0x260c64;if(_0x56888e['key']!==_0x12eb95||!_0x56888e[_0x426c6f(0x225)])return;const _0x2a80de=JSON['parse'](_0x56888e[_0x426c6f(0x225)]);this[_0x426c6f(0x1f6)](_0x2a80de);}))),window[_0x260c64(0x49c)](_0x260c64(0x1f3),()=>this[_0x260c64(0x2e3)]({'type':0x1,'memberID':this[_0x260c64(0x25e)],'unitIDs':Array[_0x260c64(0x415)](this[_0x260c64(0x36d)])}));}[_0x369468(0x1f6)](_0x254ebd){const _0x5939ef=_0x369468;switch(_0x254ebd['type']){case 0x0:this[_0x5939ef(0x320)](_0x254ebd);break;case 0x1:this[_0x5939ef(0x41b)](_0x254ebd);break;case 0x2:this[_0x5939ef(0x2b1)](_0x254ebd);break;}}[_0x369468(0x320)](_0x3503ef){const _0x33a9b3=_0x369468,{unitIDs:_0x199500,memberID:_0x578993,isForwarded:_0x587808}=_0x3503ef;_0x199500[_0x33a9b3(0x336)](_0x3585fc=>{const _0xa0ffda=_0x33a9b3;if(!_0x587808&&this['_unitOnClients'][_0xa0ffda(0x48b)](_0x3585fc)&&this[_0xa0ffda(0x27e)](_0x3585fc)[_0xa0ffda(0x396)](_0x19bf42[_0xa0ffda(0x367)][_0xa0ffda(0x498)]),!this[_0xa0ffda(0x291)]['has'](_0x3585fc)||!this[_0xa0ffda(0x291)][_0xa0ffda(0x2b5)](_0x3585fc)[_0xa0ffda(0x48b)](_0x578993)){const _0x3ca5e8=this['_unitOnClients'][_0xa0ffda(0x2b5)](_0x3585fc)||new Set();_0x3ca5e8['add'](_0x578993),this[_0xa0ffda(0x291)][_0xa0ffda(0x386)](_0x3585fc,_0x3ca5e8),this['_scheduleClearOtherTimer'](_0x578993);}}),_0x587808||this['_send']({'type':0x0,'memberID':this[_0x33a9b3(0x25e)],'unitIDs':[...this[_0x33a9b3(0x36d)]],'isForwarded':!0x0});}['_scheduleClearOtherTimer'](_0x513683){const _0x3359a8=_0x369468;this[_0x3359a8(0x2c8)](_0x513683);const _0x49b36f=window[_0x3359a8(0x4a6)](()=>{const _0x5a713e=_0x3359a8;this[_0x5a713e(0x291)]['forEach'](_0x3f183e=>{const _0x564132=_0x5a713e;_0x3f183e[_0x564132(0x280)](_0x513683);});},_0x2d81ac*0x2);this[_0x3359a8(0x2e8)][_0x3359a8(0x386)](_0x513683,_0x49b36f);}[_0x369468(0x2c8)](_0x4bdb24){const _0x15a43b=_0x369468;if(this[_0x15a43b(0x2e8)][_0x15a43b(0x48b)](_0x4bdb24)){const _0x3536b0=this[_0x15a43b(0x2e8)]['get'](_0x4bdb24);_0x3536b0&&window['clearTimeout'](_0x3536b0),this['_clearOtherTimers'][_0x15a43b(0x386)](_0x4bdb24,null);}}[_0x369468(0x41b)](_0x7691a7){const _0x47fb47=_0x369468,{memberID:_0x2cd336,unitIDs:_0x1347d1}=_0x7691a7;_0x1347d1[_0x47fb47(0x336)](_0x59ee36=>{const _0xc7d5eb=_0x47fb47;var _0x2e12b3;const _0x5e4dc6=this['_unitOnClients']['get'](_0x59ee36);_0x5e4dc6&&(_0x5e4dc6['delete'](_0x2cd336),(_0x2e12b3=this['_ensureSubject'](_0x59ee36))==null||_0x2e12b3[_0xc7d5eb(0x396)](_0x5e4dc6[_0xc7d5eb(0x3df)]===0x0?_0x19bf42[_0xc7d5eb(0x367)][_0xc7d5eb(0x240)]:_0x19bf42['UnitStatus']['OTHER_CLIENTS_EDITING']));}),this[_0x47fb47(0x2c8)](_0x2cd336);}['_handleHeartbeatEvent'](_0x31deda){const _0x3d44b3=_0x369468;this[_0x3d44b3(0x37e)](_0x31deda[_0x3d44b3(0x26d)]);}[_0x369468(0x2e3)](_0x9b9c61){const _0x25601d=_0x369468;localStorage[_0x25601d(0x41c)](_0x12eb95,JSON[_0x25601d(0x26e)](_0x9b9c61));}[_0x369468(0x2a9)](){const _0x3687d2=_0x369468;this[_0x3687d2(0x4a7)]=window['setInterval'](()=>{const _0x3c05d7=_0x3687d2;this[_0x3c05d7(0x2e3)]({'type':0x2,'memberID':this[_0x3c05d7(0x25e)]});},_0x2d81ac);}[_0x369468(0x27e)](_0x5dcb3c){const _0x2f92eb=_0x369468;return this[_0x2f92eb(0x390)][_0x2f92eb(0x48b)](_0x5dcb3c)||this[_0x2f92eb(0x390)]['set'](_0x5dcb3c,new _0x385e00['BehaviorSubject'](_0x19bf42[_0x2f92eb(0x367)][_0x2f92eb(0x240)])),this[_0x2f92eb(0x390)][_0x2f92eb(0x2b5)](_0x5dcb3c);}}_0x578c06[_0x369468(0x2cb)]=_0x575f53,_0x578c06['SheetCollabCursorShape']=_0x2b0016,_0x578c06[_0x369468(0x433)]=_0x9956bd,_0x578c06[_0x369468(0x25b)]=_0x2b6e72,Object[_0x369468(0x432)](_0x578c06,Symbol[_0x369468(0x414)],{'value':_0x369468(0x2af)});}));function _0x1c91(_0x445f5,_0x2e7089){_0x445f5=_0x445f5-0x1e6;const _0x5e565e=_0x5e56();let _0x1c912d=_0x5e565e[_0x445f5];return _0x1c912d;}function _0x5e56(){const _0xfd3415=['USER_NOT_FOUND','SetFormulaCalculationNotificationMutation','getVpScrollXYInfoByPosToVp','CommandType','getUniverSheetInstance','params','_httpService','startColumn','executionId','defineProperty','WebBrowserSingleActiveUnitService','SYNCED','_removeCollabCursors','collabStatus.offline','@univerjs-pro/collaboration-client','_monkeyPatchLogService','storage','join','selection','shift','lineno','_collaborationController','findNodePositionByCharIndex','drawWith','with','row','DocIMEInputManagerService','colno','TEXT','USER_NOT_INVITED_CODE','contains','debug','RevisionService','text','defIds','ENTITLE_REPORT_LIMIT_EXCEED','NodePositionConvertToCursor','off-line-icon_clip0_910_343','_disabled','LOCAL_CACHE_INTERVAL','DOC_RANGE_TYPE','getCellMatrix','948DHgwIF','_scene','CollaborationController','getformulaLimitStatusUrl','on-line-icon','[Window\x20Error]:\x20','@univerjs/engine-formula','LOGIN_TOKEN_PROCESSING_FAILED','session.collaboration-timeout','some','deserializeRangeWithSheet','COMPLETION_FINISHED','toString','_doCreateSocket','DATA_SOURCE_TOO_LARGE','UNRECOGNIZED','UniverSheets','generateRandomId','LICENSE_EXPORT_SIZE_EXCEEDED','attrs','min','code','http://www.w3.org/2000/svg','formula.calculation.started','send','round','getRenderById','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','forwardRef','runRefRangeMutations','formula.calculation.waiting','range','UniverRpc','CollaborationSessionService','show','amd','REDEMPTION_INVALID_CODE','_docTransformStateCacheService','isFormulaId','subscribe','_showGuardMessage','imageSourceType','substring','getSkeleton','setStateCache','black','override','DocSkeletonManagerService','_injector','[CollaborationDataLoaderController]','_localCacheService','dispose','_configService','handleMoveRange','doc.mutation.rich-text-editing','values','has','parseInt','_hover','MoveRangeCommandId','save','_labelPosition','subunit','defs','UniverProCollaborationClient','object','FromArray','_lastPointer','origin','OTHER_CLIENTS_EDITING','ICommandService','onPointerMove$','UniverCore','addEventListener','UniverInstanceType','executeCommand','requireSession','IRemoteInstanceService','none','socket$','subUnitId','_refreshCollabCursors','UNAUTHENTICATED','setTimeout','_heartbeatTimer','entityInit$','_checkCalculationAvailable','setShapeProps','whenReady','_maxFormulaLimit','m1Prime','fillStyle','COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY','_transformUndoRedoStack','getCoordByCell','redoState','now','UniverDesign','_currentUsage','DEFAULT_WS_SESSION_TICKET_URL','NodePositionConvertToRectRange','_getSaveTimeout','clsx','_toggleOffline','combineLatest','getSheetBySheetId','@univerjs/ui','post','PAYMENT_CHANNEL_NOT_SUPPORT','useDependency','_uiPartsService','moveTo','ENTITLE_INSUFFICIENT_QUOTA','pushState','mergeOverrideWithDependencies','touchDependencies','getRelativeToViewportCoord','getParam','@univerjs/core','INVITE_CODE_REQUIRED','_initUnhandledRejectionListener','_setupSubUnitSync','getStateCache','_cursor','permission.content','REDEMPTION_CODE_FULLY_REDEEMED','ENTITLE_INVALID_COUPON_CODE','YUUMI_UNABLE_LOAD_URL','Warning','OffLineIcon','clearTimeout','_registerDependencies','_taskIds','_collaborationUIEventService','_getSessionTicket','3442476eDkFdY','unshift','CURRENT_STATUS_CANNOT_OPERATE','exhaustSavingTask','enableFrontendLog','split','510FXEHHX','_cursorShapes','unload','ENTITLE_COUPON_USED_UP','_startDocCollabCursor','_handleEvent','_backgroundColor','collabStatus.notCollab','INVALID_ARGUMENT','init','children','transformMutationsWithChangeset','collaboration.closeRoom','labelPosition','ISnapshotServerService','column','@univerjs/sheets-ui','width','_initWindowErrorListener','RxDisposable','LICENSE_DISTRO_REJECTED','_getFormulaLimitStatus','UniverDocs','fill','getTypeOfUnitDisposed$','Vector2','CollaborationEvent','eventID','UniverCollaborationClientUIPlugin','getUnitId','DeleteRangeMoveLeftCommandId','YUUMI_SUBSCRIPTION_NOT_FOUND','UNIVER_DOC','onPointerLeave$','_startCalculationLimit','_hasFormulaInDirtyRanges','transformRemoteChangeset','isActive','_onCursorDelete','ILocalStorageService','registerDependencies','handleIRemoveCol','_initDependencies','WECHAT_HAS_BEEN_BOUND','OnLineIcon','transformMutation','getMemberID','ThemeService','getFocusedUnit','_name','_docClipboardService','ENSURE_SNAPSHOT_EXECUTION','newValue','color','data','476487OovkNP','_transformPreviousActiveRange','_cursors','error','HTTPService','docStateChange$','Tooltip','_status$','dispose$','createInstance','_registerRenderDependencies','body','textRanges','[LogService\x20Error]:\x20','IUniverInstanceService','DeleteRangeMoveUpCommandId','_instanceService','_docTransformIMECacheService','ENTITLE_DUP_SUBSCRIPTION','includes','getCollabEntity$','/run/','transformSelections','getTypeOfUnitAdded$','NO_OTHER_CLIENTS_EDITING','PY_RUNTIME_SCRIPT_ERROR','onMouseMove','off-line-icon','YUUMI_URL_COL_OUT_OF_RANGE','CollaborationStatus','ITransformService','mutations','_colorIndex','WebSocketService','source','NOT_COLLAB','addHandlerCallback','clearInterval','_drawTextRange','Optional','div','getCellPositionByOffset','removeEventListener','React','getOffsetConfig','DependentOn','YUUMI_ASYNCIO_CANCELLED','ONLINE','push','_session','setParam','WebURLService','_initCommandInterceptor','DocStateChangeManagerService','_id','SetDocZoomRatioOperation','transformStateCache','collab-rect-range-','_setFormulaLimitStatus','CONFLICT','ERROR_AGAIN','LOGIN_FAILED','_roomMembers$','location','_imageIoService','registerRenderModule','OFFLINE','EMAIL_VERIFY_CODE_MISMATCH','YUUMI_CONNECTOR_URL_NOT_FOUND','memberID','stringify','measureText','searchParams','UPDATE_CURSOR','useObservable','_entities','_logService','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY','filter','FETCH_MISS','INVITE_CODE_HAS_BEEN_UES','_initEvent','handleIRemoveRow','CHANGESET_REVISION_CONFILICT','wsSessionTicketUrl','MOBILE_HAS_BEEN_BOUND','_ensureSubject','syncEditingCollabCursor','delete','onPointerEnter$','lineTo','current','975861KNIPWD','toRgbString','_collabCursorState$','getRangePointData','collabCursorState$','hide','_initEntityListener','PERMISSION_DENIED','_anchorDot','rgba(255,\x20255,\x20255,\x200.01)','\x20at\x20','replaceDocRanges','CollaborationUIEventId','_unitOnClients','_lastResponseTimestamp','RemoteUniscriptService','beforeCommandExecuted','bold\x2013px\x20Source\x20Han\x20Sans\x20CN','_docSkeletonManagerService','activeSheet$','_context','_updateLocalCursor','ENTITLE_NEED_BILLING_ADDRESS','isTransformMutationFailure','Failed','ENTITLE_CHAT_LIMIT_EXCEED','0\x200\x2017\x2016','transformByState','currentTheme$','flatMap','svg','limitInfo','YUUMI_AI_RUN_FAILED','OTHER_CLIENT_EDITING','roomMembers','DesktopCollaborationStatusDisplayController','red.300','_scheduleHeartbeat','displayName','saveImage','createSocket','href','RefRangeService','Module','_init','_handleHeartbeatEvent','ENTITLE_UPDOWN_GRADE_NOT_SUPPORT','react/jsx-runtime','CanceledError','get','_urlService','InsertRowCommandId','_initUserListener','_docSkeleton','all','saveOfflineData','assignAColorForMemberID','getSheetId','Rect','handleDeleteRangeMoveLeft','getCurrentUnitForType','Plugin','_memberID','_render','ticket','_initCommandExecutedListener','getColor','fromEvent','_removeClearOtherTimer','UniverSheetsUi','_cursorInfo$','IURLService','SetWorksheetActivateCommand','takeUntil','map','_drawAnchor','operators','FormulaExecuteStageType','_revisionService','_colorAssignService','height','add','onLocalMutation','INotificationService','history','disposeWithMe','Unknown\x20user','Inject','getLocalCacheKey','url(#on-line-icon_clip0_910_349)','makeDirty','_getAnchorBounding','IDocClipboardService','BehaviorSubject','MessageType','_send','_notificationService','setAlpha','SHEET_VIEWPORT_KEY','currentColor','_clearOtherTimers','_initStatusComponent','application/json','registerComponent','roomMembers$','SetFormulaCalculationStartMutation','cursorInfo','ranges','idSuffix','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','onCommandExecuted','getCollabCursors$','COLORS','getUnitStatus$','MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','assign','clipPath','pipe','find','ENTITLE_USE_COUPON_NOT_1ST_TRADE','RegularPolygon','white','stage','event$','_renderManagerService','symbol','UNDEFINED','collaboration.single-unit.warning','2FYaCvb','ColorKit','_clearPolling','UniverNetwork','_shapes','16890CkDOTS','disableLocalCache','invokeId','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','maxFormulaLimit','@univerjs/rpc','getMember','M0\x200H16V16H0z','ENTITLE_COUPON_EXPIRED','_hideTimer','max','_config','Tools','evenodd','_eventUnsubscribe','jsx','_checkAndWaitForCalculationPermission','createIdentifier','_assignedColors','REDEMPTION_CODE_HAS_BEEN_CREATED','@univerjs/docs-ui','1737351qDKOko','_univerInstanceService','_handleJoinEvent','saveTaskMap','Success','url(#off-line-icon_clip0_910_343)','getConfig','USER_IS_ANONYMOUS','unit','_hovered','/universer-api/license/formula/limit/start','AWAITING_WITH_PENDING','arc','hovered','TOO_MANY_REQUESTS','transformIMECache','_createSocketURL','tag','name','APPLY_PERMISSION_DENIED','0\x200\x2016\x2016','useCallback','INTERNAL_ERROR','currentUsage','forEach','stageInfo','mapTo','_refRangeService','IConfigService','sheetId','YUUMI_ALL_TABLES_IS_INVALID','unitID','LocaleService','_commandService','_docStateChangeManagerService','Injector','releaseFormulaLimitUrl','_collabCursorController','_toggleOnline','replace','_startSheetCollabCursor','bottom','_themeService','InsertRangeMoveRightCommandId','resize','debounce','@univerjs/engine-render','RECT','...','_online','@univerjs/sheets','entries','path','univer-mr-2\x20univer-flex\x20univer-text-xl','APPLY_NON_SEQUENTIAL_REVISION','_entityInit$','sessionStatus$','[RemoteUniscriptService]:\x20no\x20focused\x20unit','message','formula.calculation.unable','_saveTaskMap','DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','result','loadOfflineData','_textBubble','IMessageService','popstate','SetTextSelectionsOperation','runOnServer','_syncEditingCollabCursorService','LICENSE_IMPORT_SIZE_EXCEEDED','_updateURLWithCurrentState','Error','UnitStatus','REDEMPTION_CODE_INACTIVE','SheetsSelectionsService','pluginName','1260902clhvOq','restore','_selfUnitIDs','IBeforeCloseService','deepClone','setConfig','UNIVER_SHEET','onRendered','connectInjector','ENTITLE_CAN_NOT_BUY_LOWER_OTP','beginPath','YUUMI_TABLE_NOT_FOUND_IN_UNIT','sheetID','_messageService','_uploadLog','getCurrentSelections','SNAPSHOT_HAS_BEEN_REMOVED','urlChange$','START_CALCULATION','_scheduleClearOtherTimer','_document','random','BuiltInUIPart','_dataLoaderService','1em','debounceTime','sessionTicket','set','registerRefRange','shareReplay','REDEMPTION_USER_REDEEM_TIMES_EXCEED','Rectangle','DisposableCollection','_cachedData','startFormulaLimitUrl','LOCAL_CACHE_INTERVAL_KEY','replaceState','_unitStatus','RemoveRowCommandId','DocCollaborationEntity','collaboration.offline-data-not-saved','onTransformChange$','type','next','APPLY_REVISION_CONFILICT','ACTIVE_UNIT_EVENT_CHANNEL','EffectRefRangId','handleInsertRow','MOBILE_VERIFY_CODE_MISMATCH','fillText','_color','AUTHORIZE_CODE_ILLEGAL','UniverEngineFormula','_saveCache','toDisposable','univer-flex\x20univer-items-center','_pollingInterval','LICENSE_MAX_UNITS_EXCEEDED','FormulaExecutedStateType','_memberService','merge','isEditing','_initStatusListener','REDEMPTION_USER_NOT_ELIGIBLE','_localStorageService','Disposable','_handleHover','_transformHistoryAndStateStack','blue.400','subscribeEvent','m2Prime','@univerjs/docs','unhandledrejection','_draw','UniverDocsUi','uni.network.url-service','jiqing.500','_localeService','createElement','_collabSessionService','_sheetSkeletonManagerService','top','MemberService','_getScale','asObservable','ILocalCacheService','SNAPSHOT_INVALID_SNAPSHOT','Shape','UNIVER_COLLABORATION_CLIENT_WEB_PLUGIN','InsertRangeMoveDownCommandId','VIEW_MAIN','string','isArray','ALREADY_EXISTS','UniverIcon','green.600','176VREAfq','_docSyncEditingCollabCursorService','switchMap','reason','_applyCommand','throttleTime','handleInsertCol','CollaborationSocketService','complete','colorChannel1','getDocRanges','_onRefRangeChange','endRow','_updateCollabCursors','INVALID_INVITE_CODE','_anchor','CollaborationDataLoaderController','getCurrent','[Unhandled\x20Rejection]:\x20','filename','size','_docTransformSelectionsService','cursorInfo$','AWAITING','addObjects','getUndoRedoMutationParamsCache','@univerjs/design','CONNECTOR_DATA_TOO_LARGE','then','jsxs','SOCKET_FAILED','translate(.97)','EMAIL_HAS_BEEN_BOUND','INVITE_CODE_ALREADY_BOUND','runId','Workbook','UniverEngineRender','mask','getItem','isTransformMutationsWithChangesetSuccess','handleInsertRangeMoveDown','closePath','getActiveRange','getUnit','setUndoRedoMutationParamsCache','JOIN_ROOM_FAILED','getAncestorScale','focused$','TEXT_RANGE_LAYER_INDEX','stack','SOCKET_FAILED_RETRY','backgroundColor','BrowserCollaborationSocketService','_releaseCalculationLimit','_range','_beforeCloseService','permission.title','on-line-icon_clip0_910_349','PENDING','url(#$1','disposeUnit','search','/universer-api/license/formula/limit/done','isFormulaString','APPLY_REJECT','SessionStatus','endColumn','getValue','getOwnPropertyDescriptor','_onCursorUpdate','length','collab-text-anchor-','_transformService','toStringTag','from','_scheduleSaving','rxjs','358057nsAizf','unsubscribe','YUUMI_NO_CUBOID_FOR_QUESTION','_handleLeaveEvent','setItem','unitId','setActiveRange','_updateSubUnitFromURLParams','_collaborationSessionService','CLOSE_ROOM','getColorFromTheme','_setupBeforeClosingHandler','xlink:href','ILogService','use','addObject','DocSelectionManagerService'];_0x5e56=function(){return _0xfd3415;};return _0x5e56();}
|
|
1
|
+
function _0x23ff(_0x133aa3,_0x15e92a){_0x133aa3=_0x133aa3-0xcd;const _0x415cdf=_0x415c();let _0x23ffbd=_0x415cdf[_0x133aa3];return _0x23ffbd;}function _0x415c(){const _0x5ee791=['getCurrentSelections','_docTransformIMECacheService','PY_RUNTIME_SCRIPT_ERROR','url(#$1','findNodePositionByCharIndex','#FFF','colorChannel1','_instanceService','_onCursorUpdate','IMessageService','REDEMPTION_CODE_NOT_STARTED','_drawTextRange','shift','COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY','clearTimeout','_refRangeService','off-line-icon_clip0_910_343','fromEvent','moveTo','bold\x2013px\x20Source\x20Han\x20Sans\x20CN','UniverDrawing','YUUMI_RATE_OVER_LIMIT','[Unhandled\x20Rejection]:\x20','currentColor','UniverProCollaborationClientUi','stack','1RfOciX','deserializeRangeWithSheet','attrs','_updateLocalCursor','_colorIndex','defIds','_handleJoinEvent','from','[Window\x20Error]:\x20','_handleEvent','syncEditingCollabCursor','merge','getformulaLimitStatusUrl','symbol','textRanges','IBeforeCloseService','totalFormulasToCalculate','[CollaborationDataLoaderController]','invokeId','beginPath','params','_memberService','_docSkeleton','MUTATION','USER_NOT_INVITED_CODE','socket$','getDocRanges','95msPpTl','UniverCore','_initCommandExecutedListener','_send','_toggleOnline','IRemoteInstanceService','storage','DocCollaborationEntity','MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','handleInsertCol','_heartbeatTimer','restore','COLORS','IRenderManagerService','_refreshCollabCursors','LOCAL_CACHE_INTERVAL_KEY','OFFLINE','Success','LICENSE_EXPORT_SIZE_EXCEEDED','_handleHeartbeatEvent','UniverNetwork','replaceState','REDEMPTION_CODE_INACTIVE','UniverEngineFormula','_renderManagerService','Optional','WebBrowserSingleActiveUnitService','UNRECOGNIZED','stringify','color','@univerjs/docs','EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','ENTITLE_CHAT_LIMIT_EXCEED','BuiltInUIPart','collaboration.single-unit.warning','idSuffix','displayName','DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','UniverDocs','APPLY_NON_SEQUENTIAL_REVISION','REDEMPTION_USER_REDEEM_TIMES_EXCEED','_anchor','selections','column','3661ZCNsSc','_checkAndWaitForCalculationPermission','enableLocalCache','INVALID_ARGUMENT','_startCalculationLimit','replace','NodePositionConvertToCursor','NodePositionConvertToRectRange','_clearOtherTimers','unload','BrowserCollaborationSocketService','cursorInfo$','_initUnhandledRejectionListener','OTHER_CLIENTS_EDITING','serializeRangeWithSheet','START_CALCULATION','_docSkeletonManagerService','some','size','_status$','1402616ugmBkY','onPointerEnter$','getCoordByCell','_doCreateSocket','fill','getRelativeToViewportCoord','entityInit$','Inject','UnitStatus','LICENSE_MAX_UNITS_EXCEEDED','getFocusedUnit','docStateChange$','_registerRenderDependencies','unit','getMember','actions','setUndoRedoMutationParamsCache','undoState','Injector','blue.400','SetDocZoomRatioOperation','on-line-icon_clip0_910_349','[RemoteUniscriptService]:\x20no\x20focused\x20unit','operators','DOC_RANGE_TYPE','tag','ENSURE_SNAPSHOT_EXECUTION','ITransformService','_docTransformSelectionsService','fillStyle','Rectangle','TEXT_RANGE_LAYER_INDEX','ISnapshotServerService','href','/universer-api/license/formula/limit/done','startColumn','UniverDocsUi','transformStateCache','collabStatus.offline','INVITE_CODE_HAS_BEEN_UES','find','_cursor','_createSocketURL','_messageService','4581rnwBGZ','isActive','_initEntityListener','UNAUTHENTICATED','onRendered','red.300','activeSheet$','ISocketService','_shapes','UniverSheets','_configService','InsertRangeMoveDownCommandId','_themeService','_pollingInterval','_commandService','React','parseInt','amd','function','_updateSubUnitFromURLParams','ENTITLE_CAN_NOT_BUY_LOWER_OTP','HTTPService','_onCursorDelete','APPLY_PERMISSION_DENIED','white','green.600','_document','disableLocalCache','YUUMI_SUBSCRIPTION_NOT_FOUND','length','_initResize','IDocClipboardService','_checkCalculationAvailable','history','getViewport','sheetId','getStateCache','removeEventListener','deepClone','USER_IS_ANONYMOUS','on-line-icon','pushState','UNIVER_DOC','enableFrontendLog','eventID','DocIMEInputManagerService','touchDependencies','setItem','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','collaboration.offline-data-not-saved','INTERNAL_ERROR','handleDeleteRangeMoveUp','UniverInstanceType','SheetsSelectionsService','complete','getMemberID','CommandType','unhandledrejection','executeCommand','_docClipboardService','_hideTimer','translate(.97)','onPointerLeave$','unsubscribe','error','replaceDocRanges','forEach','generateRandomId','font','INVALID_INVITE_CODE','setAlpha','registerRenderModule','_transformService','getConfig','_cursors','takeUntil','_scheduleClearOtherTimer','dispose$','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','CONNECTOR_DATA_TOO_LARGE','INotificationService','MOBILE_HAS_BEEN_BOUND','YUUMI_URL_COL_OUT_OF_RANGE','Plugin','LOCAL_CACHE_INTERVAL','DeleteRangeMoveUpCommandId','_getMergeRange','save','type','_drawAnchor','uni.network.url-service','_saveTaskMap','engine','getActiveRange','IImageIoService','yellow.400','url(#off-line-icon_clip0_910_343)','_online','getOwnPropertyDescriptor','width','application/json','_initStatusListener','?taskId=','useRef','@univerjs/engine-formula','univerjs-icon\x20univerjs-icon-','debug','@univerjs/docs-ui','_sheetSkeletonManagerService','stageInfo','getRangePointData','_collaborationController','children','_initWindowErrorListener','createElement','collaboration.closeRoom','addObject','_urlService','startRow','LICENSE_DISTRO_REJECTED','asObservable','values','labelPosition','_collaborationSessionService','transformByState','NOT_FOUND','unshift','addClipboardHook','startFormulaLimitUrl','MemberService','getTypeOfUnitAdded$','_eventUnsubscribe','univer-mr-2\x20univer-flex\x20univer-text-xl','WECHAT_HAS_BEEN_BOUND','YUUMI_NO_CUBOID_FOR_QUESTION','_cachedData','purple.300','@univerjs-pro/collaboration-client','AWAITING_WITH_PENDING','RemoveColCommandId','round','_transformPreviousActiveRange','popstate','measureText','DisposableCollection','@univerjs-pro/collaboration','use','endRow','DocSkeletonManagerService','urlChange$','fillText','collab-text-anchor-','registerDependencies','bottom','SetWorksheetActivateCommand','join','ENTITLE_INVALID_COUPON_CODE','_draw','handleInsertRangeMoveDown','_localeService','ERROR_AGAIN','_initCommandInterceptor','handleDeleteRangeMoveLeft','NO_OTHER_CLIENTS_EDITING','getValue','row','string','_id','set','IUIPartsService','setShapeProps','useObservable','@univerjs/drawing','Subject','_startSheetCollabCursor','resize','executionId','_releaseCalculationLimit','maxFormulaLimit','FETCH_MISS','IUniverInstanceService','TOO_MANY_REQUESTS','...','_assignedColors','_localCacheService','_dataLoaderService','0\x200\x2016\x2016','range','collab-rect-range-','div','DesktopCollaborationStatusDisplayController','whenReady','_logService','code','ENTITLE_COUPON_EXPIRED','getUnitId','isEditing','_disabled','split','CURRENT_STATUS_CANNOT_OPERATE','Unknown\x20user','all','UNIVER_SHEET','getItem','_updateURLWithCurrentState','collabCursorState$','roomMembers','lineTo','transformIMECache','_docSyncEditingCollabCursorService','_imageIoService','_httpService','reconnect','YUUMI_UNABLE_LOAD_URL','_onRefRangeChange','searchParams','with','path','loadOfflineData','Rect','object','_docStateChangeManagerService','getUndoRedoMutationParamsCache','exhaustSavingTask','currentSkeleton$','CanceledError','map','Failed','registerComponent','pipe','xlink:href','RegularPolygon','CollaborationSocketService','filename','DEFAULT_WS_SESSION_TICKET_URL','mapTo','createSocket','@univerjs/engine-render','subunit','getCollabCursors$','_scheduleHeartbeat','SheetSkeletonManagerService','now','text','PERMISSION_DENIED','session.will-retry','SHEET_VIEWPORT_KEY','COMPLETION_FINISHED','getCurrentUnitForType','filter','memberID','1048qVyPQL','YUUMI_TABLE_NOT_FOUND_IN_UNIT','transformMutation','UPDATE_CURSOR','functionsExecutedState','1em','add','name','saveTaskMap','M0\x200H16V16H0z','combineLatest','ALREADY_EXISTS','registerBeforeClose','_entityInit$','YUUMI_CONNECTOR_URL_NOT_FOUND','setInterval','_cursorInfo$','DocStateChangeManagerService','_textBubble','FormulaExecuteStageType','_lastPointer','isTransformMutationFailure','PENDING','fillRule','_labelPosition','setTimeout','clsx','CollaborationEvent','limitInfo','1538452ftEuxJ','univer-flex\x20univer-items-center','ENTITLE_COUPON_USED_UP','height','_getScale','_toggleOffline','PAYMENT_CHANNEL_NOT_SUPPORT','Disposable','switchMap','CollaborationDataLoaderController','_getSessionTicket','hovered','getUnhiddenWorksheets','_hasFormulaInDirtyRanges','@univerjs/sheets-ui','debounceTime','transformSelections','collabStatus.fetchMiss','ENTITLE_NEED_BILLING_ADDRESS','includes','InsertRangeMoveRightCommandId','message','RevisionService','DeleteRangeMoveLeftCommandId','AUTHORIZE_CODE_ILLEGAL','delete','updateOfflineData','http://www.w3.org/2000/svg','_currentUsage','_monkeyPatchLogService','FromArray','Warning','clearInterval','toString','18740GRzrFE','_initUserListener','init','_getSaveTimeout','show','YUUMI_ASYNCIO_CANCELLED','Tools','subscribe','has','useCallback','search','_collabSessionService','DependentOn','SetTextSelectionsOperation','SNAPSHOT_INVALID_SNAPSHOT','MessageType','UniverCollaborationClientPlugin','EMAIL_VERIFY_CODE_MISMATCH','unitId','entries','UniverIcon','APPLY_DUPLICATED','defineProperty','getColor','onLocalMutation','@univerjs/ui','body','getUnit','_applyCommand','NOT_COLLAB','_setupSubUnitSync','getLocalCacheKey','min','saveImage','_memberID','EMAIL_HAS_BEEN_BOUND','SheetCollabCursorShape','BehaviorSubject','TEXT','_clearPolling','mutations','bind','collabStatus.synced','getSkeleton','closePath','rxjs','push','No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.','629190hvAJSk','YUUMI_AI_RUN_FAILED','ThemeService','selection','REDEMPTION_CODE_FULLY_REDEEMED','IConfigService','@univerjs/rpc','_session','\x20at\x20','@univerjs/sheets','jsx','_beforeCloseService','sessionStatus$','url(#on-line-icon_clip0_910_349)','_render','then','REDEMPTION_CODE_HAS_BEEN_CREATED','_init','saveOfflineData','collabStatus.notCollab','event$','10503614PvdpgM','RichTextEditingMutation','m2Prime','disposeWithMe','AWAITING','_getFormulaLimitStatus','getRenderById','key','_uiPartsService','_univerInstanceService','drawWith','_anchorDot','EffectRefRangId','APPLY_REVISION_CONFILICT','skeleton','OnLineIcon','LocaleService','VIEW_MAIN','SNAPSHOT_HAS_BEEN_REMOVED','_cursorShapes','_setFormulaLimitStatus','getColorFromTheme','_taskIds','_localStorageService','_name','LOGIN_FAILED','sessionTicket','MOBILE_VERIFY_CODE_MISMATCH','onTransformChange$','session.collaboration-timeout','No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','DataLoaderService','_scheduleSaving','onStarting','createInstance','doc.mutation.rich-text-editing','_saveCache','getCellPositionByOffset','toDisposable','permission.content','setParam','_uploadLog','getSheetId','addEventListener','removeParam','REDEMPTION_INVALID_CODE','post','ACTIVE_UNIT_EVENT_CHANNEL','CollaborationUIEventService','formula.calculation.unable','trim','RxDisposable','requireSession','random','isArray','CollaborationUIEventId','CHANGESET_REVISION_CONFILICT','ICommandService','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','INVITE_CODE_ALREADY_BOUND','_transformUndoRedoStack','send','location','UniverRpc','addObjects','_range','ILogService','WebURLService','makeDirty','_handleHover','_initStatusComponent','ENTITLE_REPORT_LIMIT_EXCEED','_removeClearOtherTimer','CONFLICT','_hover','flatMap','backgroundColor','subUnitId','subscribeEvent','jsxs','_syncEditingCollabCursorService','formula.calculation.started','next','catch','SOCKET_FAILED','formula.calculation.waiting','clipPath','onMouseMove','ENTITLE_INSUFFICIENT_QUOTA','RemoteUniscriptService','defs','getSheetBySheetId','_color','_collaborationUIEventService','_revisionService','_hovered','_backgroundColor','UNDEFINED','_collabCursorState$','ENTITLE_USE_COUPON_NOT_1ST_TRADE','exports','toStringTag','get','CollaborationController','override','transformMutationsWithChangeset','evenodd','SetFormulaCalculationNotificationMutation','SUBMIT_CHANGESET_TIMEOUT','runRefRangeMutations','_selfUnitIDs','editingUnit','_context','[LogService\x20Error]:\x20','_collabCursorController','Error','result','cursorInfo','useDependency','LICENSE_IMPORT_SIZE_EXCEEDED','getUnitStatus$','getAncestorScale','collaboration-client-ui.config','ILocalCacheService','_removeCollabCursors','_transformHistoryAndStateStack','_injector','_ensureSubject','status$','onCommandExecuted','ranges','current','INVITE_CODE_REQUIRED','CLOSE_ROOM','releaseFormulaLimitUrl','UNIVER_COLLABORATION_CLIENT_WEB_PLUGIN','isTransformMutationsWithChangesetSuccess','RefRangeService','_handleLeaveEvent','contains','registerRefRange','ticket','imageSourceType','assignAColorForMemberID','_updateCollabCursors','_getSheetObject','runOnServer','react','m1Prime','getOffsetConfig','Vector2','CollaborationStatus','ENTITLE_DUP_SUBSCRIPTION','DATA_SOURCE_TOO_LARGE','_registerDependencies','redoState','_initDependencies','data','_unitOnClients','stage','arc','getCollabEntity$','UniverProCollaborationClient','ONLINE','YUUMI_ALL_TABLES_IS_INVALID','TRANSFORM_CHANGE_OBSERVABLE_TYPE','Shape','_colorAssignService','dispose','@univerjs/network','_docTransformStateCacheService','UniverUi','CollaborationSessionService','currentTheme$','/run/','_drawRectRange','_lastResponseTimestamp','154344zBraSC','ColorKit','collab-text-range-','transformRemoteChangeset','react/jsx-runtime','_config','hide','_getAnchorBounding','runId','triggerDblclick','fromEventSubject','_entities','getActiveSheet','substring','_scene','unitID','top','SYNCED','mask','getTypeOfUnitDisposed$','currentUsage','SetSelectionsOperation','_showGuardMessage','_roomMembers$','getParam','LOGIN_TOKEN_PROCESSING_FAILED','0\x200\x2017\x2016','roomMembers$','UniverCollaborationClientUIPlugin','UniverDesign','handleInsertRangeMoveRight','getVpScrollXYInfoByPosToVp','/universer-api/license/formula/limit/start','REDEMPTION_USER_NOT_ELIGIBLE','_unitStatus','_setupBeforeClosingHandler','collabStatus.conflict','debounce','toRgbString','black','newValue','endColumn','APPLY_REJECT','DocSelectionManagerService','assign','SessionStatus','_maxFormulaLimit','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED'];_0x415c=function(){return _0x5ee791;};return _0x415c();}(function(_0x19eb79,_0x5a0976){const _0x143e34=_0x23ff,_0x3c33ec=_0x19eb79();while(!![]){try{const _0x59a695=-parseInt(_0x143e34(0x1fc))/0x1*(-parseInt(_0x143e34(0x257))/0x2)+-parseInt(_0x143e34(0xec))/0x3+-parseInt(_0x143e34(0x39b))/0x4+parseInt(_0x143e34(0x217))/0x5*(parseInt(_0x143e34(0x1b2))/0x6)+parseInt(_0x143e34(0x243))/0x7*(-parseInt(_0x143e34(0x37e))/0x8)+parseInt(_0x143e34(0x283))/0x9*(parseInt(_0x143e34(0x3bd))/0xa)+-parseInt(_0x143e34(0x101))/0xb;if(_0x59a695===_0x5a0976)break;else _0x3c33ec['push'](_0x3c33ec['shift']());}catch(_0x546ee3){_0x3c33ec['push'](_0x3c33ec['shift']());}}}(_0x415c,0x80778),function(_0x2ff24f,_0x233c40){const _0x4d3d90=_0x23ff;typeof exports==_0x4d3d90(0x35f)&&typeof module<'u'?_0x233c40(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==_0x4d3d90(0x295)&&define[_0x4d3d90(0x294)]?define([_0x4d3d90(0x165),_0x4d3d90(0x1b6),_0x4d3d90(0x30c),'@univerjs/core',_0x4d3d90(0xd5),'rxjs','@univerjs/design',_0x4d3d90(0x194),_0x4d3d90(0xf2),_0x4d3d90(0xf5),_0x4d3d90(0x370),_0x4d3d90(0x1aa),_0x4d3d90(0x2ee),_0x4d3d90(0x32f),_0x4d3d90(0x314),_0x4d3d90(0x235),_0x4d3d90(0x2eb),'rxjs/operators',_0x4d3d90(0x3a9)],_0x233c40):(_0x2ff24f=typeof globalThis<'u'?globalThis:_0x2ff24f||self,_0x233c40(_0x2ff24f[_0x4d3d90(0x1fa)]={},_0x2ff24f[_0x4d3d90(0x292)],_0x2ff24f[_0x4d3d90(0x1a3)],_0x2ff24f[_0x4d3d90(0x218)],_0x2ff24f[_0x4d3d90(0x1ac)],_0x2ff24f[_0x4d3d90(0xe9)],_0x2ff24f[_0x4d3d90(0x1cf)],_0x2ff24f[_0x4d3d90(0x292)],_0x2ff24f[_0x4d3d90(0x140)],_0x2ff24f[_0x4d3d90(0x28c)],_0x2ff24f['UniverEngineRender'],_0x2ff24f[_0x4d3d90(0x22b)],_0x2ff24f[_0x4d3d90(0x27b)],_0x2ff24f[_0x4d3d90(0x1f6)],_0x2ff24f['UniverProCollaboration'],_0x2ff24f[_0x4d3d90(0x23d)],_0x2ff24f[_0x4d3d90(0x22e)],_0x2ff24f[_0x4d3d90(0xe9)][_0x4d3d90(0x26e)],_0x2ff24f['UniverSheetsUi']));}(this,function(_0x26c668,_0x4fda79,_0x1cadbe,_0x1bf86e,_0x14309e,_0x57a56c,_0x11570c,_0x570572,_0x229971,_0x583c41,_0x5dba15,_0x53849d,_0x24bca5,_0x1319d8,_0x46b617,_0x4c6158,_0x497297,_0x57665e,_0x480426){'use strict';const _0xb09cf6=_0x23ff;var _0x350c73=Object[_0xb09cf6(0xd2)],_0x4ab818=(_0x4e391a,_0x2e1fbb,_0x3f0568)=>_0x2e1fbb in _0x4e391a?_0x350c73(_0x4e391a,_0x2e1fbb,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x3f0568}):_0x4e391a[_0x2e1fbb]=_0x3f0568,_0x49be5c=(_0xd19785,_0x2b758c,_0x46a3d1)=>_0x4ab818(_0xd19785,typeof _0x2b758c!=_0xb09cf6(0x209)?_0x2b758c+'':_0x2b758c,_0x46a3d1);function _0x15da6d({ref:_0x2e0f52,..._0x4b72f4}){const _0x188fca=_0xb09cf6,{icon:_0x15ccc7,id:_0x32a8f2,className:_0x39cbe3,extend:_0x5ba054,..._0x56c74c}=_0x4b72f4,_0x31010b=(_0x188fca(0x2ec)+_0x32a8f2+'\x20'+(_0x39cbe3||''))[_0x188fca(0x133)](),_0x5d44e5=_0x570572[_0x188fca(0x2ea)]('_'+_0x3980a0());return _0x6e81ca(_0x15ccc7,''+_0x32a8f2,{'defIds':_0x15ccc7[_0x188fca(0x201)],'idSuffix':_0x5d44e5[_0x188fca(0x184)]},{'ref':_0x2e0f52,'className':_0x31010b,..._0x56c74c},_0x5ba054);}function _0x6e81ca(_0x5b2ec4,_0x5ce0e5,_0x2a963c,_0x2c74c8,_0x10e501){const _0x4f8082=_0xb09cf6;return _0x570572['createElement'](_0x5b2ec4[_0x4f8082(0x270)],{'key':_0x5ce0e5,..._0x38828f(_0x5b2ec4,_0x2a963c,_0x10e501),..._0x2c74c8},(_0x4ea08c(_0x5b2ec4,_0x2a963c)[_0x4f8082(0x2f3)]||[])[_0x4f8082(0x365)]((_0x58d573,_0xc7c00b)=>_0x6e81ca(_0x58d573,_0x5ce0e5+'-'+_0x5b2ec4[_0x4f8082(0x270)]+'-'+_0xc7c00b,_0x2a963c,void 0x0,_0x10e501)));}function _0x38828f(_0x18510b,_0x33bfac,_0x9a6f3c){const _0x348ef6=_0xb09cf6,_0x2221ee={..._0x18510b['attrs']};_0x9a6f3c!=null&&_0x9a6f3c['colorChannel1']&&_0x2221ee['fill']===_0x348ef6(0x1e8)&&(_0x2221ee[_0x348ef6(0x25b)]=_0x9a6f3c[_0x348ef6(0x1e8)]),_0x18510b[_0x348ef6(0x270)]===_0x348ef6(0x1c4)&&_0x2221ee['id']&&(_0x2221ee['id']=_0x2221ee['id']+_0x33bfac[_0x348ef6(0x23a)]),Object[_0x348ef6(0xcf)](_0x2221ee)[_0x348ef6(0x2c5)](([_0x3605cc,_0x29d966])=>{const _0x495a86=_0x348ef6;_0x3605cc===_0x495a86(0x1c4)&&typeof _0x29d966=='string'&&(_0x2221ee[_0x3605cc]=_0x29d966[_0x495a86(0x248)](/url\(#(.*)\)/,_0x495a86(0x1e5)+_0x33bfac['idSuffix']+')'));});const {defIds:_0x1b2f35}=_0x33bfac;return!_0x1b2f35||_0x1b2f35[_0x348ef6(0x2a0)]===0x0||(_0x18510b[_0x348ef6(0x270)]===_0x348ef6(0x315)&&_0x2221ee['xlink:href']&&(_0x2221ee[_0x348ef6(0x369)]=_0x2221ee['xlink:href']+_0x33bfac[_0x348ef6(0x23a)]),Object['entries'](_0x2221ee)['forEach'](([_0x487b00,_0x5df820])=>{const _0x567da1=_0x348ef6;typeof _0x5df820==_0x567da1(0x329)&&(_0x2221ee[_0x487b00]=_0x5df820[_0x567da1(0x248)](/url\(#(.*)\)/,_0x567da1(0x1e5)+_0x33bfac[_0x567da1(0x23a)]+')'));})),_0x2221ee;}function _0x4ea08c(_0xdb5173,_0x5997a5){const _0x55d837=_0xb09cf6;var _0x396fcc;const {defIds:_0x599bf9}=_0x5997a5;return!_0x599bf9||_0x599bf9[_0x55d837(0x2a0)]===0x0?_0xdb5173:_0xdb5173[_0x55d837(0x270)]==='defs'&&((_0x396fcc=_0xdb5173[_0x55d837(0x2f3)])!=null&&_0x396fcc[_0x55d837(0x2a0)])?{..._0xdb5173,'children':_0xdb5173['children']['map'](_0x3de00c=>typeof _0x3de00c[_0x55d837(0x1fe)]['id']=='string'&&_0x599bf9&&_0x599bf9[_0x55d837(0x3ae)](_0x3de00c[_0x55d837(0x1fe)]['id'])?{..._0x3de00c,'attrs':{..._0x3de00c['attrs'],'id':_0x3de00c[_0x55d837(0x1fe)]['id']+_0x5997a5[_0x55d837(0x23a)]}}:_0x3de00c)}:_0xdb5173;}function _0x3980a0(){const _0x41f4c1=_0xb09cf6;return Math[_0x41f4c1(0x136)]()[_0x41f4c1(0x3bc)](0x24)[_0x41f4c1(0x1bf)](0x2,0x8);}_0x15da6d[_0xb09cf6(0x23b)]=_0xb09cf6(0xd0);const _0x2c78e4={'tag':'svg','attrs':{'xmlns':_0xb09cf6(0x3b6),'fill':'none','viewBox':_0xb09cf6(0x33d),'width':'1em','height':_0xb09cf6(0x383)},'children':[{'tag':'g','attrs':{'clipPath':_0xb09cf6(0x2e3)},'children':[{'tag':_0xb09cf6(0x35c),'attrs':{'stroke':_0xb09cf6(0x1f9),'d':_0xb09cf6(0x2b3),'strokeLinecap':_0xb09cf6(0x30f),'strokeLinejoin':_0xb09cf6(0x30f),'strokeWidth':1.2}}]},{'tag':_0xb09cf6(0x15b),'attrs':{},'children':[{'tag':_0xb09cf6(0x157),'attrs':{'id':_0xb09cf6(0x1f2)},'children':[{'tag':'path','attrs':{'fill':'white','d':_0xb09cf6(0x387)}}]}]}],'defIds':[_0xb09cf6(0x1f2)]},_0x72ba9b=_0x570572['forwardRef'](function(_0x5abe89,_0x359ed1){const _0x348d26=_0xb09cf6;return _0x570572[_0x348d26(0x2f5)](_0x15da6d,Object[_0x348d26(0x1de)]({},_0x5abe89,{'id':'off-line-icon','ref':_0x359ed1,'icon':_0x2c78e4}));});_0x72ba9b[_0xb09cf6(0x23b)]='OffLineIcon';const _0x434683={'tag':'svg','attrs':{'xmlns':_0xb09cf6(0x3b6),'fill':'none','viewBox':_0xb09cf6(0x1cc),'width':_0xb09cf6(0x383),'height':'1em'},'children':[{'tag':'g','attrs':{'clipPath':_0xb09cf6(0xf9)},'children':[{'tag':'path','attrs':{'stroke':_0xb09cf6(0x1f9),'d':_0xb09cf6(0x13b),'strokeLinecap':_0xb09cf6(0x30f),'strokeLinejoin':'round','strokeWidth':1.2}}]},{'tag':_0xb09cf6(0x15b),'attrs':{},'children':[{'tag':_0xb09cf6(0x157),'attrs':{'id':_0xb09cf6(0x26c)},'children':[{'tag':_0xb09cf6(0x35c),'attrs':{'fill':_0xb09cf6(0x29b),'d':_0xb09cf6(0x387),'transform':_0xb09cf6(0x2c0)}}]}]}],'defIds':[_0xb09cf6(0x26c)]},_0x5935cc=_0x570572['forwardRef'](function(_0x3a600c,_0x30d735){const _0x34df7b=_0xb09cf6;return _0x570572[_0x34df7b(0x2f5)](_0x15da6d,Object['assign']({},_0x3a600c,{'id':_0x34df7b(0x2ab),'ref':_0x30d735,'icon':_0x434683}));});_0x5935cc['displayName']=_0xb09cf6(0x110);function _0x3b4faf(_0x1e1110){const _0x3cb09d=_0xb09cf6;switch(_0x1e1110){case _0x1cadbe[_0x3cb09d(0x198)]['OFFLINE']:return _0x3cb09d(0x27d);case _0x1cadbe[_0x3cb09d(0x198)][_0x3cb09d(0x14a)]:return _0x3cb09d(0x1d6);case _0x1cadbe[_0x3cb09d(0x198)][_0x3cb09d(0x336)]:return _0x3cb09d(0x3ac);case _0x1cadbe['CollaborationStatus'][_0x3cb09d(0xd9)]:return _0x3cb09d(0xff);case _0x1cadbe[_0x3cb09d(0x198)][_0x3cb09d(0x105)]:case _0x1cadbe['CollaborationStatus'][_0x3cb09d(0x30d)]:return'collabStatus.syncing';case _0x1cadbe['CollaborationStatus'][_0x3cb09d(0x1c3)]:case _0x1cadbe['CollaborationStatus'][_0x3cb09d(0x394)]:return _0x3cb09d(0xe6);}}function _0x5aa93e(_0x79c830){const _0x366a42=_0xb09cf6,{status$:_0x245adf}=_0x79c830,_0x437164=_0x14309e[_0x366a42(0x32e)](_0x245adf,_0x1cadbe['CollaborationStatus'][_0x366a42(0xd9)]),_0xe33a17=_0x14309e[_0x366a42(0x177)](_0x1bf86e[_0x366a42(0x111)]),_0x57dacf=_0x14309e[_0x366a42(0x177)](_0x1cadbe['CollaborationSessionService']),_0x5ba4f9=_0x437164!==_0x1cadbe[_0x366a42(0x198)][_0x366a42(0x227)],_0x272542=_0xe33a17['t'](_0x3b4faf(_0x437164)),_0xac32ad=_0x5ba4f9?_0x4fda79[_0x366a42(0xf6)](_0x5935cc,{}):_0x4fda79[_0x366a42(0xf6)](_0x72ba9b,{}),_0x6afe17=_0x570572[_0x366a42(0x3c6)](()=>{const _0x18a9ec=_0x366a42;_0x5ba4f9||_0x57dacf[_0x18a9ec(0x357)]();},[_0x5ba4f9,_0x57dacf]);function _0x2035ea(){const _0x1a60ed=_0x366a42;return _0x4fda79[_0x1a60ed(0x150)](_0x1a60ed(0x340),{'className':_0x1a60ed(0x39c),'onClick':_0x6afe17,'children':[_0x4fda79[_0x1a60ed(0xf6)](_0x1a60ed(0x340),{'className':_0x11570c[_0x1a60ed(0x398)](_0x1a60ed(0x307),{'univer-text-green-500':_0x5ba4f9,'univer-text-red-500':!_0x5ba4f9}),'children':_0xac32ad}),_0x4fda79[_0x1a60ed(0xf6)]('div',{'className':'univer-text-sm\x20univer-leading-8\x20univer-text-gray-600\x20dark:!univer-text-gray-200','children':_0x272542})]});}return _0x5ba4f9?_0x2035ea():_0x4fda79[_0x366a42(0xf6)](_0x11570c['Tooltip'],{'title':_0xe33a17['t']('collab-client.tooltip.reconnect'),'children':_0x2035ea()});}var _0x438316=Object[_0xb09cf6(0x2e5)],_0x18d623=(_0x117ffb,_0x37e7cc,_0x207311,_0xf9793)=>{const _0x4f8159=_0xb09cf6;for(var _0x1632e6=_0xf9793>0x1?void 0x0:_0xf9793?_0x438316(_0x37e7cc,_0x207311):_0x37e7cc,_0x347140=_0x117ffb[_0x4f8159(0x2a0)]-0x1,_0x558828;_0x347140>=0x0;_0x347140--)(_0x558828=_0x117ffb[_0x347140])&&(_0x1632e6=_0x558828(_0x1632e6)||_0x1632e6);return _0x1632e6;},_0x5dffb=(_0x1f7619,_0x5df8f2)=>(_0x48ff36,_0x759fbe)=>_0x5df8f2(_0x48ff36,_0x759fbe,_0x1f7619);_0x26c668[_0xb09cf6(0x341)]=class extends _0x1bf86e[_0xb09cf6(0x3a2)]{constructor(_0x4bdc99,_0x2a3a82,_0x335529,_0x50d440){const _0x5a7ec0=_0xb09cf6;super(),_0x49be5c(this,_0x5a7ec0(0x256),new _0x57a56c[(_0x5a7ec0(0xe1))](_0x1cadbe[_0x5a7ec0(0x198)][_0x5a7ec0(0xd9)])),(this[_0x5a7ec0(0x10a)]=_0x4bdc99,this[_0x5a7ec0(0x17f)]=_0x2a3a82,this[_0x5a7ec0(0x2f2)]=_0x335529,this['_uiPartsService']=_0x50d440,this['_initStatusComponent'](),this[_0x5a7ec0(0x2e8)]());}['_initStatusListener'](){const _0x3888df=_0xb09cf6;this['disposeWithMe'](this[_0x3888df(0x10a)]['focused$'][_0x3888df(0x368)](_0x57a56c['switchMap'](()=>{const _0xe4b7f=_0x3888df,_0x827043=this[_0xe4b7f(0x10a)][_0xe4b7f(0x261)]();return _0x827043?this[_0xe4b7f(0x2f2)][_0xe4b7f(0x1a2)](_0x827043[_0xe4b7f(0x346)]()):_0x57a56c['of'](null);}),_0x57a56c[_0x3888df(0x3a3)](_0x421864=>_0x421864?_0x421864[_0x3888df(0x181)]:_0x57a56c['of'](_0x1cadbe[_0x3888df(0x198)]['NOT_COLLAB'])))['subscribe'](_0x1e1b03=>{const _0x49b9a2=_0x3888df;this[_0x49b9a2(0x256)][_0x49b9a2(0x153)](_0x1e1b03);}));}[_0xb09cf6(0x147)](){const _0x2e751b=_0xb09cf6;this[_0x2e751b(0x104)](this[_0x2e751b(0x109)][_0x2e751b(0x367)](_0x14309e[_0x2e751b(0x238)]['HEADER_MENU'],()=>_0x14309e['connectInjector'](_0x10bc7b({'status$':this[_0x2e751b(0x256)][_0x2e751b(0x2fb)]()}),this['_injector'])));}},_0x26c668[_0xb09cf6(0x341)]=_0x18d623([_0x5dffb(0x0,_0x1bf86e['IUniverInstanceService']),_0x5dffb(0x1,_0x1bf86e[_0xb09cf6(0x25e)](_0x1bf86e['Injector'])),_0x5dffb(0x2,_0x1bf86e[_0xb09cf6(0x25e)](_0x1cadbe['CollaborationController'])),_0x5dffb(0x3,_0x14309e[_0xb09cf6(0x32c)])],_0x26c668[_0xb09cf6(0x341)]);function _0x10bc7b(_0x45e9bc){const {status$:_0x521354}=_0x45e9bc;return function(){return _0x4fda79['jsx'](_0x5aa93e,{'status$':_0x521354});};}const _0x533f89=_0x1bf86e['createIdentifier'](_0xb09cf6(0x2dd));var _0x351592=Object[_0xb09cf6(0x2e5)],_0x2906be=(_0x51b7ff,_0x215607,_0x123d99,_0x5d4416)=>{const _0x396a81=_0xb09cf6;for(var _0x1cf763=_0x5d4416>0x1?void 0x0:_0x5d4416?_0x351592(_0x215607,_0x123d99):_0x215607,_0x50ad38=_0x51b7ff[_0x396a81(0x2a0)]-0x1,_0x30947a;_0x50ad38>=0x0;_0x50ad38--)(_0x30947a=_0x51b7ff[_0x50ad38])&&(_0x1cf763=_0x30947a(_0x1cf763)||_0x1cf763);return _0x1cf763;},_0x5b0682=(_0x2b897f,_0x3b4343)=>(_0x538bf2,_0x137ea8)=>_0x3b4343(_0x538bf2,_0x137ea8,_0x2b897f);_0x26c668[_0xb09cf6(0x3a4)]=class extends _0x1bf86e[_0xb09cf6(0x134)]{constructor(_0x5e4736,_0x215dde,_0x9a1062,_0x37f471,_0xf7d92a){const _0x27d71b=_0xb09cf6;super(),this[_0x27d71b(0x2f8)]=_0x5e4736,this[_0x27d71b(0x343)]=_0x215dde,this[_0x27d71b(0x291)]=_0x9a1062,this[_0x27d71b(0x33c)]=_0x37f471,_0xf7d92a?_0xf7d92a==null||_0xf7d92a[_0x27d71b(0x342)]()['then'](()=>this['_init']()):(this['_logService']['debug'](_0x27d71b(0x20d),_0x27d71b(0xeb)),this[_0x27d71b(0xfd)]());}async[_0xb09cf6(0xfd)](){const _0x18ee34=_0xb09cf6,_0x379d0e=this[_0x18ee34(0x2f8)]['getParam']('unit'),_0x1d0830=this['_urlService'][_0x18ee34(0x1ca)]('type'),_0x300af7=this[_0x18ee34(0x2f8)][_0x18ee34(0x1ca)](_0x18ee34(0x371));if(!_0x379d0e||!_0x1d0830){this[_0x18ee34(0x343)][_0x18ee34(0x2ed)](_0x18ee34(0x20d),_0x18ee34(0x11f));return;}const _0x2e0a81=await this[_0x18ee34(0x33c)]['loadUnit'](_0x379d0e,Number(_0x1d0830),_0x300af7);_0x2e0a81&&_0x2e0a81 instanceof _0x1bf86e['Workbook']&&this[_0x18ee34(0xda)](_0x2e0a81);}async[_0xb09cf6(0xda)](_0x1e3ba2){const _0x576ba4=_0xb09cf6;await this[_0x576ba4(0x296)](_0x1e3ba2),_0x1e3ba2[_0x576ba4(0x289)][_0x576ba4(0x368)](_0x57a56c[_0x576ba4(0x2ce)](this[_0x576ba4(0x2d0)]))[_0x576ba4(0x3c4)](_0x42a88f=>{const _0x1f4cfa=_0x576ba4;_0x42a88f&&this[_0x1f4cfa(0x34f)](_0x42a88f);}),this[_0x576ba4(0x2f8)][_0x576ba4(0x318)][_0x576ba4(0x368)](_0x57a56c[_0x576ba4(0x2ce)](this[_0x576ba4(0x2d0)]))[_0x576ba4(0x3c4)](()=>this['_updateSubUnitFromURLParams'](_0x1e3ba2));}[_0xb09cf6(0x34f)](_0x3e2713,_0xe98370=!0x1){const _0x361ac7=_0xb09cf6,_0x1fdb0a=this[_0x361ac7(0x2f8)]['getParam']('subunit');_0x3e2713[_0x361ac7(0x12b)]()!==_0x1fdb0a&&this[_0x361ac7(0x2f8)][_0x361ac7(0x129)]('subunit',_0x3e2713[_0x361ac7(0x12b)](),_0xe98370);}async[_0xb09cf6(0x296)](_0x8725a9){const _0x18a37a=_0xb09cf6;var _0x339903;const _0x3b8051=this[_0x18a37a(0x2f8)][_0x18a37a(0x1ca)](_0x18a37a(0x371));if(!_0x3b8051||!_0x8725a9[_0x18a37a(0x15c)](_0x3b8051)){const _0x5a5826=_0x8725a9[_0x18a37a(0x3a7)]()[0x0],_0x5c07eb=_0x8725a9[_0x18a37a(0x15c)](_0x5a5826);if(!_0x5c07eb)return;this[_0x18a37a(0x34f)](_0x5c07eb,!0x0),await this[_0x18a37a(0x291)]['executeCommand'](_0x583c41['SetWorksheetActivateCommand']['id'],{'unitId':_0x8725a9[_0x18a37a(0x346)](),'subUnitId':_0x5a5826});return;}((_0x339903=_0x8725a9['getActiveSheet']())==null?void 0x0:_0x339903['getSheetId']())!==_0x3b8051&&await this[_0x18a37a(0x291)][_0x18a37a(0x2bd)](_0x583c41[_0x18a37a(0x31d)]['id'],{'unitId':_0x8725a9[_0x18a37a(0x346)](),'subUnitId':_0x3b8051});}},_0x26c668[_0xb09cf6(0x3a4)]=_0x2906be([_0x5b0682(0x0,_0x533f89),_0x5b0682(0x1,_0x1bf86e[_0xb09cf6(0x143)]),_0x5b0682(0x2,_0x1bf86e[_0xb09cf6(0x13a)]),_0x5b0682(0x3,_0x1bf86e['Inject'](_0x1cadbe[_0xb09cf6(0x120)])),_0x5b0682(0x4,_0x1bf86e[_0xb09cf6(0x230)](_0x229971[_0xb09cf6(0x21c)]))],_0x26c668[_0xb09cf6(0x3a4)]);var _0x55b628=Object[_0xb09cf6(0x2e5)],_0x3a7934=(_0x26c14c,_0x510e52,_0x4c5921,_0x3405f2)=>{const _0x194f5c=_0xb09cf6;for(var _0x3ad93a=_0x3405f2>0x1?void 0x0:_0x3405f2?_0x55b628(_0x510e52,_0x4c5921):_0x510e52,_0x57e76e=_0x26c14c[_0x194f5c(0x2a0)]-0x1,_0x579709;_0x57e76e>=0x0;_0x57e76e--)(_0x579709=_0x26c14c[_0x57e76e])&&(_0x3ad93a=_0x579709(_0x3ad93a)||_0x3ad93a);return _0x3ad93a;},_0x287482=(_0x406f33,_0x368ec8)=>(_0x1aae0c,_0x20818e)=>_0x368ec8(_0x1aae0c,_0x20818e,_0x406f33);let _0x4c9007=class extends _0x1bf86e['RxDisposable']{constructor(_0x397af8,_0x9d9978){const _0x41211d=_0xb09cf6;super(),this[_0x41211d(0x2be)]=_0x397af8,this[_0x41211d(0x355)]=_0x9d9978,this[_0x41211d(0xfd)]();}['_init'](){const _0x168237=_0xb09cf6,_0x44f103=this;this[_0x168237(0x104)](this[_0x168237(0x2be)][_0x168237(0x302)]({'onBeforePasteImage':async _0x2641ae=>{const _0x1523cc=_0x168237,_0x3231de=await _0x44f103[_0x1523cc(0x355)][_0x1523cc(0xdd)](_0x2641ae);return _0x3231de?{'source':_0x3231de['source'],'imageSourceType':_0x3231de[_0x1523cc(0x18f)]}:null;}}));}};_0x4c9007=_0x3a7934([_0x287482(0x0,_0x24bca5[_0xb09cf6(0x2a2)]),_0x287482(0x1,_0x1319d8[_0xb09cf6(0x2e1)])],_0x4c9007);const _0x395fae=[_0xb09cf6(0x30b),'jiqing.500',_0xb09cf6(0x29c),_0xb09cf6(0x288),_0xb09cf6(0x26a),_0xb09cf6(0x2e2)];class _0x53fe7e extends _0x1bf86e[_0xb09cf6(0x3a2)]{constructor(){const _0x3c4630=_0xb09cf6;super(...arguments),_0x49be5c(this,'_assignedColors',new Map()),_0x49be5c(this,_0x3c4630(0x200),0x0);}[_0xb09cf6(0x190)](_0x36af2c){const _0x433b94=_0xb09cf6;if(this['_assignedColors'][_0x433b94(0x3c5)](_0x36af2c))return this[_0x433b94(0x33a)][_0x433b94(0x167)](_0x36af2c);const _0x4c276e=_0x395fae[this[_0x433b94(0x200)]];return this[_0x433b94(0x200)]=(this[_0x433b94(0x200)]+0x1)%_0x395fae['length'],this[_0x433b94(0x33a)]['set'](_0x36af2c,_0x4c276e),_0x4c276e;}}function _0x523c87(_0x4a96d6){const _0x67b086=_0xb09cf6;let _0x15d8c3='';for(const _0x3ef080 of _0x4a96d6){const {startOffset:_0x338f3c,endOffset:_0x449721,isActive:_0xbcd338,rangeType:_0x5dbfb2,segmentId:_0x3bf468,segmentPage:_0x1ad639}=_0x3ef080;_0x15d8c3[_0x67b086(0x2a0)]&&(_0x15d8c3+=','),_0x15d8c3+=_0x338f3c+':'+_0x449721+':'+(_0xbcd338?'1':'0')+':'+_0x5dbfb2+':'+_0x3bf468+':'+_0x1ad639;}return _0x15d8c3;}function _0x4b3d19(_0x44d05c){const _0x385e50=_0xb09cf6,_0x74113d=_0x44d05c[_0x385e50(0x349)](','),_0x2f8c40=[];for(const _0x4f76cf of _0x74113d){const [_0x1bc63b,_0x27727d,_0x221752,_0x33681e,_0x4d5b53,_0xfe29e1]=_0x4f76cf[_0x385e50(0x349)](':');_0x2f8c40['push']({'startOffset':Number(_0x1bc63b),'endOffset':Number(_0x27727d),'collapsed':_0x1bc63b===_0x27727d,'isActive':_0x221752==='1','rangeType':_0x33681e===_0x1bf86e[_0x385e50(0x26f)][_0x385e50(0xe2)]?_0x1bf86e[_0x385e50(0x26f)]['TEXT']:_0x1bf86e[_0x385e50(0x26f)]['RECT'],'segmentId':typeof _0x4d5b53==_0x385e50(0x329)?String(_0x4d5b53):'','segmentPage':Number(_0xfe29e1!=null?_0xfe29e1:-0x1)});}return _0x2f8c40[_0x385e50(0x254)](_0xebd9b6=>_0xebd9b6['isActive'])||(_0x2f8c40[0x0][_0x385e50(0x284)]=!0x0),_0x2f8c40;}class _0x204057 extends _0x1bf86e[_0xb09cf6(0x134)]{constructor(){const _0x3145b3=_0xb09cf6;super(...arguments),_0x49be5c(this,_0x3145b3(0x163),new _0x57a56c['BehaviorSubject'](null)),_0x49be5c(this,'collabCursorState$',this[_0x3145b3(0x163)][_0x3145b3(0x2fb)]());}[_0xb09cf6(0x206)](_0x19d663){const _0x573560=_0xb09cf6,{unitID:_0xb3507,memberID:_0x144f3a,textRanges:_0x5fdf91}=_0x19d663,_0x8e33ab=_0x523c87(_0x5fdf91);if(_0x8e33ab==='')return;const _0x1d8780={'unitID':_0xb3507,'memberID':_0x144f3a,'selection':_0x8e33ab};this[_0x573560(0x163)][_0x573560(0x153)](_0x1d8780);}}var _0x2082ce=Object[_0xb09cf6(0x2e5)],_0x588b0a=(_0x3a037b,_0x6a59e5,_0x57050d,_0x7aa068)=>{const _0xd15a07=_0xb09cf6;for(var _0x248c79=_0x7aa068>0x1?void 0x0:_0x7aa068?_0x2082ce(_0x6a59e5,_0x57050d):_0x6a59e5,_0x5c5e8f=_0x3a037b[_0xd15a07(0x2a0)]-0x1,_0x1d29fb;_0x5c5e8f>=0x0;_0x5c5e8f--)(_0x1d29fb=_0x3a037b[_0x5c5e8f])&&(_0x248c79=_0x1d29fb(_0x248c79)||_0x248c79);return _0x248c79;},_0x4db006=(_0x45b152,_0x375a90)=>(_0x5cedf4,_0x33716a)=>_0x375a90(_0x5cedf4,_0x33716a,_0x45b152);const _0x3981a6=0x12c,_0x485ee1=0x64;let _0x4a0d06=class extends _0x1bf86e[_0xb09cf6(0x134)]{constructor(_0x5a9a86,_0x109bfc,_0x1359ed,_0x1b50db,_0x521c51,_0x17c3f4,_0x1a4c31,_0x73701c,_0x5c7bd){const _0x341575=_0xb09cf6;super(),_0x49be5c(this,_0x341575(0x2e4),!0x1),_0x49be5c(this,'_init',!0x1),_0x49be5c(this,'_cursorInfo$',new _0x57a56c[(_0x341575(0xe1))](new Map())),_0x49be5c(this,'cursorInfo$',this[_0x341575(0x38e)][_0x341575(0x2fb)]()),_0x49be5c(this,_0x341575(0x1c9),new _0x57a56c['BehaviorSubject']([])),_0x49be5c(this,'roomMembers$',this['_roomMembers$']['pipe'](_0x57a56c[_0x341575(0x3aa)](_0x3981a6))),_0x49be5c(this,_0x341575(0x1ff),_0x1bf86e['debounce'](_0x59fec7=>{const _0x308946=_0x341575,_0x4efb05={'eventID':_0x46b617[_0x308946(0x399)][_0x308946(0x381)],'data':{'unitID':this[_0x308946(0x1c1)],'memberID':this[_0x308946(0xf3)]['getMemberID'](),'selection':_0x523c87(_0x59fec7)}};this[_0x308946(0xf3)][_0x308946(0x13e)](_0x4efb05,this[_0x308946(0x1c1)]);},_0x485ee1)),(this[_0x341575(0x1c1)]=_0x5a9a86,this['_session']=_0x109bfc,this[_0x341575(0x17f)]=_0x1359ed,this['_colorAssignService']=_0x1b50db,this[_0x341575(0x211)]=_0x521c51,this[_0x341575(0x151)]=_0x17c3f4,this['_transformService']=_0x1a4c31,this['_univerInstanceService']=_0x73701c,this[_0x341575(0x291)]=_0x5c7bd);}get[_0xb09cf6(0x176)](){const _0x4efc69=_0xb09cf6;return this['_cursorInfo$'][_0x4efc69(0x327)]();}get[_0xb09cf6(0x351)](){const _0x5fbc1b=_0xb09cf6;return this['_roomMembers$'][_0x5fbc1b(0x327)]();}[_0xb09cf6(0x1a9)](){const _0x5f2625=_0xb09cf6;super[_0x5f2625(0x1a9)](),this[_0x5f2625(0x38e)]['next'](new Map()),this[_0x5f2625(0x38e)]['complete'](),this['_roomMembers$']['next']([]),this[_0x5f2625(0x1c9)][_0x5f2625(0x2b9)]();}[_0xb09cf6(0x3bf)](){const _0x6f24b3=_0xb09cf6;this['_init']||(this[_0x6f24b3(0xfd)]=!0x0,this['_session'][_0x6f24b3(0xf8)][_0x6f24b3(0x368)](_0x57a56c['takeUntil'](this[_0x6f24b3(0x2d0)]))[_0x6f24b3(0x3c4)](_0x121e07=>{const _0x15413c=_0x6f24b3;_0x121e07===_0x1cadbe[_0x15413c(0x1df)][_0x15413c(0x1a4)]?this[_0x15413c(0x21b)]():this[_0x15413c(0x3a0)]();}),this['_session'][_0x6f24b3(0x100)]['pipe'](_0x57a56c[_0x6f24b3(0x2ce)](this[_0x6f24b3(0x2d0)]))[_0x6f24b3(0x3c4)](_0x52d425=>{const _0x40b56e=_0x6f24b3,_0x354517=_0x52d425[_0x40b56e(0x2af)];_0x354517===_0x46b617[_0x40b56e(0x399)]['UPDATE_CURSOR']&&this[_0x40b56e(0x1ea)](_0x52d425),_0x354517===_0x46b617[_0x40b56e(0x399)]['USERS_LEAVE']&&this[_0x40b56e(0x299)](_0x52d425);}),this[_0x6f24b3(0x104)](this[_0x6f24b3(0x291)]['onCommandExecuted'](_0xd08cbe=>{const _0x264aa8=_0x6f24b3,_0x104a14=_0xd08cbe[_0x264aa8(0x210)];_0x104a14!=null&&this['_online']&&_0xd08cbe['id']===_0x4c6158[_0x264aa8(0x3ca)]['id']&&_0x104a14[_0x264aa8(0xce)]===this[_0x264aa8(0x1c1)]&&_0x104a14[_0x264aa8(0x347)]===!0x1&&_0x104a14[_0x264aa8(0x183)]['length']>0x0&&this[_0x264aa8(0x1ff)](_0x104a14[_0x264aa8(0x183)]);})),this[_0x6f24b3(0x151)][_0x6f24b3(0x350)][_0x6f24b3(0x368)](_0x57a56c[_0x6f24b3(0x2ce)](this[_0x6f24b3(0x2d0)]))[_0x6f24b3(0x3c4)](_0x45e25f=>{const _0x371acd=_0x6f24b3;if((_0x45e25f==null?void 0x0:_0x45e25f[_0x371acd(0x1c1)])!==this['unitID'])return;const _0x3fd60d={'eventID':_0x46b617[_0x371acd(0x399)][_0x371acd(0x381)],'data':_0x45e25f};this[_0x371acd(0x1ea)](_0x3fd60d);}),this[_0x6f24b3(0x104)](this[_0x6f24b3(0x291)][_0x6f24b3(0x182)](_0x64bae6=>{const _0x28c835=_0x6f24b3;if(_0x64bae6['params']==null)return;const _0x235773=_0x64bae6[_0x28c835(0x210)];if(_0x64bae6['id']!==_0x4c6158[_0x28c835(0x102)]['id']||_0x235773[_0x28c835(0xce)]!==this[_0x28c835(0x1c1)])return;const _0x3d06c1={'id':_0x28c835(0x124),'params':_0x235773},_0x4aa334=this[_0x28c835(0x176)];for(const [_0x107d16,_0x1b5761]of _0x4aa334){const _0xc2a8fd={'id':'doc.mutation.rich-text-editing','params':{'unitId':this['unitID'],'actions':null,'textRanges':_0x1b5761['ranges']}},_0x4e84f7=this['_transformService']['transformMutation'](_0x3d06c1,_0xc2a8fd,!0x1);if(_0x46b617[_0x28c835(0x393)](_0x4e84f7))throw _0x4e84f7[_0x28c835(0x2c3)];_0x4aa334[_0x28c835(0x32b)](_0x107d16,{..._0x1b5761,'ranges':_0x4e84f7['m2Prime']['params'][_0x28c835(0x20a)]});}queueMicrotask(()=>{const _0x4279d3=_0x28c835;this[_0x4279d3(0x38e)][_0x4279d3(0x153)](_0x4aa334);});})));}['_onCursorUpdate'](_0x26712e){const _0x5a4b1a=_0xb09cf6;var _0x38ddff,_0x3d7f37;const {memberID:_0x51e25b,selection:_0x53eb73}=_0x26712e['data'],_0xd4fc62=_0x4b3d19(_0x53eb73),_0x1e7ce7=(_0x3d7f37=(_0x38ddff=this[_0x5a4b1a(0x211)][_0x5a4b1a(0x265)](this[_0x5a4b1a(0x1c1)],_0x51e25b))==null?void 0x0:_0x38ddff['name'])!=null?_0x3d7f37:_0x5a4b1a(0x34b),_0x4c66c7={'color':this[_0x5a4b1a(0x1a8)][_0x5a4b1a(0x190)](_0x51e25b),'name':_0x1e7ce7,'ranges':_0xd4fc62},_0x447fd3=this['cursorInfo'];_0x447fd3[_0x5a4b1a(0x32b)](_0x51e25b,_0x4c66c7),this[_0x5a4b1a(0x38e)][_0x5a4b1a(0x153)](_0x447fd3);}['_onCursorDelete'](_0x58f9d0){const _0x43b091=_0xb09cf6,{memberID:_0x1c6474}=_0x58f9d0[_0x43b091(0x19e)],_0x37abfe=this[_0x43b091(0x176)];_0x37abfe['delete'](_0x1c6474),this['_cursorInfo$'][_0x43b091(0x153)](_0x37abfe);}['_toggleOnline'](){const _0xf93195=_0xb09cf6;var _0xa98e1e;if(this[_0xf93195(0x2e4)]=!0x0,((_0xa98e1e=this[_0xf93195(0x10a)][_0xf93195(0x261)]())==null?void 0x0:_0xa98e1e['getUnitId']())!==this['unitID'])return;const _0x264c77=this['_injector']['get'](_0x4c6158[_0xf93195(0x1dd)])['getDocRanges']();Array['isArray'](_0x264c77)&&_0x264c77[_0xf93195(0x2a0)]>0x0&&this[_0xf93195(0x1ff)](_0x264c77);}['_toggleOffline'](){const _0x36f289=_0xb09cf6;this[_0x36f289(0x2e4)]=!0x1;}};_0x4a0d06=_0x588b0a([_0x4db006(0x2,_0x1bf86e[_0xb09cf6(0x25e)](_0x1bf86e['Injector'])),_0x4db006(0x3,_0x1bf86e['Inject'](_0x53fe7e)),_0x4db006(0x4,_0x1bf86e[_0xb09cf6(0x25e)](_0x1cadbe['MemberService'])),_0x4db006(0x5,_0x1bf86e['Inject'](_0x204057)),_0x4db006(0x6,_0x46b617['ITransformService']),_0x4db006(0x7,_0x1bf86e[_0xb09cf6(0x337)]),_0x4db006(0x8,_0x1bf86e[_0xb09cf6(0x13a)])],_0x4a0d06);var _0x2ff25a=Object[_0xb09cf6(0x2e5)],_0x5dbda0=(_0x3a7d6f,_0x3b1ed7,_0x1b4d8e,_0x56ab86)=>{const _0x7ae978=_0xb09cf6;for(var _0x4f14ce=_0x56ab86>0x1?void 0x0:_0x56ab86?_0x2ff25a(_0x3b1ed7,_0x1b4d8e):_0x3b1ed7,_0x4ec89b=_0x3a7d6f[_0x7ae978(0x2a0)]-0x1,_0x39d442;_0x4ec89b>=0x0;_0x4ec89b--)(_0x39d442=_0x3a7d6f[_0x4ec89b])&&(_0x4f14ce=_0x39d442(_0x4f14ce)||_0x4f14ce);return _0x4f14ce;},_0x31ec39=(_0x215449,_0x39ae2d)=>(_0x49c889,_0x43eccf)=>_0x39ae2d(_0x49c889,_0x43eccf,_0x215449);const _0x57f7df=0x12c,_0x1904dc=0x64,_0x1eef37=()=>{let _0x201f8c=[],_0x1b6b4=!0x1;return _0xf9c068=>{const _0x5df814=_0x23ff;_0x201f8c[_0x5df814(0xea)](_0xf9c068),_0x1b6b4||(_0x1b6b4=!0x0,setTimeout(()=>{_0x201f8c['forEach'](_0xf590e9=>_0xf590e9()),_0x201f8c=[],_0x1b6b4=!0x1;}));};};let _0x461b36=class extends _0x1bf86e[_0xb09cf6(0x134)]{constructor(_0xb724bc,_0x5054a3,_0x545fe7,_0x49e9c8,_0x547148,_0x4692ca,_0x19624c,_0x5e689f){const _0x1b5331=_0xb09cf6;super(),_0x49be5c(this,_0x1b5331(0x2e4),!0x1),_0x49be5c(this,_0x1b5331(0xfd),!0x1),_0x49be5c(this,_0x1b5331(0x38e),new _0x57a56c[(_0x1b5331(0xe1))](new Map())),_0x49be5c(this,_0x1b5331(0x24e),this[_0x1b5331(0x38e)][_0x1b5331(0x2fb)]()),_0x49be5c(this,_0x1b5331(0x1c9),new _0x57a56c[(_0x1b5331(0xe1))]([])),_0x49be5c(this,_0x1b5331(0x1cd),this[_0x1b5331(0x1c9)][_0x1b5331(0x368)](_0x57a56c[_0x1b5331(0x3aa)](_0x57f7df))),_0x49be5c(this,_0x1b5331(0x1ff),_0x1bf86e[_0x1b5331(0x1d7)]((_0x48a09e,_0x39aa3e)=>{const _0x18d232=_0x1b5331,_0xd60008={'eventID':_0x46b617[_0x18d232(0x399)][_0x18d232(0x381)],'data':{'unitID':this[_0x18d232(0x1c1)],'memberID':this[_0x18d232(0xf3)][_0x18d232(0x2ba)](),'selection':_0x497297[_0x18d232(0x251)](_0x48a09e,_0x39aa3e['range'])}};this['_session'][_0x18d232(0x13e)](_0xd60008,this[_0x18d232(0x1c1)]);},_0x1904dc)),(this[_0x1b5331(0x1c1)]=_0xb724bc,this[_0x1b5331(0xf3)]=_0x5054a3,this[_0x1b5331(0x17f)]=_0x545fe7,this[_0x1b5331(0x1a8)]=_0x49e9c8,this[_0x1b5331(0x211)]=_0x547148,this[_0x1b5331(0x10a)]=_0x4692ca,this[_0x1b5331(0x291)]=_0x19624c,this[_0x1b5331(0x1f1)]=_0x5e689f);}get[_0xb09cf6(0x176)](){const _0x25c46d=_0xb09cf6;return this[_0x25c46d(0x38e)][_0x25c46d(0x327)]();}get[_0xb09cf6(0x351)](){const _0x46225e=_0xb09cf6;return this[_0x46225e(0x1c9)]['getValue']();}[_0xb09cf6(0x1a9)](){const _0x8cfd78=_0xb09cf6;super[_0x8cfd78(0x1a9)](),this[_0x8cfd78(0x38e)][_0x8cfd78(0x153)](new Map()),this[_0x8cfd78(0x38e)][_0x8cfd78(0x2b9)](),this[_0x8cfd78(0x1c9)][_0x8cfd78(0x153)]([]),this[_0x8cfd78(0x1c9)][_0x8cfd78(0x2b9)]();}[_0xb09cf6(0x3bf)](){const _0x18fbf2=_0xb09cf6;this[_0x18fbf2(0xfd)]||(this[_0x18fbf2(0xfd)]=!0x0,this[_0x18fbf2(0xf3)][_0x18fbf2(0xf8)][_0x18fbf2(0x368)](_0x57a56c[_0x18fbf2(0x2ce)](this[_0x18fbf2(0x2d0)]))[_0x18fbf2(0x3c4)](_0x34c218=>{const _0x18571b=_0x18fbf2;_0x34c218===_0x1cadbe['SessionStatus'][_0x18571b(0x1a4)]?this[_0x18571b(0x21b)]():this['_toggleOffline']();}),this[_0x18fbf2(0xf3)][_0x18fbf2(0x100)][_0x18fbf2(0x368)](_0x57a56c[_0x18fbf2(0x2ce)](this[_0x18fbf2(0x2d0)]))[_0x18fbf2(0x3c4)](_0x30c33c=>{const _0x6d18c3=_0x18fbf2,_0x21b7b9=_0x30c33c[_0x6d18c3(0x2af)];_0x21b7b9===_0x46b617[_0x6d18c3(0x399)]['UPDATE_CURSOR']&&this[_0x6d18c3(0x1ea)](_0x30c33c),_0x21b7b9===_0x46b617['CollaborationEvent']['USERS_LEAVE']&&this[_0x6d18c3(0x299)](_0x30c33c);}),this[_0x18fbf2(0x359)](),this[_0x18fbf2(0x104)](this[_0x18fbf2(0x291)][_0x18fbf2(0x182)](_0x10212b=>{const _0x5445e8=_0x18fbf2;if(this[_0x5445e8(0x2e4)]&&_0x10212b['id']===_0x583c41[_0x5445e8(0x1c7)]['id']&&_0x10212b[_0x5445e8(0x210)][_0x5445e8(0xce)]===this[_0x5445e8(0x1c1)]){const _0x181bd7=_0x10212b['params'];this[_0x5445e8(0x1ff)](_0x181bd7[_0x5445e8(0x14e)],_0x181bd7[_0x5445e8(0x241)][0x0]);}})));}[_0xb09cf6(0x1ea)](_0x4b863f){const _0x11218d=_0xb09cf6;var _0x5e136e,_0x406004;const {memberID:_0x2b06a8,selection:_0x4dc634}=_0x4b863f[_0x11218d(0x19e)],{sheetName:_0xc99aeb,range:_0x4562f7}=_0x497297[_0x11218d(0x1fd)](_0x4dc634),_0x5f0982={'name':(_0x406004=(_0x5e136e=this['_memberService'][_0x11218d(0x265)](this[_0x11218d(0x1c1)],_0x2b06a8))==null?void 0x0:_0x5e136e['name'])!=null?_0x406004:_0x11218d(0x34b),'range':this[_0x11218d(0x2d9)](_0xc99aeb,_0x4562f7),'sheetID':_0xc99aeb,'color':this[_0x11218d(0x1a8)][_0x11218d(0x190)](_0x2b06a8),'selection':_0x4dc634},_0x4d3f3b=this[_0x11218d(0x176)];_0x4d3f3b[_0x11218d(0x32b)](_0x2b06a8,_0x5f0982),this[_0x11218d(0x38e)][_0x11218d(0x153)](_0x4d3f3b);}['_onCursorDelete'](_0x48c67d){const _0x4077dc=_0xb09cf6,{memberID:_0x53e3cf}=_0x48c67d[_0x4077dc(0x19e)],_0x399065=this[_0x4077dc(0x176)];_0x399065['delete'](_0x53e3cf),this[_0x4077dc(0x38e)]['next'](_0x399065);}[_0xb09cf6(0x2d9)](_0x49ddd5,_0x434ce5){const _0x4b5713=_0xb09cf6;var _0x4b9901,_0x2c2cd8;const _0x9d5697=(_0x2c2cd8=(_0x4b9901=this['_univerInstanceService']['getUniverSheetInstance'](this['unitID']))==null?void 0x0:_0x4b9901[_0x4b5713(0x15c)](_0x49ddd5))==null?void 0x0:_0x2c2cd8['getMergeData']();return(_0x9d5697==null?void 0x0:_0x9d5697[_0x4b5713(0x27f)](_0x66f03c=>_0x1bf86e[_0x4b5713(0x275)][_0x4b5713(0x18c)](_0x66f03c,_0x434ce5)))||_0x434ce5;}['_onRefRangeChange'](){const _0x2d7876=_0xb09cf6,_0x1a1010=new _0x1bf86e[(_0x2d7876(0x313))](),_0x32f1c6=_0x1eef37(),_0x51dda8=()=>{const _0x40552b=_0x2d7876;_0x1a1010[_0x40552b(0x1a9)]();const _0x16acec=(_0x32e520,_0x5b56db,_0x4ced4c,_0x113dfe)=>{const _0x53025e=_0x40552b;let _0x376274=[];switch(_0x32e520['id']){case _0x583c41[_0x53025e(0x10d)][_0x53025e(0x3b2)]:{_0x376274=_0x583c41[_0x53025e(0x325)](_0x32e520,_0x113dfe);break;}case _0x583c41[_0x53025e(0x10d)][_0x53025e(0x2d8)]:{_0x376274=_0x583c41[_0x53025e(0x2b6)](_0x32e520,_0x113dfe);break;}case _0x583c41['EffectRefRangId']['InsertColCommandId']:{_0x376274=_0x583c41[_0x53025e(0x220)](_0x32e520,_0x113dfe);break;}case _0x583c41[_0x53025e(0x10d)][_0x53025e(0x28e)]:{_0x376274=_0x583c41[_0x53025e(0x321)](_0x32e520,_0x113dfe);break;}case _0x583c41['EffectRefRangId'][_0x53025e(0x3af)]:{_0x376274=_0x583c41[_0x53025e(0x1d0)](_0x32e520,_0x113dfe);break;}case _0x583c41[_0x53025e(0x10d)]['InsertRowCommandId']:{_0x376274=_0x583c41['handleInsertRow'](_0x32e520,_0x113dfe);break;}case _0x583c41['EffectRefRangId']['MoveRangeCommandId']:{_0x376274=_0x583c41['handleMoveRange'](_0x32e520,_0x113dfe);break;}case _0x583c41[_0x53025e(0x10d)][_0x53025e(0x30e)]:{_0x376274=_0x583c41['handleIRemoveCol'](_0x32e520,_0x113dfe);break;}case _0x583c41[_0x53025e(0x10d)]['RemoveRowCommandId']:{_0x376274=_0x583c41['handleIRemoveRow'](_0x32e520,_0x113dfe);break;}}const _0x37884c=_0x583c41[_0x53025e(0x16e)](_0x376274,_0x113dfe),_0x4efd59=this[_0x53025e(0x176)][_0x53025e(0x167)](_0x5b56db);if(_0x4efd59&&_0x37884c){const _0x2e6411={..._0x4efd59,'range':_0x37884c};this[_0x53025e(0x176)]['set'](_0x5b56db,_0x2e6411),_0x32f1c6(()=>{const _0x5541de=_0x53025e,_0x1706ce=this[_0x5541de(0x1f1)][_0x5541de(0x18d)](_0x37884c,_0x16dd94=>(_0x1706ce[_0x5541de(0x1a9)](),_0x16acec(_0x16dd94,_0x5b56db,_0x4ced4c,_0x37884c)));_0x1a1010['add'](_0x1706ce);});}return{'redos':[],'undos':[]};};this['cursorInfo'][_0x40552b(0x2c5)]((_0x5de4c3,_0x2adc4f)=>{const _0x5348d1=_0x40552b,{range:_0x479054,sheetID:_0x16df42}=_0x5de4c3,_0x1f9bea=this[_0x5348d1(0x1f1)][_0x5348d1(0x18d)](_0x479054,_0x214d1b=>(_0x1f9bea[_0x5348d1(0x1a9)](),_0x16acec(_0x214d1b,_0x2adc4f,_0x16df42,_0x479054)));_0x1a1010[_0x5348d1(0x384)](_0x1f9bea);});};this[_0x2d7876(0x104)](_0x1bf86e[_0x2d7876(0x127)](this[_0x2d7876(0x38e)]['subscribe'](()=>{_0x51dda8();})));}[_0xb09cf6(0x21b)](){const _0xfc8c07=_0xb09cf6;var _0xbe97aa,_0xe3ef39;if(this[_0xfc8c07(0x2e4)]=!0x0,((_0xbe97aa=this['_univerInstanceService']['getFocusedUnit']())==null?void 0x0:_0xbe97aa[_0xfc8c07(0x346)]())!==this['unitID'])return;const _0x35268b=(_0xe3ef39=this[_0xfc8c07(0x17f)][_0xfc8c07(0x167)](_0x583c41[_0xfc8c07(0x2b8)])[_0xfc8c07(0x1e2)]())==null?void 0x0:_0xe3ef39[0x0],_0x26ee67=this[_0xfc8c07(0x10a)][_0xfc8c07(0x37b)](_0x1bf86e[_0xfc8c07(0x2b7)][_0xfc8c07(0x34d)])[_0xfc8c07(0x1be)]();_0x35268b&&_0x26ee67&&this['_updateLocalCursor'](_0x26ee67[_0xfc8c07(0x12b)](),_0x35268b);}[_0xb09cf6(0x3a0)](){this['_online']=!0x1;}};_0x461b36=_0x5dbda0([_0x31ec39(0x2,_0x1bf86e[_0xb09cf6(0x25e)](_0x1bf86e['Injector'])),_0x31ec39(0x3,_0x1bf86e['Inject'](_0x53fe7e)),_0x31ec39(0x4,_0x1bf86e[_0xb09cf6(0x25e)](_0x1cadbe[_0xb09cf6(0x304)])),_0x31ec39(0x5,_0x1bf86e['IUniverInstanceService']),_0x31ec39(0x6,_0x1bf86e[_0xb09cf6(0x13a)]),_0x31ec39(0x7,_0x1bf86e[_0xb09cf6(0x25e)](_0x583c41[_0xb09cf6(0x18a)]))],_0x461b36);var _0xc6b1f2=Object[_0xb09cf6(0x2e5)],_0x2d9a43=(_0x422403,_0x282295,_0x24566f,_0x18efc9)=>{const _0x2d76cf=_0xb09cf6;for(var _0x3711bf=_0x18efc9>0x1?void 0x0:_0x18efc9?_0xc6b1f2(_0x282295,_0x24566f):_0x282295,_0x53e42d=_0x422403[_0x2d76cf(0x2a0)]-0x1,_0x29cdc9;_0x53e42d>=0x0;_0x53e42d--)(_0x29cdc9=_0x422403[_0x53e42d])&&(_0x3711bf=_0x29cdc9(_0x3711bf)||_0x3711bf);return _0x3711bf;},_0x1c4a2b=(_0x367a78,_0x44e4ba)=>(_0x1672a2,_0x5a5ccf)=>_0x44e4ba(_0x1672a2,_0x5a5ccf,_0x367a78);let _0xe7f68=class extends _0x1bf86e['RxDisposable']{constructor(_0x35a4aa,_0x24a7c8,_0x1af0fe){const _0x8d7001=_0xb09cf6;super(),_0x49be5c(this,_0x8d7001(0x1bd),new Map()),_0x49be5c(this,_0x8d7001(0x38b),new _0x57a56c[(_0x8d7001(0x330))]()),(this[_0x8d7001(0x10a)]=_0x35a4aa,this[_0x8d7001(0x17f)]=_0x24a7c8,this[_0x8d7001(0x3c8)]=_0x1af0fe,this[_0x8d7001(0xfd)]());}['dispose'](){const _0xdf5d81=_0xb09cf6;super[_0xdf5d81(0x1a9)](),this[_0xdf5d81(0x38b)][_0xdf5d81(0x2b9)](),this['_entities'][_0xdf5d81(0x2c5)](_0x24478e=>_0x24478e[_0xdf5d81(0x1a9)]());}[_0xb09cf6(0x372)](_0xc4c375){const _0x32ef21=_0xb09cf6;return this[_0x32ef21(0x1bd)][_0x32ef21(0x3c5)](_0xc4c375)?this[_0x32ef21(0x1bd)][_0x32ef21(0x167)](_0xc4c375)['cursorInfo$']:this[_0x32ef21(0x38b)][_0x32ef21(0x368)](_0x57a56c[_0x32ef21(0x37c)](_0x229c9c=>_0x229c9c[_0x32ef21(0x1c1)]===_0xc4c375),_0x57a56c['switchMap'](_0x496686=>_0x496686[_0x32ef21(0x24e)]));}[_0xb09cf6(0xfd)](){const _0x33bf6d=_0xb09cf6;this[_0x33bf6d(0x10a)][_0x33bf6d(0x305)](_0x1bf86e[_0x33bf6d(0x2b7)][_0x33bf6d(0x34d)])[_0x33bf6d(0x368)](_0x57a56c[_0x33bf6d(0x2ce)](this[_0x33bf6d(0x2d0)]))[_0x33bf6d(0x3c4)](async _0x45f46e=>{const _0x4f23d6=_0x33bf6d,_0x122168=_0x45f46e[_0x4f23d6(0x346)](),_0x27b01b=await this[_0x4f23d6(0x331)](_0x122168);this[_0x4f23d6(0x38b)]['next'](_0x27b01b),this['_entities'][_0x4f23d6(0x32b)](_0x122168,_0x27b01b);}),this[_0x33bf6d(0x10a)][_0x33bf6d(0x305)](_0x1bf86e['UniverInstanceType']['UNIVER_DOC'])['pipe'](_0x57a56c[_0x33bf6d(0x2ce)](this[_0x33bf6d(0x2d0)]))[_0x33bf6d(0x368)](_0x57a56c[_0x33bf6d(0x37c)](_0x163fe4=>!_0x163fe4[_0x33bf6d(0x346)]()['startsWith']('__')))[_0x33bf6d(0x3c4)](async _0x56c725=>{const _0x46be8d=_0x33bf6d,_0x1b3e4b=_0x56c725['getUnitId'](),_0x8dfe17=await this['_startDocCollabCursor'](_0x1b3e4b);this[_0x46be8d(0x38b)][_0x46be8d(0x153)](_0x8dfe17),this[_0x46be8d(0x1bd)][_0x46be8d(0x32b)](_0x1b3e4b,_0x8dfe17);}),_0x57a56c[_0x33bf6d(0x207)](this[_0x33bf6d(0x10a)]['getTypeOfUnitDisposed$'](_0x1bf86e[_0x33bf6d(0x2b7)][_0x33bf6d(0x2ad)]),this['_univerInstanceService'][_0x33bf6d(0x1c5)](_0x1bf86e[_0x33bf6d(0x2b7)][_0x33bf6d(0x34d)]))[_0x33bf6d(0x368)](_0x57a56c[_0x33bf6d(0x2ce)](this[_0x33bf6d(0x2d0)]))[_0x33bf6d(0x3c4)](_0x26da10=>{const _0x29d26d=_0x33bf6d,_0x813638=_0x26da10[_0x29d26d(0x346)](),_0x186938=this['_entities'][_0x29d26d(0x167)](_0x813638);_0x186938&&(_0x186938[_0x29d26d(0x1a9)](),this['_entities'][_0x29d26d(0x3b4)](_0x813638));});}async[_0xb09cf6(0x331)](_0x19f7ae){const _0x24b9a4=_0xb09cf6,_0xf5d88c=await this[_0x24b9a4(0x3c8)][_0x24b9a4(0x135)](_0x19f7ae),_0x47e59c=this[_0x24b9a4(0x17f)][_0x24b9a4(0x123)](_0x461b36,_0x19f7ae,_0xf5d88c);return _0x47e59c[_0x24b9a4(0x3bf)](),_0x47e59c;}async['_startDocCollabCursor'](_0x42d269){const _0x56d2e4=_0xb09cf6,_0x3258c2=await this[_0x56d2e4(0x3c8)][_0x56d2e4(0x135)](_0x42d269),_0x58a0f7=this['_injector']['createInstance'](_0x4a0d06,_0x42d269,_0x3258c2);return _0x58a0f7[_0x56d2e4(0x3bf)](),_0x58a0f7;}};_0xe7f68=_0x2d9a43([_0x1c4a2b(0x0,_0x1bf86e[_0xb09cf6(0x337)]),_0x1c4a2b(0x1,_0x1bf86e[_0xb09cf6(0x25e)](_0x1bf86e[_0xb09cf6(0x269)])),_0x1c4a2b(0x2,_0x1bf86e['Inject'](_0x1cadbe[_0xb09cf6(0x1ad)]))],_0xe7f68);const _0x6880d2=0x14,_0x9c1f89=0xc8,_0x2ff622=0x4,_0x3e175f=0x5;function _0x4a342b(_0x5167cc,_0x50804e){const _0x43e8c0=_0xb09cf6;let {radius:_0x15b31f,width:_0x3aa585,height:_0x41cdd8}=_0x50804e;_0x15b31f=_0x15b31f!=null?_0x15b31f:0x0,_0x3aa585=_0x3aa585!=null?_0x3aa585:0x1e,_0x41cdd8=_0x41cdd8!=null?_0x41cdd8:0x1e;let _0x109227=0x0,_0x45fdd0=0x0,_0xe23b2c=0x0;_0x109227=_0x45fdd0=_0xe23b2c=Math[_0x43e8c0(0xdc)](_0x15b31f,_0x3aa585/0x2,_0x41cdd8/0x2),_0x5167cc[_0x43e8c0(0x20f)](),_0x5167cc[_0x43e8c0(0x1f4)](_0x109227,0x0),_0x5167cc['lineTo'](_0x3aa585-_0x45fdd0,0x0),_0x5167cc[_0x43e8c0(0x1a1)](_0x3aa585-_0x45fdd0,_0x45fdd0,_0x45fdd0,Math['PI']*0x3/0x2,0x0,!0x1),_0x5167cc[_0x43e8c0(0x352)](_0x3aa585,_0x41cdd8-_0xe23b2c),_0x5167cc[_0x43e8c0(0x1a1)](_0x3aa585-_0xe23b2c,_0x41cdd8-_0xe23b2c,_0xe23b2c,0x0,Math['PI']/0x2,!0x1),_0x5167cc[_0x43e8c0(0x352)](0x0,_0x41cdd8),_0x5167cc[_0x43e8c0(0x352)](0x0,_0x109227),_0x5167cc[_0x43e8c0(0x1a1)](_0x109227,_0x109227,_0x109227,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x5167cc[_0x43e8c0(0xe8)](),_0x50804e[_0x43e8c0(0x25b)]&&(_0x5167cc[_0x43e8c0(0x2da)](),_0x5167cc[_0x43e8c0(0x274)]=_0x50804e[_0x43e8c0(0x25b)],_0x50804e[_0x43e8c0(0x395)]===_0x43e8c0(0x16b)?_0x5167cc[_0x43e8c0(0x25b)](_0x43e8c0(0x16b)):_0x5167cc[_0x43e8c0(0x25b)](),_0x5167cc[_0x43e8c0(0x222)]());}class _0x19a583 extends _0x5dba15[_0xb09cf6(0x1a7)]{constructor(_0x235cc0,_0x21cfbb){const _0x31f130=_0xb09cf6;super(_0x235cc0,_0x21cfbb),_0x49be5c(this,_0x31f130(0x234)),_0x49be5c(this,'text'),(this[_0x31f130(0x234)]=_0x21cfbb==null?void 0x0:_0x21cfbb[_0x31f130(0x234)],this[_0x31f130(0x376)]=_0x21cfbb==null?void 0x0:_0x21cfbb['text']);}static[_0xb09cf6(0x10b)](_0x503691,_0x29a3cb){const _0x161c16=_0xb09cf6,{text:_0x29f98c,color:_0x27bd70}=_0x29a3cb;_0x503691[_0x161c16(0x2da)](),_0x503691[_0x161c16(0x2c7)]=_0x161c16(0x1f5);const _0x36e4af=_0x503691['measureText'](_0x29f98c)[_0x161c16(0x2e6)],_0x402113=Math[_0x161c16(0xdc)](_0x36e4af+0x2*_0x2ff622,_0x9c1f89);_0x4a342b(_0x503691,{'height':_0x6880d2,'radius':0x4,'width':_0x402113,'fill':_0x27bd70}),_0x503691[_0x161c16(0x274)]=_0x161c16(0x1e7);const _0xed320b=_0x2ff622,_0x4b4083=_0x6880d2-_0x3e175f,_0x419a7a=_0x9c1f89-0x2*_0x2ff622;if(_0x36e4af>_0x419a7a){let _0x35f137='',_0x46787d=0x0;for(const _0x8f2f0c of _0x29f98c){const _0xe55685=_0x503691[_0x161c16(0x312)](_0x8f2f0c)[_0x161c16(0x2e6)];if(_0x46787d+_0xe55685<=_0x419a7a-_0x503691[_0x161c16(0x312)]('...')[_0x161c16(0x2e6)])_0x35f137+=_0x8f2f0c,_0x46787d+=_0xe55685;else{_0x35f137+=_0x161c16(0x339);break;}}_0x503691['fillText'](_0x35f137,_0xed320b,_0x4b4083);}else _0x503691[_0x161c16(0x319)](_0x29f98c,_0xed320b,_0x4b4083);_0x503691[_0x161c16(0x222)]();}[_0xb09cf6(0x320)](_0xcf452c){_0x19a583['drawWith'](_0xcf452c,this);}}const _0x3d73f5=_0xb09cf6(0x31a),_0x4a6246=_0xb09cf6(0x1b4),_0x268a59=_0xb09cf6(0x33f),_0x3db17f=0x6,_0x2e6c04=1.5,_0x394313=0x4,_0x5eeb08=1.5,_0xffb2bf='rgba(255,\x20255,\x20255,\x200.01)';class _0x342eb0{constructor(_0x162ee5,_0xd5000c,_0xcafd04,_0x262371){const _0x66fc9f=_0xb09cf6;_0x49be5c(this,_0x66fc9f(0x28b),[]),_0x49be5c(this,'_anchor',null),_0x49be5c(this,'_textBubble',null),_0x49be5c(this,_0x66fc9f(0x10c),null),_0x49be5c(this,_0x66fc9f(0x2bf),null),_0x49be5c(this,_0x66fc9f(0x306),null),(this[_0x66fc9f(0x280)]=_0x162ee5,this[_0x66fc9f(0x1c0)]=_0xd5000c,this[_0x66fc9f(0x212)]=_0xcafd04,this[_0x66fc9f(0x29d)]=_0x262371,this[_0x66fc9f(0xfa)]());}set[_0xb09cf6(0x14b)](_0x4e7338){const _0x460c55=_0xb09cf6;_0x4e7338?(this[_0x460c55(0x10c)]&&this['_anchorDot'][_0x460c55(0x1b8)](),this[_0x460c55(0x390)]&&this['_textBubble'][_0x460c55(0x3c1)]()):(this[_0x460c55(0x10c)]&&this[_0x460c55(0x10c)][_0x460c55(0x3c1)](),this['_textBubble']&&this[_0x460c55(0x390)]['hide']());}[_0xb09cf6(0x1a9)](){const _0x538f62=_0xb09cf6;for(const _0x137283 of this[_0x538f62(0x28b)])_0x137283[_0x538f62(0x1a9)]();this[_0x538f62(0x390)]&&this[_0x538f62(0x390)][_0x538f62(0x1a9)](),this[_0x538f62(0x10c)]&&this[_0x538f62(0x10c)][_0x538f62(0x1a9)](),this['_anchor']&&this[_0x538f62(0x240)][_0x538f62(0x1a9)](),this[_0x538f62(0x306)]&&this[_0x538f62(0x306)]();}[_0xb09cf6(0xfa)](){const _0x10306d=_0xb09cf6;var _0x4ae62d;const {_docSkeleton:_0x24f76e,_document:_0x1cb7f4}=this,{color:_0x64ebb6,name:_0x5b7644,ranges:_0x1cf9ae}=this['_cursor'],_0x4d5286=_0x1cb7f4[_0x10306d(0x196)](),{docsLeft:_0x5e872d,docsTop:_0x3c67e6}=_0x4d5286,_0x47edf9=new _0x24bca5[(_0x10306d(0x249))](_0x4d5286,_0x24f76e);for(const {startOffset:_0x3d7a45,endOffset:_0x57a5b5,rangeType:_0x4f4b36,segmentId:_0x5e560c,segmentPage:_0x89f093,collapsed:_0x77ec1b,isActive:_0x65a440}of _0x1cf9ae){const _0xaba6cf=_0x24f76e[_0x10306d(0x1e6)](_0x3d7a45,!0x0,_0x5e560c,_0x89f093);let _0x53d6f3=_0x24f76e[_0x10306d(0x1e6)](_0x57a5b5,!0x0,_0x5e560c,_0x89f093);if(_0x53d6f3==null&&(_0x53d6f3=_0x24f76e[_0x10306d(0x1e6)](_0x57a5b5-0x1,!0x1,_0x5e560c,_0x89f093)),_0x65a440){const {contentBoxPointGroup:_0x205d2a}=_0x47edf9[_0x10306d(0x2f1)](_0x53d6f3,_0x53d6f3);if(_0x205d2a['length']===0x0)continue;this[_0x10306d(0x2dc)](_0x64ebb6,_0x205d2a,_0x5e872d,_0x3c67e6,_0x5b7644),this[_0x10306d(0x306)]=this[_0x10306d(0x146)]();}if(_0xaba6cf&&_0x53d6f3){if(_0x4f4b36===_0x1bf86e[_0x10306d(0x26f)]['RECT']){const _0x26e2b7=new _0x24bca5[(_0x10306d(0x24a))](_0x4d5286,_0x24f76e),{pointGroup:_0x570eef}=(_0x4ae62d=_0x26e2b7[_0x10306d(0x2f1)](_0xaba6cf,_0x53d6f3))!=null?_0x4ae62d:{};if(_0x570eef==null||_0x570eef['length']===0x0)continue;this[_0x10306d(0x1b0)](_0x64ebb6,_0x570eef,_0x5e872d,_0x3c67e6);}else{if(!_0x77ec1b){const {borderBoxPointGroup:_0x5db028}=_0x47edf9[_0x10306d(0x2f1)](_0xaba6cf,_0x53d6f3);if(_0x5db028['length']===0x0)continue;this[_0x10306d(0x1ed)](_0x64ebb6,_0x5db028,_0x5e872d,_0x3c67e6);}}}}}[_0xb09cf6(0x2dc)](_0x555811,_0xd37ff2,_0x4e94b1,_0x297fc1,_0x510ce5){const _0x26b5d4=_0xb09cf6,_0x296cf=this['_getAnchorBounding'](_0xd37ff2),{left:_0x40636c,top:_0x9a3dc8,height:_0x107e61}=_0x296cf,_0x4d394a=this[_0x26b5d4(0x39f)](),_0x3d11ed=_0x5eeb08/_0x4d394a,_0x2f83b3=new _0x5dba15[(_0x26b5d4(0x35e))](_0x3d73f5+_0x1bf86e[_0x26b5d4(0x2c6)](_0x3db17f),{'left':_0x40636c+_0x4e94b1-_0x3d11ed,'top':_0x9a3dc8+_0x297fc1,'height':_0x107e61,'width':_0x2e6c04,'fill':_0x555811||_0x5dba15[_0x26b5d4(0xd3)](_0x1bf86e[_0x26b5d4(0x223)][_0x26b5d4(0x1d9)],0x0),'strokeWidth':_0x3d11ed,'stroke':_0xffb2bf,'evented':!0x0});this['_anchor']=_0x2f83b3,this['_scene'][_0x26b5d4(0x2f7)](_0x2f83b3,_0x24bca5[_0x26b5d4(0x276)]);const _0x445df9=new _0x5dba15['Rect'](_0x3d73f5+_0x1bf86e[_0x26b5d4(0x2c6)](_0x3db17f),{'left':_0x40636c+_0x4e94b1-_0x3d11ed,'top':_0x9a3dc8+_0x297fc1-_0x394313/0x2,'height':_0x394313,'width':_0x394313,'fill':_0x555811||_0x5dba15[_0x26b5d4(0xd3)](_0x1bf86e[_0x26b5d4(0x223)]['black'],0x0),'strokeWidth':0x0,'stroke':_0x555811||_0x5dba15[_0x26b5d4(0xd3)](_0x1bf86e[_0x26b5d4(0x223)][_0x26b5d4(0x1d9)],0x0),'evented':!0x1});this['_anchorDot']=_0x445df9,this[_0x26b5d4(0x1c0)]['addObject'](_0x445df9,_0x24bca5['TEXT_RANGE_LAYER_INDEX']);const _0x545fdb=new _0x19a583(_0x3d73f5+_0x1bf86e[_0x26b5d4(0x2c6)](_0x3db17f),{'left':_0x40636c+_0x4e94b1-_0x3d11ed,'top':_0x9a3dc8+_0x297fc1-_0x6880d2,'text':_0x510ce5,'color':_0x555811});this[_0x26b5d4(0x390)]=_0x545fdb,this[_0x26b5d4(0x1c0)][_0x26b5d4(0x2f7)](_0x545fdb,_0x24bca5['TEXT_RANGE_LAYER_INDEX']),this[_0x26b5d4(0x14b)]=!0x1;}[_0xb09cf6(0x146)](){const _0x15bed3=_0xb09cf6,_0x3948b2=this[_0x15bed3(0x240)]['onPointerEnter$'][_0x15bed3(0x14f)](()=>{const _0x2a2648=_0x15bed3;this[_0x2a2648(0x14b)]=!0x0;}),_0x12c7f1=this['_anchor'][_0x15bed3(0x2c1)][_0x15bed3(0x14f)](()=>{const _0x31d113=_0x15bed3;this[_0x31d113(0x2bf)]&&clearTimeout(this[_0x31d113(0x2bf)]),this['_hideTimer']=setTimeout(()=>{const _0x3b4ffa=_0x31d113;this[_0x3b4ffa(0x14b)]=!0x1;},0x7d0);});return()=>{const _0x4aa02c=_0x15bed3;_0x3948b2[_0x4aa02c(0x2c2)](),_0x12c7f1[_0x4aa02c(0x2c2)]();};}[_0xb09cf6(0x1ed)](_0x4e792c,_0x7605b1,_0x52c845,_0x4f0f1){const _0x1f22c5=_0xb09cf6,_0xb7a67b=new _0x1bf86e['ColorKit'](_0x4e792c)[_0x1f22c5(0x2c9)](0.2)[_0x1f22c5(0x1d8)](),_0x58310d=new _0x5dba15[(_0x1f22c5(0x36a))](_0x4a6246+_0x1bf86e[_0x1f22c5(0x2c6)](_0x3db17f),{'pointsGroup':_0x7605b1,'fill':_0xb7a67b||_0x5dba15[_0x1f22c5(0xd3)](_0x1bf86e['COLORS'][_0x1f22c5(0x1d9)],0.2),'left':_0x52c845,'top':_0x4f0f1,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x1f22c5(0x28b)][_0x1f22c5(0xea)](_0x58310d),this[_0x1f22c5(0x1c0)][_0x1f22c5(0x2f7)](_0x58310d,_0x24bca5[_0x1f22c5(0x276)]);}[_0xb09cf6(0x1b0)](_0x2538ad,_0x12871f,_0x496b15,_0x2b6de5){const _0x47e933=_0xb09cf6,_0x46dd0a=new _0x1bf86e[(_0x47e933(0x1b3))](_0x2538ad)['setAlpha'](0.2)[_0x47e933(0x1d8)](),_0x3d8012=new _0x5dba15[(_0x47e933(0x36a))](_0x268a59+_0x1bf86e[_0x47e933(0x2c6)](_0x3db17f),{'pointsGroup':_0x12871f,'fill':_0x46dd0a||_0x5dba15[_0x47e933(0xd3)](_0x1bf86e[_0x47e933(0x223)][_0x47e933(0x1d9)],0.2),'left':_0x496b15,'top':_0x2b6de5,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x47e933(0x28b)][_0x47e933(0xea)](_0x3d8012),this[_0x47e933(0x1c0)][_0x47e933(0x2f7)](_0x3d8012,_0x24bca5[_0x47e933(0x276)]);}[_0xb09cf6(0x1b9)](_0x516aa0){const _0x378b65=_0x516aa0[0x0],_0x5c8bd4=_0x378b65[0x0],_0x3b6d87=_0x378b65[0x2],{x:_0x2b9327,y:_0x5c7c73}=_0x5c8bd4,{x:_0x50a73d,y:_0x5ea915}=_0x3b6d87;return{'left':_0x2b9327,'top':_0x5c7c73,'width':_0x50a73d-_0x2b9327,'height':_0x5ea915-_0x5c7c73};}['_getScale'](){const _0x1f2828=_0xb09cf6,{scaleX:_0x65849e,scaleY:_0x237610}=this[_0x1f2828(0x1c0)][_0x1f2828(0x17a)]();return Math['max'](_0x65849e,_0x237610);}}var _0x1d3de6=Object['getOwnPropertyDescriptor'],_0x1648e1=(_0x233c38,_0x43a885,_0x2bc5cc,_0x5afa5a)=>{for(var _0x517dfd=_0x5afa5a>0x1?void 0x0:_0x5afa5a?_0x1d3de6(_0x43a885,_0x2bc5cc):_0x43a885,_0x4ffe3e=_0x233c38['length']-0x1,_0x69ef7b;_0x4ffe3e>=0x0;_0x4ffe3e--)(_0x69ef7b=_0x233c38[_0x4ffe3e])&&(_0x517dfd=_0x69ef7b(_0x517dfd)||_0x517dfd);return _0x517dfd;},_0x5b392d=(_0x46033c,_0x295dfd)=>(_0x2872b0,_0x53cb9c)=>_0x295dfd(_0x2872b0,_0x53cb9c,_0x46033c);let _0xabe3bb=class extends _0x1bf86e[_0xb09cf6(0x134)]{constructor(_0x17a0ac,_0x588ce7,_0x485089,_0x5ce950,_0xa68a3){const _0x32f95c=_0xb09cf6;super(),_0x49be5c(this,_0x32f95c(0x114),[]),_0x49be5c(this,_0x32f95c(0x2cd),[]),(this[_0x32f95c(0x171)]=_0x17a0ac,this[_0x32f95c(0x253)]=_0x588ce7,this[_0x32f95c(0x173)]=_0x485089,this['_commandService']=_0x5ce950,this[_0x32f95c(0x28f)]=_0xa68a3,this[_0x32f95c(0xfd)]());}[_0xb09cf6(0xfd)](){const _0x472ebf=_0xb09cf6,_0x774a86=this[_0x472ebf(0x171)][_0x472ebf(0xce)],_0x4c0df8=this[_0x472ebf(0x253)];this[_0x472ebf(0x104)](_0x57a56c[_0x472ebf(0x388)]([this[_0x472ebf(0x173)][_0x472ebf(0x372)](_0x774a86),this[_0x472ebf(0x28f)][_0x472ebf(0x1ae)]])['pipe'](_0x57665e[_0x472ebf(0x365)](([_0x2ebb02,_0x4f5ed8])=>({'skeleton':_0x4c0df8[_0x472ebf(0xe7)](),'cursors':[..._0x2ebb02[_0x472ebf(0x2fc)]()][_0x472ebf(0x14c)](_0x108959=>({..._0x108959,'color':this[_0x472ebf(0x28f)][_0x472ebf(0x116)](_0x108959['color'])}))})))[_0x472ebf(0x3c4)](_0x47c5b6=>{const _0x335f68=_0x472ebf;if(this[_0x335f68(0x17d)](),_0x47c5b6){const {skeleton:_0x4a3b64,cursors:_0x505837}=_0x47c5b6;this[_0x335f68(0x191)](_0x4a3b64,_0x505837);}})),this[_0x472ebf(0x2a1)](),this['_initCommandExecutedListener']();}[_0xb09cf6(0x191)](_0x4838d8,_0x17b901){const _0x38f97d=_0xb09cf6,{scene:_0x3b67fa,mainComponent:_0x35b712}=this['_context'],_0x58e642=_0x17b901[_0x38f97d(0x365)](_0x324d85=>new _0x342eb0(_0x324d85,_0x3b67fa,_0x4838d8,_0x35b712));this[_0x38f97d(0x114)]=_0x58e642,this[_0x38f97d(0x2cd)]=_0x17b901;}[_0xb09cf6(0x225)](){const _0x3c4591=_0xb09cf6;this[_0x3c4591(0x17d)]();const {scene:_0x4024cc,mainComponent:_0x3faa4a}=this[_0x3c4591(0x171)],_0x240542=this[_0x3c4591(0x253)]['getSkeleton'](),_0x1f01af=this[_0x3c4591(0x2cd)][_0x3c4591(0x365)](_0x691256=>new _0x342eb0(_0x691256,_0x4024cc,_0x240542,_0x3faa4a));this[_0x3c4591(0x114)]=_0x1f01af;}[_0xb09cf6(0x17d)](){const _0x40e15a=_0xb09cf6;this['_cursorShapes'][_0x40e15a(0x2c5)](_0x37db75=>_0x37db75[_0x40e15a(0x1a9)]()),this[_0x40e15a(0x114)]=[];}[_0xb09cf6(0x219)](){const _0x38ffd4=_0xb09cf6,_0x2f23fd=[_0x24bca5[_0x38ffd4(0x26b)]['id']];this[_0x38ffd4(0x104)](this['_commandService'][_0x38ffd4(0x182)](_0x59e9dd=>{const _0x154c7b=_0x38ffd4;_0x2f23fd['includes'](_0x59e9dd['id'])&&_0x59e9dd[_0x154c7b(0x210)]['unitId']===this[_0x154c7b(0x171)]['unitId']&&this['_refreshCollabCursors']();}));}[_0xb09cf6(0x2a1)](){const _0x4cdbec=_0xb09cf6;this[_0x4cdbec(0x104)](_0x1bf86e[_0x4cdbec(0x1bc)](this['_context'][_0x4cdbec(0x2df)][_0x4cdbec(0x11d)])[_0x4cdbec(0x368)](_0x57665e['filter'](_0x4100cc=>_0x4100cc[_0x4cdbec(0x2db)]===_0x5dba15[_0x4cdbec(0x1a6)][_0x4cdbec(0x332)]),_0x57665e['throttleTime'](0x10))[_0x4cdbec(0x3c4)](()=>{const _0x5e6d04=_0x4cdbec;this[_0x5e6d04(0x225)]();}));}};_0xabe3bb=_0x1648e1([_0x5b392d(0x1,_0x1bf86e[_0xb09cf6(0x25e)](_0x4c6158[_0xb09cf6(0x317)])),_0x5b392d(0x2,_0x1bf86e[_0xb09cf6(0x25e)](_0xe7f68)),_0x5b392d(0x3,_0x1bf86e[_0xb09cf6(0x13a)]),_0x5b392d(0x4,_0x1bf86e[_0xb09cf6(0x25e)](_0x1bf86e[_0xb09cf6(0xee)]))],_0xabe3bb);const _0x467d7a=0x1,_0x2deb13=1.5;class _0x237cb7 extends _0x5dba15['Shape']{constructor(_0x3a1700,_0x3bd554){const _0x5e0e98=_0xb09cf6;super(_0x3a1700,_0x3bd554),_0x49be5c(this,'_color'),_0x49be5c(this,_0x5e0e98(0x160),!0x1),_0x49be5c(this,'_range'),_0x49be5c(this,'_name',''),_0x49be5c(this,_0x5e0e98(0x396),_0x5e0e98(0x1c2)),_0x49be5c(this,_0x5e0e98(0x161)),(_0x3bd554&&this[_0x5e0e98(0x32d)](_0x3bd554),this[_0x5e0e98(0x258)]['subscribeEvent'](()=>this[_0x5e0e98(0x32d)]({'hovered':!0x0})),this['onPointerLeave$'][_0x5e0e98(0x14f)](()=>this[_0x5e0e98(0x32d)]({'hovered':!0x1})));}[_0xb09cf6(0x32d)](_0xf79140){const _0x151df1=_0xb09cf6;var _0x1e1892,_0x34970e,_0x24754d,_0x4b701d,_0x2ab9b8,_0xfe5ba4;this[_0x151df1(0x15d)]=(_0x1e1892=_0xf79140[_0x151df1(0x234)])!=null?_0x1e1892:this[_0x151df1(0x15d)],this[_0x151df1(0x160)]=(_0x34970e=_0xf79140[_0x151df1(0x3a6)])!=null?_0x34970e:this[_0x151df1(0x160)],this[_0x151df1(0x142)]=(_0x24754d=_0xf79140[_0x151df1(0x33e)])!=null?_0x24754d:this[_0x151df1(0x142)],this[_0x151df1(0x119)]=(_0x4b701d=_0xf79140[_0x151df1(0x385)])!=null?_0x4b701d:this['_name'],this[_0x151df1(0x396)]=(_0x2ab9b8=_0xf79140[_0x151df1(0x2fd)])!=null?_0x2ab9b8:this[_0x151df1(0x396)],this[_0x151df1(0x161)]=(_0xfe5ba4=_0xf79140[_0x151df1(0x14d)])!=null?_0xfe5ba4:this[_0x151df1(0x161)],this[_0x151df1(0x2ff)]({'width':_0xf79140[_0x151df1(0x2e6)],'height':_0xf79140[_0x151df1(0x39e)]});}['onMouseMove'](_0x3995a2){const _0x382c93=_0xb09cf6,{row:_0x247f5a,column:_0x418d99}=_0x3995a2;if(_0x247f5a>=this[_0x382c93(0x142)][_0x382c93(0x2f9)]&&_0x247f5a<=this[_0x382c93(0x142)][_0x382c93(0x316)]&&_0x418d99>=this['_range']['startColumn']&&_0x418d99<=this['_range']['endColumn']){this[_0x382c93(0x32d)]({'hovered':!0x0});return;}this['setShapeProps']({'hovered':!0x1});}[_0xb09cf6(0x1bb)](_0x32d244){return!0x1;}[_0xb09cf6(0x320)](_0x4caf9e){const _0x1ddd0f=_0xb09cf6;_0x5dba15[_0x1ddd0f(0x35e)][_0x1ddd0f(0x10b)](_0x4caf9e,{'width':this[_0x1ddd0f(0x2e6)],'height':this['height'],'strokeWidth':_0x2deb13,'stroke':this[_0x1ddd0f(0x15d)],'evented':!0x1,'fill':this['_backgroundColor']}),this[_0x1ddd0f(0x160)]&&(_0x4caf9e[_0x1ddd0f(0x2da)](),_0x4caf9e['transform'](0x1,0x0,0x0,0x1,this['width'],this[_0x1ddd0f(0x396)]===_0x1ddd0f(0x31c)?0x0:-_0x6880d2),_0x19a583['drawWith'](_0x4caf9e,{'text':this[_0x1ddd0f(0x119)],'color':this[_0x1ddd0f(0x15d)]}),_0x4caf9e[_0x1ddd0f(0x222)]());}}var _0x3a6f1b=Object['getOwnPropertyDescriptor'],_0x22f24a=(_0x4842a2,_0x179d90,_0x45b17c,_0x7c8de6)=>{const _0x32cdf3=_0xb09cf6;for(var _0x5952c3=_0x7c8de6>0x1?void 0x0:_0x7c8de6?_0x3a6f1b(_0x179d90,_0x45b17c):_0x179d90,_0x1c7dec=_0x4842a2[_0x32cdf3(0x2a0)]-0x1,_0x54d627;_0x1c7dec>=0x0;_0x1c7dec--)(_0x54d627=_0x4842a2[_0x1c7dec])&&(_0x5952c3=_0x54d627(_0x5952c3)||_0x5952c3);return _0x5952c3;},_0x132ecf=(_0x515f61,_0x4c30af)=>(_0x3fe782,_0x355f29)=>_0x4c30af(_0x3fe782,_0x355f29,_0x515f61);const _0x414897=0x1389;let _0x5297ac=class extends _0x1bf86e[_0xb09cf6(0x134)]{constructor(_0x419404,_0xa6ff86,_0x3fc688,_0x36d471){const _0x3f5782=_0xb09cf6;super(),_0x49be5c(this,_0x3f5782(0x2cd),new Set()),_0x49be5c(this,_0x3f5782(0x392),null),(this[_0x3f5782(0x171)]=_0x419404,this[_0x3f5782(0x2ef)]=_0xa6ff86,this[_0x3f5782(0x173)]=_0x3fc688,this[_0x3f5782(0x28f)]=_0x36d471,this[_0x3f5782(0xfd)]());}[_0xb09cf6(0xfd)](){const _0x17c533=_0xb09cf6;this['_sheetSkeletonManagerService'][_0x17c533(0x363)][_0x17c533(0x368)](_0x57665e[_0x17c533(0x2ce)](this[_0x17c533(0x2d0)]),_0x57665e[_0x17c533(0x3a3)](_0x576e49=>{const _0x3c4d55=_0x17c533;if(_0x576e49){const _0x32dfb3=_0x576e49[_0x3c4d55(0x2a6)];return _0x57a56c[_0x3c4d55(0x388)](this[_0x3c4d55(0x173)][_0x3c4d55(0x372)](this['_context'][_0x3c4d55(0xce)]),this[_0x3c4d55(0x28f)][_0x3c4d55(0x1ae)])[_0x3c4d55(0x368)](_0x57665e[_0x3c4d55(0x365)](([_0x2499dd,_0x405962])=>{const _0x36accc=_0x3c4d55,_0x539bbc=new Map();return _0x2499dd[_0x36accc(0x2c5)]((_0x22fdc6,_0x21922b)=>{const _0x580b76=_0x36accc;if(_0x22fdc6['sheetID']===_0x32dfb3){const _0x45b48a={..._0x22fdc6};_0x45b48a[_0x580b76(0x234)]=this['_themeService'][_0x580b76(0x116)](_0x22fdc6['color']),_0x539bbc[_0x580b76(0x32b)](_0x21922b,_0x45b48a);}}),{'skeleton':_0x576e49,'cursors':_0x539bbc};}));}return _0x57a56c['of']({'skeleton':null,'cursors':new Map()});}))[_0x17c533(0x3c4)](({skeleton:_0x3230eb,cursors:_0x3197c3})=>{const _0x403657=_0x17c533;this[_0x403657(0x17d)](),_0x3230eb&&this[_0x403657(0x191)](_0x3230eb,_0x3197c3);}),this[_0x17c533(0x2ef)][_0x17c533(0x363)][_0x17c533(0x3c4)](_0xc4905f=>{const _0x27806f=_0x17c533;if(_0xc4905f==null)return;const {skeleton:_0xf3b4c8}=_0xc4905f,{scene:_0x1451b9}=this[_0x27806f(0x171)];_0x1451b9['onPointerMove$'][_0x27806f(0x14f)](_0x1bf86e[_0x27806f(0x1d7)](_0x177223=>{const _0x128ceb=_0x27806f;var _0x648972,_0x2d256e;const {offsetX:_0x2bbcaf,offsetY:_0x2df215}=_0x177223,{x:_0x3a4bcc,y:_0xb425b5}=_0x1451b9[_0x128ceb(0x25c)](_0x5dba15[_0x128ceb(0x197)][_0x128ceb(0x3b9)]([_0x2bbcaf,_0x2df215])),{scaleX:_0x591c0d,scaleY:_0x1dafb0}=_0x1451b9['getAncestorScale'](),_0x5e8fc5=_0x1451b9[_0x128ceb(0x2a5)](_0x5dba15[_0x128ceb(0x379)][_0x128ceb(0x112)]),_0x471f8f=_0x1451b9[_0x128ceb(0x1d1)](_0x5dba15[_0x128ceb(0x197)][_0x128ceb(0x3b9)]([_0x3a4bcc,_0xb425b5]),_0x5e8fc5),_0xb94453=_0xf3b4c8[_0x128ceb(0x126)](_0x2bbcaf,_0x2df215,_0x591c0d,_0x1dafb0,_0x471f8f);((_0x648972=this['_lastPointer'])==null?void 0x0:_0x648972[_0x128ceb(0x242)])===_0xb94453[_0x128ceb(0x242)]&&((_0x2d256e=this[_0x128ceb(0x392)])==null?void 0x0:_0x2d256e[_0x128ceb(0x328)])===_0xb94453[_0x128ceb(0x328)]||this[_0x128ceb(0x2cd)][_0x128ceb(0x2c5)](_0x2b08ec=>{const _0xd10ea7=_0x128ceb;_0x2b08ec[_0xd10ea7(0x158)](_0xb94453);});},0x64));});}[_0xb09cf6(0x191)](_0xe7af3e,_0x2acf90){const _0x1a771b=_0xb09cf6;var _0x4a563e;const _0x53d0e1=(_0x4a563e=this[_0x1a771b(0x2ef)]['getCurrent']())==null?void 0x0:_0x4a563e[_0x1a771b(0x10f)];if(!_0x53d0e1)return;const _0x411105=this[_0x1a771b(0x192)]();if(!_0x411105)return;this['_cursors'][_0x1a771b(0x2c5)](_0x5a4eef=>{const _0x5051a4=_0x1a771b;_0x5a4eef[_0x5051a4(0x145)]();});const {scene:_0x298080}=_0x411105,_0x484510=_0x4f688a(Array[_0x1a771b(0x203)](_0x2acf90[_0x1a771b(0x2fc)]()))['map'](_0x2c4211=>{const _0x21cdf3=_0x1a771b,{color:_0x209a0d,range:_0x4c041f,name:_0x4df205,selection:_0x391792,sheetID:_0x187b56}=_0x2c4211,{startColumn:_0x18efcd,startRow:_0x13e19d,endColumn:_0x48bf59,endRow:_0x207b02}=_0x4c041f,_0x5a12ca=_0x480426[_0x21cdf3(0x259)](_0x13e19d,_0x18efcd,_0x298080,_0x53d0e1),_0x568360=_0x480426[_0x21cdf3(0x259)](_0x207b02,_0x48bf59,_0x298080,_0x53d0e1),{columnHeaderHeightAndMarginTop:_0x565be1}=_0x53d0e1,{startX:_0x5c6bd2,startY:_0x18b49c}=_0x5a12ca,{endX:_0x3b715c,endY:_0x4c75a8}=_0x568360,_0x3245e5=_0x3b715c-_0x5c6bd2,_0x147449=_0x4c75a8-_0x18b49c,_0x48c119={'labelPosition':_0x18b49c-_0x565be1>=_0x6880d2?_0x21cdf3(0x1c2):_0x21cdf3(0x31c),'sheetID':_0x187b56,'range':_0x4c041f,'color':_0x209a0d,'name':_0x4df205,'selection':_0x391792,'left':_0x5c6bd2,'top':_0x18b49c,'width':_0x3245e5,'height':_0x147449,'evented':!0x1,'zIndex':_0x414897};return new _0x237cb7(_0x4df205,_0x48c119);});_0x298080[_0x1a771b(0x141)](_0x484510,_0x467d7a),this[_0x1a771b(0x2cd)]=new Set(_0x484510);}['_removeCollabCursors'](){const _0x5117b4=_0xb09cf6;var _0x5dcf58;(_0x5dcf58=this['_cursors'])==null||_0x5dcf58[_0x5117b4(0x2c5)](_0x5331ae=>_0x5331ae[_0x5117b4(0x1a9)]());}['_getSheetObject'](){const _0x36d188=_0xb09cf6;return _0x480426['getSheetObject'](this['_context'][_0x36d188(0x264)],this['_context']);}};_0x5297ac=_0x22f24a([_0x132ecf(0x1,_0x1bf86e[_0xb09cf6(0x25e)](_0x480426[_0xb09cf6(0x374)])),_0x132ecf(0x2,_0x1bf86e[_0xb09cf6(0x25e)](_0xe7f68)),_0x132ecf(0x3,_0x1bf86e[_0xb09cf6(0x25e)](_0x1bf86e['ThemeService']))],_0x5297ac);function _0x4f688a(_0x197995){const _0x4d6938=_0xb09cf6,_0x295bd2=new Map();return _0x197995['forEach'](_0x50ae30=>{const _0x9c6ba=_0x23ff;if(_0x295bd2[_0x9c6ba(0x3c5)](_0x50ae30[_0x9c6ba(0xef)])){const _0x264a62=_0x295bd2['get'](_0x50ae30['selection']);_0x264a62[_0x9c6ba(0x385)]+=',\x20'+_0x50ae30['name'];}else _0x295bd2['set'](_0x50ae30[_0x9c6ba(0xef)],_0x50ae30);}),Array[_0x4d6938(0x203)](_0x295bd2[_0x4d6938(0x2fc)]());}var _0x1f9f27=Object['getOwnPropertyDescriptor'],_0xfeeb5=(_0x5cc1c2,_0x304b87,_0x5c92af,_0x21c664)=>{const _0x559aea=_0xb09cf6;for(var _0x381653=_0x21c664>0x1?void 0x0:_0x21c664?_0x1f9f27(_0x304b87,_0x5c92af):_0x304b87,_0xa617da=_0x5cc1c2[_0x559aea(0x2a0)]-0x1,_0x295496;_0xa617da>=0x0;_0xa617da--)(_0x295496=_0x5cc1c2[_0xa617da])&&(_0x381653=_0x295496(_0x381653)||_0x381653);return _0x381653;},_0x4c4104=(_0x5e42fb,_0x31e83c)=>(_0x23c611,_0x5e659a)=>_0x31e83c(_0x23c611,_0x5e659a,_0x5e42fb);let _0x501bbf=class extends _0x1bf86e['Disposable']{constructor(_0x43a91d,_0x16d37e,_0xd4feaa,_0x5aa6e1,_0x2964fc,_0x4baa32){const _0x3bec45=_0xb09cf6;super(),this[_0x3bec45(0xf7)]=_0x43a91d,this[_0x3bec45(0x33b)]=_0x16d37e,this[_0x3bec45(0x15e)]=_0xd4feaa,this[_0x3bec45(0x282)]=_0x5aa6e1,this['_notificationService']=_0x2964fc,this['_localeService']=_0x4baa32,this['_setupBeforeClosingHandler'](),this['_initEvent']();}[_0xb09cf6(0x1d5)](){const _0x55bc33=_0xb09cf6;this['disposeWithMe'](this[_0x55bc33(0xf7)][_0x55bc33(0x38a)](()=>{const _0x5e6bb9=_0x55bc33;if(this['_localCacheService'][_0x5e6bb9(0x386)][_0x5e6bb9(0x255)])return this[_0x5e6bb9(0x322)]['t'](_0x5e6bb9(0x2b4));}));}['_initEvent'](){const _0x46f091=_0xb09cf6;this[_0x46f091(0x104)](this[_0x46f091(0x15e)]['event$'][_0x46f091(0x3c4)](_0x4cec5d=>{const _0x1eab7f=_0x46f091;_0x4cec5d['id']===_0x1cadbe['CollaborationUIEventId']['OTHER_CLIENT_EDITING']&&this['_messageService'][_0x1eab7f(0x3c1)]({'type':_0x11570c[_0x1eab7f(0x3cc)]['Warning'],'content':this[_0x1eab7f(0x322)]['t'](_0x1eab7f(0x239))}),_0x4cec5d['id']===_0x1cadbe[_0x1eab7f(0x138)][_0x1eab7f(0x186)]&&this[_0x1eab7f(0x282)][_0x1eab7f(0x3c1)]({'type':_0x11570c['MessageType'][_0x1eab7f(0x3ba)],'content':this[_0x1eab7f(0x322)]['t'](_0x1eab7f(0x2f6))}),_0x4cec5d['id']===_0x1cadbe[_0x1eab7f(0x138)]['PERMISSION_DENIED']&&this['_notificationService']['show']({'title':this['_localeService']['t']('permission.title'),'content':this[_0x1eab7f(0x322)]['t'](_0x1eab7f(0x128)),'type':_0x1eab7f(0x2c3),'duration':0x0}),_0x4cec5d['id']===_0x1cadbe['CollaborationUIEventId'][_0x1eab7f(0x14a)]&&this[_0x1eab7f(0x282)][_0x1eab7f(0x3c1)]({'type':_0x11570c['MessageType'][_0x1eab7f(0x174)],'content':this[_0x1eab7f(0x322)]['t'](_0x1eab7f(0x2f6))+'('+_0x4cec5d[_0x1eab7f(0x19e)]+')'}),_0x4cec5d['id']===_0x1cadbe[_0x1eab7f(0x138)]['JOIN_ROOM_FAILED']&&this['_messageService'][_0x1eab7f(0x3c1)]({'type':_0x11570c[_0x1eab7f(0x3cc)]['Warning'],'content':this['_localeService']['t'](_0x4cec5d[_0x1eab7f(0x19e)]||'')}),_0x4cec5d['id']===_0x1cadbe['CollaborationUIEventId']['SOCKET_FAILED_RETRY']&&this[_0x1eab7f(0x282)][_0x1eab7f(0x3c1)]({'type':_0x11570c[_0x1eab7f(0x3cc)][_0x1eab7f(0x3ba)],'content':this[_0x1eab7f(0x322)]['t'](_0x1eab7f(0x378))}),_0x4cec5d['id']===_0x1cadbe[_0x1eab7f(0x138)][_0x1eab7f(0x155)]&&this['_messageService'][_0x1eab7f(0x3c1)]({'type':_0x11570c[_0x1eab7f(0x3cc)][_0x1eab7f(0x174)],'content':this[_0x1eab7f(0x322)]['t']('session.connection-failed')}),_0x4cec5d['id']===_0x1cadbe[_0x1eab7f(0x138)][_0x1eab7f(0x16d)]&&this[_0x1eab7f(0x282)][_0x1eab7f(0x3c1)]({'type':_0x11570c[_0x1eab7f(0x3cc)][_0x1eab7f(0x174)],'content':this[_0x1eab7f(0x322)]['t'](_0x1eab7f(0x11e))});}));}};_0x501bbf=_0xfeeb5([_0x4c4104(0x0,_0x14309e[_0xb09cf6(0x20b)]),_0x4c4104(0x1,_0x1cadbe[_0xb09cf6(0x17c)]),_0x4c4104(0x2,_0x1bf86e[_0xb09cf6(0x25e)](_0x1cadbe[_0xb09cf6(0x131)])),_0x4c4104(0x3,_0x14309e['IMessageService']),_0x4c4104(0x4,_0x14309e[_0xb09cf6(0x2d3)]),_0x4c4104(0x5,_0x1bf86e[_0xb09cf6(0x25e)](_0x1bf86e['LocaleService']))],_0x501bbf);var _0x470666=Object[_0xb09cf6(0x2e5)],_0x174d94=(_0x57da6a,_0x105840,_0x5623fc,_0x45233a)=>{const _0x3945b0=_0xb09cf6;for(var _0x1658f2=_0x45233a>0x1?void 0x0:_0x45233a?_0x470666(_0x105840,_0x5623fc):_0x105840,_0x5760e5=_0x57da6a[_0x3945b0(0x2a0)]-0x1,_0x43d54e;_0x5760e5>=0x0;_0x5760e5--)(_0x43d54e=_0x57da6a[_0x5760e5])&&(_0x1658f2=_0x43d54e(_0x1658f2)||_0x1658f2);return _0x1658f2;},_0x49918f=(_0x37137d,_0x38e7aa)=>(_0x55be07,_0x11d8b2)=>_0x38e7aa(_0x55be07,_0x11d8b2,_0x37137d);let _0x40fa0b=class extends _0x1bf86e['Disposable']{constructor(_0xf92f04,_0x53590a,_0x2b95a0,_0x31022d){const _0x555349=_0xb09cf6;super(),_0x49be5c(this,'_memberID'),(this[_0x555349(0x17f)]=_0xf92f04,this[_0x555349(0x356)]=_0x53590a,this[_0x555349(0x343)]=_0x2b95a0,this[_0x555349(0x2fe)]=_0x31022d,this['_init']());}[_0xb09cf6(0xfd)](){const _0x1a1954=_0xb09cf6;this[_0x1a1954(0x2f4)](),this[_0x1a1954(0x24f)](),this['_monkeyPatchLogService'](),this[_0x1a1954(0x3be)]();}[_0xb09cf6(0x3be)](){const _0x3453eb=_0xb09cf6;this[_0x3453eb(0x104)](this[_0x3453eb(0x2fe)][_0x3453eb(0x215)][_0x3453eb(0x3c4)](_0x534a5e=>{const _0x36bfa7=_0x3453eb;this['_memberID']=_0x534a5e==null?void 0x0:_0x534a5e[_0x36bfa7(0x37d)];}));}[_0xb09cf6(0x2f4)](){const _0xeaa591=_0xb09cf6,_0x403751=_0x33d853=>{const _0x20d32=_0x23ff;var _0xb570e5;this[_0x20d32(0x12a)](_0x20d32(0x2c3),_0x20d32(0x204)+_0x33d853[_0x20d32(0x3b0)]+_0x20d32(0xf4)+_0x33d853[_0x20d32(0x36c)]+':'+_0x33d853['lineno']+':'+_0x33d853['colno']+'\x0a'+(((_0xb570e5=_0x33d853[_0x20d32(0x2c3)])==null?void 0x0:_0xb570e5['stack'])||''));};window[_0xeaa591(0x12c)](_0xeaa591(0x2c3),_0x403751),this[_0xeaa591(0x104)](()=>{const _0x95d96a=_0xeaa591;window['removeEventListener'](_0x95d96a(0x2c3),_0x403751);});}[_0xb09cf6(0x24f)](){const _0x34011a=_0xb09cf6,_0x1a0544=_0x12dd6a=>{const _0x19f235=_0x23ff;this[_0x19f235(0x12a)](_0x19f235(0x2c3),_0x19f235(0x1f8)+_0x12dd6a['reason']);};window['addEventListener'](_0x34011a(0x2bc),_0x1a0544),this[_0x34011a(0x104)](()=>{const _0x2781e6=_0x34011a;window[_0x2781e6(0x2a8)](_0x2781e6(0x2bc),_0x1a0544);});}[_0xb09cf6(0x3b8)](){const _0xd2e73f=_0xb09cf6,_0x25ea79=this['_logService'][_0xd2e73f(0x2c3)][_0xd2e73f(0xe5)](this['_logService']);this[_0xd2e73f(0x343)]['error']=(..._0x3269c5)=>{const _0x1eacea=_0xd2e73f,_0x253f18=_0x3269c5[_0x1eacea(0x365)](_0x133dad=>_0x133dad instanceof Error?_0x133dad['message']+'\x0a'+_0x133dad[_0x1eacea(0x1fb)]:String(_0x133dad))[_0x1eacea(0x31e)]('\x20');this['_uploadLog'](_0x1eacea(0x2c3),_0x1eacea(0x172)+_0x253f18),_0x25ea79(..._0x3269c5);},this[_0xd2e73f(0x104)](()=>{const _0x1c22fa=_0xd2e73f;this['_logService'][_0x1c22fa(0x2c3)]=_0x25ea79;});}[_0xb09cf6(0x12a)](_0x366ceb,_0x1ecb34){const _0x5ca3e7=_0xb09cf6;try{const _0x3c46fc={'userId':this[_0x5ca3e7(0xde)],'logLabel':_0x366ceb,'content':_0x1ecb34};this[_0x5ca3e7(0x356)][_0x5ca3e7(0x12f)]('/universer-api/frontend/logs',{'body':_0x3c46fc})[_0x5ca3e7(0x154)](()=>{});}catch{}}};_0x40fa0b=_0x174d94([_0x49918f(0x0,_0x1bf86e[_0xb09cf6(0x25e)](_0x1bf86e[_0xb09cf6(0x269)])),_0x49918f(0x1,_0x1bf86e[_0xb09cf6(0x25e)](_0x53849d[_0xb09cf6(0x298)])),_0x49918f(0x2,_0x1bf86e[_0xb09cf6(0x143)]),_0x49918f(0x3,_0x1bf86e['Inject'](_0x1cadbe['CollaborationSessionService']))],_0x40fa0b);const _0x689496=_0xb09cf6(0x17b),_0x3695c0={};var _0x5ce2f6=Object[_0xb09cf6(0x2e5)],_0x706d13=(_0x571b61,_0x557a53,_0x5c5de7,_0x1e32d0)=>{const _0x19f15f=_0xb09cf6;for(var _0xdb31dc=_0x1e32d0>0x1?void 0x0:_0x1e32d0?_0x5ce2f6(_0x557a53,_0x5c5de7):_0x557a53,_0x22f38a=_0x571b61[_0x19f15f(0x2a0)]-0x1,_0x12e866;_0x22f38a>=0x0;_0x22f38a--)(_0x12e866=_0x571b61[_0x22f38a])&&(_0xdb31dc=_0x12e866(_0xdb31dc)||_0xdb31dc);return _0xdb31dc;},_0x3f814f=(_0x412224,_0x3866e0)=>(_0x261f5e,_0x20a396)=>_0x3866e0(_0x261f5e,_0x20a396,_0x412224);let _0x19ea77=class{constructor(_0x5e301f,_0x37f29f){const _0x2cddef=_0xb09cf6;this[_0x2cddef(0x2cb)]=_0x5e301f,this[_0x2cddef(0x22f)]=_0x37f29f;}[_0xb09cf6(0x353)](_0x5617d8){const _0x36a0ca=_0xb09cf6;this[_0x36a0ca(0x13d)](_0x5617d8),this[_0x36a0ca(0x310)](_0x5617d8);}[_0xb09cf6(0x1b5)](_0x2d1c74){const _0x3efe62=_0xb09cf6,{unitID:_0x594c31}=_0x2d1c74,_0x1ed5e2=this[_0x3efe62(0x22f)][_0x3efe62(0x107)](_0x594c31)[_0x3efe62(0x35b)](_0x24bca5['DocIMEInputManagerService']),{redoCache:_0x2ee971}=_0x1ed5e2[_0x3efe62(0x361)]();if(_0x2ee971[_0x3efe62(0x2a0)]===0x0)return _0x2d1c74;let _0x56e838=_0x1bf86e['Tools']['deepClone'](_0x2d1c74[_0x3efe62(0xe4)][0x0]);for(let _0x4376ef=0x0;_0x4376ef<_0x2ee971[_0x3efe62(0x2a0)];_0x4376ef++){const _0x4c1827={'id':_0x3efe62(0x124),'params':{..._0x2ee971[_0x4376ef]}},_0x5b1908=this[_0x3efe62(0x2cb)]['transformMutation'](_0x56e838,_0x4c1827,!0x1);if(_0x46b617[_0x3efe62(0x393)](_0x5b1908))throw _0x5b1908[_0x3efe62(0x2c3)];_0x56e838=_0x5b1908['m1Prime'];}return{..._0x1bf86e['Tools'][_0x3efe62(0x2a9)](_0x2d1c74),'mutations':[_0x56e838]};}['_transformUndoRedoStack'](_0x14fb29){const _0x10683f=_0xb09cf6,{unitID:_0x4315e5}=_0x14fb29,_0x2f3468=this[_0x10683f(0x22f)][_0x10683f(0x107)](_0x4315e5)[_0x10683f(0x35b)](_0x24bca5['DocIMEInputManagerService']),{undoCache:_0x4a25b5,redoCache:_0x5b9dbc}=_0x2f3468[_0x10683f(0x361)]();if(_0x4a25b5[_0x10683f(0x2a0)]===0x0||_0x5b9dbc[_0x10683f(0x2a0)]===0x0)return;const _0x3d290d=[],_0x4a164b=[];let _0x2e2cb4=_0x1bf86e[_0x10683f(0x3c3)]['deepClone'](_0x14fb29[_0x10683f(0xe4)][0x0]),_0x4ec9df=_0x1bf86e[_0x10683f(0x3c3)]['deepClone'](_0x14fb29[_0x10683f(0xe4)][0x0]);for(let _0x253a8e=_0x4a25b5[_0x10683f(0x2a0)]-0x1;_0x253a8e>=0x0;_0x253a8e--){const _0x38ea13={'id':_0x10683f(0x124),'params':{..._0x4a25b5[_0x253a8e]}},_0xfdbd28={'id':_0x10683f(0x124),'params':{..._0x5b9dbc[_0x253a8e]}},_0x2c7f8e=this['_transformService']['transformMutation'](_0x2e2cb4,_0x38ea13,!0x1),_0x1c1d5d=this[_0x10683f(0x2cb)][_0x10683f(0x380)](_0x4ec9df,_0xfdbd28,!0x1);if(_0x46b617[_0x10683f(0x393)](_0x2c7f8e))throw _0x2c7f8e[_0x10683f(0x2c3)];if(_0x46b617[_0x10683f(0x393)](_0x1c1d5d))throw _0x1c1d5d[_0x10683f(0x2c3)];_0x3d290d[_0x10683f(0x301)](_0x2c7f8e[_0x10683f(0x103)][_0x10683f(0x210)]),_0x4a164b['unshift'](_0x1c1d5d['m2Prime'][_0x10683f(0x210)]),_0x2e2cb4=_0x2c7f8e[_0x10683f(0x195)],_0x4ec9df=_0x1c1d5d[_0x10683f(0x195)];}_0x2f3468[_0x10683f(0x267)]({'undoCache':_0x3d290d,'redoCache':_0x4a164b});}[_0xb09cf6(0x310)](_0x543555){const _0x5e5c82=_0xb09cf6,{unitID:_0x217640}=_0x543555,_0x33f918=this[_0x5e5c82(0x22f)][_0x5e5c82(0x107)](_0x217640)[_0x5e5c82(0x35b)](_0x24bca5[_0x5e5c82(0x2b0)]),_0x4f57be=_0x33f918[_0x5e5c82(0x2e0)]();if(_0x4f57be==null)return;const _0xeb57d0=[{'id':_0x5e5c82(0x124),'params':{'unitId':_0x543555[_0x5e5c82(0x1c1)],'actions':null,'textRanges':[_0x4f57be]}}],_0x5d97cb=this[_0x5e5c82(0x2cb)][_0x5e5c82(0x16a)](_0x543555,_0xeb57d0);if(!_0x46b617['isTransformMutationsWithChangesetSuccess'](_0x5d97cb))throw _0x5d97cb[_0x5e5c82(0x2c3)];const _0x41938d=_0x5d97cb['m2Prime'][0x0]['params'][_0x5e5c82(0x20a)];Array[_0x5e5c82(0x137)](_0x41938d)&&_0x41938d[_0x5e5c82(0x2a0)]&&_0x33f918['setActiveRange'](_0x41938d[0x0]);}};_0x19ea77=_0x706d13([_0x3f814f(0x0,_0x46b617['ITransformService']),_0x3f814f(0x1,_0x5dba15[_0xb09cf6(0x224)])],_0x19ea77);var _0x517e4d=Object['getOwnPropertyDescriptor'],_0x56c5e1=(_0x2f2b50,_0x52ce52,_0x5a7ea7,_0x127735)=>{const _0x1e2f05=_0xb09cf6;for(var _0x580aa3=_0x127735>0x1?void 0x0:_0x127735?_0x517e4d(_0x52ce52,_0x5a7ea7):_0x52ce52,_0x140633=_0x2f2b50[_0x1e2f05(0x2a0)]-0x1,_0x414457;_0x140633>=0x0;_0x140633--)(_0x414457=_0x2f2b50[_0x140633])&&(_0x580aa3=_0x414457(_0x580aa3)||_0x580aa3);return _0x580aa3;},_0x46f8f7=(_0x1bde0a,_0x10565c)=>(_0x205c42,_0x36751d)=>_0x10565c(_0x205c42,_0x36751d,_0x1bde0a);let _0x2190b2=class{constructor(_0x145278,_0x4ae988,_0x5d5319){const _0x20c487=_0xb09cf6;this[_0x20c487(0x17f)]=_0x145278,this[_0x20c487(0x2cb)]=_0x4ae988,this[_0x20c487(0x360)]=_0x5d5319;}[_0xb09cf6(0x27c)](_0x955168){const _0x2d8726=_0xb09cf6;this[_0x2d8726(0x17e)](_0x955168);}[_0xb09cf6(0x1b5)](_0x256b72){const _0xc706eb=_0xb09cf6,{unitID:_0x353818}=_0x256b72,{collaboration:_0x53e581}=this[_0xc706eb(0x360)][_0xc706eb(0x2a7)](_0x353818);if(_0x53e581[_0xc706eb(0x2a0)]===0x0)return _0x256b72;let _0x1bc34d=_0x1bf86e[_0xc706eb(0x3c3)]['deepClone'](_0x256b72['mutations'][0x0]);for(let _0x142f97=0x0;_0x142f97<_0x53e581[_0xc706eb(0x2a0)];_0x142f97++){const _0x20a8bc={'id':_0xc706eb(0x124),'params':{'unitId':_0x53e581[_0x142f97][_0xc706eb(0xce)],..._0x53e581[_0x142f97][_0xc706eb(0x19c)]}},_0x2097de=this[_0xc706eb(0x2cb)][_0xc706eb(0x380)](_0x1bc34d,_0x20a8bc,!0x1);if(_0x46b617['isTransformMutationFailure'](_0x2097de))throw _0x2097de[_0xc706eb(0x2c3)];_0x1bc34d=_0x2097de['m1Prime'];}return{..._0x1bf86e[_0xc706eb(0x3c3)]['deepClone'](_0x256b72),'mutations':[_0x1bc34d]};}[_0xb09cf6(0x17e)](_0x3171c8){const _0x1a198f=_0xb09cf6,{unitID:_0x4c573c}=_0x3171c8,{history:_0x1d5f54,collaboration:_0x2045b1}=this['_docStateChangeManagerService'][_0x1a198f(0x2a7)](_0x4c573c);if(_0x1d5f54[_0x1a198f(0x2a0)]===0x0&&_0x2045b1[_0x1a198f(0x2a0)]===0x0)return;const _0x10053e=[],_0x116eaf=[];let _0x2498b1=_0x1bf86e[_0x1a198f(0x3c3)][_0x1a198f(0x2a9)](_0x3171c8[_0x1a198f(0xe4)][0x0]),_0xc4d161=_0x1bf86e[_0x1a198f(0x3c3)][_0x1a198f(0x2a9)](_0x3171c8[_0x1a198f(0xe4)][0x0]);for(let _0x6a2a5c=_0x1d5f54['length']-0x1;_0x6a2a5c>=0x0;_0x6a2a5c--){const _0x1347c1={'id':_0x1a198f(0x124),'params':{'unitId':_0x1d5f54[_0x6a2a5c][_0x1a198f(0xce)],..._0x1d5f54[_0x6a2a5c][_0x1a198f(0x268)]}},_0x42e061={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x1d5f54[_0x6a2a5c]['unitId'],..._0x1d5f54[_0x6a2a5c]['redoState']}},_0x97d1c6=this[_0x1a198f(0x2cb)]['transformMutation'](_0x2498b1,_0x1347c1,!0x1),_0x24b911=this[_0x1a198f(0x2cb)][_0x1a198f(0x380)](_0xc4d161,_0x42e061,!0x1);if(_0x46b617['isTransformMutationFailure'](_0x97d1c6))throw _0x97d1c6[_0x1a198f(0x2c3)];if(_0x46b617[_0x1a198f(0x393)](_0x24b911))throw _0x24b911[_0x1a198f(0x2c3)];_0x10053e[_0x1a198f(0x301)]({..._0x1d5f54[_0x6a2a5c],'undoState':_0x97d1c6[_0x1a198f(0x103)][_0x1a198f(0x210)],'redoState':_0x24b911[_0x1a198f(0x103)][_0x1a198f(0x210)]}),_0x2498b1=_0x97d1c6[_0x1a198f(0x195)],_0xc4d161=_0x24b911[_0x1a198f(0x195)];}_0x2498b1=_0x1bf86e['Tools'][_0x1a198f(0x2a9)](_0x3171c8[_0x1a198f(0xe4)][0x0]),_0xc4d161=_0x1bf86e['Tools'][_0x1a198f(0x2a9)](_0x3171c8[_0x1a198f(0xe4)][0x0]);for(let _0x25b4a2=_0x2045b1['length']-0x1;_0x25b4a2>=0x0;_0x25b4a2--){const _0x25a965={'id':_0x1a198f(0x124),'params':{'unitId':_0x2045b1[_0x25b4a2][_0x1a198f(0xce)],..._0x2045b1[_0x25b4a2][_0x1a198f(0x268)]}},_0x2cb21a={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x2045b1[_0x25b4a2]['unitId'],..._0x2045b1[_0x25b4a2][_0x1a198f(0x19c)]}},_0x24f05b=this[_0x1a198f(0x2cb)][_0x1a198f(0x380)](_0x2498b1,_0x25a965,!0x1),_0xc79209=this['_transformService']['transformMutation'](_0xc4d161,_0x2cb21a,!0x1);if(_0x46b617['isTransformMutationFailure'](_0x24f05b))throw _0x24f05b[_0x1a198f(0x2c3)];if(_0x46b617[_0x1a198f(0x393)](_0xc79209))throw _0xc79209[_0x1a198f(0x2c3)];_0x116eaf[_0x1a198f(0x301)]({..._0x2045b1[_0x25b4a2],'undoState':_0x24f05b[_0x1a198f(0x103)][_0x1a198f(0x210)],'redoState':_0xc79209[_0x1a198f(0x103)][_0x1a198f(0x210)]}),_0x2498b1=_0x24f05b[_0x1a198f(0x195)],_0xc4d161=_0xc79209[_0x1a198f(0x195)];}this[_0x1a198f(0x360)]['setStateCache'](_0x4c573c,{'history':_0x10053e,'collaboration':_0x116eaf});}};_0x2190b2=_0x56c5e1([_0x46f8f7(0x0,_0x1bf86e[_0xb09cf6(0x25e)](_0x1bf86e['Injector'])),_0x46f8f7(0x1,_0x46b617[_0xb09cf6(0x272)]),_0x46f8f7(0x2,_0x1bf86e[_0xb09cf6(0x25e)](_0x24bca5[_0xb09cf6(0x38f)]))],_0x2190b2);var _0x1993fa=Object[_0xb09cf6(0x2e5)],_0x2d4e50=(_0xd5d946,_0x14a6a0,_0x12d2dc,_0x43e031)=>{const _0x1b6f2d=_0xb09cf6;for(var _0x4c1b1d=_0x43e031>0x1?void 0x0:_0x43e031?_0x1993fa(_0x14a6a0,_0x12d2dc):_0x14a6a0,_0x52b43d=_0xd5d946[_0x1b6f2d(0x2a0)]-0x1,_0x230c0c;_0x52b43d>=0x0;_0x52b43d--)(_0x230c0c=_0xd5d946[_0x52b43d])&&(_0x4c1b1d=_0x230c0c(_0x4c1b1d)||_0x4c1b1d);return _0x4c1b1d;},_0x772a53=(_0x3de551,_0x39bcca)=>(_0x572981,_0x5b7764)=>_0x39bcca(_0x572981,_0x5b7764,_0x3de551);let _0x10f6fe=class{constructor(_0x29c136,_0x25a62b){const _0x47ef07=_0xb09cf6;this[_0x47ef07(0x17f)]=_0x29c136,this[_0x47ef07(0x2cb)]=_0x25a62b;}[_0xb09cf6(0x3ab)](_0x1c151f){const _0x190563=_0xb09cf6;var _0x30188e;const _0x125033=this['_injector'][_0x190563(0x167)](_0x4c6158['DocSelectionManagerService']),_0x6f7879=(_0x30188e=_0x125033[_0x190563(0x216)]())!=null?_0x30188e:[];if(_0x6f7879[_0x190563(0x2a0)]===0x0)return;const _0x1d67d4=_0x1c151f['unitID'],_0x2f07f1=[{'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x1d67d4,'actions':null,'textRanges':_0x6f7879}}],_0x522b32=this['_transformService']['transformMutationsWithChangeset'](_0x1c151f,_0x2f07f1);if(!_0x46b617[_0x190563(0x189)](_0x522b32))throw _0x522b32[_0x190563(0x2c3)];const _0x37a3e7=_0x522b32[_0x190563(0x103)][0x0][_0x190563(0x210)][_0x190563(0x20a)];Array[_0x190563(0x137)](_0x37a3e7)&&_0x37a3e7[_0x190563(0x2a0)]&&_0x125033[_0x190563(0x2c4)](_0x37a3e7,{'unitId':_0x1d67d4,'subUnitId':_0x1d67d4},!0x1);}};_0x10f6fe=_0x2d4e50([_0x772a53(0x0,_0x1bf86e[_0xb09cf6(0x25e)](_0x1bf86e[_0xb09cf6(0x269)])),_0x772a53(0x1,_0x46b617[_0xb09cf6(0x272)])],_0x10f6fe);var _0x533d0c=Object[_0xb09cf6(0x2e5)],_0x21227e=(_0x5ab72d,_0x5a8948,_0x1563c2,_0xbe439b)=>{const _0xbd0e99=_0xb09cf6;for(var _0x2152d4=_0xbe439b>0x1?void 0x0:_0xbe439b?_0x533d0c(_0x5a8948,_0x1563c2):_0x5a8948,_0x436e22=_0x5ab72d[_0xbd0e99(0x2a0)]-0x1,_0x4c4c9b;_0x436e22>=0x0;_0x436e22--)(_0x4c4c9b=_0x5ab72d[_0x436e22])&&(_0x2152d4=_0x4c4c9b(_0x2152d4)||_0x2152d4);return _0x2152d4;},_0x26ed5d=(_0xe93a50,_0x141c8b)=>(_0x418ffc,_0x143f76)=>_0x141c8b(_0x418ffc,_0x143f76,_0xe93a50);let _0x541715=class extends _0x1bf86e[_0xb09cf6(0x3a2)]{constructor(_0x1b5bea,_0x37ca2f,_0x238a50,_0x3f3fbd,_0x114a1c,_0x3d2c87,_0x5d6c5f,_0x4fd29e){const _0x82fd3c=_0xb09cf6;super(),_0x49be5c(this,'_status$',new _0x57a56c[(_0x82fd3c(0xe1))](_0x1cadbe[_0x82fd3c(0x198)][_0x82fd3c(0xd9)])),(this[_0x82fd3c(0x360)]=_0x1b5bea,this[_0x82fd3c(0x2f2)]=_0x37ca2f,this[_0x82fd3c(0x1e3)]=_0x238a50,this[_0x82fd3c(0x1ab)]=_0x3f3fbd,this['_docTransformSelectionsService']=_0x114a1c,this[_0x82fd3c(0x354)]=_0x3d2c87,this[_0x82fd3c(0x282)]=_0x5d6c5f,this['_localeService']=_0x4fd29e,this['_initEntityListener']());}[_0xb09cf6(0x285)](){const _0x5e9dda=_0xb09cf6;this[_0x5e9dda(0x104)](this['_collaborationController'][_0x5e9dda(0x25d)][_0x5e9dda(0x3c4)](_0xfa10f0=>{const _0x2b4ee8=_0x5e9dda,_0x131062=this[_0x2b4ee8(0x360)][_0x2b4ee8(0x262)][_0x2b4ee8(0x3c4)](_0x18e2d6=>{const _0x18048f=_0x2b4ee8;if(_0x18e2d6==null)return;const {unitId:_0x2ed6f8,redoState:_0x4335fb,commandId:_0x32fd8f}=_0x18e2d6;if(_0x2ed6f8!==_0xfa10f0[_0x18048f(0x1c1)])return;const _0x3c6b91={'id':_0x32fd8f,'type':_0x1bf86e[_0x18048f(0x2bb)][_0x18048f(0x213)],'params':{'unitId':_0x2ed6f8,'actions':_0x4335fb[_0x18048f(0x266)],'textRanges':null}};_0xfa10f0[_0x18048f(0xd4)](_0x3c6b91);});if(_0xfa10f0[_0x2b4ee8(0x104)](_0x131062),_0xfa10f0 instanceof _0x1cadbe[_0x2b4ee8(0x21e)]){const _0x4d0e9a={'onTransformIME':_0xdaa2fa=>this[_0x2b4ee8(0x1e3)][_0x2b4ee8(0x353)](_0xdaa2fa),'onTransformState':_0x46f72e=>this[_0x2b4ee8(0x1ab)][_0x2b4ee8(0x27c)](_0x46f72e),'onTransformSelections':_0xfa6f47=>this[_0x2b4ee8(0x273)][_0x2b4ee8(0x3ab)](_0xfa6f47),'onSyncEditingCollabCursor':_0xa88eca=>this[_0x2b4ee8(0x354)]['syncEditingCollabCursor'](_0xa88eca),'onTransformRemoteChangesetByIMECache':_0x794e3b=>this[_0x2b4ee8(0x1e3)][_0x2b4ee8(0x1b5)](_0x794e3b),'onTransformRemoteChangesetByStateCache':_0x285ab2=>this[_0x2b4ee8(0x1ab)]['transformRemoteChangeset'](_0x285ab2)};_0xfa10f0['addHandlerCallback'](_0x4d0e9a);}}));}};_0x541715=_0x21227e([_0x26ed5d(0x0,_0x1bf86e[_0xb09cf6(0x25e)](_0x24bca5['DocStateChangeManagerService'])),_0x26ed5d(0x1,_0x1bf86e[_0xb09cf6(0x25e)](_0x1cadbe[_0xb09cf6(0x168)])),_0x26ed5d(0x2,_0x1bf86e['Inject'](_0x19ea77)),_0x26ed5d(0x3,_0x1bf86e[_0xb09cf6(0x25e)](_0x2190b2)),_0x26ed5d(0x4,_0x1bf86e[_0xb09cf6(0x25e)](_0x10f6fe)),_0x26ed5d(0x5,_0x1bf86e['Inject'](_0x204057)),_0x26ed5d(0x6,_0x14309e[_0xb09cf6(0x1eb)]),_0x26ed5d(0x7,_0x1bf86e[_0xb09cf6(0x25e)](_0x1bf86e[_0xb09cf6(0x111)]))],_0x541715);var _0x190798=(_0x48a9a9=>(_0x48a9a9[_0x48a9a9['UNDEFINED']=0x0]=_0xb09cf6(0x162),_0x48a9a9[_0x48a9a9['OK']=0x1]='OK',_0x48a9a9[_0x48a9a9[_0xb09cf6(0x2b5)]=0x2]=_0xb09cf6(0x2b5),_0x48a9a9[_0x48a9a9[_0xb09cf6(0x377)]=0x3]='PERMISSION_DENIED',_0x48a9a9[_0x48a9a9[_0xb09cf6(0x300)]=0x4]=_0xb09cf6(0x300),_0x48a9a9[_0x48a9a9[_0xb09cf6(0x286)]=0x5]=_0xb09cf6(0x286),_0x48a9a9[_0x48a9a9[_0xb09cf6(0x389)]=0x6]='ALREADY_EXISTS',_0x48a9a9[_0x48a9a9['INVALID_ARGUMENT']=0x7]=_0xb09cf6(0x246),_0x48a9a9[_0x48a9a9[_0xb09cf6(0x338)]=0x8]=_0xb09cf6(0x338),_0x48a9a9[_0x48a9a9[_0xb09cf6(0x37a)]=0x9]=_0xb09cf6(0x37a),_0x48a9a9[_0x48a9a9[_0xb09cf6(0x11a)]=0xa]='LOGIN_FAILED',_0x48a9a9[_0x48a9a9['MOBILE_VERIFY_CODE_MISMATCH']=0xb]=_0xb09cf6(0x11c),_0x48a9a9[_0x48a9a9[_0xb09cf6(0x21f)]=0xc]='MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED',_0x48a9a9[_0x48a9a9[_0xb09cf6(0xcd)]=0xd]=_0xb09cf6(0xcd),_0x48a9a9[_0x48a9a9[_0xb09cf6(0x236)]=0xe]=_0xb09cf6(0x236),_0x48a9a9[_0x48a9a9[_0xb09cf6(0x3b3)]=0xf]=_0xb09cf6(0x3b3),_0x48a9a9[_0x48a9a9[_0xb09cf6(0x1cb)]=0x10]=_0xb09cf6(0x1cb),_0x48a9a9[_0x48a9a9[_0xb09cf6(0x34a)]=0x64]=_0xb09cf6(0x34a),_0x48a9a9[_0x48a9a9[_0xb09cf6(0x323)]=0x65]=_0xb09cf6(0x323),_0x48a9a9[_0x48a9a9['USER_NOT_FOUND']=0xc9]='USER_NOT_FOUND',_0x48a9a9[_0x48a9a9[_0xb09cf6(0x2aa)]=0xca]=_0xb09cf6(0x2aa),_0x48a9a9[_0x48a9a9[_0xb09cf6(0x139)]=0x1389]=_0xb09cf6(0x139),_0x48a9a9[_0x48a9a9[_0xb09cf6(0x3cb)]=0x1771]='SNAPSHOT_INVALID_SNAPSHOT',_0x48a9a9[_0x48a9a9[_0xb09cf6(0x113)]=0x1772]=_0xb09cf6(0x113),_0x48a9a9[_0x48a9a9[_0xb09cf6(0x271)]=0x1773]=_0xb09cf6(0x271),_0x48a9a9[_0x48a9a9[_0xb09cf6(0x1dc)]=0x1b59]='APPLY_REJECT',_0x48a9a9[_0x48a9a9[_0xb09cf6(0x23e)]=0x1b5a]=_0xb09cf6(0x23e),_0x48a9a9[_0x48a9a9['APPLY_REVISION_CONFILICT']=0x1b5b]=_0xb09cf6(0x10e),_0x48a9a9[_0x48a9a9[_0xb09cf6(0x29a)]=0x1b5c]='APPLY_PERMISSION_DENIED',_0x48a9a9[_0x48a9a9[_0xb09cf6(0xd1)]=0x1b5d]=_0xb09cf6(0xd1),_0x48a9a9[_0x48a9a9[_0xb09cf6(0x2d2)]=0x1f41]=_0xb09cf6(0x2d2),_0x48a9a9[_0x48a9a9['LICENSE_MAX_UNITS_EXCEEDED']=0x2329]=_0xb09cf6(0x260),_0x48a9a9[_0x48a9a9['LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED']=0x232a]=_0xb09cf6(0x1e1),_0x48a9a9[_0x48a9a9['LICENSE_IMPORT_SIZE_EXCEEDED']=0x232b]=_0xb09cf6(0x178),_0x48a9a9[_0x48a9a9[_0xb09cf6(0x229)]=0x232c]=_0xb09cf6(0x229),_0x48a9a9[_0x48a9a9[_0xb09cf6(0x2fa)]=0x232d]=_0xb09cf6(0x2fa),_0x48a9a9[_0x48a9a9['YUUMI_UNABLE_LOAD_URL']=0x2711]=_0xb09cf6(0x358),_0x48a9a9[_0x48a9a9[_0xb09cf6(0x2d5)]=0x2712]=_0xb09cf6(0x2d5),_0x48a9a9[_0x48a9a9['YUUMI_RATE_OVER_LIMIT']=0x2713]=_0xb09cf6(0x1f7),_0x48a9a9[_0x48a9a9[_0xb09cf6(0x29f)]=0x2714]=_0xb09cf6(0x29f),_0x48a9a9[_0x48a9a9[_0xb09cf6(0x309)]=0x271a]='YUUMI_NO_CUBOID_FOR_QUESTION',_0x48a9a9[_0x48a9a9[_0xb09cf6(0x3c2)]=0x271b]=_0xb09cf6(0x3c2),_0x48a9a9[_0x48a9a9[_0xb09cf6(0x37f)]=0x271c]='YUUMI_TABLE_NOT_FOUND_IN_UNIT',_0x48a9a9[_0x48a9a9[_0xb09cf6(0x1a5)]=0x271d]=_0xb09cf6(0x1a5),_0x48a9a9[_0x48a9a9[_0xb09cf6(0x2d1)]=0x271e]='YUUMI_PROMPT_MAX_TOKENS_EXCEEDED',_0x48a9a9[_0x48a9a9[_0xb09cf6(0xed)]=0x271f]=_0xb09cf6(0xed),_0x48a9a9[_0x48a9a9[_0xb09cf6(0x38c)]=0x2720]=_0xb09cf6(0x38c),_0x48a9a9[_0x48a9a9['PY_RUNTIME_SCRIPT_ERROR']=0x2af9]=_0xb09cf6(0x1e4),_0x48a9a9[_0x48a9a9[_0xb09cf6(0x27e)]=0x2ee1]=_0xb09cf6(0x27e),_0x48a9a9[_0x48a9a9['INVALID_INVITE_CODE']=0x2ee2]=_0xb09cf6(0x2c8),_0x48a9a9[_0x48a9a9[_0xb09cf6(0x185)]=0x2ee3]='INVITE_CODE_REQUIRED',_0x48a9a9[_0x48a9a9['USER_NOT_INVITED_CODE']=0x2ee4]=_0xb09cf6(0x214),_0x48a9a9[_0x48a9a9[_0xb09cf6(0x13c)]=0x2ee5]=_0xb09cf6(0x13c),_0x48a9a9[_0x48a9a9['WECHAT_HAS_BEEN_BOUND']=0x32c9]=_0xb09cf6(0x308),_0x48a9a9[_0x48a9a9[_0xb09cf6(0x2d4)]=0x32ca]='MOBILE_HAS_BEEN_BOUND',_0x48a9a9[_0x48a9a9['EMAIL_HAS_BEEN_BOUND']=0x32cb]=_0xb09cf6(0xdf),_0x48a9a9[_0x48a9a9['ENTITLE_CAN_NOT_BUY_LOWER_OTP']=0x36b1]=_0xb09cf6(0x297),_0x48a9a9[_0x48a9a9['ENTITLE_UPDOWN_GRADE_NOT_SUPPORT']=0x36b2]='ENTITLE_UPDOWN_GRADE_NOT_SUPPORT',_0x48a9a9[_0x48a9a9['ENTITLE_DUP_SUBSCRIPTION']=0x36b3]=_0xb09cf6(0x199),_0x48a9a9[_0x48a9a9[_0xb09cf6(0x3a1)]=0x36b4]=_0xb09cf6(0x3a1),_0x48a9a9[_0x48a9a9[_0xb09cf6(0x31f)]=0x36b5]=_0xb09cf6(0x31f),_0x48a9a9[_0x48a9a9[_0xb09cf6(0x345)]=0x36b6]=_0xb09cf6(0x345),_0x48a9a9[_0x48a9a9['ENTITLE_COUPON_USED_UP']=0x36b7]=_0xb09cf6(0x39d),_0x48a9a9[_0x48a9a9['ENTITLE_USE_COUPON_NOT_1ST_TRADE']=0x36b8]=_0xb09cf6(0x164),_0x48a9a9[_0x48a9a9[_0xb09cf6(0x237)]=0x3715]=_0xb09cf6(0x237),_0x48a9a9[_0x48a9a9[_0xb09cf6(0x148)]=0x3716]=_0xb09cf6(0x148),_0x48a9a9[_0x48a9a9[_0xb09cf6(0x159)]=0x3717]=_0xb09cf6(0x159),_0x48a9a9[_0x48a9a9[_0xb09cf6(0x3ad)]=0x37dd]=_0xb09cf6(0x3ad),_0x48a9a9[_0x48a9a9[_0xb09cf6(0x12e)]=0x3a99]=_0xb09cf6(0x12e),_0x48a9a9[_0x48a9a9['REDEMPTION_CODE_INACTIVE']=0x3a9a]=_0xb09cf6(0x22d),_0x48a9a9[_0x48a9a9[_0xb09cf6(0xf0)]=0x3a9b]=_0xb09cf6(0xf0),_0x48a9a9[_0x48a9a9[_0xb09cf6(0x1ec)]=0x3a9c]=_0xb09cf6(0x1ec),_0x48a9a9[_0x48a9a9[_0xb09cf6(0x1d3)]=0x3a9d]=_0xb09cf6(0x1d3),_0x48a9a9[_0x48a9a9[_0xb09cf6(0x23f)]=0x3a9e]=_0xb09cf6(0x23f),_0x48a9a9[_0x48a9a9['REDEMPTION_CODE_HAS_BEEN_CREATED']=0x3a9f]=_0xb09cf6(0xfc),_0x48a9a9[_0x48a9a9[_0xb09cf6(0x19a)]=0x3e81]=_0xb09cf6(0x19a),_0x48a9a9[_0x48a9a9[_0xb09cf6(0x232)]=-0x1]=_0xb09cf6(0x232),_0x48a9a9))(_0x190798||{});function _0x466b42(_0xf506d8){const _0x1c0caf=_0xb09cf6;var _0x567723,_0x221e8e;const _0x5ef7d0=(_0x567723=_0xf506d8['stageInfo'])==null?void 0x0:_0x567723[_0x1c0caf(0x1a0)],_0x18ab3a=((_0x221e8e=_0xf506d8[_0x1c0caf(0x2f0)])==null?void 0x0:_0x221e8e[_0x1c0caf(0x20c)])||0x0;return _0x5ef7d0===_0x497297[_0x1c0caf(0x391)][_0x1c0caf(0x252)]&&_0x18ab3a>0x0;}function _0x925068(_0x23ccee){const _0x410411=_0xb09cf6;return _0x23ccee[_0x410411(0x382)]===_0x497297['FormulaExecutedStateType']['SUCCESS'];}var _0x695da9=Object[_0xb09cf6(0x2e5)],_0x3d75c6=(_0x218786,_0x4a6405,_0x3d4adc,_0x16f844)=>{const _0x11b9cc=_0xb09cf6;for(var _0x38f89b=_0x16f844>0x1?void 0x0:_0x16f844?_0x695da9(_0x4a6405,_0x3d4adc):_0x4a6405,_0x5cfdc2=_0x218786[_0x11b9cc(0x2a0)]-0x1,_0x230de5;_0x5cfdc2>=0x0;_0x5cfdc2--)(_0x230de5=_0x218786[_0x5cfdc2])&&(_0x38f89b=_0x230de5(_0x38f89b)||_0x38f89b);return _0x38f89b;},_0x4d144b=(_0x4c3b56,_0x20c763)=>(_0x595115,_0x55b7b5)=>_0x20c763(_0x595115,_0x55b7b5,_0x4c3b56);const _0x5a05db='/universer-api/license/formula/limit/status',_0x40ba00=_0xb09cf6(0x1d2),_0x8ae1ad=_0xb09cf6(0x279);let _0xd3d150=class extends _0x1bf86e['Disposable']{constructor(_0x591954,_0x348ea3,_0x53f71e,_0x391184,_0x33cf2f,_0x39a44f,_0x4f67e5){const _0x287092=_0xb09cf6;super(),_0x49be5c(this,_0x287092(0x290),null),_0x49be5c(this,'_maxFormulaLimit',0x0),_0x49be5c(this,_0x287092(0x3b7),0x0),_0x49be5c(this,_0x287092(0x117),[]),_0x49be5c(this,'_lastResponseTimestamp',0x0),(this[_0x287092(0x282)]=_0x591954,this[_0x287092(0x291)]=_0x348ea3,this[_0x287092(0x28d)]=_0x53f71e,this[_0x287092(0x356)]=_0x391184,this[_0x287092(0x10a)]=_0x33cf2f,this['_logService']=_0x39a44f,this[_0x287092(0x322)]=_0x4f67e5,this[_0x287092(0x324)]());}['_initCommandInterceptor'](){const _0x2b717a=_0xb09cf6;this['disposeWithMe'](this[_0x2b717a(0x291)]['beforeCommandExecuted']((_0x5c8b1b,_0x32333d)=>{const _0x22f42e=_0x2b717a;var _0x5b750b;if(_0x5c8b1b['id']!==_0x497297['SetFormulaCalculationStartMutation']['id'])return;const _0x57a484=_0x5c8b1b[_0x22f42e(0x210)];if(!this['_hasFormulaInDirtyRanges']((_0x5b750b=_0x57a484['dirtyRanges'])!=null?_0x5b750b:[]))return;if(!this[_0x22f42e(0x2a3)]())throw this[_0x22f42e(0x244)](_0x5c8b1b,_0x32333d),this[_0x22f42e(0x1c8)](),new _0x1bf86e[(_0x22f42e(0x364))]();})),this[_0x2b717a(0x104)](this['_commandService'][_0x2b717a(0x182)]((_0x2c78a1,_0x39ef25)=>{const _0x207fe4=_0x2b717a;if(_0x2c78a1['id']!==_0x497297[_0x207fe4(0x16c)]['id'])return;const _0x2038dd=_0x2c78a1[_0x207fe4(0x210)];if(_0x466b42(_0x2038dd)){const _0x4a6212=_0x1bf86e['generateRandomId']();this['_taskIds']['push'](_0x4a6212),this[_0x207fe4(0x247)](_0x4a6212);}else{if(_0x925068(_0x2038dd)&&this[_0x207fe4(0x117)][_0x207fe4(0x2a0)]>0x0){const _0x5ba71e=this[_0x207fe4(0x117)][_0x207fe4(0x1ee)]();this[_0x207fe4(0x334)](_0x5ba71e);}}}));}[_0xb09cf6(0x1a9)](){const _0x2610c9=_0xb09cf6;super[_0x2610c9(0x1a9)](),this['_clearPolling'](),this[_0x2610c9(0x117)]=[],this['_currentUsage']=0x0,this['_maxFormulaLimit']=0x0,this[_0x2610c9(0x1b1)]=0x0;}async[_0xb09cf6(0x244)](_0xf6d8f0,_0x4c1722){const _0x2383ac=_0xb09cf6;for(let _0x4a5621=0x0;_0x4a5621<0x1e;_0x4a5621++)try{if(await this['_getFormulaLimitStatus'](),this[_0x2383ac(0x2a3)]()){this[_0x2383ac(0xd8)](_0xf6d8f0,_0x4c1722),this[_0x2383ac(0x282)][_0x2383ac(0x3c1)]({'content':this[_0x2383ac(0x322)]['t'](_0x2383ac(0x152)),'type':_0x11570c[_0x2383ac(0x3cc)][_0x2383ac(0x228)]});return;}await new Promise(_0x19c504=>{const _0x31c060=_0x2383ac;this['_pollingInterval']=window[_0x31c060(0x397)](_0x19c504,0x3e8);});}catch(_0xc0b0f8){this[_0x2383ac(0x343)][_0x2383ac(0x2c3)](_0xc0b0f8);}this[_0x2383ac(0x282)][_0x2383ac(0x3c1)]({'content':this['_localeService']['t'](_0x2383ac(0x132)),'type':_0x11570c[_0x2383ac(0x3cc)]['Error']});}['_applyCommand'](_0x2f693d,_0x15739b){const _0x5f0ebd=_0xb09cf6;try{this[_0x5f0ebd(0x291)][_0x5f0ebd(0x2bd)](_0x2f693d['id'],_0x2f693d[_0x5f0ebd(0x210)],_0x15739b);}catch(_0x2a24d4){this[_0x5f0ebd(0x343)][_0x5f0ebd(0x2c3)](_0x2a24d4);}}[_0xb09cf6(0x115)](_0xfde84f,_0xe53111){const _0x1d8f31=_0xb09cf6;_0xe53111<this[_0x1d8f31(0x1b1)]||(this[_0x1d8f31(0x1b1)]=_0xe53111,this[_0x1d8f31(0x1e0)]=Number['parseInt'](_0xfde84f[_0x1d8f31(0x335)]),this[_0x1d8f31(0x3b7)]=Number[_0x1d8f31(0x293)](_0xfde84f[_0x1d8f31(0x1c6)]));}async[_0xb09cf6(0x247)](_0x2060e8){const _0x5e91d3=_0xb09cf6;var _0x4d5756,_0x420e0c;const _0x257efb=Date[_0x5e91d3(0x375)]();try{const _0x533d23=((_0x4d5756=this[_0x5e91d3(0x28d)][_0x5e91d3(0x2cc)](_0x1cadbe[_0x5e91d3(0x1ef)]))==null?void 0x0:_0x4d5756[_0x5e91d3(0x303)])||_0x40ba00,_0x467e71=(await this[_0x5e91d3(0x356)][_0x5e91d3(0x12f)](_0x533d23,{'body':JSON['stringify']({'taskId':_0x2060e8})}))[_0x5e91d3(0xd6)];if(((_0x420e0c=_0x467e71['error'])==null?void 0x0:_0x420e0c['code'])!==_0x190798['OK'])return;this[_0x5e91d3(0x115)](_0x467e71[_0x5e91d3(0x39a)],_0x257efb);}catch(_0x31c4c2){this[_0x5e91d3(0x343)][_0x5e91d3(0x2c3)](_0x31c4c2);}}async[_0xb09cf6(0x106)](_0x4375d1){const _0x1737af=_0xb09cf6;var _0x36fa7d,_0x177f20;const _0x249973=Date[_0x1737af(0x375)]();try{const _0xe0fe64=((_0x36fa7d=this[_0x1737af(0x28d)][_0x1737af(0x2cc)](_0x1cadbe[_0x1737af(0x1ef)]))==null?void 0x0:_0x36fa7d[_0x1737af(0x208)])||_0x5a05db,_0x35e45e=_0x4375d1?_0xe0fe64+_0x1737af(0x2e9)+encodeURIComponent(_0x4375d1):_0xe0fe64,_0x5419a7=(await this[_0x1737af(0x356)][_0x1737af(0x167)](_0x35e45e))[_0x1737af(0xd6)];if(((_0x177f20=_0x5419a7[_0x1737af(0x2c3)])==null?void 0x0:_0x177f20[_0x1737af(0x344)])!==_0x190798['OK'])return;this[_0x1737af(0x115)](_0x5419a7[_0x1737af(0x39a)],_0x249973);}catch(_0x335b1e){this[_0x1737af(0x343)][_0x1737af(0x2c3)](_0x335b1e);}}async[_0xb09cf6(0x334)](_0x4f5ad2){const _0x3517a2=_0xb09cf6;var _0x2fb778,_0x4001fc;const _0x2fbdfc=Date[_0x3517a2(0x375)]();try{const _0x45d09c=((_0x2fb778=this[_0x3517a2(0x28d)]['getConfig'](_0x1cadbe[_0x3517a2(0x1ef)]))==null?void 0x0:_0x2fb778[_0x3517a2(0x187)])||_0x8ae1ad,_0x59bf9b=(await this['_httpService'][_0x3517a2(0x12f)](_0x45d09c,{'body':JSON['stringify']({'taskId':_0x4f5ad2})}))[_0x3517a2(0xd6)];if(((_0x4001fc=_0x59bf9b[_0x3517a2(0x2c3)])==null?void 0x0:_0x4001fc[_0x3517a2(0x344)])!==_0x190798['OK'])return;this['_setFormulaLimitStatus'](_0x59bf9b[_0x3517a2(0x39a)],_0x2fbdfc);}catch(_0x373b96){this['_logService'][_0x3517a2(0x2c3)](_0x373b96);}}[_0xb09cf6(0x2a3)](){const _0xbbd841=_0xb09cf6;return this[_0xbbd841(0x1e0)]===0x0?!0x0:this[_0xbbd841(0x1e0)]-this[_0xbbd841(0x3b7)]>0x0;}[_0xb09cf6(0xe3)](){const _0x5dacbb=_0xb09cf6;this[_0x5dacbb(0x290)]&&(clearTimeout(this[_0x5dacbb(0x290)]),this[_0x5dacbb(0x290)]=null);}[_0xb09cf6(0x1c8)](){const _0x2af3ec=_0xb09cf6;this[_0x2af3ec(0x282)][_0x2af3ec(0x3c1)]({'content':this[_0x2af3ec(0x322)]['t'](_0x2af3ec(0x156)),'type':_0x11570c[_0x2af3ec(0x3cc)]['Loading']});}[_0xb09cf6(0x3a8)](_0x5bb657){const _0x563a3a=_0xb09cf6;for(const _0x556a06 of _0x5bb657){const {unitId:_0x42da48,sheetId:_0x13e6a7,range:_0x32becb}=_0x556a06,_0xdf3f64=this['_univerInstanceService'][_0x563a3a(0xd7)](_0x42da48);if(!_0xdf3f64)continue;const _0x94e69d=_0xdf3f64[_0x563a3a(0x15c)](_0x13e6a7);if(!_0x94e69d)continue;const _0x348a8d=_0x94e69d['getCellMatrix']();for(let _0x163577=_0x32becb[_0x563a3a(0x2f9)];_0x163577<=_0x32becb[_0x563a3a(0x316)];_0x163577++)for(let _0x40209c=_0x32becb[_0x563a3a(0x27a)];_0x40209c<=_0x32becb[_0x563a3a(0x1db)];_0x40209c++){const _0x213137=_0x348a8d[_0x563a3a(0x327)](_0x163577,_0x40209c);if(_0x213137&&(_0x1bf86e['isFormulaString'](_0x213137['f'])||_0x1bf86e['isFormulaId'](_0x213137['si'])))return!0x0;}}return!0x1;}};_0xd3d150=_0x3d75c6([_0x4d144b(0x0,_0x1bf86e[_0xb09cf6(0x25e)](_0x14309e['IMessageService'])),_0x4d144b(0x1,_0x1bf86e['ICommandService']),_0x4d144b(0x2,_0x1bf86e[_0xb09cf6(0xf1)]),_0x4d144b(0x3,_0x1bf86e['Inject'](_0x53849d['HTTPService'])),_0x4d144b(0x4,_0x1bf86e[_0xb09cf6(0x337)]),_0x4d144b(0x5,_0x1bf86e[_0xb09cf6(0x143)]),_0x4d144b(0x6,_0x1bf86e['Inject'](_0x1bf86e[_0xb09cf6(0x111)]))],_0xd3d150);var _0x2c6604=Object[_0xb09cf6(0x2e5)],_0xd8e462=(_0x141811,_0x5c3d09,_0x436e78,_0x4431b0)=>{const _0x55f2f6=_0xb09cf6;for(var _0x4b1bf8=_0x4431b0>0x1?void 0x0:_0x4431b0?_0x2c6604(_0x5c3d09,_0x436e78):_0x5c3d09,_0x5a7329=_0x141811[_0x55f2f6(0x2a0)]-0x1,_0x1adae2;_0x5a7329>=0x0;_0x5a7329--)(_0x1adae2=_0x141811[_0x5a7329])&&(_0x4b1bf8=_0x1adae2(_0x4b1bf8)||_0x4b1bf8);return _0x4b1bf8;},_0x26c759=(_0x342b99,_0x5bfb31)=>(_0x204d12,_0x8bc683)=>_0x5bfb31(_0x204d12,_0x8bc683,_0x342b99);let _0x926180=class extends _0x1bf86e[_0xb09cf6(0x3a2)]{constructor(_0x2ac868,_0x193d2c,_0x434dc8){const _0x48d365=_0xb09cf6;super(),_0x49be5c(this,_0x48d365(0x30a),new Map()),_0x49be5c(this,_0x48d365(0x2de),new Map()),_0x49be5c(this,'_disabled',!0x1),(this[_0x48d365(0x28d)]=_0x2ac868,this[_0x48d365(0x118)]=_0x193d2c,this[_0x48d365(0x15f)]=_0x434dc8);}[_0xb09cf6(0x29e)](){const _0x2223e9=_0xb09cf6;this[_0x2223e9(0x348)]=!0x0;}[_0xb09cf6(0x245)](){const _0xa1a45f=_0xb09cf6;this[_0xa1a45f(0x348)]=!0x1;}get[_0xb09cf6(0x386)](){const _0x5b5def=_0xb09cf6;return this[_0x5b5def(0x2de)];}[_0xb09cf6(0x1a9)](){const _0x1136a4=_0xb09cf6;this[_0x1136a4(0x362)]()[_0x1136a4(0xfb)](()=>super[_0x1136a4(0x1a9)]());}async[_0xb09cf6(0x35d)](_0x37d1fc){const _0x5de2d9=_0xb09cf6;return this[_0x5de2d9(0x348)]?null:this[_0x5de2d9(0x118)][_0x5de2d9(0x34e)](_0x1cadbe['getLocalCacheKey'](_0x37d1fc));}async[_0xb09cf6(0xfe)](_0x39a2e1,_0x51d6e3){const _0x3de21b=_0xb09cf6;return!!this[_0x3de21b(0x118)][_0x3de21b(0x2b2)](_0x39a2e1,_0x51d6e3);}[_0xb09cf6(0x3b5)](_0x231eb6,_0x2b4ebb,_0x37eb99,_0x4456c1){const _0x1dcb41=_0xb09cf6,_0x1c4744=this[_0x1dcb41(0x15f)]['getCurrentRevOfUnit'](_0x231eb6);this['_cachedData'][_0x1dcb41(0x32b)](_0x231eb6,{'unitID':_0x231eb6,'type':_0x2b4ebb,'awaitingChangeset':_0x37eb99,'mutations':_0x4456c1,'rev':_0x1c4744}),this[_0x1dcb41(0x2de)][_0x1dcb41(0x3c5)](_0x231eb6)||this[_0x1dcb41(0x121)](_0x231eb6);}[_0xb09cf6(0x121)](_0x2c8cd6){const _0x19cbcc=_0xb09cf6,_0x18d128=this[_0x19cbcc(0x3c0)]();_0x18d128===0x0?this[_0x19cbcc(0x125)](_0x2c8cd6):this[_0x19cbcc(0x2de)][_0x19cbcc(0x32b)](_0x2c8cd6,setTimeout(()=>this[_0x19cbcc(0x125)](_0x2c8cd6),_0x18d128));}['_getSaveTimeout'](){const _0xaf8c3d=_0xb09cf6;var _0x60f7b0;return(_0x60f7b0=this[_0xaf8c3d(0x28d)][_0xaf8c3d(0x2cc)](_0x1cadbe[_0xaf8c3d(0x226)]))!=null?_0x60f7b0:_0x1cadbe[_0xaf8c3d(0x2d7)];}[_0xb09cf6(0x125)](_0x2e929e){const _0x101abd=_0xb09cf6,_0x1dfc96=this[_0x101abd(0x2de)][_0x101abd(0x167)](_0x2e929e);return _0x1dfc96!==void 0x0&&window['clearTimeout'](_0x1dfc96),this[_0x101abd(0x118)][_0x101abd(0x2b2)](_0x1cadbe[_0x101abd(0xdb)](_0x2e929e),this[_0x101abd(0x30a)][_0x101abd(0x167)](_0x2e929e))[_0x101abd(0xfb)](()=>this[_0x101abd(0x2de)][_0x101abd(0x3b4)](_0x2e929e));}async[_0xb09cf6(0x362)](){const _0x3ea194=_0xb09cf6,_0x4f921f=[];this[_0x3ea194(0x2de)][_0x3ea194(0x2c5)]((_0x2f8d5e,_0x16b245)=>{const _0x658703=_0x3ea194;window[_0x658703(0x1f0)](_0x2f8d5e),_0x4f921f[_0x658703(0xea)](this['_saveCache'](_0x16b245)[_0x658703(0xfb)](()=>{const _0x360c97=_0x658703;this[_0x360c97(0x2de)][_0x360c97(0x3b4)](_0x16b245);}));}),await Promise[_0x3ea194(0x34c)](_0x4f921f);}};_0x926180=_0xd8e462([_0x26c759(0x0,_0x1bf86e['IConfigService']),_0x26c759(0x1,_0x1bf86e['ILocalStorageService']),_0x26c759(0x2,_0x1bf86e[_0xb09cf6(0x25e)](_0x46b617[_0xb09cf6(0x3b1)]))],_0x926180);class _0x5cf8e8 extends _0x1bf86e['RxDisposable']{constructor(){const _0x2373bd=_0xb09cf6;super(),_0x49be5c(this,'urlChange$'),this[_0x2373bd(0x318)]=_0x57a56c[_0x2373bd(0x1f3)](window,_0x2373bd(0x311))[_0x2373bd(0x368)](_0x57a56c[_0x2373bd(0x2ce)](this[_0x2373bd(0x2d0)]),_0x57a56c['shareReplay'](0x1),_0x57a56c[_0x2373bd(0x36e)](void 0x0));}[_0xb09cf6(0x129)](_0x3765db,_0x2fb077,_0x439a31=!0x1){const _0x3c86b6=_0xb09cf6,_0x320f09=new URL(window['location']['href']);_0x320f09[_0x3c86b6(0x35a)][_0x3c86b6(0x32b)](_0x3765db,_0x2fb077),_0x439a31?window[_0x3c86b6(0x2a4)][_0x3c86b6(0x22c)]('','',_0x320f09[_0x3c86b6(0x3bc)]()):window[_0x3c86b6(0x2a4)][_0x3c86b6(0x2ac)]('','',_0x320f09[_0x3c86b6(0x3bc)]());}[_0xb09cf6(0x12d)](_0x32c52b,_0x535c61=!0x1){const _0x2fb229=_0xb09cf6,_0x517eee=new URL(window[_0x2fb229(0x13f)]['href']);_0x517eee['searchParams'][_0x2fb229(0x3b4)](_0x32c52b),_0x535c61?window['history'][_0x2fb229(0x22c)]('','',_0x517eee[_0x2fb229(0x3bc)]()):window[_0x2fb229(0x2a4)][_0x2fb229(0x2ac)]('','',_0x517eee[_0x2fb229(0x3bc)]());}[_0xb09cf6(0x1ca)](_0x542190){const _0x22241c=_0xb09cf6;var _0x60cc0e;return(_0x60cc0e=new URL(window[_0x22241c(0x13f)]['href'])[_0x22241c(0x35a)][_0x22241c(0x167)](_0x542190))!=null?_0x60cc0e:void 0x0;}}var _0x2ca44f=Object[_0xb09cf6(0xd2)],_0xd1d28d=Object[_0xb09cf6(0x2e5)],_0x1812c8=(_0x5226f1,_0x45b6b6,_0x3a681e)=>_0x45b6b6 in _0x5226f1?_0x2ca44f(_0x5226f1,_0x45b6b6,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x3a681e}):_0x5226f1[_0x45b6b6]=_0x3a681e,_0x4cf151=(_0x3e414a,_0x3c6b89,_0x4b2939,_0x2d3486)=>{const _0x11cd56=_0xb09cf6;for(var _0x3f74da=_0x2d3486>0x1?void 0x0:_0x2d3486?_0xd1d28d(_0x3c6b89,_0x4b2939):_0x3c6b89,_0x17af7d=_0x3e414a[_0x11cd56(0x2a0)]-0x1,_0x511649;_0x17af7d>=0x0;_0x17af7d--)(_0x511649=_0x3e414a[_0x17af7d])&&(_0x3f74da=_0x511649(_0x3f74da)||_0x3f74da);return _0x3f74da;},_0x5d938f=(_0x18a4ee,_0x109a44)=>(_0xcb0ce8,_0x6fafe0)=>_0x109a44(_0xcb0ce8,_0x6fafe0,_0x18a4ee),_0x5abf0f=(_0x2e2381,_0x3e881f,_0x41e55c)=>_0x1812c8(_0x2e2381,_0x3e881f+'',_0x41e55c);const _0x257ec3=_0xb09cf6(0x188);_0x26c668['UniverCollaborationClientUIPlugin']=class extends _0x1bf86e[_0xb09cf6(0x2d6)]{constructor(_0x18e2f3=_0x3695c0,_0x1627e4,_0x1a7a8a,_0x1bfcf5){const _0x7a2fee=_0xb09cf6;super(),this[_0x7a2fee(0x1b7)]=_0x18e2f3,this[_0x7a2fee(0x22f)]=_0x1627e4,this[_0x7a2fee(0x17f)]=_0x1a7a8a,this[_0x7a2fee(0x28d)]=_0x1bfcf5;const {..._0x5c98b8}=_0x1bf86e[_0x7a2fee(0x207)]({},_0x3695c0,this[_0x7a2fee(0x1b7)]);this[_0x7a2fee(0x28d)]['setConfig'](_0x689496,_0x5c98b8);}[_0xb09cf6(0x122)](){const _0x1eca72=_0xb09cf6;this[_0x1eca72(0x19b)](),this[_0x1eca72(0x19d)]();}[_0xb09cf6(0x287)](){const _0x1c44a8=_0xb09cf6;this[_0x1c44a8(0x263)]();}['_registerDependencies'](){const _0x46d42b=_0xb09cf6;var _0x4e01dc;const _0x438277=[[_0x53fe7e],[_0xd3d150],[_0x10f6fe],[_0x19ea77],[_0x2190b2],[_0x204057],[_0x533f89,{'useClass':_0x5cf8e8}],[_0x53849d[_0x46d42b(0x28a)],{'useClass':_0x53849d['WebSocketService']}],[_0x1cadbe[_0x46d42b(0x17c)],{'useClass':_0x926180}],[_0x26c668[_0x46d42b(0x341)]],[_0x541715],[_0x501bbf],[_0xe7f68],[_0x4c9007],[_0x26c668['CollaborationDataLoaderController']]];this[_0x46d42b(0x1b7)][_0x46d42b(0x2ae)]&&_0x438277[_0x46d42b(0xea)]([_0x40fa0b]),_0x1bf86e[_0x46d42b(0x31b)](this[_0x46d42b(0x17f)],_0x1bf86e['mergeOverrideWithDependencies'](_0x438277,(_0x4e01dc=this[_0x46d42b(0x1b7)])==null?void 0x0:_0x4e01dc[_0x46d42b(0x169)]));}[_0xb09cf6(0x263)](){const _0x195e7d=_0xb09cf6;this[_0x195e7d(0x104)](this['_renderManagerService'][_0x195e7d(0x2ca)](_0x1bf86e[_0x195e7d(0x2b7)][_0x195e7d(0x2ad)],[_0xabe3bb])),this[_0x195e7d(0x104)](this[_0x195e7d(0x22f)][_0x195e7d(0x2ca)](_0x1bf86e['UniverInstanceType'][_0x195e7d(0x34d)],[_0x5297ac]));}['_initDependencies'](){const _0x1634c3=_0xb09cf6;_0x1bf86e[_0x1634c3(0x2b1)](this[_0x1634c3(0x17f)],[[_0xe7f68],[_0x26c668['DesktopCollaborationStatusDisplayController']],[_0x541715],[_0x501bbf],[_0x26c668['CollaborationDataLoaderController']],[_0xd3d150]]),this[_0x1634c3(0x1b7)][_0x1634c3(0x2ae)]&&_0x1bf86e[_0x1634c3(0x2b1)](this[_0x1634c3(0x17f)],[[_0x40fa0b]]);}},_0x5abf0f(_0x26c668[_0xb09cf6(0x1ce)],'pluginName',_0x257ec3),_0x26c668[_0xb09cf6(0x1ce)]=_0x4cf151([_0x1bf86e[_0xb09cf6(0x3c9)](_0x1cadbe[_0xb09cf6(0x3cd)]),_0x5d938f(0x1,_0x5dba15[_0xb09cf6(0x224)]),_0x5d938f(0x2,_0x1bf86e[_0xb09cf6(0x25e)](_0x1bf86e[_0xb09cf6(0x269)])),_0x5d938f(0x3,_0x1bf86e[_0xb09cf6(0xf1)])],_0x26c668[_0xb09cf6(0x1ce)]);var _0x11f570=Object[_0xb09cf6(0x2e5)],_0x1e5118=(_0x35a3c4,_0x4f6b81,_0x54962b,_0x5c3600)=>{for(var _0x246710=_0x5c3600>0x1?void 0x0:_0x5c3600?_0x11f570(_0x4f6b81,_0x54962b):_0x4f6b81,_0x1b7b0b=_0x35a3c4['length']-0x1,_0xc4ea15;_0x1b7b0b>=0x0;_0x1b7b0b--)(_0xc4ea15=_0x35a3c4[_0x1b7b0b])&&(_0x246710=_0xc4ea15(_0x246710)||_0x246710);return _0x246710;},_0x5a1757=(_0x2976e3,_0xbd4842)=>(_0x59c773,_0x543ef4)=>_0xbd4842(_0x59c773,_0x543ef4,_0x2976e3);_0x26c668['BrowserCollaborationSocketService']=class extends _0x1cadbe[_0xb09cf6(0x36b)]{constructor(_0x4ce982,_0x73f895,_0x46dd1d,_0x4bdfe2,_0x5c7bac){super(_0x4ce982,_0x73f895,_0x46dd1d,_0x4bdfe2,_0x5c7bac);}async[_0xb09cf6(0x36f)](_0x98430e){const _0x4d734f=_0xb09cf6,_0x4b8154=await this[_0x4d734f(0x3a5)](),_0x3d8123=this[_0x4d734f(0x281)](_0x98430e,_0x4b8154);return this[_0x4d734f(0x25a)](_0x3d8123);}['_createSocketURL'](_0x42a374,_0x11ea15){const _0x308393=_0xb09cf6,_0x5bc637=typeof window>'u'?new URL(_0x42a374):new URL(_0x42a374,window[_0x308393(0x13f)]['origin']);_0x5bc637[_0x308393(0x35a)]['set'](_0x308393(0x11b),_0x11ea15);const _0x4a0736=typeof window>'u'?new URLSearchParams():new URLSearchParams(window[_0x308393(0x13f)][_0x308393(0x3c7)]);return _0x4a0736[_0x308393(0x167)](_0x308393(0x1ba))&&_0x5bc637['searchParams'][_0x308393(0x32b)]('runId',_0x4a0736[_0x308393(0x167)](_0x308393(0x1ba))),_0x5bc637['toString']();}async[_0xb09cf6(0x3a5)](){const _0xe7c8d1=_0xb09cf6;var _0x4cc26c,_0xe3e1d,_0x4590ed;const _0x5bf24e=this[_0xe7c8d1(0x28d)][_0xe7c8d1(0x2cc)](_0x1cadbe[_0xe7c8d1(0x1ef)]),_0x451728=(_0x4cc26c=_0x5bf24e==null?void 0x0:_0x5bf24e['wsSessionTicketUrl'])!=null?_0x4cc26c:_0x1cadbe[_0xe7c8d1(0x36d)];return(_0x4590ed=(_0xe3e1d=(await this[_0xe7c8d1(0x356)][_0xe7c8d1(0x167)](_0x451728,{'headers':{'Content-Type':_0xe7c8d1(0x2e7)}}))[_0xe7c8d1(0xd6)])==null?void 0x0:_0xe3e1d[_0xe7c8d1(0x18e)])!=null?_0x4590ed:'';}},_0x26c668['BrowserCollaborationSocketService']=_0x1e5118([_0x5a1757(0x0,_0x1bf86e[_0xb09cf6(0x25e)](_0x1bf86e[_0xb09cf6(0x269)])),_0x5a1757(0x1,_0x1bf86e['Inject'](_0x53849d[_0xb09cf6(0x298)])),_0x5a1757(0x2,_0x1bf86e[_0xb09cf6(0xf1)]),_0x5a1757(0x3,_0x1bf86e[_0xb09cf6(0x143)]),_0x5a1757(0x4,_0x46b617[_0xb09cf6(0x277)])],_0x26c668[_0xb09cf6(0x24d)]);var _0x28bc53=Object['getOwnPropertyDescriptor'],_0x3f3289=(_0x39bf9a,_0x2f9c86,_0x291f14,_0x4cfc21)=>{for(var _0x56df5b=_0x4cfc21>0x1?void 0x0:_0x4cfc21?_0x28bc53(_0x2f9c86,_0x291f14):_0x2f9c86,_0x12a210=_0x39bf9a['length']-0x1,_0x2a5eb9;_0x12a210>=0x0;_0x12a210--)(_0x2a5eb9=_0x39bf9a[_0x12a210])&&(_0x56df5b=_0x2a5eb9(_0x56df5b)||_0x56df5b);return _0x56df5b;},_0x39ff8d=(_0x167da1,_0x2eb66c)=>(_0x2a51af,_0x42b196)=>_0x2eb66c(_0x2a51af,_0x42b196,_0x167da1);_0x26c668[_0xb09cf6(0x15a)]=class extends _0x1bf86e['Disposable']{constructor(_0x112485,_0x19b711,_0x1fa02b){const _0x38313f=_0xb09cf6;super(),this[_0x38313f(0x1e9)]=_0x112485,this[_0x38313f(0x356)]=_0x19b711,this[_0x38313f(0x28d)]=_0x1fa02b;}async[_0xb09cf6(0x193)](_0x3515c7,_0x26250b,_0x4287c1,..._0x558d4a){const _0x5b3845=_0xb09cf6;var _0x3710b3,_0x399f38,_0x164d9c,_0x1c14f0;const _0x31269a=this[_0x5b3845(0x1e9)][_0x5b3845(0x261)]();if(!_0x31269a)throw new Error(_0x5b3845(0x26d));const _0x398f49=((_0x3710b3=this[_0x5b3845(0x28d)][_0x5b3845(0x2cc)](_0x1cadbe['REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY']))!=null?_0x3710b3:_0x1cadbe[_0x5b3845(0x23c)])+'/'+_0x3515c7+_0x5b3845(0x1af)+_0x26250b,_0x1f1633=new URL(window[_0x5b3845(0x13f)][_0x5b3845(0x278)]),_0x5a6071={'scriptId':_0x3515c7,'runId':(_0x399f38=_0x1f1633[_0x5b3845(0x35a)][_0x5b3845(0x167)](_0x5b3845(0x1ba)))!=null?_0x399f38:'','function':_0x26250b,'unitId':_0x31269a[_0x5b3845(0x346)](),'argsOfFunction':JSON[_0x5b3845(0x233)](_0x558d4a),'invokeId':(_0x164d9c=_0x4287c1[_0x5b3845(0x20e)])!=null?_0x164d9c:'','executionId':(_0x1c14f0=_0x4287c1[_0x5b3845(0x333)])!=null?_0x1c14f0:''};try{const _0x53d4e6=await this['_httpService'][_0x5b3845(0x12f)](_0x398f49,{'body':_0x5a6071});return _0x53d4e6[_0x5b3845(0xd6)][_0x5b3845(0x2c3)]&&_0x53d4e6['body']['error'][_0x5b3845(0x344)]!==_0x190798['OK']?'Failed':_0x53d4e6[_0x5b3845(0xd6)][_0x5b3845(0x175)];}catch{return _0x5b3845(0x366);}}},_0x26c668[_0xb09cf6(0x15a)]=_0x3f3289([_0x39ff8d(0x0,_0x1bf86e['IUniverInstanceService']),_0x39ff8d(0x1,_0x1bf86e[_0xb09cf6(0x25e)](_0x53849d['HTTPService'])),_0x39ff8d(0x2,_0x1bf86e[_0xb09cf6(0xf1)])],_0x26c668[_0xb09cf6(0x15a)]);const _0x10d483=0x7530,_0x4d486e=_0xb09cf6(0x130);class _0x2e7def extends _0x1bf86e[_0xb09cf6(0x3a2)]{constructor(){const _0x256683=_0xb09cf6;super(),_0x49be5c(this,_0x256683(0x32a),_0x1bf86e['generateRandomId']()),_0x49be5c(this,'_selfUnitIDs',new Set()),_0x49be5c(this,_0x256683(0x19f),new Map()),_0x49be5c(this,_0x256683(0x221),null),_0x49be5c(this,_0x256683(0x24b),new Map()),_0x49be5c(this,_0x256683(0x1d4),new Map()),this[_0x256683(0xfd)]();}[_0xb09cf6(0x1a9)](){const _0x37db6=_0xb09cf6;super['dispose'](),this['_clearOtherTimers']['forEach']((_0xce69d8,_0x217eb3)=>this['_removeClearOtherTimer'](_0x217eb3)),this[_0x37db6(0x221)]&&window[_0x37db6(0x3bb)](this[_0x37db6(0x221)]);}[_0xb09cf6(0x179)](_0x305922){const _0x5cf3a4=_0xb09cf6;return this[_0x5cf3a4(0x180)](_0x305922)[_0x5cf3a4(0x368)](_0x57a56c['distinctUntilChanged']());}[_0xb09cf6(0x170)](_0xf5c1be){const _0x2d53ed=_0xb09cf6;this[_0x2d53ed(0x16f)][_0x2d53ed(0x255)]===0x0&&this['_scheduleHeartbeat'](),this['_selfUnitIDs'][_0x2d53ed(0x384)](_0xf5c1be),this[_0x2d53ed(0x21a)]({'type':0x0,'memberID':this[_0x2d53ed(0x32a)],'unitIDs':[_0xf5c1be],'isForwarded':!0x1});}['disposeUnit'](_0x17588d){const _0x17c751=_0xb09cf6;this[_0x17c751(0x16f)][_0x17c751(0x3b4)](_0x17588d),this['_selfUnitIDs'][_0x17c751(0x255)]===0x0&&this['_heartbeatTimer']&&window['clearInterval'](this[_0x17c751(0x221)]);}[_0xb09cf6(0xfd)](){const _0x464350=_0xb09cf6;this[_0x464350(0x104)](_0x1bf86e[_0x464350(0x127)](_0x57a56c['fromEvent'](window,_0x464350(0x21d))[_0x464350(0x3c4)](_0x2dfb62=>{const _0x15d66e=_0x464350;if(_0x2dfb62[_0x15d66e(0x108)]!==_0x4d486e||!_0x2dfb62[_0x15d66e(0x1da)])return;const _0x53e100=JSON['parse'](_0x2dfb62[_0x15d66e(0x1da)]);this[_0x15d66e(0x205)](_0x53e100);}))),window[_0x464350(0x12c)](_0x464350(0x24c),()=>this[_0x464350(0x21a)]({'type':0x1,'memberID':this[_0x464350(0x32a)],'unitIDs':Array['from'](this['_selfUnitIDs'])}));}[_0xb09cf6(0x205)](_0x17e4e5){const _0x5ef1da=_0xb09cf6;switch(_0x17e4e5['type']){case 0x0:this[_0x5ef1da(0x202)](_0x17e4e5);break;case 0x1:this[_0x5ef1da(0x18b)](_0x17e4e5);break;case 0x2:this[_0x5ef1da(0x22a)](_0x17e4e5);break;}}['_handleJoinEvent'](_0x12907c){const _0x3a073e=_0xb09cf6,{unitIDs:_0x130018,memberID:_0x133a38,isForwarded:_0x53baab}=_0x12907c;_0x130018[_0x3a073e(0x2c5)](_0x4e8dd6=>{const _0x533f3c=_0x3a073e;if(!_0x53baab&&this[_0x533f3c(0x19f)]['has'](_0x4e8dd6)&&this[_0x533f3c(0x180)](_0x4e8dd6)[_0x533f3c(0x153)](_0x1cadbe[_0x533f3c(0x25f)][_0x533f3c(0x250)]),!this['_unitOnClients'][_0x533f3c(0x3c5)](_0x4e8dd6)||!this['_unitOnClients'][_0x533f3c(0x167)](_0x4e8dd6)[_0x533f3c(0x3c5)](_0x133a38)){const _0x4bc637=this[_0x533f3c(0x19f)][_0x533f3c(0x167)](_0x4e8dd6)||new Set();_0x4bc637[_0x533f3c(0x384)](_0x133a38),this[_0x533f3c(0x19f)]['set'](_0x4e8dd6,_0x4bc637),this[_0x533f3c(0x2cf)](_0x133a38);}}),_0x53baab||this[_0x3a073e(0x21a)]({'type':0x0,'memberID':this['_id'],'unitIDs':[...this[_0x3a073e(0x16f)]],'isForwarded':!0x0});}[_0xb09cf6(0x2cf)](_0x31f9b5){const _0x4500b7=_0xb09cf6;this[_0x4500b7(0x149)](_0x31f9b5);const _0x354dac=window[_0x4500b7(0x397)](()=>{const _0x1edec0=_0x4500b7;this[_0x1edec0(0x19f)][_0x1edec0(0x2c5)](_0x1354cd=>{const _0x24989b=_0x1edec0;_0x1354cd[_0x24989b(0x3b4)](_0x31f9b5);});},_0x10d483*0x2);this[_0x4500b7(0x24b)][_0x4500b7(0x32b)](_0x31f9b5,_0x354dac);}[_0xb09cf6(0x149)](_0x3708c9){const _0xf6839b=_0xb09cf6;if(this[_0xf6839b(0x24b)]['has'](_0x3708c9)){const _0x2865e5=this['_clearOtherTimers']['get'](_0x3708c9);_0x2865e5&&window[_0xf6839b(0x1f0)](_0x2865e5),this[_0xf6839b(0x24b)][_0xf6839b(0x32b)](_0x3708c9,null);}}[_0xb09cf6(0x18b)](_0xb1fddc){const _0x30946e=_0xb09cf6,{memberID:_0x18c0f0,unitIDs:_0x3365f7}=_0xb1fddc;_0x3365f7['forEach'](_0x49ad6e=>{const _0x2d488b=_0x23ff;var _0x181d85;const _0x561f6a=this['_unitOnClients'][_0x2d488b(0x167)](_0x49ad6e);_0x561f6a&&(_0x561f6a[_0x2d488b(0x3b4)](_0x18c0f0),(_0x181d85=this[_0x2d488b(0x180)](_0x49ad6e))==null||_0x181d85[_0x2d488b(0x153)](_0x561f6a['size']===0x0?_0x1cadbe[_0x2d488b(0x25f)][_0x2d488b(0x326)]:_0x1cadbe[_0x2d488b(0x25f)]['OTHER_CLIENTS_EDITING']));}),this[_0x30946e(0x149)](_0x18c0f0);}[_0xb09cf6(0x22a)](_0x43d53b){const _0x3defd4=_0xb09cf6;this['_scheduleClearOtherTimer'](_0x43d53b[_0x3defd4(0x37d)]);}[_0xb09cf6(0x21a)](_0x430a40){const _0xd07774=_0xb09cf6;localStorage['setItem'](_0x4d486e,JSON[_0xd07774(0x233)](_0x430a40));}[_0xb09cf6(0x373)](){const _0x3a25b3=_0xb09cf6;this['_heartbeatTimer']=window[_0x3a25b3(0x38d)](()=>{const _0x3ae33f=_0x3a25b3;this[_0x3ae33f(0x21a)]({'type':0x2,'memberID':this['_id']});},_0x10d483);}[_0xb09cf6(0x180)](_0x5ddc57){const _0x892ec3=_0xb09cf6;return this[_0x892ec3(0x1d4)][_0x892ec3(0x3c5)](_0x5ddc57)||this['_unitStatus'][_0x892ec3(0x32b)](_0x5ddc57,new _0x57a56c[(_0x892ec3(0xe1))](_0x1cadbe[_0x892ec3(0x25f)]['NO_OTHER_CLIENTS_EDITING'])),this[_0x892ec3(0x1d4)][_0x892ec3(0x167)](_0x5ddc57);}}_0x26c668['IURLService']=_0x533f89,_0x26c668[_0xb09cf6(0xe0)]=_0x237cb7,_0x26c668[_0xb09cf6(0x231)]=_0x2e7def,_0x26c668[_0xb09cf6(0x144)]=_0x5cf8e8,Object[_0xb09cf6(0xd2)](_0x26c668,Symbol[_0xb09cf6(0x166)],{'value':'Module'});}));
|