@univerjs-pro/collaboration-client-ui 0.8.1-nightly.202506121607 → 0.8.1-nightly.202506131607
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/cjs/facade.js +1 -1
- package/lib/cjs/index.js +1 -1
- package/lib/cjs/locale/en-US.js +1 -1
- package/lib/cjs/locale/fa-IR.js +1 -1
- package/lib/cjs/locale/fr-FR.js +1 -1
- package/lib/cjs/locale/ru-RU.js +1 -1
- package/lib/cjs/locale/vi-VN.js +1 -1
- package/lib/cjs/locale/zh-CN.js +1 -1
- package/lib/cjs/locale/zh-TW.js +1 -1
- package/lib/es/facade.js +1 -1
- package/lib/es/index.js +1 -1
- package/lib/es/locale/en-US.js +1 -1
- package/lib/es/locale/fa-IR.js +1 -1
- package/lib/es/locale/fr-FR.js +1 -1
- package/lib/es/locale/ru-RU.js +1 -1
- package/lib/es/locale/vi-VN.js +1 -1
- package/lib/es/locale/zh-CN.js +1 -1
- package/lib/es/locale/zh-TW.js +1 -1
- package/lib/facade.js +1 -1
- package/lib/index.js +1 -1
- package/lib/locale/en-US.js +1 -1
- package/lib/locale/fa-IR.js +1 -1
- package/lib/locale/fr-FR.js +1 -1
- package/lib/locale/ru-RU.js +1 -1
- package/lib/locale/vi-VN.js +1 -1
- package/lib/locale/zh-CN.js +1 -1
- package/lib/locale/zh-TW.js +1 -1
- package/lib/umd/facade.js +1 -1
- package/lib/umd/index.js +1 -1
- package/lib/umd/locale/en-US.js +1 -1
- package/lib/umd/locale/fa-IR.js +1 -1
- package/lib/umd/locale/fr-FR.js +1 -1
- package/lib/umd/locale/ru-RU.js +1 -1
- package/lib/umd/locale/vi-VN.js +1 -1
- package/lib/umd/locale/zh-CN.js +1 -1
- package/lib/umd/locale/zh-TW.js +1 -1
- package/package.json +17 -17
package/lib/umd/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(_0x43598f,_0x1ce069){const _0x3c682f=_0x25e4,_0x280911=_0x43598f();while(!![]){try{const _0x558bba=-parseInt(_0x3c682f(0x2b7))/0x1*(-parseInt(_0x3c682f(0x22d))/0x2)+parseInt(_0x3c682f(0x192))/0x3+parseInt(_0x3c682f(0x33b))/0x4+parseInt(_0x3c682f(0x136))/0x5*(-parseInt(_0x3c682f(0x34c))/0x6)+-parseInt(_0x3c682f(0x382))/0x7+parseInt(_0x3c682f(0x1b3))/0x8*(-parseInt(_0x3c682f(0x358))/0x9)+parseInt(_0x3c682f(0x1ed))/0xa*(parseInt(_0x3c682f(0x357))/0xb);if(_0x558bba===_0x1ce069)break;else _0x280911['push'](_0x280911['shift']());}catch(_0x23497c){_0x280911['push'](_0x280911['shift']());}}}(_0x225a,0x9fe35),function(_0x4c90d7,_0x5b5833){const _0x4061aa=_0x25e4;typeof exports==_0x4061aa(0x30e)&&typeof module<'u'?_0x5b5833(exports,require(_0x4061aa(0x2c9)),require(_0x4061aa(0x121)),require(_0x4061aa(0x2a6)),require(_0x4061aa(0x1d0)),require(_0x4061aa(0x256)),require(_0x4061aa(0x111)),require(_0x4061aa(0x114)),require('@univerjs/docs'),require(_0x4061aa(0x269)),require('@univerjs/engine-formula'),require(_0x4061aa(0x2d5)),require(_0x4061aa(0x348)),require(_0x4061aa(0x332)),require('react/jsx-runtime'),require(_0x4061aa(0x265)),require('@univerjs/design'),require(_0x4061aa(0x180)),require('@univerjs/rpc')):typeof define=='function'&&define[_0x4061aa(0x1d9)]?define([_0x4061aa(0x37e),_0x4061aa(0x2c9),'@univerjs/core',_0x4061aa(0x2a6),'@univerjs/network',_0x4061aa(0x256),_0x4061aa(0x111),_0x4061aa(0x114),'@univerjs/docs',_0x4061aa(0x269),'@univerjs/engine-formula','@univerjs/sheets',_0x4061aa(0x348),'@univerjs/sheets-ui','react/jsx-runtime',_0x4061aa(0x265),_0x4061aa(0x126),_0x4061aa(0x180),'@univerjs/rpc'],_0x5b5833):(_0x4c90d7=typeof globalThis<'u'?globalThis:_0x4c90d7||self,_0x5b5833(_0x4c90d7[_0x4061aa(0x211)]={},_0x4c90d7[_0x4061aa(0x254)],_0x4c90d7['UniverCore'],_0x4c90d7[_0x4061aa(0x20c)],_0x4c90d7[_0x4061aa(0x35c)],_0x4c90d7[_0x4061aa(0x326)],_0x4c90d7['UniverDrawing'],_0x4c90d7[_0x4061aa(0x114)],_0x4c90d7[_0x4061aa(0x215)],_0x4c90d7['UniverProCollaboration'],_0x4c90d7[_0x4061aa(0x289)],_0x4c90d7[_0x4061aa(0x1f9)],_0x4c90d7['rxjs'][_0x4061aa(0x1b6)],_0x4c90d7[_0x4061aa(0x2bb)],_0x4c90d7[_0x4061aa(0x37c)],_0x4c90d7['UniverUi'],_0x4c90d7[_0x4061aa(0x2dd)],_0x4c90d7['React'],_0x4c90d7[_0x4061aa(0x10f)]));}(this,function(_0x4392a1,_0x3d42b8,_0x20df47,_0x4e3aee,_0x230e9b,_0x8e9d75,_0x1a7423,_0x3396eb,_0xb95e52,_0x3395bd,_0x3bbe9e,_0x3148e7,_0xb9a466,_0x3410d0,_0x58edf1,_0x1229e7,_0x42ee62,_0x14d7ce,_0xdffc4){'use strict';const _0x364fc7=_0x25e4;var _0x24ec4f=Object['defineProperty'],_0x556e58=(_0x4c7413,_0x33b5a9,_0x181759)=>_0x33b5a9 in _0x4c7413?_0x24ec4f(_0x4c7413,_0x33b5a9,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x181759}):_0x4c7413[_0x33b5a9]=_0x181759,_0x4a92d0=(_0x55a34d,_0x41c959,_0x4087db)=>_0x556e58(_0x55a34d,typeof _0x41c959!=_0x364fc7(0x27e)?_0x41c959+'':_0x41c959,_0x4087db),_0xefbd97=Object[_0x364fc7(0x26c)],_0x1055ec=(_0x5d0c96,_0x1b0171,_0x43fb18,_0x503d5b)=>{for(var _0x500464=_0x503d5b>0x1?void 0x0:_0x503d5b?_0xefbd97(_0x1b0171,_0x43fb18):_0x1b0171,_0x48354c=_0x5d0c96['length']-0x1,_0x3af661;_0x48354c>=0x0;_0x48354c--)(_0x3af661=_0x5d0c96[_0x48354c])&&(_0x500464=_0x3af661(_0x500464)||_0x500464);return _0x500464;},_0xd365e8=(_0xbd8500,_0x55ba99)=>(_0x5bd548,_0x3a6158)=>_0x55ba99(_0x5bd548,_0x3a6158,_0xbd8500);let _0x5ecd54=class extends _0x20df47[_0x364fc7(0x36e)]{constructor(_0x429164,_0x3e8ea3){const _0x5d2c2a=_0x364fc7;super(),this[_0x5d2c2a(0x16e)]=_0x429164,this[_0x5d2c2a(0x24b)]=_0x3e8ea3,this[_0x5d2c2a(0x184)]();}[_0x364fc7(0x184)](){const _0x34ff83=_0x364fc7,_0x4dc90c=this;this[_0x34ff83(0x363)](this[_0x34ff83(0x16e)]['addClipboardHook']({'onBeforePasteImage':async _0xca6de1=>{const _0x3e8a93=_0x34ff83,_0x5bbdbc=await _0x4dc90c[_0x3e8a93(0x24b)]['saveImage'](_0xca6de1);return _0x5bbdbc?{'source':_0x5bbdbc['source'],'imageSourceType':_0x5bbdbc['imageSourceType']}:null;}}));}};_0x5ecd54=_0x1055ec([_0xd365e8(0x0,_0x8e9d75[_0x364fc7(0x17e)]),_0xd365e8(0x1,_0x1a7423[_0x364fc7(0x361)])],_0x5ecd54);const _0x2b4e89=[_0x364fc7(0x199),_0x364fc7(0x127),_0x364fc7(0x1d2),_0x364fc7(0x125),_0x364fc7(0x1e5),'yellow.400'];class _0x5cb8a1 extends _0x20df47['Disposable']{constructor(){const _0x5f0b9b=_0x364fc7;super(...arguments),_0x4a92d0(this,_0x5f0b9b(0x34b),new Map()),_0x4a92d0(this,_0x5f0b9b(0x384),0x0);}[_0x364fc7(0x286)](_0x10c989){const _0x3d163a=_0x364fc7;if(this[_0x3d163a(0x34b)]['has'](_0x10c989))return this[_0x3d163a(0x34b)][_0x3d163a(0x19c)](_0x10c989);const _0x2a4e04=_0x2b4e89[this[_0x3d163a(0x384)]];return this[_0x3d163a(0x384)]=(this['_colorIndex']+0x1)%_0x2b4e89[_0x3d163a(0x18f)],this[_0x3d163a(0x34b)][_0x3d163a(0x394)](_0x10c989,_0x2a4e04),_0x2a4e04;}}function _0x369e08(_0x26d382){const _0x32ecb6=_0x364fc7;let _0x16c485='';for(const _0x2f0e62 of _0x26d382){const {startOffset:_0x38e093,endOffset:_0x21d16c,isActive:_0x5c50a6,rangeType:_0x381761,segmentId:_0x272c90,segmentPage:_0x5b3d63}=_0x2f0e62;_0x16c485[_0x32ecb6(0x18f)]&&(_0x16c485+=','),_0x16c485+=_0x38e093+':'+_0x21d16c+':'+(_0x5c50a6?'1':'0')+':'+_0x381761+':'+_0x272c90+':'+_0x5b3d63;}return _0x16c485;}function _0x4d5903(_0x4cbc66){const _0x2dc81e=_0x364fc7,_0x5186bb=_0x4cbc66[_0x2dc81e(0x297)](','),_0x53972e=[];for(const _0xe46f15 of _0x5186bb){const [_0x542684,_0x27a484,_0x38468e,_0x4a1635,_0x5eda0b,_0x41c1b5]=_0xe46f15[_0x2dc81e(0x297)](':');_0x53972e[_0x2dc81e(0x1a5)]({'startOffset':Number(_0x542684),'endOffset':Number(_0x27a484),'collapsed':_0x542684===_0x27a484,'isActive':_0x38468e==='1','rangeType':_0x4a1635===_0x20df47[_0x2dc81e(0x1d5)]['TEXT']?_0x20df47[_0x2dc81e(0x1d5)][_0x2dc81e(0x279)]:_0x20df47['DOC_RANGE_TYPE']['RECT'],'segmentId':typeof _0x5eda0b=='string'?String(_0x5eda0b):'','segmentPage':Number(_0x41c1b5!=null?_0x41c1b5:-0x1)});}return _0x53972e[_0x2dc81e(0x1f6)](_0x5d1ac0=>_0x5d1ac0['isActive'])||(_0x53972e[0x0][_0x2dc81e(0x22b)]=!0x0),_0x53972e;}class _0x28b84a extends _0x20df47[_0x364fc7(0x36e)]{constructor(){const _0x403cd4=_0x364fc7;super(...arguments),_0x4a92d0(this,_0x403cd4(0x233),new _0x3396eb[(_0x403cd4(0x374))](null)),_0x4a92d0(this,'collabCursorState$',this['_collabCursorState$']['asObservable']());}[_0x364fc7(0x168)](_0x4f8fa2){const _0x3b1698=_0x364fc7,{unitID:_0x5086ef,memberID:_0x4eae28,textRanges:_0x5e618f}=_0x4f8fa2,_0x449b90=_0x369e08(_0x5e618f);if(_0x449b90==='')return;const _0x520053={'unitID':_0x5086ef,'memberID':_0x4eae28,'selection':_0x449b90};this[_0x3b1698(0x233)]['next'](_0x520053);}}var _0x59a0a5=Object[_0x364fc7(0x26c)],_0x2e8be0=(_0xb0271b,_0x2dbe14,_0x36a3db,_0x553219)=>{for(var _0x5a59fa=_0x553219>0x1?void 0x0:_0x553219?_0x59a0a5(_0x2dbe14,_0x36a3db):_0x2dbe14,_0x420d32=_0xb0271b['length']-0x1,_0x1565a4;_0x420d32>=0x0;_0x420d32--)(_0x1565a4=_0xb0271b[_0x420d32])&&(_0x5a59fa=_0x1565a4(_0x5a59fa)||_0x5a59fa);return _0x5a59fa;},_0x1bae86=(_0x756287,_0x3d3d86)=>(_0x3f8c7b,_0x3cef29)=>_0x3d3d86(_0x3f8c7b,_0x3cef29,_0x756287);const _0xcecaa9=0x12c,_0x776986=0x64;let _0x16045f=class extends _0x20df47[_0x364fc7(0x36e)]{constructor(_0x584166,_0x3405d3,_0xf6a7c3,_0x4338e5,_0x3dce3e,_0x51518a,_0x5bf332,_0x27f2a3,_0x370536){const _0x1f1853=_0x364fc7;super(),_0x4a92d0(this,_0x1f1853(0x2e9),!0x1),_0x4a92d0(this,_0x1f1853(0x184),!0x1),_0x4a92d0(this,_0x1f1853(0x1fc),new _0x3396eb[(_0x1f1853(0x374))](new Map())),_0x4a92d0(this,_0x1f1853(0x2f1),this[_0x1f1853(0x1fc)][_0x1f1853(0x29f)]()),_0x4a92d0(this,'_roomMembers$',new _0x3396eb[(_0x1f1853(0x374))]([])),_0x4a92d0(this,_0x1f1853(0x352),this[_0x1f1853(0x123)]['pipe'](_0x3396eb[_0x1f1853(0x26a)](_0xcecaa9))),_0x4a92d0(this,_0x1f1853(0x33a),_0x20df47[_0x1f1853(0x304)](_0x252319=>{const _0x3673a8=_0x1f1853,_0x388afa={'eventID':_0x3395bd[_0x3673a8(0x16a)][_0x3673a8(0x21a)],'data':{'unitID':this[_0x3673a8(0x25d)],'memberID':this[_0x3673a8(0x15f)][_0x3673a8(0x37b)](),'selection':_0x369e08(_0x252319)}};this[_0x3673a8(0x15f)][_0x3673a8(0x32c)](_0x388afa,this[_0x3673a8(0x25d)]);},_0x776986)),(this[_0x1f1853(0x25d)]=_0x584166,this['_session']=_0x3405d3,this[_0x1f1853(0x1b2)]=_0xf6a7c3,this['_colorAssignService']=_0x4338e5,this['_memberService']=_0x3dce3e,this[_0x1f1853(0x346)]=_0x51518a,this[_0x1f1853(0x1bf)]=_0x5bf332,this[_0x1f1853(0x1c2)]=_0x27f2a3,this[_0x1f1853(0x197)]=_0x370536);}get[_0x364fc7(0x209)](){const _0x5350c7=_0x364fc7;return this[_0x5350c7(0x1fc)]['getValue']();}get[_0x364fc7(0x112)](){const _0x17847=_0x364fc7;return this['_roomMembers$'][_0x17847(0x2c8)]();}[_0x364fc7(0x13f)](){const _0x13feac=_0x364fc7;super[_0x13feac(0x13f)](),this[_0x13feac(0x1fc)][_0x13feac(0x333)](new Map()),this['_cursorInfo$'][_0x13feac(0x2b2)](),this[_0x13feac(0x123)][_0x13feac(0x333)]([]),this[_0x13feac(0x123)][_0x13feac(0x2b2)]();}['init'](){const _0x5d3433=_0x364fc7;this[_0x5d3433(0x184)]||(this[_0x5d3433(0x184)]=!0x0,this[_0x5d3433(0x15f)][_0x5d3433(0x18a)][_0x5d3433(0x13a)](_0x3396eb[_0x5d3433(0x2ad)](this[_0x5d3433(0x365)]))[_0x5d3433(0x276)](_0x5d0dfc=>{const _0x28b22e=_0x5d3433;_0x5d0dfc===_0x3d42b8['SessionStatus'][_0x28b22e(0x306)]?this[_0x28b22e(0x1d6)]():this['_toggleOffline']();}),this[_0x5d3433(0x15f)][_0x5d3433(0x18d)][_0x5d3433(0x13a)](_0x3396eb[_0x5d3433(0x2ad)](this[_0x5d3433(0x365)]))[_0x5d3433(0x276)](_0x2e1b71=>{const _0x136ec2=_0x5d3433,_0x3de0e2=_0x2e1b71['eventID'];_0x3de0e2===_0x3395bd[_0x136ec2(0x16a)][_0x136ec2(0x21a)]&&this['_onCursorUpdate'](_0x2e1b71),_0x3de0e2===_0x3395bd[_0x136ec2(0x16a)][_0x136ec2(0x299)]&&this['_onCursorDelete'](_0x2e1b71);}),this['disposeWithMe'](this[_0x5d3433(0x197)][_0x5d3433(0x33f)](_0x4e3bec=>{const _0x3209b2=_0x5d3433,_0x934762=_0x4e3bec[_0x3209b2(0x1f3)];_0x934762!=null&&this['_online']&&_0x4e3bec['id']===_0xb95e52[_0x3209b2(0x2b5)]['id']&&_0x934762['unitId']===this[_0x3209b2(0x25d)]&&_0x934762[_0x3209b2(0x28c)]===!0x1&&_0x934762['ranges']['length']>0x0&&this['_updateLocalCursor'](_0x934762['ranges']);})),this['_syncEditingCollabCursorService']['collabCursorState$'][_0x5d3433(0x13a)](_0x3396eb[_0x5d3433(0x2ad)](this[_0x5d3433(0x365)]))['subscribe'](_0x10d318=>{const _0x32f785=_0x5d3433;if((_0x10d318==null?void 0x0:_0x10d318[_0x32f785(0x25d)])!==this[_0x32f785(0x25d)])return;const _0x2ef52f={'eventID':_0x3395bd['CollaborationEvent']['UPDATE_CURSOR'],'data':_0x10d318};this[_0x32f785(0x210)](_0x2ef52f);}),this[_0x5d3433(0x363)](this[_0x5d3433(0x197)][_0x5d3433(0x33f)](_0x173d1b=>{const _0x5b3253=_0x5d3433;if(_0x173d1b['params']==null)return;const _0x43e5f8=_0x173d1b[_0x5b3253(0x1f3)];if(_0x173d1b['id']!==_0xb95e52['RichTextEditingMutation']['id']||_0x43e5f8['unitId']!==this[_0x5b3253(0x25d)])return;const _0x3d51e9={'id':_0x5b3253(0x1b1),'params':_0x43e5f8},_0x513ee1=this[_0x5b3253(0x209)];for(const [_0x2454f9,_0x155f89]of _0x513ee1){const _0x5c7440={'id':'doc.mutation.rich-text-editing','params':{'unitId':this[_0x5b3253(0x25d)],'actions':null,'textRanges':_0x155f89['ranges']}},_0x477c2b=this['_transformService'][_0x5b3253(0x17a)](_0x3d51e9,_0x5c7440,!0x1);if(_0x3395bd[_0x5b3253(0x271)](_0x477c2b))throw _0x477c2b[_0x5b3253(0x1bb)];_0x513ee1[_0x5b3253(0x394)](_0x2454f9,{..._0x155f89,'ranges':_0x477c2b[_0x5b3253(0x138)][_0x5b3253(0x1f3)]['textRanges']});}queueMicrotask(()=>{const _0x915c77=_0x5b3253;this[_0x915c77(0x1fc)][_0x915c77(0x333)](_0x513ee1);});})));}['_onCursorUpdate'](_0x39a17f){const _0x54bd21=_0x364fc7;var _0xe38ed0,_0x5a5593;const {memberID:_0x30b134,selection:_0x36331b}=_0x39a17f['data'],_0xef241c=_0x4d5903(_0x36331b),_0x1a367b=(_0x5a5593=(_0xe38ed0=this[_0x54bd21(0x2cb)][_0x54bd21(0x28d)](this['unitID'],_0x30b134))==null?void 0x0:_0xe38ed0[_0x54bd21(0x287)])!=null?_0x5a5593:_0x54bd21(0x2d7),_0x2226dd={'color':this[_0x54bd21(0x1b7)][_0x54bd21(0x286)](_0x30b134),'name':_0x1a367b,'ranges':_0xef241c},_0xcab940=this['cursorInfo'];_0xcab940[_0x54bd21(0x394)](_0x30b134,_0x2226dd),this[_0x54bd21(0x1fc)]['next'](_0xcab940);}[_0x364fc7(0x124)](_0x899a5d){const _0x5cade7=_0x364fc7,{memberID:_0xfcf45c}=_0x899a5d[_0x5cade7(0x277)],_0x504cab=this['cursorInfo'];_0x504cab[_0x5cade7(0x1c3)](_0xfcf45c),this[_0x5cade7(0x1fc)]['next'](_0x504cab);}[_0x364fc7(0x1d6)](){const _0x38bfc4=_0x364fc7;var _0x52e9e3;if(this[_0x38bfc4(0x2e9)]=!0x0,((_0x52e9e3=this[_0x38bfc4(0x1c2)][_0x38bfc4(0x238)]())==null?void 0x0:_0x52e9e3[_0x38bfc4(0x191)]())!==this['unitID'])return;const _0x5c9f63=this[_0x38bfc4(0x1b2)][_0x38bfc4(0x19c)](_0xb95e52[_0x38bfc4(0x247)])[_0x38bfc4(0x314)]();Array[_0x38bfc4(0x237)](_0x5c9f63)&&_0x5c9f63[_0x38bfc4(0x18f)]>0x0&&this[_0x38bfc4(0x33a)](_0x5c9f63);}[_0x364fc7(0x2eb)](){this['_online']=!0x1;}};_0x16045f=_0x2e8be0([_0x1bae86(0x2,_0x20df47[_0x364fc7(0x28b)](_0x20df47['Injector'])),_0x1bae86(0x3,_0x20df47[_0x364fc7(0x28b)](_0x5cb8a1)),_0x1bae86(0x4,_0x20df47[_0x364fc7(0x28b)](_0x3d42b8[_0x364fc7(0x317)])),_0x1bae86(0x5,_0x20df47[_0x364fc7(0x28b)](_0x28b84a)),_0x1bae86(0x6,_0x3395bd['ITransformService']),_0x1bae86(0x7,_0x20df47[_0x364fc7(0x303)]),_0x1bae86(0x8,_0x20df47[_0x364fc7(0x353)])],_0x16045f);var _0x5b4adc=Object[_0x364fc7(0x26c)],_0x4f057e=(_0x3e09ea,_0x5e0733,_0x4bc323,_0x35ffcd)=>{for(var _0x2b4b48=_0x35ffcd>0x1?void 0x0:_0x35ffcd?_0x5b4adc(_0x5e0733,_0x4bc323):_0x5e0733,_0x5a345a=_0x3e09ea['length']-0x1,_0x21c43c;_0x5a345a>=0x0;_0x5a345a--)(_0x21c43c=_0x3e09ea[_0x5a345a])&&(_0x2b4b48=_0x21c43c(_0x2b4b48)||_0x2b4b48);return _0x2b4b48;},_0x92345a=(_0x53a3e2,_0x4f6f25)=>(_0x34cf3f,_0x568507)=>_0x4f6f25(_0x34cf3f,_0x568507,_0x53a3e2);const _0x187c9f=0x12c,_0x414c39=0x64,_0x3e56df=()=>{let _0x4e25e2=[],_0x5ba84c=!0x1;return _0x5c58fb=>{_0x4e25e2['push'](_0x5c58fb),_0x5ba84c||(_0x5ba84c=!0x0,setTimeout(()=>{_0x4e25e2['forEach'](_0x41dd51=>_0x41dd51()),_0x4e25e2=[],_0x5ba84c=!0x1;}));};};let _0x53f689=class extends _0x20df47[_0x364fc7(0x36e)]{constructor(_0x2bd760,_0x3445ad,_0x17838e,_0x47b82c,_0x53a45a,_0x9191c8,_0xa5d2b5,_0x2b19d7){const _0x1a5096=_0x364fc7;super(),_0x4a92d0(this,_0x1a5096(0x2e9),!0x1),_0x4a92d0(this,_0x1a5096(0x184),!0x1),_0x4a92d0(this,'_cursorInfo$',new _0x3396eb[(_0x1a5096(0x374))](new Map())),_0x4a92d0(this,_0x1a5096(0x2f1),this[_0x1a5096(0x1fc)][_0x1a5096(0x29f)]()),_0x4a92d0(this,_0x1a5096(0x123),new _0x3396eb[(_0x1a5096(0x374))]([])),_0x4a92d0(this,_0x1a5096(0x352),this[_0x1a5096(0x123)]['pipe'](_0x3396eb[_0x1a5096(0x26a)](_0x187c9f))),_0x4a92d0(this,_0x1a5096(0x33a),_0x20df47['debounce']((_0xbb0652,_0x25be08)=>{const _0x581f7e=_0x1a5096,_0x430f2a={'eventID':_0x3395bd[_0x581f7e(0x16a)][_0x581f7e(0x21a)],'data':{'unitID':this[_0x581f7e(0x25d)],'memberID':this[_0x581f7e(0x15f)]['getMemberID'](),'selection':_0x3bbe9e[_0x581f7e(0x2e7)](_0xbb0652,_0x25be08[_0x581f7e(0x208)])}};this['_session'][_0x581f7e(0x32c)](_0x430f2a,this[_0x581f7e(0x25d)]);},_0x414c39)),(this[_0x1a5096(0x25d)]=_0x2bd760,this['_session']=_0x3445ad,this['_injector']=_0x17838e,this[_0x1a5096(0x1b7)]=_0x47b82c,this[_0x1a5096(0x2cb)]=_0x53a45a,this[_0x1a5096(0x1c2)]=_0x9191c8,this[_0x1a5096(0x197)]=_0xa5d2b5,this['_refRangeService']=_0x2b19d7);}get[_0x364fc7(0x209)](){const _0x3688fd=_0x364fc7;return this[_0x3688fd(0x1fc)][_0x3688fd(0x2c8)]();}get[_0x364fc7(0x112)](){const _0x3ccea9=_0x364fc7;return this[_0x3ccea9(0x123)][_0x3ccea9(0x2c8)]();}[_0x364fc7(0x13f)](){const _0x227b0e=_0x364fc7;super[_0x227b0e(0x13f)](),this[_0x227b0e(0x1fc)][_0x227b0e(0x333)](new Map()),this[_0x227b0e(0x1fc)]['complete'](),this['_roomMembers$']['next']([]),this[_0x227b0e(0x123)][_0x227b0e(0x2b2)]();}[_0x364fc7(0x313)](){const _0x221ca7=_0x364fc7;this['_init']||(this[_0x221ca7(0x184)]=!0x0,this['_session'][_0x221ca7(0x18a)]['pipe'](_0x3396eb[_0x221ca7(0x2ad)](this[_0x221ca7(0x365)]))[_0x221ca7(0x276)](_0x5f59f5=>{const _0x23e73a=_0x221ca7;_0x5f59f5===_0x3d42b8[_0x23e73a(0x2b1)][_0x23e73a(0x306)]?this['_toggleOnline']():this['_toggleOffline']();}),this[_0x221ca7(0x15f)][_0x221ca7(0x18d)][_0x221ca7(0x13a)](_0x3396eb[_0x221ca7(0x2ad)](this[_0x221ca7(0x365)]))['subscribe'](_0x54ee44=>{const _0xfabf3c=_0x221ca7,_0x485c8a=_0x54ee44[_0xfabf3c(0x122)];_0x485c8a===_0x3395bd[_0xfabf3c(0x16a)]['UPDATE_CURSOR']&&this[_0xfabf3c(0x210)](_0x54ee44),_0x485c8a===_0x3395bd[_0xfabf3c(0x16a)][_0xfabf3c(0x299)]&&this[_0xfabf3c(0x124)](_0x54ee44);}),this['_onRefRangeChange'](),this['disposeWithMe'](this[_0x221ca7(0x197)][_0x221ca7(0x33f)](_0x349206=>{const _0x175054=_0x221ca7;if(this['_online']&&_0x349206['id']===_0x3148e7['SetSelectionsOperation']['id']&&_0x349206[_0x175054(0x1f3)][_0x175054(0x220)]===this[_0x175054(0x25d)]){const _0x1c30ad=_0x349206[_0x175054(0x1f3)];this[_0x175054(0x33a)](_0x1c30ad[_0x175054(0x1e6)],_0x1c30ad[_0x175054(0x207)][0x0]);}})));}[_0x364fc7(0x210)](_0x326f5c){const _0x34b6b2=_0x364fc7;var _0x1d0d71,_0xaca925;const {memberID:_0x1be6ca,selection:_0x4768b6}=_0x326f5c[_0x34b6b2(0x277)],{sheetName:_0x5ed9e4,range:_0xb25c80}=_0x3bbe9e[_0x34b6b2(0x283)](_0x4768b6),_0x597e1e={'name':(_0xaca925=(_0x1d0d71=this[_0x34b6b2(0x2cb)]['getMember'](this['unitID'],_0x1be6ca))==null?void 0x0:_0x1d0d71[_0x34b6b2(0x287)])!=null?_0xaca925:_0x34b6b2(0x2d7),'range':this[_0x34b6b2(0x2bd)](_0x5ed9e4,_0xb25c80),'sheetID':_0x5ed9e4,'color':this['_colorAssignService']['assignAColorForMemberID'](_0x1be6ca),'selection':_0x4768b6},_0x1a0f52=this[_0x34b6b2(0x209)];_0x1a0f52[_0x34b6b2(0x394)](_0x1be6ca,_0x597e1e),this[_0x34b6b2(0x1fc)][_0x34b6b2(0x333)](_0x1a0f52);}['_onCursorDelete'](_0x1289ce){const _0x1a5592=_0x364fc7,{memberID:_0x34df2f}=_0x1289ce[_0x1a5592(0x277)],_0x26a2da=this[_0x1a5592(0x209)];_0x26a2da[_0x1a5592(0x1c3)](_0x34df2f),this[_0x1a5592(0x1fc)]['next'](_0x26a2da);}[_0x364fc7(0x2bd)](_0x1fec1a,_0x5d14a8){const _0x33f1f5=_0x364fc7;var _0x9dcb60,_0x281c99;const _0x41e712=(_0x281c99=(_0x9dcb60=this[_0x33f1f5(0x1c2)]['getUniverSheetInstance'](this['unitID']))==null?void 0x0:_0x9dcb60[_0x33f1f5(0x28f)](_0x1fec1a))==null?void 0x0:_0x281c99['getMergeData']();return(_0x41e712==null?void 0x0:_0x41e712[_0x33f1f5(0x2ff)](_0x3d6f25=>_0x20df47[_0x33f1f5(0x378)][_0x33f1f5(0x203)](_0x3d6f25,_0x5d14a8)))||_0x5d14a8;}[_0x364fc7(0x2c2)](){const _0x46cd3e=_0x364fc7,_0x36961c=new _0x20df47[(_0x46cd3e(0x196))](),_0x33abb0=_0x3e56df(),_0x178605=()=>{const _0x6de95f=_0x46cd3e;_0x36961c[_0x6de95f(0x13f)]();const _0x1a9893=(_0x4c78ab,_0x5cad1e,_0x584a87,_0x132237)=>{const _0x58a730=_0x6de95f;let _0x550dbd=[];switch(_0x4c78ab['id']){case _0x3148e7[_0x58a730(0x1c1)]['DeleteRangeMoveLeftCommandId']:{_0x550dbd=_0x3148e7[_0x58a730(0x1c7)](_0x4c78ab,_0x132237);break;}case _0x3148e7['EffectRefRangId']['DeleteRangeMoveUpCommandId']:{_0x550dbd=_0x3148e7[_0x58a730(0x311)](_0x4c78ab,_0x132237);break;}case _0x3148e7[_0x58a730(0x1c1)][_0x58a730(0x2fa)]:{_0x550dbd=_0x3148e7[_0x58a730(0x36c)](_0x4c78ab,_0x132237);break;}case _0x3148e7['EffectRefRangId'][_0x58a730(0x14f)]:{_0x550dbd=_0x3148e7['handleInsertRangeMoveDown'](_0x4c78ab,_0x132237);break;}case _0x3148e7['EffectRefRangId'][_0x58a730(0x344)]:{_0x550dbd=_0x3148e7[_0x58a730(0x293)](_0x4c78ab,_0x132237);break;}case _0x3148e7['EffectRefRangId']['InsertRowCommandId']:{_0x550dbd=_0x3148e7['handleInsertRow'](_0x4c78ab,_0x132237);break;}case _0x3148e7[_0x58a730(0x1c1)][_0x58a730(0x322)]:{_0x550dbd=_0x3148e7[_0x58a730(0x309)](_0x4c78ab,_0x132237);break;}case _0x3148e7[_0x58a730(0x1c1)]['RemoveColCommandId']:{_0x550dbd=_0x3148e7[_0x58a730(0x305)](_0x4c78ab,_0x132237);break;}case _0x3148e7[_0x58a730(0x1c1)][_0x58a730(0x2fc)]:{_0x550dbd=_0x3148e7[_0x58a730(0x195)](_0x4c78ab,_0x132237);break;}}const _0x557ad8=_0x3148e7[_0x58a730(0x1d8)](_0x550dbd,_0x132237),_0x372ef3=this[_0x58a730(0x209)][_0x58a730(0x19c)](_0x5cad1e);if(_0x372ef3&&_0x557ad8){const _0x273ebf={..._0x372ef3,'range':_0x557ad8};this[_0x58a730(0x209)]['set'](_0x5cad1e,_0x273ebf),_0x33abb0(()=>{const _0x3a05bd=_0x58a730,_0x47a099=this[_0x3a05bd(0x1c4)][_0x3a05bd(0x2bf)](_0x557ad8,_0x3e5af8=>(_0x47a099[_0x3a05bd(0x13f)](),_0x1a9893(_0x3e5af8,_0x5cad1e,_0x584a87,_0x557ad8)));_0x36961c[_0x3a05bd(0x370)](_0x47a099);});}return{'redos':[],'undos':[]};};this['cursorInfo'][_0x6de95f(0x24a)]((_0x5415ee,_0x2d798e)=>{const _0x19c772=_0x6de95f,{range:_0x551040,sheetID:_0x4946cb}=_0x5415ee,_0x508579=this[_0x19c772(0x1c4)][_0x19c772(0x2bf)](_0x551040,_0x21e63c=>(_0x508579[_0x19c772(0x13f)](),_0x1a9893(_0x21e63c,_0x2d798e,_0x4946cb,_0x551040)));_0x36961c[_0x19c772(0x370)](_0x508579);});};this[_0x46cd3e(0x363)](_0x20df47[_0x46cd3e(0x222)](this['_cursorInfo$']['subscribe'](()=>{_0x178605();})));}[_0x364fc7(0x1d6)](){const _0x56ae8d=_0x364fc7;var _0x150c80,_0x4398af;if(this['_online']=!0x0,((_0x150c80=this[_0x56ae8d(0x1c2)][_0x56ae8d(0x238)]())==null?void 0x0:_0x150c80[_0x56ae8d(0x191)]())!==this[_0x56ae8d(0x25d)])return;const _0x381581=(_0x4398af=this['_injector'][_0x56ae8d(0x19c)](_0x3148e7[_0x56ae8d(0x150)])[_0x56ae8d(0x1af)]())==null?void 0x0:_0x4398af[0x0],_0x43826b=this[_0x56ae8d(0x1c2)]['getCurrentUnitForType'](_0x20df47[_0x56ae8d(0x386)]['UNIVER_SHEET'])[_0x56ae8d(0x2cc)]();_0x381581&&_0x43826b&&this[_0x56ae8d(0x33a)](_0x43826b[_0x56ae8d(0x33c)](),_0x381581);}['_toggleOffline'](){const _0x33ece5=_0x364fc7;this[_0x33ece5(0x2e9)]=!0x1;}};_0x53f689=_0x4f057e([_0x92345a(0x2,_0x20df47[_0x364fc7(0x28b)](_0x20df47[_0x364fc7(0x120)])),_0x92345a(0x3,_0x20df47[_0x364fc7(0x28b)](_0x5cb8a1)),_0x92345a(0x4,_0x20df47['Inject'](_0x3d42b8[_0x364fc7(0x317)])),_0x92345a(0x5,_0x20df47[_0x364fc7(0x303)]),_0x92345a(0x6,_0x20df47[_0x364fc7(0x353)]),_0x92345a(0x7,_0x20df47[_0x364fc7(0x28b)](_0x3148e7['RefRangeService']))],_0x53f689);var _0x2759fd=Object[_0x364fc7(0x26c)],_0x42541d=(_0x5427cb,_0x12d1af,_0x23ccab,_0x25c8eb)=>{const _0x217a87=_0x364fc7;for(var _0x15b56d=_0x25c8eb>0x1?void 0x0:_0x25c8eb?_0x2759fd(_0x12d1af,_0x23ccab):_0x12d1af,_0x1a41cc=_0x5427cb[_0x217a87(0x18f)]-0x1,_0x12d219;_0x1a41cc>=0x0;_0x1a41cc--)(_0x12d219=_0x5427cb[_0x1a41cc])&&(_0x15b56d=_0x12d219(_0x15b56d)||_0x15b56d);return _0x15b56d;},_0x335437=(_0x5dcccb,_0x4afed9)=>(_0x3cdfc7,_0x558fd6)=>_0x4afed9(_0x3cdfc7,_0x558fd6,_0x5dcccb);let _0x100640=class extends _0x20df47['RxDisposable']{constructor(_0x250e30,_0x122f5a,_0x1fb054){const _0x50c691=_0x364fc7;super(),_0x4a92d0(this,_0x50c691(0x38f),new Map()),_0x4a92d0(this,_0x50c691(0x35e),new _0x3396eb[(_0x50c691(0x38d))]()),(this['_univerInstanceService']=_0x250e30,this[_0x50c691(0x1b2)]=_0x122f5a,this[_0x50c691(0x1d3)]=_0x1fb054,this[_0x50c691(0x184)]());}['dispose'](){const _0x3f52e1=_0x364fc7;super[_0x3f52e1(0x13f)](),this[_0x3f52e1(0x35e)]['complete'](),this[_0x3f52e1(0x38f)][_0x3f52e1(0x24a)](_0x5c04cc=>_0x5c04cc[_0x3f52e1(0x13f)]());}[_0x364fc7(0x1fe)](_0x49769f){const _0x49b3b7=_0x364fc7;return this[_0x49b3b7(0x38f)][_0x49b3b7(0x1f1)](_0x49769f)?this['_entities'][_0x49b3b7(0x19c)](_0x49769f)['cursorInfo$']:this[_0x49b3b7(0x35e)][_0x49b3b7(0x13a)](_0x3396eb[_0x49b3b7(0x29d)](_0x59196d=>_0x59196d[_0x49b3b7(0x25d)]===_0x49769f),_0x3396eb[_0x49b3b7(0x187)](_0x31b7a0=>_0x31b7a0[_0x49b3b7(0x2f1)]));}[_0x364fc7(0x184)](){const _0x3a578a=_0x364fc7;this['_univerInstanceService']['getTypeOfUnitAdded$'](_0x20df47[_0x3a578a(0x386)][_0x3a578a(0x32e)])[_0x3a578a(0x13a)](_0x3396eb['takeUntil'](this[_0x3a578a(0x365)]))['subscribe'](async _0xa9064b=>{const _0x3ccf8b=_0x3a578a,_0x156c81=_0xa9064b[_0x3ccf8b(0x191)](),_0x8b0184=await this[_0x3ccf8b(0x149)](_0x156c81);this[_0x3ccf8b(0x35e)][_0x3ccf8b(0x333)](_0x8b0184),this[_0x3ccf8b(0x38f)][_0x3ccf8b(0x394)](_0x156c81,_0x8b0184);}),this[_0x3a578a(0x1c2)]['getTypeOfUnitAdded$'](_0x20df47[_0x3a578a(0x386)][_0x3a578a(0x2d6)])[_0x3a578a(0x13a)](_0x3396eb[_0x3a578a(0x2ad)](this[_0x3a578a(0x365)]))['pipe'](_0x3396eb[_0x3a578a(0x29d)](_0x448916=>!_0x448916[_0x3a578a(0x191)]()['startsWith']('__')))[_0x3a578a(0x276)](async _0x14e431=>{const _0x4fff68=_0x3a578a,_0x1784a9=_0x14e431[_0x4fff68(0x191)](),_0x570a04=await this['_startDocCollabCursor'](_0x1784a9);this[_0x4fff68(0x35e)][_0x4fff68(0x333)](_0x570a04),this[_0x4fff68(0x38f)][_0x4fff68(0x394)](_0x1784a9,_0x570a04);}),_0x3396eb[_0x3a578a(0x146)](this[_0x3a578a(0x1c2)][_0x3a578a(0x174)](_0x20df47[_0x3a578a(0x386)][_0x3a578a(0x2d6)]),this[_0x3a578a(0x1c2)]['getTypeOfUnitDisposed$'](_0x20df47['UniverInstanceType'][_0x3a578a(0x32e)]))['pipe'](_0x3396eb[_0x3a578a(0x2ad)](this['dispose$']))[_0x3a578a(0x276)](_0x2c492a=>{const _0x4d7305=_0x3a578a,_0x57e5cb=_0x2c492a['getUnitId'](),_0x2000ec=this['_entities'][_0x4d7305(0x19c)](_0x57e5cb);_0x2000ec&&(_0x2000ec[_0x4d7305(0x13f)](),this[_0x4d7305(0x38f)][_0x4d7305(0x1c3)](_0x57e5cb));});}async[_0x364fc7(0x149)](_0x9b4c18){const _0x51f393=_0x364fc7,_0x4cf94a=await this[_0x51f393(0x1d3)][_0x51f393(0x1e1)](_0x9b4c18),_0x36e3d0=this['_injector'][_0x51f393(0x12a)](_0x53f689,_0x9b4c18,_0x4cf94a);return _0x36e3d0[_0x51f393(0x313)](),_0x36e3d0;}async[_0x364fc7(0x282)](_0x37e88c){const _0x79e5a=_0x364fc7,_0x40af69=await this[_0x79e5a(0x1d3)][_0x79e5a(0x1e1)](_0x37e88c),_0xb1416d=this[_0x79e5a(0x1b2)]['createInstance'](_0x16045f,_0x37e88c,_0x40af69);return _0xb1416d[_0x79e5a(0x313)](),_0xb1416d;}};_0x100640=_0x42541d([_0x335437(0x0,_0x20df47[_0x364fc7(0x303)]),_0x335437(0x1,_0x20df47['Inject'](_0x20df47[_0x364fc7(0x120)])),_0x335437(0x2,_0x20df47[_0x364fc7(0x28b)](_0x3d42b8[_0x364fc7(0x383)]))],_0x100640);const _0xa14d99=0x14,_0x1b63c7=0xc8,_0xf51cdb=0x4,_0x16408e=0x5;function _0x5c5729(_0x4c2771,_0x392fc6){const _0x2bca3e=_0x364fc7;let {radius:_0x4758af,width:_0x104562,height:_0x50a934}=_0x392fc6;_0x4758af=_0x4758af!=null?_0x4758af:0x0,_0x104562=_0x104562!=null?_0x104562:0x1e,_0x50a934=_0x50a934!=null?_0x50a934:0x1e;let _0x54901d=0x0,_0x5ca567=0x0,_0x2d28de=0x0;_0x54901d=_0x5ca567=_0x2d28de=Math[_0x2bca3e(0x243)](_0x4758af,_0x104562/0x2,_0x50a934/0x2),_0x4c2771[_0x2bca3e(0x15b)](),_0x4c2771[_0x2bca3e(0x267)](_0x54901d,0x0),_0x4c2771[_0x2bca3e(0x31b)](_0x104562-_0x5ca567,0x0),_0x4c2771[_0x2bca3e(0x31e)](_0x104562-_0x5ca567,_0x5ca567,_0x5ca567,Math['PI']*0x3/0x2,0x0,!0x1),_0x4c2771['lineTo'](_0x104562,_0x50a934-_0x2d28de),_0x4c2771[_0x2bca3e(0x31e)](_0x104562-_0x2d28de,_0x50a934-_0x2d28de,_0x2d28de,0x0,Math['PI']/0x2,!0x1),_0x4c2771[_0x2bca3e(0x31b)](0x0,_0x50a934),_0x4c2771[_0x2bca3e(0x31b)](0x0,_0x54901d),_0x4c2771['arc'](_0x54901d,_0x54901d,_0x54901d,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x4c2771[_0x2bca3e(0x320)](),_0x392fc6['fill']&&(_0x4c2771[_0x2bca3e(0x1ae)](),_0x4c2771[_0x2bca3e(0x2a3)]=_0x392fc6[_0x2bca3e(0x133)],_0x392fc6[_0x2bca3e(0x1a1)]===_0x2bca3e(0x139)?_0x4c2771[_0x2bca3e(0x133)]('evenodd'):_0x4c2771[_0x2bca3e(0x133)](),_0x4c2771[_0x2bca3e(0x110)]());}class _0x5b1836 extends _0x4e3aee[_0x364fc7(0x113)]{constructor(_0x37b817,_0x3c82d2){const _0x4b1783=_0x364fc7;super(_0x37b817,_0x3c82d2),_0x4a92d0(this,_0x4b1783(0x1a4)),_0x4a92d0(this,_0x4b1783(0x173)),(this[_0x4b1783(0x1a4)]=_0x3c82d2==null?void 0x0:_0x3c82d2[_0x4b1783(0x1a4)],this[_0x4b1783(0x173)]=_0x3c82d2==null?void 0x0:_0x3c82d2[_0x4b1783(0x173)]);}static[_0x364fc7(0x338)](_0x229c91,_0x1d1a93){const _0x4652c0=_0x364fc7,{text:_0x15854a,color:_0x390aff}=_0x1d1a93;_0x229c91[_0x4652c0(0x1ae)](),_0x229c91[_0x4652c0(0x36d)]=_0x4652c0(0x10c);const _0x307a4a=_0x229c91[_0x4652c0(0x379)](_0x15854a)[_0x4652c0(0x2c7)],_0x47ac6b=Math['min'](_0x307a4a+0x2*_0xf51cdb,_0x1b63c7);_0x5c5729(_0x229c91,{'height':_0xa14d99,'radius':0x4,'width':_0x47ac6b,'fill':_0x390aff}),_0x229c91[_0x4652c0(0x2a3)]=_0x4652c0(0x145);const _0x553f36=_0xf51cdb,_0x28ef8c=_0xa14d99-_0x16408e,_0x38f743=_0x1b63c7-0x2*_0xf51cdb;if(_0x307a4a>_0x38f743){let _0x585881='',_0x4c0fdc=0x0;for(const _0x345da8 of _0x15854a){const _0x1a7098=_0x229c91[_0x4652c0(0x379)](_0x345da8)[_0x4652c0(0x2c7)];if(_0x4c0fdc+_0x1a7098<=_0x38f743-_0x229c91[_0x4652c0(0x379)](_0x4652c0(0x227))[_0x4652c0(0x2c7)])_0x585881+=_0x345da8,_0x4c0fdc+=_0x1a7098;else{_0x585881+='...';break;}}_0x229c91[_0x4652c0(0x21d)](_0x585881,_0x553f36,_0x28ef8c);}else _0x229c91[_0x4652c0(0x21d)](_0x15854a,_0x553f36,_0x28ef8c);_0x229c91[_0x4652c0(0x110)]();}[_0x364fc7(0x2cd)](_0x2d14dc){const _0x6f212=_0x364fc7;_0x5b1836[_0x6f212(0x338)](_0x2d14dc,this);}}const _0x3c94cf=_0x364fc7(0x2a2),_0x2bdc63=_0x364fc7(0x312),_0x367a8e=_0x364fc7(0x1c0),_0x156cbd=0x6,_0x4569f4=1.5,_0x1026d9=0x4,_0x491806=1.5,_0x1f84cc='rgba(255,\x20255,\x20255,\x200.01)';class _0xb5b1cb{constructor(_0x4956bd,_0x58e318,_0x28d220,_0xe90383){const _0x5a04ed=_0x364fc7;_0x4a92d0(this,_0x5a04ed(0x2ae),[]),_0x4a92d0(this,_0x5a04ed(0x153),null),_0x4a92d0(this,'_textBubble',null),_0x4a92d0(this,'_anchorDot',null),_0x4a92d0(this,_0x5a04ed(0x1bc),null),_0x4a92d0(this,_0x5a04ed(0x169),null),(this[_0x5a04ed(0x2ee)]=_0x4956bd,this[_0x5a04ed(0x16b)]=_0x58e318,this['_docSkeleton']=_0x28d220,this[_0x5a04ed(0x24d)]=_0xe90383,this['_render']());}set[_0x364fc7(0x334)](_0x1ba374){const _0x17c61f=_0x364fc7;_0x1ba374?(this[_0x17c61f(0x183)]&&this[_0x17c61f(0x183)][_0x17c61f(0x35b)](),this[_0x17c61f(0x19e)]&&this[_0x17c61f(0x19e)][_0x17c61f(0x12e)]()):(this[_0x17c61f(0x183)]&&this[_0x17c61f(0x183)][_0x17c61f(0x12e)](),this[_0x17c61f(0x19e)]&&this['_textBubble'][_0x17c61f(0x35b)]());}['dispose'](){const _0x3257b0=_0x364fc7;for(const _0x514913 of this[_0x3257b0(0x2ae)])_0x514913['dispose']();this[_0x3257b0(0x19e)]&&this[_0x3257b0(0x19e)][_0x3257b0(0x13f)](),this[_0x3257b0(0x183)]&&this[_0x3257b0(0x183)][_0x3257b0(0x13f)](),this[_0x3257b0(0x153)]&&this[_0x3257b0(0x153)][_0x3257b0(0x13f)](),this[_0x3257b0(0x169)]&&this[_0x3257b0(0x169)]();}[_0x364fc7(0x18e)](){const _0x3b277a=_0x364fc7;var _0x52a1a1;const {_docSkeleton:_0x323838,_document:_0x4b2d7e}=this,{color:_0x50aad8,name:_0x51f19b,ranges:_0x38cdcc}=this[_0x3b277a(0x2ee)],_0x245f23=_0x4b2d7e[_0x3b277a(0x245)](),{docsLeft:_0x1d86f1,docsTop:_0xee5ca7}=_0x245f23,_0xbdc319=new _0x8e9d75[(_0x3b277a(0x240))](_0x245f23,_0x323838);for(const {startOffset:_0x55edee,endOffset:_0xff65dc,rangeType:_0x204b9c,segmentId:_0x4d705a,segmentPage:_0x385b20,collapsed:_0x4b5fe8,isActive:_0x31a65c}of _0x38cdcc){const _0x8023b4=_0x323838['findNodePositionByCharIndex'](_0x55edee,!0x0,_0x4d705a,_0x385b20);let _0x261d45=_0x323838[_0x3b277a(0x1ec)](_0xff65dc,!0x0,_0x4d705a,_0x385b20);if(_0x261d45==null&&(_0x261d45=_0x323838['findNodePositionByCharIndex'](_0xff65dc-0x1,!0x1,_0x4d705a,_0x385b20)),_0x31a65c){const {contentBoxPointGroup:_0x5391ef}=_0xbdc319[_0x3b277a(0x280)](_0x261d45,_0x261d45);if(_0x5391ef[_0x3b277a(0x18f)]===0x0)continue;this[_0x3b277a(0x1ce)](_0x50aad8,_0x5391ef,_0x1d86f1,_0xee5ca7,_0x51f19b),this['_eventUnsubscribe']=this[_0x3b277a(0x2b6)]();}if(_0x8023b4&&_0x261d45){if(_0x204b9c===_0x20df47[_0x3b277a(0x1d5)][_0x3b277a(0x15a)]){const _0x3741c1=new _0x8e9d75[(_0x3b277a(0x181))](_0x245f23,_0x323838),{pointGroup:_0x646c2b}=(_0x52a1a1=_0x3741c1[_0x3b277a(0x280)](_0x8023b4,_0x261d45))!=null?_0x52a1a1:{};if(_0x646c2b==null||_0x646c2b[_0x3b277a(0x18f)]===0x0)continue;this[_0x3b277a(0x391)](_0x50aad8,_0x646c2b,_0x1d86f1,_0xee5ca7);}else{if(!_0x4b5fe8){const {borderBoxPointGroup:_0x55ba12}=_0xbdc319[_0x3b277a(0x280)](_0x8023b4,_0x261d45);if(_0x55ba12[_0x3b277a(0x18f)]===0x0)continue;this[_0x3b277a(0x166)](_0x50aad8,_0x55ba12,_0x1d86f1,_0xee5ca7);}}}}}[_0x364fc7(0x1ce)](_0xa92540,_0x5525e5,_0x4f9b33,_0x157225,_0xc516e5){const _0x3dddb9=_0x364fc7,_0x3da2e8=this[_0x3dddb9(0x252)](_0x5525e5),{left:_0x5af387,top:_0x5d32a0,height:_0xbcd98e}=_0x3da2e8,_0x2b1f96=this['_getScale'](),_0x1b9858=_0x491806/_0x2b1f96,_0x5421d5=new _0x4e3aee[(_0x3dddb9(0x16d))](_0x3c94cf+_0x20df47[_0x3dddb9(0x19b)][_0x3dddb9(0x30c)](_0x156cbd),{'left':_0x5af387+_0x4f9b33-_0x1b9858,'top':_0x5d32a0+_0x157225,'height':_0xbcd98e,'width':_0x4569f4,'fill':_0xa92540||_0x4e3aee[_0x3dddb9(0x24c)](_0x20df47[_0x3dddb9(0x1e0)]['black'],0x0),'strokeWidth':_0x1b9858,'stroke':_0x1f84cc,'evented':!0x0});this['_anchor']=_0x5421d5,this['_scene'][_0x3dddb9(0x21f)](_0x5421d5,_0x8e9d75[_0x3dddb9(0x239)]);const _0x3559bf=new _0x4e3aee['Rect'](_0x3c94cf+_0x20df47['Tools'][_0x3dddb9(0x30c)](_0x156cbd),{'left':_0x5af387+_0x4f9b33-_0x1b9858,'top':_0x5d32a0+_0x157225-_0x1026d9/0x2,'height':_0x1026d9,'width':_0x1026d9,'fill':_0xa92540||_0x4e3aee['getColor'](_0x20df47['COLORS'][_0x3dddb9(0x186)],0x0),'strokeWidth':0x0,'stroke':_0xa92540||_0x4e3aee[_0x3dddb9(0x24c)](_0x20df47['COLORS']['black'],0x0),'evented':!0x1});this[_0x3dddb9(0x183)]=_0x3559bf,this[_0x3dddb9(0x16b)][_0x3dddb9(0x21f)](_0x3559bf,_0x8e9d75[_0x3dddb9(0x239)]);const _0x3ea1cc=new _0x5b1836(_0x3c94cf+_0x20df47[_0x3dddb9(0x19b)][_0x3dddb9(0x30c)](_0x156cbd),{'left':_0x5af387+_0x4f9b33-_0x1b9858,'top':_0x5d32a0+_0x157225-_0xa14d99,'text':_0xc516e5,'color':_0xa92540});this[_0x3dddb9(0x19e)]=_0x3ea1cc,this[_0x3dddb9(0x16b)][_0x3dddb9(0x21f)](_0x3ea1cc,_0x8e9d75['TEXT_RANGE_LAYER_INDEX']),this['_hover']=!0x1;}['_handleHover'](){const _0x2efe25=_0x364fc7,_0x4c0d3e=this[_0x2efe25(0x153)][_0x2efe25(0x25e)][_0x2efe25(0x2c4)](()=>{const _0x401ea0=_0x2efe25;this[_0x401ea0(0x334)]=!0x0;}),_0x1cd70a=this[_0x2efe25(0x153)][_0x2efe25(0x387)][_0x2efe25(0x2c4)](()=>{const _0xfff252=_0x2efe25;this['_hideTimer']&&clearTimeout(this[_0xfff252(0x1bc)]),this[_0xfff252(0x1bc)]=setTimeout(()=>{const _0x53851b=_0xfff252;this[_0x53851b(0x334)]=!0x1;},0x7d0);});return()=>{const _0x18f15f=_0x2efe25;_0x4c0d3e[_0x18f15f(0x1f0)](),_0x1cd70a[_0x18f15f(0x1f0)]();};}[_0x364fc7(0x166)](_0x2f8ef0,_0x127882,_0x154cd9,_0x44d4f5){const _0xdada28=_0x364fc7,_0x720cc4=new _0x20df47['ColorKit'](_0x2f8ef0)[_0xdada28(0x1a6)](0.2)['toRgbString'](),_0x3bff00=new _0x4e3aee[(_0xdada28(0x28e))](_0x2bdc63+_0x20df47[_0xdada28(0x19b)]['generateRandomId'](_0x156cbd),{'pointsGroup':_0x127882,'fill':_0x720cc4||_0x4e3aee[_0xdada28(0x24c)](_0x20df47[_0xdada28(0x1e0)][_0xdada28(0x186)],0.2),'left':_0x154cd9,'top':_0x44d4f5,'evented':!0x1,'debounceParentDirty':!0x1});this['_shapes'][_0xdada28(0x1a5)](_0x3bff00),this[_0xdada28(0x16b)][_0xdada28(0x21f)](_0x3bff00,_0x8e9d75[_0xdada28(0x239)]);}[_0x364fc7(0x391)](_0x2defe8,_0x5998d0,_0x121fb7,_0x45b4a1){const _0x452697=_0x364fc7,_0x173c00=new _0x20df47[(_0x452697(0x13e))](_0x2defe8)[_0x452697(0x1a6)](0.2)[_0x452697(0x2d1)](),_0x375ab0=new _0x4e3aee[(_0x452697(0x28e))](_0x367a8e+_0x20df47[_0x452697(0x19b)]['generateRandomId'](_0x156cbd),{'pointsGroup':_0x5998d0,'fill':_0x173c00||_0x4e3aee[_0x452697(0x24c)](_0x20df47[_0x452697(0x1e0)][_0x452697(0x186)],0.2),'left':_0x121fb7,'top':_0x45b4a1,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x452697(0x2ae)]['push'](_0x375ab0),this[_0x452697(0x16b)][_0x452697(0x21f)](_0x375ab0,_0x8e9d75[_0x452697(0x239)]);}[_0x364fc7(0x252)](_0x62ebb5){const _0x106d81=_0x62ebb5[0x0],_0xe5fdd1=_0x106d81[0x0],_0x2e4654=_0x106d81[0x2],{x:_0x5c505b,y:_0x167df5}=_0xe5fdd1,{x:_0x37bb52,y:_0x27b0d1}=_0x2e4654;return{'left':_0x5c505b,'top':_0x167df5,'width':_0x37bb52-_0x5c505b,'height':_0x27b0d1-_0x167df5};}['_getScale'](){const _0x1afb1c=_0x364fc7,{scaleX:_0x5b8d40,scaleY:_0x1e09d1}=this[_0x1afb1c(0x16b)][_0x1afb1c(0x307)]();return Math[_0x1afb1c(0x273)](_0x5b8d40,_0x1e09d1);}}var _0x3660a3=Object[_0x364fc7(0x26c)],_0x89ad33=(_0x3964bc,_0x563b36,_0x42508a,_0x551445)=>{const _0x3ac344=_0x364fc7;for(var _0x1698f6=_0x551445>0x1?void 0x0:_0x551445?_0x3660a3(_0x563b36,_0x42508a):_0x563b36,_0x22c722=_0x3964bc[_0x3ac344(0x18f)]-0x1,_0xedca0c;_0x22c722>=0x0;_0x22c722--)(_0xedca0c=_0x3964bc[_0x22c722])&&(_0x1698f6=_0xedca0c(_0x1698f6)||_0x1698f6);return _0x1698f6;},_0x2f4d18=(_0x4f71c8,_0x391de3)=>(_0xb5a88,_0x2b428d)=>_0x391de3(_0xb5a88,_0x2b428d,_0x4f71c8);let _0x540093=class extends _0x20df47[_0x364fc7(0x36e)]{constructor(_0x2844ba,_0x544995,_0x399e53,_0xf1d5a0,_0x4e908a){const _0xf1e650=_0x364fc7;super(),_0x4a92d0(this,'_cursorShapes',[]),_0x4a92d0(this,'_cursors',[]),(this[_0xf1e650(0x261)]=_0x2844ba,this['_docSkeletonManagerService']=_0x544995,this[_0xf1e650(0x380)]=_0x399e53,this[_0xf1e650(0x197)]=_0xf1d5a0,this['_themeService']=_0x4e908a,this[_0xf1e650(0x184)]());}[_0x364fc7(0x184)](){const _0x558164=_0x364fc7,_0x5dbd46=this[_0x558164(0x261)]['unitId'],_0x33e8a2=this[_0x558164(0x2ca)];this[_0x558164(0x363)](_0x3396eb['combineLatest']([this['_collabCursorController'][_0x558164(0x1fe)](_0x5dbd46),this['_themeService'][_0x558164(0x281)]])['pipe'](_0xb9a466[_0x558164(0x263)](([_0x21bd92,_0x173559])=>({'skeleton':_0x33e8a2[_0x558164(0x1f2)](),'cursors':[..._0x21bd92[_0x558164(0x2a0)]()]['flatMap'](_0x52db01=>({..._0x52db01,'color':this['_themeService']['getColorFromTheme'](_0x52db01[_0x558164(0x1a4)])}))})))['subscribe'](_0x391c77=>{const _0x18dc79=_0x558164;if(this['_removeCollabCursors'](),_0x391c77){const {skeleton:_0x5217b1,cursors:_0x55e0b6}=_0x391c77;this[_0x18dc79(0x32a)](_0x5217b1,_0x55e0b6);}})),this['_initResize'](),this[_0x558164(0x151)]();}[_0x364fc7(0x32a)](_0x50b101,_0x41e330){const _0x16b72b=_0x364fc7,{scene:_0x575500,mainComponent:_0xd513a2}=this[_0x16b72b(0x261)],_0x2b48f8=_0x41e330[_0x16b72b(0x263)](_0x5c4aeb=>new _0xb5b1cb(_0x5c4aeb,_0x575500,_0x50b101,_0xd513a2));this['_cursorShapes']=_0x2b48f8,this[_0x16b72b(0x2d9)]=_0x41e330;}[_0x364fc7(0x296)](){const _0x1a1847=_0x364fc7;this['_removeCollabCursors']();const {scene:_0x7659a2,mainComponent:_0x353ea8}=this[_0x1a1847(0x261)],_0x317d0d=this['_docSkeletonManagerService'][_0x1a1847(0x1f2)](),_0x5f5741=this['_cursors']['map'](_0x2653e9=>new _0xb5b1cb(_0x2653e9,_0x7659a2,_0x317d0d,_0x353ea8));this[_0x1a1847(0x1a3)]=_0x5f5741;}['_removeCollabCursors'](){const _0x2c7a15=_0x364fc7;this[_0x2c7a15(0x1a3)][_0x2c7a15(0x24a)](_0xea2a09=>_0xea2a09[_0x2c7a15(0x13f)]()),this['_cursorShapes']=[];}[_0x364fc7(0x151)](){const _0x2a51ae=_0x364fc7,_0x2b0e07=[_0x8e9d75[_0x2a51ae(0x2ab)]['id']];this[_0x2a51ae(0x363)](this[_0x2a51ae(0x197)][_0x2a51ae(0x33f)](_0x41e048=>{const _0x2884aa=_0x2a51ae;_0x2b0e07[_0x2884aa(0x14a)](_0x41e048['id'])&&_0x41e048[_0x2884aa(0x1f3)][_0x2884aa(0x220)]===this['_context'][_0x2884aa(0x220)]&&this[_0x2884aa(0x296)]();}));}[_0x364fc7(0x266)](){const _0x6f9b8f=_0x364fc7;this[_0x6f9b8f(0x363)](_0x20df47['fromEventSubject'](this[_0x6f9b8f(0x261)][_0x6f9b8f(0x13c)][_0x6f9b8f(0x2f2)])[_0x6f9b8f(0x13a)](_0xb9a466[_0x6f9b8f(0x29d)](_0x27f98b=>_0x27f98b[_0x6f9b8f(0x27b)]===_0x4e3aee[_0x6f9b8f(0x1ea)][_0x6f9b8f(0x21b)]),_0xb9a466['throttleTime'](0x10))[_0x6f9b8f(0x276)](()=>{const _0x2bf25d=_0x6f9b8f;this[_0x2bf25d(0x296)]();}));}};_0x540093=_0x89ad33([_0x2f4d18(0x1,_0x20df47[_0x364fc7(0x28b)](_0xb95e52[_0x364fc7(0x2ef)])),_0x2f4d18(0x2,_0x20df47[_0x364fc7(0x28b)](_0x100640)),_0x2f4d18(0x3,_0x20df47[_0x364fc7(0x353)]),_0x2f4d18(0x4,_0x20df47['Inject'](_0x20df47[_0x364fc7(0x128)]))],_0x540093);const _0x39b069=0x1,_0x207198=1.5;class _0x24d54a extends _0x4e3aee['Shape']{constructor(_0x54a061,_0x3c70ed){const _0x3439fa=_0x364fc7;super(_0x54a061,_0x3c70ed),_0x4a92d0(this,_0x3439fa(0x285)),_0x4a92d0(this,_0x3439fa(0x1a0),!0x1),_0x4a92d0(this,'_range'),_0x4a92d0(this,'_name',''),_0x4a92d0(this,_0x3439fa(0x2a7),_0x3439fa(0x27a)),_0x4a92d0(this,_0x3439fa(0x18c)),(_0x3c70ed&&this[_0x3439fa(0x360)](_0x3c70ed),this[_0x3439fa(0x25e)]['subscribeEvent'](()=>this[_0x3439fa(0x360)]({'hovered':!0x0})),this[_0x3439fa(0x387)]['subscribeEvent'](()=>this[_0x3439fa(0x360)]({'hovered':!0x1})));}[_0x364fc7(0x360)](_0x4a7fcd){const _0x3ec0c6=_0x364fc7;var _0x39bf83,_0x2c52b8,_0x25707a,_0xa42a4a,_0x5dee3e,_0x4aed95;this[_0x3ec0c6(0x285)]=(_0x39bf83=_0x4a7fcd[_0x3ec0c6(0x1a4)])!=null?_0x39bf83:this['_color'],this[_0x3ec0c6(0x1a0)]=(_0x2c52b8=_0x4a7fcd['hovered'])!=null?_0x2c52b8:this[_0x3ec0c6(0x1a0)],this[_0x3ec0c6(0x295)]=(_0x25707a=_0x4a7fcd[_0x3ec0c6(0x208)])!=null?_0x25707a:this[_0x3ec0c6(0x295)],this[_0x3ec0c6(0x388)]=(_0xa42a4a=_0x4a7fcd[_0x3ec0c6(0x287)])!=null?_0xa42a4a:this[_0x3ec0c6(0x388)],this['_labelPosition']=(_0x5dee3e=_0x4a7fcd[_0x3ec0c6(0x2fb)])!=null?_0x5dee3e:this[_0x3ec0c6(0x2a7)],this['_backgroundColor']=(_0x4aed95=_0x4a7fcd[_0x3ec0c6(0x26d)])!=null?_0x4aed95:this[_0x3ec0c6(0x18c)],this[_0x3ec0c6(0x147)]({'width':_0x4a7fcd['width'],'height':_0x4a7fcd['height']});}[_0x364fc7(0x167)](_0x573a91){const _0x4dd7ae=_0x364fc7,{row:_0x57922d,column:_0xa94819}=_0x573a91;if(_0x57922d>=this[_0x4dd7ae(0x295)][_0x4dd7ae(0x115)]&&_0x57922d<=this[_0x4dd7ae(0x295)]['endRow']&&_0xa94819>=this[_0x4dd7ae(0x295)]['startColumn']&&_0xa94819<=this[_0x4dd7ae(0x295)][_0x4dd7ae(0x225)]){this[_0x4dd7ae(0x360)]({'hovered':!0x0});return;}this[_0x4dd7ae(0x360)]({'hovered':!0x1});}[_0x364fc7(0x2d8)](_0x2cc588){return!0x1;}['_draw'](_0x276f8){const _0x392ce6=_0x364fc7;_0x4e3aee['Rect'][_0x392ce6(0x338)](_0x276f8,{'width':this[_0x392ce6(0x2c7)],'height':this['height'],'strokeWidth':_0x207198,'stroke':this[_0x392ce6(0x285)],'evented':!0x1,'fill':this['_backgroundColor']}),this['_hovered']&&(_0x276f8[_0x392ce6(0x1ae)](),_0x276f8[_0x392ce6(0x219)](0x1,0x0,0x0,0x1,this['width'],this[_0x392ce6(0x2a7)]===_0x392ce6(0x201)?0x0:-0x14),_0x5b1836['drawWith'](_0x276f8,{'text':this[_0x392ce6(0x388)],'color':this[_0x392ce6(0x285)]}),_0x276f8[_0x392ce6(0x110)]());}}var _0x599754=Object[_0x364fc7(0x26c)],_0x54f5a2=(_0x476b53,_0x4346e6,_0x21e970,_0x3e5dcf)=>{const _0x219ef2=_0x364fc7;for(var _0x51423e=_0x3e5dcf>0x1?void 0x0:_0x3e5dcf?_0x599754(_0x4346e6,_0x21e970):_0x4346e6,_0x1dfff5=_0x476b53[_0x219ef2(0x18f)]-0x1,_0x2c0161;_0x1dfff5>=0x0;_0x1dfff5--)(_0x2c0161=_0x476b53[_0x1dfff5])&&(_0x51423e=_0x2c0161(_0x51423e)||_0x51423e);return _0x51423e;},_0xc3b22d=(_0x528dd8,_0x1580ca)=>(_0xa69d18,_0x313726)=>_0x1580ca(_0xa69d18,_0x313726,_0x528dd8);const _0x6c158=0x1389;let _0x1fd5d1=class extends _0x20df47[_0x364fc7(0x36e)]{constructor(_0x553999,_0x328651,_0x58662e,_0x101311){const _0x7ae9f2=_0x364fc7;super(),_0x4a92d0(this,'_cursors',new Set()),_0x4a92d0(this,'_lastPointer',null),(this[_0x7ae9f2(0x261)]=_0x553999,this[_0x7ae9f2(0x32b)]=_0x328651,this[_0x7ae9f2(0x380)]=_0x58662e,this[_0x7ae9f2(0x230)]=_0x101311,this[_0x7ae9f2(0x184)]());}[_0x364fc7(0x184)](){const _0xd9b44b=_0x364fc7;this[_0xd9b44b(0x32b)][_0xd9b44b(0x2f0)][_0xd9b44b(0x13a)](_0xb9a466['takeUntil'](this['dispose$']),_0xb9a466[_0xd9b44b(0x187)](_0x4b86bb=>{const _0x46110b=_0xd9b44b;if(_0x4b86bb){const _0x3a3f16=_0x4b86bb[_0x46110b(0x232)];return _0x3396eb[_0x46110b(0x26e)](this[_0x46110b(0x380)]['getCollabCursors$'](this['_context'][_0x46110b(0x220)]),this[_0x46110b(0x230)]['currentTheme$'])[_0x46110b(0x13a)](_0xb9a466['map'](([_0x56ad28,_0x45c552])=>{const _0x2831e4=new Map();return _0x56ad28['forEach']((_0x2c32b6,_0x1bab8d)=>{const _0x1d216b=_0x25e4;if(_0x2c32b6[_0x1d216b(0x2a4)]===_0x3a3f16){const _0x465ed2={..._0x2c32b6};_0x465ed2['color']=this[_0x1d216b(0x230)][_0x1d216b(0x377)](_0x2c32b6[_0x1d216b(0x1a4)]),_0x2831e4[_0x1d216b(0x394)](_0x1bab8d,_0x465ed2);}}),{'skeleton':_0x4b86bb,'cursors':_0x2831e4};}));}return _0x3396eb['of']({'skeleton':null,'cursors':new Map()});}))[_0xd9b44b(0x276)](({skeleton:_0x1b81fb,cursors:_0x459b3a})=>{const _0x50d441=_0xd9b44b;this[_0x50d441(0x2e8)](),_0x1b81fb&&this[_0x50d441(0x32a)](_0x1b81fb,_0x459b3a);}),this[_0xd9b44b(0x32b)][_0xd9b44b(0x2f0)][_0xd9b44b(0x276)](_0x24556d=>{const _0x5cb46a=_0xd9b44b;if(_0x24556d==null)return;const {skeleton:_0x1c9ffc}=_0x24556d,{scene:_0x5613c2}=this[_0x5cb46a(0x261)];_0x5613c2[_0x5cb46a(0x10a)][_0x5cb46a(0x2c4)](_0x20df47['debounce'](_0x1207b3=>{const _0x34b255=_0x5cb46a;var _0x53969e,_0x7b69dc;const {offsetX:_0x436cff,offsetY:_0x4b5e09}=_0x1207b3,{x:_0x3e202a,y:_0x20a5ea}=_0x5613c2['getRelativeToViewportCoord'](_0x4e3aee['Vector2'][_0x34b255(0x2c3)]([_0x436cff,_0x4b5e09])),{scaleX:_0x3b9bf6,scaleY:_0x26b3a2}=_0x5613c2[_0x34b255(0x307)](),_0x55c588=_0x5613c2['getViewport'](_0x4e3aee[_0x34b255(0x1cf)][_0x34b255(0x318)]),_0x8dae45=_0x5613c2['getVpScrollXYInfoByPosToVp'](_0x4e3aee[_0x34b255(0x30a)][_0x34b255(0x2c3)]([_0x3e202a,_0x20a5ea]),_0x55c588),_0x514377=_0x1c9ffc['getCellPositionByOffset'](_0x436cff,_0x4b5e09,_0x3b9bf6,_0x26b3a2,_0x8dae45);((_0x53969e=this[_0x34b255(0x37d)])==null?void 0x0:_0x53969e[_0x34b255(0x129)])===_0x514377['column']&&((_0x7b69dc=this[_0x34b255(0x37d)])==null?void 0x0:_0x7b69dc['row'])===_0x514377[_0x34b255(0x1a8)]||this[_0x34b255(0x2d9)][_0x34b255(0x24a)](_0x392466=>{const _0x56ccb8=_0x34b255;_0x392466[_0x56ccb8(0x167)](_0x514377);});},0x64));});}['_updateCollabCursors'](_0xe67377,_0x392469){const _0x5871a7=_0x364fc7;var _0x590caa;const _0x27bd68=(_0x590caa=this[_0x5871a7(0x32b)][_0x5871a7(0x36b)]())==null?void 0x0:_0x590caa['skeleton'];if(!_0x27bd68)return;const _0x5ab1dd=this[_0x5871a7(0x164)]();if(!_0x5ab1dd)return;this['_cursors']['forEach'](_0xa3913c=>{const _0x1d2e70=_0x5871a7;_0xa3913c[_0x1d2e70(0x31f)]();});const {scene:_0x1179e2}=_0x5ab1dd,_0x3e71d9=_0x278995(Array[_0x5871a7(0x1f4)](_0x392469[_0x5871a7(0x2a0)]()))[_0x5871a7(0x263)](_0x3c5f74=>{const _0x80f538=_0x5871a7,{color:_0x2541b3,range:_0x5ed729,name:_0x38f481,selection:_0x1b08d1,sheetID:_0x4d3264}=_0x3c5f74,{startColumn:_0x27460e,startRow:_0x193151,endColumn:_0x2e2428,endRow:_0x83005a}=_0x5ed729,_0x4591c8=_0x3410d0['getCoordByCell'](_0x193151,_0x27460e,_0x1179e2,_0x27bd68),_0x57814d=_0x3410d0['getCoordByCell'](_0x83005a,_0x2e2428,_0x1179e2,_0x27bd68),{columnHeaderHeightAndMarginTop:_0x54dd0e}=_0x27bd68,{startX:_0x11dd96,startY:_0x1ed34e}=_0x4591c8,{endX:_0x2e867a,endY:_0x10ed90}=_0x57814d,_0x3f23a3=_0x2e867a-_0x11dd96,_0x4e5d65=_0x10ed90-_0x1ed34e,_0x86a2a4={'labelPosition':_0x1ed34e-_0x54dd0e>=_0xa14d99?_0x80f538(0x27a):_0x80f538(0x201),'sheetID':_0x4d3264,'range':_0x5ed729,'color':_0x2541b3,'name':_0x38f481,'selection':_0x1b08d1,'left':_0x11dd96,'top':_0x1ed34e,'width':_0x3f23a3,'height':_0x4e5d65,'evented':!0x1,'zIndex':_0x6c158};return new _0x24d54a(_0x38f481,_0x86a2a4);});_0x1179e2['addObjects'](_0x3e71d9,_0x39b069),this[_0x5871a7(0x2d9)]=new Set(_0x3e71d9);}[_0x364fc7(0x2e8)](){const _0x4545dd=_0x364fc7;var _0x45205b;(_0x45205b=this[_0x4545dd(0x2d9)])==null||_0x45205b[_0x4545dd(0x24a)](_0x4e8fd7=>_0x4e8fd7[_0x4545dd(0x13f)]());}['_getSheetObject'](){const _0x506335=_0x364fc7;return _0x3410d0['getSheetObject'](this['_context'][_0x506335(0x2af)],this[_0x506335(0x261)]);}};_0x1fd5d1=_0x54f5a2([_0xc3b22d(0x1,_0x20df47[_0x364fc7(0x28b)](_0x3410d0[_0x364fc7(0x257)])),_0xc3b22d(0x2,_0x20df47['Inject'](_0x100640)),_0xc3b22d(0x3,_0x20df47[_0x364fc7(0x28b)](_0x20df47[_0x364fc7(0x128)]))],_0x1fd5d1);function _0x278995(_0x24fa7b){const _0x28d9fb=_0x364fc7,_0x5dc531=new Map();return _0x24fa7b[_0x28d9fb(0x24a)](_0x21eb2f=>{const _0x44d0ed=_0x28d9fb;if(_0x5dc531[_0x44d0ed(0x1f1)](_0x21eb2f[_0x44d0ed(0x19f)])){const _0x4ba90d=_0x5dc531['get'](_0x21eb2f['selection']);_0x4ba90d[_0x44d0ed(0x287)]+=',\x20'+_0x21eb2f[_0x44d0ed(0x287)];}else _0x5dc531[_0x44d0ed(0x394)](_0x21eb2f[_0x44d0ed(0x19f)],_0x21eb2f);}),Array['from'](_0x5dc531['values']());}var _0x242649=function(){const _0x481888=_0x364fc7;return _0x242649=Object['assign']||function(_0x149be9){const _0xbbbe5d=_0x25e4;for(var _0x4bc577,_0xbe6263=0x1,_0x3bd4aa=arguments['length'];_0xbe6263<_0x3bd4aa;_0xbe6263++){_0x4bc577=arguments[_0xbe6263];for(var _0x2e4034 in _0x4bc577)Object[_0xbbbe5d(0x302)][_0xbbbe5d(0x2db)][_0xbbbe5d(0x1fd)](_0x4bc577,_0x2e4034)&&(_0x149be9[_0x2e4034]=_0x4bc577[_0x2e4034]);}return _0x149be9;},_0x242649[_0x481888(0x16c)](this,arguments);},_0x237f4d=function(_0x25b209,_0x4313e6){const _0x305c52=_0x364fc7;var _0x2055ba={};for(var _0x29ef44 in _0x25b209)Object[_0x305c52(0x302)][_0x305c52(0x2db)][_0x305c52(0x1fd)](_0x25b209,_0x29ef44)&&_0x4313e6[_0x305c52(0x2b3)](_0x29ef44)<0x0&&(_0x2055ba[_0x29ef44]=_0x25b209[_0x29ef44]);if(_0x25b209!=null&&typeof Object[_0x305c52(0x20f)]=='function'){for(var _0x209ef8=0x0,_0x29ef44=Object[_0x305c52(0x20f)](_0x25b209);_0x209ef8<_0x29ef44[_0x305c52(0x18f)];_0x209ef8++)_0x4313e6['indexOf'](_0x29ef44[_0x209ef8])<0x0&&Object['prototype']['propertyIsEnumerable'][_0x305c52(0x1fd)](_0x25b209,_0x29ef44[_0x209ef8])&&(_0x2055ba[_0x29ef44[_0x209ef8]]=_0x25b209[_0x29ef44[_0x209ef8]]);}return _0x2055ba;},_0x1642cb=_0x14d7ce[_0x364fc7(0x131)](function(_0x1836a0,_0x3d5777){const _0x2ef682=_0x364fc7;var _0x504b0c=_0x1836a0[_0x2ef682(0x25c)],_0x39db21=_0x1836a0['id'],_0x27134d=_0x1836a0['className'],_0x4fccf3=_0x1836a0[_0x2ef682(0x140)],_0x3128df=_0x237f4d(_0x1836a0,[_0x2ef682(0x25c),'id',_0x2ef682(0x291),_0x2ef682(0x140)]),_0x21daed=_0x2ef682(0x159)['concat'](_0x39db21,'\x20')['concat'](_0x27134d||'')[_0x2ef682(0x2e5)](),_0x167e05=_0x14d7ce[_0x2ef682(0x1aa)]('_'['concat'](_0x64c5d9()));return _0x4ca8b4(_0x504b0c,''[_0x2ef682(0x340)](_0x39db21),{'defIds':_0x504b0c[_0x2ef682(0x38e)],'idSuffix':_0x167e05[_0x2ef682(0x13d)]},_0x242649({'ref':_0x3d5777,'className':_0x21daed},_0x3128df),_0x4fccf3);});function _0x4ca8b4(_0x7e027,_0x9e3f1f,_0x127f6f,_0x14e40a,_0x12423a){const _0x23133d=_0x364fc7;return _0x14d7ce[_0x23133d(0x20e)](_0x7e027[_0x23133d(0x27d)],_0x242649(_0x242649({'key':_0x9e3f1f},_0x23eccb(_0x7e027,_0x127f6f,_0x12423a)),_0x14e40a),(_0x3c462e(_0x7e027,_0x127f6f)['children']||[])['map'](function(_0x202180,_0x3fe111){const _0x243642=_0x23133d;return _0x4ca8b4(_0x202180,''[_0x243642(0x340)](_0x9e3f1f,'-')['concat'](_0x7e027[_0x243642(0x27d)],'-')[_0x243642(0x340)](_0x3fe111),_0x127f6f,void 0x0,_0x12423a);}));}function _0x23eccb(_0x9d1548,_0x42a523,_0x2be559){const _0x29f4a1=_0x364fc7;var _0x3bd533=_0x242649({},_0x9d1548['attrs']);_0x2be559!=null&&_0x2be559[_0x29f4a1(0x275)]&&_0x3bd533[_0x29f4a1(0x133)]===_0x29f4a1(0x275)&&(_0x3bd533[_0x29f4a1(0x133)]=_0x2be559[_0x29f4a1(0x275)]),_0x9d1548['tag']===_0x29f4a1(0x272)&&_0x3bd533['id']&&(_0x3bd533['id']=_0x3bd533['id']+_0x42a523[_0x29f4a1(0x202)]),Object['entries'](_0x3bd533)['forEach'](function(_0x573166){const _0x516c80=_0x29f4a1;var _0x3670ed=_0x573166[0x0],_0x13431a=_0x573166[0x1];_0x3670ed===_0x516c80(0x272)&&typeof _0x13431a==_0x516c80(0x336)&&(_0x3bd533[_0x3670ed]=_0x13431a[_0x516c80(0x2e6)](/url\(#(.*)\)/,'url(#$1'[_0x516c80(0x340)](_0x42a523[_0x516c80(0x202)],')')));});var _0x43e697=_0x42a523[_0x29f4a1(0x38e)];return!_0x43e697||_0x43e697['length']===0x0||(_0x9d1548['tag']===_0x29f4a1(0x35f)&&_0x3bd533[_0x29f4a1(0x2ea)]&&(_0x3bd533[_0x29f4a1(0x2ea)]=_0x3bd533['xlink:href']+_0x42a523[_0x29f4a1(0x202)]),Object['entries'](_0x3bd533)[_0x29f4a1(0x24a)](function(_0x241193){const _0xa92dcc=_0x29f4a1;var _0x1c12dc=_0x241193[0x0],_0x3e3039=_0x241193[0x1];typeof _0x3e3039==_0xa92dcc(0x336)&&(_0x3bd533[_0x1c12dc]=_0x3e3039[_0xa92dcc(0x2e6)](/url\(#(.*)\)/,_0xa92dcc(0x17d)[_0xa92dcc(0x340)](_0x42a523[_0xa92dcc(0x202)],')')));})),_0x3bd533;}function _0x3c462e(_0x2b3241,_0x45228b){const _0x3b869b=_0x364fc7;var _0x5a5974,_0x5aa99d=_0x45228b['defIds'];return!_0x5aa99d||_0x5aa99d[_0x3b869b(0x18f)]===0x0?_0x2b3241:_0x2b3241['tag']==='defs'&&(!((_0x5a5974=_0x2b3241[_0x3b869b(0x188)])===null||_0x5a5974===void 0x0)&&_0x5a5974[_0x3b869b(0x18f)])?_0x242649(_0x242649({},_0x2b3241),{'children':_0x2b3241[_0x3b869b(0x188)]['map'](function(_0x11fd30){const _0x4f96d0=_0x3b869b;return typeof _0x11fd30[_0x4f96d0(0x2e4)]['id']==_0x4f96d0(0x336)&&_0x5aa99d&&_0x5aa99d[_0x4f96d0(0x14a)](_0x11fd30[_0x4f96d0(0x2e4)]['id'])?_0x242649(_0x242649({},_0x11fd30),{'attrs':_0x242649(_0x242649({},_0x11fd30[_0x4f96d0(0x2e4)]),{'id':_0x11fd30[_0x4f96d0(0x2e4)]['id']+_0x45228b[_0x4f96d0(0x202)]})}):_0x11fd30;})}):_0x2b3241;}function _0x64c5d9(){const _0x2d22ff=_0x364fc7;return Math['random']()[_0x2d22ff(0x217)](0x24)[_0x2d22ff(0x11b)](0x2,0x8);}_0x1642cb[_0x364fc7(0x16f)]=_0x364fc7(0x13b);var _0x3e2eef={'tag':_0x364fc7(0x2e1),'attrs':{'xmlns':_0x364fc7(0x119),'fill':'none','viewBox':_0x364fc7(0x319),'width':_0x364fc7(0x35d),'height':_0x364fc7(0x35d)},'children':[{'tag':'g','attrs':{'clipPath':'url(#off-line-icon_clip0_910_343)'},'children':[{'tag':_0x364fc7(0x161),'attrs':{'stroke':'currentColor','d':_0x364fc7(0x229),'strokeLinecap':_0x364fc7(0x1ee),'strokeLinejoin':'round','strokeWidth':1.2}}]},{'tag':_0x364fc7(0x2b8),'attrs':{},'children':[{'tag':'clipPath','attrs':{'id':'off-line-icon_clip0_910_343'},'children':[{'tag':_0x364fc7(0x161),'attrs':{'fill':_0x364fc7(0x170),'d':_0x364fc7(0x25f)}}]}]}],'defIds':[_0x364fc7(0x235)]},_0x28461b=_0x14d7ce[_0x364fc7(0x131)](function(_0x10d859,_0x1f4e3e){const _0x2a0670=_0x364fc7;return _0x14d7ce[_0x2a0670(0x20e)](_0x1642cb,Object['assign']({},_0x10d859,{'id':_0x2a0670(0x24e),'ref':_0x1f4e3e,'icon':_0x3e2eef}));});_0x28461b[_0x364fc7(0x16f)]='OffLineIcon';var _0x3e1596={'tag':'svg','attrs':{'xmlns':_0x364fc7(0x119),'fill':_0x364fc7(0x216),'viewBox':_0x364fc7(0x22e),'width':_0x364fc7(0x35d),'height':_0x364fc7(0x35d)},'children':[{'tag':'g','attrs':{'clipPath':_0x364fc7(0x194)},'children':[{'tag':_0x364fc7(0x161),'attrs':{'stroke':'currentColor','d':'M4.5865\x2011.6499C3.36983\x2011.6499\x201.6665\x2011.1024\x201.6665\x208.9124C1.6665\x206.3574\x204.2215\x205.8099\x204.9515\x205.8099C5.3165\x204.5324\x206.0465\x202.5249\x208.9665\x202.5249C11.5215\x202.5249\x2012.6165\x203.9849\x2012.9815\x205.2624C12.9815\x205.2624\x2016.2665\x205.6274\x2016.2665\x208.7299C16.2665\x2010.9199\x2014.8065\x2011.6499\x2013.3465\x2011.6499M6.7767\x2011.6497L8.9667\x2013.4747L11.8867\x209.82466','strokeLinecap':'round','strokeLinejoin':_0x364fc7(0x1ee),'strokeWidth':1.2}}]},{'tag':_0x364fc7(0x2b8),'attrs':{},'children':[{'tag':_0x364fc7(0x362),'attrs':{'id':_0x364fc7(0x1f5)},'children':[{'tag':'path','attrs':{'fill':_0x364fc7(0x170),'d':_0x364fc7(0x25f),'transform':_0x364fc7(0x2fe)}}]}]}],'defIds':[_0x364fc7(0x1f5)]},_0x46fef1=_0x14d7ce[_0x364fc7(0x131)](function(_0x4cdb3c,_0x4eef09){return _0x14d7ce['createElement'](_0x1642cb,Object['assign']({},_0x4cdb3c,{'id':'on-line-icon','ref':_0x4eef09,'icon':_0x3e1596}));});_0x46fef1['displayName']=_0x364fc7(0x324);function _0x23269f(_0x38cb91){const _0x2b686e=_0x364fc7;switch(_0x38cb91){case _0x3d42b8[_0x2b686e(0x2de)][_0x2b686e(0x345)]:return _0x2b686e(0x175);case _0x3d42b8[_0x2b686e(0x2de)][_0x2b686e(0x329)]:return _0x2b686e(0x351);case _0x3d42b8[_0x2b686e(0x2de)][_0x2b686e(0x2dc)]:return _0x2b686e(0x2c6);case _0x3d42b8[_0x2b686e(0x2de)]['NOT_COLLAB']:return _0x2b686e(0x1dd);case _0x3d42b8[_0x2b686e(0x2de)][_0x2b686e(0x34a)]:case _0x3d42b8[_0x2b686e(0x2de)]['AWAITING_WITH_PENDING']:return _0x2b686e(0x372);case _0x3d42b8[_0x2b686e(0x2de)]['SYNCED']:case _0x3d42b8[_0x2b686e(0x2de)][_0x2b686e(0x31d)]:return _0x2b686e(0x253);}}function _0x22caef(_0x5089c9){const _0x165111=_0x364fc7,{status$:_0x5a32e9}=_0x5089c9,_0xddea13=_0x1229e7[_0x165111(0x1c5)](_0x5a32e9,_0x3d42b8[_0x165111(0x2de)][_0x165111(0x154)]),_0x445a26=_0x1229e7[_0x165111(0x1c9)](_0x20df47['LocaleService']),_0x561224=_0x1229e7[_0x165111(0x1c9)](_0x3d42b8[_0x165111(0x383)]),_0x2e28c0=_0xddea13!==_0x3d42b8[_0x165111(0x2de)][_0x165111(0x345)],_0x29a66e=_0x445a26['t'](_0x23269f(_0xddea13)),_0x409c14=_0x2e28c0?_0x58edf1[_0x165111(0x1e3)](_0x46fef1,{}):_0x58edf1['jsx'](_0x28461b,{}),_0x557a1e=_0x14d7ce['useCallback'](()=>{const _0x5a79c7=_0x165111;_0x2e28c0||_0x561224[_0x5a79c7(0x29e)]();},[_0x2e28c0,_0x561224]);function _0x388647(){const _0x4c93e4=_0x165111;return _0x58edf1[_0x4c93e4(0x1cd)](_0x4c93e4(0x343),{'className':_0x4c93e4(0x234),'onClick':_0x557a1e,'children':[_0x58edf1[_0x4c93e4(0x1e3)](_0x4c93e4(0x343),{'className':_0x42ee62[_0x4c93e4(0x255)](_0x4c93e4(0x205),{'univer-text-green-500':_0x2e28c0,'univer-text-red-500':!_0x2e28c0}),'children':_0x409c14}),_0x58edf1[_0x4c93e4(0x1e3)](_0x4c93e4(0x343),{'className':_0x4c93e4(0x270),'children':_0x29a66e})]});}return _0x2e28c0?_0x388647():_0x58edf1[_0x165111(0x1e3)](_0x42ee62[_0x165111(0x37f)],{'title':_0x445a26['t']('collab-client.tooltip.reconnect'),'children':_0x388647()});}var _0x1cf597=Object[_0x364fc7(0x26c)],_0x51c141=(_0x229f4e,_0xa19c03,_0x3d0565,_0x240eab)=>{for(var _0x3eb713=_0x240eab>0x1?void 0x0:_0x240eab?_0x1cf597(_0xa19c03,_0x3d0565):_0xa19c03,_0x1793e8=_0x229f4e['length']-0x1,_0x44adcc;_0x1793e8>=0x0;_0x1793e8--)(_0x44adcc=_0x229f4e[_0x1793e8])&&(_0x3eb713=_0x44adcc(_0x3eb713)||_0x3eb713);return _0x3eb713;},_0x2b7beb=(_0x36d619,_0x28bf06)=>(_0x1bc818,_0x3238b3)=>_0x28bf06(_0x1bc818,_0x3238b3,_0x36d619);_0x4392a1[_0x364fc7(0x116)]=class extends _0x20df47[_0x364fc7(0x347)]{constructor(_0x942f18,_0x5a585f,_0x17fde9,_0x5d6d61){const _0x5a40fa=_0x364fc7;super(),_0x4a92d0(this,'_status$',new _0x3396eb[(_0x5a40fa(0x374))](_0x3d42b8[_0x5a40fa(0x2de)][_0x5a40fa(0x154)])),(this[_0x5a40fa(0x1c2)]=_0x942f18,this[_0x5a40fa(0x1b2)]=_0x5a585f,this[_0x5a40fa(0x231)]=_0x17fde9,this[_0x5a40fa(0x14d)]=_0x5d6d61,this[_0x5a40fa(0x327)](),this['_initStatusListener']());}[_0x364fc7(0x27c)](){const _0x1bf236=_0x364fc7;this[_0x1bf236(0x363)](this[_0x1bf236(0x1c2)]['focused$'][_0x1bf236(0x13a)](_0x3396eb[_0x1bf236(0x187)](()=>{const _0x1aa5f8=_0x1bf236,_0x5f22be=this[_0x1aa5f8(0x1c2)][_0x1aa5f8(0x238)]();return _0x5f22be?this[_0x1aa5f8(0x231)][_0x1aa5f8(0x30f)](_0x5f22be[_0x1aa5f8(0x191)]()):_0x3396eb['of'](null);}),_0x3396eb[_0x1bf236(0x187)](_0x301a4b=>_0x301a4b?_0x301a4b[_0x1bf236(0x262)]:_0x3396eb['of'](_0x3d42b8[_0x1bf236(0x2de)][_0x1bf236(0x154)])))[_0x1bf236(0x276)](_0x493090=>{this['_status$']['next'](_0x493090);}));}['_initStatusComponent'](){const _0x3c38d3=_0x364fc7;this[_0x3c38d3(0x363)](this['_uiPartsService'][_0x3c38d3(0x37a)](_0x1229e7[_0x3c38d3(0x17b)]['HEADER_MENU'],()=>_0x1229e7[_0x3c38d3(0x137)](_0x9e322c({'status$':this['_status$'][_0x3c38d3(0x29f)]()}),this[_0x3c38d3(0x1b2)])));}},_0x4392a1['DesktopCollaborationStatusDisplayController']=_0x51c141([_0x2b7beb(0x0,_0x20df47['IUniverInstanceService']),_0x2b7beb(0x1,_0x20df47[_0x364fc7(0x28b)](_0x20df47[_0x364fc7(0x120)])),_0x2b7beb(0x2,_0x20df47[_0x364fc7(0x28b)](_0x3d42b8[_0x364fc7(0x2b4)])),_0x2b7beb(0x3,_0x1229e7[_0x364fc7(0x2a9)])],_0x4392a1[_0x364fc7(0x116)]);function _0x9e322c(_0x81f8ca){const {status$:_0x30e1fe}=_0x81f8ca;return function(){return _0x58edf1['jsx'](_0x22caef,{'status$':_0x30e1fe});};}var _0x2f8aa3=Object[_0x364fc7(0x26c)],_0x520c54=(_0x1eb79b,_0x4f9cd4,_0x4fed1c,_0x2c4e88)=>{const _0x313a9d=_0x364fc7;for(var _0x1b41d2=_0x2c4e88>0x1?void 0x0:_0x2c4e88?_0x2f8aa3(_0x4f9cd4,_0x4fed1c):_0x4f9cd4,_0x5db9d9=_0x1eb79b[_0x313a9d(0x18f)]-0x1,_0x2b3c47;_0x5db9d9>=0x0;_0x5db9d9--)(_0x2b3c47=_0x1eb79b[_0x5db9d9])&&(_0x1b41d2=_0x2b3c47(_0x1b41d2)||_0x1b41d2);return _0x1b41d2;},_0x3e51c8=(_0x4b4f62,_0x474ef9)=>(_0x473239,_0xe5bb4f)=>_0x474ef9(_0x473239,_0xe5bb4f,_0x4b4f62);let _0x4a1f7a=class extends _0x20df47[_0x364fc7(0x347)]{constructor(_0x33d522,_0xfd881,_0x1a532c,_0x3f02aa,_0x5305a3,_0x2dc23c){const _0x5e60ed=_0x364fc7;super(),this[_0x5e60ed(0x1ab)]=_0x33d522,this['_localCacheService']=_0xfd881,this[_0x5e60ed(0x160)]=_0x1a532c,this[_0x5e60ed(0x244)]=_0x3f02aa,this['_notificationService']=_0x5305a3,this[_0x5e60ed(0x2a5)]=_0x2dc23c,this[_0x5e60ed(0x268)](),this[_0x5e60ed(0x27f)]();}['_setupBeforeClosingHandler'](){const _0x50e35c=_0x364fc7;this[_0x50e35c(0x363)](this[_0x50e35c(0x1ab)][_0x50e35c(0x117)](()=>{const _0x370cf7=_0x50e35c;if(this['_localCacheService'][_0x370cf7(0x2c1)][_0x370cf7(0x2e2)])return this[_0x370cf7(0x2a5)]['t'](_0x370cf7(0x1cb));}));}[_0x364fc7(0x27f)](){this['disposeWithMe'](this['_collaborationUIEventService']['event$']['subscribe'](_0x4900ac=>{const _0x89b3ae=_0x25e4;_0x4900ac['id']===_0x3d42b8['CollaborationUIEventId']['OTHER_CLIENT_EDITING']&&this[_0x89b3ae(0x244)][_0x89b3ae(0x12e)]({'type':_0x42ee62[_0x89b3ae(0x1c6)]['Warning'],'content':this[_0x89b3ae(0x2a5)]['t'](_0x89b3ae(0x260))}),_0x4900ac['id']===_0x3d42b8['CollaborationUIEventId'][_0x89b3ae(0x144)]&&this['_messageService'][_0x89b3ae(0x12e)]({'type':_0x42ee62['MessageType'][_0x89b3ae(0x171)],'content':this[_0x89b3ae(0x2a5)]['t'](_0x89b3ae(0x1bd))}),_0x4900ac['id']===_0x3d42b8[_0x89b3ae(0x390)][_0x89b3ae(0x301)]&&this[_0x89b3ae(0x1db)]['show']({'title':this[_0x89b3ae(0x2a5)]['t'](_0x89b3ae(0x2f3)),'content':this[_0x89b3ae(0x2a5)]['t'](_0x89b3ae(0x130)),'type':_0x89b3ae(0x1bb),'duration':0x0}),_0x4900ac['id']===_0x3d42b8[_0x89b3ae(0x390)][_0x89b3ae(0x329)]&&this[_0x89b3ae(0x244)]['show']({'type':_0x42ee62[_0x89b3ae(0x1c6)]['Error'],'content':this[_0x89b3ae(0x2a5)]['t']('collaboration.closeRoom')+'('+_0x4900ac[_0x89b3ae(0x277)]+')'}),_0x4900ac['id']===_0x3d42b8[_0x89b3ae(0x390)]['JOIN_ROOM_FAILED']&&this['_messageService']['show']({'type':_0x42ee62[_0x89b3ae(0x1c6)][_0x89b3ae(0x171)],'content':this[_0x89b3ae(0x2a5)]['t'](_0x4900ac[_0x89b3ae(0x277)]||'')}),_0x4900ac['id']===_0x3d42b8[_0x89b3ae(0x390)]['SOCKET_FAILED_RETRY']&&this[_0x89b3ae(0x244)][_0x89b3ae(0x12e)]({'type':_0x42ee62[_0x89b3ae(0x1c6)]['Warning'],'content':this['_localeService']['t'](_0x89b3ae(0x12c))}),_0x4900ac['id']===_0x3d42b8[_0x89b3ae(0x390)]['SOCKET_FAILED']&&this[_0x89b3ae(0x244)]['show']({'type':_0x42ee62['MessageType'][_0x89b3ae(0x2ce)],'content':this['_localeService']['t']('session.connection-failed')}),_0x4900ac['id']===_0x3d42b8[_0x89b3ae(0x390)][_0x89b3ae(0x2be)]&&this['_messageService']['show']({'type':_0x42ee62[_0x89b3ae(0x1c6)][_0x89b3ae(0x2ce)],'content':this[_0x89b3ae(0x2a5)]['t']('session.collaboration-timeout')});}));}};_0x4a1f7a=_0x520c54([_0x3e51c8(0x0,_0x1229e7[_0x364fc7(0x339)]),_0x3e51c8(0x1,_0x3d42b8[_0x364fc7(0x1e7)]),_0x3e51c8(0x2,_0x20df47['Inject'](_0x3d42b8['CollaborationUIEventService'])),_0x3e51c8(0x3,_0x1229e7['IMessageService']),_0x3e51c8(0x4,_0x1229e7[_0x364fc7(0x36a)]),_0x3e51c8(0x5,_0x20df47[_0x364fc7(0x28b)](_0x20df47[_0x364fc7(0x182)]))],_0x4a1f7a);const _0x589226='collaboration-client-ui.config',_0x41294f={},_0x338227=_0x20df47[_0x364fc7(0x23f)](_0x364fc7(0x359));var _0x5d9afc=Object[_0x364fc7(0x26c)],_0x14dd89=(_0x43b49e,_0x29537f,_0xf28b33,_0x1f3210)=>{const _0x4c3e93=_0x364fc7;for(var _0x210d64=_0x1f3210>0x1?void 0x0:_0x1f3210?_0x5d9afc(_0x29537f,_0xf28b33):_0x29537f,_0x2fbc12=_0x43b49e[_0x4c3e93(0x18f)]-0x1,_0x1491e7;_0x2fbc12>=0x0;_0x2fbc12--)(_0x1491e7=_0x43b49e[_0x2fbc12])&&(_0x210d64=_0x1491e7(_0x210d64)||_0x210d64);return _0x210d64;},_0x2da900=(_0x104ad1,_0x36e774)=>(_0x937e32,_0x1f59c9)=>_0x36e774(_0x937e32,_0x1f59c9,_0x104ad1);_0x4392a1[_0x364fc7(0x1df)]=class extends _0x20df47['RxDisposable']{constructor(_0xedb6b8,_0x33b9c8,_0x43684a,_0x3189aa,_0x505f25){const _0x38b872=_0x364fc7;super(),this[_0x38b872(0x1e4)]=_0xedb6b8,this[_0x38b872(0x2da)]=_0x33b9c8,this[_0x38b872(0x197)]=_0x43684a,this['_dataLoaderService']=_0x3189aa,_0x505f25?_0x505f25==null||_0x505f25[_0x38b872(0x31c)]()[_0x38b872(0x274)](()=>this[_0x38b872(0x184)]()):(this[_0x38b872(0x2da)][_0x38b872(0x1da)](_0x38b872(0x32d),_0x38b872(0x1a7)),this[_0x38b872(0x184)]());}async[_0x364fc7(0x184)](){const _0x4ec0b5=_0x364fc7,_0x48e72a=this[_0x4ec0b5(0x1e4)][_0x4ec0b5(0x11e)]('unit'),_0x1869de=this['_urlService'][_0x4ec0b5(0x11e)](_0x4ec0b5(0x27b)),_0x27ee03=this['_urlService'][_0x4ec0b5(0x11e)]('subunit');if(!_0x48e72a||!_0x1869de){this[_0x4ec0b5(0x2da)]['debug'](_0x4ec0b5(0x32d),_0x4ec0b5(0x2e0));return;}const _0x5542bf=await this['_dataLoaderService'][_0x4ec0b5(0x300)](_0x48e72a,Number(_0x1869de),_0x27ee03);_0x5542bf&&_0x5542bf instanceof _0x20df47[_0x4ec0b5(0x17c)]&&this['_setupSubUnitSync'](_0x5542bf);}async[_0x364fc7(0x371)](_0x399e2f){const _0x1bf574=_0x364fc7;await this[_0x1bf574(0x349)](_0x399e2f),_0x399e2f[_0x1bf574(0x179)]['pipe'](_0x3396eb[_0x1bf574(0x2ad)](this['dispose$']))[_0x1bf574(0x276)](_0x4065f0=>{const _0x3187c3=_0x1bf574;_0x4065f0&&this[_0x3187c3(0x316)](_0x4065f0);}),this[_0x1bf574(0x1e4)][_0x1bf574(0x1dc)][_0x1bf574(0x13a)](_0x3396eb[_0x1bf574(0x2ad)](this[_0x1bf574(0x365)]))[_0x1bf574(0x276)](()=>this[_0x1bf574(0x349)](_0x399e2f));}[_0x364fc7(0x316)](_0x2038d5,_0x18683e=!0x1){const _0x4a85d4=_0x364fc7,_0x5c38f3=this[_0x4a85d4(0x1e4)][_0x4a85d4(0x11e)](_0x4a85d4(0x189));_0x2038d5[_0x4a85d4(0x33c)]()!==_0x5c38f3&&this[_0x4a85d4(0x1e4)][_0x4a85d4(0x389)]('subunit',_0x2038d5[_0x4a85d4(0x33c)](),_0x18683e);}async[_0x364fc7(0x349)](_0x1a51fb){const _0x33aac8=_0x364fc7;var _0x21efbf;const _0xaefa36=this['_urlService']['getParam'](_0x33aac8(0x189));if(!_0xaefa36||!_0x1a51fb[_0x33aac8(0x28f)](_0xaefa36)){const _0x3fad82=_0x1a51fb['getUnhiddenWorksheets']()[0x0],_0xf30c2d=_0x1a51fb['getSheetBySheetId'](_0x3fad82);if(!_0xf30c2d)return;this['_updateURLWithCurrentState'](_0xf30c2d,!0x0),await this[_0x33aac8(0x197)][_0x33aac8(0x1d7)](_0x3148e7[_0x33aac8(0x118)]['id'],{'unitId':_0x1a51fb[_0x33aac8(0x191)](),'subUnitId':_0x3fad82});return;}((_0x21efbf=_0x1a51fb[_0x33aac8(0x2cc)]())==null?void 0x0:_0x21efbf['getSheetId']())!==_0xaefa36&&await this['_commandService']['executeCommand'](_0x3148e7['SetWorksheetActivateCommand']['id'],{'unitId':_0x1a51fb['getUnitId'](),'subUnitId':_0xaefa36});}},_0x4392a1['CollaborationDataLoaderController']=_0x14dd89([_0x2da900(0x0,_0x338227),_0x2da900(0x1,_0x20df47[_0x364fc7(0x342)]),_0x2da900(0x2,_0x20df47[_0x364fc7(0x353)]),_0x2da900(0x3,_0x20df47[_0x364fc7(0x28b)](_0x3d42b8[_0x364fc7(0x1ad)])),_0x2da900(0x4,_0x20df47[_0x364fc7(0x14b)](_0xdffc4[_0x364fc7(0x341)]))],_0x4392a1[_0x364fc7(0x1df)]);var _0x453139=Object[_0x364fc7(0x26c)],_0x3cdb57=(_0x1f2e8d,_0x1f9818,_0x814777,_0x14096e)=>{const _0x228d40=_0x364fc7;for(var _0x6c50b=_0x14096e>0x1?void 0x0:_0x14096e?_0x453139(_0x1f9818,_0x814777):_0x1f9818,_0x5d34c5=_0x1f2e8d[_0x228d40(0x18f)]-0x1,_0x1e5f4a;_0x5d34c5>=0x0;_0x5d34c5--)(_0x1e5f4a=_0x1f2e8d[_0x5d34c5])&&(_0x6c50b=_0x1e5f4a(_0x6c50b)||_0x6c50b);return _0x6c50b;},_0x5f35b7=(_0x40e4bb,_0x7076ed)=>(_0x151fc3,_0x20c88a)=>_0x7076ed(_0x151fc3,_0x20c88a,_0x40e4bb);let _0x204353=class{constructor(_0x4973fa,_0x4b6b5f,_0x528a97){const _0x422920=_0x364fc7;this[_0x422920(0x1b2)]=_0x4973fa,this[_0x422920(0x1bf)]=_0x4b6b5f,this[_0x422920(0x11a)]=_0x528a97;}['transformIMECache'](_0x37f1dd){const _0x2d3334=_0x364fc7;this[_0x2d3334(0x33d)](_0x37f1dd),this[_0x2d3334(0x2ec)](_0x37f1dd);}[_0x364fc7(0x148)](_0x31cd6b){const _0x57772b=_0x364fc7,{unitID:_0x4da28e}=_0x31cd6b,_0x224053=this[_0x57772b(0x11a)][_0x57772b(0x331)](_0x4da28e)['with'](_0x8e9d75[_0x57772b(0x1ba)]),{redoCache:_0xf2a9e7}=_0x224053['getUndoRedoMutationParamsCache']();if(_0xf2a9e7['length']===0x0)return _0x31cd6b;let _0x144141=_0x20df47[_0x57772b(0x19b)][_0x57772b(0x2d0)](_0x31cd6b[_0x57772b(0x258)][0x0]);for(let _0x2ebfa7=0x0;_0x2ebfa7<_0xf2a9e7[_0x57772b(0x18f)];_0x2ebfa7++){const _0x8a6b46={'id':_0x57772b(0x1b1),'params':{..._0xf2a9e7[_0x2ebfa7]}},_0x3e2e0c=this['_transformService'][_0x57772b(0x17a)](_0x144141,_0x8a6b46,!0x1);if(_0x3395bd[_0x57772b(0x271)](_0x3e2e0c))throw _0x3e2e0c[_0x57772b(0x1bb)];_0x144141=_0x3e2e0c['m1Prime'];}return{..._0x20df47['Tools'][_0x57772b(0x2d0)](_0x31cd6b),'mutations':[_0x144141]};}['_transformUndoRedoStack'](_0x51755b){const _0x2d879f=_0x364fc7,{unitID:_0x58b671}=_0x51755b,_0x20da8c=this[_0x2d879f(0x11a)][_0x2d879f(0x331)](_0x58b671)[_0x2d879f(0x212)](_0x8e9d75['DocIMEInputManagerService']),{undoCache:_0x194810,redoCache:_0x4bf192}=_0x20da8c[_0x2d879f(0x2c0)]();if(_0x194810[_0x2d879f(0x18f)]===0x0||_0x4bf192[_0x2d879f(0x18f)]===0x0)return;const _0x154a17=[],_0x359923=[];let _0x198912=_0x20df47[_0x2d879f(0x19b)][_0x2d879f(0x2d0)](_0x51755b[_0x2d879f(0x258)][0x0]),_0x25e8e5=_0x20df47[_0x2d879f(0x19b)][_0x2d879f(0x2d0)](_0x51755b[_0x2d879f(0x258)][0x0]);for(let _0x473a7d=_0x194810['length']-0x1;_0x473a7d>=0x0;_0x473a7d--){const _0x2c9da3={'id':_0x2d879f(0x1b1),'params':{..._0x194810[_0x473a7d]}},_0x5ac6b7={'id':_0x2d879f(0x1b1),'params':{..._0x4bf192[_0x473a7d]}},_0x3b5dd4=this['_transformService'][_0x2d879f(0x17a)](_0x198912,_0x2c9da3,!0x1),_0x120421=this['_transformService'][_0x2d879f(0x17a)](_0x25e8e5,_0x5ac6b7,!0x1);if(_0x3395bd['isTransformMutationFailure'](_0x3b5dd4))throw _0x3b5dd4[_0x2d879f(0x1bb)];if(_0x3395bd['isTransformMutationFailure'](_0x120421))throw _0x120421[_0x2d879f(0x1bb)];_0x154a17[_0x2d879f(0x22f)](_0x3b5dd4[_0x2d879f(0x138)]['params']),_0x359923[_0x2d879f(0x22f)](_0x120421[_0x2d879f(0x138)]['params']),_0x198912=_0x3b5dd4[_0x2d879f(0x1ef)],_0x25e8e5=_0x120421[_0x2d879f(0x1ef)];}_0x20da8c[_0x2d879f(0x259)]({'undoCache':_0x154a17,'redoCache':_0x359923});}[_0x364fc7(0x2ec)](_0x3f7f14){const _0x122249=_0x364fc7,{unitID:_0x3cbff2}=_0x3f7f14,_0x54f3cc=this['_renderManagerService'][_0x122249(0x331)](_0x3cbff2)[_0x122249(0x212)](_0x8e9d75[_0x122249(0x1ba)]),_0x452d87=_0x54f3cc['getActiveRange']();if(_0x452d87==null)return;const _0x422605=[{'id':_0x122249(0x1b1),'params':{'unitId':_0x3f7f14[_0x122249(0x25d)],'actions':null,'textRanges':[_0x452d87]}}],_0x7001fb=this['_transformService'][_0x122249(0x163)](_0x3f7f14,_0x422605);if(!_0x3395bd[_0x122249(0x165)](_0x7001fb))throw _0x7001fb[_0x122249(0x1bb)];const _0x1c3d56=_0x7001fb[_0x122249(0x138)][0x0]['params'][_0x122249(0x2c5)];Array['isArray'](_0x1c3d56)&&_0x1c3d56['length']&&_0x54f3cc[_0x122249(0x2cf)](_0x1c3d56[0x0]);}};_0x204353=_0x3cdb57([_0x5f35b7(0x0,_0x20df47[_0x364fc7(0x28b)](_0x20df47['Injector'])),_0x5f35b7(0x1,_0x3395bd[_0x364fc7(0x20b)]),_0x5f35b7(0x2,_0x4e3aee['IRenderManagerService'])],_0x204353);var _0xdacaca=Object['getOwnPropertyDescriptor'],_0x47fc47=(_0x1bc166,_0x427587,_0x2818bb,_0x4def41)=>{const _0x4196da=_0x364fc7;for(var _0x252ad6=_0x4def41>0x1?void 0x0:_0x4def41?_0xdacaca(_0x427587,_0x2818bb):_0x427587,_0x345333=_0x1bc166[_0x4196da(0x18f)]-0x1,_0x30d46f;_0x345333>=0x0;_0x345333--)(_0x30d46f=_0x1bc166[_0x345333])&&(_0x252ad6=_0x30d46f(_0x252ad6)||_0x252ad6);return _0x252ad6;},_0x2f2c93=(_0x1393db,_0x421b81)=>(_0x2db20a,_0x4ed362)=>_0x421b81(_0x2db20a,_0x4ed362,_0x1393db);let _0x43a28d=class{constructor(_0x4d20e9,_0x30358f,_0x22ace6){const _0x581eab=_0x364fc7;this[_0x581eab(0x1b2)]=_0x4d20e9,this[_0x581eab(0x1bf)]=_0x30358f,this[_0x581eab(0x17f)]=_0x22ace6;}[_0x364fc7(0x368)](_0x406b56){this['_transformHistoryAndStateStack'](_0x406b56);}[_0x364fc7(0x148)](_0x484f22){const _0x326082=_0x364fc7,{unitID:_0xdf3249}=_0x484f22,{collaboration:_0x5f4e2e}=this[_0x326082(0x17f)][_0x326082(0x1d4)](_0xdf3249);if(_0x5f4e2e[_0x326082(0x18f)]===0x0)return _0x484f22;let _0x34ed03=_0x20df47['Tools']['deepClone'](_0x484f22[_0x326082(0x258)][0x0]);for(let _0x130569=0x0;_0x130569<_0x5f4e2e[_0x326082(0x18f)];_0x130569++){const _0x4ec674={'id':_0x326082(0x1b1),'params':{'unitId':_0x5f4e2e[_0x130569][_0x326082(0x220)],..._0x5f4e2e[_0x130569][_0x326082(0x156)]}},_0x76f7b4=this['_transformService'][_0x326082(0x17a)](_0x34ed03,_0x4ec674,!0x1);if(_0x3395bd[_0x326082(0x271)](_0x76f7b4))throw _0x76f7b4[_0x326082(0x1bb)];_0x34ed03=_0x76f7b4['m1Prime'];}return{..._0x20df47[_0x326082(0x19b)]['deepClone'](_0x484f22),'mutations':[_0x34ed03]};}[_0x364fc7(0x141)](_0x3def15){const _0x2d270e=_0x364fc7,{unitID:_0x3c824d}=_0x3def15,{history:_0x528a04,collaboration:_0x8a9386}=this[_0x2d270e(0x17f)]['getStateCache'](_0x3c824d);if(_0x528a04[_0x2d270e(0x18f)]===0x0&&_0x8a9386[_0x2d270e(0x18f)]===0x0)return;const _0x2aa52f=[],_0x37be67=[];let _0x1c0cf0=_0x20df47[_0x2d270e(0x19b)][_0x2d270e(0x2d0)](_0x3def15[_0x2d270e(0x258)][0x0]),_0x1a32f0=_0x20df47[_0x2d270e(0x19b)]['deepClone'](_0x3def15[_0x2d270e(0x258)][0x0]);for(let _0x493ca2=_0x528a04[_0x2d270e(0x18f)]-0x1;_0x493ca2>=0x0;_0x493ca2--){const _0x5672e2={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x528a04[_0x493ca2][_0x2d270e(0x220)],..._0x528a04[_0x493ca2][_0x2d270e(0x28a)]}},_0x5448d5={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x528a04[_0x493ca2][_0x2d270e(0x220)],..._0x528a04[_0x493ca2][_0x2d270e(0x156)]}},_0x65a9b=this['_transformService'][_0x2d270e(0x17a)](_0x1c0cf0,_0x5672e2,!0x1),_0x255638=this['_transformService'][_0x2d270e(0x17a)](_0x1a32f0,_0x5448d5,!0x1);if(_0x3395bd['isTransformMutationFailure'](_0x65a9b))throw _0x65a9b[_0x2d270e(0x1bb)];if(_0x3395bd[_0x2d270e(0x271)](_0x255638))throw _0x255638['error'];_0x2aa52f['unshift']({..._0x528a04[_0x493ca2],'undoState':_0x65a9b['m2Prime']['params'],'redoState':_0x255638[_0x2d270e(0x138)]['params']}),_0x1c0cf0=_0x65a9b[_0x2d270e(0x1ef)],_0x1a32f0=_0x255638[_0x2d270e(0x1ef)];}_0x1c0cf0=_0x20df47[_0x2d270e(0x19b)][_0x2d270e(0x2d0)](_0x3def15[_0x2d270e(0x258)][0x0]),_0x1a32f0=_0x20df47[_0x2d270e(0x19b)][_0x2d270e(0x2d0)](_0x3def15[_0x2d270e(0x258)][0x0]);for(let _0x2a6063=_0x8a9386['length']-0x1;_0x2a6063>=0x0;_0x2a6063--){const _0x1c669c={'id':_0x2d270e(0x1b1),'params':{'unitId':_0x8a9386[_0x2a6063][_0x2d270e(0x220)],..._0x8a9386[_0x2a6063][_0x2d270e(0x28a)]}},_0x5c866c={'id':_0x2d270e(0x1b1),'params':{'unitId':_0x8a9386[_0x2a6063][_0x2d270e(0x220)],..._0x8a9386[_0x2a6063][_0x2d270e(0x156)]}},_0x164b15=this[_0x2d270e(0x1bf)][_0x2d270e(0x17a)](_0x1c0cf0,_0x1c669c,!0x1),_0x403df8=this[_0x2d270e(0x1bf)]['transformMutation'](_0x1a32f0,_0x5c866c,!0x1);if(_0x3395bd[_0x2d270e(0x271)](_0x164b15))throw _0x164b15[_0x2d270e(0x1bb)];if(_0x3395bd['isTransformMutationFailure'](_0x403df8))throw _0x403df8[_0x2d270e(0x1bb)];_0x37be67[_0x2d270e(0x22f)]({..._0x8a9386[_0x2a6063],'undoState':_0x164b15[_0x2d270e(0x138)]['params'],'redoState':_0x403df8[_0x2d270e(0x138)][_0x2d270e(0x1f3)]}),_0x1c0cf0=_0x164b15['m1Prime'],_0x1a32f0=_0x403df8[_0x2d270e(0x1ef)];}this[_0x2d270e(0x17f)][_0x2d270e(0x11f)](_0x3c824d,{'history':_0x2aa52f,'collaboration':_0x37be67});}};_0x43a28d=_0x47fc47([_0x2f2c93(0x0,_0x20df47['Inject'](_0x20df47['Injector'])),_0x2f2c93(0x1,_0x3395bd[_0x364fc7(0x20b)]),_0x2f2c93(0x2,_0x20df47[_0x364fc7(0x28b)](_0x8e9d75[_0x364fc7(0x1f8)]))],_0x43a28d);var _0x183bfb=Object['getOwnPropertyDescriptor'],_0x5265ae=(_0xe84153,_0x491494,_0x22fa7c,_0x311152)=>{const _0x42b20b=_0x364fc7;for(var _0x3a1a56=_0x311152>0x1?void 0x0:_0x311152?_0x183bfb(_0x491494,_0x22fa7c):_0x491494,_0x1a956b=_0xe84153[_0x42b20b(0x18f)]-0x1,_0x99b572;_0x1a956b>=0x0;_0x1a956b--)(_0x99b572=_0xe84153[_0x1a956b])&&(_0x3a1a56=_0x99b572(_0x3a1a56)||_0x3a1a56);return _0x3a1a56;},_0x369f80=(_0x185ace,_0x506fc3)=>(_0xd3f7a0,_0x1e0610)=>_0x506fc3(_0xd3f7a0,_0x1e0610,_0x185ace);let _0x3b2291=class{constructor(_0x2a4373,_0x19d0b1){const _0x3aacef=_0x364fc7;this[_0x3aacef(0x1b2)]=_0x2a4373,this[_0x3aacef(0x1bf)]=_0x19d0b1;}[_0x364fc7(0x381)](_0x552824){const _0x41defc=_0x364fc7;var _0x40b724;const _0x47719b=this[_0x41defc(0x1b2)][_0x41defc(0x19c)](_0xb95e52['DocSelectionManagerService']),_0x6a4707=(_0x40b724=_0x47719b[_0x41defc(0x314)]())!=null?_0x40b724:[];if(_0x6a4707[_0x41defc(0x18f)]===0x0)return;const _0x2db919=_0x552824[_0x41defc(0x25d)],_0x17ac5a=[{'id':_0x41defc(0x1b1),'params':{'unitId':_0x2db919,'actions':null,'textRanges':_0x6a4707}}],_0x5051de=this[_0x41defc(0x1bf)][_0x41defc(0x163)](_0x552824,_0x17ac5a);if(!_0x3395bd[_0x41defc(0x165)](_0x5051de))throw _0x5051de['error'];const _0x3e568f=_0x5051de['m2Prime'][0x0][_0x41defc(0x1f3)][_0x41defc(0x2c5)];Array[_0x41defc(0x237)](_0x3e568f)&&_0x3e568f['length']&&_0x47719b['replaceDocRanges'](_0x3e568f,{'unitId':_0x2db919,'subUnitId':_0x2db919},!0x1);}};_0x3b2291=_0x5265ae([_0x369f80(0x0,_0x20df47['Inject'](_0x20df47[_0x364fc7(0x120)])),_0x369f80(0x1,_0x3395bd[_0x364fc7(0x20b)])],_0x3b2291);var _0x4b8da2=Object[_0x364fc7(0x26c)],_0x1943b3=(_0x2a6e44,_0x2c6502,_0x59a9ac,_0x385584)=>{const _0x4c9f8e=_0x364fc7;for(var _0x367fa2=_0x385584>0x1?void 0x0:_0x385584?_0x4b8da2(_0x2c6502,_0x59a9ac):_0x2c6502,_0x4c4661=_0x2a6e44[_0x4c9f8e(0x18f)]-0x1,_0xaa8033;_0x4c4661>=0x0;_0x4c4661--)(_0xaa8033=_0x2a6e44[_0x4c4661])&&(_0x367fa2=_0xaa8033(_0x367fa2)||_0x367fa2);return _0x367fa2;},_0x4b1259=(_0x28146d,_0xfe76d7)=>(_0x5b7a57,_0xe0b119)=>_0xfe76d7(_0x5b7a57,_0xe0b119,_0x28146d);let _0x9e50af=class extends _0x20df47['Disposable']{constructor(_0x25bc30,_0x1fa662,_0x16e871,_0x289c22,_0x48f303,_0x6cb76,_0x45518e,_0x11f711){const _0x3d75a6=_0x364fc7;super(),_0x4a92d0(this,_0x3d75a6(0x190),new _0x3396eb[(_0x3d75a6(0x374))](_0x3d42b8[_0x3d75a6(0x2de)][_0x3d75a6(0x154)])),(this['_docStateChangeManagerService']=_0x25bc30,this['_collaborationController']=_0x1fa662,this[_0x3d75a6(0x2a1)]=_0x16e871,this[_0x3d75a6(0x373)]=_0x289c22,this[_0x3d75a6(0x1ff)]=_0x48f303,this['_docSyncEditingCollabCursorService']=_0x6cb76,this[_0x3d75a6(0x244)]=_0x45518e,this['_localeService']=_0x11f711,this['_initEntityListener']());}['_initEntityListener'](){const _0x2d570d=_0x364fc7;this['disposeWithMe'](this[_0x2d570d(0x231)]['entityInit$'][_0x2d570d(0x276)](_0x54814a=>{const _0x3cf257=_0x2d570d,_0x18af93=this[_0x3cf257(0x17f)][_0x3cf257(0x143)][_0x3cf257(0x276)](_0x5ef897=>{const _0x49fe22=_0x3cf257;if(_0x5ef897==null)return;const {unitId:_0x7aa67c,redoState:_0x1bfd1c,commandId:_0x3cf37a}=_0x5ef897;if(_0x7aa67c!==_0x54814a['unitID'])return;const _0x24cca7={'id':_0x3cf37a,'type':_0x20df47['CommandType'][_0x49fe22(0x152)],'params':{'unitId':_0x7aa67c,'actions':_0x1bfd1c[_0x49fe22(0x2f8)],'textRanges':null}};_0x54814a[_0x49fe22(0x36f)](_0x24cca7);});if(_0x54814a[_0x3cf257(0x363)](_0x18af93),_0x54814a instanceof _0x3d42b8[_0x3cf257(0x2e3)]){const _0x24ad03={'onTransformIME':_0x34f1c8=>this[_0x3cf257(0x2a1)][_0x3cf257(0x2f6)](_0x34f1c8),'onTransformState':_0x386f4b=>this[_0x3cf257(0x373)][_0x3cf257(0x368)](_0x386f4b),'onTransformSelections':_0x17d15c=>this[_0x3cf257(0x1ff)]['transformSelections'](_0x17d15c),'onSyncEditingCollabCursor':_0x14ad74=>this[_0x3cf257(0x15d)][_0x3cf257(0x168)](_0x14ad74),'onTransformRemoteChangesetByIMECache':_0x4e093e=>this['_docTransformIMECacheService'][_0x3cf257(0x148)](_0x4e093e),'onTransformRemoteChangesetByStateCache':_0x2e2904=>this['_docTransformStateCacheService']['transformRemoteChangeset'](_0x2e2904)};_0x54814a['addHandlerCallback'](_0x24ad03);}}));}};_0x9e50af=_0x1943b3([_0x4b1259(0x0,_0x20df47['Inject'](_0x8e9d75[_0x364fc7(0x1f8)])),_0x4b1259(0x1,_0x20df47[_0x364fc7(0x28b)](_0x3d42b8[_0x364fc7(0x2b4)])),_0x4b1259(0x2,_0x20df47[_0x364fc7(0x28b)](_0x204353)),_0x4b1259(0x3,_0x20df47[_0x364fc7(0x28b)](_0x43a28d)),_0x4b1259(0x4,_0x20df47[_0x364fc7(0x28b)](_0x3b2291)),_0x4b1259(0x5,_0x20df47[_0x364fc7(0x28b)](_0x28b84a)),_0x4b1259(0x6,_0x1229e7['IMessageService']),_0x4b1259(0x7,_0x20df47['Inject'](_0x20df47['LocaleService']))],_0x9e50af);var _0x4e78fb=Object[_0x364fc7(0x26c)],_0x554686=(_0x5efd9f,_0x41fe0f,_0x22324d,_0x2f9076)=>{for(var _0x414311=_0x2f9076>0x1?void 0x0:_0x2f9076?_0x4e78fb(_0x41fe0f,_0x22324d):_0x41fe0f,_0x3ce131=_0x5efd9f['length']-0x1,_0x4e9c8b;_0x3ce131>=0x0;_0x3ce131--)(_0x4e9c8b=_0x5efd9f[_0x3ce131])&&(_0x414311=_0x4e9c8b(_0x414311)||_0x414311);return _0x414311;},_0x551cee=(_0x3a13e9,_0x111cfd)=>(_0x1dd118,_0x36bea8)=>_0x111cfd(_0x1dd118,_0x36bea8,_0x3a13e9);let _0x1da0c8=class extends _0x20df47[_0x364fc7(0x347)]{constructor(_0x19a27e,_0x518f3b,_0x56200b){const _0x35d992=_0x364fc7;super(),_0x4a92d0(this,_0x35d992(0x10e),new Map()),_0x4a92d0(this,'_saveTaskMap',new Map()),_0x4a92d0(this,_0x35d992(0x325),!0x1),(this[_0x35d992(0x1b8)]=_0x19a27e,this[_0x35d992(0x23e)]=_0x518f3b,this['_revisionService']=_0x56200b);}[_0x364fc7(0x29b)](){const _0x55bbcd=_0x364fc7;this[_0x55bbcd(0x325)]=!0x0;}['enableLocalCache'](){const _0xc17a9=_0x364fc7;this[_0xc17a9(0x325)]=!0x1;}get[_0x364fc7(0x2c1)](){return this['_saveTaskMap'];}['dispose'](){const _0x1f0c90=_0x364fc7;this[_0x1f0c90(0x2fd)]()[_0x1f0c90(0x274)](()=>super[_0x1f0c90(0x13f)]());}async[_0x364fc7(0x11d)](_0x25989a){const _0x1b551d=_0x364fc7;return this[_0x1b551d(0x325)]?null:this['_localStorageService']['getItem'](_0x3d42b8['getLocalCacheKey'](_0x25989a));}async['saveOfflineData'](_0x3618b5,_0x58268a){const _0x54f6b9=_0x364fc7;return!!this[_0x54f6b9(0x23e)][_0x54f6b9(0x25b)](_0x3618b5,_0x58268a);}[_0x364fc7(0x1ac)](_0x5d0d64,_0x5b158f,_0x5a9bb2,_0x12f8dc){const _0x121275=_0x364fc7,_0x4e5d18=this[_0x121275(0x185)][_0x121275(0x34d)](_0x5d0d64);this[_0x121275(0x10e)][_0x121275(0x394)](_0x5d0d64,{'unitID':_0x5d0d64,'type':_0x5b158f,'awaitingChangeset':_0x5a9bb2,'mutations':_0x12f8dc,'rev':_0x4e5d18}),this['_saveTaskMap'][_0x121275(0x1f1)](_0x5d0d64)||this[_0x121275(0x1eb)](_0x5d0d64);}[_0x364fc7(0x1eb)](_0x2ee005){const _0x37b942=_0x364fc7,_0x990d1c=this[_0x37b942(0x310)]();_0x990d1c===0x0?this[_0x37b942(0x249)](_0x2ee005):this['_saveTaskMap'][_0x37b942(0x394)](_0x2ee005,setTimeout(()=>this['_saveCache'](_0x2ee005),_0x990d1c));}[_0x364fc7(0x310)](){const _0x484724=_0x364fc7;var _0x39e182;return(_0x39e182=this[_0x484724(0x1b8)][_0x484724(0x162)](_0x3d42b8[_0x484724(0x1e8)]))!=null?_0x39e182:_0x3d42b8[_0x484724(0x315)];}[_0x364fc7(0x249)](_0xbdb693){const _0x3e990b=_0x364fc7,_0x26feae=this[_0x3e990b(0x2d4)][_0x3e990b(0x19c)](_0xbdb693);return _0x26feae!==void 0x0&&window[_0x3e990b(0x395)](_0x26feae),this[_0x3e990b(0x23e)][_0x3e990b(0x25b)](_0x3d42b8[_0x3e990b(0x33e)](_0xbdb693),this[_0x3e990b(0x10e)][_0x3e990b(0x19c)](_0xbdb693))[_0x3e990b(0x274)](()=>this[_0x3e990b(0x2d4)][_0x3e990b(0x1c3)](_0xbdb693));}async[_0x364fc7(0x2fd)](){const _0x2b5e8f=_0x364fc7,_0x57a096=[];this['_saveTaskMap'][_0x2b5e8f(0x24a)]((_0x2b4a38,_0x53e2e9)=>{const _0x178015=_0x2b5e8f;window['clearTimeout'](_0x2b4a38),_0x57a096[_0x178015(0x1a5)](this['_saveCache'](_0x53e2e9)[_0x178015(0x274)](()=>{const _0x59edea=_0x178015;this[_0x59edea(0x2d4)][_0x59edea(0x1c3)](_0x53e2e9);}));}),await Promise[_0x2b5e8f(0x248)](_0x57a096);}};_0x1da0c8=_0x554686([_0x551cee(0x0,_0x20df47['IConfigService']),_0x551cee(0x1,_0x20df47[_0x364fc7(0x2b9)]),_0x551cee(0x2,_0x20df47[_0x364fc7(0x28b)](_0x3395bd[_0x364fc7(0x19d)]))],_0x1da0c8);class _0x3b85f7 extends _0x20df47[_0x364fc7(0x36e)]{constructor(){const _0x2fb60e=_0x364fc7;super(),_0x4a92d0(this,'urlChange$'),this[_0x2fb60e(0x1dc)]=_0x3396eb['fromEvent'](window,_0x2fb60e(0x224))[_0x2fb60e(0x13a)](_0x3396eb[_0x2fb60e(0x2ad)](this['dispose$']),_0x3396eb[_0x2fb60e(0x14c)](0x1),_0x3396eb[_0x2fb60e(0x155)](void 0x0));}[_0x364fc7(0x389)](_0x3ee893,_0x3e187c,_0x411436=!0x1){const _0x5b3e02=_0x364fc7,_0xee2c29=new URL(window[_0x5b3e02(0x26f)][_0x5b3e02(0x218)]);_0xee2c29[_0x5b3e02(0x158)]['set'](_0x3ee893,_0x3e187c),_0x411436?window[_0x5b3e02(0x337)][_0x5b3e02(0x328)]('','',_0xee2c29[_0x5b3e02(0x217)]()):window['history'][_0x5b3e02(0x200)]('','',_0xee2c29['toString']());}[_0x364fc7(0x228)](_0x3091b8,_0x9eed34=!0x1){const _0x1d4d71=_0x364fc7,_0x289869=new URL(window[_0x1d4d71(0x26f)][_0x1d4d71(0x218)]);_0x289869[_0x1d4d71(0x158)][_0x1d4d71(0x1c3)](_0x3091b8),_0x9eed34?window[_0x1d4d71(0x337)][_0x1d4d71(0x328)]('','',_0x289869[_0x1d4d71(0x217)]()):window[_0x1d4d71(0x337)][_0x1d4d71(0x200)]('','',_0x289869[_0x1d4d71(0x217)]());}[_0x364fc7(0x11e)](_0x211d39){const _0x34608d=_0x364fc7;var _0xe5a10f;return(_0xe5a10f=new URL(window[_0x34608d(0x26f)][_0x34608d(0x218)])[_0x34608d(0x158)]['get'](_0x211d39))!=null?_0xe5a10f:void 0x0;}}var _0x423c81=Object['defineProperty'],_0x289026=Object[_0x364fc7(0x26c)],_0x20c90f=(_0xc5e68d,_0x12a692,_0x53d62b)=>_0x12a692 in _0xc5e68d?_0x423c81(_0xc5e68d,_0x12a692,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x53d62b}):_0xc5e68d[_0x12a692]=_0x53d62b,_0x38fc9f=(_0x3c2082,_0x587b39,_0x67a8a1,_0x4d0eee)=>{for(var _0x62e578=_0x4d0eee>0x1?void 0x0:_0x4d0eee?_0x289026(_0x587b39,_0x67a8a1):_0x587b39,_0x5b8a26=_0x3c2082['length']-0x1,_0x225b2b;_0x5b8a26>=0x0;_0x5b8a26--)(_0x225b2b=_0x3c2082[_0x5b8a26])&&(_0x62e578=_0x225b2b(_0x62e578)||_0x62e578);return _0x62e578;},_0x2ef859=(_0x265200,_0x34c538)=>(_0x5cabd9,_0x1f52eb)=>_0x34c538(_0x5cabd9,_0x1f52eb,_0x265200),_0x29932d=(_0x40d3f2,_0x45ca5f,_0x110ba3)=>_0x20c90f(_0x40d3f2,_0x45ca5f+'',_0x110ba3);const _0x2ca5bd='UNIVER_COLLABORATION_CLIENT_WEB_PLUGIN';_0x4392a1[_0x364fc7(0x226)]=class extends _0x20df47['Plugin']{constructor(_0x3dc22d=_0x41294f,_0x155510,_0x2d13f6,_0x2077bf){const _0x51de3a=_0x364fc7;super(),this[_0x51de3a(0x38b)]=_0x3dc22d,this[_0x51de3a(0x11a)]=_0x155510,this[_0x51de3a(0x1b2)]=_0x2d13f6,this['_configService']=_0x2077bf;const {..._0x145971}=_0x20df47[_0x51de3a(0x146)]({},_0x41294f,this['_config']);this['_configService'][_0x51de3a(0x172)](_0x589226,_0x145971);}[_0x364fc7(0x11c)](){const _0x3374c3=_0x364fc7;this[_0x3374c3(0x1cc)](),this[_0x3374c3(0x1e9)]();}['onRendered'](){const _0x12708b=_0x364fc7;this[_0x12708b(0x35a)]();}[_0x364fc7(0x1cc)](){const _0x43456c=_0x364fc7;var _0xb6be96;const _0x5e435a=[[_0x5cb8a1],[_0x3b2291],[_0x204353],[_0x43a28d],[_0x28b84a],[_0x338227,{'useClass':_0x3b85f7}],[_0x230e9b[_0x43456c(0x321)],{'useClass':_0x230e9b[_0x43456c(0x1f7)]}],[_0x3d42b8['ILocalCacheService'],{'useClass':_0x1da0c8}],[_0x4392a1[_0x43456c(0x116)]],[_0x9e50af],[_0x4a1f7a],[_0x100640],[_0x5ecd54],[_0x4392a1[_0x43456c(0x1df)]]];_0x20df47[_0x43456c(0x157)](this[_0x43456c(0x1b2)],_0x20df47[_0x43456c(0x204)](_0x5e435a,(_0xb6be96=this[_0x43456c(0x38b)])==null?void 0x0:_0xb6be96[_0x43456c(0x2f7)]));}['_registerRenderDependencies'](){const _0x247155=_0x364fc7;this[_0x247155(0x363)](this[_0x247155(0x11a)][_0x247155(0x193)](_0x20df47[_0x247155(0x386)][_0x247155(0x2d6)],[_0x540093])),this[_0x247155(0x363)](this['_renderManagerService'][_0x247155(0x193)](_0x20df47[_0x247155(0x386)][_0x247155(0x32e)],[_0x1fd5d1]));}['_initDependencies'](){const _0x303610=_0x364fc7;_0x20df47[_0x303610(0x10d)](this[_0x303610(0x1b2)],[[_0x100640],[_0x4392a1[_0x303610(0x116)]],[_0x9e50af],[_0x4a1f7a],[_0x4392a1[_0x303610(0x1df)]]]);}},_0x29932d(_0x4392a1['UniverCollaborationClientUIPlugin'],_0x364fc7(0x1ca),_0x2ca5bd),_0x4392a1[_0x364fc7(0x226)]=_0x38fc9f([_0x20df47['DependentOn'](_0x3d42b8[_0x364fc7(0x1e2)]),_0x2ef859(0x1,_0x4e3aee[_0x364fc7(0x23d)]),_0x2ef859(0x2,_0x20df47[_0x364fc7(0x28b)](_0x20df47[_0x364fc7(0x120)])),_0x2ef859(0x3,_0x20df47[_0x364fc7(0x298)])],_0x4392a1[_0x364fc7(0x226)]);var _0x1a9329=Object[_0x364fc7(0x26c)],_0x46a000=(_0x22c36e,_0x231e55,_0x1b1f98,_0x155954)=>{const _0x2e2af9=_0x364fc7;for(var _0x4e367a=_0x155954>0x1?void 0x0:_0x155954?_0x1a9329(_0x231e55,_0x1b1f98):_0x231e55,_0x2182c0=_0x22c36e[_0x2e2af9(0x18f)]-0x1,_0x51aa20;_0x2182c0>=0x0;_0x2182c0--)(_0x51aa20=_0x22c36e[_0x2182c0])&&(_0x4e367a=_0x51aa20(_0x4e367a)||_0x4e367a);return _0x4e367a;},_0x39d579=(_0x31d16a,_0x1e6aba)=>(_0x452438,_0x40e554)=>_0x1e6aba(_0x452438,_0x40e554,_0x31d16a);_0x4392a1[_0x364fc7(0x2df)]=class extends _0x3d42b8[_0x364fc7(0x38c)]{constructor(_0x3b2b22,_0x3c6acb,_0x5b437c,_0x56dc93,_0x1709ce){super(_0x3b2b22,_0x3c6acb,_0x5b437c,_0x56dc93,_0x1709ce);}async[_0x364fc7(0x30b)](_0x5ccaba){const _0x43714d=_0x364fc7,_0x2663e=await this[_0x43714d(0x366)](),_0x35340f=this['_createSocketURL'](_0x5ccaba,_0x2663e);return this[_0x43714d(0x375)](_0x35340f);}[_0x364fc7(0x369)](_0x2773e3,_0x1724e9){const _0x364cf9=_0x364fc7,_0x2b65ae=typeof window>'u'?new URL(_0x2773e3):new URL(_0x2773e3,window[_0x364cf9(0x26f)][_0x364cf9(0x2a8)]);_0x2b65ae[_0x364cf9(0x158)][_0x364cf9(0x394)]('sessionTicket',_0x1724e9);const _0x26ba53=typeof window>'u'?new URLSearchParams():new URLSearchParams(window[_0x364cf9(0x26f)][_0x364cf9(0x385)]);return _0x26ba53[_0x364cf9(0x19c)]('runId')&&_0x2b65ae[_0x364cf9(0x158)][_0x364cf9(0x394)]('runId',_0x26ba53[_0x364cf9(0x19c)](_0x364cf9(0x22c))),_0x2b65ae[_0x364cf9(0x217)]();}async['_getSessionTicket'](){const _0x507f3f=_0x364fc7;var _0x58ce06,_0x1b55f0,_0xfc9d52;const _0x51e774=this[_0x507f3f(0x1b8)][_0x507f3f(0x162)](_0x3d42b8[_0x507f3f(0x21c)]),_0x22ff1d=(_0x58ce06=_0x51e774==null?void 0x0:_0x51e774[_0x507f3f(0x350)])!=null?_0x58ce06:_0x3d42b8['DEFAULT_WS_SESSION_TICKET_URL'];return(_0xfc9d52=(_0x1b55f0=(await this[_0x507f3f(0x2ac)]['get'](_0x22ff1d,{'headers':{'Content-Type':'application/json'}}))[_0x507f3f(0x396)])==null?void 0x0:_0x1b55f0[_0x507f3f(0x213)])!=null?_0xfc9d52:'';}},_0x4392a1['BrowserCollaborationSocketService']=_0x46a000([_0x39d579(0x0,_0x20df47['Inject'](_0x20df47[_0x364fc7(0x120)])),_0x39d579(0x1,_0x20df47[_0x364fc7(0x28b)](_0x230e9b[_0x364fc7(0x2ba)])),_0x39d579(0x2,_0x20df47[_0x364fc7(0x298)]),_0x39d579(0x3,_0x20df47[_0x364fc7(0x342)]),_0x39d579(0x4,_0x3395bd['ISnapshotServerService'])],_0x4392a1[_0x364fc7(0x2df)]);const _0x4161d9=0x7530,_0x3c1896=_0x364fc7(0x23c);class _0x458c06 extends _0x20df47['Disposable']{constructor(){const _0x2612c5=_0x364fc7;super(),_0x4a92d0(this,_0x2612c5(0x21e),_0x20df47[_0x2612c5(0x30c)]()),_0x4a92d0(this,'_selfUnitIDs',new Set()),_0x4a92d0(this,_0x2612c5(0x330),new Map()),_0x4a92d0(this,_0x2612c5(0x2b0),null),_0x4a92d0(this,'_clearOtherTimers',new Map()),_0x4a92d0(this,_0x2612c5(0x34f),new Map()),this[_0x2612c5(0x184)]();}[_0x364fc7(0x13f)](){const _0x3f6fdc=_0x364fc7;super[_0x3f6fdc(0x13f)](),this['_clearOtherTimers'][_0x3f6fdc(0x24a)]((_0x112e09,_0x2c76d6)=>this[_0x3f6fdc(0x214)](_0x2c76d6)),this['_heartbeatTimer']&&window[_0x3f6fdc(0x376)](this[_0x3f6fdc(0x2b0)]);}[_0x364fc7(0x24f)](_0x26f739){const _0x430719=_0x364fc7;return this[_0x430719(0x134)](_0x26f739)[_0x430719(0x13a)](_0x3396eb[_0x430719(0x241)]());}[_0x364fc7(0x1b4)](_0x348ac8){const _0x10b914=_0x364fc7;this['_selfUnitIDs'][_0x10b914(0x2e2)]===0x0&&this[_0x10b914(0x178)](),this['_selfUnitIDs']['add'](_0x348ac8),this['_send']({'type':0x0,'memberID':this[_0x10b914(0x21e)],'unitIDs':[_0x348ac8],'isForwarded':!0x1});}[_0x364fc7(0x20d)](_0xc9b800){const _0x221467=_0x364fc7;this[_0x221467(0x14e)]['delete'](_0xc9b800),this[_0x221467(0x14e)][_0x221467(0x2e2)]===0x0&&this['_heartbeatTimer']&&window[_0x221467(0x376)](this['_heartbeatTimer']);}['_init'](){const _0x23bc48=_0x364fc7;this[_0x23bc48(0x363)](_0x20df47[_0x23bc48(0x222)](_0x3396eb[_0x23bc48(0x284)](window,_0x23bc48(0x294))[_0x23bc48(0x276)](_0x3472b7=>{const _0x56290d=_0x23bc48;if(_0x3472b7['key']!==_0x3c1896||!_0x3472b7[_0x56290d(0x12b)])return;const _0x1022f6=JSON[_0x56290d(0x2aa)](_0x3472b7['newValue']);this[_0x56290d(0x12f)](_0x1022f6);}))),window[_0x23bc48(0x2d2)]('unload',()=>this[_0x23bc48(0x176)]({'type':0x1,'memberID':this['_id'],'unitIDs':Array['from'](this[_0x23bc48(0x14e)])}));}[_0x364fc7(0x12f)](_0xc57764){const _0x49f0c3=_0x364fc7;switch(_0xc57764[_0x49f0c3(0x27b)]){case 0x0:this[_0x49f0c3(0x15e)](_0xc57764);break;case 0x1:this[_0x49f0c3(0x177)](_0xc57764);break;case 0x2:this[_0x49f0c3(0x1c8)](_0xc57764);break;}}[_0x364fc7(0x15e)](_0x495e8f){const _0x2848f5=_0x364fc7,{unitIDs:_0x590955,memberID:_0xaecfe2,isForwarded:_0x2f0abf}=_0x495e8f;_0x590955[_0x2848f5(0x24a)](_0xa4da4b=>{const _0x220b08=_0x2848f5;if(!_0x2f0abf&&this[_0x220b08(0x330)]['has'](_0xa4da4b)&&this[_0x220b08(0x134)](_0xa4da4b)[_0x220b08(0x333)](_0x3d42b8[_0x220b08(0x335)]['OTHER_CLIENTS_EDITING']),!this[_0x220b08(0x330)][_0x220b08(0x1f1)](_0xa4da4b)||!this[_0x220b08(0x330)]['get'](_0xa4da4b)['has'](_0xaecfe2)){const _0x22a358=this[_0x220b08(0x330)]['get'](_0xa4da4b)||new Set();_0x22a358[_0x220b08(0x370)](_0xaecfe2),this[_0x220b08(0x330)]['set'](_0xa4da4b,_0x22a358),this[_0x220b08(0x1b9)](_0xaecfe2);}}),_0x2f0abf||this[_0x2848f5(0x176)]({'type':0x0,'memberID':this[_0x2848f5(0x21e)],'unitIDs':[...this[_0x2848f5(0x14e)]],'isForwarded':!0x0});}[_0x364fc7(0x1b9)](_0x36732d){const _0x260238=_0x364fc7;this[_0x260238(0x214)](_0x36732d);const _0x2ab13e=window[_0x260238(0x1b5)](()=>{const _0x254bce=_0x260238;this[_0x254bce(0x330)][_0x254bce(0x24a)](_0x428132=>{const _0x3c1728=_0x254bce;_0x428132[_0x3c1728(0x1c3)](_0x36732d);});},_0x4161d9*0x2);this[_0x260238(0x38a)][_0x260238(0x394)](_0x36732d,_0x2ab13e);}[_0x364fc7(0x214)](_0x3ae385){const _0x1690da=_0x364fc7;if(this[_0x1690da(0x38a)]['has'](_0x3ae385)){const _0x3ea6df=this[_0x1690da(0x38a)][_0x1690da(0x19c)](_0x3ae385);_0x3ea6df&&window['clearTimeout'](_0x3ea6df),this[_0x1690da(0x38a)][_0x1690da(0x394)](_0x3ae385,null);}}[_0x364fc7(0x177)](_0x2accf7){const _0x160d5f=_0x364fc7,{memberID:_0x2cb0f8,unitIDs:_0x24c812}=_0x2accf7;_0x24c812['forEach'](_0x368ac6=>{const _0x461359=_0x25e4;var _0x45e26d;const _0xefef7d=this['_unitOnClients']['get'](_0x368ac6);_0xefef7d&&(_0xefef7d[_0x461359(0x1c3)](_0x2cb0f8),(_0x45e26d=this[_0x461359(0x134)](_0x368ac6))==null||_0x45e26d[_0x461359(0x333)](_0xefef7d[_0x461359(0x2e2)]===0x0?_0x3d42b8['UnitStatus'][_0x461359(0x25a)]:_0x3d42b8[_0x461359(0x335)]['OTHER_CLIENTS_EDITING']));}),this[_0x160d5f(0x214)](_0x2cb0f8);}['_handleHeartbeatEvent'](_0x27767f){const _0x26fcb3=_0x364fc7;this['_scheduleClearOtherTimer'](_0x27767f[_0x26fcb3(0x1d1)]);}[_0x364fc7(0x176)](_0x30e92f){const _0x4135f3=_0x364fc7;localStorage[_0x4135f3(0x25b)](_0x3c1896,JSON[_0x4135f3(0x1de)](_0x30e92f));}[_0x364fc7(0x178)](){const _0x2f8a1b=_0x364fc7;this[_0x2f8a1b(0x2b0)]=window[_0x2f8a1b(0x364)](()=>{this['_send']({'type':0x2,'memberID':this['_id']});},_0x4161d9);}['_ensureSubject'](_0x19f238){const _0x576cc8=_0x364fc7;return this[_0x576cc8(0x34f)][_0x576cc8(0x1f1)](_0x19f238)||this['_unitStatus'][_0x576cc8(0x394)](_0x19f238,new _0x3396eb['BehaviorSubject'](_0x3d42b8[_0x576cc8(0x335)][_0x576cc8(0x25a)])),this['_unitStatus'][_0x576cc8(0x19c)](_0x19f238);}}var _0x397bcc=(_0x11a3e8=>(_0x11a3e8[_0x11a3e8[_0x364fc7(0x2f4)]=0x0]=_0x364fc7(0x2f4),_0x11a3e8[_0x11a3e8['OK']=0x1]='OK',_0x11a3e8[_0x11a3e8[_0x364fc7(0x223)]=0x2]=_0x364fc7(0x223),_0x11a3e8[_0x11a3e8[_0x364fc7(0x301)]=0x3]=_0x364fc7(0x301),_0x11a3e8[_0x11a3e8[_0x364fc7(0x242)]=0x4]=_0x364fc7(0x242),_0x11a3e8[_0x11a3e8['UNAUTHENTICATED']=0x5]=_0x364fc7(0x206),_0x11a3e8[_0x11a3e8['ALREADY_EXISTS']=0x6]=_0x364fc7(0x236),_0x11a3e8[_0x11a3e8['INVALID_ARGUMENT']=0x7]='INVALID_ARGUMENT',_0x11a3e8[_0x11a3e8['TOO_MANY_REQUESTS']=0x8]='TOO_MANY_REQUESTS',_0x11a3e8[_0x11a3e8[_0x364fc7(0x1fa)]=0x9]='COMPLETION_FINISHED',_0x11a3e8[_0x11a3e8[_0x364fc7(0x290)]=0xa]=_0x364fc7(0x290),_0x11a3e8[_0x11a3e8[_0x364fc7(0x15c)]=0x1389]=_0x364fc7(0x15c),_0x11a3e8[_0x11a3e8[_0x364fc7(0x142)]=0x1771]='SNAPSHOT_INVALID_SNAPSHOT',_0x11a3e8[_0x11a3e8[_0x364fc7(0x10b)]=0x1772]=_0x364fc7(0x10b),_0x11a3e8[_0x11a3e8[_0x364fc7(0x18b)]=0x1773]=_0x364fc7(0x18b),_0x11a3e8[_0x11a3e8[_0x364fc7(0x135)]=0x1b59]='APPLY_REJECT',_0x11a3e8[_0x11a3e8[_0x364fc7(0x288)]=0x1b5a]='APPLY_NON_SEQUENTIAL_REVISION',_0x11a3e8[_0x11a3e8[_0x364fc7(0x22a)]=0x1b5b]='APPLY_REVISION_CONFILICT',_0x11a3e8[_0x11a3e8[_0x364fc7(0x198)]=0x1b5c]=_0x364fc7(0x198),_0x11a3e8[_0x11a3e8[_0x364fc7(0x393)]=0x1b5d]=_0x364fc7(0x393),_0x11a3e8[_0x11a3e8[_0x364fc7(0x29a)]=0x1f41]=_0x364fc7(0x29a),_0x11a3e8[_0x11a3e8['LICENSE_MAX_UNITS_EXCEEDED']=0x2329]=_0x364fc7(0x2f9),_0x11a3e8[_0x11a3e8[_0x364fc7(0x1b0)]=0x232a]=_0x364fc7(0x1b0),_0x11a3e8[_0x11a3e8[_0x364fc7(0x12d)]=0x232b]='LICENSE_IMPORT_SIZE_EXCEEDED',_0x11a3e8[_0x11a3e8[_0x364fc7(0x132)]=0x232c]=_0x364fc7(0x132),_0x11a3e8[_0x11a3e8[_0x364fc7(0x367)]=0x232d]=_0x364fc7(0x367),_0x11a3e8[_0x11a3e8[_0x364fc7(0x246)]=0x2711]=_0x364fc7(0x246),_0x11a3e8[_0x11a3e8[_0x364fc7(0x2d3)]=0x2712]=_0x364fc7(0x2d3),_0x11a3e8[_0x11a3e8['YUUMI_RATE_OVER_LIMIT']=0x2713]=_0x364fc7(0x278),_0x11a3e8[_0x11a3e8[_0x364fc7(0x2f5)]=0x2714]=_0x364fc7(0x2f5),_0x11a3e8[_0x11a3e8[_0x364fc7(0x29c)]=0x271a]=_0x364fc7(0x29c),_0x11a3e8[_0x11a3e8[_0x364fc7(0x20a)]=0x271b]=_0x364fc7(0x20a),_0x11a3e8[_0x11a3e8['YUUMI_TABLE_NOT_FOUND_IN_UNIT']=0x271c]=_0x364fc7(0x264),_0x11a3e8[_0x11a3e8[_0x364fc7(0x323)]=0x271d]=_0x364fc7(0x323),_0x11a3e8[_0x11a3e8[_0x364fc7(0x355)]=0x271e]='YUUMI_PROMPT_MAX_TOKENS_EXCEEDED',_0x11a3e8[_0x11a3e8[_0x364fc7(0x2bc)]=0x271f]='YUUMI_AI_RUN_FAILED',_0x11a3e8[_0x11a3e8[_0x364fc7(0x1be)]=0x2af9]=_0x364fc7(0x1be),_0x11a3e8[_0x11a3e8['INVITE_CODE_HAS_BEEN_UES']=0x2ee1]=_0x364fc7(0x1a9),_0x11a3e8[_0x11a3e8[_0x364fc7(0x392)]=0x2ee2]='INVALID_INVITE_CODE',_0x11a3e8[_0x11a3e8[_0x364fc7(0x397)]=0x2ee3]=_0x364fc7(0x397),_0x11a3e8[_0x11a3e8[_0x364fc7(0x31a)]=0x2ee4]=_0x364fc7(0x31a),_0x11a3e8[_0x11a3e8['INVITE_CODE_ALREADY_BOUND']=0x2ee5]=_0x364fc7(0x23b),_0x11a3e8[_0x11a3e8[_0x364fc7(0x1a2)]=0x32c9]=_0x364fc7(0x1a2),_0x11a3e8[_0x11a3e8[_0x364fc7(0x250)]=0x32ca]=_0x364fc7(0x250),_0x11a3e8[_0x11a3e8[_0x364fc7(0x292)]=0x32cb]=_0x364fc7(0x292),_0x11a3e8[_0x11a3e8[_0x364fc7(0x32f)]=-0x1]='UNRECOGNIZED',_0x11a3e8))(_0x397bcc||{}),_0x28efe7=Object[_0x364fc7(0x26c)],_0x4ea583=(_0x221456,_0x5c955b,_0x4b0504,_0x124e77)=>{const _0x11d96f=_0x364fc7;for(var _0x29155d=_0x124e77>0x1?void 0x0:_0x124e77?_0x28efe7(_0x5c955b,_0x4b0504):_0x5c955b,_0x51aaac=_0x221456[_0x11d96f(0x18f)]-0x1,_0x20430e;_0x51aaac>=0x0;_0x51aaac--)(_0x20430e=_0x221456[_0x51aaac])&&(_0x29155d=_0x20430e(_0x29155d)||_0x29155d);return _0x29155d;},_0x68bada=(_0x5ed424,_0x52e70f)=>(_0x20a483,_0x264c9e)=>_0x52e70f(_0x20a483,_0x264c9e,_0x5ed424);_0x4392a1[_0x364fc7(0x356)]=class extends _0x20df47['Disposable']{constructor(_0x14e79e,_0x3db351,_0x47acad){const _0x5b3417=_0x364fc7;super(),this[_0x5b3417(0x26b)]=_0x14e79e,this['_httpService']=_0x3db351,this[_0x5b3417(0x1b8)]=_0x47acad;}async['runOnServer'](_0x2a4cf1,_0x5b9f5e,_0x4150e8,..._0x2e9332){const _0x2e18e6=_0x364fc7;var _0x581bfd,_0x596122,_0x3643cf,_0x110993;const _0x225cc6=this[_0x2e18e6(0x26b)][_0x2e18e6(0x238)]();if(!_0x225cc6)throw new Error(_0x2e18e6(0x251));const _0x4234d7=((_0x581bfd=this[_0x2e18e6(0x1b8)][_0x2e18e6(0x162)](_0x3d42b8[_0x2e18e6(0x34e)]))!=null?_0x581bfd:_0x3d42b8['DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT'])+'/'+_0x2a4cf1+_0x2e18e6(0x221)+_0x5b9f5e,_0x48f034=new URL(window[_0x2e18e6(0x26f)][_0x2e18e6(0x218)]),_0x81b1cb={'scriptId':_0x2a4cf1,'runId':(_0x596122=_0x48f034['searchParams'][_0x2e18e6(0x19c)](_0x2e18e6(0x22c)))!=null?_0x596122:'','function':_0x5b9f5e,'unitId':_0x225cc6[_0x2e18e6(0x191)](),'argsOfFunction':JSON[_0x2e18e6(0x1de)](_0x2e9332),'invokeId':(_0x3643cf=_0x4150e8['invokeId'])!=null?_0x3643cf:'','executionId':(_0x110993=_0x4150e8[_0x2e18e6(0x2ed)])!=null?_0x110993:''};try{const _0x352867=await this['_httpService'][_0x2e18e6(0x354)](_0x4234d7,{'body':_0x81b1cb});return _0x352867[_0x2e18e6(0x396)][_0x2e18e6(0x1bb)]&&_0x352867[_0x2e18e6(0x396)][_0x2e18e6(0x1bb)][_0x2e18e6(0x30d)]!==_0x397bcc['OK']?_0x2e18e6(0x308):_0x352867['body'][_0x2e18e6(0x1fb)];}catch{return _0x2e18e6(0x308);}}},_0x4392a1[_0x364fc7(0x356)]=_0x4ea583([_0x68bada(0x0,_0x20df47[_0x364fc7(0x303)]),_0x68bada(0x1,_0x20df47[_0x364fc7(0x28b)](_0x230e9b[_0x364fc7(0x2ba)])),_0x68bada(0x2,_0x20df47['IConfigService'])],_0x4392a1[_0x364fc7(0x356)]),_0x4392a1['CollaborationStatusDisplay']=_0x22caef,_0x4392a1['IURLService']=_0x338227,_0x4392a1[_0x364fc7(0x23a)]=_0x24d54a,_0x4392a1['WebBrowserSingleActiveUnitService']=_0x458c06,_0x4392a1[_0x364fc7(0x19a)]=_0x3b85f7,Object['defineProperty'](_0x4392a1,Symbol['toStringTag'],{'value':'Module'});}));function _0x25e4(_0x44c667,_0xe9271d){const _0x225a7f=_0x225a();return _0x25e4=function(_0x25e407,_0x348d80){_0x25e407=_0x25e407-0x10a;let _0x3ff4fc=_0x225a7f[_0x25e407];return _0x3ff4fc;},_0x25e4(_0x44c667,_0xe9271d);}function _0x225a(){const _0x23ede6=['_colorAssignService','_configService','_scheduleClearOtherTimer','DocIMEInputManagerService','error','_hideTimer','collaboration.closeRoom','PY_RUNTIME_SCRIPT_ERROR','_transformService','collab-rect-range-','EffectRefRangId','_univerInstanceService','delete','_refRangeService','useObservable','MessageType','handleDeleteRangeMoveLeft','_handleHeartbeatEvent','useDependency','pluginName','collaboration-client.offline-data-not-saved','_registerDependencies','jsxs','_drawAnchor','SHEET_VIEWPORT_KEY','@univerjs/network','memberID','green.600','_collabSessionService','getStateCache','DOC_RANGE_TYPE','_toggleOnline','executeCommand','runRefRangeMutations','amd','debug','_notificationService','urlChange$','collabStatus.notCollab','stringify','CollaborationDataLoaderController','COLORS','requireSession','UniverCollaborationClientPlugin','jsx','_urlService','blue.400','subUnitId','ILocalCacheService','LOCAL_CACHE_INTERVAL_KEY','_initDependencies','TRANSFORM_CHANGE_OBSERVABLE_TYPE','_scheduleSaving','findNodePositionByCharIndex','10MgFlzJ','round','m1Prime','unsubscribe','has','getSkeleton','params','from','on-line-icon_clip0_910_349','some','WebSocketService','DocStateChangeManagerService','UniverSheets','COMPLETION_FINISHED','result','_cursorInfo$','call','getCollabCursors$','_docTransformSelectionsService','pushState','bottom','idSuffix','contains','mergeOverrideWithDependencies','univer-mr-2\x20univer-flex\x20univer-text-xl','UNAUTHENTICATED','selections','range','cursorInfo','YUUMI_ASYNCIO_CANCELLED','ITransformService','UniverEngineRender','disposeUnit','createElement','getOwnPropertySymbols','_onCursorUpdate','UniverProCollaborationClientUi','with','ticket','_removeClearOtherTimer','UniverDocs','none','toString','href','transform','UPDATE_CURSOR','resize','COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY','fillText','_id','addObject','unitId','/run/','toDisposable','INTERNAL_ERROR','popstate','endColumn','UniverCollaborationClientUIPlugin','...','removeParam','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','APPLY_REVISION_CONFILICT','isActive','runId','320hdzaXW','0\x200\x2017\x2016','unshift','_themeService','_collaborationController','sheetId','_collabCursorState$','univer-flex\x20univer-items-center','off-line-icon_clip0_910_343','ALREADY_EXISTS','isArray','getFocusedUnit','TEXT_RANGE_LAYER_INDEX','SheetCollabCursorShape','INVITE_CODE_ALREADY_BOUND','ACTIVE_UNIT_EVENT_CHANNEL','IRenderManagerService','_localStorageService','createIdentifier','NodePositionConvertToCursor','distinctUntilChanged','NOT_FOUND','min','_messageService','getOffsetConfig','YUUMI_UNABLE_LOAD_URL','DocSelectionManagerService','all','_saveCache','forEach','_imageIoService','getColor','_document','off-line-icon','getUnitStatus$','MOBILE_HAS_BEEN_BOUND','[RemoteUniscriptService]:\x20no\x20focused\x20unit','_getAnchorBounding','collabStatus.synced','UniverProCollaborationClient','clsx','@univerjs/docs-ui','SheetSkeletonManagerService','mutations','setUndoRedoMutationParamsCache','NO_OTHER_CLIENTS_EDITING','setItem','icon','unitID','onPointerEnter$','M0\x200H16V16H0z','collaboration.single-unit.warning','_context','status$','map','YUUMI_TABLE_NOT_FOUND_IN_UNIT','@univerjs/ui','_initResize','moveTo','_setupBeforeClosingHandler','@univerjs-pro/collaboration','debounceTime','_instanceService','getOwnPropertyDescriptor','backgroundColor','combineLatest','location','univer-text-sm\x20univer-leading-8\x20univer-text-gray-600\x20dark:!univer-text-gray-200','isTransformMutationFailure','mask','max','then','colorChannel1','subscribe','data','YUUMI_RATE_OVER_LIMIT','TEXT','top','type','_initStatusListener','tag','symbol','_initEvent','getRangePointData','currentTheme$','_startDocCollabCursor','deserializeRangeWithSheet','fromEvent','_color','assignAColorForMemberID','name','APPLY_NON_SEQUENTIAL_REVISION','UniverEngineFormula','undoState','Inject','isEditing','getMember','RegularPolygon','getSheetBySheetId','LOGIN_FAILED','className','EMAIL_HAS_BEEN_BOUND','handleInsertRangeMoveRight','storage','_range','_refreshCollabCursors','split','IConfigService','USERS_LEAVE','CONNECTOR_DATA_TOO_LARGE','disableLocalCache','YUUMI_NO_CUBOID_FOR_QUESTION','filter','reconnect','asObservable','values','_docTransformIMECacheService','collab-text-anchor-','fillStyle','sheetID','_localeService','@univerjs/engine-render','_labelPosition','origin','IUIPartsService','parse','SetDocZoomRatioOperation','_httpService','takeUntil','_shapes','unit','_heartbeatTimer','SessionStatus','complete','indexOf','CollaborationController','SetTextSelectionsOperation','_handleHover','3205RLISvK','defs','ILocalStorageService','HTTPService','UniverSheetsUi','YUUMI_AI_RUN_FAILED','_getMergeRange','SUBMIT_CHANGESET_TIMEOUT','registerRefRange','getUndoRedoMutationParamsCache','saveTaskMap','_onRefRangeChange','FromArray','subscribeEvent','textRanges','collabStatus.fetchMiss','width','getValue','@univerjs-pro/collaboration-client','_docSkeletonManagerService','_memberService','getActiveSheet','_draw','Error','setActiveRange','deepClone','toRgbString','addEventListener','YUUMI_URL_COL_OUT_OF_RANGE','_saveTaskMap','@univerjs/sheets','UNIVER_DOC','Unknown\x20user','triggerDblclick','_cursors','_logService','hasOwnProperty','FETCH_MISS','UniverDesign','CollaborationStatus','BrowserCollaborationSocketService','No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','svg','size','DocCollaborationEntity','attrs','trim','replace','serializeRangeWithSheet','_removeCollabCursors','_online','xlink:href','_toggleOffline','_transformPreviousActiveRange','executionId','_cursor','DocSkeletonManagerService','currentSkeleton$','cursorInfo$','onTransformChange$','permission.title','UNDEFINED','YUUMI_SUBSCRIPTION_NOT_FOUND','transformIMECache','override','actions','LICENSE_MAX_UNITS_EXCEEDED','InsertColCommandId','labelPosition','RemoveRowCommandId','exhaustSavingTask','translate(.97)','find','loadUnit','PERMISSION_DENIED','prototype','IUniverInstanceService','debounce','handleIRemoveCol','ONLINE','getAncestorScale','Failed','handleMoveRange','Vector2','createSocket','generateRandomId','code','object','getCollabEntity$','_getSaveTimeout','handleDeleteRangeMoveUp','collab-text-range-','init','getDocRanges','LOCAL_CACHE_INTERVAL','_updateURLWithCurrentState','MemberService','VIEW_MAIN','0\x200\x2016\x2016','USER_NOT_INVITED_CODE','lineTo','whenReady','PENDING','arc','makeDirty','closePath','ISocketService','MoveRangeCommandId','YUUMI_ALL_TABLES_IS_INVALID','OnLineIcon','_disabled','UniverDocsUi','_initStatusComponent','replaceState','CONFLICT','_updateCollabCursors','_sheetSkeletonManagerService','send','[CollaborationDataLoaderController]','UNIVER_SHEET','UNRECOGNIZED','_unitOnClients','getRenderById','@univerjs/sheets-ui','next','_hover','UnitStatus','string','history','drawWith','IBeforeCloseService','_updateLocalCursor','3799776icxbnT','getSheetId','_transformUndoRedoStack','getLocalCacheKey','onCommandExecuted','concat','IRemoteInstanceService','ILogService','div','InsertRangeMoveRightCommandId','OFFLINE','_syncEditingCollabCursorService','Disposable','rxjs/operators','_updateSubUnitFromURLParams','AWAITING','_assignedColors','24IGSlvk','getCurrentRevOfUnit','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY','_unitStatus','wsSessionTicketUrl','collabStatus.conflict','roomMembers$','ICommandService','post','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','RemoteUniscriptService','6303407ZqLlvR','3924ZSxJui','uni.network.url-service','_registerRenderDependencies','hide','UniverNetwork','1em','_entityInit$','use','setShapeProps','IImageIoService','clipPath','disposeWithMe','setInterval','dispose$','_getSessionTicket','LICENSE_DISTRO_REJECTED','transformStateCache','_createSocketURL','INotificationService','getCurrent','handleInsertCol','font','RxDisposable','onLocalMutation','add','_setupSubUnitSync','collabStatus.syncing','_docTransformStateCacheService','BehaviorSubject','_doCreateSocket','clearInterval','getColorFromTheme','Rectangle','measureText','registerComponent','getMemberID','React','_lastPointer','exports','Tooltip','_collabCursorController','transformSelections','3983896rZxiGM','CollaborationSessionService','_colorIndex','search','UniverInstanceType','onPointerLeave$','_name','setParam','_clearOtherTimers','_config','CollaborationSocketService','Subject','defIds','_entities','CollaborationUIEventId','_drawRectRange','INVALID_INVITE_CODE','APPLY_DUPLICATED','set','clearTimeout','body','INVITE_CODE_REQUIRED','onPointerMove$','SNAPSHOT_HAS_BEEN_REMOVED','bold\x2013px\x20Source\x20Han\x20Sans\x20CN','touchDependencies','_cachedData','UniverRpc','restore','@univerjs/drawing','roomMembers','Shape','rxjs','startRow','DesktopCollaborationStatusDisplayController','registerBeforeClose','SetWorksheetActivateCommand','http://www.w3.org/2000/svg','_renderManagerService','substring','onStarting','loadOfflineData','getParam','setStateCache','Injector','@univerjs/core','eventID','_roomMembers$','_onCursorDelete','red.300','@univerjs/design','jiqing.500','ThemeService','column','createInstance','newValue','session.will-retry','LICENSE_IMPORT_SIZE_EXCEEDED','show','_handleEvent','permission.content','forwardRef','LICENSE_EXPORT_SIZE_EXCEEDED','fill','_ensureSubject','APPLY_REJECT','206370fxBecB','connectInjector','m2Prime','evenodd','pipe','UniverIcon','engine','current','ColorKit','dispose','extend','_transformHistoryAndStateStack','SNAPSHOT_INVALID_SNAPSHOT','docStateChange$','CLOSE_ROOM','#FFF','merge','transformByState','transformRemoteChangeset','_startSheetCollabCursor','includes','Optional','shareReplay','_uiPartsService','_selfUnitIDs','InsertRangeMoveDownCommandId','SheetsSelectionsService','_initCommandExecutedListener','MUTATION','_anchor','NOT_COLLAB','mapTo','redoState','registerDependencies','searchParams','univerjs-icon\x20univerjs-icon-','RECT','beginPath','CHANGESET_REVISION_CONFILICT','_docSyncEditingCollabCursorService','_handleJoinEvent','_session','_collaborationUIEventService','path','getConfig','transformMutationsWithChangeset','_getSheetObject','isTransformMutationsWithChangesetSuccess','_drawTextRange','onMouseMove','syncEditingCollabCursor','_eventUnsubscribe','CollaborationEvent','_scene','apply','Rect','_docClipboardService','displayName','white','Warning','setConfig','text','getTypeOfUnitDisposed$','collabStatus.offline','_send','_handleLeaveEvent','_scheduleHeartbeat','activeSheet$','transformMutation','BuiltInUIPart','Workbook','url(#$1','IDocClipboardService','_docStateChangeManagerService','react','NodePositionConvertToRectRange','LocaleService','_anchorDot','_init','_revisionService','black','switchMap','children','subunit','sessionStatus$','ENSURE_SNAPSHOT_EXECUTION','_backgroundColor','event$','_render','length','_status$','getUnitId','757128UKWgND','registerRenderModule','url(#on-line-icon_clip0_910_349)','handleIRemoveRow','DisposableCollection','_commandService','APPLY_PERMISSION_DENIED','purple.300','WebURLService','Tools','get','RevisionService','_textBubble','selection','_hovered','fillRule','WECHAT_HAS_BEEN_BOUND','_cursorShapes','color','push','setAlpha','No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.','row','INVITE_CODE_HAS_BEEN_UES','useRef','_beforeCloseService','updateOfflineData','DataLoaderService','save','getCurrentSelections','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','doc.mutation.rich-text-editing','_injector','16496ColPsm','editingUnit','setTimeout','operators'];_0x225a=function(){return _0x23ede6;};return _0x225a();}
|
|
1
|
+
function _0x424a(_0x1f78c4,_0x44a558){const _0x81fed0=_0x81fe();return _0x424a=function(_0x424aa0,_0x3ee15a){_0x424aa0=_0x424aa0-0x121;let _0xc0ee4=_0x81fed0[_0x424aa0];return _0xc0ee4;},_0x424a(_0x1f78c4,_0x44a558);}function _0x81fe(){const _0x4e9292=['_docStateChangeManagerService','className','_docSkeleton','UniverSheets','red.300','labelPosition','CONNECTOR_DATA_TOO_LARGE','init','_memberService','wsSessionTicketUrl','blue.400','_scheduleHeartbeat','LOGIN_FAILED','trim','SNAPSHOT_HAS_BEEN_REMOVED','NOT_COLLAB','addHandlerCallback','_colorIndex','DEFAULT_WS_SESSION_TICKET_URL','No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.','[CollaborationDataLoaderController]','_initResize','CollaborationEvent','debounce','onPointerEnter$','getOwnPropertyDescriptor','origin','DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','BehaviorSubject','selection','registerRenderModule','column','idSuffix','defineProperty','_scheduleSaving','_updateCollabCursors','Error','_refreshCollabCursors','getRangePointData','saveOfflineData','CollaborationStatus','APPLY_DUPLICATED','jsxs','APPLY_REVISION_CONFILICT','_send','touchDependencies','ticket','children','PY_RUNTIME_SCRIPT_ERROR','LICENSE_IMPORT_SIZE_EXCEEDED','isEditing','enableLocalCache','hovered','save','_cursorInfo$','assign','event$','UniverUi','SHEET_VIEWPORT_KEY','UnitStatus','purple.300','_transformPreviousActiveRange','getStateCache','createElement','transformIMECache','getFocusedUnit','9717884ACRNCK','NOT_FOUND','_unitOnClients','OffLineIcon','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY','InsertRangeMoveDownCommandId','_draw','takeUntil','_logService','Failed','_doCreateSocket','addObjects','_ensureSubject','No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','unsubscribe','ISocketService','_docTransformSelectionsService','BuiltInUIPart','session.will-retry','getUnitId','apply','font','getMember','DocStateChangeManagerService','getParam','symbol','CommandType','on-line-icon_clip0_910_349','fromEventSubject','session.connection-failed','RichTextEditingMutation','univerjs-icon\x20univerjs-icon-','_lastPointer','getActiveSheet','onCommandExecuted','toRgbString','getItem','RECT','merge','Injector','LICENSE_EXPORT_SIZE_EXCEEDED','UniverNetwork','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','green.600','disposeWithMe','COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY','HEADER_MENU','toStringTag','IImageIoService','forwardRef','getSheetObject','DocIMEInputManagerService','startRow','saveTaskMap','_hideTimer','amd','_cachedData','exhaustSavingTask','RegularPolygon','_onCursorDelete','onPointerMove$','status$','_eventUnsubscribe','CollaborationUIEventId','_handleLeaveEvent','useObservable','_color','AWAITING_WITH_PENDING','_assignedColors','_localStorageService','react/jsx-runtime','WECHAT_HAS_BEEN_BOUND','unitId','getMemberID','_messageService','Inject','_saveTaskMap','USER_NOT_INVITED_CODE','UNIVER_SHEET','YUUMI_SUBSCRIPTION_NOT_FOUND','_collaborationUIEventService','RxDisposable','m1Prime','parse','invokeId','runRefRangeMutations','_disabled','_startSheetCollabCursor','findNodePositionByCharIndex','YUUMI_ALL_TABLES_IS_INVALID','univer-mr-2\x20univer-flex\x20univer-text-xl','_revisionService','some','_unitStatus','call','url(#on-line-icon_clip0_910_349)','ColorKit','editingUnit','UniverEngineFormula','_transformUndoRedoStack','_removeClearOtherTimer','ISnapshotServerService','reconnect','_docTransformStateCacheService','registerRefRange','color','ILocalStorageService','SetSelectionsOperation','getDocRanges','getUndoRedoMutationParamsCache','transformMutation','_render','getSheetBySheetId','DesktopCollaborationStatusDisplayController','COLORS','_collabCursorController','lineTo','YUUMI_RATE_OVER_LIMIT','unshift','_getSheetObject','isActive','MOBILE_HAS_BEEN_BOUND','function','onPointerLeave$','_docTransformIMECacheService','_hovered','SheetCollabCursorShape','_docSyncEditingCollabCursorService','complete','_cursorShapes','_initEntityListener','range','getRenderById','UNIVER_DOC','_localCacheService','assignAColorForMemberID','clearTimeout','override','UNAUTHENTICATED','_renderManagerService','1em','@univerjs/ui','cursorInfo','_setupSubUnitSync','error','all','roomMembers','div','IBeforeCloseService','_shapes','USERS_LEAVE','popstate','values','_startDocCollabCursor','endColumn','name','Vector2','textRanges','loadUnit','[RemoteUniscriptService]:\x20no\x20focused\x20unit','colorChannel1','INVALID_ARGUMENT','show','measureText','YUUMI_AI_RUN_FAILED','@univerjs/rpc','currentTheme$','dispose$','Shape','DocCollaborationEntity','APPLY_REJECT','jsx','black','getCurrentUnitForType','none','type','_registerDependencies','_scheduleClearOtherTimer','endRow','then','text','fromEvent','indexOf','_drawTextRange','searchParams','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','registerBeforeClose','_status$','SOCKET_FAILED','UNDEFINED','hasOwnProperty','ICommandService','fillText','svg','Workbook','concat','Rectangle','pipe','_onCursorUpdate','createSocket','handleMoveRange','_toggleOffline','registerDependencies','top','getOffsetConfig','_anchor','OTHER_CLIENT_EDITING','Disposable','collabCursorState$','createInstance','FETCH_MISS','LOCAL_CACHE_INTERVAL_KEY','subscribe','has','permission.title','DocSelectionManagerService','collabStatus.syncing','find','_handleEvent','_toggleOnline','min','switchMap','operators','mapTo','getCollabEntity$','_syncEditingCollabCursorService','handleIRemoveCol','DataLoaderService','next','Unknown\x20user','UniverCore','getAncestorScale','url(#off-line-icon_clip0_910_343)','IUniverInstanceService','InsertRangeMoveRightCommandId','setTimeout','CollaborationSessionService','addEventListener','flatMap','focused$','INVITE_CODE_ALREADY_BOUND','path','collabStatus.fetchMiss','off-line-icon','collab-client.tooltip.reconnect','@univerjs-pro/collaboration','IRemoteInstanceService','INotificationService','_range','SNAPSHOT_INVALID_SNAPSHOT','SheetsSelectionsService','useDependency','CollaborationUIEventService','RemoteUniscriptService','dispose','entries','9cBSTBa','_cursors','WebSocketService','_anchorDot','_urlService','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','handleIRemoveRow','from','@univerjs/network','Tools','_transformService','permission.content','getCurrentRevOfUnit','UNIVER_COLLABORATION_CLIENT_WEB_PLUGIN','setShapeProps','executeCommand','LICENSE_MAX_UNITS_EXCEEDED','_textBubble','UniverProCollaborationClient','AWAITING','asObservable','use','getActiveRange','_httpService','YUUMI_ASYNCIO_CANCELLED','_clearOtherTimers','getColorFromTheme','distinctUntilChanged','_config','...','toString','combineLatest','deserializeRangeWithSheet','setConfig','xlink:href','WebURLService','shareReplay','ACTIVE_UNIT_EVENT_CHANNEL','bottom','_getAnchorBounding','IURLService','setItem','onRendered','setActiveRange','whenReady','CollaborationDataLoaderController','height','useRef','_registerRenderDependencies','@univerjs-pro/collaboration-client','push','icon','MoveRangeCommandId','registerComponent','getValue','#FFF','code','SUBMIT_CHANGESET_TIMEOUT','size','generateRandomId','displayName','getSkeleton','_initEvent','Warning','location','string','DisposableCollection','_selfUnitIDs','http://www.w3.org/2000/svg','eventID','SetWorksheetActivateCommand','handleInsertRangeMoveDown','mask','random','Rect','rxjs','subunit','connectInjector','Optional','SessionStatus','_collabSessionService','setUndoRedoMutationParamsCache','UniverSheetsUi','contains','ALREADY_EXISTS','transformSelections','drawWith','_onRefRangeChange','setInterval','pluginName','VIEW_MAIN','YUUMI_NO_CUBOID_FOR_QUESTION','OFFLINE','IRenderManagerService','@univerjs/design','collaboration.single-unit.warning','collab-rect-range-','_context','getRelativeToViewportCoord','currentColor','ThemeService','IUIPartsService','collabStatus.conflict','closePath','_notificationService','body','arc','transformRemoteChangeset','IDocClipboardService','_configService','redoState','prototype','_getMergeRange','JOIN_ROOM_FAILED','DOC_RANGE_TYPE','IMessageService','rgba(255,\x20255,\x20255,\x200.01)','_handleHover','react','send','unitID','unload','sheetId','_session','COMPLETION_FINISHED','object','forEach','INVITE_CODE_REQUIRED','getLocalCacheKey','INTERNAL_ERROR','onMouseMove','ranges','12OFpiKB','undoState','_roomMembers$','fill','isArray','@univerjs/core','handleInsertRangeMoveRight','_getScale','getTypeOfUnitAdded$','newValue','_hover','href','_commandService','18jUVGvt','univer-text-sm\x20univer-leading-8\x20univer-text-gray-600\x20dark:!univer-text-gray-200','unit','LICENSE_DISTRO_REJECTED','key','FromArray','_backgroundColor','width','UPDATE_CURSOR','serializeRangeWithSheet','roomMembers$','MessageType','syncEditingCollabCursor','stringify','_drawRectRange','currentSkeleton$','map','removeParam','subscribeEvent','debounceTime','mergeOverrideWithDependencies','isTransformMutationFailure','requireSession','result','@univerjs/drawing','onStarting','OnLineIcon','ITransformService','_transformHistoryAndStateStack','evenodd','UNRECOGNIZED','@univerjs/engine-render','length','_refRangeService','sessionStatus$','transform','replaceState','restore','_labelPosition','fillStyle','_entities','CHANGESET_REVISION_CONFILICT','moveTo','_name','TRANSFORM_CHANGE_OBSERVABLE_TYPE','MUTATION','getCollabCursors$','collabStatus.notCollab','engine','sessionTicket','current','INVALID_INVITE_CODE','/run/','APPLY_NON_SEQUENTIAL_REVISION','NodePositionConvertToRectRange','beginPath','@univerjs/sheets','max','_init','actions','ILogService','setAlpha','_dataLoaderService','subUnitId','getTypeOfUnitDisposed$','collab-text-anchor-','filter','_themeService','_collaborationController','set','26FKzlGp','bold\x2013px\x20Source\x20Han\x20Sans\x20CN','988332ObpSpI','_removeCollabCursors','171474eQqNBB','_setupBeforeClosingHandler','_updateSubUnitFromURLParams','pushState','NodePositionConvertToCursor','deepClone','3463420EOqqlW','sheetID','_handleJoinEvent','_entityInit$','MemberService','@univerjs/docs-ui','_getSessionTicket','setParam','UniverIcon','ENSURE_SNAPSHOT_EXECUTION','ILocalCacheService','LOCAL_CACHE_INTERVAL','_beforeCloseService','m2Prime','attrs','_uiPartsService','hide','_injector','@univerjs/engine-formula','updateOfflineData','Subject','makeDirty','_heartbeatTimer','83850QXsAjm','tag','addObject','loadOfflineData','_id','transformStateCache','0\x200\x2016\x2016','url(#$1','_localeService','throttleTime','ONLINE','UniverInstanceType','CLOSE_ROOM','_collabCursorState$','params','search','data','LocaleService','activeSheet$','DocSkeletonManagerService','translate(.97)','@univerjs/docs','_docClipboardService','Module','_initStatusListener','_colorAssignService','React','clearInterval','_cursor','PENDING','getColor','EffectRefRangId','startColumn','defIds','getConfig','transformMutationsWithChangeset','white','CollaborationController','handleInsertCol','HTTPService','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','clipPath','UniverDocsUi','mutations','SetTextSelectionsOperation','14jajQsq','UniverCollaborationClientUIPlugin','EMAIL_HAS_BEEN_BOUND','UniverRpc','RefRangeService','_sheetSkeletonManagerService','_createSocketURL','collaboration.closeRoom','storage','getSheetId','delete','getOwnPropertySymbols','doc.mutation.rich-text-editing','replace','get','collabStatus.synced','_handleHeartbeatEvent','onLocalMutation','_initStatusComponent','PERMISSION_DENIED','_updateLocalCursor','row','INVITE_CODE_HAS_BEEN_UES','isTransformMutationsWithChangesetSuccess','session.collaboration-timeout','_saveCache','IConfigService','CollaborationStatusDisplay','UniverDrawing','DeleteRangeMoveUpCommandId','urlChange$','YUUMI_URL_COL_OUT_OF_RANGE','RemoveRowCommandId','getCoordByCell','M0\x200H16V16H0z','NO_OTHER_CLIENTS_EDITING','rxjs/operators','runId','_online','5399312kwWrTx','getUnitStatus$','add','_docSkeletonManagerService','43726TGHiyq','TOO_MANY_REQUESTS','with','_scene','TEXT_RANGE_LAYER_INDEX','history','CONFLICT','extend','includes','defs','cursorInfo$','jiqing.500','_univerInstanceService','replaceDocRanges','BrowserCollaborationSocketService','toDisposable'];_0x81fe=function(){return _0x4e9292;};return _0x81fe();}(function(_0x3ee025,_0x33a841){const _0x3cd7c2=_0x424a,_0x17c090=_0x3ee025();while(!![]){try{const _0x4c6b8d=-parseInt(_0x3cd7c2(0x2bc))/0x1*(-parseInt(_0x3cd7c2(0x243))/0x2)+parseInt(_0x3cd7c2(0x16c))/0x3*(parseInt(_0x3cd7c2(0x245))/0x4)+-parseInt(_0x3cd7c2(0x24d))/0x5+-parseInt(_0x3cd7c2(0x247))/0x6*(-parseInt(_0x3cd7c2(0x291))/0x7)+parseInt(_0x3cd7c2(0x2b8))/0x8+-parseInt(_0x3cd7c2(0x1fd))/0x9*(parseInt(_0x3cd7c2(0x264))/0xa)+parseInt(_0x3cd7c2(0x30e))/0xb*(-parseInt(_0x3cd7c2(0x1f0))/0xc);if(_0x4c6b8d===_0x33a841)break;else _0x17c090['push'](_0x17c090['shift']());}catch(_0x248749){_0x17c090['push'](_0x17c090['shift']());}}}(_0x81fe,0x6d95d),function(_0x22daa7,_0x3ba311){const _0x3796ac=_0x424a;typeof exports==_0x3796ac(0x1e9)&&typeof module<'u'?_0x3ba311(exports,require(_0x3796ac(0x19d)),require(_0x3796ac(0x1f5)),require(_0x3796ac(0x21c)),require(_0x3796ac(0x174)),require(_0x3796ac(0x252)),require(_0x3796ac(0x215)),require('rxjs'),require(_0x3796ac(0x279)),require(_0x3796ac(0x161)),require(_0x3796ac(0x25f)),require(_0x3796ac(0x235)),require(_0x3796ac(0x2b5)),require('@univerjs/sheets-ui'),require(_0x3796ac(0x354)),require(_0x3796ac(0x39b)),require(_0x3796ac(0x1ca)),require(_0x3796ac(0x1e2)),require(_0x3796ac(0x3b3))):typeof define==_0x3796ac(0x388)&&define[_0x3796ac(0x345)]?define(['exports','@univerjs-pro/collaboration-client',_0x3796ac(0x1f5),_0x3796ac(0x21c),_0x3796ac(0x174),_0x3796ac(0x252),_0x3796ac(0x215),_0x3796ac(0x1b7),_0x3796ac(0x279),'@univerjs-pro/collaboration',_0x3796ac(0x25f),_0x3796ac(0x235),_0x3796ac(0x2b5),'@univerjs/sheets-ui','react/jsx-runtime',_0x3796ac(0x39b),_0x3796ac(0x1ca),_0x3796ac(0x1e2),_0x3796ac(0x3b3)],_0x3ba311):(_0x22daa7=typeof globalThis<'u'?globalThis:_0x22daa7||self,_0x3ba311(_0x22daa7['UniverProCollaborationClientUi']={},_0x22daa7[_0x3796ac(0x17e)],_0x22daa7[_0x3796ac(0x152)],_0x22daa7['UniverEngineRender'],_0x22daa7[_0x3796ac(0x337)],_0x22daa7[_0x3796ac(0x28e)],_0x22daa7[_0x3796ac(0x2ad)],_0x22daa7[_0x3796ac(0x1b7)],_0x22daa7['UniverDocs'],_0x22daa7['UniverProCollaboration'],_0x22daa7[_0x3796ac(0x370)],_0x22daa7[_0x3796ac(0x2cf)],_0x22daa7[_0x3796ac(0x1b7)][_0x3796ac(0x14a)],_0x22daa7[_0x3796ac(0x1be)],_0x22daa7[_0x3796ac(0x27e)],_0x22daa7[_0x3796ac(0x305)],_0x22daa7['UniverDesign'],_0x22daa7[_0x3796ac(0x27e)],_0x22daa7[_0x3796ac(0x294)]));}(this,function(_0x57e2df,_0x19b52f,_0x333829,_0x1e4d9a,_0x498070,_0x5cd28b,_0x3e2c6c,_0x21dbc8,_0x3cc684,_0x2efac4,_0x3186be,_0x36f408,_0x74988e,_0x76017c,_0x155526,_0x47db79,_0xffead9,_0x57419d,_0x2f33ce){'use strict';const _0x52fe9a=_0x424a;var _0x23bb70=Object[_0x52fe9a(0x2ed)],_0x445169=(_0xf00fb1,_0x539043,_0x16dea3)=>_0x539043 in _0xf00fb1?_0x23bb70(_0xf00fb1,_0x539043,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x16dea3}):_0xf00fb1[_0x539043]=_0x16dea3,_0x4e27f7=(_0x3b4a42,_0x12f5bd,_0x324f39)=>_0x445169(_0x3b4a42,typeof _0x12f5bd!=_0x52fe9a(0x327)?_0x12f5bd+'':_0x12f5bd,_0x324f39),_0x158c2b=Object['getOwnPropertyDescriptor'],_0x500a39=(_0x1fbbab,_0x42cfa2,_0x443584,_0x47f8c8)=>{for(var _0x3731f8=_0x47f8c8>0x1?void 0x0:_0x47f8c8?_0x158c2b(_0x42cfa2,_0x443584):_0x42cfa2,_0x952ac0=_0x1fbbab['length']-0x1,_0x3c4e97;_0x952ac0>=0x0;_0x952ac0--)(_0x3c4e97=_0x1fbbab[_0x952ac0])&&(_0x3731f8=_0x3c4e97(_0x3731f8)||_0x3731f8);return _0x3731f8;},_0x4b8cc5=(_0x1bff8c,_0x47e8e0)=>(_0x516a12,_0x1f2994)=>_0x47e8e0(_0x516a12,_0x1f2994,_0x1bff8c);let _0x291a06=class extends _0x333829['RxDisposable']{constructor(_0x1e8b3d,_0x588215){const _0x215f14=_0x52fe9a;super(),this[_0x215f14(0x27a)]=_0x1e8b3d,this['_imageIoService']=_0x588215,this[_0x215f14(0x237)]();}[_0x52fe9a(0x237)](){const _0x33e0b6=this;this['disposeWithMe'](this['_docClipboardService']['addClipboardHook']({'onBeforePasteImage':async _0x2f3802=>{const _0x3f67b5=await _0x33e0b6['_imageIoService']['saveImage'](_0x2f3802);return _0x3f67b5?{'source':_0x3f67b5['source'],'imageSourceType':_0x3f67b5['imageSourceType']}:null;}}));}};_0x291a06=_0x500a39([_0x4b8cc5(0x0,_0x5cd28b[_0x52fe9a(0x1d8)]),_0x4b8cc5(0x1,_0x3e2c6c[_0x52fe9a(0x33e)])],_0x291a06);const _0x30b9d4=[_0x52fe9a(0x308),_0x52fe9a(0x2c7),_0x52fe9a(0x339),_0x52fe9a(0x2d0),_0x52fe9a(0x2d6),'yellow.400'];class _0x35591e extends _0x333829['Disposable']{constructor(){const _0x463423=_0x52fe9a;super(...arguments),_0x4e27f7(this,_0x463423(0x352),new Map()),_0x4e27f7(this,_0x463423(0x2dd),0x0);}[_0x52fe9a(0x395)](_0x535c82){const _0x230f82=_0x52fe9a;if(this['_assignedColors'][_0x230f82(0x141)](_0x535c82))return this[_0x230f82(0x352)]['get'](_0x535c82);const _0x2511fd=_0x30b9d4[this[_0x230f82(0x2dd)]];return this[_0x230f82(0x2dd)]=(this[_0x230f82(0x2dd)]+0x1)%_0x30b9d4['length'],this[_0x230f82(0x352)][_0x230f82(0x242)](_0x535c82,_0x2511fd),_0x2511fd;}}function _0x3d8609(_0x32fa9){const _0x50a4b2=_0x52fe9a;let _0x2b2540='';for(const _0x39fd72 of _0x32fa9){const {startOffset:_0x44a327,endOffset:_0x450311,isActive:_0x37528f,rangeType:_0x26a0f3,segmentId:_0xef42cc,segmentPage:_0x26a596}=_0x39fd72;_0x2b2540[_0x50a4b2(0x21d)]&&(_0x2b2540+=','),_0x2b2540+=_0x44a327+':'+_0x450311+':'+(_0x37528f?'1':'0')+':'+_0x26a0f3+':'+_0xef42cc+':'+_0x26a596;}return _0x2b2540;}function _0x487fad(_0x272cee){const _0x1e64da=_0x52fe9a,_0x12f8e1=_0x272cee['split'](','),_0x595c44=[];for(const _0x8c12ed of _0x12f8e1){const [_0x3edd9a,_0x5c2394,_0x5da62e,_0x428268,_0x31bc92,_0x4c6bc9]=_0x8c12ed['split'](':');_0x595c44['push']({'startOffset':Number(_0x3edd9a),'endOffset':Number(_0x5c2394),'collapsed':_0x3edd9a===_0x5c2394,'isActive':_0x5da62e==='1','rangeType':_0x428268===_0x333829[_0x1e64da(0x1de)]['TEXT']?_0x333829[_0x1e64da(0x1de)]['TEXT']:_0x333829['DOC_RANGE_TYPE'][_0x1e64da(0x333)],'segmentId':typeof _0x31bc92=='string'?String(_0x31bc92):'','segmentPage':Number(_0x4c6bc9!=null?_0x4c6bc9:-0x1)});}return _0x595c44[_0x1e64da(0x36a)](_0x3d545e=>_0x3d545e[_0x1e64da(0x386)])||(_0x595c44[0x0]['isActive']=!0x0),_0x595c44;}class _0x23fd98 extends _0x333829[_0x52fe9a(0x35f)]{constructor(){const _0xb2896e=_0x52fe9a;super(...arguments),_0x4e27f7(this,_0xb2896e(0x271),new _0x21dbc8[(_0xb2896e(0x2e8))](null)),_0x4e27f7(this,_0xb2896e(0x13c),this[_0xb2896e(0x271)][_0xb2896e(0x180)]());}[_0x52fe9a(0x209)](_0x327f3d){const _0x43feab=_0x52fe9a,{unitID:_0x21a5a6,memberID:_0x18260c,textRanges:_0x4658eb}=_0x327f3d,_0x2f4c7f=_0x3d8609(_0x4658eb);if(_0x2f4c7f==='')return;const _0x5438cf={'unitID':_0x21a5a6,'memberID':_0x18260c,'selection':_0x2f4c7f};this['_collabCursorState$'][_0x43feab(0x150)](_0x5438cf);}}var _0x341213=Object['getOwnPropertyDescriptor'],_0x49afd7=(_0x29df42,_0x11f242,_0x5c3f26,_0x3569cf)=>{const _0x554306=_0x52fe9a;for(var _0x566e92=_0x3569cf>0x1?void 0x0:_0x3569cf?_0x341213(_0x11f242,_0x5c3f26):_0x11f242,_0x2d3891=_0x29df42[_0x554306(0x21d)]-0x1,_0x5be380;_0x2d3891>=0x0;_0x2d3891--)(_0x5be380=_0x29df42[_0x2d3891])&&(_0x566e92=_0x5be380(_0x566e92)||_0x566e92);return _0x566e92;},_0x5213ed=(_0x55ab48,_0x427062)=>(_0x5a01cf,_0x52cac)=>_0x427062(_0x5a01cf,_0x52cac,_0x55ab48);const _0x49f87e=0x12c,_0x182bcb=0x64;let _0x130737=class extends _0x333829[_0x52fe9a(0x35f)]{constructor(_0x521d53,_0x46f02a,_0x105dc4,_0x410a93,_0x204dd6,_0x23f718,_0x26d5a3,_0xb0456,_0x41b8c9){const _0x19ef68=_0x52fe9a;super(),_0x4e27f7(this,_0x19ef68(0x2b7),!0x1),_0x4e27f7(this,_0x19ef68(0x237),!0x1),_0x4e27f7(this,_0x19ef68(0x302),new _0x21dbc8['BehaviorSubject'](new Map())),_0x4e27f7(this,_0x19ef68(0x2c6),this[_0x19ef68(0x302)][_0x19ef68(0x180)]()),_0x4e27f7(this,_0x19ef68(0x1f2),new _0x21dbc8['BehaviorSubject']([])),_0x4e27f7(this,_0x19ef68(0x207),this[_0x19ef68(0x1f2)][_0x19ef68(0x131)](_0x21dbc8[_0x19ef68(0x210)](_0x49f87e))),_0x4e27f7(this,'_updateLocalCursor',_0x333829[_0x19ef68(0x2e3)](_0x236949=>{const _0x98ad00=_0x19ef68,_0x467398={'eventID':_0x2efac4['CollaborationEvent']['UPDATE_CURSOR'],'data':{'unitID':this[_0x98ad00(0x1e4)],'memberID':this['_session'][_0x98ad00(0x357)](),'selection':_0x3d8609(_0x236949)}};this[_0x98ad00(0x1e7)][_0x98ad00(0x1e3)](_0x467398,this[_0x98ad00(0x1e4)]);},_0x182bcb)),(this['unitID']=_0x521d53,this[_0x19ef68(0x1e7)]=_0x46f02a,this[_0x19ef68(0x25e)]=_0x105dc4,this[_0x19ef68(0x27d)]=_0x410a93,this['_memberService']=_0x204dd6,this[_0x19ef68(0x14d)]=_0x23f718,this[_0x19ef68(0x176)]=_0x26d5a3,this[_0x19ef68(0x2c8)]=_0xb0456,this[_0x19ef68(0x1fc)]=_0x41b8c9);}get[_0x52fe9a(0x39c)](){const _0x14cc26=_0x52fe9a;return this[_0x14cc26(0x302)]['getValue']();}get[_0x52fe9a(0x3a0)](){const _0x1234d6=_0x52fe9a;return this[_0x1234d6(0x1f2)][_0x1234d6(0x1a2)]();}['dispose'](){const _0x35c8b1=_0x52fe9a;super[_0x35c8b1(0x16a)](),this['_cursorInfo$']['next'](new Map()),this[_0x35c8b1(0x302)]['complete'](),this[_0x35c8b1(0x1f2)][_0x35c8b1(0x150)]([]),this[_0x35c8b1(0x1f2)][_0x35c8b1(0x38e)]();}[_0x52fe9a(0x2d3)](){const _0x3c0696=_0x52fe9a;this[_0x3c0696(0x237)]||(this[_0x3c0696(0x237)]=!0x0,this[_0x3c0696(0x1e7)][_0x3c0696(0x21f)]['pipe'](_0x21dbc8['takeUntil'](this[_0x3c0696(0x3b5)]))[_0x3c0696(0x140)](_0x327e6b=>{const _0xdfaed7=_0x3c0696;_0x327e6b===_0x19b52f['SessionStatus']['ONLINE']?this[_0xdfaed7(0x147)]():this[_0xdfaed7(0x135)]();}),this[_0x3c0696(0x1e7)][_0x3c0696(0x304)][_0x3c0696(0x131)](_0x21dbc8['takeUntil'](this[_0x3c0696(0x3b5)]))[_0x3c0696(0x140)](_0x4504e0=>{const _0x1e02f3=_0x3c0696,_0x197304=_0x4504e0[_0x1e02f3(0x1b1)];_0x197304===_0x2efac4[_0x1e02f3(0x2e2)][_0x1e02f3(0x205)]&&this['_onCursorUpdate'](_0x4504e0),_0x197304===_0x2efac4[_0x1e02f3(0x2e2)][_0x1e02f3(0x3a4)]&&this[_0x1e02f3(0x349)](_0x4504e0);}),this[_0x3c0696(0x33a)](this[_0x3c0696(0x1fc)][_0x3c0696(0x330)](_0x4391bc=>{const _0x395ad1=_0x3c0696,_0x447bae=_0x4391bc[_0x395ad1(0x272)];_0x447bae!=null&&this[_0x395ad1(0x2b7)]&&_0x4391bc['id']===_0x3cc684[_0x395ad1(0x290)]['id']&&_0x447bae['unitId']===this['unitID']&&_0x447bae[_0x395ad1(0x2fe)]===!0x1&&_0x447bae['ranges'][_0x395ad1(0x21d)]>0x0&&this[_0x395ad1(0x2a5)](_0x447bae[_0x395ad1(0x1ef)]);})),this[_0x3c0696(0x14d)]['collabCursorState$'][_0x3c0696(0x131)](_0x21dbc8[_0x3c0696(0x315)](this['dispose$']))['subscribe'](_0x145708=>{const _0x4dbc55=_0x3c0696;if((_0x145708==null?void 0x0:_0x145708[_0x4dbc55(0x1e4)])!==this['unitID'])return;const _0x70d5e6={'eventID':_0x2efac4[_0x4dbc55(0x2e2)][_0x4dbc55(0x205)],'data':_0x145708};this['_onCursorUpdate'](_0x70d5e6);}),this[_0x3c0696(0x33a)](this['_commandService']['onCommandExecuted'](_0x5994c7=>{const _0x149f5c=_0x3c0696;if(_0x5994c7[_0x149f5c(0x272)]==null)return;const _0x215fca=_0x5994c7[_0x149f5c(0x272)];if(_0x5994c7['id']!==_0x3cc684[_0x149f5c(0x32c)]['id']||_0x215fca[_0x149f5c(0x356)]!==this[_0x149f5c(0x1e4)])return;const _0x5285c9={'id':_0x149f5c(0x29d),'params':_0x215fca},_0x49be64=this[_0x149f5c(0x39c)];for(const [_0x441ab4,_0xc89795]of _0x49be64){const _0x2f770c={'id':_0x149f5c(0x29d),'params':{'unitId':this[_0x149f5c(0x1e4)],'actions':null,'textRanges':_0xc89795[_0x149f5c(0x1ef)]}},_0x4c9846=this['_transformService']['transformMutation'](_0x5285c9,_0x2f770c,!0x1);if(_0x2efac4[_0x149f5c(0x212)](_0x4c9846))throw _0x4c9846[_0x149f5c(0x39e)];_0x49be64['set'](_0x441ab4,{..._0xc89795,'ranges':_0x4c9846[_0x149f5c(0x25a)][_0x149f5c(0x272)]['textRanges']});}queueMicrotask(()=>{const _0x44136f=_0x149f5c;this[_0x44136f(0x302)][_0x44136f(0x150)](_0x49be64);});})));}[_0x52fe9a(0x132)](_0x33c2c0){const _0x3d543d=_0x52fe9a;var _0x318d0d,_0x37a5f5;const {memberID:_0x5294ee,selection:_0x46f78a}=_0x33c2c0[_0x3d543d(0x274)],_0x124f20=_0x487fad(_0x46f78a),_0x19a745=(_0x37a5f5=(_0x318d0d=this[_0x3d543d(0x2d4)][_0x3d543d(0x324)](this[_0x3d543d(0x1e4)],_0x5294ee))==null?void 0x0:_0x318d0d[_0x3d543d(0x3a9)])!=null?_0x37a5f5:'Unknown\x20user',_0x4211a4={'color':this[_0x3d543d(0x27d)]['assignAColorForMemberID'](_0x5294ee),'name':_0x19a745,'ranges':_0x124f20},_0x4c1f1f=this[_0x3d543d(0x39c)];_0x4c1f1f[_0x3d543d(0x242)](_0x5294ee,_0x4211a4),this['_cursorInfo$']['next'](_0x4c1f1f);}[_0x52fe9a(0x349)](_0x3372db){const _0x13b0ff=_0x52fe9a,{memberID:_0x302207}=_0x3372db['data'],_0x223050=this[_0x13b0ff(0x39c)];_0x223050[_0x13b0ff(0x29b)](_0x302207),this[_0x13b0ff(0x302)]['next'](_0x223050);}[_0x52fe9a(0x147)](){const _0x4948b9=_0x52fe9a;var _0xc0926a;if(this[_0x4948b9(0x2b7)]=!0x0,((_0xc0926a=this[_0x4948b9(0x2c8)]['getFocusedUnit']())==null?void 0x0:_0xc0926a[_0x4948b9(0x321)]())!==this['unitID'])return;const _0x3662e3=this['_injector'][_0x4948b9(0x29f)](_0x3cc684[_0x4948b9(0x143)])['getDocRanges']();Array['isArray'](_0x3662e3)&&_0x3662e3[_0x4948b9(0x21d)]>0x0&&this[_0x4948b9(0x2a5)](_0x3662e3);}['_toggleOffline'](){const _0x31fcde=_0x52fe9a;this[_0x31fcde(0x2b7)]=!0x1;}};_0x130737=_0x49afd7([_0x5213ed(0x2,_0x333829['Inject'](_0x333829[_0x52fe9a(0x335)])),_0x5213ed(0x3,_0x333829[_0x52fe9a(0x359)](_0x35591e)),_0x5213ed(0x4,_0x333829[_0x52fe9a(0x359)](_0x19b52f['MemberService'])),_0x5213ed(0x5,_0x333829[_0x52fe9a(0x359)](_0x23fd98)),_0x5213ed(0x6,_0x2efac4[_0x52fe9a(0x218)]),_0x5213ed(0x7,_0x333829[_0x52fe9a(0x155)]),_0x5213ed(0x8,_0x333829['ICommandService'])],_0x130737);var _0x53adbe=Object[_0x52fe9a(0x2e5)],_0x5229c7=(_0x26d27a,_0x1428ac,_0x2bf532,_0x3c21d)=>{for(var _0x3095f6=_0x3c21d>0x1?void 0x0:_0x3c21d?_0x53adbe(_0x1428ac,_0x2bf532):_0x1428ac,_0x450422=_0x26d27a['length']-0x1,_0x34684c;_0x450422>=0x0;_0x450422--)(_0x34684c=_0x26d27a[_0x450422])&&(_0x3095f6=_0x34684c(_0x3095f6)||_0x3095f6);return _0x3095f6;},_0x2e59f9=(_0x1ab1ce,_0x4bb171)=>(_0x129e78,_0x335501)=>_0x4bb171(_0x129e78,_0x335501,_0x1ab1ce);const _0x5ae2aa=0x12c,_0x35f426=0x64,_0x37beba=()=>{let _0xaefe24=[],_0x41dbde=!0x1;return _0x6a066a=>{const _0xfb06ab=_0x424a;_0xaefe24[_0xfb06ab(0x19e)](_0x6a066a),_0x41dbde||(_0x41dbde=!0x0,setTimeout(()=>{_0xaefe24['forEach'](_0x1c1018=>_0x1c1018()),_0xaefe24=[],_0x41dbde=!0x1;}));};};let _0x4e802b=class extends _0x333829['RxDisposable']{constructor(_0x1d5d23,_0xd00bd4,_0x173b30,_0xc0f0f4,_0x427bb5,_0x5e84a3,_0x440b80,_0x1a3eaf){const _0x2a2438=_0x52fe9a;super(),_0x4e27f7(this,'_online',!0x1),_0x4e27f7(this,_0x2a2438(0x237),!0x1),_0x4e27f7(this,_0x2a2438(0x302),new _0x21dbc8['BehaviorSubject'](new Map())),_0x4e27f7(this,_0x2a2438(0x2c6),this[_0x2a2438(0x302)]['asObservable']()),_0x4e27f7(this,_0x2a2438(0x1f2),new _0x21dbc8[(_0x2a2438(0x2e8))]([])),_0x4e27f7(this,_0x2a2438(0x207),this['_roomMembers$'][_0x2a2438(0x131)](_0x21dbc8[_0x2a2438(0x210)](_0x5ae2aa))),_0x4e27f7(this,_0x2a2438(0x2a5),_0x333829['debounce']((_0x4c6e6a,_0x4c9c20)=>{const _0x3eccbc=_0x2a2438,_0x1b9163={'eventID':_0x2efac4[_0x3eccbc(0x2e2)][_0x3eccbc(0x205)],'data':{'unitID':this['unitID'],'memberID':this['_session']['getMemberID'](),'selection':_0x3186be[_0x3eccbc(0x206)](_0x4c6e6a,_0x4c9c20[_0x3eccbc(0x391)])}};this['_session'][_0x3eccbc(0x1e3)](_0x1b9163,this[_0x3eccbc(0x1e4)]);},_0x35f426)),(this['unitID']=_0x1d5d23,this['_session']=_0xd00bd4,this[_0x2a2438(0x25e)]=_0x173b30,this[_0x2a2438(0x27d)]=_0xc0f0f4,this[_0x2a2438(0x2d4)]=_0x427bb5,this[_0x2a2438(0x2c8)]=_0x5e84a3,this[_0x2a2438(0x1fc)]=_0x440b80,this[_0x2a2438(0x21e)]=_0x1a3eaf);}get[_0x52fe9a(0x39c)](){const _0x40054e=_0x52fe9a;return this[_0x40054e(0x302)][_0x40054e(0x1a2)]();}get[_0x52fe9a(0x3a0)](){const _0x23d83d=_0x52fe9a;return this[_0x23d83d(0x1f2)]['getValue']();}[_0x52fe9a(0x16a)](){const _0x38678e=_0x52fe9a;super[_0x38678e(0x16a)](),this['_cursorInfo$']['next'](new Map()),this['_cursorInfo$'][_0x38678e(0x38e)](),this['_roomMembers$']['next']([]),this[_0x38678e(0x1f2)]['complete']();}[_0x52fe9a(0x2d3)](){const _0x288de3=_0x52fe9a;this['_init']||(this['_init']=!0x0,this[_0x288de3(0x1e7)][_0x288de3(0x21f)]['pipe'](_0x21dbc8[_0x288de3(0x315)](this['dispose$']))[_0x288de3(0x140)](_0x4825c2=>{const _0x21ab72=_0x288de3;_0x4825c2===_0x19b52f[_0x21ab72(0x1bb)][_0x21ab72(0x26e)]?this['_toggleOnline']():this['_toggleOffline']();}),this[_0x288de3(0x1e7)]['event$'][_0x288de3(0x131)](_0x21dbc8['takeUntil'](this[_0x288de3(0x3b5)]))[_0x288de3(0x140)](_0x218943=>{const _0x449faa=_0x288de3,_0x33387e=_0x218943[_0x449faa(0x1b1)];_0x33387e===_0x2efac4[_0x449faa(0x2e2)][_0x449faa(0x205)]&&this[_0x449faa(0x132)](_0x218943),_0x33387e===_0x2efac4[_0x449faa(0x2e2)][_0x449faa(0x3a4)]&&this[_0x449faa(0x349)](_0x218943);}),this[_0x288de3(0x1c3)](),this[_0x288de3(0x33a)](this['_commandService'][_0x288de3(0x330)](_0x1e5553=>{const _0x2bdb46=_0x288de3;if(this[_0x2bdb46(0x2b7)]&&_0x1e5553['id']===_0x36f408[_0x2bdb46(0x379)]['id']&&_0x1e5553[_0x2bdb46(0x272)][_0x2bdb46(0x356)]===this[_0x2bdb46(0x1e4)]){const _0x36230e=_0x1e5553[_0x2bdb46(0x272)];this[_0x2bdb46(0x2a5)](_0x36230e[_0x2bdb46(0x23c)],_0x36230e['selections'][0x0]);}})));}[_0x52fe9a(0x132)](_0x94f7f){const _0x1182d8=_0x52fe9a;var _0x2632f4,_0x3d9576;const {memberID:_0x13c946,selection:_0x4f7645}=_0x94f7f[_0x1182d8(0x274)],{sheetName:_0x39a178,range:_0x77d9f9}=_0x3186be[_0x1182d8(0x18c)](_0x4f7645),_0x531518={'name':(_0x3d9576=(_0x2632f4=this['_memberService'][_0x1182d8(0x324)](this[_0x1182d8(0x1e4)],_0x13c946))==null?void 0x0:_0x2632f4['name'])!=null?_0x3d9576:_0x1182d8(0x151),'range':this[_0x1182d8(0x1dc)](_0x39a178,_0x77d9f9),'sheetID':_0x39a178,'color':this[_0x1182d8(0x27d)][_0x1182d8(0x395)](_0x13c946),'selection':_0x4f7645},_0x141a2e=this[_0x1182d8(0x39c)];_0x141a2e[_0x1182d8(0x242)](_0x13c946,_0x531518),this['_cursorInfo$']['next'](_0x141a2e);}['_onCursorDelete'](_0x19eea4){const _0x147137=_0x52fe9a,{memberID:_0xfc9d63}=_0x19eea4[_0x147137(0x274)],_0x302e33=this[_0x147137(0x39c)];_0x302e33[_0x147137(0x29b)](_0xfc9d63),this[_0x147137(0x302)]['next'](_0x302e33);}['_getMergeRange'](_0x3486fb,_0x11f6c1){const _0x454854=_0x52fe9a;var _0x32bd03,_0x50c5bf;const _0x191a14=(_0x50c5bf=(_0x32bd03=this['_univerInstanceService']['getUniverSheetInstance'](this['unitID']))==null?void 0x0:_0x32bd03[_0x454854(0x37e)](_0x3486fb))==null?void 0x0:_0x50c5bf['getMergeData']();return(_0x191a14==null?void 0x0:_0x191a14[_0x454854(0x145)](_0x549307=>_0x333829[_0x454854(0x130)][_0x454854(0x1bf)](_0x549307,_0x11f6c1)))||_0x11f6c1;}[_0x52fe9a(0x1c3)](){const _0x462914=_0x52fe9a,_0x17336a=new _0x333829[(_0x462914(0x1ae))](),_0x4bedc4=_0x37beba(),_0x1d516f=()=>{const _0xa6ac59=_0x462914;_0x17336a[_0xa6ac59(0x16a)]();const _0x39e1bc=(_0x30085d,_0x3a0dba,_0x3f9f55,_0x584ec7)=>{const _0x361f8d=_0xa6ac59;let _0xc9024b=[];switch(_0x30085d['id']){case _0x36f408[_0x361f8d(0x283)]['DeleteRangeMoveLeftCommandId']:{_0xc9024b=_0x36f408['handleDeleteRangeMoveLeft'](_0x30085d,_0x584ec7);break;}case _0x36f408[_0x361f8d(0x283)][_0x361f8d(0x2ae)]:{_0xc9024b=_0x36f408['handleDeleteRangeMoveUp'](_0x30085d,_0x584ec7);break;}case _0x36f408[_0x361f8d(0x283)]['InsertColCommandId']:{_0xc9024b=_0x36f408[_0x361f8d(0x28a)](_0x30085d,_0x584ec7);break;}case _0x36f408[_0x361f8d(0x283)][_0x361f8d(0x313)]:{_0xc9024b=_0x36f408[_0x361f8d(0x1b3)](_0x30085d,_0x584ec7);break;}case _0x36f408[_0x361f8d(0x283)][_0x361f8d(0x156)]:{_0xc9024b=_0x36f408[_0x361f8d(0x1f6)](_0x30085d,_0x584ec7);break;}case _0x36f408[_0x361f8d(0x283)]['InsertRowCommandId']:{_0xc9024b=_0x36f408['handleInsertRow'](_0x30085d,_0x584ec7);break;}case _0x36f408[_0x361f8d(0x283)][_0x361f8d(0x1a0)]:{_0xc9024b=_0x36f408[_0x361f8d(0x134)](_0x30085d,_0x584ec7);break;}case _0x36f408['EffectRefRangId']['RemoveColCommandId']:{_0xc9024b=_0x36f408[_0x361f8d(0x14e)](_0x30085d,_0x584ec7);break;}case _0x36f408['EffectRefRangId'][_0x361f8d(0x2b1)]:{_0xc9024b=_0x36f408[_0x361f8d(0x172)](_0x30085d,_0x584ec7);break;}}const _0x21839a=_0x36f408[_0x361f8d(0x363)](_0xc9024b,_0x584ec7),_0xb92c0e=this[_0x361f8d(0x39c)][_0x361f8d(0x29f)](_0x3a0dba);if(_0xb92c0e&&_0x21839a){const _0x1ab435={..._0xb92c0e,'range':_0x21839a};this[_0x361f8d(0x39c)][_0x361f8d(0x242)](_0x3a0dba,_0x1ab435),_0x4bedc4(()=>{const _0x3037b0=_0x361f8d,_0x2af30c=this['_refRangeService'][_0x3037b0(0x376)](_0x21839a,_0x26356b=>(_0x2af30c[_0x3037b0(0x16a)](),_0x39e1bc(_0x26356b,_0x3a0dba,_0x3f9f55,_0x21839a)));_0x17336a['add'](_0x2af30c);});}return{'redos':[],'undos':[]};};this[_0xa6ac59(0x39c)][_0xa6ac59(0x1ea)]((_0x8977b4,_0x26ca94)=>{const _0x1a7883=_0xa6ac59,{range:_0xdd4071,sheetID:_0x49ded1}=_0x8977b4,_0x5820c8=this[_0x1a7883(0x21e)]['registerRefRange'](_0xdd4071,_0x55efb1=>(_0x5820c8[_0x1a7883(0x16a)](),_0x39e1bc(_0x55efb1,_0x26ca94,_0x49ded1,_0xdd4071)));_0x17336a['add'](_0x5820c8);});};this[_0x462914(0x33a)](_0x333829[_0x462914(0x2cb)](this[_0x462914(0x302)][_0x462914(0x140)](()=>{_0x1d516f();})));}['_toggleOnline'](){const _0xa6f293=_0x52fe9a;var _0xcfa60a,_0x40df81;if(this[_0xa6f293(0x2b7)]=!0x0,((_0xcfa60a=this[_0xa6f293(0x2c8)][_0xa6f293(0x30d)]())==null?void 0x0:_0xcfa60a[_0xa6f293(0x321)]())!==this['unitID'])return;const _0x24b8d8=(_0x40df81=this[_0xa6f293(0x25e)][_0xa6f293(0x29f)](_0x36f408[_0xa6f293(0x166)])['getCurrentSelections']())==null?void 0x0:_0x40df81[0x0],_0x1cd1ca=this[_0xa6f293(0x2c8)][_0xa6f293(0x3bb)](_0x333829['UniverInstanceType'][_0xa6f293(0x35c)])[_0xa6f293(0x32f)]();_0x24b8d8&&_0x1cd1ca&&this['_updateLocalCursor'](_0x1cd1ca[_0xa6f293(0x29a)](),_0x24b8d8);}['_toggleOffline'](){const _0x53057b=_0x52fe9a;this[_0x53057b(0x2b7)]=!0x1;}};_0x4e802b=_0x5229c7([_0x2e59f9(0x2,_0x333829[_0x52fe9a(0x359)](_0x333829[_0x52fe9a(0x335)])),_0x2e59f9(0x3,_0x333829['Inject'](_0x35591e)),_0x2e59f9(0x4,_0x333829[_0x52fe9a(0x359)](_0x19b52f[_0x52fe9a(0x251)])),_0x2e59f9(0x5,_0x333829[_0x52fe9a(0x155)]),_0x2e59f9(0x6,_0x333829[_0x52fe9a(0x12b)]),_0x2e59f9(0x7,_0x333829[_0x52fe9a(0x359)](_0x36f408[_0x52fe9a(0x295)]))],_0x4e802b);var _0x4d9000=Object['getOwnPropertyDescriptor'],_0x3de8fc=(_0x47980d,_0x671286,_0x5cf423,_0x1a26f2)=>{const _0x3126f9=_0x52fe9a;for(var _0x4b7d59=_0x1a26f2>0x1?void 0x0:_0x1a26f2?_0x4d9000(_0x671286,_0x5cf423):_0x671286,_0xce8f1=_0x47980d[_0x3126f9(0x21d)]-0x1,_0x16e977;_0xce8f1>=0x0;_0xce8f1--)(_0x16e977=_0x47980d[_0xce8f1])&&(_0x4b7d59=_0x16e977(_0x4b7d59)||_0x4b7d59);return _0x4b7d59;},_0x4a6ca9=(_0x3facd7,_0x34709c)=>(_0x143157,_0x237ca8)=>_0x34709c(_0x143157,_0x237ca8,_0x3facd7);let _0x50aeb5=class extends _0x333829['RxDisposable']{constructor(_0x17ffab,_0x5a41d7,_0x371c22){const _0x1732c4=_0x52fe9a;super(),_0x4e27f7(this,_0x1732c4(0x225),new Map()),_0x4e27f7(this,_0x1732c4(0x250),new _0x21dbc8[(_0x1732c4(0x261))]()),(this[_0x1732c4(0x2c8)]=_0x17ffab,this['_injector']=_0x5a41d7,this[_0x1732c4(0x1bc)]=_0x371c22,this[_0x1732c4(0x237)]());}[_0x52fe9a(0x16a)](){const _0x588ef9=_0x52fe9a;super[_0x588ef9(0x16a)](),this[_0x588ef9(0x250)][_0x588ef9(0x38e)](),this[_0x588ef9(0x225)][_0x588ef9(0x1ea)](_0x35dca7=>_0x35dca7[_0x588ef9(0x16a)]());}[_0x52fe9a(0x22b)](_0x5af8d7){const _0x4fe353=_0x52fe9a;return this[_0x4fe353(0x225)][_0x4fe353(0x141)](_0x5af8d7)?this[_0x4fe353(0x225)][_0x4fe353(0x29f)](_0x5af8d7)[_0x4fe353(0x2c6)]:this[_0x4fe353(0x250)][_0x4fe353(0x131)](_0x21dbc8['filter'](_0x37c65e=>_0x37c65e[_0x4fe353(0x1e4)]===_0x5af8d7),_0x21dbc8['switchMap'](_0x473596=>_0x473596[_0x4fe353(0x2c6)]));}['_init'](){const _0x7eba4e=_0x52fe9a;this['_univerInstanceService'][_0x7eba4e(0x1f8)](_0x333829[_0x7eba4e(0x26f)]['UNIVER_SHEET'])[_0x7eba4e(0x131)](_0x21dbc8[_0x7eba4e(0x315)](this[_0x7eba4e(0x3b5)]))['subscribe'](async _0x19f992=>{const _0x567952=_0x7eba4e,_0x249817=_0x19f992[_0x567952(0x321)](),_0x3d29a3=await this[_0x567952(0x365)](_0x249817);this[_0x567952(0x250)][_0x567952(0x150)](_0x3d29a3),this[_0x567952(0x225)][_0x567952(0x242)](_0x249817,_0x3d29a3);}),this[_0x7eba4e(0x2c8)][_0x7eba4e(0x1f8)](_0x333829[_0x7eba4e(0x26f)][_0x7eba4e(0x393)])[_0x7eba4e(0x131)](_0x21dbc8[_0x7eba4e(0x315)](this[_0x7eba4e(0x3b5)]))[_0x7eba4e(0x131)](_0x21dbc8[_0x7eba4e(0x23f)](_0x4c5d05=>!_0x4c5d05[_0x7eba4e(0x321)]()['startsWith']('__')))[_0x7eba4e(0x140)](async _0x271d50=>{const _0x4b28bd=_0x7eba4e,_0x3b6da4=_0x271d50[_0x4b28bd(0x321)](),_0x221b07=await this['_startDocCollabCursor'](_0x3b6da4);this[_0x4b28bd(0x250)]['next'](_0x221b07),this[_0x4b28bd(0x225)][_0x4b28bd(0x242)](_0x3b6da4,_0x221b07);}),_0x21dbc8['merge'](this[_0x7eba4e(0x2c8)][_0x7eba4e(0x23d)](_0x333829[_0x7eba4e(0x26f)][_0x7eba4e(0x393)]),this[_0x7eba4e(0x2c8)][_0x7eba4e(0x23d)](_0x333829['UniverInstanceType'][_0x7eba4e(0x35c)]))[_0x7eba4e(0x131)](_0x21dbc8[_0x7eba4e(0x315)](this[_0x7eba4e(0x3b5)]))[_0x7eba4e(0x140)](_0x3e3c65=>{const _0x4c9e41=_0x7eba4e,_0x4d524b=_0x3e3c65[_0x4c9e41(0x321)](),_0x5cd392=this[_0x4c9e41(0x225)]['get'](_0x4d524b);_0x5cd392&&(_0x5cd392[_0x4c9e41(0x16a)](),this[_0x4c9e41(0x225)]['delete'](_0x4d524b));});}async[_0x52fe9a(0x365)](_0x459e65){const _0x14f5da=_0x52fe9a,_0x2ccdd6=await this[_0x14f5da(0x1bc)][_0x14f5da(0x213)](_0x459e65),_0x147c3c=this[_0x14f5da(0x25e)]['createInstance'](_0x4e802b,_0x459e65,_0x2ccdd6);return _0x147c3c[_0x14f5da(0x2d3)](),_0x147c3c;}async[_0x52fe9a(0x3a7)](_0x8944b1){const _0x6b5eb7=_0x52fe9a,_0x4bdfa3=await this['_collabSessionService']['requireSession'](_0x8944b1),_0x302790=this['_injector'][_0x6b5eb7(0x13d)](_0x130737,_0x8944b1,_0x4bdfa3);return _0x302790[_0x6b5eb7(0x2d3)](),_0x302790;}};_0x50aeb5=_0x3de8fc([_0x4a6ca9(0x0,_0x333829[_0x52fe9a(0x155)]),_0x4a6ca9(0x1,_0x333829[_0x52fe9a(0x359)](_0x333829[_0x52fe9a(0x335)])),_0x4a6ca9(0x2,_0x333829['Inject'](_0x19b52f[_0x52fe9a(0x158)]))],_0x50aeb5);const _0x5ff90a=0x14,_0x4bc375=0xc8,_0x3150ee=0x4,_0x29c347=0x5;function _0x9d64f0(_0x36ed38,_0x3eff2f){const _0x3b8203=_0x52fe9a;let {radius:_0x39d117,width:_0x580042,height:_0x288d80}=_0x3eff2f;_0x39d117=_0x39d117!=null?_0x39d117:0x0,_0x580042=_0x580042!=null?_0x580042:0x1e,_0x288d80=_0x288d80!=null?_0x288d80:0x1e;let _0x30fe66=0x0,_0x55944f=0x0,_0x1d4b70=0x0;_0x30fe66=_0x55944f=_0x1d4b70=Math[_0x3b8203(0x148)](_0x39d117,_0x580042/0x2,_0x288d80/0x2),_0x36ed38[_0x3b8203(0x234)](),_0x36ed38[_0x3b8203(0x227)](_0x30fe66,0x0),_0x36ed38[_0x3b8203(0x382)](_0x580042-_0x55944f,0x0),_0x36ed38[_0x3b8203(0x1d6)](_0x580042-_0x55944f,_0x55944f,_0x55944f,Math['PI']*0x3/0x2,0x0,!0x1),_0x36ed38[_0x3b8203(0x382)](_0x580042,_0x288d80-_0x1d4b70),_0x36ed38[_0x3b8203(0x1d6)](_0x580042-_0x1d4b70,_0x288d80-_0x1d4b70,_0x1d4b70,0x0,Math['PI']/0x2,!0x1),_0x36ed38[_0x3b8203(0x382)](0x0,_0x288d80),_0x36ed38[_0x3b8203(0x382)](0x0,_0x30fe66),_0x36ed38['arc'](_0x30fe66,_0x30fe66,_0x30fe66,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x36ed38[_0x3b8203(0x1d3)](),_0x3eff2f[_0x3b8203(0x1f3)]&&(_0x36ed38['save'](),_0x36ed38[_0x3b8203(0x224)]=_0x3eff2f['fill'],_0x3eff2f['fillRule']==='evenodd'?_0x36ed38[_0x3b8203(0x1f3)](_0x3b8203(0x21a)):_0x36ed38[_0x3b8203(0x1f3)](),_0x36ed38[_0x3b8203(0x222)]());}class _0x51577c extends _0x1e4d9a[_0x52fe9a(0x3b6)]{constructor(_0x38d616,_0x56c06d){const _0x3deb2e=_0x52fe9a;super(_0x38d616,_0x56c06d),_0x4e27f7(this,_0x3deb2e(0x377)),_0x4e27f7(this,'text'),(this[_0x3deb2e(0x377)]=_0x56c06d==null?void 0x0:_0x56c06d[_0x3deb2e(0x377)],this[_0x3deb2e(0x3c2)]=_0x56c06d==null?void 0x0:_0x56c06d[_0x3deb2e(0x3c2)]);}static[_0x52fe9a(0x1c2)](_0x20b979,_0x14d1bf){const _0x42b87d=_0x52fe9a,{text:_0x262cf7,color:_0x334c5b}=_0x14d1bf;_0x20b979[_0x42b87d(0x301)](),_0x20b979[_0x42b87d(0x323)]=_0x42b87d(0x244);const _0x2998e8=_0x20b979[_0x42b87d(0x3b1)](_0x262cf7)[_0x42b87d(0x204)],_0x1fc148=Math[_0x42b87d(0x148)](_0x2998e8+0x2*_0x3150ee,_0x4bc375);_0x9d64f0(_0x20b979,{'height':_0x5ff90a,'radius':0x4,'width':_0x1fc148,'fill':_0x334c5b}),_0x20b979[_0x42b87d(0x224)]=_0x42b87d(0x1a3);const _0x1408ac=_0x3150ee,_0x2c4ad8=_0x5ff90a-_0x29c347,_0x278519=_0x4bc375-0x2*_0x3150ee;if(_0x2998e8>_0x278519){let _0x5367cd='',_0x3e075e=0x0;for(const _0x129889 of _0x262cf7){const _0x455e3c=_0x20b979['measureText'](_0x129889)[_0x42b87d(0x204)];if(_0x3e075e+_0x455e3c<=_0x278519-_0x20b979[_0x42b87d(0x3b1)](_0x42b87d(0x189))['width'])_0x5367cd+=_0x129889,_0x3e075e+=_0x455e3c;else{_0x5367cd+=_0x42b87d(0x189);break;}}_0x20b979[_0x42b87d(0x12c)](_0x5367cd,_0x1408ac,_0x2c4ad8);}else _0x20b979[_0x42b87d(0x12c)](_0x262cf7,_0x1408ac,_0x2c4ad8);_0x20b979[_0x42b87d(0x222)]();}[_0x52fe9a(0x314)](_0x26e55a){const _0x527fbc=_0x52fe9a;_0x51577c[_0x527fbc(0x1c2)](_0x26e55a,this);}}const _0x2d1d7d=_0x52fe9a(0x23e),_0x459d46='collab-text-range-',_0xa0c974=_0x52fe9a(0x1cc),_0x35256b=0x6,_0x2beb5c=1.5,_0x41320b=0x4,_0x431816=1.5,_0x5c61db=_0x52fe9a(0x1e0);class _0x50289a{constructor(_0x302427,_0x406d1d,_0x5228c8,_0x22b893){const _0x4cc606=_0x52fe9a;_0x4e27f7(this,'_shapes',[]),_0x4e27f7(this,_0x4cc606(0x139),null),_0x4e27f7(this,'_textBubble',null),_0x4e27f7(this,_0x4cc606(0x16f),null),_0x4e27f7(this,_0x4cc606(0x344),null),_0x4e27f7(this,_0x4cc606(0x34c),null),(this[_0x4cc606(0x280)]=_0x302427,this[_0x4cc606(0x2bf)]=_0x406d1d,this[_0x4cc606(0x2ce)]=_0x5228c8,this['_document']=_0x22b893,this[_0x4cc606(0x37d)]());}set[_0x52fe9a(0x1fa)](_0x19fdd0){const _0x36f9f2=_0x52fe9a;_0x19fdd0?(this['_anchorDot']&&this[_0x36f9f2(0x16f)][_0x36f9f2(0x25d)](),this[_0x36f9f2(0x17d)]&&this[_0x36f9f2(0x17d)][_0x36f9f2(0x3b0)]()):(this[_0x36f9f2(0x16f)]&&this[_0x36f9f2(0x16f)][_0x36f9f2(0x3b0)](),this[_0x36f9f2(0x17d)]&&this[_0x36f9f2(0x17d)][_0x36f9f2(0x25d)]());}['dispose'](){const _0x162c48=_0x52fe9a;for(const _0x4c6299 of this[_0x162c48(0x3a3)])_0x4c6299[_0x162c48(0x16a)]();this[_0x162c48(0x17d)]&&this[_0x162c48(0x17d)]['dispose'](),this[_0x162c48(0x16f)]&&this['_anchorDot'][_0x162c48(0x16a)](),this[_0x162c48(0x139)]&&this['_anchor'][_0x162c48(0x16a)](),this[_0x162c48(0x34c)]&&this[_0x162c48(0x34c)]();}['_render'](){const _0x1b5dde=_0x52fe9a;var _0x3a0101;const {_docSkeleton:_0x58da25,_document:_0x5a4c05}=this,{color:_0x284c23,name:_0x477dc3,ranges:_0x306706}=this[_0x1b5dde(0x280)],_0x3a8d67=_0x5a4c05[_0x1b5dde(0x138)](),{docsLeft:_0x16a850,docsTop:_0x43388f}=_0x3a8d67,_0xcce5e1=new _0x5cd28b[(_0x1b5dde(0x24b))](_0x3a8d67,_0x58da25);for(const {startOffset:_0x39a8ea,endOffset:_0x52e5f1,rangeType:_0x351438,segmentId:_0x2a04ab,segmentPage:_0x2a6b9a,collapsed:_0x48dd05,isActive:_0x55e51b}of _0x306706){const _0x4e3d7f=_0x58da25[_0x1b5dde(0x366)](_0x39a8ea,!0x0,_0x2a04ab,_0x2a6b9a);let _0x3f1234=_0x58da25[_0x1b5dde(0x366)](_0x52e5f1,!0x0,_0x2a04ab,_0x2a6b9a);if(_0x3f1234==null&&(_0x3f1234=_0x58da25[_0x1b5dde(0x366)](_0x52e5f1-0x1,!0x1,_0x2a04ab,_0x2a6b9a)),_0x55e51b){const {contentBoxPointGroup:_0xe98fa6}=_0xcce5e1[_0x1b5dde(0x2f2)](_0x3f1234,_0x3f1234);if(_0xe98fa6[_0x1b5dde(0x21d)]===0x0)continue;this['_drawAnchor'](_0x284c23,_0xe98fa6,_0x16a850,_0x43388f,_0x477dc3),this[_0x1b5dde(0x34c)]=this[_0x1b5dde(0x1e1)]();}if(_0x4e3d7f&&_0x3f1234){if(_0x351438===_0x333829[_0x1b5dde(0x1de)][_0x1b5dde(0x333)]){const _0x22dd7f=new _0x5cd28b[(_0x1b5dde(0x233))](_0x3a8d67,_0x58da25),{pointGroup:_0x574fe6}=(_0x3a0101=_0x22dd7f[_0x1b5dde(0x2f2)](_0x4e3d7f,_0x3f1234))!=null?_0x3a0101:{};if(_0x574fe6==null||_0x574fe6[_0x1b5dde(0x21d)]===0x0)continue;this[_0x1b5dde(0x20b)](_0x284c23,_0x574fe6,_0x16a850,_0x43388f);}else{if(!_0x48dd05){const {borderBoxPointGroup:_0x22d5dd}=_0xcce5e1[_0x1b5dde(0x2f2)](_0x4e3d7f,_0x3f1234);if(_0x22d5dd[_0x1b5dde(0x21d)]===0x0)continue;this[_0x1b5dde(0x123)](_0x284c23,_0x22d5dd,_0x16a850,_0x43388f);}}}}}['_drawAnchor'](_0x34541e,_0x16530e,_0x16c60f,_0x3adae5,_0x175e34){const _0x4268f5=_0x52fe9a,_0x4aca02=this[_0x4268f5(0x193)](_0x16530e),{left:_0xf2f3a2,top:_0x4ba924,height:_0x32ba82}=_0x4aca02,_0x4a9cf2=this['_getScale'](),_0x3ebe74=_0x431816/_0x4a9cf2,_0x393371=new _0x1e4d9a[(_0x4268f5(0x1b6))](_0x2d1d7d+_0x333829[_0x4268f5(0x175)][_0x4268f5(0x1a7)](_0x35256b),{'left':_0xf2f3a2+_0x16c60f-_0x3ebe74,'top':_0x4ba924+_0x3adae5,'height':_0x32ba82,'width':_0x2beb5c,'fill':_0x34541e||_0x1e4d9a[_0x4268f5(0x282)](_0x333829['COLORS'][_0x4268f5(0x3ba)],0x0),'strokeWidth':_0x3ebe74,'stroke':_0x5c61db,'evented':!0x0});this[_0x4268f5(0x139)]=_0x393371,this[_0x4268f5(0x2bf)]['addObject'](_0x393371,_0x5cd28b['TEXT_RANGE_LAYER_INDEX']);const _0x1a6254=new _0x1e4d9a[(_0x4268f5(0x1b6))](_0x2d1d7d+_0x333829['Tools'][_0x4268f5(0x1a7)](_0x35256b),{'left':_0xf2f3a2+_0x16c60f-_0x3ebe74,'top':_0x4ba924+_0x3adae5-_0x41320b/0x2,'height':_0x41320b,'width':_0x41320b,'fill':_0x34541e||_0x1e4d9a[_0x4268f5(0x282)](_0x333829[_0x4268f5(0x380)][_0x4268f5(0x3ba)],0x0),'strokeWidth':0x0,'stroke':_0x34541e||_0x1e4d9a['getColor'](_0x333829[_0x4268f5(0x380)][_0x4268f5(0x3ba)],0x0),'evented':!0x1});this[_0x4268f5(0x16f)]=_0x1a6254,this[_0x4268f5(0x2bf)]['addObject'](_0x1a6254,_0x5cd28b[_0x4268f5(0x2c0)]);const _0x1735b=new _0x51577c(_0x2d1d7d+_0x333829[_0x4268f5(0x175)][_0x4268f5(0x1a7)](_0x35256b),{'left':_0xf2f3a2+_0x16c60f-_0x3ebe74,'top':_0x4ba924+_0x3adae5-_0x5ff90a,'text':_0x175e34,'color':_0x34541e});this[_0x4268f5(0x17d)]=_0x1735b,this['_scene'][_0x4268f5(0x266)](_0x1735b,_0x5cd28b[_0x4268f5(0x2c0)]),this[_0x4268f5(0x1fa)]=!0x1;}[_0x52fe9a(0x1e1)](){const _0x5a08b1=_0x52fe9a,_0x5f1a25=this[_0x5a08b1(0x139)]['onPointerEnter$'][_0x5a08b1(0x20f)](()=>{const _0x1d6f21=_0x5a08b1;this[_0x1d6f21(0x1fa)]=!0x0;}),_0x161f7d=this[_0x5a08b1(0x139)][_0x5a08b1(0x389)][_0x5a08b1(0x20f)](()=>{const _0x2789fc=_0x5a08b1;this[_0x2789fc(0x344)]&&clearTimeout(this[_0x2789fc(0x344)]),this[_0x2789fc(0x344)]=setTimeout(()=>{const _0x1a5191=_0x2789fc;this[_0x1a5191(0x1fa)]=!0x1;},0x7d0);});return()=>{const _0x106795=_0x5a08b1;_0x5f1a25[_0x106795(0x31c)](),_0x161f7d['unsubscribe']();};}[_0x52fe9a(0x123)](_0x218cad,_0x527145,_0x16653c,_0x2abc5b){const _0x46bb21=_0x52fe9a,_0x39d6f5=new _0x333829[(_0x46bb21(0x36e))](_0x218cad)[_0x46bb21(0x23a)](0.2)[_0x46bb21(0x331)](),_0x11f034=new _0x1e4d9a[(_0x46bb21(0x348))](_0x459d46+_0x333829[_0x46bb21(0x175)]['generateRandomId'](_0x35256b),{'pointsGroup':_0x527145,'fill':_0x39d6f5||_0x1e4d9a[_0x46bb21(0x282)](_0x333829[_0x46bb21(0x380)][_0x46bb21(0x3ba)],0.2),'left':_0x16653c,'top':_0x2abc5b,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x46bb21(0x3a3)][_0x46bb21(0x19e)](_0x11f034),this[_0x46bb21(0x2bf)][_0x46bb21(0x266)](_0x11f034,_0x5cd28b[_0x46bb21(0x2c0)]);}[_0x52fe9a(0x20b)](_0x14a0b6,_0x50d2ba,_0x545d8a,_0x440a94){const _0x4f3234=_0x52fe9a,_0x5d14a3=new _0x333829[(_0x4f3234(0x36e))](_0x14a0b6)[_0x4f3234(0x23a)](0.2)[_0x4f3234(0x331)](),_0x35f52e=new _0x1e4d9a[(_0x4f3234(0x348))](_0xa0c974+_0x333829[_0x4f3234(0x175)][_0x4f3234(0x1a7)](_0x35256b),{'pointsGroup':_0x50d2ba,'fill':_0x5d14a3||_0x1e4d9a['getColor'](_0x333829[_0x4f3234(0x380)][_0x4f3234(0x3ba)],0.2),'left':_0x545d8a,'top':_0x440a94,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x4f3234(0x3a3)][_0x4f3234(0x19e)](_0x35f52e),this[_0x4f3234(0x2bf)][_0x4f3234(0x266)](_0x35f52e,_0x5cd28b['TEXT_RANGE_LAYER_INDEX']);}[_0x52fe9a(0x193)](_0x55c977){const _0x9513f2=_0x55c977[0x0],_0x46e577=_0x9513f2[0x0],_0x3912b0=_0x9513f2[0x2],{x:_0x1d0804,y:_0x1fc9d6}=_0x46e577,{x:_0x22c217,y:_0x4e12af}=_0x3912b0;return{'left':_0x1d0804,'top':_0x1fc9d6,'width':_0x22c217-_0x1d0804,'height':_0x4e12af-_0x1fc9d6};}[_0x52fe9a(0x1f7)](){const _0x69943b=_0x52fe9a,{scaleX:_0x55beb2,scaleY:_0x284d52}=this['_scene'][_0x69943b(0x153)]();return Math[_0x69943b(0x236)](_0x55beb2,_0x284d52);}}var _0x6c4a3c=Object[_0x52fe9a(0x2e5)],_0x3bbf37=(_0x33bf04,_0x41d0c6,_0x579e88,_0x4852be)=>{for(var _0x2b8434=_0x4852be>0x1?void 0x0:_0x4852be?_0x6c4a3c(_0x41d0c6,_0x579e88):_0x41d0c6,_0x4bf4b9=_0x33bf04['length']-0x1,_0x2808af;_0x4bf4b9>=0x0;_0x4bf4b9--)(_0x2808af=_0x33bf04[_0x4bf4b9])&&(_0x2b8434=_0x2808af(_0x2b8434)||_0x2b8434);return _0x2b8434;},_0x3ad2b5=(_0x361fd3,_0x14621b)=>(_0x1c4b38,_0x36a6ba)=>_0x14621b(_0x1c4b38,_0x36a6ba,_0x361fd3);let _0x55e631=class extends _0x333829['RxDisposable']{constructor(_0x5de680,_0x476a1d,_0x59f644,_0x5f468b,_0x3fbce5){const _0x3d1543=_0x52fe9a;super(),_0x4e27f7(this,_0x3d1543(0x38f),[]),_0x4e27f7(this,_0x3d1543(0x16d),[]),(this[_0x3d1543(0x1cd)]=_0x5de680,this[_0x3d1543(0x2bb)]=_0x476a1d,this['_collabCursorController']=_0x59f644,this[_0x3d1543(0x1fc)]=_0x5f468b,this['_themeService']=_0x3fbce5,this[_0x3d1543(0x237)]());}[_0x52fe9a(0x237)](){const _0x4ab17b=_0x52fe9a,_0x5bf7b8=this[_0x4ab17b(0x1cd)]['unitId'],_0x2f7a2f=this['_docSkeletonManagerService'];this[_0x4ab17b(0x33a)](_0x21dbc8[_0x4ab17b(0x18b)]([this['_collabCursorController'][_0x4ab17b(0x22b)](_0x5bf7b8),this[_0x4ab17b(0x240)][_0x4ab17b(0x3b4)]])[_0x4ab17b(0x131)](_0x74988e[_0x4ab17b(0x20d)](([_0x461fa8,_0x166c4e])=>({'skeleton':_0x2f7a2f[_0x4ab17b(0x1a9)](),'cursors':[..._0x461fa8[_0x4ab17b(0x3a6)]()][_0x4ab17b(0x15a)](_0x100b30=>({..._0x100b30,'color':this['_themeService'][_0x4ab17b(0x186)](_0x100b30[_0x4ab17b(0x377)])}))})))[_0x4ab17b(0x140)](_0x5781ba=>{const _0x2764e6=_0x4ab17b;if(this[_0x2764e6(0x246)](),_0x5781ba){const {skeleton:_0x398cff,cursors:_0x26261a}=_0x5781ba;this[_0x2764e6(0x2ef)](_0x398cff,_0x26261a);}})),this['_initResize'](),this['_initCommandExecutedListener']();}['_updateCollabCursors'](_0x3856ec,_0x4cfadd){const _0x2337db=_0x52fe9a,{scene:_0x184e5f,mainComponent:_0x4d5564}=this[_0x2337db(0x1cd)],_0x226034=_0x4cfadd[_0x2337db(0x20d)](_0x372bfe=>new _0x50289a(_0x372bfe,_0x184e5f,_0x3856ec,_0x4d5564));this[_0x2337db(0x38f)]=_0x226034,this[_0x2337db(0x16d)]=_0x4cfadd;}[_0x52fe9a(0x2f1)](){const _0x5e4a37=_0x52fe9a;this[_0x5e4a37(0x246)]();const {scene:_0x54b959,mainComponent:_0x2365f5}=this[_0x5e4a37(0x1cd)],_0x592acf=this[_0x5e4a37(0x2bb)]['getSkeleton'](),_0x16070e=this[_0x5e4a37(0x16d)][_0x5e4a37(0x20d)](_0x1a2cd6=>new _0x50289a(_0x1a2cd6,_0x54b959,_0x592acf,_0x2365f5));this['_cursorShapes']=_0x16070e;}['_removeCollabCursors'](){const _0x15bf59=_0x52fe9a;this[_0x15bf59(0x38f)][_0x15bf59(0x1ea)](_0x401ae3=>_0x401ae3['dispose']()),this[_0x15bf59(0x38f)]=[];}['_initCommandExecutedListener'](){const _0x4fb38d=_0x52fe9a,_0x1b48f9=[_0x5cd28b['SetDocZoomRatioOperation']['id']];this[_0x4fb38d(0x33a)](this[_0x4fb38d(0x1fc)]['onCommandExecuted'](_0x2cfb06=>{const _0x409045=_0x4fb38d;_0x1b48f9['includes'](_0x2cfb06['id'])&&_0x2cfb06[_0x409045(0x272)][_0x409045(0x356)]===this[_0x409045(0x1cd)]['unitId']&&this['_refreshCollabCursors']();}));}[_0x52fe9a(0x2e1)](){const _0x438971=_0x52fe9a;this[_0x438971(0x33a)](_0x333829[_0x438971(0x32a)](this[_0x438971(0x1cd)][_0x438971(0x22d)]['onTransformChange$'])[_0x438971(0x131)](_0x74988e[_0x438971(0x23f)](_0x4f4d46=>_0x4f4d46[_0x438971(0x3bd)]===_0x1e4d9a[_0x438971(0x229)]['resize']),_0x74988e[_0x438971(0x26d)](0x10))[_0x438971(0x140)](()=>{this['_refreshCollabCursors']();}));}};_0x55e631=_0x3bbf37([_0x3ad2b5(0x1,_0x333829['Inject'](_0x3cc684[_0x52fe9a(0x277)])),_0x3ad2b5(0x2,_0x333829[_0x52fe9a(0x359)](_0x50aeb5)),_0x3ad2b5(0x3,_0x333829[_0x52fe9a(0x12b)]),_0x3ad2b5(0x4,_0x333829[_0x52fe9a(0x359)](_0x333829[_0x52fe9a(0x1d0)]))],_0x55e631);const _0x4bd277=0x1,_0x45a01f=1.5;class _0x12a8a6 extends _0x1e4d9a[_0x52fe9a(0x3b6)]{constructor(_0x19d38f,_0x20369c){const _0x34a3e5=_0x52fe9a;super(_0x19d38f,_0x20369c),_0x4e27f7(this,_0x34a3e5(0x350)),_0x4e27f7(this,_0x34a3e5(0x38b),!0x1),_0x4e27f7(this,'_range'),_0x4e27f7(this,_0x34a3e5(0x228),''),_0x4e27f7(this,_0x34a3e5(0x223),_0x34a3e5(0x137)),_0x4e27f7(this,_0x34a3e5(0x203)),(_0x20369c&&this[_0x34a3e5(0x17a)](_0x20369c),this[_0x34a3e5(0x2e4)][_0x34a3e5(0x20f)](()=>this[_0x34a3e5(0x17a)]({'hovered':!0x0})),this['onPointerLeave$'][_0x34a3e5(0x20f)](()=>this[_0x34a3e5(0x17a)]({'hovered':!0x1})));}[_0x52fe9a(0x17a)](_0x4749a1){const _0x3944fe=_0x52fe9a;var _0x19acf2,_0x391792,_0x49865f,_0x32c820,_0x19b189,_0x315bb6;this[_0x3944fe(0x350)]=(_0x19acf2=_0x4749a1[_0x3944fe(0x377)])!=null?_0x19acf2:this[_0x3944fe(0x350)],this[_0x3944fe(0x38b)]=(_0x391792=_0x4749a1[_0x3944fe(0x300)])!=null?_0x391792:this['_hovered'],this[_0x3944fe(0x164)]=(_0x49865f=_0x4749a1[_0x3944fe(0x391)])!=null?_0x49865f:this['_range'],this[_0x3944fe(0x228)]=(_0x32c820=_0x4749a1['name'])!=null?_0x32c820:this[_0x3944fe(0x228)],this['_labelPosition']=(_0x19b189=_0x4749a1[_0x3944fe(0x2d1)])!=null?_0x19b189:this[_0x3944fe(0x223)],this[_0x3944fe(0x203)]=(_0x315bb6=_0x4749a1['backgroundColor'])!=null?_0x315bb6:this[_0x3944fe(0x203)],this['transformByState']({'width':_0x4749a1[_0x3944fe(0x204)],'height':_0x4749a1[_0x3944fe(0x19a)]});}[_0x52fe9a(0x1ee)](_0x174abf){const _0x35a9b0=_0x52fe9a,{row:_0x30490f,column:_0x4bf4c5}=_0x174abf;if(_0x30490f>=this['_range'][_0x35a9b0(0x342)]&&_0x30490f<=this[_0x35a9b0(0x164)][_0x35a9b0(0x3c0)]&&_0x4bf4c5>=this[_0x35a9b0(0x164)][_0x35a9b0(0x284)]&&_0x4bf4c5<=this[_0x35a9b0(0x164)][_0x35a9b0(0x3a8)]){this['setShapeProps']({'hovered':!0x0});return;}this[_0x35a9b0(0x17a)]({'hovered':!0x1});}['triggerDblclick'](_0x316beb){return!0x1;}[_0x52fe9a(0x314)](_0x41c1da){const _0x11d55e=_0x52fe9a;_0x1e4d9a['Rect'][_0x11d55e(0x1c2)](_0x41c1da,{'width':this['width'],'height':this[_0x11d55e(0x19a)],'strokeWidth':_0x45a01f,'stroke':this[_0x11d55e(0x350)],'evented':!0x1,'fill':this[_0x11d55e(0x203)]}),this['_hovered']&&(_0x41c1da['save'](),_0x41c1da[_0x11d55e(0x220)](0x1,0x0,0x0,0x1,this['width'],this[_0x11d55e(0x223)]==='bottom'?0x0:-0x14),_0x51577c[_0x11d55e(0x1c2)](_0x41c1da,{'text':this[_0x11d55e(0x228)],'color':this['_color']}),_0x41c1da[_0x11d55e(0x222)]());}}var _0x2a6b5c=Object[_0x52fe9a(0x2e5)],_0x415a1c=(_0x3641e8,_0x415c8f,_0x3ab5d7,_0x5c51df)=>{for(var _0x1920e1=_0x5c51df>0x1?void 0x0:_0x5c51df?_0x2a6b5c(_0x415c8f,_0x3ab5d7):_0x415c8f,_0x58eede=_0x3641e8['length']-0x1,_0x111698;_0x58eede>=0x0;_0x58eede--)(_0x111698=_0x3641e8[_0x58eede])&&(_0x1920e1=_0x111698(_0x1920e1)||_0x1920e1);return _0x1920e1;},_0x45cd5d=(_0x30d76b,_0x120394)=>(_0x5649bc,_0x332c53)=>_0x120394(_0x5649bc,_0x332c53,_0x30d76b);const _0x32198e=0x1389;let _0x120041=class extends _0x333829['RxDisposable']{constructor(_0x24c48c,_0xee9d57,_0x589a2e,_0x50268a){const _0x3a998d=_0x52fe9a;super(),_0x4e27f7(this,_0x3a998d(0x16d),new Set()),_0x4e27f7(this,_0x3a998d(0x32e),null),(this[_0x3a998d(0x1cd)]=_0x24c48c,this[_0x3a998d(0x296)]=_0xee9d57,this[_0x3a998d(0x381)]=_0x589a2e,this['_themeService']=_0x50268a,this[_0x3a998d(0x237)]());}[_0x52fe9a(0x237)](){const _0x14c493=_0x52fe9a;this['_sheetSkeletonManagerService'][_0x14c493(0x20c)][_0x14c493(0x131)](_0x74988e['takeUntil'](this[_0x14c493(0x3b5)]),_0x74988e[_0x14c493(0x149)](_0x20fbf8=>{const _0x9aaa39=_0x14c493;if(_0x20fbf8){const _0x489919=_0x20fbf8[_0x9aaa39(0x1e6)];return _0x21dbc8[_0x9aaa39(0x18b)](this['_collabCursorController'][_0x9aaa39(0x22b)](this[_0x9aaa39(0x1cd)][_0x9aaa39(0x356)]),this[_0x9aaa39(0x240)][_0x9aaa39(0x3b4)])[_0x9aaa39(0x131)](_0x74988e[_0x9aaa39(0x20d)](([_0x2820b5,_0x92573b])=>{const _0x4e041a=_0x9aaa39,_0x5d489e=new Map();return _0x2820b5[_0x4e041a(0x1ea)]((_0x206b57,_0x5462da)=>{const _0x64f0d0=_0x4e041a;if(_0x206b57[_0x64f0d0(0x24e)]===_0x489919){const _0xc7df2f={..._0x206b57};_0xc7df2f['color']=this[_0x64f0d0(0x240)][_0x64f0d0(0x186)](_0x206b57['color']),_0x5d489e['set'](_0x5462da,_0xc7df2f);}}),{'skeleton':_0x20fbf8,'cursors':_0x5d489e};}));}return _0x21dbc8['of']({'skeleton':null,'cursors':new Map()});}))[_0x14c493(0x140)](({skeleton:_0x41bc0e,cursors:_0x2de039})=>{const _0x14144f=_0x14c493;this['_removeCollabCursors'](),_0x41bc0e&&this[_0x14144f(0x2ef)](_0x41bc0e,_0x2de039);}),this[_0x14c493(0x296)][_0x14c493(0x20c)][_0x14c493(0x140)](_0x4cef5c=>{const _0xaa380e=_0x14c493;if(_0x4cef5c==null)return;const {skeleton:_0x479d40}=_0x4cef5c,{scene:_0x452bc4}=this[_0xaa380e(0x1cd)];_0x452bc4[_0xaa380e(0x34a)]['subscribeEvent'](_0x333829[_0xaa380e(0x2e3)](_0x9e0234=>{const _0xb427dc=_0xaa380e;var _0x42168e,_0x4f260d;const {offsetX:_0xd3eec7,offsetY:_0x42e1fd}=_0x9e0234,{x:_0x23ad96,y:_0x1c96ac}=_0x452bc4[_0xb427dc(0x1ce)](_0x1e4d9a[_0xb427dc(0x3aa)][_0xb427dc(0x202)]([_0xd3eec7,_0x42e1fd])),{scaleX:_0x5baf37,scaleY:_0x4f2d7f}=_0x452bc4['getAncestorScale'](),_0x882afb=_0x452bc4['getViewport'](_0x1e4d9a[_0xb427dc(0x306)][_0xb427dc(0x1c6)]),_0x47af2e=_0x452bc4['getVpScrollXYInfoByPosToVp'](_0x1e4d9a[_0xb427dc(0x3aa)]['FromArray']([_0x23ad96,_0x1c96ac]),_0x882afb),_0x32d987=_0x479d40['getCellPositionByOffset'](_0xd3eec7,_0x42e1fd,_0x5baf37,_0x4f2d7f,_0x47af2e);((_0x42168e=this[_0xb427dc(0x32e)])==null?void 0x0:_0x42168e[_0xb427dc(0x2eb)])===_0x32d987['column']&&((_0x4f260d=this[_0xb427dc(0x32e)])==null?void 0x0:_0x4f260d['row'])===_0x32d987[_0xb427dc(0x2a6)]||this[_0xb427dc(0x16d)][_0xb427dc(0x1ea)](_0x1224de=>{const _0xb1bf6e=_0xb427dc;_0x1224de[_0xb1bf6e(0x1ee)](_0x32d987);});},0x64));});}['_updateCollabCursors'](_0x3801a2,_0x134373){const _0x69263=_0x52fe9a;var _0x43cbd6;const _0x5be11f=(_0x43cbd6=this[_0x69263(0x296)]['getCurrent']())==null?void 0x0:_0x43cbd6['skeleton'];if(!_0x5be11f)return;const _0x40011e=this[_0x69263(0x385)]();if(!_0x40011e)return;this['_cursors'][_0x69263(0x1ea)](_0x5510fa=>{const _0x3f9bf5=_0x69263;_0x5510fa[_0x3f9bf5(0x262)]();});const {scene:_0x327555}=_0x40011e,_0x215b09=_0x40afe9(Array[_0x69263(0x173)](_0x134373['values']()))[_0x69263(0x20d)](_0x263bd7=>{const _0x220ede=_0x69263,{color:_0x5dd011,range:_0x3e1965,name:_0x3aa82a,selection:_0x4de68e,sheetID:_0x5ae3ab}=_0x263bd7,{startColumn:_0x323bf4,startRow:_0x32e4fe,endColumn:_0x2cee60,endRow:_0x132e57}=_0x3e1965,_0x23e894=_0x76017c[_0x220ede(0x2b2)](_0x32e4fe,_0x323bf4,_0x327555,_0x5be11f),_0x226330=_0x76017c[_0x220ede(0x2b2)](_0x132e57,_0x2cee60,_0x327555,_0x5be11f),{columnHeaderHeightAndMarginTop:_0x109e8d}=_0x5be11f,{startX:_0x5debc3,startY:_0x3755c9}=_0x23e894,{endX:_0x9862d7,endY:_0x246a87}=_0x226330,_0x2d50f9=_0x9862d7-_0x5debc3,_0x10e85c=_0x246a87-_0x3755c9,_0x32bc6a={'labelPosition':_0x3755c9-_0x109e8d>=_0x5ff90a?'top':_0x220ede(0x192),'sheetID':_0x5ae3ab,'range':_0x3e1965,'color':_0x5dd011,'name':_0x3aa82a,'selection':_0x4de68e,'left':_0x5debc3,'top':_0x3755c9,'width':_0x2d50f9,'height':_0x10e85c,'evented':!0x1,'zIndex':_0x32198e};return new _0x12a8a6(_0x3aa82a,_0x32bc6a);});_0x327555[_0x69263(0x319)](_0x215b09,_0x4bd277),this[_0x69263(0x16d)]=new Set(_0x215b09);}['_removeCollabCursors'](){const _0x5b7a0b=_0x52fe9a;var _0x27700b;(_0x27700b=this[_0x5b7a0b(0x16d)])==null||_0x27700b[_0x5b7a0b(0x1ea)](_0x1bc849=>_0x1bc849['dispose']());}[_0x52fe9a(0x385)](){const _0x3a99a5=_0x52fe9a;return _0x76017c[_0x3a99a5(0x340)](this[_0x3a99a5(0x1cd)][_0x3a99a5(0x1ff)],this['_context']);}};_0x120041=_0x415a1c([_0x45cd5d(0x1,_0x333829[_0x52fe9a(0x359)](_0x76017c['SheetSkeletonManagerService'])),_0x45cd5d(0x2,_0x333829[_0x52fe9a(0x359)](_0x50aeb5)),_0x45cd5d(0x3,_0x333829[_0x52fe9a(0x359)](_0x333829[_0x52fe9a(0x1d0)]))],_0x120041);function _0x40afe9(_0x1c1796){const _0x6399ef=_0x52fe9a,_0x629ae2=new Map();return _0x1c1796[_0x6399ef(0x1ea)](_0x10ee79=>{const _0x1144b0=_0x6399ef;if(_0x629ae2[_0x1144b0(0x141)](_0x10ee79[_0x1144b0(0x2e9)])){const _0x149983=_0x629ae2[_0x1144b0(0x29f)](_0x10ee79['selection']);_0x149983['name']+=',\x20'+_0x10ee79[_0x1144b0(0x3a9)];}else _0x629ae2[_0x1144b0(0x242)](_0x10ee79[_0x1144b0(0x2e9)],_0x10ee79);}),Array[_0x6399ef(0x173)](_0x629ae2['values']());}var _0x9829e8=function(){const _0x5505c1=_0x52fe9a;return _0x9829e8=Object[_0x5505c1(0x303)]||function(_0x3cc391){const _0x5c87fe=_0x5505c1;for(var _0x3d67b0,_0x5479ff=0x1,_0x251a6f=arguments[_0x5c87fe(0x21d)];_0x5479ff<_0x251a6f;_0x5479ff++){_0x3d67b0=arguments[_0x5479ff];for(var _0x218da6 in _0x3d67b0)Object[_0x5c87fe(0x1db)]['hasOwnProperty'][_0x5c87fe(0x36c)](_0x3d67b0,_0x218da6)&&(_0x3cc391[_0x218da6]=_0x3d67b0[_0x218da6]);}return _0x3cc391;},_0x9829e8[_0x5505c1(0x322)](this,arguments);},_0x56adae=function(_0x2256eb,_0x5e8e97){const _0x559f8b=_0x52fe9a;var _0x53c4d8={};for(var _0x53c972 in _0x2256eb)Object['prototype'][_0x559f8b(0x12a)][_0x559f8b(0x36c)](_0x2256eb,_0x53c972)&&_0x5e8e97['indexOf'](_0x53c972)<0x0&&(_0x53c4d8[_0x53c972]=_0x2256eb[_0x53c972]);if(_0x2256eb!=null&&typeof Object[_0x559f8b(0x29c)]==_0x559f8b(0x388)){for(var _0x7a7fbb=0x0,_0x53c972=Object[_0x559f8b(0x29c)](_0x2256eb);_0x7a7fbb<_0x53c972['length'];_0x7a7fbb++)_0x5e8e97[_0x559f8b(0x122)](_0x53c972[_0x7a7fbb])<0x0&&Object[_0x559f8b(0x1db)]['propertyIsEnumerable'][_0x559f8b(0x36c)](_0x2256eb,_0x53c972[_0x7a7fbb])&&(_0x53c4d8[_0x53c972[_0x7a7fbb]]=_0x2256eb[_0x53c972[_0x7a7fbb]]);}return _0x53c4d8;},_0x4d0bbb=_0x57419d[_0x52fe9a(0x33f)](function(_0x51fc1a,_0x431f2d){const _0x35759b=_0x52fe9a;var _0x230329=_0x51fc1a['icon'],_0x3d10bc=_0x51fc1a['id'],_0x42d7a2=_0x51fc1a[_0x35759b(0x2cd)],_0x33ab29=_0x51fc1a[_0x35759b(0x2c3)],_0xfd433=_0x56adae(_0x51fc1a,[_0x35759b(0x19f),'id',_0x35759b(0x2cd),'extend']),_0x37e203=_0x35759b(0x32d)[_0x35759b(0x12f)](_0x3d10bc,'\x20')[_0x35759b(0x12f)](_0x42d7a2||'')[_0x35759b(0x2d9)](),_0x103ad9=_0x57419d[_0x35759b(0x19b)]('_'[_0x35759b(0x12f)](_0x416176()));return _0x3f1e06(_0x230329,''[_0x35759b(0x12f)](_0x3d10bc),{'defIds':_0x230329[_0x35759b(0x285)],'idSuffix':_0x103ad9[_0x35759b(0x22f)]},_0x9829e8({'ref':_0x431f2d,'className':_0x37e203},_0xfd433),_0x33ab29);});function _0x3f1e06(_0x4fc3ae,_0x274e0b,_0x2398e8,_0x28f875,_0x24768e){const _0x293274=_0x52fe9a;return _0x57419d[_0x293274(0x30b)](_0x4fc3ae[_0x293274(0x265)],_0x9829e8(_0x9829e8({'key':_0x274e0b},_0x52512d(_0x4fc3ae,_0x2398e8,_0x24768e)),_0x28f875),(_0xdb57bf(_0x4fc3ae,_0x2398e8)['children']||[])[_0x293274(0x20d)](function(_0x58f12b,_0x3688a7){const _0x523965=_0x293274;return _0x3f1e06(_0x58f12b,''[_0x523965(0x12f)](_0x274e0b,'-')['concat'](_0x4fc3ae[_0x523965(0x265)],'-')[_0x523965(0x12f)](_0x3688a7),_0x2398e8,void 0x0,_0x24768e);}));}function _0x52512d(_0x178bae,_0x4c1874,_0x3558a5){const _0x5f29d4=_0x52fe9a;var _0x8b2352=_0x9829e8({},_0x178bae[_0x5f29d4(0x25b)]);_0x3558a5!=null&&_0x3558a5['colorChannel1']&&_0x8b2352['fill']===_0x5f29d4(0x3ae)&&(_0x8b2352[_0x5f29d4(0x1f3)]=_0x3558a5[_0x5f29d4(0x3ae)]),_0x178bae['tag']===_0x5f29d4(0x1b4)&&_0x8b2352['id']&&(_0x8b2352['id']=_0x8b2352['id']+_0x4c1874[_0x5f29d4(0x2ec)]),Object[_0x5f29d4(0x16b)](_0x8b2352)['forEach'](function(_0x5a779c){const _0x2c7a43=_0x5f29d4;var _0xf7131b=_0x5a779c[0x0],_0x5dbad0=_0x5a779c[0x1];_0xf7131b===_0x2c7a43(0x1b4)&&typeof _0x5dbad0==_0x2c7a43(0x1ad)&&(_0x8b2352[_0xf7131b]=_0x5dbad0['replace'](/url\(#(.*)\)/,_0x2c7a43(0x26b)['concat'](_0x4c1874['idSuffix'],')')));});var _0x2dd74f=_0x4c1874[_0x5f29d4(0x285)];return!_0x2dd74f||_0x2dd74f[_0x5f29d4(0x21d)]===0x0||(_0x178bae[_0x5f29d4(0x265)]===_0x5f29d4(0x181)&&_0x8b2352[_0x5f29d4(0x18e)]&&(_0x8b2352['xlink:href']=_0x8b2352[_0x5f29d4(0x18e)]+_0x4c1874['idSuffix']),Object[_0x5f29d4(0x16b)](_0x8b2352)[_0x5f29d4(0x1ea)](function(_0x2046db){const _0x28237a=_0x5f29d4;var _0x2ac78c=_0x2046db[0x0],_0x2beffb=_0x2046db[0x1];typeof _0x2beffb==_0x28237a(0x1ad)&&(_0x8b2352[_0x2ac78c]=_0x2beffb[_0x28237a(0x29e)](/url\(#(.*)\)/,_0x28237a(0x26b)[_0x28237a(0x12f)](_0x4c1874[_0x28237a(0x2ec)],')')));})),_0x8b2352;}function _0xdb57bf(_0x15e5cb,_0x138743){const _0x2e1408=_0x52fe9a;var _0x1ac8aa,_0x1e6284=_0x138743[_0x2e1408(0x285)];return!_0x1e6284||_0x1e6284[_0x2e1408(0x21d)]===0x0?_0x15e5cb:_0x15e5cb[_0x2e1408(0x265)]===_0x2e1408(0x2c5)&&(!((_0x1ac8aa=_0x15e5cb['children'])===null||_0x1ac8aa===void 0x0)&&_0x1ac8aa[_0x2e1408(0x21d)])?_0x9829e8(_0x9829e8({},_0x15e5cb),{'children':_0x15e5cb[_0x2e1408(0x2fb)]['map'](function(_0x4382f5){const _0x233460=_0x2e1408;return typeof _0x4382f5['attrs']['id']==_0x233460(0x1ad)&&_0x1e6284&&_0x1e6284[_0x233460(0x2c4)](_0x4382f5[_0x233460(0x25b)]['id'])?_0x9829e8(_0x9829e8({},_0x4382f5),{'attrs':_0x9829e8(_0x9829e8({},_0x4382f5[_0x233460(0x25b)]),{'id':_0x4382f5['attrs']['id']+_0x138743[_0x233460(0x2ec)]})}):_0x4382f5;})}):_0x15e5cb;}function _0x416176(){const _0x34a7d3=_0x52fe9a;return Math[_0x34a7d3(0x1b5)]()[_0x34a7d3(0x18a)](0x24)['substring'](0x2,0x8);}_0x4d0bbb[_0x52fe9a(0x1a8)]=_0x52fe9a(0x255);var _0x1e864d={'tag':'svg','attrs':{'xmlns':_0x52fe9a(0x1b0),'fill':_0x52fe9a(0x3bc),'viewBox':_0x52fe9a(0x26a),'width':'1em','height':_0x52fe9a(0x39a)},'children':[{'tag':'g','attrs':{'clipPath':_0x52fe9a(0x154)},'children':[{'tag':'path','attrs':{'stroke':_0x52fe9a(0x1cf),'d':_0x52fe9a(0x338),'strokeLinecap':'round','strokeLinejoin':'round','strokeWidth':1.2}}]},{'tag':_0x52fe9a(0x2c5),'attrs':{},'children':[{'tag':_0x52fe9a(0x28d),'attrs':{'id':'off-line-icon_clip0_910_343'},'children':[{'tag':_0x52fe9a(0x15d),'attrs':{'fill':_0x52fe9a(0x288),'d':_0x52fe9a(0x2b3)}}]}]}],'defIds':['off-line-icon_clip0_910_343']},_0x269bd4=_0x57419d[_0x52fe9a(0x33f)](function(_0x5be930,_0x365fe1){const _0x5cb34f=_0x52fe9a;return _0x57419d[_0x5cb34f(0x30b)](_0x4d0bbb,Object['assign']({},_0x5be930,{'id':_0x5cb34f(0x15f),'ref':_0x365fe1,'icon':_0x1e864d}));});_0x269bd4[_0x52fe9a(0x1a8)]=_0x52fe9a(0x311);var _0x179536={'tag':_0x52fe9a(0x12d),'attrs':{'xmlns':_0x52fe9a(0x1b0),'fill':_0x52fe9a(0x3bc),'viewBox':'0\x200\x2017\x2016','width':_0x52fe9a(0x39a),'height':_0x52fe9a(0x39a)},'children':[{'tag':'g','attrs':{'clipPath':_0x52fe9a(0x36d)},'children':[{'tag':_0x52fe9a(0x15d),'attrs':{'stroke':_0x52fe9a(0x1cf),'d':_0x52fe9a(0x28c),'strokeLinecap':'round','strokeLinejoin':'round','strokeWidth':1.2}}]},{'tag':_0x52fe9a(0x2c5),'attrs':{},'children':[{'tag':'clipPath','attrs':{'id':_0x52fe9a(0x329)},'children':[{'tag':'path','attrs':{'fill':_0x52fe9a(0x288),'d':_0x52fe9a(0x2b3),'transform':_0x52fe9a(0x278)}}]}]}],'defIds':[_0x52fe9a(0x329)]},_0x4c3aa7=_0x57419d[_0x52fe9a(0x33f)](function(_0x16b6ff,_0x4219a8){const _0x2776a4=_0x52fe9a;return _0x57419d[_0x2776a4(0x30b)](_0x4d0bbb,Object[_0x2776a4(0x303)]({},_0x16b6ff,{'id':'on-line-icon','ref':_0x4219a8,'icon':_0x179536}));});_0x4c3aa7['displayName']=_0x52fe9a(0x217);function _0x3a316a(_0x54320d){const _0x29969d=_0x52fe9a;switch(_0x54320d){case _0x19b52f[_0x29969d(0x2f4)]['OFFLINE']:return'collabStatus.offline';case _0x19b52f['CollaborationStatus'][_0x29969d(0x2c2)]:return _0x29969d(0x1d2);case _0x19b52f['CollaborationStatus'][_0x29969d(0x13e)]:return _0x29969d(0x15e);case _0x19b52f[_0x29969d(0x2f4)][_0x29969d(0x2db)]:return _0x29969d(0x22c);case _0x19b52f[_0x29969d(0x2f4)][_0x29969d(0x17f)]:case _0x19b52f[_0x29969d(0x2f4)][_0x29969d(0x351)]:return _0x29969d(0x144);case _0x19b52f['CollaborationStatus']['SYNCED']:case _0x19b52f['CollaborationStatus'][_0x29969d(0x281)]:return _0x29969d(0x2a0);}}function _0x3af5e3(_0x3a727c){const _0x39ef81=_0x52fe9a,{status$:_0x57ba4f}=_0x3a727c,_0x4cdc80=_0x47db79[_0x39ef81(0x34f)](_0x57ba4f,_0x19b52f[_0x39ef81(0x2f4)]['NOT_COLLAB']),_0x112408=_0x47db79[_0x39ef81(0x167)](_0x333829[_0x39ef81(0x275)]),_0x32088=_0x47db79[_0x39ef81(0x167)](_0x19b52f[_0x39ef81(0x158)]),_0x119a5d=_0x4cdc80!==_0x19b52f[_0x39ef81(0x2f4)][_0x39ef81(0x1c8)],_0x56c7b6=_0x112408['t'](_0x3a316a(_0x4cdc80)),_0x5f41f8=_0x119a5d?_0x155526[_0x39ef81(0x3b9)](_0x4c3aa7,{}):_0x155526[_0x39ef81(0x3b9)](_0x269bd4,{}),_0x7540a0=_0x57419d['useCallback'](()=>{const _0x4e37b2=_0x39ef81;_0x119a5d||_0x32088[_0x4e37b2(0x374)]();},[_0x119a5d,_0x32088]);function _0x1b4a09(){const _0x1ea6dc=_0x39ef81;return _0x155526[_0x1ea6dc(0x2f6)](_0x1ea6dc(0x3a1),{'className':'univer-flex\x20univer-items-center','onClick':_0x7540a0,'children':[_0x155526[_0x1ea6dc(0x3b9)]('div',{'className':_0xffead9['clsx'](_0x1ea6dc(0x368),{'univer-text-green-500':_0x119a5d,'univer-text-red-500':!_0x119a5d}),'children':_0x5f41f8}),_0x155526[_0x1ea6dc(0x3b9)]('div',{'className':_0x1ea6dc(0x1fe),'children':_0x56c7b6})]});}return _0x119a5d?_0x1b4a09():_0x155526[_0x39ef81(0x3b9)](_0xffead9['Tooltip'],{'title':_0x112408['t'](_0x39ef81(0x160)),'children':_0x1b4a09()});}var _0x30a9c9=Object[_0x52fe9a(0x2e5)],_0xbc8edd=(_0x2a02cd,_0x430abe,_0x4c3d44,_0x32e12d)=>{const _0x31bd25=_0x52fe9a;for(var _0x192292=_0x32e12d>0x1?void 0x0:_0x32e12d?_0x30a9c9(_0x430abe,_0x4c3d44):_0x430abe,_0x406ccd=_0x2a02cd[_0x31bd25(0x21d)]-0x1,_0x4ca4db;_0x406ccd>=0x0;_0x406ccd--)(_0x4ca4db=_0x2a02cd[_0x406ccd])&&(_0x192292=_0x4ca4db(_0x192292)||_0x192292);return _0x192292;},_0x2eb492=(_0x49e407,_0x4343ef)=>(_0x355caa,_0x5f47ba)=>_0x4343ef(_0x355caa,_0x5f47ba,_0x49e407);_0x57e2df[_0x52fe9a(0x37f)]=class extends _0x333829['Disposable']{constructor(_0x2b9fee,_0x2cbed2,_0x4b9678,_0xe5d753){const _0x4f2b86=_0x52fe9a;super(),_0x4e27f7(this,_0x4f2b86(0x127),new _0x21dbc8[(_0x4f2b86(0x2e8))](_0x19b52f['CollaborationStatus'][_0x4f2b86(0x2db)])),(this[_0x4f2b86(0x2c8)]=_0x2b9fee,this[_0x4f2b86(0x25e)]=_0x2cbed2,this[_0x4f2b86(0x241)]=_0x4b9678,this[_0x4f2b86(0x25c)]=_0xe5d753,this['_initStatusComponent'](),this[_0x4f2b86(0x27c)]());}[_0x52fe9a(0x27c)](){const _0x2abee8=_0x52fe9a;this[_0x2abee8(0x33a)](this[_0x2abee8(0x2c8)][_0x2abee8(0x15b)][_0x2abee8(0x131)](_0x21dbc8[_0x2abee8(0x149)](()=>{const _0x26321d=_0x2abee8,_0x414f12=this['_univerInstanceService'][_0x26321d(0x30d)]();return _0x414f12?this['_collaborationController'][_0x26321d(0x14c)](_0x414f12[_0x26321d(0x321)]()):_0x21dbc8['of'](null);}),_0x21dbc8[_0x2abee8(0x149)](_0x45f33b=>_0x45f33b?_0x45f33b[_0x2abee8(0x34b)]:_0x21dbc8['of'](_0x19b52f[_0x2abee8(0x2f4)][_0x2abee8(0x2db)])))[_0x2abee8(0x140)](_0x2e9d9c=>{const _0x5e1d07=_0x2abee8;this[_0x5e1d07(0x127)][_0x5e1d07(0x150)](_0x2e9d9c);}));}[_0x52fe9a(0x2a3)](){const _0x48c485=_0x52fe9a;this['disposeWithMe'](this[_0x48c485(0x25c)][_0x48c485(0x1a1)](_0x47db79[_0x48c485(0x31f)][_0x48c485(0x33c)],()=>_0x47db79[_0x48c485(0x1b9)](_0x19a77b({'status$':this[_0x48c485(0x127)][_0x48c485(0x180)]()}),this['_injector'])));}},_0x57e2df['DesktopCollaborationStatusDisplayController']=_0xbc8edd([_0x2eb492(0x0,_0x333829[_0x52fe9a(0x155)]),_0x2eb492(0x1,_0x333829[_0x52fe9a(0x359)](_0x333829[_0x52fe9a(0x335)])),_0x2eb492(0x2,_0x333829['Inject'](_0x19b52f[_0x52fe9a(0x289)])),_0x2eb492(0x3,_0x47db79[_0x52fe9a(0x1d1)])],_0x57e2df['DesktopCollaborationStatusDisplayController']);function _0x19a77b(_0x208cb8){const {status$:_0x4b8ebe}=_0x208cb8;return function(){const _0x53a278=_0x424a;return _0x155526[_0x53a278(0x3b9)](_0x3af5e3,{'status$':_0x4b8ebe});};}var _0x297c16=Object[_0x52fe9a(0x2e5)],_0x1addd3=(_0x5716cb,_0x5ddcb5,_0xdf7e02,_0x5d0dc8)=>{for(var _0x5c86d8=_0x5d0dc8>0x1?void 0x0:_0x5d0dc8?_0x297c16(_0x5ddcb5,_0xdf7e02):_0x5ddcb5,_0x5bf024=_0x5716cb['length']-0x1,_0x262141;_0x5bf024>=0x0;_0x5bf024--)(_0x262141=_0x5716cb[_0x5bf024])&&(_0x5c86d8=_0x262141(_0x5c86d8)||_0x5c86d8);return _0x5c86d8;},_0x25aa39=(_0x31992c,_0xc38dcb)=>(_0x22b6a6,_0x164abc)=>_0xc38dcb(_0x22b6a6,_0x164abc,_0x31992c);let _0x4756d0=class extends _0x333829[_0x52fe9a(0x13b)]{constructor(_0x1998c3,_0x4ca8e9,_0x5e0c30,_0x10291b,_0x3917ae,_0x3fbd8c){const _0x2a291f=_0x52fe9a;super(),this[_0x2a291f(0x259)]=_0x1998c3,this[_0x2a291f(0x394)]=_0x4ca8e9,this[_0x2a291f(0x35e)]=_0x5e0c30,this[_0x2a291f(0x358)]=_0x10291b,this[_0x2a291f(0x1d4)]=_0x3917ae,this[_0x2a291f(0x26c)]=_0x3fbd8c,this[_0x2a291f(0x248)](),this[_0x2a291f(0x1aa)]();}[_0x52fe9a(0x248)](){const _0x3e3b16=_0x52fe9a;this['disposeWithMe'](this[_0x3e3b16(0x259)][_0x3e3b16(0x126)](()=>{const _0x10a3eb=_0x3e3b16;if(this[_0x10a3eb(0x394)][_0x10a3eb(0x343)][_0x10a3eb(0x1a6)])return this[_0x10a3eb(0x26c)]['t']('collaboration-client.offline-data-not-saved');}));}[_0x52fe9a(0x1aa)](){const _0x23353c=_0x52fe9a;this['disposeWithMe'](this['_collaborationUIEventService']['event$'][_0x23353c(0x140)](_0x91fece=>{const _0x891ff7=_0x23353c;_0x91fece['id']===_0x19b52f['CollaborationUIEventId'][_0x891ff7(0x13a)]&&this[_0x891ff7(0x358)][_0x891ff7(0x3b0)]({'type':_0xffead9['MessageType'][_0x891ff7(0x1ab)],'content':this[_0x891ff7(0x26c)]['t'](_0x891ff7(0x1cb))}),_0x91fece['id']===_0x19b52f['CollaborationUIEventId'][_0x891ff7(0x270)]&&this[_0x891ff7(0x358)][_0x891ff7(0x3b0)]({'type':_0xffead9[_0x891ff7(0x208)][_0x891ff7(0x1ab)],'content':this['_localeService']['t'](_0x891ff7(0x298))}),_0x91fece['id']===_0x19b52f['CollaborationUIEventId'][_0x891ff7(0x2a4)]&&this['_notificationService']['show']({'title':this[_0x891ff7(0x26c)]['t'](_0x891ff7(0x142)),'content':this[_0x891ff7(0x26c)]['t'](_0x891ff7(0x177)),'type':_0x891ff7(0x39e),'duration':0x0}),_0x91fece['id']===_0x19b52f[_0x891ff7(0x34d)][_0x891ff7(0x2c2)]&&this[_0x891ff7(0x358)][_0x891ff7(0x3b0)]({'type':_0xffead9['MessageType']['Error'],'content':this[_0x891ff7(0x26c)]['t'](_0x891ff7(0x298))+'('+_0x91fece[_0x891ff7(0x274)]+')'}),_0x91fece['id']===_0x19b52f[_0x891ff7(0x34d)][_0x891ff7(0x1dd)]&&this[_0x891ff7(0x358)]['show']({'type':_0xffead9['MessageType'][_0x891ff7(0x1ab)],'content':this[_0x891ff7(0x26c)]['t'](_0x91fece[_0x891ff7(0x274)]||'')}),_0x91fece['id']===_0x19b52f['CollaborationUIEventId']['SOCKET_FAILED_RETRY']&&this[_0x891ff7(0x358)]['show']({'type':_0xffead9['MessageType'][_0x891ff7(0x1ab)],'content':this['_localeService']['t'](_0x891ff7(0x320))}),_0x91fece['id']===_0x19b52f[_0x891ff7(0x34d)][_0x891ff7(0x128)]&&this[_0x891ff7(0x358)][_0x891ff7(0x3b0)]({'type':_0xffead9[_0x891ff7(0x208)][_0x891ff7(0x2f0)],'content':this[_0x891ff7(0x26c)]['t'](_0x891ff7(0x32b))}),_0x91fece['id']===_0x19b52f[_0x891ff7(0x34d)][_0x891ff7(0x1a5)]&&this[_0x891ff7(0x358)][_0x891ff7(0x3b0)]({'type':_0xffead9[_0x891ff7(0x208)][_0x891ff7(0x2f0)],'content':this[_0x891ff7(0x26c)]['t'](_0x891ff7(0x2a9))});}));}};_0x4756d0=_0x1addd3([_0x25aa39(0x0,_0x47db79[_0x52fe9a(0x3a2)]),_0x25aa39(0x1,_0x19b52f[_0x52fe9a(0x257)]),_0x25aa39(0x2,_0x333829[_0x52fe9a(0x359)](_0x19b52f[_0x52fe9a(0x168)])),_0x25aa39(0x3,_0x47db79[_0x52fe9a(0x1df)]),_0x25aa39(0x4,_0x47db79[_0x52fe9a(0x163)]),_0x25aa39(0x5,_0x333829[_0x52fe9a(0x359)](_0x333829[_0x52fe9a(0x275)]))],_0x4756d0);const _0xdcc0ca='collaboration-client-ui.config',_0x329c35={},_0xe2e142=_0x333829['createIdentifier']('uni.network.url-service');var _0x1156e7=Object['getOwnPropertyDescriptor'],_0x3c674c=(_0x521c7f,_0x390d6b,_0xcee685,_0x82e6ac)=>{const _0x5c2360=_0x52fe9a;for(var _0x5e88e4=_0x82e6ac>0x1?void 0x0:_0x82e6ac?_0x1156e7(_0x390d6b,_0xcee685):_0x390d6b,_0x44e052=_0x521c7f[_0x5c2360(0x21d)]-0x1,_0x13904c;_0x44e052>=0x0;_0x44e052--)(_0x13904c=_0x521c7f[_0x44e052])&&(_0x5e88e4=_0x13904c(_0x5e88e4)||_0x5e88e4);return _0x5e88e4;},_0x13e7a4=(_0x34e7b5,_0x298156)=>(_0x471199,_0x3a3fbb)=>_0x298156(_0x471199,_0x3a3fbb,_0x34e7b5);_0x57e2df['CollaborationDataLoaderController']=class extends _0x333829[_0x52fe9a(0x35f)]{constructor(_0xe87d10,_0x12d88a,_0x2e87f7,_0x2faa3e,_0x5662ba){const _0x2010bf=_0x52fe9a;super(),this['_urlService']=_0xe87d10,this[_0x2010bf(0x316)]=_0x12d88a,this['_commandService']=_0x2e87f7,this[_0x2010bf(0x23b)]=_0x2faa3e,_0x5662ba?_0x5662ba==null||_0x5662ba[_0x2010bf(0x198)]()[_0x2010bf(0x3c1)](()=>this[_0x2010bf(0x237)]()):(this['_logService']['debug'](_0x2010bf(0x2e0),_0x2010bf(0x2df)),this[_0x2010bf(0x237)]());}async[_0x52fe9a(0x237)](){const _0x5a5fbb=_0x52fe9a,_0x2975f1=this[_0x5a5fbb(0x170)][_0x5a5fbb(0x326)]('unit'),_0x19ff35=this['_urlService']['getParam'](_0x5a5fbb(0x3bd)),_0x3746d0=this[_0x5a5fbb(0x170)]['getParam'](_0x5a5fbb(0x1b8));if(!_0x2975f1||!_0x19ff35){this[_0x5a5fbb(0x316)]['debug']('[CollaborationDataLoaderController]',_0x5a5fbb(0x31b));return;}const _0x3459=await this['_dataLoaderService'][_0x5a5fbb(0x3ac)](_0x2975f1,Number(_0x19ff35),_0x3746d0);_0x3459&&_0x3459 instanceof _0x333829[_0x5a5fbb(0x12e)]&&this[_0x5a5fbb(0x39d)](_0x3459);}async[_0x52fe9a(0x39d)](_0x20c7f7){const _0xefa7a4=_0x52fe9a;await this[_0xefa7a4(0x249)](_0x20c7f7),_0x20c7f7[_0xefa7a4(0x276)][_0xefa7a4(0x131)](_0x21dbc8[_0xefa7a4(0x315)](this[_0xefa7a4(0x3b5)]))['subscribe'](_0x37dbb3=>{_0x37dbb3&&this['_updateURLWithCurrentState'](_0x37dbb3);}),this['_urlService'][_0xefa7a4(0x2af)]['pipe'](_0x21dbc8['takeUntil'](this[_0xefa7a4(0x3b5)]))[_0xefa7a4(0x140)](()=>this[_0xefa7a4(0x249)](_0x20c7f7));}['_updateURLWithCurrentState'](_0x3ca419,_0x4a1f26=!0x1){const _0x5efb96=_0x52fe9a,_0x4732d2=this[_0x5efb96(0x170)][_0x5efb96(0x326)](_0x5efb96(0x1b8));_0x3ca419[_0x5efb96(0x29a)]()!==_0x4732d2&&this[_0x5efb96(0x170)][_0x5efb96(0x254)]('subunit',_0x3ca419[_0x5efb96(0x29a)](),_0x4a1f26);}async[_0x52fe9a(0x249)](_0x3b2dee){const _0x2c5c4d=_0x52fe9a;var _0x2bb5b3;const _0x55e4b5=this[_0x2c5c4d(0x170)][_0x2c5c4d(0x326)]('subunit');if(!_0x55e4b5||!_0x3b2dee[_0x2c5c4d(0x37e)](_0x55e4b5)){const _0x2b81b7=_0x3b2dee['getUnhiddenWorksheets']()[0x0],_0x5ef61a=_0x3b2dee[_0x2c5c4d(0x37e)](_0x2b81b7);if(!_0x5ef61a)return;this['_updateURLWithCurrentState'](_0x5ef61a,!0x0),await this['_commandService'][_0x2c5c4d(0x17b)](_0x36f408[_0x2c5c4d(0x1b2)]['id'],{'unitId':_0x3b2dee['getUnitId'](),'subUnitId':_0x2b81b7});return;}((_0x2bb5b3=_0x3b2dee['getActiveSheet']())==null?void 0x0:_0x2bb5b3[_0x2c5c4d(0x29a)]())!==_0x55e4b5&&await this['_commandService'][_0x2c5c4d(0x17b)](_0x36f408[_0x2c5c4d(0x1b2)]['id'],{'unitId':_0x3b2dee[_0x2c5c4d(0x321)](),'subUnitId':_0x55e4b5});}},_0x57e2df[_0x52fe9a(0x199)]=_0x3c674c([_0x13e7a4(0x0,_0xe2e142),_0x13e7a4(0x1,_0x333829[_0x52fe9a(0x239)]),_0x13e7a4(0x2,_0x333829[_0x52fe9a(0x12b)]),_0x13e7a4(0x3,_0x333829[_0x52fe9a(0x359)](_0x19b52f[_0x52fe9a(0x14f)])),_0x13e7a4(0x4,_0x333829[_0x52fe9a(0x1ba)](_0x2f33ce[_0x52fe9a(0x162)]))],_0x57e2df[_0x52fe9a(0x199)]);var _0xbfe25d=Object[_0x52fe9a(0x2e5)],_0x443bd0=(_0x19ff67,_0x345a3e,_0x245177,_0x1903f8)=>{const _0x33f64d=_0x52fe9a;for(var _0x578b25=_0x1903f8>0x1?void 0x0:_0x1903f8?_0xbfe25d(_0x345a3e,_0x245177):_0x345a3e,_0x1222e9=_0x19ff67[_0x33f64d(0x21d)]-0x1,_0x57aaca;_0x1222e9>=0x0;_0x1222e9--)(_0x57aaca=_0x19ff67[_0x1222e9])&&(_0x578b25=_0x57aaca(_0x578b25)||_0x578b25);return _0x578b25;},_0x1169a0=(_0x1aa57d,_0x1aece6)=>(_0x2486b6,_0x11e00e)=>_0x1aece6(_0x2486b6,_0x11e00e,_0x1aa57d);let _0x201757=class{constructor(_0x5c5d92,_0x1f4b16,_0x3f1656){const _0xfecae=_0x52fe9a;this['_injector']=_0x5c5d92,this[_0xfecae(0x176)]=_0x1f4b16,this['_renderManagerService']=_0x3f1656;}[_0x52fe9a(0x30c)](_0x180ab3){const _0xb7671c=_0x52fe9a;this['_transformUndoRedoStack'](_0x180ab3),this[_0xb7671c(0x309)](_0x180ab3);}[_0x52fe9a(0x1d7)](_0x279153){const _0x6d346b=_0x52fe9a,{unitID:_0x2cba9a}=_0x279153,_0x66e96f=this[_0x6d346b(0x399)]['getRenderById'](_0x2cba9a)[_0x6d346b(0x2be)](_0x5cd28b[_0x6d346b(0x341)]),{redoCache:_0x2d95f9}=_0x66e96f[_0x6d346b(0x37b)]();if(_0x2d95f9[_0x6d346b(0x21d)]===0x0)return _0x279153;let _0x277ee3=_0x333829['Tools']['deepClone'](_0x279153['mutations'][0x0]);for(let _0x145f87=0x0;_0x145f87<_0x2d95f9['length'];_0x145f87++){const _0x2c620a={'id':_0x6d346b(0x29d),'params':{..._0x2d95f9[_0x145f87]}},_0x579ec3=this['_transformService'][_0x6d346b(0x37c)](_0x277ee3,_0x2c620a,!0x1);if(_0x2efac4[_0x6d346b(0x212)](_0x579ec3))throw _0x579ec3[_0x6d346b(0x39e)];_0x277ee3=_0x579ec3['m1Prime'];}return{..._0x333829[_0x6d346b(0x175)][_0x6d346b(0x24c)](_0x279153),'mutations':[_0x277ee3]};}[_0x52fe9a(0x371)](_0x162359){const _0x476988=_0x52fe9a,{unitID:_0x3fcdc5}=_0x162359,_0x333219=this[_0x476988(0x399)][_0x476988(0x392)](_0x3fcdc5)[_0x476988(0x2be)](_0x5cd28b[_0x476988(0x341)]),{undoCache:_0x217a1b,redoCache:_0x5a64e6}=_0x333219[_0x476988(0x37b)]();if(_0x217a1b['length']===0x0||_0x5a64e6[_0x476988(0x21d)]===0x0)return;const _0x2e7195=[],_0x2ff592=[];let _0x26ea82=_0x333829['Tools'][_0x476988(0x24c)](_0x162359['mutations'][0x0]),_0xe1e4b2=_0x333829[_0x476988(0x175)][_0x476988(0x24c)](_0x162359['mutations'][0x0]);for(let _0x29714f=_0x217a1b[_0x476988(0x21d)]-0x1;_0x29714f>=0x0;_0x29714f--){const _0x511174={'id':_0x476988(0x29d),'params':{..._0x217a1b[_0x29714f]}},_0x41e8b6={'id':'doc.mutation.rich-text-editing','params':{..._0x5a64e6[_0x29714f]}},_0x418c60=this[_0x476988(0x176)]['transformMutation'](_0x26ea82,_0x511174,!0x1),_0x5a10fc=this['_transformService'][_0x476988(0x37c)](_0xe1e4b2,_0x41e8b6,!0x1);if(_0x2efac4[_0x476988(0x212)](_0x418c60))throw _0x418c60[_0x476988(0x39e)];if(_0x2efac4[_0x476988(0x212)](_0x5a10fc))throw _0x5a10fc[_0x476988(0x39e)];_0x2e7195[_0x476988(0x384)](_0x418c60[_0x476988(0x25a)][_0x476988(0x272)]),_0x2ff592['unshift'](_0x5a10fc['m2Prime'][_0x476988(0x272)]),_0x26ea82=_0x418c60[_0x476988(0x360)],_0xe1e4b2=_0x5a10fc['m1Prime'];}_0x333219[_0x476988(0x1bd)]({'undoCache':_0x2e7195,'redoCache':_0x2ff592});}[_0x52fe9a(0x309)](_0x1ceb00){const _0x5bca0e=_0x52fe9a,{unitID:_0x5119ac}=_0x1ceb00,_0x53e541=this[_0x5bca0e(0x399)][_0x5bca0e(0x392)](_0x5119ac)['with'](_0x5cd28b[_0x5bca0e(0x341)]),_0x1a684b=_0x53e541[_0x5bca0e(0x182)]();if(_0x1a684b==null)return;const _0x5ade42=[{'id':_0x5bca0e(0x29d),'params':{'unitId':_0x1ceb00[_0x5bca0e(0x1e4)],'actions':null,'textRanges':[_0x1a684b]}}],_0x3ec082=this[_0x5bca0e(0x176)][_0x5bca0e(0x287)](_0x1ceb00,_0x5ade42);if(!_0x2efac4['isTransformMutationsWithChangesetSuccess'](_0x3ec082))throw _0x3ec082[_0x5bca0e(0x39e)];const _0x36dd80=_0x3ec082['m2Prime'][0x0][_0x5bca0e(0x272)]['textRanges'];Array[_0x5bca0e(0x1f4)](_0x36dd80)&&_0x36dd80['length']&&_0x53e541[_0x5bca0e(0x197)](_0x36dd80[0x0]);}};_0x201757=_0x443bd0([_0x1169a0(0x0,_0x333829[_0x52fe9a(0x359)](_0x333829[_0x52fe9a(0x335)])),_0x1169a0(0x1,_0x2efac4[_0x52fe9a(0x218)]),_0x1169a0(0x2,_0x1e4d9a[_0x52fe9a(0x1c9)])],_0x201757);var _0x1c292d=Object[_0x52fe9a(0x2e5)],_0x15ca3e=(_0x3e4728,_0x5bb2f7,_0x632e4a,_0x489eb9)=>{for(var _0x491df9=_0x489eb9>0x1?void 0x0:_0x489eb9?_0x1c292d(_0x5bb2f7,_0x632e4a):_0x5bb2f7,_0x536cf4=_0x3e4728['length']-0x1,_0x47fcf5;_0x536cf4>=0x0;_0x536cf4--)(_0x47fcf5=_0x3e4728[_0x536cf4])&&(_0x491df9=_0x47fcf5(_0x491df9)||_0x491df9);return _0x491df9;},_0x3137c1=(_0x494003,_0x44f793)=>(_0x19813f,_0x1d6915)=>_0x44f793(_0x19813f,_0x1d6915,_0x494003);let _0x9162f9=class{constructor(_0x54c01a,_0x365167,_0x4d5e1c){const _0x54ab40=_0x52fe9a;this[_0x54ab40(0x25e)]=_0x54c01a,this[_0x54ab40(0x176)]=_0x365167,this[_0x54ab40(0x2cc)]=_0x4d5e1c;}[_0x52fe9a(0x269)](_0x161f1e){this['_transformHistoryAndStateStack'](_0x161f1e);}[_0x52fe9a(0x1d7)](_0x35974f){const _0xc482d1=_0x52fe9a,{unitID:_0x36a52b}=_0x35974f,{collaboration:_0x3860a9}=this['_docStateChangeManagerService'][_0xc482d1(0x30a)](_0x36a52b);if(_0x3860a9[_0xc482d1(0x21d)]===0x0)return _0x35974f;let _0x35c485=_0x333829[_0xc482d1(0x175)][_0xc482d1(0x24c)](_0x35974f['mutations'][0x0]);for(let _0x365a1b=0x0;_0x365a1b<_0x3860a9[_0xc482d1(0x21d)];_0x365a1b++){const _0xb0b3af={'id':_0xc482d1(0x29d),'params':{'unitId':_0x3860a9[_0x365a1b][_0xc482d1(0x356)],..._0x3860a9[_0x365a1b][_0xc482d1(0x1da)]}},_0x12e850=this['_transformService'][_0xc482d1(0x37c)](_0x35c485,_0xb0b3af,!0x1);if(_0x2efac4[_0xc482d1(0x212)](_0x12e850))throw _0x12e850[_0xc482d1(0x39e)];_0x35c485=_0x12e850[_0xc482d1(0x360)];}return{..._0x333829[_0xc482d1(0x175)][_0xc482d1(0x24c)](_0x35974f),'mutations':[_0x35c485]};}[_0x52fe9a(0x219)](_0x2112d0){const _0x1f9b72=_0x52fe9a,{unitID:_0x2fa287}=_0x2112d0,{history:_0x16d394,collaboration:_0x196f3c}=this[_0x1f9b72(0x2cc)][_0x1f9b72(0x30a)](_0x2fa287);if(_0x16d394[_0x1f9b72(0x21d)]===0x0&&_0x196f3c[_0x1f9b72(0x21d)]===0x0)return;const _0x69257b=[],_0x126ca3=[];let _0x7d042b=_0x333829['Tools'][_0x1f9b72(0x24c)](_0x2112d0[_0x1f9b72(0x28f)][0x0]),_0x121022=_0x333829[_0x1f9b72(0x175)][_0x1f9b72(0x24c)](_0x2112d0['mutations'][0x0]);for(let _0x1e5a04=_0x16d394[_0x1f9b72(0x21d)]-0x1;_0x1e5a04>=0x0;_0x1e5a04--){const _0x58ca67={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x16d394[_0x1e5a04][_0x1f9b72(0x356)],..._0x16d394[_0x1e5a04][_0x1f9b72(0x1f1)]}},_0x1e2c5f={'id':_0x1f9b72(0x29d),'params':{'unitId':_0x16d394[_0x1e5a04][_0x1f9b72(0x356)],..._0x16d394[_0x1e5a04][_0x1f9b72(0x1da)]}},_0x34989b=this[_0x1f9b72(0x176)][_0x1f9b72(0x37c)](_0x7d042b,_0x58ca67,!0x1),_0x22219c=this[_0x1f9b72(0x176)][_0x1f9b72(0x37c)](_0x121022,_0x1e2c5f,!0x1);if(_0x2efac4['isTransformMutationFailure'](_0x34989b))throw _0x34989b[_0x1f9b72(0x39e)];if(_0x2efac4[_0x1f9b72(0x212)](_0x22219c))throw _0x22219c['error'];_0x69257b[_0x1f9b72(0x384)]({..._0x16d394[_0x1e5a04],'undoState':_0x34989b['m2Prime']['params'],'redoState':_0x22219c[_0x1f9b72(0x25a)][_0x1f9b72(0x272)]}),_0x7d042b=_0x34989b[_0x1f9b72(0x360)],_0x121022=_0x22219c[_0x1f9b72(0x360)];}_0x7d042b=_0x333829['Tools'][_0x1f9b72(0x24c)](_0x2112d0[_0x1f9b72(0x28f)][0x0]),_0x121022=_0x333829[_0x1f9b72(0x175)][_0x1f9b72(0x24c)](_0x2112d0[_0x1f9b72(0x28f)][0x0]);for(let _0x4ee1bf=_0x196f3c[_0x1f9b72(0x21d)]-0x1;_0x4ee1bf>=0x0;_0x4ee1bf--){const _0x1962a5={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x196f3c[_0x4ee1bf][_0x1f9b72(0x356)],..._0x196f3c[_0x4ee1bf][_0x1f9b72(0x1f1)]}},_0x554b65={'id':_0x1f9b72(0x29d),'params':{'unitId':_0x196f3c[_0x4ee1bf][_0x1f9b72(0x356)],..._0x196f3c[_0x4ee1bf]['redoState']}},_0xc4ce3=this[_0x1f9b72(0x176)][_0x1f9b72(0x37c)](_0x7d042b,_0x1962a5,!0x1),_0x231e03=this[_0x1f9b72(0x176)]['transformMutation'](_0x121022,_0x554b65,!0x1);if(_0x2efac4['isTransformMutationFailure'](_0xc4ce3))throw _0xc4ce3[_0x1f9b72(0x39e)];if(_0x2efac4['isTransformMutationFailure'](_0x231e03))throw _0x231e03[_0x1f9b72(0x39e)];_0x126ca3[_0x1f9b72(0x384)]({..._0x196f3c[_0x4ee1bf],'undoState':_0xc4ce3[_0x1f9b72(0x25a)]['params'],'redoState':_0x231e03[_0x1f9b72(0x25a)]['params']}),_0x7d042b=_0xc4ce3[_0x1f9b72(0x360)],_0x121022=_0x231e03['m1Prime'];}this[_0x1f9b72(0x2cc)]['setStateCache'](_0x2fa287,{'history':_0x69257b,'collaboration':_0x126ca3});}};_0x9162f9=_0x15ca3e([_0x3137c1(0x0,_0x333829[_0x52fe9a(0x359)](_0x333829['Injector'])),_0x3137c1(0x1,_0x2efac4['ITransformService']),_0x3137c1(0x2,_0x333829['Inject'](_0x5cd28b[_0x52fe9a(0x325)]))],_0x9162f9);var _0x1aa30d=Object['getOwnPropertyDescriptor'],_0x374744=(_0x5bff23,_0x5dc10c,_0xf4cd7f,_0x1cfb4a)=>{const _0x3ba225=_0x52fe9a;for(var _0x599925=_0x1cfb4a>0x1?void 0x0:_0x1cfb4a?_0x1aa30d(_0x5dc10c,_0xf4cd7f):_0x5dc10c,_0x16e401=_0x5bff23[_0x3ba225(0x21d)]-0x1,_0x4f6cad;_0x16e401>=0x0;_0x16e401--)(_0x4f6cad=_0x5bff23[_0x16e401])&&(_0x599925=_0x4f6cad(_0x599925)||_0x599925);return _0x599925;},_0x5a05b0=(_0x5a7b71,_0x58ffc8)=>(_0x395fe1,_0xe0855c)=>_0x58ffc8(_0x395fe1,_0xe0855c,_0x5a7b71);let _0x3b0bab=class{constructor(_0x551521,_0x2f5803){const _0x174ec3=_0x52fe9a;this['_injector']=_0x551521,this[_0x174ec3(0x176)]=_0x2f5803;}[_0x52fe9a(0x1c1)](_0x2d8d2e){const _0x3c9409=_0x52fe9a;var _0x3ebd59;const _0x34d0c7=this['_injector'][_0x3c9409(0x29f)](_0x3cc684['DocSelectionManagerService']),_0x579a86=(_0x3ebd59=_0x34d0c7[_0x3c9409(0x37a)]())!=null?_0x3ebd59:[];if(_0x579a86[_0x3c9409(0x21d)]===0x0)return;const _0x5d1392=_0x2d8d2e[_0x3c9409(0x1e4)],_0x5405d1=[{'id':_0x3c9409(0x29d),'params':{'unitId':_0x5d1392,'actions':null,'textRanges':_0x579a86}}],_0x34ab7a=this[_0x3c9409(0x176)][_0x3c9409(0x287)](_0x2d8d2e,_0x5405d1);if(!_0x2efac4[_0x3c9409(0x2a8)](_0x34ab7a))throw _0x34ab7a[_0x3c9409(0x39e)];const _0x2dfa7f=_0x34ab7a['m2Prime'][0x0][_0x3c9409(0x272)][_0x3c9409(0x3ab)];Array[_0x3c9409(0x1f4)](_0x2dfa7f)&&_0x2dfa7f[_0x3c9409(0x21d)]&&_0x34d0c7[_0x3c9409(0x2c9)](_0x2dfa7f,{'unitId':_0x5d1392,'subUnitId':_0x5d1392},!0x1);}};_0x3b0bab=_0x374744([_0x5a05b0(0x0,_0x333829[_0x52fe9a(0x359)](_0x333829[_0x52fe9a(0x335)])),_0x5a05b0(0x1,_0x2efac4['ITransformService'])],_0x3b0bab);var _0x78c432=Object[_0x52fe9a(0x2e5)],_0x4af32f=(_0x35ac97,_0x1e2d1f,_0xd66edf,_0x4dc024)=>{const _0x1764fe=_0x52fe9a;for(var _0x35111b=_0x4dc024>0x1?void 0x0:_0x4dc024?_0x78c432(_0x1e2d1f,_0xd66edf):_0x1e2d1f,_0x9a3b7=_0x35ac97[_0x1764fe(0x21d)]-0x1,_0x35056f;_0x9a3b7>=0x0;_0x9a3b7--)(_0x35056f=_0x35ac97[_0x9a3b7])&&(_0x35111b=_0x35056f(_0x35111b)||_0x35111b);return _0x35111b;},_0x286d1b=(_0x339641,_0xc41d92)=>(_0x1e31a3,_0x576b53)=>_0xc41d92(_0x1e31a3,_0x576b53,_0x339641);let _0x597c02=class extends _0x333829[_0x52fe9a(0x13b)]{constructor(_0x5cb14a,_0x2469b0,_0x10e3a7,_0x46f116,_0x6e584a,_0x480691,_0x47a7b1,_0x25d889){const _0x5e35ff=_0x52fe9a;super(),_0x4e27f7(this,_0x5e35ff(0x127),new _0x21dbc8[(_0x5e35ff(0x2e8))](_0x19b52f[_0x5e35ff(0x2f4)][_0x5e35ff(0x2db)])),(this[_0x5e35ff(0x2cc)]=_0x5cb14a,this[_0x5e35ff(0x241)]=_0x2469b0,this[_0x5e35ff(0x38a)]=_0x10e3a7,this[_0x5e35ff(0x375)]=_0x46f116,this['_docTransformSelectionsService']=_0x6e584a,this[_0x5e35ff(0x38d)]=_0x480691,this[_0x5e35ff(0x358)]=_0x47a7b1,this[_0x5e35ff(0x26c)]=_0x25d889,this['_initEntityListener']());}[_0x52fe9a(0x390)](){const _0x507674=_0x52fe9a;this[_0x507674(0x33a)](this[_0x507674(0x241)]['entityInit$'][_0x507674(0x140)](_0x24901d=>{const _0x3b205c=_0x507674,_0x3200fa=this['_docStateChangeManagerService']['docStateChange$'][_0x3b205c(0x140)](_0x328136=>{const _0x1b1e0f=_0x3b205c;if(_0x328136==null)return;const {unitId:_0x4ea164,redoState:_0x13d0e9,commandId:_0x17d4e8}=_0x328136;if(_0x4ea164!==_0x24901d[_0x1b1e0f(0x1e4)])return;const _0x1abe51={'id':_0x17d4e8,'type':_0x333829[_0x1b1e0f(0x328)][_0x1b1e0f(0x22a)],'params':{'unitId':_0x4ea164,'actions':_0x13d0e9[_0x1b1e0f(0x238)],'textRanges':null}};_0x24901d[_0x1b1e0f(0x2a2)](_0x1abe51);});if(_0x24901d['disposeWithMe'](_0x3200fa),_0x24901d instanceof _0x19b52f[_0x3b205c(0x3b7)]){const _0x29d72b={'onTransformIME':_0x13338f=>this[_0x3b205c(0x38a)][_0x3b205c(0x30c)](_0x13338f),'onTransformState':_0x2def18=>this[_0x3b205c(0x375)][_0x3b205c(0x269)](_0x2def18),'onTransformSelections':_0x26a0b3=>this[_0x3b205c(0x31e)]['transformSelections'](_0x26a0b3),'onSyncEditingCollabCursor':_0x222574=>this[_0x3b205c(0x38d)][_0x3b205c(0x209)](_0x222574),'onTransformRemoteChangesetByIMECache':_0x3f5860=>this[_0x3b205c(0x38a)][_0x3b205c(0x1d7)](_0x3f5860),'onTransformRemoteChangesetByStateCache':_0x2f7611=>this[_0x3b205c(0x375)][_0x3b205c(0x1d7)](_0x2f7611)};_0x24901d[_0x3b205c(0x2dc)](_0x29d72b);}}));}};_0x597c02=_0x4af32f([_0x286d1b(0x0,_0x333829['Inject'](_0x5cd28b[_0x52fe9a(0x325)])),_0x286d1b(0x1,_0x333829[_0x52fe9a(0x359)](_0x19b52f[_0x52fe9a(0x289)])),_0x286d1b(0x2,_0x333829['Inject'](_0x201757)),_0x286d1b(0x3,_0x333829[_0x52fe9a(0x359)](_0x9162f9)),_0x286d1b(0x4,_0x333829[_0x52fe9a(0x359)](_0x3b0bab)),_0x286d1b(0x5,_0x333829[_0x52fe9a(0x359)](_0x23fd98)),_0x286d1b(0x6,_0x47db79[_0x52fe9a(0x1df)]),_0x286d1b(0x7,_0x333829[_0x52fe9a(0x359)](_0x333829[_0x52fe9a(0x275)]))],_0x597c02);var _0x34ac79=Object[_0x52fe9a(0x2e5)],_0x2c985c=(_0x48315b,_0x2bef77,_0x59d47e,_0x3bb18f)=>{const _0x1d14c6=_0x52fe9a;for(var _0x289866=_0x3bb18f>0x1?void 0x0:_0x3bb18f?_0x34ac79(_0x2bef77,_0x59d47e):_0x2bef77,_0x493cd4=_0x48315b[_0x1d14c6(0x21d)]-0x1,_0x2088e9;_0x493cd4>=0x0;_0x493cd4--)(_0x2088e9=_0x48315b[_0x493cd4])&&(_0x289866=_0x2088e9(_0x289866)||_0x289866);return _0x289866;},_0x5ca813=(_0x368fc0,_0x141e0a)=>(_0xdc9c62,_0x2be9be)=>_0x141e0a(_0xdc9c62,_0x2be9be,_0x368fc0);let _0x57f732=class extends _0x333829[_0x52fe9a(0x13b)]{constructor(_0x511911,_0x21ea17,_0x573f5a){const _0x318400=_0x52fe9a;super(),_0x4e27f7(this,_0x318400(0x346),new Map()),_0x4e27f7(this,_0x318400(0x35a),new Map()),_0x4e27f7(this,_0x318400(0x364),!0x1),(this[_0x318400(0x1d9)]=_0x511911,this[_0x318400(0x353)]=_0x21ea17,this[_0x318400(0x369)]=_0x573f5a);}['disableLocalCache'](){this['_disabled']=!0x0;}[_0x52fe9a(0x2ff)](){const _0x6428cb=_0x52fe9a;this[_0x6428cb(0x364)]=!0x1;}get['saveTaskMap'](){return this['_saveTaskMap'];}[_0x52fe9a(0x16a)](){const _0x31f306=_0x52fe9a;this[_0x31f306(0x347)]()[_0x31f306(0x3c1)](()=>super[_0x31f306(0x16a)]());}async[_0x52fe9a(0x267)](_0x294ede){const _0x24e426=_0x52fe9a;return this[_0x24e426(0x364)]?null:this[_0x24e426(0x353)][_0x24e426(0x332)](_0x19b52f[_0x24e426(0x1ec)](_0x294ede));}async[_0x52fe9a(0x2f3)](_0xddfcbf,_0x4f52c9){const _0x8566c0=_0x52fe9a;return!!this[_0x8566c0(0x353)]['setItem'](_0xddfcbf,_0x4f52c9);}[_0x52fe9a(0x260)](_0x2bf92b,_0x199f4e,_0x3fd52c,_0x4f5f14){const _0x497785=_0x52fe9a,_0x7f4692=this['_revisionService'][_0x497785(0x178)](_0x2bf92b);this[_0x497785(0x346)][_0x497785(0x242)](_0x2bf92b,{'unitID':_0x2bf92b,'type':_0x199f4e,'awaitingChangeset':_0x3fd52c,'mutations':_0x4f5f14,'rev':_0x7f4692}),this[_0x497785(0x35a)]['has'](_0x2bf92b)||this[_0x497785(0x2ee)](_0x2bf92b);}[_0x52fe9a(0x2ee)](_0x322a0e){const _0x1dfb98=_0x52fe9a,_0x1ed1c0=this['_getSaveTimeout']();_0x1ed1c0===0x0?this[_0x1dfb98(0x2aa)](_0x322a0e):this[_0x1dfb98(0x35a)][_0x1dfb98(0x242)](_0x322a0e,setTimeout(()=>this[_0x1dfb98(0x2aa)](_0x322a0e),_0x1ed1c0));}['_getSaveTimeout'](){const _0x42a898=_0x52fe9a;var _0x3c1955;return(_0x3c1955=this[_0x42a898(0x1d9)][_0x42a898(0x286)](_0x19b52f[_0x42a898(0x13f)]))!=null?_0x3c1955:_0x19b52f[_0x42a898(0x258)];}[_0x52fe9a(0x2aa)](_0x27fa95){const _0x2e1975=_0x52fe9a,_0x11ff30=this[_0x2e1975(0x35a)][_0x2e1975(0x29f)](_0x27fa95);return _0x11ff30!==void 0x0&&window[_0x2e1975(0x396)](_0x11ff30),this[_0x2e1975(0x353)][_0x2e1975(0x195)](_0x19b52f[_0x2e1975(0x1ec)](_0x27fa95),this['_cachedData'][_0x2e1975(0x29f)](_0x27fa95))[_0x2e1975(0x3c1)](()=>this[_0x2e1975(0x35a)][_0x2e1975(0x29b)](_0x27fa95));}async[_0x52fe9a(0x347)](){const _0x25b9a6=_0x52fe9a,_0x5f4cea=[];this[_0x25b9a6(0x35a)][_0x25b9a6(0x1ea)]((_0x474a96,_0x1f0056)=>{const _0x5e15b7=_0x25b9a6;window[_0x5e15b7(0x396)](_0x474a96),_0x5f4cea[_0x5e15b7(0x19e)](this['_saveCache'](_0x1f0056)['then'](()=>{const _0x17b9cc=_0x5e15b7;this[_0x17b9cc(0x35a)][_0x17b9cc(0x29b)](_0x1f0056);}));}),await Promise[_0x25b9a6(0x39f)](_0x5f4cea);}};_0x57f732=_0x2c985c([_0x5ca813(0x0,_0x333829[_0x52fe9a(0x2ab)]),_0x5ca813(0x1,_0x333829[_0x52fe9a(0x378)]),_0x5ca813(0x2,_0x333829[_0x52fe9a(0x359)](_0x2efac4['RevisionService']))],_0x57f732);class _0x552b4e extends _0x333829['RxDisposable']{constructor(){const _0x488457=_0x52fe9a;super(),_0x4e27f7(this,'urlChange$'),this['urlChange$']=_0x21dbc8[_0x488457(0x121)](window,_0x488457(0x3a5))[_0x488457(0x131)](_0x21dbc8['takeUntil'](this[_0x488457(0x3b5)]),_0x21dbc8[_0x488457(0x190)](0x1),_0x21dbc8[_0x488457(0x14b)](void 0x0));}[_0x52fe9a(0x254)](_0x122f8f,_0x1f9b91,_0x57320c=!0x1){const _0x5e9c2a=_0x52fe9a,_0x22ffbc=new URL(window[_0x5e9c2a(0x1ac)][_0x5e9c2a(0x1fb)]);_0x22ffbc[_0x5e9c2a(0x124)][_0x5e9c2a(0x242)](_0x122f8f,_0x1f9b91),_0x57320c?window[_0x5e9c2a(0x2c1)]['replaceState']('','',_0x22ffbc['toString']()):window['history']['pushState']('','',_0x22ffbc[_0x5e9c2a(0x18a)]());}[_0x52fe9a(0x20e)](_0x51f9a6,_0x58721e=!0x1){const _0x2a73f9=_0x52fe9a,_0x41db74=new URL(window['location']['href']);_0x41db74['searchParams'][_0x2a73f9(0x29b)](_0x51f9a6),_0x58721e?window['history'][_0x2a73f9(0x221)]('','',_0x41db74['toString']()):window['history'][_0x2a73f9(0x24a)]('','',_0x41db74[_0x2a73f9(0x18a)]());}[_0x52fe9a(0x326)](_0x15a8af){const _0x2b1343=_0x52fe9a;var _0x16d00d;return(_0x16d00d=new URL(window[_0x2b1343(0x1ac)]['href'])[_0x2b1343(0x124)][_0x2b1343(0x29f)](_0x15a8af))!=null?_0x16d00d:void 0x0;}}var _0xef97ef=Object[_0x52fe9a(0x2ed)],_0x5e4d74=Object[_0x52fe9a(0x2e5)],_0x38843a=(_0x27371c,_0x574447,_0xe091c9)=>_0x574447 in _0x27371c?_0xef97ef(_0x27371c,_0x574447,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0xe091c9}):_0x27371c[_0x574447]=_0xe091c9,_0x368c4c=(_0x1b0f9a,_0x3c420b,_0x2d15cc,_0x4c6ce0)=>{const _0x492021=_0x52fe9a;for(var _0x599e70=_0x4c6ce0>0x1?void 0x0:_0x4c6ce0?_0x5e4d74(_0x3c420b,_0x2d15cc):_0x3c420b,_0x101693=_0x1b0f9a[_0x492021(0x21d)]-0x1,_0x4df83c;_0x101693>=0x0;_0x101693--)(_0x4df83c=_0x1b0f9a[_0x101693])&&(_0x599e70=_0x4df83c(_0x599e70)||_0x599e70);return _0x599e70;},_0xaf342b=(_0x196221,_0x46d24a)=>(_0x286814,_0x1b43a8)=>_0x46d24a(_0x286814,_0x1b43a8,_0x196221),_0xfa123c=(_0x564f39,_0x3c6ef4,_0xb796e7)=>_0x38843a(_0x564f39,_0x3c6ef4+'',_0xb796e7);const _0x380066=_0x52fe9a(0x179);_0x57e2df[_0x52fe9a(0x292)]=class extends _0x333829['Plugin']{constructor(_0x500870=_0x329c35,_0x56f4e2,_0x3714b9,_0x1924ff){const _0x57a859=_0x52fe9a;super(),this[_0x57a859(0x188)]=_0x500870,this[_0x57a859(0x399)]=_0x56f4e2,this['_injector']=_0x3714b9,this[_0x57a859(0x1d9)]=_0x1924ff;const {..._0x3b5ce2}=_0x333829[_0x57a859(0x334)]({},_0x329c35,this[_0x57a859(0x188)]);this[_0x57a859(0x1d9)][_0x57a859(0x18d)](_0xdcc0ca,_0x3b5ce2);}[_0x52fe9a(0x216)](){const _0x2f9922=_0x52fe9a;this[_0x2f9922(0x3be)](),this['_initDependencies']();}[_0x52fe9a(0x196)](){const _0x128826=_0x52fe9a;this[_0x128826(0x19c)]();}[_0x52fe9a(0x3be)](){const _0xf8b454=_0x52fe9a;var _0x279198;const _0x2fb363=[[_0x35591e],[_0x3b0bab],[_0x201757],[_0x9162f9],[_0x23fd98],[_0xe2e142,{'useClass':_0x552b4e}],[_0x498070[_0xf8b454(0x31d)],{'useClass':_0x498070[_0xf8b454(0x16e)]}],[_0x19b52f['ILocalCacheService'],{'useClass':_0x57f732}],[_0x57e2df[_0xf8b454(0x37f)]],[_0x597c02],[_0x4756d0],[_0x50aeb5],[_0x291a06],[_0x57e2df[_0xf8b454(0x199)]]];_0x333829[_0xf8b454(0x136)](this['_injector'],_0x333829[_0xf8b454(0x211)](_0x2fb363,(_0x279198=this['_config'])==null?void 0x0:_0x279198[_0xf8b454(0x397)]));}[_0x52fe9a(0x19c)](){const _0x48316f=_0x52fe9a;this[_0x48316f(0x33a)](this['_renderManagerService'][_0x48316f(0x2ea)](_0x333829[_0x48316f(0x26f)][_0x48316f(0x393)],[_0x55e631])),this['disposeWithMe'](this[_0x48316f(0x399)][_0x48316f(0x2ea)](_0x333829['UniverInstanceType']['UNIVER_SHEET'],[_0x120041]));}['_initDependencies'](){const _0x33cd90=_0x52fe9a;_0x333829[_0x33cd90(0x2f9)](this[_0x33cd90(0x25e)],[[_0x50aeb5],[_0x57e2df[_0x33cd90(0x37f)]],[_0x597c02],[_0x4756d0],[_0x57e2df[_0x33cd90(0x199)]]]);}},_0xfa123c(_0x57e2df[_0x52fe9a(0x292)],_0x52fe9a(0x1c5),_0x380066),_0x57e2df[_0x52fe9a(0x292)]=_0x368c4c([_0x333829['DependentOn'](_0x19b52f['UniverCollaborationClientPlugin']),_0xaf342b(0x1,_0x1e4d9a['IRenderManagerService']),_0xaf342b(0x2,_0x333829[_0x52fe9a(0x359)](_0x333829[_0x52fe9a(0x335)])),_0xaf342b(0x3,_0x333829['IConfigService'])],_0x57e2df[_0x52fe9a(0x292)]);var _0x3ee278=Object[_0x52fe9a(0x2e5)],_0x5de4af=(_0x41fffb,_0x2a214a,_0x5bda43,_0x1d5cd0)=>{for(var _0x9b02df=_0x1d5cd0>0x1?void 0x0:_0x1d5cd0?_0x3ee278(_0x2a214a,_0x5bda43):_0x2a214a,_0x1e72f6=_0x41fffb['length']-0x1,_0x108580;_0x1e72f6>=0x0;_0x1e72f6--)(_0x108580=_0x41fffb[_0x1e72f6])&&(_0x9b02df=_0x108580(_0x9b02df)||_0x9b02df);return _0x9b02df;},_0x321838=(_0x18938d,_0x2a1ae8)=>(_0x49cf2a,_0x53317a)=>_0x2a1ae8(_0x49cf2a,_0x53317a,_0x18938d);_0x57e2df[_0x52fe9a(0x2ca)]=class extends _0x19b52f['CollaborationSocketService']{constructor(_0x463aea,_0x121966,_0x2ae29d,_0x277995,_0x4bd2a1){super(_0x463aea,_0x121966,_0x2ae29d,_0x277995,_0x4bd2a1);}async[_0x52fe9a(0x133)](_0x3b3b22){const _0x5afead=_0x52fe9a,_0x347fb9=await this[_0x5afead(0x253)](),_0x43b71c=this[_0x5afead(0x297)](_0x3b3b22,_0x347fb9);return this[_0x5afead(0x318)](_0x43b71c);}[_0x52fe9a(0x297)](_0x2d394f,_0x35d64e){const _0x37899f=_0x52fe9a,_0x10a443=typeof window>'u'?new URL(_0x2d394f):new URL(_0x2d394f,window[_0x37899f(0x1ac)][_0x37899f(0x2e6)]);_0x10a443[_0x37899f(0x124)][_0x37899f(0x242)](_0x37899f(0x22e),_0x35d64e);const _0x44eead=typeof window>'u'?new URLSearchParams():new URLSearchParams(window[_0x37899f(0x1ac)][_0x37899f(0x273)]);return _0x44eead['get'](_0x37899f(0x2b6))&&_0x10a443[_0x37899f(0x124)][_0x37899f(0x242)](_0x37899f(0x2b6),_0x44eead['get']('runId')),_0x10a443[_0x37899f(0x18a)]();}async[_0x52fe9a(0x253)](){const _0xdf9d30=_0x52fe9a;var _0x4729ce,_0x17d61b,_0x4da810;const _0x50cd32=this['_configService'][_0xdf9d30(0x286)](_0x19b52f[_0xdf9d30(0x33b)]),_0xd7cf88=(_0x4729ce=_0x50cd32==null?void 0x0:_0x50cd32[_0xdf9d30(0x2d5)])!=null?_0x4729ce:_0x19b52f[_0xdf9d30(0x2de)];return(_0x4da810=(_0x17d61b=(await this[_0xdf9d30(0x183)][_0xdf9d30(0x29f)](_0xd7cf88,{'headers':{'Content-Type':'application/json'}}))[_0xdf9d30(0x1d5)])==null?void 0x0:_0x17d61b[_0xdf9d30(0x2fa)])!=null?_0x4da810:'';}},_0x57e2df[_0x52fe9a(0x2ca)]=_0x5de4af([_0x321838(0x0,_0x333829[_0x52fe9a(0x359)](_0x333829[_0x52fe9a(0x335)])),_0x321838(0x1,_0x333829[_0x52fe9a(0x359)](_0x498070['HTTPService'])),_0x321838(0x2,_0x333829['IConfigService']),_0x321838(0x3,_0x333829[_0x52fe9a(0x239)]),_0x321838(0x4,_0x2efac4[_0x52fe9a(0x373)])],_0x57e2df[_0x52fe9a(0x2ca)]);const _0x322517=0x7530,_0x3b8dec=_0x52fe9a(0x191);class _0x4b3c9e extends _0x333829['Disposable']{constructor(){const _0x19d547=_0x52fe9a;super(),_0x4e27f7(this,'_id',_0x333829[_0x19d547(0x1a7)]()),_0x4e27f7(this,_0x19d547(0x1af),new Set()),_0x4e27f7(this,'_unitOnClients',new Map()),_0x4e27f7(this,_0x19d547(0x263),null),_0x4e27f7(this,_0x19d547(0x185),new Map()),_0x4e27f7(this,_0x19d547(0x36b),new Map()),this[_0x19d547(0x237)]();}[_0x52fe9a(0x16a)](){const _0x2ed7cc=_0x52fe9a;super['dispose'](),this['_clearOtherTimers']['forEach']((_0x499d24,_0x37f92a)=>this[_0x2ed7cc(0x372)](_0x37f92a)),this[_0x2ed7cc(0x263)]&&window[_0x2ed7cc(0x27f)](this['_heartbeatTimer']);}[_0x52fe9a(0x2b9)](_0x2ef534){const _0x57139d=_0x52fe9a;return this['_ensureSubject'](_0x2ef534)[_0x57139d(0x131)](_0x21dbc8[_0x57139d(0x187)]());}[_0x52fe9a(0x36f)](_0x4b4178){const _0x54aed4=_0x52fe9a;this[_0x54aed4(0x1af)][_0x54aed4(0x1a6)]===0x0&&this[_0x54aed4(0x2d7)](),this[_0x54aed4(0x1af)][_0x54aed4(0x2ba)](_0x4b4178),this[_0x54aed4(0x2f8)]({'type':0x0,'memberID':this[_0x54aed4(0x268)],'unitIDs':[_0x4b4178],'isForwarded':!0x1});}['disposeUnit'](_0x59c54a){const _0x430455=_0x52fe9a;this[_0x430455(0x1af)][_0x430455(0x29b)](_0x59c54a),this['_selfUnitIDs'][_0x430455(0x1a6)]===0x0&&this[_0x430455(0x263)]&&window[_0x430455(0x27f)](this[_0x430455(0x263)]);}[_0x52fe9a(0x237)](){const _0x34f6fb=_0x52fe9a;this['disposeWithMe'](_0x333829[_0x34f6fb(0x2cb)](_0x21dbc8[_0x34f6fb(0x121)](window,_0x34f6fb(0x299))[_0x34f6fb(0x140)](_0x124dfa=>{const _0xc7a83d=_0x34f6fb;if(_0x124dfa[_0xc7a83d(0x201)]!==_0x3b8dec||!_0x124dfa[_0xc7a83d(0x1f9)])return;const _0x4f759b=JSON[_0xc7a83d(0x361)](_0x124dfa[_0xc7a83d(0x1f9)]);this['_handleEvent'](_0x4f759b);}))),window[_0x34f6fb(0x159)](_0x34f6fb(0x1e5),()=>this[_0x34f6fb(0x2f8)]({'type':0x1,'memberID':this[_0x34f6fb(0x268)],'unitIDs':Array['from'](this[_0x34f6fb(0x1af)])}));}[_0x52fe9a(0x146)](_0x4b232c){const _0x46c12a=_0x52fe9a;switch(_0x4b232c['type']){case 0x0:this[_0x46c12a(0x24f)](_0x4b232c);break;case 0x1:this[_0x46c12a(0x34e)](_0x4b232c);break;case 0x2:this[_0x46c12a(0x2a1)](_0x4b232c);break;}}[_0x52fe9a(0x24f)](_0x158566){const _0x27164d=_0x52fe9a,{unitIDs:_0x3c47ef,memberID:_0x35c27b,isForwarded:_0x1f298a}=_0x158566;_0x3c47ef['forEach'](_0x512a3d=>{const _0x4b5cee=_0x424a;if(!_0x1f298a&&this[_0x4b5cee(0x310)][_0x4b5cee(0x141)](_0x512a3d)&&this[_0x4b5cee(0x31a)](_0x512a3d)['next'](_0x19b52f['UnitStatus']['OTHER_CLIENTS_EDITING']),!this['_unitOnClients']['has'](_0x512a3d)||!this[_0x4b5cee(0x310)]['get'](_0x512a3d)[_0x4b5cee(0x141)](_0x35c27b)){const _0x6c69e6=this['_unitOnClients'][_0x4b5cee(0x29f)](_0x512a3d)||new Set();_0x6c69e6['add'](_0x35c27b),this[_0x4b5cee(0x310)][_0x4b5cee(0x242)](_0x512a3d,_0x6c69e6),this[_0x4b5cee(0x3bf)](_0x35c27b);}}),_0x1f298a||this[_0x27164d(0x2f8)]({'type':0x0,'memberID':this['_id'],'unitIDs':[...this[_0x27164d(0x1af)]],'isForwarded':!0x0});}[_0x52fe9a(0x3bf)](_0x1536b4){const _0x4eeb1c=_0x52fe9a;this['_removeClearOtherTimer'](_0x1536b4);const _0x4c96e0=window[_0x4eeb1c(0x157)](()=>{const _0x59de24=_0x4eeb1c;this[_0x59de24(0x310)][_0x59de24(0x1ea)](_0x1baba7=>{const _0x57477a=_0x59de24;_0x1baba7[_0x57477a(0x29b)](_0x1536b4);});},_0x322517*0x2);this[_0x4eeb1c(0x185)][_0x4eeb1c(0x242)](_0x1536b4,_0x4c96e0);}['_removeClearOtherTimer'](_0x1110d2){const _0x590c7b=_0x52fe9a;if(this[_0x590c7b(0x185)][_0x590c7b(0x141)](_0x1110d2)){const _0x47644d=this[_0x590c7b(0x185)][_0x590c7b(0x29f)](_0x1110d2);_0x47644d&&window['clearTimeout'](_0x47644d),this[_0x590c7b(0x185)]['set'](_0x1110d2,null);}}['_handleLeaveEvent'](_0xcc2c69){const _0x17dca3=_0x52fe9a,{memberID:_0x56e279,unitIDs:_0x25f381}=_0xcc2c69;_0x25f381[_0x17dca3(0x1ea)](_0x5f3544=>{const _0x1d2e32=_0x17dca3;var _0x4e7f59;const _0x11cc8a=this[_0x1d2e32(0x310)][_0x1d2e32(0x29f)](_0x5f3544);_0x11cc8a&&(_0x11cc8a[_0x1d2e32(0x29b)](_0x56e279),(_0x4e7f59=this['_ensureSubject'](_0x5f3544))==null||_0x4e7f59[_0x1d2e32(0x150)](_0x11cc8a[_0x1d2e32(0x1a6)]===0x0?_0x19b52f[_0x1d2e32(0x307)][_0x1d2e32(0x2b4)]:_0x19b52f[_0x1d2e32(0x307)]['OTHER_CLIENTS_EDITING']));}),this[_0x17dca3(0x372)](_0x56e279);}[_0x52fe9a(0x2a1)](_0x40c208){const _0x519674=_0x52fe9a;this[_0x519674(0x3bf)](_0x40c208['memberID']);}[_0x52fe9a(0x2f8)](_0x5ab6ea){const _0x3d9dc5=_0x52fe9a;localStorage[_0x3d9dc5(0x195)](_0x3b8dec,JSON[_0x3d9dc5(0x20a)](_0x5ab6ea));}[_0x52fe9a(0x2d7)](){const _0x4ebf30=_0x52fe9a;this[_0x4ebf30(0x263)]=window[_0x4ebf30(0x1c4)](()=>{const _0x5b65d6=_0x4ebf30;this[_0x5b65d6(0x2f8)]({'type':0x2,'memberID':this[_0x5b65d6(0x268)]});},_0x322517);}[_0x52fe9a(0x31a)](_0x4f5038){const _0x58d8bb=_0x52fe9a;return this[_0x58d8bb(0x36b)][_0x58d8bb(0x141)](_0x4f5038)||this[_0x58d8bb(0x36b)][_0x58d8bb(0x242)](_0x4f5038,new _0x21dbc8['BehaviorSubject'](_0x19b52f[_0x58d8bb(0x307)]['NO_OTHER_CLIENTS_EDITING'])),this['_unitStatus']['get'](_0x4f5038);}}var _0x3f96dc=(_0x1c1ec9=>(_0x1c1ec9[_0x1c1ec9[_0x52fe9a(0x129)]=0x0]='UNDEFINED',_0x1c1ec9[_0x1c1ec9['OK']=0x1]='OK',_0x1c1ec9[_0x1c1ec9[_0x52fe9a(0x1ed)]=0x2]=_0x52fe9a(0x1ed),_0x1c1ec9[_0x1c1ec9[_0x52fe9a(0x2a4)]=0x3]='PERMISSION_DENIED',_0x1c1ec9[_0x1c1ec9[_0x52fe9a(0x30f)]=0x4]=_0x52fe9a(0x30f),_0x1c1ec9[_0x1c1ec9[_0x52fe9a(0x398)]=0x5]=_0x52fe9a(0x398),_0x1c1ec9[_0x1c1ec9[_0x52fe9a(0x1c0)]=0x6]=_0x52fe9a(0x1c0),_0x1c1ec9[_0x1c1ec9[_0x52fe9a(0x3af)]=0x7]='INVALID_ARGUMENT',_0x1c1ec9[_0x1c1ec9['TOO_MANY_REQUESTS']=0x8]=_0x52fe9a(0x2bd),_0x1c1ec9[_0x1c1ec9[_0x52fe9a(0x1e8)]=0x9]=_0x52fe9a(0x1e8),_0x1c1ec9[_0x1c1ec9[_0x52fe9a(0x2d8)]=0xa]=_0x52fe9a(0x2d8),_0x1c1ec9[_0x1c1ec9[_0x52fe9a(0x226)]=0x1389]=_0x52fe9a(0x226),_0x1c1ec9[_0x1c1ec9[_0x52fe9a(0x165)]=0x1771]=_0x52fe9a(0x165),_0x1c1ec9[_0x1c1ec9[_0x52fe9a(0x2da)]=0x1772]='SNAPSHOT_HAS_BEEN_REMOVED',_0x1c1ec9[_0x1c1ec9[_0x52fe9a(0x256)]=0x1773]=_0x52fe9a(0x256),_0x1c1ec9[_0x1c1ec9['APPLY_REJECT']=0x1b59]=_0x52fe9a(0x3b8),_0x1c1ec9[_0x1c1ec9[_0x52fe9a(0x232)]=0x1b5a]=_0x52fe9a(0x232),_0x1c1ec9[_0x1c1ec9['APPLY_REVISION_CONFILICT']=0x1b5b]=_0x52fe9a(0x2f7),_0x1c1ec9[_0x1c1ec9['APPLY_PERMISSION_DENIED']=0x1b5c]='APPLY_PERMISSION_DENIED',_0x1c1ec9[_0x1c1ec9[_0x52fe9a(0x2f5)]=0x1b5d]=_0x52fe9a(0x2f5),_0x1c1ec9[_0x1c1ec9[_0x52fe9a(0x2d2)]=0x1f41]='CONNECTOR_DATA_TOO_LARGE',_0x1c1ec9[_0x1c1ec9[_0x52fe9a(0x17c)]=0x2329]=_0x52fe9a(0x17c),_0x1c1ec9[_0x1c1ec9[_0x52fe9a(0x171)]=0x232a]=_0x52fe9a(0x171),_0x1c1ec9[_0x1c1ec9[_0x52fe9a(0x2fd)]=0x232b]=_0x52fe9a(0x2fd),_0x1c1ec9[_0x1c1ec9[_0x52fe9a(0x336)]=0x232c]=_0x52fe9a(0x336),_0x1c1ec9[_0x1c1ec9[_0x52fe9a(0x200)]=0x232d]=_0x52fe9a(0x200),_0x1c1ec9[_0x1c1ec9['YUUMI_UNABLE_LOAD_URL']=0x2711]='YUUMI_UNABLE_LOAD_URL',_0x1c1ec9[_0x1c1ec9[_0x52fe9a(0x2b0)]=0x2712]='YUUMI_URL_COL_OUT_OF_RANGE',_0x1c1ec9[_0x1c1ec9[_0x52fe9a(0x383)]=0x2713]=_0x52fe9a(0x383),_0x1c1ec9[_0x1c1ec9[_0x52fe9a(0x35d)]=0x2714]='YUUMI_SUBSCRIPTION_NOT_FOUND',_0x1c1ec9[_0x1c1ec9['YUUMI_NO_CUBOID_FOR_QUESTION']=0x271a]=_0x52fe9a(0x1c7),_0x1c1ec9[_0x1c1ec9['YUUMI_ASYNCIO_CANCELLED']=0x271b]=_0x52fe9a(0x184),_0x1c1ec9[_0x1c1ec9['YUUMI_TABLE_NOT_FOUND_IN_UNIT']=0x271c]='YUUMI_TABLE_NOT_FOUND_IN_UNIT',_0x1c1ec9[_0x1c1ec9[_0x52fe9a(0x367)]=0x271d]=_0x52fe9a(0x367),_0x1c1ec9[_0x1c1ec9[_0x52fe9a(0x125)]=0x271e]='YUUMI_PROMPT_MAX_TOKENS_EXCEEDED',_0x1c1ec9[_0x1c1ec9[_0x52fe9a(0x3b2)]=0x271f]='YUUMI_AI_RUN_FAILED',_0x1c1ec9[_0x1c1ec9[_0x52fe9a(0x2fc)]=0x2af9]=_0x52fe9a(0x2fc),_0x1c1ec9[_0x1c1ec9[_0x52fe9a(0x2a7)]=0x2ee1]='INVITE_CODE_HAS_BEEN_UES',_0x1c1ec9[_0x1c1ec9['INVALID_INVITE_CODE']=0x2ee2]=_0x52fe9a(0x230),_0x1c1ec9[_0x1c1ec9[_0x52fe9a(0x1eb)]=0x2ee3]=_0x52fe9a(0x1eb),_0x1c1ec9[_0x1c1ec9[_0x52fe9a(0x35b)]=0x2ee4]='USER_NOT_INVITED_CODE',_0x1c1ec9[_0x1c1ec9['INVITE_CODE_ALREADY_BOUND']=0x2ee5]=_0x52fe9a(0x15c),_0x1c1ec9[_0x1c1ec9[_0x52fe9a(0x355)]=0x32c9]=_0x52fe9a(0x355),_0x1c1ec9[_0x1c1ec9['MOBILE_HAS_BEEN_BOUND']=0x32ca]=_0x52fe9a(0x387),_0x1c1ec9[_0x1c1ec9[_0x52fe9a(0x293)]=0x32cb]='EMAIL_HAS_BEEN_BOUND',_0x1c1ec9[_0x1c1ec9['UNRECOGNIZED']=-0x1]=_0x52fe9a(0x21b),_0x1c1ec9))(_0x3f96dc||{}),_0x190e02=Object['getOwnPropertyDescriptor'],_0x11ec0c=(_0x1f3ba9,_0xfafe39,_0x11f565,_0x17e163)=>{for(var _0x29652e=_0x17e163>0x1?void 0x0:_0x17e163?_0x190e02(_0xfafe39,_0x11f565):_0xfafe39,_0x5b81a9=_0x1f3ba9['length']-0x1,_0x3a72c9;_0x5b81a9>=0x0;_0x5b81a9--)(_0x3a72c9=_0x1f3ba9[_0x5b81a9])&&(_0x29652e=_0x3a72c9(_0x29652e)||_0x29652e);return _0x29652e;},_0x4eeb2a=(_0x5a829a,_0x4a66fa)=>(_0x2f1d4b,_0x5190a3)=>_0x4a66fa(_0x2f1d4b,_0x5190a3,_0x5a829a);_0x57e2df[_0x52fe9a(0x169)]=class extends _0x333829[_0x52fe9a(0x13b)]{constructor(_0x1f2019,_0x5839a1,_0x52fb20){super(),this['_instanceService']=_0x1f2019,this['_httpService']=_0x5839a1,this['_configService']=_0x52fb20;}async['runOnServer'](_0x13a791,_0x307925,_0x2edb56,..._0x57c126){const _0x11e6a2=_0x52fe9a;var _0x4fb1ce,_0x14c977,_0x30feca,_0x43e9ab;const _0xaeaeba=this['_instanceService'][_0x11e6a2(0x30d)]();if(!_0xaeaeba)throw new Error(_0x11e6a2(0x3ad));const _0x396a1b=((_0x4fb1ce=this[_0x11e6a2(0x1d9)][_0x11e6a2(0x286)](_0x19b52f[_0x11e6a2(0x312)]))!=null?_0x4fb1ce:_0x19b52f[_0x11e6a2(0x2e7)])+'/'+_0x13a791+_0x11e6a2(0x231)+_0x307925,_0x4768aa=new URL(window[_0x11e6a2(0x1ac)]['href']),_0x241865={'scriptId':_0x13a791,'runId':(_0x14c977=_0x4768aa[_0x11e6a2(0x124)][_0x11e6a2(0x29f)](_0x11e6a2(0x2b6)))!=null?_0x14c977:'','function':_0x307925,'unitId':_0xaeaeba['getUnitId'](),'argsOfFunction':JSON['stringify'](_0x57c126),'invokeId':(_0x30feca=_0x2edb56[_0x11e6a2(0x362)])!=null?_0x30feca:'','executionId':(_0x43e9ab=_0x2edb56['executionId'])!=null?_0x43e9ab:''};try{const _0x58d7a2=await this[_0x11e6a2(0x183)]['post'](_0x396a1b,{'body':_0x241865});return _0x58d7a2['body'][_0x11e6a2(0x39e)]&&_0x58d7a2[_0x11e6a2(0x1d5)]['error'][_0x11e6a2(0x1a4)]!==_0x3f96dc['OK']?'Failed':_0x58d7a2[_0x11e6a2(0x1d5)][_0x11e6a2(0x214)];}catch{return _0x11e6a2(0x317);}}},_0x57e2df[_0x52fe9a(0x169)]=_0x11ec0c([_0x4eeb2a(0x0,_0x333829[_0x52fe9a(0x155)]),_0x4eeb2a(0x1,_0x333829['Inject'](_0x498070[_0x52fe9a(0x28b)])),_0x4eeb2a(0x2,_0x333829[_0x52fe9a(0x2ab)])],_0x57e2df[_0x52fe9a(0x169)]),_0x57e2df[_0x52fe9a(0x2ac)]=_0x3af5e3,_0x57e2df[_0x52fe9a(0x194)]=_0xe2e142,_0x57e2df[_0x52fe9a(0x38c)]=_0x12a8a6,_0x57e2df['WebBrowserSingleActiveUnitService']=_0x4b3c9e,_0x57e2df[_0x52fe9a(0x18f)]=_0x552b4e,Object[_0x52fe9a(0x2ed)](_0x57e2df,Symbol[_0x52fe9a(0x33d)],{'value':_0x52fe9a(0x27b)});}));
|