@univerjs-pro/collaboration-client-ui 0.15.0 → 0.15.1-insiders.20260117-8ce4a01
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 +18 -18
package/lib/umd/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
function _0x1b11(_0x4bc4a6,_0x461449){_0x4bc4a6=_0x4bc4a6-0xea;const _0x5942b5=_0x5942();let _0x1b1133=_0x5942b5[_0x4bc4a6];return _0x1b1133;}(function(_0x41e4ec,_0x2f76af){const _0x25169b=_0x1b11,_0x54c780=_0x41e4ec();while(!![]){try{const _0x9af894=-parseInt(_0x25169b(0x2d3))/0x1+-parseInt(_0x25169b(0x178))/0x2*(-parseInt(_0x25169b(0x383))/0x3)+-parseInt(_0x25169b(0x19e))/0x4*(-parseInt(_0x25169b(0x31d))/0x5)+-parseInt(_0x25169b(0x346))/0x6+parseInt(_0x25169b(0x1f1))/0x7+parseInt(_0x25169b(0x282))/0x8*(parseInt(_0x25169b(0x316))/0x9)+-parseInt(_0x25169b(0x371))/0xa;if(_0x9af894===_0x2f76af)break;else _0x54c780['push'](_0x54c780['shift']());}catch(_0x20c881){_0x54c780['push'](_0x54c780['shift']());}}}(_0x5942,0xeac84),function(_0x2444a8,_0x10d435){const _0x434e5f=_0x1b11;typeof exports=='object'&&typeof module<'u'?_0x10d435(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==_0x434e5f(0x23d)&&define[_0x434e5f(0x389)]?define(['exports',_0x434e5f(0x25f),_0x434e5f(0x267),_0x434e5f(0x2f1),'@univerjs/ui',_0x434e5f(0xf4),_0x434e5f(0x170),_0x434e5f(0x114),_0x434e5f(0x205),'@univerjs/sheets',_0x434e5f(0x1ae),_0x434e5f(0x2dd),'@univerjs/docs-ui',_0x434e5f(0xf7),'@univerjs-pro/collaboration','@univerjs/docs','@univerjs/engine-formula',_0x434e5f(0x1b1),_0x434e5f(0x25b)],_0x10d435):(_0x2444a8=typeof globalThis<'u'?globalThis:_0x2444a8||self,_0x10d435(_0x2444a8[_0x434e5f(0x3b4)]={},_0x2444a8[_0x434e5f(0x204)],_0x2444a8['UniverProCollaborationClient'],_0x2444a8['UniverCore'],_0x2444a8[_0x434e5f(0x327)],_0x2444a8[_0x434e5f(0xf4)],_0x2444a8['UniverDesign'],_0x2444a8['React'],_0x2444a8['UniverRpc'],_0x2444a8[_0x434e5f(0x303)],_0x2444a8[_0x434e5f(0xed)],_0x2444a8['UniverNetwork'],_0x2444a8[_0x434e5f(0x340)],_0x2444a8[_0x434e5f(0x2d4)],_0x2444a8[_0x434e5f(0x3c6)],_0x2444a8[_0x434e5f(0x171)],_0x2444a8[_0x434e5f(0x118)],_0x2444a8[_0x434e5f(0xf4)][_0x434e5f(0x2e8)],_0x2444a8[_0x434e5f(0x283)]));}(this,function(_0x279e32,_0x54d5e1,_0x44b518,_0x162031,_0x198137,_0xe327d9,_0x3fb0c6,_0x5052d2,_0x4285c8,_0x3f123f,_0x433081,_0x1a6c2d,_0x74e6be,_0x3ae936,_0x4cd710,_0x47f67f,_0xf4950,_0x57b5b5,_0x9b001c){'use strict';const _0x477bc3=_0x1b11;var _0x466ec5=Object[_0x477bc3(0x2e2)],_0x35e16b=(_0x326c08,_0x5771ad,_0x1cc577)=>_0x5771ad in _0x326c08?_0x466ec5(_0x326c08,_0x5771ad,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x1cc577}):_0x326c08[_0x5771ad]=_0x1cc577,_0x387a01=(_0x335765,_0x3db743,_0x590ce7)=>_0x35e16b(_0x335765,typeof _0x3db743!=_0x477bc3(0x2c8)?_0x3db743+'':_0x3db743,_0x590ce7);function _0x1f6f00({ref:_0x35c15d,..._0x23899f}){const _0x7a8a2d=_0x477bc3,{icon:_0x39d060,id:_0x2f4805,className:_0xe39db5,extend:_0x3fdc21,..._0x5a4eee}=_0x23899f,_0x6ccf5d=(_0x7a8a2d(0x34e)+_0x2f4805+'\x20'+(_0xe39db5||''))['trim'](),_0x289461=_0x5052d2[_0x7a8a2d(0x13a)]('_'+_0x3136ff());return _0x58c339(_0x39d060,''+_0x2f4805,{'defIds':_0x39d060[_0x7a8a2d(0x12c)],'idSuffix':_0x289461[_0x7a8a2d(0x22e)]},{'ref':_0x35c15d,'className':_0x6ccf5d,..._0x5a4eee},_0x3fdc21);}function _0x58c339(_0xed048,_0x20f6c9,_0xcf8ace,_0xb6605a,_0x4cbebd){const _0x132e23=_0x477bc3;return _0x5052d2[_0x132e23(0x14f)](_0xed048[_0x132e23(0x3cb)],{'key':_0x20f6c9,..._0x213258(_0xed048,_0xcf8ace,_0x4cbebd),..._0xb6605a},(_0x56ecfc(_0xed048,_0xcf8ace)[_0x132e23(0x35d)]||[])[_0x132e23(0x239)]((_0x13b362,_0x3aabb)=>_0x58c339(_0x13b362,_0x20f6c9+'-'+_0xed048[_0x132e23(0x3cb)]+'-'+_0x3aabb,_0xcf8ace,void 0x0,_0x4cbebd)));}function _0x213258(_0x2c3fb4,_0x46cfab,_0xf98cc5){const _0x3eac24=_0x477bc3,_0x2de2d1={..._0x2c3fb4[_0x3eac24(0x2fb)]};_0xf98cc5!=null&&_0xf98cc5[_0x3eac24(0x223)]&&_0x2de2d1[_0x3eac24(0x368)]===_0x3eac24(0x223)&&(_0x2de2d1[_0x3eac24(0x368)]=_0xf98cc5[_0x3eac24(0x223)]),_0x2c3fb4['tag']===_0x3eac24(0xff)&&_0x2de2d1['id']&&(_0x2de2d1['id']=_0x2de2d1['id']+_0x46cfab[_0x3eac24(0x393)]),Object['entries'](_0x2de2d1)[_0x3eac24(0x3c7)](([_0x50f864,_0x478761])=>{const _0x58cbb1=_0x3eac24;_0x50f864===_0x58cbb1(0xff)&&typeof _0x478761==_0x58cbb1(0x1cb)&&(_0x2de2d1[_0x50f864]=_0x478761[_0x58cbb1(0x2e1)](/url\(#(.*)\)/,_0x58cbb1(0x264)+_0x46cfab[_0x58cbb1(0x393)]+')'));});const {defIds:_0x413341}=_0x46cfab;return!_0x413341||_0x413341[_0x3eac24(0x215)]===0x0||(_0x2c3fb4[_0x3eac24(0x3cb)]===_0x3eac24(0x121)&&_0x2de2d1[_0x3eac24(0x29a)]&&(_0x2de2d1['xlink:href']=_0x2de2d1[_0x3eac24(0x29a)]+_0x46cfab[_0x3eac24(0x393)]),Object['entries'](_0x2de2d1)[_0x3eac24(0x3c7)](([_0x3d5fb0,_0x542a55])=>{const _0x1204e3=_0x3eac24;typeof _0x542a55==_0x1204e3(0x1cb)&&(_0x2de2d1[_0x3d5fb0]=_0x542a55['replace'](/url\(#(.*)\)/,_0x1204e3(0x264)+_0x46cfab[_0x1204e3(0x393)]+')'));})),_0x2de2d1;}function _0x56ecfc(_0x3e045a,_0x398232){const _0x25c09b=_0x477bc3;var _0x3aabef;const {defIds:_0x4427da}=_0x398232;return!_0x4427da||_0x4427da[_0x25c09b(0x215)]===0x0?_0x3e045a:_0x3e045a[_0x25c09b(0x3cb)]===_0x25c09b(0x294)&&((_0x3aabef=_0x3e045a[_0x25c09b(0x35d)])!=null&&_0x3aabef[_0x25c09b(0x215)])?{..._0x3e045a,'children':_0x3e045a[_0x25c09b(0x35d)]['map'](_0x4e62cc=>typeof _0x4e62cc[_0x25c09b(0x2fb)]['id']==_0x25c09b(0x1cb)&&_0x4427da&&_0x4427da[_0x25c09b(0x3aa)](_0x4e62cc[_0x25c09b(0x2fb)]['id'])?{..._0x4e62cc,'attrs':{..._0x4e62cc['attrs'],'id':_0x4e62cc[_0x25c09b(0x2fb)]['id']+_0x398232[_0x25c09b(0x393)]}}:_0x4e62cc)}:_0x3e045a;}function _0x3136ff(){const _0x4fbc6c=_0x477bc3;return Math[_0x4fbc6c(0x3c9)]()[_0x4fbc6c(0x2a6)](0x24)['substring'](0x2,0x8);}_0x1f6f00[_0x477bc3(0x2f9)]=_0x477bc3(0x274);const _0x22e3f7={'tag':_0x477bc3(0x2c7),'attrs':{'xmlns':_0x477bc3(0x1db),'fill':_0x477bc3(0x230),'viewBox':'0\x200\x2016\x2016','width':_0x477bc3(0x3d1),'height':_0x477bc3(0x3d1)},'children':[{'tag':'g','attrs':{'clipPath':_0x477bc3(0x21e)},'children':[{'tag':_0x477bc3(0x12b),'attrs':{'stroke':_0x477bc3(0x2a4),'d':_0x477bc3(0x28e),'strokeLinecap':_0x477bc3(0x2ba),'strokeLinejoin':_0x477bc3(0x2ba),'strokeWidth':1.2}}]},{'tag':_0x477bc3(0x294),'attrs':{},'children':[{'tag':_0x477bc3(0x172),'attrs':{'id':'off-line-icon_clip0_910_343'},'children':[{'tag':_0x477bc3(0x12b),'attrs':{'fill':_0x477bc3(0x362),'d':'M0\x200H16V16H0z'}}]}]}],'defIds':[_0x477bc3(0x11d)]},_0x3acc41=_0x5052d2[_0x477bc3(0x1a2)](function(_0x335fb5,_0x2aa23e){const _0x481cc7=_0x477bc3;return _0x5052d2[_0x481cc7(0x14f)](_0x1f6f00,Object[_0x481cc7(0x3ba)]({},_0x335fb5,{'id':'off-line-icon','ref':_0x2aa23e,'icon':_0x22e3f7}));});_0x3acc41['displayName']=_0x477bc3(0x2bf);const _0x5e11f8={'tag':'svg','attrs':{'xmlns':'http://www.w3.org/2000/svg','fill':_0x477bc3(0x230),'viewBox':_0x477bc3(0x2de),'width':_0x477bc3(0x3d1),'height':_0x477bc3(0x3d1)},'children':[{'tag':'g','attrs':{'clipPath':_0x477bc3(0x260)},'children':[{'tag':_0x477bc3(0x12b),'attrs':{'stroke':'currentColor','d':'M4.5865\x2011.6499C3.36983\x2011.6499\x201.6665\x2011.1024\x201.6665\x208.9124C1.6665\x206.3574\x204.2215\x205.8099\x204.9515\x205.8099C5.3165\x204.5324\x206.0465\x202.5249\x208.9665\x202.5249C11.5215\x202.5249\x2012.6165\x203.9849\x2012.9815\x205.2624C12.9815\x205.2624\x2016.2665\x205.6274\x2016.2665\x208.7299C16.2665\x2010.9199\x2014.8065\x2011.6499\x2013.3465\x2011.6499M6.7767\x2011.6497L8.9667\x2013.4747L11.8867\x209.82466','strokeLinecap':'round','strokeLinejoin':'round','strokeWidth':1.2}}]},{'tag':_0x477bc3(0x294),'attrs':{},'children':[{'tag':_0x477bc3(0x172),'attrs':{'id':_0x477bc3(0x2f8)},'children':[{'tag':_0x477bc3(0x12b),'attrs':{'fill':_0x477bc3(0x362),'d':'M0\x200H16V16H0z','transform':_0x477bc3(0x2c6)}}]}]}],'defIds':[_0x477bc3(0x2f8)]},_0x2e2546=_0x5052d2[_0x477bc3(0x1a2)](function(_0x434459,_0x51802f){const _0x44588d=_0x477bc3;return _0x5052d2[_0x44588d(0x14f)](_0x1f6f00,Object[_0x44588d(0x3ba)]({},_0x434459,{'id':_0x44588d(0x3d9),'ref':_0x51802f,'icon':_0x5e11f8}));});_0x2e2546[_0x477bc3(0x2f9)]=_0x477bc3(0x27b);function _0x8aa2ad(_0x34bc1c){const _0x1f2b13=_0x477bc3;switch(_0x34bc1c){case _0x44b518[_0x1f2b13(0x2c2)][_0x1f2b13(0x3b8)]:return _0x1f2b13(0x3c2);case _0x44b518[_0x1f2b13(0x2c2)][_0x1f2b13(0x1eb)]:return _0x1f2b13(0x2b1);case _0x44b518['CollaborationStatus'][_0x1f2b13(0x22a)]:return _0x1f2b13(0x2f5);case _0x44b518[_0x1f2b13(0x2c2)]['NOT_COLLAB']:return _0x1f2b13(0x2d5);case _0x44b518[_0x1f2b13(0x2c2)][_0x1f2b13(0x2ef)]:case _0x44b518['CollaborationStatus'][_0x1f2b13(0x1bd)]:return _0x1f2b13(0x2b7);case _0x44b518[_0x1f2b13(0x2c2)][_0x1f2b13(0x19f)]:case _0x44b518['CollaborationStatus'][_0x1f2b13(0x12f)]:return _0x1f2b13(0x13d);}}function _0x50f449(_0x3c54f0){const _0x114d18=_0x477bc3,{status$:_0x5dcc64}=_0x3c54f0,_0x35dc72=_0x198137[_0x114d18(0x2d2)](_0x5dcc64,_0x44b518[_0x114d18(0x2c2)][_0x114d18(0x35c)]),_0x2a70c4=_0x198137['useDependency'](_0x162031['LocaleService']),_0x3ee78b=_0x198137[_0x114d18(0x290)](_0x44b518[_0x114d18(0x1e5)]),_0x4fcd08=_0x35dc72!==_0x44b518['CollaborationStatus']['OFFLINE'],_0x45ef2e=_0x2a70c4['t'](_0x8aa2ad(_0x35dc72)),_0x3e9700=_0x4fcd08?_0x54d5e1['jsx'](_0x2e2546,{}):_0x54d5e1[_0x114d18(0x181)](_0x3acc41,{}),_0xf74250=_0x5052d2[_0x114d18(0x23e)](()=>{const _0x356060=_0x114d18;_0x4fcd08||_0x3ee78b[_0x356060(0x329)]();},[_0x4fcd08,_0x3ee78b]);function _0x25a23c(){const _0x2d68ce=_0x114d18;return _0x54d5e1['jsxs'](_0x2d68ce(0x226),{'className':'univer-flex\x20univer-items-center','onClick':_0xf74250,'children':[_0x54d5e1[_0x2d68ce(0x181)](_0x2d68ce(0x226),{'className':_0x3fb0c6[_0x2d68ce(0x29e)](_0x2d68ce(0x333),{'univer-text-green-500':_0x4fcd08,'univer-text-red-500':!_0x4fcd08}),'children':_0x3e9700}),_0x54d5e1[_0x2d68ce(0x181)]('div',{'className':_0x2d68ce(0x3af),'children':_0x45ef2e})]});}return _0x4fcd08?_0x25a23c():_0x54d5e1['jsx'](_0x3fb0c6[_0x114d18(0x137)],{'title':_0x2a70c4['t'](_0x114d18(0x19a)),'children':_0x25a23c()});}var _0x1c8fdd=Object[_0x477bc3(0x1ec)],_0x39656a=(_0x233898,_0x27b967,_0x880d8,_0x4ed502)=>{const _0x5e52e8=_0x477bc3;for(var _0x5daccb=_0x4ed502>0x1?void 0x0:_0x4ed502?_0x1c8fdd(_0x27b967,_0x880d8):_0x27b967,_0x5b52c9=_0x233898[_0x5e52e8(0x215)]-0x1,_0x11e309;_0x5b52c9>=0x0;_0x5b52c9--)(_0x11e309=_0x233898[_0x5b52c9])&&(_0x5daccb=_0x11e309(_0x5daccb)||_0x5daccb);return _0x5daccb;},_0x20f050=(_0x55f3a4,_0x3a5633)=>(_0x1261b2,_0x5935ed)=>_0x3a5633(_0x1261b2,_0x5935ed,_0x55f3a4);_0x279e32[_0x477bc3(0x2b8)]=class extends _0x162031[_0x477bc3(0x148)]{constructor(_0x216994,_0xf1d9d7,_0x4ff177,_0x2e649e){const _0x3207ea=_0x477bc3;super(),_0x387a01(this,_0x3207ea(0x117),new _0xe327d9['BehaviorSubject'](_0x44b518['CollaborationStatus'][_0x3207ea(0x35c)])),(this[_0x3207ea(0x225)]=_0x216994,this['_injector']=_0xf1d9d7,this[_0x3207ea(0x2f2)]=_0x4ff177,this[_0x3207ea(0x17b)]=_0x2e649e,this['_initStatusComponent'](),this[_0x3207ea(0x206)]());}[_0x477bc3(0x206)](){const _0x3252ef=_0x477bc3;this['disposeWithMe'](this[_0x3252ef(0x225)][_0x3252ef(0x253)][_0x3252ef(0x2d1)](_0xe327d9[_0x3252ef(0x220)](()=>{const _0x2da279=_0x3252ef,_0x15b6f9=this['_univerInstanceService'][_0x2da279(0x14b)]();return _0x15b6f9?this[_0x2da279(0x2f2)][_0x2da279(0x307)](_0x15b6f9[_0x2da279(0x161)]()):_0xe327d9['of'](null);}),_0xe327d9[_0x3252ef(0x220)](_0x340f77=>_0x340f77?_0x340f77[_0x3252ef(0x1b2)]:_0xe327d9['of'](_0x44b518[_0x3252ef(0x2c2)]['NOT_COLLAB'])))['subscribe'](_0x3b8c59=>{const _0xff292f=_0x3252ef;this[_0xff292f(0x117)][_0xff292f(0x3be)](_0x3b8c59);}));}[_0x477bc3(0x25a)](){const _0x4cb6d=_0x477bc3;this[_0x4cb6d(0x32e)](this[_0x4cb6d(0x17b)][_0x4cb6d(0x29b)](_0x198137[_0x4cb6d(0x3a9)][_0x4cb6d(0x2b9)],()=>_0x198137[_0x4cb6d(0x2e7)](_0x208e22({'status$':this[_0x4cb6d(0x117)][_0x4cb6d(0x119)]()}),this[_0x4cb6d(0x3da)])));}},_0x279e32['DesktopCollaborationStatusDisplayController']=_0x39656a([_0x20f050(0x0,_0x162031[_0x477bc3(0x21c)]),_0x20f050(0x1,_0x162031[_0x477bc3(0x2b0)](_0x162031[_0x477bc3(0x1e2)])),_0x20f050(0x2,_0x162031['Inject'](_0x44b518[_0x477bc3(0x15a)])),_0x20f050(0x3,_0x198137[_0x477bc3(0x187)])],_0x279e32[_0x477bc3(0x2b8)]);function _0x208e22(_0x213b3c){const {status$:_0x168a17}=_0x213b3c;return function(){const _0x3ef4a7=_0x1b11;return _0x54d5e1[_0x3ef4a7(0x181)](_0x50f449,{'status$':_0x168a17});};}const _0x361122=_0x162031[_0x477bc3(0x3a4)](_0x477bc3(0x39d));var _0x1cd2ca=Object[_0x477bc3(0x1ec)],_0x329221=(_0x4adaa0,_0x2f7471,_0x17d441,_0x40a1c1)=>{for(var _0x281cbe=_0x40a1c1>0x1?void 0x0:_0x40a1c1?_0x1cd2ca(_0x2f7471,_0x17d441):_0x2f7471,_0x1c6c54=_0x4adaa0['length']-0x1,_0x41f548;_0x1c6c54>=0x0;_0x1c6c54--)(_0x41f548=_0x4adaa0[_0x1c6c54])&&(_0x281cbe=_0x41f548(_0x281cbe)||_0x281cbe);return _0x281cbe;},_0xe212eb=(_0x3a8096,_0x56c9ff)=>(_0x5e2280,_0x429073)=>_0x56c9ff(_0x5e2280,_0x429073,_0x3a8096);_0x279e32[_0x477bc3(0x174)]=class extends _0x162031[_0x477bc3(0xea)]{constructor(_0x35e221,_0x52832c,_0x2f838f,_0x3befd1,_0x2ad403){const _0x33fa88=_0x477bc3;super(),this[_0x33fa88(0x2d7)]=_0x35e221,this[_0x33fa88(0x297)]=_0x52832c,this[_0x33fa88(0x139)]=_0x2f838f,this[_0x33fa88(0x2ce)]=_0x3befd1,_0x2ad403?_0x2ad403==null||_0x2ad403[_0x33fa88(0x365)]()[_0x33fa88(0x22f)](()=>this[_0x33fa88(0x1ad)]()):(this[_0x33fa88(0x297)][_0x33fa88(0x146)](_0x33fa88(0x234),'No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.'),this[_0x33fa88(0x1ad)]());}async[_0x477bc3(0x1ad)](){const _0x3455e6=_0x477bc3,_0x2bf745=this['_urlService'][_0x3455e6(0x24e)]('unit'),_0x443c1b=this[_0x3455e6(0x2d7)][_0x3455e6(0x24e)](_0x3455e6(0x24d)),_0x54d9f8=this['_urlService'][_0x3455e6(0x24e)](_0x3455e6(0x2bc));if(!_0x2bf745||!_0x443c1b){this[_0x3455e6(0x297)][_0x3455e6(0x146)](_0x3455e6(0x234),_0x3455e6(0x216));return;}const _0x345e8e=await this[_0x3455e6(0x2ce)][_0x3455e6(0x1a5)](_0x2bf745,Number(_0x443c1b),_0x54d9f8);_0x345e8e&&_0x345e8e instanceof _0x162031[_0x3455e6(0x310)]&&this['_setupSubUnitSync'](_0x345e8e);}async[_0x477bc3(0x18e)](_0x4cc461){const _0x2225ef=_0x477bc3;await this[_0x2225ef(0x20c)](_0x4cc461),_0x4cc461[_0x2225ef(0x3b6)][_0x2225ef(0x2d1)](_0xe327d9[_0x2225ef(0x331)](this['dispose$']))['subscribe'](_0x658764=>{const _0xf1e1c8=_0x2225ef;_0x658764&&this[_0xf1e1c8(0x2f7)](_0x658764);}),this['_urlService']['urlChange$']['pipe'](_0xe327d9[_0x2225ef(0x331)](this[_0x2225ef(0x1c1)]))['subscribe'](()=>this[_0x2225ef(0x20c)](_0x4cc461));}[_0x477bc3(0x2f7)](_0x3fc877,_0x261b10=!0x1){const _0x31b9db=_0x477bc3,_0x597010=this[_0x31b9db(0x2d7)][_0x31b9db(0x24e)](_0x31b9db(0x2bc));_0x3fc877[_0x31b9db(0x2a7)]()!==_0x597010&&this[_0x31b9db(0x2d7)][_0x31b9db(0x33c)](_0x31b9db(0x2bc),_0x3fc877[_0x31b9db(0x2a7)](),_0x261b10);}async['_updateSubUnitFromURLParams'](_0x384c5e){const _0x288c26=_0x477bc3;var _0x3f4118;const _0x197120=this['_urlService'][_0x288c26(0x24e)](_0x288c26(0x2bc));if(!_0x197120||!_0x384c5e['getSheetBySheetId'](_0x197120)){const _0x47b7b4=_0x384c5e[_0x288c26(0x1d0)]()[0x0],_0x43fcfa=_0x384c5e[_0x288c26(0x2ca)](_0x47b7b4);if(!_0x43fcfa)return;this[_0x288c26(0x2f7)](_0x43fcfa,!0x0),await this[_0x288c26(0x139)][_0x288c26(0x269)](_0x3f123f[_0x288c26(0x322)]['id'],{'unitId':_0x384c5e[_0x288c26(0x161)](),'subUnitId':_0x47b7b4});return;}((_0x3f4118=_0x384c5e['getActiveSheet']())==null?void 0x0:_0x3f4118[_0x288c26(0x2a7)]())!==_0x197120&&await this[_0x288c26(0x139)]['executeCommand'](_0x3f123f[_0x288c26(0x322)]['id'],{'unitId':_0x384c5e['getUnitId'](),'subUnitId':_0x197120});}},_0x279e32['CollaborationDataLoaderController']=_0x329221([_0xe212eb(0x0,_0x361122),_0xe212eb(0x1,_0x162031[_0x477bc3(0x353)]),_0xe212eb(0x2,_0x162031[_0x477bc3(0x326)]),_0xe212eb(0x3,_0x162031['Inject'](_0x44b518[_0x477bc3(0x2bd)])),_0xe212eb(0x4,_0x162031[_0x477bc3(0x30b)](_0x4285c8[_0x477bc3(0x258)]))],_0x279e32['CollaborationDataLoaderController']);var _0x1f631f=Object[_0x477bc3(0x1ec)],_0x3b9181=(_0x3a8dc7,_0x8535a6,_0x26a632,_0x2cb1a6)=>{for(var _0x2d844d=_0x2cb1a6>0x1?void 0x0:_0x2cb1a6?_0x1f631f(_0x8535a6,_0x26a632):_0x8535a6,_0x212735=_0x3a8dc7['length']-0x1,_0xd023be;_0x212735>=0x0;_0x212735--)(_0xd023be=_0x3a8dc7[_0x212735])&&(_0x2d844d=_0xd023be(_0x2d844d)||_0x2d844d);return _0x2d844d;},_0x21f1aa=(_0x27172d,_0x50fd1c)=>(_0x1a6780,_0x556fe3)=>_0x50fd1c(_0x1a6780,_0x556fe3,_0x27172d);let _0x4b1658=class extends _0x162031[_0x477bc3(0xea)]{constructor(_0x5d2b36,_0x34e7f7){const _0x295a42=_0x477bc3;super(),this[_0x295a42(0x268)]=_0x5d2b36,this[_0x295a42(0x3bf)]=_0x34e7f7,this[_0x295a42(0x1ad)]();}['_init'](){const _0x2e4e60=_0x477bc3,_0x254877=this;this['disposeWithMe'](this[_0x2e4e60(0x268)][_0x2e4e60(0x369)]({'onBeforePasteImage':async _0x5ac041=>{const _0x2f9170=_0x2e4e60,_0x199419=await _0x254877[_0x2f9170(0x3bf)][_0x2f9170(0x2cf)](_0x5ac041);return _0x199419?{'source':_0x199419[_0x2f9170(0x285)],'imageSourceType':_0x199419[_0x2f9170(0x382)]}:null;}}));}};_0x4b1658=_0x3b9181([_0x21f1aa(0x0,_0x74e6be[_0x477bc3(0x120)]),_0x21f1aa(0x1,_0x3ae936[_0x477bc3(0x2f4)])],_0x4b1658);const _0x3a99c3=[_0x477bc3(0x2dc),_0x477bc3(0x1dc),_0x477bc3(0x384),'red.300',_0x477bc3(0x1e4),_0x477bc3(0x38f)];class _0x446316 extends _0x162031['Disposable']{constructor(){const _0x4d3501=_0x477bc3;super(...arguments),_0x387a01(this,'_assignedColors',new Map()),_0x387a01(this,_0x4d3501(0x355),0x0);}['assignAColorForMemberID'](_0x951527){const _0x2e6e3c=_0x477bc3;if(this[_0x2e6e3c(0xfa)][_0x2e6e3c(0x3cf)](_0x951527))return this[_0x2e6e3c(0xfa)][_0x2e6e3c(0x375)](_0x951527);const _0x28134b=_0x3a99c3[this[_0x2e6e3c(0x355)]];return this[_0x2e6e3c(0x355)]=(this['_colorIndex']+0x1)%_0x3a99c3['length'],this[_0x2e6e3c(0xfa)][_0x2e6e3c(0x34a)](_0x951527,_0x28134b),_0x28134b;}}function _0x3b41bd(_0x524c93){const _0x50b5a3=_0x477bc3;let _0xe7ffaf='';for(const _0x5dbb4f of _0x524c93){const {startOffset:_0x391a38,endOffset:_0x12a495,isActive:_0xa453e8,rangeType:_0x51df26,segmentId:_0x50d11b,segmentPage:_0x1480a3}=_0x5dbb4f;_0xe7ffaf[_0x50b5a3(0x215)]&&(_0xe7ffaf+=','),_0xe7ffaf+=_0x391a38+':'+_0x12a495+':'+(_0xa453e8?'1':'0')+':'+_0x51df26+':'+_0x50d11b+':'+_0x1480a3;}return _0xe7ffaf;}function _0x121003(_0x57178b){const _0x55e27a=_0x477bc3,_0x246fe0=_0x57178b[_0x55e27a(0xf9)](','),_0x4c8bfb=[];for(const _0x887c3d of _0x246fe0){const [_0x49982a,_0x2153b9,_0x35dba0,_0xcd88b6,_0x37423a,_0xe3e418]=_0x887c3d['split'](':');_0x4c8bfb[_0x55e27a(0x138)]({'startOffset':Number(_0x49982a),'endOffset':Number(_0x2153b9),'collapsed':_0x49982a===_0x2153b9,'isActive':_0x35dba0==='1','rangeType':_0xcd88b6===_0x162031['DOC_RANGE_TYPE'][_0x55e27a(0x252)]?_0x162031[_0x55e27a(0x1d9)][_0x55e27a(0x252)]:_0x162031[_0x55e27a(0x1d9)][_0x55e27a(0x29d)],'segmentId':typeof _0x37423a==_0x55e27a(0x1cb)?String(_0x37423a):'','segmentPage':Number(_0xe3e418!=null?_0xe3e418:-0x1)});}return _0x4c8bfb[_0x55e27a(0x30e)](_0x23b56e=>_0x23b56e['isActive'])||(_0x4c8bfb[0x0]['isActive']=!0x0),_0x4c8bfb;}class _0x3f7f20 extends _0x162031['RxDisposable']{constructor(){const _0x52bf15=_0x477bc3;super(...arguments),_0x387a01(this,_0x52bf15(0x11e),new _0xe327d9[(_0x52bf15(0x136))](null)),_0x387a01(this,_0x52bf15(0x1ba),this['_collabCursorState$'][_0x52bf15(0x119)]());}[_0x477bc3(0x25d)](_0x28eceb){const _0x570079=_0x477bc3,{unitID:_0x152297,memberID:_0x15c498,textRanges:_0x4bf291}=_0x28eceb,_0x180787=_0x3b41bd(_0x4bf291);if(_0x180787==='')return;const _0x1c350a={'unitID':_0x152297,'memberID':_0x15c498,'selection':_0x180787};this[_0x570079(0x11e)][_0x570079(0x3be)](_0x1c350a);}}var _0x3a4aaa=Object[_0x477bc3(0x1ec)],_0x4246d9=(_0x48b371,_0x381dd9,_0x4f6655,_0x132ae8)=>{const _0x5c457e=_0x477bc3;for(var _0x246701=_0x132ae8>0x1?void 0x0:_0x132ae8?_0x3a4aaa(_0x381dd9,_0x4f6655):_0x381dd9,_0x42cf91=_0x48b371[_0x5c457e(0x215)]-0x1,_0x68757a;_0x42cf91>=0x0;_0x42cf91--)(_0x68757a=_0x48b371[_0x42cf91])&&(_0x246701=_0x68757a(_0x246701)||_0x246701);return _0x246701;},_0x2211aa=(_0x38a445,_0x3a2603)=>(_0x264873,_0x276d1b)=>_0x3a2603(_0x264873,_0x276d1b,_0x38a445);const _0x4b0adc=0x12c,_0x2f001d=0x64;let _0x36b425=class extends _0x162031[_0x477bc3(0xea)]{constructor(_0xf42aeb,_0x1a14f7,_0x424f6d,_0x2353e1,_0x460170,_0x16dd61,_0x80fa2a,_0x20ba75,_0xc16b8c){const _0x31afdf=_0x477bc3;super(),_0x387a01(this,_0x31afdf(0x159),!0x1),_0x387a01(this,_0x31afdf(0x1ad),!0x1),_0x387a01(this,_0x31afdf(0x10e),new _0xe327d9[(_0x31afdf(0x136))](new Map())),_0x387a01(this,_0x31afdf(0x262),this['_cursorInfo$']['asObservable']()),_0x387a01(this,'_roomMembers$',new _0xe327d9[(_0x31afdf(0x136))]([])),_0x387a01(this,_0x31afdf(0x2db),this[_0x31afdf(0x281)][_0x31afdf(0x2d1)](_0xe327d9[_0x31afdf(0x1da)](_0x4b0adc))),_0x387a01(this,_0x31afdf(0x276),_0x162031[_0x31afdf(0x24c)](_0x12f555=>{const _0x5d1c98=_0x31afdf,_0x45553c={'eventID':_0x4cd710[_0x5d1c98(0x22d)][_0x5d1c98(0x164)],'data':{'unitID':this[_0x5d1c98(0x3d0)],'memberID':this[_0x5d1c98(0x20b)][_0x5d1c98(0x3ae)](),'selection':_0x3b41bd(_0x12f555)}};this[_0x5d1c98(0x20b)][_0x5d1c98(0x3a8)](_0x45553c,this['unitID']);},_0x2f001d)),(this[_0x31afdf(0x3d0)]=_0xf42aeb,this['_session']=_0x1a14f7,this[_0x31afdf(0x3da)]=_0x424f6d,this[_0x31afdf(0x343)]=_0x2353e1,this[_0x31afdf(0x1d3)]=_0x460170,this[_0x31afdf(0x304)]=_0x16dd61,this[_0x31afdf(0x22c)]=_0x80fa2a,this[_0x31afdf(0x225)]=_0x20ba75,this[_0x31afdf(0x139)]=_0xc16b8c);}get['cursorInfo'](){const _0x76b1c4=_0x477bc3;return this[_0x76b1c4(0x10e)][_0x76b1c4(0x182)]();}get['roomMembers'](){const _0x5e8db1=_0x477bc3;return this[_0x5e8db1(0x281)][_0x5e8db1(0x182)]();}[_0x477bc3(0x388)](){const _0x309104=_0x477bc3;super['dispose'](),this[_0x309104(0x10e)][_0x309104(0x3be)](new Map()),this[_0x309104(0x10e)]['complete'](),this[_0x309104(0x281)][_0x309104(0x3be)]([]),this['_roomMembers$']['complete']();}['init'](){const _0x2ac674=_0x477bc3;this[_0x2ac674(0x1ad)]||(this[_0x2ac674(0x1ad)]=!0x0,this[_0x2ac674(0x20b)][_0x2ac674(0x1af)]['pipe'](_0xe327d9[_0x2ac674(0x331)](this[_0x2ac674(0x1c1)]))[_0x2ac674(0x2cd)](_0x561f01=>{const _0x1ca633=_0x2ac674;_0x561f01===_0x44b518[_0x1ca633(0x385)]['ONLINE']?this['_toggleOnline']():this['_toggleOffline']();}),this[_0x2ac674(0x20b)]['event$'][_0x2ac674(0x2d1)](_0xe327d9['takeUntil'](this[_0x2ac674(0x1c1)]))[_0x2ac674(0x2cd)](_0x1e2f85=>{const _0x59371c=_0x2ac674,_0x51d66=_0x1e2f85[_0x59371c(0x2ad)];_0x51d66===_0x4cd710[_0x59371c(0x22d)][_0x59371c(0x164)]&&this[_0x59371c(0x25c)](_0x1e2f85),_0x51d66===_0x4cd710[_0x59371c(0x22d)][_0x59371c(0x314)]&&this['_onCursorDelete'](_0x1e2f85);}),this['disposeWithMe'](this[_0x2ac674(0x139)][_0x2ac674(0x1b7)](_0x3619c3=>{const _0x58381e=_0x2ac674,_0x20be0a=_0x3619c3[_0x58381e(0x1ab)];_0x20be0a!=null&&this['_online']&&_0x3619c3['id']===_0x47f67f[_0x58381e(0x2b6)]['id']&&_0x20be0a[_0x58381e(0x150)]===this['unitID']&&_0x20be0a[_0x58381e(0x1a1)]===!0x1&&_0x20be0a[_0x58381e(0x1de)][_0x58381e(0x215)]>0x0&&this[_0x58381e(0x276)](_0x20be0a[_0x58381e(0x1de)]);})),this[_0x2ac674(0x304)]['collabCursorState$'][_0x2ac674(0x2d1)](_0xe327d9[_0x2ac674(0x331)](this[_0x2ac674(0x1c1)]))[_0x2ac674(0x2cd)](_0x48867b=>{const _0x225024=_0x2ac674;if((_0x48867b==null?void 0x0:_0x48867b[_0x225024(0x3d0)])!==this[_0x225024(0x3d0)])return;const _0x2d2093={'eventID':_0x4cd710[_0x225024(0x22d)][_0x225024(0x164)],'data':_0x48867b};this[_0x225024(0x25c)](_0x2d2093);}),this[_0x2ac674(0x32e)](this[_0x2ac674(0x139)][_0x2ac674(0x1b7)](_0x1e9af6=>{const _0x4f0adc=_0x2ac674;if(_0x1e9af6[_0x4f0adc(0x1ab)]==null)return;const _0x170cfe=_0x1e9af6['params'];if(_0x1e9af6['id']!==_0x47f67f['RichTextEditingMutation']['id']||_0x170cfe[_0x4f0adc(0x150)]!==this['unitID'])return;const _0x53e19f={'id':_0x4f0adc(0x20a),'params':_0x170cfe},_0x590fec=this[_0x4f0adc(0x266)];for(const [_0x1a3e26,_0x456c9a]of _0x590fec){const _0x21c02a={'id':_0x4f0adc(0x20a),'params':{'unitId':this[_0x4f0adc(0x3d0)],'actions':null,'textRanges':_0x456c9a[_0x4f0adc(0x1de)]}},_0x4269ab=this[_0x4f0adc(0x22c)]['transformMutation'](_0x53e19f,_0x21c02a,!0x1);if(_0x4cd710[_0x4f0adc(0x3ad)](_0x4269ab))throw _0x4269ab[_0x4f0adc(0x2d0)];_0x590fec[_0x4f0adc(0x34a)](_0x1a3e26,{..._0x456c9a,'ranges':_0x4269ab[_0x4f0adc(0x250)][_0x4f0adc(0x1ab)][_0x4f0adc(0x395)]});}queueMicrotask(()=>{const _0x16a74d=_0x4f0adc;this[_0x16a74d(0x10e)][_0x16a74d(0x3be)](_0x590fec);});})));}[_0x477bc3(0x25c)](_0x49d18b){const _0x1e8498=_0x477bc3;var _0x4855aa,_0xa28809;const {memberID:_0x23e670,selection:_0x47d091}=_0x49d18b[_0x1e8498(0x1f9)],_0x17b7f1=_0x121003(_0x47d091),_0x266ea5=(_0xa28809=(_0x4855aa=this[_0x1e8498(0x1d3)][_0x1e8498(0x271)](this['unitID'],_0x23e670))==null?void 0x0:_0x4855aa[_0x1e8498(0x3d4)])!=null?_0xa28809:_0x1e8498(0x30f),_0x58ec2f={'color':this[_0x1e8498(0x343)][_0x1e8498(0x2ff)](_0x23e670),'name':_0x266ea5,'ranges':_0x17b7f1},_0x5a8c2f=this['cursorInfo'];_0x5a8c2f[_0x1e8498(0x34a)](_0x23e670,_0x58ec2f),this['_cursorInfo$']['next'](_0x5a8c2f);}[_0x477bc3(0x33f)](_0xd23022){const _0x37b767=_0x477bc3,{memberID:_0x948a80}=_0xd23022[_0x37b767(0x1f9)],_0x4b6ea4=this[_0x37b767(0x266)];_0x4b6ea4[_0x37b767(0x32d)](_0x948a80),this[_0x37b767(0x10e)][_0x37b767(0x3be)](_0x4b6ea4);}[_0x477bc3(0x32f)](){const _0x4848a8=_0x477bc3;var _0x40a7e5;if(this[_0x4848a8(0x159)]=!0x0,((_0x40a7e5=this[_0x4848a8(0x225)]['getFocusedUnit']())==null?void 0x0:_0x40a7e5[_0x4848a8(0x161)]())!==this[_0x4848a8(0x3d0)])return;const _0x495625=this[_0x4848a8(0x3da)][_0x4848a8(0x375)](_0x47f67f[_0x4848a8(0x293)])[_0x4848a8(0x28c)]();Array[_0x4848a8(0x165)](_0x495625)&&_0x495625['length']>0x0&&this['_updateLocalCursor'](_0x495625);}[_0x477bc3(0x1dd)](){const _0x554ca7=_0x477bc3;this[_0x554ca7(0x159)]=!0x1;}};_0x36b425=_0x4246d9([_0x2211aa(0x2,_0x162031['Inject'](_0x162031[_0x477bc3(0x1e2)])),_0x2211aa(0x3,_0x162031[_0x477bc3(0x2b0)](_0x446316)),_0x2211aa(0x4,_0x162031[_0x477bc3(0x2b0)](_0x44b518[_0x477bc3(0x111)])),_0x2211aa(0x5,_0x162031[_0x477bc3(0x2b0)](_0x3f7f20)),_0x2211aa(0x6,_0x4cd710['ITransformService']),_0x2211aa(0x7,_0x162031[_0x477bc3(0x21c)]),_0x2211aa(0x8,_0x162031['ICommandService'])],_0x36b425);var _0x7dc9c=Object[_0x477bc3(0x1ec)],_0x3549ae=(_0x4ea3b8,_0x2047f0,_0x938f38,_0x435686)=>{for(var _0x21e602=_0x435686>0x1?void 0x0:_0x435686?_0x7dc9c(_0x2047f0,_0x938f38):_0x2047f0,_0x31c7ad=_0x4ea3b8['length']-0x1,_0x5d8a83;_0x31c7ad>=0x0;_0x31c7ad--)(_0x5d8a83=_0x4ea3b8[_0x31c7ad])&&(_0x21e602=_0x5d8a83(_0x21e602)||_0x21e602);return _0x21e602;},_0x314842=(_0x4d6efc,_0x230915)=>(_0x4fa9d1,_0x3de934)=>_0x230915(_0x4fa9d1,_0x3de934,_0x4d6efc);const _0x310d61=0x12c,_0x4e7e61=0x64,_0x50f2ad=()=>{let _0x1a6eb1=[],_0x57bc34=!0x1;return _0x58c501=>{_0x1a6eb1['push'](_0x58c501),_0x57bc34||(_0x57bc34=!0x0,setTimeout(()=>{const _0x2307aa=_0x1b11;_0x1a6eb1[_0x2307aa(0x3c7)](_0x404b73=>_0x404b73()),_0x1a6eb1=[],_0x57bc34=!0x1;}));};};let _0x3944c4=class extends _0x162031[_0x477bc3(0xea)]{constructor(_0x171d15,_0x285adc,_0x136bfc,_0x23b027,_0x1ff076,_0x2fa3be,_0x41f54e,_0x1ae9b8){const _0x3f4d45=_0x477bc3;super(),_0x387a01(this,_0x3f4d45(0x159),!0x1),_0x387a01(this,'_init',!0x1),_0x387a01(this,_0x3f4d45(0x10e),new _0xe327d9[(_0x3f4d45(0x136))](new Map())),_0x387a01(this,_0x3f4d45(0x262),this[_0x3f4d45(0x10e)][_0x3f4d45(0x119)]()),_0x387a01(this,'_roomMembers$',new _0xe327d9[(_0x3f4d45(0x136))]([])),_0x387a01(this,_0x3f4d45(0x2db),this[_0x3f4d45(0x281)][_0x3f4d45(0x2d1)](_0xe327d9[_0x3f4d45(0x1da)](_0x310d61))),_0x387a01(this,_0x3f4d45(0x276),_0x162031['debounce']((_0x54e2f7,_0x1fad34)=>{const _0x35bcde=_0x3f4d45,_0x67d265={'eventID':_0x4cd710['CollaborationEvent'][_0x35bcde(0x164)],'data':{'unitID':this[_0x35bcde(0x3d0)],'memberID':this[_0x35bcde(0x20b)][_0x35bcde(0x3ae)](),'selection':_0xf4950[_0x35bcde(0x228)](_0x54e2f7,_0x1fad34['range'])}};this[_0x35bcde(0x20b)][_0x35bcde(0x3a8)](_0x67d265,this[_0x35bcde(0x3d0)]);},_0x4e7e61)),(this['unitID']=_0x171d15,this[_0x3f4d45(0x20b)]=_0x285adc,this['_injector']=_0x136bfc,this['_colorAssignService']=_0x23b027,this[_0x3f4d45(0x1d3)]=_0x1ff076,this['_univerInstanceService']=_0x2fa3be,this[_0x3f4d45(0x139)]=_0x41f54e,this[_0x3f4d45(0x1a3)]=_0x1ae9b8);}get[_0x477bc3(0x266)](){const _0x55050e=_0x477bc3;return this[_0x55050e(0x10e)]['getValue']();}get[_0x477bc3(0x26d)](){const _0x25597d=_0x477bc3;return this[_0x25597d(0x281)][_0x25597d(0x182)]();}[_0x477bc3(0x388)](){const _0x4de6f2=_0x477bc3;super[_0x4de6f2(0x388)](),this['_cursorInfo$'][_0x4de6f2(0x3be)](new Map()),this[_0x4de6f2(0x10e)][_0x4de6f2(0x39e)](),this[_0x4de6f2(0x281)][_0x4de6f2(0x3be)]([]),this[_0x4de6f2(0x281)][_0x4de6f2(0x39e)]();}[_0x477bc3(0x10a)](){const _0x11b883=_0x477bc3;this[_0x11b883(0x1ad)]||(this[_0x11b883(0x1ad)]=!0x0,this[_0x11b883(0x20b)]['sessionStatus$'][_0x11b883(0x2d1)](_0xe327d9[_0x11b883(0x331)](this[_0x11b883(0x1c1)]))['subscribe'](_0x3ba9de=>{const _0x5c6639=_0x11b883;_0x3ba9de===_0x44b518[_0x5c6639(0x385)][_0x5c6639(0x39b)]?this[_0x5c6639(0x32f)]():this[_0x5c6639(0x1dd)]();}),this['_session']['event$'][_0x11b883(0x2d1)](_0xe327d9['takeUntil'](this[_0x11b883(0x1c1)]))[_0x11b883(0x2cd)](_0x253f74=>{const _0x41515d=_0x11b883,_0x4a7660=_0x253f74[_0x41515d(0x2ad)];_0x4a7660===_0x4cd710[_0x41515d(0x22d)][_0x41515d(0x164)]&&this[_0x41515d(0x25c)](_0x253f74),_0x4a7660===_0x4cd710[_0x41515d(0x22d)][_0x41515d(0x314)]&&this[_0x41515d(0x33f)](_0x253f74);}),this[_0x11b883(0x2a2)](),this['disposeWithMe'](this[_0x11b883(0x139)]['onCommandExecuted'](_0x2a939c=>{const _0x4f2bf7=_0x11b883;if(this[_0x4f2bf7(0x159)]&&_0x2a939c['id']===_0x3f123f[_0x4f2bf7(0x363)]['id']&&_0x2a939c[_0x4f2bf7(0x1ab)][_0x4f2bf7(0x150)]===this[_0x4f2bf7(0x3d0)]){const _0x2349ed=_0x2a939c['params'];this[_0x4f2bf7(0x276)](_0x2349ed[_0x4f2bf7(0x13f)],_0x2349ed[_0x4f2bf7(0xf3)][0x0]);}})));}[_0x477bc3(0x25c)](_0x599e85){const _0x254852=_0x477bc3;var _0x312205,_0x4261a6;const {memberID:_0xcd8dab,selection:_0x3c54b3}=_0x599e85['data'],{sheetName:_0x32a29a,range:_0x59c049}=_0xf4950[_0x254852(0x152)](_0x3c54b3),_0x526f96={'name':(_0x4261a6=(_0x312205=this[_0x254852(0x1d3)]['getMember'](this[_0x254852(0x3d0)],_0xcd8dab))==null?void 0x0:_0x312205[_0x254852(0x3d4)])!=null?_0x4261a6:_0x254852(0x30f),'range':this[_0x254852(0x202)](_0x32a29a,_0x59c049),'sheetID':_0x32a29a,'color':this[_0x254852(0x343)]['assignAColorForMemberID'](_0xcd8dab),'selection':_0x3c54b3},_0x3f3ae2=this[_0x254852(0x266)];_0x3f3ae2['set'](_0xcd8dab,_0x526f96),this[_0x254852(0x10e)][_0x254852(0x3be)](_0x3f3ae2);}['_onCursorDelete'](_0x3b863a){const _0x58ff4a=_0x477bc3,{memberID:_0x4cc127}=_0x3b863a[_0x58ff4a(0x1f9)],_0x3d26b3=this[_0x58ff4a(0x266)];_0x3d26b3[_0x58ff4a(0x32d)](_0x4cc127),this[_0x58ff4a(0x10e)][_0x58ff4a(0x3be)](_0x3d26b3);}['_getMergeRange'](_0x15f6f9,_0x3a3bc2){const _0xa1c253=_0x477bc3;var _0x36716b,_0x23fc84;const _0x58b9d5=(_0x23fc84=(_0x36716b=this[_0xa1c253(0x225)][_0xa1c253(0x3cd)](this['unitID']))==null?void 0x0:_0x36716b['getSheetBySheetId'](_0x15f6f9))==null?void 0x0:_0x23fc84[_0xa1c253(0x392)]();return(_0x58b9d5==null?void 0x0:_0x58b9d5[_0xa1c253(0x295)](_0x1b44d3=>_0x162031['Rectangle']['contains'](_0x1b44d3,_0x3a3bc2)))||_0x3a3bc2;}[_0x477bc3(0x2a2)](){const _0x2aabd9=_0x477bc3,_0x179e81=new _0x162031['DisposableCollection'](),_0x312e17=_0x50f2ad(),_0x18a892=()=>{const _0xdb8232=_0x1b11;_0x179e81[_0xdb8232(0x388)]();const _0x48066a=(_0x19cc6c,_0x210a3a,_0x4fc507,_0x54809c)=>{const _0x5d9072=_0xdb8232;let _0x4303bb=[];switch(_0x19cc6c['id']){case _0x3f123f['EffectRefRangId'][_0x5d9072(0x1d8)]:{_0x4303bb=_0x3f123f['handleDeleteRangeMoveLeft'](_0x19cc6c,_0x54809c);break;}case _0x3f123f['EffectRefRangId'][_0x5d9072(0x1b6)]:{_0x4303bb=_0x3f123f[_0x5d9072(0x28b)](_0x19cc6c,_0x54809c);break;}case _0x3f123f[_0x5d9072(0x35e)][_0x5d9072(0x154)]:{_0x4303bb=_0x3f123f[_0x5d9072(0x14a)](_0x19cc6c,_0x54809c);break;}case _0x3f123f[_0x5d9072(0x35e)][_0x5d9072(0x2c1)]:{_0x4303bb=_0x3f123f[_0x5d9072(0x349)](_0x19cc6c,_0x54809c);break;}case _0x3f123f[_0x5d9072(0x35e)][_0x5d9072(0x2a5)]:{_0x4303bb=_0x3f123f[_0x5d9072(0x1e0)](_0x19cc6c,_0x54809c);break;}case _0x3f123f[_0x5d9072(0x35e)]['InsertRowCommandId']:{_0x4303bb=_0x3f123f[_0x5d9072(0x1e8)](_0x19cc6c,_0x54809c);break;}case _0x3f123f[_0x5d9072(0x35e)][_0x5d9072(0x2fc)]:{_0x4303bb=_0x3f123f[_0x5d9072(0x241)](_0x19cc6c,_0x54809c);break;}case _0x3f123f[_0x5d9072(0x35e)][_0x5d9072(0x183)]:{_0x4303bb=_0x3f123f[_0x5d9072(0x113)](_0x19cc6c,_0x54809c);break;}case _0x3f123f['EffectRefRangId'][_0x5d9072(0x1f3)]:{_0x4303bb=_0x3f123f[_0x5d9072(0x2f6)](_0x19cc6c,_0x54809c);break;}}const _0x35eecc=_0x3f123f['runRefRangeMutations'](_0x4303bb,_0x54809c),_0x27357a=this[_0x5d9072(0x266)][_0x5d9072(0x375)](_0x210a3a);if(_0x27357a&&_0x35eecc){const _0x19d255={..._0x27357a,'range':_0x35eecc};this[_0x5d9072(0x266)][_0x5d9072(0x34a)](_0x210a3a,_0x19d255),_0x312e17(()=>{const _0x5ad281=_0x5d9072,_0x3c6b26=this['_refRangeService'][_0x5ad281(0x287)](_0x35eecc,_0x2d4a21=>(_0x3c6b26[_0x5ad281(0x388)](),_0x48066a(_0x2d4a21,_0x210a3a,_0x4fc507,_0x35eecc)));_0x179e81[_0x5ad281(0x1d6)](_0x3c6b26);});}return{'redos':[],'undos':[]};};this[_0xdb8232(0x266)][_0xdb8232(0x3c7)]((_0x5ddf17,_0x15f060)=>{const _0x1f29f5=_0xdb8232,{range:_0x2bcd63,sheetID:_0x92ce5}=_0x5ddf17,_0xf965c=this[_0x1f29f5(0x1a3)][_0x1f29f5(0x287)](_0x2bcd63,_0x36f69f=>(_0xf965c[_0x1f29f5(0x388)](),_0x48066a(_0x36f69f,_0x15f060,_0x92ce5,_0x2bcd63)));_0x179e81[_0x1f29f5(0x1d6)](_0xf965c);});};this[_0x2aabd9(0x32e)](_0x162031[_0x2aabd9(0x16b)](this['_cursorInfo$'][_0x2aabd9(0x2cd)](()=>{_0x18a892();})));}[_0x477bc3(0x32f)](){const _0x1637e3=_0x477bc3;var _0x37388f,_0x1f9aa3;if(this[_0x1637e3(0x159)]=!0x0,((_0x37388f=this[_0x1637e3(0x225)]['getFocusedUnit']())==null?void 0x0:_0x37388f[_0x1637e3(0x161)]())!==this[_0x1637e3(0x3d0)])return;const _0x5b7bf2=(_0x1f9aa3=this[_0x1637e3(0x3da)]['get'](_0x3f123f['SheetsSelectionsService'])[_0x1637e3(0x27c)]())==null?void 0x0:_0x1f9aa3[0x0],_0x1874b9=this[_0x1637e3(0x225)]['getCurrentUnitForType'](_0x162031[_0x1637e3(0x1c9)][_0x1637e3(0x277)])['getActiveSheet']();_0x5b7bf2&&_0x1874b9&&this[_0x1637e3(0x276)](_0x1874b9[_0x1637e3(0x2a7)](),_0x5b7bf2);}[_0x477bc3(0x1dd)](){const _0x5f9419=_0x477bc3;this[_0x5f9419(0x159)]=!0x1;}};_0x3944c4=_0x3549ae([_0x314842(0x2,_0x162031[_0x477bc3(0x2b0)](_0x162031[_0x477bc3(0x1e2)])),_0x314842(0x3,_0x162031[_0x477bc3(0x2b0)](_0x446316)),_0x314842(0x4,_0x162031[_0x477bc3(0x2b0)](_0x44b518['MemberService'])),_0x314842(0x5,_0x162031[_0x477bc3(0x21c)]),_0x314842(0x6,_0x162031['ICommandService']),_0x314842(0x7,_0x162031['Inject'](_0x3f123f[_0x477bc3(0x209)]))],_0x3944c4);var _0x1a9566=Object[_0x477bc3(0x1ec)],_0x5bdd9f=(_0x5ee5e5,_0x4709cb,_0x804d18,_0x363b7f)=>{for(var _0x58a054=_0x363b7f>0x1?void 0x0:_0x363b7f?_0x1a9566(_0x4709cb,_0x804d18):_0x4709cb,_0x2871bd=_0x5ee5e5['length']-0x1,_0x272321;_0x2871bd>=0x0;_0x2871bd--)(_0x272321=_0x5ee5e5[_0x2871bd])&&(_0x58a054=_0x272321(_0x58a054)||_0x58a054);return _0x58a054;},_0x5225e8=(_0x1088d8,_0x3d0e2d)=>(_0x557ab7,_0x1d3021)=>_0x3d0e2d(_0x557ab7,_0x1d3021,_0x1088d8);let _0x421cc1=class extends _0x162031[_0x477bc3(0xea)]{constructor(_0x522773,_0x4e635a,_0x4f954b){const _0x166c40=_0x477bc3;super(),_0x387a01(this,_0x166c40(0x3c1),new Map()),_0x387a01(this,_0x166c40(0x200),new _0xe327d9[(_0x166c40(0x3b7))]()),(this[_0x166c40(0x225)]=_0x522773,this[_0x166c40(0x3da)]=_0x4e635a,this['_collabSessionService']=_0x4f954b,this[_0x166c40(0x1ad)]());}[_0x477bc3(0x388)](){const _0x1aaac0=_0x477bc3;super['dispose'](),this[_0x1aaac0(0x200)][_0x1aaac0(0x39e)](),this['_entities'][_0x1aaac0(0x3c7)](_0x29f867=>_0x29f867[_0x1aaac0(0x388)]());}[_0x477bc3(0x10c)](_0x5672bb){const _0x3ce46d=_0x477bc3;return this[_0x3ce46d(0x3c1)][_0x3ce46d(0x3cf)](_0x5672bb)?this[_0x3ce46d(0x3c1)]['get'](_0x5672bb)[_0x3ce46d(0x262)]:this['_entityInit$'][_0x3ce46d(0x2d1)](_0xe327d9['filter'](_0x27c868=>_0x27c868[_0x3ce46d(0x3d0)]===_0x5672bb),_0xe327d9[_0x3ce46d(0x220)](_0xb2628e=>_0xb2628e[_0x3ce46d(0x262)]));}[_0x477bc3(0x1ad)](){const _0x2c9e3d=_0x477bc3;this['_univerInstanceService'][_0x2c9e3d(0x15c)](_0x162031[_0x2c9e3d(0x1c9)][_0x2c9e3d(0x277)])[_0x2c9e3d(0x2d1)](_0xe327d9[_0x2c9e3d(0x331)](this[_0x2c9e3d(0x1c1)]))[_0x2c9e3d(0x2cd)](async _0x3543c8=>{const _0x3d8607=_0x2c9e3d,_0x2723aa=_0x3543c8[_0x3d8607(0x161)](),_0x17598d=await this[_0x3d8607(0x3b3)](_0x2723aa);this['_entityInit$'][_0x3d8607(0x3be)](_0x17598d),this[_0x3d8607(0x3c1)][_0x3d8607(0x34a)](_0x2723aa,_0x17598d);}),this[_0x2c9e3d(0x225)]['getTypeOfUnitAdded$'](_0x162031['UniverInstanceType'][_0x2c9e3d(0x2c3)])[_0x2c9e3d(0x2d1)](_0xe327d9['takeUntil'](this[_0x2c9e3d(0x1c1)]))[_0x2c9e3d(0x2d1)](_0xe327d9[_0x2c9e3d(0x124)](_0x15fa09=>!_0x15fa09['getUnitId']()[_0x2c9e3d(0x27d)]('__')))[_0x2c9e3d(0x2cd)](async _0x4ca835=>{const _0x2569db=_0x2c9e3d,_0x1ea1cc=_0x4ca835[_0x2569db(0x161)](),_0x47a71c=await this['_startDocCollabCursor'](_0x1ea1cc);this['_entityInit$'][_0x2569db(0x3be)](_0x47a71c),this[_0x2569db(0x3c1)][_0x2569db(0x34a)](_0x1ea1cc,_0x47a71c);}),_0xe327d9[_0x2c9e3d(0x249)](this[_0x2c9e3d(0x225)][_0x2c9e3d(0x3d2)](_0x162031[_0x2c9e3d(0x1c9)][_0x2c9e3d(0x2c3)]),this['_univerInstanceService'][_0x2c9e3d(0x3d2)](_0x162031[_0x2c9e3d(0x1c9)][_0x2c9e3d(0x277)]))['pipe'](_0xe327d9[_0x2c9e3d(0x331)](this[_0x2c9e3d(0x1c1)]))['subscribe'](_0x4bafe0=>{const _0x59d98e=_0x2c9e3d,_0x514911=_0x4bafe0[_0x59d98e(0x161)](),_0x11c8d8=this[_0x59d98e(0x3c1)][_0x59d98e(0x375)](_0x514911);_0x11c8d8&&(_0x11c8d8[_0x59d98e(0x388)](),this[_0x59d98e(0x3c1)][_0x59d98e(0x32d)](_0x514911));});}async[_0x477bc3(0x3b3)](_0x462f6e){const _0xfdac2b=_0x477bc3,_0x45c56d=await this['_collabSessionService'][_0xfdac2b(0x107)](_0x462f6e),_0x1a8021=this[_0xfdac2b(0x3da)][_0xfdac2b(0x11c)](_0x3944c4,_0x462f6e,_0x45c56d);return _0x1a8021[_0xfdac2b(0x10a)](),_0x1a8021;}async[_0x477bc3(0x1a9)](_0xd56544){const _0x35b6e5=_0x477bc3,_0x194d6a=await this[_0x35b6e5(0x299)][_0x35b6e5(0x107)](_0xd56544),_0x3e0565=this[_0x35b6e5(0x3da)][_0x35b6e5(0x11c)](_0x36b425,_0xd56544,_0x194d6a);return _0x3e0565[_0x35b6e5(0x10a)](),_0x3e0565;}};_0x421cc1=_0x5bdd9f([_0x5225e8(0x0,_0x162031['IUniverInstanceService']),_0x5225e8(0x1,_0x162031[_0x477bc3(0x2b0)](_0x162031[_0x477bc3(0x1e2)])),_0x5225e8(0x2,_0x162031[_0x477bc3(0x2b0)](_0x44b518[_0x477bc3(0x1e5)]))],_0x421cc1);const _0x2a224c=0x14,_0x5b89ee=0xc8,_0x549daf=0x4,_0x41e0cc=0x5;function _0x5746fc(_0x4e5e2c,_0x3951e3){const _0x195657=_0x477bc3;let {radius:_0x519648,width:_0x265520,height:_0x3bebb7}=_0x3951e3;_0x519648=_0x519648!=null?_0x519648:0x0,_0x265520=_0x265520!=null?_0x265520:0x1e,_0x3bebb7=_0x3bebb7!=null?_0x3bebb7:0x1e;let _0x580dbd=0x0,_0x6627c6=0x0,_0xcb984e=0x0;_0x580dbd=_0x6627c6=_0xcb984e=Math[_0x195657(0x270)](_0x519648,_0x265520/0x2,_0x3bebb7/0x2),_0x4e5e2c[_0x195657(0x32a)](),_0x4e5e2c[_0x195657(0x195)](_0x580dbd,0x0),_0x4e5e2c['lineTo'](_0x265520-_0x6627c6,0x0),_0x4e5e2c[_0x195657(0x129)](_0x265520-_0x6627c6,_0x6627c6,_0x6627c6,Math['PI']*0x3/0x2,0x0,!0x1),_0x4e5e2c[_0x195657(0x108)](_0x265520,_0x3bebb7-_0xcb984e),_0x4e5e2c[_0x195657(0x129)](_0x265520-_0xcb984e,_0x3bebb7-_0xcb984e,_0xcb984e,0x0,Math['PI']/0x2,!0x1),_0x4e5e2c['lineTo'](0x0,_0x3bebb7),_0x4e5e2c[_0x195657(0x108)](0x0,_0x580dbd),_0x4e5e2c[_0x195657(0x129)](_0x580dbd,_0x580dbd,_0x580dbd,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x4e5e2c['closePath'](),_0x3951e3[_0x195657(0x368)]&&(_0x4e5e2c[_0x195657(0x381)](),_0x4e5e2c[_0x195657(0x3a5)]=_0x3951e3['fill'],_0x3951e3[_0x195657(0x3c8)]==='evenodd'?_0x4e5e2c[_0x195657(0x368)]('evenodd'):_0x4e5e2c['fill'](),_0x4e5e2c[_0x195657(0x1be)]());}class _0x2a34f4 extends _0x433081[_0x477bc3(0xf6)]{constructor(_0x7625cb,_0x3fbf26){const _0x356ea6=_0x477bc3;super(_0x7625cb,_0x3fbf26),_0x387a01(this,_0x356ea6(0x370)),_0x387a01(this,_0x356ea6(0x1ff)),(this[_0x356ea6(0x370)]=_0x3fbf26==null?void 0x0:_0x3fbf26[_0x356ea6(0x370)],this[_0x356ea6(0x1ff)]=_0x3fbf26==null?void 0x0:_0x3fbf26[_0x356ea6(0x1ff)]);}static[_0x477bc3(0x145)](_0x3aa136,_0x4bf87f){const _0x80000b=_0x477bc3,{text:_0x2073d2,color:_0x2a64ba}=_0x4bf87f;_0x3aa136[_0x80000b(0x381)](),_0x3aa136['font']='bold\x2013px\x20Source\x20Han\x20Sans\x20CN';const _0x576804=_0x3aa136['measureText'](_0x2073d2)[_0x80000b(0x2c0)],_0x5cb21a=Math[_0x80000b(0x270)](_0x576804+0x2*_0x549daf,_0x5b89ee);_0x5746fc(_0x3aa136,{'height':_0x2a224c,'radius':0x4,'width':_0x5cb21a,'fill':_0x2a64ba}),_0x3aa136['fillStyle']=_0x80000b(0x24b);const _0x34d1b3=_0x549daf,_0xb9138f=_0x2a224c-_0x41e0cc,_0x1b1bb6=_0x5b89ee-0x2*_0x549daf;if(_0x576804>_0x1b1bb6){let _0x61d362='',_0x164939=0x0;for(const _0x5e5de5 of _0x2073d2){const _0x46792b=_0x3aa136[_0x80000b(0x378)](_0x5e5de5)[_0x80000b(0x2c0)];if(_0x164939+_0x46792b<=_0x1b1bb6-_0x3aa136['measureText'](_0x80000b(0x240))[_0x80000b(0x2c0)])_0x61d362+=_0x5e5de5,_0x164939+=_0x46792b;else{_0x61d362+='...';break;}}_0x3aa136[_0x80000b(0x2e6)](_0x61d362,_0x34d1b3,_0xb9138f);}else _0x3aa136['fillText'](_0x2073d2,_0x34d1b3,_0xb9138f);_0x3aa136[_0x80000b(0x1be)]();}['_draw'](_0x531ed0){_0x2a34f4['drawWith'](_0x531ed0,this);}}const _0x3fded9=_0x477bc3(0x289),_0x49fae5='collab-text-range-',_0x2b7512='collab-rect-range-',_0x307f23=0x6,_0x5bca90=1.5,_0xcd4d86=0x4,_0x185f72=1.5,_0x384113=_0x477bc3(0x214);class _0x291d53{constructor(_0x1cea1a,_0x46ffa5,_0x431db1,_0x3410d1){const _0x3d405b=_0x477bc3;_0x387a01(this,_0x3d405b(0x100),[]),_0x387a01(this,'_anchor',null),_0x387a01(this,_0x3d405b(0x396),null),_0x387a01(this,_0x3d405b(0x27f),null),_0x387a01(this,_0x3d405b(0x2f3),null),_0x387a01(this,_0x3d405b(0x16a),null),(this[_0x3d405b(0x351)]=_0x1cea1a,this[_0x3d405b(0x2b5)]=_0x46ffa5,this[_0x3d405b(0x123)]=_0x431db1,this[_0x3d405b(0x2af)]=_0x3410d1,this['_render']());}set['_hover'](_0x37ea34){const _0x360abf=_0x477bc3;_0x37ea34?(this[_0x360abf(0x27f)]&&this[_0x360abf(0x27f)][_0x360abf(0x15f)](),this[_0x360abf(0x396)]&&this[_0x360abf(0x396)][_0x360abf(0x348)]()):(this['_anchorDot']&&this[_0x360abf(0x27f)][_0x360abf(0x348)](),this[_0x360abf(0x396)]&&this[_0x360abf(0x396)][_0x360abf(0x15f)]());}[_0x477bc3(0x388)](){const _0x27d86e=_0x477bc3;for(const _0x3e49eb of this[_0x27d86e(0x100)])_0x3e49eb[_0x27d86e(0x388)]();this[_0x27d86e(0x396)]&&this['_textBubble'][_0x27d86e(0x388)](),this[_0x27d86e(0x27f)]&&this['_anchorDot'][_0x27d86e(0x388)](),this[_0x27d86e(0x352)]&&this[_0x27d86e(0x352)][_0x27d86e(0x388)](),this[_0x27d86e(0x16a)]&&this[_0x27d86e(0x16a)]();}['_render'](){const _0x450f87=_0x477bc3;var _0x310bf6;const {_docSkeleton:_0x283018,_document:_0x18e4b2}=this,{color:_0x12cd20,name:_0xc87098,ranges:_0x44221e}=this[_0x450f87(0x351)],_0x19496c=_0x18e4b2[_0x450f87(0x1ed)](),{docsLeft:_0x63c746,docsTop:_0x3bbb3f}=_0x19496c,_0x5ad7b6=new _0x74e6be[(_0x450f87(0x35f))](_0x19496c,_0x283018);for(const {startOffset:_0x425c56,endOffset:_0x45f83d,rangeType:_0xa0b212,segmentId:_0x1675ba,segmentPage:_0xfd2f2a,collapsed:_0x5aaab2,isActive:_0x3b84a3}of _0x44221e){const _0x41f504=_0x283018['findNodePositionByCharIndex'](_0x425c56,!0x0,_0x1675ba,_0xfd2f2a);let _0x3e175e=_0x283018['findNodePositionByCharIndex'](_0x45f83d,!0x0,_0x1675ba,_0xfd2f2a);if(_0x3e175e==null&&(_0x3e175e=_0x283018[_0x450f87(0x33b)](_0x45f83d-0x1,!0x1,_0x1675ba,_0xfd2f2a)),_0x3b84a3){const {contentBoxPointGroup:_0x3efd77}=_0x5ad7b6[_0x450f87(0x324)](_0x3e175e,_0x3e175e);if(_0x3efd77['length']===0x0)continue;this[_0x450f87(0x28a)](_0x12cd20,_0x3efd77,_0x63c746,_0x3bbb3f,_0xc87098),this['_eventUnsubscribe']=this[_0x450f87(0x1f0)]();}if(_0x41f504&&_0x3e175e){if(_0xa0b212===_0x162031[_0x450f87(0x1d9)][_0x450f87(0x29d)]){const _0x345c50=new _0x74e6be[(_0x450f87(0xec))](_0x19496c,_0x283018),{pointGroup:_0x550c17}=(_0x310bf6=_0x345c50[_0x450f87(0x324)](_0x41f504,_0x3e175e))!=null?_0x310bf6:{};if(_0x550c17==null||_0x550c17[_0x450f87(0x215)]===0x0)continue;this[_0x450f87(0x37d)](_0x12cd20,_0x550c17,_0x63c746,_0x3bbb3f);}else{if(!_0x5aaab2){const {borderBoxPointGroup:_0x5a3c85}=_0x5ad7b6[_0x450f87(0x324)](_0x41f504,_0x3e175e);if(_0x5a3c85['length']===0x0)continue;this[_0x450f87(0x1ea)](_0x12cd20,_0x5a3c85,_0x63c746,_0x3bbb3f);}}}}}[_0x477bc3(0x28a)](_0xd7520d,_0x5866f5,_0x96ff79,_0x39d1e3,_0x307eaa){const _0x2cea40=_0x477bc3,_0x696f52=this['_getAnchorBounding'](_0x5866f5),{left:_0x5b5d9b,top:_0x1caa8e,height:_0x1a4d40}=_0x696f52,_0x214211=this[_0x2cea40(0x265)](),_0x4870c9=_0x185f72/_0x214211,_0x1232bc=new _0x433081['Rect'](_0x3fded9+_0x162031[_0x2cea40(0x38e)](_0x307f23),{'left':_0x5b5d9b+_0x96ff79-_0x4870c9,'top':_0x1caa8e+_0x39d1e3,'height':_0x1a4d40,'width':_0x5bca90,'fill':_0xd7520d||_0x433081['getColor'](_0x162031[_0x2cea40(0x254)][_0x2cea40(0x286)],0x0),'strokeWidth':_0x4870c9,'stroke':_0x384113,'evented':!0x0});this[_0x2cea40(0x352)]=_0x1232bc,this['_scene'][_0x2cea40(0x208)](_0x1232bc,_0x74e6be[_0x2cea40(0x302)]);const _0x59f298=new _0x433081[(_0x2cea40(0x231))](_0x3fded9+_0x162031[_0x2cea40(0x38e)](_0x307f23),{'left':_0x5b5d9b+_0x96ff79-_0x4870c9,'top':_0x1caa8e+_0x39d1e3-_0xcd4d86/0x2,'height':_0xcd4d86,'width':_0xcd4d86,'fill':_0xd7520d||_0x433081[_0x2cea40(0x21a)](_0x162031['COLORS'][_0x2cea40(0x286)],0x0),'strokeWidth':0x0,'stroke':_0xd7520d||_0x433081[_0x2cea40(0x21a)](_0x162031[_0x2cea40(0x254)][_0x2cea40(0x286)],0x0),'evented':!0x1});this[_0x2cea40(0x27f)]=_0x59f298,this['_scene'][_0x2cea40(0x208)](_0x59f298,_0x74e6be['TEXT_RANGE_LAYER_INDEX']);const _0x535216=new _0x2a34f4(_0x3fded9+_0x162031[_0x2cea40(0x38e)](_0x307f23),{'left':_0x5b5d9b+_0x96ff79-_0x4870c9,'top':_0x1caa8e+_0x39d1e3-_0x2a224c,'text':_0x307eaa,'color':_0xd7520d});this[_0x2cea40(0x396)]=_0x535216,this[_0x2cea40(0x2b5)][_0x2cea40(0x208)](_0x535216,_0x74e6be['TEXT_RANGE_LAYER_INDEX']),this[_0x2cea40(0x158)]=!0x1;}[_0x477bc3(0x1f0)](){const _0x1c18b6=_0x477bc3,_0x42a2cf=this[_0x1c18b6(0x352)]['onPointerEnter$']['subscribeEvent'](()=>{this['_hover']=!0x0;}),_0x23f5e2=this[_0x1c18b6(0x352)][_0x1c18b6(0x243)]['subscribeEvent'](()=>{const _0x516770=_0x1c18b6;this[_0x516770(0x2f3)]&&clearTimeout(this[_0x516770(0x2f3)]),this[_0x516770(0x2f3)]=setTimeout(()=>{const _0x3e3e1d=_0x516770;this[_0x3e3e1d(0x158)]=!0x1;},0x7d0);});return()=>{const _0x489236=_0x1c18b6;_0x42a2cf[_0x489236(0x345)](),_0x23f5e2[_0x489236(0x345)]();};}[_0x477bc3(0x1ea)](_0x10b38f,_0x5d15e3,_0x567cb9,_0x3de138){const _0xbfbfdf=_0x477bc3,_0x1b7099=new _0x162031[(_0xbfbfdf(0x245))](_0x10b38f)[_0xbfbfdf(0x189)](0.2)[_0xbfbfdf(0x3d5)](),_0x4bcb1a=new _0x433081[(_0xbfbfdf(0x2e4))](_0x49fae5+_0x162031['generateRandomId'](_0x307f23),{'pointsGroup':_0x5d15e3,'fill':_0x1b7099||_0x433081[_0xbfbfdf(0x21a)](_0x162031[_0xbfbfdf(0x254)][_0xbfbfdf(0x286)],0.2),'left':_0x567cb9,'top':_0x3de138,'evented':!0x1,'debounceParentDirty':!0x1});this[_0xbfbfdf(0x100)]['push'](_0x4bcb1a),this['_scene']['addObject'](_0x4bcb1a,_0x74e6be[_0xbfbfdf(0x302)]);}[_0x477bc3(0x37d)](_0xe6e0fc,_0xf1f908,_0x2fcdc4,_0x574396){const _0x22b8b4=_0x477bc3,_0x45dc16=new _0x162031[(_0x22b8b4(0x245))](_0xe6e0fc)[_0x22b8b4(0x189)](0.2)[_0x22b8b4(0x3d5)](),_0x400628=new _0x433081['RegularPolygon'](_0x2b7512+_0x162031[_0x22b8b4(0x38e)](_0x307f23),{'pointsGroup':_0xf1f908,'fill':_0x45dc16||_0x433081[_0x22b8b4(0x21a)](_0x162031[_0x22b8b4(0x254)][_0x22b8b4(0x286)],0.2),'left':_0x2fcdc4,'top':_0x574396,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x22b8b4(0x100)][_0x22b8b4(0x138)](_0x400628),this[_0x22b8b4(0x2b5)]['addObject'](_0x400628,_0x74e6be[_0x22b8b4(0x302)]);}[_0x477bc3(0x323)](_0x505c86){const _0xa5afd2=_0x505c86[0x0],_0x38422b=_0xa5afd2[0x0],_0x183d0a=_0xa5afd2[0x2],{x:_0x25f4d4,y:_0x34a3c1}=_0x38422b,{x:_0x249e11,y:_0x345c5e}=_0x183d0a;return{'left':_0x25f4d4,'top':_0x34a3c1,'width':_0x249e11-_0x25f4d4,'height':_0x345c5e-_0x34a3c1};}['_getScale'](){const _0x206669=_0x477bc3,{scaleX:_0x3b243a,scaleY:_0x59f587}=this['_scene'][_0x206669(0x2e5)]();return Math[_0x206669(0x38b)](_0x3b243a,_0x59f587);}}var _0xceaa62=Object[_0x477bc3(0x1ec)],_0x4c60d3=(_0x2a9156,_0x309792,_0x4120b1,_0x150656)=>{const _0x55482d=_0x477bc3;for(var _0x241c69=_0x150656>0x1?void 0x0:_0x150656?_0xceaa62(_0x309792,_0x4120b1):_0x309792,_0x36d7d3=_0x2a9156[_0x55482d(0x215)]-0x1,_0x3c0d9d;_0x36d7d3>=0x0;_0x36d7d3--)(_0x3c0d9d=_0x2a9156[_0x36d7d3])&&(_0x241c69=_0x3c0d9d(_0x241c69)||_0x241c69);return _0x241c69;},_0x362ca2=(_0x5a971f,_0x1c601a)=>(_0x4d9123,_0x41e98e)=>_0x1c601a(_0x4d9123,_0x41e98e,_0x5a971f);let _0x560482=class extends _0x162031[_0x477bc3(0xea)]{constructor(_0x16097d,_0x12a5ee,_0x5cf45e,_0x28fba8,_0x13a3e6){const _0x5aa08e=_0x477bc3;super(),_0x387a01(this,_0x5aa08e(0x284),[]),_0x387a01(this,_0x5aa08e(0x218),[]),(this[_0x5aa08e(0x298)]=_0x16097d,this[_0x5aa08e(0x3a0)]=_0x12a5ee,this[_0x5aa08e(0x26e)]=_0x5cf45e,this[_0x5aa08e(0x139)]=_0x28fba8,this[_0x5aa08e(0x26b)]=_0x13a3e6,this[_0x5aa08e(0x1ad)]());}['_init'](){const _0x5e55b2=_0x477bc3,_0x286cf7=this[_0x5e55b2(0x298)]['unitId'],_0x328a0a=this['_docSkeletonManagerService'];this[_0x5e55b2(0x32e)](_0xe327d9['combineLatest']([this[_0x5e55b2(0x26e)][_0x5e55b2(0x10c)](_0x286cf7),this[_0x5e55b2(0x26b)][_0x5e55b2(0x1e9)]])['pipe'](_0x57b5b5['map'](([_0x55fce3,_0x5a2fec])=>({'skeleton':_0x328a0a[_0x5e55b2(0x115)](),'cursors':[..._0x55fce3[_0x5e55b2(0x3ca)]()][_0x5e55b2(0x1e1)](_0x516680=>({..._0x516680,'color':this[_0x5e55b2(0x26b)]['getColorFromTheme'](_0x516680[_0x5e55b2(0x370)])}))})))[_0x5e55b2(0x2cd)](_0xc8fe7e=>{const _0x2999ac=_0x5e55b2;if(this[_0x2999ac(0x280)](),_0xc8fe7e){const {skeleton:_0x1dbadb,cursors:_0x4c0f70}=_0xc8fe7e;this[_0x2999ac(0x168)](_0x1dbadb,_0x4c0f70);}})),this['_initResize'](),this[_0x5e55b2(0x335)]();}[_0x477bc3(0x168)](_0x1cd659,_0x52ba42){const _0x15b013=_0x477bc3,{scene:_0x14dfc3,mainComponent:_0x5b61ae}=this[_0x15b013(0x298)],_0x50baad=_0x52ba42[_0x15b013(0x239)](_0x3ea7ff=>new _0x291d53(_0x3ea7ff,_0x14dfc3,_0x1cd659,_0x5b61ae));this[_0x15b013(0x284)]=_0x50baad,this[_0x15b013(0x218)]=_0x52ba42;}[_0x477bc3(0x21b)](){const _0x31eda0=_0x477bc3;this[_0x31eda0(0x280)]();const {scene:_0x5245a6,mainComponent:_0x73f0fa}=this[_0x31eda0(0x298)],_0x3f00e0=this['_docSkeletonManagerService'][_0x31eda0(0x115)](),_0x21fe28=this[_0x31eda0(0x218)][_0x31eda0(0x239)](_0x316a9e=>new _0x291d53(_0x316a9e,_0x5245a6,_0x3f00e0,_0x73f0fa));this[_0x31eda0(0x284)]=_0x21fe28;}[_0x477bc3(0x280)](){const _0x23bd6c=_0x477bc3;this[_0x23bd6c(0x284)][_0x23bd6c(0x3c7)](_0x54a03d=>_0x54a03d[_0x23bd6c(0x388)]()),this['_cursorShapes']=[];}[_0x477bc3(0x335)](){const _0x49237a=_0x477bc3,_0x22c1a4=[_0x74e6be['SetDocZoomRatioOperation']['id']];this[_0x49237a(0x32e)](this[_0x49237a(0x139)][_0x49237a(0x1b7)](_0x1d6d3e=>{const _0x349650=_0x49237a;_0x22c1a4['includes'](_0x1d6d3e['id'])&&_0x1d6d3e['params'][_0x349650(0x150)]===this[_0x349650(0x298)][_0x349650(0x150)]&&this[_0x349650(0x21b)]();}));}[_0x477bc3(0x175)](){const _0x324a57=_0x477bc3;this[_0x324a57(0x32e)](_0x162031[_0x324a57(0x3a1)](this['_context'][_0x324a57(0x3d3)][_0x324a57(0x109)])['pipe'](_0x57b5b5[_0x324a57(0x124)](_0x515f97=>_0x515f97[_0x324a57(0x24d)]===_0x433081['TRANSFORM_CHANGE_OBSERVABLE_TYPE'][_0x324a57(0x1f8)]),_0x57b5b5['throttleTime'](0x10))['subscribe'](()=>{const _0x5b9ca4=_0x324a57;this[_0x5b9ca4(0x21b)]();}));}};_0x560482=_0x4c60d3([_0x362ca2(0x1,_0x162031[_0x477bc3(0x2b0)](_0x47f67f[_0x477bc3(0x2e0)])),_0x362ca2(0x2,_0x162031[_0x477bc3(0x2b0)](_0x421cc1)),_0x362ca2(0x3,_0x162031[_0x477bc3(0x326)]),_0x362ca2(0x4,_0x162031['Inject'](_0x162031[_0x477bc3(0x2be)]))],_0x560482);const _0x49697b=0x1,_0xfe7f48=1.5;class _0x5ff006 extends _0x433081[_0x477bc3(0xf6)]{constructor(_0x5505f3,_0x227001){const _0x2c7eb7=_0x477bc3;super(_0x5505f3,_0x227001),_0x387a01(this,_0x2c7eb7(0x24a)),_0x387a01(this,_0x2c7eb7(0x26f),!0x1),_0x387a01(this,_0x2c7eb7(0xf5)),_0x387a01(this,'_name',''),_0x387a01(this,'_labelPosition',_0x2c7eb7(0x16d)),_0x387a01(this,_0x2c7eb7(0x338)),(_0x227001&&this[_0x2c7eb7(0x317)](_0x227001),this[_0x2c7eb7(0x3a6)][_0x2c7eb7(0x259)](()=>this[_0x2c7eb7(0x317)]({'hovered':!0x0})),this['onPointerLeave$'][_0x2c7eb7(0x259)](()=>this[_0x2c7eb7(0x317)]({'hovered':!0x1})));}[_0x477bc3(0x317)](_0x11e478){const _0x3ed9df=_0x477bc3;var _0x3f7577,_0x174654,_0x405b99,_0x5c1fd9,_0x2a9078,_0x2d5904;this[_0x3ed9df(0x24a)]=(_0x3f7577=_0x11e478[_0x3ed9df(0x370)])!=null?_0x3f7577:this[_0x3ed9df(0x24a)],this['_hovered']=(_0x174654=_0x11e478[_0x3ed9df(0x3c5)])!=null?_0x174654:this[_0x3ed9df(0x26f)],this[_0x3ed9df(0xf5)]=(_0x405b99=_0x11e478[_0x3ed9df(0x2ac)])!=null?_0x405b99:this[_0x3ed9df(0xf5)],this[_0x3ed9df(0x1e6)]=(_0x5c1fd9=_0x11e478[_0x3ed9df(0x3d4)])!=null?_0x5c1fd9:this[_0x3ed9df(0x1e6)],this[_0x3ed9df(0x2fa)]=(_0x2a9078=_0x11e478[_0x3ed9df(0x301)])!=null?_0x2a9078:this[_0x3ed9df(0x2fa)],this[_0x3ed9df(0x338)]=(_0x2d5904=_0x11e478[_0x3ed9df(0x356)])!=null?_0x2d5904:this[_0x3ed9df(0x338)],this[_0x3ed9df(0x16e)]({'width':_0x11e478[_0x3ed9df(0x2c0)],'height':_0x11e478['height']});}[_0x477bc3(0x1a4)](_0x367d9d){const _0x5707ba=_0x477bc3,{row:_0x5f194c,column:_0x58ad06}=_0x367d9d;if(_0x5f194c>=this[_0x5707ba(0xf5)]['startRow']&&_0x5f194c<=this[_0x5707ba(0xf5)]['endRow']&&_0x58ad06>=this[_0x5707ba(0xf5)][_0x5707ba(0x163)]&&_0x58ad06<=this[_0x5707ba(0xf5)][_0x5707ba(0x21f)]){this[_0x5707ba(0x317)]({'hovered':!0x0});return;}this[_0x5707ba(0x317)]({'hovered':!0x1});}['triggerDblclick'](_0x44983d){return!0x1;}['_draw'](_0x3d40ad){const _0x7a12b6=_0x477bc3;_0x433081[_0x7a12b6(0x231)][_0x7a12b6(0x145)](_0x3d40ad,{'width':this[_0x7a12b6(0x2c0)],'height':this[_0x7a12b6(0x291)],'strokeWidth':_0xfe7f48,'stroke':this[_0x7a12b6(0x24a)],'evented':!0x1,'fill':this['_backgroundColor']}),this[_0x7a12b6(0x26f)]&&(_0x3d40ad[_0x7a12b6(0x381)](),_0x3d40ad[_0x7a12b6(0x142)](0x1,0x0,0x0,0x1,this['width'],this[_0x7a12b6(0x2fa)]===_0x7a12b6(0x2f0)?0x0:-_0x2a224c),_0x2a34f4[_0x7a12b6(0x145)](_0x3d40ad,{'text':this[_0x7a12b6(0x1e6)],'color':this[_0x7a12b6(0x24a)]}),_0x3d40ad[_0x7a12b6(0x1be)]());}}var _0x3efdf3=Object[_0x477bc3(0x1ec)],_0x21f188=(_0x4c6140,_0x3cdba1,_0x8752b8,_0x9cf6a1)=>{for(var _0x3a0146=_0x9cf6a1>0x1?void 0x0:_0x9cf6a1?_0x3efdf3(_0x3cdba1,_0x8752b8):_0x3cdba1,_0x553934=_0x4c6140['length']-0x1,_0x2b80c0;_0x553934>=0x0;_0x553934--)(_0x2b80c0=_0x4c6140[_0x553934])&&(_0x3a0146=_0x2b80c0(_0x3a0146)||_0x3a0146);return _0x3a0146;},_0x2b05e5=(_0x482322,_0x4a1065)=>(_0xcea71d,_0x3ace51)=>_0x4a1065(_0xcea71d,_0x3ace51,_0x482322);const _0x3edc2a=0x1389;let _0x2eb725=class extends _0x162031[_0x477bc3(0xea)]{constructor(_0x2c055b,_0x176596,_0x268ab8,_0x37435a){const _0x1931d5=_0x477bc3;super(),_0x387a01(this,_0x1931d5(0x218),new Set()),_0x387a01(this,_0x1931d5(0x36e),null),(this[_0x1931d5(0x298)]=_0x2c055b,this[_0x1931d5(0x300)]=_0x176596,this[_0x1931d5(0x26e)]=_0x268ab8,this[_0x1931d5(0x26b)]=_0x37435a,this['_init']());}[_0x477bc3(0x1ad)](){const _0x438ec3=_0x477bc3;this['_sheetSkeletonManagerService'][_0x438ec3(0x332)][_0x438ec3(0x2d1)](_0x57b5b5[_0x438ec3(0x331)](this[_0x438ec3(0x1c1)]),_0x57b5b5[_0x438ec3(0x220)](_0x24c6f0=>{const _0x50f39b=_0x438ec3;if(_0x24c6f0){const _0xdcc0d3=_0x24c6f0[_0x50f39b(0x39c)];return _0xe327d9[_0x50f39b(0x1fb)](this[_0x50f39b(0x26e)][_0x50f39b(0x10c)](this[_0x50f39b(0x298)]['unitId']),this['_themeService']['currentTheme$'])['pipe'](_0x57b5b5[_0x50f39b(0x239)](([_0x22d750,_0x5cddf1])=>{const _0x49e4e6=_0x50f39b,_0x38e03a=new Map();return _0x22d750[_0x49e4e6(0x3c7)]((_0x29f984,_0x42e22d)=>{const _0x3e72ee=_0x49e4e6;if(_0x29f984[_0x3e72ee(0x12e)]===_0xdcc0d3){const _0x675277={..._0x29f984};_0x675277[_0x3e72ee(0x370)]=this['_themeService'][_0x3e72ee(0x1a8)](_0x29f984[_0x3e72ee(0x370)]),_0x38e03a[_0x3e72ee(0x34a)](_0x42e22d,_0x675277);}}),{'skeleton':_0x24c6f0,'cursors':_0x38e03a};}));}return _0xe327d9['of']({'skeleton':null,'cursors':new Map()});}))[_0x438ec3(0x2cd)](({skeleton:_0xf1b502,cursors:_0x2e878b})=>{const _0x374bcd=_0x438ec3;this[_0x374bcd(0x280)](),_0xf1b502&&this[_0x374bcd(0x168)](_0xf1b502,_0x2e878b);}),this['_sheetSkeletonManagerService'][_0x438ec3(0x332)][_0x438ec3(0x2cd)](_0x4d245a=>{const _0x5d7b4a=_0x438ec3;if(_0x4d245a==null)return;const {skeleton:_0x1ab0ff}=_0x4d245a,{scene:_0x2360ff}=this[_0x5d7b4a(0x298)];_0x2360ff[_0x5d7b4a(0x1c6)][_0x5d7b4a(0x259)](_0x162031['debounce'](_0x10ddb5=>{const _0x5e31f2=_0x5d7b4a;var _0x3ddff7,_0x2f529c;const {offsetX:_0x32244d,offsetY:_0x47d3d2}=_0x10ddb5,{x:_0x1b9fc2,y:_0x182afd}=_0x2360ff['getRelativeToViewportCoord'](_0x433081[_0x5e31f2(0x1d4)][_0x5e31f2(0x373)]([_0x32244d,_0x47d3d2])),{scaleX:_0x59b025,scaleY:_0x343058}=_0x2360ff['getAncestorScale'](),_0x2ef878=_0x2360ff[_0x5e31f2(0x2ec)](_0x433081[_0x5e31f2(0x2ae)][_0x5e31f2(0x191)]),_0x301f56=_0x2360ff[_0x5e31f2(0x235)](_0x433081['Vector2'][_0x5e31f2(0x373)]([_0x1b9fc2,_0x182afd]),_0x2ef878),_0x2884f6=_0x1ab0ff[_0x5e31f2(0x337)](_0x32244d,_0x47d3d2,_0x59b025,_0x343058,_0x301f56);((_0x3ddff7=this[_0x5e31f2(0x36e)])==null?void 0x0:_0x3ddff7[_0x5e31f2(0x364)])===_0x2884f6[_0x5e31f2(0x364)]&&((_0x2f529c=this['_lastPointer'])==null?void 0x0:_0x2f529c['row'])===_0x2884f6[_0x5e31f2(0x1f2)]||this[_0x5e31f2(0x218)]['forEach'](_0x3abd30=>{const _0x57527f=_0x5e31f2;_0x3abd30[_0x57527f(0x1a4)](_0x2884f6);});},0x64));});}[_0x477bc3(0x168)](_0x58042d,_0x4bfec2){const _0x20b7c9=_0x477bc3;var _0x41b450;const _0x12ecc8=(_0x41b450=this['_sheetSkeletonManagerService'][_0x20b7c9(0x31c)]())==null?void 0x0:_0x41b450['skeleton'];if(!_0x12ecc8)return;const _0x38ddc1=this[_0x20b7c9(0x344)]();if(!_0x38ddc1)return;this[_0x20b7c9(0x218)]['forEach'](_0x17dd3d=>{const _0x63bbe7=_0x20b7c9;_0x17dd3d[_0x63bbe7(0x198)]();});const {scene:_0x43766d}=_0x38ddc1,_0x19ba27=_0x2a23ef(Array['from'](_0x4bfec2[_0x20b7c9(0x3ca)]()))[_0x20b7c9(0x239)](_0x45ad3c=>{const _0x58f3a1=_0x20b7c9,{color:_0x58109f,range:_0x332b48,name:_0x263fc6,selection:_0x469b7f,sheetID:_0xeb229e}=_0x45ad3c,{startColumn:_0x144fe7,startRow:_0x5b3c2f,endColumn:_0x4914aa,endRow:_0x5522f6}=_0x332b48,_0x2cd3ae=_0x9b001c[_0x58f3a1(0x1cf)](_0x5b3c2f,_0x144fe7,_0x43766d,_0x12ecc8),_0x148dcf=_0x9b001c[_0x58f3a1(0x1cf)](_0x5522f6,_0x4914aa,_0x43766d,_0x12ecc8),{columnHeaderHeightAndMarginTop:_0x781548}=_0x12ecc8,{startX:_0x47019d,startY:_0x9e982d}=_0x2cd3ae,{endX:_0x49e705,endY:_0x59488c}=_0x148dcf,_0x2fe238=_0x49e705-_0x47019d,_0x78122=_0x59488c-_0x9e982d,_0x5835f7={'labelPosition':_0x9e982d-_0x781548>=_0x2a224c?_0x58f3a1(0x16d):_0x58f3a1(0x2f0),'sheetID':_0xeb229e,'range':_0x332b48,'color':_0x58109f,'name':_0x263fc6,'selection':_0x469b7f,'left':_0x47019d,'top':_0x9e982d,'width':_0x2fe238,'height':_0x78122,'evented':!0x1,'zIndex':_0x3edc2a};return new _0x5ff006(_0x263fc6,_0x5835f7);});_0x43766d[_0x20b7c9(0x28f)](_0x19ba27,_0x49697b),this[_0x20b7c9(0x218)]=new Set(_0x19ba27);}[_0x477bc3(0x280)](){const _0x5e1a86=_0x477bc3;var _0x17504d;(_0x17504d=this[_0x5e1a86(0x218)])==null||_0x17504d[_0x5e1a86(0x3c7)](_0x31c8cd=>_0x31c8cd[_0x5e1a86(0x388)]());}[_0x477bc3(0x344)](){const _0x419428=_0x477bc3;return _0x9b001c[_0x419428(0x1ce)](this[_0x419428(0x298)][_0x419428(0x186)],this['_context']);}};_0x2eb725=_0x21f188([_0x2b05e5(0x1,_0x162031['Inject'](_0x9b001c['SheetSkeletonManagerService'])),_0x2b05e5(0x2,_0x162031[_0x477bc3(0x2b0)](_0x421cc1)),_0x2b05e5(0x3,_0x162031[_0x477bc3(0x2b0)](_0x162031[_0x477bc3(0x2be)]))],_0x2eb725);function _0x2a23ef(_0x5a35ea){const _0xe870a2=_0x477bc3,_0x14f28f=new Map();return _0x5a35ea[_0xe870a2(0x3c7)](_0x2ac9c1=>{const _0x30465c=_0xe870a2;if(_0x14f28f[_0x30465c(0x3cf)](_0x2ac9c1[_0x30465c(0x197)])){const _0x57dfcc=_0x14f28f['get'](_0x2ac9c1[_0x30465c(0x197)]);_0x57dfcc[_0x30465c(0x3d4)]+=',\x20'+_0x2ac9c1[_0x30465c(0x3d4)];}else _0x14f28f[_0x30465c(0x34a)](_0x2ac9c1[_0x30465c(0x197)],_0x2ac9c1);}),Array[_0xe870a2(0x360)](_0x14f28f[_0xe870a2(0x3ca)]());}var _0x511c4d=Object['getOwnPropertyDescriptor'],_0x43570a=(_0x5c607d,_0x4dc8dc,_0x4f36bf,_0xc75653)=>{const _0x183b6e=_0x477bc3;for(var _0x35e517=_0xc75653>0x1?void 0x0:_0xc75653?_0x511c4d(_0x4dc8dc,_0x4f36bf):_0x4dc8dc,_0x351f52=_0x5c607d[_0x183b6e(0x215)]-0x1,_0x557dce;_0x351f52>=0x0;_0x351f52--)(_0x557dce=_0x5c607d[_0x351f52])&&(_0x35e517=_0x557dce(_0x35e517)||_0x35e517);return _0x35e517;},_0x514557=(_0x38c295,_0x503a3b)=>(_0x3f5773,_0x509603)=>_0x503a3b(_0x3f5773,_0x509603,_0x38c295);let _0x55cb2a=class extends _0x162031[_0x477bc3(0x148)]{constructor(_0x5f5adf,_0x30b101,_0x428a9b,_0x36b13d,_0x45b36c,_0x4e01cb){const _0x408c28=_0x477bc3;super(),this[_0x408c28(0x15b)]=_0x5f5adf,this[_0x408c28(0x273)]=_0x30b101,this[_0x408c28(0x227)]=_0x428a9b,this[_0x408c28(0x377)]=_0x36b13d,this[_0x408c28(0x3bc)]=_0x45b36c,this[_0x408c28(0x10b)]=_0x4e01cb,this['_setupBeforeClosingHandler'](),this[_0x408c28(0x25e)]();}[_0x477bc3(0x167)](){const _0x2eac18=_0x477bc3;this[_0x2eac18(0x32e)](this[_0x2eac18(0x15b)][_0x2eac18(0x3a7)](()=>{const _0x24b76f=_0x2eac18;if(this[_0x24b76f(0x273)][_0x24b76f(0x130)][_0x24b76f(0x12d)])return this['_localeService']['t'](_0x24b76f(0x39a));}));}[_0x477bc3(0x25e)](){const _0x4afecc=_0x477bc3;this[_0x4afecc(0x32e)](this[_0x4afecc(0x227)][_0x4afecc(0x177)][_0x4afecc(0x2cd)](_0x491368=>{const _0x46e683=_0x4afecc;_0x491368['id']===_0x44b518[_0x46e683(0x2a0)][_0x46e683(0x184)]&&this['_messageService'][_0x46e683(0x348)]({'type':_0x3fb0c6['MessageType'][_0x46e683(0x1ef)],'content':this[_0x46e683(0x10b)]['t']('collaboration.single-unit.warning')}),_0x491368['id']===_0x44b518[_0x46e683(0x2a0)][_0x46e683(0xee)]&&this[_0x46e683(0x377)][_0x46e683(0x348)]({'type':_0x3fb0c6[_0x46e683(0x33e)][_0x46e683(0x1ef)],'content':this[_0x46e683(0x10b)]['t']('collaboration.closeRoom')}),_0x491368['id']===_0x44b518[_0x46e683(0x2a0)]['PERMISSION_DENIED']&&this[_0x46e683(0x3bc)][_0x46e683(0x348)]({'title':this['_localeService']['t'](_0x46e683(0x1c4)),'content':this[_0x46e683(0x10b)]['t'](_0x46e683(0xfb)),'type':_0x46e683(0x2d0),'duration':0x0}),_0x491368['id']===_0x44b518[_0x46e683(0x2a0)][_0x46e683(0x1eb)]&&this[_0x46e683(0x377)][_0x46e683(0x348)]({'type':_0x3fb0c6[_0x46e683(0x33e)][_0x46e683(0x112)],'content':this[_0x46e683(0x10b)]['t']('collaboration.closeRoom')+'('+_0x491368['data']+')'}),_0x491368['id']===_0x44b518[_0x46e683(0x2a0)][_0x46e683(0x229)]&&this[_0x46e683(0x377)][_0x46e683(0x348)]({'type':_0x3fb0c6[_0x46e683(0x33e)]['Warning'],'content':this[_0x46e683(0x10b)]['t'](_0x491368[_0x46e683(0x1f9)]||'')}),_0x491368['id']===_0x44b518[_0x46e683(0x2a0)]['SOCKET_FAILED_RETRY']&&this[_0x46e683(0x377)][_0x46e683(0x348)]({'type':_0x3fb0c6[_0x46e683(0x33e)][_0x46e683(0x1ef)],'content':this['_localeService']['t'](_0x46e683(0x10f))}),_0x491368['id']===_0x44b518[_0x46e683(0x2a0)][_0x46e683(0xfd)]&&this[_0x46e683(0x377)]['show']({'type':_0x3fb0c6['MessageType'][_0x46e683(0x112)],'content':this[_0x46e683(0x10b)]['t'](_0x46e683(0x27a))}),_0x491368['id']===_0x44b518[_0x46e683(0x2a0)]['SUBMIT_CHANGESET_TIMEOUT']&&this[_0x46e683(0x377)]['show']({'type':_0x3fb0c6[_0x46e683(0x33e)][_0x46e683(0x112)],'content':this[_0x46e683(0x10b)]['t'](_0x46e683(0x367))});}));}};_0x55cb2a=_0x43570a([_0x514557(0x0,_0x198137[_0x477bc3(0x374)]),_0x514557(0x1,_0x44b518['ILocalCacheService']),_0x514557(0x2,_0x162031[_0x477bc3(0x2b0)](_0x44b518[_0x477bc3(0x2aa)])),_0x514557(0x3,_0x198137[_0x477bc3(0x222)]),_0x514557(0x4,_0x198137[_0x477bc3(0xeb)]),_0x514557(0x5,_0x162031[_0x477bc3(0x2b0)](_0x162031[_0x477bc3(0x1cd)]))],_0x55cb2a);var _0x10bc08=Object[_0x477bc3(0x1ec)],_0x89c985=(_0x4498df,_0xc84eaf,_0x6f5fb3,_0x5d8359)=>{for(var _0x1cde41=_0x5d8359>0x1?void 0x0:_0x5d8359?_0x10bc08(_0xc84eaf,_0x6f5fb3):_0xc84eaf,_0x43b86c=_0x4498df['length']-0x1,_0x15c42e;_0x43b86c>=0x0;_0x43b86c--)(_0x15c42e=_0x4498df[_0x43b86c])&&(_0x1cde41=_0x15c42e(_0x1cde41)||_0x1cde41);return _0x1cde41;},_0x114be6=(_0x59c3e7,_0x476327)=>(_0x3e87d7,_0x2c384c)=>_0x476327(_0x3e87d7,_0x2c384c,_0x59c3e7);let _0x8f72b=class extends _0x162031['Disposable']{constructor(_0xfc81dc,_0x27687c,_0x338324,_0x55dbcf){const _0x3eb3da=_0x477bc3;super(),_0x387a01(this,_0x3eb3da(0x36d)),(this[_0x3eb3da(0x3da)]=_0xfc81dc,this['_httpService']=_0x27687c,this[_0x3eb3da(0x297)]=_0x338324,this['_collaborationSessionService']=_0x55dbcf,this[_0x3eb3da(0x1ad)]());}[_0x477bc3(0x1ad)](){const _0x40163f=_0x477bc3;this[_0x40163f(0x102)](),this[_0x40163f(0x3bb)](),this[_0x40163f(0x334)](),this[_0x40163f(0x38c)]();}[_0x477bc3(0x38c)](){const _0x1711f1=_0x477bc3;this[_0x1711f1(0x32e)](this[_0x1711f1(0x221)][_0x1711f1(0x36f)][_0x1711f1(0x2cd)](_0x570ff6=>{const _0x2b3c6d=_0x1711f1;this[_0x2b3c6d(0x36d)]=_0x570ff6==null?void 0x0:_0x570ff6[_0x2b3c6d(0x3b2)];}));}[_0x477bc3(0x102)](){const _0x5bdcf2=_0x477bc3,_0x512780=_0x19e5f8=>{const _0x510294=_0x1b11;var _0xd01e6e;this[_0x510294(0x131)](_0x510294(0x2d0),_0x510294(0x1b8)+_0x19e5f8['message']+_0x510294(0x347)+_0x19e5f8[_0x510294(0x1bb)]+':'+_0x19e5f8[_0x510294(0xf0)]+':'+_0x19e5f8['colno']+'\x0a'+(((_0xd01e6e=_0x19e5f8[_0x510294(0x2d0)])==null?void 0x0:_0xd01e6e[_0x510294(0x394)])||''));};window[_0x5bdcf2(0x2d6)](_0x5bdcf2(0x2d0),_0x512780),this[_0x5bdcf2(0x32e)](()=>{const _0x3d5467=_0x5bdcf2;window[_0x3d5467(0x279)]('error',_0x512780);});}[_0x477bc3(0x3bb)](){const _0x11fe5e=_0x477bc3,_0x1f0c0a=_0x2bc5ec=>{const _0x33f874=_0x1b11;this[_0x33f874(0x131)]('error',_0x33f874(0x305)+_0x2bc5ec[_0x33f874(0x397)]);};window['addEventListener']('unhandledrejection',_0x1f0c0a),this[_0x11fe5e(0x32e)](()=>{window['removeEventListener']('unhandledrejection',_0x1f0c0a);});}[_0x477bc3(0x334)](){const _0x159ffc=_0x477bc3,_0x2f939f=this[_0x159ffc(0x297)][_0x159ffc(0x2d0)]['bind'](this['_logService']);this[_0x159ffc(0x297)][_0x159ffc(0x2d0)]=(..._0x5b8dad)=>{const _0x1ccb4d=_0x159ffc,_0x49e19b=_0x5b8dad[_0x1ccb4d(0x239)](_0x385673=>_0x385673 instanceof Error?_0x385673['message']+'\x0a'+_0x385673[_0x1ccb4d(0x394)]:String(_0x385673))[_0x1ccb4d(0x122)]('\x20');this[_0x1ccb4d(0x131)](_0x1ccb4d(0x2d0),_0x1ccb4d(0x341)+_0x49e19b),_0x2f939f(..._0x5b8dad);},this[_0x159ffc(0x32e)](()=>{const _0x3fe18b=_0x159ffc;this[_0x3fe18b(0x297)][_0x3fe18b(0x2d0)]=_0x2f939f;});}['_uploadLog'](_0x3b2deb,_0x46f5de){const _0x6bb33c=_0x477bc3;try{const _0x148c42={'userId':this[_0x6bb33c(0x36d)],'logLabel':_0x3b2deb,'content':_0x46f5de};this[_0x6bb33c(0x180)]['post']('/universer-api/frontend/logs',{'body':_0x148c42})[_0x6bb33c(0x23b)](()=>{});}catch{}}};_0x8f72b=_0x89c985([_0x114be6(0x0,_0x162031['Inject'](_0x162031[_0x477bc3(0x1e2)])),_0x114be6(0x1,_0x162031['Inject'](_0x1a6c2d['HTTPService'])),_0x114be6(0x2,_0x162031['ILogService']),_0x114be6(0x3,_0x162031['Inject'](_0x44b518[_0x477bc3(0x1e5)]))],_0x8f72b);const _0x1050c1=_0x477bc3(0x2df),_0x1b221={};var _0xede3e2=Object[_0x477bc3(0x1ec)],_0x411a7a=(_0x1d83c8,_0x13f5b7,_0x561fb0,_0x28d916)=>{const _0x553f13=_0x477bc3;for(var _0x2f14a6=_0x28d916>0x1?void 0x0:_0x28d916?_0xede3e2(_0x13f5b7,_0x561fb0):_0x13f5b7,_0x33ad8b=_0x1d83c8[_0x553f13(0x215)]-0x1,_0x1b04ca;_0x33ad8b>=0x0;_0x33ad8b--)(_0x1b04ca=_0x1d83c8[_0x33ad8b])&&(_0x2f14a6=_0x1b04ca(_0x2f14a6)||_0x2f14a6);return _0x2f14a6;},_0x15e2ef=(_0x306d24,_0x42b33d)=>(_0x54604f,_0x2fe650)=>_0x42b33d(_0x54604f,_0x2fe650,_0x306d24);let _0x492b1f=class{constructor(_0x232bc1,_0x6f0b38){const _0x2e9eb1=_0x477bc3;this[_0x2e9eb1(0x22c)]=_0x232bc1,this['_renderManagerService']=_0x6f0b38;}[_0x477bc3(0x350)](_0x1708a9){const _0x218516=_0x477bc3;this['_transformUndoRedoStack'](_0x1708a9),this[_0x218516(0x2b4)](_0x1708a9);}['transformRemoteChangeset'](_0xcce728){const _0x3407f0=_0x477bc3,{unitID:_0x41ec38}=_0xcce728,_0x434ba9=this[_0x3407f0(0x1f4)][_0x3407f0(0x288)](_0x41ec38)[_0x3407f0(0x135)](_0x74e6be[_0x3407f0(0x3d7)]),{redoCache:_0x3865a6}=_0x434ba9[_0x3407f0(0x212)]();if(_0x3865a6['length']===0x0)return _0xcce728;let _0x401235=_0x162031[_0x3407f0(0x31f)][_0x3407f0(0x193)](_0xcce728[_0x3407f0(0x34d)][0x0]);for(let _0x3c9fd8=0x0;_0x3c9fd8<_0x3865a6[_0x3407f0(0x215)];_0x3c9fd8++){const _0x1f5ea9={'id':'doc.mutation.rich-text-editing','params':{..._0x3865a6[_0x3c9fd8]}},_0x56d6e8=this[_0x3407f0(0x22c)]['transformMutation'](_0x401235,_0x1f5ea9,!0x1);if(_0x4cd710[_0x3407f0(0x3ad)](_0x56d6e8))throw _0x56d6e8[_0x3407f0(0x2d0)];_0x401235=_0x56d6e8[_0x3407f0(0x358)];}return{..._0x162031[_0x3407f0(0x31f)][_0x3407f0(0x193)](_0xcce728),'mutations':[_0x401235]};}['_transformUndoRedoStack'](_0x9ac426){const _0xb26878=_0x477bc3,{unitID:_0x206d4e}=_0x9ac426,_0x2f6137=this['_renderManagerService']['getRenderById'](_0x206d4e)['with'](_0x74e6be['DocIMEInputManagerService']),{undoCache:_0x122881,redoCache:_0x547572}=_0x2f6137[_0xb26878(0x212)]();if(_0x122881[_0xb26878(0x215)]===0x0||_0x547572['length']===0x0)return;const _0x1b7465=[],_0x5b0f54=[];let _0x23ef8c=_0x162031['Tools'][_0xb26878(0x193)](_0x9ac426[_0xb26878(0x34d)][0x0]),_0x197861=_0x162031[_0xb26878(0x31f)][_0xb26878(0x193)](_0x9ac426['mutations'][0x0]);for(let _0x257162=_0x122881[_0xb26878(0x215)]-0x1;_0x257162>=0x0;_0x257162--){const _0x4d81bd={'id':'doc.mutation.rich-text-editing','params':{..._0x122881[_0x257162]}},_0x8747cc={'id':'doc.mutation.rich-text-editing','params':{..._0x547572[_0x257162]}},_0x367b90=this['_transformService']['transformMutation'](_0x23ef8c,_0x4d81bd,!0x1),_0x1981a2=this[_0xb26878(0x22c)][_0xb26878(0x179)](_0x197861,_0x8747cc,!0x1);if(_0x4cd710[_0xb26878(0x3ad)](_0x367b90))throw _0x367b90[_0xb26878(0x2d0)];if(_0x4cd710[_0xb26878(0x3ad)](_0x1981a2))throw _0x1981a2[_0xb26878(0x2d0)];_0x1b7465[_0xb26878(0x188)](_0x367b90[_0xb26878(0x250)][_0xb26878(0x1ab)]),_0x5b0f54[_0xb26878(0x188)](_0x1981a2[_0xb26878(0x250)][_0xb26878(0x1ab)]),_0x23ef8c=_0x367b90[_0xb26878(0x358)],_0x197861=_0x1981a2[_0xb26878(0x358)];}_0x2f6137[_0xb26878(0x157)]({'undoCache':_0x1b7465,'redoCache':_0x5b0f54});}[_0x477bc3(0x2b4)](_0x4186ec){const _0xd1a9b9=_0x477bc3,{unitID:_0x35495b}=_0x4186ec,_0x5c0c47=this[_0xd1a9b9(0x1f4)][_0xd1a9b9(0x288)](_0x35495b)['with'](_0x74e6be[_0xd1a9b9(0x3d7)]),_0x4c6242=_0x5c0c47[_0xd1a9b9(0x1e3)]();if(_0x4c6242==null)return;const _0x166c6c=[{'id':_0xd1a9b9(0x20a),'params':{'unitId':_0x4186ec[_0xd1a9b9(0x3d0)],'actions':null,'textRanges':[_0x4c6242]}}],_0x33da04=this[_0xd1a9b9(0x22c)][_0xd1a9b9(0x34f)](_0x4186ec,_0x166c6c);if(!_0x4cd710['isTransformMutationsWithChangesetSuccess'](_0x33da04))throw _0x33da04['error'];const _0xbe90a1=_0x33da04[_0xd1a9b9(0x250)][0x0][_0xd1a9b9(0x1ab)][_0xd1a9b9(0x395)];Array[_0xd1a9b9(0x165)](_0xbe90a1)&&_0xbe90a1[_0xd1a9b9(0x215)]&&_0x5c0c47[_0xd1a9b9(0x127)](_0xbe90a1[0x0]);}};_0x492b1f=_0x411a7a([_0x15e2ef(0x0,_0x4cd710['ITransformService']),_0x15e2ef(0x1,_0x433081[_0x477bc3(0x1a7)])],_0x492b1f);var _0x3b9a8b=Object[_0x477bc3(0x1ec)],_0x3c68f3=(_0x2b46f4,_0x509e07,_0x209616,_0x1f0c79)=>{const _0x376b2b=_0x477bc3;for(var _0x31747c=_0x1f0c79>0x1?void 0x0:_0x1f0c79?_0x3b9a8b(_0x509e07,_0x209616):_0x509e07,_0x53c387=_0x2b46f4[_0x376b2b(0x215)]-0x1,_0x110488;_0x53c387>=0x0;_0x53c387--)(_0x110488=_0x2b46f4[_0x53c387])&&(_0x31747c=_0x110488(_0x31747c)||_0x31747c);return _0x31747c;},_0x3bd8c9=(_0x672319,_0x1823c7)=>(_0x31ebc9,_0x435a6e)=>_0x1823c7(_0x31ebc9,_0x435a6e,_0x672319);let _0x35832b=class{constructor(_0x4a28c1,_0x25f8c9,_0xc04570){const _0x5c2cea=_0x477bc3;this[_0x5c2cea(0x3da)]=_0x4a28c1,this['_transformService']=_0x25f8c9,this[_0x5c2cea(0xfc)]=_0xc04570;}[_0x477bc3(0x3cc)](_0x3288fc){const _0x21a4d6=_0x477bc3;this[_0x21a4d6(0x15e)](_0x3288fc);}[_0x477bc3(0x2ee)](_0x188388){const _0x195fc0=_0x477bc3,{unitID:_0x1d8f28}=_0x188388,{collaboration:_0x558dc9}=this[_0x195fc0(0xfc)]['getStateCache'](_0x1d8f28);if(_0x558dc9[_0x195fc0(0x215)]===0x0)return _0x188388;let _0x51614c=_0x162031['Tools'][_0x195fc0(0x193)](_0x188388[_0x195fc0(0x34d)][0x0]);for(let _0x2cc049=0x0;_0x2cc049<_0x558dc9['length'];_0x2cc049++){const _0x55d71f={'id':_0x195fc0(0x20a),'params':{'unitId':_0x558dc9[_0x2cc049][_0x195fc0(0x150)],..._0x558dc9[_0x2cc049][_0x195fc0(0xf1)]}},_0x2acb16=this['_transformService'][_0x195fc0(0x179)](_0x51614c,_0x55d71f,!0x1);if(_0x4cd710[_0x195fc0(0x3ad)](_0x2acb16))throw _0x2acb16[_0x195fc0(0x2d0)];_0x51614c=_0x2acb16[_0x195fc0(0x358)];}return{..._0x162031[_0x195fc0(0x31f)][_0x195fc0(0x193)](_0x188388),'mutations':[_0x51614c]};}[_0x477bc3(0x15e)](_0x54eb0c){const _0x252440=_0x477bc3,{unitID:_0x192443}=_0x54eb0c,{history:_0x470346,collaboration:_0x8d6c9e}=this['_docStateChangeManagerService'][_0x252440(0x19b)](_0x192443);if(_0x470346[_0x252440(0x215)]===0x0&&_0x8d6c9e[_0x252440(0x215)]===0x0)return;const _0x5ad112=[],_0x5e4f9f=[];let _0x52df32=_0x162031[_0x252440(0x31f)][_0x252440(0x193)](_0x54eb0c[_0x252440(0x34d)][0x0]),_0x2b2636=_0x162031[_0x252440(0x31f)][_0x252440(0x193)](_0x54eb0c[_0x252440(0x34d)][0x0]);for(let _0x4e7de4=_0x470346[_0x252440(0x215)]-0x1;_0x4e7de4>=0x0;_0x4e7de4--){const _0x5f56cc={'id':_0x252440(0x20a),'params':{'unitId':_0x470346[_0x4e7de4][_0x252440(0x150)],..._0x470346[_0x4e7de4][_0x252440(0x26c)]}},_0x2c2053={'id':_0x252440(0x20a),'params':{'unitId':_0x470346[_0x4e7de4][_0x252440(0x150)],..._0x470346[_0x4e7de4][_0x252440(0xf1)]}},_0x25c33b=this[_0x252440(0x22c)]['transformMutation'](_0x52df32,_0x5f56cc,!0x1),_0x23fed0=this[_0x252440(0x22c)][_0x252440(0x179)](_0x2b2636,_0x2c2053,!0x1);if(_0x4cd710[_0x252440(0x3ad)](_0x25c33b))throw _0x25c33b['error'];if(_0x4cd710['isTransformMutationFailure'](_0x23fed0))throw _0x23fed0['error'];_0x5ad112[_0x252440(0x188)]({..._0x470346[_0x4e7de4],'undoState':_0x25c33b[_0x252440(0x250)][_0x252440(0x1ab)],'redoState':_0x23fed0[_0x252440(0x250)][_0x252440(0x1ab)]}),_0x52df32=_0x25c33b[_0x252440(0x358)],_0x2b2636=_0x23fed0[_0x252440(0x358)];}_0x52df32=_0x162031[_0x252440(0x31f)]['deepClone'](_0x54eb0c[_0x252440(0x34d)][0x0]),_0x2b2636=_0x162031[_0x252440(0x31f)][_0x252440(0x193)](_0x54eb0c[_0x252440(0x34d)][0x0]);for(let _0x4b03b4=_0x8d6c9e[_0x252440(0x215)]-0x1;_0x4b03b4>=0x0;_0x4b03b4--){const _0x233501={'id':_0x252440(0x20a),'params':{'unitId':_0x8d6c9e[_0x4b03b4][_0x252440(0x150)],..._0x8d6c9e[_0x4b03b4][_0x252440(0x26c)]}},_0x53858b={'id':_0x252440(0x20a),'params':{'unitId':_0x8d6c9e[_0x4b03b4][_0x252440(0x150)],..._0x8d6c9e[_0x4b03b4][_0x252440(0xf1)]}},_0x35417d=this['_transformService'][_0x252440(0x179)](_0x52df32,_0x233501,!0x1),_0x49b19b=this[_0x252440(0x22c)][_0x252440(0x179)](_0x2b2636,_0x53858b,!0x1);if(_0x4cd710[_0x252440(0x3ad)](_0x35417d))throw _0x35417d[_0x252440(0x2d0)];if(_0x4cd710[_0x252440(0x3ad)](_0x49b19b))throw _0x49b19b[_0x252440(0x2d0)];_0x5e4f9f[_0x252440(0x188)]({..._0x8d6c9e[_0x4b03b4],'undoState':_0x35417d[_0x252440(0x250)][_0x252440(0x1ab)],'redoState':_0x49b19b[_0x252440(0x250)]['params']}),_0x52df32=_0x35417d[_0x252440(0x358)],_0x2b2636=_0x49b19b['m1Prime'];}this['_docStateChangeManagerService'][_0x252440(0x31e)](_0x192443,{'history':_0x5ad112,'collaboration':_0x5e4f9f});}};_0x35832b=_0x3c68f3([_0x3bd8c9(0x0,_0x162031[_0x477bc3(0x2b0)](_0x162031[_0x477bc3(0x1e2)])),_0x3bd8c9(0x1,_0x4cd710['ITransformService']),_0x3bd8c9(0x2,_0x162031[_0x477bc3(0x2b0)](_0x74e6be[_0x477bc3(0x318)]))],_0x35832b);var _0x4fd5fc=Object[_0x477bc3(0x1ec)],_0x4b24d7=(_0x4ee892,_0x35d5ee,_0x5b46b4,_0x25e95b)=>{const _0x53440b=_0x477bc3;for(var _0x418df2=_0x25e95b>0x1?void 0x0:_0x25e95b?_0x4fd5fc(_0x35d5ee,_0x5b46b4):_0x35d5ee,_0x5d6135=_0x4ee892[_0x53440b(0x215)]-0x1,_0x304cfe;_0x5d6135>=0x0;_0x5d6135--)(_0x304cfe=_0x4ee892[_0x5d6135])&&(_0x418df2=_0x304cfe(_0x418df2)||_0x418df2);return _0x418df2;},_0x35db6c=(_0x67b54d,_0x2cfbe5)=>(_0x105132,_0x2bb644)=>_0x2cfbe5(_0x105132,_0x2bb644,_0x67b54d);let _0x1d044c=class{constructor(_0x2af8f7,_0x38e74e){const _0x40240a=_0x477bc3;this[_0x40240a(0x3da)]=_0x2af8f7,this[_0x40240a(0x22c)]=_0x38e74e;}[_0x477bc3(0x2e9)](_0x4d2a31){const _0x4f5634=_0x477bc3;var _0x2b7035;const _0x473c15=this[_0x4f5634(0x3da)][_0x4f5634(0x375)](_0x47f67f[_0x4f5634(0x293)]),_0x1be41f=(_0x2b7035=_0x473c15[_0x4f5634(0x28c)]())!=null?_0x2b7035:[];if(_0x1be41f['length']===0x0)return;const _0x1f2962=_0x4d2a31[_0x4f5634(0x3d0)],_0x5f13a5=[{'id':_0x4f5634(0x20a),'params':{'unitId':_0x1f2962,'actions':null,'textRanges':_0x1be41f}}],_0x59a340=this[_0x4f5634(0x22c)][_0x4f5634(0x34f)](_0x4d2a31,_0x5f13a5);if(!_0x4cd710[_0x4f5634(0x296)](_0x59a340))throw _0x59a340[_0x4f5634(0x2d0)];const _0x55f8ec=_0x59a340[_0x4f5634(0x250)][0x0][_0x4f5634(0x1ab)][_0x4f5634(0x395)];Array[_0x4f5634(0x165)](_0x55f8ec)&&_0x55f8ec['length']&&_0x473c15[_0x4f5634(0x1fe)](_0x55f8ec,{'unitId':_0x1f2962,'subUnitId':_0x1f2962},!0x1);}};_0x1d044c=_0x4b24d7([_0x35db6c(0x0,_0x162031['Inject'](_0x162031['Injector'])),_0x35db6c(0x1,_0x4cd710[_0x477bc3(0x176)])],_0x1d044c);var _0x3bf866=Object['getOwnPropertyDescriptor'],_0x3037ed=(_0x46c7f8,_0x1dc48d,_0x2ccaf8,_0x4c922f)=>{for(var _0x58d0a0=_0x4c922f>0x1?void 0x0:_0x4c922f?_0x3bf866(_0x1dc48d,_0x2ccaf8):_0x1dc48d,_0x5f1826=_0x46c7f8['length']-0x1,_0x43ccce;_0x5f1826>=0x0;_0x5f1826--)(_0x43ccce=_0x46c7f8[_0x5f1826])&&(_0x58d0a0=_0x43ccce(_0x58d0a0)||_0x58d0a0);return _0x58d0a0;},_0x1c8c44=(_0xd06b6b,_0x45d826)=>(_0x206f71,_0x535ba4)=>_0x45d826(_0x206f71,_0x535ba4,_0xd06b6b);let _0x1ba1e0=class extends _0x162031['Disposable']{constructor(_0x1c387e,_0x4edd4c,_0xe8d5b5,_0x23e96d,_0x2a4a80,_0x5adc4a,_0x34e9d6,_0x16ec62){const _0x82ca89=_0x477bc3;super(),_0x387a01(this,_0x82ca89(0x117),new _0xe327d9[(_0x82ca89(0x136))](_0x44b518[_0x82ca89(0x2c2)][_0x82ca89(0x35c)])),(this[_0x82ca89(0xfc)]=_0x1c387e,this[_0x82ca89(0x2f2)]=_0x4edd4c,this[_0x82ca89(0x247)]=_0xe8d5b5,this['_docTransformStateCacheService']=_0x23e96d,this['_docTransformSelectionsService']=_0x2a4a80,this[_0x82ca89(0x35b)]=_0x5adc4a,this[_0x82ca89(0x377)]=_0x34e9d6,this[_0x82ca89(0x10b)]=_0x16ec62,this[_0x82ca89(0x37f)]());}[_0x477bc3(0x37f)](){const _0x375e37=_0x477bc3;this[_0x375e37(0x32e)](this[_0x375e37(0x2f2)]['entityInit$'][_0x375e37(0x2cd)](_0x508a35=>{const _0x1cd8fb=_0x375e37,_0x347cfc=this['_docStateChangeManagerService'][_0x1cd8fb(0x166)][_0x1cd8fb(0x2cd)](_0x3d0692=>{const _0x3d151c=_0x1cd8fb;if(_0x3d0692==null)return;const {unitId:_0x171603,redoState:_0x3007ff,commandId:_0x145f97}=_0x3d0692;if(_0x171603!==_0x508a35['unitID'])return;const _0x319570={'id':_0x145f97,'type':_0x162031['CommandType'][_0x3d151c(0x20d)],'params':{'unitId':_0x171603,'actions':_0x3007ff['actions'],'textRanges':null}};_0x508a35['onLocalMutation'](_0x319570);});if(_0x508a35[_0x1cd8fb(0x32e)](_0x347cfc),_0x508a35 instanceof _0x44b518[_0x1cd8fb(0x194)]){const _0x155ab9={'onTransformIME':_0x261c90=>this[_0x1cd8fb(0x247)][_0x1cd8fb(0x350)](_0x261c90),'onTransformState':_0x213b4e=>this[_0x1cd8fb(0x3ce)][_0x1cd8fb(0x3cc)](_0x213b4e),'onTransformSelections':_0x566e35=>this['_docTransformSelectionsService'][_0x1cd8fb(0x2e9)](_0x566e35),'onSyncEditingCollabCursor':_0x2372d1=>this[_0x1cd8fb(0x35b)]['syncEditingCollabCursor'](_0x2372d1),'onTransformRemoteChangesetByIMECache':_0x3845fa=>this[_0x1cd8fb(0x247)]['transformRemoteChangeset'](_0x3845fa),'onTransformRemoteChangesetByStateCache':_0x11cca4=>this['_docTransformStateCacheService'][_0x1cd8fb(0x2ee)](_0x11cca4)};_0x508a35[_0x1cd8fb(0x143)](_0x155ab9);}}));}};_0x1ba1e0=_0x3037ed([_0x1c8c44(0x0,_0x162031['Inject'](_0x74e6be['DocStateChangeManagerService'])),_0x1c8c44(0x1,_0x162031[_0x477bc3(0x2b0)](_0x44b518[_0x477bc3(0x15a)])),_0x1c8c44(0x2,_0x162031[_0x477bc3(0x2b0)](_0x492b1f)),_0x1c8c44(0x3,_0x162031['Inject'](_0x35832b)),_0x1c8c44(0x4,_0x162031[_0x477bc3(0x2b0)](_0x1d044c)),_0x1c8c44(0x5,_0x162031[_0x477bc3(0x2b0)](_0x3f7f20)),_0x1c8c44(0x6,_0x198137['IMessageService']),_0x1c8c44(0x7,_0x162031[_0x477bc3(0x2b0)](_0x162031[_0x477bc3(0x1cd)]))],_0x1ba1e0);var _0x99761d=(_0x535af9=>(_0x535af9[_0x535af9['UNDEFINED']=0x0]=_0x477bc3(0x255),_0x535af9[_0x535af9['OK']=0x1]='OK',_0x535af9[_0x535af9['INTERNAL_ERROR']=0x2]=_0x477bc3(0x224),_0x535af9[_0x535af9['PERMISSION_DENIED']=0x3]='PERMISSION_DENIED',_0x535af9[_0x535af9['NOT_FOUND']=0x4]=_0x477bc3(0x1c7),_0x535af9[_0x535af9[_0x477bc3(0x315)]=0x5]=_0x477bc3(0x315),_0x535af9[_0x535af9[_0x477bc3(0x1d1)]=0x6]='ALREADY_EXISTS',_0x535af9[_0x535af9[_0x477bc3(0x149)]=0x7]='INVALID_ARGUMENT',_0x535af9[_0x535af9['TOO_MANY_REQUESTS']=0x8]=_0x477bc3(0x134),_0x535af9[_0x535af9[_0x477bc3(0x13c)]=0x9]=_0x477bc3(0x13c),_0x535af9[_0x535af9[_0x477bc3(0x213)]=0xa]='LOGIN_FAILED',_0x535af9[_0x535af9[_0x477bc3(0x151)]=0xb]=_0x477bc3(0x151),_0x535af9[_0x535af9[_0x477bc3(0x32c)]=0xc]=_0x477bc3(0x32c),_0x535af9[_0x535af9[_0x477bc3(0x2b3)]=0xd]=_0x477bc3(0x2b3),_0x535af9[_0x535af9[_0x477bc3(0x162)]=0xe]=_0x477bc3(0x162),_0x535af9[_0x535af9[_0x477bc3(0x36c)]=0xf]=_0x477bc3(0x36c),_0x535af9[_0x535af9[_0x477bc3(0x2c5)]=0x10]=_0x477bc3(0x2c5),_0x535af9[_0x535af9[_0x477bc3(0x237)]=0x64]=_0x477bc3(0x237),_0x535af9[_0x535af9[_0x477bc3(0x2da)]=0x65]='ERROR_AGAIN',_0x535af9[_0x535af9[_0x477bc3(0x3ac)]=0xc9]=_0x477bc3(0x3ac),_0x535af9[_0x535af9[_0x477bc3(0x292)]=0xca]=_0x477bc3(0x292),_0x535af9[_0x535af9[_0x477bc3(0x156)]=0x1389]=_0x477bc3(0x156),_0x535af9[_0x535af9['SNAPSHOT_INVALID_SNAPSHOT']=0x1771]=_0x477bc3(0x101),_0x535af9[_0x535af9[_0x477bc3(0x11b)]=0x1772]='SNAPSHOT_HAS_BEEN_REMOVED',_0x535af9[_0x535af9[_0x477bc3(0x217)]=0x1773]='ENSURE_SNAPSHOT_EXECUTION',_0x535af9[_0x535af9['APPLY_REJECT']=0x1b59]=_0x477bc3(0x1ac),_0x535af9[_0x535af9['APPLY_NON_SEQUENTIAL_REVISION']=0x1b5a]=_0x477bc3(0x29f),_0x535af9[_0x535af9[_0x477bc3(0xfe)]=0x1b5b]=_0x477bc3(0xfe),_0x535af9[_0x535af9[_0x477bc3(0x110)]=0x1b5c]=_0x477bc3(0x110),_0x535af9[_0x535af9[_0x477bc3(0x357)]=0x1b5d]=_0x477bc3(0x357),_0x535af9[_0x535af9[_0x477bc3(0x232)]=0x1f41]=_0x477bc3(0x232),_0x535af9[_0x535af9[_0x477bc3(0x11f)]=0x2329]='LICENSE_MAX_UNITS_EXCEEDED',_0x535af9[_0x535af9[_0x477bc3(0x30d)]=0x232a]=_0x477bc3(0x30d),_0x535af9[_0x535af9['LICENSE_IMPORT_SIZE_EXCEEDED']=0x232b]='LICENSE_IMPORT_SIZE_EXCEEDED',_0x535af9[_0x535af9[_0x477bc3(0x196)]=0x232c]=_0x477bc3(0x196),_0x535af9[_0x535af9[_0x477bc3(0x155)]=0x232d]=_0x477bc3(0x155),_0x535af9[_0x535af9[_0x477bc3(0x2a3)]=0x2711]=_0x477bc3(0x2a3),_0x535af9[_0x535af9[_0x477bc3(0x313)]=0x2712]=_0x477bc3(0x313),_0x535af9[_0x535af9['YUUMI_RATE_OVER_LIMIT']=0x2713]=_0x477bc3(0x1c3),_0x535af9[_0x535af9[_0x477bc3(0x38a)]=0x2714]=_0x477bc3(0x38a),_0x535af9[_0x535af9['YUUMI_NO_CUBOID_FOR_QUESTION']=0x271a]=_0x477bc3(0x242),_0x535af9[_0x535af9[_0x477bc3(0x278)]=0x271b]='YUUMI_ASYNCIO_CANCELLED',_0x535af9[_0x535af9[_0x477bc3(0x387)]=0x271c]=_0x477bc3(0x387),_0x535af9[_0x535af9[_0x477bc3(0x17e)]=0x271d]=_0x477bc3(0x17e),_0x535af9[_0x535af9[_0x477bc3(0x1c8)]=0x271e]=_0x477bc3(0x1c8),_0x535af9[_0x535af9[_0x477bc3(0x128)]=0x271f]='YUUMI_AI_RUN_FAILED',_0x535af9[_0x535af9[_0x477bc3(0x3ab)]=0x2720]=_0x477bc3(0x3ab),_0x535af9[_0x535af9['PY_RUNTIME_SCRIPT_ERROR']=0x2af9]=_0x477bc3(0x132),_0x535af9[_0x535af9[_0x477bc3(0x20e)]=0x2ee1]=_0x477bc3(0x20e),_0x535af9[_0x535af9['INVALID_INVITE_CODE']=0x2ee2]=_0x477bc3(0x1f5),_0x535af9[_0x535af9[_0x477bc3(0x22b)]=0x2ee3]=_0x477bc3(0x22b),_0x535af9[_0x535af9[_0x477bc3(0x386)]=0x2ee4]='USER_NOT_INVITED_CODE',_0x535af9[_0x535af9[_0x477bc3(0xf2)]=0x2ee5]=_0x477bc3(0xf2),_0x535af9[_0x535af9['WECHAT_HAS_BEEN_BOUND']=0x32c9]=_0x477bc3(0x27e),_0x535af9[_0x535af9[_0x477bc3(0x210)]=0x32ca]=_0x477bc3(0x210),_0x535af9[_0x535af9[_0x477bc3(0x201)]=0x32cb]=_0x477bc3(0x201),_0x535af9[_0x535af9[_0x477bc3(0x1aa)]=0x36b1]=_0x477bc3(0x1aa),_0x535af9[_0x535af9[_0x477bc3(0x2cc)]=0x36b2]=_0x477bc3(0x2cc),_0x535af9[_0x535af9[_0x477bc3(0x251)]=0x36b3]=_0x477bc3(0x251),_0x535af9[_0x535af9[_0x477bc3(0x2ab)]=0x36b4]=_0x477bc3(0x2ab),_0x535af9[_0x535af9[_0x477bc3(0x23f)]=0x36b5]='ENTITLE_INVALID_COUPON_CODE',_0x535af9[_0x535af9[_0x477bc3(0x13b)]=0x36b6]='ENTITLE_COUPON_EXPIRED',_0x535af9[_0x535af9[_0x477bc3(0x1c2)]=0x36b7]=_0x477bc3(0x1c2),_0x535af9[_0x535af9[_0x477bc3(0x275)]=0x36b8]=_0x477bc3(0x275),_0x535af9[_0x535af9['ENTITLE_CHAT_LIMIT_EXCEED']=0x3715]=_0x477bc3(0x336),_0x535af9[_0x535af9[_0x477bc3(0x2c4)]=0x3716]=_0x477bc3(0x2c4),_0x535af9[_0x535af9[_0x477bc3(0x16f)]=0x3717]=_0x477bc3(0x16f),_0x535af9[_0x535af9[_0x477bc3(0x2e3)]=0x37dd]=_0x477bc3(0x2e3),_0x535af9[_0x535af9[_0x477bc3(0x1d7)]=0x3a99]=_0x477bc3(0x1d7),_0x535af9[_0x535af9['REDEMPTION_CODE_INACTIVE']=0x3a9a]='REDEMPTION_CODE_INACTIVE',_0x535af9[_0x535af9[_0x477bc3(0x1a0)]=0x3a9b]='REDEMPTION_CODE_FULLY_REDEEMED',_0x535af9[_0x535af9[_0x477bc3(0x256)]=0x3a9c]=_0x477bc3(0x256),_0x535af9[_0x535af9['REDEMPTION_USER_NOT_ELIGIBLE']=0x3a9d]=_0x477bc3(0x1df),_0x535af9[_0x535af9[_0x477bc3(0x2bb)]=0x3a9e]=_0x477bc3(0x2bb),_0x535af9[_0x535af9[_0x477bc3(0x379)]=0x3a9f]=_0x477bc3(0x379),_0x535af9[_0x535af9['DATA_SOURCE_TOO_LARGE']=0x3e81]=_0x477bc3(0x3d6),_0x535af9[_0x535af9[_0x477bc3(0x104)]=-0x1]=_0x477bc3(0x104),_0x535af9))(_0x99761d||{});function _0x2fcfc8(_0xa99774){const _0x1fc31e=_0x477bc3;var _0x17d3e2,_0x2d4df4;const _0x27584d=(_0x17d3e2=_0xa99774['stageInfo'])==null?void 0x0:_0x17d3e2['stage'],_0x44a13b=((_0x2d4df4=_0xa99774[_0x1fc31e(0x3b1)])==null?void 0x0:_0x2d4df4[_0x1fc31e(0x203)])||0x0;return _0x27584d===_0xf4950[_0x1fc31e(0x18c)][_0x1fc31e(0x30a)]&&_0x44a13b>0x0;}function _0x3af5b8(_0x314a61){const _0x45a2f1=_0x477bc3;return _0x314a61['functionsExecutedState']===_0xf4950[_0x45a2f1(0x153)][_0x45a2f1(0x361)];}var _0x21daf9=Object['getOwnPropertyDescriptor'],_0x25034e=(_0x43f868,_0xead90b,_0xd132ca,_0x3a372b)=>{for(var _0x429d5d=_0x3a372b>0x1?void 0x0:_0x3a372b?_0x21daf9(_0xead90b,_0xd132ca):_0xead90b,_0xb2446c=_0x43f868['length']-0x1,_0x3c5cc2;_0xb2446c>=0x0;_0xb2446c--)(_0x3c5cc2=_0x43f868[_0xb2446c])&&(_0x429d5d=_0x3c5cc2(_0x429d5d)||_0x429d5d);return _0x429d5d;},_0x20a083=(_0x2f073c,_0x33361f)=>(_0x174b9e,_0x555a23)=>_0x33361f(_0x174b9e,_0x555a23,_0x2f073c);const _0x529885=_0x477bc3(0x30c),_0x1cbb51=_0x477bc3(0x1a6),_0x576aca=_0x477bc3(0x36b);let _0x4667cb=class extends _0x162031[_0x477bc3(0x148)]{constructor(_0x8520d2,_0x34f2a3,_0xde9b98,_0x38d2e8,_0x57c8c4,_0x50e565,_0x27e734){const _0x5694dc=_0x477bc3;super(),_0x387a01(this,_0x5694dc(0x106),null),_0x387a01(this,_0x5694dc(0x33a),0x0),_0x387a01(this,_0x5694dc(0x1cc),0x0),_0x387a01(this,_0x5694dc(0x311),[]),_0x387a01(this,'_lastResponseTimestamp',0x0),(this[_0x5694dc(0x377)]=_0x8520d2,this[_0x5694dc(0x139)]=_0x34f2a3,this[_0x5694dc(0x219)]=_0xde9b98,this[_0x5694dc(0x180)]=_0x38d2e8,this[_0x5694dc(0x225)]=_0x57c8c4,this[_0x5694dc(0x297)]=_0x50e565,this[_0x5694dc(0x10b)]=_0x27e734,this[_0x5694dc(0x319)]());}[_0x477bc3(0x319)](){const _0x3b28d1=_0x477bc3;this[_0x3b28d1(0x32e)](this[_0x3b28d1(0x139)][_0x3b28d1(0x18f)]((_0x46b701,_0x276b30)=>{const _0x1aebd9=_0x3b28d1;var _0x40074b;if(_0x46b701['id']!==_0xf4950[_0x1aebd9(0x380)]['id'])return;const _0x250f93=_0x46b701[_0x1aebd9(0x1ab)];if(!this['_hasFormulaInDirtyRanges']((_0x40074b=_0x250f93['dirtyRanges'])!=null?_0x40074b:[]))return;if(!this[_0x1aebd9(0x272)]())throw this['_checkAndWaitForCalculationPermission'](_0x46b701,_0x276b30),this[_0x1aebd9(0x244)](),new _0x162031[(_0x1aebd9(0x2a1))]();})),this[_0x3b28d1(0x32e)](this[_0x3b28d1(0x139)][_0x3b28d1(0x1b7)]((_0x4b7a34,_0x1bf866)=>{const _0x13e022=_0x3b28d1;if(_0x4b7a34['id']!==_0xf4950[_0x13e022(0x169)]['id'])return;const _0x5c8824=_0x4b7a34[_0x13e022(0x1ab)];if(_0x2fcfc8(_0x5c8824)){const _0xaaad64=_0x162031[_0x13e022(0x38e)]();this[_0x13e022(0x311)]['push'](_0xaaad64),this[_0x13e022(0x2cb)](_0xaaad64);}else{if(_0x3af5b8(_0x5c8824)&&this['_taskIds'][_0x13e022(0x215)]>0x0){const _0x5c7175=this[_0x13e022(0x311)][_0x13e022(0x103)]();this['_releaseCalculationLimit'](_0x5c7175);}}}));}['dispose'](){const _0x1bc361=_0x477bc3;super[_0x1bc361(0x388)](),this['_clearPolling'](),this[_0x1bc361(0x311)]=[],this[_0x1bc361(0x1cc)]=0x0,this[_0x1bc361(0x33a)]=0x0,this[_0x1bc361(0x3d8)]=0x0;}async[_0x477bc3(0x211)](_0x333045,_0x5a9f86){const _0x1e946b=_0x477bc3;for(let _0x4a5fbd=0x0;_0x4a5fbd<0x1e;_0x4a5fbd++)try{if(await this[_0x1e946b(0x3c4)](),this[_0x1e946b(0x272)]()){this['_applyCommand'](_0x333045,_0x5a9f86),this['_messageService']['show']({'content':this['_localeService']['t']('formula.calculation.started'),'type':_0x3fb0c6[_0x1e946b(0x33e)]['Success']});return;}await new Promise(_0x2b3889=>{const _0x3b3bf5=_0x1e946b;this['_pollingInterval']=window[_0x3b3bf5(0x366)](_0x2b3889,0x3e8);});}catch(_0x4e3c0c){this[_0x1e946b(0x297)][_0x1e946b(0x2d0)](_0x4e3c0c);}this[_0x1e946b(0x377)][_0x1e946b(0x348)]({'content':this['_localeService']['t']('formula.calculation.unable'),'type':_0x3fb0c6[_0x1e946b(0x33e)][_0x1e946b(0x112)]});}[_0x477bc3(0x185)](_0x4bc622,_0xa900df){const _0x481e73=_0x477bc3;try{this[_0x481e73(0x139)][_0x481e73(0x269)](_0x4bc622['id'],_0x4bc622[_0x481e73(0x1ab)],_0xa900df);}catch(_0x3b1d14){this[_0x481e73(0x297)][_0x481e73(0x2d0)](_0x3b1d14);}}['_setFormulaLimitStatus'](_0x2ff49f,_0x3fc1ee){const _0x56a3c3=_0x477bc3;_0x3fc1ee<this['_lastResponseTimestamp']||(this[_0x56a3c3(0x3d8)]=_0x3fc1ee,this[_0x56a3c3(0x33a)]=Number[_0x56a3c3(0x3a2)](_0x2ff49f['maxFormulaLimit']),this[_0x56a3c3(0x1cc)]=Number[_0x56a3c3(0x3a2)](_0x2ff49f[_0x56a3c3(0x190)]));}async[_0x477bc3(0x2cb)](_0xb6409e){const _0x401fab=_0x477bc3;var _0x5886a6,_0x4c6356;const _0x52cca0=Date[_0x401fab(0xef)]();try{const _0x57948a=((_0x5886a6=this[_0x401fab(0x219)][_0x401fab(0x248)](_0x44b518['COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY']))==null?void 0x0:_0x5886a6['startFormulaLimitUrl'])||_0x1cbb51,_0xad5c04=(await this['_httpService']['post'](_0x57948a,{'body':JSON[_0x401fab(0x199)]({'taskId':_0xb6409e})}))[_0x401fab(0x34c)];if(((_0x4c6356=_0xad5c04[_0x401fab(0x2d0)])==null?void 0x0:_0x4c6356[_0x401fab(0x11a)])!==_0x99761d['OK'])return;this[_0x401fab(0x2c9)](_0xad5c04[_0x401fab(0x37e)],_0x52cca0);}catch(_0x4f46ef){this[_0x401fab(0x297)][_0x401fab(0x2d0)](_0x4f46ef);}}async[_0x477bc3(0x3c4)](_0x38d848){const _0x3031be=_0x477bc3;var _0x130d84,_0x1b0558;const _0xff5d9c=Date[_0x3031be(0xef)]();try{const _0xec9d46=((_0x130d84=this['_configService']['getConfig'](_0x44b518[_0x3031be(0x320)]))==null?void 0x0:_0x130d84[_0x3031be(0x359)])||_0x529885,_0x52d747=_0x38d848?_0xec9d46+_0x3031be(0x2fe)+encodeURIComponent(_0x38d848):_0xec9d46,_0x20552b=(await this[_0x3031be(0x180)]['get'](_0x52d747))[_0x3031be(0x34c)];if(((_0x1b0558=_0x20552b['error'])==null?void 0x0:_0x1b0558[_0x3031be(0x11a)])!==_0x99761d['OK'])return;this[_0x3031be(0x2c9)](_0x20552b[_0x3031be(0x37e)],_0xff5d9c);}catch(_0x58c6c6){this['_logService'][_0x3031be(0x2d0)](_0x58c6c6);}}async[_0x477bc3(0x3bd)](_0x130946){const _0xe747e7=_0x477bc3;var _0x50a5c5,_0x1cf393;const _0x3dd63f=Date['now']();try{const _0x48913a=((_0x50a5c5=this[_0xe747e7(0x219)][_0xe747e7(0x248)](_0x44b518[_0xe747e7(0x320)]))==null?void 0x0:_0x50a5c5[_0xe747e7(0x257)])||_0x576aca,_0x5b53d7=(await this[_0xe747e7(0x180)]['post'](_0x48913a,{'body':JSON[_0xe747e7(0x199)]({'taskId':_0x130946})}))['body'];if(((_0x1cf393=_0x5b53d7['error'])==null?void 0x0:_0x1cf393['code'])!==_0x99761d['OK'])return;this[_0xe747e7(0x2c9)](_0x5b53d7[_0xe747e7(0x37e)],_0x3dd63f);}catch(_0x10a895){this[_0xe747e7(0x297)]['error'](_0x10a895);}}[_0x477bc3(0x272)](){const _0x4d763e=_0x477bc3;return this['_maxFormulaLimit']===0x0?!0x0:this[_0x4d763e(0x33a)]-this[_0x4d763e(0x1cc)]>0x0;}[_0x477bc3(0x17c)](){const _0x24f34d=_0x477bc3;this[_0x24f34d(0x106)]&&(clearTimeout(this[_0x24f34d(0x106)]),this[_0x24f34d(0x106)]=null);}[_0x477bc3(0x244)](){const _0x11042d=_0x477bc3;this[_0x11042d(0x377)][_0x11042d(0x348)]({'content':this[_0x11042d(0x10b)]['t'](_0x11042d(0x3b0)),'type':_0x3fb0c6[_0x11042d(0x33e)][_0x11042d(0x321)]});}['_hasFormulaInDirtyRanges'](_0x428eaf){const _0x52f986=_0x477bc3;for(const _0x5e7777 of _0x428eaf){const {unitId:_0x438abb,sheetId:_0x59e6e8,range:_0x240773}=_0x5e7777,_0x157de3=this[_0x52f986(0x225)][_0x52f986(0x17f)](_0x438abb);if(!_0x157de3)continue;const _0x47432f=_0x157de3[_0x52f986(0x2ca)](_0x59e6e8);if(!_0x47432f)continue;const _0x3ed0b2=_0x47432f[_0x52f986(0x173)]();for(let _0x1aa148=_0x240773[_0x52f986(0x141)];_0x1aa148<=_0x240773['endRow'];_0x1aa148++)for(let _0xb3165f=_0x240773[_0x52f986(0x163)];_0xb3165f<=_0x240773['endColumn'];_0xb3165f++){const _0x5c37b7=_0x3ed0b2[_0x52f986(0x182)](_0x1aa148,_0xb3165f);if(_0x5c37b7&&(_0x162031[_0x52f986(0x3c3)](_0x5c37b7['f'])||_0x162031['isFormulaId'](_0x5c37b7['si'])))return!0x0;}}return!0x1;}};_0x4667cb=_0x25034e([_0x20a083(0x0,_0x162031[_0x477bc3(0x2b0)](_0x198137[_0x477bc3(0x222)])),_0x20a083(0x1,_0x162031[_0x477bc3(0x326)]),_0x20a083(0x2,_0x162031[_0x477bc3(0x13e)]),_0x20a083(0x3,_0x162031[_0x477bc3(0x2b0)](_0x1a6c2d['HTTPService'])),_0x20a083(0x4,_0x162031['IUniverInstanceService']),_0x20a083(0x5,_0x162031['ILogService']),_0x20a083(0x6,_0x162031[_0x477bc3(0x2b0)](_0x162031[_0x477bc3(0x1cd)]))],_0x4667cb);var _0x3edc4c=Object[_0x477bc3(0x1ec)],_0x24db3c=(_0x57ef9e,_0x539272,_0x50fa33,_0x364f0b)=>{const _0x5f50ce=_0x477bc3;for(var _0x449ed6=_0x364f0b>0x1?void 0x0:_0x364f0b?_0x3edc4c(_0x539272,_0x50fa33):_0x539272,_0x520afd=_0x57ef9e[_0x5f50ce(0x215)]-0x1,_0x19eae8;_0x520afd>=0x0;_0x520afd--)(_0x19eae8=_0x57ef9e[_0x520afd])&&(_0x449ed6=_0x19eae8(_0x449ed6)||_0x449ed6);return _0x449ed6;},_0x4d35c5=(_0xdb43f1,_0x486f9f)=>(_0x5db083,_0x2f7991)=>_0x486f9f(_0x5db083,_0x2f7991,_0xdb43f1);let _0x41ee4b=class extends _0x162031['Disposable']{constructor(_0x2442f4,_0x151e3b,_0x3e95cd){const _0x407f53=_0x477bc3;super(),_0x387a01(this,'_cachedData',new Map()),_0x387a01(this,_0x407f53(0x24f),new Map()),_0x387a01(this,'_disabled',!0x1),(this[_0x407f53(0x219)]=_0x2442f4,this['_localStorageService']=_0x151e3b,this[_0x407f53(0x16c)]=_0x3e95cd);}['disableLocalCache'](){const _0x5c5c81=_0x477bc3;this[_0x5c5c81(0x20f)]=!0x0;}[_0x477bc3(0x339)](){const _0x413899=_0x477bc3;this[_0x413899(0x20f)]=!0x1;}get[_0x477bc3(0x130)](){const _0x4d0f59=_0x477bc3;return this[_0x4d0f59(0x24f)];}['dispose'](){const _0x174452=_0x477bc3;this[_0x174452(0x3a3)]()['then'](()=>super[_0x174452(0x388)]());}async['loadOfflineData'](_0x5027ed){const _0x42fc7a=_0x477bc3;return this[_0x42fc7a(0x20f)]?null:this[_0x42fc7a(0x34b)]['getItem'](_0x44b518[_0x42fc7a(0x37c)](_0x5027ed));}async['saveOfflineData'](_0xf749c0,_0x4fe836){const _0xdcc0=_0x477bc3;return!!this[_0xdcc0(0x34b)][_0xdcc0(0x23c)](_0xf749c0,_0x4fe836);}[_0x477bc3(0x116)](_0x5cf5c8,_0x346719,_0xef599c,_0x529f3c){const _0x3140bb=_0x477bc3,_0x5be622=this[_0x3140bb(0x16c)][_0x3140bb(0x2fd)](_0x5cf5c8);this[_0x3140bb(0x312)]['set'](_0x5cf5c8,{'unitID':_0x5cf5c8,'type':_0x346719,'awaitingChangeset':_0xef599c,'mutations':_0x529f3c,'rev':_0x5be622}),this[_0x3140bb(0x24f)]['has'](_0x5cf5c8)||this['_scheduleSaving'](_0x5cf5c8);}[_0x477bc3(0x3c0)](_0x1798ab){const _0x589a1e=_0x477bc3,_0x53936b=this['_getSaveTimeout']();_0x53936b===0x0?this[_0x589a1e(0x14d)](_0x1798ab):this[_0x589a1e(0x24f)][_0x589a1e(0x34a)](_0x1798ab,setTimeout(()=>this[_0x589a1e(0x14d)](_0x1798ab),_0x53936b));}['_getSaveTimeout'](){const _0x327da0=_0x477bc3;var _0x59d464;return(_0x59d464=this[_0x327da0(0x219)][_0x327da0(0x248)](_0x44b518['LOCAL_CACHE_INTERVAL_KEY']))!=null?_0x59d464:_0x44b518['LOCAL_CACHE_INTERVAL'];}[_0x477bc3(0x14d)](_0xdeb557){const _0x47f2a9=_0x477bc3,_0x44e494=this[_0x47f2a9(0x24f)]['get'](_0xdeb557);return _0x44e494!==void 0x0&&window[_0x47f2a9(0x23a)](_0x44e494),this[_0x47f2a9(0x34b)][_0x47f2a9(0x23c)](_0x44b518['getLocalCacheKey'](_0xdeb557),this['_cachedData'][_0x47f2a9(0x375)](_0xdeb557))[_0x47f2a9(0x22f)](()=>this[_0x47f2a9(0x24f)][_0x47f2a9(0x32d)](_0xdeb557));}async[_0x477bc3(0x3a3)](){const _0x124880=_0x477bc3,_0x4ba03b=[];this[_0x124880(0x24f)][_0x124880(0x3c7)]((_0x4541f8,_0x2c6e73)=>{const _0x21ff53=_0x124880;window['clearTimeout'](_0x4541f8),_0x4ba03b[_0x21ff53(0x138)](this[_0x21ff53(0x14d)](_0x2c6e73)['then'](()=>{const _0x16212c=_0x21ff53;this[_0x16212c(0x24f)][_0x16212c(0x32d)](_0x2c6e73);}));}),await Promise[_0x124880(0x2a8)](_0x4ba03b);}};_0x41ee4b=_0x24db3c([_0x4d35c5(0x0,_0x162031[_0x477bc3(0x13e)]),_0x4d35c5(0x1,_0x162031[_0x477bc3(0x1c5)]),_0x4d35c5(0x2,_0x162031[_0x477bc3(0x2b0)](_0x4cd710[_0x477bc3(0x1d5)]))],_0x41ee4b);class _0x48e8ee extends _0x162031[_0x477bc3(0xea)]{constructor(){const _0x14a4a5=_0x477bc3;super(),_0x387a01(this,'urlChange$'),this[_0x14a4a5(0x35a)]=_0xe327d9[_0x14a4a5(0x2a9)](window,'popstate')[_0x14a4a5(0x2d1)](_0xe327d9[_0x14a4a5(0x331)](this[_0x14a4a5(0x1c1)]),_0xe327d9[_0x14a4a5(0x238)](0x1),_0xe327d9['mapTo'](void 0x0));}[_0x477bc3(0x33c)](_0x20e6e0,_0x5348d3,_0x510f82=!0x1){const _0x1a1820=_0x477bc3,_0x2ba932=new URL(window[_0x1a1820(0x32b)][_0x1a1820(0x246)]);_0x2ba932[_0x1a1820(0x1ca)][_0x1a1820(0x34a)](_0x20e6e0,_0x5348d3),_0x510f82?window[_0x1a1820(0x1e7)]['replaceState']('','',_0x2ba932['toString']()):window[_0x1a1820(0x1e7)][_0x1a1820(0x21d)]('','',_0x2ba932['toString']());}['removeParam'](_0x55f874,_0xbb0b6f=!0x1){const _0x84426f=_0x477bc3,_0x5d2fe5=new URL(window[_0x84426f(0x32b)][_0x84426f(0x246)]);_0x5d2fe5[_0x84426f(0x1ca)][_0x84426f(0x32d)](_0x55f874),_0xbb0b6f?window['history'][_0x84426f(0x2eb)]('','',_0x5d2fe5[_0x84426f(0x2a6)]()):window['history']['pushState']('','',_0x5d2fe5[_0x84426f(0x2a6)]());}['getParam'](_0x5b99fe){const _0x59f87a=_0x477bc3;var _0x2fea96;return(_0x2fea96=new URL(window[_0x59f87a(0x32b)][_0x59f87a(0x246)])[_0x59f87a(0x1ca)][_0x59f87a(0x375)](_0x5b99fe))!=null?_0x2fea96:void 0x0;}}var _0x4db249=Object[_0x477bc3(0x2e2)],_0xbad9d6=Object[_0x477bc3(0x1ec)],_0x1690f5=(_0x59003d,_0x4776dd,_0x1742eb)=>_0x4776dd in _0x59003d?_0x4db249(_0x59003d,_0x4776dd,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x1742eb}):_0x59003d[_0x4776dd]=_0x1742eb,_0x270136=(_0x51b438,_0x48c1bb,_0x29bbde,_0x38ff03)=>{const _0x64697f=_0x477bc3;for(var _0x587ec7=_0x38ff03>0x1?void 0x0:_0x38ff03?_0xbad9d6(_0x48c1bb,_0x29bbde):_0x48c1bb,_0x109570=_0x51b438[_0x64697f(0x215)]-0x1,_0x27f125;_0x109570>=0x0;_0x109570--)(_0x27f125=_0x51b438[_0x109570])&&(_0x587ec7=_0x27f125(_0x587ec7)||_0x587ec7);return _0x587ec7;},_0x56b50f=(_0x246d4,_0x57df9a)=>(_0x544cce,_0x389c76)=>_0x57df9a(_0x544cce,_0x389c76,_0x246d4),_0x3efcc8=(_0xe8e028,_0x56903c,_0x17abcc)=>_0x1690f5(_0xe8e028,_0x56903c+'',_0x17abcc);const _0x2735fc=_0x477bc3(0x1b3);_0x279e32['UniverCollaborationClientUIPlugin']=class extends _0x162031[_0x477bc3(0x1fc)]{constructor(_0x47cf8b=_0x1b221,_0xd27834,_0x3327b1,_0x54ac9b){const _0x32e9ba=_0x477bc3;super(),this['_config']=_0x47cf8b,this['_renderManagerService']=_0xd27834,this[_0x32e9ba(0x3da)]=_0x3327b1,this[_0x32e9ba(0x219)]=_0x54ac9b;const {..._0x3b4c0b}=_0x162031[_0x32e9ba(0x249)]({},_0x1b221,this[_0x32e9ba(0x38d)]);this[_0x32e9ba(0x219)][_0x32e9ba(0x14c)](_0x1050c1,_0x3b4c0b);}['onStarting'](){this['_registerDependencies'](),this['_initDependencies']();}[_0x477bc3(0x19c)](){this['_registerRenderDependencies']();}[_0x477bc3(0x15d)](){const _0x3b637c=_0x477bc3;var _0x52af25;const _0x3cc01d=[[_0x446316],[_0x4667cb],[_0x1d044c],[_0x492b1f],[_0x35832b],[_0x3f7f20],[_0x361122,{'useClass':_0x48e8ee}],[_0x1a6c2d[_0x3b637c(0x354)],{'useClass':_0x1a6c2d['WebSocketService']}],[_0x44b518['ILocalCacheService'],{'useClass':_0x41ee4b}],[_0x279e32[_0x3b637c(0x2b8)]],[_0x1ba1e0],[_0x55cb2a],[_0x421cc1],[_0x4b1658],[_0x279e32[_0x3b637c(0x174)]]];this[_0x3b637c(0x38d)][_0x3b637c(0x12a)]&&_0x3cc01d[_0x3b637c(0x138)]([_0x8f72b]),_0x162031[_0x3b637c(0x328)](this[_0x3b637c(0x3da)],_0x162031[_0x3b637c(0x39f)](_0x3cc01d,(_0x52af25=this[_0x3b637c(0x38d)])==null?void 0x0:_0x52af25[_0x3b637c(0x147)]));}[_0x477bc3(0x2b2)](){const _0x530a83=_0x477bc3;this['disposeWithMe'](this[_0x530a83(0x1f4)]['registerRenderModule'](_0x162031[_0x530a83(0x1c9)][_0x530a83(0x2c3)],[_0x560482])),this[_0x530a83(0x32e)](this[_0x530a83(0x1f4)][_0x530a83(0x233)](_0x162031[_0x530a83(0x1c9)][_0x530a83(0x277)],[_0x2eb725]));}[_0x477bc3(0x126)](){const _0x2b66e1=_0x477bc3;_0x162031['touchDependencies'](this[_0x2b66e1(0x3da)],[[_0x421cc1],[_0x279e32['DesktopCollaborationStatusDisplayController']],[_0x1ba1e0],[_0x55cb2a],[_0x279e32[_0x2b66e1(0x174)]],[_0x4667cb]]),this[_0x2b66e1(0x38d)]['enableFrontendLog']&&_0x162031[_0x2b66e1(0x17d)](this[_0x2b66e1(0x3da)],[[_0x8f72b]]);}},_0x3efcc8(_0x279e32[_0x477bc3(0x37a)],_0x477bc3(0x18d),_0x2735fc),_0x279e32[_0x477bc3(0x37a)]=_0x270136([_0x162031[_0x477bc3(0x207)](_0x44b518[_0x477bc3(0x399)]),_0x56b50f(0x1,_0x433081[_0x477bc3(0x1a7)]),_0x56b50f(0x2,_0x162031[_0x477bc3(0x2b0)](_0x162031[_0x477bc3(0x1e2)])),_0x56b50f(0x3,_0x162031['IConfigService'])],_0x279e32[_0x477bc3(0x37a)]);var _0x2e4e5c=Object[_0x477bc3(0x1ec)],_0x4d860a=(_0x5d176d,_0x55ca8b,_0x20b501,_0x4b4566)=>{const _0x9b316e=_0x477bc3;for(var _0xf330b1=_0x4b4566>0x1?void 0x0:_0x4b4566?_0x2e4e5c(_0x55ca8b,_0x20b501):_0x55ca8b,_0xc7005b=_0x5d176d[_0x9b316e(0x215)]-0x1,_0x3feec9;_0xc7005b>=0x0;_0xc7005b--)(_0x3feec9=_0x5d176d[_0xc7005b])&&(_0xf330b1=_0x3feec9(_0xf330b1)||_0xf330b1);return _0xf330b1;},_0x4183ce=(_0x4b2096,_0x1362da)=>(_0x50f22d,_0x2bfac0)=>_0x1362da(_0x50f22d,_0x2bfac0,_0x4b2096);_0x279e32[_0x477bc3(0x2d8)]=class extends _0x44b518[_0x477bc3(0x192)]{constructor(_0x34bef4,_0x1ea98a,_0x2db416,_0x379a0e,_0x482c63){super(_0x34bef4,_0x1ea98a,_0x2db416,_0x379a0e,_0x482c63);}async[_0x477bc3(0x3b5)](_0x436a56){const _0x3638ef=_0x477bc3,_0x2eab76=await this[_0x3638ef(0x1b0)](),_0x4a4785=this[_0x3638ef(0x1fa)](_0x436a56,_0x2eab76);return this[_0x3638ef(0x308)](_0x4a4785);}[_0x477bc3(0x1fa)](_0x1d439c,_0x5bd1a8){const _0x34a357=_0x477bc3,_0x3a1de4=typeof window>'u'?new URL(_0x1d439c):new URL(_0x1d439c,window[_0x34a357(0x32b)][_0x34a357(0x236)]);_0x3a1de4['searchParams'][_0x34a357(0x34a)]('sessionTicket',_0x5bd1a8);const _0x1d02bc=typeof window>'u'?new URLSearchParams():new URLSearchParams(window[_0x34a357(0x32b)][_0x34a357(0x29c)]);return _0x1d02bc[_0x34a357(0x375)](_0x34a357(0x1f6))&&_0x3a1de4[_0x34a357(0x1ca)][_0x34a357(0x34a)](_0x34a357(0x1f6),_0x1d02bc['get'](_0x34a357(0x1f6))),_0x3a1de4['toString']();}async[_0x477bc3(0x1b0)](){const _0xb956c1=_0x477bc3;var _0x2c84f9,_0x57ffee,_0x32d406;const _0x3a3cd8=this[_0xb956c1(0x219)][_0xb956c1(0x248)](_0x44b518['COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY']),_0x570525=(_0x2c84f9=_0x3a3cd8==null?void 0x0:_0x3a3cd8[_0xb956c1(0x28d)])!=null?_0x2c84f9:_0x44b518['DEFAULT_WS_SESSION_TICKET_URL'];return(_0x32d406=(_0x57ffee=(await this[_0xb956c1(0x180)]['get'](_0x570525,{'headers':{'Content-Type':_0xb956c1(0x19d)}}))[_0xb956c1(0x34c)])==null?void 0x0:_0x57ffee['ticket'])!=null?_0x32d406:'';}},_0x279e32[_0x477bc3(0x2d8)]=_0x4d860a([_0x4183ce(0x0,_0x162031['Inject'](_0x162031[_0x477bc3(0x1e2)])),_0x4183ce(0x1,_0x162031['Inject'](_0x1a6c2d[_0x477bc3(0x133)])),_0x4183ce(0x2,_0x162031['IConfigService']),_0x4183ce(0x3,_0x162031[_0x477bc3(0x353)]),_0x4183ce(0x4,_0x4cd710[_0x477bc3(0x372)])],_0x279e32[_0x477bc3(0x2d8)]);var _0x59b697=Object[_0x477bc3(0x1ec)],_0x556298=(_0x4821fc,_0xeea9cb,_0x207cb7,_0x2073b9)=>{const _0x3b42e0=_0x477bc3;for(var _0x850e71=_0x2073b9>0x1?void 0x0:_0x2073b9?_0x59b697(_0xeea9cb,_0x207cb7):_0xeea9cb,_0x2920d6=_0x4821fc[_0x3b42e0(0x215)]-0x1,_0x1d4ae9;_0x2920d6>=0x0;_0x2920d6--)(_0x1d4ae9=_0x4821fc[_0x2920d6])&&(_0x850e71=_0x1d4ae9(_0x850e71)||_0x850e71);return _0x850e71;},_0xf413bd=(_0x52c0f0,_0x3c8d2c)=>(_0x3e6c87,_0x4c3fbb)=>_0x3c8d2c(_0x3e6c87,_0x4c3fbb,_0x52c0f0);_0x279e32[_0x477bc3(0x1f7)]=class extends _0x162031[_0x477bc3(0x148)]{constructor(_0x58e6b5,_0x2acef5,_0x5abedf){const _0x179706=_0x477bc3;super(),this[_0x179706(0x2ed)]=_0x58e6b5,this[_0x179706(0x180)]=_0x2acef5,this[_0x179706(0x219)]=_0x5abedf;}async['runOnServer'](_0x29ff8f,_0x509acd,_0x5da049,..._0x22f47f){const _0x388afe=_0x477bc3;var _0x151580,_0x179f69,_0x16d3a3,_0x1f703f;const _0x34f208=this[_0x388afe(0x2ed)][_0x388afe(0x14b)]();if(!_0x34f208)throw new Error(_0x388afe(0x2d9));const _0xf681e=((_0x151580=this[_0x388afe(0x219)]['getConfig'](_0x44b518[_0x388afe(0x1b4)]))!=null?_0x151580:_0x44b518[_0x388afe(0x391)])+'/'+_0x29ff8f+_0x388afe(0x1bc)+_0x509acd,_0x1bfccb=new URL(window[_0x388afe(0x32b)][_0x388afe(0x246)]),_0x3d131a={'scriptId':_0x29ff8f,'runId':(_0x179f69=_0x1bfccb[_0x388afe(0x1ca)][_0x388afe(0x375)](_0x388afe(0x1f6)))!=null?_0x179f69:'','function':_0x509acd,'unitId':_0x34f208[_0x388afe(0x161)](),'argsOfFunction':JSON[_0x388afe(0x199)](_0x22f47f),'invokeId':(_0x16d3a3=_0x5da049[_0x388afe(0x1fd)])!=null?_0x16d3a3:'','executionId':(_0x1f703f=_0x5da049[_0x388afe(0x1bf)])!=null?_0x1f703f:''};try{const _0x4f6b2d=await this[_0x388afe(0x180)][_0x388afe(0x376)](_0xf681e,{'body':_0x3d131a});return _0x4f6b2d['body'][_0x388afe(0x2d0)]&&_0x4f6b2d[_0x388afe(0x34c)][_0x388afe(0x2d0)]['code']!==_0x99761d['OK']?_0x388afe(0x309):_0x4f6b2d[_0x388afe(0x34c)][_0x388afe(0x37b)];}catch{return _0x388afe(0x309);}}},_0x279e32[_0x477bc3(0x1f7)]=_0x556298([_0xf413bd(0x0,_0x162031['IUniverInstanceService']),_0xf413bd(0x1,_0x162031['Inject'](_0x1a6c2d['HTTPService'])),_0xf413bd(0x2,_0x162031[_0x477bc3(0x13e)])],_0x279e32[_0x477bc3(0x1f7)]);const _0x16821a=0x7530,_0x5c7102=_0x477bc3(0x140);class _0xc6a367 extends _0x162031[_0x477bc3(0x148)]{constructor(){const _0x633a9f=_0x477bc3;super(),_0x387a01(this,_0x633a9f(0x36a),_0x162031[_0x633a9f(0x38e)]()),_0x387a01(this,_0x633a9f(0x160),new Set()),_0x387a01(this,_0x633a9f(0x3db),new Map()),_0x387a01(this,_0x633a9f(0x1c0),null),_0x387a01(this,_0x633a9f(0x33d),new Map()),_0x387a01(this,_0x633a9f(0x26a),new Map()),this[_0x633a9f(0x1ad)]();}[_0x477bc3(0x388)](){const _0x245d35=_0x477bc3;super['dispose'](),this[_0x245d35(0x33d)][_0x245d35(0x3c7)]((_0x137431,_0x30b78e)=>this[_0x245d35(0x18a)](_0x30b78e)),this[_0x245d35(0x1c0)]&&window[_0x245d35(0x261)](this[_0x245d35(0x1c0)]);}['getUnitStatus$'](_0x523e0d){const _0x2389f4=_0x477bc3;return this['_ensureSubject'](_0x523e0d)['pipe'](_0xe327d9[_0x2389f4(0x1d2)]());}[_0x477bc3(0x17a)](_0x595c22){const _0x313e3e=_0x477bc3;this[_0x313e3e(0x160)]['size']===0x0&&this[_0x313e3e(0x1b5)](),this['_selfUnitIDs'][_0x313e3e(0x1d6)](_0x595c22),this[_0x313e3e(0x2ea)]({'type':0x0,'memberID':this['_id'],'unitIDs':[_0x595c22],'isForwarded':!0x1});}[_0x477bc3(0x105)](_0x536eea){const _0x544da0=_0x477bc3;this[_0x544da0(0x160)]['delete'](_0x536eea),this[_0x544da0(0x160)][_0x544da0(0x12d)]===0x0&&this[_0x544da0(0x1c0)]&&window['clearInterval'](this[_0x544da0(0x1c0)]);}['_init'](){const _0x12c879=_0x477bc3;this[_0x12c879(0x32e)](_0x162031[_0x12c879(0x16b)](_0xe327d9['fromEvent'](window,_0x12c879(0x31a))[_0x12c879(0x2cd)](_0x50c020=>{const _0x9d7621=_0x12c879;if(_0x50c020[_0x9d7621(0x3b9)]!==_0x5c7102||!_0x50c020[_0x9d7621(0x144)])return;const _0x2bc8dd=JSON[_0x9d7621(0x398)](_0x50c020[_0x9d7621(0x144)]);this[_0x9d7621(0x1ee)](_0x2bc8dd);}))),window[_0x12c879(0x2d6)](_0x12c879(0x390),()=>this[_0x12c879(0x2ea)]({'type':0x1,'memberID':this['_id'],'unitIDs':Array[_0x12c879(0x360)](this[_0x12c879(0x160)])}));}[_0x477bc3(0x1ee)](_0x123150){const _0x435219=_0x477bc3;switch(_0x123150['type']){case 0x0:this['_handleJoinEvent'](_0x123150);break;case 0x1:this[_0x435219(0x330)](_0x123150);break;case 0x2:this['_handleHeartbeatEvent'](_0x123150);break;}}[_0x477bc3(0x342)](_0x42d98f){const _0x29b8b6=_0x477bc3,{unitIDs:_0x2f16f1,memberID:_0x13253a,isForwarded:_0x47c1fe}=_0x42d98f;_0x2f16f1['forEach'](_0x1d98ee=>{const _0xbac29e=_0x1b11;if(!_0x47c1fe&&this[_0xbac29e(0x3db)]['has'](_0x1d98ee)&&this[_0xbac29e(0xf8)](_0x1d98ee)[_0xbac29e(0x3be)](_0x44b518[_0xbac29e(0x306)][_0xbac29e(0x10d)]),!this[_0xbac29e(0x3db)][_0xbac29e(0x3cf)](_0x1d98ee)||!this[_0xbac29e(0x3db)][_0xbac29e(0x375)](_0x1d98ee)[_0xbac29e(0x3cf)](_0x13253a)){const _0x379181=this[_0xbac29e(0x3db)][_0xbac29e(0x375)](_0x1d98ee)||new Set();_0x379181[_0xbac29e(0x1d6)](_0x13253a),this[_0xbac29e(0x3db)][_0xbac29e(0x34a)](_0x1d98ee,_0x379181),this['_scheduleClearOtherTimer'](_0x13253a);}}),_0x47c1fe||this['_send']({'type':0x0,'memberID':this[_0x29b8b6(0x36a)],'unitIDs':[...this[_0x29b8b6(0x160)]],'isForwarded':!0x0});}['_scheduleClearOtherTimer'](_0x2e2bbd){const _0x35cc2d=_0x477bc3;this[_0x35cc2d(0x18a)](_0x2e2bbd);const _0x477a2a=window[_0x35cc2d(0x366)](()=>{const _0x52968d=_0x35cc2d;this['_unitOnClients'][_0x52968d(0x3c7)](_0x1086aa=>{_0x1086aa['delete'](_0x2e2bbd);});},_0x16821a*0x2);this[_0x35cc2d(0x33d)][_0x35cc2d(0x34a)](_0x2e2bbd,_0x477a2a);}[_0x477bc3(0x18a)](_0x36e5ae){const _0x2c26f3=_0x477bc3;if(this[_0x2c26f3(0x33d)][_0x2c26f3(0x3cf)](_0x36e5ae)){const _0x3951fb=this['_clearOtherTimers'][_0x2c26f3(0x375)](_0x36e5ae);_0x3951fb&&window['clearTimeout'](_0x3951fb),this[_0x2c26f3(0x33d)][_0x2c26f3(0x34a)](_0x36e5ae,null);}}[_0x477bc3(0x330)](_0x2ffb88){const {memberID:_0x152ab8,unitIDs:_0x4f6daa}=_0x2ffb88;_0x4f6daa['forEach'](_0xe98b55=>{const _0x50ccbd=_0x1b11;var _0x223f7c;const _0x1c73ba=this[_0x50ccbd(0x3db)][_0x50ccbd(0x375)](_0xe98b55);_0x1c73ba&&(_0x1c73ba['delete'](_0x152ab8),(_0x223f7c=this[_0x50ccbd(0xf8)](_0xe98b55))==null||_0x223f7c[_0x50ccbd(0x3be)](_0x1c73ba['size']===0x0?_0x44b518[_0x50ccbd(0x306)]['NO_OTHER_CLIENTS_EDITING']:_0x44b518[_0x50ccbd(0x306)][_0x50ccbd(0x10d)]));}),this['_removeClearOtherTimer'](_0x152ab8);}['_handleHeartbeatEvent'](_0x27f77a){const _0x198da2=_0x477bc3;this[_0x198da2(0x325)](_0x27f77a[_0x198da2(0x3b2)]);}[_0x477bc3(0x2ea)](_0x1fde18){const _0xa48988=_0x477bc3;localStorage[_0xa48988(0x23c)](_0x5c7102,JSON[_0xa48988(0x199)](_0x1fde18));}[_0x477bc3(0x1b5)](){const _0x435645=_0x477bc3;this['_heartbeatTimer']=window[_0x435645(0x18b)](()=>{const _0x12d860=_0x435645;this[_0x12d860(0x2ea)]({'type':0x2,'memberID':this[_0x12d860(0x36a)]});},_0x16821a);}[_0x477bc3(0xf8)](_0x2c91aa){const _0xa4087b=_0x477bc3;return this[_0xa4087b(0x26a)]['has'](_0x2c91aa)||this[_0xa4087b(0x26a)][_0xa4087b(0x34a)](_0x2c91aa,new _0xe327d9['BehaviorSubject'](_0x44b518['UnitStatus']['NO_OTHER_CLIENTS_EDITING'])),this[_0xa4087b(0x26a)]['get'](_0x2c91aa);}}_0x279e32[_0x477bc3(0x31b)]=_0x361122,_0x279e32[_0x477bc3(0x14e)]=_0x5ff006,_0x279e32[_0x477bc3(0x125)]=_0xc6a367,_0x279e32[_0x477bc3(0x1b9)]=_0x48e8ee,Object[_0x477bc3(0x2e2)](_0x279e32,Symbol[_0x477bc3(0x263)],{'value':'Module'});}));function _0x5942(){const _0x4e0804=['useCallback','ENTITLE_INVALID_COUPON_CODE','...','handleMoveRange','YUUMI_NO_CUBOID_FOR_QUESTION','onPointerLeave$','_showGuardMessage','ColorKit','href','_docTransformIMECacheService','getConfig','merge','_color','#FFF','debounce','type','getParam','_saveTaskMap','m2Prime','ENTITLE_DUP_SUBSCRIPTION','TEXT','focused$','COLORS','UNDEFINED','REDEMPTION_CODE_NOT_STARTED','releaseFormulaLimitUrl','IRemoteInstanceService','subscribeEvent','_initStatusComponent','@univerjs/sheets-ui','_onCursorUpdate','syncEditingCollabCursor','_initEvent','react/jsx-runtime','url(#on-line-icon_clip0_910_349)','clearInterval','cursorInfo$','toStringTag','url(#$1','_getScale','cursorInfo','@univerjs-pro/collaboration-client','_docClipboardService','executeCommand','_unitStatus','_themeService','undoState','roomMembers','_collabCursorController','_hovered','min','getMember','_checkCalculationAvailable','_localCacheService','UniverIcon','ENTITLE_USE_COUPON_NOT_1ST_TRADE','_updateLocalCursor','UNIVER_SHEET','YUUMI_ASYNCIO_CANCELLED','removeEventListener','session.connection-failed','OnLineIcon','getCurrentSelections','startsWith','WECHAT_HAS_BEEN_BOUND','_anchorDot','_removeCollabCursors','_roomMembers$','6016232jQAWcs','UniverSheetsUi','_cursorShapes','source','black','registerRefRange','getRenderById','collab-text-anchor-','_drawAnchor','handleDeleteRangeMoveUp','getDocRanges','wsSessionTicketUrl','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','addObjects','useDependency','height','USER_IS_ANONYMOUS','DocSelectionManagerService','defs','find','isTransformMutationsWithChangesetSuccess','_logService','_context','_collabSessionService','xlink:href','registerComponent','search','RECT','clsx','APPLY_NON_SEQUENTIAL_REVISION','CollaborationUIEventId','CanceledError','_onRefRangeChange','YUUMI_UNABLE_LOAD_URL','currentColor','InsertRangeMoveRightCommandId','toString','getSheetId','all','fromEvent','CollaborationUIEventService','PAYMENT_CHANNEL_NOT_SUPPORT','range','eventID','SHEET_VIEWPORT_KEY','_document','Inject','collabStatus.conflict','_registerRenderDependencies','EMAIL_VERIFY_CODE_MISMATCH','_transformPreviousActiveRange','_scene','SetTextSelectionsOperation','collabStatus.syncing','DesktopCollaborationStatusDisplayController','HEADER_MENU','round','REDEMPTION_USER_REDEEM_TIMES_EXCEED','subunit','DataLoaderService','ThemeService','OffLineIcon','width','InsertRangeMoveDownCommandId','CollaborationStatus','UNIVER_DOC','ENTITLE_REPORT_LIMIT_EXCEED','LOGIN_TOKEN_PROCESSING_FAILED','translate(.97)','svg','symbol','_setFormulaLimitStatus','getSheetBySheetId','_startCalculationLimit','ENTITLE_UPDOWN_GRADE_NOT_SUPPORT','subscribe','_dataLoaderService','saveImage','error','pipe','useObservable','981062aqzYLI','UniverDrawing','collabStatus.notCollab','addEventListener','_urlService','BrowserCollaborationSocketService','[RemoteUniscriptService]:\x20no\x20focused\x20unit','ERROR_AGAIN','roomMembers$','purple.300','@univerjs/network','0\x200\x2017\x2016','collaboration-client-ui.config','DocSkeletonManagerService','replace','defineProperty','ENTITLE_NEED_BILLING_ADDRESS','RegularPolygon','getAncestorScale','fillText','connectInjector','operators','transformSelections','_send','replaceState','getViewport','_instanceService','transformRemoteChangeset','AWAITING','bottom','@univerjs/core','_collaborationController','_hideTimer','IImageIoService','collabStatus.fetchMiss','handleIRemoveRow','_updateURLWithCurrentState','on-line-icon_clip0_910_349','displayName','_labelPosition','attrs','MoveRangeCommandId','getCurrentRevOfUnit','?taskId=','assignAColorForMemberID','_sheetSkeletonManagerService','labelPosition','TEXT_RANGE_LAYER_INDEX','UniverSheets','_syncEditingCollabCursorService','[Unhandled\x20Rejection]:\x20','UnitStatus','getCollabEntity$','_doCreateSocket','Failed','START_CALCULATION','Optional','/universer-api/license/formula/limit/status','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','some','Unknown\x20user','Workbook','_taskIds','_cachedData','YUUMI_URL_COL_OUT_OF_RANGE','USERS_LEAVE','UNAUTHENTICATED','9VRMmkJ','setShapeProps','DocStateChangeManagerService','_initCommandInterceptor','storage','IURLService','getCurrent','17260bsJgrd','setStateCache','Tools','COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY','Loading','SetWorksheetActivateCommand','_getAnchorBounding','getRangePointData','_scheduleClearOtherTimer','ICommandService','UniverUi','registerDependencies','reconnect','beginPath','location','MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','delete','disposeWithMe','_toggleOnline','_handleLeaveEvent','takeUntil','currentSkeleton$','univer-mr-2\x20univer-flex\x20univer-text-xl','_monkeyPatchLogService','_initCommandExecutedListener','ENTITLE_CHAT_LIMIT_EXCEED','getCellPositionByOffset','_backgroundColor','enableLocalCache','_maxFormulaLimit','findNodePositionByCharIndex','setParam','_clearOtherTimers','MessageType','_onCursorDelete','UniverDocsUi','[LogService\x20Error]:\x20','_handleJoinEvent','_colorAssignService','_getSheetObject','unsubscribe','4315830WdrmgC','\x20at\x20','show','handleInsertRangeMoveDown','set','_localStorageService','body','mutations','univerjs-icon\x20univerjs-icon-','transformMutationsWithChangeset','transformIMECache','_cursor','_anchor','ILogService','ISocketService','_colorIndex','backgroundColor','APPLY_DUPLICATED','m1Prime','getformulaLimitStatusUrl','urlChange$','_docSyncEditingCollabCursorService','NOT_COLLAB','children','EffectRefRangId','NodePositionConvertToCursor','from','SUCCESS','white','SetSelectionsOperation','column','whenReady','setTimeout','session.collaboration-timeout','fill','addClipboardHook','_id','/universer-api/license/formula/limit/done','AUTHORIZE_CODE_ILLEGAL','_memberID','_lastPointer','socket$','color','11010260CyITXJ','ISnapshotServerService','FromArray','IBeforeCloseService','get','post','_messageService','measureText','REDEMPTION_CODE_HAS_BEEN_CREATED','UniverCollaborationClientUIPlugin','result','getLocalCacheKey','_drawRectRange','limitInfo','_initEntityListener','SetFormulaCalculationStartMutation','save','imageSourceType','74253sDpKQK','green.600','SessionStatus','USER_NOT_INVITED_CODE','YUUMI_TABLE_NOT_FOUND_IN_UNIT','dispose','amd','YUUMI_SUBSCRIPTION_NOT_FOUND','max','_initUserListener','_config','generateRandomId','yellow.400','unload','DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','getMergeData','idSuffix','stack','textRanges','_textBubble','reason','parse','UniverCollaborationClientPlugin','collaboration.offline-data-not-saved','ONLINE','sheetId','uni.network.url-service','complete','mergeOverrideWithDependencies','_docSkeletonManagerService','fromEventSubject','parseInt','exhaustSavingTask','createIdentifier','fillStyle','onPointerEnter$','registerBeforeClose','send','BuiltInUIPart','includes','YUUMI_CONNECTOR_URL_NOT_FOUND','USER_NOT_FOUND','isTransformMutationFailure','getMemberID','univer-text-sm\x20univer-leading-8\x20univer-text-gray-600\x20dark:!univer-text-gray-200','formula.calculation.waiting','stageInfo','memberID','_startSheetCollabCursor','UniverProCollaborationClientUi','createSocket','activeSheet$','Subject','OFFLINE','key','assign','_initUnhandledRejectionListener','_notificationService','_releaseCalculationLimit','next','_imageIoService','_scheduleSaving','_entities','collabStatus.offline','isFormulaString','_getFormulaLimitStatus','hovered','UniverProCollaboration','forEach','fillRule','random','values','tag','transformStateCache','getUniverSheetInstance','_docTransformStateCacheService','has','unitID','1em','getTypeOfUnitDisposed$','engine','name','toRgbString','DATA_SOURCE_TOO_LARGE','DocIMEInputManagerService','_lastResponseTimestamp','on-line-icon','_injector','_unitOnClients','RxDisposable','INotificationService','NodePositionConvertToRectRange','UniverEngineRender','CLOSE_ROOM','now','lineno','redoState','INVITE_CODE_ALREADY_BOUND','selections','rxjs','_range','Shape','@univerjs/drawing','_ensureSubject','split','_assignedColors','permission.content','_docStateChangeManagerService','SOCKET_FAILED','APPLY_REVISION_CONFILICT','mask','_shapes','SNAPSHOT_INVALID_SNAPSHOT','_initWindowErrorListener','shift','UNRECOGNIZED','disposeUnit','_pollingInterval','requireSession','lineTo','onTransformChange$','init','_localeService','getCollabCursors$','OTHER_CLIENTS_EDITING','_cursorInfo$','session.will-retry','APPLY_PERMISSION_DENIED','MemberService','Error','handleIRemoveCol','react','getSkeleton','updateOfflineData','_status$','UniverEngineFormula','asObservable','code','SNAPSHOT_HAS_BEEN_REMOVED','createInstance','off-line-icon_clip0_910_343','_collabCursorState$','LICENSE_MAX_UNITS_EXCEEDED','IDocClipboardService','use','join','_docSkeleton','filter','WebBrowserSingleActiveUnitService','_initDependencies','setActiveRange','YUUMI_AI_RUN_FAILED','arc','enableFrontendLog','path','defIds','size','sheetID','PENDING','saveTaskMap','_uploadLog','PY_RUNTIME_SCRIPT_ERROR','HTTPService','TOO_MANY_REQUESTS','with','BehaviorSubject','Tooltip','push','_commandService','useRef','ENTITLE_COUPON_EXPIRED','COMPLETION_FINISHED','collabStatus.synced','IConfigService','subUnitId','ACTIVE_UNIT_EVENT_CHANNEL','startRow','transform','addHandlerCallback','newValue','drawWith','debug','override','Disposable','INVALID_ARGUMENT','handleInsertCol','getFocusedUnit','setConfig','_saveCache','SheetCollabCursorShape','createElement','unitId','MOBILE_VERIFY_CODE_MISMATCH','deserializeRangeWithSheet','FormulaExecutedStateType','InsertColCommandId','LICENSE_DISTRO_REJECTED','CHANGESET_REVISION_CONFILICT','setUndoRedoMutationParamsCache','_hover','_online','CollaborationController','_beforeCloseService','getTypeOfUnitAdded$','_registerDependencies','_transformHistoryAndStateStack','hide','_selfUnitIDs','getUnitId','EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','startColumn','UPDATE_CURSOR','isArray','docStateChange$','_setupBeforeClosingHandler','_updateCollabCursors','SetFormulaCalculationNotificationMutation','_eventUnsubscribe','toDisposable','_revisionService','top','transformByState','ENTITLE_INSUFFICIENT_QUOTA','@univerjs/design','UniverDocs','clipPath','getCellMatrix','CollaborationDataLoaderController','_initResize','ITransformService','event$','102aWFpdV','transformMutation','editingUnit','_uiPartsService','_clearPolling','touchDependencies','YUUMI_ALL_TABLES_IS_INVALID','getUnit','_httpService','jsx','getValue','RemoveColCommandId','OTHER_CLIENT_EDITING','_applyCommand','unit','IUIPartsService','unshift','setAlpha','_removeClearOtherTimer','setInterval','FormulaExecuteStageType','pluginName','_setupSubUnitSync','beforeCommandExecuted','currentUsage','VIEW_MAIN','CollaborationSocketService','deepClone','DocCollaborationEntity','moveTo','LICENSE_EXPORT_SIZE_EXCEEDED','selection','makeDirty','stringify','collab-client.tooltip.reconnect','getStateCache','onRendered','application/json','516lHSYZS','SYNCED','REDEMPTION_CODE_FULLY_REDEEMED','isEditing','forwardRef','_refRangeService','onMouseMove','loadUnit','/universer-api/license/formula/limit/start','IRenderManagerService','getColorFromTheme','_startDocCollabCursor','ENTITLE_CAN_NOT_BUY_LOWER_OTP','params','APPLY_REJECT','_init','@univerjs/engine-render','sessionStatus$','_getSessionTicket','rxjs/operators','status$','UNIVER_COLLABORATION_CLIENT_WEB_PLUGIN','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY','_scheduleHeartbeat','DeleteRangeMoveUpCommandId','onCommandExecuted','[Window\x20Error]:\x20','WebURLService','collabCursorState$','filename','/run/','AWAITING_WITH_PENDING','restore','executionId','_heartbeatTimer','dispose$','ENTITLE_COUPON_USED_UP','YUUMI_RATE_OVER_LIMIT','permission.title','ILocalStorageService','onPointerMove$','NOT_FOUND','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','UniverInstanceType','searchParams','string','_currentUsage','LocaleService','getSheetObject','getCoordByCell','getUnhiddenWorksheets','ALREADY_EXISTS','distinctUntilChanged','_memberService','Vector2','RevisionService','add','REDEMPTION_INVALID_CODE','DeleteRangeMoveLeftCommandId','DOC_RANGE_TYPE','debounceTime','http://www.w3.org/2000/svg','jiqing.500','_toggleOffline','ranges','REDEMPTION_USER_NOT_ELIGIBLE','handleInsertRangeMoveRight','flatMap','Injector','getActiveRange','blue.400','CollaborationSessionService','_name','history','handleInsertRow','currentTheme$','_drawTextRange','CONFLICT','getOwnPropertyDescriptor','getOffsetConfig','_handleEvent','Warning','_handleHover','9123961IfiBMl','row','RemoveRowCommandId','_renderManagerService','INVALID_INVITE_CODE','runId','RemoteUniscriptService','resize','data','_createSocketURL','combineLatest','Plugin','invokeId','replaceDocRanges','text','_entityInit$','EMAIL_HAS_BEEN_BOUND','_getMergeRange','totalFormulasToCalculate','React','@univerjs/rpc','_initStatusListener','DependentOn','addObject','RefRangeService','doc.mutation.rich-text-editing','_session','_updateSubUnitFromURLParams','MUTATION','INVITE_CODE_HAS_BEEN_UES','_disabled','MOBILE_HAS_BEEN_BOUND','_checkAndWaitForCalculationPermission','getUndoRedoMutationParamsCache','LOGIN_FAILED','rgba(255,\x20255,\x20255,\x200.01)','length','No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','ENSURE_SNAPSHOT_EXECUTION','_cursors','_configService','getColor','_refreshCollabCursors','IUniverInstanceService','pushState','url(#off-line-icon_clip0_910_343)','endColumn','switchMap','_collaborationSessionService','IMessageService','colorChannel1','INTERNAL_ERROR','_univerInstanceService','div','_collaborationUIEventService','serializeRangeWithSheet','JOIN_ROOM_FAILED','FETCH_MISS','INVITE_CODE_REQUIRED','_transformService','CollaborationEvent','current','then','none','Rect','CONNECTOR_DATA_TOO_LARGE','registerRenderModule','[CollaborationDataLoaderController]','getVpScrollXYInfoByPosToVp','origin','CURRENT_STATUS_CANNOT_OPERATE','shareReplay','map','clearTimeout','catch','setItem','function'];_0x5942=function(){return _0x4e0804;};return _0x5942();}
|
|
1
|
+
function _0x5992(_0x18434e,_0xf0c574){_0x18434e=_0x18434e-0x117;const _0x450668=_0x4506();let _0x5992fe=_0x450668[_0x18434e];return _0x5992fe;}(function(_0x3309ca,_0x4e1211){const _0x2428cd=_0x5992,_0x590d68=_0x3309ca();while(!![]){try{const _0x596e9a=-parseInt(_0x2428cd(0x3e7))/0x1+parseInt(_0x2428cd(0x304))/0x2+parseInt(_0x2428cd(0x21a))/0x3*(parseInt(_0x2428cd(0x353))/0x4)+parseInt(_0x2428cd(0x3f2))/0x5*(parseInt(_0x2428cd(0x2e9))/0x6)+-parseInt(_0x2428cd(0x3f7))/0x7*(parseInt(_0x2428cd(0x198))/0x8)+parseInt(_0x2428cd(0x3fe))/0x9*(-parseInt(_0x2428cd(0x300))/0xa)+parseInt(_0x2428cd(0x3fb))/0xb;if(_0x596e9a===_0x4e1211)break;else _0x590d68['push'](_0x590d68['shift']());}catch(_0x492061){_0x590d68['push'](_0x590d68['shift']());}}}(_0x4506,0xac90e),function(_0x117781,_0x1f2b2d){const _0x281323=_0x5992;typeof exports==_0x281323(0x33d)&&typeof module<'u'?_0x1f2b2d(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==_0x281323(0x3bd)&&define[_0x281323(0x2f8)]?define([_0x281323(0x286),_0x281323(0x3ab),'@univerjs-pro/collaboration-client',_0x281323(0x401),'@univerjs/ui',_0x281323(0x368),_0x281323(0x400),_0x281323(0x245),_0x281323(0x2ae),_0x281323(0x366),_0x281323(0x2bb),'@univerjs/network',_0x281323(0x375),'@univerjs/drawing',_0x281323(0x38d),'@univerjs/docs',_0x281323(0x171),_0x281323(0x2f3),_0x281323(0x2ec)],_0x1f2b2d):(_0x117781=typeof globalThis<'u'?globalThis:_0x117781||self,_0x1f2b2d(_0x117781[_0x281323(0x373)]={},_0x117781[_0x281323(0x1f8)],_0x117781['UniverProCollaborationClient'],_0x117781[_0x281323(0x203)],_0x117781[_0x281323(0x18d)],_0x117781[_0x281323(0x368)],_0x117781[_0x281323(0x224)],_0x117781[_0x281323(0x1f8)],_0x117781['UniverRpc'],_0x117781['UniverSheets'],_0x117781[_0x281323(0x327)],_0x117781[_0x281323(0x23e)],_0x117781[_0x281323(0x15b)],_0x117781[_0x281323(0x256)],_0x117781[_0x281323(0x2b3)],_0x117781['UniverDocs'],_0x117781[_0x281323(0x409)],_0x117781['rxjs'][_0x281323(0x1fa)],_0x117781[_0x281323(0x270)]));}(this,function(_0x4114c5,_0x4c6f74,_0x977231,_0x3a6e21,_0x149c92,_0x2289a4,_0x9f2908,_0x37c7d2,_0x30767a,_0x3e80c8,_0x946f81,_0x56d9d2,_0x84c7b3,_0x30725e,_0x3d0ca4,_0x2d1e6c,_0x4c281d,_0xe1d652,_0x127e25){'use strict';const _0x356272=_0x5992;var _0x2fece4=Object['defineProperty'],_0x3368a5=(_0x47266f,_0x3a4060,_0x5eccb2)=>_0x3a4060 in _0x47266f?_0x2fece4(_0x47266f,_0x3a4060,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x5eccb2}):_0x47266f[_0x3a4060]=_0x5eccb2,_0x49e47d=(_0x2b9ade,_0x310903,_0x4d9e95)=>_0x3368a5(_0x2b9ade,typeof _0x310903!=_0x356272(0x3ed)?_0x310903+'':_0x310903,_0x4d9e95);function _0x4bca7c({ref:_0x384ce4,..._0x1224e9}){const _0xc78580=_0x356272,{icon:_0x1b51ae,id:_0x55c5b2,className:_0x204069,extend:_0x265e38,..._0x44818c}=_0x1224e9,_0x2daaa0=(_0xc78580(0x333)+_0x55c5b2+'\x20'+(_0x204069||''))[_0xc78580(0x22a)](),_0x1ac912=_0x37c7d2[_0xc78580(0x365)]('_'+_0x12d55e());return _0x3f4010(_0x1b51ae,''+_0x55c5b2,{'defIds':_0x1b51ae[_0xc78580(0x2a3)],'idSuffix':_0x1ac912[_0xc78580(0x1c2)]},{'ref':_0x384ce4,'className':_0x2daaa0,..._0x44818c},_0x265e38);}function _0x3f4010(_0x1a1c5f,_0x51a193,_0x238c6c,_0xe3786c,_0x1eb912){const _0xfd4a28=_0x356272;return _0x37c7d2[_0xfd4a28(0x35a)](_0x1a1c5f[_0xfd4a28(0x243)],{'key':_0x51a193,..._0x2b932e(_0x1a1c5f,_0x238c6c,_0x1eb912),..._0xe3786c},(_0x3a8e56(_0x1a1c5f,_0x238c6c)[_0xfd4a28(0x2ac)]||[])['map']((_0x29e69e,_0x418814)=>_0x3f4010(_0x29e69e,_0x51a193+'-'+_0x1a1c5f[_0xfd4a28(0x243)]+'-'+_0x418814,_0x238c6c,void 0x0,_0x1eb912)));}function _0x2b932e(_0x126d66,_0x1ffba4,_0x22a18d){const _0x8aa86b=_0x356272,_0x5b4427={..._0x126d66[_0x8aa86b(0x27e)]};_0x22a18d!=null&&_0x22a18d[_0x8aa86b(0x1e1)]&&_0x5b4427[_0x8aa86b(0x174)]==='colorChannel1'&&(_0x5b4427['fill']=_0x22a18d[_0x8aa86b(0x1e1)]),_0x126d66[_0x8aa86b(0x243)]===_0x8aa86b(0x12f)&&_0x5b4427['id']&&(_0x5b4427['id']=_0x5b4427['id']+_0x1ffba4[_0x8aa86b(0x381)]),Object['entries'](_0x5b4427)['forEach'](([_0x445de7,_0x13a285])=>{const _0x12c82b=_0x8aa86b;_0x445de7===_0x12c82b(0x12f)&&typeof _0x13a285==_0x12c82b(0x1ff)&&(_0x5b4427[_0x445de7]=_0x13a285[_0x12c82b(0x1e5)](/url\(#(.*)\)/,_0x12c82b(0x3be)+_0x1ffba4[_0x12c82b(0x381)]+')'));});const {defIds:_0x194d02}=_0x1ffba4;return!_0x194d02||_0x194d02[_0x8aa86b(0x3fa)]===0x0||(_0x126d66['tag']===_0x8aa86b(0x1bb)&&_0x5b4427[_0x8aa86b(0x30a)]&&(_0x5b4427['xlink:href']=_0x5b4427[_0x8aa86b(0x30a)]+_0x1ffba4['idSuffix']),Object[_0x8aa86b(0x318)](_0x5b4427)[_0x8aa86b(0x280)](([_0x8d0014,_0x2345cc])=>{const _0x225104=_0x8aa86b;typeof _0x2345cc==_0x225104(0x1ff)&&(_0x5b4427[_0x8d0014]=_0x2345cc['replace'](/url\(#(.*)\)/,_0x225104(0x3be)+_0x1ffba4[_0x225104(0x381)]+')'));})),_0x5b4427;}function _0x3a8e56(_0x152fc0,_0x32d4e0){const _0x2f1bb0=_0x356272;var _0x3e6c80;const {defIds:_0x4b16e2}=_0x32d4e0;return!_0x4b16e2||_0x4b16e2['length']===0x0?_0x152fc0:_0x152fc0['tag']===_0x2f1bb0(0x27a)&&((_0x3e6c80=_0x152fc0['children'])!=null&&_0x3e6c80[_0x2f1bb0(0x3fa)])?{..._0x152fc0,'children':_0x152fc0[_0x2f1bb0(0x2ac)][_0x2f1bb0(0x27c)](_0x3c7472=>typeof _0x3c7472[_0x2f1bb0(0x27e)]['id']=='string'&&_0x4b16e2&&_0x4b16e2[_0x2f1bb0(0x1c5)](_0x3c7472[_0x2f1bb0(0x27e)]['id'])?{..._0x3c7472,'attrs':{..._0x3c7472[_0x2f1bb0(0x27e)],'id':_0x3c7472['attrs']['id']+_0x32d4e0[_0x2f1bb0(0x381)]}}:_0x3c7472)}:_0x152fc0;}function _0x12d55e(){const _0x10d36a=_0x356272;return Math[_0x10d36a(0x2b4)]()[_0x10d36a(0x161)](0x24)['substring'](0x2,0x8);}_0x4bca7c[_0x356272(0x24f)]=_0x356272(0x3cf);const _0xad2a74={'tag':_0x356272(0x3ef),'attrs':{'xmlns':_0x356272(0x29f),'fill':'none','viewBox':_0x356272(0x123),'width':'1em','height':_0x356272(0x379)},'children':[{'tag':'g','attrs':{'clipPath':_0x356272(0x1ad)},'children':[{'tag':_0x356272(0x152),'attrs':{'stroke':_0x356272(0x1cd),'d':_0x356272(0x325),'strokeLinecap':'round','strokeLinejoin':'round','strokeWidth':1.2}}]},{'tag':_0x356272(0x27a),'attrs':{},'children':[{'tag':_0x356272(0x1be),'attrs':{'id':'off-line-icon_clip0_910_343'},'children':[{'tag':_0x356272(0x152),'attrs':{'fill':_0x356272(0x1b2),'d':'M0\x200H16V16H0z'}}]}]}],'defIds':[_0x356272(0x39c)]},_0x2f1589=_0x37c7d2['forwardRef'](function(_0x2a4456,_0x49c278){const _0x50bb61=_0x356272;return _0x37c7d2[_0x50bb61(0x35a)](_0x4bca7c,Object[_0x50bb61(0x131)]({},_0x2a4456,{'id':_0x50bb61(0x3a6),'ref':_0x49c278,'icon':_0xad2a74}));});_0x2f1589[_0x356272(0x24f)]=_0x356272(0x339);const _0x385cc9={'tag':_0x356272(0x3ef),'attrs':{'xmlns':_0x356272(0x29f),'fill':_0x356272(0x16c),'viewBox':_0x356272(0x2e1),'width':_0x356272(0x379),'height':_0x356272(0x379)},'children':[{'tag':'g','attrs':{'clipPath':'url(#on-line-icon_clip0_910_349)'},'children':[{'tag':_0x356272(0x152),'attrs':{'stroke':_0x356272(0x1cd),'d':_0x356272(0x2d0),'strokeLinecap':_0x356272(0x2fe),'strokeLinejoin':_0x356272(0x2fe),'strokeWidth':1.2}}]},{'tag':_0x356272(0x27a),'attrs':{},'children':[{'tag':'clipPath','attrs':{'id':'on-line-icon_clip0_910_349'},'children':[{'tag':_0x356272(0x152),'attrs':{'fill':_0x356272(0x1b2),'d':_0x356272(0x40f),'transform':'translate(.97)'}}]}]}],'defIds':['on-line-icon_clip0_910_349']},_0x1c9e40=_0x37c7d2['forwardRef'](function(_0x147660,_0x519df7){const _0x1a90e6=_0x356272;return _0x37c7d2['createElement'](_0x4bca7c,Object[_0x1a90e6(0x131)]({},_0x147660,{'id':_0x1a90e6(0x1c1),'ref':_0x519df7,'icon':_0x385cc9}));});_0x1c9e40[_0x356272(0x24f)]=_0x356272(0x25b);function _0x170967(_0x1138a7){const _0xa8fa06=_0x356272;switch(_0x1138a7){case _0x977231[_0xa8fa06(0x2ba)]['OFFLINE']:return _0xa8fa06(0x3a7);case _0x977231[_0xa8fa06(0x2ba)]['CONFLICT']:return _0xa8fa06(0x132);case _0x977231[_0xa8fa06(0x2ba)][_0xa8fa06(0x1c8)]:return'collabStatus.fetchMiss';case _0x977231[_0xa8fa06(0x2ba)]['NOT_COLLAB']:return _0xa8fa06(0x196);case _0x977231[_0xa8fa06(0x2ba)][_0xa8fa06(0x310)]:case _0x977231['CollaborationStatus'][_0xa8fa06(0x338)]:return _0xa8fa06(0x1e9);case _0x977231[_0xa8fa06(0x2ba)][_0xa8fa06(0x390)]:case _0x977231[_0xa8fa06(0x2ba)]['PENDING']:return _0xa8fa06(0x2bc);}}function _0x4bb4ec(_0x32c594){const _0x3c099a=_0x356272,{status$:_0x9ab696}=_0x32c594,_0x592284=_0x149c92['useObservable'](_0x9ab696,_0x977231['CollaborationStatus'][_0x3c099a(0x32d)]),_0x448960=_0x149c92['useDependency'](_0x3a6e21[_0x3c099a(0x36a)]),_0x1e0f2d=_0x149c92[_0x3c099a(0x34a)](_0x977231[_0x3c099a(0x30b)]),_0x6722e2=_0x592284!==_0x977231[_0x3c099a(0x2ba)][_0x3c099a(0x33f)],_0x5e0a16=_0x448960['t'](_0x170967(_0x592284)),_0x100691=_0x6722e2?_0x4c6f74[_0x3c099a(0x2eb)](_0x1c9e40,{}):_0x4c6f74[_0x3c099a(0x2eb)](_0x2f1589,{}),_0x46d3ce=_0x37c7d2[_0x3c099a(0x1de)](()=>{const _0x31a802=_0x3c099a;_0x6722e2||_0x1e0f2d[_0x31a802(0x1d5)]();},[_0x6722e2,_0x1e0f2d]);function _0x43fed0(){const _0x2de2f9=_0x3c099a;return _0x4c6f74[_0x2de2f9(0x284)](_0x2de2f9(0x309),{'className':_0x2de2f9(0x3c8),'onClick':_0x46d3ce,'children':[_0x4c6f74[_0x2de2f9(0x2eb)](_0x2de2f9(0x309),{'className':_0x9f2908[_0x2de2f9(0x178)](_0x2de2f9(0x363),{'univer-text-green-500':_0x6722e2,'univer-text-red-500':!_0x6722e2}),'children':_0x100691}),_0x4c6f74[_0x2de2f9(0x2eb)](_0x2de2f9(0x309),{'className':_0x2de2f9(0x17e),'children':_0x5e0a16})]});}return _0x6722e2?_0x43fed0():_0x4c6f74[_0x3c099a(0x2eb)](_0x9f2908[_0x3c099a(0x1d8)],{'title':_0x448960['t'](_0x3c099a(0x2d1)),'children':_0x43fed0()});}var _0x4df8f2=Object['getOwnPropertyDescriptor'],_0x1aa548=(_0x551f54,_0x34702d,_0x1d7fb6,_0x32550f)=>{const _0x11b56e=_0x356272;for(var _0x5c6d6d=_0x32550f>0x1?void 0x0:_0x32550f?_0x4df8f2(_0x34702d,_0x1d7fb6):_0x34702d,_0x64d2bc=_0x551f54[_0x11b56e(0x3fa)]-0x1,_0x4a8f82;_0x64d2bc>=0x0;_0x64d2bc--)(_0x4a8f82=_0x551f54[_0x64d2bc])&&(_0x5c6d6d=_0x4a8f82(_0x5c6d6d)||_0x5c6d6d);return _0x5c6d6d;},_0x34fc78=(_0x58a243,_0x1f9ba5)=>(_0x215389,_0x940c42)=>_0x1f9ba5(_0x215389,_0x940c42,_0x58a243);_0x4114c5[_0x356272(0x20b)]=class extends _0x3a6e21[_0x356272(0x257)]{constructor(_0x5f3750,_0x362e20,_0x19533e,_0x10d8ce){const _0x49fe7b=_0x356272;super(),_0x49e47d(this,_0x49fe7b(0x2ce),new _0x2289a4[(_0x49fe7b(0x231))](_0x977231[_0x49fe7b(0x2ba)][_0x49fe7b(0x32d)])),(this[_0x49fe7b(0x28f)]=_0x5f3750,this['_injector']=_0x362e20,this[_0x49fe7b(0x271)]=_0x19533e,this[_0x49fe7b(0x12b)]=_0x10d8ce,this['_initStatusComponent'](),this[_0x49fe7b(0x28c)]());}['_initStatusListener'](){const _0x48479e=_0x356272;this[_0x48479e(0x3b6)](this[_0x48479e(0x28f)]['focused$'][_0x48479e(0x328)](_0x2289a4[_0x48479e(0x267)](()=>{const _0x472895=_0x48479e,_0x3ed195=this['_univerInstanceService'][_0x472895(0x3ce)]();return _0x3ed195?this[_0x472895(0x271)][_0x472895(0x397)](_0x3ed195[_0x472895(0x239)]()):_0x2289a4['of'](null);}),_0x2289a4['switchMap'](_0x1669fb=>_0x1669fb?_0x1669fb['status$']:_0x2289a4['of'](_0x977231['CollaborationStatus'][_0x48479e(0x32d)])))['subscribe'](_0x4f4811=>{const _0x4f11ac=_0x48479e;this[_0x4f11ac(0x2ce)][_0x4f11ac(0x2ed)](_0x4f4811);}));}[_0x356272(0x1c7)](){const _0x591926=_0x356272;this[_0x591926(0x3b6)](this[_0x591926(0x12b)]['registerComponent'](_0x149c92['BuiltInUIPart'][_0x591926(0x301)],()=>_0x149c92[_0x591926(0x188)](_0x11221d({'status$':this[_0x591926(0x2ce)]['asObservable']()}),this[_0x591926(0x228)])));}},_0x4114c5['DesktopCollaborationStatusDisplayController']=_0x1aa548([_0x34fc78(0x0,_0x3a6e21['IUniverInstanceService']),_0x34fc78(0x1,_0x3a6e21[_0x356272(0x1a5)](_0x3a6e21[_0x356272(0x238)])),_0x34fc78(0x2,_0x3a6e21['Inject'](_0x977231[_0x356272(0x180)])),_0x34fc78(0x3,_0x149c92['IUIPartsService'])],_0x4114c5[_0x356272(0x20b)]);function _0x11221d(_0x280e26){const {status$:_0x297107}=_0x280e26;return function(){const _0x4555c1=_0x5992;return _0x4c6f74[_0x4555c1(0x2eb)](_0x4bb4ec,{'status$':_0x297107});};}const _0xb5c967=_0x3a6e21['createIdentifier'](_0x356272(0x3f8));var _0x3debba=Object[_0x356272(0x2dc)],_0x206477=(_0x2ca070,_0x3df2e9,_0x396302,_0x5c8df7)=>{const _0x3a2207=_0x356272;for(var _0xc0bc5d=_0x5c8df7>0x1?void 0x0:_0x5c8df7?_0x3debba(_0x3df2e9,_0x396302):_0x3df2e9,_0x20359c=_0x2ca070[_0x3a2207(0x3fa)]-0x1,_0x2c5c8f;_0x20359c>=0x0;_0x20359c--)(_0x2c5c8f=_0x2ca070[_0x20359c])&&(_0xc0bc5d=_0x2c5c8f(_0xc0bc5d)||_0xc0bc5d);return _0xc0bc5d;},_0x5c96e9=(_0xba6e02,_0x43bfee)=>(_0x1183a5,_0xa9cad9)=>_0x43bfee(_0x1183a5,_0xa9cad9,_0xba6e02);_0x4114c5[_0x356272(0x141)]=class extends _0x3a6e21[_0x356272(0x1a2)]{constructor(_0x2f881c,_0x4b112e,_0x100be1,_0x3ce5bf,_0x92abea){const _0x267843=_0x356272;super(),this[_0x267843(0x2e7)]=_0x2f881c,this[_0x267843(0x3b4)]=_0x4b112e,this[_0x267843(0x389)]=_0x100be1,this['_dataLoaderService']=_0x3ce5bf,_0x92abea?_0x92abea==null||_0x92abea[_0x267843(0x38a)]()['then'](()=>this[_0x267843(0x2e0)]()):(this[_0x267843(0x3b4)]['debug'](_0x267843(0x3c3),_0x267843(0x13b)),this['_init']());}async[_0x356272(0x2e0)](){const _0x478de5=_0x356272,_0xf29d5b=this[_0x478de5(0x2e7)]['getParam']('unit'),_0x1b2903=this[_0x478de5(0x2e7)]['getParam'](_0x478de5(0x14e)),_0x2a3b11=this[_0x478de5(0x2e7)][_0x478de5(0x11d)](_0x478de5(0x1f3));if(!_0xf29d5b||!_0x1b2903){this['_logService'][_0x478de5(0x351)]('[CollaborationDataLoaderController]','No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.');return;}const _0x255f0d=await this[_0x478de5(0x272)][_0x478de5(0x1aa)](_0xf29d5b,Number(_0x1b2903),_0x2a3b11);_0x255f0d&&_0x255f0d instanceof _0x3a6e21['Workbook']&&this[_0x478de5(0x3d0)](_0x255f0d);}async[_0x356272(0x3d0)](_0x1cd1a0){const _0x15e8d5=_0x356272;await this[_0x15e8d5(0x1b6)](_0x1cd1a0),_0x1cd1a0[_0x15e8d5(0x254)][_0x15e8d5(0x328)](_0x2289a4['takeUntil'](this[_0x15e8d5(0x121)]))[_0x15e8d5(0x399)](_0x61064d=>{_0x61064d&&this['_updateURLWithCurrentState'](_0x61064d);}),this[_0x15e8d5(0x2e7)]['urlChange$'][_0x15e8d5(0x328)](_0x2289a4[_0x15e8d5(0x39e)](this[_0x15e8d5(0x121)]))[_0x15e8d5(0x399)](()=>this[_0x15e8d5(0x1b6)](_0x1cd1a0));}[_0x356272(0x150)](_0x4d1a84,_0x15e2b5=!0x1){const _0x201149=_0x356272,_0x1305e4=this['_urlService'][_0x201149(0x11d)](_0x201149(0x1f3));_0x4d1a84['getSheetId']()!==_0x1305e4&&this[_0x201149(0x2e7)]['setParam']('subunit',_0x4d1a84[_0x201149(0x30e)](),_0x15e2b5);}async[_0x356272(0x1b6)](_0xb796e){const _0x37dc4b=_0x356272;var _0xb850cb;const _0x5c5231=this[_0x37dc4b(0x2e7)][_0x37dc4b(0x11d)](_0x37dc4b(0x1f3));if(!_0x5c5231||!_0xb796e[_0x37dc4b(0x35f)](_0x5c5231)){const _0x5e4968=_0xb796e['getUnhiddenWorksheets']()[0x0],_0x4b6846=_0xb796e[_0x37dc4b(0x35f)](_0x5e4968);if(!_0x4b6846)return;this[_0x37dc4b(0x150)](_0x4b6846,!0x0),await this[_0x37dc4b(0x389)][_0x37dc4b(0x2e5)](_0x3e80c8['SetWorksheetActivateCommand']['id'],{'unitId':_0xb796e['getUnitId'](),'subUnitId':_0x5e4968});return;}((_0xb850cb=_0xb796e['getActiveSheet']())==null?void 0x0:_0xb850cb['getSheetId']())!==_0x5c5231&&await this[_0x37dc4b(0x389)][_0x37dc4b(0x2e5)](_0x3e80c8[_0x37dc4b(0x20f)]['id'],{'unitId':_0xb796e[_0x37dc4b(0x239)](),'subUnitId':_0x5c5231});}},_0x4114c5[_0x356272(0x141)]=_0x206477([_0x5c96e9(0x0,_0xb5c967),_0x5c96e9(0x1,_0x3a6e21[_0x356272(0x266)]),_0x5c96e9(0x2,_0x3a6e21[_0x356272(0x220)]),_0x5c96e9(0x3,_0x3a6e21[_0x356272(0x1a5)](_0x977231[_0x356272(0x14b)])),_0x5c96e9(0x4,_0x3a6e21['Optional'](_0x30767a[_0x356272(0x2bf)]))],_0x4114c5['CollaborationDataLoaderController']);var _0x4650be=Object[_0x356272(0x2dc)],_0x3f930b=(_0x5efa09,_0x3d9da6,_0x1a36cf,_0x18c9ab)=>{const _0x1873fa=_0x356272;for(var _0x507982=_0x18c9ab>0x1?void 0x0:_0x18c9ab?_0x4650be(_0x3d9da6,_0x1a36cf):_0x3d9da6,_0x1682c1=_0x5efa09[_0x1873fa(0x3fa)]-0x1,_0x57dcef;_0x1682c1>=0x0;_0x1682c1--)(_0x57dcef=_0x5efa09[_0x1682c1])&&(_0x507982=_0x57dcef(_0x507982)||_0x507982);return _0x507982;},_0x42d188=(_0x4cfe3e,_0x12cae2)=>(_0x2c2903,_0x31ddd5)=>_0x12cae2(_0x2c2903,_0x31ddd5,_0x4cfe3e);let _0x3101a6=class extends _0x3a6e21[_0x356272(0x1a2)]{constructor(_0x169dde,_0x1c927b){const _0x59b06d=_0x356272;super(),this[_0x59b06d(0x2c9)]=_0x169dde,this[_0x59b06d(0x3d9)]=_0x1c927b,this['_init']();}[_0x356272(0x2e0)](){const _0x2ecb69=_0x356272,_0x245c3a=this;this[_0x2ecb69(0x3b6)](this[_0x2ecb69(0x2c9)][_0x2ecb69(0x291)]({'onBeforePasteImage':async _0x38b8c4=>{const _0x1f7235=_0x2ecb69,_0x36bce6=await _0x245c3a[_0x1f7235(0x3d9)][_0x1f7235(0x279)](_0x38b8c4);return _0x36bce6?{'source':_0x36bce6[_0x1f7235(0x128)],'imageSourceType':_0x36bce6[_0x1f7235(0x19a)]}:null;}}));}};_0x3101a6=_0x3f930b([_0x42d188(0x0,_0x84c7b3[_0x356272(0x1c9)]),_0x42d188(0x1,_0x30725e['IImageIoService'])],_0x3101a6);const _0x4abc23=[_0x356272(0x1d2),_0x356272(0x3e9),_0x356272(0x145),_0x356272(0x34e),_0x356272(0x1ee),'yellow.400'];class _0x3832ab extends _0x3a6e21[_0x356272(0x257)]{constructor(){const _0x2becfe=_0x356272;super(...arguments),_0x49e47d(this,'_assignedColors',new Map()),_0x49e47d(this,_0x2becfe(0x173),0x0);}['assignAColorForMemberID'](_0x365f6f){const _0x1bffdf=_0x356272;if(this[_0x1bffdf(0x277)][_0x1bffdf(0x217)](_0x365f6f))return this[_0x1bffdf(0x277)][_0x1bffdf(0x201)](_0x365f6f);const _0x5cba66=_0x4abc23[this[_0x1bffdf(0x173)]];return this[_0x1bffdf(0x173)]=(this['_colorIndex']+0x1)%_0x4abc23[_0x1bffdf(0x3fa)],this[_0x1bffdf(0x277)][_0x1bffdf(0x199)](_0x365f6f,_0x5cba66),_0x5cba66;}}function _0x31cba3(_0x4b3397){const _0x2fc4b3=_0x356272;let _0x15ab41='';for(const _0x29a6bd of _0x4b3397){const {startOffset:_0x20493b,endOffset:_0x293cc5,isActive:_0x23a4a4,rangeType:_0xd0edda,segmentId:_0x20d0cf,segmentPage:_0xb840ef}=_0x29a6bd;_0x15ab41[_0x2fc4b3(0x3fa)]&&(_0x15ab41+=','),_0x15ab41+=_0x20493b+':'+_0x293cc5+':'+(_0x23a4a4?'1':'0')+':'+_0xd0edda+':'+_0x20d0cf+':'+_0xb840ef;}return _0x15ab41;}function _0xa0836b(_0x4d65be){const _0x16719e=_0x356272,_0x239ee5=_0x4d65be[_0x16719e(0x153)](','),_0x9f38cb=[];for(const _0x99c300 of _0x239ee5){const [_0x4097be,_0x2e9584,_0x222cc6,_0x4e1cd1,_0x37e24e,_0x1792c7]=_0x99c300['split'](':');_0x9f38cb[_0x16719e(0x31a)]({'startOffset':Number(_0x4097be),'endOffset':Number(_0x2e9584),'collapsed':_0x4097be===_0x2e9584,'isActive':_0x222cc6==='1','rangeType':_0x4e1cd1===_0x3a6e21[_0x16719e(0x244)][_0x16719e(0x337)]?_0x3a6e21[_0x16719e(0x244)][_0x16719e(0x337)]:_0x3a6e21[_0x16719e(0x244)][_0x16719e(0x215)],'segmentId':typeof _0x37e24e==_0x16719e(0x1ff)?String(_0x37e24e):'','segmentPage':Number(_0x1792c7!=null?_0x1792c7:-0x1)});}return _0x9f38cb['some'](_0x1b979f=>_0x1b979f[_0x16719e(0x3e0)])||(_0x9f38cb[0x0][_0x16719e(0x3e0)]=!0x0),_0x9f38cb;}class _0x51f3c5 extends _0x3a6e21[_0x356272(0x1a2)]{constructor(){const _0x3924b3=_0x356272;super(...arguments),_0x49e47d(this,'_collabCursorState$',new _0x2289a4['BehaviorSubject'](null)),_0x49e47d(this,_0x3924b3(0x209),this[_0x3924b3(0x388)][_0x3924b3(0x168)]());}['syncEditingCollabCursor'](_0x365601){const _0x36fb69=_0x356272,{unitID:_0x5e1113,memberID:_0x4fd88b,textRanges:_0x179b8b}=_0x365601,_0x3f8c42=_0x31cba3(_0x179b8b);if(_0x3f8c42==='')return;const _0x417f6b={'unitID':_0x5e1113,'memberID':_0x4fd88b,'selection':_0x3f8c42};this['_collabCursorState$'][_0x36fb69(0x2ed)](_0x417f6b);}}var _0x59be89=Object[_0x356272(0x2dc)],_0x4a51d6=(_0x4d05c3,_0x41c9fa,_0x2d860a,_0x52fe11)=>{const _0x1caf93=_0x356272;for(var _0xb3ed53=_0x52fe11>0x1?void 0x0:_0x52fe11?_0x59be89(_0x41c9fa,_0x2d860a):_0x41c9fa,_0x4d7dfc=_0x4d05c3[_0x1caf93(0x3fa)]-0x1,_0x2a70ed;_0x4d7dfc>=0x0;_0x4d7dfc--)(_0x2a70ed=_0x4d05c3[_0x4d7dfc])&&(_0xb3ed53=_0x2a70ed(_0xb3ed53)||_0xb3ed53);return _0xb3ed53;},_0x2f44b3=(_0xfe8cee,_0x1580b9)=>(_0x49d09b,_0x2eaa20)=>_0x1580b9(_0x49d09b,_0x2eaa20,_0xfe8cee);const _0x4c4bec=0x12c,_0x327859=0x64;let _0x2b1bf4=class extends _0x3a6e21['RxDisposable']{constructor(_0x444bd7,_0x3206bd,_0x4f8197,_0x46a244,_0x305643,_0x3e31da,_0x2fe422,_0x53784b,_0x586422){const _0x229877=_0x356272;super(),_0x49e47d(this,_0x229877(0x194),!0x1),_0x49e47d(this,_0x229877(0x2e0),!0x1),_0x49e47d(this,'_cursorInfo$',new _0x2289a4[(_0x229877(0x231))](new Map())),_0x49e47d(this,_0x229877(0x29b),this[_0x229877(0x32e)][_0x229877(0x168)]()),_0x49e47d(this,_0x229877(0x1f2),new _0x2289a4[(_0x229877(0x231))]([])),_0x49e47d(this,_0x229877(0x2b1),this[_0x229877(0x1f2)][_0x229877(0x328)](_0x2289a4[_0x229877(0x1d7)](_0x4c4bec))),_0x49e47d(this,_0x229877(0x34b),_0x3a6e21[_0x229877(0x2b8)](_0x2137bc=>{const _0x9a960a=_0x229877,_0x2b2054={'eventID':_0x3d0ca4['CollaborationEvent'][_0x9a960a(0x1a1)],'data':{'unitID':this[_0x9a960a(0x138)],'memberID':this[_0x9a960a(0x12d)][_0x9a960a(0x19f)](),'selection':_0x31cba3(_0x2137bc)}};this[_0x9a960a(0x12d)][_0x9a960a(0x290)](_0x2b2054,this[_0x9a960a(0x138)]);},_0x327859)),(this[_0x229877(0x138)]=_0x444bd7,this[_0x229877(0x12d)]=_0x3206bd,this['_injector']=_0x4f8197,this[_0x229877(0x35c)]=_0x46a244,this['_memberService']=_0x305643,this[_0x229877(0x3ec)]=_0x3e31da,this['_transformService']=_0x2fe422,this[_0x229877(0x28f)]=_0x53784b,this[_0x229877(0x389)]=_0x586422);}get[_0x356272(0x21d)](){const _0x468507=_0x356272;return this[_0x468507(0x32e)][_0x468507(0x37d)]();}get['roomMembers'](){const _0x145285=_0x356272;return this[_0x145285(0x1f2)]['getValue']();}[_0x356272(0x1a0)](){const _0x57b96d=_0x356272;super[_0x57b96d(0x1a0)](),this[_0x57b96d(0x32e)][_0x57b96d(0x2ed)](new Map()),this[_0x57b96d(0x32e)][_0x57b96d(0x1cb)](),this[_0x57b96d(0x1f2)][_0x57b96d(0x2ed)]([]),this[_0x57b96d(0x1f2)]['complete']();}[_0x356272(0x3b1)](){const _0x605dcb=_0x356272;this[_0x605dcb(0x2e0)]||(this[_0x605dcb(0x2e0)]=!0x0,this[_0x605dcb(0x12d)]['sessionStatus$']['pipe'](_0x2289a4['takeUntil'](this[_0x605dcb(0x121)]))['subscribe'](_0x27b18b=>{const _0x30dd36=_0x605dcb;_0x27b18b===_0x977231[_0x30dd36(0x2d9)][_0x30dd36(0x359)]?this[_0x30dd36(0x33b)]():this[_0x30dd36(0x140)]();}),this[_0x605dcb(0x12d)]['event$']['pipe'](_0x2289a4[_0x605dcb(0x39e)](this[_0x605dcb(0x121)]))[_0x605dcb(0x399)](_0x3b1ef6=>{const _0x1e05a0=_0x605dcb,_0x1ddad9=_0x3b1ef6[_0x1e05a0(0x16f)];_0x1ddad9===_0x3d0ca4[_0x1e05a0(0x17f)]['UPDATE_CURSOR']&&this[_0x1e05a0(0x2fa)](_0x3b1ef6),_0x1ddad9===_0x3d0ca4[_0x1e05a0(0x17f)][_0x1e05a0(0x242)]&&this[_0x1e05a0(0x1dd)](_0x3b1ef6);}),this[_0x605dcb(0x3b6)](this[_0x605dcb(0x389)]['onCommandExecuted'](_0x4c6c73=>{const _0x304afe=_0x605dcb,_0x2bd712=_0x4c6c73[_0x304afe(0x3df)];_0x2bd712!=null&&this[_0x304afe(0x194)]&&_0x4c6c73['id']===_0x2d1e6c[_0x304afe(0x15d)]['id']&&_0x2bd712['unitId']===this[_0x304afe(0x138)]&&_0x2bd712['isEditing']===!0x1&&_0x2bd712['ranges']['length']>0x0&&this['_updateLocalCursor'](_0x2bd712[_0x304afe(0x3aa)]);})),this['_syncEditingCollabCursorService']['collabCursorState$'][_0x605dcb(0x328)](_0x2289a4[_0x605dcb(0x39e)](this['dispose$']))[_0x605dcb(0x399)](_0x4d587b=>{const _0x393754=_0x605dcb;if((_0x4d587b==null?void 0x0:_0x4d587b['unitID'])!==this['unitID'])return;const _0x2fe7bf={'eventID':_0x3d0ca4['CollaborationEvent'][_0x393754(0x1a1)],'data':_0x4d587b};this['_onCursorUpdate'](_0x2fe7bf);}),this[_0x605dcb(0x3b6)](this['_commandService'][_0x605dcb(0x3e3)](_0x4bd78f=>{const _0x5a0ffa=_0x605dcb;if(_0x4bd78f[_0x5a0ffa(0x3df)]==null)return;const _0x59e20e=_0x4bd78f[_0x5a0ffa(0x3df)];if(_0x4bd78f['id']!==_0x2d1e6c[_0x5a0ffa(0x29a)]['id']||_0x59e20e[_0x5a0ffa(0x3cd)]!==this[_0x5a0ffa(0x138)])return;const _0x52cb71={'id':_0x5a0ffa(0x2b2),'params':_0x59e20e},_0x27abe3=this[_0x5a0ffa(0x21d)];for(const [_0x4f9b37,_0x483774]of _0x27abe3){const _0x4f4dfe={'id':_0x5a0ffa(0x2b2),'params':{'unitId':this[_0x5a0ffa(0x138)],'actions':null,'textRanges':_0x483774[_0x5a0ffa(0x3aa)]}},_0x477733=this[_0x5a0ffa(0x2fd)][_0x5a0ffa(0x17b)](_0x52cb71,_0x4f4dfe,!0x1);if(_0x3d0ca4[_0x5a0ffa(0x1fc)](_0x477733))throw _0x477733['error'];_0x27abe3['set'](_0x4f9b37,{..._0x483774,'ranges':_0x477733[_0x5a0ffa(0x3da)][_0x5a0ffa(0x3df)][_0x5a0ffa(0x187)]});}queueMicrotask(()=>{const _0xd236df=_0x5a0ffa;this[_0xd236df(0x32e)][_0xd236df(0x2ed)](_0x27abe3);});})));}[_0x356272(0x2fa)](_0x2478be){const _0x4e31a0=_0x356272;var _0x1ba21c,_0x247b51;const {memberID:_0xf0377a,selection:_0x1b309d}=_0x2478be['data'],_0x1bc3fe=_0xa0836b(_0x1b309d),_0x3cb99e=(_0x247b51=(_0x1ba21c=this[_0x4e31a0(0x219)][_0x4e31a0(0x186)](this[_0x4e31a0(0x138)],_0xf0377a))==null?void 0x0:_0x1ba21c[_0x4e31a0(0x27f)])!=null?_0x247b51:_0x4e31a0(0x130),_0x3e0b9f={'color':this[_0x4e31a0(0x35c)]['assignAColorForMemberID'](_0xf0377a),'name':_0x3cb99e,'ranges':_0x1bc3fe},_0x3dad82=this[_0x4e31a0(0x21d)];_0x3dad82['set'](_0xf0377a,_0x3e0b9f),this[_0x4e31a0(0x32e)][_0x4e31a0(0x2ed)](_0x3dad82);}[_0x356272(0x1dd)](_0x4bde69){const _0x451478=_0x356272,{memberID:_0x5d45f5}=_0x4bde69[_0x451478(0x386)],_0x18508b=this['cursorInfo'];_0x18508b['delete'](_0x5d45f5),this[_0x451478(0x32e)][_0x451478(0x2ed)](_0x18508b);}[_0x356272(0x33b)](){const _0xe6577a=_0x356272;var _0x32ed67;if(this['_online']=!0x0,((_0x32ed67=this['_univerInstanceService'][_0xe6577a(0x3ce)]())==null?void 0x0:_0x32ed67[_0xe6577a(0x239)]())!==this['unitID'])return;const _0x5f18ca=this['_injector'][_0xe6577a(0x201)](_0x2d1e6c['DocSelectionManagerService'])[_0xe6577a(0x120)]();Array[_0xe6577a(0x176)](_0x5f18ca)&&_0x5f18ca[_0xe6577a(0x3fa)]>0x0&&this[_0xe6577a(0x34b)](_0x5f18ca);}['_toggleOffline'](){this['_online']=!0x1;}};_0x2b1bf4=_0x4a51d6([_0x2f44b3(0x2,_0x3a6e21[_0x356272(0x1a5)](_0x3a6e21[_0x356272(0x238)])),_0x2f44b3(0x3,_0x3a6e21[_0x356272(0x1a5)](_0x3832ab)),_0x2f44b3(0x4,_0x3a6e21[_0x356272(0x1a5)](_0x977231[_0x356272(0x37b)])),_0x2f44b3(0x5,_0x3a6e21[_0x356272(0x1a5)](_0x51f3c5)),_0x2f44b3(0x6,_0x3d0ca4['ITransformService']),_0x2f44b3(0x7,_0x3a6e21[_0x356272(0x354)]),_0x2f44b3(0x8,_0x3a6e21[_0x356272(0x220)])],_0x2b1bf4);var _0x36d38f=Object[_0x356272(0x2dc)],_0x322397=(_0x2ce47f,_0x1be326,_0x1fc624,_0x1612bf)=>{for(var _0x5d1315=_0x1612bf>0x1?void 0x0:_0x1612bf?_0x36d38f(_0x1be326,_0x1fc624):_0x1be326,_0x41c22e=_0x2ce47f['length']-0x1,_0x570df4;_0x41c22e>=0x0;_0x41c22e--)(_0x570df4=_0x2ce47f[_0x41c22e])&&(_0x5d1315=_0x570df4(_0x5d1315)||_0x5d1315);return _0x5d1315;},_0x415fdb=(_0x51b123,_0x493a3f)=>(_0x5d965b,_0x4070de)=>_0x493a3f(_0x5d965b,_0x4070de,_0x51b123);const _0x505038=0x12c,_0x4e9a91=0x64,_0x134095=()=>{let _0x4311fe=[],_0x27c09a=!0x1;return _0xc6cdad=>{_0x4311fe['push'](_0xc6cdad),_0x27c09a||(_0x27c09a=!0x0,setTimeout(()=>{const _0x170ecf=_0x5992;_0x4311fe[_0x170ecf(0x280)](_0x3fb4ef=>_0x3fb4ef()),_0x4311fe=[],_0x27c09a=!0x1;}));};};let _0x5a9ef7=class extends _0x3a6e21[_0x356272(0x1a2)]{constructor(_0x7b03e6,_0x5dfa84,_0x36e941,_0x13a7de,_0x23ff0b,_0x1c39e7,_0x2ecbc0,_0xce56b9){const _0x203701=_0x356272;super(),_0x49e47d(this,_0x203701(0x194),!0x1),_0x49e47d(this,_0x203701(0x2e0),!0x1),_0x49e47d(this,_0x203701(0x32e),new _0x2289a4['BehaviorSubject'](new Map())),_0x49e47d(this,_0x203701(0x29b),this[_0x203701(0x32e)][_0x203701(0x168)]()),_0x49e47d(this,_0x203701(0x1f2),new _0x2289a4[(_0x203701(0x231))]([])),_0x49e47d(this,_0x203701(0x2b1),this[_0x203701(0x1f2)][_0x203701(0x328)](_0x2289a4[_0x203701(0x1d7)](_0x505038))),_0x49e47d(this,_0x203701(0x34b),_0x3a6e21[_0x203701(0x2b8)]((_0x1d13d3,_0x4327bc)=>{const _0x48ffd8=_0x203701,_0x31b8fe={'eventID':_0x3d0ca4['CollaborationEvent']['UPDATE_CURSOR'],'data':{'unitID':this[_0x48ffd8(0x138)],'memberID':this[_0x48ffd8(0x12d)][_0x48ffd8(0x19f)](),'selection':_0x4c281d[_0x48ffd8(0x1a8)](_0x1d13d3,_0x4327bc['range'])}};this['_session'][_0x48ffd8(0x290)](_0x31b8fe,this[_0x48ffd8(0x138)]);},_0x4e9a91)),(this[_0x203701(0x138)]=_0x7b03e6,this[_0x203701(0x12d)]=_0x5dfa84,this[_0x203701(0x228)]=_0x36e941,this[_0x203701(0x35c)]=_0x13a7de,this[_0x203701(0x219)]=_0x23ff0b,this[_0x203701(0x28f)]=_0x1c39e7,this[_0x203701(0x389)]=_0x2ecbc0,this[_0x203701(0x213)]=_0xce56b9);}get['cursorInfo'](){const _0x37104c=_0x356272;return this['_cursorInfo$'][_0x37104c(0x37d)]();}get[_0x356272(0x26b)](){const _0x36150d=_0x356272;return this[_0x36150d(0x1f2)][_0x36150d(0x37d)]();}[_0x356272(0x1a0)](){const _0x44290e=_0x356272;super[_0x44290e(0x1a0)](),this[_0x44290e(0x32e)][_0x44290e(0x2ed)](new Map()),this[_0x44290e(0x32e)][_0x44290e(0x1cb)](),this[_0x44290e(0x1f2)][_0x44290e(0x2ed)]([]),this[_0x44290e(0x1f2)]['complete']();}['init'](){const _0x3919ab=_0x356272;this[_0x3919ab(0x2e0)]||(this[_0x3919ab(0x2e0)]=!0x0,this[_0x3919ab(0x12d)][_0x3919ab(0x1ae)][_0x3919ab(0x328)](_0x2289a4[_0x3919ab(0x39e)](this[_0x3919ab(0x121)]))[_0x3919ab(0x399)](_0x5d0d7b=>{const _0x5643d6=_0x3919ab;_0x5d0d7b===_0x977231[_0x5643d6(0x2d9)][_0x5643d6(0x359)]?this[_0x5643d6(0x33b)]():this[_0x5643d6(0x140)]();}),this[_0x3919ab(0x12d)]['event$'][_0x3919ab(0x328)](_0x2289a4[_0x3919ab(0x39e)](this[_0x3919ab(0x121)]))[_0x3919ab(0x399)](_0x30398d=>{const _0x7a2c85=_0x3919ab,_0x456d57=_0x30398d[_0x7a2c85(0x16f)];_0x456d57===_0x3d0ca4[_0x7a2c85(0x17f)][_0x7a2c85(0x1a1)]&&this[_0x7a2c85(0x2fa)](_0x30398d),_0x456d57===_0x3d0ca4[_0x7a2c85(0x17f)][_0x7a2c85(0x242)]&&this['_onCursorDelete'](_0x30398d);}),this[_0x3919ab(0x40e)](),this[_0x3919ab(0x3b6)](this[_0x3919ab(0x389)][_0x3919ab(0x3e3)](_0x2ed018=>{const _0x20cd1f=_0x3919ab;if(this[_0x20cd1f(0x194)]&&_0x2ed018['id']===_0x3e80c8['SetSelectionsOperation']['id']&&_0x2ed018[_0x20cd1f(0x3df)][_0x20cd1f(0x3cd)]===this[_0x20cd1f(0x138)]){const _0x5780ad=_0x2ed018[_0x20cd1f(0x3df)];this[_0x20cd1f(0x34b)](_0x5780ad[_0x20cd1f(0x142)],_0x5780ad['selections'][0x0]);}})));}[_0x356272(0x2fa)](_0x3f2b87){const _0x3afe96=_0x356272;var _0x244f4a,_0x4a6a79;const {memberID:_0x43fa5e,selection:_0x5e2c61}=_0x3f2b87[_0x3afe96(0x386)],{sheetName:_0x537627,range:_0x3e0e69}=_0x4c281d[_0x3afe96(0x143)](_0x5e2c61),_0x4cc872={'name':(_0x4a6a79=(_0x244f4a=this[_0x3afe96(0x219)][_0x3afe96(0x186)](this[_0x3afe96(0x138)],_0x43fa5e))==null?void 0x0:_0x244f4a[_0x3afe96(0x27f)])!=null?_0x4a6a79:_0x3afe96(0x130),'range':this['_getMergeRange'](_0x537627,_0x3e0e69),'sheetID':_0x537627,'color':this[_0x3afe96(0x35c)]['assignAColorForMemberID'](_0x43fa5e),'selection':_0x5e2c61},_0x36c638=this[_0x3afe96(0x21d)];_0x36c638[_0x3afe96(0x199)](_0x43fa5e,_0x4cc872),this['_cursorInfo$'][_0x3afe96(0x2ed)](_0x36c638);}[_0x356272(0x1dd)](_0x3e977d){const _0x5eb813=_0x356272,{memberID:_0xe9bfe8}=_0x3e977d['data'],_0x4be402=this[_0x5eb813(0x21d)];_0x4be402['delete'](_0xe9bfe8),this[_0x5eb813(0x32e)][_0x5eb813(0x2ed)](_0x4be402);}[_0x356272(0x3d6)](_0x1dcc01,_0x3de36d){const _0x59e674=_0x356272;var _0x5688ce,_0x5cb49b;const _0x37c99b=(_0x5cb49b=(_0x5688ce=this[_0x59e674(0x28f)]['getUniverSheetInstance'](this[_0x59e674(0x138)]))==null?void 0x0:_0x5688ce['getSheetBySheetId'](_0x1dcc01))==null?void 0x0:_0x5cb49b['getMergeData']();return(_0x37c99b==null?void 0x0:_0x37c99b[_0x59e674(0x3b0)](_0x322ffe=>_0x3a6e21[_0x59e674(0x1c6)][_0x59e674(0x175)](_0x322ffe,_0x3de36d)))||_0x3de36d;}[_0x356272(0x40e)](){const _0x7bb633=_0x356272,_0x419f25=new _0x3a6e21[(_0x7bb633(0x3cc))](),_0x2dde70=_0x134095(),_0x1c89e6=()=>{const _0xf2c818=_0x7bb633;_0x419f25[_0xf2c818(0x1a0)]();const _0x437671=(_0x3d587d,_0x44353b,_0x1a99ab,_0x39a095)=>{const _0x9b76a6=_0xf2c818;let _0x2e101=[];switch(_0x3d587d['id']){case _0x3e80c8[_0x9b76a6(0x1e3)][_0x9b76a6(0x2a5)]:{_0x2e101=_0x3e80c8[_0x9b76a6(0x1c4)](_0x3d587d,_0x39a095);break;}case _0x3e80c8[_0x9b76a6(0x1e3)][_0x9b76a6(0x3d3)]:{_0x2e101=_0x3e80c8[_0x9b76a6(0x405)](_0x3d587d,_0x39a095);break;}case _0x3e80c8['EffectRefRangId'][_0x9b76a6(0x39a)]:{_0x2e101=_0x3e80c8[_0x9b76a6(0x2db)](_0x3d587d,_0x39a095);break;}case _0x3e80c8[_0x9b76a6(0x1e3)][_0x9b76a6(0x33a)]:{_0x2e101=_0x3e80c8[_0x9b76a6(0x1ef)](_0x3d587d,_0x39a095);break;}case _0x3e80c8[_0x9b76a6(0x1e3)][_0x9b76a6(0x334)]:{_0x2e101=_0x3e80c8[_0x9b76a6(0x1e0)](_0x3d587d,_0x39a095);break;}case _0x3e80c8[_0x9b76a6(0x1e3)][_0x9b76a6(0x223)]:{_0x2e101=_0x3e80c8[_0x9b76a6(0x1bf)](_0x3d587d,_0x39a095);break;}case _0x3e80c8[_0x9b76a6(0x1e3)]['MoveRangeCommandId']:{_0x2e101=_0x3e80c8[_0x9b76a6(0x3b5)](_0x3d587d,_0x39a095);break;}case _0x3e80c8[_0x9b76a6(0x1e3)][_0x9b76a6(0x2ad)]:{_0x2e101=_0x3e80c8[_0x9b76a6(0x155)](_0x3d587d,_0x39a095);break;}case _0x3e80c8[_0x9b76a6(0x1e3)][_0x9b76a6(0x1f5)]:{_0x2e101=_0x3e80c8['handleIRemoveRow'](_0x3d587d,_0x39a095);break;}}const _0x565ccc=_0x3e80c8[_0x9b76a6(0x38f)](_0x2e101,_0x39a095),_0x2717f0=this[_0x9b76a6(0x21d)][_0x9b76a6(0x201)](_0x44353b);if(_0x2717f0&&_0x565ccc){const _0x43fea5={..._0x2717f0,'range':_0x565ccc};this[_0x9b76a6(0x21d)][_0x9b76a6(0x199)](_0x44353b,_0x43fea5),_0x2dde70(()=>{const _0x13c581=_0x9b76a6,_0x1965fe=this['_refRangeService'][_0x13c581(0x3bf)](_0x565ccc,_0x1d4d73=>(_0x1965fe[_0x13c581(0x1a0)](),_0x437671(_0x1d4d73,_0x44353b,_0x1a99ab,_0x565ccc)));_0x419f25[_0x13c581(0x1d0)](_0x1965fe);});}return{'redos':[],'undos':[]};};this[_0xf2c818(0x21d)][_0xf2c818(0x280)]((_0x22a828,_0x1e8009)=>{const _0x24ae52=_0xf2c818,{range:_0x236ff9,sheetID:_0x2d4729}=_0x22a828,_0x20367a=this['_refRangeService'][_0x24ae52(0x3bf)](_0x236ff9,_0x40689e=>(_0x20367a['dispose'](),_0x437671(_0x40689e,_0x1e8009,_0x2d4729,_0x236ff9)));_0x419f25['add'](_0x20367a);});};this[_0x7bb633(0x3b6)](_0x3a6e21[_0x7bb633(0x3eb)](this[_0x7bb633(0x32e)]['subscribe'](()=>{_0x1c89e6();})));}[_0x356272(0x33b)](){const _0x51b30f=_0x356272;var _0x46db2c,_0x189203;if(this[_0x51b30f(0x194)]=!0x0,((_0x46db2c=this[_0x51b30f(0x28f)][_0x51b30f(0x3ce)]())==null?void 0x0:_0x46db2c[_0x51b30f(0x239)]())!==this['unitID'])return;const _0x4d2aa2=(_0x189203=this[_0x51b30f(0x228)][_0x51b30f(0x201)](_0x3e80c8['SheetsSelectionsService'])[_0x51b30f(0x25c)]())==null?void 0x0:_0x189203[0x0],_0x3b4526=this[_0x51b30f(0x28f)]['getCurrentUnitForType'](_0x3a6e21[_0x51b30f(0x2d4)][_0x51b30f(0x19b)])[_0x51b30f(0x2ff)]();_0x4d2aa2&&_0x3b4526&&this[_0x51b30f(0x34b)](_0x3b4526['getSheetId'](),_0x4d2aa2);}[_0x356272(0x140)](){const _0x264ad2=_0x356272;this[_0x264ad2(0x194)]=!0x1;}};_0x5a9ef7=_0x322397([_0x415fdb(0x2,_0x3a6e21[_0x356272(0x1a5)](_0x3a6e21[_0x356272(0x238)])),_0x415fdb(0x3,_0x3a6e21[_0x356272(0x1a5)](_0x3832ab)),_0x415fdb(0x4,_0x3a6e21[_0x356272(0x1a5)](_0x977231[_0x356272(0x37b)])),_0x415fdb(0x5,_0x3a6e21[_0x356272(0x354)]),_0x415fdb(0x6,_0x3a6e21['ICommandService']),_0x415fdb(0x7,_0x3a6e21[_0x356272(0x1a5)](_0x3e80c8['RefRangeService']))],_0x5a9ef7);var _0x47eb8e=Object[_0x356272(0x2dc)],_0x1e7820=(_0x37fb88,_0x19163c,_0x90783c,_0x48cafe)=>{for(var _0x4f02a4=_0x48cafe>0x1?void 0x0:_0x48cafe?_0x47eb8e(_0x19163c,_0x90783c):_0x19163c,_0x1aa9e6=_0x37fb88['length']-0x1,_0x122377;_0x1aa9e6>=0x0;_0x1aa9e6--)(_0x122377=_0x37fb88[_0x1aa9e6])&&(_0x4f02a4=_0x122377(_0x4f02a4)||_0x4f02a4);return _0x4f02a4;},_0x5b9b90=(_0x52308a,_0x57521f)=>(_0x32c36a,_0x31e0c9)=>_0x57521f(_0x32c36a,_0x31e0c9,_0x52308a);let _0x277f63=class extends _0x3a6e21[_0x356272(0x1a2)]{constructor(_0x1f481c,_0x3633e2,_0x4d0468){const _0x11a8c7=_0x356272;super(),_0x49e47d(this,'_entities',new Map()),_0x49e47d(this,'_entityInit$',new _0x2289a4['Subject']()),(this[_0x11a8c7(0x28f)]=_0x1f481c,this[_0x11a8c7(0x228)]=_0x3633e2,this[_0x11a8c7(0x24d)]=_0x4d0468,this[_0x11a8c7(0x2e0)]());}[_0x356272(0x1a0)](){const _0x3bb8ee=_0x356272;super[_0x3bb8ee(0x1a0)](),this['_entityInit$'][_0x3bb8ee(0x1cb)](),this[_0x3bb8ee(0x20c)][_0x3bb8ee(0x280)](_0x184fe5=>_0x184fe5[_0x3bb8ee(0x1a0)]());}[_0x356272(0x202)](_0x4126bb){const _0x356aad=_0x356272;return this['_entities'][_0x356aad(0x217)](_0x4126bb)?this[_0x356aad(0x20c)][_0x356aad(0x201)](_0x4126bb)['cursorInfo$']:this[_0x356aad(0x237)][_0x356aad(0x328)](_0x2289a4[_0x356aad(0x24e)](_0x426498=>_0x426498['unitID']===_0x4126bb),_0x2289a4[_0x356aad(0x267)](_0x202355=>_0x202355[_0x356aad(0x29b)]));}[_0x356272(0x2e0)](){const _0x1628b0=_0x356272;this[_0x1628b0(0x28f)][_0x1628b0(0x408)](_0x3a6e21[_0x1628b0(0x2d4)][_0x1628b0(0x19b)])['pipe'](_0x2289a4[_0x1628b0(0x39e)](this[_0x1628b0(0x121)]))[_0x1628b0(0x399)](async _0x301252=>{const _0x398278=_0x1628b0,_0x185fd5=_0x301252[_0x398278(0x239)](),_0x2ac7d5=await this[_0x398278(0x297)](_0x185fd5);this[_0x398278(0x237)][_0x398278(0x2ed)](_0x2ac7d5),this[_0x398278(0x20c)][_0x398278(0x199)](_0x185fd5,_0x2ac7d5);}),this[_0x1628b0(0x28f)][_0x1628b0(0x408)](_0x3a6e21[_0x1628b0(0x2d4)][_0x1628b0(0x2fb)])[_0x1628b0(0x328)](_0x2289a4[_0x1628b0(0x39e)](this[_0x1628b0(0x121)]))['pipe'](_0x2289a4[_0x1628b0(0x24e)](_0x27605e=>!_0x27605e['getUnitId']()[_0x1628b0(0x1b9)]('__')))[_0x1628b0(0x399)](async _0x5740cc=>{const _0x141221=_0x1628b0,_0x4a404f=_0x5740cc[_0x141221(0x239)](),_0x220ae2=await this[_0x141221(0x27d)](_0x4a404f);this['_entityInit$'][_0x141221(0x2ed)](_0x220ae2),this[_0x141221(0x20c)][_0x141221(0x199)](_0x4a404f,_0x220ae2);}),_0x2289a4[_0x1628b0(0x3a3)](this[_0x1628b0(0x28f)][_0x1628b0(0x15f)](_0x3a6e21[_0x1628b0(0x2d4)][_0x1628b0(0x2fb)]),this[_0x1628b0(0x28f)][_0x1628b0(0x15f)](_0x3a6e21[_0x1628b0(0x2d4)]['UNIVER_SHEET']))['pipe'](_0x2289a4[_0x1628b0(0x39e)](this['dispose$']))[_0x1628b0(0x399)](_0x1b9888=>{const _0x49797d=_0x1628b0,_0x207483=_0x1b9888[_0x49797d(0x239)](),_0x2d7584=this[_0x49797d(0x20c)][_0x49797d(0x201)](_0x207483);_0x2d7584&&(_0x2d7584['dispose'](),this[_0x49797d(0x20c)][_0x49797d(0x1f1)](_0x207483));});}async[_0x356272(0x297)](_0xb183e4){const _0x5b934c=_0x356272,_0x1c2d4e=await this[_0x5b934c(0x24d)][_0x5b934c(0x185)](_0xb183e4),_0x3e9db3=this['_injector'][_0x5b934c(0x3a0)](_0x5a9ef7,_0xb183e4,_0x1c2d4e);return _0x3e9db3[_0x5b934c(0x3b1)](),_0x3e9db3;}async['_startDocCollabCursor'](_0x2b23d7){const _0x5c56eb=_0x356272,_0x7f5d63=await this[_0x5c56eb(0x24d)][_0x5c56eb(0x185)](_0x2b23d7),_0x1f24c0=this[_0x5c56eb(0x228)][_0x5c56eb(0x3a0)](_0x2b1bf4,_0x2b23d7,_0x7f5d63);return _0x1f24c0[_0x5c56eb(0x3b1)](),_0x1f24c0;}};_0x277f63=_0x1e7820([_0x5b9b90(0x0,_0x3a6e21['IUniverInstanceService']),_0x5b9b90(0x1,_0x3a6e21['Inject'](_0x3a6e21['Injector'])),_0x5b9b90(0x2,_0x3a6e21[_0x356272(0x1a5)](_0x977231['CollaborationSessionService']))],_0x277f63);const _0x1681a8=0x14,_0x16a29d=0xc8,_0x4ab967=0x4,_0x119a04=0x5;function _0x737b6a(_0x2b4519,_0x3abca9){const _0x15a472=_0x356272;let {radius:_0x9d7aa5,width:_0x146ad0,height:_0x5ca9aa}=_0x3abca9;_0x9d7aa5=_0x9d7aa5!=null?_0x9d7aa5:0x0,_0x146ad0=_0x146ad0!=null?_0x146ad0:0x1e,_0x5ca9aa=_0x5ca9aa!=null?_0x5ca9aa:0x1e;let _0x218f4a=0x0,_0x7f3ad9=0x0,_0x4a540e=0x0;_0x218f4a=_0x7f3ad9=_0x4a540e=Math[_0x15a472(0x3bc)](_0x9d7aa5,_0x146ad0/0x2,_0x5ca9aa/0x2),_0x2b4519[_0x15a472(0x347)](),_0x2b4519[_0x15a472(0x348)](_0x218f4a,0x0),_0x2b4519[_0x15a472(0x3fc)](_0x146ad0-_0x7f3ad9,0x0),_0x2b4519[_0x15a472(0x190)](_0x146ad0-_0x7f3ad9,_0x7f3ad9,_0x7f3ad9,Math['PI']*0x3/0x2,0x0,!0x1),_0x2b4519[_0x15a472(0x3fc)](_0x146ad0,_0x5ca9aa-_0x4a540e),_0x2b4519[_0x15a472(0x190)](_0x146ad0-_0x4a540e,_0x5ca9aa-_0x4a540e,_0x4a540e,0x0,Math['PI']/0x2,!0x1),_0x2b4519[_0x15a472(0x3fc)](0x0,_0x5ca9aa),_0x2b4519[_0x15a472(0x3fc)](0x0,_0x218f4a),_0x2b4519[_0x15a472(0x190)](_0x218f4a,_0x218f4a,_0x218f4a,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x2b4519[_0x15a472(0x21e)](),_0x3abca9[_0x15a472(0x174)]&&(_0x2b4519['save'](),_0x2b4519[_0x15a472(0x3ee)]=_0x3abca9[_0x15a472(0x174)],_0x3abca9[_0x15a472(0x391)]===_0x15a472(0x3f1)?_0x2b4519[_0x15a472(0x174)]('evenodd'):_0x2b4519['fill'](),_0x2b4519['restore']());}class _0xfa8ae1 extends _0x946f81[_0x356272(0x3ad)]{constructor(_0x553094,_0x40ef81){const _0x3d4307=_0x356272;super(_0x553094,_0x40ef81),_0x49e47d(this,_0x3d4307(0x18c)),_0x49e47d(this,_0x3d4307(0x18e)),(this[_0x3d4307(0x18c)]=_0x40ef81==null?void 0x0:_0x40ef81['color'],this[_0x3d4307(0x18e)]=_0x40ef81==null?void 0x0:_0x40ef81['text']);}static['drawWith'](_0x5b705d,_0x3fad7c){const _0x175d3f=_0x356272,{text:_0x51336d,color:_0x28d4e0}=_0x3fad7c;_0x5b705d[_0x175d3f(0x159)](),_0x5b705d['font']='bold\x2013px\x20Source\x20Han\x20Sans\x20CN';const _0x2ce6cf=_0x5b705d[_0x175d3f(0x33c)](_0x51336d)[_0x175d3f(0x350)],_0x340c9d=Math[_0x175d3f(0x3bc)](_0x2ce6cf+0x2*_0x4ab967,_0x16a29d);_0x737b6a(_0x5b705d,{'height':_0x1681a8,'radius':0x4,'width':_0x340c9d,'fill':_0x28d4e0}),_0x5b705d[_0x175d3f(0x3ee)]=_0x175d3f(0x158);const _0x2c4f30=_0x4ab967,_0x288504=_0x1681a8-_0x119a04,_0xb9b18a=_0x16a29d-0x2*_0x4ab967;if(_0x2ce6cf>_0xb9b18a){let _0x7e2a06='',_0x5b510d=0x0;for(const _0xa26ca6 of _0x51336d){const _0x1fc5d4=_0x5b705d[_0x175d3f(0x33c)](_0xa26ca6)[_0x175d3f(0x350)];if(_0x5b510d+_0x1fc5d4<=_0xb9b18a-_0x5b705d['measureText']('...')['width'])_0x7e2a06+=_0xa26ca6,_0x5b510d+=_0x1fc5d4;else{_0x7e2a06+=_0x175d3f(0x331);break;}}_0x5b705d[_0x175d3f(0x303)](_0x7e2a06,_0x2c4f30,_0x288504);}else _0x5b705d[_0x175d3f(0x303)](_0x51336d,_0x2c4f30,_0x288504);_0x5b705d[_0x175d3f(0x124)]();}[_0x356272(0x30f)](_0x185764){const _0x123eb6=_0x356272;_0xfa8ae1[_0x123eb6(0x36f)](_0x185764,this);}}const _0x899cf3=_0x356272(0x24c),_0x92e02e=_0x356272(0x14d),_0x2e5b29=_0x356272(0x28e),_0x22c1b7=0x6,_0x571fb0=1.5,_0x4a470b=0x4,_0xc4a4db=1.5,_0x3a6d00=_0x356272(0x3e4);class _0x479885{constructor(_0x50f21d,_0x4d7c60,_0x13b7b9,_0x33f68a){const _0x4be79b=_0x356272;_0x49e47d(this,_0x4be79b(0x2cc),[]),_0x49e47d(this,_0x4be79b(0x31d),null),_0x49e47d(this,_0x4be79b(0x2be),null),_0x49e47d(this,'_anchorDot',null),_0x49e47d(this,_0x4be79b(0x195),null),_0x49e47d(this,'_eventUnsubscribe',null),(this[_0x4be79b(0x307)]=_0x50f21d,this[_0x4be79b(0x356)]=_0x4d7c60,this[_0x4be79b(0x1a6)]=_0x13b7b9,this[_0x4be79b(0x298)]=_0x33f68a,this[_0x4be79b(0x2c6)]());}set['_hover'](_0x258acd){const _0x3c1187=_0x356272;_0x258acd?(this['_anchorDot']&&this[_0x3c1187(0x40b)]['hide'](),this['_textBubble']&&this[_0x3c1187(0x2be)]['show']()):(this[_0x3c1187(0x40b)]&&this[_0x3c1187(0x40b)][_0x3c1187(0x15c)](),this[_0x3c1187(0x2be)]&&this[_0x3c1187(0x2be)]['hide']());}[_0x356272(0x1a0)](){const _0x1d5523=_0x356272;for(const _0x17dd52 of this[_0x1d5523(0x2cc)])_0x17dd52['dispose']();this['_textBubble']&&this['_textBubble'][_0x1d5523(0x1a0)](),this[_0x1d5523(0x40b)]&&this[_0x1d5523(0x40b)][_0x1d5523(0x1a0)](),this['_anchor']&&this[_0x1d5523(0x31d)][_0x1d5523(0x1a0)](),this[_0x1d5523(0x13e)]&&this[_0x1d5523(0x13e)]();}['_render'](){const _0x3f1d35=_0x356272;var _0x3e379b;const {_docSkeleton:_0xa1b88f,_document:_0x33c148}=this,{color:_0x300bde,name:_0x34cdcf,ranges:_0x4e7caa}=this[_0x3f1d35(0x307)],_0x41b44e=_0x33c148[_0x3f1d35(0x30d)](),{docsLeft:_0xb9f005,docsTop:_0x1360fd}=_0x41b44e,_0x1d93c7=new _0x84c7b3[(_0x3f1d35(0x2f5))](_0x41b44e,_0xa1b88f);for(const {startOffset:_0x48afb9,endOffset:_0x293975,rangeType:_0x17b30b,segmentId:_0x428a6e,segmentPage:_0x2116cb,collapsed:_0x48c7ae,isActive:_0x4bdb77}of _0x4e7caa){const _0x19dc2b=_0xa1b88f[_0x3f1d35(0x163)](_0x48afb9,!0x0,_0x428a6e,_0x2116cb);let _0x498e7e=_0xa1b88f[_0x3f1d35(0x163)](_0x293975,!0x0,_0x428a6e,_0x2116cb);if(_0x498e7e==null&&(_0x498e7e=_0xa1b88f[_0x3f1d35(0x163)](_0x293975-0x1,!0x1,_0x428a6e,_0x2116cb)),_0x4bdb77){const {contentBoxPointGroup:_0x542ae4}=_0x1d93c7['getRangePointData'](_0x498e7e,_0x498e7e);if(_0x542ae4[_0x3f1d35(0x3fa)]===0x0)continue;this[_0x3f1d35(0x3c9)](_0x300bde,_0x542ae4,_0xb9f005,_0x1360fd,_0x34cdcf),this[_0x3f1d35(0x13e)]=this[_0x3f1d35(0x1e2)]();}if(_0x19dc2b&&_0x498e7e){if(_0x17b30b===_0x3a6e21[_0x3f1d35(0x244)][_0x3f1d35(0x215)]){const _0x3ddbd6=new _0x84c7b3[(_0x3f1d35(0x162))](_0x41b44e,_0xa1b88f),{pointGroup:_0x2ea0c0}=(_0x3e379b=_0x3ddbd6[_0x3f1d35(0x225)](_0x19dc2b,_0x498e7e))!=null?_0x3e379b:{};if(_0x2ea0c0==null||_0x2ea0c0[_0x3f1d35(0x3fa)]===0x0)continue;this[_0x3f1d35(0x2c2)](_0x300bde,_0x2ea0c0,_0xb9f005,_0x1360fd);}else{if(!_0x48c7ae){const {borderBoxPointGroup:_0x1e99ad}=_0x1d93c7[_0x3f1d35(0x225)](_0x19dc2b,_0x498e7e);if(_0x1e99ad['length']===0x0)continue;this[_0x3f1d35(0x165)](_0x300bde,_0x1e99ad,_0xb9f005,_0x1360fd);}}}}}[_0x356272(0x3c9)](_0x439119,_0x4d8417,_0x31f7a4,_0x19f46d,_0x2be4f1){const _0x14c021=_0x356272,_0x3971a6=this[_0x14c021(0x305)](_0x4d8417),{left:_0x54eb63,top:_0x5680fe,height:_0x3984f7}=_0x3971a6,_0x119632=this['_getScale'](),_0x3647a4=_0xc4a4db/_0x119632,_0x19ae97=new _0x946f81['Rect'](_0x899cf3+_0x3a6e21[_0x14c021(0x3de)](_0x22c1b7),{'left':_0x54eb63+_0x31f7a4-_0x3647a4,'top':_0x5680fe+_0x19f46d,'height':_0x3984f7,'width':_0x571fb0,'fill':_0x439119||_0x946f81[_0x14c021(0x39f)](_0x3a6e21['COLORS'][_0x14c021(0x38b)],0x0),'strokeWidth':_0x3647a4,'stroke':_0x3a6d00,'evented':!0x0});this['_anchor']=_0x19ae97,this[_0x14c021(0x356)][_0x14c021(0x40d)](_0x19ae97,_0x84c7b3[_0x14c021(0x316)]);const _0x57fb86=new _0x946f81[(_0x14c021(0x37a))](_0x899cf3+_0x3a6e21[_0x14c021(0x3de)](_0x22c1b7),{'left':_0x54eb63+_0x31f7a4-_0x3647a4,'top':_0x5680fe+_0x19f46d-_0x4a470b/0x2,'height':_0x4a470b,'width':_0x4a470b,'fill':_0x439119||_0x946f81['getColor'](_0x3a6e21[_0x14c021(0x250)][_0x14c021(0x38b)],0x0),'strokeWidth':0x0,'stroke':_0x439119||_0x946f81[_0x14c021(0x39f)](_0x3a6e21[_0x14c021(0x250)][_0x14c021(0x38b)],0x0),'evented':!0x1});this[_0x14c021(0x40b)]=_0x57fb86,this[_0x14c021(0x356)]['addObject'](_0x57fb86,_0x84c7b3[_0x14c021(0x316)]);const _0x219661=new _0xfa8ae1(_0x899cf3+_0x3a6e21[_0x14c021(0x3de)](_0x22c1b7),{'left':_0x54eb63+_0x31f7a4-_0x3647a4,'top':_0x5680fe+_0x19f46d-_0x1681a8,'text':_0x2be4f1,'color':_0x439119});this[_0x14c021(0x2be)]=_0x219661,this['_scene']['addObject'](_0x219661,_0x84c7b3[_0x14c021(0x316)]),this[_0x14c021(0x16d)]=!0x1;}[_0x356272(0x1e2)](){const _0x48c7e6=_0x356272,_0x33882b=this[_0x48c7e6(0x31d)][_0x48c7e6(0x1ec)]['subscribeEvent'](()=>{const _0x2d3f20=_0x48c7e6;this[_0x2d3f20(0x16d)]=!0x0;}),_0x8047e=this[_0x48c7e6(0x31d)][_0x48c7e6(0x177)]['subscribeEvent'](()=>{const _0x1340c0=_0x48c7e6;this[_0x1340c0(0x195)]&&clearTimeout(this[_0x1340c0(0x195)]),this['_hideTimer']=setTimeout(()=>{const _0x21f01a=_0x1340c0;this[_0x21f01a(0x16d)]=!0x1;},0x7d0);});return()=>{const _0x5795c7=_0x48c7e6;_0x33882b[_0x5795c7(0x172)](),_0x8047e[_0x5795c7(0x172)]();};}[_0x356272(0x165)](_0x2990a3,_0x45fd00,_0x4f778c,_0x2b3ea5){const _0x2eeb1f=_0x356272,_0x5c0772=new _0x3a6e21[(_0x2eeb1f(0x1bd))](_0x2990a3)['setAlpha'](0.2)[_0x2eeb1f(0x1ed)](),_0x2d6ba1=new _0x946f81[(_0x2eeb1f(0x13f))](_0x92e02e+_0x3a6e21['generateRandomId'](_0x22c1b7),{'pointsGroup':_0x45fd00,'fill':_0x5c0772||_0x946f81[_0x2eeb1f(0x39f)](_0x3a6e21[_0x2eeb1f(0x250)][_0x2eeb1f(0x38b)],0.2),'left':_0x4f778c,'top':_0x2b3ea5,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x2eeb1f(0x2cc)]['push'](_0x2d6ba1),this[_0x2eeb1f(0x356)]['addObject'](_0x2d6ba1,_0x84c7b3[_0x2eeb1f(0x316)]);}[_0x356272(0x2c2)](_0x3a065f,_0x16d494,_0x546a18,_0x545f48){const _0x3c7727=_0x356272,_0x50e0ff=new _0x3a6e21['ColorKit'](_0x3a065f)[_0x3c7727(0x3a2)](0.2)['toRgbString'](),_0x2391cf=new _0x946f81[(_0x3c7727(0x13f))](_0x2e5b29+_0x3a6e21[_0x3c7727(0x3de)](_0x22c1b7),{'pointsGroup':_0x16d494,'fill':_0x50e0ff||_0x946f81[_0x3c7727(0x39f)](_0x3a6e21['COLORS'][_0x3c7727(0x38b)],0.2),'left':_0x546a18,'top':_0x545f48,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x3c7727(0x2cc)]['push'](_0x2391cf),this['_scene']['addObject'](_0x2391cf,_0x84c7b3['TEXT_RANGE_LAYER_INDEX']);}[_0x356272(0x305)](_0x2f070d){const _0x37df86=_0x2f070d[0x0],_0xa02a9a=_0x37df86[0x0],_0x5b46cc=_0x37df86[0x2],{x:_0x15f620,y:_0x34e01b}=_0xa02a9a,{x:_0x232014,y:_0x503739}=_0x5b46cc;return{'left':_0x15f620,'top':_0x34e01b,'width':_0x232014-_0x15f620,'height':_0x503739-_0x34e01b};}[_0x356272(0x3ac)](){const _0x421819=_0x356272,{scaleX:_0x310196,scaleY:_0x5c17ce}=this['_scene'][_0x421819(0x2af)]();return Math[_0x421819(0x197)](_0x310196,_0x5c17ce);}}var _0x4c321e=Object[_0x356272(0x2dc)],_0x57ee18=(_0x29b3e6,_0x16c6cf,_0x5e05da,_0x556d03)=>{for(var _0x52ab5d=_0x556d03>0x1?void 0x0:_0x556d03?_0x4c321e(_0x16c6cf,_0x5e05da):_0x16c6cf,_0x3aad20=_0x29b3e6['length']-0x1,_0x2e29d0;_0x3aad20>=0x0;_0x3aad20--)(_0x2e29d0=_0x29b3e6[_0x3aad20])&&(_0x52ab5d=_0x2e29d0(_0x52ab5d)||_0x52ab5d);return _0x52ab5d;},_0x580698=(_0x1bc4e3,_0x270148)=>(_0xa68433,_0x34dae8)=>_0x270148(_0xa68433,_0x34dae8,_0x1bc4e3);let _0x3aff72=class extends _0x3a6e21[_0x356272(0x1a2)]{constructor(_0x3fd336,_0x3e0db7,_0x2612b3,_0x1a3f91,_0x121527){const _0x223f4f=_0x356272;super(),_0x49e47d(this,_0x223f4f(0x1e7),[]),_0x49e47d(this,_0x223f4f(0x1b8),[]),(this[_0x223f4f(0x11b)]=_0x3fd336,this[_0x223f4f(0x16e)]=_0x3e0db7,this[_0x223f4f(0x200)]=_0x2612b3,this[_0x223f4f(0x389)]=_0x1a3f91,this['_themeService']=_0x121527,this[_0x223f4f(0x2e0)]());}[_0x356272(0x2e0)](){const _0x1c806b=_0x356272,_0xefcf4c=this[_0x1c806b(0x11b)]['unitId'],_0x2067c6=this['_docSkeletonManagerService'];this[_0x1c806b(0x3b6)](_0x2289a4[_0x1c806b(0x1af)]([this[_0x1c806b(0x200)][_0x1c806b(0x202)](_0xefcf4c),this[_0x1c806b(0x314)][_0x1c806b(0x29e)]])['pipe'](_0xe1d652[_0x1c806b(0x27c)](([_0x519cb1,_0x3f0855])=>({'skeleton':_0x2067c6[_0x1c806b(0x227)](),'cursors':[..._0x519cb1[_0x1c806b(0x346)]()][_0x1c806b(0x15e)](_0x2afc54=>({..._0x2afc54,'color':this['_themeService'][_0x1c806b(0x28d)](_0x2afc54[_0x1c806b(0x18c)])}))})))[_0x1c806b(0x399)](_0x2b8469=>{const _0xb278a2=_0x1c806b;if(this[_0xb278a2(0x22e)](),_0x2b8469){const {skeleton:_0x90782a,cursors:_0x5b5440}=_0x2b8469;this[_0xb278a2(0x2e4)](_0x90782a,_0x5b5440);}})),this[_0x1c806b(0x396)](),this[_0x1c806b(0x34f)]();}['_updateCollabCursors'](_0x112283,_0x4d64d2){const _0xab95d4=_0x356272,{scene:_0xecc822,mainComponent:_0x59f5f1}=this['_context'],_0x456f47=_0x4d64d2[_0xab95d4(0x27c)](_0x58ea85=>new _0x479885(_0x58ea85,_0xecc822,_0x112283,_0x59f5f1));this[_0xab95d4(0x1e7)]=_0x456f47,this['_cursors']=_0x4d64d2;}[_0x356272(0x361)](){const _0x321da1=_0x356272;this[_0x321da1(0x22e)]();const {scene:_0x41a757,mainComponent:_0x11a228}=this[_0x321da1(0x11b)],_0x47379c=this[_0x321da1(0x16e)]['getSkeleton'](),_0x3ad5dc=this[_0x321da1(0x1b8)][_0x321da1(0x27c)](_0x2bdb9a=>new _0x479885(_0x2bdb9a,_0x41a757,_0x47379c,_0x11a228));this[_0x321da1(0x1e7)]=_0x3ad5dc;}[_0x356272(0x22e)](){const _0x4a3dc7=_0x356272;this[_0x4a3dc7(0x1e7)][_0x4a3dc7(0x280)](_0x312dec=>_0x312dec[_0x4a3dc7(0x1a0)]()),this[_0x4a3dc7(0x1e7)]=[];}[_0x356272(0x34f)](){const _0x1fa527=_0x356272,_0x134da2=[_0x84c7b3[_0x1fa527(0x39b)]['id']];this['disposeWithMe'](this[_0x1fa527(0x389)][_0x1fa527(0x3e3)](_0x5e4fe3=>{const _0x18260b=_0x1fa527;_0x134da2[_0x18260b(0x1c5)](_0x5e4fe3['id'])&&_0x5e4fe3['params']['unitId']===this[_0x18260b(0x11b)][_0x18260b(0x3cd)]&&this[_0x18260b(0x361)]();}));}['_initResize'](){const _0x29cdbc=_0x356272;this[_0x29cdbc(0x3b6)](_0x3a6e21[_0x29cdbc(0x25d)](this[_0x29cdbc(0x11b)]['engine'][_0x29cdbc(0x1ac)])[_0x29cdbc(0x328)](_0xe1d652[_0x29cdbc(0x24e)](_0x335b34=>_0x335b34['type']===_0x946f81['TRANSFORM_CHANGE_OBSERVABLE_TYPE'][_0x29cdbc(0x3c5)]),_0xe1d652[_0x29cdbc(0x31f)](0x10))[_0x29cdbc(0x399)](()=>{const _0x553a6f=_0x29cdbc;this[_0x553a6f(0x361)]();}));}};_0x3aff72=_0x57ee18([_0x580698(0x1,_0x3a6e21['Inject'](_0x2d1e6c['DocSkeletonManagerService'])),_0x580698(0x2,_0x3a6e21[_0x356272(0x1a5)](_0x277f63)),_0x580698(0x3,_0x3a6e21[_0x356272(0x220)]),_0x580698(0x4,_0x3a6e21[_0x356272(0x1a5)](_0x3a6e21[_0x356272(0x306)]))],_0x3aff72);const _0x51f80b=0x1,_0x51afe8=1.5;class _0x4266cc extends _0x946f81[_0x356272(0x3ad)]{constructor(_0x50b86f,_0x95b461){const _0x131744=_0x356272;super(_0x50b86f,_0x95b461),_0x49e47d(this,_0x131744(0x26e)),_0x49e47d(this,_0x131744(0x2de),!0x1),_0x49e47d(this,_0x131744(0x23f)),_0x49e47d(this,_0x131744(0x3a4),''),_0x49e47d(this,_0x131744(0x262),_0x131744(0x378)),_0x49e47d(this,_0x131744(0x3a1)),(_0x95b461&&this[_0x131744(0x154)](_0x95b461),this['onPointerEnter$']['subscribeEvent'](()=>this[_0x131744(0x154)]({'hovered':!0x0})),this['onPointerLeave$'][_0x131744(0x292)](()=>this[_0x131744(0x154)]({'hovered':!0x1})));}[_0x356272(0x154)](_0x369e8f){const _0x24e952=_0x356272;var _0x44e296,_0x204e64,_0xda0dfe,_0x5a0266,_0x2049ae,_0x238e4f;this[_0x24e952(0x26e)]=(_0x44e296=_0x369e8f['color'])!=null?_0x44e296:this[_0x24e952(0x26e)],this[_0x24e952(0x2de)]=(_0x204e64=_0x369e8f['hovered'])!=null?_0x204e64:this[_0x24e952(0x2de)],this[_0x24e952(0x23f)]=(_0xda0dfe=_0x369e8f['range'])!=null?_0xda0dfe:this[_0x24e952(0x23f)],this[_0x24e952(0x3a4)]=(_0x5a0266=_0x369e8f[_0x24e952(0x27f)])!=null?_0x5a0266:this[_0x24e952(0x3a4)],this[_0x24e952(0x262)]=(_0x2049ae=_0x369e8f[_0x24e952(0x376)])!=null?_0x2049ae:this[_0x24e952(0x262)],this[_0x24e952(0x3a1)]=(_0x238e4f=_0x369e8f[_0x24e952(0x2fc)])!=null?_0x238e4f:this['_backgroundColor'],this[_0x24e952(0x2c0)]({'width':_0x369e8f[_0x24e952(0x350)],'height':_0x369e8f[_0x24e952(0x18f)]});}[_0x356272(0x157)](_0x5aaa31){const _0x54072d=_0x356272,{row:_0x574fb3,column:_0x3b9676}=_0x5aaa31;if(_0x574fb3>=this[_0x54072d(0x23f)]['startRow']&&_0x574fb3<=this['_range'][_0x54072d(0x17d)]&&_0x3b9676>=this['_range'][_0x54072d(0x117)]&&_0x3b9676<=this[_0x54072d(0x23f)]['endColumn']){this[_0x54072d(0x154)]({'hovered':!0x0});return;}this[_0x54072d(0x154)]({'hovered':!0x1});}[_0x356272(0x2c8)](_0x2e7863){return!0x1;}['_draw'](_0x386c31){const _0x5cde9a=_0x356272;_0x946f81[_0x5cde9a(0x37a)][_0x5cde9a(0x36f)](_0x386c31,{'width':this['width'],'height':this[_0x5cde9a(0x18f)],'strokeWidth':_0x51afe8,'stroke':this[_0x5cde9a(0x26e)],'evented':!0x1,'fill':this[_0x5cde9a(0x3a1)]}),this['_hovered']&&(_0x386c31[_0x5cde9a(0x159)](),_0x386c31['transform'](0x1,0x0,0x0,0x1,this[_0x5cde9a(0x350)],this[_0x5cde9a(0x262)]===_0x5cde9a(0x355)?0x0:-_0x1681a8),_0xfa8ae1[_0x5cde9a(0x36f)](_0x386c31,{'text':this[_0x5cde9a(0x3a4)],'color':this[_0x5cde9a(0x26e)]}),_0x386c31[_0x5cde9a(0x124)]());}}var _0x53a2f6=Object['getOwnPropertyDescriptor'],_0x31a062=(_0x22a298,_0x315cd2,_0x98d3a1,_0x5d371a)=>{const _0x1090c9=_0x356272;for(var _0x5a709a=_0x5d371a>0x1?void 0x0:_0x5d371a?_0x53a2f6(_0x315cd2,_0x98d3a1):_0x315cd2,_0x1b42c9=_0x22a298[_0x1090c9(0x3fa)]-0x1,_0x397fad;_0x1b42c9>=0x0;_0x1b42c9--)(_0x397fad=_0x22a298[_0x1b42c9])&&(_0x5a709a=_0x397fad(_0x5a709a)||_0x5a709a);return _0x5a709a;},_0x7e47f3=(_0x218521,_0x558c6d)=>(_0x3bf78b,_0x5519af)=>_0x558c6d(_0x3bf78b,_0x5519af,_0x218521);const _0x24c684=0x1389;let _0x431563=class extends _0x3a6e21['RxDisposable']{constructor(_0x452381,_0x4ae16e,_0x1bb348,_0x4914c8){const _0x3f2c7e=_0x356272;super(),_0x49e47d(this,_0x3f2c7e(0x1b8),new Set()),_0x49e47d(this,_0x3f2c7e(0x11f),null),(this[_0x3f2c7e(0x11b)]=_0x452381,this[_0x3f2c7e(0x380)]=_0x4ae16e,this[_0x3f2c7e(0x200)]=_0x1bb348,this[_0x3f2c7e(0x314)]=_0x4914c8,this[_0x3f2c7e(0x2e0)]());}['_init'](){const _0x4fd832=_0x356272;this[_0x4fd832(0x380)][_0x4fd832(0x38e)][_0x4fd832(0x328)](_0xe1d652['takeUntil'](this['dispose$']),_0xe1d652['switchMap'](_0x3ca1c4=>{const _0x33a50c=_0x4fd832;if(_0x3ca1c4){const _0x499727=_0x3ca1c4[_0x33a50c(0x247)];return _0x2289a4[_0x33a50c(0x1af)](this[_0x33a50c(0x200)]['getCollabCursors$'](this[_0x33a50c(0x11b)][_0x33a50c(0x3cd)]),this[_0x33a50c(0x314)][_0x33a50c(0x29e)])[_0x33a50c(0x328)](_0xe1d652['map'](([_0x48c529,_0x140d29])=>{const _0x5cb74a=new Map();return _0x48c529['forEach']((_0x24b7bb,_0x40ef11)=>{const _0x31f199=_0x5992;if(_0x24b7bb[_0x31f199(0x340)]===_0x499727){const _0x52551d={..._0x24b7bb};_0x52551d[_0x31f199(0x18c)]=this['_themeService'][_0x31f199(0x28d)](_0x24b7bb[_0x31f199(0x18c)]),_0x5cb74a[_0x31f199(0x199)](_0x40ef11,_0x52551d);}}),{'skeleton':_0x3ca1c4,'cursors':_0x5cb74a};}));}return _0x2289a4['of']({'skeleton':null,'cursors':new Map()});}))[_0x4fd832(0x399)](({skeleton:_0x51c444,cursors:_0x20ff24})=>{const _0x242bbb=_0x4fd832;this[_0x242bbb(0x22e)](),_0x51c444&&this['_updateCollabCursors'](_0x51c444,_0x20ff24);}),this[_0x4fd832(0x380)][_0x4fd832(0x38e)][_0x4fd832(0x399)](_0x350998=>{const _0x37f07e=_0x4fd832;if(_0x350998==null)return;const {skeleton:_0x213ea0}=_0x350998,{scene:_0x1c2c48}=this[_0x37f07e(0x11b)];_0x1c2c48[_0x37f07e(0x3d4)][_0x37f07e(0x292)](_0x3a6e21[_0x37f07e(0x2b8)](_0x781d11=>{const _0x2b9b0a=_0x37f07e;var _0x7b00c7,_0x4cbcb8;const {offsetX:_0x5e95b0,offsetY:_0x122aaf}=_0x781d11,{x:_0x5c3327,y:_0x235324}=_0x1c2c48[_0x2b9b0a(0x1fe)](_0x946f81[_0x2b9b0a(0x36e)][_0x2b9b0a(0x402)]([_0x5e95b0,_0x122aaf])),{scaleX:_0x4f0721,scaleY:_0x6409f4}=_0x1c2c48[_0x2b9b0a(0x2af)](),_0x4d416f=_0x1c2c48['getViewport'](_0x946f81['SHEET_VIEWPORT_KEY'][_0x2b9b0a(0x1d3)]),_0x4be20a=_0x1c2c48[_0x2b9b0a(0x241)](_0x946f81[_0x2b9b0a(0x36e)][_0x2b9b0a(0x402)]([_0x5c3327,_0x235324]),_0x4d416f),_0x19a827=_0x213ea0[_0x2b9b0a(0x1cc)](_0x5e95b0,_0x122aaf,_0x4f0721,_0x6409f4,_0x4be20a);((_0x7b00c7=this[_0x2b9b0a(0x11f)])==null?void 0x0:_0x7b00c7[_0x2b9b0a(0x403)])===_0x19a827[_0x2b9b0a(0x403)]&&((_0x4cbcb8=this[_0x2b9b0a(0x11f)])==null?void 0x0:_0x4cbcb8[_0x2b9b0a(0x3d7)])===_0x19a827[_0x2b9b0a(0x3d7)]||this['_cursors'][_0x2b9b0a(0x280)](_0xfff3cc=>{_0xfff3cc['onMouseMove'](_0x19a827);});},0x64));});}['_updateCollabCursors'](_0x3a06ca,_0x6bf608){const _0x56c3ff=_0x356272;var _0x1e7f74;const _0x5ae2b5=(_0x1e7f74=this[_0x56c3ff(0x380)]['getCurrent']())==null?void 0x0:_0x1e7f74[_0x56c3ff(0x3d1)];if(!_0x5ae2b5)return;const _0xb7baf0=this[_0x56c3ff(0x1bc)]();if(!_0xb7baf0)return;this['_cursors'][_0x56c3ff(0x280)](_0x3368c9=>{const _0x4478cd=_0x56c3ff;_0x3368c9[_0x4478cd(0x36d)]();});const {scene:_0x49d8e0}=_0xb7baf0,_0x42eae5=_0x51cb5a(Array[_0x56c3ff(0x269)](_0x6bf608[_0x56c3ff(0x346)]()))[_0x56c3ff(0x27c)](_0x1e4876=>{const _0xe13d6d=_0x56c3ff,{color:_0x2dca24,range:_0x20cf8d,name:_0xa31a4e,selection:_0x5011a1,sheetID:_0x50c4cd}=_0x1e4876,{startColumn:_0x514023,startRow:_0x9793a3,endColumn:_0x2a30e2,endRow:_0x1e622f}=_0x20cf8d,_0x122596=_0x127e25[_0xe13d6d(0x1cf)](_0x9793a3,_0x514023,_0x49d8e0,_0x5ae2b5),_0x20b268=_0x127e25[_0xe13d6d(0x1cf)](_0x1e622f,_0x2a30e2,_0x49d8e0,_0x5ae2b5),{columnHeaderHeightAndMarginTop:_0x70966c}=_0x5ae2b5,{startX:_0x562997,startY:_0x43cc47}=_0x122596,{endX:_0x29b19b,endY:_0x3d6797}=_0x20b268,_0x3fde9=_0x29b19b-_0x562997,_0x3126c7=_0x3d6797-_0x43cc47,_0xe8c77e={'labelPosition':_0x43cc47-_0x70966c>=_0x1681a8?_0xe13d6d(0x378):'bottom','sheetID':_0x50c4cd,'range':_0x20cf8d,'color':_0x2dca24,'name':_0xa31a4e,'selection':_0x5011a1,'left':_0x562997,'top':_0x43cc47,'width':_0x3fde9,'height':_0x3126c7,'evented':!0x1,'zIndex':_0x24c684};return new _0x4266cc(_0xa31a4e,_0xe8c77e);});_0x49d8e0['addObjects'](_0x42eae5,_0x51f80b),this['_cursors']=new Set(_0x42eae5);}[_0x356272(0x22e)](){const _0x5d82f3=_0x356272;var _0x4635c4;(_0x4635c4=this[_0x5d82f3(0x1b8)])==null||_0x4635c4[_0x5d82f3(0x280)](_0x46300c=>_0x46300c[_0x5d82f3(0x1a0)]());}[_0x356272(0x1bc)](){const _0x37573c=_0x356272;return _0x127e25[_0x37573c(0x40c)](this[_0x37573c(0x11b)][_0x37573c(0x3c7)],this['_context']);}};_0x431563=_0x31a062([_0x7e47f3(0x1,_0x3a6e21['Inject'](_0x127e25[_0x356272(0x251)])),_0x7e47f3(0x2,_0x3a6e21[_0x356272(0x1a5)](_0x277f63)),_0x7e47f3(0x3,_0x3a6e21[_0x356272(0x1a5)](_0x3a6e21[_0x356272(0x306)]))],_0x431563);function _0x51cb5a(_0x582e20){const _0x2638ff=_0x356272,_0x4bf867=new Map();return _0x582e20[_0x2638ff(0x280)](_0x3c005a=>{const _0x439617=_0x2638ff;if(_0x4bf867[_0x439617(0x217)](_0x3c005a[_0x439617(0x191)])){const _0x48de8c=_0x4bf867['get'](_0x3c005a['selection']);_0x48de8c['name']+=',\x20'+_0x3c005a[_0x439617(0x27f)];}else _0x4bf867[_0x439617(0x199)](_0x3c005a[_0x439617(0x191)],_0x3c005a);}),Array[_0x2638ff(0x269)](_0x4bf867[_0x2638ff(0x346)]());}var _0x5d2989=Object[_0x356272(0x2dc)],_0x54eac7=(_0x7fd23,_0x669b5a,_0x2c7c09,_0x5533ce)=>{const _0x3565c1=_0x356272;for(var _0x46310e=_0x5533ce>0x1?void 0x0:_0x5533ce?_0x5d2989(_0x669b5a,_0x2c7c09):_0x669b5a,_0x4b03c4=_0x7fd23[_0x3565c1(0x3fa)]-0x1,_0x159537;_0x4b03c4>=0x0;_0x4b03c4--)(_0x159537=_0x7fd23[_0x4b03c4])&&(_0x46310e=_0x159537(_0x46310e)||_0x46310e);return _0x46310e;},_0x51d49c=(_0x482ff3,_0x5dde51)=>(_0x47758f,_0x2ab468)=>_0x5dde51(_0x47758f,_0x2ab468,_0x482ff3);let _0x3bdfa5=class extends _0x3a6e21[_0x356272(0x257)]{constructor(_0x1fb989,_0xe12f55,_0x57e3d5,_0x4fda68,_0x30b209,_0x1b2cad){const _0x2b26a2=_0x356272;super(),this[_0x2b26a2(0x2bd)]=_0x1fb989,this[_0x2b26a2(0x32c)]=_0xe12f55,this[_0x2b26a2(0x127)]=_0x57e3d5,this['_messageService']=_0x4fda68,this[_0x2b26a2(0x184)]=_0x30b209,this[_0x2b26a2(0x35b)]=_0x1b2cad,this['_setupBeforeClosingHandler'](),this[_0x2b26a2(0x15a)]();}[_0x356272(0x2a9)](){const _0x5912e4=_0x356272;this['disposeWithMe'](this[_0x5912e4(0x2bd)][_0x5912e4(0x263)](()=>{const _0xc91ce2=_0x5912e4;if(this[_0xc91ce2(0x32c)][_0xc91ce2(0x20a)][_0xc91ce2(0x259)])return this['_localeService']['t'](_0xc91ce2(0x324));}));}[_0x356272(0x15a)](){const _0x6eec01=_0x356272;this[_0x6eec01(0x3b6)](this[_0x6eec01(0x127)][_0x6eec01(0x3b2)]['subscribe'](_0x53a72c=>{const _0x6e8bfc=_0x6eec01;_0x53a72c['id']===_0x977231['CollaborationUIEventId'][_0x6e8bfc(0x3a8)]&&this['_messageService'][_0x6e8bfc(0x15c)]({'type':_0x9f2908[_0x6e8bfc(0x136)][_0x6e8bfc(0x28a)],'content':this[_0x6e8bfc(0x35b)]['t'](_0x6e8bfc(0x253))}),_0x53a72c['id']===_0x977231[_0x6e8bfc(0x2c4)][_0x6e8bfc(0x3a5)]&&this[_0x6e8bfc(0x28b)][_0x6e8bfc(0x15c)]({'type':_0x9f2908[_0x6e8bfc(0x136)]['Warning'],'content':this[_0x6e8bfc(0x35b)]['t'](_0x6e8bfc(0x393))}),_0x53a72c['id']===_0x977231['CollaborationUIEventId'][_0x6e8bfc(0x1a3)]&&this['_notificationService'][_0x6e8bfc(0x15c)]({'title':this['_localeService']['t'](_0x6e8bfc(0x323)),'content':this[_0x6e8bfc(0x35b)]['t']('permission.content'),'type':'error','duration':0x0}),_0x53a72c['id']===_0x977231[_0x6e8bfc(0x2c4)][_0x6e8bfc(0x1df)]&&this[_0x6e8bfc(0x28b)][_0x6e8bfc(0x15c)]({'type':_0x9f2908[_0x6e8bfc(0x136)]['Error'],'content':this['_localeService']['t']('collaboration.closeRoom')+'('+_0x53a72c[_0x6e8bfc(0x386)]+')'}),_0x53a72c['id']===_0x977231[_0x6e8bfc(0x2c4)][_0x6e8bfc(0x183)]&&this[_0x6e8bfc(0x28b)][_0x6e8bfc(0x15c)]({'type':_0x9f2908[_0x6e8bfc(0x136)][_0x6e8bfc(0x28a)],'content':this[_0x6e8bfc(0x35b)]['t'](_0x53a72c[_0x6e8bfc(0x386)]||'')}),_0x53a72c['id']===_0x977231[_0x6e8bfc(0x2c4)]['SOCKET_FAILED_RETRY']&&this[_0x6e8bfc(0x28b)]['show']({'type':_0x9f2908[_0x6e8bfc(0x136)][_0x6e8bfc(0x28a)],'content':this[_0x6e8bfc(0x35b)]['t'](_0x6e8bfc(0x275))}),_0x53a72c['id']===_0x977231[_0x6e8bfc(0x2c4)]['SOCKET_FAILED']&&this[_0x6e8bfc(0x28b)][_0x6e8bfc(0x15c)]({'type':_0x9f2908['MessageType'][_0x6e8bfc(0x364)],'content':this[_0x6e8bfc(0x35b)]['t'](_0x6e8bfc(0x3ca))}),_0x53a72c['id']===_0x977231[_0x6e8bfc(0x2c4)][_0x6e8bfc(0x119)]&&this['_messageService'][_0x6e8bfc(0x15c)]({'type':_0x9f2908[_0x6e8bfc(0x136)][_0x6e8bfc(0x364)],'content':this[_0x6e8bfc(0x35b)]['t']('session.collaboration-timeout')});}));}};_0x3bdfa5=_0x54eac7([_0x51d49c(0x0,_0x149c92[_0x356272(0x27b)]),_0x51d49c(0x1,_0x977231[_0x356272(0x11c)]),_0x51d49c(0x2,_0x3a6e21[_0x356272(0x1a5)](_0x977231[_0x356272(0x349)])),_0x51d49c(0x3,_0x149c92[_0x356272(0x3ea)]),_0x51d49c(0x4,_0x149c92['INotificationService']),_0x51d49c(0x5,_0x3a6e21[_0x356272(0x1a5)](_0x3a6e21[_0x356272(0x36a)]))],_0x3bdfa5);var _0x14685d=Object[_0x356272(0x2dc)],_0x91d6f7=(_0x4049ea,_0x4b87bb,_0x1b3573,_0x6da8c7)=>{const _0x1dfe54=_0x356272;for(var _0x5d8e87=_0x6da8c7>0x1?void 0x0:_0x6da8c7?_0x14685d(_0x4b87bb,_0x1b3573):_0x4b87bb,_0x4cb451=_0x4049ea[_0x1dfe54(0x3fa)]-0x1,_0x51fcb1;_0x4cb451>=0x0;_0x4cb451--)(_0x51fcb1=_0x4049ea[_0x4cb451])&&(_0x5d8e87=_0x51fcb1(_0x5d8e87)||_0x5d8e87);return _0x5d8e87;},_0xaa2695=(_0x224abb,_0x49c2b1)=>(_0x588e2c,_0x1aa270)=>_0x49c2b1(_0x588e2c,_0x1aa270,_0x224abb);let _0x327c1e=class extends _0x3a6e21[_0x356272(0x257)]{constructor(_0x668bbd,_0x373ddd,_0x3af41b,_0x5f4359){const _0x5cfc7c=_0x356272;super(),_0x49e47d(this,'_memberID'),(this[_0x5cfc7c(0x228)]=_0x668bbd,this[_0x5cfc7c(0x2b6)]=_0x373ddd,this[_0x5cfc7c(0x3b4)]=_0x3af41b,this[_0x5cfc7c(0x37e)]=_0x5f4359,this[_0x5cfc7c(0x2e0)]());}['_init'](){const _0xc3791=_0x356272;this['_initWindowErrorListener'](),this['_initUnhandledRejectionListener'](),this['_monkeyPatchLogService'](),this[_0xc3791(0x1ca)]();}[_0x356272(0x1ca)](){const _0x5821b3=_0x356272;this[_0x5821b3(0x3b6)](this[_0x5821b3(0x37e)]['socket$']['subscribe'](_0x4f0163=>{const _0x5030f5=_0x5821b3;this[_0x5030f5(0x32a)]=_0x4f0163==null?void 0x0:_0x4f0163[_0x5030f5(0x25e)];}));}['_initWindowErrorListener'](){const _0x1f8d26=_0x356272,_0x3aa39b=_0x568116=>{const _0x5c0c91=_0x5992;var _0x955872;this[_0x5c0c91(0x311)](_0x5c0c91(0x308),'[Window\x20Error]:\x20'+_0x568116[_0x5c0c91(0x320)]+_0x5c0c91(0x20e)+_0x568116[_0x5c0c91(0x264)]+':'+_0x568116[_0x5c0c91(0x11a)]+':'+_0x568116[_0x5c0c91(0x319)]+'\x0a'+(((_0x955872=_0x568116[_0x5c0c91(0x308)])==null?void 0x0:_0x955872[_0x5c0c91(0x285)])||''));};window[_0x1f8d26(0x1a7)]('error',_0x3aa39b),this['disposeWithMe'](()=>{const _0x18173d=_0x1f8d26;window[_0x18173d(0x26f)](_0x18173d(0x308),_0x3aa39b);});}[_0x356272(0x19e)](){const _0x5e3bd9=_0x356272,_0x4bb0d4=_0x147d58=>{const _0x246ad3=_0x5992;this[_0x246ad3(0x311)](_0x246ad3(0x308),_0x246ad3(0x2e6)+_0x147d58[_0x246ad3(0x1b3)]);};window[_0x5e3bd9(0x1a7)](_0x5e3bd9(0x11e),_0x4bb0d4),this[_0x5e3bd9(0x3b6)](()=>{const _0x4b1226=_0x5e3bd9;window[_0x4b1226(0x26f)]('unhandledrejection',_0x4bb0d4);});}[_0x356272(0x3db)](){const _0x40b744=_0x356272,_0x498d3f=this[_0x40b744(0x3b4)][_0x40b744(0x308)]['bind'](this[_0x40b744(0x3b4)]);this[_0x40b744(0x3b4)][_0x40b744(0x308)]=(..._0x96871e)=>{const _0xc554cb=_0x40b744,_0x36f885=_0x96871e[_0xc554cb(0x27c)](_0x14b1d4=>_0x14b1d4 instanceof Error?_0x14b1d4['message']+'\x0a'+_0x14b1d4[_0xc554cb(0x285)]:String(_0x14b1d4))['join']('\x20');this[_0xc554cb(0x311)](_0xc554cb(0x308),'[LogService\x20Error]:\x20'+_0x36f885),_0x498d3f(..._0x96871e);},this[_0x40b744(0x3b6)](()=>{const _0x84659f=_0x40b744;this[_0x84659f(0x3b4)][_0x84659f(0x308)]=_0x498d3f;});}[_0x356272(0x311)](_0xf628f1,_0x343c2a){const _0x1d7a96=_0x356272;try{const _0x181fa7={'userId':this[_0x1d7a96(0x32a)],'logLabel':_0xf628f1,'content':_0x343c2a};this[_0x1d7a96(0x2b6)][_0x1d7a96(0x22b)](_0x1d7a96(0x3e8),{'body':_0x181fa7})['catch'](()=>{});}catch{}}};_0x327c1e=_0x91d6f7([_0xaa2695(0x0,_0x3a6e21[_0x356272(0x1a5)](_0x3a6e21[_0x356272(0x238)])),_0xaa2695(0x1,_0x3a6e21[_0x356272(0x1a5)](_0x56d9d2[_0x356272(0x2f6)])),_0xaa2695(0x2,_0x3a6e21[_0x356272(0x266)]),_0xaa2695(0x3,_0x3a6e21[_0x356272(0x1a5)](_0x977231[_0x356272(0x30b)]))],_0x327c1e);const _0x2f3b95=_0x356272(0x246),_0x2da973={};var _0x4d667a=Object['getOwnPropertyDescriptor'],_0xbcdc17=(_0x529323,_0x36ab3c,_0x723f01,_0x7a4a61)=>{for(var _0x71953c=_0x7a4a61>0x1?void 0x0:_0x7a4a61?_0x4d667a(_0x36ab3c,_0x723f01):_0x36ab3c,_0x21a435=_0x529323['length']-0x1,_0x4a04cb;_0x21a435>=0x0;_0x21a435--)(_0x4a04cb=_0x529323[_0x21a435])&&(_0x71953c=_0x4a04cb(_0x71953c)||_0x71953c);return _0x71953c;},_0x148ba7=(_0x20fbba,_0x3ca520)=>(_0x56b595,_0x57d342)=>_0x3ca520(_0x56b595,_0x57d342,_0x20fbba);let _0x275c6d=class{constructor(_0x380926,_0x185f09){const _0xcb04a2=_0x356272;this[_0xcb04a2(0x2fd)]=_0x380926,this[_0xcb04a2(0x218)]=_0x185f09;}['transformIMECache'](_0xd1842b){const _0x2b4947=_0x356272;this['_transformUndoRedoStack'](_0xd1842b),this[_0x2b4947(0x2d2)](_0xd1842b);}[_0x356272(0x385)](_0x349697){const _0x3cd205=_0x356272,{unitID:_0x3e22c1}=_0x349697,_0x1a31d0=this[_0x3cd205(0x218)][_0x3cd205(0x1d4)](_0x3e22c1)['with'](_0x84c7b3[_0x3cd205(0x2b0)]),{redoCache:_0x53fa45}=_0x1a31d0[_0x3cd205(0x133)]();if(_0x53fa45[_0x3cd205(0x3fa)]===0x0)return _0x349697;let _0x1bcf0f=_0x3a6e21[_0x3cd205(0x234)]['deepClone'](_0x349697[_0x3cd205(0x2a1)][0x0]);for(let _0x2a2cf6=0x0;_0x2a2cf6<_0x53fa45[_0x3cd205(0x3fa)];_0x2a2cf6++){const _0xe7ee8c={'id':_0x3cd205(0x2b2),'params':{..._0x53fa45[_0x2a2cf6]}},_0x5432e6=this[_0x3cd205(0x2fd)][_0x3cd205(0x17b)](_0x1bcf0f,_0xe7ee8c,!0x1);if(_0x3d0ca4[_0x3cd205(0x1fc)](_0x5432e6))throw _0x5432e6[_0x3cd205(0x308)];_0x1bcf0f=_0x5432e6[_0x3cd205(0x1a9)];}return{..._0x3a6e21[_0x3cd205(0x234)]['deepClone'](_0x349697),'mutations':[_0x1bcf0f]};}['_transformUndoRedoStack'](_0x85110f){const _0x53c069=_0x356272,{unitID:_0x1dacd9}=_0x85110f,_0x99b0a5=this[_0x53c069(0x218)][_0x53c069(0x1d4)](_0x1dacd9)['with'](_0x84c7b3[_0x53c069(0x2b0)]),{undoCache:_0x599598,redoCache:_0x5d0b40}=_0x99b0a5[_0x53c069(0x133)]();if(_0x599598[_0x53c069(0x3fa)]===0x0||_0x5d0b40[_0x53c069(0x3fa)]===0x0)return;const _0x11ea05=[],_0x2d0565=[];let _0x207ad0=_0x3a6e21[_0x53c069(0x234)][_0x53c069(0x315)](_0x85110f[_0x53c069(0x2a1)][0x0]),_0x41f3ae=_0x3a6e21[_0x53c069(0x234)]['deepClone'](_0x85110f['mutations'][0x0]);for(let _0x3763b6=_0x599598[_0x53c069(0x3fa)]-0x1;_0x3763b6>=0x0;_0x3763b6--){const _0x40574a={'id':_0x53c069(0x2b2),'params':{..._0x599598[_0x3763b6]}},_0x48a582={'id':'doc.mutation.rich-text-editing','params':{..._0x5d0b40[_0x3763b6]}},_0x2b6e35=this['_transformService'][_0x53c069(0x17b)](_0x207ad0,_0x40574a,!0x1),_0x5d3711=this[_0x53c069(0x2fd)][_0x53c069(0x17b)](_0x41f3ae,_0x48a582,!0x1);if(_0x3d0ca4['isTransformMutationFailure'](_0x2b6e35))throw _0x2b6e35[_0x53c069(0x308)];if(_0x3d0ca4['isTransformMutationFailure'](_0x5d3711))throw _0x5d3711[_0x53c069(0x308)];_0x11ea05[_0x53c069(0x34c)](_0x2b6e35[_0x53c069(0x3da)][_0x53c069(0x3df)]),_0x2d0565['unshift'](_0x5d3711[_0x53c069(0x3da)][_0x53c069(0x3df)]),_0x207ad0=_0x2b6e35[_0x53c069(0x1a9)],_0x41f3ae=_0x5d3711[_0x53c069(0x1a9)];}_0x99b0a5[_0x53c069(0x362)]({'undoCache':_0x11ea05,'redoCache':_0x2d0565});}[_0x356272(0x2d2)](_0x529d44){const _0xc20f6b=_0x356272,{unitID:_0x52cbf9}=_0x529d44,_0x67e48f=this[_0xc20f6b(0x218)][_0xc20f6b(0x1d4)](_0x52cbf9)['with'](_0x84c7b3['DocIMEInputManagerService']),_0x4eaf16=_0x67e48f[_0xc20f6b(0x2b9)]();if(_0x4eaf16==null)return;const _0x2c91ff=[{'id':_0xc20f6b(0x2b2),'params':{'unitId':_0x529d44[_0xc20f6b(0x138)],'actions':null,'textRanges':[_0x4eaf16]}}],_0x312988=this['_transformService'][_0xc20f6b(0x276)](_0x529d44,_0x2c91ff);if(!_0x3d0ca4[_0xc20f6b(0x1fd)](_0x312988))throw _0x312988[_0xc20f6b(0x308)];const _0x154285=_0x312988[_0xc20f6b(0x3da)][0x0]['params']['textRanges'];Array['isArray'](_0x154285)&&_0x154285[_0xc20f6b(0x3fa)]&&_0x67e48f[_0xc20f6b(0x3e2)](_0x154285[0x0]);}};_0x275c6d=_0xbcdc17([_0x148ba7(0x0,_0x3d0ca4['ITransformService']),_0x148ba7(0x1,_0x946f81[_0x356272(0x395)])],_0x275c6d);var _0x184d06=Object['getOwnPropertyDescriptor'],_0x2ec8df=(_0x9678f2,_0x280f31,_0x4ae55b,_0x5be264)=>{const _0xd9ad02=_0x356272;for(var _0x2b1a16=_0x5be264>0x1?void 0x0:_0x5be264?_0x184d06(_0x280f31,_0x4ae55b):_0x280f31,_0x56c038=_0x9678f2[_0xd9ad02(0x3fa)]-0x1,_0x25e49b;_0x56c038>=0x0;_0x56c038--)(_0x25e49b=_0x9678f2[_0x56c038])&&(_0x2b1a16=_0x25e49b(_0x2b1a16)||_0x2b1a16);return _0x2b1a16;},_0x223f41=(_0x2f7808,_0x919bcc)=>(_0x3eaee9,_0x4ea62b)=>_0x919bcc(_0x3eaee9,_0x4ea62b,_0x2f7808);let _0x50ea12=class{constructor(_0x4c2ac0,_0x52e525,_0x4881e0){const _0x19c66b=_0x356272;this['_injector']=_0x4c2ac0,this[_0x19c66b(0x2fd)]=_0x52e525,this[_0x19c66b(0x326)]=_0x4881e0;}[_0x356272(0x13c)](_0x573a74){const _0x1b81c0=_0x356272;this[_0x1b81c0(0x32b)](_0x573a74);}[_0x356272(0x385)](_0x265136){const _0x24e55f=_0x356272,{unitID:_0x44d112}=_0x265136,{collaboration:_0x3ad990}=this[_0x24e55f(0x326)]['getStateCache'](_0x44d112);if(_0x3ad990['length']===0x0)return _0x265136;let _0x5dff27=_0x3a6e21[_0x24e55f(0x234)][_0x24e55f(0x315)](_0x265136[_0x24e55f(0x2a1)][0x0]);for(let _0x598d45=0x0;_0x598d45<_0x3ad990[_0x24e55f(0x3fa)];_0x598d45++){const _0x3ab4d8={'id':_0x24e55f(0x2b2),'params':{'unitId':_0x3ad990[_0x598d45][_0x24e55f(0x3cd)],..._0x3ad990[_0x598d45][_0x24e55f(0x221)]}},_0x32a077=this[_0x24e55f(0x2fd)][_0x24e55f(0x17b)](_0x5dff27,_0x3ab4d8,!0x1);if(_0x3d0ca4['isTransformMutationFailure'](_0x32a077))throw _0x32a077[_0x24e55f(0x308)];_0x5dff27=_0x32a077['m1Prime'];}return{..._0x3a6e21[_0x24e55f(0x234)][_0x24e55f(0x315)](_0x265136),'mutations':[_0x5dff27]};}[_0x356272(0x32b)](_0x38b7e1){const _0x589d94=_0x356272,{unitID:_0x1499be}=_0x38b7e1,{history:_0x413454,collaboration:_0x3c1028}=this[_0x589d94(0x326)][_0x589d94(0x30c)](_0x1499be);if(_0x413454[_0x589d94(0x3fa)]===0x0&&_0x3c1028['length']===0x0)return;const _0x5e3529=[],_0xe63534=[];let _0x22961f=_0x3a6e21['Tools'][_0x589d94(0x315)](_0x38b7e1[_0x589d94(0x2a1)][0x0]),_0x5079cb=_0x3a6e21['Tools']['deepClone'](_0x38b7e1['mutations'][0x0]);for(let _0xe4d5d6=_0x413454[_0x589d94(0x3fa)]-0x1;_0xe4d5d6>=0x0;_0xe4d5d6--){const _0xbf2baa={'id':_0x589d94(0x2b2),'params':{'unitId':_0x413454[_0xe4d5d6][_0x589d94(0x3cd)],..._0x413454[_0xe4d5d6][_0x589d94(0x193)]}},_0x1b5f3b={'id':_0x589d94(0x2b2),'params':{'unitId':_0x413454[_0xe4d5d6][_0x589d94(0x3cd)],..._0x413454[_0xe4d5d6][_0x589d94(0x221)]}},_0x4c9f3=this[_0x589d94(0x2fd)][_0x589d94(0x17b)](_0x22961f,_0xbf2baa,!0x1),_0xcccd0b=this['_transformService'][_0x589d94(0x17b)](_0x5079cb,_0x1b5f3b,!0x1);if(_0x3d0ca4[_0x589d94(0x1fc)](_0x4c9f3))throw _0x4c9f3[_0x589d94(0x308)];if(_0x3d0ca4[_0x589d94(0x1fc)](_0xcccd0b))throw _0xcccd0b[_0x589d94(0x308)];_0x5e3529['unshift']({..._0x413454[_0xe4d5d6],'undoState':_0x4c9f3[_0x589d94(0x3da)]['params'],'redoState':_0xcccd0b[_0x589d94(0x3da)][_0x589d94(0x3df)]}),_0x22961f=_0x4c9f3['m1Prime'],_0x5079cb=_0xcccd0b[_0x589d94(0x1a9)];}_0x22961f=_0x3a6e21[_0x589d94(0x234)][_0x589d94(0x315)](_0x38b7e1[_0x589d94(0x2a1)][0x0]),_0x5079cb=_0x3a6e21[_0x589d94(0x234)][_0x589d94(0x315)](_0x38b7e1[_0x589d94(0x2a1)][0x0]);for(let _0x36f2d3=_0x3c1028[_0x589d94(0x3fa)]-0x1;_0x36f2d3>=0x0;_0x36f2d3--){const _0x298d09={'id':_0x589d94(0x2b2),'params':{'unitId':_0x3c1028[_0x36f2d3][_0x589d94(0x3cd)],..._0x3c1028[_0x36f2d3][_0x589d94(0x193)]}},_0x55b800={'id':_0x589d94(0x2b2),'params':{'unitId':_0x3c1028[_0x36f2d3][_0x589d94(0x3cd)],..._0x3c1028[_0x36f2d3]['redoState']}},_0x1dbe2c=this['_transformService'][_0x589d94(0x17b)](_0x22961f,_0x298d09,!0x1),_0x2f6098=this[_0x589d94(0x2fd)]['transformMutation'](_0x5079cb,_0x55b800,!0x1);if(_0x3d0ca4[_0x589d94(0x1fc)](_0x1dbe2c))throw _0x1dbe2c['error'];if(_0x3d0ca4[_0x589d94(0x1fc)](_0x2f6098))throw _0x2f6098[_0x589d94(0x308)];_0xe63534[_0x589d94(0x34c)]({..._0x3c1028[_0x36f2d3],'undoState':_0x1dbe2c['m2Prime'][_0x589d94(0x3df)],'redoState':_0x2f6098['m2Prime'][_0x589d94(0x3df)]}),_0x22961f=_0x1dbe2c[_0x589d94(0x1a9)],_0x5079cb=_0x2f6098['m1Prime'];}this[_0x589d94(0x326)]['setStateCache'](_0x1499be,{'history':_0x5e3529,'collaboration':_0xe63534});}};_0x50ea12=_0x2ec8df([_0x223f41(0x0,_0x3a6e21[_0x356272(0x1a5)](_0x3a6e21[_0x356272(0x238)])),_0x223f41(0x1,_0x3d0ca4[_0x356272(0x261)]),_0x223f41(0x2,_0x3a6e21['Inject'](_0x84c7b3[_0x356272(0x216)]))],_0x50ea12);var _0x3a706a=Object[_0x356272(0x2dc)],_0x2d8117=(_0x119dd1,_0x190d83,_0x53160b,_0x26b074)=>{for(var _0x24342b=_0x26b074>0x1?void 0x0:_0x26b074?_0x3a706a(_0x190d83,_0x53160b):_0x190d83,_0x3603ba=_0x119dd1['length']-0x1,_0x53a6ea;_0x3603ba>=0x0;_0x3603ba--)(_0x53a6ea=_0x119dd1[_0x3603ba])&&(_0x24342b=_0x53a6ea(_0x24342b)||_0x24342b);return _0x24342b;},_0x2b467d=(_0x59a67a,_0x473c8e)=>(_0x14b696,_0x898bd7)=>_0x473c8e(_0x14b696,_0x898bd7,_0x59a67a);let _0x220ce5=class{constructor(_0x1a6379,_0xf6323b){const _0x47aac4=_0x356272;this[_0x47aac4(0x228)]=_0x1a6379,this[_0x47aac4(0x2fd)]=_0xf6323b;}[_0x356272(0x222)](_0x280bfc){const _0x117189=_0x356272;var _0x52cee3;const _0x31fe3d=this[_0x117189(0x228)]['get'](_0x2d1e6c[_0x117189(0x21b)]),_0x50938d=(_0x52cee3=_0x31fe3d[_0x117189(0x120)]())!=null?_0x52cee3:[];if(_0x50938d[_0x117189(0x3fa)]===0x0)return;const _0x4c68c7=_0x280bfc[_0x117189(0x138)],_0x1da503=[{'id':_0x117189(0x2b2),'params':{'unitId':_0x4c68c7,'actions':null,'textRanges':_0x50938d}}],_0x2087f7=this['_transformService'][_0x117189(0x276)](_0x280bfc,_0x1da503);if(!_0x3d0ca4[_0x117189(0x1fd)](_0x2087f7))throw _0x2087f7['error'];const _0x1b893a=_0x2087f7[_0x117189(0x3da)][0x0][_0x117189(0x3df)][_0x117189(0x187)];Array[_0x117189(0x176)](_0x1b893a)&&_0x1b893a['length']&&_0x31fe3d[_0x117189(0x2f2)](_0x1b893a,{'unitId':_0x4c68c7,'subUnitId':_0x4c68c7},!0x1);}};_0x220ce5=_0x2d8117([_0x2b467d(0x0,_0x3a6e21[_0x356272(0x1a5)](_0x3a6e21['Injector'])),_0x2b467d(0x1,_0x3d0ca4[_0x356272(0x261)])],_0x220ce5);var _0x2f040e=Object[_0x356272(0x2dc)],_0x39b1da=(_0x42981c,_0x37c875,_0x1f55c5,_0xd84f37)=>{const _0x343e32=_0x356272;for(var _0x30b5b4=_0xd84f37>0x1?void 0x0:_0xd84f37?_0x2f040e(_0x37c875,_0x1f55c5):_0x37c875,_0x27934e=_0x42981c[_0x343e32(0x3fa)]-0x1,_0x46246d;_0x27934e>=0x0;_0x27934e--)(_0x46246d=_0x42981c[_0x27934e])&&(_0x30b5b4=_0x46246d(_0x30b5b4)||_0x30b5b4);return _0x30b5b4;},_0x2e9a53=(_0x20be83,_0x38de86)=>(_0x508e03,_0x23420b)=>_0x38de86(_0x508e03,_0x23420b,_0x20be83);let _0x3b664f=class extends _0x3a6e21[_0x356272(0x257)]{constructor(_0x5ec575,_0x5c3245,_0x26ad30,_0x4cc32e,_0x18c3fd,_0x434e57,_0x7b5717,_0x57b372){const _0x2031bf=_0x356272;super(),_0x49e47d(this,'_status$',new _0x2289a4['BehaviorSubject'](_0x977231[_0x2031bf(0x2ba)]['NOT_COLLAB'])),(this[_0x2031bf(0x326)]=_0x5ec575,this[_0x2031bf(0x271)]=_0x5c3245,this[_0x2031bf(0x258)]=_0x26ad30,this[_0x2031bf(0x370)]=_0x4cc32e,this['_docTransformSelectionsService']=_0x18c3fd,this[_0x2031bf(0x139)]=_0x434e57,this[_0x2031bf(0x28b)]=_0x7b5717,this[_0x2031bf(0x35b)]=_0x57b372,this[_0x2031bf(0x1da)]());}[_0x356272(0x1da)](){const _0x2614b5=_0x356272;this['disposeWithMe'](this[_0x2614b5(0x271)][_0x2614b5(0x382)]['subscribe'](_0x47beae=>{const _0x3209b3=_0x2614b5,_0xee7a45=this['_docStateChangeManagerService'][_0x3209b3(0x13a)][_0x3209b3(0x399)](_0x33b7e8=>{const _0x274d7d=_0x3209b3;if(_0x33b7e8==null)return;const {unitId:_0x3a4c39,redoState:_0x1efebd,commandId:_0x567519}=_0x33b7e8;if(_0x3a4c39!==_0x47beae[_0x274d7d(0x138)])return;const _0x426706={'id':_0x567519,'type':_0x3a6e21[_0x274d7d(0x22c)][_0x274d7d(0x3f9)],'params':{'unitId':_0x3a4c39,'actions':_0x1efebd[_0x274d7d(0x134)],'textRanges':null}};_0x47beae[_0x274d7d(0x1f9)](_0x426706);});if(_0x47beae[_0x3209b3(0x3b6)](_0xee7a45),_0x47beae instanceof _0x977231[_0x3209b3(0x12a)]){const _0x16170d={'onTransformIME':_0x37e72b=>this[_0x3209b3(0x258)][_0x3209b3(0x2f0)](_0x37e72b),'onTransformState':_0x5c7cfd=>this[_0x3209b3(0x370)]['transformStateCache'](_0x5c7cfd),'onTransformSelections':_0x35747a=>this[_0x3209b3(0x18a)][_0x3209b3(0x222)](_0x35747a),'onSyncEditingCollabCursor':_0x48005e=>this[_0x3209b3(0x139)]['syncEditingCollabCursor'](_0x48005e),'onTransformRemoteChangesetByIMECache':_0x5c5e66=>this[_0x3209b3(0x258)][_0x3209b3(0x385)](_0x5c5e66),'onTransformRemoteChangesetByStateCache':_0x152db9=>this[_0x3209b3(0x370)][_0x3209b3(0x385)](_0x152db9)};_0x47beae[_0x3209b3(0x1c0)](_0x16170d);}}));}};_0x3b664f=_0x39b1da([_0x2e9a53(0x0,_0x3a6e21[_0x356272(0x1a5)](_0x84c7b3[_0x356272(0x216)])),_0x2e9a53(0x1,_0x3a6e21['Inject'](_0x977231[_0x356272(0x180)])),_0x2e9a53(0x2,_0x3a6e21[_0x356272(0x1a5)](_0x275c6d)),_0x2e9a53(0x3,_0x3a6e21['Inject'](_0x50ea12)),_0x2e9a53(0x4,_0x3a6e21[_0x356272(0x1a5)](_0x220ce5)),_0x2e9a53(0x5,_0x3a6e21['Inject'](_0x51f3c5)),_0x2e9a53(0x6,_0x149c92[_0x356272(0x3ea)]),_0x2e9a53(0x7,_0x3a6e21[_0x356272(0x1a5)](_0x3a6e21[_0x356272(0x36a)]))],_0x3b664f);var _0x343b04=(_0x25139c=>(_0x25139c[_0x25139c[_0x356272(0x1b7)]=0x0]='UNDEFINED',_0x25139c[_0x25139c['OK']=0x1]='OK',_0x25139c[_0x25139c[_0x356272(0x126)]=0x2]=_0x356272(0x126),_0x25139c[_0x25139c[_0x356272(0x1a3)]=0x3]=_0x356272(0x1a3),_0x25139c[_0x25139c['NOT_FOUND']=0x4]=_0x356272(0x278),_0x25139c[_0x25139c['UNAUTHENTICATED']=0x5]=_0x356272(0x14a),_0x25139c[_0x25139c['ALREADY_EXISTS']=0x6]=_0x356272(0x3d2),_0x25139c[_0x25139c[_0x356272(0x2f7)]=0x7]=_0x356272(0x2f7),_0x25139c[_0x25139c[_0x356272(0x2ca)]=0x8]=_0x356272(0x2ca),_0x25139c[_0x25139c['COMPLETION_FINISHED']=0x9]='COMPLETION_FINISHED',_0x25139c[_0x25139c['LOGIN_FAILED']=0xa]=_0x356272(0x404),_0x25139c[_0x25139c[_0x356272(0x2f9)]=0xb]=_0x356272(0x2f9),_0x25139c[_0x25139c['MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED']=0xc]=_0x356272(0x3b8),_0x25139c[_0x25139c[_0x356272(0x1b5)]=0xd]=_0x356272(0x1b5),_0x25139c[_0x25139c[_0x356272(0x21f)]=0xe]=_0x356272(0x21f),_0x25139c[_0x25139c[_0x356272(0x2b5)]=0xf]=_0x356272(0x2b5),_0x25139c[_0x25139c[_0x356272(0x2d5)]=0x10]=_0x356272(0x2d5),_0x25139c[_0x25139c[_0x356272(0x192)]=0x64]=_0x356272(0x192),_0x25139c[_0x25139c['ERROR_AGAIN']=0x65]=_0x356272(0x317),_0x25139c[_0x25139c[_0x356272(0x289)]=0xc9]=_0x356272(0x289),_0x25139c[_0x25139c[_0x356272(0x2a4)]=0xca]=_0x356272(0x2a4),_0x25139c[_0x25139c[_0x356272(0x2d3)]=0x1389]=_0x356272(0x2d3),_0x25139c[_0x25139c[_0x356272(0x2e3)]=0x1771]=_0x356272(0x2e3),_0x25139c[_0x25139c[_0x356272(0x2ef)]=0x1772]=_0x356272(0x2ef),_0x25139c[_0x25139c[_0x356272(0x12c)]=0x1773]=_0x356272(0x12c),_0x25139c[_0x25139c[_0x356272(0x2d8)]=0x1b59]='APPLY_REJECT',_0x25139c[_0x25139c[_0x356272(0x240)]=0x1b5a]=_0x356272(0x240),_0x25139c[_0x25139c[_0x356272(0x230)]=0x1b5b]=_0x356272(0x230),_0x25139c[_0x25139c[_0x356272(0x1ea)]=0x1b5c]=_0x356272(0x1ea),_0x25139c[_0x25139c[_0x356272(0x12e)]=0x1b5d]=_0x356272(0x12e),_0x25139c[_0x25139c[_0x356272(0x1ba)]=0x1f41]=_0x356272(0x1ba),_0x25139c[_0x25139c[_0x356272(0x35e)]=0x2329]=_0x356272(0x35e),_0x25139c[_0x25139c['LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED']=0x232a]=_0x356272(0x2cd),_0x25139c[_0x25139c['LICENSE_IMPORT_SIZE_EXCEEDED']=0x232b]=_0x356272(0x3c4),_0x25139c[_0x25139c[_0x356272(0x2dd)]=0x232c]=_0x356272(0x2dd),_0x25139c[_0x25139c[_0x356272(0x3e5)]=0x232d]=_0x356272(0x3e5),_0x25139c[_0x25139c['YUUMI_UNABLE_LOAD_URL']=0x2711]=_0x356272(0x2c1),_0x25139c[_0x25139c[_0x356272(0x1b0)]=0x2712]=_0x356272(0x1b0),_0x25139c[_0x25139c[_0x356272(0x2d7)]=0x2713]=_0x356272(0x2d7),_0x25139c[_0x25139c[_0x356272(0x16a)]=0x2714]='YUUMI_SUBSCRIPTION_NOT_FOUND',_0x25139c[_0x25139c[_0x356272(0x214)]=0x271a]=_0x356272(0x214),_0x25139c[_0x25139c[_0x356272(0x22f)]=0x271b]=_0x356272(0x22f),_0x25139c[_0x25139c[_0x356272(0x287)]=0x271c]=_0x356272(0x287),_0x25139c[_0x25139c['YUUMI_ALL_TABLES_IS_INVALID']=0x271d]=_0x356272(0x118),_0x25139c[_0x25139c['YUUMI_PROMPT_MAX_TOKENS_EXCEEDED']=0x271e]='YUUMI_PROMPT_MAX_TOKENS_EXCEEDED',_0x25139c[_0x25139c[_0x356272(0x1e6)]=0x271f]=_0x356272(0x1e6),_0x25139c[_0x25139c['YUUMI_CONNECTOR_URL_NOT_FOUND']=0x2720]=_0x356272(0x384),_0x25139c[_0x25139c[_0x356272(0x21c)]=0x2af9]='PY_RUNTIME_SCRIPT_ERROR',_0x25139c[_0x25139c[_0x356272(0x2d6)]=0x2ee1]=_0x356272(0x2d6),_0x25139c[_0x25139c[_0x356272(0x25f)]=0x2ee2]=_0x356272(0x25f),_0x25139c[_0x25139c[_0x356272(0x2c7)]=0x2ee3]=_0x356272(0x2c7),_0x25139c[_0x25139c[_0x356272(0x35d)]=0x2ee4]='USER_NOT_INVITED_CODE',_0x25139c[_0x25139c[_0x356272(0x14f)]=0x2ee5]=_0x356272(0x14f),_0x25139c[_0x25139c[_0x356272(0x3ba)]=0x32c9]='WECHAT_HAS_BEEN_BOUND',_0x25139c[_0x25139c['MOBILE_HAS_BEEN_BOUND']=0x32ca]=_0x356272(0x23b),_0x25139c[_0x25139c[_0x356272(0x3af)]=0x32cb]=_0x356272(0x3af),_0x25139c[_0x25139c[_0x356272(0x160)]=0x36b1]='ENTITLE_CAN_NOT_BUY_LOWER_OTP',_0x25139c[_0x25139c[_0x356272(0x281)]=0x36b2]=_0x356272(0x281),_0x25139c[_0x25139c[_0x356272(0x3cb)]=0x36b3]=_0x356272(0x3cb),_0x25139c[_0x25139c[_0x356272(0x2a7)]=0x36b4]=_0x356272(0x2a7),_0x25139c[_0x25139c[_0x356272(0x407)]=0x36b5]=_0x356272(0x407),_0x25139c[_0x25139c['ENTITLE_COUPON_EXPIRED']=0x36b6]=_0x356272(0x151),_0x25139c[_0x25139c[_0x356272(0x156)]=0x36b7]=_0x356272(0x156),_0x25139c[_0x25139c[_0x356272(0x26d)]=0x36b8]=_0x356272(0x26d),_0x25139c[_0x25139c[_0x356272(0x341)]=0x3715]=_0x356272(0x341),_0x25139c[_0x25139c['ENTITLE_REPORT_LIMIT_EXCEED']=0x3716]=_0x356272(0x14c),_0x25139c[_0x25139c[_0x356272(0x31e)]=0x3717]=_0x356272(0x31e),_0x25139c[_0x25139c[_0x356272(0x34d)]=0x37dd]=_0x356272(0x34d),_0x25139c[_0x25139c[_0x356272(0x344)]=0x3a99]=_0x356272(0x344),_0x25139c[_0x25139c['REDEMPTION_CODE_INACTIVE']=0x3a9a]=_0x356272(0x1b4),_0x25139c[_0x25139c[_0x356272(0x1e8)]=0x3a9b]=_0x356272(0x1e8),_0x25139c[_0x25139c[_0x356272(0x2e8)]=0x3a9c]=_0x356272(0x2e8),_0x25139c[_0x25139c[_0x356272(0x19c)]=0x3a9d]='REDEMPTION_USER_NOT_ELIGIBLE',_0x25139c[_0x25139c[_0x356272(0x387)]=0x3a9e]=_0x356272(0x387),_0x25139c[_0x25139c[_0x356272(0x32f)]=0x3a9f]='REDEMPTION_CODE_HAS_BEEN_CREATED',_0x25139c[_0x25139c['DATA_SOURCE_TOO_LARGE']=0x3e81]='DATA_SOURCE_TOO_LARGE',_0x25139c[_0x25139c[_0x356272(0x29d)]=-0x1]=_0x356272(0x29d),_0x25139c))(_0x343b04||{});function _0x52b347(_0x1157f8){const _0x37d8dc=_0x356272;var _0x5deada,_0x5dbe94;const _0x2a9c92=(_0x5deada=_0x1157f8[_0x37d8dc(0x293)])==null?void 0x0:_0x5deada[_0x37d8dc(0x1a4)],_0x3cc6a3=((_0x5dbe94=_0x1157f8['stageInfo'])==null?void 0x0:_0x5dbe94['totalFormulasToCalculate'])||0x0;return _0x2a9c92===_0x4c281d[_0x37d8dc(0x23d)][_0x37d8dc(0x377)]&&_0x3cc6a3>0x0;}function _0x3ec3df(_0x1ca4ff){const _0x3550d4=_0x356272;return _0x1ca4ff[_0x3550d4(0x249)]===_0x4c281d[_0x3550d4(0x358)][_0x3550d4(0x3a9)];}var _0x8b48f8=Object['getOwnPropertyDescriptor'],_0x511fcc=(_0xdc4c2e,_0x151e1c,_0xdb3fa0,_0x423c7a)=>{const _0x182372=_0x356272;for(var _0x49a9b9=_0x423c7a>0x1?void 0x0:_0x423c7a?_0x8b48f8(_0x151e1c,_0xdb3fa0):_0x151e1c,_0x16dc3d=_0xdc4c2e[_0x182372(0x3fa)]-0x1,_0x21cda0;_0x16dc3d>=0x0;_0x16dc3d--)(_0x21cda0=_0xdc4c2e[_0x16dc3d])&&(_0x49a9b9=_0x21cda0(_0x49a9b9)||_0x49a9b9);return _0x49a9b9;},_0x455b6a=(_0x55d8b6,_0x4eb573)=>(_0x4348aa,_0x1099fa)=>_0x4eb573(_0x4348aa,_0x1099fa,_0x55d8b6);const _0x162b50=_0x356272(0x288),_0x126473=_0x356272(0x137),_0x5e0bee=_0x356272(0x2ab);let _0x522554=class extends _0x3a6e21[_0x356272(0x257)]{constructor(_0x13e86e,_0x17ab0f,_0x5d6ebd,_0x4d1c69,_0x44d556,_0x56beeb,_0x1ef72e){const _0x1ab1a5=_0x356272;super(),_0x49e47d(this,_0x1ab1a5(0x37f),null),_0x49e47d(this,_0x1ab1a5(0x3f5),0x0),_0x49e47d(this,_0x1ab1a5(0x2e2),0x0),_0x49e47d(this,_0x1ab1a5(0x2da),[]),_0x49e47d(this,_0x1ab1a5(0x17a),0x0),(this['_messageService']=_0x13e86e,this['_commandService']=_0x17ab0f,this[_0x1ab1a5(0x129)]=_0x5d6ebd,this[_0x1ab1a5(0x2b6)]=_0x4d1c69,this[_0x1ab1a5(0x28f)]=_0x44d556,this['_logService']=_0x56beeb,this['_localeService']=_0x1ef72e,this[_0x1ab1a5(0x2a8)]());}[_0x356272(0x2a8)](){const _0x2497ce=_0x356272;this[_0x2497ce(0x3b6)](this[_0x2497ce(0x389)][_0x2497ce(0x343)]((_0x3cba98,_0x22f31a)=>{const _0x34234e=_0x2497ce;var _0xd4d504;if(_0x3cba98['id']!==_0x4c281d[_0x34234e(0x1d9)]['id'])return;const _0x11fd4a=_0x3cba98[_0x34234e(0x3df)];if(!this[_0x34234e(0x255)]((_0xd4d504=_0x11fd4a['dirtyRanges'])!=null?_0xd4d504:[]))return;if(!this[_0x34234e(0x23c)]())throw this[_0x34234e(0x181)](_0x3cba98,_0x22f31a),this[_0x34234e(0x29c)](),new _0x3a6e21[(_0x34234e(0x360))]();})),this[_0x2497ce(0x3b6)](this[_0x2497ce(0x389)][_0x2497ce(0x3e3)]((_0x58107c,_0x371a8b)=>{const _0x50a7b3=_0x2497ce;if(_0x58107c['id']!==_0x4c281d[_0x50a7b3(0x189)]['id'])return;const _0xd6246=_0x58107c[_0x50a7b3(0x3df)];if(_0x52b347(_0xd6246)){const _0x232349=_0x3a6e21[_0x50a7b3(0x3de)]();this[_0x50a7b3(0x2da)][_0x50a7b3(0x31a)](_0x232349),this['_startCalculationLimit'](_0x232349);}else{if(_0x3ec3df(_0xd6246)&&this['_taskIds'][_0x50a7b3(0x3fa)]>0x0){const _0x1bcb85=this['_taskIds'][_0x50a7b3(0x18b)]();this[_0x50a7b3(0x2a0)](_0x1bcb85);}}}));}[_0x356272(0x1a0)](){const _0x29fa6a=_0x356272;super[_0x29fa6a(0x1a0)](),this[_0x29fa6a(0x392)](),this[_0x29fa6a(0x2da)]=[],this[_0x29fa6a(0x2e2)]=0x0,this['_maxFormulaLimit']=0x0,this['_lastResponseTimestamp']=0x0;}async[_0x356272(0x181)](_0x4af69d,_0x550381){const _0x610fb4=_0x356272;for(let _0x3bdcd8=0x0;_0x3bdcd8<0x1e;_0x3bdcd8++)try{if(await this[_0x610fb4(0x345)](),this[_0x610fb4(0x23c)]()){this[_0x610fb4(0x212)](_0x4af69d,_0x550381),this[_0x610fb4(0x28b)][_0x610fb4(0x15c)]({'content':this[_0x610fb4(0x35b)]['t'](_0x610fb4(0x26a)),'type':_0x9f2908[_0x610fb4(0x136)][_0x610fb4(0x19d)]});return;}await new Promise(_0x40b5b5=>{const _0x3b3d20=_0x610fb4;this['_pollingInterval']=window[_0x3b3d20(0x1ab)](_0x40b5b5,0x3e8);});}catch(_0x24a01b){this['_logService']['error'](_0x24a01b);}this[_0x610fb4(0x28b)]['show']({'content':this[_0x610fb4(0x35b)]['t'](_0x610fb4(0x3b7)),'type':_0x9f2908[_0x610fb4(0x136)][_0x610fb4(0x364)]});}[_0x356272(0x212)](_0x4ef587,_0x1878c5){const _0x3104fc=_0x356272;try{this['_commandService'][_0x3104fc(0x2e5)](_0x4ef587['id'],_0x4ef587[_0x3104fc(0x3df)],_0x1878c5);}catch(_0x19a6c6){this[_0x3104fc(0x3b4)][_0x3104fc(0x308)](_0x19a6c6);}}[_0x356272(0x260)](_0x4fc7bc,_0x590806){const _0x214065=_0x356272;_0x590806<this[_0x214065(0x17a)]||(this[_0x214065(0x17a)]=_0x590806,this['_maxFormulaLimit']=Number[_0x214065(0x330)](_0x4fc7bc[_0x214065(0x2a2)]),this[_0x214065(0x2e2)]=Number[_0x214065(0x330)](_0x4fc7bc[_0x214065(0x3e1)]));}async[_0x356272(0x1d1)](_0x53b1c5){const _0x3eea62=_0x356272;var _0x444b14,_0x20a3d0;const _0x2cdb03=Date['now']();try{const _0x1fca49=((_0x444b14=this[_0x3eea62(0x129)]['getConfig'](_0x977231['COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY']))==null?void 0x0:_0x444b14[_0x3eea62(0x3f3)])||_0x126473,_0x34e6e0=(await this[_0x3eea62(0x2b6)][_0x3eea62(0x22b)](_0x1fca49,{'body':JSON[_0x3eea62(0x332)]({'taskId':_0x53b1c5})}))[_0x3eea62(0x383)];if(((_0x20a3d0=_0x34e6e0[_0x3eea62(0x308)])==null?void 0x0:_0x20a3d0[_0x3eea62(0x296)])!==_0x343b04['OK'])return;this[_0x3eea62(0x260)](_0x34e6e0[_0x3eea62(0x3dc)],_0x2cdb03);}catch(_0x233446){this[_0x3eea62(0x3b4)][_0x3eea62(0x308)](_0x233446);}}async['_getFormulaLimitStatus'](_0x35e520){const _0x369189=_0x356272;var _0x996fce,_0x5d0b11;const _0x1ac5e2=Date[_0x369189(0x1f0)]();try{const _0x4cc47f=((_0x996fce=this[_0x369189(0x129)][_0x369189(0x39d)](_0x977231[_0x369189(0x1b1)]))==null?void 0x0:_0x996fce[_0x369189(0x248)])||_0x162b50,_0x1d1878=_0x35e520?_0x4cc47f+_0x369189(0x295)+encodeURIComponent(_0x35e520):_0x4cc47f,_0x5733ce=(await this['_httpService']['get'](_0x1d1878))[_0x369189(0x383)];if(((_0x5d0b11=_0x5733ce[_0x369189(0x308)])==null?void 0x0:_0x5d0b11[_0x369189(0x296)])!==_0x343b04['OK'])return;this[_0x369189(0x260)](_0x5733ce['limitInfo'],_0x1ac5e2);}catch(_0x328394){this[_0x369189(0x3b4)]['error'](_0x328394);}}async[_0x356272(0x2a0)](_0x2d1250){const _0x1e7a9a=_0x356272;var _0x325991,_0x3cd4e4;const _0x1266b6=Date[_0x1e7a9a(0x1f0)]();try{const _0x382c3c=((_0x325991=this[_0x1e7a9a(0x129)][_0x1e7a9a(0x39d)](_0x977231['COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY']))==null?void 0x0:_0x325991[_0x1e7a9a(0x148)])||_0x5e0bee,_0x334e90=(await this[_0x1e7a9a(0x2b6)][_0x1e7a9a(0x22b)](_0x382c3c,{'body':JSON[_0x1e7a9a(0x332)]({'taskId':_0x2d1250})}))[_0x1e7a9a(0x383)];if(((_0x3cd4e4=_0x334e90[_0x1e7a9a(0x308)])==null?void 0x0:_0x3cd4e4[_0x1e7a9a(0x296)])!==_0x343b04['OK'])return;this[_0x1e7a9a(0x260)](_0x334e90[_0x1e7a9a(0x3dc)],_0x1266b6);}catch(_0x55f178){this['_logService']['error'](_0x55f178);}}[_0x356272(0x23c)](){const _0x370f1c=_0x356272;return this[_0x370f1c(0x3f5)]===0x0?!0x0:this[_0x370f1c(0x3f5)]-this[_0x370f1c(0x2e2)]>0x0;}[_0x356272(0x392)](){const _0x57f7eb=_0x356272;this['_pollingInterval']&&(clearTimeout(this[_0x57f7eb(0x37f)]),this[_0x57f7eb(0x37f)]=null);}[_0x356272(0x29c)](){const _0x5b3c30=_0x356272;this[_0x5b3c30(0x28b)][_0x5b3c30(0x15c)]({'content':this['_localeService']['t'](_0x5b3c30(0x210)),'type':_0x9f2908[_0x5b3c30(0x136)]['Loading']});}[_0x356272(0x255)](_0x362770){const _0x20bf87=_0x356272;for(const _0x389d34 of _0x362770){const {unitId:_0x2a6665,sheetId:_0x56c5af,range:_0x331a6e}=_0x389d34,_0x4bdfb6=this[_0x20bf87(0x28f)]['getUnit'](_0x2a6665);if(!_0x4bdfb6)continue;const _0x28d020=_0x4bdfb6[_0x20bf87(0x35f)](_0x56c5af);if(!_0x28d020)continue;const _0x5f5464=_0x28d020[_0x20bf87(0x329)]();for(let _0x5846c2=_0x331a6e[_0x20bf87(0x2f4)];_0x5846c2<=_0x331a6e[_0x20bf87(0x17d)];_0x5846c2++)for(let _0x27bd5c=_0x331a6e[_0x20bf87(0x117)];_0x27bd5c<=_0x331a6e['endColumn'];_0x27bd5c++){const _0x3ce0f8=_0x5f5464[_0x20bf87(0x37d)](_0x5846c2,_0x27bd5c);if(_0x3ce0f8&&(_0x3a6e21[_0x20bf87(0x2ee)](_0x3ce0f8['f'])||_0x3a6e21['isFormulaId'](_0x3ce0f8['si'])))return!0x0;}}return!0x1;}};_0x522554=_0x511fcc([_0x455b6a(0x0,_0x3a6e21[_0x356272(0x1a5)](_0x149c92[_0x356272(0x3ea)])),_0x455b6a(0x1,_0x3a6e21['ICommandService']),_0x455b6a(0x2,_0x3a6e21[_0x356272(0x2f1)]),_0x455b6a(0x3,_0x3a6e21[_0x356272(0x1a5)](_0x56d9d2[_0x356272(0x2f6)])),_0x455b6a(0x4,_0x3a6e21['IUniverInstanceService']),_0x455b6a(0x5,_0x3a6e21['ILogService']),_0x455b6a(0x6,_0x3a6e21[_0x356272(0x1a5)](_0x3a6e21['LocaleService']))],_0x522554);var _0x1240ba=Object[_0x356272(0x2dc)],_0x1e7e4c=(_0x4d5c24,_0x88efae,_0x591df1,_0x2cf788)=>{const _0x2d51e9=_0x356272;for(var _0x2317d6=_0x2cf788>0x1?void 0x0:_0x2cf788?_0x1240ba(_0x88efae,_0x591df1):_0x88efae,_0x35b466=_0x4d5c24[_0x2d51e9(0x3fa)]-0x1,_0x243235;_0x35b466>=0x0;_0x35b466--)(_0x243235=_0x4d5c24[_0x35b466])&&(_0x2317d6=_0x243235(_0x2317d6)||_0x2317d6);return _0x2317d6;},_0x563a16=(_0x1871c0,_0x8e6081)=>(_0xd623b0,_0x57d160)=>_0x8e6081(_0xd623b0,_0x57d160,_0x1871c0);let _0x4ccddd=class extends _0x3a6e21[_0x356272(0x257)]{constructor(_0x25cda8,_0x32b820,_0x3a6ca8){const _0x258cc9=_0x356272;super(),_0x49e47d(this,_0x258cc9(0x273),new Map()),_0x49e47d(this,_0x258cc9(0x3ae),new Map()),_0x49e47d(this,_0x258cc9(0x406),!0x1),(this[_0x258cc9(0x129)]=_0x25cda8,this[_0x258cc9(0x367)]=_0x32b820,this['_revisionService']=_0x3a6ca8);}[_0x356272(0x149)](){const _0x17c517=_0x356272;this[_0x17c517(0x406)]=!0x0;}[_0x356272(0x232)](){const _0x35934e=_0x356272;this[_0x35934e(0x406)]=!0x1;}get[_0x356272(0x20a)](){const _0x1152e0=_0x356272;return this[_0x1152e0(0x3ae)];}[_0x356272(0x1a0)](){const _0x1a3558=_0x356272;this[_0x1a3558(0x2aa)]()[_0x1a3558(0x1e4)](()=>super[_0x1a3558(0x1a0)]());}async[_0x356272(0x3fd)](_0x44cfe2){const _0x288e7e=_0x356272;return this[_0x288e7e(0x406)]?null:this[_0x288e7e(0x367)]['getItem'](_0x977231[_0x288e7e(0x265)](_0x44cfe2));}async[_0x356272(0x125)](_0x17b928,_0x29a762){return!!this['_localStorageService']['setItem'](_0x17b928,_0x29a762);}[_0x356272(0x146)](_0xb60997,_0x465efb,_0x557d91,_0x5d95d4){const _0x59fd3f=_0x356272,_0x547025=this['_revisionService'][_0x59fd3f(0x322)](_0xb60997);this[_0x59fd3f(0x273)][_0x59fd3f(0x199)](_0xb60997,{'unitID':_0xb60997,'type':_0x465efb,'awaitingChangeset':_0x557d91,'mutations':_0x5d95d4,'rev':_0x547025}),this[_0x59fd3f(0x3ae)]['has'](_0xb60997)||this[_0x59fd3f(0x170)](_0xb60997);}[_0x356272(0x170)](_0x50229f){const _0x3e1b8f=_0x356272,_0x3f29ce=this['_getSaveTimeout']();_0x3f29ce===0x0?this['_saveCache'](_0x50229f):this[_0x3e1b8f(0x3ae)][_0x3e1b8f(0x199)](_0x50229f,setTimeout(()=>this[_0x3e1b8f(0x3f6)](_0x50229f),_0x3f29ce));}[_0x356272(0x13d)](){const _0x2b4f6a=_0x356272;var _0x5300bc;return(_0x5300bc=this['_configService'][_0x2b4f6a(0x39d)](_0x977231[_0x2b4f6a(0x2ea)]))!=null?_0x5300bc:_0x977231[_0x2b4f6a(0x3b9)];}[_0x356272(0x3f6)](_0x65754e){const _0x1a4a71=_0x356272,_0x33e22f=this[_0x1a4a71(0x3ae)][_0x1a4a71(0x201)](_0x65754e);return _0x33e22f!==void 0x0&&window[_0x1a4a71(0x394)](_0x33e22f),this[_0x1a4a71(0x367)][_0x1a4a71(0x294)](_0x977231[_0x1a4a71(0x265)](_0x65754e),this[_0x1a4a71(0x273)][_0x1a4a71(0x201)](_0x65754e))[_0x1a4a71(0x1e4)](()=>this['_saveTaskMap'][_0x1a4a71(0x1f1)](_0x65754e));}async['exhaustSavingTask'](){const _0x5577c7=_0x356272,_0xac4177=[];this[_0x5577c7(0x3ae)]['forEach']((_0xbe8773,_0x13bb0d)=>{const _0x270f61=_0x5577c7;window[_0x270f61(0x394)](_0xbe8773),_0xac4177[_0x270f61(0x31a)](this[_0x270f61(0x3f6)](_0x13bb0d)['then'](()=>{const _0xa548a8=_0x270f61;this[_0xa548a8(0x3ae)][_0xa548a8(0x1f1)](_0x13bb0d);}));}),await Promise[_0x5577c7(0x229)](_0xac4177);}};_0x4ccddd=_0x1e7e4c([_0x563a16(0x0,_0x3a6e21[_0x356272(0x2f1)]),_0x563a16(0x1,_0x3a6e21['ILocalStorageService']),_0x563a16(0x2,_0x3a6e21[_0x356272(0x1a5)](_0x3d0ca4[_0x356272(0x31b)]))],_0x4ccddd);class _0xc8ffc6 extends _0x3a6e21['RxDisposable']{constructor(){const _0x33cf54=_0x356272;super(),_0x49e47d(this,_0x33cf54(0x23a)),this['urlChange$']=_0x2289a4[_0x33cf54(0x1f4)](window,_0x33cf54(0x1dc))[_0x33cf54(0x328)](_0x2289a4[_0x33cf54(0x39e)](this[_0x33cf54(0x121)]),_0x2289a4[_0x33cf54(0x25a)](0x1),_0x2289a4[_0x33cf54(0x166)](void 0x0));}[_0x356272(0x40a)](_0x30e76d,_0x3182bf,_0x612dcd=!0x1){const _0x5d2506=_0x356272,_0x415b3b=new URL(window['location'][_0x5d2506(0x1fb)]);_0x415b3b[_0x5d2506(0x147)][_0x5d2506(0x199)](_0x30e76d,_0x3182bf),_0x612dcd?window[_0x5d2506(0x3c1)]['replaceState']('','',_0x415b3b[_0x5d2506(0x161)]()):window[_0x5d2506(0x3c1)]['pushState']('','',_0x415b3b[_0x5d2506(0x161)]());}['removeParam'](_0x5a585c,_0x3b19d3=!0x1){const _0x438289=_0x356272,_0x577835=new URL(window['location'][_0x438289(0x1fb)]);_0x577835[_0x438289(0x147)][_0x438289(0x1f1)](_0x5a585c),_0x3b19d3?window[_0x438289(0x3c1)][_0x438289(0x336)]('','',_0x577835['toString']()):window[_0x438289(0x3c1)][_0x438289(0x211)]('','',_0x577835['toString']());}['getParam'](_0x5d1d43){const _0x5a0a60=_0x356272;var _0x2e46e2;return(_0x2e46e2=new URL(window[_0x5a0a60(0x1eb)][_0x5a0a60(0x1fb)])['searchParams']['get'](_0x5d1d43))!=null?_0x2e46e2:void 0x0;}}var _0x1ce4f7=Object['defineProperty'],_0x3a7f9e=Object[_0x356272(0x2dc)],_0x36fa01=(_0x46a759,_0x34533f,_0x53d347)=>_0x34533f in _0x46a759?_0x1ce4f7(_0x46a759,_0x34533f,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x53d347}):_0x46a759[_0x34533f]=_0x53d347,_0x4748c8=(_0x50fc1c,_0x5ef174,_0xff1742,_0x406bd3)=>{const _0x52eb85=_0x356272;for(var _0x285492=_0x406bd3>0x1?void 0x0:_0x406bd3?_0x3a7f9e(_0x5ef174,_0xff1742):_0x5ef174,_0x16ad83=_0x50fc1c[_0x52eb85(0x3fa)]-0x1,_0x29ae02;_0x16ad83>=0x0;_0x16ad83--)(_0x29ae02=_0x50fc1c[_0x16ad83])&&(_0x285492=_0x29ae02(_0x285492)||_0x285492);return _0x285492;},_0x545dbc=(_0xd7c234,_0x1344fc)=>(_0x49ca5c,_0x3c07b2)=>_0x1344fc(_0x49ca5c,_0x3c07b2,_0xd7c234),_0x288836=(_0x4c23ef,_0x215968,_0x2e5233)=>_0x36fa01(_0x4c23ef,_0x215968+'',_0x2e5233);const _0x3d9241=_0x356272(0x3f4);_0x4114c5[_0x356272(0x1db)]=class extends _0x3a6e21['Plugin']{constructor(_0x5d1329=_0x2da973,_0x5dbe02,_0x39737d,_0x40c8cf){const _0x4724ce=_0x356272;super(),this[_0x4724ce(0x122)]=_0x5d1329,this[_0x4724ce(0x218)]=_0x5dbe02,this[_0x4724ce(0x228)]=_0x39737d,this[_0x4724ce(0x129)]=_0x40c8cf;const {..._0xea764b}=_0x3a6e21[_0x4724ce(0x3a3)]({},_0x2da973,this[_0x4724ce(0x122)]);this['_configService'][_0x4724ce(0x144)](_0x2f3b95,_0xea764b);}[_0x356272(0x3bb)](){const _0x1d3ac2=_0x356272;this['_registerDependencies'](),this[_0x1d3ac2(0x26c)]();}[_0x356272(0x235)](){this['_registerRenderDependencies']();}['_registerDependencies'](){const _0x3c30fc=_0x356272;var _0x567dfe;const _0x3e1111=[[_0x3832ab],[_0x522554],[_0x220ce5],[_0x275c6d],[_0x50ea12],[_0x51f3c5],[_0xb5c967,{'useClass':_0xc8ffc6}],[_0x56d9d2[_0x3c30fc(0x36b)],{'useClass':_0x56d9d2[_0x3c30fc(0x3d5)]}],[_0x977231[_0x3c30fc(0x11c)],{'useClass':_0x4ccddd}],[_0x4114c5[_0x3c30fc(0x20b)]],[_0x3b664f],[_0x3bdfa5],[_0x277f63],[_0x3101a6],[_0x4114c5[_0x3c30fc(0x141)]]];this[_0x3c30fc(0x122)][_0x3c30fc(0x302)]&&_0x3e1111[_0x3c30fc(0x31a)]([_0x327c1e]),_0x3a6e21[_0x3c30fc(0x2cf)](this[_0x3c30fc(0x228)],_0x3a6e21[_0x3c30fc(0x3d8)](_0x3e1111,(_0x567dfe=this['_config'])==null?void 0x0:_0x567dfe[_0x3c30fc(0x207)]));}['_registerRenderDependencies'](){const _0x4a14c6=_0x356272;this['disposeWithMe'](this[_0x4a14c6(0x218)][_0x4a14c6(0x17c)](_0x3a6e21[_0x4a14c6(0x2d4)][_0x4a14c6(0x2fb)],[_0x3aff72])),this['disposeWithMe'](this[_0x4a14c6(0x218)][_0x4a14c6(0x17c)](_0x3a6e21[_0x4a14c6(0x2d4)][_0x4a14c6(0x19b)],[_0x431563]));}[_0x356272(0x26c)](){const _0x1d08d0=_0x356272;_0x3a6e21[_0x1d08d0(0x282)](this[_0x1d08d0(0x228)],[[_0x277f63],[_0x4114c5[_0x1d08d0(0x20b)]],[_0x3b664f],[_0x3bdfa5],[_0x4114c5[_0x1d08d0(0x141)]],[_0x522554]]),this[_0x1d08d0(0x122)][_0x1d08d0(0x302)]&&_0x3a6e21[_0x1d08d0(0x282)](this[_0x1d08d0(0x228)],[[_0x327c1e]]);}},_0x288836(_0x4114c5[_0x356272(0x1db)],_0x356272(0x357),_0x3d9241),_0x4114c5[_0x356272(0x1db)]=_0x4748c8([_0x3a6e21[_0x356272(0x2a6)](_0x977231[_0x356272(0x204)]),_0x545dbc(0x1,_0x946f81[_0x356272(0x395)]),_0x545dbc(0x2,_0x3a6e21[_0x356272(0x1a5)](_0x3a6e21['Injector'])),_0x545dbc(0x3,_0x3a6e21[_0x356272(0x2f1)])],_0x4114c5['UniverCollaborationClientUIPlugin']);var _0x286dd=Object[_0x356272(0x2dc)],_0xdbeb6e=(_0x7e8aa,_0xe92195,_0x10a09f,_0x313127)=>{const _0xd30ac6=_0x356272;for(var _0xa1bba7=_0x313127>0x1?void 0x0:_0x313127?_0x286dd(_0xe92195,_0x10a09f):_0xe92195,_0x2d2ee7=_0x7e8aa[_0xd30ac6(0x3fa)]-0x1,_0x5d4afe;_0x2d2ee7>=0x0;_0x2d2ee7--)(_0x5d4afe=_0x7e8aa[_0x2d2ee7])&&(_0xa1bba7=_0x5d4afe(_0xa1bba7)||_0xa1bba7);return _0xa1bba7;},_0x908b65=(_0x36563a,_0x1b3b48)=>(_0x15d8cb,_0x1ec365)=>_0x1b3b48(_0x15d8cb,_0x1ec365,_0x36563a);_0x4114c5[_0x356272(0x33e)]=class extends _0x977231['CollaborationSocketService']{constructor(_0x5e2b72,_0x2e3ed1,_0x1418b7,_0x234aec,_0x55d215){super(_0x5e2b72,_0x2e3ed1,_0x1418b7,_0x234aec,_0x55d215);}async[_0x356272(0x236)](_0x33be4d){const _0x112288=_0x356272,_0x24236e=await this[_0x112288(0x206)](),_0x24f142=this[_0x112288(0x24a)](_0x33be4d,_0x24236e);return this[_0x112288(0x167)](_0x24f142);}['_createSocketURL'](_0x57408e,_0x349ff3){const _0x28b170=_0x356272,_0xa00744=typeof window>'u'?new URL(_0x57408e):new URL(_0x57408e,window[_0x28b170(0x1eb)][_0x28b170(0x274)]);_0xa00744[_0x28b170(0x147)][_0x28b170(0x199)](_0x28b170(0x182),_0x349ff3);const _0x2d463e=typeof window>'u'?new URLSearchParams():new URLSearchParams(window[_0x28b170(0x1eb)][_0x28b170(0x16b)]);return _0x2d463e[_0x28b170(0x201)](_0x28b170(0x179))&&_0xa00744[_0x28b170(0x147)][_0x28b170(0x199)]('runId',_0x2d463e[_0x28b170(0x201)]('runId')),_0xa00744[_0x28b170(0x161)]();}async[_0x356272(0x206)](){const _0x366597=_0x356272;var _0x1ae5ff,_0x2ad36d,_0x31a73d;const _0x44dda7=this[_0x366597(0x129)]['getConfig'](_0x977231[_0x366597(0x1b1)]),_0x490327=(_0x1ae5ff=_0x44dda7==null?void 0x0:_0x44dda7[_0x366597(0x3c0)])!=null?_0x1ae5ff:_0x977231[_0x366597(0x335)];return(_0x31a73d=(_0x2ad36d=(await this[_0x366597(0x2b6)][_0x366597(0x201)](_0x490327,{'headers':{'Content-Type':_0x366597(0x372)}}))['body'])==null?void 0x0:_0x2ad36d['ticket'])!=null?_0x31a73d:'';}},_0x4114c5[_0x356272(0x33e)]=_0xdbeb6e([_0x908b65(0x0,_0x3a6e21[_0x356272(0x1a5)](_0x3a6e21[_0x356272(0x238)])),_0x908b65(0x1,_0x3a6e21[_0x356272(0x1a5)](_0x56d9d2[_0x356272(0x2f6)])),_0x908b65(0x2,_0x3a6e21['IConfigService']),_0x908b65(0x3,_0x3a6e21[_0x356272(0x266)]),_0x908b65(0x4,_0x3d0ca4['ISnapshotServerService'])],_0x4114c5[_0x356272(0x33e)]);var _0x1f79ad=Object[_0x356272(0x2dc)],_0x55b3f8=(_0x1acb78,_0x4687ce,_0x41ffc6,_0x5a0904)=>{const _0x16fc01=_0x356272;for(var _0x454167=_0x5a0904>0x1?void 0x0:_0x5a0904?_0x1f79ad(_0x4687ce,_0x41ffc6):_0x4687ce,_0x197a3d=_0x1acb78[_0x16fc01(0x3fa)]-0x1,_0x9464be;_0x197a3d>=0x0;_0x197a3d--)(_0x9464be=_0x1acb78[_0x197a3d])&&(_0x454167=_0x9464be(_0x454167)||_0x454167);return _0x454167;},_0x17eead=(_0x3db3ee,_0xf30ca3)=>(_0x424adc,_0x1f8c5a)=>_0xf30ca3(_0x424adc,_0x1f8c5a,_0x3db3ee);_0x4114c5[_0x356272(0x313)]=class extends _0x3a6e21[_0x356272(0x257)]{constructor(_0x1eebf6,_0x41eb4a,_0xe9134d){const _0x297d76=_0x356272;super(),this['_instanceService']=_0x1eebf6,this[_0x297d76(0x2b6)]=_0x41eb4a,this['_configService']=_0xe9134d;}async[_0x356272(0x3c6)](_0x185867,_0x5ec6fb,_0x1ee5c9,..._0x2ff73d){const _0x4784b7=_0x356272;var _0x4be693,_0x5c5a17,_0x25bb80,_0x423588;const _0x437e95=this['_instanceService'][_0x4784b7(0x3ce)]();if(!_0x437e95)throw new Error(_0x4784b7(0x299));const _0x3b6028=((_0x4be693=this[_0x4784b7(0x129)]['getConfig'](_0x977231[_0x4784b7(0x2b7)]))!=null?_0x4be693:_0x977231[_0x4784b7(0x3b3)])+'/'+_0x185867+_0x4784b7(0x3f0)+_0x5ec6fb,_0x20fa06=new URL(window[_0x4784b7(0x1eb)][_0x4784b7(0x1fb)]),_0x11bd78={'scriptId':_0x185867,'runId':(_0x5c5a17=_0x20fa06['searchParams'][_0x4784b7(0x201)](_0x4784b7(0x179)))!=null?_0x5c5a17:'','function':_0x5ec6fb,'unitId':_0x437e95[_0x4784b7(0x239)](),'argsOfFunction':JSON[_0x4784b7(0x332)](_0x2ff73d),'invokeId':(_0x25bb80=_0x1ee5c9[_0x4784b7(0x369)])!=null?_0x25bb80:'','executionId':(_0x423588=_0x1ee5c9[_0x4784b7(0x233)])!=null?_0x423588:''};try{const _0x467a36=await this[_0x4784b7(0x2b6)][_0x4784b7(0x22b)](_0x3b6028,{'body':_0x11bd78});return _0x467a36[_0x4784b7(0x383)][_0x4784b7(0x308)]&&_0x467a36[_0x4784b7(0x383)][_0x4784b7(0x308)][_0x4784b7(0x296)]!==_0x343b04['OK']?_0x4784b7(0x20d):_0x467a36['body'][_0x4784b7(0x1f6)];}catch{return _0x4784b7(0x20d);}}},_0x4114c5[_0x356272(0x313)]=_0x55b3f8([_0x17eead(0x0,_0x3a6e21[_0x356272(0x354)]),_0x17eead(0x1,_0x3a6e21[_0x356272(0x1a5)](_0x56d9d2[_0x356272(0x2f6)])),_0x17eead(0x2,_0x3a6e21[_0x356272(0x2f1)])],_0x4114c5[_0x356272(0x313)]);const _0x4468cc=0x7530,_0x35f582=_0x356272(0x205);class _0x472550 extends _0x3a6e21['Disposable']{constructor(){const _0x4c168f=_0x356272;super(),_0x49e47d(this,_0x4c168f(0x2cb),_0x3a6e21[_0x4c168f(0x3de)]()),_0x49e47d(this,_0x4c168f(0x208),new Set()),_0x49e47d(this,_0x4c168f(0x352),new Map()),_0x49e47d(this,_0x4c168f(0x3c2),null),_0x49e47d(this,_0x4c168f(0x1f7),new Map()),_0x49e47d(this,'_unitStatus',new Map()),this[_0x4c168f(0x2e0)]();}[_0x356272(0x1a0)](){const _0x57e4cb=_0x356272;super['dispose'](),this[_0x57e4cb(0x1f7)]['forEach']((_0x235900,_0x134855)=>this['_removeClearOtherTimer'](_0x134855)),this['_heartbeatTimer']&&window[_0x57e4cb(0x3ff)](this[_0x57e4cb(0x3c2)]);}[_0x356272(0x24b)](_0x3ec587){const _0x11f2da=_0x356272;return this[_0x11f2da(0x371)](_0x3ec587)[_0x11f2da(0x328)](_0x2289a4[_0x11f2da(0x169)]());}['editingUnit'](_0x3ee909){const _0x211185=_0x356272;this[_0x211185(0x208)][_0x211185(0x259)]===0x0&&this['_scheduleHeartbeat'](),this[_0x211185(0x208)][_0x211185(0x1d0)](_0x3ee909),this[_0x211185(0x2df)]({'type':0x0,'memberID':this[_0x211185(0x2cb)],'unitIDs':[_0x3ee909],'isForwarded':!0x1});}[_0x356272(0x1d6)](_0x584f7a){const _0x404f00=_0x356272;this[_0x404f00(0x208)][_0x404f00(0x1f1)](_0x584f7a),this[_0x404f00(0x208)][_0x404f00(0x259)]===0x0&&this['_heartbeatTimer']&&window[_0x404f00(0x3ff)](this[_0x404f00(0x3c2)]);}[_0x356272(0x2e0)](){const _0x2f7349=_0x356272;this['disposeWithMe'](_0x3a6e21[_0x2f7349(0x3eb)](_0x2289a4[_0x2f7349(0x1f4)](window,_0x2f7349(0x2c3))[_0x2f7349(0x399)](_0x32568b=>{const _0x549958=_0x2f7349;if(_0x32568b[_0x549958(0x283)]!==_0x35f582||!_0x32568b[_0x549958(0x321)])return;const _0x4afaf0=JSON[_0x549958(0x38c)](_0x32568b['newValue']);this[_0x549958(0x268)](_0x4afaf0);}))),window[_0x2f7349(0x1a7)]('unload',()=>this[_0x2f7349(0x2df)]({'type':0x1,'memberID':this[_0x2f7349(0x2cb)],'unitIDs':Array[_0x2f7349(0x269)](this[_0x2f7349(0x208)])}));}[_0x356272(0x268)](_0x595565){const _0x4b8fac=_0x356272;switch(_0x595565['type']){case 0x0:this[_0x4b8fac(0x31c)](_0x595565);break;case 0x1:this[_0x4b8fac(0x252)](_0x595565);break;case 0x2:this[_0x4b8fac(0x1c3)](_0x595565);break;}}[_0x356272(0x31c)](_0x3a899d){const _0x5067b6=_0x356272,{unitIDs:_0x59b5aa,memberID:_0x1ce118,isForwarded:_0x4fc5a6}=_0x3a899d;_0x59b5aa[_0x5067b6(0x280)](_0x1c3a5c=>{const _0x185f5e=_0x5067b6;if(!_0x4fc5a6&&this[_0x185f5e(0x352)][_0x185f5e(0x217)](_0x1c3a5c)&&this[_0x185f5e(0x371)](_0x1c3a5c)[_0x185f5e(0x2ed)](_0x977231[_0x185f5e(0x312)][_0x185f5e(0x398)]),!this[_0x185f5e(0x352)]['has'](_0x1c3a5c)||!this[_0x185f5e(0x352)][_0x185f5e(0x201)](_0x1c3a5c)[_0x185f5e(0x217)](_0x1ce118)){const _0x42619b=this[_0x185f5e(0x352)]['get'](_0x1c3a5c)||new Set();_0x42619b[_0x185f5e(0x1d0)](_0x1ce118),this[_0x185f5e(0x352)][_0x185f5e(0x199)](_0x1c3a5c,_0x42619b),this[_0x185f5e(0x374)](_0x1ce118);}}),_0x4fc5a6||this['_send']({'type':0x0,'memberID':this[_0x5067b6(0x2cb)],'unitIDs':[...this[_0x5067b6(0x208)]],'isForwarded':!0x0});}['_scheduleClearOtherTimer'](_0x26fd4d){const _0x18c8df=_0x356272;this[_0x18c8df(0x164)](_0x26fd4d);const _0x599477=window[_0x18c8df(0x1ab)](()=>{const _0x14860f=_0x18c8df;this[_0x14860f(0x352)][_0x14860f(0x280)](_0x1a4de2=>{const _0x4bed55=_0x14860f;_0x1a4de2[_0x4bed55(0x1f1)](_0x26fd4d);});},_0x4468cc*0x2);this[_0x18c8df(0x1f7)][_0x18c8df(0x199)](_0x26fd4d,_0x599477);}[_0x356272(0x164)](_0x12fb37){const _0x4831a1=_0x356272;if(this[_0x4831a1(0x1f7)][_0x4831a1(0x217)](_0x12fb37)){const _0x48a752=this[_0x4831a1(0x1f7)][_0x4831a1(0x201)](_0x12fb37);_0x48a752&&window[_0x4831a1(0x394)](_0x48a752),this[_0x4831a1(0x1f7)][_0x4831a1(0x199)](_0x12fb37,null);}}[_0x356272(0x252)](_0x7ed5b){const _0x4ad343=_0x356272,{memberID:_0x4fea10,unitIDs:_0x34b095}=_0x7ed5b;_0x34b095[_0x4ad343(0x280)](_0x41e296=>{const _0x511069=_0x4ad343;var _0x143406;const _0x5ab304=this[_0x511069(0x352)][_0x511069(0x201)](_0x41e296);_0x5ab304&&(_0x5ab304[_0x511069(0x1f1)](_0x4fea10),(_0x143406=this[_0x511069(0x371)](_0x41e296))==null||_0x143406[_0x511069(0x2ed)](_0x5ab304[_0x511069(0x259)]===0x0?_0x977231[_0x511069(0x312)][_0x511069(0x135)]:_0x977231[_0x511069(0x312)][_0x511069(0x398)]));}),this[_0x4ad343(0x164)](_0x4fea10);}[_0x356272(0x1c3)](_0x52f610){const _0x50c95f=_0x356272;this[_0x50c95f(0x374)](_0x52f610[_0x50c95f(0x25e)]);}['_send'](_0x430e30){const _0x2e345a=_0x356272;localStorage['setItem'](_0x35f582,JSON[_0x2e345a(0x332)](_0x430e30));}[_0x356272(0x3e6)](){const _0x1df90f=_0x356272;this['_heartbeatTimer']=window[_0x1df90f(0x1ce)](()=>{const _0x139a36=_0x1df90f;this[_0x139a36(0x2df)]({'type':0x2,'memberID':this[_0x139a36(0x2cb)]});},_0x4468cc);}[_0x356272(0x371)](_0x20a4fe){const _0x4b3c76=_0x356272;return this[_0x4b3c76(0x36c)][_0x4b3c76(0x217)](_0x20a4fe)||this[_0x4b3c76(0x36c)]['set'](_0x20a4fe,new _0x2289a4[(_0x4b3c76(0x231))](_0x977231[_0x4b3c76(0x312)][_0x4b3c76(0x135)])),this['_unitStatus']['get'](_0x20a4fe);}}_0x4114c5['IURLService']=_0xb5c967,_0x4114c5[_0x356272(0x3dd)]=_0x4266cc,_0x4114c5[_0x356272(0x37c)]=_0x472550,_0x4114c5[_0x356272(0x22d)]=_0xc8ffc6,Object[_0x356272(0x342)](_0x4114c5,Symbol[_0x356272(0x226)],{'value':_0x356272(0x2c5)});}));function _0x4506(){const _0x4c25de=['_collabSessionService','filter','displayName','COLORS','SheetSkeletonManagerService','_handleLeaveEvent','collaboration.single-unit.warning','activeSheet$','_hasFormulaInDirtyRanges','UniverDrawing','Disposable','_docTransformIMECacheService','size','shareReplay','OnLineIcon','getCurrentSelections','fromEventSubject','memberID','INVALID_INVITE_CODE','_setFormulaLimitStatus','ITransformService','_labelPosition','registerBeforeClose','filename','getLocalCacheKey','ILogService','switchMap','_handleEvent','from','formula.calculation.started','roomMembers','_initDependencies','ENTITLE_USE_COUPON_NOT_1ST_TRADE','_color','removeEventListener','UniverSheetsUi','_collaborationController','_dataLoaderService','_cachedData','origin','session.will-retry','transformMutationsWithChangeset','_assignedColors','NOT_FOUND','saveImage','defs','IBeforeCloseService','map','_startDocCollabCursor','attrs','name','forEach','ENTITLE_UPDOWN_GRADE_NOT_SUPPORT','touchDependencies','key','jsxs','stack','exports','YUUMI_TABLE_NOT_FOUND_IN_UNIT','/universer-api/license/formula/limit/status','USER_NOT_FOUND','Warning','_messageService','_initStatusListener','getColorFromTheme','collab-rect-range-','_univerInstanceService','send','addClipboardHook','subscribeEvent','stageInfo','setItem','?taskId=','code','_startSheetCollabCursor','_document','[RemoteUniscriptService]:\x20no\x20focused\x20unit','RichTextEditingMutation','cursorInfo$','_showGuardMessage','UNRECOGNIZED','currentTheme$','http://www.w3.org/2000/svg','_releaseCalculationLimit','mutations','maxFormulaLimit','defIds','USER_IS_ANONYMOUS','DeleteRangeMoveLeftCommandId','DependentOn','PAYMENT_CHANNEL_NOT_SUPPORT','_initCommandInterceptor','_setupBeforeClosingHandler','exhaustSavingTask','/universer-api/license/formula/limit/done','children','RemoveColCommandId','@univerjs/rpc','getAncestorScale','DocIMEInputManagerService','roomMembers$','doc.mutation.rich-text-editing','UniverProCollaboration','random','AUTHORIZE_CODE_ILLEGAL','_httpService','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY','debounce','getActiveRange','CollaborationStatus','@univerjs/engine-render','collabStatus.synced','_beforeCloseService','_textBubble','IRemoteInstanceService','transformByState','YUUMI_UNABLE_LOAD_URL','_drawRectRange','storage','CollaborationUIEventId','Module','_render','INVITE_CODE_REQUIRED','triggerDblclick','_docClipboardService','TOO_MANY_REQUESTS','_id','_shapes','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','_status$','registerDependencies','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','collab-client.tooltip.reconnect','_transformPreviousActiveRange','CHANGESET_REVISION_CONFILICT','UniverInstanceType','LOGIN_TOKEN_PROCESSING_FAILED','INVITE_CODE_HAS_BEEN_UES','YUUMI_RATE_OVER_LIMIT','APPLY_REJECT','SessionStatus','_taskIds','handleInsertCol','getOwnPropertyDescriptor','LICENSE_EXPORT_SIZE_EXCEEDED','_hovered','_send','_init','0\x200\x2017\x2016','_currentUsage','SNAPSHOT_INVALID_SNAPSHOT','_updateCollabCursors','executeCommand','[Unhandled\x20Rejection]:\x20','_urlService','REDEMPTION_CODE_NOT_STARTED','162WkRzAb','LOCAL_CACHE_INTERVAL_KEY','jsx','@univerjs/sheets-ui','next','isFormulaString','SNAPSHOT_HAS_BEEN_REMOVED','transformIMECache','IConfigService','replaceDocRanges','rxjs/operators','startRow','NodePositionConvertToCursor','HTTPService','INVALID_ARGUMENT','amd','MOBILE_VERIFY_CODE_MISMATCH','_onCursorUpdate','UNIVER_DOC','backgroundColor','_transformService','round','getActiveSheet','178630izNfYH','HEADER_MENU','enableFrontendLog','fillText','560768rnWHfZ','_getAnchorBounding','ThemeService','_cursor','error','div','xlink:href','CollaborationSessionService','getStateCache','getOffsetConfig','getSheetId','_draw','AWAITING','_uploadLog','UnitStatus','RemoteUniscriptService','_themeService','deepClone','TEXT_RANGE_LAYER_INDEX','ERROR_AGAIN','entries','colno','push','RevisionService','_handleJoinEvent','_anchor','ENTITLE_INSUFFICIENT_QUOTA','throttleTime','message','newValue','getCurrentRevOfUnit','permission.title','collaboration.offline-data-not-saved','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','_docStateChangeManagerService','UniverEngineRender','pipe','getCellMatrix','_memberID','_transformHistoryAndStateStack','_localCacheService','NOT_COLLAB','_cursorInfo$','REDEMPTION_CODE_HAS_BEEN_CREATED','parseInt','...','stringify','univerjs-icon\x20univerjs-icon-','InsertRangeMoveRightCommandId','DEFAULT_WS_SESSION_TICKET_URL','replaceState','TEXT','AWAITING_WITH_PENDING','OffLineIcon','InsertRangeMoveDownCommandId','_toggleOnline','measureText','object','BrowserCollaborationSocketService','OFFLINE','sheetID','ENTITLE_CHAT_LIMIT_EXCEED','defineProperty','beforeCommandExecuted','REDEMPTION_INVALID_CODE','_getFormulaLimitStatus','values','beginPath','moveTo','CollaborationUIEventService','useDependency','_updateLocalCursor','unshift','ENTITLE_NEED_BILLING_ADDRESS','red.300','_initCommandExecutedListener','width','debug','_unitOnClients','23156VDViuc','IUniverInstanceService','bottom','_scene','pluginName','FormulaExecutedStateType','ONLINE','createElement','_localeService','_colorAssignService','USER_NOT_INVITED_CODE','LICENSE_MAX_UNITS_EXCEEDED','getSheetBySheetId','CanceledError','_refreshCollabCursors','setUndoRedoMutationParamsCache','univer-mr-2\x20univer-flex\x20univer-text-xl','Error','useRef','@univerjs/sheets','_localStorageService','rxjs','invokeId','LocaleService','ISocketService','_unitStatus','makeDirty','Vector2','drawWith','_docTransformStateCacheService','_ensureSubject','application/json','UniverProCollaborationClientUi','_scheduleClearOtherTimer','@univerjs/docs-ui','labelPosition','START_CALCULATION','top','1em','Rect','MemberService','WebBrowserSingleActiveUnitService','getValue','_collaborationSessionService','_pollingInterval','_sheetSkeletonManagerService','idSuffix','entityInit$','body','YUUMI_CONNECTOR_URL_NOT_FOUND','transformRemoteChangeset','data','REDEMPTION_USER_REDEEM_TIMES_EXCEED','_collabCursorState$','_commandService','whenReady','black','parse','@univerjs-pro/collaboration','currentSkeleton$','runRefRangeMutations','SYNCED','fillRule','_clearPolling','collaboration.closeRoom','clearTimeout','IRenderManagerService','_initResize','getCollabEntity$','OTHER_CLIENTS_EDITING','subscribe','InsertColCommandId','SetDocZoomRatioOperation','off-line-icon_clip0_910_343','getConfig','takeUntil','getColor','createInstance','_backgroundColor','setAlpha','merge','_name','CLOSE_ROOM','off-line-icon','collabStatus.offline','OTHER_CLIENT_EDITING','SUCCESS','ranges','react/jsx-runtime','_getScale','Shape','_saveTaskMap','EMAIL_HAS_BEEN_BOUND','find','init','event$','DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','_logService','handleMoveRange','disposeWithMe','formula.calculation.unable','MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','LOCAL_CACHE_INTERVAL','WECHAT_HAS_BEEN_BOUND','onStarting','min','function','url(#$1','registerRefRange','wsSessionTicketUrl','history','_heartbeatTimer','[CollaborationDataLoaderController]','LICENSE_IMPORT_SIZE_EXCEEDED','resize','runOnServer','unit','univer-flex\x20univer-items-center','_drawAnchor','session.connection-failed','ENTITLE_DUP_SUBSCRIPTION','DisposableCollection','unitId','getFocusedUnit','UniverIcon','_setupSubUnitSync','skeleton','ALREADY_EXISTS','DeleteRangeMoveUpCommandId','onPointerMove$','WebSocketService','_getMergeRange','row','mergeOverrideWithDependencies','_imageIoService','m2Prime','_monkeyPatchLogService','limitInfo','SheetCollabCursorShape','generateRandomId','params','isActive','currentUsage','setActiveRange','onCommandExecuted','rgba(255,\x20255,\x20255,\x200.01)','LICENSE_DISTRO_REJECTED','_scheduleHeartbeat','277218SpGpLI','/universer-api/frontend/logs','jiqing.500','IMessageService','toDisposable','_syncEditingCollabCursorService','symbol','fillStyle','svg','/run/','evenodd','81720hFWNZR','startFormulaLimitUrl','UNIVER_COLLABORATION_CLIENT_WEB_PLUGIN','_maxFormulaLimit','_saveCache','5666983zyNZIs','uni.network.url-service','MUTATION','length','8714772xhhUXz','lineTo','loadOfflineData','72Hjzpjh','clearInterval','@univerjs/design','@univerjs/core','FromArray','column','LOGIN_FAILED','handleDeleteRangeMoveUp','_disabled','ENTITLE_INVALID_COUPON_CODE','getTypeOfUnitAdded$','UniverEngineFormula','setParam','_anchorDot','getSheetObject','addObject','_onRefRangeChange','M0\x200H16V16H0z','startColumn','YUUMI_ALL_TABLES_IS_INVALID','SUBMIT_CHANGESET_TIMEOUT','lineno','_context','ILocalCacheService','getParam','unhandledrejection','_lastPointer','getDocRanges','dispose$','_config','0\x200\x2016\x2016','restore','saveOfflineData','INTERNAL_ERROR','_collaborationUIEventService','source','_configService','DocCollaborationEntity','_uiPartsService','ENSURE_SNAPSHOT_EXECUTION','_session','APPLY_DUPLICATED','mask','Unknown\x20user','assign','collabStatus.conflict','getUndoRedoMutationParamsCache','actions','NO_OTHER_CLIENTS_EDITING','MessageType','/universer-api/license/formula/limit/start','unitID','_docSyncEditingCollabCursorService','docStateChange$','No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.','transformStateCache','_getSaveTimeout','_eventUnsubscribe','RegularPolygon','_toggleOffline','CollaborationDataLoaderController','subUnitId','deserializeRangeWithSheet','setConfig','green.600','updateOfflineData','searchParams','releaseFormulaLimitUrl','disableLocalCache','UNAUTHENTICATED','DataLoaderService','ENTITLE_REPORT_LIMIT_EXCEED','collab-text-range-','type','INVITE_CODE_ALREADY_BOUND','_updateURLWithCurrentState','ENTITLE_COUPON_EXPIRED','path','split','setShapeProps','handleIRemoveCol','ENTITLE_COUPON_USED_UP','onMouseMove','#FFF','save','_initEvent','UniverDocsUi','show','SetTextSelectionsOperation','flatMap','getTypeOfUnitDisposed$','ENTITLE_CAN_NOT_BUY_LOWER_OTP','toString','NodePositionConvertToRectRange','findNodePositionByCharIndex','_removeClearOtherTimer','_drawTextRange','mapTo','_doCreateSocket','asObservable','distinctUntilChanged','YUUMI_SUBSCRIPTION_NOT_FOUND','search','none','_hover','_docSkeletonManagerService','eventID','_scheduleSaving','@univerjs/engine-formula','unsubscribe','_colorIndex','fill','contains','isArray','onPointerLeave$','clsx','runId','_lastResponseTimestamp','transformMutation','registerRenderModule','endRow','univer-text-sm\x20univer-leading-8\x20univer-text-gray-600\x20dark:!univer-text-gray-200','CollaborationEvent','CollaborationController','_checkAndWaitForCalculationPermission','sessionTicket','JOIN_ROOM_FAILED','_notificationService','requireSession','getMember','textRanges','connectInjector','SetFormulaCalculationNotificationMutation','_docTransformSelectionsService','shift','color','UniverUi','text','height','arc','selection','CURRENT_STATUS_CANNOT_OPERATE','undoState','_online','_hideTimer','collabStatus.notCollab','max','8oNDeHb','set','imageSourceType','UNIVER_SHEET','REDEMPTION_USER_NOT_ELIGIBLE','Success','_initUnhandledRejectionListener','getMemberID','dispose','UPDATE_CURSOR','RxDisposable','PERMISSION_DENIED','stage','Inject','_docSkeleton','addEventListener','serializeRangeWithSheet','m1Prime','loadUnit','setTimeout','onTransformChange$','url(#off-line-icon_clip0_910_343)','sessionStatus$','combineLatest','YUUMI_URL_COL_OUT_OF_RANGE','COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY','white','reason','REDEMPTION_CODE_INACTIVE','EMAIL_VERIFY_CODE_MISMATCH','_updateSubUnitFromURLParams','UNDEFINED','_cursors','startsWith','CONNECTOR_DATA_TOO_LARGE','use','_getSheetObject','ColorKit','clipPath','handleInsertRow','addHandlerCallback','on-line-icon','current','_handleHeartbeatEvent','handleDeleteRangeMoveLeft','includes','Rectangle','_initStatusComponent','FETCH_MISS','IDocClipboardService','_initUserListener','complete','getCellPositionByOffset','currentColor','setInterval','getCoordByCell','add','_startCalculationLimit','purple.300','VIEW_MAIN','getRenderById','reconnect','disposeUnit','debounceTime','Tooltip','SetFormulaCalculationStartMutation','_initEntityListener','UniverCollaborationClientUIPlugin','popstate','_onCursorDelete','useCallback','CONFLICT','handleInsertRangeMoveRight','colorChannel1','_handleHover','EffectRefRangId','then','replace','YUUMI_AI_RUN_FAILED','_cursorShapes','REDEMPTION_CODE_FULLY_REDEEMED','collabStatus.syncing','APPLY_PERMISSION_DENIED','location','onPointerEnter$','toRgbString','blue.400','handleInsertRangeMoveDown','now','delete','_roomMembers$','subunit','fromEvent','RemoveRowCommandId','result','_clearOtherTimers','React','onLocalMutation','operators','href','isTransformMutationFailure','isTransformMutationsWithChangesetSuccess','getRelativeToViewportCoord','string','_collabCursorController','get','getCollabCursors$','UniverCore','UniverCollaborationClientPlugin','ACTIVE_UNIT_EVENT_CHANNEL','_getSessionTicket','override','_selfUnitIDs','collabCursorState$','saveTaskMap','DesktopCollaborationStatusDisplayController','_entities','Failed','\x20at\x20','SetWorksheetActivateCommand','formula.calculation.waiting','pushState','_applyCommand','_refRangeService','YUUMI_NO_CUBOID_FOR_QUESTION','RECT','DocStateChangeManagerService','has','_renderManagerService','_memberService','219nAxzsl','DocSelectionManagerService','PY_RUNTIME_SCRIPT_ERROR','cursorInfo','closePath','EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','ICommandService','redoState','transformSelections','InsertRowCommandId','UniverDesign','getRangePointData','toStringTag','getSkeleton','_injector','all','trim','post','CommandType','WebURLService','_removeCollabCursors','YUUMI_ASYNCIO_CANCELLED','APPLY_REVISION_CONFILICT','BehaviorSubject','enableLocalCache','executionId','Tools','onRendered','createSocket','_entityInit$','Injector','getUnitId','urlChange$','MOBILE_HAS_BEEN_BOUND','_checkCalculationAvailable','FormulaExecuteStageType','UniverNetwork','_range','APPLY_NON_SEQUENTIAL_REVISION','getVpScrollXYInfoByPosToVp','USERS_LEAVE','tag','DOC_RANGE_TYPE','react','collaboration-client-ui.config','sheetId','getformulaLimitStatusUrl','functionsExecutedState','_createSocketURL','getUnitStatus$','collab-text-anchor-'];_0x4506=function(){return _0x4c25de;};return _0x4506();}
|