@univerjs-pro/collaboration-client-ui 0.6.10-experimental.20250427-173dc06 → 0.6.10-experimental.20250427-89a0949
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/cjs/facade.js +1 -1
- package/lib/cjs/index.js +1 -1
- package/lib/cjs/locale/en-US.js +1 -1
- package/lib/cjs/locale/fa-IR.js +1 -1
- package/lib/cjs/locale/fr-FR.js +1 -1
- package/lib/cjs/locale/ru-RU.js +1 -1
- package/lib/cjs/locale/vi-VN.js +1 -1
- package/lib/cjs/locale/zh-CN.js +1 -1
- package/lib/cjs/locale/zh-TW.js +1 -1
- package/lib/es/facade.js +1 -1
- package/lib/es/index.js +1 -1
- package/lib/es/locale/en-US.js +1 -1
- package/lib/es/locale/fa-IR.js +1 -1
- package/lib/es/locale/fr-FR.js +1 -1
- package/lib/es/locale/ru-RU.js +1 -1
- package/lib/es/locale/vi-VN.js +1 -1
- package/lib/es/locale/zh-CN.js +1 -1
- package/lib/es/locale/zh-TW.js +1 -1
- package/lib/facade.js +1 -1
- package/lib/index.js +1 -1
- package/lib/locale/en-US.js +1 -1
- package/lib/locale/fa-IR.js +1 -1
- package/lib/locale/fr-FR.js +1 -1
- package/lib/locale/ru-RU.js +1 -1
- package/lib/locale/vi-VN.js +1 -1
- package/lib/locale/zh-CN.js +1 -1
- package/lib/locale/zh-TW.js +1 -1
- package/lib/umd/facade.js +1 -1
- package/lib/umd/index.js +1 -1
- package/lib/umd/locale/en-US.js +1 -1
- package/lib/umd/locale/fa-IR.js +1 -1
- package/lib/umd/locale/fr-FR.js +1 -1
- package/lib/umd/locale/ru-RU.js +1 -1
- package/lib/umd/locale/vi-VN.js +1 -1
- package/lib/umd/locale/zh-CN.js +1 -1
- package/lib/umd/locale/zh-TW.js +1 -1
- package/package.json +16 -16
package/lib/cjs/facade.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
'use strict';const
|
|
1
|
+
'use strict';const _0x411a0f=_0x569e;function _0x20f9(){const _0x3295a7=['12Zyfsyf','560316qSQfIl','6tqaBlG','@univerjs-pro/collaboration-client-ui','_injector','get','16EUOalp','237510UpSNcB','FUniver','618114FQDAaa','1526798PAjxFk','extend','10oyNPWe','9433237YgrmTC','553221sCxbxh','1134540dtDYGp'];_0x20f9=function(){return _0x3295a7;};return _0x20f9();}(function(_0x5d7e18,_0x1024cb){const _0x32c0f9=_0x569e,_0x5bfc3e=_0x5d7e18();while(!![]){try{const _0x2263a6=parseInt(_0x32c0f9(0xb3))/0x1+-parseInt(_0x32c0f9(0xae))/0x2+parseInt(_0x32c0f9(0xa7))/0x3*(parseInt(_0x32c0f9(0xa6))/0x4)+parseInt(_0x32c0f9(0xa4))/0x5*(-parseInt(_0x32c0f9(0xa5))/0x6)+parseInt(_0x32c0f9(0xaf))/0x7*(-parseInt(_0x32c0f9(0xab))/0x8)+parseInt(_0x32c0f9(0xac))/0x9*(-parseInt(_0x32c0f9(0xb1))/0xa)+parseInt(_0x32c0f9(0xb2))/0xb;if(_0x2263a6===_0x1024cb)break;else _0x5bfc3e['push'](_0x5bfc3e['shift']());}catch(_0x4f2fb4){_0x5bfc3e['push'](_0x5bfc3e['shift']());}}}(_0x20f9,0x71a2f));function _0x569e(_0x5a43cd,_0x51a761){const _0x20f986=_0x20f9();return _0x569e=function(_0x569e92,_0xe694ae){_0x569e92=_0x569e92-0xa4;let _0x5ba207=_0x20f986[_0x569e92];return _0x5ba207;},_0x569e(_0x5a43cd,_0x51a761);}const t=require(_0x411a0f(0xa8)),e=require('@univerjs/core/facade');class c extends e[_0x411a0f(0xad)]{['runOnServer'](_0x2afc52,_0x4898fb,..._0x52e648){const _0x5229d1=_0x411a0f;return this[_0x5229d1(0xa9)][_0x5229d1(0xaa)](t['RemoteUniscriptService'])['runOnServer'](_0x2afc52,_0x4898fb,{},..._0x52e648);}}e[_0x411a0f(0xad)][_0x411a0f(0xb0)](c);
|
package/lib/cjs/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
'use strict';const _0x45141a=_0x2ce7;(function(_0x2eb6d0,_0x3436c0){const _0x64380=_0x2ce7,_0x3acadc=_0x2eb6d0();while(!![]){try{const _0x486deb=-parseInt(_0x64380(0x120))/0x1+parseInt(_0x64380(0x2da))/0x2+-parseInt(_0x64380(0x29a))/0x3+-parseInt(_0x64380(0x1d4))/0x4+parseInt(_0x64380(0xcc))/0x5+parseInt(_0x64380(0x154))/0x6+parseInt(_0x64380(0x188))/0x7;if(_0x486deb===_0x3436c0)break;else _0x3acadc['push'](_0x3acadc['shift']());}catch(_0x1aaa1b){_0x3acadc['push'](_0x3acadc['shift']());}}}(_0x1606,0xbdd84));var Ve=Object['defineProperty'],Xe=(_0x3c0016,_0x49c52f,_0x1064b1)=>_0x49c52f in _0x3c0016?Ve(_0x3c0016,_0x49c52f,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x1064b1}):_0x3c0016[_0x49c52f]=_0x1064b1,h=(_0x54de75,_0x11d1cb,_0x1e8d45)=>Xe(_0x54de75,typeof _0x11d1cb!=_0x45141a(0x19b)?_0x11d1cb+'':_0x11d1cb,_0x1e8d45);Object[_0x45141a(0x100)](exports,Symbol['toStringTag'],{'value':_0x45141a(0x10e)});const u=require(_0x45141a(0x2d1)),a=require(_0x45141a(0x169)),p=require(_0x45141a(0x2f7)),G=require(_0x45141a(0x219)),b=require('@univerjs/docs-ui'),Ge=require(_0x45141a(0x27f)),d=require(_0x45141a(0x2e3)),W=require(_0x45141a(0x136)),m=require(_0x45141a(0x305)),Ee=require('@univerjs/engine-formula'),g=require(_0x45141a(0xe8)),$=require(_0x45141a(0xa0)),X=require(_0x45141a(0x157)),P=require('react/jsx-runtime'),T=require(_0x45141a(0x117)),D=require('@univerjs/design'),M=require(_0x45141a(0x279)),qe=require(_0x45141a(0x144));var Ke=Object[_0x45141a(0x104)],ze=(_0x2c3333,_0x3b725c,_0x10a9e8,_0x509995)=>{const _0x5c1cb8=_0x45141a;for(var _0x8c3512=_0x509995>0x1?void 0x0:_0x509995?Ke(_0x3b725c,_0x10a9e8):_0x3b725c,_0xf2241a=_0x2c3333[_0x5c1cb8(0x1fe)]-0x1,_0x1f7f13;_0xf2241a>=0x0;_0xf2241a--)(_0x1f7f13=_0x2c3333[_0xf2241a])&&(_0x8c3512=_0x1f7f13(_0x8c3512)||_0x8c3512);return _0x8c3512;},Te=(_0x3ddc3a,_0x53be32)=>(_0x33e32e,_0x1caaed)=>_0x53be32(_0x33e32e,_0x1caaed,_0x3ddc3a);let de=class extends a[_0x45141a(0x171)]{constructor(_0x13fa0d,_0x6df41a){const _0x5bbeb7=_0x45141a;super(),this['_docClipboardService']=_0x13fa0d,this[_0x5bbeb7(0x23c)]=_0x6df41a,this[_0x5bbeb7(0x210)]();}[_0x45141a(0x210)](){const _0x3658d7=_0x45141a,_0x28d953=this;this[_0x3658d7(0x18a)](this[_0x3658d7(0x22e)][_0x3658d7(0x1e2)]({'onBeforePasteImage':async _0x3e8744=>{const _0x4445c4=_0x3658d7,_0x138a96=await _0x28d953[_0x4445c4(0x23c)]['saveImage'](_0x3e8744);return _0x138a96?{'source':_0x138a96['source'],'imageSourceType':_0x138a96[_0x4445c4(0x25c)]}:null;}}));}};de=ze([Te(0x0,b[_0x45141a(0x125)]),Te(0x1,Ge[_0x45141a(0x2fb)])],de);const Oe=[_0x45141a(0x2ca),_0x45141a(0x102),_0x45141a(0x195),'red300',_0x45141a(0x113),_0x45141a(0x190)];class me extends a[_0x45141a(0x298)]{constructor(){const _0x5f4522=_0x45141a;super(...arguments),h(this,_0x5f4522(0x23f),new Map()),h(this,'_colorIndex',0x0);}[_0x45141a(0x24e)](_0x1de1af){const _0x3359ed=_0x45141a;if(this[_0x3359ed(0x23f)][_0x3359ed(0x17c)](_0x1de1af))return this[_0x3359ed(0x23f)]['get'](_0x1de1af);const _0x14935c=Oe[this[_0x3359ed(0xbe)]];return this['_colorIndex']=(this['_colorIndex']+0x1)%Oe[_0x3359ed(0x1fe)],this['_assignedColors']['set'](_0x1de1af,_0x14935c),_0x14935c;}}function Pe(_0x224cc9){const _0x11c59a=_0x45141a;let _0x1b4366='';for(const _0x546610 of _0x224cc9){const {startOffset:_0x35db8b,endOffset:_0x4fcee8,isActive:_0x14d9e5,rangeType:_0x3a0416,segmentId:_0x159e67,segmentPage:_0x3fdeb7}=_0x546610;_0x1b4366[_0x11c59a(0x1fe)]&&(_0x1b4366+=','),_0x1b4366+=_0x35db8b+':'+_0x4fcee8+':'+(_0x14d9e5?'1':'0')+':'+_0x3a0416+':'+_0x159e67+':'+_0x3fdeb7;}return _0x1b4366;}function Je(_0x1dabd4){const _0x5b9df0=_0x45141a,_0x1e904b=_0x1dabd4[_0x5b9df0(0x2b4)](','),_0x4b2712=[];for(const _0x582f9e of _0x1e904b){const [_0x39e867,_0x5b25e7,_0x5db409,_0x24c38c,_0x2ba46b,_0x2cf209]=_0x582f9e[_0x5b9df0(0x2b4)](':');_0x4b2712[_0x5b9df0(0x297)]({'startOffset':Number(_0x39e867),'endOffset':Number(_0x5b25e7),'collapsed':_0x39e867===_0x5b25e7,'isActive':_0x5db409==='1','rangeType':_0x24c38c===a[_0x5b9df0(0x2df)][_0x5b9df0(0x107)]?a['DOC_RANGE_TYPE']['TEXT']:a[_0x5b9df0(0x2df)][_0x5b9df0(0x105)],'segmentId':typeof _0x2ba46b==_0x5b9df0(0x2d8)?String(_0x2ba46b):'','segmentPage':Number(_0x2cf209!=null?_0x2cf209:-0x1)});}return _0x4b2712[_0x5b9df0(0x251)](_0x4e3a67=>_0x4e3a67[_0x5b9df0(0x2f5)])||(_0x4b2712[0x0][_0x5b9df0(0x2f5)]=!0x0),_0x4b2712;}class Ce extends a[_0x45141a(0x171)]{constructor(){const _0x39446e=_0x45141a;super(...arguments),h(this,_0x39446e(0x246),new d[(_0x39446e(0x242))](null)),h(this,'collabCursorState$',this[_0x39446e(0x246)][_0x39446e(0x30e)]());}['syncEditingCollabCursor'](_0x453978){const _0x372c8f=_0x45141a,{unitID:_0x380a2a,memberID:_0x4cd3e0,textRanges:_0x50bb1a}=_0x453978,_0x2fb7f5=Pe(_0x50bb1a);if(_0x2fb7f5==='')return;const _0xd9c3ba={'unitID':_0x380a2a,'memberID':_0x4cd3e0,'selection':_0x2fb7f5};this[_0x372c8f(0x246)][_0x372c8f(0x2e4)](_0xd9c3ba);}}var Ze=Object[_0x45141a(0x104)],Qe=(_0x1ff8d3,_0x293067,_0xad518e,_0x323b72)=>{const _0x563b8d=_0x45141a;for(var _0x45f293=_0x323b72>0x1?void 0x0:_0x323b72?Ze(_0x293067,_0xad518e):_0x293067,_0xba31ba=_0x1ff8d3[_0x563b8d(0x1fe)]-0x1,_0x2457b1;_0xba31ba>=0x0;_0xba31ba--)(_0x2457b1=_0x1ff8d3[_0xba31ba])&&(_0x45f293=_0x2457b1(_0x45f293)||_0x45f293);return _0x45f293;},L=(_0x497350,_0x19c1fb)=>(_0x2ba01f,_0x4c7b0e)=>_0x19c1fb(_0x2ba01f,_0x4c7b0e,_0x497350);const et=0x12c,tt=0x64;let fe=class extends a[_0x45141a(0x171)]{constructor(_0x4713d3,_0xef60f8,_0x48316b,_0x19fc3e,_0x29054a,_0xd731cb,_0x281a86,_0x1453c3,_0x65939a){const _0xa61730=_0x45141a;super(),h(this,_0xa61730(0x25a),!0x1),h(this,'_init',!0x1),h(this,'_cursorInfo$',new d[(_0xa61730(0x242))](new Map())),h(this,_0xa61730(0x223),this['_cursorInfo$']['asObservable']()),h(this,_0xa61730(0x255),new d[(_0xa61730(0x242))]([])),h(this,'roomMembers$',this[_0xa61730(0x255)][_0xa61730(0x186)](d['debounceTime'](et))),h(this,'_updateLocalCursor',a[_0xa61730(0x206)](_0xad05df=>{const _0x535837=_0xa61730,_0x4134f1={'eventID':m[_0x535837(0x122)]['UPDATE_CURSOR'],'data':{'unitID':this[_0x535837(0x290)],'memberID':this[_0x535837(0x10b)][_0x535837(0x1a1)](),'selection':Pe(_0xad05df)}};this[_0x535837(0x10b)]['send'](_0x4134f1,this[_0x535837(0x290)]);},tt)),(this[_0xa61730(0x290)]=_0x4713d3,this['_session']=_0xef60f8,this[_0xa61730(0x19c)]=_0x48316b,this[_0xa61730(0x1da)]=_0x19fc3e,this[_0xa61730(0x2f6)]=_0x29054a,this['_syncEditingCollabCursorService']=_0xd731cb,this['_transformService']=_0x281a86,this[_0xa61730(0x181)]=_0x1453c3,this[_0xa61730(0x160)]=_0x65939a);}get['cursorInfo'](){const _0x52271d=_0x45141a;return this[_0x52271d(0x220)][_0x52271d(0x257)]();}get[_0x45141a(0x1d8)](){const _0xdb658b=_0x45141a;return this['_roomMembers$'][_0xdb658b(0x257)]();}['dispose'](){const _0x29108f=_0x45141a;super[_0x29108f(0x20f)](),this['_cursorInfo$']['next'](new Map()),this[_0x29108f(0x220)][_0x29108f(0x300)](),this['_roomMembers$'][_0x29108f(0x2e4)]([]),this[_0x29108f(0x255)][_0x29108f(0x300)]();}[_0x45141a(0xc3)](){const _0x3e1f62=_0x45141a;this[_0x3e1f62(0x210)]||(this[_0x3e1f62(0x210)]=!0x0,this[_0x3e1f62(0x10b)]['sessionStatus$'][_0x3e1f62(0x186)](d[_0x3e1f62(0x2cc)](this[_0x3e1f62(0x1f2)]))[_0x3e1f62(0xdf)](_0x1dc102=>{const _0x452f28=_0x3e1f62;_0x1dc102===u['SessionStatus'][_0x452f28(0x235)]?this['_toggleOnline']():this['_toggleOffline']();}),this[_0x3e1f62(0x10b)][_0x3e1f62(0x1d5)][_0x3e1f62(0x186)](d[_0x3e1f62(0x2cc)](this[_0x3e1f62(0x1f2)]))[_0x3e1f62(0xdf)](_0x495e79=>{const _0x2156d5=_0x3e1f62,_0x5c471d=_0x495e79[_0x2156d5(0x214)];_0x5c471d===m[_0x2156d5(0x122)][_0x2156d5(0x17d)]&&this[_0x2156d5(0x1b7)](_0x495e79),_0x5c471d===m[_0x2156d5(0x122)][_0x2156d5(0x12f)]&&this[_0x2156d5(0x27b)](_0x495e79);}),this[_0x3e1f62(0x18a)](this[_0x3e1f62(0x160)][_0x3e1f62(0x2a0)](_0x183978=>{const _0x2e5ebd=_0x3e1f62,_0x1f5969=_0x183978['params'];_0x1f5969!=null&&this['_online']&&_0x183978['id']===W[_0x2e5ebd(0x26d)]['id']&&_0x1f5969['unitId']===this[_0x2e5ebd(0x290)]&&_0x1f5969['isEditing']===!0x1&&_0x1f5969[_0x2e5ebd(0x2db)][_0x2e5ebd(0x1fe)]>0x0&&this[_0x2e5ebd(0x243)](_0x1f5969['ranges']);})),this[_0x3e1f62(0x1a9)][_0x3e1f62(0x19a)][_0x3e1f62(0x186)](d[_0x3e1f62(0x2cc)](this[_0x3e1f62(0x1f2)]))[_0x3e1f62(0xdf)](_0xf8e43e=>{const _0x580a17=_0x3e1f62;if((_0xf8e43e==null?void 0x0:_0xf8e43e['unitID'])!==this[_0x580a17(0x290)])return;const _0x1c2b37={'eventID':m['CollaborationEvent'][_0x580a17(0x17d)],'data':_0xf8e43e};this['_onCursorUpdate'](_0x1c2b37);}),this[_0x3e1f62(0x18a)](this['_commandService'][_0x3e1f62(0x2a0)](_0x39d992=>{const _0x1a12d2=_0x3e1f62;if(_0x39d992['params']==null)return;const _0x261f32=_0x39d992['params'];if(_0x39d992['id']!==W[_0x1a12d2(0x2a1)]['id']||_0x261f32[_0x1a12d2(0x286)]!==this[_0x1a12d2(0x290)])return;const _0x2641af={'id':_0x1a12d2(0x20b),'params':_0x261f32},_0x5562e3=this[_0x1a12d2(0x2d7)];for(const [_0x524437,_0x2a96f9]of _0x5562e3){const _0xa7d699={'id':_0x1a12d2(0x20b),'params':{'unitId':this[_0x1a12d2(0x290)],'actions':null,'textRanges':_0x2a96f9[_0x1a12d2(0x2db)]}},_0x1bd55b=this['_transformService'][_0x1a12d2(0xae)](_0x2641af,_0xa7d699,!0x1);if(m[_0x1a12d2(0x254)](_0x1bd55b))throw _0x1bd55b[_0x1a12d2(0x299)];_0x5562e3[_0x1a12d2(0x11e)](_0x524437,{..._0x2a96f9,'ranges':_0x1bd55b['m2Prime'][_0x1a12d2(0xbd)][_0x1a12d2(0x18d)]});}queueMicrotask(()=>{const _0x22a7e1=_0x1a12d2;this[_0x22a7e1(0x220)][_0x22a7e1(0x2e4)](_0x5562e3);});})));}[_0x45141a(0x1b7)](_0x13f3d8){const _0x54c5a0=_0x45141a;var _0x3393e2,_0x2abb07;const {memberID:_0x2aa03d,selection:_0x930c91}=_0x13f3d8[_0x54c5a0(0x139)],_0x57aa20=Je(_0x930c91),_0x2d1f9b=(_0x2abb07=(_0x3393e2=this['_memberService']['getMember'](this['unitID'],_0x2aa03d))==null?void 0x0:_0x3393e2['name'])!=null?_0x2abb07:_0x54c5a0(0x209),_0x4351ff={'color':this[_0x54c5a0(0x1da)][_0x54c5a0(0x24e)](_0x2aa03d),'name':_0x2d1f9b,'ranges':_0x57aa20},_0x5222fb=this[_0x54c5a0(0x2d7)];_0x5222fb[_0x54c5a0(0x11e)](_0x2aa03d,_0x4351ff),this[_0x54c5a0(0x220)][_0x54c5a0(0x2e4)](_0x5222fb);}['_onCursorDelete'](_0x23f52c){const _0x17193d=_0x45141a,{memberID:_0xbfa458}=_0x23f52c[_0x17193d(0x139)],_0x19d70f=this['cursorInfo'];_0x19d70f[_0x17193d(0x151)](_0xbfa458),this[_0x17193d(0x220)]['next'](_0x19d70f);}[_0x45141a(0x1c4)](){const _0x20b52c=_0x45141a;var _0x4efc56;if(this[_0x20b52c(0x25a)]=!0x0,((_0x4efc56=this[_0x20b52c(0x181)]['getFocusedUnit']())==null?void 0x0:_0x4efc56['getUnitId']())!==this['unitID'])return;const _0x1e9aed=this[_0x20b52c(0x19c)][_0x20b52c(0x1a0)](W['DocSelectionManagerService'])[_0x20b52c(0x115)]();Array[_0x20b52c(0xbb)](_0x1e9aed)&&_0x1e9aed[_0x20b52c(0x1fe)]>0x0&&this[_0x20b52c(0x243)](_0x1e9aed);}[_0x45141a(0x1cf)](){const _0x321a55=_0x45141a;this[_0x321a55(0x25a)]=!0x1;}};fe=Qe([L(0x2,a['Inject'](a[_0x45141a(0x1b0)])),L(0x3,a[_0x45141a(0x147)](me)),L(0x4,a[_0x45141a(0x147)](u[_0x45141a(0x2f8)])),L(0x5,a[_0x45141a(0x147)](Ce)),L(0x6,m[_0x45141a(0x1b9)]),L(0x7,a['IUniverInstanceService']),L(0x8,a['ICommandService'])],fe);var st=Object[_0x45141a(0x104)],it=(_0xc80056,_0x160f19,_0x5a9ae0,_0x502400)=>{for(var _0x4da4b2=_0x502400>0x1?void 0x0:_0x502400?st(_0x160f19,_0x5a9ae0):_0x160f19,_0x7583fe=_0xc80056['length']-0x1,_0x1118b6;_0x7583fe>=0x0;_0x7583fe--)(_0x1118b6=_0xc80056[_0x7583fe])&&(_0x4da4b2=_0x1118b6(_0x4da4b2)||_0x4da4b2);return _0x4da4b2;},A=(_0x580010,_0x10c044)=>(_0x27652d,_0x513764)=>_0x10c044(_0x27652d,_0x513764,_0x580010);const nt=0x12c,rt=0x64,ot=()=>{let _0x26261d=[],_0x5ed823=!0x1;return _0x4664b1=>{const _0x458807=_0x2ce7;_0x26261d[_0x458807(0x297)](_0x4664b1),_0x5ed823||(_0x5ed823=!0x0,setTimeout(()=>{const _0x3daeec=_0x458807;_0x26261d[_0x3daeec(0xf1)](_0x517efa=>_0x517efa()),_0x26261d=[],_0x5ed823=!0x1;}));};};let Se=class extends a[_0x45141a(0x171)]{constructor(_0x450215,_0x1b88c6,_0xfe6d83,_0x7fe6fd,_0x4c32d9,_0x321b56,_0x29a3b5,_0x13bb5f){const _0x1fc541=_0x45141a;super(),h(this,_0x1fc541(0x25a),!0x1),h(this,'_init',!0x1),h(this,_0x1fc541(0x220),new d['BehaviorSubject'](new Map())),h(this,_0x1fc541(0x223),this[_0x1fc541(0x220)][_0x1fc541(0x30e)]()),h(this,'_roomMembers$',new d[(_0x1fc541(0x242))]([])),h(this,'roomMembers$',this[_0x1fc541(0x255)][_0x1fc541(0x186)](d['debounceTime'](nt))),h(this,_0x1fc541(0x243),a[_0x1fc541(0x206)]((_0x31d532,_0x4e409c)=>{const _0x1b3735=_0x1fc541,_0x2d7fe0={'eventID':m['CollaborationEvent']['UPDATE_CURSOR'],'data':{'unitID':this[_0x1b3735(0x290)],'memberID':this[_0x1b3735(0x10b)][_0x1b3735(0x1a1)](),'selection':Ee['serializeRangeWithSheet'](_0x31d532,_0x4e409c[_0x1b3735(0x259)])}};this[_0x1b3735(0x10b)][_0x1b3735(0x17f)](_0x2d7fe0,this['unitID']);},rt)),(this[_0x1fc541(0x290)]=_0x450215,this[_0x1fc541(0x10b)]=_0x1b88c6,this[_0x1fc541(0x19c)]=_0xfe6d83,this[_0x1fc541(0x1da)]=_0x7fe6fd,this[_0x1fc541(0x2f6)]=_0x4c32d9,this['_univerInstanceService']=_0x321b56,this[_0x1fc541(0x160)]=_0x29a3b5,this[_0x1fc541(0x178)]=_0x13bb5f);}get['cursorInfo'](){const _0x2c1039=_0x45141a;return this['_cursorInfo$'][_0x2c1039(0x257)]();}get[_0x45141a(0x1d8)](){return this['_roomMembers$']['getValue']();}['dispose'](){const _0x1919c6=_0x45141a;super['dispose'](),this[_0x1919c6(0x220)][_0x1919c6(0x2e4)](new Map()),this[_0x1919c6(0x220)][_0x1919c6(0x300)](),this[_0x1919c6(0x255)][_0x1919c6(0x2e4)]([]),this['_roomMembers$']['complete']();}[_0x45141a(0xc3)](){const _0x2b4b1e=_0x45141a;this['_init']||(this[_0x2b4b1e(0x210)]=!0x0,this[_0x2b4b1e(0x10b)]['sessionStatus$'][_0x2b4b1e(0x186)](d[_0x2b4b1e(0x2cc)](this[_0x2b4b1e(0x1f2)]))[_0x2b4b1e(0xdf)](_0x2faab5=>{const _0x2b751d=_0x2b4b1e;_0x2faab5===u[_0x2b751d(0x30c)]['ONLINE']?this[_0x2b751d(0x1c4)]():this[_0x2b751d(0x1cf)]();}),this[_0x2b4b1e(0x10b)][_0x2b4b1e(0x1d5)][_0x2b4b1e(0x186)](d[_0x2b4b1e(0x2cc)](this[_0x2b4b1e(0x1f2)]))['subscribe'](_0x2960ac=>{const _0x1b140a=_0x2b4b1e,_0x3d7c02=_0x2960ac[_0x1b140a(0x214)];_0x3d7c02===m['CollaborationEvent'][_0x1b140a(0x17d)]&&this[_0x1b140a(0x1b7)](_0x2960ac),_0x3d7c02===m[_0x1b140a(0x122)][_0x1b140a(0x12f)]&&this['_onCursorDelete'](_0x2960ac);}),this[_0x2b4b1e(0xcf)](),this[_0x2b4b1e(0x18a)](this[_0x2b4b1e(0x160)][_0x2b4b1e(0x2a0)](_0x209a5d=>{const _0x575c59=_0x2b4b1e;if(this[_0x575c59(0x25a)]&&_0x209a5d['id']===g[_0x575c59(0x1e9)]['id']&&_0x209a5d[_0x575c59(0xbd)][_0x575c59(0x286)]===this[_0x575c59(0x290)]){const _0x4e40bf=_0x209a5d[_0x575c59(0xbd)];this[_0x575c59(0x243)](_0x4e40bf['subUnitId'],_0x4e40bf[_0x575c59(0x2a3)][0x0]);}})));}[_0x45141a(0x1b7)](_0x3660a9){const _0x46d871=_0x45141a;var _0x3460d3,_0x2bfca8;const {memberID:_0x4f6384,selection:_0x50fdcc}=_0x3660a9[_0x46d871(0x139)],{sheetName:_0x34ac9d,range:_0xc5586a}=Ee['deserializeRangeWithSheet'](_0x50fdcc),_0x116265={'name':(_0x2bfca8=(_0x3460d3=this['_memberService'][_0x46d871(0x118)](this[_0x46d871(0x290)],_0x4f6384))==null?void 0x0:_0x3460d3[_0x46d871(0x1f8)])!=null?_0x2bfca8:_0x46d871(0x209),'range':this[_0x46d871(0x1a6)](_0x34ac9d,_0xc5586a),'sheetID':_0x34ac9d,'color':this[_0x46d871(0x1da)][_0x46d871(0x24e)](_0x4f6384),'selection':_0x50fdcc},_0x4ab787=this[_0x46d871(0x2d7)];_0x4ab787[_0x46d871(0x11e)](_0x4f6384,_0x116265),this['_cursorInfo$'][_0x46d871(0x2e4)](_0x4ab787);}[_0x45141a(0x27b)](_0x1c1e40){const _0x427b29=_0x45141a,{memberID:_0x276bb7}=_0x1c1e40['data'],_0x58d6fe=this[_0x427b29(0x2d7)];_0x58d6fe[_0x427b29(0x151)](_0x276bb7),this[_0x427b29(0x220)][_0x427b29(0x2e4)](_0x58d6fe);}['_getMergeRange'](_0x20dfb2,_0x12a560){const _0x4f368e=_0x45141a;var _0x348135,_0x4aae46;const _0x82329e=(_0x4aae46=(_0x348135=this[_0x4f368e(0x181)]['getUniverSheetInstance'](this['unitID']))==null?void 0x0:_0x348135[_0x4f368e(0x126)](_0x20dfb2))==null?void 0x0:_0x4aae46[_0x4f368e(0x27a)]();return(_0x82329e==null?void 0x0:_0x82329e[_0x4f368e(0xd9)](_0x422bc6=>a[_0x4f368e(0x1d9)][_0x4f368e(0x262)](_0x422bc6,_0x12a560)))||_0x12a560;}['_onRefRangeChange'](){const _0x1e4fe7=_0x45141a,_0x5a53c8=new a[(_0x1e4fe7(0x12e))](),_0x2d2e46=ot(),_0x4282a3=()=>{const _0x1e33f5=_0x1e4fe7;_0x5a53c8[_0x1e33f5(0x20f)]();const _0x51c025=(_0x1d9430,_0x28bfc6,_0x42a4b1,_0x4d981b)=>{const _0x1014ec=_0x1e33f5;let _0x2ef404=[];switch(_0x1d9430['id']){case g[_0x1014ec(0x1ad)][_0x1014ec(0x295)]:{_0x2ef404=g[_0x1014ec(0x2ff)](_0x1d9430,_0x4d981b);break;}case g['EffectRefRangId']['DeleteRangeMoveUpCommandId']:{_0x2ef404=g[_0x1014ec(0xf5)](_0x1d9430,_0x4d981b);break;}case g['EffectRefRangId'][_0x1014ec(0x1bd)]:{_0x2ef404=g['handleInsertCol'](_0x1d9430,_0x4d981b);break;}case g[_0x1014ec(0x1ad)][_0x1014ec(0x127)]:{_0x2ef404=g[_0x1014ec(0x176)](_0x1d9430,_0x4d981b);break;}case g['EffectRefRangId'][_0x1014ec(0xeb)]:{_0x2ef404=g['handleInsertRangeMoveRight'](_0x1d9430,_0x4d981b);break;}case g[_0x1014ec(0x1ad)]['InsertRowCommandId']:{_0x2ef404=g[_0x1014ec(0x24f)](_0x1d9430,_0x4d981b);break;}case g[_0x1014ec(0x1ad)][_0x1014ec(0xb3)]:{_0x2ef404=g[_0x1014ec(0x175)](_0x1d9430,_0x4d981b);break;}case g[_0x1014ec(0x1ad)]['RemoveColCommandId']:{_0x2ef404=g['handleIRemoveCol'](_0x1d9430,_0x4d981b);break;}case g['EffectRefRangId'][_0x1014ec(0x2dd)]:{_0x2ef404=g['handleIRemoveRow'](_0x1d9430,_0x4d981b);break;}}const _0x37de6f=g[_0x1014ec(0x2fc)](_0x2ef404,_0x4d981b),_0x3fd406=this[_0x1014ec(0x2d7)][_0x1014ec(0x1a0)](_0x28bfc6);if(_0x3fd406&&_0x37de6f){const _0x17abb2={..._0x3fd406,'range':_0x37de6f};this['cursorInfo'][_0x1014ec(0x11e)](_0x28bfc6,_0x17abb2),_0x2d2e46(()=>{const _0x16f3ca=_0x1014ec,_0x3d5b0f=this[_0x16f3ca(0x178)][_0x16f3ca(0xd6)](_0x37de6f,_0x4b83b7=>(_0x3d5b0f[_0x16f3ca(0x20f)](),_0x51c025(_0x4b83b7,_0x28bfc6,_0x42a4b1,_0x37de6f)));_0x5a53c8[_0x16f3ca(0x2b3)](_0x3d5b0f);});}return{'redos':[],'undos':[]};};this[_0x1e33f5(0x2d7)]['forEach']((_0x316298,_0xebbc90)=>{const _0x410bb7=_0x1e33f5,{range:_0x2da97b,sheetID:_0xc852e2}=_0x316298,_0x2e1f01=this[_0x410bb7(0x178)]['registerRefRange'](_0x2da97b,_0x42f104=>(_0x2e1f01[_0x410bb7(0x20f)](),_0x51c025(_0x42f104,_0xebbc90,_0xc852e2,_0x2da97b)));_0x5a53c8[_0x410bb7(0x2b3)](_0x2e1f01);});};this[_0x1e4fe7(0x18a)](a[_0x1e4fe7(0x1be)](this['_cursorInfo$'][_0x1e4fe7(0xdf)](()=>{_0x4282a3();})));}[_0x45141a(0x1c4)](){const _0x589266=_0x45141a;var _0x485318,_0x385367;if(this['_online']=!0x0,((_0x485318=this[_0x589266(0x181)][_0x589266(0x269)]())==null?void 0x0:_0x485318[_0x589266(0x189)]())!==this[_0x589266(0x290)])return;const _0x20140c=(_0x385367=this[_0x589266(0x19c)][_0x589266(0x1a0)](g['SheetsSelectionsService'])[_0x589266(0x2c3)]())==null?void 0x0:_0x385367[0x0],_0x371d7b=this['_univerInstanceService']['getCurrentUnitForType'](a[_0x589266(0x29b)][_0x589266(0x21b)])[_0x589266(0x2f2)]();_0x20140c&&_0x371d7b&&this[_0x589266(0x243)](_0x371d7b[_0x589266(0xf7)](),_0x20140c);}['_toggleOffline'](){const _0x36c920=_0x45141a;this[_0x36c920(0x25a)]=!0x1;}};Se=it([A(0x2,a[_0x45141a(0x147)](a[_0x45141a(0x1b0)])),A(0x3,a[_0x45141a(0x147)](me)),A(0x4,a['Inject'](u[_0x45141a(0x2f8)])),A(0x5,a[_0x45141a(0x101)]),A(0x6,a[_0x45141a(0x274)]),A(0x7,a[_0x45141a(0x147)](g[_0x45141a(0x1bc)]))],Se);function _0x1606(){const _0x2aa8a6=['_handleEvent','collabStatus.fetchMiss','LOCAL_CACHE_INTERVAL_KEY','unit','BrowserCollaborationSocketService','getTypeOfUnitAdded$','_docClipboardService','hasOwnProperty','[RemoteUniscriptService]:\x20no\x20focused\x20unit','EMAIL_HAS_BEEN_BOUND','connectInjector','_textBubble','whenReady','ONLINE','SHEET_VIEWPORT_KEY','executeCommand','collabStatus.notCollab','forwardRef','collaboration-client.offline-data-not-saved','No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','_imageIoService','_collaborationController','_scene','_assignedColors','black','_localStorageService','BehaviorSubject','_updateLocalCursor','MessageType','WebSocketService','_collabCursorState$','executionId','getColor','APPLY_DUPLICATED','setAlpha','_anchor','collabStatus.conflict','_localeService','assignAColorForMemberID','handleInsertRow','_docSyncEditingCollabCursorService','some','_clearOtherTimers','currentColor','isTransformMutationFailure','_roomMembers$','_getAnchorBounding','getValue','ThemeService','range','_online','INVITE_CODE_HAS_BEEN_UES','imageSourceType','_notificationService','UniverCollaborationClientUIPlugin','_removeClearOtherTimer','pushState','IRemoteInstanceService','contains','_heartbeatTimer','use','key','show','SYNCED','_hover','getFocusedUnit','Tooltip','all','height','SetTextSelectionsOperation','Rect','isTransformMutationsWithChangesetSuccess','filter','getRangePointData','APPLY_NON_SEQUENTIAL_REVISION','evenodd','ICommandService','_refreshCollabCursors','ALREADY_EXISTS','onLocalMutation','_setupBeforeClosingHandler','react','getMergeData','_onCursorDelete','concat','fromEventSubject','MOBILE_HAS_BEEN_BOUND','@univerjs/drawing','bottom','_registerDependencies','_handleHover','currentTheme$','m2Prime','round','unitId','clearTimeout','ColorKit','getUndoRedoMutationParamsCache','Workbook','INVALID_ARGUMENT','_uiPartsService','CollaborationStatusDisplay','DocCollaborationEntity','on-line-single_clip0_910_349','unitID','entries','_configService','div','PENDING','DeleteRangeMoveLeftCommandId','prototype','push','Disposable','error','1075131ssFQpn','UniverInstanceType','IMessageService','body','DependentOn','ACTIVE_UNIT_EVENT_CHANNEL','onCommandExecuted','RichTextEditingMutation','_lastPointer','selections','CollaborationController','SheetSkeletonManagerService','_docTransformIMECacheService','No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.','row','session.collaboration-timeout','idSuffix','DocStateChangeManagerService','IConfigService','top','_removeCollabCursors','from','_initStatusComponent','NO_OTHER_CLIENTS_EDITING','skeleton','add','split','_labelPosition','clipPath','_unitStatus','setUndoRedoMutationParamsCache','engine','NodePositionConvertToRectRange','UniverCollaborationClientPlugin','unshift','_cursorShapes','transformRemoteChangeset','children','_eventUnsubscribe','combineLatest','clsx','getCurrentSelections','drawWith','_collaborationUIEventService','VIEW_MAIN','_updateSubUnitFromURLParams','setStateCache','mergeOverrideWithDependencies','purple300','throttleTime','takeUntil','NOT_FOUND','_httpService','_cursor','runId','@univerjs-pro/collaboration-client','_disabled','disableLocalCache','replaceDocRanges','_entityInit$','UniverIcon','cursorInfo','string','_themeService','1098736RPFcip','ranges','/run/','RemoveRowCommandId','_saveTaskMap','DOC_RANGE_TYPE','PERMISSION_DENIED','ENSURE_SNAPSHOT_EXECUTION','INotificationService','rxjs','next','_cursors','_getSheetObject','YUUMI_URL_COL_OUT_OF_RANGE','with','SetDocZoomRatioOperation','collabStatus.synced','useDependency','endRow','DocIMEInputManagerService','assign','CollaborationStatus','getVpScrollXYInfoByPosToVp','_initResize','getActiveSheet','LocaleService','_getScale','isActive','_memberService','@univerjs/engine-render','MemberService','_urlService','_getSaveTimeout','IImageIoService','runRefRangeMutations','flatMap','IRenderManagerService','handleDeleteRangeMoveLeft','complete','makeDirty','getCellPositionByOffset','CONNECTOR_DATA_TOO_LARGE','type','@univerjs-pro/collaboration','COMPLETION_FINISHED','values','_unitOnClients','HTTPService','transformStateCache','Failed','SessionStatus','Plugin','asObservable','_config','onMouseMove','OFFLINE','jsxs','onRendered','addObjects','off-line-single','getCurrentRevOfUnit','backgroundColor','_registerRenderDependencies','rxjs/operators','width','_getSessionTicket','map','LOGIN_FAILED','_backgroundColor','[CollaborationDataLoaderController]','_setupSubUnitSync','collab-rect-range-','findNodePositionByCharIndex','ILocalStorageService','SNAPSHOT_INVALID_SNAPSHOT','_transformPreviousActiveRange','_selfUnitIDs','transformMutation','history','arc','addHandlerCallback','subunit','MoveRangeCommandId','onStarting','Vector2','getLocalCacheKey','function','APPLY_REJECT','DesktopCollaborationStatusDisplayController','COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY','isArray','getCoordByCell','params','_colorIndex','ILocalCacheService','_scheduleHeartbeat','_anchorDot','trim','init','UNIVER_DOC','_initEvent','switchMap','urlChange$','getCollabCursors$','APPLY_PERMISSION_DENIED','hide','_status$','2752385mAAPmO','href','UNAUTHENTICATED','_onRefRangeChange','_document','JOIN_ROOM_FAILED','_dataLoaderService','rgba(255,\x20255,\x20255,\x200.01)','newValue','_initCommandExecutedListener','registerRefRange','includes','moveTo','find','measureText','AWAITING','_createSocketURL','syncEditingCollabCursor','DocSelectionManagerService','subscribe','call','YUUMI_NO_CUBOID_FOR_QUESTION','startColumn','updateOfflineData','USER_NOT_INVITED_CODE','_id','YUUMI_UNABLE_LOAD_URL','apply','@univerjs/sheets','getRenderById','Error','InsertRangeMoveRightCommandId','UNDEFINED','#fff','onPointerLeave$','origin','univerjs-icon\x20univerjs-icon-','forEach','CommandType','MUTATION','RegularPolygon','handleDeleteRangeMoveUp','text','getSheetId','_color','onPointerEnter$','SOCKET_FAILED','displayName','getCollabEntity$','override','setShapeProps','_render','defineProperty','IUniverInstanceService','jiqing500','1em','getOwnPropertyDescriptor','RECT','deepClone','TEXT','_instanceService','COLORS','on-line-single','_session','OTHER_CLIENT_EDITING','FETCH_MISS','Module','transformByState','getActiveRange','runOnServer','...','blue400','getOffsetConfig','getDocRanges','fillRule','@univerjs/ui','getMember','m1Prime','HEADER_MENU','collaboration.single-unit.warning','setConfig','url(#$1','set','NOT_COLLAB','847684TfKoGd','LICENSE_MAX_UNITS_EXCEEDED','CollaborationEvent','code','_initEntityListener','IDocClipboardService','getSheetBySheetId','InsertRangeMoveDownCommandId','collabStatus.syncing','setParam','TOO_MANY_REQUESTS','closePath','addEventListener','_initDependencies','DisposableCollection','USERS_LEAVE','_hideTimer','INVITE_CODE_REQUIRED','transformMutationsWithChangeset','Subject','getParam','search','@univerjs/docs','currentSkeleton$','status$','data','ISocketService','_startDocCollabCursor','color','fillStyle','CHANGESET_REVISION_CONFILICT','useObservable','useCallback','docStateChange$','#FFF','setInterval','@univerjs/rpc','merge','M0\x200H16V16H0z','Inject','_name','extend','_context','stringify','CollaborationSessionService','_drawAnchor','RevisionService','collabStatus.offline','collaboration.closeRoom','delete','getSkeleton','current','1840890oHIXgD','off-line-single_clip0_910_343','TRANSFORM_CHANGE_OBSERVABLE_TYPE','@univerjs/sheets-ui','OffLineSingle','mask','transformIMECache','_initStatusListener','focused$','_transformService','APPLY_REVISION_CONFILICT','_sheetSkeletonManagerService','_commandService','Warning','_drawRectRange','LICENSE_IMPORT_SIZE_EXCEEDED','url(#off-line-single_clip0_910_343)','INVITE_CODE_ALREADY_BOUND','_hovered','DEFAULT_WS_SESSION_TICKET_URL','SheetCollabCursorShape','@univerjs/core','_shapes','_messageService','requireSession','_docSkeletonManagerService','LICENSE_DISTRO_REJECTED','registerBeforeClose','useRef','RxDisposable','_drawTextRange','save','UnitStatus','handleMoveRange','handleInsertRangeMoveDown','addObject','_refRangeService','_transformUndoRedoStack','_scheduleSaving','location','has','UPDATE_CURSOR','_docTransformSelectionsService','send','_entities','_univerInstanceService','SUBMIT_CHANGESET_TIMEOUT','restore','_logService','activeSheet$','pipe','getUnhiddenWorksheets','5481686Uxgvtp','getUnitId','disposeWithMe','SNAPSHOT_HAS_BEEN_REMOVED','replace','textRanges','createInstance','collab-client.tooltip.reconnect','gold400','svg','bold\x2013px\x20Source\x20Han\x20Sans\x20CN','transformSelections','replaceState','verdancy600','Shape','setActiveRange','CONFLICT','beginPath','collabCursorState$','symbol','_injector','UNIVER_COLLABORATION_CLIENT_WEB_PLUGIN','univer-text-green-500','CollaborationDataLoaderController','get','getMemberID','getStateCache','generateRandomId','className','selection','_getMergeRange','toString','searchParams','_syncEditingCollabCursorService','icon','_saveCache','TEXT_RANGE_LAYER_INDEX','EffectRefRangId','memberID','FromArray','Injector','colorChannel1','createElement','0\x200\x2017\x2016','exhaustSavingTask','unsubscribe','createIdentifier','_onCursorUpdate','column','ITransformService','getItem','redoState','RefRangeService','InsertColCommandId','toDisposable','collab-text-anchor-','LICENSE_EXPORT_SIZE_EXCEEDED','mutations','fromEvent','fill','_toggleOnline','IBeforeCloseService','translate(.97)','_draw','registerDependencies','setItem','startsWith','size','INTERNAL_ERROR','clearInterval','lineTo','_toggleOffline','Tools','getAncestorScale','ILogService','_startSheetCollabCursor','824372JsKyDr','event$','shareReplay','removeParam','roomMembers','Rectangle','_colorAssignService','_cachedData','undoState','labelPosition','touchDependencies','BuiltInUIPart','disposeUnit','indexOf','addClipboardHook','attrs','triggerDblclick','getTypeOfUnitDisposed$','YUUMI_SUBSCRIPTION_NOT_FOUND','font','_renderManagerService','SetSelectionsOperation','path','_scheduleClearOtherTimer','saveTaskMap','CLOSE_ROOM','_collabCursorController','_range','jsx','WebBrowserSingleActiveUnitService','dispose$','getOwnPropertySymbols','propertyIsEnumerable','tag','CollaborationUIEventId','WebURLService','name','uni.network.url-service','saveOfflineData','getRelativeToViewportCoord','storage','subscribeEvent','length','Optional','_collabSessionService','OnLineSingle','INVALID_INVITE_CODE','getSheetObject','enableLocalCache','popstate','debounce','SetWorksheetActivateCommand','getConfig','Unknown\x20user','_send','doc.mutation.rich-text-editing','_updateCollabCursors','_ensureSubject','RemoteUniscriptService','dispose','_init','defIds','WECHAT_HAS_BEEN_BOUND','CollaborationSocketService','eventID','unload','onTransformChange$','_docStateChangeManagerService','permission.title','@univerjs/network','min','UNIVER_SHEET','_beforeCloseService','none','M4.5865\x2011.6499C3.36983\x2011.6499\x201.6665\x2011.1024\x201.6665\x208.9124C1.6665\x206.3574\x204.2215\x205.8099\x204.9515\x205.8099C5.3165\x204.5324\x206.0465\x202.5249\x208.9665\x202.5249C11.5215\x202.5249\x2012.6165\x203.9849\x2012.9815\x205.2624C12.9815\x205.2624\x2016.2665\x205.6274\x2016.2665\x208.7299C16.2665\x2010.9199\x2014.8065\x2011.6499\x2013.3465\x2011.6499M6.7767\x2011.6497L8.9667\x2013.4747L11.8867\x209.82466','then','_cursorInfo$','session.will-retry','YUUMI_RATE_OVER_LIMIT','cursorInfo$','defs','_revisionService','_updateURLWithCurrentState','registerComponent'];_0x1606=function(){return _0x2aa8a6;};return _0x1606();}var at=Object[_0x45141a(0x104)],ct=(_0x131d40,_0x961475,_0x42d888,_0x2d9e08)=>{for(var _0x3b7fd7=_0x2d9e08>0x1?void 0x0:_0x2d9e08?at(_0x961475,_0x42d888):_0x961475,_0x25a347=_0x131d40['length']-0x1,_0x4d372c;_0x25a347>=0x0;_0x25a347--)(_0x4d372c=_0x131d40[_0x25a347])&&(_0x3b7fd7=_0x4d372c(_0x3b7fd7)||_0x3b7fd7);return _0x3b7fd7;},ie=(_0x513c0b,_0x2d4b39)=>(_0x712523,_0x1c7a0c)=>_0x2d4b39(_0x712523,_0x1c7a0c,_0x513c0b);let x=class extends a[_0x45141a(0x171)]{constructor(_0x2677bd,_0x58d4fb,_0x164941){const _0x3832da=_0x45141a;super(),h(this,'_entities',new Map()),h(this,_0x3832da(0x2d5),new d[(_0x3832da(0x133))]()),(this['_univerInstanceService']=_0x2677bd,this[_0x3832da(0x19c)]=_0x58d4fb,this[_0x3832da(0x200)]=_0x164941,this[_0x3832da(0x210)]());}['dispose'](){const _0x37b278=_0x45141a;super[_0x37b278(0x20f)](),this[_0x37b278(0x2d5)][_0x37b278(0x300)](),this[_0x37b278(0x180)]['forEach'](_0x9ad6ce=>_0x9ad6ce[_0x37b278(0x20f)]());}[_0x45141a(0xc8)](_0x4ea2ad){const _0x5a39cf=_0x45141a;return this[_0x5a39cf(0x180)][_0x5a39cf(0x17c)](_0x4ea2ad)?this['_entities'][_0x5a39cf(0x1a0)](_0x4ea2ad)[_0x5a39cf(0x223)]:this[_0x5a39cf(0x2d5)][_0x5a39cf(0x186)](d[_0x5a39cf(0x270)](_0x2fe17f=>_0x2fe17f['unitID']===_0x4ea2ad),d['switchMap'](_0x9d6a89=>_0x9d6a89['cursorInfo$']));}[_0x45141a(0x210)](){const _0x545525=_0x45141a;this[_0x545525(0x181)]['getTypeOfUnitAdded$'](a['UniverInstanceType'][_0x545525(0x21b)])[_0x545525(0x186)](d['takeUntil'](this['dispose$']))[_0x545525(0xdf)](async _0x2ad7fb=>{const _0x3636e8=_0x545525,_0x15402c=_0x2ad7fb[_0x3636e8(0x189)](),_0x18bf0e=await this['_startSheetCollabCursor'](_0x15402c);this[_0x3636e8(0x2d5)][_0x3636e8(0x2e4)](_0x18bf0e),this[_0x3636e8(0x180)][_0x3636e8(0x11e)](_0x15402c,_0x18bf0e);}),this[_0x545525(0x181)][_0x545525(0x22d)](a[_0x545525(0x29b)][_0x545525(0xc4)])[_0x545525(0x186)](d[_0x545525(0x2cc)](this['dispose$']))[_0x545525(0x186)](d[_0x545525(0x270)](_0x5a8566=>!_0x5a8566[_0x545525(0x189)]()[_0x545525(0x1ca)]('__')))[_0x545525(0xdf)](async _0x3beb0b=>{const _0x508fcf=_0x545525,_0x1ff796=_0x3beb0b[_0x508fcf(0x189)](),_0x3c2353=await this['_startDocCollabCursor'](_0x1ff796);this[_0x508fcf(0x2d5)]['next'](_0x3c2353),this[_0x508fcf(0x180)]['set'](_0x1ff796,_0x3c2353);}),d[_0x545525(0x145)](this[_0x545525(0x181)]['getTypeOfUnitDisposed$'](a['UniverInstanceType'][_0x545525(0xc4)]),this[_0x545525(0x181)][_0x545525(0x1e5)](a[_0x545525(0x29b)]['UNIVER_SHEET']))[_0x545525(0x186)](d['takeUntil'](this[_0x545525(0x1f2)]))['subscribe'](_0x134283=>{const _0x13b24a=_0x545525,_0x29d24f=_0x134283[_0x13b24a(0x189)](),_0x519b92=this[_0x13b24a(0x180)][_0x13b24a(0x1a0)](_0x29d24f);_0x519b92&&(_0x519b92['dispose'](),this[_0x13b24a(0x180)][_0x13b24a(0x151)](_0x29d24f));});}async[_0x45141a(0x1d3)](_0x54a0a7){const _0x2347a2=_0x45141a,_0x199f91=await this[_0x2347a2(0x200)][_0x2347a2(0x16c)](_0x54a0a7),_0x14536b=this[_0x2347a2(0x19c)][_0x2347a2(0x18e)](Se,_0x54a0a7,_0x199f91);return _0x14536b[_0x2347a2(0xc3)](),_0x14536b;}async[_0x45141a(0x13b)](_0x29c8c7){const _0x33bb83=_0x45141a,_0x59a79c=await this[_0x33bb83(0x200)]['requireSession'](_0x29c8c7),_0x3c1056=this[_0x33bb83(0x19c)][_0x33bb83(0x18e)](fe,_0x29c8c7,_0x59a79c);return _0x3c1056['init'](),_0x3c1056;}};x=ct([ie(0x0,a[_0x45141a(0x101)]),ie(0x1,a['Inject'](a[_0x45141a(0x1b0)])),ie(0x2,a[_0x45141a(0x147)](u[_0x45141a(0x14c)]))],x);const q=0x14,Re=0xc8,ne=0x4,lt=0x5;function _t(_0x286a9f,_0x1449eb){const _0x5a0279=_0x45141a;let {radius:_0x5ef463,width:_0x293ed3,height:_0x25ed27}=_0x1449eb;_0x5ef463=_0x5ef463!=null?_0x5ef463:0x0,_0x293ed3=_0x293ed3!=null?_0x293ed3:0x1e,_0x25ed27=_0x25ed27!=null?_0x25ed27:0x1e;let _0x868235=0x0,_0x13bb9d=0x0,_0x5ac938=0x0;_0x868235=_0x13bb9d=_0x5ac938=Math['min'](_0x5ef463,_0x293ed3/0x2,_0x25ed27/0x2),_0x286a9f[_0x5a0279(0x199)](),_0x286a9f[_0x5a0279(0xd8)](_0x868235,0x0),_0x286a9f[_0x5a0279(0x1ce)](_0x293ed3-_0x13bb9d,0x0),_0x286a9f['arc'](_0x293ed3-_0x13bb9d,_0x13bb9d,_0x13bb9d,Math['PI']*0x3/0x2,0x0,!0x1),_0x286a9f['lineTo'](_0x293ed3,_0x25ed27-_0x5ac938),_0x286a9f[_0x5a0279(0xb0)](_0x293ed3-_0x5ac938,_0x25ed27-_0x5ac938,_0x5ac938,0x0,Math['PI']/0x2,!0x1),_0x286a9f['lineTo'](0x0,_0x25ed27),_0x286a9f[_0x5a0279(0x1ce)](0x0,_0x868235),_0x286a9f['arc'](_0x868235,_0x868235,_0x868235,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x286a9f[_0x5a0279(0x12b)](),_0x1449eb[_0x5a0279(0x1c3)]&&(_0x286a9f[_0x5a0279(0x173)](),_0x286a9f[_0x5a0279(0x13d)]=_0x1449eb[_0x5a0279(0x1c3)],_0x1449eb[_0x5a0279(0x116)]===_0x5a0279(0x273)?_0x286a9f[_0x5a0279(0x1c3)](_0x5a0279(0x273)):_0x286a9f[_0x5a0279(0x1c3)](),_0x286a9f[_0x5a0279(0x183)]());}class ee extends p[_0x45141a(0x196)]{constructor(_0x47b6f1,_0x419ef7){const _0x3f1daa=_0x45141a;super(_0x47b6f1,_0x419ef7),h(this,_0x3f1daa(0x13c)),h(this,'text'),(this['color']=_0x419ef7==null?void 0x0:_0x419ef7['color'],this[_0x3f1daa(0xf6)]=_0x419ef7==null?void 0x0:_0x419ef7[_0x3f1daa(0xf6)]);}static[_0x45141a(0x2c4)](_0x2bed4f,_0x263e77){const _0x1363a6=_0x45141a,{text:_0xe1547a,color:_0x5d22f3}=_0x263e77;_0x2bed4f[_0x1363a6(0x173)](),_0x2bed4f[_0x1363a6(0x1e7)]=_0x1363a6(0x192);const _0x294093=_0x2bed4f[_0x1363a6(0xda)](_0xe1547a)[_0x1363a6(0xa1)],_0x1f89e2=Math[_0x1363a6(0x21a)](_0x294093+0x2*ne,Re);_t(_0x2bed4f,{'height':q,'radius':0x4,'width':_0x1f89e2,'fill':_0x5d22f3}),_0x2bed4f[_0x1363a6(0x13d)]=_0x1363a6(0x142);const _0x554c96=ne,_0x5d5972=q-lt,_0x4917ea=Re-0x2*ne;if(_0x294093>_0x4917ea){let _0x4ec5c2='',_0x5ddf3a=0x0;for(const _0x17657b of _0xe1547a){const _0x29f4f6=_0x2bed4f[_0x1363a6(0xda)](_0x17657b)[_0x1363a6(0xa1)];if(_0x5ddf3a+_0x29f4f6<=_0x4917ea-_0x2bed4f[_0x1363a6(0xda)](_0x1363a6(0x112))[_0x1363a6(0xa1)])_0x4ec5c2+=_0x17657b,_0x5ddf3a+=_0x29f4f6;else{_0x4ec5c2+=_0x1363a6(0x112);break;}}_0x2bed4f['fillText'](_0x4ec5c2,_0x554c96,_0x5d5972);}else _0x2bed4f['fillText'](_0xe1547a,_0x554c96,_0x5d5972);_0x2bed4f[_0x1363a6(0x183)]();}[_0x45141a(0x1c7)](_0x569fca){const _0x2dbdeb=_0x45141a;ee[_0x2dbdeb(0x2c4)](_0x569fca,this);}}const re=_0x45141a(0x1bf),ht='collab-text-range-',ut=_0x45141a(0xa8),k=0x6,dt=1.5,oe=0x4,ft=1.5,St=_0x45141a(0xd3);class De{constructor(_0x234c9d,_0x2a57b3,_0x9b11ca,_0x34a981){const _0x41d116=_0x45141a;h(this,_0x41d116(0x16a),[]),h(this,_0x41d116(0x24b),null),h(this,_0x41d116(0x233),null),h(this,_0x41d116(0xc1),null),h(this,_0x41d116(0x130),null),h(this,_0x41d116(0x2c0),null),(this[_0x41d116(0x2cf)]=_0x234c9d,this[_0x41d116(0x23e)]=_0x2a57b3,this['_docSkeleton']=_0x9b11ca,this[_0x41d116(0xd0)]=_0x34a981,this[_0x41d116(0xff)]());}set[_0x45141a(0x268)](_0x274401){const _0x2225aa=_0x45141a;_0x274401?(this[_0x2225aa(0xc1)]&&this[_0x2225aa(0xc1)][_0x2225aa(0xca)](),this[_0x2225aa(0x233)]&&this[_0x2225aa(0x233)][_0x2225aa(0x266)]()):(this['_anchorDot']&&this[_0x2225aa(0xc1)][_0x2225aa(0x266)](),this[_0x2225aa(0x233)]&&this[_0x2225aa(0x233)][_0x2225aa(0xca)]());}[_0x45141a(0x20f)](){const _0x2b3050=_0x45141a;for(const _0x2b6332 of this['_shapes'])_0x2b6332[_0x2b3050(0x20f)]();this[_0x2b3050(0x233)]&&this[_0x2b3050(0x233)]['dispose'](),this[_0x2b3050(0xc1)]&&this[_0x2b3050(0xc1)]['dispose'](),this[_0x2b3050(0x24b)]&&this['_anchor'][_0x2b3050(0x20f)](),this[_0x2b3050(0x2c0)]&&this[_0x2b3050(0x2c0)]();}[_0x45141a(0xff)](){const _0xf5a0c1=_0x45141a;var _0x56de6a;const {_docSkeleton:_0x33be5a,_document:_0x4b46c9}=this,{color:_0x26b1c4,name:_0x26457f,ranges:_0x3b7fdd}=this['_cursor'],_0x1455ec=_0x4b46c9[_0xf5a0c1(0x114)](),{docsLeft:_0x10a239,docsTop:_0x92d423}=_0x1455ec,_0x466b7d=new b['NodePositionConvertToCursor'](_0x1455ec,_0x33be5a);for(const {startOffset:_0x492ee2,endOffset:_0x20bc28,rangeType:_0x5deac5,segmentId:_0x1d878f,segmentPage:_0x4f1e14,collapsed:_0x963d4a,isActive:_0x2ef9ae}of _0x3b7fdd){const _0x31b7fc=_0x33be5a['findNodePositionByCharIndex'](_0x492ee2,!0x0,_0x1d878f,_0x4f1e14);let _0x567d57=_0x33be5a[_0xf5a0c1(0xa9)](_0x20bc28,!0x0,_0x1d878f,_0x4f1e14);if(_0x567d57==null&&(_0x567d57=_0x33be5a['findNodePositionByCharIndex'](_0x20bc28-0x1,!0x1,_0x1d878f,_0x4f1e14)),_0x2ef9ae){const {contentBoxPointGroup:_0x103000}=_0x466b7d[_0xf5a0c1(0x271)](_0x567d57,_0x567d57);if(_0x103000[_0xf5a0c1(0x1fe)]===0x0)continue;this[_0xf5a0c1(0x14d)](_0x26b1c4,_0x103000,_0x10a239,_0x92d423,_0x26457f),this[_0xf5a0c1(0x2c0)]=this[_0xf5a0c1(0x282)]();}if(_0x31b7fc&&_0x567d57){if(_0x5deac5===a['DOC_RANGE_TYPE']['RECT']){const _0x24746b=new b[(_0xf5a0c1(0x2ba))](_0x1455ec,_0x33be5a),{pointGroup:_0x384a38}=(_0x56de6a=_0x24746b[_0xf5a0c1(0x271)](_0x31b7fc,_0x567d57))!=null?_0x56de6a:{};if(_0x384a38==null||_0x384a38[_0xf5a0c1(0x1fe)]===0x0)continue;this[_0xf5a0c1(0x162)](_0x26b1c4,_0x384a38,_0x10a239,_0x92d423);}else{if(!_0x963d4a){const {borderBoxPointGroup:_0xbcfec}=_0x466b7d[_0xf5a0c1(0x271)](_0x31b7fc,_0x567d57);if(_0xbcfec[_0xf5a0c1(0x1fe)]===0x0)continue;this['_drawTextRange'](_0x26b1c4,_0xbcfec,_0x10a239,_0x92d423);}}}}}[_0x45141a(0x14d)](_0x317de4,_0x3dc179,_0x2e071f,_0x2def6d,_0x575610){const _0x468c87=_0x45141a,_0x218ca9=this[_0x468c87(0x256)](_0x3dc179),{left:_0x492f86,top:_0x1ebc69,height:_0x2235b7}=_0x218ca9,_0x201cbc=this[_0x468c87(0x2f4)](),_0x219586=ft/_0x201cbc,_0x2e30dd=new p['Rect'](re+a[_0x468c87(0x1d0)][_0x468c87(0x1a3)](k),{'left':_0x492f86+_0x2e071f-_0x219586,'top':_0x1ebc69+_0x2def6d,'height':_0x2235b7,'width':dt,'fill':_0x317de4||p['getColor'](a['COLORS'][_0x468c87(0x240)],0x0),'strokeWidth':_0x219586,'stroke':St,'evented':!0x0});this['_anchor']=_0x2e30dd,this[_0x468c87(0x23e)][_0x468c87(0x177)](_0x2e30dd,b[_0x468c87(0x1ac)]);const _0x27218f=new p[(_0x468c87(0x26e))](re+a[_0x468c87(0x1d0)][_0x468c87(0x1a3)](k),{'left':_0x492f86+_0x2e071f-_0x219586,'top':_0x1ebc69+_0x2def6d-oe/0x2,'height':oe,'width':oe,'fill':_0x317de4||p[_0x468c87(0x248)](a['COLORS'][_0x468c87(0x240)],0x0),'strokeWidth':0x0,'stroke':_0x317de4||p[_0x468c87(0x248)](a[_0x468c87(0x109)][_0x468c87(0x240)],0x0),'evented':!0x1});this[_0x468c87(0xc1)]=_0x27218f,this['_scene'][_0x468c87(0x177)](_0x27218f,b['TEXT_RANGE_LAYER_INDEX']);const _0xed91fe=new ee(re+a[_0x468c87(0x1d0)][_0x468c87(0x1a3)](k),{'left':_0x492f86+_0x2e071f-_0x219586,'top':_0x1ebc69+_0x2def6d-q,'text':_0x575610,'color':_0x317de4});this[_0x468c87(0x233)]=_0xed91fe,this[_0x468c87(0x23e)][_0x468c87(0x177)](_0xed91fe,b[_0x468c87(0x1ac)]),this[_0x468c87(0x268)]=!0x1;}[_0x45141a(0x282)](){const _0x94480a=_0x45141a,_0x347741=this['_anchor'][_0x94480a(0xf9)]['subscribeEvent'](()=>{this['_hover']=!0x0;}),_0x245481=this[_0x94480a(0x24b)][_0x94480a(0xee)][_0x94480a(0x1fd)](()=>{const _0x40934d=_0x94480a;this[_0x40934d(0x130)]&&clearTimeout(this[_0x40934d(0x130)]),this[_0x40934d(0x130)]=setTimeout(()=>{this['_hover']=!0x1;},0x7d0);});return()=>{const _0x4aa800=_0x94480a;_0x347741['unsubscribe'](),_0x245481[_0x4aa800(0x1b5)]();};}[_0x45141a(0x172)](_0xe38788,_0xc71e0f,_0x58a4f2,_0x41b14b){const _0x1bfc67=_0x45141a,_0x2c3d7b=new a[(_0x1bfc67(0x288))](_0xe38788)['setAlpha'](0.2)['toRgbString'](),_0x4e71a4=new p[(_0x1bfc67(0xf4))](ht+a[_0x1bfc67(0x1d0)][_0x1bfc67(0x1a3)](k),{'pointsGroup':_0xc71e0f,'fill':_0x2c3d7b||p[_0x1bfc67(0x248)](a['COLORS'][_0x1bfc67(0x240)],0.2),'left':_0x58a4f2,'top':_0x41b14b,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x1bfc67(0x16a)]['push'](_0x4e71a4),this[_0x1bfc67(0x23e)][_0x1bfc67(0x177)](_0x4e71a4,b[_0x1bfc67(0x1ac)]);}[_0x45141a(0x162)](_0x16efc2,_0x5ba0f6,_0x573ece,_0x4ce252){const _0xbe7386=_0x45141a,_0x23f725=new a[(_0xbe7386(0x288))](_0x16efc2)[_0xbe7386(0x24a)](0.2)['toRgbString'](),_0x102887=new p[(_0xbe7386(0xf4))](ut+a[_0xbe7386(0x1d0)][_0xbe7386(0x1a3)](k),{'pointsGroup':_0x5ba0f6,'fill':_0x23f725||p[_0xbe7386(0x248)](a['COLORS'][_0xbe7386(0x240)],0.2),'left':_0x573ece,'top':_0x4ce252,'evented':!0x1,'debounceParentDirty':!0x1});this[_0xbe7386(0x16a)][_0xbe7386(0x297)](_0x102887),this['_scene'][_0xbe7386(0x177)](_0x102887,b[_0xbe7386(0x1ac)]);}['_getAnchorBounding'](_0x100a9){const _0x2c4b86=_0x100a9[0x0],_0x17b20d=_0x2c4b86[0x0],_0x384517=_0x2c4b86[0x2],{x:_0xd6420b,y:_0x372d8a}=_0x17b20d,{x:_0x359fe4,y:_0x3a677d}=_0x384517;return{'left':_0xd6420b,'top':_0x372d8a,'width':_0x359fe4-_0xd6420b,'height':_0x3a677d-_0x372d8a};}['_getScale'](){const _0x5f31c5=_0x45141a,{scaleX:_0x3e29b1,scaleY:_0x430ed4}=this[_0x5f31c5(0x23e)][_0x5f31c5(0x1d1)]();return Math['max'](_0x3e29b1,_0x430ed4);}}var It=Object['getOwnPropertyDescriptor'],vt=(_0x553b22,_0x250bb0,_0x25e2b0,_0x57644e)=>{const _0xdb4309=_0x45141a;for(var _0x62e773=_0x57644e>0x1?void 0x0:_0x57644e?It(_0x250bb0,_0x25e2b0):_0x250bb0,_0xea252a=_0x553b22[_0xdb4309(0x1fe)]-0x1,_0x144f16;_0xea252a>=0x0;_0xea252a--)(_0x144f16=_0x553b22[_0xea252a])&&(_0x62e773=_0x144f16(_0x62e773)||_0x62e773);return _0x62e773;},Y=(_0x215dbc,_0xd853bc)=>(_0x12f079,_0x3c5001)=>_0xd853bc(_0x12f079,_0x3c5001,_0x215dbc);let Ie=class extends a[_0x45141a(0x171)]{constructor(_0x985f0b,_0x521214,_0x1008ab,_0x25f195,_0xbce216){const _0x6504b4=_0x45141a;super(),h(this,'_cursorShapes',[]),h(this,_0x6504b4(0x2e5),[]),(this[_0x6504b4(0x14a)]=_0x985f0b,this[_0x6504b4(0x16d)]=_0x521214,this['_collabCursorController']=_0x1008ab,this[_0x6504b4(0x160)]=_0x25f195,this[_0x6504b4(0x2d9)]=_0xbce216,this[_0x6504b4(0x210)]());}[_0x45141a(0x210)](){const _0x2a19de=_0x45141a,_0x4d38bc=this['_context']['unitId'],_0x181cee=this[_0x2a19de(0x16d)];this[_0x2a19de(0x18a)](d[_0x2a19de(0x2c1)]([this[_0x2a19de(0x1ee)][_0x2a19de(0xc8)](_0x4d38bc),this['_themeService'][_0x2a19de(0x283)]])[_0x2a19de(0x186)]($[_0x2a19de(0xa3)](([_0x39fc63,_0x45c575])=>({'skeleton':_0x181cee[_0x2a19de(0x152)](),'cursors':[..._0x39fc63[_0x2a19de(0x307)]()][_0x2a19de(0x2fd)](_0x545292=>({..._0x545292,'color':_0x45c575[_0x545292[_0x2a19de(0x13c)]]}))})))[_0x2a19de(0xdf)](_0x47bf64=>{const _0xa32234=_0x2a19de;if(this[_0xa32234(0x2ae)](),_0x47bf64){const {skeleton:_0x12a9e6,cursors:_0x4ccd43}=_0x47bf64;this[_0xa32234(0x20c)](_0x12a9e6,_0x4ccd43);}})),this[_0x2a19de(0x2f1)](),this[_0x2a19de(0xd5)]();}[_0x45141a(0x20c)](_0x3841d9,_0x2f8155){const _0x5ee047=_0x45141a,{scene:_0xa02af8,mainComponent:_0x4892b6}=this[_0x5ee047(0x14a)],_0x4a8bbe=_0x2f8155['map'](_0x9012ea=>new De(_0x9012ea,_0xa02af8,_0x3841d9,_0x4892b6));this[_0x5ee047(0x2bd)]=_0x4a8bbe,this[_0x5ee047(0x2e5)]=_0x2f8155;}[_0x45141a(0x275)](){const _0x351b97=_0x45141a;this[_0x351b97(0x2ae)]();const {scene:_0x16be76,mainComponent:_0x146c4e}=this['_context'],_0x5ddfc5=this['_docSkeletonManagerService']['getSkeleton'](),_0x36241e=this[_0x351b97(0x2e5)][_0x351b97(0xa3)](_0x1a9501=>new De(_0x1a9501,_0x16be76,_0x5ddfc5,_0x146c4e));this['_cursorShapes']=_0x36241e;}[_0x45141a(0x2ae)](){const _0x131d90=_0x45141a;this[_0x131d90(0x2bd)][_0x131d90(0xf1)](_0x5abbd4=>_0x5abbd4[_0x131d90(0x20f)]()),this['_cursorShapes']=[];}['_initCommandExecutedListener'](){const _0x34e2d7=_0x45141a,_0x301658=[b[_0x34e2d7(0x2e9)]['id']];this['disposeWithMe'](this[_0x34e2d7(0x160)]['onCommandExecuted'](_0x31ad16=>{const _0x335813=_0x34e2d7;_0x301658[_0x335813(0xd7)](_0x31ad16['id'])&&_0x31ad16[_0x335813(0xbd)][_0x335813(0x286)]===this[_0x335813(0x14a)][_0x335813(0x286)]&&this['_refreshCollabCursors']();}));}[_0x45141a(0x2f1)](){const _0x72334f=_0x45141a;this[_0x72334f(0x18a)](a[_0x72334f(0x27d)](this['_context'][_0x72334f(0x2b9)][_0x72334f(0x216)])['pipe']($['filter'](_0x5052f9=>_0x5052f9[_0x72334f(0x304)]===p[_0x72334f(0x156)]['resize']),$[_0x72334f(0x2cb)](0x10))[_0x72334f(0xdf)](()=>{this['_refreshCollabCursors']();}));}};Ie=vt([Y(0x1,a[_0x45141a(0x147)](W['DocSkeletonManagerService'])),Y(0x2,a[_0x45141a(0x147)](x)),Y(0x3,a['ICommandService']),Y(0x4,a[_0x45141a(0x147)](a[_0x45141a(0x258)]))],Ie);const gt=0x1,mt=1.5;class we extends p[_0x45141a(0x196)]{constructor(_0x25978e,_0x2c19e9){const _0x137fc6=_0x45141a;super(_0x25978e,_0x2c19e9),h(this,_0x137fc6(0xf8)),h(this,_0x137fc6(0x166),!0x1),h(this,'_range'),h(this,'_name',''),h(this,_0x137fc6(0x2b5),'top'),h(this,_0x137fc6(0xa5)),(_0x2c19e9&&this['setShapeProps'](_0x2c19e9),this[_0x137fc6(0xf9)]['subscribeEvent'](()=>this['setShapeProps']({'hovered':!0x0})),this['onPointerLeave$'][_0x137fc6(0x1fd)](()=>this[_0x137fc6(0xfe)]({'hovered':!0x1})));}[_0x45141a(0xfe)](_0x1175c4){const _0x1634c3=_0x45141a;var _0x57d227,_0x5042b9,_0x53f83b,_0x89c543,_0x92f034,_0x466aea;this[_0x1634c3(0xf8)]=(_0x57d227=_0x1175c4[_0x1634c3(0x13c)])!=null?_0x57d227:this[_0x1634c3(0xf8)],this[_0x1634c3(0x166)]=(_0x5042b9=_0x1175c4['hovered'])!=null?_0x5042b9:this[_0x1634c3(0x166)],this['_range']=(_0x53f83b=_0x1175c4[_0x1634c3(0x259)])!=null?_0x53f83b:this[_0x1634c3(0x1ef)],this['_name']=(_0x89c543=_0x1175c4[_0x1634c3(0x1f8)])!=null?_0x89c543:this['_name'],this[_0x1634c3(0x2b5)]=(_0x92f034=_0x1175c4[_0x1634c3(0x1dd)])!=null?_0x92f034:this[_0x1634c3(0x2b5)],this[_0x1634c3(0xa5)]=(_0x466aea=_0x1175c4[_0x1634c3(0x9e)])!=null?_0x466aea:this[_0x1634c3(0xa5)],this[_0x1634c3(0x10f)]({'width':_0x1175c4[_0x1634c3(0xa1)],'height':_0x1175c4[_0x1634c3(0x26c)]});}[_0x45141a(0x310)](_0xde8580){const _0x189989=_0x45141a,{row:_0x204411,column:_0x49a4f5}=_0xde8580;if(_0x204411>=this['_range']['startRow']&&_0x204411<=this[_0x189989(0x1ef)][_0x189989(0x2ec)]&&_0x49a4f5>=this[_0x189989(0x1ef)][_0x189989(0xe2)]&&_0x49a4f5<=this[_0x189989(0x1ef)]['endColumn']){this[_0x189989(0xfe)]({'hovered':!0x0});return;}this['setShapeProps']({'hovered':!0x1});}[_0x45141a(0x1e4)](_0x43cbe5){return!0x1;}[_0x45141a(0x1c7)](_0x1d7e9d){const _0x55c980=_0x45141a;p[_0x55c980(0x26e)]['drawWith'](_0x1d7e9d,{'width':this[_0x55c980(0xa1)],'height':this[_0x55c980(0x26c)],'strokeWidth':mt,'stroke':this[_0x55c980(0xf8)],'evented':!0x1,'fill':this[_0x55c980(0xa5)]}),this[_0x55c980(0x166)]&&(_0x1d7e9d[_0x55c980(0x173)](),_0x1d7e9d['transform'](0x1,0x0,0x0,0x1,this[_0x55c980(0xa1)],this[_0x55c980(0x2b5)]==='bottom'?0x0:-0x14),ee[_0x55c980(0x2c4)](_0x1d7e9d,{'text':this[_0x55c980(0x148)],'color':this[_0x55c980(0xf8)]}),_0x1d7e9d[_0x55c980(0x183)]());}}var Ct=Object[_0x45141a(0x104)],pt=(_0x206c8a,_0x5e0493,_0x5a52a1,_0xe55186)=>{const _0x1b416f=_0x45141a;for(var _0x55d383=_0xe55186>0x1?void 0x0:_0xe55186?Ct(_0x5e0493,_0x5a52a1):_0x5e0493,_0x15eb83=_0x206c8a[_0x1b416f(0x1fe)]-0x1,_0x57efa6;_0x15eb83>=0x0;_0x15eb83--)(_0x57efa6=_0x206c8a[_0x15eb83])&&(_0x55d383=_0x57efa6(_0x55d383)||_0x55d383);return _0x55d383;},ae=(_0x289cb,_0x373151)=>(_0x29e835,_0x14719c)=>_0x373151(_0x29e835,_0x14719c,_0x289cb);const bt=0x1389;let ve=class extends a[_0x45141a(0x171)]{constructor(_0x21be3c,_0x108ae9,_0xc028f7,_0x2a9fa8){const _0xc4c56=_0x45141a;super(),h(this,_0xc4c56(0x2e5),new Set()),h(this,_0xc4c56(0x2a2),null),(this[_0xc4c56(0x14a)]=_0x21be3c,this[_0xc4c56(0x15f)]=_0x108ae9,this[_0xc4c56(0x1ee)]=_0xc028f7,this['_themeService']=_0x2a9fa8,this[_0xc4c56(0x210)]());}[_0x45141a(0x210)](){const _0x1d4539=_0x45141a;this[_0x1d4539(0x15f)]['currentSkeleton$'][_0x1d4539(0x186)]($[_0x1d4539(0x2cc)](this[_0x1d4539(0x1f2)]),$[_0x1d4539(0xc6)](_0x3349db=>{const _0x3831ca=_0x1d4539;if(_0x3349db){const _0x26c62d=_0x3349db['sheetId'];return d['combineLatest'](this[_0x3831ca(0x1ee)]['getCollabCursors$'](this['_context']['unitId']),this[_0x3831ca(0x2d9)]['currentTheme$'])[_0x3831ca(0x186)]($[_0x3831ca(0xa3)](([_0x3543d2,_0x2866cf])=>{const _0x1fecdc=_0x3831ca,_0x37636e=new Map();return _0x3543d2[_0x1fecdc(0xf1)]((_0x18b60c,_0x3e8eaf)=>{const _0x128c12=_0x1fecdc;if(_0x18b60c['sheetID']===_0x26c62d){const _0x59faef={..._0x18b60c};_0x59faef[_0x128c12(0x13c)]=_0x2866cf[_0x18b60c['color']],_0x37636e[_0x128c12(0x11e)](_0x3e8eaf,_0x59faef);}}),{'skeleton':_0x3349db,'cursors':_0x37636e};}));}return d['of']({'skeleton':null,'cursors':new Map()});}))[_0x1d4539(0xdf)](({skeleton:_0xbc8bcc,cursors:_0x2cc6da})=>{const _0x36a733=_0x1d4539;this[_0x36a733(0x2ae)](),_0xbc8bcc&&this[_0x36a733(0x20c)](_0xbc8bcc,_0x2cc6da);}),this[_0x1d4539(0x15f)][_0x1d4539(0x137)][_0x1d4539(0xdf)](_0x4cf3a3=>{const _0x5af5a4=_0x1d4539;if(_0x4cf3a3==null)return;const {skeleton:_0x223450}=_0x4cf3a3,{scene:_0x2d45d5}=this[_0x5af5a4(0x14a)];_0x2d45d5['onPointerMove$'][_0x5af5a4(0x1fd)](a['debounce'](_0x33e9fa=>{const _0x161fb6=_0x5af5a4;var _0x32636e,_0x243d0e;const {offsetX:_0x4dbe2d,offsetY:_0x3b19e4}=_0x33e9fa,{x:_0x2e46e3,y:_0x1b61d7}=_0x2d45d5[_0x161fb6(0x1fb)](p[_0x161fb6(0xb5)][_0x161fb6(0x1af)]([_0x4dbe2d,_0x3b19e4])),{scaleX:_0x40c1ec,scaleY:_0x18d720}=_0x2d45d5[_0x161fb6(0x1d1)](),_0x1a054a=_0x2d45d5['getViewport'](p[_0x161fb6(0x236)][_0x161fb6(0x2c6)]),_0x28400c=_0x2d45d5[_0x161fb6(0x2f0)](p[_0x161fb6(0xb5)][_0x161fb6(0x1af)]([_0x2e46e3,_0x1b61d7]),_0x1a054a),_0xa659a3=_0x223450[_0x161fb6(0x302)](_0x4dbe2d,_0x3b19e4,_0x40c1ec,_0x18d720,_0x28400c);((_0x32636e=this[_0x161fb6(0x2a2)])==null?void 0x0:_0x32636e[_0x161fb6(0x1b8)])===_0xa659a3[_0x161fb6(0x1b8)]&&((_0x243d0e=this[_0x161fb6(0x2a2)])==null?void 0x0:_0x243d0e[_0x161fb6(0x2a8)])===_0xa659a3['row']||this[_0x161fb6(0x2e5)]['forEach'](_0x1d0ac3=>{const _0xa1ffdd=_0x161fb6;_0x1d0ac3[_0xa1ffdd(0x310)](_0xa659a3);});},0x64));});}[_0x45141a(0x20c)](_0x43bf69,_0x2b575b){const _0x4f1f43=_0x45141a;var _0x19e196;const _0x338976=(_0x19e196=this[_0x4f1f43(0x15f)]['getCurrent']())==null?void 0x0:_0x19e196[_0x4f1f43(0x2b2)];if(!_0x338976)return;const _0x3185fa=this[_0x4f1f43(0x2e6)]();if(!_0x3185fa)return;this[_0x4f1f43(0x2e5)][_0x4f1f43(0xf1)](_0x423ca5=>{const _0x55f791=_0x4f1f43;_0x423ca5[_0x55f791(0x301)]();});const {scene:_0xa2c63f}=_0x3185fa,_0x59a3e4=Et(Array[_0x4f1f43(0x2af)](_0x2b575b[_0x4f1f43(0x307)]()))['map'](_0x3d2e2f=>{const _0x186c23=_0x4f1f43,{color:_0x405ff4,range:_0x2dd697,name:_0x2fe439,selection:_0x576b7a,sheetID:_0x11409a}=_0x3d2e2f,{startColumn:_0x4847ef,startRow:_0x4e5f03,endColumn:_0x3b41c7,endRow:_0x4b158a}=_0x2dd697,_0x56fc1e=X[_0x186c23(0xbc)](_0x4e5f03,_0x4847ef,_0xa2c63f,_0x338976),_0x4ce54a=X[_0x186c23(0xbc)](_0x4b158a,_0x3b41c7,_0xa2c63f,_0x338976),{columnHeaderHeightAndMarginTop:_0xf58e5c}=_0x338976,{startX:_0x5d1c13,startY:_0x2080c2}=_0x56fc1e,{endX:_0x4da537,endY:_0x35d838}=_0x4ce54a,_0x1809b9=_0x4da537-_0x5d1c13,_0x193d9b=_0x35d838-_0x2080c2,_0x279290={'labelPosition':_0x2080c2-_0xf58e5c>=q?_0x186c23(0x2ad):_0x186c23(0x280),'sheetID':_0x11409a,'range':_0x2dd697,'color':_0x405ff4,'name':_0x2fe439,'selection':_0x576b7a,'left':_0x5d1c13,'top':_0x2080c2,'width':_0x1809b9,'height':_0x193d9b,'evented':!0x1,'zIndex':bt};return new we(_0x2fe439,_0x279290);});_0xa2c63f[_0x4f1f43(0x314)](_0x59a3e4,gt),this[_0x4f1f43(0x2e5)]=new Set(_0x59a3e4);}['_removeCollabCursors'](){const _0x16c7e5=_0x45141a;var _0x84a727;(_0x84a727=this[_0x16c7e5(0x2e5)])==null||_0x84a727[_0x16c7e5(0xf1)](_0x16724e=>_0x16724e[_0x16c7e5(0x20f)]());}[_0x45141a(0x2e6)](){const _0x5b30b8=_0x45141a;return X[_0x5b30b8(0x203)](this[_0x5b30b8(0x14a)]['unit'],this['_context']);}};ve=pt([ae(0x1,a[_0x45141a(0x147)](X[_0x45141a(0x2a5)])),ae(0x2,a[_0x45141a(0x147)](x)),ae(0x3,a[_0x45141a(0x147)](a['ThemeService']))],ve);function Et(_0x3258d0){const _0x3b4d5c=_0x45141a,_0x12dbfc=new Map();return _0x3258d0[_0x3b4d5c(0xf1)](_0x194fe0=>{const _0x37c969=_0x3b4d5c;if(_0x12dbfc[_0x37c969(0x17c)](_0x194fe0[_0x37c969(0x1a5)])){const _0x2e6f6b=_0x12dbfc[_0x37c969(0x1a0)](_0x194fe0[_0x37c969(0x1a5)]);_0x2e6f6b[_0x37c969(0x1f8)]+=',\x20'+_0x194fe0[_0x37c969(0x1f8)];}else _0x12dbfc['set'](_0x194fe0[_0x37c969(0x1a5)],_0x194fe0);}),Array[_0x3b4d5c(0x2af)](_0x12dbfc[_0x3b4d5c(0x307)]());}var E=function(){const _0x304133=_0x45141a;return E=Object['assign']||function(_0x2a6c02){const _0x98c768=_0x2ce7;for(var _0x1eb82d,_0x3750cd=0x1,_0x46eef4=arguments['length'];_0x3750cd<_0x46eef4;_0x3750cd++){_0x1eb82d=arguments[_0x3750cd];for(var _0x56e029 in _0x1eb82d)Object[_0x98c768(0x296)][_0x98c768(0x22f)][_0x98c768(0xe0)](_0x1eb82d,_0x56e029)&&(_0x2a6c02[_0x56e029]=_0x1eb82d[_0x56e029]);}return _0x2a6c02;},E[_0x304133(0xe7)](this,arguments);},Tt=function(_0x366767,_0x50de4d){const _0x3cd48e=_0x45141a;var _0x2ee04c={};for(var _0x456e64 in _0x366767)Object[_0x3cd48e(0x296)]['hasOwnProperty'][_0x3cd48e(0xe0)](_0x366767,_0x456e64)&&_0x50de4d[_0x3cd48e(0x1e1)](_0x456e64)<0x0&&(_0x2ee04c[_0x456e64]=_0x366767[_0x456e64]);if(_0x366767!=null&&typeof Object['getOwnPropertySymbols']==_0x3cd48e(0xb7)){for(var _0x26e95f=0x0,_0x456e64=Object[_0x3cd48e(0x1f3)](_0x366767);_0x26e95f<_0x456e64[_0x3cd48e(0x1fe)];_0x26e95f++)_0x50de4d[_0x3cd48e(0x1e1)](_0x456e64[_0x26e95f])<0x0&&Object['prototype'][_0x3cd48e(0x1f4)][_0x3cd48e(0xe0)](_0x366767,_0x456e64[_0x26e95f])&&(_0x2ee04c[_0x456e64[_0x26e95f]]=_0x366767[_0x456e64[_0x26e95f]]);}return _0x2ee04c;},pe=M[_0x45141a(0x239)](function(_0x20733d,_0x1f59db){const _0x4d2a65=_0x45141a;var _0x4df33e=_0x20733d[_0x4d2a65(0x1aa)],_0x33ee8d=_0x20733d['id'],_0x46ecca=_0x20733d[_0x4d2a65(0x1a4)],_0x4e29af=_0x20733d[_0x4d2a65(0x149)],_0x2b0f3c=Tt(_0x20733d,['icon','id',_0x4d2a65(0x1a4),_0x4d2a65(0x149)]),_0x24d874=_0x4d2a65(0xf0)['concat'](_0x33ee8d,'\x20')[_0x4d2a65(0x27c)](_0x46ecca||'')[_0x4d2a65(0xc2)](),_0x475e9c=M[_0x4d2a65(0x170)]('_'[_0x4d2a65(0x27c)](Dt()));return Ae(_0x4df33e,''['concat'](_0x33ee8d),{'defIds':_0x4df33e['defIds'],'idSuffix':_0x475e9c[_0x4d2a65(0x153)]},E({'ref':_0x1f59db,'className':_0x24d874},_0x2b0f3c),_0x4e29af);});function Ae(_0x7fac6f,_0x2aad2,_0x10b002,_0xdd5114,_0x476f40){const _0x18de84=_0x45141a;return M['createElement'](_0x7fac6f[_0x18de84(0x1f5)],E(E({'key':_0x2aad2},Ot(_0x7fac6f,_0x10b002,_0x476f40)),_0xdd5114),(Rt(_0x7fac6f,_0x10b002)[_0x18de84(0x2bf)]||[])[_0x18de84(0xa3)](function(_0x55dcd0,_0x22017b){const _0x2bb64a=_0x18de84;return Ae(_0x55dcd0,''[_0x2bb64a(0x27c)](_0x2aad2,'-')[_0x2bb64a(0x27c)](_0x7fac6f['tag'],'-')[_0x2bb64a(0x27c)](_0x22017b),_0x10b002,void 0x0,_0x476f40);}));}function Ot(_0x57ebbd,_0x381a8e,_0x57e817){const _0x2f65ab=_0x45141a;var _0x447e88=E({},_0x57ebbd['attrs']);_0x57e817!=null&&_0x57e817[_0x2f65ab(0x1b1)]&&_0x447e88[_0x2f65ab(0x1c3)]==='colorChannel1'&&(_0x447e88[_0x2f65ab(0x1c3)]=_0x57e817[_0x2f65ab(0x1b1)]),_0x57ebbd[_0x2f65ab(0x1f5)]==='mask'&&_0x447e88['id']&&(_0x447e88['id']=_0x447e88['id']+_0x381a8e[_0x2f65ab(0x2aa)]),Object[_0x2f65ab(0x291)](_0x447e88)[_0x2f65ab(0xf1)](function(_0x48fd89){const _0x17e805=_0x2f65ab;var _0x31389f=_0x48fd89[0x0],_0x206d73=_0x48fd89[0x1];_0x31389f===_0x17e805(0x159)&&typeof _0x206d73==_0x17e805(0x2d8)&&(_0x447e88[_0x31389f]=_0x206d73[_0x17e805(0x18c)](/url\(#(.*)\)/,_0x17e805(0x11d)[_0x17e805(0x27c)](_0x381a8e[_0x17e805(0x2aa)],')')));});var _0x28ed33=_0x381a8e[_0x2f65ab(0x211)];return!_0x28ed33||_0x28ed33[_0x2f65ab(0x1fe)]===0x0||(_0x57ebbd[_0x2f65ab(0x1f5)]===_0x2f65ab(0x264)&&_0x447e88['xlink:href']&&(_0x447e88['xlink:href']=_0x447e88['xlink:href']+_0x381a8e[_0x2f65ab(0x2aa)]),Object['entries'](_0x447e88)['forEach'](function(_0x5c483d){const _0x489275=_0x2f65ab;var _0x557f87=_0x5c483d[0x0],_0x574965=_0x5c483d[0x1];typeof _0x574965=='string'&&(_0x447e88[_0x557f87]=_0x574965['replace'](/url\(#(.*)\)/,_0x489275(0x11d)['concat'](_0x381a8e['idSuffix'],')')));})),_0x447e88;}function Rt(_0x422c87,_0x424dd1){const _0x4dc63=_0x45141a;var _0x5578cf,_0x10abac=_0x424dd1[_0x4dc63(0x211)];return!_0x10abac||_0x10abac[_0x4dc63(0x1fe)]===0x0?_0x422c87:_0x422c87[_0x4dc63(0x1f5)]===_0x4dc63(0x224)&&(!((_0x5578cf=_0x422c87[_0x4dc63(0x2bf)])===null||_0x5578cf===void 0x0)&&_0x5578cf[_0x4dc63(0x1fe)])?E(E({},_0x422c87),{'children':_0x422c87[_0x4dc63(0x2bf)]['map'](function(_0x153767){const _0x35b7b=_0x4dc63;return typeof _0x153767[_0x35b7b(0x1e3)]['id']==_0x35b7b(0x2d8)&&_0x10abac&&_0x10abac[_0x35b7b(0x1e1)](_0x153767[_0x35b7b(0x1e3)]['id'])>-0x1?E(E({},_0x153767),{'attrs':E(E({},_0x153767['attrs']),{'id':_0x153767[_0x35b7b(0x1e3)]['id']+_0x424dd1[_0x35b7b(0x2aa)]})}):_0x153767;})}):_0x422c87;}function Dt(){return Math['random']()['toString'](0x24)['substring'](0x2,0x8);}pe[_0x45141a(0xfb)]=_0x45141a(0x2d6);var Ut={'tag':_0x45141a(0x191),'attrs':{'fill':'none','viewBox':'0\x200\x2016\x2016','width':_0x45141a(0x103),'height':_0x45141a(0x103)},'children':[{'tag':'g','attrs':{'clipPath':_0x45141a(0x164)},'children':[{'tag':'path','attrs':{'stroke':_0x45141a(0x253),'d':'M3.61971\x2011.6499C2.40304\x2011.6499\x200.699707\x2011.1024\x200.699707\x208.9124C0.699707\x206.3574\x203.25471\x205.8099\x203.98471\x205.8099C4.34971\x204.5324\x205.07971\x202.5249\x207.99971\x202.5249C10.5547\x202.5249\x2011.6497\x203.9849\x2012.0147\x205.2624C12.0147\x205.2624\x2015.2997\x205.6274\x2015.2997\x208.7299C15.2997\x2010.9199\x2013.8397\x2011.6499\x2012.3797\x2011.6499M9.82471\x209.82466L6.17471\x2013.4747M6.17471\x209.82466L9.82471\x2013.4747','strokeLinecap':_0x45141a(0x285),'strokeLinejoin':'round','strokeWidth':1.2}}]},{'tag':_0x45141a(0x224),'attrs':{},'children':[{'tag':_0x45141a(0x2b6),'attrs':{'id':_0x45141a(0x155)},'children':[{'tag':_0x45141a(0x1ea),'attrs':{'fill':_0x45141a(0xed),'d':_0x45141a(0x146)}}]}]}],'defIds':[_0x45141a(0x155)]},ye=M[_0x45141a(0x239)](function(_0x4d52b7,_0x5f5c1c){const _0x854cef=_0x45141a;return M[_0x854cef(0x1b2)](pe,Object['assign']({},_0x4d52b7,{'id':_0x854cef(0x315),'ref':_0x5f5c1c,'icon':Ut}));});ye['displayName']=_0x45141a(0x158);var Nt={'tag':_0x45141a(0x191),'attrs':{'fill':_0x45141a(0x21d),'viewBox':_0x45141a(0x1b3),'width':_0x45141a(0x103),'height':'1em'},'children':[{'tag':'g','attrs':{'clipPath':'url(#on-line-single_clip0_910_349)'},'children':[{'tag':'path','attrs':{'stroke':'currentColor','d':_0x45141a(0x21e),'strokeLinecap':'round','strokeLinejoin':'round','strokeWidth':1.2}}]},{'tag':_0x45141a(0x224),'attrs':{},'children':[{'tag':_0x45141a(0x2b6),'attrs':{'id':_0x45141a(0x28f)},'children':[{'tag':'path','attrs':{'fill':'#fff','d':'M0\x200H16V16H0z','transform':_0x45141a(0x1c6)}}]}]}],'defIds':['on-line-single_clip0_910_349']},$e=M[_0x45141a(0x239)](function(_0x4bda51,_0x4b48eb){const _0xbfd2c4=_0x45141a;return M[_0xbfd2c4(0x1b2)](pe,Object[_0xbfd2c4(0x2ee)]({},_0x4bda51,{'id':_0xbfd2c4(0x10a),'ref':_0x4b48eb,'icon':Nt}));});$e[_0x45141a(0xfb)]=_0x45141a(0x201);function Mt(_0x474424){const _0x5f280b=_0x45141a;switch(_0x474424){case u[_0x5f280b(0x2ef)][_0x5f280b(0x311)]:return _0x5f280b(0x14f);case u['CollaborationStatus']['CONFLICT']:return _0x5f280b(0x24c);case u[_0x5f280b(0x2ef)][_0x5f280b(0x10d)]:return _0x5f280b(0x229);case u['CollaborationStatus']['NOT_COLLAB']:return _0x5f280b(0x238);case u[_0x5f280b(0x2ef)][_0x5f280b(0xdb)]:case u[_0x5f280b(0x2ef)]['AWAITING_WITH_PENDING']:return _0x5f280b(0x128);case u[_0x5f280b(0x2ef)][_0x5f280b(0x267)]:case u[_0x5f280b(0x2ef)][_0x5f280b(0x294)]:return _0x5f280b(0x2ea);}}function xe(_0xae173a){const _0x5e25bf=_0x45141a,{status$:_0x2f8001}=_0xae173a,_0x966801=T[_0x5e25bf(0x13f)](_0x2f8001,u['CollaborationStatus'][_0x5e25bf(0x11f)]),_0x49ddd6=T[_0x5e25bf(0x2eb)](a[_0x5e25bf(0x2f3)]),_0x2bd9a0=T[_0x5e25bf(0x2eb)](u['CollaborationSessionService']),_0x5e72d0=_0x966801!==u[_0x5e25bf(0x2ef)][_0x5e25bf(0x311)],_0x3f7c51=_0x49ddd6['t'](Mt(_0x966801)),_0x162032=_0x5e72d0?P[_0x5e25bf(0x1f0)]($e,{}):P[_0x5e25bf(0x1f0)](ye,{}),_0x54a30b=M[_0x5e25bf(0x140)](()=>{_0x5e72d0||_0x2bd9a0['reconnect']();},[_0x5e72d0,_0x2bd9a0]);function _0x1a9220(){const _0x2c0ea1=_0x5e25bf;return P[_0x2c0ea1(0x312)](_0x2c0ea1(0x293),{'className':'univer-flex\x20univer-items-center','onClick':_0x54a30b,'children':[P[_0x2c0ea1(0x1f0)](_0x2c0ea1(0x293),{'className':D[_0x2c0ea1(0x2c2)]('univer-flex\x20univer-mr-2\x20univer-text-[20px]',_0x5e72d0?_0x2c0ea1(0x19e):'univer-text-red-500'),'children':_0x162032}),P['jsx']('div',{'className':'univer-text-[14px]\x20univer-leading-[32px]\x20univer-text-gray-600','children':_0x3f7c51})]});}return _0x5e72d0?_0x1a9220():P['jsx'](D[_0x5e25bf(0x26a)],{'title':_0x49ddd6['t'](_0x5e25bf(0x18f)),'children':_0x1a9220()});}function _0x2ce7(_0x170a14,_0x315e06){const _0x16064d=_0x1606();return _0x2ce7=function(_0x2ce778,_0x1a470c){_0x2ce778=_0x2ce778-0x9e;let _0x214e7a=_0x16064d[_0x2ce778];return _0x214e7a;},_0x2ce7(_0x170a14,_0x315e06);}var Lt=Object[_0x45141a(0x104)],Pt=(_0x35506f,_0x549f35,_0xc079ee,_0x24a0f7)=>{const _0x46fd61=_0x45141a;for(var _0x37f99c=_0x24a0f7>0x1?void 0x0:_0x24a0f7?Lt(_0x549f35,_0xc079ee):_0x549f35,_0xff38cd=_0x35506f[_0x46fd61(0x1fe)]-0x1,_0x22453d;_0xff38cd>=0x0;_0xff38cd--)(_0x22453d=_0x35506f[_0xff38cd])&&(_0x37f99c=_0x22453d(_0x37f99c)||_0x37f99c);return _0x37f99c;},V=(_0x3d6827,_0x105dc1)=>(_0x2ea335,_0x46fe12)=>_0x105dc1(_0x2ea335,_0x46fe12,_0x3d6827);exports['DesktopCollaborationStatusDisplayController']=class extends a[_0x45141a(0x298)]{constructor(_0x1ef07c,_0x345ee7,_0x52723e,_0x3866fc){const _0x2b0238=_0x45141a;super(),h(this,_0x2b0238(0xcb),new d[(_0x2b0238(0x242))](u[_0x2b0238(0x2ef)][_0x2b0238(0x11f)])),(this[_0x2b0238(0x181)]=_0x1ef07c,this[_0x2b0238(0x19c)]=_0x345ee7,this[_0x2b0238(0x23d)]=_0x52723e,this['_uiPartsService']=_0x3866fc,this[_0x2b0238(0x2b0)](),this[_0x2b0238(0x15b)]());}['_initStatusListener'](){const _0x4968c4=_0x45141a;this[_0x4968c4(0x18a)](this[_0x4968c4(0x181)][_0x4968c4(0x15c)][_0x4968c4(0x186)](d[_0x4968c4(0xc6)](()=>{const _0x13972b=_0x4968c4,_0x2c4714=this[_0x13972b(0x181)][_0x13972b(0x269)]();return _0x2c4714?this[_0x13972b(0x23d)][_0x13972b(0xfc)](_0x2c4714[_0x13972b(0x189)]()):d['of'](null);}),d['switchMap'](_0x3d0019=>_0x3d0019?_0x3d0019[_0x4968c4(0x138)]:d['of'](u[_0x4968c4(0x2ef)][_0x4968c4(0x11f)])))[_0x4968c4(0xdf)](_0x45cd77=>{const _0xf29174=_0x4968c4;this[_0xf29174(0xcb)][_0xf29174(0x2e4)](_0x45cd77);}));}[_0x45141a(0x2b0)](){const _0x2884ec=_0x45141a;this['disposeWithMe'](this[_0x2884ec(0x28c)][_0x2884ec(0x227)](T[_0x2884ec(0x1df)][_0x2884ec(0x11a)],()=>T[_0x2884ec(0x232)](wt({'status$':this['_status$'][_0x2884ec(0x30e)]()}),this[_0x2884ec(0x19c)])));}},exports['DesktopCollaborationStatusDisplayController']=Pt([V(0x0,a[_0x45141a(0x101)]),V(0x1,a[_0x45141a(0x147)](a['Injector'])),V(0x2,a[_0x45141a(0x147)](u[_0x45141a(0x2a4)])),V(0x3,T['IUIPartsService'])],exports[_0x45141a(0xb9)]);function wt(_0xf29721){const {status$:_0x5b161f}=_0xf29721;return function(){return P['jsx'](xe,{'status$':_0x5b161f});};}var At=Object[_0x45141a(0x104)],yt=(_0x5b295f,_0x548041,_0x496dc7,_0x2fa567)=>{const _0x25ddb2=_0x45141a;for(var _0x522300=_0x2fa567>0x1?void 0x0:_0x2fa567?At(_0x548041,_0x496dc7):_0x548041,_0x2f329d=_0x5b295f[_0x25ddb2(0x1fe)]-0x1,_0x37b7d6;_0x2f329d>=0x0;_0x2f329d--)(_0x37b7d6=_0x5b295f[_0x2f329d])&&(_0x522300=_0x37b7d6(_0x522300)||_0x522300);return _0x522300;},y=(_0xbcbd75,_0x23468b)=>(_0x2812dc,_0x38e91e)=>_0x23468b(_0x2812dc,_0x38e91e,_0xbcbd75);let K=class extends a[_0x45141a(0x298)]{constructor(_0x3953da,_0x5024ef,_0x59c69e,_0x39f7fe,_0x5d4711,_0x35a2b5){const _0x1c1868=_0x45141a;super(),this[_0x1c1868(0x21c)]=_0x3953da,this['_localCacheService']=_0x5024ef,this[_0x1c1868(0x2c5)]=_0x59c69e,this[_0x1c1868(0x16b)]=_0x39f7fe,this['_notificationService']=_0x5d4711,this[_0x1c1868(0x24d)]=_0x35a2b5,this[_0x1c1868(0x278)](),this[_0x1c1868(0xc5)]();}['_setupBeforeClosingHandler'](){const _0x437637=_0x45141a;this[_0x437637(0x18a)](this[_0x437637(0x21c)][_0x437637(0x16f)](()=>{const _0xe31995=_0x437637;if(this['_localCacheService'][_0xe31995(0x1ec)][_0xe31995(0x1cb)])return this['_localeService']['t'](_0xe31995(0x23a));}));}[_0x45141a(0xc5)](){const _0x405efd=_0x45141a;this[_0x405efd(0x18a)](this[_0x405efd(0x2c5)][_0x405efd(0x1d5)]['subscribe'](_0x1d41db=>{const _0x44d1cd=_0x405efd;_0x1d41db['id']===u[_0x44d1cd(0x1f6)][_0x44d1cd(0x10c)]&&this[_0x44d1cd(0x16b)][_0x44d1cd(0x266)]({'type':D[_0x44d1cd(0x244)][_0x44d1cd(0x161)],'content':this[_0x44d1cd(0x24d)]['t'](_0x44d1cd(0x11b))}),_0x1d41db['id']===u[_0x44d1cd(0x1f6)][_0x44d1cd(0x1ed)]&&this['_messageService'][_0x44d1cd(0x266)]({'type':D[_0x44d1cd(0x244)][_0x44d1cd(0x161)],'content':this[_0x44d1cd(0x24d)]['t'](_0x44d1cd(0x150))}),_0x1d41db['id']===u['CollaborationUIEventId'][_0x44d1cd(0x2e0)]&&this[_0x44d1cd(0x25d)]['show']({'title':this[_0x44d1cd(0x24d)]['t'](_0x44d1cd(0x218)),'content':this[_0x44d1cd(0x24d)]['t']('permission.content'),'type':_0x44d1cd(0x299),'duration':0x0}),_0x1d41db['id']===u[_0x44d1cd(0x1f6)][_0x44d1cd(0x198)]&&this[_0x44d1cd(0x16b)][_0x44d1cd(0x266)]({'type':D[_0x44d1cd(0x244)][_0x44d1cd(0xea)],'content':this['_localeService']['t'](_0x44d1cd(0x150))+'('+_0x1d41db['data']+')'}),_0x1d41db['id']===u[_0x44d1cd(0x1f6)][_0x44d1cd(0xd1)]&&this[_0x44d1cd(0x16b)][_0x44d1cd(0x266)]({'type':D[_0x44d1cd(0x244)][_0x44d1cd(0x161)],'content':this[_0x44d1cd(0x24d)]['t'](_0x1d41db[_0x44d1cd(0x139)]||'')}),_0x1d41db['id']===u[_0x44d1cd(0x1f6)]['SOCKET_FAILED_RETRY']&&this[_0x44d1cd(0x16b)]['show']({'type':D['MessageType']['Warning'],'content':this[_0x44d1cd(0x24d)]['t'](_0x44d1cd(0x221))}),_0x1d41db['id']===u[_0x44d1cd(0x1f6)][_0x44d1cd(0xfa)]&&this[_0x44d1cd(0x16b)]['show']({'type':D['MessageType'][_0x44d1cd(0xea)],'content':this[_0x44d1cd(0x24d)]['t']('session.connection-failed')}),_0x1d41db['id']===u[_0x44d1cd(0x1f6)][_0x44d1cd(0x182)]&&this[_0x44d1cd(0x16b)][_0x44d1cd(0x266)]({'type':D[_0x44d1cd(0x244)][_0x44d1cd(0xea)],'content':this['_localeService']['t'](_0x44d1cd(0x2a9))});}));}};K=yt([y(0x0,T[_0x45141a(0x1c5)]),y(0x1,u[_0x45141a(0xbf)]),y(0x2,a['Inject'](u['CollaborationUIEventService'])),y(0x3,T[_0x45141a(0x29c)]),y(0x4,T[_0x45141a(0x2e2)]),y(0x5,a[_0x45141a(0x147)](a[_0x45141a(0x2f3)]))],K);const $t='collaboration-client-ui.config',Ue={},be=a[_0x45141a(0x1b6)](_0x45141a(0x1f9));var xt=Object[_0x45141a(0x104)],jt=(_0x33924f,_0x505709,_0x1d619f,_0x451448)=>{const _0x309ed0=_0x45141a;for(var _0x2fbcd7=_0x451448>0x1?void 0x0:_0x451448?xt(_0x505709,_0x1d619f):_0x505709,_0x59d7da=_0x33924f[_0x309ed0(0x1fe)]-0x1,_0x1727d8;_0x59d7da>=0x0;_0x59d7da--)(_0x1727d8=_0x33924f[_0x59d7da])&&(_0x2fbcd7=_0x1727d8(_0x2fbcd7)||_0x2fbcd7);return _0x2fbcd7;},H=(_0x444fed,_0x403c15)=>(_0x138ef0,_0x323c50)=>_0x403c15(_0x138ef0,_0x323c50,_0x444fed);exports[_0x45141a(0x19f)]=class extends a[_0x45141a(0x171)]{constructor(_0x5e09e9,_0x2e3148,_0x2d20b2,_0x5d7237,_0x139bbf){const _0x2f463f=_0x45141a;super(),this[_0x2f463f(0x2f9)]=_0x5e09e9,this[_0x2f463f(0x184)]=_0x2e3148,this['_commandService']=_0x2d20b2,this['_dataLoaderService']=_0x5d7237,_0x139bbf?_0x139bbf==null||_0x139bbf[_0x2f463f(0x234)]()[_0x2f463f(0x21f)](()=>this['_init']()):(this[_0x2f463f(0x184)]['debug'](_0x2f463f(0xa6),_0x2f463f(0x2a7)),this[_0x2f463f(0x210)]());}async[_0x45141a(0x210)](){const _0x55b5da=_0x45141a,_0x150efe=this[_0x55b5da(0x2f9)]['getParam'](_0x55b5da(0x22b)),_0x487e2e=this[_0x55b5da(0x2f9)][_0x55b5da(0x134)](_0x55b5da(0x304)),_0x1000cd=this[_0x55b5da(0x2f9)][_0x55b5da(0x134)](_0x55b5da(0xb2));if(!_0x150efe||!_0x487e2e){this['_logService']['debug'](_0x55b5da(0xa6),_0x55b5da(0x23b));return;}const _0x3709cf=await this[_0x55b5da(0xd2)]['loadUnit'](_0x150efe,Number(_0x487e2e),_0x1000cd);_0x3709cf&&_0x3709cf instanceof a[_0x55b5da(0x28a)]&&this[_0x55b5da(0xa7)](_0x3709cf);}async[_0x45141a(0xa7)](_0x1124c4){const _0xbade1=_0x45141a;await this[_0xbade1(0x2c7)](_0x1124c4),_0x1124c4[_0xbade1(0x185)][_0xbade1(0x186)](d['takeUntil'](this['dispose$']))['subscribe'](_0x1b7db0=>{const _0x56f551=_0xbade1;_0x1b7db0&&this[_0x56f551(0x226)](_0x1b7db0);}),this[_0xbade1(0x2f9)][_0xbade1(0xc7)][_0xbade1(0x186)](d[_0xbade1(0x2cc)](this[_0xbade1(0x1f2)]))[_0xbade1(0xdf)](()=>this['_updateSubUnitFromURLParams'](_0x1124c4));}[_0x45141a(0x226)](_0x2f4b54,_0x3cd47e=!0x1){const _0x53635e=_0x45141a,_0x46df9d=this[_0x53635e(0x2f9)][_0x53635e(0x134)](_0x53635e(0xb2));_0x2f4b54[_0x53635e(0xf7)]()!==_0x46df9d&&this['_urlService']['setParam'](_0x53635e(0xb2),_0x2f4b54['getSheetId'](),_0x3cd47e);}async[_0x45141a(0x2c7)](_0x168960){const _0xbf16e=_0x45141a;var _0x584ec6;const _0x28c4d6=this[_0xbf16e(0x2f9)][_0xbf16e(0x134)](_0xbf16e(0xb2));if(!_0x28c4d6||!_0x168960[_0xbf16e(0x126)](_0x28c4d6)){const _0x4d1690=_0x168960[_0xbf16e(0x187)]()[0x0],_0x3675b1=_0x168960[_0xbf16e(0x126)](_0x4d1690);if(!_0x3675b1)return;this['_updateURLWithCurrentState'](_0x3675b1,!0x0),await this['_commandService'][_0xbf16e(0x237)](g[_0xbf16e(0x207)]['id'],{'unitId':_0x168960['getUnitId'](),'subUnitId':_0x4d1690});return;}((_0x584ec6=_0x168960[_0xbf16e(0x2f2)]())==null?void 0x0:_0x584ec6[_0xbf16e(0xf7)]())!==_0x28c4d6&&await this[_0xbf16e(0x160)][_0xbf16e(0x237)](g['SetWorksheetActivateCommand']['id'],{'unitId':_0x168960['getUnitId'](),'subUnitId':_0x28c4d6});}},exports[_0x45141a(0x19f)]=jt([H(0x0,be),H(0x1,a[_0x45141a(0x1d2)]),H(0x2,a[_0x45141a(0x274)]),H(0x3,a[_0x45141a(0x147)](u['DataLoaderService'])),H(0x4,a[_0x45141a(0x1ff)](qe[_0x45141a(0x261)]))],exports[_0x45141a(0x19f)]);var Bt=Object['getOwnPropertyDescriptor'],kt=(_0x4f3149,_0x29755d,_0x52e703,_0x2b5ab1)=>{const _0x4adae9=_0x45141a;for(var _0x26e932=_0x2b5ab1>0x1?void 0x0:_0x2b5ab1?Bt(_0x29755d,_0x52e703):_0x29755d,_0x212fbd=_0x4f3149[_0x4adae9(0x1fe)]-0x1,_0x36ef57;_0x212fbd>=0x0;_0x212fbd--)(_0x36ef57=_0x4f3149[_0x212fbd])&&(_0x26e932=_0x36ef57(_0x26e932)||_0x26e932);return _0x26e932;},ce=(_0x586625,_0x599508)=>(_0x1b342e,_0x16a85a)=>_0x599508(_0x1b342e,_0x16a85a,_0x586625);let z=class{constructor(_0x46b104,_0x533b60,_0x62a99e){const _0x25196c=_0x45141a;this[_0x25196c(0x19c)]=_0x46b104,this[_0x25196c(0x15d)]=_0x533b60,this[_0x25196c(0x1e8)]=_0x62a99e;}[_0x45141a(0x15a)](_0x2bba4b){const _0x58c7a2=_0x45141a;this['_transformUndoRedoStack'](_0x2bba4b),this[_0x58c7a2(0xac)](_0x2bba4b);}['transformRemoteChangeset'](_0x964d81){const _0x31d3ab=_0x45141a,{unitID:_0x51d083}=_0x964d81,_0x3fb8b8=this[_0x31d3ab(0x1e8)]['getRenderById'](_0x51d083)[_0x31d3ab(0x2e8)](b['DocIMEInputManagerService']),{redoCache:_0x4d4bf0}=_0x3fb8b8['getUndoRedoMutationParamsCache']();if(_0x4d4bf0[_0x31d3ab(0x1fe)]===0x0)return _0x964d81;let _0x2d4049=a[_0x31d3ab(0x1d0)][_0x31d3ab(0x106)](_0x964d81['mutations'][0x0]);for(let _0x3593af=0x0;_0x3593af<_0x4d4bf0[_0x31d3ab(0x1fe)];_0x3593af++){const _0x15c71b={'id':_0x31d3ab(0x20b),'params':{..._0x4d4bf0[_0x3593af]}},_0x4edbc6=this[_0x31d3ab(0x15d)]['transformMutation'](_0x2d4049,_0x15c71b,!0x1);if(m[_0x31d3ab(0x254)](_0x4edbc6))throw _0x4edbc6[_0x31d3ab(0x299)];_0x2d4049=_0x4edbc6['m1Prime'];}return{...a['Tools'][_0x31d3ab(0x106)](_0x964d81),'mutations':[_0x2d4049]};}[_0x45141a(0x179)](_0x49a818){const _0x42ef54=_0x45141a,{unitID:_0x580f8a}=_0x49a818,_0x3ec31b=this[_0x42ef54(0x1e8)][_0x42ef54(0xe9)](_0x580f8a)[_0x42ef54(0x2e8)](b[_0x42ef54(0x2ed)]),{undoCache:_0x2ac393,redoCache:_0x171e61}=_0x3ec31b[_0x42ef54(0x289)]();if(_0x2ac393[_0x42ef54(0x1fe)]===0x0||_0x171e61[_0x42ef54(0x1fe)]===0x0)return;const _0x57b937=[],_0x27f2c9=[];let _0x505d40=a[_0x42ef54(0x1d0)][_0x42ef54(0x106)](_0x49a818[_0x42ef54(0x1c1)][0x0]),_0x20ccac=a['Tools']['deepClone'](_0x49a818[_0x42ef54(0x1c1)][0x0]);for(let _0x59bf22=_0x2ac393[_0x42ef54(0x1fe)]-0x1;_0x59bf22>=0x0;_0x59bf22--){const _0x29a3c9={'id':_0x42ef54(0x20b),'params':{..._0x2ac393[_0x59bf22]}},_0x5e9cb1={'id':_0x42ef54(0x20b),'params':{..._0x171e61[_0x59bf22]}},_0x37d3fd=this[_0x42ef54(0x15d)][_0x42ef54(0xae)](_0x505d40,_0x29a3c9,!0x1),_0x22c779=this['_transformService'][_0x42ef54(0xae)](_0x20ccac,_0x5e9cb1,!0x1);if(m[_0x42ef54(0x254)](_0x37d3fd))throw _0x37d3fd[_0x42ef54(0x299)];if(m['isTransformMutationFailure'](_0x22c779))throw _0x22c779[_0x42ef54(0x299)];_0x57b937[_0x42ef54(0x2bc)](_0x37d3fd[_0x42ef54(0x284)][_0x42ef54(0xbd)]),_0x27f2c9['unshift'](_0x22c779[_0x42ef54(0x284)]['params']),_0x505d40=_0x37d3fd[_0x42ef54(0x119)],_0x20ccac=_0x22c779[_0x42ef54(0x119)];}_0x3ec31b[_0x42ef54(0x2b8)]({'undoCache':_0x57b937,'redoCache':_0x27f2c9});}['_transformPreviousActiveRange'](_0x3a62cb){const _0x33c8e2=_0x45141a,{unitID:_0xb97b29}=_0x3a62cb,_0x5df089=this[_0x33c8e2(0x1e8)][_0x33c8e2(0xe9)](_0xb97b29)[_0x33c8e2(0x2e8)](b['DocIMEInputManagerService']),_0x223eae=_0x5df089[_0x33c8e2(0x110)]();if(_0x223eae==null)return;const _0x51cdcc=[{'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x3a62cb[_0x33c8e2(0x290)],'actions':null,'textRanges':[_0x223eae]}}],_0x19650d=this[_0x33c8e2(0x15d)][_0x33c8e2(0x132)](_0x3a62cb,_0x51cdcc);if(!m[_0x33c8e2(0x26f)](_0x19650d))throw _0x19650d[_0x33c8e2(0x299)];const _0x2261bf=_0x19650d[_0x33c8e2(0x284)][0x0][_0x33c8e2(0xbd)]['textRanges'];Array['isArray'](_0x2261bf)&&_0x2261bf['length']&&_0x5df089[_0x33c8e2(0x197)](_0x2261bf[0x0]);}};z=kt([ce(0x0,a[_0x45141a(0x147)](a[_0x45141a(0x1b0)])),ce(0x1,m[_0x45141a(0x1b9)]),ce(0x2,p[_0x45141a(0x2fe)])],z);var Ht=Object[_0x45141a(0x104)],Ft=(_0x4e49c1,_0xf74d77,_0x2cf65e,_0x5ef33d)=>{const _0x5a3b40=_0x45141a;for(var _0x162865=_0x5ef33d>0x1?void 0x0:_0x5ef33d?Ht(_0xf74d77,_0x2cf65e):_0xf74d77,_0x1b15e0=_0x4e49c1[_0x5a3b40(0x1fe)]-0x1,_0x2ec979;_0x1b15e0>=0x0;_0x1b15e0--)(_0x2ec979=_0x4e49c1[_0x1b15e0])&&(_0x162865=_0x2ec979(_0x162865)||_0x162865);return _0x162865;},le=(_0x540976,_0x3ab61e)=>(_0x1d76db,_0x3cbad0)=>_0x3ab61e(_0x1d76db,_0x3cbad0,_0x540976);let J=class{constructor(_0x41fb03,_0x1c5864,_0x1ad7a2){const _0x45d26a=_0x45141a;this[_0x45d26a(0x19c)]=_0x41fb03,this[_0x45d26a(0x15d)]=_0x1c5864,this[_0x45d26a(0x217)]=_0x1ad7a2;}[_0x45141a(0x30a)](_0x493c06){this['_transformHistoryAndStateStack'](_0x493c06);}[_0x45141a(0x2be)](_0x13ecf4){const _0x3c0fb6=_0x45141a,{unitID:_0x543f4d}=_0x13ecf4,{collaboration:_0x5ee271}=this['_docStateChangeManagerService'][_0x3c0fb6(0x1a2)](_0x543f4d);if(_0x5ee271[_0x3c0fb6(0x1fe)]===0x0)return _0x13ecf4;let _0x2005bd=a[_0x3c0fb6(0x1d0)]['deepClone'](_0x13ecf4[_0x3c0fb6(0x1c1)][0x0]);for(let _0x4d7df0=0x0;_0x4d7df0<_0x5ee271['length'];_0x4d7df0++){const _0x5b1292={'id':_0x3c0fb6(0x20b),'params':{'unitId':_0x5ee271[_0x4d7df0]['unitId'],..._0x5ee271[_0x4d7df0][_0x3c0fb6(0x1bb)]}},_0x18de71=this['_transformService'][_0x3c0fb6(0xae)](_0x2005bd,_0x5b1292,!0x1);if(m[_0x3c0fb6(0x254)](_0x18de71))throw _0x18de71[_0x3c0fb6(0x299)];_0x2005bd=_0x18de71[_0x3c0fb6(0x119)];}return{...a[_0x3c0fb6(0x1d0)][_0x3c0fb6(0x106)](_0x13ecf4),'mutations':[_0x2005bd]};}['_transformHistoryAndStateStack'](_0x442ca7){const _0xee4b98=_0x45141a,{unitID:_0x3555f4}=_0x442ca7,{history:_0x30ee02,collaboration:_0x56a296}=this[_0xee4b98(0x217)]['getStateCache'](_0x3555f4);if(_0x30ee02[_0xee4b98(0x1fe)]===0x0&&_0x56a296['length']===0x0)return;const _0x2c4823=[],_0x1bdfd7=[];let _0x3a57a2=a[_0xee4b98(0x1d0)][_0xee4b98(0x106)](_0x442ca7[_0xee4b98(0x1c1)][0x0]),_0x4c1f08=a[_0xee4b98(0x1d0)][_0xee4b98(0x106)](_0x442ca7[_0xee4b98(0x1c1)][0x0]);for(let _0x328d5b=_0x30ee02[_0xee4b98(0x1fe)]-0x1;_0x328d5b>=0x0;_0x328d5b--){const _0x11792b={'id':_0xee4b98(0x20b),'params':{'unitId':_0x30ee02[_0x328d5b]['unitId'],..._0x30ee02[_0x328d5b][_0xee4b98(0x1dc)]}},_0x5b7719={'id':_0xee4b98(0x20b),'params':{'unitId':_0x30ee02[_0x328d5b][_0xee4b98(0x286)],..._0x30ee02[_0x328d5b][_0xee4b98(0x1bb)]}},_0x3629c5=this[_0xee4b98(0x15d)][_0xee4b98(0xae)](_0x3a57a2,_0x11792b,!0x1),_0x37ac30=this[_0xee4b98(0x15d)][_0xee4b98(0xae)](_0x4c1f08,_0x5b7719,!0x1);if(m[_0xee4b98(0x254)](_0x3629c5))throw _0x3629c5[_0xee4b98(0x299)];if(m[_0xee4b98(0x254)](_0x37ac30))throw _0x37ac30[_0xee4b98(0x299)];_0x2c4823[_0xee4b98(0x2bc)]({..._0x30ee02[_0x328d5b],'undoState':_0x3629c5[_0xee4b98(0x284)][_0xee4b98(0xbd)],'redoState':_0x37ac30[_0xee4b98(0x284)][_0xee4b98(0xbd)]}),_0x3a57a2=_0x3629c5['m1Prime'],_0x4c1f08=_0x37ac30[_0xee4b98(0x119)];}_0x3a57a2=a[_0xee4b98(0x1d0)][_0xee4b98(0x106)](_0x442ca7['mutations'][0x0]),_0x4c1f08=a[_0xee4b98(0x1d0)][_0xee4b98(0x106)](_0x442ca7['mutations'][0x0]);for(let _0x5147e0=_0x56a296[_0xee4b98(0x1fe)]-0x1;_0x5147e0>=0x0;_0x5147e0--){const _0x1d96ad={'id':_0xee4b98(0x20b),'params':{'unitId':_0x56a296[_0x5147e0]['unitId'],..._0x56a296[_0x5147e0][_0xee4b98(0x1dc)]}},_0x279fbd={'id':_0xee4b98(0x20b),'params':{'unitId':_0x56a296[_0x5147e0][_0xee4b98(0x286)],..._0x56a296[_0x5147e0][_0xee4b98(0x1bb)]}},_0x564713=this[_0xee4b98(0x15d)][_0xee4b98(0xae)](_0x3a57a2,_0x1d96ad,!0x1),_0x1e9c60=this[_0xee4b98(0x15d)][_0xee4b98(0xae)](_0x4c1f08,_0x279fbd,!0x1);if(m[_0xee4b98(0x254)](_0x564713))throw _0x564713[_0xee4b98(0x299)];if(m[_0xee4b98(0x254)](_0x1e9c60))throw _0x1e9c60[_0xee4b98(0x299)];_0x1bdfd7[_0xee4b98(0x2bc)]({..._0x56a296[_0x5147e0],'undoState':_0x564713['m2Prime']['params'],'redoState':_0x1e9c60['m2Prime'][_0xee4b98(0xbd)]}),_0x3a57a2=_0x564713[_0xee4b98(0x119)],_0x4c1f08=_0x1e9c60['m1Prime'];}this[_0xee4b98(0x217)][_0xee4b98(0x2c8)](_0x3555f4,{'history':_0x2c4823,'collaboration':_0x1bdfd7});}};J=Ft([le(0x0,a['Inject'](a['Injector'])),le(0x1,m[_0x45141a(0x1b9)]),le(0x2,a[_0x45141a(0x147)](b[_0x45141a(0x2ab)]))],J);var Wt=Object[_0x45141a(0x104)],Yt=(_0x3f86d9,_0x3f61b2,_0x1efdd3,_0x1191d6)=>{for(var _0xd47e4d=_0x1191d6>0x1?void 0x0:_0x1191d6?Wt(_0x3f61b2,_0x1efdd3):_0x3f61b2,_0x440118=_0x3f86d9['length']-0x1,_0x1cd42e;_0x440118>=0x0;_0x440118--)(_0x1cd42e=_0x3f86d9[_0x440118])&&(_0xd47e4d=_0x1cd42e(_0xd47e4d)||_0xd47e4d);return _0xd47e4d;},Ne=(_0x1bc43c,_0x5585b4)=>(_0x1f91f4,_0x1b27cb)=>_0x5585b4(_0x1f91f4,_0x1b27cb,_0x1bc43c);let Z=class{constructor(_0xeb17,_0x442f30){const _0x58d533=_0x45141a;this[_0x58d533(0x19c)]=_0xeb17,this[_0x58d533(0x15d)]=_0x442f30;}[_0x45141a(0x193)](_0x495ec3){const _0x195116=_0x45141a;var _0x47dd7f;const _0x1e4ec7=this[_0x195116(0x19c)][_0x195116(0x1a0)](W[_0x195116(0xde)]),_0x1b93c2=(_0x47dd7f=_0x1e4ec7[_0x195116(0x115)]())!=null?_0x47dd7f:[];if(_0x1b93c2[_0x195116(0x1fe)]===0x0)return;const _0x279487=_0x495ec3[_0x195116(0x290)],_0x5393ab=[{'id':_0x195116(0x20b),'params':{'unitId':_0x279487,'actions':null,'textRanges':_0x1b93c2}}],_0xd71cbd=this[_0x195116(0x15d)][_0x195116(0x132)](_0x495ec3,_0x5393ab);if(!m[_0x195116(0x26f)](_0xd71cbd))throw _0xd71cbd[_0x195116(0x299)];const _0x28448a=_0xd71cbd[_0x195116(0x284)][0x0][_0x195116(0xbd)][_0x195116(0x18d)];Array[_0x195116(0xbb)](_0x28448a)&&_0x28448a[_0x195116(0x1fe)]&&_0x1e4ec7[_0x195116(0x2d4)](_0x28448a,{'unitId':_0x279487,'subUnitId':_0x279487},!0x1);}};Z=Yt([Ne(0x0,a[_0x45141a(0x147)](a[_0x45141a(0x1b0)])),Ne(0x1,m[_0x45141a(0x1b9)])],Z);var Vt=Object['getOwnPropertyDescriptor'],Xt=(_0xc0ef46,_0x2f703d,_0x2cd10d,_0xd06b0e)=>{for(var _0xc5e20f=_0xd06b0e>0x1?void 0x0:_0xd06b0e?Vt(_0x2f703d,_0x2cd10d):_0x2f703d,_0x546f5d=_0xc0ef46['length']-0x1,_0x2063e3;_0x546f5d>=0x0;_0x546f5d--)(_0x2063e3=_0xc0ef46[_0x546f5d])&&(_0xc5e20f=_0x2063e3(_0xc5e20f)||_0xc5e20f);return _0xc5e20f;},N=(_0x4cb6ba,_0x594fa4)=>(_0x15fba6,_0xad0cc2)=>_0x594fa4(_0x15fba6,_0xad0cc2,_0x4cb6ba);let Q=class extends a[_0x45141a(0x298)]{constructor(_0x154bde,_0x53ecb5,_0x41df27,_0x3ad709,_0xc7d540,_0x3ea5cb,_0x5d154e,_0x273184){const _0x7825a3=_0x45141a;super(),h(this,'_status$',new d[(_0x7825a3(0x242))](u[_0x7825a3(0x2ef)][_0x7825a3(0x11f)])),(this[_0x7825a3(0x217)]=_0x154bde,this[_0x7825a3(0x23d)]=_0x53ecb5,this[_0x7825a3(0x2a6)]=_0x41df27,this['_docTransformStateCacheService']=_0x3ad709,this[_0x7825a3(0x17e)]=_0xc7d540,this[_0x7825a3(0x250)]=_0x3ea5cb,this['_messageService']=_0x5d154e,this[_0x7825a3(0x24d)]=_0x273184,this[_0x7825a3(0x124)]());}[_0x45141a(0x124)](){const _0x26925a=_0x45141a;this['disposeWithMe'](this[_0x26925a(0x23d)]['entityInit$']['subscribe'](_0x363a3f=>{const _0x313557=_0x26925a,_0x353570=this[_0x313557(0x217)][_0x313557(0x141)][_0x313557(0xdf)](_0x35b19e=>{const _0x45bb87=_0x313557;if(_0x35b19e==null)return;const {unitId:_0x4af828,redoState:_0x4db1f6,commandId:_0x351375}=_0x35b19e;if(_0x4af828!==_0x363a3f[_0x45bb87(0x290)])return;const _0x59b4a5={'id':_0x351375,'type':a[_0x45bb87(0xf2)][_0x45bb87(0xf3)],'params':{'unitId':_0x4af828,'actions':_0x4db1f6['actions'],'textRanges':null}};_0x363a3f[_0x45bb87(0x277)](_0x59b4a5);});if(_0x363a3f['disposeWithMe'](_0x353570),_0x363a3f instanceof u[_0x313557(0x28e)]){const _0x28610a={'onTransformIME':_0x4a801a=>this[_0x313557(0x2a6)][_0x313557(0x15a)](_0x4a801a),'onTransformState':_0x155b7a=>this['_docTransformStateCacheService'][_0x313557(0x30a)](_0x155b7a),'onTransformSelections':_0x4adf71=>this[_0x313557(0x17e)][_0x313557(0x193)](_0x4adf71),'onSyncEditingCollabCursor':_0xcb353d=>this['_docSyncEditingCollabCursorService'][_0x313557(0xdd)](_0xcb353d),'onTransformRemoteChangesetByIMECache':_0x4ea539=>this['_docTransformIMECacheService'][_0x313557(0x2be)](_0x4ea539),'onTransformRemoteChangesetByStateCache':_0x3d6fb5=>this['_docTransformStateCacheService'][_0x313557(0x2be)](_0x3d6fb5)};_0x363a3f[_0x313557(0xb1)](_0x28610a);}}));}};Q=Xt([N(0x0,a[_0x45141a(0x147)](b['DocStateChangeManagerService'])),N(0x1,a[_0x45141a(0x147)](u[_0x45141a(0x2a4)])),N(0x2,a['Inject'](z)),N(0x3,a[_0x45141a(0x147)](J)),N(0x4,a[_0x45141a(0x147)](Z)),N(0x5,a[_0x45141a(0x147)](Ce)),N(0x6,T['IMessageService']),N(0x7,a[_0x45141a(0x147)](a['LocaleService']))],Q);var Gt=Object['getOwnPropertyDescriptor'],qt=(_0x7d54b3,_0x3e3332,_0x41fc31,_0x4062d2)=>{for(var _0x1c4b05=_0x4062d2>0x1?void 0x0:_0x4062d2?Gt(_0x3e3332,_0x41fc31):_0x3e3332,_0x238102=_0x7d54b3['length']-0x1,_0x2f1675;_0x238102>=0x0;_0x238102--)(_0x2f1675=_0x7d54b3[_0x238102])&&(_0x1c4b05=_0x2f1675(_0x1c4b05)||_0x1c4b05);return _0x1c4b05;},_e=(_0x3df477,_0x426e17)=>(_0x5f0bc3,_0x323109)=>_0x426e17(_0x5f0bc3,_0x323109,_0x3df477);let ge=class extends a[_0x45141a(0x298)]{constructor(_0x4cc7f5,_0x3357b7,_0x50e248){const _0x5d9019=_0x45141a;super(),h(this,_0x5d9019(0x1db),new Map()),h(this,_0x5d9019(0x2de),new Map()),h(this,_0x5d9019(0x2d2),!0x1),(this[_0x5d9019(0x292)]=_0x4cc7f5,this[_0x5d9019(0x241)]=_0x3357b7,this['_revisionService']=_0x50e248);}[_0x45141a(0x2d3)](){const _0x5be9cb=_0x45141a;this[_0x5be9cb(0x2d2)]=!0x0;}[_0x45141a(0x204)](){const _0x9c270f=_0x45141a;this[_0x9c270f(0x2d2)]=!0x1;}get[_0x45141a(0x1ec)](){const _0x35ed4d=_0x45141a;return this[_0x35ed4d(0x2de)];}['dispose'](){this['exhaustSavingTask']()['then'](()=>super['dispose']());}async['loadOfflineData'](_0x206dd4){const _0x5a333b=_0x45141a;return this[_0x5a333b(0x2d2)]?null:this[_0x5a333b(0x241)][_0x5a333b(0x1ba)](u[_0x5a333b(0xb6)](_0x206dd4));}async[_0x45141a(0x1fa)](_0x4e012a,_0x8c2267){const _0x63e47b=_0x45141a;return!!this[_0x63e47b(0x241)][_0x63e47b(0x1c9)](_0x4e012a,_0x8c2267);}[_0x45141a(0xe3)](_0x4dfdfc,_0x4577d7,_0x4ab1a2,_0x36e56c){const _0x1a9c8d=_0x45141a,_0x3eeed5=this[_0x1a9c8d(0x225)][_0x1a9c8d(0x316)](_0x4dfdfc);this[_0x1a9c8d(0x1db)]['set'](_0x4dfdfc,{'unitID':_0x4dfdfc,'type':_0x4577d7,'awaitingChangeset':_0x4ab1a2,'mutations':_0x36e56c,'rev':_0x3eeed5}),this[_0x1a9c8d(0x2de)][_0x1a9c8d(0x17c)](_0x4dfdfc)||this[_0x1a9c8d(0x17a)](_0x4dfdfc);}[_0x45141a(0x17a)](_0x12034d){const _0x1b125b=_0x45141a,_0x484334=this[_0x1b125b(0x2fa)]();_0x484334===0x0?this[_0x1b125b(0x1ab)](_0x12034d):this[_0x1b125b(0x2de)][_0x1b125b(0x11e)](_0x12034d,setTimeout(()=>this['_saveCache'](_0x12034d),_0x484334));}[_0x45141a(0x2fa)](){const _0x430a8b=_0x45141a;var _0x30435c;return(_0x30435c=this[_0x430a8b(0x292)][_0x430a8b(0x208)](u[_0x430a8b(0x22a)]))!=null?_0x30435c:u['LOCAL_CACHE_INTERVAL'];}[_0x45141a(0x1ab)](_0x1f5719){const _0x38c249=_0x45141a,_0xa2a4f9=this[_0x38c249(0x2de)][_0x38c249(0x1a0)](_0x1f5719);return _0xa2a4f9!==void 0x0&&window[_0x38c249(0x287)](_0xa2a4f9),this['_localStorageService']['setItem'](u[_0x38c249(0xb6)](_0x1f5719),this[_0x38c249(0x1db)][_0x38c249(0x1a0)](_0x1f5719))[_0x38c249(0x21f)](()=>this[_0x38c249(0x2de)]['delete'](_0x1f5719));}async[_0x45141a(0x1b4)](){const _0x55452f=_0x45141a,_0x27161c=[];this['_saveTaskMap'][_0x55452f(0xf1)]((_0x2afcc0,_0x1ed11c)=>{const _0x30a027=_0x55452f;window[_0x30a027(0x287)](_0x2afcc0),_0x27161c[_0x30a027(0x297)](this['_saveCache'](_0x1ed11c)[_0x30a027(0x21f)](()=>{const _0x3da8d1=_0x30a027;this[_0x3da8d1(0x2de)][_0x3da8d1(0x151)](_0x1ed11c);}));}),await Promise[_0x55452f(0x26b)](_0x27161c);}};ge=qt([_e(0x0,a[_0x45141a(0x2ac)]),_e(0x1,a[_0x45141a(0xaa)]),_e(0x2,a[_0x45141a(0x147)](m[_0x45141a(0x14e)]))],ge);class je extends a[_0x45141a(0x171)]{constructor(){const _0x3e2088=_0x45141a;super(),h(this,_0x3e2088(0xc7)),this['urlChange$']=d['fromEvent'](window,_0x3e2088(0x205))[_0x3e2088(0x186)](d[_0x3e2088(0x2cc)](this['dispose$']),d[_0x3e2088(0x1d6)](0x1),d['mapTo'](void 0x0));}[_0x45141a(0x129)](_0x40c63d,_0x1763b8,_0x590185=!0x1){const _0x2208af=_0x45141a,_0xfc952=new URL(window[_0x2208af(0x17b)][_0x2208af(0xcd)]);_0xfc952[_0x2208af(0x1a8)][_0x2208af(0x11e)](_0x40c63d,_0x1763b8),_0x590185?window['history'][_0x2208af(0x194)]('','',_0xfc952['toString']()):window[_0x2208af(0xaf)][_0x2208af(0x260)]('','',_0xfc952['toString']());}[_0x45141a(0x1d7)](_0x104dd1,_0x233398=!0x1){const _0xa13c32=_0x45141a,_0x59a507=new URL(window['location'][_0xa13c32(0xcd)]);_0x59a507[_0xa13c32(0x1a8)][_0xa13c32(0x151)](_0x104dd1),_0x233398?window[_0xa13c32(0xaf)][_0xa13c32(0x194)]('','',_0x59a507[_0xa13c32(0x1a7)]()):window[_0xa13c32(0xaf)]['pushState']('','',_0x59a507[_0xa13c32(0x1a7)]());}['getParam'](_0x1470fc){const _0x482570=_0x45141a;var _0x425ca7;return(_0x425ca7=new URL(window[_0x482570(0x17b)]['href'])[_0x482570(0x1a8)][_0x482570(0x1a0)](_0x1470fc))!=null?_0x425ca7:void 0x0;}}var Kt=Object['defineProperty'],zt=Object['getOwnPropertyDescriptor'],Jt=(_0x40abe0,_0x4e16f9,_0x217a2e)=>_0x4e16f9 in _0x40abe0?Kt(_0x40abe0,_0x4e16f9,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x217a2e}):_0x40abe0[_0x4e16f9]=_0x217a2e,Zt=(_0x42c3e0,_0x18d11c,_0x2631bf,_0x2b295f)=>{const _0x3192fe=_0x45141a;for(var _0x3c4b7b=_0x2b295f>0x1?void 0x0:_0x2b295f?zt(_0x18d11c,_0x2631bf):_0x18d11c,_0x3f2457=_0x42c3e0[_0x3192fe(0x1fe)]-0x1,_0x22258a;_0x3f2457>=0x0;_0x3f2457--)(_0x22258a=_0x42c3e0[_0x3f2457])&&(_0x3c4b7b=_0x22258a(_0x3c4b7b)||_0x3c4b7b);return _0x3c4b7b;},he=(_0x8f1cf9,_0xd830b3)=>(_0x4201bb,_0x506055)=>_0xd830b3(_0x4201bb,_0x506055,_0x8f1cf9),Qt=(_0x535df8,_0x34ab1a,_0x1fafe8)=>Jt(_0x535df8,_0x34ab1a+'',_0x1fafe8);const es=_0x45141a(0x19d);exports[_0x45141a(0x25e)]=class extends a[_0x45141a(0x30d)]{constructor(_0x309a47=Ue,_0x578c7d,_0x54f948,_0x68b507){const _0x3f6e82=_0x45141a;super(),this[_0x3f6e82(0x30f)]=_0x309a47,this[_0x3f6e82(0x1e8)]=_0x578c7d,this['_injector']=_0x54f948,this[_0x3f6e82(0x292)]=_0x68b507;const {..._0x409935}=a[_0x3f6e82(0x145)]({},Ue,this[_0x3f6e82(0x30f)]);this[_0x3f6e82(0x292)][_0x3f6e82(0x11c)]($t,_0x409935);}[_0x45141a(0xb4)](){const _0x21cd66=_0x45141a;this[_0x21cd66(0x281)](),this[_0x21cd66(0x12d)]();}[_0x45141a(0x313)](){const _0x26d375=_0x45141a;this[_0x26d375(0x9f)]();}['_registerDependencies'](){const _0x1308c4=_0x45141a;var _0x4a62d2;const _0x2bd6e5=[[me],[Z],[z],[J],[Ce],[be,{'useClass':je}],[G[_0x1308c4(0x13a)],{'useClass':G[_0x1308c4(0x245)]}],[u[_0x1308c4(0xbf)],{'useClass':ge}],[exports[_0x1308c4(0xb9)]],[Q],[K],[x],[de],[exports[_0x1308c4(0x19f)]]];a[_0x1308c4(0x1c8)](this[_0x1308c4(0x19c)],a[_0x1308c4(0x2c9)](_0x2bd6e5,(_0x4a62d2=this['_config'])==null?void 0x0:_0x4a62d2[_0x1308c4(0xfd)]));}[_0x45141a(0x9f)](){const _0xcac7c0=_0x45141a;this[_0xcac7c0(0x18a)](this[_0xcac7c0(0x1e8)]['registerRenderModule'](a[_0xcac7c0(0x29b)]['UNIVER_DOC'],[Ie])),this['disposeWithMe'](this[_0xcac7c0(0x1e8)]['registerRenderModule'](a[_0xcac7c0(0x29b)][_0xcac7c0(0x21b)],[ve]));}[_0x45141a(0x12d)](){const _0x95f1c1=_0x45141a;a[_0x95f1c1(0x1de)](this[_0x95f1c1(0x19c)],[[x],[exports[_0x95f1c1(0xb9)]],[Q],[K],[exports[_0x95f1c1(0x19f)]]]);}},Qt(exports[_0x45141a(0x25e)],'pluginName',es),exports[_0x45141a(0x25e)]=Zt([a[_0x45141a(0x29e)](u[_0x45141a(0x2bb)]),he(0x1,p[_0x45141a(0x2fe)]),he(0x2,a[_0x45141a(0x147)](a['Injector'])),he(0x3,a[_0x45141a(0x2ac)])],exports[_0x45141a(0x25e)]);var ts=Object[_0x45141a(0x104)],ss=(_0x92f9d0,_0x60a4d2,_0x13e1b0,_0x5e8e65)=>{for(var _0x4a2db7=_0x5e8e65>0x1?void 0x0:_0x5e8e65?ts(_0x60a4d2,_0x13e1b0):_0x60a4d2,_0x32f425=_0x92f9d0['length']-0x1,_0x51f80d;_0x32f425>=0x0;_0x32f425--)(_0x51f80d=_0x92f9d0[_0x32f425])&&(_0x4a2db7=_0x51f80d(_0x4a2db7)||_0x4a2db7);return _0x4a2db7;},F=(_0x4437f5,_0x55eec1)=>(_0x512b74,_0x1f9fdc)=>_0x55eec1(_0x512b74,_0x1f9fdc,_0x4437f5);exports['BrowserCollaborationSocketService']=class extends u[_0x45141a(0x213)]{constructor(_0xd0ce0b,_0x1f24d2,_0x1f17ff,_0x548cf6,_0x980de1){super(_0xd0ce0b,_0x1f24d2,_0x1f17ff,_0x548cf6,_0x980de1);}async['createSocket'](_0x228e4e){const _0x552229=_0x45141a,_0x495ee2=await this[_0x552229(0xa2)](),_0x3d6004=this[_0x552229(0xdc)](_0x228e4e,_0x495ee2);return this['_doCreateSocket'](_0x3d6004);}[_0x45141a(0xdc)](_0xd765f2,_0x5139e3){const _0x533abf=_0x45141a,_0x368216=typeof window>'u'?new URL(_0xd765f2):new URL(_0xd765f2,window[_0x533abf(0x17b)][_0x533abf(0xef)]);_0x368216[_0x533abf(0x1a8)]['set']('sessionTicket',_0x5139e3);const _0x39d734=typeof window>'u'?new URLSearchParams():new URLSearchParams(window[_0x533abf(0x17b)][_0x533abf(0x135)]);return _0x39d734[_0x533abf(0x1a0)](_0x533abf(0x2d0))&&_0x368216[_0x533abf(0x1a8)][_0x533abf(0x11e)](_0x533abf(0x2d0),_0x39d734[_0x533abf(0x1a0)]('runId')),_0x368216[_0x533abf(0x1a7)]();}async[_0x45141a(0xa2)](){const _0x29de12=_0x45141a;var _0xa29beb,_0x2d9045,_0x5c3296;const _0x3a0ec7=this[_0x29de12(0x292)][_0x29de12(0x208)](u[_0x29de12(0xba)]),_0xd2dbc8=(_0xa29beb=_0x3a0ec7==null?void 0x0:_0x3a0ec7['wsSessionTicketUrl'])!=null?_0xa29beb:u[_0x29de12(0x167)];return(_0x5c3296=(_0x2d9045=(await this[_0x29de12(0x2ce)]['get'](_0xd2dbc8,{'headers':{'Content-Type':'application/json'}}))['body'])==null?void 0x0:_0x2d9045['ticket'])!=null?_0x5c3296:'';}},exports[_0x45141a(0x22c)]=ss([F(0x0,a[_0x45141a(0x147)](a[_0x45141a(0x1b0)])),F(0x1,a[_0x45141a(0x147)](G['HTTPService'])),F(0x2,a[_0x45141a(0x2ac)]),F(0x3,a['ILogService']),F(0x4,m['ISnapshotServerService'])],exports['BrowserCollaborationSocketService']);const Me=0x7530,Le=_0x45141a(0x29f);class is extends a[_0x45141a(0x298)]{constructor(){const _0x1824ce=_0x45141a;super(),h(this,'_id',a['generateRandomId']()),h(this,_0x1824ce(0xad),new Set()),h(this,'_unitOnClients',new Map()),h(this,_0x1824ce(0x263),null),h(this,'_clearOtherTimers',new Map()),h(this,_0x1824ce(0x2b7),new Map()),this['_init']();}[_0x45141a(0x20f)](){const _0x50b6e6=_0x45141a;super[_0x50b6e6(0x20f)](),this['_clearOtherTimers'][_0x50b6e6(0xf1)]((_0x393c66,_0x5819f4)=>this['_removeClearOtherTimer'](_0x5819f4)),this[_0x50b6e6(0x263)]&&window[_0x50b6e6(0x1cd)](this[_0x50b6e6(0x263)]);}['getUnitStatus$'](_0x5cf903){const _0x3508ec=_0x45141a;return this[_0x3508ec(0x20d)](_0x5cf903)['pipe'](d['distinctUntilChanged']());}['editingUnit'](_0x22b9e3){const _0x58012c=_0x45141a;this['_selfUnitIDs'][_0x58012c(0x1cb)]===0x0&&this[_0x58012c(0xc0)](),this['_selfUnitIDs'][_0x58012c(0x2b3)](_0x22b9e3),this['_send']({'type':0x0,'memberID':this[_0x58012c(0xe5)],'unitIDs':[_0x22b9e3],'isForwarded':!0x1});}[_0x45141a(0x1e0)](_0x5037cb){const _0x5f2cd3=_0x45141a;this[_0x5f2cd3(0xad)][_0x5f2cd3(0x151)](_0x5037cb),this[_0x5f2cd3(0xad)][_0x5f2cd3(0x1cb)]===0x0&&this['_heartbeatTimer']&&window[_0x5f2cd3(0x1cd)](this['_heartbeatTimer']);}[_0x45141a(0x210)](){const _0x5525f4=_0x45141a;this['disposeWithMe'](a[_0x5525f4(0x1be)](d[_0x5525f4(0x1c2)](window,_0x5525f4(0x1fc))['subscribe'](_0x2ffa77=>{const _0x452ac9=_0x5525f4;if(_0x2ffa77[_0x452ac9(0x265)]!==Le||!_0x2ffa77[_0x452ac9(0xd4)])return;const _0x1b8132=JSON['parse'](_0x2ffa77['newValue']);this[_0x452ac9(0x228)](_0x1b8132);}))),window[_0x5525f4(0x12c)](_0x5525f4(0x215),()=>this[_0x5525f4(0x20a)]({'type':0x1,'memberID':this[_0x5525f4(0xe5)],'unitIDs':Array[_0x5525f4(0x2af)](this['_selfUnitIDs'])}));}[_0x45141a(0x228)](_0x49b9e2){switch(_0x49b9e2['type']){case 0x0:this['_handleJoinEvent'](_0x49b9e2);break;case 0x1:this['_handleLeaveEvent'](_0x49b9e2);break;case 0x2:this['_handleHeartbeatEvent'](_0x49b9e2);break;}}['_handleJoinEvent'](_0x75ade5){const _0x2fd6d7=_0x45141a,{unitIDs:_0x5e61b7,memberID:_0x3f7a23,isForwarded:_0x3c1197}=_0x75ade5;_0x5e61b7[_0x2fd6d7(0xf1)](_0x41aabe=>{const _0xcffe36=_0x2fd6d7;if(!_0x3c1197&&this[_0xcffe36(0x308)][_0xcffe36(0x17c)](_0x41aabe)&&this[_0xcffe36(0x20d)](_0x41aabe)[_0xcffe36(0x2e4)](u[_0xcffe36(0x174)]['OTHER_CLIENTS_EDITING']),!this[_0xcffe36(0x308)][_0xcffe36(0x17c)](_0x41aabe)||!this['_unitOnClients']['get'](_0x41aabe)[_0xcffe36(0x17c)](_0x3f7a23)){const _0x1e70ff=this[_0xcffe36(0x308)]['get'](_0x41aabe)||new Set();_0x1e70ff[_0xcffe36(0x2b3)](_0x3f7a23),this[_0xcffe36(0x308)][_0xcffe36(0x11e)](_0x41aabe,_0x1e70ff),this[_0xcffe36(0x1eb)](_0x3f7a23);}}),_0x3c1197||this[_0x2fd6d7(0x20a)]({'type':0x0,'memberID':this['_id'],'unitIDs':[...this['_selfUnitIDs']],'isForwarded':!0x0});}[_0x45141a(0x1eb)](_0x4701cd){const _0x2b919b=_0x45141a;this[_0x2b919b(0x25f)](_0x4701cd);const _0x378631=window['setTimeout'](()=>{const _0x35cbfe=_0x2b919b;this[_0x35cbfe(0x308)][_0x35cbfe(0xf1)](_0x1ac6fb=>{const _0x5da64e=_0x35cbfe;_0x1ac6fb[_0x5da64e(0x151)](_0x4701cd);});},Me*0x2);this[_0x2b919b(0x252)][_0x2b919b(0x11e)](_0x4701cd,_0x378631);}[_0x45141a(0x25f)](_0x2cffba){const _0xf75097=_0x45141a;if(this['_clearOtherTimers']['has'](_0x2cffba)){const _0x4e8c0a=this[_0xf75097(0x252)]['get'](_0x2cffba);_0x4e8c0a&&window[_0xf75097(0x287)](_0x4e8c0a),this[_0xf75097(0x252)]['set'](_0x2cffba,null);}}['_handleLeaveEvent'](_0x21bb78){const _0x173af5=_0x45141a,{memberID:_0x5476cb,unitIDs:_0x4d6ed6}=_0x21bb78;_0x4d6ed6[_0x173af5(0xf1)](_0x81b90=>{const _0x4b81d8=_0x173af5;var _0x2cf081;const _0x5ad31b=this[_0x4b81d8(0x308)][_0x4b81d8(0x1a0)](_0x81b90);_0x5ad31b&&(_0x5ad31b[_0x4b81d8(0x151)](_0x5476cb),(_0x2cf081=this[_0x4b81d8(0x20d)](_0x81b90))==null||_0x2cf081[_0x4b81d8(0x2e4)](_0x5ad31b['size']===0x0?u['UnitStatus'][_0x4b81d8(0x2b1)]:u[_0x4b81d8(0x174)]['OTHER_CLIENTS_EDITING']));}),this[_0x173af5(0x25f)](_0x5476cb);}['_handleHeartbeatEvent'](_0x111d77){const _0x3aad10=_0x45141a;this[_0x3aad10(0x1eb)](_0x111d77[_0x3aad10(0x1ae)]);}['_send'](_0x929199){const _0x3ca70a=_0x45141a;localStorage['setItem'](Le,JSON[_0x3ca70a(0x14b)](_0x929199));}[_0x45141a(0xc0)](){const _0x3fd950=_0x45141a;this[_0x3fd950(0x263)]=window[_0x3fd950(0x143)](()=>{const _0x2f0087=_0x3fd950;this[_0x2f0087(0x20a)]({'type':0x2,'memberID':this[_0x2f0087(0xe5)]});},Me);}[_0x45141a(0x20d)](_0x207def){const _0x4180ab=_0x45141a;return this[_0x4180ab(0x2b7)][_0x4180ab(0x17c)](_0x207def)||this['_unitStatus']['set'](_0x207def,new d['BehaviorSubject'](u[_0x4180ab(0x174)][_0x4180ab(0x2b1)])),this['_unitStatus']['get'](_0x207def);}}var Be=(_0x4212e1=>(_0x4212e1[_0x4212e1[_0x45141a(0xec)]=0x0]='UNDEFINED',_0x4212e1[_0x4212e1['OK']=0x1]='OK',_0x4212e1[_0x4212e1[_0x45141a(0x1cc)]=0x2]=_0x45141a(0x1cc),_0x4212e1[_0x4212e1[_0x45141a(0x2e0)]=0x3]=_0x45141a(0x2e0),_0x4212e1[_0x4212e1[_0x45141a(0x2cd)]=0x4]=_0x45141a(0x2cd),_0x4212e1[_0x4212e1[_0x45141a(0xce)]=0x5]='UNAUTHENTICATED',_0x4212e1[_0x4212e1[_0x45141a(0x276)]=0x6]=_0x45141a(0x276),_0x4212e1[_0x4212e1[_0x45141a(0x28b)]=0x7]='INVALID_ARGUMENT',_0x4212e1[_0x4212e1[_0x45141a(0x12a)]=0x8]='TOO_MANY_REQUESTS',_0x4212e1[_0x4212e1[_0x45141a(0x306)]=0x9]='COMPLETION_FINISHED',_0x4212e1[_0x4212e1['LOGIN_FAILED']=0xa]=_0x45141a(0xa4),_0x4212e1[_0x4212e1['CHANGESET_REVISION_CONFILICT']=0x1389]=_0x45141a(0x13e),_0x4212e1[_0x4212e1[_0x45141a(0xab)]=0x1771]=_0x45141a(0xab),_0x4212e1[_0x4212e1[_0x45141a(0x18b)]=0x1772]='SNAPSHOT_HAS_BEEN_REMOVED',_0x4212e1[_0x4212e1[_0x45141a(0x2e1)]=0x1773]=_0x45141a(0x2e1),_0x4212e1[_0x4212e1[_0x45141a(0xb8)]=0x1b59]=_0x45141a(0xb8),_0x4212e1[_0x4212e1['APPLY_NON_SEQUENTIAL_REVISION']=0x1b5a]=_0x45141a(0x272),_0x4212e1[_0x4212e1[_0x45141a(0x15e)]=0x1b5b]='APPLY_REVISION_CONFILICT',_0x4212e1[_0x4212e1['APPLY_PERMISSION_DENIED']=0x1b5c]=_0x45141a(0xc9),_0x4212e1[_0x4212e1[_0x45141a(0x249)]=0x1b5d]=_0x45141a(0x249),_0x4212e1[_0x4212e1[_0x45141a(0x303)]=0x1f41]='CONNECTOR_DATA_TOO_LARGE',_0x4212e1[_0x4212e1[_0x45141a(0x121)]=0x2329]=_0x45141a(0x121),_0x4212e1[_0x4212e1['LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED']=0x232a]='LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED',_0x4212e1[_0x4212e1['LICENSE_IMPORT_SIZE_EXCEEDED']=0x232b]=_0x45141a(0x163),_0x4212e1[_0x4212e1[_0x45141a(0x1c0)]=0x232c]='LICENSE_EXPORT_SIZE_EXCEEDED',_0x4212e1[_0x4212e1[_0x45141a(0x16e)]=0x232d]=_0x45141a(0x16e),_0x4212e1[_0x4212e1['YUUMI_UNABLE_LOAD_URL']=0x2711]=_0x45141a(0xe6),_0x4212e1[_0x4212e1['YUUMI_URL_COL_OUT_OF_RANGE']=0x2712]=_0x45141a(0x2e7),_0x4212e1[_0x4212e1['YUUMI_RATE_OVER_LIMIT']=0x2713]=_0x45141a(0x222),_0x4212e1[_0x4212e1[_0x45141a(0x1e6)]=0x2714]=_0x45141a(0x1e6),_0x4212e1[_0x4212e1[_0x45141a(0xe1)]=0x271a]=_0x45141a(0xe1),_0x4212e1[_0x4212e1['YUUMI_ASYNCIO_CANCELLED']=0x271b]='YUUMI_ASYNCIO_CANCELLED',_0x4212e1[_0x4212e1['PY_RUNTIME_SCRIPT_ERROR']=0x2af9]='PY_RUNTIME_SCRIPT_ERROR',_0x4212e1[_0x4212e1[_0x45141a(0x25b)]=0x2ee1]='INVITE_CODE_HAS_BEEN_UES',_0x4212e1[_0x4212e1[_0x45141a(0x202)]=0x2ee2]=_0x45141a(0x202),_0x4212e1[_0x4212e1[_0x45141a(0x131)]=0x2ee3]='INVITE_CODE_REQUIRED',_0x4212e1[_0x4212e1[_0x45141a(0xe4)]=0x2ee4]=_0x45141a(0xe4),_0x4212e1[_0x4212e1[_0x45141a(0x165)]=0x2ee5]='INVITE_CODE_ALREADY_BOUND',_0x4212e1[_0x4212e1[_0x45141a(0x212)]=0x32c9]=_0x45141a(0x212),_0x4212e1[_0x4212e1['MOBILE_HAS_BEEN_BOUND']=0x32ca]=_0x45141a(0x27e),_0x4212e1[_0x4212e1['EMAIL_HAS_BEEN_BOUND']=0x32cb]=_0x45141a(0x231),_0x4212e1[_0x4212e1['UNRECOGNIZED']=-0x1]='UNRECOGNIZED',_0x4212e1))(Be||{}),ns=Object['getOwnPropertyDescriptor'],rs=(_0x7b1c29,_0x4a5a87,_0x310754,_0x21ee4b)=>{const _0x29e16f=_0x45141a;for(var _0x390065=_0x21ee4b>0x1?void 0x0:_0x21ee4b?ns(_0x4a5a87,_0x310754):_0x4a5a87,_0x344429=_0x7b1c29[_0x29e16f(0x1fe)]-0x1,_0x1a9f17;_0x344429>=0x0;_0x344429--)(_0x1a9f17=_0x7b1c29[_0x344429])&&(_0x390065=_0x1a9f17(_0x390065)||_0x390065);return _0x390065;},ue=(_0x1993f3,_0x2d6826)=>(_0xe8fd4f,_0x34d126)=>_0x2d6826(_0xe8fd4f,_0x34d126,_0x1993f3);exports[_0x45141a(0x20e)]=class extends a[_0x45141a(0x298)]{constructor(_0x3278be,_0x2ba61c,_0x2c07fe){const _0x481935=_0x45141a;super(),this[_0x481935(0x108)]=_0x3278be,this[_0x481935(0x2ce)]=_0x2ba61c,this[_0x481935(0x292)]=_0x2c07fe;}async[_0x45141a(0x111)](_0x4ec187,_0x352a52,_0x3b5cf0,..._0x54c996){const _0x5777ef=_0x45141a;var _0x17358f,_0x20ed02,_0x559cd3,_0x57a141;const _0x5c6d25=this[_0x5777ef(0x108)][_0x5777ef(0x269)]();if(!_0x5c6d25)throw new Error(_0x5777ef(0x230));const _0x514d7d=((_0x17358f=this[_0x5777ef(0x292)][_0x5777ef(0x208)](u['REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY']))!=null?_0x17358f:u['DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT'])+'/'+_0x4ec187+_0x5777ef(0x2dc)+_0x352a52,_0x1e9422=new URL(window[_0x5777ef(0x17b)][_0x5777ef(0xcd)]),_0x305ecf={'scriptId':_0x4ec187,'runId':(_0x20ed02=_0x1e9422[_0x5777ef(0x1a8)]['get'](_0x5777ef(0x2d0)))!=null?_0x20ed02:'','function':_0x352a52,'unitId':_0x5c6d25[_0x5777ef(0x189)](),'argsOfFunction':JSON['stringify'](_0x54c996),'invokeId':(_0x559cd3=_0x3b5cf0['invokeId'])!=null?_0x559cd3:'','executionId':(_0x57a141=_0x3b5cf0[_0x5777ef(0x247)])!=null?_0x57a141:''};try{const _0x17e66d=await this[_0x5777ef(0x2ce)]['post'](_0x514d7d,{'body':_0x305ecf});return _0x17e66d[_0x5777ef(0x29d)][_0x5777ef(0x299)]&&_0x17e66d[_0x5777ef(0x29d)][_0x5777ef(0x299)][_0x5777ef(0x123)]!==Be['OK']?'Failed':_0x17e66d[_0x5777ef(0x29d)]['result'];}catch{return _0x5777ef(0x30b);}}},exports[_0x45141a(0x20e)]=rs([ue(0x0,a[_0x45141a(0x101)]),ue(0x1,a[_0x45141a(0x147)](G[_0x45141a(0x309)])),ue(0x2,a[_0x45141a(0x2ac)])],exports[_0x45141a(0x20e)]),exports[_0x45141a(0x28d)]=xe,exports['IURLService']=be,exports[_0x45141a(0x168)]=we,exports[_0x45141a(0x1f1)]=is,exports[_0x45141a(0x1f7)]=je;
|
|
1
|
+
'use strict';const _0x568b38=_0x1323;(function(_0x238abc,_0x3ed2f5){const _0x5bc86f=_0x1323,_0x441580=_0x238abc();while(!![]){try{const _0x1a2642=-parseInt(_0x5bc86f(0x140))/0x1*(parseInt(_0x5bc86f(0x248))/0x2)+parseInt(_0x5bc86f(0x2ec))/0x3*(parseInt(_0x5bc86f(0x303))/0x4)+parseInt(_0x5bc86f(0x285))/0x5*(parseInt(_0x5bc86f(0x232))/0x6)+-parseInt(_0x5bc86f(0x294))/0x7+-parseInt(_0x5bc86f(0x1ed))/0x8*(parseInt(_0x5bc86f(0x350))/0x9)+-parseInt(_0x5bc86f(0x2dc))/0xa+parseInt(_0x5bc86f(0x223))/0xb*(parseInt(_0x5bc86f(0x1b2))/0xc);if(_0x1a2642===_0x3ed2f5)break;else _0x441580['push'](_0x441580['shift']());}catch(_0x56dda2){_0x441580['push'](_0x441580['shift']());}}}(_0x3324,0x2b0ad));var Ve=Object['defineProperty'],Xe=(_0x2c75eb,_0x1761d5,_0x4b6cd9)=>_0x1761d5 in _0x2c75eb?Ve(_0x2c75eb,_0x1761d5,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x4b6cd9}):_0x2c75eb[_0x1761d5]=_0x4b6cd9,h=(_0x882084,_0x447b37,_0x3afbd0)=>Xe(_0x882084,typeof _0x447b37!=_0x568b38(0x24c)?_0x447b37+'':_0x447b37,_0x3afbd0);Object[_0x568b38(0x182)](exports,Symbol[_0x568b38(0x36b)],{'value':_0x568b38(0x2f7)});const u=require('@univerjs-pro/collaboration-client'),a=require(_0x568b38(0x2ea)),p=require('@univerjs/engine-render'),G=require(_0x568b38(0x2f2)),b=require(_0x568b38(0x1b8)),Ge=require(_0x568b38(0x1bb)),d=require('rxjs'),W=require(_0x568b38(0x288)),m=require(_0x568b38(0x279)),Ee=require(_0x568b38(0x2df)),g=require(_0x568b38(0x2be)),$=require('rxjs/operators'),X=require('@univerjs/sheets-ui'),P=require(_0x568b38(0x380)),T=require(_0x568b38(0x200)),D=require(_0x568b38(0x1e6)),M=require(_0x568b38(0x2a4)),qe=require(_0x568b38(0x2c2));var Ke=Object['getOwnPropertyDescriptor'],ze=(_0x44cf58,_0x2e6782,_0x3038f7,_0x20da1e)=>{const _0x11840d=_0x568b38;for(var _0x4f692a=_0x20da1e>0x1?void 0x0:_0x20da1e?Ke(_0x2e6782,_0x3038f7):_0x2e6782,_0x3581a3=_0x44cf58[_0x11840d(0x2bd)]-0x1,_0x2f4ee2;_0x3581a3>=0x0;_0x3581a3--)(_0x2f4ee2=_0x44cf58[_0x3581a3])&&(_0x4f692a=_0x2f4ee2(_0x4f692a)||_0x4f692a);return _0x4f692a;},Te=(_0x2961bd,_0x4ded89)=>(_0x17a22f,_0xac9076)=>_0x4ded89(_0x17a22f,_0xac9076,_0x2961bd);let de=class extends a[_0x568b38(0x327)]{constructor(_0x725e62,_0x4b2948){const _0x4b3266=_0x568b38;super(),this[_0x4b3266(0x328)]=_0x725e62,this[_0x4b3266(0x177)]=_0x4b2948,this[_0x4b3266(0x246)]();}[_0x568b38(0x246)](){const _0x10d40c=_0x568b38,_0x3b35d6=this;this[_0x10d40c(0x369)](this[_0x10d40c(0x328)]['addClipboardHook']({'onBeforePasteImage':async _0x3c60af=>{const _0x6aa464=_0x10d40c,_0x557d81=await _0x3b35d6['_imageIoService']['saveImage'](_0x3c60af);return _0x557d81?{'source':_0x557d81[_0x6aa464(0x131)],'imageSourceType':_0x557d81[_0x6aa464(0x1fd)]}:null;}}));}};de=ze([Te(0x0,b['IDocClipboardService']),Te(0x1,Ge[_0x568b38(0x396)])],de);const Oe=[_0x568b38(0x1ab),'jiqing500',_0x568b38(0x1a4),_0x568b38(0x2e3),'blue400',_0x568b38(0x34d)];class me extends a[_0x568b38(0x30e)]{constructor(){const _0x9a3432=_0x568b38;super(...arguments),h(this,_0x9a3432(0x306),new Map()),h(this,_0x9a3432(0x34f),0x0);}[_0x568b38(0x215)](_0x3e58dd){const _0x2cdabc=_0x568b38;if(this['_assignedColors'][_0x2cdabc(0x347)](_0x3e58dd))return this[_0x2cdabc(0x306)]['get'](_0x3e58dd);const _0x47d950=Oe[this[_0x2cdabc(0x34f)]];return this[_0x2cdabc(0x34f)]=(this[_0x2cdabc(0x34f)]+0x1)%Oe['length'],this[_0x2cdabc(0x306)]['set'](_0x3e58dd,_0x47d950),_0x47d950;}}function Pe(_0x59036b){const _0x10af89=_0x568b38;let _0x2a57d7='';for(const _0x50e8db of _0x59036b){const {startOffset:_0x22e9c9,endOffset:_0x418b37,isActive:_0x140777,rangeType:_0x291a7f,segmentId:_0x3db9fc,segmentPage:_0x4bfecb}=_0x50e8db;_0x2a57d7[_0x10af89(0x2bd)]&&(_0x2a57d7+=','),_0x2a57d7+=_0x22e9c9+':'+_0x418b37+':'+(_0x140777?'1':'0')+':'+_0x291a7f+':'+_0x3db9fc+':'+_0x4bfecb;}return _0x2a57d7;}function Je(_0x345d0b){const _0x2f3e14=_0x568b38,_0x326e35=_0x345d0b['split'](','),_0x1f3b3c=[];for(const _0x197d56 of _0x326e35){const [_0x1264ef,_0x31639f,_0x213c10,_0xcff726,_0x1147dd,_0x1b50af]=_0x197d56[_0x2f3e14(0x287)](':');_0x1f3b3c[_0x2f3e14(0x284)]({'startOffset':Number(_0x1264ef),'endOffset':Number(_0x31639f),'collapsed':_0x1264ef===_0x31639f,'isActive':_0x213c10==='1','rangeType':_0xcff726===a[_0x2f3e14(0x2ca)]['TEXT']?a[_0x2f3e14(0x2ca)][_0x2f3e14(0x2fb)]:a[_0x2f3e14(0x2ca)][_0x2f3e14(0x145)],'segmentId':typeof _0x1147dd==_0x2f3e14(0x216)?String(_0x1147dd):'','segmentPage':Number(_0x1b50af!=null?_0x1b50af:-0x1)});}return _0x1f3b3c[_0x2f3e14(0x31d)](_0x1831f4=>_0x1831f4[_0x2f3e14(0x2cd)])||(_0x1f3b3c[0x0][_0x2f3e14(0x2cd)]=!0x0),_0x1f3b3c;}class Ce extends a[_0x568b38(0x327)]{constructor(){const _0x2aa652=_0x568b38;super(...arguments),h(this,_0x2aa652(0x18d),new d[(_0x2aa652(0x274))](null)),h(this,_0x2aa652(0x30b),this[_0x2aa652(0x18d)][_0x2aa652(0x1a7)]());}[_0x568b38(0x191)](_0x4af50b){const _0x2d3277=_0x568b38,{unitID:_0x20b4bb,memberID:_0x5229af,textRanges:_0x29dd1a}=_0x4af50b,_0x54f577=Pe(_0x29dd1a);if(_0x54f577==='')return;const _0x1b934a={'unitID':_0x20b4bb,'memberID':_0x5229af,'selection':_0x54f577};this[_0x2d3277(0x18d)]['next'](_0x1b934a);}}var Ze=Object[_0x568b38(0x196)],Qe=(_0x3503e5,_0x2a145e,_0x21bc36,_0x2c7e9f)=>{const _0x6ceea8=_0x568b38;for(var _0x1fe0c8=_0x2c7e9f>0x1?void 0x0:_0x2c7e9f?Ze(_0x2a145e,_0x21bc36):_0x2a145e,_0x120460=_0x3503e5[_0x6ceea8(0x2bd)]-0x1,_0x3b6da8;_0x120460>=0x0;_0x120460--)(_0x3b6da8=_0x3503e5[_0x120460])&&(_0x1fe0c8=_0x3b6da8(_0x1fe0c8)||_0x1fe0c8);return _0x1fe0c8;},L=(_0x27ad72,_0xb2addf)=>(_0x1294a9,_0x42886c)=>_0xb2addf(_0x1294a9,_0x42886c,_0x27ad72);const et=0x12c,tt=0x64;let fe=class extends a[_0x568b38(0x327)]{constructor(_0x7244b1,_0x4adffe,_0x2e1cd6,_0x4a97b6,_0x571d0b,_0x56d441,_0x342557,_0xb2a098,_0x335eac){const _0x2a2ae9=_0x568b38;super(),h(this,_0x2a2ae9(0x14d),!0x1),h(this,_0x2a2ae9(0x246),!0x1),h(this,'_cursorInfo$',new d[(_0x2a2ae9(0x274))](new Map())),h(this,_0x2a2ae9(0x129),this[_0x2a2ae9(0x1c2)]['asObservable']()),h(this,_0x2a2ae9(0x2a6),new d[(_0x2a2ae9(0x274))]([])),h(this,'roomMembers$',this[_0x2a2ae9(0x2a6)][_0x2a2ae9(0x1db)](d[_0x2a2ae9(0x32f)](et))),h(this,_0x2a2ae9(0x29e),a['debounce'](_0x321f3d=>{const _0x1189db=_0x2a2ae9,_0x49e93d={'eventID':m['CollaborationEvent'][_0x1189db(0x2af)],'data':{'unitID':this[_0x1189db(0x17e)],'memberID':this['_session']['getMemberID'](),'selection':Pe(_0x321f3d)}};this[_0x1189db(0x2d3)]['send'](_0x49e93d,this['unitID']);},tt)),(this[_0x2a2ae9(0x17e)]=_0x7244b1,this[_0x2a2ae9(0x2d3)]=_0x4adffe,this['_injector']=_0x2e1cd6,this[_0x2a2ae9(0x22a)]=_0x4a97b6,this[_0x2a2ae9(0x2c9)]=_0x571d0b,this['_syncEditingCollabCursorService']=_0x56d441,this[_0x2a2ae9(0x378)]=_0x342557,this[_0x2a2ae9(0x31f)]=_0xb2a098,this[_0x2a2ae9(0x1c4)]=_0x335eac);}get[_0x568b38(0x1fb)](){const _0xb29c8f=_0x568b38;return this[_0xb29c8f(0x1c2)]['getValue']();}get[_0x568b38(0x357)](){const _0x4da1c8=_0x568b38;return this[_0x4da1c8(0x2a6)][_0x4da1c8(0x282)]();}[_0x568b38(0x1a6)](){const _0xd3595d=_0x568b38;super[_0xd3595d(0x1a6)](),this[_0xd3595d(0x1c2)][_0xd3595d(0x1c7)](new Map()),this[_0xd3595d(0x1c2)][_0xd3595d(0x351)](),this[_0xd3595d(0x2a6)]['next']([]),this[_0xd3595d(0x2a6)]['complete']();}[_0x568b38(0x393)](){const _0x1cc214=_0x568b38;this[_0x1cc214(0x246)]||(this[_0x1cc214(0x246)]=!0x0,this['_session'][_0x1cc214(0x3ae)]['pipe'](d[_0x1cc214(0x33c)](this[_0x1cc214(0x221)]))['subscribe'](_0x2be0ce=>{const _0x5a00bf=_0x1cc214;_0x2be0ce===u['SessionStatus'][_0x5a00bf(0x1dc)]?this['_toggleOnline']():this['_toggleOffline']();}),this['_session'][_0x1cc214(0x235)][_0x1cc214(0x1db)](d[_0x1cc214(0x33c)](this[_0x1cc214(0x221)]))[_0x1cc214(0x152)](_0x579d2c=>{const _0x165ec6=_0x1cc214,_0x441ef1=_0x579d2c[_0x165ec6(0x329)];_0x441ef1===m[_0x165ec6(0x381)][_0x165ec6(0x2af)]&&this['_onCursorUpdate'](_0x579d2c),_0x441ef1===m[_0x165ec6(0x381)]['USERS_LEAVE']&&this[_0x165ec6(0x218)](_0x579d2c);}),this[_0x1cc214(0x369)](this[_0x1cc214(0x1c4)][_0x1cc214(0x171)](_0x5de38e=>{const _0x40fa29=_0x1cc214,_0xa3073f=_0x5de38e[_0x40fa29(0x376)];_0xa3073f!=null&&this[_0x40fa29(0x14d)]&&_0x5de38e['id']===W['SetTextSelectionsOperation']['id']&&_0xa3073f['unitId']===this[_0x40fa29(0x17e)]&&_0xa3073f['isEditing']===!0x1&&_0xa3073f['ranges'][_0x40fa29(0x2bd)]>0x0&&this[_0x40fa29(0x29e)](_0xa3073f[_0x40fa29(0x2d4)]);})),this[_0x1cc214(0x2ee)]['collabCursorState$']['pipe'](d[_0x1cc214(0x33c)](this['dispose$']))[_0x1cc214(0x152)](_0x2477e1=>{const _0x4a7c44=_0x1cc214;if((_0x2477e1==null?void 0x0:_0x2477e1[_0x4a7c44(0x17e)])!==this[_0x4a7c44(0x17e)])return;const _0x5457ff={'eventID':m[_0x4a7c44(0x381)][_0x4a7c44(0x2af)],'data':_0x2477e1};this[_0x4a7c44(0x1d9)](_0x5457ff);}),this['disposeWithMe'](this[_0x1cc214(0x1c4)]['onCommandExecuted'](_0x52c879=>{const _0x5f2b06=_0x1cc214;if(_0x52c879[_0x5f2b06(0x376)]==null)return;const _0x690533=_0x52c879[_0x5f2b06(0x376)];if(_0x52c879['id']!==W[_0x5f2b06(0x24e)]['id']||_0x690533[_0x5f2b06(0x203)]!==this[_0x5f2b06(0x17e)])return;const _0x3df0fd={'id':_0x5f2b06(0x254),'params':_0x690533},_0x280c1d=this['cursorInfo'];for(const [_0x317dd7,_0x58a554]of _0x280c1d){const _0x36f8f9={'id':'doc.mutation.rich-text-editing','params':{'unitId':this[_0x5f2b06(0x17e)],'actions':null,'textRanges':_0x58a554['ranges']}},_0x498613=this[_0x5f2b06(0x378)][_0x5f2b06(0x3ac)](_0x3df0fd,_0x36f8f9,!0x1);if(m[_0x5f2b06(0x24b)](_0x498613))throw _0x498613[_0x5f2b06(0x2d0)];_0x280c1d[_0x5f2b06(0x379)](_0x317dd7,{..._0x58a554,'ranges':_0x498613[_0x5f2b06(0x3a4)][_0x5f2b06(0x376)]['textRanges']});}queueMicrotask(()=>{const _0x16f5dd=_0x5f2b06;this['_cursorInfo$'][_0x16f5dd(0x1c7)](_0x280c1d);});})));}[_0x568b38(0x1d9)](_0x2f82dd){const _0x4d9d3b=_0x568b38;var _0x2b3009,_0x202b65;const {memberID:_0x1b7ac4,selection:_0x3a9c46}=_0x2f82dd[_0x4d9d3b(0x2e2)],_0xf77dd8=Je(_0x3a9c46),_0x360570=(_0x202b65=(_0x2b3009=this[_0x4d9d3b(0x2c9)][_0x4d9d3b(0x3a1)](this[_0x4d9d3b(0x17e)],_0x1b7ac4))==null?void 0x0:_0x2b3009[_0x4d9d3b(0x39e)])!=null?_0x202b65:_0x4d9d3b(0x3af),_0x737630={'color':this[_0x4d9d3b(0x22a)][_0x4d9d3b(0x215)](_0x1b7ac4),'name':_0x360570,'ranges':_0xf77dd8},_0xa507d=this['cursorInfo'];_0xa507d[_0x4d9d3b(0x379)](_0x1b7ac4,_0x737630),this['_cursorInfo$'][_0x4d9d3b(0x1c7)](_0xa507d);}['_onCursorDelete'](_0x3ffe4d){const _0x5be4ce=_0x568b38,{memberID:_0x40a450}=_0x3ffe4d[_0x5be4ce(0x2e2)],_0x558171=this[_0x5be4ce(0x1fb)];_0x558171[_0x5be4ce(0x144)](_0x40a450),this['_cursorInfo$'][_0x5be4ce(0x1c7)](_0x558171);}[_0x568b38(0x204)](){const _0x3548f5=_0x568b38;var _0x495850;if(this[_0x3548f5(0x14d)]=!0x0,((_0x495850=this['_univerInstanceService'][_0x3548f5(0x32e)]())==null?void 0x0:_0x495850[_0x3548f5(0x2e8)]())!==this[_0x3548f5(0x17e)])return;const _0x5e54f5=this[_0x3548f5(0x2ba)][_0x3548f5(0x1c5)](W[_0x3548f5(0x319)])[_0x3548f5(0x2b2)]();Array[_0x3548f5(0x26d)](_0x5e54f5)&&_0x5e54f5[_0x3548f5(0x2bd)]>0x0&&this[_0x3548f5(0x29e)](_0x5e54f5);}[_0x568b38(0x176)](){const _0x18835e=_0x568b38;this[_0x18835e(0x14d)]=!0x1;}};fe=Qe([L(0x2,a[_0x568b38(0x26b)](a[_0x568b38(0x2b1)])),L(0x3,a[_0x568b38(0x26b)](me)),L(0x4,a[_0x568b38(0x26b)](u[_0x568b38(0x157)])),L(0x5,a['Inject'](Ce)),L(0x6,m[_0x568b38(0x13e)]),L(0x7,a[_0x568b38(0x1a5)]),L(0x8,a[_0x568b38(0x168)])],fe);var st=Object['getOwnPropertyDescriptor'],it=(_0xc9be84,_0x7a3c98,_0x4fdbb7,_0x459519)=>{const _0x35022b=_0x568b38;for(var _0x4cf5a4=_0x459519>0x1?void 0x0:_0x459519?st(_0x7a3c98,_0x4fdbb7):_0x7a3c98,_0x149eb8=_0xc9be84[_0x35022b(0x2bd)]-0x1,_0x2a1ae9;_0x149eb8>=0x0;_0x149eb8--)(_0x2a1ae9=_0xc9be84[_0x149eb8])&&(_0x4cf5a4=_0x2a1ae9(_0x4cf5a4)||_0x4cf5a4);return _0x4cf5a4;},A=(_0x2a7eef,_0x29393a)=>(_0x533359,_0x514ff0)=>_0x29393a(_0x533359,_0x514ff0,_0x2a7eef);const nt=0x12c,rt=0x64,ot=()=>{let _0x4abb62=[],_0x3b2ec7=!0x1;return _0x1bfa22=>{const _0x2cd3eb=_0x1323;_0x4abb62[_0x2cd3eb(0x284)](_0x1bfa22),_0x3b2ec7||(_0x3b2ec7=!0x0,setTimeout(()=>{const _0x5b120c=_0x2cd3eb;_0x4abb62[_0x5b120c(0x13c)](_0x22f8bf=>_0x22f8bf()),_0x4abb62=[],_0x3b2ec7=!0x1;}));};};let Se=class extends a[_0x568b38(0x327)]{constructor(_0x2710e0,_0x296490,_0x49cb9e,_0x2cacdf,_0x4ab539,_0x104d0e,_0x26cda0,_0x2fee60){const _0x12c46c=_0x568b38;super(),h(this,'_online',!0x1),h(this,_0x12c46c(0x246),!0x1),h(this,'_cursorInfo$',new d[(_0x12c46c(0x274))](new Map())),h(this,_0x12c46c(0x129),this[_0x12c46c(0x1c2)]['asObservable']()),h(this,_0x12c46c(0x2a6),new d[(_0x12c46c(0x274))]([])),h(this,'roomMembers$',this[_0x12c46c(0x2a6)][_0x12c46c(0x1db)](d[_0x12c46c(0x32f)](nt))),h(this,_0x12c46c(0x29e),a[_0x12c46c(0x257)]((_0x389e54,_0x42e3f4)=>{const _0x51a4d1=_0x12c46c,_0x5bdb17={'eventID':m[_0x51a4d1(0x381)][_0x51a4d1(0x2af)],'data':{'unitID':this[_0x51a4d1(0x17e)],'memberID':this[_0x51a4d1(0x2d3)][_0x51a4d1(0x1d3)](),'selection':Ee[_0x51a4d1(0x173)](_0x389e54,_0x42e3f4['range'])}};this[_0x51a4d1(0x2d3)]['send'](_0x5bdb17,this[_0x51a4d1(0x17e)]);},rt)),(this[_0x12c46c(0x17e)]=_0x2710e0,this[_0x12c46c(0x2d3)]=_0x296490,this['_injector']=_0x49cb9e,this[_0x12c46c(0x22a)]=_0x2cacdf,this['_memberService']=_0x4ab539,this['_univerInstanceService']=_0x104d0e,this[_0x12c46c(0x1c4)]=_0x26cda0,this[_0x12c46c(0x333)]=_0x2fee60);}get['cursorInfo'](){const _0xe1ac47=_0x568b38;return this[_0xe1ac47(0x1c2)][_0xe1ac47(0x282)]();}get[_0x568b38(0x357)](){return this['_roomMembers$']['getValue']();}[_0x568b38(0x1a6)](){const _0x1f95de=_0x568b38;super[_0x1f95de(0x1a6)](),this[_0x1f95de(0x1c2)][_0x1f95de(0x1c7)](new Map()),this[_0x1f95de(0x1c2)][_0x1f95de(0x351)](),this['_roomMembers$'][_0x1f95de(0x1c7)]([]),this[_0x1f95de(0x2a6)][_0x1f95de(0x351)]();}['init'](){const _0x106684=_0x568b38;this[_0x106684(0x246)]||(this[_0x106684(0x246)]=!0x0,this[_0x106684(0x2d3)][_0x106684(0x3ae)]['pipe'](d[_0x106684(0x33c)](this[_0x106684(0x221)]))['subscribe'](_0x12eeda=>{const _0x2af5b0=_0x106684;_0x12eeda===u[_0x2af5b0(0x22c)][_0x2af5b0(0x1dc)]?this[_0x2af5b0(0x204)]():this[_0x2af5b0(0x176)]();}),this[_0x106684(0x2d3)]['event$'][_0x106684(0x1db)](d[_0x106684(0x33c)](this[_0x106684(0x221)]))['subscribe'](_0x219ede=>{const _0x470362=_0x106684,_0x159519=_0x219ede[_0x470362(0x329)];_0x159519===m[_0x470362(0x381)]['UPDATE_CURSOR']&&this['_onCursorUpdate'](_0x219ede),_0x159519===m[_0x470362(0x381)][_0x470362(0x2bb)]&&this[_0x470362(0x218)](_0x219ede);}),this[_0x106684(0x238)](),this['disposeWithMe'](this['_commandService'][_0x106684(0x171)](_0x146333=>{const _0x4e0234=_0x106684;if(this['_online']&&_0x146333['id']===g[_0x4e0234(0x361)]['id']&&_0x146333[_0x4e0234(0x376)][_0x4e0234(0x203)]===this[_0x4e0234(0x17e)]){const _0x423bae=_0x146333[_0x4e0234(0x376)];this['_updateLocalCursor'](_0x423bae[_0x4e0234(0x33a)],_0x423bae[_0x4e0234(0x158)][0x0]);}})));}['_onCursorUpdate'](_0x1b5888){const _0x17fcd8=_0x568b38;var _0x5af181,_0x5a8a6f;const {memberID:_0x1ae7ce,selection:_0x5b007b}=_0x1b5888[_0x17fcd8(0x2e2)],{sheetName:_0x4b9f21,range:_0x325f75}=Ee['deserializeRangeWithSheet'](_0x5b007b),_0x1d9cfd={'name':(_0x5a8a6f=(_0x5af181=this[_0x17fcd8(0x2c9)][_0x17fcd8(0x3a1)](this[_0x17fcd8(0x17e)],_0x1ae7ce))==null?void 0x0:_0x5af181[_0x17fcd8(0x39e)])!=null?_0x5a8a6f:_0x17fcd8(0x3af),'range':this[_0x17fcd8(0x1cf)](_0x4b9f21,_0x325f75),'sheetID':_0x4b9f21,'color':this[_0x17fcd8(0x22a)]['assignAColorForMemberID'](_0x1ae7ce),'selection':_0x5b007b},_0x2625b5=this[_0x17fcd8(0x1fb)];_0x2625b5[_0x17fcd8(0x379)](_0x1ae7ce,_0x1d9cfd),this[_0x17fcd8(0x1c2)]['next'](_0x2625b5);}['_onCursorDelete'](_0x7ab667){const _0x4b1882=_0x568b38,{memberID:_0xe892eb}=_0x7ab667['data'],_0x526464=this[_0x4b1882(0x1fb)];_0x526464[_0x4b1882(0x144)](_0xe892eb),this['_cursorInfo$'][_0x4b1882(0x1c7)](_0x526464);}['_getMergeRange'](_0x50871f,_0x2a64e2){const _0x79e999=_0x568b38;var _0xb144cb,_0x335b2a;const _0x206844=(_0x335b2a=(_0xb144cb=this[_0x79e999(0x31f)][_0x79e999(0x240)](this['unitID']))==null?void 0x0:_0xb144cb[_0x79e999(0x149)](_0x50871f))==null?void 0x0:_0x335b2a[_0x79e999(0x2c7)]();return(_0x206844==null?void 0x0:_0x206844[_0x79e999(0x20d)](_0x17e7da=>a[_0x79e999(0x28c)][_0x79e999(0x1d8)](_0x17e7da,_0x2a64e2)))||_0x2a64e2;}[_0x568b38(0x238)](){const _0x2c44e2=_0x568b38,_0x356e24=new a[(_0x2c44e2(0x358))](),_0x429599=ot(),_0x56fefa=()=>{const _0x3443b2=_0x2c44e2;_0x356e24[_0x3443b2(0x1a6)]();const _0x37e7d7=(_0x24ab6c,_0x41cfda,_0x50746c,_0x55677b)=>{const _0x5b6156=_0x3443b2;let _0x6842f8=[];switch(_0x24ab6c['id']){case g[_0x5b6156(0x33d)]['DeleteRangeMoveLeftCommandId']:{_0x6842f8=g[_0x5b6156(0x295)](_0x24ab6c,_0x55677b);break;}case g[_0x5b6156(0x33d)][_0x5b6156(0x309)]:{_0x6842f8=g['handleDeleteRangeMoveUp'](_0x24ab6c,_0x55677b);break;}case g[_0x5b6156(0x33d)][_0x5b6156(0x241)]:{_0x6842f8=g[_0x5b6156(0x2b9)](_0x24ab6c,_0x55677b);break;}case g[_0x5b6156(0x33d)][_0x5b6156(0x341)]:{_0x6842f8=g[_0x5b6156(0x12b)](_0x24ab6c,_0x55677b);break;}case g[_0x5b6156(0x33d)]['InsertRangeMoveRightCommandId']:{_0x6842f8=g[_0x5b6156(0x307)](_0x24ab6c,_0x55677b);break;}case g[_0x5b6156(0x33d)][_0x5b6156(0x36d)]:{_0x6842f8=g[_0x5b6156(0x151)](_0x24ab6c,_0x55677b);break;}case g[_0x5b6156(0x33d)]['MoveRangeCommandId']:{_0x6842f8=g['handleMoveRange'](_0x24ab6c,_0x55677b);break;}case g[_0x5b6156(0x33d)][_0x5b6156(0x179)]:{_0x6842f8=g[_0x5b6156(0x143)](_0x24ab6c,_0x55677b);break;}case g[_0x5b6156(0x33d)]['RemoveRowCommandId']:{_0x6842f8=g['handleIRemoveRow'](_0x24ab6c,_0x55677b);break;}}const _0xe8af4a=g['runRefRangeMutations'](_0x6842f8,_0x55677b),_0x1081c5=this[_0x5b6156(0x1fb)][_0x5b6156(0x1c5)](_0x41cfda);if(_0x1081c5&&_0xe8af4a){const _0x44d3fe={..._0x1081c5,'range':_0xe8af4a};this[_0x5b6156(0x1fb)]['set'](_0x41cfda,_0x44d3fe),_0x429599(()=>{const _0x199703=_0x5b6156,_0x40de94=this[_0x199703(0x333)][_0x199703(0x392)](_0xe8af4a,_0x4da305=>(_0x40de94[_0x199703(0x1a6)](),_0x37e7d7(_0x4da305,_0x41cfda,_0x50746c,_0xe8af4a)));_0x356e24[_0x199703(0x3ab)](_0x40de94);});}return{'redos':[],'undos':[]};};this[_0x3443b2(0x1fb)][_0x3443b2(0x13c)]((_0x2b91ee,_0x1b0961)=>{const _0x4c62e5=_0x3443b2,{range:_0x2b1a24,sheetID:_0x45a08c}=_0x2b91ee,_0x3965cc=this['_refRangeService'][_0x4c62e5(0x392)](_0x2b1a24,_0x2dd938=>(_0x3965cc['dispose'](),_0x37e7d7(_0x2dd938,_0x1b0961,_0x45a08c,_0x2b1a24)));_0x356e24[_0x4c62e5(0x3ab)](_0x3965cc);});};this[_0x2c44e2(0x369)](a[_0x2c44e2(0x373)](this[_0x2c44e2(0x1c2)][_0x2c44e2(0x152)](()=>{_0x56fefa();})));}[_0x568b38(0x204)](){const _0x348e7a=_0x568b38;var _0x18c95d,_0x5ce3b1;if(this[_0x348e7a(0x14d)]=!0x0,((_0x18c95d=this['_univerInstanceService'][_0x348e7a(0x32e)]())==null?void 0x0:_0x18c95d[_0x348e7a(0x2e8)]())!==this[_0x348e7a(0x17e)])return;const _0x45917e=(_0x5ce3b1=this['_injector'][_0x348e7a(0x1c5)](g[_0x348e7a(0x273)])[_0x348e7a(0x2cb)]())==null?void 0x0:_0x5ce3b1[0x0],_0x50a62a=this[_0x348e7a(0x31f)][_0x348e7a(0x17c)](a['UniverInstanceType'][_0x348e7a(0x27b)])[_0x348e7a(0x16b)]();_0x45917e&&_0x50a62a&&this['_updateLocalCursor'](_0x50a62a[_0x348e7a(0x2cc)](),_0x45917e);}[_0x568b38(0x176)](){this['_online']=!0x1;}};Se=it([A(0x2,a[_0x568b38(0x26b)](a[_0x568b38(0x2b1)])),A(0x3,a['Inject'](me)),A(0x4,a['Inject'](u['MemberService'])),A(0x5,a[_0x568b38(0x1a5)]),A(0x6,a[_0x568b38(0x168)]),A(0x7,a[_0x568b38(0x26b)](g[_0x568b38(0x1df)]))],Se);var at=Object[_0x568b38(0x196)],ct=(_0xd23777,_0x50dad2,_0x8ae004,_0x1edf01)=>{const _0x181cdf=_0x568b38;for(var _0x885946=_0x1edf01>0x1?void 0x0:_0x1edf01?at(_0x50dad2,_0x8ae004):_0x50dad2,_0x4dc7c0=_0xd23777[_0x181cdf(0x2bd)]-0x1,_0x18916b;_0x4dc7c0>=0x0;_0x4dc7c0--)(_0x18916b=_0xd23777[_0x4dc7c0])&&(_0x885946=_0x18916b(_0x885946)||_0x885946);return _0x885946;},ie=(_0x38287a,_0x5d7276)=>(_0x469c1c,_0x42b9f5)=>_0x5d7276(_0x469c1c,_0x42b9f5,_0x38287a);let x=class extends a[_0x568b38(0x327)]{constructor(_0xb92734,_0x341c7f,_0x516732){const _0x41e53f=_0x568b38;super(),h(this,_0x41e53f(0x355),new Map()),h(this,_0x41e53f(0x33b),new d[(_0x41e53f(0x37b))]()),(this[_0x41e53f(0x31f)]=_0xb92734,this['_injector']=_0x341c7f,this[_0x41e53f(0x2fd)]=_0x516732,this[_0x41e53f(0x246)]());}['dispose'](){const _0x2698ec=_0x568b38;super['dispose'](),this[_0x2698ec(0x33b)][_0x2698ec(0x351)](),this[_0x2698ec(0x355)][_0x2698ec(0x13c)](_0x49f7c1=>_0x49f7c1[_0x2698ec(0x1a6)]());}['getCollabCursors$'](_0x49cfad){const _0xca86e0=_0x568b38;return this[_0xca86e0(0x355)][_0xca86e0(0x347)](_0x49cfad)?this[_0xca86e0(0x355)]['get'](_0x49cfad)[_0xca86e0(0x129)]:this[_0xca86e0(0x33b)][_0xca86e0(0x1db)](d[_0xca86e0(0x39d)](_0x30ed8f=>_0x30ed8f['unitID']===_0x49cfad),d[_0xca86e0(0x2ff)](_0x441177=>_0x441177[_0xca86e0(0x129)]));}[_0x568b38(0x246)](){const _0x405d9a=_0x568b38;this[_0x405d9a(0x31f)][_0x405d9a(0x1d0)](a[_0x405d9a(0x15a)]['UNIVER_SHEET'])['pipe'](d[_0x405d9a(0x33c)](this[_0x405d9a(0x221)]))['subscribe'](async _0x1f3760=>{const _0x1fc440=_0x405d9a,_0x54b3fe=_0x1f3760['getUnitId'](),_0x47f422=await this['_startSheetCollabCursor'](_0x54b3fe);this[_0x1fc440(0x33b)]['next'](_0x47f422),this['_entities'][_0x1fc440(0x379)](_0x54b3fe,_0x47f422);}),this[_0x405d9a(0x31f)][_0x405d9a(0x1d0)](a[_0x405d9a(0x15a)]['UNIVER_DOC'])[_0x405d9a(0x1db)](d[_0x405d9a(0x33c)](this[_0x405d9a(0x221)]))[_0x405d9a(0x1db)](d['filter'](_0x1819a5=>!_0x1819a5[_0x405d9a(0x2e8)]()['startsWith']('__')))['subscribe'](async _0x4ecd74=>{const _0x2d1bdf=_0x405d9a,_0x297c63=_0x4ecd74[_0x2d1bdf(0x2e8)](),_0x3f7f5e=await this[_0x2d1bdf(0x340)](_0x297c63);this['_entityInit$'][_0x2d1bdf(0x1c7)](_0x3f7f5e),this[_0x2d1bdf(0x355)][_0x2d1bdf(0x379)](_0x297c63,_0x3f7f5e);}),d[_0x405d9a(0x1a8)](this['_univerInstanceService'][_0x405d9a(0x226)](a['UniverInstanceType'][_0x405d9a(0x371)]),this['_univerInstanceService'][_0x405d9a(0x226)](a['UniverInstanceType'][_0x405d9a(0x27b)]))[_0x405d9a(0x1db)](d['takeUntil'](this[_0x405d9a(0x221)]))[_0x405d9a(0x152)](_0x412b71=>{const _0x166c87=_0x405d9a,_0x3f8c82=_0x412b71[_0x166c87(0x2e8)](),_0x5267de=this['_entities'][_0x166c87(0x1c5)](_0x3f8c82);_0x5267de&&(_0x5267de['dispose'](),this[_0x166c87(0x355)][_0x166c87(0x144)](_0x3f8c82));});}async[_0x568b38(0x2ce)](_0x56a503){const _0x44fb38=_0x568b38,_0x4b3dfb=await this[_0x44fb38(0x2fd)][_0x44fb38(0x1c3)](_0x56a503),_0x380a57=this[_0x44fb38(0x2ba)][_0x44fb38(0x259)](Se,_0x56a503,_0x4b3dfb);return _0x380a57['init'](),_0x380a57;}async[_0x568b38(0x340)](_0x931cf5){const _0x2721d1=_0x568b38,_0x979d28=await this[_0x2721d1(0x2fd)][_0x2721d1(0x1c3)](_0x931cf5),_0x19d826=this[_0x2721d1(0x2ba)]['createInstance'](fe,_0x931cf5,_0x979d28);return _0x19d826[_0x2721d1(0x393)](),_0x19d826;}};x=ct([ie(0x0,a[_0x568b38(0x1a5)]),ie(0x1,a[_0x568b38(0x26b)](a[_0x568b38(0x2b1)])),ie(0x2,a[_0x568b38(0x26b)](u[_0x568b38(0x38b)]))],x);const q=0x14,Re=0xc8,ne=0x4,lt=0x5;function _t(_0x63fe0e,_0x1ef05f){const _0x505928=_0x568b38;let {radius:_0x372a2a,width:_0x877257,height:_0x21b571}=_0x1ef05f;_0x372a2a=_0x372a2a!=null?_0x372a2a:0x0,_0x877257=_0x877257!=null?_0x877257:0x1e,_0x21b571=_0x21b571!=null?_0x21b571:0x1e;let _0x5b73f6=0x0,_0x364f32=0x0,_0x57a45d=0x0;_0x5b73f6=_0x364f32=_0x57a45d=Math[_0x505928(0x1b0)](_0x372a2a,_0x877257/0x2,_0x21b571/0x2),_0x63fe0e[_0x505928(0x364)](),_0x63fe0e['moveTo'](_0x5b73f6,0x0),_0x63fe0e['lineTo'](_0x877257-_0x364f32,0x0),_0x63fe0e['arc'](_0x877257-_0x364f32,_0x364f32,_0x364f32,Math['PI']*0x3/0x2,0x0,!0x1),_0x63fe0e[_0x505928(0x164)](_0x877257,_0x21b571-_0x57a45d),_0x63fe0e['arc'](_0x877257-_0x57a45d,_0x21b571-_0x57a45d,_0x57a45d,0x0,Math['PI']/0x2,!0x1),_0x63fe0e[_0x505928(0x164)](0x0,_0x21b571),_0x63fe0e['lineTo'](0x0,_0x5b73f6),_0x63fe0e[_0x505928(0x35e)](_0x5b73f6,_0x5b73f6,_0x5b73f6,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x63fe0e[_0x505928(0x12c)](),_0x1ef05f[_0x505928(0x2e6)]&&(_0x63fe0e[_0x505928(0x3a7)](),_0x63fe0e[_0x505928(0x264)]=_0x1ef05f[_0x505928(0x2e6)],_0x1ef05f[_0x505928(0x280)]==='evenodd'?_0x63fe0e[_0x505928(0x2e6)](_0x505928(0x383)):_0x63fe0e[_0x505928(0x2e6)](),_0x63fe0e[_0x505928(0x14f)]());}function _0x3324(){const _0x1f0b27=['USER_NOT_INVITED_CODE','column','_name','UPDATE_CURSOR','_unitStatus','Injector','getDocRanges','ThemeService','HTTPService','unit','_scene','isTransformMutationsWithChangesetSuccess','DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','handleInsertCol','_injector','USERS_LEAVE','setParam','length','@univerjs/sheets','_transformPreviousActiveRange','jsx','defIds','@univerjs/rpc','session.will-retry','transformIMECache','show','getRangePointData','getMergeData','wsSessionTicketUrl','_memberService','DOC_RANGE_TYPE','getCurrentSelections','getSheetId','isActive','_startSheetCollabCursor','VIEW_MAIN','error','actions','getRelativeToViewportCoord','_session','ranges','BrowserCollaborationSocketService','IConfigService','PY_RUNTIME_SCRIPT_ERROR','APPLY_NON_SEQUENTIAL_REVISION','DocIMEInputManagerService','m1Prime','_cursor','2783130RHuaDu','_docSyncEditingCollabCursorService','transform','@univerjs/engine-formula','redoState','YUUMI_ASYNCIO_CANCELLED','data','red300','INVALID_ARGUMENT','_clearOtherTimers','fill','_hideTimer','getUnitId','EMAIL_HAS_BEEN_BOUND','@univerjs/core','OTHER_CLIENTS_EDITING','2478gvAmsU','round','_syncEditingCollabCursorService','univerjs-icon\x20univerjs-icon-','SetWorksheetActivateCommand','univer-flex\x20univer-mr-2\x20univer-text-[20px]','@univerjs/network','_configService','SNAPSHOT_HAS_BEEN_REMOVED','svg','INVITE_CODE_HAS_BEEN_UES','Module','FromArray','LICENSE_IMPORT_SIZE_EXCEEDED','extend','TEXT','[CollaborationDataLoaderController]','_collabSessionService','replaceDocRanges','switchMap','COMPLETION_FINISHED','JOIN_ROOM_FAILED','getCellPositionByOffset','52qKEJJo','YUUMI_URL_COL_OUT_OF_RANGE','IRenderManagerService','_assignedColors','handleInsertRangeMoveRight','#fff','DeleteRangeMoveUpCommandId','univer-text-[14px]\x20univer-leading-[32px]\x20univer-text-gray-600','collabCursorState$','getOffsetConfig','location','Disposable','bottom','pushState','OffLineSingle','collabStatus.syncing','engine','SHEET_VIEWPORT_KEY','_scheduleSaving','ACTIVE_UNIT_EVENT_CHANNEL','drawWith','_lastPointer','DocSelectionManagerService','displayName','ILocalCacheService','onLocalMutation','some','type','_univerInstanceService','toRgbString','result','CollaborationDataLoaderController','getItem','Error','_shapes','assign','RxDisposable','_docClipboardService','eventID','useRef','onRendered','transformByState','deepClone','getFocusedUnit','debounceTime','indexOf','_handleLeaveEvent','fromEvent','_refRangeService','YUUMI_RATE_OVER_LIMIT','_getSheetObject','collab-client.tooltip.reconnect','height','CollaborationSocketService','SOCKET_FAILED','subUnitId','_entityInit$','takeUntil','EffectRefRangId','onStarting','apply','_startDocCollabCursor','InsertRangeMoveDownCommandId','docStateChange$','_cursorShapes','_initCommandExecutedListener','_dataLoaderService','ALREADY_EXISTS','has','_docTransformSelectionsService','INVITE_CODE_REQUIRED','LICENSE_EXPORT_SIZE_EXCEEDED','_transformHistoryAndStateStack','LOCAL_CACHE_INTERVAL','gold400','session.connection-failed','_colorIndex','1430622AVgFUN','complete','_backgroundColor','url(#$1','CHANGESET_REVISION_CONFILICT','_entities','ticket','roomMembers','DisposableCollection','defs','setTimeout','_logService','IBeforeCloseService','useCallback','arc','row','YUUMI_UNABLE_LOAD_URL','SetSelectionsOperation','createSocket','SYNCED','beginPath','UNDEFINED','OTHER_CLIENT_EDITING','M0\x200H16V16H0z','post','disposeWithMe','CommandType','toStringTag','idSuffix','InsertRowCommandId','map','SOCKET_FAILED_RETRY','max','UNIVER_DOC','_textBubble','toDisposable','on-line-single','none','params','No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','_transformService','set','IURLService','Subject','_renderManagerService','font','bold\x2013px\x20Source\x20Han\x20Sans\x20CN','setConfig','react/jsx-runtime','CollaborationEvent','mapTo','evenodd','newValue','getRenderById','ISocketService','loadOfflineData','RegularPolygon','DocCollaborationEntity','fromEventSubject','CollaborationSessionService','getConfig','memberID','addEventListener','onTransformChange$','history','getCoordByCell','registerRefRange','init','permission.title','_uiPartsService','IImageIoService','CollaborationUIEventService','HEADER_MENU','path','getVpScrollXYInfoByPosToVp','LOGIN_FAILED','_httpService','filter','name','_cachedData','FETCH_MISS','getMember','_anchorDot','getUnitStatus$','m2Prime','setItem','getLocalCacheKey','save','_messageService','_initStatusListener','setStateCache','add','transformMutation','_config','sessionStatus$','Unknown\x20user','cursorInfo$','updateOfflineData','handleInsertRangeMoveDown','closePath','skeleton','Tools','_getAnchorBounding','concat','source','searchParams','selection','setAlpha','exhaustSavingTask','Warning','useDependency','SUBMIT_CHANGESET_TIMEOUT','off-line-single','SheetSkeletonManagerService','_notificationService','forEach','current','ITransformService','_updateSubUnitFromURLParams','3hlhsWs','icon','hide','handleIRemoveCol','delete','RECT','collab-text-range-','urlChange$','Workbook','getSheetBySheetId','off-line-single_clip0_910_343','onMouseMove','Vector2','_online','APPLY_DUPLICATED','restore','No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.','handleInsertRow','subscribe','_disabled','_id','tag','getParam','MemberService','selections','className','UniverInstanceType','getUndoRedoMutationParamsCache','_collabCursorController','then','on-line-single_clip0_910_349','getCollabEntity$','backgroundColor','IUIPartsService','getStateCache','subscribeEvent','lineTo','mutations','_updateCollabCursors','SetDocZoomRatioOperation','ICommandService','body','_scheduleClearOtherTimer','getActiveSheet','setShapeProps','_eventUnsubscribe','APPLY_REJECT','from','uni.network.url-service','onCommandExecuted','CLOSE_ROOM','serializeRangeWithSheet','forwardRef','_scheduleHeartbeat','_toggleOffline','_imageIoService','CollaborationUIEventId','RemoveColCommandId','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','collabStatus.offline','getCurrentUnitForType','sheetID','unitID','setUndoRedoMutationParamsCache','MessageType','permission.content','defineProperty','saveTaskMap','ENSURE_SNAPSHOT_EXECUTION','findNodePositionByCharIndex','DesktopCollaborationStatusDisplayController','onPointerEnter$','toString','NO_OTHER_CLIENTS_EDITING','collabStatus.synced','_initStatusComponent','YUUMI_SUBSCRIPTION_NOT_FOUND','_collabCursorState$','children','LOCAL_CACHE_INTERVAL_KEY','connectInjector','syncEditingCollabCursor','color','INVALID_INVITE_CODE','session.collaboration-timeout','_saveCache','getOwnPropertyDescriptor','editingUnit','_instanceService','combineLatest','transformSelections','collaboration.closeRoom','parse','executeCommand','replaceState','call','endRow','PERMISSION_DENIED','flatMap','range','verdancy600','IUniverInstanceService','dispose','asObservable','merge','whenReady','_docTransformStateCacheService','purple300','_initDependencies','key','0\x200\x2017\x2016','black','min','jsxs','120rbJmJG','YUUMI_NO_CUBOID_FOR_QUESTION','_docTransformIMECacheService','Optional','attrs','_removeClearOtherTimer','@univerjs/docs-ui','COLORS','_sheetSkeletonManagerService','@univerjs/drawing','_drawTextRange','DataLoaderService','UniverCollaborationClientUIPlugin','getSheetObject','_collaborationUIEventService','transformRemoteChangeset','_cursorInfo$','requireSession','_commandService','get','_urlService','next','_ensureSubject','storage','resize','makeDirty','getAncestorScale','ISnapshotServerService','hovered','_getMergeRange','getTypeOfUnitAdded$','_unitOnClients','_handleJoinEvent','getMemberID','triggerDblclick','getCollabCursors$','MOBILE_HAS_BEEN_BOUND','_initEvent','contains','_onCursorUpdate','BuiltInUIPart','pipe','ONLINE','_refreshCollabCursors','unsubscribe','RefRangeService','_selfUnitIDs','replace','startColumn','UNIVER_COLLABORATION_CLIENT_WEB_PLUGIN','generateRandomId','onPointerMove$','@univerjs/design','substring','_initResize','_docSkeleton','unshift','OFFLINE','UNRECOGNIZED','8CBwcTg','getSkeleton','NodePositionConvertToCursor','_beforeCloseService','disableLocalCache','reconnect','collaboration-client.offline-data-not-saved','transformStateCache','_removeCollabCursors','_collaborationController','UnitStatus','_localStorageService','TOO_MANY_REQUESTS','SheetCollabCursorShape','cursorInfo','_labelPosition','imageSourceType','LICENSE_DISTRO_REJECTED','LocaleService','@univerjs/ui','url(#off-line-single_clip0_910_343)','debug','unitId','_toggleOnline','COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY','collabStatus.conflict','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','Plugin','CONNECTOR_DATA_TOO_LARGE','APPLY_PERMISSION_DENIED','ILogService','TEXT_RANGE_LAYER_INDEX','find','sessionTicket','WebURLService','sheetId','getOwnPropertySymbols','width','with','CollaborationController','assignAColorForMemberID','string','undoState','_onCursorDelete','override','createElement','WebBrowserSingleActiveUnitService','currentSkeleton$','SNAPSHOT_INVALID_SNAPSHOT','_handleEvent','#FFF','ColorKit','dispose$','stringify','826573amHPSc','unload','_updateURLWithCurrentState','getTypeOfUnitDisposed$','_heartbeatTimer','_context','_hovered','_colorAssignService','distinctUntilChanged','SessionStatus','fillText','OnLineSingle','_anchor','_handleHover','xlink:href','1893162ZLlgZS','getCurrentRevOfUnit','_setupSubUnitSync','event$','setInterval','_initEntityListener','_onRefRangeChange','CollaborationStatusDisplay','collab-text-anchor-','collab-rect-range-','_getSaveTimeout','activeSheet$','clearInterval','_themeService','getUniverSheetInstance','InsertColCommandId','IRemoteInstanceService','Rect','_color','_revisionService','_init','colorChannel1','234028paqohr','CollaborationStatus','_document','isTransformMutationFailure','symbol','UniverIcon','RichTextEditingMutation','getColor','labelPosition','_hover','registerRenderModule','subunit','doc.mutation.rich-text-editing','values','_status$','debounce','href','createInstance','INVITE_CODE_ALREADY_BOUND','clearTimeout','_registerDependencies','addObjects','addObject','_range','Shape','_docStateChangeManagerService','RevisionService','MUTATION','fillStyle','ILocalStorageService','RemoteUniscriptService','TRANSFORM_CHANGE_OBSERVABLE_TYPE','hasOwnProperty','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY','size','Inject','onPointerLeave$','isArray','1em','currentTheme$','prototype','LICENSE_MAX_UNITS_EXCEEDED','runOnServer','SheetsSelectionsService','BehaviorSubject','...','clipPath','function','removeParam','@univerjs-pro/collaboration','_saveTaskMap','UNIVER_SHEET','_drawRectRange','code','top','_localeService','fillRule','endColumn','getValue','enableLocalCache','push','5PZbsUR','_send','split','@univerjs/docs','translate(.97)','WECHAT_HAS_BEEN_BOUND','DocStateChangeManagerService','Rectangle','_transformUndoRedoStack','search','text','mask','transformMutationsWithChangeset','trim','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','791567FPoHnm','handleDeleteRangeMoveLeft','_setupBeforeClosingHandler','Failed','NOT_COLLAB','measureText','_render','_drawAnchor','use','rgba(255,\x20255,\x20255,\x200.01)','_updateLocalCursor','univer-flex\x20univer-items-center','_getScale','runId','AWAITING_WITH_PENDING','textRanges','react','_cursors','_roomMembers$','application/json','APPLY_REVISION_CONFILICT','NOT_FOUND','UNAUTHENTICATED','0\x200\x2016\x2016'];_0x3324=function(){return _0x1f0b27;};return _0x3324();}class ee extends p[_0x568b38(0x260)]{constructor(_0x26ade9,_0xfd187b){const _0x4ebdd5=_0x568b38;super(_0x26ade9,_0xfd187b),h(this,_0x4ebdd5(0x192)),h(this,_0x4ebdd5(0x28f)),(this[_0x4ebdd5(0x192)]=_0xfd187b==null?void 0x0:_0xfd187b[_0x4ebdd5(0x192)],this[_0x4ebdd5(0x28f)]=_0xfd187b==null?void 0x0:_0xfd187b['text']);}static[_0x568b38(0x317)](_0x32570d,_0x44164a){const _0x2fceb4=_0x568b38,{text:_0x452ee3,color:_0x1ef3bf}=_0x44164a;_0x32570d[_0x2fceb4(0x3a7)](),_0x32570d[_0x2fceb4(0x37d)]=_0x2fceb4(0x37e);const _0x43c686=_0x32570d[_0x2fceb4(0x299)](_0x452ee3)[_0x2fceb4(0x212)],_0x426ec7=Math[_0x2fceb4(0x1b0)](_0x43c686+0x2*ne,Re);_t(_0x32570d,{'height':q,'radius':0x4,'width':_0x426ec7,'fill':_0x1ef3bf}),_0x32570d[_0x2fceb4(0x264)]=_0x2fceb4(0x21f);const _0x32a5a9=ne,_0x1bbd94=q-lt,_0x1d2efb=Re-0x2*ne;if(_0x43c686>_0x1d2efb){let _0x4c083e='',_0x43ad9a=0x0;for(const _0x23035a of _0x452ee3){const _0x299100=_0x32570d['measureText'](_0x23035a)[_0x2fceb4(0x212)];if(_0x43ad9a+_0x299100<=_0x1d2efb-_0x32570d[_0x2fceb4(0x299)](_0x2fceb4(0x275))[_0x2fceb4(0x212)])_0x4c083e+=_0x23035a,_0x43ad9a+=_0x299100;else{_0x4c083e+='...';break;}}_0x32570d[_0x2fceb4(0x22d)](_0x4c083e,_0x32a5a9,_0x1bbd94);}else _0x32570d[_0x2fceb4(0x22d)](_0x452ee3,_0x32a5a9,_0x1bbd94);_0x32570d[_0x2fceb4(0x14f)]();}['_draw'](_0x4c1361){const _0x507462=_0x568b38;ee[_0x507462(0x317)](_0x4c1361,this);}}const re=_0x568b38(0x23a),ht=_0x568b38(0x146),ut=_0x568b38(0x23b),k=0x6,dt=1.5,oe=0x4,ft=1.5,St=_0x568b38(0x29d);class De{constructor(_0x4e2502,_0x33cc4f,_0x32e848,_0x10c61c){const _0x3f07ee=_0x568b38;h(this,_0x3f07ee(0x325),[]),h(this,'_anchor',null),h(this,_0x3f07ee(0x372),null),h(this,'_anchorDot',null),h(this,'_hideTimer',null),h(this,_0x3f07ee(0x16d),null),(this['_cursor']=_0x4e2502,this['_scene']=_0x33cc4f,this[_0x3f07ee(0x1e9)]=_0x32e848,this[_0x3f07ee(0x24a)]=_0x10c61c,this['_render']());}set[_0x568b38(0x251)](_0x16b383){const _0x4eb8c2=_0x568b38;_0x16b383?(this[_0x4eb8c2(0x3a2)]&&this['_anchorDot'][_0x4eb8c2(0x142)](),this['_textBubble']&&this[_0x4eb8c2(0x372)][_0x4eb8c2(0x2c5)]()):(this[_0x4eb8c2(0x3a2)]&&this[_0x4eb8c2(0x3a2)][_0x4eb8c2(0x2c5)](),this[_0x4eb8c2(0x372)]&&this[_0x4eb8c2(0x372)][_0x4eb8c2(0x142)]());}[_0x568b38(0x1a6)](){const _0x38ee45=_0x568b38;for(const _0x4c0f5b of this[_0x38ee45(0x325)])_0x4c0f5b[_0x38ee45(0x1a6)]();this[_0x38ee45(0x372)]&&this[_0x38ee45(0x372)][_0x38ee45(0x1a6)](),this[_0x38ee45(0x3a2)]&&this[_0x38ee45(0x3a2)][_0x38ee45(0x1a6)](),this[_0x38ee45(0x22f)]&&this[_0x38ee45(0x22f)][_0x38ee45(0x1a6)](),this[_0x38ee45(0x16d)]&&this[_0x38ee45(0x16d)]();}[_0x568b38(0x29a)](){const _0x41563c=_0x568b38;var _0x23fec4;const {_docSkeleton:_0x4e739b,_document:_0x1353c7}=this,{color:_0x34bad5,name:_0x9750f0,ranges:_0x5e1c50}=this[_0x41563c(0x2db)],_0x582784=_0x1353c7[_0x41563c(0x30c)](),{docsLeft:_0x5f22a8,docsTop:_0x1e358d}=_0x582784,_0x12a165=new b[(_0x41563c(0x1ef))](_0x582784,_0x4e739b);for(const {startOffset:_0x3573c7,endOffset:_0x2b3844,rangeType:_0x2b5ea0,segmentId:_0x4ea42b,segmentPage:_0x351960,collapsed:_0x15cd40,isActive:_0x43a5b9}of _0x5e1c50){const _0x5f1f45=_0x4e739b[_0x41563c(0x185)](_0x3573c7,!0x0,_0x4ea42b,_0x351960);let _0x3639af=_0x4e739b[_0x41563c(0x185)](_0x2b3844,!0x0,_0x4ea42b,_0x351960);if(_0x3639af==null&&(_0x3639af=_0x4e739b[_0x41563c(0x185)](_0x2b3844-0x1,!0x1,_0x4ea42b,_0x351960)),_0x43a5b9){const {contentBoxPointGroup:_0x5e9e45}=_0x12a165['getRangePointData'](_0x3639af,_0x3639af);if(_0x5e9e45[_0x41563c(0x2bd)]===0x0)continue;this['_drawAnchor'](_0x34bad5,_0x5e9e45,_0x5f22a8,_0x1e358d,_0x9750f0),this[_0x41563c(0x16d)]=this[_0x41563c(0x230)]();}if(_0x5f1f45&&_0x3639af){if(_0x2b5ea0===a[_0x41563c(0x2ca)][_0x41563c(0x145)]){const _0x29fe15=new b['NodePositionConvertToRectRange'](_0x582784,_0x4e739b),{pointGroup:_0x1e49b4}=(_0x23fec4=_0x29fe15['getRangePointData'](_0x5f1f45,_0x3639af))!=null?_0x23fec4:{};if(_0x1e49b4==null||_0x1e49b4[_0x41563c(0x2bd)]===0x0)continue;this[_0x41563c(0x27c)](_0x34bad5,_0x1e49b4,_0x5f22a8,_0x1e358d);}else{if(!_0x15cd40){const {borderBoxPointGroup:_0x359846}=_0x12a165[_0x41563c(0x2c6)](_0x5f1f45,_0x3639af);if(_0x359846[_0x41563c(0x2bd)]===0x0)continue;this[_0x41563c(0x1bc)](_0x34bad5,_0x359846,_0x5f22a8,_0x1e358d);}}}}}[_0x568b38(0x29b)](_0x1195ff,_0x310d6d,_0x3de51a,_0x5a9deb,_0x40af4f){const _0x378c65=_0x568b38,_0x29c8f9=this[_0x378c65(0x12f)](_0x310d6d),{left:_0x293dab,top:_0x33761d,height:_0x3af554}=_0x29c8f9,_0x489561=this[_0x378c65(0x2a0)](),_0x3ee6ad=ft/_0x489561,_0x49c5ca=new p[(_0x378c65(0x243))](re+a[_0x378c65(0x12e)][_0x378c65(0x1e4)](k),{'left':_0x293dab+_0x3de51a-_0x3ee6ad,'top':_0x33761d+_0x5a9deb,'height':_0x3af554,'width':dt,'fill':_0x1195ff||p[_0x378c65(0x24f)](a[_0x378c65(0x1b9)][_0x378c65(0x1af)],0x0),'strokeWidth':_0x3ee6ad,'stroke':St,'evented':!0x0});this[_0x378c65(0x22f)]=_0x49c5ca,this[_0x378c65(0x2b6)]['addObject'](_0x49c5ca,b[_0x378c65(0x20c)]);const _0x4fa506=new p[(_0x378c65(0x243))](re+a[_0x378c65(0x12e)][_0x378c65(0x1e4)](k),{'left':_0x293dab+_0x3de51a-_0x3ee6ad,'top':_0x33761d+_0x5a9deb-oe/0x2,'height':oe,'width':oe,'fill':_0x1195ff||p[_0x378c65(0x24f)](a[_0x378c65(0x1b9)][_0x378c65(0x1af)],0x0),'strokeWidth':0x0,'stroke':_0x1195ff||p[_0x378c65(0x24f)](a[_0x378c65(0x1b9)][_0x378c65(0x1af)],0x0),'evented':!0x1});this[_0x378c65(0x3a2)]=_0x4fa506,this[_0x378c65(0x2b6)][_0x378c65(0x25e)](_0x4fa506,b['TEXT_RANGE_LAYER_INDEX']);const _0x5302a2=new ee(re+a[_0x378c65(0x12e)][_0x378c65(0x1e4)](k),{'left':_0x293dab+_0x3de51a-_0x3ee6ad,'top':_0x33761d+_0x5a9deb-q,'text':_0x40af4f,'color':_0x1195ff});this[_0x378c65(0x372)]=_0x5302a2,this[_0x378c65(0x2b6)]['addObject'](_0x5302a2,b[_0x378c65(0x20c)]),this['_hover']=!0x1;}[_0x568b38(0x230)](){const _0x2737ac=_0x568b38,_0x1fda0e=this[_0x2737ac(0x22f)][_0x2737ac(0x187)][_0x2737ac(0x163)](()=>{const _0x24114f=_0x2737ac;this[_0x24114f(0x251)]=!0x0;}),_0x2cea12=this[_0x2737ac(0x22f)]['onPointerLeave$'][_0x2737ac(0x163)](()=>{const _0x371a30=_0x2737ac;this[_0x371a30(0x2e7)]&&clearTimeout(this[_0x371a30(0x2e7)]),this[_0x371a30(0x2e7)]=setTimeout(()=>{this['_hover']=!0x1;},0x7d0);});return()=>{const _0x4aa6c0=_0x2737ac;_0x1fda0e['unsubscribe'](),_0x2cea12[_0x4aa6c0(0x1de)]();};}[_0x568b38(0x1bc)](_0x2ae415,_0x37a1cc,_0x1499a6,_0x1d5776){const _0x19e509=_0x568b38,_0xbdcb2f=new a[(_0x19e509(0x220))](_0x2ae415)[_0x19e509(0x134)](0.2)['toRgbString'](),_0x179db9=new p[(_0x19e509(0x388))](ht+a[_0x19e509(0x12e)][_0x19e509(0x1e4)](k),{'pointsGroup':_0x37a1cc,'fill':_0xbdcb2f||p[_0x19e509(0x24f)](a[_0x19e509(0x1b9)][_0x19e509(0x1af)],0.2),'left':_0x1499a6,'top':_0x1d5776,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x19e509(0x325)][_0x19e509(0x284)](_0x179db9),this[_0x19e509(0x2b6)][_0x19e509(0x25e)](_0x179db9,b[_0x19e509(0x20c)]);}[_0x568b38(0x27c)](_0x5962b8,_0x307d1d,_0x454cea,_0x31a3d8){const _0x271597=_0x568b38,_0x35f1b4=new a[(_0x271597(0x220))](_0x5962b8)[_0x271597(0x134)](0.2)[_0x271597(0x320)](),_0x4bcd58=new p['RegularPolygon'](ut+a[_0x271597(0x12e)]['generateRandomId'](k),{'pointsGroup':_0x307d1d,'fill':_0x35f1b4||p[_0x271597(0x24f)](a[_0x271597(0x1b9)][_0x271597(0x1af)],0.2),'left':_0x454cea,'top':_0x31a3d8,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x271597(0x325)][_0x271597(0x284)](_0x4bcd58),this['_scene'][_0x271597(0x25e)](_0x4bcd58,b[_0x271597(0x20c)]);}[_0x568b38(0x12f)](_0x4931b0){const _0x5b8ab6=_0x4931b0[0x0],_0x56b31d=_0x5b8ab6[0x0],_0x3134c3=_0x5b8ab6[0x2],{x:_0x146ea6,y:_0x568895}=_0x56b31d,{x:_0x17d765,y:_0x3bd95b}=_0x3134c3;return{'left':_0x146ea6,'top':_0x568895,'width':_0x17d765-_0x146ea6,'height':_0x3bd95b-_0x568895};}[_0x568b38(0x2a0)](){const _0x12c147=_0x568b38,{scaleX:_0x1e5863,scaleY:_0x3d24a3}=this[_0x12c147(0x2b6)][_0x12c147(0x1cc)]();return Math[_0x12c147(0x370)](_0x1e5863,_0x3d24a3);}}var It=Object[_0x568b38(0x196)],vt=(_0x5b9a9e,_0xddaf3c,_0x117e47,_0x4634eb)=>{const _0x1f7e7e=_0x568b38;for(var _0x235078=_0x4634eb>0x1?void 0x0:_0x4634eb?It(_0xddaf3c,_0x117e47):_0xddaf3c,_0x271103=_0x5b9a9e[_0x1f7e7e(0x2bd)]-0x1,_0x1e7472;_0x271103>=0x0;_0x271103--)(_0x1e7472=_0x5b9a9e[_0x271103])&&(_0x235078=_0x1e7472(_0x235078)||_0x235078);return _0x235078;},Y=(_0x21694d,_0x4ef721)=>(_0x4fb7ab,_0x28898c)=>_0x4ef721(_0x4fb7ab,_0x28898c,_0x21694d);let Ie=class extends a[_0x568b38(0x327)]{constructor(_0x153c41,_0x2682a3,_0x4cf2f9,_0xcd501b,_0x1f5306){const _0x191f41=_0x568b38;super(),h(this,_0x191f41(0x343),[]),h(this,_0x191f41(0x2a5),[]),(this[_0x191f41(0x228)]=_0x153c41,this['_docSkeletonManagerService']=_0x2682a3,this[_0x191f41(0x15c)]=_0x4cf2f9,this[_0x191f41(0x1c4)]=_0xcd501b,this['_themeService']=_0x1f5306,this[_0x191f41(0x246)]());}[_0x568b38(0x246)](){const _0x3fcbf0=_0x568b38,_0x5bfc26=this[_0x3fcbf0(0x228)][_0x3fcbf0(0x203)],_0x463556=this['_docSkeletonManagerService'];this[_0x3fcbf0(0x369)](d[_0x3fcbf0(0x199)]([this[_0x3fcbf0(0x15c)][_0x3fcbf0(0x1d5)](_0x5bfc26),this[_0x3fcbf0(0x23f)][_0x3fcbf0(0x26f)]])[_0x3fcbf0(0x1db)]($[_0x3fcbf0(0x36e)](([_0x551e98,_0x164636])=>({'skeleton':_0x463556['getSkeleton'](),'cursors':[..._0x551e98['values']()][_0x3fcbf0(0x1a2)](_0x227197=>({..._0x227197,'color':_0x164636[_0x227197[_0x3fcbf0(0x192)]]}))})))['subscribe'](_0x157eeb=>{const _0xded52f=_0x3fcbf0;if(this['_removeCollabCursors'](),_0x157eeb){const {skeleton:_0x4f9285,cursors:_0x85494d}=_0x157eeb;this[_0xded52f(0x166)](_0x4f9285,_0x85494d);}})),this[_0x3fcbf0(0x1e8)](),this['_initCommandExecutedListener']();}['_updateCollabCursors'](_0x5a16f6,_0x32d02a){const _0x5d41cc=_0x568b38,{scene:_0x3323ac,mainComponent:_0x364020}=this[_0x5d41cc(0x228)],_0x4a6f64=_0x32d02a['map'](_0x5d3217=>new De(_0x5d3217,_0x3323ac,_0x5a16f6,_0x364020));this['_cursorShapes']=_0x4a6f64,this['_cursors']=_0x32d02a;}['_refreshCollabCursors'](){const _0x154741=_0x568b38;this[_0x154741(0x1f5)]();const {scene:_0x32a190,mainComponent:_0x1b73a9}=this[_0x154741(0x228)],_0x4a1a79=this['_docSkeletonManagerService'][_0x154741(0x1ee)](),_0x397d4a=this['_cursors'][_0x154741(0x36e)](_0x4cd76d=>new De(_0x4cd76d,_0x32a190,_0x4a1a79,_0x1b73a9));this['_cursorShapes']=_0x397d4a;}[_0x568b38(0x1f5)](){const _0x4c90ac=_0x568b38;this['_cursorShapes'][_0x4c90ac(0x13c)](_0x43de19=>_0x43de19[_0x4c90ac(0x1a6)]()),this[_0x4c90ac(0x343)]=[];}[_0x568b38(0x344)](){const _0x11bf2e=_0x568b38,_0x20e12c=[b[_0x11bf2e(0x167)]['id']];this['disposeWithMe'](this['_commandService'][_0x11bf2e(0x171)](_0x14b472=>{const _0x422f65=_0x11bf2e;_0x20e12c['includes'](_0x14b472['id'])&&_0x14b472[_0x422f65(0x376)][_0x422f65(0x203)]===this[_0x422f65(0x228)][_0x422f65(0x203)]&&this['_refreshCollabCursors']();}));}[_0x568b38(0x1e8)](){const _0x452960=_0x568b38;this[_0x452960(0x369)](a[_0x452960(0x38a)](this['_context'][_0x452960(0x313)][_0x452960(0x38f)])['pipe']($[_0x452960(0x39d)](_0xecac81=>_0xecac81[_0x452960(0x31e)]===p[_0x452960(0x267)][_0x452960(0x1ca)]),$['throttleTime'](0x10))[_0x452960(0x152)](()=>{const _0x5841c6=_0x452960;this[_0x5841c6(0x1dd)]();}));}};Ie=vt([Y(0x1,a['Inject'](W['DocSkeletonManagerService'])),Y(0x2,a['Inject'](x)),Y(0x3,a[_0x568b38(0x168)]),Y(0x4,a[_0x568b38(0x26b)](a[_0x568b38(0x2b3)]))],Ie);const gt=0x1,mt=1.5;function _0x1323(_0xdd5301,_0x5c7a35){const _0x3324fa=_0x3324();return _0x1323=function(_0x13237b,_0x5d2ccf){_0x13237b=_0x13237b-0x129;let _0x4cf9a0=_0x3324fa[_0x13237b];return _0x4cf9a0;},_0x1323(_0xdd5301,_0x5c7a35);}class we extends p[_0x568b38(0x260)]{constructor(_0x5301e4,_0x4ea4f0){const _0x3232a4=_0x568b38;super(_0x5301e4,_0x4ea4f0),h(this,'_color'),h(this,_0x3232a4(0x229),!0x1),h(this,_0x3232a4(0x25f)),h(this,_0x3232a4(0x2ae),''),h(this,_0x3232a4(0x1fc),_0x3232a4(0x27e)),h(this,_0x3232a4(0x352)),(_0x4ea4f0&&this['setShapeProps'](_0x4ea4f0),this[_0x3232a4(0x187)][_0x3232a4(0x163)](()=>this['setShapeProps']({'hovered':!0x0})),this[_0x3232a4(0x26c)][_0x3232a4(0x163)](()=>this['setShapeProps']({'hovered':!0x1})));}[_0x568b38(0x16c)](_0x23311c){const _0x5c80db=_0x568b38;var _0x28081e,_0x2a64ae,_0x4ccddc,_0x1d38be,_0x323628,_0x3476a2;this[_0x5c80db(0x244)]=(_0x28081e=_0x23311c['color'])!=null?_0x28081e:this['_color'],this['_hovered']=(_0x2a64ae=_0x23311c[_0x5c80db(0x1ce)])!=null?_0x2a64ae:this['_hovered'],this['_range']=(_0x4ccddc=_0x23311c[_0x5c80db(0x1a3)])!=null?_0x4ccddc:this[_0x5c80db(0x25f)],this[_0x5c80db(0x2ae)]=(_0x1d38be=_0x23311c[_0x5c80db(0x39e)])!=null?_0x1d38be:this[_0x5c80db(0x2ae)],this[_0x5c80db(0x1fc)]=(_0x323628=_0x23311c[_0x5c80db(0x250)])!=null?_0x323628:this[_0x5c80db(0x1fc)],this[_0x5c80db(0x352)]=(_0x3476a2=_0x23311c[_0x5c80db(0x160)])!=null?_0x3476a2:this[_0x5c80db(0x352)],this[_0x5c80db(0x32c)]({'width':_0x23311c[_0x5c80db(0x212)],'height':_0x23311c[_0x5c80db(0x337)]});}[_0x568b38(0x14b)](_0x1c0c44){const _0xef724f=_0x568b38,{row:_0x5ac855,column:_0x4af390}=_0x1c0c44;if(_0x5ac855>=this['_range']['startRow']&&_0x5ac855<=this[_0xef724f(0x25f)][_0xef724f(0x1a0)]&&_0x4af390>=this['_range'][_0xef724f(0x1e2)]&&_0x4af390<=this[_0xef724f(0x25f)][_0xef724f(0x281)]){this[_0xef724f(0x16c)]({'hovered':!0x0});return;}this[_0xef724f(0x16c)]({'hovered':!0x1});}[_0x568b38(0x1d4)](_0x502a07){return!0x1;}['_draw'](_0x500e77){const _0x140c47=_0x568b38;p[_0x140c47(0x243)][_0x140c47(0x317)](_0x500e77,{'width':this['width'],'height':this[_0x140c47(0x337)],'strokeWidth':mt,'stroke':this[_0x140c47(0x244)],'evented':!0x1,'fill':this['_backgroundColor']}),this[_0x140c47(0x229)]&&(_0x500e77[_0x140c47(0x3a7)](),_0x500e77[_0x140c47(0x2de)](0x1,0x0,0x0,0x1,this[_0x140c47(0x212)],this[_0x140c47(0x1fc)]==='bottom'?0x0:-0x14),ee[_0x140c47(0x317)](_0x500e77,{'text':this[_0x140c47(0x2ae)],'color':this[_0x140c47(0x244)]}),_0x500e77[_0x140c47(0x14f)]());}}var Ct=Object['getOwnPropertyDescriptor'],pt=(_0x31050f,_0x41201f,_0x1e698d,_0x5936b9)=>{const _0x56ab1f=_0x568b38;for(var _0x415c7c=_0x5936b9>0x1?void 0x0:_0x5936b9?Ct(_0x41201f,_0x1e698d):_0x41201f,_0x6503de=_0x31050f[_0x56ab1f(0x2bd)]-0x1,_0x37b587;_0x6503de>=0x0;_0x6503de--)(_0x37b587=_0x31050f[_0x6503de])&&(_0x415c7c=_0x37b587(_0x415c7c)||_0x415c7c);return _0x415c7c;},ae=(_0x218af9,_0x47ba6b)=>(_0x13a7ea,_0x297bb9)=>_0x47ba6b(_0x13a7ea,_0x297bb9,_0x218af9);const bt=0x1389;let ve=class extends a[_0x568b38(0x327)]{constructor(_0x31a909,_0x322f46,_0x5d3dde,_0x3ae7da){const _0x329a48=_0x568b38;super(),h(this,'_cursors',new Set()),h(this,'_lastPointer',null),(this[_0x329a48(0x228)]=_0x31a909,this[_0x329a48(0x1ba)]=_0x322f46,this[_0x329a48(0x15c)]=_0x5d3dde,this[_0x329a48(0x23f)]=_0x3ae7da,this['_init']());}['_init'](){const _0x5c71b7=_0x568b38;this[_0x5c71b7(0x1ba)][_0x5c71b7(0x21c)][_0x5c71b7(0x1db)]($[_0x5c71b7(0x33c)](this[_0x5c71b7(0x221)]),$[_0x5c71b7(0x2ff)](_0x5ce3f5=>{const _0x39ccb8=_0x5c71b7;if(_0x5ce3f5){const _0x27ff99=_0x5ce3f5[_0x39ccb8(0x210)];return d[_0x39ccb8(0x199)](this[_0x39ccb8(0x15c)][_0x39ccb8(0x1d5)](this[_0x39ccb8(0x228)][_0x39ccb8(0x203)]),this[_0x39ccb8(0x23f)][_0x39ccb8(0x26f)])[_0x39ccb8(0x1db)]($[_0x39ccb8(0x36e)](([_0x573491,_0x18ccfc])=>{const _0x81d14a=new Map();return _0x573491['forEach']((_0x3438df,_0x4ec185)=>{const _0x268fbf=_0x1323;if(_0x3438df[_0x268fbf(0x17d)]===_0x27ff99){const _0x1307a5={..._0x3438df};_0x1307a5[_0x268fbf(0x192)]=_0x18ccfc[_0x3438df[_0x268fbf(0x192)]],_0x81d14a[_0x268fbf(0x379)](_0x4ec185,_0x1307a5);}}),{'skeleton':_0x5ce3f5,'cursors':_0x81d14a};}));}return d['of']({'skeleton':null,'cursors':new Map()});}))[_0x5c71b7(0x152)](({skeleton:_0x51ee51,cursors:_0x4360c2})=>{const _0x5bcdcc=_0x5c71b7;this[_0x5bcdcc(0x1f5)](),_0x51ee51&&this[_0x5bcdcc(0x166)](_0x51ee51,_0x4360c2);}),this[_0x5c71b7(0x1ba)][_0x5c71b7(0x21c)]['subscribe'](_0x1d873e=>{const _0x5710c6=_0x5c71b7;if(_0x1d873e==null)return;const {skeleton:_0x4ec5fe}=_0x1d873e,{scene:_0x2fbdc4}=this['_context'];_0x2fbdc4[_0x5710c6(0x1e5)][_0x5710c6(0x163)](a['debounce'](_0x1b338e=>{const _0x18b83d=_0x5710c6;var _0x10f987,_0x5e5345;const {offsetX:_0x436a18,offsetY:_0x30ee10}=_0x1b338e,{x:_0x386170,y:_0x108f40}=_0x2fbdc4[_0x18b83d(0x2d2)](p['Vector2']['FromArray']([_0x436a18,_0x30ee10])),{scaleX:_0x3a3cda,scaleY:_0x5f0abf}=_0x2fbdc4[_0x18b83d(0x1cc)](),_0xce03c3=_0x2fbdc4['getViewport'](p[_0x18b83d(0x314)][_0x18b83d(0x2cf)]),_0x274e45=_0x2fbdc4[_0x18b83d(0x39a)](p[_0x18b83d(0x14c)][_0x18b83d(0x2f8)]([_0x386170,_0x108f40]),_0xce03c3),_0x4a17c5=_0x4ec5fe[_0x18b83d(0x302)](_0x436a18,_0x30ee10,_0x3a3cda,_0x5f0abf,_0x274e45);((_0x10f987=this[_0x18b83d(0x318)])==null?void 0x0:_0x10f987['column'])===_0x4a17c5[_0x18b83d(0x2ad)]&&((_0x5e5345=this[_0x18b83d(0x318)])==null?void 0x0:_0x5e5345[_0x18b83d(0x35f)])===_0x4a17c5[_0x18b83d(0x35f)]||this[_0x18b83d(0x2a5)][_0x18b83d(0x13c)](_0x296470=>{const _0x132698=_0x18b83d;_0x296470[_0x132698(0x14b)](_0x4a17c5);});},0x64));});}[_0x568b38(0x166)](_0xb98a3d,_0x594678){const _0x2edc30=_0x568b38;var _0x272a5c;const _0x188fd9=(_0x272a5c=this['_sheetSkeletonManagerService']['getCurrent']())==null?void 0x0:_0x272a5c[_0x2edc30(0x12d)];if(!_0x188fd9)return;const _0x2d4c69=this[_0x2edc30(0x335)]();if(!_0x2d4c69)return;this[_0x2edc30(0x2a5)]['forEach'](_0x3aa7fe=>{const _0x491c63=_0x2edc30;_0x3aa7fe[_0x491c63(0x1cb)]();});const {scene:_0x588a0b}=_0x2d4c69,_0x2b4b5d=Et(Array[_0x2edc30(0x16f)](_0x594678['values']()))['map'](_0x3ff469=>{const _0x37a223=_0x2edc30,{color:_0xda0609,range:_0x50e775,name:_0x957e4,selection:_0x1b2c78,sheetID:_0x592a8c}=_0x3ff469,{startColumn:_0x4b58f1,startRow:_0x32a185,endColumn:_0x1f477a,endRow:_0x2210d2}=_0x50e775,_0x33045c=X[_0x37a223(0x391)](_0x32a185,_0x4b58f1,_0x588a0b,_0x188fd9),_0x3679c0=X[_0x37a223(0x391)](_0x2210d2,_0x1f477a,_0x588a0b,_0x188fd9),{columnHeaderHeightAndMarginTop:_0x372d38}=_0x188fd9,{startX:_0x42fafd,startY:_0x185aa4}=_0x33045c,{endX:_0x4d50a2,endY:_0x87d879}=_0x3679c0,_0x21f6c6=_0x4d50a2-_0x42fafd,_0x359868=_0x87d879-_0x185aa4,_0x20f896={'labelPosition':_0x185aa4-_0x372d38>=q?'top':_0x37a223(0x30f),'sheetID':_0x592a8c,'range':_0x50e775,'color':_0xda0609,'name':_0x957e4,'selection':_0x1b2c78,'left':_0x42fafd,'top':_0x185aa4,'width':_0x21f6c6,'height':_0x359868,'evented':!0x1,'zIndex':bt};return new we(_0x957e4,_0x20f896);});_0x588a0b[_0x2edc30(0x25d)](_0x2b4b5d,gt),this[_0x2edc30(0x2a5)]=new Set(_0x2b4b5d);}[_0x568b38(0x1f5)](){const _0x3e17c5=_0x568b38;var _0xab7f0c;(_0xab7f0c=this['_cursors'])==null||_0xab7f0c[_0x3e17c5(0x13c)](_0x779f50=>_0x779f50[_0x3e17c5(0x1a6)]());}[_0x568b38(0x335)](){const _0x3010bc=_0x568b38;return X[_0x3010bc(0x1bf)](this[_0x3010bc(0x228)][_0x3010bc(0x2b5)],this[_0x3010bc(0x228)]);}};ve=pt([ae(0x1,a[_0x568b38(0x26b)](X[_0x568b38(0x13a)])),ae(0x2,a[_0x568b38(0x26b)](x)),ae(0x3,a[_0x568b38(0x26b)](a[_0x568b38(0x2b3)]))],ve);function Et(_0xdbb8e8){const _0x54fc98=_0x568b38,_0x3c81ab=new Map();return _0xdbb8e8[_0x54fc98(0x13c)](_0x465cf3=>{const _0x39db9a=_0x54fc98;if(_0x3c81ab[_0x39db9a(0x347)](_0x465cf3[_0x39db9a(0x133)])){const _0x2e0438=_0x3c81ab[_0x39db9a(0x1c5)](_0x465cf3[_0x39db9a(0x133)]);_0x2e0438[_0x39db9a(0x39e)]+=',\x20'+_0x465cf3[_0x39db9a(0x39e)];}else _0x3c81ab['set'](_0x465cf3[_0x39db9a(0x133)],_0x465cf3);}),Array[_0x54fc98(0x16f)](_0x3c81ab[_0x54fc98(0x255)]());}var E=function(){const _0x383a79=_0x568b38;return E=Object['assign']||function(_0x9ad983){const _0x5eee56=_0x1323;for(var _0x3a9144,_0x46a865=0x1,_0x123798=arguments[_0x5eee56(0x2bd)];_0x46a865<_0x123798;_0x46a865++){_0x3a9144=arguments[_0x46a865];for(var _0x710ddc in _0x3a9144)Object['prototype'][_0x5eee56(0x268)][_0x5eee56(0x19f)](_0x3a9144,_0x710ddc)&&(_0x9ad983[_0x710ddc]=_0x3a9144[_0x710ddc]);}return _0x9ad983;},E[_0x383a79(0x33f)](this,arguments);},Tt=function(_0x2e1dce,_0x2f01d5){const _0x7dd99c=_0x568b38;var _0x420ee9={};for(var _0x207250 in _0x2e1dce)Object['prototype'][_0x7dd99c(0x268)][_0x7dd99c(0x19f)](_0x2e1dce,_0x207250)&&_0x2f01d5[_0x7dd99c(0x330)](_0x207250)<0x0&&(_0x420ee9[_0x207250]=_0x2e1dce[_0x207250]);if(_0x2e1dce!=null&&typeof Object[_0x7dd99c(0x211)]==_0x7dd99c(0x277)){for(var _0x20b3c8=0x0,_0x207250=Object[_0x7dd99c(0x211)](_0x2e1dce);_0x20b3c8<_0x207250[_0x7dd99c(0x2bd)];_0x20b3c8++)_0x2f01d5[_0x7dd99c(0x330)](_0x207250[_0x20b3c8])<0x0&&Object[_0x7dd99c(0x270)]['propertyIsEnumerable']['call'](_0x2e1dce,_0x207250[_0x20b3c8])&&(_0x420ee9[_0x207250[_0x20b3c8]]=_0x2e1dce[_0x207250[_0x20b3c8]]);}return _0x420ee9;},pe=M[_0x568b38(0x174)](function(_0x54fb0f,_0x320064){const _0x4df436=_0x568b38;var _0x241b55=_0x54fb0f[_0x4df436(0x141)],_0x3addfc=_0x54fb0f['id'],_0x420c00=_0x54fb0f['className'],_0x39fd5a=_0x54fb0f[_0x4df436(0x2fa)],_0x5adc92=Tt(_0x54fb0f,[_0x4df436(0x141),'id',_0x4df436(0x159),_0x4df436(0x2fa)]),_0x54f65c=_0x4df436(0x2ef)['concat'](_0x3addfc,'\x20')[_0x4df436(0x130)](_0x420c00||'')[_0x4df436(0x292)](),_0x24b847=M[_0x4df436(0x32a)]('_'[_0x4df436(0x130)](Dt()));return Ae(_0x241b55,''[_0x4df436(0x130)](_0x3addfc),{'defIds':_0x241b55[_0x4df436(0x2c1)],'idSuffix':_0x24b847[_0x4df436(0x13d)]},E({'ref':_0x320064,'className':_0x54f65c},_0x5adc92),_0x39fd5a);});function Ae(_0x452893,_0x42014a,_0x4e38e2,_0x27427e,_0x48256f){const _0x46024e=_0x568b38;return M['createElement'](_0x452893['tag'],E(E({'key':_0x42014a},Ot(_0x452893,_0x4e38e2,_0x48256f)),_0x27427e),(Rt(_0x452893,_0x4e38e2)[_0x46024e(0x18e)]||[])[_0x46024e(0x36e)](function(_0x1883b0,_0x122581){const _0x35bb40=_0x46024e;return Ae(_0x1883b0,''[_0x35bb40(0x130)](_0x42014a,'-')[_0x35bb40(0x130)](_0x452893['tag'],'-')[_0x35bb40(0x130)](_0x122581),_0x4e38e2,void 0x0,_0x48256f);}));}function Ot(_0x1ad36a,_0x434c21,_0x1469ce){const _0x1e4a0d=_0x568b38;var _0x239361=E({},_0x1ad36a[_0x1e4a0d(0x1b6)]);_0x1469ce!=null&&_0x1469ce[_0x1e4a0d(0x247)]&&_0x239361['fill']===_0x1e4a0d(0x247)&&(_0x239361['fill']=_0x1469ce[_0x1e4a0d(0x247)]),_0x1ad36a[_0x1e4a0d(0x155)]==='mask'&&_0x239361['id']&&(_0x239361['id']=_0x239361['id']+_0x434c21[_0x1e4a0d(0x36c)]),Object['entries'](_0x239361)['forEach'](function(_0x4c9159){const _0xf5f257=_0x1e4a0d;var _0x5a4082=_0x4c9159[0x0],_0x3cf457=_0x4c9159[0x1];_0x5a4082===_0xf5f257(0x290)&&typeof _0x3cf457==_0xf5f257(0x216)&&(_0x239361[_0x5a4082]=_0x3cf457[_0xf5f257(0x1e1)](/url\(#(.*)\)/,_0xf5f257(0x353)[_0xf5f257(0x130)](_0x434c21[_0xf5f257(0x36c)],')')));});var _0x64d28b=_0x434c21['defIds'];return!_0x64d28b||_0x64d28b[_0x1e4a0d(0x2bd)]===0x0||(_0x1ad36a[_0x1e4a0d(0x155)]===_0x1e4a0d(0x29c)&&_0x239361[_0x1e4a0d(0x231)]&&(_0x239361[_0x1e4a0d(0x231)]=_0x239361[_0x1e4a0d(0x231)]+_0x434c21['idSuffix']),Object['entries'](_0x239361)[_0x1e4a0d(0x13c)](function(_0x8912b9){const _0x327e12=_0x1e4a0d;var _0x35622c=_0x8912b9[0x0],_0x4e62a2=_0x8912b9[0x1];typeof _0x4e62a2==_0x327e12(0x216)&&(_0x239361[_0x35622c]=_0x4e62a2[_0x327e12(0x1e1)](/url\(#(.*)\)/,_0x327e12(0x353)[_0x327e12(0x130)](_0x434c21['idSuffix'],')')));})),_0x239361;}function Rt(_0x28a3d9,_0x3d76e8){const _0x2210c0=_0x568b38;var _0x36b16c,_0x421685=_0x3d76e8['defIds'];return!_0x421685||_0x421685['length']===0x0?_0x28a3d9:_0x28a3d9[_0x2210c0(0x155)]==='defs'&&(!((_0x36b16c=_0x28a3d9[_0x2210c0(0x18e)])===null||_0x36b16c===void 0x0)&&_0x36b16c[_0x2210c0(0x2bd)])?E(E({},_0x28a3d9),{'children':_0x28a3d9[_0x2210c0(0x18e)]['map'](function(_0x31218c){const _0x3bbbf4=_0x2210c0;return typeof _0x31218c['attrs']['id']=='string'&&_0x421685&&_0x421685[_0x3bbbf4(0x330)](_0x31218c[_0x3bbbf4(0x1b6)]['id'])>-0x1?E(E({},_0x31218c),{'attrs':E(E({},_0x31218c[_0x3bbbf4(0x1b6)]),{'id':_0x31218c[_0x3bbbf4(0x1b6)]['id']+_0x3d76e8[_0x3bbbf4(0x36c)]})}):_0x31218c;})}):_0x28a3d9;}function Dt(){const _0x56a1cf=_0x568b38;return Math['random']()[_0x56a1cf(0x188)](0x24)[_0x56a1cf(0x1e7)](0x2,0x8);}pe['displayName']=_0x568b38(0x24d);var Ut={'tag':_0x568b38(0x2f5),'attrs':{'fill':_0x568b38(0x375),'viewBox':_0x568b38(0x2ab),'width':_0x568b38(0x26e),'height':_0x568b38(0x26e)},'children':[{'tag':'g','attrs':{'clipPath':_0x568b38(0x201)},'children':[{'tag':_0x568b38(0x399),'attrs':{'stroke':'currentColor','d':_0x568b38(0x17a),'strokeLinecap':'round','strokeLinejoin':_0x568b38(0x2ed),'strokeWidth':1.2}}]},{'tag':_0x568b38(0x359),'attrs':{},'children':[{'tag':_0x568b38(0x276),'attrs':{'id':'off-line-single_clip0_910_343'},'children':[{'tag':_0x568b38(0x399),'attrs':{'fill':_0x568b38(0x308),'d':'M0\x200H16V16H0z'}}]}]}],'defIds':[_0x568b38(0x14a)]},ye=M[_0x568b38(0x174)](function(_0x7c3cdd,_0x351b16){const _0x1f24c3=_0x568b38;return M[_0x1f24c3(0x21a)](pe,Object['assign']({},_0x7c3cdd,{'id':_0x1f24c3(0x139),'ref':_0x351b16,'icon':Ut}));});ye[_0x568b38(0x31a)]=_0x568b38(0x311);var Nt={'tag':_0x568b38(0x2f5),'attrs':{'fill':_0x568b38(0x375),'viewBox':_0x568b38(0x1ae),'width':_0x568b38(0x26e),'height':_0x568b38(0x26e)},'children':[{'tag':'g','attrs':{'clipPath':'url(#on-line-single_clip0_910_349)'},'children':[{'tag':_0x568b38(0x399),'attrs':{'stroke':'currentColor','d':_0x568b38(0x293),'strokeLinecap':_0x568b38(0x2ed),'strokeLinejoin':_0x568b38(0x2ed),'strokeWidth':1.2}}]},{'tag':_0x568b38(0x359),'attrs':{},'children':[{'tag':_0x568b38(0x276),'attrs':{'id':_0x568b38(0x15e)},'children':[{'tag':'path','attrs':{'fill':_0x568b38(0x308),'d':_0x568b38(0x367),'transform':_0x568b38(0x289)}}]}]}],'defIds':[_0x568b38(0x15e)]},$e=M['forwardRef'](function(_0x430d62,_0x455d4f){const _0x472661=_0x568b38;return M[_0x472661(0x21a)](pe,Object[_0x472661(0x326)]({},_0x430d62,{'id':_0x472661(0x374),'ref':_0x455d4f,'icon':Nt}));});$e[_0x568b38(0x31a)]=_0x568b38(0x22e);function Mt(_0x3bb9a3){const _0x3489bd=_0x568b38;switch(_0x3bb9a3){case u[_0x3489bd(0x249)][_0x3489bd(0x1eb)]:return _0x3489bd(0x17b);case u[_0x3489bd(0x249)]['CONFLICT']:return _0x3489bd(0x206);case u['CollaborationStatus'][_0x3489bd(0x3a0)]:return'collabStatus.fetchMiss';case u['CollaborationStatus'][_0x3489bd(0x298)]:return'collabStatus.notCollab';case u[_0x3489bd(0x249)]['AWAITING']:case u['CollaborationStatus'][_0x3489bd(0x2a2)]:return _0x3489bd(0x312);case u['CollaborationStatus'][_0x3489bd(0x363)]:case u[_0x3489bd(0x249)]['PENDING']:return _0x3489bd(0x18a);}}function xe(_0x19366f){const _0xe48904=_0x568b38,{status$:_0x546df4}=_0x19366f,_0x1983b6=T['useObservable'](_0x546df4,u[_0xe48904(0x249)]['NOT_COLLAB']),_0x106d1e=T[_0xe48904(0x137)](a['LocaleService']),_0x1319b4=T[_0xe48904(0x137)](u[_0xe48904(0x38b)]),_0x59f27a=_0x1983b6!==u[_0xe48904(0x249)][_0xe48904(0x1eb)],_0x1860f8=_0x106d1e['t'](Mt(_0x1983b6)),_0x3c3a06=_0x59f27a?P[_0xe48904(0x2c0)]($e,{}):P[_0xe48904(0x2c0)](ye,{}),_0x19b98e=M[_0xe48904(0x35d)](()=>{const _0x183b81=_0xe48904;_0x59f27a||_0x1319b4[_0x183b81(0x1f2)]();},[_0x59f27a,_0x1319b4]);function _0x44b294(){const _0x5a879b=_0xe48904;return P[_0x5a879b(0x1b1)]('div',{'className':_0x5a879b(0x29f),'onClick':_0x19b98e,'children':[P[_0x5a879b(0x2c0)]('div',{'className':D['clsx'](_0x5a879b(0x2f1),_0x59f27a?'univer-text-green-500':'univer-text-red-500'),'children':_0x3c3a06}),P[_0x5a879b(0x2c0)]('div',{'className':_0x5a879b(0x30a),'children':_0x1860f8})]});}return _0x59f27a?_0x44b294():P[_0xe48904(0x2c0)](D['Tooltip'],{'title':_0x106d1e['t'](_0xe48904(0x336)),'children':_0x44b294()});}var Lt=Object[_0x568b38(0x196)],Pt=(_0x2c7e11,_0x1798de,_0x2c998e,_0x3a2b38)=>{const _0x554845=_0x568b38;for(var _0x2a0c48=_0x3a2b38>0x1?void 0x0:_0x3a2b38?Lt(_0x1798de,_0x2c998e):_0x1798de,_0x3dd3a9=_0x2c7e11[_0x554845(0x2bd)]-0x1,_0x474e4f;_0x3dd3a9>=0x0;_0x3dd3a9--)(_0x474e4f=_0x2c7e11[_0x3dd3a9])&&(_0x2a0c48=_0x474e4f(_0x2a0c48)||_0x2a0c48);return _0x2a0c48;},V=(_0x106354,_0xed96d6)=>(_0x3dafac,_0x35f40b)=>_0xed96d6(_0x3dafac,_0x35f40b,_0x106354);exports[_0x568b38(0x186)]=class extends a['Disposable']{constructor(_0x26ad46,_0x42eef8,_0x3a4449,_0x560014){const _0x505109=_0x568b38;super(),h(this,'_status$',new d[(_0x505109(0x274))](u[_0x505109(0x249)][_0x505109(0x298)])),(this[_0x505109(0x31f)]=_0x26ad46,this[_0x505109(0x2ba)]=_0x42eef8,this[_0x505109(0x1f6)]=_0x3a4449,this[_0x505109(0x395)]=_0x560014,this['_initStatusComponent'](),this['_initStatusListener']());}[_0x568b38(0x3a9)](){const _0x1f6239=_0x568b38;this[_0x1f6239(0x369)](this['_univerInstanceService']['focused$']['pipe'](d[_0x1f6239(0x2ff)](()=>{const _0xdfcdb6=_0x1f6239,_0x399eeb=this['_univerInstanceService']['getFocusedUnit']();return _0x399eeb?this['_collaborationController'][_0xdfcdb6(0x15f)](_0x399eeb[_0xdfcdb6(0x2e8)]()):d['of'](null);}),d['switchMap'](_0x16b319=>_0x16b319?_0x16b319['status$']:d['of'](u[_0x1f6239(0x249)][_0x1f6239(0x298)])))[_0x1f6239(0x152)](_0x5edb27=>{const _0x166a11=_0x1f6239;this[_0x166a11(0x256)][_0x166a11(0x1c7)](_0x5edb27);}));}[_0x568b38(0x18b)](){const _0xc1f9b6=_0x568b38;this['disposeWithMe'](this['_uiPartsService']['registerComponent'](T[_0xc1f9b6(0x1da)][_0xc1f9b6(0x398)],()=>T[_0xc1f9b6(0x190)](wt({'status$':this['_status$'][_0xc1f9b6(0x1a7)]()}),this['_injector'])));}},exports[_0x568b38(0x186)]=Pt([V(0x0,a[_0x568b38(0x1a5)]),V(0x1,a[_0x568b38(0x26b)](a[_0x568b38(0x2b1)])),V(0x2,a[_0x568b38(0x26b)](u[_0x568b38(0x214)])),V(0x3,T[_0x568b38(0x161)])],exports[_0x568b38(0x186)]);function wt(_0x444041){const {status$:_0x50a002}=_0x444041;return function(){const _0x57ae70=_0x1323;return P[_0x57ae70(0x2c0)](xe,{'status$':_0x50a002});};}var At=Object[_0x568b38(0x196)],yt=(_0x42c222,_0x239233,_0x39cf69,_0x54c800)=>{const _0x1d6e7b=_0x568b38;for(var _0x53ceb6=_0x54c800>0x1?void 0x0:_0x54c800?At(_0x239233,_0x39cf69):_0x239233,_0x102992=_0x42c222[_0x1d6e7b(0x2bd)]-0x1,_0x455de4;_0x102992>=0x0;_0x102992--)(_0x455de4=_0x42c222[_0x102992])&&(_0x53ceb6=_0x455de4(_0x53ceb6)||_0x53ceb6);return _0x53ceb6;},y=(_0x5a507c,_0x3cdbe7)=>(_0x1ed34a,_0xe1a95e)=>_0x3cdbe7(_0x1ed34a,_0xe1a95e,_0x5a507c);let K=class extends a[_0x568b38(0x30e)]{constructor(_0x582e75,_0x1db79b,_0x3d6118,_0x3d4266,_0x59afde,_0x583007){const _0x1d82bc=_0x568b38;super(),this[_0x1d82bc(0x1f0)]=_0x582e75,this['_localCacheService']=_0x1db79b,this[_0x1d82bc(0x1c0)]=_0x3d6118,this[_0x1d82bc(0x3a8)]=_0x3d4266,this[_0x1d82bc(0x13b)]=_0x59afde,this['_localeService']=_0x583007,this[_0x1d82bc(0x296)](),this['_initEvent']();}[_0x568b38(0x296)](){const _0x30aff7=_0x568b38;this['disposeWithMe'](this[_0x30aff7(0x1f0)]['registerBeforeClose'](()=>{const _0x242a09=_0x30aff7;if(this['_localCacheService'][_0x242a09(0x183)][_0x242a09(0x26a)])return this[_0x242a09(0x27f)]['t'](_0x242a09(0x1f3));}));}[_0x568b38(0x1d7)](){const _0x523c21=_0x568b38;this[_0x523c21(0x369)](this[_0x523c21(0x1c0)][_0x523c21(0x235)][_0x523c21(0x152)](_0x222117=>{const _0x3eb0f5=_0x523c21;_0x222117['id']===u['CollaborationUIEventId'][_0x3eb0f5(0x366)]&&this[_0x3eb0f5(0x3a8)]['show']({'type':D[_0x3eb0f5(0x180)][_0x3eb0f5(0x136)],'content':this[_0x3eb0f5(0x27f)]['t']('collaboration.single-unit.warning')}),_0x222117['id']===u[_0x3eb0f5(0x178)][_0x3eb0f5(0x172)]&&this['_messageService']['show']({'type':D[_0x3eb0f5(0x180)]['Warning'],'content':this[_0x3eb0f5(0x27f)]['t'](_0x3eb0f5(0x19b))}),_0x222117['id']===u['CollaborationUIEventId'][_0x3eb0f5(0x1a1)]&&this[_0x3eb0f5(0x13b)][_0x3eb0f5(0x2c5)]({'title':this[_0x3eb0f5(0x27f)]['t'](_0x3eb0f5(0x394)),'content':this[_0x3eb0f5(0x27f)]['t'](_0x3eb0f5(0x181)),'type':_0x3eb0f5(0x2d0),'duration':0x0}),_0x222117['id']===u[_0x3eb0f5(0x178)]['CONFLICT']&&this[_0x3eb0f5(0x3a8)]['show']({'type':D[_0x3eb0f5(0x180)][_0x3eb0f5(0x324)],'content':this[_0x3eb0f5(0x27f)]['t']('collaboration.closeRoom')+'('+_0x222117[_0x3eb0f5(0x2e2)]+')'}),_0x222117['id']===u[_0x3eb0f5(0x178)][_0x3eb0f5(0x301)]&&this[_0x3eb0f5(0x3a8)][_0x3eb0f5(0x2c5)]({'type':D[_0x3eb0f5(0x180)][_0x3eb0f5(0x136)],'content':this[_0x3eb0f5(0x27f)]['t'](_0x222117[_0x3eb0f5(0x2e2)]||'')}),_0x222117['id']===u[_0x3eb0f5(0x178)][_0x3eb0f5(0x36f)]&&this[_0x3eb0f5(0x3a8)][_0x3eb0f5(0x2c5)]({'type':D[_0x3eb0f5(0x180)][_0x3eb0f5(0x136)],'content':this['_localeService']['t'](_0x3eb0f5(0x2c3))}),_0x222117['id']===u[_0x3eb0f5(0x178)][_0x3eb0f5(0x339)]&&this[_0x3eb0f5(0x3a8)][_0x3eb0f5(0x2c5)]({'type':D[_0x3eb0f5(0x180)][_0x3eb0f5(0x324)],'content':this[_0x3eb0f5(0x27f)]['t'](_0x3eb0f5(0x34e))}),_0x222117['id']===u['CollaborationUIEventId'][_0x3eb0f5(0x138)]&&this['_messageService'][_0x3eb0f5(0x2c5)]({'type':D[_0x3eb0f5(0x180)][_0x3eb0f5(0x324)],'content':this['_localeService']['t'](_0x3eb0f5(0x194))});}));}};K=yt([y(0x0,T[_0x568b38(0x35c)]),y(0x1,u['ILocalCacheService']),y(0x2,a['Inject'](u[_0x568b38(0x397)])),y(0x3,T['IMessageService']),y(0x4,T['INotificationService']),y(0x5,a[_0x568b38(0x26b)](a[_0x568b38(0x1ff)]))],K);const $t='collaboration-client-ui.config',Ue={},be=a['createIdentifier'](_0x568b38(0x170));var xt=Object[_0x568b38(0x196)],jt=(_0x5370cd,_0x3fbf91,_0x225be8,_0x520791)=>{const _0xb0d054=_0x568b38;for(var _0x5dcf2f=_0x520791>0x1?void 0x0:_0x520791?xt(_0x3fbf91,_0x225be8):_0x3fbf91,_0xfb981f=_0x5370cd[_0xb0d054(0x2bd)]-0x1,_0x3b0980;_0xfb981f>=0x0;_0xfb981f--)(_0x3b0980=_0x5370cd[_0xfb981f])&&(_0x5dcf2f=_0x3b0980(_0x5dcf2f)||_0x5dcf2f);return _0x5dcf2f;},H=(_0xbb586c,_0x27b09a)=>(_0xc5f0c0,_0x1509e9)=>_0x27b09a(_0xc5f0c0,_0x1509e9,_0xbb586c);exports[_0x568b38(0x322)]=class extends a[_0x568b38(0x327)]{constructor(_0xf389a7,_0x3299bd,_0x539f44,_0x10b3df,_0x526ec7){const _0x1fc9b3=_0x568b38;super(),this[_0x1fc9b3(0x1c6)]=_0xf389a7,this['_logService']=_0x3299bd,this[_0x1fc9b3(0x1c4)]=_0x539f44,this[_0x1fc9b3(0x345)]=_0x10b3df,_0x526ec7?_0x526ec7==null||_0x526ec7[_0x1fc9b3(0x1a9)]()[_0x1fc9b3(0x15d)](()=>this[_0x1fc9b3(0x246)]()):(this[_0x1fc9b3(0x35b)][_0x1fc9b3(0x202)](_0x1fc9b3(0x2fc),_0x1fc9b3(0x150)),this[_0x1fc9b3(0x246)]());}async[_0x568b38(0x246)](){const _0x1c2b9d=_0x568b38,_0x97aeb3=this[_0x1c2b9d(0x1c6)]['getParam']('unit'),_0x298938=this[_0x1c2b9d(0x1c6)]['getParam']('type'),_0x5112d8=this['_urlService'][_0x1c2b9d(0x156)]('subunit');if(!_0x97aeb3||!_0x298938){this[_0x1c2b9d(0x35b)][_0x1c2b9d(0x202)](_0x1c2b9d(0x2fc),_0x1c2b9d(0x377));return;}const _0x5cbd66=await this[_0x1c2b9d(0x345)]['loadUnit'](_0x97aeb3,Number(_0x298938),_0x5112d8);_0x5cbd66&&_0x5cbd66 instanceof a[_0x1c2b9d(0x148)]&&this[_0x1c2b9d(0x234)](_0x5cbd66);}async[_0x568b38(0x234)](_0x270808){const _0xfc5363=_0x568b38;await this[_0xfc5363(0x13f)](_0x270808),_0x270808[_0xfc5363(0x23d)][_0xfc5363(0x1db)](d[_0xfc5363(0x33c)](this[_0xfc5363(0x221)]))['subscribe'](_0x27dadb=>{const _0x5e2146=_0xfc5363;_0x27dadb&&this[_0x5e2146(0x225)](_0x27dadb);}),this['_urlService']['urlChange$']['pipe'](d[_0xfc5363(0x33c)](this[_0xfc5363(0x221)]))[_0xfc5363(0x152)](()=>this['_updateSubUnitFromURLParams'](_0x270808));}[_0x568b38(0x225)](_0x3515e1,_0x5e6bda=!0x1){const _0x201405=_0x568b38,_0x52b192=this[_0x201405(0x1c6)][_0x201405(0x156)](_0x201405(0x253));_0x3515e1[_0x201405(0x2cc)]()!==_0x52b192&&this[_0x201405(0x1c6)][_0x201405(0x2bc)](_0x201405(0x253),_0x3515e1[_0x201405(0x2cc)](),_0x5e6bda);}async[_0x568b38(0x13f)](_0x499ffd){const _0x33d1f1=_0x568b38;var _0xbf1d5a;const _0x22ed5c=this[_0x33d1f1(0x1c6)]['getParam'](_0x33d1f1(0x253));if(!_0x22ed5c||!_0x499ffd['getSheetBySheetId'](_0x22ed5c)){const _0x1a5d1e=_0x499ffd['getUnhiddenWorksheets']()[0x0],_0x320b23=_0x499ffd[_0x33d1f1(0x149)](_0x1a5d1e);if(!_0x320b23)return;this[_0x33d1f1(0x225)](_0x320b23,!0x0),await this['_commandService'][_0x33d1f1(0x19d)](g[_0x33d1f1(0x2f0)]['id'],{'unitId':_0x499ffd[_0x33d1f1(0x2e8)](),'subUnitId':_0x1a5d1e});return;}((_0xbf1d5a=_0x499ffd['getActiveSheet']())==null?void 0x0:_0xbf1d5a[_0x33d1f1(0x2cc)]())!==_0x22ed5c&&await this[_0x33d1f1(0x1c4)][_0x33d1f1(0x19d)](g[_0x33d1f1(0x2f0)]['id'],{'unitId':_0x499ffd[_0x33d1f1(0x2e8)](),'subUnitId':_0x22ed5c});}},exports['CollaborationDataLoaderController']=jt([H(0x0,be),H(0x1,a[_0x568b38(0x20b)]),H(0x2,a['ICommandService']),H(0x3,a[_0x568b38(0x26b)](u[_0x568b38(0x1bd)])),H(0x4,a[_0x568b38(0x1b5)](qe[_0x568b38(0x242)]))],exports[_0x568b38(0x322)]);var Bt=Object[_0x568b38(0x196)],kt=(_0x4007be,_0x1c02db,_0x493844,_0x27f069)=>{const _0x189959=_0x568b38;for(var _0x1229b6=_0x27f069>0x1?void 0x0:_0x27f069?Bt(_0x1c02db,_0x493844):_0x1c02db,_0x5bae24=_0x4007be[_0x189959(0x2bd)]-0x1,_0x461c9d;_0x5bae24>=0x0;_0x5bae24--)(_0x461c9d=_0x4007be[_0x5bae24])&&(_0x1229b6=_0x461c9d(_0x1229b6)||_0x1229b6);return _0x1229b6;},ce=(_0x5a9c22,_0x5d9e81)=>(_0x52a989,_0x4d1bc7)=>_0x5d9e81(_0x52a989,_0x4d1bc7,_0x5a9c22);let z=class{constructor(_0x59227b,_0x4a8165,_0x26778c){const _0xa6db6f=_0x568b38;this[_0xa6db6f(0x2ba)]=_0x59227b,this[_0xa6db6f(0x378)]=_0x4a8165,this['_renderManagerService']=_0x26778c;}[_0x568b38(0x2c4)](_0x44057e){const _0x59bb5f=_0x568b38;this[_0x59bb5f(0x28d)](_0x44057e),this['_transformPreviousActiveRange'](_0x44057e);}['transformRemoteChangeset'](_0x3e507b){const _0x5ed0fe=_0x568b38,{unitID:_0x316031}=_0x3e507b,_0x3e958e=this[_0x5ed0fe(0x37c)][_0x5ed0fe(0x385)](_0x316031)[_0x5ed0fe(0x213)](b[_0x5ed0fe(0x2d9)]),{redoCache:_0x2c4656}=_0x3e958e[_0x5ed0fe(0x15b)]();if(_0x2c4656['length']===0x0)return _0x3e507b;let _0x4677bd=a[_0x5ed0fe(0x12e)][_0x5ed0fe(0x32d)](_0x3e507b['mutations'][0x0]);for(let _0x26a232=0x0;_0x26a232<_0x2c4656[_0x5ed0fe(0x2bd)];_0x26a232++){const _0x533e4c={'id':_0x5ed0fe(0x254),'params':{..._0x2c4656[_0x26a232]}},_0x2df8a9=this[_0x5ed0fe(0x378)][_0x5ed0fe(0x3ac)](_0x4677bd,_0x533e4c,!0x1);if(m[_0x5ed0fe(0x24b)](_0x2df8a9))throw _0x2df8a9['error'];_0x4677bd=_0x2df8a9['m1Prime'];}return{...a['Tools'][_0x5ed0fe(0x32d)](_0x3e507b),'mutations':[_0x4677bd]};}['_transformUndoRedoStack'](_0x5b0f3f){const _0x41ae9c=_0x568b38,{unitID:_0x5f2bd3}=_0x5b0f3f,_0x7704b6=this[_0x41ae9c(0x37c)][_0x41ae9c(0x385)](_0x5f2bd3)[_0x41ae9c(0x213)](b[_0x41ae9c(0x2d9)]),{undoCache:_0x4db615,redoCache:_0x2985dd}=_0x7704b6[_0x41ae9c(0x15b)]();if(_0x4db615[_0x41ae9c(0x2bd)]===0x0||_0x2985dd[_0x41ae9c(0x2bd)]===0x0)return;const _0x4d50d5=[],_0x4215f2=[];let _0x18c57f=a[_0x41ae9c(0x12e)][_0x41ae9c(0x32d)](_0x5b0f3f[_0x41ae9c(0x165)][0x0]),_0x434ab1=a[_0x41ae9c(0x12e)][_0x41ae9c(0x32d)](_0x5b0f3f[_0x41ae9c(0x165)][0x0]);for(let _0x5d9dce=_0x4db615['length']-0x1;_0x5d9dce>=0x0;_0x5d9dce--){const _0x5e4da8={'id':_0x41ae9c(0x254),'params':{..._0x4db615[_0x5d9dce]}},_0x6f4b2d={'id':_0x41ae9c(0x254),'params':{..._0x2985dd[_0x5d9dce]}},_0x5a8c12=this[_0x41ae9c(0x378)]['transformMutation'](_0x18c57f,_0x5e4da8,!0x1),_0x1332ff=this[_0x41ae9c(0x378)]['transformMutation'](_0x434ab1,_0x6f4b2d,!0x1);if(m[_0x41ae9c(0x24b)](_0x5a8c12))throw _0x5a8c12['error'];if(m[_0x41ae9c(0x24b)](_0x1332ff))throw _0x1332ff[_0x41ae9c(0x2d0)];_0x4d50d5[_0x41ae9c(0x1ea)](_0x5a8c12['m2Prime'][_0x41ae9c(0x376)]),_0x4215f2[_0x41ae9c(0x1ea)](_0x1332ff[_0x41ae9c(0x3a4)][_0x41ae9c(0x376)]),_0x18c57f=_0x5a8c12[_0x41ae9c(0x2da)],_0x434ab1=_0x1332ff['m1Prime'];}_0x7704b6[_0x41ae9c(0x17f)]({'undoCache':_0x4d50d5,'redoCache':_0x4215f2});}[_0x568b38(0x2bf)](_0x2313a4){const _0x14d2ea=_0x568b38,{unitID:_0x185f87}=_0x2313a4,_0xe473cb=this[_0x14d2ea(0x37c)]['getRenderById'](_0x185f87)[_0x14d2ea(0x213)](b[_0x14d2ea(0x2d9)]),_0x588844=_0xe473cb['getActiveRange']();if(_0x588844==null)return;const _0x3eb5a1=[{'id':_0x14d2ea(0x254),'params':{'unitId':_0x2313a4['unitID'],'actions':null,'textRanges':[_0x588844]}}],_0x303e68=this[_0x14d2ea(0x378)]['transformMutationsWithChangeset'](_0x2313a4,_0x3eb5a1);if(!m[_0x14d2ea(0x2b7)](_0x303e68))throw _0x303e68[_0x14d2ea(0x2d0)];const _0x3c5951=_0x303e68[_0x14d2ea(0x3a4)][0x0][_0x14d2ea(0x376)][_0x14d2ea(0x2a3)];Array[_0x14d2ea(0x26d)](_0x3c5951)&&_0x3c5951[_0x14d2ea(0x2bd)]&&_0xe473cb['setActiveRange'](_0x3c5951[0x0]);}};z=kt([ce(0x0,a[_0x568b38(0x26b)](a[_0x568b38(0x2b1)])),ce(0x1,m['ITransformService']),ce(0x2,p[_0x568b38(0x305)])],z);var Ht=Object[_0x568b38(0x196)],Ft=(_0xca8848,_0x146586,_0x5cdc6a,_0x24bf1b)=>{const _0x28ae29=_0x568b38;for(var _0x27e300=_0x24bf1b>0x1?void 0x0:_0x24bf1b?Ht(_0x146586,_0x5cdc6a):_0x146586,_0x9a464e=_0xca8848[_0x28ae29(0x2bd)]-0x1,_0x5ca550;_0x9a464e>=0x0;_0x9a464e--)(_0x5ca550=_0xca8848[_0x9a464e])&&(_0x27e300=_0x5ca550(_0x27e300)||_0x27e300);return _0x27e300;},le=(_0x2dc543,_0x1ada1d)=>(_0x2d1efa,_0x1a8c79)=>_0x1ada1d(_0x2d1efa,_0x1a8c79,_0x2dc543);let J=class{constructor(_0x529e29,_0x53b04c,_0xe93dbe){const _0x5d7992=_0x568b38;this[_0x5d7992(0x2ba)]=_0x529e29,this['_transformService']=_0x53b04c,this[_0x5d7992(0x261)]=_0xe93dbe;}[_0x568b38(0x1f4)](_0x4b3653){this['_transformHistoryAndStateStack'](_0x4b3653);}[_0x568b38(0x1c1)](_0x37e052){const _0xafb9d8=_0x568b38,{unitID:_0x579e82}=_0x37e052,{collaboration:_0x42aab7}=this[_0xafb9d8(0x261)][_0xafb9d8(0x162)](_0x579e82);if(_0x42aab7['length']===0x0)return _0x37e052;let _0x5cf6e3=a[_0xafb9d8(0x12e)][_0xafb9d8(0x32d)](_0x37e052['mutations'][0x0]);for(let _0x1a6bf9=0x0;_0x1a6bf9<_0x42aab7['length'];_0x1a6bf9++){const _0x4ce047={'id':_0xafb9d8(0x254),'params':{'unitId':_0x42aab7[_0x1a6bf9][_0xafb9d8(0x203)],..._0x42aab7[_0x1a6bf9][_0xafb9d8(0x2e0)]}},_0xee7250=this['_transformService']['transformMutation'](_0x5cf6e3,_0x4ce047,!0x1);if(m[_0xafb9d8(0x24b)](_0xee7250))throw _0xee7250[_0xafb9d8(0x2d0)];_0x5cf6e3=_0xee7250[_0xafb9d8(0x2da)];}return{...a[_0xafb9d8(0x12e)][_0xafb9d8(0x32d)](_0x37e052),'mutations':[_0x5cf6e3]};}[_0x568b38(0x34b)](_0x307275){const _0x1c757b=_0x568b38,{unitID:_0x20009f}=_0x307275,{history:_0x366c89,collaboration:_0xa5d46b}=this[_0x1c757b(0x261)]['getStateCache'](_0x20009f);if(_0x366c89[_0x1c757b(0x2bd)]===0x0&&_0xa5d46b['length']===0x0)return;const _0x5df3bd=[],_0x137bd4=[];let _0x12f23b=a[_0x1c757b(0x12e)][_0x1c757b(0x32d)](_0x307275[_0x1c757b(0x165)][0x0]),_0x59fc8c=a[_0x1c757b(0x12e)][_0x1c757b(0x32d)](_0x307275[_0x1c757b(0x165)][0x0]);for(let _0x3be8cb=_0x366c89[_0x1c757b(0x2bd)]-0x1;_0x3be8cb>=0x0;_0x3be8cb--){const _0x2552f3={'id':_0x1c757b(0x254),'params':{'unitId':_0x366c89[_0x3be8cb][_0x1c757b(0x203)],..._0x366c89[_0x3be8cb]['undoState']}},_0x139d02={'id':_0x1c757b(0x254),'params':{'unitId':_0x366c89[_0x3be8cb]['unitId'],..._0x366c89[_0x3be8cb][_0x1c757b(0x2e0)]}},_0x1d71d8=this[_0x1c757b(0x378)][_0x1c757b(0x3ac)](_0x12f23b,_0x2552f3,!0x1),_0x3b0e5a=this[_0x1c757b(0x378)]['transformMutation'](_0x59fc8c,_0x139d02,!0x1);if(m[_0x1c757b(0x24b)](_0x1d71d8))throw _0x1d71d8[_0x1c757b(0x2d0)];if(m[_0x1c757b(0x24b)](_0x3b0e5a))throw _0x3b0e5a[_0x1c757b(0x2d0)];_0x5df3bd['unshift']({..._0x366c89[_0x3be8cb],'undoState':_0x1d71d8[_0x1c757b(0x3a4)][_0x1c757b(0x376)],'redoState':_0x3b0e5a[_0x1c757b(0x3a4)][_0x1c757b(0x376)]}),_0x12f23b=_0x1d71d8[_0x1c757b(0x2da)],_0x59fc8c=_0x3b0e5a['m1Prime'];}_0x12f23b=a['Tools'][_0x1c757b(0x32d)](_0x307275[_0x1c757b(0x165)][0x0]),_0x59fc8c=a['Tools'][_0x1c757b(0x32d)](_0x307275[_0x1c757b(0x165)][0x0]);for(let _0xff26b5=_0xa5d46b[_0x1c757b(0x2bd)]-0x1;_0xff26b5>=0x0;_0xff26b5--){const _0x13ce4d={'id':_0x1c757b(0x254),'params':{'unitId':_0xa5d46b[_0xff26b5][_0x1c757b(0x203)],..._0xa5d46b[_0xff26b5][_0x1c757b(0x217)]}},_0x2a870f={'id':_0x1c757b(0x254),'params':{'unitId':_0xa5d46b[_0xff26b5]['unitId'],..._0xa5d46b[_0xff26b5]['redoState']}},_0x3d6891=this[_0x1c757b(0x378)][_0x1c757b(0x3ac)](_0x12f23b,_0x13ce4d,!0x1),_0x520f46=this[_0x1c757b(0x378)][_0x1c757b(0x3ac)](_0x59fc8c,_0x2a870f,!0x1);if(m[_0x1c757b(0x24b)](_0x3d6891))throw _0x3d6891[_0x1c757b(0x2d0)];if(m[_0x1c757b(0x24b)](_0x520f46))throw _0x520f46['error'];_0x137bd4[_0x1c757b(0x1ea)]({..._0xa5d46b[_0xff26b5],'undoState':_0x3d6891[_0x1c757b(0x3a4)]['params'],'redoState':_0x520f46[_0x1c757b(0x3a4)][_0x1c757b(0x376)]}),_0x12f23b=_0x3d6891[_0x1c757b(0x2da)],_0x59fc8c=_0x520f46[_0x1c757b(0x2da)];}this[_0x1c757b(0x261)][_0x1c757b(0x3aa)](_0x20009f,{'history':_0x5df3bd,'collaboration':_0x137bd4});}};J=Ft([le(0x0,a[_0x568b38(0x26b)](a[_0x568b38(0x2b1)])),le(0x1,m['ITransformService']),le(0x2,a[_0x568b38(0x26b)](b[_0x568b38(0x28b)]))],J);var Wt=Object[_0x568b38(0x196)],Yt=(_0xeedbb9,_0x21e801,_0x5a2534,_0x4f46a1)=>{for(var _0x224f4c=_0x4f46a1>0x1?void 0x0:_0x4f46a1?Wt(_0x21e801,_0x5a2534):_0x21e801,_0x1f64be=_0xeedbb9['length']-0x1,_0x3e57e3;_0x1f64be>=0x0;_0x1f64be--)(_0x3e57e3=_0xeedbb9[_0x1f64be])&&(_0x224f4c=_0x3e57e3(_0x224f4c)||_0x224f4c);return _0x224f4c;},Ne=(_0x523f18,_0x3237aa)=>(_0x39ef0b,_0x1e4232)=>_0x3237aa(_0x39ef0b,_0x1e4232,_0x523f18);let Z=class{constructor(_0x1e3458,_0x188497){const _0x253e32=_0x568b38;this[_0x253e32(0x2ba)]=_0x1e3458,this[_0x253e32(0x378)]=_0x188497;}[_0x568b38(0x19a)](_0x2da41d){const _0x1b2773=_0x568b38;var _0x297be8;const _0x1b0694=this['_injector'][_0x1b2773(0x1c5)](W[_0x1b2773(0x319)]),_0x593c6f=(_0x297be8=_0x1b0694[_0x1b2773(0x2b2)]())!=null?_0x297be8:[];if(_0x593c6f['length']===0x0)return;const _0x1d22e5=_0x2da41d[_0x1b2773(0x17e)],_0x48e440=[{'id':_0x1b2773(0x254),'params':{'unitId':_0x1d22e5,'actions':null,'textRanges':_0x593c6f}}],_0x55ee7f=this['_transformService'][_0x1b2773(0x291)](_0x2da41d,_0x48e440);if(!m['isTransformMutationsWithChangesetSuccess'](_0x55ee7f))throw _0x55ee7f[_0x1b2773(0x2d0)];const _0x5ebd95=_0x55ee7f[_0x1b2773(0x3a4)][0x0][_0x1b2773(0x376)][_0x1b2773(0x2a3)];Array[_0x1b2773(0x26d)](_0x5ebd95)&&_0x5ebd95['length']&&_0x1b0694[_0x1b2773(0x2fe)](_0x5ebd95,{'unitId':_0x1d22e5,'subUnitId':_0x1d22e5},!0x1);}};Z=Yt([Ne(0x0,a['Inject'](a[_0x568b38(0x2b1)])),Ne(0x1,m[_0x568b38(0x13e)])],Z);var Vt=Object[_0x568b38(0x196)],Xt=(_0x1226a8,_0x4049a1,_0x164501,_0x32e15d)=>{for(var _0x4f55b9=_0x32e15d>0x1?void 0x0:_0x32e15d?Vt(_0x4049a1,_0x164501):_0x4049a1,_0x49cc79=_0x1226a8['length']-0x1,_0x31579f;_0x49cc79>=0x0;_0x49cc79--)(_0x31579f=_0x1226a8[_0x49cc79])&&(_0x4f55b9=_0x31579f(_0x4f55b9)||_0x4f55b9);return _0x4f55b9;},N=(_0x1c04f6,_0x4a5196)=>(_0xeabda3,_0x4d3eb8)=>_0x4a5196(_0xeabda3,_0x4d3eb8,_0x1c04f6);let Q=class extends a[_0x568b38(0x30e)]{constructor(_0x1ac0bf,_0x103fbb,_0x465820,_0x19905a,_0x4e91b4,_0xb91178,_0x34da60,_0x2c19e3){const _0xf1eb4d=_0x568b38;super(),h(this,_0xf1eb4d(0x256),new d[(_0xf1eb4d(0x274))](u[_0xf1eb4d(0x249)]['NOT_COLLAB'])),(this['_docStateChangeManagerService']=_0x1ac0bf,this['_collaborationController']=_0x103fbb,this[_0xf1eb4d(0x1b4)]=_0x465820,this['_docTransformStateCacheService']=_0x19905a,this[_0xf1eb4d(0x348)]=_0x4e91b4,this[_0xf1eb4d(0x2dd)]=_0xb91178,this[_0xf1eb4d(0x3a8)]=_0x34da60,this['_localeService']=_0x2c19e3,this[_0xf1eb4d(0x237)]());}[_0x568b38(0x237)](){const _0x110381=_0x568b38;this[_0x110381(0x369)](this[_0x110381(0x1f6)]['entityInit$']['subscribe'](_0x35147f=>{const _0x60636b=_0x110381,_0x17daeb=this[_0x60636b(0x261)][_0x60636b(0x342)][_0x60636b(0x152)](_0x3bc209=>{const _0x5f3279=_0x60636b;if(_0x3bc209==null)return;const {unitId:_0x3235ce,redoState:_0x2120ca,commandId:_0x1abf31}=_0x3bc209;if(_0x3235ce!==_0x35147f['unitID'])return;const _0x397025={'id':_0x1abf31,'type':a[_0x5f3279(0x36a)][_0x5f3279(0x263)],'params':{'unitId':_0x3235ce,'actions':_0x2120ca[_0x5f3279(0x2d1)],'textRanges':null}};_0x35147f[_0x5f3279(0x31c)](_0x397025);});if(_0x35147f[_0x60636b(0x369)](_0x17daeb),_0x35147f instanceof u[_0x60636b(0x389)]){const _0x30c6ca={'onTransformIME':_0x3b361e=>this['_docTransformIMECacheService'][_0x60636b(0x2c4)](_0x3b361e),'onTransformState':_0x1fdf9f=>this['_docTransformStateCacheService']['transformStateCache'](_0x1fdf9f),'onTransformSelections':_0x371ba0=>this[_0x60636b(0x348)][_0x60636b(0x19a)](_0x371ba0),'onSyncEditingCollabCursor':_0x222805=>this['_docSyncEditingCollabCursorService'][_0x60636b(0x191)](_0x222805),'onTransformRemoteChangesetByIMECache':_0x1580d3=>this['_docTransformIMECacheService'][_0x60636b(0x1c1)](_0x1580d3),'onTransformRemoteChangesetByStateCache':_0x46d1a7=>this[_0x60636b(0x1aa)]['transformRemoteChangeset'](_0x46d1a7)};_0x35147f['addHandlerCallback'](_0x30c6ca);}}));}};Q=Xt([N(0x0,a[_0x568b38(0x26b)](b['DocStateChangeManagerService'])),N(0x1,a[_0x568b38(0x26b)](u['CollaborationController'])),N(0x2,a[_0x568b38(0x26b)](z)),N(0x3,a[_0x568b38(0x26b)](J)),N(0x4,a['Inject'](Z)),N(0x5,a['Inject'](Ce)),N(0x6,T['IMessageService']),N(0x7,a[_0x568b38(0x26b)](a[_0x568b38(0x1ff)]))],Q);var Gt=Object['getOwnPropertyDescriptor'],qt=(_0x11938b,_0x2fcf5f,_0x2e1d11,_0x23bb6d)=>{for(var _0x39973c=_0x23bb6d>0x1?void 0x0:_0x23bb6d?Gt(_0x2fcf5f,_0x2e1d11):_0x2fcf5f,_0x1f84d0=_0x11938b['length']-0x1,_0x1f34ba;_0x1f84d0>=0x0;_0x1f84d0--)(_0x1f34ba=_0x11938b[_0x1f84d0])&&(_0x39973c=_0x1f34ba(_0x39973c)||_0x39973c);return _0x39973c;},_e=(_0x5dcd2a,_0x4a0e45)=>(_0x224e68,_0x297951)=>_0x4a0e45(_0x224e68,_0x297951,_0x5dcd2a);let ge=class extends a['Disposable']{constructor(_0x3265b8,_0x47501a,_0xbebeed){const _0x3c0d01=_0x568b38;super(),h(this,_0x3c0d01(0x39f),new Map()),h(this,_0x3c0d01(0x27a),new Map()),h(this,'_disabled',!0x1),(this[_0x3c0d01(0x2f3)]=_0x3265b8,this[_0x3c0d01(0x1f8)]=_0x47501a,this[_0x3c0d01(0x245)]=_0xbebeed);}[_0x568b38(0x1f1)](){this['_disabled']=!0x0;}[_0x568b38(0x283)](){const _0x27ac65=_0x568b38;this[_0x27ac65(0x153)]=!0x1;}get['saveTaskMap'](){const _0x21bbfa=_0x568b38;return this[_0x21bbfa(0x27a)];}[_0x568b38(0x1a6)](){const _0x1867af=_0x568b38;this[_0x1867af(0x135)]()[_0x1867af(0x15d)](()=>super[_0x1867af(0x1a6)]());}async[_0x568b38(0x387)](_0x3c3300){const _0x1e76ad=_0x568b38;return this[_0x1e76ad(0x153)]?null:this['_localStorageService'][_0x1e76ad(0x323)](u[_0x1e76ad(0x3a6)](_0x3c3300));}async['saveOfflineData'](_0x49e53e,_0x114a25){const _0x1492e2=_0x568b38;return!!this[_0x1492e2(0x1f8)][_0x1492e2(0x3a5)](_0x49e53e,_0x114a25);}[_0x568b38(0x12a)](_0x14adee,_0x25e2d8,_0x33f2b8,_0x794712){const _0x37363b=_0x568b38,_0x39e559=this[_0x37363b(0x245)][_0x37363b(0x233)](_0x14adee);this['_cachedData'][_0x37363b(0x379)](_0x14adee,{'unitID':_0x14adee,'type':_0x25e2d8,'awaitingChangeset':_0x33f2b8,'mutations':_0x794712,'rev':_0x39e559}),this[_0x37363b(0x27a)][_0x37363b(0x347)](_0x14adee)||this[_0x37363b(0x315)](_0x14adee);}[_0x568b38(0x315)](_0x1431d3){const _0x15a4b0=_0x568b38,_0x40a87c=this[_0x15a4b0(0x23c)]();_0x40a87c===0x0?this[_0x15a4b0(0x195)](_0x1431d3):this[_0x15a4b0(0x27a)][_0x15a4b0(0x379)](_0x1431d3,setTimeout(()=>this[_0x15a4b0(0x195)](_0x1431d3),_0x40a87c));}['_getSaveTimeout'](){const _0x680cad=_0x568b38;var _0x4c9661;return(_0x4c9661=this[_0x680cad(0x2f3)][_0x680cad(0x38c)](u[_0x680cad(0x18f)]))!=null?_0x4c9661:u[_0x680cad(0x34c)];}['_saveCache'](_0x4699d3){const _0x56b0e4=_0x568b38,_0x4cb601=this[_0x56b0e4(0x27a)]['get'](_0x4699d3);return _0x4cb601!==void 0x0&&window['clearTimeout'](_0x4cb601),this[_0x56b0e4(0x1f8)][_0x56b0e4(0x3a5)](u[_0x56b0e4(0x3a6)](_0x4699d3),this[_0x56b0e4(0x39f)]['get'](_0x4699d3))[_0x56b0e4(0x15d)](()=>this[_0x56b0e4(0x27a)][_0x56b0e4(0x144)](_0x4699d3));}async[_0x568b38(0x135)](){const _0x194fa8=_0x568b38,_0x296f78=[];this[_0x194fa8(0x27a)][_0x194fa8(0x13c)]((_0x5bd9b3,_0x48ce4d)=>{const _0x65fc93=_0x194fa8;window['clearTimeout'](_0x5bd9b3),_0x296f78[_0x65fc93(0x284)](this['_saveCache'](_0x48ce4d)[_0x65fc93(0x15d)](()=>{const _0x5e2de0=_0x65fc93;this[_0x5e2de0(0x27a)][_0x5e2de0(0x144)](_0x48ce4d);}));}),await Promise['all'](_0x296f78);}};ge=qt([_e(0x0,a[_0x568b38(0x2d6)]),_e(0x1,a[_0x568b38(0x265)]),_e(0x2,a[_0x568b38(0x26b)](m[_0x568b38(0x262)]))],ge);class je extends a[_0x568b38(0x327)]{constructor(){const _0x12f178=_0x568b38;super(),h(this,'urlChange$'),this[_0x12f178(0x147)]=d[_0x12f178(0x332)](window,'popstate')['pipe'](d[_0x12f178(0x33c)](this[_0x12f178(0x221)]),d['shareReplay'](0x1),d[_0x12f178(0x382)](void 0x0));}[_0x568b38(0x2bc)](_0x2a098,_0x3561e9,_0x300047=!0x1){const _0x3cceb4=_0x568b38,_0x410eef=new URL(window['location'][_0x3cceb4(0x258)]);_0x410eef[_0x3cceb4(0x132)][_0x3cceb4(0x379)](_0x2a098,_0x3561e9),_0x300047?window[_0x3cceb4(0x390)][_0x3cceb4(0x19e)]('','',_0x410eef[_0x3cceb4(0x188)]()):window[_0x3cceb4(0x390)]['pushState']('','',_0x410eef['toString']());}[_0x568b38(0x278)](_0x4918f3,_0x403684=!0x1){const _0x483128=_0x568b38,_0x4f53a0=new URL(window[_0x483128(0x30d)][_0x483128(0x258)]);_0x4f53a0[_0x483128(0x132)][_0x483128(0x144)](_0x4918f3),_0x403684?window[_0x483128(0x390)]['replaceState']('','',_0x4f53a0[_0x483128(0x188)]()):window[_0x483128(0x390)][_0x483128(0x310)]('','',_0x4f53a0[_0x483128(0x188)]());}[_0x568b38(0x156)](_0x1ca12e){const _0x7d682c=_0x568b38;var _0xd3dc22;return(_0xd3dc22=new URL(window['location'][_0x7d682c(0x258)])[_0x7d682c(0x132)][_0x7d682c(0x1c5)](_0x1ca12e))!=null?_0xd3dc22:void 0x0;}}var Kt=Object[_0x568b38(0x182)],zt=Object['getOwnPropertyDescriptor'],Jt=(_0x24fdc5,_0x2b552e,_0x180e12)=>_0x2b552e in _0x24fdc5?Kt(_0x24fdc5,_0x2b552e,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x180e12}):_0x24fdc5[_0x2b552e]=_0x180e12,Zt=(_0x2bef29,_0x28da92,_0x302f52,_0xa0cecf)=>{const _0x4e1ccf=_0x568b38;for(var _0x2c2b77=_0xa0cecf>0x1?void 0x0:_0xa0cecf?zt(_0x28da92,_0x302f52):_0x28da92,_0x265188=_0x2bef29[_0x4e1ccf(0x2bd)]-0x1,_0x339018;_0x265188>=0x0;_0x265188--)(_0x339018=_0x2bef29[_0x265188])&&(_0x2c2b77=_0x339018(_0x2c2b77)||_0x2c2b77);return _0x2c2b77;},he=(_0x3770c6,_0x41d4ac)=>(_0x350cbc,_0xd7127b)=>_0x41d4ac(_0x350cbc,_0xd7127b,_0x3770c6),Qt=(_0x5c763e,_0x2dbe28,_0x303563)=>Jt(_0x5c763e,_0x2dbe28+'',_0x303563);const es=_0x568b38(0x1e3);exports['UniverCollaborationClientUIPlugin']=class extends a[_0x568b38(0x208)]{constructor(_0x230470=Ue,_0x2d8012,_0x1a17d8,_0x580b7b){const _0x276360=_0x568b38;super(),this[_0x276360(0x3ad)]=_0x230470,this[_0x276360(0x37c)]=_0x2d8012,this[_0x276360(0x2ba)]=_0x1a17d8,this[_0x276360(0x2f3)]=_0x580b7b;const {..._0x40de2b}=a[_0x276360(0x1a8)]({},Ue,this[_0x276360(0x3ad)]);this[_0x276360(0x2f3)][_0x276360(0x37f)]($t,_0x40de2b);}[_0x568b38(0x33e)](){const _0x4e0963=_0x568b38;this[_0x4e0963(0x25c)](),this[_0x4e0963(0x1ac)]();}[_0x568b38(0x32b)](){this['_registerRenderDependencies']();}[_0x568b38(0x25c)](){const _0x114964=_0x568b38;var _0x1c0a25;const _0x453ad7=[[me],[Z],[z],[J],[Ce],[be,{'useClass':je}],[G[_0x114964(0x386)],{'useClass':G['WebSocketService']}],[u[_0x114964(0x31b)],{'useClass':ge}],[exports[_0x114964(0x186)]],[Q],[K],[x],[de],[exports[_0x114964(0x322)]]];a['registerDependencies'](this[_0x114964(0x2ba)],a['mergeOverrideWithDependencies'](_0x453ad7,(_0x1c0a25=this[_0x114964(0x3ad)])==null?void 0x0:_0x1c0a25[_0x114964(0x219)]));}['_registerRenderDependencies'](){const _0xbf82a7=_0x568b38;this[_0xbf82a7(0x369)](this[_0xbf82a7(0x37c)][_0xbf82a7(0x252)](a[_0xbf82a7(0x15a)][_0xbf82a7(0x371)],[Ie])),this['disposeWithMe'](this['_renderManagerService'][_0xbf82a7(0x252)](a['UniverInstanceType']['UNIVER_SHEET'],[ve]));}[_0x568b38(0x1ac)](){const _0x315f77=_0x568b38;a['touchDependencies'](this[_0x315f77(0x2ba)],[[x],[exports[_0x315f77(0x186)]],[Q],[K],[exports['CollaborationDataLoaderController']]]);}},Qt(exports[_0x568b38(0x1be)],'pluginName',es),exports[_0x568b38(0x1be)]=Zt([a['DependentOn'](u['UniverCollaborationClientPlugin']),he(0x1,p[_0x568b38(0x305)]),he(0x2,a['Inject'](a[_0x568b38(0x2b1)])),he(0x3,a[_0x568b38(0x2d6)])],exports[_0x568b38(0x1be)]);var ts=Object[_0x568b38(0x196)],ss=(_0x24f057,_0x1f69a2,_0x101f19,_0x59c4e2)=>{const _0xd1327b=_0x568b38;for(var _0x332b57=_0x59c4e2>0x1?void 0x0:_0x59c4e2?ts(_0x1f69a2,_0x101f19):_0x1f69a2,_0xbeefcb=_0x24f057[_0xd1327b(0x2bd)]-0x1,_0x52c728;_0xbeefcb>=0x0;_0xbeefcb--)(_0x52c728=_0x24f057[_0xbeefcb])&&(_0x332b57=_0x52c728(_0x332b57)||_0x332b57);return _0x332b57;},F=(_0x3329ee,_0x197b60)=>(_0x49d502,_0x4078d3)=>_0x197b60(_0x49d502,_0x4078d3,_0x3329ee);exports['BrowserCollaborationSocketService']=class extends u[_0x568b38(0x338)]{constructor(_0x19ce79,_0x299372,_0x2f3a93,_0x1ec28c,_0x2f8023){super(_0x19ce79,_0x299372,_0x2f3a93,_0x1ec28c,_0x2f8023);}async[_0x568b38(0x362)](_0x1d367c){const _0x4076bf=await this['_getSessionTicket'](),_0x332fa8=this['_createSocketURL'](_0x1d367c,_0x4076bf);return this['_doCreateSocket'](_0x332fa8);}['_createSocketURL'](_0x571d40,_0x4bc87a){const _0x5ed0ac=_0x568b38,_0x176160=typeof window>'u'?new URL(_0x571d40):new URL(_0x571d40,window[_0x5ed0ac(0x30d)]['origin']);_0x176160['searchParams'][_0x5ed0ac(0x379)](_0x5ed0ac(0x20e),_0x4bc87a);const _0x2422af=typeof window>'u'?new URLSearchParams():new URLSearchParams(window[_0x5ed0ac(0x30d)][_0x5ed0ac(0x28e)]);return _0x2422af[_0x5ed0ac(0x1c5)]('runId')&&_0x176160['searchParams'][_0x5ed0ac(0x379)](_0x5ed0ac(0x2a1),_0x2422af[_0x5ed0ac(0x1c5)](_0x5ed0ac(0x2a1))),_0x176160[_0x5ed0ac(0x188)]();}async['_getSessionTicket'](){const _0x2a3df6=_0x568b38;var _0x55fed1,_0x4cacaf,_0x208a34;const _0x5a6bed=this[_0x2a3df6(0x2f3)][_0x2a3df6(0x38c)](u[_0x2a3df6(0x205)]),_0x2f2562=(_0x55fed1=_0x5a6bed==null?void 0x0:_0x5a6bed[_0x2a3df6(0x2c8)])!=null?_0x55fed1:u['DEFAULT_WS_SESSION_TICKET_URL'];return(_0x208a34=(_0x4cacaf=(await this['_httpService'][_0x2a3df6(0x1c5)](_0x2f2562,{'headers':{'Content-Type':_0x2a3df6(0x2a7)}}))['body'])==null?void 0x0:_0x4cacaf[_0x2a3df6(0x356)])!=null?_0x208a34:'';}},exports[_0x568b38(0x2d5)]=ss([F(0x0,a[_0x568b38(0x26b)](a[_0x568b38(0x2b1)])),F(0x1,a[_0x568b38(0x26b)](G['HTTPService'])),F(0x2,a[_0x568b38(0x2d6)]),F(0x3,a[_0x568b38(0x20b)]),F(0x4,m[_0x568b38(0x1cd)])],exports['BrowserCollaborationSocketService']);const Me=0x7530,Le=_0x568b38(0x316);class is extends a[_0x568b38(0x30e)]{constructor(){const _0x4c27ab=_0x568b38;super(),h(this,'_id',a['generateRandomId']()),h(this,_0x4c27ab(0x1e0),new Set()),h(this,'_unitOnClients',new Map()),h(this,_0x4c27ab(0x227),null),h(this,'_clearOtherTimers',new Map()),h(this,_0x4c27ab(0x2b0),new Map()),this[_0x4c27ab(0x246)]();}['dispose'](){const _0x4d7bc6=_0x568b38;super[_0x4d7bc6(0x1a6)](),this[_0x4d7bc6(0x2e5)][_0x4d7bc6(0x13c)]((_0x3fed54,_0x5e8669)=>this[_0x4d7bc6(0x1b7)](_0x5e8669)),this[_0x4d7bc6(0x227)]&&window[_0x4d7bc6(0x23e)](this[_0x4d7bc6(0x227)]);}[_0x568b38(0x3a3)](_0x21c5b5){const _0x626ae=_0x568b38;return this[_0x626ae(0x1c8)](_0x21c5b5)[_0x626ae(0x1db)](d[_0x626ae(0x22b)]());}[_0x568b38(0x197)](_0x403e71){const _0x5ac186=_0x568b38;this[_0x5ac186(0x1e0)][_0x5ac186(0x26a)]===0x0&&this[_0x5ac186(0x175)](),this['_selfUnitIDs'][_0x5ac186(0x3ab)](_0x403e71),this['_send']({'type':0x0,'memberID':this[_0x5ac186(0x154)],'unitIDs':[_0x403e71],'isForwarded':!0x1});}['disposeUnit'](_0x5d6b69){const _0x367944=_0x568b38;this['_selfUnitIDs'][_0x367944(0x144)](_0x5d6b69),this[_0x367944(0x1e0)][_0x367944(0x26a)]===0x0&&this['_heartbeatTimer']&&window[_0x367944(0x23e)](this[_0x367944(0x227)]);}[_0x568b38(0x246)](){const _0x1f272f=_0x568b38;this['disposeWithMe'](a[_0x1f272f(0x373)](d['fromEvent'](window,_0x1f272f(0x1c9))[_0x1f272f(0x152)](_0x4b1ef8=>{const _0x1b9c3e=_0x1f272f;if(_0x4b1ef8[_0x1b9c3e(0x1ad)]!==Le||!_0x4b1ef8[_0x1b9c3e(0x384)])return;const _0x3cee13=JSON[_0x1b9c3e(0x19c)](_0x4b1ef8[_0x1b9c3e(0x384)]);this[_0x1b9c3e(0x21e)](_0x3cee13);}))),window[_0x1f272f(0x38e)](_0x1f272f(0x224),()=>this[_0x1f272f(0x286)]({'type':0x1,'memberID':this[_0x1f272f(0x154)],'unitIDs':Array[_0x1f272f(0x16f)](this[_0x1f272f(0x1e0)])}));}[_0x568b38(0x21e)](_0x24b916){const _0x4d7a84=_0x568b38;switch(_0x24b916['type']){case 0x0:this[_0x4d7a84(0x1d2)](_0x24b916);break;case 0x1:this[_0x4d7a84(0x331)](_0x24b916);break;case 0x2:this['_handleHeartbeatEvent'](_0x24b916);break;}}[_0x568b38(0x1d2)](_0x448f55){const _0x53d942=_0x568b38,{unitIDs:_0x1e2101,memberID:_0x390c4f,isForwarded:_0x20171f}=_0x448f55;_0x1e2101[_0x53d942(0x13c)](_0x190afb=>{const _0x37f373=_0x53d942;if(!_0x20171f&&this[_0x37f373(0x1d1)][_0x37f373(0x347)](_0x190afb)&&this['_ensureSubject'](_0x190afb)[_0x37f373(0x1c7)](u[_0x37f373(0x1f7)][_0x37f373(0x2eb)]),!this[_0x37f373(0x1d1)][_0x37f373(0x347)](_0x190afb)||!this['_unitOnClients']['get'](_0x190afb)[_0x37f373(0x347)](_0x390c4f)){const _0x2aeb67=this[_0x37f373(0x1d1)][_0x37f373(0x1c5)](_0x190afb)||new Set();_0x2aeb67['add'](_0x390c4f),this[_0x37f373(0x1d1)]['set'](_0x190afb,_0x2aeb67),this[_0x37f373(0x16a)](_0x390c4f);}}),_0x20171f||this['_send']({'type':0x0,'memberID':this[_0x53d942(0x154)],'unitIDs':[...this['_selfUnitIDs']],'isForwarded':!0x0});}[_0x568b38(0x16a)](_0x4617bb){const _0x5069e4=_0x568b38;this['_removeClearOtherTimer'](_0x4617bb);const _0x26931e=window[_0x5069e4(0x35a)](()=>{const _0x4d4a2b=_0x5069e4;this[_0x4d4a2b(0x1d1)]['forEach'](_0x3026f4=>{const _0x40d76b=_0x4d4a2b;_0x3026f4[_0x40d76b(0x144)](_0x4617bb);});},Me*0x2);this[_0x5069e4(0x2e5)][_0x5069e4(0x379)](_0x4617bb,_0x26931e);}[_0x568b38(0x1b7)](_0x2af447){const _0x67dff7=_0x568b38;if(this['_clearOtherTimers'][_0x67dff7(0x347)](_0x2af447)){const _0x473011=this[_0x67dff7(0x2e5)]['get'](_0x2af447);_0x473011&&window[_0x67dff7(0x25b)](_0x473011),this[_0x67dff7(0x2e5)][_0x67dff7(0x379)](_0x2af447,null);}}[_0x568b38(0x331)](_0x44eac4){const _0x175c43=_0x568b38,{memberID:_0x24345a,unitIDs:_0x48b01a}=_0x44eac4;_0x48b01a[_0x175c43(0x13c)](_0x2c7ce3=>{const _0x5383d4=_0x175c43;var _0x565952;const _0x2fd953=this[_0x5383d4(0x1d1)][_0x5383d4(0x1c5)](_0x2c7ce3);_0x2fd953&&(_0x2fd953['delete'](_0x24345a),(_0x565952=this[_0x5383d4(0x1c8)](_0x2c7ce3))==null||_0x565952[_0x5383d4(0x1c7)](_0x2fd953[_0x5383d4(0x26a)]===0x0?u[_0x5383d4(0x1f7)][_0x5383d4(0x189)]:u[_0x5383d4(0x1f7)][_0x5383d4(0x2eb)]));}),this[_0x175c43(0x1b7)](_0x24345a);}['_handleHeartbeatEvent'](_0x3059f1){const _0x184ee0=_0x568b38;this[_0x184ee0(0x16a)](_0x3059f1[_0x184ee0(0x38d)]);}[_0x568b38(0x286)](_0x281a87){const _0x578d57=_0x568b38;localStorage[_0x578d57(0x3a5)](Le,JSON[_0x578d57(0x222)](_0x281a87));}[_0x568b38(0x175)](){const _0x553010=_0x568b38;this[_0x553010(0x227)]=window[_0x553010(0x236)](()=>{const _0xff6dcd=_0x553010;this[_0xff6dcd(0x286)]({'type':0x2,'memberID':this[_0xff6dcd(0x154)]});},Me);}['_ensureSubject'](_0x263759){const _0x5de6ec=_0x568b38;return this['_unitStatus'][_0x5de6ec(0x347)](_0x263759)||this['_unitStatus']['set'](_0x263759,new d[(_0x5de6ec(0x274))](u[_0x5de6ec(0x1f7)]['NO_OTHER_CLIENTS_EDITING'])),this[_0x5de6ec(0x2b0)][_0x5de6ec(0x1c5)](_0x263759);}}var Be=(_0x59e6c5=>(_0x59e6c5[_0x59e6c5['UNDEFINED']=0x0]=_0x568b38(0x365),_0x59e6c5[_0x59e6c5['OK']=0x1]='OK',_0x59e6c5[_0x59e6c5['INTERNAL_ERROR']=0x2]='INTERNAL_ERROR',_0x59e6c5[_0x59e6c5[_0x568b38(0x1a1)]=0x3]=_0x568b38(0x1a1),_0x59e6c5[_0x59e6c5[_0x568b38(0x2a9)]=0x4]=_0x568b38(0x2a9),_0x59e6c5[_0x59e6c5['UNAUTHENTICATED']=0x5]=_0x568b38(0x2aa),_0x59e6c5[_0x59e6c5[_0x568b38(0x346)]=0x6]=_0x568b38(0x346),_0x59e6c5[_0x59e6c5[_0x568b38(0x2e4)]=0x7]=_0x568b38(0x2e4),_0x59e6c5[_0x59e6c5[_0x568b38(0x1f9)]=0x8]=_0x568b38(0x1f9),_0x59e6c5[_0x59e6c5[_0x568b38(0x300)]=0x9]='COMPLETION_FINISHED',_0x59e6c5[_0x59e6c5[_0x568b38(0x39b)]=0xa]=_0x568b38(0x39b),_0x59e6c5[_0x59e6c5[_0x568b38(0x354)]=0x1389]=_0x568b38(0x354),_0x59e6c5[_0x59e6c5[_0x568b38(0x21d)]=0x1771]=_0x568b38(0x21d),_0x59e6c5[_0x59e6c5[_0x568b38(0x2f4)]=0x1772]='SNAPSHOT_HAS_BEEN_REMOVED',_0x59e6c5[_0x59e6c5[_0x568b38(0x184)]=0x1773]=_0x568b38(0x184),_0x59e6c5[_0x59e6c5['APPLY_REJECT']=0x1b59]=_0x568b38(0x16e),_0x59e6c5[_0x59e6c5[_0x568b38(0x2d8)]=0x1b5a]=_0x568b38(0x2d8),_0x59e6c5[_0x59e6c5[_0x568b38(0x2a8)]=0x1b5b]=_0x568b38(0x2a8),_0x59e6c5[_0x59e6c5[_0x568b38(0x20a)]=0x1b5c]=_0x568b38(0x20a),_0x59e6c5[_0x59e6c5['APPLY_DUPLICATED']=0x1b5d]=_0x568b38(0x14e),_0x59e6c5[_0x59e6c5[_0x568b38(0x209)]=0x1f41]='CONNECTOR_DATA_TOO_LARGE',_0x59e6c5[_0x59e6c5[_0x568b38(0x271)]=0x2329]='LICENSE_MAX_UNITS_EXCEEDED',_0x59e6c5[_0x59e6c5[_0x568b38(0x207)]=0x232a]=_0x568b38(0x207),_0x59e6c5[_0x59e6c5[_0x568b38(0x2f9)]=0x232b]=_0x568b38(0x2f9),_0x59e6c5[_0x59e6c5[_0x568b38(0x34a)]=0x232c]=_0x568b38(0x34a),_0x59e6c5[_0x59e6c5[_0x568b38(0x1fe)]=0x232d]='LICENSE_DISTRO_REJECTED',_0x59e6c5[_0x59e6c5[_0x568b38(0x360)]=0x2711]=_0x568b38(0x360),_0x59e6c5[_0x59e6c5[_0x568b38(0x304)]=0x2712]=_0x568b38(0x304),_0x59e6c5[_0x59e6c5['YUUMI_RATE_OVER_LIMIT']=0x2713]=_0x568b38(0x334),_0x59e6c5[_0x59e6c5[_0x568b38(0x18c)]=0x2714]='YUUMI_SUBSCRIPTION_NOT_FOUND',_0x59e6c5[_0x59e6c5[_0x568b38(0x1b3)]=0x271a]=_0x568b38(0x1b3),_0x59e6c5[_0x59e6c5['YUUMI_ASYNCIO_CANCELLED']=0x271b]=_0x568b38(0x2e1),_0x59e6c5[_0x59e6c5[_0x568b38(0x2d7)]=0x2af9]='PY_RUNTIME_SCRIPT_ERROR',_0x59e6c5[_0x59e6c5[_0x568b38(0x2f6)]=0x2ee1]=_0x568b38(0x2f6),_0x59e6c5[_0x59e6c5[_0x568b38(0x193)]=0x2ee2]=_0x568b38(0x193),_0x59e6c5[_0x59e6c5['INVITE_CODE_REQUIRED']=0x2ee3]=_0x568b38(0x349),_0x59e6c5[_0x59e6c5[_0x568b38(0x2ac)]=0x2ee4]=_0x568b38(0x2ac),_0x59e6c5[_0x59e6c5[_0x568b38(0x25a)]=0x2ee5]=_0x568b38(0x25a),_0x59e6c5[_0x59e6c5[_0x568b38(0x28a)]=0x32c9]=_0x568b38(0x28a),_0x59e6c5[_0x59e6c5[_0x568b38(0x1d6)]=0x32ca]=_0x568b38(0x1d6),_0x59e6c5[_0x59e6c5[_0x568b38(0x2e9)]=0x32cb]=_0x568b38(0x2e9),_0x59e6c5[_0x59e6c5[_0x568b38(0x1ec)]=-0x1]=_0x568b38(0x1ec),_0x59e6c5))(Be||{}),ns=Object[_0x568b38(0x196)],rs=(_0x4ba6c3,_0x208799,_0x14ce17,_0x5d6ede)=>{for(var _0x4fa9ea=_0x5d6ede>0x1?void 0x0:_0x5d6ede?ns(_0x208799,_0x14ce17):_0x208799,_0x26b2ba=_0x4ba6c3['length']-0x1,_0x1b7d3f;_0x26b2ba>=0x0;_0x26b2ba--)(_0x1b7d3f=_0x4ba6c3[_0x26b2ba])&&(_0x4fa9ea=_0x1b7d3f(_0x4fa9ea)||_0x4fa9ea);return _0x4fa9ea;},ue=(_0x575b15,_0x1c81f1)=>(_0x4a2a9b,_0x307a43)=>_0x1c81f1(_0x4a2a9b,_0x307a43,_0x575b15);exports[_0x568b38(0x266)]=class extends a['Disposable']{constructor(_0x32ff6f,_0x441a90,_0x5a15a3){const _0x31fdf9=_0x568b38;super(),this['_instanceService']=_0x32ff6f,this['_httpService']=_0x441a90,this[_0x31fdf9(0x2f3)]=_0x5a15a3;}async[_0x568b38(0x272)](_0x3886fc,_0xd27bda,_0x3e47e4,..._0x2ad417){const _0x24bd1d=_0x568b38;var _0x51b6e1,_0x289af8,_0x44684c,_0x29ac1a;const _0x4c84ff=this[_0x24bd1d(0x198)][_0x24bd1d(0x32e)]();if(!_0x4c84ff)throw new Error('[RemoteUniscriptService]:\x20no\x20focused\x20unit');const _0x38f40b=((_0x51b6e1=this['_configService'][_0x24bd1d(0x38c)](u[_0x24bd1d(0x269)]))!=null?_0x51b6e1:u[_0x24bd1d(0x2b8)])+'/'+_0x3886fc+'/run/'+_0xd27bda,_0x11a5e7=new URL(window[_0x24bd1d(0x30d)]['href']),_0x508cb2={'scriptId':_0x3886fc,'runId':(_0x289af8=_0x11a5e7[_0x24bd1d(0x132)]['get'](_0x24bd1d(0x2a1)))!=null?_0x289af8:'','function':_0xd27bda,'unitId':_0x4c84ff[_0x24bd1d(0x2e8)](),'argsOfFunction':JSON[_0x24bd1d(0x222)](_0x2ad417),'invokeId':(_0x44684c=_0x3e47e4['invokeId'])!=null?_0x44684c:'','executionId':(_0x29ac1a=_0x3e47e4['executionId'])!=null?_0x29ac1a:''};try{const _0x21110e=await this[_0x24bd1d(0x39c)][_0x24bd1d(0x368)](_0x38f40b,{'body':_0x508cb2});return _0x21110e[_0x24bd1d(0x169)][_0x24bd1d(0x2d0)]&&_0x21110e['body']['error'][_0x24bd1d(0x27d)]!==Be['OK']?_0x24bd1d(0x297):_0x21110e[_0x24bd1d(0x169)][_0x24bd1d(0x321)];}catch{return _0x24bd1d(0x297);}}},exports[_0x568b38(0x266)]=rs([ue(0x0,a[_0x568b38(0x1a5)]),ue(0x1,a['Inject'](G[_0x568b38(0x2b4)])),ue(0x2,a[_0x568b38(0x2d6)])],exports[_0x568b38(0x266)]),exports[_0x568b38(0x239)]=xe,exports[_0x568b38(0x37a)]=be,exports[_0x568b38(0x1fa)]=we,exports[_0x568b38(0x21b)]=is,exports[_0x568b38(0x20f)]=je;
|
package/lib/cjs/locale/en-US.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
'use strict';
|
|
1
|
+
'use strict';const _0x112bca=_0x3747;(function(_0x3d0fb1,_0x3dbc13){const _0x4bc754=_0x3747,_0x2e9175=_0x3d0fb1();while(!![]){try{const _0xdf98fa=parseInt(_0x4bc754(0x1f4))/0x1*(parseInt(_0x4bc754(0x201))/0x2)+parseInt(_0x4bc754(0x20b))/0x3*(parseInt(_0x4bc754(0x1f9))/0x4)+parseInt(_0x4bc754(0x1fd))/0x5+parseInt(_0x4bc754(0x1fb))/0x6*(-parseInt(_0x4bc754(0x1f3))/0x7)+parseInt(_0x4bc754(0x20a))/0x8*(parseInt(_0x4bc754(0x206))/0x9)+parseInt(_0x4bc754(0x1f6))/0xa+parseInt(_0x4bc754(0x202))/0xb*(-parseInt(_0x4bc754(0x1f5))/0xc);if(_0xdf98fa===_0x3dbc13)break;else _0x2e9175['push'](_0x2e9175['shift']());}catch(_0x417ed5){_0x2e9175['push'](_0x2e9175['shift']());}}}(_0x30e1,0x80570));const e={'collab-client':{'tooltip':{'reconnect':_0x112bca(0x1fa)}},'collabStatus':{'fetchMiss':_0x112bca(0x209),'conflict':_0x112bca(0x203),'notCollab':'Local\x20file','synced':'Synced','syncing':_0x112bca(0x200),'offline':_0x112bca(0x207)},'session':{'connection-failed':_0x112bca(0x1fc),'will-retry':_0x112bca(0x1f8),'room-full':'Collaboration\x20room\x20is\x20full.\x20You\x20edits\x20would\x20be\x20saved\x20locally.','collaboration-timeout':_0x112bca(0x1ff)},'conflict':{'title':_0x112bca(0x205),'content':_0x112bca(0x208)},'permission':{'title':_0x112bca(0x1fe),'content':'Your\x20actions\x20are\x20conflicting\x20with\x20the\x20server\x27s\x20permissions.\x20Please\x20save\x20your\x20local\x20edits\x20elsewhere\x20as\x20they\x20will\x20be\x20discarded\x20after\x20refreshing\x20the\x20page.'},'collaboration':{'single-unit':{'warning':_0x112bca(0x204)},'closeRoom':_0x112bca(0x1f7)},'auth':{'needGotoLoginAlert':'Your\x20login\x20has\x20expired,\x20click\x20OK\x20to\x20re-login,\x20click\x20Cancel\x20to\x20save\x20your\x20local\x20edits.'}};function _0x30e1(){const _0x940aa9=['Authentication\x20Error','The\x20server\x20is\x20not\x20responding\x20to\x20your\x20collaboration\x20request.\x20Your\x20edits\x20would\x20be\x20saved\x20locally.','Syncing...','163738VjGovg','385cozhzt','Edit\x20conflicts','You\x20opened\x20the\x20same\x20file\x20in\x20another\x20tab.\x20In\x20case\x20of\x20data\x20missing,\x20you\x20cannot\x20edit\x20on\x20this\x20tab.','Collaboration\x20Conflict','9UigltR','Offline,\x20edits\x20would\x20be\x20save\x20on\x20local','There\x20is\x20a\x20conflict\x20between\x20your\x20local\x20copy\x20and\x20the\x20copy\x20on\x20the\x20server.\x20Please\x20save\x20your\x20local\x20edits,\x20because\x20they\x20will\x20be\x20lost\x20when\x20you\x20reload\x20the\x20page.','Syncing\x20server\x20data...','3027512xqqjpC','99aeKFUZ','887222wOMtdi','4IAoAyS','738168ZcIStp','1256090rpujuY','Editing\x20privileges\x20were\x20revoked\x20because\x20the\x20collaborative\x20room\x20was\x20closed.','Connection\x20failed,\x20we\x20retry\x20in\x20a\x20while.','119740ZlcLqR','Click\x20to\x20Reconnect','6YYeGFo','Connection\x20failed,\x20please\x20check\x20your\x20network.','4930185UsTNxl'];_0x30e1=function(){return _0x940aa9;};return _0x30e1();}function _0x3747(_0x72f150,_0x596d3e){const _0x30e1d3=_0x30e1();return _0x3747=function(_0x374726,_0x3c57aa){_0x374726=_0x374726-0x1f3;let _0x366f2d=_0x30e1d3[_0x374726];return _0x366f2d;},_0x3747(_0x72f150,_0x596d3e);}module['exports']=e;
|