@univerjs-pro/collaboration-client-ui 0.8.0-nightly.202506021607 → 0.8.0-nightly.202506031608
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/cjs/facade.js +1 -1
- package/lib/cjs/index.js +1 -1
- package/lib/cjs/locale/en-US.js +1 -1
- package/lib/cjs/locale/fa-IR.js +1 -1
- package/lib/cjs/locale/fr-FR.js +1 -1
- package/lib/cjs/locale/ru-RU.js +1 -1
- package/lib/cjs/locale/vi-VN.js +1 -1
- package/lib/cjs/locale/zh-CN.js +1 -1
- package/lib/cjs/locale/zh-TW.js +1 -1
- package/lib/es/facade.js +1 -1
- package/lib/es/index.js +1 -1
- package/lib/es/locale/en-US.js +1 -1
- package/lib/es/locale/fa-IR.js +1 -1
- package/lib/es/locale/fr-FR.js +1 -1
- package/lib/es/locale/ru-RU.js +1 -1
- package/lib/es/locale/vi-VN.js +1 -1
- package/lib/es/locale/zh-CN.js +1 -1
- package/lib/es/locale/zh-TW.js +1 -1
- package/lib/facade.js +1 -1
- package/lib/index.js +1 -1
- package/lib/locale/en-US.js +1 -1
- package/lib/locale/fa-IR.js +1 -1
- package/lib/locale/fr-FR.js +1 -1
- package/lib/locale/ru-RU.js +1 -1
- package/lib/locale/vi-VN.js +1 -1
- package/lib/locale/zh-CN.js +1 -1
- package/lib/locale/zh-TW.js +1 -1
- package/lib/umd/facade.js +1 -1
- package/lib/umd/index.js +1 -1
- package/lib/umd/locale/en-US.js +1 -1
- package/lib/umd/locale/fa-IR.js +1 -1
- package/lib/umd/locale/fr-FR.js +1 -1
- package/lib/umd/locale/ru-RU.js +1 -1
- package/lib/umd/locale/vi-VN.js +1 -1
- package/lib/umd/locale/zh-CN.js +1 -1
- package/lib/umd/locale/zh-TW.js +1 -1
- package/package.json +17 -17
package/lib/cjs/facade.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
'use strict';const
|
|
1
|
+
'use strict';const _0x1dc7c4=_0x1151;(function(_0x1392cb,_0x2c04b){const _0x3774c6=_0x1151,_0x5adb5c=_0x1392cb();while(!![]){try{const _0x8de721=-parseInt(_0x3774c6(0x86))/0x1+-parseInt(_0x3774c6(0x7b))/0x2+-parseInt(_0x3774c6(0x80))/0x3*(-parseInt(_0x3774c6(0x83))/0x4)+parseInt(_0x3774c6(0x79))/0x5+-parseInt(_0x3774c6(0x82))/0x6+parseInt(_0x3774c6(0x7d))/0x7+parseInt(_0x3774c6(0x7f))/0x8*(parseInt(_0x3774c6(0x88))/0x9);if(_0x8de721===_0x2c04b)break;else _0x5adb5c['push'](_0x5adb5c['shift']());}catch(_0x484f48){_0x5adb5c['push'](_0x5adb5c['shift']());}}}(_0x4043,0x3d12c));const t=require(_0x1dc7c4(0x87)),e=require(_0x1dc7c4(0x7e));class c extends e['FUniver']{['runOnServer'](_0x42dd0a,_0x5881ae,..._0x3a460a){const _0x5128e7=_0x1dc7c4;return this[_0x5128e7(0x85)][_0x5128e7(0x7c)](t[_0x5128e7(0x7a)])[_0x5128e7(0x81)](_0x42dd0a,_0x5881ae,{},..._0x3a460a);}}e[_0x1dc7c4(0x84)]['extend'](c);function _0x1151(_0x468350,_0xb36382){const _0x4043bf=_0x4043();return _0x1151=function(_0x1151cc,_0x2926fc){_0x1151cc=_0x1151cc-0x79;let _0x5b937f=_0x4043bf[_0x1151cc];return _0x5b937f;},_0x1151(_0x468350,_0xb36382);}function _0x4043(){const _0x3ad5a5=['16XYgCkI','FUniver','_injector','247457kKVjnE','@univerjs-pro/collaboration-client-ui','9bIRhiE','41770uCWIAC','RemoteUniscriptService','393246hLhtcL','get','2748550McKNdj','@univerjs/core/facade','3643048BCWycI','51033bIxgVs','runOnServer','1381158jIWytG'];_0x4043=function(){return _0x3ad5a5;};return _0x4043();}
|
package/lib/cjs/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
'use strict';const _0x4711bf=_0x5c67;(function(_0x41e327,_0x35a396){const _0x4f6813=_0x5c67,_0x1dfbf9=_0x41e327();while(!![]){try{const _0x2efa00=parseInt(_0x4f6813(0x28f))/0x1*(parseInt(_0x4f6813(0x1cc))/0x2)+parseInt(_0x4f6813(0x2c9))/0x3*(-parseInt(_0x4f6813(0x20b))/0x4)+parseInt(_0x4f6813(0x308))/0x5*(parseInt(_0x4f6813(0x169))/0x6)+-parseInt(_0x4f6813(0x3e4))/0x7+-parseInt(_0x4f6813(0x1ef))/0x8*(-parseInt(_0x4f6813(0x261))/0x9)+parseInt(_0x4f6813(0x20f))/0xa+-parseInt(_0x4f6813(0x253))/0xb*(parseInt(_0x4f6813(0x1ae))/0xc);if(_0x2efa00===_0x35a396)break;else _0x1dfbf9['push'](_0x1dfbf9['shift']());}catch(_0x59fd32){_0x1dfbf9['push'](_0x1dfbf9['shift']());}}}(_0x1141,0xae54b));var Ve=Object[_0x4711bf(0x227)],Xe=(_0x590cf2,_0x487620,_0x168f1e)=>_0x487620 in _0x590cf2?Ve(_0x590cf2,_0x487620,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x168f1e}):_0x590cf2[_0x487620]=_0x168f1e,h=(_0x258d92,_0x5c6fd2,_0xae2ad4)=>Xe(_0x258d92,typeof _0x5c6fd2!=_0x4711bf(0x357)?_0x5c6fd2+'':_0x5c6fd2,_0xae2ad4);Object['defineProperty'](exports,Symbol[_0x4711bf(0x273)],{'value':'Module'});const u=require(_0x4711bf(0x23e)),a=require(_0x4711bf(0x3bb)),p=require(_0x4711bf(0x3cd)),G=require('@univerjs/network'),b=require(_0x4711bf(0x279)),Ge=require(_0x4711bf(0x3d2)),d=require('rxjs'),Y=require('@univerjs/docs'),m=require(_0x4711bf(0x25c)),Ee=require(_0x4711bf(0x1b4)),g=require(_0x4711bf(0x39d)),$=require('rxjs/operators'),X=require(_0x4711bf(0x1f6)),w=require(_0x4711bf(0x2b3)),T=require('@univerjs/ui'),D=require(_0x4711bf(0x2c0)),M=require(_0x4711bf(0x369)),Ke=require(_0x4711bf(0x384));var qe=Object[_0x4711bf(0x1fe)],ze=(_0x72f955,_0x41083f,_0x3daff1,_0x1bc5df)=>{const _0x58726c=_0x4711bf;for(var _0x3afc27=_0x1bc5df>0x1?void 0x0:_0x1bc5df?qe(_0x41083f,_0x3daff1):_0x41083f,_0x2554bc=_0x72f955[_0x58726c(0x246)]-0x1,_0x4aacd9;_0x2554bc>=0x0;_0x2554bc--)(_0x4aacd9=_0x72f955[_0x2554bc])&&(_0x3afc27=_0x4aacd9(_0x3afc27)||_0x3afc27);return _0x3afc27;},Te=(_0x463f5a,_0x2ec3e2)=>(_0x5e3490,_0x20c542)=>_0x2ec3e2(_0x5e3490,_0x20c542,_0x463f5a);let de=class extends a[_0x4711bf(0x1b0)]{constructor(_0x5ef3df,_0x3a01a5){const _0x348219=_0x4711bf;super(),this[_0x348219(0x363)]=_0x5ef3df,this[_0x348219(0x1f5)]=_0x3a01a5,this[_0x348219(0x1dc)]();}[_0x4711bf(0x1dc)](){const _0x384fed=_0x4711bf,_0x38f829=this;this[_0x384fed(0x2e9)](this[_0x384fed(0x363)][_0x384fed(0x278)]({'onBeforePasteImage':async _0x2cf4e3=>{const _0x4db225=_0x384fed,_0x552539=await _0x38f829['_imageIoService'][_0x4db225(0x199)](_0x2cf4e3);return _0x552539?{'source':_0x552539['source'],'imageSourceType':_0x552539[_0x4db225(0x1df)]}:null;}}));}};de=ze([Te(0x0,b[_0x4711bf(0x292)]),Te(0x1,Ge[_0x4711bf(0x244)])],de);const Oe=['purple.300','jiqing.500',_0x4711bf(0x216),_0x4711bf(0x2ea),'blue.400','yellow.400'];class me extends a[_0x4711bf(0x3ac)]{constructor(){const _0x1002c8=_0x4711bf;super(...arguments),h(this,_0x1002c8(0x3c0),new Map()),h(this,'_colorIndex',0x0);}[_0x4711bf(0x20e)](_0x3e8f23){const _0x1925b8=_0x4711bf;if(this['_assignedColors'][_0x1925b8(0x3ec)](_0x3e8f23))return this['_assignedColors'][_0x1925b8(0x3bc)](_0x3e8f23);const _0x250633=Oe[this[_0x1925b8(0x247)]];return this[_0x1925b8(0x247)]=(this[_0x1925b8(0x247)]+0x1)%Oe[_0x1925b8(0x246)],this['_assignedColors'][_0x1925b8(0x1cb)](_0x3e8f23,_0x250633),_0x250633;}}function we(_0x104955){const _0x125ec7=_0x4711bf;let _0xd79898='';for(const _0x3c735a of _0x104955){const {startOffset:_0xabd10e,endOffset:_0x9c00e8,isActive:_0x3081c0,rangeType:_0xb6b248,segmentId:_0x103776,segmentPage:_0x28183b}=_0x3c735a;_0xd79898[_0x125ec7(0x246)]&&(_0xd79898+=','),_0xd79898+=_0xabd10e+':'+_0x9c00e8+':'+(_0x3081c0?'1':'0')+':'+_0xb6b248+':'+_0x103776+':'+_0x28183b;}return _0xd79898;}function Je(_0x13e0be){const _0x2902d1=_0x4711bf,_0x56e643=_0x13e0be[_0x2902d1(0x3a4)](','),_0x24de2d=[];for(const _0x3a409d of _0x56e643){const [_0x519560,_0x21aa37,_0xb0421e,_0x437d19,_0x11a61e,_0x34f9af]=_0x3a409d[_0x2902d1(0x3a4)](':');_0x24de2d['push']({'startOffset':Number(_0x519560),'endOffset':Number(_0x21aa37),'collapsed':_0x519560===_0x21aa37,'isActive':_0xb0421e==='1','rangeType':_0x437d19===a[_0x2902d1(0x21e)][_0x2902d1(0x36c)]?a['DOC_RANGE_TYPE'][_0x2902d1(0x36c)]:a[_0x2902d1(0x21e)][_0x2902d1(0x29f)],'segmentId':typeof _0x11a61e=='string'?String(_0x11a61e):'','segmentPage':Number(_0x34f9af!=null?_0x34f9af:-0x1)});}return _0x24de2d[_0x2902d1(0x2ba)](_0x52c82f=>_0x52c82f[_0x2902d1(0x3d3)])||(_0x24de2d[0x0]['isActive']=!0x0),_0x24de2d;}class Ce extends a[_0x4711bf(0x1b0)]{constructor(){const _0x556246=_0x4711bf;super(...arguments),h(this,_0x556246(0x1ed),new d['BehaviorSubject'](null)),h(this,'collabCursorState$',this[_0x556246(0x1ed)][_0x556246(0x2e1)]());}[_0x4711bf(0x307)](_0xaa1529){const _0x5ac816=_0x4711bf,{unitID:_0x5c23d4,memberID:_0x16fc80,textRanges:_0x11fc2f}=_0xaa1529,_0x1732a4=we(_0x11fc2f);if(_0x1732a4==='')return;const _0x436734={'unitID':_0x5c23d4,'memberID':_0x16fc80,'selection':_0x1732a4};this[_0x5ac816(0x1ed)]['next'](_0x436734);}}var Ze=Object[_0x4711bf(0x1fe)],Qe=(_0x3f481b,_0x5b5b42,_0x1bc91c,_0x4cfc27)=>{const _0x15cc18=_0x4711bf;for(var _0x2ff2d2=_0x4cfc27>0x1?void 0x0:_0x4cfc27?Ze(_0x5b5b42,_0x1bc91c):_0x5b5b42,_0x5eb20a=_0x3f481b[_0x15cc18(0x246)]-0x1,_0x2d0b6e;_0x5eb20a>=0x0;_0x5eb20a--)(_0x2d0b6e=_0x3f481b[_0x5eb20a])&&(_0x2ff2d2=_0x2d0b6e(_0x2ff2d2)||_0x2ff2d2);return _0x2ff2d2;},L=(_0x567849,_0x410ab6)=>(_0x19f8a7,_0x351eab)=>_0x410ab6(_0x19f8a7,_0x351eab,_0x567849);const et=0x12c,tt=0x64;let fe=class extends a['RxDisposable']{constructor(_0x492156,_0x1ceadf,_0x5e3a46,_0x878261,_0x46e833,_0x598313,_0x3519b3,_0x45189f,_0x5c1809){const _0x55fb84=_0x4711bf;super(),h(this,_0x55fb84(0x383),!0x1),h(this,'_init',!0x1),h(this,'_cursorInfo$',new d['BehaviorSubject'](new Map())),h(this,_0x55fb84(0x177),this[_0x55fb84(0x376)][_0x55fb84(0x2e1)]()),h(this,_0x55fb84(0x30e),new d['BehaviorSubject']([])),h(this,_0x55fb84(0x341),this[_0x55fb84(0x30e)][_0x55fb84(0x289)](d[_0x55fb84(0x27a)](et))),h(this,_0x55fb84(0x3ea),a[_0x55fb84(0x3b5)](_0x3c9c9f=>{const _0x57612b=_0x55fb84,_0x2d07f5={'eventID':m[_0x57612b(0x191)][_0x57612b(0x2ec)],'data':{'unitID':this['unitID'],'memberID':this[_0x57612b(0x1ec)]['getMemberID'](),'selection':we(_0x3c9c9f)}};this[_0x57612b(0x1ec)][_0x57612b(0x26b)](_0x2d07f5,this[_0x57612b(0x2e3)]);},tt)),(this['unitID']=_0x492156,this[_0x55fb84(0x1ec)]=_0x1ceadf,this['_injector']=_0x5e3a46,this[_0x55fb84(0x37e)]=_0x878261,this[_0x55fb84(0x1e5)]=_0x46e833,this[_0x55fb84(0x1a3)]=_0x598313,this[_0x55fb84(0x245)]=_0x3519b3,this['_univerInstanceService']=_0x45189f,this[_0x55fb84(0x1ce)]=_0x5c1809);}get[_0x4711bf(0x1f0)](){const _0x2e55e6=_0x4711bf;return this['_cursorInfo$'][_0x2e55e6(0x397)]();}get[_0x4711bf(0x328)](){const _0x295a60=_0x4711bf;return this['_roomMembers$'][_0x295a60(0x397)]();}['dispose'](){const _0x42e58f=_0x4711bf;super[_0x42e58f(0x192)](),this[_0x42e58f(0x376)]['next'](new Map()),this[_0x42e58f(0x376)]['complete'](),this[_0x42e58f(0x30e)][_0x42e58f(0x33e)]([]),this[_0x42e58f(0x30e)][_0x42e58f(0x1fa)]();}['init'](){const _0x10c4d7=_0x4711bf;this[_0x10c4d7(0x1dc)]||(this['_init']=!0x0,this[_0x10c4d7(0x1ec)][_0x10c4d7(0x394)][_0x10c4d7(0x289)](d[_0x10c4d7(0x321)](this['dispose$']))[_0x10c4d7(0x297)](_0x3e0585=>{const _0xe496cd=_0x10c4d7;_0x3e0585===u[_0xe496cd(0x18f)][_0xe496cd(0x3a6)]?this[_0xe496cd(0x24a)]():this[_0xe496cd(0x225)]();}),this[_0x10c4d7(0x1ec)][_0x10c4d7(0x39c)]['pipe'](d[_0x10c4d7(0x321)](this['dispose$']))[_0x10c4d7(0x297)](_0x2671b4=>{const _0x349cd6=_0x10c4d7,_0x3f2ebf=_0x2671b4[_0x349cd6(0x288)];_0x3f2ebf===m['CollaborationEvent'][_0x349cd6(0x2ec)]&&this[_0x349cd6(0x183)](_0x2671b4),_0x3f2ebf===m['CollaborationEvent']['USERS_LEAVE']&&this[_0x349cd6(0x15d)](_0x2671b4);}),this['disposeWithMe'](this['_commandService'][_0x10c4d7(0x35c)](_0x5e917f=>{const _0x3d96eb=_0x10c4d7,_0x74dd3b=_0x5e917f[_0x3d96eb(0x276)];_0x74dd3b!=null&&this[_0x3d96eb(0x383)]&&_0x5e917f['id']===Y[_0x3d96eb(0x1e8)]['id']&&_0x74dd3b[_0x3d96eb(0x1d4)]===this['unitID']&&_0x74dd3b[_0x3d96eb(0x248)]===!0x1&&_0x74dd3b[_0x3d96eb(0x1a8)][_0x3d96eb(0x246)]>0x0&&this[_0x3d96eb(0x3ea)](_0x74dd3b['ranges']);})),this[_0x10c4d7(0x1a3)][_0x10c4d7(0x21c)]['pipe'](d[_0x10c4d7(0x321)](this['dispose$']))[_0x10c4d7(0x297)](_0x2d3376=>{const _0x14993c=_0x10c4d7;if((_0x2d3376==null?void 0x0:_0x2d3376['unitID'])!==this['unitID'])return;const _0x42fb6d={'eventID':m[_0x14993c(0x191)]['UPDATE_CURSOR'],'data':_0x2d3376};this[_0x14993c(0x183)](_0x42fb6d);}),this[_0x10c4d7(0x2e9)](this[_0x10c4d7(0x1ce)][_0x10c4d7(0x35c)](_0x46852d=>{const _0x45e859=_0x10c4d7;if(_0x46852d[_0x45e859(0x276)]==null)return;const _0x147403=_0x46852d['params'];if(_0x46852d['id']!==Y[_0x45e859(0x390)]['id']||_0x147403[_0x45e859(0x1d4)]!==this[_0x45e859(0x2e3)])return;const _0x4c7342={'id':_0x45e859(0x311),'params':_0x147403},_0x4ee49a=this[_0x45e859(0x1f0)];for(const [_0x4ebc9c,_0x1aec69]of _0x4ee49a){const _0x3bf4e5={'id':_0x45e859(0x311),'params':{'unitId':this[_0x45e859(0x2e3)],'actions':null,'textRanges':_0x1aec69[_0x45e859(0x1a8)]}},_0x492814=this[_0x45e859(0x245)][_0x45e859(0x211)](_0x4c7342,_0x3bf4e5,!0x1);if(m[_0x45e859(0x34d)](_0x492814))throw _0x492814[_0x45e859(0x375)];_0x4ee49a[_0x45e859(0x1cb)](_0x4ebc9c,{..._0x1aec69,'ranges':_0x492814[_0x45e859(0x1d0)][_0x45e859(0x276)][_0x45e859(0x1de)]});}queueMicrotask(()=>{const _0x43daea=_0x45e859;this['_cursorInfo$'][_0x43daea(0x33e)](_0x4ee49a);});})));}[_0x4711bf(0x183)](_0x34d950){const _0x2320bc=_0x4711bf;var _0x45b277,_0xff6415;const {memberID:_0x131040,selection:_0xbb917a}=_0x34d950[_0x2320bc(0x3e7)],_0x30f525=Je(_0xbb917a),_0x577ee8=(_0xff6415=(_0x45b277=this[_0x2320bc(0x1e5)][_0x2320bc(0x1d1)](this[_0x2320bc(0x2e3)],_0x131040))==null?void 0x0:_0x45b277[_0x2320bc(0x179)])!=null?_0xff6415:_0x2320bc(0x3cc),_0x26440f={'color':this[_0x2320bc(0x37e)][_0x2320bc(0x20e)](_0x131040),'name':_0x577ee8,'ranges':_0x30f525},_0x1785b4=this['cursorInfo'];_0x1785b4[_0x2320bc(0x1cb)](_0x131040,_0x26440f),this['_cursorInfo$'][_0x2320bc(0x33e)](_0x1785b4);}[_0x4711bf(0x15d)](_0x541523){const _0x19162e=_0x4711bf,{memberID:_0x565031}=_0x541523[_0x19162e(0x3e7)],_0x6b3ec7=this[_0x19162e(0x1f0)];_0x6b3ec7[_0x19162e(0x1d6)](_0x565031),this['_cursorInfo$'][_0x19162e(0x33e)](_0x6b3ec7);}[_0x4711bf(0x24a)](){const _0x36913f=_0x4711bf;var _0x2a075b;if(this[_0x36913f(0x383)]=!0x0,((_0x2a075b=this[_0x36913f(0x335)][_0x36913f(0x2f5)]())==null?void 0x0:_0x2a075b['getUnitId']())!==this[_0x36913f(0x2e3)])return;const _0x4c26c0=this[_0x36913f(0x2db)]['get'](Y[_0x36913f(0x3dd)])[_0x36913f(0x344)]();Array[_0x36913f(0x374)](_0x4c26c0)&&_0x4c26c0[_0x36913f(0x246)]>0x0&&this['_updateLocalCursor'](_0x4c26c0);}[_0x4711bf(0x225)](){const _0x2613d6=_0x4711bf;this[_0x2613d6(0x383)]=!0x1;}};fe=Qe([L(0x2,a[_0x4711bf(0x209)](a[_0x4711bf(0x187)])),L(0x3,a['Inject'](me)),L(0x4,a['Inject'](u[_0x4711bf(0x208)])),L(0x5,a['Inject'](Ce)),L(0x6,m[_0x4711bf(0x2d5)]),L(0x7,a[_0x4711bf(0x21a)]),L(0x8,a[_0x4711bf(0x38d)])],fe);var st=Object['getOwnPropertyDescriptor'],it=(_0x22e8fc,_0x5f2ca5,_0x51cfcb,_0x18229e)=>{const _0x571b41=_0x4711bf;for(var _0x2f83f4=_0x18229e>0x1?void 0x0:_0x18229e?st(_0x5f2ca5,_0x51cfcb):_0x5f2ca5,_0x1e94c5=_0x22e8fc[_0x571b41(0x246)]-0x1,_0x5a0210;_0x1e94c5>=0x0;_0x1e94c5--)(_0x5a0210=_0x22e8fc[_0x1e94c5])&&(_0x2f83f4=_0x5a0210(_0x2f83f4)||_0x2f83f4);return _0x2f83f4;},A=(_0x547080,_0x37d0e6)=>(_0x4cf808,_0x17b25c)=>_0x37d0e6(_0x4cf808,_0x17b25c,_0x547080);const nt=0x12c,rt=0x64,ot=()=>{let _0xf1b102=[],_0x19b2f5=!0x1;return _0x376414=>{_0xf1b102['push'](_0x376414),_0x19b2f5||(_0x19b2f5=!0x0,setTimeout(()=>{const _0x10ab5e=_0x5c67;_0xf1b102[_0x10ab5e(0x22b)](_0x130073=>_0x130073()),_0xf1b102=[],_0x19b2f5=!0x1;}));};};let Se=class extends a[_0x4711bf(0x1b0)]{constructor(_0x4d95be,_0x5970cd,_0x269c14,_0x418ec1,_0x144db2,_0x2a2cf1,_0x4ad5bc,_0x51a72){const _0x16905f=_0x4711bf;super(),h(this,'_online',!0x1),h(this,_0x16905f(0x1dc),!0x1),h(this,_0x16905f(0x376),new d[(_0x16905f(0x306))](new Map())),h(this,'cursorInfo$',this[_0x16905f(0x376)][_0x16905f(0x2e1)]()),h(this,'_roomMembers$',new d[(_0x16905f(0x306))]([])),h(this,_0x16905f(0x341),this[_0x16905f(0x30e)][_0x16905f(0x289)](d['debounceTime'](nt))),h(this,_0x16905f(0x3ea),a[_0x16905f(0x3b5)]((_0x4c353b,_0x3b81bd)=>{const _0x1f14d9=_0x16905f,_0x10d47a={'eventID':m[_0x1f14d9(0x191)][_0x1f14d9(0x2ec)],'data':{'unitID':this[_0x1f14d9(0x2e3)],'memberID':this[_0x1f14d9(0x1ec)][_0x1f14d9(0x1d8)](),'selection':Ee[_0x1f14d9(0x2b7)](_0x4c353b,_0x3b81bd[_0x1f14d9(0x1dd)])}};this[_0x1f14d9(0x1ec)][_0x1f14d9(0x26b)](_0x10d47a,this[_0x1f14d9(0x2e3)]);},rt)),(this['unitID']=_0x4d95be,this[_0x16905f(0x1ec)]=_0x5970cd,this['_injector']=_0x269c14,this[_0x16905f(0x37e)]=_0x418ec1,this['_memberService']=_0x144db2,this[_0x16905f(0x335)]=_0x2a2cf1,this[_0x16905f(0x1ce)]=_0x4ad5bc,this[_0x16905f(0x201)]=_0x51a72);}get[_0x4711bf(0x1f0)](){const _0x5f02c4=_0x4711bf;return this[_0x5f02c4(0x376)][_0x5f02c4(0x397)]();}get[_0x4711bf(0x328)](){const _0x53019d=_0x4711bf;return this[_0x53019d(0x30e)][_0x53019d(0x397)]();}[_0x4711bf(0x192)](){const _0xdce248=_0x4711bf;super[_0xdce248(0x192)](),this[_0xdce248(0x376)][_0xdce248(0x33e)](new Map()),this[_0xdce248(0x376)][_0xdce248(0x1fa)](),this['_roomMembers$']['next']([]),this[_0xdce248(0x30e)][_0xdce248(0x1fa)]();}[_0x4711bf(0x1b1)](){const _0x2edbc1=_0x4711bf;this[_0x2edbc1(0x1dc)]||(this['_init']=!0x0,this['_session'][_0x2edbc1(0x394)][_0x2edbc1(0x289)](d[_0x2edbc1(0x321)](this['dispose$']))[_0x2edbc1(0x297)](_0xd15a98=>{const _0x19661a=_0x2edbc1;_0xd15a98===u[_0x19661a(0x18f)]['ONLINE']?this[_0x19661a(0x24a)]():this['_toggleOffline']();}),this[_0x2edbc1(0x1ec)][_0x2edbc1(0x39c)][_0x2edbc1(0x289)](d['takeUntil'](this[_0x2edbc1(0x20c)]))[_0x2edbc1(0x297)](_0x4e7ddc=>{const _0x15065e=_0x2edbc1,_0x3343f5=_0x4e7ddc[_0x15065e(0x288)];_0x3343f5===m[_0x15065e(0x191)][_0x15065e(0x2ec)]&&this['_onCursorUpdate'](_0x4e7ddc),_0x3343f5===m[_0x15065e(0x191)][_0x15065e(0x38a)]&&this[_0x15065e(0x15d)](_0x4e7ddc);}),this['_onRefRangeChange'](),this[_0x2edbc1(0x2e9)](this[_0x2edbc1(0x1ce)][_0x2edbc1(0x35c)](_0x1ed43b=>{const _0x8a7023=_0x2edbc1;if(this['_online']&&_0x1ed43b['id']===g[_0x8a7023(0x389)]['id']&&_0x1ed43b[_0x8a7023(0x276)][_0x8a7023(0x1d4)]===this['unitID']){const _0x5a3d2b=_0x1ed43b[_0x8a7023(0x276)];this[_0x8a7023(0x3ea)](_0x5a3d2b[_0x8a7023(0x19a)],_0x5a3d2b[_0x8a7023(0x355)][0x0]);}})));}['_onCursorUpdate'](_0x2de6c7){const _0x521b0c=_0x4711bf;var _0x1f4448,_0x9d5a3a;const {memberID:_0x314a4a,selection:_0x2f496c}=_0x2de6c7[_0x521b0c(0x3e7)],{sheetName:_0x558269,range:_0x2e893b}=Ee[_0x521b0c(0x19b)](_0x2f496c),_0xbb42e1={'name':(_0x9d5a3a=(_0x1f4448=this[_0x521b0c(0x1e5)][_0x521b0c(0x1d1)](this['unitID'],_0x314a4a))==null?void 0x0:_0x1f4448['name'])!=null?_0x9d5a3a:'Unknown\x20user','range':this[_0x521b0c(0x15b)](_0x558269,_0x2e893b),'sheetID':_0x558269,'color':this[_0x521b0c(0x37e)]['assignAColorForMemberID'](_0x314a4a),'selection':_0x2f496c},_0x440d8a=this['cursorInfo'];_0x440d8a[_0x521b0c(0x1cb)](_0x314a4a,_0xbb42e1),this[_0x521b0c(0x376)][_0x521b0c(0x33e)](_0x440d8a);}[_0x4711bf(0x15d)](_0xc527f4){const _0x2dad27=_0x4711bf,{memberID:_0x217fb5}=_0xc527f4[_0x2dad27(0x3e7)],_0x4b8cb3=this[_0x2dad27(0x1f0)];_0x4b8cb3[_0x2dad27(0x1d6)](_0x217fb5),this[_0x2dad27(0x376)][_0x2dad27(0x33e)](_0x4b8cb3);}[_0x4711bf(0x15b)](_0x2f609b,_0x36a63f){const _0x20ad89=_0x4711bf;var _0x30f524,_0xea6784;const _0x5e75a5=(_0xea6784=(_0x30f524=this[_0x20ad89(0x335)]['getUniverSheetInstance'](this[_0x20ad89(0x2e3)]))==null?void 0x0:_0x30f524[_0x20ad89(0x249)](_0x2f609b))==null?void 0x0:_0xea6784[_0x20ad89(0x351)]();return(_0x5e75a5==null?void 0x0:_0x5e75a5[_0x20ad89(0x232)](_0x2442cc=>a[_0x20ad89(0x2e0)][_0x20ad89(0x203)](_0x2442cc,_0x36a63f)))||_0x36a63f;}['_onRefRangeChange'](){const _0x25cc04=_0x4711bf,_0x28df5c=new a[(_0x25cc04(0x36a))](),_0x2f4bb1=ot(),_0xe0e96d=()=>{const _0x4942db=_0x25cc04;_0x28df5c[_0x4942db(0x192)]();const _0x20a1f8=(_0x131603,_0x12e74e,_0x39bfe0,_0x4460d9)=>{const _0x537fba=_0x4942db;let _0x489ffe=[];switch(_0x131603['id']){case g[_0x537fba(0x18a)][_0x537fba(0x309)]:{_0x489ffe=g['handleDeleteRangeMoveLeft'](_0x131603,_0x4460d9);break;}case g[_0x537fba(0x18a)][_0x537fba(0x186)]:{_0x489ffe=g[_0x537fba(0x274)](_0x131603,_0x4460d9);break;}case g['EffectRefRangId'][_0x537fba(0x180)]:{_0x489ffe=g[_0x537fba(0x25d)](_0x131603,_0x4460d9);break;}case g[_0x537fba(0x18a)]['InsertRangeMoveDownCommandId']:{_0x489ffe=g[_0x537fba(0x348)](_0x131603,_0x4460d9);break;}case g[_0x537fba(0x18a)][_0x537fba(0x3d0)]:{_0x489ffe=g[_0x537fba(0x388)](_0x131603,_0x4460d9);break;}case g[_0x537fba(0x18a)][_0x537fba(0x399)]:{_0x489ffe=g[_0x537fba(0x1d5)](_0x131603,_0x4460d9);break;}case g['EffectRefRangId'][_0x537fba(0x329)]:{_0x489ffe=g['handleMoveRange'](_0x131603,_0x4460d9);break;}case g[_0x537fba(0x18a)][_0x537fba(0x166)]:{_0x489ffe=g['handleIRemoveCol'](_0x131603,_0x4460d9);break;}case g[_0x537fba(0x18a)][_0x537fba(0x3ad)]:{_0x489ffe=g[_0x537fba(0x29d)](_0x131603,_0x4460d9);break;}}const _0x1a1ad0=g['runRefRangeMutations'](_0x489ffe,_0x4460d9),_0x3d2668=this[_0x537fba(0x1f0)]['get'](_0x12e74e);if(_0x3d2668&&_0x1a1ad0){const _0x41385b={..._0x3d2668,'range':_0x1a1ad0};this['cursorInfo'][_0x537fba(0x1cb)](_0x12e74e,_0x41385b),_0x2f4bb1(()=>{const _0x29640e=_0x537fba,_0x36e580=this[_0x29640e(0x201)][_0x29640e(0x25e)](_0x1a1ad0,_0x3dcdf6=>(_0x36e580[_0x29640e(0x192)](),_0x20a1f8(_0x3dcdf6,_0x12e74e,_0x39bfe0,_0x1a1ad0)));_0x28df5c['add'](_0x36e580);});}return{'redos':[],'undos':[]};};this[_0x4942db(0x1f0)][_0x4942db(0x22b)]((_0x11c9c1,_0x3a481c)=>{const _0x555972=_0x4942db,{range:_0x2812df,sheetID:_0xabd77b}=_0x11c9c1,_0x26678a=this[_0x555972(0x201)][_0x555972(0x25e)](_0x2812df,_0x10623a=>(_0x26678a[_0x555972(0x192)](),_0x20a1f8(_0x10623a,_0x3a481c,_0xabd77b,_0x2812df)));_0x28df5c[_0x555972(0x372)](_0x26678a);});};this[_0x25cc04(0x2e9)](a[_0x25cc04(0x3a0)](this['_cursorInfo$'][_0x25cc04(0x297)](()=>{_0xe0e96d();})));}[_0x4711bf(0x24a)](){const _0x52b5c2=_0x4711bf;var _0x19dd28,_0xe7eb02;if(this['_online']=!0x0,((_0x19dd28=this[_0x52b5c2(0x335)][_0x52b5c2(0x2f5)]())==null?void 0x0:_0x19dd28[_0x52b5c2(0x1bc)]())!==this['unitID'])return;const _0x3edc5b=(_0xe7eb02=this['_injector'][_0x52b5c2(0x3bc)](g[_0x52b5c2(0x3b7)])['getCurrentSelections']())==null?void 0x0:_0xe7eb02[0x0],_0x128a72=this[_0x52b5c2(0x335)][_0x52b5c2(0x265)](a['UniverInstanceType'][_0x52b5c2(0x1d7)])['getActiveSheet']();_0x3edc5b&&_0x128a72&&this[_0x52b5c2(0x3ea)](_0x128a72[_0x52b5c2(0x339)](),_0x3edc5b);}['_toggleOffline'](){const _0x406451=_0x4711bf;this[_0x406451(0x383)]=!0x1;}};Se=it([A(0x2,a[_0x4711bf(0x209)](a['Injector'])),A(0x3,a[_0x4711bf(0x209)](me)),A(0x4,a[_0x4711bf(0x209)](u['MemberService'])),A(0x5,a[_0x4711bf(0x21a)]),A(0x6,a[_0x4711bf(0x38d)]),A(0x7,a[_0x4711bf(0x209)](g[_0x4711bf(0x1ff)]))],Se);var at=Object[_0x4711bf(0x1fe)],ct=(_0x855a39,_0x40d8d8,_0x3a55d1,_0x1e8c2f)=>{const _0x3795ae=_0x4711bf;for(var _0x5ccd18=_0x1e8c2f>0x1?void 0x0:_0x1e8c2f?at(_0x40d8d8,_0x3a55d1):_0x40d8d8,_0x518f52=_0x855a39[_0x3795ae(0x246)]-0x1,_0x153d62;_0x518f52>=0x0;_0x518f52--)(_0x153d62=_0x855a39[_0x518f52])&&(_0x5ccd18=_0x153d62(_0x5ccd18)||_0x5ccd18);return _0x5ccd18;},ie=(_0xcce3b2,_0x455649)=>(_0x55d3fb,_0xe01d72)=>_0x455649(_0x55d3fb,_0xe01d72,_0xcce3b2);let x=class extends a['RxDisposable']{constructor(_0x396e4e,_0x280071,_0x391bce){const _0x1a25b3=_0x4711bf;super(),h(this,_0x1a25b3(0x263),new Map()),h(this,_0x1a25b3(0x2a3),new d[(_0x1a25b3(0x1c6))]()),(this['_univerInstanceService']=_0x396e4e,this[_0x1a25b3(0x2db)]=_0x280071,this[_0x1a25b3(0x3a1)]=_0x391bce,this['_init']());}[_0x4711bf(0x192)](){const _0x2e27e5=_0x4711bf;super[_0x2e27e5(0x192)](),this[_0x2e27e5(0x2a3)][_0x2e27e5(0x1fa)](),this[_0x2e27e5(0x263)][_0x2e27e5(0x22b)](_0x1343ab=>_0x1343ab['dispose']());}[_0x4711bf(0x15e)](_0x2f1a07){const _0x54e928=_0x4711bf;return this[_0x54e928(0x263)][_0x54e928(0x3ec)](_0x2f1a07)?this[_0x54e928(0x263)][_0x54e928(0x3bc)](_0x2f1a07)[_0x54e928(0x177)]:this['_entityInit$'][_0x54e928(0x289)](d[_0x54e928(0x24b)](_0x613056=>_0x613056[_0x54e928(0x2e3)]===_0x2f1a07),d[_0x54e928(0x29b)](_0x50c9bb=>_0x50c9bb[_0x54e928(0x177)]));}['_init'](){const _0x4bface=_0x4711bf;this[_0x4bface(0x335)][_0x4bface(0x29c)](a[_0x4bface(0x3cb)][_0x4bface(0x1d7)])[_0x4bface(0x289)](d[_0x4bface(0x321)](this[_0x4bface(0x20c)]))[_0x4bface(0x297)](async _0x4f8413=>{const _0x1a2a78=_0x4bface,_0xd31edc=_0x4f8413[_0x1a2a78(0x1bc)](),_0x552996=await this[_0x1a2a78(0x25f)](_0xd31edc);this[_0x1a2a78(0x2a3)][_0x1a2a78(0x33e)](_0x552996),this[_0x1a2a78(0x263)][_0x1a2a78(0x1cb)](_0xd31edc,_0x552996);}),this[_0x4bface(0x335)][_0x4bface(0x29c)](a[_0x4bface(0x3cb)]['UNIVER_DOC'])[_0x4bface(0x289)](d[_0x4bface(0x321)](this[_0x4bface(0x20c)]))[_0x4bface(0x289)](d[_0x4bface(0x24b)](_0x28101a=>!_0x28101a[_0x4bface(0x1bc)]()[_0x4bface(0x358)]('__')))[_0x4bface(0x297)](async _0x11fd63=>{const _0x237da5=_0x4bface,_0x4ba000=_0x11fd63[_0x237da5(0x1bc)](),_0x47b3cc=await this[_0x237da5(0x1e1)](_0x4ba000);this[_0x237da5(0x2a3)][_0x237da5(0x33e)](_0x47b3cc),this[_0x237da5(0x263)][_0x237da5(0x1cb)](_0x4ba000,_0x47b3cc);}),d[_0x4bface(0x32b)](this[_0x4bface(0x335)][_0x4bface(0x316)](a[_0x4bface(0x3cb)][_0x4bface(0x359)]),this[_0x4bface(0x335)][_0x4bface(0x316)](a[_0x4bface(0x3cb)][_0x4bface(0x1d7)]))['pipe'](d[_0x4bface(0x321)](this[_0x4bface(0x20c)]))['subscribe'](_0x55e6f=>{const _0xeaa9e3=_0x4bface,_0x4d9e5d=_0x55e6f['getUnitId'](),_0xf08a6d=this[_0xeaa9e3(0x263)][_0xeaa9e3(0x3bc)](_0x4d9e5d);_0xf08a6d&&(_0xf08a6d[_0xeaa9e3(0x192)](),this['_entities'][_0xeaa9e3(0x1d6)](_0x4d9e5d));});}async[_0x4711bf(0x25f)](_0x137c60){const _0x46a2fc=_0x4711bf,_0x6fc85c=await this[_0x46a2fc(0x3a1)][_0x46a2fc(0x161)](_0x137c60),_0x1cc121=this[_0x46a2fc(0x2db)]['createInstance'](Se,_0x137c60,_0x6fc85c);return _0x1cc121['init'](),_0x1cc121;}async[_0x4711bf(0x1e1)](_0x5d6c89){const _0x5aac8e=_0x4711bf,_0x3d8394=await this[_0x5aac8e(0x3a1)]['requireSession'](_0x5d6c89),_0x2dc92f=this[_0x5aac8e(0x2db)][_0x5aac8e(0x236)](fe,_0x5d6c89,_0x3d8394);return _0x2dc92f[_0x5aac8e(0x1b1)](),_0x2dc92f;}};x=ct([ie(0x0,a[_0x4711bf(0x21a)]),ie(0x1,a[_0x4711bf(0x209)](a[_0x4711bf(0x187)])),ie(0x2,a['Inject'](u[_0x4711bf(0x30a)]))],x);const K=0x14,Re=0xc8,ne=0x4,lt=0x5;function _t(_0x106e50,_0x1a101d){const _0x44f1ed=_0x4711bf;let {radius:_0x455bb8,width:_0x10cfe7,height:_0x130f5a}=_0x1a101d;_0x455bb8=_0x455bb8!=null?_0x455bb8:0x0,_0x10cfe7=_0x10cfe7!=null?_0x10cfe7:0x1e,_0x130f5a=_0x130f5a!=null?_0x130f5a:0x1e;let _0x488664=0x0,_0x22b673=0x0,_0x3099f1=0x0;_0x488664=_0x22b673=_0x3099f1=Math[_0x44f1ed(0x334)](_0x455bb8,_0x10cfe7/0x2,_0x130f5a/0x2),_0x106e50['beginPath'](),_0x106e50[_0x44f1ed(0x1ad)](_0x488664,0x0),_0x106e50[_0x44f1ed(0x31d)](_0x10cfe7-_0x22b673,0x0),_0x106e50[_0x44f1ed(0x22c)](_0x10cfe7-_0x22b673,_0x22b673,_0x22b673,Math['PI']*0x3/0x2,0x0,!0x1),_0x106e50['lineTo'](_0x10cfe7,_0x130f5a-_0x3099f1),_0x106e50[_0x44f1ed(0x22c)](_0x10cfe7-_0x3099f1,_0x130f5a-_0x3099f1,_0x3099f1,0x0,Math['PI']/0x2,!0x1),_0x106e50[_0x44f1ed(0x31d)](0x0,_0x130f5a),_0x106e50[_0x44f1ed(0x31d)](0x0,_0x488664),_0x106e50[_0x44f1ed(0x22c)](_0x488664,_0x488664,_0x488664,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x106e50[_0x44f1ed(0x235)](),_0x1a101d['fill']&&(_0x106e50['save'](),_0x106e50[_0x44f1ed(0x2f9)]=_0x1a101d[_0x44f1ed(0x3c5)],_0x1a101d[_0x44f1ed(0x2a6)]===_0x44f1ed(0x1af)?_0x106e50[_0x44f1ed(0x3c5)]('evenodd'):_0x106e50['fill'](),_0x106e50[_0x44f1ed(0x1a7)]());}class ee extends p['Shape']{constructor(_0x111d03,_0x5eb457){const _0x42674c=_0x4711bf;super(_0x111d03,_0x5eb457),h(this,_0x42674c(0x3da)),h(this,_0x42674c(0x38e)),(this['color']=_0x5eb457==null?void 0x0:_0x5eb457[_0x42674c(0x3da)],this[_0x42674c(0x38e)]=_0x5eb457==null?void 0x0:_0x5eb457['text']);}static[_0x4711bf(0x1b9)](_0x2ca135,_0x11da10){const _0x5e427e=_0x4711bf,{text:_0x599923,color:_0x177b72}=_0x11da10;_0x2ca135[_0x5e427e(0x3a2)](),_0x2ca135[_0x5e427e(0x2ae)]='bold\x2013px\x20Source\x20Han\x20Sans\x20CN';const _0x531a07=_0x2ca135[_0x5e427e(0x272)](_0x599923)[_0x5e427e(0x1e0)],_0x56ae2c=Math[_0x5e427e(0x334)](_0x531a07+0x2*ne,Re);_t(_0x2ca135,{'height':K,'radius':0x4,'width':_0x56ae2c,'fill':_0x177b72}),_0x2ca135[_0x5e427e(0x2f9)]=_0x5e427e(0x1d2);const _0x43576d=ne,_0x210de3=K-lt,_0x4a7c26=Re-0x2*ne;if(_0x531a07>_0x4a7c26){let _0x17ed9f='',_0x170a85=0x0;for(const _0x2f2c63 of _0x599923){const _0x116a87=_0x2ca135[_0x5e427e(0x272)](_0x2f2c63)[_0x5e427e(0x1e0)];if(_0x170a85+_0x116a87<=_0x4a7c26-_0x2ca135['measureText'](_0x5e427e(0x2fb))[_0x5e427e(0x1e0)])_0x17ed9f+=_0x2f2c63,_0x170a85+=_0x116a87;else{_0x17ed9f+=_0x5e427e(0x2fb);break;}}_0x2ca135['fillText'](_0x17ed9f,_0x43576d,_0x210de3);}else _0x2ca135[_0x5e427e(0x32e)](_0x599923,_0x43576d,_0x210de3);_0x2ca135[_0x5e427e(0x1a7)]();}[_0x4711bf(0x2e4)](_0xef106d){ee['drawWith'](_0xef106d,this);}}const re=_0x4711bf(0x3f3),ht=_0x4711bf(0x2cf),ut=_0x4711bf(0x2b2),k=0x6,dt=1.5,oe=0x4,ft=1.5,St='rgba(255,\x20255,\x20255,\x200.01)';class De{constructor(_0x15e4f0,_0x4be722,_0x3202a3,_0x3f11e6){const _0x471641=_0x4711bf;h(this,_0x471641(0x34a),[]),h(this,'_anchor',null),h(this,_0x471641(0x3a5),null),h(this,_0x471641(0x2f4),null),h(this,_0x471641(0x26c),null),h(this,_0x471641(0x2fe),null),(this[_0x471641(0x302)]=_0x15e4f0,this['_scene']=_0x4be722,this[_0x471641(0x27e)]=_0x3202a3,this['_document']=_0x3f11e6,this[_0x471641(0x2aa)]());}set['_hover'](_0x2116c9){const _0xaf490a=_0x4711bf;_0x2116c9?(this[_0xaf490a(0x2f4)]&&this['_anchorDot'][_0xaf490a(0x220)](),this[_0xaf490a(0x3a5)]&&this['_textBubble'][_0xaf490a(0x28c)]()):(this[_0xaf490a(0x2f4)]&&this[_0xaf490a(0x2f4)][_0xaf490a(0x28c)](),this[_0xaf490a(0x3a5)]&&this['_textBubble']['hide']());}['dispose'](){const _0x2acb2e=_0x4711bf;for(const _0x3abada of this[_0x2acb2e(0x34a)])_0x3abada['dispose']();this[_0x2acb2e(0x3a5)]&&this[_0x2acb2e(0x3a5)][_0x2acb2e(0x192)](),this[_0x2acb2e(0x2f4)]&&this['_anchorDot'][_0x2acb2e(0x192)](),this['_anchor']&&this[_0x2acb2e(0x2e7)]['dispose'](),this[_0x2acb2e(0x2fe)]&&this['_eventUnsubscribe']();}[_0x4711bf(0x2aa)](){const _0x184bad=_0x4711bf;var _0x1fea55;const {_docSkeleton:_0x403a00,_document:_0x29302d}=this,{color:_0x45ec78,name:_0x336026,ranges:_0x242da4}=this[_0x184bad(0x302)],_0x25170f=_0x29302d['getOffsetConfig'](),{docsLeft:_0x389bb3,docsTop:_0x316ea6}=_0x25170f,_0x148cc4=new b['NodePositionConvertToCursor'](_0x25170f,_0x403a00);for(const {startOffset:_0x396cc8,endOffset:_0x1a3c99,rangeType:_0x438836,segmentId:_0x1fccb2,segmentPage:_0x5882e9,collapsed:_0x25a508,isActive:_0x196980}of _0x242da4){const _0x2f3b17=_0x403a00['findNodePositionByCharIndex'](_0x396cc8,!0x0,_0x1fccb2,_0x5882e9);let _0x245ec1=_0x403a00[_0x184bad(0x3c8)](_0x1a3c99,!0x0,_0x1fccb2,_0x5882e9);if(_0x245ec1==null&&(_0x245ec1=_0x403a00[_0x184bad(0x3c8)](_0x1a3c99-0x1,!0x1,_0x1fccb2,_0x5882e9)),_0x196980){const {contentBoxPointGroup:_0x2fa6e8}=_0x148cc4[_0x184bad(0x27c)](_0x245ec1,_0x245ec1);if(_0x2fa6e8[_0x184bad(0x246)]===0x0)continue;this[_0x184bad(0x24c)](_0x45ec78,_0x2fa6e8,_0x389bb3,_0x316ea6,_0x336026),this['_eventUnsubscribe']=this[_0x184bad(0x168)]();}if(_0x2f3b17&&_0x245ec1){if(_0x438836===a['DOC_RANGE_TYPE'][_0x184bad(0x29f)]){const _0xd8d0c2=new b[(_0x184bad(0x222))](_0x25170f,_0x403a00),{pointGroup:_0x4ec656}=(_0x1fea55=_0xd8d0c2[_0x184bad(0x27c)](_0x2f3b17,_0x245ec1))!=null?_0x1fea55:{};if(_0x4ec656==null||_0x4ec656[_0x184bad(0x246)]===0x0)continue;this[_0x184bad(0x23a)](_0x45ec78,_0x4ec656,_0x389bb3,_0x316ea6);}else{if(!_0x25a508){const {borderBoxPointGroup:_0x42a222}=_0x148cc4[_0x184bad(0x27c)](_0x2f3b17,_0x245ec1);if(_0x42a222['length']===0x0)continue;this[_0x184bad(0x237)](_0x45ec78,_0x42a222,_0x389bb3,_0x316ea6);}}}}}['_drawAnchor'](_0x500184,_0x4b2f52,_0x55be0e,_0x9f38d2,_0x29f01e){const _0x383917=_0x4711bf,_0x179697=this[_0x383917(0x1d9)](_0x4b2f52),{left:_0xad4595,top:_0x2ee7df,height:_0x2fae00}=_0x179697,_0x4cc4ee=this[_0x383917(0x28e)](),_0x2837cf=ft/_0x4cc4ee,_0x2ac233=new p[(_0x383917(0x36f))](re+a[_0x383917(0x1ab)][_0x383917(0x257)](k),{'left':_0xad4595+_0x55be0e-_0x2837cf,'top':_0x2ee7df+_0x9f38d2,'height':_0x2fae00,'width':dt,'fill':_0x500184||p[_0x383917(0x195)](a[_0x383917(0x2d8)][_0x383917(0x34f)],0x0),'strokeWidth':_0x2837cf,'stroke':St,'evented':!0x0});this[_0x383917(0x2e7)]=_0x2ac233,this[_0x383917(0x27b)]['addObject'](_0x2ac233,b[_0x383917(0x2b8)]);const _0x3d3e2c=new p[(_0x383917(0x36f))](re+a[_0x383917(0x1ab)][_0x383917(0x257)](k),{'left':_0xad4595+_0x55be0e-_0x2837cf,'top':_0x2ee7df+_0x9f38d2-oe/0x2,'height':oe,'width':oe,'fill':_0x500184||p[_0x383917(0x195)](a[_0x383917(0x2d8)]['black'],0x0),'strokeWidth':0x0,'stroke':_0x500184||p[_0x383917(0x195)](a[_0x383917(0x2d8)]['black'],0x0),'evented':!0x1});this[_0x383917(0x2f4)]=_0x3d3e2c,this['_scene']['addObject'](_0x3d3e2c,b[_0x383917(0x2b8)]);const _0x24be0e=new ee(re+a['Tools'][_0x383917(0x257)](k),{'left':_0xad4595+_0x55be0e-_0x2837cf,'top':_0x2ee7df+_0x9f38d2-K,'text':_0x29f01e,'color':_0x500184});this['_textBubble']=_0x24be0e,this['_scene'][_0x383917(0x325)](_0x24be0e,b[_0x383917(0x2b8)]),this['_hover']=!0x1;}[_0x4711bf(0x168)](){const _0x1ca5a7=_0x4711bf,_0x56935a=this[_0x1ca5a7(0x2e7)][_0x1ca5a7(0x382)][_0x1ca5a7(0x3d8)](()=>{const _0x2abb50=_0x1ca5a7;this[_0x2abb50(0x286)]=!0x0;}),_0x5628fe=this['_anchor']['onPointerLeave$'][_0x1ca5a7(0x3d8)](()=>{const _0x448cc2=_0x1ca5a7;this[_0x448cc2(0x26c)]&&clearTimeout(this['_hideTimer']),this[_0x448cc2(0x26c)]=setTimeout(()=>{const _0x206aac=_0x448cc2;this[_0x206aac(0x286)]=!0x1;},0x7d0);});return()=>{const _0x3b0cbd=_0x1ca5a7;_0x56935a[_0x3b0cbd(0x331)](),_0x5628fe[_0x3b0cbd(0x331)]();};}[_0x4711bf(0x237)](_0x103faf,_0x2769b0,_0x543aa6,_0x3616cc){const _0x3577ad=_0x4711bf,_0x233e7d=new a[(_0x3577ad(0x1a4))](_0x103faf)[_0x3577ad(0x298)](0.2)[_0x3577ad(0x23d)](),_0xc427d=new p[(_0x3577ad(0x2a0))](ht+a['Tools'][_0x3577ad(0x257)](k),{'pointsGroup':_0x2769b0,'fill':_0x233e7d||p[_0x3577ad(0x195)](a[_0x3577ad(0x2d8)][_0x3577ad(0x34f)],0.2),'left':_0x543aa6,'top':_0x3616cc,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x3577ad(0x34a)]['push'](_0xc427d),this[_0x3577ad(0x27b)]['addObject'](_0xc427d,b['TEXT_RANGE_LAYER_INDEX']);}[_0x4711bf(0x23a)](_0x7eed32,_0x5ce527,_0x111cd4,_0x3c6258){const _0x1fcab9=_0x4711bf,_0x5c0384=new a['ColorKit'](_0x7eed32)['setAlpha'](0.2)[_0x1fcab9(0x23d)](),_0x187ae1=new p[(_0x1fcab9(0x2a0))](ut+a[_0x1fcab9(0x1ab)][_0x1fcab9(0x257)](k),{'pointsGroup':_0x5ce527,'fill':_0x5c0384||p['getColor'](a[_0x1fcab9(0x2d8)]['black'],0.2),'left':_0x111cd4,'top':_0x3c6258,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x1fcab9(0x34a)][_0x1fcab9(0x2bd)](_0x187ae1),this[_0x1fcab9(0x27b)]['addObject'](_0x187ae1,b['TEXT_RANGE_LAYER_INDEX']);}[_0x4711bf(0x1d9)](_0x22aa28){const _0x420a5b=_0x22aa28[0x0],_0x547659=_0x420a5b[0x0],_0x52199e=_0x420a5b[0x2],{x:_0x2bcab5,y:_0x359e02}=_0x547659,{x:_0x4a6957,y:_0x320a49}=_0x52199e;return{'left':_0x2bcab5,'top':_0x359e02,'width':_0x4a6957-_0x2bcab5,'height':_0x320a49-_0x359e02};}[_0x4711bf(0x28e)](){const _0x304d8a=_0x4711bf,{scaleX:_0x2d8bae,scaleY:_0x5bbd6d}=this[_0x304d8a(0x27b)]['getAncestorScale']();return Math[_0x304d8a(0x3e2)](_0x2d8bae,_0x5bbd6d);}}var It=Object[_0x4711bf(0x1fe)],vt=(_0x50dedd,_0xd5c563,_0x50931f,_0x5887c7)=>{for(var _0x4f4a99=_0x5887c7>0x1?void 0x0:_0x5887c7?It(_0xd5c563,_0x50931f):_0xd5c563,_0x437380=_0x50dedd['length']-0x1,_0x2c565e;_0x437380>=0x0;_0x437380--)(_0x2c565e=_0x50dedd[_0x437380])&&(_0x4f4a99=_0x2c565e(_0x4f4a99)||_0x4f4a99);return _0x4f4a99;},W=(_0xbbf185,_0xdcb8ac)=>(_0x5b0106,_0x16b06d)=>_0xdcb8ac(_0x5b0106,_0x16b06d,_0xbbf185);let Ie=class extends a[_0x4711bf(0x1b0)]{constructor(_0x142ceb,_0x460000,_0x57e77a,_0xb1b41b,_0x472784){const _0x5494ba=_0x4711bf;super(),h(this,_0x5494ba(0x38b),[]),h(this,_0x5494ba(0x184),[]),(this[_0x5494ba(0x1fb)]=_0x142ceb,this[_0x5494ba(0x28d)]=_0x460000,this[_0x5494ba(0x2dc)]=_0x57e77a,this[_0x5494ba(0x1ce)]=_0xb1b41b,this[_0x5494ba(0x28a)]=_0x472784,this[_0x5494ba(0x1dc)]());}[_0x4711bf(0x1dc)](){const _0x27cfea=_0x4711bf,_0x48ea45=this[_0x27cfea(0x1fb)][_0x27cfea(0x1d4)],_0x30a043=this[_0x27cfea(0x28d)];this['disposeWithMe'](d[_0x27cfea(0x1e7)]([this[_0x27cfea(0x2dc)][_0x27cfea(0x15e)](_0x48ea45),this['_themeService']['currentTheme$']])[_0x27cfea(0x289)]($['map'](([_0x3ebca9,_0xc7a252])=>({'skeleton':_0x30a043[_0x27cfea(0x233)](),'cursors':[..._0x3ebca9[_0x27cfea(0x30c)]()][_0x27cfea(0x3e1)](_0x5b45be=>({..._0x5b45be,'color':this[_0x27cfea(0x28a)][_0x27cfea(0x22a)](_0x5b45be[_0x27cfea(0x3da)])}))})))[_0x27cfea(0x297)](_0xb26f20=>{const _0x1642f6=_0x27cfea;if(this['_removeCollabCursors'](),_0xb26f20){const {skeleton:_0x58341d,cursors:_0x57f452}=_0xb26f20;this[_0x1642f6(0x2f2)](_0x58341d,_0x57f452);}})),this[_0x27cfea(0x32c)](),this[_0x27cfea(0x1c4)]();}[_0x4711bf(0x2f2)](_0xe8466d,_0x342d0e){const _0x3abf38=_0x4711bf,{scene:_0x5dcac7,mainComponent:_0x4b6677}=this[_0x3abf38(0x1fb)],_0x333ce3=_0x342d0e[_0x3abf38(0x380)](_0x1bab18=>new De(_0x1bab18,_0x5dcac7,_0xe8466d,_0x4b6677));this[_0x3abf38(0x38b)]=_0x333ce3,this[_0x3abf38(0x184)]=_0x342d0e;}[_0x4711bf(0x2d0)](){const _0xe7cc6e=_0x4711bf;this[_0xe7cc6e(0x284)]();const {scene:_0x9c8510,mainComponent:_0x561545}=this[_0xe7cc6e(0x1fb)],_0x52f8ba=this[_0xe7cc6e(0x28d)][_0xe7cc6e(0x233)](),_0x23aceb=this[_0xe7cc6e(0x184)]['map'](_0x403908=>new De(_0x403908,_0x9c8510,_0x52f8ba,_0x561545));this['_cursorShapes']=_0x23aceb;}[_0x4711bf(0x284)](){const _0x24cadf=_0x4711bf;this['_cursorShapes'][_0x24cadf(0x22b)](_0x1d18d4=>_0x1d18d4[_0x24cadf(0x192)]()),this[_0x24cadf(0x38b)]=[];}[_0x4711bf(0x1c4)](){const _0x1a2db1=_0x4711bf,_0x48a1d0=[b['SetDocZoomRatioOperation']['id']];this[_0x1a2db1(0x2e9)](this[_0x1a2db1(0x1ce)][_0x1a2db1(0x35c)](_0x20421a=>{const _0x5b2dbd=_0x1a2db1;_0x48a1d0[_0x5b2dbd(0x17b)](_0x20421a['id'])&&_0x20421a[_0x5b2dbd(0x276)][_0x5b2dbd(0x1d4)]===this['_context'][_0x5b2dbd(0x1d4)]&&this[_0x5b2dbd(0x2d0)]();}));}['_initResize'](){const _0x1efc88=_0x4711bf;this[_0x1efc88(0x2e9)](a[_0x1efc88(0x323)](this['_context'][_0x1efc88(0x174)][_0x1efc88(0x31c)])['pipe']($['filter'](_0x2f56da=>_0x2f56da[_0x1efc88(0x287)]===p[_0x1efc88(0x345)][_0x1efc88(0x241)]),$[_0x1efc88(0x381)](0x10))['subscribe'](()=>{const _0x1ea7db=_0x1efc88;this[_0x1ea7db(0x2d0)]();}));}};Ie=vt([W(0x1,a[_0x4711bf(0x209)](Y['DocSkeletonManagerService'])),W(0x2,a[_0x4711bf(0x209)](x)),W(0x3,a[_0x4711bf(0x38d)]),W(0x4,a['Inject'](a[_0x4711bf(0x277)]))],Ie);const gt=0x1,mt=1.5;class Pe extends p[_0x4711bf(0x1f9)]{constructor(_0x555f6b,_0x330258){const _0x53eb3a=_0x4711bf;super(_0x555f6b,_0x330258),h(this,_0x53eb3a(0x3d1)),h(this,_0x53eb3a(0x2a8),!0x1),h(this,_0x53eb3a(0x398)),h(this,_0x53eb3a(0x370),''),h(this,_0x53eb3a(0x3af),_0x53eb3a(0x2bc)),h(this,'_backgroundColor'),(_0x330258&&this[_0x53eb3a(0x3eb)](_0x330258),this['onPointerEnter$'][_0x53eb3a(0x3d8)](()=>this[_0x53eb3a(0x3eb)]({'hovered':!0x0})),this[_0x53eb3a(0x37d)][_0x53eb3a(0x3d8)](()=>this[_0x53eb3a(0x3eb)]({'hovered':!0x1})));}[_0x4711bf(0x3eb)](_0x16a5cf){const _0x25e804=_0x4711bf;var _0x3c78e0,_0x16a9dc,_0x4c432f,_0x35a180,_0x47435e,_0x585b1a;this[_0x25e804(0x3d1)]=(_0x3c78e0=_0x16a5cf[_0x25e804(0x3da)])!=null?_0x3c78e0:this[_0x25e804(0x3d1)],this['_hovered']=(_0x16a9dc=_0x16a5cf[_0x25e804(0x2b0)])!=null?_0x16a9dc:this[_0x25e804(0x2a8)],this[_0x25e804(0x398)]=(_0x4c432f=_0x16a5cf[_0x25e804(0x1dd)])!=null?_0x4c432f:this[_0x25e804(0x398)],this[_0x25e804(0x370)]=(_0x35a180=_0x16a5cf['name'])!=null?_0x35a180:this[_0x25e804(0x370)],this['_labelPosition']=(_0x47435e=_0x16a5cf[_0x25e804(0x18d)])!=null?_0x47435e:this[_0x25e804(0x3af)],this[_0x25e804(0x198)]=(_0x585b1a=_0x16a5cf['backgroundColor'])!=null?_0x585b1a:this[_0x25e804(0x198)],this[_0x25e804(0x19d)]({'width':_0x16a5cf[_0x25e804(0x1e0)],'height':_0x16a5cf[_0x25e804(0x354)]});}[_0x4711bf(0x1da)](_0x264920){const _0x22d8be=_0x4711bf,{row:_0xc7d130,column:_0x2aa17b}=_0x264920;if(_0xc7d130>=this[_0x22d8be(0x398)][_0x22d8be(0x197)]&&_0xc7d130<=this[_0x22d8be(0x398)][_0x22d8be(0x336)]&&_0x2aa17b>=this['_range'][_0x22d8be(0x1eb)]&&_0x2aa17b<=this['_range']['endColumn']){this[_0x22d8be(0x3eb)]({'hovered':!0x0});return;}this['setShapeProps']({'hovered':!0x1});}[_0x4711bf(0x2ad)](_0x41cac6){return!0x1;}['_draw'](_0x246a0a){const _0x1eb328=_0x4711bf;p[_0x1eb328(0x36f)]['drawWith'](_0x246a0a,{'width':this[_0x1eb328(0x1e0)],'height':this['height'],'strokeWidth':mt,'stroke':this[_0x1eb328(0x3d1)],'evented':!0x1,'fill':this[_0x1eb328(0x198)]}),this[_0x1eb328(0x2a8)]&&(_0x246a0a[_0x1eb328(0x3a2)](),_0x246a0a[_0x1eb328(0x22e)](0x1,0x0,0x0,0x1,this[_0x1eb328(0x1e0)],this['_labelPosition']===_0x1eb328(0x1f7)?0x0:-0x14),ee['drawWith'](_0x246a0a,{'text':this[_0x1eb328(0x370)],'color':this[_0x1eb328(0x3d1)]}),_0x246a0a['restore']());}}var Ct=Object[_0x4711bf(0x1fe)],pt=(_0x308325,_0x2cd5f2,_0x550c97,_0x5befed)=>{for(var _0x42e713=_0x5befed>0x1?void 0x0:_0x5befed?Ct(_0x2cd5f2,_0x550c97):_0x2cd5f2,_0x9a290d=_0x308325['length']-0x1,_0x500804;_0x9a290d>=0x0;_0x9a290d--)(_0x500804=_0x308325[_0x9a290d])&&(_0x42e713=_0x500804(_0x42e713)||_0x42e713);return _0x42e713;},ae=(_0x4d86e7,_0x18b694)=>(_0xe4d6f0,_0x243894)=>_0x18b694(_0xe4d6f0,_0x243894,_0x4d86e7);const bt=0x1389;let ve=class extends a['RxDisposable']{constructor(_0x1f4e83,_0x12dd1c,_0x5edf88,_0x1ef522){const _0x2965c5=_0x4711bf;super(),h(this,_0x2965c5(0x184),new Set()),h(this,_0x2965c5(0x2ee),null),(this[_0x2965c5(0x1fb)]=_0x1f4e83,this['_sheetSkeletonManagerService']=_0x12dd1c,this['_collabCursorController']=_0x5edf88,this[_0x2965c5(0x28a)]=_0x1ef522,this['_init']());}[_0x4711bf(0x1dc)](){const _0x91fb72=_0x4711bf;this[_0x91fb72(0x378)]['currentSkeleton$'][_0x91fb72(0x289)]($[_0x91fb72(0x321)](this[_0x91fb72(0x20c)]),$[_0x91fb72(0x29b)](_0x5400fd=>{const _0x34d8a3=_0x91fb72;if(_0x5400fd){const _0x984cab=_0x5400fd[_0x34d8a3(0x230)];return d[_0x34d8a3(0x1e7)](this[_0x34d8a3(0x2dc)][_0x34d8a3(0x15e)](this[_0x34d8a3(0x1fb)][_0x34d8a3(0x1d4)]),this[_0x34d8a3(0x28a)][_0x34d8a3(0x3ab)])[_0x34d8a3(0x289)]($[_0x34d8a3(0x380)](([_0x182c59,_0x436731])=>{const _0x2ae22e=_0x34d8a3,_0xdc11db=new Map();return _0x182c59[_0x2ae22e(0x22b)]((_0x3210ce,_0x1b2ac6)=>{const _0x450ace=_0x2ae22e;if(_0x3210ce['sheetID']===_0x984cab){const _0x3e0932={..._0x3210ce};_0x3e0932[_0x450ace(0x3da)]=this['_themeService']['getColorFromTheme'](_0x3210ce[_0x450ace(0x3da)]),_0xdc11db[_0x450ace(0x1cb)](_0x1b2ac6,_0x3e0932);}}),{'skeleton':_0x5400fd,'cursors':_0xdc11db};}));}return d['of']({'skeleton':null,'cursors':new Map()});}))['subscribe'](({skeleton:_0x2a2d8b,cursors:_0x74c96b})=>{const _0x4e2673=_0x91fb72;this[_0x4e2673(0x284)](),_0x2a2d8b&&this[_0x4e2673(0x2f2)](_0x2a2d8b,_0x74c96b);}),this[_0x91fb72(0x378)]['currentSkeleton$']['subscribe'](_0x53c1cc=>{const _0x3795e1=_0x91fb72;if(_0x53c1cc==null)return;const {skeleton:_0x12209a}=_0x53c1cc,{scene:_0x3fed06}=this['_context'];_0x3fed06['onPointerMove$']['subscribeEvent'](a[_0x3795e1(0x3b5)](_0x4e3f4d=>{const _0x3b7bc0=_0x3795e1;var _0x4de18f,_0x40e48d;const {offsetX:_0x325f2a,offsetY:_0xaa229}=_0x4e3f4d,{x:_0x481bfe,y:_0x57ef98}=_0x3fed06['getRelativeToViewportCoord'](p[_0x3b7bc0(0x2bf)][_0x3b7bc0(0x2c4)]([_0x325f2a,_0xaa229])),{scaleX:_0x5dc5d4,scaleY:_0x2494e6}=_0x3fed06[_0x3b7bc0(0x21b)](),_0x1f4d2f=_0x3fed06[_0x3b7bc0(0x2a1)](p[_0x3b7bc0(0x2f7)][_0x3b7bc0(0x313)]),_0x12029e=_0x3fed06[_0x3b7bc0(0x3e5)](p['Vector2']['FromArray']([_0x481bfe,_0x57ef98]),_0x1f4d2f),_0x4d6f65=_0x12209a[_0x3b7bc0(0x210)](_0x325f2a,_0xaa229,_0x5dc5d4,_0x2494e6,_0x12029e);((_0x4de18f=this[_0x3b7bc0(0x2ee)])==null?void 0x0:_0x4de18f[_0x3b7bc0(0x379)])===_0x4d6f65[_0x3b7bc0(0x379)]&&((_0x40e48d=this[_0x3b7bc0(0x2ee)])==null?void 0x0:_0x40e48d['row'])===_0x4d6f65['row']||this[_0x3b7bc0(0x184)][_0x3b7bc0(0x22b)](_0x475cb1=>{const _0x5b6844=_0x3b7bc0;_0x475cb1[_0x5b6844(0x1da)](_0x4d6f65);});},0x64));});}[_0x4711bf(0x2f2)](_0x3c9034,_0x5c0c75){const _0x37b3e0=_0x4711bf;var _0x3c7752;const _0x97b3fe=(_0x3c7752=this[_0x37b3e0(0x378)][_0x37b3e0(0x2a7)]())==null?void 0x0:_0x3c7752[_0x37b3e0(0x3b4)];if(!_0x97b3fe)return;const _0x52faae=this['_getSheetObject']();if(!_0x52faae)return;this['_cursors'][_0x37b3e0(0x22b)](_0x2920f0=>{_0x2920f0['makeDirty']();});const {scene:_0x421cd3}=_0x52faae,_0x54d342=Et(Array['from'](_0x5c0c75[_0x37b3e0(0x30c)]()))[_0x37b3e0(0x380)](_0x59c2ed=>{const _0x295466=_0x37b3e0,{color:_0x23bedf,range:_0x44bd29,name:_0xaee56a,selection:_0x387c45,sheetID:_0x2773d1}=_0x59c2ed,{startColumn:_0x13e2cf,startRow:_0x4fa59c,endColumn:_0x34cb16,endRow:_0x492077}=_0x44bd29,_0x497e1c=X[_0x295466(0x3c4)](_0x4fa59c,_0x13e2cf,_0x421cd3,_0x97b3fe),_0x3bc4e1=X[_0x295466(0x3c4)](_0x492077,_0x34cb16,_0x421cd3,_0x97b3fe),{columnHeaderHeightAndMarginTop:_0x3cb863}=_0x97b3fe,{startX:_0x516441,startY:_0x26a4d5}=_0x497e1c,{endX:_0x430ed2,endY:_0x5abe74}=_0x3bc4e1,_0x2aec56=_0x430ed2-_0x516441,_0x5acf7b=_0x5abe74-_0x26a4d5,_0x504533={'labelPosition':_0x26a4d5-_0x3cb863>=K?'top':'bottom','sheetID':_0x2773d1,'range':_0x44bd29,'color':_0x23bedf,'name':_0xaee56a,'selection':_0x387c45,'left':_0x516441,'top':_0x26a4d5,'width':_0x2aec56,'height':_0x5acf7b,'evented':!0x1,'zIndex':bt};return new Pe(_0xaee56a,_0x504533);});_0x421cd3[_0x37b3e0(0x3c3)](_0x54d342,gt),this['_cursors']=new Set(_0x54d342);}[_0x4711bf(0x284)](){const _0x59c407=_0x4711bf;var _0x3023a1;(_0x3023a1=this[_0x59c407(0x184)])==null||_0x3023a1[_0x59c407(0x22b)](_0x4c25c6=>_0x4c25c6[_0x59c407(0x192)]());}[_0x4711bf(0x26d)](){const _0x379d1c=_0x4711bf;return X['getSheetObject'](this[_0x379d1c(0x1fb)][_0x379d1c(0x366)],this[_0x379d1c(0x1fb)]);}};ve=pt([ae(0x1,a[_0x4711bf(0x209)](X[_0x4711bf(0x320)])),ae(0x2,a[_0x4711bf(0x209)](x)),ae(0x3,a[_0x4711bf(0x209)](a[_0x4711bf(0x277)]))],ve);function Et(_0x1fba40){const _0x1d87ec=_0x4711bf,_0x30d8ca=new Map();return _0x1fba40['forEach'](_0x3a458b=>{const _0x227a50=_0x5c67;if(_0x30d8ca[_0x227a50(0x3ec)](_0x3a458b['selection'])){const _0x16ce9c=_0x30d8ca[_0x227a50(0x3bc)](_0x3a458b[_0x227a50(0x17c)]);_0x16ce9c[_0x227a50(0x179)]+=',\x20'+_0x3a458b[_0x227a50(0x179)];}else _0x30d8ca[_0x227a50(0x1cb)](_0x3a458b[_0x227a50(0x17c)],_0x3a458b);}),Array['from'](_0x30d8ca[_0x1d87ec(0x30c)]());}var E=function(){const _0x9134f7=_0x4711bf;return E=Object[_0x9134f7(0x346)]||function(_0x35ba29){const _0x2ed340=_0x9134f7;for(var _0x5e966e,_0x2d2d9f=0x1,_0x5a678a=arguments['length'];_0x2d2d9f<_0x5a678a;_0x2d2d9f++){_0x5e966e=arguments[_0x2d2d9f];for(var _0x3f2543 in _0x5e966e)Object[_0x2ed340(0x24d)][_0x2ed340(0x2ff)]['call'](_0x5e966e,_0x3f2543)&&(_0x35ba29[_0x3f2543]=_0x5e966e[_0x3f2543]);}return _0x35ba29;},E[_0x9134f7(0x2cc)](this,arguments);},Tt=function(_0x179db8,_0x33ecdf){const _0x25367c=_0x4711bf;var _0x167985={};for(var _0xc4f9e8 in _0x179db8)Object['prototype'][_0x25367c(0x2ff)][_0x25367c(0x33c)](_0x179db8,_0xc4f9e8)&&_0x33ecdf[_0x25367c(0x35b)](_0xc4f9e8)<0x0&&(_0x167985[_0xc4f9e8]=_0x179db8[_0xc4f9e8]);if(_0x179db8!=null&&typeof Object[_0x25367c(0x32a)]==_0x25367c(0x217)){for(var _0x153504=0x0,_0xc4f9e8=Object['getOwnPropertySymbols'](_0x179db8);_0x153504<_0xc4f9e8[_0x25367c(0x246)];_0x153504++)_0x33ecdf[_0x25367c(0x35b)](_0xc4f9e8[_0x153504])<0x0&&Object[_0x25367c(0x24d)][_0x25367c(0x361)][_0x25367c(0x33c)](_0x179db8,_0xc4f9e8[_0x153504])&&(_0x167985[_0xc4f9e8[_0x153504]]=_0x179db8[_0xc4f9e8[_0x153504]]);}return _0x167985;},pe=M[_0x4711bf(0x16f)](function(_0x32555f,_0x3137b3){const _0x3e82e2=_0x4711bf;var _0x2e10d5=_0x32555f['icon'],_0x3bb08a=_0x32555f['id'],_0x47ea0=_0x32555f[_0x3e82e2(0x1ca)],_0x1a8bda=_0x32555f['extend'],_0x4b9159=Tt(_0x32555f,[_0x3e82e2(0x19f),'id',_0x3e82e2(0x1ca),'extend']),_0x1bf1b5=_0x3e82e2(0x267)[_0x3e82e2(0x2f6)](_0x3bb08a,'\x20')[_0x3e82e2(0x2f6)](_0x47ea0||'')[_0x3e82e2(0x3c1)](),_0x42459b=M['useRef']('_'['concat'](Dt()));return Ae(_0x2e10d5,''[_0x3e82e2(0x2f6)](_0x3bb08a),{'defIds':_0x2e10d5['defIds'],'idSuffix':_0x42459b[_0x3e82e2(0x2cb)]},E({'ref':_0x3137b3,'className':_0x1bf1b5},_0x4b9159),_0x1a8bda);});function Ae(_0x945a11,_0x27dec8,_0x36461b,_0x154e38,_0x332b04){const _0x40247=_0x4711bf;return M[_0x40247(0x337)](_0x945a11['tag'],E(E({'key':_0x27dec8},Ot(_0x945a11,_0x36461b,_0x332b04)),_0x154e38),(Rt(_0x945a11,_0x36461b)['children']||[])['map'](function(_0x17e6d9,_0x2971f9){const _0xe31ec4=_0x40247;return Ae(_0x17e6d9,''[_0xe31ec4(0x2f6)](_0x27dec8,'-')[_0xe31ec4(0x2f6)](_0x945a11[_0xe31ec4(0x3b0)],'-')[_0xe31ec4(0x2f6)](_0x2971f9),_0x36461b,void 0x0,_0x332b04);}));}function Ot(_0x273d23,_0x4dadb6,_0xf4297f){const _0x26426e=_0x4711bf;var _0x203559=E({},_0x273d23[_0x26426e(0x360)]);_0xf4297f!=null&&_0xf4297f[_0x26426e(0x1c2)]&&_0x203559[_0x26426e(0x3c5)]===_0x26426e(0x1c2)&&(_0x203559[_0x26426e(0x3c5)]=_0xf4297f['colorChannel1']),_0x273d23[_0x26426e(0x3b0)]===_0x26426e(0x1ea)&&_0x203559['id']&&(_0x203559['id']=_0x203559['id']+_0x4dadb6[_0x26426e(0x1e9)]),Object[_0x26426e(0x2c1)](_0x203559)[_0x26426e(0x22b)](function(_0x10b0ed){const _0x558434=_0x26426e;var _0x3fe8a4=_0x10b0ed[0x0],_0x2d6675=_0x10b0ed[0x1];_0x3fe8a4===_0x558434(0x1ea)&&typeof _0x2d6675=='string'&&(_0x203559[_0x3fe8a4]=_0x2d6675[_0x558434(0x2c5)](/url\(#(.*)\)/,'url(#$1'[_0x558434(0x2f6)](_0x4dadb6[_0x558434(0x1e9)],')')));});var _0x1db29a=_0x4dadb6[_0x26426e(0x3c9)];return!_0x1db29a||_0x1db29a[_0x26426e(0x246)]===0x0||(_0x273d23['tag']==='use'&&_0x203559[_0x26426e(0x37f)]&&(_0x203559[_0x26426e(0x37f)]=_0x203559[_0x26426e(0x37f)]+_0x4dadb6[_0x26426e(0x1e9)]),Object[_0x26426e(0x2c1)](_0x203559)['forEach'](function(_0x3cebde){const _0x268ced=_0x26426e;var _0x3fb8f6=_0x3cebde[0x0],_0x46c6cb=_0x3cebde[0x1];typeof _0x46c6cb=='string'&&(_0x203559[_0x3fb8f6]=_0x46c6cb[_0x268ced(0x2c5)](/url\(#(.*)\)/,_0x268ced(0x16e)[_0x268ced(0x2f6)](_0x4dadb6['idSuffix'],')')));})),_0x203559;}function Rt(_0x250923,_0x4a27d4){const _0x46f710=_0x4711bf;var _0x56f40b,_0x591063=_0x4a27d4['defIds'];return!_0x591063||_0x591063[_0x46f710(0x246)]===0x0?_0x250923:_0x250923[_0x46f710(0x3b0)]===_0x46f710(0x338)&&(!((_0x56f40b=_0x250923[_0x46f710(0x1ac)])===null||_0x56f40b===void 0x0)&&_0x56f40b[_0x46f710(0x246)])?E(E({},_0x250923),{'children':_0x250923[_0x46f710(0x1ac)][_0x46f710(0x380)](function(_0x1e9a5a){const _0x4b05c6=_0x46f710;return typeof _0x1e9a5a[_0x4b05c6(0x360)]['id']==_0x4b05c6(0x28b)&&_0x591063&&_0x591063[_0x4b05c6(0x17b)](_0x1e9a5a[_0x4b05c6(0x360)]['id'])?E(E({},_0x1e9a5a),{'attrs':E(E({},_0x1e9a5a[_0x4b05c6(0x360)]),{'id':_0x1e9a5a['attrs']['id']+_0x4a27d4[_0x4b05c6(0x1e9)]})}):_0x1e9a5a;})}):_0x250923;}function Dt(){const _0xcb9299=_0x4711bf;return Math[_0xcb9299(0x266)]()[_0xcb9299(0x37c)](0x24)['substring'](0x2,0x8);}pe['displayName']=_0x4711bf(0x189);var Ut={'tag':_0x4711bf(0x268),'attrs':{'xmlns':_0x4711bf(0x318),'fill':_0x4711bf(0x159),'viewBox':'0\x200\x2016\x2016','width':_0x4711bf(0x3df),'height':_0x4711bf(0x3df)},'children':[{'tag':'g','attrs':{'clipPath':'url(#off-line-icon_clip0_910_343)'},'children':[{'tag':'path','attrs':{'stroke':_0x4711bf(0x1cf),'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':_0x4711bf(0x190),'strokeLinejoin':'round','strokeWidth':1.2}}]},{'tag':_0x4711bf(0x338),'attrs':{},'children':[{'tag':_0x4711bf(0x3ae),'attrs':{'id':'off-line-icon_clip0_910_343'},'children':[{'tag':_0x4711bf(0x2b9),'attrs':{'fill':_0x4711bf(0x324),'d':_0x4711bf(0x1b5)}}]}]}],'defIds':[_0x4711bf(0x3e8)]},ye=M[_0x4711bf(0x16f)](function(_0x2506a0,_0x1529fb){const _0x7ed193=_0x4711bf;return M['createElement'](pe,Object[_0x7ed193(0x346)]({},_0x2506a0,{'id':_0x7ed193(0x31a),'ref':_0x1529fb,'icon':Ut}));});ye[_0x4711bf(0x3b3)]=_0x4711bf(0x16a);var Nt={'tag':_0x4711bf(0x268),'attrs':{'xmlns':_0x4711bf(0x318),'fill':_0x4711bf(0x159),'viewBox':_0x4711bf(0x271),'width':_0x4711bf(0x3df),'height':_0x4711bf(0x3df)},'children':[{'tag':'g','attrs':{'clipPath':_0x4711bf(0x2ed)},'children':[{'tag':_0x4711bf(0x2b9),'attrs':{'stroke':_0x4711bf(0x1cf),'d':'M4.5865\x2011.6499C3.36983\x2011.6499\x201.6665\x2011.1024\x201.6665\x208.9124C1.6665\x206.3574\x204.2215\x205.8099\x204.9515\x205.8099C5.3165\x204.5324\x206.0465\x202.5249\x208.9665\x202.5249C11.5215\x202.5249\x2012.6165\x203.9849\x2012.9815\x205.2624C12.9815\x205.2624\x2016.2665\x205.6274\x2016.2665\x208.7299C16.2665\x2010.9199\x2014.8065\x2011.6499\x2013.3465\x2011.6499M6.7767\x2011.6497L8.9667\x2013.4747L11.8867\x209.82466','strokeLinecap':_0x4711bf(0x190),'strokeLinejoin':'round','strokeWidth':1.2}}]},{'tag':_0x4711bf(0x338),'attrs':{},'children':[{'tag':'clipPath','attrs':{'id':_0x4711bf(0x350)},'children':[{'tag':_0x4711bf(0x2b9),'attrs':{'fill':'white','d':_0x4711bf(0x1b5),'transform':'translate(.97)'}}]}]}],'defIds':[_0x4711bf(0x350)]},$e=M[_0x4711bf(0x16f)](function(_0x5ec8bf,_0x4a4dfb){const _0x4e28a5=_0x4711bf;return M[_0x4e28a5(0x337)](pe,Object['assign']({},_0x5ec8bf,{'id':_0x4e28a5(0x1a9),'ref':_0x4a4dfb,'icon':Nt}));});$e[_0x4711bf(0x3b3)]=_0x4711bf(0x3a7);function Mt(_0x5c2459){const _0x4ba4fb=_0x4711bf;switch(_0x5c2459){case u[_0x4ba4fb(0x291)]['OFFLINE']:return _0x4ba4fb(0x310);case u[_0x4ba4fb(0x291)]['CONFLICT']:return _0x4ba4fb(0x2df);case u[_0x4ba4fb(0x291)][_0x4ba4fb(0x2d9)]:return'collabStatus.fetchMiss';case u['CollaborationStatus'][_0x4ba4fb(0x2d1)]:return _0x4ba4fb(0x170);case u[_0x4ba4fb(0x291)][_0x4ba4fb(0x165)]:case u['CollaborationStatus'][_0x4ba4fb(0x1c3)]:return _0x4ba4fb(0x3aa);case u[_0x4ba4fb(0x291)]['SYNCED']:case u[_0x4ba4fb(0x291)][_0x4ba4fb(0x17d)]:return'collabStatus.synced';}}function xe(_0x2df876){const _0x2aa8a2=_0x4711bf,{status$:_0x23c47e}=_0x2df876,_0x154e08=T[_0x2aa8a2(0x221)](_0x23c47e,u[_0x2aa8a2(0x291)][_0x2aa8a2(0x2d1)]),_0x5086a6=T[_0x2aa8a2(0x2e6)](a[_0x2aa8a2(0x30b)]),_0x4e2c61=T[_0x2aa8a2(0x2e6)](u[_0x2aa8a2(0x30a)]),_0x23bb77=_0x154e08!==u[_0x2aa8a2(0x291)][_0x2aa8a2(0x219)],_0xb8c4bc=_0x5086a6['t'](Mt(_0x154e08)),_0x532447=_0x23bb77?w[_0x2aa8a2(0x275)]($e,{}):w['jsx'](ye,{}),_0x1e1e7c=M['useCallback'](()=>{const _0x49dead=_0x2aa8a2;_0x23bb77||_0x4e2c61[_0x49dead(0x2e8)]();},[_0x23bb77,_0x4e2c61]);function _0x3a612e(){const _0x57d344=_0x2aa8a2;return w['jsxs'](_0x57d344(0x294),{'className':_0x57d344(0x340),'onClick':_0x1e1e7c,'children':[w['jsx'](_0x57d344(0x294),{'className':D[_0x57d344(0x260)](_0x57d344(0x299),{'univer-text-green-500':_0x23bb77,'univer-text-red-500':!_0x23bb77}),'children':_0x532447}),w[_0x57d344(0x275)](_0x57d344(0x294),{'className':_0x57d344(0x280),'children':_0xb8c4bc})]});}return _0x23bb77?_0x3a612e():w[_0x2aa8a2(0x275)](D[_0x2aa8a2(0x1f3)],{'title':_0x5086a6['t'](_0x2aa8a2(0x32f)),'children':_0x3a612e()});}var Lt=Object['getOwnPropertyDescriptor'],wt=(_0x2f3b36,_0x30416c,_0x23e6be,_0x2ee41f)=>{const _0x234fda=_0x4711bf;for(var _0x417c3d=_0x2ee41f>0x1?void 0x0:_0x2ee41f?Lt(_0x30416c,_0x23e6be):_0x30416c,_0x281241=_0x2f3b36[_0x234fda(0x246)]-0x1,_0x3ed4dd;_0x281241>=0x0;_0x281241--)(_0x3ed4dd=_0x2f3b36[_0x281241])&&(_0x417c3d=_0x3ed4dd(_0x417c3d)||_0x417c3d);return _0x417c3d;},V=(_0x21daa9,_0x578980)=>(_0x22480f,_0x390eac)=>_0x578980(_0x22480f,_0x390eac,_0x21daa9);exports[_0x4711bf(0x3dc)]=class extends a[_0x4711bf(0x3ac)]{constructor(_0x3a9145,_0x5c410d,_0x457b1b,_0x2a7d84){const _0x2e4845=_0x4711bf;super(),h(this,'_status$',new d[(_0x2e4845(0x306))](u[_0x2e4845(0x291)][_0x2e4845(0x2d1)])),(this['_univerInstanceService']=_0x3a9145,this[_0x2e4845(0x2db)]=_0x5c410d,this[_0x2e4845(0x364)]=_0x457b1b,this[_0x2e4845(0x2ac)]=_0x2a7d84,this[_0x2e4845(0x1bf)](),this[_0x2e4845(0x214)]());}[_0x4711bf(0x214)](){const _0x5177fa=_0x4711bf;this['disposeWithMe'](this[_0x5177fa(0x335)][_0x5177fa(0x39e)][_0x5177fa(0x289)](d[_0x5177fa(0x29b)](()=>{const _0x33c910=_0x5177fa,_0x219ebf=this[_0x33c910(0x335)][_0x33c910(0x2f5)]();return _0x219ebf?this[_0x33c910(0x364)][_0x33c910(0x367)](_0x219ebf['getUnitId']()):d['of'](null);}),d[_0x5177fa(0x29b)](_0x142258=>_0x142258?_0x142258[_0x5177fa(0x3a8)]:d['of'](u[_0x5177fa(0x291)][_0x5177fa(0x2d1)])))['subscribe'](_0x537f78=>{const _0x27313f=_0x5177fa;this[_0x27313f(0x3f1)][_0x27313f(0x33e)](_0x537f78);}));}[_0x4711bf(0x1bf)](){const _0x5dbd3e=_0x4711bf;this[_0x5dbd3e(0x2e9)](this[_0x5dbd3e(0x2ac)][_0x5dbd3e(0x2dd)](T[_0x5dbd3e(0x185)][_0x5dbd3e(0x395)],()=>T[_0x5dbd3e(0x281)](Pt({'status$':this['_status$'][_0x5dbd3e(0x2e1)]()}),this[_0x5dbd3e(0x2db)])));}},exports[_0x4711bf(0x3dc)]=wt([V(0x0,a[_0x4711bf(0x21a)]),V(0x1,a[_0x4711bf(0x209)](a['Injector'])),V(0x2,a[_0x4711bf(0x209)](u[_0x4711bf(0x282)])),V(0x3,T[_0x4711bf(0x1db)])],exports['DesktopCollaborationStatusDisplayController']);function Pt(_0x40edc4){const {status$:_0x420a19}=_0x40edc4;return function(){return w['jsx'](xe,{'status$':_0x420a19});};}var At=Object[_0x4711bf(0x1fe)],yt=(_0xf90983,_0x381b1b,_0x240508,_0x50268f)=>{for(var _0x20f0d4=_0x50268f>0x1?void 0x0:_0x50268f?At(_0x381b1b,_0x240508):_0x381b1b,_0x492f6f=_0xf90983['length']-0x1,_0x3d70fb;_0x492f6f>=0x0;_0x492f6f--)(_0x3d70fb=_0xf90983[_0x492f6f])&&(_0x20f0d4=_0x3d70fb(_0x20f0d4)||_0x20f0d4);return _0x20f0d4;},y=(_0x539c98,_0x2c82dc)=>(_0x32b2d5,_0x463f9b)=>_0x2c82dc(_0x32b2d5,_0x463f9b,_0x539c98);let q=class extends a[_0x4711bf(0x3ac)]{constructor(_0x32880b,_0x37e501,_0xba694,_0x388e32,_0x2654a9,_0x31ae5b){const _0x1deae6=_0x4711bf;super(),this[_0x1deae6(0x32d)]=_0x32880b,this['_localCacheService']=_0x37e501,this[_0x1deae6(0x304)]=_0xba694,this[_0x1deae6(0x229)]=_0x388e32,this[_0x1deae6(0x1d3)]=_0x2654a9,this[_0x1deae6(0x205)]=_0x31ae5b,this[_0x1deae6(0x2c6)](),this[_0x1deae6(0x18c)]();}[_0x4711bf(0x2c6)](){const _0x43d1b9=_0x4711bf;this['disposeWithMe'](this[_0x43d1b9(0x32d)][_0x43d1b9(0x2e2)](()=>{const _0x208428=_0x43d1b9;if(this[_0x208428(0x1c7)][_0x208428(0x238)][_0x208428(0x264)])return this[_0x208428(0x205)]['t'](_0x208428(0x3ed));}));}[_0x4711bf(0x18c)](){const _0x20fd7d=_0x4711bf;this[_0x20fd7d(0x2e9)](this[_0x20fd7d(0x304)][_0x20fd7d(0x39c)]['subscribe'](_0x3c6238=>{const _0x431b29=_0x20fd7d;_0x3c6238['id']===u[_0x431b29(0x332)][_0x431b29(0x39a)]&&this[_0x431b29(0x229)][_0x431b29(0x28c)]({'type':D[_0x431b29(0x392)][_0x431b29(0x17f)],'content':this['_localeService']['t'](_0x431b29(0x17a))}),_0x3c6238['id']===u[_0x431b29(0x332)][_0x431b29(0x173)]&&this['_messageService'][_0x431b29(0x28c)]({'type':D[_0x431b29(0x392)][_0x431b29(0x17f)],'content':this[_0x431b29(0x205)]['t'](_0x431b29(0x1ee))}),_0x3c6238['id']===u['CollaborationUIEventId'][_0x431b29(0x3f2)]&&this[_0x431b29(0x1d3)][_0x431b29(0x28c)]({'title':this[_0x431b29(0x205)]['t'](_0x431b29(0x215)),'content':this[_0x431b29(0x205)]['t'](_0x431b29(0x3e6)),'type':_0x431b29(0x375),'duration':0x0}),_0x3c6238['id']===u[_0x431b29(0x332)][_0x431b29(0x2c7)]&&this[_0x431b29(0x229)]['show']({'type':D[_0x431b29(0x392)][_0x431b29(0x240)],'content':this['_localeService']['t'](_0x431b29(0x1ee))+'('+_0x3c6238['data']+')'}),_0x3c6238['id']===u[_0x431b29(0x332)][_0x431b29(0x342)]&&this['_messageService']['show']({'type':D[_0x431b29(0x392)]['Warning'],'content':this['_localeService']['t'](_0x3c6238[_0x431b29(0x3e7)]||'')}),_0x3c6238['id']===u[_0x431b29(0x332)][_0x431b29(0x252)]&&this['_messageService'][_0x431b29(0x28c)]({'type':D['MessageType'][_0x431b29(0x17f)],'content':this[_0x431b29(0x205)]['t'](_0x431b29(0x283))}),_0x3c6238['id']===u[_0x431b29(0x332)]['SOCKET_FAILED']&&this[_0x431b29(0x229)]['show']({'type':D[_0x431b29(0x392)]['Error'],'content':this[_0x431b29(0x205)]['t'](_0x431b29(0x1be))}),_0x3c6238['id']===u[_0x431b29(0x332)][_0x431b29(0x19c)]&&this[_0x431b29(0x229)][_0x431b29(0x28c)]({'type':D[_0x431b29(0x392)][_0x431b29(0x240)],'content':this[_0x431b29(0x205)]['t'](_0x431b29(0x1ba))});}));}};q=yt([y(0x0,T[_0x4711bf(0x327)]),y(0x1,u['ILocalCacheService']),y(0x2,a[_0x4711bf(0x209)](u[_0x4711bf(0x26f)])),y(0x3,T[_0x4711bf(0x2de)]),y(0x4,T['INotificationService']),y(0x5,a[_0x4711bf(0x209)](a[_0x4711bf(0x30b)]))],q);const $t=_0x4711bf(0x1bd),Ue={},be=a[_0x4711bf(0x228)]('uni.network.url-service');var xt=Object['getOwnPropertyDescriptor'],jt=(_0x5b144b,_0x3e0ee9,_0x21c25d,_0x33b540)=>{const _0x25871b=_0x4711bf;for(var _0x26cd81=_0x33b540>0x1?void 0x0:_0x33b540?xt(_0x3e0ee9,_0x21c25d):_0x3e0ee9,_0x97c89f=_0x5b144b[_0x25871b(0x246)]-0x1,_0x4b160c;_0x97c89f>=0x0;_0x97c89f--)(_0x4b160c=_0x5b144b[_0x97c89f])&&(_0x26cd81=_0x4b160c(_0x26cd81)||_0x26cd81);return _0x26cd81;},H=(_0x48e79e,_0x42ba32)=>(_0x1cea16,_0x184c17)=>_0x42ba32(_0x1cea16,_0x184c17,_0x48e79e);exports[_0x4711bf(0x16c)]=class extends a['RxDisposable']{constructor(_0x5487f3,_0x40cc14,_0x51d562,_0x482517,_0x1c38fb){const _0x1f1a60=_0x4711bf;super(),this[_0x1f1a60(0x269)]=_0x5487f3,this[_0x1f1a60(0x1c9)]=_0x40cc14,this[_0x1f1a60(0x1ce)]=_0x51d562,this[_0x1f1a60(0x1c5)]=_0x482517,_0x1c38fb?_0x1c38fb==null||_0x1c38fb[_0x1f1a60(0x3d5)]()[_0x1f1a60(0x38c)](()=>this[_0x1f1a60(0x1dc)]()):(this[_0x1f1a60(0x1c9)][_0x1f1a60(0x377)]('[CollaborationDataLoaderController]',_0x1f1a60(0x226)),this[_0x1f1a60(0x1dc)]());}async['_init'](){const _0x876774=_0x4711bf,_0xa520c6=this[_0x876774(0x269)][_0x876774(0x2a9)]('unit'),_0x2bb9e8=this[_0x876774(0x269)]['getParam'](_0x876774(0x287)),_0x34e760=this[_0x876774(0x269)]['getParam']('subunit');if(!_0xa520c6||!_0x2bb9e8){this[_0x876774(0x1c9)][_0x876774(0x377)](_0x876774(0x1fc),_0x876774(0x1bb));return;}const _0x2df681=await this[_0x876774(0x1c5)][_0x876774(0x1e4)](_0xa520c6,Number(_0x2bb9e8),_0x34e760);_0x2df681&&_0x2df681 instanceof a[_0x876774(0x2d4)]&&this['_setupSubUnitSync'](_0x2df681);}async[_0x4711bf(0x213)](_0x1f8604){const _0xfca52a=_0x4711bf;await this['_updateSubUnitFromURLParams'](_0x1f8604),_0x1f8604[_0xfca52a(0x162)][_0xfca52a(0x289)](d[_0xfca52a(0x321)](this[_0xfca52a(0x20c)]))[_0xfca52a(0x297)](_0x1517ad=>{const _0x2b0eb0=_0xfca52a;_0x1517ad&&this[_0x2b0eb0(0x387)](_0x1517ad);}),this[_0xfca52a(0x269)][_0xfca52a(0x314)]['pipe'](d[_0xfca52a(0x321)](this[_0xfca52a(0x20c)]))[_0xfca52a(0x297)](()=>this[_0xfca52a(0x1b3)](_0x1f8604));}[_0x4711bf(0x387)](_0x103b0f,_0x597db4=!0x1){const _0x43d6f6=_0x4711bf,_0x164e4a=this[_0x43d6f6(0x269)]['getParam'](_0x43d6f6(0x303));_0x103b0f[_0x43d6f6(0x339)]()!==_0x164e4a&&this[_0x43d6f6(0x269)][_0x43d6f6(0x1a6)]('subunit',_0x103b0f['getSheetId'](),_0x597db4);}async[_0x4711bf(0x1b3)](_0x25f8a0){const _0x3191be=_0x4711bf;var _0x33cf39;const _0x2d6ebb=this[_0x3191be(0x269)][_0x3191be(0x2a9)](_0x3191be(0x303));if(!_0x2d6ebb||!_0x25f8a0['getSheetBySheetId'](_0x2d6ebb)){const _0x2ae58f=_0x25f8a0['getUnhiddenWorksheets']()[0x0],_0x23bde0=_0x25f8a0['getSheetBySheetId'](_0x2ae58f);if(!_0x23bde0)return;this[_0x3191be(0x387)](_0x23bde0,!0x0),await this[_0x3191be(0x1ce)]['executeCommand'](g[_0x3191be(0x188)]['id'],{'unitId':_0x25f8a0['getUnitId'](),'subUnitId':_0x2ae58f});return;}((_0x33cf39=_0x25f8a0[_0x3191be(0x1b8)]())==null?void 0x0:_0x33cf39[_0x3191be(0x339)]())!==_0x2d6ebb&&await this[_0x3191be(0x1ce)][_0x3191be(0x315)](g[_0x3191be(0x188)]['id'],{'unitId':_0x25f8a0['getUnitId'](),'subUnitId':_0x2d6ebb});}},exports[_0x4711bf(0x16c)]=jt([H(0x0,be),H(0x1,a[_0x4711bf(0x3be)]),H(0x2,a[_0x4711bf(0x38d)]),H(0x3,a[_0x4711bf(0x209)](u[_0x4711bf(0x1cd)])),H(0x4,a[_0x4711bf(0x3ca)](Ke[_0x4711bf(0x24e)]))],exports['CollaborationDataLoaderController']);var Bt=Object['getOwnPropertyDescriptor'],kt=(_0x2325cd,_0x5f4c1f,_0x531a3c,_0x59ec0d)=>{const _0x16e46=_0x4711bf;for(var _0x57952f=_0x59ec0d>0x1?void 0x0:_0x59ec0d?Bt(_0x5f4c1f,_0x531a3c):_0x5f4c1f,_0xd21454=_0x2325cd[_0x16e46(0x246)]-0x1,_0x57e695;_0xd21454>=0x0;_0xd21454--)(_0x57e695=_0x2325cd[_0xd21454])&&(_0x57952f=_0x57e695(_0x57952f)||_0x57952f);return _0x57952f;},ce=(_0x170ceb,_0x5cd512)=>(_0x261758,_0x3901b1)=>_0x5cd512(_0x261758,_0x3901b1,_0x170ceb);let z=class{constructor(_0x142466,_0x3a87df,_0x57c444){const _0x48f4c3=_0x4711bf;this[_0x48f4c3(0x2db)]=_0x142466,this[_0x48f4c3(0x245)]=_0x3a87df,this[_0x48f4c3(0x24f)]=_0x57c444;}[_0x4711bf(0x2b1)](_0x1f8e41){const _0x5bcfde=_0x4711bf;this[_0x5bcfde(0x207)](_0x1f8e41),this[_0x5bcfde(0x301)](_0x1f8e41);}['transformRemoteChangeset'](_0x562ca3){const _0x362070=_0x4711bf,{unitID:_0x55db0f}=_0x562ca3,_0x20d9b1=this[_0x362070(0x24f)][_0x362070(0x160)](_0x55db0f)[_0x362070(0x373)](b['DocIMEInputManagerService']),{redoCache:_0x1ab83e}=_0x20d9b1[_0x362070(0x29e)]();if(_0x1ab83e[_0x362070(0x246)]===0x0)return _0x562ca3;let _0x3b8c2d=a[_0x362070(0x1ab)][_0x362070(0x18b)](_0x562ca3[_0x362070(0x2eb)][0x0]);for(let _0x31c952=0x0;_0x31c952<_0x1ab83e[_0x362070(0x246)];_0x31c952++){const _0x5cbed4={'id':_0x362070(0x311),'params':{..._0x1ab83e[_0x31c952]}},_0x23bd95=this['_transformService'][_0x362070(0x211)](_0x3b8c2d,_0x5cbed4,!0x1);if(m['isTransformMutationFailure'](_0x23bd95))throw _0x23bd95[_0x362070(0x375)];_0x3b8c2d=_0x23bd95[_0x362070(0x391)];}return{...a[_0x362070(0x1ab)][_0x362070(0x18b)](_0x562ca3),'mutations':[_0x3b8c2d]};}[_0x4711bf(0x207)](_0x429e2a){const _0x55ef16=_0x4711bf,{unitID:_0x16cd77}=_0x429e2a,_0x3c327d=this[_0x55ef16(0x24f)][_0x55ef16(0x160)](_0x16cd77)[_0x55ef16(0x373)](b[_0x55ef16(0x15f)]),{undoCache:_0x217705,redoCache:_0x1d0f76}=_0x3c327d[_0x55ef16(0x29e)]();if(_0x217705[_0x55ef16(0x246)]===0x0||_0x1d0f76[_0x55ef16(0x246)]===0x0)return;const _0x4e5cde=[],_0x3e6e97=[];let _0x32c307=a[_0x55ef16(0x1ab)]['deepClone'](_0x429e2a[_0x55ef16(0x2eb)][0x0]),_0x5ef703=a[_0x55ef16(0x1ab)]['deepClone'](_0x429e2a[_0x55ef16(0x2eb)][0x0]);for(let _0x47343b=_0x217705['length']-0x1;_0x47343b>=0x0;_0x47343b--){const _0x76fe09={'id':_0x55ef16(0x311),'params':{..._0x217705[_0x47343b]}},_0xc218eb={'id':_0x55ef16(0x311),'params':{..._0x1d0f76[_0x47343b]}},_0xbfc63a=this[_0x55ef16(0x245)][_0x55ef16(0x211)](_0x32c307,_0x76fe09,!0x1),_0x50dec5=this[_0x55ef16(0x245)][_0x55ef16(0x211)](_0x5ef703,_0xc218eb,!0x1);if(m[_0x55ef16(0x34d)](_0xbfc63a))throw _0xbfc63a['error'];if(m[_0x55ef16(0x34d)](_0x50dec5))throw _0x50dec5['error'];_0x4e5cde['unshift'](_0xbfc63a[_0x55ef16(0x1d0)][_0x55ef16(0x276)]),_0x3e6e97[_0x55ef16(0x2d6)](_0x50dec5[_0x55ef16(0x1d0)][_0x55ef16(0x276)]),_0x32c307=_0xbfc63a[_0x55ef16(0x391)],_0x5ef703=_0x50dec5['m1Prime'];}_0x3c327d[_0x55ef16(0x258)]({'undoCache':_0x4e5cde,'redoCache':_0x3e6e97});}[_0x4711bf(0x301)](_0x4c8280){const _0x44b971=_0x4711bf,{unitID:_0x369584}=_0x4c8280,_0x2daa7c=this[_0x44b971(0x24f)][_0x44b971(0x160)](_0x369584)[_0x44b971(0x373)](b[_0x44b971(0x15f)]),_0x161af9=_0x2daa7c[_0x44b971(0x17e)]();if(_0x161af9==null)return;const _0x4ea238=[{'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x4c8280[_0x44b971(0x2e3)],'actions':null,'textRanges':[_0x161af9]}}],_0x2ffdeb=this[_0x44b971(0x245)]['transformMutationsWithChangeset'](_0x4c8280,_0x4ea238);if(!m[_0x44b971(0x1f8)](_0x2ffdeb))throw _0x2ffdeb[_0x44b971(0x375)];const _0x54db48=_0x2ffdeb['m2Prime'][0x0][_0x44b971(0x276)][_0x44b971(0x1de)];Array[_0x44b971(0x374)](_0x54db48)&&_0x54db48[_0x44b971(0x246)]&&_0x2daa7c[_0x44b971(0x259)](_0x54db48[0x0]);}};z=kt([ce(0x0,a[_0x4711bf(0x209)](a['Injector'])),ce(0x1,m['ITransformService']),ce(0x2,p[_0x4711bf(0x3d6)])],z);var Ht=Object[_0x4711bf(0x1fe)],Ft=(_0x1c5c08,_0x28b6d5,_0x4eedd1,_0x56b7f5)=>{const _0x99c14=_0x4711bf;for(var _0x5e14ce=_0x56b7f5>0x1?void 0x0:_0x56b7f5?Ht(_0x28b6d5,_0x4eedd1):_0x28b6d5,_0x1bc02e=_0x1c5c08[_0x99c14(0x246)]-0x1,_0x5bbfbb;_0x1bc02e>=0x0;_0x1bc02e--)(_0x5bbfbb=_0x1c5c08[_0x1bc02e])&&(_0x5e14ce=_0x5bbfbb(_0x5e14ce)||_0x5e14ce);return _0x5e14ce;},le=(_0x13a73c,_0xcaa129)=>(_0x18f726,_0x591244)=>_0xcaa129(_0x18f726,_0x591244,_0x13a73c);let J=class{constructor(_0x4ccb57,_0x14890e,_0x571fe6){const _0x4fdad4=_0x4711bf;this['_injector']=_0x4ccb57,this[_0x4fdad4(0x245)]=_0x14890e,this[_0x4fdad4(0x254)]=_0x571fe6;}[_0x4711bf(0x29a)](_0xa1e1b8){this['_transformHistoryAndStateStack'](_0xa1e1b8);}[_0x4711bf(0x3ef)](_0x1faa0d){const _0x593a97=_0x4711bf,{unitID:_0x1298a8}=_0x1faa0d,{collaboration:_0x31f1e0}=this[_0x593a97(0x254)]['getStateCache'](_0x1298a8);if(_0x31f1e0[_0x593a97(0x246)]===0x0)return _0x1faa0d;let _0x5f3e2b=a[_0x593a97(0x1ab)][_0x593a97(0x18b)](_0x1faa0d[_0x593a97(0x2eb)][0x0]);for(let _0x1cc4c4=0x0;_0x1cc4c4<_0x31f1e0[_0x593a97(0x246)];_0x1cc4c4++){const _0x352c5f={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x31f1e0[_0x1cc4c4][_0x593a97(0x1d4)],..._0x31f1e0[_0x1cc4c4][_0x593a97(0x3c6)]}},_0x24a69e=this[_0x593a97(0x245)]['transformMutation'](_0x5f3e2b,_0x352c5f,!0x1);if(m[_0x593a97(0x34d)](_0x24a69e))throw _0x24a69e['error'];_0x5f3e2b=_0x24a69e[_0x593a97(0x391)];}return{...a['Tools'][_0x593a97(0x18b)](_0x1faa0d),'mutations':[_0x5f3e2b]};}[_0x4711bf(0x305)](_0xee5668){const _0x504856=_0x4711bf,{unitID:_0x3ff3a8}=_0xee5668,{history:_0x4ec2bf,collaboration:_0x5dc61e}=this[_0x504856(0x254)][_0x504856(0x3a3)](_0x3ff3a8);if(_0x4ec2bf[_0x504856(0x246)]===0x0&&_0x5dc61e[_0x504856(0x246)]===0x0)return;const _0x1c61a5=[],_0x2e057e=[];let _0x63bf=a[_0x504856(0x1ab)][_0x504856(0x18b)](_0xee5668['mutations'][0x0]),_0x42a15b=a[_0x504856(0x1ab)][_0x504856(0x18b)](_0xee5668[_0x504856(0x2eb)][0x0]);for(let _0x30a0f0=_0x4ec2bf['length']-0x1;_0x30a0f0>=0x0;_0x30a0f0--){const _0x8c2691={'id':_0x504856(0x311),'params':{'unitId':_0x4ec2bf[_0x30a0f0][_0x504856(0x1d4)],..._0x4ec2bf[_0x30a0f0]['undoState']}},_0x478ff8={'id':_0x504856(0x311),'params':{'unitId':_0x4ec2bf[_0x30a0f0][_0x504856(0x1d4)],..._0x4ec2bf[_0x30a0f0][_0x504856(0x3c6)]}},_0x140ef6=this['_transformService'][_0x504856(0x211)](_0x63bf,_0x8c2691,!0x1),_0x56e199=this[_0x504856(0x245)]['transformMutation'](_0x42a15b,_0x478ff8,!0x1);if(m[_0x504856(0x34d)](_0x140ef6))throw _0x140ef6['error'];if(m[_0x504856(0x34d)](_0x56e199))throw _0x56e199['error'];_0x1c61a5[_0x504856(0x2d6)]({..._0x4ec2bf[_0x30a0f0],'undoState':_0x140ef6['m2Prime'][_0x504856(0x276)],'redoState':_0x56e199[_0x504856(0x1d0)][_0x504856(0x276)]}),_0x63bf=_0x140ef6[_0x504856(0x391)],_0x42a15b=_0x56e199['m1Prime'];}_0x63bf=a[_0x504856(0x1ab)][_0x504856(0x18b)](_0xee5668[_0x504856(0x2eb)][0x0]),_0x42a15b=a[_0x504856(0x1ab)]['deepClone'](_0xee5668[_0x504856(0x2eb)][0x0]);for(let _0x4697e5=_0x5dc61e[_0x504856(0x246)]-0x1;_0x4697e5>=0x0;_0x4697e5--){const _0x5e71cc={'id':_0x504856(0x311),'params':{'unitId':_0x5dc61e[_0x4697e5][_0x504856(0x1d4)],..._0x5dc61e[_0x4697e5][_0x504856(0x1c8)]}},_0x474d27={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x5dc61e[_0x4697e5][_0x504856(0x1d4)],..._0x5dc61e[_0x4697e5][_0x504856(0x3c6)]}},_0x5adc30=this[_0x504856(0x245)][_0x504856(0x211)](_0x63bf,_0x5e71cc,!0x1),_0x50ed5d=this[_0x504856(0x245)][_0x504856(0x211)](_0x42a15b,_0x474d27,!0x1);if(m[_0x504856(0x34d)](_0x5adc30))throw _0x5adc30[_0x504856(0x375)];if(m['isTransformMutationFailure'](_0x50ed5d))throw _0x50ed5d['error'];_0x2e057e[_0x504856(0x2d6)]({..._0x5dc61e[_0x4697e5],'undoState':_0x5adc30[_0x504856(0x1d0)][_0x504856(0x276)],'redoState':_0x50ed5d[_0x504856(0x1d0)][_0x504856(0x276)]}),_0x63bf=_0x5adc30[_0x504856(0x391)],_0x42a15b=_0x50ed5d[_0x504856(0x391)];}this[_0x504856(0x254)][_0x504856(0x2f3)](_0x3ff3a8,{'history':_0x1c61a5,'collaboration':_0x2e057e});}};J=Ft([le(0x0,a[_0x4711bf(0x209)](a['Injector'])),le(0x1,m['ITransformService']),le(0x2,a[_0x4711bf(0x209)](b[_0x4711bf(0x326)]))],J);var Yt=Object[_0x4711bf(0x1fe)],Wt=(_0x18fcd7,_0x280e56,_0x5af3d1,_0x3cfd30)=>{const _0xdc9f08=_0x4711bf;for(var _0x2c5871=_0x3cfd30>0x1?void 0x0:_0x3cfd30?Yt(_0x280e56,_0x5af3d1):_0x280e56,_0x3e430b=_0x18fcd7[_0xdc9f08(0x246)]-0x1,_0x226763;_0x3e430b>=0x0;_0x3e430b--)(_0x226763=_0x18fcd7[_0x3e430b])&&(_0x2c5871=_0x226763(_0x2c5871)||_0x2c5871);return _0x2c5871;},Ne=(_0x50a401,_0x28229b)=>(_0x2095df,_0x577e2c)=>_0x28229b(_0x2095df,_0x577e2c,_0x50a401);let Z=class{constructor(_0x1d29c4,_0x268fb4){const _0x483559=_0x4711bf;this[_0x483559(0x2db)]=_0x1d29c4,this['_transformService']=_0x268fb4;}['transformSelections'](_0xe9c214){const _0x3d05c2=_0x4711bf;var _0x1948fd;const _0xa45b5a=this['_injector']['get'](Y[_0x3d05c2(0x3dd)]),_0x1d5447=(_0x1948fd=_0xa45b5a[_0x3d05c2(0x344)]())!=null?_0x1948fd:[];if(_0x1d5447[_0x3d05c2(0x246)]===0x0)return;const _0x3b5cf7=_0xe9c214[_0x3d05c2(0x2e3)],_0x152e17=[{'id':_0x3d05c2(0x311),'params':{'unitId':_0x3b5cf7,'actions':null,'textRanges':_0x1d5447}}],_0x33525e=this[_0x3d05c2(0x245)]['transformMutationsWithChangeset'](_0xe9c214,_0x152e17);if(!m[_0x3d05c2(0x1f8)](_0x33525e))throw _0x33525e[_0x3d05c2(0x375)];const _0x17de1d=_0x33525e[_0x3d05c2(0x1d0)][0x0]['params']['textRanges'];Array[_0x3d05c2(0x374)](_0x17de1d)&&_0x17de1d[_0x3d05c2(0x246)]&&_0xa45b5a['replaceDocRanges'](_0x17de1d,{'unitId':_0x3b5cf7,'subUnitId':_0x3b5cf7},!0x1);}};Z=Wt([Ne(0x0,a[_0x4711bf(0x209)](a[_0x4711bf(0x187)])),Ne(0x1,m[_0x4711bf(0x2d5)])],Z);var Vt=Object[_0x4711bf(0x1fe)],Xt=(_0x2c255d,_0x10bfe9,_0xd7908a,_0x15da8d)=>{for(var _0x3a461a=_0x15da8d>0x1?void 0x0:_0x15da8d?Vt(_0x10bfe9,_0xd7908a):_0x10bfe9,_0x3ab7c7=_0x2c255d['length']-0x1,_0x178ea4;_0x3ab7c7>=0x0;_0x3ab7c7--)(_0x178ea4=_0x2c255d[_0x3ab7c7])&&(_0x3a461a=_0x178ea4(_0x3a461a)||_0x3a461a);return _0x3a461a;},N=(_0x3645d1,_0x5e26e9)=>(_0x44d373,_0x30121d)=>_0x5e26e9(_0x44d373,_0x30121d,_0x3645d1);let Q=class extends a[_0x4711bf(0x3ac)]{constructor(_0x1125cf,_0x3754db,_0x44d9af,_0x53eac5,_0x11c1d0,_0x3cf036,_0x87da0f,_0x20fed7){const _0x1c5086=_0x4711bf;super(),h(this,'_status$',new d[(_0x1c5086(0x306))](u[_0x1c5086(0x291)][_0x1c5086(0x2d1)])),(this[_0x1c5086(0x254)]=_0x1125cf,this[_0x1c5086(0x364)]=_0x3754db,this[_0x1c5086(0x16b)]=_0x44d9af,this[_0x1c5086(0x23f)]=_0x53eac5,this[_0x1c5086(0x31b)]=_0x11c1d0,this[_0x1c5086(0x23b)]=_0x3cf036,this['_messageService']=_0x87da0f,this[_0x1c5086(0x205)]=_0x20fed7,this[_0x1c5086(0x1c1)]());}[_0x4711bf(0x1c1)](){const _0x587ced=_0x4711bf;this['disposeWithMe'](this[_0x587ced(0x364)][_0x587ced(0x167)][_0x587ced(0x297)](_0x3de13a=>{const _0x4a2a9a=_0x587ced,_0x4c5dc0=this['_docStateChangeManagerService'][_0x4a2a9a(0x352)]['subscribe'](_0x56daf2=>{const _0x1aa3e2=_0x4a2a9a;if(_0x56daf2==null)return;const {unitId:_0x2fbe00,redoState:_0x562333,commandId:_0x90d2f9}=_0x56daf2;if(_0x2fbe00!==_0x3de13a[_0x1aa3e2(0x2e3)])return;const _0x373c5c={'id':_0x90d2f9,'type':a['CommandType'][_0x1aa3e2(0x295)],'params':{'unitId':_0x2fbe00,'actions':_0x562333[_0x1aa3e2(0x3db)],'textRanges':null}};_0x3de13a[_0x1aa3e2(0x231)](_0x373c5c);});if(_0x3de13a[_0x4a2a9a(0x2e9)](_0x4c5dc0),_0x3de13a instanceof u[_0x4a2a9a(0x33f)]){const _0x39b418={'onTransformIME':_0x38b4e0=>this[_0x4a2a9a(0x16b)][_0x4a2a9a(0x2b1)](_0x38b4e0),'onTransformState':_0x2fdd67=>this[_0x4a2a9a(0x23f)][_0x4a2a9a(0x29a)](_0x2fdd67),'onTransformSelections':_0x5c64b7=>this['_docTransformSelectionsService'][_0x4a2a9a(0x2c8)](_0x5c64b7),'onSyncEditingCollabCursor':_0x357f80=>this[_0x4a2a9a(0x23b)][_0x4a2a9a(0x307)](_0x357f80),'onTransformRemoteChangesetByIMECache':_0x14fa50=>this['_docTransformIMECacheService']['transformRemoteChangeset'](_0x14fa50),'onTransformRemoteChangesetByStateCache':_0x3cbaca=>this[_0x4a2a9a(0x23f)][_0x4a2a9a(0x3ef)](_0x3cbaca)};_0x3de13a[_0x4a2a9a(0x251)](_0x39b418);}}));}};Q=Xt([N(0x0,a['Inject'](b[_0x4711bf(0x326)])),N(0x1,a[_0x4711bf(0x209)](u[_0x4711bf(0x282)])),N(0x2,a[_0x4711bf(0x209)](z)),N(0x3,a[_0x4711bf(0x209)](J)),N(0x4,a[_0x4711bf(0x209)](Z)),N(0x5,a['Inject'](Ce)),N(0x6,T['IMessageService']),N(0x7,a[_0x4711bf(0x209)](a[_0x4711bf(0x30b)]))],Q);var Gt=Object[_0x4711bf(0x1fe)],Kt=(_0xa57d11,_0x13b38c,_0x5ae797,_0x43ed0f)=>{const _0x700b18=_0x4711bf;for(var _0x2c883c=_0x43ed0f>0x1?void 0x0:_0x43ed0f?Gt(_0x13b38c,_0x5ae797):_0x13b38c,_0x3b4210=_0xa57d11[_0x700b18(0x246)]-0x1,_0x2dc398;_0x3b4210>=0x0;_0x3b4210--)(_0x2dc398=_0xa57d11[_0x3b4210])&&(_0x2c883c=_0x2dc398(_0x2c883c)||_0x2c883c);return _0x2c883c;},_e=(_0x47b0b9,_0x3d8d65)=>(_0x39cbb4,_0x21c9ce)=>_0x3d8d65(_0x39cbb4,_0x21c9ce,_0x47b0b9);let ge=class extends a[_0x4711bf(0x3ac)]{constructor(_0x14a085,_0x1d2421,_0x150769){const _0x4c3623=_0x4711bf;super(),h(this,_0x4c3623(0x158),new Map()),h(this,'_saveTaskMap',new Map()),h(this,_0x4c3623(0x200),!0x1),(this[_0x4c3623(0x2bb)]=_0x14a085,this['_localStorageService']=_0x1d2421,this[_0x4c3623(0x2f1)]=_0x150769);}['disableLocalCache'](){this['_disabled']=!0x0;}[_0x4711bf(0x3b6)](){this['_disabled']=!0x1;}get['saveTaskMap'](){const _0x42e229=_0x4711bf;return this[_0x42e229(0x181)];}[_0x4711bf(0x192)](){const _0x44e661=_0x4711bf;this[_0x44e661(0x176)]()[_0x44e661(0x38c)](()=>super['dispose']());}async[_0x4711bf(0x243)](_0x359f1f){const _0x234243=_0x4711bf;return this[_0x234243(0x200)]?null:this[_0x234243(0x35f)][_0x234243(0x2ce)](u[_0x234243(0x1b2)](_0x359f1f));}async[_0x4711bf(0x347)](_0x30684f,_0x1b2f4d){const _0x9951e1=_0x4711bf;return!!this[_0x9951e1(0x35f)]['setItem'](_0x30684f,_0x1b2f4d);}[_0x4711bf(0x25b)](_0x3590b9,_0x452ab6,_0x1f853d,_0x1a064d){const _0x394e28=_0x4711bf,_0x4d7e25=this['_revisionService'][_0x394e28(0x2e5)](_0x3590b9);this[_0x394e28(0x158)][_0x394e28(0x1cb)](_0x3590b9,{'unitID':_0x3590b9,'type':_0x452ab6,'awaitingChangeset':_0x1f853d,'mutations':_0x1a064d,'rev':_0x4d7e25}),this['_saveTaskMap'][_0x394e28(0x3ec)](_0x3590b9)||this[_0x394e28(0x2be)](_0x3590b9);}[_0x4711bf(0x2be)](_0x201b5a){const _0x386ce6=_0x4711bf,_0x83b4cf=this['_getSaveTimeout']();_0x83b4cf===0x0?this[_0x386ce6(0x3c7)](_0x201b5a):this[_0x386ce6(0x181)][_0x386ce6(0x1cb)](_0x201b5a,setTimeout(()=>this[_0x386ce6(0x3c7)](_0x201b5a),_0x83b4cf));}['_getSaveTimeout'](){const _0x18a48c=_0x4711bf;var _0x1a3295;return(_0x1a3295=this[_0x18a48c(0x2bb)]['getConfig'](u[_0x18a48c(0x20a)]))!=null?_0x1a3295:u[_0x18a48c(0x2b4)];}[_0x4711bf(0x3c7)](_0x41dc80){const _0x159967=_0x4711bf,_0x12235b=this[_0x159967(0x181)][_0x159967(0x3bc)](_0x41dc80);return _0x12235b!==void 0x0&&window[_0x159967(0x22d)](_0x12235b),this[_0x159967(0x35f)][_0x159967(0x2c3)](u[_0x159967(0x1b2)](_0x41dc80),this['_cachedData'][_0x159967(0x3bc)](_0x41dc80))[_0x159967(0x38c)](()=>this[_0x159967(0x181)]['delete'](_0x41dc80));}async[_0x4711bf(0x176)](){const _0x22d122=_0x4711bf,_0x1a87bf=[];this[_0x22d122(0x181)]['forEach']((_0x329f7b,_0x349823)=>{const _0x387ebb=_0x22d122;window[_0x387ebb(0x22d)](_0x329f7b),_0x1a87bf['push'](this[_0x387ebb(0x3c7)](_0x349823)[_0x387ebb(0x38c)](()=>{const _0x2faa92=_0x387ebb;this['_saveTaskMap'][_0x2faa92(0x1d6)](_0x349823);}));}),await Promise['all'](_0x1a87bf);}};ge=Kt([_e(0x0,a[_0x4711bf(0x2fc)]),_e(0x1,a[_0x4711bf(0x290)]),_e(0x2,a[_0x4711bf(0x209)](m[_0x4711bf(0x270)]))],ge);class je extends a['RxDisposable']{constructor(){const _0x3ed9ec=_0x4711bf;super(),h(this,_0x3ed9ec(0x314)),this[_0x3ed9ec(0x314)]=d[_0x3ed9ec(0x3d7)](window,_0x3ed9ec(0x27d))['pipe'](d['takeUntil'](this[_0x3ed9ec(0x20c)]),d[_0x3ed9ec(0x3e3)](0x1),d[_0x3ed9ec(0x3c2)](void 0x0));}['setParam'](_0x1fe59c,_0x34b282,_0x357873=!0x1){const _0x2ccbde=_0x4711bf,_0x341ce7=new URL(window[_0x2ccbde(0x2f0)][_0x2ccbde(0x35e)]);_0x341ce7[_0x2ccbde(0x1a2)]['set'](_0x1fe59c,_0x34b282),_0x357873?window[_0x2ccbde(0x2a2)][_0x2ccbde(0x393)]('','',_0x341ce7[_0x2ccbde(0x37c)]()):window[_0x2ccbde(0x2a2)][_0x2ccbde(0x21d)]('','',_0x341ce7[_0x2ccbde(0x37c)]());}[_0x4711bf(0x1c0)](_0xa72af4,_0x596d6b=!0x1){const _0x100386=_0x4711bf,_0x3f2b96=new URL(window[_0x100386(0x2f0)]['href']);_0x3f2b96[_0x100386(0x1a2)][_0x100386(0x1d6)](_0xa72af4),_0x596d6b?window[_0x100386(0x2a2)][_0x100386(0x393)]('','',_0x3f2b96[_0x100386(0x37c)]()):window[_0x100386(0x2a2)][_0x100386(0x21d)]('','',_0x3f2b96[_0x100386(0x37c)]());}['getParam'](_0x52221e){const _0x374c8a=_0x4711bf;var _0x914d06;return(_0x914d06=new URL(window[_0x374c8a(0x2f0)][_0x374c8a(0x35e)])[_0x374c8a(0x1a2)]['get'](_0x52221e))!=null?_0x914d06:void 0x0;}}var qt=Object[_0x4711bf(0x227)],zt=Object[_0x4711bf(0x1fe)],Jt=(_0x441f58,_0x3c5878,_0x2b379c)=>_0x3c5878 in _0x441f58?qt(_0x441f58,_0x3c5878,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x2b379c}):_0x441f58[_0x3c5878]=_0x2b379c,Zt=(_0x11bdfe,_0xf01faf,_0x5cd2e0,_0x54e692)=>{const _0x42bfbe=_0x4711bf;for(var _0x509786=_0x54e692>0x1?void 0x0:_0x54e692?zt(_0xf01faf,_0x5cd2e0):_0xf01faf,_0x3ebf62=_0x11bdfe[_0x42bfbe(0x246)]-0x1,_0x171c1e;_0x3ebf62>=0x0;_0x3ebf62--)(_0x171c1e=_0x11bdfe[_0x3ebf62])&&(_0x509786=_0x171c1e(_0x509786)||_0x509786);return _0x509786;},he=(_0x118a8f,_0x3d26b7)=>(_0x5971f2,_0x43fd64)=>_0x3d26b7(_0x5971f2,_0x43fd64,_0x118a8f),Qt=(_0x490c44,_0x5838e1,_0x5c5fba)=>Jt(_0x490c44,_0x5838e1+'',_0x5c5fba);const es=_0x4711bf(0x212);exports[_0x4711bf(0x362)]=class extends a[_0x4711bf(0x3ee)]{constructor(_0xdf9659=Ue,_0x1286bb,_0x39552b,_0xe0ed69){const _0xfa59fd=_0x4711bf;super(),this[_0xfa59fd(0x1f2)]=_0xdf9659,this[_0xfa59fd(0x24f)]=_0x1286bb,this[_0xfa59fd(0x2db)]=_0x39552b,this['_configService']=_0xe0ed69;const {..._0x168be6}=a[_0xfa59fd(0x32b)]({},Ue,this[_0xfa59fd(0x1f2)]);this[_0xfa59fd(0x2bb)]['setConfig']($t,_0x168be6);}[_0x4711bf(0x1a5)](){const _0xf25075=_0x4711bf;this[_0xf25075(0x365)](),this['_initDependencies']();}[_0x4711bf(0x36d)](){const _0xea7b15=_0x4711bf;this[_0xea7b15(0x250)]();}['_registerDependencies'](){const _0x127dc1=_0x4711bf;var _0x31ab84;const _0x2a5ad1=[[me],[Z],[z],[J],[Ce],[be,{'useClass':je}],[G[_0x127dc1(0x26e)],{'useClass':G[_0x127dc1(0x172)]}],[u[_0x127dc1(0x31e)],{'useClass':ge}],[exports[_0x127dc1(0x3dc)]],[Q],[q],[x],[de],[exports[_0x127dc1(0x16c)]]];a[_0x127dc1(0x3f0)](this['_injector'],a[_0x127dc1(0x2c2)](_0x2a5ad1,(_0x31ab84=this[_0x127dc1(0x1f2)])==null?void 0x0:_0x31ab84[_0x127dc1(0x31f)]));}['_registerRenderDependencies'](){const _0x3b0bc5=_0x4711bf;this[_0x3b0bc5(0x2e9)](this['_renderManagerService'][_0x3b0bc5(0x3b9)](a['UniverInstanceType'][_0x3b0bc5(0x359)],[Ie])),this[_0x3b0bc5(0x2e9)](this['_renderManagerService'][_0x3b0bc5(0x3b9)](a[_0x3b0bc5(0x3cb)][_0x3b0bc5(0x1d7)],[ve]));}[_0x4711bf(0x36b)](){const _0x59a424=_0x4711bf;a[_0x59a424(0x371)](this[_0x59a424(0x2db)],[[x],[exports[_0x59a424(0x3dc)]],[Q],[q],[exports[_0x59a424(0x16c)]]]);}},Qt(exports[_0x4711bf(0x362)],'pluginName',es),exports[_0x4711bf(0x362)]=Zt([a['DependentOn'](u[_0x4711bf(0x178)]),he(0x1,p[_0x4711bf(0x3d6)]),he(0x2,a[_0x4711bf(0x209)](a[_0x4711bf(0x187)])),he(0x3,a[_0x4711bf(0x2fc)])],exports[_0x4711bf(0x362)]);function _0x1141(){const _0x93c93b=['transformIMECache','collab-rect-range-','react/jsx-runtime','LOCAL_CACHE_INTERVAL','_clearOtherTimers','LICENSE_MAX_UNITS_EXCEEDED','serializeRangeWithSheet','TEXT_RANGE_LAYER_INDEX','path','some','_configService','top','push','_scheduleSaving','Vector2','@univerjs/design','entries','mergeOverrideWithDependencies','setItem','FromArray','replace','_setupBeforeClosingHandler','CONFLICT','transformSelections','610734vKKxOk','sessionTicket','current','apply','_getSessionTicket','getItem','collab-text-range-','_refreshCollabCursors','NOT_COLLAB','SNAPSHOT_INVALID_SNAPSHOT','UNDEFINED','Workbook','ITransformService','unshift','memberID','COLORS','FETCH_MISS','APPLY_DUPLICATED','_injector','_collabCursorController','registerComponent','IMessageService','collabStatus.conflict','Rectangle','asObservable','registerBeforeClose','unitID','_draw','getCurrentRevOfUnit','useDependency','_anchor','reconnect','disposeWithMe','red.300','mutations','UPDATE_CURSOR','url(#on-line-icon_clip0_910_349)','_lastPointer','_send','location','_revisionService','_updateCollabCursors','setStateCache','_anchorDot','getFocusedUnit','concat','SHEET_VIEWPORT_KEY','INVITE_CODE_ALREADY_BOUND','fillStyle','from','...','IConfigService','unload','_eventUnsubscribe','hasOwnProperty','setInterval','_transformPreviousActiveRange','_cursor','subunit','_collaborationUIEventService','_transformHistoryAndStateStack','BehaviorSubject','syncEditingCollabCursor','685ngEnmy','DeleteRangeMoveLeftCommandId','CollaborationSessionService','LocaleService','values','WebURLService','_roomMembers$','NO_OTHER_CLIENTS_EDITING','collabStatus.offline','doc.mutation.rich-text-editing','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','VIEW_MAIN','urlChange$','executeCommand','getTypeOfUnitDisposed$','SheetCollabCursorShape','http://www.w3.org/2000/svg','WECHAT_HAS_BEEN_BOUND','off-line-icon','_docTransformSelectionsService','onTransformChange$','lineTo','ILocalCacheService','override','SheetSkeletonManagerService','takeUntil','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','fromEventSubject','white','addObject','DocStateChangeManagerService','IBeforeCloseService','roomMembers','MoveRangeCommandId','getOwnPropertySymbols','merge','_initResize','_beforeCloseService','fillText','collab-client.tooltip.reconnect','YUUMI_ALL_TABLES_IS_INVALID','unsubscribe','CollaborationUIEventId','parse','min','_univerInstanceService','endRow','createElement','defs','getSheetId','YUUMI_ASYNCIO_CANCELLED','runId','call','executionId','next','DocCollaborationEntity','univer-flex\x20univer-items-center','roomMembers$','JOIN_ROOM_FAILED','TOO_MANY_REQUESTS','getDocRanges','TRANSFORM_CHANGE_OBSERVABLE_TYPE','assign','saveOfflineData','handleInsertRangeMoveDown','EMAIL_HAS_BEEN_BOUND','_shapes','MOBILE_HAS_BEEN_BOUND','UNRECOGNIZED','isTransformMutationFailure','_unitOnClients','black','on-line-icon_clip0_910_349','getMergeData','docStateChange$','storage','height','selections','DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','symbol','startsWith','UNIVER_DOC','runOnServer','indexOf','onCommandExecuted','COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY','href','_localStorageService','attrs','propertyIsEnumerable','UniverCollaborationClientUIPlugin','_docClipboardService','_collaborationController','_registerDependencies','unit','getCollabEntity$','UNAUTHENTICATED','react','DisposableCollection','_initDependencies','TEXT','onRendered','APPLY_REVISION_CONFILICT','Rect','_name','touchDependencies','add','with','isArray','error','_cursorInfo$','debug','_sheetSkeletonManagerService','column','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY','YUUMI_TABLE_NOT_FOUND_IN_UNIT','toString','onPointerLeave$','_colorAssignService','xlink:href','map','throttleTime','onPointerEnter$','_online','@univerjs/rpc','_createSocketURL','distinctUntilChanged','_updateURLWithCurrentState','handleInsertRangeMoveRight','SetSelectionsOperation','USERS_LEAVE','_cursorShapes','then','ICommandService','text','ALREADY_EXISTS','RichTextEditingMutation','m1Prime','MessageType','replaceState','sessionStatus$','HEADER_MENU','ENSURE_SNAPSHOT_EXECUTION','getValue','_range','InsertRowCommandId','OTHER_CLIENT_EDITING','_httpService','event$','@univerjs/sheets','focused$','_handleLeaveEvent','toDisposable','_collabSessionService','save','getStateCache','split','_textBubble','ONLINE','OnLineIcon','status$','BrowserCollaborationSocketService','collabStatus.syncing','currentTheme$','Disposable','RemoveRowCommandId','clipPath','_labelPosition','tag','_heartbeatTimer','WebBrowserSingleActiveUnitService','displayName','skeleton','debounce','enableLocalCache','SheetsSelectionsService','_selfUnitIDs','registerRenderModule','_ensureSubject','@univerjs/core','get','APPLY_NON_SEQUENTIAL_REVISION','ILogService','HTTPService','_assignedColors','trim','mapTo','addObjects','getCoordByCell','fill','redoState','_saveCache','findNodePositionByCharIndex','defIds','Optional','UniverInstanceType','Unknown\x20user','@univerjs/engine-render','[RemoteUniscriptService]:\x20no\x20focused\x20unit','OTHER_CLIENTS_EDITING','InsertRangeMoveRightCommandId','_color','@univerjs/drawing','isActive','result','whenReady','IRenderManagerService','fromEvent','subscribeEvent','createSocket','color','actions','DesktopCollaborationStatusDisplayController','DocSelectionManagerService','_handleEvent','1em','getConfig','flatMap','max','shareReplay','1623650MsaZJL','getVpScrollXYInfoByPosToVp','permission.content','data','off-line-icon_clip0_910_343','INVITE_CODE_REQUIRED','_updateLocalCursor','setShapeProps','has','collaboration-client.offline-data-not-saved','Plugin','transformRemoteChangeset','registerDependencies','_status$','PERMISSION_DENIED','collab-text-anchor-','_cachedData','none','key','_getMergeRange','_unitStatus','_onCursorDelete','getCollabCursors$','DocIMEInputManagerService','getRenderById','requireSession','activeSheet$','SNAPSHOT_HAS_BEEN_REMOVED','IURLService','AWAITING','RemoveColCommandId','entityInit$','_handleHover','42114HXXyuQ','OffLineIcon','_docTransformIMECacheService','CollaborationDataLoaderController','INVALID_INVITE_CODE','url(#$1','forwardRef','collabStatus.notCollab','_doCreateSocket','WebSocketService','CLOSE_ROOM','engine','YUUMI_AI_RUN_FAILED','exhaustSavingTask','cursorInfo$','UniverCollaborationClientPlugin','name','collaboration.single-unit.warning','includes','selection','PENDING','getActiveRange','Warning','InsertColCommandId','_saveTaskMap','clearInterval','_onCursorUpdate','_cursors','BuiltInUIPart','DeleteRangeMoveUpCommandId','Injector','SetWorksheetActivateCommand','UniverIcon','EffectRefRangId','deepClone','_initEvent','labelPosition','YUUMI_SUBSCRIPTION_NOT_FOUND','SessionStatus','round','CollaborationEvent','dispose','origin','ISnapshotServerService','getColor','LOGIN_FAILED','startRow','_backgroundColor','saveImage','subUnitId','deserializeRangeWithSheet','SUBMIT_CHANGESET_TIMEOUT','transformByState','INVALID_ARGUMENT','icon','_scheduleClearOtherTimer','ticket','searchParams','_syncEditingCollabCursorService','ColorKit','onStarting','setParam','restore','ranges','on-line-icon','_handleJoinEvent','Tools','children','moveTo','2256aFgrao','evenodd','RxDisposable','init','getLocalCacheKey','_updateSubUnitFromURLParams','@univerjs/engine-formula','M0\x200H16V16H0z','LICENSE_IMPORT_SIZE_EXCEEDED','UnitStatus','getActiveSheet','drawWith','session.collaboration-timeout','No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','getUnitId','collaboration-client-ui.config','session.connection-failed','_initStatusComponent','removeParam','_initEntityListener','colorChannel1','AWAITING_WITH_PENDING','_initCommandExecutedListener','_dataLoaderService','Subject','_localCacheService','undoState','_logService','className','set','670ZOfkmB','DataLoaderService','_commandService','currentColor','m2Prime','getMember','#FFF','_notificationService','unitId','handleInsertRow','delete','UNIVER_SHEET','getMemberID','_getAnchorBounding','onMouseMove','IUIPartsService','_init','range','textRanges','imageSourceType','width','_startDocCollabCursor','post','YUUMI_NO_CUBOID_FOR_QUESTION','loadUnit','_memberService','ACTIVE_UNIT_EVENT_CHANNEL','combineLatest','SetTextSelectionsOperation','idSuffix','mask','startColumn','_session','_collabCursorState$','collaboration.closeRoom','53288ErnCca','cursorInfo','wsSessionTicketUrl','_config','Tooltip','newValue','_imageIoService','@univerjs/sheets-ui','bottom','isTransformMutationsWithChangesetSuccess','Shape','complete','_context','[CollaborationDataLoaderController]','CONNECTOR_DATA_TOO_LARGE','getOwnPropertyDescriptor','RefRangeService','_disabled','_refRangeService','COMPLETION_FINISHED','contains','_removeClearOtherTimer','_localeService','INTERNAL_ERROR','_transformUndoRedoStack','MemberService','Inject','LOCAL_CACHE_INTERVAL_KEY','28JYGbrS','dispose$','LICENSE_EXPORT_SIZE_EXCEEDED','assignAColorForMemberID','11298050QmAsNZ','getCellPositionByOffset','transformMutation','UNIVER_COLLABORATION_CLIENT_WEB_PLUGIN','_setupSubUnitSync','_initStatusListener','permission.title','green.600','function','DEFAULT_WS_SESSION_TICKET_URL','OFFLINE','IUniverInstanceService','getAncestorScale','collabCursorState$','pushState','DOC_RANGE_TYPE','YUUMI_RATE_OVER_LIMIT','hide','useObservable','NodePositionConvertToRectRange','Failed','PY_RUNTIME_SCRIPT_ERROR','_toggleOffline','No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.','defineProperty','createIdentifier','_messageService','getColorFromTheme','forEach','arc','clearTimeout','transform','YUUMI_UNABLE_LOAD_URL','sheetId','onLocalMutation','find','getSkeleton','body','closePath','createInstance','_drawTextRange','saveTaskMap','INVITE_CODE_HAS_BEEN_UES','_drawRectRange','_docSyncEditingCollabCursorService','stringify','toRgbString','@univerjs-pro/collaboration-client','_docTransformStateCacheService','Error','resize','APPLY_REJECT','loadOfflineData','IImageIoService','_transformService','length','_colorIndex','isEditing','getSheetBySheetId','_toggleOnline','filter','_drawAnchor','prototype','IRemoteInstanceService','_renderManagerService','_registerRenderDependencies','addHandlerCallback','SOCKET_FAILED_RETRY','50842DlUNhZ','_docStateChangeManagerService','_scheduleHeartbeat','CHANGESET_REVISION_CONFILICT','generateRandomId','setUndoRedoMutationParamsCache','setActiveRange','_instanceService','updateOfflineData','@univerjs-pro/collaboration','handleInsertCol','registerRefRange','_startSheetCollabCursor','clsx','1422NvWCPv','NOT_FOUND','_entities','size','getCurrentUnitForType','random','univerjs-icon\x20univerjs-icon-','svg','_urlService','CollaborationStatusDisplay','send','_hideTimer','_getSheetObject','ISocketService','CollaborationUIEventService','RevisionService','0\x200\x2017\x2016','measureText','toStringTag','handleDeleteRangeMoveUp','jsx','params','ThemeService','addClipboardHook','@univerjs/docs-ui','debounceTime','_scene','getRangePointData','popstate','_docSkeleton','RemoteUniscriptService','univer-text-sm\x20univer-leading-8\x20univer-text-gray-600\x20dark:!univer-text-gray-200','connectInjector','CollaborationController','session.will-retry','_removeCollabCursors','setTimeout','_hover','type','eventID','pipe','_themeService','string','show','_docSkeletonManagerService','_getScale','287HQsotb','ILocalStorageService','CollaborationStatus','IDocClipboardService','_id','div','MUTATION','APPLY_PERMISSION_DENIED','subscribe','setAlpha','univer-flex\x20univer-mr-2\x20univer-text-xl','transformStateCache','switchMap','getTypeOfUnitAdded$','handleIRemoveRow','getUndoRedoMutationParamsCache','RECT','RegularPolygon','getViewport','history','_entityInit$','_handleHeartbeatEvent','getUnitStatus$','fillRule','getCurrent','_hovered','getParam','_render','addEventListener','_uiPartsService','triggerDblclick','font','LICENSE_DISTRO_REJECTED','hovered'];_0x1141=function(){return _0x93c93b;};return _0x1141();}var ts=Object[_0x4711bf(0x1fe)],ss=(_0xcecb0,_0x24ac24,_0x203b3b,_0x2156b9)=>{const _0x15fb8f=_0x4711bf;for(var _0x526775=_0x2156b9>0x1?void 0x0:_0x2156b9?ts(_0x24ac24,_0x203b3b):_0x24ac24,_0x479824=_0xcecb0[_0x15fb8f(0x246)]-0x1,_0x562386;_0x479824>=0x0;_0x479824--)(_0x562386=_0xcecb0[_0x479824])&&(_0x526775=_0x562386(_0x526775)||_0x526775);return _0x526775;},F=(_0x45403a,_0x59fff7)=>(_0x4175c9,_0x2fbdb2)=>_0x59fff7(_0x4175c9,_0x2fbdb2,_0x45403a);exports[_0x4711bf(0x3a9)]=class extends u['CollaborationSocketService']{constructor(_0x426d9e,_0x26f1d8,_0x1bf3f9,_0x5c0a4f,_0x5025d8){super(_0x426d9e,_0x26f1d8,_0x1bf3f9,_0x5c0a4f,_0x5025d8);}async[_0x4711bf(0x3d9)](_0x54247a){const _0x222a01=_0x4711bf,_0x38a45a=await this[_0x222a01(0x2cd)](),_0x47aaeb=this['_createSocketURL'](_0x54247a,_0x38a45a);return this[_0x222a01(0x171)](_0x47aaeb);}[_0x4711bf(0x385)](_0x4c00b7,_0x3c0013){const _0x10946f=_0x4711bf,_0x3ddca7=typeof window>'u'?new URL(_0x4c00b7):new URL(_0x4c00b7,window['location'][_0x10946f(0x193)]);_0x3ddca7['searchParams'][_0x10946f(0x1cb)](_0x10946f(0x2ca),_0x3c0013);const _0x31393e=typeof window>'u'?new URLSearchParams():new URLSearchParams(window['location']['search']);return _0x31393e['get'](_0x10946f(0x33b))&&_0x3ddca7[_0x10946f(0x1a2)][_0x10946f(0x1cb)](_0x10946f(0x33b),_0x31393e[_0x10946f(0x3bc)](_0x10946f(0x33b))),_0x3ddca7[_0x10946f(0x37c)]();}async[_0x4711bf(0x2cd)](){const _0x23ee1d=_0x4711bf;var _0x5196a,_0x15762d,_0x21d85c;const _0xf8c195=this[_0x23ee1d(0x2bb)][_0x23ee1d(0x3e0)](u[_0x23ee1d(0x35d)]),_0x361be3=(_0x5196a=_0xf8c195==null?void 0x0:_0xf8c195[_0x23ee1d(0x1f1)])!=null?_0x5196a:u[_0x23ee1d(0x218)];return(_0x21d85c=(_0x15762d=(await this[_0x23ee1d(0x39b)]['get'](_0x361be3,{'headers':{'Content-Type':'application/json'}}))['body'])==null?void 0x0:_0x15762d[_0x23ee1d(0x1a1)])!=null?_0x21d85c:'';}},exports[_0x4711bf(0x3a9)]=ss([F(0x0,a[_0x4711bf(0x209)](a['Injector'])),F(0x1,a[_0x4711bf(0x209)](G[_0x4711bf(0x3bf)])),F(0x2,a['IConfigService']),F(0x3,a[_0x4711bf(0x3be)]),F(0x4,m[_0x4711bf(0x194)])],exports[_0x4711bf(0x3a9)]);const Me=0x7530,Le=_0x4711bf(0x1e6);class is extends a[_0x4711bf(0x3ac)]{constructor(){const _0x2aa098=_0x4711bf;super(),h(this,_0x2aa098(0x293),a[_0x2aa098(0x257)]()),h(this,_0x2aa098(0x3b8),new Set()),h(this,_0x2aa098(0x34e),new Map()),h(this,_0x2aa098(0x3b1),null),h(this,_0x2aa098(0x2b5),new Map()),h(this,_0x2aa098(0x15c),new Map()),this[_0x2aa098(0x1dc)]();}['dispose'](){const _0x37908f=_0x4711bf;super[_0x37908f(0x192)](),this[_0x37908f(0x2b5)]['forEach']((_0x2630f3,_0x597826)=>this['_removeClearOtherTimer'](_0x597826)),this[_0x37908f(0x3b1)]&&window[_0x37908f(0x182)](this[_0x37908f(0x3b1)]);}[_0x4711bf(0x2a5)](_0x3fefe4){const _0x51b9c4=_0x4711bf;return this['_ensureSubject'](_0x3fefe4)[_0x51b9c4(0x289)](d[_0x51b9c4(0x386)]());}['editingUnit'](_0x190633){const _0x4c8891=_0x4711bf;this[_0x4c8891(0x3b8)]['size']===0x0&&this[_0x4c8891(0x255)](),this['_selfUnitIDs'][_0x4c8891(0x372)](_0x190633),this['_send']({'type':0x0,'memberID':this['_id'],'unitIDs':[_0x190633],'isForwarded':!0x1});}['disposeUnit'](_0x4b68e5){const _0x8eada7=_0x4711bf;this[_0x8eada7(0x3b8)][_0x8eada7(0x1d6)](_0x4b68e5),this[_0x8eada7(0x3b8)][_0x8eada7(0x264)]===0x0&&this[_0x8eada7(0x3b1)]&&window[_0x8eada7(0x182)](this[_0x8eada7(0x3b1)]);}[_0x4711bf(0x1dc)](){const _0x9070b6=_0x4711bf;this[_0x9070b6(0x2e9)](a[_0x9070b6(0x3a0)](d[_0x9070b6(0x3d7)](window,_0x9070b6(0x353))['subscribe'](_0x1aef5e=>{const _0x475ea3=_0x9070b6;if(_0x1aef5e[_0x475ea3(0x15a)]!==Le||!_0x1aef5e[_0x475ea3(0x1f4)])return;const _0x45e86=JSON[_0x475ea3(0x333)](_0x1aef5e[_0x475ea3(0x1f4)]);this[_0x475ea3(0x3de)](_0x45e86);}))),window[_0x9070b6(0x2ab)](_0x9070b6(0x2fd),()=>this[_0x9070b6(0x2ef)]({'type':0x1,'memberID':this[_0x9070b6(0x293)],'unitIDs':Array[_0x9070b6(0x2fa)](this['_selfUnitIDs'])}));}[_0x4711bf(0x3de)](_0x4c56f3){const _0x2dc2fc=_0x4711bf;switch(_0x4c56f3[_0x2dc2fc(0x287)]){case 0x0:this[_0x2dc2fc(0x1aa)](_0x4c56f3);break;case 0x1:this[_0x2dc2fc(0x39f)](_0x4c56f3);break;case 0x2:this[_0x2dc2fc(0x2a4)](_0x4c56f3);break;}}[_0x4711bf(0x1aa)](_0x3fa3cc){const _0x4b9cc9=_0x4711bf,{unitIDs:_0x9aad1f,memberID:_0x2f3036,isForwarded:_0x12d3fd}=_0x3fa3cc;_0x9aad1f[_0x4b9cc9(0x22b)](_0x281bbc=>{const _0x3c0400=_0x4b9cc9;if(!_0x12d3fd&&this[_0x3c0400(0x34e)]['has'](_0x281bbc)&&this[_0x3c0400(0x3ba)](_0x281bbc)[_0x3c0400(0x33e)](u['UnitStatus']['OTHER_CLIENTS_EDITING']),!this['_unitOnClients']['has'](_0x281bbc)||!this[_0x3c0400(0x34e)][_0x3c0400(0x3bc)](_0x281bbc)['has'](_0x2f3036)){const _0x4d1972=this[_0x3c0400(0x34e)][_0x3c0400(0x3bc)](_0x281bbc)||new Set();_0x4d1972[_0x3c0400(0x372)](_0x2f3036),this['_unitOnClients']['set'](_0x281bbc,_0x4d1972),this[_0x3c0400(0x1a0)](_0x2f3036);}}),_0x12d3fd||this[_0x4b9cc9(0x2ef)]({'type':0x0,'memberID':this[_0x4b9cc9(0x293)],'unitIDs':[...this['_selfUnitIDs']],'isForwarded':!0x0});}[_0x4711bf(0x1a0)](_0x51c321){const _0x719710=_0x4711bf;this['_removeClearOtherTimer'](_0x51c321);const _0x5aa361=window[_0x719710(0x285)](()=>{const _0x4a6399=_0x719710;this[_0x4a6399(0x34e)][_0x4a6399(0x22b)](_0x184c03=>{_0x184c03['delete'](_0x51c321);});},Me*0x2);this['_clearOtherTimers'][_0x719710(0x1cb)](_0x51c321,_0x5aa361);}[_0x4711bf(0x204)](_0x170daf){const _0x42698a=_0x4711bf;if(this[_0x42698a(0x2b5)][_0x42698a(0x3ec)](_0x170daf)){const _0x13903d=this[_0x42698a(0x2b5)][_0x42698a(0x3bc)](_0x170daf);_0x13903d&&window[_0x42698a(0x22d)](_0x13903d),this['_clearOtherTimers'][_0x42698a(0x1cb)](_0x170daf,null);}}[_0x4711bf(0x39f)](_0xe1c4a){const {memberID:_0x211975,unitIDs:_0x14a35b}=_0xe1c4a;_0x14a35b['forEach'](_0x2a93e5=>{const _0x2717ee=_0x5c67;var _0x3b1abf;const _0xacc7a5=this[_0x2717ee(0x34e)][_0x2717ee(0x3bc)](_0x2a93e5);_0xacc7a5&&(_0xacc7a5[_0x2717ee(0x1d6)](_0x211975),(_0x3b1abf=this[_0x2717ee(0x3ba)](_0x2a93e5))==null||_0x3b1abf['next'](_0xacc7a5['size']===0x0?u[_0x2717ee(0x1b7)][_0x2717ee(0x30f)]:u[_0x2717ee(0x1b7)][_0x2717ee(0x3cf)]));}),this['_removeClearOtherTimer'](_0x211975);}[_0x4711bf(0x2a4)](_0x430b11){const _0x36f0c3=_0x4711bf;this['_scheduleClearOtherTimer'](_0x430b11[_0x36f0c3(0x2d7)]);}[_0x4711bf(0x2ef)](_0x108c80){const _0x59a4cf=_0x4711bf;localStorage[_0x59a4cf(0x2c3)](Le,JSON[_0x59a4cf(0x23c)](_0x108c80));}[_0x4711bf(0x255)](){const _0x27af58=_0x4711bf;this[_0x27af58(0x3b1)]=window[_0x27af58(0x300)](()=>{const _0xff7722=_0x27af58;this[_0xff7722(0x2ef)]({'type':0x2,'memberID':this['_id']});},Me);}[_0x4711bf(0x3ba)](_0x33f5e7){const _0xaa6695=_0x4711bf;return this[_0xaa6695(0x15c)][_0xaa6695(0x3ec)](_0x33f5e7)||this[_0xaa6695(0x15c)][_0xaa6695(0x1cb)](_0x33f5e7,new d['BehaviorSubject'](u[_0xaa6695(0x1b7)][_0xaa6695(0x30f)])),this['_unitStatus'][_0xaa6695(0x3bc)](_0x33f5e7);}}function _0x5c67(_0x255fba,_0x110657){const _0x1141d4=_0x1141();return _0x5c67=function(_0x5c670e,_0xa7b007){_0x5c670e=_0x5c670e-0x158;let _0x4d8188=_0x1141d4[_0x5c670e];return _0x4d8188;},_0x5c67(_0x255fba,_0x110657);}var Be=(_0x5ecc78=>(_0x5ecc78[_0x5ecc78['UNDEFINED']=0x0]=_0x4711bf(0x2d3),_0x5ecc78[_0x5ecc78['OK']=0x1]='OK',_0x5ecc78[_0x5ecc78[_0x4711bf(0x206)]=0x2]='INTERNAL_ERROR',_0x5ecc78[_0x5ecc78[_0x4711bf(0x3f2)]=0x3]='PERMISSION_DENIED',_0x5ecc78[_0x5ecc78[_0x4711bf(0x262)]=0x4]=_0x4711bf(0x262),_0x5ecc78[_0x5ecc78[_0x4711bf(0x368)]=0x5]='UNAUTHENTICATED',_0x5ecc78[_0x5ecc78[_0x4711bf(0x38f)]=0x6]='ALREADY_EXISTS',_0x5ecc78[_0x5ecc78[_0x4711bf(0x19e)]=0x7]=_0x4711bf(0x19e),_0x5ecc78[_0x5ecc78[_0x4711bf(0x343)]=0x8]=_0x4711bf(0x343),_0x5ecc78[_0x5ecc78[_0x4711bf(0x202)]=0x9]=_0x4711bf(0x202),_0x5ecc78[_0x5ecc78['LOGIN_FAILED']=0xa]=_0x4711bf(0x196),_0x5ecc78[_0x5ecc78[_0x4711bf(0x256)]=0x1389]=_0x4711bf(0x256),_0x5ecc78[_0x5ecc78[_0x4711bf(0x2d2)]=0x1771]='SNAPSHOT_INVALID_SNAPSHOT',_0x5ecc78[_0x5ecc78[_0x4711bf(0x163)]=0x1772]='SNAPSHOT_HAS_BEEN_REMOVED',_0x5ecc78[_0x5ecc78[_0x4711bf(0x396)]=0x1773]=_0x4711bf(0x396),_0x5ecc78[_0x5ecc78[_0x4711bf(0x242)]=0x1b59]=_0x4711bf(0x242),_0x5ecc78[_0x5ecc78[_0x4711bf(0x3bd)]=0x1b5a]='APPLY_NON_SEQUENTIAL_REVISION',_0x5ecc78[_0x5ecc78[_0x4711bf(0x36e)]=0x1b5b]='APPLY_REVISION_CONFILICT',_0x5ecc78[_0x5ecc78[_0x4711bf(0x296)]=0x1b5c]=_0x4711bf(0x296),_0x5ecc78[_0x5ecc78[_0x4711bf(0x2da)]=0x1b5d]=_0x4711bf(0x2da),_0x5ecc78[_0x5ecc78[_0x4711bf(0x1fd)]=0x1f41]='CONNECTOR_DATA_TOO_LARGE',_0x5ecc78[_0x5ecc78[_0x4711bf(0x2b6)]=0x2329]=_0x4711bf(0x2b6),_0x5ecc78[_0x5ecc78[_0x4711bf(0x322)]=0x232a]=_0x4711bf(0x322),_0x5ecc78[_0x5ecc78[_0x4711bf(0x1b6)]=0x232b]='LICENSE_IMPORT_SIZE_EXCEEDED',_0x5ecc78[_0x5ecc78[_0x4711bf(0x20d)]=0x232c]=_0x4711bf(0x20d),_0x5ecc78[_0x5ecc78[_0x4711bf(0x2af)]=0x232d]=_0x4711bf(0x2af),_0x5ecc78[_0x5ecc78[_0x4711bf(0x22f)]=0x2711]=_0x4711bf(0x22f),_0x5ecc78[_0x5ecc78['YUUMI_URL_COL_OUT_OF_RANGE']=0x2712]='YUUMI_URL_COL_OUT_OF_RANGE',_0x5ecc78[_0x5ecc78['YUUMI_RATE_OVER_LIMIT']=0x2713]=_0x4711bf(0x21f),_0x5ecc78[_0x5ecc78[_0x4711bf(0x18e)]=0x2714]=_0x4711bf(0x18e),_0x5ecc78[_0x5ecc78[_0x4711bf(0x1e3)]=0x271a]=_0x4711bf(0x1e3),_0x5ecc78[_0x5ecc78[_0x4711bf(0x33a)]=0x271b]='YUUMI_ASYNCIO_CANCELLED',_0x5ecc78[_0x5ecc78['YUUMI_TABLE_NOT_FOUND_IN_UNIT']=0x271c]=_0x4711bf(0x37b),_0x5ecc78[_0x5ecc78[_0x4711bf(0x330)]=0x271d]=_0x4711bf(0x330),_0x5ecc78[_0x5ecc78[_0x4711bf(0x312)]=0x271e]=_0x4711bf(0x312),_0x5ecc78[_0x5ecc78[_0x4711bf(0x175)]=0x271f]=_0x4711bf(0x175),_0x5ecc78[_0x5ecc78[_0x4711bf(0x224)]=0x2af9]=_0x4711bf(0x224),_0x5ecc78[_0x5ecc78[_0x4711bf(0x239)]=0x2ee1]=_0x4711bf(0x239),_0x5ecc78[_0x5ecc78[_0x4711bf(0x16d)]=0x2ee2]=_0x4711bf(0x16d),_0x5ecc78[_0x5ecc78[_0x4711bf(0x3e9)]=0x2ee3]=_0x4711bf(0x3e9),_0x5ecc78[_0x5ecc78['USER_NOT_INVITED_CODE']=0x2ee4]='USER_NOT_INVITED_CODE',_0x5ecc78[_0x5ecc78['INVITE_CODE_ALREADY_BOUND']=0x2ee5]=_0x4711bf(0x2f8),_0x5ecc78[_0x5ecc78[_0x4711bf(0x319)]=0x32c9]=_0x4711bf(0x319),_0x5ecc78[_0x5ecc78['MOBILE_HAS_BEEN_BOUND']=0x32ca]=_0x4711bf(0x34b),_0x5ecc78[_0x5ecc78['EMAIL_HAS_BEEN_BOUND']=0x32cb]=_0x4711bf(0x349),_0x5ecc78[_0x5ecc78[_0x4711bf(0x34c)]=-0x1]=_0x4711bf(0x34c),_0x5ecc78))(Be||{}),ns=Object[_0x4711bf(0x1fe)],rs=(_0x2b76b4,_0x3cfd22,_0x151f42,_0x6b1f6e)=>{for(var _0x596dc1=_0x6b1f6e>0x1?void 0x0:_0x6b1f6e?ns(_0x3cfd22,_0x151f42):_0x3cfd22,_0x491d70=_0x2b76b4['length']-0x1,_0x4f7e6d;_0x491d70>=0x0;_0x491d70--)(_0x4f7e6d=_0x2b76b4[_0x491d70])&&(_0x596dc1=_0x4f7e6d(_0x596dc1)||_0x596dc1);return _0x596dc1;},ue=(_0x293214,_0x3f02c8)=>(_0x867ad2,_0x295adf)=>_0x3f02c8(_0x867ad2,_0x295adf,_0x293214);exports[_0x4711bf(0x27f)]=class extends a[_0x4711bf(0x3ac)]{constructor(_0x18a197,_0x14e7b9,_0x25e358){const _0x13b051=_0x4711bf;super(),this['_instanceService']=_0x18a197,this[_0x13b051(0x39b)]=_0x14e7b9,this[_0x13b051(0x2bb)]=_0x25e358;}async[_0x4711bf(0x35a)](_0x3e5338,_0x4eee5d,_0xd8783b,..._0x341af3){const _0x107490=_0x4711bf;var _0x365c51,_0x1d5c92,_0x37ce40,_0x26569c;const _0x485fea=this[_0x107490(0x25a)][_0x107490(0x2f5)]();if(!_0x485fea)throw new Error(_0x107490(0x3ce));const _0x568bcc=((_0x365c51=this['_configService'][_0x107490(0x3e0)](u[_0x107490(0x37a)]))!=null?_0x365c51:u[_0x107490(0x356)])+'/'+_0x3e5338+'/run/'+_0x4eee5d,_0xe4c40b=new URL(window[_0x107490(0x2f0)]['href']),_0x2032b5={'scriptId':_0x3e5338,'runId':(_0x1d5c92=_0xe4c40b[_0x107490(0x1a2)][_0x107490(0x3bc)]('runId'))!=null?_0x1d5c92:'','function':_0x4eee5d,'unitId':_0x485fea[_0x107490(0x1bc)](),'argsOfFunction':JSON[_0x107490(0x23c)](_0x341af3),'invokeId':(_0x37ce40=_0xd8783b['invokeId'])!=null?_0x37ce40:'','executionId':(_0x26569c=_0xd8783b[_0x107490(0x33d)])!=null?_0x26569c:''};try{const _0xc3769f=await this['_httpService'][_0x107490(0x1e2)](_0x568bcc,{'body':_0x2032b5});return _0xc3769f[_0x107490(0x234)][_0x107490(0x375)]&&_0xc3769f['body']['error']['code']!==Be['OK']?'Failed':_0xc3769f[_0x107490(0x234)][_0x107490(0x3d4)];}catch{return _0x107490(0x223);}}},exports[_0x4711bf(0x27f)]=rs([ue(0x0,a[_0x4711bf(0x21a)]),ue(0x1,a[_0x4711bf(0x209)](G[_0x4711bf(0x3bf)])),ue(0x2,a['IConfigService'])],exports[_0x4711bf(0x27f)]),exports[_0x4711bf(0x26a)]=xe,exports[_0x4711bf(0x164)]=be,exports[_0x4711bf(0x317)]=Pe,exports[_0x4711bf(0x3b2)]=is,exports[_0x4711bf(0x30d)]=je;
|
|
1
|
+
'use strict';const _0x22b98a=_0x202d;(function(_0x41d99a,_0x41d783){const _0x40f50a=_0x202d,_0x1428fd=_0x41d99a();while(!![]){try{const _0x51ad4b=-parseInt(_0x40f50a(0x3b0))/0x1*(parseInt(_0x40f50a(0x22c))/0x2)+parseInt(_0x40f50a(0x1b1))/0x3+-parseInt(_0x40f50a(0x1af))/0x4+-parseInt(_0x40f50a(0x1c8))/0x5+-parseInt(_0x40f50a(0x284))/0x6+-parseInt(_0x40f50a(0x31b))/0x7*(parseInt(_0x40f50a(0x2a0))/0x8)+parseInt(_0x40f50a(0x23b))/0x9*(parseInt(_0x40f50a(0x27c))/0xa);if(_0x51ad4b===_0x41d783)break;else _0x1428fd['push'](_0x1428fd['shift']());}catch(_0x1b1857){_0x1428fd['push'](_0x1428fd['shift']());}}}(_0x1a0f,0xc613a));var Ve=Object[_0x22b98a(0x172)],Xe=(_0x18a7ac,_0x2656df,_0x54bf46)=>_0x2656df in _0x18a7ac?Ve(_0x18a7ac,_0x2656df,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x54bf46}):_0x18a7ac[_0x2656df]=_0x54bf46,h=(_0x188231,_0x2fafd0,_0x31605a)=>Xe(_0x188231,typeof _0x2fafd0!=_0x22b98a(0x2d1)?_0x2fafd0+'':_0x2fafd0,_0x31605a);Object[_0x22b98a(0x172)](exports,Symbol[_0x22b98a(0x236)],{'value':_0x22b98a(0x14b)});const u=require(_0x22b98a(0x16c)),a=require(_0x22b98a(0x23f)),p=require(_0x22b98a(0x327)),G=require('@univerjs/network'),b=require(_0x22b98a(0x3bf)),Ge=require(_0x22b98a(0x2fc)),d=require('rxjs'),Y=require(_0x22b98a(0x28f)),m=require(_0x22b98a(0x1b3)),Ee=require('@univerjs/engine-formula'),g=require(_0x22b98a(0x2e2)),$=require(_0x22b98a(0x292)),X=require(_0x22b98a(0x2d9)),w=require('react/jsx-runtime'),T=require('@univerjs/ui'),D=require(_0x22b98a(0x39f)),M=require(_0x22b98a(0x152)),Ke=require(_0x22b98a(0x390));var qe=Object[_0x22b98a(0x199)],ze=(_0x79182f,_0x28bce8,_0x5fca02,_0x3f2bb3)=>{const _0x3b1b53=_0x22b98a;for(var _0x19b75f=_0x3f2bb3>0x1?void 0x0:_0x3f2bb3?qe(_0x28bce8,_0x5fca02):_0x28bce8,_0x2e9c78=_0x79182f[_0x3b1b53(0x3b1)]-0x1,_0x15b4bd;_0x2e9c78>=0x0;_0x2e9c78--)(_0x15b4bd=_0x79182f[_0x2e9c78])&&(_0x19b75f=_0x15b4bd(_0x19b75f)||_0x19b75f);return _0x19b75f;},Te=(_0x14f5b5,_0x37250f)=>(_0x4d3a49,_0x2d8aed)=>_0x37250f(_0x4d3a49,_0x2d8aed,_0x14f5b5);let de=class extends a[_0x22b98a(0x2ab)]{constructor(_0x44f25a,_0x4edbb8){super(),this['_docClipboardService']=_0x44f25a,this['_imageIoService']=_0x4edbb8,this['_init']();}[_0x22b98a(0x1a1)](){const _0x11e9c1=_0x22b98a,_0x1b10a1=this;this['disposeWithMe'](this[_0x11e9c1(0x312)][_0x11e9c1(0x28b)]({'onBeforePasteImage':async _0x3a13ac=>{const _0xe3cbe7=_0x11e9c1,_0x17c65a=await _0x1b10a1[_0xe3cbe7(0x316)][_0xe3cbe7(0x25d)](_0x3a13ac);return _0x17c65a?{'source':_0x17c65a['source'],'imageSourceType':_0x17c65a[_0xe3cbe7(0x2ac)]}:null;}}));}};de=ze([Te(0x0,b[_0x22b98a(0x1cf)]),Te(0x1,Ge[_0x22b98a(0x3cc)])],de);const Oe=[_0x22b98a(0x1e6),_0x22b98a(0x27f),_0x22b98a(0x240),_0x22b98a(0x17a),_0x22b98a(0x37b),_0x22b98a(0x2d7)];class me extends a['Disposable']{constructor(){const _0x4f689f=_0x22b98a;super(...arguments),h(this,_0x4f689f(0x39c),new Map()),h(this,_0x4f689f(0x1c9),0x0);}[_0x22b98a(0x31f)](_0x31b50f){const _0x16e8e2=_0x22b98a;if(this[_0x16e8e2(0x39c)][_0x16e8e2(0x32b)](_0x31b50f))return this[_0x16e8e2(0x39c)][_0x16e8e2(0x2b0)](_0x31b50f);const _0x2e7a81=Oe[this[_0x16e8e2(0x1c9)]];return this[_0x16e8e2(0x1c9)]=(this[_0x16e8e2(0x1c9)]+0x1)%Oe[_0x16e8e2(0x3b1)],this['_assignedColors'][_0x16e8e2(0x1f2)](_0x31b50f,_0x2e7a81),_0x2e7a81;}}function we(_0x1a45ee){const _0x5079a3=_0x22b98a;let _0x508211='';for(const _0xbe0d2 of _0x1a45ee){const {startOffset:_0x5d1393,endOffset:_0x40b285,isActive:_0x19e1a7,rangeType:_0x434090,segmentId:_0x2c2581,segmentPage:_0x55dc2f}=_0xbe0d2;_0x508211[_0x5079a3(0x3b1)]&&(_0x508211+=','),_0x508211+=_0x5d1393+':'+_0x40b285+':'+(_0x19e1a7?'1':'0')+':'+_0x434090+':'+_0x2c2581+':'+_0x55dc2f;}return _0x508211;}function Je(_0x40a7b9){const _0x2f6c9a=_0x22b98a,_0x2cf6ae=_0x40a7b9[_0x2f6c9a(0x268)](','),_0x42a2f3=[];for(const _0x4744cf of _0x2cf6ae){const [_0x51f730,_0x32f2cf,_0x294bbf,_0x324568,_0x5078b9,_0x44518e]=_0x4744cf[_0x2f6c9a(0x268)](':');_0x42a2f3[_0x2f6c9a(0x201)]({'startOffset':Number(_0x51f730),'endOffset':Number(_0x32f2cf),'collapsed':_0x51f730===_0x32f2cf,'isActive':_0x294bbf==='1','rangeType':_0x324568===a[_0x2f6c9a(0x334)][_0x2f6c9a(0x150)]?a['DOC_RANGE_TYPE'][_0x2f6c9a(0x150)]:a[_0x2f6c9a(0x334)][_0x2f6c9a(0x18a)],'segmentId':typeof _0x5078b9==_0x2f6c9a(0x38c)?String(_0x5078b9):'','segmentPage':Number(_0x44518e!=null?_0x44518e:-0x1)});}return _0x42a2f3[_0x2f6c9a(0x301)](_0x2d173e=>_0x2d173e['isActive'])||(_0x42a2f3[0x0][_0x2f6c9a(0x210)]=!0x0),_0x42a2f3;}function _0x202d(_0x2a19a6,_0x39cb8d){const _0x1a0f01=_0x1a0f();return _0x202d=function(_0x202d46,_0x47881c){_0x202d46=_0x202d46-0x149;let _0xceb832=_0x1a0f01[_0x202d46];return _0xceb832;},_0x202d(_0x2a19a6,_0x39cb8d);}class Ce extends a['RxDisposable']{constructor(){const _0x4b0dc2=_0x22b98a;super(...arguments),h(this,_0x4b0dc2(0x26e),new d[(_0x4b0dc2(0x296))](null)),h(this,'collabCursorState$',this[_0x4b0dc2(0x26e)]['asObservable']());}[_0x22b98a(0x1fb)](_0x3cda41){const _0x2823dc=_0x22b98a,{unitID:_0x27facf,memberID:_0x3df5e8,textRanges:_0x5e6751}=_0x3cda41,_0x416aee=we(_0x5e6751);if(_0x416aee==='')return;const _0xb9b8e={'unitID':_0x27facf,'memberID':_0x3df5e8,'selection':_0x416aee};this[_0x2823dc(0x26e)]['next'](_0xb9b8e);}}var Ze=Object[_0x22b98a(0x199)],Qe=(_0x576aa2,_0x517a6f,_0x156963,_0x27ae30)=>{const _0x354cec=_0x22b98a;for(var _0x1d6a9e=_0x27ae30>0x1?void 0x0:_0x27ae30?Ze(_0x517a6f,_0x156963):_0x517a6f,_0x2c21a7=_0x576aa2[_0x354cec(0x3b1)]-0x1,_0x1fee1c;_0x2c21a7>=0x0;_0x2c21a7--)(_0x1fee1c=_0x576aa2[_0x2c21a7])&&(_0x1d6a9e=_0x1fee1c(_0x1d6a9e)||_0x1d6a9e);return _0x1d6a9e;},L=(_0x1921a7,_0x457ec6)=>(_0x1e42b4,_0x4d42f7)=>_0x457ec6(_0x1e42b4,_0x4d42f7,_0x1921a7);const et=0x12c,tt=0x64;let fe=class extends a[_0x22b98a(0x2ab)]{constructor(_0x77c439,_0x3eb75e,_0x181dae,_0xb63b6a,_0x539675,_0x10fc75,_0x3c3ad2,_0x15accf,_0x3f3a9b){const _0x3b4fc7=_0x22b98a;super(),h(this,_0x3b4fc7(0x1be),!0x1),h(this,_0x3b4fc7(0x1a1),!0x1),h(this,_0x3b4fc7(0x176),new d[(_0x3b4fc7(0x296))](new Map())),h(this,'cursorInfo$',this[_0x3b4fc7(0x176)][_0x3b4fc7(0x1a0)]()),h(this,_0x3b4fc7(0x2a9),new d[(_0x3b4fc7(0x296))]([])),h(this,_0x3b4fc7(0x1bd),this[_0x3b4fc7(0x2a9)][_0x3b4fc7(0x256)](d['debounceTime'](et))),h(this,'_updateLocalCursor',a[_0x3b4fc7(0x1c7)](_0x201b49=>{const _0x432443=_0x3b4fc7,_0x2c473c={'eventID':m[_0x432443(0x215)][_0x432443(0x26b)],'data':{'unitID':this[_0x432443(0x1f3)],'memberID':this['_session']['getMemberID'](),'selection':we(_0x201b49)}};this['_session']['send'](_0x2c473c,this[_0x432443(0x1f3)]);},tt)),(this[_0x3b4fc7(0x1f3)]=_0x77c439,this['_session']=_0x3eb75e,this['_injector']=_0x181dae,this[_0x3b4fc7(0x330)]=_0xb63b6a,this[_0x3b4fc7(0x205)]=_0x539675,this[_0x3b4fc7(0x220)]=_0x10fc75,this[_0x3b4fc7(0x265)]=_0x3c3ad2,this[_0x3b4fc7(0x28c)]=_0x15accf,this[_0x3b4fc7(0x1cb)]=_0x3f3a9b);}get[_0x22b98a(0x242)](){const _0x17377f=_0x22b98a;return this[_0x17377f(0x176)][_0x17377f(0x249)]();}get['roomMembers'](){const _0x2bf83a=_0x22b98a;return this['_roomMembers$'][_0x2bf83a(0x249)]();}[_0x22b98a(0x14a)](){const _0x2b5db8=_0x22b98a;super['dispose'](),this['_cursorInfo$'][_0x2b5db8(0x3c9)](new Map()),this[_0x2b5db8(0x176)][_0x2b5db8(0x1c5)](),this[_0x2b5db8(0x2a9)][_0x2b5db8(0x3c9)]([]),this['_roomMembers$'][_0x2b5db8(0x1c5)]();}[_0x22b98a(0x3a3)](){const _0x38439c=_0x22b98a;this['_init']||(this[_0x38439c(0x1a1)]=!0x0,this[_0x38439c(0x2ec)]['sessionStatus$']['pipe'](d[_0x38439c(0x2fd)](this[_0x38439c(0x1e4)]))[_0x38439c(0x32d)](_0x5c8c80=>{const _0x262c65=_0x38439c;_0x5c8c80===u[_0x262c65(0x309)][_0x262c65(0x226)]?this[_0x262c65(0x1ad)]():this['_toggleOffline']();}),this[_0x38439c(0x2ec)]['event$'][_0x38439c(0x256)](d['takeUntil'](this[_0x38439c(0x1e4)]))['subscribe'](_0x6d8d4f=>{const _0x305129=_0x38439c,_0x15c3f1=_0x6d8d4f[_0x305129(0x321)];_0x15c3f1===m[_0x305129(0x215)]['UPDATE_CURSOR']&&this[_0x305129(0x35f)](_0x6d8d4f),_0x15c3f1===m[_0x305129(0x215)][_0x305129(0x3c5)]&&this[_0x305129(0x31d)](_0x6d8d4f);}),this['disposeWithMe'](this[_0x38439c(0x1cb)]['onCommandExecuted'](_0x2fe763=>{const _0x4f16aa=_0x38439c,_0x29c332=_0x2fe763['params'];_0x29c332!=null&&this[_0x4f16aa(0x1be)]&&_0x2fe763['id']===Y[_0x4f16aa(0x2f4)]['id']&&_0x29c332[_0x4f16aa(0x392)]===this[_0x4f16aa(0x1f3)]&&_0x29c332['isEditing']===!0x1&&_0x29c332[_0x4f16aa(0x365)][_0x4f16aa(0x3b1)]>0x0&&this[_0x4f16aa(0x3c4)](_0x29c332[_0x4f16aa(0x365)]);})),this[_0x38439c(0x220)][_0x38439c(0x257)]['pipe'](d[_0x38439c(0x2fd)](this[_0x38439c(0x1e4)]))[_0x38439c(0x32d)](_0x56e961=>{const _0x43339e=_0x38439c;if((_0x56e961==null?void 0x0:_0x56e961[_0x43339e(0x1f3)])!==this['unitID'])return;const _0x4b8a58={'eventID':m['CollaborationEvent'][_0x43339e(0x26b)],'data':_0x56e961};this['_onCursorUpdate'](_0x4b8a58);}),this['disposeWithMe'](this['_commandService']['onCommandExecuted'](_0x14e43c=>{const _0x5e080a=_0x38439c;if(_0x14e43c[_0x5e080a(0x283)]==null)return;const _0x22ad7b=_0x14e43c['params'];if(_0x14e43c['id']!==Y[_0x5e080a(0x1c0)]['id']||_0x22ad7b['unitId']!==this['unitID'])return;const _0x1d5e15={'id':_0x5e080a(0x179),'params':_0x22ad7b},_0x37f294=this[_0x5e080a(0x242)];for(const [_0x3a614a,_0x36bb63]of _0x37f294){const _0x3f5c06={'id':_0x5e080a(0x179),'params':{'unitId':this[_0x5e080a(0x1f3)],'actions':null,'textRanges':_0x36bb63[_0x5e080a(0x365)]}},_0x8d1f8a=this[_0x5e080a(0x265)][_0x5e080a(0x380)](_0x1d5e15,_0x3f5c06,!0x1);if(m['isTransformMutationFailure'](_0x8d1f8a))throw _0x8d1f8a[_0x5e080a(0x3d3)];_0x37f294[_0x5e080a(0x1f2)](_0x3a614a,{..._0x36bb63,'ranges':_0x8d1f8a['m2Prime'][_0x5e080a(0x283)][_0x5e080a(0x252)]});}queueMicrotask(()=>{const _0x5b1c17=_0x5e080a;this[_0x5b1c17(0x176)]['next'](_0x37f294);});})));}[_0x22b98a(0x35f)](_0xf7f3a9){const _0x65dd7f=_0x22b98a;var _0x423fd7,_0x454bd7;const {memberID:_0x2198d1,selection:_0x257d6b}=_0xf7f3a9['data'],_0x1d2608=Je(_0x257d6b),_0x5afda2=(_0x454bd7=(_0x423fd7=this['_memberService']['getMember'](this[_0x65dd7f(0x1f3)],_0x2198d1))==null?void 0x0:_0x423fd7['name'])!=null?_0x454bd7:_0x65dd7f(0x25c),_0x3e5b8a={'color':this[_0x65dd7f(0x330)][_0x65dd7f(0x31f)](_0x2198d1),'name':_0x5afda2,'ranges':_0x1d2608},_0x2678eb=this[_0x65dd7f(0x242)];_0x2678eb[_0x65dd7f(0x1f2)](_0x2198d1,_0x3e5b8a),this[_0x65dd7f(0x176)][_0x65dd7f(0x3c9)](_0x2678eb);}[_0x22b98a(0x31d)](_0x2a7bd3){const _0x5815f2=_0x22b98a,{memberID:_0x5eb69d}=_0x2a7bd3[_0x5815f2(0x202)],_0x237ab5=this[_0x5815f2(0x242)];_0x237ab5['delete'](_0x5eb69d),this[_0x5815f2(0x176)][_0x5815f2(0x3c9)](_0x237ab5);}['_toggleOnline'](){const _0x40a073=_0x22b98a;var _0x50010b;if(this[_0x40a073(0x1be)]=!0x0,((_0x50010b=this[_0x40a073(0x28c)][_0x40a073(0x2cd)]())==null?void 0x0:_0x50010b[_0x40a073(0x3bc)]())!==this['unitID'])return;const _0x20daf9=this[_0x40a073(0x1c4)]['get'](Y[_0x40a073(0x1f0)])[_0x40a073(0x164)]();Array[_0x40a073(0x33f)](_0x20daf9)&&_0x20daf9[_0x40a073(0x3b1)]>0x0&&this[_0x40a073(0x3c4)](_0x20daf9);}[_0x22b98a(0x1e2)](){this['_online']=!0x1;}};fe=Qe([L(0x2,a[_0x22b98a(0x1fc)](a[_0x22b98a(0x3d1)])),L(0x3,a[_0x22b98a(0x1fc)](me)),L(0x4,a[_0x22b98a(0x1fc)](u[_0x22b98a(0x2c8)])),L(0x5,a['Inject'](Ce)),L(0x6,m[_0x22b98a(0x2af)]),L(0x7,a[_0x22b98a(0x2df)]),L(0x8,a[_0x22b98a(0x23e)])],fe);var st=Object[_0x22b98a(0x199)],it=(_0x412516,_0x3f6689,_0x107103,_0x548bf4)=>{for(var _0x3b9ea2=_0x548bf4>0x1?void 0x0:_0x548bf4?st(_0x3f6689,_0x107103):_0x3f6689,_0xf14464=_0x412516['length']-0x1,_0x29fb9c;_0xf14464>=0x0;_0xf14464--)(_0x29fb9c=_0x412516[_0xf14464])&&(_0x3b9ea2=_0x29fb9c(_0x3b9ea2)||_0x3b9ea2);return _0x3b9ea2;},A=(_0x57257d,_0xf86229)=>(_0x3bf2db,_0x3bb2bd)=>_0xf86229(_0x3bf2db,_0x3bb2bd,_0x57257d);const nt=0x12c,rt=0x64,ot=()=>{let _0x18081a=[],_0x4014d7=!0x1;return _0x368b5a=>{const _0x3e2486=_0x202d;_0x18081a[_0x3e2486(0x201)](_0x368b5a),_0x4014d7||(_0x4014d7=!0x0,setTimeout(()=>{const _0x25a672=_0x3e2486;_0x18081a[_0x25a672(0x19b)](_0x3b3866=>_0x3b3866()),_0x18081a=[],_0x4014d7=!0x1;}));};};let Se=class extends a[_0x22b98a(0x2ab)]{constructor(_0x33647c,_0x3572c3,_0x58f166,_0x234825,_0x4a6c07,_0x513abc,_0x2d934a,_0x46f985){const _0x15c36a=_0x22b98a;super(),h(this,_0x15c36a(0x1be),!0x1),h(this,'_init',!0x1),h(this,'_cursorInfo$',new d['BehaviorSubject'](new Map())),h(this,'cursorInfo$',this[_0x15c36a(0x176)]['asObservable']()),h(this,_0x15c36a(0x2a9),new d[(_0x15c36a(0x296))]([])),h(this,_0x15c36a(0x1bd),this[_0x15c36a(0x2a9)][_0x15c36a(0x256)](d[_0x15c36a(0x2e9)](nt))),h(this,_0x15c36a(0x3c4),a[_0x15c36a(0x1c7)]((_0x338bb9,_0x514d5c)=>{const _0x183a78=_0x15c36a,_0x2b19ec={'eventID':m[_0x183a78(0x215)]['UPDATE_CURSOR'],'data':{'unitID':this['unitID'],'memberID':this[_0x183a78(0x2ec)]['getMemberID'](),'selection':Ee[_0x183a78(0x212)](_0x338bb9,_0x514d5c[_0x183a78(0x2c4)])}};this[_0x183a78(0x2ec)]['send'](_0x2b19ec,this[_0x183a78(0x1f3)]);},rt)),(this[_0x15c36a(0x1f3)]=_0x33647c,this[_0x15c36a(0x2ec)]=_0x3572c3,this[_0x15c36a(0x1c4)]=_0x58f166,this['_colorAssignService']=_0x234825,this[_0x15c36a(0x205)]=_0x4a6c07,this[_0x15c36a(0x28c)]=_0x513abc,this['_commandService']=_0x2d934a,this[_0x15c36a(0x1b2)]=_0x46f985);}get[_0x22b98a(0x242)](){const _0x77e24b=_0x22b98a;return this[_0x77e24b(0x176)][_0x77e24b(0x249)]();}get[_0x22b98a(0x1a4)](){const _0xe36407=_0x22b98a;return this[_0xe36407(0x2a9)][_0xe36407(0x249)]();}[_0x22b98a(0x14a)](){const _0x4244e1=_0x22b98a;super[_0x4244e1(0x14a)](),this['_cursorInfo$'][_0x4244e1(0x3c9)](new Map()),this[_0x4244e1(0x176)][_0x4244e1(0x1c5)](),this[_0x4244e1(0x2a9)]['next']([]),this[_0x4244e1(0x2a9)][_0x4244e1(0x1c5)]();}[_0x22b98a(0x3a3)](){const _0x1d3ebf=_0x22b98a;this[_0x1d3ebf(0x1a1)]||(this[_0x1d3ebf(0x1a1)]=!0x0,this[_0x1d3ebf(0x2ec)][_0x1d3ebf(0x297)][_0x1d3ebf(0x256)](d[_0x1d3ebf(0x2fd)](this[_0x1d3ebf(0x1e4)]))[_0x1d3ebf(0x32d)](_0x5a40d1=>{const _0x33533e=_0x1d3ebf;_0x5a40d1===u[_0x33533e(0x309)][_0x33533e(0x226)]?this[_0x33533e(0x1ad)]():this[_0x33533e(0x1e2)]();}),this[_0x1d3ebf(0x2ec)][_0x1d3ebf(0x1a3)][_0x1d3ebf(0x256)](d[_0x1d3ebf(0x2fd)](this['dispose$']))[_0x1d3ebf(0x32d)](_0x2a6e1e=>{const _0x5c90d9=_0x1d3ebf,_0x4637ae=_0x2a6e1e[_0x5c90d9(0x321)];_0x4637ae===m[_0x5c90d9(0x215)]['UPDATE_CURSOR']&&this[_0x5c90d9(0x35f)](_0x2a6e1e),_0x4637ae===m[_0x5c90d9(0x215)][_0x5c90d9(0x3c5)]&&this[_0x5c90d9(0x31d)](_0x2a6e1e);}),this[_0x1d3ebf(0x20d)](),this[_0x1d3ebf(0x3bd)](this[_0x1d3ebf(0x1cb)]['onCommandExecuted'](_0x13d06f=>{const _0x139846=_0x1d3ebf;if(this[_0x139846(0x1be)]&&_0x13d06f['id']===g[_0x139846(0x272)]['id']&&_0x13d06f[_0x139846(0x283)][_0x139846(0x392)]===this[_0x139846(0x1f3)]){const _0xe86945=_0x13d06f[_0x139846(0x283)];this[_0x139846(0x3c4)](_0xe86945[_0x139846(0x207)],_0xe86945[_0x139846(0x300)][0x0]);}})));}[_0x22b98a(0x35f)](_0x1fb554){const _0x234439=_0x22b98a;var _0x45d31b,_0x43dc92;const {memberID:_0x4b208f,selection:_0x21fec6}=_0x1fb554['data'],{sheetName:_0xcffc54,range:_0x42587e}=Ee['deserializeRangeWithSheet'](_0x21fec6),_0x509206={'name':(_0x43dc92=(_0x45d31b=this[_0x234439(0x205)][_0x234439(0x2bc)](this[_0x234439(0x1f3)],_0x4b208f))==null?void 0x0:_0x45d31b['name'])!=null?_0x43dc92:'Unknown\x20user','range':this[_0x234439(0x377)](_0xcffc54,_0x42587e),'sheetID':_0xcffc54,'color':this['_colorAssignService'][_0x234439(0x31f)](_0x4b208f),'selection':_0x21fec6},_0x36b699=this[_0x234439(0x242)];_0x36b699['set'](_0x4b208f,_0x509206),this[_0x234439(0x176)][_0x234439(0x3c9)](_0x36b699);}[_0x22b98a(0x31d)](_0x455f85){const _0x11d2d8=_0x22b98a,{memberID:_0x2ccef6}=_0x455f85['data'],_0x32c801=this[_0x11d2d8(0x242)];_0x32c801[_0x11d2d8(0x28a)](_0x2ccef6),this[_0x11d2d8(0x176)][_0x11d2d8(0x3c9)](_0x32c801);}[_0x22b98a(0x377)](_0x5a673b,_0x4e8a60){const _0x5b0674=_0x22b98a;var _0x20487e,_0x8d8f5d;const _0x30b99f=(_0x8d8f5d=(_0x20487e=this[_0x5b0674(0x28c)][_0x5b0674(0x1ba)](this[_0x5b0674(0x1f3)]))==null?void 0x0:_0x20487e['getSheetBySheetId'](_0x5a673b))==null?void 0x0:_0x8d8f5d[_0x5b0674(0x2d6)]();return(_0x30b99f==null?void 0x0:_0x30b99f['find'](_0xfd3d2b=>a[_0x5b0674(0x384)]['contains'](_0xfd3d2b,_0x4e8a60)))||_0x4e8a60;}['_onRefRangeChange'](){const _0x57227e=_0x22b98a,_0x5ec7ff=new a[(_0x57227e(0x2e7))](),_0x19a9a0=ot(),_0x3ff199=()=>{const _0x2c4d74=_0x57227e;_0x5ec7ff['dispose']();const _0x201ca8=(_0x3fe532,_0x29b32b,_0x46ae4b,_0x2e4947)=>{const _0x205baa=_0x202d;let _0x387508=[];switch(_0x3fe532['id']){case g['EffectRefRangId'][_0x205baa(0x3b4)]:{_0x387508=g[_0x205baa(0x2ff)](_0x3fe532,_0x2e4947);break;}case g[_0x205baa(0x3b6)][_0x205baa(0x22e)]:{_0x387508=g[_0x205baa(0x178)](_0x3fe532,_0x2e4947);break;}case g[_0x205baa(0x3b6)][_0x205baa(0x2bb)]:{_0x387508=g[_0x205baa(0x206)](_0x3fe532,_0x2e4947);break;}case g[_0x205baa(0x3b6)]['InsertRangeMoveDownCommandId']:{_0x387508=g[_0x205baa(0x37d)](_0x3fe532,_0x2e4947);break;}case g['EffectRefRangId']['InsertRangeMoveRightCommandId']:{_0x387508=g['handleInsertRangeMoveRight'](_0x3fe532,_0x2e4947);break;}case g[_0x205baa(0x3b6)][_0x205baa(0x1bc)]:{_0x387508=g[_0x205baa(0x3a8)](_0x3fe532,_0x2e4947);break;}case g[_0x205baa(0x3b6)][_0x205baa(0x15d)]:{_0x387508=g[_0x205baa(0x235)](_0x3fe532,_0x2e4947);break;}case g[_0x205baa(0x3b6)][_0x205baa(0x230)]:{_0x387508=g[_0x205baa(0x2b5)](_0x3fe532,_0x2e4947);break;}case g[_0x205baa(0x3b6)]['RemoveRowCommandId']:{_0x387508=g['handleIRemoveRow'](_0x3fe532,_0x2e4947);break;}}const _0xc18a8=g[_0x205baa(0x318)](_0x387508,_0x2e4947),_0x1d287d=this[_0x205baa(0x242)][_0x205baa(0x2b0)](_0x29b32b);if(_0x1d287d&&_0xc18a8){const _0x4f04af={..._0x1d287d,'range':_0xc18a8};this[_0x205baa(0x242)]['set'](_0x29b32b,_0x4f04af),_0x19a9a0(()=>{const _0x1d552b=_0x205baa,_0x3b9645=this[_0x1d552b(0x1b2)][_0x1d552b(0x247)](_0xc18a8,_0x198014=>(_0x3b9645[_0x1d552b(0x14a)](),_0x201ca8(_0x198014,_0x29b32b,_0x46ae4b,_0xc18a8)));_0x5ec7ff[_0x1d552b(0x1b8)](_0x3b9645);});}return{'redos':[],'undos':[]};};this[_0x2c4d74(0x242)][_0x2c4d74(0x19b)]((_0x291694,_0xf3972f)=>{const _0x4ee37c=_0x2c4d74,{range:_0x50bc23,sheetID:_0x5d5d8b}=_0x291694,_0x44e233=this['_refRangeService'][_0x4ee37c(0x247)](_0x50bc23,_0x44a609=>(_0x44e233[_0x4ee37c(0x14a)](),_0x201ca8(_0x44a609,_0xf3972f,_0x5d5d8b,_0x50bc23)));_0x5ec7ff[_0x4ee37c(0x1b8)](_0x44e233);});};this[_0x57227e(0x3bd)](a[_0x57227e(0x1f8)](this[_0x57227e(0x176)][_0x57227e(0x32d)](()=>{_0x3ff199();})));}[_0x22b98a(0x1ad)](){const _0x51802f=_0x22b98a;var _0x3b1438,_0x470bc6;if(this[_0x51802f(0x1be)]=!0x0,((_0x3b1438=this['_univerInstanceService'][_0x51802f(0x2cd)]())==null?void 0x0:_0x3b1438[_0x51802f(0x3bc)]())!==this[_0x51802f(0x1f3)])return;const _0x34e3d3=(_0x470bc6=this['_injector'][_0x51802f(0x2b0)](g[_0x51802f(0x27b)])[_0x51802f(0x322)]())==null?void 0x0:_0x470bc6[0x0],_0x2a40c9=this[_0x51802f(0x28c)][_0x51802f(0x227)](a['UniverInstanceType'][_0x51802f(0x259)])['getActiveSheet']();_0x34e3d3&&_0x2a40c9&&this[_0x51802f(0x3c4)](_0x2a40c9[_0x51802f(0x3ab)](),_0x34e3d3);}[_0x22b98a(0x1e2)](){const _0x1ac7f5=_0x22b98a;this[_0x1ac7f5(0x1be)]=!0x1;}};Se=it([A(0x2,a[_0x22b98a(0x1fc)](a['Injector'])),A(0x3,a[_0x22b98a(0x1fc)](me)),A(0x4,a[_0x22b98a(0x1fc)](u[_0x22b98a(0x2c8)])),A(0x5,a[_0x22b98a(0x2df)]),A(0x6,a[_0x22b98a(0x23e)]),A(0x7,a['Inject'](g[_0x22b98a(0x188)]))],Se);var at=Object[_0x22b98a(0x199)],ct=(_0x11a081,_0x3ca5d5,_0x4abf9a,_0x5386d9)=>{for(var _0x4252b3=_0x5386d9>0x1?void 0x0:_0x5386d9?at(_0x3ca5d5,_0x4abf9a):_0x3ca5d5,_0x4abda3=_0x11a081['length']-0x1,_0x3e527f;_0x4abda3>=0x0;_0x4abda3--)(_0x3e527f=_0x11a081[_0x4abda3])&&(_0x4252b3=_0x3e527f(_0x4252b3)||_0x4252b3);return _0x4252b3;},ie=(_0x15b57a,_0x20114f)=>(_0x21a21a,_0x248cb8)=>_0x20114f(_0x21a21a,_0x248cb8,_0x15b57a);let x=class extends a[_0x22b98a(0x2ab)]{constructor(_0x574c8b,_0x18a68d,_0x599c36){const _0x9a30c6=_0x22b98a;super(),h(this,_0x9a30c6(0x371),new Map()),h(this,_0x9a30c6(0x305),new d['Subject']()),(this['_univerInstanceService']=_0x574c8b,this[_0x9a30c6(0x1c4)]=_0x18a68d,this[_0x9a30c6(0x22f)]=_0x599c36,this[_0x9a30c6(0x1a1)]());}['dispose'](){const _0x565757=_0x22b98a;super[_0x565757(0x14a)](),this[_0x565757(0x305)]['complete'](),this[_0x565757(0x371)][_0x565757(0x19b)](_0x30a96f=>_0x30a96f['dispose']());}[_0x22b98a(0x3b8)](_0x6eb2c9){const _0x1d1a4f=_0x22b98a;return this[_0x1d1a4f(0x371)][_0x1d1a4f(0x32b)](_0x6eb2c9)?this['_entities'][_0x1d1a4f(0x2b0)](_0x6eb2c9)[_0x1d1a4f(0x2a2)]:this[_0x1d1a4f(0x305)]['pipe'](d[_0x1d1a4f(0x214)](_0x58a817=>_0x58a817['unitID']===_0x6eb2c9),d[_0x1d1a4f(0x239)](_0x3645ab=>_0x3645ab[_0x1d1a4f(0x2a2)]));}[_0x22b98a(0x1a1)](){const _0x26a225=_0x22b98a;this['_univerInstanceService'][_0x26a225(0x293)](a[_0x26a225(0x19c)][_0x26a225(0x259)])[_0x26a225(0x256)](d[_0x26a225(0x2fd)](this[_0x26a225(0x1e4)]))[_0x26a225(0x32d)](async _0x1521fc=>{const _0x48eebd=_0x26a225,_0x119dd2=_0x1521fc[_0x48eebd(0x3bc)](),_0x36dbb2=await this[_0x48eebd(0x304)](_0x119dd2);this[_0x48eebd(0x305)][_0x48eebd(0x3c9)](_0x36dbb2),this[_0x48eebd(0x371)][_0x48eebd(0x1f2)](_0x119dd2,_0x36dbb2);}),this[_0x26a225(0x28c)]['getTypeOfUnitAdded$'](a[_0x26a225(0x19c)][_0x26a225(0x2be)])[_0x26a225(0x256)](d[_0x26a225(0x2fd)](this[_0x26a225(0x1e4)]))[_0x26a225(0x256)](d[_0x26a225(0x214)](_0x2205a5=>!_0x2205a5['getUnitId']()['startsWith']('__')))[_0x26a225(0x32d)](async _0x5e7af1=>{const _0x1df09b=_0x26a225,_0x53bf3a=_0x5e7af1[_0x1df09b(0x3bc)](),_0x11c4c5=await this['_startDocCollabCursor'](_0x53bf3a);this[_0x1df09b(0x305)][_0x1df09b(0x3c9)](_0x11c4c5),this[_0x1df09b(0x371)][_0x1df09b(0x1f2)](_0x53bf3a,_0x11c4c5);}),d[_0x26a225(0x1eb)](this['_univerInstanceService']['getTypeOfUnitDisposed$'](a[_0x26a225(0x19c)][_0x26a225(0x2be)]),this[_0x26a225(0x28c)][_0x26a225(0x32a)](a[_0x26a225(0x19c)][_0x26a225(0x259)]))['pipe'](d[_0x26a225(0x2fd)](this['dispose$']))[_0x26a225(0x32d)](_0x498543=>{const _0x551dc9=_0x26a225,_0x3aa14f=_0x498543[_0x551dc9(0x3bc)](),_0x347605=this[_0x551dc9(0x371)]['get'](_0x3aa14f);_0x347605&&(_0x347605[_0x551dc9(0x14a)](),this['_entities'][_0x551dc9(0x28a)](_0x3aa14f));});}async[_0x22b98a(0x304)](_0x24db8a){const _0x111aa9=_0x22b98a,_0x4eed82=await this[_0x111aa9(0x22f)][_0x111aa9(0x173)](_0x24db8a),_0x14488c=this['_injector'][_0x111aa9(0x33b)](Se,_0x24db8a,_0x4eed82);return _0x14488c[_0x111aa9(0x3a3)](),_0x14488c;}async[_0x22b98a(0x360)](_0xf7fbe5){const _0x320ff1=_0x22b98a,_0xbebc0a=await this[_0x320ff1(0x22f)][_0x320ff1(0x173)](_0xf7fbe5),_0x79edb5=this[_0x320ff1(0x1c4)][_0x320ff1(0x33b)](fe,_0xf7fbe5,_0xbebc0a);return _0x79edb5['init'](),_0x79edb5;}};x=ct([ie(0x0,a[_0x22b98a(0x2df)]),ie(0x1,a[_0x22b98a(0x1fc)](a[_0x22b98a(0x3d1)])),ie(0x2,a[_0x22b98a(0x1fc)](u[_0x22b98a(0x1bb)]))],x);const K=0x14,Re=0xc8,ne=0x4,lt=0x5;function _t(_0x2cf3d5,_0x32b540){const _0x1ea8d7=_0x22b98a;let {radius:_0x260682,width:_0x47b630,height:_0x3beb37}=_0x32b540;_0x260682=_0x260682!=null?_0x260682:0x0,_0x47b630=_0x47b630!=null?_0x47b630:0x1e,_0x3beb37=_0x3beb37!=null?_0x3beb37:0x1e;let _0x425ac9=0x0,_0x3b7daa=0x0,_0x1817d0=0x0;_0x425ac9=_0x3b7daa=_0x1817d0=Math[_0x1ea8d7(0x261)](_0x260682,_0x47b630/0x2,_0x3beb37/0x2),_0x2cf3d5[_0x1ea8d7(0x217)](),_0x2cf3d5['moveTo'](_0x425ac9,0x0),_0x2cf3d5[_0x1ea8d7(0x342)](_0x47b630-_0x3b7daa,0x0),_0x2cf3d5['arc'](_0x47b630-_0x3b7daa,_0x3b7daa,_0x3b7daa,Math['PI']*0x3/0x2,0x0,!0x1),_0x2cf3d5['lineTo'](_0x47b630,_0x3beb37-_0x1817d0),_0x2cf3d5[_0x1ea8d7(0x1b4)](_0x47b630-_0x1817d0,_0x3beb37-_0x1817d0,_0x1817d0,0x0,Math['PI']/0x2,!0x1),_0x2cf3d5[_0x1ea8d7(0x342)](0x0,_0x3beb37),_0x2cf3d5['lineTo'](0x0,_0x425ac9),_0x2cf3d5[_0x1ea8d7(0x1b4)](_0x425ac9,_0x425ac9,_0x425ac9,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x2cf3d5[_0x1ea8d7(0x1f9)](),_0x32b540[_0x1ea8d7(0x1c2)]&&(_0x2cf3d5['save'](),_0x2cf3d5[_0x1ea8d7(0x197)]=_0x32b540[_0x1ea8d7(0x1c2)],_0x32b540[_0x1ea8d7(0x253)]===_0x1ea8d7(0x211)?_0x2cf3d5[_0x1ea8d7(0x1c2)](_0x1ea8d7(0x211)):_0x2cf3d5[_0x1ea8d7(0x1c2)](),_0x2cf3d5['restore']());}class ee extends p[_0x22b98a(0x149)]{constructor(_0x32c000,_0x9fc8ca){const _0x417271=_0x22b98a;super(_0x32c000,_0x9fc8ca),h(this,'color'),h(this,_0x417271(0x395)),(this['color']=_0x9fc8ca==null?void 0x0:_0x9fc8ca['color'],this['text']=_0x9fc8ca==null?void 0x0:_0x9fc8ca[_0x417271(0x395)]);}static[_0x22b98a(0x24f)](_0x36ef62,_0x55cd79){const _0x2f6d73=_0x22b98a,{text:_0x17a9c1,color:_0x312d1f}=_0x55cd79;_0x36ef62[_0x2f6d73(0x37f)](),_0x36ef62['font']=_0x2f6d73(0x1e0);const _0x12ab9b=_0x36ef62['measureText'](_0x17a9c1)['width'],_0x2644f1=Math['min'](_0x12ab9b+0x2*ne,Re);_t(_0x36ef62,{'height':K,'radius':0x4,'width':_0x2644f1,'fill':_0x312d1f}),_0x36ef62[_0x2f6d73(0x197)]=_0x2f6d73(0x18c);const _0x36853d=ne,_0x18bbde=K-lt,_0x4a3cc1=Re-0x2*ne;if(_0x12ab9b>_0x4a3cc1){let _0x527590='',_0x9d03b7=0x0;for(const _0x339e5c of _0x17a9c1){const _0xcd94c=_0x36ef62[_0x2f6d73(0x171)](_0x339e5c)[_0x2f6d73(0x34e)];if(_0x9d03b7+_0xcd94c<=_0x4a3cc1-_0x36ef62[_0x2f6d73(0x171)](_0x2f6d73(0x27a))['width'])_0x527590+=_0x339e5c,_0x9d03b7+=_0xcd94c;else{_0x527590+=_0x2f6d73(0x27a);break;}}_0x36ef62[_0x2f6d73(0x333)](_0x527590,_0x36853d,_0x18bbde);}else _0x36ef62[_0x2f6d73(0x333)](_0x17a9c1,_0x36853d,_0x18bbde);_0x36ef62[_0x2f6d73(0x351)]();}['_draw'](_0x1e88e3){const _0xb7bce8=_0x22b98a;ee[_0xb7bce8(0x24f)](_0x1e88e3,this);}}const re='collab-text-anchor-',ht=_0x22b98a(0x1bf),ut=_0x22b98a(0x2cc),k=0x6,dt=1.5,oe=0x4,ft=1.5,St=_0x22b98a(0x20b);class De{constructor(_0x419b56,_0x152047,_0x594581,_0x4cb13d){const _0x356406=_0x22b98a;h(this,_0x356406(0x2bf),[]),h(this,'_anchor',null),h(this,_0x356406(0x307),null),h(this,_0x356406(0x30d),null),h(this,_0x356406(0x3ae),null),h(this,_0x356406(0x1f4),null),(this[_0x356406(0x1a8)]=_0x419b56,this[_0x356406(0x30a)]=_0x152047,this[_0x356406(0x385)]=_0x594581,this[_0x356406(0x331)]=_0x4cb13d,this['_render']());}set['_hover'](_0x12bab5){const _0x1b51ee=_0x22b98a;_0x12bab5?(this[_0x1b51ee(0x30d)]&&this['_anchorDot'][_0x1b51ee(0x269)](),this['_textBubble']&&this[_0x1b51ee(0x307)][_0x1b51ee(0x39a)]()):(this['_anchorDot']&&this[_0x1b51ee(0x30d)]['show'](),this[_0x1b51ee(0x307)]&&this[_0x1b51ee(0x307)]['hide']());}[_0x22b98a(0x14a)](){const _0x552a65=_0x22b98a;for(const _0x2291ee of this[_0x552a65(0x2bf)])_0x2291ee['dispose']();this['_textBubble']&&this[_0x552a65(0x307)][_0x552a65(0x14a)](),this[_0x552a65(0x30d)]&&this[_0x552a65(0x30d)][_0x552a65(0x14a)](),this[_0x552a65(0x294)]&&this[_0x552a65(0x294)]['dispose'](),this['_eventUnsubscribe']&&this[_0x552a65(0x1f4)]();}['_render'](){const _0xcab9f2=_0x22b98a;var _0x284fc3;const {_docSkeleton:_0x1edb9c,_document:_0x4c4d72}=this,{color:_0x479c2d,name:_0x4a0729,ranges:_0x3a4089}=this[_0xcab9f2(0x1a8)],_0x36e15d=_0x4c4d72[_0xcab9f2(0x361)](),{docsLeft:_0x37769a,docsTop:_0x5def9b}=_0x36e15d,_0x5251e3=new b[(_0xcab9f2(0x1cd))](_0x36e15d,_0x1edb9c);for(const {startOffset:_0x1f4f22,endOffset:_0x576da9,rangeType:_0x3e5426,segmentId:_0x5f3cab,segmentPage:_0x5ac296,collapsed:_0x48610f,isActive:_0x227952}of _0x3a4089){const _0x2ff2db=_0x1edb9c[_0xcab9f2(0x1e7)](_0x1f4f22,!0x0,_0x5f3cab,_0x5ac296);let _0x288fc2=_0x1edb9c[_0xcab9f2(0x1e7)](_0x576da9,!0x0,_0x5f3cab,_0x5ac296);if(_0x288fc2==null&&(_0x288fc2=_0x1edb9c[_0xcab9f2(0x1e7)](_0x576da9-0x1,!0x1,_0x5f3cab,_0x5ac296)),_0x227952){const {contentBoxPointGroup:_0x55988a}=_0x5251e3[_0xcab9f2(0x254)](_0x288fc2,_0x288fc2);if(_0x55988a[_0xcab9f2(0x3b1)]===0x0)continue;this['_drawAnchor'](_0x479c2d,_0x55988a,_0x37769a,_0x5def9b,_0x4a0729),this[_0xcab9f2(0x1f4)]=this[_0xcab9f2(0x348)]();}if(_0x2ff2db&&_0x288fc2){if(_0x3e5426===a[_0xcab9f2(0x334)][_0xcab9f2(0x18a)]){const _0x59339d=new b[(_0xcab9f2(0x2ef))](_0x36e15d,_0x1edb9c),{pointGroup:_0x488a15}=(_0x284fc3=_0x59339d[_0xcab9f2(0x254)](_0x2ff2db,_0x288fc2))!=null?_0x284fc3:{};if(_0x488a15==null||_0x488a15[_0xcab9f2(0x3b1)]===0x0)continue;this[_0xcab9f2(0x14f)](_0x479c2d,_0x488a15,_0x37769a,_0x5def9b);}else{if(!_0x48610f){const {borderBoxPointGroup:_0x50e518}=_0x5251e3[_0xcab9f2(0x254)](_0x2ff2db,_0x288fc2);if(_0x50e518['length']===0x0)continue;this[_0xcab9f2(0x155)](_0x479c2d,_0x50e518,_0x37769a,_0x5def9b);}}}}}['_drawAnchor'](_0x416a9b,_0xd2febe,_0x273d42,_0xedeecf,_0x4bd893){const _0x11f4e1=_0x22b98a,_0x334c08=this[_0x11f4e1(0x232)](_0xd2febe),{left:_0x48ca3f,top:_0x46b96d,height:_0x2291b5}=_0x334c08,_0x12a68d=this[_0x11f4e1(0x2b1)](),_0x164250=ft/_0x12a68d,_0x7e046b=new p['Rect'](re+a[_0x11f4e1(0x31a)]['generateRandomId'](k),{'left':_0x48ca3f+_0x273d42-_0x164250,'top':_0x46b96d+_0xedeecf,'height':_0x2291b5,'width':dt,'fill':_0x416a9b||p[_0x11f4e1(0x36a)](a[_0x11f4e1(0x15f)][_0x11f4e1(0x29b)],0x0),'strokeWidth':_0x164250,'stroke':St,'evented':!0x0});this[_0x11f4e1(0x294)]=_0x7e046b,this[_0x11f4e1(0x30a)][_0x11f4e1(0x28e)](_0x7e046b,b[_0x11f4e1(0x190)]);const _0x5c49a5=new p['Rect'](re+a[_0x11f4e1(0x31a)][_0x11f4e1(0x218)](k),{'left':_0x48ca3f+_0x273d42-_0x164250,'top':_0x46b96d+_0xedeecf-oe/0x2,'height':oe,'width':oe,'fill':_0x416a9b||p[_0x11f4e1(0x36a)](a['COLORS']['black'],0x0),'strokeWidth':0x0,'stroke':_0x416a9b||p[_0x11f4e1(0x36a)](a[_0x11f4e1(0x15f)][_0x11f4e1(0x29b)],0x0),'evented':!0x1});this['_anchorDot']=_0x5c49a5,this[_0x11f4e1(0x30a)][_0x11f4e1(0x28e)](_0x5c49a5,b[_0x11f4e1(0x190)]);const _0x1c7610=new ee(re+a['Tools'][_0x11f4e1(0x218)](k),{'left':_0x48ca3f+_0x273d42-_0x164250,'top':_0x46b96d+_0xedeecf-K,'text':_0x4bd893,'color':_0x416a9b});this[_0x11f4e1(0x307)]=_0x1c7610,this[_0x11f4e1(0x30a)][_0x11f4e1(0x28e)](_0x1c7610,b[_0x11f4e1(0x190)]),this[_0x11f4e1(0x2ce)]=!0x1;}['_handleHover'](){const _0x4f0223=_0x22b98a,_0x290d1b=this[_0x4f0223(0x294)][_0x4f0223(0x3af)]['subscribeEvent'](()=>{const _0x273c1a=_0x4f0223;this[_0x273c1a(0x2ce)]=!0x0;}),_0x14f3eb=this[_0x4f0223(0x294)][_0x4f0223(0x1cc)][_0x4f0223(0x2f6)](()=>{const _0x4befba=_0x4f0223;this[_0x4befba(0x3ae)]&&clearTimeout(this['_hideTimer']),this[_0x4befba(0x3ae)]=setTimeout(()=>{const _0x3223a6=_0x4befba;this[_0x3223a6(0x2ce)]=!0x1;},0x7d0);});return()=>{const _0x2cbfae=_0x4f0223;_0x290d1b[_0x2cbfae(0x373)](),_0x14f3eb['unsubscribe']();};}[_0x22b98a(0x155)](_0x46f8fd,_0x5ceb46,_0x288c27,_0x58f991){const _0x5b4b10=_0x22b98a,_0xf31210=new a[(_0x5b4b10(0x276))](_0x46f8fd)[_0x5b4b10(0x2f1)](0.2)[_0x5b4b10(0x3b7)](),_0x4c5d68=new p[(_0x5b4b10(0x2f9))](ht+a['Tools'][_0x5b4b10(0x218)](k),{'pointsGroup':_0x5ceb46,'fill':_0xf31210||p['getColor'](a[_0x5b4b10(0x15f)][_0x5b4b10(0x29b)],0.2),'left':_0x288c27,'top':_0x58f991,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x5b4b10(0x2bf)][_0x5b4b10(0x201)](_0x4c5d68),this[_0x5b4b10(0x30a)][_0x5b4b10(0x28e)](_0x4c5d68,b[_0x5b4b10(0x190)]);}['_drawRectRange'](_0x101961,_0x52f0e4,_0x52c3c9,_0x27d4ba){const _0x20fe5e=_0x22b98a,_0x4ba79b=new a[(_0x20fe5e(0x276))](_0x101961)['setAlpha'](0.2)[_0x20fe5e(0x3b7)](),_0x10ec9a=new p[(_0x20fe5e(0x2f9))](ut+a[_0x20fe5e(0x31a)][_0x20fe5e(0x218)](k),{'pointsGroup':_0x52f0e4,'fill':_0x4ba79b||p[_0x20fe5e(0x36a)](a[_0x20fe5e(0x15f)][_0x20fe5e(0x29b)],0.2),'left':_0x52c3c9,'top':_0x27d4ba,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x20fe5e(0x2bf)][_0x20fe5e(0x201)](_0x10ec9a),this[_0x20fe5e(0x30a)][_0x20fe5e(0x28e)](_0x10ec9a,b[_0x20fe5e(0x190)]);}['_getAnchorBounding'](_0x5bfd23){const _0x53ff9c=_0x5bfd23[0x0],_0x5cd8b0=_0x53ff9c[0x0],_0x58b735=_0x53ff9c[0x2],{x:_0x544eb4,y:_0x168717}=_0x5cd8b0,{x:_0x1b617e,y:_0x2d2465}=_0x58b735;return{'left':_0x544eb4,'top':_0x168717,'width':_0x1b617e-_0x544eb4,'height':_0x2d2465-_0x168717};}[_0x22b98a(0x2b1)](){const _0x10ef68=_0x22b98a,{scaleX:_0x36fc54,scaleY:_0x5c11cb}=this[_0x10ef68(0x30a)][_0x10ef68(0x22a)]();return Math[_0x10ef68(0x36e)](_0x36fc54,_0x5c11cb);}}var It=Object[_0x22b98a(0x199)],vt=(_0x716c2,_0x43f94f,_0x163963,_0x538788)=>{const _0x221851=_0x22b98a;for(var _0x5683db=_0x538788>0x1?void 0x0:_0x538788?It(_0x43f94f,_0x163963):_0x43f94f,_0x2cd8f9=_0x716c2[_0x221851(0x3b1)]-0x1,_0x1fbcc0;_0x2cd8f9>=0x0;_0x2cd8f9--)(_0x1fbcc0=_0x716c2[_0x2cd8f9])&&(_0x5683db=_0x1fbcc0(_0x5683db)||_0x5683db);return _0x5683db;},W=(_0x1b64ea,_0x38c048)=>(_0x4af9a7,_0x5f3b5b)=>_0x38c048(_0x4af9a7,_0x5f3b5b,_0x1b64ea);let Ie=class extends a['RxDisposable']{constructor(_0x3a374f,_0x1064fa,_0x3093a4,_0x2fb801,_0x4dc95d){const _0x38185f=_0x22b98a;super(),h(this,_0x38185f(0x1d2),[]),h(this,'_cursors',[]),(this['_context']=_0x3a374f,this[_0x38185f(0x302)]=_0x1064fa,this[_0x38185f(0x399)]=_0x3093a4,this[_0x38185f(0x1cb)]=_0x2fb801,this[_0x38185f(0x38b)]=_0x4dc95d,this[_0x38185f(0x1a1)]());}[_0x22b98a(0x1a1)](){const _0x5206af=_0x22b98a,_0x5c8db1=this[_0x5206af(0x3b5)][_0x5206af(0x392)],_0xa8fb16=this[_0x5206af(0x302)];this['disposeWithMe'](d['combineLatest']([this[_0x5206af(0x399)][_0x5206af(0x3b8)](_0x5c8db1),this['_themeService'][_0x5206af(0x21c)]])['pipe']($[_0x5206af(0x2a6)](([_0x1332c1,_0x3d26cb])=>({'skeleton':_0xa8fb16[_0x5206af(0x32c)](),'cursors':[..._0x1332c1[_0x5206af(0x1c3)]()][_0x5206af(0x15e)](_0x4e91c5=>({..._0x4e91c5,'color':this[_0x5206af(0x38b)][_0x5206af(0x248)](_0x4e91c5[_0x5206af(0x2cf)])}))})))[_0x5206af(0x32d)](_0x3357f3=>{const _0x1265b2=_0x5206af;if(this[_0x1265b2(0x189)](),_0x3357f3){const {skeleton:_0x5ece4f,cursors:_0x63b625}=_0x3357f3;this[_0x1265b2(0x29c)](_0x5ece4f,_0x63b625);}})),this[_0x5206af(0x3bb)](),this[_0x5206af(0x31e)]();}['_updateCollabCursors'](_0x491acb,_0x2f7e53){const _0x1d485f=_0x22b98a,{scene:_0x5c6da0,mainComponent:_0x685364}=this[_0x1d485f(0x3b5)],_0x379ae5=_0x2f7e53['map'](_0x260621=>new De(_0x260621,_0x5c6da0,_0x491acb,_0x685364));this['_cursorShapes']=_0x379ae5,this[_0x1d485f(0x2de)]=_0x2f7e53;}['_refreshCollabCursors'](){const _0x3b6323=_0x22b98a;this[_0x3b6323(0x189)]();const {scene:_0x557c54,mainComponent:_0x34476f}=this['_context'],_0x50e73c=this[_0x3b6323(0x302)]['getSkeleton'](),_0x131ec5=this[_0x3b6323(0x2de)]['map'](_0x474487=>new De(_0x474487,_0x557c54,_0x50e73c,_0x34476f));this[_0x3b6323(0x1d2)]=_0x131ec5;}[_0x22b98a(0x189)](){const _0x559b9c=_0x22b98a;this[_0x559b9c(0x1d2)]['forEach'](_0x1dbb42=>_0x1dbb42[_0x559b9c(0x14a)]()),this[_0x559b9c(0x1d2)]=[];}['_initCommandExecutedListener'](){const _0xb1a571=_0x22b98a,_0x4dcee0=[b[_0xb1a571(0x3be)]['id']];this[_0xb1a571(0x3bd)](this[_0xb1a571(0x1cb)]['onCommandExecuted'](_0x10545d=>{const _0x2fe240=_0xb1a571;_0x4dcee0['includes'](_0x10545d['id'])&&_0x10545d[_0x2fe240(0x283)][_0x2fe240(0x392)]===this[_0x2fe240(0x3b5)][_0x2fe240(0x392)]&&this[_0x2fe240(0x2f7)]();}));}[_0x22b98a(0x3bb)](){const _0x3478e4=_0x22b98a;this[_0x3478e4(0x3bd)](a[_0x3478e4(0x1e3)](this[_0x3478e4(0x3b5)]['engine'][_0x3478e4(0x275)])[_0x3478e4(0x256)]($[_0x3478e4(0x214)](_0x1ed7c2=>_0x1ed7c2[_0x3478e4(0x200)]===p[_0x3478e4(0x374)][_0x3478e4(0x1de)]),$[_0x3478e4(0x357)](0x10))[_0x3478e4(0x32d)](()=>{const _0x5a067e=_0x3478e4;this[_0x5a067e(0x2f7)]();}));}};Ie=vt([W(0x1,a[_0x22b98a(0x1fc)](Y[_0x22b98a(0x1dc)])),W(0x2,a['Inject'](x)),W(0x3,a[_0x22b98a(0x23e)]),W(0x4,a[_0x22b98a(0x1fc)](a[_0x22b98a(0x288)]))],Ie);const gt=0x1,mt=1.5;class Pe extends p[_0x22b98a(0x149)]{constructor(_0x2068b7,_0xb66282){const _0x5d6fb5=_0x22b98a;super(_0x2068b7,_0xb66282),h(this,_0x5d6fb5(0x3a5)),h(this,_0x5d6fb5(0x2b7),!0x1),h(this,_0x5d6fb5(0x27e)),h(this,'_name',''),h(this,_0x5d6fb5(0x1fe),_0x5d6fb5(0x2dd)),h(this,_0x5d6fb5(0x273)),(_0xb66282&&this['setShapeProps'](_0xb66282),this[_0x5d6fb5(0x3af)]['subscribeEvent'](()=>this['setShapeProps']({'hovered':!0x0})),this[_0x5d6fb5(0x1cc)][_0x5d6fb5(0x2f6)](()=>this[_0x5d6fb5(0x1b6)]({'hovered':!0x1})));}[_0x22b98a(0x1b6)](_0x2684dc){const _0xddc6c5=_0x22b98a;var _0x3a80a7,_0x4ef6dd,_0x57e7dd,_0x562859,_0x1b628c,_0x5b64e1;this['_color']=(_0x3a80a7=_0x2684dc[_0xddc6c5(0x2cf)])!=null?_0x3a80a7:this['_color'],this[_0xddc6c5(0x2b7)]=(_0x4ef6dd=_0x2684dc['hovered'])!=null?_0x4ef6dd:this[_0xddc6c5(0x2b7)],this[_0xddc6c5(0x27e)]=(_0x57e7dd=_0x2684dc[_0xddc6c5(0x2c4)])!=null?_0x57e7dd:this[_0xddc6c5(0x27e)],this[_0xddc6c5(0x266)]=(_0x562859=_0x2684dc['name'])!=null?_0x562859:this['_name'],this[_0xddc6c5(0x1fe)]=(_0x1b628c=_0x2684dc[_0xddc6c5(0x324)])!=null?_0x1b628c:this[_0xddc6c5(0x1fe)],this[_0xddc6c5(0x273)]=(_0x5b64e1=_0x2684dc[_0xddc6c5(0x250)])!=null?_0x5b64e1:this[_0xddc6c5(0x273)],this['transformByState']({'width':_0x2684dc[_0xddc6c5(0x34e)],'height':_0x2684dc['height']});}[_0x22b98a(0x194)](_0x1a5af9){const _0x4e60cd=_0x22b98a,{row:_0x4d52aa,column:_0x59f2fd}=_0x1a5af9;if(_0x4d52aa>=this[_0x4e60cd(0x27e)][_0x4e60cd(0x204)]&&_0x4d52aa<=this[_0x4e60cd(0x27e)][_0x4e60cd(0x31c)]&&_0x59f2fd>=this['_range'][_0x4e60cd(0x24c)]&&_0x59f2fd<=this['_range'][_0x4e60cd(0x17d)]){this[_0x4e60cd(0x1b6)]({'hovered':!0x0});return;}this[_0x4e60cd(0x1b6)]({'hovered':!0x1});}['triggerDblclick'](_0x51c455){return!0x1;}['_draw'](_0x1b8705){const _0x414a32=_0x22b98a;p[_0x414a32(0x19d)][_0x414a32(0x24f)](_0x1b8705,{'width':this[_0x414a32(0x34e)],'height':this[_0x414a32(0x3b9)],'strokeWidth':mt,'stroke':this[_0x414a32(0x3a5)],'evented':!0x1,'fill':this[_0x414a32(0x273)]}),this[_0x414a32(0x2b7)]&&(_0x1b8705[_0x414a32(0x37f)](),_0x1b8705[_0x414a32(0x1c6)](0x1,0x0,0x0,0x1,this[_0x414a32(0x34e)],this[_0x414a32(0x1fe)]===_0x414a32(0x271)?0x0:-0x14),ee[_0x414a32(0x24f)](_0x1b8705,{'text':this['_name'],'color':this[_0x414a32(0x3a5)]}),_0x1b8705[_0x414a32(0x351)]());}}var Ct=Object[_0x22b98a(0x199)],pt=(_0x415124,_0x20e4f6,_0x276116,_0xc130fe)=>{const _0x2679fd=_0x22b98a;for(var _0x16ad17=_0xc130fe>0x1?void 0x0:_0xc130fe?Ct(_0x20e4f6,_0x276116):_0x20e4f6,_0x4a0abb=_0x415124[_0x2679fd(0x3b1)]-0x1,_0x5cc988;_0x4a0abb>=0x0;_0x4a0abb--)(_0x5cc988=_0x415124[_0x4a0abb])&&(_0x16ad17=_0x5cc988(_0x16ad17)||_0x16ad17);return _0x16ad17;},ae=(_0x1177e9,_0x302bb7)=>(_0x2593b2,_0x21c44a)=>_0x302bb7(_0x2593b2,_0x21c44a,_0x1177e9);const bt=0x1389;let ve=class extends a[_0x22b98a(0x2ab)]{constructor(_0x1556c1,_0x55f080,_0x1c83c0,_0x30e795){const _0x4e0b39=_0x22b98a;super(),h(this,_0x4e0b39(0x2de),new Set()),h(this,_0x4e0b39(0x2db),null),(this[_0x4e0b39(0x3b5)]=_0x1556c1,this[_0x4e0b39(0x346)]=_0x55f080,this[_0x4e0b39(0x399)]=_0x1c83c0,this['_themeService']=_0x30e795,this[_0x4e0b39(0x1a1)]());}[_0x22b98a(0x1a1)](){const _0x77adb7=_0x22b98a;this['_sheetSkeletonManagerService'][_0x77adb7(0x14e)][_0x77adb7(0x256)]($['takeUntil'](this[_0x77adb7(0x1e4)]),$['switchMap'](_0x2519ca=>{const _0x34b86e=_0x77adb7;if(_0x2519ca){const _0x29e10d=_0x2519ca[_0x34b86e(0x2f8)];return d[_0x34b86e(0x2e6)](this[_0x34b86e(0x399)][_0x34b86e(0x3b8)](this[_0x34b86e(0x3b5)][_0x34b86e(0x392)]),this[_0x34b86e(0x38b)][_0x34b86e(0x21c)])[_0x34b86e(0x256)]($[_0x34b86e(0x2a6)](([_0x469ab3,_0x16474e])=>{const _0x26420a=_0x34b86e,_0x47371f=new Map();return _0x469ab3[_0x26420a(0x19b)]((_0x5c10da,_0x45e80c)=>{const _0x4cb536=_0x26420a;if(_0x5c10da[_0x4cb536(0x3cb)]===_0x29e10d){const _0x4ac66d={..._0x5c10da};_0x4ac66d[_0x4cb536(0x2cf)]=this['_themeService'][_0x4cb536(0x248)](_0x5c10da['color']),_0x47371f[_0x4cb536(0x1f2)](_0x45e80c,_0x4ac66d);}}),{'skeleton':_0x2519ca,'cursors':_0x47371f};}));}return d['of']({'skeleton':null,'cursors':new Map()});}))[_0x77adb7(0x32d)](({skeleton:_0x5e6561,cursors:_0x458f20})=>{const _0x39a36e=_0x77adb7;this['_removeCollabCursors'](),_0x5e6561&&this[_0x39a36e(0x29c)](_0x5e6561,_0x458f20);}),this[_0x77adb7(0x346)][_0x77adb7(0x14e)]['subscribe'](_0x4af531=>{const _0x5023c5=_0x77adb7;if(_0x4af531==null)return;const {skeleton:_0x3b1d63}=_0x4af531,{scene:_0x35b37e}=this['_context'];_0x35b37e['onPointerMove$'][_0x5023c5(0x2f6)](a[_0x5023c5(0x1c7)](_0x35c0d3=>{const _0x4a6103=_0x5023c5;var _0x438199,_0x164f3f;const {offsetX:_0x20ada7,offsetY:_0x10ff81}=_0x35c0d3,{x:_0x5092d3,y:_0x57d96d}=_0x35b37e['getRelativeToViewportCoord'](p[_0x4a6103(0x24e)][_0x4a6103(0x1a5)]([_0x20ada7,_0x10ff81])),{scaleX:_0x39d7fc,scaleY:_0x66a751}=_0x35b37e[_0x4a6103(0x22a)](),_0x2bc2f2=_0x35b37e['getViewport'](p[_0x4a6103(0x289)][_0x4a6103(0x192)]),_0x4bf079=_0x35b37e[_0x4a6103(0x2ba)](p[_0x4a6103(0x24e)]['FromArray']([_0x5092d3,_0x57d96d]),_0x2bc2f2),_0x3c1e31=_0x3b1d63[_0x4a6103(0x162)](_0x20ada7,_0x10ff81,_0x39d7fc,_0x66a751,_0x4bf079);((_0x438199=this['_lastPointer'])==null?void 0x0:_0x438199[_0x4a6103(0x174)])===_0x3c1e31[_0x4a6103(0x174)]&&((_0x164f3f=this[_0x4a6103(0x2db)])==null?void 0x0:_0x164f3f[_0x4a6103(0x34a)])===_0x3c1e31[_0x4a6103(0x34a)]||this['_cursors']['forEach'](_0x468579=>{_0x468579['onMouseMove'](_0x3c1e31);});},0x64));});}[_0x22b98a(0x29c)](_0x3279f7,_0x5ea046){const _0x13e6c6=_0x22b98a;var _0x3215ad;const _0x2834cf=(_0x3215ad=this['_sheetSkeletonManagerService']['getCurrent']())==null?void 0x0:_0x3215ad['skeleton'];if(!_0x2834cf)return;const _0x143e7c=this[_0x13e6c6(0x21a)]();if(!_0x143e7c)return;this[_0x13e6c6(0x2de)][_0x13e6c6(0x19b)](_0x513f22=>{const _0x1b06a9=_0x13e6c6;_0x513f22[_0x1b06a9(0x2e0)]();});const {scene:_0xed809f}=_0x143e7c,_0x4919c6=Et(Array[_0x13e6c6(0x394)](_0x5ea046['values']()))[_0x13e6c6(0x2a6)](_0x244e81=>{const _0x286859=_0x13e6c6,{color:_0x5b0d37,range:_0x9020a8,name:_0x559a49,selection:_0x41f6c2,sheetID:_0xe28d5e}=_0x244e81,{startColumn:_0xa846c0,startRow:_0x278a5e,endColumn:_0x3cf55c,endRow:_0x5d3a4f}=_0x9020a8,_0x3749c9=X[_0x286859(0x1f1)](_0x278a5e,_0xa846c0,_0xed809f,_0x2834cf),_0x2e8aa0=X[_0x286859(0x1f1)](_0x5d3a4f,_0x3cf55c,_0xed809f,_0x2834cf),{columnHeaderHeightAndMarginTop:_0x252160}=_0x2834cf,{startX:_0x59cac9,startY:_0x2d5524}=_0x3749c9,{endX:_0x518a52,endY:_0x412fe8}=_0x2e8aa0,_0x2fd4a6=_0x518a52-_0x59cac9,_0x57f18d=_0x412fe8-_0x2d5524,_0x29c218={'labelPosition':_0x2d5524-_0x252160>=K?_0x286859(0x2dd):'bottom','sheetID':_0xe28d5e,'range':_0x9020a8,'color':_0x5b0d37,'name':_0x559a49,'selection':_0x41f6c2,'left':_0x59cac9,'top':_0x2d5524,'width':_0x2fd4a6,'height':_0x57f18d,'evented':!0x1,'zIndex':bt};return new Pe(_0x559a49,_0x29c218);});_0xed809f[_0x13e6c6(0x3a4)](_0x4919c6,gt),this['_cursors']=new Set(_0x4919c6);}[_0x22b98a(0x189)](){const _0x1be83c=_0x22b98a;var _0x23f204;(_0x23f204=this['_cursors'])==null||_0x23f204[_0x1be83c(0x19b)](_0x5cb916=>_0x5cb916['dispose']());}['_getSheetObject'](){const _0x3ed00b=_0x22b98a;return X['getSheetObject'](this[_0x3ed00b(0x3b5)]['unit'],this['_context']);}};ve=pt([ae(0x1,a[_0x22b98a(0x1fc)](X[_0x22b98a(0x391)])),ae(0x2,a['Inject'](x)),ae(0x3,a['Inject'](a['ThemeService']))],ve);function Et(_0x215b1c){const _0x40f581=_0x22b98a,_0x10166f=new Map();return _0x215b1c['forEach'](_0x47f6c0=>{const _0x548dcc=_0x202d;if(_0x10166f[_0x548dcc(0x32b)](_0x47f6c0[_0x548dcc(0x379)])){const _0x35fe4f=_0x10166f[_0x548dcc(0x2b0)](_0x47f6c0[_0x548dcc(0x379)]);_0x35fe4f[_0x548dcc(0x18e)]+=',\x20'+_0x47f6c0[_0x548dcc(0x18e)];}else _0x10166f[_0x548dcc(0x1f2)](_0x47f6c0[_0x548dcc(0x379)],_0x47f6c0);}),Array[_0x40f581(0x394)](_0x10166f['values']());}var E=function(){const _0x4ca1c9=_0x22b98a;return E=Object[_0x4ca1c9(0x389)]||function(_0x5a2201){const _0x43f1ba=_0x4ca1c9;for(var _0x5a1ce5,_0xcbe0a4=0x1,_0x5e9bcb=arguments[_0x43f1ba(0x3b1)];_0xcbe0a4<_0x5e9bcb;_0xcbe0a4++){_0x5a1ce5=arguments[_0xcbe0a4];for(var _0x634020 in _0x5a1ce5)Object['prototype']['hasOwnProperty'][_0x43f1ba(0x2b2)](_0x5a1ce5,_0x634020)&&(_0x5a2201[_0x634020]=_0x5a1ce5[_0x634020]);}return _0x5a2201;},E[_0x4ca1c9(0x286)](this,arguments);},Tt=function(_0x43c06e,_0x5b0b90){const _0x35fdaa=_0x22b98a;var _0xba435a={};for(var _0x431963 in _0x43c06e)Object[_0x35fdaa(0x1da)][_0x35fdaa(0x229)][_0x35fdaa(0x2b2)](_0x43c06e,_0x431963)&&_0x5b0b90[_0x35fdaa(0x2ca)](_0x431963)<0x0&&(_0xba435a[_0x431963]=_0x43c06e[_0x431963]);if(_0x43c06e!=null&&typeof Object[_0x35fdaa(0x27d)]==_0x35fdaa(0x349)){for(var _0x5b9d05=0x0,_0x431963=Object[_0x35fdaa(0x27d)](_0x43c06e);_0x5b9d05<_0x431963[_0x35fdaa(0x3b1)];_0x5b9d05++)_0x5b0b90[_0x35fdaa(0x2ca)](_0x431963[_0x5b9d05])<0x0&&Object['prototype'][_0x35fdaa(0x186)][_0x35fdaa(0x2b2)](_0x43c06e,_0x431963[_0x5b9d05])&&(_0xba435a[_0x431963[_0x5b9d05]]=_0x43c06e[_0x431963[_0x5b9d05]]);}return _0xba435a;},pe=M[_0x22b98a(0x180)](function(_0x49c1ab,_0xbbee39){const _0x3d3f16=_0x22b98a;var _0x46c503=_0x49c1ab['icon'],_0x147bac=_0x49c1ab['id'],_0x5a62b8=_0x49c1ab[_0x3d3f16(0x354)],_0x50de1f=_0x49c1ab[_0x3d3f16(0x19f)],_0x3a4946=Tt(_0x49c1ab,[_0x3d3f16(0x278),'id',_0x3d3f16(0x354),_0x3d3f16(0x19f)]),_0x854a2d=_0x3d3f16(0x3a6)['concat'](_0x147bac,'\x20')['concat'](_0x5a62b8||'')[_0x3d3f16(0x264)](),_0xcc2cf7=M['useRef']('_'['concat'](Dt()));return Ae(_0x46c503,''[_0x3d3f16(0x3c7)](_0x147bac),{'defIds':_0x46c503[_0x3d3f16(0x25e)],'idSuffix':_0xcc2cf7['current']},E({'ref':_0xbbee39,'className':_0x854a2d},_0x3a4946),_0x50de1f);});function Ae(_0x5ef793,_0x41f8de,_0x183b67,_0x2d2934,_0x7923bd){const _0x344c29=_0x22b98a;return M[_0x344c29(0x17c)](_0x5ef793[_0x344c29(0x1db)],E(E({'key':_0x41f8de},Ot(_0x5ef793,_0x183b67,_0x7923bd)),_0x2d2934),(Rt(_0x5ef793,_0x183b67)['children']||[])[_0x344c29(0x2a6)](function(_0x11633b,_0x4a50cb){const _0x409ce6=_0x344c29;return Ae(_0x11633b,''[_0x409ce6(0x3c7)](_0x41f8de,'-')['concat'](_0x5ef793[_0x409ce6(0x1db)],'-')[_0x409ce6(0x3c7)](_0x4a50cb),_0x183b67,void 0x0,_0x7923bd);}));}function Ot(_0x5c38eb,_0x323c8f,_0x3a986b){const _0x380753=_0x22b98a;var _0x2c7fe8=E({},_0x5c38eb[_0x380753(0x168)]);_0x3a986b!=null&&_0x3a986b[_0x380753(0x2e3)]&&_0x2c7fe8[_0x380753(0x1c2)]===_0x380753(0x2e3)&&(_0x2c7fe8[_0x380753(0x1c2)]=_0x3a986b[_0x380753(0x2e3)]),_0x5c38eb['tag']==='mask'&&_0x2c7fe8['id']&&(_0x2c7fe8['id']=_0x2c7fe8['id']+_0x323c8f[_0x380753(0x196)]),Object[_0x380753(0x16f)](_0x2c7fe8)[_0x380753(0x19b)](function(_0x77df54){const _0x25dd0e=_0x380753;var _0x3cc581=_0x77df54[0x0],_0x1c3904=_0x77df54[0x1];_0x3cc581==='mask'&&typeof _0x1c3904==_0x25dd0e(0x38c)&&(_0x2c7fe8[_0x3cc581]=_0x1c3904[_0x25dd0e(0x182)](/url\(#(.*)\)/,'url(#$1'['concat'](_0x323c8f[_0x25dd0e(0x196)],')')));});var _0x2f0733=_0x323c8f[_0x380753(0x25e)];return!_0x2f0733||_0x2f0733['length']===0x0||(_0x5c38eb[_0x380753(0x1db)]===_0x380753(0x383)&&_0x2c7fe8[_0x380753(0x386)]&&(_0x2c7fe8[_0x380753(0x386)]=_0x2c7fe8[_0x380753(0x386)]+_0x323c8f[_0x380753(0x196)]),Object[_0x380753(0x16f)](_0x2c7fe8)[_0x380753(0x19b)](function(_0x5533eb){const _0x2e055b=_0x380753;var _0x51d587=_0x5533eb[0x0],_0x63c800=_0x5533eb[0x1];typeof _0x63c800=='string'&&(_0x2c7fe8[_0x51d587]=_0x63c800[_0x2e055b(0x182)](/url\(#(.*)\)/,_0x2e055b(0x1fa)[_0x2e055b(0x3c7)](_0x323c8f[_0x2e055b(0x196)],')')));})),_0x2c7fe8;}function Rt(_0xf0a4bc,_0x878b7f){const _0x2dd3a5=_0x22b98a;var _0x4b73ca,_0x39c12e=_0x878b7f[_0x2dd3a5(0x25e)];return!_0x39c12e||_0x39c12e[_0x2dd3a5(0x3b1)]===0x0?_0xf0a4bc:_0xf0a4bc[_0x2dd3a5(0x1db)]===_0x2dd3a5(0x2cb)&&(!((_0x4b73ca=_0xf0a4bc[_0x2dd3a5(0x378)])===null||_0x4b73ca===void 0x0)&&_0x4b73ca[_0x2dd3a5(0x3b1)])?E(E({},_0xf0a4bc),{'children':_0xf0a4bc[_0x2dd3a5(0x378)][_0x2dd3a5(0x2a6)](function(_0x475a97){const _0x16cd4e=_0x2dd3a5;return typeof _0x475a97['attrs']['id']==_0x16cd4e(0x38c)&&_0x39c12e&&_0x39c12e[_0x16cd4e(0x38d)](_0x475a97[_0x16cd4e(0x168)]['id'])?E(E({},_0x475a97),{'attrs':E(E({},_0x475a97[_0x16cd4e(0x168)]),{'id':_0x475a97[_0x16cd4e(0x168)]['id']+_0x878b7f[_0x16cd4e(0x196)]})}):_0x475a97;})}):_0xf0a4bc;}function Dt(){const _0x117fc3=_0x22b98a;return Math['random']()[_0x117fc3(0x30c)](0x24)[_0x117fc3(0x2c7)](0x2,0x8);}pe[_0x22b98a(0x2c3)]=_0x22b98a(0x1ec);var Ut={'tag':_0x22b98a(0x2e5),'attrs':{'xmlns':_0x22b98a(0x16a),'fill':'none','viewBox':_0x22b98a(0x185),'width':_0x22b98a(0x37a),'height':_0x22b98a(0x37a)},'children':[{'tag':'g','attrs':{'clipPath':_0x22b98a(0x3c6)},'children':[{'tag':_0x22b98a(0x18d),'attrs':{'stroke':_0x22b98a(0x38a),'d':_0x22b98a(0x258),'strokeLinecap':_0x22b98a(0x340),'strokeLinejoin':_0x22b98a(0x340),'strokeWidth':1.2}}]},{'tag':_0x22b98a(0x2cb),'attrs':{},'children':[{'tag':'clipPath','attrs':{'id':_0x22b98a(0x337)},'children':[{'tag':'path','attrs':{'fill':_0x22b98a(0x270),'d':'M0\x200H16V16H0z'}}]}]}],'defIds':['off-line-icon_clip0_910_343']},ye=M[_0x22b98a(0x180)](function(_0x59d30d,_0x5c974e){const _0x4c3402=_0x22b98a;return M['createElement'](pe,Object[_0x4c3402(0x389)]({},_0x59d30d,{'id':_0x4c3402(0x153),'ref':_0x5c974e,'icon':Ut}));});ye[_0x22b98a(0x2c3)]=_0x22b98a(0x1d7);var Nt={'tag':_0x22b98a(0x2e5),'attrs':{'xmlns':_0x22b98a(0x16a),'fill':_0x22b98a(0x33c),'viewBox':_0x22b98a(0x2bd),'width':_0x22b98a(0x37a),'height':'1em'},'children':[{'tag':'g','attrs':{'clipPath':_0x22b98a(0x388)},'children':[{'tag':_0x22b98a(0x18d),'attrs':{'stroke':_0x22b98a(0x38a),'d':_0x22b98a(0x2e4),'strokeLinecap':'round','strokeLinejoin':_0x22b98a(0x340),'strokeWidth':1.2}}]},{'tag':_0x22b98a(0x2cb),'attrs':{},'children':[{'tag':_0x22b98a(0x1e1),'attrs':{'id':_0x22b98a(0x181)},'children':[{'tag':_0x22b98a(0x18d),'attrs':{'fill':'white','d':_0x22b98a(0x234),'transform':_0x22b98a(0x3c2)}}]}]}],'defIds':['on-line-icon_clip0_910_349']},$e=M[_0x22b98a(0x180)](function(_0x3e9d34,_0x4c3253){const _0x473404=_0x22b98a;return M[_0x473404(0x17c)](pe,Object['assign']({},_0x3e9d34,{'id':'on-line-icon','ref':_0x4c3253,'icon':Nt}));});$e[_0x22b98a(0x2c3)]=_0x22b98a(0x332);function Mt(_0x48e613){const _0x4c4229=_0x22b98a;switch(_0x48e613){case u[_0x4c4229(0x1d3)][_0x4c4229(0x362)]:return _0x4c4229(0x262);case u['CollaborationStatus'][_0x4c4229(0x1fd)]:return _0x4c4229(0x1dd);case u[_0x4c4229(0x1d3)]['FETCH_MISS']:return'collabStatus.fetchMiss';case u[_0x4c4229(0x1d3)]['NOT_COLLAB']:return _0x4c4229(0x329);case u[_0x4c4229(0x1d3)]['AWAITING']:case u[_0x4c4229(0x1d3)]['AWAITING_WITH_PENDING']:return _0x4c4229(0x184);case u['CollaborationStatus'][_0x4c4229(0x1a2)]:case u[_0x4c4229(0x1d3)][_0x4c4229(0x35a)]:return _0x4c4229(0x274);}}function xe(_0x71e55f){const _0x3adca8=_0x22b98a,{status$:_0x430ac4}=_0x71e55f,_0x324b01=T[_0x3adca8(0x3a0)](_0x430ac4,u[_0x3adca8(0x1d3)]['NOT_COLLAB']),_0x1d2213=T['useDependency'](a[_0x3adca8(0x367)]),_0x4da2d6=T[_0x3adca8(0x295)](u[_0x3adca8(0x1bb)]),_0x4a08eb=_0x324b01!==u[_0x3adca8(0x1d3)][_0x3adca8(0x362)],_0x21112b=_0x1d2213['t'](Mt(_0x324b01)),_0x449991=_0x4a08eb?w[_0x3adca8(0x32e)]($e,{}):w[_0x3adca8(0x32e)](ye,{}),_0x53802d=M[_0x3adca8(0x157)](()=>{const _0x30e2c0=_0x3adca8;_0x4a08eb||_0x4da2d6[_0x30e2c0(0x39e)]();},[_0x4a08eb,_0x4da2d6]);function _0x2e98c4(){const _0xb1240b=_0x3adca8;return w['jsxs'](_0xb1240b(0x2f5),{'className':_0xb1240b(0x195),'onClick':_0x53802d,'children':[w['jsx']('div',{'className':D[_0xb1240b(0x17f)](_0xb1240b(0x23c),{'univer-text-green-500':_0x4a08eb,'univer-text-red-500':!_0x4a08eb}),'children':_0x449991}),w[_0xb1240b(0x32e)](_0xb1240b(0x2f5),{'className':_0xb1240b(0x1a7),'children':_0x21112b})]});}return _0x4a08eb?_0x2e98c4():w[_0x3adca8(0x32e)](D['Tooltip'],{'title':_0x1d2213['t'](_0x3adca8(0x2d3)),'children':_0x2e98c4()});}var Lt=Object[_0x22b98a(0x199)],wt=(_0x4d652a,_0x4a7cd0,_0x1ff2c8,_0x2d3e37)=>{const _0x48d00e=_0x22b98a;for(var _0x36b697=_0x2d3e37>0x1?void 0x0:_0x2d3e37?Lt(_0x4a7cd0,_0x1ff2c8):_0x4a7cd0,_0x1fbe9f=_0x4d652a[_0x48d00e(0x3b1)]-0x1,_0x3a3cc4;_0x1fbe9f>=0x0;_0x1fbe9f--)(_0x3a3cc4=_0x4d652a[_0x1fbe9f])&&(_0x36b697=_0x3a3cc4(_0x36b697)||_0x36b697);return _0x36b697;},V=(_0x1efd97,_0xf47a1e)=>(_0x1731b6,_0x308f3a)=>_0xf47a1e(_0x1731b6,_0x308f3a,_0x1efd97);exports[_0x22b98a(0x355)]=class extends a[_0x22b98a(0x1ea)]{constructor(_0x560810,_0x11a103,_0x249e20,_0x5c8231){const _0x5baa91=_0x22b98a;super(),h(this,_0x5baa91(0x2b3),new d['BehaviorSubject'](u[_0x5baa91(0x1d3)][_0x5baa91(0x20e)])),(this[_0x5baa91(0x28c)]=_0x560810,this[_0x5baa91(0x1c4)]=_0x11a103,this[_0x5baa91(0x15c)]=_0x249e20,this['_uiPartsService']=_0x5c8231,this[_0x5baa91(0x2fb)](),this[_0x5baa91(0x32f)]());}[_0x22b98a(0x32f)](){const _0x2c896c=_0x22b98a;this[_0x2c896c(0x3bd)](this[_0x2c896c(0x28c)][_0x2c896c(0x20c)][_0x2c896c(0x256)](d[_0x2c896c(0x239)](()=>{const _0x1ef085=_0x2c896c,_0x13732a=this[_0x1ef085(0x28c)]['getFocusedUnit']();return _0x13732a?this['_collaborationController'][_0x1ef085(0x23d)](_0x13732a[_0x1ef085(0x3bc)]()):d['of'](null);}),d[_0x2c896c(0x239)](_0x1ff838=>_0x1ff838?_0x1ff838[_0x2c896c(0x255)]:d['of'](u[_0x2c896c(0x1d3)][_0x2c896c(0x20e)])))[_0x2c896c(0x32d)](_0x9edb74=>{const _0x21f6c9=_0x2c896c;this[_0x21f6c9(0x2b3)][_0x21f6c9(0x3c9)](_0x9edb74);}));}[_0x22b98a(0x2fb)](){const _0x3e234d=_0x22b98a;this['disposeWithMe'](this[_0x3e234d(0x221)][_0x3e234d(0x21b)](T['BuiltInUIPart']['HEADER_MENU'],()=>T['connectInjector'](Pt({'status$':this['_status$'][_0x3e234d(0x1a0)]()}),this[_0x3e234d(0x1c4)])));}},exports[_0x22b98a(0x355)]=wt([V(0x0,a[_0x22b98a(0x2df)]),V(0x1,a[_0x22b98a(0x1fc)](a[_0x22b98a(0x3d1)])),V(0x2,a['Inject'](u[_0x22b98a(0x315)])),V(0x3,T[_0x22b98a(0x1e9)])],exports[_0x22b98a(0x355)]);function Pt(_0x167f82){const {status$:_0x3f1e75}=_0x167f82;return function(){const _0x384b92=_0x202d;return w[_0x384b92(0x32e)](xe,{'status$':_0x3f1e75});};}var At=Object[_0x22b98a(0x199)],yt=(_0x4a455c,_0x17061c,_0xab7ae4,_0x496967)=>{const _0x4c114b=_0x22b98a;for(var _0x597195=_0x496967>0x1?void 0x0:_0x496967?At(_0x17061c,_0xab7ae4):_0x17061c,_0x42b95a=_0x4a455c[_0x4c114b(0x3b1)]-0x1,_0x518915;_0x42b95a>=0x0;_0x42b95a--)(_0x518915=_0x4a455c[_0x42b95a])&&(_0x597195=_0x518915(_0x597195)||_0x597195);return _0x597195;},y=(_0x619a80,_0x1184a8)=>(_0x15e5d8,_0x157736)=>_0x1184a8(_0x15e5d8,_0x157736,_0x619a80);let q=class extends a[_0x22b98a(0x1ea)]{constructor(_0x493f16,_0xbe9af2,_0x34a865,_0x2eac14,_0xec10f6,_0x46c0ff){const _0x40ef2b=_0x22b98a;super(),this['_beforeCloseService']=_0x493f16,this[_0x40ef2b(0x358)]=_0xbe9af2,this[_0x40ef2b(0x26c)]=_0x34a865,this['_messageService']=_0x2eac14,this[_0x40ef2b(0x1ab)]=_0xec10f6,this[_0x40ef2b(0x158)]=_0x46c0ff,this['_setupBeforeClosingHandler'](),this[_0x40ef2b(0x398)]();}[_0x22b98a(0x36c)](){const _0x5935ba=_0x22b98a;this[_0x5935ba(0x3bd)](this[_0x5935ba(0x350)][_0x5935ba(0x1ca)](()=>{const _0x2c4a1d=_0x5935ba;if(this['_localCacheService'][_0x2c4a1d(0x163)][_0x2c4a1d(0x1d5)])return this['_localeService']['t'](_0x2c4a1d(0x308));}));}[_0x22b98a(0x398)](){const _0x5d533e=_0x22b98a;this[_0x5d533e(0x3bd)](this['_collaborationUIEventService'][_0x5d533e(0x1a3)]['subscribe'](_0x1c3b32=>{const _0x2070f7=_0x5d533e;_0x1c3b32['id']===u[_0x2070f7(0x376)][_0x2070f7(0x251)]&&this[_0x2070f7(0x317)][_0x2070f7(0x39a)]({'type':D[_0x2070f7(0x37e)]['Warning'],'content':this[_0x2070f7(0x158)]['t']('collaboration.single-unit.warning')}),_0x1c3b32['id']===u[_0x2070f7(0x376)]['CLOSE_ROOM']&&this['_messageService'][_0x2070f7(0x39a)]({'type':D[_0x2070f7(0x37e)]['Warning'],'content':this[_0x2070f7(0x158)]['t']('collaboration.closeRoom')}),_0x1c3b32['id']===u['CollaborationUIEventId'][_0x2070f7(0x18f)]&&this['_notificationService'][_0x2070f7(0x39a)]({'title':this[_0x2070f7(0x158)]['t'](_0x2070f7(0x1b7)),'content':this[_0x2070f7(0x158)]['t'](_0x2070f7(0x1ff)),'type':_0x2070f7(0x3d3),'duration':0x0}),_0x1c3b32['id']===u[_0x2070f7(0x376)][_0x2070f7(0x1fd)]&&this['_messageService'][_0x2070f7(0x39a)]({'type':D['MessageType'][_0x2070f7(0x159)],'content':this[_0x2070f7(0x158)]['t'](_0x2070f7(0x151))+'('+_0x1c3b32[_0x2070f7(0x202)]+')'}),_0x1c3b32['id']===u[_0x2070f7(0x376)][_0x2070f7(0x3cd)]&&this[_0x2070f7(0x317)][_0x2070f7(0x39a)]({'type':D[_0x2070f7(0x37e)][_0x2070f7(0x167)],'content':this[_0x2070f7(0x158)]['t'](_0x1c3b32[_0x2070f7(0x202)]||'')}),_0x1c3b32['id']===u['CollaborationUIEventId'][_0x2070f7(0x2d2)]&&this['_messageService'][_0x2070f7(0x39a)]({'type':D[_0x2070f7(0x37e)][_0x2070f7(0x167)],'content':this[_0x2070f7(0x158)]['t'](_0x2070f7(0x3ca))}),_0x1c3b32['id']===u[_0x2070f7(0x376)]['SOCKET_FAILED']&&this[_0x2070f7(0x317)][_0x2070f7(0x39a)]({'type':D['MessageType'][_0x2070f7(0x159)],'content':this[_0x2070f7(0x158)]['t']('session.connection-failed')}),_0x1c3b32['id']===u[_0x2070f7(0x376)][_0x2070f7(0x1ed)]&&this['_messageService'][_0x2070f7(0x39a)]({'type':D['MessageType'][_0x2070f7(0x159)],'content':this[_0x2070f7(0x158)]['t']('session.collaboration-timeout')});}));}};q=yt([y(0x0,T[_0x22b98a(0x175)]),y(0x1,u[_0x22b98a(0x2d5)]),y(0x2,a[_0x22b98a(0x1fc)](u['CollaborationUIEventService'])),y(0x3,T[_0x22b98a(0x2f2)]),y(0x4,T[_0x22b98a(0x169)]),y(0x5,a[_0x22b98a(0x1fc)](a[_0x22b98a(0x367)]))],q);function _0x1a0f(){const _0x3fb627=['m2Prime','@univerjs/sheets','colorChannel1','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','svg','combineLatest','DisposableCollection','YUUMI_ALL_TABLES_IS_INVALID','debounceTime','UnitStatus','INVALID_INVITE_CODE','_session','uni.network.url-service','updateOfflineData','NodePositionConvertToRectRange','stringify','setAlpha','IMessageService','runOnServer','SetTextSelectionsOperation','div','subscribeEvent','_refreshCollabCursors','sheetId','RegularPolygon','Workbook','_initStatusComponent','@univerjs/drawing','takeUntil','ISnapshotServerService','handleDeleteRangeMoveLeft','selections','some','_docSkeletonManagerService','addHandlerCallback','_startSheetCollabCursor','_entityInit$','getActiveSheet','_textBubble','collaboration-client.offline-data-not-saved','SessionStatus','_scene','_ensureSubject','toString','_anchorDot','ACTIVE_UNIT_EVENT_CHANNEL','INVALID_ARGUMENT','activeSheet$','UNDEFINED','_docClipboardService','YUUMI_RATE_OVER_LIMIT','DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','CollaborationController','_imageIoService','_messageService','runRefRangeMutations','getUnitStatus$','Tools','21CUYDvP','endRow','_onCursorDelete','_initCommandExecutedListener','assignAColorForMemberID','_saveCache','eventID','getCurrentSelections','CHANGESET_REVISION_CONFILICT','labelPosition','urlChange$','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','@univerjs/engine-render','exhaustSavingTask','collabStatus.notCollab','getTypeOfUnitDisposed$','has','getSkeleton','subscribe','jsx','_initStatusListener','_colorAssignService','_document','OnLineIcon','fillText','DOC_RANGE_TYPE','YUUMI_NO_CUBOID_FOR_QUESTION','_dataLoaderService','off-line-icon_clip0_910_343','removeParam','_handleLeaveEvent','APPLY_REJECT','createInstance','none','Failed','_getSessionTicket','isArray','round','_logService','lineTo','INTERNAL_ERROR','PY_RUNTIME_SCRIPT_ERROR','YUUMI_SUBSCRIPTION_NOT_FOUND','_sheetSkeletonManagerService','disposeUnit','_handleHover','function','row','COMPLETION_FINISHED','_handleEvent','setItem','width','executionId','_beforeCloseService','restore','loadOfflineData','_configService','className','DesktopCollaborationStatusDisplayController','_httpService','throttleTime','_localCacheService','_cachedData','PENDING','YUUMI_URL_COL_OUT_OF_RANGE','_docTransformStateCacheService','code','_handleHeartbeatEvent','_onCursorUpdate','_startDocCollabCursor','getOffsetConfig','OFFLINE','LICENSE_DISTRO_REJECTED','YUUMI_UNABLE_LOAD_URL','ranges','isTransformMutationsWithChangesetSuccess','LocaleService','docStateChange$','TOO_MANY_REQUESTS','getColor','_config','_setupBeforeClosingHandler','invokeId','max','override','_selfUnitIDs','_entities','LOCAL_CACHE_INTERVAL','unsubscribe','TRANSFORM_CHANGE_OBSERVABLE_TYPE','onRendered','CollaborationUIEventId','_getMergeRange','children','selection','1em','blue.400','onLocalMutation','handleInsertRangeMoveDown','MessageType','save','transformMutation','_docStateChangeManagerService','CollaborationDataLoaderController','use','Rectangle','_docSkeleton','xlink:href','saveOfflineData','url(#on-line-icon_clip0_910_349)','assign','currentColor','_themeService','string','includes','createSocket','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','@univerjs/rpc','SheetSkeletonManagerService','unitId','getConfig','from','text','SheetCollabCursorShape','LICENSE_EXPORT_SIZE_EXCEEDED','_initEvent','_collabCursorController','show','getUndoRedoMutationParamsCache','_assignedColors','WebURLService','reconnect','@univerjs/design','useObservable','deepClone','_initEntityListener','init','addObjects','_color','univerjs-icon\x20univerjs-icon-','getSheetBySheetId','handleInsertRow','setTimeout','NO_OTHER_CLIENTS_EDITING','getSheetId','location','ENSURE_SNAPSHOT_EXECUTION','_hideTimer','onPointerEnter$','4GiFKMV','length','getCurrentRevOfUnit','memberID','DeleteRangeMoveLeftCommandId','_context','EffectRefRangId','toRgbString','getCollabCursors$','height','then','_initResize','getUnitId','disposeWithMe','SetDocZoomRatioOperation','@univerjs/docs-ui','result','application/json','translate(.97)','undoState','_updateLocalCursor','USERS_LEAVE','url(#off-line-icon_clip0_910_343)','concat','transformMutationsWithChangeset','next','session.will-retry','sheetID','IImageIoService','JOIN_ROOM_FAILED','UNRECOGNIZED','replaceState','INVITE_CODE_HAS_BEEN_UES','Injector','with','error','Shape','dispose','Module','wsSessionTicketUrl','_send','currentSkeleton$','_drawRectRange','TEXT','collaboration.closeRoom','react','off-line-icon','EMAIL_HAS_BEEN_BOUND','_drawTextRange','sessionTicket','useCallback','_localeService','Error','_updateSubUnitFromURLParams','_docTransformIMECacheService','_collaborationController','MoveRangeCommandId','flatMap','COLORS','_doCreateSocket','all','getCellPositionByOffset','saveTaskMap','getDocRanges','IRemoteInstanceService','disableLocalCache','Warning','attrs','INotificationService','http://www.w3.org/2000/svg','BrowserCollaborationSocketService','@univerjs-pro/collaboration-client','collaboration-client-ui.config','_instanceService','entries','CommandType','measureText','defineProperty','requireSession','column','IBeforeCloseService','_cursorInfo$','mutations','handleDeleteRangeMoveUp','doc.mutation.rich-text-editing','red.300','_docTransformSelectionsService','createElement','endColumn','setActiveRange','clsx','forwardRef','on-line-icon_clip0_910_349','replace','onStarting','collabStatus.syncing','0\x200\x2016\x2016','propertyIsEnumerable','_createSocketURL','RefRangeService','_removeCollabCursors','RECT','pushState','#FFF','path','name','PERMISSION_DENIED','TEXT_RANGE_LAYER_INDEX','CollaborationSocketService','VIEW_MAIN','registerRenderModule','onMouseMove','univer-flex\x20univer-items-center','idSuffix','fillStyle','_heartbeatTimer','getOwnPropertyDescriptor','APPLY_NON_SEQUENTIAL_REVISION','forEach','UniverInstanceType','Rect','_docSyncEditingCollabCursorService','extend','asObservable','_init','SYNCED','event$','roomMembers','FromArray','unload','univer-text-sm\x20univer-leading-8\x20univer-text-gray-600\x20dark:!univer-text-gray-200','_cursor','actions','No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','_notificationService','executeCommand','_toggleOnline','getActiveRange','6487048RIGfoa','_registerDependencies','919797IBHGKQ','_refRangeService','@univerjs-pro/collaboration','arc','OTHER_CLIENTS_EDITING','setShapeProps','permission.title','add','clearInterval','getUniverSheetInstance','CollaborationSessionService','InsertRowCommandId','roomMembers$','_online','collab-text-range-','RichTextEditingMutation','MOBILE_HAS_BEEN_BOUND','fill','values','_injector','complete','transform','debounce','5727065lnEukf','_colorIndex','registerBeforeClose','_commandService','onPointerLeave$','NodePositionConvertToCursor','SNAPSHOT_HAS_BEEN_REMOVED','IDocClipboardService','DocCollaborationEntity','LOGIN_FAILED','_cursorShapes','CollaborationStatus','UniverCollaborationClientUIPlugin','size','YUUMI_TABLE_NOT_FOUND_IN_UNIT','OffLineIcon','DependentOn','_unitOnClients','prototype','tag','DocSkeletonManagerService','collabStatus.conflict','resize','setInterval','bold\x2013px\x20Source\x20Han\x20Sans\x20CN','clipPath','_toggleOffline','fromEventSubject','dispose$','newValue','purple.300','findNodePositionByCharIndex','shareReplay','IUIPartsService','Disposable','merge','UniverIcon','SUBMIT_CHANGESET_TIMEOUT','WebSocketService','_removeClearOtherTimer','DocSelectionManagerService','getCoordByCell','set','unitID','_eventUnsubscribe','LOCAL_CACHE_INTERVAL_KEY','transformSelections','_transformUndoRedoStack','toDisposable','closePath','url(#$1','syncEditingCollabCursor','Inject','CONFLICT','_labelPosition','permission.content','type','push','data','NOT_FOUND','startRow','_memberService','handleInsertCol','subUnitId','ALREADY_EXISTS','createIdentifier','href','rgba(255,\x20255,\x20255,\x200.01)','focused$','_onRefRangeChange','NOT_COLLAB','_registerRenderDependencies','isActive','evenodd','serializeRangeWithSheet','_scheduleHeartbeat','filter','CollaborationEvent','entityInit$','beginPath','generateRandomId','getParam','_getSheetObject','registerComponent','currentTheme$','IConfigService','enableLocalCache','CONNECTOR_DATA_TOO_LARGE','_syncEditingCollabCursorService','_uiPartsService','_unitStatus','editingUnit','fromEvent','_clearOtherTimers','ONLINE','getCurrentUnitForType','APPLY_PERMISSION_DENIED','hasOwnProperty','getAncestorScale','ILocalStorageService','221474EDQrso','RemoteUniscriptService','DeleteRangeMoveUpCommandId','_collabSessionService','RemoveColCommandId','[CollaborationDataLoaderController]','_getAnchorBounding','searchParams','M0\x200H16V16H0z','handleMoveRange','toStringTag','SetWorksheetActivateCommand','YUUMI_AI_RUN_FAILED','switchMap','UNIVER_COLLABORATION_CLIENT_WEB_PLUGIN','2160yDDKRl','univer-flex\x20univer-mr-2\x20univer-text-xl','getCollabEntity$','ICommandService','@univerjs/core','green.600','getRenderById','cursorInfo','getUnhiddenWorksheets','unshift','body','debug','registerRefRange','getColorFromTheme','getValue','transformRemoteChangeset','addEventListener','startColumn','_renderManagerService','Vector2','drawWith','backgroundColor','OTHER_CLIENT_EDITING','textRanges','fillRule','getRangePointData','status$','pipe','collabCursorState$','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','UNIVER_SHEET','USER_NOT_INVITED_CODE','DataLoaderService','Unknown\x20user','saveImage','defIds','_localStorageService','popstate','min','collabStatus.offline','transformStateCache','trim','_transformService','_name','INVITE_CODE_ALREADY_BOUND','split','hide','_setupSubUnitSync','UPDATE_CURSOR','_collaborationUIEventService','redoState','_collabCursorState$','parse','white','bottom','SetSelectionsOperation','_backgroundColor','collabStatus.synced','onTransformChange$','ColorKit','APPLY_REVISION_CONFILICT','icon','_scheduleClearOtherTimer','...','SheetsSelectionsService','249360PjOstX','getOwnPropertySymbols','_range','jiqing.500','ILogService','RevisionService','APPLY_DUPLICATED','params','8458398gzlAuv','_urlService','apply','HTTPService','ThemeService','SHEET_VIEWPORT_KEY','delete','addClipboardHook','_univerInstanceService','isTransformMutationFailure','addObject','@univerjs/docs','UNAUTHENTICATED','subunit','rxjs/operators','getTypeOfUnitAdded$','_anchor','useDependency','BehaviorSubject','sessionStatus$','YUUMI_ASYNCIO_CANCELLED','_id','SNAPSHOT_INVALID_SNAPSHOT','black','_updateCollabCursors','_saveTaskMap','history','_scheduleSaving','2293496qwnCzd','_updateURLWithCurrentState','cursorInfo$','_disabled','_transformHistoryAndStateStack','DocIMEInputManagerService','map','unit','IRenderManagerService','_roomMembers$','transformIMECache','RxDisposable','imageSourceType','LICENSE_IMPORT_SIZE_EXCEEDED','_transformPreviousActiveRange','ITransformService','get','_getScale','call','_status$','origin','handleIRemoveCol','setParam','_hovered','LICENSE_MAX_UNITS_EXCEEDED','MUTATION','getVpScrollXYInfoByPosToVp','InsertColCommandId','getMember','0\x200\x2017\x2016','UNIVER_DOC','_shapes','m1Prime','clearTimeout','getLocalCacheKey','displayName','range','runId','storage','substring','MemberService','getStateCache','indexOf','defs','collab-rect-range-','getFocusedUnit','_hover','color','_getSaveTimeout','symbol','SOCKET_FAILED_RETRY','collab-client.tooltip.reconnect','INVITE_CODE_REQUIRED','ILocalCacheService','getMergeData','yellow.400','setStateCache','@univerjs/sheets-ui','registerDependencies','_lastPointer','_revisionService','top','_cursors','IUniverInstanceService','makeDirty'];_0x1a0f=function(){return _0x3fb627;};return _0x1a0f();}const $t=_0x22b98a(0x16d),Ue={},be=a[_0x22b98a(0x209)](_0x22b98a(0x2ed));var xt=Object['getOwnPropertyDescriptor'],jt=(_0x5ab85,_0x3340e,_0xeaad8,_0x13f4a2)=>{const _0x407878=_0x22b98a;for(var _0x430d83=_0x13f4a2>0x1?void 0x0:_0x13f4a2?xt(_0x3340e,_0xeaad8):_0x3340e,_0x419317=_0x5ab85[_0x407878(0x3b1)]-0x1,_0x4cb6e1;_0x419317>=0x0;_0x419317--)(_0x4cb6e1=_0x5ab85[_0x419317])&&(_0x430d83=_0x4cb6e1(_0x430d83)||_0x430d83);return _0x430d83;},H=(_0x4cb67f,_0x835bd)=>(_0x11b367,_0x360ed4)=>_0x835bd(_0x11b367,_0x360ed4,_0x4cb67f);exports[_0x22b98a(0x382)]=class extends a[_0x22b98a(0x2ab)]{constructor(_0x213d51,_0x50c46f,_0x2cdb27,_0x38381,_0x90a7fa){const _0x21ff10=_0x22b98a;super(),this['_urlService']=_0x213d51,this['_logService']=_0x50c46f,this[_0x21ff10(0x1cb)]=_0x2cdb27,this[_0x21ff10(0x336)]=_0x38381,_0x90a7fa?_0x90a7fa==null||_0x90a7fa['whenReady']()[_0x21ff10(0x3ba)](()=>this[_0x21ff10(0x1a1)]()):(this[_0x21ff10(0x341)][_0x21ff10(0x246)](_0x21ff10(0x231),'No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.'),this[_0x21ff10(0x1a1)]());}async[_0x22b98a(0x1a1)](){const _0x5c6a97=_0x22b98a,_0x14b16b=this[_0x5c6a97(0x285)]['getParam'](_0x5c6a97(0x2a7)),_0x594f45=this[_0x5c6a97(0x285)]['getParam']('type'),_0x2fd320=this[_0x5c6a97(0x285)][_0x5c6a97(0x219)]('subunit');if(!_0x14b16b||!_0x594f45){this[_0x5c6a97(0x341)][_0x5c6a97(0x246)](_0x5c6a97(0x231),_0x5c6a97(0x1aa));return;}const _0x79f29=await this[_0x5c6a97(0x336)]['loadUnit'](_0x14b16b,Number(_0x594f45),_0x2fd320);_0x79f29&&_0x79f29 instanceof a[_0x5c6a97(0x2fa)]&&this[_0x5c6a97(0x26a)](_0x79f29);}async[_0x22b98a(0x26a)](_0x2e281a){const _0x1f4275=_0x22b98a;await this[_0x1f4275(0x15a)](_0x2e281a),_0x2e281a[_0x1f4275(0x310)]['pipe'](d[_0x1f4275(0x2fd)](this[_0x1f4275(0x1e4)]))[_0x1f4275(0x32d)](_0x415883=>{const _0x1368a8=_0x1f4275;_0x415883&&this[_0x1368a8(0x2a1)](_0x415883);}),this[_0x1f4275(0x285)]['urlChange$'][_0x1f4275(0x256)](d[_0x1f4275(0x2fd)](this[_0x1f4275(0x1e4)]))[_0x1f4275(0x32d)](()=>this['_updateSubUnitFromURLParams'](_0x2e281a));}[_0x22b98a(0x2a1)](_0x2687bd,_0x2a344f=!0x1){const _0x459603=_0x22b98a,_0xdec7ea=this[_0x459603(0x285)]['getParam'](_0x459603(0x291));_0x2687bd['getSheetId']()!==_0xdec7ea&&this[_0x459603(0x285)][_0x459603(0x2b6)](_0x459603(0x291),_0x2687bd[_0x459603(0x3ab)](),_0x2a344f);}async[_0x22b98a(0x15a)](_0x58a67f){const _0x4b5797=_0x22b98a;var _0x59ca95;const _0x3e8a5c=this['_urlService'][_0x4b5797(0x219)](_0x4b5797(0x291));if(!_0x3e8a5c||!_0x58a67f['getSheetBySheetId'](_0x3e8a5c)){const _0x2c7b20=_0x58a67f[_0x4b5797(0x243)]()[0x0],_0x464c2c=_0x58a67f[_0x4b5797(0x3a7)](_0x2c7b20);if(!_0x464c2c)return;this[_0x4b5797(0x2a1)](_0x464c2c,!0x0),await this[_0x4b5797(0x1cb)]['executeCommand'](g[_0x4b5797(0x237)]['id'],{'unitId':_0x58a67f[_0x4b5797(0x3bc)](),'subUnitId':_0x2c7b20});return;}((_0x59ca95=_0x58a67f[_0x4b5797(0x306)]())==null?void 0x0:_0x59ca95[_0x4b5797(0x3ab)]())!==_0x3e8a5c&&await this[_0x4b5797(0x1cb)][_0x4b5797(0x1ac)](g['SetWorksheetActivateCommand']['id'],{'unitId':_0x58a67f[_0x4b5797(0x3bc)](),'subUnitId':_0x3e8a5c});}},exports[_0x22b98a(0x382)]=jt([H(0x0,be),H(0x1,a[_0x22b98a(0x280)]),H(0x2,a[_0x22b98a(0x23e)]),H(0x3,a[_0x22b98a(0x1fc)](u[_0x22b98a(0x25b)])),H(0x4,a['Optional'](Ke[_0x22b98a(0x165)]))],exports[_0x22b98a(0x382)]);var Bt=Object[_0x22b98a(0x199)],kt=(_0x44c333,_0x902345,_0x5425ae,_0x1f2c6b)=>{const _0x1ec7a8=_0x22b98a;for(var _0x27a9e5=_0x1f2c6b>0x1?void 0x0:_0x1f2c6b?Bt(_0x902345,_0x5425ae):_0x902345,_0x21887a=_0x44c333[_0x1ec7a8(0x3b1)]-0x1,_0x212e96;_0x21887a>=0x0;_0x21887a--)(_0x212e96=_0x44c333[_0x21887a])&&(_0x27a9e5=_0x212e96(_0x27a9e5)||_0x27a9e5);return _0x27a9e5;},ce=(_0x590b47,_0x2901d5)=>(_0x55312e,_0x284c9b)=>_0x2901d5(_0x55312e,_0x284c9b,_0x590b47);let z=class{constructor(_0x5e46f0,_0x3026f3,_0x5b79ff){const _0x3cd511=_0x22b98a;this['_injector']=_0x5e46f0,this[_0x3cd511(0x265)]=_0x3026f3,this[_0x3cd511(0x24d)]=_0x5b79ff;}[_0x22b98a(0x2aa)](_0x37651d){const _0x4724ed=_0x22b98a;this['_transformUndoRedoStack'](_0x37651d),this[_0x4724ed(0x2ae)](_0x37651d);}[_0x22b98a(0x24a)](_0x53a93f){const _0x16e0ad=_0x22b98a,{unitID:_0x66930f}=_0x53a93f,_0x41c204=this[_0x16e0ad(0x24d)][_0x16e0ad(0x241)](_0x66930f)[_0x16e0ad(0x3d2)](b[_0x16e0ad(0x2a5)]),{redoCache:_0x14abe5}=_0x41c204[_0x16e0ad(0x39b)]();if(_0x14abe5['length']===0x0)return _0x53a93f;let _0x235b60=a['Tools'][_0x16e0ad(0x3a1)](_0x53a93f[_0x16e0ad(0x177)][0x0]);for(let _0x5a5762=0x0;_0x5a5762<_0x14abe5[_0x16e0ad(0x3b1)];_0x5a5762++){const _0x493218={'id':_0x16e0ad(0x179),'params':{..._0x14abe5[_0x5a5762]}},_0x108fb6=this['_transformService'][_0x16e0ad(0x380)](_0x235b60,_0x493218,!0x1);if(m[_0x16e0ad(0x28d)](_0x108fb6))throw _0x108fb6['error'];_0x235b60=_0x108fb6[_0x16e0ad(0x2c0)];}return{...a[_0x16e0ad(0x31a)][_0x16e0ad(0x3a1)](_0x53a93f),'mutations':[_0x235b60]};}[_0x22b98a(0x1f7)](_0x5d8acd){const _0x2a0fe1=_0x22b98a,{unitID:_0x3cebb9}=_0x5d8acd,_0x501074=this['_renderManagerService'][_0x2a0fe1(0x241)](_0x3cebb9)[_0x2a0fe1(0x3d2)](b[_0x2a0fe1(0x2a5)]),{undoCache:_0x237673,redoCache:_0xc2ad5e}=_0x501074['getUndoRedoMutationParamsCache']();if(_0x237673['length']===0x0||_0xc2ad5e[_0x2a0fe1(0x3b1)]===0x0)return;const _0xd38741=[],_0x5685f1=[];let _0x44bd62=a[_0x2a0fe1(0x31a)]['deepClone'](_0x5d8acd[_0x2a0fe1(0x177)][0x0]),_0x248517=a[_0x2a0fe1(0x31a)]['deepClone'](_0x5d8acd[_0x2a0fe1(0x177)][0x0]);for(let _0x2760cc=_0x237673['length']-0x1;_0x2760cc>=0x0;_0x2760cc--){const _0x50bcc4={'id':_0x2a0fe1(0x179),'params':{..._0x237673[_0x2760cc]}},_0x4312ef={'id':_0x2a0fe1(0x179),'params':{..._0xc2ad5e[_0x2760cc]}},_0x35b027=this['_transformService'][_0x2a0fe1(0x380)](_0x44bd62,_0x50bcc4,!0x1),_0x4a7bbf=this[_0x2a0fe1(0x265)][_0x2a0fe1(0x380)](_0x248517,_0x4312ef,!0x1);if(m['isTransformMutationFailure'](_0x35b027))throw _0x35b027['error'];if(m[_0x2a0fe1(0x28d)](_0x4a7bbf))throw _0x4a7bbf[_0x2a0fe1(0x3d3)];_0xd38741[_0x2a0fe1(0x244)](_0x35b027['m2Prime'][_0x2a0fe1(0x283)]),_0x5685f1[_0x2a0fe1(0x244)](_0x4a7bbf[_0x2a0fe1(0x2e1)]['params']),_0x44bd62=_0x35b027['m1Prime'],_0x248517=_0x4a7bbf[_0x2a0fe1(0x2c0)];}_0x501074['setUndoRedoMutationParamsCache']({'undoCache':_0xd38741,'redoCache':_0x5685f1});}[_0x22b98a(0x2ae)](_0x2b6ecb){const _0x1cb7ab=_0x22b98a,{unitID:_0x4b6746}=_0x2b6ecb,_0x101d62=this[_0x1cb7ab(0x24d)][_0x1cb7ab(0x241)](_0x4b6746)[_0x1cb7ab(0x3d2)](b[_0x1cb7ab(0x2a5)]),_0x4d88dd=_0x101d62[_0x1cb7ab(0x1ae)]();if(_0x4d88dd==null)return;const _0x4ce5a9=[{'id':_0x1cb7ab(0x179),'params':{'unitId':_0x2b6ecb[_0x1cb7ab(0x1f3)],'actions':null,'textRanges':[_0x4d88dd]}}],_0x4db915=this[_0x1cb7ab(0x265)][_0x1cb7ab(0x3c8)](_0x2b6ecb,_0x4ce5a9);if(!m[_0x1cb7ab(0x366)](_0x4db915))throw _0x4db915[_0x1cb7ab(0x3d3)];const _0x10fb1b=_0x4db915[_0x1cb7ab(0x2e1)][0x0][_0x1cb7ab(0x283)][_0x1cb7ab(0x252)];Array[_0x1cb7ab(0x33f)](_0x10fb1b)&&_0x10fb1b['length']&&_0x101d62[_0x1cb7ab(0x17e)](_0x10fb1b[0x0]);}};z=kt([ce(0x0,a[_0x22b98a(0x1fc)](a[_0x22b98a(0x3d1)])),ce(0x1,m[_0x22b98a(0x2af)]),ce(0x2,p['IRenderManagerService'])],z);var Ht=Object[_0x22b98a(0x199)],Ft=(_0x288a66,_0x2f8324,_0x1798f3,_0x37b059)=>{for(var _0xc49f76=_0x37b059>0x1?void 0x0:_0x37b059?Ht(_0x2f8324,_0x1798f3):_0x2f8324,_0x45a70b=_0x288a66['length']-0x1,_0x3d7fdc;_0x45a70b>=0x0;_0x45a70b--)(_0x3d7fdc=_0x288a66[_0x45a70b])&&(_0xc49f76=_0x3d7fdc(_0xc49f76)||_0xc49f76);return _0xc49f76;},le=(_0x57570b,_0x50b6e6)=>(_0x1d375c,_0x10757a)=>_0x50b6e6(_0x1d375c,_0x10757a,_0x57570b);let J=class{constructor(_0x2b2aa1,_0xe73a28,_0x3bf5cb){const _0x592345=_0x22b98a;this['_injector']=_0x2b2aa1,this['_transformService']=_0xe73a28,this[_0x592345(0x381)]=_0x3bf5cb;}[_0x22b98a(0x263)](_0x194002){const _0x45b322=_0x22b98a;this[_0x45b322(0x2a4)](_0x194002);}[_0x22b98a(0x24a)](_0xebad5){const _0x4540dc=_0x22b98a,{unitID:_0x39959f}=_0xebad5,{collaboration:_0x49c298}=this[_0x4540dc(0x381)][_0x4540dc(0x2c9)](_0x39959f);if(_0x49c298[_0x4540dc(0x3b1)]===0x0)return _0xebad5;let _0x4790ec=a['Tools'][_0x4540dc(0x3a1)](_0xebad5[_0x4540dc(0x177)][0x0]);for(let _0x14e68e=0x0;_0x14e68e<_0x49c298['length'];_0x14e68e++){const _0x13ab19={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x49c298[_0x14e68e][_0x4540dc(0x392)],..._0x49c298[_0x14e68e]['redoState']}},_0x2a7cd3=this[_0x4540dc(0x265)][_0x4540dc(0x380)](_0x4790ec,_0x13ab19,!0x1);if(m['isTransformMutationFailure'](_0x2a7cd3))throw _0x2a7cd3[_0x4540dc(0x3d3)];_0x4790ec=_0x2a7cd3[_0x4540dc(0x2c0)];}return{...a['Tools']['deepClone'](_0xebad5),'mutations':[_0x4790ec]};}['_transformHistoryAndStateStack'](_0xc7b136){const _0x1cb457=_0x22b98a,{unitID:_0x2f74c2}=_0xc7b136,{history:_0x2f5b4e,collaboration:_0x11eb99}=this[_0x1cb457(0x381)]['getStateCache'](_0x2f74c2);if(_0x2f5b4e['length']===0x0&&_0x11eb99['length']===0x0)return;const _0x464fc0=[],_0x1fda51=[];let _0x316ce9=a[_0x1cb457(0x31a)][_0x1cb457(0x3a1)](_0xc7b136[_0x1cb457(0x177)][0x0]),_0x393f29=a[_0x1cb457(0x31a)][_0x1cb457(0x3a1)](_0xc7b136[_0x1cb457(0x177)][0x0]);for(let _0x180c6e=_0x2f5b4e[_0x1cb457(0x3b1)]-0x1;_0x180c6e>=0x0;_0x180c6e--){const _0x48e8f2={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x2f5b4e[_0x180c6e][_0x1cb457(0x392)],..._0x2f5b4e[_0x180c6e][_0x1cb457(0x3c3)]}},_0x452fe5={'id':_0x1cb457(0x179),'params':{'unitId':_0x2f5b4e[_0x180c6e][_0x1cb457(0x392)],..._0x2f5b4e[_0x180c6e][_0x1cb457(0x26d)]}},_0x4d4abe=this['_transformService'][_0x1cb457(0x380)](_0x316ce9,_0x48e8f2,!0x1),_0x140165=this[_0x1cb457(0x265)][_0x1cb457(0x380)](_0x393f29,_0x452fe5,!0x1);if(m[_0x1cb457(0x28d)](_0x4d4abe))throw _0x4d4abe[_0x1cb457(0x3d3)];if(m[_0x1cb457(0x28d)](_0x140165))throw _0x140165['error'];_0x464fc0[_0x1cb457(0x244)]({..._0x2f5b4e[_0x180c6e],'undoState':_0x4d4abe[_0x1cb457(0x2e1)][_0x1cb457(0x283)],'redoState':_0x140165[_0x1cb457(0x2e1)][_0x1cb457(0x283)]}),_0x316ce9=_0x4d4abe['m1Prime'],_0x393f29=_0x140165[_0x1cb457(0x2c0)];}_0x316ce9=a[_0x1cb457(0x31a)][_0x1cb457(0x3a1)](_0xc7b136[_0x1cb457(0x177)][0x0]),_0x393f29=a['Tools'][_0x1cb457(0x3a1)](_0xc7b136[_0x1cb457(0x177)][0x0]);for(let _0x5b807a=_0x11eb99[_0x1cb457(0x3b1)]-0x1;_0x5b807a>=0x0;_0x5b807a--){const _0xbb4e58={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x11eb99[_0x5b807a][_0x1cb457(0x392)],..._0x11eb99[_0x5b807a][_0x1cb457(0x3c3)]}},_0x1c7671={'id':_0x1cb457(0x179),'params':{'unitId':_0x11eb99[_0x5b807a][_0x1cb457(0x392)],..._0x11eb99[_0x5b807a][_0x1cb457(0x26d)]}},_0x1b4f36=this[_0x1cb457(0x265)][_0x1cb457(0x380)](_0x316ce9,_0xbb4e58,!0x1),_0x2c4bd3=this[_0x1cb457(0x265)][_0x1cb457(0x380)](_0x393f29,_0x1c7671,!0x1);if(m[_0x1cb457(0x28d)](_0x1b4f36))throw _0x1b4f36[_0x1cb457(0x3d3)];if(m[_0x1cb457(0x28d)](_0x2c4bd3))throw _0x2c4bd3[_0x1cb457(0x3d3)];_0x1fda51[_0x1cb457(0x244)]({..._0x11eb99[_0x5b807a],'undoState':_0x1b4f36[_0x1cb457(0x2e1)][_0x1cb457(0x283)],'redoState':_0x2c4bd3[_0x1cb457(0x2e1)][_0x1cb457(0x283)]}),_0x316ce9=_0x1b4f36[_0x1cb457(0x2c0)],_0x393f29=_0x2c4bd3[_0x1cb457(0x2c0)];}this[_0x1cb457(0x381)][_0x1cb457(0x2d8)](_0x2f74c2,{'history':_0x464fc0,'collaboration':_0x1fda51});}};J=Ft([le(0x0,a[_0x22b98a(0x1fc)](a[_0x22b98a(0x3d1)])),le(0x1,m[_0x22b98a(0x2af)]),le(0x2,a[_0x22b98a(0x1fc)](b['DocStateChangeManagerService']))],J);var Yt=Object[_0x22b98a(0x199)],Wt=(_0x1bb2d4,_0xb52f8f,_0x12e711,_0x54a645)=>{const _0x1091fb=_0x22b98a;for(var _0x291c49=_0x54a645>0x1?void 0x0:_0x54a645?Yt(_0xb52f8f,_0x12e711):_0xb52f8f,_0x2f05c1=_0x1bb2d4[_0x1091fb(0x3b1)]-0x1,_0x3f9c26;_0x2f05c1>=0x0;_0x2f05c1--)(_0x3f9c26=_0x1bb2d4[_0x2f05c1])&&(_0x291c49=_0x3f9c26(_0x291c49)||_0x291c49);return _0x291c49;},Ne=(_0x14958c,_0x403745)=>(_0x1262fb,_0x3ac480)=>_0x403745(_0x1262fb,_0x3ac480,_0x14958c);let Z=class{constructor(_0x57e433,_0x409f7d){const _0x5f4854=_0x22b98a;this[_0x5f4854(0x1c4)]=_0x57e433,this[_0x5f4854(0x265)]=_0x409f7d;}[_0x22b98a(0x1f6)](_0x461d6e){const _0xa0b780=_0x22b98a;var _0x157e38;const _0x2a4f2b=this[_0xa0b780(0x1c4)][_0xa0b780(0x2b0)](Y[_0xa0b780(0x1f0)]),_0x54b0e2=(_0x157e38=_0x2a4f2b[_0xa0b780(0x164)]())!=null?_0x157e38:[];if(_0x54b0e2[_0xa0b780(0x3b1)]===0x0)return;const _0x38fe87=_0x461d6e[_0xa0b780(0x1f3)],_0x3a85e3=[{'id':_0xa0b780(0x179),'params':{'unitId':_0x38fe87,'actions':null,'textRanges':_0x54b0e2}}],_0x449531=this['_transformService'][_0xa0b780(0x3c8)](_0x461d6e,_0x3a85e3);if(!m[_0xa0b780(0x366)](_0x449531))throw _0x449531[_0xa0b780(0x3d3)];const _0x494baa=_0x449531['m2Prime'][0x0][_0xa0b780(0x283)][_0xa0b780(0x252)];Array[_0xa0b780(0x33f)](_0x494baa)&&_0x494baa['length']&&_0x2a4f2b['replaceDocRanges'](_0x494baa,{'unitId':_0x38fe87,'subUnitId':_0x38fe87},!0x1);}};Z=Wt([Ne(0x0,a[_0x22b98a(0x1fc)](a[_0x22b98a(0x3d1)])),Ne(0x1,m[_0x22b98a(0x2af)])],Z);var Vt=Object['getOwnPropertyDescriptor'],Xt=(_0x24c5dc,_0x2173d1,_0x72295e,_0x3a2a1d)=>{const _0x519a42=_0x22b98a;for(var _0x4c6b2e=_0x3a2a1d>0x1?void 0x0:_0x3a2a1d?Vt(_0x2173d1,_0x72295e):_0x2173d1,_0x43b9fc=_0x24c5dc[_0x519a42(0x3b1)]-0x1,_0x17a3ef;_0x43b9fc>=0x0;_0x43b9fc--)(_0x17a3ef=_0x24c5dc[_0x43b9fc])&&(_0x4c6b2e=_0x17a3ef(_0x4c6b2e)||_0x4c6b2e);return _0x4c6b2e;},N=(_0x68f0f3,_0x594f9f)=>(_0x39c36e,_0x3dbf4b)=>_0x594f9f(_0x39c36e,_0x3dbf4b,_0x68f0f3);let Q=class extends a[_0x22b98a(0x1ea)]{constructor(_0x86e1e7,_0x46ad63,_0x345a6b,_0x36f745,_0x4a25bc,_0xe8e608,_0x51b1c5,_0x5db346){const _0x3a7aec=_0x22b98a;super(),h(this,_0x3a7aec(0x2b3),new d[(_0x3a7aec(0x296))](u[_0x3a7aec(0x1d3)]['NOT_COLLAB'])),(this['_docStateChangeManagerService']=_0x86e1e7,this['_collaborationController']=_0x46ad63,this[_0x3a7aec(0x15b)]=_0x345a6b,this[_0x3a7aec(0x35c)]=_0x36f745,this[_0x3a7aec(0x17b)]=_0x4a25bc,this[_0x3a7aec(0x19e)]=_0xe8e608,this['_messageService']=_0x51b1c5,this[_0x3a7aec(0x158)]=_0x5db346,this[_0x3a7aec(0x3a2)]());}[_0x22b98a(0x3a2)](){const _0x2189b3=_0x22b98a;this[_0x2189b3(0x3bd)](this['_collaborationController'][_0x2189b3(0x216)]['subscribe'](_0x14b058=>{const _0x466dfd=_0x2189b3,_0x286c93=this['_docStateChangeManagerService'][_0x466dfd(0x368)][_0x466dfd(0x32d)](_0x204b52=>{const _0x1c1170=_0x466dfd;if(_0x204b52==null)return;const {unitId:_0x47e79b,redoState:_0xb5b71a,commandId:_0x4adb38}=_0x204b52;if(_0x47e79b!==_0x14b058[_0x1c1170(0x1f3)])return;const _0x178fe6={'id':_0x4adb38,'type':a[_0x1c1170(0x170)][_0x1c1170(0x2b9)],'params':{'unitId':_0x47e79b,'actions':_0xb5b71a[_0x1c1170(0x1a9)],'textRanges':null}};_0x14b058[_0x1c1170(0x37c)](_0x178fe6);});if(_0x14b058[_0x466dfd(0x3bd)](_0x286c93),_0x14b058 instanceof u[_0x466dfd(0x1d0)]){const _0x514d65={'onTransformIME':_0x164438=>this['_docTransformIMECacheService']['transformIMECache'](_0x164438),'onTransformState':_0xa95720=>this[_0x466dfd(0x35c)][_0x466dfd(0x263)](_0xa95720),'onTransformSelections':_0x24dd27=>this[_0x466dfd(0x17b)][_0x466dfd(0x1f6)](_0x24dd27),'onSyncEditingCollabCursor':_0x52a0b1=>this[_0x466dfd(0x19e)][_0x466dfd(0x1fb)](_0x52a0b1),'onTransformRemoteChangesetByIMECache':_0x3ac1d4=>this['_docTransformIMECacheService'][_0x466dfd(0x24a)](_0x3ac1d4),'onTransformRemoteChangesetByStateCache':_0x45b54d=>this['_docTransformStateCacheService'][_0x466dfd(0x24a)](_0x45b54d)};_0x14b058[_0x466dfd(0x303)](_0x514d65);}}));}};Q=Xt([N(0x0,a[_0x22b98a(0x1fc)](b['DocStateChangeManagerService'])),N(0x1,a['Inject'](u[_0x22b98a(0x315)])),N(0x2,a[_0x22b98a(0x1fc)](z)),N(0x3,a[_0x22b98a(0x1fc)](J)),N(0x4,a[_0x22b98a(0x1fc)](Z)),N(0x5,a[_0x22b98a(0x1fc)](Ce)),N(0x6,T[_0x22b98a(0x2f2)]),N(0x7,a[_0x22b98a(0x1fc)](a[_0x22b98a(0x367)]))],Q);var Gt=Object['getOwnPropertyDescriptor'],Kt=(_0x14b32c,_0x512be3,_0x30acdb,_0x461c34)=>{for(var _0x4c3800=_0x461c34>0x1?void 0x0:_0x461c34?Gt(_0x512be3,_0x30acdb):_0x512be3,_0x4deb94=_0x14b32c['length']-0x1,_0x3bfe35;_0x4deb94>=0x0;_0x4deb94--)(_0x3bfe35=_0x14b32c[_0x4deb94])&&(_0x4c3800=_0x3bfe35(_0x4c3800)||_0x4c3800);return _0x4c3800;},_e=(_0x1ba5a0,_0x5f428f)=>(_0x14caee,_0x2d24ae)=>_0x5f428f(_0x14caee,_0x2d24ae,_0x1ba5a0);let ge=class extends a[_0x22b98a(0x1ea)]{constructor(_0x5996a3,_0x2ff2ba,_0x18de4d){const _0x113aec=_0x22b98a;super(),h(this,'_cachedData',new Map()),h(this,_0x113aec(0x29d),new Map()),h(this,_0x113aec(0x2a3),!0x1),(this['_configService']=_0x5996a3,this[_0x113aec(0x25f)]=_0x2ff2ba,this['_revisionService']=_0x18de4d);}[_0x22b98a(0x166)](){const _0x5f0345=_0x22b98a;this[_0x5f0345(0x2a3)]=!0x0;}[_0x22b98a(0x21e)](){this['_disabled']=!0x1;}get[_0x22b98a(0x163)](){const _0x8a8b16=_0x22b98a;return this[_0x8a8b16(0x29d)];}[_0x22b98a(0x14a)](){const _0x47b6f9=_0x22b98a;this[_0x47b6f9(0x328)]()[_0x47b6f9(0x3ba)](()=>super[_0x47b6f9(0x14a)]());}async[_0x22b98a(0x352)](_0x5792ab){const _0x52e60f=_0x22b98a;return this[_0x52e60f(0x2a3)]?null:this[_0x52e60f(0x25f)]['getItem'](u[_0x52e60f(0x2c2)](_0x5792ab));}async[_0x22b98a(0x387)](_0x354b65,_0x3cc931){const _0x55a2ba=_0x22b98a;return!!this['_localStorageService'][_0x55a2ba(0x34d)](_0x354b65,_0x3cc931);}[_0x22b98a(0x2ee)](_0x44d5b4,_0x5af1b0,_0x131b5d,_0x4b47d7){const _0x1ac1ee=_0x22b98a,_0x2c1fdd=this[_0x1ac1ee(0x2dc)][_0x1ac1ee(0x3b2)](_0x44d5b4);this[_0x1ac1ee(0x359)][_0x1ac1ee(0x1f2)](_0x44d5b4,{'unitID':_0x44d5b4,'type':_0x5af1b0,'awaitingChangeset':_0x131b5d,'mutations':_0x4b47d7,'rev':_0x2c1fdd}),this[_0x1ac1ee(0x29d)][_0x1ac1ee(0x32b)](_0x44d5b4)||this[_0x1ac1ee(0x29f)](_0x44d5b4);}[_0x22b98a(0x29f)](_0x3e9dc5){const _0x2a61ff=_0x22b98a,_0x2afad1=this[_0x2a61ff(0x2d0)]();_0x2afad1===0x0?this[_0x2a61ff(0x320)](_0x3e9dc5):this[_0x2a61ff(0x29d)][_0x2a61ff(0x1f2)](_0x3e9dc5,setTimeout(()=>this[_0x2a61ff(0x320)](_0x3e9dc5),_0x2afad1));}['_getSaveTimeout'](){const _0x1b4aaa=_0x22b98a;var _0x51e009;return(_0x51e009=this[_0x1b4aaa(0x353)][_0x1b4aaa(0x393)](u[_0x1b4aaa(0x1f5)]))!=null?_0x51e009:u[_0x1b4aaa(0x372)];}[_0x22b98a(0x320)](_0x1cbfc8){const _0x33c0d7=_0x22b98a,_0x44cc5b=this[_0x33c0d7(0x29d)]['get'](_0x1cbfc8);return _0x44cc5b!==void 0x0&&window[_0x33c0d7(0x2c1)](_0x44cc5b),this[_0x33c0d7(0x25f)][_0x33c0d7(0x34d)](u[_0x33c0d7(0x2c2)](_0x1cbfc8),this[_0x33c0d7(0x359)][_0x33c0d7(0x2b0)](_0x1cbfc8))[_0x33c0d7(0x3ba)](()=>this[_0x33c0d7(0x29d)][_0x33c0d7(0x28a)](_0x1cbfc8));}async[_0x22b98a(0x328)](){const _0x6a7930=_0x22b98a,_0x317fd2=[];this[_0x6a7930(0x29d)][_0x6a7930(0x19b)]((_0x149c41,_0x3699b5)=>{const _0x13a535=_0x6a7930;window['clearTimeout'](_0x149c41),_0x317fd2['push'](this[_0x13a535(0x320)](_0x3699b5)[_0x13a535(0x3ba)](()=>{const _0x34e48a=_0x13a535;this['_saveTaskMap'][_0x34e48a(0x28a)](_0x3699b5);}));}),await Promise[_0x6a7930(0x161)](_0x317fd2);}};ge=Kt([_e(0x0,a[_0x22b98a(0x21d)]),_e(0x1,a[_0x22b98a(0x22b)]),_e(0x2,a['Inject'](m[_0x22b98a(0x281)]))],ge);class je extends a['RxDisposable']{constructor(){const _0x5ff714=_0x22b98a;super(),h(this,'urlChange$'),this[_0x5ff714(0x325)]=d[_0x5ff714(0x224)](window,_0x5ff714(0x260))['pipe'](d[_0x5ff714(0x2fd)](this[_0x5ff714(0x1e4)]),d[_0x5ff714(0x1e8)](0x1),d['mapTo'](void 0x0));}[_0x22b98a(0x2b6)](_0x123fd6,_0x5f41d2,_0x216a45=!0x1){const _0x5b5c41=_0x22b98a,_0x5679a7=new URL(window['location'][_0x5b5c41(0x20a)]);_0x5679a7[_0x5b5c41(0x233)][_0x5b5c41(0x1f2)](_0x123fd6,_0x5f41d2),_0x216a45?window[_0x5b5c41(0x29e)]['replaceState']('','',_0x5679a7[_0x5b5c41(0x30c)]()):window['history'][_0x5b5c41(0x18b)]('','',_0x5679a7['toString']());}[_0x22b98a(0x338)](_0x34f722,_0x495d64=!0x1){const _0xeb54c0=_0x22b98a,_0x40adba=new URL(window[_0xeb54c0(0x3ac)]['href']);_0x40adba[_0xeb54c0(0x233)][_0xeb54c0(0x28a)](_0x34f722),_0x495d64?window[_0xeb54c0(0x29e)][_0xeb54c0(0x3cf)]('','',_0x40adba[_0xeb54c0(0x30c)]()):window['history'][_0xeb54c0(0x18b)]('','',_0x40adba['toString']());}[_0x22b98a(0x219)](_0x14853b){const _0x4bd0ff=_0x22b98a;var _0xf16b3b;return(_0xf16b3b=new URL(window[_0x4bd0ff(0x3ac)][_0x4bd0ff(0x20a)])[_0x4bd0ff(0x233)][_0x4bd0ff(0x2b0)](_0x14853b))!=null?_0xf16b3b:void 0x0;}}var qt=Object['defineProperty'],zt=Object[_0x22b98a(0x199)],Jt=(_0x4fcbd8,_0x1e7e64,_0x59bcb9)=>_0x1e7e64 in _0x4fcbd8?qt(_0x4fcbd8,_0x1e7e64,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x59bcb9}):_0x4fcbd8[_0x1e7e64]=_0x59bcb9,Zt=(_0x21e747,_0x1dc49a,_0x1f0ec6,_0x597446)=>{for(var _0x2ce50f=_0x597446>0x1?void 0x0:_0x597446?zt(_0x1dc49a,_0x1f0ec6):_0x1dc49a,_0x15fc24=_0x21e747['length']-0x1,_0x122cda;_0x15fc24>=0x0;_0x15fc24--)(_0x122cda=_0x21e747[_0x15fc24])&&(_0x2ce50f=_0x122cda(_0x2ce50f)||_0x2ce50f);return _0x2ce50f;},he=(_0x1d4c38,_0x313df7)=>(_0x56f00e,_0x3d5907)=>_0x313df7(_0x56f00e,_0x3d5907,_0x1d4c38),Qt=(_0x147057,_0x35d0ef,_0x2683e2)=>Jt(_0x147057,_0x35d0ef+'',_0x2683e2);const es=_0x22b98a(0x23a);exports[_0x22b98a(0x1d4)]=class extends a['Plugin']{constructor(_0x1ac5c9=Ue,_0x1df9e9,_0x2525a0,_0x37935d){const _0x591ca1=_0x22b98a;super(),this[_0x591ca1(0x36b)]=_0x1ac5c9,this[_0x591ca1(0x24d)]=_0x1df9e9,this['_injector']=_0x2525a0,this[_0x591ca1(0x353)]=_0x37935d;const {..._0xbf4a07}=a[_0x591ca1(0x1eb)]({},Ue,this[_0x591ca1(0x36b)]);this['_configService']['setConfig']($t,_0xbf4a07);}[_0x22b98a(0x183)](){this['_registerDependencies'](),this['_initDependencies']();}[_0x22b98a(0x375)](){const _0xf92fa7=_0x22b98a;this[_0xf92fa7(0x20f)]();}[_0x22b98a(0x1b0)](){const _0x53a474=_0x22b98a;var _0x1e1de1;const _0xfdc107=[[me],[Z],[z],[J],[Ce],[be,{'useClass':je}],[G['ISocketService'],{'useClass':G[_0x53a474(0x1ee)]}],[u['ILocalCacheService'],{'useClass':ge}],[exports[_0x53a474(0x355)]],[Q],[q],[x],[de],[exports['CollaborationDataLoaderController']]];a[_0x53a474(0x2da)](this[_0x53a474(0x1c4)],a['mergeOverrideWithDependencies'](_0xfdc107,(_0x1e1de1=this['_config'])==null?void 0x0:_0x1e1de1[_0x53a474(0x36f)]));}[_0x22b98a(0x20f)](){const _0x2186c0=_0x22b98a;this[_0x2186c0(0x3bd)](this[_0x2186c0(0x24d)][_0x2186c0(0x193)](a[_0x2186c0(0x19c)][_0x2186c0(0x2be)],[Ie])),this[_0x2186c0(0x3bd)](this[_0x2186c0(0x24d)][_0x2186c0(0x193)](a['UniverInstanceType'][_0x2186c0(0x259)],[ve]));}['_initDependencies'](){const _0x5e7dd5=_0x22b98a;a['touchDependencies'](this[_0x5e7dd5(0x1c4)],[[x],[exports[_0x5e7dd5(0x355)]],[Q],[q],[exports[_0x5e7dd5(0x382)]]]);}},Qt(exports[_0x22b98a(0x1d4)],'pluginName',es),exports[_0x22b98a(0x1d4)]=Zt([a[_0x22b98a(0x1d8)](u['UniverCollaborationClientPlugin']),he(0x1,p[_0x22b98a(0x2a8)]),he(0x2,a[_0x22b98a(0x1fc)](a[_0x22b98a(0x3d1)])),he(0x3,a[_0x22b98a(0x21d)])],exports[_0x22b98a(0x1d4)]);var ts=Object[_0x22b98a(0x199)],ss=(_0xed0d3d,_0x5273e6,_0x2783e7,_0x105879)=>{const _0x46a438=_0x22b98a;for(var _0x3c5af0=_0x105879>0x1?void 0x0:_0x105879?ts(_0x5273e6,_0x2783e7):_0x5273e6,_0x2b9344=_0xed0d3d[_0x46a438(0x3b1)]-0x1,_0x32ce35;_0x2b9344>=0x0;_0x2b9344--)(_0x32ce35=_0xed0d3d[_0x2b9344])&&(_0x3c5af0=_0x32ce35(_0x3c5af0)||_0x3c5af0);return _0x3c5af0;},F=(_0x5a660b,_0x2f927e)=>(_0x353f2c,_0x4ec5d9)=>_0x2f927e(_0x353f2c,_0x4ec5d9,_0x5a660b);exports[_0x22b98a(0x16b)]=class extends u[_0x22b98a(0x191)]{constructor(_0x26c924,_0x3437a3,_0x38ff21,_0x50ee81,_0xf0bb5e){super(_0x26c924,_0x3437a3,_0x38ff21,_0x50ee81,_0xf0bb5e);}async[_0x22b98a(0x38e)](_0x21db65){const _0x5199e0=_0x22b98a,_0x5c45f7=await this['_getSessionTicket'](),_0x4d3b1f=this[_0x5199e0(0x187)](_0x21db65,_0x5c45f7);return this[_0x5199e0(0x160)](_0x4d3b1f);}[_0x22b98a(0x187)](_0x3c93e2,_0x1bb791){const _0x4374c7=_0x22b98a,_0x1ac9d5=typeof window>'u'?new URL(_0x3c93e2):new URL(_0x3c93e2,window[_0x4374c7(0x3ac)][_0x4374c7(0x2b4)]);_0x1ac9d5[_0x4374c7(0x233)][_0x4374c7(0x1f2)](_0x4374c7(0x156),_0x1bb791);const _0x3cfa1f=typeof window>'u'?new URLSearchParams():new URLSearchParams(window['location']['search']);return _0x3cfa1f[_0x4374c7(0x2b0)]('runId')&&_0x1ac9d5[_0x4374c7(0x233)][_0x4374c7(0x1f2)]('runId',_0x3cfa1f[_0x4374c7(0x2b0)](_0x4374c7(0x2c5))),_0x1ac9d5['toString']();}async[_0x22b98a(0x33e)](){const _0x3d3cd1=_0x22b98a;var _0x15c702,_0x43e244,_0x4fa486;const _0x19772c=this[_0x3d3cd1(0x353)][_0x3d3cd1(0x393)](u['COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY']),_0x1ca71e=(_0x15c702=_0x19772c==null?void 0x0:_0x19772c[_0x3d3cd1(0x14c)])!=null?_0x15c702:u['DEFAULT_WS_SESSION_TICKET_URL'];return(_0x4fa486=(_0x43e244=(await this[_0x3d3cd1(0x356)][_0x3d3cd1(0x2b0)](_0x1ca71e,{'headers':{'Content-Type':_0x3d3cd1(0x3c1)}}))[_0x3d3cd1(0x245)])==null?void 0x0:_0x43e244['ticket'])!=null?_0x4fa486:'';}},exports['BrowserCollaborationSocketService']=ss([F(0x0,a[_0x22b98a(0x1fc)](a[_0x22b98a(0x3d1)])),F(0x1,a[_0x22b98a(0x1fc)](G[_0x22b98a(0x287)])),F(0x2,a[_0x22b98a(0x21d)]),F(0x3,a[_0x22b98a(0x280)]),F(0x4,m[_0x22b98a(0x2fe)])],exports[_0x22b98a(0x16b)]);const Me=0x7530,Le=_0x22b98a(0x30e);class is extends a['Disposable']{constructor(){const _0x43a311=_0x22b98a;super(),h(this,_0x43a311(0x299),a[_0x43a311(0x218)]()),h(this,_0x43a311(0x370),new Set()),h(this,_0x43a311(0x1d9),new Map()),h(this,'_heartbeatTimer',null),h(this,_0x43a311(0x225),new Map()),h(this,_0x43a311(0x222),new Map()),this['_init']();}['dispose'](){const _0x1d4c98=_0x22b98a;super['dispose'](),this['_clearOtherTimers'][_0x1d4c98(0x19b)]((_0x2b91f8,_0x833b5a)=>this[_0x1d4c98(0x1ef)](_0x833b5a)),this[_0x1d4c98(0x198)]&&window[_0x1d4c98(0x1b9)](this[_0x1d4c98(0x198)]);}[_0x22b98a(0x319)](_0x444f5d){const _0x421978=_0x22b98a;return this[_0x421978(0x30b)](_0x444f5d)[_0x421978(0x256)](d['distinctUntilChanged']());}[_0x22b98a(0x223)](_0x3aa69d){const _0x100feb=_0x22b98a;this[_0x100feb(0x370)]['size']===0x0&&this[_0x100feb(0x213)](),this[_0x100feb(0x370)][_0x100feb(0x1b8)](_0x3aa69d),this[_0x100feb(0x14d)]({'type':0x0,'memberID':this['_id'],'unitIDs':[_0x3aa69d],'isForwarded':!0x1});}[_0x22b98a(0x347)](_0x577062){const _0x5ec3de=_0x22b98a;this['_selfUnitIDs'][_0x5ec3de(0x28a)](_0x577062),this[_0x5ec3de(0x370)][_0x5ec3de(0x1d5)]===0x0&&this['_heartbeatTimer']&&window[_0x5ec3de(0x1b9)](this['_heartbeatTimer']);}[_0x22b98a(0x1a1)](){const _0x4a6fd8=_0x22b98a;this[_0x4a6fd8(0x3bd)](a[_0x4a6fd8(0x1f8)](d[_0x4a6fd8(0x224)](window,_0x4a6fd8(0x2c6))[_0x4a6fd8(0x32d)](_0x40c3e5=>{const _0xce4d17=_0x4a6fd8;if(_0x40c3e5['key']!==Le||!_0x40c3e5[_0xce4d17(0x1e5)])return;const _0x2e0b95=JSON[_0xce4d17(0x26f)](_0x40c3e5[_0xce4d17(0x1e5)]);this[_0xce4d17(0x34c)](_0x2e0b95);}))),window[_0x4a6fd8(0x24b)](_0x4a6fd8(0x1a6),()=>this[_0x4a6fd8(0x14d)]({'type':0x1,'memberID':this['_id'],'unitIDs':Array[_0x4a6fd8(0x394)](this[_0x4a6fd8(0x370)])}));}[_0x22b98a(0x34c)](_0x18b5a0){const _0x2077ce=_0x22b98a;switch(_0x18b5a0[_0x2077ce(0x200)]){case 0x0:this['_handleJoinEvent'](_0x18b5a0);break;case 0x1:this[_0x2077ce(0x339)](_0x18b5a0);break;case 0x2:this[_0x2077ce(0x35e)](_0x18b5a0);break;}}['_handleJoinEvent'](_0x5114bb){const _0x2ef847=_0x22b98a,{unitIDs:_0x3ef13c,memberID:_0x301af5,isForwarded:_0x27ace3}=_0x5114bb;_0x3ef13c[_0x2ef847(0x19b)](_0x2d5e95=>{const _0x4e0e26=_0x2ef847;if(!_0x27ace3&&this[_0x4e0e26(0x1d9)][_0x4e0e26(0x32b)](_0x2d5e95)&&this[_0x4e0e26(0x30b)](_0x2d5e95)[_0x4e0e26(0x3c9)](u[_0x4e0e26(0x2ea)][_0x4e0e26(0x1b5)]),!this['_unitOnClients'][_0x4e0e26(0x32b)](_0x2d5e95)||!this[_0x4e0e26(0x1d9)][_0x4e0e26(0x2b0)](_0x2d5e95)[_0x4e0e26(0x32b)](_0x301af5)){const _0x17c707=this['_unitOnClients']['get'](_0x2d5e95)||new Set();_0x17c707[_0x4e0e26(0x1b8)](_0x301af5),this[_0x4e0e26(0x1d9)][_0x4e0e26(0x1f2)](_0x2d5e95,_0x17c707),this[_0x4e0e26(0x279)](_0x301af5);}}),_0x27ace3||this['_send']({'type':0x0,'memberID':this[_0x2ef847(0x299)],'unitIDs':[...this[_0x2ef847(0x370)]],'isForwarded':!0x0});}[_0x22b98a(0x279)](_0x3c63d9){const _0x1232f5=_0x22b98a;this[_0x1232f5(0x1ef)](_0x3c63d9);const _0x500df0=window[_0x1232f5(0x3a9)](()=>{const _0x53ad77=_0x1232f5;this['_unitOnClients'][_0x53ad77(0x19b)](_0x22e73e=>{const _0x1c48db=_0x53ad77;_0x22e73e[_0x1c48db(0x28a)](_0x3c63d9);});},Me*0x2);this['_clearOtherTimers'][_0x1232f5(0x1f2)](_0x3c63d9,_0x500df0);}[_0x22b98a(0x1ef)](_0x2e84da){const _0x1040f9=_0x22b98a;if(this[_0x1040f9(0x225)][_0x1040f9(0x32b)](_0x2e84da)){const _0x3c8fc4=this['_clearOtherTimers'][_0x1040f9(0x2b0)](_0x2e84da);_0x3c8fc4&&window[_0x1040f9(0x2c1)](_0x3c8fc4),this['_clearOtherTimers'][_0x1040f9(0x1f2)](_0x2e84da,null);}}[_0x22b98a(0x339)](_0x4ac35f){const _0x5530cc=_0x22b98a,{memberID:_0x50f657,unitIDs:_0x3dc916}=_0x4ac35f;_0x3dc916['forEach'](_0x576ee4=>{const _0x2896d8=_0x202d;var _0x526a0b;const _0x563f58=this[_0x2896d8(0x1d9)][_0x2896d8(0x2b0)](_0x576ee4);_0x563f58&&(_0x563f58[_0x2896d8(0x28a)](_0x50f657),(_0x526a0b=this[_0x2896d8(0x30b)](_0x576ee4))==null||_0x526a0b[_0x2896d8(0x3c9)](_0x563f58[_0x2896d8(0x1d5)]===0x0?u[_0x2896d8(0x2ea)]['NO_OTHER_CLIENTS_EDITING']:u['UnitStatus']['OTHER_CLIENTS_EDITING']));}),this[_0x5530cc(0x1ef)](_0x50f657);}[_0x22b98a(0x35e)](_0x18e4a3){const _0x3f2e14=_0x22b98a;this[_0x3f2e14(0x279)](_0x18e4a3[_0x3f2e14(0x3b3)]);}['_send'](_0x1cfe5b){const _0x2b1511=_0x22b98a;localStorage[_0x2b1511(0x34d)](Le,JSON[_0x2b1511(0x2f0)](_0x1cfe5b));}[_0x22b98a(0x213)](){const _0x49e7c4=_0x22b98a;this['_heartbeatTimer']=window[_0x49e7c4(0x1df)](()=>{const _0x29faa8=_0x49e7c4;this['_send']({'type':0x2,'memberID':this[_0x29faa8(0x299)]});},Me);}[_0x22b98a(0x30b)](_0x176493){const _0x3fedea=_0x22b98a;return this[_0x3fedea(0x222)]['has'](_0x176493)||this[_0x3fedea(0x222)]['set'](_0x176493,new d[(_0x3fedea(0x296))](u['UnitStatus'][_0x3fedea(0x3aa)])),this['_unitStatus'][_0x3fedea(0x2b0)](_0x176493);}}var Be=(_0x57b187=>(_0x57b187[_0x57b187[_0x22b98a(0x311)]=0x0]=_0x22b98a(0x311),_0x57b187[_0x57b187['OK']=0x1]='OK',_0x57b187[_0x57b187['INTERNAL_ERROR']=0x2]=_0x22b98a(0x343),_0x57b187[_0x57b187['PERMISSION_DENIED']=0x3]=_0x22b98a(0x18f),_0x57b187[_0x57b187[_0x22b98a(0x203)]=0x4]=_0x22b98a(0x203),_0x57b187[_0x57b187[_0x22b98a(0x290)]=0x5]=_0x22b98a(0x290),_0x57b187[_0x57b187[_0x22b98a(0x208)]=0x6]='ALREADY_EXISTS',_0x57b187[_0x57b187[_0x22b98a(0x30f)]=0x7]='INVALID_ARGUMENT',_0x57b187[_0x57b187[_0x22b98a(0x369)]=0x8]='TOO_MANY_REQUESTS',_0x57b187[_0x57b187[_0x22b98a(0x34b)]=0x9]=_0x22b98a(0x34b),_0x57b187[_0x57b187[_0x22b98a(0x1d1)]=0xa]=_0x22b98a(0x1d1),_0x57b187[_0x57b187[_0x22b98a(0x323)]=0x1389]=_0x22b98a(0x323),_0x57b187[_0x57b187[_0x22b98a(0x29a)]=0x1771]=_0x22b98a(0x29a),_0x57b187[_0x57b187[_0x22b98a(0x1ce)]=0x1772]=_0x22b98a(0x1ce),_0x57b187[_0x57b187[_0x22b98a(0x3ad)]=0x1773]=_0x22b98a(0x3ad),_0x57b187[_0x57b187['APPLY_REJECT']=0x1b59]=_0x22b98a(0x33a),_0x57b187[_0x57b187[_0x22b98a(0x19a)]=0x1b5a]=_0x22b98a(0x19a),_0x57b187[_0x57b187[_0x22b98a(0x277)]=0x1b5b]='APPLY_REVISION_CONFILICT',_0x57b187[_0x57b187['APPLY_PERMISSION_DENIED']=0x1b5c]=_0x22b98a(0x228),_0x57b187[_0x57b187[_0x22b98a(0x282)]=0x1b5d]=_0x22b98a(0x282),_0x57b187[_0x57b187[_0x22b98a(0x21f)]=0x1f41]=_0x22b98a(0x21f),_0x57b187[_0x57b187['LICENSE_MAX_UNITS_EXCEEDED']=0x2329]=_0x22b98a(0x2b8),_0x57b187[_0x57b187[_0x22b98a(0x38f)]=0x232a]='LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED',_0x57b187[_0x57b187[_0x22b98a(0x2ad)]=0x232b]='LICENSE_IMPORT_SIZE_EXCEEDED',_0x57b187[_0x57b187['LICENSE_EXPORT_SIZE_EXCEEDED']=0x232c]=_0x22b98a(0x397),_0x57b187[_0x57b187[_0x22b98a(0x363)]=0x232d]=_0x22b98a(0x363),_0x57b187[_0x57b187['YUUMI_UNABLE_LOAD_URL']=0x2711]=_0x22b98a(0x364),_0x57b187[_0x57b187[_0x22b98a(0x35b)]=0x2712]=_0x22b98a(0x35b),_0x57b187[_0x57b187[_0x22b98a(0x313)]=0x2713]=_0x22b98a(0x313),_0x57b187[_0x57b187[_0x22b98a(0x345)]=0x2714]=_0x22b98a(0x345),_0x57b187[_0x57b187[_0x22b98a(0x335)]=0x271a]=_0x22b98a(0x335),_0x57b187[_0x57b187[_0x22b98a(0x298)]=0x271b]=_0x22b98a(0x298),_0x57b187[_0x57b187[_0x22b98a(0x1d6)]=0x271c]=_0x22b98a(0x1d6),_0x57b187[_0x57b187[_0x22b98a(0x2e8)]=0x271d]=_0x22b98a(0x2e8),_0x57b187[_0x57b187[_0x22b98a(0x326)]=0x271e]='YUUMI_PROMPT_MAX_TOKENS_EXCEEDED',_0x57b187[_0x57b187[_0x22b98a(0x238)]=0x271f]=_0x22b98a(0x238),_0x57b187[_0x57b187['PY_RUNTIME_SCRIPT_ERROR']=0x2af9]=_0x22b98a(0x344),_0x57b187[_0x57b187[_0x22b98a(0x3d0)]=0x2ee1]=_0x22b98a(0x3d0),_0x57b187[_0x57b187[_0x22b98a(0x2eb)]=0x2ee2]=_0x22b98a(0x2eb),_0x57b187[_0x57b187[_0x22b98a(0x2d4)]=0x2ee3]='INVITE_CODE_REQUIRED',_0x57b187[_0x57b187['USER_NOT_INVITED_CODE']=0x2ee4]=_0x22b98a(0x25a),_0x57b187[_0x57b187[_0x22b98a(0x267)]=0x2ee5]=_0x22b98a(0x267),_0x57b187[_0x57b187['WECHAT_HAS_BEEN_BOUND']=0x32c9]='WECHAT_HAS_BEEN_BOUND',_0x57b187[_0x57b187[_0x22b98a(0x1c1)]=0x32ca]='MOBILE_HAS_BEEN_BOUND',_0x57b187[_0x57b187['EMAIL_HAS_BEEN_BOUND']=0x32cb]=_0x22b98a(0x154),_0x57b187[_0x57b187[_0x22b98a(0x3ce)]=-0x1]='UNRECOGNIZED',_0x57b187))(Be||{}),ns=Object[_0x22b98a(0x199)],rs=(_0x2ffd95,_0xf618e7,_0x20324b,_0x2543e6)=>{const _0x431a57=_0x22b98a;for(var _0x1d9765=_0x2543e6>0x1?void 0x0:_0x2543e6?ns(_0xf618e7,_0x20324b):_0xf618e7,_0x17d88a=_0x2ffd95[_0x431a57(0x3b1)]-0x1,_0x339a78;_0x17d88a>=0x0;_0x17d88a--)(_0x339a78=_0x2ffd95[_0x17d88a])&&(_0x1d9765=_0x339a78(_0x1d9765)||_0x1d9765);return _0x1d9765;},ue=(_0x4695aa,_0x2e7a8b)=>(_0x57ef6c,_0x2490e8)=>_0x2e7a8b(_0x57ef6c,_0x2490e8,_0x4695aa);exports[_0x22b98a(0x22d)]=class extends a[_0x22b98a(0x1ea)]{constructor(_0x39ee67,_0x3c094b,_0x1a4eec){super(),this['_instanceService']=_0x39ee67,this['_httpService']=_0x3c094b,this['_configService']=_0x1a4eec;}async[_0x22b98a(0x2f3)](_0x585e6d,_0x27bf3f,_0x9e9fbe,..._0x439746){const _0x5bfcf5=_0x22b98a;var _0x22d65c,_0x35abc9,_0x40ee9c,_0x4476ff;const _0x49432d=this[_0x5bfcf5(0x16e)][_0x5bfcf5(0x2cd)]();if(!_0x49432d)throw new Error('[RemoteUniscriptService]:\x20no\x20focused\x20unit');const _0x165b98=((_0x22d65c=this['_configService'][_0x5bfcf5(0x393)](u['REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY']))!=null?_0x22d65c:u[_0x5bfcf5(0x314)])+'/'+_0x585e6d+'/run/'+_0x27bf3f,_0x589e0c=new URL(window[_0x5bfcf5(0x3ac)][_0x5bfcf5(0x20a)]),_0x34c8a0={'scriptId':_0x585e6d,'runId':(_0x35abc9=_0x589e0c[_0x5bfcf5(0x233)][_0x5bfcf5(0x2b0)](_0x5bfcf5(0x2c5)))!=null?_0x35abc9:'','function':_0x27bf3f,'unitId':_0x49432d[_0x5bfcf5(0x3bc)](),'argsOfFunction':JSON[_0x5bfcf5(0x2f0)](_0x439746),'invokeId':(_0x40ee9c=_0x9e9fbe[_0x5bfcf5(0x36d)])!=null?_0x40ee9c:'','executionId':(_0x4476ff=_0x9e9fbe[_0x5bfcf5(0x34f)])!=null?_0x4476ff:''};try{const _0x5c703f=await this[_0x5bfcf5(0x356)]['post'](_0x165b98,{'body':_0x34c8a0});return _0x5c703f[_0x5bfcf5(0x245)]['error']&&_0x5c703f['body'][_0x5bfcf5(0x3d3)][_0x5bfcf5(0x35d)]!==Be['OK']?_0x5bfcf5(0x33d):_0x5c703f[_0x5bfcf5(0x245)][_0x5bfcf5(0x3c0)];}catch{return _0x5bfcf5(0x33d);}}},exports['RemoteUniscriptService']=rs([ue(0x0,a['IUniverInstanceService']),ue(0x1,a[_0x22b98a(0x1fc)](G[_0x22b98a(0x287)])),ue(0x2,a[_0x22b98a(0x21d)])],exports['RemoteUniscriptService']),exports['CollaborationStatusDisplay']=xe,exports['IURLService']=be,exports[_0x22b98a(0x396)]=Pe,exports['WebBrowserSingleActiveUnitService']=is,exports[_0x22b98a(0x39d)]=je;
|
package/lib/cjs/locale/en-US.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
'use strict';
|
|
1
|
+
'use strict';const _0x284781=_0x475d;(function(_0x57857d,_0x2078f3){const _0x3398bf=_0x475d,_0x1a7107=_0x57857d();while(!![]){try{const _0x4cdd8a=-parseInt(_0x3398bf(0x1a0))/0x1+-parseInt(_0x3398bf(0x199))/0x2+-parseInt(_0x3398bf(0x19a))/0x3+-parseInt(_0x3398bf(0x1a4))/0x4*(parseInt(_0x3398bf(0x19f))/0x5)+-parseInt(_0x3398bf(0x19e))/0x6+parseInt(_0x3398bf(0x1a9))/0x7+parseInt(_0x3398bf(0x1a7))/0x8;if(_0x4cdd8a===_0x2078f3)break;else _0x1a7107['push'](_0x1a7107['shift']());}catch(_0x1425e2){_0x1a7107['push'](_0x1a7107['shift']());}}}(_0x4785,0x430d1));function _0x4785(){const _0x12f28a=['588545NxhbGq','158147IJgtkG','Connection\x20failed,\x20please\x20check\x20your\x20network.','The\x20server\x20is\x20not\x20responding\x20to\x20your\x20collaboration\x20request.\x20Your\x20edits\x20would\x20be\x20saved\x20locally.','Syncing\x20server\x20data...','12bPzhJd','Your\x20login\x20has\x20expired,\x20click\x20OK\x20to\x20re-login,\x20click\x20Cancel\x20to\x20save\x20your\x20local\x20edits.','Local\x20file','12205384kfaISh','Click\x20to\x20Reconnect','687764avLOno','Collaboration\x20room\x20is\x20full.\x20You\x20edits\x20would\x20be\x20saved\x20locally.','exports','You\x20opened\x20the\x20same\x20file\x20in\x20another\x20tab.\x20In\x20case\x20of\x20data\x20missing,\x20you\x20cannot\x20edit\x20on\x20this\x20tab.','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.','478696LAmnpM','509214usQUSb','Edit\x20conflicts','Offline,\x20edits\x20would\x20be\x20save\x20on\x20local','Collaboration\x20Conflict','2573544NPeLBR'];_0x4785=function(){return _0x12f28a;};return _0x4785();}function _0x475d(_0x15e8fc,_0x52d5c2){const _0x4785c9=_0x4785();return _0x475d=function(_0x475d09,_0x2aaa48){_0x475d09=_0x475d09-0x195;let _0x3aa9c3=_0x4785c9[_0x475d09];return _0x3aa9c3;},_0x475d(_0x15e8fc,_0x52d5c2);}const e={'collab-client':{'tooltip':{'reconnect':_0x284781(0x1a8)}},'collabStatus':{'fetchMiss':_0x284781(0x1a3),'conflict':_0x284781(0x19b),'notCollab':_0x284781(0x1a6),'synced':'Synced','syncing':'Syncing...','offline':_0x284781(0x19c)},'session':{'connection-failed':_0x284781(0x1a1),'will-retry':'Connection\x20failed,\x20we\x20retry\x20in\x20a\x20while.','room-full':_0x284781(0x195),'collaboration-timeout':_0x284781(0x1a2)},'conflict':{'title':_0x284781(0x19d),'content':_0x284781(0x198)},'permission':{'title':'Authentication\x20Error','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':_0x284781(0x197)},'closeRoom':'Editing\x20privileges\x20were\x20revoked\x20because\x20the\x20collaborative\x20room\x20was\x20closed.'},'auth':{'needGotoLoginAlert':_0x284781(0x1a5)}};module[_0x284781(0x196)]=e;
|