@univerjs-pro/collaboration-client-ui 0.9.2-nightly.202507151607 → 0.9.2-nightly.202507171607
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/ca-ES.js +1 -1
- package/lib/cjs/locale/en-US.js +1 -1
- package/lib/cjs/locale/es-ES.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/ko-KR.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/ca-ES.js +1 -1
- package/lib/es/locale/en-US.js +1 -1
- package/lib/es/locale/es-ES.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/ko-KR.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/ca-ES.js +1 -1
- package/lib/locale/en-US.js +1 -1
- package/lib/locale/es-ES.js +1 -1
- package/lib/locale/fa-IR.js +1 -1
- package/lib/locale/fr-FR.js +1 -1
- package/lib/locale/ko-KR.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/ca-ES.js +1 -1
- package/lib/umd/locale/en-US.js +1 -1
- package/lib/umd/locale/es-ES.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/ko-KR.js +1 -1
- package/lib/umd/locale/ru-RU.js +1 -1
- package/lib/umd/locale/vi-VN.js +1 -1
- package/lib/umd/locale/zh-CN.js +1 -1
- package/lib/umd/locale/zh-TW.js +1 -1
- package/package.json +16 -16
package/lib/umd/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(_0x1e3237,_0x5b07a0){const _0x59de7a=_0x4b14,_0x2e9d1a=_0x1e3237();while(!![]){try{const _0x59a885=-parseInt(_0x59de7a(0x413))/0x1*(parseInt(_0x59de7a(0x2f7))/0x2)+parseInt(_0x59de7a(0x260))/0x3*(-parseInt(_0x59de7a(0x240))/0x4)+-parseInt(_0x59de7a(0x246))/0x5*(-parseInt(_0x59de7a(0x2cd))/0x6)+-parseInt(_0x59de7a(0x359))/0x7*(-parseInt(_0x59de7a(0x324))/0x8)+-parseInt(_0x59de7a(0x332))/0x9*(parseInt(_0x59de7a(0x272))/0xa)+parseInt(_0x59de7a(0x429))/0xb*(parseInt(_0x59de7a(0x450))/0xc)+-parseInt(_0x59de7a(0x375))/0xd;if(_0x59a885===_0x5b07a0)break;else _0x2e9d1a['push'](_0x2e9d1a['shift']());}catch(_0x4eda42){_0x2e9d1a['push'](_0x2e9d1a['shift']());}}}(_0x330f,0x50663),function(_0x571f72,_0xa3f1e){const _0x57f1c6=_0x4b14;typeof exports==_0x57f1c6(0x2ca)&&typeof module<'u'?_0xa3f1e(exports,require('@univerjs-pro/collaboration-client'),require('@univerjs/core'),require('@univerjs/engine-render'),require('@univerjs/network'),require('@univerjs/docs-ui'),require('@univerjs/drawing'),require('rxjs'),require('@univerjs-pro/collaboration'),require('@univerjs/docs'),require('@univerjs/engine-formula'),require('@univerjs/sheets'),require('rxjs/operators'),require('@univerjs/sheets-ui'),require('react/jsx-runtime'),require('@univerjs/ui'),require('@univerjs/design'),require('react'),require('@univerjs/rpc')):typeof define==_0x57f1c6(0x333)&&define['amd']?define([_0x57f1c6(0x41b),_0x57f1c6(0x43f),_0x57f1c6(0x32f),_0x57f1c6(0x318),_0x57f1c6(0x1ec),_0x57f1c6(0x1e5),_0x57f1c6(0x339),_0x57f1c6(0x3ba),_0x57f1c6(0x3a6),_0x57f1c6(0x3b8),'@univerjs/engine-formula',_0x57f1c6(0x322),_0x57f1c6(0x448),'@univerjs/sheets-ui',_0x57f1c6(0x1f6),_0x57f1c6(0x24b),'@univerjs/design','react',_0x57f1c6(0x382)],_0xa3f1e):(_0x571f72=typeof globalThis<'u'?globalThis:_0x571f72||self,_0xa3f1e(_0x571f72[_0x57f1c6(0x2d4)]={},_0x571f72[_0x57f1c6(0x3dd)],_0x571f72['UniverCore'],_0x571f72[_0x57f1c6(0x217)],_0x571f72[_0x57f1c6(0x46e)],_0x571f72[_0x57f1c6(0x289)],_0x571f72[_0x57f1c6(0x366)],_0x571f72['rxjs'],_0x571f72[_0x57f1c6(0x461)],_0x571f72[_0x57f1c6(0x259)],_0x571f72[_0x57f1c6(0x1e9)],_0x571f72['UniverSheets'],_0x571f72[_0x57f1c6(0x3ba)][_0x57f1c6(0x26c)],_0x571f72[_0x57f1c6(0x3fa)],_0x571f72['React'],_0x571f72['UniverUi'],_0x571f72[_0x57f1c6(0x3a3)],_0x571f72[_0x57f1c6(0x37a)],_0x571f72[_0x57f1c6(0x23b)]));}(this,function(_0x5afeab,_0x38fa63,_0x2ca890,_0x5483ad,_0x39816b,_0x5e7d5c,_0x39d37c,_0x33e1e6,_0x1d9678,_0x1486d2,_0x1f749e,_0x2ce713,_0x57cc1a,_0x5e27d1,_0x1548bc,_0x3587ae,_0xff817b,_0x21d90f,_0x18f665){'use strict';const _0x391ebf=_0x4b14;var _0x41beb6=Object[_0x391ebf(0x3c0)],_0x3b0e18=(_0x18a823,_0x78b973,_0x2da8b6)=>_0x78b973 in _0x18a823?_0x41beb6(_0x18a823,_0x78b973,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x2da8b6}):_0x18a823[_0x78b973]=_0x2da8b6,_0xb14004=(_0x1ea067,_0x5f0d9d,_0x79f63c)=>_0x3b0e18(_0x1ea067,typeof _0x5f0d9d!=_0x391ebf(0x37d)?_0x5f0d9d+'':_0x5f0d9d,_0x79f63c),_0x2d31bf=Object[_0x391ebf(0x1f0)],_0x3efd4e=(_0x5e6bc3,_0x463b7c,_0x50cdbb,_0x1f425b)=>{const _0x437070=_0x391ebf;for(var _0x52140a=_0x1f425b>0x1?void 0x0:_0x1f425b?_0x2d31bf(_0x463b7c,_0x50cdbb):_0x463b7c,_0x3f07dd=_0x5e6bc3[_0x437070(0x2aa)]-0x1,_0x43a579;_0x3f07dd>=0x0;_0x3f07dd--)(_0x43a579=_0x5e6bc3[_0x3f07dd])&&(_0x52140a=_0x43a579(_0x52140a)||_0x52140a);return _0x52140a;},_0x4f6576=(_0x4205dd,_0x3ec5c8)=>(_0x4552e2,_0x4a85bb)=>_0x3ec5c8(_0x4552e2,_0x4a85bb,_0x4205dd);let _0x5b880e=class extends _0x2ca890['RxDisposable']{constructor(_0x28bdf8,_0x5d994d){const _0x8f8dbd=_0x391ebf;super(),this['_docClipboardService']=_0x28bdf8,this['_imageIoService']=_0x5d994d,this[_0x8f8dbd(0x20d)]();}[_0x391ebf(0x20d)](){const _0x274361=_0x391ebf,_0x105959=this;this[_0x274361(0x436)](this[_0x274361(0x368)][_0x274361(0x402)]({'onBeforePasteImage':async _0x505d6a=>{const _0x28e864=_0x274361,_0x3b40e6=await _0x105959[_0x28e864(0x2d8)][_0x28e864(0x206)](_0x505d6a);return _0x3b40e6?{'source':_0x3b40e6['source'],'imageSourceType':_0x3b40e6[_0x28e864(0x377)]}:null;}}));}};_0x5b880e=_0x3efd4e([_0x4f6576(0x0,_0x5e7d5c[_0x391ebf(0x2e1)]),_0x4f6576(0x1,_0x39d37c['IImageIoService'])],_0x5b880e);const _0x13b4e8=[_0x391ebf(0x41c),'jiqing.500',_0x391ebf(0x3d7),_0x391ebf(0x2dd),'blue.400',_0x391ebf(0x354)];class _0x576435 extends _0x2ca890['Disposable']{constructor(){const _0x3db9ec=_0x391ebf;super(...arguments),_0xb14004(this,_0x3db9ec(0x463),new Map()),_0xb14004(this,_0x3db9ec(0x1fa),0x0);}[_0x391ebf(0x378)](_0x3854d6){const _0xffff14=_0x391ebf;if(this[_0xffff14(0x463)][_0xffff14(0x202)](_0x3854d6))return this[_0xffff14(0x463)][_0xffff14(0x266)](_0x3854d6);const _0xe37bc2=_0x13b4e8[this[_0xffff14(0x1fa)]];return this[_0xffff14(0x1fa)]=(this[_0xffff14(0x1fa)]+0x1)%_0x13b4e8[_0xffff14(0x2aa)],this[_0xffff14(0x463)][_0xffff14(0x40b)](_0x3854d6,_0xe37bc2),_0xe37bc2;}}function _0x270888(_0x6f5eaf){const _0x18171c=_0x391ebf;let _0xbf6665='';for(const _0x14227d of _0x6f5eaf){const {startOffset:_0x51630f,endOffset:_0x640a8b,isActive:_0x408117,rangeType:_0x7772a7,segmentId:_0x4f29dc,segmentPage:_0x38348a}=_0x14227d;_0xbf6665[_0x18171c(0x2aa)]&&(_0xbf6665+=','),_0xbf6665+=_0x51630f+':'+_0x640a8b+':'+(_0x408117?'1':'0')+':'+_0x7772a7+':'+_0x4f29dc+':'+_0x38348a;}return _0xbf6665;}function _0x383a00(_0x101e6b){const _0x4ba224=_0x391ebf,_0x3d8a8a=_0x101e6b[_0x4ba224(0x35b)](','),_0x23b31b=[];for(const _0x13be16 of _0x3d8a8a){const [_0x277a3e,_0x58f813,_0x38b654,_0x2df643,_0x51ea5c,_0x34fe98]=_0x13be16[_0x4ba224(0x35b)](':');_0x23b31b[_0x4ba224(0x3d1)]({'startOffset':Number(_0x277a3e),'endOffset':Number(_0x58f813),'collapsed':_0x277a3e===_0x58f813,'isActive':_0x38b654==='1','rangeType':_0x2df643===_0x2ca890[_0x4ba224(0x231)][_0x4ba224(0x361)]?_0x2ca890[_0x4ba224(0x231)][_0x4ba224(0x361)]:_0x2ca890[_0x4ba224(0x231)][_0x4ba224(0x42a)],'segmentId':typeof _0x51ea5c==_0x4ba224(0x2b1)?String(_0x51ea5c):'','segmentPage':Number(_0x34fe98!=null?_0x34fe98:-0x1)});}return _0x23b31b['some'](_0x406de3=>_0x406de3[_0x4ba224(0x303)])||(_0x23b31b[0x0]['isActive']=!0x0),_0x23b31b;}class _0x1bba5e extends _0x2ca890[_0x391ebf(0x3b9)]{constructor(){const _0x5c807e=_0x391ebf;super(...arguments),_0xb14004(this,_0x5c807e(0x345),new _0x33e1e6[(_0x5c807e(0x2af))](null)),_0xb14004(this,_0x5c807e(0x438),this[_0x5c807e(0x345)]['asObservable']());}[_0x391ebf(0x37b)](_0x365a1c){const _0x219602=_0x391ebf,{unitID:_0x40f96a,memberID:_0x17cfbf,textRanges:_0x55c32c}=_0x365a1c,_0x1aa0b9=_0x270888(_0x55c32c);if(_0x1aa0b9==='')return;const _0x4513fc={'unitID':_0x40f96a,'memberID':_0x17cfbf,'selection':_0x1aa0b9};this['_collabCursorState$'][_0x219602(0x219)](_0x4513fc);}}var _0x2d07cb=Object[_0x391ebf(0x1f0)],_0x3e3129=(_0x2cf7cf,_0x5a0eff,_0x5c3c27,_0x1f895f)=>{const _0x47eab0=_0x391ebf;for(var _0x1a1026=_0x1f895f>0x1?void 0x0:_0x1f895f?_0x2d07cb(_0x5a0eff,_0x5c3c27):_0x5a0eff,_0x4a22c4=_0x2cf7cf[_0x47eab0(0x2aa)]-0x1,_0x50215e;_0x4a22c4>=0x0;_0x4a22c4--)(_0x50215e=_0x2cf7cf[_0x4a22c4])&&(_0x1a1026=_0x50215e(_0x1a1026)||_0x1a1026);return _0x1a1026;},_0x3af9f0=(_0x2ee748,_0x50e856)=>(_0xf69150,_0x43f9df)=>_0x50e856(_0xf69150,_0x43f9df,_0x2ee748);const _0x48f371=0x12c,_0x46ff6c=0x64;let _0x894493=class extends _0x2ca890['RxDisposable']{constructor(_0x427c4f,_0x53f8fa,_0x1d0c62,_0xba545,_0x23c56e,_0x21e98f,_0xe32b18,_0x4496a6,_0x3256e1){const _0x2cc595=_0x391ebf;super(),_0xb14004(this,_0x2cc595(0x22b),!0x1),_0xb14004(this,_0x2cc595(0x20d),!0x1),_0xb14004(this,_0x2cc595(0x36c),new _0x33e1e6[(_0x2cc595(0x2af))](new Map())),_0xb14004(this,_0x2cc595(0x3a7),this[_0x2cc595(0x36c)][_0x2cc595(0x238)]()),_0xb14004(this,_0x2cc595(0x245),new _0x33e1e6[(_0x2cc595(0x2af))]([])),_0xb14004(this,_0x2cc595(0x31e),this[_0x2cc595(0x245)][_0x2cc595(0x1ef)](_0x33e1e6[_0x2cc595(0x3a4)](_0x48f371))),_0xb14004(this,_0x2cc595(0x3be),_0x2ca890[_0x2cc595(0x371)](_0x3c7eae=>{const _0x2fbd38=_0x2cc595,_0xcdcb5c={'eventID':_0x1d9678[_0x2fbd38(0x412)][_0x2fbd38(0x262)],'data':{'unitID':this[_0x2fbd38(0x441)],'memberID':this['_session'][_0x2fbd38(0x380)](),'selection':_0x270888(_0x3c7eae)}};this[_0x2fbd38(0x29a)][_0x2fbd38(0x3b1)](_0xcdcb5c,this[_0x2fbd38(0x441)]);},_0x46ff6c)),(this['unitID']=_0x427c4f,this[_0x2cc595(0x29a)]=_0x53f8fa,this[_0x2cc595(0x23f)]=_0x1d0c62,this['_colorAssignService']=_0xba545,this[_0x2cc595(0x295)]=_0x23c56e,this['_syncEditingCollabCursorService']=_0x21e98f,this[_0x2cc595(0x2d6)]=_0xe32b18,this[_0x2cc595(0x309)]=_0x4496a6,this['_commandService']=_0x3256e1);}get['cursorInfo'](){const _0x3093ed=_0x391ebf;return this['_cursorInfo$'][_0x3093ed(0x36e)]();}get[_0x391ebf(0x270)](){const _0x3e9ca2=_0x391ebf;return this[_0x3e9ca2(0x245)]['getValue']();}[_0x391ebf(0x25e)](){const _0xe4f1bf=_0x391ebf;super[_0xe4f1bf(0x25e)](),this[_0xe4f1bf(0x36c)][_0xe4f1bf(0x219)](new Map()),this[_0xe4f1bf(0x36c)][_0xe4f1bf(0x458)](),this[_0xe4f1bf(0x245)][_0xe4f1bf(0x219)]([]),this[_0xe4f1bf(0x245)]['complete']();}[_0x391ebf(0x3f6)](){const _0x2bca4a=_0x391ebf;this[_0x2bca4a(0x20d)]||(this['_init']=!0x0,this['_session'][_0x2bca4a(0x3b4)][_0x2bca4a(0x1ef)](_0x33e1e6['takeUntil'](this[_0x2bca4a(0x22a)]))[_0x2bca4a(0x38c)](_0x1ff5a5=>{const _0x56897c=_0x2bca4a;_0x1ff5a5===_0x38fa63[_0x56897c(0x464)]['ONLINE']?this['_toggleOnline']():this[_0x56897c(0x326)]();}),this[_0x2bca4a(0x29a)][_0x2bca4a(0x389)][_0x2bca4a(0x1ef)](_0x33e1e6[_0x2bca4a(0x1f1)](this[_0x2bca4a(0x22a)]))['subscribe'](_0x49afff=>{const _0x2d8d54=_0x2bca4a,_0x2d5480=_0x49afff[_0x2d8d54(0x29e)];_0x2d5480===_0x1d9678[_0x2d8d54(0x412)]['UPDATE_CURSOR']&&this[_0x2d8d54(0x3ab)](_0x49afff),_0x2d5480===_0x1d9678[_0x2d8d54(0x412)][_0x2d8d54(0x220)]&&this[_0x2d8d54(0x26b)](_0x49afff);}),this['disposeWithMe'](this[_0x2bca4a(0x214)][_0x2bca4a(0x201)](_0x48019d=>{const _0x149109=_0x2bca4a,_0xad5cb6=_0x48019d['params'];_0xad5cb6!=null&&this[_0x149109(0x22b)]&&_0x48019d['id']===_0x1486d2[_0x149109(0x3cc)]['id']&&_0xad5cb6[_0x149109(0x3e1)]===this[_0x149109(0x441)]&&_0xad5cb6[_0x149109(0x2b0)]===!0x1&&_0xad5cb6['ranges'][_0x149109(0x2aa)]>0x0&&this[_0x149109(0x3be)](_0xad5cb6['ranges']);})),this[_0x2bca4a(0x20b)][_0x2bca4a(0x438)][_0x2bca4a(0x1ef)](_0x33e1e6['takeUntil'](this[_0x2bca4a(0x22a)]))[_0x2bca4a(0x38c)](_0x27a859=>{const _0x25de1d=_0x2bca4a;if((_0x27a859==null?void 0x0:_0x27a859[_0x25de1d(0x441)])!==this[_0x25de1d(0x441)])return;const _0x18dd63={'eventID':_0x1d9678[_0x25de1d(0x412)]['UPDATE_CURSOR'],'data':_0x27a859};this[_0x25de1d(0x3ab)](_0x18dd63);}),this[_0x2bca4a(0x436)](this[_0x2bca4a(0x214)][_0x2bca4a(0x201)](_0x3272a3=>{const _0x20f56c=_0x2bca4a;if(_0x3272a3[_0x20f56c(0x2ec)]==null)return;const _0x272580=_0x3272a3[_0x20f56c(0x2ec)];if(_0x3272a3['id']!==_0x1486d2[_0x20f56c(0x46b)]['id']||_0x272580[_0x20f56c(0x3e1)]!==this[_0x20f56c(0x441)])return;const _0x1d96ee={'id':_0x20f56c(0x35c),'params':_0x272580},_0x3b0bd0=this[_0x20f56c(0x282)];for(const [_0x1143b5,_0x552d5f]of _0x3b0bd0){const _0x4315af={'id':'doc.mutation.rich-text-editing','params':{'unitId':this[_0x20f56c(0x441)],'actions':null,'textRanges':_0x552d5f[_0x20f56c(0x299)]}},_0x1ad026=this[_0x20f56c(0x2d6)][_0x20f56c(0x40f)](_0x1d96ee,_0x4315af,!0x1);if(_0x1d9678[_0x20f56c(0x444)](_0x1ad026))throw _0x1ad026[_0x20f56c(0x390)];_0x3b0bd0[_0x20f56c(0x40b)](_0x1143b5,{..._0x552d5f,'ranges':_0x1ad026[_0x20f56c(0x25d)][_0x20f56c(0x2ec)][_0x20f56c(0x2a6)]});}queueMicrotask(()=>{const _0x39ff4f=_0x20f56c;this['_cursorInfo$'][_0x39ff4f(0x219)](_0x3b0bd0);});})));}[_0x391ebf(0x3ab)](_0x4e4679){const _0x2cec3d=_0x391ebf;var _0x3d4a32,_0x86031e;const {memberID:_0x3b4433,selection:_0x375903}=_0x4e4679['data'],_0x5da15f=_0x383a00(_0x375903),_0x27c315=(_0x86031e=(_0x3d4a32=this[_0x2cec3d(0x295)][_0x2cec3d(0x401)](this[_0x2cec3d(0x441)],_0x3b4433))==null?void 0x0:_0x3d4a32[_0x2cec3d(0x20e)])!=null?_0x86031e:_0x2cec3d(0x37c),_0x509201={'color':this[_0x2cec3d(0x2d5)][_0x2cec3d(0x378)](_0x3b4433),'name':_0x27c315,'ranges':_0x5da15f},_0x1c31f2=this['cursorInfo'];_0x1c31f2[_0x2cec3d(0x40b)](_0x3b4433,_0x509201),this[_0x2cec3d(0x36c)]['next'](_0x1c31f2);}[_0x391ebf(0x26b)](_0x2dde48){const _0x3f1a62=_0x391ebf,{memberID:_0x396092}=_0x2dde48[_0x3f1a62(0x349)],_0x7c1a5=this[_0x3f1a62(0x282)];_0x7c1a5[_0x3f1a62(0x3f1)](_0x396092),this['_cursorInfo$']['next'](_0x7c1a5);}[_0x391ebf(0x2e2)](){const _0x57af1b=_0x391ebf;var _0x51e139;if(this[_0x57af1b(0x22b)]=!0x0,((_0x51e139=this[_0x57af1b(0x309)][_0x57af1b(0x27d)]())==null?void 0x0:_0x51e139[_0x57af1b(0x2c4)]())!==this['unitID'])return;const _0x5e457e=this[_0x57af1b(0x23f)][_0x57af1b(0x266)](_0x1486d2[_0x57af1b(0x291)])[_0x57af1b(0x403)]();Array[_0x57af1b(0x26d)](_0x5e457e)&&_0x5e457e['length']>0x0&&this[_0x57af1b(0x3be)](_0x5e457e);}['_toggleOffline'](){const _0x2406ef=_0x391ebf;this[_0x2406ef(0x22b)]=!0x1;}};_0x894493=_0x3e3129([_0x3af9f0(0x2,_0x2ca890[_0x391ebf(0x2cb)](_0x2ca890[_0x391ebf(0x232)])),_0x3af9f0(0x3,_0x2ca890['Inject'](_0x576435)),_0x3af9f0(0x4,_0x2ca890[_0x391ebf(0x2cb)](_0x38fa63[_0x391ebf(0x2a7)])),_0x3af9f0(0x5,_0x2ca890['Inject'](_0x1bba5e)),_0x3af9f0(0x6,_0x1d9678[_0x391ebf(0x325)]),_0x3af9f0(0x7,_0x2ca890[_0x391ebf(0x216)]),_0x3af9f0(0x8,_0x2ca890[_0x391ebf(0x356)])],_0x894493);var _0x16f3f6=Object[_0x391ebf(0x1f0)],_0x21e6f7=(_0x336924,_0x22d373,_0x57907c,_0x51f4ba)=>{const _0x2ee88f=_0x391ebf;for(var _0x585877=_0x51f4ba>0x1?void 0x0:_0x51f4ba?_0x16f3f6(_0x22d373,_0x57907c):_0x22d373,_0xeb0b49=_0x336924[_0x2ee88f(0x2aa)]-0x1,_0x51c142;_0xeb0b49>=0x0;_0xeb0b49--)(_0x51c142=_0x336924[_0xeb0b49])&&(_0x585877=_0x51c142(_0x585877)||_0x585877);return _0x585877;},_0x2aa6a3=(_0x18e0a0,_0x2ac25b)=>(_0x44eb68,_0x56a9b4)=>_0x2ac25b(_0x44eb68,_0x56a9b4,_0x18e0a0);const _0x52fa56=0x12c,_0x42f2b5=0x64,_0x34662d=()=>{let _0x50e0e2=[],_0x40b3aa=!0x1;return _0x147c26=>{const _0x30e094=_0x4b14;_0x50e0e2[_0x30e094(0x3d1)](_0x147c26),_0x40b3aa||(_0x40b3aa=!0x0,setTimeout(()=>{const _0x1d1853=_0x30e094;_0x50e0e2[_0x1d1853(0x205)](_0x1142d3=>_0x1142d3()),_0x50e0e2=[],_0x40b3aa=!0x1;}));};};let _0x21204c=class extends _0x2ca890['RxDisposable']{constructor(_0x55ca3f,_0x14b525,_0x4543dd,_0x29e6d1,_0x1d3f2f,_0x80bc9c,_0xcafef2,_0x2ccd20){const _0x4144af=_0x391ebf;super(),_0xb14004(this,_0x4144af(0x22b),!0x1),_0xb14004(this,_0x4144af(0x20d),!0x1),_0xb14004(this,'_cursorInfo$',new _0x33e1e6[(_0x4144af(0x2af))](new Map())),_0xb14004(this,'cursorInfo$',this[_0x4144af(0x36c)][_0x4144af(0x238)]()),_0xb14004(this,_0x4144af(0x245),new _0x33e1e6[(_0x4144af(0x2af))]([])),_0xb14004(this,'roomMembers$',this[_0x4144af(0x245)]['pipe'](_0x33e1e6[_0x4144af(0x3a4)](_0x52fa56))),_0xb14004(this,'_updateLocalCursor',_0x2ca890[_0x4144af(0x371)]((_0xb594ab,_0x5ddd28)=>{const _0x213d9b=_0x4144af,_0x1c3fc3={'eventID':_0x1d9678[_0x213d9b(0x412)][_0x213d9b(0x262)],'data':{'unitID':this[_0x213d9b(0x441)],'memberID':this[_0x213d9b(0x29a)]['getMemberID'](),'selection':_0x1f749e[_0x213d9b(0x2be)](_0xb594ab,_0x5ddd28[_0x213d9b(0x42e)])}};this[_0x213d9b(0x29a)][_0x213d9b(0x3b1)](_0x1c3fc3,this[_0x213d9b(0x441)]);},_0x42f2b5)),(this[_0x4144af(0x441)]=_0x55ca3f,this[_0x4144af(0x29a)]=_0x14b525,this['_injector']=_0x4543dd,this['_colorAssignService']=_0x29e6d1,this[_0x4144af(0x295)]=_0x1d3f2f,this[_0x4144af(0x309)]=_0x80bc9c,this[_0x4144af(0x214)]=_0xcafef2,this[_0x4144af(0x2a3)]=_0x2ccd20);}get['cursorInfo'](){const _0x49def1=_0x391ebf;return this[_0x49def1(0x36c)]['getValue']();}get['roomMembers'](){const _0x167a2b=_0x391ebf;return this['_roomMembers$'][_0x167a2b(0x36e)]();}[_0x391ebf(0x25e)](){const _0x5cd5f9=_0x391ebf;super[_0x5cd5f9(0x25e)](),this[_0x5cd5f9(0x36c)][_0x5cd5f9(0x219)](new Map()),this[_0x5cd5f9(0x36c)][_0x5cd5f9(0x458)](),this[_0x5cd5f9(0x245)][_0x5cd5f9(0x219)]([]),this[_0x5cd5f9(0x245)][_0x5cd5f9(0x458)]();}[_0x391ebf(0x3f6)](){const _0x14b5b1=_0x391ebf;this['_init']||(this[_0x14b5b1(0x20d)]=!0x0,this[_0x14b5b1(0x29a)][_0x14b5b1(0x3b4)][_0x14b5b1(0x1ef)](_0x33e1e6[_0x14b5b1(0x1f1)](this[_0x14b5b1(0x22a)]))[_0x14b5b1(0x38c)](_0x395254=>{const _0x204f39=_0x14b5b1;_0x395254===_0x38fa63[_0x204f39(0x464)]['ONLINE']?this[_0x204f39(0x2e2)]():this[_0x204f39(0x326)]();}),this[_0x14b5b1(0x29a)]['event$']['pipe'](_0x33e1e6[_0x14b5b1(0x1f1)](this['dispose$']))[_0x14b5b1(0x38c)](_0x3084b1=>{const _0x1248c6=_0x14b5b1,_0x496d14=_0x3084b1[_0x1248c6(0x29e)];_0x496d14===_0x1d9678['CollaborationEvent'][_0x1248c6(0x262)]&&this[_0x1248c6(0x3ab)](_0x3084b1),_0x496d14===_0x1d9678[_0x1248c6(0x412)][_0x1248c6(0x220)]&&this[_0x1248c6(0x26b)](_0x3084b1);}),this[_0x14b5b1(0x34c)](),this[_0x14b5b1(0x436)](this['_commandService'][_0x14b5b1(0x201)](_0x17de47=>{const _0x21f797=_0x14b5b1;if(this[_0x21f797(0x22b)]&&_0x17de47['id']===_0x2ce713[_0x21f797(0x297)]['id']&&_0x17de47[_0x21f797(0x2ec)][_0x21f797(0x3e1)]===this[_0x21f797(0x441)]){const _0x357396=_0x17de47[_0x21f797(0x2ec)];this['_updateLocalCursor'](_0x357396[_0x21f797(0x3c9)],_0x357396[_0x21f797(0x3ee)][0x0]);}})));}[_0x391ebf(0x3ab)](_0x1d2d2f){const _0x1f41d9=_0x391ebf;var _0x13b475,_0x16dffd;const {memberID:_0x1d38b6,selection:_0x530d11}=_0x1d2d2f[_0x1f41d9(0x349)],{sheetName:_0x324861,range:_0x158b46}=_0x1f749e[_0x1f41d9(0x2b9)](_0x530d11),_0x477e23={'name':(_0x16dffd=(_0x13b475=this['_memberService'][_0x1f41d9(0x401)](this[_0x1f41d9(0x441)],_0x1d38b6))==null?void 0x0:_0x13b475[_0x1f41d9(0x20e)])!=null?_0x16dffd:_0x1f41d9(0x37c),'range':this[_0x1f41d9(0x43e)](_0x324861,_0x158b46),'sheetID':_0x324861,'color':this[_0x1f41d9(0x2d5)]['assignAColorForMemberID'](_0x1d38b6),'selection':_0x530d11},_0x21a8eb=this[_0x1f41d9(0x282)];_0x21a8eb[_0x1f41d9(0x40b)](_0x1d38b6,_0x477e23),this[_0x1f41d9(0x36c)][_0x1f41d9(0x219)](_0x21a8eb);}[_0x391ebf(0x26b)](_0x5a774b){const _0x1a9e2f=_0x391ebf,{memberID:_0x31fbed}=_0x5a774b['data'],_0x42775f=this['cursorInfo'];_0x42775f[_0x1a9e2f(0x3f1)](_0x31fbed),this[_0x1a9e2f(0x36c)][_0x1a9e2f(0x219)](_0x42775f);}[_0x391ebf(0x43e)](_0x5b0c42,_0x157ec5){const _0x36338=_0x391ebf;var _0x1d5b0e,_0xa306f6;const _0x8a85e7=(_0xa306f6=(_0x1d5b0e=this[_0x36338(0x309)]['getUniverSheetInstance'](this[_0x36338(0x441)]))==null?void 0x0:_0x1d5b0e[_0x36338(0x276)](_0x5b0c42))==null?void 0x0:_0xa306f6[_0x36338(0x2f8)]();return(_0x8a85e7==null?void 0x0:_0x8a85e7['find'](_0x3e3c45=>_0x2ca890['Rectangle']['contains'](_0x3e3c45,_0x157ec5)))||_0x157ec5;}['_onRefRangeChange'](){const _0x5e05be=_0x391ebf,_0x2394b2=new _0x2ca890[(_0x5e05be(0x21a))](),_0x4b48ba=_0x34662d(),_0x3f8d2d=()=>{const _0x2cb43c=_0x5e05be;_0x2394b2[_0x2cb43c(0x25e)]();const _0x4f2c58=(_0x19695f,_0x2c95fa,_0x1921e8,_0x16da04)=>{const _0x3ab123=_0x2cb43c;let _0x10a539=[];switch(_0x19695f['id']){case _0x2ce713['EffectRefRangId'][_0x3ab123(0x31c)]:{_0x10a539=_0x2ce713['handleDeleteRangeMoveLeft'](_0x19695f,_0x16da04);break;}case _0x2ce713['EffectRefRangId']['DeleteRangeMoveUpCommandId']:{_0x10a539=_0x2ce713[_0x3ab123(0x271)](_0x19695f,_0x16da04);break;}case _0x2ce713['EffectRefRangId'][_0x3ab123(0x431)]:{_0x10a539=_0x2ce713[_0x3ab123(0x34b)](_0x19695f,_0x16da04);break;}case _0x2ce713[_0x3ab123(0x27f)][_0x3ab123(0x362)]:{_0x10a539=_0x2ce713[_0x3ab123(0x22f)](_0x19695f,_0x16da04);break;}case _0x2ce713[_0x3ab123(0x27f)]['InsertRangeMoveRightCommandId']:{_0x10a539=_0x2ce713['handleInsertRangeMoveRight'](_0x19695f,_0x16da04);break;}case _0x2ce713[_0x3ab123(0x27f)][_0x3ab123(0x42b)]:{_0x10a539=_0x2ce713[_0x3ab123(0x3cd)](_0x19695f,_0x16da04);break;}case _0x2ce713['EffectRefRangId']['MoveRangeCommandId']:{_0x10a539=_0x2ce713[_0x3ab123(0x3ec)](_0x19695f,_0x16da04);break;}case _0x2ce713[_0x3ab123(0x27f)][_0x3ab123(0x2ee)]:{_0x10a539=_0x2ce713[_0x3ab123(0x21d)](_0x19695f,_0x16da04);break;}case _0x2ce713[_0x3ab123(0x27f)]['RemoveRowCommandId']:{_0x10a539=_0x2ce713[_0x3ab123(0x24a)](_0x19695f,_0x16da04);break;}}const _0xb0b4e7=_0x2ce713[_0x3ab123(0x46f)](_0x10a539,_0x16da04),_0xd09b4c=this[_0x3ab123(0x282)][_0x3ab123(0x266)](_0x2c95fa);if(_0xd09b4c&&_0xb0b4e7){const _0x521c82={..._0xd09b4c,'range':_0xb0b4e7};this['cursorInfo'][_0x3ab123(0x40b)](_0x2c95fa,_0x521c82),_0x4b48ba(()=>{const _0x1cf2a7=_0x3ab123,_0x29fc8c=this['_refRangeService'][_0x1cf2a7(0x33f)](_0xb0b4e7,_0x66aace=>(_0x29fc8c[_0x1cf2a7(0x25e)](),_0x4f2c58(_0x66aace,_0x2c95fa,_0x1921e8,_0xb0b4e7)));_0x2394b2[_0x1cf2a7(0x2e9)](_0x29fc8c);});}return{'redos':[],'undos':[]};};this['cursorInfo']['forEach']((_0x5e801c,_0x2225a8)=>{const _0x342fac=_0x2cb43c,{range:_0x419139,sheetID:_0x5da182}=_0x5e801c,_0xf943c2=this[_0x342fac(0x2a3)][_0x342fac(0x33f)](_0x419139,_0x3995bb=>(_0xf943c2[_0x342fac(0x25e)](),_0x4f2c58(_0x3995bb,_0x2225a8,_0x5da182,_0x419139)));_0x2394b2[_0x342fac(0x2e9)](_0xf943c2);});};this[_0x5e05be(0x436)](_0x2ca890[_0x5e05be(0x2a8)](this[_0x5e05be(0x36c)][_0x5e05be(0x38c)](()=>{_0x3f8d2d();})));}[_0x391ebf(0x2e2)](){const _0x39667c=_0x391ebf;var _0x450afc,_0x4043a7;if(this[_0x39667c(0x22b)]=!0x0,((_0x450afc=this[_0x39667c(0x309)][_0x39667c(0x27d)]())==null?void 0x0:_0x450afc[_0x39667c(0x2c4)]())!==this[_0x39667c(0x441)])return;const _0xe4b24e=(_0x4043a7=this[_0x39667c(0x23f)][_0x39667c(0x266)](_0x2ce713['SheetsSelectionsService'])['getCurrentSelections']())==null?void 0x0:_0x4043a7[0x0],_0x24874d=this[_0x39667c(0x309)][_0x39667c(0x45a)](_0x2ca890[_0x39667c(0x39f)][_0x39667c(0x2bf)])['getActiveSheet']();_0xe4b24e&&_0x24874d&&this[_0x39667c(0x3be)](_0x24874d['getSheetId'](),_0xe4b24e);}['_toggleOffline'](){const _0x3c6704=_0x391ebf;this[_0x3c6704(0x22b)]=!0x1;}};_0x21204c=_0x21e6f7([_0x2aa6a3(0x2,_0x2ca890[_0x391ebf(0x2cb)](_0x2ca890[_0x391ebf(0x232)])),_0x2aa6a3(0x3,_0x2ca890[_0x391ebf(0x2cb)](_0x576435)),_0x2aa6a3(0x4,_0x2ca890[_0x391ebf(0x2cb)](_0x38fa63[_0x391ebf(0x2a7)])),_0x2aa6a3(0x5,_0x2ca890[_0x391ebf(0x216)]),_0x2aa6a3(0x6,_0x2ca890['ICommandService']),_0x2aa6a3(0x7,_0x2ca890[_0x391ebf(0x2cb)](_0x2ce713[_0x391ebf(0x2fd)]))],_0x21204c);var _0x3ffa6b=Object['getOwnPropertyDescriptor'],_0x2aded3=(_0x22300b,_0x6588dc,_0x6900f9,_0x15cf77)=>{const _0x15655b=_0x391ebf;for(var _0x412648=_0x15cf77>0x1?void 0x0:_0x15cf77?_0x3ffa6b(_0x6588dc,_0x6900f9):_0x6588dc,_0x2139b6=_0x22300b[_0x15655b(0x2aa)]-0x1,_0xfc8d1a;_0x2139b6>=0x0;_0x2139b6--)(_0xfc8d1a=_0x22300b[_0x2139b6])&&(_0x412648=_0xfc8d1a(_0x412648)||_0x412648);return _0x412648;},_0x2b4089=(_0x3832ee,_0x184552)=>(_0x1c18c5,_0x27350b)=>_0x184552(_0x1c18c5,_0x27350b,_0x3832ee);let _0x198743=class extends _0x2ca890['RxDisposable']{constructor(_0x52dadc,_0x3f247f,_0x1a44c2){const _0x51d42d=_0x391ebf;super(),_0xb14004(this,_0x51d42d(0x452),new Map()),_0xb14004(this,_0x51d42d(0x41d),new _0x33e1e6[(_0x51d42d(0x28c))]()),(this[_0x51d42d(0x309)]=_0x52dadc,this[_0x51d42d(0x23f)]=_0x3f247f,this['_collabSessionService']=_0x1a44c2,this[_0x51d42d(0x20d)]());}[_0x391ebf(0x25e)](){const _0x4f3143=_0x391ebf;super[_0x4f3143(0x25e)](),this[_0x4f3143(0x41d)]['complete'](),this['_entities'][_0x4f3143(0x205)](_0x40232a=>_0x40232a[_0x4f3143(0x25e)]());}[_0x391ebf(0x440)](_0x394512){const _0x206401=_0x391ebf;return this[_0x206401(0x452)]['has'](_0x394512)?this[_0x206401(0x452)][_0x206401(0x266)](_0x394512)[_0x206401(0x3a7)]:this[_0x206401(0x41d)][_0x206401(0x1ef)](_0x33e1e6['filter'](_0x4a2fef=>_0x4a2fef[_0x206401(0x441)]===_0x394512),_0x33e1e6[_0x206401(0x268)](_0x31a758=>_0x31a758[_0x206401(0x3a7)]));}['_init'](){const _0x2a84ee=_0x391ebf;this[_0x2a84ee(0x309)]['getTypeOfUnitAdded$'](_0x2ca890[_0x2a84ee(0x39f)]['UNIVER_SHEET'])[_0x2a84ee(0x1ef)](_0x33e1e6[_0x2a84ee(0x1f1)](this[_0x2a84ee(0x22a)]))['subscribe'](async _0x48ef6a=>{const _0x35b735=_0x2a84ee,_0x365413=_0x48ef6a[_0x35b735(0x2c4)](),_0x194839=await this[_0x35b735(0x3a5)](_0x365413);this[_0x35b735(0x41d)][_0x35b735(0x219)](_0x194839),this[_0x35b735(0x452)][_0x35b735(0x40b)](_0x365413,_0x194839);}),this[_0x2a84ee(0x309)][_0x2a84ee(0x329)](_0x2ca890[_0x2a84ee(0x39f)]['UNIVER_DOC'])['pipe'](_0x33e1e6[_0x2a84ee(0x1f1)](this['dispose$']))[_0x2a84ee(0x1ef)](_0x33e1e6[_0x2a84ee(0x2cf)](_0x321c96=>!_0x321c96[_0x2a84ee(0x2c4)]()['startsWith']('__')))['subscribe'](async _0x2dbc22=>{const _0x57d067=_0x2a84ee,_0x238988=_0x2dbc22[_0x57d067(0x2c4)](),_0x2beffb=await this[_0x57d067(0x21f)](_0x238988);this[_0x57d067(0x41d)][_0x57d067(0x219)](_0x2beffb),this[_0x57d067(0x452)][_0x57d067(0x40b)](_0x238988,_0x2beffb);}),_0x33e1e6[_0x2a84ee(0x3b7)](this[_0x2a84ee(0x309)]['getTypeOfUnitDisposed$'](_0x2ca890[_0x2a84ee(0x39f)][_0x2a84ee(0x41a)]),this[_0x2a84ee(0x309)][_0x2a84ee(0x33d)](_0x2ca890[_0x2a84ee(0x39f)][_0x2a84ee(0x2bf)]))[_0x2a84ee(0x1ef)](_0x33e1e6[_0x2a84ee(0x1f1)](this[_0x2a84ee(0x22a)]))[_0x2a84ee(0x38c)](_0x5c1495=>{const _0x3e943b=_0x2a84ee,_0x3a7b97=_0x5c1495['getUnitId'](),_0x3a4be5=this['_entities'][_0x3e943b(0x266)](_0x3a7b97);_0x3a4be5&&(_0x3a4be5['dispose'](),this['_entities'][_0x3e943b(0x3f1)](_0x3a7b97));});}async[_0x391ebf(0x3a5)](_0x525123){const _0x5eab5d=_0x391ebf,_0x24143e=await this[_0x5eab5d(0x1e8)][_0x5eab5d(0x2c0)](_0x525123),_0x103fea=this[_0x5eab5d(0x23f)][_0x5eab5d(0x28d)](_0x21204c,_0x525123,_0x24143e);return _0x103fea[_0x5eab5d(0x3f6)](),_0x103fea;}async[_0x391ebf(0x21f)](_0x34741d){const _0x5d4d2b=_0x391ebf,_0x123ee5=await this[_0x5d4d2b(0x1e8)]['requireSession'](_0x34741d),_0x1b2633=this[_0x5d4d2b(0x23f)][_0x5d4d2b(0x28d)](_0x894493,_0x34741d,_0x123ee5);return _0x1b2633[_0x5d4d2b(0x3f6)](),_0x1b2633;}};_0x198743=_0x2aded3([_0x2b4089(0x0,_0x2ca890[_0x391ebf(0x216)]),_0x2b4089(0x1,_0x2ca890[_0x391ebf(0x2cb)](_0x2ca890[_0x391ebf(0x232)])),_0x2b4089(0x2,_0x2ca890['Inject'](_0x38fa63['CollaborationSessionService']))],_0x198743);const _0x3a4c0c=0x14,_0x2a432c=0xc8,_0x42f348=0x4,_0x176c81=0x5;function _0x23a74d(_0x52ff51,_0xa61a77){const _0x3044dc=_0x391ebf;let {radius:_0x4d0498,width:_0x1bb307,height:_0x7d44b0}=_0xa61a77;_0x4d0498=_0x4d0498!=null?_0x4d0498:0x0,_0x1bb307=_0x1bb307!=null?_0x1bb307:0x1e,_0x7d44b0=_0x7d44b0!=null?_0x7d44b0:0x1e;let _0x82532f=0x0,_0x299a2a=0x0,_0x1f727c=0x0;_0x82532f=_0x299a2a=_0x1f727c=Math[_0x3044dc(0x3d3)](_0x4d0498,_0x1bb307/0x2,_0x7d44b0/0x2),_0x52ff51[_0x3044dc(0x341)](),_0x52ff51[_0x3044dc(0x2ea)](_0x82532f,0x0),_0x52ff51[_0x3044dc(0x2fb)](_0x1bb307-_0x299a2a,0x0),_0x52ff51[_0x3044dc(0x3f7)](_0x1bb307-_0x299a2a,_0x299a2a,_0x299a2a,Math['PI']*0x3/0x2,0x0,!0x1),_0x52ff51[_0x3044dc(0x2fb)](_0x1bb307,_0x7d44b0-_0x1f727c),_0x52ff51['arc'](_0x1bb307-_0x1f727c,_0x7d44b0-_0x1f727c,_0x1f727c,0x0,Math['PI']/0x2,!0x1),_0x52ff51[_0x3044dc(0x2fb)](0x0,_0x7d44b0),_0x52ff51[_0x3044dc(0x2fb)](0x0,_0x82532f),_0x52ff51[_0x3044dc(0x3f7)](_0x82532f,_0x82532f,_0x82532f,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x52ff51[_0x3044dc(0x234)](),_0xa61a77['fill']&&(_0x52ff51[_0x3044dc(0x3a8)](),_0x52ff51['fillStyle']=_0xa61a77[_0x3044dc(0x237)],_0xa61a77[_0x3044dc(0x38a)]==='evenodd'?_0x52ff51['fill'](_0x3044dc(0x32e)):_0x52ff51[_0x3044dc(0x237)](),_0x52ff51[_0x3044dc(0x247)]());}class _0x3290db extends _0x5483ad[_0x391ebf(0x38b)]{constructor(_0x30cd19,_0x4204ac){const _0xc89d58=_0x391ebf;super(_0x30cd19,_0x4204ac),_0xb14004(this,_0xc89d58(0x3d2)),_0xb14004(this,'text'),(this['color']=_0x4204ac==null?void 0x0:_0x4204ac[_0xc89d58(0x3d2)],this['text']=_0x4204ac==null?void 0x0:_0x4204ac[_0xc89d58(0x321)]);}static[_0x391ebf(0x3af)](_0x344e7c,_0x41c3e2){const _0x191b58=_0x391ebf,{text:_0x2d66e1,color:_0xad89ae}=_0x41c3e2;_0x344e7c[_0x191b58(0x3a8)](),_0x344e7c[_0x191b58(0x30c)]=_0x191b58(0x358);const _0x21ec95=_0x344e7c[_0x191b58(0x409)](_0x2d66e1)[_0x191b58(0x30a)],_0x2daf1b=Math[_0x191b58(0x3d3)](_0x21ec95+0x2*_0x42f348,_0x2a432c);_0x23a74d(_0x344e7c,{'height':_0x3a4c0c,'radius':0x4,'width':_0x2daf1b,'fill':_0xad89ae}),_0x344e7c[_0x191b58(0x2c6)]=_0x191b58(0x2b3);const _0x25e56a=_0x42f348,_0x537183=_0x3a4c0c-_0x176c81,_0x502f92=_0x2a432c-0x2*_0x42f348;if(_0x21ec95>_0x502f92){let _0x2c14a5='',_0x554063=0x0;for(const _0x3bb45a of _0x2d66e1){const _0x53c655=_0x344e7c[_0x191b58(0x409)](_0x3bb45a)['width'];if(_0x554063+_0x53c655<=_0x502f92-_0x344e7c['measureText'](_0x191b58(0x3b0))[_0x191b58(0x30a)])_0x2c14a5+=_0x3bb45a,_0x554063+=_0x53c655;else{_0x2c14a5+=_0x191b58(0x3b0);break;}}_0x344e7c['fillText'](_0x2c14a5,_0x25e56a,_0x537183);}else _0x344e7c[_0x191b58(0x439)](_0x2d66e1,_0x25e56a,_0x537183);_0x344e7c[_0x191b58(0x247)]();}[_0x391ebf(0x251)](_0x171be2){const _0x2567fe=_0x391ebf;_0x3290db[_0x2567fe(0x3af)](_0x171be2,this);}}const _0x254280='collab-text-anchor-',_0x143350=_0x391ebf(0x454),_0x13391f=_0x391ebf(0x275),_0x1520f9=0x6,_0x4d8596=1.5,_0x45340e=0x4,_0x5b4209=1.5,_0x5904de=_0x391ebf(0x3c8);class _0x1aee52{constructor(_0x288dcf,_0x259b59,_0x5e6344,_0x53fa2f){const _0x1ebaec=_0x391ebf;_0xb14004(this,_0x1ebaec(0x418),[]),_0xb14004(this,_0x1ebaec(0x336),null),_0xb14004(this,_0x1ebaec(0x3c6),null),_0xb14004(this,'_anchorDot',null),_0xb14004(this,'_hideTimer',null),_0xb14004(this,_0x1ebaec(0x1fd),null),(this[_0x1ebaec(0x46a)]=_0x288dcf,this[_0x1ebaec(0x36b)]=_0x259b59,this[_0x1ebaec(0x2ff)]=_0x5e6344,this[_0x1ebaec(0x200)]=_0x53fa2f,this[_0x1ebaec(0x373)]());}set['_hover'](_0x239319){const _0x184e70=_0x391ebf;_0x239319?(this[_0x184e70(0x1fe)]&&this[_0x184e70(0x1fe)][_0x184e70(0x313)](),this[_0x184e70(0x3c6)]&&this[_0x184e70(0x3c6)][_0x184e70(0x283)]()):(this[_0x184e70(0x1fe)]&&this[_0x184e70(0x1fe)][_0x184e70(0x283)](),this[_0x184e70(0x3c6)]&&this[_0x184e70(0x3c6)]['hide']());}['dispose'](){const _0x2d876c=_0x391ebf;for(const _0x6f287c of this[_0x2d876c(0x418)])_0x6f287c[_0x2d876c(0x25e)]();this[_0x2d876c(0x3c6)]&&this['_textBubble']['dispose'](),this['_anchorDot']&&this['_anchorDot']['dispose'](),this[_0x2d876c(0x336)]&&this[_0x2d876c(0x336)]['dispose'](),this[_0x2d876c(0x1fd)]&&this[_0x2d876c(0x1fd)]();}[_0x391ebf(0x373)](){const _0x271c94=_0x391ebf;var _0x3d948a;const {_docSkeleton:_0x49a68d,_document:_0x47f676}=this,{color:_0x5dbb0b,name:_0x2fe44b,ranges:_0x59336f}=this[_0x271c94(0x46a)],_0x4669df=_0x47f676[_0x271c94(0x3f3)](),{docsLeft:_0x437aca,docsTop:_0xf60d06}=_0x4669df,_0x1bef60=new _0x5e7d5c['NodePositionConvertToCursor'](_0x4669df,_0x49a68d);for(const {startOffset:_0x4ea19c,endOffset:_0x14c00e,rangeType:_0x23580a,segmentId:_0x2a3f2f,segmentPage:_0x21905b,collapsed:_0x27b98e,isActive:_0x5792d5}of _0x59336f){const _0x41577d=_0x49a68d['findNodePositionByCharIndex'](_0x4ea19c,!0x0,_0x2a3f2f,_0x21905b);let _0x5a82a7=_0x49a68d[_0x271c94(0x352)](_0x14c00e,!0x0,_0x2a3f2f,_0x21905b);if(_0x5a82a7==null&&(_0x5a82a7=_0x49a68d[_0x271c94(0x352)](_0x14c00e-0x1,!0x1,_0x2a3f2f,_0x21905b)),_0x5792d5){const {contentBoxPointGroup:_0x326adb}=_0x1bef60[_0x271c94(0x27c)](_0x5a82a7,_0x5a82a7);if(_0x326adb[_0x271c94(0x2aa)]===0x0)continue;this[_0x271c94(0x278)](_0x5dbb0b,_0x326adb,_0x437aca,_0xf60d06,_0x2fe44b),this[_0x271c94(0x1fd)]=this[_0x271c94(0x327)]();}if(_0x41577d&&_0x5a82a7){if(_0x23580a===_0x2ca890[_0x271c94(0x231)]['RECT']){const _0x147eec=new _0x5e7d5c[(_0x271c94(0x1ea))](_0x4669df,_0x49a68d),{pointGroup:_0x348449}=(_0x3d948a=_0x147eec[_0x271c94(0x27c)](_0x41577d,_0x5a82a7))!=null?_0x3d948a:{};if(_0x348449==null||_0x348449[_0x271c94(0x2aa)]===0x0)continue;this[_0x271c94(0x228)](_0x5dbb0b,_0x348449,_0x437aca,_0xf60d06);}else{if(!_0x27b98e){const {borderBoxPointGroup:_0x232c63}=_0x1bef60[_0x271c94(0x27c)](_0x41577d,_0x5a82a7);if(_0x232c63[_0x271c94(0x2aa)]===0x0)continue;this[_0x271c94(0x26e)](_0x5dbb0b,_0x232c63,_0x437aca,_0xf60d06);}}}}}[_0x391ebf(0x278)](_0x1b3ca3,_0x339ced,_0x3b0a0c,_0x4f8153,_0x310c7b){const _0x14e596=_0x391ebf,_0x443f29=this[_0x14e596(0x2e6)](_0x339ced),{left:_0x1102e8,top:_0x5a5d31,height:_0x27b6cf}=_0x443f29,_0x123016=this[_0x14e596(0x261)](),_0x22f5dc=_0x5b4209/_0x123016,_0x4a009c=new _0x5483ad['Rect'](_0x254280+_0x2ca890[_0x14e596(0x451)]['generateRandomId'](_0x1520f9),{'left':_0x1102e8+_0x3b0a0c-_0x22f5dc,'top':_0x5a5d31+_0x4f8153,'height':_0x27b6cf,'width':_0x4d8596,'fill':_0x1b3ca3||_0x5483ad[_0x14e596(0x1f8)](_0x2ca890[_0x14e596(0x3d5)][_0x14e596(0x203)],0x0),'strokeWidth':_0x22f5dc,'stroke':_0x5904de,'evented':!0x0});this[_0x14e596(0x336)]=_0x4a009c,this[_0x14e596(0x36b)][_0x14e596(0x211)](_0x4a009c,_0x5e7d5c[_0x14e596(0x42f)]);const _0x25a3b6=new _0x5483ad[(_0x14e596(0x31b))](_0x254280+_0x2ca890[_0x14e596(0x451)]['generateRandomId'](_0x1520f9),{'left':_0x1102e8+_0x3b0a0c-_0x22f5dc,'top':_0x5a5d31+_0x4f8153-_0x45340e/0x2,'height':_0x45340e,'width':_0x45340e,'fill':_0x1b3ca3||_0x5483ad[_0x14e596(0x1f8)](_0x2ca890[_0x14e596(0x3d5)][_0x14e596(0x203)],0x0),'strokeWidth':0x0,'stroke':_0x1b3ca3||_0x5483ad[_0x14e596(0x1f8)](_0x2ca890[_0x14e596(0x3d5)][_0x14e596(0x203)],0x0),'evented':!0x1});this[_0x14e596(0x1fe)]=_0x25a3b6,this[_0x14e596(0x36b)][_0x14e596(0x211)](_0x25a3b6,_0x5e7d5c['TEXT_RANGE_LAYER_INDEX']);const _0x1914e4=new _0x3290db(_0x254280+_0x2ca890['Tools'][_0x14e596(0x419)](_0x1520f9),{'left':_0x1102e8+_0x3b0a0c-_0x22f5dc,'top':_0x5a5d31+_0x4f8153-_0x3a4c0c,'text':_0x310c7b,'color':_0x1b3ca3});this['_textBubble']=_0x1914e4,this[_0x14e596(0x36b)][_0x14e596(0x211)](_0x1914e4,_0x5e7d5c[_0x14e596(0x42f)]),this[_0x14e596(0x252)]=!0x1;}[_0x391ebf(0x327)](){const _0x9c5c93=_0x391ebf,_0x27597d=this[_0x9c5c93(0x336)][_0x9c5c93(0x376)]['subscribeEvent'](()=>{const _0x76d11e=_0x9c5c93;this[_0x76d11e(0x252)]=!0x0;}),_0x252c45=this[_0x9c5c93(0x336)][_0x9c5c93(0x255)][_0x9c5c93(0x2b8)](()=>{const _0x141c5e=_0x9c5c93;this[_0x141c5e(0x1eb)]&&clearTimeout(this[_0x141c5e(0x1eb)]),this[_0x141c5e(0x1eb)]=setTimeout(()=>{const _0x28172b=_0x141c5e;this[_0x28172b(0x252)]=!0x1;},0x7d0);});return()=>{const _0x2b84b7=_0x9c5c93;_0x27597d[_0x2b84b7(0x21b)](),_0x252c45[_0x2b84b7(0x21b)]();};}[_0x391ebf(0x26e)](_0x42921b,_0x186c3e,_0x3efe97,_0x2b1d3a){const _0x185035=_0x391ebf,_0x3a0f17=new _0x2ca890[(_0x185035(0x2da))](_0x42921b)[_0x185035(0x265)](0.2)[_0x185035(0x2d0)](),_0x23ae27=new _0x5483ad[(_0x185035(0x471))](_0x143350+_0x2ca890[_0x185035(0x451)][_0x185035(0x419)](_0x1520f9),{'pointsGroup':_0x186c3e,'fill':_0x3a0f17||_0x5483ad[_0x185035(0x1f8)](_0x2ca890[_0x185035(0x3d5)][_0x185035(0x203)],0.2),'left':_0x3efe97,'top':_0x2b1d3a,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x185035(0x418)][_0x185035(0x3d1)](_0x23ae27),this[_0x185035(0x36b)][_0x185035(0x211)](_0x23ae27,_0x5e7d5c[_0x185035(0x42f)]);}['_drawRectRange'](_0x5e8e7c,_0x3f125f,_0x70adea,_0x45ca9a){const _0x185066=_0x391ebf,_0x1e1787=new _0x2ca890[(_0x185066(0x2da))](_0x5e8e7c)['setAlpha'](0.2)[_0x185066(0x2d0)](),_0x409000=new _0x5483ad[(_0x185066(0x471))](_0x13391f+_0x2ca890[_0x185066(0x451)][_0x185066(0x419)](_0x1520f9),{'pointsGroup':_0x3f125f,'fill':_0x1e1787||_0x5483ad['getColor'](_0x2ca890[_0x185066(0x3d5)]['black'],0.2),'left':_0x70adea,'top':_0x45ca9a,'evented':!0x1,'debounceParentDirty':!0x1});this['_shapes'][_0x185066(0x3d1)](_0x409000),this[_0x185066(0x36b)][_0x185066(0x211)](_0x409000,_0x5e7d5c[_0x185066(0x42f)]);}['_getAnchorBounding'](_0x18c0b5){const _0x420a6c=_0x18c0b5[0x0],_0x22a89e=_0x420a6c[0x0],_0x5d1a4a=_0x420a6c[0x2],{x:_0x182431,y:_0xf76f14}=_0x22a89e,{x:_0x42788d,y:_0x18424e}=_0x5d1a4a;return{'left':_0x182431,'top':_0xf76f14,'width':_0x42788d-_0x182431,'height':_0x18424e-_0xf76f14};}[_0x391ebf(0x261)](){const _0xc98ec=_0x391ebf,{scaleX:_0x328f50,scaleY:_0x4e348f}=this[_0xc98ec(0x36b)][_0xc98ec(0x353)]();return Math[_0xc98ec(0x25a)](_0x328f50,_0x4e348f);}}var _0x1bb734=Object['getOwnPropertyDescriptor'],_0x199027=(_0xf04287,_0x4e274b,_0x1f3238,_0xaa8a37)=>{const _0x1cfbe1=_0x391ebf;for(var _0x306f84=_0xaa8a37>0x1?void 0x0:_0xaa8a37?_0x1bb734(_0x4e274b,_0x1f3238):_0x4e274b,_0x55fcb9=_0xf04287[_0x1cfbe1(0x2aa)]-0x1,_0x15ed0c;_0x55fcb9>=0x0;_0x55fcb9--)(_0x15ed0c=_0xf04287[_0x55fcb9])&&(_0x306f84=_0x15ed0c(_0x306f84)||_0x306f84);return _0x306f84;},_0x84e9d9=(_0x1ec2dd,_0x163ba0)=>(_0xe38226,_0x2132a0)=>_0x163ba0(_0xe38226,_0x2132a0,_0x1ec2dd);let _0x2cc591=class extends _0x2ca890[_0x391ebf(0x3b9)]{constructor(_0xbbccc,_0x59610b,_0x13128b,_0x26d21a,_0x42b944){const _0x4100ab=_0x391ebf;super(),_0xb14004(this,_0x4100ab(0x3ca),[]),_0xb14004(this,_0x4100ab(0x337),[]),(this[_0x4100ab(0x40d)]=_0xbbccc,this[_0x4100ab(0x2f1)]=_0x59610b,this['_collabCursorController']=_0x13128b,this[_0x4100ab(0x214)]=_0x26d21a,this['_themeService']=_0x42b944,this[_0x4100ab(0x20d)]());}[_0x391ebf(0x20d)](){const _0x37e862=_0x391ebf,_0x17b6c0=this[_0x37e862(0x40d)][_0x37e862(0x3e1)],_0x4a21b7=this[_0x37e862(0x2f1)];this[_0x37e862(0x436)](_0x33e1e6[_0x37e862(0x457)]([this[_0x37e862(0x1f2)][_0x37e862(0x440)](_0x17b6c0),this[_0x37e862(0x416)][_0x37e862(0x3b3)]])['pipe'](_0x57cc1a[_0x37e862(0x312)](([_0x4ca077,_0xaf2fc8])=>({'skeleton':_0x4a21b7['getSkeleton'](),'cursors':[..._0x4ca077[_0x37e862(0x410)]()][_0x37e862(0x342)](_0x30438a=>({..._0x30438a,'color':this['_themeService'][_0x37e862(0x36d)](_0x30438a['color'])}))})))[_0x37e862(0x38c)](_0x37c42c=>{const _0xa6bc13=_0x37e862;if(this[_0xa6bc13(0x39a)](),_0x37c42c){const {skeleton:_0xe50363,cursors:_0x4fe0bc}=_0x37c42c;this[_0xa6bc13(0x3d8)](_0xe50363,_0x4fe0bc);}})),this[_0x37e862(0x2ae)](),this[_0x37e862(0x288)]();}[_0x391ebf(0x3d8)](_0x46da9e,_0x438723){const {scene:_0x4f7a9d,mainComponent:_0x1c7c35}=this['_context'],_0x4dbc8c=_0x438723['map'](_0x33f06f=>new _0x1aee52(_0x33f06f,_0x4f7a9d,_0x46da9e,_0x1c7c35));this['_cursorShapes']=_0x4dbc8c,this['_cursors']=_0x438723;}[_0x391ebf(0x3ea)](){const _0x26ac54=_0x391ebf;this[_0x26ac54(0x39a)]();const {scene:_0x2d01a1,mainComponent:_0x19e546}=this['_context'],_0x2765f6=this['_docSkeletonManagerService'][_0x26ac54(0x38d)](),_0x56a70f=this[_0x26ac54(0x337)][_0x26ac54(0x312)](_0x4ef1c1=>new _0x1aee52(_0x4ef1c1,_0x2d01a1,_0x2765f6,_0x19e546));this[_0x26ac54(0x3ca)]=_0x56a70f;}['_removeCollabCursors'](){const _0x5eda8e=_0x391ebf;this[_0x5eda8e(0x3ca)][_0x5eda8e(0x205)](_0x1ea1b1=>_0x1ea1b1['dispose']()),this[_0x5eda8e(0x3ca)]=[];}[_0x391ebf(0x288)](){const _0x5c3406=_0x391ebf,_0x40a5de=[_0x5e7d5c['SetDocZoomRatioOperation']['id']];this[_0x5c3406(0x436)](this[_0x5c3406(0x214)][_0x5c3406(0x201)](_0x2d6647=>{const _0x5b0ab6=_0x5c3406;_0x40a5de[_0x5b0ab6(0x2a0)](_0x2d6647['id'])&&_0x2d6647[_0x5b0ab6(0x2ec)][_0x5b0ab6(0x3e1)]===this[_0x5b0ab6(0x40d)]['unitId']&&this[_0x5b0ab6(0x3ea)]();}));}[_0x391ebf(0x2ae)](){const _0x395af2=_0x391ebf;this[_0x395af2(0x436)](_0x2ca890['fromEventSubject'](this[_0x395af2(0x40d)]['engine'][_0x395af2(0x447)])[_0x395af2(0x1ef)](_0x57cc1a[_0x395af2(0x2cf)](_0x3a5d4d=>_0x3a5d4d[_0x395af2(0x24d)]===_0x5483ad['TRANSFORM_CHANGE_OBSERVABLE_TYPE']['resize']),_0x57cc1a[_0x395af2(0x2d7)](0x10))['subscribe'](()=>{const _0x1c0e53=_0x395af2;this[_0x1c0e53(0x3ea)]();}));}};_0x2cc591=_0x199027([_0x84e9d9(0x1,_0x2ca890[_0x391ebf(0x2cb)](_0x1486d2['DocSkeletonManagerService'])),_0x84e9d9(0x2,_0x2ca890['Inject'](_0x198743)),_0x84e9d9(0x3,_0x2ca890['ICommandService']),_0x84e9d9(0x4,_0x2ca890[_0x391ebf(0x2cb)](_0x2ca890[_0x391ebf(0x33e)]))],_0x2cc591);const _0x3685ce=0x1,_0x305ae6=1.5;class _0x5dafa9 extends _0x5483ad[_0x391ebf(0x38b)]{constructor(_0x318b1e,_0x1cb00d){const _0x4df1eb=_0x391ebf;super(_0x318b1e,_0x1cb00d),_0xb14004(this,'_color'),_0xb14004(this,_0x4df1eb(0x311),!0x1),_0xb14004(this,_0x4df1eb(0x3ae)),_0xb14004(this,_0x4df1eb(0x39e),''),_0xb14004(this,_0x4df1eb(0x32d),_0x4df1eb(0x40e)),_0xb14004(this,_0x4df1eb(0x24f)),(_0x1cb00d&&this[_0x4df1eb(0x434)](_0x1cb00d),this[_0x4df1eb(0x376)]['subscribeEvent'](()=>this[_0x4df1eb(0x434)]({'hovered':!0x0})),this[_0x4df1eb(0x255)][_0x4df1eb(0x2b8)](()=>this['setShapeProps']({'hovered':!0x1})));}['setShapeProps'](_0x5e0882){const _0x7123ec=_0x391ebf;var _0x58e52d,_0x52f1d5,_0x146baf,_0x20e471,_0x360560,_0x208fc2;this[_0x7123ec(0x435)]=(_0x58e52d=_0x5e0882['color'])!=null?_0x58e52d:this['_color'],this[_0x7123ec(0x311)]=(_0x52f1d5=_0x5e0882[_0x7123ec(0x3bb)])!=null?_0x52f1d5:this[_0x7123ec(0x311)],this['_range']=(_0x146baf=_0x5e0882[_0x7123ec(0x42e)])!=null?_0x146baf:this['_range'],this[_0x7123ec(0x39e)]=(_0x20e471=_0x5e0882['name'])!=null?_0x20e471:this['_name'],this[_0x7123ec(0x32d)]=(_0x360560=_0x5e0882['labelPosition'])!=null?_0x360560:this[_0x7123ec(0x32d)],this['_backgroundColor']=(_0x208fc2=_0x5e0882['backgroundColor'])!=null?_0x208fc2:this[_0x7123ec(0x24f)],this[_0x7123ec(0x468)]({'width':_0x5e0882[_0x7123ec(0x30a)],'height':_0x5e0882[_0x7123ec(0x44c)]});}[_0x391ebf(0x3de)](_0x5ae957){const _0x2de155=_0x391ebf,{row:_0x7bdf4a,column:_0x4f0232}=_0x5ae957;if(_0x7bdf4a>=this[_0x2de155(0x3ae)][_0x2de155(0x1f5)]&&_0x7bdf4a<=this[_0x2de155(0x3ae)][_0x2de155(0x388)]&&_0x4f0232>=this['_range'][_0x2de155(0x2ef)]&&_0x4f0232<=this[_0x2de155(0x3ae)]['endColumn']){this[_0x2de155(0x434)]({'hovered':!0x0});return;}this['setShapeProps']({'hovered':!0x1});}['triggerDblclick'](_0x2c095b){return!0x1;}[_0x391ebf(0x251)](_0x10c77f){const _0xe0c6a6=_0x391ebf;_0x5483ad[_0xe0c6a6(0x31b)][_0xe0c6a6(0x3af)](_0x10c77f,{'width':this[_0xe0c6a6(0x30a)],'height':this['height'],'strokeWidth':_0x305ae6,'stroke':this[_0xe0c6a6(0x435)],'evented':!0x1,'fill':this[_0xe0c6a6(0x24f)]}),this[_0xe0c6a6(0x311)]&&(_0x10c77f[_0xe0c6a6(0x3a8)](),_0x10c77f[_0xe0c6a6(0x3d4)](0x1,0x0,0x0,0x1,this[_0xe0c6a6(0x30a)],this['_labelPosition']===_0xe0c6a6(0x27a)?0x0:-0x14),_0x3290db['drawWith'](_0x10c77f,{'text':this[_0xe0c6a6(0x39e)],'color':this['_color']}),_0x10c77f['restore']());}}var _0x37eebe=Object[_0x391ebf(0x1f0)],_0x2639cd=(_0x5d013c,_0x3c6f61,_0x503e75,_0xa2fbb0)=>{const _0x1773a6=_0x391ebf;for(var _0x5174f8=_0xa2fbb0>0x1?void 0x0:_0xa2fbb0?_0x37eebe(_0x3c6f61,_0x503e75):_0x3c6f61,_0x18ac76=_0x5d013c[_0x1773a6(0x2aa)]-0x1,_0x1d27ef;_0x18ac76>=0x0;_0x18ac76--)(_0x1d27ef=_0x5d013c[_0x18ac76])&&(_0x5174f8=_0x1d27ef(_0x5174f8)||_0x5174f8);return _0x5174f8;},_0x1373b5=(_0x39a52b,_0x24ca83)=>(_0x2a2385,_0x4dae71)=>_0x24ca83(_0x2a2385,_0x4dae71,_0x39a52b);const _0x471fe1=0x1389;let _0x38b921=class extends _0x2ca890[_0x391ebf(0x3b9)]{constructor(_0xdb1696,_0x24e612,_0x54735e,_0x2e063e){const _0xe9b3f=_0x391ebf;super(),_0xb14004(this,_0xe9b3f(0x337),new Set()),_0xb14004(this,_0xe9b3f(0x34e),null),(this[_0xe9b3f(0x40d)]=_0xdb1696,this[_0xe9b3f(0x3dc)]=_0x24e612,this[_0xe9b3f(0x1f2)]=_0x54735e,this[_0xe9b3f(0x416)]=_0x2e063e,this['_init']());}[_0x391ebf(0x20d)](){const _0x50033a=_0x391ebf;this[_0x50033a(0x3dc)][_0x50033a(0x290)][_0x50033a(0x1ef)](_0x57cc1a[_0x50033a(0x1f1)](this[_0x50033a(0x22a)]),_0x57cc1a[_0x50033a(0x268)](_0x97b036=>{const _0x1a762a=_0x50033a;if(_0x97b036){const _0x1b66ed=_0x97b036['sheetId'];return _0x33e1e6[_0x1a762a(0x457)](this[_0x1a762a(0x1f2)][_0x1a762a(0x440)](this[_0x1a762a(0x40d)][_0x1a762a(0x3e1)]),this[_0x1a762a(0x416)]['currentTheme$'])[_0x1a762a(0x1ef)](_0x57cc1a[_0x1a762a(0x312)](([_0x4f9a26,_0x3cc88d])=>{const _0xa52783=_0x1a762a,_0x4cf283=new Map();return _0x4f9a26[_0xa52783(0x205)]((_0x5849b3,_0x1f2c51)=>{const _0x3016e5=_0xa52783;if(_0x5849b3[_0x3016e5(0x2df)]===_0x1b66ed){const _0xb6c309={..._0x5849b3};_0xb6c309[_0x3016e5(0x3d2)]=this['_themeService']['getColorFromTheme'](_0x5849b3[_0x3016e5(0x3d2)]),_0x4cf283['set'](_0x1f2c51,_0xb6c309);}}),{'skeleton':_0x97b036,'cursors':_0x4cf283};}));}return _0x33e1e6['of']({'skeleton':null,'cursors':new Map()});}))[_0x50033a(0x38c)](({skeleton:_0x596aac,cursors:_0x28a5de})=>{const _0x2ca612=_0x50033a;this[_0x2ca612(0x39a)](),_0x596aac&&this[_0x2ca612(0x3d8)](_0x596aac,_0x28a5de);}),this[_0x50033a(0x3dc)][_0x50033a(0x290)][_0x50033a(0x38c)](_0x46bd5c=>{const _0x36f291=_0x50033a;if(_0x46bd5c==null)return;const {skeleton:_0xe86fe2}=_0x46bd5c,{scene:_0x20a65b}=this[_0x36f291(0x40d)];_0x20a65b[_0x36f291(0x1e6)][_0x36f291(0x2b8)](_0x2ca890[_0x36f291(0x371)](_0x36cb5f=>{const _0x1319a3=_0x36f291;var _0x47806b,_0x1bb92e;const {offsetX:_0x3b7361,offsetY:_0x48a37e}=_0x36cb5f,{x:_0x52c1f4,y:_0x1bcd2d}=_0x20a65b[_0x1319a3(0x21c)](_0x5483ad[_0x1319a3(0x3e7)]['FromArray']([_0x3b7361,_0x48a37e])),{scaleX:_0x336e7b,scaleY:_0x2cd5bf}=_0x20a65b['getAncestorScale'](),_0x3a7ab0=_0x20a65b[_0x1319a3(0x45f)](_0x5483ad[_0x1319a3(0x405)][_0x1319a3(0x273)]),_0x255d05=_0x20a65b['getVpScrollXYInfoByPosToVp'](_0x5483ad[_0x1319a3(0x3e7)]['FromArray']([_0x52c1f4,_0x1bcd2d]),_0x3a7ab0),_0x113135=_0xe86fe2[_0x1319a3(0x28f)](_0x3b7361,_0x48a37e,_0x336e7b,_0x2cd5bf,_0x255d05);((_0x47806b=this[_0x1319a3(0x34e)])==null?void 0x0:_0x47806b[_0x1319a3(0x3d0)])===_0x113135[_0x1319a3(0x3d0)]&&((_0x1bb92e=this[_0x1319a3(0x34e)])==null?void 0x0:_0x1bb92e[_0x1319a3(0x45b)])===_0x113135[_0x1319a3(0x45b)]||this[_0x1319a3(0x337)][_0x1319a3(0x205)](_0x15c727=>{_0x15c727['onMouseMove'](_0x113135);});},0x64));});}[_0x391ebf(0x3d8)](_0x2db302,_0x33107d){const _0x54d7a1=_0x391ebf;var _0x36c969;const _0x403f8b=(_0x36c969=this[_0x54d7a1(0x3dc)][_0x54d7a1(0x39d)]())==null?void 0x0:_0x36c969[_0x54d7a1(0x3f9)];if(!_0x403f8b)return;const _0x36c9fd=this[_0x54d7a1(0x230)]();if(!_0x36c9fd)return;this['_cursors']['forEach'](_0x5ced0c=>{const _0x19fc9a=_0x54d7a1;_0x5ced0c[_0x19fc9a(0x34a)]();});const {scene:_0x506117}=_0x36c9fd,_0x50db16=_0x41a01b(Array[_0x54d7a1(0x2b7)](_0x33107d[_0x54d7a1(0x410)]()))[_0x54d7a1(0x312)](_0x2b82d8=>{const _0x1f1a99=_0x54d7a1,{color:_0x3af9f3,range:_0x4632c1,name:_0x72d3d2,selection:_0x3add3c,sheetID:_0xfa79b0}=_0x2b82d8,{startColumn:_0x309d0e,startRow:_0x32f968,endColumn:_0x10ab32,endRow:_0x24b47c}=_0x4632c1,_0xc991f9=_0x5e27d1[_0x1f1a99(0x269)](_0x32f968,_0x309d0e,_0x506117,_0x403f8b),_0x352501=_0x5e27d1[_0x1f1a99(0x269)](_0x24b47c,_0x10ab32,_0x506117,_0x403f8b),{columnHeaderHeightAndMarginTop:_0xd38f9d}=_0x403f8b,{startX:_0x58ebae,startY:_0xb2a311}=_0xc991f9,{endX:_0x2ced95,endY:_0x11f661}=_0x352501,_0x14b3b3=_0x2ced95-_0x58ebae,_0xe4db91=_0x11f661-_0xb2a311,_0x362d40={'labelPosition':_0xb2a311-_0xd38f9d>=_0x3a4c0c?'top':_0x1f1a99(0x27a),'sheetID':_0xfa79b0,'range':_0x4632c1,'color':_0x3af9f3,'name':_0x72d3d2,'selection':_0x3add3c,'left':_0x58ebae,'top':_0xb2a311,'width':_0x14b3b3,'height':_0xe4db91,'evented':!0x1,'zIndex':_0x471fe1};return new _0x5dafa9(_0x72d3d2,_0x362d40);});_0x506117[_0x54d7a1(0x2fc)](_0x50db16,_0x3685ce),this[_0x54d7a1(0x337)]=new Set(_0x50db16);}[_0x391ebf(0x39a)](){const _0x220699=_0x391ebf;var _0x5d2535;(_0x5d2535=this[_0x220699(0x337)])==null||_0x5d2535[_0x220699(0x205)](_0x281759=>_0x281759['dispose']());}[_0x391ebf(0x230)](){const _0x5221e4=_0x391ebf;return _0x5e27d1[_0x5221e4(0x2dc)](this['_context'][_0x5221e4(0x392)],this['_context']);}};_0x38b921=_0x2639cd([_0x1373b5(0x1,_0x2ca890[_0x391ebf(0x2cb)](_0x5e27d1[_0x391ebf(0x23a)])),_0x1373b5(0x2,_0x2ca890[_0x391ebf(0x2cb)](_0x198743)),_0x1373b5(0x3,_0x2ca890[_0x391ebf(0x2cb)](_0x2ca890[_0x391ebf(0x33e)]))],_0x38b921);function _0x41a01b(_0x2ea371){const _0x9fbbe1=_0x391ebf,_0x2388d7=new Map();return _0x2ea371[_0x9fbbe1(0x205)](_0x387946=>{const _0x88f5ad=_0x9fbbe1;if(_0x2388d7[_0x88f5ad(0x202)](_0x387946[_0x88f5ad(0x44f)])){const _0x35ea03=_0x2388d7[_0x88f5ad(0x266)](_0x387946[_0x88f5ad(0x44f)]);_0x35ea03[_0x88f5ad(0x20e)]+=',\x20'+_0x387946[_0x88f5ad(0x20e)];}else _0x2388d7[_0x88f5ad(0x40b)](_0x387946['selection'],_0x387946);}),Array[_0x9fbbe1(0x2b7)](_0x2388d7['values']());}var _0x2f3862=function(){const _0x144c3c=_0x391ebf;return _0x2f3862=Object['assign']||function(_0x41da68){const _0x4b724a=_0x4b14;for(var _0x4fc95a,_0x192ecd=0x1,_0x3871e5=arguments[_0x4b724a(0x2aa)];_0x192ecd<_0x3871e5;_0x192ecd++){_0x4fc95a=arguments[_0x192ecd];for(var _0x2ca101 in _0x4fc95a)Object[_0x4b724a(0x43d)][_0x4b724a(0x37e)]['call'](_0x4fc95a,_0x2ca101)&&(_0x41da68[_0x2ca101]=_0x4fc95a[_0x2ca101]);}return _0x41da68;},_0x2f3862[_0x144c3c(0x2d9)](this,arguments);},_0x3ce2ea=function(_0x343c2f,_0x379354){const _0x5531fb=_0x391ebf;var _0x2a5ce9={};for(var _0x2f3e2f in _0x343c2f)Object[_0x5531fb(0x43d)][_0x5531fb(0x37e)]['call'](_0x343c2f,_0x2f3e2f)&&_0x379354[_0x5531fb(0x274)](_0x2f3e2f)<0x0&&(_0x2a5ce9[_0x2f3e2f]=_0x343c2f[_0x2f3e2f]);if(_0x343c2f!=null&&typeof Object[_0x5531fb(0x2f5)]=='function'){for(var _0x57ce6c=0x0,_0x2f3e2f=Object[_0x5531fb(0x2f5)](_0x343c2f);_0x57ce6c<_0x2f3e2f['length'];_0x57ce6c++)_0x379354[_0x5531fb(0x274)](_0x2f3e2f[_0x57ce6c])<0x0&&Object[_0x5531fb(0x43d)]['propertyIsEnumerable'][_0x5531fb(0x248)](_0x343c2f,_0x2f3e2f[_0x57ce6c])&&(_0x2a5ce9[_0x2f3e2f[_0x57ce6c]]=_0x343c2f[_0x2f3e2f[_0x57ce6c]]);}return _0x2a5ce9;},_0x20c42d=_0x21d90f[_0x391ebf(0x244)](function(_0x4e8f29,_0x427a7f){const _0x2e7b6e=_0x391ebf;var _0x255c5a=_0x4e8f29[_0x2e7b6e(0x208)],_0x282073=_0x4e8f29['id'],_0x2ddec0=_0x4e8f29[_0x2e7b6e(0x258)],_0xf4eb47=_0x4e8f29[_0x2e7b6e(0x3fb)],_0x433725=_0x3ce2ea(_0x4e8f29,['icon','id',_0x2e7b6e(0x258),_0x2e7b6e(0x3fb)]),_0x3fa0d5='univerjs-icon\x20univerjs-icon-'[_0x2e7b6e(0x35d)](_0x282073,'\x20')[_0x2e7b6e(0x35d)](_0x2ddec0||'')[_0x2e7b6e(0x3a1)](),_0x4e28bb=_0x21d90f[_0x2e7b6e(0x3e2)]('_'[_0x2e7b6e(0x35d)](_0x5c49e6()));return _0x415723(_0x255c5a,''['concat'](_0x282073),{'defIds':_0x255c5a[_0x2e7b6e(0x254)],'idSuffix':_0x4e28bb['current']},_0x2f3862({'ref':_0x427a7f,'className':_0x3fa0d5},_0x433725),_0xf4eb47);});function _0x415723(_0x298f84,_0x68146a,_0x251048,_0x428b22,_0x37d2fc){const _0xbd9ac3=_0x391ebf;return _0x21d90f[_0xbd9ac3(0x355)](_0x298f84[_0xbd9ac3(0x277)],_0x2f3862(_0x2f3862({'key':_0x68146a},_0x172a0d(_0x298f84,_0x251048,_0x37d2fc)),_0x428b22),(_0x25d854(_0x298f84,_0x251048)[_0xbd9ac3(0x2c8)]||[])[_0xbd9ac3(0x312)](function(_0x12e66d,_0x434bd3){const _0x571bd5=_0xbd9ac3;return _0x415723(_0x12e66d,''[_0x571bd5(0x35d)](_0x68146a,'-')[_0x571bd5(0x35d)](_0x298f84[_0x571bd5(0x277)],'-')[_0x571bd5(0x35d)](_0x434bd3),_0x251048,void 0x0,_0x37d2fc);}));}function _0x172a0d(_0x2f2903,_0x4dd21c,_0x4058d9){const _0x268aa6=_0x391ebf;var _0x12a75e=_0x2f3862({},_0x2f2903[_0x268aa6(0x2c7)]);_0x4058d9!=null&&_0x4058d9[_0x268aa6(0x45c)]&&_0x12a75e[_0x268aa6(0x237)]===_0x268aa6(0x45c)&&(_0x12a75e['fill']=_0x4058d9[_0x268aa6(0x45c)]),_0x2f2903[_0x268aa6(0x277)]===_0x268aa6(0x284)&&_0x12a75e['id']&&(_0x12a75e['id']=_0x12a75e['id']+_0x4dd21c[_0x268aa6(0x2a1)]),Object['entries'](_0x12a75e)[_0x268aa6(0x205)](function(_0x4abe28){const _0x2a61e4=_0x268aa6;var _0x343fcf=_0x4abe28[0x0],_0x44b615=_0x4abe28[0x1];_0x343fcf===_0x2a61e4(0x284)&&typeof _0x44b615=='string'&&(_0x12a75e[_0x343fcf]=_0x44b615[_0x2a61e4(0x20c)](/url\(#(.*)\)/,_0x2a61e4(0x43a)['concat'](_0x4dd21c[_0x2a61e4(0x2a1)],')')));});var _0xd05275=_0x4dd21c[_0x268aa6(0x254)];return!_0xd05275||_0xd05275[_0x268aa6(0x2aa)]===0x0||(_0x2f2903[_0x268aa6(0x277)]===_0x268aa6(0x2f2)&&_0x12a75e['xlink:href']&&(_0x12a75e[_0x268aa6(0x427)]=_0x12a75e[_0x268aa6(0x427)]+_0x4dd21c[_0x268aa6(0x2a1)]),Object[_0x268aa6(0x301)](_0x12a75e)[_0x268aa6(0x205)](function(_0x53237b){const _0x4f8fde=_0x268aa6;var _0x5c2037=_0x53237b[0x0],_0x36881f=_0x53237b[0x1];typeof _0x36881f=='string'&&(_0x12a75e[_0x5c2037]=_0x36881f['replace'](/url\(#(.*)\)/,_0x4f8fde(0x43a)[_0x4f8fde(0x35d)](_0x4dd21c['idSuffix'],')')));})),_0x12a75e;}function _0x25d854(_0x16b015,_0x41f5c7){const _0x48b895=_0x391ebf;var _0x542351,_0x4877eb=_0x41f5c7[_0x48b895(0x254)];return!_0x4877eb||_0x4877eb[_0x48b895(0x2aa)]===0x0?_0x16b015:_0x16b015[_0x48b895(0x277)]==='defs'&&(!((_0x542351=_0x16b015[_0x48b895(0x2c8)])===null||_0x542351===void 0x0)&&_0x542351['length'])?_0x2f3862(_0x2f3862({},_0x16b015),{'children':_0x16b015[_0x48b895(0x2c8)][_0x48b895(0x312)](function(_0x4bd7b7){const _0x35dbea=_0x48b895;return typeof _0x4bd7b7['attrs']['id']==_0x35dbea(0x2b1)&&_0x4877eb&&_0x4877eb[_0x35dbea(0x2a0)](_0x4bd7b7[_0x35dbea(0x2c7)]['id'])?_0x2f3862(_0x2f3862({},_0x4bd7b7),{'attrs':_0x2f3862(_0x2f3862({},_0x4bd7b7[_0x35dbea(0x2c7)]),{'id':_0x4bd7b7[_0x35dbea(0x2c7)]['id']+_0x41f5c7[_0x35dbea(0x2a1)]})}):_0x4bd7b7;})}):_0x16b015;}function _0x5c49e6(){const _0x8cfd9=_0x391ebf;return Math['random']()['toString'](0x24)[_0x8cfd9(0x2c3)](0x2,0x8);}_0x20c42d[_0x391ebf(0x256)]='UniverIcon';var _0x473edb={'tag':_0x391ebf(0x344),'attrs':{'xmlns':'http://www.w3.org/2000/svg','fill':'none','viewBox':_0x391ebf(0x267),'width':_0x391ebf(0x1ff),'height':_0x391ebf(0x1ff)},'children':[{'tag':'g','attrs':{'clipPath':_0x391ebf(0x44e)},'children':[{'tag':_0x391ebf(0x44b),'attrs':{'stroke':_0x391ebf(0x2eb),'d':_0x391ebf(0x399),'strokeLinecap':'round','strokeLinejoin':_0x391ebf(0x369),'strokeWidth':1.2}}]},{'tag':'defs','attrs':{},'children':[{'tag':_0x391ebf(0x3e8),'attrs':{'id':'off-line-icon_clip0_910_343'},'children':[{'tag':_0x391ebf(0x44b),'attrs':{'fill':'white','d':_0x391ebf(0x44d)}}]}]}],'defIds':[_0x391ebf(0x28b)]},_0x5181bd=_0x21d90f['forwardRef'](function(_0x3080f8,_0x313da9){const _0x1b3cf1=_0x391ebf;return _0x21d90f['createElement'](_0x20c42d,Object[_0x1b3cf1(0x225)]({},_0x3080f8,{'id':_0x1b3cf1(0x374),'ref':_0x313da9,'icon':_0x473edb}));});_0x5181bd[_0x391ebf(0x256)]=_0x391ebf(0x2a5);var _0x2e249e={'tag':_0x391ebf(0x344),'attrs':{'xmlns':'http://www.w3.org/2000/svg','fill':'none','viewBox':_0x391ebf(0x2ed),'width':'1em','height':_0x391ebf(0x1ff)},'children':[{'tag':'g','attrs':{'clipPath':_0x391ebf(0x365)},'children':[{'tag':_0x391ebf(0x44b),'attrs':{'stroke':_0x391ebf(0x2eb),'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':_0x391ebf(0x369),'strokeLinejoin':_0x391ebf(0x369),'strokeWidth':1.2}}]},{'tag':_0x391ebf(0x317),'attrs':{},'children':[{'tag':_0x391ebf(0x3e8),'attrs':{'id':_0x391ebf(0x2e7)},'children':[{'tag':'path','attrs':{'fill':'white','d':_0x391ebf(0x44d),'transform':'translate(.97)'}}]}]}],'defIds':[_0x391ebf(0x2e7)]},_0x104de9=_0x21d90f['forwardRef'](function(_0xb724e9,_0x5e5e27){const _0x5d3f58=_0x391ebf;return _0x21d90f[_0x5d3f58(0x355)](_0x20c42d,Object[_0x5d3f58(0x225)]({},_0xb724e9,{'id':'on-line-icon','ref':_0x5e5e27,'icon':_0x2e249e}));});_0x104de9[_0x391ebf(0x256)]=_0x391ebf(0x24c);function _0x251e53(_0x140c6d){const _0x3a5b1d=_0x391ebf;switch(_0x140c6d){case _0x38fa63[_0x3a5b1d(0x264)][_0x3a5b1d(0x335)]:return _0x3a5b1d(0x2b6);case _0x38fa63['CollaborationStatus']['CONFLICT']:return _0x3a5b1d(0x29c);case _0x38fa63[_0x3a5b1d(0x264)][_0x3a5b1d(0x411)]:return _0x3a5b1d(0x29b);case _0x38fa63[_0x3a5b1d(0x264)][_0x3a5b1d(0x302)]:return'collabStatus.notCollab';case _0x38fa63[_0x3a5b1d(0x264)]['AWAITING']:case _0x38fa63[_0x3a5b1d(0x264)]['AWAITING_WITH_PENDING']:return'collabStatus.syncing';case _0x38fa63['CollaborationStatus']['SYNCED']:case _0x38fa63[_0x3a5b1d(0x264)]['PENDING']:return _0x3a5b1d(0x3d9);}}function _0x412836(_0x36594a){const _0x28ab75=_0x391ebf,{status$:_0x139282}=_0x36594a,_0x5a8c35=_0x3587ae['useObservable'](_0x139282,_0x38fa63[_0x28ab75(0x264)][_0x28ab75(0x302)]),_0x127aac=_0x3587ae['useDependency'](_0x2ca890['LocaleService']),_0x4f87b0=_0x3587ae[_0x28ab75(0x2fe)](_0x38fa63[_0x28ab75(0x364)]),_0x2ce440=_0x5a8c35!==_0x38fa63[_0x28ab75(0x264)][_0x28ab75(0x335)],_0x3ac50e=_0x127aac['t'](_0x251e53(_0x5a8c35)),_0x13881d=_0x2ce440?_0x1548bc[_0x28ab75(0x42d)](_0x104de9,{}):_0x1548bc[_0x28ab75(0x42d)](_0x5181bd,{}),_0x18cc37=_0x21d90f[_0x28ab75(0x33b)](()=>{const _0x3989fc=_0x28ab75;_0x2ce440||_0x4f87b0[_0x3989fc(0x3df)]();},[_0x2ce440,_0x4f87b0]);function _0x4f53ee(){const _0x4303d4=_0x28ab75;return _0x1548bc[_0x4303d4(0x46d)]('div',{'className':'univer-flex\x20univer-items-center','onClick':_0x18cc37,'children':[_0x1548bc[_0x4303d4(0x42d)]('div',{'className':_0xff817b[_0x4303d4(0x386)](_0x4303d4(0x37f),{'univer-text-green-500':_0x2ce440,'univer-text-red-500':!_0x2ce440}),'children':_0x13881d}),_0x1548bc['jsx'](_0x4303d4(0x26a),{'className':_0x4303d4(0x207),'children':_0x3ac50e})]});}return _0x2ce440?_0x4f53ee():_0x1548bc[_0x28ab75(0x42d)](_0xff817b[_0x28ab75(0x2c9)],{'title':_0x127aac['t']('collab-client.tooltip.reconnect'),'children':_0x4f53ee()});}var _0x2b76bc=Object[_0x391ebf(0x1f0)],_0x2a8e7f=(_0x2cd637,_0x43bfa3,_0x1c5d4e,_0x26a4b0)=>{const _0x3ff6db=_0x391ebf;for(var _0x2a7b2c=_0x26a4b0>0x1?void 0x0:_0x26a4b0?_0x2b76bc(_0x43bfa3,_0x1c5d4e):_0x43bfa3,_0x963c6e=_0x2cd637[_0x3ff6db(0x2aa)]-0x1,_0x1e317e;_0x963c6e>=0x0;_0x963c6e--)(_0x1e317e=_0x2cd637[_0x963c6e])&&(_0x2a7b2c=_0x1e317e(_0x2a7b2c)||_0x2a7b2c);return _0x2a7b2c;},_0x5d7fea=(_0x29a4ab,_0x3749ef)=>(_0x1f1755,_0x430ae8)=>_0x3749ef(_0x1f1755,_0x430ae8,_0x29a4ab);_0x5afeab[_0x391ebf(0x2e5)]=class extends _0x2ca890[_0x391ebf(0x445)]{constructor(_0x3651df,_0x4f943d,_0x4f72fc,_0x330678){const _0x175f20=_0x391ebf;super(),_0xb14004(this,'_status$',new _0x33e1e6[(_0x175f20(0x2af))](_0x38fa63[_0x175f20(0x264)][_0x175f20(0x302)])),(this['_univerInstanceService']=_0x3651df,this[_0x175f20(0x23f)]=_0x4f943d,this[_0x175f20(0x23c)]=_0x4f72fc,this[_0x175f20(0x3b2)]=_0x330678,this[_0x175f20(0x30e)](),this['_initStatusListener']());}[_0x391ebf(0x3bc)](){const _0x1b9a5f=_0x391ebf;this[_0x1b9a5f(0x436)](this[_0x1b9a5f(0x309)][_0x1b9a5f(0x2cc)][_0x1b9a5f(0x1ef)](_0x33e1e6[_0x1b9a5f(0x268)](()=>{const _0x45304e=_0x1b9a5f,_0x224d5b=this[_0x45304e(0x309)][_0x45304e(0x27d)]();return _0x224d5b?this['_collaborationController'][_0x45304e(0x3f2)](_0x224d5b[_0x45304e(0x2c4)]()):_0x33e1e6['of'](null);}),_0x33e1e6['switchMap'](_0x27cc25=>_0x27cc25?_0x27cc25[_0x1b9a5f(0x2a9)]:_0x33e1e6['of'](_0x38fa63[_0x1b9a5f(0x264)]['NOT_COLLAB'])))[_0x1b9a5f(0x38c)](_0x139783=>{const _0x2aa7a2=_0x1b9a5f;this[_0x2aa7a2(0x41e)][_0x2aa7a2(0x219)](_0x139783);}));}['_initStatusComponent'](){const _0xf4e228=_0x391ebf;this[_0xf4e228(0x436)](this[_0xf4e228(0x3b2)]['registerComponent'](_0x3587ae[_0xf4e228(0x3d6)]['HEADER_MENU'],()=>_0x3587ae['connectInjector'](_0x2ba73e({'status$':this[_0xf4e228(0x41e)][_0xf4e228(0x238)]()}),this[_0xf4e228(0x23f)])));}},_0x5afeab[_0x391ebf(0x2e5)]=_0x2a8e7f([_0x5d7fea(0x0,_0x2ca890[_0x391ebf(0x216)]),_0x5d7fea(0x1,_0x2ca890[_0x391ebf(0x2cb)](_0x2ca890['Injector'])),_0x5d7fea(0x2,_0x2ca890[_0x391ebf(0x2cb)](_0x38fa63[_0x391ebf(0x3e4)])),_0x5d7fea(0x3,_0x3587ae['IUIPartsService'])],_0x5afeab[_0x391ebf(0x2e5)]);function _0x2ba73e(_0x12b01e){const {status$:_0xf12c6}=_0x12b01e;return function(){const _0x1d46cb=_0x4b14;return _0x1548bc[_0x1d46cb(0x42d)](_0x412836,{'status$':_0xf12c6});};}var _0x5eb3a9=Object[_0x391ebf(0x1f0)],_0x33fe95=(_0x53106c,_0x160c9b,_0x56847c,_0x43c6b6)=>{const _0x540385=_0x391ebf;for(var _0x9acc42=_0x43c6b6>0x1?void 0x0:_0x43c6b6?_0x5eb3a9(_0x160c9b,_0x56847c):_0x160c9b,_0xb49c92=_0x53106c[_0x540385(0x2aa)]-0x1,_0x3b2cb6;_0xb49c92>=0x0;_0xb49c92--)(_0x3b2cb6=_0x53106c[_0xb49c92])&&(_0x9acc42=_0x3b2cb6(_0x9acc42)||_0x9acc42);return _0x9acc42;},_0x5e6703=(_0x543ec1,_0x2b28f1)=>(_0x2b2431,_0x4d744c)=>_0x2b28f1(_0x2b2431,_0x4d744c,_0x543ec1);let _0x353d66=class extends _0x2ca890['Disposable']{constructor(_0x542b04,_0x5148c4,_0x4b34ec,_0x5b5e1f,_0x143e29,_0x4f71be){const _0x1d4ae1=_0x391ebf;super(),this['_beforeCloseService']=_0x542b04,this[_0x1d4ae1(0x407)]=_0x5148c4,this[_0x1d4ae1(0x3ac)]=_0x4b34ec,this[_0x1d4ae1(0x35e)]=_0x5b5e1f,this[_0x1d4ae1(0x31a)]=_0x143e29,this['_localeService']=_0x4f71be,this[_0x1d4ae1(0x432)](),this['_initEvent']();}[_0x391ebf(0x432)](){const _0x42f503=_0x391ebf;this['disposeWithMe'](this['_beforeCloseService'][_0x42f503(0x3ed)](()=>{const _0x38c934=_0x42f503;if(this[_0x38c934(0x407)][_0x38c934(0x28e)][_0x38c934(0x30d)])return this[_0x38c934(0x38f)]['t'](_0x38c934(0x383));}));}[_0x391ebf(0x3c2)](){const _0x47bb1a=_0x391ebf;this[_0x47bb1a(0x436)](this[_0x47bb1a(0x3ac)][_0x47bb1a(0x389)][_0x47bb1a(0x38c)](_0x2e826b=>{const _0x1f01a2=_0x47bb1a;_0x2e826b['id']===_0x38fa63[_0x1f01a2(0x2ac)][_0x1f01a2(0x381)]&&this[_0x1f01a2(0x35e)]['show']({'type':_0xff817b['MessageType'][_0x1f01a2(0x338)],'content':this['_localeService']['t'](_0x1f01a2(0x2c1))}),_0x2e826b['id']===_0x38fa63[_0x1f01a2(0x2ac)][_0x1f01a2(0x32c)]&&this[_0x1f01a2(0x35e)][_0x1f01a2(0x283)]({'type':_0xff817b[_0x1f01a2(0x2d1)][_0x1f01a2(0x338)],'content':this['_localeService']['t']('collaboration.closeRoom')}),_0x2e826b['id']===_0x38fa63['CollaborationUIEventId'][_0x1f01a2(0x3bf)]&&this[_0x1f01a2(0x31a)][_0x1f01a2(0x283)]({'title':this[_0x1f01a2(0x38f)]['t'](_0x1f01a2(0x3ef)),'content':this[_0x1f01a2(0x38f)]['t'](_0x1f01a2(0x3c4)),'type':_0x1f01a2(0x390),'duration':0x0}),_0x2e826b['id']===_0x38fa63[_0x1f01a2(0x2ac)][_0x1f01a2(0x3a9)]&&this[_0x1f01a2(0x35e)][_0x1f01a2(0x283)]({'type':_0xff817b[_0x1f01a2(0x2d1)][_0x1f01a2(0x425)],'content':this[_0x1f01a2(0x38f)]['t']('collaboration.closeRoom')+'('+_0x2e826b[_0x1f01a2(0x349)]+')'}),_0x2e826b['id']===_0x38fa63[_0x1f01a2(0x2ac)][_0x1f01a2(0x456)]&&this[_0x1f01a2(0x35e)]['show']({'type':_0xff817b[_0x1f01a2(0x2d1)][_0x1f01a2(0x338)],'content':this['_localeService']['t'](_0x2e826b[_0x1f01a2(0x349)]||'')}),_0x2e826b['id']===_0x38fa63[_0x1f01a2(0x2ac)][_0x1f01a2(0x334)]&&this[_0x1f01a2(0x35e)][_0x1f01a2(0x283)]({'type':_0xff817b[_0x1f01a2(0x2d1)][_0x1f01a2(0x338)],'content':this[_0x1f01a2(0x38f)]['t'](_0x1f01a2(0x286))}),_0x2e826b['id']===_0x38fa63['CollaborationUIEventId'][_0x1f01a2(0x2de)]&&this[_0x1f01a2(0x35e)][_0x1f01a2(0x283)]({'type':_0xff817b[_0x1f01a2(0x2d1)][_0x1f01a2(0x425)],'content':this[_0x1f01a2(0x38f)]['t'](_0x1f01a2(0x26f))}),_0x2e826b['id']===_0x38fa63[_0x1f01a2(0x2ac)][_0x1f01a2(0x3ad)]&&this[_0x1f01a2(0x35e)]['show']({'type':_0xff817b['MessageType'][_0x1f01a2(0x425)],'content':this[_0x1f01a2(0x38f)]['t'](_0x1f01a2(0x316))});}));}};_0x353d66=_0x33fe95([_0x5e6703(0x0,_0x3587ae[_0x391ebf(0x287)]),_0x5e6703(0x1,_0x38fa63[_0x391ebf(0x3a2)]),_0x5e6703(0x2,_0x2ca890[_0x391ebf(0x2cb)](_0x38fa63['CollaborationUIEventService'])),_0x5e6703(0x3,_0x3587ae['IMessageService']),_0x5e6703(0x4,_0x3587ae[_0x391ebf(0x20a)]),_0x5e6703(0x5,_0x2ca890['Inject'](_0x2ca890['LocaleService']))],_0x353d66);const _0x3aae9c=_0x391ebf(0x2d3),_0x28842c={},_0x289033=_0x2ca890['createIdentifier'](_0x391ebf(0x22d));var _0x20738c=Object[_0x391ebf(0x1f0)],_0x2c8415=(_0x128fb9,_0x582474,_0x5aa437,_0x8dc648)=>{const _0x2691dd=_0x391ebf;for(var _0x3c5983=_0x8dc648>0x1?void 0x0:_0x8dc648?_0x20738c(_0x582474,_0x5aa437):_0x582474,_0x42accb=_0x128fb9[_0x2691dd(0x2aa)]-0x1,_0x43328a;_0x42accb>=0x0;_0x42accb--)(_0x43328a=_0x128fb9[_0x42accb])&&(_0x3c5983=_0x43328a(_0x3c5983)||_0x3c5983);return _0x3c5983;},_0x331118=(_0x2d2e71,_0x34a01f)=>(_0x5b8f02,_0x5494a4)=>_0x34a01f(_0x5b8f02,_0x5494a4,_0x2d2e71);_0x5afeab[_0x391ebf(0x394)]=class extends _0x2ca890[_0x391ebf(0x3b9)]{constructor(_0x20259,_0x26db06,_0x59c6a1,_0x3e625e,_0x277e55){const _0x40e78c=_0x391ebf;super(),this[_0x40e78c(0x417)]=_0x20259,this[_0x40e78c(0x379)]=_0x26db06,this[_0x40e78c(0x214)]=_0x59c6a1,this[_0x40e78c(0x223)]=_0x3e625e,_0x277e55?_0x277e55==null||_0x277e55[_0x40e78c(0x404)]()[_0x40e78c(0x45e)](()=>this[_0x40e78c(0x20d)]()):(this[_0x40e78c(0x379)][_0x40e78c(0x226)](_0x40e78c(0x319),'No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.'),this[_0x40e78c(0x20d)]());}async['_init'](){const _0x43500f=_0x391ebf,_0x57aef9=this['_urlService'][_0x43500f(0x433)]('unit'),_0x1e2642=this[_0x43500f(0x417)][_0x43500f(0x433)](_0x43500f(0x24d)),_0x1114fe=this[_0x43500f(0x417)][_0x43500f(0x433)](_0x43500f(0x20f));if(!_0x57aef9||!_0x1e2642){this['_logService'][_0x43500f(0x226)](_0x43500f(0x319),'No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.');return;}const _0x5cb800=await this[_0x43500f(0x223)][_0x43500f(0x210)](_0x57aef9,Number(_0x1e2642),_0x1114fe);_0x5cb800&&_0x5cb800 instanceof _0x2ca890[_0x43500f(0x350)]&&this[_0x43500f(0x2b5)](_0x5cb800);}async[_0x391ebf(0x2b5)](_0x32580a){const _0x4fce8a=_0x391ebf;await this['_updateSubUnitFromURLParams'](_0x32580a),_0x32580a['activeSheet$'][_0x4fce8a(0x1ef)](_0x33e1e6[_0x4fce8a(0x1f1)](this[_0x4fce8a(0x22a)]))[_0x4fce8a(0x38c)](_0x564726=>{const _0x18e7f4=_0x4fce8a;_0x564726&&this[_0x18e7f4(0x36a)](_0x564726);}),this['_urlService']['urlChange$']['pipe'](_0x33e1e6['takeUntil'](this[_0x4fce8a(0x22a)]))[_0x4fce8a(0x38c)](()=>this[_0x4fce8a(0x298)](_0x32580a));}[_0x391ebf(0x36a)](_0x143e14,_0x199261=!0x1){const _0x3193f3=_0x391ebf,_0xabd1a1=this[_0x3193f3(0x417)][_0x3193f3(0x433)](_0x3193f3(0x20f));_0x143e14[_0x3193f3(0x421)]()!==_0xabd1a1&&this[_0x3193f3(0x417)][_0x3193f3(0x22c)](_0x3193f3(0x20f),_0x143e14['getSheetId'](),_0x199261);}async[_0x391ebf(0x298)](_0x36dd4b){const _0x4085ee=_0x391ebf;var _0x2ba352;const _0x4a87ee=this[_0x4085ee(0x417)]['getParam']('subunit');if(!_0x4a87ee||!_0x36dd4b[_0x4085ee(0x276)](_0x4a87ee)){const _0x15d29c=_0x36dd4b[_0x4085ee(0x1f7)]()[0x0],_0x128cba=_0x36dd4b['getSheetBySheetId'](_0x15d29c);if(!_0x128cba)return;this[_0x4085ee(0x36a)](_0x128cba,!0x0),await this[_0x4085ee(0x214)][_0x4085ee(0x3c5)](_0x2ce713[_0x4085ee(0x27e)]['id'],{'unitId':_0x36dd4b[_0x4085ee(0x2c4)](),'subUnitId':_0x15d29c});return;}((_0x2ba352=_0x36dd4b['getActiveSheet']())==null?void 0x0:_0x2ba352[_0x4085ee(0x421)]())!==_0x4a87ee&&await this[_0x4085ee(0x214)][_0x4085ee(0x3c5)](_0x2ce713['SetWorksheetActivateCommand']['id'],{'unitId':_0x36dd4b['getUnitId'](),'subUnitId':_0x4a87ee});}},_0x5afeab[_0x391ebf(0x394)]=_0x2c8415([_0x331118(0x0,_0x289033),_0x331118(0x1,_0x2ca890[_0x391ebf(0x3fe)]),_0x331118(0x2,_0x2ca890[_0x391ebf(0x356)]),_0x331118(0x3,_0x2ca890[_0x391ebf(0x2cb)](_0x38fa63[_0x391ebf(0x3fd)])),_0x331118(0x4,_0x2ca890['Optional'](_0x18f665[_0x391ebf(0x213)]))],_0x5afeab[_0x391ebf(0x394)]);var _0x40cfda=Object[_0x391ebf(0x1f0)],_0x543abc=(_0x4e974d,_0x26a92a,_0x481a15,_0x459724)=>{const _0x2c2279=_0x391ebf;for(var _0x260b42=_0x459724>0x1?void 0x0:_0x459724?_0x40cfda(_0x26a92a,_0x481a15):_0x26a92a,_0x3302b9=_0x4e974d[_0x2c2279(0x2aa)]-0x1,_0x291f33;_0x3302b9>=0x0;_0x3302b9--)(_0x291f33=_0x4e974d[_0x3302b9])&&(_0x260b42=_0x291f33(_0x260b42)||_0x260b42);return _0x260b42;},_0x5b18db=(_0x571ec5,_0x15c065)=>(_0x1e4b90,_0x25784e)=>_0x15c065(_0x1e4b90,_0x25784e,_0x571ec5);let _0x28fe62=class{constructor(_0x4664ea,_0x430ee5,_0x413646){const _0x39cf63=_0x391ebf;this['_injector']=_0x4664ea,this[_0x39cf63(0x2d6)]=_0x430ee5,this[_0x39cf63(0x30b)]=_0x413646;}[_0x391ebf(0x294)](_0x5cdde3){const _0x219eb7=_0x391ebf;this['_transformUndoRedoStack'](_0x5cdde3),this[_0x219eb7(0x2e3)](_0x5cdde3);}[_0x391ebf(0x307)](_0x165ad5){const _0x45a530=_0x391ebf,{unitID:_0x1bce30}=_0x165ad5,_0x456883=this['_renderManagerService']['getRenderById'](_0x1bce30)[_0x45a530(0x351)](_0x5e7d5c[_0x45a530(0x28a)]),{redoCache:_0x2c1ce4}=_0x456883['getUndoRedoMutationParamsCache']();if(_0x2c1ce4[_0x45a530(0x2aa)]===0x0)return _0x165ad5;let _0x5d99f0=_0x2ca890[_0x45a530(0x451)][_0x45a530(0x406)](_0x165ad5[_0x45a530(0x384)][0x0]);for(let _0x219a76=0x0;_0x219a76<_0x2c1ce4['length'];_0x219a76++){const _0x58c945={'id':_0x45a530(0x35c),'params':{..._0x2c1ce4[_0x219a76]}},_0x556fa2=this[_0x45a530(0x2d6)]['transformMutation'](_0x5d99f0,_0x58c945,!0x1);if(_0x1d9678['isTransformMutationFailure'](_0x556fa2))throw _0x556fa2['error'];_0x5d99f0=_0x556fa2[_0x45a530(0x281)];}return{..._0x2ca890['Tools'][_0x45a530(0x406)](_0x165ad5),'mutations':[_0x5d99f0]};}[_0x391ebf(0x25c)](_0x5aa7af){const _0xf9559d=_0x391ebf,{unitID:_0x35b99d}=_0x5aa7af,_0x21b374=this['_renderManagerService'][_0xf9559d(0x306)](_0x35b99d)['with'](_0x5e7d5c[_0xf9559d(0x28a)]),{undoCache:_0x15b09b,redoCache:_0x28937d}=_0x21b374[_0xf9559d(0x426)]();if(_0x15b09b[_0xf9559d(0x2aa)]===0x0||_0x28937d['length']===0x0)return;const _0x36a4c8=[],_0x354f5e=[];let _0x1a1c1c=_0x2ca890[_0xf9559d(0x451)]['deepClone'](_0x5aa7af['mutations'][0x0]),_0x677e2b=_0x2ca890[_0xf9559d(0x451)][_0xf9559d(0x406)](_0x5aa7af['mutations'][0x0]);for(let _0x4ee8dd=_0x15b09b[_0xf9559d(0x2aa)]-0x1;_0x4ee8dd>=0x0;_0x4ee8dd--){const _0x239516={'id':_0xf9559d(0x35c),'params':{..._0x15b09b[_0x4ee8dd]}},_0x56a58f={'id':_0xf9559d(0x35c),'params':{..._0x28937d[_0x4ee8dd]}},_0xda232d=this[_0xf9559d(0x2d6)][_0xf9559d(0x40f)](_0x1a1c1c,_0x239516,!0x1),_0x26cbad=this[_0xf9559d(0x2d6)][_0xf9559d(0x40f)](_0x677e2b,_0x56a58f,!0x1);if(_0x1d9678[_0xf9559d(0x444)](_0xda232d))throw _0xda232d[_0xf9559d(0x390)];if(_0x1d9678[_0xf9559d(0x444)](_0x26cbad))throw _0x26cbad['error'];_0x36a4c8[_0xf9559d(0x2f3)](_0xda232d['m2Prime'][_0xf9559d(0x2ec)]),_0x354f5e['unshift'](_0x26cbad[_0xf9559d(0x25d)][_0xf9559d(0x2ec)]),_0x1a1c1c=_0xda232d['m1Prime'],_0x677e2b=_0x26cbad['m1Prime'];}_0x21b374['setUndoRedoMutationParamsCache']({'undoCache':_0x36a4c8,'redoCache':_0x354f5e});}[_0x391ebf(0x2e3)](_0x1f69c7){const _0x5e362c=_0x391ebf,{unitID:_0x350bab}=_0x1f69c7,_0x5d6c04=this[_0x5e362c(0x30b)][_0x5e362c(0x306)](_0x350bab)[_0x5e362c(0x351)](_0x5e7d5c[_0x5e362c(0x28a)]),_0x53c445=_0x5d6c04[_0x5e362c(0x222)]();if(_0x53c445==null)return;const _0x154e13=[{'id':_0x5e362c(0x35c),'params':{'unitId':_0x1f69c7[_0x5e362c(0x441)],'actions':null,'textRanges':[_0x53c445]}}],_0x1c2418=this[_0x5e362c(0x2d6)][_0x5e362c(0x33a)](_0x1f69c7,_0x154e13);if(!_0x1d9678['isTransformMutationsWithChangesetSuccess'](_0x1c2418))throw _0x1c2418[_0x5e362c(0x390)];const _0xd43fa1=_0x1c2418[_0x5e362c(0x25d)][0x0]['params'][_0x5e362c(0x2a6)];Array[_0x5e362c(0x26d)](_0xd43fa1)&&_0xd43fa1[_0x5e362c(0x2aa)]&&_0x5d6c04[_0x5e362c(0x3c7)](_0xd43fa1[0x0]);}};_0x28fe62=_0x543abc([_0x5b18db(0x0,_0x2ca890[_0x391ebf(0x2cb)](_0x2ca890[_0x391ebf(0x232)])),_0x5b18db(0x1,_0x1d9678[_0x391ebf(0x325)]),_0x5b18db(0x2,_0x5483ad[_0x391ebf(0x346)])],_0x28fe62);var _0x506b55=Object['getOwnPropertyDescriptor'],_0x6b776=(_0x5d6080,_0xfea0d8,_0x5db0e0,_0x47d560)=>{const _0x572270=_0x391ebf;for(var _0x1e15fd=_0x47d560>0x1?void 0x0:_0x47d560?_0x506b55(_0xfea0d8,_0x5db0e0):_0xfea0d8,_0x2717f2=_0x5d6080[_0x572270(0x2aa)]-0x1,_0x1141ca;_0x2717f2>=0x0;_0x2717f2--)(_0x1141ca=_0x5d6080[_0x2717f2])&&(_0x1e15fd=_0x1141ca(_0x1e15fd)||_0x1e15fd);return _0x1e15fd;},_0x46f5c3=(_0x34c318,_0x3f431b)=>(_0x2c74cc,_0x1ff670)=>_0x3f431b(_0x2c74cc,_0x1ff670,_0x34c318);let _0x431330=class{constructor(_0x56b763,_0x55f63a,_0x1cd9c3){const _0x2f18d7=_0x391ebf;this[_0x2f18d7(0x23f)]=_0x56b763,this[_0x2f18d7(0x2d6)]=_0x55f63a,this[_0x2f18d7(0x3ff)]=_0x1cd9c3;}['transformStateCache'](_0x1dc0d6){this['_transformHistoryAndStateStack'](_0x1dc0d6);}['transformRemoteChangeset'](_0x51a361){const _0x1b556f=_0x391ebf,{unitID:_0x43276e}=_0x51a361,{collaboration:_0x2fd34d}=this[_0x1b556f(0x3ff)][_0x1b556f(0x323)](_0x43276e);if(_0x2fd34d['length']===0x0)return _0x51a361;let _0x65f1d7=_0x2ca890[_0x1b556f(0x451)][_0x1b556f(0x406)](_0x51a361[_0x1b556f(0x384)][0x0]);for(let _0x2a40c1=0x0;_0x2a40c1<_0x2fd34d[_0x1b556f(0x2aa)];_0x2a40c1++){const _0x2c9e9f={'id':_0x1b556f(0x35c),'params':{'unitId':_0x2fd34d[_0x2a40c1][_0x1b556f(0x3e1)],..._0x2fd34d[_0x2a40c1][_0x1b556f(0x3c1)]}},_0x304800=this[_0x1b556f(0x2d6)]['transformMutation'](_0x65f1d7,_0x2c9e9f,!0x1);if(_0x1d9678[_0x1b556f(0x444)](_0x304800))throw _0x304800[_0x1b556f(0x390)];_0x65f1d7=_0x304800['m1Prime'];}return{..._0x2ca890[_0x1b556f(0x451)]['deepClone'](_0x51a361),'mutations':[_0x65f1d7]};}['_transformHistoryAndStateStack'](_0x4d7bd0){const _0x12eb47=_0x391ebf,{unitID:_0x22e2b8}=_0x4d7bd0,{history:_0x3f9195,collaboration:_0x559844}=this[_0x12eb47(0x3ff)][_0x12eb47(0x323)](_0x22e2b8);if(_0x3f9195['length']===0x0&&_0x559844[_0x12eb47(0x2aa)]===0x0)return;const _0x531d31=[],_0x3171fc=[];let _0x18187a=_0x2ca890[_0x12eb47(0x451)]['deepClone'](_0x4d7bd0[_0x12eb47(0x384)][0x0]),_0x43d035=_0x2ca890[_0x12eb47(0x451)][_0x12eb47(0x406)](_0x4d7bd0[_0x12eb47(0x384)][0x0]);for(let _0x396a10=_0x3f9195[_0x12eb47(0x2aa)]-0x1;_0x396a10>=0x0;_0x396a10--){const _0x156a27={'id':_0x12eb47(0x35c),'params':{'unitId':_0x3f9195[_0x396a10][_0x12eb47(0x3e1)],..._0x3f9195[_0x396a10]['undoState']}},_0x516026={'id':_0x12eb47(0x35c),'params':{'unitId':_0x3f9195[_0x396a10][_0x12eb47(0x3e1)],..._0x3f9195[_0x396a10][_0x12eb47(0x3c1)]}},_0x34e1cf=this['_transformService']['transformMutation'](_0x18187a,_0x156a27,!0x1),_0x3b12b4=this[_0x12eb47(0x2d6)][_0x12eb47(0x40f)](_0x43d035,_0x516026,!0x1);if(_0x1d9678[_0x12eb47(0x444)](_0x34e1cf))throw _0x34e1cf[_0x12eb47(0x390)];if(_0x1d9678[_0x12eb47(0x444)](_0x3b12b4))throw _0x3b12b4['error'];_0x531d31[_0x12eb47(0x2f3)]({..._0x3f9195[_0x396a10],'undoState':_0x34e1cf[_0x12eb47(0x25d)][_0x12eb47(0x2ec)],'redoState':_0x3b12b4[_0x12eb47(0x25d)][_0x12eb47(0x2ec)]}),_0x18187a=_0x34e1cf['m1Prime'],_0x43d035=_0x3b12b4[_0x12eb47(0x281)];}_0x18187a=_0x2ca890[_0x12eb47(0x451)][_0x12eb47(0x406)](_0x4d7bd0[_0x12eb47(0x384)][0x0]),_0x43d035=_0x2ca890[_0x12eb47(0x451)][_0x12eb47(0x406)](_0x4d7bd0['mutations'][0x0]);for(let _0x5d3ce4=_0x559844[_0x12eb47(0x2aa)]-0x1;_0x5d3ce4>=0x0;_0x5d3ce4--){const _0x216224={'id':_0x12eb47(0x35c),'params':{'unitId':_0x559844[_0x5d3ce4][_0x12eb47(0x3e1)],..._0x559844[_0x5d3ce4]['undoState']}},_0x9f47b8={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x559844[_0x5d3ce4]['unitId'],..._0x559844[_0x5d3ce4]['redoState']}},_0xfd9af1=this[_0x12eb47(0x2d6)][_0x12eb47(0x40f)](_0x18187a,_0x216224,!0x1),_0x167083=this[_0x12eb47(0x2d6)][_0x12eb47(0x40f)](_0x43d035,_0x9f47b8,!0x1);if(_0x1d9678[_0x12eb47(0x444)](_0xfd9af1))throw _0xfd9af1[_0x12eb47(0x390)];if(_0x1d9678[_0x12eb47(0x444)](_0x167083))throw _0x167083[_0x12eb47(0x390)];_0x3171fc['unshift']({..._0x559844[_0x5d3ce4],'undoState':_0xfd9af1['m2Prime'][_0x12eb47(0x2ec)],'redoState':_0x167083[_0x12eb47(0x25d)][_0x12eb47(0x2ec)]}),_0x18187a=_0xfd9af1[_0x12eb47(0x281)],_0x43d035=_0x167083[_0x12eb47(0x281)];}this[_0x12eb47(0x3ff)]['setStateCache'](_0x22e2b8,{'history':_0x531d31,'collaboration':_0x3171fc});}};_0x431330=_0x6b776([_0x46f5c3(0x0,_0x2ca890[_0x391ebf(0x2cb)](_0x2ca890[_0x391ebf(0x232)])),_0x46f5c3(0x1,_0x1d9678[_0x391ebf(0x325)]),_0x46f5c3(0x2,_0x2ca890[_0x391ebf(0x2cb)](_0x5e7d5c[_0x391ebf(0x395)]))],_0x431330);var _0x5e7c83=Object[_0x391ebf(0x1f0)],_0x2f1cfe=(_0x4ad44e,_0x2bb1cb,_0x473a3e,_0x1fe514)=>{for(var _0x1f57e9=_0x1fe514>0x1?void 0x0:_0x1fe514?_0x5e7c83(_0x2bb1cb,_0x473a3e):_0x2bb1cb,_0x2579ad=_0x4ad44e['length']-0x1,_0x2f6685;_0x2579ad>=0x0;_0x2579ad--)(_0x2f6685=_0x4ad44e[_0x2579ad])&&(_0x1f57e9=_0x2f6685(_0x1f57e9)||_0x1f57e9);return _0x1f57e9;},_0x5c9f94=(_0x215a6d,_0x6ad400)=>(_0x48e5e7,_0x5aeba0)=>_0x6ad400(_0x48e5e7,_0x5aeba0,_0x215a6d);let _0x4a8219=class{constructor(_0xe2d5f9,_0x4b1637){const _0x36fcb5=_0x391ebf;this[_0x36fcb5(0x23f)]=_0xe2d5f9,this[_0x36fcb5(0x2d6)]=_0x4b1637;}[_0x391ebf(0x1ee)](_0x3f36ed){const _0x26a017=_0x391ebf;var _0x11f5a3;const _0x1cb316=this['_injector'][_0x26a017(0x266)](_0x1486d2['DocSelectionManagerService']),_0x40d662=(_0x11f5a3=_0x1cb316[_0x26a017(0x403)]())!=null?_0x11f5a3:[];if(_0x40d662['length']===0x0)return;const _0x396abd=_0x3f36ed['unitID'],_0x5d560f=[{'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x396abd,'actions':null,'textRanges':_0x40d662}}],_0x5a28ed=this[_0x26a017(0x2d6)][_0x26a017(0x33a)](_0x3f36ed,_0x5d560f);if(!_0x1d9678[_0x26a017(0x437)](_0x5a28ed))throw _0x5a28ed[_0x26a017(0x390)];const _0x1355b0=_0x5a28ed['m2Prime'][0x0][_0x26a017(0x2ec)][_0x26a017(0x2a6)];Array['isArray'](_0x1355b0)&&_0x1355b0[_0x26a017(0x2aa)]&&_0x1cb316['replaceDocRanges'](_0x1355b0,{'unitId':_0x396abd,'subUnitId':_0x396abd},!0x1);}};_0x4a8219=_0x2f1cfe([_0x5c9f94(0x0,_0x2ca890[_0x391ebf(0x2cb)](_0x2ca890['Injector'])),_0x5c9f94(0x1,_0x1d9678[_0x391ebf(0x325)])],_0x4a8219);var _0x31890f=Object[_0x391ebf(0x1f0)],_0x56b47f=(_0x2a8026,_0x29dc3f,_0x258876,_0xd6f42f)=>{for(var _0x58fea8=_0xd6f42f>0x1?void 0x0:_0xd6f42f?_0x31890f(_0x29dc3f,_0x258876):_0x29dc3f,_0x471816=_0x2a8026['length']-0x1,_0x3335af;_0x471816>=0x0;_0x471816--)(_0x3335af=_0x2a8026[_0x471816])&&(_0x58fea8=_0x3335af(_0x58fea8)||_0x58fea8);return _0x58fea8;},_0xa1cdf6=(_0x4f17a2,_0x5474ac)=>(_0x639a6,_0x5c21d2)=>_0x5474ac(_0x639a6,_0x5c21d2,_0x4f17a2);let _0x438bd8=class extends _0x2ca890[_0x391ebf(0x445)]{constructor(_0x2d5041,_0x2c799d,_0x66bf87,_0x591a1b,_0x210f27,_0x3b9762,_0x30eea4,_0x518724){const _0x4df2a9=_0x391ebf;super(),_0xb14004(this,_0x4df2a9(0x41e),new _0x33e1e6['BehaviorSubject'](_0x38fa63[_0x4df2a9(0x264)][_0x4df2a9(0x302)])),(this[_0x4df2a9(0x3ff)]=_0x2d5041,this[_0x4df2a9(0x23c)]=_0x2c799d,this[_0x4df2a9(0x400)]=_0x66bf87,this[_0x4df2a9(0x414)]=_0x591a1b,this[_0x4df2a9(0x1f4)]=_0x210f27,this[_0x4df2a9(0x2f4)]=_0x3b9762,this[_0x4df2a9(0x35e)]=_0x30eea4,this[_0x4df2a9(0x38f)]=_0x518724,this[_0x4df2a9(0x35a)]());}[_0x391ebf(0x35a)](){const _0x42737d=_0x391ebf;this[_0x42737d(0x436)](this[_0x42737d(0x23c)][_0x42737d(0x31d)]['subscribe'](_0x142bef=>{const _0x44b10a=_0x42737d,_0x42dd38=this[_0x44b10a(0x3ff)][_0x44b10a(0x29f)][_0x44b10a(0x38c)](_0x3d2fbc=>{const _0x10c6ce=_0x44b10a;if(_0x3d2fbc==null)return;const {unitId:_0x5e020c,redoState:_0x11ade2,commandId:_0x27e25e}=_0x3d2fbc;if(_0x5e020c!==_0x142bef[_0x10c6ce(0x441)])return;const _0x56136d={'id':_0x27e25e,'type':_0x2ca890[_0x10c6ce(0x293)][_0x10c6ce(0x3ce)],'params':{'unitId':_0x5e020c,'actions':_0x11ade2[_0x10c6ce(0x241)],'textRanges':null}};_0x142bef['onLocalMutation'](_0x56136d);});if(_0x142bef[_0x44b10a(0x436)](_0x42dd38),_0x142bef instanceof _0x38fa63['DocCollaborationEntity']){const _0x27100d={'onTransformIME':_0x50926e=>this[_0x44b10a(0x400)][_0x44b10a(0x294)](_0x50926e),'onTransformState':_0x254fb0=>this[_0x44b10a(0x414)][_0x44b10a(0x370)](_0x254fb0),'onTransformSelections':_0x2630ed=>this[_0x44b10a(0x1f4)][_0x44b10a(0x1ee)](_0x2630ed),'onSyncEditingCollabCursor':_0x3c5e42=>this['_docSyncEditingCollabCursorService']['syncEditingCollabCursor'](_0x3c5e42),'onTransformRemoteChangesetByIMECache':_0x40f10a=>this[_0x44b10a(0x400)]['transformRemoteChangeset'](_0x40f10a),'onTransformRemoteChangesetByStateCache':_0x13d6b0=>this['_docTransformStateCacheService']['transformRemoteChangeset'](_0x13d6b0)};_0x142bef['addHandlerCallback'](_0x27100d);}}));}};_0x438bd8=_0x56b47f([_0xa1cdf6(0x0,_0x2ca890['Inject'](_0x5e7d5c[_0x391ebf(0x395)])),_0xa1cdf6(0x1,_0x2ca890[_0x391ebf(0x2cb)](_0x38fa63[_0x391ebf(0x3e4)])),_0xa1cdf6(0x2,_0x2ca890[_0x391ebf(0x2cb)](_0x28fe62)),_0xa1cdf6(0x3,_0x2ca890[_0x391ebf(0x2cb)](_0x431330)),_0xa1cdf6(0x4,_0x2ca890[_0x391ebf(0x2cb)](_0x4a8219)),_0xa1cdf6(0x5,_0x2ca890[_0x391ebf(0x2cb)](_0x1bba5e)),_0xa1cdf6(0x6,_0x3587ae[_0x391ebf(0x257)]),_0xa1cdf6(0x7,_0x2ca890[_0x391ebf(0x2cb)](_0x2ca890[_0x391ebf(0x32b)]))],_0x438bd8);var _0x36a585=Object['getOwnPropertyDescriptor'],_0x18363a=(_0x14638e,_0x14c38e,_0x4ad62d,_0xfb505f)=>{const _0x255461=_0x391ebf;for(var _0x303319=_0xfb505f>0x1?void 0x0:_0xfb505f?_0x36a585(_0x14c38e,_0x4ad62d):_0x14c38e,_0x3d49b5=_0x14638e[_0x255461(0x2aa)]-0x1,_0x9c66c3;_0x3d49b5>=0x0;_0x3d49b5--)(_0x9c66c3=_0x14638e[_0x3d49b5])&&(_0x303319=_0x9c66c3(_0x303319)||_0x303319);return _0x303319;},_0x2099aa=(_0x5e3047,_0x1bb0c9)=>(_0xb3c9ff,_0x173f52)=>_0x1bb0c9(_0xb3c9ff,_0x173f52,_0x5e3047);let _0x27a98b=class extends _0x2ca890['Disposable']{constructor(_0x25e07c,_0x367b4a,_0x215ae4){const _0x4176c9=_0x391ebf;super(),_0xb14004(this,_0x4176c9(0x2ad),new Map()),_0xb14004(this,_0x4176c9(0x280),new Map()),_0xb14004(this,'_disabled',!0x1),(this[_0x4176c9(0x44a)]=_0x25e07c,this['_localStorageService']=_0x367b4a,this[_0x4176c9(0x348)]=_0x215ae4);}[_0x391ebf(0x23d)](){const _0x1d7b68=_0x391ebf;this[_0x1d7b68(0x3c3)]=!0x0;}[_0x391ebf(0x2ab)](){const _0x12e72f=_0x391ebf;this[_0x12e72f(0x3c3)]=!0x1;}get[_0x391ebf(0x28e)](){return this['_saveTaskMap'];}[_0x391ebf(0x25e)](){this['exhaustSavingTask']()['then'](()=>super['dispose']());}async[_0x391ebf(0x2fa)](_0x11bae9){const _0x3ec810=_0x391ebf;return this[_0x3ec810(0x3c3)]?null:this[_0x3ec810(0x415)][_0x3ec810(0x21e)](_0x38fa63[_0x3ec810(0x459)](_0x11bae9));}async[_0x391ebf(0x442)](_0x4e205a,_0x3ce560){const _0x1d503f=_0x391ebf;return!!this[_0x1d503f(0x415)][_0x1d503f(0x363)](_0x4e205a,_0x3ce560);}[_0x391ebf(0x45d)](_0x4898e4,_0x56a6bf,_0x59442f,_0x3cd751){const _0x3cd92b=_0x391ebf,_0x484764=this[_0x3cd92b(0x348)][_0x3cd92b(0x2a4)](_0x4898e4);this[_0x3cd92b(0x2ad)][_0x3cd92b(0x40b)](_0x4898e4,{'unitID':_0x4898e4,'type':_0x56a6bf,'awaitingChangeset':_0x59442f,'mutations':_0x3cd751,'rev':_0x484764}),this[_0x3cd92b(0x280)][_0x3cd92b(0x202)](_0x4898e4)||this['_scheduleSaving'](_0x4898e4);}[_0x391ebf(0x465)](_0x280059){const _0x5f2994=_0x391ebf,_0x5988c6=this['_getSaveTimeout']();_0x5988c6===0x0?this[_0x5f2994(0x3e9)](_0x280059):this['_saveTaskMap'][_0x5f2994(0x40b)](_0x280059,setTimeout(()=>this[_0x5f2994(0x3e9)](_0x280059),_0x5988c6));}[_0x391ebf(0x29d)](){const _0x50cd85=_0x391ebf;var _0x15e390;return(_0x15e390=this[_0x50cd85(0x44a)]['getConfig'](_0x38fa63['LOCAL_CACHE_INTERVAL_KEY']))!=null?_0x15e390:_0x38fa63[_0x50cd85(0x360)];}[_0x391ebf(0x3e9)](_0x5556a9){const _0x6ac5ae=_0x391ebf,_0x498208=this[_0x6ac5ae(0x280)][_0x6ac5ae(0x266)](_0x5556a9);return _0x498208!==void 0x0&&window[_0x6ac5ae(0x320)](_0x498208),this['_localStorageService'][_0x6ac5ae(0x363)](_0x38fa63[_0x6ac5ae(0x459)](_0x5556a9),this[_0x6ac5ae(0x2ad)][_0x6ac5ae(0x266)](_0x5556a9))[_0x6ac5ae(0x45e)](()=>this[_0x6ac5ae(0x280)]['delete'](_0x5556a9));}async[_0x391ebf(0x242)](){const _0x35534a=_0x391ebf,_0x384aa2=[];this['_saveTaskMap'][_0x35534a(0x205)]((_0x10b77e,_0x2d9aa6)=>{const _0x2606aa=_0x35534a;window[_0x2606aa(0x320)](_0x10b77e),_0x384aa2[_0x2606aa(0x3d1)](this[_0x2606aa(0x3e9)](_0x2d9aa6)[_0x2606aa(0x45e)](()=>{const _0x4de291=_0x2606aa;this[_0x4de291(0x280)][_0x4de291(0x3f1)](_0x2d9aa6);}));}),await Promise[_0x35534a(0x3a0)](_0x384aa2);}};_0x27a98b=_0x18363a([_0x2099aa(0x0,_0x2ca890['IConfigService']),_0x2099aa(0x1,_0x2ca890['ILocalStorageService']),_0x2099aa(0x2,_0x2ca890[_0x391ebf(0x2cb)](_0x1d9678['RevisionService']))],_0x27a98b);class _0x3ec3af extends _0x2ca890[_0x391ebf(0x3b9)]{constructor(){const _0x410c0f=_0x391ebf;super(),_0xb14004(this,'urlChange$'),this['urlChange$']=_0x33e1e6[_0x410c0f(0x2bb)](window,_0x410c0f(0x2d2))['pipe'](_0x33e1e6[_0x410c0f(0x1f1)](this[_0x410c0f(0x22a)]),_0x33e1e6[_0x410c0f(0x3f0)](0x1),_0x33e1e6[_0x410c0f(0x221)](void 0x0));}[_0x391ebf(0x22c)](_0x18d956,_0xb09806,_0x5f4596=!0x1){const _0x1e1eaf=_0x391ebf,_0x570999=new URL(window[_0x1e1eaf(0x218)][_0x1e1eaf(0x34f)]);_0x570999[_0x1e1eaf(0x34d)][_0x1e1eaf(0x40b)](_0x18d956,_0xb09806),_0x5f4596?window[_0x1e1eaf(0x1fb)][_0x1e1eaf(0x3bd)]('','',_0x570999['toString']()):window[_0x1e1eaf(0x1fb)][_0x1e1eaf(0x462)]('','',_0x570999[_0x1e1eaf(0x3e5)]());}['removeParam'](_0x293117,_0x1a8b9a=!0x1){const _0x4b7bfb=_0x391ebf,_0x17a7db=new URL(window[_0x4b7bfb(0x218)]['href']);_0x17a7db[_0x4b7bfb(0x34d)][_0x4b7bfb(0x3f1)](_0x293117),_0x1a8b9a?window['history']['replaceState']('','',_0x17a7db['toString']()):window[_0x4b7bfb(0x1fb)][_0x4b7bfb(0x462)]('','',_0x17a7db['toString']());}[_0x391ebf(0x433)](_0x45a50f){const _0x2ec166=_0x391ebf;var _0x793a85;return(_0x793a85=new URL(window[_0x2ec166(0x218)][_0x2ec166(0x34f)])['searchParams'][_0x2ec166(0x266)](_0x45a50f))!=null?_0x793a85:void 0x0;}}var _0x3069b8=Object['defineProperty'],_0x449f5a=Object[_0x391ebf(0x1f0)],_0x2afa79=(_0x17ebac,_0x1c1e3b,_0x51c5d9)=>_0x1c1e3b in _0x17ebac?_0x3069b8(_0x17ebac,_0x1c1e3b,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x51c5d9}):_0x17ebac[_0x1c1e3b]=_0x51c5d9,_0x45931e=(_0x1f74e0,_0x34855c,_0x4e7b72,_0x58621e)=>{const _0x370a51=_0x391ebf;for(var _0x4de8b9=_0x58621e>0x1?void 0x0:_0x58621e?_0x449f5a(_0x34855c,_0x4e7b72):_0x34855c,_0x70f3bd=_0x1f74e0[_0x370a51(0x2aa)]-0x1,_0x1ddab8;_0x70f3bd>=0x0;_0x70f3bd--)(_0x1ddab8=_0x1f74e0[_0x70f3bd])&&(_0x4de8b9=_0x1ddab8(_0x4de8b9)||_0x4de8b9);return _0x4de8b9;},_0x3f4fed=(_0x5de78c,_0x682b0)=>(_0x3ff188,_0x340441)=>_0x682b0(_0x3ff188,_0x340441,_0x5de78c),_0xd2e4c7=(_0x5ce33e,_0x1ca6f0,_0x4a2047)=>_0x2afa79(_0x5ce33e,_0x1ca6f0+'',_0x4a2047);const _0x18342d=_0x391ebf(0x430);_0x5afeab[_0x391ebf(0x250)]=class extends _0x2ca890[_0x391ebf(0x39c)]{constructor(_0x117a9b=_0x28842c,_0x5096af,_0x1b90f8,_0x6024a5){const _0x596958=_0x391ebf;super(),this[_0x596958(0x215)]=_0x117a9b,this[_0x596958(0x30b)]=_0x5096af,this[_0x596958(0x23f)]=_0x1b90f8,this['_configService']=_0x6024a5;const {..._0x3f1c2b}=_0x2ca890[_0x596958(0x3b7)]({},_0x28842c,this[_0x596958(0x215)]);this[_0x596958(0x44a)][_0x596958(0x41f)](_0x3aae9c,_0x3f1c2b);}[_0x391ebf(0x314)](){const _0x120e34=_0x391ebf;this[_0x120e34(0x43c)](),this['_initDependencies']();}[_0x391ebf(0x212)](){this['_registerRenderDependencies']();}[_0x391ebf(0x43c)](){const _0x58c6d2=_0x391ebf;var _0x772c01;const _0x3cbc82=[[_0x576435],[_0x4a8219],[_0x28fe62],[_0x431330],[_0x1bba5e],[_0x289033,{'useClass':_0x3ec3af}],[_0x39816b['ISocketService'],{'useClass':_0x39816b['WebSocketService']}],[_0x38fa63[_0x58c6d2(0x3a2)],{'useClass':_0x27a98b}],[_0x5afeab[_0x58c6d2(0x2e5)]],[_0x438bd8],[_0x353d66],[_0x198743],[_0x5b880e],[_0x5afeab['CollaborationDataLoaderController']]];_0x2ca890[_0x58c6d2(0x43b)](this[_0x58c6d2(0x23f)],_0x2ca890['mergeOverrideWithDependencies'](_0x3cbc82,(_0x772c01=this[_0x58c6d2(0x215)])==null?void 0x0:_0x772c01[_0x58c6d2(0x40a)]));}['_registerRenderDependencies'](){const _0x339cec=_0x391ebf;this[_0x339cec(0x436)](this[_0x339cec(0x30b)][_0x339cec(0x3da)](_0x2ca890['UniverInstanceType'][_0x339cec(0x41a)],[_0x2cc591])),this[_0x339cec(0x436)](this[_0x339cec(0x30b)][_0x339cec(0x3da)](_0x2ca890[_0x339cec(0x39f)]['UNIVER_SHEET'],[_0x38b921]));}[_0x391ebf(0x2c2)](){const _0x5c38da=_0x391ebf;_0x2ca890['touchDependencies'](this[_0x5c38da(0x23f)],[[_0x198743],[_0x5afeab[_0x5c38da(0x2e5)]],[_0x438bd8],[_0x353d66],[_0x5afeab[_0x5c38da(0x394)]]]);}},_0xd2e4c7(_0x5afeab['UniverCollaborationClientUIPlugin'],_0x391ebf(0x367),_0x18342d),_0x5afeab[_0x391ebf(0x250)]=_0x45931e([_0x2ca890[_0x391ebf(0x396)](_0x38fa63[_0x391ebf(0x408)]),_0x3f4fed(0x1,_0x5483ad['IRenderManagerService']),_0x3f4fed(0x2,_0x2ca890['Inject'](_0x2ca890[_0x391ebf(0x232)])),_0x3f4fed(0x3,_0x2ca890[_0x391ebf(0x292)])],_0x5afeab['UniverCollaborationClientUIPlugin']);var _0x381ccd=Object[_0x391ebf(0x1f0)],_0xba2d01=(_0x40d838,_0x655b21,_0xa4642,_0x22bf38)=>{for(var _0x1d0b10=_0x22bf38>0x1?void 0x0:_0x22bf38?_0x381ccd(_0x655b21,_0xa4642):_0x655b21,_0x2f107=_0x40d838['length']-0x1,_0x406df1;_0x2f107>=0x0;_0x2f107--)(_0x406df1=_0x40d838[_0x2f107])&&(_0x1d0b10=_0x406df1(_0x1d0b10)||_0x1d0b10);return _0x1d0b10;},_0x477f62=(_0x28181b,_0x577c46)=>(_0x29cb19,_0x3c12d6)=>_0x577c46(_0x29cb19,_0x3c12d6,_0x28181b);_0x5afeab[_0x391ebf(0x2ce)]=class extends _0x38fa63[_0x391ebf(0x357)]{constructor(_0x171a15,_0x43ec1e,_0x11eb9b,_0x3dde00,_0x54660d){super(_0x171a15,_0x43ec1e,_0x11eb9b,_0x3dde00,_0x54660d);}async['createSocket'](_0x242467){const _0x408e93=_0x391ebf,_0x57352b=await this[_0x408e93(0x27b)](),_0x42dcd9=this[_0x408e93(0x233)](_0x242467,_0x57352b);return this[_0x408e93(0x38e)](_0x42dcd9);}[_0x391ebf(0x233)](_0x20e81a,_0x16475a){const _0x2cf538=_0x391ebf,_0x118bd5=typeof window>'u'?new URL(_0x20e81a):new URL(_0x20e81a,window[_0x2cf538(0x218)][_0x2cf538(0x1fc)]);_0x118bd5[_0x2cf538(0x34d)]['set'](_0x2cf538(0x24e),_0x16475a);const _0x39cb93=typeof window>'u'?new URLSearchParams():new URLSearchParams(window[_0x2cf538(0x218)]['search']);return _0x39cb93['get'](_0x2cf538(0x3f8))&&_0x118bd5[_0x2cf538(0x34d)][_0x2cf538(0x40b)](_0x2cf538(0x3f8),_0x39cb93[_0x2cf538(0x266)]('runId')),_0x118bd5[_0x2cf538(0x3e5)]();}async['_getSessionTicket'](){const _0x22b060=_0x391ebf;var _0x320923,_0x568c31,_0x22f344;const _0x32bd1a=this[_0x22b060(0x44a)][_0x22b060(0x2e4)](_0x38fa63[_0x22b060(0x387)]),_0x552b8c=(_0x320923=_0x32bd1a==null?void 0x0:_0x32bd1a['wsSessionTicketUrl'])!=null?_0x320923:_0x38fa63['DEFAULT_WS_SESSION_TICKET_URL'];return(_0x22f344=(_0x568c31=(await this[_0x22b060(0x422)][_0x22b060(0x266)](_0x552b8c,{'headers':{'Content-Type':_0x22b060(0x25f)}}))['body'])==null?void 0x0:_0x568c31['ticket'])!=null?_0x22f344:'';}},_0x5afeab[_0x391ebf(0x2ce)]=_0xba2d01([_0x477f62(0x0,_0x2ca890[_0x391ebf(0x2cb)](_0x2ca890[_0x391ebf(0x232)])),_0x477f62(0x1,_0x2ca890[_0x391ebf(0x2cb)](_0x39816b[_0x391ebf(0x455)])),_0x477f62(0x2,_0x2ca890['IConfigService']),_0x477f62(0x3,_0x2ca890['ILogService']),_0x477f62(0x4,_0x1d9678['ISnapshotServerService'])],_0x5afeab[_0x391ebf(0x2ce)]);const _0x2f6eec=0x7530,_0x909920=_0x391ebf(0x443);class _0x5d6b62 extends _0x2ca890[_0x391ebf(0x445)]{constructor(){const _0x29c68a=_0x391ebf;super(),_0xb14004(this,_0x29c68a(0x2e0),_0x2ca890['generateRandomId']()),_0xb14004(this,'_selfUnitIDs',new Set()),_0xb14004(this,_0x29c68a(0x249),new Map()),_0xb14004(this,_0x29c68a(0x423),null),_0xb14004(this,_0x29c68a(0x253),new Map()),_0xb14004(this,'_unitStatus',new Map()),this[_0x29c68a(0x20d)]();}[_0x391ebf(0x25e)](){const _0x4f5579=_0x391ebf;super[_0x4f5579(0x25e)](),this[_0x4f5579(0x253)]['forEach']((_0x5499ab,_0x5d2249)=>this[_0x4f5579(0x1e7)](_0x5d2249)),this[_0x4f5579(0x423)]&&window[_0x4f5579(0x42c)](this[_0x4f5579(0x423)]);}[_0x391ebf(0x428)](_0x9cac28){const _0x19661a=_0x391ebf;return this[_0x19661a(0x229)](_0x9cac28)[_0x19661a(0x1ef)](_0x33e1e6[_0x19661a(0x25b)]());}[_0x391ebf(0x3eb)](_0x280d37){const _0x450672=_0x391ebf;this[_0x450672(0x296)][_0x450672(0x30d)]===0x0&&this[_0x450672(0x3e3)](),this[_0x450672(0x296)][_0x450672(0x2e9)](_0x280d37),this[_0x450672(0x40c)]({'type':0x0,'memberID':this[_0x450672(0x2e0)],'unitIDs':[_0x280d37],'isForwarded':!0x1});}['disposeUnit'](_0x13dca6){const _0x3496cc=_0x391ebf;this['_selfUnitIDs'][_0x3496cc(0x3f1)](_0x13dca6),this[_0x3496cc(0x296)][_0x3496cc(0x30d)]===0x0&&this[_0x3496cc(0x423)]&&window['clearInterval'](this[_0x3496cc(0x423)]);}[_0x391ebf(0x20d)](){const _0x2b0782=_0x391ebf;this[_0x2b0782(0x436)](_0x2ca890['toDisposable'](_0x33e1e6[_0x2b0782(0x2bb)](window,_0x2b0782(0x30f))[_0x2b0782(0x38c)](_0x592653=>{const _0x6bab43=_0x2b0782;if(_0x592653['key']!==_0x909920||!_0x592653[_0x6bab43(0x3e6)])return;const _0x275193=JSON[_0x6bab43(0x2b4)](_0x592653[_0x6bab43(0x3e6)]);this[_0x6bab43(0x3fc)](_0x275193);}))),window[_0x2b0782(0x469)](_0x2b0782(0x308),()=>this[_0x2b0782(0x40c)]({'type':0x1,'memberID':this[_0x2b0782(0x2e0)],'unitIDs':Array[_0x2b0782(0x2b7)](this[_0x2b0782(0x296)])}));}[_0x391ebf(0x3fc)](_0x5cda5a){const _0x44f43e=_0x391ebf;switch(_0x5cda5a['type']){case 0x0:this['_handleJoinEvent'](_0x5cda5a);break;case 0x1:this[_0x44f43e(0x1ed)](_0x5cda5a);break;case 0x2:this[_0x44f43e(0x2a2)](_0x5cda5a);break;}}[_0x391ebf(0x3b5)](_0x31bafe){const _0x548740=_0x391ebf,{unitIDs:_0x237910,memberID:_0xa7e87e,isForwarded:_0x4d0f04}=_0x31bafe;_0x237910[_0x548740(0x205)](_0x5e27e9=>{const _0x556e32=_0x548740;if(!_0x4d0f04&&this[_0x556e32(0x249)]['has'](_0x5e27e9)&&this[_0x556e32(0x229)](_0x5e27e9)[_0x556e32(0x219)](_0x38fa63[_0x556e32(0x285)][_0x556e32(0x36f)]),!this[_0x556e32(0x249)]['has'](_0x5e27e9)||!this[_0x556e32(0x249)][_0x556e32(0x266)](_0x5e27e9)[_0x556e32(0x202)](_0xa7e87e)){const _0xfce587=this[_0x556e32(0x249)][_0x556e32(0x266)](_0x5e27e9)||new Set();_0xfce587[_0x556e32(0x2e9)](_0xa7e87e),this[_0x556e32(0x249)][_0x556e32(0x40b)](_0x5e27e9,_0xfce587),this[_0x556e32(0x424)](_0xa7e87e);}}),_0x4d0f04||this['_send']({'type':0x0,'memberID':this[_0x548740(0x2e0)],'unitIDs':[...this[_0x548740(0x296)]],'isForwarded':!0x0});}['_scheduleClearOtherTimer'](_0x416755){const _0x5a5653=_0x391ebf;this[_0x5a5653(0x1e7)](_0x416755);const _0xb287ff=window[_0x5a5653(0x243)](()=>{const _0x217e24=_0x5a5653;this['_unitOnClients'][_0x217e24(0x205)](_0x13d16d=>{const _0x4ba557=_0x217e24;_0x13d16d[_0x4ba557(0x3f1)](_0x416755);});},_0x2f6eec*0x2);this[_0x5a5653(0x253)][_0x5a5653(0x40b)](_0x416755,_0xb287ff);}[_0x391ebf(0x1e7)](_0x18e740){const _0x10ef9c=_0x391ebf;if(this['_clearOtherTimers'][_0x10ef9c(0x202)](_0x18e740)){const _0x3c3f37=this['_clearOtherTimers'][_0x10ef9c(0x266)](_0x18e740);_0x3c3f37&&window['clearTimeout'](_0x3c3f37),this[_0x10ef9c(0x253)][_0x10ef9c(0x40b)](_0x18e740,null);}}[_0x391ebf(0x1ed)](_0x5cee87){const _0x55fb0e=_0x391ebf,{memberID:_0x59d4ef,unitIDs:_0x4eaa32}=_0x5cee87;_0x4eaa32[_0x55fb0e(0x205)](_0x506aa2=>{const _0x5a464d=_0x55fb0e;var _0x5b4325;const _0x370237=this[_0x5a464d(0x249)][_0x5a464d(0x266)](_0x506aa2);_0x370237&&(_0x370237[_0x5a464d(0x3f1)](_0x59d4ef),(_0x5b4325=this[_0x5a464d(0x229)](_0x506aa2))==null||_0x5b4325[_0x5a464d(0x219)](_0x370237[_0x5a464d(0x30d)]===0x0?_0x38fa63[_0x5a464d(0x285)]['NO_OTHER_CLIENTS_EDITING']:_0x38fa63[_0x5a464d(0x285)]['OTHER_CLIENTS_EDITING']));}),this['_removeClearOtherTimer'](_0x59d4ef);}[_0x391ebf(0x2a2)](_0x250a25){const _0x23563f=_0x391ebf;this[_0x23563f(0x424)](_0x250a25[_0x23563f(0x2bd)]);}[_0x391ebf(0x40c)](_0x8273b6){const _0x27c006=_0x391ebf;localStorage[_0x27c006(0x363)](_0x909920,JSON[_0x27c006(0x22e)](_0x8273b6));}[_0x391ebf(0x3e3)](){const _0xaa62be=_0x391ebf;this[_0xaa62be(0x423)]=window[_0xaa62be(0x236)](()=>{const _0x49ee0e=_0xaa62be;this[_0x49ee0e(0x40c)]({'type':0x2,'memberID':this['_id']});},_0x2f6eec);}['_ensureSubject'](_0x38a0fd){const _0x1dad6a=_0x391ebf;return this[_0x1dad6a(0x340)][_0x1dad6a(0x202)](_0x38a0fd)||this[_0x1dad6a(0x340)][_0x1dad6a(0x40b)](_0x38a0fd,new _0x33e1e6[(_0x1dad6a(0x2af))](_0x38fa63[_0x1dad6a(0x285)][_0x1dad6a(0x3aa)])),this[_0x1dad6a(0x340)][_0x1dad6a(0x266)](_0x38a0fd);}}var _0x2fb1ae=(_0x13af50=>(_0x13af50[_0x13af50[_0x391ebf(0x304)]=0x0]='UNDEFINED',_0x13af50[_0x13af50['OK']=0x1]='OK',_0x13af50[_0x13af50[_0x391ebf(0x466)]=0x2]='INTERNAL_ERROR',_0x13af50[_0x13af50[_0x391ebf(0x3bf)]=0x3]=_0x391ebf(0x3bf),_0x13af50[_0x13af50[_0x391ebf(0x239)]=0x4]=_0x391ebf(0x239),_0x13af50[_0x13af50['UNAUTHENTICATED']=0x5]=_0x391ebf(0x3b6),_0x13af50[_0x13af50[_0x391ebf(0x446)]=0x6]=_0x391ebf(0x446),_0x13af50[_0x13af50[_0x391ebf(0x343)]=0x7]=_0x391ebf(0x343),_0x13af50[_0x13af50[_0x391ebf(0x2e8)]=0x8]=_0x391ebf(0x2e8),_0x13af50[_0x13af50[_0x391ebf(0x300)]=0x9]='COMPLETION_FINISHED',_0x13af50[_0x13af50['LOGIN_FAILED']=0xa]=_0x391ebf(0x2db),_0x13af50[_0x13af50[_0x391ebf(0x460)]=0xb]=_0x391ebf(0x460),_0x13af50[_0x13af50[_0x391ebf(0x35f)]=0xc]=_0x391ebf(0x35f),_0x13af50[_0x13af50[_0x391ebf(0x385)]=0xd]=_0x391ebf(0x385),_0x13af50[_0x13af50[_0x391ebf(0x472)]=0xe]='EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED',_0x13af50[_0x13af50[_0x391ebf(0x31f)]=0x1389]=_0x391ebf(0x31f),_0x13af50[_0x13af50[_0x391ebf(0x449)]=0x1771]=_0x391ebf(0x449),_0x13af50[_0x13af50[_0x391ebf(0x2f0)]=0x1772]=_0x391ebf(0x2f0),_0x13af50[_0x13af50['ENSURE_SNAPSHOT_EXECUTION']=0x1773]='ENSURE_SNAPSHOT_EXECUTION',_0x13af50[_0x13af50['APPLY_REJECT']=0x1b59]=_0x391ebf(0x2c5),_0x13af50[_0x13af50['APPLY_NON_SEQUENTIAL_REVISION']=0x1b5a]='APPLY_NON_SEQUENTIAL_REVISION',_0x13af50[_0x13af50['APPLY_REVISION_CONFILICT']=0x1b5b]=_0x391ebf(0x391),_0x13af50[_0x13af50[_0x391ebf(0x263)]=0x1b5c]=_0x391ebf(0x263),_0x13af50[_0x13af50[_0x391ebf(0x3db)]=0x1b5d]=_0x391ebf(0x3db),_0x13af50[_0x13af50[_0x391ebf(0x397)]=0x1f41]=_0x391ebf(0x397),_0x13af50[_0x13af50[_0x391ebf(0x279)]=0x2329]=_0x391ebf(0x279),_0x13af50[_0x13af50[_0x391ebf(0x420)]=0x232a]=_0x391ebf(0x420),_0x13af50[_0x13af50[_0x391ebf(0x46c)]=0x232b]=_0x391ebf(0x46c),_0x13af50[_0x13af50[_0x391ebf(0x3f4)]=0x232c]=_0x391ebf(0x3f4),_0x13af50[_0x13af50[_0x391ebf(0x1f3)]=0x232d]=_0x391ebf(0x1f3),_0x13af50[_0x13af50[_0x391ebf(0x32a)]=0x2711]=_0x391ebf(0x32a),_0x13af50[_0x13af50['YUUMI_URL_COL_OUT_OF_RANGE']=0x2712]='YUUMI_URL_COL_OUT_OF_RANGE',_0x13af50[_0x13af50['YUUMI_RATE_OVER_LIMIT']=0x2713]=_0x391ebf(0x453),_0x13af50[_0x13af50[_0x391ebf(0x2ba)]=0x2714]='YUUMI_SUBSCRIPTION_NOT_FOUND',_0x13af50[_0x13af50[_0x391ebf(0x209)]=0x271a]=_0x391ebf(0x209),_0x13af50[_0x13af50['YUUMI_ASYNCIO_CANCELLED']=0x271b]=_0x391ebf(0x305),_0x13af50[_0x13af50['YUUMI_TABLE_NOT_FOUND_IN_UNIT']=0x271c]='YUUMI_TABLE_NOT_FOUND_IN_UNIT',_0x13af50[_0x13af50[_0x391ebf(0x347)]=0x271d]=_0x391ebf(0x347),_0x13af50[_0x13af50[_0x391ebf(0x398)]=0x271e]=_0x391ebf(0x398),_0x13af50[_0x13af50[_0x391ebf(0x33c)]=0x271f]='YUUMI_AI_RUN_FAILED',_0x13af50[_0x13af50[_0x391ebf(0x310)]=0x2720]='YUUMI_CONNECTOR_URL_NOT_FOUND',_0x13af50[_0x13af50[_0x391ebf(0x3cb)]=0x2af9]=_0x391ebf(0x3cb),_0x13af50[_0x13af50[_0x391ebf(0x3f5)]=0x2ee1]=_0x391ebf(0x3f5),_0x13af50[_0x13af50['INVALID_INVITE_CODE']=0x2ee2]='INVALID_INVITE_CODE',_0x13af50[_0x13af50[_0x391ebf(0x224)]=0x2ee3]='INVITE_CODE_REQUIRED',_0x13af50[_0x13af50[_0x391ebf(0x331)]=0x2ee4]=_0x391ebf(0x331),_0x13af50[_0x13af50[_0x391ebf(0x330)]=0x2ee5]=_0x391ebf(0x330),_0x13af50[_0x13af50[_0x391ebf(0x2f6)]=0x32c9]=_0x391ebf(0x2f6),_0x13af50[_0x13af50[_0x391ebf(0x467)]=0x32ca]=_0x391ebf(0x467),_0x13af50[_0x13af50[_0x391ebf(0x2f9)]=0x32cb]=_0x391ebf(0x2f9),_0x13af50[_0x13af50['UNRECOGNIZED']=-0x1]='UNRECOGNIZED',_0x13af50))(_0x2fb1ae||{}),_0x115aa2=Object[_0x391ebf(0x1f0)],_0x566c7c=(_0x3bc9,_0x111a7f,_0x388888,_0x23c4fe)=>{const _0x28e7c5=_0x391ebf;for(var _0x3a56ad=_0x23c4fe>0x1?void 0x0:_0x23c4fe?_0x115aa2(_0x111a7f,_0x388888):_0x111a7f,_0x3720f3=_0x3bc9[_0x28e7c5(0x2aa)]-0x1,_0x56acbc;_0x3720f3>=0x0;_0x3720f3--)(_0x56acbc=_0x3bc9[_0x3720f3])&&(_0x3a56ad=_0x56acbc(_0x3a56ad)||_0x3a56ad);return _0x3a56ad;},_0x184eaf=(_0x9644c2,_0x571601)=>(_0x34b9a5,_0x3bd437)=>_0x571601(_0x34b9a5,_0x3bd437,_0x9644c2);_0x5afeab['RemoteUniscriptService']=class extends _0x2ca890['Disposable']{constructor(_0x233b42,_0x32db63,_0x2224fb){const _0x57779c=_0x391ebf;super(),this[_0x57779c(0x2b2)]=_0x233b42,this[_0x57779c(0x422)]=_0x32db63,this[_0x57779c(0x44a)]=_0x2224fb;}async['runOnServer'](_0x2354db,_0x5517ac,_0x40454d,..._0x37bdc9){const _0x328fff=_0x391ebf;var _0x230af0,_0x255370,_0x4bf36f,_0x16c4ba;const _0x54d579=this[_0x328fff(0x2b2)][_0x328fff(0x27d)]();if(!_0x54d579)throw new Error(_0x328fff(0x473));const _0x50ae6c=((_0x230af0=this['_configService']['getConfig'](_0x38fa63[_0x328fff(0x328)]))!=null?_0x230af0:_0x38fa63[_0x328fff(0x1f9)])+'/'+_0x2354db+'/run/'+_0x5517ac,_0x190085=new URL(window[_0x328fff(0x218)][_0x328fff(0x34f)]),_0x5237e4={'scriptId':_0x2354db,'runId':(_0x255370=_0x190085[_0x328fff(0x34d)]['get'](_0x328fff(0x3f8)))!=null?_0x255370:'','function':_0x5517ac,'unitId':_0x54d579[_0x328fff(0x2c4)](),'argsOfFunction':JSON['stringify'](_0x37bdc9),'invokeId':(_0x4bf36f=_0x40454d[_0x328fff(0x3e0)])!=null?_0x4bf36f:'','executionId':(_0x16c4ba=_0x40454d[_0x328fff(0x39b)])!=null?_0x16c4ba:''};try{const _0x344889=await this[_0x328fff(0x422)][_0x328fff(0x3cf)](_0x50ae6c,{'body':_0x5237e4});return _0x344889['body'][_0x328fff(0x390)]&&_0x344889[_0x328fff(0x235)][_0x328fff(0x390)]['code']!==_0x2fb1ae['OK']?_0x328fff(0x23e):_0x344889[_0x328fff(0x235)][_0x328fff(0x227)];}catch{return _0x328fff(0x23e);}}},_0x5afeab[_0x391ebf(0x204)]=_0x566c7c([_0x184eaf(0x0,_0x2ca890[_0x391ebf(0x216)]),_0x184eaf(0x1,_0x2ca890[_0x391ebf(0x2cb)](_0x39816b[_0x391ebf(0x455)])),_0x184eaf(0x2,_0x2ca890[_0x391ebf(0x292)])],_0x5afeab[_0x391ebf(0x204)]),_0x5afeab[_0x391ebf(0x2bc)]=_0x412836,_0x5afeab[_0x391ebf(0x315)]=_0x289033,_0x5afeab[_0x391ebf(0x372)]=_0x5dafa9,_0x5afeab['WebBrowserSingleActiveUnitService']=_0x5d6b62,_0x5afeab[_0x391ebf(0x393)]=_0x3ec3af,Object[_0x391ebf(0x3c0)](_0x5afeab,Symbol[_0x391ebf(0x470)],{'value':'Module'});}));function _0x4b14(_0x335c7a,_0x110cae){const _0x330fa0=_0x330f();return _0x4b14=function(_0x4b1436,_0x38387a){_0x4b1436=_0x4b1436-0x1e5;let _0x478f6f=_0x330fa0[_0x4b1436];return _0x478f6f;},_0x4b14(_0x335c7a,_0x110cae);}function _0x330f(){const _0x4fb481=['push','color','min','transform','COLORS','BuiltInUIPart','green.600','_updateCollabCursors','collabStatus.synced','registerRenderModule','APPLY_DUPLICATED','_sheetSkeletonManagerService','UniverProCollaborationClient','onMouseMove','reconnect','invokeId','unitId','useRef','_scheduleHeartbeat','CollaborationController','toString','newValue','Vector2','clipPath','_saveCache','_refreshCollabCursors','editingUnit','handleMoveRange','registerBeforeClose','selections','permission.title','shareReplay','delete','getCollabEntity$','getOffsetConfig','LICENSE_EXPORT_SIZE_EXCEEDED','INVITE_CODE_HAS_BEEN_UES','init','arc','runId','skeleton','UniverSheetsUi','extend','_handleEvent','DataLoaderService','ILogService','_docStateChangeManagerService','_docTransformIMECacheService','getMember','addClipboardHook','getDocRanges','whenReady','SHEET_VIEWPORT_KEY','deepClone','_localCacheService','UniverCollaborationClientPlugin','measureText','override','set','_send','_context','top','transformMutation','values','FETCH_MISS','CollaborationEvent','115ceUezW','_docTransformStateCacheService','_localStorageService','_themeService','_urlService','_shapes','generateRandomId','UNIVER_DOC','exports','purple.300','_entityInit$','_status$','setConfig','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','getSheetId','_httpService','_heartbeatTimer','_scheduleClearOtherTimer','Error','getUndoRedoMutationParamsCache','xlink:href','getUnitStatus$','11JynMLJ','RECT','InsertRowCommandId','clearInterval','jsx','range','TEXT_RANGE_LAYER_INDEX','UNIVER_COLLABORATION_CLIENT_WEB_PLUGIN','InsertColCommandId','_setupBeforeClosingHandler','getParam','setShapeProps','_color','disposeWithMe','isTransformMutationsWithChangesetSuccess','collabCursorState$','fillText','url(#$1','registerDependencies','_registerDependencies','prototype','_getMergeRange','@univerjs-pro/collaboration-client','getCollabCursors$','unitID','saveOfflineData','ACTIVE_UNIT_EVENT_CHANNEL','isTransformMutationFailure','Disposable','ALREADY_EXISTS','onTransformChange$','rxjs/operators','SNAPSHOT_INVALID_SNAPSHOT','_configService','path','height','M0\x200H16V16H0z','url(#off-line-icon_clip0_910_343)','selection','5920788CkZzIo','Tools','_entities','YUUMI_RATE_OVER_LIMIT','collab-text-range-','HTTPService','JOIN_ROOM_FAILED','combineLatest','complete','getLocalCacheKey','getCurrentUnitForType','row','colorChannel1','updateOfflineData','then','getViewport','MOBILE_VERIFY_CODE_MISMATCH','UniverProCollaboration','pushState','_assignedColors','SessionStatus','_scheduleSaving','INTERNAL_ERROR','MOBILE_HAS_BEEN_BOUND','transformByState','addEventListener','_cursor','RichTextEditingMutation','LICENSE_IMPORT_SIZE_EXCEEDED','jsxs','UniverNetwork','runRefRangeMutations','toStringTag','RegularPolygon','EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','[RemoteUniscriptService]:\x20no\x20focused\x20unit','@univerjs/docs-ui','onPointerMove$','_removeClearOtherTimer','_collabSessionService','UniverEngineFormula','NodePositionConvertToRectRange','_hideTimer','@univerjs/network','_handleLeaveEvent','transformSelections','pipe','getOwnPropertyDescriptor','takeUntil','_collabCursorController','LICENSE_DISTRO_REJECTED','_docTransformSelectionsService','startRow','react/jsx-runtime','getUnhiddenWorksheets','getColor','DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','_colorIndex','history','origin','_eventUnsubscribe','_anchorDot','1em','_document','onCommandExecuted','has','black','RemoteUniscriptService','forEach','saveImage','univer-text-sm\x20univer-leading-8\x20univer-text-gray-600\x20dark:!univer-text-gray-200','icon','YUUMI_NO_CUBOID_FOR_QUESTION','INotificationService','_syncEditingCollabCursorService','replace','_init','name','subunit','loadUnit','addObject','onRendered','IRemoteInstanceService','_commandService','_config','IUniverInstanceService','UniverEngineRender','location','next','DisposableCollection','unsubscribe','getRelativeToViewportCoord','handleIRemoveCol','getItem','_startDocCollabCursor','USERS_LEAVE','mapTo','getActiveRange','_dataLoaderService','INVITE_CODE_REQUIRED','assign','debug','result','_drawRectRange','_ensureSubject','dispose$','_online','setParam','uni.network.url-service','stringify','handleInsertRangeMoveDown','_getSheetObject','DOC_RANGE_TYPE','Injector','_createSocketURL','closePath','body','setInterval','fill','asObservable','NOT_FOUND','SheetSkeletonManagerService','UniverRpc','_collaborationController','disableLocalCache','Failed','_injector','20JTRNcB','actions','exhaustSavingTask','setTimeout','forwardRef','_roomMembers$','33035juHhIK','restore','call','_unitOnClients','handleIRemoveRow','@univerjs/ui','OnLineIcon','type','sessionTicket','_backgroundColor','UniverCollaborationClientUIPlugin','_draw','_hover','_clearOtherTimers','defIds','onPointerLeave$','displayName','IMessageService','className','UniverDocs','max','distinctUntilChanged','_transformUndoRedoStack','m2Prime','dispose','application/json','52869ynZwuD','_getScale','UPDATE_CURSOR','APPLY_PERMISSION_DENIED','CollaborationStatus','setAlpha','get','0\x200\x2016\x2016','switchMap','getCoordByCell','div','_onCursorDelete','operators','isArray','_drawTextRange','session.connection-failed','roomMembers','handleDeleteRangeMoveUp','60nMyJSk','VIEW_MAIN','indexOf','collab-rect-range-','getSheetBySheetId','tag','_drawAnchor','LICENSE_MAX_UNITS_EXCEEDED','bottom','_getSessionTicket','getRangePointData','getFocusedUnit','SetWorksheetActivateCommand','EffectRefRangId','_saveTaskMap','m1Prime','cursorInfo','show','mask','UnitStatus','session.will-retry','IBeforeCloseService','_initCommandExecutedListener','UniverDocsUi','DocIMEInputManagerService','off-line-icon_clip0_910_343','Subject','createInstance','saveTaskMap','getCellPositionByOffset','currentSkeleton$','DocSelectionManagerService','IConfigService','CommandType','transformIMECache','_memberService','_selfUnitIDs','SetSelectionsOperation','_updateSubUnitFromURLParams','ranges','_session','collabStatus.fetchMiss','collabStatus.conflict','_getSaveTimeout','eventID','docStateChange$','includes','idSuffix','_handleHeartbeatEvent','_refRangeService','getCurrentRevOfUnit','OffLineIcon','textRanges','MemberService','toDisposable','status$','length','enableLocalCache','CollaborationUIEventId','_cachedData','_initResize','BehaviorSubject','isEditing','string','_instanceService','#FFF','parse','_setupSubUnitSync','collabStatus.offline','from','subscribeEvent','deserializeRangeWithSheet','YUUMI_SUBSCRIPTION_NOT_FOUND','fromEvent','CollaborationStatusDisplay','memberID','serializeRangeWithSheet','UNIVER_SHEET','requireSession','collaboration.single-unit.warning','_initDependencies','substring','getUnitId','APPLY_REJECT','fillStyle','attrs','children','Tooltip','object','Inject','focused$','420OiWpvE','BrowserCollaborationSocketService','filter','toRgbString','MessageType','popstate','collaboration-client-ui.config','UniverProCollaborationClientUi','_colorAssignService','_transformService','throttleTime','_imageIoService','apply','ColorKit','LOGIN_FAILED','getSheetObject','red.300','SOCKET_FAILED','sheetID','_id','IDocClipboardService','_toggleOnline','_transformPreviousActiveRange','getConfig','DesktopCollaborationStatusDisplayController','_getAnchorBounding','on-line-icon_clip0_910_349','TOO_MANY_REQUESTS','add','moveTo','currentColor','params','0\x200\x2017\x2016','RemoveColCommandId','startColumn','SNAPSHOT_HAS_BEEN_REMOVED','_docSkeletonManagerService','use','unshift','_docSyncEditingCollabCursorService','getOwnPropertySymbols','WECHAT_HAS_BEEN_BOUND','5036UFmYgH','getMergeData','EMAIL_HAS_BEEN_BOUND','loadOfflineData','lineTo','addObjects','RefRangeService','useDependency','_docSkeleton','COMPLETION_FINISHED','entries','NOT_COLLAB','isActive','UNDEFINED','YUUMI_ASYNCIO_CANCELLED','getRenderById','transformRemoteChangeset','unload','_univerInstanceService','width','_renderManagerService','font','size','_initStatusComponent','storage','YUUMI_CONNECTOR_URL_NOT_FOUND','_hovered','map','hide','onStarting','IURLService','session.collaboration-timeout','defs','@univerjs/engine-render','[CollaborationDataLoaderController]','_notificationService','Rect','DeleteRangeMoveLeftCommandId','entityInit$','roomMembers$','CHANGESET_REVISION_CONFILICT','clearTimeout','text','@univerjs/sheets','getStateCache','3992KgRRCi','ITransformService','_toggleOffline','_handleHover','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY','getTypeOfUnitAdded$','YUUMI_UNABLE_LOAD_URL','LocaleService','CLOSE_ROOM','_labelPosition','evenodd','@univerjs/core','INVITE_CODE_ALREADY_BOUND','USER_NOT_INVITED_CODE','967941Ibtvwp','function','SOCKET_FAILED_RETRY','OFFLINE','_anchor','_cursors','Warning','@univerjs/drawing','transformMutationsWithChangeset','useCallback','YUUMI_AI_RUN_FAILED','getTypeOfUnitDisposed$','ThemeService','registerRefRange','_unitStatus','beginPath','flatMap','INVALID_ARGUMENT','svg','_collabCursorState$','IRenderManagerService','YUUMI_ALL_TABLES_IS_INVALID','_revisionService','data','makeDirty','handleInsertCol','_onRefRangeChange','searchParams','_lastPointer','href','Workbook','with','findNodePositionByCharIndex','getAncestorScale','yellow.400','createElement','ICommandService','CollaborationSocketService','bold\x2013px\x20Source\x20Han\x20Sans\x20CN','6503mjeWtj','_initEntityListener','split','doc.mutation.rich-text-editing','concat','_messageService','MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','LOCAL_CACHE_INTERVAL','TEXT','InsertRangeMoveDownCommandId','setItem','CollaborationSessionService','url(#on-line-icon_clip0_910_349)','UniverDrawing','pluginName','_docClipboardService','round','_updateURLWithCurrentState','_scene','_cursorInfo$','getColorFromTheme','getValue','OTHER_CLIENTS_EDITING','transformStateCache','debounce','SheetCollabCursorShape','_render','off-line-icon','873158nmQQMT','onPointerEnter$','imageSourceType','assignAColorForMemberID','_logService','React','syncEditingCollabCursor','Unknown\x20user','symbol','hasOwnProperty','univer-mr-2\x20univer-flex\x20univer-text-xl','getMemberID','OTHER_CLIENT_EDITING','@univerjs/rpc','collaboration-client.offline-data-not-saved','mutations','EMAIL_VERIFY_CODE_MISMATCH','clsx','COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY','endRow','event$','fillRule','Shape','subscribe','getSkeleton','_doCreateSocket','_localeService','error','APPLY_REVISION_CONFILICT','unit','WebURLService','CollaborationDataLoaderController','DocStateChangeManagerService','DependentOn','CONNECTOR_DATA_TOO_LARGE','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','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','_removeCollabCursors','executionId','Plugin','getCurrent','_name','UniverInstanceType','all','trim','ILocalCacheService','UniverDesign','debounceTime','_startSheetCollabCursor','@univerjs-pro/collaboration','cursorInfo$','save','CONFLICT','NO_OTHER_CLIENTS_EDITING','_onCursorUpdate','_collaborationUIEventService','SUBMIT_CHANGESET_TIMEOUT','_range','drawWith','...','send','_uiPartsService','currentTheme$','sessionStatus$','_handleJoinEvent','UNAUTHENTICATED','merge','@univerjs/docs','RxDisposable','rxjs','hovered','_initStatusListener','replaceState','_updateLocalCursor','PERMISSION_DENIED','defineProperty','redoState','_initEvent','_disabled','permission.content','executeCommand','_textBubble','setActiveRange','rgba(255,\x20255,\x20255,\x200.01)','subUnitId','_cursorShapes','PY_RUNTIME_SCRIPT_ERROR','SetTextSelectionsOperation','handleInsertRow','MUTATION','post','column'];_0x330f=function(){return _0x4fb481;};return _0x330f();}
|
|
1
|
+
function _0x5e37(_0x2f7ba1,_0x23f5be){const _0x38bfde=_0x38bf();return _0x5e37=function(_0x5e37a3,_0x5bf19b){_0x5e37a3=_0x5e37a3-0x112;let _0x24178d=_0x38bfde[_0x5e37a3];return _0x24178d;},_0x5e37(_0x2f7ba1,_0x23f5be);}(function(_0x29366d,_0x1a03d4){const _0x4dccab=_0x5e37,_0x1916c5=_0x29366d();while(!![]){try{const _0x4356cd=parseInt(_0x4dccab(0x320))/0x1+parseInt(_0x4dccab(0x145))/0x2*(-parseInt(_0x4dccab(0x323))/0x3)+-parseInt(_0x4dccab(0x144))/0x4*(-parseInt(_0x4dccab(0x39b))/0x5)+-parseInt(_0x4dccab(0x157))/0x6*(-parseInt(_0x4dccab(0x1e9))/0x7)+-parseInt(_0x4dccab(0x34b))/0x8*(-parseInt(_0x4dccab(0x328))/0x9)+-parseInt(_0x4dccab(0x331))/0xa*(parseInt(_0x4dccab(0x115))/0xb)+-parseInt(_0x4dccab(0x166))/0xc*(-parseInt(_0x4dccab(0x392))/0xd);if(_0x4356cd===_0x1a03d4)break;else _0x1916c5['push'](_0x1916c5['shift']());}catch(_0xdbc521){_0x1916c5['push'](_0x1916c5['shift']());}}}(_0x38bf,0x198c0),function(_0x91d668,_0x16d302){const _0x5934af=_0x5e37;typeof exports==_0x5934af(0x1cf)&&typeof module<'u'?_0x16d302(exports,require('@univerjs-pro/collaboration-client'),require('@univerjs/core'),require('@univerjs/engine-render'),require('@univerjs/network'),require('@univerjs/docs-ui'),require('@univerjs/drawing'),require('rxjs'),require('@univerjs-pro/collaboration'),require('@univerjs/docs'),require('@univerjs/engine-formula'),require('@univerjs/sheets'),require('rxjs/operators'),require('@univerjs/sheets-ui'),require('react/jsx-runtime'),require('@univerjs/ui'),require('@univerjs/design'),require('react'),require('@univerjs/rpc')):typeof define==_0x5934af(0x25f)&&define['amd']?define([_0x5934af(0x241),_0x5934af(0x351),'@univerjs/core',_0x5934af(0x1af),'@univerjs/network',_0x5934af(0x2dc),_0x5934af(0x357),_0x5934af(0x219),'@univerjs-pro/collaboration',_0x5934af(0x209),_0x5934af(0x16c),_0x5934af(0x3a2),'rxjs/operators',_0x5934af(0x218),_0x5934af(0x34f),_0x5934af(0x324),_0x5934af(0x113),'react','@univerjs/rpc'],_0x16d302):(_0x91d668=typeof globalThis<'u'?globalThis:_0x91d668||self,_0x16d302(_0x91d668[_0x5934af(0x21a)]={},_0x91d668['UniverProCollaborationClient'],_0x91d668[_0x5934af(0x25b)],_0x91d668[_0x5934af(0x2f5)],_0x91d668[_0x5934af(0x2d1)],_0x91d668[_0x5934af(0x36d)],_0x91d668[_0x5934af(0x321)],_0x91d668['rxjs'],_0x91d668[_0x5934af(0x232)],_0x91d668[_0x5934af(0x327)],_0x91d668[_0x5934af(0x11e)],_0x91d668[_0x5934af(0x139)],_0x91d668[_0x5934af(0x219)][_0x5934af(0x31c)],_0x91d668[_0x5934af(0x1ae)],_0x91d668[_0x5934af(0x2d3)],_0x91d668['UniverUi'],_0x91d668[_0x5934af(0x310)],_0x91d668[_0x5934af(0x2d3)],_0x91d668[_0x5934af(0x3a3)]));}(this,function(_0xdd3109,_0x5b75f3,_0xdbbc0b,_0x298404,_0x33f97b,_0x22d0a2,_0x29c517,_0x3ffc62,_0x19f0f8,_0x1c666e,_0x5281d6,_0x1ec1ef,_0x3175d5,_0x485be0,_0x197c47,_0x35e407,_0x4d1693,_0x59a538,_0x44b63e){'use strict';const _0xcdf360=_0x5e37;var _0x56cdeb=Object[_0xcdf360(0x286)],_0x564344=(_0x10f617,_0x239484,_0x3f50ae)=>_0x239484 in _0x10f617?_0x56cdeb(_0x10f617,_0x239484,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x3f50ae}):_0x10f617[_0x239484]=_0x3f50ae,_0x4b2350=(_0x386242,_0x3db6dc,_0x1d6dd3)=>_0x564344(_0x386242,typeof _0x3db6dc!=_0xcdf360(0x2df)?_0x3db6dc+'':_0x3db6dc,_0x1d6dd3),_0x1f0d26=Object[_0xcdf360(0x28b)],_0x19c438=(_0x6cf609,_0xf1fbd0,_0x487491,_0xcf9184)=>{const _0x4642d9=_0xcdf360;for(var _0x196a56=_0xcf9184>0x1?void 0x0:_0xcf9184?_0x1f0d26(_0xf1fbd0,_0x487491):_0xf1fbd0,_0x57458a=_0x6cf609[_0x4642d9(0x2cc)]-0x1,_0xf21a19;_0x57458a>=0x0;_0x57458a--)(_0xf21a19=_0x6cf609[_0x57458a])&&(_0x196a56=_0xf21a19(_0x196a56)||_0x196a56);return _0x196a56;},_0x16ce0c=(_0x3aaa1d,_0x3dd63d)=>(_0x3ccb26,_0x22bd19)=>_0x3dd63d(_0x3ccb26,_0x22bd19,_0x3aaa1d);let _0x32e025=class extends _0xdbbc0b['RxDisposable']{constructor(_0x153f62,_0x4cc207){const _0x137923=_0xcdf360;super(),this['_docClipboardService']=_0x153f62,this[_0x137923(0x1d9)]=_0x4cc207,this[_0x137923(0x383)]();}[_0xcdf360(0x383)](){const _0xab8b65=_0xcdf360,_0x5379b5=this;this[_0xab8b65(0x228)](this[_0xab8b65(0x2e3)][_0xab8b65(0x154)]({'onBeforePasteImage':async _0x10a372=>{const _0x2b0882=_0xab8b65,_0x25d8fa=await _0x5379b5[_0x2b0882(0x1d9)][_0x2b0882(0x2ab)](_0x10a372);return _0x25d8fa?{'source':_0x25d8fa[_0x2b0882(0x33f)],'imageSourceType':_0x25d8fa['imageSourceType']}:null;}}));}};_0x32e025=_0x19c438([_0x16ce0c(0x0,_0x22d0a2['IDocClipboardService']),_0x16ce0c(0x1,_0x29c517[_0xcdf360(0x1e5)])],_0x32e025);const _0x22fb63=['purple.300','jiqing.500','green.600',_0xcdf360(0x208),'blue.400',_0xcdf360(0x32d)];class _0x22b5e9 extends _0xdbbc0b[_0xcdf360(0x124)]{constructor(){const _0x4ec2f3=_0xcdf360;super(...arguments),_0x4b2350(this,_0x4ec2f3(0x2ea),new Map()),_0x4b2350(this,_0x4ec2f3(0x16b),0x0);}['assignAColorForMemberID'](_0xca0c31){const _0x475f51=_0xcdf360;if(this['_assignedColors'][_0x475f51(0x2e7)](_0xca0c31))return this['_assignedColors'][_0x475f51(0x1f7)](_0xca0c31);const _0x1a6df7=_0x22fb63[this[_0x475f51(0x16b)]];return this['_colorIndex']=(this['_colorIndex']+0x1)%_0x22fb63['length'],this[_0x475f51(0x2ea)][_0x475f51(0x130)](_0xca0c31,_0x1a6df7),_0x1a6df7;}}function _0x3aec04(_0x15efc0){const _0x2a916f=_0xcdf360;let _0x3bbe73='';for(const _0x33cce5 of _0x15efc0){const {startOffset:_0x5daafe,endOffset:_0xfe38c5,isActive:_0x273db5,rangeType:_0x17575f,segmentId:_0xbf53a6,segmentPage:_0x4fa315}=_0x33cce5;_0x3bbe73[_0x2a916f(0x2cc)]&&(_0x3bbe73+=','),_0x3bbe73+=_0x5daafe+':'+_0xfe38c5+':'+(_0x273db5?'1':'0')+':'+_0x17575f+':'+_0xbf53a6+':'+_0x4fa315;}return _0x3bbe73;}function _0x518ca1(_0x2a4a66){const _0x40612e=_0xcdf360,_0x4c9270=_0x2a4a66[_0x40612e(0x32e)](','),_0x2dfd38=[];for(const _0x2acfdf of _0x4c9270){const [_0x466c94,_0x1cbb2b,_0x2e1395,_0x31aed8,_0x166bed,_0x39e7fd]=_0x2acfdf[_0x40612e(0x32e)](':');_0x2dfd38[_0x40612e(0x197)]({'startOffset':Number(_0x466c94),'endOffset':Number(_0x1cbb2b),'collapsed':_0x466c94===_0x1cbb2b,'isActive':_0x2e1395==='1','rangeType':_0x31aed8===_0xdbbc0b[_0x40612e(0x180)][_0x40612e(0x12c)]?_0xdbbc0b[_0x40612e(0x180)][_0x40612e(0x12c)]:_0xdbbc0b['DOC_RANGE_TYPE'][_0x40612e(0x302)],'segmentId':typeof _0x166bed==_0x40612e(0x2ac)?String(_0x166bed):'','segmentPage':Number(_0x39e7fd!=null?_0x39e7fd:-0x1)});}return _0x2dfd38[_0x40612e(0x20b)](_0x4a87bb=>_0x4a87bb[_0x40612e(0x330)])||(_0x2dfd38[0x0][_0x40612e(0x330)]=!0x0),_0x2dfd38;}class _0xfade12 extends _0xdbbc0b[_0xcdf360(0x2f8)]{constructor(){const _0x49d1ae=_0xcdf360;super(...arguments),_0x4b2350(this,_0x49d1ae(0x364),new _0x3ffc62[(_0x49d1ae(0x268))](null)),_0x4b2350(this,_0x49d1ae(0x1f4),this[_0x49d1ae(0x364)][_0x49d1ae(0x120)]());}[_0xcdf360(0x30c)](_0x584b82){const _0x1a7063=_0xcdf360,{unitID:_0x301184,memberID:_0x45662f,textRanges:_0x54ebc1}=_0x584b82,_0x2b9d21=_0x3aec04(_0x54ebc1);if(_0x2b9d21==='')return;const _0x54476e={'unitID':_0x301184,'memberID':_0x45662f,'selection':_0x2b9d21};this[_0x1a7063(0x364)]['next'](_0x54476e);}}var _0x33a8a9=Object[_0xcdf360(0x28b)],_0x460542=(_0x4a2245,_0x2e8c0d,_0x35a85a,_0x382ca6)=>{const _0x520630=_0xcdf360;for(var _0x21038b=_0x382ca6>0x1?void 0x0:_0x382ca6?_0x33a8a9(_0x2e8c0d,_0x35a85a):_0x2e8c0d,_0x3684cb=_0x4a2245[_0x520630(0x2cc)]-0x1,_0x4f5a5c;_0x3684cb>=0x0;_0x3684cb--)(_0x4f5a5c=_0x4a2245[_0x3684cb])&&(_0x21038b=_0x4f5a5c(_0x21038b)||_0x21038b);return _0x21038b;},_0x501b50=(_0x317430,_0x4d20b1)=>(_0x4bbd4a,_0x7cd0b8)=>_0x4d20b1(_0x4bbd4a,_0x7cd0b8,_0x317430);const _0xa4421f=0x12c,_0x3253f9=0x64;let _0x3589a7=class extends _0xdbbc0b['RxDisposable']{constructor(_0x5508b9,_0x5aecc5,_0x5ca235,_0x4aaddb,_0x30307e,_0x334339,_0x244e4c,_0x91a8ee,_0xe997e4){const _0x155563=_0xcdf360;super(),_0x4b2350(this,'_online',!0x1),_0x4b2350(this,'_init',!0x1),_0x4b2350(this,_0x155563(0x17f),new _0x3ffc62[(_0x155563(0x268))](new Map())),_0x4b2350(this,_0x155563(0x262),this[_0x155563(0x17f)][_0x155563(0x120)]()),_0x4b2350(this,'_roomMembers$',new _0x3ffc62[(_0x155563(0x268))]([])),_0x4b2350(this,_0x155563(0x1c1),this[_0x155563(0x1ea)][_0x155563(0x1f6)](_0x3ffc62[_0x155563(0x30d)](_0xa4421f))),_0x4b2350(this,'_updateLocalCursor',_0xdbbc0b['debounce'](_0x4c354e=>{const _0x159264=_0x155563,_0x22468a={'eventID':_0x19f0f8[_0x159264(0x1c8)]['UPDATE_CURSOR'],'data':{'unitID':this[_0x159264(0x15e)],'memberID':this['_session']['getMemberID'](),'selection':_0x3aec04(_0x4c354e)}};this[_0x159264(0x13a)][_0x159264(0x251)](_0x22468a,this['unitID']);},_0x3253f9)),(this[_0x155563(0x15e)]=_0x5508b9,this['_session']=_0x5aecc5,this[_0x155563(0x2fe)]=_0x5ca235,this['_colorAssignService']=_0x4aaddb,this[_0x155563(0x195)]=_0x30307e,this[_0x155563(0x123)]=_0x334339,this[_0x155563(0x182)]=_0x244e4c,this[_0x155563(0x1b5)]=_0x91a8ee,this[_0x155563(0x338)]=_0xe997e4);}get['cursorInfo'](){const _0x3ffe0b=_0xcdf360;return this['_cursorInfo$'][_0x3ffe0b(0x27f)]();}get[_0xcdf360(0x234)](){const _0x57f49f=_0xcdf360;return this[_0x57f49f(0x1ea)]['getValue']();}['dispose'](){const _0x4e0bfd=_0xcdf360;super[_0x4e0bfd(0x37f)](),this[_0x4e0bfd(0x17f)][_0x4e0bfd(0x1e4)](new Map()),this[_0x4e0bfd(0x17f)][_0x4e0bfd(0x277)](),this['_roomMembers$'][_0x4e0bfd(0x1e4)]([]),this[_0x4e0bfd(0x1ea)]['complete']();}['init'](){const _0x4f6386=_0xcdf360;this['_init']||(this[_0x4f6386(0x383)]=!0x0,this['_session'][_0x4f6386(0x1e7)][_0x4f6386(0x1f6)](_0x3ffc62[_0x4f6386(0x336)](this[_0x4f6386(0x1c3)]))['subscribe'](_0x27c27e=>{const _0x172401=_0x4f6386;_0x27c27e===_0x5b75f3[_0x172401(0x35e)]['ONLINE']?this['_toggleOnline']():this[_0x172401(0x1f1)]();}),this['_session']['event$']['pipe'](_0x3ffc62[_0x4f6386(0x336)](this[_0x4f6386(0x1c3)]))[_0x4f6386(0x37d)](_0x1fc1d9=>{const _0x3445cb=_0x4f6386,_0x11c520=_0x1fc1d9[_0x3445cb(0x214)];_0x11c520===_0x19f0f8[_0x3445cb(0x1c8)][_0x3445cb(0x34c)]&&this[_0x3445cb(0x131)](_0x1fc1d9),_0x11c520===_0x19f0f8['CollaborationEvent'][_0x3445cb(0x169)]&&this[_0x3445cb(0x19f)](_0x1fc1d9);}),this[_0x4f6386(0x228)](this[_0x4f6386(0x338)]['onCommandExecuted'](_0x4c5f33=>{const _0xa0c7d3=_0x4f6386,_0x542939=_0x4c5f33['params'];_0x542939!=null&&this['_online']&&_0x4c5f33['id']===_0x1c666e['SetTextSelectionsOperation']['id']&&_0x542939[_0xa0c7d3(0x259)]===this[_0xa0c7d3(0x15e)]&&_0x542939[_0xa0c7d3(0x11f)]===!0x1&&_0x542939['ranges'][_0xa0c7d3(0x2cc)]>0x0&&this[_0xa0c7d3(0x28c)](_0x542939['ranges']);})),this['_syncEditingCollabCursorService'][_0x4f6386(0x1f4)]['pipe'](_0x3ffc62['takeUntil'](this[_0x4f6386(0x1c3)]))[_0x4f6386(0x37d)](_0x4d9c5b=>{const _0x3a4c0f=_0x4f6386;if((_0x4d9c5b==null?void 0x0:_0x4d9c5b[_0x3a4c0f(0x15e)])!==this[_0x3a4c0f(0x15e)])return;const _0x28b661={'eventID':_0x19f0f8[_0x3a4c0f(0x1c8)][_0x3a4c0f(0x34c)],'data':_0x4d9c5b};this[_0x3a4c0f(0x131)](_0x28b661);}),this['disposeWithMe'](this[_0x4f6386(0x338)][_0x4f6386(0x204)](_0x9a96e1=>{const _0x393465=_0x4f6386;if(_0x9a96e1[_0x393465(0x2f9)]==null)return;const _0x19f8b5=_0x9a96e1[_0x393465(0x2f9)];if(_0x9a96e1['id']!==_0x1c666e[_0x393465(0x264)]['id']||_0x19f8b5[_0x393465(0x259)]!==this[_0x393465(0x15e)])return;const _0x1395cc={'id':_0x393465(0x2c6),'params':_0x19f8b5},_0x1fad76=this[_0x393465(0x1b8)];for(const [_0x3e13a2,_0x146085]of _0x1fad76){const _0x19c811={'id':_0x393465(0x2c6),'params':{'unitId':this['unitID'],'actions':null,'textRanges':_0x146085['ranges']}},_0x3dae4a=this['_transformService'][_0x393465(0x1d4)](_0x1395cc,_0x19c811,!0x1);if(_0x19f0f8['isTransformMutationFailure'](_0x3dae4a))throw _0x3dae4a[_0x393465(0x1e3)];_0x1fad76[_0x393465(0x130)](_0x3e13a2,{..._0x146085,'ranges':_0x3dae4a['m2Prime'][_0x393465(0x2f9)]['textRanges']});}queueMicrotask(()=>{const _0x5c4433=_0x393465;this[_0x5c4433(0x17f)][_0x5c4433(0x1e4)](_0x1fad76);});})));}[_0xcdf360(0x131)](_0x11989a){const _0x447786=_0xcdf360;var _0xb8f606,_0x57804f;const {memberID:_0x2faf57,selection:_0x508a6f}=_0x11989a[_0x447786(0x28f)],_0x5dba7a=_0x518ca1(_0x508a6f),_0x4abe24=(_0x57804f=(_0xb8f606=this[_0x447786(0x195)][_0x447786(0x194)](this['unitID'],_0x2faf57))==null?void 0x0:_0xb8f606[_0x447786(0x2db)])!=null?_0x57804f:_0x447786(0x1e1),_0x35eeb7={'color':this[_0x447786(0x1ba)][_0x447786(0x300)](_0x2faf57),'name':_0x4abe24,'ranges':_0x5dba7a},_0x2391f3=this['cursorInfo'];_0x2391f3['set'](_0x2faf57,_0x35eeb7),this['_cursorInfo$'][_0x447786(0x1e4)](_0x2391f3);}[_0xcdf360(0x19f)](_0x1e83ab){const _0x2d6da9=_0xcdf360,{memberID:_0x5e98ba}=_0x1e83ab['data'],_0xb75458=this[_0x2d6da9(0x1b8)];_0xb75458[_0x2d6da9(0x274)](_0x5e98ba),this[_0x2d6da9(0x17f)][_0x2d6da9(0x1e4)](_0xb75458);}[_0xcdf360(0x2aa)](){const _0x2871e7=_0xcdf360;var _0x13f32a;if(this[_0x2871e7(0x29e)]=!0x0,((_0x13f32a=this[_0x2871e7(0x1b5)][_0x2871e7(0x379)]())==null?void 0x0:_0x13f32a[_0x2871e7(0x394)]())!==this[_0x2871e7(0x15e)])return;const _0x415691=this['_injector'][_0x2871e7(0x1f7)](_0x1c666e[_0x2871e7(0x129)])[_0x2871e7(0x2b5)]();Array['isArray'](_0x415691)&&_0x415691[_0x2871e7(0x2cc)]>0x0&&this[_0x2871e7(0x28c)](_0x415691);}[_0xcdf360(0x1f1)](){const _0x3c393c=_0xcdf360;this[_0x3c393c(0x29e)]=!0x1;}};_0x3589a7=_0x460542([_0x501b50(0x2,_0xdbbc0b['Inject'](_0xdbbc0b[_0xcdf360(0x2d4)])),_0x501b50(0x3,_0xdbbc0b[_0xcdf360(0x1ee)](_0x22b5e9)),_0x501b50(0x4,_0xdbbc0b['Inject'](_0x5b75f3[_0xcdf360(0x23d)])),_0x501b50(0x5,_0xdbbc0b[_0xcdf360(0x1ee)](_0xfade12)),_0x501b50(0x6,_0x19f0f8[_0xcdf360(0x238)]),_0x501b50(0x7,_0xdbbc0b[_0xcdf360(0x191)]),_0x501b50(0x8,_0xdbbc0b[_0xcdf360(0x21e)])],_0x3589a7);var _0x41fb0c=Object[_0xcdf360(0x28b)],_0x50d31e=(_0x49a0e1,_0x3957d9,_0x18d733,_0x7d0894)=>{const _0x56ae40=_0xcdf360;for(var _0x463a24=_0x7d0894>0x1?void 0x0:_0x7d0894?_0x41fb0c(_0x3957d9,_0x18d733):_0x3957d9,_0x8744e7=_0x49a0e1[_0x56ae40(0x2cc)]-0x1,_0x1a57e2;_0x8744e7>=0x0;_0x8744e7--)(_0x1a57e2=_0x49a0e1[_0x8744e7])&&(_0x463a24=_0x1a57e2(_0x463a24)||_0x463a24);return _0x463a24;},_0x1f9d81=(_0x22c8e6,_0x3a0a18)=>(_0x15029d,_0x182263)=>_0x3a0a18(_0x15029d,_0x182263,_0x22c8e6);const _0xbb9427=0x12c,_0x82a573=0x64,_0x4983aa=()=>{let _0x14ca5e=[],_0x3fae58=!0x1;return _0x5787bf=>{_0x14ca5e['push'](_0x5787bf),_0x3fae58||(_0x3fae58=!0x0,setTimeout(()=>{const _0x52e896=_0x5e37;_0x14ca5e[_0x52e896(0x269)](_0x42b0b2=>_0x42b0b2()),_0x14ca5e=[],_0x3fae58=!0x1;}));};};let _0x553cbb=class extends _0xdbbc0b[_0xcdf360(0x2f8)]{constructor(_0x59ab67,_0x2163fa,_0x4abac2,_0x500738,_0xaa1b9a,_0xa80c7,_0x41254c,_0x35eb70){const _0x3bfb0a=_0xcdf360;super(),_0x4b2350(this,_0x3bfb0a(0x29e),!0x1),_0x4b2350(this,_0x3bfb0a(0x383),!0x1),_0x4b2350(this,_0x3bfb0a(0x17f),new _0x3ffc62[(_0x3bfb0a(0x268))](new Map())),_0x4b2350(this,_0x3bfb0a(0x262),this[_0x3bfb0a(0x17f)]['asObservable']()),_0x4b2350(this,_0x3bfb0a(0x1ea),new _0x3ffc62[(_0x3bfb0a(0x268))]([])),_0x4b2350(this,_0x3bfb0a(0x1c1),this[_0x3bfb0a(0x1ea)][_0x3bfb0a(0x1f6)](_0x3ffc62[_0x3bfb0a(0x30d)](_0xbb9427))),_0x4b2350(this,'_updateLocalCursor',_0xdbbc0b['debounce']((_0x2fc382,_0x41a20a)=>{const _0x3a71b3=_0x3bfb0a,_0x536906={'eventID':_0x19f0f8[_0x3a71b3(0x1c8)][_0x3a71b3(0x34c)],'data':{'unitID':this[_0x3a71b3(0x15e)],'memberID':this['_session']['getMemberID'](),'selection':_0x5281d6['serializeRangeWithSheet'](_0x2fc382,_0x41a20a['range'])}};this['_session']['send'](_0x536906,this[_0x3a71b3(0x15e)]);},_0x82a573)),(this[_0x3bfb0a(0x15e)]=_0x59ab67,this[_0x3bfb0a(0x13a)]=_0x2163fa,this[_0x3bfb0a(0x2fe)]=_0x4abac2,this[_0x3bfb0a(0x1ba)]=_0x500738,this['_memberService']=_0xaa1b9a,this[_0x3bfb0a(0x1b5)]=_0xa80c7,this[_0x3bfb0a(0x338)]=_0x41254c,this[_0x3bfb0a(0x161)]=_0x35eb70);}get[_0xcdf360(0x1b8)](){const _0x31426c=_0xcdf360;return this[_0x31426c(0x17f)][_0x31426c(0x27f)]();}get['roomMembers'](){const _0x1808d2=_0xcdf360;return this[_0x1808d2(0x1ea)][_0x1808d2(0x27f)]();}[_0xcdf360(0x37f)](){const _0xa43a8c=_0xcdf360;super[_0xa43a8c(0x37f)](),this[_0xa43a8c(0x17f)][_0xa43a8c(0x1e4)](new Map()),this['_cursorInfo$']['complete'](),this[_0xa43a8c(0x1ea)][_0xa43a8c(0x1e4)]([]),this[_0xa43a8c(0x1ea)][_0xa43a8c(0x277)]();}[_0xcdf360(0x1f0)](){const _0x10cfa5=_0xcdf360;this['_init']||(this['_init']=!0x0,this[_0x10cfa5(0x13a)]['sessionStatus$'][_0x10cfa5(0x1f6)](_0x3ffc62[_0x10cfa5(0x336)](this['dispose$']))[_0x10cfa5(0x37d)](_0x50380a=>{const _0x493790=_0x10cfa5;_0x50380a===_0x5b75f3[_0x493790(0x35e)][_0x493790(0x1f3)]?this[_0x493790(0x2aa)]():this['_toggleOffline']();}),this[_0x10cfa5(0x13a)][_0x10cfa5(0x329)][_0x10cfa5(0x1f6)](_0x3ffc62[_0x10cfa5(0x336)](this[_0x10cfa5(0x1c3)]))[_0x10cfa5(0x37d)](_0x3230ff=>{const _0x3aec7e=_0x10cfa5,_0x4330b3=_0x3230ff[_0x3aec7e(0x214)];_0x4330b3===_0x19f0f8['CollaborationEvent'][_0x3aec7e(0x34c)]&&this['_onCursorUpdate'](_0x3230ff),_0x4330b3===_0x19f0f8[_0x3aec7e(0x1c8)][_0x3aec7e(0x169)]&&this[_0x3aec7e(0x19f)](_0x3230ff);}),this[_0x10cfa5(0x26d)](),this[_0x10cfa5(0x228)](this[_0x10cfa5(0x338)][_0x10cfa5(0x204)](_0x34dad1=>{const _0x56bb82=_0x10cfa5;if(this[_0x56bb82(0x29e)]&&_0x34dad1['id']===_0x1ec1ef['SetSelectionsOperation']['id']&&_0x34dad1[_0x56bb82(0x2f9)][_0x56bb82(0x259)]===this[_0x56bb82(0x15e)]){const _0x2d027d=_0x34dad1[_0x56bb82(0x2f9)];this[_0x56bb82(0x28c)](_0x2d027d[_0x56bb82(0x390)],_0x2d027d[_0x56bb82(0x2f6)][0x0]);}})));}[_0xcdf360(0x131)](_0x5c4adc){const _0x1ec2ca=_0xcdf360;var _0xe09ea3,_0x33f50a;const {memberID:_0x281632,selection:_0x5e090b}=_0x5c4adc[_0x1ec2ca(0x28f)],{sheetName:_0x398c23,range:_0x10199e}=_0x5281d6[_0x1ec2ca(0x337)](_0x5e090b),_0x2b1c6f={'name':(_0x33f50a=(_0xe09ea3=this[_0x1ec2ca(0x195)][_0x1ec2ca(0x194)](this[_0x1ec2ca(0x15e)],_0x281632))==null?void 0x0:_0xe09ea3[_0x1ec2ca(0x2db)])!=null?_0x33f50a:'Unknown\x20user','range':this[_0x1ec2ca(0x29a)](_0x398c23,_0x10199e),'sheetID':_0x398c23,'color':this['_colorAssignService']['assignAColorForMemberID'](_0x281632),'selection':_0x5e090b},_0x2a019a=this[_0x1ec2ca(0x1b8)];_0x2a019a[_0x1ec2ca(0x130)](_0x281632,_0x2b1c6f),this[_0x1ec2ca(0x17f)][_0x1ec2ca(0x1e4)](_0x2a019a);}[_0xcdf360(0x19f)](_0xfce85f){const _0x269909=_0xcdf360,{memberID:_0x2bfac6}=_0xfce85f[_0x269909(0x28f)],_0x5c037f=this[_0x269909(0x1b8)];_0x5c037f[_0x269909(0x274)](_0x2bfac6),this[_0x269909(0x17f)][_0x269909(0x1e4)](_0x5c037f);}[_0xcdf360(0x29a)](_0x1638c8,_0xddaed9){const _0x87d50f=_0xcdf360;var _0x4a94cd,_0xefaa8;const _0x49cc0f=(_0xefaa8=(_0x4a94cd=this[_0x87d50f(0x1b5)][_0x87d50f(0x352)](this['unitID']))==null?void 0x0:_0x4a94cd[_0x87d50f(0x16f)](_0x1638c8))==null?void 0x0:_0xefaa8['getMergeData']();return(_0x49cc0f==null?void 0x0:_0x49cc0f['find'](_0x14753d=>_0xdbbc0b['Rectangle'][_0x87d50f(0x312)](_0x14753d,_0xddaed9)))||_0xddaed9;}['_onRefRangeChange'](){const _0x4f992c=_0xcdf360,_0x350b02=new _0xdbbc0b[(_0x4f992c(0x247))](),_0xb54774=_0x4983aa(),_0x311808=()=>{const _0x3734b9=_0x4f992c;_0x350b02[_0x3734b9(0x37f)]();const _0x35f8e6=(_0x548a81,_0x1ddc0a,_0x77350,_0x3d6127)=>{const _0xd144d2=_0x3734b9;let _0x5baf91=[];switch(_0x548a81['id']){case _0x1ec1ef[_0xd144d2(0x32b)]['DeleteRangeMoveLeftCommandId']:{_0x5baf91=_0x1ec1ef[_0xd144d2(0x36b)](_0x548a81,_0x3d6127);break;}case _0x1ec1ef[_0xd144d2(0x32b)][_0xd144d2(0x236)]:{_0x5baf91=_0x1ec1ef[_0xd144d2(0x280)](_0x548a81,_0x3d6127);break;}case _0x1ec1ef['EffectRefRangId']['InsertColCommandId']:{_0x5baf91=_0x1ec1ef[_0xd144d2(0x181)](_0x548a81,_0x3d6127);break;}case _0x1ec1ef['EffectRefRangId'][_0xd144d2(0x183)]:{_0x5baf91=_0x1ec1ef[_0xd144d2(0x14e)](_0x548a81,_0x3d6127);break;}case _0x1ec1ef[_0xd144d2(0x32b)]['InsertRangeMoveRightCommandId']:{_0x5baf91=_0x1ec1ef['handleInsertRangeMoveRight'](_0x548a81,_0x3d6127);break;}case _0x1ec1ef['EffectRefRangId'][_0xd144d2(0x207)]:{_0x5baf91=_0x1ec1ef[_0xd144d2(0x142)](_0x548a81,_0x3d6127);break;}case _0x1ec1ef[_0xd144d2(0x32b)][_0xd144d2(0x398)]:{_0x5baf91=_0x1ec1ef[_0xd144d2(0x363)](_0x548a81,_0x3d6127);break;}case _0x1ec1ef[_0xd144d2(0x32b)]['RemoveColCommandId']:{_0x5baf91=_0x1ec1ef[_0xd144d2(0x258)](_0x548a81,_0x3d6127);break;}case _0x1ec1ef[_0xd144d2(0x32b)][_0xd144d2(0x11a)]:{_0x5baf91=_0x1ec1ef['handleIRemoveRow'](_0x548a81,_0x3d6127);break;}}const _0x160dbb=_0x1ec1ef[_0xd144d2(0x35f)](_0x5baf91,_0x3d6127),_0x41fcc7=this[_0xd144d2(0x1b8)][_0xd144d2(0x1f7)](_0x1ddc0a);if(_0x41fcc7&&_0x160dbb){const _0x371976={..._0x41fcc7,'range':_0x160dbb};this[_0xd144d2(0x1b8)]['set'](_0x1ddc0a,_0x371976),_0xb54774(()=>{const _0x3c8ead=_0xd144d2,_0x4699ef=this[_0x3c8ead(0x161)][_0x3c8ead(0x2de)](_0x160dbb,_0x445e96=>(_0x4699ef[_0x3c8ead(0x37f)](),_0x35f8e6(_0x445e96,_0x1ddc0a,_0x77350,_0x160dbb)));_0x350b02['add'](_0x4699ef);});}return{'redos':[],'undos':[]};};this[_0x3734b9(0x1b8)][_0x3734b9(0x269)]((_0x55bb88,_0x4a1874)=>{const _0x40379b=_0x3734b9,{range:_0x34cdee,sheetID:_0x50f341}=_0x55bb88,_0x54d9f9=this[_0x40379b(0x161)][_0x40379b(0x2de)](_0x34cdee,_0x2f870a=>(_0x54d9f9[_0x40379b(0x37f)](),_0x35f8e6(_0x2f870a,_0x4a1874,_0x50f341,_0x34cdee)));_0x350b02[_0x40379b(0x1a7)](_0x54d9f9);});};this[_0x4f992c(0x228)](_0xdbbc0b[_0x4f992c(0x1f8)](this[_0x4f992c(0x17f)][_0x4f992c(0x37d)](()=>{_0x311808();})));}[_0xcdf360(0x2aa)](){const _0x14b13b=_0xcdf360;var _0x19bee7,_0x31c2ae;if(this[_0x14b13b(0x29e)]=!0x0,((_0x19bee7=this[_0x14b13b(0x1b5)][_0x14b13b(0x379)]())==null?void 0x0:_0x19bee7[_0x14b13b(0x394)]())!==this['unitID'])return;const _0x508d0c=(_0x31c2ae=this[_0x14b13b(0x2fe)]['get'](_0x1ec1ef[_0x14b13b(0x1bf)])[_0x14b13b(0x365)]())==null?void 0x0:_0x31c2ae[0x0],_0x3fede6=this[_0x14b13b(0x1b5)][_0x14b13b(0x359)](_0xdbbc0b[_0x14b13b(0x21b)][_0x14b13b(0x33c)])[_0x14b13b(0x1aa)]();_0x508d0c&&_0x3fede6&&this[_0x14b13b(0x28c)](_0x3fede6[_0x14b13b(0x2d7)](),_0x508d0c);}[_0xcdf360(0x1f1)](){const _0x2048cd=_0xcdf360;this[_0x2048cd(0x29e)]=!0x1;}};_0x553cbb=_0x50d31e([_0x1f9d81(0x2,_0xdbbc0b[_0xcdf360(0x1ee)](_0xdbbc0b[_0xcdf360(0x2d4)])),_0x1f9d81(0x3,_0xdbbc0b[_0xcdf360(0x1ee)](_0x22b5e9)),_0x1f9d81(0x4,_0xdbbc0b[_0xcdf360(0x1ee)](_0x5b75f3['MemberService'])),_0x1f9d81(0x5,_0xdbbc0b[_0xcdf360(0x191)]),_0x1f9d81(0x6,_0xdbbc0b[_0xcdf360(0x21e)]),_0x1f9d81(0x7,_0xdbbc0b[_0xcdf360(0x1ee)](_0x1ec1ef[_0xcdf360(0x2fb)]))],_0x553cbb);var _0x28c1b8=Object[_0xcdf360(0x28b)],_0x2680b0=(_0xc1793b,_0x4c316d,_0x1d37b3,_0x47a5f1)=>{const _0xfe27e=_0xcdf360;for(var _0xfacc71=_0x47a5f1>0x1?void 0x0:_0x47a5f1?_0x28c1b8(_0x4c316d,_0x1d37b3):_0x4c316d,_0x164060=_0xc1793b[_0xfe27e(0x2cc)]-0x1,_0x30c58e;_0x164060>=0x0;_0x164060--)(_0x30c58e=_0xc1793b[_0x164060])&&(_0xfacc71=_0x30c58e(_0xfacc71)||_0xfacc71);return _0xfacc71;},_0xb584da=(_0xe0baae,_0x2d3cc9)=>(_0xb85569,_0x2c4742)=>_0x2d3cc9(_0xb85569,_0x2c4742,_0xe0baae);let _0x13e8e1=class extends _0xdbbc0b['RxDisposable']{constructor(_0x19afc3,_0x3b34fe,_0x2b9434){const _0x4806dd=_0xcdf360;super(),_0x4b2350(this,_0x4806dd(0x270),new Map()),_0x4b2350(this,'_entityInit$',new _0x3ffc62['Subject']()),(this[_0x4806dd(0x1b5)]=_0x19afc3,this[_0x4806dd(0x2fe)]=_0x3b34fe,this[_0x4806dd(0x23c)]=_0x2b9434,this[_0x4806dd(0x383)]());}[_0xcdf360(0x37f)](){const _0x344c49=_0xcdf360;super['dispose'](),this[_0x344c49(0x276)][_0x344c49(0x277)](),this['_entities'][_0x344c49(0x269)](_0x39c0db=>_0x39c0db[_0x344c49(0x37f)]());}[_0xcdf360(0x203)](_0x4ce3ae){const _0x476e25=_0xcdf360;return this[_0x476e25(0x270)][_0x476e25(0x2e7)](_0x4ce3ae)?this[_0x476e25(0x270)][_0x476e25(0x1f7)](_0x4ce3ae)[_0x476e25(0x262)]:this['_entityInit$'][_0x476e25(0x1f6)](_0x3ffc62[_0x476e25(0x1a3)](_0x295d36=>_0x295d36['unitID']===_0x4ce3ae),_0x3ffc62[_0x476e25(0x202)](_0x173cdd=>_0x173cdd[_0x476e25(0x262)]));}[_0xcdf360(0x383)](){const _0x37d88a=_0xcdf360;this[_0x37d88a(0x1b5)]['getTypeOfUnitAdded$'](_0xdbbc0b['UniverInstanceType'][_0x37d88a(0x33c)])[_0x37d88a(0x1f6)](_0x3ffc62[_0x37d88a(0x336)](this[_0x37d88a(0x1c3)]))['subscribe'](async _0x2c6bf9=>{const _0x51f96b=_0x37d88a,_0x43d534=_0x2c6bf9[_0x51f96b(0x394)](),_0x2f881b=await this[_0x51f96b(0x14d)](_0x43d534);this[_0x51f96b(0x276)][_0x51f96b(0x1e4)](_0x2f881b),this[_0x51f96b(0x270)][_0x51f96b(0x130)](_0x43d534,_0x2f881b);}),this[_0x37d88a(0x1b5)][_0x37d88a(0x315)](_0xdbbc0b[_0x37d88a(0x21b)]['UNIVER_DOC'])[_0x37d88a(0x1f6)](_0x3ffc62[_0x37d88a(0x336)](this[_0x37d88a(0x1c3)]))['pipe'](_0x3ffc62['filter'](_0x3238e2=>!_0x3238e2[_0x37d88a(0x394)]()[_0x37d88a(0x1be)]('__')))['subscribe'](async _0x345499=>{const _0x3c2416=_0x37d88a,_0x438723=_0x345499[_0x3c2416(0x394)](),_0x4ebbe7=await this[_0x3c2416(0x1d8)](_0x438723);this[_0x3c2416(0x276)][_0x3c2416(0x1e4)](_0x4ebbe7),this[_0x3c2416(0x270)][_0x3c2416(0x130)](_0x438723,_0x4ebbe7);}),_0x3ffc62[_0x37d88a(0x360)](this['_univerInstanceService'][_0x37d88a(0x211)](_0xdbbc0b[_0x37d88a(0x21b)][_0x37d88a(0x185)]),this[_0x37d88a(0x1b5)][_0x37d88a(0x211)](_0xdbbc0b['UniverInstanceType'][_0x37d88a(0x33c)]))[_0x37d88a(0x1f6)](_0x3ffc62[_0x37d88a(0x336)](this[_0x37d88a(0x1c3)]))[_0x37d88a(0x37d)](_0x2a9606=>{const _0x2b29d0=_0x37d88a,_0x3908b7=_0x2a9606[_0x2b29d0(0x394)](),_0x9511a4=this[_0x2b29d0(0x270)][_0x2b29d0(0x1f7)](_0x3908b7);_0x9511a4&&(_0x9511a4[_0x2b29d0(0x37f)](),this['_entities']['delete'](_0x3908b7));});}async[_0xcdf360(0x14d)](_0x420cba){const _0x4d8517=_0xcdf360,_0x58747e=await this[_0x4d8517(0x23c)]['requireSession'](_0x420cba),_0xa40b05=this[_0x4d8517(0x2fe)][_0x4d8517(0x2e1)](_0x553cbb,_0x420cba,_0x58747e);return _0xa40b05[_0x4d8517(0x1f0)](),_0xa40b05;}async[_0xcdf360(0x1d8)](_0x217720){const _0xcbae07=_0xcdf360,_0x1e8b9c=await this[_0xcbae07(0x23c)][_0xcbae07(0x291)](_0x217720),_0x124a28=this[_0xcbae07(0x2fe)][_0xcbae07(0x2e1)](_0x3589a7,_0x217720,_0x1e8b9c);return _0x124a28[_0xcbae07(0x1f0)](),_0x124a28;}};_0x13e8e1=_0x2680b0([_0xb584da(0x0,_0xdbbc0b['IUniverInstanceService']),_0xb584da(0x1,_0xdbbc0b[_0xcdf360(0x1ee)](_0xdbbc0b['Injector'])),_0xb584da(0x2,_0xdbbc0b[_0xcdf360(0x1ee)](_0x5b75f3['CollaborationSessionService']))],_0x13e8e1);const _0x5ee74f=0x14,_0x289855=0xc8,_0x5e044d=0x4,_0x209706=0x5;function _0x479a49(_0x4eabcf,_0x3acfd3){const _0x49a963=_0xcdf360;let {radius:_0x317dee,width:_0x1ff3ee,height:_0x96086c}=_0x3acfd3;_0x317dee=_0x317dee!=null?_0x317dee:0x0,_0x1ff3ee=_0x1ff3ee!=null?_0x1ff3ee:0x1e,_0x96086c=_0x96086c!=null?_0x96086c:0x1e;let _0x248249=0x0,_0x4562e9=0x0,_0x4971ec=0x0;_0x248249=_0x4562e9=_0x4971ec=Math['min'](_0x317dee,_0x1ff3ee/0x2,_0x96086c/0x2),_0x4eabcf[_0x49a963(0x30a)](),_0x4eabcf[_0x49a963(0x353)](_0x248249,0x0),_0x4eabcf[_0x49a963(0x358)](_0x1ff3ee-_0x4562e9,0x0),_0x4eabcf[_0x49a963(0x3a6)](_0x1ff3ee-_0x4562e9,_0x4562e9,_0x4562e9,Math['PI']*0x3/0x2,0x0,!0x1),_0x4eabcf[_0x49a963(0x358)](_0x1ff3ee,_0x96086c-_0x4971ec),_0x4eabcf[_0x49a963(0x3a6)](_0x1ff3ee-_0x4971ec,_0x96086c-_0x4971ec,_0x4971ec,0x0,Math['PI']/0x2,!0x1),_0x4eabcf['lineTo'](0x0,_0x96086c),_0x4eabcf[_0x49a963(0x358)](0x0,_0x248249),_0x4eabcf[_0x49a963(0x3a6)](_0x248249,_0x248249,_0x248249,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x4eabcf[_0x49a963(0x1dd)](),_0x3acfd3['fill']&&(_0x4eabcf['save'](),_0x4eabcf[_0x49a963(0x11d)]=_0x3acfd3['fill'],_0x3acfd3[_0x49a963(0x29f)]===_0x49a963(0x12e)?_0x4eabcf[_0x49a963(0x317)]('evenodd'):_0x4eabcf[_0x49a963(0x317)](),_0x4eabcf[_0x49a963(0x342)]());}class _0x4057dc extends _0x298404['Shape']{constructor(_0x2d99ec,_0x4a0337){const _0x5cc26d=_0xcdf360;super(_0x2d99ec,_0x4a0337),_0x4b2350(this,'color'),_0x4b2350(this,_0x5cc26d(0x158)),(this[_0x5cc26d(0x112)]=_0x4a0337==null?void 0x0:_0x4a0337[_0x5cc26d(0x112)],this[_0x5cc26d(0x158)]=_0x4a0337==null?void 0x0:_0x4a0337[_0x5cc26d(0x158)]);}static[_0xcdf360(0x17d)](_0x2e616a,_0x35b96c){const _0x9a3bad=_0xcdf360,{text:_0x2522b5,color:_0x30eb07}=_0x35b96c;_0x2e616a[_0x9a3bad(0x30f)](),_0x2e616a['font']='bold\x2013px\x20Source\x20Han\x20Sans\x20CN';const _0x4947ac=_0x2e616a[_0x9a3bad(0x1ed)](_0x2522b5)[_0x9a3bad(0x2e0)],_0x43a3b=Math[_0x9a3bad(0x2a1)](_0x4947ac+0x2*_0x5e044d,_0x289855);_0x479a49(_0x2e616a,{'height':_0x5ee74f,'radius':0x4,'width':_0x43a3b,'fill':_0x30eb07}),_0x2e616a[_0x9a3bad(0x11d)]=_0x9a3bad(0x1b4);const _0x18c938=_0x5e044d,_0x2b6d69=_0x5ee74f-_0x209706,_0x369f2f=_0x289855-0x2*_0x5e044d;if(_0x4947ac>_0x369f2f){let _0xce522b='',_0x356dc7=0x0;for(const _0x29e396 of _0x2522b5){const _0x496bcb=_0x2e616a['measureText'](_0x29e396)['width'];if(_0x356dc7+_0x496bcb<=_0x369f2f-_0x2e616a[_0x9a3bad(0x1ed)](_0x9a3bad(0x16e))['width'])_0xce522b+=_0x29e396,_0x356dc7+=_0x496bcb;else{_0xce522b+=_0x9a3bad(0x16e);break;}}_0x2e616a[_0x9a3bad(0x1f5)](_0xce522b,_0x18c938,_0x2b6d69);}else _0x2e616a[_0x9a3bad(0x1f5)](_0x2522b5,_0x18c938,_0x2b6d69);_0x2e616a[_0x9a3bad(0x342)]();}[_0xcdf360(0x171)](_0x48008d){_0x4057dc['drawWith'](_0x48008d,this);}}const _0x292d04=_0xcdf360(0x19e),_0x10118b='collab-text-range-',_0x2620c8='collab-rect-range-',_0x4341c6=0x6,_0x1568d1=1.5,_0x4846ba=0x4,_0x503200=1.5,_0x1b900e=_0xcdf360(0x1e8);class _0x59e034{constructor(_0x6ff8ba,_0xc8c8d2,_0x415cf5,_0x55d525){const _0x215e48=_0xcdf360;_0x4b2350(this,'_shapes',[]),_0x4b2350(this,_0x215e48(0x2e2),null),_0x4b2350(this,_0x215e48(0x150),null),_0x4b2350(this,_0x215e48(0x1a4),null),_0x4b2350(this,'_hideTimer',null),_0x4b2350(this,_0x215e48(0x2bb),null),(this[_0x215e48(0x2b1)]=_0x6ff8ba,this[_0x215e48(0x1c7)]=_0xc8c8d2,this['_docSkeleton']=_0x415cf5,this[_0x215e48(0x2bd)]=_0x55d525,this[_0x215e48(0x235)]());}set[_0xcdf360(0x275)](_0x13f74b){const _0x447981=_0xcdf360;_0x13f74b?(this[_0x447981(0x1a4)]&&this['_anchorDot'][_0x447981(0x21f)](),this[_0x447981(0x150)]&&this[_0x447981(0x150)][_0x447981(0x1ce)]()):(this[_0x447981(0x1a4)]&&this[_0x447981(0x1a4)][_0x447981(0x1ce)](),this[_0x447981(0x150)]&&this['_textBubble'][_0x447981(0x21f)]());}[_0xcdf360(0x37f)](){const _0xd5b41=_0xcdf360;for(const _0x3075c5 of this['_shapes'])_0x3075c5[_0xd5b41(0x37f)]();this[_0xd5b41(0x150)]&&this[_0xd5b41(0x150)]['dispose'](),this['_anchorDot']&&this[_0xd5b41(0x1a4)][_0xd5b41(0x37f)](),this['_anchor']&&this['_anchor']['dispose'](),this[_0xd5b41(0x2bb)]&&this['_eventUnsubscribe']();}[_0xcdf360(0x235)](){const _0x42c0e0=_0xcdf360;var _0x4bce4b;const {_docSkeleton:_0x3c34b3,_document:_0x4857e5}=this,{color:_0x111d47,name:_0x41d1a9,ranges:_0x274c77}=this['_cursor'],_0x345524=_0x4857e5[_0x42c0e0(0x1df)](),{docsLeft:_0x418139,docsTop:_0x4deff4}=_0x345524,_0x41b1b8=new _0x22d0a2[(_0x42c0e0(0x16d))](_0x345524,_0x3c34b3);for(const {startOffset:_0x45cc92,endOffset:_0x3189fe,rangeType:_0x43d683,segmentId:_0x3295cd,segmentPage:_0x6501be,collapsed:_0x363cae,isActive:_0x2f0dee}of _0x274c77){const _0x3d1b54=_0x3c34b3[_0x42c0e0(0x25a)](_0x45cc92,!0x0,_0x3295cd,_0x6501be);let _0x3e066a=_0x3c34b3['findNodePositionByCharIndex'](_0x3189fe,!0x0,_0x3295cd,_0x6501be);if(_0x3e066a==null&&(_0x3e066a=_0x3c34b3[_0x42c0e0(0x25a)](_0x3189fe-0x1,!0x1,_0x3295cd,_0x6501be)),_0x2f0dee){const {contentBoxPointGroup:_0x476d04}=_0x41b1b8[_0x42c0e0(0x306)](_0x3e066a,_0x3e066a);if(_0x476d04['length']===0x0)continue;this['_drawAnchor'](_0x111d47,_0x476d04,_0x418139,_0x4deff4,_0x41d1a9),this[_0x42c0e0(0x2bb)]=this[_0x42c0e0(0x3a5)]();}if(_0x3d1b54&&_0x3e066a){if(_0x43d683===_0xdbbc0b[_0x42c0e0(0x180)]['RECT']){const _0xf8c4b3=new _0x22d0a2[(_0x42c0e0(0x12b))](_0x345524,_0x3c34b3),{pointGroup:_0x1e4a86}=(_0x4bce4b=_0xf8c4b3['getRangePointData'](_0x3d1b54,_0x3e066a))!=null?_0x4bce4b:{};if(_0x1e4a86==null||_0x1e4a86['length']===0x0)continue;this[_0x42c0e0(0x3a9)](_0x111d47,_0x1e4a86,_0x418139,_0x4deff4);}else{if(!_0x363cae){const {borderBoxPointGroup:_0x3869e3}=_0x41b1b8['getRangePointData'](_0x3d1b54,_0x3e066a);if(_0x3869e3[_0x42c0e0(0x2cc)]===0x0)continue;this[_0x42c0e0(0x278)](_0x111d47,_0x3869e3,_0x418139,_0x4deff4);}}}}}[_0xcdf360(0x2fa)](_0x19dbb6,_0xaab8ed,_0x4ed0c2,_0x5cef2,_0x3cb1dc){const _0x997158=_0xcdf360,_0x275a92=this[_0x997158(0x2bf)](_0xaab8ed),{left:_0x458f2a,top:_0x4894d4,height:_0x33d984}=_0x275a92,_0x46a09f=this['_getScale'](),_0x458c2d=_0x503200/_0x46a09f,_0x5c44ec=new _0x298404['Rect'](_0x292d04+_0xdbbc0b[_0x997158(0x1ab)](_0x4341c6),{'left':_0x458f2a+_0x4ed0c2-_0x458c2d,'top':_0x4894d4+_0x5cef2,'height':_0x33d984,'width':_0x1568d1,'fill':_0x19dbb6||_0x298404[_0x997158(0x384)](_0xdbbc0b[_0x997158(0x226)][_0x997158(0x2a2)],0x0),'strokeWidth':_0x458c2d,'stroke':_0x1b900e,'evented':!0x0});this[_0x997158(0x2e2)]=_0x5c44ec,this[_0x997158(0x1c7)][_0x997158(0x1cd)](_0x5c44ec,_0x22d0a2['TEXT_RANGE_LAYER_INDEX']);const _0x4dbc54=new _0x298404[(_0x997158(0x246))](_0x292d04+_0xdbbc0b[_0x997158(0x1ab)](_0x4341c6),{'left':_0x458f2a+_0x4ed0c2-_0x458c2d,'top':_0x4894d4+_0x5cef2-_0x4846ba/0x2,'height':_0x4846ba,'width':_0x4846ba,'fill':_0x19dbb6||_0x298404[_0x997158(0x384)](_0xdbbc0b[_0x997158(0x226)][_0x997158(0x2a2)],0x0),'strokeWidth':0x0,'stroke':_0x19dbb6||_0x298404[_0x997158(0x384)](_0xdbbc0b[_0x997158(0x226)][_0x997158(0x2a2)],0x0),'evented':!0x1});this['_anchorDot']=_0x4dbc54,this['_scene'][_0x997158(0x1cd)](_0x4dbc54,_0x22d0a2['TEXT_RANGE_LAYER_INDEX']);const _0x1e755a=new _0x4057dc(_0x292d04+_0xdbbc0b[_0x997158(0x1ab)](_0x4341c6),{'left':_0x458f2a+_0x4ed0c2-_0x458c2d,'top':_0x4894d4+_0x5cef2-_0x5ee74f,'text':_0x3cb1dc,'color':_0x19dbb6});this['_textBubble']=_0x1e755a,this[_0x997158(0x1c7)]['addObject'](_0x1e755a,_0x22d0a2['TEXT_RANGE_LAYER_INDEX']),this['_hover']=!0x1;}[_0xcdf360(0x3a5)](){const _0x5e0db0=_0xcdf360,_0x5bc6a7=this[_0x5e0db0(0x2e2)]['onPointerEnter$'][_0x5e0db0(0x29d)](()=>{this['_hover']=!0x0;}),_0xaf2d83=this['_anchor'][_0x5e0db0(0x205)][_0x5e0db0(0x29d)](()=>{const _0x23e766=_0x5e0db0;this[_0x23e766(0x12f)]&&clearTimeout(this[_0x23e766(0x12f)]),this[_0x23e766(0x12f)]=setTimeout(()=>{const _0x3787fc=_0x23e766;this[_0x3787fc(0x275)]=!0x1;},0x7d0);});return()=>{const _0x2814d3=_0x5e0db0;_0x5bc6a7['unsubscribe'](),_0xaf2d83[_0x2814d3(0x289)]();};}[_0xcdf360(0x278)](_0x4bfac4,_0x7791cc,_0x27dc80,_0x3b7972){const _0x1e7c35=_0xcdf360,_0xbb015d=new _0xdbbc0b[(_0x1e7c35(0x371))](_0x4bfac4)[_0x1e7c35(0x33a)](0.2)[_0x1e7c35(0x27d)](),_0x5bfd91=new _0x298404['RegularPolygon'](_0x10118b+_0xdbbc0b['generateRandomId'](_0x4341c6),{'pointsGroup':_0x7791cc,'fill':_0xbb015d||_0x298404[_0x1e7c35(0x384)](_0xdbbc0b[_0x1e7c35(0x226)][_0x1e7c35(0x2a2)],0.2),'left':_0x27dc80,'top':_0x3b7972,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x1e7c35(0x176)][_0x1e7c35(0x197)](_0x5bfd91),this[_0x1e7c35(0x1c7)][_0x1e7c35(0x1cd)](_0x5bfd91,_0x22d0a2['TEXT_RANGE_LAYER_INDEX']);}[_0xcdf360(0x3a9)](_0xe55d3d,_0x4a719d,_0x2b48be,_0x558497){const _0x20543b=_0xcdf360,_0x21af58=new _0xdbbc0b[(_0x20543b(0x371))](_0xe55d3d)[_0x20543b(0x33a)](0.2)[_0x20543b(0x27d)](),_0x3bb1be=new _0x298404[(_0x20543b(0x2ce))](_0x2620c8+_0xdbbc0b['generateRandomId'](_0x4341c6),{'pointsGroup':_0x4a719d,'fill':_0x21af58||_0x298404[_0x20543b(0x384)](_0xdbbc0b['COLORS']['black'],0.2),'left':_0x2b48be,'top':_0x558497,'evented':!0x1,'debounceParentDirty':!0x1});this['_shapes'][_0x20543b(0x197)](_0x3bb1be),this['_scene'][_0x20543b(0x1cd)](_0x3bb1be,_0x22d0a2[_0x20543b(0x1b3)]);}['_getAnchorBounding'](_0x2587d9){const _0xaa8bb6=_0x2587d9[0x0],_0x30b046=_0xaa8bb6[0x0],_0x3f4c96=_0xaa8bb6[0x2],{x:_0xbfbc9b,y:_0x59dd8c}=_0x30b046,{x:_0x54297d,y:_0x36cdad}=_0x3f4c96;return{'left':_0xbfbc9b,'top':_0x59dd8c,'width':_0x54297d-_0xbfbc9b,'height':_0x36cdad-_0x59dd8c};}['_getScale'](){const _0x3a0a2e=_0xcdf360,{scaleX:_0x25c0c7,scaleY:_0x4d63f4}=this[_0x3a0a2e(0x1c7)]['getAncestorScale']();return Math[_0x3a0a2e(0x3a0)](_0x25c0c7,_0x4d63f4);}}var _0x9dadfb=Object[_0xcdf360(0x28b)],_0x26699c=(_0x445b90,_0x542c22,_0x5b3499,_0x56d4f0)=>{const _0x411a55=_0xcdf360;for(var _0x5441a7=_0x56d4f0>0x1?void 0x0:_0x56d4f0?_0x9dadfb(_0x542c22,_0x5b3499):_0x542c22,_0x54ea17=_0x445b90[_0x411a55(0x2cc)]-0x1,_0x1e78cd;_0x54ea17>=0x0;_0x54ea17--)(_0x1e78cd=_0x445b90[_0x54ea17])&&(_0x5441a7=_0x1e78cd(_0x5441a7)||_0x5441a7);return _0x5441a7;},_0x3c71c6=(_0x22d49c,_0x1e95a0)=>(_0x452497,_0x1b9ca6)=>_0x1e95a0(_0x452497,_0x1b9ca6,_0x22d49c);let _0x18635d=class extends _0xdbbc0b[_0xcdf360(0x2f8)]{constructor(_0x3f9bfd,_0x419555,_0x130d8a,_0x4cf6ab,_0x260d3c){const _0x5e2c0c=_0xcdf360;super(),_0x4b2350(this,_0x5e2c0c(0x222),[]),_0x4b2350(this,_0x5e2c0c(0x1c2),[]),(this[_0x5e2c0c(0x212)]=_0x3f9bfd,this['_docSkeletonManagerService']=_0x419555,this['_collabCursorController']=_0x130d8a,this[_0x5e2c0c(0x338)]=_0x4cf6ab,this[_0x5e2c0c(0x117)]=_0x260d3c,this[_0x5e2c0c(0x383)]());}[_0xcdf360(0x383)](){const _0x53c48b=_0xcdf360,_0x420c37=this[_0x53c48b(0x212)]['unitId'],_0x34f8c0=this[_0x53c48b(0x373)];this[_0x53c48b(0x228)](_0x3ffc62[_0x53c48b(0x13d)]([this[_0x53c48b(0x2ec)][_0x53c48b(0x203)](_0x420c37),this[_0x53c48b(0x117)][_0x53c48b(0x36f)]])['pipe'](_0x3175d5['map'](([_0x35f599,_0x5b41d2])=>({'skeleton':_0x34f8c0[_0x53c48b(0x22b)](),'cursors':[..._0x35f599[_0x53c48b(0x391)]()][_0x53c48b(0x18b)](_0x21590d=>({..._0x21590d,'color':this[_0x53c48b(0x117)][_0x53c48b(0x17b)](_0x21590d[_0x53c48b(0x112)])}))})))['subscribe'](_0x38fa6c=>{if(this['_removeCollabCursors'](),_0x38fa6c){const {skeleton:_0x5d7b0,cursors:_0xb69bb0}=_0x38fa6c;this['_updateCollabCursors'](_0x5d7b0,_0xb69bb0);}})),this['_initResize'](),this[_0x53c48b(0x25d)]();}[_0xcdf360(0x281)](_0x37a0c5,_0x4aa44e){const _0x18cea8=_0xcdf360,{scene:_0x2f106a,mainComponent:_0x4584f0}=this[_0x18cea8(0x212)],_0x527f5c=_0x4aa44e[_0x18cea8(0x37a)](_0xca42c7=>new _0x59e034(_0xca42c7,_0x2f106a,_0x37a0c5,_0x4584f0));this['_cursorShapes']=_0x527f5c,this[_0x18cea8(0x1c2)]=_0x4aa44e;}[_0xcdf360(0x294)](){const _0x463016=_0xcdf360;this[_0x463016(0x25e)]();const {scene:_0x3a9325,mainComponent:_0x5d1da4}=this['_context'],_0x35c813=this[_0x463016(0x373)][_0x463016(0x22b)](),_0x2e3ef5=this[_0x463016(0x1c2)][_0x463016(0x37a)](_0xc21454=>new _0x59e034(_0xc21454,_0x3a9325,_0x35c813,_0x5d1da4));this[_0x463016(0x222)]=_0x2e3ef5;}['_removeCollabCursors'](){const _0x3d1e8b=_0xcdf360;this['_cursorShapes']['forEach'](_0x3696e9=>_0x3696e9[_0x3d1e8b(0x37f)]()),this['_cursorShapes']=[];}[_0xcdf360(0x25d)](){const _0x4eb048=_0xcdf360,_0x17f1c1=[_0x22d0a2['SetDocZoomRatioOperation']['id']];this['disposeWithMe'](this[_0x4eb048(0x338)][_0x4eb048(0x204)](_0x2437f0=>{const _0x1cce7c=_0x4eb048;_0x17f1c1[_0x1cce7c(0x18a)](_0x2437f0['id'])&&_0x2437f0[_0x1cce7c(0x2f9)][_0x1cce7c(0x259)]===this[_0x1cce7c(0x212)][_0x1cce7c(0x259)]&&this['_refreshCollabCursors']();}));}[_0xcdf360(0x1a5)](){const _0x3eccab=_0xcdf360;this['disposeWithMe'](_0xdbbc0b['fromEventSubject'](this['_context'][_0x3eccab(0x1d1)][_0x3eccab(0x18d)])[_0x3eccab(0x1f6)](_0x3175d5['filter'](_0xdea3a8=>_0xdea3a8[_0x3eccab(0x2da)]===_0x298404['TRANSFORM_CHANGE_OBSERVABLE_TYPE'][_0x3eccab(0x125)]),_0x3175d5['throttleTime'](0x10))[_0x3eccab(0x37d)](()=>{this['_refreshCollabCursors']();}));}};_0x18635d=_0x26699c([_0x3c71c6(0x1,_0xdbbc0b[_0xcdf360(0x1ee)](_0x1c666e[_0xcdf360(0x31a)])),_0x3c71c6(0x2,_0xdbbc0b[_0xcdf360(0x1ee)](_0x13e8e1)),_0x3c71c6(0x3,_0xdbbc0b['ICommandService']),_0x3c71c6(0x4,_0xdbbc0b[_0xcdf360(0x1ee)](_0xdbbc0b[_0xcdf360(0x1ff)]))],_0x18635d);const _0x25e6b6=0x1,_0x5a9192=1.5;class _0x518476 extends _0x298404['Shape']{constructor(_0xdbc0c,_0x3cf238){const _0x261553=_0xcdf360;super(_0xdbc0c,_0x3cf238),_0x4b2350(this,_0x261553(0x2d9)),_0x4b2350(this,_0x261553(0x27e),!0x1),_0x4b2350(this,_0x261553(0x19a)),_0x4b2350(this,'_name',''),_0x4b2350(this,'_labelPosition','top'),_0x4b2350(this,_0x261553(0x386)),(_0x3cf238&&this[_0x261553(0x272)](_0x3cf238),this[_0x261553(0x39c)]['subscribeEvent'](()=>this[_0x261553(0x272)]({'hovered':!0x0})),this[_0x261553(0x205)][_0x261553(0x29d)](()=>this['setShapeProps']({'hovered':!0x1})));}['setShapeProps'](_0x241965){const _0x4d8c51=_0xcdf360;var _0x339ba0,_0x162ff7,_0x51d812,_0x33c514,_0x4a20dc,_0x4c7280;this[_0x4d8c51(0x2d9)]=(_0x339ba0=_0x241965[_0x4d8c51(0x112)])!=null?_0x339ba0:this['_color'],this['_hovered']=(_0x162ff7=_0x241965[_0x4d8c51(0x224)])!=null?_0x162ff7:this[_0x4d8c51(0x27e)],this['_range']=(_0x51d812=_0x241965['range'])!=null?_0x51d812:this[_0x4d8c51(0x19a)],this[_0x4d8c51(0x1c6)]=(_0x33c514=_0x241965[_0x4d8c51(0x2db)])!=null?_0x33c514:this['_name'],this[_0x4d8c51(0x393)]=(_0x4a20dc=_0x241965[_0x4d8c51(0x172)])!=null?_0x4a20dc:this[_0x4d8c51(0x393)],this[_0x4d8c51(0x386)]=(_0x4c7280=_0x241965['backgroundColor'])!=null?_0x4c7280:this[_0x4d8c51(0x386)],this['transformByState']({'width':_0x241965['width'],'height':_0x241965[_0x4d8c51(0x26a)]});}[_0xcdf360(0x293)](_0x44fea8){const _0x285aaa=_0xcdf360,{row:_0x5de2e9,column:_0x8b2c21}=_0x44fea8;if(_0x5de2e9>=this[_0x285aaa(0x19a)][_0x285aaa(0x255)]&&_0x5de2e9<=this[_0x285aaa(0x19a)][_0x285aaa(0x250)]&&_0x8b2c21>=this[_0x285aaa(0x19a)][_0x285aaa(0x356)]&&_0x8b2c21<=this[_0x285aaa(0x19a)][_0x285aaa(0x2f7)]){this[_0x285aaa(0x272)]({'hovered':!0x0});return;}this[_0x285aaa(0x272)]({'hovered':!0x1});}[_0xcdf360(0x192)](_0x49b757){return!0x1;}[_0xcdf360(0x171)](_0x3b9660){const _0x2ef76c=_0xcdf360;_0x298404[_0x2ef76c(0x246)][_0x2ef76c(0x17d)](_0x3b9660,{'width':this[_0x2ef76c(0x2e0)],'height':this[_0x2ef76c(0x26a)],'strokeWidth':_0x5a9192,'stroke':this[_0x2ef76c(0x2d9)],'evented':!0x1,'fill':this['_backgroundColor']}),this['_hovered']&&(_0x3b9660[_0x2ef76c(0x30f)](),_0x3b9660['transform'](0x1,0x0,0x0,0x1,this[_0x2ef76c(0x2e0)],this[_0x2ef76c(0x393)]===_0x2ef76c(0x345)?0x0:-0x14),_0x4057dc[_0x2ef76c(0x17d)](_0x3b9660,{'text':this[_0x2ef76c(0x1c6)],'color':this[_0x2ef76c(0x2d9)]}),_0x3b9660[_0x2ef76c(0x342)]());}}var _0x43bd0b=Object[_0xcdf360(0x28b)],_0x31ac2c=(_0x459dd1,_0x200d46,_0x4281c7,_0x16c276)=>{const _0x5b80f4=_0xcdf360;for(var _0x3d9ae5=_0x16c276>0x1?void 0x0:_0x16c276?_0x43bd0b(_0x200d46,_0x4281c7):_0x200d46,_0x15e064=_0x459dd1[_0x5b80f4(0x2cc)]-0x1,_0x4297bc;_0x15e064>=0x0;_0x15e064--)(_0x4297bc=_0x459dd1[_0x15e064])&&(_0x3d9ae5=_0x4297bc(_0x3d9ae5)||_0x3d9ae5);return _0x3d9ae5;},_0x54ad02=(_0x5c97f2,_0x5d3c6d)=>(_0x8f7b75,_0x3c1641)=>_0x5d3c6d(_0x8f7b75,_0x3c1641,_0x5c97f2);const _0x3265ce=0x1389;let _0x1701ff=class extends _0xdbbc0b['RxDisposable']{constructor(_0x2650e7,_0x22aae9,_0x4f5ebd,_0x404242){const _0x292dff=_0xcdf360;super(),_0x4b2350(this,_0x292dff(0x1c2),new Set()),_0x4b2350(this,_0x292dff(0x248),null),(this[_0x292dff(0x212)]=_0x2650e7,this['_sheetSkeletonManagerService']=_0x22aae9,this['_collabCursorController']=_0x4f5ebd,this[_0x292dff(0x117)]=_0x404242,this['_init']());}[_0xcdf360(0x383)](){const _0x271bab=_0xcdf360;this[_0x271bab(0x19d)][_0x271bab(0x2ba)][_0x271bab(0x1f6)](_0x3175d5[_0x271bab(0x336)](this['dispose$']),_0x3175d5[_0x271bab(0x202)](_0x3bd228=>{const _0x11ea84=_0x271bab;if(_0x3bd228){const _0x4f45e7=_0x3bd228[_0x11ea84(0x156)];return _0x3ffc62[_0x11ea84(0x13d)](this['_collabCursorController'][_0x11ea84(0x203)](this[_0x11ea84(0x212)]['unitId']),this[_0x11ea84(0x117)]['currentTheme$'])['pipe'](_0x3175d5[_0x11ea84(0x37a)](([_0x398116,_0x81c9ad])=>{const _0x2295cc=new Map();return _0x398116['forEach']((_0x282344,_0x4fd27b)=>{const _0x2d4f1f=_0x5e37;if(_0x282344[_0x2d4f1f(0x292)]===_0x4f45e7){const _0x5056ab={..._0x282344};_0x5056ab[_0x2d4f1f(0x112)]=this[_0x2d4f1f(0x117)][_0x2d4f1f(0x17b)](_0x282344[_0x2d4f1f(0x112)]),_0x2295cc[_0x2d4f1f(0x130)](_0x4fd27b,_0x5056ab);}}),{'skeleton':_0x3bd228,'cursors':_0x2295cc};}));}return _0x3ffc62['of']({'skeleton':null,'cursors':new Map()});}))['subscribe'](({skeleton:_0x5357ee,cursors:_0x36b1a5})=>{const _0x3dab42=_0x271bab;this[_0x3dab42(0x25e)](),_0x5357ee&&this[_0x3dab42(0x281)](_0x5357ee,_0x36b1a5);}),this['_sheetSkeletonManagerService'][_0x271bab(0x2ba)][_0x271bab(0x37d)](_0x498a43=>{const _0x11ddb7=_0x271bab;if(_0x498a43==null)return;const {skeleton:_0xccabaa}=_0x498a43,{scene:_0x37b98e}=this[_0x11ddb7(0x212)];_0x37b98e[_0x11ddb7(0x186)][_0x11ddb7(0x29d)](_0xdbbc0b[_0x11ddb7(0x287)](_0x3c339e=>{const _0x3b8a11=_0x11ddb7;var _0x5ecaad,_0x4945f4;const {offsetX:_0x553632,offsetY:_0x377079}=_0x3c339e,{x:_0x3ab093,y:_0x5a41fc}=_0x37b98e['getRelativeToViewportCoord'](_0x298404['Vector2'][_0x3b8a11(0x177)]([_0x553632,_0x377079])),{scaleX:_0x15f3f5,scaleY:_0x582890}=_0x37b98e[_0x3b8a11(0x305)](),_0x5ee099=_0x37b98e[_0x3b8a11(0x155)](_0x298404['SHEET_VIEWPORT_KEY'][_0x3b8a11(0x175)]),_0x183976=_0x37b98e[_0x3b8a11(0x216)](_0x298404[_0x3b8a11(0x288)][_0x3b8a11(0x177)]([_0x3ab093,_0x5a41fc]),_0x5ee099),_0x47e0c9=_0xccabaa[_0x3b8a11(0x24b)](_0x553632,_0x377079,_0x15f3f5,_0x582890,_0x183976);((_0x5ecaad=this[_0x3b8a11(0x248)])==null?void 0x0:_0x5ecaad['column'])===_0x47e0c9[_0x3b8a11(0x282)]&&((_0x4945f4=this[_0x3b8a11(0x248)])==null?void 0x0:_0x4945f4[_0x3b8a11(0x32f)])===_0x47e0c9[_0x3b8a11(0x32f)]||this[_0x3b8a11(0x1c2)]['forEach'](_0x20a402=>{const _0x8634f4=_0x3b8a11;_0x20a402[_0x8634f4(0x293)](_0x47e0c9);});},0x64));});}[_0xcdf360(0x281)](_0x29960e,_0xd47f21){const _0x4af0fd=_0xcdf360;var _0x3b794d;const _0x4a203c=(_0x3b794d=this['_sheetSkeletonManagerService'][_0x4af0fd(0x2ad)]())==null?void 0x0:_0x3b794d[_0x4af0fd(0x2e9)];if(!_0x4a203c)return;const _0x937d1a=this[_0x4af0fd(0x2e5)]();if(!_0x937d1a)return;this[_0x4af0fd(0x1c2)][_0x4af0fd(0x269)](_0x2cecc5=>{const _0x390f43=_0x4af0fd;_0x2cecc5[_0x390f43(0x38e)]();});const {scene:_0x3628ed}=_0x937d1a,_0x5882b7=_0x13038a(Array[_0x4af0fd(0x313)](_0xd47f21[_0x4af0fd(0x391)]()))[_0x4af0fd(0x37a)](_0x4fcba0=>{const _0x1d2be1=_0x4af0fd,{color:_0x29ab23,range:_0x497fba,name:_0x19d8b5,selection:_0x1e7e73,sheetID:_0xefe5c2}=_0x4fcba0,{startColumn:_0x4ddda2,startRow:_0x1e22a5,endColumn:_0x121fff,endRow:_0x409ce9}=_0x497fba,_0x3ab7ca=_0x485be0[_0x1d2be1(0x38b)](_0x1e22a5,_0x4ddda2,_0x3628ed,_0x4a203c),_0x3dece6=_0x485be0[_0x1d2be1(0x38b)](_0x409ce9,_0x121fff,_0x3628ed,_0x4a203c),{columnHeaderHeightAndMarginTop:_0x389b06}=_0x4a203c,{startX:_0x3509d0,startY:_0x57c5a0}=_0x3ab7ca,{endX:_0x4171f1,endY:_0x213d97}=_0x3dece6,_0x2203ab=_0x4171f1-_0x3509d0,_0x23ecd4=_0x213d97-_0x57c5a0,_0x49fb58={'labelPosition':_0x57c5a0-_0x389b06>=_0x5ee74f?_0x1d2be1(0x17e):_0x1d2be1(0x345),'sheetID':_0xefe5c2,'range':_0x497fba,'color':_0x29ab23,'name':_0x19d8b5,'selection':_0x1e7e73,'left':_0x3509d0,'top':_0x57c5a0,'width':_0x2203ab,'height':_0x23ecd4,'evented':!0x1,'zIndex':_0x3265ce};return new _0x518476(_0x19d8b5,_0x49fb58);});_0x3628ed['addObjects'](_0x5882b7,_0x25e6b6),this[_0x4af0fd(0x1c2)]=new Set(_0x5882b7);}[_0xcdf360(0x25e)](){const _0x59c710=_0xcdf360;var _0x5cb0d9;(_0x5cb0d9=this[_0x59c710(0x1c2)])==null||_0x5cb0d9['forEach'](_0x1584ac=>_0x1584ac[_0x59c710(0x37f)]());}['_getSheetObject'](){const _0xbea90d=_0xcdf360;return _0x485be0[_0xbea90d(0x37b)](this[_0xbea90d(0x212)][_0xbea90d(0x254)],this[_0xbea90d(0x212)]);}};_0x1701ff=_0x31ac2c([_0x54ad02(0x1,_0xdbbc0b[_0xcdf360(0x1ee)](_0x485be0['SheetSkeletonManagerService'])),_0x54ad02(0x2,_0xdbbc0b['Inject'](_0x13e8e1)),_0x54ad02(0x3,_0xdbbc0b[_0xcdf360(0x1ee)](_0xdbbc0b[_0xcdf360(0x1ff)]))],_0x1701ff);function _0x13038a(_0x13ca94){const _0x34f18d=_0xcdf360,_0x2438f6=new Map();return _0x13ca94['forEach'](_0x5e56ca=>{const _0x38110f=_0x5e37;if(_0x2438f6[_0x38110f(0x2e7)](_0x5e56ca[_0x38110f(0x249)])){const _0x5952a4=_0x2438f6['get'](_0x5e56ca[_0x38110f(0x249)]);_0x5952a4[_0x38110f(0x2db)]+=',\x20'+_0x5e56ca[_0x38110f(0x2db)];}else _0x2438f6[_0x38110f(0x130)](_0x5e56ca[_0x38110f(0x249)],_0x5e56ca);}),Array['from'](_0x2438f6[_0x34f18d(0x391)]());}var _0x4e73c6=function(){const _0x23233a=_0xcdf360;return _0x4e73c6=Object[_0x23233a(0x159)]||function(_0x314b76){const _0x9f3499=_0x23233a;for(var _0x156f89,_0x89ce37=0x1,_0x1a3c7f=arguments[_0x9f3499(0x2cc)];_0x89ce37<_0x1a3c7f;_0x89ce37++){_0x156f89=arguments[_0x89ce37];for(var _0x122ef7 in _0x156f89)Object['prototype'][_0x9f3499(0x396)]['call'](_0x156f89,_0x122ef7)&&(_0x314b76[_0x122ef7]=_0x156f89[_0x122ef7]);}return _0x314b76;},_0x4e73c6['apply'](this,arguments);},_0x344c47=function(_0x779fb6,_0x2c4f1e){const _0x2c1cc9=_0xcdf360;var _0x19a011={};for(var _0x3d7221 in _0x779fb6)Object[_0x2c1cc9(0x1fa)][_0x2c1cc9(0x396)][_0x2c1cc9(0x370)](_0x779fb6,_0x3d7221)&&_0x2c4f1e['indexOf'](_0x3d7221)<0x0&&(_0x19a011[_0x3d7221]=_0x779fb6[_0x3d7221]);if(_0x779fb6!=null&&typeof Object[_0x2c1cc9(0x17c)]==_0x2c1cc9(0x25f)){for(var _0x1f0bf1=0x0,_0x3d7221=Object[_0x2c1cc9(0x17c)](_0x779fb6);_0x1f0bf1<_0x3d7221[_0x2c1cc9(0x2cc)];_0x1f0bf1++)_0x2c4f1e[_0x2c1cc9(0x2b3)](_0x3d7221[_0x1f0bf1])<0x0&&Object['prototype'][_0x2c1cc9(0x35a)][_0x2c1cc9(0x370)](_0x779fb6,_0x3d7221[_0x1f0bf1])&&(_0x19a011[_0x3d7221[_0x1f0bf1]]=_0x779fb6[_0x3d7221[_0x1f0bf1]]);}return _0x19a011;},_0x4eec1f=_0x59a538[_0xcdf360(0x2b9)](function(_0x221614,_0x16479e){const _0x52ee71=_0xcdf360;var _0x194b62=_0x221614[_0x52ee71(0x2be)],_0x3a0fb9=_0x221614['id'],_0x49f8c3=_0x221614[_0x52ee71(0x27b)],_0xea8313=_0x221614['extend'],_0x5ec5f9=_0x344c47(_0x221614,[_0x52ee71(0x2be),'id',_0x52ee71(0x27b),_0x52ee71(0x399)]),_0x4597b7=_0x52ee71(0x20a)[_0x52ee71(0x19c)](_0x3a0fb9,'\x20')[_0x52ee71(0x19c)](_0x49f8c3||'')[_0x52ee71(0x1ac)](),_0x3486e0=_0x59a538[_0x52ee71(0x223)]('_'[_0x52ee71(0x19c)](_0x41a7d3()));return _0x3ac1d8(_0x194b62,''[_0x52ee71(0x19c)](_0x3a0fb9),{'defIds':_0x194b62[_0x52ee71(0x114)],'idSuffix':_0x3486e0['current']},_0x4e73c6({'ref':_0x16479e,'className':_0x4597b7},_0x5ec5f9),_0xea8313);});function _0x3ac1d8(_0x539f65,_0x3cc66a,_0x3e0010,_0x5b49af,_0x8cfd4f){const _0x24cab2=_0xcdf360;return _0x59a538[_0x24cab2(0x17a)](_0x539f65[_0x24cab2(0x14a)],_0x4e73c6(_0x4e73c6({'key':_0x3cc66a},_0x2081e3(_0x539f65,_0x3e0010,_0x8cfd4f)),_0x5b49af),(_0x8e9cfa(_0x539f65,_0x3e0010)[_0x24cab2(0x15d)]||[])[_0x24cab2(0x37a)](function(_0x173287,_0x4ea676){const _0x5ef3dc=_0x24cab2;return _0x3ac1d8(_0x173287,''['concat'](_0x3cc66a,'-')[_0x5ef3dc(0x19c)](_0x539f65[_0x5ef3dc(0x14a)],'-')['concat'](_0x4ea676),_0x3e0010,void 0x0,_0x8cfd4f);}));}function _0x2081e3(_0x4a2261,_0x4610f1,_0x303c49){const _0x59024d=_0xcdf360;var _0x21b120=_0x4e73c6({},_0x4a2261[_0x59024d(0x227)]);_0x303c49!=null&&_0x303c49[_0x59024d(0x2a4)]&&_0x21b120[_0x59024d(0x317)]===_0x59024d(0x2a4)&&(_0x21b120[_0x59024d(0x317)]=_0x303c49[_0x59024d(0x2a4)]),_0x4a2261[_0x59024d(0x14a)]===_0x59024d(0x22a)&&_0x21b120['id']&&(_0x21b120['id']=_0x21b120['id']+_0x4610f1[_0x59024d(0x35d)]),Object[_0x59024d(0x36a)](_0x21b120)['forEach'](function(_0x4fc82f){const _0x39f6f3=_0x59024d;var _0x239028=_0x4fc82f[0x0],_0x2f8d31=_0x4fc82f[0x1];_0x239028===_0x39f6f3(0x22a)&&typeof _0x2f8d31==_0x39f6f3(0x2ac)&&(_0x21b120[_0x239028]=_0x2f8d31[_0x39f6f3(0x1fe)](/url\(#(.*)\)/,_0x39f6f3(0x298)['concat'](_0x4610f1[_0x39f6f3(0x35d)],')')));});var _0x1f0940=_0x4610f1[_0x59024d(0x114)];return!_0x1f0940||_0x1f0940[_0x59024d(0x2cc)]===0x0||(_0x4a2261[_0x59024d(0x14a)]==='use'&&_0x21b120[_0x59024d(0x22d)]&&(_0x21b120[_0x59024d(0x22d)]=_0x21b120['xlink:href']+_0x4610f1[_0x59024d(0x35d)]),Object[_0x59024d(0x36a)](_0x21b120)[_0x59024d(0x269)](function(_0x21eefe){const _0x419f5e=_0x59024d;var _0x4c6f1a=_0x21eefe[0x0],_0x477708=_0x21eefe[0x1];typeof _0x477708==_0x419f5e(0x2ac)&&(_0x21b120[_0x4c6f1a]=_0x477708[_0x419f5e(0x1fe)](/url\(#(.*)\)/,_0x419f5e(0x298)['concat'](_0x4610f1['idSuffix'],')')));})),_0x21b120;}function _0x8e9cfa(_0x5e5543,_0x2378d3){const _0x397146=_0xcdf360;var _0x417b1a,_0x21b97c=_0x2378d3[_0x397146(0x114)];return!_0x21b97c||_0x21b97c['length']===0x0?_0x5e5543:_0x5e5543[_0x397146(0x14a)]===_0x397146(0x15c)&&(!((_0x417b1a=_0x5e5543['children'])===null||_0x417b1a===void 0x0)&&_0x417b1a[_0x397146(0x2cc)])?_0x4e73c6(_0x4e73c6({},_0x5e5543),{'children':_0x5e5543['children']['map'](function(_0x5ea4af){const _0x10bda6=_0x397146;return typeof _0x5ea4af[_0x10bda6(0x227)]['id']==_0x10bda6(0x2ac)&&_0x21b97c&&_0x21b97c[_0x10bda6(0x18a)](_0x5ea4af[_0x10bda6(0x227)]['id'])?_0x4e73c6(_0x4e73c6({},_0x5ea4af),{'attrs':_0x4e73c6(_0x4e73c6({},_0x5ea4af[_0x10bda6(0x227)]),{'id':_0x5ea4af[_0x10bda6(0x227)]['id']+_0x2378d3['idSuffix']})}):_0x5ea4af;})}):_0x5e5543;}function _0x41a7d3(){const _0x3e1718=_0xcdf360;return Math[_0x3e1718(0x31f)]()['toString'](0x24)[_0x3e1718(0x2c0)](0x2,0x8);}_0x4eec1f[_0xcdf360(0x2ff)]=_0xcdf360(0x31b);var _0x3b9c79={'tag':_0xcdf360(0x1e2),'attrs':{'xmlns':_0xcdf360(0x2a8),'fill':_0xcdf360(0x355),'viewBox':_0xcdf360(0x361),'width':'1em','height':_0xcdf360(0x267)},'children':[{'tag':'g','attrs':{'clipPath':_0xcdf360(0x2d2)},'children':[{'tag':_0xcdf360(0x116),'attrs':{'stroke':_0xcdf360(0x397),'d':_0xcdf360(0x24c),'strokeLinecap':'round','strokeLinejoin':_0xcdf360(0x13f),'strokeWidth':1.2}}]},{'tag':_0xcdf360(0x15c),'attrs':{},'children':[{'tag':_0xcdf360(0x2a0),'attrs':{'id':_0xcdf360(0x26e)},'children':[{'tag':_0xcdf360(0x116),'attrs':{'fill':_0xcdf360(0x1ef),'d':_0xcdf360(0x160)}}]}]}],'defIds':[_0xcdf360(0x26e)]},_0x1e19cb=_0x59a538[_0xcdf360(0x2b9)](function(_0x27c90e,_0x3534e8){const _0x1422fe=_0xcdf360;return _0x59a538[_0x1422fe(0x17a)](_0x4eec1f,Object[_0x1422fe(0x159)]({},_0x27c90e,{'id':_0x1422fe(0x33e),'ref':_0x3534e8,'icon':_0x3b9c79}));});_0x1e19cb['displayName']=_0xcdf360(0x1f2);var _0x409839={'tag':_0xcdf360(0x1e2),'attrs':{'xmlns':_0xcdf360(0x2a8),'fill':_0xcdf360(0x355),'viewBox':_0xcdf360(0x2b7),'width':_0xcdf360(0x267),'height':_0xcdf360(0x267)},'children':[{'tag':'g','attrs':{'clipPath':_0xcdf360(0x39d)},'children':[{'tag':_0xcdf360(0x116),'attrs':{'stroke':_0xcdf360(0x397),'d':_0xcdf360(0x11b),'strokeLinecap':_0xcdf360(0x13f),'strokeLinejoin':_0xcdf360(0x13f),'strokeWidth':1.2}}]},{'tag':_0xcdf360(0x15c),'attrs':{},'children':[{'tag':_0xcdf360(0x2a0),'attrs':{'id':_0xcdf360(0x283)},'children':[{'tag':_0xcdf360(0x116),'attrs':{'fill':_0xcdf360(0x1ef),'d':_0xcdf360(0x160),'transform':_0xcdf360(0x1bb)}}]}]}],'defIds':[_0xcdf360(0x283)]},_0x274938=_0x59a538[_0xcdf360(0x2b9)](function(_0x125935,_0x4f5df5){const _0x53e4b9=_0xcdf360;return _0x59a538[_0x53e4b9(0x17a)](_0x4eec1f,Object['assign']({},_0x125935,{'id':_0x53e4b9(0x378),'ref':_0x4f5df5,'icon':_0x409839}));});_0x274938[_0xcdf360(0x2ff)]=_0xcdf360(0x16a);function _0x47775e(_0x1b95a4){const _0x2071af=_0xcdf360;switch(_0x1b95a4){case _0x5b75f3[_0x2071af(0x375)]['OFFLINE']:return _0x2071af(0x30b);case _0x5b75f3[_0x2071af(0x375)][_0x2071af(0x14f)]:return _0x2071af(0x27a);case _0x5b75f3[_0x2071af(0x375)][_0x2071af(0x1eb)]:return _0x2071af(0x122);case _0x5b75f3[_0x2071af(0x375)]['NOT_COLLAB']:return _0x2071af(0x1db);case _0x5b75f3[_0x2071af(0x375)]['AWAITING']:case _0x5b75f3[_0x2071af(0x375)]['AWAITING_WITH_PENDING']:return _0x2071af(0x24f);case _0x5b75f3[_0x2071af(0x375)][_0x2071af(0x2b4)]:case _0x5b75f3['CollaborationStatus'][_0x2071af(0x349)]:return _0x2071af(0x225);}}function _0x20e1e0(_0x3499a9){const _0x13bee8=_0xcdf360,{status$:_0x410602}=_0x3499a9,_0x2c43c6=_0x35e407[_0x13bee8(0x127)](_0x410602,_0x5b75f3[_0x13bee8(0x375)][_0x13bee8(0x2b6)]),_0x193300=_0x35e407['useDependency'](_0xdbbc0b[_0x13bee8(0x3a4)]),_0x38efc6=_0x35e407[_0x13bee8(0x128)](_0x5b75f3[_0x13bee8(0x2f3)]),_0x5a2cb5=_0x2c43c6!==_0x5b75f3[_0x13bee8(0x375)][_0x13bee8(0x377)],_0x3a201e=_0x193300['t'](_0x47775e(_0x2c43c6)),_0x2d5b42=_0x5a2cb5?_0x197c47[_0x13bee8(0x2b8)](_0x274938,{}):_0x197c47[_0x13bee8(0x2b8)](_0x1e19cb,{}),_0x24c5dc=_0x59a538['useCallback'](()=>{const _0x1917fb=_0x13bee8;_0x5a2cb5||_0x38efc6[_0x1917fb(0x221)]();},[_0x5a2cb5,_0x38efc6]);function _0x3aa43e(){const _0x4ecb1b=_0x13bee8;return _0x197c47['jsxs'](_0x4ecb1b(0x15f),{'className':'univer-flex\x20univer-items-center','onClick':_0x24c5dc,'children':[_0x197c47[_0x4ecb1b(0x2b8)](_0x4ecb1b(0x15f),{'className':_0x4d1693['clsx'](_0x4ecb1b(0x2ee),{'univer-text-green-500':_0x5a2cb5,'univer-text-red-500':!_0x5a2cb5}),'children':_0x2d5b42}),_0x197c47[_0x4ecb1b(0x2b8)](_0x4ecb1b(0x15f),{'className':_0x4ecb1b(0x26b),'children':_0x3a201e})]});}return _0x5a2cb5?_0x3aa43e():_0x197c47[_0x13bee8(0x2b8)](_0x4d1693[_0x13bee8(0x2c1)],{'title':_0x193300['t'](_0x13bee8(0x1f9)),'children':_0x3aa43e()});}var _0x5730d0=Object[_0xcdf360(0x28b)],_0x3e0247=(_0x22de3f,_0x3ae517,_0xc1f0b0,_0x3b4b39)=>{for(var _0x4460db=_0x3b4b39>0x1?void 0x0:_0x3b4b39?_0x5730d0(_0x3ae517,_0xc1f0b0):_0x3ae517,_0x57605d=_0x22de3f['length']-0x1,_0x2a1b46;_0x57605d>=0x0;_0x57605d--)(_0x2a1b46=_0x22de3f[_0x57605d])&&(_0x4460db=_0x2a1b46(_0x4460db)||_0x4460db);return _0x4460db;},_0xb17e18=(_0x360ed4,_0x2acc96)=>(_0x3b2bd4,_0x480034)=>_0x2acc96(_0x3b2bd4,_0x480034,_0x360ed4);_0xdd3109[_0xcdf360(0x2c9)]=class extends _0xdbbc0b['Disposable']{constructor(_0x26da34,_0x8c9cc5,_0x566eb6,_0x121030){const _0x1c5399=_0xcdf360;super(),_0x4b2350(this,'_status$',new _0x3ffc62[(_0x1c5399(0x268))](_0x5b75f3[_0x1c5399(0x375)][_0x1c5399(0x2b6)])),(this[_0x1c5399(0x1b5)]=_0x26da34,this[_0x1c5399(0x2fe)]=_0x8c9cc5,this[_0x1c5399(0x133)]=_0x566eb6,this[_0x1c5399(0x140)]=_0x121030,this[_0x1c5399(0x1c4)](),this[_0x1c5399(0x28a)]());}[_0xcdf360(0x28a)](){const _0x17ac5d=_0xcdf360;this['disposeWithMe'](this[_0x17ac5d(0x1b5)]['focused$'][_0x17ac5d(0x1f6)](_0x3ffc62[_0x17ac5d(0x202)](()=>{const _0xae081d=_0x17ac5d,_0x4dcd2d=this[_0xae081d(0x1b5)][_0xae081d(0x379)]();return _0x4dcd2d?this[_0xae081d(0x133)][_0xae081d(0x206)](_0x4dcd2d[_0xae081d(0x394)]()):_0x3ffc62['of'](null);}),_0x3ffc62[_0x17ac5d(0x202)](_0x4b6634=>_0x4b6634?_0x4b6634[_0x17ac5d(0x335)]:_0x3ffc62['of'](_0x5b75f3[_0x17ac5d(0x375)][_0x17ac5d(0x2b6)])))['subscribe'](_0x4573ce=>{const _0x53918e=_0x17ac5d;this[_0x53918e(0x1fc)]['next'](_0x4573ce);}));}['_initStatusComponent'](){const _0xf93f11=_0xcdf360;this[_0xf93f11(0x228)](this[_0xf93f11(0x140)][_0xf93f11(0x322)](_0x35e407['BuiltInUIPart'][_0xf93f11(0x319)],()=>_0x35e407[_0xf93f11(0x30e)](_0x43a481({'status$':this[_0xf93f11(0x1fc)][_0xf93f11(0x120)]()}),this['_injector'])));}},_0xdd3109[_0xcdf360(0x2c9)]=_0x3e0247([_0xb17e18(0x0,_0xdbbc0b[_0xcdf360(0x191)]),_0xb17e18(0x1,_0xdbbc0b[_0xcdf360(0x1ee)](_0xdbbc0b[_0xcdf360(0x2d4)])),_0xb17e18(0x2,_0xdbbc0b[_0xcdf360(0x1ee)](_0x5b75f3[_0xcdf360(0x210)])),_0xb17e18(0x3,_0x35e407[_0xcdf360(0x2cb)])],_0xdd3109[_0xcdf360(0x2c9)]);function _0x43a481(_0x5d9d06){const {status$:_0x59b42f}=_0x5d9d06;return function(){const _0x3a1ce1=_0x5e37;return _0x197c47[_0x3a1ce1(0x2b8)](_0x20e1e0,{'status$':_0x59b42f});};}var _0x171af8=Object[_0xcdf360(0x28b)],_0x13ef94=(_0x1616e1,_0x32b558,_0x4e104f,_0x30dda4)=>{const _0x1ec720=_0xcdf360;for(var _0x30cdc0=_0x30dda4>0x1?void 0x0:_0x30dda4?_0x171af8(_0x32b558,_0x4e104f):_0x32b558,_0x75f8c9=_0x1616e1[_0x1ec720(0x2cc)]-0x1,_0x1a77c2;_0x75f8c9>=0x0;_0x75f8c9--)(_0x1a77c2=_0x1616e1[_0x75f8c9])&&(_0x30cdc0=_0x1a77c2(_0x30cdc0)||_0x30cdc0);return _0x30cdc0;},_0x2b934a=(_0x1be04d,_0x23bef2)=>(_0x41ddb0,_0x22bbb0)=>_0x23bef2(_0x41ddb0,_0x22bbb0,_0x1be04d);let _0x31d810=class extends _0xdbbc0b[_0xcdf360(0x124)]{constructor(_0x5e5f2a,_0xdbb6d5,_0x15899a,_0x117c5e,_0x599cfa,_0x113ed7){const _0x553322=_0xcdf360;super(),this[_0x553322(0x2d0)]=_0x5e5f2a,this[_0x553322(0x38c)]=_0xdbb6d5,this[_0x553322(0x2c7)]=_0x15899a,this[_0x553322(0x2c4)]=_0x117c5e,this[_0x553322(0x368)]=_0x599cfa,this[_0x553322(0x1dc)]=_0x113ed7,this[_0x553322(0x318)](),this[_0x553322(0x13c)]();}[_0xcdf360(0x318)](){const _0x25718a=_0xcdf360;this[_0x25718a(0x228)](this[_0x25718a(0x2d0)][_0x25718a(0x265)](()=>{const _0x23ef47=_0x25718a;if(this[_0x23ef47(0x38c)][_0x23ef47(0x164)][_0x23ef47(0x11c)])return this[_0x23ef47(0x1dc)]['t'](_0x23ef47(0x261));}));}[_0xcdf360(0x13c)](){const _0x2e0bd6=_0xcdf360;this[_0x2e0bd6(0x228)](this[_0x2e0bd6(0x2c7)]['event$'][_0x2e0bd6(0x37d)](_0x23d7eb=>{const _0x129f8c=_0x2e0bd6;_0x23d7eb['id']===_0x5b75f3[_0x129f8c(0x1fd)]['OTHER_CLIENT_EDITING']&&this[_0x129f8c(0x2c4)]['show']({'type':_0x4d1693['MessageType'][_0x129f8c(0x2eb)],'content':this[_0x129f8c(0x1dc)]['t'](_0x129f8c(0x20f))}),_0x23d7eb['id']===_0x5b75f3[_0x129f8c(0x1fd)]['CLOSE_ROOM']&&this[_0x129f8c(0x2c4)][_0x129f8c(0x1ce)]({'type':_0x4d1693[_0x129f8c(0x26f)][_0x129f8c(0x2eb)],'content':this[_0x129f8c(0x1dc)]['t']('collaboration.closeRoom')}),_0x23d7eb['id']===_0x5b75f3[_0x129f8c(0x1fd)]['PERMISSION_DENIED']&&this['_notificationService']['show']({'title':this[_0x129f8c(0x1dc)]['t']('permission.title'),'content':this['_localeService']['t'](_0x129f8c(0x256)),'type':_0x129f8c(0x1e3),'duration':0x0}),_0x23d7eb['id']===_0x5b75f3[_0x129f8c(0x1fd)][_0x129f8c(0x14f)]&&this[_0x129f8c(0x2c4)][_0x129f8c(0x1ce)]({'type':_0x4d1693[_0x129f8c(0x26f)]['Error'],'content':this[_0x129f8c(0x1dc)]['t'](_0x129f8c(0x26c))+'('+_0x23d7eb[_0x129f8c(0x28f)]+')'}),_0x23d7eb['id']===_0x5b75f3[_0x129f8c(0x1fd)][_0x129f8c(0x147)]&&this[_0x129f8c(0x2c4)]['show']({'type':_0x4d1693[_0x129f8c(0x26f)][_0x129f8c(0x2eb)],'content':this[_0x129f8c(0x1dc)]['t'](_0x23d7eb[_0x129f8c(0x28f)]||'')}),_0x23d7eb['id']===_0x5b75f3['CollaborationUIEventId'][_0x129f8c(0x37e)]&&this[_0x129f8c(0x2c4)][_0x129f8c(0x1ce)]({'type':_0x4d1693[_0x129f8c(0x26f)]['Warning'],'content':this[_0x129f8c(0x1dc)]['t'](_0x129f8c(0x1b0))}),_0x23d7eb['id']===_0x5b75f3[_0x129f8c(0x1fd)]['SOCKET_FAILED']&&this[_0x129f8c(0x2c4)][_0x129f8c(0x1ce)]({'type':_0x4d1693[_0x129f8c(0x26f)][_0x129f8c(0x200)],'content':this[_0x129f8c(0x1dc)]['t'](_0x129f8c(0x3aa))}),_0x23d7eb['id']===_0x5b75f3['CollaborationUIEventId']['SUBMIT_CHANGESET_TIMEOUT']&&this[_0x129f8c(0x2c4)][_0x129f8c(0x1ce)]({'type':_0x4d1693[_0x129f8c(0x26f)]['Error'],'content':this['_localeService']['t'](_0x129f8c(0x28e))});}));}};_0x31d810=_0x13ef94([_0x2b934a(0x0,_0x35e407[_0xcdf360(0x2e4)]),_0x2b934a(0x1,_0x5b75f3[_0xcdf360(0x271)]),_0x2b934a(0x2,_0xdbbc0b[_0xcdf360(0x1ee)](_0x5b75f3['CollaborationUIEventService'])),_0x2b934a(0x3,_0x35e407[_0xcdf360(0x31e)]),_0x2b934a(0x4,_0x35e407[_0xcdf360(0x132)]),_0x2b934a(0x5,_0xdbbc0b[_0xcdf360(0x1ee)](_0xdbbc0b[_0xcdf360(0x3a4)]))],_0x31d810);const _0x5d9d85='collaboration-client-ui.config',_0x2767ed={},_0x4ad13b=_0xdbbc0b[_0xcdf360(0x126)](_0xcdf360(0x163));var _0x548595=Object[_0xcdf360(0x28b)],_0xddf5a9=(_0x167424,_0x140cd2,_0x2283e2,_0x32d17c)=>{for(var _0x40566d=_0x32d17c>0x1?void 0x0:_0x32d17c?_0x548595(_0x140cd2,_0x2283e2):_0x140cd2,_0xad92c=_0x167424['length']-0x1,_0x445569;_0xad92c>=0x0;_0xad92c--)(_0x445569=_0x167424[_0xad92c])&&(_0x40566d=_0x445569(_0x40566d)||_0x40566d);return _0x40566d;},_0x8e94cb=(_0x16cddc,_0x4da121)=>(_0x4a7347,_0x1e594f)=>_0x4da121(_0x4a7347,_0x1e594f,_0x16cddc);_0xdd3109[_0xcdf360(0x2c8)]=class extends _0xdbbc0b[_0xcdf360(0x2f8)]{constructor(_0x335462,_0x71417,_0x2f38f5,_0x171a81,_0x4ac94f){const _0x508106=_0xcdf360;super(),this[_0x508106(0x260)]=_0x335462,this[_0x508106(0x31d)]=_0x71417,this[_0x508106(0x338)]=_0x2f38f5,this[_0x508106(0x389)]=_0x171a81,_0x4ac94f?_0x4ac94f==null||_0x4ac94f['whenReady']()[_0x508106(0x303)](()=>this['_init']()):(this[_0x508106(0x31d)][_0x508106(0x174)](_0x508106(0x220),_0x508106(0x33d)),this[_0x508106(0x383)]());}async[_0xcdf360(0x383)](){const _0x298526=_0xcdf360,_0x29fdf6=this[_0x298526(0x260)][_0x298526(0x244)]('unit'),_0x4318d0=this[_0x298526(0x260)][_0x298526(0x244)](_0x298526(0x2da)),_0x3cedb4=this[_0x298526(0x260)][_0x298526(0x244)](_0x298526(0x1a8));if(!_0x29fdf6||!_0x4318d0){this[_0x298526(0x31d)]['debug'](_0x298526(0x220),'No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.');return;}const _0x1e6b24=await this[_0x298526(0x389)][_0x298526(0x23f)](_0x29fdf6,Number(_0x4318d0),_0x3cedb4);_0x1e6b24&&_0x1e6b24 instanceof _0xdbbc0b[_0x298526(0x1e0)]&&this[_0x298526(0x29b)](_0x1e6b24);}async[_0xcdf360(0x29b)](_0x4cb538){const _0x3d3495=_0xcdf360;await this[_0x3d3495(0x2a3)](_0x4cb538),_0x4cb538[_0x3d3495(0x165)][_0x3d3495(0x1f6)](_0x3ffc62[_0x3d3495(0x336)](this[_0x3d3495(0x1c3)]))['subscribe'](_0x487627=>{const _0x223335=_0x3d3495;_0x487627&&this[_0x223335(0x387)](_0x487627);}),this['_urlService'][_0x3d3495(0x151)][_0x3d3495(0x1f6)](_0x3ffc62[_0x3d3495(0x336)](this[_0x3d3495(0x1c3)]))[_0x3d3495(0x37d)](()=>this['_updateSubUnitFromURLParams'](_0x4cb538));}['_updateURLWithCurrentState'](_0x2fa3cc,_0x31a31c=!0x1){const _0x44634c=_0xcdf360,_0x35d321=this[_0x44634c(0x260)][_0x44634c(0x244)](_0x44634c(0x1a8));_0x2fa3cc[_0x44634c(0x2d7)]()!==_0x35d321&&this[_0x44634c(0x260)][_0x44634c(0x340)](_0x44634c(0x1a8),_0x2fa3cc['getSheetId'](),_0x31a31c);}async['_updateSubUnitFromURLParams'](_0x138de5){const _0x543839=_0xcdf360;var _0x424854;const _0x4a358c=this[_0x543839(0x260)][_0x543839(0x244)](_0x543839(0x1a8));if(!_0x4a358c||!_0x138de5[_0x543839(0x16f)](_0x4a358c)){const _0x5702f6=_0x138de5['getUnhiddenWorksheets']()[0x0],_0x56c890=_0x138de5['getSheetBySheetId'](_0x5702f6);if(!_0x56c890)return;this[_0x543839(0x387)](_0x56c890,!0x0),await this[_0x543839(0x338)][_0x543839(0x153)](_0x1ec1ef['SetWorksheetActivateCommand']['id'],{'unitId':_0x138de5[_0x543839(0x394)](),'subUnitId':_0x5702f6});return;}((_0x424854=_0x138de5[_0x543839(0x1aa)]())==null?void 0x0:_0x424854[_0x543839(0x2d7)]())!==_0x4a358c&&await this[_0x543839(0x338)][_0x543839(0x153)](_0x1ec1ef[_0x543839(0x325)]['id'],{'unitId':_0x138de5['getUnitId'](),'subUnitId':_0x4a358c});}},_0xdd3109[_0xcdf360(0x2c8)]=_0xddf5a9([_0x8e94cb(0x0,_0x4ad13b),_0x8e94cb(0x1,_0xdbbc0b[_0xcdf360(0x1a6)]),_0x8e94cb(0x2,_0xdbbc0b['ICommandService']),_0x8e94cb(0x3,_0xdbbc0b[_0xcdf360(0x1ee)](_0x5b75f3[_0xcdf360(0x170)])),_0x8e94cb(0x4,_0xdbbc0b[_0xcdf360(0x217)](_0x44b63e[_0xcdf360(0x1c0)]))],_0xdd3109[_0xcdf360(0x2c8)]);var _0x2296bf=Object[_0xcdf360(0x28b)],_0xbc8a80=(_0x2203b3,_0x1e6acc,_0x157136,_0x1be620)=>{const _0x4dc33e=_0xcdf360;for(var _0x21563f=_0x1be620>0x1?void 0x0:_0x1be620?_0x2296bf(_0x1e6acc,_0x157136):_0x1e6acc,_0x396a7c=_0x2203b3[_0x4dc33e(0x2cc)]-0x1,_0x40d00f;_0x396a7c>=0x0;_0x396a7c--)(_0x40d00f=_0x2203b3[_0x396a7c])&&(_0x21563f=_0x40d00f(_0x21563f)||_0x21563f);return _0x21563f;},_0x2c1ef1=(_0x5681f1,_0x5b1861)=>(_0x21b4ea,_0x2fe452)=>_0x5b1861(_0x21b4ea,_0x2fe452,_0x5681f1);let _0x37c392=class{constructor(_0x38cca1,_0x2a7eb3,_0x186898){const _0x5d2be8=_0xcdf360;this[_0x5d2be8(0x2fe)]=_0x38cca1,this['_transformService']=_0x2a7eb3,this[_0x5d2be8(0x21d)]=_0x186898;}['transformIMECache'](_0x4eadbb){const _0x289498=_0xcdf360;this[_0x289498(0x188)](_0x4eadbb),this[_0x289498(0x215)](_0x4eadbb);}[_0xcdf360(0x22e)](_0x40870c){const _0x56117d=_0xcdf360,{unitID:_0x5c1924}=_0x40870c,_0x1c689a=this['_renderManagerService']['getRenderById'](_0x5c1924)[_0x56117d(0x231)](_0x22d0a2[_0x56117d(0x1a0)]),{redoCache:_0x1e7dac}=_0x1c689a[_0x56117d(0x2ef)]();if(_0x1e7dac[_0x56117d(0x2cc)]===0x0)return _0x40870c;let _0x30aeda=_0xdbbc0b[_0x56117d(0x2d8)][_0x56117d(0x381)](_0x40870c[_0x56117d(0x380)][0x0]);for(let _0x19a90d=0x0;_0x19a90d<_0x1e7dac[_0x56117d(0x2cc)];_0x19a90d++){const _0x4b582d={'id':'doc.mutation.rich-text-editing','params':{..._0x1e7dac[_0x19a90d]}},_0x52f83f=this[_0x56117d(0x182)][_0x56117d(0x1d4)](_0x30aeda,_0x4b582d,!0x1);if(_0x19f0f8[_0x56117d(0x36c)](_0x52f83f))throw _0x52f83f[_0x56117d(0x1e3)];_0x30aeda=_0x52f83f['m1Prime'];}return{..._0xdbbc0b[_0x56117d(0x2d8)][_0x56117d(0x381)](_0x40870c),'mutations':[_0x30aeda]};}[_0xcdf360(0x188)](_0x966ed9){const _0x25e525=_0xcdf360,{unitID:_0x19ff5d}=_0x966ed9,_0x5da067=this[_0x25e525(0x21d)][_0x25e525(0x14b)](_0x19ff5d)[_0x25e525(0x231)](_0x22d0a2[_0x25e525(0x1a0)]),{undoCache:_0x4ea0e,redoCache:_0x537fbe}=_0x5da067[_0x25e525(0x2ef)]();if(_0x4ea0e[_0x25e525(0x2cc)]===0x0||_0x537fbe[_0x25e525(0x2cc)]===0x0)return;const _0xc8453a=[],_0x10fc5f=[];let _0x530adc=_0xdbbc0b[_0x25e525(0x2d8)][_0x25e525(0x381)](_0x966ed9[_0x25e525(0x380)][0x0]),_0x17b79c=_0xdbbc0b[_0x25e525(0x2d8)]['deepClone'](_0x966ed9['mutations'][0x0]);for(let _0x29f085=_0x4ea0e[_0x25e525(0x2cc)]-0x1;_0x29f085>=0x0;_0x29f085--){const _0x5b9055={'id':_0x25e525(0x2c6),'params':{..._0x4ea0e[_0x29f085]}},_0x29d6bb={'id':'doc.mutation.rich-text-editing','params':{..._0x537fbe[_0x29f085]}},_0x56af07=this[_0x25e525(0x182)][_0x25e525(0x1d4)](_0x530adc,_0x5b9055,!0x1),_0x588ee4=this[_0x25e525(0x182)][_0x25e525(0x1d4)](_0x17b79c,_0x29d6bb,!0x1);if(_0x19f0f8[_0x25e525(0x36c)](_0x56af07))throw _0x56af07[_0x25e525(0x1e3)];if(_0x19f0f8[_0x25e525(0x36c)](_0x588ee4))throw _0x588ee4[_0x25e525(0x1e3)];_0xc8453a[_0x25e525(0x1d7)](_0x56af07[_0x25e525(0x135)][_0x25e525(0x2f9)]),_0x10fc5f['unshift'](_0x588ee4[_0x25e525(0x135)][_0x25e525(0x2f9)]),_0x530adc=_0x56af07[_0x25e525(0x199)],_0x17b79c=_0x588ee4[_0x25e525(0x199)];}_0x5da067[_0x25e525(0x1c5)]({'undoCache':_0xc8453a,'redoCache':_0x10fc5f});}['_transformPreviousActiveRange'](_0x584a85){const _0x16e77e=_0xcdf360,{unitID:_0x587f6b}=_0x584a85,_0x50272b=this[_0x16e77e(0x21d)][_0x16e77e(0x14b)](_0x587f6b)[_0x16e77e(0x231)](_0x22d0a2[_0x16e77e(0x1a0)]),_0x3de56e=_0x50272b['getActiveRange']();if(_0x3de56e==null)return;const _0x5c2260=[{'id':_0x16e77e(0x2c6),'params':{'unitId':_0x584a85[_0x16e77e(0x15e)],'actions':null,'textRanges':[_0x3de56e]}}],_0x4ae3fb=this[_0x16e77e(0x182)][_0x16e77e(0x299)](_0x584a85,_0x5c2260);if(!_0x19f0f8[_0x16e77e(0x34a)](_0x4ae3fb))throw _0x4ae3fb[_0x16e77e(0x1e3)];const _0x5ba75a=_0x4ae3fb[_0x16e77e(0x135)][0x0][_0x16e77e(0x2f9)]['textRanges'];Array[_0x16e77e(0x178)](_0x5ba75a)&&_0x5ba75a[_0x16e77e(0x2cc)]&&_0x50272b[_0x16e77e(0x3a8)](_0x5ba75a[0x0]);}};_0x37c392=_0xbc8a80([_0x2c1ef1(0x0,_0xdbbc0b['Inject'](_0xdbbc0b[_0xcdf360(0x2d4)])),_0x2c1ef1(0x1,_0x19f0f8['ITransformService']),_0x2c1ef1(0x2,_0x298404[_0xcdf360(0x167)])],_0x37c392);var _0x362a43=Object[_0xcdf360(0x28b)],_0x33a0b9=(_0x5535b5,_0x59e15f,_0x2fed3d,_0x3efcde)=>{const _0x21baf4=_0xcdf360;for(var _0x20c866=_0x3efcde>0x1?void 0x0:_0x3efcde?_0x362a43(_0x59e15f,_0x2fed3d):_0x59e15f,_0x18ca81=_0x5535b5[_0x21baf4(0x2cc)]-0x1,_0x2cfd50;_0x18ca81>=0x0;_0x18ca81--)(_0x2cfd50=_0x5535b5[_0x18ca81])&&(_0x20c866=_0x2cfd50(_0x20c866)||_0x20c866);return _0x20c866;},_0x568c36=(_0x1c7fd7,_0x24ecd3)=>(_0x3e2226,_0xac6815)=>_0x24ecd3(_0x3e2226,_0xac6815,_0x1c7fd7);let _0x2312b6=class{constructor(_0x1b9f3d,_0x43adcd,_0x3fca25){const _0xecfee7=_0xcdf360;this[_0xecfee7(0x2fe)]=_0x1b9f3d,this[_0xecfee7(0x182)]=_0x43adcd,this[_0xecfee7(0x240)]=_0x3fca25;}[_0xcdf360(0x2f2)](_0x5381be){this['_transformHistoryAndStateStack'](_0x5381be);}[_0xcdf360(0x22e)](_0x280403){const _0x121195=_0xcdf360,{unitID:_0x5b79c7}=_0x280403,{collaboration:_0x2caf89}=this[_0x121195(0x240)][_0x121195(0x15a)](_0x5b79c7);if(_0x2caf89[_0x121195(0x2cc)]===0x0)return _0x280403;let _0x54b562=_0xdbbc0b[_0x121195(0x2d8)]['deepClone'](_0x280403[_0x121195(0x380)][0x0]);for(let _0x141b73=0x0;_0x141b73<_0x2caf89[_0x121195(0x2cc)];_0x141b73++){const _0x39bd0a={'id':_0x121195(0x2c6),'params':{'unitId':_0x2caf89[_0x141b73][_0x121195(0x259)],..._0x2caf89[_0x141b73]['redoState']}},_0x183629=this[_0x121195(0x182)][_0x121195(0x1d4)](_0x54b562,_0x39bd0a,!0x1);if(_0x19f0f8[_0x121195(0x36c)](_0x183629))throw _0x183629['error'];_0x54b562=_0x183629[_0x121195(0x199)];}return{..._0xdbbc0b[_0x121195(0x2d8)][_0x121195(0x381)](_0x280403),'mutations':[_0x54b562]};}['_transformHistoryAndStateStack'](_0x5be9d9){const _0x13f4b2=_0xcdf360,{unitID:_0x1cf78b}=_0x5be9d9,{history:_0x3000e6,collaboration:_0x472435}=this[_0x13f4b2(0x240)][_0x13f4b2(0x15a)](_0x1cf78b);if(_0x3000e6[_0x13f4b2(0x2cc)]===0x0&&_0x472435[_0x13f4b2(0x2cc)]===0x0)return;const _0x4e9d82=[],_0x3c5a1c=[];let _0x27bc70=_0xdbbc0b['Tools'][_0x13f4b2(0x381)](_0x5be9d9['mutations'][0x0]),_0x38a571=_0xdbbc0b[_0x13f4b2(0x2d8)]['deepClone'](_0x5be9d9[_0x13f4b2(0x380)][0x0]);for(let _0x44ca47=_0x3000e6[_0x13f4b2(0x2cc)]-0x1;_0x44ca47>=0x0;_0x44ca47--){const _0xa9f647={'id':_0x13f4b2(0x2c6),'params':{'unitId':_0x3000e6[_0x44ca47]['unitId'],..._0x3000e6[_0x44ca47][_0x13f4b2(0x121)]}},_0x3e65da={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x3000e6[_0x44ca47][_0x13f4b2(0x259)],..._0x3000e6[_0x44ca47][_0x13f4b2(0x307)]}},_0x49b70a=this[_0x13f4b2(0x182)][_0x13f4b2(0x1d4)](_0x27bc70,_0xa9f647,!0x1),_0x2ffb98=this[_0x13f4b2(0x182)]['transformMutation'](_0x38a571,_0x3e65da,!0x1);if(_0x19f0f8[_0x13f4b2(0x36c)](_0x49b70a))throw _0x49b70a[_0x13f4b2(0x1e3)];if(_0x19f0f8['isTransformMutationFailure'](_0x2ffb98))throw _0x2ffb98['error'];_0x4e9d82[_0x13f4b2(0x1d7)]({..._0x3000e6[_0x44ca47],'undoState':_0x49b70a[_0x13f4b2(0x135)][_0x13f4b2(0x2f9)],'redoState':_0x2ffb98['m2Prime'][_0x13f4b2(0x2f9)]}),_0x27bc70=_0x49b70a[_0x13f4b2(0x199)],_0x38a571=_0x2ffb98[_0x13f4b2(0x199)];}_0x27bc70=_0xdbbc0b[_0x13f4b2(0x2d8)]['deepClone'](_0x5be9d9[_0x13f4b2(0x380)][0x0]),_0x38a571=_0xdbbc0b['Tools']['deepClone'](_0x5be9d9[_0x13f4b2(0x380)][0x0]);for(let _0x30a776=_0x472435[_0x13f4b2(0x2cc)]-0x1;_0x30a776>=0x0;_0x30a776--){const _0x640284={'id':_0x13f4b2(0x2c6),'params':{'unitId':_0x472435[_0x30a776][_0x13f4b2(0x259)],..._0x472435[_0x30a776][_0x13f4b2(0x121)]}},_0x2dbc1b={'id':_0x13f4b2(0x2c6),'params':{'unitId':_0x472435[_0x30a776][_0x13f4b2(0x259)],..._0x472435[_0x30a776][_0x13f4b2(0x307)]}},_0x5c87f0=this[_0x13f4b2(0x182)][_0x13f4b2(0x1d4)](_0x27bc70,_0x640284,!0x1),_0x2146f6=this[_0x13f4b2(0x182)][_0x13f4b2(0x1d4)](_0x38a571,_0x2dbc1b,!0x1);if(_0x19f0f8['isTransformMutationFailure'](_0x5c87f0))throw _0x5c87f0[_0x13f4b2(0x1e3)];if(_0x19f0f8[_0x13f4b2(0x36c)](_0x2146f6))throw _0x2146f6[_0x13f4b2(0x1e3)];_0x3c5a1c[_0x13f4b2(0x1d7)]({..._0x472435[_0x30a776],'undoState':_0x5c87f0[_0x13f4b2(0x135)][_0x13f4b2(0x2f9)],'redoState':_0x2146f6['m2Prime'][_0x13f4b2(0x2f9)]}),_0x27bc70=_0x5c87f0[_0x13f4b2(0x199)],_0x38a571=_0x2146f6[_0x13f4b2(0x199)];}this[_0x13f4b2(0x240)]['setStateCache'](_0x1cf78b,{'history':_0x4e9d82,'collaboration':_0x3c5a1c});}};_0x2312b6=_0x33a0b9([_0x568c36(0x0,_0xdbbc0b[_0xcdf360(0x1ee)](_0xdbbc0b[_0xcdf360(0x2d4)])),_0x568c36(0x1,_0x19f0f8[_0xcdf360(0x238)]),_0x568c36(0x2,_0xdbbc0b[_0xcdf360(0x1ee)](_0x22d0a2[_0xcdf360(0x1ca)]))],_0x2312b6);var _0x401493=Object[_0xcdf360(0x28b)],_0x39ce3c=(_0x3ba09d,_0x3d2f75,_0x942246,_0x247d26)=>{const _0x22dde4=_0xcdf360;for(var _0x5ef547=_0x247d26>0x1?void 0x0:_0x247d26?_0x401493(_0x3d2f75,_0x942246):_0x3d2f75,_0x1fff2b=_0x3ba09d[_0x22dde4(0x2cc)]-0x1,_0x4b9000;_0x1fff2b>=0x0;_0x1fff2b--)(_0x4b9000=_0x3ba09d[_0x1fff2b])&&(_0x5ef547=_0x4b9000(_0x5ef547)||_0x5ef547);return _0x5ef547;},_0x5cda52=(_0x5b97ff,_0x356c8b)=>(_0x54def7,_0x2777d2)=>_0x356c8b(_0x54def7,_0x2777d2,_0x5b97ff);let _0x56ac6f=class{constructor(_0x13fdd9,_0x2b1122){const _0x22ef33=_0xcdf360;this[_0x22ef33(0x2fe)]=_0x13fdd9,this[_0x22ef33(0x182)]=_0x2b1122;}['transformSelections'](_0x209d48){const _0x397ff2=_0xcdf360;var _0xe3a532;const _0x1595bb=this[_0x397ff2(0x2fe)][_0x397ff2(0x1f7)](_0x1c666e['DocSelectionManagerService']),_0x4f075b=(_0xe3a532=_0x1595bb[_0x397ff2(0x2b5)]())!=null?_0xe3a532:[];if(_0x4f075b['length']===0x0)return;const _0x3c78e3=_0x209d48[_0x397ff2(0x15e)],_0x28cbb5=[{'id':_0x397ff2(0x2c6),'params':{'unitId':_0x3c78e3,'actions':null,'textRanges':_0x4f075b}}],_0x3a42c3=this[_0x397ff2(0x182)]['transformMutationsWithChangeset'](_0x209d48,_0x28cbb5);if(!_0x19f0f8['isTransformMutationsWithChangesetSuccess'](_0x3a42c3))throw _0x3a42c3[_0x397ff2(0x1e3)];const _0x2a0bc5=_0x3a42c3[_0x397ff2(0x135)][0x0][_0x397ff2(0x2f9)][_0x397ff2(0x273)];Array[_0x397ff2(0x178)](_0x2a0bc5)&&_0x2a0bc5['length']&&_0x1595bb[_0x397ff2(0x15b)](_0x2a0bc5,{'unitId':_0x3c78e3,'subUnitId':_0x3c78e3},!0x1);}};_0x56ac6f=_0x39ce3c([_0x5cda52(0x0,_0xdbbc0b[_0xcdf360(0x1ee)](_0xdbbc0b[_0xcdf360(0x2d4)])),_0x5cda52(0x1,_0x19f0f8[_0xcdf360(0x238)])],_0x56ac6f);var _0x175b0c=Object[_0xcdf360(0x28b)],_0x76ef41=(_0x22c5c8,_0x3889bb,_0x51b575,_0x2bb443)=>{const _0x4fc728=_0xcdf360;for(var _0x1c0ac5=_0x2bb443>0x1?void 0x0:_0x2bb443?_0x175b0c(_0x3889bb,_0x51b575):_0x3889bb,_0x22ee83=_0x22c5c8[_0x4fc728(0x2cc)]-0x1,_0x303fa3;_0x22ee83>=0x0;_0x22ee83--)(_0x303fa3=_0x22c5c8[_0x22ee83])&&(_0x1c0ac5=_0x303fa3(_0x1c0ac5)||_0x1c0ac5);return _0x1c0ac5;},_0x4484ab=(_0x13d25c,_0x6aff60)=>(_0xfc64df,_0x52687b)=>_0x6aff60(_0xfc64df,_0x52687b,_0x13d25c);let _0x462c1e=class extends _0xdbbc0b[_0xcdf360(0x124)]{constructor(_0xa6f79,_0x593c83,_0x51c4ed,_0x2edc0a,_0x2c4ea9,_0x304df6,_0x4b4161,_0x1e6c7f){const _0x23430f=_0xcdf360;super(),_0x4b2350(this,_0x23430f(0x1fc),new _0x3ffc62[(_0x23430f(0x268))](_0x5b75f3[_0x23430f(0x375)][_0x23430f(0x2b6)])),(this[_0x23430f(0x240)]=_0xa6f79,this[_0x23430f(0x133)]=_0x593c83,this['_docTransformIMECacheService']=_0x51c4ed,this[_0x23430f(0x376)]=_0x2edc0a,this[_0x23430f(0x344)]=_0x2c4ea9,this['_docSyncEditingCollabCursorService']=_0x304df6,this[_0x23430f(0x2c4)]=_0x4b4161,this['_localeService']=_0x1e6c7f,this['_initEntityListener']());}[_0xcdf360(0x279)](){const _0x186c4a=_0xcdf360;this['disposeWithMe'](this['_collaborationController'][_0x186c4a(0x2c2)][_0x186c4a(0x37d)](_0x4ef9e6=>{const _0x2a980d=_0x186c4a,_0x55f89c=this[_0x2a980d(0x240)][_0x2a980d(0x237)][_0x2a980d(0x37d)](_0x391747=>{const _0x31a98b=_0x2a980d;if(_0x391747==null)return;const {unitId:_0x39d3b8,redoState:_0x48a1c9,commandId:_0x2c7903}=_0x391747;if(_0x39d3b8!==_0x4ef9e6[_0x31a98b(0x15e)])return;const _0x168652={'id':_0x2c7903,'type':_0xdbbc0b[_0x31a98b(0x18e)]['MUTATION'],'params':{'unitId':_0x39d3b8,'actions':_0x48a1c9[_0x31a98b(0x25c)],'textRanges':null}};_0x4ef9e6[_0x31a98b(0x1b2)](_0x168652);});if(_0x4ef9e6[_0x2a980d(0x228)](_0x55f89c),_0x4ef9e6 instanceof _0x5b75f3['DocCollaborationEntity']){const _0x1f25a6={'onTransformIME':_0x49e687=>this[_0x2a980d(0x38a)][_0x2a980d(0x263)](_0x49e687),'onTransformState':_0x2299f7=>this[_0x2a980d(0x376)][_0x2a980d(0x2f2)](_0x2299f7),'onTransformSelections':_0x5d5dc6=>this[_0x2a980d(0x344)][_0x2a980d(0x190)](_0x5d5dc6),'onSyncEditingCollabCursor':_0x2ba86f=>this['_docSyncEditingCollabCursorService'][_0x2a980d(0x30c)](_0x2ba86f),'onTransformRemoteChangesetByIMECache':_0x51288a=>this[_0x2a980d(0x38a)]['transformRemoteChangeset'](_0x51288a),'onTransformRemoteChangesetByStateCache':_0x474259=>this['_docTransformStateCacheService']['transformRemoteChangeset'](_0x474259)};_0x4ef9e6[_0x2a980d(0x2a6)](_0x1f25a6);}}));}};_0x462c1e=_0x76ef41([_0x4484ab(0x0,_0xdbbc0b[_0xcdf360(0x1ee)](_0x22d0a2[_0xcdf360(0x1ca)])),_0x4484ab(0x1,_0xdbbc0b[_0xcdf360(0x1ee)](_0x5b75f3[_0xcdf360(0x210)])),_0x4484ab(0x2,_0xdbbc0b[_0xcdf360(0x1ee)](_0x37c392)),_0x4484ab(0x3,_0xdbbc0b[_0xcdf360(0x1ee)](_0x2312b6)),_0x4484ab(0x4,_0xdbbc0b['Inject'](_0x56ac6f)),_0x4484ab(0x5,_0xdbbc0b[_0xcdf360(0x1ee)](_0xfade12)),_0x4484ab(0x6,_0x35e407[_0xcdf360(0x31e)]),_0x4484ab(0x7,_0xdbbc0b[_0xcdf360(0x1ee)](_0xdbbc0b['LocaleService']))],_0x462c1e);var _0x3aaf68=Object[_0xcdf360(0x28b)],_0x4f6c8a=(_0x215c94,_0x10e987,_0x24f75b,_0x4da21c)=>{const _0x595b88=_0xcdf360;for(var _0x4d0739=_0x4da21c>0x1?void 0x0:_0x4da21c?_0x3aaf68(_0x10e987,_0x24f75b):_0x10e987,_0x27a3a0=_0x215c94[_0x595b88(0x2cc)]-0x1,_0x51dc82;_0x27a3a0>=0x0;_0x27a3a0--)(_0x51dc82=_0x215c94[_0x27a3a0])&&(_0x4d0739=_0x51dc82(_0x4d0739)||_0x4d0739);return _0x4d0739;},_0x1f525f=(_0x50a2eb,_0x2382bf)=>(_0x3f3306,_0x2a6093)=>_0x2382bf(_0x3f3306,_0x2a6093,_0x50a2eb);let _0x4a2aca=class extends _0xdbbc0b[_0xcdf360(0x124)]{constructor(_0xf8d2b8,_0x15c052,_0x188e83){const _0x3daa66=_0xcdf360;super(),_0x4b2350(this,_0x3daa66(0x334),new Map()),_0x4b2350(this,_0x3daa66(0x308),new Map()),_0x4b2350(this,_0x3daa66(0x184),!0x1),(this[_0x3daa66(0x38f)]=_0xf8d2b8,this[_0x3daa66(0x253)]=_0x15c052,this[_0x3daa66(0x2ca)]=_0x188e83);}['disableLocalCache'](){const _0x3924de=_0xcdf360;this[_0x3924de(0x184)]=!0x0;}[_0xcdf360(0x385)](){const _0x3baccc=_0xcdf360;this[_0x3baccc(0x184)]=!0x1;}get['saveTaskMap'](){const _0x30b2a6=_0xcdf360;return this[_0x30b2a6(0x308)];}[_0xcdf360(0x37f)](){const _0x3f7a4e=_0xcdf360;this['exhaustSavingTask']()[_0x3f7a4e(0x303)](()=>super['dispose']());}async[_0xcdf360(0x304)](_0x3fcf94){const _0x1167ec=_0xcdf360;return this[_0x1167ec(0x184)]?null:this['_localStorageService'][_0x1167ec(0x266)](_0x5b75f3[_0x1167ec(0x198)](_0x3fcf94));}async['saveOfflineData'](_0x10b14b,_0x13b46e){const _0x57c5e0=_0xcdf360;return!!this[_0x57c5e0(0x253)]['setItem'](_0x10b14b,_0x13b46e);}[_0xcdf360(0x162)](_0x22dd60,_0x51dec0,_0x4428c0,_0x5157b3){const _0x2ced9f=_0xcdf360,_0x32f2a7=this[_0x2ced9f(0x2ca)]['getCurrentRevOfUnit'](_0x22dd60);this[_0x2ced9f(0x334)]['set'](_0x22dd60,{'unitID':_0x22dd60,'type':_0x51dec0,'awaitingChangeset':_0x4428c0,'mutations':_0x5157b3,'rev':_0x32f2a7}),this[_0x2ced9f(0x308)][_0x2ced9f(0x2e7)](_0x22dd60)||this[_0x2ced9f(0x18c)](_0x22dd60);}[_0xcdf360(0x18c)](_0x42da69){const _0x3b1c86=_0xcdf360,_0x16912a=this[_0x3b1c86(0x149)]();_0x16912a===0x0?this[_0x3b1c86(0x2a5)](_0x42da69):this[_0x3b1c86(0x308)]['set'](_0x42da69,setTimeout(()=>this['_saveCache'](_0x42da69),_0x16912a));}[_0xcdf360(0x149)](){const _0x5a295d=_0xcdf360;var _0x38e11e;return(_0x38e11e=this[_0x5a295d(0x38f)][_0x5a295d(0x2fd)](_0x5b75f3[_0x5a295d(0x1b9)]))!=null?_0x38e11e:_0x5b75f3['LOCAL_CACHE_INTERVAL'];}['_saveCache'](_0x25e0af){const _0x1adbf4=_0xcdf360,_0x4092cf=this[_0x1adbf4(0x308)][_0x1adbf4(0x1f7)](_0x25e0af);return _0x4092cf!==void 0x0&&window['clearTimeout'](_0x4092cf),this[_0x1adbf4(0x253)][_0x1adbf4(0x22c)](_0x5b75f3[_0x1adbf4(0x198)](_0x25e0af),this[_0x1adbf4(0x334)][_0x1adbf4(0x1f7)](_0x25e0af))[_0x1adbf4(0x303)](()=>this[_0x1adbf4(0x308)][_0x1adbf4(0x274)](_0x25e0af));}async['exhaustSavingTask'](){const _0x26d876=_0xcdf360,_0x5ba932=[];this['_saveTaskMap'][_0x26d876(0x269)]((_0x34e39f,_0x36089f)=>{const _0x3f09fd=_0x26d876;window[_0x3f09fd(0x354)](_0x34e39f),_0x5ba932[_0x3f09fd(0x197)](this[_0x3f09fd(0x2a5)](_0x36089f)[_0x3f09fd(0x303)](()=>{const _0x53ea9a=_0x3f09fd;this[_0x53ea9a(0x308)]['delete'](_0x36089f);}));}),await Promise[_0x26d876(0x1d3)](_0x5ba932);}};_0x4a2aca=_0x4f6c8a([_0x1f525f(0x0,_0xdbbc0b[_0xcdf360(0x297)]),_0x1f525f(0x1,_0xdbbc0b[_0xcdf360(0x374)]),_0x1f525f(0x2,_0xdbbc0b[_0xcdf360(0x1ee)](_0x19f0f8[_0xcdf360(0x1da)]))],_0x4a2aca);class _0x57bc56 extends _0xdbbc0b[_0xcdf360(0x2f8)]{constructor(){const _0x172bfa=_0xcdf360;super(),_0x4b2350(this,'urlChange$'),this[_0x172bfa(0x151)]=_0x3ffc62['fromEvent'](window,_0x172bfa(0x36e))[_0x172bfa(0x1f6)](_0x3ffc62[_0x172bfa(0x336)](this[_0x172bfa(0x1c3)]),_0x3ffc62['shareReplay'](0x1),_0x3ffc62['mapTo'](void 0x0));}[_0xcdf360(0x340)](_0x505aa2,_0xde2cb9,_0x1416f2=!0x1){const _0x1e6510=_0xcdf360,_0x4bb88a=new URL(window[_0x1e6510(0x243)][_0x1e6510(0x296)]);_0x4bb88a[_0x1e6510(0x24e)]['set'](_0x505aa2,_0xde2cb9),_0x1416f2?window[_0x1e6510(0x301)][_0x1e6510(0x233)]('','',_0x4bb88a[_0x1e6510(0x189)]()):window[_0x1e6510(0x301)][_0x1e6510(0x37c)]('','',_0x4bb88a[_0x1e6510(0x189)]());}[_0xcdf360(0x23b)](_0x32da41,_0x2e8c30=!0x1){const _0x3a925b=_0xcdf360,_0x405dda=new URL(window[_0x3a925b(0x243)][_0x3a925b(0x296)]);_0x405dda[_0x3a925b(0x24e)][_0x3a925b(0x274)](_0x32da41),_0x2e8c30?window[_0x3a925b(0x301)][_0x3a925b(0x233)]('','',_0x405dda[_0x3a925b(0x189)]()):window[_0x3a925b(0x301)][_0x3a925b(0x37c)]('','',_0x405dda[_0x3a925b(0x189)]());}[_0xcdf360(0x244)](_0x12e113){const _0x369733=_0xcdf360;var _0x3a2749;return(_0x3a2749=new URL(window['location'][_0x369733(0x296)])['searchParams'][_0x369733(0x1f7)](_0x12e113))!=null?_0x3a2749:void 0x0;}}var _0x1eb0cd=Object[_0xcdf360(0x286)],_0x4ee795=Object[_0xcdf360(0x28b)],_0x339238=(_0x439c03,_0x373cf6,_0x29de5c)=>_0x373cf6 in _0x439c03?_0x1eb0cd(_0x439c03,_0x373cf6,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x29de5c}):_0x439c03[_0x373cf6]=_0x29de5c,_0x23c052=(_0x3afc48,_0x52f6c3,_0x5b3f5d,_0x222b89)=>{const _0x4dbf72=_0xcdf360;for(var _0x3c993e=_0x222b89>0x1?void 0x0:_0x222b89?_0x4ee795(_0x52f6c3,_0x5b3f5d):_0x52f6c3,_0x47da22=_0x3afc48[_0x4dbf72(0x2cc)]-0x1,_0x52a56e;_0x47da22>=0x0;_0x47da22--)(_0x52a56e=_0x3afc48[_0x47da22])&&(_0x3c993e=_0x52a56e(_0x3c993e)||_0x3c993e);return _0x3c993e;},_0x145ea0=(_0x1a9165,_0x11e377)=>(_0x24dbb2,_0x364758)=>_0x11e377(_0x24dbb2,_0x364758,_0x1a9165),_0x2fec79=(_0x126930,_0x41c871,_0x3fcfda)=>_0x339238(_0x126930,_0x41c871+'',_0x3fcfda);const _0x448031=_0xcdf360(0x119);_0xdd3109[_0xcdf360(0x23a)]=class extends _0xdbbc0b[_0xcdf360(0x24a)]{constructor(_0x1189b1=_0x2767ed,_0x1fc08a,_0xbea196,_0xaa7db3){const _0x190079=_0xcdf360;super(),this['_config']=_0x1189b1,this[_0x190079(0x21d)]=_0x1fc08a,this[_0x190079(0x2fe)]=_0xbea196,this['_configService']=_0xaa7db3;const {..._0x294f23}=_0xdbbc0b[_0x190079(0x360)]({},_0x2767ed,this[_0x190079(0x32a)]);this[_0x190079(0x38f)][_0x190079(0x13b)](_0x5d9d85,_0x294f23);}['onStarting'](){const _0x1fb95c=_0xcdf360;this['_registerDependencies'](),this[_0x1fb95c(0x20d)]();}[_0xcdf360(0x34e)](){const _0x30b93d=_0xcdf360;this[_0x30b93d(0x1a2)]();}[_0xcdf360(0x22f)](){const _0x100ebe=_0xcdf360;var _0x114c53;const _0x2e6f9a=[[_0x22b5e9],[_0x56ac6f],[_0x37c392],[_0x2312b6],[_0xfade12],[_0x4ad13b,{'useClass':_0x57bc56}],[_0x33f97b[_0x100ebe(0x1d6)],{'useClass':_0x33f97b[_0x100ebe(0x1c9)]}],[_0x5b75f3[_0x100ebe(0x271)],{'useClass':_0x4a2aca}],[_0xdd3109['DesktopCollaborationStatusDisplayController']],[_0x462c1e],[_0x31d810],[_0x13e8e1],[_0x32e025],[_0xdd3109[_0x100ebe(0x2c8)]]];_0xdbbc0b['registerDependencies'](this[_0x100ebe(0x2fe)],_0xdbbc0b[_0x100ebe(0x1d0)](_0x2e6f9a,(_0x114c53=this[_0x100ebe(0x32a)])==null?void 0x0:_0x114c53[_0x100ebe(0x366)]));}[_0xcdf360(0x1a2)](){const _0x69a008=_0xcdf360;this[_0x69a008(0x228)](this[_0x69a008(0x21d)][_0x69a008(0x148)](_0xdbbc0b[_0x69a008(0x21b)][_0x69a008(0x185)],[_0x18635d])),this['disposeWithMe'](this['_renderManagerService']['registerRenderModule'](_0xdbbc0b[_0x69a008(0x21b)][_0x69a008(0x33c)],[_0x1701ff]));}['_initDependencies'](){const _0x2b14b0=_0xcdf360;_0xdbbc0b[_0x2b14b0(0x348)](this['_injector'],[[_0x13e8e1],[_0xdd3109['DesktopCollaborationStatusDisplayController']],[_0x462c1e],[_0x31d810],[_0xdd3109[_0x2b14b0(0x2c8)]]]);}},_0x2fec79(_0xdd3109['UniverCollaborationClientUIPlugin'],'pluginName',_0x448031),_0xdd3109[_0xcdf360(0x23a)]=_0x23c052([_0xdbbc0b[_0xcdf360(0x229)](_0x5b75f3[_0xcdf360(0x2dd)]),_0x145ea0(0x1,_0x298404[_0xcdf360(0x167)]),_0x145ea0(0x2,_0xdbbc0b[_0xcdf360(0x1ee)](_0xdbbc0b['Injector'])),_0x145ea0(0x3,_0xdbbc0b[_0xcdf360(0x297)])],_0xdd3109[_0xcdf360(0x23a)]);var _0x2e85dd=Object['getOwnPropertyDescriptor'],_0x1099e8=(_0x2947d1,_0x3a7dbe,_0x22f63c,_0x28dc45)=>{const _0x4bb7d6=_0xcdf360;for(var _0x4502e7=_0x28dc45>0x1?void 0x0:_0x28dc45?_0x2e85dd(_0x3a7dbe,_0x22f63c):_0x3a7dbe,_0x2e142c=_0x2947d1[_0x4bb7d6(0x2cc)]-0x1,_0x5bb4f0;_0x2e142c>=0x0;_0x2e142c--)(_0x5bb4f0=_0x2947d1[_0x2e142c])&&(_0x4502e7=_0x5bb4f0(_0x4502e7)||_0x4502e7);return _0x4502e7;},_0x4be460=(_0x8fb749,_0x2f9721)=>(_0xc65f29,_0x3727cf)=>_0x2f9721(_0xc65f29,_0x3727cf,_0x8fb749);_0xdd3109[_0xcdf360(0x137)]=class extends _0x5b75f3[_0xcdf360(0x1e6)]{constructor(_0x122552,_0x1dbc15,_0x25c90f,_0x433b15,_0x5660f0){super(_0x122552,_0x1dbc15,_0x25c90f,_0x433b15,_0x5660f0);}async[_0xcdf360(0x2f4)](_0x1b548f){const _0x349c95=_0xcdf360,_0x36062d=await this[_0x349c95(0x32c)](),_0x19bf8a=this[_0x349c95(0x326)](_0x1b548f,_0x36062d);return this['_doCreateSocket'](_0x19bf8a);}['_createSocketURL'](_0x33f876,_0x1340e9){const _0x56413f=_0xcdf360,_0x85b23c=typeof window>'u'?new URL(_0x33f876):new URL(_0x33f876,window[_0x56413f(0x243)][_0x56413f(0x1bd)]);_0x85b23c['searchParams']['set'](_0x56413f(0x290),_0x1340e9);const _0x1f0476=typeof window>'u'?new URLSearchParams():new URLSearchParams(window[_0x56413f(0x243)][_0x56413f(0x382)]);return _0x1f0476['get'](_0x56413f(0x2f1))&&_0x85b23c[_0x56413f(0x24e)][_0x56413f(0x130)]('runId',_0x1f0476[_0x56413f(0x1f7)](_0x56413f(0x2f1))),_0x85b23c['toString']();}async[_0xcdf360(0x32c)](){const _0x2240ba=_0xcdf360;var _0x53e3da,_0x237457,_0xeb6522;const _0x35e9bf=this[_0x2240ba(0x38f)][_0x2240ba(0x2fd)](_0x5b75f3['COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY']),_0xf5fae0=(_0x53e3da=_0x35e9bf==null?void 0x0:_0x35e9bf['wsSessionTicketUrl'])!=null?_0x53e3da:_0x5b75f3[_0x2240ba(0x2fc)];return(_0xeb6522=(_0x237457=(await this[_0x2240ba(0x239)]['get'](_0xf5fae0,{'headers':{'Content-Type':_0x2240ba(0x34d)}}))[_0x2240ba(0x196)])==null?void 0x0:_0x237457[_0x2240ba(0x1fb)])!=null?_0xeb6522:'';}},_0xdd3109[_0xcdf360(0x137)]=_0x1099e8([_0x4be460(0x0,_0xdbbc0b[_0xcdf360(0x1ee)](_0xdbbc0b[_0xcdf360(0x2d4)])),_0x4be460(0x1,_0xdbbc0b[_0xcdf360(0x1ee)](_0x33f97b[_0xcdf360(0x141)])),_0x4be460(0x2,_0xdbbc0b[_0xcdf360(0x297)]),_0x4be460(0x3,_0xdbbc0b[_0xcdf360(0x1a6)]),_0x4be460(0x4,_0x19f0f8[_0xcdf360(0x284)])],_0xdd3109[_0xcdf360(0x137)]);const _0x404a69=0x7530,_0x4115c8=_0xcdf360(0x2ae);class _0x2e58f0 extends _0xdbbc0b[_0xcdf360(0x124)]{constructor(){const _0x22327c=_0xcdf360;super(),_0x4b2350(this,_0x22327c(0x339),_0xdbbc0b[_0x22327c(0x1ab)]()),_0x4b2350(this,_0x22327c(0x346),new Set()),_0x4b2350(this,_0x22327c(0x213),new Map()),_0x4b2350(this,_0x22327c(0x2e8),null),_0x4b2350(this,_0x22327c(0x1a9),new Map()),_0x4b2350(this,_0x22327c(0x252),new Map()),this[_0x22327c(0x383)]();}[_0xcdf360(0x37f)](){const _0xb24ca9=_0xcdf360;super[_0xb24ca9(0x37f)](),this['_clearOtherTimers'][_0xb24ca9(0x269)]((_0x2bb38e,_0x502a36)=>this[_0xb24ca9(0x143)](_0x502a36)),this[_0xb24ca9(0x2e8)]&&window[_0xb24ca9(0x316)](this[_0xb24ca9(0x2e8)]);}[_0xcdf360(0x314)](_0x43a676){const _0x109660=_0xcdf360;return this[_0x109660(0x134)](_0x43a676)['pipe'](_0x3ffc62[_0x109660(0x118)]());}[_0xcdf360(0x1d2)](_0x83cad4){const _0x5e486a=_0xcdf360;this[_0x5e486a(0x346)][_0x5e486a(0x11c)]===0x0&&this[_0x5e486a(0x1ad)](),this[_0x5e486a(0x346)]['add'](_0x83cad4),this[_0x5e486a(0x257)]({'type':0x0,'memberID':this['_id'],'unitIDs':[_0x83cad4],'isForwarded':!0x1});}[_0xcdf360(0x2a9)](_0x55f53f){const _0x56d847=_0xcdf360;this[_0x56d847(0x346)][_0x56d847(0x274)](_0x55f53f),this['_selfUnitIDs']['size']===0x0&&this[_0x56d847(0x2e8)]&&window[_0x56d847(0x316)](this[_0x56d847(0x2e8)]);}[_0xcdf360(0x383)](){const _0x40ecbc=_0xcdf360;this[_0x40ecbc(0x228)](_0xdbbc0b[_0x40ecbc(0x1f8)](_0x3ffc62['fromEvent'](window,_0x40ecbc(0x39e))['subscribe'](_0x391198=>{const _0x3bf35a=_0x40ecbc;if(_0x391198[_0x3bf35a(0x179)]!==_0x4115c8||!_0x391198[_0x3bf35a(0x1bc)])return;const _0x4f4fc2=JSON['parse'](_0x391198[_0x3bf35a(0x1bc)]);this['_handleEvent'](_0x4f4fc2);}))),window['addEventListener']('unload',()=>this[_0x40ecbc(0x257)]({'type':0x1,'memberID':this[_0x40ecbc(0x339)],'unitIDs':Array[_0x40ecbc(0x313)](this[_0x40ecbc(0x346)])}));}[_0xcdf360(0x33b)](_0x159334){const _0x3ad986=_0xcdf360;switch(_0x159334[_0x3ad986(0x2da)]){case 0x0:this[_0x3ad986(0x38d)](_0x159334);break;case 0x1:this[_0x3ad986(0x27c)](_0x159334);break;case 0x2:this['_handleHeartbeatEvent'](_0x159334);break;}}[_0xcdf360(0x38d)](_0x3661b8){const _0x4b63f5=_0xcdf360,{unitIDs:_0x15f517,memberID:_0x39c7f4,isForwarded:_0xed0c32}=_0x3661b8;_0x15f517['forEach'](_0x47f378=>{const _0x321596=_0x5e37;if(!_0xed0c32&&this['_unitOnClients']['has'](_0x47f378)&&this[_0x321596(0x134)](_0x47f378)['next'](_0x5b75f3[_0x321596(0x2f0)]['OTHER_CLIENTS_EDITING']),!this[_0x321596(0x213)][_0x321596(0x2e7)](_0x47f378)||!this[_0x321596(0x213)][_0x321596(0x1f7)](_0x47f378)[_0x321596(0x2e7)](_0x39c7f4)){const _0x585419=this[_0x321596(0x213)][_0x321596(0x1f7)](_0x47f378)||new Set();_0x585419[_0x321596(0x1a7)](_0x39c7f4),this[_0x321596(0x213)][_0x321596(0x130)](_0x47f378,_0x585419),this[_0x321596(0x2d5)](_0x39c7f4);}}),_0xed0c32||this[_0x4b63f5(0x257)]({'type':0x0,'memberID':this[_0x4b63f5(0x339)],'unitIDs':[...this['_selfUnitIDs']],'isForwarded':!0x0});}[_0xcdf360(0x2d5)](_0x107042){const _0x1cbc77=_0xcdf360;this[_0x1cbc77(0x143)](_0x107042);const _0x445981=window[_0x1cbc77(0x1d5)](()=>{const _0x59406d=_0x1cbc77;this['_unitOnClients'][_0x59406d(0x269)](_0x28a5c8=>{_0x28a5c8['delete'](_0x107042);});},_0x404a69*0x2);this[_0x1cbc77(0x1a9)][_0x1cbc77(0x130)](_0x107042,_0x445981);}[_0xcdf360(0x143)](_0x351d68){const _0x39b7a7=_0xcdf360;if(this['_clearOtherTimers']['has'](_0x351d68)){const _0xca3000=this[_0x39b7a7(0x1a9)]['get'](_0x351d68);_0xca3000&&window[_0x39b7a7(0x354)](_0xca3000),this[_0x39b7a7(0x1a9)][_0x39b7a7(0x130)](_0x351d68,null);}}[_0xcdf360(0x27c)](_0x2bfb2b){const _0x474d1f=_0xcdf360,{memberID:_0x376a9e,unitIDs:_0x4e81db}=_0x2bfb2b;_0x4e81db[_0x474d1f(0x269)](_0x18de4f=>{const _0x258330=_0x474d1f;var _0x1a72a3;const _0x259134=this['_unitOnClients'][_0x258330(0x1f7)](_0x18de4f);_0x259134&&(_0x259134[_0x258330(0x274)](_0x376a9e),(_0x1a72a3=this['_ensureSubject'](_0x18de4f))==null||_0x1a72a3[_0x258330(0x1e4)](_0x259134[_0x258330(0x11c)]===0x0?_0x5b75f3['UnitStatus'][_0x258330(0x29c)]:_0x5b75f3['UnitStatus']['OTHER_CLIENTS_EDITING']));}),this[_0x474d1f(0x143)](_0x376a9e);}['_handleHeartbeatEvent'](_0x2c108e){const _0x113dee=_0xcdf360;this[_0x113dee(0x2d5)](_0x2c108e['memberID']);}[_0xcdf360(0x257)](_0x4f04de){const _0x4059d8=_0xcdf360;localStorage[_0x4059d8(0x22c)](_0x4115c8,JSON['stringify'](_0x4f04de));}[_0xcdf360(0x1ad)](){const _0x1c12de=_0xcdf360;this[_0x1c12de(0x2e8)]=window[_0x1c12de(0x369)](()=>{const _0x34a0b7=_0x1c12de;this[_0x34a0b7(0x257)]({'type':0x2,'memberID':this[_0x34a0b7(0x339)]});},_0x404a69);}[_0xcdf360(0x134)](_0x5f30e1){const _0x22d95b=_0xcdf360;return this[_0x22d95b(0x252)][_0x22d95b(0x2e7)](_0x5f30e1)||this[_0x22d95b(0x252)][_0x22d95b(0x130)](_0x5f30e1,new _0x3ffc62['BehaviorSubject'](_0x5b75f3['UnitStatus'][_0x22d95b(0x29c)])),this[_0x22d95b(0x252)][_0x22d95b(0x1f7)](_0x5f30e1);}}var _0x37c079=(_0x30b34a=>(_0x30b34a[_0x30b34a[_0xcdf360(0x395)]=0x0]=_0xcdf360(0x395),_0x30b34a[_0x30b34a['OK']=0x1]='OK',_0x30b34a[_0x30b34a[_0xcdf360(0x285)]=0x2]=_0xcdf360(0x285),_0x30b34a[_0x30b34a[_0xcdf360(0x193)]=0x3]=_0xcdf360(0x193),_0x30b34a[_0x30b34a[_0xcdf360(0x309)]=0x4]=_0xcdf360(0x309),_0x30b34a[_0x30b34a['UNAUTHENTICATED']=0x5]=_0xcdf360(0x12a),_0x30b34a[_0x30b34a[_0xcdf360(0x2e6)]=0x6]=_0xcdf360(0x2e6),_0x30b34a[_0x30b34a[_0xcdf360(0x372)]=0x7]=_0xcdf360(0x372),_0x30b34a[_0x30b34a[_0xcdf360(0x242)]=0x8]='TOO_MANY_REQUESTS',_0x30b34a[_0x30b34a[_0xcdf360(0x1cb)]=0x9]=_0xcdf360(0x1cb),_0x30b34a[_0x30b34a['LOGIN_FAILED']=0xa]=_0xcdf360(0x347),_0x30b34a[_0x30b34a['MOBILE_VERIFY_CODE_MISMATCH']=0xb]=_0xcdf360(0x2cd),_0x30b34a[_0x30b34a['MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED']=0xc]='MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED',_0x30b34a[_0x30b34a[_0xcdf360(0x39f)]=0xd]=_0xcdf360(0x39f),_0x30b34a[_0x30b34a[_0xcdf360(0x35b)]=0xe]=_0xcdf360(0x35b),_0x30b34a[_0x30b34a[_0xcdf360(0x295)]=0x1389]=_0xcdf360(0x295),_0x30b34a[_0x30b34a[_0xcdf360(0x2cf)]=0x1771]=_0xcdf360(0x2cf),_0x30b34a[_0x30b34a[_0xcdf360(0x2b0)]=0x1772]=_0xcdf360(0x2b0),_0x30b34a[_0x30b34a[_0xcdf360(0x20c)]=0x1773]=_0xcdf360(0x20c),_0x30b34a[_0x30b34a['APPLY_REJECT']=0x1b59]=_0xcdf360(0x1b7),_0x30b34a[_0x30b34a[_0xcdf360(0x343)]=0x1b5a]=_0xcdf360(0x343),_0x30b34a[_0x30b34a[_0xcdf360(0x311)]=0x1b5b]=_0xcdf360(0x311),_0x30b34a[_0x30b34a[_0xcdf360(0x2c5)]=0x1b5c]=_0xcdf360(0x2c5),_0x30b34a[_0x30b34a['APPLY_DUPLICATED']=0x1b5d]=_0xcdf360(0x1de),_0x30b34a[_0x30b34a[_0xcdf360(0x21c)]=0x1f41]=_0xcdf360(0x21c),_0x30b34a[_0x30b34a[_0xcdf360(0x39a)]=0x2329]=_0xcdf360(0x39a),_0x30b34a[_0x30b34a[_0xcdf360(0x136)]=0x232a]='LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED',_0x30b34a[_0x30b34a[_0xcdf360(0x2b2)]=0x232b]=_0xcdf360(0x2b2),_0x30b34a[_0x30b34a[_0xcdf360(0x187)]=0x232c]=_0xcdf360(0x187),_0x30b34a[_0x30b34a[_0xcdf360(0x13e)]=0x232d]=_0xcdf360(0x13e),_0x30b34a[_0x30b34a['YUUMI_UNABLE_LOAD_URL']=0x2711]=_0xcdf360(0x1cc),_0x30b34a[_0x30b34a['YUUMI_URL_COL_OUT_OF_RANGE']=0x2712]=_0xcdf360(0x230),_0x30b34a[_0x30b34a[_0xcdf360(0x1b1)]=0x2713]=_0xcdf360(0x1b1),_0x30b34a[_0x30b34a[_0xcdf360(0x152)]=0x2714]=_0xcdf360(0x152),_0x30b34a[_0x30b34a['YUUMI_NO_CUBOID_FOR_QUESTION']=0x271a]=_0xcdf360(0x362),_0x30b34a[_0x30b34a[_0xcdf360(0x350)]=0x271b]=_0xcdf360(0x350),_0x30b34a[_0x30b34a['YUUMI_TABLE_NOT_FOUND_IN_UNIT']=0x271c]=_0xcdf360(0x388),_0x30b34a[_0x30b34a[_0xcdf360(0x20e)]=0x271d]=_0xcdf360(0x20e),_0x30b34a[_0x30b34a[_0xcdf360(0x2ed)]=0x271e]=_0xcdf360(0x2ed),_0x30b34a[_0x30b34a[_0xcdf360(0x3a1)]=0x271f]=_0xcdf360(0x3a1),_0x30b34a[_0x30b34a['YUUMI_CONNECTOR_URL_NOT_FOUND']=0x2720]=_0xcdf360(0x2d6),_0x30b34a[_0x30b34a[_0xcdf360(0x332)]=0x2af9]='PY_RUNTIME_SCRIPT_ERROR',_0x30b34a[_0x30b34a[_0xcdf360(0x245)]=0x2ee1]=_0xcdf360(0x245),_0x30b34a[_0x30b34a[_0xcdf360(0x35c)]=0x2ee2]='INVALID_INVITE_CODE',_0x30b34a[_0x30b34a['INVITE_CODE_REQUIRED']=0x2ee3]=_0xcdf360(0x1ec),_0x30b34a[_0x30b34a[_0xcdf360(0x138)]=0x2ee4]='USER_NOT_INVITED_CODE',_0x30b34a[_0x30b34a[_0xcdf360(0x2bc)]=0x2ee5]=_0xcdf360(0x2bc),_0x30b34a[_0x30b34a[_0xcdf360(0x341)]=0x32c9]='WECHAT_HAS_BEEN_BOUND',_0x30b34a[_0x30b34a['MOBILE_HAS_BEEN_BOUND']=0x32ca]=_0xcdf360(0x367),_0x30b34a[_0x30b34a[_0xcdf360(0x333)]=0x32cb]=_0xcdf360(0x333),_0x30b34a[_0x30b34a[_0xcdf360(0x173)]=-0x1]='UNRECOGNIZED',_0x30b34a))(_0x37c079||{}),_0x2b5f30=Object['getOwnPropertyDescriptor'],_0x57a5aa=(_0x3c1f79,_0x2981c3,_0xfdb389,_0x488a7d)=>{for(var _0x39cf1b=_0x488a7d>0x1?void 0x0:_0x488a7d?_0x2b5f30(_0x2981c3,_0xfdb389):_0x2981c3,_0x1487e2=_0x3c1f79['length']-0x1,_0x548acb;_0x1487e2>=0x0;_0x1487e2--)(_0x548acb=_0x3c1f79[_0x1487e2])&&(_0x39cf1b=_0x548acb(_0x39cf1b)||_0x39cf1b);return _0x39cf1b;},_0x51816b=(_0x391ea0,_0x49b142)=>(_0x4f75db,_0x1bd18c)=>_0x49b142(_0x4f75db,_0x1bd18c,_0x391ea0);_0xdd3109[_0xcdf360(0x2a7)]=class extends _0xdbbc0b['Disposable']{constructor(_0x47b966,_0x49320d,_0x265b45){const _0x3a0a5d=_0xcdf360;super(),this['_instanceService']=_0x47b966,this[_0x3a0a5d(0x239)]=_0x49320d,this[_0x3a0a5d(0x38f)]=_0x265b45;}async[_0xcdf360(0x201)](_0x4095de,_0x3f9cfb,_0x314091,..._0x44b544){const _0x312108=_0xcdf360;var _0x166d24,_0x4c46a9,_0x3b39be,_0x3b9b05;const _0x1f45c8=this[_0x312108(0x3a7)][_0x312108(0x379)]();if(!_0x1f45c8)throw new Error(_0x312108(0x168));const _0x163ec3=((_0x166d24=this['_configService'][_0x312108(0x2fd)](_0x5b75f3[_0x312108(0x1b6)]))!=null?_0x166d24:_0x5b75f3[_0x312108(0x1a1)])+'/'+_0x4095de+_0x312108(0x2af)+_0x3f9cfb,_0x4d100c=new URL(window[_0x312108(0x243)]['href']),_0xe45653={'scriptId':_0x4095de,'runId':(_0x4c46a9=_0x4d100c[_0x312108(0x24e)]['get'](_0x312108(0x2f1)))!=null?_0x4c46a9:'','function':_0x3f9cfb,'unitId':_0x1f45c8['getUnitId'](),'argsOfFunction':JSON[_0x312108(0x14c)](_0x44b544),'invokeId':(_0x3b39be=_0x314091['invokeId'])!=null?_0x3b39be:'','executionId':(_0x3b9b05=_0x314091[_0x312108(0x23e)])!=null?_0x3b9b05:''};try{const _0xb014c3=await this[_0x312108(0x239)][_0x312108(0x19b)](_0x163ec3,{'body':_0xe45653});return _0xb014c3['body'][_0x312108(0x1e3)]&&_0xb014c3['body'][_0x312108(0x1e3)]['code']!==_0x37c079['OK']?_0x312108(0x28d):_0xb014c3[_0x312108(0x196)]['result'];}catch{return'Failed';}}},_0xdd3109[_0xcdf360(0x2a7)]=_0x57a5aa([_0x51816b(0x0,_0xdbbc0b['IUniverInstanceService']),_0x51816b(0x1,_0xdbbc0b[_0xcdf360(0x1ee)](_0x33f97b[_0xcdf360(0x141)])),_0x51816b(0x2,_0xdbbc0b[_0xcdf360(0x297)])],_0xdd3109[_0xcdf360(0x2a7)]),_0xdd3109[_0xcdf360(0x18f)]=_0x20e1e0,_0xdd3109[_0xcdf360(0x24d)]=_0x4ad13b,_0xdd3109['SheetCollabCursorShape']=_0x518476,_0xdd3109['WebBrowserSingleActiveUnitService']=_0x2e58f0,_0xdd3109[_0xcdf360(0x12d)]=_0x57bc56,Object[_0xcdf360(0x286)](_0xdd3109,Symbol[_0xcdf360(0x2c3)],{'value':_0xcdf360(0x146)});}));function _0x38bf(){const _0x2e5bcf=['transformMutation','setTimeout','ISocketService','unshift','_startDocCollabCursor','_imageIoService','RevisionService','collabStatus.notCollab','_localeService','closePath','APPLY_DUPLICATED','getOffsetConfig','Workbook','Unknown\x20user','svg','error','next','IImageIoService','CollaborationSocketService','sessionStatus$','rgba(255,\x20255,\x20255,\x200.01)','18991xoPZSq','_roomMembers$','FETCH_MISS','INVITE_CODE_REQUIRED','measureText','Inject','white','init','_toggleOffline','OffLineIcon','ONLINE','collabCursorState$','fillText','pipe','get','toDisposable','collab-client.tooltip.reconnect','prototype','ticket','_status$','CollaborationUIEventId','replace','ThemeService','Error','runOnServer','switchMap','getCollabCursors$','onCommandExecuted','onPointerLeave$','getCollabEntity$','InsertRowCommandId','red.300','@univerjs/docs','univerjs-icon\x20univerjs-icon-','some','ENSURE_SNAPSHOT_EXECUTION','_initDependencies','YUUMI_ALL_TABLES_IS_INVALID','collaboration.single-unit.warning','CollaborationController','getTypeOfUnitDisposed$','_context','_unitOnClients','eventID','_transformPreviousActiveRange','getVpScrollXYInfoByPosToVp','Optional','@univerjs/sheets-ui','rxjs','UniverProCollaborationClientUi','UniverInstanceType','CONNECTOR_DATA_TOO_LARGE','_renderManagerService','ICommandService','hide','[CollaborationDataLoaderController]','reconnect','_cursorShapes','useRef','hovered','collabStatus.synced','COLORS','attrs','disposeWithMe','DependentOn','mask','getSkeleton','setItem','xlink:href','transformRemoteChangeset','_registerDependencies','YUUMI_URL_COL_OUT_OF_RANGE','with','UniverProCollaboration','replaceState','roomMembers','_render','DeleteRangeMoveUpCommandId','docStateChange$','ITransformService','_httpService','UniverCollaborationClientUIPlugin','removeParam','_collabSessionService','MemberService','executionId','loadUnit','_docStateChangeManagerService','exports','TOO_MANY_REQUESTS','location','getParam','INVITE_CODE_HAS_BEEN_UES','Rect','DisposableCollection','_lastPointer','selection','Plugin','getCellPositionByOffset','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','IURLService','searchParams','collabStatus.syncing','endRow','send','_unitStatus','_localStorageService','unit','startRow','permission.content','_send','handleIRemoveCol','unitId','findNodePositionByCharIndex','UniverCore','actions','_initCommandExecutedListener','_removeCollabCursors','function','_urlService','collaboration-client.offline-data-not-saved','cursorInfo$','transformIMECache','RichTextEditingMutation','registerBeforeClose','getItem','1em','BehaviorSubject','forEach','height','univer-text-sm\x20univer-leading-8\x20univer-text-gray-600\x20dark:!univer-text-gray-200','collaboration.closeRoom','_onRefRangeChange','off-line-icon_clip0_910_343','MessageType','_entities','ILocalCacheService','setShapeProps','textRanges','delete','_hover','_entityInit$','complete','_drawTextRange','_initEntityListener','collabStatus.conflict','className','_handleLeaveEvent','toRgbString','_hovered','getValue','handleDeleteRangeMoveUp','_updateCollabCursors','column','on-line-icon_clip0_910_349','ISnapshotServerService','INTERNAL_ERROR','defineProperty','debounce','Vector2','unsubscribe','_initStatusListener','getOwnPropertyDescriptor','_updateLocalCursor','Failed','session.collaboration-timeout','data','sessionTicket','requireSession','sheetID','onMouseMove','_refreshCollabCursors','CHANGESET_REVISION_CONFILICT','href','IConfigService','url(#$1','transformMutationsWithChangeset','_getMergeRange','_setupSubUnitSync','NO_OTHER_CLIENTS_EDITING','subscribeEvent','_online','fillRule','clipPath','min','black','_updateSubUnitFromURLParams','colorChannel1','_saveCache','addHandlerCallback','RemoteUniscriptService','http://www.w3.org/2000/svg','disposeUnit','_toggleOnline','saveImage','string','getCurrent','ACTIVE_UNIT_EVENT_CHANNEL','/run/','SNAPSHOT_HAS_BEEN_REMOVED','_cursor','LICENSE_IMPORT_SIZE_EXCEEDED','indexOf','SYNCED','getDocRanges','NOT_COLLAB','0\x200\x2017\x2016','jsx','forwardRef','currentSkeleton$','_eventUnsubscribe','INVITE_CODE_ALREADY_BOUND','_document','icon','_getAnchorBounding','substring','Tooltip','entityInit$','toStringTag','_messageService','APPLY_PERMISSION_DENIED','doc.mutation.rich-text-editing','_collaborationUIEventService','CollaborationDataLoaderController','DesktopCollaborationStatusDisplayController','_revisionService','IUIPartsService','length','MOBILE_VERIFY_CODE_MISMATCH','RegularPolygon','SNAPSHOT_INVALID_SNAPSHOT','_beforeCloseService','UniverNetwork','url(#off-line-icon_clip0_910_343)','React','Injector','_scheduleClearOtherTimer','YUUMI_CONNECTOR_URL_NOT_FOUND','getSheetId','Tools','_color','type','name','@univerjs/docs-ui','UniverCollaborationClientPlugin','registerRefRange','symbol','width','createInstance','_anchor','_docClipboardService','IBeforeCloseService','_getSheetObject','ALREADY_EXISTS','has','_heartbeatTimer','skeleton','_assignedColors','Warning','_collabCursorController','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','univer-mr-2\x20univer-flex\x20univer-text-xl','getUndoRedoMutationParamsCache','UnitStatus','runId','transformStateCache','CollaborationSessionService','createSocket','UniverEngineRender','selections','endColumn','RxDisposable','params','_drawAnchor','RefRangeService','DEFAULT_WS_SESSION_TICKET_URL','getConfig','_injector','displayName','assignAColorForMemberID','history','RECT','then','loadOfflineData','getAncestorScale','getRangePointData','redoState','_saveTaskMap','NOT_FOUND','beginPath','collabStatus.offline','syncEditingCollabCursor','debounceTime','connectInjector','save','UniverDesign','APPLY_REVISION_CONFILICT','contains','from','getUnitStatus$','getTypeOfUnitAdded$','clearInterval','fill','_setupBeforeClosingHandler','HEADER_MENU','DocSkeletonManagerService','UniverIcon','operators','_logService','IMessageService','random','81676hCEtqE','UniverDrawing','registerComponent','162AEVOea','@univerjs/ui','SetWorksheetActivateCommand','_createSocketURL','UniverDocs','207hNvAXf','event$','_config','EffectRefRangId','_getSessionTicket','yellow.400','split','row','isActive','2040590sersyf','PY_RUNTIME_SCRIPT_ERROR','EMAIL_HAS_BEEN_BOUND','_cachedData','status$','takeUntil','deserializeRangeWithSheet','_commandService','_id','setAlpha','_handleEvent','UNIVER_SHEET','No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.','off-line-icon','source','setParam','WECHAT_HAS_BEEN_BOUND','restore','APPLY_NON_SEQUENTIAL_REVISION','_docTransformSelectionsService','bottom','_selfUnitIDs','LOGIN_FAILED','touchDependencies','PENDING','isTransformMutationsWithChangesetSuccess','9488viKbdF','UPDATE_CURSOR','application/json','onRendered','react/jsx-runtime','YUUMI_ASYNCIO_CANCELLED','@univerjs-pro/collaboration-client','getUniverSheetInstance','moveTo','clearTimeout','none','startColumn','@univerjs/drawing','lineTo','getCurrentUnitForType','propertyIsEnumerable','EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','INVALID_INVITE_CODE','idSuffix','SessionStatus','runRefRangeMutations','merge','0\x200\x2016\x2016','YUUMI_NO_CUBOID_FOR_QUESTION','handleMoveRange','_collabCursorState$','getCurrentSelections','override','MOBILE_HAS_BEEN_BOUND','_notificationService','setInterval','entries','handleDeleteRangeMoveLeft','isTransformMutationFailure','UniverDocsUi','popstate','currentTheme$','call','ColorKit','INVALID_ARGUMENT','_docSkeletonManagerService','ILocalStorageService','CollaborationStatus','_docTransformStateCacheService','OFFLINE','on-line-icon','getFocusedUnit','map','getSheetObject','pushState','subscribe','SOCKET_FAILED_RETRY','dispose','mutations','deepClone','search','_init','getColor','enableLocalCache','_backgroundColor','_updateURLWithCurrentState','YUUMI_TABLE_NOT_FOUND_IN_UNIT','_dataLoaderService','_docTransformIMECacheService','getCoordByCell','_localCacheService','_handleJoinEvent','makeDirty','_configService','subUnitId','values','169RMPZsU','_labelPosition','getUnitId','UNDEFINED','hasOwnProperty','currentColor','MoveRangeCommandId','extend','LICENSE_MAX_UNITS_EXCEEDED','779110DGDsKZ','onPointerEnter$','url(#on-line-icon_clip0_910_349)','storage','EMAIL_VERIFY_CODE_MISMATCH','max','YUUMI_AI_RUN_FAILED','@univerjs/sheets','UniverRpc','LocaleService','_handleHover','arc','_instanceService','setActiveRange','_drawRectRange','session.connection-failed','color','@univerjs/design','defIds','11bzzwJx','path','_themeService','distinctUntilChanged','UNIVER_COLLABORATION_CLIENT_WEB_PLUGIN','RemoveRowCommandId','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','size','fillStyle','UniverEngineFormula','isEditing','asObservable','undoState','collabStatus.fetchMiss','_syncEditingCollabCursorService','Disposable','resize','createIdentifier','useObservable','useDependency','DocSelectionManagerService','UNAUTHENTICATED','NodePositionConvertToRectRange','TEXT','WebURLService','evenodd','_hideTimer','set','_onCursorUpdate','INotificationService','_collaborationController','_ensureSubject','m2Prime','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','BrowserCollaborationSocketService','USER_NOT_INVITED_CODE','UniverSheets','_session','setConfig','_initEvent','combineLatest','LICENSE_DISTRO_REJECTED','round','_uiPartsService','HTTPService','handleInsertRow','_removeClearOtherTimer','4OFJLYC','1046bLDvWm','Module','JOIN_ROOM_FAILED','registerRenderModule','_getSaveTimeout','tag','getRenderById','stringify','_startSheetCollabCursor','handleInsertRangeMoveDown','CONFLICT','_textBubble','urlChange$','YUUMI_SUBSCRIPTION_NOT_FOUND','executeCommand','addClipboardHook','getViewport','sheetId','36ZLJIFX','text','assign','getStateCache','replaceDocRanges','defs','children','unitID','div','M0\x200H16V16H0z','_refRangeService','updateOfflineData','uni.network.url-service','saveTaskMap','activeSheet$','51588kdNuyH','IRenderManagerService','[RemoteUniscriptService]:\x20no\x20focused\x20unit','USERS_LEAVE','OnLineIcon','_colorIndex','@univerjs/engine-formula','NodePositionConvertToCursor','...','getSheetBySheetId','DataLoaderService','_draw','labelPosition','UNRECOGNIZED','debug','VIEW_MAIN','_shapes','FromArray','isArray','key','createElement','getColorFromTheme','getOwnPropertySymbols','drawWith','top','_cursorInfo$','DOC_RANGE_TYPE','handleInsertCol','_transformService','InsertRangeMoveDownCommandId','_disabled','UNIVER_DOC','onPointerMove$','LICENSE_EXPORT_SIZE_EXCEEDED','_transformUndoRedoStack','toString','includes','flatMap','_scheduleSaving','onTransformChange$','CommandType','CollaborationStatusDisplay','transformSelections','IUniverInstanceService','triggerDblclick','PERMISSION_DENIED','getMember','_memberService','body','push','getLocalCacheKey','m1Prime','_range','post','concat','_sheetSkeletonManagerService','collab-text-anchor-','_onCursorDelete','DocIMEInputManagerService','DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','_registerRenderDependencies','filter','_anchorDot','_initResize','ILogService','add','subunit','_clearOtherTimers','getActiveSheet','generateRandomId','trim','_scheduleHeartbeat','UniverSheetsUi','@univerjs/engine-render','session.will-retry','YUUMI_RATE_OVER_LIMIT','onLocalMutation','TEXT_RANGE_LAYER_INDEX','#FFF','_univerInstanceService','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY','APPLY_REJECT','cursorInfo','LOCAL_CACHE_INTERVAL_KEY','_colorAssignService','translate(.97)','newValue','origin','startsWith','SheetsSelectionsService','IRemoteInstanceService','roomMembers$','_cursors','dispose$','_initStatusComponent','setUndoRedoMutationParamsCache','_name','_scene','CollaborationEvent','WebSocketService','DocStateChangeManagerService','COMPLETION_FINISHED','YUUMI_UNABLE_LOAD_URL','addObject','show','object','mergeOverrideWithDependencies','engine','editingUnit','all'];_0x38bf=function(){return _0x2e5bcf;};return _0x38bf();}
|