@univerjs-pro/collaboration-client-ui 0.8.0-nightly.202505261607 → 0.8.0-nightly.202505281606
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 +16 -16
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 _0x37bd(_0x5a8da2,_0x4bb149){const _0x19af19=_0x19af();return _0x37bd=function(_0x37bdc7,_0x144d87){_0x37bdc7=_0x37bdc7-0xbb;let _0x2b8bdc=_0x19af19[_0x37bdc7];return _0x2b8bdc;},_0x37bd(_0x5a8da2,_0x4bb149);}function _0x19af(){const _0x511dd8=['_heartbeatTimer','UniverCollaborationClientUIPlugin','updateOfflineData','runOnServer','undoState','UNAUTHENTICATED','ENSURE_SNAPSHOT_EXECUTION','http://www.w3.org/2000/svg','loadUnit','searchParams','_collaborationController','...','DeleteRangeMoveUpCommandId','distinctUntilChanged','LICENSE_MAX_UNITS_EXCEEDED','indexOf','MOBILE_HAS_BEEN_BOUND','_range','LICENSE_EXPORT_SIZE_EXCEEDED','getCellPositionByOffset','#FFF','RevisionService','registerBeforeClose','DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','_localStorageService','uni.network.url-service','_getSessionTicket','defs','resize','cursorInfo','beginPath','Tools','createElement','transformSelections','deepClone','YUUMI_URL_COL_OUT_OF_RANGE','_updateURLWithCurrentState','ILocalStorageService','InsertColCommandId','getParam','unshift','ACTIVE_UNIT_EVENT_CHANNEL','params','IImageIoService','RECT','pushState','IConfigService','@univerjs/engine-formula','closePath','NO_OTHER_CLIENTS_EDITING','LOCAL_CACHE_INTERVAL_KEY','toString','yellow.400','@univerjs-pro/collaboration','collabStatus.notCollab','currentColor','LICENSE_DISTRO_REJECTED','_collabCursorController','setTimeout','IBeforeCloseService','univer-text-sm\x20univer-leading-8\x20univer-text-gray-600\x20dark:!univer-text-gray-200','PY_RUNTIME_SCRIPT_ERROR','_handleJoinEvent','_cursor','@univerjs/docs-ui','_drawRectRange','text','endRow','SOCKET_FAILED','addClipboardHook','getCurrentSelections','_onRefRangeChange','redoState','_createSocketURL','post','SNAPSHOT_INVALID_SNAPSHOT','url(#$1','_httpService','_removeClearOtherTimer','getUnitStatus$','dispose$','InsertRangeMoveRightCommandId','contains','touchDependencies','_setupBeforeClosingHandler','@univerjs/engine-render','onTransformChange$','measureText','_assignedColors','displayName','wsSessionTicketUrl','setAlpha','UniverNetwork','getSkeleton','Rect','subunit','IURLService','CollaborationSocketService','getLocalCacheKey','labelPosition','getValue','M0\x200H16V16H0z','_handleHover','_selfUnitIDs','TEXT','docStateChange$','black','No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.','handleIRemoveCol','_online','map','_themeService','UNRECOGNIZED','Warning','override','IRenderManagerService','send','COMPLETION_FINISHED','has','transformMutation','_docClipboardService','_toggleOffline','saveOfflineData','_session','_updateLocalCursor','FromArray','error','operators','UNIVER_DOC','bottom','loadOfflineData','_ensureSubject','_cachedData','doc.mutation.rich-text-editing','12DvAFLS','className','width','get','symbol','CollaborationStatusDisplay','children','currentSkeleton$','CHANGESET_REVISION_CONFILICT','show','clearInterval','getSheetId','getAncestorScale','APPLY_REVISION_CONFILICT','Injector','collabStatus.offline','collabStatus.synced','getUniverSheetInstance','_injector','SetTextSelectionsOperation','_roomMembers$','getTypeOfUnitDisposed$','EMAIL_HAS_BEEN_BOUND','cursorInfo$','addEventListener','m2Prime','mapTo','UniverProCollaboration','_cursorInfo$','_eventUnsubscribe','includes','_colorIndex','transformMutationsWithChangeset','Shape','UNIVER_COLLABORATION_CLIENT_WEB_PLUGIN','YUUMI_AI_RUN_FAILED','urlChange$','SHEET_VIEWPORT_KEY','getItem','_toggleOnline','@univerjs-pro/collaboration-client','/run/','UniverUi','idSuffix','DependentOn','CollaborationController','CollaborationDataLoaderController','svg','min','getRenderById','UnitStatus','CONNECTOR_DATA_TOO_LARGE','ticket','ISnapshotServerService','_backgroundColor','_hovered','href','deserializeRangeWithSheet','transformRemoteChangeset','ALREADY_EXISTS','1em','UniverEngineFormula','_getAnchorBounding','@univerjs/rpc','generateRandomId','DeleteRangeMoveLeftCommandId','UniverProCollaborationClientUi','_messageService','getOwnPropertySymbols','_docStateChangeManagerService','UniverCore','LICENSE_IMPORT_SIZE_EXCEEDED','WECHAT_HAS_BEEN_BOUND','52018CQEcFr','2757156OIYZaW','_unitStatus','apply','icon','_collaborationUIEventService','getOwnPropertyDescriptor','xlink:href','_unitOnClients','then','_notificationService','white','RemoveColCommandId','_labelPosition','collab-rect-range-','INTERNAL_ERROR','currentTheme$','runId','colorChannel1','_updateCollabCursors','column','getActiveSheet','enableLocalCache','FETCH_MISS','permission.title','onPointerEnter$','_collabCursorState$','LocaleService','concat','BrowserCollaborationSocketService','row','useRef','_urlService','UniverEngineRender','CollaborationUIEventId','_scheduleClearOtherTimer','_hover','entries','UniverDrawing','Error','OnLineIcon','OFFLINE','sessionStatus$','_handleLeaveEvent','jsx','forwardRef','Vector2','_drawAnchor','APPLY_NON_SEQUENTIAL_REVISION','_drawTextRange','_transformService','mutations','DisposableCollection','_textBubble','Unknown\x20user','CollaborationSessionService','roomMembers$','APPLY_PERMISSION_DENIED','event$','lineTo','font','getMemberID','UniverSheets','div','body','throttleTime','save','Failed','0\x200\x2017\x2016','rxjs/operators','_localeService','defineProperty','_docTransformIMECacheService','UniverRpc','purple.300','unitID','_document','status$','init','from','RichTextEditingMutation','combineLatest','newValue','7320872PEOdIU','_docSyncEditingCollabCursorService','filter','makeDirty','on-line-icon_clip0_910_349','@univerjs/core','connectInjector','ILogService','IRemoteInstanceService','_handleEvent','Rectangle','flatMap','CLOSE_ROOM','SessionStatus','_initEvent','_getSheetObject','WebBrowserSingleActiveUnitService','UNIVER_SHEET','getUnitId','6060PzjZQn','@univerjs/network','entityInit$','ITransformService','setParam','_context','NodePositionConvertToRectRange','MUTATION','getColorFromTheme','DOC_RANGE_TYPE','url(#off-line-icon_clip0_910_343)','isArray','selections','session.collaboration-timeout','_initCommandExecutedListener','DocStateChangeManagerService','url(#on-line-icon_clip0_910_349)','RxDisposable','_clearOtherTimers','on-line-icon','YUUMI_ALL_TABLES_IS_INVALID','INVALID_INVITE_CODE','_beforeCloseService','[CollaborationDataLoaderController]','some','collab-text-range-','fillStyle','_entityInit$','registerRefRange','APPLY_DUPLICATED','data','APPLY_REJECT','complete','YUUMI_RATE_OVER_LIMIT','transform','1957315IbqPZE','LOGIN_FAILED','YUUMI_TABLE_NOT_FOUND_IN_UNIT','_name','getTypeOfUnitAdded$','_onCursorDelete','replaceState','_registerRenderDependencies','TEXT_RANGE_LAYER_INDEX','type','history','_initDependencies','Inject','INVALID_ARGUMENT','_cursors','registerRenderModule','[RemoteUniscriptService]:\x20no\x20focused\x20unit','_shapes','_startDocCollabCursor','IDocClipboardService','object','textRanges','getViewport','collabCursorState$','extend','_getSaveTimeout','set','mergeOverrideWithDependencies','BehaviorSubject','AWAITING_WITH_PENDING','toDisposable','takeUntil','hasOwnProperty','SOCKET_FAILED_RETRY','_syncEditingCollabCursorService','collabStatus.syncing','_id','_initStatusListener','_transformUndoRedoStack','OffLineIcon','getStateCache','imageSourceType','_transformHistoryAndStateStack','asObservable','drawWith','_anchor','MoveRangeCommandId','unsubscribe','code','AWAITING','_removeCollabCursors','off-line-icon','debug','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY','HEADER_MENU','INVITE_CODE_HAS_BEEN_UES','delete','INotificationService','unitId','key','YUUMI_UNABLE_LOAD_URL','roomMembers','IUniverInstanceService','random','handleIRemoveRow','React','executeCommand','_getMergeRange','isTransformMutationsWithChangesetSuccess','getUnhiddenWorksheets','unload','fillText','_color','_logService','UPDATE_CURSOR','_instanceService','WebURLService','setItem','UniverCollaborationClientPlugin','COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY','getColor','UniverDocsUi','getRangePointData','ILocalCacheService','CONFLICT','_uiPartsService','_startSheetCollabCursor','DocCollaborationEntity','_configService','MemberService','_draw','fill','trim','prototype','clsx','react','sheetId','top','defIds','_memberService','SheetSkeletonManagerService','_initEntityListener','transformByState','permission.content','collaboration.single-unit.warning','handleInsertRow','12664xQiEhI','sessionTicket','_lastPointer','getFocusedUnit','round','@univerjs/ui','USERS_LEAVE','_dataLoaderService','Module','_saveCache','_saveTaskMap','NOT_FOUND','memberID','_colorAssignService','push','MessageType','handleDeleteRangeMoveLeft','getOffsetConfig','subscribe','amd','getSheetBySheetId','origin','_imageIoService','@univerjs/drawing','_cursorShapes','path','getCurrentUnitForType','ColorKit','_getScale','rgba(255,\x20255,\x20255,\x200.01)','_doCreateSocket','@univerjs/sheets','univer-flex\x20univer-items-center','CollaborationUIEventService','replaceDocRanges','color','DesktopCollaborationStatusDisplayController','function','setShapeProps','addObjects','Tooltip','none','addHandlerCallback','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','getCoordByCell','RemoteUniscriptService','transformStateCache','with','forEach','isActive','current','SetSelectionsOperation','location','stringify','off-line-icon_clip0_910_343','ranges','addObject','m1Prime','triggerDblclick','setConfig','_renderManagerService','runRefRangeMutations','syncEditingCollabCursor','moveTo','collabStatus.fetchMiss','getConfig','getMember','HTTPService','startRow','react/jsx-runtime','ICommandService','_docSkeleton','size','debounce','_registerDependencies','isEditing','_docSkeletonManagerService','_initStatusComponent','green.600','assignAColorForMemberID','debounceTime','36HtMVMQ','propertyIsEnumerable','disposeWithMe','SUBMIT_CHANGESET_TIMEOUT','saveTaskMap','_collabSessionService','registerDependencies','startsWith','findNodePositionByCharIndex','translate(.97)','@univerjs/design','_refRangeService','endColumn','assign','getCollabCursors$','reconnect','createInstance','selection','startColumn','DocSelectionManagerService','_anchorDot','INVITE_CODE_REQUIRED','getDocRanges','unit','YUUMI_NO_CUBOID_FOR_QUESTION','UniverInstanceType','Optional','7cNAqJC','_setupSubUnitSync','@univerjs/sheets-ui','values','height','transformIMECache','INVITE_CODE_ALREADY_BOUND','merge','_send','_entities','_sheetSkeletonManagerService','name','_scheduleSaving','string','call','UniverDesign','_docTransformStateCacheService','_init','_onCursorUpdate','_scene','157288szRyKJ','SetWorksheetActivateCommand','InsertRangeMoveDownCommandId','arc','clearTimeout','onRendered','exports','_docTransformSelectionsService','univer-flex\x20univer-mr-2\x20univer-text-xl','_updateSubUnitFromURLParams','split','_config','onLocalMutation','rxjs','NOT_COLLAB','TOO_MANY_REQUESTS','getRelativeToViewportCoord','OTHER_CLIENTS_EDITING','toRgbString','_commandService','PENDING','USER_NOT_INVITED_CODE','Disposable','source','CollaborationEvent','fillRule','11SYJvVX','dispose','_hideTimer','_univerInstanceService','requireSession','DocIMEInputManagerService','YUUMI_ASYNCIO_CANCELLED','clipPath','LOCAL_CACHE_INTERVAL','onCommandExecuted','3tvHvEJ','disableLocalCache','fromEventSubject','onMouseMove','CollaborationStatus','_handleHeartbeatEvent','SNAPSHOT_HAS_BEEN_REMOVED','@univerjs/docs','fromEvent','COLORS','onPointerMove$','subscribeEvent','88qgqrSi','_status$','_disabled','attrs','createIdentifier','PERMISSION_DENIED','SetDocZoomRatioOperation','handleInsertRangeMoveRight','pipe','exhaustSavingTask','length','UniverIcon','getUndoRedoMutationParamsCache','WebSocketService','restore','onStarting','YUUMI_SUBSCRIPTION_NOT_FOUND','setActiveRange','collab-client.tooltip.reconnect','EffectRefRangId','tag','_refreshCollabCursors','UNDEFINED','setStateCache','_scheduleHeartbeat','serializeRangeWithSheet','invokeId','ThemeService','switchMap','Plugin','isTransformMutationFailure','blue.400','next','handleMoveRange','collaboration.closeRoom'];_0x19af=function(){return _0x511dd8;};return _0x19af();}(function(_0x4dd702,_0x2fd4c1){const _0x3bfc5f=_0x37bd,_0x105373=_0x4dd702();while(!![]){try{const _0x25917e=parseInt(_0x3bfc5f(0x194))/0x1*(-parseInt(_0x3bfc5f(0x29c))/0x2)+parseInt(_0x3bfc5f(0x19e))/0x3*(-parseInt(_0x3bfc5f(0xfa))/0x4)+-parseInt(_0x3bfc5f(0x325))/0x5+parseInt(_0x3bfc5f(0x29d))/0x6*(parseInt(_0x3bfc5f(0x166))/0x7)+parseInt(_0x3bfc5f(0x17a))/0x8*(-parseInt(_0x3bfc5f(0x14b))/0x9)+parseInt(_0x3bfc5f(0x302))/0xa*(parseInt(_0x3bfc5f(0x1aa))/0xb)+-parseInt(_0x3bfc5f(0x253))/0xc*(-parseInt(_0x3bfc5f(0x2ef))/0xd);if(_0x25917e===_0x2fd4c1)break;else _0x105373['push'](_0x105373['shift']());}catch(_0x56021c){_0x105373['push'](_0x105373['shift']());}}}(_0x19af,0x41772),function(_0x10cb43,_0x230337){const _0x58da76=_0x37bd;typeof exports==_0x58da76(0x339)&&typeof module<'u'?_0x230337(exports,require('@univerjs-pro/collaboration-client'),require(_0x58da76(0x2f4)),require(_0x58da76(0x222)),require(_0x58da76(0x303)),require(_0x58da76(0x20d)),require(_0x58da76(0x111)),require(_0x58da76(0x187)),require(_0x58da76(0x1a5)),require('@univerjs-pro/collaboration'),require(_0x58da76(0x1fc)),require(_0x58da76(0x119)),require(_0x58da76(0x2e1)),require(_0x58da76(0x168)),require(_0x58da76(0x13f)),require(_0x58da76(0xff)),require(_0x58da76(0x155)),require(_0x58da76(0xef)),require(_0x58da76(0x292))):typeof define==_0x58da76(0x11f)&&define[_0x58da76(0x10d)]?define([_0x58da76(0x180),_0x58da76(0x27b),'@univerjs/core',_0x58da76(0x222),_0x58da76(0x303),_0x58da76(0x20d),'@univerjs/drawing',_0x58da76(0x187),'@univerjs/docs',_0x58da76(0x202),_0x58da76(0x1fc),_0x58da76(0x119),'rxjs/operators',_0x58da76(0x168),_0x58da76(0x13f),_0x58da76(0xff),'@univerjs/design',_0x58da76(0xef),_0x58da76(0x292)],_0x230337):(_0x10cb43=typeof globalThis<'u'?globalThis:_0x10cb43||self,_0x230337(_0x10cb43[_0x58da76(0x295)]={},_0x10cb43['UniverProCollaborationClient'],_0x10cb43[_0x58da76(0x299)],_0x10cb43[_0x58da76(0x2bd)],_0x10cb43[_0x58da76(0x229)],_0x10cb43[_0x58da76(0xe1)],_0x10cb43[_0x58da76(0x2c2)],_0x10cb43[_0x58da76(0x187)],_0x10cb43['UniverDocs'],_0x10cb43[_0x58da76(0x26e)],_0x10cb43[_0x58da76(0x290)],_0x10cb43[_0x58da76(0x2da)],_0x10cb43[_0x58da76(0x187)][_0x58da76(0x24c)],_0x10cb43['UniverSheetsUi'],_0x10cb43[_0x58da76(0xd1)],_0x10cb43[_0x58da76(0x27d)],_0x10cb43[_0x58da76(0x175)],_0x10cb43[_0x58da76(0xd1)],_0x10cb43[_0x58da76(0x2e5)]));}(this,function(_0x451931,_0x4a1c4e,_0x598862,_0x367549,_0x29c365,_0x1b602f,_0x3cc683,_0x48488c,_0x1b1e93,_0x3d2f4f,_0x5d72cf,_0x5d62d4,_0x3485a0,_0x18a858,_0x1c5269,_0x2767d2,_0x5e78af,_0xc8a5b1,_0x32186f){'use strict';const _0x32ae99=_0x37bd;var _0x27667a=Object[_0x32ae99(0x2e3)],_0x4ad145=(_0x182f50,_0x557c9f,_0x5f1ce9)=>_0x557c9f in _0x182f50?_0x27667a(_0x182f50,_0x557c9f,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x5f1ce9}):_0x182f50[_0x557c9f]=_0x5f1ce9,_0x4c36ff=(_0x6b172,_0x4a6494,_0x25d4f8)=>_0x4ad145(_0x6b172,typeof _0x4a6494!=_0x32ae99(0x257)?_0x4a6494+'':_0x4a6494,_0x25d4f8),_0x8675e4=Object[_0x32ae99(0x2a2)],_0x5d0970=(_0x6b1670,_0x29c7fc,_0x2837f2,_0x261723)=>{const _0x35fd38=_0x32ae99;for(var _0x37b2c2=_0x261723>0x1?void 0x0:_0x261723?_0x8675e4(_0x29c7fc,_0x2837f2):_0x29c7fc,_0x276f66=_0x6b1670[_0x35fd38(0x1b4)]-0x1,_0x4d6a41;_0x276f66>=0x0;_0x276f66--)(_0x4d6a41=_0x6b1670[_0x276f66])&&(_0x37b2c2=_0x4d6a41(_0x37b2c2)||_0x37b2c2);return _0x37b2c2;},_0x2cc344=(_0x3420d1,_0x4320f5)=>(_0x2a7974,_0x41c605)=>_0x4320f5(_0x2a7974,_0x41c605,_0x3420d1);let _0x459f92=class extends _0x598862[_0x32ae99(0x313)]{constructor(_0x2ef133,_0x2885fe){const _0x348694=_0x32ae99;super(),this[_0x348694(0x245)]=_0x2ef133,this[_0x348694(0x110)]=_0x2885fe,this[_0x348694(0x177)]();}[_0x32ae99(0x177)](){const _0x2be005=_0x32ae99,_0x40c73e=this;this[_0x2be005(0x14d)](this[_0x2be005(0x245)][_0x2be005(0x212)]({'onBeforePasteImage':async _0x552ee4=>{const _0x2c4520=_0x2be005,_0x3ec27f=await _0x40c73e[_0x2c4520(0x110)]['saveImage'](_0x552ee4);return _0x3ec27f?{'source':_0x3ec27f[_0x2c4520(0x191)],'imageSourceType':_0x3ec27f[_0x2c4520(0x34e)]}:null;}}));}};_0x459f92=_0x5d0970([_0x2cc344(0x0,_0x1b602f[_0x32ae99(0x338)]),_0x2cc344(0x1,_0x3cc683[_0x32ae99(0x1f8)])],_0x459f92);const _0x533ad4=[_0x32ae99(0x2e6),'jiqing.500',_0x32ae99(0x148),'red.300',_0x32ae99(0x1c9),_0x32ae99(0x201)];class _0x1ab617 extends _0x598862[_0x32ae99(0x190)]{constructor(){super(...arguments),_0x4c36ff(this,'_assignedColors',new Map()),_0x4c36ff(this,'_colorIndex',0x0);}[_0x32ae99(0x149)](_0x36e8b6){const _0x2fb8cf=_0x32ae99;if(this[_0x2fb8cf(0x225)][_0x2fb8cf(0x243)](_0x36e8b6))return this['_assignedColors'][_0x2fb8cf(0x256)](_0x36e8b6);const _0x165a78=_0x533ad4[this[_0x2fb8cf(0x272)]];return this[_0x2fb8cf(0x272)]=(this['_colorIndex']+0x1)%_0x533ad4['length'],this[_0x2fb8cf(0x225)][_0x2fb8cf(0x33f)](_0x36e8b6,_0x165a78),_0x165a78;}}function _0x526d81(_0x123b93){const _0x56be83=_0x32ae99;let _0x28539a='';for(const _0x2c4f9a of _0x123b93){const {startOffset:_0x5cd427,endOffset:_0x187ef4,isActive:_0x7cff8f,rangeType:_0x1bf184,segmentId:_0x56e234,segmentPage:_0x487d42}=_0x2c4f9a;_0x28539a[_0x56be83(0x1b4)]&&(_0x28539a+=','),_0x28539a+=_0x5cd427+':'+_0x187ef4+':'+(_0x7cff8f?'1':'0')+':'+_0x1bf184+':'+_0x56e234+':'+_0x487d42;}return _0x28539a;}function _0x552ad5(_0x592c2b){const _0x983241=_0x32ae99,_0x3b3dc6=_0x592c2b['split'](','),_0x41351a=[];for(const _0x173583 of _0x3b3dc6){const [_0x3ddf32,_0x353c5c,_0x5b913a,_0x24f232,_0x4fdf5d,_0xc0c7ae]=_0x173583[_0x983241(0x184)](':');_0x41351a['push']({'startOffset':Number(_0x3ddf32),'endOffset':Number(_0x353c5c),'collapsed':_0x3ddf32===_0x353c5c,'isActive':_0x5b913a==='1','rangeType':_0x24f232===_0x598862['DOC_RANGE_TYPE'][_0x983241(0x235)]?_0x598862[_0x983241(0x30b)][_0x983241(0x235)]:_0x598862[_0x983241(0x30b)][_0x983241(0x1f9)],'segmentId':typeof _0x4fdf5d==_0x983241(0x173)?String(_0x4fdf5d):'','segmentPage':Number(_0xc0c7ae!=null?_0xc0c7ae:-0x1)});}return _0x41351a[_0x983241(0x31a)](_0x4ba954=>_0x4ba954[_0x983241(0x12b)])||(_0x41351a[0x0][_0x983241(0x12b)]=!0x0),_0x41351a;}class _0x372583 extends _0x598862['RxDisposable']{constructor(){const _0x2b4bd0=_0x32ae99;super(...arguments),_0x4c36ff(this,_0x2b4bd0(0x2b6),new _0x48488c[(_0x2b4bd0(0x341))](null)),_0x4c36ff(this,_0x2b4bd0(0x33c),this[_0x2b4bd0(0x2b6)][_0x2b4bd0(0xbb)]());}[_0x32ae99(0x138)](_0x56cfa6){const _0x51e08f=_0x32ae99,{unitID:_0xe6fe64,memberID:_0x40b4ff,textRanges:_0x467e11}=_0x56cfa6,_0x1ea547=_0x526d81(_0x467e11);if(_0x1ea547==='')return;const _0x5ec066={'unitID':_0xe6fe64,'memberID':_0x40b4ff,'selection':_0x1ea547};this['_collabCursorState$'][_0x51e08f(0x1ca)](_0x5ec066);}}var _0x558937=Object[_0x32ae99(0x2a2)],_0x1a3572=(_0x31d26b,_0x3cb31a,_0x33125b,_0x4d6747)=>{const _0x53945b=_0x32ae99;for(var _0x1c9306=_0x4d6747>0x1?void 0x0:_0x4d6747?_0x558937(_0x3cb31a,_0x33125b):_0x3cb31a,_0x6c7baa=_0x31d26b[_0x53945b(0x1b4)]-0x1,_0x2d2f20;_0x6c7baa>=0x0;_0x6c7baa--)(_0x2d2f20=_0x31d26b[_0x6c7baa])&&(_0x1c9306=_0x2d2f20(_0x1c9306)||_0x1c9306);return _0x1c9306;},_0x5271eb=(_0x3d5e2c,_0x3a4006)=>(_0x4d2eff,_0x1d20ec)=>_0x3a4006(_0x4d2eff,_0x1d20ec,_0x3d5e2c);const _0x59ef8e=0x12c,_0x3c7867=0x64;let _0x54c971=class extends _0x598862[_0x32ae99(0x313)]{constructor(_0x46bd6d,_0x2bd951,_0x14f158,_0x514970,_0xef2d84,_0x4daa5c,_0x488a43,_0x511900,_0x4a2079){const _0x52f455=_0x32ae99;super(),_0x4c36ff(this,_0x52f455(0x23a),!0x1),_0x4c36ff(this,_0x52f455(0x177),!0x1),_0x4c36ff(this,'_cursorInfo$',new _0x48488c[(_0x52f455(0x341))](new Map())),_0x4c36ff(this,_0x52f455(0x26a),this[_0x52f455(0x26f)]['asObservable']()),_0x4c36ff(this,_0x52f455(0x267),new _0x48488c[(_0x52f455(0x341))]([])),_0x4c36ff(this,_0x52f455(0x2d4),this[_0x52f455(0x267)]['pipe'](_0x48488c['debounceTime'](_0x59ef8e))),_0x4c36ff(this,_0x52f455(0x249),_0x598862['debounce'](_0x5368b8=>{const _0x502cef=_0x52f455,_0x227067={'eventID':_0x3d2f4f[_0x502cef(0x192)][_0x502cef(0xda)],'data':{'unitID':this[_0x502cef(0x2e7)],'memberID':this[_0x502cef(0x248)][_0x502cef(0x2d9)](),'selection':_0x526d81(_0x5368b8)}};this[_0x502cef(0x248)]['send'](_0x227067,this[_0x502cef(0x2e7)]);},_0x3c7867)),(this['unitID']=_0x46bd6d,this[_0x52f455(0x248)]=_0x2bd951,this[_0x52f455(0x265)]=_0x14f158,this[_0x52f455(0x107)]=_0x514970,this[_0x52f455(0xf3)]=_0xef2d84,this[_0x52f455(0x347)]=_0x4daa5c,this[_0x52f455(0x2ce)]=_0x488a43,this[_0x52f455(0x197)]=_0x511900,this[_0x52f455(0x18d)]=_0x4a2079);}get[_0x32ae99(0x1ea)](){const _0x142654=_0x32ae99;return this[_0x142654(0x26f)][_0x142654(0x231)]();}get[_0x32ae99(0xcd)](){const _0x2bc250=_0x32ae99;return this[_0x2bc250(0x267)]['getValue']();}['dispose'](){const _0xba50dc=_0x32ae99;super[_0xba50dc(0x195)](),this['_cursorInfo$'][_0xba50dc(0x1ca)](new Map()),this[_0xba50dc(0x26f)]['complete'](),this['_roomMembers$']['next']([]),this[_0xba50dc(0x267)]['complete']();}[_0x32ae99(0x2ea)](){const _0x252393=_0x32ae99;this[_0x252393(0x177)]||(this[_0x252393(0x177)]=!0x0,this['_session'][_0x252393(0x2c6)][_0x252393(0x1b2)](_0x48488c[_0x252393(0x344)](this[_0x252393(0x21d)]))[_0x252393(0x10c)](_0x4411e4=>{const _0x4d1e09=_0x252393;_0x4411e4===_0x4a1c4e[_0x4d1e09(0x2fc)]['ONLINE']?this[_0x4d1e09(0x27a)]():this[_0x4d1e09(0x246)]();}),this[_0x252393(0x248)][_0x252393(0x2d6)][_0x252393(0x1b2)](_0x48488c[_0x252393(0x344)](this['dispose$']))[_0x252393(0x10c)](_0x585174=>{const _0x445143=_0x252393,_0x5433af=_0x585174['eventID'];_0x5433af===_0x3d2f4f[_0x445143(0x192)][_0x445143(0xda)]&&this[_0x445143(0x178)](_0x585174),_0x5433af===_0x3d2f4f[_0x445143(0x192)]['USERS_LEAVE']&&this[_0x445143(0x32a)](_0x585174);}),this['disposeWithMe'](this['_commandService'][_0x252393(0x19d)](_0x1969c1=>{const _0x4e7b88=_0x252393,_0x21068f=_0x1969c1[_0x4e7b88(0x1f7)];_0x21068f!=null&&this['_online']&&_0x1969c1['id']===_0x1b1e93[_0x4e7b88(0x266)]['id']&&_0x21068f[_0x4e7b88(0xca)]===this[_0x4e7b88(0x2e7)]&&_0x21068f[_0x4e7b88(0x145)]===!0x1&&_0x21068f[_0x4e7b88(0x131)][_0x4e7b88(0x1b4)]>0x0&&this['_updateLocalCursor'](_0x21068f[_0x4e7b88(0x131)]);})),this[_0x252393(0x347)][_0x252393(0x33c)][_0x252393(0x1b2)](_0x48488c[_0x252393(0x344)](this['dispose$']))[_0x252393(0x10c)](_0x1f9860=>{const _0x48e294=_0x252393;if((_0x1f9860==null?void 0x0:_0x1f9860[_0x48e294(0x2e7)])!==this['unitID'])return;const _0x3afade={'eventID':_0x3d2f4f[_0x48e294(0x192)]['UPDATE_CURSOR'],'data':_0x1f9860};this[_0x48e294(0x178)](_0x3afade);}),this['disposeWithMe'](this[_0x252393(0x18d)][_0x252393(0x19d)](_0x26d84f=>{const _0x5ac35a=_0x252393;if(_0x26d84f[_0x5ac35a(0x1f7)]==null)return;const _0x3d096a=_0x26d84f['params'];if(_0x26d84f['id']!==_0x1b1e93[_0x5ac35a(0x2ec)]['id']||_0x3d096a['unitId']!==this[_0x5ac35a(0x2e7)])return;const _0x46f1a8={'id':_0x5ac35a(0x252),'params':_0x3d096a},_0x545f2a=this[_0x5ac35a(0x1ea)];for(const [_0x30b152,_0x4b5969]of _0x545f2a){const _0x49f157={'id':_0x5ac35a(0x252),'params':{'unitId':this[_0x5ac35a(0x2e7)],'actions':null,'textRanges':_0x4b5969[_0x5ac35a(0x131)]}},_0x3ed2ca=this['_transformService'][_0x5ac35a(0x244)](_0x46f1a8,_0x49f157,!0x1);if(_0x3d2f4f[_0x5ac35a(0x1c8)](_0x3ed2ca))throw _0x3ed2ca[_0x5ac35a(0x24b)];_0x545f2a[_0x5ac35a(0x33f)](_0x30b152,{..._0x4b5969,'ranges':_0x3ed2ca[_0x5ac35a(0x26c)][_0x5ac35a(0x1f7)][_0x5ac35a(0x33a)]});}queueMicrotask(()=>{const _0x3059c1=_0x5ac35a;this[_0x3059c1(0x26f)][_0x3059c1(0x1ca)](_0x545f2a);});})));}[_0x32ae99(0x178)](_0x2cdd5d){const _0x1b3441=_0x32ae99;var _0x53efa0,_0x11e0c7;const {memberID:_0x101333,selection:_0x36b67c}=_0x2cdd5d[_0x1b3441(0x320)],_0x1d2d9d=_0x552ad5(_0x36b67c),_0x1109c4=(_0x11e0c7=(_0x53efa0=this['_memberService'][_0x1b3441(0x13c)](this['unitID'],_0x101333))==null?void 0x0:_0x53efa0['name'])!=null?_0x11e0c7:'Unknown\x20user',_0x404190={'color':this[_0x1b3441(0x107)][_0x1b3441(0x149)](_0x101333),'name':_0x1109c4,'ranges':_0x1d2d9d},_0x5d464b=this[_0x1b3441(0x1ea)];_0x5d464b[_0x1b3441(0x33f)](_0x101333,_0x404190),this[_0x1b3441(0x26f)][_0x1b3441(0x1ca)](_0x5d464b);}['_onCursorDelete'](_0x1d24da){const _0x547a6a=_0x32ae99,{memberID:_0x4ba186}=_0x1d24da[_0x547a6a(0x320)],_0x2c3aa6=this[_0x547a6a(0x1ea)];_0x2c3aa6[_0x547a6a(0xc8)](_0x4ba186),this['_cursorInfo$'][_0x547a6a(0x1ca)](_0x2c3aa6);}[_0x32ae99(0x27a)](){const _0x205780=_0x32ae99;var _0x2713d8;if(this['_online']=!0x0,((_0x2713d8=this[_0x205780(0x197)][_0x205780(0xfd)]())==null?void 0x0:_0x2713d8[_0x205780(0x301)]())!==this[_0x205780(0x2e7)])return;const _0x4e4d90=this[_0x205780(0x265)]['get'](_0x1b1e93[_0x205780(0x15e)])['getDocRanges']();Array['isArray'](_0x4e4d90)&&_0x4e4d90[_0x205780(0x1b4)]>0x0&&this[_0x205780(0x249)](_0x4e4d90);}[_0x32ae99(0x246)](){const _0x42744a=_0x32ae99;this[_0x42744a(0x23a)]=!0x1;}};_0x54c971=_0x1a3572([_0x5271eb(0x2,_0x598862[_0x32ae99(0x331)](_0x598862[_0x32ae99(0x261)])),_0x5271eb(0x3,_0x598862[_0x32ae99(0x331)](_0x1ab617)),_0x5271eb(0x4,_0x598862[_0x32ae99(0x331)](_0x4a1c4e['MemberService'])),_0x5271eb(0x5,_0x598862[_0x32ae99(0x331)](_0x372583)),_0x5271eb(0x6,_0x3d2f4f[_0x32ae99(0x305)]),_0x5271eb(0x7,_0x598862[_0x32ae99(0xce)]),_0x5271eb(0x8,_0x598862[_0x32ae99(0x140)])],_0x54c971);var _0x21dbc0=Object['getOwnPropertyDescriptor'],_0x341838=(_0x409a2c,_0x31dfba,_0x5eb4e9,_0x4522c2)=>{const _0x12e679=_0x32ae99;for(var _0x1991da=_0x4522c2>0x1?void 0x0:_0x4522c2?_0x21dbc0(_0x31dfba,_0x5eb4e9):_0x31dfba,_0x3bddb2=_0x409a2c[_0x12e679(0x1b4)]-0x1,_0x35963d;_0x3bddb2>=0x0;_0x3bddb2--)(_0x35963d=_0x409a2c[_0x3bddb2])&&(_0x1991da=_0x35963d(_0x1991da)||_0x1991da);return _0x1991da;},_0x3cba53=(_0xf927cb,_0x39c5d8)=>(_0x51e83e,_0x324683)=>_0x39c5d8(_0x51e83e,_0x324683,_0xf927cb);const _0x3bff8d=0x12c,_0x298e1f=0x64,_0x98232b=()=>{let _0x295478=[],_0x1d1b06=!0x1;return _0x3d904a=>{const _0x4cd96f=_0x37bd;_0x295478[_0x4cd96f(0x108)](_0x3d904a),_0x1d1b06||(_0x1d1b06=!0x0,setTimeout(()=>{_0x295478['forEach'](_0x24ce98=>_0x24ce98()),_0x295478=[],_0x1d1b06=!0x1;}));};};let _0x2abedc=class extends _0x598862[_0x32ae99(0x313)]{constructor(_0x5b5b01,_0x2b024b,_0x4f262a,_0x27ba69,_0x52e0b3,_0x3b7265,_0x4a8c60,_0x48380f){const _0x51c734=_0x32ae99;super(),_0x4c36ff(this,_0x51c734(0x23a),!0x1),_0x4c36ff(this,'_init',!0x1),_0x4c36ff(this,_0x51c734(0x26f),new _0x48488c[(_0x51c734(0x341))](new Map())),_0x4c36ff(this,'cursorInfo$',this[_0x51c734(0x26f)]['asObservable']()),_0x4c36ff(this,_0x51c734(0x267),new _0x48488c['BehaviorSubject']([])),_0x4c36ff(this,_0x51c734(0x2d4),this[_0x51c734(0x267)][_0x51c734(0x1b2)](_0x48488c[_0x51c734(0x14a)](_0x3bff8d))),_0x4c36ff(this,'_updateLocalCursor',_0x598862[_0x51c734(0x143)]((_0x3265b0,_0x243221)=>{const _0x5bdcb8=_0x51c734,_0x157438={'eventID':_0x3d2f4f[_0x5bdcb8(0x192)][_0x5bdcb8(0xda)],'data':{'unitID':this[_0x5bdcb8(0x2e7)],'memberID':this['_session'][_0x5bdcb8(0x2d9)](),'selection':_0x5d72cf[_0x5bdcb8(0x1c3)](_0x3265b0,_0x243221['range'])}};this[_0x5bdcb8(0x248)][_0x5bdcb8(0x241)](_0x157438,this[_0x5bdcb8(0x2e7)]);},_0x298e1f)),(this[_0x51c734(0x2e7)]=_0x5b5b01,this['_session']=_0x2b024b,this[_0x51c734(0x265)]=_0x4f262a,this[_0x51c734(0x107)]=_0x27ba69,this[_0x51c734(0xf3)]=_0x52e0b3,this['_univerInstanceService']=_0x3b7265,this[_0x51c734(0x18d)]=_0x4a8c60,this[_0x51c734(0x156)]=_0x48380f);}get[_0x32ae99(0x1ea)](){const _0x4491e0=_0x32ae99;return this[_0x4491e0(0x26f)][_0x4491e0(0x231)]();}get[_0x32ae99(0xcd)](){const _0x84331d=_0x32ae99;return this[_0x84331d(0x267)][_0x84331d(0x231)]();}['dispose'](){const _0x351547=_0x32ae99;super['dispose'](),this[_0x351547(0x26f)][_0x351547(0x1ca)](new Map()),this[_0x351547(0x26f)][_0x351547(0x322)](),this['_roomMembers$']['next']([]),this[_0x351547(0x267)][_0x351547(0x322)]();}[_0x32ae99(0x2ea)](){const _0x55a62a=_0x32ae99;this[_0x55a62a(0x177)]||(this[_0x55a62a(0x177)]=!0x0,this[_0x55a62a(0x248)][_0x55a62a(0x2c6)][_0x55a62a(0x1b2)](_0x48488c[_0x55a62a(0x344)](this[_0x55a62a(0x21d)]))[_0x55a62a(0x10c)](_0x3e855d=>{const _0x4c0bac=_0x55a62a;_0x3e855d===_0x4a1c4e[_0x4c0bac(0x2fc)]['ONLINE']?this[_0x4c0bac(0x27a)]():this[_0x4c0bac(0x246)]();}),this[_0x55a62a(0x248)][_0x55a62a(0x2d6)][_0x55a62a(0x1b2)](_0x48488c[_0x55a62a(0x344)](this[_0x55a62a(0x21d)]))[_0x55a62a(0x10c)](_0x4b77ad=>{const _0x4a6c47=_0x55a62a,_0x44e49c=_0x4b77ad['eventID'];_0x44e49c===_0x3d2f4f[_0x4a6c47(0x192)][_0x4a6c47(0xda)]&&this[_0x4a6c47(0x178)](_0x4b77ad),_0x44e49c===_0x3d2f4f[_0x4a6c47(0x192)][_0x4a6c47(0x100)]&&this[_0x4a6c47(0x32a)](_0x4b77ad);}),this[_0x55a62a(0x214)](),this[_0x55a62a(0x14d)](this['_commandService']['onCommandExecuted'](_0xab78bf=>{const _0xb84ddd=_0x55a62a;if(this[_0xb84ddd(0x23a)]&&_0xab78bf['id']===_0x5d62d4[_0xb84ddd(0x12d)]['id']&&_0xab78bf[_0xb84ddd(0x1f7)][_0xb84ddd(0xca)]===this['unitID']){const _0x7fd57e=_0xab78bf[_0xb84ddd(0x1f7)];this[_0xb84ddd(0x249)](_0x7fd57e['subUnitId'],_0x7fd57e[_0xb84ddd(0x30e)][0x0]);}})));}[_0x32ae99(0x178)](_0x4b813d){const _0x36a934=_0x32ae99;var _0x591009,_0x1fee13;const {memberID:_0x145cc4,selection:_0x1d85ab}=_0x4b813d[_0x36a934(0x320)],{sheetName:_0x81de5c,range:_0xbc581a}=_0x5d72cf[_0x36a934(0x28c)](_0x1d85ab),_0x52c1c0={'name':(_0x1fee13=(_0x591009=this['_memberService'][_0x36a934(0x13c)](this[_0x36a934(0x2e7)],_0x145cc4))==null?void 0x0:_0x591009[_0x36a934(0x171)])!=null?_0x1fee13:_0x36a934(0x2d2),'range':this[_0x36a934(0xd3)](_0x81de5c,_0xbc581a),'sheetID':_0x81de5c,'color':this[_0x36a934(0x107)][_0x36a934(0x149)](_0x145cc4),'selection':_0x1d85ab},_0x578ec6=this[_0x36a934(0x1ea)];_0x578ec6['set'](_0x145cc4,_0x52c1c0),this[_0x36a934(0x26f)]['next'](_0x578ec6);}[_0x32ae99(0x32a)](_0x29601d){const _0x22c7fb=_0x32ae99,{memberID:_0x3e7eb8}=_0x29601d['data'],_0x419c85=this[_0x22c7fb(0x1ea)];_0x419c85['delete'](_0x3e7eb8),this[_0x22c7fb(0x26f)]['next'](_0x419c85);}[_0x32ae99(0xd3)](_0x3b3354,_0x49840d){const _0x31f45e=_0x32ae99;var _0x54ce5e,_0xe6940e;const _0x56e761=(_0xe6940e=(_0x54ce5e=this['_univerInstanceService'][_0x31f45e(0x264)](this[_0x31f45e(0x2e7)]))==null?void 0x0:_0x54ce5e[_0x31f45e(0x10e)](_0x3b3354))==null?void 0x0:_0xe6940e['getMergeData']();return(_0x56e761==null?void 0x0:_0x56e761['find'](_0x9303a0=>_0x598862[_0x31f45e(0x2f9)][_0x31f45e(0x21f)](_0x9303a0,_0x49840d)))||_0x49840d;}[_0x32ae99(0x214)](){const _0x49078d=_0x32ae99,_0x3bf624=new _0x598862[(_0x49078d(0x2d0))](),_0x93db71=_0x98232b(),_0xfdc1ad=()=>{const _0x2830aa=_0x49078d;_0x3bf624['dispose']();const _0x41c70b=(_0xf5c6c6,_0x5f056a,_0x1f3f85,_0x55b2b1)=>{const _0x24d963=_0x37bd;let _0x499e3c=[];switch(_0xf5c6c6['id']){case _0x5d62d4[_0x24d963(0x1bd)][_0x24d963(0x294)]:{_0x499e3c=_0x5d62d4[_0x24d963(0x10a)](_0xf5c6c6,_0x55b2b1);break;}case _0x5d62d4[_0x24d963(0x1bd)][_0x24d963(0x1d9)]:{_0x499e3c=_0x5d62d4['handleDeleteRangeMoveUp'](_0xf5c6c6,_0x55b2b1);break;}case _0x5d62d4['EffectRefRangId'][_0x24d963(0x1f3)]:{_0x499e3c=_0x5d62d4['handleInsertCol'](_0xf5c6c6,_0x55b2b1);break;}case _0x5d62d4[_0x24d963(0x1bd)][_0x24d963(0x17c)]:{_0x499e3c=_0x5d62d4['handleInsertRangeMoveDown'](_0xf5c6c6,_0x55b2b1);break;}case _0x5d62d4['EffectRefRangId'][_0x24d963(0x21e)]:{_0x499e3c=_0x5d62d4[_0x24d963(0x1b1)](_0xf5c6c6,_0x55b2b1);break;}case _0x5d62d4[_0x24d963(0x1bd)]['InsertRowCommandId']:{_0x499e3c=_0x5d62d4[_0x24d963(0xf9)](_0xf5c6c6,_0x55b2b1);break;}case _0x5d62d4[_0x24d963(0x1bd)][_0x24d963(0xbe)]:{_0x499e3c=_0x5d62d4[_0x24d963(0x1cb)](_0xf5c6c6,_0x55b2b1);break;}case _0x5d62d4[_0x24d963(0x1bd)][_0x24d963(0x2a8)]:{_0x499e3c=_0x5d62d4[_0x24d963(0x239)](_0xf5c6c6,_0x55b2b1);break;}case _0x5d62d4[_0x24d963(0x1bd)]['RemoveRowCommandId']:{_0x499e3c=_0x5d62d4[_0x24d963(0xd0)](_0xf5c6c6,_0x55b2b1);break;}}const _0x303a9d=_0x5d62d4[_0x24d963(0x137)](_0x499e3c,_0x55b2b1),_0x3efa3d=this['cursorInfo'][_0x24d963(0x256)](_0x5f056a);if(_0x3efa3d&&_0x303a9d){const _0x56c5fe={..._0x3efa3d,'range':_0x303a9d};this[_0x24d963(0x1ea)][_0x24d963(0x33f)](_0x5f056a,_0x56c5fe),_0x93db71(()=>{const _0x18a19c=_0x24d963,_0x2f653c=this[_0x18a19c(0x156)]['registerRefRange'](_0x303a9d,_0x42a689=>(_0x2f653c[_0x18a19c(0x195)](),_0x41c70b(_0x42a689,_0x5f056a,_0x1f3f85,_0x303a9d)));_0x3bf624['add'](_0x2f653c);});}return{'redos':[],'undos':[]};};this[_0x2830aa(0x1ea)][_0x2830aa(0x12a)]((_0x332e00,_0x12a070)=>{const _0x3b93aa=_0x2830aa,{range:_0x30a710,sheetID:_0x1aae13}=_0x332e00,_0x597414=this['_refRangeService'][_0x3b93aa(0x31e)](_0x30a710,_0xc0ab1c=>(_0x597414[_0x3b93aa(0x195)](),_0x41c70b(_0xc0ab1c,_0x12a070,_0x1aae13,_0x30a710)));_0x3bf624['add'](_0x597414);});};this[_0x49078d(0x14d)](_0x598862[_0x49078d(0x343)](this[_0x49078d(0x26f)][_0x49078d(0x10c)](()=>{_0xfdc1ad();})));}[_0x32ae99(0x27a)](){const _0x35aa64=_0x32ae99;var _0x5efd1f,_0x46f1dd;if(this['_online']=!0x0,((_0x5efd1f=this['_univerInstanceService']['getFocusedUnit']())==null?void 0x0:_0x5efd1f[_0x35aa64(0x301)]())!==this[_0x35aa64(0x2e7)])return;const _0x177a15=(_0x46f1dd=this['_injector'][_0x35aa64(0x256)](_0x5d62d4['SheetsSelectionsService'])[_0x35aa64(0x213)]())==null?void 0x0:_0x46f1dd[0x0],_0x3cfa86=this['_univerInstanceService'][_0x35aa64(0x114)](_0x598862[_0x35aa64(0x164)][_0x35aa64(0x300)])[_0x35aa64(0x2b1)]();_0x177a15&&_0x3cfa86&&this[_0x35aa64(0x249)](_0x3cfa86[_0x35aa64(0x25e)](),_0x177a15);}['_toggleOffline'](){const _0x5705e8=_0x32ae99;this[_0x5705e8(0x23a)]=!0x1;}};_0x2abedc=_0x341838([_0x3cba53(0x2,_0x598862['Inject'](_0x598862[_0x32ae99(0x261)])),_0x3cba53(0x3,_0x598862['Inject'](_0x1ab617)),_0x3cba53(0x4,_0x598862[_0x32ae99(0x331)](_0x4a1c4e[_0x32ae99(0xe9)])),_0x3cba53(0x5,_0x598862['IUniverInstanceService']),_0x3cba53(0x6,_0x598862['ICommandService']),_0x3cba53(0x7,_0x598862['Inject'](_0x5d62d4['RefRangeService']))],_0x2abedc);var _0xf4e331=Object[_0x32ae99(0x2a2)],_0x13a7c7=(_0x3aacaa,_0x58ea99,_0x3c3d6b,_0x287499)=>{const _0x490af2=_0x32ae99;for(var _0x200899=_0x287499>0x1?void 0x0:_0x287499?_0xf4e331(_0x58ea99,_0x3c3d6b):_0x58ea99,_0x26bfee=_0x3aacaa[_0x490af2(0x1b4)]-0x1,_0x51e70a;_0x26bfee>=0x0;_0x26bfee--)(_0x51e70a=_0x3aacaa[_0x26bfee])&&(_0x200899=_0x51e70a(_0x200899)||_0x200899);return _0x200899;},_0x51c32d=(_0x2ef11d,_0x14e168)=>(_0xb6e51b,_0x5945a8)=>_0x14e168(_0xb6e51b,_0x5945a8,_0x2ef11d);let _0x10d2fa=class extends _0x598862[_0x32ae99(0x313)]{constructor(_0x54e432,_0x337387,_0x2be3f5){const _0x52033d=_0x32ae99;super(),_0x4c36ff(this,_0x52033d(0x16f),new Map()),_0x4c36ff(this,'_entityInit$',new _0x48488c['Subject']()),(this['_univerInstanceService']=_0x54e432,this[_0x52033d(0x265)]=_0x337387,this[_0x52033d(0x150)]=_0x2be3f5,this['_init']());}[_0x32ae99(0x195)](){const _0x39e82b=_0x32ae99;super[_0x39e82b(0x195)](),this['_entityInit$'][_0x39e82b(0x322)](),this[_0x39e82b(0x16f)]['forEach'](_0x32ab81=>_0x32ab81[_0x39e82b(0x195)]());}[_0x32ae99(0x159)](_0xc25522){const _0x4ee13b=_0x32ae99;return this['_entities'][_0x4ee13b(0x243)](_0xc25522)?this[_0x4ee13b(0x16f)]['get'](_0xc25522)[_0x4ee13b(0x26a)]:this[_0x4ee13b(0x31d)][_0x4ee13b(0x1b2)](_0x48488c[_0x4ee13b(0x2f1)](_0xaba0d3=>_0xaba0d3[_0x4ee13b(0x2e7)]===_0xc25522),_0x48488c['switchMap'](_0xca78c2=>_0xca78c2[_0x4ee13b(0x26a)]));}[_0x32ae99(0x177)](){const _0x456d9e=_0x32ae99;this['_univerInstanceService'][_0x456d9e(0x329)](_0x598862[_0x456d9e(0x164)][_0x456d9e(0x300)])[_0x456d9e(0x1b2)](_0x48488c[_0x456d9e(0x344)](this[_0x456d9e(0x21d)]))[_0x456d9e(0x10c)](async _0x4fd48d=>{const _0x3e41a4=_0x456d9e,_0x582d65=_0x4fd48d['getUnitId'](),_0x5b524a=await this['_startSheetCollabCursor'](_0x582d65);this[_0x3e41a4(0x31d)]['next'](_0x5b524a),this['_entities'][_0x3e41a4(0x33f)](_0x582d65,_0x5b524a);}),this[_0x456d9e(0x197)][_0x456d9e(0x329)](_0x598862[_0x456d9e(0x164)][_0x456d9e(0x24d)])[_0x456d9e(0x1b2)](_0x48488c['takeUntil'](this[_0x456d9e(0x21d)]))['pipe'](_0x48488c[_0x456d9e(0x2f1)](_0x39e8a0=>!_0x39e8a0['getUnitId']()[_0x456d9e(0x152)]('__')))[_0x456d9e(0x10c)](async _0x579519=>{const _0x3e44d5=_0x456d9e,_0x7dd1b6=_0x579519[_0x3e44d5(0x301)](),_0x2c7ec2=await this[_0x3e44d5(0x337)](_0x7dd1b6);this[_0x3e44d5(0x31d)][_0x3e44d5(0x1ca)](_0x2c7ec2),this[_0x3e44d5(0x16f)][_0x3e44d5(0x33f)](_0x7dd1b6,_0x2c7ec2);}),_0x48488c[_0x456d9e(0x16d)](this[_0x456d9e(0x197)][_0x456d9e(0x268)](_0x598862[_0x456d9e(0x164)][_0x456d9e(0x24d)]),this['_univerInstanceService'][_0x456d9e(0x268)](_0x598862[_0x456d9e(0x164)][_0x456d9e(0x300)]))[_0x456d9e(0x1b2)](_0x48488c[_0x456d9e(0x344)](this[_0x456d9e(0x21d)]))[_0x456d9e(0x10c)](_0x4a15f5=>{const _0x1bc5b3=_0x456d9e,_0x191662=_0x4a15f5[_0x1bc5b3(0x301)](),_0x4a757d=this[_0x1bc5b3(0x16f)][_0x1bc5b3(0x256)](_0x191662);_0x4a757d&&(_0x4a757d[_0x1bc5b3(0x195)](),this['_entities'][_0x1bc5b3(0xc8)](_0x191662));});}async[_0x32ae99(0xe6)](_0x2071bf){const _0x107d5d=_0x32ae99,_0x3292e0=await this[_0x107d5d(0x150)][_0x107d5d(0x198)](_0x2071bf),_0x5d56e6=this[_0x107d5d(0x265)][_0x107d5d(0x15b)](_0x2abedc,_0x2071bf,_0x3292e0);return _0x5d56e6['init'](),_0x5d56e6;}async[_0x32ae99(0x337)](_0x1f9adf){const _0x39a2a2=_0x32ae99,_0x4ee6c2=await this['_collabSessionService']['requireSession'](_0x1f9adf),_0x4ee932=this[_0x39a2a2(0x265)][_0x39a2a2(0x15b)](_0x54c971,_0x1f9adf,_0x4ee6c2);return _0x4ee932[_0x39a2a2(0x2ea)](),_0x4ee932;}};_0x10d2fa=_0x13a7c7([_0x51c32d(0x0,_0x598862['IUniverInstanceService']),_0x51c32d(0x1,_0x598862[_0x32ae99(0x331)](_0x598862[_0x32ae99(0x261)])),_0x51c32d(0x2,_0x598862['Inject'](_0x4a1c4e['CollaborationSessionService']))],_0x10d2fa);const _0x50f210=0x14,_0x5288c0=0xc8,_0x464890=0x4,_0x2bccee=0x5;function _0x24f9fb(_0x44eef6,_0x34e000){const _0x535dc9=_0x32ae99;let {radius:_0x2a540a,width:_0x44c5e3,height:_0x503b9c}=_0x34e000;_0x2a540a=_0x2a540a!=null?_0x2a540a:0x0,_0x44c5e3=_0x44c5e3!=null?_0x44c5e3:0x1e,_0x503b9c=_0x503b9c!=null?_0x503b9c:0x1e;let _0xe2e0da=0x0,_0x303824=0x0,_0x1a49e1=0x0;_0xe2e0da=_0x303824=_0x1a49e1=Math[_0x535dc9(0x283)](_0x2a540a,_0x44c5e3/0x2,_0x503b9c/0x2),_0x44eef6[_0x535dc9(0x1eb)](),_0x44eef6[_0x535dc9(0x139)](_0xe2e0da,0x0),_0x44eef6[_0x535dc9(0x2d7)](_0x44c5e3-_0x303824,0x0),_0x44eef6['arc'](_0x44c5e3-_0x303824,_0x303824,_0x303824,Math['PI']*0x3/0x2,0x0,!0x1),_0x44eef6['lineTo'](_0x44c5e3,_0x503b9c-_0x1a49e1),_0x44eef6[_0x535dc9(0x17d)](_0x44c5e3-_0x1a49e1,_0x503b9c-_0x1a49e1,_0x1a49e1,0x0,Math['PI']/0x2,!0x1),_0x44eef6[_0x535dc9(0x2d7)](0x0,_0x503b9c),_0x44eef6['lineTo'](0x0,_0xe2e0da),_0x44eef6[_0x535dc9(0x17d)](_0xe2e0da,_0xe2e0da,_0xe2e0da,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x44eef6[_0x535dc9(0x1fd)](),_0x34e000[_0x535dc9(0xeb)]&&(_0x44eef6[_0x535dc9(0x2de)](),_0x44eef6[_0x535dc9(0x31c)]=_0x34e000[_0x535dc9(0xeb)],_0x34e000[_0x535dc9(0x193)]==='evenodd'?_0x44eef6[_0x535dc9(0xeb)]('evenodd'):_0x44eef6[_0x535dc9(0xeb)](),_0x44eef6[_0x535dc9(0x1b8)]());}class _0x2c196a extends _0x367549['Shape']{constructor(_0x47cede,_0x26b3e2){const _0x4b852b=_0x32ae99;super(_0x47cede,_0x26b3e2),_0x4c36ff(this,_0x4b852b(0x11d)),_0x4c36ff(this,_0x4b852b(0x20f)),(this[_0x4b852b(0x11d)]=_0x26b3e2==null?void 0x0:_0x26b3e2[_0x4b852b(0x11d)],this[_0x4b852b(0x20f)]=_0x26b3e2==null?void 0x0:_0x26b3e2['text']);}static[_0x32ae99(0xbc)](_0x227d88,_0x5050ec){const _0x2a70f4=_0x32ae99,{text:_0x52df8a,color:_0x557346}=_0x5050ec;_0x227d88[_0x2a70f4(0x2de)](),_0x227d88[_0x2a70f4(0x2d8)]='bold\x2013px\x20Source\x20Han\x20Sans\x20CN';const _0x187fc6=_0x227d88[_0x2a70f4(0x224)](_0x52df8a)[_0x2a70f4(0x255)],_0x56d9f5=Math[_0x2a70f4(0x283)](_0x187fc6+0x2*_0x464890,_0x5288c0);_0x24f9fb(_0x227d88,{'height':_0x50f210,'radius':0x4,'width':_0x56d9f5,'fill':_0x557346}),_0x227d88[_0x2a70f4(0x31c)]=_0x2a70f4(0x1e1);const _0x1ed3eb=_0x464890,_0x279084=_0x50f210-_0x2bccee,_0x34cdc3=_0x5288c0-0x2*_0x464890;if(_0x187fc6>_0x34cdc3){let _0x5cbad2='',_0x3c534c=0x0;for(const _0xa11a5e of _0x52df8a){const _0x4aac2d=_0x227d88[_0x2a70f4(0x224)](_0xa11a5e)[_0x2a70f4(0x255)];if(_0x3c534c+_0x4aac2d<=_0x34cdc3-_0x227d88['measureText'](_0x2a70f4(0x1d8))[_0x2a70f4(0x255)])_0x5cbad2+=_0xa11a5e,_0x3c534c+=_0x4aac2d;else{_0x5cbad2+=_0x2a70f4(0x1d8);break;}}_0x227d88[_0x2a70f4(0xd7)](_0x5cbad2,_0x1ed3eb,_0x279084);}else _0x227d88[_0x2a70f4(0xd7)](_0x52df8a,_0x1ed3eb,_0x279084);_0x227d88[_0x2a70f4(0x1b8)]();}[_0x32ae99(0xea)](_0x5691a8){const _0x3c6570=_0x32ae99;_0x2c196a[_0x3c6570(0xbc)](_0x5691a8,this);}}const _0x5534bd='collab-text-anchor-',_0x376bb6=_0x32ae99(0x31b),_0x3b7114=_0x32ae99(0x2aa),_0x381298=0x6,_0xe44124=1.5,_0x193ec2=0x4,_0x481beb=1.5,_0xd6eb9b=_0x32ae99(0x117);class _0x5e2e77{constructor(_0x827810,_0x41c929,_0x5288e7,_0x2529cc){const _0x2c261a=_0x32ae99;_0x4c36ff(this,_0x2c261a(0x336),[]),_0x4c36ff(this,_0x2c261a(0xbd),null),_0x4c36ff(this,_0x2c261a(0x2d1),null),_0x4c36ff(this,_0x2c261a(0x15f),null),_0x4c36ff(this,_0x2c261a(0x196),null),_0x4c36ff(this,_0x2c261a(0x270),null),(this[_0x2c261a(0x20c)]=_0x827810,this['_scene']=_0x41c929,this[_0x2c261a(0x141)]=_0x5288e7,this[_0x2c261a(0x2e8)]=_0x2529cc,this['_render']());}set['_hover'](_0x5733e0){const _0x444fda=_0x32ae99;_0x5733e0?(this[_0x444fda(0x15f)]&&this[_0x444fda(0x15f)]['hide'](),this[_0x444fda(0x2d1)]&&this['_textBubble'][_0x444fda(0x25c)]()):(this[_0x444fda(0x15f)]&&this[_0x444fda(0x15f)][_0x444fda(0x25c)](),this[_0x444fda(0x2d1)]&&this[_0x444fda(0x2d1)]['hide']());}[_0x32ae99(0x195)](){const _0x24e33e=_0x32ae99;for(const _0xd777ce of this[_0x24e33e(0x336)])_0xd777ce[_0x24e33e(0x195)]();this['_textBubble']&&this[_0x24e33e(0x2d1)][_0x24e33e(0x195)](),this[_0x24e33e(0x15f)]&&this[_0x24e33e(0x15f)][_0x24e33e(0x195)](),this[_0x24e33e(0xbd)]&&this['_anchor'][_0x24e33e(0x195)](),this[_0x24e33e(0x270)]&&this[_0x24e33e(0x270)]();}['_render'](){const _0x2b2919=_0x32ae99;var _0x136807;const {_docSkeleton:_0x356efe,_document:_0x4c0541}=this,{color:_0x186438,name:_0x5e9db1,ranges:_0x1822f2}=this[_0x2b2919(0x20c)],_0x1717cb=_0x4c0541[_0x2b2919(0x10b)](),{docsLeft:_0x3a1713,docsTop:_0x131ee2}=_0x1717cb,_0x2f4dad=new _0x1b602f['NodePositionConvertToCursor'](_0x1717cb,_0x356efe);for(const {startOffset:_0x371565,endOffset:_0x500197,rangeType:_0x11d63c,segmentId:_0x3ac522,segmentPage:_0x4b5e9c,collapsed:_0x589161,isActive:_0x39c6bf}of _0x1822f2){const _0x325b59=_0x356efe[_0x2b2919(0x153)](_0x371565,!0x0,_0x3ac522,_0x4b5e9c);let _0x5cc401=_0x356efe[_0x2b2919(0x153)](_0x500197,!0x0,_0x3ac522,_0x4b5e9c);if(_0x5cc401==null&&(_0x5cc401=_0x356efe[_0x2b2919(0x153)](_0x500197-0x1,!0x1,_0x3ac522,_0x4b5e9c)),_0x39c6bf){const {contentBoxPointGroup:_0x5182d5}=_0x2f4dad[_0x2b2919(0xe2)](_0x5cc401,_0x5cc401);if(_0x5182d5[_0x2b2919(0x1b4)]===0x0)continue;this[_0x2b2919(0x2cb)](_0x186438,_0x5182d5,_0x3a1713,_0x131ee2,_0x5e9db1),this[_0x2b2919(0x270)]=this['_handleHover']();}if(_0x325b59&&_0x5cc401){if(_0x11d63c===_0x598862[_0x2b2919(0x30b)][_0x2b2919(0x1f9)]){const _0x3b154d=new _0x1b602f[(_0x2b2919(0x308))](_0x1717cb,_0x356efe),{pointGroup:_0x33586d}=(_0x136807=_0x3b154d[_0x2b2919(0xe2)](_0x325b59,_0x5cc401))!=null?_0x136807:{};if(_0x33586d==null||_0x33586d['length']===0x0)continue;this[_0x2b2919(0x20e)](_0x186438,_0x33586d,_0x3a1713,_0x131ee2);}else{if(!_0x589161){const {borderBoxPointGroup:_0xbc1fb9}=_0x2f4dad['getRangePointData'](_0x325b59,_0x5cc401);if(_0xbc1fb9[_0x2b2919(0x1b4)]===0x0)continue;this[_0x2b2919(0x2cd)](_0x186438,_0xbc1fb9,_0x3a1713,_0x131ee2);}}}}}[_0x32ae99(0x2cb)](_0x32f425,_0x9f98ff,_0x592c5e,_0x14da0a,_0xeb9e48){const _0x2b77f3=_0x32ae99,_0x5a4140=this['_getAnchorBounding'](_0x9f98ff),{left:_0x551fc3,top:_0x51629a,height:_0x1f786b}=_0x5a4140,_0x49a2ac=this[_0x2b77f3(0x116)](),_0x3560b1=_0x481beb/_0x49a2ac,_0x102ba7=new _0x367549[(_0x2b77f3(0x22b))](_0x5534bd+_0x598862[_0x2b77f3(0x1ec)][_0x2b77f3(0x293)](_0x381298),{'left':_0x551fc3+_0x592c5e-_0x3560b1,'top':_0x51629a+_0x14da0a,'height':_0x1f786b,'width':_0xe44124,'fill':_0x32f425||_0x367549[_0x2b77f3(0xe0)](_0x598862['COLORS'][_0x2b77f3(0x237)],0x0),'strokeWidth':_0x3560b1,'stroke':_0xd6eb9b,'evented':!0x0});this['_anchor']=_0x102ba7,this[_0x2b77f3(0x179)][_0x2b77f3(0x132)](_0x102ba7,_0x1b602f[_0x2b77f3(0x32d)]);const _0x36978b=new _0x367549[(_0x2b77f3(0x22b))](_0x5534bd+_0x598862['Tools'][_0x2b77f3(0x293)](_0x381298),{'left':_0x551fc3+_0x592c5e-_0x3560b1,'top':_0x51629a+_0x14da0a-_0x193ec2/0x2,'height':_0x193ec2,'width':_0x193ec2,'fill':_0x32f425||_0x367549[_0x2b77f3(0xe0)](_0x598862[_0x2b77f3(0x1a7)][_0x2b77f3(0x237)],0x0),'strokeWidth':0x0,'stroke':_0x32f425||_0x367549[_0x2b77f3(0xe0)](_0x598862['COLORS']['black'],0x0),'evented':!0x1});this[_0x2b77f3(0x15f)]=_0x36978b,this[_0x2b77f3(0x179)][_0x2b77f3(0x132)](_0x36978b,_0x1b602f[_0x2b77f3(0x32d)]);const _0x469907=new _0x2c196a(_0x5534bd+_0x598862[_0x2b77f3(0x1ec)][_0x2b77f3(0x293)](_0x381298),{'left':_0x551fc3+_0x592c5e-_0x3560b1,'top':_0x51629a+_0x14da0a-_0x50f210,'text':_0xeb9e48,'color':_0x32f425});this[_0x2b77f3(0x2d1)]=_0x469907,this[_0x2b77f3(0x179)][_0x2b77f3(0x132)](_0x469907,_0x1b602f['TEXT_RANGE_LAYER_INDEX']),this[_0x2b77f3(0x2c0)]=!0x1;}[_0x32ae99(0x233)](){const _0x410a55=_0x32ae99,_0x2660c6=this[_0x410a55(0xbd)][_0x410a55(0x2b5)]['subscribeEvent'](()=>{const _0xedef24=_0x410a55;this[_0xedef24(0x2c0)]=!0x0;}),_0x145151=this['_anchor']['onPointerLeave$']['subscribeEvent'](()=>{const _0x37623e=_0x410a55;this[_0x37623e(0x196)]&&clearTimeout(this[_0x37623e(0x196)]),this[_0x37623e(0x196)]=setTimeout(()=>{this['_hover']=!0x1;},0x7d0);});return()=>{const _0x2b8af3=_0x410a55;_0x2660c6[_0x2b8af3(0xbf)](),_0x145151[_0x2b8af3(0xbf)]();};}[_0x32ae99(0x2cd)](_0x4e6063,_0x33df19,_0x419be8,_0x20a93e){const _0x5427c8=_0x32ae99,_0x2c1c33=new _0x598862[(_0x5427c8(0x115))](_0x4e6063)['setAlpha'](0.2)[_0x5427c8(0x18c)](),_0x49a9fd=new _0x367549['RegularPolygon'](_0x376bb6+_0x598862['Tools'][_0x5427c8(0x293)](_0x381298),{'pointsGroup':_0x33df19,'fill':_0x2c1c33||_0x367549[_0x5427c8(0xe0)](_0x598862['COLORS'][_0x5427c8(0x237)],0.2),'left':_0x419be8,'top':_0x20a93e,'evented':!0x1,'debounceParentDirty':!0x1});this['_shapes'][_0x5427c8(0x108)](_0x49a9fd),this[_0x5427c8(0x179)][_0x5427c8(0x132)](_0x49a9fd,_0x1b602f['TEXT_RANGE_LAYER_INDEX']);}[_0x32ae99(0x20e)](_0x5bf233,_0x567331,_0x46596f,_0x2bbc4d){const _0x1a23d8=_0x32ae99,_0x42c0fa=new _0x598862[(_0x1a23d8(0x115))](_0x5bf233)[_0x1a23d8(0x228)](0.2)[_0x1a23d8(0x18c)](),_0x747518=new _0x367549['RegularPolygon'](_0x3b7114+_0x598862[_0x1a23d8(0x1ec)]['generateRandomId'](_0x381298),{'pointsGroup':_0x567331,'fill':_0x42c0fa||_0x367549[_0x1a23d8(0xe0)](_0x598862[_0x1a23d8(0x1a7)][_0x1a23d8(0x237)],0.2),'left':_0x46596f,'top':_0x2bbc4d,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x1a23d8(0x336)][_0x1a23d8(0x108)](_0x747518),this['_scene'][_0x1a23d8(0x132)](_0x747518,_0x1b602f[_0x1a23d8(0x32d)]);}[_0x32ae99(0x291)](_0x3f678c){const _0x1fb461=_0x3f678c[0x0],_0xfd5335=_0x1fb461[0x0],_0x588c22=_0x1fb461[0x2],{x:_0x3e4a7c,y:_0x39c3b9}=_0xfd5335,{x:_0x3513db,y:_0x591fce}=_0x588c22;return{'left':_0x3e4a7c,'top':_0x39c3b9,'width':_0x3513db-_0x3e4a7c,'height':_0x591fce-_0x39c3b9};}[_0x32ae99(0x116)](){const _0x17c251=_0x32ae99,{scaleX:_0x29a081,scaleY:_0xc936fd}=this['_scene'][_0x17c251(0x25f)]();return Math['max'](_0x29a081,_0xc936fd);}}var _0x41bafb=Object[_0x32ae99(0x2a2)],_0x1bd884=(_0x1f9daa,_0x3bb1e6,_0x5abda9,_0x3fd600)=>{for(var _0x4f287d=_0x3fd600>0x1?void 0x0:_0x3fd600?_0x41bafb(_0x3bb1e6,_0x5abda9):_0x3bb1e6,_0x522ef8=_0x1f9daa['length']-0x1,_0xc4db14;_0x522ef8>=0x0;_0x522ef8--)(_0xc4db14=_0x1f9daa[_0x522ef8])&&(_0x4f287d=_0xc4db14(_0x4f287d)||_0x4f287d);return _0x4f287d;},_0x3aae0c=(_0x48d557,_0x3aba80)=>(_0x534fc7,_0x37b025)=>_0x3aba80(_0x534fc7,_0x37b025,_0x48d557);let _0x259b08=class extends _0x598862[_0x32ae99(0x313)]{constructor(_0x2b24b9,_0x2a77f4,_0x3d4ad8,_0x3fced5,_0x2f72a1){const _0x4b9940=_0x32ae99;super(),_0x4c36ff(this,_0x4b9940(0x112),[]),_0x4c36ff(this,_0x4b9940(0x333),[]),(this[_0x4b9940(0x307)]=_0x2b24b9,this[_0x4b9940(0x146)]=_0x2a77f4,this[_0x4b9940(0x206)]=_0x3d4ad8,this[_0x4b9940(0x18d)]=_0x3fced5,this[_0x4b9940(0x23c)]=_0x2f72a1,this[_0x4b9940(0x177)]());}[_0x32ae99(0x177)](){const _0x4f51a3=_0x32ae99,_0x5f46c3=this['_context']['unitId'],_0xbe5ccc=this['_docSkeletonManagerService'];this['disposeWithMe'](_0x48488c['combineLatest']([this[_0x4f51a3(0x206)][_0x4f51a3(0x159)](_0x5f46c3),this['_themeService'][_0x4f51a3(0x2ac)]])['pipe'](_0x3485a0[_0x4f51a3(0x23b)](([_0x5505a0,_0x2812aa])=>({'skeleton':_0xbe5ccc[_0x4f51a3(0x22a)](),'cursors':[..._0x5505a0[_0x4f51a3(0x169)]()][_0x4f51a3(0x2fa)](_0x2e8e7c=>({..._0x2e8e7c,'color':this[_0x4f51a3(0x23c)][_0x4f51a3(0x30a)](_0x2e8e7c[_0x4f51a3(0x11d)])}))})))['subscribe'](_0xb168d0=>{const _0x591c24=_0x4f51a3;if(this[_0x591c24(0xc2)](),_0xb168d0){const {skeleton:_0x29a7da,cursors:_0x486016}=_0xb168d0;this['_updateCollabCursors'](_0x29a7da,_0x486016);}})),this['_initResize'](),this[_0x4f51a3(0x310)]();}['_updateCollabCursors'](_0x3d7875,_0x49a9bf){const _0x337baa=_0x32ae99,{scene:_0x4d4ca4,mainComponent:_0x5490f9}=this['_context'],_0xb39bb1=_0x49a9bf[_0x337baa(0x23b)](_0x55f435=>new _0x5e2e77(_0x55f435,_0x4d4ca4,_0x3d7875,_0x5490f9));this[_0x337baa(0x112)]=_0xb39bb1,this[_0x337baa(0x333)]=_0x49a9bf;}[_0x32ae99(0x1bf)](){const _0x1377fd=_0x32ae99;this['_removeCollabCursors']();const {scene:_0x5919b8,mainComponent:_0x2b3af7}=this[_0x1377fd(0x307)],_0x2dd017=this[_0x1377fd(0x146)]['getSkeleton'](),_0x310103=this['_cursors']['map'](_0x38d6df=>new _0x5e2e77(_0x38d6df,_0x5919b8,_0x2dd017,_0x2b3af7));this['_cursorShapes']=_0x310103;}['_removeCollabCursors'](){const _0x4c56a7=_0x32ae99;this['_cursorShapes'][_0x4c56a7(0x12a)](_0x27ecda=>_0x27ecda[_0x4c56a7(0x195)]()),this['_cursorShapes']=[];}[_0x32ae99(0x310)](){const _0x861e74=_0x32ae99,_0x47ab9b=[_0x1b602f[_0x861e74(0x1b0)]['id']];this['disposeWithMe'](this['_commandService'][_0x861e74(0x19d)](_0x5d2fca=>{const _0x4eb8b1=_0x861e74;_0x47ab9b[_0x4eb8b1(0x271)](_0x5d2fca['id'])&&_0x5d2fca[_0x4eb8b1(0x1f7)][_0x4eb8b1(0xca)]===this[_0x4eb8b1(0x307)][_0x4eb8b1(0xca)]&&this['_refreshCollabCursors']();}));}['_initResize'](){const _0x4b1458=_0x32ae99;this[_0x4b1458(0x14d)](_0x598862[_0x4b1458(0x1a0)](this[_0x4b1458(0x307)]['engine'][_0x4b1458(0x223)])[_0x4b1458(0x1b2)](_0x3485a0[_0x4b1458(0x2f1)](_0x16ff9e=>_0x16ff9e[_0x4b1458(0x32e)]===_0x367549['TRANSFORM_CHANGE_OBSERVABLE_TYPE'][_0x4b1458(0x1e9)]),_0x3485a0[_0x4b1458(0x2dd)](0x10))['subscribe'](()=>{const _0x65302a=_0x4b1458;this[_0x65302a(0x1bf)]();}));}};_0x259b08=_0x1bd884([_0x3aae0c(0x1,_0x598862[_0x32ae99(0x331)](_0x1b1e93['DocSkeletonManagerService'])),_0x3aae0c(0x2,_0x598862[_0x32ae99(0x331)](_0x10d2fa)),_0x3aae0c(0x3,_0x598862[_0x32ae99(0x140)]),_0x3aae0c(0x4,_0x598862['Inject'](_0x598862[_0x32ae99(0x1c5)]))],_0x259b08);const _0x288e3d=0x1,_0x372cdf=1.5;class _0x5e3cf0 extends _0x367549[_0x32ae99(0x274)]{constructor(_0x3ce93a,_0xc7638e){const _0x5bd333=_0x32ae99;super(_0x3ce93a,_0xc7638e),_0x4c36ff(this,'_color'),_0x4c36ff(this,_0x5bd333(0x28a),!0x1),_0x4c36ff(this,_0x5bd333(0x1de)),_0x4c36ff(this,_0x5bd333(0x328),''),_0x4c36ff(this,'_labelPosition',_0x5bd333(0xf1)),_0x4c36ff(this,_0x5bd333(0x289)),(_0xc7638e&&this[_0x5bd333(0x120)](_0xc7638e),this[_0x5bd333(0x2b5)][_0x5bd333(0x1a9)](()=>this[_0x5bd333(0x120)]({'hovered':!0x0})),this['onPointerLeave$'][_0x5bd333(0x1a9)](()=>this['setShapeProps']({'hovered':!0x1})));}[_0x32ae99(0x120)](_0x2e9748){const _0x56f4a2=_0x32ae99;var _0x3be43a,_0xb529eb,_0x27b5b7,_0x399043,_0x4dcb1a,_0x4fdaab;this[_0x56f4a2(0xd8)]=(_0x3be43a=_0x2e9748[_0x56f4a2(0x11d)])!=null?_0x3be43a:this['_color'],this['_hovered']=(_0xb529eb=_0x2e9748['hovered'])!=null?_0xb529eb:this[_0x56f4a2(0x28a)],this[_0x56f4a2(0x1de)]=(_0x27b5b7=_0x2e9748['range'])!=null?_0x27b5b7:this[_0x56f4a2(0x1de)],this[_0x56f4a2(0x328)]=(_0x399043=_0x2e9748[_0x56f4a2(0x171)])!=null?_0x399043:this[_0x56f4a2(0x328)],this[_0x56f4a2(0x2a9)]=(_0x4dcb1a=_0x2e9748[_0x56f4a2(0x230)])!=null?_0x4dcb1a:this['_labelPosition'],this[_0x56f4a2(0x289)]=(_0x4fdaab=_0x2e9748['backgroundColor'])!=null?_0x4fdaab:this[_0x56f4a2(0x289)],this[_0x56f4a2(0xf6)]({'width':_0x2e9748[_0x56f4a2(0x255)],'height':_0x2e9748[_0x56f4a2(0x16a)]});}[_0x32ae99(0x1a1)](_0x5b1475){const _0x14eb5a=_0x32ae99,{row:_0x2dd89a,column:_0x4db341}=_0x5b1475;if(_0x2dd89a>=this[_0x14eb5a(0x1de)][_0x14eb5a(0x13e)]&&_0x2dd89a<=this[_0x14eb5a(0x1de)][_0x14eb5a(0x210)]&&_0x4db341>=this[_0x14eb5a(0x1de)][_0x14eb5a(0x15d)]&&_0x4db341<=this[_0x14eb5a(0x1de)][_0x14eb5a(0x157)]){this[_0x14eb5a(0x120)]({'hovered':!0x0});return;}this[_0x14eb5a(0x120)]({'hovered':!0x1});}[_0x32ae99(0x134)](_0x146ec8){return!0x1;}[_0x32ae99(0xea)](_0x2f4188){const _0x3b1360=_0x32ae99;_0x367549[_0x3b1360(0x22b)][_0x3b1360(0xbc)](_0x2f4188,{'width':this[_0x3b1360(0x255)],'height':this['height'],'strokeWidth':_0x372cdf,'stroke':this[_0x3b1360(0xd8)],'evented':!0x1,'fill':this[_0x3b1360(0x289)]}),this[_0x3b1360(0x28a)]&&(_0x2f4188[_0x3b1360(0x2de)](),_0x2f4188[_0x3b1360(0x324)](0x1,0x0,0x0,0x1,this[_0x3b1360(0x255)],this[_0x3b1360(0x2a9)]===_0x3b1360(0x24e)?0x0:-0x14),_0x2c196a[_0x3b1360(0xbc)](_0x2f4188,{'text':this['_name'],'color':this[_0x3b1360(0xd8)]}),_0x2f4188[_0x3b1360(0x1b8)]());}}var _0x584106=Object['getOwnPropertyDescriptor'],_0x5c0903=(_0x214add,_0x51ec8c,_0x20b91e,_0x366baf)=>{const _0x24c869=_0x32ae99;for(var _0x518f2e=_0x366baf>0x1?void 0x0:_0x366baf?_0x584106(_0x51ec8c,_0x20b91e):_0x51ec8c,_0x1abb49=_0x214add[_0x24c869(0x1b4)]-0x1,_0x245001;_0x1abb49>=0x0;_0x1abb49--)(_0x245001=_0x214add[_0x1abb49])&&(_0x518f2e=_0x245001(_0x518f2e)||_0x518f2e);return _0x518f2e;},_0x4b0b01=(_0x460056,_0x3ec68e)=>(_0x1900c6,_0x51953c)=>_0x3ec68e(_0x1900c6,_0x51953c,_0x460056);const _0x56ae77=0x1389;let _0x126a01=class extends _0x598862[_0x32ae99(0x313)]{constructor(_0x5804aa,_0x4a268c,_0x10ffac,_0x5576ac){const _0x1690b5=_0x32ae99;super(),_0x4c36ff(this,_0x1690b5(0x333),new Set()),_0x4c36ff(this,_0x1690b5(0xfc),null),(this[_0x1690b5(0x307)]=_0x5804aa,this[_0x1690b5(0x170)]=_0x4a268c,this['_collabCursorController']=_0x10ffac,this[_0x1690b5(0x23c)]=_0x5576ac,this[_0x1690b5(0x177)]());}['_init'](){const _0x30f3e2=_0x32ae99;this[_0x30f3e2(0x170)][_0x30f3e2(0x25a)][_0x30f3e2(0x1b2)](_0x3485a0[_0x30f3e2(0x344)](this[_0x30f3e2(0x21d)]),_0x3485a0[_0x30f3e2(0x1c6)](_0x7354b9=>{const _0x2ea506=_0x30f3e2;if(_0x7354b9){const _0x35bd0c=_0x7354b9[_0x2ea506(0xf0)];return _0x48488c[_0x2ea506(0x2ed)](this[_0x2ea506(0x206)]['getCollabCursors$'](this[_0x2ea506(0x307)][_0x2ea506(0xca)]),this[_0x2ea506(0x23c)][_0x2ea506(0x2ac)])[_0x2ea506(0x1b2)](_0x3485a0['map'](([_0x47e656,_0x3a7b0])=>{const _0x4ce7c2=_0x2ea506,_0x1196ca=new Map();return _0x47e656[_0x4ce7c2(0x12a)]((_0x2581c,_0x447f24)=>{const _0x48dbc6=_0x4ce7c2;if(_0x2581c['sheetID']===_0x35bd0c){const _0x1e0b7f={..._0x2581c};_0x1e0b7f[_0x48dbc6(0x11d)]=this[_0x48dbc6(0x23c)][_0x48dbc6(0x30a)](_0x2581c[_0x48dbc6(0x11d)]),_0x1196ca[_0x48dbc6(0x33f)](_0x447f24,_0x1e0b7f);}}),{'skeleton':_0x7354b9,'cursors':_0x1196ca};}));}return _0x48488c['of']({'skeleton':null,'cursors':new Map()});}))[_0x30f3e2(0x10c)](({skeleton:_0x31a31f,cursors:_0x117f67})=>{const _0x3edaa0=_0x30f3e2;this[_0x3edaa0(0xc2)](),_0x31a31f&&this[_0x3edaa0(0x2af)](_0x31a31f,_0x117f67);}),this[_0x30f3e2(0x170)][_0x30f3e2(0x25a)][_0x30f3e2(0x10c)](_0x3d30d0=>{const _0x39d46f=_0x30f3e2;if(_0x3d30d0==null)return;const {skeleton:_0x11239}=_0x3d30d0,{scene:_0x4dc0ee}=this[_0x39d46f(0x307)];_0x4dc0ee[_0x39d46f(0x1a8)][_0x39d46f(0x1a9)](_0x598862[_0x39d46f(0x143)](_0x1cfd88=>{const _0x53f643=_0x39d46f;var _0x536c47,_0x3ce86b;const {offsetX:_0x2c9373,offsetY:_0x345ab9}=_0x1cfd88,{x:_0x4b399b,y:_0x2c3083}=_0x4dc0ee[_0x53f643(0x18a)](_0x367549[_0x53f643(0x2ca)][_0x53f643(0x24a)]([_0x2c9373,_0x345ab9])),{scaleX:_0x382105,scaleY:_0x14e4a2}=_0x4dc0ee[_0x53f643(0x25f)](),_0x3ba421=_0x4dc0ee[_0x53f643(0x33b)](_0x367549[_0x53f643(0x278)]['VIEW_MAIN']),_0x15acfd=_0x4dc0ee['getVpScrollXYInfoByPosToVp'](_0x367549['Vector2'][_0x53f643(0x24a)]([_0x4b399b,_0x2c3083]),_0x3ba421),_0x956b55=_0x11239[_0x53f643(0x1e0)](_0x2c9373,_0x345ab9,_0x382105,_0x14e4a2,_0x15acfd);((_0x536c47=this[_0x53f643(0xfc)])==null?void 0x0:_0x536c47['column'])===_0x956b55[_0x53f643(0x2b0)]&&((_0x3ce86b=this['_lastPointer'])==null?void 0x0:_0x3ce86b[_0x53f643(0x2ba)])===_0x956b55[_0x53f643(0x2ba)]||this[_0x53f643(0x333)][_0x53f643(0x12a)](_0x1251e7=>{const _0x5582e3=_0x53f643;_0x1251e7[_0x5582e3(0x1a1)](_0x956b55);});},0x64));});}[_0x32ae99(0x2af)](_0x572bd7,_0x5e403d){const _0x342c83=_0x32ae99;var _0x597e8c;const _0x588130=(_0x597e8c=this[_0x342c83(0x170)]['getCurrent']())==null?void 0x0:_0x597e8c['skeleton'];if(!_0x588130)return;const _0x1ae237=this[_0x342c83(0x2fe)]();if(!_0x1ae237)return;this['_cursors'][_0x342c83(0x12a)](_0x2e9026=>{const _0x495338=_0x342c83;_0x2e9026[_0x495338(0x2f2)]();});const {scene:_0x29e43a}=_0x1ae237,_0x93dc43=_0xc060d3(Array[_0x342c83(0x2eb)](_0x5e403d['values']()))[_0x342c83(0x23b)](_0x367434=>{const _0x19cb6d=_0x342c83,{color:_0xd2cc41,range:_0x36a53b,name:_0x22be6a,selection:_0x44e956,sheetID:_0x46026e}=_0x367434,{startColumn:_0x5c5a84,startRow:_0x3213d8,endColumn:_0x11565c,endRow:_0x53d321}=_0x36a53b,_0x55dcf6=_0x18a858[_0x19cb6d(0x126)](_0x3213d8,_0x5c5a84,_0x29e43a,_0x588130),_0x363701=_0x18a858[_0x19cb6d(0x126)](_0x53d321,_0x11565c,_0x29e43a,_0x588130),{columnHeaderHeightAndMarginTop:_0x1f248b}=_0x588130,{startX:_0x266130,startY:_0x1625b0}=_0x55dcf6,{endX:_0x26b7fa,endY:_0xea5259}=_0x363701,_0x23630a=_0x26b7fa-_0x266130,_0x2d1ea2=_0xea5259-_0x1625b0,_0x2dda67={'labelPosition':_0x1625b0-_0x1f248b>=_0x50f210?'top':_0x19cb6d(0x24e),'sheetID':_0x46026e,'range':_0x36a53b,'color':_0xd2cc41,'name':_0x22be6a,'selection':_0x44e956,'left':_0x266130,'top':_0x1625b0,'width':_0x23630a,'height':_0x2d1ea2,'evented':!0x1,'zIndex':_0x56ae77};return new _0x5e3cf0(_0x22be6a,_0x2dda67);});_0x29e43a[_0x342c83(0x121)](_0x93dc43,_0x288e3d),this[_0x342c83(0x333)]=new Set(_0x93dc43);}[_0x32ae99(0xc2)](){const _0x925013=_0x32ae99;var _0x176919;(_0x176919=this[_0x925013(0x333)])==null||_0x176919[_0x925013(0x12a)](_0x35a808=>_0x35a808[_0x925013(0x195)]());}['_getSheetObject'](){const _0x433981=_0x32ae99;return _0x18a858['getSheetObject'](this['_context'][_0x433981(0x162)],this[_0x433981(0x307)]);}};_0x126a01=_0x5c0903([_0x4b0b01(0x1,_0x598862[_0x32ae99(0x331)](_0x18a858[_0x32ae99(0xf4)])),_0x4b0b01(0x2,_0x598862[_0x32ae99(0x331)](_0x10d2fa)),_0x4b0b01(0x3,_0x598862[_0x32ae99(0x331)](_0x598862[_0x32ae99(0x1c5)]))],_0x126a01);function _0xc060d3(_0x2cb1c8){const _0x19c83b=_0x32ae99,_0x587400=new Map();return _0x2cb1c8[_0x19c83b(0x12a)](_0x1d5084=>{const _0x553353=_0x19c83b;if(_0x587400[_0x553353(0x243)](_0x1d5084['selection'])){const _0xa9c270=_0x587400[_0x553353(0x256)](_0x1d5084[_0x553353(0x15c)]);_0xa9c270[_0x553353(0x171)]+=',\x20'+_0x1d5084['name'];}else _0x587400[_0x553353(0x33f)](_0x1d5084[_0x553353(0x15c)],_0x1d5084);}),Array['from'](_0x587400[_0x19c83b(0x169)]());}var _0x53a9f7=function(){const _0xa36be5=_0x32ae99;return _0x53a9f7=Object[_0xa36be5(0x158)]||function(_0x3a8fd0){const _0x1e09ac=_0xa36be5;for(var _0x4f6db9,_0x46b118=0x1,_0x2d4959=arguments['length'];_0x46b118<_0x2d4959;_0x46b118++){_0x4f6db9=arguments[_0x46b118];for(var _0x25e3ac in _0x4f6db9)Object[_0x1e09ac(0xed)][_0x1e09ac(0x345)]['call'](_0x4f6db9,_0x25e3ac)&&(_0x3a8fd0[_0x25e3ac]=_0x4f6db9[_0x25e3ac]);}return _0x3a8fd0;},_0x53a9f7[_0xa36be5(0x29f)](this,arguments);},_0x2ff75b=function(_0x58bdde,_0x2028bc){const _0x1bf573=_0x32ae99;var _0x3b4ce9={};for(var _0x5a1a9c in _0x58bdde)Object[_0x1bf573(0xed)][_0x1bf573(0x345)][_0x1bf573(0x174)](_0x58bdde,_0x5a1a9c)&&_0x2028bc[_0x1bf573(0x1dc)](_0x5a1a9c)<0x0&&(_0x3b4ce9[_0x5a1a9c]=_0x58bdde[_0x5a1a9c]);if(_0x58bdde!=null&&typeof Object[_0x1bf573(0x297)]==_0x1bf573(0x11f)){for(var _0x56880d=0x0,_0x5a1a9c=Object['getOwnPropertySymbols'](_0x58bdde);_0x56880d<_0x5a1a9c[_0x1bf573(0x1b4)];_0x56880d++)_0x2028bc[_0x1bf573(0x1dc)](_0x5a1a9c[_0x56880d])<0x0&&Object[_0x1bf573(0xed)][_0x1bf573(0x14c)][_0x1bf573(0x174)](_0x58bdde,_0x5a1a9c[_0x56880d])&&(_0x3b4ce9[_0x5a1a9c[_0x56880d]]=_0x58bdde[_0x5a1a9c[_0x56880d]]);}return _0x3b4ce9;},_0x5236c7=_0xc8a5b1[_0x32ae99(0x2c9)](function(_0x2547ee,_0x2b0a74){const _0x14eb06=_0x32ae99;var _0x118157=_0x2547ee['icon'],_0x4b5596=_0x2547ee['id'],_0x2fa670=_0x2547ee[_0x14eb06(0x254)],_0x1c9438=_0x2547ee['extend'],_0x124f65=_0x2ff75b(_0x2547ee,[_0x14eb06(0x2a0),'id',_0x14eb06(0x254),_0x14eb06(0x33d)]),_0x476ef5='univerjs-icon\x20univerjs-icon-'[_0x14eb06(0x2b8)](_0x4b5596,'\x20')[_0x14eb06(0x2b8)](_0x2fa670||'')[_0x14eb06(0xec)](),_0x335cf2=_0xc8a5b1[_0x14eb06(0x2bb)]('_'[_0x14eb06(0x2b8)](_0x295ccd()));return _0x21ce11(_0x118157,''[_0x14eb06(0x2b8)](_0x4b5596),{'defIds':_0x118157[_0x14eb06(0xf2)],'idSuffix':_0x335cf2[_0x14eb06(0x12c)]},_0x53a9f7({'ref':_0x2b0a74,'className':_0x476ef5},_0x124f65),_0x1c9438);});function _0x21ce11(_0x59ffc2,_0x6cc60d,_0x1dcdac,_0x53d10c,_0x1a61ba){const _0x4710ab=_0x32ae99;return _0xc8a5b1[_0x4710ab(0x1ed)](_0x59ffc2[_0x4710ab(0x1be)],_0x53a9f7(_0x53a9f7({'key':_0x6cc60d},_0x4c0684(_0x59ffc2,_0x1dcdac,_0x1a61ba)),_0x53d10c),(_0x5286d3(_0x59ffc2,_0x1dcdac)[_0x4710ab(0x259)]||[])[_0x4710ab(0x23b)](function(_0x2831c1,_0x3de314){const _0x501827=_0x4710ab;return _0x21ce11(_0x2831c1,''[_0x501827(0x2b8)](_0x6cc60d,'-')[_0x501827(0x2b8)](_0x59ffc2[_0x501827(0x1be)],'-')[_0x501827(0x2b8)](_0x3de314),_0x1dcdac,void 0x0,_0x1a61ba);}));}function _0x4c0684(_0x30c421,_0x4b7956,_0x353f48){const _0x2a68c2=_0x32ae99;var _0x409953=_0x53a9f7({},_0x30c421[_0x2a68c2(0x1ad)]);_0x353f48!=null&&_0x353f48[_0x2a68c2(0x2ae)]&&_0x409953[_0x2a68c2(0xeb)]===_0x2a68c2(0x2ae)&&(_0x409953[_0x2a68c2(0xeb)]=_0x353f48[_0x2a68c2(0x2ae)]),_0x30c421[_0x2a68c2(0x1be)]==='mask'&&_0x409953['id']&&(_0x409953['id']=_0x409953['id']+_0x4b7956[_0x2a68c2(0x27e)]),Object['entries'](_0x409953)[_0x2a68c2(0x12a)](function(_0x52b8e4){const _0x233b91=_0x2a68c2;var _0xd29189=_0x52b8e4[0x0],_0x8acb20=_0x52b8e4[0x1];_0xd29189==='mask'&&typeof _0x8acb20==_0x233b91(0x173)&&(_0x409953[_0xd29189]=_0x8acb20['replace'](/url\(#(.*)\)/,_0x233b91(0x219)[_0x233b91(0x2b8)](_0x4b7956[_0x233b91(0x27e)],')')));});var _0x678b51=_0x4b7956[_0x2a68c2(0xf2)];return!_0x678b51||_0x678b51[_0x2a68c2(0x1b4)]===0x0||(_0x30c421[_0x2a68c2(0x1be)]==='use'&&_0x409953[_0x2a68c2(0x2a3)]&&(_0x409953[_0x2a68c2(0x2a3)]=_0x409953[_0x2a68c2(0x2a3)]+_0x4b7956[_0x2a68c2(0x27e)]),Object[_0x2a68c2(0x2c1)](_0x409953)['forEach'](function(_0xe4e12b){const _0x10e997=_0x2a68c2;var _0x4f06a9=_0xe4e12b[0x0],_0x406815=_0xe4e12b[0x1];typeof _0x406815==_0x10e997(0x173)&&(_0x409953[_0x4f06a9]=_0x406815['replace'](/url\(#(.*)\)/,_0x10e997(0x219)[_0x10e997(0x2b8)](_0x4b7956['idSuffix'],')')));})),_0x409953;}function _0x5286d3(_0x19f5f6,_0x3b0a21){const _0x306912=_0x32ae99;var _0x12bafa,_0x2fbc09=_0x3b0a21[_0x306912(0xf2)];return!_0x2fbc09||_0x2fbc09[_0x306912(0x1b4)]===0x0?_0x19f5f6:_0x19f5f6[_0x306912(0x1be)]===_0x306912(0x1e8)&&(!((_0x12bafa=_0x19f5f6[_0x306912(0x259)])===null||_0x12bafa===void 0x0)&&_0x12bafa[_0x306912(0x1b4)])?_0x53a9f7(_0x53a9f7({},_0x19f5f6),{'children':_0x19f5f6['children'][_0x306912(0x23b)](function(_0x4402ec){const _0x573027=_0x306912;return typeof _0x4402ec[_0x573027(0x1ad)]['id']==_0x573027(0x173)&&_0x2fbc09&&_0x2fbc09[_0x573027(0x271)](_0x4402ec[_0x573027(0x1ad)]['id'])?_0x53a9f7(_0x53a9f7({},_0x4402ec),{'attrs':_0x53a9f7(_0x53a9f7({},_0x4402ec[_0x573027(0x1ad)]),{'id':_0x4402ec[_0x573027(0x1ad)]['id']+_0x3b0a21['idSuffix']})}):_0x4402ec;})}):_0x19f5f6;}function _0x295ccd(){const _0x24a040=_0x32ae99;return Math[_0x24a040(0xcf)]()[_0x24a040(0x200)](0x24)['substring'](0x2,0x8);}_0x5236c7[_0x32ae99(0x226)]=_0x32ae99(0x1b5);var _0x197f7a={'tag':_0x32ae99(0x282),'attrs':{'xmlns':'http://www.w3.org/2000/svg','fill':_0x32ae99(0x123),'viewBox':'0\x200\x2016\x2016','width':_0x32ae99(0x28f),'height':_0x32ae99(0x28f)},'children':[{'tag':'g','attrs':{'clipPath':_0x32ae99(0x30c)},'children':[{'tag':_0x32ae99(0x113),'attrs':{'stroke':_0x32ae99(0x204),'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':_0x32ae99(0xfe),'strokeLinejoin':_0x32ae99(0xfe),'strokeWidth':1.2}}]},{'tag':'defs','attrs':{},'children':[{'tag':_0x32ae99(0x19b),'attrs':{'id':_0x32ae99(0x130)},'children':[{'tag':_0x32ae99(0x113),'attrs':{'fill':_0x32ae99(0x2a7),'d':_0x32ae99(0x232)}}]}]}],'defIds':[_0x32ae99(0x130)]},_0x36421b=_0xc8a5b1[_0x32ae99(0x2c9)](function(_0x55ef40,_0x5e4280){const _0x3265d3=_0x32ae99;return _0xc8a5b1[_0x3265d3(0x1ed)](_0x5236c7,Object['assign']({},_0x55ef40,{'id':_0x3265d3(0xc3),'ref':_0x5e4280,'icon':_0x197f7a}));});_0x36421b['displayName']=_0x32ae99(0x34c);var _0x273ac3={'tag':_0x32ae99(0x282),'attrs':{'xmlns':_0x32ae99(0x1d4),'fill':_0x32ae99(0x123),'viewBox':_0x32ae99(0x2e0),'width':_0x32ae99(0x28f),'height':_0x32ae99(0x28f)},'children':[{'tag':'g','attrs':{'clipPath':_0x32ae99(0x312)},'children':[{'tag':'path','attrs':{'stroke':_0x32ae99(0x204),'d':'M4.5865\x2011.6499C3.36983\x2011.6499\x201.6665\x2011.1024\x201.6665\x208.9124C1.6665\x206.3574\x204.2215\x205.8099\x204.9515\x205.8099C5.3165\x204.5324\x206.0465\x202.5249\x208.9665\x202.5249C11.5215\x202.5249\x2012.6165\x203.9849\x2012.9815\x205.2624C12.9815\x205.2624\x2016.2665\x205.6274\x2016.2665\x208.7299C16.2665\x2010.9199\x2014.8065\x2011.6499\x2013.3465\x2011.6499M6.7767\x2011.6497L8.9667\x2013.4747L11.8867\x209.82466','strokeLinecap':_0x32ae99(0xfe),'strokeLinejoin':_0x32ae99(0xfe),'strokeWidth':1.2}}]},{'tag':_0x32ae99(0x1e8),'attrs':{},'children':[{'tag':_0x32ae99(0x19b),'attrs':{'id':_0x32ae99(0x2f3)},'children':[{'tag':_0x32ae99(0x113),'attrs':{'fill':'white','d':_0x32ae99(0x232),'transform':_0x32ae99(0x154)}}]}]}],'defIds':[_0x32ae99(0x2f3)]},_0x419f69=_0xc8a5b1[_0x32ae99(0x2c9)](function(_0x152c58,_0x53c49c){const _0x52010c=_0x32ae99;return _0xc8a5b1['createElement'](_0x5236c7,Object[_0x52010c(0x158)]({},_0x152c58,{'id':_0x52010c(0x315),'ref':_0x53c49c,'icon':_0x273ac3}));});_0x419f69[_0x32ae99(0x226)]=_0x32ae99(0x2c4);function _0x4302a2(_0x162190){const _0x37f4fc=_0x32ae99;switch(_0x162190){case _0x4a1c4e[_0x37f4fc(0x1a2)][_0x37f4fc(0x2c5)]:return _0x37f4fc(0x262);case _0x4a1c4e['CollaborationStatus'][_0x37f4fc(0xe4)]:return'collabStatus.conflict';case _0x4a1c4e[_0x37f4fc(0x1a2)][_0x37f4fc(0x2b3)]:return _0x37f4fc(0x13a);case _0x4a1c4e[_0x37f4fc(0x1a2)][_0x37f4fc(0x188)]:return _0x37f4fc(0x203);case _0x4a1c4e[_0x37f4fc(0x1a2)][_0x37f4fc(0xc1)]:case _0x4a1c4e[_0x37f4fc(0x1a2)][_0x37f4fc(0x342)]:return _0x37f4fc(0x348);case _0x4a1c4e[_0x37f4fc(0x1a2)]['SYNCED']:case _0x4a1c4e[_0x37f4fc(0x1a2)][_0x37f4fc(0x18e)]:return _0x37f4fc(0x263);}}function _0x33ddc8(_0x311620){const _0x2daf7f=_0x32ae99,{status$:_0x3d52d2}=_0x311620,_0x599af3=_0x2767d2['useObservable'](_0x3d52d2,_0x4a1c4e[_0x2daf7f(0x1a2)][_0x2daf7f(0x188)]),_0x5955dd=_0x2767d2['useDependency'](_0x598862[_0x2daf7f(0x2b7)]),_0x57b5cb=_0x2767d2['useDependency'](_0x4a1c4e[_0x2daf7f(0x2d3)]),_0x8eec51=_0x599af3!==_0x4a1c4e[_0x2daf7f(0x1a2)][_0x2daf7f(0x2c5)],_0x3fb0f0=_0x5955dd['t'](_0x4302a2(_0x599af3)),_0x4c892e=_0x8eec51?_0x1c5269[_0x2daf7f(0x2c8)](_0x419f69,{}):_0x1c5269[_0x2daf7f(0x2c8)](_0x36421b,{}),_0x56de33=_0xc8a5b1['useCallback'](()=>{const _0x54a626=_0x2daf7f;_0x8eec51||_0x57b5cb[_0x54a626(0x15a)]();},[_0x8eec51,_0x57b5cb]);function _0x5d8db5(){const _0xf2b4ec=_0x2daf7f;return _0x1c5269['jsxs'](_0xf2b4ec(0x2db),{'className':_0xf2b4ec(0x11a),'onClick':_0x56de33,'children':[_0x1c5269['jsx']('div',{'className':_0x5e78af[_0xf2b4ec(0xee)](_0xf2b4ec(0x182),{'univer-text-green-500':_0x8eec51,'univer-text-red-500':!_0x8eec51}),'children':_0x4c892e}),_0x1c5269[_0xf2b4ec(0x2c8)](_0xf2b4ec(0x2db),{'className':_0xf2b4ec(0x209),'children':_0x3fb0f0})]});}return _0x8eec51?_0x5d8db5():_0x1c5269[_0x2daf7f(0x2c8)](_0x5e78af[_0x2daf7f(0x122)],{'title':_0x5955dd['t'](_0x2daf7f(0x1bc)),'children':_0x5d8db5()});}var _0x208b98=Object[_0x32ae99(0x2a2)],_0x4118f2=(_0x47ee54,_0x24f2e5,_0x48388e,_0x3f954a)=>{const _0x443928=_0x32ae99;for(var _0x40cb0d=_0x3f954a>0x1?void 0x0:_0x3f954a?_0x208b98(_0x24f2e5,_0x48388e):_0x24f2e5,_0x188a19=_0x47ee54[_0x443928(0x1b4)]-0x1,_0x36f88c;_0x188a19>=0x0;_0x188a19--)(_0x36f88c=_0x47ee54[_0x188a19])&&(_0x40cb0d=_0x36f88c(_0x40cb0d)||_0x40cb0d);return _0x40cb0d;},_0x289489=(_0x8a4460,_0x483cc3)=>(_0x50b19d,_0x1cdbd9)=>_0x483cc3(_0x50b19d,_0x1cdbd9,_0x8a4460);_0x451931[_0x32ae99(0x11e)]=class extends _0x598862[_0x32ae99(0x190)]{constructor(_0x22f3e6,_0x31c5e1,_0x104cd0,_0x4f4c15){const _0x1c5dbf=_0x32ae99;super(),_0x4c36ff(this,_0x1c5dbf(0x1ab),new _0x48488c[(_0x1c5dbf(0x341))](_0x4a1c4e[_0x1c5dbf(0x1a2)][_0x1c5dbf(0x188)])),(this[_0x1c5dbf(0x197)]=_0x22f3e6,this['_injector']=_0x31c5e1,this[_0x1c5dbf(0x1d7)]=_0x104cd0,this['_uiPartsService']=_0x4f4c15,this[_0x1c5dbf(0x147)](),this[_0x1c5dbf(0x34a)]());}[_0x32ae99(0x34a)](){const _0x5498ba=_0x32ae99;this[_0x5498ba(0x14d)](this[_0x5498ba(0x197)]['focused$'][_0x5498ba(0x1b2)](_0x48488c[_0x5498ba(0x1c6)](()=>{const _0x1b66e4=_0x5498ba,_0x4c1875=this[_0x1b66e4(0x197)][_0x1b66e4(0xfd)]();return _0x4c1875?this[_0x1b66e4(0x1d7)]['getCollabEntity$'](_0x4c1875[_0x1b66e4(0x301)]()):_0x48488c['of'](null);}),_0x48488c['switchMap'](_0x3ad9ba=>_0x3ad9ba?_0x3ad9ba[_0x5498ba(0x2e9)]:_0x48488c['of'](_0x4a1c4e[_0x5498ba(0x1a2)]['NOT_COLLAB'])))[_0x5498ba(0x10c)](_0x52bfbb=>{const _0x2ee30a=_0x5498ba;this[_0x2ee30a(0x1ab)]['next'](_0x52bfbb);}));}[_0x32ae99(0x147)](){const _0x5af926=_0x32ae99;this['disposeWithMe'](this[_0x5af926(0xe5)]['registerComponent'](_0x2767d2['BuiltInUIPart'][_0x5af926(0xc6)],()=>_0x2767d2[_0x5af926(0x2f5)](_0x1ff920({'status$':this[_0x5af926(0x1ab)][_0x5af926(0xbb)]()}),this[_0x5af926(0x265)])));}},_0x451931[_0x32ae99(0x11e)]=_0x4118f2([_0x289489(0x0,_0x598862['IUniverInstanceService']),_0x289489(0x1,_0x598862[_0x32ae99(0x331)](_0x598862['Injector'])),_0x289489(0x2,_0x598862[_0x32ae99(0x331)](_0x4a1c4e[_0x32ae99(0x280)])),_0x289489(0x3,_0x2767d2['IUIPartsService'])],_0x451931['DesktopCollaborationStatusDisplayController']);function _0x1ff920(_0x23973d){const {status$:_0x2846e2}=_0x23973d;return function(){const _0x4d1233=_0x37bd;return _0x1c5269[_0x4d1233(0x2c8)](_0x33ddc8,{'status$':_0x2846e2});};}var _0x204579=Object['getOwnPropertyDescriptor'],_0xc20e77=(_0x4d029d,_0x5b2d06,_0x311b75,_0x343910)=>{const _0x115a34=_0x32ae99;for(var _0x58c2ae=_0x343910>0x1?void 0x0:_0x343910?_0x204579(_0x5b2d06,_0x311b75):_0x5b2d06,_0x56e640=_0x4d029d[_0x115a34(0x1b4)]-0x1,_0x543c70;_0x56e640>=0x0;_0x56e640--)(_0x543c70=_0x4d029d[_0x56e640])&&(_0x58c2ae=_0x543c70(_0x58c2ae)||_0x58c2ae);return _0x58c2ae;},_0x5ded33=(_0x4f4f4d,_0x5e4807)=>(_0x50bfa0,_0x1d336f)=>_0x5e4807(_0x50bfa0,_0x1d336f,_0x4f4f4d);let _0x10fa12=class extends _0x598862['Disposable']{constructor(_0x308c85,_0x13febd,_0x390c1e,_0x118e5e,_0x55878b,_0x2ecaa5){const _0x2e77b7=_0x32ae99;super(),this['_beforeCloseService']=_0x308c85,this['_localCacheService']=_0x13febd,this[_0x2e77b7(0x2a1)]=_0x390c1e,this['_messageService']=_0x118e5e,this[_0x2e77b7(0x2a6)]=_0x55878b,this['_localeService']=_0x2ecaa5,this['_setupBeforeClosingHandler'](),this[_0x2e77b7(0x2fd)]();}[_0x32ae99(0x221)](){const _0x4d552c=_0x32ae99;this[_0x4d552c(0x14d)](this[_0x4d552c(0x318)][_0x4d552c(0x1e3)](()=>{const _0x14afe4=_0x4d552c;if(this['_localCacheService'][_0x14afe4(0x14f)][_0x14afe4(0x142)])return this[_0x14afe4(0x2e2)]['t']('collaboration-client.offline-data-not-saved');}));}[_0x32ae99(0x2fd)](){const _0x1ac503=_0x32ae99;this['disposeWithMe'](this[_0x1ac503(0x2a1)][_0x1ac503(0x2d6)][_0x1ac503(0x10c)](_0x1cf437=>{const _0xe55501=_0x1ac503;_0x1cf437['id']===_0x4a1c4e[_0xe55501(0x2be)]['OTHER_CLIENT_EDITING']&&this[_0xe55501(0x296)]['show']({'type':_0x5e78af['MessageType'][_0xe55501(0x23e)],'content':this[_0xe55501(0x2e2)]['t'](_0xe55501(0xf8))}),_0x1cf437['id']===_0x4a1c4e[_0xe55501(0x2be)][_0xe55501(0x2fb)]&&this[_0xe55501(0x296)][_0xe55501(0x25c)]({'type':_0x5e78af[_0xe55501(0x109)]['Warning'],'content':this[_0xe55501(0x2e2)]['t'](_0xe55501(0x1cc))}),_0x1cf437['id']===_0x4a1c4e[_0xe55501(0x2be)][_0xe55501(0x1af)]&&this[_0xe55501(0x2a6)]['show']({'title':this['_localeService']['t'](_0xe55501(0x2b4)),'content':this[_0xe55501(0x2e2)]['t'](_0xe55501(0xf7)),'type':_0xe55501(0x24b),'duration':0x0}),_0x1cf437['id']===_0x4a1c4e[_0xe55501(0x2be)][_0xe55501(0xe4)]&&this[_0xe55501(0x296)][_0xe55501(0x25c)]({'type':_0x5e78af[_0xe55501(0x109)][_0xe55501(0x2c3)],'content':this[_0xe55501(0x2e2)]['t']('collaboration.closeRoom')+'('+_0x1cf437[_0xe55501(0x320)]+')'}),_0x1cf437['id']===_0x4a1c4e['CollaborationUIEventId']['JOIN_ROOM_FAILED']&&this[_0xe55501(0x296)][_0xe55501(0x25c)]({'type':_0x5e78af[_0xe55501(0x109)][_0xe55501(0x23e)],'content':this['_localeService']['t'](_0x1cf437[_0xe55501(0x320)]||'')}),_0x1cf437['id']===_0x4a1c4e[_0xe55501(0x2be)][_0xe55501(0x346)]&&this[_0xe55501(0x296)]['show']({'type':_0x5e78af[_0xe55501(0x109)][_0xe55501(0x23e)],'content':this[_0xe55501(0x2e2)]['t']('session.will-retry')}),_0x1cf437['id']===_0x4a1c4e[_0xe55501(0x2be)][_0xe55501(0x211)]&&this[_0xe55501(0x296)][_0xe55501(0x25c)]({'type':_0x5e78af[_0xe55501(0x109)][_0xe55501(0x2c3)],'content':this[_0xe55501(0x2e2)]['t']('session.connection-failed')}),_0x1cf437['id']===_0x4a1c4e[_0xe55501(0x2be)][_0xe55501(0x14e)]&&this[_0xe55501(0x296)][_0xe55501(0x25c)]({'type':_0x5e78af[_0xe55501(0x109)][_0xe55501(0x2c3)],'content':this[_0xe55501(0x2e2)]['t'](_0xe55501(0x30f))});}));}};_0x10fa12=_0xc20e77([_0x5ded33(0x0,_0x2767d2[_0x32ae99(0x208)]),_0x5ded33(0x1,_0x4a1c4e[_0x32ae99(0xe3)]),_0x5ded33(0x2,_0x598862[_0x32ae99(0x331)](_0x4a1c4e[_0x32ae99(0x11b)])),_0x5ded33(0x3,_0x2767d2['IMessageService']),_0x5ded33(0x4,_0x2767d2[_0x32ae99(0xc9)]),_0x5ded33(0x5,_0x598862[_0x32ae99(0x331)](_0x598862[_0x32ae99(0x2b7)]))],_0x10fa12);const _0x31e65a='collaboration-client-ui.config',_0x3c5da6={},_0x5e332f=_0x598862[_0x32ae99(0x1ae)](_0x32ae99(0x1e6));var _0x556dc1=Object[_0x32ae99(0x2a2)],_0x477966=(_0x2db7d2,_0xaec086,_0x3d2038,_0xe2e52e)=>{const _0x219027=_0x32ae99;for(var _0x5815f8=_0xe2e52e>0x1?void 0x0:_0xe2e52e?_0x556dc1(_0xaec086,_0x3d2038):_0xaec086,_0x10a6ef=_0x2db7d2[_0x219027(0x1b4)]-0x1,_0x204a8d;_0x10a6ef>=0x0;_0x10a6ef--)(_0x204a8d=_0x2db7d2[_0x10a6ef])&&(_0x5815f8=_0x204a8d(_0x5815f8)||_0x5815f8);return _0x5815f8;},_0x150ba6=(_0x28dae9,_0x5d81d8)=>(_0x5c65d8,_0x22705f)=>_0x5d81d8(_0x5c65d8,_0x22705f,_0x28dae9);_0x451931[_0x32ae99(0x281)]=class extends _0x598862[_0x32ae99(0x313)]{constructor(_0x5d4982,_0xb8004d,_0x3bd5b8,_0x51e70e,_0x1cf62e){const _0x59f177=_0x32ae99;super(),this[_0x59f177(0x2bc)]=_0x5d4982,this[_0x59f177(0xd9)]=_0xb8004d,this[_0x59f177(0x18d)]=_0x3bd5b8,this[_0x59f177(0x101)]=_0x51e70e,_0x1cf62e?_0x1cf62e==null||_0x1cf62e['whenReady']()[_0x59f177(0x2a5)](()=>this[_0x59f177(0x177)]()):(this[_0x59f177(0xd9)][_0x59f177(0xc4)](_0x59f177(0x319),_0x59f177(0x238)),this[_0x59f177(0x177)]());}async[_0x32ae99(0x177)](){const _0xce8fb6=_0x32ae99,_0xaca1ea=this['_urlService'][_0xce8fb6(0x1f4)](_0xce8fb6(0x162)),_0x5c90be=this[_0xce8fb6(0x2bc)][_0xce8fb6(0x1f4)]('type'),_0x1b82b1=this[_0xce8fb6(0x2bc)]['getParam'](_0xce8fb6(0x22c));if(!_0xaca1ea||!_0x5c90be){this['_logService'][_0xce8fb6(0xc4)](_0xce8fb6(0x319),'No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.');return;}const _0x4c3dfa=await this[_0xce8fb6(0x101)][_0xce8fb6(0x1d5)](_0xaca1ea,Number(_0x5c90be),_0x1b82b1);_0x4c3dfa&&_0x4c3dfa instanceof _0x598862['Workbook']&&this['_setupSubUnitSync'](_0x4c3dfa);}async[_0x32ae99(0x167)](_0x5458d1){const _0x379b84=_0x32ae99;await this[_0x379b84(0x183)](_0x5458d1),_0x5458d1['activeSheet$'][_0x379b84(0x1b2)](_0x48488c['takeUntil'](this[_0x379b84(0x21d)]))[_0x379b84(0x10c)](_0x350acb=>{const _0x51687a=_0x379b84;_0x350acb&&this[_0x51687a(0x1f1)](_0x350acb);}),this[_0x379b84(0x2bc)][_0x379b84(0x277)][_0x379b84(0x1b2)](_0x48488c['takeUntil'](this[_0x379b84(0x21d)]))[_0x379b84(0x10c)](()=>this['_updateSubUnitFromURLParams'](_0x5458d1));}[_0x32ae99(0x1f1)](_0x516993,_0x51214a=!0x1){const _0x48385c=_0x32ae99,_0x3d5b56=this[_0x48385c(0x2bc)]['getParam'](_0x48385c(0x22c));_0x516993[_0x48385c(0x25e)]()!==_0x3d5b56&&this['_urlService'][_0x48385c(0x306)](_0x48385c(0x22c),_0x516993[_0x48385c(0x25e)](),_0x51214a);}async[_0x32ae99(0x183)](_0x17a4fe){const _0x32f01a=_0x32ae99;var _0x52c1fd;const _0xe9d077=this[_0x32f01a(0x2bc)][_0x32f01a(0x1f4)]('subunit');if(!_0xe9d077||!_0x17a4fe[_0x32f01a(0x10e)](_0xe9d077)){const _0x507cdc=_0x17a4fe[_0x32f01a(0xd5)]()[0x0],_0x30da3c=_0x17a4fe[_0x32f01a(0x10e)](_0x507cdc);if(!_0x30da3c)return;this[_0x32f01a(0x1f1)](_0x30da3c,!0x0),await this[_0x32f01a(0x18d)][_0x32f01a(0xd2)](_0x5d62d4[_0x32f01a(0x17b)]['id'],{'unitId':_0x17a4fe['getUnitId'](),'subUnitId':_0x507cdc});return;}((_0x52c1fd=_0x17a4fe[_0x32f01a(0x2b1)]())==null?void 0x0:_0x52c1fd[_0x32f01a(0x25e)]())!==_0xe9d077&&await this['_commandService'][_0x32f01a(0xd2)](_0x5d62d4['SetWorksheetActivateCommand']['id'],{'unitId':_0x17a4fe[_0x32f01a(0x301)](),'subUnitId':_0xe9d077});}},_0x451931[_0x32ae99(0x281)]=_0x477966([_0x150ba6(0x0,_0x5e332f),_0x150ba6(0x1,_0x598862['ILogService']),_0x150ba6(0x2,_0x598862[_0x32ae99(0x140)]),_0x150ba6(0x3,_0x598862['Inject'](_0x4a1c4e['DataLoaderService'])),_0x150ba6(0x4,_0x598862[_0x32ae99(0x165)](_0x32186f[_0x32ae99(0x2f7)]))],_0x451931[_0x32ae99(0x281)]);var _0x32004a=Object[_0x32ae99(0x2a2)],_0x224189=(_0x49e88e,_0x425ea2,_0x42cd2f,_0x12279b)=>{const _0x4156eb=_0x32ae99;for(var _0x2865b6=_0x12279b>0x1?void 0x0:_0x12279b?_0x32004a(_0x425ea2,_0x42cd2f):_0x425ea2,_0x1dc422=_0x49e88e[_0x4156eb(0x1b4)]-0x1,_0x83e67a;_0x1dc422>=0x0;_0x1dc422--)(_0x83e67a=_0x49e88e[_0x1dc422])&&(_0x2865b6=_0x83e67a(_0x2865b6)||_0x2865b6);return _0x2865b6;},_0x43f921=(_0x68c67f,_0x2ce0d6)=>(_0x112c20,_0x60fc9d)=>_0x2ce0d6(_0x112c20,_0x60fc9d,_0x68c67f);let _0x2bb588=class{constructor(_0xb58c09,_0x48ff3a,_0x17897b){const _0x5be9b8=_0x32ae99;this[_0x5be9b8(0x265)]=_0xb58c09,this[_0x5be9b8(0x2ce)]=_0x48ff3a,this['_renderManagerService']=_0x17897b;}[_0x32ae99(0x16b)](_0x420eb0){const _0x2fc84f=_0x32ae99;this[_0x2fc84f(0x34b)](_0x420eb0),this['_transformPreviousActiveRange'](_0x420eb0);}[_0x32ae99(0x28d)](_0x391f27){const _0x1d4a9a=_0x32ae99,{unitID:_0x507f06}=_0x391f27,_0x9fd742=this[_0x1d4a9a(0x136)][_0x1d4a9a(0x284)](_0x507f06)[_0x1d4a9a(0x129)](_0x1b602f[_0x1d4a9a(0x199)]),{redoCache:_0x49702d}=_0x9fd742['getUndoRedoMutationParamsCache']();if(_0x49702d[_0x1d4a9a(0x1b4)]===0x0)return _0x391f27;let _0xccfe0=_0x598862[_0x1d4a9a(0x1ec)][_0x1d4a9a(0x1ef)](_0x391f27['mutations'][0x0]);for(let _0x10a453=0x0;_0x10a453<_0x49702d[_0x1d4a9a(0x1b4)];_0x10a453++){const _0x5328ca={'id':_0x1d4a9a(0x252),'params':{..._0x49702d[_0x10a453]}},_0x49f72f=this['_transformService'][_0x1d4a9a(0x244)](_0xccfe0,_0x5328ca,!0x1);if(_0x3d2f4f[_0x1d4a9a(0x1c8)](_0x49f72f))throw _0x49f72f[_0x1d4a9a(0x24b)];_0xccfe0=_0x49f72f[_0x1d4a9a(0x133)];}return{..._0x598862[_0x1d4a9a(0x1ec)][_0x1d4a9a(0x1ef)](_0x391f27),'mutations':[_0xccfe0]};}[_0x32ae99(0x34b)](_0x590791){const _0x2a1b88=_0x32ae99,{unitID:_0x43535b}=_0x590791,_0x42da70=this['_renderManagerService'][_0x2a1b88(0x284)](_0x43535b)[_0x2a1b88(0x129)](_0x1b602f[_0x2a1b88(0x199)]),{undoCache:_0x473675,redoCache:_0x339262}=_0x42da70[_0x2a1b88(0x1b6)]();if(_0x473675['length']===0x0||_0x339262[_0x2a1b88(0x1b4)]===0x0)return;const _0x5f1953=[],_0x17cd10=[];let _0x1cff13=_0x598862[_0x2a1b88(0x1ec)]['deepClone'](_0x590791[_0x2a1b88(0x2cf)][0x0]),_0x49b91f=_0x598862[_0x2a1b88(0x1ec)][_0x2a1b88(0x1ef)](_0x590791[_0x2a1b88(0x2cf)][0x0]);for(let _0x26df14=_0x473675[_0x2a1b88(0x1b4)]-0x1;_0x26df14>=0x0;_0x26df14--){const _0x1b75d6={'id':_0x2a1b88(0x252),'params':{..._0x473675[_0x26df14]}},_0x110e45={'id':'doc.mutation.rich-text-editing','params':{..._0x339262[_0x26df14]}},_0x17e2c2=this[_0x2a1b88(0x2ce)][_0x2a1b88(0x244)](_0x1cff13,_0x1b75d6,!0x1),_0x5790d6=this[_0x2a1b88(0x2ce)][_0x2a1b88(0x244)](_0x49b91f,_0x110e45,!0x1);if(_0x3d2f4f['isTransformMutationFailure'](_0x17e2c2))throw _0x17e2c2[_0x2a1b88(0x24b)];if(_0x3d2f4f[_0x2a1b88(0x1c8)](_0x5790d6))throw _0x5790d6[_0x2a1b88(0x24b)];_0x5f1953[_0x2a1b88(0x1f5)](_0x17e2c2[_0x2a1b88(0x26c)]['params']),_0x17cd10[_0x2a1b88(0x1f5)](_0x5790d6['m2Prime']['params']),_0x1cff13=_0x17e2c2[_0x2a1b88(0x133)],_0x49b91f=_0x5790d6['m1Prime'];}_0x42da70['setUndoRedoMutationParamsCache']({'undoCache':_0x5f1953,'redoCache':_0x17cd10});}['_transformPreviousActiveRange'](_0x648bea){const _0x245c37=_0x32ae99,{unitID:_0x1d053c}=_0x648bea,_0x40644d=this['_renderManagerService'][_0x245c37(0x284)](_0x1d053c)[_0x245c37(0x129)](_0x1b602f['DocIMEInputManagerService']),_0x4e3688=_0x40644d['getActiveRange']();if(_0x4e3688==null)return;const _0x49c689=[{'id':_0x245c37(0x252),'params':{'unitId':_0x648bea[_0x245c37(0x2e7)],'actions':null,'textRanges':[_0x4e3688]}}],_0x223be9=this[_0x245c37(0x2ce)][_0x245c37(0x273)](_0x648bea,_0x49c689);if(!_0x3d2f4f[_0x245c37(0xd4)](_0x223be9))throw _0x223be9['error'];const _0x1f4d3e=_0x223be9[_0x245c37(0x26c)][0x0][_0x245c37(0x1f7)][_0x245c37(0x33a)];Array['isArray'](_0x1f4d3e)&&_0x1f4d3e['length']&&_0x40644d[_0x245c37(0x1bb)](_0x1f4d3e[0x0]);}};_0x2bb588=_0x224189([_0x43f921(0x0,_0x598862[_0x32ae99(0x331)](_0x598862[_0x32ae99(0x261)])),_0x43f921(0x1,_0x3d2f4f['ITransformService']),_0x43f921(0x2,_0x367549['IRenderManagerService'])],_0x2bb588);var _0x5f455f=Object[_0x32ae99(0x2a2)],_0x57b3dd=(_0x47c969,_0x2413e6,_0x3ea35a,_0x27f761)=>{const _0x5980ac=_0x32ae99;for(var _0x4d6398=_0x27f761>0x1?void 0x0:_0x27f761?_0x5f455f(_0x2413e6,_0x3ea35a):_0x2413e6,_0xb1df46=_0x47c969[_0x5980ac(0x1b4)]-0x1,_0x2b12ce;_0xb1df46>=0x0;_0xb1df46--)(_0x2b12ce=_0x47c969[_0xb1df46])&&(_0x4d6398=_0x2b12ce(_0x4d6398)||_0x4d6398);return _0x4d6398;},_0x2dc5f4=(_0x266e3c,_0x16bfa5)=>(_0x1ceb31,_0x459dbe)=>_0x16bfa5(_0x1ceb31,_0x459dbe,_0x266e3c);let _0x408a28=class{constructor(_0x198d09,_0x386496,_0x28402a){const _0x19fae5=_0x32ae99;this[_0x19fae5(0x265)]=_0x198d09,this['_transformService']=_0x386496,this[_0x19fae5(0x298)]=_0x28402a;}[_0x32ae99(0x128)](_0x3671d1){const _0x55d879=_0x32ae99;this[_0x55d879(0x34f)](_0x3671d1);}[_0x32ae99(0x28d)](_0x1ab805){const _0x17c29d=_0x32ae99,{unitID:_0x155217}=_0x1ab805,{collaboration:_0x2a48ec}=this[_0x17c29d(0x298)][_0x17c29d(0x34d)](_0x155217);if(_0x2a48ec['length']===0x0)return _0x1ab805;let _0x3de59c=_0x598862[_0x17c29d(0x1ec)]['deepClone'](_0x1ab805[_0x17c29d(0x2cf)][0x0]);for(let _0x6e2e9=0x0;_0x6e2e9<_0x2a48ec[_0x17c29d(0x1b4)];_0x6e2e9++){const _0x4390bc={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x2a48ec[_0x6e2e9][_0x17c29d(0xca)],..._0x2a48ec[_0x6e2e9]['redoState']}},_0x43d0b5=this[_0x17c29d(0x2ce)][_0x17c29d(0x244)](_0x3de59c,_0x4390bc,!0x1);if(_0x3d2f4f['isTransformMutationFailure'](_0x43d0b5))throw _0x43d0b5[_0x17c29d(0x24b)];_0x3de59c=_0x43d0b5[_0x17c29d(0x133)];}return{..._0x598862['Tools'][_0x17c29d(0x1ef)](_0x1ab805),'mutations':[_0x3de59c]};}[_0x32ae99(0x34f)](_0x4b9eff){const _0x4c1b70=_0x32ae99,{unitID:_0x416b7f}=_0x4b9eff,{history:_0x299430,collaboration:_0x317315}=this[_0x4c1b70(0x298)][_0x4c1b70(0x34d)](_0x416b7f);if(_0x299430[_0x4c1b70(0x1b4)]===0x0&&_0x317315[_0x4c1b70(0x1b4)]===0x0)return;const _0x429cfc=[],_0x45815d=[];let _0x44c676=_0x598862[_0x4c1b70(0x1ec)][_0x4c1b70(0x1ef)](_0x4b9eff[_0x4c1b70(0x2cf)][0x0]),_0xb9dfc=_0x598862[_0x4c1b70(0x1ec)][_0x4c1b70(0x1ef)](_0x4b9eff[_0x4c1b70(0x2cf)][0x0]);for(let _0x450e87=_0x299430[_0x4c1b70(0x1b4)]-0x1;_0x450e87>=0x0;_0x450e87--){const _0x39f992={'id':_0x4c1b70(0x252),'params':{'unitId':_0x299430[_0x450e87][_0x4c1b70(0xca)],..._0x299430[_0x450e87]['undoState']}},_0x243f58={'id':_0x4c1b70(0x252),'params':{'unitId':_0x299430[_0x450e87][_0x4c1b70(0xca)],..._0x299430[_0x450e87][_0x4c1b70(0x215)]}},_0x4a0766=this['_transformService'][_0x4c1b70(0x244)](_0x44c676,_0x39f992,!0x1),_0x3cae07=this[_0x4c1b70(0x2ce)][_0x4c1b70(0x244)](_0xb9dfc,_0x243f58,!0x1);if(_0x3d2f4f[_0x4c1b70(0x1c8)](_0x4a0766))throw _0x4a0766[_0x4c1b70(0x24b)];if(_0x3d2f4f[_0x4c1b70(0x1c8)](_0x3cae07))throw _0x3cae07[_0x4c1b70(0x24b)];_0x429cfc[_0x4c1b70(0x1f5)]({..._0x299430[_0x450e87],'undoState':_0x4a0766[_0x4c1b70(0x26c)][_0x4c1b70(0x1f7)],'redoState':_0x3cae07[_0x4c1b70(0x26c)][_0x4c1b70(0x1f7)]}),_0x44c676=_0x4a0766['m1Prime'],_0xb9dfc=_0x3cae07[_0x4c1b70(0x133)];}_0x44c676=_0x598862[_0x4c1b70(0x1ec)][_0x4c1b70(0x1ef)](_0x4b9eff[_0x4c1b70(0x2cf)][0x0]),_0xb9dfc=_0x598862['Tools'][_0x4c1b70(0x1ef)](_0x4b9eff[_0x4c1b70(0x2cf)][0x0]);for(let _0x1ef491=_0x317315[_0x4c1b70(0x1b4)]-0x1;_0x1ef491>=0x0;_0x1ef491--){const _0x31f4ad={'id':_0x4c1b70(0x252),'params':{'unitId':_0x317315[_0x1ef491][_0x4c1b70(0xca)],..._0x317315[_0x1ef491][_0x4c1b70(0x1d1)]}},_0x32dc07={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x317315[_0x1ef491][_0x4c1b70(0xca)],..._0x317315[_0x1ef491][_0x4c1b70(0x215)]}},_0x58e604=this[_0x4c1b70(0x2ce)][_0x4c1b70(0x244)](_0x44c676,_0x31f4ad,!0x1),_0x39fe35=this[_0x4c1b70(0x2ce)][_0x4c1b70(0x244)](_0xb9dfc,_0x32dc07,!0x1);if(_0x3d2f4f[_0x4c1b70(0x1c8)](_0x58e604))throw _0x58e604['error'];if(_0x3d2f4f['isTransformMutationFailure'](_0x39fe35))throw _0x39fe35[_0x4c1b70(0x24b)];_0x45815d[_0x4c1b70(0x1f5)]({..._0x317315[_0x1ef491],'undoState':_0x58e604[_0x4c1b70(0x26c)][_0x4c1b70(0x1f7)],'redoState':_0x39fe35[_0x4c1b70(0x26c)]['params']}),_0x44c676=_0x58e604[_0x4c1b70(0x133)],_0xb9dfc=_0x39fe35['m1Prime'];}this['_docStateChangeManagerService'][_0x4c1b70(0x1c1)](_0x416b7f,{'history':_0x429cfc,'collaboration':_0x45815d});}};_0x408a28=_0x57b3dd([_0x2dc5f4(0x0,_0x598862['Inject'](_0x598862[_0x32ae99(0x261)])),_0x2dc5f4(0x1,_0x3d2f4f['ITransformService']),_0x2dc5f4(0x2,_0x598862[_0x32ae99(0x331)](_0x1b602f[_0x32ae99(0x311)]))],_0x408a28);var _0x4a82a8=Object['getOwnPropertyDescriptor'],_0xefb417=(_0x3e06b8,_0x5eeb48,_0x18a837,_0x1a5f99)=>{const _0x3a5604=_0x32ae99;for(var _0x1c7f11=_0x1a5f99>0x1?void 0x0:_0x1a5f99?_0x4a82a8(_0x5eeb48,_0x18a837):_0x5eeb48,_0x1d39c2=_0x3e06b8[_0x3a5604(0x1b4)]-0x1,_0x4517c3;_0x1d39c2>=0x0;_0x1d39c2--)(_0x4517c3=_0x3e06b8[_0x1d39c2])&&(_0x1c7f11=_0x4517c3(_0x1c7f11)||_0x1c7f11);return _0x1c7f11;},_0x3d84f4=(_0x358d79,_0x1cfd28)=>(_0x227e61,_0x3f8c9c)=>_0x1cfd28(_0x227e61,_0x3f8c9c,_0x358d79);let _0xa41ddd=class{constructor(_0x2ad031,_0x1edbd4){const _0x1f8d33=_0x32ae99;this[_0x1f8d33(0x265)]=_0x2ad031,this[_0x1f8d33(0x2ce)]=_0x1edbd4;}[_0x32ae99(0x1ee)](_0x2b872f){const _0x266a2f=_0x32ae99;var _0x376e17;const _0x191ff5=this[_0x266a2f(0x265)][_0x266a2f(0x256)](_0x1b1e93[_0x266a2f(0x15e)]),_0x4b2388=(_0x376e17=_0x191ff5[_0x266a2f(0x161)]())!=null?_0x376e17:[];if(_0x4b2388[_0x266a2f(0x1b4)]===0x0)return;const _0x4031a9=_0x2b872f[_0x266a2f(0x2e7)],_0x53a32b=[{'id':_0x266a2f(0x252),'params':{'unitId':_0x4031a9,'actions':null,'textRanges':_0x4b2388}}],_0xcff7a=this[_0x266a2f(0x2ce)][_0x266a2f(0x273)](_0x2b872f,_0x53a32b);if(!_0x3d2f4f[_0x266a2f(0xd4)](_0xcff7a))throw _0xcff7a[_0x266a2f(0x24b)];const _0x42e16e=_0xcff7a['m2Prime'][0x0][_0x266a2f(0x1f7)][_0x266a2f(0x33a)];Array[_0x266a2f(0x30d)](_0x42e16e)&&_0x42e16e[_0x266a2f(0x1b4)]&&_0x191ff5[_0x266a2f(0x11c)](_0x42e16e,{'unitId':_0x4031a9,'subUnitId':_0x4031a9},!0x1);}};_0xa41ddd=_0xefb417([_0x3d84f4(0x0,_0x598862[_0x32ae99(0x331)](_0x598862[_0x32ae99(0x261)])),_0x3d84f4(0x1,_0x3d2f4f[_0x32ae99(0x305)])],_0xa41ddd);var _0x5c53fe=Object[_0x32ae99(0x2a2)],_0x1bba21=(_0x42c29b,_0x60cb12,_0x199305,_0x1276a0)=>{for(var _0x38c7e=_0x1276a0>0x1?void 0x0:_0x1276a0?_0x5c53fe(_0x60cb12,_0x199305):_0x60cb12,_0x1d17a8=_0x42c29b['length']-0x1,_0x2fe952;_0x1d17a8>=0x0;_0x1d17a8--)(_0x2fe952=_0x42c29b[_0x1d17a8])&&(_0x38c7e=_0x2fe952(_0x38c7e)||_0x38c7e);return _0x38c7e;},_0x9c5fd9=(_0x442d44,_0x52edae)=>(_0x416c6b,_0x18bfb0)=>_0x52edae(_0x416c6b,_0x18bfb0,_0x442d44);let _0x3be24b=class extends _0x598862['Disposable']{constructor(_0x17b0b0,_0x27ded7,_0x8c202,_0x211957,_0x20a9b2,_0x1eeb91,_0x2b988e,_0x4e94a5){const _0x148926=_0x32ae99;super(),_0x4c36ff(this,_0x148926(0x1ab),new _0x48488c[(_0x148926(0x341))](_0x4a1c4e['CollaborationStatus'][_0x148926(0x188)])),(this[_0x148926(0x298)]=_0x17b0b0,this['_collaborationController']=_0x27ded7,this[_0x148926(0x2e4)]=_0x8c202,this[_0x148926(0x176)]=_0x211957,this[_0x148926(0x181)]=_0x20a9b2,this[_0x148926(0x2f0)]=_0x1eeb91,this[_0x148926(0x296)]=_0x2b988e,this[_0x148926(0x2e2)]=_0x4e94a5,this[_0x148926(0xf5)]());}[_0x32ae99(0xf5)](){const _0xefdb25=_0x32ae99;this[_0xefdb25(0x14d)](this[_0xefdb25(0x1d7)][_0xefdb25(0x304)][_0xefdb25(0x10c)](_0x151e0f=>{const _0x12c235=_0xefdb25,_0x1417ef=this['_docStateChangeManagerService'][_0x12c235(0x236)]['subscribe'](_0x119d6c=>{const _0x425cae=_0x12c235;if(_0x119d6c==null)return;const {unitId:_0x1cfbd0,redoState:_0x4082f4,commandId:_0x2ffedd}=_0x119d6c;if(_0x1cfbd0!==_0x151e0f[_0x425cae(0x2e7)])return;const _0x469bac={'id':_0x2ffedd,'type':_0x598862['CommandType'][_0x425cae(0x309)],'params':{'unitId':_0x1cfbd0,'actions':_0x4082f4['actions'],'textRanges':null}};_0x151e0f[_0x425cae(0x186)](_0x469bac);});if(_0x151e0f[_0x12c235(0x14d)](_0x1417ef),_0x151e0f instanceof _0x4a1c4e[_0x12c235(0xe7)]){const _0x375ce6={'onTransformIME':_0x377945=>this[_0x12c235(0x2e4)][_0x12c235(0x16b)](_0x377945),'onTransformState':_0x274348=>this[_0x12c235(0x176)][_0x12c235(0x128)](_0x274348),'onTransformSelections':_0x4e7075=>this['_docTransformSelectionsService']['transformSelections'](_0x4e7075),'onSyncEditingCollabCursor':_0x226bc3=>this[_0x12c235(0x2f0)][_0x12c235(0x138)](_0x226bc3),'onTransformRemoteChangesetByIMECache':_0x4f1b64=>this[_0x12c235(0x2e4)][_0x12c235(0x28d)](_0x4f1b64),'onTransformRemoteChangesetByStateCache':_0x585906=>this['_docTransformStateCacheService'][_0x12c235(0x28d)](_0x585906)};_0x151e0f[_0x12c235(0x124)](_0x375ce6);}}));}};_0x3be24b=_0x1bba21([_0x9c5fd9(0x0,_0x598862['Inject'](_0x1b602f[_0x32ae99(0x311)])),_0x9c5fd9(0x1,_0x598862['Inject'](_0x4a1c4e[_0x32ae99(0x280)])),_0x9c5fd9(0x2,_0x598862['Inject'](_0x2bb588)),_0x9c5fd9(0x3,_0x598862[_0x32ae99(0x331)](_0x408a28)),_0x9c5fd9(0x4,_0x598862[_0x32ae99(0x331)](_0xa41ddd)),_0x9c5fd9(0x5,_0x598862[_0x32ae99(0x331)](_0x372583)),_0x9c5fd9(0x6,_0x2767d2['IMessageService']),_0x9c5fd9(0x7,_0x598862[_0x32ae99(0x331)](_0x598862[_0x32ae99(0x2b7)]))],_0x3be24b);var _0x37ebb6=Object[_0x32ae99(0x2a2)],_0x41f9b6=(_0x11f2f5,_0x5c0bb7,_0x28c7a3,_0x1604dc)=>{const _0xb3477f=_0x32ae99;for(var _0x26cf06=_0x1604dc>0x1?void 0x0:_0x1604dc?_0x37ebb6(_0x5c0bb7,_0x28c7a3):_0x5c0bb7,_0x50bc63=_0x11f2f5[_0xb3477f(0x1b4)]-0x1,_0xdad9f2;_0x50bc63>=0x0;_0x50bc63--)(_0xdad9f2=_0x11f2f5[_0x50bc63])&&(_0x26cf06=_0xdad9f2(_0x26cf06)||_0x26cf06);return _0x26cf06;},_0x3642de=(_0x35ef92,_0xec4d69)=>(_0xcef1b0,_0x2503be)=>_0xec4d69(_0xcef1b0,_0x2503be,_0x35ef92);let _0x48531a=class extends _0x598862[_0x32ae99(0x190)]{constructor(_0x3fe276,_0x2d2f6a,_0x3e311b){const _0x298682=_0x32ae99;super(),_0x4c36ff(this,_0x298682(0x251),new Map()),_0x4c36ff(this,'_saveTaskMap',new Map()),_0x4c36ff(this,_0x298682(0x1ac),!0x1),(this[_0x298682(0xe8)]=_0x3fe276,this[_0x298682(0x1e5)]=_0x2d2f6a,this['_revisionService']=_0x3e311b);}[_0x32ae99(0x19f)](){const _0x5d2711=_0x32ae99;this[_0x5d2711(0x1ac)]=!0x0;}[_0x32ae99(0x2b2)](){const _0x3d510b=_0x32ae99;this[_0x3d510b(0x1ac)]=!0x1;}get[_0x32ae99(0x14f)](){const _0x367b75=_0x32ae99;return this[_0x367b75(0x104)];}[_0x32ae99(0x195)](){const _0x30b13d=_0x32ae99;this[_0x30b13d(0x1b3)]()[_0x30b13d(0x2a5)](()=>super[_0x30b13d(0x195)]());}async[_0x32ae99(0x24f)](_0x63126d){const _0x16277c=_0x32ae99;return this[_0x16277c(0x1ac)]?null:this['_localStorageService'][_0x16277c(0x279)](_0x4a1c4e[_0x16277c(0x22f)](_0x63126d));}async[_0x32ae99(0x247)](_0x5e9da3,_0x2b5f60){const _0x16c174=_0x32ae99;return!!this[_0x16c174(0x1e5)][_0x16c174(0xdd)](_0x5e9da3,_0x2b5f60);}[_0x32ae99(0x1cf)](_0x236831,_0x4c89f2,_0x4d6b95,_0x361ed8){const _0x52c99d=_0x32ae99,_0x202fe7=this['_revisionService']['getCurrentRevOfUnit'](_0x236831);this[_0x52c99d(0x251)][_0x52c99d(0x33f)](_0x236831,{'unitID':_0x236831,'type':_0x4c89f2,'awaitingChangeset':_0x4d6b95,'mutations':_0x361ed8,'rev':_0x202fe7}),this[_0x52c99d(0x104)]['has'](_0x236831)||this[_0x52c99d(0x172)](_0x236831);}[_0x32ae99(0x172)](_0x13ab83){const _0x7689cf=_0x32ae99,_0x7d1072=this[_0x7689cf(0x33e)]();_0x7d1072===0x0?this[_0x7689cf(0x103)](_0x13ab83):this[_0x7689cf(0x104)][_0x7689cf(0x33f)](_0x13ab83,setTimeout(()=>this[_0x7689cf(0x103)](_0x13ab83),_0x7d1072));}['_getSaveTimeout'](){const _0x4650ae=_0x32ae99;var _0x1d571d;return(_0x1d571d=this[_0x4650ae(0xe8)]['getConfig'](_0x4a1c4e[_0x4650ae(0x1ff)]))!=null?_0x1d571d:_0x4a1c4e[_0x4650ae(0x19c)];}[_0x32ae99(0x103)](_0x51a70c){const _0x2fa61f=_0x32ae99,_0x443f2f=this[_0x2fa61f(0x104)][_0x2fa61f(0x256)](_0x51a70c);return _0x443f2f!==void 0x0&&window[_0x2fa61f(0x17e)](_0x443f2f),this[_0x2fa61f(0x1e5)]['setItem'](_0x4a1c4e[_0x2fa61f(0x22f)](_0x51a70c),this[_0x2fa61f(0x251)][_0x2fa61f(0x256)](_0x51a70c))[_0x2fa61f(0x2a5)](()=>this['_saveTaskMap']['delete'](_0x51a70c));}async['exhaustSavingTask'](){const _0xdf26bb=[];this['_saveTaskMap']['forEach']((_0x4e4aea,_0x26910c)=>{const _0x2287e2=_0x37bd;window[_0x2287e2(0x17e)](_0x4e4aea),_0xdf26bb['push'](this[_0x2287e2(0x103)](_0x26910c)[_0x2287e2(0x2a5)](()=>{const _0x36c980=_0x2287e2;this['_saveTaskMap'][_0x36c980(0xc8)](_0x26910c);}));}),await Promise['all'](_0xdf26bb);}};_0x48531a=_0x41f9b6([_0x3642de(0x0,_0x598862['IConfigService']),_0x3642de(0x1,_0x598862[_0x32ae99(0x1f2)]),_0x3642de(0x2,_0x598862[_0x32ae99(0x331)](_0x3d2f4f[_0x32ae99(0x1e2)]))],_0x48531a);class _0x485c4c extends _0x598862[_0x32ae99(0x313)]{constructor(){const _0x2f88fc=_0x32ae99;super(),_0x4c36ff(this,_0x2f88fc(0x277)),this[_0x2f88fc(0x277)]=_0x48488c[_0x2f88fc(0x1a6)](window,'popstate')[_0x2f88fc(0x1b2)](_0x48488c[_0x2f88fc(0x344)](this[_0x2f88fc(0x21d)]),_0x48488c['shareReplay'](0x1),_0x48488c[_0x2f88fc(0x26d)](void 0x0));}[_0x32ae99(0x306)](_0x53260c,_0x2e81dc,_0xb1c30=!0x1){const _0x52bac4=_0x32ae99,_0x10b979=new URL(window['location'][_0x52bac4(0x28b)]);_0x10b979[_0x52bac4(0x1d6)]['set'](_0x53260c,_0x2e81dc),_0xb1c30?window[_0x52bac4(0x32f)]['replaceState']('','',_0x10b979['toString']()):window[_0x52bac4(0x32f)][_0x52bac4(0x1fa)]('','',_0x10b979[_0x52bac4(0x200)]());}['removeParam'](_0x369c1b,_0x15dc08=!0x1){const _0x29c340=_0x32ae99,_0x10d7b4=new URL(window[_0x29c340(0x12e)]['href']);_0x10d7b4['searchParams']['delete'](_0x369c1b),_0x15dc08?window[_0x29c340(0x32f)][_0x29c340(0x32b)]('','',_0x10d7b4[_0x29c340(0x200)]()):window[_0x29c340(0x32f)]['pushState']('','',_0x10d7b4[_0x29c340(0x200)]());}[_0x32ae99(0x1f4)](_0x2aed26){const _0x4d49a8=_0x32ae99;var _0x415935;return(_0x415935=new URL(window[_0x4d49a8(0x12e)][_0x4d49a8(0x28b)])[_0x4d49a8(0x1d6)]['get'](_0x2aed26))!=null?_0x415935:void 0x0;}}var _0x35b6fe=Object[_0x32ae99(0x2e3)],_0x4a9458=Object['getOwnPropertyDescriptor'],_0x3b4563=(_0x188b18,_0x2faf52,_0x29b033)=>_0x2faf52 in _0x188b18?_0x35b6fe(_0x188b18,_0x2faf52,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x29b033}):_0x188b18[_0x2faf52]=_0x29b033,_0x599098=(_0x91c5b2,_0x592fe7,_0xb0d5b2,_0x1c9c7d)=>{const _0x1d6533=_0x32ae99;for(var _0x10fa4d=_0x1c9c7d>0x1?void 0x0:_0x1c9c7d?_0x4a9458(_0x592fe7,_0xb0d5b2):_0x592fe7,_0x290949=_0x91c5b2[_0x1d6533(0x1b4)]-0x1,_0x309aff;_0x290949>=0x0;_0x290949--)(_0x309aff=_0x91c5b2[_0x290949])&&(_0x10fa4d=_0x309aff(_0x10fa4d)||_0x10fa4d);return _0x10fa4d;},_0x28c546=(_0x493590,_0x527301)=>(_0x55d808,_0x36c2a3)=>_0x527301(_0x55d808,_0x36c2a3,_0x493590),_0x4ce6e9=(_0x506301,_0x1f98a3,_0xdf6ac0)=>_0x3b4563(_0x506301,_0x1f98a3+'',_0xdf6ac0);const _0x63a44d=_0x32ae99(0x275);_0x451931['UniverCollaborationClientUIPlugin']=class extends _0x598862[_0x32ae99(0x1c7)]{constructor(_0x58cfa9=_0x3c5da6,_0x45c19f,_0x2eede6,_0x327006){const _0x37c017=_0x32ae99;super(),this[_0x37c017(0x185)]=_0x58cfa9,this[_0x37c017(0x136)]=_0x45c19f,this[_0x37c017(0x265)]=_0x2eede6,this[_0x37c017(0xe8)]=_0x327006;const {..._0x2127ea}=_0x598862[_0x37c017(0x16d)]({},_0x3c5da6,this[_0x37c017(0x185)]);this[_0x37c017(0xe8)][_0x37c017(0x135)](_0x31e65a,_0x2127ea);}[_0x32ae99(0x1b9)](){const _0x53778e=_0x32ae99;this[_0x53778e(0x144)](),this[_0x53778e(0x330)]();}[_0x32ae99(0x17f)](){const _0x55fac3=_0x32ae99;this[_0x55fac3(0x32c)]();}[_0x32ae99(0x144)](){const _0x5f4bb8=_0x32ae99;var _0x4e1575;const _0x3be051=[[_0x1ab617],[_0xa41ddd],[_0x2bb588],[_0x408a28],[_0x372583],[_0x5e332f,{'useClass':_0x485c4c}],[_0x29c365['ISocketService'],{'useClass':_0x29c365[_0x5f4bb8(0x1b7)]}],[_0x4a1c4e['ILocalCacheService'],{'useClass':_0x48531a}],[_0x451931[_0x5f4bb8(0x11e)]],[_0x3be24b],[_0x10fa12],[_0x10d2fa],[_0x459f92],[_0x451931['CollaborationDataLoaderController']]];_0x598862[_0x5f4bb8(0x151)](this['_injector'],_0x598862[_0x5f4bb8(0x340)](_0x3be051,(_0x4e1575=this['_config'])==null?void 0x0:_0x4e1575[_0x5f4bb8(0x23f)]));}[_0x32ae99(0x32c)](){const _0x5d3311=_0x32ae99;this[_0x5d3311(0x14d)](this[_0x5d3311(0x136)][_0x5d3311(0x334)](_0x598862[_0x5d3311(0x164)][_0x5d3311(0x24d)],[_0x259b08])),this[_0x5d3311(0x14d)](this[_0x5d3311(0x136)]['registerRenderModule'](_0x598862[_0x5d3311(0x164)]['UNIVER_SHEET'],[_0x126a01]));}[_0x32ae99(0x330)](){const _0x3541fd=_0x32ae99;_0x598862[_0x3541fd(0x220)](this[_0x3541fd(0x265)],[[_0x10d2fa],[_0x451931['DesktopCollaborationStatusDisplayController']],[_0x3be24b],[_0x10fa12],[_0x451931[_0x3541fd(0x281)]]]);}},_0x4ce6e9(_0x451931[_0x32ae99(0x1ce)],'pluginName',_0x63a44d),_0x451931[_0x32ae99(0x1ce)]=_0x599098([_0x598862[_0x32ae99(0x27f)](_0x4a1c4e[_0x32ae99(0xde)]),_0x28c546(0x1,_0x367549[_0x32ae99(0x240)]),_0x28c546(0x2,_0x598862[_0x32ae99(0x331)](_0x598862[_0x32ae99(0x261)])),_0x28c546(0x3,_0x598862['IConfigService'])],_0x451931[_0x32ae99(0x1ce)]);var _0x4c8eba=Object[_0x32ae99(0x2a2)],_0x1f5d95=(_0x3e7c76,_0x3183cd,_0x2c04a9,_0x197d46)=>{const _0x8b443=_0x32ae99;for(var _0x47e90a=_0x197d46>0x1?void 0x0:_0x197d46?_0x4c8eba(_0x3183cd,_0x2c04a9):_0x3183cd,_0x276cd7=_0x3e7c76[_0x8b443(0x1b4)]-0x1,_0x22d87e;_0x276cd7>=0x0;_0x276cd7--)(_0x22d87e=_0x3e7c76[_0x276cd7])&&(_0x47e90a=_0x22d87e(_0x47e90a)||_0x47e90a);return _0x47e90a;},_0xc43e97=(_0x42be41,_0x598b61)=>(_0xa8cb09,_0x3945b0)=>_0x598b61(_0xa8cb09,_0x3945b0,_0x42be41);_0x451931[_0x32ae99(0x2b9)]=class extends _0x4a1c4e[_0x32ae99(0x22e)]{constructor(_0x5e45a7,_0x10645d,_0x4858c7,_0x18f242,_0x371526){super(_0x5e45a7,_0x10645d,_0x4858c7,_0x18f242,_0x371526);}async['createSocket'](_0x2be50a){const _0x1fa389=_0x32ae99,_0x34468b=await this[_0x1fa389(0x1e7)](),_0xef450b=this[_0x1fa389(0x216)](_0x2be50a,_0x34468b);return this[_0x1fa389(0x118)](_0xef450b);}[_0x32ae99(0x216)](_0x33805e,_0xf29b85){const _0x2a2854=_0x32ae99,_0x355414=typeof window>'u'?new URL(_0x33805e):new URL(_0x33805e,window[_0x2a2854(0x12e)][_0x2a2854(0x10f)]);_0x355414[_0x2a2854(0x1d6)][_0x2a2854(0x33f)](_0x2a2854(0xfb),_0xf29b85);const _0x354271=typeof window>'u'?new URLSearchParams():new URLSearchParams(window[_0x2a2854(0x12e)]['search']);return _0x354271[_0x2a2854(0x256)]('runId')&&_0x355414[_0x2a2854(0x1d6)]['set'](_0x2a2854(0x2ad),_0x354271[_0x2a2854(0x256)](_0x2a2854(0x2ad))),_0x355414[_0x2a2854(0x200)]();}async[_0x32ae99(0x1e7)](){const _0x3e58c5=_0x32ae99;var _0xb240b9,_0x517772,_0x5cb904;const _0x1bf592=this[_0x3e58c5(0xe8)][_0x3e58c5(0x13b)](_0x4a1c4e[_0x3e58c5(0xdf)]),_0x15f9ee=(_0xb240b9=_0x1bf592==null?void 0x0:_0x1bf592[_0x3e58c5(0x227)])!=null?_0xb240b9:_0x4a1c4e['DEFAULT_WS_SESSION_TICKET_URL'];return(_0x5cb904=(_0x517772=(await this[_0x3e58c5(0x21a)][_0x3e58c5(0x256)](_0x15f9ee,{'headers':{'Content-Type':'application/json'}}))[_0x3e58c5(0x2dc)])==null?void 0x0:_0x517772[_0x3e58c5(0x287)])!=null?_0x5cb904:'';}},_0x451931[_0x32ae99(0x2b9)]=_0x1f5d95([_0xc43e97(0x0,_0x598862['Inject'](_0x598862[_0x32ae99(0x261)])),_0xc43e97(0x1,_0x598862[_0x32ae99(0x331)](_0x29c365[_0x32ae99(0x13d)])),_0xc43e97(0x2,_0x598862[_0x32ae99(0x1fb)]),_0xc43e97(0x3,_0x598862[_0x32ae99(0x2f6)]),_0xc43e97(0x4,_0x3d2f4f[_0x32ae99(0x288)])],_0x451931['BrowserCollaborationSocketService']);const _0x2dd414=0x7530,_0x4eb970=_0x32ae99(0x1f6);class _0x54849d extends _0x598862[_0x32ae99(0x190)]{constructor(){const _0x8d97b3=_0x32ae99;super(),_0x4c36ff(this,_0x8d97b3(0x349),_0x598862['generateRandomId']()),_0x4c36ff(this,'_selfUnitIDs',new Set()),_0x4c36ff(this,_0x8d97b3(0x2a4),new Map()),_0x4c36ff(this,_0x8d97b3(0x1cd),null),_0x4c36ff(this,_0x8d97b3(0x314),new Map()),_0x4c36ff(this,_0x8d97b3(0x29e),new Map()),this[_0x8d97b3(0x177)]();}[_0x32ae99(0x195)](){const _0x13a4d0=_0x32ae99;super[_0x13a4d0(0x195)](),this[_0x13a4d0(0x314)][_0x13a4d0(0x12a)]((_0x459f90,_0x26a008)=>this['_removeClearOtherTimer'](_0x26a008)),this[_0x13a4d0(0x1cd)]&&window[_0x13a4d0(0x25d)](this[_0x13a4d0(0x1cd)]);}[_0x32ae99(0x21c)](_0x33ef69){const _0x253db9=_0x32ae99;return this['_ensureSubject'](_0x33ef69)['pipe'](_0x48488c[_0x253db9(0x1da)]());}['editingUnit'](_0x91ed2f){const _0x3ae4aa=_0x32ae99;this['_selfUnitIDs'][_0x3ae4aa(0x142)]===0x0&&this[_0x3ae4aa(0x1c2)](),this['_selfUnitIDs']['add'](_0x91ed2f),this['_send']({'type':0x0,'memberID':this[_0x3ae4aa(0x349)],'unitIDs':[_0x91ed2f],'isForwarded':!0x1});}['disposeUnit'](_0x44cace){const _0x4fa448=_0x32ae99;this[_0x4fa448(0x234)][_0x4fa448(0xc8)](_0x44cace),this[_0x4fa448(0x234)][_0x4fa448(0x142)]===0x0&&this['_heartbeatTimer']&&window['clearInterval'](this[_0x4fa448(0x1cd)]);}['_init'](){const _0x5df5e0=_0x32ae99;this[_0x5df5e0(0x14d)](_0x598862[_0x5df5e0(0x343)](_0x48488c['fromEvent'](window,'storage')[_0x5df5e0(0x10c)](_0x272a76=>{const _0x129094=_0x5df5e0;if(_0x272a76[_0x129094(0xcb)]!==_0x4eb970||!_0x272a76[_0x129094(0x2ee)])return;const _0x3a7b62=JSON['parse'](_0x272a76[_0x129094(0x2ee)]);this[_0x129094(0x2f8)](_0x3a7b62);}))),window[_0x5df5e0(0x26b)](_0x5df5e0(0xd6),()=>this[_0x5df5e0(0x16e)]({'type':0x1,'memberID':this['_id'],'unitIDs':Array[_0x5df5e0(0x2eb)](this[_0x5df5e0(0x234)])}));}[_0x32ae99(0x2f8)](_0x532c50){const _0x157425=_0x32ae99;switch(_0x532c50[_0x157425(0x32e)]){case 0x0:this[_0x157425(0x20b)](_0x532c50);break;case 0x1:this[_0x157425(0x2c7)](_0x532c50);break;case 0x2:this[_0x157425(0x1a3)](_0x532c50);break;}}['_handleJoinEvent'](_0x29612d){const _0x1a66ef=_0x32ae99,{unitIDs:_0x3d19cd,memberID:_0x1b5bd5,isForwarded:_0x47a98f}=_0x29612d;_0x3d19cd[_0x1a66ef(0x12a)](_0x1d48d2=>{const _0x550372=_0x1a66ef;if(!_0x47a98f&&this['_unitOnClients'][_0x550372(0x243)](_0x1d48d2)&&this[_0x550372(0x250)](_0x1d48d2)[_0x550372(0x1ca)](_0x4a1c4e[_0x550372(0x285)][_0x550372(0x18b)]),!this[_0x550372(0x2a4)][_0x550372(0x243)](_0x1d48d2)||!this[_0x550372(0x2a4)]['get'](_0x1d48d2)[_0x550372(0x243)](_0x1b5bd5)){const _0x2795c2=this[_0x550372(0x2a4)][_0x550372(0x256)](_0x1d48d2)||new Set();_0x2795c2['add'](_0x1b5bd5),this[_0x550372(0x2a4)][_0x550372(0x33f)](_0x1d48d2,_0x2795c2),this['_scheduleClearOtherTimer'](_0x1b5bd5);}}),_0x47a98f||this[_0x1a66ef(0x16e)]({'type':0x0,'memberID':this['_id'],'unitIDs':[...this['_selfUnitIDs']],'isForwarded':!0x0});}[_0x32ae99(0x2bf)](_0x51e560){const _0x2bf3f2=_0x32ae99;this[_0x2bf3f2(0x21b)](_0x51e560);const _0x56d892=window[_0x2bf3f2(0x207)](()=>{const _0x5b0ce5=_0x2bf3f2;this[_0x5b0ce5(0x2a4)][_0x5b0ce5(0x12a)](_0x54a5c3=>{const _0x477472=_0x5b0ce5;_0x54a5c3[_0x477472(0xc8)](_0x51e560);});},_0x2dd414*0x2);this[_0x2bf3f2(0x314)][_0x2bf3f2(0x33f)](_0x51e560,_0x56d892);}['_removeClearOtherTimer'](_0x3a8107){const _0x30072e=_0x32ae99;if(this[_0x30072e(0x314)][_0x30072e(0x243)](_0x3a8107)){const _0x19440b=this['_clearOtherTimers'][_0x30072e(0x256)](_0x3a8107);_0x19440b&&window[_0x30072e(0x17e)](_0x19440b),this[_0x30072e(0x314)]['set'](_0x3a8107,null);}}[_0x32ae99(0x2c7)](_0x17ce82){const _0x2e571b=_0x32ae99,{memberID:_0x276245,unitIDs:_0x7864d5}=_0x17ce82;_0x7864d5[_0x2e571b(0x12a)](_0x4ddb17=>{const _0x437c34=_0x2e571b;var _0x27c6f5;const _0x5a9e6b=this[_0x437c34(0x2a4)][_0x437c34(0x256)](_0x4ddb17);_0x5a9e6b&&(_0x5a9e6b['delete'](_0x276245),(_0x27c6f5=this['_ensureSubject'](_0x4ddb17))==null||_0x27c6f5['next'](_0x5a9e6b[_0x437c34(0x142)]===0x0?_0x4a1c4e[_0x437c34(0x285)][_0x437c34(0x1fe)]:_0x4a1c4e[_0x437c34(0x285)][_0x437c34(0x18b)]));}),this['_removeClearOtherTimer'](_0x276245);}[_0x32ae99(0x1a3)](_0x2f663d){const _0x2ed20c=_0x32ae99;this[_0x2ed20c(0x2bf)](_0x2f663d[_0x2ed20c(0x106)]);}['_send'](_0x3dbb7d){const _0x321222=_0x32ae99;localStorage['setItem'](_0x4eb970,JSON[_0x321222(0x12f)](_0x3dbb7d));}[_0x32ae99(0x1c2)](){const _0x51ba3c=_0x32ae99;this[_0x51ba3c(0x1cd)]=window['setInterval'](()=>{const _0x58a992=_0x51ba3c;this['_send']({'type':0x2,'memberID':this[_0x58a992(0x349)]});},_0x2dd414);}[_0x32ae99(0x250)](_0x13cf6f){const _0xfec69e=_0x32ae99;return this[_0xfec69e(0x29e)][_0xfec69e(0x243)](_0x13cf6f)||this['_unitStatus'][_0xfec69e(0x33f)](_0x13cf6f,new _0x48488c[(_0xfec69e(0x341))](_0x4a1c4e[_0xfec69e(0x285)]['NO_OTHER_CLIENTS_EDITING'])),this[_0xfec69e(0x29e)][_0xfec69e(0x256)](_0x13cf6f);}}var _0x4bf53=(_0x475afd=>(_0x475afd[_0x475afd[_0x32ae99(0x1c0)]=0x0]=_0x32ae99(0x1c0),_0x475afd[_0x475afd['OK']=0x1]='OK',_0x475afd[_0x475afd[_0x32ae99(0x2ab)]=0x2]=_0x32ae99(0x2ab),_0x475afd[_0x475afd[_0x32ae99(0x1af)]=0x3]='PERMISSION_DENIED',_0x475afd[_0x475afd[_0x32ae99(0x105)]=0x4]=_0x32ae99(0x105),_0x475afd[_0x475afd['UNAUTHENTICATED']=0x5]=_0x32ae99(0x1d2),_0x475afd[_0x475afd['ALREADY_EXISTS']=0x6]=_0x32ae99(0x28e),_0x475afd[_0x475afd[_0x32ae99(0x332)]=0x7]='INVALID_ARGUMENT',_0x475afd[_0x475afd[_0x32ae99(0x189)]=0x8]=_0x32ae99(0x189),_0x475afd[_0x475afd[_0x32ae99(0x242)]=0x9]=_0x32ae99(0x242),_0x475afd[_0x475afd['LOGIN_FAILED']=0xa]=_0x32ae99(0x326),_0x475afd[_0x475afd[_0x32ae99(0x25b)]=0x1389]=_0x32ae99(0x25b),_0x475afd[_0x475afd['SNAPSHOT_INVALID_SNAPSHOT']=0x1771]=_0x32ae99(0x218),_0x475afd[_0x475afd[_0x32ae99(0x1a4)]=0x1772]=_0x32ae99(0x1a4),_0x475afd[_0x475afd['ENSURE_SNAPSHOT_EXECUTION']=0x1773]=_0x32ae99(0x1d3),_0x475afd[_0x475afd[_0x32ae99(0x321)]=0x1b59]=_0x32ae99(0x321),_0x475afd[_0x475afd[_0x32ae99(0x2cc)]=0x1b5a]='APPLY_NON_SEQUENTIAL_REVISION',_0x475afd[_0x475afd[_0x32ae99(0x260)]=0x1b5b]=_0x32ae99(0x260),_0x475afd[_0x475afd[_0x32ae99(0x2d5)]=0x1b5c]=_0x32ae99(0x2d5),_0x475afd[_0x475afd[_0x32ae99(0x31f)]=0x1b5d]=_0x32ae99(0x31f),_0x475afd[_0x475afd[_0x32ae99(0x286)]=0x1f41]=_0x32ae99(0x286),_0x475afd[_0x475afd[_0x32ae99(0x1db)]=0x2329]=_0x32ae99(0x1db),_0x475afd[_0x475afd['LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED']=0x232a]='LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED',_0x475afd[_0x475afd[_0x32ae99(0x29a)]=0x232b]=_0x32ae99(0x29a),_0x475afd[_0x475afd[_0x32ae99(0x1df)]=0x232c]=_0x32ae99(0x1df),_0x475afd[_0x475afd[_0x32ae99(0x205)]=0x232d]=_0x32ae99(0x205),_0x475afd[_0x475afd[_0x32ae99(0xcc)]=0x2711]=_0x32ae99(0xcc),_0x475afd[_0x475afd[_0x32ae99(0x1f0)]=0x2712]=_0x32ae99(0x1f0),_0x475afd[_0x475afd[_0x32ae99(0x323)]=0x2713]=_0x32ae99(0x323),_0x475afd[_0x475afd[_0x32ae99(0x1ba)]=0x2714]='YUUMI_SUBSCRIPTION_NOT_FOUND',_0x475afd[_0x475afd[_0x32ae99(0x163)]=0x271a]='YUUMI_NO_CUBOID_FOR_QUESTION',_0x475afd[_0x475afd['YUUMI_ASYNCIO_CANCELLED']=0x271b]=_0x32ae99(0x19a),_0x475afd[_0x475afd[_0x32ae99(0x327)]=0x271c]=_0x32ae99(0x327),_0x475afd[_0x475afd[_0x32ae99(0x316)]=0x271d]=_0x32ae99(0x316),_0x475afd[_0x475afd['YUUMI_PROMPT_MAX_TOKENS_EXCEEDED']=0x271e]=_0x32ae99(0x125),_0x475afd[_0x475afd['YUUMI_AI_RUN_FAILED']=0x271f]=_0x32ae99(0x276),_0x475afd[_0x475afd[_0x32ae99(0x20a)]=0x2af9]=_0x32ae99(0x20a),_0x475afd[_0x475afd[_0x32ae99(0xc7)]=0x2ee1]=_0x32ae99(0xc7),_0x475afd[_0x475afd[_0x32ae99(0x317)]=0x2ee2]=_0x32ae99(0x317),_0x475afd[_0x475afd[_0x32ae99(0x160)]=0x2ee3]=_0x32ae99(0x160),_0x475afd[_0x475afd[_0x32ae99(0x18f)]=0x2ee4]=_0x32ae99(0x18f),_0x475afd[_0x475afd[_0x32ae99(0x16c)]=0x2ee5]=_0x32ae99(0x16c),_0x475afd[_0x475afd[_0x32ae99(0x29b)]=0x32c9]='WECHAT_HAS_BEEN_BOUND',_0x475afd[_0x475afd[_0x32ae99(0x1dd)]=0x32ca]=_0x32ae99(0x1dd),_0x475afd[_0x475afd['EMAIL_HAS_BEEN_BOUND']=0x32cb]=_0x32ae99(0x269),_0x475afd[_0x475afd[_0x32ae99(0x23d)]=-0x1]=_0x32ae99(0x23d),_0x475afd))(_0x4bf53||{}),_0x26f3a5=Object[_0x32ae99(0x2a2)],_0x1ef545=(_0xb68c06,_0x257fc9,_0x64f8a2,_0x1332dc)=>{const _0x4edbf8=_0x32ae99;for(var _0x47faf3=_0x1332dc>0x1?void 0x0:_0x1332dc?_0x26f3a5(_0x257fc9,_0x64f8a2):_0x257fc9,_0x3e8aa7=_0xb68c06[_0x4edbf8(0x1b4)]-0x1,_0x529b4a;_0x3e8aa7>=0x0;_0x3e8aa7--)(_0x529b4a=_0xb68c06[_0x3e8aa7])&&(_0x47faf3=_0x529b4a(_0x47faf3)||_0x47faf3);return _0x47faf3;},_0x14101a=(_0x5671fb,_0x5caa23)=>(_0x300916,_0x218397)=>_0x5caa23(_0x300916,_0x218397,_0x5671fb);_0x451931[_0x32ae99(0x127)]=class extends _0x598862[_0x32ae99(0x190)]{constructor(_0x1fe0ec,_0x39fae0,_0x2978ec){const _0x171b37=_0x32ae99;super(),this[_0x171b37(0xdb)]=_0x1fe0ec,this[_0x171b37(0x21a)]=_0x39fae0,this[_0x171b37(0xe8)]=_0x2978ec;}async[_0x32ae99(0x1d0)](_0x26776c,_0x26c871,_0x560c42,..._0xd76902){const _0x586bfa=_0x32ae99;var _0x5dab55,_0x199e91,_0x29f955,_0x5d3c8a;const _0x58c033=this[_0x586bfa(0xdb)][_0x586bfa(0xfd)]();if(!_0x58c033)throw new Error(_0x586bfa(0x335));const _0x1eb3ca=((_0x5dab55=this[_0x586bfa(0xe8)][_0x586bfa(0x13b)](_0x4a1c4e[_0x586bfa(0xc5)]))!=null?_0x5dab55:_0x4a1c4e[_0x586bfa(0x1e4)])+'/'+_0x26776c+_0x586bfa(0x27c)+_0x26c871,_0x5d11e=new URL(window[_0x586bfa(0x12e)][_0x586bfa(0x28b)]),_0x128b5d={'scriptId':_0x26776c,'runId':(_0x199e91=_0x5d11e[_0x586bfa(0x1d6)][_0x586bfa(0x256)]('runId'))!=null?_0x199e91:'','function':_0x26c871,'unitId':_0x58c033['getUnitId'](),'argsOfFunction':JSON[_0x586bfa(0x12f)](_0xd76902),'invokeId':(_0x29f955=_0x560c42[_0x586bfa(0x1c4)])!=null?_0x29f955:'','executionId':(_0x5d3c8a=_0x560c42['executionId'])!=null?_0x5d3c8a:''};try{const _0x48a767=await this['_httpService'][_0x586bfa(0x217)](_0x1eb3ca,{'body':_0x128b5d});return _0x48a767[_0x586bfa(0x2dc)][_0x586bfa(0x24b)]&&_0x48a767[_0x586bfa(0x2dc)][_0x586bfa(0x24b)][_0x586bfa(0xc0)]!==_0x4bf53['OK']?_0x586bfa(0x2df):_0x48a767[_0x586bfa(0x2dc)]['result'];}catch{return _0x586bfa(0x2df);}}},_0x451931['RemoteUniscriptService']=_0x1ef545([_0x14101a(0x0,_0x598862[_0x32ae99(0xce)]),_0x14101a(0x1,_0x598862[_0x32ae99(0x331)](_0x29c365[_0x32ae99(0x13d)])),_0x14101a(0x2,_0x598862[_0x32ae99(0x1fb)])],_0x451931['RemoteUniscriptService']),_0x451931[_0x32ae99(0x258)]=_0x33ddc8,_0x451931[_0x32ae99(0x22d)]=_0x5e332f,_0x451931['SheetCollabCursorShape']=_0x5e3cf0,_0x451931[_0x32ae99(0x2ff)]=_0x54849d,_0x451931[_0x32ae99(0xdc)]=_0x485c4c,Object[_0x32ae99(0x2e3)](_0x451931,Symbol['toStringTag'],{'value':_0x32ae99(0x102)});}));
|