@univerjs-pro/collaboration-client-ui 0.8.0-nightly.202505261607 → 0.8.0-nightly.202505271607
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/facade.js +1 -1
- package/lib/index.js +1 -1
- package/lib/locale/en-US.js +1 -1
- package/lib/locale/fa-IR.js +1 -1
- package/lib/locale/fr-FR.js +1 -1
- package/lib/locale/ru-RU.js +1 -1
- package/lib/locale/vi-VN.js +1 -1
- package/lib/locale/zh-CN.js +1 -1
- package/lib/locale/zh-TW.js +1 -1
- package/lib/umd/facade.js +1 -1
- package/lib/umd/index.js +1 -1
- package/lib/umd/locale/en-US.js +1 -1
- package/lib/umd/locale/fa-IR.js +1 -1
- package/lib/umd/locale/fr-FR.js +1 -1
- package/lib/umd/locale/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 +17 -17
package/lib/umd/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
function _0x4ca4(_0x366c08,_0x3eb4ab){const _0x5a91f0=_0x5a91();return _0x4ca4=function(_0x4ca4fe,_0x47bf14){_0x4ca4fe=_0x4ca4fe-0x71;let _0x531780=_0x5a91f0[_0x4ca4fe];return _0x531780;},_0x4ca4(_0x366c08,_0x3eb4ab);}(function(_0x5a7695,_0x59eb04){const _0x9eb1ca=_0x4ca4,_0x17bb8d=_0x5a7695();while(!![]){try{const _0x1fb620=-parseInt(_0x9eb1ca(0x27a))/0x1*(parseInt(_0x9eb1ca(0xf8))/0x2)+parseInt(_0x9eb1ca(0x1c3))/0x3+parseInt(_0x9eb1ca(0x218))/0x4*(parseInt(_0x9eb1ca(0xd6))/0x5)+-parseInt(_0x9eb1ca(0x27d))/0x6+parseInt(_0x9eb1ca(0xc0))/0x7+-parseInt(_0x9eb1ca(0x1b8))/0x8+parseInt(_0x9eb1ca(0x93))/0x9*(parseInt(_0x9eb1ca(0x251))/0xa);if(_0x1fb620===_0x59eb04)break;else _0x17bb8d['push'](_0x17bb8d['shift']());}catch(_0x59b60e){_0x17bb8d['push'](_0x17bb8d['shift']());}}}(_0x5a91,0x633ef),function(_0x4376e0,_0x2183e2){const _0x370eb7=_0x4ca4;typeof exports=='object'&&typeof module<'u'?_0x2183e2(exports,require(_0x370eb7(0x79)),require(_0x370eb7(0x8e)),require('@univerjs/engine-render'),require(_0x370eb7(0x29c)),require(_0x370eb7(0x2ec)),require(_0x370eb7(0x1a0)),require('rxjs'),require(_0x370eb7(0x2f6)),require('@univerjs-pro/collaboration'),require(_0x370eb7(0x9e)),require(_0x370eb7(0xd4)),require('rxjs/operators'),require(_0x370eb7(0xb1)),require(_0x370eb7(0x81)),require(_0x370eb7(0x1d3)),require('@univerjs/design'),require('react'),require(_0x370eb7(0x308))):typeof define==_0x370eb7(0x309)&&define[_0x370eb7(0x279)]?define([_0x370eb7(0x2bc),_0x370eb7(0x79),_0x370eb7(0x8e),'@univerjs/engine-render',_0x370eb7(0x29c),_0x370eb7(0x2ec),_0x370eb7(0x1a0),'rxjs',_0x370eb7(0x2f6),_0x370eb7(0x284),_0x370eb7(0x9e),_0x370eb7(0xd4),'rxjs/operators',_0x370eb7(0xb1),_0x370eb7(0x81),_0x370eb7(0x1d3),_0x370eb7(0x285),_0x370eb7(0x187),_0x370eb7(0x308)],_0x2183e2):(_0x4376e0=typeof globalThis<'u'?globalThis:_0x4376e0||self,_0x2183e2(_0x4376e0[_0x370eb7(0x2d2)]={},_0x4376e0['UniverProCollaborationClient'],_0x4376e0[_0x370eb7(0x1db)],_0x4376e0[_0x370eb7(0x9a)],_0x4376e0[_0x370eb7(0xe2)],_0x4376e0[_0x370eb7(0x2d5)],_0x4376e0[_0x370eb7(0x2d1)],_0x4376e0[_0x370eb7(0x182)],_0x4376e0[_0x370eb7(0x109)],_0x4376e0[_0x370eb7(0x111)],_0x4376e0['UniverEngineFormula'],_0x4376e0[_0x370eb7(0x7e)],_0x4376e0[_0x370eb7(0x182)][_0x370eb7(0x21f)],_0x4376e0[_0x370eb7(0xd9)],_0x4376e0[_0x370eb7(0x1cf)],_0x4376e0['UniverUi'],_0x4376e0[_0x370eb7(0x142)],_0x4376e0['React'],_0x4376e0['UniverRpc']));}(this,function(_0x17d51e,_0x4de101,_0x1ea30e,_0x51bd,_0x107c73,_0x3d290f,_0x48e4a0,_0x2fa692,_0x50f4df,_0x4846b4,_0x138154,_0x2a46f1,_0x54b237,_0x295ed8,_0x222161,_0x1055b6,_0x42d6da,_0x24e835,_0x29b637){'use strict';const _0x20c03e=_0x4ca4;var _0x543369=Object[_0x20c03e(0xff)],_0x1f482a=(_0x53ae40,_0x315ebc,_0x2e66aa)=>_0x315ebc in _0x53ae40?_0x543369(_0x53ae40,_0x315ebc,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x2e66aa}):_0x53ae40[_0x315ebc]=_0x2e66aa,_0x2bd54b=(_0xd9860c,_0x2f1076,_0x3cb5df)=>_0x1f482a(_0xd9860c,typeof _0x2f1076!=_0x20c03e(0x155)?_0x2f1076+'':_0x2f1076,_0x3cb5df),_0x4be8d4=Object['getOwnPropertyDescriptor'],_0x2f40f7=(_0x3accd1,_0x4cdf01,_0x588682,_0x1f8cb9)=>{const _0x5383d9=_0x20c03e;for(var _0x1a2fe2=_0x1f8cb9>0x1?void 0x0:_0x1f8cb9?_0x4be8d4(_0x4cdf01,_0x588682):_0x4cdf01,_0x27d276=_0x3accd1[_0x5383d9(0x265)]-0x1,_0xd36fba;_0x27d276>=0x0;_0x27d276--)(_0xd36fba=_0x3accd1[_0x27d276])&&(_0x1a2fe2=_0xd36fba(_0x1a2fe2)||_0x1a2fe2);return _0x1a2fe2;},_0x25d2ba=(_0x3ca797,_0x2b85b3)=>(_0x119b6a,_0x374e27)=>_0x2b85b3(_0x119b6a,_0x374e27,_0x3ca797);let _0x108035=class extends _0x1ea30e[_0x20c03e(0x1cd)]{constructor(_0x313b7a,_0x2c739d){const _0x25d822=_0x20c03e;super(),this[_0x25d822(0x19b)]=_0x313b7a,this[_0x25d822(0x1a8)]=_0x2c739d,this['_init']();}[_0x20c03e(0x18a)](){const _0x5d2505=_0x20c03e,_0x50a51e=this;this[_0x5d2505(0x16e)](this[_0x5d2505(0x19b)][_0x5d2505(0x297)]({'onBeforePasteImage':async _0x4928fa=>{const _0x2b3ff4=_0x5d2505,_0xc8404c=await _0x50a51e[_0x2b3ff4(0x1a8)]['saveImage'](_0x4928fa);return _0xc8404c?{'source':_0xc8404c[_0x2b3ff4(0x2ed)],'imageSourceType':_0xc8404c[_0x2b3ff4(0x1f7)]}:null;}}));}};_0x108035=_0x2f40f7([_0x25d2ba(0x0,_0x3d290f[_0x20c03e(0x1a1)]),_0x25d2ba(0x1,_0x48e4a0[_0x20c03e(0x236)])],_0x108035);const _0x14866c=[_0x20c03e(0xa6),_0x20c03e(0x2a8),'green.600',_0x20c03e(0x12e),'blue.400',_0x20c03e(0x224)];class _0x50e5b0 extends _0x1ea30e[_0x20c03e(0x186)]{constructor(){const _0x4498b1=_0x20c03e;super(...arguments),_0x2bd54b(this,_0x4498b1(0x253),new Map()),_0x2bd54b(this,_0x4498b1(0x1a7),0x0);}[_0x20c03e(0x304)](_0x4f20a5){const _0x384806=_0x20c03e;if(this[_0x384806(0x253)][_0x384806(0x21a)](_0x4f20a5))return this[_0x384806(0x253)]['get'](_0x4f20a5);const _0x56f8b0=_0x14866c[this['_colorIndex']];return this[_0x384806(0x1a7)]=(this[_0x384806(0x1a7)]+0x1)%_0x14866c['length'],this[_0x384806(0x253)][_0x384806(0x296)](_0x4f20a5,_0x56f8b0),_0x56f8b0;}}function _0x1002a5(_0x3ceee0){const _0x131a75=_0x20c03e;let _0x33f6c7='';for(const _0x43be8e of _0x3ceee0){const {startOffset:_0x304d3e,endOffset:_0xf42c1f,isActive:_0x14f116,rangeType:_0x5531b0,segmentId:_0x13e3cd,segmentPage:_0x13decd}=_0x43be8e;_0x33f6c7[_0x131a75(0x265)]&&(_0x33f6c7+=','),_0x33f6c7+=_0x304d3e+':'+_0xf42c1f+':'+(_0x14f116?'1':'0')+':'+_0x5531b0+':'+_0x13e3cd+':'+_0x13decd;}return _0x33f6c7;}function _0x48aad5(_0x4f8520){const _0x4e9f54=_0x20c03e,_0x4a85f5=_0x4f8520[_0x4e9f54(0x209)](','),_0x4bbd08=[];for(const _0x561ba6 of _0x4a85f5){const [_0x517718,_0x39e5d5,_0x3448a8,_0x3bf8bd,_0xe6d6b9,_0x4a6022]=_0x561ba6[_0x4e9f54(0x209)](':');_0x4bbd08[_0x4e9f54(0x2be)]({'startOffset':Number(_0x517718),'endOffset':Number(_0x39e5d5),'collapsed':_0x517718===_0x39e5d5,'isActive':_0x3448a8==='1','rangeType':_0x3bf8bd===_0x1ea30e[_0x4e9f54(0x140)][_0x4e9f54(0x11f)]?_0x1ea30e[_0x4e9f54(0x140)][_0x4e9f54(0x11f)]:_0x1ea30e[_0x4e9f54(0x140)]['RECT'],'segmentId':typeof _0xe6d6b9=='string'?String(_0xe6d6b9):'','segmentPage':Number(_0x4a6022!=null?_0x4a6022:-0x1)});}return _0x4bbd08[_0x4e9f54(0xea)](_0x223dfa=>_0x223dfa[_0x4e9f54(0xb6)])||(_0x4bbd08[0x0][_0x4e9f54(0xb6)]=!0x0),_0x4bbd08;}class _0x4f3239 extends _0x1ea30e[_0x20c03e(0x1cd)]{constructor(){const _0x2ae367=_0x20c03e;super(...arguments),_0x2bd54b(this,_0x2ae367(0x1e8),new _0x2fa692[(_0x2ae367(0x168))](null)),_0x2bd54b(this,'collabCursorState$',this[_0x2ae367(0x1e8)]['asObservable']());}[_0x20c03e(0x1be)](_0x133ee6){const _0x33557b=_0x20c03e,{unitID:_0x533d52,memberID:_0x46fde2,textRanges:_0x1ecae7}=_0x133ee6,_0x2c0c02=_0x1002a5(_0x1ecae7);if(_0x2c0c02==='')return;const _0x37f80b={'unitID':_0x533d52,'memberID':_0x46fde2,'selection':_0x2c0c02};this['_collabCursorState$'][_0x33557b(0x20a)](_0x37f80b);}}var _0x1f4d62=Object[_0x20c03e(0x1ec)],_0x5852e2=(_0x1ad251,_0x12ff3d,_0x32f9e0,_0x4b9b40)=>{for(var _0x1ab4de=_0x4b9b40>0x1?void 0x0:_0x4b9b40?_0x1f4d62(_0x12ff3d,_0x32f9e0):_0x12ff3d,_0x6ea55c=_0x1ad251['length']-0x1,_0x12ca3d;_0x6ea55c>=0x0;_0x6ea55c--)(_0x12ca3d=_0x1ad251[_0x6ea55c])&&(_0x1ab4de=_0x12ca3d(_0x1ab4de)||_0x1ab4de);return _0x1ab4de;},_0x51ce48=(_0x43b54f,_0x3f3207)=>(_0x46468f,_0x5b4174)=>_0x3f3207(_0x46468f,_0x5b4174,_0x43b54f);const _0xc0f6b8=0x12c,_0x5a41a3=0x64;let _0xa5a314=class extends _0x1ea30e[_0x20c03e(0x1cd)]{constructor(_0xd09176,_0xca7b8d,_0x1cd912,_0x310c7f,_0x5cea98,_0x1d15a7,_0x49c97b,_0x24f734,_0x27551b){const _0x277f2e=_0x20c03e;super(),_0x2bd54b(this,'_online',!0x1),_0x2bd54b(this,_0x277f2e(0x18a),!0x1),_0x2bd54b(this,_0x277f2e(0x258),new _0x2fa692[(_0x277f2e(0x168))](new Map())),_0x2bd54b(this,'cursorInfo$',this['_cursorInfo$'][_0x277f2e(0x2e8)]()),_0x2bd54b(this,_0x277f2e(0x190),new _0x2fa692[(_0x277f2e(0x168))]([])),_0x2bd54b(this,_0x277f2e(0xe0),this[_0x277f2e(0x190)][_0x277f2e(0x242)](_0x2fa692['debounceTime'](_0xc0f6b8))),_0x2bd54b(this,'_updateLocalCursor',_0x1ea30e[_0x277f2e(0x1d8)](_0x28412b=>{const _0x2d81ed=_0x277f2e,_0x2a857e={'eventID':_0x4846b4['CollaborationEvent']['UPDATE_CURSOR'],'data':{'unitID':this[_0x2d81ed(0x131)],'memberID':this[_0x2d81ed(0x2a4)]['getMemberID'](),'selection':_0x1002a5(_0x28412b)}};this[_0x2d81ed(0x2a4)][_0x2d81ed(0xfe)](_0x2a857e,this['unitID']);},_0x5a41a3)),(this['unitID']=_0xd09176,this[_0x277f2e(0x2a4)]=_0xca7b8d,this[_0x277f2e(0x7a)]=_0x1cd912,this['_colorAssignService']=_0x310c7f,this[_0x277f2e(0x235)]=_0x5cea98,this['_syncEditingCollabCursorService']=_0x1d15a7,this[_0x277f2e(0x2fc)]=_0x49c97b,this[_0x277f2e(0x212)]=_0x24f734,this[_0x277f2e(0xe8)]=_0x27551b);}get[_0x20c03e(0x22c)](){const _0x42a195=_0x20c03e;return this[_0x42a195(0x258)]['getValue']();}get[_0x20c03e(0xaf)](){const _0x426a9e=_0x20c03e;return this[_0x426a9e(0x190)]['getValue']();}[_0x20c03e(0x204)](){const _0x3dff5e=_0x20c03e;super[_0x3dff5e(0x204)](),this[_0x3dff5e(0x258)]['next'](new Map()),this[_0x3dff5e(0x258)][_0x3dff5e(0x27c)](),this['_roomMembers$'][_0x3dff5e(0x20a)]([]),this[_0x3dff5e(0x190)]['complete']();}[_0x20c03e(0x13e)](){const _0x5e2f3a=_0x20c03e;this[_0x5e2f3a(0x18a)]||(this[_0x5e2f3a(0x18a)]=!0x0,this[_0x5e2f3a(0x2a4)][_0x5e2f3a(0x1aa)][_0x5e2f3a(0x242)](_0x2fa692[_0x5e2f3a(0x1e1)](this[_0x5e2f3a(0x98)]))[_0x5e2f3a(0xa2)](_0x279bb3=>{const _0x1e5146=_0x5e2f3a;_0x279bb3===_0x4de101['SessionStatus'][_0x1e5146(0x25a)]?this[_0x1e5146(0x128)]():this['_toggleOffline']();}),this[_0x5e2f3a(0x2a4)][_0x5e2f3a(0x264)][_0x5e2f3a(0x242)](_0x2fa692[_0x5e2f3a(0x1e1)](this['dispose$']))[_0x5e2f3a(0xa2)](_0x1e86cc=>{const _0x157232=_0x5e2f3a,_0x4edb51=_0x1e86cc[_0x157232(0x1b2)];_0x4edb51===_0x4846b4[_0x157232(0x1d1)][_0x157232(0x20b)]&&this[_0x157232(0xd3)](_0x1e86cc),_0x4edb51===_0x4846b4[_0x157232(0x1d1)][_0x157232(0x1bf)]&&this[_0x157232(0x1fe)](_0x1e86cc);}),this[_0x5e2f3a(0x16e)](this[_0x5e2f3a(0xe8)][_0x5e2f3a(0xfb)](_0x2f8171=>{const _0x29abfa=_0x5e2f3a,_0x2a1a59=_0x2f8171[_0x29abfa(0x231)];_0x2a1a59!=null&&this[_0x29abfa(0x2ba)]&&_0x2f8171['id']===_0x50f4df[_0x29abfa(0xf6)]['id']&&_0x2a1a59[_0x29abfa(0x1d9)]===this['unitID']&&_0x2a1a59[_0x29abfa(0x1d7)]===!0x1&&_0x2a1a59[_0x29abfa(0x18b)][_0x29abfa(0x265)]>0x0&&this['_updateLocalCursor'](_0x2a1a59[_0x29abfa(0x18b)]);})),this[_0x5e2f3a(0x2b5)][_0x5e2f3a(0x295)][_0x5e2f3a(0x242)](_0x2fa692[_0x5e2f3a(0x1e1)](this[_0x5e2f3a(0x98)]))['subscribe'](_0x409842=>{if((_0x409842==null?void 0x0:_0x409842['unitID'])!==this['unitID'])return;const _0x4b89d8={'eventID':_0x4846b4['CollaborationEvent']['UPDATE_CURSOR'],'data':_0x409842};this['_onCursorUpdate'](_0x4b89d8);}),this[_0x5e2f3a(0x16e)](this[_0x5e2f3a(0xe8)]['onCommandExecuted'](_0x687ec=>{const _0x5829ff=_0x5e2f3a;if(_0x687ec[_0x5829ff(0x231)]==null)return;const _0x191ca5=_0x687ec[_0x5829ff(0x231)];if(_0x687ec['id']!==_0x50f4df[_0x5829ff(0x108)]['id']||_0x191ca5[_0x5829ff(0x1d9)]!==this[_0x5829ff(0x131)])return;const _0x4b71b5={'id':'doc.mutation.rich-text-editing','params':_0x191ca5},_0x3790cc=this['cursorInfo'];for(const [_0x58d623,_0x4560c3]of _0x3790cc){const _0x1ff80c={'id':_0x5829ff(0x2a6),'params':{'unitId':this[_0x5829ff(0x131)],'actions':null,'textRanges':_0x4560c3[_0x5829ff(0x18b)]}},_0xebdfe8=this[_0x5829ff(0x2fc)][_0x5829ff(0x23a)](_0x4b71b5,_0x1ff80c,!0x1);if(_0x4846b4[_0x5829ff(0x239)](_0xebdfe8))throw _0xebdfe8['error'];_0x3790cc['set'](_0x58d623,{..._0x4560c3,'ranges':_0xebdfe8[_0x5829ff(0x1bc)][_0x5829ff(0x231)]['textRanges']});}queueMicrotask(()=>{const _0x1ec979=_0x5829ff;this[_0x1ec979(0x258)][_0x1ec979(0x20a)](_0x3790cc);});})));}['_onCursorUpdate'](_0x2dbb7c){const _0x37dbf3=_0x20c03e;var _0x474237,_0x3f8b7e;const {memberID:_0x2f886e,selection:_0x38ea66}=_0x2dbb7c[_0x37dbf3(0x1f6)],_0x52b7a7=_0x48aad5(_0x38ea66),_0x5bac34=(_0x3f8b7e=(_0x474237=this[_0x37dbf3(0x235)][_0x37dbf3(0x1d2)](this[_0x37dbf3(0x131)],_0x2f886e))==null?void 0x0:_0x474237[_0x37dbf3(0x1c6)])!=null?_0x3f8b7e:_0x37dbf3(0x171),_0x187e56={'color':this[_0x37dbf3(0x1e9)][_0x37dbf3(0x304)](_0x2f886e),'name':_0x5bac34,'ranges':_0x52b7a7},_0x42cffb=this[_0x37dbf3(0x22c)];_0x42cffb['set'](_0x2f886e,_0x187e56),this[_0x37dbf3(0x258)][_0x37dbf3(0x20a)](_0x42cffb);}['_onCursorDelete'](_0x23f86e){const _0x16a068=_0x20c03e,{memberID:_0x562afc}=_0x23f86e[_0x16a068(0x1f6)],_0xc238e9=this[_0x16a068(0x22c)];_0xc238e9[_0x16a068(0xaa)](_0x562afc),this[_0x16a068(0x258)][_0x16a068(0x20a)](_0xc238e9);}[_0x20c03e(0x128)](){const _0x1579fe=_0x20c03e;var _0x42dcf4;if(this[_0x1579fe(0x2ba)]=!0x0,((_0x42dcf4=this[_0x1579fe(0x212)]['getFocusedUnit']())==null?void 0x0:_0x42dcf4[_0x1579fe(0x17a)]())!==this[_0x1579fe(0x131)])return;const _0x519336=this[_0x1579fe(0x7a)]['get'](_0x50f4df['DocSelectionManagerService'])[_0x1579fe(0x2e7)]();Array[_0x1579fe(0x1fb)](_0x519336)&&_0x519336[_0x1579fe(0x265)]>0x0&&this[_0x1579fe(0x1a2)](_0x519336);}[_0x20c03e(0x153)](){const _0xdd2f7a=_0x20c03e;this[_0xdd2f7a(0x2ba)]=!0x1;}};_0xa5a314=_0x5852e2([_0x51ce48(0x2,_0x1ea30e[_0x20c03e(0x175)](_0x1ea30e[_0x20c03e(0x259)])),_0x51ce48(0x3,_0x1ea30e[_0x20c03e(0x175)](_0x50e5b0)),_0x51ce48(0x4,_0x1ea30e['Inject'](_0x4de101['MemberService'])),_0x51ce48(0x5,_0x1ea30e[_0x20c03e(0x175)](_0x4f3239)),_0x51ce48(0x6,_0x4846b4[_0x20c03e(0xab)]),_0x51ce48(0x7,_0x1ea30e[_0x20c03e(0x11c)]),_0x51ce48(0x8,_0x1ea30e[_0x20c03e(0x180)])],_0xa5a314);var _0x3ce54f=Object[_0x20c03e(0x1ec)],_0x2c8281=(_0x5b9b67,_0x43793c,_0xae9c66,_0x31ece9)=>{const _0xf9d1b=_0x20c03e;for(var _0x2b8532=_0x31ece9>0x1?void 0x0:_0x31ece9?_0x3ce54f(_0x43793c,_0xae9c66):_0x43793c,_0x5f319a=_0x5b9b67[_0xf9d1b(0x265)]-0x1,_0x4c4505;_0x5f319a>=0x0;_0x5f319a--)(_0x4c4505=_0x5b9b67[_0x5f319a])&&(_0x2b8532=_0x4c4505(_0x2b8532)||_0x2b8532);return _0x2b8532;},_0x324a5b=(_0x198ba0,_0x22db1f)=>(_0x316f6d,_0x48353d)=>_0x22db1f(_0x316f6d,_0x48353d,_0x198ba0);const _0x125072=0x12c,_0x2e346d=0x64,_0x2d2af6=()=>{let _0x165ca2=[],_0xa897ab=!0x1;return _0x9df164=>{const _0x2839b5=_0x4ca4;_0x165ca2[_0x2839b5(0x2be)](_0x9df164),_0xa897ab||(_0xa897ab=!0x0,setTimeout(()=>{_0x165ca2['forEach'](_0x3357ba=>_0x3357ba()),_0x165ca2=[],_0xa897ab=!0x1;}));};};let _0x17ce4c=class extends _0x1ea30e[_0x20c03e(0x1cd)]{constructor(_0x4ed365,_0x2f8178,_0x5cc1da,_0x385e51,_0x2414e7,_0x59ad4f,_0x4760b3,_0x2464da){const _0x3e3098=_0x20c03e;super(),_0x2bd54b(this,'_online',!0x1),_0x2bd54b(this,'_init',!0x1),_0x2bd54b(this,_0x3e3098(0x258),new _0x2fa692[(_0x3e3098(0x168))](new Map())),_0x2bd54b(this,_0x3e3098(0x232),this[_0x3e3098(0x258)]['asObservable']()),_0x2bd54b(this,_0x3e3098(0x190),new _0x2fa692[(_0x3e3098(0x168))]([])),_0x2bd54b(this,_0x3e3098(0xe0),this[_0x3e3098(0x190)][_0x3e3098(0x242)](_0x2fa692['debounceTime'](_0x125072))),_0x2bd54b(this,_0x3e3098(0x1a2),_0x1ea30e[_0x3e3098(0x1d8)]((_0x157f5f,_0x499bdc)=>{const _0x58667d=_0x3e3098,_0x517913={'eventID':_0x4846b4['CollaborationEvent']['UPDATE_CURSOR'],'data':{'unitID':this[_0x58667d(0x131)],'memberID':this['_session'][_0x58667d(0x26d)](),'selection':_0x138154[_0x58667d(0x1e2)](_0x157f5f,_0x499bdc['range'])}};this[_0x58667d(0x2a4)][_0x58667d(0xfe)](_0x517913,this[_0x58667d(0x131)]);},_0x2e346d)),(this[_0x3e3098(0x131)]=_0x4ed365,this['_session']=_0x2f8178,this[_0x3e3098(0x7a)]=_0x5cc1da,this[_0x3e3098(0x1e9)]=_0x385e51,this[_0x3e3098(0x235)]=_0x2414e7,this[_0x3e3098(0x212)]=_0x59ad4f,this[_0x3e3098(0xe8)]=_0x4760b3,this[_0x3e3098(0xad)]=_0x2464da);}get[_0x20c03e(0x22c)](){return this['_cursorInfo$']['getValue']();}get[_0x20c03e(0xaf)](){const _0x134792=_0x20c03e;return this[_0x134792(0x190)][_0x134792(0x178)]();}[_0x20c03e(0x204)](){const _0x34e93f=_0x20c03e;super['dispose'](),this[_0x34e93f(0x258)]['next'](new Map()),this[_0x34e93f(0x258)][_0x34e93f(0x27c)](),this[_0x34e93f(0x190)][_0x34e93f(0x20a)]([]),this['_roomMembers$'][_0x34e93f(0x27c)]();}[_0x20c03e(0x13e)](){const _0x254632=_0x20c03e;this[_0x254632(0x18a)]||(this[_0x254632(0x18a)]=!0x0,this[_0x254632(0x2a4)][_0x254632(0x1aa)][_0x254632(0x242)](_0x2fa692['takeUntil'](this[_0x254632(0x98)]))['subscribe'](_0x341f77=>{const _0x5b554a=_0x254632;_0x341f77===_0x4de101[_0x5b554a(0x14e)][_0x5b554a(0x25a)]?this[_0x5b554a(0x128)]():this[_0x5b554a(0x153)]();}),this['_session'][_0x254632(0x264)][_0x254632(0x242)](_0x2fa692[_0x254632(0x1e1)](this[_0x254632(0x98)]))[_0x254632(0xa2)](_0x3b6304=>{const _0xf3711=_0x254632,_0x4ce3e7=_0x3b6304[_0xf3711(0x1b2)];_0x4ce3e7===_0x4846b4[_0xf3711(0x1d1)]['UPDATE_CURSOR']&&this[_0xf3711(0xd3)](_0x3b6304),_0x4ce3e7===_0x4846b4[_0xf3711(0x1d1)]['USERS_LEAVE']&&this['_onCursorDelete'](_0x3b6304);}),this[_0x254632(0x106)](),this[_0x254632(0x16e)](this['_commandService'][_0x254632(0xfb)](_0x5527a4=>{const _0x376ee8=_0x254632;if(this[_0x376ee8(0x2ba)]&&_0x5527a4['id']===_0x2a46f1['SetSelectionsOperation']['id']&&_0x5527a4[_0x376ee8(0x231)][_0x376ee8(0x1d9)]===this[_0x376ee8(0x131)]){const _0x4b095d=_0x5527a4[_0x376ee8(0x231)];this['_updateLocalCursor'](_0x4b095d['subUnitId'],_0x4b095d['selections'][0x0]);}})));}['_onCursorUpdate'](_0x12c510){const _0x572810=_0x20c03e;var _0x4dd4a4,_0x257d9c;const {memberID:_0x5b9cb8,selection:_0x50e944}=_0x12c510[_0x572810(0x1f6)],{sheetName:_0x195b2b,range:_0x824d8f}=_0x138154['deserializeRangeWithSheet'](_0x50e944),_0x3824ff={'name':(_0x257d9c=(_0x4dd4a4=this['_memberService']['getMember'](this[_0x572810(0x131)],_0x5b9cb8))==null?void 0x0:_0x4dd4a4[_0x572810(0x1c6)])!=null?_0x257d9c:'Unknown\x20user','range':this[_0x572810(0x22e)](_0x195b2b,_0x824d8f),'sheetID':_0x195b2b,'color':this[_0x572810(0x1e9)][_0x572810(0x304)](_0x5b9cb8),'selection':_0x50e944},_0xdf8831=this[_0x572810(0x22c)];_0xdf8831[_0x572810(0x296)](_0x5b9cb8,_0x3824ff),this[_0x572810(0x258)]['next'](_0xdf8831);}[_0x20c03e(0x1fe)](_0x450738){const _0x4d5f1e=_0x20c03e,{memberID:_0x19cf8c}=_0x450738['data'],_0x127823=this[_0x4d5f1e(0x22c)];_0x127823['delete'](_0x19cf8c),this[_0x4d5f1e(0x258)][_0x4d5f1e(0x20a)](_0x127823);}[_0x20c03e(0x22e)](_0x33649f,_0x567bb3){const _0x588394=_0x20c03e;var _0x486ebd,_0x30b44b;const _0x14b811=(_0x30b44b=(_0x486ebd=this[_0x588394(0x212)]['getUniverSheetInstance'](this[_0x588394(0x131)]))==null?void 0x0:_0x486ebd[_0x588394(0x10c)](_0x33649f))==null?void 0x0:_0x30b44b[_0x588394(0x2f8)]();return(_0x14b811==null?void 0x0:_0x14b811[_0x588394(0xdd)](_0x5d22c9=>_0x1ea30e[_0x588394(0x269)][_0x588394(0x207)](_0x5d22c9,_0x567bb3)))||_0x567bb3;}[_0x20c03e(0x106)](){const _0x1c5470=_0x20c03e,_0x4a60d2=new _0x1ea30e[(_0x1c5470(0x129))](),_0x5c1a48=_0x2d2af6(),_0x194546=()=>{const _0x201e24=_0x1c5470;_0x4a60d2[_0x201e24(0x204)]();const _0xc83e7=(_0x5601f7,_0x4eaf6d,_0x330267,_0x30a6bb)=>{const _0x25d70f=_0x201e24;let _0x4079d0=[];switch(_0x5601f7['id']){case _0x2a46f1['EffectRefRangId'][_0x25d70f(0xb2)]:{_0x4079d0=_0x2a46f1['handleDeleteRangeMoveLeft'](_0x5601f7,_0x30a6bb);break;}case _0x2a46f1[_0x25d70f(0x275)][_0x25d70f(0x302)]:{_0x4079d0=_0x2a46f1['handleDeleteRangeMoveUp'](_0x5601f7,_0x30a6bb);break;}case _0x2a46f1[_0x25d70f(0x275)][_0x25d70f(0x163)]:{_0x4079d0=_0x2a46f1[_0x25d70f(0x20f)](_0x5601f7,_0x30a6bb);break;}case _0x2a46f1[_0x25d70f(0x275)][_0x25d70f(0x25c)]:{_0x4079d0=_0x2a46f1[_0x25d70f(0x221)](_0x5601f7,_0x30a6bb);break;}case _0x2a46f1[_0x25d70f(0x275)][_0x25d70f(0x170)]:{_0x4079d0=_0x2a46f1['handleInsertRangeMoveRight'](_0x5601f7,_0x30a6bb);break;}case _0x2a46f1[_0x25d70f(0x275)]['InsertRowCommandId']:{_0x4079d0=_0x2a46f1[_0x25d70f(0x92)](_0x5601f7,_0x30a6bb);break;}case _0x2a46f1['EffectRefRangId'][_0x25d70f(0x87)]:{_0x4079d0=_0x2a46f1[_0x25d70f(0x16d)](_0x5601f7,_0x30a6bb);break;}case _0x2a46f1[_0x25d70f(0x275)][_0x25d70f(0x25d)]:{_0x4079d0=_0x2a46f1[_0x25d70f(0x1a6)](_0x5601f7,_0x30a6bb);break;}case _0x2a46f1['EffectRefRangId'][_0x25d70f(0x183)]:{_0x4079d0=_0x2a46f1[_0x25d70f(0x19f)](_0x5601f7,_0x30a6bb);break;}}const _0x52f393=_0x2a46f1[_0x25d70f(0x15c)](_0x4079d0,_0x30a6bb),_0x4a4c07=this[_0x25d70f(0x22c)][_0x25d70f(0x2d9)](_0x4eaf6d);if(_0x4a4c07&&_0x52f393){const _0x136493={..._0x4a4c07,'range':_0x52f393};this[_0x25d70f(0x22c)][_0x25d70f(0x296)](_0x4eaf6d,_0x136493),_0x5c1a48(()=>{const _0xebb3f2=_0x25d70f,_0x56a657=this[_0xebb3f2(0xad)][_0xebb3f2(0x146)](_0x52f393,_0x149c61=>(_0x56a657[_0xebb3f2(0x204)](),_0xc83e7(_0x149c61,_0x4eaf6d,_0x330267,_0x52f393)));_0x4a60d2[_0xebb3f2(0x1ee)](_0x56a657);});}return{'redos':[],'undos':[]};};this[_0x201e24(0x22c)]['forEach']((_0x533aad,_0x16448d)=>{const _0x3936b0=_0x201e24,{range:_0x2591ed,sheetID:_0x1a5e4c}=_0x533aad,_0x2047be=this[_0x3936b0(0xad)][_0x3936b0(0x146)](_0x2591ed,_0x968ec8=>(_0x2047be['dispose'](),_0xc83e7(_0x968ec8,_0x16448d,_0x1a5e4c,_0x2591ed)));_0x4a60d2['add'](_0x2047be);});};this[_0x1c5470(0x16e)](_0x1ea30e[_0x1c5470(0x2a2)](this[_0x1c5470(0x258)][_0x1c5470(0xa2)](()=>{_0x194546();})));}[_0x20c03e(0x128)](){const _0x4cc68a=_0x20c03e;var _0x57d094,_0x2ddb3a;if(this[_0x4cc68a(0x2ba)]=!0x0,((_0x57d094=this[_0x4cc68a(0x212)][_0x4cc68a(0x1b3)]())==null?void 0x0:_0x57d094[_0x4cc68a(0x17a)]())!==this[_0x4cc68a(0x131)])return;const _0x52b3c3=(_0x2ddb3a=this['_injector'][_0x4cc68a(0x2d9)](_0x2a46f1[_0x4cc68a(0x16a)])[_0x4cc68a(0x17b)]())==null?void 0x0:_0x2ddb3a[0x0],_0x25791f=this['_univerInstanceService'][_0x4cc68a(0x165)](_0x1ea30e[_0x4cc68a(0x237)]['UNIVER_SHEET'])['getActiveSheet']();_0x52b3c3&&_0x25791f&&this['_updateLocalCursor'](_0x25791f[_0x4cc68a(0x1b6)](),_0x52b3c3);}[_0x20c03e(0x153)](){this['_online']=!0x1;}};_0x17ce4c=_0x2c8281([_0x324a5b(0x2,_0x1ea30e['Inject'](_0x1ea30e[_0x20c03e(0x259)])),_0x324a5b(0x3,_0x1ea30e[_0x20c03e(0x175)](_0x50e5b0)),_0x324a5b(0x4,_0x1ea30e['Inject'](_0x4de101[_0x20c03e(0x1f2)])),_0x324a5b(0x5,_0x1ea30e[_0x20c03e(0x11c)]),_0x324a5b(0x6,_0x1ea30e[_0x20c03e(0x180)]),_0x324a5b(0x7,_0x1ea30e['Inject'](_0x2a46f1[_0x20c03e(0x97)]))],_0x17ce4c);var _0x378e3f=Object[_0x20c03e(0x1ec)],_0x29edcc=(_0x317b14,_0x2551cf,_0x23235c,_0x4df98d)=>{const _0x405d0e=_0x20c03e;for(var _0x304764=_0x4df98d>0x1?void 0x0:_0x4df98d?_0x378e3f(_0x2551cf,_0x23235c):_0x2551cf,_0x3d9b3d=_0x317b14[_0x405d0e(0x265)]-0x1,_0x23306c;_0x3d9b3d>=0x0;_0x3d9b3d--)(_0x23306c=_0x317b14[_0x3d9b3d])&&(_0x304764=_0x23306c(_0x304764)||_0x304764);return _0x304764;},_0x1251ad=(_0x488f3f,_0x4ddeca)=>(_0x960875,_0xc18845)=>_0x4ddeca(_0x960875,_0xc18845,_0x488f3f);let _0xf10618=class extends _0x1ea30e[_0x20c03e(0x1cd)]{constructor(_0x454d30,_0x3985d7,_0x440ff9){const _0x585554=_0x20c03e;super(),_0x2bd54b(this,'_entities',new Map()),_0x2bd54b(this,_0x585554(0x188),new _0x2fa692[(_0x585554(0xca))]()),(this[_0x585554(0x212)]=_0x454d30,this[_0x585554(0x7a)]=_0x3985d7,this[_0x585554(0x1d6)]=_0x440ff9,this[_0x585554(0x18a)]());}['dispose'](){const _0x5a71bb=_0x20c03e;super[_0x5a71bb(0x204)](),this[_0x5a71bb(0x188)][_0x5a71bb(0x27c)](),this[_0x5a71bb(0x282)][_0x5a71bb(0x1ea)](_0x29e54f=>_0x29e54f['dispose']());}[_0x20c03e(0x1f0)](_0x156b48){const _0x31ae2d=_0x20c03e;return this[_0x31ae2d(0x282)][_0x31ae2d(0x21a)](_0x156b48)?this['_entities'][_0x31ae2d(0x2d9)](_0x156b48)[_0x31ae2d(0x232)]:this[_0x31ae2d(0x188)][_0x31ae2d(0x242)](_0x2fa692[_0x31ae2d(0x136)](_0x2a565c=>_0x2a565c[_0x31ae2d(0x131)]===_0x156b48),_0x2fa692[_0x31ae2d(0x132)](_0x5b5d9a=>_0x5b5d9a['cursorInfo$']));}[_0x20c03e(0x18a)](){const _0x3c329a=_0x20c03e;this['_univerInstanceService'][_0x3c329a(0x160)](_0x1ea30e[_0x3c329a(0x237)][_0x3c329a(0x115)])['pipe'](_0x2fa692[_0x3c329a(0x1e1)](this[_0x3c329a(0x98)]))[_0x3c329a(0xa2)](async _0x1a47b8=>{const _0x4d6953=_0x3c329a,_0x20624f=_0x1a47b8[_0x4d6953(0x17a)](),_0x25baa2=await this[_0x4d6953(0x2bf)](_0x20624f);this[_0x4d6953(0x188)][_0x4d6953(0x20a)](_0x25baa2),this[_0x4d6953(0x282)][_0x4d6953(0x296)](_0x20624f,_0x25baa2);}),this['_univerInstanceService'][_0x3c329a(0x160)](_0x1ea30e[_0x3c329a(0x237)][_0x3c329a(0xc9)])[_0x3c329a(0x242)](_0x2fa692[_0x3c329a(0x1e1)](this['dispose$']))[_0x3c329a(0x242)](_0x2fa692[_0x3c329a(0x136)](_0x4de418=>!_0x4de418['getUnitId']()[_0x3c329a(0x270)]('__')))[_0x3c329a(0xa2)](async _0x2dbc4d=>{const _0x20c7fb=_0x3c329a,_0x5027a4=_0x2dbc4d[_0x20c7fb(0x17a)](),_0x56ff97=await this[_0x20c7fb(0x230)](_0x5027a4);this[_0x20c7fb(0x188)][_0x20c7fb(0x20a)](_0x56ff97),this[_0x20c7fb(0x282)][_0x20c7fb(0x296)](_0x5027a4,_0x56ff97);}),_0x2fa692[_0x3c329a(0x1dc)](this['_univerInstanceService']['getTypeOfUnitDisposed$'](_0x1ea30e[_0x3c329a(0x237)]['UNIVER_DOC']),this[_0x3c329a(0x212)][_0x3c329a(0x2fd)](_0x1ea30e[_0x3c329a(0x237)][_0x3c329a(0x115)]))['pipe'](_0x2fa692['takeUntil'](this['dispose$']))[_0x3c329a(0xa2)](_0x20b6bd=>{const _0x36f20a=_0x3c329a,_0x570110=_0x20b6bd['getUnitId'](),_0x31b1d0=this[_0x36f20a(0x282)][_0x36f20a(0x2d9)](_0x570110);_0x31b1d0&&(_0x31b1d0['dispose'](),this['_entities'][_0x36f20a(0xaa)](_0x570110));});}async[_0x20c03e(0x2bf)](_0x1ebdb4){const _0x3b97e4=_0x20c03e,_0x5e7b41=await this[_0x3b97e4(0x1d6)][_0x3b97e4(0x1f1)](_0x1ebdb4),_0x96895=this[_0x3b97e4(0x7a)][_0x3b97e4(0x1d0)](_0x17ce4c,_0x1ebdb4,_0x5e7b41);return _0x96895[_0x3b97e4(0x13e)](),_0x96895;}async[_0x20c03e(0x230)](_0x16990){const _0x5bc58d=_0x20c03e,_0x2a197c=await this[_0x5bc58d(0x1d6)][_0x5bc58d(0x1f1)](_0x16990),_0x442c3a=this['_injector'][_0x5bc58d(0x1d0)](_0xa5a314,_0x16990,_0x2a197c);return _0x442c3a[_0x5bc58d(0x13e)](),_0x442c3a;}};_0xf10618=_0x29edcc([_0x1251ad(0x0,_0x1ea30e[_0x20c03e(0x11c)]),_0x1251ad(0x1,_0x1ea30e['Inject'](_0x1ea30e[_0x20c03e(0x259)])),_0x1251ad(0x2,_0x1ea30e[_0x20c03e(0x175)](_0x4de101['CollaborationSessionService']))],_0xf10618);const _0xcca96=0x14,_0x4dc4f7=0xc8,_0x1b7f10=0x4,_0x229c5d=0x5;function _0x81cfb1(_0x2db7cd,_0x50a496){const _0x32e66e=_0x20c03e;let {radius:_0x238cc6,width:_0x65d853,height:_0x5c10df}=_0x50a496;_0x238cc6=_0x238cc6!=null?_0x238cc6:0x0,_0x65d853=_0x65d853!=null?_0x65d853:0x1e,_0x5c10df=_0x5c10df!=null?_0x5c10df:0x1e;let _0x14e2b7=0x0,_0x51cc9b=0x0,_0x579da6=0x0;_0x14e2b7=_0x51cc9b=_0x579da6=Math['min'](_0x238cc6,_0x65d853/0x2,_0x5c10df/0x2),_0x2db7cd['beginPath'](),_0x2db7cd[_0x32e66e(0x29b)](_0x14e2b7,0x0),_0x2db7cd[_0x32e66e(0x2e2)](_0x65d853-_0x51cc9b,0x0),_0x2db7cd['arc'](_0x65d853-_0x51cc9b,_0x51cc9b,_0x51cc9b,Math['PI']*0x3/0x2,0x0,!0x1),_0x2db7cd[_0x32e66e(0x2e2)](_0x65d853,_0x5c10df-_0x579da6),_0x2db7cd['arc'](_0x65d853-_0x579da6,_0x5c10df-_0x579da6,_0x579da6,0x0,Math['PI']/0x2,!0x1),_0x2db7cd[_0x32e66e(0x2e2)](0x0,_0x5c10df),_0x2db7cd['lineTo'](0x0,_0x14e2b7),_0x2db7cd[_0x32e66e(0xc1)](_0x14e2b7,_0x14e2b7,_0x14e2b7,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x2db7cd[_0x32e66e(0xe6)](),_0x50a496[_0x32e66e(0x158)]&&(_0x2db7cd[_0x32e66e(0x217)](),_0x2db7cd[_0x32e66e(0x2f0)]=_0x50a496[_0x32e66e(0x158)],_0x50a496[_0x32e66e(0x257)]===_0x32e66e(0x166)?_0x2db7cd[_0x32e66e(0x158)](_0x32e66e(0x166)):_0x2db7cd[_0x32e66e(0x158)](),_0x2db7cd[_0x32e66e(0x19a)]());}class _0x497aaf extends _0x51bd[_0x20c03e(0x2ac)]{constructor(_0x3c755a,_0x1f462b){const _0x284d22=_0x20c03e;super(_0x3c755a,_0x1f462b),_0x2bd54b(this,_0x284d22(0x179)),_0x2bd54b(this,_0x284d22(0x123)),(this['color']=_0x1f462b==null?void 0x0:_0x1f462b[_0x284d22(0x179)],this['text']=_0x1f462b==null?void 0x0:_0x1f462b[_0x284d22(0x123)]);}static[_0x20c03e(0x15f)](_0x36a966,_0x4ca740){const _0x52c7e9=_0x20c03e,{text:_0x13cadc,color:_0x1326f9}=_0x4ca740;_0x36a966['save'](),_0x36a966[_0x52c7e9(0xd1)]='bold\x2013px\x20Source\x20Han\x20Sans\x20CN';const _0x2fb610=_0x36a966[_0x52c7e9(0x2b4)](_0x13cadc)[_0x52c7e9(0xbe)],_0x46d96f=Math[_0x52c7e9(0x2b2)](_0x2fb610+0x2*_0x1b7f10,_0x4dc4f7);_0x81cfb1(_0x36a966,{'height':_0xcca96,'radius':0x4,'width':_0x46d96f,'fill':_0x1326f9}),_0x36a966[_0x52c7e9(0x2f0)]=_0x52c7e9(0x8b);const _0x46ebc3=_0x1b7f10,_0xeb8ae=_0xcca96-_0x229c5d,_0xbcbba8=_0x4dc4f7-0x2*_0x1b7f10;if(_0x2fb610>_0xbcbba8){let _0x2e45ce='',_0x2f8bdd=0x0;for(const _0xb42868 of _0x13cadc){const _0x41678e=_0x36a966[_0x52c7e9(0x2b4)](_0xb42868)[_0x52c7e9(0xbe)];if(_0x2f8bdd+_0x41678e<=_0xbcbba8-_0x36a966[_0x52c7e9(0x2b4)](_0x52c7e9(0x1f5))[_0x52c7e9(0xbe)])_0x2e45ce+=_0xb42868,_0x2f8bdd+=_0x41678e;else{_0x2e45ce+=_0x52c7e9(0x1f5);break;}}_0x36a966[_0x52c7e9(0x151)](_0x2e45ce,_0x46ebc3,_0xeb8ae);}else _0x36a966['fillText'](_0x13cadc,_0x46ebc3,_0xeb8ae);_0x36a966[_0x52c7e9(0x19a)]();}[_0x20c03e(0x1af)](_0x59448e){_0x497aaf['drawWith'](_0x59448e,this);}}const _0x21fbcb=_0x20c03e(0x2ff),_0x45281c=_0x20c03e(0x24a),_0x73d941=_0x20c03e(0x2ce),_0x15ac69=0x6,_0x2e3c30=1.5,_0x137aba=0x4,_0x23173b=1.5,_0x32233a=_0x20c03e(0x83);class _0x11768f{constructor(_0x47e2d0,_0x115913,_0x5cee3e,_0x3376ab){const _0x466cd8=_0x20c03e;_0x2bd54b(this,_0x466cd8(0x143),[]),_0x2bd54b(this,_0x466cd8(0xe5),null),_0x2bd54b(this,'_textBubble',null),_0x2bd54b(this,_0x466cd8(0x95),null),_0x2bd54b(this,_0x466cd8(0x127),null),_0x2bd54b(this,_0x466cd8(0xf3),null),(this['_cursor']=_0x47e2d0,this['_scene']=_0x115913,this[_0x466cd8(0x1b5)]=_0x5cee3e,this[_0x466cd8(0x77)]=_0x3376ab,this[_0x466cd8(0xc8)]());}set[_0x20c03e(0x26c)](_0x205035){const _0x306579=_0x20c03e;_0x205035?(this['_anchorDot']&&this[_0x306579(0x95)][_0x306579(0xbb)](),this[_0x306579(0x2a3)]&&this[_0x306579(0x2a3)][_0x306579(0x2e5)]()):(this['_anchorDot']&&this['_anchorDot'][_0x306579(0x2e5)](),this[_0x306579(0x2a3)]&&this['_textBubble'][_0x306579(0xbb)]());}[_0x20c03e(0x204)](){const _0x565054=_0x20c03e;for(const _0x23b140 of this[_0x565054(0x143)])_0x23b140[_0x565054(0x204)]();this[_0x565054(0x2a3)]&&this[_0x565054(0x2a3)]['dispose'](),this[_0x565054(0x95)]&&this['_anchorDot'][_0x565054(0x204)](),this['_anchor']&&this[_0x565054(0xe5)][_0x565054(0x204)](),this['_eventUnsubscribe']&&this['_eventUnsubscribe']();}['_render'](){const _0x45aa1f=_0x20c03e;var _0x3dc498;const {_docSkeleton:_0x2e379a,_document:_0x1ff3d4}=this,{color:_0x2a866e,name:_0x2b4889,ranges:_0x3c1a5d}=this[_0x45aa1f(0x17f)],_0x307574=_0x1ff3d4[_0x45aa1f(0x2da)](),{docsLeft:_0x51020b,docsTop:_0x34d9fb}=_0x307574,_0x175c78=new _0x3d290f[(_0x45aa1f(0x29f))](_0x307574,_0x2e379a);for(const {startOffset:_0x4ec394,endOffset:_0x1a06b1,rangeType:_0x56c0c3,segmentId:_0x367fbe,segmentPage:_0x2643d3,collapsed:_0x552af8,isActive:_0x3af4de}of _0x3c1a5d){const _0x57f8e5=_0x2e379a[_0x45aa1f(0x2c7)](_0x4ec394,!0x0,_0x367fbe,_0x2643d3);let _0x379562=_0x2e379a['findNodePositionByCharIndex'](_0x1a06b1,!0x0,_0x367fbe,_0x2643d3);if(_0x379562==null&&(_0x379562=_0x2e379a[_0x45aa1f(0x2c7)](_0x1a06b1-0x1,!0x1,_0x367fbe,_0x2643d3)),_0x3af4de){const {contentBoxPointGroup:_0x458e59}=_0x175c78[_0x45aa1f(0x201)](_0x379562,_0x379562);if(_0x458e59['length']===0x0)continue;this['_drawAnchor'](_0x2a866e,_0x458e59,_0x51020b,_0x34d9fb,_0x2b4889),this[_0x45aa1f(0xf3)]=this[_0x45aa1f(0x104)]();}if(_0x57f8e5&&_0x379562){if(_0x56c0c3===_0x1ea30e[_0x45aa1f(0x140)][_0x45aa1f(0x169)]){const _0x5d511e=new _0x3d290f[(_0x45aa1f(0x13f))](_0x307574,_0x2e379a),{pointGroup:_0x5d5a82}=(_0x3dc498=_0x5d511e[_0x45aa1f(0x201)](_0x57f8e5,_0x379562))!=null?_0x3dc498:{};if(_0x5d5a82==null||_0x5d5a82['length']===0x0)continue;this['_drawRectRange'](_0x2a866e,_0x5d5a82,_0x51020b,_0x34d9fb);}else{if(!_0x552af8){const {borderBoxPointGroup:_0xa9f852}=_0x175c78[_0x45aa1f(0x201)](_0x57f8e5,_0x379562);if(_0xa9f852[_0x45aa1f(0x265)]===0x0)continue;this[_0x45aa1f(0x2f3)](_0x2a866e,_0xa9f852,_0x51020b,_0x34d9fb);}}}}}[_0x20c03e(0x255)](_0x3cbb27,_0x24132a,_0x27af73,_0x493305,_0x5eb0de){const _0xa3c2da=_0x20c03e,_0x46a1ad=this['_getAnchorBounding'](_0x24132a),{left:_0x2e0c8c,top:_0x8fe905,height:_0x280290}=_0x46a1ad,_0x4eea48=this[_0xa3c2da(0x99)](),_0x13777c=_0x23173b/_0x4eea48,_0x2da1f9=new _0x51bd['Rect'](_0x21fbcb+_0x1ea30e[_0xa3c2da(0x206)][_0xa3c2da(0xcd)](_0x15ac69),{'left':_0x2e0c8c+_0x27af73-_0x13777c,'top':_0x8fe905+_0x493305,'height':_0x280290,'width':_0x2e3c30,'fill':_0x3cbb27||_0x51bd[_0xa3c2da(0xf2)](_0x1ea30e[_0xa3c2da(0x249)][_0xa3c2da(0x24f)],0x0),'strokeWidth':_0x13777c,'stroke':_0x32233a,'evented':!0x0});this['_anchor']=_0x2da1f9,this[_0xa3c2da(0x24d)][_0xa3c2da(0x139)](_0x2da1f9,_0x3d290f[_0xa3c2da(0xe3)]);const _0x2ab874=new _0x51bd['Rect'](_0x21fbcb+_0x1ea30e[_0xa3c2da(0x206)][_0xa3c2da(0xcd)](_0x15ac69),{'left':_0x2e0c8c+_0x27af73-_0x13777c,'top':_0x8fe905+_0x493305-_0x137aba/0x2,'height':_0x137aba,'width':_0x137aba,'fill':_0x3cbb27||_0x51bd['getColor'](_0x1ea30e[_0xa3c2da(0x249)]['black'],0x0),'strokeWidth':0x0,'stroke':_0x3cbb27||_0x51bd[_0xa3c2da(0xf2)](_0x1ea30e[_0xa3c2da(0x249)][_0xa3c2da(0x24f)],0x0),'evented':!0x1});this[_0xa3c2da(0x95)]=_0x2ab874,this[_0xa3c2da(0x24d)][_0xa3c2da(0x139)](_0x2ab874,_0x3d290f[_0xa3c2da(0xe3)]);const _0xa5bbee=new _0x497aaf(_0x21fbcb+_0x1ea30e[_0xa3c2da(0x206)][_0xa3c2da(0xcd)](_0x15ac69),{'left':_0x2e0c8c+_0x27af73-_0x13777c,'top':_0x8fe905+_0x493305-_0xcca96,'text':_0x5eb0de,'color':_0x3cbb27});this['_textBubble']=_0xa5bbee,this[_0xa3c2da(0x24d)][_0xa3c2da(0x139)](_0xa5bbee,_0x3d290f[_0xa3c2da(0xe3)]),this[_0xa3c2da(0x26c)]=!0x1;}['_handleHover'](){const _0x264dec=_0x20c03e,_0x45da0f=this[_0x264dec(0xe5)][_0x264dec(0x2e0)][_0x264dec(0x28a)](()=>{this['_hover']=!0x0;}),_0x19481c=this[_0x264dec(0xe5)]['onPointerLeave$'][_0x264dec(0x28a)](()=>{const _0x54702b=_0x264dec;this[_0x54702b(0x127)]&&clearTimeout(this[_0x54702b(0x127)]),this['_hideTimer']=setTimeout(()=>{this['_hover']=!0x1;},0x7d0);});return()=>{const _0x3e8cef=_0x264dec;_0x45da0f[_0x3e8cef(0x1c7)](),_0x19481c[_0x3e8cef(0x1c7)]();};}[_0x20c03e(0x2f3)](_0x5ddd14,_0x348932,_0x3d416f,_0xd3099a){const _0x4c81d2=_0x20c03e,_0x3bfba1=new _0x1ea30e[(_0x4c81d2(0x23b))](_0x5ddd14)['setAlpha'](0.2)['toRgbString'](),_0x210717=new _0x51bd[(_0x4c81d2(0x205))](_0x45281c+_0x1ea30e['Tools'][_0x4c81d2(0xcd)](_0x15ac69),{'pointsGroup':_0x348932,'fill':_0x3bfba1||_0x51bd[_0x4c81d2(0xf2)](_0x1ea30e['COLORS'][_0x4c81d2(0x24f)],0.2),'left':_0x3d416f,'top':_0xd3099a,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x4c81d2(0x143)]['push'](_0x210717),this[_0x4c81d2(0x24d)][_0x4c81d2(0x139)](_0x210717,_0x3d290f[_0x4c81d2(0xe3)]);}[_0x20c03e(0x176)](_0x438d91,_0x580bf3,_0x172c66,_0x4bb8db){const _0x290d33=_0x20c03e,_0x10353e=new _0x1ea30e['ColorKit'](_0x438d91)[_0x290d33(0x2f1)](0.2)[_0x290d33(0x189)](),_0x4e9ba8=new _0x51bd[(_0x290d33(0x205))](_0x73d941+_0x1ea30e['Tools'][_0x290d33(0xcd)](_0x15ac69),{'pointsGroup':_0x580bf3,'fill':_0x10353e||_0x51bd['getColor'](_0x1ea30e['COLORS'][_0x290d33(0x24f)],0.2),'left':_0x172c66,'top':_0x4bb8db,'evented':!0x1,'debounceParentDirty':!0x1});this['_shapes'][_0x290d33(0x2be)](_0x4e9ba8),this['_scene']['addObject'](_0x4e9ba8,_0x3d290f[_0x290d33(0xe3)]);}[_0x20c03e(0x299)](_0x548cb5){const _0xae56a6=_0x548cb5[0x0],_0xb6b5e9=_0xae56a6[0x0],_0x34164c=_0xae56a6[0x2],{x:_0x88dc3b,y:_0x2ec7e7}=_0xb6b5e9,{x:_0x20dfd0,y:_0x426dfa}=_0x34164c;return{'left':_0x88dc3b,'top':_0x2ec7e7,'width':_0x20dfd0-_0x88dc3b,'height':_0x426dfa-_0x2ec7e7};}['_getScale'](){const _0x517f5=_0x20c03e,{scaleX:_0x32cfeb,scaleY:_0x4cf9dc}=this[_0x517f5(0x24d)][_0x517f5(0xae)]();return Math[_0x517f5(0x28e)](_0x32cfeb,_0x4cf9dc);}}var _0x4a530c=Object[_0x20c03e(0x1ec)],_0xeb084e=(_0x73f26c,_0x1c04bf,_0x282f13,_0x489707)=>{const _0x46847c=_0x20c03e;for(var _0x311273=_0x489707>0x1?void 0x0:_0x489707?_0x4a530c(_0x1c04bf,_0x282f13):_0x1c04bf,_0xb6a465=_0x73f26c[_0x46847c(0x265)]-0x1,_0x172d11;_0xb6a465>=0x0;_0xb6a465--)(_0x172d11=_0x73f26c[_0xb6a465])&&(_0x311273=_0x172d11(_0x311273)||_0x311273);return _0x311273;},_0x4f14cf=(_0x332e2f,_0x10a7a7)=>(_0x273933,_0x3842b8)=>_0x10a7a7(_0x273933,_0x3842b8,_0x332e2f);let _0x3a6721=class extends _0x1ea30e[_0x20c03e(0x1cd)]{constructor(_0x36f36e,_0x551b99,_0x560f9f,_0x2f7380,_0x39e321){const _0x390c1d=_0x20c03e;super(),_0x2bd54b(this,'_cursorShapes',[]),_0x2bd54b(this,_0x390c1d(0xf1),[]),(this[_0x390c1d(0x102)]=_0x36f36e,this['_docSkeletonManagerService']=_0x551b99,this[_0x390c1d(0x288)]=_0x560f9f,this['_commandService']=_0x2f7380,this[_0x390c1d(0x116)]=_0x39e321,this[_0x390c1d(0x18a)]());}[_0x20c03e(0x18a)](){const _0x18d135=_0x20c03e,_0x54dda6=this[_0x18d135(0x102)][_0x18d135(0x1d9)],_0x3df902=this[_0x18d135(0x14f)];this[_0x18d135(0x16e)](_0x2fa692['combineLatest']([this[_0x18d135(0x288)][_0x18d135(0x1f0)](_0x54dda6),this[_0x18d135(0x116)][_0x18d135(0x149)]])['pipe'](_0x54b237[_0x18d135(0x2e6)](([_0x2ff53f,_0x4ff341])=>({'skeleton':_0x3df902[_0x18d135(0x121)](),'cursors':[..._0x2ff53f[_0x18d135(0x254)]()][_0x18d135(0x200)](_0x203069=>({..._0x203069,'color':this[_0x18d135(0x116)][_0x18d135(0x198)](_0x203069[_0x18d135(0x179)])}))})))[_0x18d135(0xa2)](_0x461b48=>{const _0x202442=_0x18d135;if(this['_removeCollabCursors'](),_0x461b48){const {skeleton:_0x3b2913,cursors:_0x3e3f0d}=_0x461b48;this[_0x202442(0x268)](_0x3b2913,_0x3e3f0d);}})),this[_0x18d135(0x164)](),this['_initCommandExecutedListener']();}[_0x20c03e(0x268)](_0x4594bd,_0x485eac){const _0x1a2833=_0x20c03e,{scene:_0x7e4b28,mainComponent:_0x5d749d}=this['_context'],_0xd921ef=_0x485eac['map'](_0xc32dd=>new _0x11768f(_0xc32dd,_0x7e4b28,_0x4594bd,_0x5d749d));this['_cursorShapes']=_0xd921ef,this[_0x1a2833(0xf1)]=_0x485eac;}[_0x20c03e(0x298)](){const _0x2b361b=_0x20c03e;this[_0x2b361b(0x8d)]();const {scene:_0x200ce8,mainComponent:_0x480b66}=this['_context'],_0x8d2c80=this[_0x2b361b(0x14f)][_0x2b361b(0x121)](),_0x2ac1c5=this[_0x2b361b(0xf1)]['map'](_0x468d14=>new _0x11768f(_0x468d14,_0x200ce8,_0x8d2c80,_0x480b66));this[_0x2b361b(0x21e)]=_0x2ac1c5;}['_removeCollabCursors'](){const _0x1248d6=_0x20c03e;this['_cursorShapes'][_0x1248d6(0x1ea)](_0x71bc8a=>_0x71bc8a[_0x1248d6(0x204)]()),this[_0x1248d6(0x21e)]=[];}[_0x20c03e(0x227)](){const _0x1811a5=_0x20c03e,_0x41b942=[_0x3d290f[_0x1811a5(0x1a4)]['id']];this[_0x1811a5(0x16e)](this[_0x1811a5(0xe8)][_0x1811a5(0xfb)](_0x2ea9d0=>{const _0x2714f8=_0x1811a5;_0x41b942[_0x2714f8(0x2ca)](_0x2ea9d0['id'])&&_0x2ea9d0[_0x2714f8(0x231)][_0x2714f8(0x1d9)]===this[_0x2714f8(0x102)]['unitId']&&this[_0x2714f8(0x298)]();}));}['_initResize'](){const _0x3e4e33=_0x20c03e;this[_0x3e4e33(0x16e)](_0x1ea30e['fromEventSubject'](this[_0x3e4e33(0x102)][_0x3e4e33(0xbd)]['onTransformChange$'])['pipe'](_0x54b237['filter'](_0x585854=>_0x585854['type']===_0x51bd[_0x3e4e33(0x184)][_0x3e4e33(0x147)]),_0x54b237[_0x3e4e33(0x172)](0x10))['subscribe'](()=>{const _0x202576=_0x3e4e33;this[_0x202576(0x298)]();}));}};_0x3a6721=_0xeb084e([_0x4f14cf(0x1,_0x1ea30e[_0x20c03e(0x175)](_0x50f4df['DocSkeletonManagerService'])),_0x4f14cf(0x2,_0x1ea30e[_0x20c03e(0x175)](_0xf10618)),_0x4f14cf(0x3,_0x1ea30e[_0x20c03e(0x180)]),_0x4f14cf(0x4,_0x1ea30e[_0x20c03e(0x175)](_0x1ea30e['ThemeService']))],_0x3a6721);const _0x4c6416=0x1,_0x1cdcfe=1.5;class _0x27a2e9 extends _0x51bd[_0x20c03e(0x2ac)]{constructor(_0x3c392c,_0x877555){const _0x1a6f31=_0x20c03e;super(_0x3c392c,_0x877555),_0x2bd54b(this,'_color'),_0x2bd54b(this,_0x1a6f31(0xdb),!0x1),_0x2bd54b(this,_0x1a6f31(0x2fa)),_0x2bd54b(this,'_name',''),_0x2bd54b(this,_0x1a6f31(0x2c5),_0x1a6f31(0x17e)),_0x2bd54b(this,'_backgroundColor'),(_0x877555&&this['setShapeProps'](_0x877555),this[_0x1a6f31(0x2e0)][_0x1a6f31(0x28a)](()=>this[_0x1a6f31(0x101)]({'hovered':!0x0})),this[_0x1a6f31(0x74)][_0x1a6f31(0x28a)](()=>this[_0x1a6f31(0x101)]({'hovered':!0x1})));}[_0x20c03e(0x101)](_0x522585){const _0x44fe4c=_0x20c03e;var _0x12db53,_0x502d32,_0x18e73b,_0x5831f8,_0x235f65,_0x11090f;this['_color']=(_0x12db53=_0x522585[_0x44fe4c(0x179)])!=null?_0x12db53:this[_0x44fe4c(0x228)],this[_0x44fe4c(0xdb)]=(_0x502d32=_0x522585['hovered'])!=null?_0x502d32:this[_0x44fe4c(0xdb)],this[_0x44fe4c(0x2fa)]=(_0x18e73b=_0x522585[_0x44fe4c(0x1e3)])!=null?_0x18e73b:this['_range'],this[_0x44fe4c(0x100)]=(_0x5831f8=_0x522585[_0x44fe4c(0x1c6)])!=null?_0x5831f8:this[_0x44fe4c(0x100)],this[_0x44fe4c(0x2c5)]=(_0x235f65=_0x522585[_0x44fe4c(0x1eb)])!=null?_0x235f65:this[_0x44fe4c(0x2c5)],this[_0x44fe4c(0x267)]=(_0x11090f=_0x522585[_0x44fe4c(0x271)])!=null?_0x11090f:this[_0x44fe4c(0x267)],this[_0x44fe4c(0x174)]({'width':_0x522585[_0x44fe4c(0xbe)],'height':_0x522585[_0x44fe4c(0x2ae)]});}[_0x20c03e(0x1bb)](_0x576091){const _0x1e79a2=_0x20c03e,{row:_0x1e0516,column:_0x451bdf}=_0x576091;if(_0x1e0516>=this[_0x1e79a2(0x2fa)][_0x1e79a2(0xf4)]&&_0x1e0516<=this[_0x1e79a2(0x2fa)][_0x1e79a2(0x75)]&&_0x451bdf>=this['_range']['startColumn']&&_0x451bdf<=this[_0x1e79a2(0x2fa)][_0x1e79a2(0x12c)]){this[_0x1e79a2(0x101)]({'hovered':!0x0});return;}this['setShapeProps']({'hovered':!0x1});}['triggerDblclick'](_0x4730d1){return!0x1;}[_0x20c03e(0x1af)](_0x5a03c2){const _0x153058=_0x20c03e;_0x51bd[_0x153058(0x2b3)][_0x153058(0x15f)](_0x5a03c2,{'width':this['width'],'height':this[_0x153058(0x2ae)],'strokeWidth':_0x1cdcfe,'stroke':this[_0x153058(0x228)],'evented':!0x1,'fill':this[_0x153058(0x267)]}),this['_hovered']&&(_0x5a03c2[_0x153058(0x217)](),_0x5a03c2[_0x153058(0x2c4)](0x1,0x0,0x0,0x1,this[_0x153058(0xbe)],this[_0x153058(0x2c5)]==='bottom'?0x0:-0x14),_0x497aaf[_0x153058(0x15f)](_0x5a03c2,{'text':this['_name'],'color':this[_0x153058(0x228)]}),_0x5a03c2['restore']());}}var _0x32c6cb=Object[_0x20c03e(0x1ec)],_0x3514b4=(_0x2c4276,_0x184025,_0x344741,_0x2a6f1d)=>{const _0x4e224e=_0x20c03e;for(var _0x117fc8=_0x2a6f1d>0x1?void 0x0:_0x2a6f1d?_0x32c6cb(_0x184025,_0x344741):_0x184025,_0xb2c761=_0x2c4276[_0x4e224e(0x265)]-0x1,_0x4d6ea4;_0xb2c761>=0x0;_0xb2c761--)(_0x4d6ea4=_0x2c4276[_0xb2c761])&&(_0x117fc8=_0x4d6ea4(_0x117fc8)||_0x117fc8);return _0x117fc8;},_0x383516=(_0x33e971,_0x123454)=>(_0x4c7619,_0x48e14b)=>_0x123454(_0x4c7619,_0x48e14b,_0x33e971);const _0x8a8b78=0x1389;let _0x203172=class extends _0x1ea30e[_0x20c03e(0x1cd)]{constructor(_0x4bd3e4,_0x306888,_0x20b9da,_0x47380d){const _0x29277d=_0x20c03e;super(),_0x2bd54b(this,_0x29277d(0xf1),new Set()),_0x2bd54b(this,_0x29277d(0x8f),null),(this[_0x29277d(0x102)]=_0x4bd3e4,this[_0x29277d(0x29e)]=_0x306888,this[_0x29277d(0x288)]=_0x20b9da,this[_0x29277d(0x116)]=_0x47380d,this[_0x29277d(0x18a)]());}[_0x20c03e(0x18a)](){const _0x44b594=_0x20c03e;this['_sheetSkeletonManagerService'][_0x44b594(0x8c)]['pipe'](_0x54b237[_0x44b594(0x1e1)](this[_0x44b594(0x98)]),_0x54b237[_0x44b594(0x132)](_0x48efe3=>{const _0x4fba6d=_0x44b594;if(_0x48efe3){const _0x86d24=_0x48efe3[_0x4fba6d(0x11a)];return _0x2fa692['combineLatest'](this[_0x4fba6d(0x288)][_0x4fba6d(0x1f0)](this[_0x4fba6d(0x102)]['unitId']),this[_0x4fba6d(0x116)][_0x4fba6d(0x149)])['pipe'](_0x54b237['map'](([_0x496d6e,_0xa8c86c])=>{const _0x1f8a97=new Map();return _0x496d6e['forEach']((_0x3c9732,_0x5e06f5)=>{const _0xf68f1=_0x4ca4;if(_0x3c9732['sheetID']===_0x86d24){const _0x331e6f={..._0x3c9732};_0x331e6f[_0xf68f1(0x179)]=this[_0xf68f1(0x116)]['getColorFromTheme'](_0x3c9732['color']),_0x1f8a97[_0xf68f1(0x296)](_0x5e06f5,_0x331e6f);}}),{'skeleton':_0x48efe3,'cursors':_0x1f8a97};}));}return _0x2fa692['of']({'skeleton':null,'cursors':new Map()});}))['subscribe'](({skeleton:_0x2b531f,cursors:_0x4fb165})=>{const _0x11d9b6=_0x44b594;this[_0x11d9b6(0x8d)](),_0x2b531f&&this[_0x11d9b6(0x268)](_0x2b531f,_0x4fb165);}),this[_0x44b594(0x29e)][_0x44b594(0x8c)][_0x44b594(0xa2)](_0x1c45af=>{const _0x3bdc3d=_0x44b594;if(_0x1c45af==null)return;const {skeleton:_0x1098d5}=_0x1c45af,{scene:_0xc73e30}=this['_context'];_0xc73e30[_0x3bdc3d(0xa0)][_0x3bdc3d(0x28a)](_0x1ea30e[_0x3bdc3d(0x1d8)](_0x1e3a4b=>{const _0x5cfbf6=_0x3bdc3d;var _0xfaff9f,_0x1a101f;const {offsetX:_0x2f1c6e,offsetY:_0x45f0e8}=_0x1e3a4b,{x:_0x2284ab,y:_0xf1306f}=_0xc73e30['getRelativeToViewportCoord'](_0x51bd[_0x5cfbf6(0x78)][_0x5cfbf6(0x2ab)]([_0x2f1c6e,_0x45f0e8])),{scaleX:_0x7a94e6,scaleY:_0x5bd9a9}=_0xc73e30['getAncestorScale'](),_0x492791=_0xc73e30['getViewport'](_0x51bd['SHEET_VIEWPORT_KEY'][_0x5cfbf6(0x15b)]),_0x4836ca=_0xc73e30[_0x5cfbf6(0x2b1)](_0x51bd[_0x5cfbf6(0x78)][_0x5cfbf6(0x2ab)]([_0x2284ab,_0xf1306f]),_0x492791),_0x226948=_0x1098d5[_0x5cfbf6(0x18d)](_0x2f1c6e,_0x45f0e8,_0x7a94e6,_0x5bd9a9,_0x4836ca);((_0xfaff9f=this[_0x5cfbf6(0x8f)])==null?void 0x0:_0xfaff9f[_0x5cfbf6(0x1ca)])===_0x226948[_0x5cfbf6(0x1ca)]&&((_0x1a101f=this[_0x5cfbf6(0x8f)])==null?void 0x0:_0x1a101f[_0x5cfbf6(0x210)])===_0x226948['row']||this[_0x5cfbf6(0xf1)]['forEach'](_0xe4aa21=>{_0xe4aa21['onMouseMove'](_0x226948);});},0x64));});}[_0x20c03e(0x268)](_0x122f7d,_0x7b85bf){const _0x26b46c=_0x20c03e;var _0x168f7b;const _0x59c069=(_0x168f7b=this['_sheetSkeletonManagerService'][_0x26b46c(0xed)]())==null?void 0x0:_0x168f7b[_0x26b46c(0x24e)];if(!_0x59c069)return;const _0x57ab06=this[_0x26b46c(0x120)]();if(!_0x57ab06)return;this[_0x26b46c(0xf1)][_0x26b46c(0x1ea)](_0x965e45=>{const _0x2e318c=_0x26b46c;_0x965e45[_0x2e318c(0x283)]();});const {scene:_0xd093aa}=_0x57ab06,_0x414297=_0x5daa3b(Array[_0x26b46c(0x1f9)](_0x7b85bf[_0x26b46c(0x254)]()))['map'](_0x12b1f9=>{const _0x2622b0=_0x26b46c,{color:_0x2503e7,range:_0x23461c,name:_0x5b9e7a,selection:_0x42f348,sheetID:_0x69e686}=_0x12b1f9,{startColumn:_0x1d2256,startRow:_0x1997cc,endColumn:_0x1e1e43,endRow:_0x19a677}=_0x23461c,_0x32f860=_0x295ed8['getCoordByCell'](_0x1997cc,_0x1d2256,_0xd093aa,_0x59c069),_0x47378b=_0x295ed8[_0x2622b0(0x29a)](_0x19a677,_0x1e1e43,_0xd093aa,_0x59c069),{columnHeaderHeightAndMarginTop:_0x14c809}=_0x59c069,{startX:_0x1a30f3,startY:_0x5ab828}=_0x32f860,{endX:_0x1705b1,endY:_0x498a82}=_0x47378b,_0x5f1e6f=_0x1705b1-_0x1a30f3,_0x3b718c=_0x498a82-_0x5ab828,_0x583029={'labelPosition':_0x5ab828-_0x14c809>=_0xcca96?_0x2622b0(0x17e):_0x2622b0(0x1c2),'sheetID':_0x69e686,'range':_0x23461c,'color':_0x2503e7,'name':_0x5b9e7a,'selection':_0x42f348,'left':_0x1a30f3,'top':_0x5ab828,'width':_0x5f1e6f,'height':_0x3b718c,'evented':!0x1,'zIndex':_0x8a8b78};return new _0x27a2e9(_0x5b9e7a,_0x583029);});_0xd093aa[_0x26b46c(0x280)](_0x414297,_0x4c6416),this[_0x26b46c(0xf1)]=new Set(_0x414297);}['_removeCollabCursors'](){const _0x1037f5=_0x20c03e;var _0x30f04c;(_0x30f04c=this[_0x1037f5(0xf1)])==null||_0x30f04c[_0x1037f5(0x1ea)](_0x28bb57=>_0x28bb57[_0x1037f5(0x204)]());}[_0x20c03e(0x120)](){const _0x2c591e=_0x20c03e;return _0x295ed8[_0x2c591e(0x18f)](this[_0x2c591e(0x102)][_0x2c591e(0x1a9)],this['_context']);}};_0x203172=_0x3514b4([_0x383516(0x1,_0x1ea30e[_0x20c03e(0x175)](_0x295ed8[_0x20c03e(0x1e4)])),_0x383516(0x2,_0x1ea30e['Inject'](_0xf10618)),_0x383516(0x3,_0x1ea30e[_0x20c03e(0x175)](_0x1ea30e['ThemeService']))],_0x203172);function _0x5daa3b(_0x35d052){const _0x37bba3=_0x20c03e,_0xe18408=new Map();return _0x35d052[_0x37bba3(0x1ea)](_0x5d9cb1=>{const _0x25e7c7=_0x37bba3;if(_0xe18408[_0x25e7c7(0x21a)](_0x5d9cb1[_0x25e7c7(0x30a)])){const _0x1fea1f=_0xe18408[_0x25e7c7(0x2d9)](_0x5d9cb1['selection']);_0x1fea1f[_0x25e7c7(0x1c6)]+=',\x20'+_0x5d9cb1[_0x25e7c7(0x1c6)];}else _0xe18408[_0x25e7c7(0x296)](_0x5d9cb1[_0x25e7c7(0x30a)],_0x5d9cb1);}),Array[_0x37bba3(0x1f9)](_0xe18408[_0x37bba3(0x254)]());}var _0x23354d=function(){const _0x353979=_0x20c03e;return _0x23354d=Object[_0x353979(0x281)]||function(_0x302738){const _0x462e6d=_0x353979;for(var _0x4c1430,_0x2d31b1=0x1,_0x49dcbe=arguments[_0x462e6d(0x265)];_0x2d31b1<_0x49dcbe;_0x2d31b1++){_0x4c1430=arguments[_0x2d31b1];for(var _0x1e38ea in _0x4c1430)Object['prototype'][_0x462e6d(0x28b)][_0x462e6d(0x1da)](_0x4c1430,_0x1e38ea)&&(_0x302738[_0x1e38ea]=_0x4c1430[_0x1e38ea]);}return _0x302738;},_0x23354d[_0x353979(0x154)](this,arguments);},_0x148798=function(_0x33d1d2,_0x49e502){const _0x3a9876=_0x20c03e;var _0x757a2a={};for(var _0x2c3372 in _0x33d1d2)Object['prototype'][_0x3a9876(0x28b)][_0x3a9876(0x1da)](_0x33d1d2,_0x2c3372)&&_0x49e502['indexOf'](_0x2c3372)<0x0&&(_0x757a2a[_0x2c3372]=_0x33d1d2[_0x2c3372]);if(_0x33d1d2!=null&&typeof Object['getOwnPropertySymbols']==_0x3a9876(0x309)){for(var _0x277739=0x0,_0x2c3372=Object[_0x3a9876(0x272)](_0x33d1d2);_0x277739<_0x2c3372[_0x3a9876(0x265)];_0x277739++)_0x49e502[_0x3a9876(0x2e3)](_0x2c3372[_0x277739])<0x0&&Object[_0x3a9876(0x82)][_0x3a9876(0x112)][_0x3a9876(0x1da)](_0x33d1d2,_0x2c3372[_0x277739])&&(_0x757a2a[_0x2c3372[_0x277739]]=_0x33d1d2[_0x2c3372[_0x277739]]);}return _0x757a2a;},_0x3cf2e7=_0x24e835['forwardRef'](function(_0x21eb64,_0x25dd6b){const _0x810fc=_0x20c03e;var _0x47a838=_0x21eb64[_0x810fc(0x7c)],_0x233060=_0x21eb64['id'],_0x5ebe26=_0x21eb64[_0x810fc(0x161)],_0x3ed1dd=_0x21eb64['extend'],_0x1858d1=_0x148798(_0x21eb64,[_0x810fc(0x7c),'id',_0x810fc(0x161),'extend']),_0x4e4914=_0x810fc(0x252)[_0x810fc(0x21d)](_0x233060,'\x20')['concat'](_0x5ebe26||'')['trim'](),_0x9194eb=_0x24e835['useRef']('_'[_0x810fc(0x21d)](_0x3b3b22()));return _0x2f999e(_0x47a838,''[_0x810fc(0x21d)](_0x233060),{'defIds':_0x47a838[_0x810fc(0x10a)],'idSuffix':_0x9194eb['current']},_0x23354d({'ref':_0x25dd6b,'className':_0x4e4914},_0x1858d1),_0x3ed1dd);});function _0x2f999e(_0x2a88c9,_0x271404,_0x193f29,_0x491cad,_0x148d07){const _0x2cc590=_0x20c03e;return _0x24e835['createElement'](_0x2a88c9[_0x2cc590(0x220)],_0x23354d(_0x23354d({'key':_0x271404},_0xef1df(_0x2a88c9,_0x193f29,_0x148d07)),_0x491cad),(_0x1b0b7(_0x2a88c9,_0x193f29)[_0x2cc590(0x1b9)]||[])[_0x2cc590(0x2e6)](function(_0x59b2ce,_0x3f871c){const _0x2bbe06=_0x2cc590;return _0x2f999e(_0x59b2ce,''[_0x2bbe06(0x21d)](_0x271404,'-')[_0x2bbe06(0x21d)](_0x2a88c9['tag'],'-')['concat'](_0x3f871c),_0x193f29,void 0x0,_0x148d07);}));}function _0xef1df(_0x36e5c7,_0x59f5c2,_0xf2311d){const _0x3510fd=_0x20c03e;var _0x35a795=_0x23354d({},_0x36e5c7[_0x3510fd(0x1e5)]);_0xf2311d!=null&&_0xf2311d[_0x3510fd(0xcc)]&&_0x35a795[_0x3510fd(0x158)]==='colorChannel1'&&(_0x35a795['fill']=_0xf2311d[_0x3510fd(0xcc)]),_0x36e5c7[_0x3510fd(0x220)]==='mask'&&_0x35a795['id']&&(_0x35a795['id']=_0x35a795['id']+_0x59f5c2['idSuffix']),Object['entries'](_0x35a795)['forEach'](function(_0x1e76b2){const _0xe25441=_0x3510fd;var _0x48460a=_0x1e76b2[0x0],_0x2d847e=_0x1e76b2[0x1];_0x48460a===_0xe25441(0x2d6)&&typeof _0x2d847e=='string'&&(_0x35a795[_0x48460a]=_0x2d847e[_0xe25441(0x223)](/url\(#(.*)\)/,'url(#$1'[_0xe25441(0x21d)](_0x59f5c2[_0xe25441(0x86)],')')));});var _0x76453c=_0x59f5c2['defIds'];return!_0x76453c||_0x76453c[_0x3510fd(0x265)]===0x0||(_0x36e5c7[_0x3510fd(0x220)]===_0x3510fd(0x1ba)&&_0x35a795[_0x3510fd(0x17d)]&&(_0x35a795[_0x3510fd(0x17d)]=_0x35a795[_0x3510fd(0x17d)]+_0x59f5c2[_0x3510fd(0x86)]),Object['entries'](_0x35a795)[_0x3510fd(0x1ea)](function(_0x294e96){const _0x54c9bc=_0x3510fd;var _0x23fb21=_0x294e96[0x0],_0x40f0ed=_0x294e96[0x1];typeof _0x40f0ed==_0x54c9bc(0x1ad)&&(_0x35a795[_0x23fb21]=_0x40f0ed[_0x54c9bc(0x223)](/url\(#(.*)\)/,'url(#$1'[_0x54c9bc(0x21d)](_0x59f5c2[_0x54c9bc(0x86)],')')));})),_0x35a795;}function _0x1b0b7(_0x15fc16,_0xa9f1cb){const _0x339c4a=_0x20c03e;var _0x3ca803,_0x2f7c48=_0xa9f1cb[_0x339c4a(0x10a)];return!_0x2f7c48||_0x2f7c48['length']===0x0?_0x15fc16:_0x15fc16[_0x339c4a(0x220)]===_0x339c4a(0x2cc)&&(!((_0x3ca803=_0x15fc16[_0x339c4a(0x1b9)])===null||_0x3ca803===void 0x0)&&_0x3ca803[_0x339c4a(0x265)])?_0x23354d(_0x23354d({},_0x15fc16),{'children':_0x15fc16[_0x339c4a(0x1b9)][_0x339c4a(0x2e6)](function(_0x266292){const _0x4e9dd0=_0x339c4a;return typeof _0x266292[_0x4e9dd0(0x1e5)]['id']==_0x4e9dd0(0x1ad)&&_0x2f7c48&&_0x2f7c48[_0x4e9dd0(0x2e3)](_0x266292['attrs']['id'])>-0x1?_0x23354d(_0x23354d({},_0x266292),{'attrs':_0x23354d(_0x23354d({},_0x266292[_0x4e9dd0(0x1e5)]),{'id':_0x266292['attrs']['id']+_0xa9f1cb[_0x4e9dd0(0x86)]})}):_0x266292;})}):_0x15fc16;}function _0x3b3b22(){const _0x3e5ce2=_0x20c03e;return Math[_0x3e5ce2(0x1dd)]()[_0x3e5ce2(0x196)](0x24)[_0x3e5ce2(0x141)](0x2,0x8);}_0x3cf2e7[_0x20c03e(0xcf)]=_0x20c03e(0xee);var _0x5bd74c={'tag':_0x20c03e(0x22d),'attrs':{'fill':_0x20c03e(0x289),'viewBox':_0x20c03e(0x11e),'width':_0x20c03e(0x28d),'height':_0x20c03e(0x28d)},'children':[{'tag':'g','attrs':{'clipPath':_0x20c03e(0x2a5)},'children':[{'tag':_0x20c03e(0x80),'attrs':{'stroke':_0x20c03e(0x292),'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':_0x20c03e(0x11d),'strokeLinejoin':_0x20c03e(0x11d),'strokeWidth':1.2}}]},{'tag':_0x20c03e(0x2cc),'attrs':{},'children':[{'tag':_0x20c03e(0x1c0),'attrs':{'id':_0x20c03e(0x23e)},'children':[{'tag':_0x20c03e(0x80),'attrs':{'fill':_0x20c03e(0x18e),'d':_0x20c03e(0x1f8)}}]}]}],'defIds':[_0x20c03e(0x23e)]},_0x320786=_0x24e835[_0x20c03e(0x14a)](function(_0x5e1a05,_0x30b538){const _0x3d5914=_0x20c03e;return _0x24e835['createElement'](_0x3cf2e7,Object[_0x3d5914(0x281)]({},_0x5e1a05,{'id':'off-line-single','ref':_0x30b538,'icon':_0x5bd74c}));});_0x320786[_0x20c03e(0xcf)]=_0x20c03e(0x225);var _0x17bc84={'tag':_0x20c03e(0x22d),'attrs':{'fill':_0x20c03e(0x289),'viewBox':_0x20c03e(0xa8),'width':_0x20c03e(0x28d),'height':'1em'},'children':[{'tag':'g','attrs':{'clipPath':_0x20c03e(0x241)},'children':[{'tag':_0x20c03e(0x80),'attrs':{'stroke':_0x20c03e(0x292),'d':_0x20c03e(0x2de),'strokeLinecap':_0x20c03e(0x11d),'strokeLinejoin':_0x20c03e(0x11d),'strokeWidth':1.2}}]},{'tag':'defs','attrs':{},'children':[{'tag':_0x20c03e(0x1c0),'attrs':{'id':_0x20c03e(0x213)},'children':[{'tag':'path','attrs':{'fill':_0x20c03e(0x18e),'d':_0x20c03e(0x1f8),'transform':_0x20c03e(0x9b)}}]}]}],'defIds':['on-line-single_clip0_910_349']},_0x313554=_0x24e835[_0x20c03e(0x14a)](function(_0x2bf917,_0x43ef22){const _0x1f880c=_0x20c03e;return _0x24e835[_0x1f880c(0x103)](_0x3cf2e7,Object[_0x1f880c(0x281)]({},_0x2bf917,{'id':_0x1f880c(0x244),'ref':_0x43ef22,'icon':_0x17bc84}));});_0x313554[_0x20c03e(0xcf)]='OnLineSingle';function _0x54e6ae(_0x1bfea1){const _0x2ab844=_0x20c03e;switch(_0x1bfea1){case _0x4de101[_0x2ab844(0x124)]['OFFLINE']:return'collabStatus.offline';case _0x4de101[_0x2ab844(0x124)][_0x2ab844(0x222)]:return _0x2ab844(0xa9);case _0x4de101[_0x2ab844(0x124)][_0x2ab844(0xba)]:return _0x2ab844(0x19d);case _0x4de101['CollaborationStatus'][_0x2ab844(0x76)]:return _0x2ab844(0xe1);case _0x4de101[_0x2ab844(0x124)][_0x2ab844(0x2d3)]:case _0x4de101[_0x2ab844(0x124)][_0x2ab844(0xc5)]:return'collabStatus.syncing';case _0x4de101[_0x2ab844(0x124)][_0x2ab844(0x274)]:case _0x4de101[_0x2ab844(0x124)][_0x2ab844(0x1ab)]:return'collabStatus.synced';}}function _0x230ce0(_0x5379f1){const _0x483574=_0x20c03e,{status$:_0xe77af}=_0x5379f1,_0x3dd3c7=_0x1055b6[_0x483574(0x216)](_0xe77af,_0x4de101[_0x483574(0x124)]['NOT_COLLAB']),_0xb7340b=_0x1055b6[_0x483574(0x199)](_0x1ea30e[_0x483574(0xda)]),_0x1cbb9c=_0x1055b6[_0x483574(0x199)](_0x4de101[_0x483574(0xec)]),_0x443ed1=_0x3dd3c7!==_0x4de101[_0x483574(0x124)][_0x483574(0xfa)],_0x111173=_0xb7340b['t'](_0x54e6ae(_0x3dd3c7)),_0xf7d0e8=_0x443ed1?_0x222161[_0x483574(0x1b0)](_0x313554,{}):_0x222161['jsx'](_0x320786,{}),_0x18414e=_0x24e835[_0x483574(0xa1)](()=>{_0x443ed1||_0x1cbb9c['reconnect']();},[_0x443ed1,_0x1cbb9c]);function _0x4d0ef6(){const _0x43601e=_0x483574;return _0x222161[_0x43601e(0x195)](_0x43601e(0x1d5),{'className':'univer-flex\x20univer-items-center','onClick':_0x18414e,'children':[_0x222161[_0x43601e(0x1b0)](_0x43601e(0x1d5),{'className':_0x42d6da['clsx'](_0x43601e(0x159),{'univer-text-green-500':_0x443ed1,'univer-text-red-500':!_0x443ed1}),'children':_0xf7d0e8}),_0x222161[_0x43601e(0x1b0)](_0x43601e(0x1d5),{'className':_0x43601e(0x2f7),'children':_0x111173})]});}return _0x443ed1?_0x4d0ef6():_0x222161[_0x483574(0x1b0)](_0x42d6da['Tooltip'],{'title':_0xb7340b['t'](_0x483574(0x20e)),'children':_0x4d0ef6()});}var _0x47b299=Object[_0x20c03e(0x1ec)],_0x236c0b=(_0x397dbc,_0x1f2cfe,_0x1ec008,_0x15fec9)=>{for(var _0x518576=_0x15fec9>0x1?void 0x0:_0x15fec9?_0x47b299(_0x1f2cfe,_0x1ec008):_0x1f2cfe,_0x42bf03=_0x397dbc['length']-0x1,_0x44f6ae;_0x42bf03>=0x0;_0x42bf03--)(_0x44f6ae=_0x397dbc[_0x42bf03])&&(_0x518576=_0x44f6ae(_0x518576)||_0x518576);return _0x518576;},_0x58389a=(_0x15619a,_0x20fbe5)=>(_0x3f5d69,_0x245def)=>_0x20fbe5(_0x3f5d69,_0x245def,_0x15619a);_0x17d51e[_0x20c03e(0x2fe)]=class extends _0x1ea30e[_0x20c03e(0x186)]{constructor(_0x50d5ba,_0x301c9d,_0x2a33e4,_0xd3d1b0){const _0x582210=_0x20c03e;super(),_0x2bd54b(this,_0x582210(0x2c2),new _0x2fa692[(_0x582210(0x168))](_0x4de101[_0x582210(0x124)][_0x582210(0x76)])),(this[_0x582210(0x212)]=_0x50d5ba,this[_0x582210(0x7a)]=_0x301c9d,this[_0x582210(0x14d)]=_0x2a33e4,this[_0x582210(0x12b)]=_0xd3d1b0,this['_initStatusComponent'](),this[_0x582210(0x202)]());}[_0x20c03e(0x202)](){const _0xb58452=_0x20c03e;this[_0xb58452(0x16e)](this[_0xb58452(0x212)][_0xb58452(0x7b)][_0xb58452(0x242)](_0x2fa692[_0xb58452(0x132)](()=>{const _0x150377=_0xb58452,_0x237820=this[_0x150377(0x212)][_0x150377(0x1b3)]();return _0x237820?this[_0x150377(0x14d)][_0x150377(0x2c0)](_0x237820[_0x150377(0x17a)]()):_0x2fa692['of'](null);}),_0x2fa692['switchMap'](_0x3d201f=>_0x3d201f?_0x3d201f[_0xb58452(0x144)]:_0x2fa692['of'](_0x4de101[_0xb58452(0x124)][_0xb58452(0x76)])))[_0xb58452(0xa2)](_0x1fdcff=>{const _0x3505df=_0xb58452;this['_status$'][_0x3505df(0x20a)](_0x1fdcff);}));}['_initStatusComponent'](){const _0x5c302a=_0x20c03e;this['disposeWithMe'](this[_0x5c302a(0x12b)][_0x5c302a(0x14b)](_0x1055b6[_0x5c302a(0x15a)]['HEADER_MENU'],()=>_0x1055b6['connectInjector'](_0x385e2a({'status$':this[_0x5c302a(0x2c2)]['asObservable']()}),this[_0x5c302a(0x7a)])));}},_0x17d51e[_0x20c03e(0x2fe)]=_0x236c0b([_0x58389a(0x0,_0x1ea30e[_0x20c03e(0x11c)]),_0x58389a(0x1,_0x1ea30e[_0x20c03e(0x175)](_0x1ea30e['Injector'])),_0x58389a(0x2,_0x1ea30e[_0x20c03e(0x175)](_0x4de101['CollaborationController'])),_0x58389a(0x3,_0x1055b6[_0x20c03e(0x300)])],_0x17d51e[_0x20c03e(0x2fe)]);function _0x385e2a(_0x3cc18c){const {status$:_0x16f783}=_0x3cc18c;return function(){const _0x317e7c=_0x4ca4;return _0x222161[_0x317e7c(0x1b0)](_0x230ce0,{'status$':_0x16f783});};}var _0x1c2fbd=Object[_0x20c03e(0x1ec)],_0x46bf00=(_0x2ceefb,_0x3ead4b,_0x4d4bbb,_0x53d70c)=>{const _0x5352a7=_0x20c03e;for(var _0x282187=_0x53d70c>0x1?void 0x0:_0x53d70c?_0x1c2fbd(_0x3ead4b,_0x4d4bbb):_0x3ead4b,_0x196577=_0x2ceefb[_0x5352a7(0x265)]-0x1,_0x55bce6;_0x196577>=0x0;_0x196577--)(_0x55bce6=_0x2ceefb[_0x196577])&&(_0x282187=_0x55bce6(_0x282187)||_0x282187);return _0x282187;},_0x542a89=(_0x5ee9d4,_0x55dd6e)=>(_0x45744c,_0x4736d6)=>_0x55dd6e(_0x45744c,_0x4736d6,_0x5ee9d4);let _0x2672eb=class extends _0x1ea30e['Disposable']{constructor(_0x3bfe16,_0x475e2c,_0x317c53,_0x4539a7,_0x271117,_0x5d66b7){const _0x6b11fe=_0x20c03e;super(),this[_0x6b11fe(0x248)]=_0x3bfe16,this[_0x6b11fe(0x107)]=_0x475e2c,this[_0x6b11fe(0x2ee)]=_0x317c53,this[_0x6b11fe(0x21b)]=_0x4539a7,this[_0x6b11fe(0x26f)]=_0x271117,this['_localeService']=_0x5d66b7,this[_0x6b11fe(0x2a0)](),this['_initEvent']();}[_0x20c03e(0x2a0)](){const _0x5c92dd=_0x20c03e;this[_0x5c92dd(0x16e)](this[_0x5c92dd(0x248)][_0x5c92dd(0x1f3)](()=>{const _0x1a8e3d=_0x5c92dd;if(this[_0x1a8e3d(0x107)]['saveTaskMap'][_0x1a8e3d(0x19e)])return this[_0x1a8e3d(0x2bb)]['t'](_0x1a8e3d(0x294));}));}['_initEvent'](){const _0x12fbe5=_0x20c03e;this['disposeWithMe'](this[_0x12fbe5(0x2ee)]['event$'][_0x12fbe5(0xa2)](_0x4afc2d=>{const _0x139d2a=_0x12fbe5;_0x4afc2d['id']===_0x4de101[_0x139d2a(0x13b)][_0x139d2a(0xe4)]&&this[_0x139d2a(0x21b)][_0x139d2a(0x2e5)]({'type':_0x42d6da[_0x139d2a(0xb0)][_0x139d2a(0x26b)],'content':this[_0x139d2a(0x2bb)]['t'](_0x139d2a(0x2e9))}),_0x4afc2d['id']===_0x4de101[_0x139d2a(0x13b)][_0x139d2a(0x273)]&&this[_0x139d2a(0x21b)][_0x139d2a(0x2e5)]({'type':_0x42d6da[_0x139d2a(0xb0)]['Warning'],'content':this[_0x139d2a(0x2bb)]['t'](_0x139d2a(0x1c4))}),_0x4afc2d['id']===_0x4de101[_0x139d2a(0x13b)][_0x139d2a(0x148)]&&this['_notificationService']['show']({'title':this[_0x139d2a(0x2bb)]['t'](_0x139d2a(0x22b)),'content':this[_0x139d2a(0x2bb)]['t'](_0x139d2a(0x125)),'type':_0x139d2a(0x208),'duration':0x0}),_0x4afc2d['id']===_0x4de101[_0x139d2a(0x13b)][_0x139d2a(0x222)]&&this[_0x139d2a(0x21b)]['show']({'type':_0x42d6da['MessageType'][_0x139d2a(0xfd)],'content':this[_0x139d2a(0x2bb)]['t'](_0x139d2a(0x1c4))+'('+_0x4afc2d[_0x139d2a(0x1f6)]+')'}),_0x4afc2d['id']===_0x4de101['CollaborationUIEventId'][_0x139d2a(0x18c)]&&this[_0x139d2a(0x21b)][_0x139d2a(0x2e5)]({'type':_0x42d6da[_0x139d2a(0xb0)]['Warning'],'content':this[_0x139d2a(0x2bb)]['t'](_0x4afc2d['data']||'')}),_0x4afc2d['id']===_0x4de101[_0x139d2a(0x13b)][_0x139d2a(0x2db)]&&this[_0x139d2a(0x21b)][_0x139d2a(0x2e5)]({'type':_0x42d6da[_0x139d2a(0xb0)]['Warning'],'content':this[_0x139d2a(0x2bb)]['t'](_0x139d2a(0x229))}),_0x4afc2d['id']===_0x4de101[_0x139d2a(0x13b)][_0x139d2a(0x91)]&&this[_0x139d2a(0x21b)]['show']({'type':_0x42d6da[_0x139d2a(0xb0)][_0x139d2a(0xfd)],'content':this[_0x139d2a(0x2bb)]['t'](_0x139d2a(0x234))}),_0x4afc2d['id']===_0x4de101[_0x139d2a(0x13b)][_0x139d2a(0x85)]&&this['_messageService']['show']({'type':_0x42d6da[_0x139d2a(0xb0)][_0x139d2a(0xfd)],'content':this[_0x139d2a(0x2bb)]['t'](_0x139d2a(0x1fd))});}));}};_0x2672eb=_0x46bf00([_0x542a89(0x0,_0x1055b6[_0x20c03e(0xc7)]),_0x542a89(0x1,_0x4de101[_0x20c03e(0x27b)]),_0x542a89(0x2,_0x1ea30e[_0x20c03e(0x175)](_0x4de101['CollaborationUIEventService'])),_0x542a89(0x3,_0x1055b6['IMessageService']),_0x542a89(0x4,_0x1055b6[_0x20c03e(0x71)]),_0x542a89(0x5,_0x1ea30e[_0x20c03e(0x175)](_0x1ea30e[_0x20c03e(0xda)]))],_0x2672eb);const _0x11bb7e=_0x20c03e(0xc6),_0x2219de={},_0x217350=_0x1ea30e[_0x20c03e(0x291)](_0x20c03e(0x27f));var _0x3278b3=Object[_0x20c03e(0x1ec)],_0x4ddff6=(_0xaf932c,_0xe652e0,_0x18a59a,_0x24dc2e)=>{const _0x1b57aa=_0x20c03e;for(var _0x566ad3=_0x24dc2e>0x1?void 0x0:_0x24dc2e?_0x3278b3(_0xe652e0,_0x18a59a):_0xe652e0,_0x3dc352=_0xaf932c[_0x1b57aa(0x265)]-0x1,_0x460a38;_0x3dc352>=0x0;_0x3dc352--)(_0x460a38=_0xaf932c[_0x3dc352])&&(_0x566ad3=_0x460a38(_0x566ad3)||_0x566ad3);return _0x566ad3;},_0x1d501e=(_0x4e6c34,_0x559cab)=>(_0x18a441,_0xa6c374)=>_0x559cab(_0x18a441,_0xa6c374,_0x4e6c34);_0x17d51e[_0x20c03e(0x114)]=class extends _0x1ea30e['RxDisposable']{constructor(_0x3bfc7d,_0x556da3,_0x282ab6,_0x3a2a3c,_0x4a8c14){const _0x19fd96=_0x20c03e;super(),this[_0x19fd96(0xce)]=_0x3bfc7d,this[_0x19fd96(0x2cf)]=_0x556da3,this[_0x19fd96(0xe8)]=_0x282ab6,this[_0x19fd96(0xa7)]=_0x3a2a3c,_0x4a8c14?_0x4a8c14==null||_0x4a8c14[_0x19fd96(0xc4)]()[_0x19fd96(0x2df)](()=>this[_0x19fd96(0x18a)]()):(this[_0x19fd96(0x2cf)][_0x19fd96(0x29d)](_0x19fd96(0x219),'No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.'),this[_0x19fd96(0x18a)]());}async['_init'](){const _0x248a5b=_0x20c03e,_0x486b67=this[_0x248a5b(0xce)][_0x248a5b(0x256)](_0x248a5b(0x1a9)),_0x3f5fc8=this[_0x248a5b(0xce)][_0x248a5b(0x256)]('type'),_0x374879=this[_0x248a5b(0xce)][_0x248a5b(0x256)]('subunit');if(!_0x486b67||!_0x3f5fc8){this[_0x248a5b(0x2cf)][_0x248a5b(0x29d)]('[CollaborationDataLoaderController]','No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.');return;}const _0x387dc2=await this['_dataLoaderService'][_0x248a5b(0x2fb)](_0x486b67,Number(_0x3f5fc8),_0x374879);_0x387dc2&&_0x387dc2 instanceof _0x1ea30e[_0x248a5b(0x2dd)]&&this[_0x248a5b(0x194)](_0x387dc2);}async[_0x20c03e(0x194)](_0x5c154e){const _0x2b24cf=_0x20c03e;await this[_0x2b24cf(0x290)](_0x5c154e),_0x5c154e['activeSheet$'][_0x2b24cf(0x242)](_0x2fa692['takeUntil'](this[_0x2b24cf(0x98)]))[_0x2b24cf(0xa2)](_0x37a179=>{const _0x4b06f9=_0x2b24cf;_0x37a179&&this[_0x4b06f9(0x138)](_0x37a179);}),this[_0x2b24cf(0xce)]['urlChange$'][_0x2b24cf(0x242)](_0x2fa692['takeUntil'](this[_0x2b24cf(0x98)]))[_0x2b24cf(0xa2)](()=>this[_0x2b24cf(0x290)](_0x5c154e));}[_0x20c03e(0x138)](_0x35f6d7,_0x171b31=!0x1){const _0x1f3957=_0x20c03e,_0x3ba714=this[_0x1f3957(0xce)][_0x1f3957(0x256)]('subunit');_0x35f6d7['getSheetId']()!==_0x3ba714&&this[_0x1f3957(0xce)][_0x1f3957(0x23f)](_0x1f3957(0x12a),_0x35f6d7[_0x1f3957(0x1b6)](),_0x171b31);}async[_0x20c03e(0x290)](_0x5079ff){const _0x548d0f=_0x20c03e;var _0x1a541b;const _0x21144b=this[_0x548d0f(0xce)][_0x548d0f(0x256)]('subunit');if(!_0x21144b||!_0x5079ff[_0x548d0f(0x10c)](_0x21144b)){const _0x8e46cf=_0x5079ff[_0x548d0f(0x1c8)]()[0x0],_0x2296ab=_0x5079ff['getSheetBySheetId'](_0x8e46cf);if(!_0x2296ab)return;this[_0x548d0f(0x138)](_0x2296ab,!0x0),await this[_0x548d0f(0xe8)][_0x548d0f(0x2d7)](_0x2a46f1[_0x548d0f(0xa5)]['id'],{'unitId':_0x5079ff['getUnitId'](),'subUnitId':_0x8e46cf});return;}((_0x1a541b=_0x5079ff['getActiveSheet']())==null?void 0x0:_0x1a541b[_0x548d0f(0x1b6)]())!==_0x21144b&&await this[_0x548d0f(0xe8)][_0x548d0f(0x2d7)](_0x2a46f1[_0x548d0f(0xa5)]['id'],{'unitId':_0x5079ff['getUnitId'](),'subUnitId':_0x21144b});}},_0x17d51e[_0x20c03e(0x114)]=_0x4ddff6([_0x1d501e(0x0,_0x217350),_0x1d501e(0x1,_0x1ea30e['ILogService']),_0x1d501e(0x2,_0x1ea30e[_0x20c03e(0x180)]),_0x1d501e(0x3,_0x1ea30e['Inject'](_0x4de101['DataLoaderService'])),_0x1d501e(0x4,_0x1ea30e[_0x20c03e(0x1e7)](_0x29b637['IRemoteInstanceService']))],_0x17d51e['CollaborationDataLoaderController']);var _0xb4d0aa=Object['getOwnPropertyDescriptor'],_0x528173=(_0x4a2b35,_0x2e5f4a,_0x34111a,_0x4b63bc)=>{const _0x20eec0=_0x20c03e;for(var _0x2b3f35=_0x4b63bc>0x1?void 0x0:_0x4b63bc?_0xb4d0aa(_0x2e5f4a,_0x34111a):_0x2e5f4a,_0x5a1f37=_0x4a2b35[_0x20eec0(0x265)]-0x1,_0x178e87;_0x5a1f37>=0x0;_0x5a1f37--)(_0x178e87=_0x4a2b35[_0x5a1f37])&&(_0x2b3f35=_0x178e87(_0x2b3f35)||_0x2b3f35);return _0x2b3f35;},_0x508e30=(_0x5cae02,_0x4da690)=>(_0x203610,_0x5f4ef2)=>_0x4da690(_0x203610,_0x5f4ef2,_0x5cae02);let _0x1aec30=class{constructor(_0x57221d,_0x8aac31,_0x7e9d14){const _0x215111=_0x20c03e;this[_0x215111(0x7a)]=_0x57221d,this[_0x215111(0x2fc)]=_0x8aac31,this['_renderManagerService']=_0x7e9d14;}['transformIMECache'](_0x56845a){const _0x18acb7=_0x20c03e;this[_0x18acb7(0x277)](_0x56845a),this[_0x18acb7(0x243)](_0x56845a);}[_0x20c03e(0xb3)](_0xa253a9){const _0x11f2e3=_0x20c03e,{unitID:_0x182b40}=_0xa253a9,_0x547a0d=this[_0x11f2e3(0x20c)][_0x11f2e3(0xac)](_0x182b40)[_0x11f2e3(0x181)](_0x3d290f[_0x11f2e3(0xa3)]),{redoCache:_0x300557}=_0x547a0d['getUndoRedoMutationParamsCache']();if(_0x300557[_0x11f2e3(0x265)]===0x0)return _0xa253a9;let _0x344fbd=_0x1ea30e[_0x11f2e3(0x206)]['deepClone'](_0xa253a9[_0x11f2e3(0x1c5)][0x0]);for(let _0x432e2f=0x0;_0x432e2f<_0x300557['length'];_0x432e2f++){const _0x434b39={'id':'doc.mutation.rich-text-editing','params':{..._0x300557[_0x432e2f]}},_0x45bcfd=this['_transformService'][_0x11f2e3(0x23a)](_0x344fbd,_0x434b39,!0x1);if(_0x4846b4[_0x11f2e3(0x239)](_0x45bcfd))throw _0x45bcfd['error'];_0x344fbd=_0x45bcfd['m1Prime'];}return{..._0x1ea30e[_0x11f2e3(0x206)][_0x11f2e3(0xb8)](_0xa253a9),'mutations':[_0x344fbd]};}['_transformUndoRedoStack'](_0x945c2){const _0x1c2dcc=_0x20c03e,{unitID:_0x281c08}=_0x945c2,_0x57b969=this[_0x1c2dcc(0x20c)][_0x1c2dcc(0xac)](_0x281c08)[_0x1c2dcc(0x181)](_0x3d290f['DocIMEInputManagerService']),{undoCache:_0x264e35,redoCache:_0x22ff33}=_0x57b969['getUndoRedoMutationParamsCache']();if(_0x264e35['length']===0x0||_0x22ff33[_0x1c2dcc(0x265)]===0x0)return;const _0x173c16=[],_0x250d57=[];let _0x3954ee=_0x1ea30e[_0x1c2dcc(0x206)][_0x1c2dcc(0xb8)](_0x945c2[_0x1c2dcc(0x1c5)][0x0]),_0x315a6b=_0x1ea30e[_0x1c2dcc(0x206)]['deepClone'](_0x945c2[_0x1c2dcc(0x1c5)][0x0]);for(let _0x86d440=_0x264e35[_0x1c2dcc(0x265)]-0x1;_0x86d440>=0x0;_0x86d440--){const _0x1f0ce7={'id':_0x1c2dcc(0x2a6),'params':{..._0x264e35[_0x86d440]}},_0x4fcccb={'id':'doc.mutation.rich-text-editing','params':{..._0x22ff33[_0x86d440]}},_0x435d14=this[_0x1c2dcc(0x2fc)]['transformMutation'](_0x3954ee,_0x1f0ce7,!0x1),_0xc43a0a=this[_0x1c2dcc(0x2fc)][_0x1c2dcc(0x23a)](_0x315a6b,_0x4fcccb,!0x1);if(_0x4846b4[_0x1c2dcc(0x239)](_0x435d14))throw _0x435d14[_0x1c2dcc(0x208)];if(_0x4846b4[_0x1c2dcc(0x239)](_0xc43a0a))throw _0xc43a0a[_0x1c2dcc(0x208)];_0x173c16['unshift'](_0x435d14[_0x1c2dcc(0x1bc)][_0x1c2dcc(0x231)]),_0x250d57['unshift'](_0xc43a0a[_0x1c2dcc(0x1bc)][_0x1c2dcc(0x231)]),_0x3954ee=_0x435d14[_0x1c2dcc(0x26e)],_0x315a6b=_0xc43a0a[_0x1c2dcc(0x26e)];}_0x57b969[_0x1c2dcc(0x197)]({'undoCache':_0x173c16,'redoCache':_0x250d57});}[_0x20c03e(0x243)](_0xad8674){const _0x18b411=_0x20c03e,{unitID:_0x5b8455}=_0xad8674,_0x4feaba=this['_renderManagerService'][_0x18b411(0xac)](_0x5b8455)[_0x18b411(0x181)](_0x3d290f[_0x18b411(0xa3)]),_0x499a9d=_0x4feaba['getActiveRange']();if(_0x499a9d==null)return;const _0x2f16ee=[{'id':_0x18b411(0x2a6),'params':{'unitId':_0xad8674[_0x18b411(0x131)],'actions':null,'textRanges':[_0x499a9d]}}],_0x4fda96=this[_0x18b411(0x2fc)][_0x18b411(0xd2)](_0xad8674,_0x2f16ee);if(!_0x4846b4['isTransformMutationsWithChangesetSuccess'](_0x4fda96))throw _0x4fda96['error'];const _0x2c036f=_0x4fda96[_0x18b411(0x1bc)][0x0]['params'][_0x18b411(0x233)];Array['isArray'](_0x2c036f)&&_0x2c036f[_0x18b411(0x265)]&&_0x4feaba[_0x18b411(0x1ef)](_0x2c036f[0x0]);}};_0x1aec30=_0x528173([_0x508e30(0x0,_0x1ea30e[_0x20c03e(0x175)](_0x1ea30e['Injector'])),_0x508e30(0x1,_0x4846b4[_0x20c03e(0xab)]),_0x508e30(0x2,_0x51bd['IRenderManagerService'])],_0x1aec30);var _0x3625da=Object[_0x20c03e(0x1ec)],_0x26900c=(_0x4d2d1d,_0x1f494e,_0x121d5d,_0x12ccc7)=>{for(var _0x13c212=_0x12ccc7>0x1?void 0x0:_0x12ccc7?_0x3625da(_0x1f494e,_0x121d5d):_0x1f494e,_0x33d91d=_0x4d2d1d['length']-0x1,_0x501305;_0x33d91d>=0x0;_0x33d91d--)(_0x501305=_0x4d2d1d[_0x33d91d])&&(_0x13c212=_0x501305(_0x13c212)||_0x13c212);return _0x13c212;},_0x4d5f3a=(_0x41a9d6,_0x2d6cc7)=>(_0x25fe21,_0x4a9a89)=>_0x2d6cc7(_0x25fe21,_0x4a9a89,_0x41a9d6);let _0x38b74e=class{constructor(_0x415829,_0x492587,_0x48bc1c){const _0x571bc9=_0x20c03e;this['_injector']=_0x415829,this[_0x571bc9(0x2fc)]=_0x492587,this[_0x571bc9(0x1f4)]=_0x48bc1c;}[_0x20c03e(0x1ac)](_0x59b516){const _0xe0ab3e=_0x20c03e;this[_0xe0ab3e(0xc3)](_0x59b516);}['transformRemoteChangeset'](_0x4f23d7){const _0x4dc5d1=_0x20c03e,{unitID:_0x500cbb}=_0x4f23d7,{collaboration:_0x31cc80}=this[_0x4dc5d1(0x1f4)][_0x4dc5d1(0x130)](_0x500cbb);if(_0x31cc80[_0x4dc5d1(0x265)]===0x0)return _0x4f23d7;let _0x416283=_0x1ea30e[_0x4dc5d1(0x206)][_0x4dc5d1(0xb8)](_0x4f23d7['mutations'][0x0]);for(let _0x1bb680=0x0;_0x1bb680<_0x31cc80[_0x4dc5d1(0x265)];_0x1bb680++){const _0x109ddc={'id':_0x4dc5d1(0x2a6),'params':{'unitId':_0x31cc80[_0x1bb680]['unitId'],..._0x31cc80[_0x1bb680][_0x4dc5d1(0x2f9)]}},_0x59f74b=this[_0x4dc5d1(0x2fc)]['transformMutation'](_0x416283,_0x109ddc,!0x1);if(_0x4846b4['isTransformMutationFailure'](_0x59f74b))throw _0x59f74b[_0x4dc5d1(0x208)];_0x416283=_0x59f74b[_0x4dc5d1(0x26e)];}return{..._0x1ea30e['Tools']['deepClone'](_0x4f23d7),'mutations':[_0x416283]};}[_0x20c03e(0xc3)](_0x1ea9b0){const _0x3ef347=_0x20c03e,{unitID:_0x384fa3}=_0x1ea9b0,{history:_0x4653dc,collaboration:_0x44ac13}=this[_0x3ef347(0x1f4)][_0x3ef347(0x130)](_0x384fa3);if(_0x4653dc['length']===0x0&&_0x44ac13['length']===0x0)return;const _0x3099c5=[],_0x287eab=[];let _0x297bde=_0x1ea30e[_0x3ef347(0x206)][_0x3ef347(0xb8)](_0x1ea9b0[_0x3ef347(0x1c5)][0x0]),_0x5208f2=_0x1ea30e[_0x3ef347(0x206)][_0x3ef347(0xb8)](_0x1ea9b0['mutations'][0x0]);for(let _0x1deb88=_0x4653dc[_0x3ef347(0x265)]-0x1;_0x1deb88>=0x0;_0x1deb88--){const _0x5e1bda={'id':_0x3ef347(0x2a6),'params':{'unitId':_0x4653dc[_0x1deb88][_0x3ef347(0x1d9)],..._0x4653dc[_0x1deb88][_0x3ef347(0x1e6)]}},_0x285a25={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x4653dc[_0x1deb88][_0x3ef347(0x1d9)],..._0x4653dc[_0x1deb88]['redoState']}},_0x73b8ba=this['_transformService']['transformMutation'](_0x297bde,_0x5e1bda,!0x1),_0x1ef68c=this[_0x3ef347(0x2fc)][_0x3ef347(0x23a)](_0x5208f2,_0x285a25,!0x1);if(_0x4846b4[_0x3ef347(0x239)](_0x73b8ba))throw _0x73b8ba[_0x3ef347(0x208)];if(_0x4846b4['isTransformMutationFailure'](_0x1ef68c))throw _0x1ef68c[_0x3ef347(0x208)];_0x3099c5['unshift']({..._0x4653dc[_0x1deb88],'undoState':_0x73b8ba[_0x3ef347(0x1bc)]['params'],'redoState':_0x1ef68c[_0x3ef347(0x1bc)][_0x3ef347(0x231)]}),_0x297bde=_0x73b8ba[_0x3ef347(0x26e)],_0x5208f2=_0x1ef68c['m1Prime'];}_0x297bde=_0x1ea30e[_0x3ef347(0x206)][_0x3ef347(0xb8)](_0x1ea9b0[_0x3ef347(0x1c5)][0x0]),_0x5208f2=_0x1ea30e['Tools'][_0x3ef347(0xb8)](_0x1ea9b0['mutations'][0x0]);for(let _0x3bbd65=_0x44ac13[_0x3ef347(0x265)]-0x1;_0x3bbd65>=0x0;_0x3bbd65--){const _0x3fc35f={'id':_0x3ef347(0x2a6),'params':{'unitId':_0x44ac13[_0x3bbd65][_0x3ef347(0x1d9)],..._0x44ac13[_0x3bbd65]['undoState']}},_0x11c4ea={'id':_0x3ef347(0x2a6),'params':{'unitId':_0x44ac13[_0x3bbd65][_0x3ef347(0x1d9)],..._0x44ac13[_0x3bbd65][_0x3ef347(0x2f9)]}},_0x377e13=this[_0x3ef347(0x2fc)]['transformMutation'](_0x297bde,_0x3fc35f,!0x1),_0x3b1370=this[_0x3ef347(0x2fc)][_0x3ef347(0x23a)](_0x5208f2,_0x11c4ea,!0x1);if(_0x4846b4[_0x3ef347(0x239)](_0x377e13))throw _0x377e13['error'];if(_0x4846b4[_0x3ef347(0x239)](_0x3b1370))throw _0x3b1370[_0x3ef347(0x208)];_0x287eab[_0x3ef347(0x2b9)]({..._0x44ac13[_0x3bbd65],'undoState':_0x377e13['m2Prime'][_0x3ef347(0x231)],'redoState':_0x3b1370[_0x3ef347(0x1bc)]['params']}),_0x297bde=_0x377e13[_0x3ef347(0x26e)],_0x5208f2=_0x3b1370[_0x3ef347(0x26e)];}this[_0x3ef347(0x1f4)][_0x3ef347(0x1ce)](_0x384fa3,{'history':_0x3099c5,'collaboration':_0x287eab});}};_0x38b74e=_0x26900c([_0x4d5f3a(0x0,_0x1ea30e[_0x20c03e(0x175)](_0x1ea30e['Injector'])),_0x4d5f3a(0x1,_0x4846b4[_0x20c03e(0xab)]),_0x4d5f3a(0x2,_0x1ea30e[_0x20c03e(0x175)](_0x3d290f[_0x20c03e(0x10b)]))],_0x38b74e);var _0x3e02c0=Object['getOwnPropertyDescriptor'],_0x3b1ac4=(_0x3a518f,_0x5f4155,_0xbbcae3,_0x77bdb9)=>{const _0x5bab83=_0x20c03e;for(var _0x28998e=_0x77bdb9>0x1?void 0x0:_0x77bdb9?_0x3e02c0(_0x5f4155,_0xbbcae3):_0x5f4155,_0x7c3d29=_0x3a518f[_0x5bab83(0x265)]-0x1,_0x3ed7d3;_0x7c3d29>=0x0;_0x7c3d29--)(_0x3ed7d3=_0x3a518f[_0x7c3d29])&&(_0x28998e=_0x3ed7d3(_0x28998e)||_0x28998e);return _0x28998e;},_0x7249ab=(_0x327db3,_0x5d33f9)=>(_0x2f4274,_0x58dd95)=>_0x5d33f9(_0x2f4274,_0x58dd95,_0x327db3);let _0x1e11be=class{constructor(_0x502321,_0x575259){const _0xc96375=_0x20c03e;this['_injector']=_0x502321,this[_0xc96375(0x2fc)]=_0x575259;}['transformSelections'](_0x81f702){const _0x41ea7c=_0x20c03e;var _0x421ad8;const _0x25dae0=this[_0x41ea7c(0x7a)][_0x41ea7c(0x2d9)](_0x50f4df[_0x41ea7c(0x215)]),_0x2762bc=(_0x421ad8=_0x25dae0[_0x41ea7c(0x2e7)]())!=null?_0x421ad8:[];if(_0x2762bc[_0x41ea7c(0x265)]===0x0)return;const _0x1af85a=_0x81f702['unitID'],_0x514aef=[{'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x1af85a,'actions':null,'textRanges':_0x2762bc}}],_0x943984=this[_0x41ea7c(0x2fc)]['transformMutationsWithChangeset'](_0x81f702,_0x514aef);if(!_0x4846b4[_0x41ea7c(0x306)](_0x943984))throw _0x943984[_0x41ea7c(0x208)];const _0x4a6cc8=_0x943984[_0x41ea7c(0x1bc)][0x0][_0x41ea7c(0x231)][_0x41ea7c(0x233)];Array[_0x41ea7c(0x1fb)](_0x4a6cc8)&&_0x4a6cc8['length']&&_0x25dae0['replaceDocRanges'](_0x4a6cc8,{'unitId':_0x1af85a,'subUnitId':_0x1af85a},!0x1);}};_0x1e11be=_0x3b1ac4([_0x7249ab(0x0,_0x1ea30e['Inject'](_0x1ea30e[_0x20c03e(0x259)])),_0x7249ab(0x1,_0x4846b4[_0x20c03e(0xab)])],_0x1e11be);var _0x38500e=Object['getOwnPropertyDescriptor'],_0x2b39d9=(_0x2b735e,_0x315fbb,_0x530d16,_0x4efe00)=>{for(var _0x59c126=_0x4efe00>0x1?void 0x0:_0x4efe00?_0x38500e(_0x315fbb,_0x530d16):_0x315fbb,_0x221357=_0x2b735e['length']-0x1,_0x8cd80b;_0x221357>=0x0;_0x221357--)(_0x8cd80b=_0x2b735e[_0x221357])&&(_0x59c126=_0x8cd80b(_0x59c126)||_0x59c126);return _0x59c126;},_0xb8f2fd=(_0x5e1917,_0x523bd8)=>(_0x208020,_0x56fe5b)=>_0x523bd8(_0x208020,_0x56fe5b,_0x5e1917);let _0x160723=class extends _0x1ea30e[_0x20c03e(0x186)]{constructor(_0x5e2d9d,_0x5136a9,_0x11f11d,_0x543d1d,_0x32c541,_0x1b831b,_0x41e051,_0x3784b1){const _0x1ceb6e=_0x20c03e;super(),_0x2bd54b(this,_0x1ceb6e(0x2c2),new _0x2fa692[(_0x1ceb6e(0x168))](_0x4de101[_0x1ceb6e(0x124)][_0x1ceb6e(0x76)])),(this['_docStateChangeManagerService']=_0x5e2d9d,this[_0x1ceb6e(0x14d)]=_0x5136a9,this[_0x1ceb6e(0x2b0)]=_0x11f11d,this['_docTransformStateCacheService']=_0x543d1d,this[_0x1ceb6e(0x226)]=_0x32c541,this[_0x1ceb6e(0x262)]=_0x1b831b,this[_0x1ceb6e(0x21b)]=_0x41e051,this['_localeService']=_0x3784b1,this[_0x1ceb6e(0x203)]());}['_initEntityListener'](){const _0x79ae61=_0x20c03e;this[_0x79ae61(0x16e)](this['_collaborationController'][_0x79ae61(0x2c3)][_0x79ae61(0xa2)](_0x2e364b=>{const _0x213187=_0x79ae61,_0x398bc0=this['_docStateChangeManagerService']['docStateChange$']['subscribe'](_0x4565ce=>{const _0x386d6e=_0x4ca4;if(_0x4565ce==null)return;const {unitId:_0xc9b02a,redoState:_0x4fe7ee,commandId:_0x46741f}=_0x4565ce;if(_0xc9b02a!==_0x2e364b[_0x386d6e(0x131)])return;const _0x1a330a={'id':_0x46741f,'type':_0x1ea30e[_0x386d6e(0x145)]['MUTATION'],'params':{'unitId':_0xc9b02a,'actions':_0x4fe7ee['actions'],'textRanges':null}};_0x2e364b[_0x386d6e(0x1c1)](_0x1a330a);});if(_0x2e364b[_0x213187(0x16e)](_0x398bc0),_0x2e364b instanceof _0x4de101['DocCollaborationEntity']){const _0x29fca1={'onTransformIME':_0x4ae8d4=>this[_0x213187(0x2b0)][_0x213187(0xc2)](_0x4ae8d4),'onTransformState':_0x25b2eb=>this[_0x213187(0xcb)][_0x213187(0x1ac)](_0x25b2eb),'onTransformSelections':_0xfd05a2=>this['_docTransformSelectionsService']['transformSelections'](_0xfd05a2),'onSyncEditingCollabCursor':_0x24dcee=>this[_0x213187(0x262)]['syncEditingCollabCursor'](_0x24dcee),'onTransformRemoteChangesetByIMECache':_0x1844a6=>this[_0x213187(0x2b0)]['transformRemoteChangeset'](_0x1844a6),'onTransformRemoteChangesetByStateCache':_0x3e9c68=>this['_docTransformStateCacheService'][_0x213187(0xb3)](_0x3e9c68)};_0x2e364b[_0x213187(0x266)](_0x29fca1);}}));}};_0x160723=_0x2b39d9([_0xb8f2fd(0x0,_0x1ea30e[_0x20c03e(0x175)](_0x3d290f[_0x20c03e(0x10b)])),_0xb8f2fd(0x1,_0x1ea30e[_0x20c03e(0x175)](_0x4de101[_0x20c03e(0x23d)])),_0xb8f2fd(0x2,_0x1ea30e[_0x20c03e(0x175)](_0x1aec30)),_0xb8f2fd(0x3,_0x1ea30e['Inject'](_0x38b74e)),_0xb8f2fd(0x4,_0x1ea30e['Inject'](_0x1e11be)),_0xb8f2fd(0x5,_0x1ea30e[_0x20c03e(0x175)](_0x4f3239)),_0xb8f2fd(0x6,_0x1055b6[_0x20c03e(0x16b)]),_0xb8f2fd(0x7,_0x1ea30e[_0x20c03e(0x175)](_0x1ea30e['LocaleService']))],_0x160723);var _0x1e80db=Object['getOwnPropertyDescriptor'],_0x3afcad=(_0x34fc9f,_0x57af21,_0x48465f,_0x51f3ed)=>{for(var _0x4468dc=_0x51f3ed>0x1?void 0x0:_0x51f3ed?_0x1e80db(_0x57af21,_0x48465f):_0x57af21,_0x57b7bc=_0x34fc9f['length']-0x1,_0x2a8cc;_0x57b7bc>=0x0;_0x57b7bc--)(_0x2a8cc=_0x34fc9f[_0x57b7bc])&&(_0x4468dc=_0x2a8cc(_0x4468dc)||_0x4468dc);return _0x4468dc;},_0x2b4763=(_0x1ea641,_0x87982)=>(_0x2ec136,_0x3245db)=>_0x87982(_0x2ec136,_0x3245db,_0x1ea641);let _0x287eda=class extends _0x1ea30e[_0x20c03e(0x186)]{constructor(_0x1d9b23,_0x4f69f4,_0x2e0843){const _0x1232c8=_0x20c03e;super(),_0x2bd54b(this,_0x1232c8(0x96),new Map()),_0x2bd54b(this,'_saveTaskMap',new Map()),_0x2bd54b(this,'_disabled',!0x1),(this['_configService']=_0x1d9b23,this[_0x1232c8(0x134)]=_0x4f69f4,this[_0x1232c8(0x88)]=_0x2e0843);}[_0x20c03e(0xde)](){const _0x352ef1=_0x20c03e;this[_0x352ef1(0x263)]=!0x0;}[_0x20c03e(0xe9)](){const _0x4a4f78=_0x20c03e;this[_0x4a4f78(0x263)]=!0x1;}get[_0x20c03e(0x246)](){const _0x24734a=_0x20c03e;return this[_0x24734a(0x2ef)];}['dispose'](){const _0x3d2e7d=_0x20c03e;this[_0x3d2e7d(0x177)]()[_0x3d2e7d(0x2df)](()=>super[_0x3d2e7d(0x204)]());}async[_0x20c03e(0x21c)](_0x416a3d){const _0x757b67=_0x20c03e;return this['_disabled']?null:this['_localStorageService']['getItem'](_0x4de101[_0x757b67(0x13a)](_0x416a3d));}async[_0x20c03e(0xf0)](_0x465a89,_0x12a674){const _0x188b4e=_0x20c03e;return!!this['_localStorageService'][_0x188b4e(0x7f)](_0x465a89,_0x12a674);}[_0x20c03e(0x133)](_0x4f0e51,_0x321de8,_0x4c1c32,_0x4d7806){const _0x1ade25=_0x20c03e,_0x184115=this['_revisionService'][_0x1ade25(0x245)](_0x4f0e51);this[_0x1ade25(0x96)][_0x1ade25(0x296)](_0x4f0e51,{'unitID':_0x4f0e51,'type':_0x321de8,'awaitingChangeset':_0x4c1c32,'mutations':_0x4d7806,'rev':_0x184115}),this[_0x1ade25(0x2ef)]['has'](_0x4f0e51)||this[_0x1ade25(0x261)](_0x4f0e51);}[_0x20c03e(0x261)](_0x2e6f87){const _0x49a5a=_0x20c03e,_0x152d85=this[_0x49a5a(0x2a1)]();_0x152d85===0x0?this[_0x49a5a(0xfc)](_0x2e6f87):this[_0x49a5a(0x2ef)][_0x49a5a(0x296)](_0x2e6f87,setTimeout(()=>this['_saveCache'](_0x2e6f87),_0x152d85));}[_0x20c03e(0x2a1)](){const _0x53ff96=_0x20c03e;var _0x21b3e4;return(_0x21b3e4=this[_0x53ff96(0x20d)][_0x53ff96(0x1fc)](_0x4de101['LOCAL_CACHE_INTERVAL_KEY']))!=null?_0x21b3e4:_0x4de101[_0x53ff96(0x173)];}[_0x20c03e(0xfc)](_0x53e1b0){const _0x5b5fea=_0x20c03e,_0x41fe15=this[_0x5b5fea(0x2ef)][_0x5b5fea(0x2d9)](_0x53e1b0);return _0x41fe15!==void 0x0&&window[_0x5b5fea(0xef)](_0x41fe15),this['_localStorageService'][_0x5b5fea(0x7f)](_0x4de101[_0x5b5fea(0x13a)](_0x53e1b0),this['_cachedData'][_0x5b5fea(0x2d9)](_0x53e1b0))[_0x5b5fea(0x2df)](()=>this[_0x5b5fea(0x2ef)][_0x5b5fea(0xaa)](_0x53e1b0));}async[_0x20c03e(0x177)](){const _0x49cfef=_0x20c03e,_0x2a163e=[];this[_0x49cfef(0x2ef)]['forEach']((_0x4cf20a,_0x2019cf)=>{const _0xcd0ac5=_0x49cfef;window[_0xcd0ac5(0xef)](_0x4cf20a),_0x2a163e[_0xcd0ac5(0x2be)](this[_0xcd0ac5(0xfc)](_0x2019cf)[_0xcd0ac5(0x2df)](()=>{const _0x1ef1f3=_0xcd0ac5;this[_0x1ef1f3(0x2ef)][_0x1ef1f3(0xaa)](_0x2019cf);}));}),await Promise[_0x49cfef(0x10f)](_0x2a163e);}};_0x287eda=_0x3afcad([_0x2b4763(0x0,_0x1ea30e[_0x20c03e(0x9f)]),_0x2b4763(0x1,_0x1ea30e[_0x20c03e(0x2c1)]),_0x2b4763(0x2,_0x1ea30e[_0x20c03e(0x175)](_0x4846b4['RevisionService']))],_0x287eda);class _0x55761c extends _0x1ea30e['RxDisposable']{constructor(){const _0x39b261=_0x20c03e;super(),_0x2bd54b(this,_0x39b261(0x1ed)),this[_0x39b261(0x1ed)]=_0x2fa692[_0x39b261(0x2d8)](window,_0x39b261(0x25b))['pipe'](_0x2fa692['takeUntil'](this[_0x39b261(0x98)]),_0x2fa692['shareReplay'](0x1),_0x2fa692['mapTo'](void 0x0));}[_0x20c03e(0x23f)](_0x12868b,_0xa98a1a,_0x36b070=!0x1){const _0x357362=_0x20c03e,_0x24f205=new URL(window['location'][_0x357362(0x13c)]);_0x24f205[_0x357362(0x2dc)][_0x357362(0x296)](_0x12868b,_0xa98a1a),_0x36b070?window[_0x357362(0x13d)][_0x357362(0x2c9)]('','',_0x24f205['toString']()):window[_0x357362(0x13d)]['pushState']('','',_0x24f205[_0x357362(0x196)]());}[_0x20c03e(0xbf)](_0x260f9e,_0x163eb7=!0x1){const _0x297453=_0x20c03e,_0x26ca23=new URL(window[_0x297453(0x193)]['href']);_0x26ca23['searchParams'][_0x297453(0xaa)](_0x260f9e),_0x163eb7?window[_0x297453(0x13d)]['replaceState']('','',_0x26ca23[_0x297453(0x196)]()):window['history'][_0x297453(0x1de)]('','',_0x26ca23[_0x297453(0x196)]());}[_0x20c03e(0x256)](_0x498be0){const _0x4e393f=_0x20c03e;var _0x3da942;return(_0x3da942=new URL(window['location'][_0x4e393f(0x13c)])[_0x4e393f(0x2dc)][_0x4e393f(0x2d9)](_0x498be0))!=null?_0x3da942:void 0x0;}}var _0x1ca808=Object['defineProperty'],_0x5e0b25=Object[_0x20c03e(0x1ec)],_0x21aec8=(_0x245663,_0x14533c,_0x5570e2)=>_0x14533c in _0x245663?_0x1ca808(_0x245663,_0x14533c,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x5570e2}):_0x245663[_0x14533c]=_0x5570e2,_0x3473d6=(_0x2769d0,_0x4b942c,_0x5c0877,_0x1e25ff)=>{const _0x19fe0=_0x20c03e;for(var _0x3e3cd8=_0x1e25ff>0x1?void 0x0:_0x1e25ff?_0x5e0b25(_0x4b942c,_0x5c0877):_0x4b942c,_0x294659=_0x2769d0[_0x19fe0(0x265)]-0x1,_0x51d479;_0x294659>=0x0;_0x294659--)(_0x51d479=_0x2769d0[_0x294659])&&(_0x3e3cd8=_0x51d479(_0x3e3cd8)||_0x3e3cd8);return _0x3e3cd8;},_0x2cd2c=(_0xef14f1,_0x2d2973)=>(_0x437ed6,_0x13513a)=>_0x2d2973(_0x437ed6,_0x13513a,_0xef14f1),_0x2761b5=(_0x27f83b,_0x36ad3e,_0x392b34)=>_0x21aec8(_0x27f83b,_0x36ad3e+'',_0x392b34);const _0x449c5c=_0x20c03e(0x152);_0x17d51e[_0x20c03e(0x2d4)]=class extends _0x1ea30e[_0x20c03e(0xb9)]{constructor(_0x1e1c84=_0x2219de,_0x174688,_0x33e96b,_0x349472){const _0xbc38c8=_0x20c03e;super(),this[_0xbc38c8(0xd7)]=_0x1e1c84,this['_renderManagerService']=_0x174688,this[_0xbc38c8(0x7a)]=_0x33e96b,this[_0xbc38c8(0x20d)]=_0x349472;const {..._0x4d7a01}=_0x1ea30e['merge']({},_0x2219de,this['_config']);this[_0xbc38c8(0x20d)][_0xbc38c8(0x1c9)](_0x11bb7e,_0x4d7a01);}['onStarting'](){const _0x5bf50d=_0x20c03e;this[_0x5bf50d(0x157)](),this['_initDependencies']();}[_0x20c03e(0x1a5)](){const _0x3d3613=_0x20c03e;this[_0x3d3613(0x211)]();}[_0x20c03e(0x157)](){const _0x7164de=_0x20c03e;var _0x14e9f2;const _0x38ed1a=[[_0x50e5b0],[_0x1e11be],[_0x1aec30],[_0x38b74e],[_0x4f3239],[_0x217350,{'useClass':_0x55761c}],[_0x107c73[_0x7164de(0x286)],{'useClass':_0x107c73['WebSocketService']}],[_0x4de101[_0x7164de(0x27b)],{'useClass':_0x287eda}],[_0x17d51e[_0x7164de(0x2fe)]],[_0x160723],[_0x2672eb],[_0xf10618],[_0x108035],[_0x17d51e[_0x7164de(0x114)]]];_0x1ea30e['registerDependencies'](this[_0x7164de(0x7a)],_0x1ea30e[_0x7164de(0x126)](_0x38ed1a,(_0x14e9f2=this[_0x7164de(0xd7)])==null?void 0x0:_0x14e9f2[_0x7164de(0x14c)]));}[_0x20c03e(0x211)](){const _0x2235b5=_0x20c03e;this['disposeWithMe'](this[_0x2235b5(0x20c)][_0x2235b5(0x28c)](_0x1ea30e[_0x2235b5(0x237)][_0x2235b5(0xc9)],[_0x3a6721])),this[_0x2235b5(0x16e)](this[_0x2235b5(0x20c)][_0x2235b5(0x28c)](_0x1ea30e[_0x2235b5(0x237)][_0x2235b5(0x115)],[_0x203172]));}[_0x20c03e(0x26a)](){const _0x2cde9c=_0x20c03e;_0x1ea30e['touchDependencies'](this[_0x2cde9c(0x7a)],[[_0xf10618],[_0x17d51e[_0x2cde9c(0x2fe)]],[_0x160723],[_0x2672eb],[_0x17d51e[_0x2cde9c(0x114)]]]);}},_0x2761b5(_0x17d51e[_0x20c03e(0x2d4)],_0x20c03e(0x9d),_0x449c5c),_0x17d51e[_0x20c03e(0x2d4)]=_0x3473d6([_0x1ea30e[_0x20c03e(0x15e)](_0x4de101[_0x20c03e(0x110)]),_0x2cd2c(0x1,_0x51bd[_0x20c03e(0x240)]),_0x2cd2c(0x2,_0x1ea30e[_0x20c03e(0x175)](_0x1ea30e[_0x20c03e(0x259)])),_0x2cd2c(0x3,_0x1ea30e[_0x20c03e(0x9f)])],_0x17d51e[_0x20c03e(0x2d4)]);var _0x2ca1af=Object[_0x20c03e(0x1ec)],_0x200139=(_0x2562e3,_0x335ec9,_0xea8a3c,_0x3a0d9f)=>{const _0x5ee981=_0x20c03e;for(var _0x3989f6=_0x3a0d9f>0x1?void 0x0:_0x3a0d9f?_0x2ca1af(_0x335ec9,_0xea8a3c):_0x335ec9,_0x39e85d=_0x2562e3[_0x5ee981(0x265)]-0x1,_0x2aecaa;_0x39e85d>=0x0;_0x39e85d--)(_0x2aecaa=_0x2562e3[_0x39e85d])&&(_0x3989f6=_0x2aecaa(_0x3989f6)||_0x3989f6);return _0x3989f6;},_0x52b3d4=(_0x31be9e,_0x1244e6)=>(_0xe6b1a9,_0x1b1ce6)=>_0x1244e6(_0xe6b1a9,_0x1b1ce6,_0x31be9e);_0x17d51e[_0x20c03e(0x113)]=class extends _0x4de101[_0x20c03e(0x89)]{constructor(_0x491af5,_0x533954,_0x13d405,_0x267952,_0x519aef){super(_0x491af5,_0x533954,_0x13d405,_0x267952,_0x519aef);}async[_0x20c03e(0x238)](_0xc59b7e){const _0x408910=_0x20c03e,_0x56cb5d=await this[_0x408910(0x307)](),_0x4e264e=this['_createSocketURL'](_0xc59b7e,_0x56cb5d);return this[_0x408910(0x2c8)](_0x4e264e);}[_0x20c03e(0x119)](_0x3b0e10,_0x16447b){const _0x5730a6=_0x20c03e,_0x54a6e9=typeof window>'u'?new URL(_0x3b0e10):new URL(_0x3b0e10,window[_0x5730a6(0x193)][_0x5730a6(0x8a)]);_0x54a6e9[_0x5730a6(0x2dc)][_0x5730a6(0x296)]('sessionTicket',_0x16447b);const _0x8193a0=typeof window>'u'?new URLSearchParams():new URLSearchParams(window['location'][_0x5730a6(0x28f)]);return _0x8193a0[_0x5730a6(0x2d9)](_0x5730a6(0xf9))&&_0x54a6e9['searchParams'][_0x5730a6(0x296)]('runId',_0x8193a0['get']('runId')),_0x54a6e9[_0x5730a6(0x196)]();}async[_0x20c03e(0x307)](){const _0x3389ad=_0x20c03e;var _0x22a962,_0x1ea734,_0x463553;const _0xbabff=this[_0x3389ad(0x20d)]['getConfig'](_0x4de101['COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY']),_0x1f0d2a=(_0x22a962=_0xbabff==null?void 0x0:_0xbabff[_0x3389ad(0x2c6)])!=null?_0x22a962:_0x4de101['DEFAULT_WS_SESSION_TICKET_URL'];return(_0x463553=(_0x1ea734=(await this[_0x3389ad(0x305)]['get'](_0x1f0d2a,{'headers':{'Content-Type':_0x3389ad(0x2e1)}}))[_0x3389ad(0x10d)])==null?void 0x0:_0x1ea734[_0x3389ad(0x12f)])!=null?_0x463553:'';}},_0x17d51e[_0x20c03e(0x113)]=_0x200139([_0x52b3d4(0x0,_0x1ea30e[_0x20c03e(0x175)](_0x1ea30e['Injector'])),_0x52b3d4(0x1,_0x1ea30e[_0x20c03e(0x175)](_0x107c73[_0x20c03e(0x24c)])),_0x52b3d4(0x2,_0x1ea30e[_0x20c03e(0x9f)]),_0x52b3d4(0x3,_0x1ea30e['ILogService']),_0x52b3d4(0x4,_0x4846b4[_0x20c03e(0x23c)])],_0x17d51e[_0x20c03e(0x113)]);const _0x4b86eb=0x7530,_0x5dc121=_0x20c03e(0x2cb);class _0x153a74 extends _0x1ea30e['Disposable']{constructor(){const _0xe1071e=_0x20c03e;super(),_0x2bd54b(this,'_id',_0x1ea30e[_0xe1071e(0xcd)]()),_0x2bd54b(this,_0xe1071e(0x2eb),new Set()),_0x2bd54b(this,_0xe1071e(0x72),new Map()),_0x2bd54b(this,_0xe1071e(0xd0),null),_0x2bd54b(this,_0xe1071e(0x2ad),new Map()),_0x2bd54b(this,_0xe1071e(0x118),new Map()),this['_init']();}[_0x20c03e(0x204)](){const _0x5b7d40=_0x20c03e;super[_0x5b7d40(0x204)](),this[_0x5b7d40(0x2ad)][_0x5b7d40(0x1ea)]((_0x24ff27,_0x424d5a)=>this[_0x5b7d40(0x122)](_0x424d5a)),this[_0x5b7d40(0xd0)]&&window[_0x5b7d40(0x1b7)](this[_0x5b7d40(0xd0)]);}[_0x20c03e(0x191)](_0x64f0ef){const _0x49a0ca=_0x20c03e;return this[_0x49a0ca(0x10e)](_0x64f0ef)[_0x49a0ca(0x242)](_0x2fa692['distinctUntilChanged']());}[_0x20c03e(0x303)](_0x3c7f3f){const _0x595290=_0x20c03e;this[_0x595290(0x2eb)][_0x595290(0x19e)]===0x0&&this[_0x595290(0xd5)](),this[_0x595290(0x2eb)][_0x595290(0x1ee)](_0x3c7f3f),this['_send']({'type':0x0,'memberID':this[_0x595290(0x12d)],'unitIDs':[_0x3c7f3f],'isForwarded':!0x1});}[_0x20c03e(0x162)](_0x260c8c){const _0x8855c1=_0x20c03e;this[_0x8855c1(0x2eb)][_0x8855c1(0xaa)](_0x260c8c),this[_0x8855c1(0x2eb)][_0x8855c1(0x19e)]===0x0&&this[_0x8855c1(0xd0)]&&window[_0x8855c1(0x1b7)](this[_0x8855c1(0xd0)]);}[_0x20c03e(0x18a)](){const _0x58c402=_0x20c03e;this[_0x58c402(0x16e)](_0x1ea30e[_0x58c402(0x2a2)](_0x2fa692[_0x58c402(0x2d8)](window,_0x58c402(0x27e))['subscribe'](_0x291d04=>{const _0x3930ec=_0x58c402;if(_0x291d04[_0x3930ec(0x2aa)]!==_0x5dc121||!_0x291d04['newValue'])return;const _0x4c4beb=JSON[_0x3930ec(0xa4)](_0x291d04[_0x3930ec(0xdf)]);this[_0x3930ec(0x185)](_0x4c4beb);}))),window[_0x58c402(0x278)]('unload',()=>this['_send']({'type':0x1,'memberID':this[_0x58c402(0x12d)],'unitIDs':Array[_0x58c402(0x1f9)](this[_0x58c402(0x2eb)])}));}[_0x20c03e(0x185)](_0x5d3e01){const _0x5104fd=_0x20c03e;switch(_0x5d3e01[_0x5104fd(0x1e0)]){case 0x0:this[_0x5104fd(0x1fa)](_0x5d3e01);break;case 0x1:this[_0x5104fd(0xf7)](_0x5d3e01);break;case 0x2:this[_0x5104fd(0x2e4)](_0x5d3e01);break;}}[_0x20c03e(0x1fa)](_0x3782d5){const _0x4ae85b=_0x20c03e,{unitIDs:_0xd3639,memberID:_0x2b1b76,isForwarded:_0x477452}=_0x3782d5;_0xd3639[_0x4ae85b(0x1ea)](_0x458075=>{const _0x52a80d=_0x4ae85b;if(!_0x477452&&this[_0x52a80d(0x72)][_0x52a80d(0x21a)](_0x458075)&&this[_0x52a80d(0x10e)](_0x458075)['next'](_0x4de101[_0x52a80d(0x105)][_0x52a80d(0x287)]),!this[_0x52a80d(0x72)][_0x52a80d(0x21a)](_0x458075)||!this['_unitOnClients'][_0x52a80d(0x2d9)](_0x458075)['has'](_0x2b1b76)){const _0x2e1ca1=this[_0x52a80d(0x72)][_0x52a80d(0x2d9)](_0x458075)||new Set();_0x2e1ca1[_0x52a80d(0x1ee)](_0x2b1b76),this['_unitOnClients'][_0x52a80d(0x296)](_0x458075,_0x2e1ca1),this[_0x52a80d(0x2b8)](_0x2b1b76);}}),_0x477452||this['_send']({'type':0x0,'memberID':this['_id'],'unitIDs':[...this[_0x4ae85b(0x2eb)]],'isForwarded':!0x0});}['_scheduleClearOtherTimer'](_0x1f62d8){const _0x4096ea=_0x20c03e;this[_0x4096ea(0x122)](_0x1f62d8);const _0x21b833=window[_0x4096ea(0x2b6)](()=>{const _0x45cf23=_0x4096ea;this[_0x45cf23(0x72)][_0x45cf23(0x1ea)](_0x559a64=>{const _0x555dd3=_0x45cf23;_0x559a64[_0x555dd3(0xaa)](_0x1f62d8);});},_0x4b86eb*0x2);this[_0x4096ea(0x2ad)][_0x4096ea(0x296)](_0x1f62d8,_0x21b833);}[_0x20c03e(0x122)](_0x920b16){const _0xeb7521=_0x20c03e;if(this[_0xeb7521(0x2ad)][_0xeb7521(0x21a)](_0x920b16)){const _0x32b6d0=this[_0xeb7521(0x2ad)][_0xeb7521(0x2d9)](_0x920b16);_0x32b6d0&&window[_0xeb7521(0xef)](_0x32b6d0),this[_0xeb7521(0x2ad)]['set'](_0x920b16,null);}}[_0x20c03e(0xf7)](_0x26b9c7){const _0x2d4c44=_0x20c03e,{memberID:_0x2f68f1,unitIDs:_0xd3567f}=_0x26b9c7;_0xd3567f['forEach'](_0x113c65=>{const _0xa66715=_0x4ca4;var _0x55756c;const _0xa06054=this[_0xa66715(0x72)][_0xa66715(0x2d9)](_0x113c65);_0xa06054&&(_0xa06054[_0xa66715(0xaa)](_0x2f68f1),(_0x55756c=this[_0xa66715(0x10e)](_0x113c65))==null||_0x55756c[_0xa66715(0x20a)](_0xa06054[_0xa66715(0x19e)]===0x0?_0x4de101['UnitStatus'][_0xa66715(0x2f4)]:_0x4de101['UnitStatus'][_0xa66715(0x287)]));}),this[_0x2d4c44(0x122)](_0x2f68f1);}[_0x20c03e(0x2e4)](_0x1791c6){const _0xa4bfca=_0x20c03e;this[_0xa4bfca(0x2b8)](_0x1791c6[_0xa4bfca(0x137)]);}['_send'](_0x18eec4){const _0x344713=_0x20c03e;localStorage[_0x344713(0x7f)](_0x5dc121,JSON[_0x344713(0xb5)](_0x18eec4));}[_0x20c03e(0xd5)](){const _0x422e4c=_0x20c03e;this['_heartbeatTimer']=window[_0x422e4c(0x1a3)](()=>{const _0xdf1abc=_0x422e4c;this[_0xdf1abc(0x16f)]({'type':0x2,'memberID':this[_0xdf1abc(0x12d)]});},_0x4b86eb);}[_0x20c03e(0x10e)](_0x539b9c){const _0x25e754=_0x20c03e;return this[_0x25e754(0x118)][_0x25e754(0x21a)](_0x539b9c)||this[_0x25e754(0x118)]['set'](_0x539b9c,new _0x2fa692[(_0x25e754(0x168))](_0x4de101[_0x25e754(0x105)][_0x25e754(0x2f4)])),this[_0x25e754(0x118)]['get'](_0x539b9c);}}var _0x595df4=(_0x50a18c=>(_0x50a18c[_0x50a18c['UNDEFINED']=0x0]=_0x20c03e(0x2a9),_0x50a18c[_0x50a18c['OK']=0x1]='OK',_0x50a18c[_0x50a18c[_0x20c03e(0x19c)]=0x2]='INTERNAL_ERROR',_0x50a18c[_0x50a18c[_0x20c03e(0x148)]=0x3]=_0x20c03e(0x148),_0x50a18c[_0x50a18c[_0x20c03e(0xf5)]=0x4]=_0x20c03e(0xf5),_0x50a18c[_0x50a18c[_0x20c03e(0x2b7)]=0x5]=_0x20c03e(0x2b7),_0x50a18c[_0x50a18c['ALREADY_EXISTS']=0x6]=_0x20c03e(0xb4),_0x50a18c[_0x50a18c['INVALID_ARGUMENT']=0x7]='INVALID_ARGUMENT',_0x50a18c[_0x50a18c['TOO_MANY_REQUESTS']=0x8]='TOO_MANY_REQUESTS',_0x50a18c[_0x50a18c[_0x20c03e(0x167)]=0x9]=_0x20c03e(0x167),_0x50a18c[_0x50a18c[_0x20c03e(0xd8)]=0xa]='LOGIN_FAILED',_0x50a18c[_0x50a18c[_0x20c03e(0x15d)]=0x1389]=_0x20c03e(0x15d),_0x50a18c[_0x50a18c[_0x20c03e(0x135)]=0x1771]=_0x20c03e(0x135),_0x50a18c[_0x50a18c['SNAPSHOT_HAS_BEEN_REMOVED']=0x1772]='SNAPSHOT_HAS_BEEN_REMOVED',_0x50a18c[_0x50a18c[_0x20c03e(0x117)]=0x1773]=_0x20c03e(0x117),_0x50a18c[_0x50a18c['APPLY_REJECT']=0x1b59]=_0x20c03e(0x2a7),_0x50a18c[_0x50a18c['APPLY_NON_SEQUENTIAL_REVISION']=0x1b5a]=_0x20c03e(0x9c),_0x50a18c[_0x50a18c['APPLY_REVISION_CONFILICT']=0x1b5b]=_0x20c03e(0xdc),_0x50a18c[_0x50a18c[_0x20c03e(0x22a)]=0x1b5c]=_0x20c03e(0x22a),_0x50a18c[_0x50a18c[_0x20c03e(0x260)]=0x1b5d]=_0x20c03e(0x260),_0x50a18c[_0x50a18c[_0x20c03e(0x94)]=0x1f41]=_0x20c03e(0x94),_0x50a18c[_0x50a18c[_0x20c03e(0x2f5)]=0x2329]=_0x20c03e(0x2f5),_0x50a18c[_0x50a18c[_0x20c03e(0xbc)]=0x232a]=_0x20c03e(0xbc),_0x50a18c[_0x50a18c[_0x20c03e(0x1b4)]=0x232b]=_0x20c03e(0x1b4),_0x50a18c[_0x50a18c[_0x20c03e(0x25e)]=0x232c]=_0x20c03e(0x25e),_0x50a18c[_0x50a18c[_0x20c03e(0x301)]=0x232d]=_0x20c03e(0x301),_0x50a18c[_0x50a18c[_0x20c03e(0x2d0)]=0x2711]=_0x20c03e(0x2d0),_0x50a18c[_0x50a18c[_0x20c03e(0x22f)]=0x2712]='YUUMI_URL_COL_OUT_OF_RANGE',_0x50a18c[_0x50a18c[_0x20c03e(0x1ff)]=0x2713]=_0x20c03e(0x1ff),_0x50a18c[_0x50a18c[_0x20c03e(0x1bd)]=0x2714]=_0x20c03e(0x1bd),_0x50a18c[_0x50a18c[_0x20c03e(0x276)]=0x271a]=_0x20c03e(0x276),_0x50a18c[_0x50a18c[_0x20c03e(0x1ae)]=0x271b]=_0x20c03e(0x1ae),_0x50a18c[_0x50a18c[_0x20c03e(0x1b1)]=0x271c]=_0x20c03e(0x1b1),_0x50a18c[_0x50a18c[_0x20c03e(0x2f2)]=0x271d]=_0x20c03e(0x2f2),_0x50a18c[_0x50a18c['YUUMI_PROMPT_MAX_TOKENS_EXCEEDED']=0x271e]=_0x20c03e(0x293),_0x50a18c[_0x50a18c['YUUMI_AI_RUN_FAILED']=0x271f]=_0x20c03e(0x73),_0x50a18c[_0x50a18c[_0x20c03e(0x2cd)]=0x2af9]=_0x20c03e(0x2cd),_0x50a18c[_0x50a18c[_0x20c03e(0x2ea)]=0x2ee1]=_0x20c03e(0x2ea),_0x50a18c[_0x50a18c[_0x20c03e(0x247)]=0x2ee2]='INVALID_INVITE_CODE',_0x50a18c[_0x50a18c[_0x20c03e(0x17c)]=0x2ee3]=_0x20c03e(0x17c),_0x50a18c[_0x50a18c[_0x20c03e(0x1d4)]=0x2ee4]='USER_NOT_INVITED_CODE',_0x50a18c[_0x50a18c['INVITE_CODE_ALREADY_BOUND']=0x2ee5]='INVITE_CODE_ALREADY_BOUND',_0x50a18c[_0x50a18c[_0x20c03e(0x1df)]=0x32c9]=_0x20c03e(0x1df),_0x50a18c[_0x50a18c[_0x20c03e(0x7d)]=0x32ca]=_0x20c03e(0x7d),_0x50a18c[_0x50a18c['EMAIL_HAS_BEEN_BOUND']=0x32cb]=_0x20c03e(0x156),_0x50a18c[_0x50a18c[_0x20c03e(0xb7)]=-0x1]=_0x20c03e(0xb7),_0x50a18c))(_0x595df4||{}),_0x236b54=Object[_0x20c03e(0x1ec)],_0x5b32d1=(_0x38140c,_0xf8656c,_0x143a60,_0x293ebd)=>{const _0x322cb7=_0x20c03e;for(var _0x309cd6=_0x293ebd>0x1?void 0x0:_0x293ebd?_0x236b54(_0xf8656c,_0x143a60):_0xf8656c,_0x294bc4=_0x38140c[_0x322cb7(0x265)]-0x1,_0x5eff64;_0x294bc4>=0x0;_0x294bc4--)(_0x5eff64=_0x38140c[_0x294bc4])&&(_0x309cd6=_0x5eff64(_0x309cd6)||_0x309cd6);return _0x309cd6;},_0xdb7263=(_0x5c3e16,_0x47a699)=>(_0x38c903,_0x55def5)=>_0x47a699(_0x38c903,_0x55def5,_0x5c3e16);_0x17d51e[_0x20c03e(0xeb)]=class extends _0x1ea30e[_0x20c03e(0x186)]{constructor(_0x4e16d7,_0x4df1d6,_0x39fd51){const _0x2846dd=_0x20c03e;super(),this[_0x2846dd(0x11b)]=_0x4e16d7,this[_0x2846dd(0x305)]=_0x4df1d6,this[_0x2846dd(0x20d)]=_0x39fd51;}async[_0x20c03e(0x192)](_0x39e3aa,_0x44d1a1,_0x10f4f1,..._0x331b06){const _0x42664d=_0x20c03e;var _0x1ff765,_0x24af62,_0x35e789,_0x186003;const _0x365a64=this['_instanceService'][_0x42664d(0x1b3)]();if(!_0x365a64)throw new Error('[RemoteUniscriptService]:\x20no\x20focused\x20unit');const _0x728687=((_0x1ff765=this[_0x42664d(0x20d)][_0x42664d(0x1fc)](_0x4de101['REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY']))!=null?_0x1ff765:_0x4de101['DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT'])+'/'+_0x39e3aa+_0x42664d(0x84)+_0x44d1a1,_0x414ebc=new URL(window['location'][_0x42664d(0x13c)]),_0x1b2731={'scriptId':_0x39e3aa,'runId':(_0x24af62=_0x414ebc['searchParams'][_0x42664d(0x2d9)](_0x42664d(0xf9)))!=null?_0x24af62:'','function':_0x44d1a1,'unitId':_0x365a64[_0x42664d(0x17a)](),'argsOfFunction':JSON[_0x42664d(0xb5)](_0x331b06),'invokeId':(_0x35e789=_0x10f4f1[_0x42664d(0x150)])!=null?_0x35e789:'','executionId':(_0x186003=_0x10f4f1[_0x42664d(0x90)])!=null?_0x186003:''};try{const _0x2c0a04=await this[_0x42664d(0x305)][_0x42664d(0x250)](_0x728687,{'body':_0x1b2731});return _0x2c0a04[_0x42664d(0x10d)]['error']&&_0x2c0a04[_0x42664d(0x10d)]['error'][_0x42664d(0x25f)]!==_0x595df4['OK']?_0x42664d(0x2bd):_0x2c0a04[_0x42664d(0x10d)]['result'];}catch{return _0x42664d(0x2bd);}}},_0x17d51e[_0x20c03e(0xeb)]=_0x5b32d1([_0xdb7263(0x0,_0x1ea30e['IUniverInstanceService']),_0xdb7263(0x1,_0x1ea30e[_0x20c03e(0x175)](_0x107c73[_0x20c03e(0x24c)])),_0xdb7263(0x2,_0x1ea30e[_0x20c03e(0x9f)])],_0x17d51e[_0x20c03e(0xeb)]),_0x17d51e[_0x20c03e(0x24b)]=_0x230ce0,_0x17d51e[_0x20c03e(0x1cb)]=_0x217350,_0x17d51e[_0x20c03e(0x16c)]=_0x27a2e9,_0x17d51e[_0x20c03e(0x2af)]=_0x153a74,_0x17d51e[_0x20c03e(0xe7)]=_0x55761c,Object[_0x20c03e(0xff)](_0x17d51e,Symbol[_0x20c03e(0x1cc)],{'value':_0x20c03e(0x214)});}));function _0x5a91(){const _0x222c8c=['collaboration-client.offline-data-not-saved','collabCursorState$','set','addClipboardHook','_refreshCollabCursors','_getAnchorBounding','getCoordByCell','moveTo','@univerjs/network','debug','_sheetSkeletonManagerService','NodePositionConvertToCursor','_setupBeforeClosingHandler','_getSaveTimeout','toDisposable','_textBubble','_session','url(#off-line-single_clip0_910_343)','doc.mutation.rich-text-editing','APPLY_REJECT','jiqing.500','UNDEFINED','key','FromArray','Shape','_clearOtherTimers','height','WebBrowserSingleActiveUnitService','_docTransformIMECacheService','getVpScrollXYInfoByPosToVp','min','Rect','measureText','_syncEditingCollabCursorService','setTimeout','UNAUTHENTICATED','_scheduleClearOtherTimer','unshift','_online','_localeService','exports','Failed','push','_startSheetCollabCursor','getCollabEntity$','ILocalStorageService','_status$','entityInit$','transform','_labelPosition','wsSessionTicketUrl','findNodePositionByCharIndex','_doCreateSocket','replaceState','includes','ACTIVE_UNIT_EVENT_CHANNEL','defs','PY_RUNTIME_SCRIPT_ERROR','collab-rect-range-','_logService','YUUMI_UNABLE_LOAD_URL','UniverDrawing','UniverProCollaborationClientUi','AWAITING','UniverCollaborationClientUIPlugin','UniverDocsUi','mask','executeCommand','fromEvent','get','getOffsetConfig','SOCKET_FAILED_RETRY','searchParams','Workbook','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','then','onPointerEnter$','application/json','lineTo','indexOf','_handleHeartbeatEvent','show','map','getDocRanges','asObservable','collaboration.single-unit.warning','INVITE_CODE_HAS_BEEN_UES','_selfUnitIDs','@univerjs/docs-ui','source','_collaborationUIEventService','_saveTaskMap','fillStyle','setAlpha','YUUMI_ALL_TABLES_IS_INVALID','_drawTextRange','NO_OTHER_CLIENTS_EDITING','LICENSE_MAX_UNITS_EXCEEDED','@univerjs/docs','univer-text-sm\x20univer-leading-8\x20univer-text-gray-600\x20dark:!univer-text-gray-200','getMergeData','redoState','_range','loadUnit','_transformService','getTypeOfUnitDisposed$','DesktopCollaborationStatusDisplayController','collab-text-anchor-','IUIPartsService','LICENSE_DISTRO_REJECTED','DeleteRangeMoveUpCommandId','editingUnit','assignAColorForMemberID','_httpService','isTransformMutationsWithChangesetSuccess','_getSessionTicket','@univerjs/rpc','function','selection','INotificationService','_unitOnClients','YUUMI_AI_RUN_FAILED','onPointerLeave$','endRow','NOT_COLLAB','_document','Vector2','@univerjs-pro/collaboration-client','_injector','focused$','icon','MOBILE_HAS_BEEN_BOUND','UniverSheets','setItem','path','react/jsx-runtime','prototype','rgba(255,\x20255,\x20255,\x200.01)','/run/','SUBMIT_CHANGESET_TIMEOUT','idSuffix','MoveRangeCommandId','_revisionService','CollaborationSocketService','origin','#FFF','currentSkeleton$','_removeCollabCursors','@univerjs/core','_lastPointer','executionId','SOCKET_FAILED','handleInsertRow','110907EDzCRy','CONNECTOR_DATA_TOO_LARGE','_anchorDot','_cachedData','RefRangeService','dispose$','_getScale','UniverEngineRender','translate(.97)','APPLY_NON_SEQUENTIAL_REVISION','pluginName','@univerjs/engine-formula','IConfigService','onPointerMove$','useCallback','subscribe','DocIMEInputManagerService','parse','SetWorksheetActivateCommand','purple.300','_dataLoaderService','0\x200\x2017\x2016','collabStatus.conflict','delete','ITransformService','getRenderById','_refRangeService','getAncestorScale','roomMembers','MessageType','@univerjs/sheets-ui','DeleteRangeMoveLeftCommandId','transformRemoteChangeset','ALREADY_EXISTS','stringify','isActive','UNRECOGNIZED','deepClone','Plugin','FETCH_MISS','hide','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','engine','width','removeParam','723576wjuMVa','arc','transformIMECache','_transformHistoryAndStateStack','whenReady','AWAITING_WITH_PENDING','collaboration-client-ui.config','IBeforeCloseService','_render','UNIVER_DOC','Subject','_docTransformStateCacheService','colorChannel1','generateRandomId','_urlService','displayName','_heartbeatTimer','font','transformMutationsWithChangeset','_onCursorUpdate','@univerjs/sheets','_scheduleHeartbeat','46490aVKOWp','_config','LOGIN_FAILED','UniverSheetsUi','LocaleService','_hovered','APPLY_REVISION_CONFILICT','find','disableLocalCache','newValue','roomMembers$','collabStatus.notCollab','UniverNetwork','TEXT_RANGE_LAYER_INDEX','OTHER_CLIENT_EDITING','_anchor','closePath','WebURLService','_commandService','enableLocalCache','some','RemoteUniscriptService','CollaborationSessionService','getCurrent','UniverIcon','clearTimeout','saveOfflineData','_cursors','getColor','_eventUnsubscribe','startRow','NOT_FOUND','SetTextSelectionsOperation','_handleLeaveEvent','65504eJtEsd','runId','OFFLINE','onCommandExecuted','_saveCache','Error','send','defineProperty','_name','setShapeProps','_context','createElement','_handleHover','UnitStatus','_onRefRangeChange','_localCacheService','RichTextEditingMutation','UniverDocs','defIds','DocStateChangeManagerService','getSheetBySheetId','body','_ensureSubject','all','UniverCollaborationClientPlugin','UniverProCollaboration','propertyIsEnumerable','BrowserCollaborationSocketService','CollaborationDataLoaderController','UNIVER_SHEET','_themeService','ENSURE_SNAPSHOT_EXECUTION','_unitStatus','_createSocketURL','sheetId','_instanceService','IUniverInstanceService','round','0\x200\x2016\x2016','TEXT','_getSheetObject','getSkeleton','_removeClearOtherTimer','text','CollaborationStatus','permission.content','mergeOverrideWithDependencies','_hideTimer','_toggleOnline','DisposableCollection','subunit','_uiPartsService','endColumn','_id','red.300','ticket','getStateCache','unitID','switchMap','updateOfflineData','_localStorageService','SNAPSHOT_INVALID_SNAPSHOT','filter','memberID','_updateURLWithCurrentState','addObject','getLocalCacheKey','CollaborationUIEventId','href','history','init','NodePositionConvertToRectRange','DOC_RANGE_TYPE','substring','UniverDesign','_shapes','status$','CommandType','registerRefRange','resize','PERMISSION_DENIED','currentTheme$','forwardRef','registerComponent','override','_collaborationController','SessionStatus','_docSkeletonManagerService','invokeId','fillText','UNIVER_COLLABORATION_CLIENT_WEB_PLUGIN','_toggleOffline','apply','symbol','EMAIL_HAS_BEEN_BOUND','_registerDependencies','fill','univer-flex\x20univer-mr-2\x20univer-text-xl','BuiltInUIPart','VIEW_MAIN','runRefRangeMutations','CHANGESET_REVISION_CONFILICT','DependentOn','drawWith','getTypeOfUnitAdded$','className','disposeUnit','InsertColCommandId','_initResize','getCurrentUnitForType','evenodd','COMPLETION_FINISHED','BehaviorSubject','RECT','SheetsSelectionsService','IMessageService','SheetCollabCursorShape','handleMoveRange','disposeWithMe','_send','InsertRangeMoveRightCommandId','Unknown\x20user','throttleTime','LOCAL_CACHE_INTERVAL','transformByState','Inject','_drawRectRange','exhaustSavingTask','getValue','color','getUnitId','getCurrentSelections','INVITE_CODE_REQUIRED','xlink:href','top','_cursor','ICommandService','with','rxjs','RemoveRowCommandId','TRANSFORM_CHANGE_OBSERVABLE_TYPE','_handleEvent','Disposable','react','_entityInit$','toRgbString','_init','ranges','JOIN_ROOM_FAILED','getCellPositionByOffset','#fff','getSheetObject','_roomMembers$','getUnitStatus$','runOnServer','location','_setupSubUnitSync','jsxs','toString','setUndoRedoMutationParamsCache','getColorFromTheme','useDependency','restore','_docClipboardService','INTERNAL_ERROR','collabStatus.fetchMiss','size','handleIRemoveRow','@univerjs/drawing','IDocClipboardService','_updateLocalCursor','setInterval','SetDocZoomRatioOperation','onRendered','handleIRemoveCol','_colorIndex','_imageIoService','unit','sessionStatus$','PENDING','transformStateCache','string','YUUMI_ASYNCIO_CANCELLED','_draw','jsx','YUUMI_TABLE_NOT_FOUND_IN_UNIT','eventID','getFocusedUnit','LICENSE_IMPORT_SIZE_EXCEEDED','_docSkeleton','getSheetId','clearInterval','2602720bQhUoG','children','use','onMouseMove','m2Prime','YUUMI_SUBSCRIPTION_NOT_FOUND','syncEditingCollabCursor','USERS_LEAVE','clipPath','onLocalMutation','bottom','1751643iizKtH','collaboration.closeRoom','mutations','name','unsubscribe','getUnhiddenWorksheets','setConfig','column','IURLService','toStringTag','RxDisposable','setStateCache','React','createInstance','CollaborationEvent','getMember','@univerjs/ui','USER_NOT_INVITED_CODE','div','_collabSessionService','isEditing','debounce','unitId','call','UniverCore','merge','random','pushState','WECHAT_HAS_BEEN_BOUND','type','takeUntil','serializeRangeWithSheet','range','SheetSkeletonManagerService','attrs','undoState','Optional','_collabCursorState$','_colorAssignService','forEach','labelPosition','getOwnPropertyDescriptor','urlChange$','add','setActiveRange','getCollabCursors$','requireSession','MemberService','registerBeforeClose','_docStateChangeManagerService','...','data','imageSourceType','M0\x200H16V16H0z','from','_handleJoinEvent','isArray','getConfig','session.collaboration-timeout','_onCursorDelete','YUUMI_RATE_OVER_LIMIT','flatMap','getRangePointData','_initStatusListener','_initEntityListener','dispose','RegularPolygon','Tools','contains','error','split','next','UPDATE_CURSOR','_renderManagerService','_configService','collab-client.tooltip.reconnect','handleInsertCol','row','_registerRenderDependencies','_univerInstanceService','on-line-single_clip0_910_349','Module','DocSelectionManagerService','useObservable','save','92VehDXx','[CollaborationDataLoaderController]','has','_messageService','loadOfflineData','concat','_cursorShapes','operators','tag','handleInsertRangeMoveDown','CONFLICT','replace','yellow.400','OffLineSingle','_docTransformSelectionsService','_initCommandExecutedListener','_color','session.will-retry','APPLY_PERMISSION_DENIED','permission.title','cursorInfo','svg','_getMergeRange','YUUMI_URL_COL_OUT_OF_RANGE','_startDocCollabCursor','params','cursorInfo$','textRanges','session.connection-failed','_memberService','IImageIoService','UniverInstanceType','createSocket','isTransformMutationFailure','transformMutation','ColorKit','ISnapshotServerService','CollaborationController','off-line-single_clip0_910_343','setParam','IRenderManagerService','url(#on-line-single_clip0_910_349)','pipe','_transformPreviousActiveRange','on-line-single','getCurrentRevOfUnit','saveTaskMap','INVALID_INVITE_CODE','_beforeCloseService','COLORS','collab-text-range-','CollaborationStatusDisplay','HTTPService','_scene','skeleton','black','post','920ffjlLt','univerjs-icon\x20univerjs-icon-','_assignedColors','values','_drawAnchor','getParam','fillRule','_cursorInfo$','Injector','ONLINE','popstate','InsertRangeMoveDownCommandId','RemoveColCommandId','LICENSE_EXPORT_SIZE_EXCEEDED','code','APPLY_DUPLICATED','_scheduleSaving','_docSyncEditingCollabCursorService','_disabled','event$','length','addHandlerCallback','_backgroundColor','_updateCollabCursors','Rectangle','_initDependencies','Warning','_hover','getMemberID','m1Prime','_notificationService','startsWith','backgroundColor','getOwnPropertySymbols','CLOSE_ROOM','SYNCED','EffectRefRangId','YUUMI_NO_CUBOID_FOR_QUESTION','_transformUndoRedoStack','addEventListener','amd','21ZyJvzg','ILocalCacheService','complete','3691056QqJnZj','storage','uni.network.url-service','addObjects','assign','_entities','makeDirty','@univerjs-pro/collaboration','@univerjs/design','ISocketService','OTHER_CLIENTS_EDITING','_collabCursorController','none','subscribeEvent','hasOwnProperty','registerRenderModule','1em','max','search','_updateSubUnitFromURLParams','createIdentifier','currentColor','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED'];_0x5a91=function(){return _0x222c8c;};return _0x5a91();}
|
|
1
|
+
function _0x28da(_0x31131f,_0x14bf2e){const _0x473969=_0x4739();return _0x28da=function(_0x28dabc,_0x5e313f){_0x28dabc=_0x28dabc-0x158;let _0xf57f84=_0x473969[_0x28dabc];return _0xf57f84;},_0x28da(_0x31131f,_0x14bf2e);}(function(_0x5c627f,_0xe1e54a){const _0x1f9ef1=_0x28da,_0x311092=_0x5c627f();while(!![]){try{const _0x58543c=parseInt(_0x1f9ef1(0x330))/0x1*(parseInt(_0x1f9ef1(0x276))/0x2)+parseInt(_0x1f9ef1(0x1be))/0x3*(parseInt(_0x1f9ef1(0x1e0))/0x4)+parseInt(_0x1f9ef1(0x319))/0x5*(-parseInt(_0x1f9ef1(0x26d))/0x6)+-parseInt(_0x1f9ef1(0x3e9))/0x7*(parseInt(_0x1f9ef1(0x29a))/0x8)+-parseInt(_0x1f9ef1(0x32d))/0x9+-parseInt(_0x1f9ef1(0x266))/0xa*(-parseInt(_0x1f9ef1(0x27e))/0xb)+-parseInt(_0x1f9ef1(0x2d1))/0xc;if(_0x58543c===_0xe1e54a)break;else _0x311092['push'](_0x311092['shift']());}catch(_0x3fd9d9){_0x311092['push'](_0x311092['shift']());}}}(_0x4739,0x467dd),function(_0x2d4b9f,_0x37db4f){const _0x2d8fc5=_0x28da;typeof exports=='object'&&typeof module<'u'?_0x37db4f(exports,require(_0x2d8fc5(0x188)),require(_0x2d8fc5(0x1ec)),require(_0x2d8fc5(0x3d7)),require(_0x2d8fc5(0x1c9)),require(_0x2d8fc5(0x377)),require(_0x2d8fc5(0x218)),require(_0x2d8fc5(0x1a4)),require(_0x2d8fc5(0x199)),require('@univerjs-pro/collaboration'),require(_0x2d8fc5(0x279)),require('@univerjs/sheets'),require('rxjs/operators'),require('@univerjs/sheets-ui'),require(_0x2d8fc5(0x1e2)),require('@univerjs/ui'),require(_0x2d8fc5(0x260)),require(_0x2d8fc5(0x2ae)),require('@univerjs/rpc')):typeof define==_0x2d8fc5(0x353)&&define[_0x2d8fc5(0x37b)]?define([_0x2d8fc5(0x274),_0x2d8fc5(0x188),_0x2d8fc5(0x1ec),_0x2d8fc5(0x3d7),_0x2d8fc5(0x1c9),_0x2d8fc5(0x377),_0x2d8fc5(0x218),_0x2d8fc5(0x1a4),_0x2d8fc5(0x199),_0x2d8fc5(0x219),_0x2d8fc5(0x279),_0x2d8fc5(0x1bd),'rxjs/operators',_0x2d8fc5(0x38a),_0x2d8fc5(0x1e2),'@univerjs/ui',_0x2d8fc5(0x260),'react','@univerjs/rpc'],_0x37db4f):(_0x2d4b9f=typeof globalThis<'u'?globalThis:_0x2d4b9f||self,_0x37db4f(_0x2d4b9f['UniverProCollaborationClientUi']={},_0x2d4b9f[_0x2d8fc5(0x226)],_0x2d4b9f[_0x2d8fc5(0x1ef)],_0x2d4b9f[_0x2d8fc5(0x34e)],_0x2d4b9f['UniverNetwork'],_0x2d4b9f['UniverDocsUi'],_0x2d4b9f['UniverDrawing'],_0x2d4b9f[_0x2d8fc5(0x1a4)],_0x2d4b9f[_0x2d8fc5(0x378)],_0x2d4b9f[_0x2d8fc5(0x1de)],_0x2d4b9f[_0x2d8fc5(0x383)],_0x2d4b9f[_0x2d8fc5(0x38e)],_0x2d4b9f[_0x2d8fc5(0x1a4)][_0x2d8fc5(0x31b)],_0x2d4b9f[_0x2d8fc5(0x2dd)],_0x2d4b9f['React'],_0x2d4b9f[_0x2d8fc5(0x3ae)],_0x2d4b9f['UniverDesign'],_0x2d4b9f[_0x2d8fc5(0x165)],_0x2d4b9f[_0x2d8fc5(0x3ad)]));}(this,function(_0x4d92ba,_0x55aa48,_0x403a48,_0x1380e3,_0x160af6,_0xf283a2,_0x4a423e,_0x15c792,_0x36b8d7,_0x261ba6,_0xf4f0b7,_0x46f729,_0x54a7c7,_0x2e664f,_0x56a115,_0x590bc9,_0x54ee32,_0xd420d5,_0xe4a6ff){'use strict';const _0x2b281a=_0x28da;var _0x292dcc=Object[_0x2b281a(0x1ad)],_0x1c9bd4=(_0x902161,_0x54ecc8,_0x3a9b6e)=>_0x54ecc8 in _0x902161?_0x292dcc(_0x902161,_0x54ecc8,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x3a9b6e}):_0x902161[_0x54ecc8]=_0x3a9b6e,_0x95fa0d=(_0x4f89fe,_0x3352f5,_0x3350f7)=>_0x1c9bd4(_0x4f89fe,typeof _0x3352f5!=_0x2b281a(0x227)?_0x3352f5+'':_0x3352f5,_0x3350f7),_0x357be0=Object[_0x2b281a(0x354)],_0x33b300=(_0x29d4dc,_0x76b3a4,_0xdf2ac1,_0x16ae1c)=>{const _0x5f14d3=_0x2b281a;for(var _0x4672d5=_0x16ae1c>0x1?void 0x0:_0x16ae1c?_0x357be0(_0x76b3a4,_0xdf2ac1):_0x76b3a4,_0x47b011=_0x29d4dc[_0x5f14d3(0x36f)]-0x1,_0x15fe03;_0x47b011>=0x0;_0x47b011--)(_0x15fe03=_0x29d4dc[_0x47b011])&&(_0x4672d5=_0x15fe03(_0x4672d5)||_0x4672d5);return _0x4672d5;},_0x25415d=(_0x2e700b,_0x3df852)=>(_0x198fab,_0x7c084c)=>_0x3df852(_0x198fab,_0x7c084c,_0x2e700b);let _0x5aa976=class extends _0x403a48[_0x2b281a(0x3e8)]{constructor(_0x3f0284,_0x44cbfb){const _0x34a106=_0x2b281a;super(),this['_docClipboardService']=_0x3f0284,this['_imageIoService']=_0x44cbfb,this[_0x34a106(0x223)]();}['_init'](){const _0x5e2708=_0x2b281a,_0x142cd9=this;this[_0x5e2708(0x3f2)](this[_0x5e2708(0x1fc)][_0x5e2708(0x16d)]({'onBeforePasteImage':async _0x3dce97=>{const _0x5daf27=_0x5e2708,_0x34a29a=await _0x142cd9['_imageIoService'][_0x5daf27(0x272)](_0x3dce97);return _0x34a29a?{'source':_0x34a29a[_0x5daf27(0x3d6)],'imageSourceType':_0x34a29a['imageSourceType']}:null;}}));}};_0x5aa976=_0x33b300([_0x25415d(0x0,_0xf283a2[_0x2b281a(0x2ea)]),_0x25415d(0x1,_0x4a423e['IImageIoService'])],_0x5aa976);const _0x1487a6=[_0x2b281a(0x1f1),_0x2b281a(0x1c8),_0x2b281a(0x243),_0x2b281a(0x33a),_0x2b281a(0x395),_0x2b281a(0x208)];class _0x39e635 extends _0x403a48[_0x2b281a(0x265)]{constructor(){const _0x2c90eb=_0x2b281a;super(...arguments),_0x95fa0d(this,_0x2c90eb(0x2c4),new Map()),_0x95fa0d(this,_0x2c90eb(0x347),0x0);}['assignAColorForMemberID'](_0xfc2e1a){const _0x119efe=_0x2b281a;if(this['_assignedColors'][_0x119efe(0x1c5)](_0xfc2e1a))return this[_0x119efe(0x2c4)][_0x119efe(0x3c2)](_0xfc2e1a);const _0x2f1741=_0x1487a6[this[_0x119efe(0x347)]];return this[_0x119efe(0x347)]=(this['_colorIndex']+0x1)%_0x1487a6[_0x119efe(0x36f)],this[_0x119efe(0x2c4)][_0x119efe(0x25e)](_0xfc2e1a,_0x2f1741),_0x2f1741;}}function _0x548fd6(_0x5b97f3){const _0x3b771a=_0x2b281a;let _0x2152f1='';for(const _0x59557b of _0x5b97f3){const {startOffset:_0x1f307b,endOffset:_0x2642cb,isActive:_0x28afdb,rangeType:_0x39ebac,segmentId:_0x440d15,segmentPage:_0x425906}=_0x59557b;_0x2152f1[_0x3b771a(0x36f)]&&(_0x2152f1+=','),_0x2152f1+=_0x1f307b+':'+_0x2642cb+':'+(_0x28afdb?'1':'0')+':'+_0x39ebac+':'+_0x440d15+':'+_0x425906;}return _0x2152f1;}function _0x27275c(_0x4e001e){const _0x15833e=_0x2b281a,_0x32638d=_0x4e001e['split'](','),_0x2bda1e=[];for(const _0x559fa9 of _0x32638d){const [_0x508245,_0xb52aa5,_0x4feed3,_0x35623d,_0x39ce8e,_0x1098aa]=_0x559fa9['split'](':');_0x2bda1e['push']({'startOffset':Number(_0x508245),'endOffset':Number(_0xb52aa5),'collapsed':_0x508245===_0xb52aa5,'isActive':_0x4feed3==='1','rangeType':_0x35623d===_0x403a48[_0x15833e(0x1a7)]['TEXT']?_0x403a48['DOC_RANGE_TYPE'][_0x15833e(0x2e3)]:_0x403a48[_0x15833e(0x1a7)][_0x15833e(0x24e)],'segmentId':typeof _0x39ce8e==_0x15833e(0x1df)?String(_0x39ce8e):'','segmentPage':Number(_0x1098aa!=null?_0x1098aa:-0x1)});}return _0x2bda1e[_0x15833e(0x182)](_0x229e2c=>_0x229e2c[_0x15833e(0x22f)])||(_0x2bda1e[0x0][_0x15833e(0x22f)]=!0x0),_0x2bda1e;}class _0x225ea0 extends _0x403a48['RxDisposable']{constructor(){const _0x270d8e=_0x2b281a;super(...arguments),_0x95fa0d(this,'_collabCursorState$',new _0x15c792[(_0x270d8e(0x37f))](null)),_0x95fa0d(this,'collabCursorState$',this['_collabCursorState$'][_0x270d8e(0x335)]());}['syncEditingCollabCursor'](_0x5ae415){const {unitID:_0x34cb0d,memberID:_0x4d5c8d,textRanges:_0x4e7232}=_0x5ae415,_0x405dd8=_0x548fd6(_0x4e7232);if(_0x405dd8==='')return;const _0xa3351={'unitID':_0x34cb0d,'memberID':_0x4d5c8d,'selection':_0x405dd8};this['_collabCursorState$']['next'](_0xa3351);}}var _0x48bdbe=Object[_0x2b281a(0x354)],_0x282ba7=(_0x238d94,_0x4a5e13,_0x1826f3,_0xb493dd)=>{const _0x15ebdf=_0x2b281a;for(var _0x2067dd=_0xb493dd>0x1?void 0x0:_0xb493dd?_0x48bdbe(_0x4a5e13,_0x1826f3):_0x4a5e13,_0x4d9c10=_0x238d94[_0x15ebdf(0x36f)]-0x1,_0x299637;_0x4d9c10>=0x0;_0x4d9c10--)(_0x299637=_0x238d94[_0x4d9c10])&&(_0x2067dd=_0x299637(_0x2067dd)||_0x2067dd);return _0x2067dd;},_0x3bf40e=(_0x1ab7f0,_0x270368)=>(_0xdeee02,_0x41bee8)=>_0x270368(_0xdeee02,_0x41bee8,_0x1ab7f0);const _0x4cbe43=0x12c,_0x412763=0x64;let _0x5a8dcc=class extends _0x403a48[_0x2b281a(0x3e8)]{constructor(_0x4c6aae,_0x770421,_0x2aaf45,_0x285da6,_0x34bb6c,_0x54def0,_0x2f7929,_0x1e9917,_0x2afb53){const _0x3abd63=_0x2b281a;super(),_0x95fa0d(this,_0x3abd63(0x343),!0x1),_0x95fa0d(this,'_init',!0x1),_0x95fa0d(this,'_cursorInfo$',new _0x15c792[(_0x3abd63(0x37f))](new Map())),_0x95fa0d(this,_0x3abd63(0x333),this[_0x3abd63(0x380)][_0x3abd63(0x335)]()),_0x95fa0d(this,_0x3abd63(0x355),new _0x15c792[(_0x3abd63(0x37f))]([])),_0x95fa0d(this,_0x3abd63(0x285),this[_0x3abd63(0x355)]['pipe'](_0x15c792[_0x3abd63(0x3f4)](_0x4cbe43))),_0x95fa0d(this,_0x3abd63(0x20f),_0x403a48[_0x3abd63(0x17b)](_0x2de118=>{const _0x4613b1=_0x3abd63,_0x4dd97a={'eventID':_0x261ba6[_0x4613b1(0x2ab)][_0x4613b1(0x34a)],'data':{'unitID':this[_0x4613b1(0x1ab)],'memberID':this[_0x4613b1(0x159)][_0x4613b1(0x190)](),'selection':_0x548fd6(_0x2de118)}};this['_session']['send'](_0x4dd97a,this[_0x4613b1(0x1ab)]);},_0x412763)),(this[_0x3abd63(0x1ab)]=_0x4c6aae,this[_0x3abd63(0x159)]=_0x770421,this[_0x3abd63(0x24a)]=_0x2aaf45,this[_0x3abd63(0x32e)]=_0x285da6,this[_0x3abd63(0x1b0)]=_0x34bb6c,this[_0x3abd63(0x3e3)]=_0x54def0,this[_0x3abd63(0x367)]=_0x2f7929,this[_0x3abd63(0x2c8)]=_0x1e9917,this[_0x3abd63(0x303)]=_0x2afb53);}get[_0x2b281a(0x2ce)](){const _0x359956=_0x2b281a;return this[_0x359956(0x380)][_0x359956(0x18e)]();}get[_0x2b281a(0x21f)](){const _0x1df61c=_0x2b281a;return this[_0x1df61c(0x355)][_0x1df61c(0x18e)]();}['dispose'](){const _0x158e28=_0x2b281a;super[_0x158e28(0x322)](),this[_0x158e28(0x380)][_0x158e28(0x1ac)](new Map()),this[_0x158e28(0x380)]['complete'](),this[_0x158e28(0x355)][_0x158e28(0x1ac)]([]),this[_0x158e28(0x355)][_0x158e28(0x2db)]();}[_0x2b281a(0x1ce)](){const _0x3c3a00=_0x2b281a;this['_init']||(this[_0x3c3a00(0x223)]=!0x0,this['_session'][_0x3c3a00(0x234)][_0x3c3a00(0x28a)](_0x15c792[_0x3c3a00(0x261)](this[_0x3c3a00(0x30b)]))[_0x3c3a00(0x308)](_0x40561d=>{const _0x45a700=_0x3c3a00;_0x40561d===_0x55aa48[_0x45a700(0x370)]['ONLINE']?this[_0x45a700(0x1e5)]():this['_toggleOffline']();}),this['_session'][_0x3c3a00(0x3ca)][_0x3c3a00(0x28a)](_0x15c792[_0x3c3a00(0x261)](this[_0x3c3a00(0x30b)]))['subscribe'](_0x360dec=>{const _0x3bd8b4=_0x3c3a00,_0x1c3012=_0x360dec[_0x3bd8b4(0x20c)];_0x1c3012===_0x261ba6[_0x3bd8b4(0x2ab)][_0x3bd8b4(0x34a)]&&this['_onCursorUpdate'](_0x360dec),_0x1c3012===_0x261ba6[_0x3bd8b4(0x2ab)]['USERS_LEAVE']&&this[_0x3bd8b4(0x2b6)](_0x360dec);}),this[_0x3c3a00(0x3f2)](this[_0x3c3a00(0x303)][_0x3c3a00(0x3c7)](_0x52bfb8=>{const _0xc0fe=_0x3c3a00,_0x1d94dd=_0x52bfb8[_0xc0fe(0x3ef)];_0x1d94dd!=null&&this[_0xc0fe(0x343)]&&_0x52bfb8['id']===_0x36b8d7[_0xc0fe(0x171)]['id']&&_0x1d94dd[_0xc0fe(0x3b0)]===this[_0xc0fe(0x1ab)]&&_0x1d94dd[_0xc0fe(0x1f6)]===!0x1&&_0x1d94dd['ranges'][_0xc0fe(0x36f)]>0x0&&this[_0xc0fe(0x20f)](_0x1d94dd[_0xc0fe(0x1f0)]);})),this[_0x3c3a00(0x3e3)][_0x3c3a00(0x1b1)][_0x3c3a00(0x28a)](_0x15c792[_0x3c3a00(0x261)](this[_0x3c3a00(0x30b)]))[_0x3c3a00(0x308)](_0x245909=>{const _0x23581f=_0x3c3a00;if((_0x245909==null?void 0x0:_0x245909[_0x23581f(0x1ab)])!==this[_0x23581f(0x1ab)])return;const _0x34fecd={'eventID':_0x261ba6[_0x23581f(0x2ab)][_0x23581f(0x34a)],'data':_0x245909};this['_onCursorUpdate'](_0x34fecd);}),this[_0x3c3a00(0x3f2)](this['_commandService'][_0x3c3a00(0x3c7)](_0x8bf966=>{const _0x468d80=_0x3c3a00;if(_0x8bf966[_0x468d80(0x3ef)]==null)return;const _0x760765=_0x8bf966[_0x468d80(0x3ef)];if(_0x8bf966['id']!==_0x36b8d7[_0x468d80(0x31c)]['id']||_0x760765[_0x468d80(0x3b0)]!==this[_0x468d80(0x1ab)])return;const _0x22165b={'id':_0x468d80(0x185),'params':_0x760765},_0x53e13f=this[_0x468d80(0x2ce)];for(const [_0x48c1c6,_0x19acfc]of _0x53e13f){const _0x166a00={'id':_0x468d80(0x185),'params':{'unitId':this[_0x468d80(0x1ab)],'actions':null,'textRanges':_0x19acfc[_0x468d80(0x1f0)]}},_0x145aa2=this['_transformService'][_0x468d80(0x3dd)](_0x22165b,_0x166a00,!0x1);if(_0x261ba6[_0x468d80(0x369)](_0x145aa2))throw _0x145aa2['error'];_0x53e13f[_0x468d80(0x25e)](_0x48c1c6,{..._0x19acfc,'ranges':_0x145aa2[_0x468d80(0x253)][_0x468d80(0x3ef)][_0x468d80(0x3cc)]});}queueMicrotask(()=>{const _0x3b48ac=_0x468d80;this[_0x3b48ac(0x380)]['next'](_0x53e13f);});})));}['_onCursorUpdate'](_0x58c8b3){const _0x426f22=_0x2b281a;var _0x5ebce8,_0x1240ad;const {memberID:_0x417057,selection:_0x4223cd}=_0x58c8b3[_0x426f22(0x1c6)],_0x31585b=_0x27275c(_0x4223cd),_0x4cc645=(_0x1240ad=(_0x5ebce8=this['_memberService'][_0x426f22(0x172)](this[_0x426f22(0x1ab)],_0x417057))==null?void 0x0:_0x5ebce8[_0x426f22(0x203)])!=null?_0x1240ad:'Unknown\x20user',_0x4f09ba={'color':this['_colorAssignService']['assignAColorForMemberID'](_0x417057),'name':_0x4cc645,'ranges':_0x31585b},_0x642b3c=this[_0x426f22(0x2ce)];_0x642b3c['set'](_0x417057,_0x4f09ba),this[_0x426f22(0x380)][_0x426f22(0x1ac)](_0x642b3c);}[_0x2b281a(0x2b6)](_0x3da532){const _0x24892b=_0x2b281a,{memberID:_0x4d4903}=_0x3da532[_0x24892b(0x1c6)],_0x446fa5=this['cursorInfo'];_0x446fa5['delete'](_0x4d4903),this['_cursorInfo$'][_0x24892b(0x1ac)](_0x446fa5);}[_0x2b281a(0x1e5)](){const _0x5b0c0b=_0x2b281a;var _0x53d8ed;if(this[_0x5b0c0b(0x343)]=!0x0,((_0x53d8ed=this[_0x5b0c0b(0x2c8)][_0x5b0c0b(0x364)]())==null?void 0x0:_0x53d8ed[_0x5b0c0b(0x1b9)]())!==this[_0x5b0c0b(0x1ab)])return;const _0x354894=this[_0x5b0c0b(0x24a)][_0x5b0c0b(0x3c2)](_0x36b8d7[_0x5b0c0b(0x396)])['getDocRanges']();Array[_0x5b0c0b(0x3e5)](_0x354894)&&_0x354894['length']>0x0&&this[_0x5b0c0b(0x20f)](_0x354894);}[_0x2b281a(0x21c)](){const _0x226006=_0x2b281a;this[_0x226006(0x343)]=!0x1;}};_0x5a8dcc=_0x282ba7([_0x3bf40e(0x2,_0x403a48['Inject'](_0x403a48[_0x2b281a(0x267)])),_0x3bf40e(0x3,_0x403a48[_0x2b281a(0x19a)](_0x39e635)),_0x3bf40e(0x4,_0x403a48[_0x2b281a(0x19a)](_0x55aa48[_0x2b281a(0x160)])),_0x3bf40e(0x5,_0x403a48[_0x2b281a(0x19a)](_0x225ea0)),_0x3bf40e(0x6,_0x261ba6[_0x2b281a(0x36c)]),_0x3bf40e(0x7,_0x403a48[_0x2b281a(0x360)]),_0x3bf40e(0x8,_0x403a48[_0x2b281a(0x2f5)])],_0x5a8dcc);var _0x387ad3=Object[_0x2b281a(0x354)],_0x318172=(_0x135059,_0x3cc462,_0x17baa8,_0x2703e0)=>{const _0x46e39a=_0x2b281a;for(var _0x487367=_0x2703e0>0x1?void 0x0:_0x2703e0?_0x387ad3(_0x3cc462,_0x17baa8):_0x3cc462,_0x503ff2=_0x135059[_0x46e39a(0x36f)]-0x1,_0x3567f5;_0x503ff2>=0x0;_0x503ff2--)(_0x3567f5=_0x135059[_0x503ff2])&&(_0x487367=_0x3567f5(_0x487367)||_0x487367);return _0x487367;},_0x2f73dc=(_0x472cb3,_0x416ad5)=>(_0x16b16a,_0x1c515d)=>_0x416ad5(_0x16b16a,_0x1c515d,_0x472cb3);const _0x2b3988=0x12c,_0x5c847d=0x64,_0x23d783=()=>{let _0x37fd0e=[],_0x2dc12d=!0x1;return _0x81f4ab=>{const _0x3d184e=_0x28da;_0x37fd0e[_0x3d184e(0x381)](_0x81f4ab),_0x2dc12d||(_0x2dc12d=!0x0,setTimeout(()=>{_0x37fd0e['forEach'](_0xfc2af3=>_0xfc2af3()),_0x37fd0e=[],_0x2dc12d=!0x1;}));};};let _0x56b781=class extends _0x403a48['RxDisposable']{constructor(_0x3abfef,_0xf7eb5d,_0x12bd5f,_0x5b8f48,_0x234d17,_0x55e32e,_0x25b9a0,_0x38ead4){const _0x43033c=_0x2b281a;super(),_0x95fa0d(this,_0x43033c(0x343),!0x1),_0x95fa0d(this,_0x43033c(0x223),!0x1),_0x95fa0d(this,'_cursorInfo$',new _0x15c792['BehaviorSubject'](new Map())),_0x95fa0d(this,'cursorInfo$',this[_0x43033c(0x380)][_0x43033c(0x335)]()),_0x95fa0d(this,_0x43033c(0x355),new _0x15c792[(_0x43033c(0x37f))]([])),_0x95fa0d(this,_0x43033c(0x285),this[_0x43033c(0x355)][_0x43033c(0x28a)](_0x15c792[_0x43033c(0x3f4)](_0x2b3988))),_0x95fa0d(this,_0x43033c(0x20f),_0x403a48[_0x43033c(0x17b)]((_0x1b0f40,_0x53c8a5)=>{const _0x459316=_0x43033c,_0x2f5713={'eventID':_0x261ba6[_0x459316(0x2ab)][_0x459316(0x34a)],'data':{'unitID':this[_0x459316(0x1ab)],'memberID':this[_0x459316(0x159)][_0x459316(0x190)](),'selection':_0xf4f0b7[_0x459316(0x233)](_0x1b0f40,_0x53c8a5['range'])}};this[_0x459316(0x159)][_0x459316(0x1f5)](_0x2f5713,this['unitID']);},_0x5c847d)),(this[_0x43033c(0x1ab)]=_0x3abfef,this['_session']=_0xf7eb5d,this['_injector']=_0x12bd5f,this[_0x43033c(0x32e)]=_0x5b8f48,this[_0x43033c(0x1b0)]=_0x234d17,this[_0x43033c(0x2c8)]=_0x55e32e,this[_0x43033c(0x303)]=_0x25b9a0,this[_0x43033c(0x277)]=_0x38ead4);}get[_0x2b281a(0x2ce)](){const _0x47f873=_0x2b281a;return this[_0x47f873(0x380)][_0x47f873(0x18e)]();}get['roomMembers'](){const _0x25c6b7=_0x2b281a;return this[_0x25c6b7(0x355)]['getValue']();}[_0x2b281a(0x322)](){const _0x4656bc=_0x2b281a;super['dispose'](),this[_0x4656bc(0x380)]['next'](new Map()),this['_cursorInfo$'][_0x4656bc(0x2db)](),this[_0x4656bc(0x355)]['next']([]),this['_roomMembers$'][_0x4656bc(0x2db)]();}[_0x2b281a(0x1ce)](){const _0x1514d0=_0x2b281a;this[_0x1514d0(0x223)]||(this[_0x1514d0(0x223)]=!0x0,this['_session']['sessionStatus$'][_0x1514d0(0x28a)](_0x15c792[_0x1514d0(0x261)](this[_0x1514d0(0x30b)]))['subscribe'](_0x557691=>{const _0x37982b=_0x1514d0;_0x557691===_0x55aa48[_0x37982b(0x370)][_0x37982b(0x249)]?this['_toggleOnline']():this[_0x37982b(0x21c)]();}),this[_0x1514d0(0x159)][_0x1514d0(0x3ca)][_0x1514d0(0x28a)](_0x15c792['takeUntil'](this[_0x1514d0(0x30b)]))['subscribe'](_0x4e2830=>{const _0x8bbf6=_0x1514d0,_0x21f4f0=_0x4e2830[_0x8bbf6(0x20c)];_0x21f4f0===_0x261ba6[_0x8bbf6(0x2ab)][_0x8bbf6(0x34a)]&&this[_0x8bbf6(0x35b)](_0x4e2830),_0x21f4f0===_0x261ba6['CollaborationEvent'][_0x8bbf6(0x2bb)]&&this[_0x8bbf6(0x2b6)](_0x4e2830);}),this[_0x1514d0(0x1a2)](),this[_0x1514d0(0x3f2)](this[_0x1514d0(0x303)][_0x1514d0(0x3c7)](_0x3109f5=>{const _0x196f67=_0x1514d0;if(this[_0x196f67(0x343)]&&_0x3109f5['id']===_0x46f729[_0x196f67(0x200)]['id']&&_0x3109f5[_0x196f67(0x3ef)][_0x196f67(0x3b0)]===this[_0x196f67(0x1ab)]){const _0x4830be=_0x3109f5[_0x196f67(0x3ef)];this[_0x196f67(0x20f)](_0x4830be[_0x196f67(0x22d)],_0x4830be[_0x196f67(0x23a)][0x0]);}})));}[_0x2b281a(0x35b)](_0x3cc725){const _0xba5005=_0x2b281a;var _0x5a82c5,_0x23cf43;const {memberID:_0x26b435,selection:_0xbb765d}=_0x3cc725[_0xba5005(0x1c6)],{sheetName:_0x449a94,range:_0x4d1e32}=_0xf4f0b7[_0xba5005(0x284)](_0xbb765d),_0x38669f={'name':(_0x23cf43=(_0x5a82c5=this[_0xba5005(0x1b0)][_0xba5005(0x172)](this[_0xba5005(0x1ab)],_0x26b435))==null?void 0x0:_0x5a82c5['name'])!=null?_0x23cf43:_0xba5005(0x286),'range':this[_0xba5005(0x240)](_0x449a94,_0x4d1e32),'sheetID':_0x449a94,'color':this[_0xba5005(0x32e)]['assignAColorForMemberID'](_0x26b435),'selection':_0xbb765d},_0x2411d3=this['cursorInfo'];_0x2411d3['set'](_0x26b435,_0x38669f),this[_0xba5005(0x380)][_0xba5005(0x1ac)](_0x2411d3);}[_0x2b281a(0x2b6)](_0x2a1c21){const _0x5ad0bc=_0x2b281a,{memberID:_0x12f58c}=_0x2a1c21[_0x5ad0bc(0x1c6)],_0x52d982=this[_0x5ad0bc(0x2ce)];_0x52d982[_0x5ad0bc(0x3cb)](_0x12f58c),this[_0x5ad0bc(0x380)][_0x5ad0bc(0x1ac)](_0x52d982);}[_0x2b281a(0x240)](_0x33ac0c,_0x10c5b8){const _0x3a0bec=_0x2b281a;var _0xceffd2,_0x176490;const _0x44c67c=(_0x176490=(_0xceffd2=this[_0x3a0bec(0x2c8)][_0x3a0bec(0x20b)](this['unitID']))==null?void 0x0:_0xceffd2[_0x3a0bec(0x307)](_0x33ac0c))==null?void 0x0:_0x176490['getMergeData']();return(_0x44c67c==null?void 0x0:_0x44c67c[_0x3a0bec(0x161)](_0x629bf9=>_0x403a48[_0x3a0bec(0x181)]['contains'](_0x629bf9,_0x10c5b8)))||_0x10c5b8;}[_0x2b281a(0x1a2)](){const _0x10d299=_0x2b281a,_0x13b277=new _0x403a48[(_0x10d299(0x24b))](),_0x1c076b=_0x23d783(),_0x2228f3=()=>{const _0x4afa1c=_0x10d299;_0x13b277['dispose']();const _0x54ff18=(_0x41133f,_0x27e999,_0x2a978a,_0x190fd2)=>{const _0x44070a=_0x28da;let _0x4774a4=[];switch(_0x41133f['id']){case _0x46f729[_0x44070a(0x242)][_0x44070a(0x2d3)]:{_0x4774a4=_0x46f729[_0x44070a(0x1e6)](_0x41133f,_0x190fd2);break;}case _0x46f729['EffectRefRangId']['DeleteRangeMoveUpCommandId']:{_0x4774a4=_0x46f729[_0x44070a(0x30c)](_0x41133f,_0x190fd2);break;}case _0x46f729[_0x44070a(0x242)][_0x44070a(0x1aa)]:{_0x4774a4=_0x46f729[_0x44070a(0x186)](_0x41133f,_0x190fd2);break;}case _0x46f729['EffectRefRangId'][_0x44070a(0x341)]:{_0x4774a4=_0x46f729[_0x44070a(0x310)](_0x41133f,_0x190fd2);break;}case _0x46f729[_0x44070a(0x242)][_0x44070a(0x35f)]:{_0x4774a4=_0x46f729[_0x44070a(0x28c)](_0x41133f,_0x190fd2);break;}case _0x46f729[_0x44070a(0x242)]['InsertRowCommandId']:{_0x4774a4=_0x46f729[_0x44070a(0x2af)](_0x41133f,_0x190fd2);break;}case _0x46f729[_0x44070a(0x242)][_0x44070a(0x3df)]:{_0x4774a4=_0x46f729[_0x44070a(0x2b0)](_0x41133f,_0x190fd2);break;}case _0x46f729['EffectRefRangId']['RemoveColCommandId']:{_0x4774a4=_0x46f729['handleIRemoveCol'](_0x41133f,_0x190fd2);break;}case _0x46f729['EffectRefRangId']['RemoveRowCommandId']:{_0x4774a4=_0x46f729['handleIRemoveRow'](_0x41133f,_0x190fd2);break;}}const _0x4d58d2=_0x46f729[_0x44070a(0x3b4)](_0x4774a4,_0x190fd2),_0x1b9c23=this['cursorInfo'][_0x44070a(0x3c2)](_0x27e999);if(_0x1b9c23&&_0x4d58d2){const _0x295384={..._0x1b9c23,'range':_0x4d58d2};this[_0x44070a(0x2ce)]['set'](_0x27e999,_0x295384),_0x1c076b(()=>{const _0x963597=_0x44070a,_0x4fffb5=this[_0x963597(0x277)][_0x963597(0x2e2)](_0x4d58d2,_0x5dd118=>(_0x4fffb5['dispose'](),_0x54ff18(_0x5dd118,_0x27e999,_0x2a978a,_0x4d58d2)));_0x13b277['add'](_0x4fffb5);});}return{'redos':[],'undos':[]};};this[_0x4afa1c(0x2ce)][_0x4afa1c(0x2e1)]((_0x58101e,_0x4e4b7f)=>{const _0x3dee6f=_0x4afa1c,{range:_0xed9113,sheetID:_0x4f0620}=_0x58101e,_0x5a8dcf=this[_0x3dee6f(0x277)][_0x3dee6f(0x2e2)](_0xed9113,_0x174e5f=>(_0x5a8dcf[_0x3dee6f(0x322)](),_0x54ff18(_0x174e5f,_0x4e4b7f,_0x4f0620,_0xed9113)));_0x13b277[_0x3dee6f(0x1b3)](_0x5a8dcf);});};this[_0x10d299(0x3f2)](_0x403a48[_0x10d299(0x3a2)](this['_cursorInfo$']['subscribe'](()=>{_0x2228f3();})));}[_0x2b281a(0x1e5)](){const _0x97f716=_0x2b281a;var _0x415f68,_0x3573d2;if(this[_0x97f716(0x343)]=!0x0,((_0x415f68=this[_0x97f716(0x2c8)][_0x97f716(0x364)]())==null?void 0x0:_0x415f68[_0x97f716(0x1b9)]())!==this[_0x97f716(0x1ab)])return;const _0x4ceb60=(_0x3573d2=this['_injector']['get'](_0x46f729[_0x97f716(0x197)])[_0x97f716(0x391)]())==null?void 0x0:_0x3573d2[0x0],_0xe453b8=this[_0x97f716(0x2c8)][_0x97f716(0x1cb)](_0x403a48[_0x97f716(0x28f)][_0x97f716(0x169)])[_0x97f716(0x1f9)]();_0x4ceb60&&_0xe453b8&&this['_updateLocalCursor'](_0xe453b8[_0x97f716(0x313)](),_0x4ceb60);}[_0x2b281a(0x21c)](){const _0x4c935a=_0x2b281a;this[_0x4c935a(0x343)]=!0x1;}};_0x56b781=_0x318172([_0x2f73dc(0x2,_0x403a48[_0x2b281a(0x19a)](_0x403a48[_0x2b281a(0x267)])),_0x2f73dc(0x3,_0x403a48['Inject'](_0x39e635)),_0x2f73dc(0x4,_0x403a48['Inject'](_0x55aa48['MemberService'])),_0x2f73dc(0x5,_0x403a48[_0x2b281a(0x360)]),_0x2f73dc(0x6,_0x403a48['ICommandService']),_0x2f73dc(0x7,_0x403a48[_0x2b281a(0x19a)](_0x46f729[_0x2b281a(0x30f)]))],_0x56b781);var _0x353a94=Object[_0x2b281a(0x354)],_0x276b2b=(_0x335409,_0x30eb19,_0x2a44c1,_0x1abaa5)=>{const _0x21c838=_0x2b281a;for(var _0x5ad2d6=_0x1abaa5>0x1?void 0x0:_0x1abaa5?_0x353a94(_0x30eb19,_0x2a44c1):_0x30eb19,_0x4276db=_0x335409[_0x21c838(0x36f)]-0x1,_0x2a6a67;_0x4276db>=0x0;_0x4276db--)(_0x2a6a67=_0x335409[_0x4276db])&&(_0x5ad2d6=_0x2a6a67(_0x5ad2d6)||_0x5ad2d6);return _0x5ad2d6;},_0x2e543f=(_0x2014b0,_0xee0a21)=>(_0x3f4557,_0x1f4c21)=>_0xee0a21(_0x3f4557,_0x1f4c21,_0x2014b0);let _0x896780=class extends _0x403a48[_0x2b281a(0x3e8)]{constructor(_0x310617,_0x3ddd40,_0xd3e652){const _0x3bf6df=_0x2b281a;super(),_0x95fa0d(this,_0x3bf6df(0x2f7),new Map()),_0x95fa0d(this,_0x3bf6df(0x15c),new _0x15c792[(_0x3bf6df(0x372))]()),(this['_univerInstanceService']=_0x310617,this[_0x3bf6df(0x24a)]=_0x3ddd40,this[_0x3bf6df(0x287)]=_0xd3e652,this[_0x3bf6df(0x223)]());}[_0x2b281a(0x322)](){const _0x5b51cb=_0x2b281a;super['dispose'](),this['_entityInit$']['complete'](),this['_entities'][_0x5b51cb(0x2e1)](_0x233e89=>_0x233e89[_0x5b51cb(0x322)]());}[_0x2b281a(0x327)](_0x524b03){const _0x595fb5=_0x2b281a;return this[_0x595fb5(0x2f7)][_0x595fb5(0x1c5)](_0x524b03)?this['_entities'][_0x595fb5(0x3c2)](_0x524b03)[_0x595fb5(0x333)]:this['_entityInit$']['pipe'](_0x15c792[_0x595fb5(0x18d)](_0x1be437=>_0x1be437[_0x595fb5(0x1ab)]===_0x524b03),_0x15c792[_0x595fb5(0x293)](_0x103b81=>_0x103b81['cursorInfo$']));}[_0x2b281a(0x223)](){const _0x31f46a=_0x2b281a;this[_0x31f46a(0x2c8)][_0x31f46a(0x2e5)](_0x403a48[_0x31f46a(0x28f)][_0x31f46a(0x169)])[_0x31f46a(0x28a)](_0x15c792[_0x31f46a(0x261)](this['dispose$']))[_0x31f46a(0x308)](async _0x46024e=>{const _0x3a44cd=_0x31f46a,_0x36515e=_0x46024e[_0x3a44cd(0x1b9)](),_0x14f730=await this['_startSheetCollabCursor'](_0x36515e);this[_0x3a44cd(0x15c)][_0x3a44cd(0x1ac)](_0x14f730),this[_0x3a44cd(0x2f7)]['set'](_0x36515e,_0x14f730);}),this[_0x31f46a(0x2c8)][_0x31f46a(0x2e5)](_0x403a48[_0x31f46a(0x28f)]['UNIVER_DOC'])[_0x31f46a(0x28a)](_0x15c792['takeUntil'](this[_0x31f46a(0x30b)]))[_0x31f46a(0x28a)](_0x15c792[_0x31f46a(0x18d)](_0x1496e0=>!_0x1496e0[_0x31f46a(0x1b9)]()[_0x31f46a(0x23e)]('__')))[_0x31f46a(0x308)](async _0x38e8c5=>{const _0x4b12bc=_0x31f46a,_0xae0bea=_0x38e8c5['getUnitId'](),_0xe00eac=await this['_startDocCollabCursor'](_0xae0bea);this['_entityInit$'][_0x4b12bc(0x1ac)](_0xe00eac),this[_0x4b12bc(0x2f7)]['set'](_0xae0bea,_0xe00eac);}),_0x15c792[_0x31f46a(0x28b)](this[_0x31f46a(0x2c8)][_0x31f46a(0x3b3)](_0x403a48[_0x31f46a(0x28f)][_0x31f46a(0x2ee)]),this[_0x31f46a(0x2c8)][_0x31f46a(0x3b3)](_0x403a48[_0x31f46a(0x28f)]['UNIVER_SHEET']))[_0x31f46a(0x28a)](_0x15c792[_0x31f46a(0x261)](this[_0x31f46a(0x30b)]))[_0x31f46a(0x308)](_0x34a9d1=>{const _0x14011a=_0x31f46a,_0x4ef2ee=_0x34a9d1[_0x14011a(0x1b9)](),_0x44bb92=this[_0x14011a(0x2f7)][_0x14011a(0x3c2)](_0x4ef2ee);_0x44bb92&&(_0x44bb92[_0x14011a(0x322)](),this[_0x14011a(0x2f7)][_0x14011a(0x3cb)](_0x4ef2ee));});}async[_0x2b281a(0x36b)](_0xdca5d2){const _0x2a730d=_0x2b281a,_0x28cb59=await this['_collabSessionService'][_0x2a730d(0x3c9)](_0xdca5d2),_0x4bbea0=this[_0x2a730d(0x24a)]['createInstance'](_0x56b781,_0xdca5d2,_0x28cb59);return _0x4bbea0[_0x2a730d(0x1ce)](),_0x4bbea0;}async[_0x2b281a(0x2a7)](_0x5b1ea0){const _0x5258be=_0x2b281a,_0x1767a7=await this[_0x5258be(0x287)][_0x5258be(0x3c9)](_0x5b1ea0),_0x2d8b76=this['_injector'][_0x5258be(0x3f6)](_0x5a8dcc,_0x5b1ea0,_0x1767a7);return _0x2d8b76[_0x5258be(0x1ce)](),_0x2d8b76;}};_0x896780=_0x276b2b([_0x2e543f(0x0,_0x403a48[_0x2b281a(0x360)]),_0x2e543f(0x1,_0x403a48['Inject'](_0x403a48[_0x2b281a(0x267)])),_0x2e543f(0x2,_0x403a48[_0x2b281a(0x19a)](_0x55aa48[_0x2b281a(0x309)]))],_0x896780);const _0x1a5f6a=0x14,_0x8ab697=0xc8,_0x38e40c=0x4,_0x33642a=0x5;function _0x5ad198(_0x5cf4f3,_0x8a9f66){const _0x52bc59=_0x2b281a;let {radius:_0x37352a,width:_0x32c802,height:_0x1b6309}=_0x8a9f66;_0x37352a=_0x37352a!=null?_0x37352a:0x0,_0x32c802=_0x32c802!=null?_0x32c802:0x1e,_0x1b6309=_0x1b6309!=null?_0x1b6309:0x1e;let _0x2d2725=0x0,_0x5d2a82=0x0,_0x32e297=0x0;_0x2d2725=_0x5d2a82=_0x32e297=Math[_0x52bc59(0x382)](_0x37352a,_0x32c802/0x2,_0x1b6309/0x2),_0x5cf4f3[_0x52bc59(0x1d3)](),_0x5cf4f3[_0x52bc59(0x2b3)](_0x2d2725,0x0),_0x5cf4f3[_0x52bc59(0x189)](_0x32c802-_0x5d2a82,0x0),_0x5cf4f3[_0x52bc59(0x1c0)](_0x32c802-_0x5d2a82,_0x5d2a82,_0x5d2a82,Math['PI']*0x3/0x2,0x0,!0x1),_0x5cf4f3[_0x52bc59(0x189)](_0x32c802,_0x1b6309-_0x32e297),_0x5cf4f3[_0x52bc59(0x1c0)](_0x32c802-_0x32e297,_0x1b6309-_0x32e297,_0x32e297,0x0,Math['PI']/0x2,!0x1),_0x5cf4f3[_0x52bc59(0x189)](0x0,_0x1b6309),_0x5cf4f3[_0x52bc59(0x189)](0x0,_0x2d2725),_0x5cf4f3[_0x52bc59(0x1c0)](_0x2d2725,_0x2d2725,_0x2d2725,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x5cf4f3[_0x52bc59(0x36e)](),_0x8a9f66[_0x52bc59(0x1c2)]&&(_0x5cf4f3['save'](),_0x5cf4f3[_0x52bc59(0x166)]=_0x8a9f66['fill'],_0x8a9f66[_0x52bc59(0x1ed)]==='evenodd'?_0x5cf4f3[_0x52bc59(0x1c2)](_0x52bc59(0x38d)):_0x5cf4f3[_0x52bc59(0x1c2)](),_0x5cf4f3[_0x52bc59(0x22c)]());}class _0x5c9d7c extends _0x1380e3[_0x2b281a(0x19d)]{constructor(_0x2723d6,_0x1cce33){const _0x31cc08=_0x2b281a;super(_0x2723d6,_0x1cce33),_0x95fa0d(this,_0x31cc08(0x2cd)),_0x95fa0d(this,_0x31cc08(0x2a9)),(this[_0x31cc08(0x2cd)]=_0x1cce33==null?void 0x0:_0x1cce33[_0x31cc08(0x2cd)],this[_0x31cc08(0x2a9)]=_0x1cce33==null?void 0x0:_0x1cce33[_0x31cc08(0x2a9)]);}static[_0x2b281a(0x262)](_0x30f346,_0x5f5b5e){const _0x1f6275=_0x2b281a,{text:_0xf6b321,color:_0x3bb0ee}=_0x5f5b5e;_0x30f346[_0x1f6275(0x2d8)](),_0x30f346[_0x1f6275(0x39e)]='bold\x2013px\x20Source\x20Han\x20Sans\x20CN';const _0x16af11=_0x30f346[_0x1f6275(0x3b6)](_0xf6b321)[_0x1f6275(0x1ca)],_0x4d1656=Math[_0x1f6275(0x382)](_0x16af11+0x2*_0x38e40c,_0x8ab697);_0x5ad198(_0x30f346,{'height':_0x1a5f6a,'radius':0x4,'width':_0x4d1656,'fill':_0x3bb0ee}),_0x30f346[_0x1f6275(0x166)]=_0x1f6275(0x183);const _0x3cb8f5=_0x38e40c,_0x518f9e=_0x1a5f6a-_0x33642a,_0x4bf2d6=_0x8ab697-0x2*_0x38e40c;if(_0x16af11>_0x4bf2d6){let _0x2b1130='',_0x44e673=0x0;for(const _0x47d751 of _0xf6b321){const _0x58f769=_0x30f346[_0x1f6275(0x3b6)](_0x47d751)[_0x1f6275(0x1ca)];if(_0x44e673+_0x58f769<=_0x4bf2d6-_0x30f346[_0x1f6275(0x3b6)](_0x1f6275(0x28e))[_0x1f6275(0x1ca)])_0x2b1130+=_0x47d751,_0x44e673+=_0x58f769;else{_0x2b1130+=_0x1f6275(0x28e);break;}}_0x30f346[_0x1f6275(0x2c6)](_0x2b1130,_0x3cb8f5,_0x518f9e);}else _0x30f346[_0x1f6275(0x2c6)](_0xf6b321,_0x3cb8f5,_0x518f9e);_0x30f346[_0x1f6275(0x22c)]();}[_0x2b281a(0x191)](_0x241ebe){const _0x32cf79=_0x2b281a;_0x5c9d7c[_0x32cf79(0x262)](_0x241ebe,this);}}const _0x3c2cac=_0x2b281a(0x3be),_0x397287=_0x2b281a(0x1cd),_0x324541=_0x2b281a(0x302),_0x28ec24=0x6,_0x4d84c9=1.5,_0x4c1a50=0x4,_0x420bd5=1.5,_0x15d44a=_0x2b281a(0x212);class _0x15aa0f{constructor(_0x3aeb8d,_0x2610c6,_0x1835f7,_0x535c07){const _0x4a2d00=_0x2b281a;_0x95fa0d(this,'_shapes',[]),_0x95fa0d(this,_0x4a2d00(0x29b),null),_0x95fa0d(this,_0x4a2d00(0x3b7),null),_0x95fa0d(this,_0x4a2d00(0x1af),null),_0x95fa0d(this,_0x4a2d00(0x324),null),_0x95fa0d(this,'_eventUnsubscribe',null),(this[_0x4a2d00(0x2a3)]=_0x3aeb8d,this['_scene']=_0x2610c6,this[_0x4a2d00(0x311)]=_0x1835f7,this[_0x4a2d00(0x1b2)]=_0x535c07,this[_0x4a2d00(0x3a6)]());}set[_0x2b281a(0x28d)](_0x4b7b8e){const _0x2407f9=_0x2b281a;_0x4b7b8e?(this[_0x2407f9(0x1af)]&&this[_0x2407f9(0x1af)][_0x2407f9(0x1dd)](),this[_0x2407f9(0x3b7)]&&this[_0x2407f9(0x3b7)][_0x2407f9(0x259)]()):(this[_0x2407f9(0x1af)]&&this[_0x2407f9(0x1af)][_0x2407f9(0x259)](),this[_0x2407f9(0x3b7)]&&this[_0x2407f9(0x3b7)]['hide']());}['dispose'](){const _0x57d124=_0x2b281a;for(const _0x117271 of this['_shapes'])_0x117271[_0x57d124(0x322)]();this['_textBubble']&&this['_textBubble'][_0x57d124(0x322)](),this[_0x57d124(0x1af)]&&this[_0x57d124(0x1af)][_0x57d124(0x322)](),this['_anchor']&&this[_0x57d124(0x29b)][_0x57d124(0x322)](),this[_0x57d124(0x198)]&&this[_0x57d124(0x198)]();}[_0x2b281a(0x3a6)](){const _0x3eaff7=_0x2b281a;var _0x3e86cd;const {_docSkeleton:_0xd3f2af,_document:_0xb5bc8a}=this,{color:_0x299d68,name:_0x427cb0,ranges:_0x29ef6}=this[_0x3eaff7(0x2a3)],_0x12e61d=_0xb5bc8a['getOffsetConfig'](),{docsLeft:_0x21a04a,docsTop:_0x4ba29a}=_0x12e61d,_0x53af56=new _0xf283a2[(_0x3eaff7(0x2ed))](_0x12e61d,_0xd3f2af);for(const {startOffset:_0x395fec,endOffset:_0x491765,rangeType:_0x3539ac,segmentId:_0x51408a,segmentPage:_0x50ff5e,collapsed:_0x184eb2,isActive:_0x5aacd4}of _0x29ef6){const _0x40f6b5=_0xd3f2af[_0x3eaff7(0x239)](_0x395fec,!0x0,_0x51408a,_0x50ff5e);let _0x16d156=_0xd3f2af[_0x3eaff7(0x239)](_0x491765,!0x0,_0x51408a,_0x50ff5e);if(_0x16d156==null&&(_0x16d156=_0xd3f2af[_0x3eaff7(0x239)](_0x491765-0x1,!0x1,_0x51408a,_0x50ff5e)),_0x5aacd4){const {contentBoxPointGroup:_0x5e8dd1}=_0x53af56[_0x3eaff7(0x18a)](_0x16d156,_0x16d156);if(_0x5e8dd1[_0x3eaff7(0x36f)]===0x0)continue;this[_0x3eaff7(0x2b1)](_0x299d68,_0x5e8dd1,_0x21a04a,_0x4ba29a,_0x427cb0),this[_0x3eaff7(0x198)]=this[_0x3eaff7(0x37c)]();}if(_0x40f6b5&&_0x16d156){if(_0x3539ac===_0x403a48[_0x3eaff7(0x1a7)][_0x3eaff7(0x24e)]){const _0x4863e4=new _0xf283a2[(_0x3eaff7(0x2cc))](_0x12e61d,_0xd3f2af),{pointGroup:_0x5615ba}=(_0x3e86cd=_0x4863e4[_0x3eaff7(0x18a)](_0x40f6b5,_0x16d156))!=null?_0x3e86cd:{};if(_0x5615ba==null||_0x5615ba[_0x3eaff7(0x36f)]===0x0)continue;this['_drawRectRange'](_0x299d68,_0x5615ba,_0x21a04a,_0x4ba29a);}else{if(!_0x184eb2){const {borderBoxPointGroup:_0x1d73a0}=_0x53af56[_0x3eaff7(0x18a)](_0x40f6b5,_0x16d156);if(_0x1d73a0['length']===0x0)continue;this[_0x3eaff7(0x358)](_0x299d68,_0x1d73a0,_0x21a04a,_0x4ba29a);}}}}}['_drawAnchor'](_0x121c50,_0x4c9ed5,_0xd7879d,_0x4d4926,_0x4d5ac1){const _0x2f6cb3=_0x2b281a,_0x31b4f9=this['_getAnchorBounding'](_0x4c9ed5),{left:_0x2b3884,top:_0x597ff1,height:_0x23c260}=_0x31b4f9,_0x3fcf63=this[_0x2f6cb3(0x1a3)](),_0x433cb1=_0x420bd5/_0x3fcf63,_0x19f467=new _0x1380e3[(_0x2f6cb3(0x1dc))](_0x3c2cac+_0x403a48['Tools'][_0x2f6cb3(0x290)](_0x28ec24),{'left':_0x2b3884+_0xd7879d-_0x433cb1,'top':_0x597ff1+_0x4d4926,'height':_0x23c260,'width':_0x4d84c9,'fill':_0x121c50||_0x1380e3[_0x2f6cb3(0x39d)](_0x403a48[_0x2f6cb3(0x1fd)][_0x2f6cb3(0x2ec)],0x0),'strokeWidth':_0x433cb1,'stroke':_0x15d44a,'evented':!0x0});this[_0x2f6cb3(0x29b)]=_0x19f467,this[_0x2f6cb3(0x2f0)]['addObject'](_0x19f467,_0xf283a2[_0x2f6cb3(0x209)]);const _0x38ac6a=new _0x1380e3[(_0x2f6cb3(0x1dc))](_0x3c2cac+_0x403a48[_0x2f6cb3(0x39c)][_0x2f6cb3(0x290)](_0x28ec24),{'left':_0x2b3884+_0xd7879d-_0x433cb1,'top':_0x597ff1+_0x4d4926-_0x4c1a50/0x2,'height':_0x4c1a50,'width':_0x4c1a50,'fill':_0x121c50||_0x1380e3[_0x2f6cb3(0x39d)](_0x403a48[_0x2f6cb3(0x1fd)][_0x2f6cb3(0x2ec)],0x0),'strokeWidth':0x0,'stroke':_0x121c50||_0x1380e3[_0x2f6cb3(0x39d)](_0x403a48[_0x2f6cb3(0x1fd)][_0x2f6cb3(0x2ec)],0x0),'evented':!0x1});this['_anchorDot']=_0x38ac6a,this[_0x2f6cb3(0x2f0)][_0x2f6cb3(0x230)](_0x38ac6a,_0xf283a2[_0x2f6cb3(0x209)]);const _0x1741e8=new _0x5c9d7c(_0x3c2cac+_0x403a48['Tools'][_0x2f6cb3(0x290)](_0x28ec24),{'left':_0x2b3884+_0xd7879d-_0x433cb1,'top':_0x597ff1+_0x4d4926-_0x1a5f6a,'text':_0x4d5ac1,'color':_0x121c50});this['_textBubble']=_0x1741e8,this[_0x2f6cb3(0x2f0)]['addObject'](_0x1741e8,_0xf283a2[_0x2f6cb3(0x209)]),this[_0x2f6cb3(0x28d)]=!0x1;}[_0x2b281a(0x37c)](){const _0x159e54=_0x2b281a,_0xfc053c=this[_0x159e54(0x29b)][_0x159e54(0x3ab)][_0x159e54(0x282)](()=>{const _0x3b03b4=_0x159e54;this[_0x3b03b4(0x28d)]=!0x0;}),_0x28f39b=this[_0x159e54(0x29b)]['onPointerLeave$'][_0x159e54(0x282)](()=>{this['_hideTimer']&&clearTimeout(this['_hideTimer']),this['_hideTimer']=setTimeout(()=>{const _0x2e015b=_0x28da;this[_0x2e015b(0x28d)]=!0x1;},0x7d0);});return()=>{const _0x2ef759=_0x159e54;_0xfc053c[_0x2ef759(0x35d)](),_0x28f39b[_0x2ef759(0x35d)]();};}['_drawTextRange'](_0x21a10f,_0x5e76f4,_0x83faef,_0x41da93){const _0x9c590f=_0x2b281a,_0x88ee49=new _0x403a48['ColorKit'](_0x21a10f)[_0x9c590f(0x1fb)](0.2)['toRgbString'](),_0x203311=new _0x1380e3['RegularPolygon'](_0x397287+_0x403a48[_0x9c590f(0x39c)][_0x9c590f(0x290)](_0x28ec24),{'pointsGroup':_0x5e76f4,'fill':_0x88ee49||_0x1380e3[_0x9c590f(0x39d)](_0x403a48[_0x9c590f(0x1fd)][_0x9c590f(0x2ec)],0.2),'left':_0x83faef,'top':_0x41da93,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x9c590f(0x3bd)][_0x9c590f(0x381)](_0x203311),this[_0x9c590f(0x2f0)][_0x9c590f(0x230)](_0x203311,_0xf283a2[_0x9c590f(0x209)]);}[_0x2b281a(0x1f7)](_0x1af2cd,_0x420bf8,_0x49903d,_0x19b481){const _0x421893=_0x2b281a,_0x513b67=new _0x403a48[(_0x421893(0x193))](_0x1af2cd)['setAlpha'](0.2)['toRgbString'](),_0x37424b=new _0x1380e3[(_0x421893(0x325))](_0x324541+_0x403a48['Tools'][_0x421893(0x290)](_0x28ec24),{'pointsGroup':_0x420bf8,'fill':_0x513b67||_0x1380e3[_0x421893(0x39d)](_0x403a48[_0x421893(0x1fd)]['black'],0.2),'left':_0x49903d,'top':_0x19b481,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x421893(0x3bd)][_0x421893(0x381)](_0x37424b),this['_scene'][_0x421893(0x230)](_0x37424b,_0xf283a2[_0x421893(0x209)]);}[_0x2b281a(0x2ff)](_0x2eb266){const _0x2fd56f=_0x2eb266[0x0],_0x55d982=_0x2fd56f[0x0],_0x24cbaf=_0x2fd56f[0x2],{x:_0x576cbb,y:_0x4c7034}=_0x55d982,{x:_0x5dd026,y:_0x2dbd65}=_0x24cbaf;return{'left':_0x576cbb,'top':_0x4c7034,'width':_0x5dd026-_0x576cbb,'height':_0x2dbd65-_0x4c7034};}[_0x2b281a(0x1a3)](){const _0x23f4fa=_0x2b281a,{scaleX:_0x49b243,scaleY:_0x3d53a3}=this['_scene']['getAncestorScale']();return Math[_0x23f4fa(0x29c)](_0x49b243,_0x3d53a3);}}var _0x54188d=Object[_0x2b281a(0x354)],_0x224d2c=(_0xd94ebc,_0x4dc76d,_0x4740d8,_0x3e7d57)=>{const _0x5bb9e7=_0x2b281a;for(var _0x1c264b=_0x3e7d57>0x1?void 0x0:_0x3e7d57?_0x54188d(_0x4dc76d,_0x4740d8):_0x4dc76d,_0x445f05=_0xd94ebc[_0x5bb9e7(0x36f)]-0x1,_0xffe2a6;_0x445f05>=0x0;_0x445f05--)(_0xffe2a6=_0xd94ebc[_0x445f05])&&(_0x1c264b=_0xffe2a6(_0x1c264b)||_0x1c264b);return _0x1c264b;},_0x39f1d3=(_0x2f8c5b,_0x555ed3)=>(_0x48fef4,_0x189d7e)=>_0x555ed3(_0x48fef4,_0x189d7e,_0x2f8c5b);let _0x1c18e5=class extends _0x403a48[_0x2b281a(0x3e8)]{constructor(_0x3eea15,_0x5935fc,_0x6035d6,_0xd81a91,_0x100b7){const _0x5996ca=_0x2b281a;super(),_0x95fa0d(this,_0x5996ca(0x26f),[]),_0x95fa0d(this,_0x5996ca(0x229),[]),(this['_context']=_0x3eea15,this['_docSkeletonManagerService']=_0x5935fc,this[_0x5996ca(0x1b7)]=_0x6035d6,this[_0x5996ca(0x303)]=_0xd81a91,this[_0x5996ca(0x167)]=_0x100b7,this[_0x5996ca(0x223)]());}[_0x2b281a(0x223)](){const _0x30ffca=_0x2b281a,_0x2fd13f=this[_0x30ffca(0x3e6)][_0x30ffca(0x3b0)],_0x15afad=this[_0x30ffca(0x15b)];this[_0x30ffca(0x3f2)](_0x15c792[_0x30ffca(0x3af)]([this[_0x30ffca(0x1b7)]['getCollabCursors$'](_0x2fd13f),this[_0x30ffca(0x167)][_0x30ffca(0x39a)]])[_0x30ffca(0x28a)](_0x54a7c7[_0x30ffca(0x337)](([_0x2a1b71,_0x45bf4c])=>({'skeleton':_0x15afad[_0x30ffca(0x1c3)](),'cursors':[..._0x2a1b71[_0x30ffca(0x31a)]()][_0x30ffca(0x1f3)](_0x1a00f1=>({..._0x1a00f1,'color':this[_0x30ffca(0x167)]['getColorFromTheme'](_0x1a00f1[_0x30ffca(0x2cd)])}))})))[_0x30ffca(0x308)](_0x502413=>{const _0x10bb76=_0x30ffca;if(this['_removeCollabCursors'](),_0x502413){const {skeleton:_0x4cbff4,cursors:_0x9da2e6}=_0x502413;this[_0x10bb76(0x2c9)](_0x4cbff4,_0x9da2e6);}})),this[_0x30ffca(0x23b)](),this['_initCommandExecutedListener']();}[_0x2b281a(0x2c9)](_0x3eb980,_0x55e52f){const {scene:_0x3b67f0,mainComponent:_0x26c253}=this['_context'],_0x29861f=_0x55e52f['map'](_0x501b14=>new _0x15aa0f(_0x501b14,_0x3b67f0,_0x3eb980,_0x26c253));this['_cursorShapes']=_0x29861f,this['_cursors']=_0x55e52f;}[_0x2b281a(0x215)](){const _0x3eec2c=_0x2b281a;this[_0x3eec2c(0x1ff)]();const {scene:_0x2e3d01,mainComponent:_0x958fe1}=this[_0x3eec2c(0x3e6)],_0x17bb47=this[_0x3eec2c(0x15b)][_0x3eec2c(0x1c3)](),_0x1cae52=this[_0x3eec2c(0x229)]['map'](_0x33016c=>new _0x15aa0f(_0x33016c,_0x2e3d01,_0x17bb47,_0x958fe1));this[_0x3eec2c(0x26f)]=_0x1cae52;}['_removeCollabCursors'](){const _0x4eb137=_0x2b281a;this[_0x4eb137(0x26f)][_0x4eb137(0x2e1)](_0x58009e=>_0x58009e[_0x4eb137(0x322)]()),this[_0x4eb137(0x26f)]=[];}[_0x2b281a(0x374)](){const _0x39e879=_0x2b281a,_0x15f66b=[_0xf283a2[_0x39e879(0x39f)]['id']];this[_0x39e879(0x3f2)](this[_0x39e879(0x303)]['onCommandExecuted'](_0x88530a=>{const _0x20bd8a=_0x39e879;_0x15f66b[_0x20bd8a(0x345)](_0x88530a['id'])&&_0x88530a[_0x20bd8a(0x3ef)][_0x20bd8a(0x3b0)]===this['_context']['unitId']&&this[_0x20bd8a(0x215)]();}));}[_0x2b281a(0x23b)](){const _0x381a7b=_0x2b281a;this['disposeWithMe'](_0x403a48[_0x381a7b(0x224)](this['_context'][_0x381a7b(0x25a)][_0x381a7b(0x22e)])[_0x381a7b(0x28a)](_0x54a7c7['filter'](_0xe82f21=>_0xe82f21[_0x381a7b(0x1bb)]===_0x1380e3['TRANSFORM_CHANGE_OBSERVABLE_TYPE'][_0x381a7b(0x2b7)]),_0x54a7c7[_0x381a7b(0x2a4)](0x10))['subscribe'](()=>{const _0x47614f=_0x381a7b;this[_0x47614f(0x215)]();}));}};_0x1c18e5=_0x224d2c([_0x39f1d3(0x1,_0x403a48[_0x2b281a(0x19a)](_0x36b8d7[_0x2b281a(0x2de)])),_0x39f1d3(0x2,_0x403a48[_0x2b281a(0x19a)](_0x896780)),_0x39f1d3(0x3,_0x403a48[_0x2b281a(0x2f5)]),_0x39f1d3(0x4,_0x403a48[_0x2b281a(0x19a)](_0x403a48[_0x2b281a(0x29d)]))],_0x1c18e5);const _0x5b354d=0x1,_0x136334=1.5;class _0x41104e extends _0x1380e3[_0x2b281a(0x19d)]{constructor(_0xcf38a,_0x474f6e){const _0x2983c1=_0x2b281a;super(_0xcf38a,_0x474f6e),_0x95fa0d(this,'_color'),_0x95fa0d(this,'_hovered',!0x1),_0x95fa0d(this,_0x2983c1(0x206)),_0x95fa0d(this,_0x2983c1(0x299),''),_0x95fa0d(this,_0x2983c1(0x178),'top'),_0x95fa0d(this,_0x2983c1(0x3cd)),(_0x474f6e&&this[_0x2983c1(0x22a)](_0x474f6e),this[_0x2983c1(0x3ab)]['subscribeEvent'](()=>this[_0x2983c1(0x22a)]({'hovered':!0x0})),this[_0x2983c1(0x2ef)][_0x2983c1(0x282)](()=>this[_0x2983c1(0x22a)]({'hovered':!0x1})));}[_0x2b281a(0x22a)](_0x20db69){const _0x5530fa=_0x2b281a;var _0x211376,_0x4e0a68,_0x26f76d,_0x3f1875,_0x43ca7f,_0x4197a6;this[_0x5530fa(0x26c)]=(_0x211376=_0x20db69[_0x5530fa(0x2cd)])!=null?_0x211376:this['_color'],this['_hovered']=(_0x4e0a68=_0x20db69[_0x5530fa(0x1e4)])!=null?_0x4e0a68:this[_0x5530fa(0x37a)],this[_0x5530fa(0x206)]=(_0x26f76d=_0x20db69[_0x5530fa(0x2b5)])!=null?_0x26f76d:this['_range'],this[_0x5530fa(0x299)]=(_0x3f1875=_0x20db69[_0x5530fa(0x203)])!=null?_0x3f1875:this[_0x5530fa(0x299)],this[_0x5530fa(0x178)]=(_0x43ca7f=_0x20db69['labelPosition'])!=null?_0x43ca7f:this['_labelPosition'],this[_0x5530fa(0x3cd)]=(_0x4197a6=_0x20db69[_0x5530fa(0x338)])!=null?_0x4197a6:this[_0x5530fa(0x3cd)],this[_0x5530fa(0x1a5)]({'width':_0x20db69[_0x5530fa(0x1ca)],'height':_0x20db69[_0x5530fa(0x220)]});}[_0x2b281a(0x2e9)](_0x30b33f){const _0x25a1ef=_0x2b281a,{row:_0x553bb0,column:_0xa0c65f}=_0x30b33f;if(_0x553bb0>=this[_0x25a1ef(0x206)][_0x25a1ef(0x17a)]&&_0x553bb0<=this[_0x25a1ef(0x206)][_0x25a1ef(0x2aa)]&&_0xa0c65f>=this['_range']['startColumn']&&_0xa0c65f<=this[_0x25a1ef(0x206)]['endColumn']){this[_0x25a1ef(0x22a)]({'hovered':!0x0});return;}this[_0x25a1ef(0x22a)]({'hovered':!0x1});}[_0x2b281a(0x237)](_0x267e18){return!0x1;}[_0x2b281a(0x191)](_0xa10b21){const _0x3562aa=_0x2b281a;_0x1380e3[_0x3562aa(0x1dc)][_0x3562aa(0x262)](_0xa10b21,{'width':this[_0x3562aa(0x1ca)],'height':this['height'],'strokeWidth':_0x136334,'stroke':this[_0x3562aa(0x26c)],'evented':!0x1,'fill':this[_0x3562aa(0x3cd)]}),this[_0x3562aa(0x37a)]&&(_0xa10b21[_0x3562aa(0x2d8)](),_0xa10b21[_0x3562aa(0x3c8)](0x1,0x0,0x0,0x1,this[_0x3562aa(0x1ca)],this[_0x3562aa(0x178)]===_0x3562aa(0x248)?0x0:-0x14),_0x5c9d7c[_0x3562aa(0x262)](_0xa10b21,{'text':this[_0x3562aa(0x299)],'color':this[_0x3562aa(0x26c)]}),_0xa10b21[_0x3562aa(0x22c)]());}}var _0x7d6cc5=Object[_0x2b281a(0x354)],_0x4cbc21=(_0x544f33,_0x5f5397,_0x3dc7c6,_0x38abd1)=>{for(var _0x31f283=_0x38abd1>0x1?void 0x0:_0x38abd1?_0x7d6cc5(_0x5f5397,_0x3dc7c6):_0x5f5397,_0x17bd98=_0x544f33['length']-0x1,_0x45d05a;_0x17bd98>=0x0;_0x17bd98--)(_0x45d05a=_0x544f33[_0x17bd98])&&(_0x31f283=_0x45d05a(_0x31f283)||_0x31f283);return _0x31f283;},_0x6348eb=(_0x109180,_0x4bdc1a)=>(_0x15f8a5,_0x480c08)=>_0x4bdc1a(_0x15f8a5,_0x480c08,_0x109180);const _0x37cc53=0x1389;let _0x5c681f=class extends _0x403a48[_0x2b281a(0x3e8)]{constructor(_0x569442,_0x1f8700,_0x47d2ad,_0x22f5c6){const _0x50418e=_0x2b281a;super(),_0x95fa0d(this,'_cursors',new Set()),_0x95fa0d(this,_0x50418e(0x264),null),(this[_0x50418e(0x3e6)]=_0x569442,this[_0x50418e(0x3e2)]=_0x1f8700,this[_0x50418e(0x1b7)]=_0x47d2ad,this[_0x50418e(0x167)]=_0x22f5c6,this[_0x50418e(0x223)]());}[_0x2b281a(0x223)](){const _0x2c87b1=_0x2b281a;this['_sheetSkeletonManagerService'][_0x2c87b1(0x1c1)][_0x2c87b1(0x28a)](_0x54a7c7[_0x2c87b1(0x261)](this['dispose$']),_0x54a7c7[_0x2c87b1(0x293)](_0x4c7638=>{const _0x48517a=_0x2c87b1;if(_0x4c7638){const _0x391130=_0x4c7638['sheetId'];return _0x15c792[_0x48517a(0x3af)](this[_0x48517a(0x1b7)]['getCollabCursors$'](this[_0x48517a(0x3e6)][_0x48517a(0x3b0)]),this['_themeService'][_0x48517a(0x39a)])[_0x48517a(0x28a)](_0x54a7c7[_0x48517a(0x337)](([_0x2d6f59,_0x405b26])=>{const _0x168767=_0x48517a,_0x2c581c=new Map();return _0x2d6f59[_0x168767(0x2e1)]((_0x444892,_0x4cd19a)=>{const _0x1d3485=_0x168767;if(_0x444892[_0x1d3485(0x332)]===_0x391130){const _0x3b1f0e={..._0x444892};_0x3b1f0e[_0x1d3485(0x2cd)]=this['_themeService'][_0x1d3485(0x2d7)](_0x444892['color']),_0x2c581c[_0x1d3485(0x25e)](_0x4cd19a,_0x3b1f0e);}}),{'skeleton':_0x4c7638,'cursors':_0x2c581c};}));}return _0x15c792['of']({'skeleton':null,'cursors':new Map()});}))[_0x2c87b1(0x308)](({skeleton:_0x2a2d9d,cursors:_0x2e7db4})=>{const _0x4eb2b6=_0x2c87b1;this['_removeCollabCursors'](),_0x2a2d9d&&this[_0x4eb2b6(0x2c9)](_0x2a2d9d,_0x2e7db4);}),this[_0x2c87b1(0x3e2)][_0x2c87b1(0x1c1)][_0x2c87b1(0x308)](_0x3c1c8e=>{const _0x141942=_0x2c87b1;if(_0x3c1c8e==null)return;const {skeleton:_0x21faed}=_0x3c1c8e,{scene:_0x5759a2}=this[_0x141942(0x3e6)];_0x5759a2['onPointerMove$']['subscribeEvent'](_0x403a48['debounce'](_0x3960ac=>{const _0x3d0d2b=_0x141942;var _0x41b5ff,_0x40fafd;const {offsetX:_0x16d3f4,offsetY:_0xe0e640}=_0x3960ac,{x:_0x4159c2,y:_0x5b51a1}=_0x5759a2['getRelativeToViewportCoord'](_0x1380e3[_0x3d0d2b(0x163)][_0x3d0d2b(0x366)]([_0x16d3f4,_0xe0e640])),{scaleX:_0x590714,scaleY:_0x139623}=_0x5759a2[_0x3d0d2b(0x34d)](),_0x2d2661=_0x5759a2[_0x3d0d2b(0x3c4)](_0x1380e3['SHEET_VIEWPORT_KEY'][_0x3d0d2b(0x213)]),_0x2b4e1b=_0x5759a2[_0x3d0d2b(0x214)](_0x1380e3['Vector2'][_0x3d0d2b(0x366)]([_0x4159c2,_0x5b51a1]),_0x2d2661),_0x2639c0=_0x21faed['getCellPositionByOffset'](_0x16d3f4,_0xe0e640,_0x590714,_0x139623,_0x2b4e1b);((_0x41b5ff=this[_0x3d0d2b(0x264)])==null?void 0x0:_0x41b5ff[_0x3d0d2b(0x2f2)])===_0x2639c0[_0x3d0d2b(0x2f2)]&&((_0x40fafd=this['_lastPointer'])==null?void 0x0:_0x40fafd[_0x3d0d2b(0x37e)])===_0x2639c0[_0x3d0d2b(0x37e)]||this[_0x3d0d2b(0x229)][_0x3d0d2b(0x2e1)](_0x44f2b0=>{const _0x4ff54f=_0x3d0d2b;_0x44f2b0[_0x4ff54f(0x2e9)](_0x2639c0);});},0x64));});}[_0x2b281a(0x2c9)](_0x56bc3a,_0x3cf501){const _0x8aa28=_0x2b281a;var _0x405155;const _0xa2d21=(_0x405155=this[_0x8aa28(0x3e2)][_0x8aa28(0x283)]())==null?void 0x0:_0x405155[_0x8aa28(0x268)];if(!_0xa2d21)return;const _0x1ed2a1=this[_0x8aa28(0x304)]();if(!_0x1ed2a1)return;this[_0x8aa28(0x229)][_0x8aa28(0x2e1)](_0x4fed9f=>{const _0x1b3ecc=_0x8aa28;_0x4fed9f[_0x1b3ecc(0x331)]();});const {scene:_0xce0de6}=_0x1ed2a1,_0x2a72c0=_0xd881ea(Array[_0x8aa28(0x305)](_0x3cf501[_0x8aa28(0x31a)]()))[_0x8aa28(0x337)](_0x394190=>{const _0x4d3c0f=_0x8aa28,{color:_0x11d39a,range:_0x714e71,name:_0x510837,selection:_0x19ad64,sheetID:_0x2284a5}=_0x394190,{startColumn:_0xdb6dce,startRow:_0x193829,endColumn:_0x7ace7c,endRow:_0x545229}=_0x714e71,_0x9852e4=_0x2e664f['getCoordByCell'](_0x193829,_0xdb6dce,_0xce0de6,_0xa2d21),_0x33e51e=_0x2e664f[_0x4d3c0f(0x27a)](_0x545229,_0x7ace7c,_0xce0de6,_0xa2d21),{columnHeaderHeightAndMarginTop:_0x150605}=_0xa2d21,{startX:_0x53e44f,startY:_0x1afe82}=_0x9852e4,{endX:_0x33333b,endY:_0x3a62b8}=_0x33e51e,_0x68827f=_0x33333b-_0x53e44f,_0x365937=_0x3a62b8-_0x1afe82,_0x8335bc={'labelPosition':_0x1afe82-_0x150605>=_0x1a5f6a?'top':_0x4d3c0f(0x248),'sheetID':_0x2284a5,'range':_0x714e71,'color':_0x11d39a,'name':_0x510837,'selection':_0x19ad64,'left':_0x53e44f,'top':_0x1afe82,'width':_0x68827f,'height':_0x365937,'evented':!0x1,'zIndex':_0x37cc53};return new _0x41104e(_0x510837,_0x8335bc);});_0xce0de6[_0x8aa28(0x176)](_0x2a72c0,_0x5b354d),this[_0x8aa28(0x229)]=new Set(_0x2a72c0);}['_removeCollabCursors'](){const _0x570bd2=_0x2b281a;var _0x143134;(_0x143134=this[_0x570bd2(0x229)])==null||_0x143134[_0x570bd2(0x2e1)](_0x472e94=>_0x472e94[_0x570bd2(0x322)]());}['_getSheetObject'](){const _0x3f13f0=_0x2b281a;return _0x2e664f[_0x3f13f0(0x17d)](this[_0x3f13f0(0x3e6)][_0x3f13f0(0x177)],this[_0x3f13f0(0x3e6)]);}};_0x5c681f=_0x4cbc21([_0x6348eb(0x1,_0x403a48[_0x2b281a(0x19a)](_0x2e664f[_0x2b281a(0x2f9)])),_0x6348eb(0x2,_0x403a48['Inject'](_0x896780)),_0x6348eb(0x3,_0x403a48[_0x2b281a(0x19a)](_0x403a48[_0x2b281a(0x29d)]))],_0x5c681f);function _0xd881ea(_0x2e771a){const _0x271f94=_0x2b281a,_0x589bba=new Map();return _0x2e771a[_0x271f94(0x2e1)](_0x5ddd2d=>{const _0x39ffca=_0x271f94;if(_0x589bba[_0x39ffca(0x1c5)](_0x5ddd2d[_0x39ffca(0x24d)])){const _0x467ff6=_0x589bba['get'](_0x5ddd2d[_0x39ffca(0x24d)]);_0x467ff6['name']+=',\x20'+_0x5ddd2d['name'];}else _0x589bba['set'](_0x5ddd2d[_0x39ffca(0x24d)],_0x5ddd2d);}),Array[_0x271f94(0x305)](_0x589bba[_0x271f94(0x31a)]());}var _0x169158=function(){const _0x582c51=_0x2b281a;return _0x169158=Object['assign']||function(_0x367e13){const _0xf80c52=_0x28da;for(var _0x587ae4,_0x416c26=0x1,_0x2cca3d=arguments[_0xf80c52(0x36f)];_0x416c26<_0x2cca3d;_0x416c26++){_0x587ae4=arguments[_0x416c26];for(var _0x4f72a9 in _0x587ae4)Object['prototype'][_0xf80c52(0x2d6)]['call'](_0x587ae4,_0x4f72a9)&&(_0x367e13[_0x4f72a9]=_0x587ae4[_0x4f72a9]);}return _0x367e13;},_0x169158[_0x582c51(0x207)](this,arguments);},_0x5c872a=function(_0x983690,_0x48deda){const _0x518fb3=_0x2b281a;var _0x11fb45={};for(var _0x15d040 in _0x983690)Object[_0x518fb3(0x278)][_0x518fb3(0x2d6)][_0x518fb3(0x1d9)](_0x983690,_0x15d040)&&_0x48deda[_0x518fb3(0x1f8)](_0x15d040)<0x0&&(_0x11fb45[_0x15d040]=_0x983690[_0x15d040]);if(_0x983690!=null&&typeof Object[_0x518fb3(0x329)]==_0x518fb3(0x353)){for(var _0x34b415=0x0,_0x15d040=Object[_0x518fb3(0x329)](_0x983690);_0x34b415<_0x15d040[_0x518fb3(0x36f)];_0x34b415++)_0x48deda[_0x518fb3(0x1f8)](_0x15d040[_0x34b415])<0x0&&Object['prototype']['propertyIsEnumerable'][_0x518fb3(0x1d9)](_0x983690,_0x15d040[_0x34b415])&&(_0x11fb45[_0x15d040[_0x34b415]]=_0x983690[_0x15d040[_0x34b415]]);}return _0x11fb45;},_0x25a1b2=_0xd420d5[_0x2b281a(0x256)](function(_0x2df5a4,_0x1c7d7b){const _0x10b9c8=_0x2b281a;var _0x37a477=_0x2df5a4['icon'],_0x52d412=_0x2df5a4['id'],_0x184269=_0x2df5a4[_0x10b9c8(0x1d7)],_0x1f164e=_0x2df5a4[_0x10b9c8(0x258)],_0x515506=_0x5c872a(_0x2df5a4,[_0x10b9c8(0x326),'id','className','extend']),_0x310435='univerjs-icon\x20univerjs-icon-'['concat'](_0x52d412,'\x20')[_0x10b9c8(0x18b)](_0x184269||'')[_0x10b9c8(0x195)](),_0x15a52d=_0xd420d5[_0x10b9c8(0x3d2)]('_'[_0x10b9c8(0x18b)](_0x517ef2()));return _0xd4ce05(_0x37a477,''[_0x10b9c8(0x18b)](_0x52d412),{'defIds':_0x37a477['defIds'],'idSuffix':_0x15a52d['current']},_0x169158({'ref':_0x1c7d7b,'className':_0x310435},_0x515506),_0x1f164e);});function _0xd4ce05(_0x19722d,_0x4c6973,_0x1c914f,_0x78dc2f,_0x315df2){const _0xf057f9=_0x2b281a;return _0xd420d5['createElement'](_0x19722d['tag'],_0x169158(_0x169158({'key':_0x4c6973},_0x55cbc3(_0x19722d,_0x1c914f,_0x315df2)),_0x78dc2f),(_0x20dbe6(_0x19722d,_0x1c914f)[_0xf057f9(0x33c)]||[])[_0xf057f9(0x337)](function(_0x2a24a6,_0x5abe7d){const _0x502663=_0xf057f9;return _0xd4ce05(_0x2a24a6,''[_0x502663(0x18b)](_0x4c6973,'-')[_0x502663(0x18b)](_0x19722d[_0x502663(0x26a)],'-')[_0x502663(0x18b)](_0x5abe7d),_0x1c914f,void 0x0,_0x315df2);}));}function _0x55cbc3(_0xe242a7,_0x495c47,_0x421a08){const _0x495d3e=_0x2b281a;var _0x527a82=_0x169158({},_0xe242a7[_0x495d3e(0x379)]);_0x421a08!=null&&_0x421a08[_0x495d3e(0x18c)]&&_0x527a82['fill']===_0x495d3e(0x18c)&&(_0x527a82[_0x495d3e(0x1c2)]=_0x421a08[_0x495d3e(0x18c)]),_0xe242a7[_0x495d3e(0x26a)]===_0x495d3e(0x196)&&_0x527a82['id']&&(_0x527a82['id']=_0x527a82['id']+_0x495c47[_0x495d3e(0x2cf)]),Object[_0x495d3e(0x3d5)](_0x527a82)[_0x495d3e(0x2e1)](function(_0x4b0ca7){const _0xfec2a5=_0x495d3e;var _0x4ae65b=_0x4b0ca7[0x0],_0x199dbd=_0x4b0ca7[0x1];_0x4ae65b==='mask'&&typeof _0x199dbd=='string'&&(_0x527a82[_0x4ae65b]=_0x199dbd[_0xfec2a5(0x3aa)](/url\(#(.*)\)/,_0xfec2a5(0x3c1)[_0xfec2a5(0x18b)](_0x495c47[_0xfec2a5(0x2cf)],')')));});var _0x25a551=_0x495c47['defIds'];return!_0x25a551||_0x25a551[_0x495d3e(0x36f)]===0x0||(_0xe242a7['tag']===_0x495d3e(0x2be)&&_0x527a82[_0x495d3e(0x32b)]&&(_0x527a82[_0x495d3e(0x32b)]=_0x527a82[_0x495d3e(0x32b)]+_0x495c47['idSuffix']),Object[_0x495d3e(0x3d5)](_0x527a82)[_0x495d3e(0x2e1)](function(_0x4c8851){const _0x426647=_0x495d3e;var _0x172ef8=_0x4c8851[0x0],_0x39829c=_0x4c8851[0x1];typeof _0x39829c==_0x426647(0x1df)&&(_0x527a82[_0x172ef8]=_0x39829c[_0x426647(0x3aa)](/url\(#(.*)\)/,_0x426647(0x3c1)[_0x426647(0x18b)](_0x495c47[_0x426647(0x2cf)],')')));})),_0x527a82;}function _0x20dbe6(_0x38020e,_0xb8d6f2){const _0x59828c=_0x2b281a;var _0x314386,_0x4b9707=_0xb8d6f2[_0x59828c(0x38b)];return!_0x4b9707||_0x4b9707[_0x59828c(0x36f)]===0x0?_0x38020e:_0x38020e[_0x59828c(0x26a)]===_0x59828c(0x26e)&&(!((_0x314386=_0x38020e[_0x59828c(0x33c)])===null||_0x314386===void 0x0)&&_0x314386[_0x59828c(0x36f)])?_0x169158(_0x169158({},_0x38020e),{'children':_0x38020e['children'][_0x59828c(0x337)](function(_0x5c6ba2){const _0x1c1e89=_0x59828c;return typeof _0x5c6ba2[_0x1c1e89(0x379)]['id']==_0x1c1e89(0x1df)&&_0x4b9707&&_0x4b9707[_0x1c1e89(0x1f8)](_0x5c6ba2[_0x1c1e89(0x379)]['id'])>-0x1?_0x169158(_0x169158({},_0x5c6ba2),{'attrs':_0x169158(_0x169158({},_0x5c6ba2[_0x1c1e89(0x379)]),{'id':_0x5c6ba2[_0x1c1e89(0x379)]['id']+_0xb8d6f2[_0x1c1e89(0x2cf)]})}):_0x5c6ba2;})}):_0x38020e;}function _0x517ef2(){const _0x1a2399=_0x2b281a;return Math[_0x1a2399(0x257)]()[_0x1a2399(0x334)](0x24)[_0x1a2399(0x1ae)](0x2,0x8);}_0x25a1b2[_0x2b281a(0x3a8)]=_0x2b281a(0x173);var _0x315e17={'tag':_0x2b281a(0x20d),'attrs':{'xmlns':_0x2b281a(0x168),'fill':'none','viewBox':_0x2b281a(0x17e),'width':_0x2b281a(0x393),'height':_0x2b281a(0x393)},'children':[{'tag':'g','attrs':{'clipPath':_0x2b281a(0x2b4)},'children':[{'tag':'path','attrs':{'stroke':'currentColor','d':_0x2b281a(0x35c),'strokeLinecap':_0x2b281a(0x19e),'strokeLinejoin':_0x2b281a(0x19e),'strokeWidth':1.2}}]},{'tag':_0x2b281a(0x26e),'attrs':{},'children':[{'tag':_0x2b281a(0x23c),'attrs':{'id':_0x2b281a(0x210)},'children':[{'tag':_0x2b281a(0x205),'attrs':{'fill':_0x2b281a(0x180),'d':_0x2b281a(0x350)}}]}]}],'defIds':['off-line-icon_clip0_910_343']},_0x31c2b2=_0xd420d5[_0x2b281a(0x256)](function(_0x532338,_0x18cef3){const _0x13565b=_0x2b281a;return _0xd420d5['createElement'](_0x25a1b2,Object[_0x13565b(0x2ad)]({},_0x532338,{'id':_0x13565b(0x2fe),'ref':_0x18cef3,'icon':_0x315e17}));});_0x31c2b2[_0x2b281a(0x3a8)]=_0x2b281a(0x2bf);var _0x68c711={'tag':'svg','attrs':{'xmlns':_0x2b281a(0x168),'fill':_0x2b281a(0x289),'viewBox':_0x2b281a(0x16f),'width':_0x2b281a(0x393),'height':_0x2b281a(0x393)},'children':[{'tag':'g','attrs':{'clipPath':_0x2b281a(0x16a)},'children':[{'tag':'path','attrs':{'stroke':_0x2b281a(0x2a1),'d':_0x2b281a(0x2bd),'strokeLinecap':_0x2b281a(0x19e),'strokeLinejoin':_0x2b281a(0x19e),'strokeWidth':1.2}}]},{'tag':_0x2b281a(0x26e),'attrs':{},'children':[{'tag':'clipPath','attrs':{'id':'on-line-icon_clip0_910_349'},'children':[{'tag':_0x2b281a(0x205),'attrs':{'fill':_0x2b281a(0x180),'d':_0x2b281a(0x350),'transform':_0x2b281a(0x3ba)}}]}]}],'defIds':[_0x2b281a(0x217)]},_0x3dc04b=_0xd420d5['forwardRef'](function(_0x459828,_0x93a5b1){const _0x44b67f=_0x2b281a;return _0xd420d5[_0x44b67f(0x1fe)](_0x25a1b2,Object[_0x44b67f(0x2ad)]({},_0x459828,{'id':_0x44b67f(0x1d0),'ref':_0x93a5b1,'icon':_0x68c711}));});_0x3dc04b['displayName']='OnLineIcon';function _0x2e1244(_0x5e7f36){const _0x5a8cec=_0x2b281a;switch(_0x5e7f36){case _0x55aa48[_0x5a8cec(0x175)][_0x5a8cec(0x351)]:return'collabStatus.offline';case _0x55aa48[_0x5a8cec(0x175)][_0x5a8cec(0x314)]:return _0x5a8cec(0x3bf);case _0x55aa48[_0x5a8cec(0x175)][_0x5a8cec(0x1a8)]:return _0x5a8cec(0x174);case _0x55aa48['CollaborationStatus'][_0x5a8cec(0x273)]:return'collabStatus.notCollab';case _0x55aa48[_0x5a8cec(0x175)]['AWAITING']:case _0x55aa48[_0x5a8cec(0x175)][_0x5a8cec(0x1f2)]:return _0x5a8cec(0x1cf);case _0x55aa48[_0x5a8cec(0x175)]['SYNCED']:case _0x55aa48[_0x5a8cec(0x175)][_0x5a8cec(0x1c7)]:return'collabStatus.synced';}}function _0x5a1bdc(_0x2d61a4){const _0x436bcb=_0x2b281a,{status$:_0x3330b1}=_0x2d61a4,_0x12be4a=_0x590bc9['useObservable'](_0x3330b1,_0x55aa48[_0x436bcb(0x175)][_0x436bcb(0x273)]),_0x1ac4ae=_0x590bc9['useDependency'](_0x403a48['LocaleService']),_0x345799=_0x590bc9[_0x436bcb(0x2e0)](_0x55aa48[_0x436bcb(0x309)]),_0xe3b3d7=_0x12be4a!==_0x55aa48[_0x436bcb(0x175)]['OFFLINE'],_0x5d09b7=_0x1ac4ae['t'](_0x2e1244(_0x12be4a)),_0x15c1d2=_0xe3b3d7?_0x56a115['jsx'](_0x3dc04b,{}):_0x56a115[_0x436bcb(0x2e4)](_0x31c2b2,{}),_0x124d18=_0xd420d5['useCallback'](()=>{_0xe3b3d7||_0x345799['reconnect']();},[_0xe3b3d7,_0x345799]);function _0x148493(){const _0x228448=_0x436bcb;return _0x56a115[_0x228448(0x2fa)]('div',{'className':'univer-flex\x20univer-items-center','onClick':_0x124d18,'children':[_0x56a115[_0x228448(0x2e4)]('div',{'className':_0x54ee32[_0x228448(0x390)](_0x228448(0x38f),{'univer-text-green-500':_0xe3b3d7,'univer-text-red-500':!_0xe3b3d7}),'children':_0x15c1d2}),_0x56a115[_0x228448(0x2e4)](_0x228448(0x194),{'className':_0x228448(0x336),'children':_0x5d09b7})]});}return _0xe3b3d7?_0x148493():_0x56a115['jsx'](_0x54ee32[_0x436bcb(0x2f4)],{'title':_0x1ac4ae['t'](_0x436bcb(0x3d9)),'children':_0x148493()});}var _0x3981f7=Object['getOwnPropertyDescriptor'],_0x10091f=(_0x4e5120,_0x4db79d,_0x8b9c3d,_0x1e720f)=>{for(var _0x45c6be=_0x1e720f>0x1?void 0x0:_0x1e720f?_0x3981f7(_0x4db79d,_0x8b9c3d):_0x4db79d,_0x226029=_0x4e5120['length']-0x1,_0x38367e;_0x226029>=0x0;_0x226029--)(_0x38367e=_0x4e5120[_0x226029])&&(_0x45c6be=_0x38367e(_0x45c6be)||_0x45c6be);return _0x45c6be;},_0x4d719d=(_0xc9106c,_0x99a4e2)=>(_0x5cca59,_0x36e838)=>_0x99a4e2(_0x5cca59,_0x36e838,_0xc9106c);_0x4d92ba[_0x2b281a(0x375)]=class extends _0x403a48['Disposable']{constructor(_0x297997,_0x594ee5,_0x537731,_0x2d36f1){const _0x35f95f=_0x2b281a;super(),_0x95fa0d(this,_0x35f95f(0x18f),new _0x15c792[(_0x35f95f(0x37f))](_0x55aa48[_0x35f95f(0x175)][_0x35f95f(0x273)])),(this[_0x35f95f(0x2c8)]=_0x297997,this[_0x35f95f(0x24a)]=_0x594ee5,this[_0x35f95f(0x3f7)]=_0x537731,this['_uiPartsService']=_0x2d36f1,this[_0x35f95f(0x3a3)](),this[_0x35f95f(0x386)]());}[_0x2b281a(0x386)](){const _0x4706af=_0x2b281a;this[_0x4706af(0x3f2)](this[_0x4706af(0x2c8)][_0x4706af(0x33b)][_0x4706af(0x28a)](_0x15c792['switchMap'](()=>{const _0x33f444=_0x4706af,_0x2ecbb9=this['_univerInstanceService']['getFocusedUnit']();return _0x2ecbb9?this[_0x33f444(0x3f7)][_0x33f444(0x221)](_0x2ecbb9['getUnitId']()):_0x15c792['of'](null);}),_0x15c792['switchMap'](_0x39c5fd=>_0x39c5fd?_0x39c5fd[_0x4706af(0x316)]:_0x15c792['of'](_0x55aa48['CollaborationStatus']['NOT_COLLAB'])))['subscribe'](_0x458235=>{this['_status$']['next'](_0x458235);}));}[_0x2b281a(0x3a3)](){const _0x1c30ce=_0x2b281a;this[_0x1c30ce(0x3f2)](this['_uiPartsService'][_0x1c30ce(0x394)](_0x590bc9[_0x1c30ce(0x3dc)]['HEADER_MENU'],()=>_0x590bc9[_0x1c30ce(0x2f3)](_0x5513d6({'status$':this['_status$']['asObservable']()}),this[_0x1c30ce(0x24a)])));}},_0x4d92ba[_0x2b281a(0x375)]=_0x10091f([_0x4d719d(0x0,_0x403a48[_0x2b281a(0x360)]),_0x4d719d(0x1,_0x403a48[_0x2b281a(0x19a)](_0x403a48['Injector'])),_0x4d719d(0x2,_0x403a48['Inject'](_0x55aa48[_0x2b281a(0x27d)])),_0x4d719d(0x3,_0x590bc9[_0x2b281a(0x2d0)])],_0x4d92ba[_0x2b281a(0x375)]);function _0x5513d6(_0x14248a){const {status$:_0x2b3b35}=_0x14248a;return function(){const _0x1a63a6=_0x28da;return _0x56a115[_0x1a63a6(0x2e4)](_0x5a1bdc,{'status$':_0x2b3b35});};}var _0x30020f=Object[_0x2b281a(0x354)],_0x3306e8=(_0x4423a2,_0x61ba94,_0x213c1c,_0x1c6736)=>{const _0xfa6742=_0x2b281a;for(var _0x2481b3=_0x1c6736>0x1?void 0x0:_0x1c6736?_0x30020f(_0x61ba94,_0x213c1c):_0x61ba94,_0x3b6f28=_0x4423a2[_0xfa6742(0x36f)]-0x1,_0x50ca75;_0x3b6f28>=0x0;_0x3b6f28--)(_0x50ca75=_0x4423a2[_0x3b6f28])&&(_0x2481b3=_0x50ca75(_0x2481b3)||_0x2481b3);return _0x2481b3;},_0x31b439=(_0x5e7fb9,_0x11b057)=>(_0xb8efd4,_0x55c65c)=>_0x11b057(_0xb8efd4,_0x55c65c,_0x5e7fb9);let _0x2b87af=class extends _0x403a48[_0x2b281a(0x265)]{constructor(_0x50fbc3,_0x394ac8,_0x4a1b5e,_0x183535,_0x2fa12c,_0x1968fa){const _0x5157e5=_0x2b281a;super(),this[_0x5157e5(0x3da)]=_0x50fbc3,this[_0x5157e5(0x216)]=_0x394ac8,this['_collaborationUIEventService']=_0x4a1b5e,this[_0x5157e5(0x280)]=_0x183535,this[_0x5157e5(0x29e)]=_0x2fa12c,this['_localeService']=_0x1968fa,this[_0x5157e5(0x33d)](),this['_initEvent']();}[_0x2b281a(0x33d)](){const _0xc393b3=_0x2b281a;this['disposeWithMe'](this[_0xc393b3(0x3da)][_0xc393b3(0x356)](()=>{const _0x301a83=_0xc393b3;if(this[_0x301a83(0x216)]['saveTaskMap'][_0x301a83(0x255)])return this[_0x301a83(0x238)]['t'](_0x301a83(0x295));}));}[_0x2b281a(0x2a0)](){const _0x2a5a90=_0x2b281a;this[_0x2a5a90(0x3f2)](this[_0x2a5a90(0x1db)][_0x2a5a90(0x3ca)][_0x2a5a90(0x308)](_0x14295d=>{const _0x5cd07d=_0x2a5a90;_0x14295d['id']===_0x55aa48['CollaborationUIEventId'][_0x5cd07d(0x16c)]&&this[_0x5cd07d(0x280)]['show']({'type':_0x54ee32[_0x5cd07d(0x2da)][_0x5cd07d(0x222)],'content':this[_0x5cd07d(0x238)]['t'](_0x5cd07d(0x25f))}),_0x14295d['id']===_0x55aa48['CollaborationUIEventId'][_0x5cd07d(0x271)]&&this[_0x5cd07d(0x280)][_0x5cd07d(0x259)]({'type':_0x54ee32['MessageType']['Warning'],'content':this[_0x5cd07d(0x238)]['t']('collaboration.closeRoom')}),_0x14295d['id']===_0x55aa48[_0x5cd07d(0x362)][_0x5cd07d(0x24c)]&&this[_0x5cd07d(0x29e)][_0x5cd07d(0x259)]({'title':this[_0x5cd07d(0x238)]['t'](_0x5cd07d(0x1e3)),'content':this[_0x5cd07d(0x238)]['t'](_0x5cd07d(0x3c3)),'type':_0x5cd07d(0x2f8),'duration':0x0}),_0x14295d['id']===_0x55aa48['CollaborationUIEventId']['CONFLICT']&&this[_0x5cd07d(0x280)]['show']({'type':_0x54ee32[_0x5cd07d(0x2da)][_0x5cd07d(0x323)],'content':this[_0x5cd07d(0x238)]['t'](_0x5cd07d(0x35e))+'('+_0x14295d[_0x5cd07d(0x1c6)]+')'}),_0x14295d['id']===_0x55aa48[_0x5cd07d(0x362)][_0x5cd07d(0x38c)]&&this[_0x5cd07d(0x280)][_0x5cd07d(0x259)]({'type':_0x54ee32[_0x5cd07d(0x2da)][_0x5cd07d(0x222)],'content':this[_0x5cd07d(0x238)]['t'](_0x14295d[_0x5cd07d(0x1c6)]||'')}),_0x14295d['id']===_0x55aa48[_0x5cd07d(0x362)][_0x5cd07d(0x3d0)]&&this[_0x5cd07d(0x280)][_0x5cd07d(0x259)]({'type':_0x54ee32[_0x5cd07d(0x2da)]['Warning'],'content':this[_0x5cd07d(0x238)]['t'](_0x5cd07d(0x3d1))}),_0x14295d['id']===_0x55aa48[_0x5cd07d(0x362)][_0x5cd07d(0x24f)]&&this[_0x5cd07d(0x280)][_0x5cd07d(0x259)]({'type':_0x54ee32['MessageType']['Error'],'content':this[_0x5cd07d(0x238)]['t'](_0x5cd07d(0x348))}),_0x14295d['id']===_0x55aa48[_0x5cd07d(0x362)]['SUBMIT_CHANGESET_TIMEOUT']&&this[_0x5cd07d(0x280)][_0x5cd07d(0x259)]({'type':_0x54ee32[_0x5cd07d(0x2da)][_0x5cd07d(0x323)],'content':this[_0x5cd07d(0x238)]['t'](_0x5cd07d(0x231))});}));}};_0x2b87af=_0x3306e8([_0x31b439(0x0,_0x590bc9[_0x2b281a(0x3bb)]),_0x31b439(0x1,_0x55aa48[_0x2b281a(0x15e)]),_0x31b439(0x2,_0x403a48[_0x2b281a(0x19a)](_0x55aa48[_0x2b281a(0x3c5)])),_0x31b439(0x3,_0x590bc9[_0x2b281a(0x2d5)]),_0x31b439(0x4,_0x590bc9[_0x2b281a(0x2d2)]),_0x31b439(0x5,_0x403a48['Inject'](_0x403a48[_0x2b281a(0x3a5)]))],_0x2b87af);const _0x495f23=_0x2b281a(0x301),_0x2cf38b={},_0x117780=_0x403a48[_0x2b281a(0x27b)](_0x2b281a(0x1a6));var _0x1a2b14=Object[_0x2b281a(0x354)],_0x1264ab=(_0x592025,_0x4f3544,_0x21653c,_0x2bbf34)=>{const _0x1bc66f=_0x2b281a;for(var _0x2cd0e0=_0x2bbf34>0x1?void 0x0:_0x2bbf34?_0x1a2b14(_0x4f3544,_0x21653c):_0x4f3544,_0x157b29=_0x592025[_0x1bc66f(0x36f)]-0x1,_0x22c89a;_0x157b29>=0x0;_0x157b29--)(_0x22c89a=_0x592025[_0x157b29])&&(_0x2cd0e0=_0x22c89a(_0x2cd0e0)||_0x2cd0e0);return _0x2cd0e0;},_0x4b4128=(_0x18abe7,_0x485516)=>(_0x501d08,_0x651efd)=>_0x485516(_0x501d08,_0x651efd,_0x18abe7);_0x4d92ba[_0x2b281a(0x399)]=class extends _0x403a48[_0x2b281a(0x3e8)]{constructor(_0x935cb1,_0x2c2842,_0x5263d7,_0x2c31b5,_0xe7adda){const _0xea9ec6=_0x2b281a;super(),this[_0xea9ec6(0x320)]=_0x935cb1,this['_logService']=_0x2c2842,this[_0xea9ec6(0x303)]=_0x5263d7,this[_0xea9ec6(0x26b)]=_0x2c31b5,_0xe7adda?_0xe7adda==null||_0xe7adda[_0xea9ec6(0x296)]()[_0xea9ec6(0x300)](()=>this[_0xea9ec6(0x223)]()):(this[_0xea9ec6(0x187)][_0xea9ec6(0x241)]('[CollaborationDataLoaderController]','No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.'),this[_0xea9ec6(0x223)]());}async['_init'](){const _0x5c7f09=_0x2b281a,_0x55d827=this['_urlService']['getParam'](_0x5c7f09(0x177)),_0x27b4b0=this['_urlService']['getParam'](_0x5c7f09(0x1bb)),_0xc78e52=this[_0x5c7f09(0x320)]['getParam']('subunit');if(!_0x55d827||!_0x27b4b0){this[_0x5c7f09(0x187)][_0x5c7f09(0x241)]('[CollaborationDataLoaderController]','No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.');return;}const _0x1c0118=await this[_0x5c7f09(0x26b)][_0x5c7f09(0x2d4)](_0x55d827,Number(_0x27b4b0),_0xc78e52);_0x1c0118&&_0x1c0118 instanceof _0x403a48['Workbook']&&this[_0x5c7f09(0x33e)](_0x1c0118);}async[_0x2b281a(0x33e)](_0x3518ca){const _0x25ac65=_0x2b281a;await this[_0x25ac65(0x225)](_0x3518ca),_0x3518ca[_0x25ac65(0x1d8)][_0x25ac65(0x28a)](_0x15c792[_0x25ac65(0x261)](this[_0x25ac65(0x30b)]))[_0x25ac65(0x308)](_0x1e811f=>{_0x1e811f&&this['_updateURLWithCurrentState'](_0x1e811f);}),this['_urlService'][_0x25ac65(0x1ba)][_0x25ac65(0x28a)](_0x15c792[_0x25ac65(0x261)](this['dispose$']))[_0x25ac65(0x308)](()=>this[_0x25ac65(0x225)](_0x3518ca));}[_0x2b281a(0x342)](_0x2ba871,_0x506d22=!0x1){const _0x426cee=_0x2b281a,_0x2e9474=this[_0x426cee(0x320)]['getParam']('subunit');_0x2ba871[_0x426cee(0x313)]()!==_0x2e9474&&this[_0x426cee(0x320)][_0x426cee(0x232)]('subunit',_0x2ba871[_0x426cee(0x313)](),_0x506d22);}async[_0x2b281a(0x225)](_0x553c27){const _0x9ccf2e=_0x2b281a;var _0x49538e;const _0xb9bf87=this[_0x9ccf2e(0x320)][_0x9ccf2e(0x2a6)](_0x9ccf2e(0x30a));if(!_0xb9bf87||!_0x553c27['getSheetBySheetId'](_0xb9bf87)){const _0x2cd4b9=_0x553c27['getUnhiddenWorksheets']()[0x0],_0x564464=_0x553c27['getSheetBySheetId'](_0x2cd4b9);if(!_0x564464)return;this[_0x9ccf2e(0x342)](_0x564464,!0x0),await this[_0x9ccf2e(0x303)]['executeCommand'](_0x46f729['SetWorksheetActivateCommand']['id'],{'unitId':_0x553c27['getUnitId'](),'subUnitId':_0x2cd4b9});return;}((_0x49538e=_0x553c27[_0x9ccf2e(0x1f9)]())==null?void 0x0:_0x49538e[_0x9ccf2e(0x313)]())!==_0xb9bf87&&await this[_0x9ccf2e(0x303)][_0x9ccf2e(0x385)](_0x46f729[_0x9ccf2e(0x254)]['id'],{'unitId':_0x553c27['getUnitId'](),'subUnitId':_0xb9bf87});}},_0x4d92ba['CollaborationDataLoaderController']=_0x1264ab([_0x4b4128(0x0,_0x117780),_0x4b4128(0x1,_0x403a48['ILogService']),_0x4b4128(0x2,_0x403a48[_0x2b281a(0x2f5)]),_0x4b4128(0x3,_0x403a48['Inject'](_0x55aa48['DataLoaderService'])),_0x4b4128(0x4,_0x403a48[_0x2b281a(0x2fb)](_0xe4a6ff['IRemoteInstanceService']))],_0x4d92ba[_0x2b281a(0x399)]);var _0x10373f=Object[_0x2b281a(0x354)],_0x2badaf=(_0x3460fb,_0x33f137,_0x409541,_0x4edd75)=>{for(var _0x45226e=_0x4edd75>0x1?void 0x0:_0x4edd75?_0x10373f(_0x33f137,_0x409541):_0x33f137,_0x1d9bb9=_0x3460fb['length']-0x1,_0x5264c9;_0x1d9bb9>=0x0;_0x1d9bb9--)(_0x5264c9=_0x3460fb[_0x1d9bb9])&&(_0x45226e=_0x5264c9(_0x45226e)||_0x45226e);return _0x45226e;},_0x5991e4=(_0x45d45d,_0xc875ed)=>(_0x3be56b,_0xd0071d)=>_0xc875ed(_0x3be56b,_0xd0071d,_0x45d45d);let _0xe0048c=class{constructor(_0x20463e,_0x10343c,_0x1d61c1){const _0x330fc9=_0x2b281a;this[_0x330fc9(0x24a)]=_0x20463e,this[_0x330fc9(0x367)]=_0x10343c,this[_0x330fc9(0x1ee)]=_0x1d61c1;}[_0x2b281a(0x19b)](_0x557f0b){const _0x2863a3=_0x2b281a;this[_0x2863a3(0x2eb)](_0x557f0b),this[_0x2863a3(0x339)](_0x557f0b);}[_0x2b281a(0x3e4)](_0x342788){const _0x36bd16=_0x2b281a,{unitID:_0x2ea549}=_0x342788,_0x180099=this[_0x36bd16(0x1ee)]['getRenderById'](_0x2ea549)[_0x36bd16(0x17c)](_0xf283a2['DocIMEInputManagerService']),{redoCache:_0x4c2e89}=_0x180099[_0x36bd16(0x357)]();if(_0x4c2e89['length']===0x0)return _0x342788;let _0x2fc33b=_0x403a48['Tools'][_0x36bd16(0x25b)](_0x342788[_0x36bd16(0x235)][0x0]);for(let _0x478aab=0x0;_0x478aab<_0x4c2e89[_0x36bd16(0x36f)];_0x478aab++){const _0x27c88c={'id':_0x36bd16(0x185),'params':{..._0x4c2e89[_0x478aab]}},_0x3a6401=this[_0x36bd16(0x367)]['transformMutation'](_0x2fc33b,_0x27c88c,!0x1);if(_0x261ba6['isTransformMutationFailure'](_0x3a6401))throw _0x3a6401[_0x36bd16(0x2f8)];_0x2fc33b=_0x3a6401[_0x36bd16(0x2b2)];}return{..._0x403a48[_0x36bd16(0x39c)][_0x36bd16(0x25b)](_0x342788),'mutations':[_0x2fc33b]};}[_0x2b281a(0x2eb)](_0x2064b2){const _0xe3e2a3=_0x2b281a,{unitID:_0x3e05ac}=_0x2064b2,_0x8132ac=this[_0xe3e2a3(0x1ee)][_0xe3e2a3(0x20a)](_0x3e05ac)[_0xe3e2a3(0x17c)](_0xf283a2['DocIMEInputManagerService']),{undoCache:_0x520ebf,redoCache:_0x136c57}=_0x8132ac[_0xe3e2a3(0x357)]();if(_0x520ebf[_0xe3e2a3(0x36f)]===0x0||_0x136c57['length']===0x0)return;const _0x2c1058=[],_0x487671=[];let _0x52d3d6=_0x403a48[_0xe3e2a3(0x39c)][_0xe3e2a3(0x25b)](_0x2064b2[_0xe3e2a3(0x235)][0x0]),_0x2c1e36=_0x403a48[_0xe3e2a3(0x39c)][_0xe3e2a3(0x25b)](_0x2064b2[_0xe3e2a3(0x235)][0x0]);for(let _0x107a54=_0x520ebf[_0xe3e2a3(0x36f)]-0x1;_0x107a54>=0x0;_0x107a54--){const _0x8a6f83={'id':'doc.mutation.rich-text-editing','params':{..._0x520ebf[_0x107a54]}},_0x1b1e0f={'id':'doc.mutation.rich-text-editing','params':{..._0x136c57[_0x107a54]}},_0x2d70d8=this['_transformService'][_0xe3e2a3(0x3dd)](_0x52d3d6,_0x8a6f83,!0x1),_0x508df1=this[_0xe3e2a3(0x367)][_0xe3e2a3(0x3dd)](_0x2c1e36,_0x1b1e0f,!0x1);if(_0x261ba6[_0xe3e2a3(0x369)](_0x2d70d8))throw _0x2d70d8[_0xe3e2a3(0x2f8)];if(_0x261ba6[_0xe3e2a3(0x369)](_0x508df1))throw _0x508df1[_0xe3e2a3(0x2f8)];_0x2c1058['unshift'](_0x2d70d8[_0xe3e2a3(0x253)][_0xe3e2a3(0x3ef)]),_0x487671[_0xe3e2a3(0x3e1)](_0x508df1[_0xe3e2a3(0x253)]['params']),_0x52d3d6=_0x2d70d8['m1Prime'],_0x2c1e36=_0x508df1[_0xe3e2a3(0x2b2)];}_0x8132ac['setUndoRedoMutationParamsCache']({'undoCache':_0x2c1058,'redoCache':_0x487671});}['_transformPreviousActiveRange'](_0x52851e){const _0x3c3a8f=_0x2b281a,{unitID:_0x20df62}=_0x52851e,_0x32ab4d=this['_renderManagerService'][_0x3c3a8f(0x20a)](_0x20df62)[_0x3c3a8f(0x17c)](_0xf283a2[_0x3c3a8f(0x21a)]),_0x261e76=_0x32ab4d['getActiveRange']();if(_0x261e76==null)return;const _0x46ed48=[{'id':_0x3c3a8f(0x185),'params':{'unitId':_0x52851e[_0x3c3a8f(0x1ab)],'actions':null,'textRanges':[_0x261e76]}}],_0x25f3da=this[_0x3c3a8f(0x367)][_0x3c3a8f(0x288)](_0x52851e,_0x46ed48);if(!_0x261ba6['isTransformMutationsWithChangesetSuccess'](_0x25f3da))throw _0x25f3da[_0x3c3a8f(0x2f8)];const _0x2adb63=_0x25f3da[_0x3c3a8f(0x253)][0x0]['params'][_0x3c3a8f(0x3cc)];Array[_0x3c3a8f(0x3e5)](_0x2adb63)&&_0x2adb63[_0x3c3a8f(0x36f)]&&_0x32ab4d['setActiveRange'](_0x2adb63[0x0]);}};_0xe0048c=_0x2badaf([_0x5991e4(0x0,_0x403a48['Inject'](_0x403a48[_0x2b281a(0x267)])),_0x5991e4(0x1,_0x261ba6[_0x2b281a(0x36c)]),_0x5991e4(0x2,_0x1380e3['IRenderManagerService'])],_0xe0048c);var _0x3534b3=Object[_0x2b281a(0x354)],_0x4f1138=(_0x3c3dca,_0x4ccd27,_0x48142c,_0x157473)=>{const _0x3a26c6=_0x2b281a;for(var _0x2eff9a=_0x157473>0x1?void 0x0:_0x157473?_0x3534b3(_0x4ccd27,_0x48142c):_0x4ccd27,_0x468200=_0x3c3dca[_0x3a26c6(0x36f)]-0x1,_0x43671a;_0x468200>=0x0;_0x468200--)(_0x43671a=_0x3c3dca[_0x468200])&&(_0x2eff9a=_0x43671a(_0x2eff9a)||_0x2eff9a);return _0x2eff9a;},_0x3f43ca=(_0x212217,_0x5b98c0)=>(_0xbbb90a,_0xe04edc)=>_0x5b98c0(_0xbbb90a,_0xe04edc,_0x212217);let _0x1d67f9=class{constructor(_0x1fa967,_0x28c85a,_0xa153d9){const _0x4f14b3=_0x2b281a;this['_injector']=_0x1fa967,this[_0x4f14b3(0x367)]=_0x28c85a,this[_0x4f14b3(0x2df)]=_0xa153d9;}[_0x2b281a(0x2c0)](_0xaca491){const _0x2795b0=_0x2b281a;this[_0x2795b0(0x270)](_0xaca491);}['transformRemoteChangeset'](_0x39b026){const _0x362668=_0x2b281a,{unitID:_0x31d3f6}=_0x39b026,{collaboration:_0x2999ff}=this[_0x362668(0x2df)][_0x362668(0x170)](_0x31d3f6);if(_0x2999ff[_0x362668(0x36f)]===0x0)return _0x39b026;let _0x41a5f0=_0x403a48[_0x362668(0x39c)][_0x362668(0x25b)](_0x39b026[_0x362668(0x235)][0x0]);for(let _0x194251=0x0;_0x194251<_0x2999ff[_0x362668(0x36f)];_0x194251++){const _0x46fb5d={'id':_0x362668(0x185),'params':{'unitId':_0x2999ff[_0x194251][_0x362668(0x3b0)],..._0x2999ff[_0x194251][_0x362668(0x3d3)]}},_0x2b6dbe=this[_0x362668(0x367)][_0x362668(0x3dd)](_0x41a5f0,_0x46fb5d,!0x1);if(_0x261ba6[_0x362668(0x369)](_0x2b6dbe))throw _0x2b6dbe['error'];_0x41a5f0=_0x2b6dbe[_0x362668(0x2b2)];}return{..._0x403a48[_0x362668(0x39c)][_0x362668(0x25b)](_0x39b026),'mutations':[_0x41a5f0]};}[_0x2b281a(0x270)](_0xb7b218){const _0x49259b=_0x2b281a,{unitID:_0x46e9d4}=_0xb7b218,{history:_0x596ba1,collaboration:_0x59f12f}=this[_0x49259b(0x2df)][_0x49259b(0x170)](_0x46e9d4);if(_0x596ba1[_0x49259b(0x36f)]===0x0&&_0x59f12f['length']===0x0)return;const _0x3b69a9=[],_0x1205b3=[];let _0x4d4843=_0x403a48['Tools']['deepClone'](_0xb7b218[_0x49259b(0x235)][0x0]),_0x55cfa6=_0x403a48[_0x49259b(0x39c)][_0x49259b(0x25b)](_0xb7b218[_0x49259b(0x235)][0x0]);for(let _0x5b080d=_0x596ba1[_0x49259b(0x36f)]-0x1;_0x5b080d>=0x0;_0x5b080d--){const _0x3da95b={'id':_0x49259b(0x185),'params':{'unitId':_0x596ba1[_0x5b080d]['unitId'],..._0x596ba1[_0x5b080d][_0x49259b(0x2c1)]}},_0x1af263={'id':_0x49259b(0x185),'params':{'unitId':_0x596ba1[_0x5b080d][_0x49259b(0x3b0)],..._0x596ba1[_0x5b080d][_0x49259b(0x3d3)]}},_0x240910=this['_transformService'][_0x49259b(0x3dd)](_0x4d4843,_0x3da95b,!0x1),_0x244318=this[_0x49259b(0x367)][_0x49259b(0x3dd)](_0x55cfa6,_0x1af263,!0x1);if(_0x261ba6[_0x49259b(0x369)](_0x240910))throw _0x240910[_0x49259b(0x2f8)];if(_0x261ba6[_0x49259b(0x369)](_0x244318))throw _0x244318['error'];_0x3b69a9['unshift']({..._0x596ba1[_0x5b080d],'undoState':_0x240910[_0x49259b(0x253)][_0x49259b(0x3ef)],'redoState':_0x244318[_0x49259b(0x253)][_0x49259b(0x3ef)]}),_0x4d4843=_0x240910[_0x49259b(0x2b2)],_0x55cfa6=_0x244318[_0x49259b(0x2b2)];}_0x4d4843=_0x403a48[_0x49259b(0x39c)][_0x49259b(0x25b)](_0xb7b218['mutations'][0x0]),_0x55cfa6=_0x403a48[_0x49259b(0x39c)]['deepClone'](_0xb7b218[_0x49259b(0x235)][0x0]);for(let _0x2fa3ac=_0x59f12f['length']-0x1;_0x2fa3ac>=0x0;_0x2fa3ac--){const _0x308ce8={'id':_0x49259b(0x185),'params':{'unitId':_0x59f12f[_0x2fa3ac][_0x49259b(0x3b0)],..._0x59f12f[_0x2fa3ac][_0x49259b(0x2c1)]}},_0x5b0dbb={'id':_0x49259b(0x185),'params':{'unitId':_0x59f12f[_0x2fa3ac][_0x49259b(0x3b0)],..._0x59f12f[_0x2fa3ac][_0x49259b(0x3d3)]}},_0x5bab7f=this[_0x49259b(0x367)][_0x49259b(0x3dd)](_0x4d4843,_0x308ce8,!0x1),_0x517808=this['_transformService'][_0x49259b(0x3dd)](_0x55cfa6,_0x5b0dbb,!0x1);if(_0x261ba6[_0x49259b(0x369)](_0x5bab7f))throw _0x5bab7f[_0x49259b(0x2f8)];if(_0x261ba6['isTransformMutationFailure'](_0x517808))throw _0x517808[_0x49259b(0x2f8)];_0x1205b3[_0x49259b(0x3e1)]({..._0x59f12f[_0x2fa3ac],'undoState':_0x5bab7f['m2Prime'][_0x49259b(0x3ef)],'redoState':_0x517808['m2Prime'][_0x49259b(0x3ef)]}),_0x4d4843=_0x5bab7f[_0x49259b(0x2b2)],_0x55cfa6=_0x517808[_0x49259b(0x2b2)];}this['_docStateChangeManagerService'][_0x49259b(0x365)](_0x46e9d4,{'history':_0x3b69a9,'collaboration':_0x1205b3});}};_0x1d67f9=_0x4f1138([_0x3f43ca(0x0,_0x403a48['Inject'](_0x403a48[_0x2b281a(0x267)])),_0x3f43ca(0x1,_0x261ba6[_0x2b281a(0x36c)]),_0x3f43ca(0x2,_0x403a48[_0x2b281a(0x19a)](_0xf283a2[_0x2b281a(0x19c)]))],_0x1d67f9);var _0x49fa55=Object[_0x2b281a(0x354)],_0x4724ab=(_0x1c4f69,_0x364de9,_0xb13cc7,_0x7e93ee)=>{const _0x47d432=_0x2b281a;for(var _0x1bf43c=_0x7e93ee>0x1?void 0x0:_0x7e93ee?_0x49fa55(_0x364de9,_0xb13cc7):_0x364de9,_0x2450c6=_0x1c4f69[_0x47d432(0x36f)]-0x1,_0xb6861a;_0x2450c6>=0x0;_0x2450c6--)(_0xb6861a=_0x1c4f69[_0x2450c6])&&(_0x1bf43c=_0xb6861a(_0x1bf43c)||_0x1bf43c);return _0x1bf43c;},_0x272367=(_0x1d6b0b,_0xd8de6a)=>(_0x9fc5f4,_0x160053)=>_0xd8de6a(_0x9fc5f4,_0x160053,_0x1d6b0b);let _0x28437c=class{constructor(_0x4e2363,_0x3b5147){this['_injector']=_0x4e2363,this['_transformService']=_0x3b5147;}[_0x2b281a(0x1d5)](_0x2618ea){const _0x4a0ddc=_0x2b281a;var _0x968d26;const _0x4f21e6=this[_0x4a0ddc(0x24a)][_0x4a0ddc(0x3c2)](_0x36b8d7[_0x4a0ddc(0x396)]),_0x21316d=(_0x968d26=_0x4f21e6[_0x4a0ddc(0x352)]())!=null?_0x968d26:[];if(_0x21316d[_0x4a0ddc(0x36f)]===0x0)return;const _0x573a42=_0x2618ea[_0x4a0ddc(0x1ab)],_0x4d8ba5=[{'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x573a42,'actions':null,'textRanges':_0x21316d}}],_0x161845=this[_0x4a0ddc(0x367)][_0x4a0ddc(0x288)](_0x2618ea,_0x4d8ba5);if(!_0x261ba6['isTransformMutationsWithChangesetSuccess'](_0x161845))throw _0x161845[_0x4a0ddc(0x2f8)];const _0x13a18e=_0x161845['m2Prime'][0x0][_0x4a0ddc(0x3ef)][_0x4a0ddc(0x3cc)];Array['isArray'](_0x13a18e)&&_0x13a18e[_0x4a0ddc(0x36f)]&&_0x4f21e6['replaceDocRanges'](_0x13a18e,{'unitId':_0x573a42,'subUnitId':_0x573a42},!0x1);}};_0x28437c=_0x4724ab([_0x272367(0x0,_0x403a48[_0x2b281a(0x19a)](_0x403a48[_0x2b281a(0x267)])),_0x272367(0x1,_0x261ba6[_0x2b281a(0x36c)])],_0x28437c);var _0x4b065b=Object[_0x2b281a(0x354)],_0x3d57ac=(_0x101146,_0x176291,_0x31eeea,_0x3008d5)=>{for(var _0x548b52=_0x3008d5>0x1?void 0x0:_0x3008d5?_0x4b065b(_0x176291,_0x31eeea):_0x176291,_0x114964=_0x101146['length']-0x1,_0x22c2dd;_0x114964>=0x0;_0x114964--)(_0x22c2dd=_0x101146[_0x114964])&&(_0x548b52=_0x22c2dd(_0x548b52)||_0x548b52);return _0x548b52;},_0x15d5d4=(_0x261b45,_0x3c155a)=>(_0x414037,_0x44a9ae)=>_0x3c155a(_0x414037,_0x44a9ae,_0x261b45);let _0x490472=class extends _0x403a48[_0x2b281a(0x265)]{constructor(_0x2dc69c,_0x2c1174,_0x4af384,_0x192c3c,_0x25a81e,_0x38b44c,_0x22ad81,_0xbfec44){const _0x1c18ca=_0x2b281a;super(),_0x95fa0d(this,_0x1c18ca(0x18f),new _0x15c792[(_0x1c18ca(0x37f))](_0x55aa48['CollaborationStatus']['NOT_COLLAB'])),(this['_docStateChangeManagerService']=_0x2dc69c,this[_0x1c18ca(0x3f7)]=_0x2c1174,this[_0x1c18ca(0x321)]=_0x4af384,this['_docTransformStateCacheService']=_0x192c3c,this[_0x1c18ca(0x162)]=_0x25a81e,this[_0x1c18ca(0x344)]=_0x38b44c,this[_0x1c18ca(0x280)]=_0x22ad81,this[_0x1c18ca(0x238)]=_0xbfec44,this[_0x1c18ca(0x1d1)]());}[_0x2b281a(0x1d1)](){const _0x26168b=_0x2b281a;this[_0x26168b(0x3f2)](this[_0x26168b(0x3f7)][_0x26168b(0x368)][_0x26168b(0x308)](_0x113873=>{const _0x566900=_0x26168b,_0x7c0ab4=this['_docStateChangeManagerService'][_0x566900(0x211)][_0x566900(0x308)](_0xf71706=>{const _0x59159e=_0x566900;if(_0xf71706==null)return;const {unitId:_0x3bc8a6,redoState:_0x49d6bb,commandId:_0x52ca69}=_0xf71706;if(_0x3bc8a6!==_0x113873[_0x59159e(0x1ab)])return;const _0x480031={'id':_0x52ca69,'type':_0x403a48[_0x59159e(0x363)]['MUTATION'],'params':{'unitId':_0x3bc8a6,'actions':_0x49d6bb[_0x59159e(0x1e8)],'textRanges':null}};_0x113873['onLocalMutation'](_0x480031);});if(_0x113873[_0x566900(0x3f2)](_0x7c0ab4),_0x113873 instanceof _0x55aa48[_0x566900(0x398)]){const _0x532a14={'onTransformIME':_0xc5920=>this['_docTransformIMECacheService']['transformIMECache'](_0xc5920),'onTransformState':_0x1eef28=>this[_0x566900(0x3d8)]['transformStateCache'](_0x1eef28),'onTransformSelections':_0x56b8de=>this[_0x566900(0x162)]['transformSelections'](_0x56b8de),'onSyncEditingCollabCursor':_0x41cb29=>this[_0x566900(0x344)]['syncEditingCollabCursor'](_0x41cb29),'onTransformRemoteChangesetByIMECache':_0xdc49b1=>this['_docTransformIMECacheService'][_0x566900(0x3e4)](_0xdc49b1),'onTransformRemoteChangesetByStateCache':_0x3d09f8=>this[_0x566900(0x3d8)][_0x566900(0x3e4)](_0x3d09f8)};_0x113873[_0x566900(0x3eb)](_0x532a14);}}));}};_0x490472=_0x3d57ac([_0x15d5d4(0x0,_0x403a48[_0x2b281a(0x19a)](_0xf283a2[_0x2b281a(0x19c)])),_0x15d5d4(0x1,_0x403a48[_0x2b281a(0x19a)](_0x55aa48[_0x2b281a(0x27d)])),_0x15d5d4(0x2,_0x403a48[_0x2b281a(0x19a)](_0xe0048c)),_0x15d5d4(0x3,_0x403a48[_0x2b281a(0x19a)](_0x1d67f9)),_0x15d5d4(0x4,_0x403a48['Inject'](_0x28437c)),_0x15d5d4(0x5,_0x403a48[_0x2b281a(0x19a)](_0x225ea0)),_0x15d5d4(0x6,_0x590bc9[_0x2b281a(0x2d5)]),_0x15d5d4(0x7,_0x403a48['Inject'](_0x403a48[_0x2b281a(0x3a5)]))],_0x490472);var _0x207d41=Object[_0x2b281a(0x354)],_0x4081e7=(_0x46e72e,_0x575004,_0x3ba891,_0x1a7607)=>{for(var _0x4a8fe2=_0x1a7607>0x1?void 0x0:_0x1a7607?_0x207d41(_0x575004,_0x3ba891):_0x575004,_0x4293cf=_0x46e72e['length']-0x1,_0x29f545;_0x4293cf>=0x0;_0x4293cf--)(_0x29f545=_0x46e72e[_0x4293cf])&&(_0x4a8fe2=_0x29f545(_0x4a8fe2)||_0x4a8fe2);return _0x4a8fe2;},_0x2459f1=(_0x101007,_0x2efc2e)=>(_0x11f0a9,_0x6137ae)=>_0x2efc2e(_0x11f0a9,_0x6137ae,_0x101007);let _0x22c197=class extends _0x403a48['Disposable']{constructor(_0x4c8bb2,_0x59673f,_0x14e60c){const _0x32a34a=_0x2b281a;super(),_0x95fa0d(this,'_cachedData',new Map()),_0x95fa0d(this,'_saveTaskMap',new Map()),_0x95fa0d(this,_0x32a34a(0x1bc),!0x1),(this[_0x32a34a(0x30d)]=_0x4c8bb2,this[_0x32a34a(0x1d2)]=_0x59673f,this['_revisionService']=_0x14e60c);}['disableLocalCache'](){this['_disabled']=!0x0;}[_0x2b281a(0x1e9)](){this['_disabled']=!0x1;}get[_0x2b281a(0x3a7)](){const _0x194c12=_0x2b281a;return this[_0x194c12(0x3db)];}['dispose'](){const _0x12874a=_0x2b281a;this['exhaustSavingTask']()[_0x12874a(0x300)](()=>super[_0x12874a(0x322)]());}async['loadOfflineData'](_0x46071d){const _0x43b62e=_0x2b281a;return this['_disabled']?null:this['_localStorageService'][_0x43b62e(0x2f1)](_0x55aa48[_0x43b62e(0x3bc)](_0x46071d));}async[_0x2b281a(0x1cc)](_0x4e3345,_0x3bcad5){const _0x3b0f61=_0x2b281a;return!!this[_0x3b0f61(0x1d2)][_0x3b0f61(0x19f)](_0x4e3345,_0x3bcad5);}[_0x2b281a(0x291)](_0x404cc1,_0x12e45b,_0x171519,_0x72c76e){const _0x3bc368=_0x2b281a,_0x3c6e1e=this[_0x3bc368(0x361)]['getCurrentRevOfUnit'](_0x404cc1);this['_cachedData'][_0x3bc368(0x25e)](_0x404cc1,{'unitID':_0x404cc1,'type':_0x12e45b,'awaitingChangeset':_0x171519,'mutations':_0x72c76e,'rev':_0x3c6e1e}),this[_0x3bc368(0x3db)][_0x3bc368(0x1c5)](_0x404cc1)||this[_0x3bc368(0x318)](_0x404cc1);}[_0x2b281a(0x318)](_0xc01d3a){const _0x5f18cf=_0x2b281a,_0xe5750d=this['_getSaveTimeout']();_0xe5750d===0x0?this['_saveCache'](_0xc01d3a):this[_0x5f18cf(0x3db)][_0x5f18cf(0x25e)](_0xc01d3a,setTimeout(()=>this[_0x5f18cf(0x1d6)](_0xc01d3a),_0xe5750d));}['_getSaveTimeout'](){const _0x4ce37a=_0x2b281a;var _0xb8bb44;return(_0xb8bb44=this[_0x4ce37a(0x30d)][_0x4ce37a(0x389)](_0x55aa48[_0x4ce37a(0x17f)]))!=null?_0xb8bb44:_0x55aa48[_0x4ce37a(0x3b8)];}[_0x2b281a(0x1d6)](_0x523547){const _0x5c0ec3=_0x2b281a,_0x4a059c=this['_saveTaskMap'][_0x5c0ec3(0x3c2)](_0x523547);return _0x4a059c!==void 0x0&&window[_0x5c0ec3(0x3ea)](_0x4a059c),this['_localStorageService'][_0x5c0ec3(0x19f)](_0x55aa48[_0x5c0ec3(0x3bc)](_0x523547),this['_cachedData'][_0x5c0ec3(0x3c2)](_0x523547))[_0x5c0ec3(0x300)](()=>this[_0x5c0ec3(0x3db)][_0x5c0ec3(0x3cb)](_0x523547));}async[_0x2b281a(0x31e)](){const _0x19691b=_0x2b281a,_0x2e3ed6=[];this[_0x19691b(0x3db)][_0x19691b(0x2e1)]((_0x3aa7cb,_0x3e7911)=>{const _0x10e891=_0x19691b;window[_0x10e891(0x3ea)](_0x3aa7cb),_0x2e3ed6['push'](this['_saveCache'](_0x3e7911)[_0x10e891(0x300)](()=>{const _0x4c6c97=_0x10e891;this[_0x4c6c97(0x3db)][_0x4c6c97(0x3cb)](_0x3e7911);}));}),await Promise[_0x19691b(0x31f)](_0x2e3ed6);}};_0x22c197=_0x4081e7([_0x2459f1(0x0,_0x403a48[_0x2b281a(0x184)]),_0x2459f1(0x1,_0x403a48['ILocalStorageService']),_0x2459f1(0x2,_0x403a48[_0x2b281a(0x19a)](_0x261ba6[_0x2b281a(0x3a4)]))],_0x22c197);class _0x2c2c45 extends _0x403a48[_0x2b281a(0x3e8)]{constructor(){const _0x39a49d=_0x2b281a;super(),_0x95fa0d(this,_0x39a49d(0x1ba)),this[_0x39a49d(0x1ba)]=_0x15c792[_0x39a49d(0x297)](window,_0x39a49d(0x373))[_0x39a49d(0x28a)](_0x15c792[_0x39a49d(0x261)](this[_0x39a49d(0x30b)]),_0x15c792[_0x39a49d(0x3b5)](0x1),_0x15c792['mapTo'](void 0x0));}[_0x2b281a(0x232)](_0x1efd9e,_0x25aeee,_0x318ccf=!0x1){const _0x4f6b12=_0x2b281a,_0x4cb7d0=new URL(window[_0x4f6b12(0x2c5)]['href']);_0x4cb7d0[_0x4f6b12(0x2f6)][_0x4f6b12(0x25e)](_0x1efd9e,_0x25aeee),_0x318ccf?window[_0x4f6b12(0x392)]['replaceState']('','',_0x4cb7d0['toString']()):window[_0x4f6b12(0x392)]['pushState']('','',_0x4cb7d0['toString']());}[_0x2b281a(0x15a)](_0x47ac43,_0x5ace9a=!0x1){const _0x35b085=_0x2b281a,_0x36071d=new URL(window[_0x35b085(0x2c5)][_0x35b085(0x202)]);_0x36071d['searchParams'][_0x35b085(0x3cb)](_0x47ac43),_0x5ace9a?window[_0x35b085(0x392)]['replaceState']('','',_0x36071d[_0x35b085(0x334)]()):window[_0x35b085(0x392)][_0x35b085(0x2c7)]('','',_0x36071d[_0x35b085(0x334)]());}['getParam'](_0xedb1ee){const _0x3049b6=_0x2b281a;var _0x136660;return(_0x136660=new URL(window[_0x3049b6(0x2c5)][_0x3049b6(0x202)])['searchParams'][_0x3049b6(0x3c2)](_0xedb1ee))!=null?_0x136660:void 0x0;}}var _0x5e2001=Object[_0x2b281a(0x1ad)],_0x58e2bd=Object[_0x2b281a(0x354)],_0x2be675=(_0x494edc,_0x5c5ddc,_0x446e33)=>_0x5c5ddc in _0x494edc?_0x5e2001(_0x494edc,_0x5c5ddc,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x446e33}):_0x494edc[_0x5c5ddc]=_0x446e33,_0x4759f5=(_0x5b7b52,_0x590efa,_0x3582da,_0x51f930)=>{const _0x47199a=_0x2b281a;for(var _0x3bfbdd=_0x51f930>0x1?void 0x0:_0x51f930?_0x58e2bd(_0x590efa,_0x3582da):_0x590efa,_0x3283f4=_0x5b7b52[_0x47199a(0x36f)]-0x1,_0x1ad245;_0x3283f4>=0x0;_0x3283f4--)(_0x1ad245=_0x5b7b52[_0x3283f4])&&(_0x3bfbdd=_0x1ad245(_0x3bfbdd)||_0x3bfbdd);return _0x3bfbdd;},_0x25b1dc=(_0x29bebc,_0x4e8071)=>(_0x38889b,_0x4c46ff)=>_0x4e8071(_0x38889b,_0x4c46ff,_0x29bebc),_0x3fa94d=(_0x152fa8,_0x475b42,_0x29300f)=>_0x2be675(_0x152fa8,_0x475b42+'',_0x29300f);const _0x42dcff=_0x2b281a(0x2c2);_0x4d92ba['UniverCollaborationClientUIPlugin']=class extends _0x403a48[_0x2b281a(0x37d)]{constructor(_0x3db9da=_0x2cf38b,_0x353636,_0x52b85e,_0x118538){const _0x1305c0=_0x2b281a;super(),this[_0x1305c0(0x1e1)]=_0x3db9da,this[_0x1305c0(0x1ee)]=_0x353636,this[_0x1305c0(0x24a)]=_0x52b85e,this[_0x1305c0(0x30d)]=_0x118538;const {..._0x1a69b1}=_0x403a48['merge']({},_0x2cf38b,this[_0x1305c0(0x1e1)]);this[_0x1305c0(0x30d)][_0x1305c0(0x3ce)](_0x495f23,_0x1a69b1);}[_0x2b281a(0x371)](){const _0x1ff7fe=_0x2b281a;this[_0x1ff7fe(0x39b)](),this[_0x1ff7fe(0x247)]();}[_0x2b281a(0x21b)](){const _0x2e39ef=_0x2b281a;this[_0x2e39ef(0x34c)]();}['_registerDependencies'](){const _0x26dc2f=_0x2b281a;var _0x4b2c61;const _0x352089=[[_0x39e635],[_0x28437c],[_0xe0048c],[_0x1d67f9],[_0x225ea0],[_0x117780,{'useClass':_0x2c2c45}],[_0x160af6[_0x26dc2f(0x1b6)],{'useClass':_0x160af6[_0x26dc2f(0x1f4)]}],[_0x55aa48['ILocalCacheService'],{'useClass':_0x22c197}],[_0x4d92ba[_0x26dc2f(0x375)]],[_0x490472],[_0x2b87af],[_0x896780],[_0x5aa976],[_0x4d92ba[_0x26dc2f(0x399)]]];_0x403a48['registerDependencies'](this[_0x26dc2f(0x24a)],_0x403a48[_0x26dc2f(0x3b1)](_0x352089,(_0x4b2c61=this['_config'])==null?void 0x0:_0x4b2c61[_0x26dc2f(0x1a9)]));}[_0x2b281a(0x34c)](){const _0x30d3d1=_0x2b281a;this[_0x30d3d1(0x3f2)](this[_0x30d3d1(0x1ee)][_0x30d3d1(0x3a9)](_0x403a48[_0x30d3d1(0x28f)]['UNIVER_DOC'],[_0x1c18e5])),this[_0x30d3d1(0x3f2)](this[_0x30d3d1(0x1ee)][_0x30d3d1(0x3a9)](_0x403a48['UniverInstanceType'][_0x30d3d1(0x169)],[_0x5c681f]));}[_0x2b281a(0x247)](){const _0x5537ba=_0x2b281a;_0x403a48['touchDependencies'](this[_0x5537ba(0x24a)],[[_0x896780],[_0x4d92ba['DesktopCollaborationStatusDisplayController']],[_0x490472],[_0x2b87af],[_0x4d92ba[_0x5537ba(0x399)]]]);}},_0x3fa94d(_0x4d92ba[_0x2b281a(0x1bf)],'pluginName',_0x42dcff),_0x4d92ba[_0x2b281a(0x1bf)]=_0x4759f5([_0x403a48[_0x2b281a(0x269)](_0x55aa48['UniverCollaborationClientPlugin']),_0x25b1dc(0x1,_0x1380e3['IRenderManagerService']),_0x25b1dc(0x2,_0x403a48['Inject'](_0x403a48['Injector'])),_0x25b1dc(0x3,_0x403a48[_0x2b281a(0x184)])],_0x4d92ba['UniverCollaborationClientUIPlugin']);var _0x1866d6=Object[_0x2b281a(0x354)],_0x28f053=(_0x4965e5,_0x376bbc,_0x29b2a2,_0x5be868)=>{const _0x59940c=_0x2b281a;for(var _0x504f30=_0x5be868>0x1?void 0x0:_0x5be868?_0x1866d6(_0x376bbc,_0x29b2a2):_0x376bbc,_0x4f4629=_0x4965e5[_0x59940c(0x36f)]-0x1,_0x3f6b6e;_0x4f4629>=0x0;_0x4f4629--)(_0x3f6b6e=_0x4965e5[_0x4f4629])&&(_0x504f30=_0x3f6b6e(_0x504f30)||_0x504f30);return _0x504f30;},_0x299072=(_0x219a8e,_0x5a70bd)=>(_0x1cd867,_0x183830)=>_0x5a70bd(_0x1cd867,_0x183830,_0x219a8e);_0x4d92ba[_0x2b281a(0x1d4)]=class extends _0x55aa48['CollaborationSocketService']{constructor(_0x13db94,_0xf67d00,_0x5be832,_0x366278,_0x5687ef){super(_0x13db94,_0xf67d00,_0x5be832,_0x366278,_0x5687ef);}async[_0x2b281a(0x376)](_0x42fdae){const _0x12bf32=_0x2b281a,_0x13bffe=await this[_0x12bf32(0x3d4)](),_0x47d218=this[_0x12bf32(0x2e6)](_0x42fdae,_0x13bffe);return this[_0x12bf32(0x3cf)](_0x47d218);}['_createSocketURL'](_0xc3b1ec,_0x529c1b){const _0x301fec=_0x2b281a,_0x483cd2=typeof window>'u'?new URL(_0xc3b1ec):new URL(_0xc3b1ec,window[_0x301fec(0x2c5)][_0x301fec(0x245)]);_0x483cd2[_0x301fec(0x2f6)][_0x301fec(0x25e)](_0x301fec(0x2b8),_0x529c1b);const _0x497c2d=typeof window>'u'?new URLSearchParams():new URLSearchParams(window['location'][_0x301fec(0x2ba)]);return _0x497c2d['get']('runId')&&_0x483cd2[_0x301fec(0x2f6)]['set'](_0x301fec(0x15d),_0x497c2d[_0x301fec(0x3c2)](_0x301fec(0x15d))),_0x483cd2[_0x301fec(0x334)]();}async[_0x2b281a(0x3d4)](){const _0x1b23fb=_0x2b281a;var _0x23151f,_0x5a572f,_0x5b916f;const _0x14c403=this[_0x1b23fb(0x30d)][_0x1b23fb(0x389)](_0x55aa48[_0x1b23fb(0x1fa)]),_0x1a9f10=(_0x23151f=_0x14c403==null?void 0x0:_0x14c403[_0x1b23fb(0x27f)])!=null?_0x23151f:_0x55aa48[_0x1b23fb(0x315)];return(_0x5b916f=(_0x5a572f=(await this[_0x1b23fb(0x3a0)][_0x1b23fb(0x3c2)](_0x1a9f10,{'headers':{'Content-Type':_0x1b23fb(0x346)}}))[_0x1b23fb(0x2b9)])==null?void 0x0:_0x5a572f[_0x1b23fb(0x16e)])!=null?_0x5b916f:'';}},_0x4d92ba[_0x2b281a(0x1d4)]=_0x28f053([_0x299072(0x0,_0x403a48[_0x2b281a(0x19a)](_0x403a48['Injector'])),_0x299072(0x1,_0x403a48[_0x2b281a(0x19a)](_0x160af6[_0x2b281a(0x1b4)])),_0x299072(0x2,_0x403a48[_0x2b281a(0x184)]),_0x299072(0x3,_0x403a48[_0x2b281a(0x2cb)]),_0x299072(0x4,_0x261ba6[_0x2b281a(0x36d)])],_0x4d92ba[_0x2b281a(0x1d4)]);const _0x14fc36=0x7530,_0x41efc4=_0x2b281a(0x1c4);class _0x117f86 extends _0x403a48['Disposable']{constructor(){const _0x1235b3=_0x2b281a;super(),_0x95fa0d(this,_0x1235b3(0x21d),_0x403a48['generateRandomId']()),_0x95fa0d(this,_0x1235b3(0x3ed),new Set()),_0x95fa0d(this,_0x1235b3(0x2a8),new Map()),_0x95fa0d(this,_0x1235b3(0x2bc),null),_0x95fa0d(this,_0x1235b3(0x20e),new Map()),_0x95fa0d(this,_0x1235b3(0x2c3),new Map()),this[_0x1235b3(0x223)]();}['dispose'](){const _0x2e3c1f=_0x2b281a;super[_0x2e3c1f(0x322)](),this[_0x2e3c1f(0x20e)][_0x2e3c1f(0x2e1)]((_0x594fe0,_0x3d8bc0)=>this[_0x2e3c1f(0x3a1)](_0x3d8bc0)),this[_0x2e3c1f(0x2bc)]&&window[_0x2e3c1f(0x23f)](this['_heartbeatTimer']);}['getUnitStatus$'](_0x104ec3){const _0x5703d5=_0x2b281a;return this[_0x5703d5(0x1e7)](_0x104ec3)[_0x5703d5(0x28a)](_0x15c792[_0x5703d5(0x21e)]());}[_0x2b281a(0x388)](_0x221719){const _0x234685=_0x2b281a;this[_0x234685(0x3ed)][_0x234685(0x255)]===0x0&&this[_0x234685(0x2dc)](),this[_0x234685(0x3ed)]['add'](_0x221719),this['_send']({'type':0x0,'memberID':this[_0x234685(0x21d)],'unitIDs':[_0x221719],'isForwarded':!0x1});}[_0x2b281a(0x292)](_0x102ed8){const _0x3b33da=_0x2b281a;this[_0x3b33da(0x3ed)][_0x3b33da(0x3cb)](_0x102ed8),this[_0x3b33da(0x3ed)][_0x3b33da(0x255)]===0x0&&this['_heartbeatTimer']&&window[_0x3b33da(0x23f)](this[_0x3b33da(0x2bc)]);}[_0x2b281a(0x223)](){const _0x5bd1ea=_0x2b281a;this[_0x5bd1ea(0x3f2)](_0x403a48[_0x5bd1ea(0x3a2)](_0x15c792[_0x5bd1ea(0x297)](window,_0x5bd1ea(0x30e))['subscribe'](_0x33ea0c=>{const _0x297be5=_0x5bd1ea;if(_0x33ea0c[_0x297be5(0x3e7)]!==_0x41efc4||!_0x33ea0c['newValue'])return;const _0x5141f0=JSON[_0x297be5(0x3b2)](_0x33ea0c[_0x297be5(0x2ac)]);this[_0x297be5(0x3f3)](_0x5141f0);}))),window[_0x5bd1ea(0x3f1)](_0x5bd1ea(0x3c6),()=>this['_send']({'type':0x1,'memberID':this[_0x5bd1ea(0x21d)],'unitIDs':Array['from'](this[_0x5bd1ea(0x3ed)])}));}['_handleEvent'](_0x1484e8){const _0x36d193=_0x2b281a;switch(_0x1484e8[_0x36d193(0x1bb)]){case 0x0:this[_0x36d193(0x3de)](_0x1484e8);break;case 0x1:this[_0x36d193(0x2e7)](_0x1484e8);break;case 0x2:this['_handleHeartbeatEvent'](_0x1484e8);break;}}[_0x2b281a(0x3de)](_0xe24f30){const _0x44cb26=_0x2b281a,{unitIDs:_0x5e33c8,memberID:_0x3ad1cd,isForwarded:_0x51e9d0}=_0xe24f30;_0x5e33c8['forEach'](_0x1d0909=>{const _0x39f3d2=_0x28da;if(!_0x51e9d0&&this[_0x39f3d2(0x2a8)][_0x39f3d2(0x1c5)](_0x1d0909)&&this[_0x39f3d2(0x1e7)](_0x1d0909)[_0x39f3d2(0x1ac)](_0x55aa48['UnitStatus'][_0x39f3d2(0x397)]),!this[_0x39f3d2(0x2a8)][_0x39f3d2(0x1c5)](_0x1d0909)||!this['_unitOnClients'][_0x39f3d2(0x3c2)](_0x1d0909)['has'](_0x3ad1cd)){const _0x4e9428=this[_0x39f3d2(0x2a8)][_0x39f3d2(0x3c2)](_0x1d0909)||new Set();_0x4e9428[_0x39f3d2(0x1b3)](_0x3ad1cd),this['_unitOnClients'][_0x39f3d2(0x25e)](_0x1d0909,_0x4e9428),this[_0x39f3d2(0x252)](_0x3ad1cd);}}),_0x51e9d0||this[_0x44cb26(0x34b)]({'type':0x0,'memberID':this['_id'],'unitIDs':[...this['_selfUnitIDs']],'isForwarded':!0x0});}[_0x2b281a(0x252)](_0x38c070){const _0x5857d4=_0x2b281a;this[_0x5857d4(0x3a1)](_0x38c070);const _0x4a22ab=window[_0x5857d4(0x3ec)](()=>{const _0x204b44=_0x5857d4;this['_unitOnClients'][_0x204b44(0x2e1)](_0x2b52d1=>{_0x2b52d1['delete'](_0x38c070);});},_0x14fc36*0x2);this[_0x5857d4(0x20e)][_0x5857d4(0x25e)](_0x38c070,_0x4a22ab);}[_0x2b281a(0x3a1)](_0x6cafbe){const _0x3baa0b=_0x2b281a;if(this[_0x3baa0b(0x20e)][_0x3baa0b(0x1c5)](_0x6cafbe)){const _0x3b482a=this[_0x3baa0b(0x20e)][_0x3baa0b(0x3c2)](_0x6cafbe);_0x3b482a&&window[_0x3baa0b(0x3ea)](_0x3b482a),this[_0x3baa0b(0x20e)][_0x3baa0b(0x25e)](_0x6cafbe,null);}}[_0x2b281a(0x2e7)](_0x4b840f){const _0x2f52fd=_0x2b281a,{memberID:_0x1a9acd,unitIDs:_0x492c5e}=_0x4b840f;_0x492c5e[_0x2f52fd(0x2e1)](_0x4306d7=>{const _0x11a945=_0x2f52fd;var _0x22f00d;const _0x30ca3b=this[_0x11a945(0x2a8)][_0x11a945(0x3c2)](_0x4306d7);_0x30ca3b&&(_0x30ca3b[_0x11a945(0x3cb)](_0x1a9acd),(_0x22f00d=this[_0x11a945(0x1e7)](_0x4306d7))==null||_0x22f00d[_0x11a945(0x1ac)](_0x30ca3b[_0x11a945(0x255)]===0x0?_0x55aa48[_0x11a945(0x34f)][_0x11a945(0x1a1)]:_0x55aa48[_0x11a945(0x34f)][_0x11a945(0x397)]));}),this['_removeClearOtherTimer'](_0x1a9acd);}[_0x2b281a(0x246)](_0x5b0411){const _0xd3970d=_0x2b281a;this[_0xd3970d(0x252)](_0x5b0411[_0xd3970d(0x36a)]);}[_0x2b281a(0x34b)](_0x25d58c){localStorage['setItem'](_0x41efc4,JSON['stringify'](_0x25d58c));}[_0x2b281a(0x2dc)](){const _0x5825ad=_0x2b281a;this[_0x5825ad(0x2bc)]=window[_0x5825ad(0x204)](()=>{const _0x2589f8=_0x5825ad;this[_0x2589f8(0x34b)]({'type':0x2,'memberID':this[_0x2589f8(0x21d)]});},_0x14fc36);}[_0x2b281a(0x1e7)](_0xfd05aa){const _0x3d6a6a=_0x2b281a;return this[_0x3d6a6a(0x2c3)][_0x3d6a6a(0x1c5)](_0xfd05aa)||this[_0x3d6a6a(0x2c3)][_0x3d6a6a(0x25e)](_0xfd05aa,new _0x15c792[(_0x3d6a6a(0x37f))](_0x55aa48[_0x3d6a6a(0x34f)][_0x3d6a6a(0x1a1)])),this[_0x3d6a6a(0x2c3)][_0x3d6a6a(0x3c2)](_0xfd05aa);}}var _0x260a0c=(_0x51c6f2=>(_0x51c6f2[_0x51c6f2[_0x2b281a(0x228)]=0x0]=_0x2b281a(0x228),_0x51c6f2[_0x51c6f2['OK']=0x1]='OK',_0x51c6f2[_0x51c6f2[_0x2b281a(0x328)]=0x2]=_0x2b281a(0x328),_0x51c6f2[_0x51c6f2[_0x2b281a(0x24c)]=0x3]=_0x2b281a(0x24c),_0x51c6f2[_0x51c6f2['NOT_FOUND']=0x4]=_0x2b281a(0x2a2),_0x51c6f2[_0x51c6f2[_0x2b281a(0x3ee)]=0x5]=_0x2b281a(0x3ee),_0x51c6f2[_0x51c6f2['ALREADY_EXISTS']=0x6]=_0x2b281a(0x250),_0x51c6f2[_0x51c6f2[_0x2b281a(0x2ca)]=0x7]='INVALID_ARGUMENT',_0x51c6f2[_0x51c6f2[_0x2b281a(0x312)]=0x8]=_0x2b281a(0x312),_0x51c6f2[_0x51c6f2['COMPLETION_FINISHED']=0x9]=_0x2b281a(0x281),_0x51c6f2[_0x51c6f2[_0x2b281a(0x349)]=0xa]=_0x2b281a(0x349),_0x51c6f2[_0x51c6f2['CHANGESET_REVISION_CONFILICT']=0x1389]='CHANGESET_REVISION_CONFILICT',_0x51c6f2[_0x51c6f2[_0x2b281a(0x3ac)]=0x1771]=_0x2b281a(0x3ac),_0x51c6f2[_0x51c6f2[_0x2b281a(0x35a)]=0x1772]=_0x2b281a(0x35a),_0x51c6f2[_0x51c6f2[_0x2b281a(0x1a0)]=0x1773]=_0x2b281a(0x1a0),_0x51c6f2[_0x51c6f2[_0x2b281a(0x3c0)]=0x1b59]=_0x2b281a(0x3c0),_0x51c6f2[_0x51c6f2[_0x2b281a(0x1ea)]=0x1b5a]='APPLY_NON_SEQUENTIAL_REVISION',_0x51c6f2[_0x51c6f2[_0x2b281a(0x387)]=0x1b5b]=_0x2b281a(0x387),_0x51c6f2[_0x51c6f2[_0x2b281a(0x298)]=0x1b5c]='APPLY_PERMISSION_DENIED',_0x51c6f2[_0x51c6f2[_0x2b281a(0x16b)]=0x1b5d]='APPLY_DUPLICATED',_0x51c6f2[_0x51c6f2[_0x2b281a(0x32c)]=0x1f41]=_0x2b281a(0x32c),_0x51c6f2[_0x51c6f2[_0x2b281a(0x29f)]=0x2329]='LICENSE_MAX_UNITS_EXCEEDED',_0x51c6f2[_0x51c6f2['LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED']=0x232a]=_0x2b281a(0x236),_0x51c6f2[_0x51c6f2[_0x2b281a(0x23d)]=0x232b]='LICENSE_IMPORT_SIZE_EXCEEDED',_0x51c6f2[_0x51c6f2[_0x2b281a(0x25d)]=0x232c]=_0x2b281a(0x25d),_0x51c6f2[_0x51c6f2['LICENSE_DISTRO_REJECTED']=0x232d]=_0x2b281a(0x192),_0x51c6f2[_0x51c6f2['YUUMI_UNABLE_LOAD_URL']=0x2711]=_0x2b281a(0x33f),_0x51c6f2[_0x51c6f2['YUUMI_URL_COL_OUT_OF_RANGE']=0x2712]=_0x2b281a(0x158),_0x51c6f2[_0x51c6f2[_0x2b281a(0x25c)]=0x2713]=_0x2b281a(0x25c),_0x51c6f2[_0x51c6f2[_0x2b281a(0x2fd)]=0x2714]='YUUMI_SUBSCRIPTION_NOT_FOUND',_0x51c6f2[_0x51c6f2[_0x2b281a(0x1da)]=0x271a]=_0x2b281a(0x1da),_0x51c6f2[_0x51c6f2[_0x2b281a(0x3f0)]=0x271b]=_0x2b281a(0x3f0),_0x51c6f2[_0x51c6f2[_0x2b281a(0x340)]=0x271c]=_0x2b281a(0x340),_0x51c6f2[_0x51c6f2[_0x2b281a(0x201)]=0x271d]=_0x2b281a(0x201),_0x51c6f2[_0x51c6f2[_0x2b281a(0x27c)]=0x271e]=_0x2b281a(0x27c),_0x51c6f2[_0x51c6f2['YUUMI_AI_RUN_FAILED']=0x271f]=_0x2b281a(0x1b5),_0x51c6f2[_0x51c6f2[_0x2b281a(0x179)]=0x2af9]=_0x2b281a(0x179),_0x51c6f2[_0x51c6f2[_0x2b281a(0x275)]=0x2ee1]=_0x2b281a(0x275),_0x51c6f2[_0x51c6f2[_0x2b281a(0x15f)]=0x2ee2]=_0x2b281a(0x15f),_0x51c6f2[_0x51c6f2['INVITE_CODE_REQUIRED']=0x2ee3]=_0x2b281a(0x384),_0x51c6f2[_0x51c6f2[_0x2b281a(0x3f5)]=0x2ee4]=_0x2b281a(0x3f5),_0x51c6f2[_0x51c6f2[_0x2b281a(0x1eb)]=0x2ee5]=_0x2b281a(0x1eb),_0x51c6f2[_0x51c6f2[_0x2b281a(0x2a5)]=0x32c9]='WECHAT_HAS_BEEN_BOUND',_0x51c6f2[_0x51c6f2['MOBILE_HAS_BEEN_BOUND']=0x32ca]=_0x2b281a(0x2fc),_0x51c6f2[_0x51c6f2['EMAIL_HAS_BEEN_BOUND']=0x32cb]='EMAIL_HAS_BEEN_BOUND',_0x51c6f2[_0x51c6f2['UNRECOGNIZED']=-0x1]=_0x2b281a(0x2d9),_0x51c6f2))(_0x260a0c||{}),_0x3277c5=Object[_0x2b281a(0x354)],_0x4f58ba=(_0x4a6166,_0x1a3cb3,_0x38ca9f,_0x3a646e)=>{const _0x581459=_0x2b281a;for(var _0x38d632=_0x3a646e>0x1?void 0x0:_0x3a646e?_0x3277c5(_0x1a3cb3,_0x38ca9f):_0x1a3cb3,_0x29c9ee=_0x4a6166[_0x581459(0x36f)]-0x1,_0x153e6b;_0x29c9ee>=0x0;_0x29c9ee--)(_0x153e6b=_0x4a6166[_0x29c9ee])&&(_0x38d632=_0x153e6b(_0x38d632)||_0x38d632);return _0x38d632;},_0x31ff36=(_0x54de1a,_0x469e82)=>(_0x36aefd,_0x4d4000)=>_0x469e82(_0x36aefd,_0x4d4000,_0x54de1a);_0x4d92ba[_0x2b281a(0x2e8)]=class extends _0x403a48[_0x2b281a(0x265)]{constructor(_0x3bd68f,_0x3fd9fa,_0x59a5e1){const _0x1a07da=_0x2b281a;super(),this[_0x1a07da(0x3b9)]=_0x3bd68f,this['_httpService']=_0x3fd9fa,this['_configService']=_0x59a5e1;}async['runOnServer'](_0x2f146c,_0x3dac5d,_0x117ee7,..._0x4e3e0f){const _0x51be9e=_0x2b281a;var _0x53e8a1,_0x37def0,_0x1bfa3e,_0x576a40;const _0x2161c9=this['_instanceService']['getFocusedUnit']();if(!_0x2161c9)throw new Error(_0x51be9e(0x32a));const _0x4a8d50=((_0x53e8a1=this[_0x51be9e(0x30d)][_0x51be9e(0x389)](_0x55aa48[_0x51be9e(0x317)]))!=null?_0x53e8a1:_0x55aa48[_0x51be9e(0x164)])+'/'+_0x2f146c+_0x51be9e(0x22b)+_0x3dac5d,_0x3dcd0c=new URL(window[_0x51be9e(0x2c5)][_0x51be9e(0x202)]),_0x312e9a={'scriptId':_0x2f146c,'runId':(_0x37def0=_0x3dcd0c['searchParams'][_0x51be9e(0x3c2)](_0x51be9e(0x15d)))!=null?_0x37def0:'','function':_0x3dac5d,'unitId':_0x2161c9['getUnitId'](),'argsOfFunction':JSON['stringify'](_0x4e3e0f),'invokeId':(_0x1bfa3e=_0x117ee7['invokeId'])!=null?_0x1bfa3e:'','executionId':(_0x576a40=_0x117ee7[_0x51be9e(0x244)])!=null?_0x576a40:''};try{const _0x86b988=await this[_0x51be9e(0x3a0)][_0x51be9e(0x31d)](_0x4a8d50,{'body':_0x312e9a});return _0x86b988[_0x51be9e(0x2b9)][_0x51be9e(0x2f8)]&&_0x86b988[_0x51be9e(0x2b9)]['error'][_0x51be9e(0x32f)]!==_0x260a0c['OK']?_0x51be9e(0x3e0):_0x86b988['body']['result'];}catch{return _0x51be9e(0x3e0);}}},_0x4d92ba[_0x2b281a(0x2e8)]=_0x4f58ba([_0x31ff36(0x0,_0x403a48[_0x2b281a(0x360)]),_0x31ff36(0x1,_0x403a48[_0x2b281a(0x19a)](_0x160af6['HTTPService'])),_0x31ff36(0x2,_0x403a48[_0x2b281a(0x184)])],_0x4d92ba[_0x2b281a(0x2e8)]),_0x4d92ba[_0x2b281a(0x263)]=_0x5a1bdc,_0x4d92ba[_0x2b281a(0x1b8)]=_0x117780,_0x4d92ba[_0x2b281a(0x294)]=_0x41104e,_0x4d92ba['WebBrowserSingleActiveUnitService']=_0x117f86,_0x4d92ba[_0x2b281a(0x359)]=_0x2c2c45,Object[_0x2b281a(0x1ad)](_0x4d92ba,Symbol[_0x2b281a(0x251)],{'value':_0x2b281a(0x306)});}));function _0x4739(){const _0x4657cd=['_lastPointer','Disposable','190FCsEVo','Injector','skeleton','DependentOn','tag','_dataLoaderService','_color','1230sgmQIu','defs','_cursorShapes','_transformHistoryAndStateStack','CLOSE_ROOM','saveImage','NOT_COLLAB','exports','INVITE_CODE_HAS_BEEN_UES','1006cercDW','_refRangeService','prototype','@univerjs/engine-formula','getCoordByCell','createIdentifier','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','CollaborationController','125587HHfEdB','wsSessionTicketUrl','_messageService','COMPLETION_FINISHED','subscribeEvent','getCurrent','deserializeRangeWithSheet','roomMembers$','Unknown\x20user','_collabSessionService','transformMutationsWithChangeset','none','pipe','merge','handleInsertRangeMoveRight','_hover','...','UniverInstanceType','generateRandomId','updateOfflineData','disposeUnit','switchMap','SheetCollabCursorShape','collaboration-client.offline-data-not-saved','whenReady','fromEvent','APPLY_PERMISSION_DENIED','_name','168KLcwYV','_anchor','max','ThemeService','_notificationService','LICENSE_MAX_UNITS_EXCEEDED','_initEvent','currentColor','NOT_FOUND','_cursor','throttleTime','WECHAT_HAS_BEEN_BOUND','getParam','_startDocCollabCursor','_unitOnClients','text','endRow','CollaborationEvent','newValue','assign','react','handleInsertRow','handleMoveRange','_drawAnchor','m1Prime','moveTo','url(#off-line-icon_clip0_910_343)','range','_onCursorDelete','resize','sessionTicket','body','search','USERS_LEAVE','_heartbeatTimer','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','use','OffLineIcon','transformStateCache','undoState','UNIVER_COLLABORATION_CLIENT_WEB_PLUGIN','_unitStatus','_assignedColors','location','fillText','pushState','_univerInstanceService','_updateCollabCursors','INVALID_ARGUMENT','ILogService','NodePositionConvertToRectRange','color','cursorInfo','idSuffix','IUIPartsService','1185192ZruoJl','INotificationService','DeleteRangeMoveLeftCommandId','loadUnit','IMessageService','hasOwnProperty','getColorFromTheme','save','UNRECOGNIZED','MessageType','complete','_scheduleHeartbeat','UniverSheetsUi','DocSkeletonManagerService','_docStateChangeManagerService','useDependency','forEach','registerRefRange','TEXT','jsx','getTypeOfUnitAdded$','_createSocketURL','_handleLeaveEvent','RemoteUniscriptService','onMouseMove','IDocClipboardService','_transformUndoRedoStack','black','NodePositionConvertToCursor','UNIVER_DOC','onPointerLeave$','_scene','getItem','column','connectInjector','Tooltip','ICommandService','searchParams','_entities','error','SheetSkeletonManagerService','jsxs','Optional','MOBILE_HAS_BEEN_BOUND','YUUMI_SUBSCRIPTION_NOT_FOUND','off-line-icon','_getAnchorBounding','then','collaboration-client-ui.config','collab-rect-range-','_commandService','_getSheetObject','from','Module','getSheetBySheetId','subscribe','CollaborationSessionService','subunit','dispose$','handleDeleteRangeMoveUp','_configService','storage','RefRangeService','handleInsertRangeMoveDown','_docSkeleton','TOO_MANY_REQUESTS','getSheetId','CONFLICT','DEFAULT_WS_SESSION_TICKET_URL','status$','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY','_scheduleSaving','10505ZDBKPZ','values','operators','RichTextEditingMutation','post','exhaustSavingTask','all','_urlService','_docTransformIMECacheService','dispose','Error','_hideTimer','RegularPolygon','icon','getCollabCursors$','INTERNAL_ERROR','getOwnPropertySymbols','[RemoteUniscriptService]:\x20no\x20focused\x20unit','xlink:href','CONNECTOR_DATA_TOO_LARGE','1145646QuqqMY','_colorAssignService','code','1057kFoCAc','makeDirty','sheetID','cursorInfo$','toString','asObservable','univer-text-sm\x20univer-leading-8\x20univer-text-gray-600\x20dark:!univer-text-gray-200','map','backgroundColor','_transformPreviousActiveRange','red.300','focused$','children','_setupBeforeClosingHandler','_setupSubUnitSync','YUUMI_UNABLE_LOAD_URL','YUUMI_TABLE_NOT_FOUND_IN_UNIT','InsertRangeMoveDownCommandId','_updateURLWithCurrentState','_online','_docSyncEditingCollabCursorService','includes','application/json','_colorIndex','session.connection-failed','LOGIN_FAILED','UPDATE_CURSOR','_send','_registerRenderDependencies','getAncestorScale','UniverEngineRender','UnitStatus','M0\x200H16V16H0z','OFFLINE','getDocRanges','function','getOwnPropertyDescriptor','_roomMembers$','registerBeforeClose','getUndoRedoMutationParamsCache','_drawTextRange','WebURLService','SNAPSHOT_HAS_BEEN_REMOVED','_onCursorUpdate','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','unsubscribe','collaboration.closeRoom','InsertRangeMoveRightCommandId','IUniverInstanceService','_revisionService','CollaborationUIEventId','CommandType','getFocusedUnit','setStateCache','FromArray','_transformService','entityInit$','isTransformMutationFailure','memberID','_startSheetCollabCursor','ITransformService','ISnapshotServerService','closePath','length','SessionStatus','onStarting','Subject','popstate','_initCommandExecutedListener','DesktopCollaborationStatusDisplayController','createSocket','@univerjs/docs-ui','UniverDocs','attrs','_hovered','amd','_handleHover','Plugin','row','BehaviorSubject','_cursorInfo$','push','min','UniverEngineFormula','INVITE_CODE_REQUIRED','executeCommand','_initStatusListener','APPLY_REVISION_CONFILICT','editingUnit','getConfig','@univerjs/sheets-ui','defIds','JOIN_ROOM_FAILED','evenodd','UniverSheets','univer-flex\x20univer-mr-2\x20univer-text-xl','clsx','getCurrentSelections','history','1em','registerComponent','blue.400','DocSelectionManagerService','OTHER_CLIENTS_EDITING','DocCollaborationEntity','CollaborationDataLoaderController','currentTheme$','_registerDependencies','Tools','getColor','font','SetDocZoomRatioOperation','_httpService','_removeClearOtherTimer','toDisposable','_initStatusComponent','RevisionService','LocaleService','_render','saveTaskMap','displayName','registerRenderModule','replace','onPointerEnter$','SNAPSHOT_INVALID_SNAPSHOT','UniverRpc','UniverUi','combineLatest','unitId','mergeOverrideWithDependencies','parse','getTypeOfUnitDisposed$','runRefRangeMutations','shareReplay','measureText','_textBubble','LOCAL_CACHE_INTERVAL','_instanceService','translate(.97)','IBeforeCloseService','getLocalCacheKey','_shapes','collab-text-anchor-','collabStatus.conflict','APPLY_REJECT','url(#$1','get','permission.content','getViewport','CollaborationUIEventService','unload','onCommandExecuted','transform','requireSession','event$','delete','textRanges','_backgroundColor','setConfig','_doCreateSocket','SOCKET_FAILED_RETRY','session.will-retry','useRef','redoState','_getSessionTicket','entries','source','@univerjs/engine-render','_docTransformStateCacheService','collab-client.tooltip.reconnect','_beforeCloseService','_saveTaskMap','BuiltInUIPart','transformMutation','_handleJoinEvent','MoveRangeCommandId','Failed','unshift','_sheetSkeletonManagerService','_syncEditingCollabCursorService','transformRemoteChangeset','isArray','_context','key','RxDisposable','36155uVmxge','clearTimeout','addHandlerCallback','setTimeout','_selfUnitIDs','UNAUTHENTICATED','params','YUUMI_ASYNCIO_CANCELLED','addEventListener','disposeWithMe','_handleEvent','debounceTime','USER_NOT_INVITED_CODE','createInstance','_collaborationController','YUUMI_URL_COL_OUT_OF_RANGE','_session','removeParam','_docSkeletonManagerService','_entityInit$','runId','ILocalCacheService','INVALID_INVITE_CODE','MemberService','find','_docTransformSelectionsService','Vector2','DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','React','fillStyle','_themeService','http://www.w3.org/2000/svg','UNIVER_SHEET','url(#on-line-icon_clip0_910_349)','APPLY_DUPLICATED','OTHER_CLIENT_EDITING','addClipboardHook','ticket','0\x200\x2017\x2016','getStateCache','SetTextSelectionsOperation','getMember','UniverIcon','collabStatus.fetchMiss','CollaborationStatus','addObjects','unit','_labelPosition','PY_RUNTIME_SCRIPT_ERROR','startRow','debounce','with','getSheetObject','0\x200\x2016\x2016','LOCAL_CACHE_INTERVAL_KEY','white','Rectangle','some','#FFF','IConfigService','doc.mutation.rich-text-editing','handleInsertCol','_logService','@univerjs-pro/collaboration-client','lineTo','getRangePointData','concat','colorChannel1','filter','getValue','_status$','getMemberID','_draw','LICENSE_DISTRO_REJECTED','ColorKit','div','trim','mask','SheetsSelectionsService','_eventUnsubscribe','@univerjs/docs','Inject','transformIMECache','DocStateChangeManagerService','Shape','round','setItem','ENSURE_SNAPSHOT_EXECUTION','NO_OTHER_CLIENTS_EDITING','_onRefRangeChange','_getScale','rxjs','transformByState','uni.network.url-service','DOC_RANGE_TYPE','FETCH_MISS','override','InsertColCommandId','unitID','next','defineProperty','substring','_anchorDot','_memberService','collabCursorState$','_document','add','HTTPService','YUUMI_AI_RUN_FAILED','ISocketService','_collabCursorController','IURLService','getUnitId','urlChange$','type','_disabled','@univerjs/sheets','3enRkzX','UniverCollaborationClientUIPlugin','arc','currentSkeleton$','fill','getSkeleton','ACTIVE_UNIT_EVENT_CHANNEL','has','data','PENDING','jiqing.500','@univerjs/network','width','getCurrentUnitForType','saveOfflineData','collab-text-range-','init','collabStatus.syncing','on-line-icon','_initEntityListener','_localStorageService','beginPath','BrowserCollaborationSocketService','transformSelections','_saveCache','className','activeSheet$','call','YUUMI_NO_CUBOID_FOR_QUESTION','_collaborationUIEventService','Rect','hide','UniverProCollaboration','string','1221476JUxJKr','_config','react/jsx-runtime','permission.title','hovered','_toggleOnline','handleDeleteRangeMoveLeft','_ensureSubject','actions','enableLocalCache','APPLY_NON_SEQUENTIAL_REVISION','INVITE_CODE_ALREADY_BOUND','@univerjs/core','fillRule','_renderManagerService','UniverCore','ranges','purple.300','AWAITING_WITH_PENDING','flatMap','WebSocketService','send','isEditing','_drawRectRange','indexOf','getActiveSheet','COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY','setAlpha','_docClipboardService','COLORS','createElement','_removeCollabCursors','SetSelectionsOperation','YUUMI_ALL_TABLES_IS_INVALID','href','name','setInterval','path','_range','apply','yellow.400','TEXT_RANGE_LAYER_INDEX','getRenderById','getUniverSheetInstance','eventID','svg','_clearOtherTimers','_updateLocalCursor','off-line-icon_clip0_910_343','docStateChange$','rgba(255,\x20255,\x20255,\x200.01)','VIEW_MAIN','getVpScrollXYInfoByPosToVp','_refreshCollabCursors','_localCacheService','on-line-icon_clip0_910_349','@univerjs/drawing','@univerjs-pro/collaboration','DocIMEInputManagerService','onRendered','_toggleOffline','_id','distinctUntilChanged','roomMembers','height','getCollabEntity$','Warning','_init','fromEventSubject','_updateSubUnitFromURLParams','UniverProCollaborationClient','symbol','UNDEFINED','_cursors','setShapeProps','/run/','restore','subUnitId','onTransformChange$','isActive','addObject','session.collaboration-timeout','setParam','serializeRangeWithSheet','sessionStatus$','mutations','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','triggerDblclick','_localeService','findNodePositionByCharIndex','selections','_initResize','clipPath','LICENSE_IMPORT_SIZE_EXCEEDED','startsWith','clearInterval','_getMergeRange','debug','EffectRefRangId','green.600','executionId','origin','_handleHeartbeatEvent','_initDependencies','bottom','ONLINE','_injector','DisposableCollection','PERMISSION_DENIED','selection','RECT','SOCKET_FAILED','ALREADY_EXISTS','toStringTag','_scheduleClearOtherTimer','m2Prime','SetWorksheetActivateCommand','size','forwardRef','random','extend','show','engine','deepClone','YUUMI_RATE_OVER_LIMIT','LICENSE_EXPORT_SIZE_EXCEEDED','set','collaboration.single-unit.warning','@univerjs/design','takeUntil','drawWith','CollaborationStatusDisplay'];_0x4739=function(){return _0x4657cd;};return _0x4739();}
|