@univerjs-pro/collaboration-client-ui 0.9.1-nightly.202507101607 → 0.9.2-nightly.202507111607
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/en-US.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/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/en-US.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/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/en-US.js +1 -1
- package/lib/locale/fa-IR.js +1 -1
- package/lib/locale/fr-FR.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/en-US.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/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 +16 -16
package/lib/umd/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
function _0x224b(_0x17f164,_0x4893a8){const _0x20d3fc=_0x20d3();return _0x224b=function(_0x224b6d,_0x219e8a){_0x224b6d=_0x224b6d-0x136;let _0x332914=_0x20d3fc[_0x224b6d];return _0x332914;},_0x224b(_0x17f164,_0x4893a8);}(function(_0x4e2099,_0x3bff6d){const _0x3b701e=_0x224b,_0x48505e=_0x4e2099();while(!![]){try{const _0x500cdd=-parseInt(_0x3b701e(0x3cb))/0x1+parseInt(_0x3b701e(0x365))/0x2+parseInt(_0x3b701e(0x1d8))/0x3+parseInt(_0x3b701e(0x35b))/0x4+parseInt(_0x3b701e(0x329))/0x5*(parseInt(_0x3b701e(0x31f))/0x6)+-parseInt(_0x3b701e(0x15e))/0x7+parseInt(_0x3b701e(0x2cf))/0x8*(-parseInt(_0x3b701e(0x3c9))/0x9);if(_0x500cdd===_0x3bff6d)break;else _0x48505e['push'](_0x48505e['shift']());}catch(_0x878ef){_0x48505e['push'](_0x48505e['shift']());}}}(_0x20d3,0x34bf4),function(_0xace64,_0x48c85d){const _0x540d2a=_0x224b;typeof exports=='object'&&typeof module<'u'?_0x48c85d(exports,require('@univerjs-pro/collaboration-client'),require('@univerjs/core'),require('@univerjs/engine-render'),require('@univerjs/network'),require('@univerjs/docs-ui'),require('@univerjs/drawing'),require('rxjs'),require('@univerjs-pro/collaboration'),require('@univerjs/docs'),require('@univerjs/engine-formula'),require('@univerjs/sheets'),require('rxjs/operators'),require('@univerjs/sheets-ui'),require('react/jsx-runtime'),require('@univerjs/ui'),require('@univerjs/design'),require('react'),require('@univerjs/rpc')):typeof define==_0x540d2a(0x356)&&define[_0x540d2a(0x1d5)]?define([_0x540d2a(0x31e),_0x540d2a(0x1ce),_0x540d2a(0x183),_0x540d2a(0x370),_0x540d2a(0x166),_0x540d2a(0x3d5),_0x540d2a(0x299),_0x540d2a(0x3dd),'@univerjs-pro/collaboration',_0x540d2a(0x263),_0x540d2a(0x33e),_0x540d2a(0x3c0),_0x540d2a(0x3bb),_0x540d2a(0x3b5),_0x540d2a(0x3c6),_0x540d2a(0x184),_0x540d2a(0x364),_0x540d2a(0x202),'@univerjs/rpc'],_0x48c85d):(_0xace64=typeof globalThis<'u'?globalThis:_0xace64||self,_0x48c85d(_0xace64[_0x540d2a(0x353)]={},_0xace64[_0x540d2a(0x32e)],_0xace64[_0x540d2a(0x341)],_0xace64[_0x540d2a(0x1f7)],_0xace64['UniverNetwork'],_0xace64[_0x540d2a(0x31b)],_0xace64[_0x540d2a(0x26c)],_0xace64[_0x540d2a(0x3dd)],_0xace64[_0x540d2a(0x1e2)],_0xace64[_0x540d2a(0x213)],_0xace64[_0x540d2a(0x24d)],_0xace64[_0x540d2a(0x298)],_0xace64[_0x540d2a(0x3dd)][_0x540d2a(0x195)],_0xace64[_0x540d2a(0x343)],_0xace64['React'],_0xace64[_0x540d2a(0x1af)],_0xace64[_0x540d2a(0x3cc)],_0xace64[_0x540d2a(0x1c5)],_0xace64[_0x540d2a(0x2ee)]));}(this,function(_0x2cb787,_0x506fcd,_0x2b635d,_0x59264b,_0x495adb,_0x4fb330,_0x2ffb4e,_0x4e09fc,_0xa72689,_0x57f3fe,_0x36e46b,_0x1daad8,_0x2b569a,_0x2b7a6f,_0xc7d18e,_0x149545,_0x5ae169,_0x23e7f1,_0x24dca0){'use strict';const _0x247c13=_0x224b;var _0x2b0fbe=Object[_0x247c13(0x1a0)],_0x128620=(_0x1644d2,_0x5c858f,_0x548c13)=>_0x5c858f in _0x1644d2?_0x2b0fbe(_0x1644d2,_0x5c858f,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x548c13}):_0x1644d2[_0x5c858f]=_0x548c13,_0x42d170=(_0x3c67dc,_0xe78eec,_0x4d9f2f)=>_0x128620(_0x3c67dc,typeof _0xe78eec!=_0x247c13(0x14d)?_0xe78eec+'':_0xe78eec,_0x4d9f2f),_0x40adef=Object[_0x247c13(0x1fe)],_0x130580=(_0xc42009,_0x3a9788,_0x529756,_0xc37672)=>{const _0x42365e=_0x247c13;for(var _0x249e63=_0xc37672>0x1?void 0x0:_0xc37672?_0x40adef(_0x3a9788,_0x529756):_0x3a9788,_0x594701=_0xc42009[_0x42365e(0x2b2)]-0x1,_0x53455b;_0x594701>=0x0;_0x594701--)(_0x53455b=_0xc42009[_0x594701])&&(_0x249e63=_0x53455b(_0x249e63)||_0x249e63);return _0x249e63;},_0x4fd54e=(_0xd86e00,_0x38456c)=>(_0x20aede,_0x4e0be6)=>_0x38456c(_0x20aede,_0x4e0be6,_0xd86e00);let _0x275fd7=class extends _0x2b635d[_0x247c13(0x175)]{constructor(_0x69a23c,_0x2dbae3){const _0x10088c=_0x247c13;super(),this[_0x10088c(0x23c)]=_0x69a23c,this[_0x10088c(0x1fa)]=_0x2dbae3,this[_0x10088c(0x188)]();}[_0x247c13(0x188)](){const _0x2fa8f8=_0x247c13,_0x2b6bc9=this;this[_0x2fa8f8(0x340)](this[_0x2fa8f8(0x23c)][_0x2fa8f8(0x303)]({'onBeforePasteImage':async _0x2e8447=>{const _0x2f21c0=_0x2fa8f8,_0x7da3f9=await _0x2b6bc9[_0x2f21c0(0x1fa)][_0x2f21c0(0x170)](_0x2e8447);return _0x7da3f9?{'source':_0x7da3f9[_0x2f21c0(0x32b)],'imageSourceType':_0x7da3f9[_0x2f21c0(0x201)]}:null;}}));}};_0x275fd7=_0x130580([_0x4fd54e(0x0,_0x4fb330['IDocClipboardService']),_0x4fd54e(0x1,_0x2ffb4e[_0x247c13(0x267)])],_0x275fd7);const _0x402510=['purple.300',_0x247c13(0x391),_0x247c13(0x1ff),'red.300','blue.400','yellow.400'];class _0x5f32f6 extends _0x2b635d[_0x247c13(0x208)]{constructor(){const _0x3b5f9f=_0x247c13;super(...arguments),_0x42d170(this,_0x3b5f9f(0x205),new Map()),_0x42d170(this,_0x3b5f9f(0x1dc),0x0);}[_0x247c13(0x238)](_0x343f1d){const _0x275531=_0x247c13;if(this[_0x275531(0x205)]['has'](_0x343f1d))return this[_0x275531(0x205)][_0x275531(0x2b6)](_0x343f1d);const _0x2bcfb3=_0x402510[this[_0x275531(0x1dc)]];return this['_colorIndex']=(this[_0x275531(0x1dc)]+0x1)%_0x402510['length'],this[_0x275531(0x205)]['set'](_0x343f1d,_0x2bcfb3),_0x2bcfb3;}}function _0x1bd119(_0x19267e){const _0x668100=_0x247c13;let _0x3f2f3a='';for(const _0x5009f2 of _0x19267e){const {startOffset:_0x1a0629,endOffset:_0x321b00,isActive:_0x916f5c,rangeType:_0x4c1922,segmentId:_0x4761a7,segmentPage:_0xb9fa1d}=_0x5009f2;_0x3f2f3a[_0x668100(0x2b2)]&&(_0x3f2f3a+=','),_0x3f2f3a+=_0x1a0629+':'+_0x321b00+':'+(_0x916f5c?'1':'0')+':'+_0x4c1922+':'+_0x4761a7+':'+_0xb9fa1d;}return _0x3f2f3a;}function _0x190471(_0x116dd9){const _0x3a74bf=_0x247c13,_0x2d9808=_0x116dd9[_0x3a74bf(0x17b)](','),_0x3a4246=[];for(const _0xbf6551 of _0x2d9808){const [_0x2403af,_0x4784f5,_0x4b4618,_0x14266f,_0x27b465,_0x597d9a]=_0xbf6551[_0x3a74bf(0x17b)](':');_0x3a4246['push']({'startOffset':Number(_0x2403af),'endOffset':Number(_0x4784f5),'collapsed':_0x2403af===_0x4784f5,'isActive':_0x4b4618==='1','rangeType':_0x14266f===_0x2b635d[_0x3a74bf(0x3de)][_0x3a74bf(0x16d)]?_0x2b635d[_0x3a74bf(0x3de)][_0x3a74bf(0x16d)]:_0x2b635d['DOC_RANGE_TYPE'][_0x3a74bf(0x3da)],'segmentId':typeof _0x27b465==_0x3a74bf(0x1ee)?String(_0x27b465):'','segmentPage':Number(_0x597d9a!=null?_0x597d9a:-0x1)});}return _0x3a4246[_0x3a74bf(0x22a)](_0x248d44=>_0x248d44['isActive'])||(_0x3a4246[0x0]['isActive']=!0x0),_0x3a4246;}class _0x2b28f5 extends _0x2b635d[_0x247c13(0x175)]{constructor(){const _0x538e12=_0x247c13;super(...arguments),_0x42d170(this,_0x538e12(0x177),new _0x4e09fc['BehaviorSubject'](null)),_0x42d170(this,'collabCursorState$',this['_collabCursorState$']['asObservable']());}[_0x247c13(0x1d2)](_0x1ac621){const _0x2d88cd=_0x247c13,{unitID:_0x5f2f0f,memberID:_0x3a676e,textRanges:_0x334f91}=_0x1ac621,_0x5a266f=_0x1bd119(_0x334f91);if(_0x5a266f==='')return;const _0x2df301={'unitID':_0x5f2f0f,'memberID':_0x3a676e,'selection':_0x5a266f};this[_0x2d88cd(0x177)][_0x2d88cd(0x285)](_0x2df301);}}var _0x3bea9b=Object[_0x247c13(0x1fe)],_0x56418d=(_0x3b5ac8,_0x26ca1a,_0x20d06f,_0x198b65)=>{const _0x183206=_0x247c13;for(var _0x15c18f=_0x198b65>0x1?void 0x0:_0x198b65?_0x3bea9b(_0x26ca1a,_0x20d06f):_0x26ca1a,_0x36b947=_0x3b5ac8[_0x183206(0x2b2)]-0x1,_0x1d9bbf;_0x36b947>=0x0;_0x36b947--)(_0x1d9bbf=_0x3b5ac8[_0x36b947])&&(_0x15c18f=_0x1d9bbf(_0x15c18f)||_0x15c18f);return _0x15c18f;},_0x1a1a25=(_0x4c7816,_0x2523dc)=>(_0x7254cb,_0x496ec6)=>_0x2523dc(_0x7254cb,_0x496ec6,_0x4c7816);const _0x265bd0=0x12c,_0x4dfd71=0x64;let _0x1359db=class extends _0x2b635d[_0x247c13(0x175)]{constructor(_0x464216,_0x2c8f94,_0x206a71,_0x9fbccd,_0x13b7f5,_0x2cb969,_0xbfd69c,_0xf28755,_0x35273d){const _0x3eee69=_0x247c13;super(),_0x42d170(this,_0x3eee69(0x167),!0x1),_0x42d170(this,_0x3eee69(0x188),!0x1),_0x42d170(this,_0x3eee69(0x1e7),new _0x4e09fc[(_0x3eee69(0x1e8))](new Map())),_0x42d170(this,'cursorInfo$',this['_cursorInfo$'][_0x3eee69(0x1fc)]()),_0x42d170(this,'_roomMembers$',new _0x4e09fc[(_0x3eee69(0x1e8))]([])),_0x42d170(this,_0x3eee69(0x227),this[_0x3eee69(0x2ef)][_0x3eee69(0x24a)](_0x4e09fc['debounceTime'](_0x265bd0))),_0x42d170(this,'_updateLocalCursor',_0x2b635d['debounce'](_0x223173=>{const _0x2566e8=_0x3eee69,_0x4a34af={'eventID':_0xa72689[_0x2566e8(0x362)][_0x2566e8(0x377)],'data':{'unitID':this['unitID'],'memberID':this[_0x2566e8(0x2eb)][_0x2566e8(0x3c4)](),'selection':_0x1bd119(_0x223173)}};this['_session'][_0x2566e8(0x3d4)](_0x4a34af,this[_0x2566e8(0x17c)]);},_0x4dfd71)),(this[_0x3eee69(0x17c)]=_0x464216,this[_0x3eee69(0x2eb)]=_0x2c8f94,this['_injector']=_0x206a71,this[_0x3eee69(0x13a)]=_0x9fbccd,this[_0x3eee69(0x26f)]=_0x13b7f5,this['_syncEditingCollabCursorService']=_0x2cb969,this[_0x3eee69(0x30f)]=_0xbfd69c,this['_univerInstanceService']=_0xf28755,this[_0x3eee69(0x192)]=_0x35273d);}get[_0x247c13(0x34d)](){const _0x3576de=_0x247c13;return this[_0x3576de(0x1e7)]['getValue']();}get[_0x247c13(0x2dc)](){const _0x4bbeb3=_0x247c13;return this[_0x4bbeb3(0x2ef)][_0x4bbeb3(0x148)]();}[_0x247c13(0x228)](){const _0x1f11ac=_0x247c13;super['dispose'](),this[_0x1f11ac(0x1e7)][_0x1f11ac(0x285)](new Map()),this[_0x1f11ac(0x1e7)]['complete'](),this[_0x1f11ac(0x2ef)][_0x1f11ac(0x285)]([]),this[_0x1f11ac(0x2ef)][_0x1f11ac(0x185)]();}['init'](){const _0x3b0019=_0x247c13;this[_0x3b0019(0x188)]||(this[_0x3b0019(0x188)]=!0x0,this[_0x3b0019(0x2eb)][_0x3b0019(0x13c)][_0x3b0019(0x24a)](_0x4e09fc[_0x3b0019(0x1f9)](this[_0x3b0019(0x2ec)]))['subscribe'](_0x432f99=>{const _0x15412d=_0x3b0019;_0x432f99===_0x506fcd[_0x15412d(0x180)][_0x15412d(0x3a1)]?this[_0x15412d(0x1ea)]():this['_toggleOffline']();}),this[_0x3b0019(0x2eb)][_0x3b0019(0x14b)][_0x3b0019(0x24a)](_0x4e09fc[_0x3b0019(0x1f9)](this[_0x3b0019(0x2ec)]))['subscribe'](_0x49d778=>{const _0x1b834c=_0x3b0019,_0x5604a1=_0x49d778[_0x1b834c(0x2fe)];_0x5604a1===_0xa72689[_0x1b834c(0x362)][_0x1b834c(0x377)]&&this[_0x1b834c(0x250)](_0x49d778),_0x5604a1===_0xa72689['CollaborationEvent']['USERS_LEAVE']&&this['_onCursorDelete'](_0x49d778);}),this[_0x3b0019(0x340)](this[_0x3b0019(0x192)][_0x3b0019(0x1c4)](_0x2bd126=>{const _0x502cce=_0x3b0019,_0x347c0f=_0x2bd126[_0x502cce(0x14f)];_0x347c0f!=null&&this['_online']&&_0x2bd126['id']===_0x57f3fe[_0x502cce(0x2bc)]['id']&&_0x347c0f['unitId']===this[_0x502cce(0x17c)]&&_0x347c0f[_0x502cce(0x3ae)]===!0x1&&_0x347c0f[_0x502cce(0x363)][_0x502cce(0x2b2)]>0x0&&this[_0x502cce(0x23d)](_0x347c0f[_0x502cce(0x363)]);})),this[_0x3b0019(0x186)][_0x3b0019(0x2d7)]['pipe'](_0x4e09fc['takeUntil'](this['dispose$']))['subscribe'](_0x58ea9f=>{const _0x125075=_0x3b0019;if((_0x58ea9f==null?void 0x0:_0x58ea9f[_0x125075(0x17c)])!==this[_0x125075(0x17c)])return;const _0x2261ec={'eventID':_0xa72689[_0x125075(0x362)][_0x125075(0x377)],'data':_0x58ea9f};this[_0x125075(0x250)](_0x2261ec);}),this[_0x3b0019(0x340)](this[_0x3b0019(0x192)][_0x3b0019(0x1c4)](_0x255be1=>{const _0x2f80bc=_0x3b0019;if(_0x255be1['params']==null)return;const _0x10361a=_0x255be1[_0x2f80bc(0x14f)];if(_0x255be1['id']!==_0x57f3fe['RichTextEditingMutation']['id']||_0x10361a[_0x2f80bc(0x229)]!==this[_0x2f80bc(0x17c)])return;const _0x23dbac={'id':'doc.mutation.rich-text-editing','params':_0x10361a},_0x5e889c=this['cursorInfo'];for(const [_0x50e70f,_0x39cf8a]of _0x5e889c){const _0x4d338e={'id':_0x2f80bc(0x38c),'params':{'unitId':this[_0x2f80bc(0x17c)],'actions':null,'textRanges':_0x39cf8a[_0x2f80bc(0x363)]}},_0x4c8d03=this[_0x2f80bc(0x30f)][_0x2f80bc(0x309)](_0x23dbac,_0x4d338e,!0x1);if(_0xa72689[_0x2f80bc(0x1d9)](_0x4c8d03))throw _0x4c8d03['error'];_0x5e889c[_0x2f80bc(0x3d3)](_0x50e70f,{..._0x39cf8a,'ranges':_0x4c8d03[_0x2f80bc(0x1b3)][_0x2f80bc(0x14f)][_0x2f80bc(0x247)]});}queueMicrotask(()=>{const _0x27e64b=_0x2f80bc;this['_cursorInfo$'][_0x27e64b(0x285)](_0x5e889c);});})));}[_0x247c13(0x250)](_0x566f10){const _0x1efe0b=_0x247c13;var _0x69f5b0,_0x460afc;const {memberID:_0x529184,selection:_0xded23b}=_0x566f10['data'],_0x170983=_0x190471(_0xded23b),_0x39c3f6=(_0x460afc=(_0x69f5b0=this[_0x1efe0b(0x26f)][_0x1efe0b(0x3ad)](this[_0x1efe0b(0x17c)],_0x529184))==null?void 0x0:_0x69f5b0['name'])!=null?_0x460afc:'Unknown\x20user',_0x137987={'color':this['_colorAssignService']['assignAColorForMemberID'](_0x529184),'name':_0x39c3f6,'ranges':_0x170983},_0xedd919=this[_0x1efe0b(0x34d)];_0xedd919[_0x1efe0b(0x3d3)](_0x529184,_0x137987),this['_cursorInfo$']['next'](_0xedd919);}[_0x247c13(0x28b)](_0x1674d8){const _0x56b6ee=_0x247c13,{memberID:_0x60b714}=_0x1674d8[_0x56b6ee(0x2cd)],_0x5ac9b8=this[_0x56b6ee(0x34d)];_0x5ac9b8['delete'](_0x60b714),this[_0x56b6ee(0x1e7)][_0x56b6ee(0x285)](_0x5ac9b8);}[_0x247c13(0x1ea)](){const _0x2e794f=_0x247c13;var _0x5ca522;if(this['_online']=!0x0,((_0x5ca522=this[_0x2e794f(0x1bc)][_0x2e794f(0x187)]())==null?void 0x0:_0x5ca522[_0x2e794f(0x37f)]())!==this[_0x2e794f(0x17c)])return;const _0x3f60d1=this['_injector'][_0x2e794f(0x2b6)](_0x57f3fe['DocSelectionManagerService'])['getDocRanges']();Array[_0x2e794f(0x244)](_0x3f60d1)&&_0x3f60d1[_0x2e794f(0x2b2)]>0x0&&this[_0x2e794f(0x23d)](_0x3f60d1);}[_0x247c13(0x136)](){const _0x1d7383=_0x247c13;this[_0x1d7383(0x167)]=!0x1;}};_0x1359db=_0x56418d([_0x1a1a25(0x2,_0x2b635d[_0x247c13(0x165)](_0x2b635d[_0x247c13(0x230)])),_0x1a1a25(0x3,_0x2b635d[_0x247c13(0x165)](_0x5f32f6)),_0x1a1a25(0x4,_0x2b635d['Inject'](_0x506fcd[_0x247c13(0x1ef)])),_0x1a1a25(0x5,_0x2b635d[_0x247c13(0x165)](_0x2b28f5)),_0x1a1a25(0x6,_0xa72689[_0x247c13(0x1a4)]),_0x1a1a25(0x7,_0x2b635d[_0x247c13(0x29d)]),_0x1a1a25(0x8,_0x2b635d[_0x247c13(0x2bd)])],_0x1359db);var _0x1b5561=Object[_0x247c13(0x1fe)],_0x14bc9c=(_0x33e90c,_0x684c28,_0x2f61e7,_0x4855bd)=>{const _0xdaf217=_0x247c13;for(var _0x12e7c8=_0x4855bd>0x1?void 0x0:_0x4855bd?_0x1b5561(_0x684c28,_0x2f61e7):_0x684c28,_0xeb4d52=_0x33e90c[_0xdaf217(0x2b2)]-0x1,_0x49529d;_0xeb4d52>=0x0;_0xeb4d52--)(_0x49529d=_0x33e90c[_0xeb4d52])&&(_0x12e7c8=_0x49529d(_0x12e7c8)||_0x12e7c8);return _0x12e7c8;},_0xe8be12=(_0x35f821,_0x47a5e2)=>(_0x319189,_0x415f3a)=>_0x47a5e2(_0x319189,_0x415f3a,_0x35f821);const _0x547635=0x12c,_0x45a8b2=0x64,_0x1c6b6e=()=>{let _0x337e3c=[],_0x58843f=!0x1;return _0x13f9bf=>{const _0xbc7d90=_0x224b;_0x337e3c[_0xbc7d90(0x2bf)](_0x13f9bf),_0x58843f||(_0x58843f=!0x0,setTimeout(()=>{const _0xfc217d=_0xbc7d90;_0x337e3c[_0xfc217d(0x1db)](_0xd140d4=>_0xd140d4()),_0x337e3c=[],_0x58843f=!0x1;}));};};let _0x5ca7d8=class extends _0x2b635d['RxDisposable']{constructor(_0x2da452,_0x25650c,_0x338f9f,_0x5aad99,_0x5f213d,_0x275bd8,_0x1cc291,_0x22bb2e){const _0xae53ec=_0x247c13;super(),_0x42d170(this,_0xae53ec(0x167),!0x1),_0x42d170(this,_0xae53ec(0x188),!0x1),_0x42d170(this,_0xae53ec(0x1e7),new _0x4e09fc['BehaviorSubject'](new Map())),_0x42d170(this,_0xae53ec(0x33a),this[_0xae53ec(0x1e7)][_0xae53ec(0x1fc)]()),_0x42d170(this,_0xae53ec(0x2ef),new _0x4e09fc[(_0xae53ec(0x1e8))]([])),_0x42d170(this,'roomMembers$',this[_0xae53ec(0x2ef)][_0xae53ec(0x24a)](_0x4e09fc[_0xae53ec(0x2a2)](_0x547635))),_0x42d170(this,_0xae53ec(0x23d),_0x2b635d[_0xae53ec(0x3b3)]((_0x3139f8,_0x479fb6)=>{const _0x59378a=_0xae53ec,_0x4ab9fb={'eventID':_0xa72689[_0x59378a(0x362)][_0x59378a(0x377)],'data':{'unitID':this[_0x59378a(0x17c)],'memberID':this['_session']['getMemberID'](),'selection':_0x36e46b[_0x59378a(0x22e)](_0x3139f8,_0x479fb6[_0x59378a(0x354)])}};this[_0x59378a(0x2eb)][_0x59378a(0x3d4)](_0x4ab9fb,this[_0x59378a(0x17c)]);},_0x45a8b2)),(this[_0xae53ec(0x17c)]=_0x2da452,this[_0xae53ec(0x2eb)]=_0x25650c,this[_0xae53ec(0x2d1)]=_0x338f9f,this[_0xae53ec(0x13a)]=_0x5aad99,this[_0xae53ec(0x26f)]=_0x5f213d,this[_0xae53ec(0x1bc)]=_0x275bd8,this[_0xae53ec(0x192)]=_0x1cc291,this[_0xae53ec(0x38a)]=_0x22bb2e);}get[_0x247c13(0x34d)](){const _0x73de03=_0x247c13;return this[_0x73de03(0x1e7)]['getValue']();}get[_0x247c13(0x2dc)](){const _0x3ed866=_0x247c13;return this[_0x3ed866(0x2ef)]['getValue']();}['dispose'](){const _0x2db5c9=_0x247c13;super[_0x2db5c9(0x228)](),this[_0x2db5c9(0x1e7)]['next'](new Map()),this['_cursorInfo$'][_0x2db5c9(0x185)](),this[_0x2db5c9(0x2ef)][_0x2db5c9(0x285)]([]),this['_roomMembers$'][_0x2db5c9(0x185)]();}[_0x247c13(0x225)](){const _0x2d58ea=_0x247c13;this[_0x2d58ea(0x188)]||(this[_0x2d58ea(0x188)]=!0x0,this[_0x2d58ea(0x2eb)]['sessionStatus$']['pipe'](_0x4e09fc[_0x2d58ea(0x1f9)](this[_0x2d58ea(0x2ec)]))[_0x2d58ea(0x1f8)](_0x56f746=>{const _0x3d926b=_0x2d58ea;_0x56f746===_0x506fcd[_0x3d926b(0x180)][_0x3d926b(0x3a1)]?this['_toggleOnline']():this[_0x3d926b(0x136)]();}),this[_0x2d58ea(0x2eb)]['event$'][_0x2d58ea(0x24a)](_0x4e09fc[_0x2d58ea(0x1f9)](this[_0x2d58ea(0x2ec)]))[_0x2d58ea(0x1f8)](_0x225eb0=>{const _0x3ec7f7=_0x2d58ea,_0x236548=_0x225eb0[_0x3ec7f7(0x2fe)];_0x236548===_0xa72689['CollaborationEvent'][_0x3ec7f7(0x377)]&&this[_0x3ec7f7(0x250)](_0x225eb0),_0x236548===_0xa72689['CollaborationEvent'][_0x3ec7f7(0x389)]&&this[_0x3ec7f7(0x28b)](_0x225eb0);}),this[_0x2d58ea(0x2b3)](),this[_0x2d58ea(0x340)](this[_0x2d58ea(0x192)]['onCommandExecuted'](_0x3fb114=>{const _0x2a720e=_0x2d58ea;if(this[_0x2a720e(0x167)]&&_0x3fb114['id']===_0x1daad8[_0x2a720e(0x221)]['id']&&_0x3fb114[_0x2a720e(0x14f)][_0x2a720e(0x229)]===this[_0x2a720e(0x17c)]){const _0x408bcf=_0x3fb114[_0x2a720e(0x14f)];this[_0x2a720e(0x23d)](_0x408bcf['subUnitId'],_0x408bcf[_0x2a720e(0x283)][0x0]);}})));}[_0x247c13(0x250)](_0x1e8bbb){const _0x54c922=_0x247c13;var _0x2e96d2,_0x50c063;const {memberID:_0x53c54b,selection:_0xa63dac}=_0x1e8bbb[_0x54c922(0x2cd)],{sheetName:_0x26b0a1,range:_0x1d02a3}=_0x36e46b['deserializeRangeWithSheet'](_0xa63dac),_0x41523b={'name':(_0x50c063=(_0x2e96d2=this[_0x54c922(0x26f)][_0x54c922(0x3ad)](this[_0x54c922(0x17c)],_0x53c54b))==null?void 0x0:_0x2e96d2[_0x54c922(0x20d)])!=null?_0x50c063:'Unknown\x20user','range':this[_0x54c922(0x36f)](_0x26b0a1,_0x1d02a3),'sheetID':_0x26b0a1,'color':this[_0x54c922(0x13a)][_0x54c922(0x238)](_0x53c54b),'selection':_0xa63dac},_0x5efba4=this[_0x54c922(0x34d)];_0x5efba4[_0x54c922(0x3d3)](_0x53c54b,_0x41523b),this[_0x54c922(0x1e7)][_0x54c922(0x285)](_0x5efba4);}[_0x247c13(0x28b)](_0x366094){const _0x7aebab=_0x247c13,{memberID:_0x65289e}=_0x366094[_0x7aebab(0x2cd)],_0x4d50bc=this[_0x7aebab(0x34d)];_0x4d50bc[_0x7aebab(0x216)](_0x65289e),this[_0x7aebab(0x1e7)][_0x7aebab(0x285)](_0x4d50bc);}[_0x247c13(0x36f)](_0x5d478f,_0x250ac8){const _0x41480d=_0x247c13;var _0x1e8976,_0x56cda0;const _0x34c601=(_0x56cda0=(_0x1e8976=this['_univerInstanceService']['getUniverSheetInstance'](this[_0x41480d(0x17c)]))==null?void 0x0:_0x1e8976[_0x41480d(0x24e)](_0x5d478f))==null?void 0x0:_0x56cda0[_0x41480d(0x28f)]();return(_0x34c601==null?void 0x0:_0x34c601[_0x41480d(0x239)](_0x5a4f33=>_0x2b635d[_0x41480d(0x261)][_0x41480d(0x1c2)](_0x5a4f33,_0x250ac8)))||_0x250ac8;}[_0x247c13(0x2b3)](){const _0x432d50=_0x247c13,_0x29c333=new _0x2b635d[(_0x432d50(0x23e))](),_0x38f9cc=_0x1c6b6e(),_0x4df2d5=()=>{const _0x4621de=_0x432d50;_0x29c333[_0x4621de(0x228)]();const _0x3d008c=(_0x84e669,_0x1252d5,_0x17a75d,_0x5e4496)=>{const _0x4e53a4=_0x4621de;let _0x53c881=[];switch(_0x84e669['id']){case _0x1daad8['EffectRefRangId']['DeleteRangeMoveLeftCommandId']:{_0x53c881=_0x1daad8[_0x4e53a4(0x2a9)](_0x84e669,_0x5e4496);break;}case _0x1daad8[_0x4e53a4(0x1be)][_0x4e53a4(0x219)]:{_0x53c881=_0x1daad8[_0x4e53a4(0x3cd)](_0x84e669,_0x5e4496);break;}case _0x1daad8[_0x4e53a4(0x1be)][_0x4e53a4(0x1f3)]:{_0x53c881=_0x1daad8['handleInsertCol'](_0x84e669,_0x5e4496);break;}case _0x1daad8['EffectRefRangId'][_0x4e53a4(0x1b7)]:{_0x53c881=_0x1daad8[_0x4e53a4(0x15f)](_0x84e669,_0x5e4496);break;}case _0x1daad8[_0x4e53a4(0x1be)][_0x4e53a4(0x34e)]:{_0x53c881=_0x1daad8[_0x4e53a4(0x16c)](_0x84e669,_0x5e4496);break;}case _0x1daad8[_0x4e53a4(0x1be)]['InsertRowCommandId']:{_0x53c881=_0x1daad8['handleInsertRow'](_0x84e669,_0x5e4496);break;}case _0x1daad8[_0x4e53a4(0x1be)][_0x4e53a4(0x2c4)]:{_0x53c881=_0x1daad8[_0x4e53a4(0x1a8)](_0x84e669,_0x5e4496);break;}case _0x1daad8[_0x4e53a4(0x1be)][_0x4e53a4(0x143)]:{_0x53c881=_0x1daad8[_0x4e53a4(0x2da)](_0x84e669,_0x5e4496);break;}case _0x1daad8['EffectRefRangId'][_0x4e53a4(0x1e6)]:{_0x53c881=_0x1daad8[_0x4e53a4(0x2f8)](_0x84e669,_0x5e4496);break;}}const _0x28d202=_0x1daad8[_0x4e53a4(0x1c1)](_0x53c881,_0x5e4496),_0x5aa519=this[_0x4e53a4(0x34d)]['get'](_0x1252d5);if(_0x5aa519&&_0x28d202){const _0x33ca91={..._0x5aa519,'range':_0x28d202};this[_0x4e53a4(0x34d)][_0x4e53a4(0x3d3)](_0x1252d5,_0x33ca91),_0x38f9cc(()=>{const _0x5a0b7c=_0x4e53a4,_0x374ebf=this[_0x5a0b7c(0x38a)]['registerRefRange'](_0x28d202,_0x3ad219=>(_0x374ebf[_0x5a0b7c(0x228)](),_0x3d008c(_0x3ad219,_0x1252d5,_0x17a75d,_0x28d202)));_0x29c333[_0x5a0b7c(0x160)](_0x374ebf);});}return{'redos':[],'undos':[]};};this[_0x4621de(0x34d)][_0x4621de(0x1db)]((_0xaab12f,_0x265aa3)=>{const _0xab7549=_0x4621de,{range:_0x63161b,sheetID:_0x3ecde2}=_0xaab12f,_0x1da26b=this[_0xab7549(0x38a)]['registerRefRange'](_0x63161b,_0x25e430=>(_0x1da26b[_0xab7549(0x228)](),_0x3d008c(_0x25e430,_0x265aa3,_0x3ecde2,_0x63161b)));_0x29c333[_0xab7549(0x160)](_0x1da26b);});};this[_0x432d50(0x340)](_0x2b635d[_0x432d50(0x338)](this['_cursorInfo$'][_0x432d50(0x1f8)](()=>{_0x4df2d5();})));}[_0x247c13(0x1ea)](){const _0x439b52=_0x247c13;var _0x19ca27,_0x41e1fc;if(this[_0x439b52(0x167)]=!0x0,((_0x19ca27=this[_0x439b52(0x1bc)]['getFocusedUnit']())==null?void 0x0:_0x19ca27['getUnitId']())!==this[_0x439b52(0x17c)])return;const _0x27a996=(_0x41e1fc=this['_injector'][_0x439b52(0x2b6)](_0x1daad8['SheetsSelectionsService'])[_0x439b52(0x396)]())==null?void 0x0:_0x41e1fc[0x0],_0x2e99ed=this[_0x439b52(0x1bc)][_0x439b52(0x375)](_0x2b635d[_0x439b52(0x151)][_0x439b52(0x279)])['getActiveSheet']();_0x27a996&&_0x2e99ed&&this[_0x439b52(0x23d)](_0x2e99ed['getSheetId'](),_0x27a996);}[_0x247c13(0x136)](){const _0x51690b=_0x247c13;this[_0x51690b(0x167)]=!0x1;}};_0x5ca7d8=_0x14bc9c([_0xe8be12(0x2,_0x2b635d['Inject'](_0x2b635d[_0x247c13(0x230)])),_0xe8be12(0x3,_0x2b635d['Inject'](_0x5f32f6)),_0xe8be12(0x4,_0x2b635d['Inject'](_0x506fcd['MemberService'])),_0xe8be12(0x5,_0x2b635d['IUniverInstanceService']),_0xe8be12(0x6,_0x2b635d[_0x247c13(0x2bd)]),_0xe8be12(0x7,_0x2b635d['Inject'](_0x1daad8[_0x247c13(0x301)]))],_0x5ca7d8);var _0x11906b=Object[_0x247c13(0x1fe)],_0x2faff1=(_0x42872d,_0x5da8fd,_0x5673bb,_0x4a9a15)=>{const _0x1b0c25=_0x247c13;for(var _0x563c60=_0x4a9a15>0x1?void 0x0:_0x4a9a15?_0x11906b(_0x5da8fd,_0x5673bb):_0x5da8fd,_0x7db5ab=_0x42872d[_0x1b0c25(0x2b2)]-0x1,_0x1956a3;_0x7db5ab>=0x0;_0x7db5ab--)(_0x1956a3=_0x42872d[_0x7db5ab])&&(_0x563c60=_0x1956a3(_0x563c60)||_0x563c60);return _0x563c60;},_0x70334e=(_0x55dbf4,_0x17aa2c)=>(_0x12bcd3,_0x31ba00)=>_0x17aa2c(_0x12bcd3,_0x31ba00,_0x55dbf4);let _0x9097ea=class extends _0x2b635d[_0x247c13(0x175)]{constructor(_0x42668f,_0x23e9b3,_0x4a2cf4){const _0x519a3c=_0x247c13;super(),_0x42d170(this,'_entities',new Map()),_0x42d170(this,_0x519a3c(0x179),new _0x4e09fc[(_0x519a3c(0x275))]()),(this[_0x519a3c(0x1bc)]=_0x42668f,this[_0x519a3c(0x2d1)]=_0x23e9b3,this[_0x519a3c(0x3b7)]=_0x4a2cf4,this[_0x519a3c(0x188)]());}[_0x247c13(0x228)](){const _0x212a36=_0x247c13;super[_0x212a36(0x228)](),this['_entityInit$'][_0x212a36(0x185)](),this[_0x212a36(0x2f1)][_0x212a36(0x1db)](_0x245c67=>_0x245c67[_0x212a36(0x228)]());}[_0x247c13(0x2b9)](_0x2c1811){const _0x20bd5c=_0x247c13;return this['_entities'][_0x20bd5c(0x243)](_0x2c1811)?this[_0x20bd5c(0x2f1)][_0x20bd5c(0x2b6)](_0x2c1811)[_0x20bd5c(0x33a)]:this['_entityInit$']['pipe'](_0x4e09fc[_0x20bd5c(0x262)](_0x36d302=>_0x36d302[_0x20bd5c(0x17c)]===_0x2c1811),_0x4e09fc[_0x20bd5c(0x2af)](_0x17ae25=>_0x17ae25[_0x20bd5c(0x33a)]));}[_0x247c13(0x188)](){const _0xdf3d42=_0x247c13;this['_univerInstanceService'][_0xdf3d42(0x374)](_0x2b635d[_0xdf3d42(0x151)]['UNIVER_SHEET'])[_0xdf3d42(0x24a)](_0x4e09fc[_0xdf3d42(0x1f9)](this[_0xdf3d42(0x2ec)]))[_0xdf3d42(0x1f8)](async _0x2bef84=>{const _0x525e1b=_0xdf3d42,_0x42bd14=_0x2bef84[_0x525e1b(0x37f)](),_0x316960=await this[_0x525e1b(0x157)](_0x42bd14);this[_0x525e1b(0x179)][_0x525e1b(0x285)](_0x316960),this[_0x525e1b(0x2f1)][_0x525e1b(0x3d3)](_0x42bd14,_0x316960);}),this[_0xdf3d42(0x1bc)][_0xdf3d42(0x374)](_0x2b635d['UniverInstanceType'][_0xdf3d42(0x352)])[_0xdf3d42(0x24a)](_0x4e09fc['takeUntil'](this[_0xdf3d42(0x2ec)]))[_0xdf3d42(0x24a)](_0x4e09fc[_0xdf3d42(0x262)](_0x3445b5=>!_0x3445b5[_0xdf3d42(0x37f)]()[_0xdf3d42(0x29b)]('__')))['subscribe'](async _0x583733=>{const _0x2a70e4=_0xdf3d42,_0x1e6908=_0x583733[_0x2a70e4(0x37f)](),_0x170972=await this['_startDocCollabCursor'](_0x1e6908);this['_entityInit$'][_0x2a70e4(0x285)](_0x170972),this['_entities'][_0x2a70e4(0x3d3)](_0x1e6908,_0x170972);}),_0x4e09fc[_0xdf3d42(0x372)](this[_0xdf3d42(0x1bc)][_0xdf3d42(0x347)](_0x2b635d['UniverInstanceType'][_0xdf3d42(0x352)]),this['_univerInstanceService'][_0xdf3d42(0x347)](_0x2b635d['UniverInstanceType']['UNIVER_SHEET']))['pipe'](_0x4e09fc[_0xdf3d42(0x1f9)](this['dispose$']))[_0xdf3d42(0x1f8)](_0xeb1ca7=>{const _0x51eb87=_0xdf3d42,_0x1aeafe=_0xeb1ca7[_0x51eb87(0x37f)](),_0x23f3c4=this['_entities'][_0x51eb87(0x2b6)](_0x1aeafe);_0x23f3c4&&(_0x23f3c4[_0x51eb87(0x228)](),this[_0x51eb87(0x2f1)][_0x51eb87(0x216)](_0x1aeafe));});}async[_0x247c13(0x157)](_0x21e687){const _0x33e304=_0x247c13,_0x350eac=await this['_collabSessionService'][_0x33e304(0x265)](_0x21e687),_0x2fed76=this['_injector'][_0x33e304(0x15a)](_0x5ca7d8,_0x21e687,_0x350eac);return _0x2fed76[_0x33e304(0x225)](),_0x2fed76;}async[_0x247c13(0x1df)](_0x2ef071){const _0x636af5=_0x247c13,_0x510316=await this[_0x636af5(0x3b7)][_0x636af5(0x265)](_0x2ef071),_0x3c1f8d=this[_0x636af5(0x2d1)][_0x636af5(0x15a)](_0x1359db,_0x2ef071,_0x510316);return _0x3c1f8d[_0x636af5(0x225)](),_0x3c1f8d;}};_0x9097ea=_0x2faff1([_0x70334e(0x0,_0x2b635d[_0x247c13(0x29d)]),_0x70334e(0x1,_0x2b635d[_0x247c13(0x165)](_0x2b635d[_0x247c13(0x230)])),_0x70334e(0x2,_0x2b635d['Inject'](_0x506fcd[_0x247c13(0x1f1)]))],_0x9097ea);const _0x32c364=0x14,_0x50b529=0xc8,_0x56efd2=0x4,_0x22c475=0x5;function _0x412c5e(_0x3da6d2,_0x1a8b40){const _0x3ee922=_0x247c13;let {radius:_0x171838,width:_0x341bca,height:_0x4b1331}=_0x1a8b40;_0x171838=_0x171838!=null?_0x171838:0x0,_0x341bca=_0x341bca!=null?_0x341bca:0x1e,_0x4b1331=_0x4b1331!=null?_0x4b1331:0x1e;let _0x1645fe=0x0,_0x21c85c=0x0,_0x353887=0x0;_0x1645fe=_0x21c85c=_0x353887=Math[_0x3ee922(0x15b)](_0x171838,_0x341bca/0x2,_0x4b1331/0x2),_0x3da6d2[_0x3ee922(0x17f)](),_0x3da6d2[_0x3ee922(0x1c7)](_0x1645fe,0x0),_0x3da6d2[_0x3ee922(0x3df)](_0x341bca-_0x21c85c,0x0),_0x3da6d2[_0x3ee922(0x304)](_0x341bca-_0x21c85c,_0x21c85c,_0x21c85c,Math['PI']*0x3/0x2,0x0,!0x1),_0x3da6d2['lineTo'](_0x341bca,_0x4b1331-_0x353887),_0x3da6d2[_0x3ee922(0x304)](_0x341bca-_0x353887,_0x4b1331-_0x353887,_0x353887,0x0,Math['PI']/0x2,!0x1),_0x3da6d2[_0x3ee922(0x3df)](0x0,_0x4b1331),_0x3da6d2['lineTo'](0x0,_0x1645fe),_0x3da6d2[_0x3ee922(0x304)](_0x1645fe,_0x1645fe,_0x1645fe,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x3da6d2[_0x3ee922(0x266)](),_0x1a8b40[_0x3ee922(0x141)]&&(_0x3da6d2[_0x3ee922(0x20a)](),_0x3da6d2['fillStyle']=_0x1a8b40[_0x3ee922(0x141)],_0x1a8b40[_0x3ee922(0x387)]===_0x3ee922(0x313)?_0x3da6d2[_0x3ee922(0x141)]('evenodd'):_0x3da6d2['fill'](),_0x3da6d2[_0x3ee922(0x367)]());}class _0x1524c3 extends _0x59264b['Shape']{constructor(_0x48a6f9,_0x49c26f){const _0x27e0ca=_0x247c13;super(_0x48a6f9,_0x49c26f),_0x42d170(this,_0x27e0ca(0x35e)),_0x42d170(this,_0x27e0ca(0x398)),(this['color']=_0x49c26f==null?void 0x0:_0x49c26f[_0x27e0ca(0x35e)],this['text']=_0x49c26f==null?void 0x0:_0x49c26f[_0x27e0ca(0x398)]);}static[_0x247c13(0x327)](_0x7b4cfe,_0x16b2bc){const _0x2ff392=_0x247c13,{text:_0x4aa95c,color:_0x338363}=_0x16b2bc;_0x7b4cfe[_0x2ff392(0x20a)](),_0x7b4cfe[_0x2ff392(0x315)]=_0x2ff392(0x234);const _0x375e51=_0x7b4cfe[_0x2ff392(0x27d)](_0x4aa95c)[_0x2ff392(0x386)],_0x4c7753=Math[_0x2ff392(0x15b)](_0x375e51+0x2*_0x56efd2,_0x50b529);_0x412c5e(_0x7b4cfe,{'height':_0x32c364,'radius':0x4,'width':_0x4c7753,'fill':_0x338363}),_0x7b4cfe[_0x2ff392(0x20c)]=_0x2ff392(0x2a5);const _0x45ca78=_0x56efd2,_0x2ce926=_0x32c364-_0x22c475,_0x5494fd=_0x50b529-0x2*_0x56efd2;if(_0x375e51>_0x5494fd){let _0x3d8abf='',_0xaad124=0x0;for(const _0x16f900 of _0x4aa95c){const _0x8e5212=_0x7b4cfe['measureText'](_0x16f900)[_0x2ff392(0x386)];if(_0xaad124+_0x8e5212<=_0x5494fd-_0x7b4cfe[_0x2ff392(0x27d)](_0x2ff392(0x3a9))[_0x2ff392(0x386)])_0x3d8abf+=_0x16f900,_0xaad124+=_0x8e5212;else{_0x3d8abf+='...';break;}}_0x7b4cfe['fillText'](_0x3d8abf,_0x45ca78,_0x2ce926);}else _0x7b4cfe[_0x2ff392(0x159)](_0x4aa95c,_0x45ca78,_0x2ce926);_0x7b4cfe[_0x2ff392(0x367)]();}[_0x247c13(0x264)](_0x30265e){const _0x100315=_0x247c13;_0x1524c3[_0x100315(0x327)](_0x30265e,this);}}const _0x57ff65='collab-text-anchor-',_0x5185fa='collab-text-range-',_0x23d537='collab-rect-range-',_0x5d15a2=0x6,_0x4cff0a=1.5,_0x206bb4=0x4,_0xc50211=1.5,_0x475f76=_0x247c13(0x158);class _0x516683{constructor(_0x46c7fd,_0x3cdc55,_0x1e934d,_0x3dbd67){const _0x4a93b4=_0x247c13;_0x42d170(this,_0x4a93b4(0x197),[]),_0x42d170(this,'_anchor',null),_0x42d170(this,_0x4a93b4(0x2f3),null),_0x42d170(this,_0x4a93b4(0x322),null),_0x42d170(this,_0x4a93b4(0x26d),null),_0x42d170(this,_0x4a93b4(0x222),null),(this['_cursor']=_0x46c7fd,this[_0x4a93b4(0x281)]=_0x3cdc55,this[_0x4a93b4(0x16a)]=_0x1e934d,this[_0x4a93b4(0x28d)]=_0x3dbd67,this[_0x4a93b4(0x1e5)]());}set[_0x247c13(0x2bb)](_0xacb9fd){const _0x1a55fc=_0x247c13;_0xacb9fd?(this['_anchorDot']&&this[_0x1a55fc(0x322)]['hide'](),this[_0x1a55fc(0x2f3)]&&this['_textBubble'][_0x1a55fc(0x172)]()):(this['_anchorDot']&&this['_anchorDot']['show'](),this[_0x1a55fc(0x2f3)]&&this[_0x1a55fc(0x2f3)]['hide']());}[_0x247c13(0x228)](){const _0x4a4bdd=_0x247c13;for(const _0xd8436d of this[_0x4a4bdd(0x197)])_0xd8436d[_0x4a4bdd(0x228)]();this['_textBubble']&&this[_0x4a4bdd(0x2f3)]['dispose'](),this[_0x4a4bdd(0x322)]&&this[_0x4a4bdd(0x322)][_0x4a4bdd(0x228)](),this['_anchor']&&this['_anchor']['dispose'](),this[_0x4a4bdd(0x222)]&&this[_0x4a4bdd(0x222)]();}[_0x247c13(0x1e5)](){const _0x524011=_0x247c13;var _0x5d9457;const {_docSkeleton:_0x1848c2,_document:_0x3a6499}=this,{color:_0x8a3cc1,name:_0x489ba6,ranges:_0x956427}=this[_0x524011(0x25c)],_0x11aaf6=_0x3a6499[_0x524011(0x37b)](),{docsLeft:_0xbe7873,docsTop:_0x5b9528}=_0x11aaf6,_0x2778c4=new _0x4fb330[(_0x524011(0x382))](_0x11aaf6,_0x1848c2);for(const {startOffset:_0x41a485,endOffset:_0x3daf42,rangeType:_0x257473,segmentId:_0x5ab1df,segmentPage:_0x402a1f,collapsed:_0x23dbca,isActive:_0x11afd8}of _0x956427){const _0x3125c1=_0x1848c2[_0x524011(0x162)](_0x41a485,!0x0,_0x5ab1df,_0x402a1f);let _0x33d98e=_0x1848c2[_0x524011(0x162)](_0x3daf42,!0x0,_0x5ab1df,_0x402a1f);if(_0x33d98e==null&&(_0x33d98e=_0x1848c2[_0x524011(0x162)](_0x3daf42-0x1,!0x1,_0x5ab1df,_0x402a1f)),_0x11afd8){const {contentBoxPointGroup:_0x56e7cd}=_0x2778c4['getRangePointData'](_0x33d98e,_0x33d98e);if(_0x56e7cd[_0x524011(0x2b2)]===0x0)continue;this[_0x524011(0x2ac)](_0x8a3cc1,_0x56e7cd,_0xbe7873,_0x5b9528,_0x489ba6),this[_0x524011(0x222)]=this[_0x524011(0x147)]();}if(_0x3125c1&&_0x33d98e){if(_0x257473===_0x2b635d[_0x524011(0x3de)]['RECT']){const _0x61a459=new _0x4fb330['NodePositionConvertToRectRange'](_0x11aaf6,_0x1848c2),{pointGroup:_0xa385e0}=(_0x5d9457=_0x61a459[_0x524011(0x294)](_0x3125c1,_0x33d98e))!=null?_0x5d9457:{};if(_0xa385e0==null||_0xa385e0['length']===0x0)continue;this[_0x524011(0x215)](_0x8a3cc1,_0xa385e0,_0xbe7873,_0x5b9528);}else{if(!_0x23dbca){const {borderBoxPointGroup:_0x1ff774}=_0x2778c4[_0x524011(0x294)](_0x3125c1,_0x33d98e);if(_0x1ff774[_0x524011(0x2b2)]===0x0)continue;this[_0x524011(0x237)](_0x8a3cc1,_0x1ff774,_0xbe7873,_0x5b9528);}}}}}[_0x247c13(0x2ac)](_0x2c45ad,_0x542e2a,_0x4e0f31,_0x361112,_0x9fa2b){const _0x520dc7=_0x247c13,_0x10d156=this[_0x520dc7(0x25d)](_0x542e2a),{left:_0x3de668,top:_0x2e2687,height:_0x100d02}=_0x10d156,_0x512936=this[_0x520dc7(0x39b)](),_0x4ad8a9=_0xc50211/_0x512936,_0x2488b6=new _0x59264b[(_0x520dc7(0x2dd))](_0x57ff65+_0x2b635d[_0x520dc7(0x28c)][_0x520dc7(0x2e4)](_0x5d15a2),{'left':_0x3de668+_0x4e0f31-_0x4ad8a9,'top':_0x2e2687+_0x361112,'height':_0x100d02,'width':_0x4cff0a,'fill':_0x2c45ad||_0x59264b[_0x520dc7(0x2d8)](_0x2b635d[_0x520dc7(0x324)][_0x520dc7(0x337)],0x0),'strokeWidth':_0x4ad8a9,'stroke':_0x475f76,'evented':!0x0});this[_0x520dc7(0x29a)]=_0x2488b6,this[_0x520dc7(0x281)][_0x520dc7(0x19f)](_0x2488b6,_0x4fb330[_0x520dc7(0x224)]);const _0x2a4ff1=new _0x59264b[(_0x520dc7(0x2dd))](_0x57ff65+_0x2b635d[_0x520dc7(0x28c)][_0x520dc7(0x2e4)](_0x5d15a2),{'left':_0x3de668+_0x4e0f31-_0x4ad8a9,'top':_0x2e2687+_0x361112-_0x206bb4/0x2,'height':_0x206bb4,'width':_0x206bb4,'fill':_0x2c45ad||_0x59264b['getColor'](_0x2b635d[_0x520dc7(0x324)][_0x520dc7(0x337)],0x0),'strokeWidth':0x0,'stroke':_0x2c45ad||_0x59264b['getColor'](_0x2b635d[_0x520dc7(0x324)][_0x520dc7(0x337)],0x0),'evented':!0x1});this[_0x520dc7(0x322)]=_0x2a4ff1,this[_0x520dc7(0x281)][_0x520dc7(0x19f)](_0x2a4ff1,_0x4fb330[_0x520dc7(0x224)]);const _0x5c2144=new _0x1524c3(_0x57ff65+_0x2b635d[_0x520dc7(0x28c)][_0x520dc7(0x2e4)](_0x5d15a2),{'left':_0x3de668+_0x4e0f31-_0x4ad8a9,'top':_0x2e2687+_0x361112-_0x32c364,'text':_0x9fa2b,'color':_0x2c45ad});this['_textBubble']=_0x5c2144,this['_scene'][_0x520dc7(0x19f)](_0x5c2144,_0x4fb330['TEXT_RANGE_LAYER_INDEX']),this[_0x520dc7(0x2bb)]=!0x1;}[_0x247c13(0x147)](){const _0x40afd1=_0x247c13,_0x30f178=this[_0x40afd1(0x29a)][_0x40afd1(0x290)][_0x40afd1(0x209)](()=>{const _0x4946b7=_0x40afd1;this[_0x4946b7(0x2bb)]=!0x0;}),_0xa78799=this[_0x40afd1(0x29a)]['onPointerLeave$'][_0x40afd1(0x209)](()=>{const _0x1a7de1=_0x40afd1;this[_0x1a7de1(0x26d)]&&clearTimeout(this[_0x1a7de1(0x26d)]),this['_hideTimer']=setTimeout(()=>{const _0x41acf7=_0x1a7de1;this[_0x41acf7(0x2bb)]=!0x1;},0x7d0);});return()=>{const _0x21693a=_0x40afd1;_0x30f178[_0x21693a(0x20e)](),_0xa78799[_0x21693a(0x20e)]();};}[_0x247c13(0x237)](_0x4b1f45,_0x1a5e8f,_0x58987a,_0x2e2a54){const _0x4e1499=_0x247c13,_0x5d170c=new _0x2b635d['ColorKit'](_0x4b1f45)[_0x4e1499(0x163)](0.2)[_0x4e1499(0x2ca)](),_0x2aadf6=new _0x59264b[(_0x4e1499(0x369))](_0x5185fa+_0x2b635d['Tools']['generateRandomId'](_0x5d15a2),{'pointsGroup':_0x1a5e8f,'fill':_0x5d170c||_0x59264b[_0x4e1499(0x2d8)](_0x2b635d[_0x4e1499(0x324)][_0x4e1499(0x337)],0.2),'left':_0x58987a,'top':_0x2e2a54,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x4e1499(0x197)][_0x4e1499(0x2bf)](_0x2aadf6),this[_0x4e1499(0x281)][_0x4e1499(0x19f)](_0x2aadf6,_0x4fb330[_0x4e1499(0x224)]);}['_drawRectRange'](_0x24841d,_0x26e476,_0x10829f,_0x52f3e1){const _0x4c1f05=_0x247c13,_0x1ed379=new _0x2b635d[(_0x4c1f05(0x30a))](_0x24841d)[_0x4c1f05(0x163)](0.2)[_0x4c1f05(0x2ca)](),_0x29caff=new _0x59264b[(_0x4c1f05(0x369))](_0x23d537+_0x2b635d[_0x4c1f05(0x28c)][_0x4c1f05(0x2e4)](_0x5d15a2),{'pointsGroup':_0x26e476,'fill':_0x1ed379||_0x59264b[_0x4c1f05(0x2d8)](_0x2b635d['COLORS'][_0x4c1f05(0x337)],0.2),'left':_0x10829f,'top':_0x52f3e1,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x4c1f05(0x197)][_0x4c1f05(0x2bf)](_0x29caff),this[_0x4c1f05(0x281)][_0x4c1f05(0x19f)](_0x29caff,_0x4fb330['TEXT_RANGE_LAYER_INDEX']);}[_0x247c13(0x25d)](_0x3fb1f3){const _0x5a9309=_0x3fb1f3[0x0],_0x390a1b=_0x5a9309[0x0],_0x285f8d=_0x5a9309[0x2],{x:_0x518107,y:_0x2d3b79}=_0x390a1b,{x:_0x24dea5,y:_0x1ee136}=_0x285f8d;return{'left':_0x518107,'top':_0x2d3b79,'width':_0x24dea5-_0x518107,'height':_0x1ee136-_0x2d3b79};}[_0x247c13(0x39b)](){const _0xa224a2=_0x247c13,{scaleX:_0x260eb3,scaleY:_0x3a94fa}=this[_0xa224a2(0x281)]['getAncestorScale']();return Math[_0xa224a2(0x27f)](_0x260eb3,_0x3a94fa);}}var _0x5a8949=Object[_0x247c13(0x1fe)],_0x38f18b=(_0x17fccc,_0xee0e72,_0x506fad,_0x522330)=>{const _0xd10623=_0x247c13;for(var _0xc4627=_0x522330>0x1?void 0x0:_0x522330?_0x5a8949(_0xee0e72,_0x506fad):_0xee0e72,_0xa0bb0c=_0x17fccc[_0xd10623(0x2b2)]-0x1,_0x6f688f;_0xa0bb0c>=0x0;_0xa0bb0c--)(_0x6f688f=_0x17fccc[_0xa0bb0c])&&(_0xc4627=_0x6f688f(_0xc4627)||_0xc4627);return _0xc4627;},_0x4dedba=(_0x28b5dd,_0x2f6133)=>(_0x1ccf96,_0x2550c6)=>_0x2f6133(_0x1ccf96,_0x2550c6,_0x28b5dd);let _0x1ea147=class extends _0x2b635d[_0x247c13(0x175)]{constructor(_0x242c7d,_0x1b5892,_0x5dfb44,_0x18d975,_0x50ef0b){const _0x3c36da=_0x247c13;super(),_0x42d170(this,'_cursorShapes',[]),_0x42d170(this,'_cursors',[]),(this['_context']=_0x242c7d,this[_0x3c36da(0x23a)]=_0x1b5892,this[_0x3c36da(0x1d0)]=_0x5dfb44,this['_commandService']=_0x18d975,this[_0x3c36da(0x289)]=_0x50ef0b,this[_0x3c36da(0x188)]());}['_init'](){const _0x569cc0=_0x247c13,_0x374e3c=this[_0x569cc0(0x16b)]['unitId'],_0x243cf4=this[_0x569cc0(0x23a)];this['disposeWithMe'](_0x4e09fc['combineLatest']([this[_0x569cc0(0x1d0)][_0x569cc0(0x2b9)](_0x374e3c),this[_0x569cc0(0x289)][_0x569cc0(0x339)]])[_0x569cc0(0x24a)](_0x2b569a['map'](([_0x4c5a92,_0x1f2580])=>({'skeleton':_0x243cf4[_0x569cc0(0x2ad)](),'cursors':[..._0x4c5a92[_0x569cc0(0x27a)]()][_0x569cc0(0x311)](_0x477324=>({..._0x477324,'color':this[_0x569cc0(0x289)][_0x569cc0(0x31a)](_0x477324['color'])}))})))['subscribe'](_0x1f8140=>{if(this['_removeCollabCursors'](),_0x1f8140){const {skeleton:_0x712253,cursors:_0x335b0b}=_0x1f8140;this['_updateCollabCursors'](_0x712253,_0x335b0b);}})),this[_0x569cc0(0x1b2)](),this[_0x569cc0(0x286)]();}[_0x247c13(0x242)](_0x1024c5,_0x1b0d89){const _0x4dd567=_0x247c13,{scene:_0x196f1d,mainComponent:_0x3d933e}=this[_0x4dd567(0x16b)],_0xf6e72f=_0x1b0d89[_0x4dd567(0x199)](_0x439f48=>new _0x516683(_0x439f48,_0x196f1d,_0x1024c5,_0x3d933e));this[_0x4dd567(0x2ba)]=_0xf6e72f,this['_cursors']=_0x1b0d89;}[_0x247c13(0x346)](){const _0x186e11=_0x247c13;this[_0x186e11(0x18a)]();const {scene:_0x3ddf15,mainComponent:_0x40cca1}=this[_0x186e11(0x16b)],_0x342e5f=this[_0x186e11(0x23a)]['getSkeleton'](),_0x37d1c5=this[_0x186e11(0x2c5)][_0x186e11(0x199)](_0x1184ee=>new _0x516683(_0x1184ee,_0x3ddf15,_0x342e5f,_0x40cca1));this[_0x186e11(0x2ba)]=_0x37d1c5;}['_removeCollabCursors'](){const _0x1bfa1f=_0x247c13;this[_0x1bfa1f(0x2ba)]['forEach'](_0x4aef85=>_0x4aef85[_0x1bfa1f(0x228)]()),this['_cursorShapes']=[];}[_0x247c13(0x286)](){const _0x25b235=_0x247c13,_0xab8d29=[_0x4fb330['SetDocZoomRatioOperation']['id']];this['disposeWithMe'](this[_0x25b235(0x192)][_0x25b235(0x1c4)](_0x54d4a8=>{const _0x4837a6=_0x25b235;_0xab8d29['includes'](_0x54d4a8['id'])&&_0x54d4a8[_0x4837a6(0x14f)][_0x4837a6(0x229)]===this[_0x4837a6(0x16b)][_0x4837a6(0x229)]&&this[_0x4837a6(0x346)]();}));}[_0x247c13(0x1b2)](){const _0xa2861b=_0x247c13;this[_0xa2861b(0x340)](_0x2b635d[_0xa2861b(0x1bf)](this[_0xa2861b(0x16b)]['engine'][_0xa2861b(0x37a)])[_0xa2861b(0x24a)](_0x2b569a[_0xa2861b(0x262)](_0x2179fe=>_0x2179fe[_0xa2861b(0x1ca)]===_0x59264b[_0xa2861b(0x1d1)][_0xa2861b(0x296)]),_0x2b569a[_0xa2861b(0x310)](0x10))[_0xa2861b(0x1f8)](()=>{this['_refreshCollabCursors']();}));}};_0x1ea147=_0x38f18b([_0x4dedba(0x1,_0x2b635d['Inject'](_0x57f3fe[_0x247c13(0x1a3)])),_0x4dedba(0x2,_0x2b635d['Inject'](_0x9097ea)),_0x4dedba(0x3,_0x2b635d[_0x247c13(0x2bd)]),_0x4dedba(0x4,_0x2b635d[_0x247c13(0x165)](_0x2b635d[_0x247c13(0x19a)]))],_0x1ea147);const _0x4b3d02=0x1,_0x2a12f8=1.5;class _0x598ffe extends _0x59264b[_0x247c13(0x37d)]{constructor(_0x3329e3,_0x1dc022){const _0x5a8c06=_0x247c13;super(_0x3329e3,_0x1dc022),_0x42d170(this,'_color'),_0x42d170(this,_0x5a8c06(0x245),!0x1),_0x42d170(this,_0x5a8c06(0x2cb)),_0x42d170(this,_0x5a8c06(0x33c),''),_0x42d170(this,_0x5a8c06(0x345),'top'),_0x42d170(this,_0x5a8c06(0x331)),(_0x1dc022&&this[_0x5a8c06(0x217)](_0x1dc022),this[_0x5a8c06(0x290)][_0x5a8c06(0x209)](()=>this[_0x5a8c06(0x217)]({'hovered':!0x0})),this['onPointerLeave$'][_0x5a8c06(0x209)](()=>this[_0x5a8c06(0x217)]({'hovered':!0x1})));}[_0x247c13(0x217)](_0x4e100c){const _0x2e1ef8=_0x247c13;var _0x39e09f,_0x5cbee8,_0x5d0d0e,_0x4eca72,_0x496857,_0x5c735f;this['_color']=(_0x39e09f=_0x4e100c[_0x2e1ef8(0x35e)])!=null?_0x39e09f:this[_0x2e1ef8(0x3ce)],this[_0x2e1ef8(0x245)]=(_0x5cbee8=_0x4e100c[_0x2e1ef8(0x2d2)])!=null?_0x5cbee8:this[_0x2e1ef8(0x245)],this['_range']=(_0x5d0d0e=_0x4e100c[_0x2e1ef8(0x354)])!=null?_0x5d0d0e:this[_0x2e1ef8(0x2cb)],this[_0x2e1ef8(0x33c)]=(_0x4eca72=_0x4e100c[_0x2e1ef8(0x20d)])!=null?_0x4eca72:this[_0x2e1ef8(0x33c)],this[_0x2e1ef8(0x345)]=(_0x496857=_0x4e100c[_0x2e1ef8(0x39a)])!=null?_0x496857:this[_0x2e1ef8(0x345)],this[_0x2e1ef8(0x331)]=(_0x5c735f=_0x4e100c['backgroundColor'])!=null?_0x5c735f:this['_backgroundColor'],this[_0x2e1ef8(0x214)]({'width':_0x4e100c[_0x2e1ef8(0x386)],'height':_0x4e100c[_0x2e1ef8(0x27c)]});}[_0x247c13(0x3a4)](_0x25ef45){const _0x294731=_0x247c13,{row:_0x166947,column:_0x54a87d}=_0x25ef45;if(_0x166947>=this[_0x294731(0x2cb)]['startRow']&&_0x166947<=this[_0x294731(0x2cb)][_0x294731(0x3b6)]&&_0x54a87d>=this[_0x294731(0x2cb)][_0x294731(0x1b1)]&&_0x54a87d<=this['_range']['endColumn']){this[_0x294731(0x217)]({'hovered':!0x0});return;}this['setShapeProps']({'hovered':!0x1});}[_0x247c13(0x14e)](_0x51e11c){return!0x1;}[_0x247c13(0x264)](_0x18c826){const _0x53797f=_0x247c13;_0x59264b[_0x53797f(0x2dd)]['drawWith'](_0x18c826,{'width':this[_0x53797f(0x386)],'height':this[_0x53797f(0x27c)],'strokeWidth':_0x2a12f8,'stroke':this['_color'],'evented':!0x1,'fill':this[_0x53797f(0x331)]}),this[_0x53797f(0x245)]&&(_0x18c826[_0x53797f(0x20a)](),_0x18c826[_0x53797f(0x1e4)](0x1,0x0,0x0,0x1,this[_0x53797f(0x386)],this[_0x53797f(0x345)]===_0x53797f(0x153)?0x0:-0x14),_0x1524c3[_0x53797f(0x327)](_0x18c826,{'text':this[_0x53797f(0x33c)],'color':this[_0x53797f(0x3ce)]}),_0x18c826['restore']());}}var _0x270c6e=Object[_0x247c13(0x1fe)],_0x21b347=(_0x3f8fe6,_0x5e6ba7,_0x11d5ac,_0x3fcc7c)=>{const _0x46f63b=_0x247c13;for(var _0x496a2b=_0x3fcc7c>0x1?void 0x0:_0x3fcc7c?_0x270c6e(_0x5e6ba7,_0x11d5ac):_0x5e6ba7,_0x5aa37d=_0x3f8fe6[_0x46f63b(0x2b2)]-0x1,_0x4928a7;_0x5aa37d>=0x0;_0x5aa37d--)(_0x4928a7=_0x3f8fe6[_0x5aa37d])&&(_0x496a2b=_0x4928a7(_0x496a2b)||_0x496a2b);return _0x496a2b;},_0x56328c=(_0x48bacd,_0x360c7c)=>(_0x3aff3d,_0x1eaf4a)=>_0x360c7c(_0x3aff3d,_0x1eaf4a,_0x48bacd);const _0x3dfc32=0x1389;let _0xa5c554=class extends _0x2b635d[_0x247c13(0x175)]{constructor(_0x330ad5,_0x5bef85,_0x52e854,_0x21ae89){const _0x2e7449=_0x247c13;super(),_0x42d170(this,_0x2e7449(0x2c5),new Set()),_0x42d170(this,'_lastPointer',null),(this[_0x2e7449(0x16b)]=_0x330ad5,this[_0x2e7449(0x1c3)]=_0x5bef85,this[_0x2e7449(0x1d0)]=_0x52e854,this[_0x2e7449(0x289)]=_0x21ae89,this['_init']());}[_0x247c13(0x188)](){const _0x2e7a17=_0x247c13;this[_0x2e7a17(0x1c3)][_0x2e7a17(0x293)][_0x2e7a17(0x24a)](_0x2b569a['takeUntil'](this['dispose$']),_0x2b569a['switchMap'](_0x50422b=>{const _0x38cc77=_0x2e7a17;if(_0x50422b){const _0x5e8c60=_0x50422b[_0x38cc77(0x2ce)];return _0x4e09fc[_0x38cc77(0x336)](this[_0x38cc77(0x1d0)][_0x38cc77(0x2b9)](this[_0x38cc77(0x16b)]['unitId']),this[_0x38cc77(0x289)][_0x38cc77(0x339)])[_0x38cc77(0x24a)](_0x2b569a['map'](([_0x148cf6,_0x4cc705])=>{const _0x5e40d9=_0x38cc77,_0x35361a=new Map();return _0x148cf6[_0x5e40d9(0x1db)]((_0x4eccef,_0x59e6e0)=>{const _0x348de7=_0x5e40d9;if(_0x4eccef['sheetID']===_0x5e8c60){const _0x42cd0e={..._0x4eccef};_0x42cd0e[_0x348de7(0x35e)]=this[_0x348de7(0x289)][_0x348de7(0x31a)](_0x4eccef[_0x348de7(0x35e)]),_0x35361a[_0x348de7(0x3d3)](_0x59e6e0,_0x42cd0e);}}),{'skeleton':_0x50422b,'cursors':_0x35361a};}));}return _0x4e09fc['of']({'skeleton':null,'cursors':new Map()});}))[_0x2e7a17(0x1f8)](({skeleton:_0x3e46b7,cursors:_0x46fa2d})=>{const _0x39e615=_0x2e7a17;this[_0x39e615(0x18a)](),_0x3e46b7&&this['_updateCollabCursors'](_0x3e46b7,_0x46fa2d);}),this[_0x2e7a17(0x1c3)][_0x2e7a17(0x293)][_0x2e7a17(0x1f8)](_0x939b7e=>{const _0x24e11a=_0x2e7a17;if(_0x939b7e==null)return;const {skeleton:_0x1f0b6f}=_0x939b7e,{scene:_0x284e02}=this[_0x24e11a(0x16b)];_0x284e02['onPointerMove$'][_0x24e11a(0x209)](_0x2b635d[_0x24e11a(0x3b3)](_0x4af7b2=>{const _0x2c9245=_0x24e11a;var _0x2a1f43,_0x2abce4;const {offsetX:_0x8ff4ef,offsetY:_0x870ed0}=_0x4af7b2,{x:_0x5f4fba,y:_0x506328}=_0x284e02[_0x2c9245(0x246)](_0x59264b[_0x2c9245(0x249)][_0x2c9245(0x28e)]([_0x8ff4ef,_0x870ed0])),{scaleX:_0x23744a,scaleY:_0x444863}=_0x284e02[_0x2c9245(0x34a)](),_0x2e4dd9=_0x284e02[_0x2c9245(0x385)](_0x59264b[_0x2c9245(0x2f0)]['VIEW_MAIN']),_0x2c1b89=_0x284e02[_0x2c9245(0x218)](_0x59264b[_0x2c9245(0x249)][_0x2c9245(0x28e)]([_0x5f4fba,_0x506328]),_0x2e4dd9),_0x41aaa7=_0x1f0b6f[_0x2c9245(0x1a7)](_0x8ff4ef,_0x870ed0,_0x23744a,_0x444863,_0x2c1b89);((_0x2a1f43=this['_lastPointer'])==null?void 0x0:_0x2a1f43[_0x2c9245(0x302)])===_0x41aaa7[_0x2c9245(0x302)]&&((_0x2abce4=this[_0x2c9245(0x1cd)])==null?void 0x0:_0x2abce4['row'])===_0x41aaa7[_0x2c9245(0x13b)]||this['_cursors']['forEach'](_0x578831=>{const _0x438447=_0x2c9245;_0x578831[_0x438447(0x3a4)](_0x41aaa7);});},0x64));});}[_0x247c13(0x242)](_0x54c121,_0x1cebf4){const _0x8bb59e=_0x247c13;var _0x30925b;const _0x503d07=(_0x30925b=this[_0x8bb59e(0x1c3)][_0x8bb59e(0x1ab)]())==null?void 0x0:_0x30925b[_0x8bb59e(0x2d9)];if(!_0x503d07)return;const _0x1a4045=this[_0x8bb59e(0x1c8)]();if(!_0x1a4045)return;this['_cursors']['forEach'](_0x3d225c=>{const _0x151655=_0x8bb59e;_0x3d225c[_0x151655(0x282)]();});const {scene:_0x58de46}=_0x1a4045,_0x5d71ff=_0x5ccc95(Array[_0x8bb59e(0x392)](_0x1cebf4['values']()))[_0x8bb59e(0x199)](_0x534b92=>{const _0x4f71fc=_0x8bb59e,{color:_0x55de47,range:_0x4a1f40,name:_0x4a5cfb,selection:_0x30e6d5,sheetID:_0x5b3001}=_0x534b92,{startColumn:_0x4a882c,startRow:_0x5a15f3,endColumn:_0x1456dc,endRow:_0xb04936}=_0x4a1f40,_0x569a2c=_0x2b7a6f[_0x4f71fc(0x292)](_0x5a15f3,_0x4a882c,_0x58de46,_0x503d07),_0x518967=_0x2b7a6f['getCoordByCell'](_0xb04936,_0x1456dc,_0x58de46,_0x503d07),{columnHeaderHeightAndMarginTop:_0x3ebd11}=_0x503d07,{startX:_0x33ff4f,startY:_0x4740de}=_0x569a2c,{endX:_0x3dfef8,endY:_0x44446c}=_0x518967,_0x3c830f=_0x3dfef8-_0x33ff4f,_0x15cf76=_0x44446c-_0x4740de,_0x54d0a1={'labelPosition':_0x4740de-_0x3ebd11>=_0x32c364?'top':'bottom','sheetID':_0x5b3001,'range':_0x4a1f40,'color':_0x55de47,'name':_0x4a5cfb,'selection':_0x30e6d5,'left':_0x33ff4f,'top':_0x4740de,'width':_0x3c830f,'height':_0x15cf76,'evented':!0x1,'zIndex':_0x3dfc32};return new _0x598ffe(_0x4a5cfb,_0x54d0a1);});_0x58de46[_0x8bb59e(0x22d)](_0x5d71ff,_0x4b3d02),this[_0x8bb59e(0x2c5)]=new Set(_0x5d71ff);}[_0x247c13(0x18a)](){const _0x1c3f37=_0x247c13;var _0x5c0425;(_0x5c0425=this[_0x1c3f37(0x2c5)])==null||_0x5c0425[_0x1c3f37(0x1db)](_0x35b5dc=>_0x35b5dc['dispose']());}['_getSheetObject'](){const _0x4a74e1=_0x247c13;return _0x2b7a6f['getSheetObject'](this[_0x4a74e1(0x16b)][_0x4a74e1(0x206)],this['_context']);}};_0xa5c554=_0x21b347([_0x56328c(0x1,_0x2b635d[_0x247c13(0x165)](_0x2b7a6f['SheetSkeletonManagerService'])),_0x56328c(0x2,_0x2b635d['Inject'](_0x9097ea)),_0x56328c(0x3,_0x2b635d['Inject'](_0x2b635d['ThemeService']))],_0xa5c554);function _0x5ccc95(_0x453a05){const _0x5c808c=_0x247c13,_0x319e24=new Map();return _0x453a05[_0x5c808c(0x1db)](_0x220aa7=>{const _0x3e03de=_0x5c808c;if(_0x319e24[_0x3e03de(0x243)](_0x220aa7[_0x3e03de(0x191)])){const _0x1666cd=_0x319e24['get'](_0x220aa7['selection']);_0x1666cd[_0x3e03de(0x20d)]+=',\x20'+_0x220aa7[_0x3e03de(0x20d)];}else _0x319e24[_0x3e03de(0x3d3)](_0x220aa7[_0x3e03de(0x191)],_0x220aa7);}),Array[_0x5c808c(0x392)](_0x319e24[_0x5c808c(0x27a)]());}var _0x2509db=function(){const _0x3b4cfc=_0x247c13;return _0x2509db=Object[_0x3b4cfc(0x332)]||function(_0x1b0634){const _0x487356=_0x3b4cfc;for(var _0x4ae932,_0x4c413a=0x1,_0x4b7ce2=arguments[_0x487356(0x2b2)];_0x4c413a<_0x4b7ce2;_0x4c413a++){_0x4ae932=arguments[_0x4c413a];for(var _0x5c09a2 in _0x4ae932)Object[_0x487356(0x18f)]['hasOwnProperty'][_0x487356(0x210)](_0x4ae932,_0x5c09a2)&&(_0x1b0634[_0x5c09a2]=_0x4ae932[_0x5c09a2]);}return _0x1b0634;},_0x2509db[_0x3b4cfc(0x3b9)](this,arguments);},_0x23571e=function(_0x52dc61,_0x17266a){const _0x3e9139=_0x247c13;var _0x1a37b4={};for(var _0x125411 in _0x52dc61)Object[_0x3e9139(0x18f)][_0x3e9139(0x240)][_0x3e9139(0x210)](_0x52dc61,_0x125411)&&_0x17266a['indexOf'](_0x125411)<0x0&&(_0x1a37b4[_0x125411]=_0x52dc61[_0x125411]);if(_0x52dc61!=null&&typeof Object['getOwnPropertySymbols']==_0x3e9139(0x356)){for(var _0x362005=0x0,_0x125411=Object[_0x3e9139(0x173)](_0x52dc61);_0x362005<_0x125411[_0x3e9139(0x2b2)];_0x362005++)_0x17266a[_0x3e9139(0x28a)](_0x125411[_0x362005])<0x0&&Object[_0x3e9139(0x18f)]['propertyIsEnumerable'][_0x3e9139(0x210)](_0x52dc61,_0x125411[_0x362005])&&(_0x1a37b4[_0x125411[_0x362005]]=_0x52dc61[_0x125411[_0x362005]]);}return _0x1a37b4;},_0x171d41=_0x23e7f1[_0x247c13(0x20b)](function(_0x56774e,_0x2c0417){const _0x29436d=_0x247c13;var _0x110b34=_0x56774e[_0x29436d(0x33f)],_0x2dd960=_0x56774e['id'],_0x5a5979=_0x56774e[_0x29436d(0x349)],_0x413dc6=_0x56774e['extend'],_0x1091ec=_0x23571e(_0x56774e,[_0x29436d(0x33f),'id',_0x29436d(0x349),_0x29436d(0x3cf)]),_0x2bdb58=_0x29436d(0x18c)['concat'](_0x2dd960,'\x20')[_0x29436d(0x14a)](_0x5a5979||'')['trim'](),_0x3fcf34=_0x23e7f1[_0x29436d(0x24f)]('_'['concat'](_0x33292c()));return _0x2c54ef(_0x110b34,''[_0x29436d(0x14a)](_0x2dd960),{'defIds':_0x110b34[_0x29436d(0x144)],'idSuffix':_0x3fcf34[_0x29436d(0x39f)]},_0x2509db({'ref':_0x2c0417,'className':_0x2bdb58},_0x1091ec),_0x413dc6);});function _0x2c54ef(_0x9f5bdf,_0x146c9a,_0x2e7b67,_0x448475,_0x310f58){const _0x5b885b=_0x247c13;return _0x23e7f1['createElement'](_0x9f5bdf[_0x5b885b(0x1a9)],_0x2509db(_0x2509db({'key':_0x146c9a},_0x2309ed(_0x9f5bdf,_0x2e7b67,_0x310f58)),_0x448475),(_0x3e0230(_0x9f5bdf,_0x2e7b67)[_0x5b885b(0x379)]||[])[_0x5b885b(0x199)](function(_0x4ac5ce,_0x47f7d1){const _0x1546b2=_0x5b885b;return _0x2c54ef(_0x4ac5ce,''[_0x1546b2(0x14a)](_0x146c9a,'-')['concat'](_0x9f5bdf[_0x1546b2(0x1a9)],'-')[_0x1546b2(0x14a)](_0x47f7d1),_0x2e7b67,void 0x0,_0x310f58);}));}function _0x2309ed(_0xe63c3f,_0x348492,_0x4a399f){const _0x325d7d=_0x247c13;var _0x5878cb=_0x2509db({},_0xe63c3f[_0x325d7d(0x26a)]);_0x4a399f!=null&&_0x4a399f[_0x325d7d(0x37e)]&&_0x5878cb[_0x325d7d(0x141)]==='colorChannel1'&&(_0x5878cb[_0x325d7d(0x141)]=_0x4a399f[_0x325d7d(0x37e)]),_0xe63c3f[_0x325d7d(0x1a9)]===_0x325d7d(0x2f6)&&_0x5878cb['id']&&(_0x5878cb['id']=_0x5878cb['id']+_0x348492[_0x325d7d(0x312)]),Object[_0x325d7d(0x348)](_0x5878cb)[_0x325d7d(0x1db)](function(_0x22ef10){const _0x2af58c=_0x325d7d;var _0x538f1a=_0x22ef10[0x0],_0x3e828d=_0x22ef10[0x1];_0x538f1a===_0x2af58c(0x2f6)&&typeof _0x3e828d==_0x2af58c(0x1ee)&&(_0x5878cb[_0x538f1a]=_0x3e828d[_0x2af58c(0x359)](/url\(#(.*)\)/,'url(#$1'['concat'](_0x348492[_0x2af58c(0x312)],')')));});var _0x3b7cff=_0x348492[_0x325d7d(0x144)];return!_0x3b7cff||_0x3b7cff['length']===0x0||(_0xe63c3f[_0x325d7d(0x1a9)]===_0x325d7d(0x29c)&&_0x5878cb[_0x325d7d(0x38b)]&&(_0x5878cb['xlink:href']=_0x5878cb[_0x325d7d(0x38b)]+_0x348492[_0x325d7d(0x312)]),Object['entries'](_0x5878cb)[_0x325d7d(0x1db)](function(_0x46fa07){const _0x3daa4e=_0x325d7d;var _0x5df95f=_0x46fa07[0x0],_0x33174f=_0x46fa07[0x1];typeof _0x33174f==_0x3daa4e(0x1ee)&&(_0x5878cb[_0x5df95f]=_0x33174f[_0x3daa4e(0x359)](/url\(#(.*)\)/,_0x3daa4e(0x226)[_0x3daa4e(0x14a)](_0x348492[_0x3daa4e(0x312)],')')));})),_0x5878cb;}function _0x3e0230(_0x33b160,_0x523814){const _0x5e0d91=_0x247c13;var _0x5b73c3,_0x3e5afc=_0x523814[_0x5e0d91(0x144)];return!_0x3e5afc||_0x3e5afc['length']===0x0?_0x33b160:_0x33b160['tag']===_0x5e0d91(0x3b8)&&(!((_0x5b73c3=_0x33b160[_0x5e0d91(0x379)])===null||_0x5b73c3===void 0x0)&&_0x5b73c3['length'])?_0x2509db(_0x2509db({},_0x33b160),{'children':_0x33b160[_0x5e0d91(0x379)][_0x5e0d91(0x199)](function(_0x297958){const _0x213f59=_0x5e0d91;return typeof _0x297958[_0x213f59(0x26a)]['id']=='string'&&_0x3e5afc&&_0x3e5afc['includes'](_0x297958['attrs']['id'])?_0x2509db(_0x2509db({},_0x297958),{'attrs':_0x2509db(_0x2509db({},_0x297958[_0x213f59(0x26a)]),{'id':_0x297958[_0x213f59(0x26a)]['id']+_0x523814[_0x213f59(0x312)]})}):_0x297958;})}):_0x33b160;}function _0x33292c(){const _0x40336a=_0x247c13;return Math[_0x40336a(0x1f4)]()[_0x40336a(0x2a7)](0x24)[_0x40336a(0x316)](0x2,0x8);}_0x171d41['displayName']=_0x247c13(0x38f);var _0x38cc9f={'tag':_0x247c13(0x2d5),'attrs':{'xmlns':_0x247c13(0x3a3),'fill':_0x247c13(0x2ea),'viewBox':'0\x200\x2016\x2016','width':'1em','height':_0x247c13(0x149)},'children':[{'tag':'g','attrs':{'clipPath':_0x247c13(0x32c)},'children':[{'tag':'path','attrs':{'stroke':_0x247c13(0x3ba),'d':_0x247c13(0x19b),'strokeLinecap':_0x247c13(0x3c7),'strokeLinejoin':'round','strokeWidth':1.2}}]},{'tag':_0x247c13(0x3b8),'attrs':{},'children':[{'tag':'clipPath','attrs':{'id':_0x247c13(0x35c)},'children':[{'tag':_0x247c13(0x145),'attrs':{'fill':_0x247c13(0x3dc),'d':_0x247c13(0x3bc)}}]}]}],'defIds':[_0x247c13(0x35c)]},_0x2184c2=_0x23e7f1[_0x247c13(0x20b)](function(_0x7e56d7,_0x51838e){const _0x1c2928=_0x247c13;return _0x23e7f1[_0x1c2928(0x260)](_0x171d41,Object[_0x1c2928(0x332)]({},_0x7e56d7,{'id':_0x1c2928(0x26e),'ref':_0x51838e,'icon':_0x38cc9f}));});_0x2184c2[_0x247c13(0x38d)]=_0x247c13(0x3c3);var _0x55652e={'tag':'svg','attrs':{'xmlns':_0x247c13(0x3a3),'fill':_0x247c13(0x2ea),'viewBox':'0\x200\x2017\x2016','width':'1em','height':_0x247c13(0x149)},'children':[{'tag':'g','attrs':{'clipPath':_0x247c13(0x198)},'children':[{'tag':_0x247c13(0x145),'attrs':{'stroke':_0x247c13(0x3ba),'d':_0x247c13(0x2a0),'strokeLinecap':'round','strokeLinejoin':'round','strokeWidth':1.2}}]},{'tag':_0x247c13(0x3b8),'attrs':{},'children':[{'tag':_0x247c13(0x21c),'attrs':{'id':_0x247c13(0x1cf)},'children':[{'tag':_0x247c13(0x145),'attrs':{'fill':'white','d':'M0\x200H16V16H0z','transform':_0x247c13(0x288)}}]}]}],'defIds':[_0x247c13(0x1cf)]},_0xc6d3a1=_0x23e7f1['forwardRef'](function(_0x9b735e,_0x463d35){const _0xa20715=_0x247c13;return _0x23e7f1[_0xa20715(0x260)](_0x171d41,Object[_0xa20715(0x332)]({},_0x9b735e,{'id':_0xa20715(0x3ac),'ref':_0x463d35,'icon':_0x55652e}));});_0xc6d3a1[_0x247c13(0x38d)]=_0x247c13(0x1eb);function _0x23ca02(_0x5b3dc7){const _0x1ae341=_0x247c13;switch(_0x5b3dc7){case _0x506fcd[_0x1ae341(0x3aa)][_0x1ae341(0x17a)]:return'collabStatus.offline';case _0x506fcd[_0x1ae341(0x3aa)][_0x1ae341(0x1e1)]:return _0x1ae341(0x3b2);case _0x506fcd[_0x1ae341(0x3aa)][_0x1ae341(0x1da)]:return _0x1ae341(0x360);case _0x506fcd['CollaborationStatus'][_0x1ae341(0x24b)]:return _0x1ae341(0x190);case _0x506fcd[_0x1ae341(0x3aa)]['AWAITING']:case _0x506fcd[_0x1ae341(0x3aa)][_0x1ae341(0x156)]:return _0x1ae341(0x137);case _0x506fcd[_0x1ae341(0x3aa)][_0x1ae341(0x3bf)]:case _0x506fcd['CollaborationStatus']['PENDING']:return _0x1ae341(0x273);}}function _0x1556cd(_0xddce1a){const _0x2b1847=_0x247c13,{status$:_0x4e8a75}=_0xddce1a,_0xe4d053=_0x149545['useObservable'](_0x4e8a75,_0x506fcd['CollaborationStatus'][_0x2b1847(0x24b)]),_0x1504e4=_0x149545['useDependency'](_0x2b635d[_0x2b1847(0x2e9)]),_0x38eb64=_0x149545[_0x2b1847(0x241)](_0x506fcd[_0x2b1847(0x1f1)]),_0xb759f8=_0xe4d053!==_0x506fcd[_0x2b1847(0x3aa)][_0x2b1847(0x17a)],_0x4377dc=_0x1504e4['t'](_0x23ca02(_0xe4d053)),_0x33c54b=_0xb759f8?_0xc7d18e[_0x2b1847(0x2e7)](_0xc6d3a1,{}):_0xc7d18e[_0x2b1847(0x2e7)](_0x2184c2,{}),_0x4f82dd=_0x23e7f1[_0x2b1847(0x21e)](()=>{const _0x3eea17=_0x2b1847;_0xb759f8||_0x38eb64[_0x3eea17(0x384)]();},[_0xb759f8,_0x38eb64]);function _0x4abcc8(){const _0x12c41a=_0x2b1847;return _0xc7d18e[_0x12c41a(0x1ec)](_0x12c41a(0x22c),{'className':_0x12c41a(0x2e1),'onClick':_0x4f82dd,'children':[_0xc7d18e[_0x12c41a(0x2e7)](_0x12c41a(0x22c),{'className':_0x5ae169[_0x12c41a(0x36d)](_0x12c41a(0x3b0),{'univer-text-green-500':_0xb759f8,'univer-text-red-500':!_0xb759f8}),'children':_0x33c54b}),_0xc7d18e['jsx'](_0x12c41a(0x22c),{'className':_0x12c41a(0x3ab),'children':_0x4377dc})]});}return _0xb759f8?_0x4abcc8():_0xc7d18e[_0x2b1847(0x2e7)](_0x5ae169['Tooltip'],{'title':_0x1504e4['t'](_0x2b1847(0x26b)),'children':_0x4abcc8()});}var _0x4c2ba4=Object[_0x247c13(0x1fe)],_0x10b514=(_0x2190db,_0xf74c11,_0x22b9d8,_0x391489)=>{const _0x383ac7=_0x247c13;for(var _0x256add=_0x391489>0x1?void 0x0:_0x391489?_0x4c2ba4(_0xf74c11,_0x22b9d8):_0xf74c11,_0x4b6437=_0x2190db[_0x383ac7(0x2b2)]-0x1,_0x55b60c;_0x4b6437>=0x0;_0x4b6437--)(_0x55b60c=_0x2190db[_0x4b6437])&&(_0x256add=_0x55b60c(_0x256add)||_0x256add);return _0x256add;},_0x55c675=(_0x136162,_0x21d3a5)=>(_0x2c49fe,_0xf50aa9)=>_0x21d3a5(_0x2c49fe,_0xf50aa9,_0x136162);_0x2cb787[_0x247c13(0x33d)]=class extends _0x2b635d[_0x247c13(0x208)]{constructor(_0x3367a8,_0x50f9da,_0x4282b2,_0x5b5c58){const _0x4a19a2=_0x247c13;super(),_0x42d170(this,_0x4a19a2(0x2a6),new _0x4e09fc['BehaviorSubject'](_0x506fcd[_0x4a19a2(0x3aa)]['NOT_COLLAB'])),(this[_0x4a19a2(0x1bc)]=_0x3367a8,this['_injector']=_0x50f9da,this[_0x4a19a2(0x1c9)]=_0x4282b2,this[_0x4a19a2(0x1ad)]=_0x5b5c58,this[_0x4a19a2(0x399)](),this[_0x4a19a2(0x18d)]());}[_0x247c13(0x18d)](){const _0x64fe3d=_0x247c13;this['disposeWithMe'](this[_0x64fe3d(0x1bc)][_0x64fe3d(0x2ed)][_0x64fe3d(0x24a)](_0x4e09fc['switchMap'](()=>{const _0x3cb06a=_0x64fe3d,_0x585ab7=this[_0x3cb06a(0x1bc)]['getFocusedUnit']();return _0x585ab7?this[_0x3cb06a(0x1c9)][_0x3cb06a(0x1a2)](_0x585ab7[_0x3cb06a(0x37f)]()):_0x4e09fc['of'](null);}),_0x4e09fc['switchMap'](_0x5a761d=>_0x5a761d?_0x5a761d[_0x64fe3d(0x334)]:_0x4e09fc['of'](_0x506fcd[_0x64fe3d(0x3aa)][_0x64fe3d(0x24b)])))[_0x64fe3d(0x1f8)](_0x23d4c0=>{const _0x4113b2=_0x64fe3d;this[_0x4113b2(0x2a6)][_0x4113b2(0x285)](_0x23d4c0);}));}[_0x247c13(0x399)](){const _0x4a18aa=_0x247c13;this[_0x4a18aa(0x340)](this[_0x4a18aa(0x1ad)][_0x4a18aa(0x18b)](_0x149545[_0x4a18aa(0x1a1)]['HEADER_MENU'],()=>_0x149545[_0x4a18aa(0x251)](_0x3a34b0({'status$':this['_status$'][_0x4a18aa(0x1fc)]()}),this[_0x4a18aa(0x2d1)])));}},_0x2cb787['DesktopCollaborationStatusDisplayController']=_0x10b514([_0x55c675(0x0,_0x2b635d[_0x247c13(0x29d)]),_0x55c675(0x1,_0x2b635d[_0x247c13(0x165)](_0x2b635d[_0x247c13(0x230)])),_0x55c675(0x2,_0x2b635d['Inject'](_0x506fcd[_0x247c13(0x152)])),_0x55c675(0x3,_0x149545[_0x247c13(0x366)])],_0x2cb787['DesktopCollaborationStatusDisplayController']);function _0x3a34b0(_0x43c565){const {status$:_0x788092}=_0x43c565;return function(){const _0x5ba718=_0x224b;return _0xc7d18e[_0x5ba718(0x2e7)](_0x1556cd,{'status$':_0x788092});};}var _0x25c63a=Object[_0x247c13(0x1fe)],_0x2e376d=(_0x45a18e,_0x41bb1c,_0x221961,_0x26fb64)=>{const _0x1e5e4d=_0x247c13;for(var _0x306e5c=_0x26fb64>0x1?void 0x0:_0x26fb64?_0x25c63a(_0x41bb1c,_0x221961):_0x41bb1c,_0x1b8170=_0x45a18e[_0x1e5e4d(0x2b2)]-0x1,_0x24385c;_0x1b8170>=0x0;_0x1b8170--)(_0x24385c=_0x45a18e[_0x1b8170])&&(_0x306e5c=_0x24385c(_0x306e5c)||_0x306e5c);return _0x306e5c;},_0x24b4b3=(_0x45441b,_0x43bd5b)=>(_0x10420d,_0x22592b)=>_0x43bd5b(_0x10420d,_0x22592b,_0x45441b);let _0x442f04=class extends _0x2b635d[_0x247c13(0x208)]{constructor(_0x243040,_0x585181,_0x5e2234,_0x59f409,_0x2d880c,_0x15076e){const _0x649c2e=_0x247c13;super(),this[_0x649c2e(0x2c8)]=_0x243040,this[_0x649c2e(0x3d2)]=_0x585181,this[_0x649c2e(0x2db)]=_0x5e2234,this['_messageService']=_0x59f409,this[_0x649c2e(0x1b5)]=_0x2d880c,this[_0x649c2e(0x220)]=_0x15076e,this[_0x649c2e(0x1e9)](),this[_0x649c2e(0x189)]();}['_setupBeforeClosingHandler'](){const _0x51c14e=_0x247c13;this['disposeWithMe'](this[_0x51c14e(0x2c8)][_0x51c14e(0x1f2)](()=>{const _0xea0c76=_0x51c14e;if(this[_0xea0c76(0x3d2)][_0xea0c76(0x1b8)][_0xea0c76(0x1dd)])return this[_0xea0c76(0x220)]['t']('collaboration-client.offline-data-not-saved');}));}[_0x247c13(0x189)](){const _0x14f861=_0x247c13;this[_0x14f861(0x340)](this[_0x14f861(0x2db)][_0x14f861(0x14b)][_0x14f861(0x1f8)](_0x134b7a=>{const _0x381b46=_0x14f861;_0x134b7a['id']===_0x506fcd['CollaborationUIEventId'][_0x381b46(0x277)]&&this['_messageService'][_0x381b46(0x172)]({'type':_0x5ae169[_0x381b46(0x1ed)]['Warning'],'content':this['_localeService']['t'](_0x381b46(0x258))}),_0x134b7a['id']===_0x506fcd[_0x381b46(0x30b)][_0x381b46(0x3d9)]&&this[_0x381b46(0x287)]['show']({'type':_0x5ae169[_0x381b46(0x1ed)]['Warning'],'content':this[_0x381b46(0x220)]['t']('collaboration.closeRoom')}),_0x134b7a['id']===_0x506fcd[_0x381b46(0x30b)][_0x381b46(0x2a8)]&&this[_0x381b46(0x1b5)]['show']({'title':this['_localeService']['t'](_0x381b46(0x2e2)),'content':this['_localeService']['t'](_0x381b46(0x15c)),'type':_0x381b46(0x204),'duration':0x0}),_0x134b7a['id']===_0x506fcd[_0x381b46(0x30b)][_0x381b46(0x1e1)]&&this[_0x381b46(0x287)][_0x381b46(0x172)]({'type':_0x5ae169['MessageType'][_0x381b46(0x38e)],'content':this[_0x381b46(0x220)]['t'](_0x381b46(0x39d))+'('+_0x134b7a[_0x381b46(0x2cd)]+')'}),_0x134b7a['id']===_0x506fcd[_0x381b46(0x30b)][_0x381b46(0x32a)]&&this[_0x381b46(0x287)][_0x381b46(0x172)]({'type':_0x5ae169[_0x381b46(0x1ed)]['Warning'],'content':this[_0x381b46(0x220)]['t'](_0x134b7a[_0x381b46(0x2cd)]||'')}),_0x134b7a['id']===_0x506fcd[_0x381b46(0x30b)][_0x381b46(0x21b)]&&this[_0x381b46(0x287)]['show']({'type':_0x5ae169[_0x381b46(0x1ed)]['Warning'],'content':this['_localeService']['t'](_0x381b46(0x3d6))}),_0x134b7a['id']===_0x506fcd[_0x381b46(0x30b)]['SOCKET_FAILED']&&this[_0x381b46(0x287)]['show']({'type':_0x5ae169[_0x381b46(0x1ed)][_0x381b46(0x38e)],'content':this['_localeService']['t']('session.connection-failed')}),_0x134b7a['id']===_0x506fcd['CollaborationUIEventId'][_0x381b46(0x2e8)]&&this[_0x381b46(0x287)][_0x381b46(0x172)]({'type':_0x5ae169['MessageType']['Error'],'content':this[_0x381b46(0x220)]['t'](_0x381b46(0x32f))});}));}};_0x442f04=_0x2e376d([_0x24b4b3(0x0,_0x149545[_0x247c13(0x305)]),_0x24b4b3(0x1,_0x506fcd[_0x247c13(0x257)]),_0x24b4b3(0x2,_0x2b635d['Inject'](_0x506fcd['CollaborationUIEventService'])),_0x24b4b3(0x3,_0x149545[_0x247c13(0x196)]),_0x24b4b3(0x4,_0x149545['INotificationService']),_0x24b4b3(0x5,_0x2b635d[_0x247c13(0x165)](_0x2b635d[_0x247c13(0x2e9)]))],_0x442f04);const _0x5c9f0a='collaboration-client-ui.config',_0x39ae8e={},_0x3af57d=_0x2b635d[_0x247c13(0x22f)](_0x247c13(0x140));var _0x5f037e=Object['getOwnPropertyDescriptor'],_0x48dae4=(_0x5081ed,_0x5b600d,_0x47f28c,_0x24c813)=>{for(var _0x17b9ed=_0x24c813>0x1?void 0x0:_0x24c813?_0x5f037e(_0x5b600d,_0x47f28c):_0x5b600d,_0x50da09=_0x5081ed['length']-0x1,_0x4a52b8;_0x50da09>=0x0;_0x50da09--)(_0x4a52b8=_0x5081ed[_0x50da09])&&(_0x17b9ed=_0x4a52b8(_0x17b9ed)||_0x17b9ed);return _0x17b9ed;},_0x54cf45=(_0x4e3e65,_0x3fc14b)=>(_0x3c12f7,_0x1cfed3)=>_0x3fc14b(_0x3c12f7,_0x1cfed3,_0x4e3e65);_0x2cb787[_0x247c13(0x2be)]=class extends _0x2b635d[_0x247c13(0x175)]{constructor(_0xdabc5d,_0x59d493,_0x9e2e72,_0x5bbc76,_0x4aef6d){const _0x376b7f=_0x247c13;super(),this[_0x376b7f(0x236)]=_0xdabc5d,this[_0x376b7f(0x3c2)]=_0x59d493,this[_0x376b7f(0x192)]=_0x9e2e72,this['_dataLoaderService']=_0x5bbc76,_0x4aef6d?_0x4aef6d==null||_0x4aef6d[_0x376b7f(0x20f)]()['then'](()=>this[_0x376b7f(0x188)]()):(this[_0x376b7f(0x3c2)]['debug'](_0x376b7f(0x17e),_0x376b7f(0x2b1)),this[_0x376b7f(0x188)]());}async[_0x247c13(0x188)](){const _0x48cafd=_0x247c13,_0x105aef=this[_0x48cafd(0x236)]['getParam'](_0x48cafd(0x206)),_0x2a53f6=this[_0x48cafd(0x236)]['getParam']('type'),_0xd930c6=this[_0x48cafd(0x236)][_0x48cafd(0x357)](_0x48cafd(0x31c));if(!_0x105aef||!_0x2a53f6){this[_0x48cafd(0x3c2)][_0x48cafd(0x15d)]('[CollaborationDataLoaderController]',_0x48cafd(0x25a));return;}const _0x2d8dc8=await this['_dataLoaderService'][_0x48cafd(0x178)](_0x105aef,Number(_0x2a53f6),_0xd930c6);_0x2d8dc8&&_0x2d8dc8 instanceof _0x2b635d[_0x48cafd(0x3c1)]&&this[_0x48cafd(0x154)](_0x2d8dc8);}async[_0x247c13(0x154)](_0x143521){const _0x27b877=_0x247c13;await this[_0x27b877(0x200)](_0x143521),_0x143521['activeSheet$'][_0x27b877(0x24a)](_0x4e09fc[_0x27b877(0x1f9)](this['dispose$']))[_0x27b877(0x1f8)](_0x3de5db=>{const _0x5bcbd9=_0x27b877;_0x3de5db&&this[_0x5bcbd9(0x255)](_0x3de5db);}),this[_0x27b877(0x236)][_0x27b877(0x212)][_0x27b877(0x24a)](_0x4e09fc[_0x27b877(0x1f9)](this[_0x27b877(0x2ec)]))[_0x27b877(0x1f8)](()=>this[_0x27b877(0x200)](_0x143521));}['_updateURLWithCurrentState'](_0x5d58f4,_0x363b50=!0x1){const _0x1b0837=_0x247c13,_0x585dd1=this[_0x1b0837(0x236)][_0x1b0837(0x357)](_0x1b0837(0x31c));_0x5d58f4['getSheetId']()!==_0x585dd1&&this[_0x1b0837(0x236)][_0x1b0837(0x1ae)](_0x1b0837(0x31c),_0x5d58f4[_0x1b0837(0x207)](),_0x363b50);}async[_0x247c13(0x200)](_0x4334a7){const _0x5039f8=_0x247c13;var _0x3fd5a7;const _0x3f6053=this[_0x5039f8(0x236)][_0x5039f8(0x357)](_0x5039f8(0x31c));if(!_0x3f6053||!_0x4334a7[_0x5039f8(0x24e)](_0x3f6053)){const _0x4bbfb7=_0x4334a7[_0x5039f8(0x269)]()[0x0],_0x4e29b8=_0x4334a7[_0x5039f8(0x24e)](_0x4bbfb7);if(!_0x4e29b8)return;this[_0x5039f8(0x255)](_0x4e29b8,!0x0),await this[_0x5039f8(0x192)]['executeCommand'](_0x1daad8['SetWorksheetActivateCommand']['id'],{'unitId':_0x4334a7[_0x5039f8(0x37f)](),'subUnitId':_0x4bbfb7});return;}((_0x3fd5a7=_0x4334a7[_0x5039f8(0x2f7)]())==null?void 0x0:_0x3fd5a7['getSheetId']())!==_0x3f6053&&await this['_commandService'][_0x5039f8(0x2fb)](_0x1daad8['SetWorksheetActivateCommand']['id'],{'unitId':_0x4334a7[_0x5039f8(0x37f)](),'subUnitId':_0x3f6053});}},_0x2cb787[_0x247c13(0x2be)]=_0x48dae4([_0x54cf45(0x0,_0x3af57d),_0x54cf45(0x1,_0x2b635d[_0x247c13(0x2e5)]),_0x54cf45(0x2,_0x2b635d['ICommandService']),_0x54cf45(0x3,_0x2b635d['Inject'](_0x506fcd['DataLoaderService'])),_0x54cf45(0x4,_0x2b635d['Optional'](_0x24dca0[_0x247c13(0x32d)]))],_0x2cb787[_0x247c13(0x2be)]);var _0x2e005e=Object[_0x247c13(0x1fe)],_0x4f3e8f=(_0xea3cff,_0x545112,_0x1307f5,_0x1ea108)=>{const _0x57d12c=_0x247c13;for(var _0x47c0dd=_0x1ea108>0x1?void 0x0:_0x1ea108?_0x2e005e(_0x545112,_0x1307f5):_0x545112,_0x241448=_0xea3cff[_0x57d12c(0x2b2)]-0x1,_0x378454;_0x241448>=0x0;_0x241448--)(_0x378454=_0xea3cff[_0x241448])&&(_0x47c0dd=_0x378454(_0x47c0dd)||_0x47c0dd);return _0x47c0dd;},_0x5244d2=(_0x404e0e,_0x1ccdee)=>(_0x130e13,_0x4b8468)=>_0x1ccdee(_0x130e13,_0x4b8468,_0x404e0e);let _0x4f0646=class{constructor(_0x5cefaf,_0x2abb1,_0x17d87d){const _0x3b5515=_0x247c13;this[_0x3b5515(0x2d1)]=_0x5cefaf,this[_0x3b5515(0x30f)]=_0x2abb1,this['_renderManagerService']=_0x17d87d;}[_0x247c13(0x235)](_0x5ba9b8){const _0x35096c=_0x247c13;this['_transformUndoRedoStack'](_0x5ba9b8),this[_0x35096c(0x35a)](_0x5ba9b8);}[_0x247c13(0x2b7)](_0x4ec0e6){const _0x2b9b6e=_0x247c13,{unitID:_0x1e316f}=_0x4ec0e6,_0x20922b=this[_0x2b9b6e(0x2de)]['getRenderById'](_0x1e316f)[_0x2b9b6e(0x2a1)](_0x4fb330['DocIMEInputManagerService']),{redoCache:_0x2506a5}=_0x20922b[_0x2b9b6e(0x36a)]();if(_0x2506a5[_0x2b9b6e(0x2b2)]===0x0)return _0x4ec0e6;let _0x4d94b8=_0x2b635d[_0x2b9b6e(0x28c)]['deepClone'](_0x4ec0e6['mutations'][0x0]);for(let _0x4d35a3=0x0;_0x4d35a3<_0x2506a5['length'];_0x4d35a3++){const _0x23ec08={'id':'doc.mutation.rich-text-editing','params':{..._0x2506a5[_0x4d35a3]}},_0x5c25d4=this[_0x2b9b6e(0x30f)][_0x2b9b6e(0x309)](_0x4d94b8,_0x23ec08,!0x1);if(_0xa72689[_0x2b9b6e(0x1d9)](_0x5c25d4))throw _0x5c25d4[_0x2b9b6e(0x204)];_0x4d94b8=_0x5c25d4['m1Prime'];}return{..._0x2b635d['Tools'][_0x2b9b6e(0x1aa)](_0x4ec0e6),'mutations':[_0x4d94b8]};}[_0x247c13(0x1b6)](_0x20e166){const _0x24db77=_0x247c13,{unitID:_0x358f6c}=_0x20e166,_0x4c0f72=this[_0x24db77(0x2de)][_0x24db77(0x1d7)](_0x358f6c)[_0x24db77(0x2a1)](_0x4fb330[_0x24db77(0x29e)]),{undoCache:_0x37be2a,redoCache:_0x39dec5}=_0x4c0f72[_0x24db77(0x36a)]();if(_0x37be2a[_0x24db77(0x2b2)]===0x0||_0x39dec5['length']===0x0)return;const _0x20eef8=[],_0x224585=[];let _0x5cb1d9=_0x2b635d[_0x24db77(0x28c)][_0x24db77(0x1aa)](_0x20e166[_0x24db77(0x2a3)][0x0]),_0x325ede=_0x2b635d[_0x24db77(0x28c)][_0x24db77(0x1aa)](_0x20e166[_0x24db77(0x2a3)][0x0]);for(let _0x172092=_0x37be2a[_0x24db77(0x2b2)]-0x1;_0x172092>=0x0;_0x172092--){const _0x47a332={'id':_0x24db77(0x38c),'params':{..._0x37be2a[_0x172092]}},_0x3440fc={'id':'doc.mutation.rich-text-editing','params':{..._0x39dec5[_0x172092]}},_0x4b7257=this[_0x24db77(0x30f)][_0x24db77(0x309)](_0x5cb1d9,_0x47a332,!0x1),_0x77246b=this[_0x24db77(0x30f)]['transformMutation'](_0x325ede,_0x3440fc,!0x1);if(_0xa72689[_0x24db77(0x1d9)](_0x4b7257))throw _0x4b7257['error'];if(_0xa72689[_0x24db77(0x1d9)](_0x77246b))throw _0x77246b[_0x24db77(0x204)];_0x20eef8['unshift'](_0x4b7257[_0x24db77(0x1b3)][_0x24db77(0x14f)]),_0x224585[_0x24db77(0x1ba)](_0x77246b[_0x24db77(0x1b3)][_0x24db77(0x14f)]),_0x5cb1d9=_0x4b7257[_0x24db77(0x320)],_0x325ede=_0x77246b['m1Prime'];}_0x4c0f72[_0x24db77(0x169)]({'undoCache':_0x20eef8,'redoCache':_0x224585});}[_0x247c13(0x35a)](_0x10e331){const _0x5e438d=_0x247c13,{unitID:_0x249c5d}=_0x10e331,_0x2a7393=this[_0x5e438d(0x2de)][_0x5e438d(0x1d7)](_0x249c5d)[_0x5e438d(0x2a1)](_0x4fb330[_0x5e438d(0x29e)]),_0x2f1059=_0x2a7393[_0x5e438d(0x30d)]();if(_0x2f1059==null)return;const _0x2dab70=[{'id':_0x5e438d(0x38c),'params':{'unitId':_0x10e331[_0x5e438d(0x17c)],'actions':null,'textRanges':[_0x2f1059]}}],_0x4b9578=this['_transformService'][_0x5e438d(0x253)](_0x10e331,_0x2dab70);if(!_0xa72689[_0x5e438d(0x1a6)](_0x4b9578))throw _0x4b9578[_0x5e438d(0x204)];const _0x238940=_0x4b9578[_0x5e438d(0x1b3)][0x0][_0x5e438d(0x14f)][_0x5e438d(0x247)];Array[_0x5e438d(0x244)](_0x238940)&&_0x238940[_0x5e438d(0x2b2)]&&_0x2a7393['setActiveRange'](_0x238940[0x0]);}};_0x4f0646=_0x4f3e8f([_0x5244d2(0x0,_0x2b635d[_0x247c13(0x165)](_0x2b635d[_0x247c13(0x230)])),_0x5244d2(0x1,_0xa72689['ITransformService']),_0x5244d2(0x2,_0x59264b[_0x247c13(0x1f6)])],_0x4f0646);var _0x34c6e7=Object[_0x247c13(0x1fe)],_0x3ec774=(_0x33632c,_0x19d554,_0x5bbb02,_0x17bcc0)=>{for(var _0x1b2515=_0x17bcc0>0x1?void 0x0:_0x17bcc0?_0x34c6e7(_0x19d554,_0x5bbb02):_0x19d554,_0x16bd08=_0x33632c['length']-0x1,_0x3bbc8b;_0x16bd08>=0x0;_0x16bd08--)(_0x3bbc8b=_0x33632c[_0x16bd08])&&(_0x1b2515=_0x3bbc8b(_0x1b2515)||_0x1b2515);return _0x1b2515;},_0x4566bd=(_0x5b5638,_0x10c88d)=>(_0x1b2f31,_0x3598fe)=>_0x10c88d(_0x1b2f31,_0x3598fe,_0x5b5638);let _0x3b5fe5=class{constructor(_0x35984d,_0x577a77,_0xb3c8f4){const _0x4a7cc1=_0x247c13;this['_injector']=_0x35984d,this[_0x4a7cc1(0x30f)]=_0x577a77,this['_docStateChangeManagerService']=_0xb3c8f4;}['transformStateCache'](_0xa75ec4){const _0x205744=_0x247c13;this[_0x205744(0x2df)](_0xa75ec4);}[_0x247c13(0x2b7)](_0x200b9d){const _0x3351e4=_0x247c13,{unitID:_0x37614c}=_0x200b9d,{collaboration:_0x4ed721}=this[_0x3351e4(0x297)][_0x3351e4(0x333)](_0x37614c);if(_0x4ed721[_0x3351e4(0x2b2)]===0x0)return _0x200b9d;let _0x253100=_0x2b635d[_0x3351e4(0x28c)][_0x3351e4(0x1aa)](_0x200b9d['mutations'][0x0]);for(let _0x357f6d=0x0;_0x357f6d<_0x4ed721[_0x3351e4(0x2b2)];_0x357f6d++){const _0x5acdfd={'id':_0x3351e4(0x38c),'params':{'unitId':_0x4ed721[_0x357f6d][_0x3351e4(0x229)],..._0x4ed721[_0x357f6d][_0x3351e4(0x2b0)]}},_0x5485b2=this[_0x3351e4(0x30f)][_0x3351e4(0x309)](_0x253100,_0x5acdfd,!0x1);if(_0xa72689[_0x3351e4(0x1d9)](_0x5485b2))throw _0x5485b2[_0x3351e4(0x204)];_0x253100=_0x5485b2['m1Prime'];}return{..._0x2b635d[_0x3351e4(0x28c)][_0x3351e4(0x1aa)](_0x200b9d),'mutations':[_0x253100]};}[_0x247c13(0x2df)](_0x51b099){const _0x5bda68=_0x247c13,{unitID:_0x210693}=_0x51b099,{history:_0x45d89b,collaboration:_0x3a81f8}=this[_0x5bda68(0x297)][_0x5bda68(0x333)](_0x210693);if(_0x45d89b[_0x5bda68(0x2b2)]===0x0&&_0x3a81f8[_0x5bda68(0x2b2)]===0x0)return;const _0x294e50=[],_0x125cc2=[];let _0x35ca52=_0x2b635d[_0x5bda68(0x28c)][_0x5bda68(0x1aa)](_0x51b099[_0x5bda68(0x2a3)][0x0]),_0x1dcc81=_0x2b635d[_0x5bda68(0x28c)][_0x5bda68(0x1aa)](_0x51b099[_0x5bda68(0x2a3)][0x0]);for(let _0x4c753f=_0x45d89b[_0x5bda68(0x2b2)]-0x1;_0x4c753f>=0x0;_0x4c753f--){const _0x51ad9f={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x45d89b[_0x4c753f]['unitId'],..._0x45d89b[_0x4c753f][_0x5bda68(0x3a0)]}},_0x3929ea={'id':_0x5bda68(0x38c),'params':{'unitId':_0x45d89b[_0x4c753f][_0x5bda68(0x229)],..._0x45d89b[_0x4c753f][_0x5bda68(0x2b0)]}},_0x3b6f43=this[_0x5bda68(0x30f)][_0x5bda68(0x309)](_0x35ca52,_0x51ad9f,!0x1),_0x1123b5=this['_transformService'][_0x5bda68(0x309)](_0x1dcc81,_0x3929ea,!0x1);if(_0xa72689['isTransformMutationFailure'](_0x3b6f43))throw _0x3b6f43[_0x5bda68(0x204)];if(_0xa72689[_0x5bda68(0x1d9)](_0x1123b5))throw _0x1123b5[_0x5bda68(0x204)];_0x294e50[_0x5bda68(0x1ba)]({..._0x45d89b[_0x4c753f],'undoState':_0x3b6f43[_0x5bda68(0x1b3)][_0x5bda68(0x14f)],'redoState':_0x1123b5[_0x5bda68(0x1b3)][_0x5bda68(0x14f)]}),_0x35ca52=_0x3b6f43[_0x5bda68(0x320)],_0x1dcc81=_0x1123b5[_0x5bda68(0x320)];}_0x35ca52=_0x2b635d['Tools']['deepClone'](_0x51b099[_0x5bda68(0x2a3)][0x0]),_0x1dcc81=_0x2b635d[_0x5bda68(0x28c)]['deepClone'](_0x51b099[_0x5bda68(0x2a3)][0x0]);for(let _0xe4e7a=_0x3a81f8[_0x5bda68(0x2b2)]-0x1;_0xe4e7a>=0x0;_0xe4e7a--){const _0x37a93e={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x3a81f8[_0xe4e7a][_0x5bda68(0x229)],..._0x3a81f8[_0xe4e7a][_0x5bda68(0x3a0)]}},_0x1962b6={'id':_0x5bda68(0x38c),'params':{'unitId':_0x3a81f8[_0xe4e7a][_0x5bda68(0x229)],..._0x3a81f8[_0xe4e7a]['redoState']}},_0x336800=this['_transformService'][_0x5bda68(0x309)](_0x35ca52,_0x37a93e,!0x1),_0x2e7651=this[_0x5bda68(0x30f)]['transformMutation'](_0x1dcc81,_0x1962b6,!0x1);if(_0xa72689[_0x5bda68(0x1d9)](_0x336800))throw _0x336800[_0x5bda68(0x204)];if(_0xa72689[_0x5bda68(0x1d9)](_0x2e7651))throw _0x2e7651[_0x5bda68(0x204)];_0x125cc2[_0x5bda68(0x1ba)]({..._0x3a81f8[_0xe4e7a],'undoState':_0x336800[_0x5bda68(0x1b3)]['params'],'redoState':_0x2e7651['m2Prime']['params']}),_0x35ca52=_0x336800['m1Prime'],_0x1dcc81=_0x2e7651['m1Prime'];}this['_docStateChangeManagerService'][_0x5bda68(0x2ab)](_0x210693,{'history':_0x294e50,'collaboration':_0x125cc2});}};_0x3b5fe5=_0x3ec774([_0x4566bd(0x0,_0x2b635d[_0x247c13(0x165)](_0x2b635d[_0x247c13(0x230)])),_0x4566bd(0x1,_0xa72689['ITransformService']),_0x4566bd(0x2,_0x2b635d['Inject'](_0x4fb330['DocStateChangeManagerService']))],_0x3b5fe5);var _0x92e276=Object['getOwnPropertyDescriptor'],_0x33be43=(_0x44246f,_0x280f26,_0x1d321a,_0x3dcdfa)=>{const _0x4e01cc=_0x247c13;for(var _0x37e4e9=_0x3dcdfa>0x1?void 0x0:_0x3dcdfa?_0x92e276(_0x280f26,_0x1d321a):_0x280f26,_0x2430ff=_0x44246f[_0x4e01cc(0x2b2)]-0x1,_0x46d407;_0x2430ff>=0x0;_0x2430ff--)(_0x46d407=_0x44246f[_0x2430ff])&&(_0x37e4e9=_0x46d407(_0x37e4e9)||_0x37e4e9);return _0x37e4e9;},_0x2f6878=(_0x45df44,_0x58472f)=>(_0x2c47cd,_0xd24621)=>_0x58472f(_0x2c47cd,_0xd24621,_0x45df44);let _0x509f58=class{constructor(_0x428cd4,_0x45e89d){const _0x2bb1f2=_0x247c13;this['_injector']=_0x428cd4,this[_0x2bb1f2(0x30f)]=_0x45e89d;}['transformSelections'](_0x26c190){const _0x377da1=_0x247c13;var _0x4226fb;const _0x5e2679=this['_injector'][_0x377da1(0x2b6)](_0x57f3fe[_0x377da1(0x323)]),_0x5d52a6=(_0x4226fb=_0x5e2679[_0x377da1(0x168)]())!=null?_0x4226fb:[];if(_0x5d52a6[_0x377da1(0x2b2)]===0x0)return;const _0x4c8ddb=_0x26c190[_0x377da1(0x17c)],_0x3ea6c2=[{'id':_0x377da1(0x38c),'params':{'unitId':_0x4c8ddb,'actions':null,'textRanges':_0x5d52a6}}],_0x3402f4=this['_transformService']['transformMutationsWithChangeset'](_0x26c190,_0x3ea6c2);if(!_0xa72689[_0x377da1(0x1a6)](_0x3402f4))throw _0x3402f4['error'];const _0x8bcc75=_0x3402f4[_0x377da1(0x1b3)][0x0][_0x377da1(0x14f)][_0x377da1(0x247)];Array[_0x377da1(0x244)](_0x8bcc75)&&_0x8bcc75['length']&&_0x5e2679[_0x377da1(0x2c7)](_0x8bcc75,{'unitId':_0x4c8ddb,'subUnitId':_0x4c8ddb},!0x1);}};_0x509f58=_0x33be43([_0x2f6878(0x0,_0x2b635d['Inject'](_0x2b635d[_0x247c13(0x230)])),_0x2f6878(0x1,_0xa72689[_0x247c13(0x1a4)])],_0x509f58);var _0x1a9f1f=Object[_0x247c13(0x1fe)],_0x7f335f=(_0x1ad4c6,_0x4da208,_0x109f0f,_0x5e4da0)=>{const _0x36c266=_0x247c13;for(var _0x12e8c5=_0x5e4da0>0x1?void 0x0:_0x5e4da0?_0x1a9f1f(_0x4da208,_0x109f0f):_0x4da208,_0x11e948=_0x1ad4c6[_0x36c266(0x2b2)]-0x1,_0x50fb07;_0x11e948>=0x0;_0x11e948--)(_0x50fb07=_0x1ad4c6[_0x11e948])&&(_0x12e8c5=_0x50fb07(_0x12e8c5)||_0x12e8c5);return _0x12e8c5;},_0x21371b=(_0x2f2fbf,_0x1ce22b)=>(_0x1378a8,_0xdbdb12)=>_0x1ce22b(_0x1378a8,_0xdbdb12,_0x2f2fbf);let _0x4213c5=class extends _0x2b635d['Disposable']{constructor(_0x5b1834,_0x3285b0,_0x3957ef,_0x36bb51,_0x3e717c,_0x409ae1,_0x3de9fb,_0x445c9c){const _0x58a0b3=_0x247c13;super(),_0x42d170(this,_0x58a0b3(0x2a6),new _0x4e09fc[(_0x58a0b3(0x1e8))](_0x506fcd[_0x58a0b3(0x3aa)]['NOT_COLLAB'])),(this['_docStateChangeManagerService']=_0x5b1834,this[_0x58a0b3(0x1c9)]=_0x3285b0,this[_0x58a0b3(0x2f5)]=_0x3957ef,this['_docTransformStateCacheService']=_0x36bb51,this[_0x58a0b3(0x1c0)]=_0x3e717c,this[_0x58a0b3(0x2fc)]=_0x409ae1,this[_0x58a0b3(0x287)]=_0x3de9fb,this[_0x58a0b3(0x220)]=_0x445c9c,this[_0x58a0b3(0x318)]());}['_initEntityListener'](){const _0x543267=_0x247c13;this[_0x543267(0x340)](this[_0x543267(0x1c9)][_0x543267(0x376)][_0x543267(0x1f8)](_0x56f434=>{const _0x2cd008=_0x543267,_0x362e3e=this[_0x2cd008(0x297)][_0x2cd008(0x330)][_0x2cd008(0x1f8)](_0x5017ff=>{const _0x599067=_0x2cd008;if(_0x5017ff==null)return;const {unitId:_0x365cbe,redoState:_0x51d2fe,commandId:_0x498445}=_0x5017ff;if(_0x365cbe!==_0x56f434[_0x599067(0x17c)])return;const _0x38810f={'id':_0x498445,'type':_0x2b635d[_0x599067(0x3b4)][_0x599067(0x18e)],'params':{'unitId':_0x365cbe,'actions':_0x51d2fe[_0x599067(0x1b0)],'textRanges':null}};_0x56f434[_0x599067(0x373)](_0x38810f);});if(_0x56f434['disposeWithMe'](_0x362e3e),_0x56f434 instanceof _0x506fcd[_0x2cd008(0x36c)]){const _0x2a2f63={'onTransformIME':_0x5997d0=>this['_docTransformIMECacheService'][_0x2cd008(0x235)](_0x5997d0),'onTransformState':_0x2b8990=>this[_0x2cd008(0x232)][_0x2cd008(0x34f)](_0x2b8990),'onTransformSelections':_0x594600=>this['_docTransformSelectionsService']['transformSelections'](_0x594600),'onSyncEditingCollabCursor':_0x14ae18=>this[_0x2cd008(0x2fc)]['syncEditingCollabCursor'](_0x14ae18),'onTransformRemoteChangesetByIMECache':_0x510d71=>this[_0x2cd008(0x2f5)][_0x2cd008(0x2b7)](_0x510d71),'onTransformRemoteChangesetByStateCache':_0xfd35b0=>this['_docTransformStateCacheService'][_0x2cd008(0x2b7)](_0xfd35b0)};_0x56f434[_0x2cd008(0x378)](_0x2a2f63);}}));}};_0x4213c5=_0x7f335f([_0x21371b(0x0,_0x2b635d[_0x247c13(0x165)](_0x4fb330[_0x247c13(0x25f)])),_0x21371b(0x1,_0x2b635d['Inject'](_0x506fcd[_0x247c13(0x152)])),_0x21371b(0x2,_0x2b635d[_0x247c13(0x165)](_0x4f0646)),_0x21371b(0x3,_0x2b635d[_0x247c13(0x165)](_0x3b5fe5)),_0x21371b(0x4,_0x2b635d[_0x247c13(0x165)](_0x509f58)),_0x21371b(0x5,_0x2b635d[_0x247c13(0x165)](_0x2b28f5)),_0x21371b(0x6,_0x149545[_0x247c13(0x196)]),_0x21371b(0x7,_0x2b635d[_0x247c13(0x165)](_0x2b635d['LocaleService']))],_0x4213c5);var _0x3a1585=Object[_0x247c13(0x1fe)],_0x3fe3f8=(_0xb2b2a3,_0x1136b9,_0xf4f350,_0xc1b849)=>{for(var _0x21ebfb=_0xc1b849>0x1?void 0x0:_0xc1b849?_0x3a1585(_0x1136b9,_0xf4f350):_0x1136b9,_0x62c94d=_0xb2b2a3['length']-0x1,_0x539f8f;_0x62c94d>=0x0;_0x62c94d--)(_0x539f8f=_0xb2b2a3[_0x62c94d])&&(_0x21ebfb=_0x539f8f(_0x21ebfb)||_0x21ebfb);return _0x21ebfb;},_0x327fdb=(_0x5fcfea,_0x48b4a1)=>(_0x24c04d,_0x39e065)=>_0x48b4a1(_0x24c04d,_0x39e065,_0x5fcfea);let _0x991639=class extends _0x2b635d[_0x247c13(0x208)]{constructor(_0x5ef743,_0x30457c,_0x25c65c){const _0x4792ca=_0x247c13;super(),_0x42d170(this,_0x4792ca(0x3d1),new Map()),_0x42d170(this,_0x4792ca(0x2a4),new Map()),_0x42d170(this,_0x4792ca(0x2e0),!0x1),(this[_0x4792ca(0x326)]=_0x5ef743,this[_0x4792ca(0x276)]=_0x30457c,this[_0x4792ca(0x37c)]=_0x25c65c);}[_0x247c13(0x21f)](){const _0x3ffb15=_0x247c13;this[_0x3ffb15(0x2e0)]=!0x0;}[_0x247c13(0x142)](){const _0x3c599d=_0x247c13;this[_0x3c599d(0x2e0)]=!0x1;}get['saveTaskMap'](){const _0x54ba72=_0x247c13;return this[_0x54ba72(0x2a4)];}['dispose'](){const _0x5a0e25=_0x247c13;this['exhaustSavingTask']()[_0x5a0e25(0x2b5)](()=>super[_0x5a0e25(0x228)]());}async['loadOfflineData'](_0x81d9ad){const _0x19a20b=_0x247c13;return this[_0x19a20b(0x2e0)]?null:this[_0x19a20b(0x276)]['getItem'](_0x506fcd[_0x19a20b(0x2ae)](_0x81d9ad));}async[_0x247c13(0x39e)](_0xe01975,_0x390a23){const _0x1d62f3=_0x247c13;return!!this[_0x1d62f3(0x276)][_0x1d62f3(0x30e)](_0xe01975,_0x390a23);}['updateOfflineData'](_0x25c6e7,_0x8ec1e1,_0x167e96,_0x476935){const _0x45b33a=_0x247c13,_0x2355ec=this[_0x45b33a(0x37c)][_0x45b33a(0x383)](_0x25c6e7);this[_0x45b33a(0x3d1)]['set'](_0x25c6e7,{'unitID':_0x25c6e7,'type':_0x8ec1e1,'awaitingChangeset':_0x167e96,'mutations':_0x476935,'rev':_0x2355ec}),this[_0x45b33a(0x2a4)][_0x45b33a(0x243)](_0x25c6e7)||this['_scheduleSaving'](_0x25c6e7);}[_0x247c13(0x3a2)](_0x1c3858){const _0x116dd1=_0x247c13,_0xe5e9c3=this[_0x116dd1(0x25b)]();_0xe5e9c3===0x0?this[_0x116dd1(0x138)](_0x1c3858):this[_0x116dd1(0x2a4)][_0x116dd1(0x3d3)](_0x1c3858,setTimeout(()=>this[_0x116dd1(0x138)](_0x1c3858),_0xe5e9c3));}[_0x247c13(0x25b)](){const _0x1645cf=_0x247c13;var _0x4919a0;return(_0x4919a0=this[_0x1645cf(0x326)]['getConfig'](_0x506fcd[_0x1645cf(0x1cc)]))!=null?_0x4919a0:_0x506fcd[_0x1645cf(0x390)];}['_saveCache'](_0x5dae63){const _0x223a4c=_0x247c13,_0x5f30fc=this['_saveTaskMap'][_0x223a4c(0x2b6)](_0x5dae63);return _0x5f30fc!==void 0x0&&window[_0x223a4c(0x395)](_0x5f30fc),this[_0x223a4c(0x276)][_0x223a4c(0x30e)](_0x506fcd[_0x223a4c(0x2ae)](_0x5dae63),this[_0x223a4c(0x3d1)][_0x223a4c(0x2b6)](_0x5dae63))[_0x223a4c(0x2b5)](()=>this[_0x223a4c(0x2a4)][_0x223a4c(0x216)](_0x5dae63));}async[_0x247c13(0x2c9)](){const _0x522df5=_0x247c13,_0x3acdf4=[];this[_0x522df5(0x2a4)][_0x522df5(0x1db)]((_0x2b7f3d,_0x3fcca7)=>{const _0x3e7790=_0x522df5;window[_0x3e7790(0x395)](_0x2b7f3d),_0x3acdf4[_0x3e7790(0x2bf)](this[_0x3e7790(0x138)](_0x3fcca7)['then'](()=>{const _0x1af9fe=_0x3e7790;this[_0x1af9fe(0x2a4)][_0x1af9fe(0x216)](_0x3fcca7);}));}),await Promise[_0x522df5(0x252)](_0x3acdf4);}};_0x991639=_0x3fe3f8([_0x327fdb(0x0,_0x2b635d[_0x247c13(0x2b8)]),_0x327fdb(0x1,_0x2b635d[_0x247c13(0x1bd)]),_0x327fdb(0x2,_0x2b635d[_0x247c13(0x165)](_0xa72689[_0x247c13(0x17d)]))],_0x991639);class _0x1878ad extends _0x2b635d[_0x247c13(0x175)]{constructor(){const _0x2c67ef=_0x247c13;super(),_0x42d170(this,'urlChange$'),this[_0x2c67ef(0x212)]=_0x4e09fc[_0x2c67ef(0x13f)](window,_0x2c67ef(0x344))[_0x2c67ef(0x24a)](_0x4e09fc[_0x2c67ef(0x1f9)](this[_0x2c67ef(0x2ec)]),_0x4e09fc[_0x2c67ef(0x171)](0x1),_0x4e09fc[_0x2c67ef(0x300)](void 0x0));}[_0x247c13(0x1ae)](_0x57f57b,_0x587273,_0x44fe02=!0x1){const _0xa16c03=_0x247c13,_0x11a588=new URL(window[_0xa16c03(0x2aa)][_0xa16c03(0x1c6)]);_0x11a588['searchParams'][_0xa16c03(0x3d3)](_0x57f57b,_0x587273),_0x44fe02?window[_0xa16c03(0x274)][_0xa16c03(0x1d3)]('','',_0x11a588[_0xa16c03(0x2a7)]()):window['history'][_0xa16c03(0x342)]('','',_0x11a588[_0xa16c03(0x2a7)]());}[_0x247c13(0x203)](_0x5f0e88,_0x49aa39=!0x1){const _0x4e2985=_0x247c13,_0x204542=new URL(window[_0x4e2985(0x2aa)][_0x4e2985(0x1c6)]);_0x204542[_0x4e2985(0x174)][_0x4e2985(0x216)](_0x5f0e88),_0x49aa39?window[_0x4e2985(0x274)]['replaceState']('','',_0x204542[_0x4e2985(0x2a7)]()):window[_0x4e2985(0x274)][_0x4e2985(0x342)]('','',_0x204542[_0x4e2985(0x2a7)]());}[_0x247c13(0x357)](_0x4f7130){const _0x27fecb=_0x247c13;var _0xcae97a;return(_0xcae97a=new URL(window[_0x27fecb(0x2aa)][_0x27fecb(0x1c6)])['searchParams']['get'](_0x4f7130))!=null?_0xcae97a:void 0x0;}}var _0x14ae9d=Object[_0x247c13(0x1a0)],_0x50fdf0=Object['getOwnPropertyDescriptor'],_0x35be6e=(_0x1333f3,_0x2dcb0f,_0x4e8690)=>_0x2dcb0f in _0x1333f3?_0x14ae9d(_0x1333f3,_0x2dcb0f,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x4e8690}):_0x1333f3[_0x2dcb0f]=_0x4e8690,_0x2b366a=(_0x332daa,_0x1e9339,_0x47cd5e,_0x35aefe)=>{const _0x3150eb=_0x247c13;for(var _0x3cd0fb=_0x35aefe>0x1?void 0x0:_0x35aefe?_0x50fdf0(_0x1e9339,_0x47cd5e):_0x1e9339,_0x5a04bf=_0x332daa[_0x3150eb(0x2b2)]-0x1,_0x2bf6ff;_0x5a04bf>=0x0;_0x5a04bf--)(_0x2bf6ff=_0x332daa[_0x5a04bf])&&(_0x3cd0fb=_0x2bf6ff(_0x3cd0fb)||_0x3cd0fb);return _0x3cd0fb;},_0x2a51cd=(_0x1c109d,_0xd829f9)=>(_0x2f4c4b,_0x10f41e)=>_0xd829f9(_0x2f4c4b,_0x10f41e,_0x1c109d),_0x58e830=(_0x1343cd,_0x35c487,_0x3e363a)=>_0x35be6e(_0x1343cd,_0x35c487+'',_0x3e363a);const _0x3238f9=_0x247c13(0x13d);_0x2cb787[_0x247c13(0x1cb)]=class extends _0x2b635d[_0x247c13(0x30c)]{constructor(_0x57c9c6=_0x39ae8e,_0x5a54b1,_0x6ed40f,_0x4476df){const _0x332907=_0x247c13;super(),this[_0x332907(0x358)]=_0x57c9c6,this[_0x332907(0x2de)]=_0x5a54b1,this[_0x332907(0x2d1)]=_0x6ed40f,this['_configService']=_0x4476df;const {..._0x5a66b5}=_0x2b635d[_0x332907(0x372)]({},_0x39ae8e,this[_0x332907(0x358)]);this[_0x332907(0x326)]['setConfig'](_0x5c9f0a,_0x5a66b5);}[_0x247c13(0x1de)](){const _0x5ed244=_0x247c13;this[_0x5ed244(0x1d6)](),this[_0x5ed244(0x164)]();}['onRendered'](){this['_registerRenderDependencies']();}[_0x247c13(0x1d6)](){const _0x4fc866=_0x247c13;var _0x2049ed;const _0x57d08b=[[_0x5f32f6],[_0x509f58],[_0x4f0646],[_0x3b5fe5],[_0x2b28f5],[_0x3af57d,{'useClass':_0x1878ad}],[_0x495adb[_0x4fc866(0x29f)],{'useClass':_0x495adb[_0x4fc866(0x2ff)]}],[_0x506fcd['ILocalCacheService'],{'useClass':_0x991639}],[_0x2cb787[_0x4fc866(0x33d)]],[_0x4213c5],[_0x442f04],[_0x9097ea],[_0x275fd7],[_0x2cb787[_0x4fc866(0x2be)]]];_0x2b635d[_0x4fc866(0x350)](this[_0x4fc866(0x2d1)],_0x2b635d[_0x4fc866(0x361)](_0x57d08b,(_0x2049ed=this['_config'])==null?void 0x0:_0x2049ed['override']));}['_registerRenderDependencies'](){const _0x37d8ec=_0x247c13;this[_0x37d8ec(0x340)](this[_0x37d8ec(0x2de)][_0x37d8ec(0x1bb)](_0x2b635d[_0x37d8ec(0x151)][_0x37d8ec(0x352)],[_0x1ea147])),this[_0x37d8ec(0x340)](this[_0x37d8ec(0x2de)][_0x37d8ec(0x1bb)](_0x2b635d[_0x37d8ec(0x151)]['UNIVER_SHEET'],[_0xa5c554]));}[_0x247c13(0x164)](){const _0x2c04b8=_0x247c13;_0x2b635d[_0x2c04b8(0x254)](this[_0x2c04b8(0x2d1)],[[_0x9097ea],[_0x2cb787['DesktopCollaborationStatusDisplayController']],[_0x4213c5],[_0x442f04],[_0x2cb787[_0x2c04b8(0x2be)]]]);}},_0x58e830(_0x2cb787[_0x247c13(0x1cb)],_0x247c13(0x3d0),_0x3238f9),_0x2cb787[_0x247c13(0x1cb)]=_0x2b366a([_0x2b635d[_0x247c13(0x35d)](_0x506fcd[_0x247c13(0x314)]),_0x2a51cd(0x1,_0x59264b[_0x247c13(0x1f6)]),_0x2a51cd(0x2,_0x2b635d[_0x247c13(0x165)](_0x2b635d[_0x247c13(0x230)])),_0x2a51cd(0x3,_0x2b635d[_0x247c13(0x2b8)])],_0x2cb787[_0x247c13(0x1cb)]);var _0x39edfc=Object[_0x247c13(0x1fe)],_0x49de55=(_0x578fe8,_0x328a5d,_0x232c0c,_0xabea18)=>{const _0x393680=_0x247c13;for(var _0x3ac2bc=_0xabea18>0x1?void 0x0:_0xabea18?_0x39edfc(_0x328a5d,_0x232c0c):_0x328a5d,_0x5938a9=_0x578fe8[_0x393680(0x2b2)]-0x1,_0x2574b9;_0x5938a9>=0x0;_0x5938a9--)(_0x2574b9=_0x578fe8[_0x5938a9])&&(_0x3ac2bc=_0x2574b9(_0x3ac2bc)||_0x3ac2bc);return _0x3ac2bc;},_0x316ffc=(_0x2f8420,_0x344068)=>(_0x3830b1,_0x37db3c)=>_0x344068(_0x3830b1,_0x37db3c,_0x2f8420);_0x2cb787[_0x247c13(0x16e)]=class extends _0x506fcd['CollaborationSocketService']{constructor(_0x5794e0,_0xb69d77,_0x1bb0e5,_0xf266ff,_0x433b39){super(_0x5794e0,_0xb69d77,_0x1bb0e5,_0xf266ff,_0x433b39);}async[_0x247c13(0x1b9)](_0x241904){const _0x31064a=_0x247c13,_0x2585cd=await this[_0x31064a(0x317)](),_0x5acc57=this[_0x31064a(0x280)](_0x241904,_0x2585cd);return this[_0x31064a(0x2c1)](_0x5acc57);}[_0x247c13(0x280)](_0x53e68c,_0x61db14){const _0x8997e0=_0x247c13,_0x5d2ad0=typeof window>'u'?new URL(_0x53e68c):new URL(_0x53e68c,window[_0x8997e0(0x2aa)][_0x8997e0(0x14c)]);_0x5d2ad0['searchParams'][_0x8997e0(0x3d3)](_0x8997e0(0x23f),_0x61db14);const _0x4ba034=typeof window>'u'?new URLSearchParams():new URLSearchParams(window[_0x8997e0(0x2aa)][_0x8997e0(0x328)]);return _0x4ba034[_0x8997e0(0x2b6)]('runId')&&_0x5d2ad0['searchParams']['set'](_0x8997e0(0x2e6),_0x4ba034['get'](_0x8997e0(0x2e6))),_0x5d2ad0['toString']();}async[_0x247c13(0x317)](){const _0x463997=_0x247c13;var _0x13ed69,_0x82982e,_0x53792c;const _0x3d0dae=this[_0x463997(0x326)][_0x463997(0x1e0)](_0x506fcd['COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY']),_0xcd409e=(_0x13ed69=_0x3d0dae==null?void 0x0:_0x3d0dae[_0x463997(0x2c6)])!=null?_0x13ed69:_0x506fcd[_0x463997(0x34b)];return(_0x53792c=(_0x82982e=(await this['_httpService'][_0x463997(0x2b6)](_0xcd409e,{'headers':{'Content-Type':'application/json'}}))['body'])==null?void 0x0:_0x82982e[_0x463997(0x223)])!=null?_0x53792c:'';}},_0x2cb787[_0x247c13(0x16e)]=_0x49de55([_0x316ffc(0x0,_0x2b635d['Inject'](_0x2b635d['Injector'])),_0x316ffc(0x1,_0x2b635d[_0x247c13(0x165)](_0x495adb[_0x247c13(0x3db)])),_0x316ffc(0x2,_0x2b635d[_0x247c13(0x2b8)]),_0x316ffc(0x3,_0x2b635d['ILogService']),_0x316ffc(0x4,_0xa72689[_0x247c13(0x150)])],_0x2cb787[_0x247c13(0x16e)]);const _0xad3337=0x7530,_0x5daf42=_0x247c13(0x3c5);class _0x22f24d extends _0x2b635d[_0x247c13(0x208)]{constructor(){const _0x31604b=_0x247c13;super(),_0x42d170(this,_0x31604b(0x2c0),_0x2b635d[_0x31604b(0x2e4)]()),_0x42d170(this,_0x31604b(0x2f9),new Set()),_0x42d170(this,'_unitOnClients',new Map()),_0x42d170(this,_0x31604b(0x27e),null),_0x42d170(this,_0x31604b(0x19e),new Map()),_0x42d170(this,'_unitStatus',new Map()),this['_init']();}['dispose'](){const _0x2c1dbf=_0x247c13;super[_0x2c1dbf(0x228)](),this[_0x2c1dbf(0x19e)]['forEach']((_0x231afb,_0x513420)=>this[_0x2c1dbf(0x161)](_0x513420)),this[_0x2c1dbf(0x27e)]&&window[_0x2c1dbf(0x1f5)](this['_heartbeatTimer']);}[_0x247c13(0x2d4)](_0x5290ae){const _0x23e524=_0x247c13;return this[_0x23e524(0x3a5)](_0x5290ae)['pipe'](_0x4e09fc[_0x23e524(0x139)]());}[_0x247c13(0x1f0)](_0x2683b4){const _0x5ae8bd=_0x247c13;this['_selfUnitIDs'][_0x5ae8bd(0x1dd)]===0x0&&this[_0x5ae8bd(0x31d)](),this[_0x5ae8bd(0x2f9)][_0x5ae8bd(0x160)](_0x2683b4),this[_0x5ae8bd(0x19d)]({'type':0x0,'memberID':this[_0x5ae8bd(0x2c0)],'unitIDs':[_0x2683b4],'isForwarded':!0x1});}[_0x247c13(0x2d3)](_0x42e0a1){const _0xc8814=_0x247c13;this[_0xc8814(0x2f9)]['delete'](_0x42e0a1),this[_0xc8814(0x2f9)][_0xc8814(0x1dd)]===0x0&&this[_0xc8814(0x27e)]&&window[_0xc8814(0x1f5)](this['_heartbeatTimer']);}['_init'](){const _0x448504=_0x247c13;this[_0x448504(0x340)](_0x2b635d[_0x448504(0x338)](_0x4e09fc[_0x448504(0x13f)](window,'storage')['subscribe'](_0x3e5fe2=>{const _0x472cab=_0x448504;if(_0x3e5fe2[_0x472cab(0x182)]!==_0x5daf42||!_0x3e5fe2[_0x472cab(0x291)])return;const _0x2ee82c=JSON[_0x472cab(0x295)](_0x3e5fe2[_0x472cab(0x291)]);this[_0x472cab(0x33b)](_0x2ee82c);}))),window[_0x448504(0x3af)](_0x448504(0x256),()=>this[_0x448504(0x19d)]({'type':0x1,'memberID':this[_0x448504(0x2c0)],'unitIDs':Array[_0x448504(0x392)](this[_0x448504(0x2f9)])}));}[_0x247c13(0x33b)](_0x1fa6ee){const _0x29119a=_0x247c13;switch(_0x1fa6ee[_0x29119a(0x1ca)]){case 0x0:this[_0x29119a(0x1fb)](_0x1fa6ee);break;case 0x1:this[_0x29119a(0x3b1)](_0x1fa6ee);break;case 0x2:this[_0x29119a(0x39c)](_0x1fa6ee);break;}}[_0x247c13(0x1fb)](_0xae8554){const _0x283c66=_0x247c13,{unitIDs:_0x68b213,memberID:_0x5f1464,isForwarded:_0x5184a8}=_0xae8554;_0x68b213[_0x283c66(0x1db)](_0x3a21bd=>{const _0x4e9379=_0x283c66;if(!_0x5184a8&&this[_0x4e9379(0x394)][_0x4e9379(0x243)](_0x3a21bd)&&this[_0x4e9379(0x3a5)](_0x3a21bd)['next'](_0x506fcd['UnitStatus']['OTHER_CLIENTS_EDITING']),!this['_unitOnClients'][_0x4e9379(0x243)](_0x3a21bd)||!this['_unitOnClients'][_0x4e9379(0x2b6)](_0x3a21bd)[_0x4e9379(0x243)](_0x5f1464)){const _0x1b50e6=this[_0x4e9379(0x394)][_0x4e9379(0x2b6)](_0x3a21bd)||new Set();_0x1b50e6[_0x4e9379(0x160)](_0x5f1464),this['_unitOnClients'][_0x4e9379(0x3d3)](_0x3a21bd,_0x1b50e6),this[_0x4e9379(0x36e)](_0x5f1464);}}),_0x5184a8||this[_0x283c66(0x19d)]({'type':0x0,'memberID':this['_id'],'unitIDs':[...this[_0x283c66(0x2f9)]],'isForwarded':!0x0});}[_0x247c13(0x36e)](_0x2795a0){const _0x2dc216=_0x247c13;this[_0x2dc216(0x161)](_0x2795a0);const _0x181e12=window[_0x2dc216(0x259)](()=>{const _0x1d35cb=_0x2dc216;this[_0x1d35cb(0x394)][_0x1d35cb(0x1db)](_0x4d5ade=>{const _0xe2d8c2=_0x1d35cb;_0x4d5ade[_0xe2d8c2(0x216)](_0x2795a0);});},_0xad3337*0x2);this['_clearOtherTimers'][_0x2dc216(0x3d3)](_0x2795a0,_0x181e12);}['_removeClearOtherTimer'](_0x3acada){const _0x4ed0de=_0x247c13;if(this['_clearOtherTimers']['has'](_0x3acada)){const _0x3ade02=this[_0x4ed0de(0x19e)][_0x4ed0de(0x2b6)](_0x3acada);_0x3ade02&&window[_0x4ed0de(0x395)](_0x3ade02),this[_0x4ed0de(0x19e)][_0x4ed0de(0x3d3)](_0x3acada,null);}}['_handleLeaveEvent'](_0x48fa63){const _0xb4b7c5=_0x247c13,{memberID:_0x1342fd,unitIDs:_0x20cb07}=_0x48fa63;_0x20cb07[_0xb4b7c5(0x1db)](_0x59f1d1=>{const _0x365487=_0xb4b7c5;var _0x180a57;const _0x456550=this[_0x365487(0x394)][_0x365487(0x2b6)](_0x59f1d1);_0x456550&&(_0x456550[_0x365487(0x216)](_0x1342fd),(_0x180a57=this[_0x365487(0x3a5)](_0x59f1d1))==null||_0x180a57[_0x365487(0x285)](_0x456550[_0x365487(0x1dd)]===0x0?_0x506fcd['UnitStatus'][_0x365487(0x2cc)]:_0x506fcd[_0x365487(0x335)]['OTHER_CLIENTS_EDITING']));}),this[_0xb4b7c5(0x161)](_0x1342fd);}[_0x247c13(0x39c)](_0x2fd8ae){const _0x5879ca=_0x247c13;this[_0x5879ca(0x36e)](_0x2fd8ae['memberID']);}['_send'](_0x58ae61){const _0x221f91=_0x247c13;localStorage['setItem'](_0x5daf42,JSON[_0x221f91(0x380)](_0x58ae61));}[_0x247c13(0x31d)](){const _0x87d537=_0x247c13;this[_0x87d537(0x27e)]=window[_0x87d537(0x1ac)](()=>{const _0x29fe13=_0x87d537;this[_0x29fe13(0x19d)]({'type':0x2,'memberID':this[_0x29fe13(0x2c0)]});},_0xad3337);}[_0x247c13(0x3a5)](_0x3e2cf7){const _0x3a2e5b=_0x247c13;return this[_0x3a2e5b(0x321)]['has'](_0x3e2cf7)||this[_0x3a2e5b(0x321)][_0x3a2e5b(0x3d3)](_0x3e2cf7,new _0x4e09fc[(_0x3a2e5b(0x1e8))](_0x506fcd[_0x3a2e5b(0x335)][_0x3a2e5b(0x2cc)])),this[_0x3a2e5b(0x321)]['get'](_0x3e2cf7);}}var _0x5ba3d0=(_0x2781a7=>(_0x2781a7[_0x2781a7['UNDEFINED']=0x0]=_0x247c13(0x25e),_0x2781a7[_0x2781a7['OK']=0x1]='OK',_0x2781a7[_0x2781a7['INTERNAL_ERROR']=0x2]=_0x247c13(0x381),_0x2781a7[_0x2781a7[_0x247c13(0x2a8)]=0x3]='PERMISSION_DENIED',_0x2781a7[_0x2781a7[_0x247c13(0x233)]=0x4]=_0x247c13(0x233),_0x2781a7[_0x2781a7[_0x247c13(0x351)]=0x5]=_0x247c13(0x351),_0x2781a7[_0x2781a7[_0x247c13(0x176)]=0x6]='ALREADY_EXISTS',_0x2781a7[_0x2781a7['INVALID_ARGUMENT']=0x7]='INVALID_ARGUMENT',_0x2781a7[_0x2781a7[_0x247c13(0x1e3)]=0x8]='TOO_MANY_REQUESTS',_0x2781a7[_0x2781a7[_0x247c13(0x368)]=0x9]=_0x247c13(0x368),_0x2781a7[_0x2781a7[_0x247c13(0x271)]=0xa]=_0x247c13(0x271),_0x2781a7[_0x2781a7[_0x247c13(0x1fd)]=0xb]='MOBILE_VERIFY_CODE_MISMATCH',_0x2781a7[_0x2781a7['MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED']=0xc]=_0x247c13(0x308),_0x2781a7[_0x2781a7['EMAIL_VERIFY_CODE_MISMATCH']=0xd]=_0x247c13(0x2d0),_0x2781a7[_0x2781a7[_0x247c13(0x181)]=0xe]=_0x247c13(0x181),_0x2781a7[_0x2781a7[_0x247c13(0x13e)]=0x1389]=_0x247c13(0x13e),_0x2781a7[_0x2781a7[_0x247c13(0x2d6)]=0x1771]=_0x247c13(0x2d6),_0x2781a7[_0x2781a7[_0x247c13(0x21a)]=0x1772]=_0x247c13(0x21a),_0x2781a7[_0x2781a7['ENSURE_SNAPSHOT_EXECUTION']=0x1773]=_0x247c13(0x211),_0x2781a7[_0x2781a7[_0x247c13(0x231)]=0x1b59]='APPLY_REJECT',_0x2781a7[_0x2781a7[_0x247c13(0x24c)]=0x1b5a]=_0x247c13(0x24c),_0x2781a7[_0x2781a7['APPLY_REVISION_CONFILICT']=0x1b5b]='APPLY_REVISION_CONFILICT',_0x2781a7[_0x2781a7[_0x247c13(0x2f2)]=0x1b5c]=_0x247c13(0x2f2),_0x2781a7[_0x2781a7[_0x247c13(0x371)]=0x1b5d]=_0x247c13(0x371),_0x2781a7[_0x2781a7[_0x247c13(0x270)]=0x1f41]=_0x247c13(0x270),_0x2781a7[_0x2781a7['LICENSE_MAX_UNITS_EXCEEDED']=0x2329]=_0x247c13(0x3a7),_0x2781a7[_0x2781a7['LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED']=0x232a]=_0x247c13(0x2c3),_0x2781a7[_0x2781a7[_0x247c13(0x146)]=0x232b]=_0x247c13(0x146),_0x2781a7[_0x2781a7[_0x247c13(0x2c2)]=0x232c]=_0x247c13(0x2c2),_0x2781a7[_0x2781a7['LICENSE_DISTRO_REJECTED']=0x232d]=_0x247c13(0x2e3),_0x2781a7[_0x2781a7[_0x247c13(0x3d7)]=0x2711]='YUUMI_UNABLE_LOAD_URL',_0x2781a7[_0x2781a7[_0x247c13(0x1d4)]=0x2712]=_0x247c13(0x1d4),_0x2781a7[_0x2781a7['YUUMI_RATE_OVER_LIMIT']=0x2713]=_0x247c13(0x268),_0x2781a7[_0x2781a7['YUUMI_SUBSCRIPTION_NOT_FOUND']=0x2714]=_0x247c13(0x393),_0x2781a7[_0x2781a7[_0x247c13(0x325)]=0x271a]='YUUMI_NO_CUBOID_FOR_QUESTION',_0x2781a7[_0x2781a7[_0x247c13(0x278)]=0x271b]=_0x247c13(0x278),_0x2781a7[_0x2781a7[_0x247c13(0x3a8)]=0x271c]=_0x247c13(0x3a8),_0x2781a7[_0x2781a7[_0x247c13(0x397)]=0x271d]=_0x247c13(0x397),_0x2781a7[_0x2781a7[_0x247c13(0x3be)]=0x271e]='YUUMI_PROMPT_MAX_TOKENS_EXCEEDED',_0x2781a7[_0x2781a7[_0x247c13(0x3d8)]=0x271f]=_0x247c13(0x3d8),_0x2781a7[_0x2781a7[_0x247c13(0x21d)]=0x2720]=_0x247c13(0x21d),_0x2781a7[_0x2781a7[_0x247c13(0x35f)]=0x2af9]='PY_RUNTIME_SCRIPT_ERROR',_0x2781a7[_0x2781a7['INVITE_CODE_HAS_BEEN_UES']=0x2ee1]=_0x247c13(0x306),_0x2781a7[_0x2781a7[_0x247c13(0x19c)]=0x2ee2]=_0x247c13(0x19c),_0x2781a7[_0x2781a7[_0x247c13(0x1b4)]=0x2ee3]='INVITE_CODE_REQUIRED',_0x2781a7[_0x2781a7[_0x247c13(0x34c)]=0x2ee4]=_0x247c13(0x34c),_0x2781a7[_0x2781a7[_0x247c13(0x1a5)]=0x2ee5]=_0x247c13(0x1a5),_0x2781a7[_0x2781a7['WECHAT_HAS_BEEN_BOUND']=0x32c9]=_0x247c13(0x2b4),_0x2781a7[_0x2781a7['MOBILE_HAS_BEEN_BOUND']=0x32ca]=_0x247c13(0x284),_0x2781a7[_0x2781a7[_0x247c13(0x3c8)]=0x32cb]=_0x247c13(0x3c8),_0x2781a7[_0x2781a7[_0x247c13(0x388)]=-0x1]='UNRECOGNIZED',_0x2781a7))(_0x5ba3d0||{}),_0x3ce039=Object[_0x247c13(0x1fe)],_0x447ce5=(_0x48c890,_0x53635a,_0x4a25f4,_0x23a37f)=>{for(var _0x38b4a3=_0x23a37f>0x1?void 0x0:_0x23a37f?_0x3ce039(_0x53635a,_0x4a25f4):_0x53635a,_0x264b0f=_0x48c890['length']-0x1,_0x2e393c;_0x264b0f>=0x0;_0x264b0f--)(_0x2e393c=_0x48c890[_0x264b0f])&&(_0x38b4a3=_0x2e393c(_0x38b4a3)||_0x38b4a3);return _0x38b4a3;},_0x45492e=(_0x14fdc5,_0x5e3855)=>(_0x431bcb,_0xbd01f3)=>_0x5e3855(_0x431bcb,_0xbd01f3,_0x14fdc5);_0x2cb787[_0x247c13(0x23b)]=class extends _0x2b635d['Disposable']{constructor(_0x21bb5e,_0x11eb5a,_0x3f4ec7){const _0x113a00=_0x247c13;super(),this[_0x113a00(0x3a6)]=_0x21bb5e,this[_0x113a00(0x27b)]=_0x11eb5a,this[_0x113a00(0x326)]=_0x3f4ec7;}async['runOnServer'](_0x2f5fcf,_0x4e56bd,_0x50d2e3,..._0x4b0446){const _0x4e08f0=_0x247c13;var _0x23050c,_0x41f2b7,_0x5c38c0,_0x5a2662;const _0x1245af=this[_0x4e08f0(0x3a6)][_0x4e08f0(0x187)]();if(!_0x1245af)throw new Error('[RemoteUniscriptService]:\x20no\x20focused\x20unit');const _0xe444f9=((_0x23050c=this[_0x4e08f0(0x326)][_0x4e08f0(0x1e0)](_0x506fcd[_0x4e08f0(0x307)]))!=null?_0x23050c:_0x506fcd['DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT'])+'/'+_0x2f5fcf+_0x4e08f0(0x248)+_0x4e56bd,_0x15b149=new URL(window['location'][_0x4e08f0(0x1c6)]),_0x1ee5d0={'scriptId':_0x2f5fcf,'runId':(_0x41f2b7=_0x15b149[_0x4e08f0(0x174)][_0x4e08f0(0x2b6)](_0x4e08f0(0x2e6)))!=null?_0x41f2b7:'','function':_0x4e56bd,'unitId':_0x1245af[_0x4e08f0(0x37f)](),'argsOfFunction':JSON[_0x4e08f0(0x380)](_0x4b0446),'invokeId':(_0x5c38c0=_0x50d2e3[_0x4e08f0(0x22b)])!=null?_0x5c38c0:'','executionId':(_0x5a2662=_0x50d2e3[_0x4e08f0(0x2f4)])!=null?_0x5a2662:''};try{const _0x158630=await this[_0x4e08f0(0x27b)][_0x4e08f0(0x2fd)](_0xe444f9,{'body':_0x1ee5d0});return _0x158630[_0x4e08f0(0x2fa)][_0x4e08f0(0x204)]&&_0x158630[_0x4e08f0(0x2fa)][_0x4e08f0(0x204)][_0x4e08f0(0x194)]!==_0x5ba3d0['OK']?_0x4e08f0(0x272):_0x158630[_0x4e08f0(0x2fa)][_0x4e08f0(0x355)];}catch{return _0x4e08f0(0x272);}}},_0x2cb787[_0x247c13(0x23b)]=_0x447ce5([_0x45492e(0x0,_0x2b635d[_0x247c13(0x29d)]),_0x45492e(0x1,_0x2b635d['Inject'](_0x495adb[_0x247c13(0x3db)])),_0x45492e(0x2,_0x2b635d[_0x247c13(0x2b8)])],_0x2cb787[_0x247c13(0x23b)]),_0x2cb787[_0x247c13(0x193)]=_0x1556cd,_0x2cb787[_0x247c13(0x16f)]=_0x3af57d,_0x2cb787[_0x247c13(0x3ca)]=_0x598ffe,_0x2cb787[_0x247c13(0x155)]=_0x22f24d,_0x2cb787[_0x247c13(0x319)]=_0x1878ad,Object[_0x247c13(0x1a0)](_0x2cb787,Symbol[_0x247c13(0x3bd)],{'value':_0x247c13(0x36b)});}));function _0x20d3(){const _0x466dfc=['sessionTicket','hasOwnProperty','useDependency','_updateCollabCursors','has','isArray','_hovered','getRelativeToViewportCoord','textRanges','/run/','Vector2','pipe','NOT_COLLAB','APPLY_NON_SEQUENTIAL_REVISION','UniverEngineFormula','getSheetBySheetId','useRef','_onCursorUpdate','connectInjector','all','transformMutationsWithChangeset','touchDependencies','_updateURLWithCurrentState','unload','ILocalCacheService','collaboration.single-unit.warning','setTimeout','No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','_getSaveTimeout','_cursor','_getAnchorBounding','UNDEFINED','DocStateChangeManagerService','createElement','Rectangle','filter','@univerjs/docs','_draw','requireSession','closePath','IImageIoService','YUUMI_RATE_OVER_LIMIT','getUnhiddenWorksheets','attrs','collab-client.tooltip.reconnect','UniverDrawing','_hideTimer','off-line-icon','_memberService','CONNECTOR_DATA_TOO_LARGE','LOGIN_FAILED','Failed','collabStatus.synced','history','Subject','_localStorageService','OTHER_CLIENT_EDITING','YUUMI_ASYNCIO_CANCELLED','UNIVER_SHEET','values','_httpService','height','measureText','_heartbeatTimer','max','_createSocketURL','_scene','makeDirty','selections','MOBILE_HAS_BEEN_BOUND','next','_initCommandExecutedListener','_messageService','translate(.97)','_themeService','indexOf','_onCursorDelete','Tools','_document','FromArray','getMergeData','onPointerEnter$','newValue','getCoordByCell','currentSkeleton$','getRangePointData','parse','resize','_docStateChangeManagerService','UniverSheets','@univerjs/drawing','_anchor','startsWith','use','IUniverInstanceService','DocIMEInputManagerService','ISocketService','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','with','debounceTime','mutations','_saveTaskMap','#FFF','_status$','toString','PERMISSION_DENIED','handleDeleteRangeMoveLeft','location','setStateCache','_drawAnchor','getSkeleton','getLocalCacheKey','switchMap','redoState','No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.','length','_onRefRangeChange','WECHAT_HAS_BEEN_BOUND','then','get','transformRemoteChangeset','IConfigService','getCollabCursors$','_cursorShapes','_hover','SetTextSelectionsOperation','ICommandService','CollaborationDataLoaderController','push','_id','_doCreateSocket','LICENSE_EXPORT_SIZE_EXCEEDED','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','MoveRangeCommandId','_cursors','wsSessionTicketUrl','replaceDocRanges','_beforeCloseService','exhaustSavingTask','toRgbString','_range','NO_OTHER_CLIENTS_EDITING','data','sheetId','48LxbCQy','EMAIL_VERIFY_CODE_MISMATCH','_injector','hovered','disposeUnit','getUnitStatus$','svg','SNAPSHOT_INVALID_SNAPSHOT','collabCursorState$','getColor','skeleton','handleIRemoveCol','_collaborationUIEventService','roomMembers','Rect','_renderManagerService','_transformHistoryAndStateStack','_disabled','univer-flex\x20univer-items-center','permission.title','LICENSE_DISTRO_REJECTED','generateRandomId','ILogService','runId','jsx','SUBMIT_CHANGESET_TIMEOUT','LocaleService','none','_session','dispose$','focused$','UniverRpc','_roomMembers$','SHEET_VIEWPORT_KEY','_entities','APPLY_PERMISSION_DENIED','_textBubble','executionId','_docTransformIMECacheService','mask','getActiveSheet','handleIRemoveRow','_selfUnitIDs','body','executeCommand','_docSyncEditingCollabCursorService','post','eventID','WebSocketService','mapTo','RefRangeService','column','addClipboardHook','arc','IBeforeCloseService','INVITE_CODE_HAS_BEEN_UES','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY','MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','transformMutation','ColorKit','CollaborationUIEventId','Plugin','getActiveRange','setItem','_transformService','throttleTime','flatMap','idSuffix','evenodd','UniverCollaborationClientPlugin','font','substring','_getSessionTicket','_initEntityListener','WebURLService','getColorFromTheme','UniverDocsUi','subunit','_scheduleHeartbeat','exports','333852inubJz','m1Prime','_unitStatus','_anchorDot','DocSelectionManagerService','COLORS','YUUMI_NO_CUBOID_FOR_QUESTION','_configService','drawWith','search','20gyNugR','JOIN_ROOM_FAILED','source','url(#off-line-icon_clip0_910_343)','IRemoteInstanceService','UniverProCollaborationClient','session.collaboration-timeout','docStateChange$','_backgroundColor','assign','getStateCache','status$','UnitStatus','combineLatest','black','toDisposable','currentTheme$','cursorInfo$','_handleEvent','_name','DesktopCollaborationStatusDisplayController','@univerjs/engine-formula','icon','disposeWithMe','UniverCore','pushState','UniverSheetsUi','popstate','_labelPosition','_refreshCollabCursors','getTypeOfUnitDisposed$','entries','className','getAncestorScale','DEFAULT_WS_SESSION_TICKET_URL','USER_NOT_INVITED_CODE','cursorInfo','InsertRangeMoveRightCommandId','transformStateCache','registerDependencies','UNAUTHENTICATED','UNIVER_DOC','UniverProCollaborationClientUi','range','result','function','getParam','_config','replace','_transformPreviousActiveRange','1244520oPjiou','off-line-icon_clip0_910_343','DependentOn','color','PY_RUNTIME_SCRIPT_ERROR','collabStatus.fetchMiss','mergeOverrideWithDependencies','CollaborationEvent','ranges','@univerjs/design','514760IvAoya','IUIPartsService','restore','COMPLETION_FINISHED','RegularPolygon','getUndoRedoMutationParamsCache','Module','DocCollaborationEntity','clsx','_scheduleClearOtherTimer','_getMergeRange','@univerjs/engine-render','APPLY_DUPLICATED','merge','onLocalMutation','getTypeOfUnitAdded$','getCurrentUnitForType','entityInit$','UPDATE_CURSOR','addHandlerCallback','children','onTransformChange$','getOffsetConfig','_revisionService','Shape','colorChannel1','getUnitId','stringify','INTERNAL_ERROR','NodePositionConvertToCursor','getCurrentRevOfUnit','reconnect','getViewport','width','fillRule','UNRECOGNIZED','USERS_LEAVE','_refRangeService','xlink:href','doc.mutation.rich-text-editing','displayName','Error','UniverIcon','LOCAL_CACHE_INTERVAL','jiqing.500','from','YUUMI_SUBSCRIPTION_NOT_FOUND','_unitOnClients','clearTimeout','getCurrentSelections','YUUMI_ALL_TABLES_IS_INVALID','text','_initStatusComponent','labelPosition','_getScale','_handleHeartbeatEvent','collaboration.closeRoom','saveOfflineData','current','undoState','ONLINE','_scheduleSaving','http://www.w3.org/2000/svg','onMouseMove','_ensureSubject','_instanceService','LICENSE_MAX_UNITS_EXCEEDED','YUUMI_TABLE_NOT_FOUND_IN_UNIT','...','CollaborationStatus','univer-text-sm\x20univer-leading-8\x20univer-text-gray-600\x20dark:!univer-text-gray-200','on-line-icon','getMember','isEditing','addEventListener','univer-mr-2\x20univer-flex\x20univer-text-xl','_handleLeaveEvent','collabStatus.conflict','debounce','CommandType','@univerjs/sheets-ui','endRow','_collabSessionService','defs','apply','currentColor','rxjs/operators','M0\x200H16V16H0z','toStringTag','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','SYNCED','@univerjs/sheets','Workbook','_logService','OffLineIcon','getMemberID','ACTIVE_UNIT_EVENT_CHANNEL','react/jsx-runtime','round','EMAIL_HAS_BEEN_BOUND','1072620MiwhGN','SheetCollabCursorShape','69033hDZGwT','UniverDesign','handleDeleteRangeMoveUp','_color','extend','pluginName','_cachedData','_localCacheService','set','send','@univerjs/docs-ui','session.will-retry','YUUMI_UNABLE_LOAD_URL','YUUMI_AI_RUN_FAILED','CLOSE_ROOM','RECT','HTTPService','white','rxjs','DOC_RANGE_TYPE','lineTo','_toggleOffline','collabStatus.syncing','_saveCache','distinctUntilChanged','_colorAssignService','row','sessionStatus$','UNIVER_COLLABORATION_CLIENT_WEB_PLUGIN','CHANGESET_REVISION_CONFILICT','fromEvent','uni.network.url-service','fill','enableLocalCache','RemoveColCommandId','defIds','path','LICENSE_IMPORT_SIZE_EXCEEDED','_handleHover','getValue','1em','concat','event$','origin','symbol','triggerDblclick','params','ISnapshotServerService','UniverInstanceType','CollaborationController','bottom','_setupSubUnitSync','WebBrowserSingleActiveUnitService','AWAITING_WITH_PENDING','_startSheetCollabCursor','rgba(255,\x20255,\x20255,\x200.01)','fillText','createInstance','min','permission.content','debug','181643bVitbQ','handleInsertRangeMoveDown','add','_removeClearOtherTimer','findNodePositionByCharIndex','setAlpha','_initDependencies','Inject','@univerjs/network','_online','getDocRanges','setUndoRedoMutationParamsCache','_docSkeleton','_context','handleInsertRangeMoveRight','TEXT','BrowserCollaborationSocketService','IURLService','saveImage','shareReplay','show','getOwnPropertySymbols','searchParams','RxDisposable','ALREADY_EXISTS','_collabCursorState$','loadUnit','_entityInit$','OFFLINE','split','unitID','RevisionService','[CollaborationDataLoaderController]','beginPath','SessionStatus','EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','key','@univerjs/core','@univerjs/ui','complete','_syncEditingCollabCursorService','getFocusedUnit','_init','_initEvent','_removeCollabCursors','registerComponent','univerjs-icon\x20univerjs-icon-','_initStatusListener','MUTATION','prototype','collabStatus.notCollab','selection','_commandService','CollaborationStatusDisplay','code','operators','IMessageService','_shapes','url(#on-line-icon_clip0_910_349)','map','ThemeService','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','INVALID_INVITE_CODE','_send','_clearOtherTimers','addObject','defineProperty','BuiltInUIPart','getCollabEntity$','DocSkeletonManagerService','ITransformService','INVITE_CODE_ALREADY_BOUND','isTransformMutationsWithChangesetSuccess','getCellPositionByOffset','handleMoveRange','tag','deepClone','getCurrent','setInterval','_uiPartsService','setParam','UniverUi','actions','startColumn','_initResize','m2Prime','INVITE_CODE_REQUIRED','_notificationService','_transformUndoRedoStack','InsertRangeMoveDownCommandId','saveTaskMap','createSocket','unshift','registerRenderModule','_univerInstanceService','ILocalStorageService','EffectRefRangId','fromEventSubject','_docTransformSelectionsService','runRefRangeMutations','contains','_sheetSkeletonManagerService','onCommandExecuted','React','href','moveTo','_getSheetObject','_collaborationController','type','UniverCollaborationClientUIPlugin','LOCAL_CACHE_INTERVAL_KEY','_lastPointer','@univerjs-pro/collaboration-client','on-line-icon_clip0_910_349','_collabCursorController','TRANSFORM_CHANGE_OBSERVABLE_TYPE','syncEditingCollabCursor','replaceState','YUUMI_URL_COL_OUT_OF_RANGE','amd','_registerDependencies','getRenderById','705108QkkAgd','isTransformMutationFailure','FETCH_MISS','forEach','_colorIndex','size','onStarting','_startDocCollabCursor','getConfig','CONFLICT','UniverProCollaboration','TOO_MANY_REQUESTS','transform','_render','RemoveRowCommandId','_cursorInfo$','BehaviorSubject','_setupBeforeClosingHandler','_toggleOnline','OnLineIcon','jsxs','MessageType','string','MemberService','editingUnit','CollaborationSessionService','registerBeforeClose','InsertColCommandId','random','clearInterval','IRenderManagerService','UniverEngineRender','subscribe','takeUntil','_imageIoService','_handleJoinEvent','asObservable','MOBILE_VERIFY_CODE_MISMATCH','getOwnPropertyDescriptor','green.600','_updateSubUnitFromURLParams','imageSourceType','react','removeParam','error','_assignedColors','unit','getSheetId','Disposable','subscribeEvent','save','forwardRef','fillStyle','name','unsubscribe','whenReady','call','ENSURE_SNAPSHOT_EXECUTION','urlChange$','UniverDocs','transformByState','_drawRectRange','delete','setShapeProps','getVpScrollXYInfoByPosToVp','DeleteRangeMoveUpCommandId','SNAPSHOT_HAS_BEEN_REMOVED','SOCKET_FAILED_RETRY','clipPath','YUUMI_CONNECTOR_URL_NOT_FOUND','useCallback','disableLocalCache','_localeService','SetSelectionsOperation','_eventUnsubscribe','ticket','TEXT_RANGE_LAYER_INDEX','init','url(#$1','roomMembers$','dispose','unitId','some','invokeId','div','addObjects','serializeRangeWithSheet','createIdentifier','Injector','APPLY_REJECT','_docTransformStateCacheService','NOT_FOUND','bold\x2013px\x20Source\x20Han\x20Sans\x20CN','transformIMECache','_urlService','_drawTextRange','assignAColorForMemberID','find','_docSkeletonManagerService','RemoteUniscriptService','_docClipboardService','_updateLocalCursor','DisposableCollection'];_0x20d3=function(){return _0x466dfc;};return _0x20d3();}
|
|
1
|
+
(function(_0x33ce42,_0x3d85c9){const _0x34a52f=_0x380c,_0x361ba2=_0x33ce42();while(!![]){try{const _0x2d7341=parseInt(_0x34a52f(0x438))/0x1*(parseInt(_0x34a52f(0x22a))/0x2)+-parseInt(_0x34a52f(0x2ed))/0x3*(parseInt(_0x34a52f(0x1e7))/0x4)+-parseInt(_0x34a52f(0x278))/0x5+-parseInt(_0x34a52f(0x3cb))/0x6+-parseInt(_0x34a52f(0x363))/0x7+-parseInt(_0x34a52f(0x360))/0x8*(parseInt(_0x34a52f(0x310))/0x9)+-parseInt(_0x34a52f(0x244))/0xa*(-parseInt(_0x34a52f(0x28f))/0xb);if(_0x2d7341===_0x3d85c9)break;else _0x361ba2['push'](_0x361ba2['shift']());}catch(_0x4484af){_0x361ba2['push'](_0x361ba2['shift']());}}}(_0x1c90,0xed3af),function(_0x5be0,_0x355b42){const _0x571866=_0x380c;typeof exports==_0x571866(0x2fe)&&typeof module<'u'?_0x355b42(exports,require('@univerjs-pro/collaboration-client'),require('@univerjs/core'),require('@univerjs/engine-render'),require('@univerjs/network'),require('@univerjs/docs-ui'),require('@univerjs/drawing'),require('rxjs'),require('@univerjs-pro/collaboration'),require('@univerjs/docs'),require('@univerjs/engine-formula'),require('@univerjs/sheets'),require('rxjs/operators'),require('@univerjs/sheets-ui'),require('react/jsx-runtime'),require('@univerjs/ui'),require('@univerjs/design'),require('react'),require('@univerjs/rpc')):typeof define=='function'&&define[_0x571866(0x3ab)]?define([_0x571866(0x284),'@univerjs-pro/collaboration-client','@univerjs/core',_0x571866(0x3be),'@univerjs/network','@univerjs/docs-ui',_0x571866(0x322),_0x571866(0x42f),'@univerjs-pro/collaboration',_0x571866(0x296),_0x571866(0x388),_0x571866(0x2b4),'rxjs/operators','@univerjs/sheets-ui',_0x571866(0x329),_0x571866(0x36f),_0x571866(0x3e3),_0x571866(0x1f1),_0x571866(0x282)],_0x355b42):(_0x5be0=typeof globalThis<'u'?globalThis:_0x5be0||self,_0x355b42(_0x5be0['UniverProCollaborationClientUi']={},_0x5be0[_0x571866(0x269)],_0x5be0[_0x571866(0x458)],_0x5be0[_0x571866(0x28c)],_0x5be0['UniverNetwork'],_0x5be0[_0x571866(0x3e8)],_0x5be0['UniverDrawing'],_0x5be0[_0x571866(0x42f)],_0x5be0[_0x571866(0x478)],_0x5be0[_0x571866(0x345)],_0x5be0[_0x571866(0x261)],_0x5be0['UniverSheets'],_0x5be0[_0x571866(0x42f)][_0x571866(0x38b)],_0x5be0[_0x571866(0x45a)],_0x5be0[_0x571866(0x43b)],_0x5be0[_0x571866(0x2e4)],_0x5be0[_0x571866(0x25b)],_0x5be0['React'],_0x5be0[_0x571866(0x33b)]));}(this,function(_0x560529,_0x532bba,_0x5c9413,_0x1f04f6,_0x592e97,_0x2f8870,_0x5b296f,_0x5c807f,_0x492d9e,_0x39044d,_0x56a760,_0x333a7c,_0x44133d,_0xd824ff,_0x329810,_0x4db0e6,_0x27f590,_0x47ddff,_0x51bc92){'use strict';const _0x12a2cc=_0x380c;var _0x4491df=Object[_0x12a2cc(0x295)],_0x3a8d07=(_0x8e6385,_0x1014e2,_0x4ef187)=>_0x1014e2 in _0x8e6385?_0x4491df(_0x8e6385,_0x1014e2,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x4ef187}):_0x8e6385[_0x1014e2]=_0x4ef187,_0x1206b7=(_0x2bb139,_0xd2cf92,_0x3d7af7)=>_0x3a8d07(_0x2bb139,typeof _0xd2cf92!=_0x12a2cc(0x33f)?_0xd2cf92+'':_0xd2cf92,_0x3d7af7),_0x342c65=Object[_0x12a2cc(0x436)],_0x1216c6=(_0x4c022d,_0x5a9520,_0x403d91,_0x24f930)=>{for(var _0x23389a=_0x24f930>0x1?void 0x0:_0x24f930?_0x342c65(_0x5a9520,_0x403d91):_0x5a9520,_0x10668b=_0x4c022d['length']-0x1,_0x1d4e69;_0x10668b>=0x0;_0x10668b--)(_0x1d4e69=_0x4c022d[_0x10668b])&&(_0x23389a=_0x1d4e69(_0x23389a)||_0x23389a);return _0x23389a;},_0x3cc4e5=(_0x1f467b,_0x5105c7)=>(_0x4ff762,_0x2c4a0d)=>_0x5105c7(_0x4ff762,_0x2c4a0d,_0x1f467b);let _0x29cac0=class extends _0x5c9413[_0x12a2cc(0x435)]{constructor(_0x3e663c,_0x3670af){const _0x576a6b=_0x12a2cc;super(),this[_0x576a6b(0x431)]=_0x3e663c,this[_0x576a6b(0x3b7)]=_0x3670af,this['_init']();}[_0x12a2cc(0x47c)](){const _0x289bda=_0x12a2cc,_0x3e1f6d=this;this[_0x289bda(0x30f)](this['_docClipboardService'][_0x289bda(0x1f3)]({'onBeforePasteImage':async _0x50cb78=>{const _0x5d4451=_0x289bda,_0x364abe=await _0x3e1f6d[_0x5d4451(0x3b7)][_0x5d4451(0x221)](_0x50cb78);return _0x364abe?{'source':_0x364abe['source'],'imageSourceType':_0x364abe[_0x5d4451(0x25f)]}:null;}}));}};_0x29cac0=_0x1216c6([_0x3cc4e5(0x0,_0x2f8870[_0x12a2cc(0x212)]),_0x3cc4e5(0x1,_0x5b296f[_0x12a2cc(0x3b9)])],_0x29cac0);const _0x56947e=[_0x12a2cc(0x3f3),_0x12a2cc(0x389),_0x12a2cc(0x2cd),_0x12a2cc(0x460),'blue.400',_0x12a2cc(0x479)];class _0x581544 extends _0x5c9413[_0x12a2cc(0x474)]{constructor(){const _0x1592f0=_0x12a2cc;super(...arguments),_0x1206b7(this,_0x1592f0(0x202),new Map()),_0x1206b7(this,'_colorIndex',0x0);}[_0x12a2cc(0x304)](_0x4a641b){const _0x527acb=_0x12a2cc;if(this[_0x527acb(0x202)][_0x527acb(0x3f7)](_0x4a641b))return this[_0x527acb(0x202)][_0x527acb(0x2f0)](_0x4a641b);const _0x2b6558=_0x56947e[this[_0x527acb(0x208)]];return this[_0x527acb(0x208)]=(this[_0x527acb(0x208)]+0x1)%_0x56947e[_0x527acb(0x386)],this[_0x527acb(0x202)][_0x527acb(0x2ee)](_0x4a641b,_0x2b6558),_0x2b6558;}}function _0x356069(_0x57bf54){const _0x4fb418=_0x12a2cc;let _0x55abb5='';for(const _0x4ebaec of _0x57bf54){const {startOffset:_0x2784f8,endOffset:_0xb0cd85,isActive:_0x45c346,rangeType:_0x43f307,segmentId:_0x36cf4d,segmentPage:_0x7e1a05}=_0x4ebaec;_0x55abb5[_0x4fb418(0x386)]&&(_0x55abb5+=','),_0x55abb5+=_0x2784f8+':'+_0xb0cd85+':'+(_0x45c346?'1':'0')+':'+_0x43f307+':'+_0x36cf4d+':'+_0x7e1a05;}return _0x55abb5;}function _0xed9895(_0x20ce09){const _0x1b4333=_0x12a2cc,_0x1560e6=_0x20ce09[_0x1b4333(0x333)](','),_0x5ede26=[];for(const _0x3b2284 of _0x1560e6){const [_0x225761,_0x128eff,_0x546a52,_0x29bb5c,_0x3dd432,_0x50233f]=_0x3b2284[_0x1b4333(0x333)](':');_0x5ede26[_0x1b4333(0x39d)]({'startOffset':Number(_0x225761),'endOffset':Number(_0x128eff),'collapsed':_0x225761===_0x128eff,'isActive':_0x546a52==='1','rangeType':_0x29bb5c===_0x5c9413[_0x1b4333(0x3d4)][_0x1b4333(0x25a)]?_0x5c9413[_0x1b4333(0x3d4)]['TEXT']:_0x5c9413[_0x1b4333(0x3d4)][_0x1b4333(0x321)],'segmentId':typeof _0x3dd432==_0x1b4333(0x3d8)?String(_0x3dd432):'','segmentPage':Number(_0x50233f!=null?_0x50233f:-0x1)});}return _0x5ede26[_0x1b4333(0x273)](_0x579809=>_0x579809[_0x1b4333(0x26d)])||(_0x5ede26[0x0][_0x1b4333(0x26d)]=!0x0),_0x5ede26;}class _0x43ae26 extends _0x5c9413[_0x12a2cc(0x435)]{constructor(){const _0x54e253=_0x12a2cc;super(...arguments),_0x1206b7(this,'_collabCursorState$',new _0x5c807f[(_0x54e253(0x3bb))](null)),_0x1206b7(this,_0x54e253(0x2b1),this[_0x54e253(0x24c)]['asObservable']());}['syncEditingCollabCursor'](_0x18a053){const _0x3f3d0b=_0x12a2cc,{unitID:_0x2f80b3,memberID:_0x1be441,textRanges:_0x336a6c}=_0x18a053,_0x23e488=_0x356069(_0x336a6c);if(_0x23e488==='')return;const _0x15a72b={'unitID':_0x2f80b3,'memberID':_0x1be441,'selection':_0x23e488};this[_0x3f3d0b(0x24c)][_0x3f3d0b(0x1eb)](_0x15a72b);}}var _0xb3778f=Object[_0x12a2cc(0x436)],_0x3b2df8=(_0x167bd5,_0x5b9a73,_0x1e9b53,_0x4e5e2a)=>{const _0x4e7ab1=_0x12a2cc;for(var _0x72416b=_0x4e5e2a>0x1?void 0x0:_0x4e5e2a?_0xb3778f(_0x5b9a73,_0x1e9b53):_0x5b9a73,_0x50c826=_0x167bd5[_0x4e7ab1(0x386)]-0x1,_0x41d372;_0x50c826>=0x0;_0x50c826--)(_0x41d372=_0x167bd5[_0x50c826])&&(_0x72416b=_0x41d372(_0x72416b)||_0x72416b);return _0x72416b;},_0x3a1690=(_0x11bbb3,_0x5e783f)=>(_0x1bb42d,_0x5c4150)=>_0x5e783f(_0x1bb42d,_0x5c4150,_0x11bbb3);const _0x4362ea=0x12c,_0x56a9f7=0x64;let _0x2b76d1=class extends _0x5c9413[_0x12a2cc(0x435)]{constructor(_0x246d2a,_0x1189ca,_0x41f9ce,_0x2b48a7,_0x28d50e,_0x42f48b,_0x48be0b,_0x2f5853,_0x4785ed){const _0x210f65=_0x12a2cc;super(),_0x1206b7(this,_0x210f65(0x214),!0x1),_0x1206b7(this,'_init',!0x1),_0x1206b7(this,'_cursorInfo$',new _0x5c807f[(_0x210f65(0x3bb))](new Map())),_0x1206b7(this,'cursorInfo$',this['_cursorInfo$'][_0x210f65(0x2f5)]()),_0x1206b7(this,_0x210f65(0x34f),new _0x5c807f[(_0x210f65(0x3bb))]([])),_0x1206b7(this,'roomMembers$',this[_0x210f65(0x34f)][_0x210f65(0x2af)](_0x5c807f['debounceTime'](_0x4362ea))),_0x1206b7(this,_0x210f65(0x40e),_0x5c9413[_0x210f65(0x47f)](_0x1906f6=>{const _0x3edadb=_0x210f65,_0x1bcc73={'eventID':_0x492d9e['CollaborationEvent'][_0x3edadb(0x313)],'data':{'unitID':this[_0x3edadb(0x2c8)],'memberID':this['_session'][_0x3edadb(0x477)](),'selection':_0x356069(_0x1906f6)}};this[_0x3edadb(0x27c)]['send'](_0x1bcc73,this[_0x3edadb(0x2c8)]);},_0x56a9f7)),(this[_0x210f65(0x2c8)]=_0x246d2a,this['_session']=_0x1189ca,this[_0x210f65(0x2fb)]=_0x41f9ce,this[_0x210f65(0x307)]=_0x2b48a7,this[_0x210f65(0x327)]=_0x28d50e,this[_0x210f65(0x23c)]=_0x42f48b,this[_0x210f65(0x270)]=_0x48be0b,this[_0x210f65(0x364)]=_0x2f5853,this[_0x210f65(0x2f2)]=_0x4785ed);}get[_0x12a2cc(0x452)](){const _0x5bc9cd=_0x12a2cc;return this[_0x5bc9cd(0x311)][_0x5bc9cd(0x29e)]();}get[_0x12a2cc(0x36d)](){const _0x464b36=_0x12a2cc;return this['_roomMembers$'][_0x464b36(0x29e)]();}[_0x12a2cc(0x2eb)](){const _0xafb7a5=_0x12a2cc;super[_0xafb7a5(0x2eb)](),this[_0xafb7a5(0x311)][_0xafb7a5(0x1eb)](new Map()),this[_0xafb7a5(0x311)][_0xafb7a5(0x37a)](),this['_roomMembers$'][_0xafb7a5(0x1eb)]([]),this[_0xafb7a5(0x34f)]['complete']();}[_0x12a2cc(0x222)](){const _0x348348=_0x12a2cc;this[_0x348348(0x47c)]||(this['_init']=!0x0,this[_0x348348(0x27c)][_0x348348(0x20c)][_0x348348(0x2af)](_0x5c807f[_0x348348(0x457)](this[_0x348348(0x291)]))[_0x348348(0x29f)](_0x3e6a69=>{const _0x15ad59=_0x348348;_0x3e6a69===_0x532bba[_0x15ad59(0x334)][_0x15ad59(0x294)]?this[_0x15ad59(0x402)]():this['_toggleOffline']();}),this[_0x348348(0x27c)][_0x348348(0x355)][_0x348348(0x2af)](_0x5c807f[_0x348348(0x457)](this[_0x348348(0x291)]))[_0x348348(0x29f)](_0x449278=>{const _0xc175f4=_0x348348,_0x3bdc3f=_0x449278['eventID'];_0x3bdc3f===_0x492d9e[_0xc175f4(0x336)][_0xc175f4(0x313)]&&this[_0xc175f4(0x20e)](_0x449278),_0x3bdc3f===_0x492d9e[_0xc175f4(0x336)][_0xc175f4(0x3fd)]&&this[_0xc175f4(0x2ca)](_0x449278);}),this[_0x348348(0x30f)](this[_0x348348(0x2f2)][_0x348348(0x2b0)](_0x1fd189=>{const _0x322f48=_0x348348,_0x3e70b4=_0x1fd189[_0x322f48(0x281)];_0x3e70b4!=null&&this['_online']&&_0x1fd189['id']===_0x39044d[_0x322f48(0x348)]['id']&&_0x3e70b4['unitId']===this[_0x322f48(0x2c8)]&&_0x3e70b4['isEditing']===!0x1&&_0x3e70b4[_0x322f48(0x1e6)][_0x322f48(0x386)]>0x0&&this[_0x322f48(0x40e)](_0x3e70b4[_0x322f48(0x1e6)]);})),this['_syncEditingCollabCursorService'][_0x348348(0x2b1)]['pipe'](_0x5c807f[_0x348348(0x457)](this[_0x348348(0x291)]))[_0x348348(0x29f)](_0x26e77e=>{const _0x42c5d4=_0x348348;if((_0x26e77e==null?void 0x0:_0x26e77e[_0x42c5d4(0x2c8)])!==this[_0x42c5d4(0x2c8)])return;const _0x4e1ea1={'eventID':_0x492d9e[_0x42c5d4(0x336)]['UPDATE_CURSOR'],'data':_0x26e77e};this[_0x42c5d4(0x20e)](_0x4e1ea1);}),this[_0x348348(0x30f)](this[_0x348348(0x2f2)]['onCommandExecuted'](_0x855a2d=>{const _0x568a5e=_0x348348;if(_0x855a2d['params']==null)return;const _0x449a37=_0x855a2d[_0x568a5e(0x281)];if(_0x855a2d['id']!==_0x39044d['RichTextEditingMutation']['id']||_0x449a37[_0x568a5e(0x330)]!==this[_0x568a5e(0x2c8)])return;const _0x36941c={'id':'doc.mutation.rich-text-editing','params':_0x449a37},_0x57d4b4=this['cursorInfo'];for(const [_0x45f464,_0x4b919d]of _0x57d4b4){const _0x3a76d9={'id':_0x568a5e(0x3a9),'params':{'unitId':this[_0x568a5e(0x2c8)],'actions':null,'textRanges':_0x4b919d[_0x568a5e(0x1e6)]}},_0x3b0760=this[_0x568a5e(0x270)][_0x568a5e(0x305)](_0x36941c,_0x3a76d9,!0x1);if(_0x492d9e[_0x568a5e(0x31b)](_0x3b0760))throw _0x3b0760[_0x568a5e(0x262)];_0x57d4b4['set'](_0x45f464,{..._0x4b919d,'ranges':_0x3b0760[_0x568a5e(0x3c9)][_0x568a5e(0x281)][_0x568a5e(0x280)]});}queueMicrotask(()=>{const _0x26d027=_0x568a5e;this[_0x26d027(0x311)]['next'](_0x57d4b4);});})));}[_0x12a2cc(0x20e)](_0x4f3596){const _0xe6ccf5=_0x12a2cc;var _0x326911,_0x142a84;const {memberID:_0x28cf51,selection:_0x13a6f2}=_0x4f3596[_0xe6ccf5(0x2ff)],_0x4c5fd1=_0xed9895(_0x13a6f2),_0x2f8b56=(_0x142a84=(_0x326911=this[_0xe6ccf5(0x327)]['getMember'](this[_0xe6ccf5(0x2c8)],_0x28cf51))==null?void 0x0:_0x326911['name'])!=null?_0x142a84:'Unknown\x20user',_0x7c5661={'color':this[_0xe6ccf5(0x307)][_0xe6ccf5(0x304)](_0x28cf51),'name':_0x2f8b56,'ranges':_0x4c5fd1},_0x3d2f27=this[_0xe6ccf5(0x452)];_0x3d2f27[_0xe6ccf5(0x2ee)](_0x28cf51,_0x7c5661),this[_0xe6ccf5(0x311)][_0xe6ccf5(0x1eb)](_0x3d2f27);}[_0x12a2cc(0x2ca)](_0x48dbc3){const _0x1f8c79=_0x12a2cc,{memberID:_0x7de29f}=_0x48dbc3[_0x1f8c79(0x2ff)],_0x536f5e=this[_0x1f8c79(0x452)];_0x536f5e['delete'](_0x7de29f),this[_0x1f8c79(0x311)][_0x1f8c79(0x1eb)](_0x536f5e);}['_toggleOnline'](){const _0x183290=_0x12a2cc;var _0x440fe3;if(this[_0x183290(0x214)]=!0x0,((_0x440fe3=this['_univerInstanceService']['getFocusedUnit']())==null?void 0x0:_0x440fe3[_0x183290(0x45f)]())!==this[_0x183290(0x2c8)])return;const _0x3bc9d4=this[_0x183290(0x2fb)][_0x183290(0x2f0)](_0x39044d['DocSelectionManagerService'])[_0x183290(0x2e0)]();Array[_0x183290(0x2c4)](_0x3bc9d4)&&_0x3bc9d4[_0x183290(0x386)]>0x0&&this[_0x183290(0x40e)](_0x3bc9d4);}[_0x12a2cc(0x35b)](){const _0x3d0d39=_0x12a2cc;this[_0x3d0d39(0x214)]=!0x1;}};_0x2b76d1=_0x3b2df8([_0x3a1690(0x2,_0x5c9413[_0x12a2cc(0x38c)](_0x5c9413[_0x12a2cc(0x414)])),_0x3a1690(0x3,_0x5c9413['Inject'](_0x581544)),_0x3a1690(0x4,_0x5c9413['Inject'](_0x532bba[_0x12a2cc(0x1f9)])),_0x3a1690(0x5,_0x5c9413[_0x12a2cc(0x38c)](_0x43ae26)),_0x3a1690(0x6,_0x492d9e['ITransformService']),_0x3a1690(0x7,_0x5c9413[_0x12a2cc(0x35d)]),_0x3a1690(0x8,_0x5c9413['ICommandService'])],_0x2b76d1);var _0x59592f=Object[_0x12a2cc(0x436)],_0x12a290=(_0x58f8df,_0xcdc03f,_0x4fcc54,_0x305e7e)=>{const _0x3125e2=_0x12a2cc;for(var _0x5d889f=_0x305e7e>0x1?void 0x0:_0x305e7e?_0x59592f(_0xcdc03f,_0x4fcc54):_0xcdc03f,_0x445e33=_0x58f8df[_0x3125e2(0x386)]-0x1,_0x5aae63;_0x445e33>=0x0;_0x445e33--)(_0x5aae63=_0x58f8df[_0x445e33])&&(_0x5d889f=_0x5aae63(_0x5d889f)||_0x5d889f);return _0x5d889f;},_0x52aae1=(_0x4cfa82,_0x258e49)=>(_0xbfd866,_0x161b33)=>_0x258e49(_0xbfd866,_0x161b33,_0x4cfa82);const _0x1669df=0x12c,_0x473ae1=0x64,_0x1948a3=()=>{let _0x170eeb=[],_0x1f1d24=!0x1;return _0x1aa1df=>{const _0x4b0508=_0x380c;_0x170eeb[_0x4b0508(0x39d)](_0x1aa1df),_0x1f1d24||(_0x1f1d24=!0x0,setTimeout(()=>{_0x170eeb['forEach'](_0x579148=>_0x579148()),_0x170eeb=[],_0x1f1d24=!0x1;}));};};let _0x105539=class extends _0x5c9413['RxDisposable']{constructor(_0x1aaa65,_0x39987c,_0x57b8ba,_0x5d46db,_0x12013a,_0x1ef3b0,_0x2c1e80,_0x27750a){const _0x27a944=_0x12a2cc;super(),_0x1206b7(this,_0x27a944(0x214),!0x1),_0x1206b7(this,_0x27a944(0x47c),!0x1),_0x1206b7(this,_0x27a944(0x311),new _0x5c807f[(_0x27a944(0x3bb))](new Map())),_0x1206b7(this,_0x27a944(0x2bc),this[_0x27a944(0x311)][_0x27a944(0x2f5)]()),_0x1206b7(this,_0x27a944(0x34f),new _0x5c807f['BehaviorSubject']([])),_0x1206b7(this,_0x27a944(0x1fe),this['_roomMembers$'][_0x27a944(0x2af)](_0x5c807f[_0x27a944(0x30b)](_0x1669df))),_0x1206b7(this,_0x27a944(0x40e),_0x5c9413[_0x27a944(0x47f)]((_0x543ddf,_0x29533e)=>{const _0x1c82e2=_0x27a944,_0x46a92e={'eventID':_0x492d9e['CollaborationEvent'][_0x1c82e2(0x313)],'data':{'unitID':this[_0x1c82e2(0x2c8)],'memberID':this['_session']['getMemberID'](),'selection':_0x56a760[_0x1c82e2(0x253)](_0x543ddf,_0x29533e[_0x1c82e2(0x33a)])}};this[_0x1c82e2(0x27c)]['send'](_0x46a92e,this[_0x1c82e2(0x2c8)]);},_0x473ae1)),(this[_0x27a944(0x2c8)]=_0x1aaa65,this[_0x27a944(0x27c)]=_0x39987c,this[_0x27a944(0x2fb)]=_0x57b8ba,this[_0x27a944(0x307)]=_0x5d46db,this[_0x27a944(0x327)]=_0x12013a,this[_0x27a944(0x364)]=_0x1ef3b0,this['_commandService']=_0x2c1e80,this[_0x27a944(0x21e)]=_0x27750a);}get[_0x12a2cc(0x452)](){const _0x261cab=_0x12a2cc;return this[_0x261cab(0x311)]['getValue']();}get[_0x12a2cc(0x36d)](){const _0x132164=_0x12a2cc;return this[_0x132164(0x34f)]['getValue']();}['dispose'](){const _0x3362b9=_0x12a2cc;super['dispose'](),this[_0x3362b9(0x311)][_0x3362b9(0x1eb)](new Map()),this[_0x3362b9(0x311)][_0x3362b9(0x37a)](),this['_roomMembers$'][_0x3362b9(0x1eb)]([]),this[_0x3362b9(0x34f)][_0x3362b9(0x37a)]();}[_0x12a2cc(0x222)](){const _0x3021fe=_0x12a2cc;this['_init']||(this[_0x3021fe(0x47c)]=!0x0,this['_session'][_0x3021fe(0x20c)]['pipe'](_0x5c807f['takeUntil'](this['dispose$']))[_0x3021fe(0x29f)](_0x1f2d8e=>{const _0xb183fc=_0x3021fe;_0x1f2d8e===_0x532bba['SessionStatus']['ONLINE']?this[_0xb183fc(0x402)]():this[_0xb183fc(0x35b)]();}),this['_session'][_0x3021fe(0x355)][_0x3021fe(0x2af)](_0x5c807f[_0x3021fe(0x457)](this[_0x3021fe(0x291)]))[_0x3021fe(0x29f)](_0x10e904=>{const _0x3d0355=_0x3021fe,_0x5c725b=_0x10e904['eventID'];_0x5c725b===_0x492d9e['CollaborationEvent'][_0x3d0355(0x313)]&&this[_0x3d0355(0x20e)](_0x10e904),_0x5c725b===_0x492d9e['CollaborationEvent']['USERS_LEAVE']&&this[_0x3d0355(0x2ca)](_0x10e904);}),this[_0x3021fe(0x341)](),this['disposeWithMe'](this[_0x3021fe(0x2f2)]['onCommandExecuted'](_0x5007e9=>{const _0x37eac1=_0x3021fe;if(this['_online']&&_0x5007e9['id']===_0x333a7c[_0x37eac1(0x2f4)]['id']&&_0x5007e9[_0x37eac1(0x281)][_0x37eac1(0x330)]===this[_0x37eac1(0x2c8)]){const _0xd365f5=_0x5007e9['params'];this[_0x37eac1(0x40e)](_0xd365f5[_0x37eac1(0x2a3)],_0xd365f5['selections'][0x0]);}})));}[_0x12a2cc(0x20e)](_0xe678d6){const _0x1d54c5=_0x12a2cc;var _0x3db30a,_0x1a738c;const {memberID:_0x7d52da,selection:_0x208bf3}=_0xe678d6['data'],{sheetName:_0x1a8770,range:_0xc3fcc0}=_0x56a760['deserializeRangeWithSheet'](_0x208bf3),_0x41de9a={'name':(_0x1a738c=(_0x3db30a=this[_0x1d54c5(0x327)][_0x1d54c5(0x2d1)](this['unitID'],_0x7d52da))==null?void 0x0:_0x3db30a[_0x1d54c5(0x3c4)])!=null?_0x1a738c:_0x1d54c5(0x268),'range':this[_0x1d54c5(0x398)](_0x1a8770,_0xc3fcc0),'sheetID':_0x1a8770,'color':this[_0x1d54c5(0x307)][_0x1d54c5(0x304)](_0x7d52da),'selection':_0x208bf3},_0x2a1d9a=this['cursorInfo'];_0x2a1d9a[_0x1d54c5(0x2ee)](_0x7d52da,_0x41de9a),this['_cursorInfo$'][_0x1d54c5(0x1eb)](_0x2a1d9a);}[_0x12a2cc(0x2ca)](_0x584616){const _0x4340d1=_0x12a2cc,{memberID:_0x188ac8}=_0x584616[_0x4340d1(0x2ff)],_0x2c63b5=this[_0x4340d1(0x452)];_0x2c63b5[_0x4340d1(0x1f6)](_0x188ac8),this[_0x4340d1(0x311)][_0x4340d1(0x1eb)](_0x2c63b5);}['_getMergeRange'](_0x2b9f2a,_0x4f9306){const _0x16b116=_0x12a2cc;var _0x1ea0e6,_0x827bfe;const _0xb49173=(_0x827bfe=(_0x1ea0e6=this[_0x16b116(0x364)]['getUniverSheetInstance'](this[_0x16b116(0x2c8)]))==null?void 0x0:_0x1ea0e6[_0x16b116(0x30c)](_0x2b9f2a))==null?void 0x0:_0x827bfe['getMergeData']();return(_0xb49173==null?void 0x0:_0xb49173['find'](_0x3123a2=>_0x5c9413['Rectangle']['contains'](_0x3123a2,_0x4f9306)))||_0x4f9306;}[_0x12a2cc(0x341)](){const _0x5ca1f4=_0x12a2cc,_0x220188=new _0x5c9413[(_0x5ca1f4(0x213))](),_0x1459a9=_0x1948a3(),_0x391d03=()=>{const _0x3d1196=_0x5ca1f4;_0x220188[_0x3d1196(0x2eb)]();const _0x273cb0=(_0x473c7d,_0x45586a,_0x25344c,_0x5adc84)=>{const _0x35ef99=_0x3d1196;let _0x49a411=[];switch(_0x473c7d['id']){case _0x333a7c['EffectRefRangId'][_0x35ef99(0x396)]:{_0x49a411=_0x333a7c[_0x35ef99(0x3bc)](_0x473c7d,_0x5adc84);break;}case _0x333a7c[_0x35ef99(0x3fc)][_0x35ef99(0x359)]:{_0x49a411=_0x333a7c['handleDeleteRangeMoveUp'](_0x473c7d,_0x5adc84);break;}case _0x333a7c[_0x35ef99(0x3fc)]['InsertColCommandId']:{_0x49a411=_0x333a7c[_0x35ef99(0x298)](_0x473c7d,_0x5adc84);break;}case _0x333a7c[_0x35ef99(0x3fc)][_0x35ef99(0x2ec)]:{_0x49a411=_0x333a7c[_0x35ef99(0x21a)](_0x473c7d,_0x5adc84);break;}case _0x333a7c[_0x35ef99(0x3fc)][_0x35ef99(0x3d2)]:{_0x49a411=_0x333a7c[_0x35ef99(0x27d)](_0x473c7d,_0x5adc84);break;}case _0x333a7c['EffectRefRangId'][_0x35ef99(0x250)]:{_0x49a411=_0x333a7c[_0x35ef99(0x1fd)](_0x473c7d,_0x5adc84);break;}case _0x333a7c[_0x35ef99(0x3fc)][_0x35ef99(0x2c2)]:{_0x49a411=_0x333a7c[_0x35ef99(0x432)](_0x473c7d,_0x5adc84);break;}case _0x333a7c['EffectRefRangId'][_0x35ef99(0x397)]:{_0x49a411=_0x333a7c[_0x35ef99(0x37b)](_0x473c7d,_0x5adc84);break;}case _0x333a7c['EffectRefRangId'][_0x35ef99(0x3de)]:{_0x49a411=_0x333a7c['handleIRemoveRow'](_0x473c7d,_0x5adc84);break;}}const _0x3316e8=_0x333a7c[_0x35ef99(0x219)](_0x49a411,_0x5adc84),_0x5037bb=this[_0x35ef99(0x452)][_0x35ef99(0x2f0)](_0x45586a);if(_0x5037bb&&_0x3316e8){const _0xdcf26c={..._0x5037bb,'range':_0x3316e8};this['cursorInfo'][_0x35ef99(0x2ee)](_0x45586a,_0xdcf26c),_0x1459a9(()=>{const _0x1aef7b=_0x35ef99,_0x1bd54d=this['_refRangeService']['registerRefRange'](_0x3316e8,_0x2fb6a4=>(_0x1bd54d[_0x1aef7b(0x2eb)](),_0x273cb0(_0x2fb6a4,_0x45586a,_0x25344c,_0x3316e8)));_0x220188['add'](_0x1bd54d);});}return{'redos':[],'undos':[]};};this[_0x3d1196(0x452)]['forEach']((_0x184737,_0x11a930)=>{const _0x10cf33=_0x3d1196,{range:_0x4995e6,sheetID:_0x282986}=_0x184737,_0x4ed37d=this[_0x10cf33(0x21e)][_0x10cf33(0x419)](_0x4995e6,_0x7b44fc=>(_0x4ed37d['dispose'](),_0x273cb0(_0x7b44fc,_0x11a930,_0x282986,_0x4995e6)));_0x220188[_0x10cf33(0x209)](_0x4ed37d);});};this[_0x5ca1f4(0x30f)](_0x5c9413[_0x5ca1f4(0x3e0)](this[_0x5ca1f4(0x311)][_0x5ca1f4(0x29f)](()=>{_0x391d03();})));}['_toggleOnline'](){const _0x2128d6=_0x12a2cc;var _0x311b08,_0x99bd97;if(this[_0x2128d6(0x214)]=!0x0,((_0x311b08=this[_0x2128d6(0x364)][_0x2128d6(0x3a3)]())==null?void 0x0:_0x311b08[_0x2128d6(0x45f)]())!==this[_0x2128d6(0x2c8)])return;const _0xfafd37=(_0x99bd97=this[_0x2128d6(0x2fb)][_0x2128d6(0x2f0)](_0x333a7c[_0x2128d6(0x46f)])['getCurrentSelections']())==null?void 0x0:_0x99bd97[0x0],_0x347886=this[_0x2128d6(0x364)][_0x2128d6(0x2f3)](_0x5c9413[_0x2128d6(0x2be)][_0x2128d6(0x3ea)])[_0x2128d6(0x27a)]();_0xfafd37&&_0x347886&&this[_0x2128d6(0x40e)](_0x347886[_0x2128d6(0x3ad)](),_0xfafd37);}[_0x12a2cc(0x35b)](){const _0x356c3b=_0x12a2cc;this[_0x356c3b(0x214)]=!0x1;}};_0x105539=_0x12a290([_0x52aae1(0x2,_0x5c9413[_0x12a2cc(0x38c)](_0x5c9413[_0x12a2cc(0x414)])),_0x52aae1(0x3,_0x5c9413[_0x12a2cc(0x38c)](_0x581544)),_0x52aae1(0x4,_0x5c9413[_0x12a2cc(0x38c)](_0x532bba[_0x12a2cc(0x1f9)])),_0x52aae1(0x5,_0x5c9413[_0x12a2cc(0x35d)]),_0x52aae1(0x6,_0x5c9413[_0x12a2cc(0x3a8)]),_0x52aae1(0x7,_0x5c9413['Inject'](_0x333a7c['RefRangeService']))],_0x105539);var _0x1102b2=Object[_0x12a2cc(0x436)],_0x5493ee=(_0x4a1ef0,_0x181960,_0x3323f9,_0x5732d8)=>{const _0x3d53e9=_0x12a2cc;for(var _0x1f4153=_0x5732d8>0x1?void 0x0:_0x5732d8?_0x1102b2(_0x181960,_0x3323f9):_0x181960,_0x29faf4=_0x4a1ef0[_0x3d53e9(0x386)]-0x1,_0x394496;_0x29faf4>=0x0;_0x29faf4--)(_0x394496=_0x4a1ef0[_0x29faf4])&&(_0x1f4153=_0x394496(_0x1f4153)||_0x1f4153);return _0x1f4153;},_0x51f023=(_0x227f8f,_0x2d4670)=>(_0x3ef061,_0x558593)=>_0x2d4670(_0x3ef061,_0x558593,_0x227f8f);let _0x44788c=class extends _0x5c9413[_0x12a2cc(0x435)]{constructor(_0x26a447,_0x29266b,_0x5e8fb9){const _0x47579e=_0x12a2cc;super(),_0x1206b7(this,'_entities',new Map()),_0x1206b7(this,'_entityInit$',new _0x5c807f['Subject']()),(this[_0x47579e(0x364)]=_0x26a447,this[_0x47579e(0x2fb)]=_0x29266b,this['_collabSessionService']=_0x5e8fb9,this[_0x47579e(0x47c)]());}['dispose'](){const _0x104df6=_0x12a2cc;super[_0x104df6(0x2eb)](),this['_entityInit$'][_0x104df6(0x37a)](),this[_0x104df6(0x23b)]['forEach'](_0x1ffb0d=>_0x1ffb0d[_0x104df6(0x2eb)]());}['getCollabCursors$'](_0x54b99f){const _0x20ee59=_0x12a2cc;return this[_0x20ee59(0x23b)][_0x20ee59(0x3f7)](_0x54b99f)?this[_0x20ee59(0x23b)][_0x20ee59(0x2f0)](_0x54b99f)[_0x20ee59(0x2bc)]:this[_0x20ee59(0x292)][_0x20ee59(0x2af)](_0x5c807f[_0x20ee59(0x33c)](_0x5c40e2=>_0x5c40e2['unitID']===_0x54b99f),_0x5c807f[_0x20ee59(0x24a)](_0x541d00=>_0x541d00[_0x20ee59(0x2bc)]));}[_0x12a2cc(0x47c)](){const _0x2faec9=_0x12a2cc;this[_0x2faec9(0x364)][_0x2faec9(0x3a4)](_0x5c9413[_0x2faec9(0x2be)][_0x2faec9(0x3ea)])['pipe'](_0x5c807f[_0x2faec9(0x457)](this['dispose$']))[_0x2faec9(0x29f)](async _0x2c0bc8=>{const _0x911440=_0x2faec9,_0x117771=_0x2c0bc8[_0x911440(0x45f)](),_0x221fbd=await this[_0x911440(0x3d9)](_0x117771);this[_0x911440(0x292)][_0x911440(0x1eb)](_0x221fbd),this[_0x911440(0x23b)]['set'](_0x117771,_0x221fbd);}),this[_0x2faec9(0x364)][_0x2faec9(0x3a4)](_0x5c9413[_0x2faec9(0x2be)][_0x2faec9(0x43d)])[_0x2faec9(0x2af)](_0x5c807f[_0x2faec9(0x457)](this[_0x2faec9(0x291)]))['pipe'](_0x5c807f[_0x2faec9(0x33c)](_0x374443=>!_0x374443[_0x2faec9(0x45f)]()['startsWith']('__')))[_0x2faec9(0x29f)](async _0x215b7f=>{const _0x2a809b=_0x2faec9,_0x22c520=_0x215b7f[_0x2a809b(0x45f)](),_0x84e0b2=await this['_startDocCollabCursor'](_0x22c520);this[_0x2a809b(0x292)][_0x2a809b(0x1eb)](_0x84e0b2),this[_0x2a809b(0x23b)][_0x2a809b(0x2ee)](_0x22c520,_0x84e0b2);}),_0x5c807f[_0x2faec9(0x22b)](this['_univerInstanceService'][_0x2faec9(0x344)](_0x5c9413['UniverInstanceType'][_0x2faec9(0x43d)]),this[_0x2faec9(0x364)][_0x2faec9(0x344)](_0x5c9413[_0x2faec9(0x2be)][_0x2faec9(0x3ea)]))[_0x2faec9(0x2af)](_0x5c807f[_0x2faec9(0x457)](this[_0x2faec9(0x291)]))[_0x2faec9(0x29f)](_0x5a0c15=>{const _0x102928=_0x2faec9,_0x515ec6=_0x5a0c15[_0x102928(0x45f)](),_0x4b72f1=this[_0x102928(0x23b)][_0x102928(0x2f0)](_0x515ec6);_0x4b72f1&&(_0x4b72f1['dispose'](),this[_0x102928(0x23b)][_0x102928(0x1f6)](_0x515ec6));});}async['_startSheetCollabCursor'](_0x5db0fc){const _0x29e54c=_0x12a2cc,_0x4e51da=await this[_0x29e54c(0x3f2)][_0x29e54c(0x2c9)](_0x5db0fc),_0x485a27=this[_0x29e54c(0x2fb)][_0x29e54c(0x2da)](_0x105539,_0x5db0fc,_0x4e51da);return _0x485a27[_0x29e54c(0x222)](),_0x485a27;}async[_0x12a2cc(0x481)](_0x199029){const _0x57f57c=_0x12a2cc,_0x9e2c2b=await this['_collabSessionService'][_0x57f57c(0x2c9)](_0x199029),_0x1c35cc=this[_0x57f57c(0x2fb)][_0x57f57c(0x2da)](_0x2b76d1,_0x199029,_0x9e2c2b);return _0x1c35cc['init'](),_0x1c35cc;}};_0x44788c=_0x5493ee([_0x51f023(0x0,_0x5c9413[_0x12a2cc(0x35d)]),_0x51f023(0x1,_0x5c9413['Inject'](_0x5c9413[_0x12a2cc(0x414)])),_0x51f023(0x2,_0x5c9413[_0x12a2cc(0x38c)](_0x532bba['CollaborationSessionService']))],_0x44788c);const _0x5db9ce=0x14,_0x1d05be=0xc8,_0x32d228=0x4,_0x5a4b4d=0x5;function _0x1396d8(_0x42188d,_0x1d4e9c){const _0x23be9a=_0x12a2cc;let {radius:_0x415a72,width:_0x3e6504,height:_0x54745d}=_0x1d4e9c;_0x415a72=_0x415a72!=null?_0x415a72:0x0,_0x3e6504=_0x3e6504!=null?_0x3e6504:0x1e,_0x54745d=_0x54745d!=null?_0x54745d:0x1e;let _0x484329=0x0,_0x210641=0x0,_0x3da12d=0x0;_0x484329=_0x210641=_0x3da12d=Math[_0x23be9a(0x2ef)](_0x415a72,_0x3e6504/0x2,_0x54745d/0x2),_0x42188d[_0x23be9a(0x289)](),_0x42188d[_0x23be9a(0x3e1)](_0x484329,0x0),_0x42188d['lineTo'](_0x3e6504-_0x210641,0x0),_0x42188d[_0x23be9a(0x1f4)](_0x3e6504-_0x210641,_0x210641,_0x210641,Math['PI']*0x3/0x2,0x0,!0x1),_0x42188d['lineTo'](_0x3e6504,_0x54745d-_0x3da12d),_0x42188d[_0x23be9a(0x1f4)](_0x3e6504-_0x3da12d,_0x54745d-_0x3da12d,_0x3da12d,0x0,Math['PI']/0x2,!0x1),_0x42188d[_0x23be9a(0x426)](0x0,_0x54745d),_0x42188d[_0x23be9a(0x426)](0x0,_0x484329),_0x42188d[_0x23be9a(0x1f4)](_0x484329,_0x484329,_0x484329,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x42188d[_0x23be9a(0x412)](),_0x1d4e9c['fill']&&(_0x42188d[_0x23be9a(0x442)](),_0x42188d['fillStyle']=_0x1d4e9c[_0x23be9a(0x265)],_0x1d4e9c[_0x23be9a(0x1e8)]===_0x23be9a(0x384)?_0x42188d['fill'](_0x23be9a(0x384)):_0x42188d[_0x23be9a(0x265)](),_0x42188d[_0x23be9a(0x259)]());}class _0x3f6afd extends _0x1f04f6[_0x12a2cc(0x40c)]{constructor(_0x23b201,_0x517793){const _0x2b5ff5=_0x12a2cc;super(_0x23b201,_0x517793),_0x1206b7(this,_0x2b5ff5(0x302)),_0x1206b7(this,'text'),(this[_0x2b5ff5(0x302)]=_0x517793==null?void 0x0:_0x517793[_0x2b5ff5(0x302)],this[_0x2b5ff5(0x206)]=_0x517793==null?void 0x0:_0x517793['text']);}static[_0x12a2cc(0x439)](_0x339b05,_0x74edeb){const _0x268eab=_0x12a2cc,{text:_0x2e4a59,color:_0x39cf35}=_0x74edeb;_0x339b05[_0x268eab(0x442)](),_0x339b05['font']='bold\x2013px\x20Source\x20Han\x20Sans\x20CN';const _0x50f671=_0x339b05[_0x268eab(0x3f9)](_0x2e4a59)[_0x268eab(0x456)],_0x370a4b=Math[_0x268eab(0x2ef)](_0x50f671+0x2*_0x32d228,_0x1d05be);_0x1396d8(_0x339b05,{'height':_0x5db9ce,'radius':0x4,'width':_0x370a4b,'fill':_0x39cf35}),_0x339b05[_0x268eab(0x210)]=_0x268eab(0x20b);const _0xd6530a=_0x32d228,_0x2e2b21=_0x5db9ce-_0x5a4b4d,_0x14f059=_0x1d05be-0x2*_0x32d228;if(_0x50f671>_0x14f059){let _0x4bf845='',_0x1713f3=0x0;for(const _0x5e1ac1 of _0x2e4a59){const _0x409690=_0x339b05['measureText'](_0x5e1ac1)[_0x268eab(0x456)];if(_0x1713f3+_0x409690<=_0x14f059-_0x339b05[_0x268eab(0x3f9)](_0x268eab(0x35c))[_0x268eab(0x456)])_0x4bf845+=_0x5e1ac1,_0x1713f3+=_0x409690;else{_0x4bf845+=_0x268eab(0x35c);break;}}_0x339b05[_0x268eab(0x2d8)](_0x4bf845,_0xd6530a,_0x2e2b21);}else _0x339b05[_0x268eab(0x2d8)](_0x2e4a59,_0xd6530a,_0x2e2b21);_0x339b05['restore']();}[_0x12a2cc(0x26f)](_0x146cdc){const _0x51267b=_0x12a2cc;_0x3f6afd[_0x51267b(0x439)](_0x146cdc,this);}}const _0x3f35b5=_0x12a2cc(0x317),_0x43edbd=_0x12a2cc(0x1f8),_0x4bfa7a=_0x12a2cc(0x411),_0x592f0f=0x6,_0x32650e=1.5,_0x20120d=0x4,_0x25b43a=1.5,_0x19f94e=_0x12a2cc(0x3f5);class _0x12672f{constructor(_0x298dd3,_0x3c4055,_0x5967a9,_0x19131c){const _0x599fb4=_0x12a2cc;_0x1206b7(this,_0x599fb4(0x3e7),[]),_0x1206b7(this,'_anchor',null),_0x1206b7(this,_0x599fb4(0x3ec),null),_0x1206b7(this,_0x599fb4(0x228),null),_0x1206b7(this,'_hideTimer',null),_0x1206b7(this,_0x599fb4(0x26c),null),(this[_0x599fb4(0x301)]=_0x298dd3,this[_0x599fb4(0x38e)]=_0x3c4055,this['_docSkeleton']=_0x5967a9,this[_0x599fb4(0x362)]=_0x19131c,this['_render']());}set[_0x12a2cc(0x3a7)](_0x5a0464){const _0x3c4e0b=_0x12a2cc;_0x5a0464?(this[_0x3c4e0b(0x228)]&&this[_0x3c4e0b(0x228)][_0x3c4e0b(0x430)](),this[_0x3c4e0b(0x3ec)]&&this[_0x3c4e0b(0x3ec)][_0x3c4e0b(0x36b)]()):(this[_0x3c4e0b(0x228)]&&this[_0x3c4e0b(0x228)][_0x3c4e0b(0x36b)](),this[_0x3c4e0b(0x3ec)]&&this[_0x3c4e0b(0x3ec)][_0x3c4e0b(0x430)]());}['dispose'](){const _0x416628=_0x12a2cc;for(const _0x31a300 of this[_0x416628(0x3e7)])_0x31a300[_0x416628(0x2eb)]();this[_0x416628(0x3ec)]&&this[_0x416628(0x3ec)]['dispose'](),this[_0x416628(0x228)]&&this[_0x416628(0x228)][_0x416628(0x2eb)](),this[_0x416628(0x352)]&&this[_0x416628(0x352)][_0x416628(0x2eb)](),this[_0x416628(0x26c)]&&this[_0x416628(0x26c)]();}[_0x12a2cc(0x1f2)](){const _0x3d5c34=_0x12a2cc;var _0x4c555d;const {_docSkeleton:_0x489f08,_document:_0x506a5d}=this,{color:_0x538481,name:_0x4cdf18,ranges:_0x44640b}=this[_0x3d5c34(0x301)],_0x45b1d1=_0x506a5d[_0x3d5c34(0x324)](),{docsLeft:_0x1f8030,docsTop:_0x170c98}=_0x45b1d1,_0x58417b=new _0x2f8870[(_0x3d5c34(0x207))](_0x45b1d1,_0x489f08);for(const {startOffset:_0x24675e,endOffset:_0x291234,rangeType:_0x20a188,segmentId:_0x29675b,segmentPage:_0x24aee9,collapsed:_0x365b41,isActive:_0x187c21}of _0x44640b){const _0x5656d7=_0x489f08[_0x3d5c34(0x454)](_0x24675e,!0x0,_0x29675b,_0x24aee9);let _0xb113cb=_0x489f08['findNodePositionByCharIndex'](_0x291234,!0x0,_0x29675b,_0x24aee9);if(_0xb113cb==null&&(_0xb113cb=_0x489f08['findNodePositionByCharIndex'](_0x291234-0x1,!0x1,_0x29675b,_0x24aee9)),_0x187c21){const {contentBoxPointGroup:_0x4b0ecc}=_0x58417b[_0x3d5c34(0x45d)](_0xb113cb,_0xb113cb);if(_0x4b0ecc[_0x3d5c34(0x386)]===0x0)continue;this[_0x3d5c34(0x21d)](_0x538481,_0x4b0ecc,_0x1f8030,_0x170c98,_0x4cdf18),this[_0x3d5c34(0x26c)]=this[_0x3d5c34(0x28b)]();}if(_0x5656d7&&_0xb113cb){if(_0x20a188===_0x5c9413[_0x3d5c34(0x3d4)]['RECT']){const _0x2cad33=new _0x2f8870['NodePositionConvertToRectRange'](_0x45b1d1,_0x489f08),{pointGroup:_0x309fef}=(_0x4c555d=_0x2cad33[_0x3d5c34(0x45d)](_0x5656d7,_0xb113cb))!=null?_0x4c555d:{};if(_0x309fef==null||_0x309fef[_0x3d5c34(0x386)]===0x0)continue;this['_drawRectRange'](_0x538481,_0x309fef,_0x1f8030,_0x170c98);}else{if(!_0x365b41){const {borderBoxPointGroup:_0x275e9f}=_0x58417b[_0x3d5c34(0x45d)](_0x5656d7,_0xb113cb);if(_0x275e9f[_0x3d5c34(0x386)]===0x0)continue;this['_drawTextRange'](_0x538481,_0x275e9f,_0x1f8030,_0x170c98);}}}}}[_0x12a2cc(0x21d)](_0x1af379,_0x3212c7,_0x2de407,_0x19dd30,_0x189453){const _0x2e6b97=_0x12a2cc,_0x406a3e=this[_0x2e6b97(0x2b7)](_0x3212c7),{left:_0x2ec6ac,top:_0x15f7e0,height:_0x28be21}=_0x406a3e,_0x5522ad=this[_0x2e6b97(0x31f)](),_0x4e69ed=_0x25b43a/_0x5522ad,_0x340589=new _0x1f04f6[(_0x2e6b97(0x331))](_0x3f35b5+_0x5c9413['Tools'][_0x2e6b97(0x34a)](_0x592f0f),{'left':_0x2ec6ac+_0x2de407-_0x4e69ed,'top':_0x15f7e0+_0x19dd30,'height':_0x28be21,'width':_0x32650e,'fill':_0x1af379||_0x1f04f6[_0x2e6b97(0x23f)](_0x5c9413['COLORS']['black'],0x0),'strokeWidth':_0x4e69ed,'stroke':_0x19f94e,'evented':!0x0});this[_0x2e6b97(0x352)]=_0x340589,this['_scene'][_0x2e6b97(0x468)](_0x340589,_0x2f8870[_0x2e6b97(0x46e)]);const _0x5eb304=new _0x1f04f6[(_0x2e6b97(0x331))](_0x3f35b5+_0x5c9413[_0x2e6b97(0x21f)][_0x2e6b97(0x34a)](_0x592f0f),{'left':_0x2ec6ac+_0x2de407-_0x4e69ed,'top':_0x15f7e0+_0x19dd30-_0x20120d/0x2,'height':_0x20120d,'width':_0x20120d,'fill':_0x1af379||_0x1f04f6['getColor'](_0x5c9413[_0x2e6b97(0x3b8)]['black'],0x0),'strokeWidth':0x0,'stroke':_0x1af379||_0x1f04f6[_0x2e6b97(0x23f)](_0x5c9413[_0x2e6b97(0x3b8)][_0x2e6b97(0x416)],0x0),'evented':!0x1});this[_0x2e6b97(0x228)]=_0x5eb304,this[_0x2e6b97(0x38e)][_0x2e6b97(0x468)](_0x5eb304,_0x2f8870[_0x2e6b97(0x46e)]);const _0xc47b45=new _0x3f6afd(_0x3f35b5+_0x5c9413[_0x2e6b97(0x21f)][_0x2e6b97(0x34a)](_0x592f0f),{'left':_0x2ec6ac+_0x2de407-_0x4e69ed,'top':_0x15f7e0+_0x19dd30-_0x5db9ce,'text':_0x189453,'color':_0x1af379});this['_textBubble']=_0xc47b45,this[_0x2e6b97(0x38e)][_0x2e6b97(0x468)](_0xc47b45,_0x2f8870['TEXT_RANGE_LAYER_INDEX']),this[_0x2e6b97(0x3a7)]=!0x1;}['_handleHover'](){const _0x244071=_0x12a2cc,_0x470276=this[_0x244071(0x352)]['onPointerEnter$'][_0x244071(0x256)](()=>{const _0x528a3b=_0x244071;this[_0x528a3b(0x3a7)]=!0x0;}),_0x31d7f0=this[_0x244071(0x352)][_0x244071(0x2f9)]['subscribeEvent'](()=>{const _0x5b9c04=_0x244071;this[_0x5b9c04(0x40d)]&&clearTimeout(this[_0x5b9c04(0x40d)]),this[_0x5b9c04(0x40d)]=setTimeout(()=>{const _0x2ddd97=_0x5b9c04;this[_0x2ddd97(0x3a7)]=!0x1;},0x7d0);});return()=>{const _0x10bb70=_0x244071;_0x470276[_0x10bb70(0x382)](),_0x31d7f0['unsubscribe']();};}[_0x12a2cc(0x2a7)](_0xa4fdd9,_0x2718d5,_0xb1fdb0,_0x2bdd4d){const _0x38f6e6=_0x12a2cc,_0x535de8=new _0x5c9413[(_0x38f6e6(0x3c6))](_0xa4fdd9)[_0x38f6e6(0x36a)](0.2)[_0x38f6e6(0x266)](),_0xf2fe2f=new _0x1f04f6['RegularPolygon'](_0x43edbd+_0x5c9413['Tools'][_0x38f6e6(0x34a)](_0x592f0f),{'pointsGroup':_0x2718d5,'fill':_0x535de8||_0x1f04f6[_0x38f6e6(0x23f)](_0x5c9413['COLORS'][_0x38f6e6(0x416)],0.2),'left':_0xb1fdb0,'top':_0x2bdd4d,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x38f6e6(0x3e7)][_0x38f6e6(0x39d)](_0xf2fe2f),this[_0x38f6e6(0x38e)][_0x38f6e6(0x468)](_0xf2fe2f,_0x2f8870[_0x38f6e6(0x46e)]);}[_0x12a2cc(0x422)](_0x3ef4c9,_0x211640,_0x1b8bb5,_0x22260d){const _0x24f844=_0x12a2cc,_0x49833e=new _0x5c9413[(_0x24f844(0x3c6))](_0x3ef4c9)[_0x24f844(0x36a)](0.2)[_0x24f844(0x266)](),_0x569359=new _0x1f04f6[(_0x24f844(0x2ea))](_0x4bfa7a+_0x5c9413[_0x24f844(0x21f)][_0x24f844(0x34a)](_0x592f0f),{'pointsGroup':_0x211640,'fill':_0x49833e||_0x1f04f6[_0x24f844(0x23f)](_0x5c9413['COLORS'][_0x24f844(0x416)],0.2),'left':_0x1b8bb5,'top':_0x22260d,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x24f844(0x3e7)]['push'](_0x569359),this['_scene']['addObject'](_0x569359,_0x2f8870[_0x24f844(0x46e)]);}[_0x12a2cc(0x2b7)](_0x4ac062){const _0x4934a2=_0x4ac062[0x0],_0x1e4929=_0x4934a2[0x0],_0x44e025=_0x4934a2[0x2],{x:_0x44771d,y:_0x4c0307}=_0x1e4929,{x:_0x3854c3,y:_0x430a2f}=_0x44e025;return{'left':_0x44771d,'top':_0x4c0307,'width':_0x3854c3-_0x44771d,'height':_0x430a2f-_0x4c0307};}['_getScale'](){const _0x2fd9fb=_0x12a2cc,{scaleX:_0x495ffc,scaleY:_0x53b7a7}=this[_0x2fd9fb(0x38e)]['getAncestorScale']();return Math[_0x2fd9fb(0x41d)](_0x495ffc,_0x53b7a7);}}var _0x49ee8e=Object['getOwnPropertyDescriptor'],_0x1c3fd3=(_0x3a8250,_0x208c0f,_0x869b3,_0x54c584)=>{const _0x522b39=_0x12a2cc;for(var _0x267ed3=_0x54c584>0x1?void 0x0:_0x54c584?_0x49ee8e(_0x208c0f,_0x869b3):_0x208c0f,_0x5bf8d2=_0x3a8250[_0x522b39(0x386)]-0x1,_0x1db3b4;_0x5bf8d2>=0x0;_0x5bf8d2--)(_0x1db3b4=_0x3a8250[_0x5bf8d2])&&(_0x267ed3=_0x1db3b4(_0x267ed3)||_0x267ed3);return _0x267ed3;},_0x47c4dc=(_0x33db23,_0x8bedc1)=>(_0x531249,_0x1bbf8f)=>_0x8bedc1(_0x531249,_0x1bbf8f,_0x33db23);let _0x1f01a9=class extends _0x5c9413[_0x12a2cc(0x435)]{constructor(_0x2dad57,_0x6e7e15,_0xb9f979,_0x4e5154,_0x535393){const _0x2f9d72=_0x12a2cc;super(),_0x1206b7(this,'_cursorShapes',[]),_0x1206b7(this,_0x2f9d72(0x22c),[]),(this[_0x2f9d72(0x365)]=_0x2dad57,this[_0x2f9d72(0x44b)]=_0x6e7e15,this[_0x2f9d72(0x453)]=_0xb9f979,this['_commandService']=_0x4e5154,this[_0x2f9d72(0x297)]=_0x535393,this[_0x2f9d72(0x47c)]());}[_0x12a2cc(0x47c)](){const _0x43aea2=_0x12a2cc,_0x44bbe0=this[_0x43aea2(0x365)][_0x43aea2(0x330)],_0x5c4d6b=this['_docSkeletonManagerService'];this[_0x43aea2(0x30f)](_0x5c807f[_0x43aea2(0x27e)]([this['_collabCursorController'][_0x43aea2(0x21b)](_0x44bbe0),this[_0x43aea2(0x297)][_0x43aea2(0x286)]])['pipe'](_0x44133d[_0x43aea2(0x371)](([_0x101966,_0x33ab11])=>({'skeleton':_0x5c4d6b[_0x43aea2(0x309)](),'cursors':[..._0x101966[_0x43aea2(0x1f5)]()][_0x43aea2(0x25d)](_0x5369bd=>({..._0x5369bd,'color':this[_0x43aea2(0x297)]['getColorFromTheme'](_0x5369bd[_0x43aea2(0x302)])}))})))[_0x43aea2(0x29f)](_0x230ce6=>{const _0x18e092=_0x43aea2;if(this[_0x18e092(0x326)](),_0x230ce6){const {skeleton:_0x21811d,cursors:_0x18518d}=_0x230ce6;this['_updateCollabCursors'](_0x21811d,_0x18518d);}})),this[_0x43aea2(0x44a)](),this['_initCommandExecutedListener']();}[_0x12a2cc(0x211)](_0x1425d7,_0x46ba50){const _0x315608=_0x12a2cc,{scene:_0x385883,mainComponent:_0x118bb4}=this[_0x315608(0x365)],_0x1c0b52=_0x46ba50[_0x315608(0x371)](_0x269d47=>new _0x12672f(_0x269d47,_0x385883,_0x1425d7,_0x118bb4));this[_0x315608(0x32d)]=_0x1c0b52,this[_0x315608(0x22c)]=_0x46ba50;}[_0x12a2cc(0x257)](){const _0x13c28f=_0x12a2cc;this[_0x13c28f(0x326)]();const {scene:_0x37d21f,mainComponent:_0x104deb}=this['_context'],_0x195ec7=this['_docSkeletonManagerService'][_0x13c28f(0x309)](),_0x1ec0af=this[_0x13c28f(0x22c)][_0x13c28f(0x371)](_0x31b09d=>new _0x12672f(_0x31b09d,_0x37d21f,_0x195ec7,_0x104deb));this['_cursorShapes']=_0x1ec0af;}[_0x12a2cc(0x326)](){const _0x4021d3=_0x12a2cc;this[_0x4021d3(0x32d)][_0x4021d3(0x3c8)](_0x30c962=>_0x30c962[_0x4021d3(0x2eb)]()),this['_cursorShapes']=[];}[_0x12a2cc(0x251)](){const _0x1f8ea1=_0x12a2cc,_0x3a50cf=[_0x2f8870['SetDocZoomRatioOperation']['id']];this['disposeWithMe'](this[_0x1f8ea1(0x2f2)]['onCommandExecuted'](_0x290f1b=>{const _0x567e69=_0x1f8ea1;_0x3a50cf[_0x567e69(0x3a1)](_0x290f1b['id'])&&_0x290f1b[_0x567e69(0x281)]['unitId']===this['_context'][_0x567e69(0x330)]&&this[_0x567e69(0x257)]();}));}['_initResize'](){const _0x17cdfe=_0x12a2cc;this['disposeWithMe'](_0x5c9413[_0x17cdfe(0x231)](this['_context']['engine'][_0x17cdfe(0x32a)])['pipe'](_0x44133d[_0x17cdfe(0x33c)](_0x4ce1b4=>_0x4ce1b4['type']===_0x1f04f6[_0x17cdfe(0x239)][_0x17cdfe(0x315)]),_0x44133d[_0x17cdfe(0x421)](0x10))[_0x17cdfe(0x29f)](()=>{const _0x171833=_0x17cdfe;this[_0x171833(0x257)]();}));}};_0x1f01a9=_0x1c3fd3([_0x47c4dc(0x1,_0x5c9413[_0x12a2cc(0x38c)](_0x39044d[_0x12a2cc(0x332)])),_0x47c4dc(0x2,_0x5c9413[_0x12a2cc(0x38c)](_0x44788c)),_0x47c4dc(0x3,_0x5c9413[_0x12a2cc(0x3a8)]),_0x47c4dc(0x4,_0x5c9413[_0x12a2cc(0x38c)](_0x5c9413['ThemeService']))],_0x1f01a9);const _0x3660d8=0x1,_0x627c9=1.5;class _0x3df81e extends _0x1f04f6[_0x12a2cc(0x40c)]{constructor(_0x5ebffc,_0x4c570c){const _0x9a8556=_0x12a2cc;super(_0x5ebffc,_0x4c570c),_0x1206b7(this,_0x9a8556(0x2a2)),_0x1206b7(this,_0x9a8556(0x429),!0x1),_0x1206b7(this,_0x9a8556(0x37d)),_0x1206b7(this,_0x9a8556(0x300),''),_0x1206b7(this,_0x9a8556(0x34c),_0x9a8556(0x427)),_0x1206b7(this,_0x9a8556(0x353)),(_0x4c570c&&this['setShapeProps'](_0x4c570c),this['onPointerEnter$'][_0x9a8556(0x256)](()=>this['setShapeProps']({'hovered':!0x0})),this[_0x9a8556(0x2f9)]['subscribeEvent'](()=>this['setShapeProps']({'hovered':!0x1})));}[_0x12a2cc(0x2fa)](_0x56224d){const _0x267f70=_0x12a2cc;var _0x3a24c2,_0x5133af,_0x124617,_0x5e087b,_0x4ab110,_0x5e8897;this[_0x267f70(0x2a2)]=(_0x3a24c2=_0x56224d[_0x267f70(0x302)])!=null?_0x3a24c2:this[_0x267f70(0x2a2)],this[_0x267f70(0x429)]=(_0x5133af=_0x56224d[_0x267f70(0x2e3)])!=null?_0x5133af:this[_0x267f70(0x429)],this[_0x267f70(0x37d)]=(_0x124617=_0x56224d['range'])!=null?_0x124617:this[_0x267f70(0x37d)],this[_0x267f70(0x300)]=(_0x5e087b=_0x56224d[_0x267f70(0x3c4)])!=null?_0x5e087b:this[_0x267f70(0x300)],this[_0x267f70(0x34c)]=(_0x4ab110=_0x56224d[_0x267f70(0x44d)])!=null?_0x4ab110:this[_0x267f70(0x34c)],this[_0x267f70(0x353)]=(_0x5e8897=_0x56224d[_0x267f70(0x399)])!=null?_0x5e8897:this[_0x267f70(0x353)],this[_0x267f70(0x200)]({'width':_0x56224d[_0x267f70(0x456)],'height':_0x56224d['height']});}[_0x12a2cc(0x335)](_0x4288f0){const _0x136688=_0x12a2cc,{row:_0x2ed65c,column:_0x4b8a2a}=_0x4288f0;if(_0x2ed65c>=this[_0x136688(0x37d)]['startRow']&&_0x2ed65c<=this['_range'][_0x136688(0x39b)]&&_0x4b8a2a>=this[_0x136688(0x37d)][_0x136688(0x248)]&&_0x4b8a2a<=this[_0x136688(0x37d)]['endColumn']){this['setShapeProps']({'hovered':!0x0});return;}this[_0x136688(0x2fa)]({'hovered':!0x1});}[_0x12a2cc(0x3c2)](_0x2d7e2c){return!0x1;}[_0x12a2cc(0x26f)](_0x44af4b){const _0x843287=_0x12a2cc;_0x1f04f6[_0x843287(0x331)][_0x843287(0x439)](_0x44af4b,{'width':this['width'],'height':this[_0x843287(0x241)],'strokeWidth':_0x627c9,'stroke':this[_0x843287(0x2a2)],'evented':!0x1,'fill':this['_backgroundColor']}),this[_0x843287(0x429)]&&(_0x44af4b[_0x843287(0x442)](),_0x44af4b[_0x843287(0x3c0)](0x1,0x0,0x0,0x1,this[_0x843287(0x456)],this[_0x843287(0x34c)]==='bottom'?0x0:-0x14),_0x3f6afd[_0x843287(0x439)](_0x44af4b,{'text':this['_name'],'color':this[_0x843287(0x2a2)]}),_0x44af4b[_0x843287(0x259)]());}}var _0x24c3e4=Object[_0x12a2cc(0x436)],_0x34d940=(_0x58a68f,_0x317eb5,_0x6828c5,_0x176282)=>{for(var _0x25b481=_0x176282>0x1?void 0x0:_0x176282?_0x24c3e4(_0x317eb5,_0x6828c5):_0x317eb5,_0x394a92=_0x58a68f['length']-0x1,_0x4130f7;_0x394a92>=0x0;_0x394a92--)(_0x4130f7=_0x58a68f[_0x394a92])&&(_0x25b481=_0x4130f7(_0x25b481)||_0x25b481);return _0x25b481;},_0x112ec3=(_0x2c0205,_0x4aaeca)=>(_0x393bf5,_0x1d32e5)=>_0x4aaeca(_0x393bf5,_0x1d32e5,_0x2c0205);const _0x68158=0x1389;let _0x5203d8=class extends _0x5c9413[_0x12a2cc(0x435)]{constructor(_0x1ea7c5,_0x58f24f,_0x5f0aa6,_0x3bece0){const _0x2a4e71=_0x12a2cc;super(),_0x1206b7(this,'_cursors',new Set()),_0x1206b7(this,_0x2a4e71(0x3b5),null),(this[_0x2a4e71(0x365)]=_0x1ea7c5,this['_sheetSkeletonManagerService']=_0x58f24f,this[_0x2a4e71(0x453)]=_0x5f0aa6,this['_themeService']=_0x3bece0,this[_0x2a4e71(0x47c)]());}['_init'](){const _0x12e526=_0x12a2cc;this[_0x12e526(0x343)][_0x12e526(0x437)][_0x12e526(0x2af)](_0x44133d[_0x12e526(0x457)](this[_0x12e526(0x291)]),_0x44133d['switchMap'](_0x391d63=>{const _0x43caf7=_0x12e526;if(_0x391d63){const _0x217f6d=_0x391d63['sheetId'];return _0x5c807f['combineLatest'](this[_0x43caf7(0x453)][_0x43caf7(0x21b)](this[_0x43caf7(0x365)][_0x43caf7(0x330)]),this[_0x43caf7(0x297)][_0x43caf7(0x286)])[_0x43caf7(0x2af)](_0x44133d['map'](([_0x5c01fa,_0x26057a])=>{const _0xcf8f1c=_0x43caf7,_0x1508a6=new Map();return _0x5c01fa[_0xcf8f1c(0x3c8)]((_0x4ddeca,_0x26faa7)=>{const _0x5400ab=_0xcf8f1c;if(_0x4ddeca['sheetID']===_0x217f6d){const _0x21595d={..._0x4ddeca};_0x21595d[_0x5400ab(0x302)]=this[_0x5400ab(0x297)][_0x5400ab(0x2de)](_0x4ddeca[_0x5400ab(0x302)]),_0x1508a6[_0x5400ab(0x2ee)](_0x26faa7,_0x21595d);}}),{'skeleton':_0x391d63,'cursors':_0x1508a6};}));}return _0x5c807f['of']({'skeleton':null,'cursors':new Map()});}))[_0x12e526(0x29f)](({skeleton:_0x8aef38,cursors:_0x5524e7})=>{const _0x9bce1a=_0x12e526;this[_0x9bce1a(0x326)](),_0x8aef38&&this[_0x9bce1a(0x211)](_0x8aef38,_0x5524e7);}),this['_sheetSkeletonManagerService'][_0x12e526(0x437)][_0x12e526(0x29f)](_0x43b221=>{const _0xf82573=_0x12e526;if(_0x43b221==null)return;const {skeleton:_0x213fdf}=_0x43b221,{scene:_0x505b63}=this[_0xf82573(0x365)];_0x505b63[_0xf82573(0x338)][_0xf82573(0x256)](_0x5c9413[_0xf82573(0x47f)](_0x378bb5=>{const _0x44895a=_0xf82573;var _0x3a1cd5,_0x39796c;const {offsetX:_0x29b692,offsetY:_0x4f8249}=_0x378bb5,{x:_0x30d27c,y:_0x58d1ee}=_0x505b63[_0x44895a(0x3c3)](_0x1f04f6[_0x44895a(0x242)][_0x44895a(0x232)]([_0x29b692,_0x4f8249])),{scaleX:_0x23e2d6,scaleY:_0xbf6bea}=_0x505b63[_0x44895a(0x3c7)](),_0x239a60=_0x505b63[_0x44895a(0x201)](_0x1f04f6[_0x44895a(0x2f1)][_0x44895a(0x323)]),_0x2ce476=_0x505b63[_0x44895a(0x22d)](_0x1f04f6[_0x44895a(0x242)][_0x44895a(0x232)]([_0x30d27c,_0x58d1ee]),_0x239a60),_0x5ce3c0=_0x213fdf[_0x44895a(0x377)](_0x29b692,_0x4f8249,_0x23e2d6,_0xbf6bea,_0x2ce476);((_0x3a1cd5=this[_0x44895a(0x3b5)])==null?void 0x0:_0x3a1cd5[_0x44895a(0x2fc)])===_0x5ce3c0[_0x44895a(0x2fc)]&&((_0x39796c=this['_lastPointer'])==null?void 0x0:_0x39796c[_0x44895a(0x3e4)])===_0x5ce3c0[_0x44895a(0x3e4)]||this[_0x44895a(0x22c)]['forEach'](_0x3ca46a=>{_0x3ca46a['onMouseMove'](_0x5ce3c0);});},0x64));});}[_0x12a2cc(0x211)](_0x4f7c2c,_0x406aaa){const _0x162ddd=_0x12a2cc;var _0x5e985d;const _0xedffa6=(_0x5e985d=this[_0x162ddd(0x343)][_0x162ddd(0x35a)]())==null?void 0x0:_0x5e985d[_0x162ddd(0x2a5)];if(!_0xedffa6)return;const _0x46d74b=this[_0x162ddd(0x446)]();if(!_0x46d74b)return;this[_0x162ddd(0x22c)][_0x162ddd(0x3c8)](_0x8a3fd=>{_0x8a3fd['makeDirty']();});const {scene:_0x52ccc6}=_0x46d74b,_0x25063f=_0x1e4b51(Array[_0x162ddd(0x466)](_0x406aaa['values']()))['map'](_0x5cf59f=>{const _0x4aaaea=_0x162ddd,{color:_0xf3d436,range:_0x5d5233,name:_0x1440cb,selection:_0x4fdf29,sheetID:_0x276ef6}=_0x5cf59f,{startColumn:_0x1616df,startRow:_0x260791,endColumn:_0x3d16ff,endRow:_0x466c2f}=_0x5d5233,_0x1e2438=_0xd824ff[_0x4aaaea(0x2bf)](_0x260791,_0x1616df,_0x52ccc6,_0xedffa6),_0x4bf82c=_0xd824ff[_0x4aaaea(0x2bf)](_0x466c2f,_0x3d16ff,_0x52ccc6,_0xedffa6),{columnHeaderHeightAndMarginTop:_0x7acb86}=_0xedffa6,{startX:_0x446404,startY:_0x1632d2}=_0x1e2438,{endX:_0x3fb584,endY:_0x2c3cf6}=_0x4bf82c,_0x236b48=_0x3fb584-_0x446404,_0x267028=_0x2c3cf6-_0x1632d2,_0x5ef6b2={'labelPosition':_0x1632d2-_0x7acb86>=_0x5db9ce?'top':_0x4aaaea(0x25c),'sheetID':_0x276ef6,'range':_0x5d5233,'color':_0xf3d436,'name':_0x1440cb,'selection':_0x4fdf29,'left':_0x446404,'top':_0x1632d2,'width':_0x236b48,'height':_0x267028,'evented':!0x1,'zIndex':_0x68158};return new _0x3df81e(_0x1440cb,_0x5ef6b2);});_0x52ccc6[_0x162ddd(0x3b3)](_0x25063f,_0x3660d8),this[_0x162ddd(0x22c)]=new Set(_0x25063f);}['_removeCollabCursors'](){const _0x3d8ff5=_0x12a2cc;var _0xbb8fca;(_0xbb8fca=this['_cursors'])==null||_0xbb8fca['forEach'](_0x3dc297=>_0x3dc297[_0x3d8ff5(0x2eb)]());}['_getSheetObject'](){const _0xf7ebc2=_0x12a2cc;return _0xd824ff['getSheetObject'](this[_0xf7ebc2(0x365)][_0xf7ebc2(0x3ba)],this[_0xf7ebc2(0x365)]);}};_0x5203d8=_0x34d940([_0x112ec3(0x1,_0x5c9413[_0x12a2cc(0x38c)](_0xd824ff[_0x12a2cc(0x38f)])),_0x112ec3(0x2,_0x5c9413['Inject'](_0x44788c)),_0x112ec3(0x3,_0x5c9413[_0x12a2cc(0x38c)](_0x5c9413[_0x12a2cc(0x245)]))],_0x5203d8);function _0x1e4b51(_0x348a87){const _0x5a454b=_0x12a2cc,_0x368521=new Map();return _0x348a87[_0x5a454b(0x3c8)](_0x3d04c5=>{const _0x3f2c29=_0x5a454b;if(_0x368521['has'](_0x3d04c5[_0x3f2c29(0x2f6)])){const _0x490dc5=_0x368521[_0x3f2c29(0x2f0)](_0x3d04c5[_0x3f2c29(0x2f6)]);_0x490dc5[_0x3f2c29(0x3c4)]+=',\x20'+_0x3d04c5[_0x3f2c29(0x3c4)];}else _0x368521[_0x3f2c29(0x2ee)](_0x3d04c5[_0x3f2c29(0x2f6)],_0x3d04c5);}),Array[_0x5a454b(0x466)](_0x368521[_0x5a454b(0x1f5)]());}var _0x268966=function(){const _0x45331c=_0x12a2cc;return _0x268966=Object[_0x45331c(0x43f)]||function(_0x467829){const _0x57570e=_0x45331c;for(var _0xbce54a,_0x22fdc5=0x1,_0x5b66be=arguments[_0x57570e(0x386)];_0x22fdc5<_0x5b66be;_0x22fdc5++){_0xbce54a=arguments[_0x22fdc5];for(var _0x5f2ae0 in _0xbce54a)Object[_0x57570e(0x308)][_0x57570e(0x226)][_0x57570e(0x23a)](_0xbce54a,_0x5f2ae0)&&(_0x467829[_0x5f2ae0]=_0xbce54a[_0x5f2ae0]);}return _0x467829;},_0x268966['apply'](this,arguments);},_0x329888=function(_0x431fbb,_0x32c918){const _0x205695=_0x12a2cc;var _0x23f26d={};for(var _0xd99eff in _0x431fbb)Object['prototype']['hasOwnProperty'][_0x205695(0x23a)](_0x431fbb,_0xd99eff)&&_0x32c918[_0x205695(0x476)](_0xd99eff)<0x0&&(_0x23f26d[_0xd99eff]=_0x431fbb[_0xd99eff]);if(_0x431fbb!=null&&typeof Object[_0x205695(0x3aa)]==_0x205695(0x3b1)){for(var _0x51d3a7=0x0,_0xd99eff=Object[_0x205695(0x3aa)](_0x431fbb);_0x51d3a7<_0xd99eff[_0x205695(0x386)];_0x51d3a7++)_0x32c918[_0x205695(0x476)](_0xd99eff[_0x51d3a7])<0x0&&Object[_0x205695(0x308)][_0x205695(0x3fa)]['call'](_0x431fbb,_0xd99eff[_0x51d3a7])&&(_0x23f26d[_0xd99eff[_0x51d3a7]]=_0x431fbb[_0xd99eff[_0x51d3a7]]);}return _0x23f26d;},_0x2c44f4=_0x47ddff[_0x12a2cc(0x380)](function(_0xe60f2c,_0x591e55){const _0x22b3cc=_0x12a2cc;var _0x558442=_0xe60f2c[_0x22b3cc(0x22e)],_0x43754a=_0xe60f2c['id'],_0xa28681=_0xe60f2c['className'],_0x2fdbcf=_0xe60f2c['extend'],_0x47ef72=_0x329888(_0xe60f2c,[_0x22b3cc(0x22e),'id','className',_0x22b3cc(0x3e2)]),_0x50d284=_0x22b3cc(0x236)['concat'](_0x43754a,'\x20')[_0x22b3cc(0x3ff)](_0xa28681||'')[_0x22b3cc(0x235)](),_0x1df2ea=_0x47ddff[_0x22b3cc(0x2a0)]('_'[_0x22b3cc(0x3ff)](_0x2cc994()));return _0x157415(_0x558442,''[_0x22b3cc(0x3ff)](_0x43754a),{'defIds':_0x558442[_0x22b3cc(0x378)],'idSuffix':_0x1df2ea[_0x22b3cc(0x475)]},_0x268966({'ref':_0x591e55,'className':_0x50d284},_0x47ef72),_0x2fdbcf);});function _0x157415(_0x325ffc,_0x4b4ecd,_0x4dd80e,_0x51d4fb,_0xede9d1){const _0x4e5229=_0x12a2cc;return _0x47ddff['createElement'](_0x325ffc[_0x4e5229(0x464)],_0x268966(_0x268966({'key':_0x4b4ecd},_0xe22d74(_0x325ffc,_0x4dd80e,_0xede9d1)),_0x51d4fb),(_0x4d6154(_0x325ffc,_0x4dd80e)['children']||[])[_0x4e5229(0x371)](function(_0x19e7f0,_0x19f394){const _0xed34c5=_0x4e5229;return _0x157415(_0x19e7f0,''[_0xed34c5(0x3ff)](_0x4b4ecd,'-')[_0xed34c5(0x3ff)](_0x325ffc[_0xed34c5(0x464)],'-')[_0xed34c5(0x3ff)](_0x19f394),_0x4dd80e,void 0x0,_0xede9d1);}));}function _0xe22d74(_0x5f1c06,_0x403956,_0x514a07){const _0x434036=_0x12a2cc;var _0x452f9c=_0x268966({},_0x5f1c06[_0x434036(0x403)]);_0x514a07!=null&&_0x514a07[_0x434036(0x2d4)]&&_0x452f9c['fill']==='colorChannel1'&&(_0x452f9c[_0x434036(0x265)]=_0x514a07['colorChannel1']),_0x5f1c06[_0x434036(0x464)]===_0x434036(0x218)&&_0x452f9c['id']&&(_0x452f9c['id']=_0x452f9c['id']+_0x403956['idSuffix']),Object[_0x434036(0x366)](_0x452f9c)[_0x434036(0x3c8)](function(_0x58ff55){const _0x34a162=_0x434036;var _0x131d17=_0x58ff55[0x0],_0x525e71=_0x58ff55[0x1];_0x131d17==='mask'&&typeof _0x525e71==_0x34a162(0x3d8)&&(_0x452f9c[_0x131d17]=_0x525e71[_0x34a162(0x1f0)](/url\(#(.*)\)/,_0x34a162(0x3ce)[_0x34a162(0x3ff)](_0x403956[_0x34a162(0x425)],')')));});var _0x39e246=_0x403956[_0x434036(0x378)];return!_0x39e246||_0x39e246['length']===0x0||(_0x5f1c06['tag']==='use'&&_0x452f9c[_0x434036(0x36e)]&&(_0x452f9c[_0x434036(0x36e)]=_0x452f9c[_0x434036(0x36e)]+_0x403956[_0x434036(0x425)]),Object[_0x434036(0x366)](_0x452f9c)[_0x434036(0x3c8)](function(_0x5cf378){const _0x3095e0=_0x434036;var _0x2e1632=_0x5cf378[0x0],_0x334390=_0x5cf378[0x1];typeof _0x334390=='string'&&(_0x452f9c[_0x2e1632]=_0x334390[_0x3095e0(0x1f0)](/url\(#(.*)\)/,_0x3095e0(0x3ce)[_0x3095e0(0x3ff)](_0x403956[_0x3095e0(0x425)],')')));})),_0x452f9c;}function _0x4d6154(_0x44bc51,_0x38ed41){const _0x599b23=_0x12a2cc;var _0x48c297,_0x2ba6f0=_0x38ed41['defIds'];return!_0x2ba6f0||_0x2ba6f0['length']===0x0?_0x44bc51:_0x44bc51['tag']===_0x599b23(0x220)&&(!((_0x48c297=_0x44bc51['children'])===null||_0x48c297===void 0x0)&&_0x48c297[_0x599b23(0x386)])?_0x268966(_0x268966({},_0x44bc51),{'children':_0x44bc51[_0x599b23(0x2bb)][_0x599b23(0x371)](function(_0x1c47d8){const _0x2bac96=_0x599b23;return typeof _0x1c47d8[_0x2bac96(0x403)]['id']==_0x2bac96(0x3d8)&&_0x2ba6f0&&_0x2ba6f0[_0x2bac96(0x3a1)](_0x1c47d8['attrs']['id'])?_0x268966(_0x268966({},_0x1c47d8),{'attrs':_0x268966(_0x268966({},_0x1c47d8[_0x2bac96(0x403)]),{'id':_0x1c47d8[_0x2bac96(0x403)]['id']+_0x38ed41[_0x2bac96(0x425)]})}):_0x1c47d8;})}):_0x44bc51;}function _0x2cc994(){const _0x7ecd32=_0x12a2cc;return Math[_0x7ecd32(0x390)]()[_0x7ecd32(0x461)](0x24)[_0x7ecd32(0x482)](0x2,0x8);}_0x2c44f4[_0x12a2cc(0x249)]=_0x12a2cc(0x3db);var _0x26cac4={'tag':_0x12a2cc(0x1fc),'attrs':{'xmlns':'http://www.w3.org/2000/svg','fill':_0x12a2cc(0x29d),'viewBox':_0x12a2cc(0x449),'width':_0x12a2cc(0x39f),'height':_0x12a2cc(0x39f)},'children':[{'tag':'g','attrs':{'clipPath':_0x12a2cc(0x1e5)},'children':[{'tag':'path','attrs':{'stroke':_0x12a2cc(0x471),'d':_0x12a2cc(0x2a1),'strokeLinecap':_0x12a2cc(0x43a),'strokeLinejoin':'round','strokeWidth':1.2}}]},{'tag':_0x12a2cc(0x220),'attrs':{},'children':[{'tag':_0x12a2cc(0x2b3),'attrs':{'id':_0x12a2cc(0x3a2)},'children':[{'tag':_0x12a2cc(0x470),'attrs':{'fill':_0x12a2cc(0x410),'d':_0x12a2cc(0x2ae)}}]}]}],'defIds':[_0x12a2cc(0x3a2)]},_0x42c034=_0x47ddff[_0x12a2cc(0x380)](function(_0x3fc565,_0x46372c){const _0x5f2149=_0x12a2cc;return _0x47ddff[_0x5f2149(0x467)](_0x2c44f4,Object[_0x5f2149(0x43f)]({},_0x3fc565,{'id':_0x5f2149(0x47d),'ref':_0x46372c,'icon':_0x26cac4}));});_0x42c034[_0x12a2cc(0x249)]=_0x12a2cc(0x3c5);var _0x38b2b9={'tag':_0x12a2cc(0x1fc),'attrs':{'xmlns':_0x12a2cc(0x428),'fill':_0x12a2cc(0x29d),'viewBox':_0x12a2cc(0x3c1),'width':_0x12a2cc(0x39f),'height':_0x12a2cc(0x39f)},'children':[{'tag':'g','attrs':{'clipPath':'url(#on-line-icon_clip0_910_349)'},'children':[{'tag':_0x12a2cc(0x470),'attrs':{'stroke':_0x12a2cc(0x471),'d':_0x12a2cc(0x401),'strokeLinecap':_0x12a2cc(0x43a),'strokeLinejoin':_0x12a2cc(0x43a),'strokeWidth':1.2}}]},{'tag':_0x12a2cc(0x220),'attrs':{},'children':[{'tag':_0x12a2cc(0x2b3),'attrs':{'id':'on-line-icon_clip0_910_349'},'children':[{'tag':'path','attrs':{'fill':_0x12a2cc(0x410),'d':_0x12a2cc(0x2ae),'transform':'translate(.97)'}}]}]}],'defIds':[_0x12a2cc(0x372)]},_0x74a879=_0x47ddff['forwardRef'](function(_0x1dc537,_0x4115fb){const _0x1f64d=_0x12a2cc;return _0x47ddff[_0x1f64d(0x467)](_0x2c44f4,Object[_0x1f64d(0x43f)]({},_0x1dc537,{'id':_0x1f64d(0x417),'ref':_0x4115fb,'icon':_0x38b2b9}));});_0x74a879[_0x12a2cc(0x249)]=_0x12a2cc(0x233);function _0x1743bf(_0x2e62dc){const _0x1e88fd=_0x12a2cc;switch(_0x2e62dc){case _0x532bba['CollaborationStatus'][_0x1e88fd(0x424)]:return _0x1e88fd(0x434);case _0x532bba[_0x1e88fd(0x41e)]['CONFLICT']:return _0x1e88fd(0x223);case _0x532bba[_0x1e88fd(0x41e)]['FETCH_MISS']:return _0x1e88fd(0x26a);case _0x532bba[_0x1e88fd(0x41e)][_0x1e88fd(0x277)]:return _0x1e88fd(0x358);case _0x532bba['CollaborationStatus'][_0x1e88fd(0x3ca)]:case _0x532bba[_0x1e88fd(0x41e)][_0x1e88fd(0x319)]:return _0x1e88fd(0x2df);case _0x532bba[_0x1e88fd(0x41e)]['SYNCED']:case _0x532bba['CollaborationStatus'][_0x1e88fd(0x3da)]:return _0x1e88fd(0x44c);}}function _0x892990(_0x50e346){const _0x122106=_0x12a2cc,{status$:_0x481cfa}=_0x50e346,_0x31e533=_0x4db0e6[_0x122106(0x2db)](_0x481cfa,_0x532bba[_0x122106(0x41e)][_0x122106(0x277)]),_0x3c99f7=_0x4db0e6[_0x122106(0x3b4)](_0x5c9413[_0x122106(0x3d0)]),_0x565b74=_0x4db0e6['useDependency'](_0x532bba['CollaborationSessionService']),_0x2f7954=_0x31e533!==_0x532bba[_0x122106(0x41e)][_0x122106(0x424)],_0x114afc=_0x3c99f7['t'](_0x1743bf(_0x31e533)),_0x36ae21=_0x2f7954?_0x329810[_0x122106(0x2b9)](_0x74a879,{}):_0x329810[_0x122106(0x2b9)](_0x42c034,{}),_0x1d5c72=_0x47ddff[_0x122106(0x303)](()=>{const _0xe69800=_0x122106;_0x2f7954||_0x565b74[_0xe69800(0x33e)]();},[_0x2f7954,_0x565b74]);function _0x600703(){const _0x38904d=_0x122106;return _0x329810[_0x38904d(0x258)]('div',{'className':_0x38904d(0x225),'onClick':_0x1d5c72,'children':[_0x329810[_0x38904d(0x2b9)](_0x38904d(0x339),{'className':_0x27f590[_0x38904d(0x27f)](_0x38904d(0x392),{'univer-text-green-500':_0x2f7954,'univer-text-red-500':!_0x2f7954}),'children':_0x36ae21}),_0x329810[_0x38904d(0x2b9)](_0x38904d(0x339),{'className':'univer-text-sm\x20univer-leading-8\x20univer-text-gray-600\x20dark:!univer-text-gray-200','children':_0x114afc})]});}return _0x2f7954?_0x600703():_0x329810[_0x122106(0x2b9)](_0x27f590['Tooltip'],{'title':_0x3c99f7['t'](_0x122106(0x385)),'children':_0x600703()});}var _0x2aa518=Object[_0x12a2cc(0x436)],_0x18fe82=(_0x2e5970,_0x46e178,_0x186fcc,_0x594724)=>{const _0x320582=_0x12a2cc;for(var _0x5e2b01=_0x594724>0x1?void 0x0:_0x594724?_0x2aa518(_0x46e178,_0x186fcc):_0x46e178,_0x512142=_0x2e5970[_0x320582(0x386)]-0x1,_0x296c30;_0x512142>=0x0;_0x512142--)(_0x296c30=_0x2e5970[_0x512142])&&(_0x5e2b01=_0x296c30(_0x5e2b01)||_0x5e2b01);return _0x5e2b01;},_0x24471e=(_0x1b10a0,_0x3fa49d)=>(_0x5efd57,_0x195ae1)=>_0x3fa49d(_0x5efd57,_0x195ae1,_0x1b10a0);_0x560529[_0x12a2cc(0x47b)]=class extends _0x5c9413[_0x12a2cc(0x474)]{constructor(_0x46ac02,_0x3cea42,_0x2a25dd,_0x18c5d9){const _0x2dbe5b=_0x12a2cc;super(),_0x1206b7(this,'_status$',new _0x5c807f['BehaviorSubject'](_0x532bba['CollaborationStatus'][_0x2dbe5b(0x277)])),(this[_0x2dbe5b(0x364)]=_0x46ac02,this[_0x2dbe5b(0x2fb)]=_0x3cea42,this['_collaborationController']=_0x2a25dd,this[_0x2dbe5b(0x37f)]=_0x18c5d9,this[_0x2dbe5b(0x462)](),this['_initStatusListener']());}[_0x12a2cc(0x23e)](){const _0x5fb362=_0x12a2cc;this[_0x5fb362(0x30f)](this['_univerInstanceService'][_0x5fb362(0x3d1)]['pipe'](_0x5c807f[_0x5fb362(0x24a)](()=>{const _0x5cae17=_0x5fb362,_0xa5d00d=this[_0x5cae17(0x364)]['getFocusedUnit']();return _0xa5d00d?this[_0x5cae17(0x24e)][_0x5cae17(0x32b)](_0xa5d00d[_0x5cae17(0x45f)]()):_0x5c807f['of'](null);}),_0x5c807f['switchMap'](_0x30b31b=>_0x30b31b?_0x30b31b['status$']:_0x5c807f['of'](_0x532bba[_0x5fb362(0x41e)]['NOT_COLLAB'])))[_0x5fb362(0x29f)](_0x6a0bd4=>{const _0x1a1846=_0x5fb362;this[_0x1a1846(0x227)][_0x1a1846(0x1eb)](_0x6a0bd4);}));}[_0x12a2cc(0x462)](){const _0x24d4a1=_0x12a2cc;this[_0x24d4a1(0x30f)](this['_uiPartsService'][_0x24d4a1(0x318)](_0x4db0e6[_0x24d4a1(0x369)][_0x24d4a1(0x1ed)],()=>_0x4db0e6[_0x24d4a1(0x445)](_0x18ab40({'status$':this[_0x24d4a1(0x227)][_0x24d4a1(0x2f5)]()}),this[_0x24d4a1(0x2fb)])));}},_0x560529[_0x12a2cc(0x47b)]=_0x18fe82([_0x24471e(0x0,_0x5c9413['IUniverInstanceService']),_0x24471e(0x1,_0x5c9413[_0x12a2cc(0x38c)](_0x5c9413[_0x12a2cc(0x414)])),_0x24471e(0x2,_0x5c9413[_0x12a2cc(0x38c)](_0x532bba[_0x12a2cc(0x264)])),_0x24471e(0x3,_0x4db0e6[_0x12a2cc(0x234)])],_0x560529['DesktopCollaborationStatusDisplayController']);function _0x18ab40(_0x2a7a48){const {status$:_0x37a15d}=_0x2a7a48;return function(){const _0x42124a=_0x380c;return _0x329810[_0x42124a(0x2b9)](_0x892990,{'status$':_0x37a15d});};}var _0x2c3a6e=Object[_0x12a2cc(0x436)],_0x5c35f9=(_0x19e1d6,_0x184678,_0xbb08c,_0x4d403b)=>{for(var _0x47ae40=_0x4d403b>0x1?void 0x0:_0x4d403b?_0x2c3a6e(_0x184678,_0xbb08c):_0x184678,_0x30ccbe=_0x19e1d6['length']-0x1,_0x4b1c6d;_0x30ccbe>=0x0;_0x30ccbe--)(_0x4b1c6d=_0x19e1d6[_0x30ccbe])&&(_0x47ae40=_0x4b1c6d(_0x47ae40)||_0x47ae40);return _0x47ae40;},_0x2ce233=(_0x173849,_0x54722b)=>(_0x4748e6,_0x1fb214)=>_0x54722b(_0x4748e6,_0x1fb214,_0x173849);let _0x7d8b6=class extends _0x5c9413['Disposable']{constructor(_0x3eb0a9,_0x18f4a0,_0x3a6f25,_0x4261c6,_0x4aacc7,_0x5e89eb){const _0x11ca7c=_0x12a2cc;super(),this[_0x11ca7c(0x2e5)]=_0x3eb0a9,this[_0x11ca7c(0x34e)]=_0x18f4a0,this[_0x11ca7c(0x1fa)]=_0x3a6f25,this['_messageService']=_0x4261c6,this['_notificationService']=_0x4aacc7,this['_localeService']=_0x5e89eb,this[_0x11ca7c(0x2c0)](),this[_0x11ca7c(0x2ba)]();}[_0x12a2cc(0x2c0)](){const _0x31177f=_0x12a2cc;this['disposeWithMe'](this[_0x31177f(0x2e5)]['registerBeforeClose'](()=>{const _0x302ca6=_0x31177f;if(this[_0x302ca6(0x34e)][_0x302ca6(0x2a6)][_0x302ca6(0x483)])return this['_localeService']['t']('collaboration-client.offline-data-not-saved');}));}[_0x12a2cc(0x2ba)](){const _0x9b6a15=_0x12a2cc;this['disposeWithMe'](this['_collaborationUIEventService'][_0x9b6a15(0x355)]['subscribe'](_0x59d95=>{const _0x1f7efd=_0x9b6a15;_0x59d95['id']===_0x532bba['CollaborationUIEventId']['OTHER_CLIENT_EDITING']&&this[_0x1f7efd(0x395)][_0x1f7efd(0x36b)]({'type':_0x27f590[_0x1f7efd(0x24d)][_0x1f7efd(0x31c)],'content':this[_0x1f7efd(0x27b)]['t'](_0x1f7efd(0x2c7))}),_0x59d95['id']===_0x532bba[_0x1f7efd(0x356)][_0x1f7efd(0x325)]&&this[_0x1f7efd(0x395)]['show']({'type':_0x27f590[_0x1f7efd(0x24d)][_0x1f7efd(0x31c)],'content':this['_localeService']['t'](_0x1f7efd(0x2d9))}),_0x59d95['id']===_0x532bba[_0x1f7efd(0x356)]['PERMISSION_DENIED']&&this['_notificationService']['show']({'title':this[_0x1f7efd(0x27b)]['t'](_0x1f7efd(0x406)),'content':this['_localeService']['t']('permission.content'),'type':_0x1f7efd(0x262),'duration':0x0}),_0x59d95['id']===_0x532bba[_0x1f7efd(0x356)][_0x1f7efd(0x2d0)]&&this[_0x1f7efd(0x395)][_0x1f7efd(0x36b)]({'type':_0x27f590[_0x1f7efd(0x24d)][_0x1f7efd(0x2a9)],'content':this[_0x1f7efd(0x27b)]['t']('collaboration.closeRoom')+'('+_0x59d95[_0x1f7efd(0x2ff)]+')'}),_0x59d95['id']===_0x532bba[_0x1f7efd(0x356)]['JOIN_ROOM_FAILED']&&this['_messageService'][_0x1f7efd(0x36b)]({'type':_0x27f590['MessageType'][_0x1f7efd(0x31c)],'content':this['_localeService']['t'](_0x59d95['data']||'')}),_0x59d95['id']===_0x532bba[_0x1f7efd(0x356)]['SOCKET_FAILED_RETRY']&&this['_messageService'][_0x1f7efd(0x36b)]({'type':_0x27f590[_0x1f7efd(0x24d)][_0x1f7efd(0x31c)],'content':this['_localeService']['t'](_0x1f7efd(0x342))}),_0x59d95['id']===_0x532bba[_0x1f7efd(0x356)][_0x1f7efd(0x2dc)]&&this['_messageService'][_0x1f7efd(0x36b)]({'type':_0x27f590['MessageType'][_0x1f7efd(0x2a9)],'content':this[_0x1f7efd(0x27b)]['t']('session.connection-failed')}),_0x59d95['id']===_0x532bba[_0x1f7efd(0x356)]['SUBMIT_CHANGESET_TIMEOUT']&&this[_0x1f7efd(0x395)]['show']({'type':_0x27f590[_0x1f7efd(0x24d)][_0x1f7efd(0x2a9)],'content':this[_0x1f7efd(0x27b)]['t'](_0x1f7efd(0x215))});}));}};_0x7d8b6=_0x5c35f9([_0x2ce233(0x0,_0x4db0e6[_0x12a2cc(0x340)]),_0x2ce233(0x1,_0x532bba[_0x12a2cc(0x444)]),_0x2ce233(0x2,_0x5c9413[_0x12a2cc(0x38c)](_0x532bba[_0x12a2cc(0x312)])),_0x2ce233(0x3,_0x4db0e6[_0x12a2cc(0x387)]),_0x2ce233(0x4,_0x4db0e6[_0x12a2cc(0x320)]),_0x2ce233(0x5,_0x5c9413['Inject'](_0x5c9413['LocaleService']))],_0x7d8b6);const _0x537436='collaboration-client-ui.config',_0x3fc096={},_0x5c53ec=_0x5c9413[_0x12a2cc(0x440)](_0x12a2cc(0x3dd));var _0x47787b=Object[_0x12a2cc(0x436)],_0x4561ee=(_0x422418,_0x49b8c6,_0x2620ef,_0x439420)=>{const _0x3359cb=_0x12a2cc;for(var _0x2c9d89=_0x439420>0x1?void 0x0:_0x439420?_0x47787b(_0x49b8c6,_0x2620ef):_0x49b8c6,_0x367eef=_0x422418[_0x3359cb(0x386)]-0x1,_0x1997a1;_0x367eef>=0x0;_0x367eef--)(_0x1997a1=_0x422418[_0x367eef])&&(_0x2c9d89=_0x1997a1(_0x2c9d89)||_0x2c9d89);return _0x2c9d89;},_0x55cecf=(_0x34a39e,_0x5acde6)=>(_0x5c3787,_0x1994ed)=>_0x5acde6(_0x5c3787,_0x1994ed,_0x34a39e);_0x560529['CollaborationDataLoaderController']=class extends _0x5c9413['RxDisposable']{constructor(_0x438ff4,_0x1766b5,_0x238d08,_0xd10170,_0x1194db){const _0x1673cf=_0x12a2cc;super(),this[_0x1673cf(0x1ea)]=_0x438ff4,this[_0x1673cf(0x3b6)]=_0x1766b5,this[_0x1673cf(0x2f2)]=_0x238d08,this['_dataLoaderService']=_0xd10170,_0x1194db?_0x1194db==null||_0x1194db['whenReady']()[_0x1673cf(0x230)](()=>this[_0x1673cf(0x47c)]()):(this[_0x1673cf(0x3b6)][_0x1673cf(0x1ee)](_0x1673cf(0x357),_0x1673cf(0x3ac)),this[_0x1673cf(0x47c)]());}async[_0x12a2cc(0x47c)](){const _0x17ac0e=_0x12a2cc,_0x2bedb8=this[_0x17ac0e(0x1ea)][_0x17ac0e(0x373)](_0x17ac0e(0x3ba)),_0x13dad5=this[_0x17ac0e(0x1ea)][_0x17ac0e(0x373)](_0x17ac0e(0x35e)),_0x48aa55=this[_0x17ac0e(0x1ea)][_0x17ac0e(0x373)](_0x17ac0e(0x354));if(!_0x2bedb8||!_0x13dad5){this['_logService'][_0x17ac0e(0x1ee)](_0x17ac0e(0x357),_0x17ac0e(0x3cc));return;}const _0x391d9c=await this[_0x17ac0e(0x2cb)][_0x17ac0e(0x271)](_0x2bedb8,Number(_0x13dad5),_0x48aa55);_0x391d9c&&_0x391d9c instanceof _0x5c9413[_0x17ac0e(0x32c)]&&this['_setupSubUnitSync'](_0x391d9c);}async[_0x12a2cc(0x28d)](_0x217cc8){const _0x288c88=_0x12a2cc;await this[_0x288c88(0x41c)](_0x217cc8),_0x217cc8['activeSheet$'][_0x288c88(0x2af)](_0x5c807f[_0x288c88(0x457)](this[_0x288c88(0x291)]))['subscribe'](_0x5d92c1=>{const _0x407644=_0x288c88;_0x5d92c1&&this[_0x407644(0x418)](_0x5d92c1);}),this[_0x288c88(0x1ea)][_0x288c88(0x2c6)][_0x288c88(0x2af)](_0x5c807f['takeUntil'](this[_0x288c88(0x291)]))[_0x288c88(0x29f)](()=>this['_updateSubUnitFromURLParams'](_0x217cc8));}[_0x12a2cc(0x418)](_0x8634b,_0x5ac034=!0x1){const _0x186b8b=_0x12a2cc,_0xfc4e94=this[_0x186b8b(0x1ea)][_0x186b8b(0x373)](_0x186b8b(0x354));_0x8634b[_0x186b8b(0x3ad)]()!==_0xfc4e94&&this['_urlService']['setParam'](_0x186b8b(0x354),_0x8634b[_0x186b8b(0x3ad)](),_0x5ac034);}async[_0x12a2cc(0x41c)](_0x457e72){const _0x442d05=_0x12a2cc;var _0x32f8a5;const _0x4d8f19=this[_0x442d05(0x1ea)][_0x442d05(0x373)]('subunit');if(!_0x4d8f19||!_0x457e72[_0x442d05(0x30c)](_0x4d8f19)){const _0x3bf7f5=_0x457e72[_0x442d05(0x45c)]()[0x0],_0x35f593=_0x457e72['getSheetBySheetId'](_0x3bf7f5);if(!_0x35f593)return;this[_0x442d05(0x418)](_0x35f593,!0x0),await this[_0x442d05(0x2f2)][_0x442d05(0x28e)](_0x333a7c[_0x442d05(0x3fe)]['id'],{'unitId':_0x457e72['getUnitId'](),'subUnitId':_0x3bf7f5});return;}((_0x32f8a5=_0x457e72[_0x442d05(0x27a)]())==null?void 0x0:_0x32f8a5[_0x442d05(0x3ad)]())!==_0x4d8f19&&await this[_0x442d05(0x2f2)][_0x442d05(0x28e)](_0x333a7c[_0x442d05(0x3fe)]['id'],{'unitId':_0x457e72[_0x442d05(0x45f)](),'subUnitId':_0x4d8f19});}},_0x560529['CollaborationDataLoaderController']=_0x4561ee([_0x55cecf(0x0,_0x5c53ec),_0x55cecf(0x1,_0x5c9413[_0x12a2cc(0x3ae)]),_0x55cecf(0x2,_0x5c9413[_0x12a2cc(0x3a8)]),_0x55cecf(0x3,_0x5c9413['Inject'](_0x532bba[_0x12a2cc(0x246)])),_0x55cecf(0x4,_0x5c9413[_0x12a2cc(0x40b)](_0x51bc92[_0x12a2cc(0x37c)]))],_0x560529['CollaborationDataLoaderController']);var _0xb5d7f4=Object['getOwnPropertyDescriptor'],_0x3dd5b1=(_0x2cf4bf,_0x5aeafd,_0x37246e,_0x1e2eb0)=>{for(var _0x419f71=_0x1e2eb0>0x1?void 0x0:_0x1e2eb0?_0xb5d7f4(_0x5aeafd,_0x37246e):_0x5aeafd,_0x1fd94f=_0x2cf4bf['length']-0x1,_0x266962;_0x1fd94f>=0x0;_0x1fd94f--)(_0x266962=_0x2cf4bf[_0x1fd94f])&&(_0x419f71=_0x266962(_0x419f71)||_0x419f71);return _0x419f71;},_0xa47470=(_0x48c13b,_0x1d7459)=>(_0x423407,_0x206f64)=>_0x1d7459(_0x423407,_0x206f64,_0x48c13b);let _0x1dc9e1=class{constructor(_0x125e5e,_0x3da63e,_0xae2945){const _0x407932=_0x12a2cc;this[_0x407932(0x2fb)]=_0x125e5e,this[_0x407932(0x270)]=_0x3da63e,this[_0x407932(0x486)]=_0xae2945;}[_0x12a2cc(0x240)](_0x5cfb64){const _0x55eca3=_0x12a2cc;this['_transformUndoRedoStack'](_0x5cfb64),this[_0x55eca3(0x41f)](_0x5cfb64);}[_0x12a2cc(0x3f4)](_0x2629eb){const _0x193a10=_0x12a2cc,{unitID:_0x245ead}=_0x2629eb,_0x4d2836=this[_0x193a10(0x486)][_0x193a10(0x254)](_0x245ead)[_0x193a10(0x37e)](_0x2f8870[_0x193a10(0x351)]),{redoCache:_0x15a6d6}=_0x4d2836[_0x193a10(0x314)]();if(_0x15a6d6[_0x193a10(0x386)]===0x0)return _0x2629eb;let _0x380a5b=_0x5c9413[_0x193a10(0x21f)][_0x193a10(0x42e)](_0x2629eb['mutations'][0x0]);for(let _0x5d1d97=0x0;_0x5d1d97<_0x15a6d6[_0x193a10(0x386)];_0x5d1d97++){const _0x39ccc5={'id':_0x193a10(0x3a9),'params':{..._0x15a6d6[_0x5d1d97]}},_0x4fecce=this[_0x193a10(0x270)][_0x193a10(0x305)](_0x380a5b,_0x39ccc5,!0x1);if(_0x492d9e['isTransformMutationFailure'](_0x4fecce))throw _0x4fecce[_0x193a10(0x262)];_0x380a5b=_0x4fecce['m1Prime'];}return{..._0x5c9413[_0x193a10(0x21f)]['deepClone'](_0x2629eb),'mutations':[_0x380a5b]};}[_0x12a2cc(0x3d3)](_0x3a50e6){const _0x3e2746=_0x12a2cc,{unitID:_0x3ce49b}=_0x3a50e6,_0x28103e=this[_0x3e2746(0x486)][_0x3e2746(0x254)](_0x3ce49b)['with'](_0x2f8870[_0x3e2746(0x351)]),{undoCache:_0x39ba51,redoCache:_0x461ae7}=_0x28103e[_0x3e2746(0x314)]();if(_0x39ba51[_0x3e2746(0x386)]===0x0||_0x461ae7[_0x3e2746(0x386)]===0x0)return;const _0x41b34d=[],_0x2df44b=[];let _0x48126d=_0x5c9413['Tools'][_0x3e2746(0x42e)](_0x3a50e6[_0x3e2746(0x1e9)][0x0]),_0x422f31=_0x5c9413['Tools'][_0x3e2746(0x42e)](_0x3a50e6['mutations'][0x0]);for(let _0x5aeaba=_0x39ba51[_0x3e2746(0x386)]-0x1;_0x5aeaba>=0x0;_0x5aeaba--){const _0x466690={'id':_0x3e2746(0x3a9),'params':{..._0x39ba51[_0x5aeaba]}},_0x4e24c8={'id':'doc.mutation.rich-text-editing','params':{..._0x461ae7[_0x5aeaba]}},_0x546b6b=this['_transformService'][_0x3e2746(0x305)](_0x48126d,_0x466690,!0x1),_0x4a6d8c=this[_0x3e2746(0x270)][_0x3e2746(0x305)](_0x422f31,_0x4e24c8,!0x1);if(_0x492d9e[_0x3e2746(0x31b)](_0x546b6b))throw _0x546b6b[_0x3e2746(0x262)];if(_0x492d9e['isTransformMutationFailure'](_0x4a6d8c))throw _0x4a6d8c[_0x3e2746(0x262)];_0x41b34d['unshift'](_0x546b6b[_0x3e2746(0x3c9)]['params']),_0x2df44b[_0x3e2746(0x46a)](_0x4a6d8c[_0x3e2746(0x3c9)][_0x3e2746(0x281)]),_0x48126d=_0x546b6b[_0x3e2746(0x2d5)],_0x422f31=_0x4a6d8c[_0x3e2746(0x2d5)];}_0x28103e[_0x3e2746(0x38a)]({'undoCache':_0x41b34d,'redoCache':_0x2df44b});}[_0x12a2cc(0x41f)](_0x1bd01f){const _0x5ce680=_0x12a2cc,{unitID:_0x428765}=_0x1bd01f,_0x1df3bc=this[_0x5ce680(0x486)]['getRenderById'](_0x428765)[_0x5ce680(0x37e)](_0x2f8870[_0x5ce680(0x351)]),_0x1e6108=_0x1df3bc[_0x5ce680(0x20a)]();if(_0x1e6108==null)return;const _0x1a43d6=[{'id':_0x5ce680(0x3a9),'params':{'unitId':_0x1bd01f[_0x5ce680(0x2c8)],'actions':null,'textRanges':[_0x1e6108]}}],_0x262a9c=this['_transformService']['transformMutationsWithChangeset'](_0x1bd01f,_0x1a43d6);if(!_0x492d9e['isTransformMutationsWithChangesetSuccess'](_0x262a9c))throw _0x262a9c[_0x5ce680(0x262)];const _0x2f19e1=_0x262a9c[_0x5ce680(0x3c9)][0x0]['params'][_0x5ce680(0x280)];Array[_0x5ce680(0x2c4)](_0x2f19e1)&&_0x2f19e1[_0x5ce680(0x386)]&&_0x1df3bc['setActiveRange'](_0x2f19e1[0x0]);}};_0x1dc9e1=_0x3dd5b1([_0xa47470(0x0,_0x5c9413[_0x12a2cc(0x38c)](_0x5c9413['Injector'])),_0xa47470(0x1,_0x492d9e['ITransformService']),_0xa47470(0x2,_0x1f04f6[_0x12a2cc(0x3ef)])],_0x1dc9e1);var _0x1e859c=Object[_0x12a2cc(0x436)],_0x351e4d=(_0x2306f4,_0xd891a0,_0x40abe6,_0x209c0b)=>{const _0x4f6c25=_0x12a2cc;for(var _0x17ec17=_0x209c0b>0x1?void 0x0:_0x209c0b?_0x1e859c(_0xd891a0,_0x40abe6):_0xd891a0,_0xb66f9b=_0x2306f4[_0x4f6c25(0x386)]-0x1,_0x7e1536;_0xb66f9b>=0x0;_0xb66f9b--)(_0x7e1536=_0x2306f4[_0xb66f9b])&&(_0x17ec17=_0x7e1536(_0x17ec17)||_0x17ec17);return _0x17ec17;},_0x202121=(_0x38a270,_0x22ba0a)=>(_0x736125,_0x4659b6)=>_0x22ba0a(_0x736125,_0x4659b6,_0x38a270);let _0x135a09=class{constructor(_0x440b7a,_0x197c11,_0x2cda4a){const _0x2dc6d6=_0x12a2cc;this[_0x2dc6d6(0x2fb)]=_0x440b7a,this[_0x2dc6d6(0x270)]=_0x197c11,this[_0x2dc6d6(0x405)]=_0x2cda4a;}[_0x12a2cc(0x3ee)](_0x20c4bd){const _0x4da029=_0x12a2cc;this[_0x4da029(0x255)](_0x20c4bd);}[_0x12a2cc(0x3f4)](_0x3259f0){const _0x1e9336=_0x12a2cc,{unitID:_0x51f2f8}=_0x3259f0,{collaboration:_0x292443}=this[_0x1e9336(0x405)][_0x1e9336(0x420)](_0x51f2f8);if(_0x292443[_0x1e9336(0x386)]===0x0)return _0x3259f0;let _0x3dc8f7=_0x5c9413['Tools'][_0x1e9336(0x42e)](_0x3259f0['mutations'][0x0]);for(let _0x12e868=0x0;_0x12e868<_0x292443[_0x1e9336(0x386)];_0x12e868++){const _0x645740={'id':_0x1e9336(0x3a9),'params':{'unitId':_0x292443[_0x12e868][_0x1e9336(0x330)],..._0x292443[_0x12e868][_0x1e9336(0x20f)]}},_0x49f9ea=this['_transformService']['transformMutation'](_0x3dc8f7,_0x645740,!0x1);if(_0x492d9e[_0x1e9336(0x31b)](_0x49f9ea))throw _0x49f9ea[_0x1e9336(0x262)];_0x3dc8f7=_0x49f9ea[_0x1e9336(0x2d5)];}return{..._0x5c9413[_0x1e9336(0x21f)][_0x1e9336(0x42e)](_0x3259f0),'mutations':[_0x3dc8f7]};}[_0x12a2cc(0x255)](_0x4382ca){const _0x33b97a=_0x12a2cc,{unitID:_0x310f65}=_0x4382ca,{history:_0x40bb35,collaboration:_0x3a6164}=this[_0x33b97a(0x405)]['getStateCache'](_0x310f65);if(_0x40bb35[_0x33b97a(0x386)]===0x0&&_0x3a6164['length']===0x0)return;const _0x2ea997=[],_0x11efce=[];let _0x597237=_0x5c9413[_0x33b97a(0x21f)][_0x33b97a(0x42e)](_0x4382ca[_0x33b97a(0x1e9)][0x0]),_0x3fe4a7=_0x5c9413['Tools'][_0x33b97a(0x42e)](_0x4382ca[_0x33b97a(0x1e9)][0x0]);for(let _0x44922e=_0x40bb35[_0x33b97a(0x386)]-0x1;_0x44922e>=0x0;_0x44922e--){const _0x685799={'id':_0x33b97a(0x3a9),'params':{'unitId':_0x40bb35[_0x44922e][_0x33b97a(0x330)],..._0x40bb35[_0x44922e][_0x33b97a(0x36c)]}},_0x5b949c={'id':_0x33b97a(0x3a9),'params':{'unitId':_0x40bb35[_0x44922e][_0x33b97a(0x330)],..._0x40bb35[_0x44922e][_0x33b97a(0x20f)]}},_0x36d666=this[_0x33b97a(0x270)][_0x33b97a(0x305)](_0x597237,_0x685799,!0x1),_0x255dfe=this[_0x33b97a(0x270)][_0x33b97a(0x305)](_0x3fe4a7,_0x5b949c,!0x1);if(_0x492d9e[_0x33b97a(0x31b)](_0x36d666))throw _0x36d666['error'];if(_0x492d9e[_0x33b97a(0x31b)](_0x255dfe))throw _0x255dfe[_0x33b97a(0x262)];_0x2ea997[_0x33b97a(0x46a)]({..._0x40bb35[_0x44922e],'undoState':_0x36d666[_0x33b97a(0x3c9)][_0x33b97a(0x281)],'redoState':_0x255dfe[_0x33b97a(0x3c9)][_0x33b97a(0x281)]}),_0x597237=_0x36d666[_0x33b97a(0x2d5)],_0x3fe4a7=_0x255dfe[_0x33b97a(0x2d5)];}_0x597237=_0x5c9413[_0x33b97a(0x21f)][_0x33b97a(0x42e)](_0x4382ca['mutations'][0x0]),_0x3fe4a7=_0x5c9413[_0x33b97a(0x21f)][_0x33b97a(0x42e)](_0x4382ca['mutations'][0x0]);for(let _0x3f0109=_0x3a6164[_0x33b97a(0x386)]-0x1;_0x3f0109>=0x0;_0x3f0109--){const _0x3d6584={'id':_0x33b97a(0x3a9),'params':{'unitId':_0x3a6164[_0x3f0109][_0x33b97a(0x330)],..._0x3a6164[_0x3f0109][_0x33b97a(0x36c)]}},_0x2a7262={'id':_0x33b97a(0x3a9),'params':{'unitId':_0x3a6164[_0x3f0109]['unitId'],..._0x3a6164[_0x3f0109][_0x33b97a(0x20f)]}},_0x2f15a7=this['_transformService'][_0x33b97a(0x305)](_0x597237,_0x3d6584,!0x1),_0x4d7fbb=this[_0x33b97a(0x270)][_0x33b97a(0x305)](_0x3fe4a7,_0x2a7262,!0x1);if(_0x492d9e[_0x33b97a(0x31b)](_0x2f15a7))throw _0x2f15a7[_0x33b97a(0x262)];if(_0x492d9e[_0x33b97a(0x31b)](_0x4d7fbb))throw _0x4d7fbb['error'];_0x11efce[_0x33b97a(0x46a)]({..._0x3a6164[_0x3f0109],'undoState':_0x2f15a7[_0x33b97a(0x3c9)][_0x33b97a(0x281)],'redoState':_0x4d7fbb[_0x33b97a(0x3c9)][_0x33b97a(0x281)]}),_0x597237=_0x2f15a7['m1Prime'],_0x3fe4a7=_0x4d7fbb[_0x33b97a(0x2d5)];}this[_0x33b97a(0x405)][_0x33b97a(0x267)](_0x310f65,{'history':_0x2ea997,'collaboration':_0x11efce});}};_0x135a09=_0x351e4d([_0x202121(0x0,_0x5c9413[_0x12a2cc(0x38c)](_0x5c9413[_0x12a2cc(0x414)])),_0x202121(0x1,_0x492d9e[_0x12a2cc(0x3f6)]),_0x202121(0x2,_0x5c9413[_0x12a2cc(0x38c)](_0x2f8870['DocStateChangeManagerService']))],_0x135a09);var _0x20afa8=Object[_0x12a2cc(0x436)],_0xf89832=(_0x552dc9,_0x82a907,_0x49aec8,_0x5e8e2a)=>{const _0x41d45c=_0x12a2cc;for(var _0xcbc15=_0x5e8e2a>0x1?void 0x0:_0x5e8e2a?_0x20afa8(_0x82a907,_0x49aec8):_0x82a907,_0x47fecf=_0x552dc9[_0x41d45c(0x386)]-0x1,_0x538124;_0x47fecf>=0x0;_0x47fecf--)(_0x538124=_0x552dc9[_0x47fecf])&&(_0xcbc15=_0x538124(_0xcbc15)||_0xcbc15);return _0xcbc15;},_0x4e5b7e=(_0xe49223,_0x1f789b)=>(_0x496257,_0x14b93a)=>_0x1f789b(_0x496257,_0x14b93a,_0xe49223);let _0x369632=class{constructor(_0x392c62,_0x166249){const _0x2e639c=_0x12a2cc;this[_0x2e639c(0x2fb)]=_0x392c62,this[_0x2e639c(0x270)]=_0x166249;}[_0x12a2cc(0x2b6)](_0x2ec7ce){const _0x20d1ee=_0x12a2cc;var _0xac09d0;const _0xa0e4b6=this[_0x20d1ee(0x2fb)][_0x20d1ee(0x2f0)](_0x39044d[_0x20d1ee(0x252)]),_0x19aac1=(_0xac09d0=_0xa0e4b6[_0x20d1ee(0x2e0)]())!=null?_0xac09d0:[];if(_0x19aac1['length']===0x0)return;const _0x78a6c7=_0x2ec7ce['unitID'],_0x1baee8=[{'id':_0x20d1ee(0x3a9),'params':{'unitId':_0x78a6c7,'actions':null,'textRanges':_0x19aac1}}],_0x551a5d=this[_0x20d1ee(0x270)][_0x20d1ee(0x415)](_0x2ec7ce,_0x1baee8);if(!_0x492d9e[_0x20d1ee(0x448)](_0x551a5d))throw _0x551a5d[_0x20d1ee(0x262)];const _0x550b3e=_0x551a5d[_0x20d1ee(0x3c9)][0x0]['params'][_0x20d1ee(0x280)];Array[_0x20d1ee(0x2c4)](_0x550b3e)&&_0x550b3e['length']&&_0xa0e4b6[_0x20d1ee(0x238)](_0x550b3e,{'unitId':_0x78a6c7,'subUnitId':_0x78a6c7},!0x1);}};_0x369632=_0xf89832([_0x4e5b7e(0x0,_0x5c9413[_0x12a2cc(0x38c)](_0x5c9413[_0x12a2cc(0x414)])),_0x4e5b7e(0x1,_0x492d9e[_0x12a2cc(0x3f6)])],_0x369632);var _0x5000f0=Object[_0x12a2cc(0x436)],_0x390e93=(_0x1b112c,_0x546cff,_0x54f514,_0x3d879e)=>{const _0x35da35=_0x12a2cc;for(var _0x12ffa0=_0x3d879e>0x1?void 0x0:_0x3d879e?_0x5000f0(_0x546cff,_0x54f514):_0x546cff,_0x5484e3=_0x1b112c[_0x35da35(0x386)]-0x1,_0x4915d8;_0x5484e3>=0x0;_0x5484e3--)(_0x4915d8=_0x1b112c[_0x5484e3])&&(_0x12ffa0=_0x4915d8(_0x12ffa0)||_0x12ffa0);return _0x12ffa0;},_0x5e2036=(_0x3d32d0,_0x19025c)=>(_0x93c39c,_0x1ca988)=>_0x19025c(_0x93c39c,_0x1ca988,_0x3d32d0);let _0x2beeff=class extends _0x5c9413['Disposable']{constructor(_0xeda6ad,_0x1054fe,_0x47f276,_0x1af3dd,_0x4d71d6,_0x292e18,_0xd96791,_0x199ea7){const _0x523e3d=_0x12a2cc;super(),_0x1206b7(this,'_status$',new _0x5c807f[(_0x523e3d(0x3bb))](_0x532bba[_0x523e3d(0x41e)][_0x523e3d(0x277)])),(this[_0x523e3d(0x405)]=_0xeda6ad,this[_0x523e3d(0x24e)]=_0x1054fe,this[_0x523e3d(0x370)]=_0x47f276,this[_0x523e3d(0x2a4)]=_0x1af3dd,this[_0x523e3d(0x3f1)]=_0x4d71d6,this[_0x523e3d(0x26b)]=_0x292e18,this[_0x523e3d(0x395)]=_0xd96791,this[_0x523e3d(0x27b)]=_0x199ea7,this[_0x523e3d(0x2d6)]());}[_0x12a2cc(0x2d6)](){const _0x1fb739=_0x12a2cc;this['disposeWithMe'](this[_0x1fb739(0x24e)][_0x1fb739(0x29a)][_0x1fb739(0x29f)](_0x47830a=>{const _0x38510d=_0x1fb739,_0x7ced77=this[_0x38510d(0x405)][_0x38510d(0x30e)][_0x38510d(0x29f)](_0x295651=>{const _0x408026=_0x38510d;if(_0x295651==null)return;const {unitId:_0x17d846,redoState:_0x50cc33,commandId:_0x4969c9}=_0x295651;if(_0x17d846!==_0x47830a['unitID'])return;const _0x4eb8e0={'id':_0x4969c9,'type':_0x5c9413[_0x408026(0x2e9)][_0x408026(0x381)],'params':{'unitId':_0x17d846,'actions':_0x50cc33[_0x408026(0x2b5)],'textRanges':null}};_0x47830a['onLocalMutation'](_0x4eb8e0);});if(_0x47830a['disposeWithMe'](_0x7ced77),_0x47830a instanceof _0x532bba[_0x38510d(0x3d6)]){const _0x389e65={'onTransformIME':_0x2f115c=>this['_docTransformIMECacheService']['transformIMECache'](_0x2f115c),'onTransformState':_0x5399ac=>this[_0x38510d(0x2a4)][_0x38510d(0x3ee)](_0x5399ac),'onTransformSelections':_0x1d9ce8=>this['_docTransformSelectionsService'][_0x38510d(0x2b6)](_0x1d9ce8),'onSyncEditingCollabCursor':_0x2da563=>this[_0x38510d(0x26b)][_0x38510d(0x374)](_0x2da563),'onTransformRemoteChangesetByIMECache':_0x250719=>this['_docTransformIMECacheService'][_0x38510d(0x3f4)](_0x250719),'onTransformRemoteChangesetByStateCache':_0x4eed03=>this[_0x38510d(0x2a4)]['transformRemoteChangeset'](_0x4eed03)};_0x47830a['addHandlerCallback'](_0x389e65);}}));}};_0x2beeff=_0x390e93([_0x5e2036(0x0,_0x5c9413[_0x12a2cc(0x38c)](_0x2f8870[_0x12a2cc(0x299)])),_0x5e2036(0x1,_0x5c9413[_0x12a2cc(0x38c)](_0x532bba['CollaborationController'])),_0x5e2036(0x2,_0x5c9413[_0x12a2cc(0x38c)](_0x1dc9e1)),_0x5e2036(0x3,_0x5c9413[_0x12a2cc(0x38c)](_0x135a09)),_0x5e2036(0x4,_0x5c9413['Inject'](_0x369632)),_0x5e2036(0x5,_0x5c9413['Inject'](_0x43ae26)),_0x5e2036(0x6,_0x4db0e6[_0x12a2cc(0x387)]),_0x5e2036(0x7,_0x5c9413[_0x12a2cc(0x38c)](_0x5c9413[_0x12a2cc(0x3d0)]))],_0x2beeff);var _0x2e1ac6=Object[_0x12a2cc(0x436)],_0x1060b9=(_0x2fb9ea,_0x5f5369,_0x50bd51,_0x5e2b90)=>{const _0xa2b4fa=_0x12a2cc;for(var _0x3fd105=_0x5e2b90>0x1?void 0x0:_0x5e2b90?_0x2e1ac6(_0x5f5369,_0x50bd51):_0x5f5369,_0xa15420=_0x2fb9ea[_0xa2b4fa(0x386)]-0x1,_0x511037;_0xa15420>=0x0;_0xa15420--)(_0x511037=_0x2fb9ea[_0xa15420])&&(_0x3fd105=_0x511037(_0x3fd105)||_0x3fd105);return _0x3fd105;},_0x58580e=(_0x5b2621,_0x5d3de1)=>(_0x5b193e,_0x57124a)=>_0x5d3de1(_0x5b193e,_0x57124a,_0x5b2621);let _0x515b68=class extends _0x5c9413[_0x12a2cc(0x474)]{constructor(_0x3aebd1,_0x47efd7,_0x5c797d){const _0x3e4f49=_0x12a2cc;super(),_0x1206b7(this,_0x3e4f49(0x349),new Map()),_0x1206b7(this,_0x3e4f49(0x24f),new Map()),_0x1206b7(this,_0x3e4f49(0x391),!0x1),(this['_configService']=_0x3aebd1,this[_0x3e4f49(0x42b)]=_0x47efd7,this[_0x3e4f49(0x484)]=_0x5c797d);}[_0x12a2cc(0x441)](){const _0x547c61=_0x12a2cc;this[_0x547c61(0x391)]=!0x0;}[_0x12a2cc(0x3fb)](){const _0x5e04b5=_0x12a2cc;this[_0x5e04b5(0x391)]=!0x1;}get['saveTaskMap'](){const _0x4923d3=_0x12a2cc;return this[_0x4923d3(0x24f)];}[_0x12a2cc(0x2eb)](){this['exhaustSavingTask']()['then'](()=>super['dispose']());}async['loadOfflineData'](_0x2e2013){const _0x159903=_0x12a2cc;return this[_0x159903(0x391)]?null:this[_0x159903(0x42b)][_0x159903(0x480)](_0x532bba[_0x159903(0x30d)](_0x2e2013));}async[_0x12a2cc(0x29c)](_0x4db657,_0x578a9b){const _0x8b837f=_0x12a2cc;return!!this['_localStorageService'][_0x8b837f(0x472)](_0x4db657,_0x578a9b);}[_0x12a2cc(0x404)](_0x49999e,_0x2491e3,_0x298bf5,_0x36758e){const _0xaabd70=_0x12a2cc,_0x317272=this['_revisionService'][_0xaabd70(0x44f)](_0x49999e);this['_cachedData'][_0xaabd70(0x2ee)](_0x49999e,{'unitID':_0x49999e,'type':_0x2491e3,'awaitingChangeset':_0x298bf5,'mutations':_0x36758e,'rev':_0x317272}),this[_0xaabd70(0x24f)][_0xaabd70(0x3f7)](_0x49999e)||this[_0xaabd70(0x21c)](_0x49999e);}[_0x12a2cc(0x21c)](_0x3e3ec8){const _0x4f043c=_0x12a2cc,_0x3c662e=this['_getSaveTimeout']();_0x3c662e===0x0?this[_0x4f043c(0x328)](_0x3e3ec8):this[_0x4f043c(0x24f)][_0x4f043c(0x2ee)](_0x3e3ec8,setTimeout(()=>this[_0x4f043c(0x328)](_0x3e3ec8),_0x3c662e));}[_0x12a2cc(0x376)](){const _0x3dd717=_0x12a2cc;var _0x130346;return(_0x130346=this[_0x3dd717(0x423)][_0x3dd717(0x3d7)](_0x532bba[_0x3dd717(0x2e1)]))!=null?_0x130346:_0x532bba[_0x3dd717(0x46b)];}[_0x12a2cc(0x328)](_0x258e12){const _0x3867f2=_0x12a2cc,_0x44b0ed=this[_0x3867f2(0x24f)][_0x3867f2(0x2f0)](_0x258e12);return _0x44b0ed!==void 0x0&&window[_0x3867f2(0x247)](_0x44b0ed),this[_0x3867f2(0x42b)][_0x3867f2(0x472)](_0x532bba['getLocalCacheKey'](_0x258e12),this['_cachedData'][_0x3867f2(0x2f0)](_0x258e12))[_0x3867f2(0x230)](()=>this[_0x3867f2(0x24f)][_0x3867f2(0x1f6)](_0x258e12));}async['exhaustSavingTask'](){const _0x23506a=_0x12a2cc,_0x144fb0=[];this[_0x23506a(0x24f)]['forEach']((_0x38883c,_0x536031)=>{const _0x10444f=_0x23506a;window[_0x10444f(0x247)](_0x38883c),_0x144fb0['push'](this['_saveCache'](_0x536031)[_0x10444f(0x230)](()=>{const _0x5f4436=_0x10444f;this[_0x5f4436(0x24f)]['delete'](_0x536031);}));}),await Promise[_0x23506a(0x3d5)](_0x144fb0);}};_0x515b68=_0x1060b9([_0x58580e(0x0,_0x5c9413[_0x12a2cc(0x3a5)]),_0x58580e(0x1,_0x5c9413[_0x12a2cc(0x35f)]),_0x58580e(0x2,_0x5c9413[_0x12a2cc(0x38c)](_0x492d9e[_0x12a2cc(0x3eb)]))],_0x515b68);class _0x2821f4 extends _0x5c9413[_0x12a2cc(0x435)]{constructor(){const _0x5abdac=_0x12a2cc;super(),_0x1206b7(this,_0x5abdac(0x2c6)),this[_0x5abdac(0x2c6)]=_0x5c807f['fromEvent'](window,_0x5abdac(0x45b))[_0x5abdac(0x2af)](_0x5c807f['takeUntil'](this['dispose$']),_0x5c807f[_0x5abdac(0x2d7)](0x1),_0x5c807f[_0x5abdac(0x293)](void 0x0));}[_0x12a2cc(0x283)](_0x51f4c3,_0x10af3e,_0x51959c=!0x1){const _0x1d06a1=_0x12a2cc,_0x1a5f4a=new URL(window[_0x1d06a1(0x394)][_0x1d06a1(0x409)]);_0x1a5f4a[_0x1d06a1(0x47e)][_0x1d06a1(0x2ee)](_0x51f4c3,_0x10af3e),_0x51959c?window[_0x1d06a1(0x285)]['replaceState']('','',_0x1a5f4a[_0x1d06a1(0x461)]()):window[_0x1d06a1(0x285)]['pushState']('','',_0x1a5f4a[_0x1d06a1(0x461)]());}[_0x12a2cc(0x3a6)](_0x2007d2,_0x4576cb=!0x1){const _0xa75042=_0x12a2cc,_0x378c3a=new URL(window[_0xa75042(0x394)][_0xa75042(0x409)]);_0x378c3a[_0xa75042(0x47e)][_0xa75042(0x1f6)](_0x2007d2),_0x4576cb?window['history'][_0xa75042(0x408)]('','',_0x378c3a[_0xa75042(0x461)]()):window['history'][_0xa75042(0x393)]('','',_0x378c3a[_0xa75042(0x461)]());}[_0x12a2cc(0x373)](_0xc13723){const _0x45ecbd=_0x12a2cc;var _0x12eed5;return(_0x12eed5=new URL(window['location'][_0x45ecbd(0x409)])[_0x45ecbd(0x47e)][_0x45ecbd(0x2f0)](_0xc13723))!=null?_0x12eed5:void 0x0;}}var _0x28c8b2=Object[_0x12a2cc(0x295)],_0x38f862=Object[_0x12a2cc(0x436)],_0x41dc6b=(_0x34f9b7,_0x1b6b92,_0x31557f)=>_0x1b6b92 in _0x34f9b7?_0x28c8b2(_0x34f9b7,_0x1b6b92,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x31557f}):_0x34f9b7[_0x1b6b92]=_0x31557f,_0x5e70b2=(_0x2a530d,_0x53e6ab,_0x106a6f,_0x443e3d)=>{const _0x3c815b=_0x12a2cc;for(var _0x4316ea=_0x443e3d>0x1?void 0x0:_0x443e3d?_0x38f862(_0x53e6ab,_0x106a6f):_0x53e6ab,_0x386b74=_0x2a530d[_0x3c815b(0x386)]-0x1,_0x4e1b07;_0x386b74>=0x0;_0x386b74--)(_0x4e1b07=_0x2a530d[_0x386b74])&&(_0x4316ea=_0x4e1b07(_0x4316ea)||_0x4316ea);return _0x4316ea;},_0x202d6d=(_0x1cec86,_0x52945c)=>(_0x279a81,_0x17f5bb)=>_0x52945c(_0x279a81,_0x17f5bb,_0x1cec86),_0x3506b7=(_0xfd56c9,_0x39edae,_0x355def)=>_0x41dc6b(_0xfd56c9,_0x39edae+'',_0x355def);const _0x472ddf=_0x12a2cc(0x2ad);_0x560529[_0x12a2cc(0x346)]=class extends _0x5c9413[_0x12a2cc(0x3b0)]{constructor(_0x5e1476=_0x3fc096,_0x475616,_0x462429,_0x50a8b3){const _0x116e71=_0x12a2cc;super(),this[_0x116e71(0x2e8)]=_0x5e1476,this[_0x116e71(0x486)]=_0x475616,this[_0x116e71(0x2fb)]=_0x462429,this[_0x116e71(0x423)]=_0x50a8b3;const {..._0x481314}=_0x5c9413[_0x116e71(0x22b)]({},_0x3fc096,this[_0x116e71(0x2e8)]);this[_0x116e71(0x423)][_0x116e71(0x40a)](_0x537436,_0x481314);}[_0x12a2cc(0x39a)](){const _0x2a1023=_0x12a2cc;this[_0x2a1023(0x217)](),this['_initDependencies']();}[_0x12a2cc(0x316)](){const _0x2e836e=_0x12a2cc;this[_0x2e836e(0x237)]();}[_0x12a2cc(0x217)](){const _0x2996d0=_0x12a2cc;var _0x197eb9;const _0x552eb9=[[_0x581544],[_0x369632],[_0x1dc9e1],[_0x135a09],[_0x43ae26],[_0x5c53ec,{'useClass':_0x2821f4}],[_0x592e97[_0x2996d0(0x1ff)],{'useClass':_0x592e97['WebSocketService']}],[_0x532bba['ILocalCacheService'],{'useClass':_0x515b68}],[_0x560529['DesktopCollaborationStatusDisplayController']],[_0x2beeff],[_0x7d8b6],[_0x44788c],[_0x29cac0],[_0x560529[_0x2996d0(0x29b)]]];_0x5c9413['registerDependencies'](this[_0x2996d0(0x2fb)],_0x5c9413[_0x2996d0(0x3bd)](_0x552eb9,(_0x197eb9=this[_0x2996d0(0x2e8)])==null?void 0x0:_0x197eb9[_0x2996d0(0x33d)]));}[_0x12a2cc(0x237)](){const _0x565ef6=_0x12a2cc;this['disposeWithMe'](this[_0x565ef6(0x486)][_0x565ef6(0x32f)](_0x5c9413[_0x565ef6(0x2be)]['UNIVER_DOC'],[_0x1f01a9])),this[_0x565ef6(0x30f)](this[_0x565ef6(0x486)][_0x565ef6(0x32f)](_0x5c9413['UniverInstanceType'][_0x565ef6(0x3ea)],[_0x5203d8]));}[_0x12a2cc(0x407)](){const _0x28c6da=_0x12a2cc;_0x5c9413['touchDependencies'](this[_0x28c6da(0x2fb)],[[_0x44788c],[_0x560529['DesktopCollaborationStatusDisplayController']],[_0x2beeff],[_0x7d8b6],[_0x560529[_0x28c6da(0x29b)]]]);}},_0x3506b7(_0x560529['UniverCollaborationClientUIPlugin'],'pluginName',_0x472ddf),_0x560529[_0x12a2cc(0x346)]=_0x5e70b2([_0x5c9413[_0x12a2cc(0x3af)](_0x532bba[_0x12a2cc(0x44e)]),_0x202d6d(0x1,_0x1f04f6[_0x12a2cc(0x3ef)]),_0x202d6d(0x2,_0x5c9413['Inject'](_0x5c9413[_0x12a2cc(0x414)])),_0x202d6d(0x3,_0x5c9413['IConfigService'])],_0x560529[_0x12a2cc(0x346)]);var _0x56da9c=Object[_0x12a2cc(0x436)],_0x49f51b=(_0x18ba02,_0x1ebcbd,_0x51397f,_0x30c61c)=>{const _0x19d9ad=_0x12a2cc;for(var _0x201d63=_0x30c61c>0x1?void 0x0:_0x30c61c?_0x56da9c(_0x1ebcbd,_0x51397f):_0x1ebcbd,_0x5790f3=_0x18ba02[_0x19d9ad(0x386)]-0x1,_0x1ff477;_0x5790f3>=0x0;_0x5790f3--)(_0x1ff477=_0x18ba02[_0x5790f3])&&(_0x201d63=_0x1ff477(_0x201d63)||_0x201d63);return _0x201d63;},_0x4e18b4=(_0x27e8cf,_0x4962de)=>(_0x43b834,_0x193a76)=>_0x4962de(_0x43b834,_0x193a76,_0x27e8cf);_0x560529[_0x12a2cc(0x3df)]=class extends _0x532bba[_0x12a2cc(0x274)]{constructor(_0x344c44,_0x296fda,_0x56505d,_0x33c353,_0x14ece0){super(_0x344c44,_0x296fda,_0x56505d,_0x33c353,_0x14ece0);}async[_0x12a2cc(0x25e)](_0x1a4e97){const _0x4d4415=_0x12a2cc,_0xc234dd=await this['_getSessionTicket'](),_0x4844b3=this[_0x4d4415(0x1ec)](_0x1a4e97,_0xc234dd);return this['_doCreateSocket'](_0x4844b3);}[_0x12a2cc(0x1ec)](_0x5ae278,_0x50ae6f){const _0x1eae65=_0x12a2cc,_0x69db9a=typeof window>'u'?new URL(_0x5ae278):new URL(_0x5ae278,window[_0x1eae65(0x394)][_0x1eae65(0x455)]);_0x69db9a[_0x1eae65(0x47e)]['set'](_0x1eae65(0x290),_0x50ae6f);const _0x16b394=typeof window>'u'?new URLSearchParams():new URLSearchParams(window[_0x1eae65(0x394)][_0x1eae65(0x28a)]);return _0x16b394['get'](_0x1eae65(0x450))&&_0x69db9a[_0x1eae65(0x47e)][_0x1eae65(0x2ee)](_0x1eae65(0x450),_0x16b394[_0x1eae65(0x2f0)](_0x1eae65(0x450))),_0x69db9a[_0x1eae65(0x461)]();}async[_0x12a2cc(0x1fb)](){const _0x265873=_0x12a2cc;var _0x41a53e,_0x5da90f,_0xa617a1;const _0x5d673a=this[_0x265873(0x423)][_0x265873(0x3d7)](_0x532bba[_0x265873(0x243)]),_0x41c011=(_0x41a53e=_0x5d673a==null?void 0x0:_0x5d673a[_0x265873(0x2cc)])!=null?_0x41a53e:_0x532bba[_0x265873(0x451)];return(_0xa617a1=(_0x5da90f=(await this[_0x265873(0x3a0)][_0x265873(0x2f0)](_0x41c011,{'headers':{'Content-Type':_0x265873(0x3ed)}}))[_0x265873(0x43e)])==null?void 0x0:_0x5da90f['ticket'])!=null?_0xa617a1:'';}},_0x560529['BrowserCollaborationSocketService']=_0x49f51b([_0x4e18b4(0x0,_0x5c9413['Inject'](_0x5c9413['Injector'])),_0x4e18b4(0x1,_0x5c9413[_0x12a2cc(0x38c)](_0x592e97[_0x12a2cc(0x3dc)])),_0x4e18b4(0x2,_0x5c9413[_0x12a2cc(0x3a5)]),_0x4e18b4(0x3,_0x5c9413['ILogService']),_0x4e18b4(0x4,_0x492d9e[_0x12a2cc(0x347)])],_0x560529[_0x12a2cc(0x3df)]);const _0x4d14a8=0x7530,_0xfccced='ACTIVE_UNIT_EVENT_CHANNEL';class _0x11d245 extends _0x5c9413[_0x12a2cc(0x474)]{constructor(){const _0x1c4b0e=_0x12a2cc;super(),_0x1206b7(this,_0x1c4b0e(0x485),_0x5c9413[_0x1c4b0e(0x34a)]()),_0x1206b7(this,'_selfUnitIDs',new Set()),_0x1206b7(this,_0x1c4b0e(0x459),new Map()),_0x1206b7(this,_0x1c4b0e(0x38d),null),_0x1206b7(this,'_clearOtherTimers',new Map()),_0x1206b7(this,'_unitStatus',new Map()),this[_0x1c4b0e(0x47c)]();}['dispose'](){const _0x273d7a=_0x12a2cc;super[_0x273d7a(0x2eb)](),this[_0x273d7a(0x46d)][_0x273d7a(0x3c8)]((_0xdeacad,_0x5f3c53)=>this['_removeClearOtherTimer'](_0x5f3c53)),this[_0x273d7a(0x38d)]&&window[_0x273d7a(0x31d)](this[_0x273d7a(0x38d)]);}[_0x12a2cc(0x31a)](_0x5d7de4){return this['_ensureSubject'](_0x5d7de4)['pipe'](_0x5c807f['distinctUntilChanged']());}[_0x12a2cc(0x3cf)](_0xd19461){const _0x5b5108=_0x12a2cc;this[_0x5b5108(0x383)]['size']===0x0&&this[_0x5b5108(0x39c)](),this[_0x5b5108(0x383)][_0x5b5108(0x209)](_0xd19461),this[_0x5b5108(0x2d2)]({'type':0x0,'memberID':this['_id'],'unitIDs':[_0xd19461],'isForwarded':!0x1});}[_0x12a2cc(0x41a)](_0x4020e1){const _0x79734f=_0x12a2cc;this[_0x79734f(0x383)][_0x79734f(0x1f6)](_0x4020e1),this[_0x79734f(0x383)][_0x79734f(0x483)]===0x0&&this[_0x79734f(0x38d)]&&window[_0x79734f(0x31d)](this[_0x79734f(0x38d)]);}[_0x12a2cc(0x47c)](){const _0xfc0748=_0x12a2cc;this['disposeWithMe'](_0x5c9413['toDisposable'](_0x5c807f['fromEvent'](window,'storage')[_0xfc0748(0x29f)](_0x1cb738=>{const _0x53773a=_0xfc0748;if(_0x1cb738[_0x53773a(0x1ef)]!==_0xfccced||!_0x1cb738[_0x53773a(0x204)])return;const _0x4b95f8=JSON[_0x53773a(0x2bd)](_0x1cb738['newValue']);this['_handleEvent'](_0x4b95f8);}))),window['addEventListener'](_0xfc0748(0x3e6),()=>this['_send']({'type':0x1,'memberID':this[_0xfc0748(0x485)],'unitIDs':Array[_0xfc0748(0x466)](this[_0xfc0748(0x383)])}));}[_0x12a2cc(0x3cd)](_0x330442){const _0x3527f5=_0x12a2cc;switch(_0x330442['type']){case 0x0:this[_0x3527f5(0x203)](_0x330442);break;case 0x1:this['_handleLeaveEvent'](_0x330442);break;case 0x2:this[_0x3527f5(0x2ac)](_0x330442);break;}}[_0x12a2cc(0x203)](_0xfbb224){const _0x18539c=_0x12a2cc,{unitIDs:_0x661a21,memberID:_0xd578d6,isForwarded:_0xa296e9}=_0xfbb224;_0x661a21[_0x18539c(0x3c8)](_0x4289a4=>{const _0x544d28=_0x18539c;if(!_0xa296e9&&this[_0x544d28(0x459)][_0x544d28(0x3f7)](_0x4289a4)&&this[_0x544d28(0x465)](_0x4289a4)[_0x544d28(0x1eb)](_0x532bba[_0x544d28(0x263)][_0x544d28(0x469)]),!this['_unitOnClients'][_0x544d28(0x3f7)](_0x4289a4)||!this[_0x544d28(0x459)]['get'](_0x4289a4)['has'](_0xd578d6)){const _0xee4858=this[_0x544d28(0x459)][_0x544d28(0x2f0)](_0x4289a4)||new Set();_0xee4858[_0x544d28(0x209)](_0xd578d6),this['_unitOnClients']['set'](_0x4289a4,_0xee4858),this['_scheduleClearOtherTimer'](_0xd578d6);}}),_0xa296e9||this[_0x18539c(0x2d2)]({'type':0x0,'memberID':this[_0x18539c(0x485)],'unitIDs':[...this[_0x18539c(0x383)]],'isForwarded':!0x0});}[_0x12a2cc(0x205)](_0x28561b){const _0x1ffb34=_0x12a2cc;this[_0x1ffb34(0x2a8)](_0x28561b);const _0x20d8f8=window['setTimeout'](()=>{const _0x44c099=_0x1ffb34;this[_0x44c099(0x459)][_0x44c099(0x3c8)](_0x4c7d1f=>{const _0x2cc092=_0x44c099;_0x4c7d1f[_0x2cc092(0x1f6)](_0x28561b);});},_0x4d14a8*0x2);this[_0x1ffb34(0x46d)][_0x1ffb34(0x2ee)](_0x28561b,_0x20d8f8);}[_0x12a2cc(0x2a8)](_0x2fe505){const _0xf9982c=_0x12a2cc;if(this[_0xf9982c(0x46d)][_0xf9982c(0x3f7)](_0x2fe505)){const _0x47b391=this[_0xf9982c(0x46d)][_0xf9982c(0x2f0)](_0x2fe505);_0x47b391&&window['clearTimeout'](_0x47b391),this[_0xf9982c(0x46d)][_0xf9982c(0x2ee)](_0x2fe505,null);}}[_0x12a2cc(0x2fd)](_0x249a3b){const _0x2d2273=_0x12a2cc,{memberID:_0x2f5604,unitIDs:_0x4bafe6}=_0x249a3b;_0x4bafe6[_0x2d2273(0x3c8)](_0x36b5da=>{const _0x84dea8=_0x2d2273;var _0xbf22ed;const _0x325f13=this[_0x84dea8(0x459)][_0x84dea8(0x2f0)](_0x36b5da);_0x325f13&&(_0x325f13[_0x84dea8(0x1f6)](_0x2f5604),(_0xbf22ed=this[_0x84dea8(0x465)](_0x36b5da))==null||_0xbf22ed['next'](_0x325f13[_0x84dea8(0x483)]===0x0?_0x532bba['UnitStatus'][_0x84dea8(0x447)]:_0x532bba[_0x84dea8(0x263)]['OTHER_CLIENTS_EDITING']));}),this[_0x2d2273(0x2a8)](_0x2f5604);}[_0x12a2cc(0x2ac)](_0x125ebb){const _0x5b911e=_0x12a2cc;this[_0x5b911e(0x205)](_0x125ebb[_0x5b911e(0x2dd)]);}[_0x12a2cc(0x2d2)](_0x4b6110){const _0x18746b=_0x12a2cc;localStorage[_0x18746b(0x472)](_0xfccced,JSON[_0x18746b(0x224)](_0x4b6110));}[_0x12a2cc(0x39c)](){const _0x710939=_0x12a2cc;this[_0x710939(0x38d)]=window[_0x710939(0x20d)](()=>{const _0x2c960f=_0x710939;this['_send']({'type':0x2,'memberID':this[_0x2c960f(0x485)]});},_0x4d14a8);}[_0x12a2cc(0x465)](_0x5c4a8b){const _0x4af816=_0x12a2cc;return this[_0x4af816(0x361)][_0x4af816(0x3f7)](_0x5c4a8b)||this[_0x4af816(0x361)][_0x4af816(0x2ee)](_0x5c4a8b,new _0x5c807f[(_0x4af816(0x3bb))](_0x532bba[_0x4af816(0x263)][_0x4af816(0x447)])),this['_unitStatus'][_0x4af816(0x2f0)](_0x5c4a8b);}}var _0x5e2200=(_0x317213=>(_0x317213[_0x317213[_0x12a2cc(0x42d)]=0x0]=_0x12a2cc(0x42d),_0x317213[_0x317213['OK']=0x1]='OK',_0x317213[_0x317213[_0x12a2cc(0x2e2)]=0x2]='INTERNAL_ERROR',_0x317213[_0x317213[_0x12a2cc(0x3f0)]=0x3]=_0x12a2cc(0x3f0),_0x317213[_0x317213[_0x12a2cc(0x2ab)]=0x4]=_0x12a2cc(0x2ab),_0x317213[_0x317213['UNAUTHENTICATED']=0x5]=_0x12a2cc(0x379),_0x317213[_0x317213[_0x12a2cc(0x3f8)]=0x6]=_0x12a2cc(0x3f8),_0x317213[_0x317213[_0x12a2cc(0x400)]=0x7]=_0x12a2cc(0x400),_0x317213[_0x317213[_0x12a2cc(0x375)]=0x8]=_0x12a2cc(0x375),_0x317213[_0x317213[_0x12a2cc(0x2c1)]=0x9]=_0x12a2cc(0x2c1),_0x317213[_0x317213[_0x12a2cc(0x260)]=0xa]=_0x12a2cc(0x260),_0x317213[_0x317213['MOBILE_VERIFY_CODE_MISMATCH']=0xb]='MOBILE_VERIFY_CODE_MISMATCH',_0x317213[_0x317213[_0x12a2cc(0x42c)]=0xc]=_0x12a2cc(0x42c),_0x317213[_0x317213[_0x12a2cc(0x2ce)]=0xd]='EMAIL_VERIFY_CODE_MISMATCH',_0x317213[_0x317213[_0x12a2cc(0x26e)]=0xe]=_0x12a2cc(0x26e),_0x317213[_0x317213[_0x12a2cc(0x287)]=0x1389]='CHANGESET_REVISION_CONFILICT',_0x317213[_0x317213[_0x12a2cc(0x31e)]=0x1771]=_0x12a2cc(0x31e),_0x317213[_0x317213['SNAPSHOT_HAS_BEEN_REMOVED']=0x1772]=_0x12a2cc(0x276),_0x317213[_0x317213[_0x12a2cc(0x229)]=0x1773]=_0x12a2cc(0x229),_0x317213[_0x317213[_0x12a2cc(0x443)]=0x1b59]=_0x12a2cc(0x443),_0x317213[_0x317213['APPLY_NON_SEQUENTIAL_REVISION']=0x1b5a]='APPLY_NON_SEQUENTIAL_REVISION',_0x317213[_0x317213[_0x12a2cc(0x42a)]=0x1b5b]='APPLY_REVISION_CONFILICT',_0x317213[_0x317213['APPLY_PERMISSION_DENIED']=0x1b5c]=_0x12a2cc(0x22f),_0x317213[_0x317213['APPLY_DUPLICATED']=0x1b5d]='APPLY_DUPLICATED',_0x317213[_0x317213[_0x12a2cc(0x24b)]=0x1f41]='CONNECTOR_DATA_TOO_LARGE',_0x317213[_0x317213[_0x12a2cc(0x3b2)]=0x2329]=_0x12a2cc(0x3b2),_0x317213[_0x317213[_0x12a2cc(0x2b2)]=0x232a]=_0x12a2cc(0x2b2),_0x317213[_0x317213[_0x12a2cc(0x2cf)]=0x232b]=_0x12a2cc(0x2cf),_0x317213[_0x317213[_0x12a2cc(0x30a)]=0x232c]='LICENSE_EXPORT_SIZE_EXCEEDED',_0x317213[_0x317213[_0x12a2cc(0x2f8)]=0x232d]=_0x12a2cc(0x2f8),_0x317213[_0x317213['YUUMI_UNABLE_LOAD_URL']=0x2711]=_0x12a2cc(0x2b8),_0x317213[_0x317213['YUUMI_URL_COL_OUT_OF_RANGE']=0x2712]=_0x12a2cc(0x40f),_0x317213[_0x317213['YUUMI_RATE_OVER_LIMIT']=0x2713]='YUUMI_RATE_OVER_LIMIT',_0x317213[_0x317213[_0x12a2cc(0x463)]=0x2714]=_0x12a2cc(0x463),_0x317213[_0x317213['YUUMI_NO_CUBOID_FOR_QUESTION']=0x271a]=_0x12a2cc(0x2c5),_0x317213[_0x317213[_0x12a2cc(0x473)]=0x271b]=_0x12a2cc(0x473),_0x317213[_0x317213[_0x12a2cc(0x306)]=0x271c]=_0x12a2cc(0x306),_0x317213[_0x317213[_0x12a2cc(0x23d)]=0x271d]=_0x12a2cc(0x23d),_0x317213[_0x317213[_0x12a2cc(0x272)]=0x271e]=_0x12a2cc(0x272),_0x317213[_0x317213['YUUMI_AI_RUN_FAILED']=0x271f]=_0x12a2cc(0x45e),_0x317213[_0x317213[_0x12a2cc(0x2f7)]=0x2720]=_0x12a2cc(0x2f7),_0x317213[_0x317213['PY_RUNTIME_SCRIPT_ERROR']=0x2af9]=_0x12a2cc(0x413),_0x317213[_0x317213['INVITE_CODE_HAS_BEEN_UES']=0x2ee1]=_0x12a2cc(0x2c3),_0x317213[_0x317213[_0x12a2cc(0x279)]=0x2ee2]='INVALID_INVITE_CODE',_0x317213[_0x317213[_0x12a2cc(0x34b)]=0x2ee3]=_0x12a2cc(0x34b),_0x317213[_0x317213[_0x12a2cc(0x368)]=0x2ee4]='USER_NOT_INVITED_CODE',_0x317213[_0x317213[_0x12a2cc(0x3bf)]=0x2ee5]=_0x12a2cc(0x3bf),_0x317213[_0x317213[_0x12a2cc(0x41b)]=0x32c9]='WECHAT_HAS_BEEN_BOUND',_0x317213[_0x317213[_0x12a2cc(0x367)]=0x32ca]='MOBILE_HAS_BEEN_BOUND',_0x317213[_0x317213['EMAIL_HAS_BEEN_BOUND']=0x32cb]=_0x12a2cc(0x32e),_0x317213[_0x317213[_0x12a2cc(0x216)]=-0x1]='UNRECOGNIZED',_0x317213))(_0x5e2200||{}),_0x5af3c1=Object[_0x12a2cc(0x436)],_0x43e4a1=(_0x3677bc,_0x292575,_0x2d178c,_0x33e079)=>{const _0x11e7f7=_0x12a2cc;for(var _0x844dac=_0x33e079>0x1?void 0x0:_0x33e079?_0x5af3c1(_0x292575,_0x2d178c):_0x292575,_0x4f3be8=_0x3677bc[_0x11e7f7(0x386)]-0x1,_0x5a70cc;_0x4f3be8>=0x0;_0x4f3be8--)(_0x5a70cc=_0x3677bc[_0x4f3be8])&&(_0x844dac=_0x5a70cc(_0x844dac)||_0x844dac);return _0x844dac;},_0x5f485a=(_0x28fc1b,_0x2bcf14)=>(_0x5531cc,_0x11765e)=>_0x2bcf14(_0x5531cc,_0x11765e,_0x28fc1b);_0x560529[_0x12a2cc(0x46c)]=class extends _0x5c9413[_0x12a2cc(0x474)]{constructor(_0x4783c4,_0x4e2dcb,_0x1fef2a){const _0x241657=_0x12a2cc;super(),this[_0x241657(0x2aa)]=_0x4783c4,this['_httpService']=_0x4e2dcb,this[_0x241657(0x423)]=_0x1fef2a;}async['runOnServer'](_0x45af61,_0x6d8bcd,_0x247b29,..._0x132265){const _0x45c806=_0x12a2cc;var _0x49d502,_0x52d8ee,_0x1d35af,_0x5dc469;const _0x2c3f48=this[_0x45c806(0x2aa)][_0x45c806(0x3a3)]();if(!_0x2c3f48)throw new Error(_0x45c806(0x337));const _0x53fd09=((_0x49d502=this[_0x45c806(0x423)][_0x45c806(0x3d7)](_0x532bba[_0x45c806(0x275)]))!=null?_0x49d502:_0x532bba[_0x45c806(0x2e6)])+'/'+_0x45af61+_0x45c806(0x3e5)+_0x6d8bcd,_0x41bec9=new URL(window[_0x45c806(0x394)]['href']),_0x5465cc={'scriptId':_0x45af61,'runId':(_0x52d8ee=_0x41bec9[_0x45c806(0x47e)][_0x45c806(0x2f0)](_0x45c806(0x450)))!=null?_0x52d8ee:'','function':_0x6d8bcd,'unitId':_0x2c3f48['getUnitId'](),'argsOfFunction':JSON[_0x45c806(0x224)](_0x132265),'invokeId':(_0x1d35af=_0x247b29[_0x45c806(0x43c)])!=null?_0x1d35af:'','executionId':(_0x5dc469=_0x247b29[_0x45c806(0x1f7)])!=null?_0x5dc469:''};try{const _0x2e2fb2=await this[_0x45c806(0x3a0)][_0x45c806(0x3e9)](_0x53fd09,{'body':_0x5465cc});return _0x2e2fb2[_0x45c806(0x43e)][_0x45c806(0x262)]&&_0x2e2fb2[_0x45c806(0x43e)][_0x45c806(0x262)][_0x45c806(0x39e)]!==_0x5e2200['OK']?_0x45c806(0x34d):_0x2e2fb2[_0x45c806(0x43e)][_0x45c806(0x2e7)];}catch{return'Failed';}}},_0x560529[_0x12a2cc(0x46c)]=_0x43e4a1([_0x5f485a(0x0,_0x5c9413[_0x12a2cc(0x35d)]),_0x5f485a(0x1,_0x5c9413['Inject'](_0x592e97[_0x12a2cc(0x3dc)])),_0x5f485a(0x2,_0x5c9413[_0x12a2cc(0x3a5)])],_0x560529[_0x12a2cc(0x46c)]),_0x560529['CollaborationStatusDisplay']=_0x892990,_0x560529[_0x12a2cc(0x350)]=_0x5c53ec,_0x560529[_0x12a2cc(0x288)]=_0x3df81e,_0x560529['WebBrowserSingleActiveUnitService']=_0x11d245,_0x560529[_0x12a2cc(0x433)]=_0x2821f4,Object[_0x12a2cc(0x295)](_0x560529,Symbol[_0x12a2cc(0x47a)],{'value':_0x12a2cc(0x2d3)});}));function _0x380c(_0x3ad04e,_0x1550d2){const _0x1c909a=_0x1c90();return _0x380c=function(_0x380cb5,_0x2959e8){_0x380cb5=_0x380cb5-0x1e5;let _0x242a12=_0x1c909a[_0x380cb5];return _0x242a12;},_0x380c(_0x3ad04e,_0x1550d2);}function _0x1c90(){const _0x5dc924=['getOwnPropertySymbols','amd','No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.','getSheetId','ILogService','DependentOn','Plugin','function','LICENSE_MAX_UNITS_EXCEEDED','addObjects','useDependency','_lastPointer','_logService','_imageIoService','COLORS','IImageIoService','unit','BehaviorSubject','handleDeleteRangeMoveLeft','mergeOverrideWithDependencies','@univerjs/engine-render','INVITE_CODE_ALREADY_BOUND','transform','0\x200\x2017\x2016','triggerDblclick','getRelativeToViewportCoord','name','OffLineIcon','ColorKit','getAncestorScale','forEach','m2Prime','AWAITING','86958LRffBV','No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','_handleEvent','url(#$1','editingUnit','LocaleService','focused$','InsertRangeMoveRightCommandId','_transformUndoRedoStack','DOC_RANGE_TYPE','all','DocCollaborationEntity','getConfig','string','_startSheetCollabCursor','PENDING','UniverIcon','HTTPService','uni.network.url-service','RemoveRowCommandId','BrowserCollaborationSocketService','toDisposable','moveTo','extend','@univerjs/design','row','/run/','unload','_shapes','UniverDocsUi','post','UNIVER_SHEET','RevisionService','_textBubble','application/json','transformStateCache','IRenderManagerService','PERMISSION_DENIED','_docTransformSelectionsService','_collabSessionService','purple.300','transformRemoteChangeset','rgba(255,\x20255,\x20255,\x200.01)','ITransformService','has','ALREADY_EXISTS','measureText','propertyIsEnumerable','enableLocalCache','EffectRefRangId','USERS_LEAVE','SetWorksheetActivateCommand','concat','INVALID_ARGUMENT','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','_toggleOnline','attrs','updateOfflineData','_docStateChangeManagerService','permission.title','_initDependencies','replaceState','href','setConfig','Optional','Shape','_hideTimer','_updateLocalCursor','YUUMI_URL_COL_OUT_OF_RANGE','white','collab-rect-range-','closePath','PY_RUNTIME_SCRIPT_ERROR','Injector','transformMutationsWithChangeset','black','on-line-icon','_updateURLWithCurrentState','registerRefRange','disposeUnit','WECHAT_HAS_BEEN_BOUND','_updateSubUnitFromURLParams','max','CollaborationStatus','_transformPreviousActiveRange','getStateCache','throttleTime','_drawRectRange','_configService','OFFLINE','idSuffix','lineTo','top','http://www.w3.org/2000/svg','_hovered','APPLY_REVISION_CONFILICT','_localStorageService','MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','UNDEFINED','deepClone','rxjs','hide','_docClipboardService','handleMoveRange','WebURLService','collabStatus.offline','RxDisposable','getOwnPropertyDescriptor','currentSkeleton$','5JdZWQA','drawWith','round','React','invokeId','UNIVER_DOC','body','assign','createIdentifier','disableLocalCache','save','APPLY_REJECT','ILocalCacheService','connectInjector','_getSheetObject','NO_OTHER_CLIENTS_EDITING','isTransformMutationsWithChangesetSuccess','0\x200\x2016\x2016','_initResize','_docSkeletonManagerService','collabStatus.synced','labelPosition','UniverCollaborationClientPlugin','getCurrentRevOfUnit','runId','DEFAULT_WS_SESSION_TICKET_URL','cursorInfo','_collabCursorController','findNodePositionByCharIndex','origin','width','takeUntil','UniverCore','_unitOnClients','UniverSheetsUi','popstate','getUnhiddenWorksheets','getRangePointData','YUUMI_AI_RUN_FAILED','getUnitId','red.300','toString','_initStatusComponent','YUUMI_SUBSCRIPTION_NOT_FOUND','tag','_ensureSubject','from','createElement','addObject','OTHER_CLIENTS_EDITING','unshift','LOCAL_CACHE_INTERVAL','RemoteUniscriptService','_clearOtherTimers','TEXT_RANGE_LAYER_INDEX','SheetsSelectionsService','path','currentColor','setItem','YUUMI_ASYNCIO_CANCELLED','Disposable','current','indexOf','getMemberID','UniverProCollaboration','yellow.400','toStringTag','DesktopCollaborationStatusDisplayController','_init','off-line-icon','searchParams','debounce','getItem','_startDocCollabCursor','substring','size','_revisionService','_id','_renderManagerService','url(#off-line-icon_clip0_910_343)','ranges','74020NjlrTk','fillRule','mutations','_urlService','next','_createSocketURL','HEADER_MENU','debug','key','replace','react','_render','addClipboardHook','arc','values','delete','executionId','collab-text-range-','MemberService','_collaborationUIEventService','_getSessionTicket','svg','handleInsertRow','roomMembers$','ISocketService','transformByState','getViewport','_assignedColors','_handleJoinEvent','newValue','_scheduleClearOtherTimer','text','NodePositionConvertToCursor','_colorIndex','add','getActiveRange','#FFF','sessionStatus$','setInterval','_onCursorUpdate','redoState','fillStyle','_updateCollabCursors','IDocClipboardService','DisposableCollection','_online','session.collaboration-timeout','UNRECOGNIZED','_registerDependencies','mask','runRefRangeMutations','handleInsertRangeMoveDown','getCollabCursors$','_scheduleSaving','_drawAnchor','_refRangeService','Tools','defs','saveImage','init','collabStatus.conflict','stringify','univer-flex\x20univer-items-center','hasOwnProperty','_status$','_anchorDot','ENSURE_SNAPSHOT_EXECUTION','484984karcVp','merge','_cursors','getVpScrollXYInfoByPosToVp','icon','APPLY_PERMISSION_DENIED','then','fromEventSubject','FromArray','OnLineIcon','IUIPartsService','trim','univerjs-icon\x20univerjs-icon-','_registerRenderDependencies','replaceDocRanges','TRANSFORM_CHANGE_OBSERVABLE_TYPE','call','_entities','_syncEditingCollabCursorService','YUUMI_ALL_TABLES_IS_INVALID','_initStatusListener','getColor','transformIMECache','height','Vector2','COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY','8743030PffRbV','ThemeService','DataLoaderService','clearTimeout','startColumn','displayName','switchMap','CONNECTOR_DATA_TOO_LARGE','_collabCursorState$','MessageType','_collaborationController','_saveTaskMap','InsertRowCommandId','_initCommandExecutedListener','DocSelectionManagerService','serializeRangeWithSheet','getRenderById','_transformHistoryAndStateStack','subscribeEvent','_refreshCollabCursors','jsxs','restore','TEXT','UniverDesign','bottom','flatMap','createSocket','imageSourceType','LOGIN_FAILED','UniverEngineFormula','error','UnitStatus','CollaborationController','fill','toRgbString','setStateCache','Unknown\x20user','UniverProCollaborationClient','collabStatus.fetchMiss','_docSyncEditingCollabCursorService','_eventUnsubscribe','isActive','EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','_draw','_transformService','loadUnit','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','some','CollaborationSocketService','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY','SNAPSHOT_HAS_BEEN_REMOVED','NOT_COLLAB','6093975KOebLI','INVALID_INVITE_CODE','getActiveSheet','_localeService','_session','handleInsertRangeMoveRight','combineLatest','clsx','textRanges','params','@univerjs/rpc','setParam','exports','history','currentTheme$','CHANGESET_REVISION_CONFILICT','SheetCollabCursorShape','beginPath','search','_handleHover','UniverEngineRender','_setupSubUnitSync','executeCommand','55KcjnvN','sessionTicket','dispose$','_entityInit$','mapTo','ONLINE','defineProperty','@univerjs/docs','_themeService','handleInsertCol','DocStateChangeManagerService','entityInit$','CollaborationDataLoaderController','saveOfflineData','none','getValue','subscribe','useRef','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','_color','subUnitId','_docTransformStateCacheService','skeleton','saveTaskMap','_drawTextRange','_removeClearOtherTimer','Error','_instanceService','NOT_FOUND','_handleHeartbeatEvent','UNIVER_COLLABORATION_CLIENT_WEB_PLUGIN','M0\x200H16V16H0z','pipe','onCommandExecuted','collabCursorState$','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','clipPath','@univerjs/sheets','actions','transformSelections','_getAnchorBounding','YUUMI_UNABLE_LOAD_URL','jsx','_initEvent','children','cursorInfo$','parse','UniverInstanceType','getCoordByCell','_setupBeforeClosingHandler','COMPLETION_FINISHED','MoveRangeCommandId','INVITE_CODE_HAS_BEEN_UES','isArray','YUUMI_NO_CUBOID_FOR_QUESTION','urlChange$','collaboration.single-unit.warning','unitID','requireSession','_onCursorDelete','_dataLoaderService','wsSessionTicketUrl','green.600','EMAIL_VERIFY_CODE_MISMATCH','LICENSE_IMPORT_SIZE_EXCEEDED','CONFLICT','getMember','_send','Module','colorChannel1','m1Prime','_initEntityListener','shareReplay','fillText','collaboration.closeRoom','createInstance','useObservable','SOCKET_FAILED','memberID','getColorFromTheme','collabStatus.syncing','getDocRanges','LOCAL_CACHE_INTERVAL_KEY','INTERNAL_ERROR','hovered','UniverUi','_beforeCloseService','DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','result','_config','CommandType','RegularPolygon','dispose','InsertRangeMoveDownCommandId','12vfiPqe','set','min','get','SHEET_VIEWPORT_KEY','_commandService','getCurrentUnitForType','SetSelectionsOperation','asObservable','selection','YUUMI_CONNECTOR_URL_NOT_FOUND','LICENSE_DISTRO_REJECTED','onPointerLeave$','setShapeProps','_injector','column','_handleLeaveEvent','object','data','_name','_cursor','color','useCallback','assignAColorForMemberID','transformMutation','YUUMI_TABLE_NOT_FOUND_IN_UNIT','_colorAssignService','prototype','getSkeleton','LICENSE_EXPORT_SIZE_EXCEEDED','debounceTime','getSheetBySheetId','getLocalCacheKey','docStateChange$','disposeWithMe','9jDcAvr','_cursorInfo$','CollaborationUIEventService','UPDATE_CURSOR','getUndoRedoMutationParamsCache','resize','onRendered','collab-text-anchor-','registerComponent','AWAITING_WITH_PENDING','getUnitStatus$','isTransformMutationFailure','Warning','clearInterval','SNAPSHOT_INVALID_SNAPSHOT','_getScale','INotificationService','RECT','@univerjs/drawing','VIEW_MAIN','getOffsetConfig','CLOSE_ROOM','_removeCollabCursors','_memberService','_saveCache','react/jsx-runtime','onTransformChange$','getCollabEntity$','Workbook','_cursorShapes','EMAIL_HAS_BEEN_BOUND','registerRenderModule','unitId','Rect','DocSkeletonManagerService','split','SessionStatus','onMouseMove','CollaborationEvent','[RemoteUniscriptService]:\x20no\x20focused\x20unit','onPointerMove$','div','range','UniverRpc','filter','override','reconnect','symbol','IBeforeCloseService','_onRefRangeChange','session.will-retry','_sheetSkeletonManagerService','getTypeOfUnitDisposed$','UniverDocs','UniverCollaborationClientUIPlugin','ISnapshotServerService','SetTextSelectionsOperation','_cachedData','generateRandomId','INVITE_CODE_REQUIRED','_labelPosition','Failed','_localCacheService','_roomMembers$','IURLService','DocIMEInputManagerService','_anchor','_backgroundColor','subunit','event$','CollaborationUIEventId','[CollaborationDataLoaderController]','collabStatus.notCollab','DeleteRangeMoveUpCommandId','getCurrent','_toggleOffline','...','IUniverInstanceService','type','ILocalStorageService','11953520VMMpFw','_unitStatus','_document','12675474KVQSFU','_univerInstanceService','_context','entries','MOBILE_HAS_BEEN_BOUND','USER_NOT_INVITED_CODE','BuiltInUIPart','setAlpha','show','undoState','roomMembers','xlink:href','@univerjs/ui','_docTransformIMECacheService','map','on-line-icon_clip0_910_349','getParam','syncEditingCollabCursor','TOO_MANY_REQUESTS','_getSaveTimeout','getCellPositionByOffset','defIds','UNAUTHENTICATED','complete','handleIRemoveCol','IRemoteInstanceService','_range','with','_uiPartsService','forwardRef','MUTATION','unsubscribe','_selfUnitIDs','evenodd','collab-client.tooltip.reconnect','length','IMessageService','@univerjs/engine-formula','jiqing.500','setUndoRedoMutationParamsCache','operators','Inject','_heartbeatTimer','_scene','SheetSkeletonManagerService','random','_disabled','univer-mr-2\x20univer-flex\x20univer-text-xl','pushState','location','_messageService','DeleteRangeMoveLeftCommandId','RemoveColCommandId','_getMergeRange','backgroundColor','onStarting','endRow','_scheduleHeartbeat','push','code','1em','_httpService','includes','off-line-icon_clip0_910_343','getFocusedUnit','getTypeOfUnitAdded$','IConfigService','removeParam','_hover','ICommandService','doc.mutation.rich-text-editing'];_0x1c90=function(){return _0x5dc924;};return _0x1c90();}
|