@univerjs-pro/collaboration-client-ui 0.5.2 → 0.5.3
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/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/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/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/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 +19 -41
package/lib/umd/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(_0x210432,_0x21ea78){const _0xeeee69=_0x404a,_0x2f5d74=_0x210432();while(!![]){try{const _0x5a6934=-parseInt(_0xeeee69(0x196))/0x1*(-parseInt(_0xeeee69(0x264))/0x2)+parseInt(_0xeeee69(0x306))/0x3*(parseInt(_0xeeee69(0x2f5))/0x4)+parseInt(_0xeeee69(0x2af))/0x5+-parseInt(_0xeeee69(0x231))/0x6*(parseInt(_0xeeee69(0x29b))/0x7)+-parseInt(_0xeeee69(0x2d6))/0x8+parseInt(_0xeeee69(0x2bc))/0x9*(-parseInt(_0xeeee69(0x310))/0xa)+-parseInt(_0xeeee69(0x17c))/0xb*(-parseInt(_0xeeee69(0x1d2))/0xc);if(_0x5a6934===_0x21ea78)break;else _0x2f5d74['push'](_0x2f5d74['shift']());}catch(_0x17b49c){_0x2f5d74['push'](_0x2f5d74['shift']());}}}(_0xde70,0x2032c),function(_0x1236ad,_0x1230f4){const _0x247212=_0x404a;typeof exports=='object'&&typeof module<'u'?_0x1230f4(exports,require(_0x247212(0x1fe)),require(_0x247212(0x162)),require(_0x247212(0x34d)),require(_0x247212(0x102)),require(_0x247212(0x317)),require(_0x247212(0x15b)),require(_0x247212(0x265)),require(_0x247212(0x234)),require(_0x247212(0x1f8)),require(_0x247212(0x342)),require(_0x247212(0x22f)),require(_0x247212(0x2b8)),require(_0x247212(0x2fe)),require(_0x247212(0x144)),require(_0x247212(0x16e)),require(_0x247212(0x138)),require(_0x247212(0x2bf))):typeof define=='function'&&define['amd']?define([_0x247212(0x1b0),_0x247212(0x1fe),_0x247212(0x162),_0x247212(0x34d),_0x247212(0x102),'@univerjs/docs-ui',_0x247212(0x15b),'rxjs',_0x247212(0x234),_0x247212(0x1f8),_0x247212(0x342),_0x247212(0x22f),'rxjs/operators',_0x247212(0x2fe),_0x247212(0x144),_0x247212(0x16e),'@univerjs/design',_0x247212(0x2bf)],_0x1230f4):(_0x1236ad=typeof globalThis<'u'?globalThis:_0x1236ad||self,_0x1230f4(_0x1236ad['UniverProCollaborationClientUi']={},_0x1236ad['UniverProCollaborationClient'],_0x1236ad[_0x247212(0x145)],_0x1236ad[_0x247212(0x1e0)],_0x1236ad[_0x247212(0x355)],_0x1236ad[_0x247212(0x1d7)],_0x1236ad[_0x247212(0x20c)],_0x1236ad[_0x247212(0x265)],_0x1236ad[_0x247212(0x2e6)],_0x1236ad['UniverProCollaboration'],_0x1236ad[_0x247212(0x1a0)],_0x1236ad[_0x247212(0x323)],_0x1236ad[_0x247212(0x265)][_0x247212(0x281)],_0x1236ad[_0x247212(0x16f)],_0x1236ad[_0x247212(0x285)],_0x1236ad[_0x247212(0x2a9)],_0x1236ad[_0x247212(0x28d)],_0x1236ad['UniverRpc']));}(this,function(_0x575827,_0x340b74,_0x41ed90,_0xbfdec3,_0x3ea834,_0x414ffd,_0x3b1fe8,_0x4784ed,_0x4add3d,_0x263378,_0x126390,_0x7d326c,_0x278228,_0x4012d1,_0x255a92,_0x1d78d7,_0x42e905,_0xdfda1){'use strict';const _0x198416=_0x404a;var _0x4be385=Object[_0x198416(0x26c)],_0x43ced1=(_0x55b2eb,_0x143983,_0x3ec5b2)=>_0x143983 in _0x55b2eb?_0x4be385(_0x55b2eb,_0x143983,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x3ec5b2}):_0x55b2eb[_0x143983]=_0x3ec5b2,_0x2983ed=(_0x51a46b,_0x5a94e6,_0x5a0a39)=>_0x43ced1(_0x51a46b,typeof _0x5a94e6!=_0x198416(0x175)?_0x5a94e6+'':_0x5a94e6,_0x5a0a39),_0x33bd3b=Object[_0x198416(0x26c)],_0x372391=Object[_0x198416(0x27d)],_0x21e0ec=(_0x5784b1,_0x39e548,_0x26667e,_0x3327d6)=>{const _0x312b32=_0x198416;for(var _0xa2d53c=_0x3327d6>0x1?void 0x0:_0x3327d6?_0x372391(_0x39e548,_0x26667e):_0x39e548,_0x34f377=_0x5784b1[_0x312b32(0x2d9)]-0x1,_0x28a10c;_0x34f377>=0x0;_0x34f377--)(_0x28a10c=_0x5784b1[_0x34f377])&&(_0xa2d53c=(_0x3327d6?_0x28a10c(_0x39e548,_0x26667e,_0xa2d53c):_0x28a10c(_0xa2d53c))||_0xa2d53c);return _0x3327d6&&_0xa2d53c&&_0x33bd3b(_0x39e548,_0x26667e,_0xa2d53c),_0xa2d53c;},_0x312c33=(_0x762f10,_0x5bbf15)=>(_0x22e96a,_0x458966)=>_0x5bbf15(_0x22e96a,_0x458966,_0x762f10);let _0x1a3b85=class extends _0x41ed90[_0x198416(0x12e)]{constructor(_0x503183,_0x273216){const _0xab30ee=_0x198416;super(),this['_docClipboardService']=_0x503183,this[_0xab30ee(0x373)]=_0x273216,this[_0xab30ee(0x37c)]();}[_0x198416(0x37c)](){const _0x36f068=_0x198416,_0x29a39d=this;this[_0x36f068(0x10f)](this[_0x36f068(0x10b)][_0x36f068(0x293)]({'onBeforePasteImage':async _0xac2f33=>{const _0x56ac7e=_0x36f068,_0x3a953f=await _0x29a39d[_0x56ac7e(0x373)][_0x56ac7e(0x2e5)](_0xac2f33);return _0x3a953f?{'source':_0x3a953f[_0x56ac7e(0x31c)],'imageSourceType':_0x3a953f[_0x56ac7e(0x354)]}:null;}}));}};_0x1a3b85=_0x21e0ec([_0x312c33(0x0,_0x414ffd[_0x198416(0x2da)]),_0x312c33(0x1,_0x3b1fe8[_0x198416(0x2fb)])],_0x1a3b85);const _0x29dda7=[_0x198416(0x345),_0x198416(0x27c),'verdancy600',_0x198416(0x34f),'blue400',_0x198416(0x36c)];class _0x40e529 extends _0x41ed90[_0x198416(0x313)]{constructor(){const _0xc3699=_0x198416;super(...arguments),_0x2983ed(this,_0xc3699(0x203),new Map()),_0x2983ed(this,'_colorIndex',0x0);}[_0x198416(0x18a)](_0x42a10a){const _0x24ef26=_0x198416;if(this[_0x24ef26(0x203)][_0x24ef26(0x27e)](_0x42a10a))return this[_0x24ef26(0x203)][_0x24ef26(0x165)](_0x42a10a);const _0x22e176=_0x29dda7[this[_0x24ef26(0x344)]];return this[_0x24ef26(0x344)]=(this[_0x24ef26(0x344)]+0x1)%_0x29dda7[_0x24ef26(0x2d9)],this['_assignedColors'][_0x24ef26(0x297)](_0x42a10a,_0x22e176),_0x22e176;}}function _0x59f732(_0x4497f7){let _0x2d5e6d='';for(const _0x418eac of _0x4497f7){const {startOffset:_0x247426,endOffset:_0x3ed4eb,isActive:_0x799bb2,rangeType:_0x3defc0,segmentId:_0x39552f,segmentPage:_0x80fc41}=_0x418eac;_0x2d5e6d['length']&&(_0x2d5e6d+=','),_0x2d5e6d+=_0x247426+':'+_0x3ed4eb+':'+(_0x799bb2?'1':'0')+':'+_0x3defc0+':'+_0x39552f+':'+_0x80fc41;}return _0x2d5e6d;}function _0x2b5905(_0x477186){const _0x4689d1=_0x198416,_0x5688f3=_0x477186[_0x4689d1(0x379)](','),_0x5d01f6=[];for(const _0xc1fa54 of _0x5688f3){const [_0x379fe0,_0x267d87,_0x21397b,_0x5aedd1,_0x34f54e,_0x5b21c4]=_0xc1fa54[_0x4689d1(0x379)](':');_0x5d01f6[_0x4689d1(0x26a)]({'startOffset':Number(_0x379fe0),'endOffset':Number(_0x267d87),'collapsed':_0x379fe0===_0x267d87,'isActive':_0x21397b==='1','rangeType':_0x5aedd1===_0x41ed90[_0x4689d1(0x142)][_0x4689d1(0x117)]?_0x41ed90[_0x4689d1(0x142)]['TEXT']:_0x41ed90[_0x4689d1(0x142)][_0x4689d1(0x378)],'segmentId':typeof _0x34f54e==_0x4689d1(0x225)?String(_0x34f54e):'','segmentPage':Number(_0x5b21c4!=null?_0x5b21c4:-0x1)});}return _0x5d01f6['some'](_0x42ec12=>_0x42ec12['isActive'])||(_0x5d01f6[0x0]['isActive']=!0x0),_0x5d01f6;}class _0x15e938 extends _0x41ed90[_0x198416(0x12e)]{constructor(){const _0xd60765=_0x198416;super(...arguments),_0x2983ed(this,_0xd60765(0x256),new _0x4784ed[(_0xd60765(0x21b))](null)),_0x2983ed(this,_0xd60765(0x259),this[_0xd60765(0x256)][_0xd60765(0x1f1)]());}[_0x198416(0x2f7)](_0x344f4b){const _0x2f2c97=_0x198416,{unitID:_0x30507e,memberID:_0x568ca9,textRanges:_0x1051cd}=_0x344f4b,_0x45bbd2=_0x59f732(_0x1051cd);if(_0x45bbd2==='')return;const _0x2c4e98={'unitID':_0x30507e,'memberID':_0x568ca9,'selection':_0x45bbd2};this[_0x2f2c97(0x256)][_0x2f2c97(0x1b1)](_0x2c4e98);}}var _0x42b9a6=Object[_0x198416(0x26c)],_0x3abdf1=Object[_0x198416(0x27d)],_0x28fe81=(_0x5f4dda,_0x25f4f4,_0x4a733f,_0x443b09)=>{for(var _0x39096f=_0x443b09>0x1?void 0x0:_0x443b09?_0x3abdf1(_0x25f4f4,_0x4a733f):_0x25f4f4,_0x191fe5=_0x5f4dda['length']-0x1,_0x5d28df;_0x191fe5>=0x0;_0x191fe5--)(_0x5d28df=_0x5f4dda[_0x191fe5])&&(_0x39096f=(_0x443b09?_0x5d28df(_0x25f4f4,_0x4a733f,_0x39096f):_0x5d28df(_0x39096f))||_0x39096f);return _0x443b09&&_0x39096f&&_0x42b9a6(_0x25f4f4,_0x4a733f,_0x39096f),_0x39096f;},_0x69ffd0=(_0xf28b09,_0x3d2ce6)=>(_0x36602d,_0xa615e0)=>_0x3d2ce6(_0x36602d,_0xa615e0,_0xf28b09);const _0x49240a=0x12c,_0x19053c=0x64;let _0x27e4fa=class extends _0x41ed90['RxDisposable']{constructor(_0x51c8c2,_0x588724,_0x532d73,_0x118183,_0x38b796,_0x4fe0c0,_0x5919cb,_0x45c336,_0x35cb33){const _0x56425f=_0x198416;super(),_0x2983ed(this,_0x56425f(0x370),!0x1),_0x2983ed(this,_0x56425f(0x37c),!0x1),_0x2983ed(this,'_cursorInfo$',new _0x4784ed[(_0x56425f(0x21b))](new Map())),_0x2983ed(this,_0x56425f(0x235),this[_0x56425f(0x182)][_0x56425f(0x1f1)]()),_0x2983ed(this,'_roomMembers$',new _0x4784ed[(_0x56425f(0x21b))]([])),_0x2983ed(this,_0x56425f(0x164),this[_0x56425f(0x2e2)][_0x56425f(0x213)](_0x4784ed[_0x56425f(0x13d)](_0x49240a))),_0x2983ed(this,'_updateLocalCursor',_0x41ed90['debounce'](_0x280a97=>{const _0x50df95=_0x56425f,_0x55300a={'eventID':_0x263378[_0x50df95(0x2aa)][_0x50df95(0x322)],'data':{'unitID':this[_0x50df95(0x1bb)],'memberID':this[_0x50df95(0x321)][_0x50df95(0x1ef)](),'selection':_0x59f732(_0x280a97)}};this['_session'][_0x50df95(0x2c6)](_0x55300a,this[_0x50df95(0x1bb)]);},_0x19053c)),(this[_0x56425f(0x1bb)]=_0x51c8c2,this['_session']=_0x588724,this[_0x56425f(0x1b6)]=_0x532d73,this[_0x56425f(0x262)]=_0x118183,this[_0x56425f(0x314)]=_0x38b796,this[_0x56425f(0x1e2)]=_0x4fe0c0,this['_transformService']=_0x5919cb,this[_0x56425f(0x206)]=_0x45c336,this[_0x56425f(0x10e)]=_0x35cb33);}get[_0x198416(0x271)](){const _0x15e5d9=_0x198416;return this['_cursorInfo$'][_0x15e5d9(0x292)]();}get[_0x198416(0x28b)](){return this['_roomMembers$']['getValue']();}[_0x198416(0x211)](){const _0x20af5d=_0x198416;super[_0x20af5d(0x211)](),this[_0x20af5d(0x182)][_0x20af5d(0x1b1)](new Map()),this[_0x20af5d(0x182)][_0x20af5d(0x35a)](),this[_0x20af5d(0x2e2)][_0x20af5d(0x1b1)]([]),this[_0x20af5d(0x2e2)][_0x20af5d(0x35a)]();}['init'](){const _0x1d1e45=_0x198416;this[_0x1d1e45(0x37c)]||(this[_0x1d1e45(0x37c)]=!0x0,this[_0x1d1e45(0x321)][_0x1d1e45(0x360)][_0x1d1e45(0x213)](_0x4784ed[_0x1d1e45(0x221)](this[_0x1d1e45(0x1b8)]))['subscribe'](_0x36d42b=>{const _0x184043=_0x1d1e45;_0x36d42b===_0x340b74[_0x184043(0x1e9)][_0x184043(0x1f6)]?this['_toggleOnline']():this[_0x184043(0x137)]();}),this[_0x1d1e45(0x321)][_0x1d1e45(0x291)][_0x1d1e45(0x213)](_0x4784ed[_0x1d1e45(0x221)](this[_0x1d1e45(0x1b8)]))[_0x1d1e45(0x352)](_0x49b31a=>{const _0x2e3538=_0x1d1e45,_0x3376cc=_0x49b31a[_0x2e3538(0x336)];_0x3376cc===_0x263378[_0x2e3538(0x2aa)][_0x2e3538(0x322)]&&this[_0x2e3538(0x217)](_0x49b31a),_0x3376cc===_0x263378[_0x2e3538(0x2aa)][_0x2e3538(0x1c4)]&&this['_onCursorDelete'](_0x49b31a);}),this[_0x1d1e45(0x10f)](this[_0x1d1e45(0x10e)][_0x1d1e45(0x176)](_0x5d0bbc=>{const _0x56d274=_0x1d1e45,_0x57b9e8=_0x5d0bbc[_0x56d274(0x205)];_0x57b9e8!=null&&this[_0x56d274(0x370)]&&_0x5d0bbc['id']===_0x4add3d[_0x56d274(0x2d2)]['id']&&_0x57b9e8[_0x56d274(0x38a)]===this[_0x56d274(0x1bb)]&&_0x57b9e8[_0x56d274(0x1a4)]===!0x1&&_0x57b9e8[_0x56d274(0x2cc)]['length']>0x0&&this[_0x56d274(0x2e4)](_0x57b9e8[_0x56d274(0x2cc)]);})),this['_syncEditingCollabCursorService'][_0x1d1e45(0x259)]['pipe'](_0x4784ed['takeUntil'](this[_0x1d1e45(0x1b8)]))['subscribe'](_0x4b015d=>{const _0x152a4e=_0x1d1e45;if((_0x4b015d==null?void 0x0:_0x4b015d[_0x152a4e(0x1bb)])!==this['unitID'])return;const _0x18ab6d={'eventID':_0x263378[_0x152a4e(0x2aa)][_0x152a4e(0x322)],'data':_0x4b015d};this[_0x152a4e(0x217)](_0x18ab6d);}),this[_0x1d1e45(0x10f)](this[_0x1d1e45(0x10e)]['onCommandExecuted'](_0x596bb9=>{const _0x40e921=_0x1d1e45;if(_0x596bb9[_0x40e921(0x205)]==null)return;const _0x4f38dc=_0x596bb9[_0x40e921(0x205)];if(_0x596bb9['id']!==_0x4add3d[_0x40e921(0x103)]['id']||_0x4f38dc[_0x40e921(0x38a)]!==this[_0x40e921(0x1bb)])return;const _0x1b1183={'id':'doc.mutation.rich-text-editing','params':_0x4f38dc},_0x215236=this[_0x40e921(0x271)];for(const [_0x300f71,_0x45e9cc]of _0x215236){const _0x43a5ff={'id':_0x40e921(0x387),'params':{'unitId':this[_0x40e921(0x1bb)],'actions':null,'textRanges':_0x45e9cc[_0x40e921(0x2cc)]}},_0x4de010=this[_0x40e921(0x18c)][_0x40e921(0x326)](_0x1b1183,_0x43a5ff,!0x1);if(_0x263378[_0x40e921(0x148)](_0x4de010))throw _0x4de010[_0x40e921(0x12a)];_0x215236[_0x40e921(0x297)](_0x300f71,{..._0x45e9cc,'ranges':_0x4de010[_0x40e921(0x282)][_0x40e921(0x205)][_0x40e921(0x312)]});}queueMicrotask(()=>{const _0x123ef8=_0x40e921;this['_cursorInfo$'][_0x123ef8(0x1b1)](_0x215236);});})));}[_0x198416(0x217)](_0x902917){const _0x5e99a5=_0x198416;var _0x4ebe5c,_0x789e64;const {memberID:_0x4e2a22,selection:_0x5b1c12}=_0x902917['data'],_0x189178=_0x2b5905(_0x5b1c12),_0x24a7f9=(_0x789e64=(_0x4ebe5c=this[_0x5e99a5(0x314)][_0x5e99a5(0x280)](this['unitID'],_0x4e2a22))==null?void 0x0:_0x4ebe5c[_0x5e99a5(0x2db)])!=null?_0x789e64:'Unknown\x20user',_0x471b42={'color':this[_0x5e99a5(0x262)][_0x5e99a5(0x18a)](_0x4e2a22),'name':_0x24a7f9,'ranges':_0x189178},_0x156f83=this['cursorInfo'];_0x156f83[_0x5e99a5(0x297)](_0x4e2a22,_0x471b42),this[_0x5e99a5(0x182)][_0x5e99a5(0x1b1)](_0x156f83);}['_onCursorDelete'](_0x22161d){const _0x481d7d=_0x198416,{memberID:_0x35775b}=_0x22161d[_0x481d7d(0x284)],_0x1c07f8=this[_0x481d7d(0x271)];_0x1c07f8['delete'](_0x35775b),this[_0x481d7d(0x182)]['next'](_0x1c07f8);}['_toggleOnline'](){const _0x19f180=_0x198416;var _0x59afa5;if(this[_0x19f180(0x370)]=!0x0,((_0x59afa5=this[_0x19f180(0x206)][_0x19f180(0x25f)]())==null?void 0x0:_0x59afa5['getUnitId']())!==this[_0x19f180(0x1bb)])return;const _0x459f9a=this[_0x19f180(0x1b6)]['get'](_0x4add3d[_0x19f180(0x362)])[_0x19f180(0x159)]();Array[_0x19f180(0x27a)](_0x459f9a)&&_0x459f9a['length']>0x0&&this[_0x19f180(0x2e4)](_0x459f9a);}[_0x198416(0x137)](){const _0x2b2cf4=_0x198416;this[_0x2b2cf4(0x370)]=!0x1;}};_0x27e4fa=_0x28fe81([_0x69ffd0(0x2,_0x41ed90[_0x198416(0x300)](_0x41ed90['Injector'])),_0x69ffd0(0x3,_0x41ed90[_0x198416(0x300)](_0x40e529)),_0x69ffd0(0x4,_0x41ed90[_0x198416(0x300)](_0x340b74[_0x198416(0x2f1)])),_0x69ffd0(0x5,_0x41ed90['Inject'](_0x15e938)),_0x69ffd0(0x6,_0x263378[_0x198416(0x22d)]),_0x69ffd0(0x7,_0x41ed90['IUniverInstanceService']),_0x69ffd0(0x8,_0x41ed90['ICommandService'])],_0x27e4fa);var _0x1d0398=Object[_0x198416(0x26c)],_0x49dfbd=Object[_0x198416(0x27d)],_0x5725f6=(_0x1ccd5b,_0x817875,_0x4bb8d2,_0x443706)=>{const _0x5587d9=_0x198416;for(var _0x66c470=_0x443706>0x1?void 0x0:_0x443706?_0x49dfbd(_0x817875,_0x4bb8d2):_0x817875,_0xb08fcc=_0x1ccd5b[_0x5587d9(0x2d9)]-0x1,_0x25eb25;_0xb08fcc>=0x0;_0xb08fcc--)(_0x25eb25=_0x1ccd5b[_0xb08fcc])&&(_0x66c470=(_0x443706?_0x25eb25(_0x817875,_0x4bb8d2,_0x66c470):_0x25eb25(_0x66c470))||_0x66c470);return _0x443706&&_0x66c470&&_0x1d0398(_0x817875,_0x4bb8d2,_0x66c470),_0x66c470;},_0x292f30=(_0x4d7129,_0x464c41)=>(_0x31dca9,_0x33ba44)=>_0x464c41(_0x31dca9,_0x33ba44,_0x4d7129);const _0x353885=0x12c,_0x27d178=0x64,_0x4c0c84=()=>{let _0x32f846=[],_0x3a40d2=!0x1;return _0xed636e=>{const _0x369923=_0x404a;_0x32f846[_0x369923(0x26a)](_0xed636e),_0x3a40d2||(_0x3a40d2=!0x0,setTimeout(()=>{const _0x12cb8b=_0x369923;_0x32f846[_0x12cb8b(0x21c)](_0x2670fa=>_0x2670fa()),_0x32f846=[],_0x3a40d2=!0x1;}));};};let _0x28eeaa=class extends _0x41ed90[_0x198416(0x12e)]{constructor(_0x4d6fad,_0x39d040,_0x3dec4d,_0x545878,_0x71eff5,_0x588e2a,_0x21dd53,_0x5d41ed){const _0x3b5a07=_0x198416;super(),_0x2983ed(this,_0x3b5a07(0x370),!0x1),_0x2983ed(this,_0x3b5a07(0x37c),!0x1),_0x2983ed(this,_0x3b5a07(0x182),new _0x4784ed[(_0x3b5a07(0x21b))](new Map())),_0x2983ed(this,'cursorInfo$',this[_0x3b5a07(0x182)][_0x3b5a07(0x1f1)]()),_0x2983ed(this,_0x3b5a07(0x2e2),new _0x4784ed[(_0x3b5a07(0x21b))]([])),_0x2983ed(this,_0x3b5a07(0x164),this[_0x3b5a07(0x2e2)][_0x3b5a07(0x213)](_0x4784ed[_0x3b5a07(0x13d)](_0x353885))),_0x2983ed(this,'_updateLocalCursor',_0x41ed90[_0x3b5a07(0x2f2)]((_0x3332dd,_0x406b48)=>{const _0x382130=_0x3b5a07,_0x5272ab={'eventID':_0x263378[_0x382130(0x2aa)][_0x382130(0x322)],'data':{'unitID':this[_0x382130(0x1bb)],'memberID':this['_session'][_0x382130(0x1ef)](),'selection':_0x126390[_0x382130(0x120)](_0x3332dd,_0x406b48[_0x382130(0x2f9)])}};this[_0x382130(0x321)][_0x382130(0x2c6)](_0x5272ab,this['unitID']);},_0x27d178)),(this[_0x3b5a07(0x1bb)]=_0x4d6fad,this[_0x3b5a07(0x321)]=_0x39d040,this[_0x3b5a07(0x1b6)]=_0x3dec4d,this[_0x3b5a07(0x262)]=_0x545878,this[_0x3b5a07(0x314)]=_0x71eff5,this['_univerInstanceService']=_0x588e2a,this['_commandService']=_0x21dd53,this[_0x3b5a07(0x1a1)]=_0x5d41ed);}get[_0x198416(0x271)](){const _0x54b009=_0x198416;return this['_cursorInfo$'][_0x54b009(0x292)]();}get[_0x198416(0x28b)](){const _0x3bbe33=_0x198416;return this['_roomMembers$'][_0x3bbe33(0x292)]();}[_0x198416(0x211)](){const _0x463a25=_0x198416;super['dispose'](),this[_0x463a25(0x182)][_0x463a25(0x1b1)](new Map()),this[_0x463a25(0x182)]['complete'](),this[_0x463a25(0x2e2)][_0x463a25(0x1b1)]([]),this[_0x463a25(0x2e2)][_0x463a25(0x35a)]();}[_0x198416(0x20e)](){const _0x1428f0=_0x198416;this[_0x1428f0(0x37c)]||(this['_init']=!0x0,this['_session'][_0x1428f0(0x360)][_0x1428f0(0x213)](_0x4784ed[_0x1428f0(0x221)](this[_0x1428f0(0x1b8)]))['subscribe'](_0xb75178=>{const _0x4dcc02=_0x1428f0;_0xb75178===_0x340b74[_0x4dcc02(0x1e9)][_0x4dcc02(0x1f6)]?this['_toggleOnline']():this[_0x4dcc02(0x137)]();}),this[_0x1428f0(0x321)]['event$']['pipe'](_0x4784ed[_0x1428f0(0x221)](this[_0x1428f0(0x1b8)]))['subscribe'](_0x29deb7=>{const _0x77c853=_0x1428f0,_0x18de08=_0x29deb7[_0x77c853(0x336)];_0x18de08===_0x263378[_0x77c853(0x2aa)][_0x77c853(0x322)]&&this['_onCursorUpdate'](_0x29deb7),_0x18de08===_0x263378['CollaborationEvent'][_0x77c853(0x1c4)]&&this['_onCursorDelete'](_0x29deb7);}),this['_onRefRangeChange'](),this[_0x1428f0(0x10f)](this['_commandService']['onCommandExecuted'](_0x40ad27=>{const _0x143b03=_0x1428f0;if(this['_online']&&_0x40ad27['id']===_0x7d326c[_0x143b03(0x1e1)]['id']&&_0x40ad27[_0x143b03(0x205)]['unitId']===this['unitID']){const _0x22711e=_0x40ad27[_0x143b03(0x205)];this[_0x143b03(0x2e4)](_0x22711e[_0x143b03(0x2cd)],_0x22711e[_0x143b03(0x173)][0x0]);}})));}[_0x198416(0x217)](_0x3cf8ce){const _0x1c7b4e=_0x198416;var _0x2347ea,_0x3f0f7f;const {memberID:_0x4b108f,selection:_0x1fe0f9}=_0x3cf8ce[_0x1c7b4e(0x284)],{sheetName:_0x818617,range:_0x22f05d}=_0x126390[_0x1c7b4e(0x169)](_0x1fe0f9),_0x156efd={'name':(_0x3f0f7f=(_0x2347ea=this['_memberService'][_0x1c7b4e(0x280)](this['unitID'],_0x4b108f))==null?void 0x0:_0x2347ea[_0x1c7b4e(0x2db)])!=null?_0x3f0f7f:'Unknown\x20user','range':this[_0x1c7b4e(0x2e9)](_0x818617,_0x22f05d),'sheetID':_0x818617,'color':this[_0x1c7b4e(0x262)]['assignAColorForMemberID'](_0x4b108f),'selection':_0x1fe0f9},_0x55a8ba=this[_0x1c7b4e(0x271)];_0x55a8ba['set'](_0x4b108f,_0x156efd),this[_0x1c7b4e(0x182)][_0x1c7b4e(0x1b1)](_0x55a8ba);}[_0x198416(0x384)](_0x3f5637){const _0x41784b=_0x198416,{memberID:_0x5e3a29}=_0x3f5637[_0x41784b(0x284)],_0x3972c3=this['cursorInfo'];_0x3972c3['delete'](_0x5e3a29),this[_0x41784b(0x182)][_0x41784b(0x1b1)](_0x3972c3);}['_getMergeRange'](_0x11d0ed,_0x1223ce){const _0x4ac64a=_0x198416;var _0x3b66ae,_0x5c709c;const _0x49e4c6=(_0x5c709c=(_0x3b66ae=this[_0x4ac64a(0x206)][_0x4ac64a(0x112)](this[_0x4ac64a(0x1bb)]))==null?void 0x0:_0x3b66ae[_0x4ac64a(0x171)](_0x11d0ed))==null?void 0x0:_0x5c709c[_0x4ac64a(0x18b)]();return(_0x49e4c6==null?void 0x0:_0x49e4c6[_0x4ac64a(0x14b)](_0x28f52e=>_0x41ed90[_0x4ac64a(0x1ac)][_0x4ac64a(0x11d)](_0x28f52e,_0x1223ce)))||_0x1223ce;}[_0x198416(0x32c)](){const _0x5a8b2b=_0x198416,_0x17553c=new _0x41ed90[(_0x5a8b2b(0x274))](),_0x588932=_0x4c0c84(),_0x1d1bc7=()=>{const _0x1885d3=_0x5a8b2b;_0x17553c[_0x1885d3(0x211)]();const _0x38f929=(_0x1ee4a9,_0xdc6332,_0x49adc8,_0x545a1f)=>{const _0x4816d6=_0x1885d3;let _0x50496c=[];switch(_0x1ee4a9['id']){case _0x7d326c['EffectRefRangId'][_0x4816d6(0x152)]:{_0x50496c=_0x7d326c[_0x4816d6(0x299)](_0x1ee4a9,_0x545a1f);break;}case _0x7d326c['EffectRefRangId']['DeleteRangeMoveUpCommandId']:{_0x50496c=_0x7d326c[_0x4816d6(0x357)](_0x1ee4a9,_0x545a1f);break;}case _0x7d326c[_0x4816d6(0x2f3)][_0x4816d6(0x16d)]:{_0x50496c=_0x7d326c[_0x4816d6(0x212)](_0x1ee4a9,_0x545a1f);break;}case _0x7d326c[_0x4816d6(0x2f3)][_0x4816d6(0x101)]:{_0x50496c=_0x7d326c[_0x4816d6(0x311)](_0x1ee4a9,_0x545a1f);break;}case _0x7d326c[_0x4816d6(0x2f3)][_0x4816d6(0x1cf)]:{_0x50496c=_0x7d326c[_0x4816d6(0x2f0)](_0x1ee4a9,_0x545a1f);break;}case _0x7d326c[_0x4816d6(0x2f3)][_0x4816d6(0x141)]:{_0x50496c=_0x7d326c[_0x4816d6(0x353)](_0x1ee4a9,_0x545a1f);break;}case _0x7d326c[_0x4816d6(0x2f3)][_0x4816d6(0x2f8)]:{_0x50496c=_0x7d326c[_0x4816d6(0x2bb)](_0x1ee4a9,_0x545a1f);break;}case _0x7d326c[_0x4816d6(0x2f3)][_0x4816d6(0x364)]:{_0x50496c=_0x7d326c['handleIRemoveCol'](_0x1ee4a9,_0x545a1f);break;}case _0x7d326c[_0x4816d6(0x2f3)][_0x4816d6(0x343)]:{_0x50496c=_0x7d326c[_0x4816d6(0x1c2)](_0x1ee4a9,_0x545a1f);break;}}const _0x115dc8=_0x7d326c[_0x4816d6(0x168)](_0x50496c,_0x545a1f),_0x412ced=this[_0x4816d6(0x271)][_0x4816d6(0x165)](_0xdc6332);if(_0x412ced&&_0x115dc8){const _0x2584f2={..._0x412ced,'range':_0x115dc8};this[_0x4816d6(0x271)]['set'](_0xdc6332,_0x2584f2),_0x588932(()=>{const _0x369964=_0x4816d6,_0x7aa138=this[_0x369964(0x1a1)][_0x369964(0x327)](_0x115dc8,_0x3a9103=>(_0x7aa138['dispose'](),_0x38f929(_0x3a9103,_0xdc6332,_0x49adc8,_0x115dc8)));_0x17553c[_0x369964(0x37a)](_0x7aa138);});}return{'redos':[],'undos':[]};};this[_0x1885d3(0x271)][_0x1885d3(0x21c)]((_0x553119,_0x17c106)=>{const _0x5cd2a2=_0x1885d3,{range:_0x489339,sheetID:_0x174b60}=_0x553119,_0x533917=this[_0x5cd2a2(0x1a1)][_0x5cd2a2(0x327)](_0x489339,_0x5472b8=>(_0x533917['dispose'](),_0x38f929(_0x5472b8,_0x17c106,_0x174b60,_0x489339)));_0x17553c[_0x5cd2a2(0x37a)](_0x533917);});};this[_0x5a8b2b(0x10f)](_0x41ed90[_0x5a8b2b(0x33b)](this['_cursorInfo$'][_0x5a8b2b(0x352)](()=>{_0x1d1bc7();})));}[_0x198416(0x119)](){const _0x3e59ce=_0x198416;var _0x584356,_0x3a1bfd;if(this[_0x3e59ce(0x370)]=!0x0,((_0x584356=this[_0x3e59ce(0x206)][_0x3e59ce(0x25f)]())==null?void 0x0:_0x584356['getUnitId']())!==this[_0x3e59ce(0x1bb)])return;const _0x5da29e=(_0x3a1bfd=this['_injector'][_0x3e59ce(0x165)](_0x7d326c['SheetsSelectionsService'])[_0x3e59ce(0x31b)]())==null?void 0x0:_0x3a1bfd[0x0],_0x526a94=this[_0x3e59ce(0x206)][_0x3e59ce(0x220)](_0x41ed90[_0x3e59ce(0x277)]['UNIVER_SHEET'])[_0x3e59ce(0x278)]();_0x5da29e&&_0x526a94&&this[_0x3e59ce(0x2e4)](_0x526a94[_0x3e59ce(0x11a)](),_0x5da29e);}[_0x198416(0x137)](){const _0x26ebc5=_0x198416;this[_0x26ebc5(0x370)]=!0x1;}};_0x28eeaa=_0x5725f6([_0x292f30(0x2,_0x41ed90[_0x198416(0x300)](_0x41ed90[_0x198416(0x287)])),_0x292f30(0x3,_0x41ed90[_0x198416(0x300)](_0x40e529)),_0x292f30(0x4,_0x41ed90[_0x198416(0x300)](_0x340b74['MemberService'])),_0x292f30(0x5,_0x41ed90[_0x198416(0x29c)]),_0x292f30(0x6,_0x41ed90[_0x198416(0x1dd)]),_0x292f30(0x7,_0x41ed90[_0x198416(0x300)](_0x7d326c[_0x198416(0x1f3)]))],_0x28eeaa);var _0x3513e0=Object[_0x198416(0x26c)],_0x2c1d1c=Object[_0x198416(0x27d)],_0x39c446=(_0x505752,_0x59b8bb,_0x35e6fc,_0x5c0831)=>{for(var _0x296cb8=_0x5c0831>0x1?void 0x0:_0x5c0831?_0x2c1d1c(_0x59b8bb,_0x35e6fc):_0x59b8bb,_0x1e8e2f=_0x505752['length']-0x1,_0x3c2db6;_0x1e8e2f>=0x0;_0x1e8e2f--)(_0x3c2db6=_0x505752[_0x1e8e2f])&&(_0x296cb8=(_0x5c0831?_0x3c2db6(_0x59b8bb,_0x35e6fc,_0x296cb8):_0x3c2db6(_0x296cb8))||_0x296cb8);return _0x5c0831&&_0x296cb8&&_0x3513e0(_0x59b8bb,_0x35e6fc,_0x296cb8),_0x296cb8;},_0x2a47ba=(_0xb1d4af,_0x546eac)=>(_0x3ec34e,_0x1f2eaf)=>_0x546eac(_0x3ec34e,_0x1f2eaf,_0xb1d4af);let _0x386fb1=class extends _0x41ed90['RxDisposable']{constructor(_0x315502,_0x1cab5b,_0x3b4734){const _0x348acf=_0x198416;super(),_0x2983ed(this,_0x348acf(0x13a),new Map()),_0x2983ed(this,_0x348acf(0x348),new _0x4784ed[(_0x348acf(0x351))]()),(this['_univerInstanceService']=_0x315502,this[_0x348acf(0x1b6)]=_0x1cab5b,this[_0x348acf(0x288)]=_0x3b4734,this[_0x348acf(0x37c)]());}[_0x198416(0x211)](){const _0x8de137=_0x198416;super['dispose'](),this[_0x8de137(0x348)]['complete'](),this['_entities']['forEach'](_0x1c28b0=>_0x1c28b0[_0x8de137(0x211)]());}[_0x198416(0x219)](_0x2d2a12){const _0x5efc4e=_0x198416;return this[_0x5efc4e(0x13a)][_0x5efc4e(0x27e)](_0x2d2a12)?this['_entities'][_0x5efc4e(0x165)](_0x2d2a12)['cursorInfo$']:this[_0x5efc4e(0x348)][_0x5efc4e(0x213)](_0x4784ed[_0x5efc4e(0x11f)](_0x35e931=>_0x35e931['unitID']===_0x2d2a12),_0x4784ed[_0x5efc4e(0x263)](_0x204a6c=>_0x204a6c['cursorInfo$']));}['_init'](){const _0x1e9038=_0x198416;this[_0x1e9038(0x206)][_0x1e9038(0x2e7)](_0x41ed90[_0x1e9038(0x277)][_0x1e9038(0x2c4)])[_0x1e9038(0x213)](_0x4784ed[_0x1e9038(0x221)](this[_0x1e9038(0x1b8)]))[_0x1e9038(0x352)](async _0x5c4b31=>{const _0x2e4c5c=_0x1e9038,_0x32b959=_0x5c4b31[_0x2e4c5c(0x374)](),_0x3de128=await this[_0x2e4c5c(0x23d)](_0x32b959);this['_entityInit$'][_0x2e4c5c(0x1b1)](_0x3de128),this['_entities']['set'](_0x32b959,_0x3de128);}),this[_0x1e9038(0x206)][_0x1e9038(0x2e7)](_0x41ed90[_0x1e9038(0x277)]['UNIVER_DOC'])[_0x1e9038(0x213)](_0x4784ed[_0x1e9038(0x221)](this[_0x1e9038(0x1b8)]))['pipe'](_0x4784ed[_0x1e9038(0x11f)](_0x328583=>!_0x328583[_0x1e9038(0x374)]()['startsWith']('__')))[_0x1e9038(0x352)](async _0x27abe0=>{const _0x3087f4=_0x1e9038,_0x7d60b4=_0x27abe0[_0x3087f4(0x374)](),_0x2fb302=await this[_0x3087f4(0x14a)](_0x7d60b4);this[_0x3087f4(0x348)][_0x3087f4(0x1b1)](_0x2fb302),this[_0x3087f4(0x13a)]['set'](_0x7d60b4,_0x2fb302);}),_0x4784ed[_0x1e9038(0x337)](this[_0x1e9038(0x206)][_0x1e9038(0x134)](_0x41ed90[_0x1e9038(0x277)][_0x1e9038(0x1ea)]),this[_0x1e9038(0x206)][_0x1e9038(0x134)](_0x41ed90[_0x1e9038(0x277)][_0x1e9038(0x2c4)]))[_0x1e9038(0x213)](_0x4784ed[_0x1e9038(0x221)](this[_0x1e9038(0x1b8)]))[_0x1e9038(0x352)](_0x3c7ea5=>{const _0x4dc037=_0x1e9038,_0xd2d4da=_0x3c7ea5[_0x4dc037(0x374)](),_0x255718=this[_0x4dc037(0x13a)]['get'](_0xd2d4da);_0x255718&&(_0x255718[_0x4dc037(0x211)](),this[_0x4dc037(0x13a)][_0x4dc037(0x1a9)](_0xd2d4da));});}async[_0x198416(0x23d)](_0x1f8ecc){const _0x48773e=_0x198416,_0x2d6aee=await this[_0x48773e(0x288)]['requireSession'](_0x1f8ecc),_0x2cf7ce=this[_0x48773e(0x1b6)]['createInstance'](_0x28eeaa,_0x1f8ecc,_0x2d6aee);return _0x2cf7ce[_0x48773e(0x20e)](),_0x2cf7ce;}async[_0x198416(0x14a)](_0x29462b){const _0xdd4a90=_0x198416,_0x5643ef=await this[_0xdd4a90(0x288)][_0xdd4a90(0x160)](_0x29462b),_0x196520=this['_injector']['createInstance'](_0x27e4fa,_0x29462b,_0x5643ef);return _0x196520['init'](),_0x196520;}};_0x386fb1=_0x39c446([_0x2a47ba(0x0,_0x41ed90[_0x198416(0x29c)]),_0x2a47ba(0x1,_0x41ed90[_0x198416(0x300)](_0x41ed90['Injector'])),_0x2a47ba(0x2,_0x41ed90[_0x198416(0x300)](_0x340b74['CollaborationSessionService']))],_0x386fb1);const _0x203676=0x14,_0x56501b=0xc8,_0x31395f=0x4,_0x421f8f=0x5;function _0x1f9ca5(_0x35f8ec,_0x24fa95){const _0x22b900=_0x198416;let {radius:_0xbf3d4f,width:_0x43d4f3,height:_0x4c2833}=_0x24fa95;_0xbf3d4f=_0xbf3d4f!=null?_0xbf3d4f:0x0,_0x43d4f3=_0x43d4f3!=null?_0x43d4f3:0x1e,_0x4c2833=_0x4c2833!=null?_0x4c2833:0x1e;let _0x402516=0x0,_0x60c931=0x0,_0xa7ec6f=0x0;_0x402516=_0x60c931=_0xa7ec6f=Math[_0x22b900(0x105)](_0xbf3d4f,_0x43d4f3/0x2,_0x4c2833/0x2),_0x35f8ec['beginPath'](),_0x35f8ec[_0x22b900(0x183)](_0x402516,0x0),_0x35f8ec[_0x22b900(0x25d)](_0x43d4f3-_0x60c931,0x0),_0x35f8ec[_0x22b900(0x27f)](_0x43d4f3-_0x60c931,_0x60c931,_0x60c931,Math['PI']*0x3/0x2,0x0,!0x1),_0x35f8ec[_0x22b900(0x25d)](_0x43d4f3,_0x4c2833-_0xa7ec6f),_0x35f8ec[_0x22b900(0x27f)](_0x43d4f3-_0xa7ec6f,_0x4c2833-_0xa7ec6f,_0xa7ec6f,0x0,Math['PI']/0x2,!0x1),_0x35f8ec[_0x22b900(0x25d)](0x0,_0x4c2833),_0x35f8ec[_0x22b900(0x25d)](0x0,_0x402516),_0x35f8ec[_0x22b900(0x27f)](_0x402516,_0x402516,_0x402516,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x35f8ec[_0x22b900(0x1c5)](),_0x24fa95[_0x22b900(0x215)]&&(_0x35f8ec['save'](),_0x35f8ec[_0x22b900(0x1be)]=_0x24fa95[_0x22b900(0x215)],_0x24fa95[_0x22b900(0x224)]===_0x22b900(0x2b7)?_0x35f8ec[_0x22b900(0x215)](_0x22b900(0x2b7)):_0x35f8ec['fill'](),_0x35f8ec[_0x22b900(0x1f4)]());}class _0xb6cd8a extends _0xbfdec3[_0x198416(0x1e4)]{constructor(_0x4eaccb,_0x4c0df8){const _0x42592b=_0x198416;super(_0x4eaccb,_0x4c0df8),_0x2983ed(this,_0x42592b(0x208)),_0x2983ed(this,_0x42592b(0x189)),(this[_0x42592b(0x208)]=_0x4c0df8==null?void 0x0:_0x4c0df8[_0x42592b(0x208)],this[_0x42592b(0x189)]=_0x4c0df8==null?void 0x0:_0x4c0df8[_0x42592b(0x189)]);}static[_0x198416(0x2c9)](_0x4f3eba,_0x502901){const _0x26ece2=_0x198416,{text:_0x2d9993,color:_0x4d2ea9}=_0x502901;_0x4f3eba['save'](),_0x4f3eba[_0x26ece2(0x177)]=_0x26ece2(0x20b);const _0x51246c=_0x4f3eba[_0x26ece2(0x192)](_0x2d9993)[_0x26ece2(0x13e)],_0x5051fd=Math[_0x26ece2(0x105)](_0x51246c+0x2*_0x31395f,_0x56501b);_0x1f9ca5(_0x4f3eba,{'height':_0x203676,'radius':0x4,'width':_0x5051fd,'fill':_0x4d2ea9,'evented':!0x1}),_0x4f3eba[_0x26ece2(0x1be)]=_0x26ece2(0x13f);const _0x5aa4e2=_0x31395f,_0x5bee41=_0x203676-_0x421f8f,_0x30ed9e=_0x56501b-0x2*_0x31395f;if(_0x51246c>_0x30ed9e){let _0x6943dd='',_0x32d3f1=0x0;for(const _0x3d691b of _0x2d9993){const _0x3557d=_0x4f3eba[_0x26ece2(0x192)](_0x3d691b)['width'];if(_0x32d3f1+_0x3557d<=_0x30ed9e-_0x4f3eba[_0x26ece2(0x192)](_0x26ece2(0x2ec))['width'])_0x6943dd+=_0x3d691b,_0x32d3f1+=_0x3557d;else{_0x6943dd+=_0x26ece2(0x2ec);break;}}_0x4f3eba[_0x26ece2(0x187)](_0x6943dd,_0x5aa4e2,_0x5bee41);}else _0x4f3eba['fillText'](_0x2d9993,_0x5aa4e2,_0x5bee41);_0x4f3eba['restore']();}[_0x198416(0x115)](_0x5c7abd){const _0x314870=_0x198416;_0xb6cd8a[_0x314870(0x2c9)](_0x5c7abd,this);}}const _0x50c761=_0x198416(0x1a7),_0x48a81b=_0x198416(0x107),_0x239ba5=_0x198416(0x1b4),_0x5176ca=0x6,_0x4c97ce=1.5,_0x58d9f8=0x4,_0x535a1d=1.5,_0x353251=_0x198416(0x106);class _0x10e2a2{constructor(_0x2ed535,_0x451ad1,_0x576a30,_0x13c0ea){const _0x5ad88f=_0x198416;_0x2983ed(this,_0x5ad88f(0x255),[]),_0x2983ed(this,_0x5ad88f(0x25b),null),_0x2983ed(this,'_textBubble',null),_0x2983ed(this,'_anchorDot',null),_0x2983ed(this,'_hideTimer',null),_0x2983ed(this,_0x5ad88f(0x304),null),(this[_0x5ad88f(0x12d)]=_0x2ed535,this['_scene']=_0x451ad1,this[_0x5ad88f(0x325)]=_0x576a30,this[_0x5ad88f(0x324)]=_0x13c0ea,this[_0x5ad88f(0x15d)]());}set['_hover'](_0x441411){const _0x1c936d=_0x198416;_0x441411?(this[_0x1c936d(0x34b)]&&this[_0x1c936d(0x34b)][_0x1c936d(0x302)](),this['_textBubble']&&this[_0x1c936d(0x14f)][_0x1c936d(0x126)]()):(this[_0x1c936d(0x34b)]&&this[_0x1c936d(0x34b)][_0x1c936d(0x126)](),this['_textBubble']&&this['_textBubble'][_0x1c936d(0x302)]());}[_0x198416(0x211)](){const _0x7edda8=_0x198416;for(const _0x59080e of this['_shapes'])_0x59080e[_0x7edda8(0x211)]();this[_0x7edda8(0x14f)]&&this[_0x7edda8(0x14f)][_0x7edda8(0x211)](),this[_0x7edda8(0x34b)]&&this[_0x7edda8(0x34b)][_0x7edda8(0x211)](),this[_0x7edda8(0x25b)]&&this[_0x7edda8(0x25b)]['dispose'](),this[_0x7edda8(0x304)]&&this[_0x7edda8(0x304)]();}[_0x198416(0x15d)](){const _0x14981b=_0x198416;var _0x3d9cc8;const {_docSkeleton:_0x4ebd2f,_document:_0x158b55}=this,{color:_0xfe999e,name:_0x476cba,ranges:_0x39dfb3}=this['_cursor'],_0x2ead36=_0x158b55['getOffsetConfig'](),{docsLeft:_0x10e5a2,docsTop:_0x2af75d}=_0x2ead36,_0x3568c2=new _0x414ffd[(_0x14981b(0x29d))](_0x2ead36,_0x4ebd2f);for(const {startOffset:_0x5e3022,endOffset:_0x38035e,rangeType:_0x2e375d,segmentId:_0x258688,segmentPage:_0x2192be,collapsed:_0x40b352,isActive:_0x1c502b}of _0x39dfb3){const _0x1e6c85=_0x4ebd2f[_0x14981b(0x127)](_0x5e3022,!0x0,_0x258688,_0x2192be);let _0x48f6d9=_0x4ebd2f[_0x14981b(0x127)](_0x38035e,!0x0,_0x258688,_0x2192be);if(_0x48f6d9==null&&(_0x48f6d9=_0x4ebd2f['findNodePositionByCharIndex'](_0x38035e-0x1,!0x1,_0x258688,_0x2192be)),_0x1c502b){const {contentBoxPointGroup:_0x5e0454}=_0x3568c2[_0x14981b(0x240)](_0x48f6d9,_0x48f6d9);if(_0x5e0454[_0x14981b(0x2d9)]===0x0)continue;this['_drawAnchor'](_0xfe999e,_0x5e0454,_0x10e5a2,_0x2af75d,_0x476cba),this[_0x14981b(0x304)]=this[_0x14981b(0x385)]();}if(_0x1e6c85&&_0x48f6d9){if(_0x2e375d===_0x41ed90[_0x14981b(0x142)]['RECT']){const _0x319dad=new _0x414ffd[(_0x14981b(0x1c6))](_0x2ead36,_0x4ebd2f),{pointGroup:_0x298e7b}=(_0x3d9cc8=_0x319dad[_0x14981b(0x240)](_0x1e6c85,_0x48f6d9))!=null?_0x3d9cc8:{};if(_0x298e7b==null||_0x298e7b[_0x14981b(0x2d9)]===0x0)continue;this[_0x14981b(0x1dc)](_0xfe999e,_0x298e7b,_0x10e5a2,_0x2af75d);}else{if(!_0x40b352){const {borderBoxPointGroup:_0xd5f112}=_0x3568c2['getRangePointData'](_0x1e6c85,_0x48f6d9);if(_0xd5f112[_0x14981b(0x2d9)]===0x0)continue;this[_0x14981b(0x22a)](_0xfe999e,_0xd5f112,_0x10e5a2,_0x2af75d);}}}}}['_drawAnchor'](_0x402496,_0xaae514,_0x55d93d,_0x106647,_0x578424){const _0x1b7af4=_0x198416,_0x429c78=this[_0x1b7af4(0x249)](_0xaae514),{left:_0x1afaf6,top:_0x5dae31,height:_0x2c535d}=_0x429c78,_0x29ab3a=this[_0x1b7af4(0x153)](),_0x5c1c98=_0x535a1d/_0x29ab3a,_0x4635b3=new _0xbfdec3[(_0x1b7af4(0x1fa))](_0x50c761+_0x41ed90[_0x1b7af4(0x1d8)][_0x1b7af4(0x1f5)](_0x5176ca),{'left':_0x1afaf6+_0x55d93d-_0x5c1c98,'top':_0x5dae31+_0x106647,'height':_0x2c535d,'width':_0x4c97ce,'fill':_0x402496||_0xbfdec3['getColor'](_0x41ed90['COLORS']['black'],0x0),'strokeWidth':_0x5c1c98,'stroke':_0x353251,'evented':!0x0});this[_0x1b7af4(0x25b)]=_0x4635b3,this[_0x1b7af4(0x36a)][_0x1b7af4(0x1cd)](_0x4635b3,_0x414ffd[_0x1b7af4(0x21e)]);const _0x3cb602=new _0xbfdec3[(_0x1b7af4(0x1fa))](_0x50c761+_0x41ed90[_0x1b7af4(0x1d8)][_0x1b7af4(0x1f5)](_0x5176ca),{'left':_0x1afaf6+_0x55d93d-_0x5c1c98,'top':_0x5dae31+_0x106647-_0x58d9f8/0x2,'height':_0x58d9f8,'width':_0x58d9f8,'fill':_0x402496||_0xbfdec3[_0x1b7af4(0x309)](_0x41ed90[_0x1b7af4(0x157)][_0x1b7af4(0x2f6)],0x0),'strokeWidth':0x0,'stroke':_0x402496||_0xbfdec3['getColor'](_0x41ed90['COLORS']['black'],0x0),'evented':!0x1});this[_0x1b7af4(0x34b)]=_0x3cb602,this[_0x1b7af4(0x36a)][_0x1b7af4(0x1cd)](_0x3cb602,_0x414ffd[_0x1b7af4(0x21e)]);const _0x37b092=new _0xb6cd8a(_0x50c761+_0x41ed90[_0x1b7af4(0x1d8)][_0x1b7af4(0x1f5)](_0x5176ca),{'left':_0x1afaf6+_0x55d93d-_0x5c1c98,'top':_0x5dae31+_0x106647-_0x203676,'text':_0x578424,'color':_0x402496});this['_textBubble']=_0x37b092,this['_scene'][_0x1b7af4(0x1cd)](_0x37b092,_0x414ffd[_0x1b7af4(0x21e)]),this[_0x1b7af4(0x133)]=!0x1;}['_handleHover'](){const _0x5e6187=_0x198416,_0x2a22bd=this[_0x5e6187(0x25b)][_0x5e6187(0x218)][_0x5e6187(0x29f)](()=>{const _0x509c0e=_0x5e6187;this[_0x509c0e(0x133)]=!0x0;}),_0x2296dc=this[_0x5e6187(0x25b)][_0x5e6187(0x19b)][_0x5e6187(0x29f)](()=>{const _0x3ad81c=_0x5e6187;this[_0x3ad81c(0x17a)]&&clearTimeout(this['_hideTimer']),this[_0x3ad81c(0x17a)]=setTimeout(()=>{const _0x347c27=_0x3ad81c;this[_0x347c27(0x133)]=!0x1;},0x7d0);});return()=>{const _0x383329=_0x5e6187;_0x2a22bd['unsubscribe'](),_0x2296dc[_0x383329(0x110)]();};}[_0x198416(0x22a)](_0x5edd66,_0xa4f0e0,_0x15caa8,_0x5580dc){const _0xf6081b=_0x198416,_0x93140b=new _0x41ed90[(_0xf6081b(0x35e))](_0x5edd66)['setAlpha'](0.2)['toRgbString'](),_0x1a0de0=new _0xbfdec3[(_0xf6081b(0x365))](_0x48a81b+_0x41ed90[_0xf6081b(0x1d8)]['generateRandomId'](_0x5176ca),{'pointsGroup':_0xa4f0e0,'fill':_0x93140b||_0xbfdec3[_0xf6081b(0x309)](_0x41ed90[_0xf6081b(0x157)][_0xf6081b(0x2f6)],0.2),'left':_0x15caa8,'top':_0x5580dc,'evented':!0x1,'debounceParentDirty':!0x1});this[_0xf6081b(0x255)]['push'](_0x1a0de0),this['_scene']['addObject'](_0x1a0de0,_0x414ffd[_0xf6081b(0x21e)]);}[_0x198416(0x1dc)](_0x3b34b8,_0x4e0619,_0x39931c,_0x39033f){const _0x26ff06=_0x198416,_0x25711e=new _0x41ed90['ColorKit'](_0x3b34b8)[_0x26ff06(0x132)](0.2)[_0x26ff06(0x1e5)](),_0x1028fe=new _0xbfdec3[(_0x26ff06(0x365))](_0x239ba5+_0x41ed90[_0x26ff06(0x1d8)][_0x26ff06(0x1f5)](_0x5176ca),{'pointsGroup':_0x4e0619,'fill':_0x25711e||_0xbfdec3['getColor'](_0x41ed90[_0x26ff06(0x157)]['black'],0.2),'left':_0x39931c,'top':_0x39033f,'evented':!0x1,'debounceParentDirty':!0x1});this['_shapes'][_0x26ff06(0x26a)](_0x1028fe),this[_0x26ff06(0x36a)][_0x26ff06(0x1cd)](_0x1028fe,_0x414ffd[_0x26ff06(0x21e)]);}[_0x198416(0x249)](_0x412621){const _0x3d0038=_0x412621[0x0],_0x209819=_0x3d0038[0x0],_0x1cbc59=_0x3d0038[0x2],{x:_0x33e114,y:_0xc8b17b}=_0x209819,{x:_0x18eff1,y:_0x44b36f}=_0x1cbc59;return{'left':_0x33e114,'top':_0xc8b17b,'width':_0x18eff1-_0x33e114,'height':_0x44b36f-_0xc8b17b};}['_getScale'](){const _0x17b1cc=_0x198416,{scaleX:_0x277ad1,scaleY:_0x5e0826}=this[_0x17b1cc(0x36a)][_0x17b1cc(0x228)]();return Math['max'](_0x277ad1,_0x5e0826);}}var _0xeb1f9f=Object[_0x198416(0x26c)],_0xbd7e57=Object[_0x198416(0x27d)],_0x36b6a1=(_0x2ae5ea,_0x4ca1eb,_0xe88385,_0xaefe10)=>{const _0x1d06ab=_0x198416;for(var _0x4178dc=_0xaefe10>0x1?void 0x0:_0xaefe10?_0xbd7e57(_0x4ca1eb,_0xe88385):_0x4ca1eb,_0x5bc8f7=_0x2ae5ea[_0x1d06ab(0x2d9)]-0x1,_0x1a73fb;_0x5bc8f7>=0x0;_0x5bc8f7--)(_0x1a73fb=_0x2ae5ea[_0x5bc8f7])&&(_0x4178dc=(_0xaefe10?_0x1a73fb(_0x4ca1eb,_0xe88385,_0x4178dc):_0x1a73fb(_0x4178dc))||_0x4178dc);return _0xaefe10&&_0x4178dc&&_0xeb1f9f(_0x4ca1eb,_0xe88385,_0x4178dc),_0x4178dc;},_0x2e5abf=(_0x23fc0e,_0x2b661c)=>(_0x198c86,_0x4a60c1)=>_0x2b661c(_0x198c86,_0x4a60c1,_0x23fc0e);let _0x384df2=class extends _0x41ed90[_0x198416(0x12e)]{constructor(_0x7946fd,_0x3756a7,_0x100141,_0x587a91,_0x2ff7b7){const _0x5c0873=_0x198416;super(),_0x2983ed(this,_0x5c0873(0x146),[]),_0x2983ed(this,_0x5c0873(0x272),[]),(this[_0x5c0873(0x1e3)]=_0x7946fd,this[_0x5c0873(0x188)]=_0x3756a7,this[_0x5c0873(0x10a)]=_0x100141,this[_0x5c0873(0x10e)]=_0x587a91,this['_themeService']=_0x2ff7b7,this[_0x5c0873(0x37c)]());}[_0x198416(0x37c)](){const _0x2987c7=_0x198416,_0x1e11e5=this[_0x2987c7(0x1e3)][_0x2987c7(0x38a)],_0xb979c0=this[_0x2987c7(0x188)];this['disposeWithMe'](_0x4784ed[_0x2987c7(0x2ce)]([this['_collabCursorController'][_0x2987c7(0x219)](_0x1e11e5),this[_0x2987c7(0x279)]['currentTheme$']])[_0x2987c7(0x213)](_0x278228[_0x2987c7(0x19a)](([_0x1587e4,_0x2a30a2])=>({'skeleton':_0xb979c0[_0x2987c7(0x1cc)](),'cursors':[..._0x1587e4[_0x2987c7(0x383)]()]['flatMap'](_0x489425=>({..._0x489425,'color':_0x2a30a2[_0x489425['color']]}))})))[_0x2987c7(0x352)](_0x44fe19=>{const _0x7c7aae=_0x2987c7;if(this[_0x7c7aae(0x368)](),_0x44fe19){const {skeleton:_0x1539bc,cursors:_0x3fb00f}=_0x44fe19;this[_0x7c7aae(0x290)](_0x1539bc,_0x3fb00f);}})),this['_initResize'](),this[_0x2987c7(0x253)]();}[_0x198416(0x290)](_0xa343ce,_0x4b30e4){const _0x4ec061=_0x198416,{scene:_0x382aa3,mainComponent:_0xd862cd}=this[_0x4ec061(0x1e3)],_0x1ea122=_0x4b30e4[_0x4ec061(0x19a)](_0x2829f7=>new _0x10e2a2(_0x2829f7,_0x382aa3,_0xa343ce,_0xd862cd));this[_0x4ec061(0x146)]=_0x1ea122,this[_0x4ec061(0x272)]=_0x4b30e4;}[_0x198416(0x28e)](){const _0x5cb7a5=_0x198416;this[_0x5cb7a5(0x368)]();const {scene:_0x546d42,mainComponent:_0x502492}=this[_0x5cb7a5(0x1e3)],_0x1eeddb=this[_0x5cb7a5(0x188)]['getSkeleton'](),_0x3ef8f4=this[_0x5cb7a5(0x272)]['map'](_0x23d5b1=>new _0x10e2a2(_0x23d5b1,_0x546d42,_0x1eeddb,_0x502492));this[_0x5cb7a5(0x146)]=_0x3ef8f4;}[_0x198416(0x368)](){const _0x20aafe=_0x198416;this[_0x20aafe(0x146)][_0x20aafe(0x21c)](_0x208371=>_0x208371[_0x20aafe(0x211)]()),this['_cursorShapes']=[];}['_initCommandExecutedListener'](){const _0x261782=_0x198416,_0x3d2820=[_0x414ffd['SetDocZoomRatioOperation']['id']];this['disposeWithMe'](this[_0x261782(0x10e)][_0x261782(0x176)](_0x3cab7d=>{const _0x291e22=_0x261782;_0x3d2820['includes'](_0x3cab7d['id'])&&_0x3cab7d['params'][_0x291e22(0x38a)]===this['_context'][_0x291e22(0x38a)]&&this[_0x291e22(0x28e)]();}));}['_initResize'](){const _0x4e2589=_0x198416;this['disposeWithMe'](_0x41ed90[_0x4e2589(0x37e)](this['_context'][_0x4e2589(0x2ea)][_0x4e2589(0x2c0)])[_0x4e2589(0x213)](_0x278228[_0x4e2589(0x11f)](_0x10d55a=>_0x10d55a[_0x4e2589(0x143)]===_0xbfdec3[_0x4e2589(0x349)][_0x4e2589(0x36f)]),_0x278228[_0x4e2589(0x223)](0x10))[_0x4e2589(0x352)](()=>{const _0xde9415=_0x4e2589;this[_0xde9415(0x28e)]();}));}};_0x384df2=_0x36b6a1([_0x2e5abf(0x1,_0x41ed90[_0x198416(0x300)](_0x4add3d['DocSkeletonManagerService'])),_0x2e5abf(0x2,_0x41ed90[_0x198416(0x300)](_0x386fb1)),_0x2e5abf(0x3,_0x41ed90[_0x198416(0x1dd)]),_0x2e5abf(0x4,_0x41ed90['Inject'](_0x41ed90[_0x198416(0x30e)]))],_0x384df2);const _0x11562d=0x1,_0x427718=1.5;class _0x24526b extends _0xbfdec3['Shape']{constructor(_0x555790,_0xa436a1){const _0x405ed4=_0x198416;super(_0x555790,_0xa436a1),_0x2983ed(this,'_color'),_0x2983ed(this,_0x405ed4(0x154),!0x1),_0x2983ed(this,'_range'),_0x2983ed(this,'_name',''),_0x2983ed(this,_0x405ed4(0x2ed),_0x405ed4(0x216)),_0x2983ed(this,_0x405ed4(0x21a)),(_0xa436a1&&this[_0x405ed4(0x10c)](_0xa436a1),this[_0x405ed4(0x218)][_0x405ed4(0x29f)](()=>this[_0x405ed4(0x10c)]({'hovered':!0x0})),this[_0x405ed4(0x19b)]['subscribeEvent'](()=>this[_0x405ed4(0x10c)]({'hovered':!0x1})));}[_0x198416(0x10c)](_0x1b5e3a){const _0x3fd54b=_0x198416;var _0x621ff,_0x51441e,_0x4f27ce,_0x5d268a,_0x4109a0,_0x526db4;this[_0x3fd54b(0x320)]=(_0x621ff=_0x1b5e3a[_0x3fd54b(0x208)])!=null?_0x621ff:this[_0x3fd54b(0x320)],this[_0x3fd54b(0x154)]=(_0x51441e=_0x1b5e3a[_0x3fd54b(0x1ae)])!=null?_0x51441e:this['_hovered'],this[_0x3fd54b(0x118)]=(_0x4f27ce=_0x1b5e3a['range'])!=null?_0x4f27ce:this[_0x3fd54b(0x118)],this[_0x3fd54b(0x2b9)]=(_0x5d268a=_0x1b5e3a[_0x3fd54b(0x2db)])!=null?_0x5d268a:this[_0x3fd54b(0x2b9)],this['_labelPosition']=(_0x4109a0=_0x1b5e3a[_0x3fd54b(0x1f2)])!=null?_0x4109a0:this['_labelPosition'],this['_backgroundColor']=(_0x526db4=_0x1b5e3a[_0x3fd54b(0x1d3)])!=null?_0x526db4:this[_0x3fd54b(0x21a)],this[_0x3fd54b(0x331)]({'width':_0x1b5e3a[_0x3fd54b(0x13e)],'height':_0x1b5e3a[_0x3fd54b(0x2e1)]});}[_0x198416(0x377)](_0x24b9c7){const _0x4c1c99=_0x198416,{row:_0x56c6af,column:_0x278eb1}=_0x24b9c7;if(_0x56c6af>=this[_0x4c1c99(0x118)]['startRow']&&_0x56c6af<=this[_0x4c1c99(0x118)]['endRow']&&_0x278eb1>=this[_0x4c1c99(0x118)][_0x4c1c99(0x150)]&&_0x278eb1<=this['_range'][_0x4c1c99(0x233)]){this['setShapeProps']({'hovered':!0x0});return;}this[_0x4c1c99(0x10c)]({'hovered':!0x1});}[_0x198416(0x2ee)](_0x2cacd0){return!0x1;}[_0x198416(0x115)](_0x16ebbb){const _0x34a359=_0x198416;_0xbfdec3['Rect'][_0x34a359(0x2c9)](_0x16ebbb,{'width':this['width'],'height':this[_0x34a359(0x2e1)],'strokeWidth':_0x427718,'stroke':this[_0x34a359(0x320)],'evented':!0x1,'fill':this[_0x34a359(0x21a)]}),this[_0x34a359(0x154)]&&(_0x16ebbb['save'](),_0x16ebbb[_0x34a359(0x258)](0x1,0x0,0x0,0x1,this[_0x34a359(0x13e)],this[_0x34a359(0x2ed)]==='bottom'?0x0:-_0x203676),_0xb6cd8a[_0x34a359(0x2c9)](_0x16ebbb,{'text':this[_0x34a359(0x2b9)],'color':this[_0x34a359(0x320)]}),_0x16ebbb['restore']());}}var _0x5f2b29=Object[_0x198416(0x26c)],_0x10abd8=Object[_0x198416(0x27d)],_0xb61674=(_0xa9cdbb,_0x263a8a,_0x2fa4a0,_0x1a90fb)=>{const _0x547b68=_0x198416;for(var _0x112059=_0x1a90fb>0x1?void 0x0:_0x1a90fb?_0x10abd8(_0x263a8a,_0x2fa4a0):_0x263a8a,_0x36976b=_0xa9cdbb[_0x547b68(0x2d9)]-0x1,_0x1cdab8;_0x36976b>=0x0;_0x36976b--)(_0x1cdab8=_0xa9cdbb[_0x36976b])&&(_0x112059=(_0x1a90fb?_0x1cdab8(_0x263a8a,_0x2fa4a0,_0x112059):_0x1cdab8(_0x112059))||_0x112059);return _0x1a90fb&&_0x112059&&_0x5f2b29(_0x263a8a,_0x2fa4a0,_0x112059),_0x112059;},_0x2edb77=(_0x2eec97,_0x1b33a7)=>(_0xc7fbeb,_0x39bbc4)=>_0x1b33a7(_0xc7fbeb,_0x39bbc4,_0x2eec97);const _0x484eaf=0x1389;let _0x11ba9b=class extends _0x41ed90[_0x198416(0x12e)]{constructor(_0x4d97c3,_0x57c058,_0x53e232,_0x53327a){const _0xd09893=_0x198416;super(),_0x2983ed(this,_0xd09893(0x272),new Set()),_0x2983ed(this,_0xd09893(0x1b7),null),(this['_context']=_0x4d97c3,this[_0xd09893(0x2fd)]=_0x57c058,this['_collabCursorController']=_0x53e232,this[_0xd09893(0x279)]=_0x53327a,this[_0xd09893(0x37c)]());}[_0x198416(0x37c)](){const _0x5af5f9=_0x198416;this[_0x5af5f9(0x2fd)][_0x5af5f9(0x2e8)][_0x5af5f9(0x213)](_0x278228[_0x5af5f9(0x221)](this['dispose$']),_0x278228[_0x5af5f9(0x263)](_0x2f91ec=>{const _0x48fca7=_0x5af5f9;if(_0x2f91ec){const _0x2a54b3=_0x2f91ec[_0x48fca7(0x1bd)];return _0x4784ed[_0x48fca7(0x2ce)](this['_collabCursorController']['getCollabCursors$'](this[_0x48fca7(0x1e3)][_0x48fca7(0x38a)]),this[_0x48fca7(0x279)]['currentTheme$'])[_0x48fca7(0x213)](_0x278228[_0x48fca7(0x19a)](([_0xfba3ff,_0x3ba2ed])=>{const _0x3051e5=_0x48fca7,_0x4352e1=new Map();return _0xfba3ff[_0x3051e5(0x21c)]((_0x54b825,_0x3c04e0)=>{const _0x1dc9cc=_0x3051e5;if(_0x54b825[_0x1dc9cc(0x250)]===_0x2a54b3){const _0x86bb2c={..._0x54b825};_0x86bb2c[_0x1dc9cc(0x208)]=_0x3ba2ed[_0x54b825[_0x1dc9cc(0x208)]],_0x4352e1['set'](_0x3c04e0,_0x86bb2c);}}),{'skeleton':_0x2f91ec,'cursors':_0x4352e1};}));}return _0x4784ed['of']({'skeleton':null,'cursors':new Map()});}))[_0x5af5f9(0x352)](({skeleton:_0x120de7,cursors:_0x4546ac})=>{const _0x22953c=_0x5af5f9;this[_0x22953c(0x368)](),_0x120de7&&this[_0x22953c(0x290)](_0x120de7,_0x4546ac);}),this['_sheetSkeletonManagerService']['currentSkeleton$'][_0x5af5f9(0x352)](_0x49bb1e=>{const _0x29951b=_0x5af5f9;if(_0x49bb1e==null)return;const {skeleton:_0x36197e}=_0x49bb1e,{scene:_0xd2a3e2}=this[_0x29951b(0x1e3)];_0xd2a3e2[_0x29951b(0x238)][_0x29951b(0x29f)](_0x41ed90[_0x29951b(0x2f2)](_0x1ac424=>{const _0x410799=_0x29951b;var _0x473d61,_0x3a33e5;const {offsetX:_0x21fd1a,offsetY:_0x525a85}=_0x1ac424,{x:_0x3f80ba,y:_0x4ff9ce}=_0xd2a3e2[_0x410799(0x210)](_0xbfdec3[_0x410799(0x1e8)]['FromArray']([_0x21fd1a,_0x525a85])),{scaleX:_0x2c3425,scaleY:_0x29b0a7}=_0xd2a3e2['getAncestorScale'](),_0x3b5faa=_0xd2a3e2[_0x410799(0x2ac)](_0xbfdec3[_0x410799(0x335)][_0x410799(0x15f)]),_0x2b19d4=_0xd2a3e2[_0x410799(0x32a)](_0xbfdec3[_0x410799(0x1e8)][_0x410799(0x347)]([_0x3f80ba,_0x4ff9ce]),_0x3b5faa),_0x1f13fd=_0x36197e[_0x410799(0x28a)](_0x21fd1a,_0x525a85,_0x2c3425,_0x29b0a7,_0x2b19d4);((_0x473d61=this['_lastPointer'])==null?void 0x0:_0x473d61[_0x410799(0x270)])===_0x1f13fd[_0x410799(0x270)]&&((_0x3a33e5=this[_0x410799(0x1b7)])==null?void 0x0:_0x3a33e5[_0x410799(0x151)])===_0x1f13fd[_0x410799(0x151)]||this[_0x410799(0x272)][_0x410799(0x21c)](_0x525203=>{const _0x2752ac=_0x410799;_0x525203[_0x2752ac(0x377)](_0x1f13fd);});},0x64));});}['_updateCollabCursors'](_0x530998,_0x2ab0b8){const _0x395b94=_0x198416;var _0x1f8999;const _0x50b15d=(_0x1f8999=this[_0x395b94(0x2fd)][_0x395b94(0x1a8)]())==null?void 0x0:_0x1f8999[_0x395b94(0x31f)];if(!_0x50b15d)return;const _0x4ea31b=this[_0x395b94(0x283)]();if(!_0x4ea31b)return;this['_cursors'][_0x395b94(0x21c)](_0x58b581=>{const _0x1ed828=_0x395b94;_0x58b581[_0x1ed828(0x2a8)]();});const {scene:_0x4ba616}=_0x4ea31b,_0x5786f4=_0x303ea9(Array[_0x395b94(0x116)](_0x2ab0b8[_0x395b94(0x383)]()))[_0x395b94(0x19a)](_0x313de2=>{const _0x386dad=_0x395b94,{color:_0x2c78d1,range:_0x2ba59d,name:_0x3e21e6,selection:_0x11a3eb,sheetID:_0x4e4125}=_0x313de2,{startColumn:_0x21933c,startRow:_0x5eada6,endColumn:_0x39c585,endRow:_0x5ea5a0}=_0x2ba59d,_0x56bf36=_0x4012d1[_0x386dad(0x128)](_0x5eada6,_0x21933c,_0x4ba616,_0x50b15d),_0x2d9d90=_0x4012d1[_0x386dad(0x128)](_0x5ea5a0,_0x39c585,_0x4ba616,_0x50b15d),{columnHeaderHeightAndMarginTop:_0x3ee779}=_0x50b15d,{startX:_0x458365,startY:_0x5ef085}=_0x56bf36,{endX:_0x276460,endY:_0x2652d4}=_0x2d9d90,_0x427cbd=_0x276460-_0x458365,_0x333307=_0x2652d4-_0x5ef085,_0x262ae2={'labelPosition':_0x5ef085-_0x3ee779>=_0x203676?_0x386dad(0x216):_0x386dad(0x2ef),'sheetID':_0x4e4125,'range':_0x2ba59d,'color':_0x2c78d1,'name':_0x3e21e6,'selection':_0x11a3eb,'left':_0x458365,'top':_0x5ef085,'width':_0x427cbd,'height':_0x333307,'evented':!0x1,'zIndex':_0x484eaf};return new _0x24526b(_0x3e21e6,_0x262ae2);});_0x4ba616[_0x395b94(0x158)](_0x5786f4,_0x11562d),this[_0x395b94(0x272)]=new Set(_0x5786f4);}[_0x198416(0x368)](){const _0x3d4489=_0x198416;var _0x4d6784;(_0x4d6784=this[_0x3d4489(0x272)])==null||_0x4d6784[_0x3d4489(0x21c)](_0x1b3494=>_0x1b3494[_0x3d4489(0x211)]());}[_0x198416(0x283)](){const _0x4822bf=_0x198416;return _0x4012d1[_0x4822bf(0x1d0)](this[_0x4822bf(0x1e3)][_0x4822bf(0x29a)],this['_context']);}};_0x11ba9b=_0xb61674([_0x2edb77(0x1,_0x41ed90[_0x198416(0x300)](_0x4012d1[_0x198416(0x201)])),_0x2edb77(0x2,_0x41ed90[_0x198416(0x300)](_0x386fb1)),_0x2edb77(0x3,_0x41ed90[_0x198416(0x300)](_0x41ed90['ThemeService']))],_0x11ba9b);function _0x303ea9(_0x582cb8){const _0x41badd=_0x198416,_0x1319f2=new Map();return _0x582cb8[_0x41badd(0x21c)](_0x52776b=>{const _0x11c248=_0x41badd;if(_0x1319f2[_0x11c248(0x27e)](_0x52776b[_0x11c248(0x34c)])){const _0x1299c0=_0x1319f2[_0x11c248(0x165)](_0x52776b[_0x11c248(0x34c)]);_0x1299c0[_0x11c248(0x2db)]+=',\x20'+_0x52776b[_0x11c248(0x2db)];}else _0x1319f2[_0x11c248(0x297)](_0x52776b[_0x11c248(0x34c)],_0x52776b);}),Array[_0x41badd(0x116)](_0x1319f2['values']());}var _0x405060={'exports':{}},_0x4dfe95={},_0x1b1a65;function _0x21351c(){const _0xf14fd4=_0x198416;if(_0x1b1a65)return _0x4dfe95;_0x1b1a65=0x1;var _0x39f2af=_0x255a92,_0x4e39c5=Symbol[_0xf14fd4(0x2de)](_0xf14fd4(0x2e3)),_0x37b87f=Symbol[_0xf14fd4(0x2de)](_0xf14fd4(0x22c)),_0x45a034=Object['prototype'][_0xf14fd4(0x2d4)],_0x19174b=_0x39f2af[_0xf14fd4(0x37d)][_0xf14fd4(0x129)],_0x473a24={'key':!0x0,'ref':!0x0,'__self':!0x0,'__source':!0x0};function _0x5e1071(_0x301925,_0x55e6ef,_0x1a7a26){const _0x1e5af6=_0xf14fd4;var _0x1b1c45,_0x3633be={},_0x38457c=null,_0x5189d1=null;_0x1a7a26!==void 0x0&&(_0x38457c=''+_0x1a7a26),_0x55e6ef[_0x1e5af6(0x289)]!==void 0x0&&(_0x38457c=''+_0x55e6ef[_0x1e5af6(0x289)]),_0x55e6ef[_0x1e5af6(0x26d)]!==void 0x0&&(_0x5189d1=_0x55e6ef[_0x1e5af6(0x26d)]);for(_0x1b1c45 in _0x55e6ef)_0x45a034[_0x1e5af6(0x1d9)](_0x55e6ef,_0x1b1c45)&&!_0x473a24[_0x1e5af6(0x2d4)](_0x1b1c45)&&(_0x3633be[_0x1b1c45]=_0x55e6ef[_0x1b1c45]);if(_0x301925&&_0x301925[_0x1e5af6(0x35f)]){for(_0x1b1c45 in(_0x55e6ef=_0x301925['defaultProps'],_0x55e6ef))_0x3633be[_0x1b1c45]===void 0x0&&(_0x3633be[_0x1b1c45]=_0x55e6ef[_0x1b1c45]);}return{'$$typeof':_0x4e39c5,'type':_0x301925,'key':_0x38457c,'ref':_0x5189d1,'props':_0x3633be,'_owner':_0x19174b[_0x1e5af6(0x1fb)]};}return _0x4dfe95['Fragment']=_0x37b87f,_0x4dfe95[_0xf14fd4(0x1ce)]=_0x5e1071,_0x4dfe95[_0xf14fd4(0x2ca)]=_0x5e1071,_0x4dfe95;}var _0xa36505;function _0x3d0a4a(){const _0x1f8732=_0x198416;return _0xa36505||(_0xa36505=0x1,_0x405060[_0x1f8732(0x1b0)]=_0x21351c()),_0x405060['exports'];}var _0x31fbe1=_0x3d0a4a(),_0x2f92fe=function(){const _0x232e98=_0x198416;return _0x2f92fe=Object[_0x232e98(0x227)]||function(_0x4df630){const _0x277fd0=_0x232e98;for(var _0x542ce9,_0x403611=0x1,_0x3870ab=arguments[_0x277fd0(0x2d9)];_0x403611<_0x3870ab;_0x403611++){_0x542ce9=arguments[_0x403611];for(var _0x39a229 in _0x542ce9)Object[_0x277fd0(0x1c0)]['hasOwnProperty']['call'](_0x542ce9,_0x39a229)&&(_0x4df630[_0x39a229]=_0x542ce9[_0x39a229]);}return _0x4df630;},_0x2f92fe[_0x232e98(0x334)](this,arguments);},_0x21a3aa=function(_0x615a,_0x407469){const _0x4985fc=_0x198416;var _0x404709={};for(var _0x5ea929 in _0x615a)Object['prototype'][_0x4985fc(0x2d4)][_0x4985fc(0x1d9)](_0x615a,_0x5ea929)&&_0x407469[_0x4985fc(0x14c)](_0x5ea929)<0x0&&(_0x404709[_0x5ea929]=_0x615a[_0x5ea929]);if(_0x615a!=null&&typeof Object[_0x4985fc(0x13c)]=='function'){for(var _0x12ecd7=0x0,_0x5ea929=Object[_0x4985fc(0x13c)](_0x615a);_0x12ecd7<_0x5ea929[_0x4985fc(0x2d9)];_0x12ecd7++)_0x407469['indexOf'](_0x5ea929[_0x12ecd7])<0x0&&Object[_0x4985fc(0x1c0)][_0x4985fc(0x35d)]['call'](_0x615a,_0x5ea929[_0x12ecd7])&&(_0x404709[_0x5ea929[_0x12ecd7]]=_0x615a[_0x5ea929[_0x12ecd7]]);}return _0x404709;},_0x9ba6cb=_0x255a92[_0x198416(0x2ad)](function(_0x38042d,_0x4c525f){const _0x84d699=_0x198416;var _0x119b8c=_0x38042d[_0x84d699(0x2a6)],_0x38f176=_0x38042d['id'],_0x2a5c80=_0x38042d[_0x84d699(0x23a)],_0x2e058a=_0x38042d[_0x84d699(0x26e)],_0x5e431b=_0x21a3aa(_0x38042d,[_0x84d699(0x2a6),'id',_0x84d699(0x23a),_0x84d699(0x26e)]),_0x1c80f5=_0x84d699(0x1da)['concat'](_0x38f176,'\x20')['concat'](_0x2a5c80||'')[_0x84d699(0x11c)](),_0x1dd9dc=_0x255a92[_0x84d699(0x339)]('_'[_0x84d699(0x113)](_0x2aee39()));return _0x417c42(_0x119b8c,''[_0x84d699(0x113)](_0x38f176),{'defIds':_0x119b8c['defIds'],'idSuffix':_0x1dd9dc['current']},_0x2f92fe({'ref':_0x4c525f,'className':_0x1c80f5},_0x5e431b),_0x2e058a);});function _0x417c42(_0x36bc9c,_0x9d645c,_0x494079,_0x32c70a,_0x1696aa){const _0x2aab49=_0x198416;return _0x255a92[_0x2aab49(0x22b)](_0x36bc9c[_0x2aab49(0x2a0)],_0x2f92fe(_0x2f92fe({'key':_0x9d645c},_0x2e08dc(_0x36bc9c,_0x494079,_0x1696aa)),_0x32c70a),(_0x125d1(_0x36bc9c,_0x494079)[_0x2aab49(0x180)]||[])[_0x2aab49(0x19a)](function(_0x370fde,_0xa45f3b){const _0x559a17=_0x2aab49;return _0x417c42(_0x370fde,''[_0x559a17(0x113)](_0x9d645c,'-')['concat'](_0x36bc9c[_0x559a17(0x2a0)],'-')[_0x559a17(0x113)](_0xa45f3b),_0x494079,void 0x0,_0x1696aa);}));}function _0x2e08dc(_0x2b9556,_0xba6e9e,_0x108a83){const _0x5e4522=_0x198416;var _0x140cb6=_0x2f92fe({},_0x2b9556[_0x5e4522(0x372)]);_0x108a83!=null&&_0x108a83[_0x5e4522(0x26f)]&&_0x140cb6[_0x5e4522(0x215)]===_0x5e4522(0x26f)&&(_0x140cb6[_0x5e4522(0x215)]=_0x108a83[_0x5e4522(0x26f)]);var _0x3e5da1=_0xba6e9e[_0x5e4522(0x1ad)];return!_0x3e5da1||_0x3e5da1['length']===0x0||(_0x2b9556['tag']===_0x5e4522(0x1c9)&&_0x140cb6[_0x5e4522(0x1bf)]&&(_0x140cb6[_0x5e4522(0x1bf)]=_0x140cb6[_0x5e4522(0x1bf)]+_0xba6e9e[_0x5e4522(0x111)]),Object[_0x5e4522(0x236)](_0x140cb6)[_0x5e4522(0x21c)](function(_0x453017){const _0x3a7761=_0x5e4522;var _0x1536b0=_0x453017[0x0],_0x3aff5f=_0x453017[0x1];typeof _0x3aff5f==_0x3a7761(0x225)&&(_0x140cb6[_0x1536b0]=_0x3aff5f[_0x3a7761(0x369)](/url\(#(.*)\)/,_0x3a7761(0x214)[_0x3a7761(0x113)](_0xba6e9e['idSuffix'],')')));})),_0x140cb6;}function _0x125d1(_0x56c902,_0x19f09f){const _0x9ba558=_0x198416;var _0x3b98a9,_0x4f2657=_0x19f09f[_0x9ba558(0x1ad)];return!_0x4f2657||_0x4f2657[_0x9ba558(0x2d9)]===0x0?_0x56c902:_0x56c902[_0x9ba558(0x2a0)]===_0x9ba558(0x30a)&&(!((_0x3b98a9=_0x56c902[_0x9ba558(0x180)])===null||_0x3b98a9===void 0x0)&&_0x3b98a9[_0x9ba558(0x2d9)])?_0x2f92fe(_0x2f92fe({},_0x56c902),{'children':_0x56c902[_0x9ba558(0x180)]['map'](function(_0x2afd8b){const _0x52b3e0=_0x9ba558;return typeof _0x2afd8b[_0x52b3e0(0x372)]['id']==_0x52b3e0(0x225)&&_0x4f2657&&_0x4f2657[_0x52b3e0(0x14c)](_0x2afd8b[_0x52b3e0(0x372)]['id'])>-0x1?_0x2f92fe(_0x2f92fe({},_0x2afd8b),{'attrs':_0x2f92fe(_0x2f92fe({},_0x2afd8b[_0x52b3e0(0x372)]),{'id':_0x2afd8b[_0x52b3e0(0x372)]['id']+_0x19f09f[_0x52b3e0(0x111)]})}):_0x2afd8b;})}):_0x56c902;}function _0x2aee39(){const _0xc7168=_0x198416;return Math['random']()['toString'](0x24)[_0xc7168(0x340)](0x2,0x8);}_0x9ba6cb['displayName']=_0x198416(0x16a);var _0x163aaf={'tag':_0x198416(0x1ec),'attrs':{'fill':_0x198416(0x1f0),'viewBox':_0x198416(0x361),'width':_0x198416(0x131),'height':_0x198416(0x131)},'children':[{'tag':'g','attrs':{'clipPath':_0x198416(0x34e)},'children':[{'tag':'path','attrs':{'stroke':'currentColor','d':_0x198416(0x1ff),'strokeLinecap':'round','strokeLinejoin':_0x198416(0x2ab),'strokeWidth':1.2}}]},{'tag':'defs','attrs':{},'children':[{'tag':_0x198416(0x2d3),'attrs':{'id':_0x198416(0x2c7)},'children':[{'tag':'path','attrs':{'fill':_0x198416(0x252),'d':_0x198416(0x156)}}]}]}],'defIds':['off-line-single_clip0_910_343']},_0x3aea68=_0x255a92['forwardRef'](function(_0xf0ac1d,_0x18472d){const _0x2562c5=_0x198416;return _0x255a92['createElement'](_0x9ba6cb,Object[_0x2562c5(0x227)]({},_0xf0ac1d,{'id':_0x2562c5(0x1aa),'ref':_0x18472d,'icon':_0x163aaf}));});_0x3aea68[_0x198416(0x332)]=_0x198416(0x135);var _0x37b522={'tag':_0x198416(0x1ec),'attrs':{'fill':'none','viewBox':'0\x200\x2017\x2016','width':'1em','height':_0x198416(0x131)},'children':[{'tag':'g','attrs':{'clipPath':_0x198416(0x242)},'children':[{'tag':'path','attrs':{'stroke':_0x198416(0x319),'d':'M4.5865\x2011.6499C3.36983\x2011.6499\x201.6665\x2011.1024\x201.6665\x208.9124C1.6665\x206.3574\x204.2215\x205.8099\x204.9515\x205.8099C5.3165\x204.5324\x206.0465\x202.5249\x208.9665\x202.5249C11.5215\x202.5249\x2012.6165\x203.9849\x2012.9815\x205.2624C12.9815\x205.2624\x2016.2665\x205.6274\x2016.2665\x208.7299C16.2665\x2010.9199\x2014.8065\x2011.6499\x2013.3465\x2011.6499M6.7767\x2011.6497L8.9667\x2013.4747L11.8867\x209.82466','strokeLinecap':_0x198416(0x2ab),'strokeLinejoin':'round','strokeWidth':1.2}}]},{'tag':'defs','attrs':{},'children':[{'tag':_0x198416(0x2d3),'attrs':{'id':'on-line-single_clip0_910_349'},'children':[{'tag':_0x198416(0x19d),'attrs':{'fill':_0x198416(0x252),'d':_0x198416(0x156),'transform':_0x198416(0x2ff)}}]}]}],'defIds':['on-line-single_clip0_910_349']},_0xad1f7f=_0x255a92['forwardRef'](function(_0x38729c,_0x140c6e){const _0x383bee=_0x198416;return _0x255a92[_0x383bee(0x22b)](_0x9ba6cb,Object[_0x383bee(0x227)]({},_0x38729c,{'id':'on-line-single','ref':_0x140c6e,'icon':_0x37b522}));});_0xad1f7f[_0x198416(0x332)]=_0x198416(0x124);function _0xbc9c77(_0x315d3d){const _0x57a4e1=_0x198416;var _0x51a346,_0x58268e,_0xe92d36='';if(typeof _0x315d3d==_0x57a4e1(0x225)||typeof _0x315d3d==_0x57a4e1(0x2be))_0xe92d36+=_0x315d3d;else{if(typeof _0x315d3d=='object'){if(Array[_0x57a4e1(0x27a)](_0x315d3d)){var _0x5522fd=_0x315d3d[_0x57a4e1(0x2d9)];for(_0x51a346=0x0;_0x51a346<_0x5522fd;_0x51a346++)_0x315d3d[_0x51a346]&&(_0x58268e=_0xbc9c77(_0x315d3d[_0x51a346]))&&(_0xe92d36&&(_0xe92d36+='\x20'),_0xe92d36+=_0x58268e);}else{for(_0x58268e in _0x315d3d)_0x315d3d[_0x58268e]&&(_0xe92d36&&(_0xe92d36+='\x20'),_0xe92d36+=_0x58268e);}}}return _0xe92d36;}function _0x181e2d(){const _0x51d3b6=_0x198416;for(var _0x25e387,_0x400ae9,_0x16b228=0x0,_0xd3375a='',_0x52a3a2=arguments[_0x51d3b6(0x2d9)];_0x16b228<_0x52a3a2;_0x16b228++)(_0x25e387=arguments[_0x16b228])&&(_0x400ae9=_0xbc9c77(_0x25e387))&&(_0xd3375a&&(_0xd3375a+='\x20'),_0xd3375a+=_0x400ae9);return _0xd3375a;}const _0x404fd1={'onlineStatusIcon':_0x198416(0x315),'onlineStatusTitle':_0x198416(0x122),'onlineStatus':'univer-online-status','online':'univer-online','offline':'univer-offline'};function _0xd47e93(_0x460e98){const _0x339368=_0x198416;switch(_0x460e98){case _0x340b74['CollaborationStatus']['OFFLINE']:return _0x339368(0x286);case _0x340b74[_0x339368(0x267)]['CONFLICT']:return _0x339368(0x24e);case _0x340b74['CollaborationStatus'][_0x339368(0x2ba)]:return'collabStatus.fetchMiss';case _0x340b74['CollaborationStatus'][_0x339368(0x251)]:return _0x339368(0x24a);case _0x340b74[_0x339368(0x267)]['AWAITING']:case _0x340b74[_0x339368(0x267)][_0x339368(0x123)]:return _0x339368(0x2dd);case _0x340b74[_0x339368(0x267)]['SYNCED']:case _0x340b74[_0x339368(0x267)][_0x339368(0x245)]:return'collabStatus.synced';}}function _0x55ce54(_0x4c2d78){const _0x51f78=_0x198416,{status$:_0x741992}=_0x4c2d78,_0x506165=_0x1d78d7['useObservable'](_0x741992,_0x340b74[_0x51f78(0x267)][_0x51f78(0x251)]),_0x53bfbd=_0x41ed90[_0x51f78(0x2b5)](_0x41ed90['LocaleService']),_0x1f7652=_0x41ed90[_0x51f78(0x2b5)](_0x340b74[_0x51f78(0x23f)]),_0x5efa1a=_0x506165!==_0x340b74['CollaborationStatus'][_0x51f78(0x19f)],_0x1e558b=_0x53bfbd['t'](_0xd47e93(_0x506165)),_0x5e0542=_0x181e2d(_0x404fd1[_0x51f78(0x16b)],{[_0x404fd1[_0x51f78(0x15c)]]:_0x5efa1a,[_0x404fd1[_0x51f78(0x2f4)]]:!_0x5efa1a}),_0x1052b9=_0x5efa1a?_0x31fbe1[_0x51f78(0x1ce)](_0xad1f7f,{}):_0x31fbe1['jsx'](_0x3aea68,{}),_0x3f1de1=_0x255a92[_0x51f78(0x22e)](()=>{_0x5efa1a||_0x1f7652['reconnect']();},[_0x5efa1a,_0x1f7652]);function _0x51c0e5(){const _0x2a9d82=_0x51f78;return _0x31fbe1[_0x2a9d82(0x2ca)](_0x2a9d82(0x202),{'className':_0x5e0542,'onClick':_0x3f1de1,'children':[_0x31fbe1[_0x2a9d82(0x1ce)]('div',{'className':_0x404fd1['onlineStatusIcon'],'children':_0x1052b9}),_0x31fbe1[_0x2a9d82(0x1ce)](_0x2a9d82(0x202),{'className':_0x404fd1['onlineStatusTitle'],'children':_0x1e558b})]});}return _0x5efa1a?_0x51c0e5():_0x31fbe1[_0x51f78(0x1ce)](_0x42e905['Tooltip'],{'title':_0x53bfbd['t'](_0x51f78(0x36e)),'children':_0x51c0e5()});}var _0x4b8304=Object['defineProperty'],_0x5558a7=Object[_0x198416(0x27d)],_0x505ef1=(_0x538bba,_0x332d98,_0xdfa30e,_0x128d5f)=>{const _0x225f78=_0x198416;for(var _0x32ccff=_0x128d5f>0x1?void 0x0:_0x128d5f?_0x5558a7(_0x332d98,_0xdfa30e):_0x332d98,_0x10f542=_0x538bba[_0x225f78(0x2d9)]-0x1,_0x1011ff;_0x10f542>=0x0;_0x10f542--)(_0x1011ff=_0x538bba[_0x10f542])&&(_0x32ccff=(_0x128d5f?_0x1011ff(_0x332d98,_0xdfa30e,_0x32ccff):_0x1011ff(_0x32ccff))||_0x32ccff);return _0x128d5f&&_0x32ccff&&_0x4b8304(_0x332d98,_0xdfa30e,_0x32ccff),_0x32ccff;},_0x4a7224=(_0x35b028,_0x1e5bbf)=>(_0x2a3c1f,_0x43d9e5)=>_0x1e5bbf(_0x2a3c1f,_0x43d9e5,_0x35b028);_0x575827['DesktopCollaborationStatusDisplayController']=class extends _0x41ed90[_0x198416(0x313)]{constructor(_0x33076f,_0x1bd1f4,_0x34acbc,_0x4ae6fa){const _0x44e1fa=_0x198416;super(),_0x2983ed(this,_0x44e1fa(0x338),new _0x4784ed[(_0x44e1fa(0x21b))](_0x340b74[_0x44e1fa(0x267)]['NOT_COLLAB'])),(this[_0x44e1fa(0x206)]=_0x33076f,this[_0x44e1fa(0x1b6)]=_0x1bd1f4,this[_0x44e1fa(0x1ba)]=_0x34acbc,this[_0x44e1fa(0x298)]=_0x4ae6fa,this[_0x44e1fa(0x1df)](),this[_0x44e1fa(0x1c1)]());}[_0x198416(0x1c1)](){const _0x133882=_0x198416;this[_0x133882(0x10f)](this['_univerInstanceService'][_0x133882(0x2dc)][_0x133882(0x213)](_0x4784ed[_0x133882(0x263)](()=>{const _0x254fce=_0x133882,_0x4838fe=this[_0x254fce(0x206)][_0x254fce(0x25f)]();return _0x4838fe?this[_0x254fce(0x1ba)]['getCollabEntity$'](_0x4838fe[_0x254fce(0x374)]()):_0x4784ed['of'](null);}),_0x4784ed[_0x133882(0x263)](_0x42d619=>_0x42d619?_0x42d619['status$']:_0x4784ed['of'](_0x340b74[_0x133882(0x267)][_0x133882(0x251)])))[_0x133882(0x352)](_0x2364d6=>{const _0x54d46d=_0x133882;this[_0x54d46d(0x338)]['next'](_0x2364d6);}));}[_0x198416(0x1df)](){const _0x3c8cf0=_0x198416;this[_0x3c8cf0(0x10f)](this[_0x3c8cf0(0x298)]['registerComponent'](_0x1d78d7[_0x3c8cf0(0x2a5)]['HEADER_MENU'],()=>_0x41ed90['connectInjector'](_0x1b9f1c({'status$':this[_0x3c8cf0(0x338)][_0x3c8cf0(0x1f1)]()}),this['_injector'])));}},_0x575827[_0x198416(0x2d0)]=_0x505ef1([_0x4a7224(0x0,_0x41ed90[_0x198416(0x29c)]),_0x4a7224(0x1,_0x41ed90['Inject'](_0x41ed90[_0x198416(0x287)])),_0x4a7224(0x2,_0x41ed90[_0x198416(0x300)](_0x340b74['CollaborationController'])),_0x4a7224(0x3,_0x1d78d7[_0x198416(0x1ab)])],_0x575827[_0x198416(0x2d0)]);function _0x1b9f1c(_0x599eca){const {status$:_0x351dc0}=_0x599eca;return function(){const _0x5a9561=_0x404a;return _0x31fbe1[_0x5a9561(0x1ce)](_0x55ce54,{'status$':_0x351dc0});};}var _0x11efcd=Object[_0x198416(0x26c)],_0x7aa849=Object[_0x198416(0x27d)],_0x4201b8=(_0x2e4d37,_0x14530d,_0x51efb3,_0xaf470c)=>{const _0x5882e7=_0x198416;for(var _0x1be89c=_0xaf470c>0x1?void 0x0:_0xaf470c?_0x7aa849(_0x14530d,_0x51efb3):_0x14530d,_0x59492a=_0x2e4d37[_0x5882e7(0x2d9)]-0x1,_0x5cb100;_0x59492a>=0x0;_0x59492a--)(_0x5cb100=_0x2e4d37[_0x59492a])&&(_0x1be89c=(_0xaf470c?_0x5cb100(_0x14530d,_0x51efb3,_0x1be89c):_0x5cb100(_0x1be89c))||_0x1be89c);return _0xaf470c&&_0x1be89c&&_0x11efcd(_0x14530d,_0x51efb3,_0x1be89c),_0x1be89c;},_0x3f4374=(_0x2129a7,_0x259887)=>(_0xd32d91,_0xf275ca)=>_0x259887(_0xd32d91,_0xf275ca,_0x2129a7);let _0x27411f=class extends _0x41ed90[_0x198416(0x313)]{constructor(_0x1ab586,_0x3f5b9b,_0x4ca37b,_0x9ef1b6,_0x30214d,_0x3262a8){const _0x4f3776=_0x198416;super(),this['_beforeCloseService']=_0x1ab586,this[_0x4f3776(0x1d4)]=_0x3f5b9b,this['_collaborationUIEventService']=_0x4ca37b,this[_0x4f3776(0x140)]=_0x9ef1b6,this[_0x4f3776(0x17f)]=_0x30214d,this[_0x4f3776(0x29e)]=_0x3262a8,this[_0x4f3776(0x13b)](),this[_0x4f3776(0x294)]();}[_0x198416(0x13b)](){const _0x539d23=_0x198416;this[_0x539d23(0x10f)](this[_0x539d23(0x295)]['registerBeforeClose'](()=>{const _0x38f211=_0x539d23;if(this['_localCacheService'][_0x38f211(0x178)][_0x38f211(0x12f)])return this[_0x38f211(0x29e)]['t']('collaboration-client.offline-data-not-saved');}));}[_0x198416(0x294)](){const _0x1a8a8d=_0x198416;this[_0x1a8a8d(0x10f)](this[_0x1a8a8d(0x167)][_0x1a8a8d(0x291)][_0x1a8a8d(0x352)](_0x4ece61=>{const _0x3202df=_0x1a8a8d;_0x4ece61['id']===_0x340b74['CollaborationUIEventId']['OTHER_CLIENT_EDITING']&&this['_messageService'][_0x3202df(0x126)]({'type':_0x42e905[_0x3202df(0x24c)][_0x3202df(0x20d)],'content':this['_localeService']['t'](_0x3202df(0x190))}),_0x4ece61['id']===_0x340b74[_0x3202df(0x20f)]['CLOSE_ROOM']&&this['_messageService']['show']({'type':_0x42e905[_0x3202df(0x24c)][_0x3202df(0x20d)],'content':this[_0x3202df(0x29e)]['t']('collaboration.closeRoom')}),_0x4ece61['id']===_0x340b74[_0x3202df(0x20f)][_0x3202df(0x244)]&&this[_0x3202df(0x17f)][_0x3202df(0x126)]({'title':this[_0x3202df(0x29e)]['t'](_0x3202df(0x2c2)),'content':this['_localeService']['t'](_0x3202df(0x166)),'type':'error','duration':0x0}),_0x4ece61['id']===_0x340b74[_0x3202df(0x20f)][_0x3202df(0x170)]&&this['_messageService'][_0x3202df(0x126)]({'type':_0x42e905[_0x3202df(0x24c)][_0x3202df(0x269)],'content':this[_0x3202df(0x29e)]['t'](_0x3202df(0x18f))+'('+_0x4ece61['data']+')'}),_0x4ece61['id']===_0x340b74[_0x3202df(0x20f)][_0x3202df(0x222)]&&this['_messageService']['show']({'type':_0x42e905[_0x3202df(0x24c)][_0x3202df(0x20d)],'content':this[_0x3202df(0x29e)]['t'](_0x4ece61[_0x3202df(0x284)]||'')}),_0x4ece61['id']===_0x340b74['CollaborationUIEventId'][_0x3202df(0x17d)]&&this[_0x3202df(0x140)][_0x3202df(0x126)]({'type':_0x42e905['MessageType'][_0x3202df(0x20d)],'content':this[_0x3202df(0x29e)]['t']('session.will-retry')}),_0x4ece61['id']===_0x340b74[_0x3202df(0x20f)][_0x3202df(0x1ed)]&&this[_0x3202df(0x140)]['show']({'type':_0x42e905[_0x3202df(0x24c)][_0x3202df(0x269)],'content':this[_0x3202df(0x29e)]['t']('session.connection-failed')}),_0x4ece61['id']===_0x340b74[_0x3202df(0x20f)]['SUBMIT_CHANGESET_TIMEOUT']&&this[_0x3202df(0x140)]['show']({'type':_0x42e905['MessageType'][_0x3202df(0x269)],'content':this[_0x3202df(0x29e)]['t'](_0x3202df(0x381))});}));}};_0x27411f=_0x4201b8([_0x3f4374(0x0,_0x1d78d7[_0x198416(0x34a)]),_0x3f4374(0x1,_0x340b74[_0x198416(0x1b3)]),_0x3f4374(0x2,_0x41ed90['Inject'](_0x340b74[_0x198416(0x2a7)])),_0x3f4374(0x3,_0x1d78d7[_0x198416(0x2cb)]),_0x3f4374(0x4,_0x1d78d7['INotificationService']),_0x3f4374(0x5,_0x41ed90[_0x198416(0x300)](_0x41ed90[_0x198416(0x17b)]))],_0x27411f);const _0x33fe3e=_0x198416(0x21f),_0x3ccc5e={},_0x2b708f=_0x41ed90[_0x198416(0x37f)](_0x198416(0x33a));var _0x8de639=Object[_0x198416(0x26c)],_0x257210=Object[_0x198416(0x27d)],_0x114224=(_0x53fbb1,_0x3903d4,_0x351b64,_0x21b3fd)=>{const _0x5c657e=_0x198416;for(var _0x2094aa=_0x21b3fd>0x1?void 0x0:_0x21b3fd?_0x257210(_0x3903d4,_0x351b64):_0x3903d4,_0x26e686=_0x53fbb1[_0x5c657e(0x2d9)]-0x1,_0x214fd7;_0x26e686>=0x0;_0x26e686--)(_0x214fd7=_0x53fbb1[_0x26e686])&&(_0x2094aa=(_0x21b3fd?_0x214fd7(_0x3903d4,_0x351b64,_0x2094aa):_0x214fd7(_0x2094aa))||_0x2094aa);return _0x21b3fd&&_0x2094aa&&_0x8de639(_0x3903d4,_0x351b64,_0x2094aa),_0x2094aa;},_0x4afc1b=(_0x5e25ea,_0x18e71e)=>(_0x11c10f,_0x35a39e)=>_0x18e71e(_0x11c10f,_0x35a39e,_0x5e25ea);_0x575827[_0x198416(0x276)]=class extends _0x41ed90['RxDisposable']{constructor(_0x1f7a56,_0x4f994d,_0x413afc,_0x55deb2,_0x402909){const _0x2d22c4=_0x198416;super(),this[_0x2d22c4(0x18d)]=_0x1f7a56,this[_0x2d22c4(0x207)]=_0x4f994d,this[_0x2d22c4(0x10e)]=_0x413afc,this[_0x2d22c4(0x2d5)]=_0x55deb2,_0x402909?_0x402909==null||_0x402909[_0x2d22c4(0x2eb)]()['then'](()=>this[_0x2d22c4(0x37c)]()):(this[_0x2d22c4(0x207)][_0x2d22c4(0x254)]('[CollaborationDataLoaderController]',_0x2d22c4(0x194)),this['_init']());}async[_0x198416(0x37c)](){const _0xf09574=_0x198416,_0x52f648=this[_0xf09574(0x18d)][_0xf09574(0x15a)]('unit'),_0x51f7b7=this[_0xf09574(0x18d)]['getParam'](_0xf09574(0x143)),_0x43a13e=this[_0xf09574(0x18d)][_0xf09574(0x15a)](_0xf09574(0x1a2));if(!_0x52f648||!_0x51f7b7){this[_0xf09574(0x207)][_0xf09574(0x254)](_0xf09574(0x17e),_0xf09574(0x2e0));return;}const _0x3fe387=await this['_dataLoaderService'][_0xf09574(0x1b2)](_0x52f648,Number(_0x51f7b7),_0x43a13e);_0x3fe387&&_0x3fe387 instanceof _0x41ed90[_0xf09574(0x1db)]&&this[_0xf09574(0x2bd)](_0x3fe387);}async[_0x198416(0x2bd)](_0x520adf){const _0x38277d=_0x198416;await this[_0x38277d(0x2df)](_0x520adf),_0x520adf[_0x38277d(0x33c)][_0x38277d(0x213)](_0x4784ed['takeUntil'](this[_0x38277d(0x1b8)]))['subscribe'](_0x2f086d=>{_0x2f086d&&this['_updateURLWithCurrentState'](_0x2f086d);}),this['_urlService'][_0x38277d(0x350)][_0x38277d(0x213)](_0x4784ed['takeUntil'](this[_0x38277d(0x1b8)]))[_0x38277d(0x352)](()=>this[_0x38277d(0x2df)](_0x520adf));}['_updateURLWithCurrentState'](_0x2da38e,_0x2d17a0=!0x1){const _0xdc4235=_0x198416,_0x27c01a=this[_0xdc4235(0x18d)][_0xdc4235(0x15a)](_0xdc4235(0x1a2));_0x2da38e[_0xdc4235(0x11a)]()!==_0x27c01a&&this[_0xdc4235(0x18d)][_0xdc4235(0x33e)](_0xdc4235(0x1a2),_0x2da38e['getSheetId'](),_0x2d17a0);}async[_0x198416(0x2df)](_0x1a8750){const _0x5cf34f=_0x198416;var _0x166fbb;const _0x134a16=this[_0x5cf34f(0x18d)][_0x5cf34f(0x15a)](_0x5cf34f(0x1a2));if(!_0x134a16||!_0x1a8750[_0x5cf34f(0x171)](_0x134a16)){const _0x13de9b=_0x1a8750[_0x5cf34f(0x23c)]()[0x0],_0x52708c=_0x1a8750[_0x5cf34f(0x171)](_0x13de9b);if(!_0x52708c)return;this[_0x5cf34f(0x155)](_0x52708c,!0x0),await this[_0x5cf34f(0x10e)][_0x5cf34f(0x25e)](_0x7d326c[_0x5cf34f(0x380)]['id'],{'unitId':_0x1a8750[_0x5cf34f(0x374)](),'subUnitId':_0x13de9b});return;}((_0x166fbb=_0x1a8750[_0x5cf34f(0x278)]())==null?void 0x0:_0x166fbb[_0x5cf34f(0x11a)]())!==_0x134a16&&await this['_commandService']['executeCommand'](_0x7d326c['SetWorksheetActivateCommand']['id'],{'unitId':_0x1a8750[_0x5cf34f(0x374)](),'subUnitId':_0x134a16});}},_0x575827[_0x198416(0x276)]=_0x114224([_0x4afc1b(0x0,_0x2b708f),_0x4afc1b(0x1,_0x41ed90['ILogService']),_0x4afc1b(0x2,_0x41ed90['ICommandService']),_0x4afc1b(0x3,_0x41ed90[_0x198416(0x300)](_0x340b74[_0x198416(0x257)])),_0x4afc1b(0x4,_0x41ed90[_0x198416(0x2b6)](_0xdfda1[_0x198416(0x367)]))],_0x575827['CollaborationDataLoaderController']);var _0x13093b=Object['defineProperty'],_0x1d5004=Object[_0x198416(0x27d)],_0x1c4227=(_0xeafa86,_0x355319,_0x15452f,_0x5e4379)=>{const _0x436dfe=_0x198416;for(var _0x579260=_0x5e4379>0x1?void 0x0:_0x5e4379?_0x1d5004(_0x355319,_0x15452f):_0x355319,_0x2a9e21=_0xeafa86[_0x436dfe(0x2d9)]-0x1,_0x4d3f04;_0x2a9e21>=0x0;_0x2a9e21--)(_0x4d3f04=_0xeafa86[_0x2a9e21])&&(_0x579260=(_0x5e4379?_0x4d3f04(_0x355319,_0x15452f,_0x579260):_0x4d3f04(_0x579260))||_0x579260);return _0x5e4379&&_0x579260&&_0x13093b(_0x355319,_0x15452f,_0x579260),_0x579260;},_0x34f9d0=(_0x4c8fac,_0x240531)=>(_0x228549,_0x1872fd)=>_0x240531(_0x228549,_0x1872fd,_0x4c8fac);let _0x46e72e=class{constructor(_0x3be39a,_0x528df8,_0x2e1b6a){const _0xe6882e=_0x198416;this['_injector']=_0x3be39a,this[_0xe6882e(0x18c)]=_0x528df8,this[_0xe6882e(0x1f7)]=_0x2e1b6a;}[_0x198416(0x130)](_0x2a3d95){const _0x3d4883=_0x198416;this[_0x3d4883(0x261)](_0x2a3d95),this[_0x3d4883(0x1ca)](_0x2a3d95);}[_0x198416(0x108)](_0x170570){const _0x334274=_0x198416,{unitID:_0x363cab}=_0x170570,_0x22ad9f=this[_0x334274(0x1f7)][_0x334274(0x2cf)](_0x363cab)[_0x334274(0x375)](_0x414ffd[_0x334274(0x36b)]),{redoCache:_0x2ff035}=_0x22ad9f[_0x334274(0x1b9)]();if(_0x2ff035[_0x334274(0x2d9)]===0x0)return _0x170570;let _0x178a1=_0x41ed90[_0x334274(0x1d8)][_0x334274(0x16c)](_0x170570['mutations'][0x0]);for(let _0x5c198e=0x0;_0x5c198e<_0x2ff035[_0x334274(0x2d9)];_0x5c198e++){const _0x5a46c5={'id':_0x334274(0x387),'params':{..._0x2ff035[_0x5c198e]}},_0x21b894=this[_0x334274(0x18c)][_0x334274(0x326)](_0x178a1,_0x5a46c5,!0x1);if(_0x263378[_0x334274(0x148)](_0x21b894))throw _0x21b894['error'];_0x178a1=_0x21b894[_0x334274(0x31d)];}return{..._0x41ed90[_0x334274(0x1d8)][_0x334274(0x16c)](_0x170570),'mutations':[_0x178a1]};}[_0x198416(0x261)](_0x7ce3aa){const _0x39069a=_0x198416,{unitID:_0x29b2eb}=_0x7ce3aa,_0x266d00=this[_0x39069a(0x1f7)]['getRenderById'](_0x29b2eb)['with'](_0x414ffd['DocIMEInputManagerService']),{undoCache:_0x54770b,redoCache:_0x150040}=_0x266d00[_0x39069a(0x1b9)]();if(_0x54770b['length']===0x0||_0x150040[_0x39069a(0x2d9)]===0x0)return;const _0x4ed152=[],_0x3836e9=[];let _0x2b981b=_0x41ed90['Tools'][_0x39069a(0x16c)](_0x7ce3aa['mutations'][0x0]),_0x298263=_0x41ed90[_0x39069a(0x1d8)][_0x39069a(0x16c)](_0x7ce3aa['mutations'][0x0]);for(let _0xc5aba=_0x54770b[_0x39069a(0x2d9)]-0x1;_0xc5aba>=0x0;_0xc5aba--){const _0x9f476d={'id':'doc.mutation.rich-text-editing','params':{..._0x54770b[_0xc5aba]}},_0x8c7264={'id':_0x39069a(0x387),'params':{..._0x150040[_0xc5aba]}},_0x2613ea=this['_transformService'][_0x39069a(0x326)](_0x2b981b,_0x9f476d,!0x1),_0x437116=this[_0x39069a(0x18c)][_0x39069a(0x326)](_0x298263,_0x8c7264,!0x1);if(_0x263378[_0x39069a(0x148)](_0x2613ea))throw _0x2613ea[_0x39069a(0x12a)];if(_0x263378['isTransformMutationFailure'](_0x437116))throw _0x437116[_0x39069a(0x12a)];_0x4ed152['unshift'](_0x2613ea[_0x39069a(0x282)][_0x39069a(0x205)]),_0x3836e9[_0x39069a(0x25c)](_0x437116[_0x39069a(0x282)][_0x39069a(0x205)]),_0x2b981b=_0x2613ea[_0x39069a(0x31d)],_0x298263=_0x437116[_0x39069a(0x31d)];}_0x266d00[_0x39069a(0x1bc)]({'undoCache':_0x4ed152,'redoCache':_0x3836e9});}[_0x198416(0x1ca)](_0x212e94){const _0x2310b8=_0x198416,{unitID:_0x10ae3d}=_0x212e94,_0x2c0f6f=this['_renderManagerService'][_0x2310b8(0x2cf)](_0x10ae3d)[_0x2310b8(0x375)](_0x414ffd['DocIMEInputManagerService']),_0xd51c22=_0x2c0f6f[_0x2310b8(0x191)]();if(_0xd51c22==null)return;const _0x5f07fd=[{'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x212e94[_0x2310b8(0x1bb)],'actions':null,'textRanges':[_0xd51c22]}}],_0xa9660b=this[_0x2310b8(0x18c)][_0x2310b8(0x356)](_0x212e94,_0x5f07fd);if(!_0x263378[_0x2310b8(0x296)](_0xa9660b))throw _0xa9660b[_0x2310b8(0x12a)];const _0x1ac775=_0xa9660b[_0x2310b8(0x282)][0x0]['params'][_0x2310b8(0x312)];Array[_0x2310b8(0x27a)](_0x1ac775)&&_0x1ac775[_0x2310b8(0x2d9)]&&_0x2c0f6f[_0x2310b8(0x2b0)](_0x1ac775[0x0]);}};_0x46e72e=_0x1c4227([_0x34f9d0(0x0,_0x41ed90[_0x198416(0x300)](_0x41ed90['Injector'])),_0x34f9d0(0x1,_0x263378['ITransformService']),_0x34f9d0(0x2,_0xbfdec3[_0x198416(0x1eb)])],_0x46e72e);var _0x2a65f2=Object[_0x198416(0x26c)],_0xe1808c=Object[_0x198416(0x27d)],_0x12b0be=(_0xa6bb3b,_0x18830c,_0x868d91,_0x4bd5e5)=>{const _0x22abd4=_0x198416;for(var _0x2b7383=_0x4bd5e5>0x1?void 0x0:_0x4bd5e5?_0xe1808c(_0x18830c,_0x868d91):_0x18830c,_0x3a358c=_0xa6bb3b[_0x22abd4(0x2d9)]-0x1,_0x500266;_0x3a358c>=0x0;_0x3a358c--)(_0x500266=_0xa6bb3b[_0x3a358c])&&(_0x2b7383=(_0x4bd5e5?_0x500266(_0x18830c,_0x868d91,_0x2b7383):_0x500266(_0x2b7383))||_0x2b7383);return _0x4bd5e5&&_0x2b7383&&_0x2a65f2(_0x18830c,_0x868d91,_0x2b7383),_0x2b7383;},_0x238860=(_0x426dd6,_0x3d7e65)=>(_0xf7cc8a,_0x617313)=>_0x3d7e65(_0xf7cc8a,_0x617313,_0x426dd6);let _0x60f80c=class{constructor(_0xc848f2,_0x353121,_0x221b0b){const _0x265e2c=_0x198416;this[_0x265e2c(0x1b6)]=_0xc848f2,this[_0x265e2c(0x18c)]=_0x353121,this['_docStateChangeManagerService']=_0x221b0b;}[_0x198416(0x1d6)](_0x168d2b){const _0x1eaf79=_0x198416;this[_0x1eaf79(0x31e)](_0x168d2b);}[_0x198416(0x108)](_0x55dff3){const _0x425621=_0x198416,{unitID:_0x23c14f}=_0x55dff3,{collaboration:_0x20e697}=this[_0x425621(0x24b)][_0x425621(0x2fc)](_0x23c14f);if(_0x20e697[_0x425621(0x2d9)]===0x0)return _0x55dff3;let _0x25f691=_0x41ed90[_0x425621(0x1d8)][_0x425621(0x16c)](_0x55dff3[_0x425621(0x275)][0x0]);for(let _0x5c999a=0x0;_0x5c999a<_0x20e697[_0x425621(0x2d9)];_0x5c999a++){const _0x2dbac3={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x20e697[_0x5c999a][_0x425621(0x38a)],..._0x20e697[_0x5c999a][_0x425621(0x28c)]}},_0x56f658=this[_0x425621(0x18c)][_0x425621(0x326)](_0x25f691,_0x2dbac3,!0x1);if(_0x263378[_0x425621(0x148)](_0x56f658))throw _0x56f658[_0x425621(0x12a)];_0x25f691=_0x56f658[_0x425621(0x31d)];}return{..._0x41ed90[_0x425621(0x1d8)][_0x425621(0x16c)](_0x55dff3),'mutations':[_0x25f691]};}[_0x198416(0x31e)](_0x174837){const _0xccdac5=_0x198416,{unitID:_0x5ef842}=_0x174837,{history:_0x56760c,collaboration:_0x3e4b62}=this[_0xccdac5(0x24b)][_0xccdac5(0x2fc)](_0x5ef842);if(_0x56760c[_0xccdac5(0x2d9)]===0x0&&_0x3e4b62[_0xccdac5(0x2d9)]===0x0)return;const _0x42e6c2=[],_0x2c5a38=[];let _0x3bc66c=_0x41ed90['Tools']['deepClone'](_0x174837[_0xccdac5(0x275)][0x0]),_0x2705b8=_0x41ed90[_0xccdac5(0x1d8)]['deepClone'](_0x174837[_0xccdac5(0x275)][0x0]);for(let _0x10ee3f=_0x56760c['length']-0x1;_0x10ee3f>=0x0;_0x10ee3f--){const _0x17ea43={'id':_0xccdac5(0x387),'params':{'unitId':_0x56760c[_0x10ee3f]['unitId'],..._0x56760c[_0x10ee3f][_0xccdac5(0x184)]}},_0x24c01a={'id':_0xccdac5(0x387),'params':{'unitId':_0x56760c[_0x10ee3f][_0xccdac5(0x38a)],..._0x56760c[_0x10ee3f][_0xccdac5(0x28c)]}},_0x27d97a=this[_0xccdac5(0x18c)]['transformMutation'](_0x3bc66c,_0x17ea43,!0x1),_0xe544db=this[_0xccdac5(0x18c)][_0xccdac5(0x326)](_0x2705b8,_0x24c01a,!0x1);if(_0x263378[_0xccdac5(0x148)](_0x27d97a))throw _0x27d97a[_0xccdac5(0x12a)];if(_0x263378[_0xccdac5(0x148)](_0xe544db))throw _0xe544db[_0xccdac5(0x12a)];_0x42e6c2[_0xccdac5(0x25c)]({..._0x56760c[_0x10ee3f],'undoState':_0x27d97a[_0xccdac5(0x282)][_0xccdac5(0x205)],'redoState':_0xe544db['m2Prime'][_0xccdac5(0x205)]}),_0x3bc66c=_0x27d97a[_0xccdac5(0x31d)],_0x2705b8=_0xe544db[_0xccdac5(0x31d)];}_0x3bc66c=_0x41ed90[_0xccdac5(0x1d8)][_0xccdac5(0x16c)](_0x174837[_0xccdac5(0x275)][0x0]),_0x2705b8=_0x41ed90[_0xccdac5(0x1d8)][_0xccdac5(0x16c)](_0x174837[_0xccdac5(0x275)][0x0]);for(let _0x541853=_0x3e4b62[_0xccdac5(0x2d9)]-0x1;_0x541853>=0x0;_0x541853--){const _0x5c1d5f={'id':_0xccdac5(0x387),'params':{'unitId':_0x3e4b62[_0x541853][_0xccdac5(0x38a)],..._0x3e4b62[_0x541853][_0xccdac5(0x184)]}},_0x5befbc={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x3e4b62[_0x541853][_0xccdac5(0x38a)],..._0x3e4b62[_0x541853][_0xccdac5(0x28c)]}},_0x201fa3=this['_transformService'][_0xccdac5(0x326)](_0x3bc66c,_0x5c1d5f,!0x1),_0x4a6871=this[_0xccdac5(0x18c)][_0xccdac5(0x326)](_0x2705b8,_0x5befbc,!0x1);if(_0x263378['isTransformMutationFailure'](_0x201fa3))throw _0x201fa3[_0xccdac5(0x12a)];if(_0x263378['isTransformMutationFailure'](_0x4a6871))throw _0x4a6871['error'];_0x2c5a38[_0xccdac5(0x25c)]({..._0x3e4b62[_0x541853],'undoState':_0x201fa3[_0xccdac5(0x282)]['params'],'redoState':_0x4a6871[_0xccdac5(0x282)]['params']}),_0x3bc66c=_0x201fa3[_0xccdac5(0x31d)],_0x2705b8=_0x4a6871[_0xccdac5(0x31d)];}this[_0xccdac5(0x24b)][_0xccdac5(0x1cb)](_0x5ef842,{'history':_0x42e6c2,'collaboration':_0x2c5a38});}};_0x60f80c=_0x12b0be([_0x238860(0x0,_0x41ed90[_0x198416(0x300)](_0x41ed90[_0x198416(0x287)])),_0x238860(0x1,_0x263378[_0x198416(0x22d)]),_0x238860(0x2,_0x41ed90['Inject'](_0x414ffd['DocStateChangeManagerService']))],_0x60f80c);var _0x227d89=Object[_0x198416(0x26c)],_0x5b55f2=Object[_0x198416(0x27d)],_0x66e5da=(_0x225f84,_0x10898b,_0x5187b8,_0x23c7fa)=>{for(var _0x4df2df=_0x23c7fa>0x1?void 0x0:_0x23c7fa?_0x5b55f2(_0x10898b,_0x5187b8):_0x10898b,_0x4adb21=_0x225f84['length']-0x1,_0xe87e80;_0x4adb21>=0x0;_0x4adb21--)(_0xe87e80=_0x225f84[_0x4adb21])&&(_0x4df2df=(_0x23c7fa?_0xe87e80(_0x10898b,_0x5187b8,_0x4df2df):_0xe87e80(_0x4df2df))||_0x4df2df);return _0x23c7fa&&_0x4df2df&&_0x227d89(_0x10898b,_0x5187b8,_0x4df2df),_0x4df2df;},_0x11d846=(_0x49fb1d,_0x153ccc)=>(_0x5ad662,_0x8eea46)=>_0x153ccc(_0x5ad662,_0x8eea46,_0x49fb1d);let _0x2350d7=class{constructor(_0x89e146,_0x9cbdda){const _0x23052d=_0x198416;this[_0x23052d(0x1b6)]=_0x89e146,this['_transformService']=_0x9cbdda;}[_0x198416(0x197)](_0x5217c0){const _0x4e2ada=_0x198416;var _0x1234bb;const _0x553a22=this[_0x4e2ada(0x1b6)][_0x4e2ada(0x165)](_0x4add3d[_0x4e2ada(0x362)]),_0x1f418e=(_0x1234bb=_0x553a22[_0x4e2ada(0x159)]())!=null?_0x1234bb:[];if(_0x1f418e[_0x4e2ada(0x2d9)]===0x0)return;const _0x46e8a1=_0x5217c0['unitID'],_0x5c02a1=[{'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x46e8a1,'actions':null,'textRanges':_0x1f418e}}],_0x5be05f=this[_0x4e2ada(0x18c)]['transformMutationsWithChangeset'](_0x5217c0,_0x5c02a1);if(!_0x263378[_0x4e2ada(0x296)](_0x5be05f))throw _0x5be05f[_0x4e2ada(0x12a)];const _0x20498d=_0x5be05f[_0x4e2ada(0x282)][0x0][_0x4e2ada(0x205)]['textRanges'];Array[_0x4e2ada(0x27a)](_0x20498d)&&_0x20498d['length']&&_0x553a22[_0x4e2ada(0x24d)](_0x20498d,{'unitId':_0x46e8a1,'subUnitId':_0x46e8a1},!0x1);}};_0x2350d7=_0x66e5da([_0x11d846(0x0,_0x41ed90[_0x198416(0x300)](_0x41ed90[_0x198416(0x287)])),_0x11d846(0x1,_0x263378[_0x198416(0x22d)])],_0x2350d7);var _0x12d949=Object[_0x198416(0x26c)],_0x3db070=Object[_0x198416(0x27d)],_0x56b151=(_0x409591,_0x966b30,_0x19a0d5,_0x88d97b)=>{const _0x1fba95=_0x198416;for(var _0x5077a6=_0x88d97b>0x1?void 0x0:_0x88d97b?_0x3db070(_0x966b30,_0x19a0d5):_0x966b30,_0x37aeee=_0x409591[_0x1fba95(0x2d9)]-0x1,_0x333016;_0x37aeee>=0x0;_0x37aeee--)(_0x333016=_0x409591[_0x37aeee])&&(_0x5077a6=(_0x88d97b?_0x333016(_0x966b30,_0x19a0d5,_0x5077a6):_0x333016(_0x5077a6))||_0x5077a6);return _0x88d97b&&_0x5077a6&&_0x12d949(_0x966b30,_0x19a0d5,_0x5077a6),_0x5077a6;},_0x58e77b=(_0x4dca68,_0x1fa073)=>(_0x156b3a,_0x5278a3)=>_0x1fa073(_0x156b3a,_0x5278a3,_0x4dca68);let _0x131808=class extends _0x41ed90[_0x198416(0x313)]{constructor(_0x2be19f,_0x1629bc,_0x131c8b,_0x2ffcc9,_0x944a18,_0x3cb07f,_0x2bda3d,_0x5d3cf1){const _0x5634ad=_0x198416;super(),_0x2983ed(this,'_status$',new _0x4784ed['BehaviorSubject'](_0x340b74[_0x5634ad(0x267)]['NOT_COLLAB'])),(this[_0x5634ad(0x24b)]=_0x2be19f,this[_0x5634ad(0x1ba)]=_0x1629bc,this[_0x5634ad(0x305)]=_0x131c8b,this[_0x5634ad(0x1a6)]=_0x2ffcc9,this[_0x5634ad(0x260)]=_0x944a18,this['_docSyncEditingCollabCursorService']=_0x3cb07f,this[_0x5634ad(0x140)]=_0x2bda3d,this[_0x5634ad(0x29e)]=_0x5d3cf1,this[_0x5634ad(0x33f)]());}[_0x198416(0x33f)](){const _0x32fff5=_0x198416;this['disposeWithMe'](this[_0x32fff5(0x1ba)]['entityInit$'][_0x32fff5(0x352)](_0x1bfcef=>{const _0x534145=_0x32fff5,_0x383006=this[_0x534145(0x24b)]['docStateChange$'][_0x534145(0x352)](_0x32aa92=>{const _0x5d29e0=_0x534145;if(_0x32aa92==null)return;const {unitId:_0x3b951a,redoState:_0x6bb8e7,commandId:_0x952d10}=_0x32aa92;if(_0x3b951a!==_0x1bfcef[_0x5d29e0(0x1bb)])return;const _0x5af75a={'id':_0x952d10,'type':_0x41ed90['CommandType'][_0x5d29e0(0x303)],'params':{'unitId':_0x3b951a,'actions':_0x6bb8e7['actions'],'textRanges':null}};_0x1bfcef[_0x5d29e0(0x232)](_0x5af75a);});if(_0x1bfcef[_0x534145(0x10f)](_0x383006),_0x1bfcef instanceof _0x340b74[_0x534145(0x341)]){const _0xcc19a4={'onTransformIME':_0x3fb48f=>this[_0x534145(0x305)]['transformIMECache'](_0x3fb48f),'onTransformState':_0x272938=>this[_0x534145(0x1a6)][_0x534145(0x1d6)](_0x272938),'onTransformSelections':_0x4969b8=>this['_docTransformSelectionsService'][_0x534145(0x197)](_0x4969b8),'onSyncEditingCollabCursor':_0x492ebe=>this[_0x534145(0x2c1)][_0x534145(0x2f7)](_0x492ebe),'onTransformRemoteChangesetByIMECache':_0x33ee3d=>this[_0x534145(0x305)][_0x534145(0x108)](_0x33ee3d),'onTransformRemoteChangesetByStateCache':_0x230ceb=>this[_0x534145(0x1a6)]['transformRemoteChangeset'](_0x230ceb)};_0x1bfcef['addHandlerCallback'](_0xcc19a4);}}));}};_0x131808=_0x56b151([_0x58e77b(0x0,_0x41ed90[_0x198416(0x300)](_0x414ffd[_0x198416(0x366)])),_0x58e77b(0x1,_0x41ed90[_0x198416(0x300)](_0x340b74[_0x198416(0x243)])),_0x58e77b(0x2,_0x41ed90['Inject'](_0x46e72e)),_0x58e77b(0x3,_0x41ed90[_0x198416(0x300)](_0x60f80c)),_0x58e77b(0x4,_0x41ed90[_0x198416(0x300)](_0x2350d7)),_0x58e77b(0x5,_0x41ed90[_0x198416(0x300)](_0x15e938)),_0x58e77b(0x6,_0x1d78d7[_0x198416(0x2cb)]),_0x58e77b(0x7,_0x41ed90['Inject'](_0x41ed90['LocaleService']))],_0x131808);var _0x306031=Object['defineProperty'],_0x432776=Object[_0x198416(0x27d)],_0x45ed9c=(_0x25c0d7,_0x399e23,_0x3f87b9,_0x2424f6)=>{const _0x259959=_0x198416;for(var _0x5f0520=_0x2424f6>0x1?void 0x0:_0x2424f6?_0x432776(_0x399e23,_0x3f87b9):_0x399e23,_0x184479=_0x25c0d7[_0x259959(0x2d9)]-0x1,_0x219daa;_0x184479>=0x0;_0x184479--)(_0x219daa=_0x25c0d7[_0x184479])&&(_0x5f0520=(_0x2424f6?_0x219daa(_0x399e23,_0x3f87b9,_0x5f0520):_0x219daa(_0x5f0520))||_0x5f0520);return _0x2424f6&&_0x5f0520&&_0x306031(_0x399e23,_0x3f87b9,_0x5f0520),_0x5f0520;},_0x7e04d0=(_0x234ca6,_0x299745)=>(_0x2a37dc,_0x3eedbb)=>_0x299745(_0x2a37dc,_0x3eedbb,_0x234ca6);let _0x4335b5=class extends _0x41ed90[_0x198416(0x313)]{constructor(_0x459918,_0x46b068,_0x1372ec){const _0x59e788=_0x198416;super(),_0x2983ed(this,_0x59e788(0x30f),new Map()),_0x2983ed(this,_0x59e788(0x19e),new Map()),_0x2983ed(this,'_disabled',!0x1),(this['_configService']=_0x459918,this['_localStorageService']=_0x46b068,this[_0x59e788(0x18e)]=_0x1372ec);}[_0x198416(0x199)](){const _0x47f6fe=_0x198416;this[_0x47f6fe(0x2d7)]=!0x0;}[_0x198416(0x2b2)](){const _0x4df996=_0x198416;this[_0x4df996(0x2d7)]=!0x1;}get[_0x198416(0x178)](){const _0x1888c0=_0x198416;return this[_0x1888c0(0x19e)];}[_0x198416(0x211)](){const _0x516d91=_0x198416;this[_0x516d91(0x193)]()[_0x516d91(0x371)](()=>super[_0x516d91(0x211)]());}async['loadOfflineData'](_0x4de3c2){const _0x2ea7e1=_0x198416;return this[_0x2ea7e1(0x2d7)]?null:this[_0x2ea7e1(0x2fa)][_0x2ea7e1(0x376)](_0x340b74[_0x2ea7e1(0x26b)](_0x4de3c2));}async[_0x198416(0x147)](_0x310d05,_0x3a77ca){const _0x158128=_0x198416;return!!this['_localStorageService'][_0x158128(0x121)](_0x310d05,_0x3a77ca);}['updateOfflineData'](_0x3b251b,_0x31ce19,_0xd926e8,_0x136183){const _0x184df8=_0x198416,_0x225551=this[_0x184df8(0x18e)]['getCurrentRevOfUnit'](_0x3b251b);this[_0x184df8(0x30f)][_0x184df8(0x297)](_0x3b251b,{'unitID':_0x3b251b,'type':_0x31ce19,'awaitingChangeset':_0xd926e8,'mutations':_0x136183,'rev':_0x225551}),this[_0x184df8(0x19e)][_0x184df8(0x27e)](_0x3b251b)||this[_0x184df8(0x2d1)](_0x3b251b);}[_0x198416(0x2d1)](_0x3597a8){const _0x176226=_0x198416,_0x12c70b=this[_0x176226(0x1de)]();_0x12c70b===0x0?this['_saveCache'](_0x3597a8):this[_0x176226(0x19e)]['set'](_0x3597a8,setTimeout(()=>this[_0x176226(0x32f)](_0x3597a8),_0x12c70b));}['_getSaveTimeout'](){const _0x28b201=_0x198416;var _0x31305a;return(_0x31305a=this[_0x28b201(0x31a)][_0x28b201(0x21d)](_0x340b74[_0x28b201(0x198)]))!=null?_0x31305a:_0x340b74[_0x28b201(0x1d1)];}['_saveCache'](_0x2d8dab){const _0x35953d=_0x198416,_0x395b04=this[_0x35953d(0x19e)][_0x35953d(0x165)](_0x2d8dab);return _0x395b04!==void 0x0&&window[_0x35953d(0x181)](_0x395b04),this['_localStorageService'][_0x35953d(0x121)](_0x340b74[_0x35953d(0x26b)](_0x2d8dab),this[_0x35953d(0x30f)][_0x35953d(0x165)](_0x2d8dab))['then'](()=>this[_0x35953d(0x19e)][_0x35953d(0x1a9)](_0x2d8dab));}async[_0x198416(0x193)](){const _0x1571ac=_0x198416,_0x189733=[];this[_0x1571ac(0x19e)][_0x1571ac(0x21c)]((_0x5df1a3,_0x33840d)=>{const _0x45aaaf=_0x1571ac;window['clearTimeout'](_0x5df1a3),_0x189733[_0x45aaaf(0x26a)](this[_0x45aaaf(0x32f)](_0x33840d)[_0x45aaaf(0x371)](()=>{const _0x4b0ffc=_0x45aaaf;this[_0x4b0ffc(0x19e)][_0x4b0ffc(0x1a9)](_0x33840d);}));}),await Promise[_0x1571ac(0x346)](_0x189733);}};_0x4335b5=_0x45ed9c([_0x7e04d0(0x0,_0x41ed90[_0x198416(0x301)]),_0x7e04d0(0x1,_0x41ed90[_0x198416(0x1c3)]),_0x7e04d0(0x2,_0x41ed90[_0x198416(0x300)](_0x263378[_0x198416(0x32d)]))],_0x4335b5);class _0x494108 extends _0x41ed90[_0x198416(0x12e)]{constructor(){const _0xa9cbb9=_0x198416;super(),_0x2983ed(this,_0xa9cbb9(0x350)),this[_0xa9cbb9(0x350)]=_0x4784ed[_0xa9cbb9(0x11b)](window,_0xa9cbb9(0x2c8))[_0xa9cbb9(0x213)](_0x4784ed[_0xa9cbb9(0x221)](this[_0xa9cbb9(0x1b8)]),_0x4784ed[_0xa9cbb9(0x2d8)](0x1),_0x4784ed[_0xa9cbb9(0x19c)](void 0x0));}[_0x198416(0x33e)](_0x431dce,_0x673533,_0x1b2e30=!0x1){const _0x19680d=_0x198416,_0x57f10e=new URL(window[_0x19680d(0x230)][_0x19680d(0x14d)]);_0x57f10e[_0x19680d(0x10d)][_0x19680d(0x297)](_0x431dce,_0x673533),_0x1b2e30?window[_0x19680d(0x229)]['replaceState']('','',_0x57f10e[_0x19680d(0x23b)]()):window['history'][_0x19680d(0x30c)]('','',_0x57f10e[_0x19680d(0x23b)]());}[_0x198416(0x1c8)](_0x45f100,_0x56ed92=!0x1){const _0x360b57=_0x198416,_0x2c095c=new URL(window[_0x360b57(0x230)][_0x360b57(0x14d)]);_0x2c095c[_0x360b57(0x10d)][_0x360b57(0x1a9)](_0x45f100),_0x56ed92?window[_0x360b57(0x229)][_0x360b57(0x1ee)]('','',_0x2c095c[_0x360b57(0x23b)]()):window[_0x360b57(0x229)][_0x360b57(0x30c)]('','',_0x2c095c[_0x360b57(0x23b)]());}[_0x198416(0x15a)](_0x466fb7){const _0x5c3bce=_0x198416;var _0x30d33b;return(_0x30d33b=new URL(window[_0x5c3bce(0x230)][_0x5c3bce(0x14d)])[_0x5c3bce(0x10d)][_0x5c3bce(0x165)](_0x466fb7))!=null?_0x30d33b:void 0x0;}}var _0x180a63=Object['defineProperty'],_0x3fa1b7=Object['getOwnPropertyDescriptor'],_0x37a600=(_0x34d9af,_0x14b40f,_0x385015)=>_0x14b40f in _0x34d9af?_0x180a63(_0x34d9af,_0x14b40f,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x385015}):_0x34d9af[_0x14b40f]=_0x385015,_0x4509dc=(_0x1398dd,_0x51a039,_0x444821,_0x36b50e)=>{const _0x32a981=_0x198416;for(var _0x52d72f=_0x36b50e>0x1?void 0x0:_0x36b50e?_0x3fa1b7(_0x51a039,_0x444821):_0x51a039,_0x27b9ef=_0x1398dd[_0x32a981(0x2d9)]-0x1,_0x132bfe;_0x27b9ef>=0x0;_0x27b9ef--)(_0x132bfe=_0x1398dd[_0x27b9ef])&&(_0x52d72f=(_0x36b50e?_0x132bfe(_0x51a039,_0x444821,_0x52d72f):_0x132bfe(_0x52d72f))||_0x52d72f);return _0x36b50e&&_0x52d72f&&_0x180a63(_0x51a039,_0x444821,_0x52d72f),_0x52d72f;},_0x3dd94b=(_0x2dc411,_0x1c47b3)=>(_0x831432,_0x410246)=>_0x1c47b3(_0x831432,_0x410246,_0x2dc411),_0x59e052=(_0x221a16,_0x5b36b7,_0x6577de)=>_0x37a600(_0x221a16,_0x5b36b7+'',_0x6577de);const _0x31d400=_0x198416(0x32e);_0x575827[_0x198416(0x20a)]=class extends _0x41ed90['Plugin']{constructor(_0x4d3349=_0x3ccc5e,_0x1096ee,_0x4f73b1,_0x335277){const _0x16471d=_0x198416;super(),this[_0x16471d(0x32b)]=_0x4d3349,this[_0x16471d(0x1f7)]=_0x1096ee,this['_injector']=_0x4f73b1,this[_0x16471d(0x31a)]=_0x335277;const {..._0x527ff6}=_0x41ed90[_0x16471d(0x337)]({},_0x3ccc5e,this[_0x16471d(0x32b)]);this[_0x16471d(0x31a)][_0x16471d(0x266)](_0x33fe3e,_0x527ff6);}[_0x198416(0x2b4)](){const _0x115a10=_0x198416;this[_0x115a10(0x2c3)](),this[_0x115a10(0x27b)]();}[_0x198416(0x1fc)](){const _0x14ff59=_0x198416;this[_0x14ff59(0x33d)]();}['_registerDependencies'](){const _0x456f97=_0x198416;var _0x323652;const _0x35ee69=[[_0x40e529],[_0x2350d7],[_0x46e72e],[_0x60f80c],[_0x15e938],[_0x2b708f,{'useClass':_0x494108}],[_0x3ea834[_0x456f97(0x330)],{'useClass':_0x3ea834[_0x456f97(0x246)]}],[_0x340b74[_0x456f97(0x1b3)],{'useClass':_0x4335b5}],[_0x575827['DesktopCollaborationStatusDisplayController']],[_0x131808],[_0x27411f],[_0x386fb1],[_0x1a3b85],[_0x575827[_0x456f97(0x276)]]];_0x41ed90['registerDependencies'](this[_0x456f97(0x1b6)],_0x41ed90[_0x456f97(0x30b)](_0x35ee69,(_0x323652=this[_0x456f97(0x32b)])==null?void 0x0:_0x323652['override']));}[_0x198416(0x33d)](){const _0x1c4b41=_0x198416;this[_0x1c4b41(0x10f)](this[_0x1c4b41(0x1f7)][_0x1c4b41(0x2a1)](_0x41ed90[_0x1c4b41(0x277)][_0x1c4b41(0x1ea)],[_0x384df2])),this[_0x1c4b41(0x10f)](this[_0x1c4b41(0x1f7)][_0x1c4b41(0x2a1)](_0x41ed90[_0x1c4b41(0x277)][_0x1c4b41(0x2c4)],[_0x11ba9b]));}[_0x198416(0x27b)](){const _0x84a4e2=_0x198416;_0x41ed90['touchDependencies'](this[_0x84a4e2(0x1b6)],[[_0x386fb1],[_0x575827[_0x84a4e2(0x2d0)]],[_0x131808],[_0x27411f],[_0x575827['CollaborationDataLoaderController']]]);}},_0x59e052(_0x575827[_0x198416(0x20a)],'pluginName',_0x31d400),_0x575827['UniverCollaborationClientUIPlugin']=_0x4509dc([_0x41ed90[_0x198416(0x1af)](_0x340b74[_0x198416(0x12c)]),_0x3dd94b(0x1,_0xbfdec3[_0x198416(0x1eb)]),_0x3dd94b(0x2,_0x41ed90['Inject'](_0x41ed90[_0x198416(0x287)])),_0x3dd94b(0x3,_0x41ed90[_0x198416(0x301)])],_0x575827['UniverCollaborationClientUIPlugin']);const _0x3f3183=0x7530,_0x6e8255=_0x198416(0x307);class _0x2a834a extends _0x41ed90[_0x198416(0x313)]{constructor(){const _0x3fbfdc=_0x198416;super(),_0x2983ed(this,_0x3fbfdc(0x273),_0x41ed90[_0x3fbfdc(0x1d8)]['generateRandomId']()),_0x2983ed(this,_0x3fbfdc(0x11e),new Set()),_0x2983ed(this,_0x3fbfdc(0x35b),new Map()),_0x2983ed(this,_0x3fbfdc(0x2ae),null),_0x2983ed(this,'_clearOtherTimers',new Map()),_0x2983ed(this,_0x3fbfdc(0x200),new Map()),this[_0x3fbfdc(0x37c)]();}['dispose'](){const _0xf9efa7=_0x198416;super[_0xf9efa7(0x211)](),this[_0xf9efa7(0x318)]['forEach']((_0x406c2f,_0x5d80a1)=>this['_removeClearOtherTimer'](_0x5d80a1)),this[_0xf9efa7(0x2ae)]&&window[_0xf9efa7(0x36d)](this['_heartbeatTimer']);}[_0x198416(0x316)](_0x18b3da){const _0x134875=_0x198416;return this[_0x134875(0x149)](_0x18b3da)[_0x134875(0x213)](_0x4784ed['distinctUntilChanged']());}[_0x198416(0x226)](_0x4c2cc2){const _0x34e3f7=_0x198416;this[_0x34e3f7(0x11e)][_0x34e3f7(0x12f)]===0x0&&this[_0x34e3f7(0x329)](),this[_0x34e3f7(0x11e)][_0x34e3f7(0x37a)](_0x4c2cc2),this[_0x34e3f7(0x237)]({'type':0x0,'memberID':this['_id'],'unitIDs':[_0x4c2cc2],'isForwarded':!0x1});}['disposeUnit'](_0x40a967){const _0xb54f3f=_0x198416;this[_0xb54f3f(0x11e)][_0xb54f3f(0x1a9)](_0x40a967),this['_selfUnitIDs'][_0xb54f3f(0x12f)]===0x0&&this[_0xb54f3f(0x2ae)]&&window[_0xb54f3f(0x36d)](this[_0xb54f3f(0x2ae)]);}[_0x198416(0x37c)](){const _0xadc42a=_0x198416;this[_0xadc42a(0x10f)](_0x41ed90[_0xadc42a(0x33b)](_0x4784ed[_0xadc42a(0x11b)](window,'storage')[_0xadc42a(0x352)](_0xf40fdb=>{const _0x60a17=_0xadc42a;if(_0xf40fdb[_0x60a17(0x289)]!==_0x6e8255||!_0xf40fdb[_0x60a17(0x358)])return;const _0xe04e87=JSON[_0x60a17(0x333)](_0xf40fdb[_0x60a17(0x358)]);this[_0x60a17(0x125)](_0xe04e87);}))),window[_0xadc42a(0x25a)](_0xadc42a(0x1a5),()=>this[_0xadc42a(0x237)]({'type':0x1,'memberID':this[_0xadc42a(0x273)],'unitIDs':Array[_0xadc42a(0x116)](this[_0xadc42a(0x11e)])}));}[_0x198416(0x125)](_0x2a4a82){const _0x197ec9=_0x198416;switch(_0x2a4a82[_0x197ec9(0x143)]){case 0x0:this[_0x197ec9(0x1c7)](_0x2a4a82);break;case 0x1:this[_0x197ec9(0x186)](_0x2a4a82);break;case 0x2:this['_handleHeartbeatEvent'](_0x2a4a82);break;}}[_0x198416(0x1c7)](_0x2c14c0){const _0x20c5f1=_0x198416,{unitIDs:_0x100a0f,memberID:_0x3aa054,isForwarded:_0x545096}=_0x2c14c0;_0x100a0f[_0x20c5f1(0x21c)](_0x2ce80a=>{const _0x2adc52=_0x20c5f1;if(!_0x545096&&this[_0x2adc52(0x35b)][_0x2adc52(0x27e)](_0x2ce80a)&&this[_0x2adc52(0x149)](_0x2ce80a)[_0x2adc52(0x1b1)](_0x340b74[_0x2adc52(0x23e)][_0x2adc52(0x14e)]),!this[_0x2adc52(0x35b)][_0x2adc52(0x27e)](_0x2ce80a)||!this['_unitOnClients']['get'](_0x2ce80a)[_0x2adc52(0x27e)](_0x3aa054)){const _0x2e706c=this['_unitOnClients'][_0x2adc52(0x165)](_0x2ce80a)||new Set();_0x2e706c['add'](_0x3aa054),this[_0x2adc52(0x35b)][_0x2adc52(0x297)](_0x2ce80a,_0x2e706c),this[_0x2adc52(0x239)](_0x3aa054);}}),_0x545096||this[_0x20c5f1(0x237)]({'type':0x0,'memberID':this[_0x20c5f1(0x273)],'unitIDs':[...this[_0x20c5f1(0x11e)]],'isForwarded':!0x0});}[_0x198416(0x239)](_0x3fb9a2){const _0x2ba9ba=_0x198416;this['_removeClearOtherTimer'](_0x3fb9a2);const _0x2eaff1=window[_0x2ba9ba(0x308)](()=>{const _0x5572b8=_0x2ba9ba;this[_0x5572b8(0x35b)][_0x5572b8(0x21c)](_0x344a84=>{_0x344a84['delete'](_0x3fb9a2);});},_0x3f3183*0x2);this[_0x2ba9ba(0x318)][_0x2ba9ba(0x297)](_0x3fb9a2,_0x2eaff1);}[_0x198416(0x136)](_0x341747){const _0x2b9ba3=_0x198416;if(this[_0x2b9ba3(0x318)][_0x2b9ba3(0x27e)](_0x341747)){const _0xfc2ec0=this[_0x2b9ba3(0x318)][_0x2b9ba3(0x165)](_0x341747);_0xfc2ec0&&window['clearTimeout'](_0xfc2ec0),this[_0x2b9ba3(0x318)][_0x2b9ba3(0x297)](_0x341747,null);}}[_0x198416(0x186)](_0x1a7878){const _0x1e7f59=_0x198416,{memberID:_0x39e224,unitIDs:_0x4e5bba}=_0x1a7878;_0x4e5bba[_0x1e7f59(0x21c)](_0x1ba799=>{const _0x32a81e=_0x1e7f59;var _0x1146ca;const _0x290b6c=this['_unitOnClients'][_0x32a81e(0x165)](_0x1ba799);_0x290b6c&&(_0x290b6c['delete'](_0x39e224),(_0x1146ca=this[_0x32a81e(0x149)](_0x1ba799))==null||_0x1146ca[_0x32a81e(0x1b1)](_0x290b6c['size']===0x0?_0x340b74['UnitStatus']['NO_OTHER_CLIENTS_EDITING']:_0x340b74['UnitStatus'][_0x32a81e(0x14e)]));}),this[_0x1e7f59(0x136)](_0x39e224);}[_0x198416(0x209)](_0x5a673f){const _0x2435eb=_0x198416;this[_0x2435eb(0x239)](_0x5a673f[_0x2435eb(0x268)]);}[_0x198416(0x237)](_0x41e064){const _0x187cfc=_0x198416;localStorage[_0x187cfc(0x121)](_0x6e8255,JSON[_0x187cfc(0x12b)](_0x41e064));}[_0x198416(0x329)](){const _0x547345=_0x198416;this[_0x547345(0x2ae)]=window['setInterval'](()=>{const _0x46403c=_0x547345;this['_send']({'type':0x2,'memberID':this[_0x46403c(0x273)]});},_0x3f3183);}[_0x198416(0x149)](_0x5db680){const _0x20f453=_0x198416;return this[_0x20f453(0x200)][_0x20f453(0x27e)](_0x5db680)||this[_0x20f453(0x200)][_0x20f453(0x297)](_0x5db680,new _0x4784ed[(_0x20f453(0x21b))](_0x340b74[_0x20f453(0x23e)][_0x20f453(0x24f)])),this[_0x20f453(0x200)][_0x20f453(0x165)](_0x5db680);}}var _0x44208c=(_0x2e0796=>(_0x2e0796[_0x2e0796[_0x198416(0x328)]=0x0]='UNDEFINED',_0x2e0796[_0x2e0796['OK']=0x1]='OK',_0x2e0796[_0x2e0796[_0x198416(0x104)]=0x2]=_0x198416(0x104),_0x2e0796[_0x2e0796[_0x198416(0x244)]=0x3]=_0x198416(0x244),_0x2e0796[_0x2e0796[_0x198416(0x2a3)]=0x4]=_0x198416(0x2a3),_0x2e0796[_0x2e0796['UNAUTHENTICATED']=0x5]=_0x198416(0x35c),_0x2e0796[_0x2e0796[_0x198416(0x386)]=0x6]=_0x198416(0x386),_0x2e0796[_0x2e0796[_0x198416(0x185)]=0x7]='INVALID_ARGUMENT',_0x2e0796[_0x2e0796['TOO_MANY_REQUESTS']=0x8]='TOO_MANY_REQUESTS',_0x2e0796[_0x2e0796[_0x198416(0x179)]=0x9]='COMPLETION_FINISHED',_0x2e0796[_0x2e0796[_0x198416(0x1fd)]=0x1389]=_0x198416(0x1fd),_0x2e0796[_0x2e0796[_0x198416(0x161)]=0x1771]=_0x198416(0x161),_0x2e0796[_0x2e0796[_0x198416(0x15e)]=0x1772]=_0x198416(0x15e),_0x2e0796[_0x2e0796[_0x198416(0x363)]=0x1773]=_0x198416(0x363),_0x2e0796[_0x2e0796[_0x198416(0x37b)]=0x1b59]=_0x198416(0x37b),_0x2e0796[_0x2e0796['APPLY_NON_SEQUENTIAL_REVISION']=0x1b5a]=_0x198416(0x30d),_0x2e0796[_0x2e0796[_0x198416(0x389)]=0x1b5b]=_0x198416(0x389),_0x2e0796[_0x2e0796[_0x198416(0x241)]=0x1b5c]=_0x198416(0x241),_0x2e0796[_0x2e0796[_0x198416(0x195)]=0x1b5d]=_0x198416(0x195),_0x2e0796[_0x2e0796[_0x198416(0x174)]=0x1f41]=_0x198416(0x174),_0x2e0796[_0x2e0796[_0x198416(0x1a3)]=0x2329]=_0x198416(0x1a3),_0x2e0796[_0x2e0796[_0x198416(0x388)]=0x232a]='LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED',_0x2e0796[_0x2e0796['LICENSE_IMPORT_SIZE_EXCEEDED']=0x232b]=_0x198416(0x204),_0x2e0796[_0x2e0796[_0x198416(0x2a4)]=0x232c]=_0x198416(0x2a4),_0x2e0796[_0x2e0796['LICENSE_DISTRO_REJECTED']=0x232d]=_0x198416(0x2b3),_0x2e0796[_0x2e0796[_0x198416(0x247)]=0x2711]=_0x198416(0x247),_0x2e0796[_0x2e0796[_0x198416(0x172)]=0x2712]=_0x198416(0x172),_0x2e0796[_0x2e0796['YUUMI_RATE_OVER_LIMIT']=0x2713]=_0x198416(0x2b1),_0x2e0796[_0x2e0796[_0x198416(0x359)]=0x2714]=_0x198416(0x359),_0x2e0796[_0x2e0796[_0x198416(0x2a2)]=-0x1]='UNRECOGNIZED',_0x2e0796))(_0x44208c||{}),_0x12f395=Object[_0x198416(0x26c)],_0x225337=Object[_0x198416(0x27d)],_0x213c74=(_0x85264e,_0x19bcd7,_0x5b5db7,_0x578ab3)=>{const _0xfd7f0e=_0x198416;for(var _0x5eec47=_0x578ab3>0x1?void 0x0:_0x578ab3?_0x225337(_0x19bcd7,_0x5b5db7):_0x19bcd7,_0x214d0e=_0x85264e[_0xfd7f0e(0x2d9)]-0x1,_0x297534;_0x214d0e>=0x0;_0x214d0e--)(_0x297534=_0x85264e[_0x214d0e])&&(_0x5eec47=(_0x578ab3?_0x297534(_0x19bcd7,_0x5b5db7,_0x5eec47):_0x297534(_0x5eec47))||_0x5eec47);return _0x578ab3&&_0x5eec47&&_0x12f395(_0x19bcd7,_0x5b5db7,_0x5eec47),_0x5eec47;},_0x31b84b=(_0xd45cf,_0x23920b)=>(_0x5cccf8,_0x17febf)=>_0x23920b(_0x5cccf8,_0x17febf,_0xd45cf);_0x575827[_0x198416(0x1e6)]=class extends _0x41ed90[_0x198416(0x313)]{constructor(_0x5139e4,_0x1ba7e3,_0x153d4c){const _0x2e5c20=_0x198416;super(),this[_0x2e5c20(0x1f9)]=_0x5139e4,this[_0x2e5c20(0x2c5)]=_0x1ba7e3,this[_0x2e5c20(0x31a)]=_0x153d4c;}async[_0x198416(0x139)](_0x16bcf2,_0x4a1def,..._0x531d3e){const _0x409186=_0x198416;var _0x5475c2,_0x303be0;const _0xf7bd5d=this[_0x409186(0x1f9)]['getFocusedUnit']();if(!_0xf7bd5d)throw new Error(_0x409186(0x1b5));const _0x2cdacd=((_0x5475c2=this[_0x409186(0x31a)][_0x409186(0x21d)](_0x340b74[_0x409186(0x163)]))!=null?_0x5475c2:_0x340b74['DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT'])+'/'+_0x16bcf2+_0x409186(0x1d5)+_0x4a1def,_0x1338d3=new URL(window[_0x409186(0x230)]['href']),_0x4534d0={'scriptId':_0x16bcf2,'runId':(_0x303be0=_0x1338d3[_0x409186(0x10d)][_0x409186(0x165)](_0x409186(0x28f)))!=null?_0x303be0:'','function':_0x4a1def,'unitId':_0xf7bd5d[_0x409186(0x374)](),'argsOfFunction':JSON[_0x409186(0x12b)](_0x531d3e)};try{const _0x1be394=await this[_0x409186(0x2c5)][_0x409186(0x114)](_0x2cdacd,{'body':_0x4534d0});return!(_0x1be394['body'][_0x409186(0x12a)]&&_0x1be394[_0x409186(0x109)][_0x409186(0x12a)]['code']!==_0x44208c['OK']);}catch{return!0x1;}}},_0x575827[_0x198416(0x1e6)]=_0x213c74([_0x31b84b(0x0,_0x41ed90[_0x198416(0x29c)]),_0x31b84b(0x1,_0x41ed90[_0x198416(0x300)](_0x3ea834['HTTPService'])),_0x31b84b(0x2,_0x41ed90['IConfigService'])],_0x575827[_0x198416(0x1e6)]),_0x575827['CollaborationStatusDisplay']=_0x55ce54,_0x575827[_0x198416(0x382)]=_0x2b708f,_0x575827[_0x198416(0x248)]=_0x24526b,_0x575827[_0x198416(0x1e7)]=_0x2a834a,_0x575827['WebURLService']=_0x494108,Object[_0x198416(0x26c)](_0x575827,Symbol['toStringTag'],{'value':'Module'});}));function _0x404a(_0x18ea33,_0x5be39b){const _0xde709=_0xde70();return _0x404a=function(_0x404a79,_0x441a88){_0x404a79=_0x404a79-0x101;let _0x306d91=_0xde709[_0x404a79];return _0x306d91;},_0x404a(_0x18ea33,_0x5be39b);}function _0xde70(){const _0x11ba5c=['for','_updateSubUnitFromURLParams','No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','height','_roomMembers$','react.element','_updateLocalCursor','saveImage','UniverDocs','getTypeOfUnitAdded$','currentSkeleton$','_getMergeRange','engine','whenReady','...','_labelPosition','triggerDblclick','bottom','handleInsertRangeMoveRight','MemberService','debounce','EffectRefRangId','offline','8FrRMCX','black','syncEditingCollabCursor','MoveRangeCommandId','range','_localStorageService','IImageIoService','getStateCache','_sheetSkeletonManagerService','@univerjs/sheets-ui','translate(.97)','Inject','IConfigService','hide','MUTATION','_eventUnsubscribe','_docTransformIMECacheService','174219iXYfIP','ACTIVE_UNIT_EVENT_CHANNEL','setTimeout','getColor','defs','mergeOverrideWithDependencies','pushState','APPLY_NON_SEQUENTIAL_REVISION','ThemeService','_cachedData','50QwmSDC','handleInsertRangeMoveDown','textRanges','Disposable','_memberService','univer-online-status-icon','getUnitStatus$','@univerjs/docs-ui','_clearOtherTimers','currentColor','_configService','getCurrentSelections','source','m1Prime','_transformHistoryAndStateStack','skeleton','_color','_session','UPDATE_CURSOR','UniverSheets','_document','_docSkeleton','transformMutation','registerRefRange','UNDEFINED','_scheduleHeartbeat','getVpScrollXYInfoByPosToVp','_config','_onRefRangeChange','RevisionService','UNIVER_COLLABORATION_CLIENT_WEB_PLUGIN','_saveCache','ISocketService','transformByState','displayName','parse','apply','SHEET_VIEWPORT_KEY','eventID','merge','_status$','useRef','uni.network.url-service','toDisposable','activeSheet$','_registerRenderDependencies','setParam','_initEntityListener','substring','DocCollaborationEntity','@univerjs/engine-formula','RemoveRowCommandId','_colorIndex','purple300','all','FromArray','_entityInit$','TRANSFORM_CHANGE_OBSERVABLE_TYPE','IBeforeCloseService','_anchorDot','selection','@univerjs/engine-render','url(#off-line-single_clip0_910_343)','red300','urlChange$','Subject','subscribe','handleInsertRow','imageSourceType','UniverNetwork','transformMutationsWithChangeset','handleDeleteRangeMoveUp','newValue','YUUMI_SUBSCRIPTION_NOT_FOUND','complete','_unitOnClients','UNAUTHENTICATED','propertyIsEnumerable','ColorKit','defaultProps','sessionStatus$','0\x200\x2016\x2016','DocSelectionManagerService','ENSURE_SNAPSHOT_EXECUTION','RemoveColCommandId','RegularPolygon','DocStateChangeManagerService','IRemoteInstanceService','_removeCollabCursors','replace','_scene','DocIMEInputManagerService','gold400','clearInterval','collab-client.tooltip.reconnect','resize','_online','then','attrs','_imageIoService','getUnitId','with','getItem','onMouseMove','RECT','split','add','APPLY_REJECT','_init','__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED','fromEventSubject','createIdentifier','SetWorksheetActivateCommand','session.collaboration-timeout','IURLService','values','_onCursorDelete','_handleHover','ALREADY_EXISTS','doc.mutation.rich-text-editing','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','APPLY_REVISION_CONFILICT','unitId','InsertRangeMoveDownCommandId','@univerjs/network','RichTextEditingMutation','INTERNAL_ERROR','min','rgba(255,\x20255,\x20255,\x200.01)','collab-text-range-','transformRemoteChangeset','body','_collabCursorController','_docClipboardService','setShapeProps','searchParams','_commandService','disposeWithMe','unsubscribe','idSuffix','getUniverSheetInstance','concat','post','_draw','from','TEXT','_range','_toggleOnline','getSheetId','fromEvent','trim','contains','_selfUnitIDs','filter','serializeRangeWithSheet','setItem','univer-online-status-title','AWAITING_WITH_PENDING','OnLineSingle','_handleEvent','show','findNodePositionByCharIndex','getCoordByCell','ReactCurrentOwner','error','stringify','UniverCollaborationClientPlugin','_cursor','RxDisposable','size','transformIMECache','1em','setAlpha','_hover','getTypeOfUnitDisposed$','OffLineSingle','_removeClearOtherTimer','_toggleOffline','@univerjs/design','runOnServer','_entities','_setupBeforeClosingHandler','getOwnPropertySymbols','debounceTime','width','#FFF','_messageService','InsertRowCommandId','DOC_RANGE_TYPE','type','react','UniverCore','_cursorShapes','saveOfflineData','isTransformMutationFailure','_ensureSubject','_startDocCollabCursor','find','indexOf','href','OTHER_CLIENTS_EDITING','_textBubble','startColumn','row','DeleteRangeMoveLeftCommandId','_getScale','_hovered','_updateURLWithCurrentState','M0\x200H16V16H0z','COLORS','addObjects','getDocRanges','getParam','@univerjs/drawing','online','_render','SNAPSHOT_HAS_BEEN_REMOVED','VIEW_MAIN','requireSession','SNAPSHOT_INVALID_SNAPSHOT','@univerjs/core','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY','roomMembers$','get','permission.content','_collaborationUIEventService','runRefRangeMutations','deserializeRangeWithSheet','UniverIcon','onlineStatus','deepClone','InsertColCommandId','@univerjs/ui','UniverSheetsUi','CONFLICT','getSheetBySheetId','YUUMI_URL_COL_OUT_OF_RANGE','selections','CONNECTOR_DATA_TOO_LARGE','symbol','onCommandExecuted','font','saveTaskMap','COMPLETION_FINISHED','_hideTimer','LocaleService','22XNBtbF','SOCKET_FAILED_RETRY','[CollaborationDataLoaderController]','_notificationService','children','clearTimeout','_cursorInfo$','moveTo','undoState','INVALID_ARGUMENT','_handleLeaveEvent','fillText','_docSkeletonManagerService','text','assignAColorForMemberID','getMergeData','_transformService','_urlService','_revisionService','collaboration.closeRoom','collaboration.single-unit.warning','getActiveRange','measureText','exhaustSavingTask','No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.','APPLY_DUPLICATED','144583eNxlRe','transformSelections','LOCAL_CACHE_INTERVAL_KEY','disableLocalCache','map','onPointerLeave$','mapTo','path','_saveTaskMap','OFFLINE','UniverEngineFormula','_refRangeService','subunit','LICENSE_MAX_UNITS_EXCEEDED','isEditing','unload','_docTransformStateCacheService','collab-text-anchor-','getCurrent','delete','off-line-single','IUIPartsService','Rectangle','defIds','hovered','DependentOn','exports','next','loadUnit','ILocalCacheService','collab-rect-range-','[RemoteUniscriptService]:\x20no\x20focused\x20unit','_injector','_lastPointer','dispose$','getUndoRedoMutationParamsCache','_collaborationController','unitID','setUndoRedoMutationParamsCache','sheetId','fillStyle','xlink:href','prototype','_initStatusListener','handleIRemoveRow','ILocalStorageService','USERS_LEAVE','closePath','NodePositionConvertToRectRange','_handleJoinEvent','removeParam','use','_transformPreviousActiveRange','setStateCache','getSkeleton','addObject','jsx','InsertRangeMoveRightCommandId','getSheetObject','LOCAL_CACHE_INTERVAL','531516TSAUCH','backgroundColor','_localCacheService','/run/','transformStateCache','UniverDocsUi','Tools','call','univerjs-icon\x20univerjs-icon-','Workbook','_drawRectRange','ICommandService','_getSaveTimeout','_initStatusComponent','UniverEngineRender','SetSelectionsOperation','_syncEditingCollabCursorService','_context','Shape','toRgbString','RemoteUniscriptService','WebBrowserSingleActiveUnitService','Vector2','SessionStatus','UNIVER_DOC','IRenderManagerService','svg','SOCKET_FAILED','replaceState','getMemberID','none','asObservable','labelPosition','RefRangeService','restore','generateRandomId','ONLINE','_renderManagerService','@univerjs-pro/collaboration','_instanceService','Rect','current','onRendered','CHANGESET_REVISION_CONFILICT','@univerjs-pro/collaboration-client','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','_unitStatus','SheetSkeletonManagerService','div','_assignedColors','LICENSE_IMPORT_SIZE_EXCEEDED','params','_univerInstanceService','_logService','color','_handleHeartbeatEvent','UniverCollaborationClientUIPlugin','bold\x2013px\x20Source\x20Han\x20Sans\x20CN','UniverDrawing','Warning','init','CollaborationUIEventId','getRelativeToViewportCoord','dispose','handleInsertCol','pipe','url(#$1','fill','top','_onCursorUpdate','onPointerEnter$','getCollabCursors$','_backgroundColor','BehaviorSubject','forEach','getConfig','TEXT_RANGE_LAYER_INDEX','collaboration-client-ui.config','getCurrentUnitForType','takeUntil','JOIN_ROOM_FAILED','throttleTime','fillRule','string','editingUnit','assign','getAncestorScale','history','_drawTextRange','createElement','react.fragment','ITransformService','useCallback','@univerjs/sheets','location','16326oLxlEi','onLocalMutation','endColumn','@univerjs/docs','cursorInfo$','entries','_send','onPointerMove$','_scheduleClearOtherTimer','className','toString','getUnhiddenWorksheets','_startSheetCollabCursor','UnitStatus','CollaborationSessionService','getRangePointData','APPLY_PERMISSION_DENIED','url(#on-line-single_clip0_910_349)','CollaborationController','PERMISSION_DENIED','PENDING','WebSocketService','YUUMI_UNABLE_LOAD_URL','SheetCollabCursorShape','_getAnchorBounding','collabStatus.notCollab','_docStateChangeManagerService','MessageType','replaceDocRanges','collabStatus.conflict','NO_OTHER_CLIENTS_EDITING','sheetID','NOT_COLLAB','#fff','_initCommandExecutedListener','debug','_shapes','_collabCursorState$','DataLoaderService','transform','collabCursorState$','addEventListener','_anchor','unshift','lineTo','executeCommand','getFocusedUnit','_docTransformSelectionsService','_transformUndoRedoStack','_colorAssignService','switchMap','2lqglVE','rxjs','setConfig','CollaborationStatus','memberID','Error','push','getLocalCacheKey','defineProperty','ref','extend','colorChannel1','column','cursorInfo','_cursors','_id','DisposableCollection','mutations','CollaborationDataLoaderController','UniverInstanceType','getActiveSheet','_themeService','isArray','_initDependencies','jiqing500','getOwnPropertyDescriptor','has','arc','getMember','operators','m2Prime','_getSheetObject','data','React','collabStatus.offline','Injector','_collabSessionService','key','getCellPositionByOffset','roomMembers','redoState','UniverDesign','_refreshCollabCursors','runId','_updateCollabCursors','event$','getValue','addClipboardHook','_initEvent','_beforeCloseService','isTransformMutationsWithChangesetSuccess','set','_uiPartsService','handleDeleteRangeMoveLeft','unit','21iQGBIl','IUniverInstanceService','NodePositionConvertToCursor','_localeService','subscribeEvent','tag','registerRenderModule','UNRECOGNIZED','NOT_FOUND','LICENSE_EXPORT_SIZE_EXCEEDED','BuiltInUIPart','icon','CollaborationUIEventService','makeDirty','UniverUi','CollaborationEvent','round','getViewport','forwardRef','_heartbeatTimer','990815ngmske','setActiveRange','YUUMI_RATE_OVER_LIMIT','enableLocalCache','LICENSE_DISTRO_REJECTED','onStarting','useDependency','Optional','evenodd','rxjs/operators','_name','FETCH_MISS','handleMoveRange','339282WAtxzT','_setupSubUnitSync','number','@univerjs/rpc','onTransformChange$','_docSyncEditingCollabCursorService','permission.title','_registerDependencies','UNIVER_SHEET','_httpService','send','off-line-single_clip0_910_343','popstate','drawWith','jsxs','IMessageService','ranges','subUnitId','combineLatest','getRenderById','DesktopCollaborationStatusDisplayController','_scheduleSaving','SetTextSelectionsOperation','clipPath','hasOwnProperty','_dataLoaderService','1751528DXqcqc','_disabled','shareReplay','length','IDocClipboardService','name','focused$','collabStatus.syncing'];_0xde70=function(){return _0x11ba5c;};return _0xde70();}
|
|
1
|
+
function _0x4334(){const _0x3c4e32=['RegularPolygon','AWAITING_WITH_PENDING','ONLINE','onTransformChange$','clearInterval','evenodd','contains','1524364MvBqLk','hovered','SheetsSelectionsService','HTTPService','eventID','_startDocCollabCursor','_labelPosition','DocCollaborationEntity','DocSkeletonManagerService','debounceTime','Inject','Tools','clipPath','DocStateChangeManagerService','_commandService','forwardRef','getAncestorScale','getSkeleton','fill','getUnhiddenWorksheets','_logService','unit','OFFLINE','combineLatest','...','_collabCursorState$','whenReady','SetWorksheetActivateCommand','throttleTime','_saveTaskMap','saveOfflineData','getOwnPropertySymbols','moveTo','tag','getConfig','storage','_drawAnchor','href','IConfigService','IUIPartsService','_transformService','enableLocalCache','useDependency','Warning','transformSelections','_docSyncEditingCollabCursorService','location','backgroundColor','Error','@univerjs-pro/collaboration-client','VIEW_MAIN','OTHER_CLIENTS_EDITING','_docTransformStateCacheService','toString','onlineStatusIcon','size','Rect','idSuffix','setItem','UNIVER_SHEET','getCurrentSelections','_initEntityListener','body','IMessageService','Plugin','_notificationService','Disposable','1711212PDuWwj','status$','APPLY_PERMISSION_DENIED','_saveCache','getUnitId','_imageIoService','next','replaceDocRanges','UNIVER_DOC','_beforeCloseService','onPointerMove$','CollaborationController','collabStatus.notCollab','UniverProCollaborationClient','_injector','onPointerEnter$','useCallback','2111796OfmyfH','push','_backgroundColor','all','@univerjs/design','_dataLoaderService','handleIRemoveRow','_cursorShapes','add','SetDocZoomRatioOperation','addObject','getUndoRedoMutationParamsCache','params','_assignedColors','_refreshCollabCursors','SheetSkeletonManagerService','transformStateCache','event$','show','_hideTimer','defineProperty','unitId','handleMoveRange','unsubscribe','_cachedData','getSheetId','drawWith','APPLY_REVISION_CONFILICT','defIds','_session','url(#off-line-single_clip0_910_343)','#fff','RemoveColCommandId','@univerjs/engine-render','univerjs-icon\x20univerjs-icon-','syncEditingCollabCursor','No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.','transformMutationsWithChangeset','RevisionService','merge','@univerjs/docs','ReactCurrentOwner','MessageType','getSheetObject','verdancy600','getParam','_name','for','mapTo','length','_docStateChangeManagerService','session.will-retry','_toggleOffline','CollaborationEvent','UniverEngineRender','UniverIcon','@univerjs/docs-ui','[RemoteUniscriptService]:\x20no\x20focused\x20unit','save','INTERNAL_ERROR','div','_docTransformIMECacheService','_entities','addObjects','on-line-single_clip0_910_349','onStarting','Workbook','_initCommandExecutedListener','DocSelectionManagerService','setActiveRange','CONFLICT','YUUMI_UNABLE_LOAD_URL','undoState','replaceState','subscribeEvent','bold\x2013px\x20Source\x20Han\x20Sans\x20CN','getActiveSheet','LICENSE_IMPORT_SIZE_EXCEEDED','setConfig','some','error','_scheduleSaving','textRanges','_send','round','fillText','SessionStatus','lineTo','_collabCursorController','_docSkeleton','toStringTag','DesktopCollaborationStatusDisplayController','_registerDependencies','collabStatus.syncing','isActive','getCollabCursors$','values','onMouseMove','CLOSE_ROOM','getOwnPropertyDescriptor','_ensureSubject','_updateSubUnitFromURLParams','_localCacheService','forEach','selection','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','PENDING','range','replace','offline','prototype','_getSheetObject','_getAnchorBounding','flatMap','SHEET_VIEWPORT_KEY','registerDependencies','collab-client.tooltip.reconnect','_getMergeRange','_updateCollabCursors','JOIN_ROOM_FAILED','@univerjs-pro/collaboration','USERS_LEAVE','#FFF','currentSkeleton$','SNAPSHOT_INVALID_SNAPSHOT','min','UNRECOGNIZED','_memberService','addEventListener','collab-text-range-','fillRule','debounce','history','_drawTextRange','saveTaskMap','pipe','dispose','assign','MemberService','@univerjs/sheets-ui','1em','unitID','path','react.fragment','_cursor','disposeUnit','from','onPointerLeave$','ref','NodePositionConvertToCursor','gold400','row','jsx','fromEvent','collab-rect-range-','_range','rgba(255,\x20255,\x20255,\x200.01)','ENSURE_SNAPSHOT_EXECUTION','delete','_setupBeforeClosingHandler','loadUnit','_shapes','data','APPLY_NON_SEQUENTIAL_REVISION','getRenderById','redoState','toDisposable','collaboration.single-unit.warning','measureText','UniverEngineFormula','max','50qUTlqp','_heartbeatTimer','Optional','_docClipboardService','get','INVALID_ARGUMENT','symbol','_handleEvent','getTypeOfUnitAdded$','_messageService','ColorKit','text','roomMembers$','YUUMI_URL_COL_OUT_OF_RANGE','_online','startColumn','getFocusedUnit','useRef','addHandlerCallback','_transformUndoRedoStack','online','_httpService','with','UniverRpc','setInterval','createInstance','amd','UnitStatus','_initStatusComponent','WebURLService','getViewport','ILocalStorageService','UNAUTHENTICATED','arc','string','RefRangeService','engine','_anchorDot','_drawRectRange','translate(.97)','BuiltInUIPart','getRelativeToViewportCoord','deepClone','onLocalMutation','3fXOKcn','UniverProCollaborationClientUi','_setupSubUnitSync','_initEvent','CollaborationDataLoaderController','registerRefRange','_handleHover','_toggleOnline','CollaborationUIEventService','_collabSessionService','ILocalCacheService','handleInsertCol','_instanceService','CONNECTOR_DATA_TOO_LARGE','entityInit$','actions','clearTimeout','_hovered','collaboration-client-ui.config','FETCH_MISS','transform','univer-offline','jsxs','_colorAssignService','getCurrent','_sheetSkeletonManagerService','@univerjs/drawing','_urlService','unload','red300','currentTheme$','getCurrentUnitForType','SOCKET_FAILED','getItem','getMemberID','children','NO_OTHER_CLIENTS_EDITING','trim','0\x200\x2017\x2016','_renderManagerService','subUnitId','univer-online-status-title','YUUMI_RATE_OVER_LIMIT','off-line-single_clip0_910_343','_entityInit$','onlineStatus','session.connection-failed','transformRemoteChangeset','RECT','InsertRangeMoveDownCommandId','OffLineSingle','LocaleService','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY','getCoordByCell','UPDATE_CURSOR','_scheduleClearOtherTimer','_univerInstanceService','_localStorageService','pushState','createElement','dispose$','endRow','SYNCED','attrs','_localeService','UniverNetwork','_updateLocalCursor','operators','newValue','_colorIndex','_disabled','SheetCollabCursorShape','YUUMI_SUBSCRIPTION_NOT_FOUND','IURLService','column','labelPosition','switchMap','restore','defaultProps','M0\x200H16V16H0z','DocIMEInputManagerService','COMPLETION_FINISHED','map','requireSession','_onCursorDelete','defs','urlChange$','svg','MUTATION','122056YbpcRA','@univerjs/engine-formula','_scene','subscribe','memberID','NOT_COLLAB','IDocClipboardService','Shape','[CollaborationDataLoaderController]','asObservable','@univerjs/core','CommandType','UniverSheets','IRemoteInstanceService','generateRandomId','_transformPreviousActiveRange','current','_initDependencies','ITransformService','key','getCurrentRevOfUnit','setParam','Fragment','LICENSE_DISTRO_REJECTED','hasOwnProperty','entries','ranges','DeleteRangeMoveUpCommandId','WebSocketService','handleInsertRow','ALREADY_EXISTS','rxjs','exhaustSavingTask','_clearOtherTimers','OnLineSingle','endColumn','EffectRefRangId','_selfUnitIDs','saveImage','doc.mutation.rich-text-editing','filter','_startSheetCollabCursor','_removeClearOtherTimer','_handleJoinEvent','0\x200\x2016\x2016','3804325pgbLGU','displayName','_scheduleHeartbeat','_collaborationController','colorChannel1','collabStatus.synced','override','_config','type','SetTextSelectionsOperation','imageSourceType','runOnServer','InsertRowCommandId','use','TEXT_RANGE_LAYER_INDEX','_transformHistoryAndStateStack','getCellPositionByOffset','set','function','DOC_RANGE_TYPE','popstate','ILogService','debug','_document','_unitOnClients','getMember','getRangePointData','getCollabEntity$','IImageIoService','_removeCollabCursors','_syncEditingCollabCursorService','findNodePositionByCharIndex','LICENSE_EXPORT_SIZE_EXCEEDED','getValue','black','SNAPSHOT_HAS_BEEN_REMOVED','_registerRenderDependencies','CollaborationSessionService','_uiPartsService','477xqgwPd','focused$','apply','extend','_init','_revisionService','RemoteUniscriptService','handleDeleteRangeMoveLeft','RichTextEditingMutation','UniverUi','_lastPointer','getTypeOfUnitDisposed$','getStateCache','transformIMECache','AWAITING','complete','subunit','setShapeProps','CollaborationStatus','executeCommand','UniverInstanceType','cursorInfo$','@univerjs/rpc','_unitStatus','shareReplay','Unknown\x20user','registerComponent','currentColor','touchDependencies','UniverDocs','@univerjs/sheets','getDocRanges','mutations','name','object','transformMutation','off-line-single','ICommandService','_docSkeletonManagerService','jiqing500','onRendered','isTransformMutationFailure','collabStatus.offline','then','CollaborationUIEventId','disposeWithMe','send','UniverDocsUi','isArray','sheetID','BehaviorSubject','runRefRangeMutations','has','call','width','color','IRenderManagerService','isEditing','assignAColorForMemberID','@univerjs/network','substring','_render','TOO_MANY_REQUESTS','_getSaveTimeout','DependentOn','height','_anchor','m2Prime','sessionStatus$','cursorInfo','split','none','UniverDrawing','mergeOverrideWithDependencies','purple300','_textBubble','unshift','1917300xLcJeu','WebBrowserSingleActiveUnitService','session.collaboration-timeout','APPLY_REJECT','fromEventSubject','_cursorInfo$','includes','getVpScrollXYInfoByPosToVp','m1Prime','init','react','indexOf','onCommandExecuted','RxDisposable','className','getMergeData','_refRangeService','_cursors','top','520778lXHwnj','_hover','Rectangle','_updateURLWithCurrentState','getSheetBySheetId','_themeService','concat','distinctUntilChanged','hide','APPLY_DUPLICATED','DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','takeUntil','ACTIVE_UNIT_EVENT_CHANNEL','registerRenderModule','permission.title','_context','15AcaENV','getColor','MoveRangeCommandId','getActiveRange','_handleLeaveEvent','setAlpha','_roomMembers$','handleDeleteRangeMoveUp','_status$','RemoveRowCommandId','collaboration.closeRoom','@univerjs/ui','find','UniverCore','SOCKET_FAILED_RETRY','_docTransformSelectionsService','_onCursorUpdate','isTransformMutationsWithChangesetSuccess','ISocketService','HEADER_MENU','serializeRangeWithSheet','Vector2','_id','collab-text-anchor-','_eventUnsubscribe','removeParam','COLORS','univer-online-status-icon','makeDirty','UniverCollaborationClientUIPlugin','Tooltip','collabStatus.fetchMiss','NodePositionConvertToRectRange','IUniverInstanceService','setTimeout','deserializeRangeWithSheet','OTHER_CLIENT_EDITING','_draw','xlink:href','exports','_configService','_color','InsertColCommandId','NOT_FOUND','bottom','LICENSE_MAX_UNITS_EXCEEDED','UNDEFINED','Injector','PERMISSION_DENIED','beginPath','sheetId','_getScale','addClipboardHook','searchParams','url(#$1','resize'];_0x4334=function(){return _0x3c4e32;};return _0x4334();}function _0x5c4b(_0x57160d,_0x5b95d6){const _0x433417=_0x4334();return _0x5c4b=function(_0x5c4be9,_0x1b668d){_0x5c4be9=_0x5c4be9-0x188;let _0x5bb173=_0x433417[_0x5c4be9];return _0x5bb173;},_0x5c4b(_0x57160d,_0x5b95d6);}(function(_0x1cddd2,_0x448823){const _0x6819c2=_0x5c4b,_0x36c6ac=_0x1cddd2();while(!![]){try{const _0x10dcbf=-parseInt(_0x6819c2(0x3e4))/0x1+parseInt(_0x6819c2(0x352))/0x2*(-parseInt(_0x6819c2(0x245))/0x3)+-parseInt(_0x6819c2(0x3a1))/0x4+-parseInt(_0x6819c2(0x362))/0x5*(-parseInt(_0x6819c2(0x3f5))/0x6)+parseInt(_0x6819c2(0x2cb))/0x7+-parseInt(_0x6819c2(0x29e))/0x8*(-parseInt(_0x6819c2(0x2f2))/0x9)+parseInt(_0x6819c2(0x219))/0xa*(parseInt(_0x6819c2(0x33f))/0xb);if(_0x10dcbf===_0x448823)break;else _0x36c6ac['push'](_0x36c6ac['shift']());}catch(_0x11f614){_0x36c6ac['push'](_0x36c6ac['shift']());}}}(_0x4334,0xe2452),function(_0x53abc6,_0xacdab1){const _0x3de133=_0x5c4b;typeof exports=='object'&&typeof module<'u'?_0xacdab1(exports,require(_0x3de133(0x3d2)),require('@univerjs/core'),require(_0x3de133(0x18f)),require('@univerjs/network'),require(_0x3de133(0x1a6)),require(_0x3de133(0x25f)),require(_0x3de133(0x2bd)),require(_0x3de133(0x196)),require(_0x3de133(0x1e6)),require(_0x3de133(0x29f)),require('@univerjs/sheets'),require('rxjs/operators'),require(_0x3de133(0x1f9)),require(_0x3de133(0x349)),require(_0x3de133(0x36d)),require(_0x3de133(0x3f9)),require('@univerjs/rpc')):typeof define==_0x3de133(0x2dd)&&define[_0x3de133(0x233)]?define([_0x3de133(0x389),_0x3de133(0x3d2),_0x3de133(0x2a8),_0x3de133(0x18f),_0x3de133(0x32d),'@univerjs/docs-ui',_0x3de133(0x25f),'rxjs','@univerjs/docs',_0x3de133(0x1e6),_0x3de133(0x29f),_0x3de133(0x310),'rxjs/operators','@univerjs/sheets-ui',_0x3de133(0x349),_0x3de133(0x36d),_0x3de133(0x3f9),_0x3de133(0x308)],_0xacdab1):(_0x53abc6=typeof globalThis<'u'?globalThis:_0x53abc6||self,_0xacdab1(_0x53abc6[_0x3de133(0x246)]={},_0x53abc6[_0x3de133(0x3f1)],_0x53abc6[_0x3de133(0x36f)],_0x53abc6[_0x3de133(0x1a4)],_0x53abc6[_0x3de133(0x286)],_0x53abc6[_0x3de133(0x321)],_0x53abc6[_0x3de133(0x33a)],_0x53abc6[_0x3de133(0x2bd)],_0x53abc6[_0x3de133(0x30f)],_0x53abc6['UniverProCollaboration'],_0x53abc6[_0x3de133(0x217)],_0x53abc6[_0x3de133(0x2aa)],_0x53abc6['rxjs'][_0x3de133(0x288)],_0x53abc6['UniverSheetsUi'],_0x53abc6['React'],_0x53abc6[_0x3de133(0x2fb)],_0x53abc6['UniverDesign'],_0x53abc6[_0x3de133(0x230)]));}(this,function(_0x4768c7,_0xfc7012,_0x524529,_0x6d82fc,_0x57276e,_0x37ba48,_0x3fce5f,_0x354597,_0x2745da,_0x1fddb7,_0xc34667,_0x2d3cc7,_0x346dc5,_0x253ca9,_0x50d71e,_0x5b9b9e,_0x4a3f7f,_0x2d25a6){'use strict';const _0x5fe29=_0x5c4b;var _0x50e2cf=Object[_0x5fe29(0x409)],_0x35a835=(_0x54791e,_0x467d59,_0x5eea2c)=>_0x467d59 in _0x54791e?_0x50e2cf(_0x54791e,_0x467d59,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x5eea2c}):_0x54791e[_0x467d59]=_0x5eea2c,_0x16f0e1=(_0x3a5f76,_0x15ad25,_0x45000a)=>_0x35a835(_0x3a5f76,typeof _0x15ad25!=_0x5fe29(0x21f)?_0x15ad25+'':_0x15ad25,_0x45000a),_0x1b23c2=Object[_0x5fe29(0x409)],_0x3c7c47=Object['getOwnPropertyDescriptor'],_0x2e87b3=(_0x3efbd9,_0x194d49,_0x41dbe2,_0x3d06ab)=>{const _0x17f2b4=_0x5fe29;for(var _0x10157f=_0x3d06ab>0x1?void 0x0:_0x3d06ab?_0x3c7c47(_0x194d49,_0x41dbe2):_0x194d49,_0x1c7aaa=_0x3efbd9[_0x17f2b4(0x19f)]-0x1,_0x42d0db;_0x1c7aaa>=0x0;_0x1c7aaa--)(_0x42d0db=_0x3efbd9[_0x1c7aaa])&&(_0x10157f=(_0x3d06ab?_0x42d0db(_0x194d49,_0x41dbe2,_0x10157f):_0x42d0db(_0x10157f))||_0x10157f);return _0x3d06ab&&_0x10157f&&_0x1b23c2(_0x194d49,_0x41dbe2,_0x10157f),_0x10157f;},_0x12ab8a=(_0x217508,_0x4d515f)=>(_0x5a86b2,_0x452391)=>_0x4d515f(_0x5a86b2,_0x452391,_0x217508);let _0x42793d=class extends _0x524529[_0x5fe29(0x34c)]{constructor(_0x1ea791,_0x12510c){const _0x345ffd=_0x5fe29;super(),this[_0x345ffd(0x21c)]=_0x1ea791,this['_imageIoService']=_0x12510c,this['_init']();}[_0x5fe29(0x2f6)](){const _0x31f412=_0x5fe29,_0x902985=this;this[_0x31f412(0x31f)](this['_docClipboardService'][_0x31f412(0x396)]({'onBeforePasteImage':async _0x365664=>{const _0x5aa8bc=_0x31f412,_0x1ac08b=await _0x902985[_0x5aa8bc(0x3e9)][_0x5aa8bc(0x2c4)](_0x365664);return _0x1ac08b?{'source':_0x1ac08b['source'],'imageSourceType':_0x1ac08b[_0x5aa8bc(0x2d5)]}:null;}}));}};_0x42793d=_0x2e87b3([_0x12ab8a(0x0,_0x37ba48[_0x5fe29(0x2a4)]),_0x12ab8a(0x1,_0x3fce5f[_0x5fe29(0x2e7)])],_0x42793d);const _0x4ccd61=[_0x5fe29(0x33c),_0x5fe29(0x319),_0x5fe29(0x19a),_0x5fe29(0x262),'blue400',_0x5fe29(0x204)];class _0x24fe6e extends _0x524529[_0x5fe29(0x3e3)]{constructor(){const _0x110166=_0x5fe29;super(...arguments),_0x16f0e1(this,_0x110166(0x402),new Map()),_0x16f0e1(this,_0x110166(0x28a),0x0);}[_0x5fe29(0x32c)](_0x27c85b){const _0xdca5c3=_0x5fe29;if(this['_assignedColors'][_0xdca5c3(0x326)](_0x27c85b))return this[_0xdca5c3(0x402)][_0xdca5c3(0x21d)](_0x27c85b);const _0x3a06be=_0x4ccd61[this[_0xdca5c3(0x28a)]];return this['_colorIndex']=(this[_0xdca5c3(0x28a)]+0x1)%_0x4ccd61[_0xdca5c3(0x19f)],this['_assignedColors'][_0xdca5c3(0x2dc)](_0x27c85b,_0x3a06be),_0x3a06be;}}function _0x95c817(_0x215851){const _0x25c1a8=_0x5fe29;let _0x5cc939='';for(const _0x4ac147 of _0x215851){const {startOffset:_0x2f755b,endOffset:_0x7af3f0,isActive:_0x6e606a,rangeType:_0x108dd4,segmentId:_0x52ddfb,segmentPage:_0x17dff6}=_0x4ac147;_0x5cc939[_0x25c1a8(0x19f)]&&(_0x5cc939+=','),_0x5cc939+=_0x2f755b+':'+_0x7af3f0+':'+(_0x6e606a?'1':'0')+':'+_0x108dd4+':'+_0x52ddfb+':'+_0x17dff6;}return _0x5cc939;}function _0x566b41(_0x12c9ab){const _0x58d04e=_0x5fe29,_0xd7ab0b=_0x12c9ab[_0x58d04e(0x338)](','),_0x4bedb9=[];for(const _0x6abbca of _0xd7ab0b){const [_0x1dab42,_0x90ce96,_0x1f4b38,_0x1b2b76,_0x465bf9,_0x597421]=_0x6abbca['split'](':');_0x4bedb9[_0x58d04e(0x3f6)]({'startOffset':Number(_0x1dab42),'endOffset':Number(_0x90ce96),'collapsed':_0x1dab42===_0x90ce96,'isActive':_0x1f4b38==='1','rangeType':_0x1b2b76===_0x524529[_0x58d04e(0x2de)]['TEXT']?_0x524529[_0x58d04e(0x2de)]['TEXT']:_0x524529[_0x58d04e(0x2de)][_0x58d04e(0x275)],'segmentId':typeof _0x465bf9==_0x58d04e(0x23b)?String(_0x465bf9):'','segmentPage':Number(_0x597421!=null?_0x597421:-0x1)});}return _0x4bedb9[_0x58d04e(0x1bd)](_0x46741c=>_0x46741c['isActive'])||(_0x4bedb9[0x0][_0x58d04e(0x1cc)]=!0x0),_0x4bedb9;}class _0x5ce534 extends _0x524529[_0x5fe29(0x34c)]{constructor(){const _0x472888=_0x5fe29;super(...arguments),_0x16f0e1(this,_0x472888(0x3ba),new _0x354597[(_0x472888(0x324))](null)),_0x16f0e1(this,'collabCursorState$',this['_collabCursorState$'][_0x472888(0x2a7)]());}[_0x5fe29(0x191)](_0x5293e){const _0x5c5cbf=_0x5fe29,{unitID:_0x471a1a,memberID:_0x773f8b,textRanges:_0x445d65}=_0x5293e,_0x3c64fa=_0x95c817(_0x445d65);if(_0x3c64fa==='')return;const _0x47ff03={'unitID':_0x471a1a,'memberID':_0x773f8b,'selection':_0x3c64fa};this[_0x5c5cbf(0x3ba)]['next'](_0x47ff03);}}var _0x541505=Object['defineProperty'],_0x4ed13b=Object['getOwnPropertyDescriptor'],_0x5c112a=(_0x5af1e7,_0x347b70,_0x310a7f,_0x3bd2ce)=>{for(var _0x34af5b=_0x3bd2ce>0x1?void 0x0:_0x3bd2ce?_0x4ed13b(_0x347b70,_0x310a7f):_0x347b70,_0x2772cf=_0x5af1e7['length']-0x1,_0x582f76;_0x2772cf>=0x0;_0x2772cf--)(_0x582f76=_0x5af1e7[_0x2772cf])&&(_0x34af5b=(_0x3bd2ce?_0x582f76(_0x347b70,_0x310a7f,_0x34af5b):_0x582f76(_0x34af5b))||_0x34af5b);return _0x3bd2ce&&_0x34af5b&&_0x541505(_0x347b70,_0x310a7f,_0x34af5b),_0x34af5b;},_0x364533=(_0x1a58f5,_0x444dba)=>(_0x39f4a3,_0x2cc196)=>_0x444dba(_0x39f4a3,_0x2cc196,_0x1a58f5);const _0x1c449a=0x12c,_0x24825a=0x64;let _0x28e03f=class extends _0x524529[_0x5fe29(0x34c)]{constructor(_0x1f5d00,_0x2ec660,_0x303522,_0x4745f4,_0x2bf0a7,_0x50207d,_0x57e1cd,_0x38a2e2,_0x315099){const _0x139a61=_0x5fe29;super(),_0x16f0e1(this,'_online',!0x1),_0x16f0e1(this,_0x139a61(0x2f6),!0x1),_0x16f0e1(this,_0x139a61(0x344),new _0x354597[(_0x139a61(0x324))](new Map())),_0x16f0e1(this,_0x139a61(0x307),this[_0x139a61(0x344)][_0x139a61(0x2a7)]()),_0x16f0e1(this,_0x139a61(0x368),new _0x354597['BehaviorSubject']([])),_0x16f0e1(this,_0x139a61(0x225),this['_roomMembers$']['pipe'](_0x354597['debounceTime'](_0x1c449a))),_0x16f0e1(this,_0x139a61(0x287),_0x524529['debounce'](_0xdb8a7=>{const _0x563396=_0x139a61,_0x6fe9a={'eventID':_0x1fddb7[_0x563396(0x1a3)][_0x563396(0x27b)],'data':{'unitID':this[_0x563396(0x1fb)],'memberID':this['_session']['getMemberID'](),'selection':_0x95c817(_0xdb8a7)}};this['_session']['send'](_0x6fe9a,this[_0x563396(0x1fb)]);},_0x24825a)),(this[_0x139a61(0x1fb)]=_0x1f5d00,this[_0x139a61(0x18b)]=_0x2ec660,this[_0x139a61(0x3f2)]=_0x303522,this[_0x139a61(0x25c)]=_0x4745f4,this['_memberService']=_0x2bf0a7,this['_syncEditingCollabCursorService']=_0x50207d,this[_0x139a61(0x3c9)]=_0x57e1cd,this[_0x139a61(0x27d)]=_0x38a2e2,this[_0x139a61(0x3af)]=_0x315099);}get[_0x5fe29(0x337)](){const _0x4538e0=_0x5fe29;return this[_0x4538e0(0x344)][_0x4538e0(0x2ec)]();}get['roomMembers'](){const _0x30f727=_0x5fe29;return this[_0x30f727(0x368)][_0x30f727(0x2ec)]();}[_0x5fe29(0x1f6)](){const _0x5a18c9=_0x5fe29;super['dispose'](),this[_0x5a18c9(0x344)]['next'](new Map()),this[_0x5a18c9(0x344)][_0x5a18c9(0x301)](),this[_0x5a18c9(0x368)]['next']([]),this['_roomMembers$'][_0x5a18c9(0x301)]();}['init'](){const _0x1b1e16=_0x5fe29;this[_0x1b1e16(0x2f6)]||(this[_0x1b1e16(0x2f6)]=!0x0,this['_session'][_0x1b1e16(0x336)][_0x1b1e16(0x1f5)](_0x354597[_0x1b1e16(0x35d)](this[_0x1b1e16(0x281)]))[_0x1b1e16(0x2a1)](_0x1237e5=>{const _0x3435ea=_0x1b1e16;_0x1237e5===_0xfc7012[_0x3435ea(0x1c4)]['ONLINE']?this[_0x3435ea(0x24c)]():this[_0x3435ea(0x1a2)]();}),this[_0x1b1e16(0x18b)]['event$']['pipe'](_0x354597[_0x1b1e16(0x35d)](this[_0x1b1e16(0x281)]))[_0x1b1e16(0x2a1)](_0x5d61ae=>{const _0x2467d7=_0x1b1e16,_0x1582e6=_0x5d61ae[_0x2467d7(0x3a5)];_0x1582e6===_0x1fddb7['CollaborationEvent'][_0x2467d7(0x27b)]&&this['_onCursorUpdate'](_0x5d61ae),_0x1582e6===_0x1fddb7['CollaborationEvent'][_0x2467d7(0x1e7)]&&this[_0x2467d7(0x299)](_0x5d61ae);}),this[_0x1b1e16(0x31f)](this[_0x1b1e16(0x3af)]['onCommandExecuted'](_0x15f98a=>{const _0x45fd1b=_0x1b1e16,_0x5f34d1=_0x15f98a[_0x45fd1b(0x401)];_0x5f34d1!=null&&this['_online']&&_0x15f98a['id']===_0x2745da[_0x45fd1b(0x2d4)]['id']&&_0x5f34d1[_0x45fd1b(0x40a)]===this[_0x45fd1b(0x1fb)]&&_0x5f34d1[_0x45fd1b(0x32b)]===!0x1&&_0x5f34d1[_0x45fd1b(0x2b8)][_0x45fd1b(0x19f)]>0x0&&this[_0x45fd1b(0x287)](_0x5f34d1['ranges']);})),this[_0x1b1e16(0x2e9)]['collabCursorState$'][_0x1b1e16(0x1f5)](_0x354597['takeUntil'](this['dispose$']))['subscribe'](_0x520ea5=>{const _0x5a320f=_0x1b1e16;if((_0x520ea5==null?void 0x0:_0x520ea5[_0x5a320f(0x1fb)])!==this[_0x5a320f(0x1fb)])return;const _0x130b31={'eventID':_0x1fddb7[_0x5a320f(0x1a3)][_0x5a320f(0x27b)],'data':_0x520ea5};this[_0x5a320f(0x372)](_0x130b31);}),this['disposeWithMe'](this['_commandService']['onCommandExecuted'](_0x2cc37f=>{const _0x443d21=_0x1b1e16;if(_0x2cc37f[_0x443d21(0x401)]==null)return;const _0x344779=_0x2cc37f['params'];if(_0x2cc37f['id']!==_0x2745da[_0x443d21(0x2fa)]['id']||_0x344779[_0x443d21(0x40a)]!==this[_0x443d21(0x1fb)])return;const _0x2cf2d0={'id':'doc.mutation.rich-text-editing','params':_0x344779},_0x582976=this['cursorInfo'];for(const [_0xb327be,_0x2a1190]of _0x582976){const _0x5d4be8={'id':_0x443d21(0x2c5),'params':{'unitId':this[_0x443d21(0x1fb)],'actions':null,'textRanges':_0x2a1190['ranges']}},_0x9da90c=this[_0x443d21(0x3c9)][_0x443d21(0x315)](_0x2cf2d0,_0x5d4be8,!0x1);if(_0x1fddb7[_0x443d21(0x31b)](_0x9da90c))throw _0x9da90c[_0x443d21(0x1be)];_0x582976[_0x443d21(0x2dc)](_0xb327be,{..._0x2a1190,'ranges':_0x9da90c[_0x443d21(0x335)][_0x443d21(0x401)][_0x443d21(0x1c0)]});}queueMicrotask(()=>{this['_cursorInfo$']['next'](_0x582976);});})));}['_onCursorUpdate'](_0x237a17){const _0x13d441=_0x5fe29;var _0x30b333,_0x297497;const {memberID:_0xf7dfdb,selection:_0x32dbc2}=_0x237a17['data'],_0xc443f4=_0x566b41(_0x32dbc2),_0x46995d=(_0x297497=(_0x30b333=this[_0x13d441(0x1ed)][_0x13d441(0x2e4)](this[_0x13d441(0x1fb)],_0xf7dfdb))==null?void 0x0:_0x30b333[_0x13d441(0x313)])!=null?_0x297497:_0x13d441(0x30b),_0x5c11d6={'color':this[_0x13d441(0x25c)][_0x13d441(0x32c)](_0xf7dfdb),'name':_0x46995d,'ranges':_0xc443f4},_0x2dd101=this[_0x13d441(0x337)];_0x2dd101[_0x13d441(0x2dc)](_0xf7dfdb,_0x5c11d6),this['_cursorInfo$'][_0x13d441(0x3ea)](_0x2dd101);}[_0x5fe29(0x299)](_0x469b18){const _0x2afb2f=_0x5fe29,{memberID:_0xd4f8a1}=_0x469b18[_0x2afb2f(0x210)],_0x15655b=this[_0x2afb2f(0x337)];_0x15655b[_0x2afb2f(0x20c)](_0xd4f8a1),this[_0x2afb2f(0x344)][_0x2afb2f(0x3ea)](_0x15655b);}[_0x5fe29(0x24c)](){const _0x19fb5b=_0x5fe29;var _0x38dbcc;if(this[_0x19fb5b(0x227)]=!0x0,((_0x38dbcc=this[_0x19fb5b(0x27d)][_0x19fb5b(0x229)]())==null?void 0x0:_0x38dbcc[_0x19fb5b(0x3e8)]())!==this[_0x19fb5b(0x1fb)])return;const _0x5efb21=this[_0x19fb5b(0x3f2)][_0x19fb5b(0x21d)](_0x2745da['DocSelectionManagerService'])[_0x19fb5b(0x311)]();Array[_0x19fb5b(0x322)](_0x5efb21)&&_0x5efb21[_0x19fb5b(0x19f)]>0x0&&this[_0x19fb5b(0x287)](_0x5efb21);}[_0x5fe29(0x1a2)](){this['_online']=!0x1;}};_0x28e03f=_0x5c112a([_0x364533(0x2,_0x524529[_0x5fe29(0x3ab)](_0x524529['Injector'])),_0x364533(0x3,_0x524529[_0x5fe29(0x3ab)](_0x24fe6e)),_0x364533(0x4,_0x524529[_0x5fe29(0x3ab)](_0xfc7012[_0x5fe29(0x1f8)])),_0x364533(0x5,_0x524529['Inject'](_0x5ce534)),_0x364533(0x6,_0x1fddb7[_0x5fe29(0x2b0)]),_0x364533(0x7,_0x524529['IUniverInstanceService']),_0x364533(0x8,_0x524529[_0x5fe29(0x317)])],_0x28e03f);var _0x462df2=Object[_0x5fe29(0x409)],_0x4b8650=Object['getOwnPropertyDescriptor'],_0x29046d=(_0x2952ee,_0x5bdfd6,_0x3e34ff,_0x24722d)=>{for(var _0x4602f1=_0x24722d>0x1?void 0x0:_0x24722d?_0x4b8650(_0x5bdfd6,_0x3e34ff):_0x5bdfd6,_0x5f2ede=_0x2952ee['length']-0x1,_0x3fbfd8;_0x5f2ede>=0x0;_0x5f2ede--)(_0x3fbfd8=_0x2952ee[_0x5f2ede])&&(_0x4602f1=(_0x24722d?_0x3fbfd8(_0x5bdfd6,_0x3e34ff,_0x4602f1):_0x3fbfd8(_0x4602f1))||_0x4602f1);return _0x24722d&&_0x4602f1&&_0x462df2(_0x5bdfd6,_0x3e34ff,_0x4602f1),_0x4602f1;},_0x5e2847=(_0x3fa2bf,_0x334814)=>(_0x5675c1,_0x306e4b)=>_0x334814(_0x5675c1,_0x306e4b,_0x3fa2bf);const _0x73cbc2=0x12c,_0x3516b3=0x64,_0x285b53=()=>{let _0x26e291=[],_0x1c3882=!0x1;return _0xfe85c1=>{const _0x408078=_0x5c4b;_0x26e291[_0x408078(0x3f6)](_0xfe85c1),_0x1c3882||(_0x1c3882=!0x0,setTimeout(()=>{const _0x417179=_0x408078;_0x26e291[_0x417179(0x1d5)](_0x5a5a7f=>_0x5a5a7f()),_0x26e291=[],_0x1c3882=!0x1;}));};};let _0xcec945=class extends _0x524529[_0x5fe29(0x34c)]{constructor(_0x1a1a26,_0x480d17,_0x3fdff5,_0x158415,_0x3693a0,_0x2fcbce,_0x59b5e0,_0x569c60){const _0x1d06ff=_0x5fe29;super(),_0x16f0e1(this,_0x1d06ff(0x227),!0x1),_0x16f0e1(this,_0x1d06ff(0x2f6),!0x1),_0x16f0e1(this,_0x1d06ff(0x344),new _0x354597[(_0x1d06ff(0x324))](new Map())),_0x16f0e1(this,'cursorInfo$',this[_0x1d06ff(0x344)]['asObservable']()),_0x16f0e1(this,_0x1d06ff(0x368),new _0x354597['BehaviorSubject']([])),_0x16f0e1(this,'roomMembers$',this['_roomMembers$'][_0x1d06ff(0x1f5)](_0x354597[_0x1d06ff(0x3aa)](_0x73cbc2))),_0x16f0e1(this,_0x1d06ff(0x287),_0x524529[_0x1d06ff(0x1f1)]((_0x141f4e,_0x31b5f8)=>{const _0x57233a=_0x1d06ff,_0x4f2af6={'eventID':_0x1fddb7[_0x57233a(0x1a3)][_0x57233a(0x27b)],'data':{'unitID':this['unitID'],'memberID':this['_session'][_0x57233a(0x267)](),'selection':_0xc34667[_0x57233a(0x376)](_0x141f4e,_0x31b5f8[_0x57233a(0x1d9)])}};this['_session'][_0x57233a(0x320)](_0x4f2af6,this[_0x57233a(0x1fb)]);},_0x3516b3)),(this[_0x1d06ff(0x1fb)]=_0x1a1a26,this[_0x1d06ff(0x18b)]=_0x480d17,this[_0x1d06ff(0x3f2)]=_0x3fdff5,this[_0x1d06ff(0x25c)]=_0x158415,this[_0x1d06ff(0x1ed)]=_0x3693a0,this['_univerInstanceService']=_0x2fcbce,this[_0x1d06ff(0x3af)]=_0x59b5e0,this[_0x1d06ff(0x34f)]=_0x569c60);}get[_0x5fe29(0x337)](){return this['_cursorInfo$']['getValue']();}get['roomMembers'](){const _0x5cf33d=_0x5fe29;return this['_roomMembers$'][_0x5cf33d(0x2ec)]();}[_0x5fe29(0x1f6)](){const _0x3f3eb5=_0x5fe29;super[_0x3f3eb5(0x1f6)](),this[_0x3f3eb5(0x344)][_0x3f3eb5(0x3ea)](new Map()),this[_0x3f3eb5(0x344)][_0x3f3eb5(0x301)](),this['_roomMembers$'][_0x3f3eb5(0x3ea)]([]),this[_0x3f3eb5(0x368)][_0x3f3eb5(0x301)]();}[_0x5fe29(0x348)](){const _0x12e020=_0x5fe29;this[_0x12e020(0x2f6)]||(this[_0x12e020(0x2f6)]=!0x0,this[_0x12e020(0x18b)][_0x12e020(0x336)][_0x12e020(0x1f5)](_0x354597[_0x12e020(0x35d)](this[_0x12e020(0x281)]))[_0x12e020(0x2a1)](_0x489873=>{const _0x4ec78f=_0x12e020;_0x489873===_0xfc7012[_0x4ec78f(0x1c4)][_0x4ec78f(0x39c)]?this['_toggleOnline']():this[_0x4ec78f(0x1a2)]();}),this[_0x12e020(0x18b)][_0x12e020(0x406)][_0x12e020(0x1f5)](_0x354597[_0x12e020(0x35d)](this[_0x12e020(0x281)]))[_0x12e020(0x2a1)](_0x90924=>{const _0x19c0f8=_0x12e020,_0x276db2=_0x90924[_0x19c0f8(0x3a5)];_0x276db2===_0x1fddb7[_0x19c0f8(0x1a3)][_0x19c0f8(0x27b)]&&this['_onCursorUpdate'](_0x90924),_0x276db2===_0x1fddb7[_0x19c0f8(0x1a3)][_0x19c0f8(0x1e7)]&&this[_0x19c0f8(0x299)](_0x90924);}),this['_onRefRangeChange'](),this[_0x12e020(0x31f)](this[_0x12e020(0x3af)][_0x12e020(0x34b)](_0x18443e=>{const _0x1fb836=_0x12e020;if(this['_online']&&_0x18443e['id']===_0x2d3cc7['SetSelectionsOperation']['id']&&_0x18443e[_0x1fb836(0x401)][_0x1fb836(0x40a)]===this[_0x1fb836(0x1fb)]){const _0x3f6667=_0x18443e[_0x1fb836(0x401)];this[_0x1fb836(0x287)](_0x3f6667[_0x1fb836(0x26d)],_0x3f6667['selections'][0x0]);}})));}[_0x5fe29(0x372)](_0x2e6942){const _0x356f8a=_0x5fe29;var _0x565154,_0x24cb82;const {memberID:_0x408487,selection:_0x365744}=_0x2e6942[_0x356f8a(0x210)],{sheetName:_0x5f3281,range:_0x36771b}=_0xc34667[_0x356f8a(0x385)](_0x365744),_0x46c21f={'name':(_0x24cb82=(_0x565154=this[_0x356f8a(0x1ed)][_0x356f8a(0x2e4)](this[_0x356f8a(0x1fb)],_0x408487))==null?void 0x0:_0x565154[_0x356f8a(0x313)])!=null?_0x24cb82:'Unknown\x20user','range':this[_0x356f8a(0x1e3)](_0x5f3281,_0x36771b),'sheetID':_0x5f3281,'color':this[_0x356f8a(0x25c)][_0x356f8a(0x32c)](_0x408487),'selection':_0x365744},_0x593b69=this[_0x356f8a(0x337)];_0x593b69['set'](_0x408487,_0x46c21f),this[_0x356f8a(0x344)][_0x356f8a(0x3ea)](_0x593b69);}['_onCursorDelete'](_0x3793f5){const _0x68cbf7=_0x5fe29,{memberID:_0x21b7ee}=_0x3793f5[_0x68cbf7(0x210)],_0x11085b=this['cursorInfo'];_0x11085b[_0x68cbf7(0x20c)](_0x21b7ee),this[_0x68cbf7(0x344)][_0x68cbf7(0x3ea)](_0x11085b);}['_getMergeRange'](_0x2091cf,_0x2fe9c5){const _0x1ea14b=_0x5fe29;var _0x17d31b,_0x15445c;const _0x5a67be=(_0x15445c=(_0x17d31b=this[_0x1ea14b(0x27d)]['getUniverSheetInstance'](this[_0x1ea14b(0x1fb)]))==null?void 0x0:_0x17d31b[_0x1ea14b(0x356)](_0x2091cf))==null?void 0x0:_0x15445c[_0x1ea14b(0x34e)]();return(_0x5a67be==null?void 0x0:_0x5a67be[_0x1ea14b(0x36e)](_0x1b75d5=>_0x524529[_0x1ea14b(0x354)][_0x1ea14b(0x3a0)](_0x1b75d5,_0x2fe9c5)))||_0x2fe9c5;}['_onRefRangeChange'](){const _0x3904d4=_0x5fe29,_0x328dec=new _0x524529['DisposableCollection'](),_0x5cf71e=_0x285b53(),_0x3fe64b=()=>{const _0x3ee2d0=_0x5c4b;_0x328dec[_0x3ee2d0(0x1f6)]();const _0x403b55=(_0x16d0db,_0x1d6623,_0x1c6d96,_0x5b1c00)=>{const _0x782e9=_0x3ee2d0;let _0x47365f=[];switch(_0x16d0db['id']){case _0x2d3cc7[_0x782e9(0x2c2)]['DeleteRangeMoveLeftCommandId']:{_0x47365f=_0x2d3cc7[_0x782e9(0x2f9)](_0x16d0db,_0x5b1c00);break;}case _0x2d3cc7[_0x782e9(0x2c2)][_0x782e9(0x2b9)]:{_0x47365f=_0x2d3cc7[_0x782e9(0x369)](_0x16d0db,_0x5b1c00);break;}case _0x2d3cc7[_0x782e9(0x2c2)][_0x782e9(0x38c)]:{_0x47365f=_0x2d3cc7[_0x782e9(0x250)](_0x16d0db,_0x5b1c00);break;}case _0x2d3cc7['EffectRefRangId'][_0x782e9(0x276)]:{_0x47365f=_0x2d3cc7['handleInsertRangeMoveDown'](_0x16d0db,_0x5b1c00);break;}case _0x2d3cc7[_0x782e9(0x2c2)]['InsertRangeMoveRightCommandId']:{_0x47365f=_0x2d3cc7['handleInsertRangeMoveRight'](_0x16d0db,_0x5b1c00);break;}case _0x2d3cc7[_0x782e9(0x2c2)][_0x782e9(0x2d7)]:{_0x47365f=_0x2d3cc7[_0x782e9(0x2bb)](_0x16d0db,_0x5b1c00);break;}case _0x2d3cc7[_0x782e9(0x2c2)][_0x782e9(0x364)]:{_0x47365f=_0x2d3cc7[_0x782e9(0x40b)](_0x16d0db,_0x5b1c00);break;}case _0x2d3cc7[_0x782e9(0x2c2)][_0x782e9(0x18e)]:{_0x47365f=_0x2d3cc7['handleIRemoveCol'](_0x16d0db,_0x5b1c00);break;}case _0x2d3cc7[_0x782e9(0x2c2)][_0x782e9(0x36b)]:{_0x47365f=_0x2d3cc7[_0x782e9(0x3fb)](_0x16d0db,_0x5b1c00);break;}}const _0x3f19fd=_0x2d3cc7[_0x782e9(0x325)](_0x47365f,_0x5b1c00),_0x5ef1e3=this['cursorInfo'][_0x782e9(0x21d)](_0x1d6623);if(_0x5ef1e3&&_0x3f19fd){const _0x199f4e={..._0x5ef1e3,'range':_0x3f19fd};this[_0x782e9(0x337)][_0x782e9(0x2dc)](_0x1d6623,_0x199f4e),_0x5cf71e(()=>{const _0x2e209d=_0x782e9,_0x44eb9f=this[_0x2e209d(0x34f)][_0x2e209d(0x24a)](_0x3f19fd,_0x169f98=>(_0x44eb9f['dispose'](),_0x403b55(_0x169f98,_0x1d6623,_0x1c6d96,_0x3f19fd)));_0x328dec[_0x2e209d(0x3fd)](_0x44eb9f);});}return{'redos':[],'undos':[]};};this[_0x3ee2d0(0x337)][_0x3ee2d0(0x1d5)]((_0x11d55c,_0x13eaab)=>{const _0x1d3d5a=_0x3ee2d0,{range:_0x54e65b,sheetID:_0x425607}=_0x11d55c,_0x35a6e9=this[_0x1d3d5a(0x34f)][_0x1d3d5a(0x24a)](_0x54e65b,_0x19ad7a=>(_0x35a6e9['dispose'](),_0x403b55(_0x19ad7a,_0x13eaab,_0x425607,_0x54e65b)));_0x328dec[_0x1d3d5a(0x3fd)](_0x35a6e9);});};this[_0x3904d4(0x31f)](_0x524529[_0x3904d4(0x214)](this[_0x3904d4(0x344)]['subscribe'](()=>{_0x3fe64b();})));}['_toggleOnline'](){const _0x3b2d4d=_0x5fe29;var _0x241c75,_0x51b5dc;if(this[_0x3b2d4d(0x227)]=!0x0,((_0x241c75=this['_univerInstanceService'][_0x3b2d4d(0x229)]())==null?void 0x0:_0x241c75['getUnitId']())!==this['unitID'])return;const _0x50464b=(_0x51b5dc=this[_0x3b2d4d(0x3f2)][_0x3b2d4d(0x21d)](_0x2d3cc7[_0x3b2d4d(0x3a3)])[_0x3b2d4d(0x3dd)]())==null?void 0x0:_0x51b5dc[0x0],_0x4d5bfc=this[_0x3b2d4d(0x27d)][_0x3b2d4d(0x264)](_0x524529[_0x3b2d4d(0x306)][_0x3b2d4d(0x3dc)])['getActiveSheet']();_0x50464b&&_0x4d5bfc&&this[_0x3b2d4d(0x287)](_0x4d5bfc['getSheetId'](),_0x50464b);}[_0x5fe29(0x1a2)](){const _0x13e80f=_0x5fe29;this[_0x13e80f(0x227)]=!0x1;}};_0xcec945=_0x29046d([_0x5e2847(0x2,_0x524529[_0x5fe29(0x3ab)](_0x524529[_0x5fe29(0x391)])),_0x5e2847(0x3,_0x524529[_0x5fe29(0x3ab)](_0x24fe6e)),_0x5e2847(0x4,_0x524529[_0x5fe29(0x3ab)](_0xfc7012[_0x5fe29(0x1f8)])),_0x5e2847(0x5,_0x524529['IUniverInstanceService']),_0x5e2847(0x6,_0x524529[_0x5fe29(0x317)]),_0x5e2847(0x7,_0x524529[_0x5fe29(0x3ab)](_0x2d3cc7[_0x5fe29(0x23c)]))],_0xcec945);var _0x50196f=Object[_0x5fe29(0x409)],_0x24015a=Object['getOwnPropertyDescriptor'],_0x47dcd5=(_0x38fadb,_0x4d6768,_0x54c5a1,_0x4d41c5)=>{const _0x2aff8b=_0x5fe29;for(var _0xeeea=_0x4d41c5>0x1?void 0x0:_0x4d41c5?_0x24015a(_0x4d6768,_0x54c5a1):_0x4d6768,_0x2b032e=_0x38fadb[_0x2aff8b(0x19f)]-0x1,_0x385027;_0x2b032e>=0x0;_0x2b032e--)(_0x385027=_0x38fadb[_0x2b032e])&&(_0xeeea=(_0x4d41c5?_0x385027(_0x4d6768,_0x54c5a1,_0xeeea):_0x385027(_0xeeea))||_0xeeea);return _0x4d41c5&&_0xeeea&&_0x50196f(_0x4d6768,_0x54c5a1,_0xeeea),_0xeeea;},_0x5745c4=(_0x2e43db,_0x1b5c27)=>(_0xa65d1c,_0x3f6175)=>_0x1b5c27(_0xa65d1c,_0x3f6175,_0x2e43db);let _0x38d12a=class extends _0x524529[_0x5fe29(0x34c)]{constructor(_0x271665,_0x4bbcd2,_0x5f4927){const _0x541a81=_0x5fe29;super(),_0x16f0e1(this,_0x541a81(0x1ac),new Map()),_0x16f0e1(this,'_entityInit$',new _0x354597['Subject']()),(this[_0x541a81(0x27d)]=_0x271665,this[_0x541a81(0x3f2)]=_0x4bbcd2,this[_0x541a81(0x24e)]=_0x5f4927,this[_0x541a81(0x2f6)]());}[_0x5fe29(0x1f6)](){const _0x56a499=_0x5fe29;super[_0x56a499(0x1f6)](),this[_0x56a499(0x271)][_0x56a499(0x301)](),this['_entities']['forEach'](_0x401a30=>_0x401a30[_0x56a499(0x1f6)]());}['getCollabCursors$'](_0x53d0aa){const _0xd3804f=_0x5fe29;return this[_0xd3804f(0x1ac)]['has'](_0x53d0aa)?this[_0xd3804f(0x1ac)][_0xd3804f(0x21d)](_0x53d0aa)['cursorInfo$']:this['_entityInit$'][_0xd3804f(0x1f5)](_0x354597[_0xd3804f(0x2c6)](_0x322842=>_0x322842[_0xd3804f(0x1fb)]===_0x53d0aa),_0x354597[_0xd3804f(0x291)](_0xb35f24=>_0xb35f24[_0xd3804f(0x307)]));}['_init'](){const _0x1787e3=_0x5fe29;this[_0x1787e3(0x27d)]['getTypeOfUnitAdded$'](_0x524529[_0x1787e3(0x306)][_0x1787e3(0x3dc)])[_0x1787e3(0x1f5)](_0x354597[_0x1787e3(0x35d)](this[_0x1787e3(0x281)]))['subscribe'](async _0x1fb12d=>{const _0x3eda0c=_0x1787e3,_0x3b59cb=_0x1fb12d['getUnitId'](),_0x5960e3=await this[_0x3eda0c(0x2c7)](_0x3b59cb);this[_0x3eda0c(0x271)][_0x3eda0c(0x3ea)](_0x5960e3),this['_entities'][_0x3eda0c(0x2dc)](_0x3b59cb,_0x5960e3);}),this[_0x1787e3(0x27d)][_0x1787e3(0x221)](_0x524529[_0x1787e3(0x306)][_0x1787e3(0x3ec)])[_0x1787e3(0x1f5)](_0x354597[_0x1787e3(0x35d)](this[_0x1787e3(0x281)]))[_0x1787e3(0x1f5)](_0x354597[_0x1787e3(0x2c6)](_0x11b903=>!_0x11b903[_0x1787e3(0x3e8)]()['startsWith']('__')))[_0x1787e3(0x2a1)](async _0x4fc2b9=>{const _0x5f17df=_0x1787e3,_0x33094d=_0x4fc2b9[_0x5f17df(0x3e8)](),_0x58837e=await this[_0x5f17df(0x3a6)](_0x33094d);this[_0x5f17df(0x271)]['next'](_0x58837e),this[_0x5f17df(0x1ac)][_0x5f17df(0x2dc)](_0x33094d,_0x58837e);}),_0x354597['merge'](this[_0x1787e3(0x27d)][_0x1787e3(0x2fd)](_0x524529['UniverInstanceType'][_0x1787e3(0x3ec)]),this['_univerInstanceService'][_0x1787e3(0x2fd)](_0x524529['UniverInstanceType'][_0x1787e3(0x3dc)]))[_0x1787e3(0x1f5)](_0x354597[_0x1787e3(0x35d)](this[_0x1787e3(0x281)]))['subscribe'](_0x1e86ef=>{const _0x6983db=_0x1787e3,_0x39a1a0=_0x1e86ef[_0x6983db(0x3e8)](),_0x53ff94=this['_entities'][_0x6983db(0x21d)](_0x39a1a0);_0x53ff94&&(_0x53ff94['dispose'](),this[_0x6983db(0x1ac)]['delete'](_0x39a1a0));});}async[_0x5fe29(0x2c7)](_0x14c0ce){const _0x36c8f7=_0x5fe29,_0x3434f9=await this[_0x36c8f7(0x24e)][_0x36c8f7(0x298)](_0x14c0ce),_0x2432f9=this['_injector'][_0x36c8f7(0x232)](_0xcec945,_0x14c0ce,_0x3434f9);return _0x2432f9[_0x36c8f7(0x348)](),_0x2432f9;}async['_startDocCollabCursor'](_0x4c3ea8){const _0x131b05=_0x5fe29,_0x149ef3=await this[_0x131b05(0x24e)][_0x131b05(0x298)](_0x4c3ea8),_0x5cbe1e=this[_0x131b05(0x3f2)][_0x131b05(0x232)](_0x28e03f,_0x4c3ea8,_0x149ef3);return _0x5cbe1e['init'](),_0x5cbe1e;}};_0x38d12a=_0x47dcd5([_0x5745c4(0x0,_0x524529['IUniverInstanceService']),_0x5745c4(0x1,_0x524529[_0x5fe29(0x3ab)](_0x524529[_0x5fe29(0x391)])),_0x5745c4(0x2,_0x524529[_0x5fe29(0x3ab)](_0xfc7012[_0x5fe29(0x2f0)]))],_0x38d12a);const _0x49f367=0x14,_0x4d7de2=0xc8,_0xa66b96=0x4,_0x341d21=0x5;function _0x457f71(_0xdb50a9,_0x1fd6f6){const _0x13d06e=_0x5fe29;let {radius:_0x37cbaf,width:_0x3ca575,height:_0x39fef9}=_0x1fd6f6;_0x37cbaf=_0x37cbaf!=null?_0x37cbaf:0x0,_0x3ca575=_0x3ca575!=null?_0x3ca575:0x1e,_0x39fef9=_0x39fef9!=null?_0x39fef9:0x1e;let _0x3352a1=0x0,_0x11abfa=0x0,_0x71a8c1=0x0;_0x3352a1=_0x11abfa=_0x71a8c1=Math[_0x13d06e(0x1eb)](_0x37cbaf,_0x3ca575/0x2,_0x39fef9/0x2),_0xdb50a9[_0x13d06e(0x393)](),_0xdb50a9[_0x13d06e(0x3c1)](_0x3352a1,0x0),_0xdb50a9[_0x13d06e(0x1c5)](_0x3ca575-_0x11abfa,0x0),_0xdb50a9[_0x13d06e(0x23a)](_0x3ca575-_0x11abfa,_0x11abfa,_0x11abfa,Math['PI']*0x3/0x2,0x0,!0x1),_0xdb50a9[_0x13d06e(0x1c5)](_0x3ca575,_0x39fef9-_0x71a8c1),_0xdb50a9[_0x13d06e(0x23a)](_0x3ca575-_0x71a8c1,_0x39fef9-_0x71a8c1,_0x71a8c1,0x0,Math['PI']/0x2,!0x1),_0xdb50a9[_0x13d06e(0x1c5)](0x0,_0x39fef9),_0xdb50a9[_0x13d06e(0x1c5)](0x0,_0x3352a1),_0xdb50a9[_0x13d06e(0x23a)](_0x3352a1,_0x3352a1,_0x3352a1,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0xdb50a9['closePath'](),_0x1fd6f6['fill']&&(_0xdb50a9[_0x13d06e(0x1a8)](),_0xdb50a9['fillStyle']=_0x1fd6f6['fill'],_0x1fd6f6[_0x13d06e(0x1f0)]==='evenodd'?_0xdb50a9[_0x13d06e(0x3b3)](_0x13d06e(0x39f)):_0xdb50a9['fill'](),_0xdb50a9[_0x13d06e(0x292)]());}class _0x3d7130 extends _0x6d82fc[_0x5fe29(0x2a5)]{constructor(_0x4d9659,_0x1fc045){const _0x2ec236=_0x5fe29;super(_0x4d9659,_0x1fc045),_0x16f0e1(this,_0x2ec236(0x329)),_0x16f0e1(this,_0x2ec236(0x224)),(this[_0x2ec236(0x329)]=_0x1fc045==null?void 0x0:_0x1fc045[_0x2ec236(0x329)],this[_0x2ec236(0x224)]=_0x1fc045==null?void 0x0:_0x1fc045[_0x2ec236(0x224)]);}static[_0x5fe29(0x188)](_0x4c0c12,_0x346195){const _0x4e56b2=_0x5fe29,{text:_0x2d99dd,color:_0x4df409}=_0x346195;_0x4c0c12[_0x4e56b2(0x1a8)](),_0x4c0c12['font']=_0x4e56b2(0x1b9);const _0x3b8137=_0x4c0c12[_0x4e56b2(0x216)](_0x2d99dd)[_0x4e56b2(0x328)],_0x3eff79=Math['min'](_0x3b8137+0x2*_0xa66b96,_0x4d7de2);_0x457f71(_0x4c0c12,{'height':_0x49f367,'radius':0x4,'width':_0x3eff79,'fill':_0x4df409,'evented':!0x1}),_0x4c0c12['fillStyle']=_0x4e56b2(0x1e8);const _0x500809=_0xa66b96,_0xbe31f7=_0x49f367-_0x341d21,_0x3813cd=_0x4d7de2-0x2*_0xa66b96;if(_0x3b8137>_0x3813cd){let _0x42a079='',_0x3a5589=0x0;for(const _0x1a3b12 of _0x2d99dd){const _0x41e80d=_0x4c0c12[_0x4e56b2(0x216)](_0x1a3b12)[_0x4e56b2(0x328)];if(_0x3a5589+_0x41e80d<=_0x3813cd-_0x4c0c12[_0x4e56b2(0x216)](_0x4e56b2(0x3b9))[_0x4e56b2(0x328)])_0x42a079+=_0x1a3b12,_0x3a5589+=_0x41e80d;else{_0x42a079+=_0x4e56b2(0x3b9);break;}}_0x4c0c12[_0x4e56b2(0x1c3)](_0x42a079,_0x500809,_0xbe31f7);}else _0x4c0c12['fillText'](_0x2d99dd,_0x500809,_0xbe31f7);_0x4c0c12[_0x4e56b2(0x292)]();}[_0x5fe29(0x387)](_0x5a17ed){const _0x5ea380=_0x5fe29;_0x3d7130[_0x5ea380(0x188)](_0x5a17ed,this);}}const _0x1a81b9=_0x5fe29(0x379),_0x57c2d9=_0x5fe29(0x1ef),_0x24ed46=_0x5fe29(0x208),_0x2403d7=0x6,_0x352cde=1.5,_0x40d69b=0x4,_0x8774f7=1.5,_0x2e25a2=_0x5fe29(0x20a);class _0x25f4b5{constructor(_0x329bc0,_0x104b8b,_0x2de10d,_0x326b90){const _0x4234d1=_0x5fe29;_0x16f0e1(this,'_shapes',[]),_0x16f0e1(this,_0x4234d1(0x334),null),_0x16f0e1(this,'_textBubble',null),_0x16f0e1(this,'_anchorDot',null),_0x16f0e1(this,_0x4234d1(0x408),null),_0x16f0e1(this,_0x4234d1(0x37a),null),(this[_0x4234d1(0x1fe)]=_0x329bc0,this[_0x4234d1(0x2a0)]=_0x104b8b,this[_0x4234d1(0x1c7)]=_0x2de10d,this[_0x4234d1(0x2e2)]=_0x326b90,this[_0x4234d1(0x32f)]());}set[_0x5fe29(0x353)](_0xde1c08){const _0x1388f2=_0x5fe29;_0xde1c08?(this[_0x1388f2(0x23e)]&&this[_0x1388f2(0x23e)]['hide'](),this[_0x1388f2(0x33d)]&&this[_0x1388f2(0x33d)][_0x1388f2(0x407)]()):(this[_0x1388f2(0x23e)]&&this['_anchorDot'][_0x1388f2(0x407)](),this[_0x1388f2(0x33d)]&&this[_0x1388f2(0x33d)][_0x1388f2(0x35a)]());}[_0x5fe29(0x1f6)](){const _0x490ed9=_0x5fe29;for(const _0x344bad of this[_0x490ed9(0x20f)])_0x344bad[_0x490ed9(0x1f6)]();this[_0x490ed9(0x33d)]&&this[_0x490ed9(0x33d)][_0x490ed9(0x1f6)](),this[_0x490ed9(0x23e)]&&this[_0x490ed9(0x23e)]['dispose'](),this['_anchor']&&this[_0x490ed9(0x334)][_0x490ed9(0x1f6)](),this[_0x490ed9(0x37a)]&&this[_0x490ed9(0x37a)]();}[_0x5fe29(0x32f)](){const _0x192ecc=_0x5fe29;var _0x265985;const {_docSkeleton:_0x4e70a2,_document:_0x55226c}=this,{color:_0x382984,name:_0x3f31ff,ranges:_0x233687}=this[_0x192ecc(0x1fe)],_0x499325=_0x55226c['getOffsetConfig'](),{docsLeft:_0x13137b,docsTop:_0x21b296}=_0x499325,_0x60669b=new _0x37ba48[(_0x192ecc(0x203))](_0x499325,_0x4e70a2);for(const {startOffset:_0x36dff3,endOffset:_0x1aebc4,rangeType:_0x5a1988,segmentId:_0x5a3c3f,segmentPage:_0x409a2d,collapsed:_0x3deb91,isActive:_0x1ca441}of _0x233687){const _0x3c99ac=_0x4e70a2[_0x192ecc(0x2ea)](_0x36dff3,!0x0,_0x5a3c3f,_0x409a2d);let _0x4911d9=_0x4e70a2[_0x192ecc(0x2ea)](_0x1aebc4,!0x0,_0x5a3c3f,_0x409a2d);if(_0x4911d9==null&&(_0x4911d9=_0x4e70a2[_0x192ecc(0x2ea)](_0x1aebc4-0x1,!0x1,_0x5a3c3f,_0x409a2d)),_0x1ca441){const {contentBoxPointGroup:_0x40cfa9}=_0x60669b[_0x192ecc(0x2e5)](_0x4911d9,_0x4911d9);if(_0x40cfa9[_0x192ecc(0x19f)]===0x0)continue;this['_drawAnchor'](_0x382984,_0x40cfa9,_0x13137b,_0x21b296,_0x3f31ff),this[_0x192ecc(0x37a)]=this[_0x192ecc(0x24b)]();}if(_0x3c99ac&&_0x4911d9){if(_0x5a1988===_0x524529[_0x192ecc(0x2de)]['RECT']){const _0x3d592d=new _0x37ba48[(_0x192ecc(0x382))](_0x499325,_0x4e70a2),{pointGroup:_0x17135d}=(_0x265985=_0x3d592d[_0x192ecc(0x2e5)](_0x3c99ac,_0x4911d9))!=null?_0x265985:{};if(_0x17135d==null||_0x17135d[_0x192ecc(0x19f)]===0x0)continue;this['_drawRectRange'](_0x382984,_0x17135d,_0x13137b,_0x21b296);}else{if(!_0x3deb91){const {borderBoxPointGroup:_0x379c81}=_0x60669b[_0x192ecc(0x2e5)](_0x3c99ac,_0x4911d9);if(_0x379c81[_0x192ecc(0x19f)]===0x0)continue;this[_0x192ecc(0x1f3)](_0x382984,_0x379c81,_0x13137b,_0x21b296);}}}}}[_0x5fe29(0x3c5)](_0x15cc39,_0x341b13,_0x583601,_0x2f2710,_0x53e8ec){const _0x888e7f=_0x5fe29,_0x42e7af=this[_0x888e7f(0x1de)](_0x341b13),{left:_0x4e6aa7,top:_0x352027,height:_0x42dde8}=_0x42e7af,_0x2b306a=this[_0x888e7f(0x395)](),_0x4d89ef=_0x8774f7/_0x2b306a,_0x4b92b6=new _0x6d82fc[(_0x888e7f(0x3d9))](_0x1a81b9+_0x524529[_0x888e7f(0x3ac)][_0x888e7f(0x2ac)](_0x2403d7),{'left':_0x4e6aa7+_0x583601-_0x4d89ef,'top':_0x352027+_0x2f2710,'height':_0x42dde8,'width':_0x352cde,'fill':_0x15cc39||_0x6d82fc[_0x888e7f(0x363)](_0x524529[_0x888e7f(0x37c)][_0x888e7f(0x2ed)],0x0),'strokeWidth':_0x4d89ef,'stroke':_0x2e25a2,'evented':!0x0});this['_anchor']=_0x4b92b6,this[_0x888e7f(0x2a0)][_0x888e7f(0x3ff)](_0x4b92b6,_0x37ba48[_0x888e7f(0x2d9)]);const _0xfc27e3=new _0x6d82fc[(_0x888e7f(0x3d9))](_0x1a81b9+_0x524529[_0x888e7f(0x3ac)][_0x888e7f(0x2ac)](_0x2403d7),{'left':_0x4e6aa7+_0x583601-_0x4d89ef,'top':_0x352027+_0x2f2710-_0x40d69b/0x2,'height':_0x40d69b,'width':_0x40d69b,'fill':_0x15cc39||_0x6d82fc[_0x888e7f(0x363)](_0x524529['COLORS'][_0x888e7f(0x2ed)],0x0),'strokeWidth':0x0,'stroke':_0x15cc39||_0x6d82fc[_0x888e7f(0x363)](_0x524529['COLORS'][_0x888e7f(0x2ed)],0x0),'evented':!0x1});this[_0x888e7f(0x23e)]=_0xfc27e3,this[_0x888e7f(0x2a0)][_0x888e7f(0x3ff)](_0xfc27e3,_0x37ba48[_0x888e7f(0x2d9)]);const _0x44b02b=new _0x3d7130(_0x1a81b9+_0x524529[_0x888e7f(0x3ac)][_0x888e7f(0x2ac)](_0x2403d7),{'left':_0x4e6aa7+_0x583601-_0x4d89ef,'top':_0x352027+_0x2f2710-_0x49f367,'text':_0x53e8ec,'color':_0x15cc39});this[_0x888e7f(0x33d)]=_0x44b02b,this[_0x888e7f(0x2a0)][_0x888e7f(0x3ff)](_0x44b02b,_0x37ba48[_0x888e7f(0x2d9)]),this['_hover']=!0x1;}[_0x5fe29(0x24b)](){const _0x4ed29b=_0x5fe29,_0x29f2df=this[_0x4ed29b(0x334)][_0x4ed29b(0x3f3)][_0x4ed29b(0x1b8)](()=>{const _0x229486=_0x4ed29b;this[_0x229486(0x353)]=!0x0;}),_0xf93cb4=this[_0x4ed29b(0x334)]['onPointerLeave$'][_0x4ed29b(0x1b8)](()=>{const _0x130e6d=_0x4ed29b;this[_0x130e6d(0x408)]&&clearTimeout(this[_0x130e6d(0x408)]),this['_hideTimer']=setTimeout(()=>{this['_hover']=!0x1;},0x7d0);});return()=>{const _0x2ff714=_0x4ed29b;_0x29f2df[_0x2ff714(0x40c)](),_0xf93cb4[_0x2ff714(0x40c)]();};}[_0x5fe29(0x1f3)](_0x4158dc,_0x502095,_0x265ba6,_0x221b37){const _0x3c9fa4=_0x5fe29,_0xbcb0c3=new _0x524529['ColorKit'](_0x4158dc)[_0x3c9fa4(0x367)](0.2)['toRgbString'](),_0x20fb49=new _0x6d82fc[(_0x3c9fa4(0x39a))](_0x57c2d9+_0x524529['Tools'][_0x3c9fa4(0x2ac)](_0x2403d7),{'pointsGroup':_0x502095,'fill':_0xbcb0c3||_0x6d82fc[_0x3c9fa4(0x363)](_0x524529['COLORS'][_0x3c9fa4(0x2ed)],0.2),'left':_0x265ba6,'top':_0x221b37,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x3c9fa4(0x20f)]['push'](_0x20fb49),this[_0x3c9fa4(0x2a0)][_0x3c9fa4(0x3ff)](_0x20fb49,_0x37ba48[_0x3c9fa4(0x2d9)]);}[_0x5fe29(0x23f)](_0x212294,_0x475dcc,_0x289b10,_0xb2b37b){const _0x263b3b=_0x5fe29,_0x1ead10=new _0x524529[(_0x263b3b(0x223))](_0x212294)['setAlpha'](0.2)['toRgbString'](),_0x30dc00=new _0x6d82fc['RegularPolygon'](_0x24ed46+_0x524529[_0x263b3b(0x3ac)][_0x263b3b(0x2ac)](_0x2403d7),{'pointsGroup':_0x475dcc,'fill':_0x1ead10||_0x6d82fc[_0x263b3b(0x363)](_0x524529['COLORS'][_0x263b3b(0x2ed)],0.2),'left':_0x289b10,'top':_0xb2b37b,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x263b3b(0x20f)]['push'](_0x30dc00),this['_scene'][_0x263b3b(0x3ff)](_0x30dc00,_0x37ba48['TEXT_RANGE_LAYER_INDEX']);}[_0x5fe29(0x1de)](_0x2c507c){const _0x1dee64=_0x2c507c[0x0],_0x302475=_0x1dee64[0x0],_0x31fc25=_0x1dee64[0x2],{x:_0x4f7909,y:_0x42aa45}=_0x302475,{x:_0x178517,y:_0x588104}=_0x31fc25;return{'left':_0x4f7909,'top':_0x42aa45,'width':_0x178517-_0x4f7909,'height':_0x588104-_0x42aa45};}[_0x5fe29(0x395)](){const _0x1dde1e=_0x5fe29,{scaleX:_0x1525fd,scaleY:_0x154057}=this[_0x1dde1e(0x2a0)][_0x1dde1e(0x3b1)]();return Math[_0x1dde1e(0x218)](_0x1525fd,_0x154057);}}var _0x85a59e=Object[_0x5fe29(0x409)],_0xb781a=Object[_0x5fe29(0x1d1)],_0x1595e0=(_0x5a59cd,_0x1a306f,_0x407be7,_0xd87a1f)=>{for(var _0x2df5b0=_0xd87a1f>0x1?void 0x0:_0xd87a1f?_0xb781a(_0x1a306f,_0x407be7):_0x1a306f,_0x2347fc=_0x5a59cd['length']-0x1,_0x4855f7;_0x2347fc>=0x0;_0x2347fc--)(_0x4855f7=_0x5a59cd[_0x2347fc])&&(_0x2df5b0=(_0xd87a1f?_0x4855f7(_0x1a306f,_0x407be7,_0x2df5b0):_0x4855f7(_0x2df5b0))||_0x2df5b0);return _0xd87a1f&&_0x2df5b0&&_0x85a59e(_0x1a306f,_0x407be7,_0x2df5b0),_0x2df5b0;},_0x1fac74=(_0x9c8123,_0x3a6298)=>(_0xe39dd5,_0x4b80e4)=>_0x3a6298(_0xe39dd5,_0x4b80e4,_0x9c8123);let _0x5423f8=class extends _0x524529[_0x5fe29(0x34c)]{constructor(_0x37a418,_0x111b34,_0x5c1b7d,_0x3bb0ad,_0x132217){const _0x34955f=_0x5fe29;super(),_0x16f0e1(this,_0x34955f(0x3fc),[]),_0x16f0e1(this,_0x34955f(0x350),[]),(this[_0x34955f(0x361)]=_0x37a418,this['_docSkeletonManagerService']=_0x111b34,this[_0x34955f(0x1c6)]=_0x5c1b7d,this['_commandService']=_0x3bb0ad,this[_0x34955f(0x357)]=_0x132217,this[_0x34955f(0x2f6)]());}[_0x5fe29(0x2f6)](){const _0x5ce61d=_0x5fe29,_0x46827b=this[_0x5ce61d(0x361)][_0x5ce61d(0x40a)],_0x365c17=this[_0x5ce61d(0x318)];this[_0x5ce61d(0x31f)](_0x354597['combineLatest']([this[_0x5ce61d(0x1c6)][_0x5ce61d(0x1cd)](_0x46827b),this[_0x5ce61d(0x357)][_0x5ce61d(0x263)]])[_0x5ce61d(0x1f5)](_0x346dc5[_0x5ce61d(0x297)](([_0x385d38,_0x27e42f])=>({'skeleton':_0x365c17[_0x5ce61d(0x3b2)](),'cursors':[..._0x385d38['values']()][_0x5ce61d(0x1df)](_0x4284d9=>({..._0x4284d9,'color':_0x27e42f[_0x4284d9[_0x5ce61d(0x329)]]}))})))['subscribe'](_0x4ec736=>{const _0x3b3139=_0x5ce61d;if(this['_removeCollabCursors'](),_0x4ec736){const {skeleton:_0x2dd5ea,cursors:_0x24e7b0}=_0x4ec736;this[_0x3b3139(0x1e4)](_0x2dd5ea,_0x24e7b0);}})),this['_initResize'](),this[_0x5ce61d(0x1b1)]();}[_0x5fe29(0x1e4)](_0x2b4b10,_0x1e2964){const _0x23de0f=_0x5fe29,{scene:_0x85af2e,mainComponent:_0x1b17b4}=this[_0x23de0f(0x361)],_0x38de6c=_0x1e2964[_0x23de0f(0x297)](_0x225d30=>new _0x25f4b5(_0x225d30,_0x85af2e,_0x2b4b10,_0x1b17b4));this['_cursorShapes']=_0x38de6c,this[_0x23de0f(0x350)]=_0x1e2964;}[_0x5fe29(0x403)](){const _0x2bf92d=_0x5fe29;this[_0x2bf92d(0x2e8)]();const {scene:_0x1d6037,mainComponent:_0x4da5be}=this['_context'],_0x55e003=this[_0x2bf92d(0x318)][_0x2bf92d(0x3b2)](),_0x350d9a=this[_0x2bf92d(0x350)][_0x2bf92d(0x297)](_0x1451bc=>new _0x25f4b5(_0x1451bc,_0x1d6037,_0x55e003,_0x4da5be));this['_cursorShapes']=_0x350d9a;}[_0x5fe29(0x2e8)](){const _0x322017=_0x5fe29;this[_0x322017(0x3fc)][_0x322017(0x1d5)](_0x35f9de=>_0x35f9de[_0x322017(0x1f6)]()),this['_cursorShapes']=[];}[_0x5fe29(0x1b1)](){const _0xafc5c7=_0x5fe29,_0x56663d=[_0x37ba48[_0xafc5c7(0x3fe)]['id']];this[_0xafc5c7(0x31f)](this['_commandService'][_0xafc5c7(0x34b)](_0x4c668d=>{const _0xc69b5e=_0xafc5c7;_0x56663d[_0xc69b5e(0x345)](_0x4c668d['id'])&&_0x4c668d['params'][_0xc69b5e(0x40a)]===this[_0xc69b5e(0x361)]['unitId']&&this[_0xc69b5e(0x403)]();}));}['_initResize'](){const _0x3fa24e=_0x5fe29;this[_0x3fa24e(0x31f)](_0x524529[_0x3fa24e(0x343)](this[_0x3fa24e(0x361)][_0x3fa24e(0x23d)][_0x3fa24e(0x39d)])[_0x3fa24e(0x1f5)](_0x346dc5['filter'](_0xf28be3=>_0xf28be3[_0x3fa24e(0x2d3)]===_0x6d82fc['TRANSFORM_CHANGE_OBSERVABLE_TYPE'][_0x3fa24e(0x399)]),_0x346dc5[_0x3fa24e(0x3bd)](0x10))['subscribe'](()=>{const _0x223481=_0x3fa24e;this[_0x223481(0x403)]();}));}};_0x5423f8=_0x1595e0([_0x1fac74(0x1,_0x524529[_0x5fe29(0x3ab)](_0x2745da[_0x5fe29(0x3a9)])),_0x1fac74(0x2,_0x524529[_0x5fe29(0x3ab)](_0x38d12a)),_0x1fac74(0x3,_0x524529[_0x5fe29(0x317)]),_0x1fac74(0x4,_0x524529[_0x5fe29(0x3ab)](_0x524529['ThemeService']))],_0x5423f8);const _0x2f7a88=0x1,_0x47902f=1.5;class _0x5c6578 extends _0x6d82fc[_0x5fe29(0x2a5)]{constructor(_0x23d470,_0x54e77b){const _0x5c65ef=_0x5fe29;super(_0x23d470,_0x54e77b),_0x16f0e1(this,_0x5c65ef(0x38b)),_0x16f0e1(this,'_hovered',!0x1),_0x16f0e1(this,_0x5c65ef(0x209)),_0x16f0e1(this,_0x5c65ef(0x19c),''),_0x16f0e1(this,_0x5c65ef(0x3a7),_0x5c65ef(0x351)),_0x16f0e1(this,_0x5c65ef(0x3f7)),(_0x54e77b&&this[_0x5c65ef(0x303)](_0x54e77b),this[_0x5c65ef(0x3f3)][_0x5c65ef(0x1b8)](()=>this['setShapeProps']({'hovered':!0x0})),this[_0x5c65ef(0x201)]['subscribeEvent'](()=>this['setShapeProps']({'hovered':!0x1})));}[_0x5fe29(0x303)](_0x31012b){const _0x1769f4=_0x5fe29;var _0x2a3f2a,_0x1b8d0b,_0x38ffe1,_0x3bdfdf,_0x51a06a,_0xbbfef4;this[_0x1769f4(0x38b)]=(_0x2a3f2a=_0x31012b[_0x1769f4(0x329)])!=null?_0x2a3f2a:this[_0x1769f4(0x38b)],this[_0x1769f4(0x256)]=(_0x1b8d0b=_0x31012b[_0x1769f4(0x3a2)])!=null?_0x1b8d0b:this['_hovered'],this[_0x1769f4(0x209)]=(_0x38ffe1=_0x31012b[_0x1769f4(0x1d9)])!=null?_0x38ffe1:this[_0x1769f4(0x209)],this[_0x1769f4(0x19c)]=(_0x3bdfdf=_0x31012b[_0x1769f4(0x313)])!=null?_0x3bdfdf:this[_0x1769f4(0x19c)],this['_labelPosition']=(_0x51a06a=_0x31012b[_0x1769f4(0x290)])!=null?_0x51a06a:this[_0x1769f4(0x3a7)],this[_0x1769f4(0x3f7)]=(_0xbbfef4=_0x31012b[_0x1769f4(0x3d0)])!=null?_0xbbfef4:this[_0x1769f4(0x3f7)],this['transformByState']({'width':_0x31012b[_0x1769f4(0x328)],'height':_0x31012b[_0x1769f4(0x333)]});}[_0x5fe29(0x1cf)](_0x1069b9){const _0x5a1c79=_0x5fe29,{row:_0x1a1e2a,column:_0x4e957f}=_0x1069b9;if(_0x1a1e2a>=this[_0x5a1c79(0x209)]['startRow']&&_0x1a1e2a<=this[_0x5a1c79(0x209)][_0x5a1c79(0x282)]&&_0x4e957f>=this['_range'][_0x5a1c79(0x228)]&&_0x4e957f<=this['_range'][_0x5a1c79(0x2c1)]){this[_0x5a1c79(0x303)]({'hovered':!0x0});return;}this[_0x5a1c79(0x303)]({'hovered':!0x1});}['triggerDblclick'](_0x34ea81){return!0x1;}['_draw'](_0x39d440){const _0x5e74ae=_0x5fe29;_0x6d82fc[_0x5e74ae(0x3d9)]['drawWith'](_0x39d440,{'width':this['width'],'height':this[_0x5e74ae(0x333)],'strokeWidth':_0x47902f,'stroke':this['_color'],'evented':!0x1,'fill':this['_backgroundColor']}),this[_0x5e74ae(0x256)]&&(_0x39d440[_0x5e74ae(0x1a8)](),_0x39d440[_0x5e74ae(0x259)](0x1,0x0,0x0,0x1,this[_0x5e74ae(0x328)],this['_labelPosition']===_0x5e74ae(0x38e)?0x0:-_0x49f367),_0x3d7130['drawWith'](_0x39d440,{'text':this[_0x5e74ae(0x19c)],'color':this['_color']}),_0x39d440['restore']());}}var _0x5e5c4b=Object[_0x5fe29(0x409)],_0x53e2a8=Object[_0x5fe29(0x1d1)],_0x4a7d4b=(_0x529b7f,_0x57fb4c,_0x5d3141,_0x160ead)=>{const _0x2cafdb=_0x5fe29;for(var _0x1cc8d5=_0x160ead>0x1?void 0x0:_0x160ead?_0x53e2a8(_0x57fb4c,_0x5d3141):_0x57fb4c,_0x43f8ba=_0x529b7f[_0x2cafdb(0x19f)]-0x1,_0x31b42b;_0x43f8ba>=0x0;_0x43f8ba--)(_0x31b42b=_0x529b7f[_0x43f8ba])&&(_0x1cc8d5=(_0x160ead?_0x31b42b(_0x57fb4c,_0x5d3141,_0x1cc8d5):_0x31b42b(_0x1cc8d5))||_0x1cc8d5);return _0x160ead&&_0x1cc8d5&&_0x5e5c4b(_0x57fb4c,_0x5d3141,_0x1cc8d5),_0x1cc8d5;},_0x51d0db=(_0x29e1f0,_0x22cfba)=>(_0x32be08,_0x1f116d)=>_0x22cfba(_0x32be08,_0x1f116d,_0x29e1f0);const _0x44c1f8=0x1389;let _0xab1819=class extends _0x524529[_0x5fe29(0x34c)]{constructor(_0x148232,_0x42262c,_0x42bd01,_0x3101fe){const _0x1cea2a=_0x5fe29;super(),_0x16f0e1(this,_0x1cea2a(0x350),new Set()),_0x16f0e1(this,_0x1cea2a(0x2fc),null),(this[_0x1cea2a(0x361)]=_0x148232,this[_0x1cea2a(0x25e)]=_0x42262c,this[_0x1cea2a(0x1c6)]=_0x42bd01,this['_themeService']=_0x3101fe,this[_0x1cea2a(0x2f6)]());}[_0x5fe29(0x2f6)](){const _0x22e1f8=_0x5fe29;this['_sheetSkeletonManagerService'][_0x22e1f8(0x1e9)][_0x22e1f8(0x1f5)](_0x346dc5[_0x22e1f8(0x35d)](this['dispose$']),_0x346dc5[_0x22e1f8(0x291)](_0x1af036=>{const _0x17c456=_0x22e1f8;if(_0x1af036){const _0x456c4c=_0x1af036[_0x17c456(0x394)];return _0x354597[_0x17c456(0x3b8)](this['_collabCursorController'][_0x17c456(0x1cd)](this[_0x17c456(0x361)][_0x17c456(0x40a)]),this['_themeService']['currentTheme$'])[_0x17c456(0x1f5)](_0x346dc5[_0x17c456(0x297)](([_0x20cd22,_0x4a0348])=>{const _0x3de871=_0x17c456,_0x1dab1f=new Map();return _0x20cd22[_0x3de871(0x1d5)]((_0x57262c,_0x136b6d)=>{const _0x137894=_0x3de871;if(_0x57262c[_0x137894(0x323)]===_0x456c4c){const _0x2fa310={..._0x57262c};_0x2fa310[_0x137894(0x329)]=_0x4a0348[_0x57262c[_0x137894(0x329)]],_0x1dab1f[_0x137894(0x2dc)](_0x136b6d,_0x2fa310);}}),{'skeleton':_0x1af036,'cursors':_0x1dab1f};}));}return _0x354597['of']({'skeleton':null,'cursors':new Map()});}))[_0x22e1f8(0x2a1)](({skeleton:_0x2eadb8,cursors:_0x1bd370})=>{const _0x46754e=_0x22e1f8;this[_0x46754e(0x2e8)](),_0x2eadb8&&this[_0x46754e(0x1e4)](_0x2eadb8,_0x1bd370);}),this[_0x22e1f8(0x25e)][_0x22e1f8(0x1e9)][_0x22e1f8(0x2a1)](_0x2e33fc=>{const _0x4b3caa=_0x22e1f8;if(_0x2e33fc==null)return;const {skeleton:_0x134bab}=_0x2e33fc,{scene:_0x6e3d2c}=this[_0x4b3caa(0x361)];_0x6e3d2c[_0x4b3caa(0x3ee)][_0x4b3caa(0x1b8)](_0x524529['debounce'](_0x308eb0=>{const _0x1fe202=_0x4b3caa;var _0x409a80,_0x3967c6;const {offsetX:_0x56914b,offsetY:_0x37aafc}=_0x308eb0,{x:_0x2a82be,y:_0x33146d}=_0x6e3d2c[_0x1fe202(0x242)](_0x6d82fc[_0x1fe202(0x377)]['FromArray']([_0x56914b,_0x37aafc])),{scaleX:_0x41849c,scaleY:_0x3493dc}=_0x6e3d2c[_0x1fe202(0x3b1)](),_0x146d41=_0x6e3d2c[_0x1fe202(0x237)](_0x6d82fc[_0x1fe202(0x1e0)][_0x1fe202(0x3d3)]),_0xa41278=_0x6e3d2c[_0x1fe202(0x346)](_0x6d82fc[_0x1fe202(0x377)]['FromArray']([_0x2a82be,_0x33146d]),_0x146d41),_0x2edfeb=_0x134bab[_0x1fe202(0x2db)](_0x56914b,_0x37aafc,_0x41849c,_0x3493dc,_0xa41278);((_0x409a80=this[_0x1fe202(0x2fc)])==null?void 0x0:_0x409a80[_0x1fe202(0x28f)])===_0x2edfeb[_0x1fe202(0x28f)]&&((_0x3967c6=this[_0x1fe202(0x2fc)])==null?void 0x0:_0x3967c6[_0x1fe202(0x205)])===_0x2edfeb[_0x1fe202(0x205)]||this['_cursors'][_0x1fe202(0x1d5)](_0x49dec5=>{const _0x53eb8b=_0x1fe202;_0x49dec5[_0x53eb8b(0x1cf)](_0x2edfeb);});},0x64));});}[_0x5fe29(0x1e4)](_0x4b6e21,_0x46013f){const _0xb7d3a1=_0x5fe29;var _0x390fae;const _0x3d97b3=(_0x390fae=this[_0xb7d3a1(0x25e)][_0xb7d3a1(0x25d)]())==null?void 0x0:_0x390fae['skeleton'];if(!_0x3d97b3)return;const _0x4e7060=this[_0xb7d3a1(0x1dd)]();if(!_0x4e7060)return;this[_0xb7d3a1(0x350)]['forEach'](_0x2f9563=>{const _0x4bc3f1=_0xb7d3a1;_0x2f9563[_0x4bc3f1(0x37e)]();});const {scene:_0x1bc60e}=_0x4e7060,_0x10d188=_0x5523de(Array[_0xb7d3a1(0x200)](_0x46013f[_0xb7d3a1(0x1ce)]()))['map'](_0x4ef47b=>{const _0x2f143a=_0xb7d3a1,{color:_0x299b6c,range:_0x47a3dd,name:_0x362d0b,selection:_0x3d6c7f,sheetID:_0x3c77f2}=_0x4ef47b,{startColumn:_0x470d8a,startRow:_0x4583bf,endColumn:_0x944c68,endRow:_0x2ab1f8}=_0x47a3dd,_0x94db26=_0x253ca9[_0x2f143a(0x27a)](_0x4583bf,_0x470d8a,_0x1bc60e,_0x3d97b3),_0x4c386d=_0x253ca9[_0x2f143a(0x27a)](_0x2ab1f8,_0x944c68,_0x1bc60e,_0x3d97b3),{columnHeaderHeightAndMarginTop:_0x3acf7f}=_0x3d97b3,{startX:_0x143933,startY:_0x93204c}=_0x94db26,{endX:_0x3af5d5,endY:_0x21605c}=_0x4c386d,_0x6bab51=_0x3af5d5-_0x143933,_0x52d68d=_0x21605c-_0x93204c,_0x4a6852={'labelPosition':_0x93204c-_0x3acf7f>=_0x49f367?_0x2f143a(0x351):_0x2f143a(0x38e),'sheetID':_0x3c77f2,'range':_0x47a3dd,'color':_0x299b6c,'name':_0x362d0b,'selection':_0x3d6c7f,'left':_0x143933,'top':_0x93204c,'width':_0x6bab51,'height':_0x52d68d,'evented':!0x1,'zIndex':_0x44c1f8};return new _0x5c6578(_0x362d0b,_0x4a6852);});_0x1bc60e[_0xb7d3a1(0x1ad)](_0x10d188,_0x2f7a88),this[_0xb7d3a1(0x350)]=new Set(_0x10d188);}[_0x5fe29(0x2e8)](){const _0x30064b=_0x5fe29;var _0x3f1fc7;(_0x3f1fc7=this[_0x30064b(0x350)])==null||_0x3f1fc7[_0x30064b(0x1d5)](_0x5c95b4=>_0x5c95b4[_0x30064b(0x1f6)]());}[_0x5fe29(0x1dd)](){const _0x4472ac=_0x5fe29;return _0x253ca9[_0x4472ac(0x199)](this[_0x4472ac(0x361)][_0x4472ac(0x3b6)],this[_0x4472ac(0x361)]);}};_0xab1819=_0x4a7d4b([_0x51d0db(0x1,_0x524529[_0x5fe29(0x3ab)](_0x253ca9[_0x5fe29(0x404)])),_0x51d0db(0x2,_0x524529[_0x5fe29(0x3ab)](_0x38d12a)),_0x51d0db(0x3,_0x524529[_0x5fe29(0x3ab)](_0x524529['ThemeService']))],_0xab1819);function _0x5523de(_0x312f57){const _0x134679=_0x5fe29,_0x479cc4=new Map();return _0x312f57[_0x134679(0x1d5)](_0x221a6b=>{const _0x142118=_0x134679;if(_0x479cc4[_0x142118(0x326)](_0x221a6b[_0x142118(0x1d6)])){const _0xe51825=_0x479cc4[_0x142118(0x21d)](_0x221a6b[_0x142118(0x1d6)]);_0xe51825['name']+=',\x20'+_0x221a6b[_0x142118(0x313)];}else _0x479cc4[_0x142118(0x2dc)](_0x221a6b['selection'],_0x221a6b);}),Array[_0x134679(0x200)](_0x479cc4[_0x134679(0x1ce)]());}var _0x3089dc={'exports':{}},_0x361c4a={},_0x11487e;function _0x4873c4(){const _0x565fc0=_0x5fe29;if(_0x11487e)return _0x361c4a;_0x11487e=0x1;var _0xa3bdee=_0x50d71e,_0x297314=Symbol['for']('react.element'),_0x536a40=Symbol[_0x565fc0(0x19d)](_0x565fc0(0x1fd)),_0x3ea3cd=Object[_0x565fc0(0x1dc)]['hasOwnProperty'],_0x5c97f3=_0xa3bdee['__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED'][_0x565fc0(0x197)],_0x3e78e5={'key':!0x0,'ref':!0x0,'__self':!0x0,'__source':!0x0};function _0x5799c2(_0x1a3df8,_0x5c444f,_0x2f1616){const _0x5c9893=_0x565fc0;var _0x2087d4,_0x477878={},_0x9ae55a=null,_0x592f9b=null;_0x2f1616!==void 0x0&&(_0x9ae55a=''+_0x2f1616),_0x5c444f[_0x5c9893(0x2b1)]!==void 0x0&&(_0x9ae55a=''+_0x5c444f[_0x5c9893(0x2b1)]),_0x5c444f[_0x5c9893(0x202)]!==void 0x0&&(_0x592f9b=_0x5c444f[_0x5c9893(0x202)]);for(_0x2087d4 in _0x5c444f)_0x3ea3cd['call'](_0x5c444f,_0x2087d4)&&!_0x3e78e5[_0x5c9893(0x2b6)](_0x2087d4)&&(_0x477878[_0x2087d4]=_0x5c444f[_0x2087d4]);if(_0x1a3df8&&_0x1a3df8[_0x5c9893(0x293)]){for(_0x2087d4 in(_0x5c444f=_0x1a3df8[_0x5c9893(0x293)],_0x5c444f))_0x477878[_0x2087d4]===void 0x0&&(_0x477878[_0x2087d4]=_0x5c444f[_0x2087d4]);}return{'$$typeof':_0x297314,'type':_0x1a3df8,'key':_0x9ae55a,'ref':_0x592f9b,'props':_0x477878,'_owner':_0x5c97f3[_0x5c9893(0x2ae)]};}return _0x361c4a[_0x565fc0(0x2b4)]=_0x536a40,_0x361c4a[_0x565fc0(0x206)]=_0x5799c2,_0x361c4a[_0x565fc0(0x25b)]=_0x5799c2,_0x361c4a;}var _0x557491;function _0x9d63f7(){const _0x2d2be9=_0x5fe29;return _0x557491||(_0x557491=0x1,_0x3089dc[_0x2d2be9(0x389)]=_0x4873c4()),_0x3089dc[_0x2d2be9(0x389)];}var _0x4a003c=_0x9d63f7(),_0x2d5742=function(){const _0x2bf437=_0x5fe29;return _0x2d5742=Object[_0x2bf437(0x1f7)]||function(_0x569712){const _0xa78370=_0x2bf437;for(var _0x3eb238,_0x53ace9=0x1,_0x4a4f4b=arguments[_0xa78370(0x19f)];_0x53ace9<_0x4a4f4b;_0x53ace9++){_0x3eb238=arguments[_0x53ace9];for(var _0xe601cc in _0x3eb238)Object[_0xa78370(0x1dc)][_0xa78370(0x2b6)]['call'](_0x3eb238,_0xe601cc)&&(_0x569712[_0xe601cc]=_0x3eb238[_0xe601cc]);}return _0x569712;},_0x2d5742[_0x2bf437(0x2f4)](this,arguments);},_0x260e6b=function(_0x508beb,_0x45053f){const _0x3ae6c6=_0x5fe29;var _0x540530={};for(var _0x7af846 in _0x508beb)Object[_0x3ae6c6(0x1dc)][_0x3ae6c6(0x2b6)][_0x3ae6c6(0x327)](_0x508beb,_0x7af846)&&_0x45053f[_0x3ae6c6(0x34a)](_0x7af846)<0x0&&(_0x540530[_0x7af846]=_0x508beb[_0x7af846]);if(_0x508beb!=null&&typeof Object[_0x3ae6c6(0x3c0)]==_0x3ae6c6(0x2dd)){for(var _0x30b8a1=0x0,_0x7af846=Object[_0x3ae6c6(0x3c0)](_0x508beb);_0x30b8a1<_0x7af846[_0x3ae6c6(0x19f)];_0x30b8a1++)_0x45053f[_0x3ae6c6(0x34a)](_0x7af846[_0x30b8a1])<0x0&&Object[_0x3ae6c6(0x1dc)]['propertyIsEnumerable']['call'](_0x508beb,_0x7af846[_0x30b8a1])&&(_0x540530[_0x7af846[_0x30b8a1]]=_0x508beb[_0x7af846[_0x30b8a1]]);}return _0x540530;},_0x20f4fb=_0x50d71e[_0x5fe29(0x3b0)](function(_0x19b1d2,_0xbdb0a6){const _0x31ab18=_0x5fe29;var _0x334848=_0x19b1d2['icon'],_0x170c1e=_0x19b1d2['id'],_0x3a2e98=_0x19b1d2[_0x31ab18(0x34d)],_0x4845f2=_0x19b1d2[_0x31ab18(0x2f5)],_0x4e676c=_0x260e6b(_0x19b1d2,['icon','id',_0x31ab18(0x34d),_0x31ab18(0x2f5)]),_0x105d71=_0x31ab18(0x190)[_0x31ab18(0x358)](_0x170c1e,'\x20')[_0x31ab18(0x358)](_0x3a2e98||'')[_0x31ab18(0x26a)](),_0x511d85=_0x50d71e[_0x31ab18(0x22a)]('_'['concat'](_0xe553e4()));return _0x4ee48d(_0x334848,''['concat'](_0x170c1e),{'defIds':_0x334848['defIds'],'idSuffix':_0x511d85[_0x31ab18(0x2ae)]},_0x2d5742({'ref':_0xbdb0a6,'className':_0x105d71},_0x4e676c),_0x4845f2);});function _0x4ee48d(_0x4669f1,_0x3971d7,_0x4d93af,_0x526c05,_0x3b82e6){const _0x19aaea=_0x5fe29;return _0x50d71e[_0x19aaea(0x280)](_0x4669f1[_0x19aaea(0x3c2)],_0x2d5742(_0x2d5742({'key':_0x3971d7},_0x456dcd(_0x4669f1,_0x4d93af,_0x3b82e6)),_0x526c05),(_0x52256d(_0x4669f1,_0x4d93af)[_0x19aaea(0x268)]||[])['map'](function(_0x2a9263,_0x3ea9c7){const _0x23e5e4=_0x19aaea;return _0x4ee48d(_0x2a9263,''['concat'](_0x3971d7,'-')['concat'](_0x4669f1['tag'],'-')[_0x23e5e4(0x358)](_0x3ea9c7),_0x4d93af,void 0x0,_0x3b82e6);}));}function _0x456dcd(_0x3f8875,_0x5aeaea,_0x4bdcbe){const _0x1374dc=_0x5fe29;var _0x52c2a1=_0x2d5742({},_0x3f8875[_0x1374dc(0x284)]);_0x4bdcbe!=null&&_0x4bdcbe[_0x1374dc(0x2cf)]&&_0x52c2a1[_0x1374dc(0x3b3)]==='colorChannel1'&&(_0x52c2a1[_0x1374dc(0x3b3)]=_0x4bdcbe[_0x1374dc(0x2cf)]);var _0x4af346=_0x5aeaea[_0x1374dc(0x18a)];return!_0x4af346||_0x4af346[_0x1374dc(0x19f)]===0x0||(_0x3f8875[_0x1374dc(0x3c2)]===_0x1374dc(0x2d8)&&_0x52c2a1['xlink:href']&&(_0x52c2a1[_0x1374dc(0x388)]=_0x52c2a1[_0x1374dc(0x388)]+_0x5aeaea['idSuffix']),Object[_0x1374dc(0x2b7)](_0x52c2a1)[_0x1374dc(0x1d5)](function(_0x16ea39){const _0x3befa3=_0x1374dc;var _0x5a6227=_0x16ea39[0x0],_0x306780=_0x16ea39[0x1];typeof _0x306780=='string'&&(_0x52c2a1[_0x5a6227]=_0x306780[_0x3befa3(0x1da)](/url\(#(.*)\)/,_0x3befa3(0x398)[_0x3befa3(0x358)](_0x5aeaea['idSuffix'],')')));})),_0x52c2a1;}function _0x52256d(_0x2b130a,_0x5a7972){const _0x1843d0=_0x5fe29;var _0x552d7b,_0xc5a296=_0x5a7972['defIds'];return!_0xc5a296||_0xc5a296[_0x1843d0(0x19f)]===0x0?_0x2b130a:_0x2b130a[_0x1843d0(0x3c2)]==='defs'&&(!((_0x552d7b=_0x2b130a[_0x1843d0(0x268)])===null||_0x552d7b===void 0x0)&&_0x552d7b[_0x1843d0(0x19f)])?_0x2d5742(_0x2d5742({},_0x2b130a),{'children':_0x2b130a[_0x1843d0(0x268)][_0x1843d0(0x297)](function(_0x57c980){const _0x4468fb=_0x1843d0;return typeof _0x57c980[_0x4468fb(0x284)]['id']==_0x4468fb(0x23b)&&_0xc5a296&&_0xc5a296[_0x4468fb(0x34a)](_0x57c980[_0x4468fb(0x284)]['id'])>-0x1?_0x2d5742(_0x2d5742({},_0x57c980),{'attrs':_0x2d5742(_0x2d5742({},_0x57c980[_0x4468fb(0x284)]),{'id':_0x57c980[_0x4468fb(0x284)]['id']+_0x5a7972[_0x4468fb(0x3da)]})}):_0x57c980;})}):_0x2b130a;}function _0xe553e4(){const _0x1e15f6=_0x5fe29;return Math['random']()[_0x1e15f6(0x3d6)](0x24)[_0x1e15f6(0x32e)](0x2,0x8);}_0x20f4fb['displayName']=_0x5fe29(0x1a5);var _0x12ff6f={'tag':_0x5fe29(0x29c),'attrs':{'fill':_0x5fe29(0x339),'viewBox':_0x5fe29(0x2ca),'width':'1em','height':_0x5fe29(0x1fa)},'children':[{'tag':'g','attrs':{'clipPath':_0x5fe29(0x18c)},'children':[{'tag':_0x5fe29(0x1fc),'attrs':{'stroke':_0x5fe29(0x30d),'d':'M3.61971\x2011.6499C2.40304\x2011.6499\x200.699707\x2011.1024\x200.699707\x208.9124C0.699707\x206.3574\x203.25471\x205.8099\x203.98471\x205.8099C4.34971\x204.5324\x205.07971\x202.5249\x207.99971\x202.5249C10.5547\x202.5249\x2011.6497\x203.9849\x2012.0147\x205.2624C12.0147\x205.2624\x2015.2997\x205.6274\x2015.2997\x208.7299C15.2997\x2010.9199\x2013.8397\x2011.6499\x2012.3797\x2011.6499M9.82471\x209.82466L6.17471\x2013.4747M6.17471\x209.82466L9.82471\x2013.4747','strokeLinecap':_0x5fe29(0x1c2),'strokeLinejoin':_0x5fe29(0x1c2),'strokeWidth':1.2}}]},{'tag':_0x5fe29(0x29a),'attrs':{},'children':[{'tag':_0x5fe29(0x3ad),'attrs':{'id':_0x5fe29(0x270)},'children':[{'tag':_0x5fe29(0x1fc),'attrs':{'fill':_0x5fe29(0x18d),'d':_0x5fe29(0x294)}}]}]}],'defIds':[_0x5fe29(0x270)]},_0x3bd41f=_0x50d71e[_0x5fe29(0x3b0)](function(_0x6d6abd,_0x3df1ea){const _0xe12159=_0x5fe29;return _0x50d71e[_0xe12159(0x280)](_0x20f4fb,Object[_0xe12159(0x1f7)]({},_0x6d6abd,{'id':_0xe12159(0x316),'ref':_0x3df1ea,'icon':_0x12ff6f}));});_0x3bd41f[_0x5fe29(0x2cc)]=_0x5fe29(0x277);var _0x4c1c6e={'tag':'svg','attrs':{'fill':_0x5fe29(0x339),'viewBox':_0x5fe29(0x26b),'width':'1em','height':_0x5fe29(0x1fa)},'children':[{'tag':'g','attrs':{'clipPath':'url(#on-line-single_clip0_910_349)'},'children':[{'tag':_0x5fe29(0x1fc),'attrs':{'stroke':_0x5fe29(0x30d),'d':_0x5fe29(0x1d7),'strokeLinecap':'round','strokeLinejoin':_0x5fe29(0x1c2),'strokeWidth':1.2}}]},{'tag':_0x5fe29(0x29a),'attrs':{},'children':[{'tag':_0x5fe29(0x3ad),'attrs':{'id':_0x5fe29(0x1ae)},'children':[{'tag':_0x5fe29(0x1fc),'attrs':{'fill':_0x5fe29(0x18d),'d':_0x5fe29(0x294),'transform':_0x5fe29(0x240)}}]}]}],'defIds':['on-line-single_clip0_910_349']},_0x1c8583=_0x50d71e[_0x5fe29(0x3b0)](function(_0x3331fd,_0x443582){const _0x4acbca=_0x5fe29;return _0x50d71e[_0x4acbca(0x280)](_0x20f4fb,Object[_0x4acbca(0x1f7)]({},_0x3331fd,{'id':'on-line-single','ref':_0x443582,'icon':_0x4c1c6e}));});_0x1c8583[_0x5fe29(0x2cc)]=_0x5fe29(0x2c0);function _0x10c924(_0x38c5bf){const _0x43b484=_0x5fe29;var _0x2f4126,_0xeea5a3,_0xd93b01='';if(typeof _0x38c5bf=='string'||typeof _0x38c5bf=='number')_0xd93b01+=_0x38c5bf;else{if(typeof _0x38c5bf==_0x43b484(0x314)){if(Array[_0x43b484(0x322)](_0x38c5bf)){var _0x426274=_0x38c5bf[_0x43b484(0x19f)];for(_0x2f4126=0x0;_0x2f4126<_0x426274;_0x2f4126++)_0x38c5bf[_0x2f4126]&&(_0xeea5a3=_0x10c924(_0x38c5bf[_0x2f4126]))&&(_0xd93b01&&(_0xd93b01+='\x20'),_0xd93b01+=_0xeea5a3);}else{for(_0xeea5a3 in _0x38c5bf)_0x38c5bf[_0xeea5a3]&&(_0xd93b01&&(_0xd93b01+='\x20'),_0xd93b01+=_0xeea5a3);}}}return _0xd93b01;}function _0xfcc6f0(){const _0x32d31d=_0x5fe29;for(var _0x50b680,_0x495b41,_0x43dabb=0x0,_0x20d526='',_0x246da4=arguments[_0x32d31d(0x19f)];_0x43dabb<_0x246da4;_0x43dabb++)(_0x50b680=arguments[_0x43dabb])&&(_0x495b41=_0x10c924(_0x50b680))&&(_0x20d526&&(_0x20d526+='\x20'),_0x20d526+=_0x495b41);return _0x20d526;}const _0x44e372={'onlineStatusIcon':_0x5fe29(0x37d),'onlineStatusTitle':_0x5fe29(0x26e),'onlineStatus':'univer-online-status','online':'univer-online','offline':_0x5fe29(0x25a)};function _0x2882f0(_0x344ff4){const _0x2c23d5=_0x5fe29;switch(_0x344ff4){case _0xfc7012[_0x2c23d5(0x304)][_0x2c23d5(0x3b7)]:return _0x2c23d5(0x31c);case _0xfc7012['CollaborationStatus']['CONFLICT']:return'collabStatus.conflict';case _0xfc7012[_0x2c23d5(0x304)][_0x2c23d5(0x258)]:return _0x2c23d5(0x381);case _0xfc7012[_0x2c23d5(0x304)][_0x2c23d5(0x2a3)]:return _0x2c23d5(0x3f0);case _0xfc7012[_0x2c23d5(0x304)][_0x2c23d5(0x300)]:case _0xfc7012['CollaborationStatus'][_0x2c23d5(0x39b)]:return _0x2c23d5(0x1cb);case _0xfc7012[_0x2c23d5(0x304)][_0x2c23d5(0x283)]:case _0xfc7012[_0x2c23d5(0x304)][_0x2c23d5(0x1d8)]:return _0x2c23d5(0x2d0);}}function _0x138f48(_0x169331){const _0x265488=_0x5fe29,{status$:_0x108a47}=_0x169331,_0x3c2aed=_0x5b9b9e['useObservable'](_0x108a47,_0xfc7012[_0x265488(0x304)][_0x265488(0x2a3)]),_0x24b7eb=_0x524529[_0x265488(0x3cb)](_0x524529[_0x265488(0x278)]),_0x248b37=_0x524529[_0x265488(0x3cb)](_0xfc7012[_0x265488(0x2f0)]),_0x2abd99=_0x3c2aed!==_0xfc7012[_0x265488(0x304)][_0x265488(0x3b7)],_0x4946df=_0x24b7eb['t'](_0x2882f0(_0x3c2aed)),_0x566d2c=_0xfcc6f0(_0x44e372[_0x265488(0x272)],{[_0x44e372[_0x265488(0x22d)]]:_0x2abd99,[_0x44e372[_0x265488(0x1db)]]:!_0x2abd99}),_0x3c6608=_0x2abd99?_0x4a003c['jsx'](_0x1c8583,{}):_0x4a003c[_0x265488(0x206)](_0x3bd41f,{}),_0x5bf880=_0x50d71e[_0x265488(0x3f4)](()=>{_0x2abd99||_0x248b37['reconnect']();},[_0x2abd99,_0x248b37]);function _0x382c7e(){const _0x3915f0=_0x265488;return _0x4a003c[_0x3915f0(0x25b)](_0x3915f0(0x1aa),{'className':_0xfcc6f0(_0x566d2c,'univer-flex\x20univer-items-center'),'onClick':_0x5bf880,'children':[_0x4a003c[_0x3915f0(0x206)]('div',{'className':_0x44e372[_0x3915f0(0x3d7)],'children':_0x3c6608}),_0x4a003c[_0x3915f0(0x206)](_0x3915f0(0x1aa),{'className':_0x44e372['onlineStatusTitle'],'children':_0x4946df})]});}return _0x2abd99?_0x382c7e():_0x4a003c[_0x265488(0x206)](_0x4a3f7f[_0x265488(0x380)],{'title':_0x24b7eb['t'](_0x265488(0x1e2)),'children':_0x382c7e()});}var _0x1dd897=Object['defineProperty'],_0x4b9c61=Object['getOwnPropertyDescriptor'],_0x44be02=(_0x3820ee,_0x158929,_0x3d93bc,_0x15402d)=>{const _0x4cdff9=_0x5fe29;for(var _0x37eb33=_0x15402d>0x1?void 0x0:_0x15402d?_0x4b9c61(_0x158929,_0x3d93bc):_0x158929,_0x5ef866=_0x3820ee[_0x4cdff9(0x19f)]-0x1,_0x566cf1;_0x5ef866>=0x0;_0x5ef866--)(_0x566cf1=_0x3820ee[_0x5ef866])&&(_0x37eb33=(_0x15402d?_0x566cf1(_0x158929,_0x3d93bc,_0x37eb33):_0x566cf1(_0x37eb33))||_0x37eb33);return _0x15402d&&_0x37eb33&&_0x1dd897(_0x158929,_0x3d93bc,_0x37eb33),_0x37eb33;},_0x552f94=(_0x25eca8,_0x554a55)=>(_0x5a2ac0,_0x4b037f)=>_0x554a55(_0x5a2ac0,_0x4b037f,_0x25eca8);_0x4768c7[_0x5fe29(0x1c9)]=class extends _0x524529['Disposable']{constructor(_0x39c6c5,_0x123f4a,_0x3f5721,_0x418670){const _0xec3808=_0x5fe29;super(),_0x16f0e1(this,_0xec3808(0x36a),new _0x354597[(_0xec3808(0x324))](_0xfc7012[_0xec3808(0x304)][_0xec3808(0x2a3)])),(this[_0xec3808(0x27d)]=_0x39c6c5,this['_injector']=_0x123f4a,this[_0xec3808(0x2ce)]=_0x3f5721,this[_0xec3808(0x2f1)]=_0x418670,this[_0xec3808(0x235)](),this['_initStatusListener']());}['_initStatusListener'](){const _0x429438=_0x5fe29;this['disposeWithMe'](this[_0x429438(0x27d)][_0x429438(0x2f3)][_0x429438(0x1f5)](_0x354597[_0x429438(0x291)](()=>{const _0x3b0bbe=_0x429438,_0x473ae9=this[_0x3b0bbe(0x27d)][_0x3b0bbe(0x229)]();return _0x473ae9?this[_0x3b0bbe(0x2ce)][_0x3b0bbe(0x2e6)](_0x473ae9[_0x3b0bbe(0x3e8)]()):_0x354597['of'](null);}),_0x354597['switchMap'](_0x457bae=>_0x457bae?_0x457bae[_0x429438(0x3e5)]:_0x354597['of'](_0xfc7012[_0x429438(0x304)][_0x429438(0x2a3)])))[_0x429438(0x2a1)](_0x85e91b=>{const _0x12dd88=_0x429438;this[_0x12dd88(0x36a)][_0x12dd88(0x3ea)](_0x85e91b);}));}[_0x5fe29(0x235)](){const _0x370703=_0x5fe29;this[_0x370703(0x31f)](this[_0x370703(0x2f1)][_0x370703(0x30c)](_0x5b9b9e[_0x370703(0x241)][_0x370703(0x375)],()=>_0x524529['connectInjector'](_0x13e542({'status$':this[_0x370703(0x36a)][_0x370703(0x2a7)]()}),this[_0x370703(0x3f2)])));}},_0x4768c7[_0x5fe29(0x1c9)]=_0x44be02([_0x552f94(0x0,_0x524529[_0x5fe29(0x383)]),_0x552f94(0x1,_0x524529['Inject'](_0x524529[_0x5fe29(0x391)])),_0x552f94(0x2,_0x524529[_0x5fe29(0x3ab)](_0xfc7012[_0x5fe29(0x3ef)])),_0x552f94(0x3,_0x5b9b9e[_0x5fe29(0x3c8)])],_0x4768c7[_0x5fe29(0x1c9)]);function _0x13e542(_0x45b64b){const {status$:_0x4e2bec}=_0x45b64b;return function(){const _0x44f5df=_0x5c4b;return _0x4a003c[_0x44f5df(0x206)](_0x138f48,{'status$':_0x4e2bec});};}var _0x176b67=Object[_0x5fe29(0x409)],_0x40cf38=Object[_0x5fe29(0x1d1)],_0x584759=(_0xf3097b,_0x33d86e,_0xca782d,_0x54084b)=>{const _0x4cf396=_0x5fe29;for(var _0x2268be=_0x54084b>0x1?void 0x0:_0x54084b?_0x40cf38(_0x33d86e,_0xca782d):_0x33d86e,_0x313b83=_0xf3097b[_0x4cf396(0x19f)]-0x1,_0x1c53b0;_0x313b83>=0x0;_0x313b83--)(_0x1c53b0=_0xf3097b[_0x313b83])&&(_0x2268be=(_0x54084b?_0x1c53b0(_0x33d86e,_0xca782d,_0x2268be):_0x1c53b0(_0x2268be))||_0x2268be);return _0x54084b&&_0x2268be&&_0x176b67(_0x33d86e,_0xca782d,_0x2268be),_0x2268be;},_0x1e168e=(_0x17058a,_0x2a3831)=>(_0x3639ec,_0x34c71c)=>_0x2a3831(_0x3639ec,_0x34c71c,_0x17058a);let _0x49cf5b=class extends _0x524529[_0x5fe29(0x3e3)]{constructor(_0x205a31,_0x357b6e,_0x5bafcf,_0x2afc39,_0x3f7ed3,_0x585c8b){const _0x3fb57e=_0x5fe29;super(),this[_0x3fb57e(0x3ed)]=_0x205a31,this[_0x3fb57e(0x1d4)]=_0x357b6e,this['_collaborationUIEventService']=_0x5bafcf,this[_0x3fb57e(0x222)]=_0x2afc39,this[_0x3fb57e(0x3e2)]=_0x3f7ed3,this['_localeService']=_0x585c8b,this[_0x3fb57e(0x20d)](),this[_0x3fb57e(0x248)]();}['_setupBeforeClosingHandler'](){const _0x2970ef=_0x5fe29;this['disposeWithMe'](this[_0x2970ef(0x3ed)]['registerBeforeClose'](()=>{const _0x1ca152=_0x2970ef;if(this[_0x1ca152(0x1d4)][_0x1ca152(0x1f4)][_0x1ca152(0x3d8)])return this[_0x1ca152(0x285)]['t']('collaboration-client.offline-data-not-saved');}));}[_0x5fe29(0x248)](){const _0x1cf8a6=_0x5fe29;this[_0x1cf8a6(0x31f)](this['_collaborationUIEventService']['event$']['subscribe'](_0x4d6d18=>{const _0x5764aa=_0x1cf8a6;_0x4d6d18['id']===_0xfc7012[_0x5764aa(0x31e)][_0x5764aa(0x386)]&&this['_messageService'][_0x5764aa(0x407)]({'type':_0x4a3f7f[_0x5764aa(0x198)][_0x5764aa(0x3cc)],'content':this[_0x5764aa(0x285)]['t'](_0x5764aa(0x215))}),_0x4d6d18['id']===_0xfc7012['CollaborationUIEventId'][_0x5764aa(0x1d0)]&&this['_messageService']['show']({'type':_0x4a3f7f[_0x5764aa(0x198)][_0x5764aa(0x3cc)],'content':this['_localeService']['t'](_0x5764aa(0x36c))}),_0x4d6d18['id']===_0xfc7012['CollaborationUIEventId']['PERMISSION_DENIED']&&this[_0x5764aa(0x3e2)][_0x5764aa(0x407)]({'title':this[_0x5764aa(0x285)]['t'](_0x5764aa(0x360)),'content':this[_0x5764aa(0x285)]['t']('permission.content'),'type':_0x5764aa(0x1be),'duration':0x0}),_0x4d6d18['id']===_0xfc7012['CollaborationUIEventId'][_0x5764aa(0x1b4)]&&this[_0x5764aa(0x222)][_0x5764aa(0x407)]({'type':_0x4a3f7f['MessageType']['Error'],'content':this['_localeService']['t'](_0x5764aa(0x36c))+'('+_0x4d6d18[_0x5764aa(0x210)]+')'}),_0x4d6d18['id']===_0xfc7012[_0x5764aa(0x31e)][_0x5764aa(0x1e5)]&&this[_0x5764aa(0x222)][_0x5764aa(0x407)]({'type':_0x4a3f7f[_0x5764aa(0x198)]['Warning'],'content':this[_0x5764aa(0x285)]['t'](_0x4d6d18['data']||'')}),_0x4d6d18['id']===_0xfc7012[_0x5764aa(0x31e)][_0x5764aa(0x370)]&&this['_messageService']['show']({'type':_0x4a3f7f[_0x5764aa(0x198)]['Warning'],'content':this[_0x5764aa(0x285)]['t'](_0x5764aa(0x1a1))}),_0x4d6d18['id']===_0xfc7012['CollaborationUIEventId'][_0x5764aa(0x265)]&&this[_0x5764aa(0x222)]['show']({'type':_0x4a3f7f[_0x5764aa(0x198)][_0x5764aa(0x3d1)],'content':this[_0x5764aa(0x285)]['t'](_0x5764aa(0x273))}),_0x4d6d18['id']===_0xfc7012[_0x5764aa(0x31e)]['SUBMIT_CHANGESET_TIMEOUT']&&this[_0x5764aa(0x222)][_0x5764aa(0x407)]({'type':_0x4a3f7f[_0x5764aa(0x198)][_0x5764aa(0x3d1)],'content':this[_0x5764aa(0x285)]['t'](_0x5764aa(0x341))});}));}};_0x49cf5b=_0x584759([_0x1e168e(0x0,_0x5b9b9e['IBeforeCloseService']),_0x1e168e(0x1,_0xfc7012['ILocalCacheService']),_0x1e168e(0x2,_0x524529['Inject'](_0xfc7012[_0x5fe29(0x24d)])),_0x1e168e(0x3,_0x5b9b9e[_0x5fe29(0x3e0)]),_0x1e168e(0x4,_0x5b9b9e['INotificationService']),_0x1e168e(0x5,_0x524529['Inject'](_0x524529[_0x5fe29(0x278)]))],_0x49cf5b);const _0x4820a8=_0x5fe29(0x257),_0x2462c3={},_0x3a23fa=_0x524529['createIdentifier']('uni.network.url-service');var _0x4967e5=Object[_0x5fe29(0x409)],_0x169d9e=Object[_0x5fe29(0x1d1)],_0xdfd09d=(_0x447f34,_0x87b0f0,_0x41b1f8,_0x193b7d)=>{const _0x24d785=_0x5fe29;for(var _0x1488b1=_0x193b7d>0x1?void 0x0:_0x193b7d?_0x169d9e(_0x87b0f0,_0x41b1f8):_0x87b0f0,_0x391fd5=_0x447f34[_0x24d785(0x19f)]-0x1,_0x15d9cc;_0x391fd5>=0x0;_0x391fd5--)(_0x15d9cc=_0x447f34[_0x391fd5])&&(_0x1488b1=(_0x193b7d?_0x15d9cc(_0x87b0f0,_0x41b1f8,_0x1488b1):_0x15d9cc(_0x1488b1))||_0x1488b1);return _0x193b7d&&_0x1488b1&&_0x4967e5(_0x87b0f0,_0x41b1f8,_0x1488b1),_0x1488b1;},_0x1dc3aa=(_0x20e520,_0x5675f3)=>(_0x18fb38,_0xcaa75)=>_0x5675f3(_0x18fb38,_0xcaa75,_0x20e520);_0x4768c7[_0x5fe29(0x249)]=class extends _0x524529[_0x5fe29(0x34c)]{constructor(_0x3756ff,_0x56e94e,_0x1e0b15,_0xdf7072,_0x3fc6db){const _0x532a55=_0x5fe29;super(),this[_0x532a55(0x260)]=_0x3756ff,this[_0x532a55(0x3b5)]=_0x56e94e,this[_0x532a55(0x3af)]=_0x1e0b15,this[_0x532a55(0x3fa)]=_0xdf7072,_0x3fc6db?_0x3fc6db==null||_0x3fc6db[_0x532a55(0x3bb)]()['then'](()=>this[_0x532a55(0x2f6)]()):(this[_0x532a55(0x3b5)][_0x532a55(0x2e1)](_0x532a55(0x2a6),_0x532a55(0x192)),this[_0x532a55(0x2f6)]());}async[_0x5fe29(0x2f6)](){const _0x179198=_0x5fe29,_0x12a0a0=this[_0x179198(0x260)][_0x179198(0x19b)]('unit'),_0x339d4b=this[_0x179198(0x260)]['getParam'](_0x179198(0x2d3)),_0x48b878=this[_0x179198(0x260)][_0x179198(0x19b)]('subunit');if(!_0x12a0a0||!_0x339d4b){this[_0x179198(0x3b5)][_0x179198(0x2e1)](_0x179198(0x2a6),'No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.');return;}const _0x2ed65d=await this[_0x179198(0x3fa)][_0x179198(0x20e)](_0x12a0a0,Number(_0x339d4b),_0x48b878);_0x2ed65d&&_0x2ed65d instanceof _0x524529[_0x179198(0x1b0)]&&this['_setupSubUnitSync'](_0x2ed65d);}async[_0x5fe29(0x247)](_0x4f12fa){const _0x49749d=_0x5fe29;await this[_0x49749d(0x1d3)](_0x4f12fa),_0x4f12fa['activeSheet$'][_0x49749d(0x1f5)](_0x354597[_0x49749d(0x35d)](this[_0x49749d(0x281)]))[_0x49749d(0x2a1)](_0x1e1d2a=>{const _0x52b594=_0x49749d;_0x1e1d2a&&this[_0x52b594(0x355)](_0x1e1d2a);}),this[_0x49749d(0x260)][_0x49749d(0x29b)][_0x49749d(0x1f5)](_0x354597[_0x49749d(0x35d)](this[_0x49749d(0x281)]))[_0x49749d(0x2a1)](()=>this[_0x49749d(0x1d3)](_0x4f12fa));}['_updateURLWithCurrentState'](_0xbde402,_0x55dbe7=!0x1){const _0x522166=_0x5fe29,_0x2d196b=this['_urlService'][_0x522166(0x19b)](_0x522166(0x302));_0xbde402['getSheetId']()!==_0x2d196b&&this[_0x522166(0x260)][_0x522166(0x2b3)](_0x522166(0x302),_0xbde402[_0x522166(0x40e)](),_0x55dbe7);}async['_updateSubUnitFromURLParams'](_0x268683){const _0x1e0e64=_0x5fe29;var _0x5160db;const _0x571e9b=this[_0x1e0e64(0x260)]['getParam']('subunit');if(!_0x571e9b||!_0x268683['getSheetBySheetId'](_0x571e9b)){const _0x498697=_0x268683[_0x1e0e64(0x3b4)]()[0x0],_0x3e919e=_0x268683[_0x1e0e64(0x356)](_0x498697);if(!_0x3e919e)return;this[_0x1e0e64(0x355)](_0x3e919e,!0x0),await this[_0x1e0e64(0x3af)][_0x1e0e64(0x305)](_0x2d3cc7[_0x1e0e64(0x3bc)]['id'],{'unitId':_0x268683[_0x1e0e64(0x3e8)](),'subUnitId':_0x498697});return;}((_0x5160db=_0x268683[_0x1e0e64(0x1ba)]())==null?void 0x0:_0x5160db[_0x1e0e64(0x40e)]())!==_0x571e9b&&await this['_commandService'][_0x1e0e64(0x305)](_0x2d3cc7[_0x1e0e64(0x3bc)]['id'],{'unitId':_0x268683[_0x1e0e64(0x3e8)](),'subUnitId':_0x571e9b});}},_0x4768c7[_0x5fe29(0x249)]=_0xdfd09d([_0x1dc3aa(0x0,_0x3a23fa),_0x1dc3aa(0x1,_0x524529[_0x5fe29(0x2e0)]),_0x1dc3aa(0x2,_0x524529['ICommandService']),_0x1dc3aa(0x3,_0x524529['Inject'](_0xfc7012['DataLoaderService'])),_0x1dc3aa(0x4,_0x524529[_0x5fe29(0x21b)](_0x2d25a6[_0x5fe29(0x2ab)]))],_0x4768c7[_0x5fe29(0x249)]);var _0x2382f9=Object['defineProperty'],_0x24251b=Object[_0x5fe29(0x1d1)],_0x22fdc6=(_0x5b4447,_0x14befe,_0x25d0a4,_0x2a485a)=>{const _0x57a5b8=_0x5fe29;for(var _0x30214c=_0x2a485a>0x1?void 0x0:_0x2a485a?_0x24251b(_0x14befe,_0x25d0a4):_0x14befe,_0x3a5eec=_0x5b4447[_0x57a5b8(0x19f)]-0x1,_0x304bbe;_0x3a5eec>=0x0;_0x3a5eec--)(_0x304bbe=_0x5b4447[_0x3a5eec])&&(_0x30214c=(_0x2a485a?_0x304bbe(_0x14befe,_0x25d0a4,_0x30214c):_0x304bbe(_0x30214c))||_0x30214c);return _0x2a485a&&_0x30214c&&_0x2382f9(_0x14befe,_0x25d0a4,_0x30214c),_0x30214c;},_0x463fc6=(_0x181b7c,_0x5c5a31)=>(_0xa78ffe,_0x41bb6e)=>_0x5c5a31(_0xa78ffe,_0x41bb6e,_0x181b7c);let _0x41f747=class{constructor(_0x50a840,_0x1f0c4b,_0x28a853){const _0x43cee8=_0x5fe29;this[_0x43cee8(0x3f2)]=_0x50a840,this[_0x43cee8(0x3c9)]=_0x1f0c4b,this['_renderManagerService']=_0x28a853;}[_0x5fe29(0x2ff)](_0xfb6e05){const _0x34aee=_0x5fe29;this[_0x34aee(0x22c)](_0xfb6e05),this[_0x34aee(0x2ad)](_0xfb6e05);}[_0x5fe29(0x274)](_0x509f22){const _0x1b201c=_0x5fe29,{unitID:_0xebb1b4}=_0x509f22,_0x2d8809=this['_renderManagerService']['getRenderById'](_0xebb1b4)['with'](_0x37ba48[_0x1b201c(0x295)]),{redoCache:_0x23cb4c}=_0x2d8809['getUndoRedoMutationParamsCache']();if(_0x23cb4c[_0x1b201c(0x19f)]===0x0)return _0x509f22;let _0x181bfb=_0x524529[_0x1b201c(0x3ac)][_0x1b201c(0x243)](_0x509f22[_0x1b201c(0x312)][0x0]);for(let _0xedf756=0x0;_0xedf756<_0x23cb4c['length'];_0xedf756++){const _0x4b052b={'id':_0x1b201c(0x2c5),'params':{..._0x23cb4c[_0xedf756]}},_0x545292=this['_transformService'][_0x1b201c(0x315)](_0x181bfb,_0x4b052b,!0x1);if(_0x1fddb7[_0x1b201c(0x31b)](_0x545292))throw _0x545292[_0x1b201c(0x1be)];_0x181bfb=_0x545292[_0x1b201c(0x347)];}return{..._0x524529['Tools'][_0x1b201c(0x243)](_0x509f22),'mutations':[_0x181bfb]};}[_0x5fe29(0x22c)](_0x1d395e){const _0x56ae67=_0x5fe29,{unitID:_0x324285}=_0x1d395e,_0x3481f2=this['_renderManagerService'][_0x56ae67(0x212)](_0x324285)['with'](_0x37ba48['DocIMEInputManagerService']),{undoCache:_0x987aae,redoCache:_0x595fb5}=_0x3481f2[_0x56ae67(0x400)]();if(_0x987aae['length']===0x0||_0x595fb5[_0x56ae67(0x19f)]===0x0)return;const _0x3523a0=[],_0x32841b=[];let _0xb16da9=_0x524529[_0x56ae67(0x3ac)][_0x56ae67(0x243)](_0x1d395e['mutations'][0x0]),_0xdf3694=_0x524529[_0x56ae67(0x3ac)][_0x56ae67(0x243)](_0x1d395e[_0x56ae67(0x312)][0x0]);for(let _0x2849b6=_0x987aae[_0x56ae67(0x19f)]-0x1;_0x2849b6>=0x0;_0x2849b6--){const _0xd0d0a9={'id':_0x56ae67(0x2c5),'params':{..._0x987aae[_0x2849b6]}},_0xde0162={'id':_0x56ae67(0x2c5),'params':{..._0x595fb5[_0x2849b6]}},_0x19a0cc=this['_transformService']['transformMutation'](_0xb16da9,_0xd0d0a9,!0x1),_0x30667a=this['_transformService'][_0x56ae67(0x315)](_0xdf3694,_0xde0162,!0x1);if(_0x1fddb7[_0x56ae67(0x31b)](_0x19a0cc))throw _0x19a0cc[_0x56ae67(0x1be)];if(_0x1fddb7[_0x56ae67(0x31b)](_0x30667a))throw _0x30667a[_0x56ae67(0x1be)];_0x3523a0['unshift'](_0x19a0cc[_0x56ae67(0x335)][_0x56ae67(0x401)]),_0x32841b[_0x56ae67(0x33e)](_0x30667a[_0x56ae67(0x335)]['params']),_0xb16da9=_0x19a0cc[_0x56ae67(0x347)],_0xdf3694=_0x30667a['m1Prime'];}_0x3481f2['setUndoRedoMutationParamsCache']({'undoCache':_0x3523a0,'redoCache':_0x32841b});}[_0x5fe29(0x2ad)](_0x5194e1){const _0x346c86=_0x5fe29,{unitID:_0x2bd4b9}=_0x5194e1,_0x40a99a=this[_0x346c86(0x26c)]['getRenderById'](_0x2bd4b9)[_0x346c86(0x22f)](_0x37ba48[_0x346c86(0x295)]),_0x499840=_0x40a99a[_0x346c86(0x365)]();if(_0x499840==null)return;const _0x150c4a=[{'id':_0x346c86(0x2c5),'params':{'unitId':_0x5194e1[_0x346c86(0x1fb)],'actions':null,'textRanges':[_0x499840]}}],_0x4892c9=this['_transformService'][_0x346c86(0x193)](_0x5194e1,_0x150c4a);if(!_0x1fddb7[_0x346c86(0x373)](_0x4892c9))throw _0x4892c9['error'];const _0x125d72=_0x4892c9[_0x346c86(0x335)][0x0]['params'][_0x346c86(0x1c0)];Array['isArray'](_0x125d72)&&_0x125d72[_0x346c86(0x19f)]&&_0x40a99a[_0x346c86(0x1b3)](_0x125d72[0x0]);}};_0x41f747=_0x22fdc6([_0x463fc6(0x0,_0x524529[_0x5fe29(0x3ab)](_0x524529['Injector'])),_0x463fc6(0x1,_0x1fddb7[_0x5fe29(0x2b0)]),_0x463fc6(0x2,_0x6d82fc['IRenderManagerService'])],_0x41f747);var _0x352c0c=Object[_0x5fe29(0x409)],_0x1f07a3=Object['getOwnPropertyDescriptor'],_0x104e3c=(_0x35ee6d,_0x1f88bc,_0x565328,_0x36be6d)=>{const _0x29dba5=_0x5fe29;for(var _0x17b0cb=_0x36be6d>0x1?void 0x0:_0x36be6d?_0x1f07a3(_0x1f88bc,_0x565328):_0x1f88bc,_0x386993=_0x35ee6d[_0x29dba5(0x19f)]-0x1,_0x248ed4;_0x386993>=0x0;_0x386993--)(_0x248ed4=_0x35ee6d[_0x386993])&&(_0x17b0cb=(_0x36be6d?_0x248ed4(_0x1f88bc,_0x565328,_0x17b0cb):_0x248ed4(_0x17b0cb))||_0x17b0cb);return _0x36be6d&&_0x17b0cb&&_0x352c0c(_0x1f88bc,_0x565328,_0x17b0cb),_0x17b0cb;},_0x4b530c=(_0x424f1a,_0x537f3e)=>(_0x38acb9,_0x11e5cd)=>_0x537f3e(_0x38acb9,_0x11e5cd,_0x424f1a);let _0x4fb268=class{constructor(_0x581f35,_0x581cbd,_0x44573b){const _0x5d65ab=_0x5fe29;this[_0x5d65ab(0x3f2)]=_0x581f35,this[_0x5d65ab(0x3c9)]=_0x581cbd,this[_0x5d65ab(0x1a0)]=_0x44573b;}['transformStateCache'](_0x116c21){const _0x49416c=_0x5fe29;this[_0x49416c(0x2da)](_0x116c21);}[_0x5fe29(0x274)](_0x59294b){const _0x34b35d=_0x5fe29,{unitID:_0x3b5114}=_0x59294b,{collaboration:_0x43678b}=this[_0x34b35d(0x1a0)][_0x34b35d(0x2fe)](_0x3b5114);if(_0x43678b[_0x34b35d(0x19f)]===0x0)return _0x59294b;let _0x5ee1f4=_0x524529[_0x34b35d(0x3ac)][_0x34b35d(0x243)](_0x59294b[_0x34b35d(0x312)][0x0]);for(let _0x32bcdc=0x0;_0x32bcdc<_0x43678b[_0x34b35d(0x19f)];_0x32bcdc++){const _0x43d865={'id':_0x34b35d(0x2c5),'params':{'unitId':_0x43678b[_0x32bcdc][_0x34b35d(0x40a)],..._0x43678b[_0x32bcdc][_0x34b35d(0x213)]}},_0x5066fa=this[_0x34b35d(0x3c9)][_0x34b35d(0x315)](_0x5ee1f4,_0x43d865,!0x1);if(_0x1fddb7['isTransformMutationFailure'](_0x5066fa))throw _0x5066fa[_0x34b35d(0x1be)];_0x5ee1f4=_0x5066fa[_0x34b35d(0x347)];}return{..._0x524529[_0x34b35d(0x3ac)][_0x34b35d(0x243)](_0x59294b),'mutations':[_0x5ee1f4]};}[_0x5fe29(0x2da)](_0x201884){const _0x5a0b70=_0x5fe29,{unitID:_0x1d3f78}=_0x201884,{history:_0x3d2b6b,collaboration:_0x14d596}=this[_0x5a0b70(0x1a0)]['getStateCache'](_0x1d3f78);if(_0x3d2b6b['length']===0x0&&_0x14d596[_0x5a0b70(0x19f)]===0x0)return;const _0x19ce8d=[],_0x1670a0=[];let _0x1cf31c=_0x524529[_0x5a0b70(0x3ac)][_0x5a0b70(0x243)](_0x201884[_0x5a0b70(0x312)][0x0]),_0x9d5d12=_0x524529[_0x5a0b70(0x3ac)][_0x5a0b70(0x243)](_0x201884[_0x5a0b70(0x312)][0x0]);for(let _0x39a684=_0x3d2b6b[_0x5a0b70(0x19f)]-0x1;_0x39a684>=0x0;_0x39a684--){const _0x5062a8={'id':_0x5a0b70(0x2c5),'params':{'unitId':_0x3d2b6b[_0x39a684][_0x5a0b70(0x40a)],..._0x3d2b6b[_0x39a684][_0x5a0b70(0x1b6)]}},_0x3205e0={'id':_0x5a0b70(0x2c5),'params':{'unitId':_0x3d2b6b[_0x39a684][_0x5a0b70(0x40a)],..._0x3d2b6b[_0x39a684][_0x5a0b70(0x213)]}},_0x201bfa=this[_0x5a0b70(0x3c9)][_0x5a0b70(0x315)](_0x1cf31c,_0x5062a8,!0x1),_0xeee787=this['_transformService']['transformMutation'](_0x9d5d12,_0x3205e0,!0x1);if(_0x1fddb7['isTransformMutationFailure'](_0x201bfa))throw _0x201bfa['error'];if(_0x1fddb7[_0x5a0b70(0x31b)](_0xeee787))throw _0xeee787[_0x5a0b70(0x1be)];_0x19ce8d[_0x5a0b70(0x33e)]({..._0x3d2b6b[_0x39a684],'undoState':_0x201bfa[_0x5a0b70(0x335)][_0x5a0b70(0x401)],'redoState':_0xeee787[_0x5a0b70(0x335)][_0x5a0b70(0x401)]}),_0x1cf31c=_0x201bfa[_0x5a0b70(0x347)],_0x9d5d12=_0xeee787[_0x5a0b70(0x347)];}_0x1cf31c=_0x524529['Tools'][_0x5a0b70(0x243)](_0x201884[_0x5a0b70(0x312)][0x0]),_0x9d5d12=_0x524529[_0x5a0b70(0x3ac)][_0x5a0b70(0x243)](_0x201884['mutations'][0x0]);for(let _0x13392c=_0x14d596['length']-0x1;_0x13392c>=0x0;_0x13392c--){const _0x5a79d2={'id':_0x5a0b70(0x2c5),'params':{'unitId':_0x14d596[_0x13392c][_0x5a0b70(0x40a)],..._0x14d596[_0x13392c][_0x5a0b70(0x1b6)]}},_0x2612b9={'id':_0x5a0b70(0x2c5),'params':{'unitId':_0x14d596[_0x13392c][_0x5a0b70(0x40a)],..._0x14d596[_0x13392c][_0x5a0b70(0x213)]}},_0x1700ff=this['_transformService'][_0x5a0b70(0x315)](_0x1cf31c,_0x5a79d2,!0x1),_0x3b176c=this[_0x5a0b70(0x3c9)][_0x5a0b70(0x315)](_0x9d5d12,_0x2612b9,!0x1);if(_0x1fddb7['isTransformMutationFailure'](_0x1700ff))throw _0x1700ff[_0x5a0b70(0x1be)];if(_0x1fddb7[_0x5a0b70(0x31b)](_0x3b176c))throw _0x3b176c[_0x5a0b70(0x1be)];_0x1670a0[_0x5a0b70(0x33e)]({..._0x14d596[_0x13392c],'undoState':_0x1700ff[_0x5a0b70(0x335)][_0x5a0b70(0x401)],'redoState':_0x3b176c[_0x5a0b70(0x335)][_0x5a0b70(0x401)]}),_0x1cf31c=_0x1700ff['m1Prime'],_0x9d5d12=_0x3b176c['m1Prime'];}this[_0x5a0b70(0x1a0)]['setStateCache'](_0x1d3f78,{'history':_0x19ce8d,'collaboration':_0x1670a0});}};_0x4fb268=_0x104e3c([_0x4b530c(0x0,_0x524529['Inject'](_0x524529[_0x5fe29(0x391)])),_0x4b530c(0x1,_0x1fddb7[_0x5fe29(0x2b0)]),_0x4b530c(0x2,_0x524529[_0x5fe29(0x3ab)](_0x37ba48['DocStateChangeManagerService']))],_0x4fb268);var _0x5b9eed=Object[_0x5fe29(0x409)],_0xe87bff=Object[_0x5fe29(0x1d1)],_0x55d34d=(_0x447f00,_0x510eac,_0x37c054,_0xae21e4)=>{const _0x5ae412=_0x5fe29;for(var _0x312161=_0xae21e4>0x1?void 0x0:_0xae21e4?_0xe87bff(_0x510eac,_0x37c054):_0x510eac,_0x26edc7=_0x447f00[_0x5ae412(0x19f)]-0x1,_0x4f2fb7;_0x26edc7>=0x0;_0x26edc7--)(_0x4f2fb7=_0x447f00[_0x26edc7])&&(_0x312161=(_0xae21e4?_0x4f2fb7(_0x510eac,_0x37c054,_0x312161):_0x4f2fb7(_0x312161))||_0x312161);return _0xae21e4&&_0x312161&&_0x5b9eed(_0x510eac,_0x37c054,_0x312161),_0x312161;},_0x51de7b=(_0x2d5afd,_0x233037)=>(_0xd0a8e9,_0x4f9f0d)=>_0x233037(_0xd0a8e9,_0x4f9f0d,_0x2d5afd);let _0x2ff2a=class{constructor(_0x1c176e,_0x3999fd){const _0x550e63=_0x5fe29;this[_0x550e63(0x3f2)]=_0x1c176e,this[_0x550e63(0x3c9)]=_0x3999fd;}['transformSelections'](_0x2ef694){const _0x3d476b=_0x5fe29;var _0x46965e;const _0x2e84b3=this[_0x3d476b(0x3f2)][_0x3d476b(0x21d)](_0x2745da[_0x3d476b(0x1b2)]),_0x4f9a03=(_0x46965e=_0x2e84b3['getDocRanges']())!=null?_0x46965e:[];if(_0x4f9a03[_0x3d476b(0x19f)]===0x0)return;const _0xcd318a=_0x2ef694[_0x3d476b(0x1fb)],_0x1a78c4=[{'id':_0x3d476b(0x2c5),'params':{'unitId':_0xcd318a,'actions':null,'textRanges':_0x4f9a03}}],_0x57dfa8=this[_0x3d476b(0x3c9)]['transformMutationsWithChangeset'](_0x2ef694,_0x1a78c4);if(!_0x1fddb7[_0x3d476b(0x373)](_0x57dfa8))throw _0x57dfa8['error'];const _0x578aa8=_0x57dfa8[_0x3d476b(0x335)][0x0][_0x3d476b(0x401)]['textRanges'];Array['isArray'](_0x578aa8)&&_0x578aa8[_0x3d476b(0x19f)]&&_0x2e84b3[_0x3d476b(0x3eb)](_0x578aa8,{'unitId':_0xcd318a,'subUnitId':_0xcd318a},!0x1);}};_0x2ff2a=_0x55d34d([_0x51de7b(0x0,_0x524529[_0x5fe29(0x3ab)](_0x524529[_0x5fe29(0x391)])),_0x51de7b(0x1,_0x1fddb7[_0x5fe29(0x2b0)])],_0x2ff2a);var _0xc4ba91=Object['defineProperty'],_0x1b43a3=Object['getOwnPropertyDescriptor'],_0x324ee7=(_0x34fef9,_0xe674c3,_0x48fcbf,_0x1b4ad8)=>{const _0x2530b4=_0x5fe29;for(var _0x59aa8c=_0x1b4ad8>0x1?void 0x0:_0x1b4ad8?_0x1b43a3(_0xe674c3,_0x48fcbf):_0xe674c3,_0x5ab26b=_0x34fef9[_0x2530b4(0x19f)]-0x1,_0x27dd75;_0x5ab26b>=0x0;_0x5ab26b--)(_0x27dd75=_0x34fef9[_0x5ab26b])&&(_0x59aa8c=(_0x1b4ad8?_0x27dd75(_0xe674c3,_0x48fcbf,_0x59aa8c):_0x27dd75(_0x59aa8c))||_0x59aa8c);return _0x1b4ad8&&_0x59aa8c&&_0xc4ba91(_0xe674c3,_0x48fcbf,_0x59aa8c),_0x59aa8c;},_0x1b8089=(_0x5bf8ed,_0x263023)=>(_0x22c63d,_0x6b0709)=>_0x263023(_0x22c63d,_0x6b0709,_0x5bf8ed);let _0x17fa2e=class extends _0x524529[_0x5fe29(0x3e3)]{constructor(_0x17a0ba,_0x37c650,_0x5c2880,_0x10ac95,_0x5a71fa,_0x3ba8df,_0x49b85a,_0x3d6a13){const _0x9b5201=_0x5fe29;super(),_0x16f0e1(this,_0x9b5201(0x36a),new _0x354597[(_0x9b5201(0x324))](_0xfc7012[_0x9b5201(0x304)][_0x9b5201(0x2a3)])),(this['_docStateChangeManagerService']=_0x17a0ba,this['_collaborationController']=_0x37c650,this[_0x9b5201(0x1ab)]=_0x5c2880,this[_0x9b5201(0x3d5)]=_0x10ac95,this[_0x9b5201(0x371)]=_0x5a71fa,this[_0x9b5201(0x3ce)]=_0x3ba8df,this[_0x9b5201(0x222)]=_0x49b85a,this[_0x9b5201(0x285)]=_0x3d6a13,this[_0x9b5201(0x3de)]());}[_0x5fe29(0x3de)](){const _0x515edc=_0x5fe29;this[_0x515edc(0x31f)](this[_0x515edc(0x2ce)][_0x515edc(0x253)][_0x515edc(0x2a1)](_0x2a5d22=>{const _0x5a2cb0=_0x515edc,_0x20155e=this[_0x5a2cb0(0x1a0)]['docStateChange$']['subscribe'](_0x4a31a4=>{const _0x3c2275=_0x5a2cb0;if(_0x4a31a4==null)return;const {unitId:_0x2b9ff4,redoState:_0x222587,commandId:_0x1fc0f6}=_0x4a31a4;if(_0x2b9ff4!==_0x2a5d22[_0x3c2275(0x1fb)])return;const _0x5d1f4d={'id':_0x1fc0f6,'type':_0x524529[_0x3c2275(0x2a9)][_0x3c2275(0x29d)],'params':{'unitId':_0x2b9ff4,'actions':_0x222587[_0x3c2275(0x254)],'textRanges':null}};_0x2a5d22[_0x3c2275(0x244)](_0x5d1f4d);});if(_0x2a5d22[_0x5a2cb0(0x31f)](_0x20155e),_0x2a5d22 instanceof _0xfc7012[_0x5a2cb0(0x3a8)]){const _0x48f572={'onTransformIME':_0x2ce69d=>this[_0x5a2cb0(0x1ab)][_0x5a2cb0(0x2ff)](_0x2ce69d),'onTransformState':_0xf15f2=>this['_docTransformStateCacheService'][_0x5a2cb0(0x405)](_0xf15f2),'onTransformSelections':_0x11055c=>this[_0x5a2cb0(0x371)][_0x5a2cb0(0x3cd)](_0x11055c),'onSyncEditingCollabCursor':_0x506122=>this['_docSyncEditingCollabCursorService'][_0x5a2cb0(0x191)](_0x506122),'onTransformRemoteChangesetByIMECache':_0x4fe233=>this[_0x5a2cb0(0x1ab)][_0x5a2cb0(0x274)](_0x4fe233),'onTransformRemoteChangesetByStateCache':_0xce1cb7=>this[_0x5a2cb0(0x3d5)]['transformRemoteChangeset'](_0xce1cb7)};_0x2a5d22[_0x5a2cb0(0x22b)](_0x48f572);}}));}};_0x17fa2e=_0x324ee7([_0x1b8089(0x0,_0x524529[_0x5fe29(0x3ab)](_0x37ba48[_0x5fe29(0x3ae)])),_0x1b8089(0x1,_0x524529[_0x5fe29(0x3ab)](_0xfc7012['CollaborationController'])),_0x1b8089(0x2,_0x524529[_0x5fe29(0x3ab)](_0x41f747)),_0x1b8089(0x3,_0x524529[_0x5fe29(0x3ab)](_0x4fb268)),_0x1b8089(0x4,_0x524529[_0x5fe29(0x3ab)](_0x2ff2a)),_0x1b8089(0x5,_0x524529['Inject'](_0x5ce534)),_0x1b8089(0x6,_0x5b9b9e['IMessageService']),_0x1b8089(0x7,_0x524529[_0x5fe29(0x3ab)](_0x524529[_0x5fe29(0x278)]))],_0x17fa2e);var _0x4cae74=Object['defineProperty'],_0x39338f=Object[_0x5fe29(0x1d1)],_0x2442d9=(_0x2dccec,_0x395ad4,_0x3d4bdf,_0x593200)=>{const _0x267c1f=_0x5fe29;for(var _0x117412=_0x593200>0x1?void 0x0:_0x593200?_0x39338f(_0x395ad4,_0x3d4bdf):_0x395ad4,_0x382033=_0x2dccec[_0x267c1f(0x19f)]-0x1,_0x1d680e;_0x382033>=0x0;_0x382033--)(_0x1d680e=_0x2dccec[_0x382033])&&(_0x117412=(_0x593200?_0x1d680e(_0x395ad4,_0x3d4bdf,_0x117412):_0x1d680e(_0x117412))||_0x117412);return _0x593200&&_0x117412&&_0x4cae74(_0x395ad4,_0x3d4bdf,_0x117412),_0x117412;},_0x3be783=(_0x13a4d2,_0x53a536)=>(_0x43d424,_0x1fe456)=>_0x53a536(_0x43d424,_0x1fe456,_0x13a4d2);let _0x43e0b9=class extends _0x524529['Disposable']{constructor(_0x249e0d,_0x441688,_0x295707){const _0x91583d=_0x5fe29;super(),_0x16f0e1(this,'_cachedData',new Map()),_0x16f0e1(this,'_saveTaskMap',new Map()),_0x16f0e1(this,_0x91583d(0x28b),!0x1),(this[_0x91583d(0x38a)]=_0x249e0d,this[_0x91583d(0x27e)]=_0x441688,this[_0x91583d(0x2f7)]=_0x295707);}['disableLocalCache'](){const _0x4f0c3e=_0x5fe29;this[_0x4f0c3e(0x28b)]=!0x0;}[_0x5fe29(0x3ca)](){this['_disabled']=!0x1;}get[_0x5fe29(0x1f4)](){return this['_saveTaskMap'];}[_0x5fe29(0x1f6)](){const _0x1f04e2=_0x5fe29;this[_0x1f04e2(0x2be)]()[_0x1f04e2(0x31d)](()=>super['dispose']());}async['loadOfflineData'](_0x1b763e){const _0x217543=_0x5fe29;return this[_0x217543(0x28b)]?null:this[_0x217543(0x27e)][_0x217543(0x266)](_0xfc7012['getLocalCacheKey'](_0x1b763e));}async[_0x5fe29(0x3bf)](_0x330ade,_0x148d6a){const _0x55a6bf=_0x5fe29;return!!this[_0x55a6bf(0x27e)]['setItem'](_0x330ade,_0x148d6a);}['updateOfflineData'](_0x582d54,_0x581442,_0x519dba,_0xf64f6d){const _0x323233=_0x5fe29,_0x198989=this[_0x323233(0x2f7)][_0x323233(0x2b2)](_0x582d54);this[_0x323233(0x40d)][_0x323233(0x2dc)](_0x582d54,{'unitID':_0x582d54,'type':_0x581442,'awaitingChangeset':_0x519dba,'mutations':_0xf64f6d,'rev':_0x198989}),this[_0x323233(0x3be)][_0x323233(0x326)](_0x582d54)||this['_scheduleSaving'](_0x582d54);}[_0x5fe29(0x1bf)](_0x4ce8a2){const _0x30c699=_0x5fe29,_0x58ab59=this[_0x30c699(0x331)]();_0x58ab59===0x0?this[_0x30c699(0x3e7)](_0x4ce8a2):this[_0x30c699(0x3be)][_0x30c699(0x2dc)](_0x4ce8a2,setTimeout(()=>this[_0x30c699(0x3e7)](_0x4ce8a2),_0x58ab59));}[_0x5fe29(0x331)](){const _0x27f97c=_0x5fe29;var _0x530dc1;return(_0x530dc1=this[_0x27f97c(0x38a)][_0x27f97c(0x3c3)](_0xfc7012['LOCAL_CACHE_INTERVAL_KEY']))!=null?_0x530dc1:_0xfc7012['LOCAL_CACHE_INTERVAL'];}[_0x5fe29(0x3e7)](_0x28cba7){const _0x425cc6=_0x5fe29,_0x3fc643=this[_0x425cc6(0x3be)]['get'](_0x28cba7);return _0x3fc643!==void 0x0&&window[_0x425cc6(0x255)](_0x3fc643),this[_0x425cc6(0x27e)][_0x425cc6(0x3db)](_0xfc7012['getLocalCacheKey'](_0x28cba7),this[_0x425cc6(0x40d)][_0x425cc6(0x21d)](_0x28cba7))[_0x425cc6(0x31d)](()=>this['_saveTaskMap'][_0x425cc6(0x20c)](_0x28cba7));}async[_0x5fe29(0x2be)](){const _0x5c3a75=_0x5fe29,_0xb96d96=[];this['_saveTaskMap'][_0x5c3a75(0x1d5)]((_0x29ecdc,_0xc759d0)=>{const _0xb8e25b=_0x5c3a75;window[_0xb8e25b(0x255)](_0x29ecdc),_0xb96d96['push'](this[_0xb8e25b(0x3e7)](_0xc759d0)[_0xb8e25b(0x31d)](()=>{const _0x17e085=_0xb8e25b;this[_0x17e085(0x3be)][_0x17e085(0x20c)](_0xc759d0);}));}),await Promise[_0x5c3a75(0x3f8)](_0xb96d96);}};_0x43e0b9=_0x2442d9([_0x3be783(0x0,_0x524529[_0x5fe29(0x3c7)]),_0x3be783(0x1,_0x524529[_0x5fe29(0x238)]),_0x3be783(0x2,_0x524529[_0x5fe29(0x3ab)](_0x1fddb7[_0x5fe29(0x194)]))],_0x43e0b9);class _0x31b07f extends _0x524529[_0x5fe29(0x34c)]{constructor(){const _0x28b1c0=_0x5fe29;super(),_0x16f0e1(this,'urlChange$'),this[_0x28b1c0(0x29b)]=_0x354597[_0x28b1c0(0x207)](window,_0x28b1c0(0x2df))['pipe'](_0x354597['takeUntil'](this['dispose$']),_0x354597[_0x28b1c0(0x30a)](0x1),_0x354597[_0x28b1c0(0x19e)](void 0x0));}[_0x5fe29(0x2b3)](_0x45ba19,_0x5a4796,_0x4a90e4=!0x1){const _0x221e99=_0x5fe29,_0x4f7809=new URL(window['location'][_0x221e99(0x3c6)]);_0x4f7809[_0x221e99(0x397)][_0x221e99(0x2dc)](_0x45ba19,_0x5a4796),_0x4a90e4?window[_0x221e99(0x1f2)][_0x221e99(0x1b7)]('','',_0x4f7809['toString']()):window[_0x221e99(0x1f2)][_0x221e99(0x27f)]('','',_0x4f7809['toString']());}[_0x5fe29(0x37b)](_0x31c45c,_0x33edaa=!0x1){const _0x4ebba4=_0x5fe29,_0x3e48cc=new URL(window['location'][_0x4ebba4(0x3c6)]);_0x3e48cc['searchParams'][_0x4ebba4(0x20c)](_0x31c45c),_0x33edaa?window[_0x4ebba4(0x1f2)][_0x4ebba4(0x1b7)]('','',_0x3e48cc[_0x4ebba4(0x3d6)]()):window[_0x4ebba4(0x1f2)]['pushState']('','',_0x3e48cc[_0x4ebba4(0x3d6)]());}[_0x5fe29(0x19b)](_0x4fa88c){const _0x19e767=_0x5fe29;var _0x1d5808;return(_0x1d5808=new URL(window[_0x19e767(0x3cf)][_0x19e767(0x3c6)])[_0x19e767(0x397)]['get'](_0x4fa88c))!=null?_0x1d5808:void 0x0;}}var _0x9cc642=Object[_0x5fe29(0x409)],_0x20fe6a=Object['getOwnPropertyDescriptor'],_0x12bca1=(_0x34ff1d,_0x4a1197,_0x47b777)=>_0x4a1197 in _0x34ff1d?_0x9cc642(_0x34ff1d,_0x4a1197,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x47b777}):_0x34ff1d[_0x4a1197]=_0x47b777,_0x4ab36f=(_0x439b1a,_0x1fbc65,_0x50e7c8,_0x3318ba)=>{for(var _0x1cd10e=_0x3318ba>0x1?void 0x0:_0x3318ba?_0x20fe6a(_0x1fbc65,_0x50e7c8):_0x1fbc65,_0x599f51=_0x439b1a['length']-0x1,_0x5525f1;_0x599f51>=0x0;_0x599f51--)(_0x5525f1=_0x439b1a[_0x599f51])&&(_0x1cd10e=(_0x3318ba?_0x5525f1(_0x1fbc65,_0x50e7c8,_0x1cd10e):_0x5525f1(_0x1cd10e))||_0x1cd10e);return _0x3318ba&&_0x1cd10e&&_0x9cc642(_0x1fbc65,_0x50e7c8,_0x1cd10e),_0x1cd10e;},_0x2e4575=(_0x47a1da,_0x204e1c)=>(_0x3028df,_0x1e3d9a)=>_0x204e1c(_0x3028df,_0x1e3d9a,_0x47a1da),_0xa01bf7=(_0x4d5cf5,_0x1d47e7,_0x1f0a0a)=>_0x12bca1(_0x4d5cf5,_0x1d47e7+'',_0x1f0a0a);const _0x5c0376='UNIVER_COLLABORATION_CLIENT_WEB_PLUGIN';_0x4768c7[_0x5fe29(0x37f)]=class extends _0x524529[_0x5fe29(0x3e1)]{constructor(_0x44219e=_0x2462c3,_0x415f67,_0x388dc5,_0x11c2a6){const _0x4ec34c=_0x5fe29;super(),this[_0x4ec34c(0x2d2)]=_0x44219e,this[_0x4ec34c(0x26c)]=_0x415f67,this[_0x4ec34c(0x3f2)]=_0x388dc5,this[_0x4ec34c(0x38a)]=_0x11c2a6;const {..._0x5b5a6f}=_0x524529[_0x4ec34c(0x195)]({},_0x2462c3,this['_config']);this[_0x4ec34c(0x38a)][_0x4ec34c(0x1bc)](_0x4820a8,_0x5b5a6f);}[_0x5fe29(0x1af)](){const _0x282534=_0x5fe29;this[_0x282534(0x1ca)](),this['_initDependencies']();}[_0x5fe29(0x31a)](){const _0x2a14f2=_0x5fe29;this[_0x2a14f2(0x2ef)]();}[_0x5fe29(0x1ca)](){const _0xca3127=_0x5fe29;var _0x5352e4;const _0x369009=[[_0x24fe6e],[_0x2ff2a],[_0x41f747],[_0x4fb268],[_0x5ce534],[_0x3a23fa,{'useClass':_0x31b07f}],[_0x57276e[_0xca3127(0x374)],{'useClass':_0x57276e[_0xca3127(0x2ba)]}],[_0xfc7012[_0xca3127(0x24f)],{'useClass':_0x43e0b9}],[_0x4768c7[_0xca3127(0x1c9)]],[_0x17fa2e],[_0x49cf5b],[_0x38d12a],[_0x42793d],[_0x4768c7['CollaborationDataLoaderController']]];_0x524529[_0xca3127(0x1e1)](this[_0xca3127(0x3f2)],_0x524529[_0xca3127(0x33b)](_0x369009,(_0x5352e4=this['_config'])==null?void 0x0:_0x5352e4[_0xca3127(0x2d1)]));}[_0x5fe29(0x2ef)](){const _0x4cad00=_0x5fe29;this['disposeWithMe'](this[_0x4cad00(0x26c)][_0x4cad00(0x35f)](_0x524529[_0x4cad00(0x306)][_0x4cad00(0x3ec)],[_0x5423f8])),this[_0x4cad00(0x31f)](this[_0x4cad00(0x26c)]['registerRenderModule'](_0x524529[_0x4cad00(0x306)][_0x4cad00(0x3dc)],[_0xab1819]));}[_0x5fe29(0x2af)](){const _0x2b3e95=_0x5fe29;_0x524529[_0x2b3e95(0x30e)](this['_injector'],[[_0x38d12a],[_0x4768c7[_0x2b3e95(0x1c9)]],[_0x17fa2e],[_0x49cf5b],[_0x4768c7[_0x2b3e95(0x249)]]]);}},_0xa01bf7(_0x4768c7[_0x5fe29(0x37f)],'pluginName',_0x5c0376),_0x4768c7[_0x5fe29(0x37f)]=_0x4ab36f([_0x524529[_0x5fe29(0x332)](_0xfc7012['UniverCollaborationClientPlugin']),_0x2e4575(0x1,_0x6d82fc[_0x5fe29(0x32a)]),_0x2e4575(0x2,_0x524529['Inject'](_0x524529[_0x5fe29(0x391)])),_0x2e4575(0x3,_0x524529['IConfigService'])],_0x4768c7[_0x5fe29(0x37f)]);const _0x34495d=0x7530,_0xc9c37=_0x5fe29(0x35e);class _0x3186b7 extends _0x524529[_0x5fe29(0x3e3)]{constructor(){const _0xf069c5=_0x5fe29;super(),_0x16f0e1(this,_0xf069c5(0x378),_0x524529[_0xf069c5(0x3ac)][_0xf069c5(0x2ac)]()),_0x16f0e1(this,_0xf069c5(0x2c3),new Set()),_0x16f0e1(this,_0xf069c5(0x2e3),new Map()),_0x16f0e1(this,_0xf069c5(0x21a),null),_0x16f0e1(this,'_clearOtherTimers',new Map()),_0x16f0e1(this,'_unitStatus',new Map()),this[_0xf069c5(0x2f6)]();}[_0x5fe29(0x1f6)](){const _0x5768fe=_0x5fe29;super[_0x5768fe(0x1f6)](),this[_0x5768fe(0x2bf)]['forEach']((_0x22b658,_0x90e61f)=>this['_removeClearOtherTimer'](_0x90e61f)),this['_heartbeatTimer']&&window[_0x5768fe(0x39e)](this[_0x5768fe(0x21a)]);}['getUnitStatus$'](_0x17807e){const _0x415d5c=_0x5fe29;return this[_0x415d5c(0x1d2)](_0x17807e)[_0x415d5c(0x1f5)](_0x354597[_0x415d5c(0x359)]());}['editingUnit'](_0x48528e){const _0x5c863f=_0x5fe29;this['_selfUnitIDs']['size']===0x0&&this[_0x5c863f(0x2cd)](),this['_selfUnitIDs'][_0x5c863f(0x3fd)](_0x48528e),this[_0x5c863f(0x1c1)]({'type':0x0,'memberID':this['_id'],'unitIDs':[_0x48528e],'isForwarded':!0x1});}[_0x5fe29(0x1ff)](_0x54a1aa){const _0x2ea6db=_0x5fe29;this[_0x2ea6db(0x2c3)][_0x2ea6db(0x20c)](_0x54a1aa),this[_0x2ea6db(0x2c3)][_0x2ea6db(0x3d8)]===0x0&&this[_0x2ea6db(0x21a)]&&window[_0x2ea6db(0x39e)](this['_heartbeatTimer']);}[_0x5fe29(0x2f6)](){const _0x122b91=_0x5fe29;this[_0x122b91(0x31f)](_0x524529[_0x122b91(0x214)](_0x354597['fromEvent'](window,_0x122b91(0x3c4))[_0x122b91(0x2a1)](_0x24a148=>{const _0x30f80d=_0x122b91;if(_0x24a148[_0x30f80d(0x2b1)]!==_0xc9c37||!_0x24a148['newValue'])return;const _0x2708ae=JSON['parse'](_0x24a148[_0x30f80d(0x289)]);this['_handleEvent'](_0x2708ae);}))),window[_0x122b91(0x1ee)](_0x122b91(0x261),()=>this['_send']({'type':0x1,'memberID':this[_0x122b91(0x378)],'unitIDs':Array[_0x122b91(0x200)](this[_0x122b91(0x2c3)])}));}[_0x5fe29(0x220)](_0x9fd8c8){const _0x74a674=_0x5fe29;switch(_0x9fd8c8['type']){case 0x0:this['_handleJoinEvent'](_0x9fd8c8);break;case 0x1:this[_0x74a674(0x366)](_0x9fd8c8);break;case 0x2:this['_handleHeartbeatEvent'](_0x9fd8c8);break;}}[_0x5fe29(0x2c9)](_0x14378f){const _0x4b5ecf=_0x5fe29,{unitIDs:_0x10fc41,memberID:_0x5c080c,isForwarded:_0x3a27b8}=_0x14378f;_0x10fc41[_0x4b5ecf(0x1d5)](_0x1407fc=>{const _0x492d1c=_0x4b5ecf;if(!_0x3a27b8&&this[_0x492d1c(0x2e3)]['has'](_0x1407fc)&&this[_0x492d1c(0x1d2)](_0x1407fc)['next'](_0xfc7012['UnitStatus']['OTHER_CLIENTS_EDITING']),!this[_0x492d1c(0x2e3)]['has'](_0x1407fc)||!this['_unitOnClients'][_0x492d1c(0x21d)](_0x1407fc)['has'](_0x5c080c)){const _0x172bc0=this[_0x492d1c(0x2e3)][_0x492d1c(0x21d)](_0x1407fc)||new Set();_0x172bc0['add'](_0x5c080c),this[_0x492d1c(0x2e3)]['set'](_0x1407fc,_0x172bc0),this[_0x492d1c(0x27c)](_0x5c080c);}}),_0x3a27b8||this['_send']({'type':0x0,'memberID':this['_id'],'unitIDs':[...this[_0x4b5ecf(0x2c3)]],'isForwarded':!0x0});}[_0x5fe29(0x27c)](_0x4d7114){const _0x5d2036=_0x5fe29;this[_0x5d2036(0x2c8)](_0x4d7114);const _0x444813=window[_0x5d2036(0x384)](()=>{const _0x11945d=_0x5d2036;this[_0x11945d(0x2e3)][_0x11945d(0x1d5)](_0x33da3c=>{const _0x277878=_0x11945d;_0x33da3c[_0x277878(0x20c)](_0x4d7114);});},_0x34495d*0x2);this['_clearOtherTimers'][_0x5d2036(0x2dc)](_0x4d7114,_0x444813);}[_0x5fe29(0x2c8)](_0x41b915){const _0x5beb7d=_0x5fe29;if(this[_0x5beb7d(0x2bf)][_0x5beb7d(0x326)](_0x41b915)){const _0x58e4ef=this[_0x5beb7d(0x2bf)][_0x5beb7d(0x21d)](_0x41b915);_0x58e4ef&&window['clearTimeout'](_0x58e4ef),this['_clearOtherTimers'][_0x5beb7d(0x2dc)](_0x41b915,null);}}[_0x5fe29(0x366)](_0x372f7){const _0x1c4a1c=_0x5fe29,{memberID:_0xf5fad5,unitIDs:_0x47599d}=_0x372f7;_0x47599d[_0x1c4a1c(0x1d5)](_0x5b4b9d=>{const _0x57d646=_0x1c4a1c;var _0x4942ae;const _0xff4d02=this[_0x57d646(0x2e3)][_0x57d646(0x21d)](_0x5b4b9d);_0xff4d02&&(_0xff4d02[_0x57d646(0x20c)](_0xf5fad5),(_0x4942ae=this[_0x57d646(0x1d2)](_0x5b4b9d))==null||_0x4942ae[_0x57d646(0x3ea)](_0xff4d02[_0x57d646(0x3d8)]===0x0?_0xfc7012[_0x57d646(0x234)][_0x57d646(0x269)]:_0xfc7012[_0x57d646(0x234)][_0x57d646(0x3d4)]));}),this[_0x1c4a1c(0x2c8)](_0xf5fad5);}['_handleHeartbeatEvent'](_0x315c0e){const _0x30da38=_0x5fe29;this[_0x30da38(0x27c)](_0x315c0e[_0x30da38(0x2a2)]);}['_send'](_0xa3e03b){localStorage['setItem'](_0xc9c37,JSON['stringify'](_0xa3e03b));}[_0x5fe29(0x2cd)](){const _0x1ba66d=_0x5fe29;this['_heartbeatTimer']=window[_0x1ba66d(0x231)](()=>{const _0x14a967=_0x1ba66d;this[_0x14a967(0x1c1)]({'type':0x2,'memberID':this['_id']});},_0x34495d);}[_0x5fe29(0x1d2)](_0x46cae8){const _0x4337a8=_0x5fe29;return this[_0x4337a8(0x309)][_0x4337a8(0x326)](_0x46cae8)||this[_0x4337a8(0x309)]['set'](_0x46cae8,new _0x354597['BehaviorSubject'](_0xfc7012[_0x4337a8(0x234)][_0x4337a8(0x269)])),this['_unitStatus'][_0x4337a8(0x21d)](_0x46cae8);}}var _0x24e728=(_0x34bc84=>(_0x34bc84[_0x34bc84[_0x5fe29(0x390)]=0x0]=_0x5fe29(0x390),_0x34bc84[_0x34bc84['OK']=0x1]='OK',_0x34bc84[_0x34bc84[_0x5fe29(0x1a9)]=0x2]=_0x5fe29(0x1a9),_0x34bc84[_0x34bc84['PERMISSION_DENIED']=0x3]=_0x5fe29(0x392),_0x34bc84[_0x34bc84[_0x5fe29(0x38d)]=0x4]=_0x5fe29(0x38d),_0x34bc84[_0x34bc84[_0x5fe29(0x239)]=0x5]='UNAUTHENTICATED',_0x34bc84[_0x34bc84[_0x5fe29(0x2bc)]=0x6]=_0x5fe29(0x2bc),_0x34bc84[_0x34bc84[_0x5fe29(0x21e)]=0x7]=_0x5fe29(0x21e),_0x34bc84[_0x34bc84[_0x5fe29(0x330)]=0x8]=_0x5fe29(0x330),_0x34bc84[_0x34bc84[_0x5fe29(0x296)]=0x9]=_0x5fe29(0x296),_0x34bc84[_0x34bc84['CHANGESET_REVISION_CONFILICT']=0x1389]='CHANGESET_REVISION_CONFILICT',_0x34bc84[_0x34bc84[_0x5fe29(0x1ea)]=0x1771]=_0x5fe29(0x1ea),_0x34bc84[_0x34bc84[_0x5fe29(0x2ee)]=0x1772]=_0x5fe29(0x2ee),_0x34bc84[_0x34bc84[_0x5fe29(0x20b)]=0x1773]=_0x5fe29(0x20b),_0x34bc84[_0x34bc84[_0x5fe29(0x342)]=0x1b59]=_0x5fe29(0x342),_0x34bc84[_0x34bc84[_0x5fe29(0x211)]=0x1b5a]=_0x5fe29(0x211),_0x34bc84[_0x34bc84['APPLY_REVISION_CONFILICT']=0x1b5b]=_0x5fe29(0x189),_0x34bc84[_0x34bc84['APPLY_PERMISSION_DENIED']=0x1b5c]=_0x5fe29(0x3e6),_0x34bc84[_0x34bc84['APPLY_DUPLICATED']=0x1b5d]=_0x5fe29(0x35b),_0x34bc84[_0x34bc84[_0x5fe29(0x252)]=0x1f41]=_0x5fe29(0x252),_0x34bc84[_0x34bc84[_0x5fe29(0x38f)]=0x2329]=_0x5fe29(0x38f),_0x34bc84[_0x34bc84['LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED']=0x232a]='LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED',_0x34bc84[_0x34bc84[_0x5fe29(0x1bb)]=0x232b]=_0x5fe29(0x1bb),_0x34bc84[_0x34bc84[_0x5fe29(0x2eb)]=0x232c]=_0x5fe29(0x2eb),_0x34bc84[_0x34bc84[_0x5fe29(0x2b5)]=0x232d]=_0x5fe29(0x2b5),_0x34bc84[_0x34bc84[_0x5fe29(0x1b5)]=0x2711]=_0x5fe29(0x1b5),_0x34bc84[_0x34bc84[_0x5fe29(0x226)]=0x2712]=_0x5fe29(0x226),_0x34bc84[_0x34bc84[_0x5fe29(0x26f)]=0x2713]=_0x5fe29(0x26f),_0x34bc84[_0x34bc84[_0x5fe29(0x28d)]=0x2714]=_0x5fe29(0x28d),_0x34bc84[_0x34bc84[_0x5fe29(0x1ec)]=-0x1]='UNRECOGNIZED',_0x34bc84))(_0x24e728||{}),_0x548eab=Object['defineProperty'],_0x3a213f=Object[_0x5fe29(0x1d1)],_0xfc784d=(_0x209276,_0x56ed13,_0x29b2cc,_0xf6704a)=>{for(var _0x46a504=_0xf6704a>0x1?void 0x0:_0xf6704a?_0x3a213f(_0x56ed13,_0x29b2cc):_0x56ed13,_0xe84cec=_0x209276['length']-0x1,_0x522ee3;_0xe84cec>=0x0;_0xe84cec--)(_0x522ee3=_0x209276[_0xe84cec])&&(_0x46a504=(_0xf6704a?_0x522ee3(_0x56ed13,_0x29b2cc,_0x46a504):_0x522ee3(_0x46a504))||_0x46a504);return _0xf6704a&&_0x46a504&&_0x548eab(_0x56ed13,_0x29b2cc,_0x46a504),_0x46a504;},_0x5dd411=(_0x9a537b,_0x4739f7)=>(_0x1cce57,_0x45e251)=>_0x4739f7(_0x1cce57,_0x45e251,_0x9a537b);_0x4768c7[_0x5fe29(0x2f8)]=class extends _0x524529[_0x5fe29(0x3e3)]{constructor(_0x14f18b,_0x38d2fb,_0x3a6441){const _0x40ee11=_0x5fe29;super(),this[_0x40ee11(0x251)]=_0x14f18b,this[_0x40ee11(0x22e)]=_0x38d2fb,this['_configService']=_0x3a6441;}async[_0x5fe29(0x2d6)](_0x2f35d0,_0x54bbc3,..._0x2621df){const _0x38f980=_0x5fe29;var _0x5aae2a,_0x28d3e8;const _0x3c2c5f=this[_0x38f980(0x251)][_0x38f980(0x229)]();if(!_0x3c2c5f)throw new Error(_0x38f980(0x1a7));const _0x1d3744=((_0x5aae2a=this[_0x38f980(0x38a)][_0x38f980(0x3c3)](_0xfc7012[_0x38f980(0x279)]))!=null?_0x5aae2a:_0xfc7012[_0x38f980(0x35c)])+'/'+_0x2f35d0+'/run/'+_0x54bbc3,_0x4fc221=new URL(window['location']['href']),_0x4c348f={'scriptId':_0x2f35d0,'runId':(_0x28d3e8=_0x4fc221[_0x38f980(0x397)][_0x38f980(0x21d)]('runId'))!=null?_0x28d3e8:'','function':_0x54bbc3,'unitId':_0x3c2c5f[_0x38f980(0x3e8)](),'argsOfFunction':JSON['stringify'](_0x2621df)};try{const _0x19a9ab=await this[_0x38f980(0x22e)]['post'](_0x1d3744,{'body':_0x4c348f});return!(_0x19a9ab['body'][_0x38f980(0x1be)]&&_0x19a9ab[_0x38f980(0x3df)][_0x38f980(0x1be)]['code']!==_0x24e728['OK']);}catch{return!0x1;}}},_0x4768c7['RemoteUniscriptService']=_0xfc784d([_0x5dd411(0x0,_0x524529[_0x5fe29(0x383)]),_0x5dd411(0x1,_0x524529[_0x5fe29(0x3ab)](_0x57276e[_0x5fe29(0x3a4)])),_0x5dd411(0x2,_0x524529[_0x5fe29(0x3c7)])],_0x4768c7[_0x5fe29(0x2f8)]),_0x4768c7['CollaborationStatusDisplay']=_0x138f48,_0x4768c7[_0x5fe29(0x28e)]=_0x3a23fa,_0x4768c7[_0x5fe29(0x28c)]=_0x5c6578,_0x4768c7[_0x5fe29(0x340)]=_0x3186b7,_0x4768c7[_0x5fe29(0x236)]=_0x31b07f,Object[_0x5fe29(0x409)](_0x4768c7,Symbol[_0x5fe29(0x1c8)],{'value':'Module'});}));
|