@univerjs-pro/collaboration-client-ui 0.8.3-nightly.202507011607 → 0.8.3-nightly.202507031607

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/umd/index.js CHANGED
@@ -1 +1 @@
1
- function _0xe20a(_0x18ebc0,_0x282483){const _0x1e628c=_0x1e62();return _0xe20a=function(_0xe20a70,_0x1c0083){_0xe20a70=_0xe20a70-0xcc;let _0x1b30a2=_0x1e628c[_0xe20a70];return _0x1b30a2;},_0xe20a(_0x18ebc0,_0x282483);}(function(_0x3707fb,_0x13a9ac){const _0x3a3ae7=_0xe20a,_0x148877=_0x3707fb();while(!![]){try{const _0x562857=parseInt(_0x3a3ae7(0x2ad))/0x1*(parseInt(_0x3a3ae7(0x301))/0x2)+-parseInt(_0x3a3ae7(0x2b8))/0x3*(-parseInt(_0x3a3ae7(0x34c))/0x4)+-parseInt(_0x3a3ae7(0x154))/0x5*(parseInt(_0x3a3ae7(0x112))/0x6)+-parseInt(_0x3a3ae7(0x11d))/0x7*(parseInt(_0x3a3ae7(0x1d0))/0x8)+-parseInt(_0x3a3ae7(0x318))/0x9+parseInt(_0x3a3ae7(0x23c))/0xa*(-parseInt(_0x3a3ae7(0x209))/0xb)+parseInt(_0x3a3ae7(0x2f4))/0xc;if(_0x562857===_0x13a9ac)break;else _0x148877['push'](_0x148877['shift']());}catch(_0x1b0626){_0x148877['push'](_0x148877['shift']());}}}(_0x1e62,0x86125),function(_0x29b411,_0x337348){const _0x5ad4c7=_0xe20a;typeof exports=='object'&&typeof module<'u'?_0x337348(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==_0x5ad4c7(0x133)&&define[_0x5ad4c7(0x323)]?define([_0x5ad4c7(0x319),_0x5ad4c7(0x113),_0x5ad4c7(0x1a7),_0x5ad4c7(0x1e9),_0x5ad4c7(0x2e5),_0x5ad4c7(0x181),_0x5ad4c7(0x304),_0x5ad4c7(0x292),_0x5ad4c7(0x25e),_0x5ad4c7(0x151),'@univerjs/engine-formula',_0x5ad4c7(0x2f7),'rxjs/operators',_0x5ad4c7(0x17c),_0x5ad4c7(0x2a5),'@univerjs/ui','@univerjs/design','react','@univerjs/rpc'],_0x337348):(_0x29b411=typeof globalThis<'u'?globalThis:_0x29b411||self,_0x337348(_0x29b411[_0x5ad4c7(0x244)]={},_0x29b411[_0x5ad4c7(0xfa)],_0x29b411[_0x5ad4c7(0x330)],_0x29b411[_0x5ad4c7(0x30e)],_0x29b411[_0x5ad4c7(0x21f)],_0x29b411[_0x5ad4c7(0x134)],_0x29b411['UniverDrawing'],_0x29b411[_0x5ad4c7(0x292)],_0x29b411[_0x5ad4c7(0x28a)],_0x29b411[_0x5ad4c7(0x1ad)],_0x29b411[_0x5ad4c7(0x1ec)],_0x29b411[_0x5ad4c7(0xea)],_0x29b411['rxjs'][_0x5ad4c7(0x166)],_0x29b411[_0x5ad4c7(0x1c2)],_0x29b411['React'],_0x29b411[_0x5ad4c7(0x329)],_0x29b411['UniverDesign'],_0x29b411[_0x5ad4c7(0xe5)],_0x29b411['UniverRpc']));}(this,function(_0x859d06,_0x598cf7,_0x3ed692,_0x419507,_0x49efbc,_0xe79878,_0xe9ed14,_0x5e60be,_0x5ba996,_0x59de32,_0x4a53dd,_0x43bed5,_0x324d3d,_0x515dd7,_0xd65c4f,_0x24fd59,_0x42626e,_0x116135,_0x416a51){'use strict';const _0x29331a=_0xe20a;var _0x53cb2c=Object[_0x29331a(0x26f)],_0x221e60=(_0xdd1040,_0x476a2c,_0x4cc201)=>_0x476a2c in _0xdd1040?_0x53cb2c(_0xdd1040,_0x476a2c,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x4cc201}):_0xdd1040[_0x476a2c]=_0x4cc201,_0x1a32bd=(_0xcb2957,_0x4779f3,_0x443671)=>_0x221e60(_0xcb2957,typeof _0x4779f3!=_0x29331a(0x267)?_0x4779f3+'':_0x4779f3,_0x443671),_0x5b9e96=Object[_0x29331a(0x1bc)],_0x1b80b9=(_0xe706f8,_0x299fd2,_0xa984ee,_0x587859)=>{const _0x43fc1b=_0x29331a;for(var _0x168b09=_0x587859>0x1?void 0x0:_0x587859?_0x5b9e96(_0x299fd2,_0xa984ee):_0x299fd2,_0x1514ca=_0xe706f8[_0x43fc1b(0x1dc)]-0x1,_0x47b5ce;_0x1514ca>=0x0;_0x1514ca--)(_0x47b5ce=_0xe706f8[_0x1514ca])&&(_0x168b09=_0x47b5ce(_0x168b09)||_0x168b09);return _0x168b09;},_0x22998e=(_0x4feeb5,_0xc97ba0)=>(_0x374f69,_0x21025d)=>_0xc97ba0(_0x374f69,_0x21025d,_0x4feeb5);let _0x24d325=class extends _0x3ed692[_0x29331a(0x13e)]{constructor(_0x1d2c29,_0x2f0d20){const _0x257113=_0x29331a;super(),this[_0x257113(0x235)]=_0x1d2c29,this[_0x257113(0x15a)]=_0x2f0d20,this[_0x257113(0x283)]();}['_init'](){const _0x5391b6=_0x29331a,_0x2173d1=this;this[_0x5391b6(0x234)](this[_0x5391b6(0x235)][_0x5391b6(0x19c)]({'onBeforePasteImage':async _0x79718=>{const _0x576437=_0x5391b6,_0x294b06=await _0x2173d1[_0x576437(0x15a)][_0x576437(0x2bc)](_0x79718);return _0x294b06?{'source':_0x294b06['source'],'imageSourceType':_0x294b06[_0x576437(0xe8)]}:null;}}));}};_0x24d325=_0x1b80b9([_0x22998e(0x0,_0xe79878[_0x29331a(0x2e1)]),_0x22998e(0x1,_0xe9ed14[_0x29331a(0x1d5)])],_0x24d325);const _0x3b952b=['purple.300','jiqing.500','green.600',_0x29331a(0x202),_0x29331a(0x114),_0x29331a(0x28f)];class _0x2e3539 extends _0x3ed692['Disposable']{constructor(){const _0x274317=_0x29331a;super(...arguments),_0x1a32bd(this,'_assignedColors',new Map()),_0x1a32bd(this,_0x274317(0x238),0x0);}[_0x29331a(0x2e9)](_0x14aa55){const _0x4b4a99=_0x29331a;if(this[_0x4b4a99(0x257)][_0x4b4a99(0x194)](_0x14aa55))return this[_0x4b4a99(0x257)][_0x4b4a99(0x159)](_0x14aa55);const _0x14ba7b=_0x3b952b[this[_0x4b4a99(0x238)]];return this[_0x4b4a99(0x238)]=(this[_0x4b4a99(0x238)]+0x1)%_0x3b952b[_0x4b4a99(0x1dc)],this[_0x4b4a99(0x257)][_0x4b4a99(0x333)](_0x14aa55,_0x14ba7b),_0x14ba7b;}}function _0x42c823(_0x39c4dc){const _0x26ec53=_0x29331a;let _0x543bd7='';for(const _0xd6a821 of _0x39c4dc){const {startOffset:_0x10c59a,endOffset:_0x55f062,isActive:_0x200697,rangeType:_0x241ee2,segmentId:_0x108b21,segmentPage:_0x41d783}=_0xd6a821;_0x543bd7[_0x26ec53(0x1dc)]&&(_0x543bd7+=','),_0x543bd7+=_0x10c59a+':'+_0x55f062+':'+(_0x200697?'1':'0')+':'+_0x241ee2+':'+_0x108b21+':'+_0x41d783;}return _0x543bd7;}function _0x21b2e5(_0xf483e5){const _0x424385=_0x29331a,_0x163a56=_0xf483e5['split'](','),_0x21c2f8=[];for(const _0x178a0a of _0x163a56){const [_0x508b1f,_0x100bff,_0x49c31e,_0x2a3b11,_0x193bc5,_0x13cfc7]=_0x178a0a[_0x424385(0xeb)](':');_0x21c2f8[_0x424385(0x322)]({'startOffset':Number(_0x508b1f),'endOffset':Number(_0x100bff),'collapsed':_0x508b1f===_0x100bff,'isActive':_0x49c31e==='1','rangeType':_0x2a3b11===_0x3ed692[_0x424385(0x2e2)]['TEXT']?_0x3ed692['DOC_RANGE_TYPE'][_0x424385(0x2d0)]:_0x3ed692[_0x424385(0x2e2)][_0x424385(0x1a4)],'segmentId':typeof _0x193bc5==_0x424385(0x13b)?String(_0x193bc5):'','segmentPage':Number(_0x13cfc7!=null?_0x13cfc7:-0x1)});}return _0x21c2f8['some'](_0x43ae4d=>_0x43ae4d[_0x424385(0x14c)])||(_0x21c2f8[0x0][_0x424385(0x14c)]=!0x0),_0x21c2f8;}class _0x144f0d extends _0x3ed692[_0x29331a(0x13e)]{constructor(){const _0xa08787=_0x29331a;super(...arguments),_0x1a32bd(this,_0xa08787(0x2d6),new _0x5e60be[(_0xa08787(0x24d))](null)),_0x1a32bd(this,'collabCursorState$',this[_0xa08787(0x2d6)][_0xa08787(0x199)]());}[_0x29331a(0x26a)](_0x4ce3de){const _0x2a91b8=_0x29331a,{unitID:_0x17382a,memberID:_0x31f446,textRanges:_0x456232}=_0x4ce3de,_0x347116=_0x42c823(_0x456232);if(_0x347116==='')return;const _0x4c67b9={'unitID':_0x17382a,'memberID':_0x31f446,'selection':_0x347116};this[_0x2a91b8(0x2d6)][_0x2a91b8(0x1f4)](_0x4c67b9);}}var _0xec891c=Object['getOwnPropertyDescriptor'],_0x1290bc=(_0x2725bc,_0x1b70b8,_0x197ac7,_0xe4889)=>{for(var _0xfce341=_0xe4889>0x1?void 0x0:_0xe4889?_0xec891c(_0x1b70b8,_0x197ac7):_0x1b70b8,_0x1d0af7=_0x2725bc['length']-0x1,_0x2ed9c5;_0x1d0af7>=0x0;_0x1d0af7--)(_0x2ed9c5=_0x2725bc[_0x1d0af7])&&(_0xfce341=_0x2ed9c5(_0xfce341)||_0xfce341);return _0xfce341;},_0x5d2e6c=(_0x2c8640,_0x3ad227)=>(_0x3e273d,_0x15e877)=>_0x3ad227(_0x3e273d,_0x15e877,_0x2c8640);const _0x5a4a31=0x12c,_0x3ce65d=0x64;let _0xac5050=class extends _0x3ed692[_0x29331a(0x13e)]{constructor(_0x5f55e4,_0x117a2d,_0x3243a2,_0x2dbf14,_0x40ff27,_0x2900c4,_0x490f82,_0x57101f,_0x77cdc2){const _0x1f8c13=_0x29331a;super(),_0x1a32bd(this,_0x1f8c13(0x2f6),!0x1),_0x1a32bd(this,_0x1f8c13(0x283),!0x1),_0x1a32bd(this,_0x1f8c13(0x123),new _0x5e60be['BehaviorSubject'](new Map())),_0x1a32bd(this,'cursorInfo$',this[_0x1f8c13(0x123)][_0x1f8c13(0x199)]()),_0x1a32bd(this,_0x1f8c13(0x266),new _0x5e60be[(_0x1f8c13(0x24d))]([])),_0x1a32bd(this,_0x1f8c13(0x104),this[_0x1f8c13(0x266)]['pipe'](_0x5e60be[_0x1f8c13(0x16b)](_0x5a4a31))),_0x1a32bd(this,_0x1f8c13(0x366),_0x3ed692['debounce'](_0x2aa65a=>{const _0x4426f5=_0x1f8c13,_0x5d9092={'eventID':_0x5ba996['CollaborationEvent'][_0x4426f5(0x268)],'data':{'unitID':this[_0x4426f5(0x144)],'memberID':this[_0x4426f5(0x189)][_0x4426f5(0x1cb)](),'selection':_0x42c823(_0x2aa65a)}};this['_session'][_0x4426f5(0x340)](_0x5d9092,this[_0x4426f5(0x144)]);},_0x3ce65d)),(this[_0x1f8c13(0x144)]=_0x5f55e4,this['_session']=_0x117a2d,this[_0x1f8c13(0x23e)]=_0x3243a2,this['_colorAssignService']=_0x2dbf14,this['_memberService']=_0x40ff27,this[_0x1f8c13(0x368)]=_0x2900c4,this['_transformService']=_0x490f82,this['_univerInstanceService']=_0x57101f,this['_commandService']=_0x77cdc2);}get[_0x29331a(0xdf)](){const _0x2c17a9=_0x29331a;return this[_0x2c17a9(0x123)][_0x2c17a9(0x33f)]();}get['roomMembers'](){const _0x2ed7e6=_0x29331a;return this[_0x2ed7e6(0x266)]['getValue']();}[_0x29331a(0x2f0)](){const _0x294a1d=_0x29331a;super[_0x294a1d(0x2f0)](),this[_0x294a1d(0x123)]['next'](new Map()),this[_0x294a1d(0x123)]['complete'](),this[_0x294a1d(0x266)][_0x294a1d(0x1f4)]([]),this[_0x294a1d(0x266)][_0x294a1d(0x28d)]();}[_0x29331a(0x1e7)](){const _0x5e028a=_0x29331a;this[_0x5e028a(0x283)]||(this[_0x5e028a(0x283)]=!0x0,this[_0x5e028a(0x189)][_0x5e028a(0x2e7)]['pipe'](_0x5e60be[_0x5e028a(0xf0)](this[_0x5e028a(0x289)]))['subscribe'](_0x480c89=>{const _0x4810e5=_0x5e028a;_0x480c89===_0x598cf7[_0x4810e5(0x22b)]['ONLINE']?this[_0x4810e5(0x17f)]():this[_0x4810e5(0x17e)]();}),this[_0x5e028a(0x189)][_0x5e028a(0x2bb)][_0x5e028a(0x127)](_0x5e60be[_0x5e028a(0xf0)](this[_0x5e028a(0x289)]))['subscribe'](_0x500191=>{const _0x24efa5=_0x5e028a,_0x18a29c=_0x500191[_0x24efa5(0x2f8)];_0x18a29c===_0x5ba996[_0x24efa5(0x360)][_0x24efa5(0x268)]&&this[_0x24efa5(0x1f6)](_0x500191),_0x18a29c===_0x5ba996[_0x24efa5(0x360)][_0x24efa5(0x2c1)]&&this[_0x24efa5(0x161)](_0x500191);}),this['disposeWithMe'](this[_0x5e028a(0x23a)][_0x5e028a(0x13f)](_0x369285=>{const _0x3cb6e6=_0x5e028a,_0xccdd1c=_0x369285[_0x3cb6e6(0x239)];_0xccdd1c!=null&&this['_online']&&_0x369285['id']===_0x59de32['SetTextSelectionsOperation']['id']&&_0xccdd1c['unitId']===this['unitID']&&_0xccdd1c[_0x3cb6e6(0x10e)]===!0x1&&_0xccdd1c['ranges'][_0x3cb6e6(0x1dc)]>0x0&&this['_updateLocalCursor'](_0xccdd1c['ranges']);})),this[_0x5e028a(0x368)][_0x5e028a(0x34e)][_0x5e028a(0x127)](_0x5e60be[_0x5e028a(0xf0)](this['dispose$']))['subscribe'](_0x2d0caa=>{const _0xa1aed=_0x5e028a;if((_0x2d0caa==null?void 0x0:_0x2d0caa[_0xa1aed(0x144)])!==this[_0xa1aed(0x144)])return;const _0xbcd9ba={'eventID':_0x5ba996[_0xa1aed(0x360)]['UPDATE_CURSOR'],'data':_0x2d0caa};this[_0xa1aed(0x1f6)](_0xbcd9ba);}),this[_0x5e028a(0x234)](this[_0x5e028a(0x23a)][_0x5e028a(0x13f)](_0x405d39=>{const _0x2840ce=_0x5e028a;if(_0x405d39['params']==null)return;const _0x28e61c=_0x405d39[_0x2840ce(0x239)];if(_0x405d39['id']!==_0x59de32[_0x2840ce(0x351)]['id']||_0x28e61c[_0x2840ce(0x2a8)]!==this['unitID'])return;const _0x3aa641={'id':_0x2840ce(0x22c),'params':_0x28e61c},_0x17b0f1=this[_0x2840ce(0xdf)];for(const [_0x572c47,_0x202f98]of _0x17b0f1){const _0x3f71ea={'id':_0x2840ce(0x22c),'params':{'unitId':this[_0x2840ce(0x144)],'actions':null,'textRanges':_0x202f98[_0x2840ce(0x221)]}},_0x114f26=this[_0x2840ce(0x2d9)][_0x2840ce(0x2f9)](_0x3aa641,_0x3f71ea,!0x1);if(_0x5ba996['isTransformMutationFailure'](_0x114f26))throw _0x114f26[_0x2840ce(0x2ce)];_0x17b0f1[_0x2840ce(0x333)](_0x572c47,{..._0x202f98,'ranges':_0x114f26[_0x2840ce(0x1ea)][_0x2840ce(0x239)][_0x2840ce(0x28e)]});}queueMicrotask(()=>{const _0x1adbe2=_0x2840ce;this['_cursorInfo$'][_0x1adbe2(0x1f4)](_0x17b0f1);});})));}[_0x29331a(0x1f6)](_0x632838){const _0x18266e=_0x29331a;var _0x97f071,_0x1cd389;const {memberID:_0x20d632,selection:_0x14092d}=_0x632838[_0x18266e(0x1b3)],_0x3d5324=_0x21b2e5(_0x14092d),_0x23f136=(_0x1cd389=(_0x97f071=this['_memberService']['getMember'](this['unitID'],_0x20d632))==null?void 0x0:_0x97f071[_0x18266e(0x259)])!=null?_0x1cd389:'Unknown\x20user',_0x4ad5c5={'color':this['_colorAssignService'][_0x18266e(0x2e9)](_0x20d632),'name':_0x23f136,'ranges':_0x3d5324},_0x801fed=this[_0x18266e(0xdf)];_0x801fed[_0x18266e(0x333)](_0x20d632,_0x4ad5c5),this[_0x18266e(0x123)][_0x18266e(0x1f4)](_0x801fed);}[_0x29331a(0x161)](_0x55c369){const _0x3eac5e=_0x29331a,{memberID:_0x45323f}=_0x55c369['data'],_0xc48d3c=this['cursorInfo'];_0xc48d3c['delete'](_0x45323f),this[_0x3eac5e(0x123)]['next'](_0xc48d3c);}[_0x29331a(0x17f)](){const _0x53e495=_0x29331a;var _0x74d0f2;if(this[_0x53e495(0x2f6)]=!0x0,((_0x74d0f2=this[_0x53e495(0x27d)][_0x53e495(0xd1)]())==null?void 0x0:_0x74d0f2[_0x53e495(0x28c)]())!==this[_0x53e495(0x144)])return;const _0x2afced=this[_0x53e495(0x23e)][_0x53e495(0x159)](_0x59de32[_0x53e495(0x125)])[_0x53e495(0x16a)]();Array[_0x53e495(0x187)](_0x2afced)&&_0x2afced[_0x53e495(0x1dc)]>0x0&&this['_updateLocalCursor'](_0x2afced);}['_toggleOffline'](){this['_online']=!0x1;}};_0xac5050=_0x1290bc([_0x5d2e6c(0x2,_0x3ed692[_0x29331a(0x17b)](_0x3ed692[_0x29331a(0xf7)])),_0x5d2e6c(0x3,_0x3ed692[_0x29331a(0x17b)](_0x2e3539)),_0x5d2e6c(0x4,_0x3ed692[_0x29331a(0x17b)](_0x598cf7[_0x29331a(0x1a9)])),_0x5d2e6c(0x5,_0x3ed692['Inject'](_0x144f0d)),_0x5d2e6c(0x6,_0x5ba996[_0x29331a(0x299)]),_0x5d2e6c(0x7,_0x3ed692[_0x29331a(0x1d8)]),_0x5d2e6c(0x8,_0x3ed692[_0x29331a(0x21b)])],_0xac5050);var _0x315a59=Object['getOwnPropertyDescriptor'],_0x145617=(_0xab5ee4,_0x11451b,_0x532a9a,_0xe8827a)=>{for(var _0x28cdf3=_0xe8827a>0x1?void 0x0:_0xe8827a?_0x315a59(_0x11451b,_0x532a9a):_0x11451b,_0x204fdc=_0xab5ee4['length']-0x1,_0x409b70;_0x204fdc>=0x0;_0x204fdc--)(_0x409b70=_0xab5ee4[_0x204fdc])&&(_0x28cdf3=_0x409b70(_0x28cdf3)||_0x28cdf3);return _0x28cdf3;},_0x5812b6=(_0x3e440c,_0x331783)=>(_0x71fdf7,_0x14ea7f)=>_0x331783(_0x71fdf7,_0x14ea7f,_0x3e440c);const _0x19365c=0x12c,_0x4d1372=0x64,_0x50957a=()=>{let _0x1c9a1f=[],_0x10cae2=!0x1;return _0xf7f7cc=>{const _0x1fdfde=_0xe20a;_0x1c9a1f[_0x1fdfde(0x322)](_0xf7f7cc),_0x10cae2||(_0x10cae2=!0x0,setTimeout(()=>{const _0x1fd79b=_0x1fdfde;_0x1c9a1f[_0x1fd79b(0x1da)](_0x4d339f=>_0x4d339f()),_0x1c9a1f=[],_0x10cae2=!0x1;}));};};let _0x1ef0b5=class extends _0x3ed692['RxDisposable']{constructor(_0x39ee74,_0x3afb35,_0x53492e,_0x5bff25,_0x4f31e0,_0x1d832f,_0x159d0f,_0x3b51fc){const _0x1aa431=_0x29331a;super(),_0x1a32bd(this,_0x1aa431(0x2f6),!0x1),_0x1a32bd(this,_0x1aa431(0x283),!0x1),_0x1a32bd(this,_0x1aa431(0x123),new _0x5e60be[(_0x1aa431(0x24d))](new Map())),_0x1a32bd(this,_0x1aa431(0x312),this['_cursorInfo$'][_0x1aa431(0x199)]()),_0x1a32bd(this,_0x1aa431(0x266),new _0x5e60be[(_0x1aa431(0x24d))]([])),_0x1a32bd(this,'roomMembers$',this[_0x1aa431(0x266)]['pipe'](_0x5e60be['debounceTime'](_0x19365c))),_0x1a32bd(this,_0x1aa431(0x366),_0x3ed692[_0x1aa431(0x2f5)]((_0x1568a4,_0x2f02f6)=>{const _0x48fd13=_0x1aa431,_0x17c5f0={'eventID':_0x5ba996[_0x48fd13(0x360)]['UPDATE_CURSOR'],'data':{'unitID':this[_0x48fd13(0x144)],'memberID':this['_session'][_0x48fd13(0x1cb)](),'selection':_0x4a53dd[_0x48fd13(0x27f)](_0x1568a4,_0x2f02f6[_0x48fd13(0x191)])}};this[_0x48fd13(0x189)][_0x48fd13(0x340)](_0x17c5f0,this[_0x48fd13(0x144)]);},_0x4d1372)),(this['unitID']=_0x39ee74,this[_0x1aa431(0x189)]=_0x3afb35,this[_0x1aa431(0x23e)]=_0x53492e,this[_0x1aa431(0x118)]=_0x5bff25,this['_memberService']=_0x4f31e0,this['_univerInstanceService']=_0x1d832f,this[_0x1aa431(0x23a)]=_0x159d0f,this[_0x1aa431(0x272)]=_0x3b51fc);}get['cursorInfo'](){const _0x2bd9b4=_0x29331a;return this[_0x2bd9b4(0x123)][_0x2bd9b4(0x33f)]();}get[_0x29331a(0x325)](){const _0x394a17=_0x29331a;return this[_0x394a17(0x266)]['getValue']();}[_0x29331a(0x2f0)](){const _0xfd26d8=_0x29331a;super[_0xfd26d8(0x2f0)](),this[_0xfd26d8(0x123)]['next'](new Map()),this['_cursorInfo$'][_0xfd26d8(0x28d)](),this[_0xfd26d8(0x266)][_0xfd26d8(0x1f4)]([]),this[_0xfd26d8(0x266)]['complete']();}[_0x29331a(0x1e7)](){const _0x57cee7=_0x29331a;this[_0x57cee7(0x283)]||(this[_0x57cee7(0x283)]=!0x0,this[_0x57cee7(0x189)]['sessionStatus$'][_0x57cee7(0x127)](_0x5e60be['takeUntil'](this[_0x57cee7(0x289)]))[_0x57cee7(0x1c4)](_0x15b695=>{const _0xa245b5=_0x57cee7;_0x15b695===_0x598cf7[_0xa245b5(0x22b)]['ONLINE']?this[_0xa245b5(0x17f)]():this[_0xa245b5(0x17e)]();}),this[_0x57cee7(0x189)]['event$'][_0x57cee7(0x127)](_0x5e60be['takeUntil'](this['dispose$']))[_0x57cee7(0x1c4)](_0x5e8b6a=>{const _0xfa75e8=_0x57cee7,_0xcfcc81=_0x5e8b6a['eventID'];_0xcfcc81===_0x5ba996[_0xfa75e8(0x360)][_0xfa75e8(0x268)]&&this[_0xfa75e8(0x1f6)](_0x5e8b6a),_0xcfcc81===_0x5ba996[_0xfa75e8(0x360)][_0xfa75e8(0x2c1)]&&this[_0xfa75e8(0x161)](_0x5e8b6a);}),this[_0x57cee7(0x1b0)](),this[_0x57cee7(0x234)](this['_commandService'][_0x57cee7(0x13f)](_0x522f99=>{const _0x4a71b9=_0x57cee7;if(this[_0x4a71b9(0x2f6)]&&_0x522f99['id']===_0x43bed5[_0x4a71b9(0x2ba)]['id']&&_0x522f99[_0x4a71b9(0x239)][_0x4a71b9(0x2a8)]===this['unitID']){const _0xccb716=_0x522f99[_0x4a71b9(0x239)];this[_0x4a71b9(0x366)](_0xccb716[_0x4a71b9(0x195)],_0xccb716[_0x4a71b9(0x1d2)][0x0]);}})));}[_0x29331a(0x1f6)](_0xfb5789){const _0x40e7b1=_0x29331a;var _0x41ab3f,_0x18801c;const {memberID:_0x4d21a2,selection:_0x5dce98}=_0xfb5789['data'],{sheetName:_0x2ba37a,range:_0x2cef46}=_0x4a53dd['deserializeRangeWithSheet'](_0x5dce98),_0x1bf17e={'name':(_0x18801c=(_0x41ab3f=this[_0x40e7b1(0x106)]['getMember'](this[_0x40e7b1(0x144)],_0x4d21a2))==null?void 0x0:_0x41ab3f['name'])!=null?_0x18801c:_0x40e7b1(0xf6),'range':this[_0x40e7b1(0x22d)](_0x2ba37a,_0x2cef46),'sheetID':_0x2ba37a,'color':this[_0x40e7b1(0x118)]['assignAColorForMemberID'](_0x4d21a2),'selection':_0x5dce98},_0x4c1321=this[_0x40e7b1(0xdf)];_0x4c1321[_0x40e7b1(0x333)](_0x4d21a2,_0x1bf17e),this[_0x40e7b1(0x123)]['next'](_0x4c1321);}[_0x29331a(0x161)](_0x1b58bd){const _0x5c6a95=_0x29331a,{memberID:_0x5ea51a}=_0x1b58bd[_0x5c6a95(0x1b3)],_0xee7824=this[_0x5c6a95(0xdf)];_0xee7824['delete'](_0x5ea51a),this[_0x5c6a95(0x123)][_0x5c6a95(0x1f4)](_0xee7824);}[_0x29331a(0x22d)](_0x18400f,_0x168c6e){const _0x370406=_0x29331a;var _0x26678a,_0x5d6937;const _0x27e3ff=(_0x5d6937=(_0x26678a=this[_0x370406(0x27d)][_0x370406(0x11c)](this[_0x370406(0x144)]))==null?void 0x0:_0x26678a['getSheetBySheetId'](_0x18400f))==null?void 0x0:_0x5d6937[_0x370406(0x348)]();return(_0x27e3ff==null?void 0x0:_0x27e3ff['find'](_0x35f217=>_0x3ed692['Rectangle'][_0x370406(0x1f5)](_0x35f217,_0x168c6e)))||_0x168c6e;}[_0x29331a(0x1b0)](){const _0x4af846=_0x29331a,_0x5919e7=new _0x3ed692[(_0x4af846(0x336))](),_0x3141a8=_0x50957a(),_0x3b6cc2=()=>{const _0x51034b=_0x4af846;_0x5919e7[_0x51034b(0x2f0)]();const _0x29f24a=(_0x383f20,_0x575e8a,_0x3b62c6,_0x2d30a5)=>{const _0x5350ea=_0x51034b;let _0x34836a=[];switch(_0x383f20['id']){case _0x43bed5[_0x5350ea(0x15b)][_0x5350ea(0x201)]:{_0x34836a=_0x43bed5['handleDeleteRangeMoveLeft'](_0x383f20,_0x2d30a5);break;}case _0x43bed5[_0x5350ea(0x15b)][_0x5350ea(0x16f)]:{_0x34836a=_0x43bed5[_0x5350ea(0x176)](_0x383f20,_0x2d30a5);break;}case _0x43bed5['EffectRefRangId'][_0x5350ea(0xe3)]:{_0x34836a=_0x43bed5[_0x5350ea(0x130)](_0x383f20,_0x2d30a5);break;}case _0x43bed5['EffectRefRangId'][_0x5350ea(0x10f)]:{_0x34836a=_0x43bed5[_0x5350ea(0x215)](_0x383f20,_0x2d30a5);break;}case _0x43bed5[_0x5350ea(0x15b)][_0x5350ea(0x107)]:{_0x34836a=_0x43bed5[_0x5350ea(0x2d2)](_0x383f20,_0x2d30a5);break;}case _0x43bed5[_0x5350ea(0x15b)][_0x5350ea(0x31a)]:{_0x34836a=_0x43bed5[_0x5350ea(0x15c)](_0x383f20,_0x2d30a5);break;}case _0x43bed5[_0x5350ea(0x15b)][_0x5350ea(0x217)]:{_0x34836a=_0x43bed5[_0x5350ea(0x309)](_0x383f20,_0x2d30a5);break;}case _0x43bed5[_0x5350ea(0x15b)][_0x5350ea(0x1a2)]:{_0x34836a=_0x43bed5[_0x5350ea(0x31f)](_0x383f20,_0x2d30a5);break;}case _0x43bed5[_0x5350ea(0x15b)][_0x5350ea(0x2d5)]:{_0x34836a=_0x43bed5['handleIRemoveRow'](_0x383f20,_0x2d30a5);break;}}const _0x395440=_0x43bed5[_0x5350ea(0x354)](_0x34836a,_0x2d30a5),_0x28d8f8=this[_0x5350ea(0xdf)]['get'](_0x575e8a);if(_0x28d8f8&&_0x395440){const _0x116c10={..._0x28d8f8,'range':_0x395440};this[_0x5350ea(0xdf)][_0x5350ea(0x333)](_0x575e8a,_0x116c10),_0x3141a8(()=>{const _0x189412=_0x5350ea,_0x13556b=this[_0x189412(0x272)][_0x189412(0x229)](_0x395440,_0x223bd0=>(_0x13556b[_0x189412(0x2f0)](),_0x29f24a(_0x223bd0,_0x575e8a,_0x3b62c6,_0x395440)));_0x5919e7[_0x189412(0x26d)](_0x13556b);});}return{'redos':[],'undos':[]};};this[_0x51034b(0xdf)][_0x51034b(0x1da)]((_0x7507de,_0x476f32)=>{const _0x212f03=_0x51034b,{range:_0x5a2704,sheetID:_0x12b87a}=_0x7507de,_0x4c251d=this[_0x212f03(0x272)][_0x212f03(0x229)](_0x5a2704,_0x22b259=>(_0x4c251d[_0x212f03(0x2f0)](),_0x29f24a(_0x22b259,_0x476f32,_0x12b87a,_0x5a2704)));_0x5919e7[_0x212f03(0x26d)](_0x4c251d);});};this[_0x4af846(0x234)](_0x3ed692[_0x4af846(0x132)](this[_0x4af846(0x123)][_0x4af846(0x1c4)](()=>{_0x3b6cc2();})));}[_0x29331a(0x17f)](){const _0x10e95c=_0x29331a;var _0x3019c7,_0x51f923;if(this[_0x10e95c(0x2f6)]=!0x0,((_0x3019c7=this[_0x10e95c(0x27d)][_0x10e95c(0xd1)]())==null?void 0x0:_0x3019c7[_0x10e95c(0x28c)]())!==this[_0x10e95c(0x144)])return;const _0x30344d=(_0x51f923=this[_0x10e95c(0x23e)][_0x10e95c(0x159)](_0x43bed5[_0x10e95c(0x26b)])[_0x10e95c(0xff)]())==null?void 0x0:_0x51f923[0x0],_0x1fc52f=this[_0x10e95c(0x27d)]['getCurrentUnitForType'](_0x3ed692['UniverInstanceType'][_0x10e95c(0x1d7)])[_0x10e95c(0x2d1)]();_0x30344d&&_0x1fc52f&&this[_0x10e95c(0x366)](_0x1fc52f[_0x10e95c(0x1cd)](),_0x30344d);}[_0x29331a(0x17e)](){const _0x4f9240=_0x29331a;this[_0x4f9240(0x2f6)]=!0x1;}};_0x1ef0b5=_0x145617([_0x5812b6(0x2,_0x3ed692[_0x29331a(0x17b)](_0x3ed692[_0x29331a(0xf7)])),_0x5812b6(0x3,_0x3ed692['Inject'](_0x2e3539)),_0x5812b6(0x4,_0x3ed692['Inject'](_0x598cf7[_0x29331a(0x1a9)])),_0x5812b6(0x5,_0x3ed692[_0x29331a(0x1d8)]),_0x5812b6(0x6,_0x3ed692[_0x29331a(0x21b)]),_0x5812b6(0x7,_0x3ed692[_0x29331a(0x17b)](_0x43bed5['RefRangeService']))],_0x1ef0b5);var _0x3a63c4=Object['getOwnPropertyDescriptor'],_0x34196b=(_0x4aa55f,_0x14c604,_0x72b339,_0x4bf826)=>{const _0x3111c8=_0x29331a;for(var _0x4417e1=_0x4bf826>0x1?void 0x0:_0x4bf826?_0x3a63c4(_0x14c604,_0x72b339):_0x14c604,_0xad05b4=_0x4aa55f[_0x3111c8(0x1dc)]-0x1,_0x169b95;_0xad05b4>=0x0;_0xad05b4--)(_0x169b95=_0x4aa55f[_0xad05b4])&&(_0x4417e1=_0x169b95(_0x4417e1)||_0x4417e1);return _0x4417e1;},_0x3833d0=(_0x13e473,_0x21f36e)=>(_0x933771,_0x194e50)=>_0x21f36e(_0x933771,_0x194e50,_0x13e473);let _0xbf522a=class extends _0x3ed692['RxDisposable']{constructor(_0x2d66e6,_0x3b4528,_0x316345){const _0x1ea171=_0x29331a;super(),_0x1a32bd(this,'_entities',new Map()),_0x1a32bd(this,'_entityInit$',new _0x5e60be[(_0x1ea171(0x1b8))]()),(this[_0x1ea171(0x27d)]=_0x2d66e6,this[_0x1ea171(0x23e)]=_0x3b4528,this[_0x1ea171(0x24b)]=_0x316345,this['_init']());}[_0x29331a(0x2f0)](){const _0x40041d=_0x29331a;super['dispose'](),this[_0x40041d(0x190)][_0x40041d(0x28d)](),this['_entities'][_0x40041d(0x1da)](_0x1686d1=>_0x1686d1[_0x40041d(0x2f0)]());}[_0x29331a(0x247)](_0x514371){const _0x3f46e4=_0x29331a;return this[_0x3f46e4(0x2dd)][_0x3f46e4(0x194)](_0x514371)?this[_0x3f46e4(0x2dd)][_0x3f46e4(0x159)](_0x514371)[_0x3f46e4(0x312)]:this[_0x3f46e4(0x190)]['pipe'](_0x5e60be[_0x3f46e4(0x2aa)](_0x589b6c=>_0x589b6c[_0x3f46e4(0x144)]===_0x514371),_0x5e60be['switchMap'](_0x1f1418=>_0x1f1418['cursorInfo$']));}[_0x29331a(0x283)](){const _0x567942=_0x29331a;this[_0x567942(0x27d)][_0x567942(0x2cd)](_0x3ed692[_0x567942(0x2b3)][_0x567942(0x1d7)])[_0x567942(0x127)](_0x5e60be[_0x567942(0xf0)](this[_0x567942(0x289)]))[_0x567942(0x1c4)](async _0xa2a328=>{const _0x5bc189=_0x567942,_0x391604=_0xa2a328[_0x5bc189(0x28c)](),_0x314290=await this[_0x5bc189(0x2c7)](_0x391604);this[_0x5bc189(0x190)][_0x5bc189(0x1f4)](_0x314290),this[_0x5bc189(0x2dd)]['set'](_0x391604,_0x314290);}),this[_0x567942(0x27d)][_0x567942(0x2cd)](_0x3ed692[_0x567942(0x2b3)][_0x567942(0x2fb)])['pipe'](_0x5e60be[_0x567942(0xf0)](this[_0x567942(0x289)]))[_0x567942(0x127)](_0x5e60be[_0x567942(0x2aa)](_0x4dc859=>!_0x4dc859[_0x567942(0x28c)]()[_0x567942(0x25f)]('__')))['subscribe'](async _0x2e7b91=>{const _0x18ba45=_0x567942,_0x5dc267=_0x2e7b91[_0x18ba45(0x28c)](),_0x37e2a8=await this[_0x18ba45(0x10b)](_0x5dc267);this[_0x18ba45(0x190)][_0x18ba45(0x1f4)](_0x37e2a8),this[_0x18ba45(0x2dd)][_0x18ba45(0x333)](_0x5dc267,_0x37e2a8);}),_0x5e60be[_0x567942(0x2fd)](this['_univerInstanceService'][_0x567942(0x18f)](_0x3ed692[_0x567942(0x2b3)][_0x567942(0x2fb)]),this[_0x567942(0x27d)]['getTypeOfUnitDisposed$'](_0x3ed692[_0x567942(0x2b3)][_0x567942(0x1d7)]))[_0x567942(0x127)](_0x5e60be['takeUntil'](this['dispose$']))[_0x567942(0x1c4)](_0x36a924=>{const _0x59a1f5=_0x567942,_0x5d5c4f=_0x36a924[_0x59a1f5(0x28c)](),_0x29b10a=this[_0x59a1f5(0x2dd)][_0x59a1f5(0x159)](_0x5d5c4f);_0x29b10a&&(_0x29b10a[_0x59a1f5(0x2f0)](),this[_0x59a1f5(0x2dd)][_0x59a1f5(0x21e)](_0x5d5c4f));});}async[_0x29331a(0x2c7)](_0x4791e0){const _0x54d546=_0x29331a,_0xcfe5e9=await this['_collabSessionService'][_0x54d546(0x33a)](_0x4791e0),_0x56b371=this[_0x54d546(0x23e)][_0x54d546(0x2a2)](_0x1ef0b5,_0x4791e0,_0xcfe5e9);return _0x56b371[_0x54d546(0x1e7)](),_0x56b371;}async['_startDocCollabCursor'](_0x2b6e35){const _0x59870d=_0x29331a,_0x12be92=await this[_0x59870d(0x24b)][_0x59870d(0x33a)](_0x2b6e35),_0x2cbfb4=this[_0x59870d(0x23e)][_0x59870d(0x2a2)](_0xac5050,_0x2b6e35,_0x12be92);return _0x2cbfb4[_0x59870d(0x1e7)](),_0x2cbfb4;}};_0xbf522a=_0x34196b([_0x3833d0(0x0,_0x3ed692[_0x29331a(0x1d8)]),_0x3833d0(0x1,_0x3ed692[_0x29331a(0x17b)](_0x3ed692[_0x29331a(0xf7)])),_0x3833d0(0x2,_0x3ed692[_0x29331a(0x17b)](_0x598cf7['CollaborationSessionService']))],_0xbf522a);const _0x389747=0x14,_0x196197=0xc8,_0xf69b93=0x4,_0x1a2fb4=0x5;function _0x3aeb39(_0x28bcc9,_0x28ee4c){const _0x4c9ab6=_0x29331a;let {radius:_0x1e41c1,width:_0x29ec68,height:_0x791498}=_0x28ee4c;_0x1e41c1=_0x1e41c1!=null?_0x1e41c1:0x0,_0x29ec68=_0x29ec68!=null?_0x29ec68:0x1e,_0x791498=_0x791498!=null?_0x791498:0x1e;let _0x3674cf=0x0,_0x28c1ff=0x0,_0x57509f=0x0;_0x3674cf=_0x28c1ff=_0x57509f=Math[_0x4c9ab6(0x175)](_0x1e41c1,_0x29ec68/0x2,_0x791498/0x2),_0x28bcc9[_0x4c9ab6(0x162)](),_0x28bcc9[_0x4c9ab6(0x30a)](_0x3674cf,0x0),_0x28bcc9['lineTo'](_0x29ec68-_0x28c1ff,0x0),_0x28bcc9[_0x4c9ab6(0x324)](_0x29ec68-_0x28c1ff,_0x28c1ff,_0x28c1ff,Math['PI']*0x3/0x2,0x0,!0x1),_0x28bcc9['lineTo'](_0x29ec68,_0x791498-_0x57509f),_0x28bcc9[_0x4c9ab6(0x324)](_0x29ec68-_0x57509f,_0x791498-_0x57509f,_0x57509f,0x0,Math['PI']/0x2,!0x1),_0x28bcc9[_0x4c9ab6(0x1a1)](0x0,_0x791498),_0x28bcc9[_0x4c9ab6(0x1a1)](0x0,_0x3674cf),_0x28bcc9[_0x4c9ab6(0x324)](_0x3674cf,_0x3674cf,_0x3674cf,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x28bcc9[_0x4c9ab6(0x24a)](),_0x28ee4c[_0x4c9ab6(0x1c6)]&&(_0x28bcc9[_0x4c9ab6(0x14a)](),_0x28bcc9[_0x4c9ab6(0x1dd)]=_0x28ee4c[_0x4c9ab6(0x1c6)],_0x28ee4c[_0x4c9ab6(0x141)]===_0x4c9ab6(0x129)?_0x28bcc9[_0x4c9ab6(0x1c6)](_0x4c9ab6(0x129)):_0x28bcc9[_0x4c9ab6(0x1c6)](),_0x28bcc9[_0x4c9ab6(0x342)]());}class _0x52bf41 extends _0x419507[_0x29331a(0x302)]{constructor(_0x2a184e,_0x24e8cf){const _0x49a690=_0x29331a;super(_0x2a184e,_0x24e8cf),_0x1a32bd(this,'color'),_0x1a32bd(this,_0x49a690(0x31d)),(this[_0x49a690(0x150)]=_0x24e8cf==null?void 0x0:_0x24e8cf[_0x49a690(0x150)],this[_0x49a690(0x31d)]=_0x24e8cf==null?void 0x0:_0x24e8cf[_0x49a690(0x31d)]);}static['drawWith'](_0x217d49,_0x150c90){const _0x53a6a4=_0x29331a,{text:_0x10b49b,color:_0x30a1f4}=_0x150c90;_0x217d49[_0x53a6a4(0x14a)](),_0x217d49[_0x53a6a4(0x173)]=_0x53a6a4(0x358);const _0x265663=_0x217d49['measureText'](_0x10b49b)[_0x53a6a4(0x2b5)],_0x33d13d=Math[_0x53a6a4(0x175)](_0x265663+0x2*_0xf69b93,_0x196197);_0x3aeb39(_0x217d49,{'height':_0x389747,'radius':0x4,'width':_0x33d13d,'fill':_0x30a1f4}),_0x217d49['fillStyle']=_0x53a6a4(0x1b9);const _0x209f34=_0xf69b93,_0x5d6c35=_0x389747-_0x1a2fb4,_0x54d23d=_0x196197-0x2*_0xf69b93;if(_0x265663>_0x54d23d){let _0x31ade0='',_0xbe4191=0x0;for(const _0x32a08d of _0x10b49b){const _0x3bfd62=_0x217d49[_0x53a6a4(0x359)](_0x32a08d)['width'];if(_0xbe4191+_0x3bfd62<=_0x54d23d-_0x217d49[_0x53a6a4(0x359)](_0x53a6a4(0x32e))[_0x53a6a4(0x2b5)])_0x31ade0+=_0x32a08d,_0xbe4191+=_0x3bfd62;else{_0x31ade0+='...';break;}}_0x217d49[_0x53a6a4(0x24c)](_0x31ade0,_0x209f34,_0x5d6c35);}else _0x217d49['fillText'](_0x10b49b,_0x209f34,_0x5d6c35);_0x217d49[_0x53a6a4(0x342)]();}[_0x29331a(0x10a)](_0x227c98){const _0x27c83e=_0x29331a;_0x52bf41[_0x27c83e(0x11e)](_0x227c98,this);}}const _0xeb9fc6=_0x29331a(0x352),_0x43e4e5=_0x29331a(0x184),_0x22b47c='collab-rect-range-',_0x393139=0x6,_0x265f07=1.5,_0xe2ad38=0x4,_0x26a134=1.5,_0x34d7b2='rgba(255,\x20255,\x20255,\x200.01)';class _0x5022c7{constructor(_0x18e347,_0xc29d6d,_0x38da33,_0x1573c6){const _0x5c809a=_0x29331a;_0x1a32bd(this,_0x5c809a(0xde),[]),_0x1a32bd(this,_0x5c809a(0xd2),null),_0x1a32bd(this,_0x5c809a(0x260),null),_0x1a32bd(this,'_anchorDot',null),_0x1a32bd(this,_0x5c809a(0x287),null),_0x1a32bd(this,_0x5c809a(0x220),null),(this[_0x5c809a(0x160)]=_0x18e347,this[_0x5c809a(0x1ed)]=_0xc29d6d,this['_docSkeleton']=_0x38da33,this['_document']=_0x1573c6,this[_0x5c809a(0x136)]());}set['_hover'](_0x5b9ea0){const _0x48367d=_0x29331a;_0x5b9ea0?(this[_0x48367d(0x12b)]&&this['_anchorDot'][_0x48367d(0x1ff)](),this[_0x48367d(0x260)]&&this[_0x48367d(0x260)][_0x48367d(0x1bd)]()):(this['_anchorDot']&&this['_anchorDot'][_0x48367d(0x1bd)](),this['_textBubble']&&this[_0x48367d(0x260)][_0x48367d(0x1ff)]());}[_0x29331a(0x2f0)](){const _0x563a5f=_0x29331a;for(const _0x4b0bc3 of this[_0x563a5f(0xde)])_0x4b0bc3[_0x563a5f(0x2f0)]();this[_0x563a5f(0x260)]&&this[_0x563a5f(0x260)][_0x563a5f(0x2f0)](),this[_0x563a5f(0x12b)]&&this[_0x563a5f(0x12b)][_0x563a5f(0x2f0)](),this[_0x563a5f(0xd2)]&&this[_0x563a5f(0xd2)][_0x563a5f(0x2f0)](),this[_0x563a5f(0x220)]&&this[_0x563a5f(0x220)]();}['_render'](){const _0x54cdbd=_0x29331a;var _0x1248ce;const {_docSkeleton:_0x1377a0,_document:_0x491189}=this,{color:_0x12ca7c,name:_0x2ca555,ranges:_0x1dc235}=this[_0x54cdbd(0x160)],_0x459dda=_0x491189[_0x54cdbd(0x1c5)](),{docsLeft:_0x33c2f2,docsTop:_0x259470}=_0x459dda,_0x13d9ec=new _0xe79878[(_0x54cdbd(0x33c))](_0x459dda,_0x1377a0);for(const {startOffset:_0x536b82,endOffset:_0x17422b,rangeType:_0x5cb228,segmentId:_0x5f1644,segmentPage:_0x86a365,collapsed:_0x3d56b4,isActive:_0x374e24}of _0x1dc235){const _0x17ff4d=_0x1377a0['findNodePositionByCharIndex'](_0x536b82,!0x0,_0x5f1644,_0x86a365);let _0x542a1c=_0x1377a0['findNodePositionByCharIndex'](_0x17422b,!0x0,_0x5f1644,_0x86a365);if(_0x542a1c==null&&(_0x542a1c=_0x1377a0[_0x54cdbd(0x337)](_0x17422b-0x1,!0x1,_0x5f1644,_0x86a365)),_0x374e24){const {contentBoxPointGroup:_0x2f043f}=_0x13d9ec[_0x54cdbd(0x22e)](_0x542a1c,_0x542a1c);if(_0x2f043f['length']===0x0)continue;this[_0x54cdbd(0x222)](_0x12ca7c,_0x2f043f,_0x33c2f2,_0x259470,_0x2ca555),this['_eventUnsubscribe']=this[_0x54cdbd(0x1f0)]();}if(_0x17ff4d&&_0x542a1c){if(_0x5cb228===_0x3ed692[_0x54cdbd(0x2e2)][_0x54cdbd(0x1a4)]){const _0x1d8e08=new _0xe79878[(_0x54cdbd(0x216))](_0x459dda,_0x1377a0),{pointGroup:_0x680b56}=(_0x1248ce=_0x1d8e08[_0x54cdbd(0x22e)](_0x17ff4d,_0x542a1c))!=null?_0x1248ce:{};if(_0x680b56==null||_0x680b56['length']===0x0)continue;this[_0x54cdbd(0x361)](_0x12ca7c,_0x680b56,_0x33c2f2,_0x259470);}else{if(!_0x3d56b4){const {borderBoxPointGroup:_0x4aedb5}=_0x13d9ec[_0x54cdbd(0x22e)](_0x17ff4d,_0x542a1c);if(_0x4aedb5[_0x54cdbd(0x1dc)]===0x0)continue;this['_drawTextRange'](_0x12ca7c,_0x4aedb5,_0x33c2f2,_0x259470);}}}}}['_drawAnchor'](_0x2e47e5,_0x16c557,_0xe8134,_0xe804e,_0x506a09){const _0x1d918f=_0x29331a,_0x971446=this[_0x1d918f(0x2bf)](_0x16c557),{left:_0x475fb1,top:_0x285a1e,height:_0x49325f}=_0x971446,_0x2a15a0=this[_0x1d918f(0x1db)](),_0x47756a=_0x26a134/_0x2a15a0,_0xbbb675=new _0x419507[(_0x1d918f(0x29c))](_0xeb9fc6+_0x3ed692[_0x1d918f(0x357)][_0x1d918f(0x2d7)](_0x393139),{'left':_0x475fb1+_0xe8134-_0x47756a,'top':_0x285a1e+_0xe804e,'height':_0x49325f,'width':_0x265f07,'fill':_0x2e47e5||_0x419507[_0x1d918f(0x305)](_0x3ed692['COLORS']['black'],0x0),'strokeWidth':_0x47756a,'stroke':_0x34d7b2,'evented':!0x0});this[_0x1d918f(0xd2)]=_0xbbb675,this[_0x1d918f(0x1ed)][_0x1d918f(0x177)](_0xbbb675,_0xe79878[_0x1d918f(0x367)]);const _0x4f2a02=new _0x419507['Rect'](_0xeb9fc6+_0x3ed692[_0x1d918f(0x357)][_0x1d918f(0x2d7)](_0x393139),{'left':_0x475fb1+_0xe8134-_0x47756a,'top':_0x285a1e+_0xe804e-_0xe2ad38/0x2,'height':_0xe2ad38,'width':_0xe2ad38,'fill':_0x2e47e5||_0x419507[_0x1d918f(0x305)](_0x3ed692[_0x1d918f(0x2b9)][_0x1d918f(0x2c6)],0x0),'strokeWidth':0x0,'stroke':_0x2e47e5||_0x419507[_0x1d918f(0x305)](_0x3ed692[_0x1d918f(0x2b9)][_0x1d918f(0x2c6)],0x0),'evented':!0x1});this[_0x1d918f(0x12b)]=_0x4f2a02,this['_scene'][_0x1d918f(0x177)](_0x4f2a02,_0xe79878['TEXT_RANGE_LAYER_INDEX']);const _0x18dd14=new _0x52bf41(_0xeb9fc6+_0x3ed692[_0x1d918f(0x357)]['generateRandomId'](_0x393139),{'left':_0x475fb1+_0xe8134-_0x47756a,'top':_0x285a1e+_0xe804e-_0x389747,'text':_0x506a09,'color':_0x2e47e5});this[_0x1d918f(0x260)]=_0x18dd14,this[_0x1d918f(0x1ed)][_0x1d918f(0x177)](_0x18dd14,_0xe79878[_0x1d918f(0x367)]),this[_0x1d918f(0x2fe)]=!0x1;}['_handleHover'](){const _0x3dde0a=_0x29331a,_0x2983c5=this[_0x3dde0a(0xd2)][_0x3dde0a(0x242)][_0x3dde0a(0x2ef)](()=>{const _0x504a5d=_0x3dde0a;this[_0x504a5d(0x2fe)]=!0x0;}),_0x4a0c38=this[_0x3dde0a(0xd2)]['onPointerLeave$'][_0x3dde0a(0x2ef)](()=>{const _0x3a73bd=_0x3dde0a;this[_0x3a73bd(0x287)]&&clearTimeout(this[_0x3a73bd(0x287)]),this[_0x3a73bd(0x287)]=setTimeout(()=>{this['_hover']=!0x1;},0x7d0);});return()=>{const _0x1f123f=_0x3dde0a;_0x2983c5[_0x1f123f(0x2f1)](),_0x4a0c38[_0x1f123f(0x2f1)]();};}[_0x29331a(0xfc)](_0x544e7d,_0x5a92d2,_0x36904f,_0x16b6a0){const _0x1d3294=_0x29331a,_0x5d2bb9=new _0x3ed692['ColorKit'](_0x544e7d)['setAlpha'](0.2)[_0x1d3294(0x344)](),_0x308839=new _0x419507[(_0x1d3294(0x1fd))](_0x43e4e5+_0x3ed692[_0x1d3294(0x357)]['generateRandomId'](_0x393139),{'pointsGroup':_0x5a92d2,'fill':_0x5d2bb9||_0x419507[_0x1d3294(0x305)](_0x3ed692['COLORS'][_0x1d3294(0x2c6)],0.2),'left':_0x36904f,'top':_0x16b6a0,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x1d3294(0xde)][_0x1d3294(0x322)](_0x308839),this['_scene']['addObject'](_0x308839,_0xe79878[_0x1d3294(0x367)]);}[_0x29331a(0x361)](_0x237d0d,_0xee8b72,_0xe91b7a,_0x55c401){const _0x576195=_0x29331a,_0x54fd99=new _0x3ed692[(_0x576195(0x17a))](_0x237d0d)[_0x576195(0x192)](0.2)[_0x576195(0x344)](),_0x17c609=new _0x419507[(_0x576195(0x1fd))](_0x22b47c+_0x3ed692[_0x576195(0x357)][_0x576195(0x2d7)](_0x393139),{'pointsGroup':_0xee8b72,'fill':_0x54fd99||_0x419507['getColor'](_0x3ed692[_0x576195(0x2b9)]['black'],0.2),'left':_0xe91b7a,'top':_0x55c401,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x576195(0xde)]['push'](_0x17c609),this[_0x576195(0x1ed)]['addObject'](_0x17c609,_0xe79878['TEXT_RANGE_LAYER_INDEX']);}[_0x29331a(0x2bf)](_0x555b80){const _0x3e7bed=_0x555b80[0x0],_0x12e37f=_0x3e7bed[0x0],_0x2ba9af=_0x3e7bed[0x2],{x:_0x1cbae0,y:_0x4a6217}=_0x12e37f,{x:_0x6694a9,y:_0x224651}=_0x2ba9af;return{'left':_0x1cbae0,'top':_0x4a6217,'width':_0x6694a9-_0x1cbae0,'height':_0x224651-_0x4a6217};}['_getScale'](){const _0x5b0c11=_0x29331a,{scaleX:_0x1163a5,scaleY:_0x59edc0}=this[_0x5b0c11(0x1ed)][_0x5b0c11(0x12e)]();return Math['max'](_0x1163a5,_0x59edc0);}}var _0x29573a=Object[_0x29331a(0x1bc)],_0x303ca8=(_0x244776,_0x27af52,_0x10b7ec,_0x1dde61)=>{const _0x453881=_0x29331a;for(var _0x29c0f1=_0x1dde61>0x1?void 0x0:_0x1dde61?_0x29573a(_0x27af52,_0x10b7ec):_0x27af52,_0x217231=_0x244776[_0x453881(0x1dc)]-0x1,_0x5cdd77;_0x217231>=0x0;_0x217231--)(_0x5cdd77=_0x244776[_0x217231])&&(_0x29c0f1=_0x5cdd77(_0x29c0f1)||_0x29c0f1);return _0x29c0f1;},_0xafae19=(_0x1017d6,_0x21e14a)=>(_0x2aa3c6,_0xde2e93)=>_0x21e14a(_0x2aa3c6,_0xde2e93,_0x1017d6);let _0x2007b0=class extends _0x3ed692['RxDisposable']{constructor(_0x1d54af,_0x11ff14,_0x465f8e,_0x2bba91,_0x20cae5){const _0x948330=_0x29331a;super(),_0x1a32bd(this,_0x948330(0x29f),[]),_0x1a32bd(this,_0x948330(0x2fa),[]),(this[_0x948330(0x135)]=_0x1d54af,this[_0x948330(0x2ec)]=_0x11ff14,this[_0x948330(0x232)]=_0x465f8e,this[_0x948330(0x23a)]=_0x2bba91,this[_0x948330(0x346)]=_0x20cae5,this[_0x948330(0x283)]());}[_0x29331a(0x283)](){const _0x4a1d5a=_0x29331a,_0x51319c=this[_0x4a1d5a(0x135)][_0x4a1d5a(0x2a8)],_0x2fa17c=this[_0x4a1d5a(0x2ec)];this[_0x4a1d5a(0x234)](_0x5e60be['combineLatest']([this[_0x4a1d5a(0x232)]['getCollabCursors$'](_0x51319c),this[_0x4a1d5a(0x346)][_0x4a1d5a(0x25c)]])[_0x4a1d5a(0x127)](_0x324d3d[_0x4a1d5a(0x2e4)](([_0x326e2b,_0x51e052])=>({'skeleton':_0x2fa17c[_0x4a1d5a(0x1aa)](),'cursors':[..._0x326e2b['values']()]['flatMap'](_0x3d56e6=>({..._0x3d56e6,'color':this[_0x4a1d5a(0x346)][_0x4a1d5a(0x2a6)](_0x3d56e6[_0x4a1d5a(0x150)])}))})))[_0x4a1d5a(0x1c4)](_0x161919=>{if(this['_removeCollabCursors'](),_0x161919){const {skeleton:_0x4c0794,cursors:_0x114b21}=_0x161919;this['_updateCollabCursors'](_0x4c0794,_0x114b21);}})),this['_initResize'](),this['_initCommandExecutedListener']();}['_updateCollabCursors'](_0x26371f,_0x45cf5a){const _0x295073=_0x29331a,{scene:_0x368964,mainComponent:_0x38c614}=this[_0x295073(0x135)],_0x48901e=_0x45cf5a[_0x295073(0x2e4)](_0xccd201=>new _0x5022c7(_0xccd201,_0x368964,_0x26371f,_0x38c614));this[_0x295073(0x29f)]=_0x48901e,this['_cursors']=_0x45cf5a;}['_refreshCollabCursors'](){const _0x394c8b=_0x29331a;this['_removeCollabCursors']();const {scene:_0x432234,mainComponent:_0x5c0b65}=this[_0x394c8b(0x135)],_0x1ed52f=this[_0x394c8b(0x2ec)][_0x394c8b(0x1aa)](),_0x433792=this[_0x394c8b(0x2fa)][_0x394c8b(0x2e4)](_0x4124b1=>new _0x5022c7(_0x4124b1,_0x432234,_0x1ed52f,_0x5c0b65));this[_0x394c8b(0x29f)]=_0x433792;}[_0x29331a(0x2b6)](){const _0x2f4da8=_0x29331a;this[_0x2f4da8(0x29f)][_0x2f4da8(0x1da)](_0x5a3ada=>_0x5a3ada[_0x2f4da8(0x2f0)]()),this[_0x2f4da8(0x29f)]=[];}[_0x29331a(0x2cc)](){const _0x2f707e=_0x29331a,_0x160290=[_0xe79878[_0x2f707e(0x35e)]['id']];this['disposeWithMe'](this[_0x2f707e(0x23a)][_0x2f707e(0x13f)](_0x377566=>{const _0x34f3ce=_0x2f707e;_0x160290[_0x34f3ce(0x124)](_0x377566['id'])&&_0x377566[_0x34f3ce(0x239)][_0x34f3ce(0x2a8)]===this[_0x34f3ce(0x135)][_0x34f3ce(0x2a8)]&&this[_0x34f3ce(0x1bb)]();}));}['_initResize'](){const _0x33f0cf=_0x29331a;this[_0x33f0cf(0x234)](_0x3ed692[_0x33f0cf(0x29a)](this[_0x33f0cf(0x135)][_0x33f0cf(0x193)][_0x33f0cf(0xf8)])[_0x33f0cf(0x127)](_0x324d3d[_0x33f0cf(0x2aa)](_0x326ddb=>_0x326ddb[_0x33f0cf(0x321)]===_0x419507['TRANSFORM_CHANGE_OBSERVABLE_TYPE'][_0x33f0cf(0x203)]),_0x324d3d['throttleTime'](0x10))[_0x33f0cf(0x1c4)](()=>{const _0x5b8c2c=_0x33f0cf;this[_0x5b8c2c(0x1bb)]();}));}};_0x2007b0=_0x303ca8([_0xafae19(0x1,_0x3ed692[_0x29331a(0x17b)](_0x59de32[_0x29331a(0x2ed)])),_0xafae19(0x2,_0x3ed692['Inject'](_0xbf522a)),_0xafae19(0x3,_0x3ed692[_0x29331a(0x21b)]),_0xafae19(0x4,_0x3ed692['Inject'](_0x3ed692['ThemeService']))],_0x2007b0);const _0x353074=0x1,_0x142f01=1.5;class _0xcac5d2 extends _0x419507[_0x29331a(0x302)]{constructor(_0x46682d,_0x2cd928){const _0x2a5776=_0x29331a;super(_0x46682d,_0x2cd928),_0x1a32bd(this,_0x2a5776(0x1e0)),_0x1a32bd(this,'_hovered',!0x1),_0x1a32bd(this,_0x2a5776(0x185)),_0x1a32bd(this,'_name',''),_0x1a32bd(this,_0x2a5776(0x33d),_0x2a5776(0x20a)),_0x1a32bd(this,_0x2a5776(0x2a0)),(_0x2cd928&&this['setShapeProps'](_0x2cd928),this['onPointerEnter$'][_0x2a5776(0x2ef)](()=>this[_0x2a5776(0xcc)]({'hovered':!0x0})),this[_0x2a5776(0xee)][_0x2a5776(0x2ef)](()=>this[_0x2a5776(0xcc)]({'hovered':!0x1})));}[_0x29331a(0xcc)](_0xfc0f05){const _0x32e546=_0x29331a;var _0x2ae6c0,_0x470de0,_0x22319c,_0x581bfa,_0x4cf279,_0x494ba7;this['_color']=(_0x2ae6c0=_0xfc0f05['color'])!=null?_0x2ae6c0:this['_color'],this[_0x32e546(0xf1)]=(_0x470de0=_0xfc0f05[_0x32e546(0xed)])!=null?_0x470de0:this[_0x32e546(0xf1)],this[_0x32e546(0x185)]=(_0x22319c=_0xfc0f05['range'])!=null?_0x22319c:this[_0x32e546(0x185)],this[_0x32e546(0xd6)]=(_0x581bfa=_0xfc0f05[_0x32e546(0x259)])!=null?_0x581bfa:this[_0x32e546(0xd6)],this[_0x32e546(0x33d)]=(_0x4cf279=_0xfc0f05[_0x32e546(0x2c3)])!=null?_0x4cf279:this[_0x32e546(0x33d)],this[_0x32e546(0x2a0)]=(_0x494ba7=_0xfc0f05[_0x32e546(0x34a)])!=null?_0x494ba7:this[_0x32e546(0x2a0)],this[_0x32e546(0x1e3)]({'width':_0xfc0f05[_0x32e546(0x2b5)],'height':_0xfc0f05[_0x32e546(0x1fc)]});}[_0x29331a(0x252)](_0x2f13ae){const _0x3d866d=_0x29331a,{row:_0x3b8b1f,column:_0x508048}=_0x2f13ae;if(_0x3b8b1f>=this[_0x3d866d(0x185)]['startRow']&&_0x3b8b1f<=this[_0x3d866d(0x185)][_0x3d866d(0x16c)]&&_0x508048>=this[_0x3d866d(0x185)]['startColumn']&&_0x508048<=this['_range'][_0x3d866d(0x338)]){this[_0x3d866d(0xcc)]({'hovered':!0x0});return;}this[_0x3d866d(0xcc)]({'hovered':!0x1});}['triggerDblclick'](_0x511ecb){return!0x1;}[_0x29331a(0x10a)](_0x554f77){const _0x34a02e=_0x29331a;_0x419507[_0x34a02e(0x29c)][_0x34a02e(0x11e)](_0x554f77,{'width':this[_0x34a02e(0x2b5)],'height':this[_0x34a02e(0x1fc)],'strokeWidth':_0x142f01,'stroke':this['_color'],'evented':!0x1,'fill':this[_0x34a02e(0x2a0)]}),this['_hovered']&&(_0x554f77[_0x34a02e(0x14a)](),_0x554f77[_0x34a02e(0x169)](0x1,0x0,0x0,0x1,this[_0x34a02e(0x2b5)],this[_0x34a02e(0x33d)]===_0x34a02e(0x270)?0x0:-0x14),_0x52bf41['drawWith'](_0x554f77,{'text':this['_name'],'color':this['_color']}),_0x554f77['restore']());}}var _0x3ed66f=Object['getOwnPropertyDescriptor'],_0x14dea2=(_0x35fa2f,_0x121ab5,_0x56229e,_0x41656e)=>{const _0x19d0c9=_0x29331a;for(var _0x43f31e=_0x41656e>0x1?void 0x0:_0x41656e?_0x3ed66f(_0x121ab5,_0x56229e):_0x121ab5,_0xdd14cf=_0x35fa2f[_0x19d0c9(0x1dc)]-0x1,_0x19bf45;_0xdd14cf>=0x0;_0xdd14cf--)(_0x19bf45=_0x35fa2f[_0xdd14cf])&&(_0x43f31e=_0x19bf45(_0x43f31e)||_0x43f31e);return _0x43f31e;},_0x550eaa=(_0x391d83,_0x4eb270)=>(_0xd5978e,_0x579f43)=>_0x4eb270(_0xd5978e,_0x579f43,_0x391d83);const _0x2f7177=0x1389;let _0x565d77=class extends _0x3ed692[_0x29331a(0x13e)]{constructor(_0x1e58eb,_0x434ecf,_0x4fd9d2,_0x4a3cf0){const _0x383488=_0x29331a;super(),_0x1a32bd(this,'_cursors',new Set()),_0x1a32bd(this,_0x383488(0x115),null),(this[_0x383488(0x135)]=_0x1e58eb,this[_0x383488(0x206)]=_0x434ecf,this[_0x383488(0x232)]=_0x4fd9d2,this[_0x383488(0x346)]=_0x4a3cf0,this['_init']());}['_init'](){const _0x96ed3d=_0x29331a;this['_sheetSkeletonManagerService'][_0x96ed3d(0x1fb)][_0x96ed3d(0x127)](_0x324d3d[_0x96ed3d(0xf0)](this[_0x96ed3d(0x289)]),_0x324d3d[_0x96ed3d(0x233)](_0x4c861f=>{const _0x2b8660=_0x96ed3d;if(_0x4c861f){const _0x445ca4=_0x4c861f[_0x2b8660(0x341)];return _0x5e60be['combineLatest'](this[_0x2b8660(0x232)][_0x2b8660(0x247)](this['_context'][_0x2b8660(0x2a8)]),this[_0x2b8660(0x346)][_0x2b8660(0x25c)])['pipe'](_0x324d3d[_0x2b8660(0x2e4)](([_0x192922,_0x328c35])=>{const _0x5f2eca=_0x2b8660,_0x150f3d=new Map();return _0x192922[_0x5f2eca(0x1da)]((_0x2e7fb5,_0x450cd9)=>{const _0x5e0d52=_0x5f2eca;if(_0x2e7fb5['sheetID']===_0x445ca4){const _0x1b534e={..._0x2e7fb5};_0x1b534e[_0x5e0d52(0x150)]=this[_0x5e0d52(0x346)][_0x5e0d52(0x2a6)](_0x2e7fb5[_0x5e0d52(0x150)]),_0x150f3d[_0x5e0d52(0x333)](_0x450cd9,_0x1b534e);}}),{'skeleton':_0x4c861f,'cursors':_0x150f3d};}));}return _0x5e60be['of']({'skeleton':null,'cursors':new Map()});}))['subscribe'](({skeleton:_0x355810,cursors:_0x33aaea})=>{const _0xb72089=_0x96ed3d;this[_0xb72089(0x2b6)](),_0x355810&&this[_0xb72089(0x100)](_0x355810,_0x33aaea);}),this[_0x96ed3d(0x206)][_0x96ed3d(0x1fb)][_0x96ed3d(0x1c4)](_0x245183=>{const _0x2f9d5e=_0x96ed3d;if(_0x245183==null)return;const {skeleton:_0x4fcb3e}=_0x245183,{scene:_0x79cb01}=this[_0x2f9d5e(0x135)];_0x79cb01[_0x2f9d5e(0x297)][_0x2f9d5e(0x2ef)](_0x3ed692[_0x2f9d5e(0x2f5)](_0x4374bc=>{const _0x49efa5=_0x2f9d5e;var _0x8ea970,_0x5b8949;const {offsetX:_0x1e540f,offsetY:_0xfc10f4}=_0x4374bc,{x:_0x57829d,y:_0x1ed95f}=_0x79cb01[_0x49efa5(0x20f)](_0x419507[_0x49efa5(0x1ae)][_0x49efa5(0xe1)]([_0x1e540f,_0xfc10f4])),{scaleX:_0x33b822,scaleY:_0x313ced}=_0x79cb01[_0x49efa5(0x12e)](),_0x2251a4=_0x79cb01[_0x49efa5(0x2f2)](_0x419507[_0x49efa5(0xdb)]['VIEW_MAIN']),_0x1971d8=_0x79cb01[_0x49efa5(0x364)](_0x419507['Vector2'][_0x49efa5(0xe1)]([_0x57829d,_0x1ed95f]),_0x2251a4),_0xc68d77=_0x4fcb3e['getCellPositionByOffset'](_0x1e540f,_0xfc10f4,_0x33b822,_0x313ced,_0x1971d8);((_0x8ea970=this['_lastPointer'])==null?void 0x0:_0x8ea970[_0x49efa5(0x207)])===_0xc68d77['column']&&((_0x5b8949=this[_0x49efa5(0x115)])==null?void 0x0:_0x5b8949[_0x49efa5(0x2b4)])===_0xc68d77[_0x49efa5(0x2b4)]||this['_cursors'][_0x49efa5(0x1da)](_0x191744=>{_0x191744['onMouseMove'](_0xc68d77);});},0x64));});}[_0x29331a(0x100)](_0xbb972c,_0x24970a){const _0x3a8020=_0x29331a;var _0x1eb919;const _0x2c5f0f=(_0x1eb919=this[_0x3a8020(0x206)][_0x3a8020(0x273)]())==null?void 0x0:_0x1eb919[_0x3a8020(0xd7)];if(!_0x2c5f0f)return;const _0x12e27e=this['_getSheetObject']();if(!_0x12e27e)return;this[_0x3a8020(0x2fa)][_0x3a8020(0x1da)](_0x292c63=>{const _0x2c68da=_0x3a8020;_0x292c63[_0x2c68da(0x205)]();});const {scene:_0x3d0587}=_0x12e27e,_0x4cd187=_0x4652a6(Array[_0x3a8020(0x2ae)](_0x24970a[_0x3a8020(0x145)]()))[_0x3a8020(0x2e4)](_0x4628b9=>{const _0xd6e4fe=_0x3a8020,{color:_0xedc58b,range:_0x561903,name:_0x209782,selection:_0x4d27d7,sheetID:_0x2178bc}=_0x4628b9,{startColumn:_0x117f7b,startRow:_0x506723,endColumn:_0x29090c,endRow:_0x3b3f78}=_0x561903,_0x76418=_0x515dd7[_0xd6e4fe(0x294)](_0x506723,_0x117f7b,_0x3d0587,_0x2c5f0f),_0x6cf623=_0x515dd7[_0xd6e4fe(0x294)](_0x3b3f78,_0x29090c,_0x3d0587,_0x2c5f0f),{columnHeaderHeightAndMarginTop:_0x13c26e}=_0x2c5f0f,{startX:_0x1074b7,startY:_0x1ac6c4}=_0x76418,{endX:_0x4e1d76,endY:_0x4019f0}=_0x6cf623,_0x3ab625=_0x4e1d76-_0x1074b7,_0x1904a2=_0x4019f0-_0x1ac6c4,_0x4f7f6f={'labelPosition':_0x1ac6c4-_0x13c26e>=_0x389747?'top':_0xd6e4fe(0x270),'sheetID':_0x2178bc,'range':_0x561903,'color':_0xedc58b,'name':_0x209782,'selection':_0x4d27d7,'left':_0x1074b7,'top':_0x1ac6c4,'width':_0x3ab625,'height':_0x1904a2,'evented':!0x1,'zIndex':_0x2f7177};return new _0xcac5d2(_0x209782,_0x4f7f6f);});_0x3d0587[_0x3a8020(0x311)](_0x4cd187,_0x353074),this[_0x3a8020(0x2fa)]=new Set(_0x4cd187);}[_0x29331a(0x2b6)](){const _0x7ae553=_0x29331a;var _0x337932;(_0x337932=this[_0x7ae553(0x2fa)])==null||_0x337932['forEach'](_0x42705d=>_0x42705d['dispose']());}['_getSheetObject'](){const _0x5ac7f9=_0x29331a;return _0x515dd7['getSheetObject'](this[_0x5ac7f9(0x135)][_0x5ac7f9(0xe7)],this[_0x5ac7f9(0x135)]);}};_0x565d77=_0x14dea2([_0x550eaa(0x1,_0x3ed692[_0x29331a(0x17b)](_0x515dd7[_0x29331a(0x328)])),_0x550eaa(0x2,_0x3ed692[_0x29331a(0x17b)](_0xbf522a)),_0x550eaa(0x3,_0x3ed692[_0x29331a(0x17b)](_0x3ed692[_0x29331a(0x13d)]))],_0x565d77);function _0x4652a6(_0x502e26){const _0x1a27a2=_0x29331a,_0x282256=new Map();return _0x502e26[_0x1a27a2(0x1da)](_0x1bb108=>{const _0x50c62=_0x1a27a2;if(_0x282256[_0x50c62(0x194)](_0x1bb108[_0x50c62(0x19e)])){const _0x11dff2=_0x282256[_0x50c62(0x159)](_0x1bb108['selection']);_0x11dff2[_0x50c62(0x259)]+=',\x20'+_0x1bb108[_0x50c62(0x259)];}else _0x282256['set'](_0x1bb108['selection'],_0x1bb108);}),Array[_0x1a27a2(0x2ae)](_0x282256[_0x1a27a2(0x145)]());}var _0x548a9a=function(){const _0x2da86c=_0x29331a;return _0x548a9a=Object[_0x2da86c(0x2ff)]||function(_0x111b34){const _0x786c84=_0x2da86c;for(var _0x1ca297,_0x5caaff=0x1,_0x3336de=arguments[_0x786c84(0x1dc)];_0x5caaff<_0x3336de;_0x5caaff++){_0x1ca297=arguments[_0x5caaff];for(var _0x2c44c7 in _0x1ca297)Object[_0x786c84(0x314)][_0x786c84(0x155)]['call'](_0x1ca297,_0x2c44c7)&&(_0x111b34[_0x2c44c7]=_0x1ca297[_0x2c44c7]);}return _0x111b34;},_0x548a9a[_0x2da86c(0x249)](this,arguments);},_0x4fbda0=function(_0x29ad65,_0x433c27){const _0x3f6588=_0x29331a;var _0x308c1c={};for(var _0x21a56b in _0x29ad65)Object[_0x3f6588(0x314)]['hasOwnProperty'][_0x3f6588(0x363)](_0x29ad65,_0x21a56b)&&_0x433c27['indexOf'](_0x21a56b)<0x0&&(_0x308c1c[_0x21a56b]=_0x29ad65[_0x21a56b]);if(_0x29ad65!=null&&typeof Object[_0x3f6588(0x25b)]==_0x3f6588(0x133)){for(var _0x472ee9=0x0,_0x21a56b=Object[_0x3f6588(0x25b)](_0x29ad65);_0x472ee9<_0x21a56b[_0x3f6588(0x1dc)];_0x472ee9++)_0x433c27['indexOf'](_0x21a56b[_0x472ee9])<0x0&&Object['prototype'][_0x3f6588(0x19a)][_0x3f6588(0x363)](_0x29ad65,_0x21a56b[_0x472ee9])&&(_0x308c1c[_0x21a56b[_0x472ee9]]=_0x29ad65[_0x21a56b[_0x472ee9]]);}return _0x308c1c;},_0x3a54b3=_0x116135[_0x29331a(0x211)](function(_0x43530d,_0x59d1b9){const _0x43b25c=_0x29331a;var _0x1d09e6=_0x43530d['icon'],_0x1e4033=_0x43530d['id'],_0x430ea2=_0x43530d[_0x43b25c(0x171)],_0x429894=_0x43530d[_0x43b25c(0x1e6)],_0x44550f=_0x4fbda0(_0x43530d,[_0x43b25c(0x2ab),'id',_0x43b25c(0x171),_0x43b25c(0x1e6)]),_0x2293c0=_0x43b25c(0x131)[_0x43b25c(0x2b2)](_0x1e4033,'\x20')[_0x43b25c(0x2b2)](_0x430ea2||'')[_0x43b25c(0x2b1)](),_0xbbd743=_0x116135[_0x43b25c(0x1e2)]('_'[_0x43b25c(0x2b2)](_0x40e9b7()));return _0x53c8e2(_0x1d09e6,''[_0x43b25c(0x2b2)](_0x1e4033),{'defIds':_0x1d09e6['defIds'],'idSuffix':_0xbbd743['current']},_0x548a9a({'ref':_0x59d1b9,'className':_0x2293c0},_0x44550f),_0x429894);});function _0x53c8e2(_0x4220e6,_0x5b0173,_0x54dbe5,_0x4caead,_0x2fef85){const _0x51cbd6=_0x29331a;return _0x116135[_0x51cbd6(0x262)](_0x4220e6['tag'],_0x548a9a(_0x548a9a({'key':_0x5b0173},_0x2b42ca(_0x4220e6,_0x54dbe5,_0x2fef85)),_0x4caead),(_0x457324(_0x4220e6,_0x54dbe5)[_0x51cbd6(0x22f)]||[])[_0x51cbd6(0x2e4)](function(_0x16ff63,_0xc4f3b6){const _0x47183d=_0x51cbd6;return _0x53c8e2(_0x16ff63,''[_0x47183d(0x2b2)](_0x5b0173,'-')[_0x47183d(0x2b2)](_0x4220e6['tag'],'-')[_0x47183d(0x2b2)](_0xc4f3b6),_0x54dbe5,void 0x0,_0x2fef85);}));}function _0x2b42ca(_0x470b58,_0x4849f2,_0x4d90f3){const _0x236535=_0x29331a;var _0xc8e3e0=_0x548a9a({},_0x470b58[_0x236535(0x19f)]);_0x4d90f3!=null&&_0x4d90f3['colorChannel1']&&_0xc8e3e0['fill']===_0x236535(0xe4)&&(_0xc8e3e0[_0x236535(0x1c6)]=_0x4d90f3[_0x236535(0xe4)]),_0x470b58['tag']===_0x236535(0x11b)&&_0xc8e3e0['id']&&(_0xc8e3e0['id']=_0xc8e3e0['id']+_0x4849f2[_0x236535(0x2e6)]),Object[_0x236535(0x27a)](_0xc8e3e0)[_0x236535(0x1da)](function(_0xc9149a){const _0xc8b1e1=_0x236535;var _0x386aea=_0xc9149a[0x0],_0x159a38=_0xc9149a[0x1];_0x386aea===_0xc8b1e1(0x11b)&&typeof _0x159a38==_0xc8b1e1(0x13b)&&(_0xc8e3e0[_0x386aea]=_0x159a38[_0xc8b1e1(0xf2)](/url\(#(.*)\)/,_0xc8b1e1(0x29e)[_0xc8b1e1(0x2b2)](_0x4849f2['idSuffix'],')')));});var _0x2468c2=_0x4849f2[_0x236535(0x1e8)];return!_0x2468c2||_0x2468c2[_0x236535(0x1dc)]===0x0||(_0x470b58['tag']===_0x236535(0x1d1)&&_0xc8e3e0[_0x236535(0x228)]&&(_0xc8e3e0[_0x236535(0x228)]=_0xc8e3e0['xlink:href']+_0x4849f2[_0x236535(0x2e6)]),Object[_0x236535(0x27a)](_0xc8e3e0)[_0x236535(0x1da)](function(_0x3afa30){const _0xe2d5c6=_0x236535;var _0x4ccc1d=_0x3afa30[0x0],_0xacbe02=_0x3afa30[0x1];typeof _0xacbe02==_0xe2d5c6(0x13b)&&(_0xc8e3e0[_0x4ccc1d]=_0xacbe02['replace'](/url\(#(.*)\)/,_0xe2d5c6(0x29e)[_0xe2d5c6(0x2b2)](_0x4849f2[_0xe2d5c6(0x2e6)],')')));})),_0xc8e3e0;}function _0x457324(_0x308308,_0x25e641){const _0x2a0463=_0x29331a;var _0x4a117c,_0x2dac17=_0x25e641[_0x2a0463(0x1e8)];return!_0x2dac17||_0x2dac17[_0x2a0463(0x1dc)]===0x0?_0x308308:_0x308308['tag']==='defs'&&(!((_0x4a117c=_0x308308[_0x2a0463(0x22f)])===null||_0x4a117c===void 0x0)&&_0x4a117c[_0x2a0463(0x1dc)])?_0x548a9a(_0x548a9a({},_0x308308),{'children':_0x308308[_0x2a0463(0x22f)][_0x2a0463(0x2e4)](function(_0x33f231){const _0x4ca739=_0x2a0463;return typeof _0x33f231[_0x4ca739(0x19f)]['id']==_0x4ca739(0x13b)&&_0x2dac17&&_0x2dac17['includes'](_0x33f231['attrs']['id'])?_0x548a9a(_0x548a9a({},_0x33f231),{'attrs':_0x548a9a(_0x548a9a({},_0x33f231['attrs']),{'id':_0x33f231[_0x4ca739(0x19f)]['id']+_0x25e641[_0x4ca739(0x2e6)]})}):_0x33f231;})}):_0x308308;}function _0x40e9b7(){const _0x108cf4=_0x29331a;return Math[_0x108cf4(0x2ac)]()[_0x108cf4(0x243)](0x24)[_0x108cf4(0x291)](0x2,0x8);}_0x3a54b3[_0x29331a(0x315)]=_0x29331a(0x1de);var _0x55f949={'tag':'svg','attrs':{'xmlns':_0x29331a(0x14f),'fill':_0x29331a(0xfd),'viewBox':'0\x200\x2016\x2016','width':'1em','height':_0x29331a(0x275)},'children':[{'tag':'g','attrs':{'clipPath':_0x29331a(0x317)},'children':[{'tag':_0x29331a(0x197),'attrs':{'stroke':_0x29331a(0x1d9),'d':'M3.61971\x2011.6499C2.40304\x2011.6499\x200.699707\x2011.1024\x200.699707\x208.9124C0.699707\x206.3574\x203.25471\x205.8099\x203.98471\x205.8099C4.34971\x204.5324\x205.07971\x202.5249\x207.99971\x202.5249C10.5547\x202.5249\x2011.6497\x203.9849\x2012.0147\x205.2624C12.0147\x205.2624\x2015.2997\x205.6274\x2015.2997\x208.7299C15.2997\x2010.9199\x2013.8397\x2011.6499\x2012.3797\x2011.6499M9.82471\x209.82466L6.17471\x2013.4747M6.17471\x209.82466L9.82471\x2013.4747','strokeLinecap':_0x29331a(0x278),'strokeLinejoin':'round','strokeWidth':1.2}}]},{'tag':_0x29331a(0x212),'attrs':{},'children':[{'tag':'clipPath','attrs':{'id':'off-line-icon_clip0_910_343'},'children':[{'tag':_0x29331a(0x197),'attrs':{'fill':_0x29331a(0x1eb),'d':'M0\x200H16V16H0z'}}]}]}],'defIds':['off-line-icon_clip0_910_343']},_0x41eaaa=_0x116135[_0x29331a(0x211)](function(_0x1ec937,_0x219543){const _0x54c88f=_0x29331a;return _0x116135['createElement'](_0x3a54b3,Object[_0x54c88f(0x2ff)]({},_0x1ec937,{'id':_0x54c88f(0x167),'ref':_0x219543,'icon':_0x55f949}));});_0x41eaaa['displayName']=_0x29331a(0x298);var _0x2c89fe={'tag':_0x29331a(0x102),'attrs':{'xmlns':_0x29331a(0x14f),'fill':_0x29331a(0xfd),'viewBox':_0x29331a(0x1c3),'width':_0x29331a(0x275),'height':_0x29331a(0x275)},'children':[{'tag':'g','attrs':{'clipPath':_0x29331a(0x241)},'children':[{'tag':'path','attrs':{'stroke':_0x29331a(0x1d9),'d':_0x29331a(0x108),'strokeLinecap':_0x29331a(0x278),'strokeLinejoin':_0x29331a(0x278),'strokeWidth':1.2}}]},{'tag':_0x29331a(0x212),'attrs':{},'children':[{'tag':_0x29331a(0x316),'attrs':{'id':_0x29331a(0x2cf)},'children':[{'tag':_0x29331a(0x197),'attrs':{'fill':_0x29331a(0x1eb),'d':_0x29331a(0x110),'transform':_0x29331a(0x307)}}]}]}],'defIds':['on-line-icon_clip0_910_349']},_0x5d74d3=_0x116135[_0x29331a(0x211)](function(_0x3d2ba6,_0x15cd8c){const _0x14a2cb=_0x29331a;return _0x116135[_0x14a2cb(0x262)](_0x3a54b3,Object[_0x14a2cb(0x2ff)]({},_0x3d2ba6,{'id':_0x14a2cb(0x142),'ref':_0x15cd8c,'icon':_0x2c89fe}));});_0x5d74d3[_0x29331a(0x315)]=_0x29331a(0x1be);function _0x42d3d9(_0x429c0f){const _0x2adc60=_0x29331a;switch(_0x429c0f){case _0x598cf7[_0x2adc60(0x126)][_0x2adc60(0x16e)]:return _0x2adc60(0x180);case _0x598cf7[_0x2adc60(0x126)][_0x2adc60(0x33b)]:return _0x2adc60(0x2d4);case _0x598cf7[_0x2adc60(0x126)][_0x2adc60(0x103)]:return'collabStatus.fetchMiss';case _0x598cf7[_0x2adc60(0x126)][_0x2adc60(0x11f)]:return _0x2adc60(0xf3);case _0x598cf7[_0x2adc60(0x126)]['AWAITING']:case _0x598cf7[_0x2adc60(0x126)][_0x2adc60(0x14e)]:return _0x2adc60(0x248);case _0x598cf7[_0x2adc60(0x126)][_0x2adc60(0x198)]:case _0x598cf7[_0x2adc60(0x126)][_0x2adc60(0x32d)]:return _0x2adc60(0x179);}}function _0x1fa59a(_0xd57f0c){const _0xdacf8a=_0x29331a,{status$:_0x1a84e3}=_0xd57f0c,_0x4a63d9=_0x24fd59[_0xdacf8a(0x139)](_0x1a84e3,_0x598cf7[_0xdacf8a(0x126)]['NOT_COLLAB']),_0x464615=_0x24fd59[_0xdacf8a(0x274)](_0x3ed692[_0xdacf8a(0x12a)]),_0x4b64a3=_0x24fd59[_0xdacf8a(0x274)](_0x598cf7['CollaborationSessionService']),_0x23a0c5=_0x4a63d9!==_0x598cf7[_0xdacf8a(0x126)]['OFFLINE'],_0xde7b3a=_0x464615['t'](_0x42d3d9(_0x4a63d9)),_0x1c9adf=_0x23a0c5?_0xd65c4f['jsx'](_0x5d74d3,{}):_0xd65c4f[_0xdacf8a(0x219)](_0x41eaaa,{}),_0xfed406=_0x116135[_0xdacf8a(0x26e)](()=>{const _0x3a9487=_0xdacf8a;_0x23a0c5||_0x4b64a3[_0x3a9487(0x32b)]();},[_0x23a0c5,_0x4b64a3]);function _0x52b652(){const _0x236630=_0xdacf8a;return _0xd65c4f[_0x236630(0xdd)]('div',{'className':_0x236630(0x208),'onClick':_0xfed406,'children':[_0xd65c4f[_0x236630(0x219)]('div',{'className':_0x42626e[_0x236630(0x223)](_0x236630(0x165),{'univer-text-green-500':_0x23a0c5,'univer-text-red-500':!_0x23a0c5}),'children':_0x1c9adf}),_0xd65c4f[_0x236630(0x219)](_0x236630(0x2ca),{'className':_0x236630(0x35b),'children':_0xde7b3a})]});}return _0x23a0c5?_0x52b652():_0xd65c4f[_0xdacf8a(0x219)](_0x42626e['Tooltip'],{'title':_0x464615['t']('collab-client.tooltip.reconnect'),'children':_0x52b652()});}var _0x11c4c5=Object[_0x29331a(0x1bc)],_0x206574=(_0x15890c,_0x118a21,_0x189f1f,_0x5e24ec)=>{const _0x11b29b=_0x29331a;for(var _0x4b6bef=_0x5e24ec>0x1?void 0x0:_0x5e24ec?_0x11c4c5(_0x118a21,_0x189f1f):_0x118a21,_0x4f8b60=_0x15890c[_0x11b29b(0x1dc)]-0x1,_0x55e9a4;_0x4f8b60>=0x0;_0x4f8b60--)(_0x55e9a4=_0x15890c[_0x4f8b60])&&(_0x4b6bef=_0x55e9a4(_0x4b6bef)||_0x4b6bef);return _0x4b6bef;},_0x1948c3=(_0x5bd50b,_0x2991ca)=>(_0x5ad7d5,_0x21fc29)=>_0x2991ca(_0x5ad7d5,_0x21fc29,_0x5bd50b);_0x859d06[_0x29331a(0xef)]=class extends _0x3ed692[_0x29331a(0x35f)]{constructor(_0x543f41,_0x1b4271,_0xb1d530,_0x1e2afa){const _0x34f1d8=_0x29331a;super(),_0x1a32bd(this,_0x34f1d8(0x1b5),new _0x5e60be[(_0x34f1d8(0x24d))](_0x598cf7[_0x34f1d8(0x126)][_0x34f1d8(0x11f)])),(this[_0x34f1d8(0x27d)]=_0x543f41,this[_0x34f1d8(0x23e)]=_0x1b4271,this[_0x34f1d8(0x353)]=_0xb1d530,this['_uiPartsService']=_0x1e2afa,this[_0x34f1d8(0x31c)](),this[_0x34f1d8(0x246)]());}[_0x29331a(0x246)](){const _0x94191a=_0x29331a;this[_0x94191a(0x234)](this[_0x94191a(0x27d)]['focused$'][_0x94191a(0x127)](_0x5e60be[_0x94191a(0x233)](()=>{const _0x34fda4=_0x94191a,_0xe74a2e=this['_univerInstanceService'][_0x34fda4(0xd1)]();return _0xe74a2e?this['_collaborationController'][_0x34fda4(0x347)](_0xe74a2e[_0x34fda4(0x28c)]()):_0x5e60be['of'](null);}),_0x5e60be[_0x94191a(0x233)](_0x224f8f=>_0x224f8f?_0x224f8f['status$']:_0x5e60be['of'](_0x598cf7[_0x94191a(0x126)]['NOT_COLLAB'])))[_0x94191a(0x1c4)](_0x574360=>{const _0xda59d1=_0x94191a;this[_0xda59d1(0x1b5)][_0xda59d1(0x1f4)](_0x574360);}));}[_0x29331a(0x31c)](){const _0x3faec0=_0x29331a;this[_0x3faec0(0x234)](this[_0x3faec0(0x2eb)]['registerComponent'](_0x24fd59[_0x3faec0(0x343)][_0x3faec0(0x308)],()=>_0x24fd59[_0x3faec0(0x356)](_0x1423c6({'status$':this[_0x3faec0(0x1b5)]['asObservable']()}),this[_0x3faec0(0x23e)])));}},_0x859d06[_0x29331a(0xef)]=_0x206574([_0x1948c3(0x0,_0x3ed692[_0x29331a(0x1d8)]),_0x1948c3(0x1,_0x3ed692['Inject'](_0x3ed692[_0x29331a(0xf7)])),_0x1948c3(0x2,_0x3ed692['Inject'](_0x598cf7[_0x29331a(0x105)])),_0x1948c3(0x3,_0x24fd59[_0x29331a(0x23f)])],_0x859d06[_0x29331a(0xef)]);function _0x1423c6(_0x686965){const {status$:_0x48e659}=_0x686965;return function(){const _0xb21885=_0xe20a;return _0xd65c4f[_0xb21885(0x219)](_0x1fa59a,{'status$':_0x48e659});};}var _0x476629=Object[_0x29331a(0x1bc)],_0x1302be=(_0xb596e0,_0x119b1a,_0x391ab7,_0x1e166a)=>{const _0x2d05ae=_0x29331a;for(var _0x437a9c=_0x1e166a>0x1?void 0x0:_0x1e166a?_0x476629(_0x119b1a,_0x391ab7):_0x119b1a,_0x1d7d2b=_0xb596e0[_0x2d05ae(0x1dc)]-0x1,_0x517923;_0x1d7d2b>=0x0;_0x1d7d2b--)(_0x517923=_0xb596e0[_0x1d7d2b])&&(_0x437a9c=_0x517923(_0x437a9c)||_0x437a9c);return _0x437a9c;},_0x955e56=(_0x1fa7dc,_0x120d8b)=>(_0x5171f3,_0x27f14e)=>_0x120d8b(_0x5171f3,_0x27f14e,_0x1fa7dc);let _0xb5ce92=class extends _0x3ed692['Disposable']{constructor(_0x47c856,_0x29640f,_0x5e156d,_0x4f2d31,_0x44aaee,_0x4327da){const _0x1332e4=_0x29331a;super(),this[_0x1332e4(0x240)]=_0x47c856,this[_0x1332e4(0x30d)]=_0x29640f,this[_0x1332e4(0x35a)]=_0x5e156d,this[_0x1332e4(0x296)]=_0x4f2d31,this[_0x1332e4(0x34f)]=_0x44aaee,this[_0x1332e4(0x1e5)]=_0x4327da,this[_0x1332e4(0x109)](),this[_0x1332e4(0x2c9)]();}['_setupBeforeClosingHandler'](){const _0x5d55b8=_0x29331a;this[_0x5d55b8(0x234)](this[_0x5d55b8(0x240)][_0x5d55b8(0x138)](()=>{const _0x656328=_0x5d55b8;if(this[_0x656328(0x30d)][_0x656328(0x282)][_0x656328(0x1ca)])return this[_0x656328(0x1e5)]['t'](_0x656328(0x35c));}));}['_initEvent'](){const _0x55026d=_0x29331a;this[_0x55026d(0x234)](this[_0x55026d(0x35a)][_0x55026d(0x2bb)][_0x55026d(0x1c4)](_0x39515e=>{const _0x38b461=_0x55026d;_0x39515e['id']===_0x598cf7[_0x38b461(0xf5)]['OTHER_CLIENT_EDITING']&&this[_0x38b461(0x296)]['show']({'type':_0x42626e['MessageType']['Warning'],'content':this['_localeService']['t'](_0x38b461(0x196))}),_0x39515e['id']===_0x598cf7['CollaborationUIEventId']['CLOSE_ROOM']&&this['_messageService'][_0x38b461(0x1bd)]({'type':_0x42626e[_0x38b461(0x21c)]['Warning'],'content':this[_0x38b461(0x1e5)]['t'](_0x38b461(0xf4))}),_0x39515e['id']===_0x598cf7[_0x38b461(0xf5)][_0x38b461(0x1fe)]&&this[_0x38b461(0x34f)]['show']({'title':this[_0x38b461(0x1e5)]['t']('permission.title'),'content':this['_localeService']['t']('permission.content'),'type':_0x38b461(0x2ce),'duration':0x0}),_0x39515e['id']===_0x598cf7[_0x38b461(0xf5)][_0x38b461(0x33b)]&&this[_0x38b461(0x296)][_0x38b461(0x1bd)]({'type':_0x42626e[_0x38b461(0x21c)][_0x38b461(0x276)],'content':this[_0x38b461(0x1e5)]['t']('collaboration.closeRoom')+'('+_0x39515e['data']+')'}),_0x39515e['id']===_0x598cf7[_0x38b461(0xf5)][_0x38b461(0x1b2)]&&this[_0x38b461(0x296)][_0x38b461(0x1bd)]({'type':_0x42626e['MessageType'][_0x38b461(0x231)],'content':this[_0x38b461(0x1e5)]['t'](_0x39515e[_0x38b461(0x1b3)]||'')}),_0x39515e['id']===_0x598cf7[_0x38b461(0xf5)]['SOCKET_FAILED_RETRY']&&this[_0x38b461(0x296)][_0x38b461(0x1bd)]({'type':_0x42626e[_0x38b461(0x21c)][_0x38b461(0x231)],'content':this[_0x38b461(0x1e5)]['t'](_0x38b461(0x116))}),_0x39515e['id']===_0x598cf7[_0x38b461(0xf5)][_0x38b461(0x210)]&&this[_0x38b461(0x296)][_0x38b461(0x1bd)]({'type':_0x42626e[_0x38b461(0x21c)]['Error'],'content':this[_0x38b461(0x1e5)]['t'](_0x38b461(0x2b7))}),_0x39515e['id']===_0x598cf7['CollaborationUIEventId'][_0x38b461(0x280)]&&this[_0x38b461(0x296)][_0x38b461(0x1bd)]({'type':_0x42626e[_0x38b461(0x21c)][_0x38b461(0x276)],'content':this['_localeService']['t'](_0x38b461(0x157))});}));}};_0xb5ce92=_0x1302be([_0x955e56(0x0,_0x24fd59['IBeforeCloseService']),_0x955e56(0x1,_0x598cf7[_0x29331a(0x13a)]),_0x955e56(0x2,_0x3ed692[_0x29331a(0x17b)](_0x598cf7['CollaborationUIEventService'])),_0x955e56(0x3,_0x24fd59['IMessageService']),_0x955e56(0x4,_0x24fd59['INotificationService']),_0x955e56(0x5,_0x3ed692['Inject'](_0x3ed692['LocaleService']))],_0xb5ce92);const _0x17f436=_0x29331a(0x1c8),_0x417975={},_0x56c537=_0x3ed692[_0x29331a(0xfb)](_0x29331a(0x258));var _0x1bb0da=Object[_0x29331a(0x1bc)],_0x5a313f=(_0x12aaa5,_0x43ab0b,_0x19688d,_0x42bcea)=>{const _0x1b0add=_0x29331a;for(var _0x14caf0=_0x42bcea>0x1?void 0x0:_0x42bcea?_0x1bb0da(_0x43ab0b,_0x19688d):_0x43ab0b,_0xc6a676=_0x12aaa5[_0x1b0add(0x1dc)]-0x1,_0x29f708;_0xc6a676>=0x0;_0xc6a676--)(_0x29f708=_0x12aaa5[_0xc6a676])&&(_0x14caf0=_0x29f708(_0x14caf0)||_0x14caf0);return _0x14caf0;},_0x1402d6=(_0x32e534,_0x269c1b)=>(_0x1e57b1,_0x490f20)=>_0x269c1b(_0x1e57b1,_0x490f20,_0x32e534);_0x859d06['CollaborationDataLoaderController']=class extends _0x3ed692['RxDisposable']{constructor(_0x4a4e9f,_0x237deb,_0x4f4a11,_0x58b293,_0x5011ed){const _0x6866fd=_0x29331a;super(),this[_0x6866fd(0x128)]=_0x4a4e9f,this[_0x6866fd(0x24e)]=_0x237deb,this[_0x6866fd(0x23a)]=_0x4f4a11,this[_0x6866fd(0x290)]=_0x58b293,_0x5011ed?_0x5011ed==null||_0x5011ed['whenReady']()['then'](()=>this[_0x6866fd(0x283)]()):(this[_0x6866fd(0x24e)][_0x6866fd(0x320)]('[CollaborationDataLoaderController]','No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.'),this['_init']());}async[_0x29331a(0x283)](){const _0x56e615=_0x29331a,_0x4a8578=this[_0x56e615(0x128)]['getParam']('unit'),_0x417556=this[_0x56e615(0x128)]['getParam'](_0x56e615(0x321)),_0xac6fc5=this[_0x56e615(0x128)][_0x56e615(0x1a6)](_0x56e615(0x254));if(!_0x4a8578||!_0x417556){this[_0x56e615(0x24e)][_0x56e615(0x320)](_0x56e615(0x21d),'No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.');return;}const _0x5872a0=await this[_0x56e615(0x290)][_0x56e615(0x1ef)](_0x4a8578,Number(_0x417556),_0xac6fc5);_0x5872a0&&_0x5872a0 instanceof _0x3ed692['Workbook']&&this[_0x56e615(0x1b1)](_0x5872a0);}async['_setupSubUnitSync'](_0x443cb4){const _0x1ca221=_0x29331a;await this['_updateSubUnitFromURLParams'](_0x443cb4),_0x443cb4[_0x1ca221(0x24f)]['pipe'](_0x5e60be[_0x1ca221(0xf0)](this[_0x1ca221(0x289)]))[_0x1ca221(0x1c4)](_0x55a3b2=>{_0x55a3b2&&this['_updateURLWithCurrentState'](_0x55a3b2);}),this[_0x1ca221(0x128)][_0x1ca221(0x14b)][_0x1ca221(0x127)](_0x5e60be[_0x1ca221(0xf0)](this[_0x1ca221(0x289)]))[_0x1ca221(0x1c4)](()=>this[_0x1ca221(0x119)](_0x443cb4));}[_0x29331a(0x28b)](_0x501ae6,_0x423529=!0x1){const _0x5f0480=_0x29331a,_0x245052=this[_0x5f0480(0x128)][_0x5f0480(0x1a6)](_0x5f0480(0x254));_0x501ae6[_0x5f0480(0x1cd)]()!==_0x245052&&this[_0x5f0480(0x128)][_0x5f0480(0x2c8)](_0x5f0480(0x254),_0x501ae6[_0x5f0480(0x1cd)](),_0x423529);}async[_0x29331a(0x119)](_0x542179){const _0x56e2ba=_0x29331a;var _0xcbf6e1;const _0x12722a=this[_0x56e2ba(0x128)][_0x56e2ba(0x1a6)](_0x56e2ba(0x254));if(!_0x12722a||!_0x542179[_0x56e2ba(0x2cb)](_0x12722a)){const _0x50e53d=_0x542179[_0x56e2ba(0x1a8)]()[0x0],_0x152b00=_0x542179['getSheetBySheetId'](_0x50e53d);if(!_0x152b00)return;this['_updateURLWithCurrentState'](_0x152b00,!0x0),await this[_0x56e2ba(0x23a)][_0x56e2ba(0x13c)](_0x43bed5[_0x56e2ba(0xec)]['id'],{'unitId':_0x542179['getUnitId'](),'subUnitId':_0x50e53d});return;}((_0xcbf6e1=_0x542179[_0x56e2ba(0x2d1)]())==null?void 0x0:_0xcbf6e1[_0x56e2ba(0x1cd)]())!==_0x12722a&&await this[_0x56e2ba(0x23a)][_0x56e2ba(0x13c)](_0x43bed5[_0x56e2ba(0xec)]['id'],{'unitId':_0x542179[_0x56e2ba(0x28c)](),'subUnitId':_0x12722a});}},_0x859d06[_0x29331a(0x152)]=_0x5a313f([_0x1402d6(0x0,_0x56c537),_0x1402d6(0x1,_0x3ed692['ILogService']),_0x1402d6(0x2,_0x3ed692[_0x29331a(0x21b)]),_0x1402d6(0x3,_0x3ed692[_0x29331a(0x17b)](_0x598cf7[_0x29331a(0xdc)])),_0x1402d6(0x4,_0x3ed692['Optional'](_0x416a51['IRemoteInstanceService']))],_0x859d06[_0x29331a(0x152)]);var _0x18315b=Object[_0x29331a(0x1bc)],_0x141eb9=(_0x251673,_0x467ee1,_0x2e3652,_0x2a8982)=>{const _0x54e3ea=_0x29331a;for(var _0x5df494=_0x2a8982>0x1?void 0x0:_0x2a8982?_0x18315b(_0x467ee1,_0x2e3652):_0x467ee1,_0x71b3e0=_0x251673[_0x54e3ea(0x1dc)]-0x1,_0x47186f;_0x71b3e0>=0x0;_0x71b3e0--)(_0x47186f=_0x251673[_0x71b3e0])&&(_0x5df494=_0x47186f(_0x5df494)||_0x5df494);return _0x5df494;},_0x19e3ad=(_0x5b2a26,_0x527db0)=>(_0x3a853b,_0x2d8062)=>_0x527db0(_0x3a853b,_0x2d8062,_0x5b2a26);let _0x482d07=class{constructor(_0x450b93,_0x2d8d20,_0x10859d){const _0x1169c2=_0x29331a;this[_0x1169c2(0x23e)]=_0x450b93,this['_transformService']=_0x2d8d20,this[_0x1169c2(0x261)]=_0x10859d;}[_0x29331a(0x15d)](_0x41fde1){const _0x84989f=_0x29331a;this['_transformUndoRedoStack'](_0x41fde1),this[_0x84989f(0x2db)](_0x41fde1);}[_0x29331a(0x332)](_0x5a7983){const _0x46bce3=_0x29331a,{unitID:_0x45da2c}=_0x5a7983,_0x336eab=this[_0x46bce3(0x261)][_0x46bce3(0x156)](_0x45da2c)[_0x46bce3(0x18e)](_0xe79878[_0x46bce3(0x263)]),{redoCache:_0x180c50}=_0x336eab[_0x46bce3(0x20c)]();if(_0x180c50['length']===0x0)return _0x5a7983;let _0x4836e3=_0x3ed692['Tools'][_0x46bce3(0x10d)](_0x5a7983[_0x46bce3(0x147)][0x0]);for(let _0x31f50a=0x0;_0x31f50a<_0x180c50[_0x46bce3(0x1dc)];_0x31f50a++){const _0xe50966={'id':_0x46bce3(0x22c),'params':{..._0x180c50[_0x31f50a]}},_0x519310=this[_0x46bce3(0x2d9)]['transformMutation'](_0x4836e3,_0xe50966,!0x1);if(_0x5ba996['isTransformMutationFailure'](_0x519310))throw _0x519310['error'];_0x4836e3=_0x519310[_0x46bce3(0x12f)];}return{..._0x3ed692[_0x46bce3(0x357)][_0x46bce3(0x10d)](_0x5a7983),'mutations':[_0x4836e3]};}[_0x29331a(0x2de)](_0x5ef183){const _0x2c36bb=_0x29331a,{unitID:_0xef3d6e}=_0x5ef183,_0x5bef62=this[_0x2c36bb(0x261)][_0x2c36bb(0x156)](_0xef3d6e)['with'](_0xe79878[_0x2c36bb(0x263)]),{undoCache:_0xd7e46b,redoCache:_0x12a7c8}=_0x5bef62['getUndoRedoMutationParamsCache']();if(_0xd7e46b[_0x2c36bb(0x1dc)]===0x0||_0x12a7c8[_0x2c36bb(0x1dc)]===0x0)return;const _0x125036=[],_0x461ba0=[];let _0x25c140=_0x3ed692['Tools'][_0x2c36bb(0x10d)](_0x5ef183[_0x2c36bb(0x147)][0x0]),_0x265169=_0x3ed692['Tools'][_0x2c36bb(0x10d)](_0x5ef183['mutations'][0x0]);for(let _0x1e4025=_0xd7e46b[_0x2c36bb(0x1dc)]-0x1;_0x1e4025>=0x0;_0x1e4025--){const _0x333249={'id':_0x2c36bb(0x22c),'params':{..._0xd7e46b[_0x1e4025]}},_0x3d6964={'id':_0x2c36bb(0x22c),'params':{..._0x12a7c8[_0x1e4025]}},_0x3296ff=this['_transformService'][_0x2c36bb(0x2f9)](_0x25c140,_0x333249,!0x1),_0x2bd431=this[_0x2c36bb(0x2d9)][_0x2c36bb(0x2f9)](_0x265169,_0x3d6964,!0x1);if(_0x5ba996[_0x2c36bb(0x204)](_0x3296ff))throw _0x3296ff['error'];if(_0x5ba996[_0x2c36bb(0x204)](_0x2bd431))throw _0x2bd431[_0x2c36bb(0x2ce)];_0x125036[_0x2c36bb(0x2e3)](_0x3296ff[_0x2c36bb(0x1ea)][_0x2c36bb(0x239)]),_0x461ba0[_0x2c36bb(0x2e3)](_0x2bd431[_0x2c36bb(0x1ea)][_0x2c36bb(0x239)]),_0x25c140=_0x3296ff[_0x2c36bb(0x12f)],_0x265169=_0x2bd431[_0x2c36bb(0x12f)];}_0x5bef62[_0x2c36bb(0x2c0)]({'undoCache':_0x125036,'redoCache':_0x461ba0});}[_0x29331a(0x2db)](_0x5b2602){const _0x4c3d67=_0x29331a,{unitID:_0x31a27e}=_0x5b2602,_0x3a0248=this[_0x4c3d67(0x261)][_0x4c3d67(0x156)](_0x31a27e)[_0x4c3d67(0x18e)](_0xe79878[_0x4c3d67(0x263)]),_0x36c927=_0x3a0248[_0x4c3d67(0x279)]();if(_0x36c927==null)return;const _0x4b2f9b=[{'id':_0x4c3d67(0x22c),'params':{'unitId':_0x5b2602[_0x4c3d67(0x144)],'actions':null,'textRanges':[_0x36c927]}}],_0x371f7a=this[_0x4c3d67(0x2d9)][_0x4c3d67(0x120)](_0x5b2602,_0x4b2f9b);if(!_0x5ba996['isTransformMutationsWithChangesetSuccess'](_0x371f7a))throw _0x371f7a[_0x4c3d67(0x2ce)];const _0xed5858=_0x371f7a[_0x4c3d67(0x1ea)][0x0][_0x4c3d67(0x239)][_0x4c3d67(0x28e)];Array['isArray'](_0xed5858)&&_0xed5858[_0x4c3d67(0x1dc)]&&_0x3a0248[_0x4c3d67(0x31e)](_0xed5858[0x0]);}};_0x482d07=_0x141eb9([_0x19e3ad(0x0,_0x3ed692['Inject'](_0x3ed692[_0x29331a(0xf7)])),_0x19e3ad(0x1,_0x5ba996[_0x29331a(0x299)]),_0x19e3ad(0x2,_0x419507[_0x29331a(0x1d4)])],_0x482d07);var _0xfef1d8=Object[_0x29331a(0x1bc)],_0x5141f9=(_0x188936,_0x4a49a9,_0x220dd9,_0x4b25f9)=>{const _0x4549f6=_0x29331a;for(var _0x3cff2d=_0x4b25f9>0x1?void 0x0:_0x4b25f9?_0xfef1d8(_0x4a49a9,_0x220dd9):_0x4a49a9,_0x56e32c=_0x188936[_0x4549f6(0x1dc)]-0x1,_0xe4ce3f;_0x56e32c>=0x0;_0x56e32c--)(_0xe4ce3f=_0x188936[_0x56e32c])&&(_0x3cff2d=_0xe4ce3f(_0x3cff2d)||_0x3cff2d);return _0x3cff2d;},_0x1a6645=(_0x1b8867,_0x297ca5)=>(_0x38cab9,_0x42d229)=>_0x297ca5(_0x38cab9,_0x42d229,_0x1b8867);let _0x26c1ca=class{constructor(_0x423ee1,_0x2dd053,_0x18fa83){const _0xb95e0c=_0x29331a;this[_0xb95e0c(0x23e)]=_0x423ee1,this['_transformService']=_0x2dd053,this[_0xb95e0c(0x256)]=_0x18fa83;}[_0x29331a(0x22a)](_0x19618f){const _0x1916cd=_0x29331a;this[_0x1916cd(0x16d)](_0x19618f);}[_0x29331a(0x332)](_0x2d0e30){const _0x52f92d=_0x29331a,{unitID:_0x22cc2c}=_0x2d0e30,{collaboration:_0x1c631e}=this[_0x52f92d(0x256)][_0x52f92d(0xd3)](_0x22cc2c);if(_0x1c631e[_0x52f92d(0x1dc)]===0x0)return _0x2d0e30;let _0x246c82=_0x3ed692[_0x52f92d(0x357)][_0x52f92d(0x10d)](_0x2d0e30[_0x52f92d(0x147)][0x0]);for(let _0x592765=0x0;_0x592765<_0x1c631e['length'];_0x592765++){const _0x15f5bf={'id':_0x52f92d(0x22c),'params':{'unitId':_0x1c631e[_0x592765][_0x52f92d(0x2a8)],..._0x1c631e[_0x592765][_0x52f92d(0x2d8)]}},_0xb1f5a2=this[_0x52f92d(0x2d9)][_0x52f92d(0x2f9)](_0x246c82,_0x15f5bf,!0x1);if(_0x5ba996[_0x52f92d(0x204)](_0xb1f5a2))throw _0xb1f5a2[_0x52f92d(0x2ce)];_0x246c82=_0xb1f5a2['m1Prime'];}return{..._0x3ed692[_0x52f92d(0x357)][_0x52f92d(0x10d)](_0x2d0e30),'mutations':[_0x246c82]};}[_0x29331a(0x16d)](_0x960c77){const _0x1299ff=_0x29331a,{unitID:_0x5c5620}=_0x960c77,{history:_0x202f8a,collaboration:_0x4395ad}=this[_0x1299ff(0x256)][_0x1299ff(0xd3)](_0x5c5620);if(_0x202f8a[_0x1299ff(0x1dc)]===0x0&&_0x4395ad[_0x1299ff(0x1dc)]===0x0)return;const _0x18b452=[],_0x57177b=[];let _0xdb04a1=_0x3ed692[_0x1299ff(0x357)][_0x1299ff(0x10d)](_0x960c77[_0x1299ff(0x147)][0x0]),_0x3b1d06=_0x3ed692['Tools'][_0x1299ff(0x10d)](_0x960c77[_0x1299ff(0x147)][0x0]);for(let _0x13523f=_0x202f8a[_0x1299ff(0x1dc)]-0x1;_0x13523f>=0x0;_0x13523f--){const _0x2d4d41={'id':_0x1299ff(0x22c),'params':{'unitId':_0x202f8a[_0x13523f][_0x1299ff(0x2a8)],..._0x202f8a[_0x13523f][_0x1299ff(0x143)]}},_0x2364cc={'id':_0x1299ff(0x22c),'params':{'unitId':_0x202f8a[_0x13523f]['unitId'],..._0x202f8a[_0x13523f]['redoState']}},_0x1c58c8=this[_0x1299ff(0x2d9)][_0x1299ff(0x2f9)](_0xdb04a1,_0x2d4d41,!0x1),_0x1a2215=this[_0x1299ff(0x2d9)][_0x1299ff(0x2f9)](_0x3b1d06,_0x2364cc,!0x1);if(_0x5ba996[_0x1299ff(0x204)](_0x1c58c8))throw _0x1c58c8[_0x1299ff(0x2ce)];if(_0x5ba996[_0x1299ff(0x204)](_0x1a2215))throw _0x1a2215[_0x1299ff(0x2ce)];_0x18b452[_0x1299ff(0x2e3)]({..._0x202f8a[_0x13523f],'undoState':_0x1c58c8[_0x1299ff(0x1ea)][_0x1299ff(0x239)],'redoState':_0x1a2215[_0x1299ff(0x1ea)][_0x1299ff(0x239)]}),_0xdb04a1=_0x1c58c8[_0x1299ff(0x12f)],_0x3b1d06=_0x1a2215[_0x1299ff(0x12f)];}_0xdb04a1=_0x3ed692[_0x1299ff(0x357)][_0x1299ff(0x10d)](_0x960c77[_0x1299ff(0x147)][0x0]),_0x3b1d06=_0x3ed692['Tools'][_0x1299ff(0x10d)](_0x960c77[_0x1299ff(0x147)][0x0]);for(let _0xda6d37=_0x4395ad[_0x1299ff(0x1dc)]-0x1;_0xda6d37>=0x0;_0xda6d37--){const _0x4203eb={'id':_0x1299ff(0x22c),'params':{'unitId':_0x4395ad[_0xda6d37][_0x1299ff(0x2a8)],..._0x4395ad[_0xda6d37]['undoState']}},_0x5e9fe2={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x4395ad[_0xda6d37]['unitId'],..._0x4395ad[_0xda6d37]['redoState']}},_0x33fd39=this[_0x1299ff(0x2d9)][_0x1299ff(0x2f9)](_0xdb04a1,_0x4203eb,!0x1),_0x1f7d1e=this[_0x1299ff(0x2d9)][_0x1299ff(0x2f9)](_0x3b1d06,_0x5e9fe2,!0x1);if(_0x5ba996[_0x1299ff(0x204)](_0x33fd39))throw _0x33fd39['error'];if(_0x5ba996[_0x1299ff(0x204)](_0x1f7d1e))throw _0x1f7d1e[_0x1299ff(0x2ce)];_0x57177b[_0x1299ff(0x2e3)]({..._0x4395ad[_0xda6d37],'undoState':_0x33fd39[_0x1299ff(0x1ea)]['params'],'redoState':_0x1f7d1e[_0x1299ff(0x1ea)][_0x1299ff(0x239)]}),_0xdb04a1=_0x33fd39[_0x1299ff(0x12f)],_0x3b1d06=_0x1f7d1e[_0x1299ff(0x12f)];}this[_0x1299ff(0x256)][_0x1299ff(0x146)](_0x5c5620,{'history':_0x18b452,'collaboration':_0x57177b});}};_0x26c1ca=_0x5141f9([_0x1a6645(0x0,_0x3ed692[_0x29331a(0x17b)](_0x3ed692[_0x29331a(0xf7)])),_0x1a6645(0x1,_0x5ba996['ITransformService']),_0x1a6645(0x2,_0x3ed692['Inject'](_0xe79878[_0x29331a(0x269)]))],_0x26c1ca);var _0x388076=Object[_0x29331a(0x1bc)],_0x2037ef=(_0x58c84b,_0x12b0cd,_0x1b55bf,_0x184777)=>{const _0x496a85=_0x29331a;for(var _0x2c550b=_0x184777>0x1?void 0x0:_0x184777?_0x388076(_0x12b0cd,_0x1b55bf):_0x12b0cd,_0xe98411=_0x58c84b[_0x496a85(0x1dc)]-0x1,_0x57cc18;_0xe98411>=0x0;_0xe98411--)(_0x57cc18=_0x58c84b[_0xe98411])&&(_0x2c550b=_0x57cc18(_0x2c550b)||_0x2c550b);return _0x2c550b;},_0x3ec21b=(_0x2b8b00,_0x279fdf)=>(_0x5c7513,_0x579f2d)=>_0x279fdf(_0x5c7513,_0x579f2d,_0x2b8b00);let _0x2a5adc=class{constructor(_0x4f93db,_0x59d5f7){const _0x16555a=_0x29331a;this[_0x16555a(0x23e)]=_0x4f93db,this[_0x16555a(0x2d9)]=_0x59d5f7;}[_0x29331a(0x284)](_0x1a3efc){const _0x513e87=_0x29331a;var _0x3dcf4e;const _0x443161=this[_0x513e87(0x23e)][_0x513e87(0x159)](_0x59de32[_0x513e87(0x125)]),_0x42f38c=(_0x3dcf4e=_0x443161['getDocRanges']())!=null?_0x3dcf4e:[];if(_0x42f38c['length']===0x0)return;const _0x49fbcb=_0x1a3efc['unitID'],_0x5bb4f=[{'id':_0x513e87(0x22c),'params':{'unitId':_0x49fbcb,'actions':null,'textRanges':_0x42f38c}}],_0x582cd9=this[_0x513e87(0x2d9)][_0x513e87(0x120)](_0x1a3efc,_0x5bb4f);if(!_0x5ba996[_0x513e87(0x163)](_0x582cd9))throw _0x582cd9[_0x513e87(0x2ce)];const _0x5e5f9f=_0x582cd9[_0x513e87(0x1ea)][0x0][_0x513e87(0x239)][_0x513e87(0x28e)];Array['isArray'](_0x5e5f9f)&&_0x5e5f9f[_0x513e87(0x1dc)]&&_0x443161[_0x513e87(0x230)](_0x5e5f9f,{'unitId':_0x49fbcb,'subUnitId':_0x49fbcb},!0x1);}};_0x2a5adc=_0x2037ef([_0x3ec21b(0x0,_0x3ed692['Inject'](_0x3ed692['Injector'])),_0x3ec21b(0x1,_0x5ba996['ITransformService'])],_0x2a5adc);var _0x24f0e9=Object[_0x29331a(0x1bc)],_0xdada38=(_0x41b4e7,_0xa6ef3f,_0x385819,_0x3c3a28)=>{const _0x32f188=_0x29331a;for(var _0x7c8477=_0x3c3a28>0x1?void 0x0:_0x3c3a28?_0x24f0e9(_0xa6ef3f,_0x385819):_0xa6ef3f,_0x869607=_0x41b4e7[_0x32f188(0x1dc)]-0x1,_0x181232;_0x869607>=0x0;_0x869607--)(_0x181232=_0x41b4e7[_0x869607])&&(_0x7c8477=_0x181232(_0x7c8477)||_0x7c8477);return _0x7c8477;},_0x3c035e=(_0x4abdec,_0x1c903c)=>(_0x326cbf,_0x596055)=>_0x1c903c(_0x326cbf,_0x596055,_0x4abdec);let _0x25dfe0=class extends _0x3ed692['Disposable']{constructor(_0x4c6568,_0x5f0b81,_0xee7d57,_0x4a18ed,_0x272508,_0x453111,_0x51cb3e,_0x453673){const _0x1ed8ca=_0x29331a;super(),_0x1a32bd(this,'_status$',new _0x5e60be[(_0x1ed8ca(0x24d))](_0x598cf7['CollaborationStatus'][_0x1ed8ca(0x11f)])),(this['_docStateChangeManagerService']=_0x4c6568,this[_0x1ed8ca(0x353)]=_0x5f0b81,this['_docTransformIMECacheService']=_0xee7d57,this[_0x1ed8ca(0x300)]=_0x4a18ed,this[_0x1ed8ca(0x1a3)]=_0x272508,this['_docSyncEditingCollabCursorService']=_0x453111,this['_messageService']=_0x51cb3e,this['_localeService']=_0x453673,this[_0x1ed8ca(0x224)]());}[_0x29331a(0x224)](){const _0xb34ccb=_0x29331a;this['disposeWithMe'](this['_collaborationController'][_0xb34ccb(0x350)][_0xb34ccb(0x1c4)](_0x12ed1d=>{const _0x58aa79=_0xb34ccb,_0x317329=this[_0x58aa79(0x256)][_0x58aa79(0x137)][_0x58aa79(0x1c4)](_0x21e29f=>{const _0x12e7dc=_0x58aa79;if(_0x21e29f==null)return;const {unitId:_0x3dce9b,redoState:_0x54eb88,commandId:_0x4fc9fc}=_0x21e29f;if(_0x3dce9b!==_0x12ed1d[_0x12e7dc(0x144)])return;const _0x32d67a={'id':_0x4fc9fc,'type':_0x3ed692[_0x12e7dc(0x1df)]['MUTATION'],'params':{'unitId':_0x3dce9b,'actions':_0x54eb88['actions'],'textRanges':null}};_0x12ed1d[_0x12e7dc(0xd0)](_0x32d67a);});if(_0x12ed1d['disposeWithMe'](_0x317329),_0x12ed1d instanceof _0x598cf7['DocCollaborationEntity']){const _0x24e609={'onTransformIME':_0x4780f3=>this['_docTransformIMECacheService'][_0x58aa79(0x15d)](_0x4780f3),'onTransformState':_0x54fd3e=>this[_0x58aa79(0x300)][_0x58aa79(0x22a)](_0x54fd3e),'onTransformSelections':_0x1e282a=>this['_docTransformSelectionsService'][_0x58aa79(0x284)](_0x1e282a),'onSyncEditingCollabCursor':_0x5bbc80=>this[_0x58aa79(0x345)][_0x58aa79(0x26a)](_0x5bbc80),'onTransformRemoteChangesetByIMECache':_0x307a47=>this[_0x58aa79(0x1d6)][_0x58aa79(0x332)](_0x307a47),'onTransformRemoteChangesetByStateCache':_0x54677e=>this['_docTransformStateCacheService']['transformRemoteChangeset'](_0x54677e)};_0x12ed1d[_0x58aa79(0x1a0)](_0x24e609);}}));}};_0x25dfe0=_0xdada38([_0x3c035e(0x0,_0x3ed692[_0x29331a(0x17b)](_0xe79878['DocStateChangeManagerService'])),_0x3c035e(0x1,_0x3ed692[_0x29331a(0x17b)](_0x598cf7[_0x29331a(0x105)])),_0x3c035e(0x2,_0x3ed692[_0x29331a(0x17b)](_0x482d07)),_0x3c035e(0x3,_0x3ed692[_0x29331a(0x17b)](_0x26c1ca)),_0x3c035e(0x4,_0x3ed692[_0x29331a(0x17b)](_0x2a5adc)),_0x3c035e(0x5,_0x3ed692[_0x29331a(0x17b)](_0x144f0d)),_0x3c035e(0x6,_0x24fd59['IMessageService']),_0x3c035e(0x7,_0x3ed692['Inject'](_0x3ed692[_0x29331a(0x12a)]))],_0x25dfe0);var _0x291612=Object[_0x29331a(0x1bc)],_0x3060fd=(_0x3730da,_0x3ed4fb,_0x1e4140,_0x53d966)=>{const _0x3052f6=_0x29331a;for(var _0x296164=_0x53d966>0x1?void 0x0:_0x53d966?_0x291612(_0x3ed4fb,_0x1e4140):_0x3ed4fb,_0x397a8f=_0x3730da[_0x3052f6(0x1dc)]-0x1,_0x5cfae7;_0x397a8f>=0x0;_0x397a8f--)(_0x5cfae7=_0x3730da[_0x397a8f])&&(_0x296164=_0x5cfae7(_0x296164)||_0x296164);return _0x296164;},_0x2f4236=(_0x409836,_0x9a1e5c)=>(_0xbe614b,_0xd38306)=>_0x9a1e5c(_0xbe614b,_0xd38306,_0x409836);let _0x2c611b=class extends _0x3ed692[_0x29331a(0x35f)]{constructor(_0x3ae0ca,_0x3c8c87,_0xbd142d){const _0x374e9e=_0x29331a;super(),_0x1a32bd(this,_0x374e9e(0x293),new Map()),_0x1a32bd(this,'_saveTaskMap',new Map()),_0x1a32bd(this,_0x374e9e(0x19d),!0x1),(this[_0x374e9e(0x149)]=_0x3ae0ca,this['_localStorageService']=_0x3c8c87,this[_0x374e9e(0x1ee)]=_0xbd142d);}[_0x29331a(0x140)](){this['_disabled']=!0x0;}['enableLocalCache'](){const _0x1198a3=_0x29331a;this[_0x1198a3(0x19d)]=!0x1;}get[_0x29331a(0x282)](){return this['_saveTaskMap'];}[_0x29331a(0x2f0)](){const _0x1c1f0d=_0x29331a;this[_0x1c1f0d(0xfe)]()[_0x1c1f0d(0x182)](()=>super['dispose']());}async['loadOfflineData'](_0x59b101){const _0x326bb6=_0x29331a;return this[_0x326bb6(0x19d)]?null:this[_0x326bb6(0x101)][_0x326bb6(0x12d)](_0x598cf7[_0x326bb6(0x153)](_0x59b101));}async[_0x29331a(0x32c)](_0x4b1a73,_0x10d9a9){const _0x4782da=_0x29331a;return!!this['_localStorageService'][_0x4782da(0x27b)](_0x4b1a73,_0x10d9a9);}[_0x29331a(0xcf)](_0x22a5d4,_0x57c886,_0x19b63a,_0x2e5b4f){const _0x13e3ba=_0x29331a,_0x3dd425=this[_0x13e3ba(0x1ee)]['getCurrentRevOfUnit'](_0x22a5d4);this[_0x13e3ba(0x293)][_0x13e3ba(0x333)](_0x22a5d4,{'unitID':_0x22a5d4,'type':_0x57c886,'awaitingChangeset':_0x19b63a,'mutations':_0x2e5b4f,'rev':_0x3dd425}),this[_0x13e3ba(0xd9)][_0x13e3ba(0x194)](_0x22a5d4)||this[_0x13e3ba(0x2a4)](_0x22a5d4);}['_scheduleSaving'](_0x45181f){const _0x34be84=_0x29331a,_0x169132=this[_0x34be84(0x313)]();_0x169132===0x0?this[_0x34be84(0x18d)](_0x45181f):this[_0x34be84(0xd9)][_0x34be84(0x333)](_0x45181f,setTimeout(()=>this[_0x34be84(0x18d)](_0x45181f),_0x169132));}[_0x29331a(0x313)](){const _0x2d93f7=_0x29331a;var _0x53e6ff;return(_0x53e6ff=this[_0x2d93f7(0x149)]['getConfig'](_0x598cf7['LOCAL_CACHE_INTERVAL_KEY']))!=null?_0x53e6ff:_0x598cf7[_0x2d93f7(0x2a7)];}[_0x29331a(0x18d)](_0x247e67){const _0x261b50=_0x29331a,_0x3c456c=this[_0x261b50(0xd9)][_0x261b50(0x159)](_0x247e67);return _0x3c456c!==void 0x0&&window[_0x261b50(0x17d)](_0x3c456c),this['_localStorageService']['setItem'](_0x598cf7[_0x261b50(0x153)](_0x247e67),this[_0x261b50(0x293)][_0x261b50(0x159)](_0x247e67))[_0x261b50(0x182)](()=>this[_0x261b50(0xd9)]['delete'](_0x247e67));}async[_0x29331a(0xfe)](){const _0x45244c=_0x29331a,_0x5c450d=[];this['_saveTaskMap'][_0x45244c(0x1da)]((_0x18e3a5,_0x1ff39b)=>{const _0x95bd8=_0x45244c;window[_0x95bd8(0x17d)](_0x18e3a5),_0x5c450d[_0x95bd8(0x322)](this[_0x95bd8(0x18d)](_0x1ff39b)[_0x95bd8(0x182)](()=>{this['_saveTaskMap']['delete'](_0x1ff39b);}));}),await Promise[_0x45244c(0x30f)](_0x5c450d);}};_0x2c611b=_0x3060fd([_0x2f4236(0x0,_0x3ed692[_0x29331a(0xe6)]),_0x2f4236(0x1,_0x3ed692['ILocalStorageService']),_0x2f4236(0x2,_0x3ed692['Inject'](_0x5ba996['RevisionService']))],_0x2c611b);class _0x2e4a3d extends _0x3ed692['RxDisposable']{constructor(){const _0x28e6bd=_0x29331a;super(),_0x1a32bd(this,_0x28e6bd(0x14b)),this[_0x28e6bd(0x14b)]=_0x5e60be[_0x28e6bd(0x218)](window,_0x28e6bd(0x339))[_0x28e6bd(0x127)](_0x5e60be[_0x28e6bd(0xf0)](this[_0x28e6bd(0x289)]),_0x5e60be['shareReplay'](0x1),_0x5e60be['mapTo'](void 0x0));}[_0x29331a(0x2c8)](_0x1b516f,_0x3168cc,_0x4a5a3f=!0x1){const _0x5495ed=_0x29331a,_0x13983e=new URL(window['location'][_0x5495ed(0x362)]);_0x13983e[_0x5495ed(0x2ee)]['set'](_0x1b516f,_0x3168cc),_0x4a5a3f?window[_0x5495ed(0x20e)][_0x5495ed(0x1bf)]('','',_0x13983e[_0x5495ed(0x243)]()):window[_0x5495ed(0x20e)][_0x5495ed(0x1b7)]('','',_0x13983e[_0x5495ed(0x243)]());}[_0x29331a(0x349)](_0x2c29ac,_0x9d857c=!0x1){const _0x128e9d=_0x29331a,_0x306800=new URL(window[_0x128e9d(0x32a)][_0x128e9d(0x362)]);_0x306800[_0x128e9d(0x2ee)][_0x128e9d(0x21e)](_0x2c29ac),_0x9d857c?window['history'][_0x128e9d(0x1bf)]('','',_0x306800[_0x128e9d(0x243)]()):window[_0x128e9d(0x20e)][_0x128e9d(0x1b7)]('','',_0x306800[_0x128e9d(0x243)]());}[_0x29331a(0x1a6)](_0x30a7fc){const _0x27a249=_0x29331a;var _0x593761;return(_0x593761=new URL(window[_0x27a249(0x32a)][_0x27a249(0x362)])[_0x27a249(0x2ee)][_0x27a249(0x159)](_0x30a7fc))!=null?_0x593761:void 0x0;}}var _0x36d2c2=Object[_0x29331a(0x26f)],_0x170dca=Object[_0x29331a(0x1bc)],_0x3c0e2d=(_0x234838,_0x273110,_0xced42a)=>_0x273110 in _0x234838?_0x36d2c2(_0x234838,_0x273110,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0xced42a}):_0x234838[_0x273110]=_0xced42a,_0x17d10a=(_0x4424d9,_0x1c0e04,_0x38348d,_0x17caf0)=>{const _0x5d1dbe=_0x29331a;for(var _0x27f9f3=_0x17caf0>0x1?void 0x0:_0x17caf0?_0x170dca(_0x1c0e04,_0x38348d):_0x1c0e04,_0x55b02a=_0x4424d9[_0x5d1dbe(0x1dc)]-0x1,_0x51c11b;_0x55b02a>=0x0;_0x55b02a--)(_0x51c11b=_0x4424d9[_0x55b02a])&&(_0x27f9f3=_0x51c11b(_0x27f9f3)||_0x27f9f3);return _0x27f9f3;},_0xa12880=(_0x63b71c,_0x2116b9)=>(_0x5db84e,_0x301eeb)=>_0x2116b9(_0x5db84e,_0x301eeb,_0x63b71c),_0xdbd17c=(_0x2d4011,_0x5e1258,_0x22e103)=>_0x3c0e2d(_0x2d4011,_0x5e1258+'',_0x22e103);const _0x3ffcda='UNIVER_COLLABORATION_CLIENT_WEB_PLUGIN';_0x859d06[_0x29331a(0x21a)]=class extends _0x3ed692[_0x29331a(0x1f1)]{constructor(_0x44d350=_0x417975,_0x1e7f7d,_0x5d4fed,_0x61f9c7){const _0x445a9c=_0x29331a;super(),this['_config']=_0x44d350,this[_0x445a9c(0x261)]=_0x1e7f7d,this[_0x445a9c(0x23e)]=_0x5d4fed,this[_0x445a9c(0x149)]=_0x61f9c7;const {..._0x39e467}=_0x3ed692['merge']({},_0x417975,this[_0x445a9c(0x2fc)]);this[_0x445a9c(0x149)][_0x445a9c(0x33e)](_0x17f436,_0x39e467);}[_0x29331a(0x18a)](){const _0x33accf=_0x29331a;this[_0x33accf(0xd8)](),this[_0x33accf(0x1f8)]();}[_0x29331a(0x188)](){const _0x7a19af=_0x29331a;this[_0x7a19af(0x30b)]();}[_0x29331a(0xd8)](){const _0x24f125=_0x29331a;var _0x4a907d;const _0x33acdb=[[_0x2e3539],[_0x2a5adc],[_0x482d07],[_0x26c1ca],[_0x144f0d],[_0x56c537,{'useClass':_0x2e4a3d}],[_0x49efbc[_0x24f125(0x1b4)],{'useClass':_0x49efbc[_0x24f125(0x288)]}],[_0x598cf7[_0x24f125(0x13a)],{'useClass':_0x2c611b}],[_0x859d06['DesktopCollaborationStatusDisplayController']],[_0x25dfe0],[_0xb5ce92],[_0xbf522a],[_0x24d325],[_0x859d06[_0x24f125(0x152)]]];_0x3ed692['registerDependencies'](this['_injector'],_0x3ed692[_0x24f125(0x306)](_0x33acdb,(_0x4a907d=this[_0x24f125(0x2fc)])==null?void 0x0:_0x4a907d[_0x24f125(0x295)]));}['_registerRenderDependencies'](){const _0x31d23b=_0x29331a;this[_0x31d23b(0x234)](this[_0x31d23b(0x261)]['registerRenderModule'](_0x3ed692[_0x31d23b(0x2b3)][_0x31d23b(0x2fb)],[_0x2007b0])),this[_0x31d23b(0x234)](this['_renderManagerService']['registerRenderModule'](_0x3ed692[_0x31d23b(0x2b3)]['UNIVER_SHEET'],[_0x565d77]));}[_0x29331a(0x1f8)](){const _0x5553cd=_0x29331a;_0x3ed692[_0x5553cd(0x277)](this[_0x5553cd(0x23e)],[[_0xbf522a],[_0x859d06[_0x5553cd(0xef)]],[_0x25dfe0],[_0xb5ce92],[_0x859d06[_0x5553cd(0x152)]]]);}},_0xdbd17c(_0x859d06[_0x29331a(0x21a)],_0x29331a(0x27c),_0x3ffcda),_0x859d06[_0x29331a(0x21a)]=_0x17d10a([_0x3ed692[_0x29331a(0x1c1)](_0x598cf7[_0x29331a(0x2e0)]),_0xa12880(0x1,_0x419507[_0x29331a(0x1d4)]),_0xa12880(0x2,_0x3ed692[_0x29331a(0x17b)](_0x3ed692[_0x29331a(0xf7)])),_0xa12880(0x3,_0x3ed692[_0x29331a(0xe6)])],_0x859d06[_0x29331a(0x21a)]);var _0x2d7518=Object[_0x29331a(0x1bc)],_0x4c0fa7=(_0x1e6644,_0x1d8e8d,_0x491103,_0x5fe038)=>{for(var _0x8cbffb=_0x5fe038>0x1?void 0x0:_0x5fe038?_0x2d7518(_0x1d8e8d,_0x491103):_0x1d8e8d,_0x33c1de=_0x1e6644['length']-0x1,_0x43e187;_0x33c1de>=0x0;_0x33c1de--)(_0x43e187=_0x1e6644[_0x33c1de])&&(_0x8cbffb=_0x43e187(_0x8cbffb)||_0x8cbffb);return _0x8cbffb;},_0x1b686c=(_0x11f9ee,_0x928773)=>(_0x5d6b98,_0x38579f)=>_0x928773(_0x5d6b98,_0x38579f,_0x11f9ee);_0x859d06[_0x29331a(0x18c)]=class extends _0x598cf7[_0x29331a(0xe9)]{constructor(_0x3833bd,_0x51f77d,_0x50dbc6,_0x24e141,_0x180c73){super(_0x3833bd,_0x51f77d,_0x50dbc6,_0x24e141,_0x180c73);}async[_0x29331a(0x265)](_0x4dceed){const _0x50abe8=_0x29331a,_0x2a94a6=await this[_0x50abe8(0x2da)](),_0x4bb206=this[_0x50abe8(0x227)](_0x4dceed,_0x2a94a6);return this[_0x50abe8(0x1cf)](_0x4bb206);}[_0x29331a(0x227)](_0x1e1451,_0x2f05ee){const _0x4703d0=_0x29331a,_0x34d75e=typeof window>'u'?new URL(_0x1e1451):new URL(_0x1e1451,window[_0x4703d0(0x32a)][_0x4703d0(0x213)]);_0x34d75e['searchParams'][_0x4703d0(0x333)](_0x4703d0(0x25a),_0x2f05ee);const _0x524619=typeof window>'u'?new URLSearchParams():new URLSearchParams(window['location'][_0x4703d0(0x27e)]);return _0x524619[_0x4703d0(0x159)](_0x4703d0(0x31b))&&_0x34d75e['searchParams'][_0x4703d0(0x333)]('runId',_0x524619['get'](_0x4703d0(0x31b))),_0x34d75e[_0x4703d0(0x243)]();}async[_0x29331a(0x2da)](){const _0x395a3e=_0x29331a;var _0x4016ab,_0x320091,_0x437c9a;const _0xc38c2f=this[_0x395a3e(0x149)][_0x395a3e(0x369)](_0x598cf7['COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY']),_0x2b9c62=(_0x4016ab=_0xc38c2f==null?void 0x0:_0xc38c2f[_0x395a3e(0x164)])!=null?_0x4016ab:_0x598cf7[_0x395a3e(0x29d)];return(_0x437c9a=(_0x320091=(await this['_httpService'][_0x395a3e(0x159)](_0x2b9c62,{'headers':{'Content-Type':'application/json'}}))[_0x395a3e(0x172)])==null?void 0x0:_0x320091[_0x395a3e(0x11a)])!=null?_0x437c9a:'';}},_0x859d06[_0x29331a(0x18c)]=_0x4c0fa7([_0x1b686c(0x0,_0x3ed692[_0x29331a(0x17b)](_0x3ed692[_0x29331a(0xf7)])),_0x1b686c(0x1,_0x3ed692['Inject'](_0x49efbc[_0x29331a(0xd5)])),_0x1b686c(0x2,_0x3ed692[_0x29331a(0xe6)]),_0x1b686c(0x3,_0x3ed692[_0x29331a(0x2c2)]),_0x1b686c(0x4,_0x5ba996['ISnapshotServerService'])],_0x859d06[_0x29331a(0x18c)]);const _0x5ac7c3=0x7530,_0x53a356=_0x29331a(0x20b);class _0x33cae5 extends _0x3ed692['Disposable']{constructor(){const _0x3ae027=_0x29331a;super(),_0x1a32bd(this,_0x3ae027(0x14d),_0x3ed692[_0x3ae027(0x2d7)]()),_0x1a32bd(this,_0x3ae027(0x168),new Set()),_0x1a32bd(this,'_unitOnClients',new Map()),_0x1a32bd(this,_0x3ae027(0x310),null),_0x1a32bd(this,_0x3ae027(0x335),new Map()),_0x1a32bd(this,_0x3ae027(0x1af),new Map()),this['_init']();}[_0x29331a(0x2f0)](){const _0x5cbf73=_0x29331a;super[_0x5cbf73(0x2f0)](),this[_0x5cbf73(0x335)][_0x5cbf73(0x1da)]((_0x545050,_0x21982a)=>this[_0x5cbf73(0x186)](_0x21982a)),this[_0x5cbf73(0x310)]&&window['clearInterval'](this['_heartbeatTimer']);}[_0x29331a(0x271)](_0x555a8d){const _0x12ce4b=_0x29331a;return this[_0x12ce4b(0x20d)](_0x555a8d)['pipe'](_0x5e60be['distinctUntilChanged']());}[_0x29331a(0x1f9)](_0x3ae4fa){const _0x49aec9=_0x29331a;this['_selfUnitIDs'][_0x49aec9(0x1ca)]===0x0&&this[_0x49aec9(0x34d)](),this[_0x49aec9(0x168)]['add'](_0x3ae4fa),this[_0x49aec9(0x1f3)]({'type':0x0,'memberID':this[_0x49aec9(0x14d)],'unitIDs':[_0x3ae4fa],'isForwarded':!0x1});}[_0x29331a(0x1ba)](_0x367746){const _0x19b323=_0x29331a;this[_0x19b323(0x168)][_0x19b323(0x21e)](_0x367746),this['_selfUnitIDs'][_0x19b323(0x1ca)]===0x0&&this[_0x19b323(0x310)]&&window[_0x19b323(0x264)](this['_heartbeatTimer']);}['_init'](){const _0x556370=_0x29331a;this[_0x556370(0x234)](_0x3ed692[_0x556370(0x132)](_0x5e60be['fromEvent'](window,_0x556370(0x355))[_0x556370(0x1c4)](_0x68ff32=>{const _0x13f3c9=_0x556370;if(_0x68ff32[_0x13f3c9(0x1c0)]!==_0x53a356||!_0x68ff32[_0x13f3c9(0xe0)])return;const _0x4924fd=JSON[_0x13f3c9(0x10c)](_0x68ff32['newValue']);this[_0x13f3c9(0x26c)](_0x4924fd);}))),window['addEventListener'](_0x556370(0x2e8),()=>this[_0x556370(0x1f3)]({'type':0x1,'memberID':this[_0x556370(0x14d)],'unitIDs':Array[_0x556370(0x2ae)](this[_0x556370(0x168)])}));}['_handleEvent'](_0x9a5e8f){const _0x242c96=_0x29331a;switch(_0x9a5e8f[_0x242c96(0x321)]){case 0x0:this['_handleJoinEvent'](_0x9a5e8f);break;case 0x1:this[_0x242c96(0x117)](_0x9a5e8f);break;case 0x2:this[_0x242c96(0x178)](_0x9a5e8f);break;}}[_0x29331a(0x2d3)](_0x1f0c26){const _0x1c4665=_0x29331a,{unitIDs:_0x510c8b,memberID:_0xa0fa3b,isForwarded:_0x1d6ceb}=_0x1f0c26;_0x510c8b[_0x1c4665(0x1da)](_0x5b895d=>{const _0x40415e=_0x1c4665;if(!_0x1d6ceb&&this['_unitOnClients'][_0x40415e(0x194)](_0x5b895d)&&this[_0x40415e(0x20d)](_0x5b895d)[_0x40415e(0x1f4)](_0x598cf7[_0x40415e(0x237)][_0x40415e(0x255)]),!this[_0x40415e(0x285)][_0x40415e(0x194)](_0x5b895d)||!this['_unitOnClients'][_0x40415e(0x159)](_0x5b895d)[_0x40415e(0x194)](_0xa0fa3b)){const _0x193a5f=this['_unitOnClients'][_0x40415e(0x159)](_0x5b895d)||new Set();_0x193a5f['add'](_0xa0fa3b),this[_0x40415e(0x285)][_0x40415e(0x333)](_0x5b895d,_0x193a5f),this[_0x40415e(0x23d)](_0xa0fa3b);}}),_0x1d6ceb||this['_send']({'type':0x0,'memberID':this[_0x1c4665(0x14d)],'unitIDs':[...this[_0x1c4665(0x168)]],'isForwarded':!0x0});}[_0x29331a(0x23d)](_0x36bb41){const _0x5646ec=_0x29331a;this[_0x5646ec(0x186)](_0x36bb41);const _0x4583dd=window['setTimeout'](()=>{const _0x2d370a=_0x5646ec;this[_0x2d370a(0x285)][_0x2d370a(0x1da)](_0x43e004=>{_0x43e004['delete'](_0x36bb41);});},_0x5ac7c3*0x2);this[_0x5646ec(0x335)]['set'](_0x36bb41,_0x4583dd);}[_0x29331a(0x186)](_0x51f5b2){const _0x98f37c=_0x29331a;if(this[_0x98f37c(0x335)][_0x98f37c(0x194)](_0x51f5b2)){const _0x3cb7a3=this[_0x98f37c(0x335)][_0x98f37c(0x159)](_0x51f5b2);_0x3cb7a3&&window[_0x98f37c(0x17d)](_0x3cb7a3),this[_0x98f37c(0x335)]['set'](_0x51f5b2,null);}}[_0x29331a(0x117)](_0x82ee60){const _0x5ecc43=_0x29331a,{memberID:_0x5363f2,unitIDs:_0x28f0e3}=_0x82ee60;_0x28f0e3['forEach'](_0x3589fd=>{const _0x1a7ef0=_0xe20a;var _0x32418d;const _0x1d722d=this[_0x1a7ef0(0x285)][_0x1a7ef0(0x159)](_0x3589fd);_0x1d722d&&(_0x1d722d['delete'](_0x5363f2),(_0x32418d=this[_0x1a7ef0(0x20d)](_0x3589fd))==null||_0x32418d[_0x1a7ef0(0x1f4)](_0x1d722d[_0x1a7ef0(0x1ca)]===0x0?_0x598cf7[_0x1a7ef0(0x237)][_0x1a7ef0(0x1ce)]:_0x598cf7[_0x1a7ef0(0x237)][_0x1a7ef0(0x255)]));}),this[_0x5ecc43(0x186)](_0x5363f2);}[_0x29331a(0x178)](_0x4b5698){const _0x5d54f7=_0x29331a;this[_0x5d54f7(0x23d)](_0x4b5698[_0x5d54f7(0xf9)]);}[_0x29331a(0x1f3)](_0x37b1d0){const _0x599eb2=_0x29331a;localStorage[_0x599eb2(0x27b)](_0x53a356,JSON[_0x599eb2(0x19b)](_0x37b1d0));}[_0x29331a(0x34d)](){const _0x3a5bde=_0x29331a;this['_heartbeatTimer']=window[_0x3a5bde(0x286)](()=>{const _0x3015da=_0x3a5bde;this['_send']({'type':0x2,'memberID':this[_0x3015da(0x14d)]});},_0x5ac7c3);}['_ensureSubject'](_0x296aae){const _0x927f63=_0x29331a;return this['_unitStatus'][_0x927f63(0x194)](_0x296aae)||this[_0x927f63(0x1af)][_0x927f63(0x333)](_0x296aae,new _0x5e60be[(_0x927f63(0x24d))](_0x598cf7[_0x927f63(0x237)][_0x927f63(0x1ce)])),this[_0x927f63(0x1af)][_0x927f63(0x159)](_0x296aae);}}var _0x5d1563=(_0x4920b8=>(_0x4920b8[_0x4920b8[_0x29331a(0x1f2)]=0x0]='UNDEFINED',_0x4920b8[_0x4920b8['OK']=0x1]='OK',_0x4920b8[_0x4920b8[_0x29331a(0x2f3)]=0x2]='INTERNAL_ERROR',_0x4920b8[_0x4920b8['PERMISSION_DENIED']=0x3]=_0x29331a(0x1fe),_0x4920b8[_0x4920b8[_0x29331a(0x1c7)]=0x4]=_0x29331a(0x1c7),_0x4920b8[_0x4920b8[_0x29331a(0x2c4)]=0x5]=_0x29331a(0x2c4),_0x4920b8[_0x4920b8[_0x29331a(0x122)]=0x6]='ALREADY_EXISTS',_0x4920b8[_0x4920b8[_0x29331a(0x1fa)]=0x7]='INVALID_ARGUMENT',_0x4920b8[_0x4920b8[_0x29331a(0x2a3)]=0x8]='TOO_MANY_REQUESTS',_0x4920b8[_0x4920b8[_0x29331a(0x2ea)]=0x9]='COMPLETION_FINISHED',_0x4920b8[_0x4920b8[_0x29331a(0x121)]=0xa]=_0x29331a(0x121),_0x4920b8[_0x4920b8[_0x29331a(0x2b0)]=0xb]=_0x29331a(0x2b0),_0x4920b8[_0x4920b8[_0x29331a(0x15e)]=0xc]='MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED',_0x4920b8[_0x4920b8[_0x29331a(0x1e1)]=0xd]=_0x29331a(0x1e1),_0x4920b8[_0x4920b8[_0x29331a(0x331)]=0xe]=_0x29331a(0x331),_0x4920b8[_0x4920b8[_0x29331a(0x1ac)]=0x1389]=_0x29331a(0x1ac),_0x4920b8[_0x4920b8[_0x29331a(0x170)]=0x1771]=_0x29331a(0x170),_0x4920b8[_0x4920b8[_0x29331a(0x245)]=0x1772]=_0x29331a(0x245),_0x4920b8[_0x4920b8[_0x29331a(0x250)]=0x1773]='ENSURE_SNAPSHOT_EXECUTION',_0x4920b8[_0x4920b8[_0x29331a(0x2c5)]=0x1b59]=_0x29331a(0x2c5),_0x4920b8[_0x4920b8['APPLY_NON_SEQUENTIAL_REVISION']=0x1b5a]=_0x29331a(0x148),_0x4920b8[_0x4920b8[_0x29331a(0x1b6)]=0x1b5b]='APPLY_REVISION_CONFILICT',_0x4920b8[_0x4920b8[_0x29331a(0x281)]=0x1b5c]=_0x29331a(0x281),_0x4920b8[_0x4920b8[_0x29331a(0x303)]=0x1b5d]=_0x29331a(0x303),_0x4920b8[_0x4920b8[_0x29331a(0x1cc)]=0x1f41]=_0x29331a(0x1cc),_0x4920b8[_0x4920b8[_0x29331a(0x225)]=0x2329]='LICENSE_MAX_UNITS_EXCEEDED',_0x4920b8[_0x4920b8[_0x29331a(0x12c)]=0x232a]='LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED',_0x4920b8[_0x4920b8[_0x29331a(0xcd)]=0x232b]=_0x29331a(0xcd),_0x4920b8[_0x4920b8[_0x29331a(0x158)]=0x232c]=_0x29331a(0x158),_0x4920b8[_0x4920b8[_0x29331a(0x34b)]=0x232d]=_0x29331a(0x34b),_0x4920b8[_0x4920b8[_0x29331a(0xe2)]=0x2711]=_0x29331a(0xe2),_0x4920b8[_0x4920b8[_0x29331a(0x1f7)]=0x2712]=_0x29331a(0x1f7),_0x4920b8[_0x4920b8[_0x29331a(0x30c)]=0x2713]=_0x29331a(0x30c),_0x4920b8[_0x4920b8[_0x29331a(0x35d)]=0x2714]=_0x29331a(0x35d),_0x4920b8[_0x4920b8[_0x29331a(0x226)]=0x271a]=_0x29331a(0x226),_0x4920b8[_0x4920b8[_0x29331a(0x2be)]=0x271b]='YUUMI_ASYNCIO_CANCELLED',_0x4920b8[_0x4920b8[_0x29331a(0x183)]=0x271c]=_0x29331a(0x183),_0x4920b8[_0x4920b8[_0x29331a(0x1a5)]=0x271d]=_0x29331a(0x1a5),_0x4920b8[_0x4920b8[_0x29331a(0xda)]=0x271e]=_0x29331a(0xda),_0x4920b8[_0x4920b8[_0x29331a(0x23b)]=0x271f]='YUUMI_AI_RUN_FAILED',_0x4920b8[_0x4920b8[_0x29331a(0x2bd)]=0x2720]=_0x29331a(0x2bd),_0x4920b8[_0x4920b8['PY_RUNTIME_SCRIPT_ERROR']=0x2af9]=_0x29331a(0xd4),_0x4920b8[_0x4920b8[_0x29331a(0x18b)]=0x2ee1]='INVITE_CODE_HAS_BEEN_UES',_0x4920b8[_0x4920b8['INVALID_INVITE_CODE']=0x2ee2]=_0x29331a(0x2df),_0x4920b8[_0x4920b8[_0x29331a(0x29b)]=0x2ee3]='INVITE_CODE_REQUIRED',_0x4920b8[_0x4920b8['USER_NOT_INVITED_CODE']=0x2ee4]='USER_NOT_INVITED_CODE',_0x4920b8[_0x4920b8[_0x29331a(0x214)]=0x2ee5]=_0x29331a(0x214),_0x4920b8[_0x4920b8[_0x29331a(0x251)]=0x32c9]=_0x29331a(0x251),_0x4920b8[_0x4920b8[_0x29331a(0x2a1)]=0x32ca]=_0x29331a(0x2a1),_0x4920b8[_0x4920b8[_0x29331a(0x32f)]=0x32cb]=_0x29331a(0x32f),_0x4920b8[_0x4920b8[_0x29331a(0x2af)]=-0x1]=_0x29331a(0x2af),_0x4920b8))(_0x5d1563||{}),_0x2ad0b3=Object['getOwnPropertyDescriptor'],_0x162ae6=(_0x4a7fcb,_0x2773b9,_0x2273da,_0x5a28d3)=>{for(var _0x46bf33=_0x5a28d3>0x1?void 0x0:_0x5a28d3?_0x2ad0b3(_0x2773b9,_0x2273da):_0x2773b9,_0x2a3126=_0x4a7fcb['length']-0x1,_0x2aa6ed;_0x2a3126>=0x0;_0x2a3126--)(_0x2aa6ed=_0x4a7fcb[_0x2a3126])&&(_0x46bf33=_0x2aa6ed(_0x46bf33)||_0x46bf33);return _0x46bf33;},_0x51e384=(_0x52bdd6,_0x2afbd9)=>(_0x355561,_0x5675fa)=>_0x2afbd9(_0x355561,_0x5675fa,_0x52bdd6);_0x859d06[_0x29331a(0x326)]=class extends _0x3ed692[_0x29331a(0x35f)]{constructor(_0x264552,_0x44bf6a,_0x421b98){const _0x291c3c=_0x29331a;super(),this['_instanceService']=_0x264552,this[_0x291c3c(0x365)]=_0x44bf6a,this[_0x291c3c(0x149)]=_0x421b98;}async[_0x29331a(0x327)](_0x2f8f93,_0x34bba3,_0x2b7f48,..._0x7ad271){const _0x15c7b3=_0x29331a;var _0x596a55,_0x11f818,_0x773b09,_0x19e0de;const _0x3c5247=this[_0x15c7b3(0x200)]['getFocusedUnit']();if(!_0x3c5247)throw new Error(_0x15c7b3(0x2dc));const _0x3021d7=((_0x596a55=this['_configService'][_0x15c7b3(0x369)](_0x598cf7[_0x15c7b3(0x253)]))!=null?_0x596a55:_0x598cf7['DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT'])+'/'+_0x2f8f93+_0x15c7b3(0x1c9)+_0x34bba3,_0x24cf31=new URL(window[_0x15c7b3(0x32a)][_0x15c7b3(0x362)]),_0x4291b6={'scriptId':_0x2f8f93,'runId':(_0x11f818=_0x24cf31[_0x15c7b3(0x2ee)]['get'](_0x15c7b3(0x31b)))!=null?_0x11f818:'','function':_0x34bba3,'unitId':_0x3c5247['getUnitId'](),'argsOfFunction':JSON[_0x15c7b3(0x19b)](_0x7ad271),'invokeId':(_0x773b09=_0x2b7f48[_0x15c7b3(0x15f)])!=null?_0x773b09:'','executionId':(_0x19e0de=_0x2b7f48[_0x15c7b3(0x334)])!=null?_0x19e0de:''};try{const _0x3e1525=await this[_0x15c7b3(0x365)][_0x15c7b3(0xce)](_0x3021d7,{'body':_0x4291b6});return _0x3e1525['body'][_0x15c7b3(0x2ce)]&&_0x3e1525[_0x15c7b3(0x172)][_0x15c7b3(0x2ce)][_0x15c7b3(0x174)]!==_0x5d1563['OK']?_0x15c7b3(0x25d):_0x3e1525[_0x15c7b3(0x172)][_0x15c7b3(0x111)];}catch{return'Failed';}}},_0x859d06['RemoteUniscriptService']=_0x162ae6([_0x51e384(0x0,_0x3ed692[_0x29331a(0x1d8)]),_0x51e384(0x1,_0x3ed692['Inject'](_0x49efbc['HTTPService'])),_0x51e384(0x2,_0x3ed692[_0x29331a(0xe6)])],_0x859d06[_0x29331a(0x326)]),_0x859d06[_0x29331a(0x2a9)]=_0x1fa59a,_0x859d06['IURLService']=_0x56c537,_0x859d06['SheetCollabCursorShape']=_0xcac5d2,_0x859d06[_0x29331a(0x236)]=_0x33cae5,_0x859d06[_0x29331a(0x1d3)]=_0x2e4a3d,Object[_0x29331a(0x26f)](_0x859d06,Symbol[_0x29331a(0x1ab)],{'value':_0x29331a(0x1e4)});}));function _0x1e62(){const _0x33bd02=['SheetsSelectionsService','_handleEvent','add','useCallback','defineProperty','bottom','getUnitStatus$','_refRangeService','getCurrent','useDependency','1em','Error','touchDependencies','round','getActiveRange','entries','setItem','pluginName','_univerInstanceService','search','serializeRangeWithSheet','SUBMIT_CHANGESET_TIMEOUT','APPLY_PERMISSION_DENIED','saveTaskMap','_init','transformSelections','_unitOnClients','setInterval','_hideTimer','WebSocketService','dispose$','UniverProCollaboration','_updateURLWithCurrentState','getUnitId','complete','textRanges','yellow.400','_dataLoaderService','substring','rxjs','_cachedData','getCoordByCell','override','_messageService','onPointerMove$','OffLineIcon','ITransformService','fromEventSubject','INVITE_CODE_REQUIRED','Rect','DEFAULT_WS_SESSION_TICKET_URL','url(#$1','_cursorShapes','_backgroundColor','MOBILE_HAS_BEEN_BOUND','createInstance','TOO_MANY_REQUESTS','_scheduleSaving','react/jsx-runtime','getColorFromTheme','LOCAL_CACHE_INTERVAL','unitId','CollaborationStatusDisplay','filter','icon','random','770129MvpLqw','from','UNRECOGNIZED','MOBILE_VERIFY_CODE_MISMATCH','trim','concat','UniverInstanceType','row','width','_removeCollabCursors','session.connection-failed','896439jISIVA','COLORS','SetSelectionsOperation','event$','saveImage','YUUMI_CONNECTOR_URL_NOT_FOUND','YUUMI_ASYNCIO_CANCELLED','_getAnchorBounding','setUndoRedoMutationParamsCache','USERS_LEAVE','ILogService','labelPosition','UNAUTHENTICATED','APPLY_REJECT','black','_startSheetCollabCursor','setParam','_initEvent','div','getSheetBySheetId','_initCommandExecutedListener','getTypeOfUnitAdded$','error','on-line-icon_clip0_910_349','TEXT','getActiveSheet','handleInsertRangeMoveRight','_handleJoinEvent','collabStatus.conflict','RemoveRowCommandId','_collabCursorState$','generateRandomId','redoState','_transformService','_getSessionTicket','_transformPreviousActiveRange','[RemoteUniscriptService]:\x20no\x20focused\x20unit','_entities','_transformUndoRedoStack','INVALID_INVITE_CODE','UniverCollaborationClientPlugin','IDocClipboardService','DOC_RANGE_TYPE','unshift','map','@univerjs/network','idSuffix','sessionStatus$','unload','assignAColorForMemberID','COMPLETION_FINISHED','_uiPartsService','_docSkeletonManagerService','DocSkeletonManagerService','searchParams','subscribeEvent','dispose','unsubscribe','getViewport','INTERNAL_ERROR','12521964AsXTsd','debounce','_online','@univerjs/sheets','eventID','transformMutation','_cursors','UNIVER_DOC','_config','merge','_hover','assign','_docTransformStateCacheService','2SMqGDx','Shape','APPLY_DUPLICATED','@univerjs/drawing','getColor','mergeOverrideWithDependencies','translate(.97)','HEADER_MENU','handleMoveRange','moveTo','_registerRenderDependencies','YUUMI_RATE_OVER_LIMIT','_localCacheService','UniverEngineRender','all','_heartbeatTimer','addObjects','cursorInfo$','_getSaveTimeout','prototype','displayName','clipPath','url(#off-line-icon_clip0_910_343)','7304742wqNVBj','exports','InsertRowCommandId','runId','_initStatusComponent','text','setActiveRange','handleIRemoveCol','debug','type','push','amd','arc','roomMembers','RemoteUniscriptService','runOnServer','SheetSkeletonManagerService','UniverUi','location','reconnect','saveOfflineData','PENDING','...','EMAIL_HAS_BEEN_BOUND','UniverCore','EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','transformRemoteChangeset','set','executionId','_clearOtherTimers','DisposableCollection','findNodePositionByCharIndex','endColumn','popstate','requireSession','CONFLICT','NodePositionConvertToCursor','_labelPosition','setConfig','getValue','send','sheetId','restore','BuiltInUIPart','toRgbString','_docSyncEditingCollabCursorService','_themeService','getCollabEntity$','getMergeData','removeParam','backgroundColor','LICENSE_DISTRO_REJECTED','8LbxtOO','_scheduleHeartbeat','collabCursorState$','_notificationService','entityInit$','RichTextEditingMutation','collab-text-anchor-','_collaborationController','runRefRangeMutations','storage','connectInjector','Tools','bold\x2013px\x20Source\x20Han\x20Sans\x20CN','measureText','_collaborationUIEventService','univer-text-sm\x20univer-leading-8\x20univer-text-gray-600\x20dark:!univer-text-gray-200','collaboration-client.offline-data-not-saved','YUUMI_SUBSCRIPTION_NOT_FOUND','SetDocZoomRatioOperation','Disposable','CollaborationEvent','_drawRectRange','href','call','getVpScrollXYInfoByPosToVp','_httpService','_updateLocalCursor','TEXT_RANGE_LAYER_INDEX','_syncEditingCollabCursorService','getConfig','setShapeProps','LICENSE_IMPORT_SIZE_EXCEEDED','post','updateOfflineData','onLocalMutation','getFocusedUnit','_anchor','getStateCache','PY_RUNTIME_SCRIPT_ERROR','HTTPService','_name','skeleton','_registerDependencies','_saveTaskMap','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','SHEET_VIEWPORT_KEY','DataLoaderService','jsxs','_shapes','cursorInfo','newValue','FromArray','YUUMI_UNABLE_LOAD_URL','InsertColCommandId','colorChannel1','React','IConfigService','unit','imageSourceType','CollaborationSocketService','UniverSheets','split','SetWorksheetActivateCommand','hovered','onPointerLeave$','DesktopCollaborationStatusDisplayController','takeUntil','_hovered','replace','collabStatus.notCollab','collaboration.closeRoom','CollaborationUIEventId','Unknown\x20user','Injector','onTransformChange$','memberID','UniverProCollaborationClient','createIdentifier','_drawTextRange','none','exhaustSavingTask','getCurrentSelections','_updateCollabCursors','_localStorageService','svg','FETCH_MISS','roomMembers$','CollaborationController','_memberService','InsertRangeMoveRightCommandId','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','_setupBeforeClosingHandler','_draw','_startDocCollabCursor','parse','deepClone','isEditing','InsertRangeMoveDownCommandId','M0\x200H16V16H0z','result','567660iBldtK','@univerjs-pro/collaboration-client','blue.400','_lastPointer','session.will-retry','_handleLeaveEvent','_colorAssignService','_updateSubUnitFromURLParams','ticket','mask','getUniverSheetInstance','7rImyOB','drawWith','NOT_COLLAB','transformMutationsWithChangeset','LOGIN_FAILED','ALREADY_EXISTS','_cursorInfo$','includes','DocSelectionManagerService','CollaborationStatus','pipe','_urlService','evenodd','LocaleService','_anchorDot','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','getItem','getAncestorScale','m1Prime','handleInsertCol','univerjs-icon\x20univerjs-icon-','toDisposable','function','UniverDocsUi','_context','_render','docStateChange$','registerBeforeClose','useObservable','ILocalCacheService','string','executeCommand','ThemeService','RxDisposable','onCommandExecuted','disableLocalCache','fillRule','on-line-icon','undoState','unitID','values','setStateCache','mutations','APPLY_NON_SEQUENTIAL_REVISION','_configService','save','urlChange$','isActive','_id','AWAITING_WITH_PENDING','http://www.w3.org/2000/svg','color','@univerjs/docs','CollaborationDataLoaderController','getLocalCacheKey','10kGBHfB','hasOwnProperty','getRenderById','session.collaboration-timeout','LICENSE_EXPORT_SIZE_EXCEEDED','get','_imageIoService','EffectRefRangId','handleInsertRow','transformIMECache','MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','invokeId','_cursor','_onCursorDelete','beginPath','isTransformMutationsWithChangesetSuccess','wsSessionTicketUrl','univer-mr-2\x20univer-flex\x20univer-text-xl','operators','off-line-icon','_selfUnitIDs','transform','getDocRanges','debounceTime','endRow','_transformHistoryAndStateStack','OFFLINE','DeleteRangeMoveUpCommandId','SNAPSHOT_INVALID_SNAPSHOT','className','body','font','code','min','handleDeleteRangeMoveUp','addObject','_handleHeartbeatEvent','collabStatus.synced','ColorKit','Inject','@univerjs/sheets-ui','clearTimeout','_toggleOffline','_toggleOnline','collabStatus.offline','@univerjs/docs-ui','then','YUUMI_TABLE_NOT_FOUND_IN_UNIT','collab-text-range-','_range','_removeClearOtherTimer','isArray','onRendered','_session','onStarting','INVITE_CODE_HAS_BEEN_UES','BrowserCollaborationSocketService','_saveCache','with','getTypeOfUnitDisposed$','_entityInit$','range','setAlpha','engine','has','subUnitId','collaboration.single-unit.warning','path','SYNCED','asObservable','propertyIsEnumerable','stringify','addClipboardHook','_disabled','selection','attrs','addHandlerCallback','lineTo','RemoveColCommandId','_docTransformSelectionsService','RECT','YUUMI_ALL_TABLES_IS_INVALID','getParam','@univerjs/core','getUnhiddenWorksheets','MemberService','getSkeleton','toStringTag','CHANGESET_REVISION_CONFILICT','UniverDocs','Vector2','_unitStatus','_onRefRangeChange','_setupSubUnitSync','JOIN_ROOM_FAILED','data','ISocketService','_status$','APPLY_REVISION_CONFILICT','pushState','Subject','#FFF','disposeUnit','_refreshCollabCursors','getOwnPropertyDescriptor','show','OnLineIcon','replaceState','key','DependentOn','UniverSheetsUi','0\x200\x2017\x2016','subscribe','getOffsetConfig','fill','NOT_FOUND','collaboration-client-ui.config','/run/','size','getMemberID','CONNECTOR_DATA_TOO_LARGE','getSheetId','NO_OTHER_CLIENTS_EDITING','_doCreateSocket','4942200edPACK','use','selections','WebURLService','IRenderManagerService','IImageIoService','_docTransformIMECacheService','UNIVER_SHEET','IUniverInstanceService','currentColor','forEach','_getScale','length','fillStyle','UniverIcon','CommandType','_color','EMAIL_VERIFY_CODE_MISMATCH','useRef','transformByState','Module','_localeService','extend','init','defIds','@univerjs/engine-render','m2Prime','white','UniverEngineFormula','_scene','_revisionService','loadUnit','_handleHover','Plugin','UNDEFINED','_send','next','contains','_onCursorUpdate','YUUMI_URL_COL_OUT_OF_RANGE','_initDependencies','editingUnit','INVALID_ARGUMENT','currentSkeleton$','height','RegularPolygon','PERMISSION_DENIED','hide','_instanceService','DeleteRangeMoveLeftCommandId','red.300','resize','isTransformMutationFailure','makeDirty','_sheetSkeletonManagerService','column','univer-flex\x20univer-items-center','1339041tivsiA','top','ACTIVE_UNIT_EVENT_CHANNEL','getUndoRedoMutationParamsCache','_ensureSubject','history','getRelativeToViewportCoord','SOCKET_FAILED','forwardRef','defs','origin','INVITE_CODE_ALREADY_BOUND','handleInsertRangeMoveDown','NodePositionConvertToRectRange','MoveRangeCommandId','fromEvent','jsx','UniverCollaborationClientUIPlugin','ICommandService','MessageType','[CollaborationDataLoaderController]','delete','UniverNetwork','_eventUnsubscribe','ranges','_drawAnchor','clsx','_initEntityListener','LICENSE_MAX_UNITS_EXCEEDED','YUUMI_NO_CUBOID_FOR_QUESTION','_createSocketURL','xlink:href','registerRefRange','transformStateCache','SessionStatus','doc.mutation.rich-text-editing','_getMergeRange','getRangePointData','children','replaceDocRanges','Warning','_collabCursorController','switchMap','disposeWithMe','_docClipboardService','WebBrowserSingleActiveUnitService','UnitStatus','_colorIndex','params','_commandService','YUUMI_AI_RUN_FAILED','20NsPkBB','_scheduleClearOtherTimer','_injector','IUIPartsService','_beforeCloseService','url(#on-line-icon_clip0_910_349)','onPointerEnter$','toString','UniverProCollaborationClientUi','SNAPSHOT_HAS_BEEN_REMOVED','_initStatusListener','getCollabCursors$','collabStatus.syncing','apply','closePath','_collabSessionService','fillText','BehaviorSubject','_logService','activeSheet$','ENSURE_SNAPSHOT_EXECUTION','WECHAT_HAS_BEEN_BOUND','onMouseMove','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY','subunit','OTHER_CLIENTS_EDITING','_docStateChangeManagerService','_assignedColors','uni.network.url-service','name','sessionTicket','getOwnPropertySymbols','currentTheme$','Failed','@univerjs-pro/collaboration','startsWith','_textBubble','_renderManagerService','createElement','DocIMEInputManagerService','clearInterval','createSocket','_roomMembers$','symbol','UPDATE_CURSOR','DocStateChangeManagerService','syncEditingCollabCursor'];_0x1e62=function(){return _0x33bd02;};return _0x1e62();}
1
+ (function(_0x82fff5,_0x4289eb){const _0x14fac0=_0x14fd,_0x1082e1=_0x82fff5();while(!![]){try{const _0x212175=-parseInt(_0x14fac0(0x196))/0x1+parseInt(_0x14fac0(0xba))/0x2*(parseInt(_0x14fac0(0x223))/0x3)+-parseInt(_0x14fac0(0x1c1))/0x4+parseInt(_0x14fac0(0x2e4))/0x5*(-parseInt(_0x14fac0(0x1a7))/0x6)+-parseInt(_0x14fac0(0x35a))/0x7*(-parseInt(_0x14fac0(0xe1))/0x8)+parseInt(_0x14fac0(0x344))/0x9*(-parseInt(_0x14fac0(0x207))/0xa)+parseInt(_0x14fac0(0x229))/0xb;if(_0x212175===_0x4289eb)break;else _0x1082e1['push'](_0x1082e1['shift']());}catch(_0x43fa20){_0x1082e1['push'](_0x1082e1['shift']());}}}(_0x49cd,0x9f17d),function(_0x45c597,_0x4946fa){const _0x1231aa=_0x14fd;typeof exports==_0x1231aa(0x1e5)&&typeof module<'u'?_0x4946fa(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==_0x1231aa(0x285)&&define[_0x1231aa(0x1b1)]?define([_0x1231aa(0xf5),_0x1231aa(0x161),'@univerjs/core',_0x1231aa(0x102),_0x1231aa(0x1ad),'@univerjs/docs-ui',_0x1231aa(0x1f3),_0x1231aa(0x146),'@univerjs-pro/collaboration',_0x1231aa(0x250),_0x1231aa(0xc7),_0x1231aa(0x1e9),'rxjs/operators',_0x1231aa(0x2b8),'react/jsx-runtime',_0x1231aa(0x28e),_0x1231aa(0x154),_0x1231aa(0x1df),'@univerjs/rpc'],_0x4946fa):(_0x45c597=typeof globalThis<'u'?globalThis:_0x45c597||self,_0x4946fa(_0x45c597[_0x1231aa(0x2f8)]={},_0x45c597['UniverProCollaborationClient'],_0x45c597['UniverCore'],_0x45c597[_0x1231aa(0x169)],_0x45c597['UniverNetwork'],_0x45c597[_0x1231aa(0x1b8)],_0x45c597[_0x1231aa(0x255)],_0x45c597[_0x1231aa(0x146)],_0x45c597[_0x1231aa(0x168)],_0x45c597[_0x1231aa(0x127)],_0x45c597[_0x1231aa(0x252)],_0x45c597[_0x1231aa(0x233)],_0x45c597['rxjs']['operators'],_0x45c597[_0x1231aa(0xf8)],_0x45c597[_0x1231aa(0x2ea)],_0x45c597[_0x1231aa(0xdb)],_0x45c597['UniverDesign'],_0x45c597[_0x1231aa(0x2ea)],_0x45c597['UniverRpc']));}(this,function(_0x3cf37a,_0x471b6c,_0x220ae6,_0x1c9625,_0x348a82,_0x5b6656,_0x3f9bcf,_0x217777,_0xeb38aa,_0x4dcc89,_0x1dfe51,_0x33b1ad,_0x3c1af3,_0x5bc939,_0x1028c1,_0x3d52cc,_0x587028,_0x2e1db8,_0xef9193){'use strict';const _0x119853=_0x14fd;var _0x2b678f=Object[_0x119853(0x2ec)],_0x24c2ee=(_0x5ce901,_0x373afe,_0x4bca02)=>_0x373afe in _0x5ce901?_0x2b678f(_0x5ce901,_0x373afe,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x4bca02}):_0x5ce901[_0x373afe]=_0x4bca02,_0x1762f0=(_0x15e5e8,_0x399827,_0x14c406)=>_0x24c2ee(_0x15e5e8,typeof _0x399827!=_0x119853(0x124)?_0x399827+'':_0x399827,_0x14c406),_0x55a8b6=Object[_0x119853(0x150)],_0x2dddce=(_0x213271,_0x3c5f3c,_0x4222c7,_0x24d772)=>{for(var _0x15690a=_0x24d772>0x1?void 0x0:_0x24d772?_0x55a8b6(_0x3c5f3c,_0x4222c7):_0x3c5f3c,_0x43385f=_0x213271['length']-0x1,_0x4a260d;_0x43385f>=0x0;_0x43385f--)(_0x4a260d=_0x213271[_0x43385f])&&(_0x15690a=_0x4a260d(_0x15690a)||_0x15690a);return _0x15690a;},_0x5ec84e=(_0x219184,_0x4ace8a)=>(_0xd922d4,_0xb74742)=>_0x4ace8a(_0xd922d4,_0xb74742,_0x219184);let _0x82c703=class extends _0x220ae6[_0x119853(0x1cf)]{constructor(_0x11f87f,_0x49c8dc){const _0xf249b9=_0x119853;super(),this[_0xf249b9(0x29b)]=_0x11f87f,this[_0xf249b9(0x2a1)]=_0x49c8dc,this[_0xf249b9(0x2aa)]();}[_0x119853(0x2aa)](){const _0x3c6beb=_0x119853,_0x2f083b=this;this['disposeWithMe'](this[_0x3c6beb(0x29b)][_0x3c6beb(0x210)]({'onBeforePasteImage':async _0x52ff63=>{const _0x4119d0=_0x3c6beb,_0x3218be=await _0x2f083b[_0x4119d0(0x2a1)][_0x4119d0(0x1bc)](_0x52ff63);return _0x3218be?{'source':_0x3218be[_0x4119d0(0x260)],'imageSourceType':_0x3218be['imageSourceType']}:null;}}));}};_0x82c703=_0x2dddce([_0x5ec84e(0x0,_0x5b6656[_0x119853(0x21b)]),_0x5ec84e(0x1,_0x3f9bcf[_0x119853(0x181)])],_0x82c703);const _0x38775c=[_0x119853(0x129),_0x119853(0x2fc),_0x119853(0x134),_0x119853(0x111),'blue.400',_0x119853(0x327)];class _0x340bdb extends _0x220ae6[_0x119853(0x215)]{constructor(){const _0x49da74=_0x119853;super(...arguments),_0x1762f0(this,'_assignedColors',new Map()),_0x1762f0(this,_0x49da74(0x315),0x0);}[_0x119853(0xf9)](_0x42be2f){const _0x5aa9fb=_0x119853;if(this[_0x5aa9fb(0x105)][_0x5aa9fb(0x121)](_0x42be2f))return this['_assignedColors']['get'](_0x42be2f);const _0x3c221c=_0x38775c[this[_0x5aa9fb(0x315)]];return this[_0x5aa9fb(0x315)]=(this[_0x5aa9fb(0x315)]+0x1)%_0x38775c[_0x5aa9fb(0x346)],this[_0x5aa9fb(0x105)][_0x5aa9fb(0x26d)](_0x42be2f,_0x3c221c),_0x3c221c;}}function _0x2ea802(_0x344290){let _0x36c76f='';for(const _0xeaf78d of _0x344290){const {startOffset:_0x5427ab,endOffset:_0x4840a7,isActive:_0x27f5b4,rangeType:_0xde7c3f,segmentId:_0x42ece8,segmentPage:_0x40ddd5}=_0xeaf78d;_0x36c76f['length']&&(_0x36c76f+=','),_0x36c76f+=_0x5427ab+':'+_0x4840a7+':'+(_0x27f5b4?'1':'0')+':'+_0xde7c3f+':'+_0x42ece8+':'+_0x40ddd5;}return _0x36c76f;}function _0x3aad9f(_0x338c44){const _0x2dbd21=_0x119853,_0x5bfa1f=_0x338c44['split'](','),_0x1180da=[];for(const _0x3c99ec of _0x5bfa1f){const [_0x509f59,_0x388673,_0x474194,_0x5e70eb,_0x4b30b2,_0xa75c1b]=_0x3c99ec[_0x2dbd21(0x256)](':');_0x1180da[_0x2dbd21(0x1c6)]({'startOffset':Number(_0x509f59),'endOffset':Number(_0x388673),'collapsed':_0x509f59===_0x388673,'isActive':_0x474194==='1','rangeType':_0x5e70eb===_0x220ae6[_0x2dbd21(0x1ae)][_0x2dbd21(0xf4)]?_0x220ae6[_0x2dbd21(0x1ae)][_0x2dbd21(0xf4)]:_0x220ae6[_0x2dbd21(0x1ae)][_0x2dbd21(0x235)],'segmentId':typeof _0x4b30b2==_0x2dbd21(0x236)?String(_0x4b30b2):'','segmentPage':Number(_0xa75c1b!=null?_0xa75c1b:-0x1)});}return _0x1180da['some'](_0x1c9f80=>_0x1c9f80[_0x2dbd21(0x31e)])||(_0x1180da[0x0]['isActive']=!0x0),_0x1180da;}class _0x53d983 extends _0x220ae6[_0x119853(0x1cf)]{constructor(){const _0x343644=_0x119853;super(...arguments),_0x1762f0(this,'_collabCursorState$',new _0x217777['BehaviorSubject'](null)),_0x1762f0(this,_0x343644(0x1c3),this[_0x343644(0x23d)][_0x343644(0x323)]());}[_0x119853(0x1b0)](_0x1d3d9f){const _0x4677ce=_0x119853,{unitID:_0x3c0eb0,memberID:_0x478ea5,textRanges:_0x2e05e9}=_0x1d3d9f,_0x34e34d=_0x2ea802(_0x2e05e9);if(_0x34e34d==='')return;const _0x5ae852={'unitID':_0x3c0eb0,'memberID':_0x478ea5,'selection':_0x34e34d};this[_0x4677ce(0x23d)][_0x4677ce(0x316)](_0x5ae852);}}var _0x250093=Object[_0x119853(0x150)],_0x35db89=(_0x1a770f,_0x4c57cd,_0x208018,_0x6ba92)=>{const _0x35e39e=_0x119853;for(var _0x1ce295=_0x6ba92>0x1?void 0x0:_0x6ba92?_0x250093(_0x4c57cd,_0x208018):_0x4c57cd,_0x51ff57=_0x1a770f[_0x35e39e(0x346)]-0x1,_0x178bd9;_0x51ff57>=0x0;_0x51ff57--)(_0x178bd9=_0x1a770f[_0x51ff57])&&(_0x1ce295=_0x178bd9(_0x1ce295)||_0x1ce295);return _0x1ce295;},_0x3a6c20=(_0x360880,_0x3ea22f)=>(_0x455cac,_0x4be72)=>_0x3ea22f(_0x455cac,_0x4be72,_0x360880);const _0xcf6391=0x12c,_0x502ea6=0x64;let _0xd049cc=class extends _0x220ae6[_0x119853(0x1cf)]{constructor(_0x13f20d,_0x55386d,_0x2abe59,_0x5052b4,_0x3f5ee0,_0x5b8643,_0x2ba202,_0x25378e,_0x106551){const _0x2277c1=_0x119853;super(),_0x1762f0(this,_0x2277c1(0xef),!0x1),_0x1762f0(this,_0x2277c1(0x2aa),!0x1),_0x1762f0(this,'_cursorInfo$',new _0x217777['BehaviorSubject'](new Map())),_0x1762f0(this,_0x2277c1(0x151),this[_0x2277c1(0x2b4)][_0x2277c1(0x323)]()),_0x1762f0(this,'_roomMembers$',new _0x217777[(_0x2277c1(0x17b))]([])),_0x1762f0(this,_0x2277c1(0xee),this[_0x2277c1(0x2ca)][_0x2277c1(0x31a)](_0x217777[_0x2277c1(0x1d0)](_0xcf6391))),_0x1762f0(this,_0x2277c1(0xf2),_0x220ae6['debounce'](_0x55827d=>{const _0x5a568a=_0x2277c1,_0x6e8f1a={'eventID':_0xeb38aa[_0x5a568a(0x284)]['UPDATE_CURSOR'],'data':{'unitID':this[_0x5a568a(0x226)],'memberID':this['_session'][_0x5a568a(0x13c)](),'selection':_0x2ea802(_0x55827d)}};this[_0x5a568a(0x280)]['send'](_0x6e8f1a,this[_0x5a568a(0x226)]);},_0x502ea6)),(this[_0x2277c1(0x226)]=_0x13f20d,this[_0x2277c1(0x280)]=_0x55386d,this[_0x2277c1(0x10a)]=_0x2abe59,this[_0x2277c1(0x2cd)]=_0x5052b4,this[_0x2277c1(0x187)]=_0x3f5ee0,this[_0x2277c1(0x14b)]=_0x5b8643,this['_transformService']=_0x2ba202,this[_0x2277c1(0x142)]=_0x25378e,this['_commandService']=_0x106551);}get[_0x119853(0x213)](){const _0x2cf293=_0x119853;return this[_0x2cf293(0x2b4)]['getValue']();}get[_0x119853(0x11f)](){const _0x275e54=_0x119853;return this['_roomMembers$'][_0x275e54(0x12a)]();}[_0x119853(0x2c5)](){const _0x54572b=_0x119853;super[_0x54572b(0x2c5)](),this[_0x54572b(0x2b4)][_0x54572b(0x316)](new Map()),this[_0x54572b(0x2b4)][_0x54572b(0x136)](),this[_0x54572b(0x2ca)]['next']([]),this[_0x54572b(0x2ca)][_0x54572b(0x136)]();}[_0x119853(0x258)](){const _0x538bca=_0x119853;this[_0x538bca(0x2aa)]||(this[_0x538bca(0x2aa)]=!0x0,this[_0x538bca(0x280)]['sessionStatus$'][_0x538bca(0x31a)](_0x217777[_0x538bca(0x23a)](this['dispose$']))[_0x538bca(0x1b9)](_0x5a6f9c=>{const _0x26c947=_0x538bca;_0x5a6f9c===_0x471b6c[_0x26c947(0x158)][_0x26c947(0x13b)]?this[_0x26c947(0x1b7)]():this[_0x26c947(0x125)]();}),this[_0x538bca(0x280)][_0x538bca(0x14d)][_0x538bca(0x31a)](_0x217777[_0x538bca(0x23a)](this[_0x538bca(0xbe)]))[_0x538bca(0x1b9)](_0xffdec9=>{const _0x3f4741=_0x538bca,_0x532058=_0xffdec9[_0x3f4741(0x211)];_0x532058===_0xeb38aa['CollaborationEvent'][_0x3f4741(0x1fd)]&&this['_onCursorUpdate'](_0xffdec9),_0x532058===_0xeb38aa['CollaborationEvent'][_0x3f4741(0x2a7)]&&this[_0x3f4741(0x32e)](_0xffdec9);}),this[_0x538bca(0xf3)](this['_commandService'][_0x538bca(0x11d)](_0x5aef75=>{const _0x596d4f=_0x538bca,_0x3a723c=_0x5aef75[_0x596d4f(0x25a)];_0x3a723c!=null&&this[_0x596d4f(0xef)]&&_0x5aef75['id']===_0x4dcc89[_0x596d4f(0x31b)]['id']&&_0x3a723c['unitId']===this[_0x596d4f(0x226)]&&_0x3a723c[_0x596d4f(0x221)]===!0x1&&_0x3a723c[_0x596d4f(0x19d)][_0x596d4f(0x346)]>0x0&&this['_updateLocalCursor'](_0x3a723c['ranges']);})),this[_0x538bca(0x14b)][_0x538bca(0x1c3)][_0x538bca(0x31a)](_0x217777[_0x538bca(0x23a)](this['dispose$']))[_0x538bca(0x1b9)](_0x43b05f=>{const _0x3ea8a0=_0x538bca;if((_0x43b05f==null?void 0x0:_0x43b05f[_0x3ea8a0(0x226)])!==this[_0x3ea8a0(0x226)])return;const _0x69518={'eventID':_0xeb38aa[_0x3ea8a0(0x284)][_0x3ea8a0(0x1fd)],'data':_0x43b05f};this[_0x3ea8a0(0x271)](_0x69518);}),this[_0x538bca(0xf3)](this[_0x538bca(0x155)][_0x538bca(0x11d)](_0x314ef4=>{const _0x21ac3c=_0x538bca;if(_0x314ef4['params']==null)return;const _0x1f089a=_0x314ef4[_0x21ac3c(0x25a)];if(_0x314ef4['id']!==_0x4dcc89[_0x21ac3c(0x15a)]['id']||_0x1f089a[_0x21ac3c(0x357)]!==this['unitID'])return;const _0x274032={'id':'doc.mutation.rich-text-editing','params':_0x1f089a},_0x462072=this[_0x21ac3c(0x213)];for(const [_0x5a1270,_0x5cddde]of _0x462072){const _0x2d06aa={'id':_0x21ac3c(0x319),'params':{'unitId':this[_0x21ac3c(0x226)],'actions':null,'textRanges':_0x5cddde['ranges']}},_0x2d3f8d=this[_0x21ac3c(0xf0)][_0x21ac3c(0x20d)](_0x274032,_0x2d06aa,!0x1);if(_0xeb38aa['isTransformMutationFailure'](_0x2d3f8d))throw _0x2d3f8d['error'];_0x462072[_0x21ac3c(0x26d)](_0x5a1270,{..._0x5cddde,'ranges':_0x2d3f8d[_0x21ac3c(0x156)][_0x21ac3c(0x25a)]['textRanges']});}queueMicrotask(()=>{const _0x3e3bc7=_0x21ac3c;this['_cursorInfo$'][_0x3e3bc7(0x316)](_0x462072);});})));}[_0x119853(0x271)](_0x24c24d){const _0x52a416=_0x119853;var _0x359b4e,_0x5c47d3;const {memberID:_0x111a92,selection:_0x38bf13}=_0x24c24d[_0x52a416(0x351)],_0x565d99=_0x3aad9f(_0x38bf13),_0x1929a7=(_0x5c47d3=(_0x359b4e=this['_memberService'][_0x52a416(0x1ba)](this[_0x52a416(0x226)],_0x111a92))==null?void 0x0:_0x359b4e[_0x52a416(0x1bf)])!=null?_0x5c47d3:_0x52a416(0x1fa),_0x3c717c={'color':this[_0x52a416(0x2cd)][_0x52a416(0xf9)](_0x111a92),'name':_0x1929a7,'ranges':_0x565d99},_0x557d8d=this[_0x52a416(0x213)];_0x557d8d[_0x52a416(0x26d)](_0x111a92,_0x3c717c),this['_cursorInfo$'][_0x52a416(0x316)](_0x557d8d);}[_0x119853(0x32e)](_0x9f46d7){const _0x23db0a=_0x119853,{memberID:_0x53fdc9}=_0x9f46d7[_0x23db0a(0x351)],_0x1a8758=this['cursorInfo'];_0x1a8758[_0x23db0a(0x1e6)](_0x53fdc9),this[_0x23db0a(0x2b4)][_0x23db0a(0x316)](_0x1a8758);}[_0x119853(0x1b7)](){const _0x2aab89=_0x119853;var _0x55b810;if(this[_0x2aab89(0xef)]=!0x0,((_0x55b810=this[_0x2aab89(0x142)][_0x2aab89(0x1a1)]())==null?void 0x0:_0x55b810[_0x2aab89(0x152)]())!==this[_0x2aab89(0x226)])return;const _0x4141ff=this[_0x2aab89(0x10a)]['get'](_0x4dcc89[_0x2aab89(0x33d)])['getDocRanges']();Array[_0x2aab89(0xfa)](_0x4141ff)&&_0x4141ff[_0x2aab89(0x346)]>0x0&&this[_0x2aab89(0xf2)](_0x4141ff);}[_0x119853(0x125)](){const _0x43e780=_0x119853;this[_0x43e780(0xef)]=!0x1;}};_0xd049cc=_0x35db89([_0x3a6c20(0x2,_0x220ae6[_0x119853(0x1c9)](_0x220ae6['Injector'])),_0x3a6c20(0x3,_0x220ae6['Inject'](_0x340bdb)),_0x3a6c20(0x4,_0x220ae6[_0x119853(0x1c9)](_0x471b6c[_0x119853(0x312)])),_0x3a6c20(0x5,_0x220ae6[_0x119853(0x1c9)](_0x53d983)),_0x3a6c20(0x6,_0xeb38aa[_0x119853(0x2f3)]),_0x3a6c20(0x7,_0x220ae6[_0x119853(0x195)]),_0x3a6c20(0x8,_0x220ae6['ICommandService'])],_0xd049cc);var _0x52e6bf=Object[_0x119853(0x150)],_0x28eb8b=(_0x1f07fe,_0x32364f,_0x20d80b,_0x3a4999)=>{const _0x3757a5=_0x119853;for(var _0x5ea091=_0x3a4999>0x1?void 0x0:_0x3a4999?_0x52e6bf(_0x32364f,_0x20d80b):_0x32364f,_0x5d9170=_0x1f07fe[_0x3757a5(0x346)]-0x1,_0x229142;_0x5d9170>=0x0;_0x5d9170--)(_0x229142=_0x1f07fe[_0x5d9170])&&(_0x5ea091=_0x229142(_0x5ea091)||_0x5ea091);return _0x5ea091;},_0x511f30=(_0x5ede0f,_0x27b148)=>(_0x122ff5,_0x41b80f)=>_0x27b148(_0x122ff5,_0x41b80f,_0x5ede0f);const _0x22980b=0x12c,_0x117eea=0x64,_0xc9fe8c=()=>{let _0x56bc8e=[],_0x4914cb=!0x1;return _0x39a0d7=>{const _0x4f4fdc=_0x14fd;_0x56bc8e[_0x4f4fdc(0x1c6)](_0x39a0d7),_0x4914cb||(_0x4914cb=!0x0,setTimeout(()=>{const _0x304e00=_0x4f4fdc;_0x56bc8e[_0x304e00(0xfd)](_0x1700d6=>_0x1700d6()),_0x56bc8e=[],_0x4914cb=!0x1;}));};};let _0x4a2fba=class extends _0x220ae6[_0x119853(0x1cf)]{constructor(_0x26dc60,_0x392783,_0x2e7ea6,_0x1aebd0,_0xff84de,_0x51a2c5,_0x52349e,_0x24f6a1){const _0x1cbb3a=_0x119853;super(),_0x1762f0(this,_0x1cbb3a(0xef),!0x1),_0x1762f0(this,_0x1cbb3a(0x2aa),!0x1),_0x1762f0(this,'_cursorInfo$',new _0x217777[(_0x1cbb3a(0x17b))](new Map())),_0x1762f0(this,_0x1cbb3a(0x151),this[_0x1cbb3a(0x2b4)]['asObservable']()),_0x1762f0(this,_0x1cbb3a(0x2ca),new _0x217777['BehaviorSubject']([])),_0x1762f0(this,_0x1cbb3a(0xee),this[_0x1cbb3a(0x2ca)][_0x1cbb3a(0x31a)](_0x217777['debounceTime'](_0x22980b))),_0x1762f0(this,_0x1cbb3a(0xf2),_0x220ae6[_0x1cbb3a(0x276)]((_0x183a31,_0x3ab0c9)=>{const _0x1be9ad=_0x1cbb3a,_0x115bdd={'eventID':_0xeb38aa['CollaborationEvent'][_0x1be9ad(0x1fd)],'data':{'unitID':this['unitID'],'memberID':this[_0x1be9ad(0x280)]['getMemberID'](),'selection':_0x1dfe51[_0x1be9ad(0x1ff)](_0x183a31,_0x3ab0c9[_0x1be9ad(0x2e7)])}};this['_session'][_0x1be9ad(0x2d3)](_0x115bdd,this['unitID']);},_0x117eea)),(this[_0x1cbb3a(0x226)]=_0x26dc60,this[_0x1cbb3a(0x280)]=_0x392783,this[_0x1cbb3a(0x10a)]=_0x2e7ea6,this[_0x1cbb3a(0x2cd)]=_0x1aebd0,this[_0x1cbb3a(0x187)]=_0xff84de,this[_0x1cbb3a(0x142)]=_0x51a2c5,this[_0x1cbb3a(0x155)]=_0x52349e,this[_0x1cbb3a(0x1f6)]=_0x24f6a1);}get[_0x119853(0x213)](){const _0x514d00=_0x119853;return this[_0x514d00(0x2b4)]['getValue']();}get[_0x119853(0x11f)](){const _0x41f70d=_0x119853;return this[_0x41f70d(0x2ca)][_0x41f70d(0x12a)]();}[_0x119853(0x2c5)](){const _0x378cef=_0x119853;super['dispose'](),this[_0x378cef(0x2b4)]['next'](new Map()),this[_0x378cef(0x2b4)][_0x378cef(0x136)](),this[_0x378cef(0x2ca)]['next']([]),this['_roomMembers$']['complete']();}[_0x119853(0x258)](){const _0x5a62dd=_0x119853;this['_init']||(this[_0x5a62dd(0x2aa)]=!0x0,this['_session'][_0x5a62dd(0x2bb)][_0x5a62dd(0x31a)](_0x217777[_0x5a62dd(0x23a)](this[_0x5a62dd(0xbe)]))[_0x5a62dd(0x1b9)](_0x1f2d60=>{const _0x4f58f4=_0x5a62dd;_0x1f2d60===_0x471b6c[_0x4f58f4(0x158)][_0x4f58f4(0x13b)]?this[_0x4f58f4(0x1b7)]():this[_0x4f58f4(0x125)]();}),this[_0x5a62dd(0x280)][_0x5a62dd(0x14d)][_0x5a62dd(0x31a)](_0x217777[_0x5a62dd(0x23a)](this[_0x5a62dd(0xbe)]))[_0x5a62dd(0x1b9)](_0x55a51d=>{const _0x5c1b6f=_0x5a62dd,_0x17f464=_0x55a51d[_0x5c1b6f(0x211)];_0x17f464===_0xeb38aa[_0x5c1b6f(0x284)][_0x5c1b6f(0x1fd)]&&this['_onCursorUpdate'](_0x55a51d),_0x17f464===_0xeb38aa[_0x5c1b6f(0x284)][_0x5c1b6f(0x2a7)]&&this['_onCursorDelete'](_0x55a51d);}),this[_0x5a62dd(0x205)](),this[_0x5a62dd(0xf3)](this[_0x5a62dd(0x155)][_0x5a62dd(0x11d)](_0x1e93e0=>{const _0x127e04=_0x5a62dd;if(this['_online']&&_0x1e93e0['id']===_0x33b1ad[_0x127e04(0x185)]['id']&&_0x1e93e0[_0x127e04(0x25a)]['unitId']===this[_0x127e04(0x226)]){const _0x319a4e=_0x1e93e0[_0x127e04(0x25a)];this[_0x127e04(0xf2)](_0x319a4e['subUnitId'],_0x319a4e['selections'][0x0]);}})));}[_0x119853(0x271)](_0xd1f01f){const _0x3f0753=_0x119853;var _0x167f8f,_0x28f671;const {memberID:_0x2816a5,selection:_0x16cd69}=_0xd1f01f[_0x3f0753(0x351)],{sheetName:_0x36bb1a,range:_0x41b175}=_0x1dfe51[_0x3f0753(0xd0)](_0x16cd69),_0x35ea40={'name':(_0x28f671=(_0x167f8f=this['_memberService'][_0x3f0753(0x1ba)](this[_0x3f0753(0x226)],_0x2816a5))==null?void 0x0:_0x167f8f['name'])!=null?_0x28f671:_0x3f0753(0x1fa),'range':this[_0x3f0753(0x30f)](_0x36bb1a,_0x41b175),'sheetID':_0x36bb1a,'color':this[_0x3f0753(0x2cd)][_0x3f0753(0xf9)](_0x2816a5),'selection':_0x16cd69},_0x598b09=this[_0x3f0753(0x213)];_0x598b09[_0x3f0753(0x26d)](_0x2816a5,_0x35ea40),this['_cursorInfo$'][_0x3f0753(0x316)](_0x598b09);}[_0x119853(0x32e)](_0xbf3fbc){const _0x143e09=_0x119853,{memberID:_0x3ea8fb}=_0xbf3fbc[_0x143e09(0x351)],_0x2811d5=this['cursorInfo'];_0x2811d5[_0x143e09(0x1e6)](_0x3ea8fb),this[_0x143e09(0x2b4)][_0x143e09(0x316)](_0x2811d5);}[_0x119853(0x30f)](_0x2d5752,_0x506e0a){const _0x1bfc96=_0x119853;var _0x1f7f3b,_0x285f7a;const _0x513312=(_0x285f7a=(_0x1f7f3b=this[_0x1bfc96(0x142)][_0x1bfc96(0x2b7)](this[_0x1bfc96(0x226)]))==null?void 0x0:_0x1f7f3b[_0x1bfc96(0x137)](_0x2d5752))==null?void 0x0:_0x285f7a[_0x1bfc96(0x320)]();return(_0x513312==null?void 0x0:_0x513312[_0x1bfc96(0x347)](_0x3ea64e=>_0x220ae6[_0x1bfc96(0xbd)]['contains'](_0x3ea64e,_0x506e0a)))||_0x506e0a;}['_onRefRangeChange'](){const _0x425207=_0x119853,_0x539913=new _0x220ae6[(_0x425207(0x341))](),_0x565b6f=_0xc9fe8c(),_0x53998d=()=>{const _0x4e7b61=_0x425207;_0x539913[_0x4e7b61(0x2c5)]();const _0x103a46=(_0x2c6497,_0x2b768e,_0x4babd1,_0x338082)=>{const _0x495fb4=_0x4e7b61;let _0x5467de=[];switch(_0x2c6497['id']){case _0x33b1ad['EffectRefRangId'][_0x495fb4(0x1dd)]:{_0x5467de=_0x33b1ad[_0x495fb4(0x222)](_0x2c6497,_0x338082);break;}case _0x33b1ad['EffectRefRangId'][_0x495fb4(0xb4)]:{_0x5467de=_0x33b1ad[_0x495fb4(0x10c)](_0x2c6497,_0x338082);break;}case _0x33b1ad[_0x495fb4(0x356)][_0x495fb4(0x31f)]:{_0x5467de=_0x33b1ad['handleInsertCol'](_0x2c6497,_0x338082);break;}case _0x33b1ad[_0x495fb4(0x356)][_0x495fb4(0x193)]:{_0x5467de=_0x33b1ad['handleInsertRangeMoveDown'](_0x2c6497,_0x338082);break;}case _0x33b1ad[_0x495fb4(0x356)][_0x495fb4(0x22c)]:{_0x5467de=_0x33b1ad[_0x495fb4(0x19e)](_0x2c6497,_0x338082);break;}case _0x33b1ad['EffectRefRangId'][_0x495fb4(0x2e2)]:{_0x5467de=_0x33b1ad[_0x495fb4(0x12d)](_0x2c6497,_0x338082);break;}case _0x33b1ad[_0x495fb4(0x356)][_0x495fb4(0x180)]:{_0x5467de=_0x33b1ad[_0x495fb4(0x16b)](_0x2c6497,_0x338082);break;}case _0x33b1ad[_0x495fb4(0x356)][_0x495fb4(0x261)]:{_0x5467de=_0x33b1ad['handleIRemoveCol'](_0x2c6497,_0x338082);break;}case _0x33b1ad[_0x495fb4(0x356)][_0x495fb4(0x1ab)]:{_0x5467de=_0x33b1ad['handleIRemoveRow'](_0x2c6497,_0x338082);break;}}const _0x3c1753=_0x33b1ad[_0x495fb4(0x20b)](_0x5467de,_0x338082),_0x29b9c2=this[_0x495fb4(0x213)][_0x495fb4(0x2c2)](_0x2b768e);if(_0x29b9c2&&_0x3c1753){const _0x7faaea={..._0x29b9c2,'range':_0x3c1753};this[_0x495fb4(0x213)][_0x495fb4(0x26d)](_0x2b768e,_0x7faaea),_0x565b6f(()=>{const _0x469280=_0x495fb4,_0x34b53d=this[_0x469280(0x1f6)][_0x469280(0x34d)](_0x3c1753,_0x456d79=>(_0x34b53d[_0x469280(0x2c5)](),_0x103a46(_0x456d79,_0x2b768e,_0x4babd1,_0x3c1753)));_0x539913[_0x469280(0x34b)](_0x34b53d);});}return{'redos':[],'undos':[]};};this[_0x4e7b61(0x213)][_0x4e7b61(0xfd)]((_0x2cc894,_0x3179e2)=>{const _0x40d695=_0x4e7b61,{range:_0x2f64a7,sheetID:_0x2ca631}=_0x2cc894,_0x4460b5=this[_0x40d695(0x1f6)][_0x40d695(0x34d)](_0x2f64a7,_0x533151=>(_0x4460b5[_0x40d695(0x2c5)](),_0x103a46(_0x533151,_0x3179e2,_0x2ca631,_0x2f64a7)));_0x539913[_0x40d695(0x34b)](_0x4460b5);});};this[_0x425207(0xf3)](_0x220ae6[_0x425207(0x2ef)](this['_cursorInfo$'][_0x425207(0x1b9)](()=>{_0x53998d();})));}[_0x119853(0x1b7)](){const _0x4bd76e=_0x119853;var _0x44a20f,_0xb82cd5;if(this[_0x4bd76e(0xef)]=!0x0,((_0x44a20f=this[_0x4bd76e(0x142)][_0x4bd76e(0x1a1)]())==null?void 0x0:_0x44a20f[_0x4bd76e(0x152)]())!==this['unitID'])return;const _0x2fe484=(_0xb82cd5=this[_0x4bd76e(0x10a)][_0x4bd76e(0x2c2)](_0x33b1ad[_0x4bd76e(0x303)])[_0x4bd76e(0x286)]())==null?void 0x0:_0xb82cd5[0x0],_0x3c2577=this[_0x4bd76e(0x142)][_0x4bd76e(0x25d)](_0x220ae6[_0x4bd76e(0x175)][_0x4bd76e(0x197)])['getActiveSheet']();_0x2fe484&&_0x3c2577&&this[_0x4bd76e(0xf2)](_0x3c2577[_0x4bd76e(0xb8)](),_0x2fe484);}['_toggleOffline'](){const _0x50cdfe=_0x119853;this[_0x50cdfe(0xef)]=!0x1;}};_0x4a2fba=_0x28eb8b([_0x511f30(0x2,_0x220ae6[_0x119853(0x1c9)](_0x220ae6[_0x119853(0x22a)])),_0x511f30(0x3,_0x220ae6['Inject'](_0x340bdb)),_0x511f30(0x4,_0x220ae6[_0x119853(0x1c9)](_0x471b6c['MemberService'])),_0x511f30(0x5,_0x220ae6[_0x119853(0x195)]),_0x511f30(0x6,_0x220ae6[_0x119853(0xf1)]),_0x511f30(0x7,_0x220ae6[_0x119853(0x1c9)](_0x33b1ad['RefRangeService']))],_0x4a2fba);var _0x5a1127=Object[_0x119853(0x150)],_0xb7d257=(_0x58998d,_0x4020b9,_0x3b276d,_0x450d90)=>{const _0x376b44=_0x119853;for(var _0x1bb549=_0x450d90>0x1?void 0x0:_0x450d90?_0x5a1127(_0x4020b9,_0x3b276d):_0x4020b9,_0x348060=_0x58998d[_0x376b44(0x346)]-0x1,_0x3f66bc;_0x348060>=0x0;_0x348060--)(_0x3f66bc=_0x58998d[_0x348060])&&(_0x1bb549=_0x3f66bc(_0x1bb549)||_0x1bb549);return _0x1bb549;},_0x5ba663=(_0x145c02,_0x956824)=>(_0x108666,_0x469def)=>_0x956824(_0x108666,_0x469def,_0x145c02);let _0x193db8=class extends _0x220ae6[_0x119853(0x1cf)]{constructor(_0x34bdcc,_0x31392c,_0x18dc50){const _0x519129=_0x119853;super(),_0x1762f0(this,_0x519129(0x101),new Map()),_0x1762f0(this,_0x519129(0x18a),new _0x217777[(_0x519129(0x2b5))]()),(this[_0x519129(0x142)]=_0x34bdcc,this['_injector']=_0x31392c,this['_collabSessionService']=_0x18dc50,this[_0x519129(0x2aa)]());}[_0x119853(0x2c5)](){const _0x3d8d40=_0x119853;super[_0x3d8d40(0x2c5)](),this['_entityInit$'][_0x3d8d40(0x136)](),this[_0x3d8d40(0x101)]['forEach'](_0x1a872e=>_0x1a872e[_0x3d8d40(0x2c5)]());}[_0x119853(0x1e4)](_0x3fe788){const _0x4da418=_0x119853;return this['_entities'][_0x4da418(0x121)](_0x3fe788)?this['_entities'][_0x4da418(0x2c2)](_0x3fe788)['cursorInfo$']:this[_0x4da418(0x18a)]['pipe'](_0x217777[_0x4da418(0x288)](_0x33b269=>_0x33b269[_0x4da418(0x226)]===_0x3fe788),_0x217777[_0x4da418(0xc5)](_0x1a9874=>_0x1a9874['cursorInfo$']));}[_0x119853(0x2aa)](){const _0x4a4107=_0x119853;this[_0x4a4107(0x142)]['getTypeOfUnitAdded$'](_0x220ae6[_0x4a4107(0x175)][_0x4a4107(0x197)])[_0x4a4107(0x31a)](_0x217777[_0x4a4107(0x23a)](this[_0x4a4107(0xbe)]))[_0x4a4107(0x1b9)](async _0x480aef=>{const _0x109aa6=_0x4a4107,_0x401ef2=_0x480aef[_0x109aa6(0x152)](),_0x3a8b0f=await this[_0x109aa6(0x25f)](_0x401ef2);this[_0x109aa6(0x18a)][_0x109aa6(0x316)](_0x3a8b0f),this[_0x109aa6(0x101)][_0x109aa6(0x26d)](_0x401ef2,_0x3a8b0f);}),this[_0x4a4107(0x142)]['getTypeOfUnitAdded$'](_0x220ae6[_0x4a4107(0x175)][_0x4a4107(0x27e)])['pipe'](_0x217777[_0x4a4107(0x23a)](this[_0x4a4107(0xbe)]))[_0x4a4107(0x31a)](_0x217777[_0x4a4107(0x288)](_0x479979=>!_0x479979['getUnitId']()[_0x4a4107(0x148)]('__')))[_0x4a4107(0x1b9)](async _0x144d19=>{const _0x4f5180=_0x4a4107,_0x4302d0=_0x144d19[_0x4f5180(0x152)](),_0x15428e=await this[_0x4f5180(0x274)](_0x4302d0);this[_0x4f5180(0x18a)]['next'](_0x15428e),this[_0x4f5180(0x101)][_0x4f5180(0x26d)](_0x4302d0,_0x15428e);}),_0x217777[_0x4a4107(0x12f)](this[_0x4a4107(0x142)][_0x4a4107(0xea)](_0x220ae6[_0x4a4107(0x175)][_0x4a4107(0x27e)]),this['_univerInstanceService']['getTypeOfUnitDisposed$'](_0x220ae6[_0x4a4107(0x175)]['UNIVER_SHEET']))['pipe'](_0x217777[_0x4a4107(0x23a)](this['dispose$']))[_0x4a4107(0x1b9)](_0x15fbb2=>{const _0x1e7b25=_0x4a4107,_0x1d2951=_0x15fbb2[_0x1e7b25(0x152)](),_0x13fb05=this[_0x1e7b25(0x101)][_0x1e7b25(0x2c2)](_0x1d2951);_0x13fb05&&(_0x13fb05[_0x1e7b25(0x2c5)](),this[_0x1e7b25(0x101)]['delete'](_0x1d2951));});}async[_0x119853(0x25f)](_0x3afc83){const _0x1fb73b=_0x119853,_0x17dd62=await this['_collabSessionService']['requireSession'](_0x3afc83),_0x8c8173=this['_injector'][_0x1fb73b(0x184)](_0x4a2fba,_0x3afc83,_0x17dd62);return _0x8c8173['init'](),_0x8c8173;}async[_0x119853(0x274)](_0x48405e){const _0x51ff33=_0x119853,_0x1f7eb4=await this[_0x51ff33(0x263)][_0x51ff33(0x1ac)](_0x48405e),_0x2047e2=this[_0x51ff33(0x10a)][_0x51ff33(0x184)](_0xd049cc,_0x48405e,_0x1f7eb4);return _0x2047e2[_0x51ff33(0x258)](),_0x2047e2;}};_0x193db8=_0xb7d257([_0x5ba663(0x0,_0x220ae6[_0x119853(0x195)]),_0x5ba663(0x1,_0x220ae6['Inject'](_0x220ae6[_0x119853(0x22a)])),_0x5ba663(0x2,_0x220ae6['Inject'](_0x471b6c['CollaborationSessionService']))],_0x193db8);const _0x19682e=0x14,_0x1c8e2c=0xc8,_0x482779=0x4,_0x1495bf=0x5;function _0x203306(_0x2d5a67,_0x31619b){const _0x277d35=_0x119853;let {radius:_0x4e5115,width:_0x4fd6d0,height:_0x1f1a6c}=_0x31619b;_0x4e5115=_0x4e5115!=null?_0x4e5115:0x0,_0x4fd6d0=_0x4fd6d0!=null?_0x4fd6d0:0x1e,_0x1f1a6c=_0x1f1a6c!=null?_0x1f1a6c:0x1e;let _0x12c51e=0x0,_0x5a5339=0x0,_0x5d9e70=0x0;_0x12c51e=_0x5a5339=_0x5d9e70=Math['min'](_0x4e5115,_0x4fd6d0/0x2,_0x1f1a6c/0x2),_0x2d5a67['beginPath'](),_0x2d5a67[_0x277d35(0x1be)](_0x12c51e,0x0),_0x2d5a67[_0x277d35(0x20e)](_0x4fd6d0-_0x5a5339,0x0),_0x2d5a67[_0x277d35(0x264)](_0x4fd6d0-_0x5a5339,_0x5a5339,_0x5a5339,Math['PI']*0x3/0x2,0x0,!0x1),_0x2d5a67[_0x277d35(0x20e)](_0x4fd6d0,_0x1f1a6c-_0x5d9e70),_0x2d5a67['arc'](_0x4fd6d0-_0x5d9e70,_0x1f1a6c-_0x5d9e70,_0x5d9e70,0x0,Math['PI']/0x2,!0x1),_0x2d5a67[_0x277d35(0x20e)](0x0,_0x1f1a6c),_0x2d5a67['lineTo'](0x0,_0x12c51e),_0x2d5a67[_0x277d35(0x264)](_0x12c51e,_0x12c51e,_0x12c51e,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x2d5a67[_0x277d35(0x265)](),_0x31619b[_0x277d35(0x2d5)]&&(_0x2d5a67[_0x277d35(0x2c6)](),_0x2d5a67[_0x277d35(0xed)]=_0x31619b[_0x277d35(0x2d5)],_0x31619b['fillRule']===_0x277d35(0x182)?_0x2d5a67[_0x277d35(0x2d5)](_0x277d35(0x182)):_0x2d5a67[_0x277d35(0x2d5)](),_0x2d5a67[_0x277d35(0xd5)]());}class _0x5b107a extends _0x1c9625[_0x119853(0x1fc)]{constructor(_0x1ce17b,_0x4b2f59){const _0x247d43=_0x119853;super(_0x1ce17b,_0x4b2f59),_0x1762f0(this,_0x247d43(0x267)),_0x1762f0(this,_0x247d43(0x299)),(this[_0x247d43(0x267)]=_0x4b2f59==null?void 0x0:_0x4b2f59[_0x247d43(0x267)],this[_0x247d43(0x299)]=_0x4b2f59==null?void 0x0:_0x4b2f59['text']);}static[_0x119853(0xbb)](_0x1d0222,_0x2f328e){const _0x5988d3=_0x119853,{text:_0x8d426b,color:_0x529abc}=_0x2f328e;_0x1d0222[_0x5988d3(0x2c6)](),_0x1d0222[_0x5988d3(0x2bc)]=_0x5988d3(0xdc);const _0x2611ef=_0x1d0222['measureText'](_0x8d426b)[_0x5988d3(0x1db)],_0x2d0135=Math[_0x5988d3(0x30c)](_0x2611ef+0x2*_0x482779,_0x1c8e2c);_0x203306(_0x1d0222,{'height':_0x19682e,'radius':0x4,'width':_0x2d0135,'fill':_0x529abc}),_0x1d0222[_0x5988d3(0xed)]=_0x5988d3(0x2b9);const _0x141d21=_0x482779,_0x2a95df=_0x19682e-_0x1495bf,_0x599e6a=_0x1c8e2c-0x2*_0x482779;if(_0x2611ef>_0x599e6a){let _0x5af4dc='',_0xb93310=0x0;for(const _0x34bda6 of _0x8d426b){const _0x417f65=_0x1d0222[_0x5988d3(0x118)](_0x34bda6)['width'];if(_0xb93310+_0x417f65<=_0x599e6a-_0x1d0222[_0x5988d3(0x118)]('...')['width'])_0x5af4dc+=_0x34bda6,_0xb93310+=_0x417f65;else{_0x5af4dc+=_0x5988d3(0xc6);break;}}_0x1d0222['fillText'](_0x5af4dc,_0x141d21,_0x2a95df);}else _0x1d0222['fillText'](_0x8d426b,_0x141d21,_0x2a95df);_0x1d0222[_0x5988d3(0xd5)]();}[_0x119853(0x1c4)](_0x53afcb){const _0x2e1555=_0x119853;_0x5b107a[_0x2e1555(0xbb)](_0x53afcb,this);}}const _0x2f6dfa=_0x119853(0x26c),_0x1680ec=_0x119853(0x120),_0x240b54='collab-rect-range-',_0x4bae42=0x6,_0x47e60c=1.5,_0x19cc80=0x4,_0x3e3a96=1.5,_0x11bdb7='rgba(255,\x20255,\x20255,\x200.01)';class _0x5685f6{constructor(_0x3717b2,_0x12e132,_0x27bef1,_0x12ddc6){const _0x441a4b=_0x119853;_0x1762f0(this,_0x441a4b(0x337),[]),_0x1762f0(this,'_anchor',null),_0x1762f0(this,_0x441a4b(0x290),null),_0x1762f0(this,_0x441a4b(0x11c),null),_0x1762f0(this,'_hideTimer',null),_0x1762f0(this,_0x441a4b(0x179),null),(this[_0x441a4b(0x34a)]=_0x3717b2,this[_0x441a4b(0x2b0)]=_0x12e132,this[_0x441a4b(0x21f)]=_0x27bef1,this['_document']=_0x12ddc6,this[_0x441a4b(0x10d)]());}set[_0x119853(0xc1)](_0x1d6a93){const _0x5cd5f0=_0x119853;_0x1d6a93?(this[_0x5cd5f0(0x11c)]&&this[_0x5cd5f0(0x11c)][_0x5cd5f0(0x2a9)](),this['_textBubble']&&this['_textBubble'][_0x5cd5f0(0x27c)]()):(this[_0x5cd5f0(0x11c)]&&this['_anchorDot'][_0x5cd5f0(0x27c)](),this[_0x5cd5f0(0x290)]&&this[_0x5cd5f0(0x290)]['hide']());}[_0x119853(0x2c5)](){const _0x1bf7f1=_0x119853;for(const _0x69e27b of this[_0x1bf7f1(0x337)])_0x69e27b['dispose']();this[_0x1bf7f1(0x290)]&&this[_0x1bf7f1(0x290)]['dispose'](),this[_0x1bf7f1(0x11c)]&&this['_anchorDot'][_0x1bf7f1(0x2c5)](),this['_anchor']&&this['_anchor'][_0x1bf7f1(0x2c5)](),this[_0x1bf7f1(0x179)]&&this[_0x1bf7f1(0x179)]();}[_0x119853(0x10d)](){const _0x51180f=_0x119853;var _0x21424c;const {_docSkeleton:_0x3a1896,_document:_0x25e712}=this,{color:_0x14da6d,name:_0x122353,ranges:_0x569c99}=this['_cursor'],_0x5d869c=_0x25e712[_0x51180f(0x24a)](),{docsLeft:_0x5894b9,docsTop:_0x2296f3}=_0x5d869c,_0x540b65=new _0x5b6656['NodePositionConvertToCursor'](_0x5d869c,_0x3a1896);for(const {startOffset:_0x58063a,endOffset:_0x31ad73,rangeType:_0x5cdbf4,segmentId:_0x3fe53c,segmentPage:_0x40579a,collapsed:_0x343aeb,isActive:_0x50cc3b}of _0x569c99){const _0x53f06d=_0x3a1896[_0x51180f(0x1bd)](_0x58063a,!0x0,_0x3fe53c,_0x40579a);let _0x257dbb=_0x3a1896[_0x51180f(0x1bd)](_0x31ad73,!0x0,_0x3fe53c,_0x40579a);if(_0x257dbb==null&&(_0x257dbb=_0x3a1896[_0x51180f(0x1bd)](_0x31ad73-0x1,!0x1,_0x3fe53c,_0x40579a)),_0x50cc3b){const {contentBoxPointGroup:_0x2b7e09}=_0x540b65[_0x51180f(0x115)](_0x257dbb,_0x257dbb);if(_0x2b7e09[_0x51180f(0x346)]===0x0)continue;this[_0x51180f(0x20f)](_0x14da6d,_0x2b7e09,_0x5894b9,_0x2296f3,_0x122353),this[_0x51180f(0x179)]=this[_0x51180f(0x1a3)]();}if(_0x53f06d&&_0x257dbb){if(_0x5cdbf4===_0x220ae6[_0x51180f(0x1ae)][_0x51180f(0x235)]){const _0x25b7fb=new _0x5b6656['NodePositionConvertToRectRange'](_0x5d869c,_0x3a1896),{pointGroup:_0x25b106}=(_0x21424c=_0x25b7fb[_0x51180f(0x115)](_0x53f06d,_0x257dbb))!=null?_0x21424c:{};if(_0x25b106==null||_0x25b106[_0x51180f(0x346)]===0x0)continue;this[_0x51180f(0x1ed)](_0x14da6d,_0x25b106,_0x5894b9,_0x2296f3);}else{if(!_0x343aeb){const {borderBoxPointGroup:_0x305460}=_0x540b65[_0x51180f(0x115)](_0x53f06d,_0x257dbb);if(_0x305460[_0x51180f(0x346)]===0x0)continue;this['_drawTextRange'](_0x14da6d,_0x305460,_0x5894b9,_0x2296f3);}}}}}[_0x119853(0x20f)](_0x3ed5d7,_0x5db348,_0x9f902f,_0x1ec405,_0xf04079){const _0x31021c=_0x119853,_0xa9b984=this[_0x31021c(0x1c2)](_0x5db348),{left:_0x1c7cea,top:_0x5ec08a,height:_0x2f56b1}=_0xa9b984,_0x478204=this[_0x31021c(0x165)](),_0x36129b=_0x3e3a96/_0x478204,_0x1aad8c=new _0x1c9625[(_0x31021c(0x163))](_0x2f6dfa+_0x220ae6[_0x31021c(0x2c4)][_0x31021c(0x13e)](_0x4bae42),{'left':_0x1c7cea+_0x9f902f-_0x36129b,'top':_0x5ec08a+_0x1ec405,'height':_0x2f56b1,'width':_0x47e60c,'fill':_0x3ed5d7||_0x1c9625[_0x31021c(0x21c)](_0x220ae6[_0x31021c(0x242)]['black'],0x0),'strokeWidth':_0x36129b,'stroke':_0x11bdb7,'evented':!0x0});this[_0x31021c(0x15c)]=_0x1aad8c,this[_0x31021c(0x2b0)]['addObject'](_0x1aad8c,_0x5b6656['TEXT_RANGE_LAYER_INDEX']);const _0x299ccd=new _0x1c9625[(_0x31021c(0x163))](_0x2f6dfa+_0x220ae6[_0x31021c(0x2c4)][_0x31021c(0x13e)](_0x4bae42),{'left':_0x1c7cea+_0x9f902f-_0x36129b,'top':_0x5ec08a+_0x1ec405-_0x19cc80/0x2,'height':_0x19cc80,'width':_0x19cc80,'fill':_0x3ed5d7||_0x1c9625['getColor'](_0x220ae6[_0x31021c(0x242)]['black'],0x0),'strokeWidth':0x0,'stroke':_0x3ed5d7||_0x1c9625[_0x31021c(0x21c)](_0x220ae6[_0x31021c(0x242)][_0x31021c(0x1b3)],0x0),'evented':!0x1});this['_anchorDot']=_0x299ccd,this[_0x31021c(0x2b0)][_0x31021c(0x301)](_0x299ccd,_0x5b6656[_0x31021c(0x189)]);const _0x43a414=new _0x5b107a(_0x2f6dfa+_0x220ae6['Tools'][_0x31021c(0x13e)](_0x4bae42),{'left':_0x1c7cea+_0x9f902f-_0x36129b,'top':_0x5ec08a+_0x1ec405-_0x19682e,'text':_0xf04079,'color':_0x3ed5d7});this['_textBubble']=_0x43a414,this['_scene']['addObject'](_0x43a414,_0x5b6656[_0x31021c(0x189)]),this[_0x31021c(0xc1)]=!0x1;}[_0x119853(0x1a3)](){const _0xf9c023=_0x119853,_0x3b5a3b=this['_anchor'][_0xf9c023(0x269)][_0xf9c023(0x15b)](()=>{const _0x42b93f=_0xf9c023;this[_0x42b93f(0xc1)]=!0x0;}),_0x2d818a=this[_0xf9c023(0x15c)]['onPointerLeave$'][_0xf9c023(0x15b)](()=>{const _0x4e71cb=_0xf9c023;this['_hideTimer']&&clearTimeout(this[_0x4e71cb(0x2dd)]),this['_hideTimer']=setTimeout(()=>{const _0x12adc9=_0x4e71cb;this[_0x12adc9(0xc1)]=!0x1;},0x7d0);});return()=>{const _0x518b64=_0xf9c023;_0x3b5a3b[_0x518b64(0x1a0)](),_0x2d818a['unsubscribe']();};}[_0x119853(0x1c8)](_0x5b0b55,_0x56f3da,_0x336219,_0x53ff75){const _0x30bc83=_0x119853,_0x20b724=new _0x220ae6[(_0x30bc83(0x217))](_0x5b0b55)['setAlpha'](0.2)[_0x30bc83(0x28c)](),_0x36b48e=new _0x1c9625[(_0x30bc83(0x12b))](_0x1680ec+_0x220ae6['Tools'][_0x30bc83(0x13e)](_0x4bae42),{'pointsGroup':_0x56f3da,'fill':_0x20b724||_0x1c9625[_0x30bc83(0x21c)](_0x220ae6[_0x30bc83(0x242)]['black'],0.2),'left':_0x336219,'top':_0x53ff75,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x30bc83(0x337)][_0x30bc83(0x1c6)](_0x36b48e),this[_0x30bc83(0x2b0)]['addObject'](_0x36b48e,_0x5b6656[_0x30bc83(0x189)]);}[_0x119853(0x1ed)](_0x42e6ef,_0x1faf94,_0x4f54d8,_0x4a42f3){const _0x11b8b5=_0x119853,_0x22d9c8=new _0x220ae6[(_0x11b8b5(0x217))](_0x42e6ef)[_0x11b8b5(0x232)](0.2)['toRgbString'](),_0x2e14dc=new _0x1c9625[(_0x11b8b5(0x12b))](_0x240b54+_0x220ae6[_0x11b8b5(0x2c4)][_0x11b8b5(0x13e)](_0x4bae42),{'pointsGroup':_0x1faf94,'fill':_0x22d9c8||_0x1c9625[_0x11b8b5(0x21c)](_0x220ae6[_0x11b8b5(0x242)]['black'],0.2),'left':_0x4f54d8,'top':_0x4a42f3,'evented':!0x1,'debounceParentDirty':!0x1});this['_shapes'][_0x11b8b5(0x1c6)](_0x2e14dc),this[_0x11b8b5(0x2b0)][_0x11b8b5(0x301)](_0x2e14dc,_0x5b6656['TEXT_RANGE_LAYER_INDEX']);}[_0x119853(0x1c2)](_0x53442f){const _0x4eafa2=_0x53442f[0x0],_0x5357d5=_0x4eafa2[0x0],_0x45bbef=_0x4eafa2[0x2],{x:_0x16a79b,y:_0x48e43f}=_0x5357d5,{x:_0x4f1f46,y:_0x532b55}=_0x45bbef;return{'left':_0x16a79b,'top':_0x48e43f,'width':_0x4f1f46-_0x16a79b,'height':_0x532b55-_0x48e43f};}['_getScale'](){const _0x19be45=_0x119853,{scaleX:_0x272154,scaleY:_0x1818c1}=this[_0x19be45(0x2b0)]['getAncestorScale']();return Math['max'](_0x272154,_0x1818c1);}}var _0xeca11f=Object[_0x119853(0x150)],_0x3e0e43=(_0x3c79c2,_0x422bf9,_0x687b7f,_0x432c04)=>{const _0x9733df=_0x119853;for(var _0x20a5b0=_0x432c04>0x1?void 0x0:_0x432c04?_0xeca11f(_0x422bf9,_0x687b7f):_0x422bf9,_0x476597=_0x3c79c2[_0x9733df(0x346)]-0x1,_0x1c8a65;_0x476597>=0x0;_0x476597--)(_0x1c8a65=_0x3c79c2[_0x476597])&&(_0x20a5b0=_0x1c8a65(_0x20a5b0)||_0x20a5b0);return _0x20a5b0;},_0x504c88=(_0x485272,_0x53b149)=>(_0xb8456b,_0x41e644)=>_0x53b149(_0xb8456b,_0x41e644,_0x485272);let _0x46235d=class extends _0x220ae6[_0x119853(0x1cf)]{constructor(_0x1ab390,_0x5c37a0,_0xa3ccb,_0x246590,_0xc1a357){const _0x42b03d=_0x119853;super(),_0x1762f0(this,'_cursorShapes',[]),_0x1762f0(this,_0x42b03d(0x128),[]),(this[_0x42b03d(0x234)]=_0x1ab390,this[_0x42b03d(0x230)]=_0x5c37a0,this[_0x42b03d(0x31c)]=_0xa3ccb,this[_0x42b03d(0x155)]=_0x246590,this['_themeService']=_0xc1a357,this[_0x42b03d(0x2aa)]());}[_0x119853(0x2aa)](){const _0x29cc7b=_0x119853,_0xd66d01=this[_0x29cc7b(0x234)][_0x29cc7b(0x357)],_0xc48fc4=this[_0x29cc7b(0x230)];this[_0x29cc7b(0xf3)](_0x217777[_0x29cc7b(0x1d9)]([this[_0x29cc7b(0x31c)]['getCollabCursors$'](_0xd66d01),this[_0x29cc7b(0x24b)]['currentTheme$']])[_0x29cc7b(0x31a)](_0x3c1af3['map'](([_0x145784,_0x3216a5])=>({'skeleton':_0xc48fc4[_0x29cc7b(0x259)](),'cursors':[..._0x145784['values']()][_0x29cc7b(0x1cc)](_0x14b93e=>({..._0x14b93e,'color':this[_0x29cc7b(0x24b)][_0x29cc7b(0x1ee)](_0x14b93e[_0x29cc7b(0x267)])}))})))[_0x29cc7b(0x1b9)](_0x5ed60a=>{const _0x21120b=_0x29cc7b;if(this['_removeCollabCursors'](),_0x5ed60a){const {skeleton:_0x9bb0f2,cursors:_0x37c4d9}=_0x5ed60a;this[_0x21120b(0x281)](_0x9bb0f2,_0x37c4d9);}})),this['_initResize'](),this[_0x29cc7b(0x268)]();}[_0x119853(0x281)](_0x4c9f6a,_0x3b5953){const _0x16db80=_0x119853,{scene:_0x6c379e,mainComponent:_0x3bdafa}=this['_context'],_0xb2e26b=_0x3b5953[_0x16db80(0x2f7)](_0xa531ce=>new _0x5685f6(_0xa531ce,_0x6c379e,_0x4c9f6a,_0x3bdafa));this[_0x16db80(0x353)]=_0xb2e26b,this[_0x16db80(0x128)]=_0x3b5953;}['_refreshCollabCursors'](){const _0x3fe7af=_0x119853;this['_removeCollabCursors']();const {scene:_0x50d02b,mainComponent:_0x46543b}=this['_context'],_0x2551d7=this['_docSkeletonManagerService'][_0x3fe7af(0x259)](),_0x314f63=this[_0x3fe7af(0x128)][_0x3fe7af(0x2f7)](_0x3d6382=>new _0x5685f6(_0x3d6382,_0x50d02b,_0x2551d7,_0x46543b));this[_0x3fe7af(0x353)]=_0x314f63;}['_removeCollabCursors'](){const _0x30ebec=_0x119853;this['_cursorShapes'][_0x30ebec(0xfd)](_0x25f97f=>_0x25f97f[_0x30ebec(0x2c5)]()),this[_0x30ebec(0x353)]=[];}[_0x119853(0x268)](){const _0x5affe4=_0x119853,_0x5e5f5a=[_0x5b6656['SetDocZoomRatioOperation']['id']];this['disposeWithMe'](this[_0x5affe4(0x155)]['onCommandExecuted'](_0x124d32=>{const _0x4aaad2=_0x5affe4;_0x5e5f5a[_0x4aaad2(0x332)](_0x124d32['id'])&&_0x124d32[_0x4aaad2(0x25a)][_0x4aaad2(0x357)]===this[_0x4aaad2(0x234)][_0x4aaad2(0x357)]&&this[_0x4aaad2(0x1af)]();}));}[_0x119853(0x135)](){const _0x3d3f30=_0x119853;this[_0x3d3f30(0xf3)](_0x220ae6[_0x3d3f30(0x1f0)](this['_context'][_0x3d3f30(0x266)][_0x3d3f30(0x2d9)])[_0x3d3f30(0x31a)](_0x3c1af3[_0x3d3f30(0x288)](_0x5ee95d=>_0x5ee95d[_0x3d3f30(0xb7)]===_0x1c9625[_0x3d3f30(0x349)][_0x3d3f30(0x10b)]),_0x3c1af3[_0x3d3f30(0x1e3)](0x10))[_0x3d3f30(0x1b9)](()=>{const _0x1ab55b=_0x3d3f30;this[_0x1ab55b(0x1af)]();}));}};_0x46235d=_0x3e0e43([_0x504c88(0x1,_0x220ae6['Inject'](_0x4dcc89[_0x119853(0x2af)])),_0x504c88(0x2,_0x220ae6[_0x119853(0x1c9)](_0x193db8)),_0x504c88(0x3,_0x220ae6['ICommandService']),_0x504c88(0x4,_0x220ae6[_0x119853(0x1c9)](_0x220ae6[_0x119853(0xd4)]))],_0x46235d);const _0x19df72=0x1,_0x405778=1.5;class _0x2712e8 extends _0x1c9625[_0x119853(0x1fc)]{constructor(_0xbd03b,_0x47e99f){const _0x10b0fd=_0x119853;super(_0xbd03b,_0x47e99f),_0x1762f0(this,_0x10b0fd(0x23b)),_0x1762f0(this,_0x10b0fd(0x18b),!0x1),_0x1762f0(this,'_range'),_0x1762f0(this,_0x10b0fd(0x14e),''),_0x1762f0(this,_0x10b0fd(0x29f),'top'),_0x1762f0(this,'_backgroundColor'),(_0x47e99f&&this[_0x10b0fd(0x321)](_0x47e99f),this[_0x10b0fd(0x269)][_0x10b0fd(0x15b)](()=>this[_0x10b0fd(0x321)]({'hovered':!0x0})),this['onPointerLeave$'][_0x10b0fd(0x15b)](()=>this['setShapeProps']({'hovered':!0x1})));}[_0x119853(0x321)](_0x2dcc72){const _0x277ff1=_0x119853;var _0x3a9edc,_0x253652,_0x141487,_0x4367ee,_0x292fe5,_0x233052;this[_0x277ff1(0x23b)]=(_0x3a9edc=_0x2dcc72[_0x277ff1(0x267)])!=null?_0x3a9edc:this[_0x277ff1(0x23b)],this[_0x277ff1(0x18b)]=(_0x253652=_0x2dcc72[_0x277ff1(0x2b2)])!=null?_0x253652:this[_0x277ff1(0x18b)],this[_0x277ff1(0x190)]=(_0x141487=_0x2dcc72[_0x277ff1(0x2e7)])!=null?_0x141487:this[_0x277ff1(0x190)],this[_0x277ff1(0x14e)]=(_0x4367ee=_0x2dcc72['name'])!=null?_0x4367ee:this[_0x277ff1(0x14e)],this[_0x277ff1(0x29f)]=(_0x292fe5=_0x2dcc72['labelPosition'])!=null?_0x292fe5:this['_labelPosition'],this[_0x277ff1(0x1b5)]=(_0x233052=_0x2dcc72['backgroundColor'])!=null?_0x233052:this[_0x277ff1(0x1b5)],this[_0x277ff1(0x18f)]({'width':_0x2dcc72[_0x277ff1(0x1db)],'height':_0x2dcc72['height']});}[_0x119853(0x22d)](_0x19ae23){const _0x211b0a=_0x119853,{row:_0x3ba2cf,column:_0x12e1c8}=_0x19ae23;if(_0x3ba2cf>=this[_0x211b0a(0x190)]['startRow']&&_0x3ba2cf<=this['_range']['endRow']&&_0x12e1c8>=this[_0x211b0a(0x190)]['startColumn']&&_0x12e1c8<=this[_0x211b0a(0x190)][_0x211b0a(0x2f1)]){this[_0x211b0a(0x321)]({'hovered':!0x0});return;}this[_0x211b0a(0x321)]({'hovered':!0x1});}['triggerDblclick'](_0x40377a){return!0x1;}['_draw'](_0x35eb95){const _0x333518=_0x119853;_0x1c9625['Rect'][_0x333518(0xbb)](_0x35eb95,{'width':this['width'],'height':this[_0x333518(0x279)],'strokeWidth':_0x405778,'stroke':this[_0x333518(0x23b)],'evented':!0x1,'fill':this[_0x333518(0x1b5)]}),this[_0x333518(0x18b)]&&(_0x35eb95[_0x333518(0x2c6)](),_0x35eb95[_0x333518(0x176)](0x1,0x0,0x0,0x1,this[_0x333518(0x1db)],this['_labelPosition']===_0x333518(0x1a2)?0x0:-0x14),_0x5b107a[_0x333518(0xbb)](_0x35eb95,{'text':this['_name'],'color':this[_0x333518(0x23b)]}),_0x35eb95[_0x333518(0xd5)]());}}var _0x40f00a=Object[_0x119853(0x150)],_0x472783=(_0xdafbce,_0x281c4d,_0x3aaa9a,_0x2c556c)=>{const _0x1f02a3=_0x119853;for(var _0x2ff461=_0x2c556c>0x1?void 0x0:_0x2c556c?_0x40f00a(_0x281c4d,_0x3aaa9a):_0x281c4d,_0x14e83c=_0xdafbce[_0x1f02a3(0x346)]-0x1,_0x105efb;_0x14e83c>=0x0;_0x14e83c--)(_0x105efb=_0xdafbce[_0x14e83c])&&(_0x2ff461=_0x105efb(_0x2ff461)||_0x2ff461);return _0x2ff461;},_0x56cc94=(_0x20d71a,_0x2ebc57)=>(_0x47081d,_0x2e36f9)=>_0x2ebc57(_0x47081d,_0x2e36f9,_0x20d71a);const _0x12e75e=0x1389;let _0x4e6538=class extends _0x220ae6['RxDisposable']{constructor(_0x216d45,_0x5138be,_0x20342b,_0x25165c){const _0x293f0b=_0x119853;super(),_0x1762f0(this,_0x293f0b(0x128),new Set()),_0x1762f0(this,_0x293f0b(0x251),null),(this[_0x293f0b(0x234)]=_0x216d45,this[_0x293f0b(0x1f8)]=_0x5138be,this['_collabCursorController']=_0x20342b,this[_0x293f0b(0x24b)]=_0x25165c,this['_init']());}[_0x119853(0x2aa)](){const _0x3f3177=_0x119853;this[_0x3f3177(0x1f8)]['currentSkeleton$'][_0x3f3177(0x31a)](_0x3c1af3[_0x3f3177(0x23a)](this['dispose$']),_0x3c1af3[_0x3f3177(0xc5)](_0x47aaea=>{const _0x5ae23a=_0x3f3177;if(_0x47aaea){const _0x4cf076=_0x47aaea[_0x5ae23a(0xd7)];return _0x217777[_0x5ae23a(0x1d9)](this[_0x5ae23a(0x31c)][_0x5ae23a(0x1e4)](this[_0x5ae23a(0x234)][_0x5ae23a(0x357)]),this[_0x5ae23a(0x24b)][_0x5ae23a(0x2a0)])[_0x5ae23a(0x31a)](_0x3c1af3[_0x5ae23a(0x2f7)](([_0x653286,_0x25cf3f])=>{const _0x5d9d8c=new Map();return _0x653286['forEach']((_0x526a20,_0x457efe)=>{const _0x524d79=_0x14fd;if(_0x526a20['sheetID']===_0x4cf076){const _0x289530={..._0x526a20};_0x289530[_0x524d79(0x267)]=this[_0x524d79(0x24b)][_0x524d79(0x1ee)](_0x526a20['color']),_0x5d9d8c[_0x524d79(0x26d)](_0x457efe,_0x289530);}}),{'skeleton':_0x47aaea,'cursors':_0x5d9d8c};}));}return _0x217777['of']({'skeleton':null,'cursors':new Map()});}))[_0x3f3177(0x1b9)](({skeleton:_0x16bc81,cursors:_0x2e0ce0})=>{const _0xc63a18=_0x3f3177;this[_0xc63a18(0x1aa)](),_0x16bc81&&this[_0xc63a18(0x281)](_0x16bc81,_0x2e0ce0);}),this['_sheetSkeletonManagerService'][_0x3f3177(0x200)]['subscribe'](_0x2a0725=>{const _0x552ce8=_0x3f3177;if(_0x2a0725==null)return;const {skeleton:_0x3cdd8c}=_0x2a0725,{scene:_0x5306ce}=this[_0x552ce8(0x234)];_0x5306ce[_0x552ce8(0x32f)][_0x552ce8(0x15b)](_0x220ae6['debounce'](_0xb13f6d=>{const _0x12699a=_0x552ce8;var _0x397549,_0x58922f;const {offsetX:_0x41713f,offsetY:_0x1fddcd}=_0xb13f6d,{x:_0x44bcaa,y:_0x58d89b}=_0x5306ce[_0x12699a(0x30a)](_0x1c9625[_0x12699a(0x149)]['FromArray']([_0x41713f,_0x1fddcd])),{scaleX:_0x46f270,scaleY:_0x49caf3}=_0x5306ce[_0x12699a(0x17a)](),_0x10294a=_0x5306ce[_0x12699a(0x123)](_0x1c9625[_0x12699a(0x33b)]['VIEW_MAIN']),_0x49f2c9=_0x5306ce[_0x12699a(0x30b)](_0x1c9625[_0x12699a(0x149)][_0x12699a(0x307)]([_0x44bcaa,_0x58d89b]),_0x10294a),_0x14d13f=_0x3cdd8c[_0x12699a(0x1d8)](_0x41713f,_0x1fddcd,_0x46f270,_0x49caf3,_0x49f2c9);((_0x397549=this[_0x12699a(0x251)])==null?void 0x0:_0x397549['column'])===_0x14d13f[_0x12699a(0x2c1)]&&((_0x58922f=this[_0x12699a(0x251)])==null?void 0x0:_0x58922f[_0x12699a(0x254)])===_0x14d13f[_0x12699a(0x254)]||this[_0x12699a(0x128)]['forEach'](_0x236706=>{const _0xebff15=_0x12699a;_0x236706[_0xebff15(0x22d)](_0x14d13f);});},0x64));});}[_0x119853(0x281)](_0x4e3856,_0x586e45){const _0x4560af=_0x119853;var _0x4256f3;const _0x2976c4=(_0x4256f3=this[_0x4560af(0x1f8)][_0x4560af(0x1a4)]())==null?void 0x0:_0x4256f3[_0x4560af(0x2f0)];if(!_0x2976c4)return;const _0x5a6c61=this[_0x4560af(0x322)]();if(!_0x5a6c61)return;this[_0x4560af(0x128)][_0x4560af(0xfd)](_0x3002f8=>{_0x3002f8['makeDirty']();});const {scene:_0x2fc402}=_0x5a6c61,_0x56544f=_0x4ccfa6(Array[_0x4560af(0x171)](_0x586e45[_0x4560af(0x25c)]()))['map'](_0x13b95a=>{const _0x17c394=_0x4560af,{color:_0x55db43,range:_0x4c34a9,name:_0x28055b,selection:_0x3e563d,sheetID:_0x1b698c}=_0x13b95a,{startColumn:_0x53d3a5,startRow:_0x1705a5,endColumn:_0x4693b7,endRow:_0x20a91e}=_0x4c34a9,_0x13f90d=_0x5bc939[_0x17c394(0x29e)](_0x1705a5,_0x53d3a5,_0x2fc402,_0x2976c4),_0x33e1ff=_0x5bc939['getCoordByCell'](_0x20a91e,_0x4693b7,_0x2fc402,_0x2976c4),{columnHeaderHeightAndMarginTop:_0x21c58a}=_0x2976c4,{startX:_0x5353c7,startY:_0x226c82}=_0x13f90d,{endX:_0x1d1d80,endY:_0x580fb2}=_0x33e1ff,_0x3056dc=_0x1d1d80-_0x5353c7,_0x5d100e=_0x580fb2-_0x226c82,_0x41a80d={'labelPosition':_0x226c82-_0x21c58a>=_0x19682e?_0x17c394(0x289):_0x17c394(0x1a2),'sheetID':_0x1b698c,'range':_0x4c34a9,'color':_0x55db43,'name':_0x28055b,'selection':_0x3e563d,'left':_0x5353c7,'top':_0x226c82,'width':_0x3056dc,'height':_0x5d100e,'evented':!0x1,'zIndex':_0x12e75e};return new _0x2712e8(_0x28055b,_0x41a80d);});_0x2fc402[_0x4560af(0x2cc)](_0x56544f,_0x19df72),this[_0x4560af(0x128)]=new Set(_0x56544f);}[_0x119853(0x1aa)](){const _0x5af6fb=_0x119853;var _0x57e94b;(_0x57e94b=this['_cursors'])==null||_0x57e94b['forEach'](_0x5affcf=>_0x5affcf[_0x5af6fb(0x2c5)]());}['_getSheetObject'](){const _0x540fa3=_0x119853;return _0x5bc939[_0x540fa3(0x1ca)](this['_context'][_0x540fa3(0x2a4)],this['_context']);}};_0x4e6538=_0x472783([_0x56cc94(0x1,_0x220ae6['Inject'](_0x5bc939['SheetSkeletonManagerService'])),_0x56cc94(0x2,_0x220ae6[_0x119853(0x1c9)](_0x193db8)),_0x56cc94(0x3,_0x220ae6[_0x119853(0x1c9)](_0x220ae6['ThemeService']))],_0x4e6538);function _0x4ccfa6(_0x1fc43e){const _0x472929=_0x119853,_0x1d9f22=new Map();return _0x1fc43e[_0x472929(0xfd)](_0x201f50=>{const _0x3e9fd1=_0x472929;if(_0x1d9f22[_0x3e9fd1(0x121)](_0x201f50[_0x3e9fd1(0x28f)])){const _0x356dc5=_0x1d9f22[_0x3e9fd1(0x2c2)](_0x201f50[_0x3e9fd1(0x28f)]);_0x356dc5[_0x3e9fd1(0x1bf)]+=',\x20'+_0x201f50[_0x3e9fd1(0x1bf)];}else _0x1d9f22[_0x3e9fd1(0x26d)](_0x201f50['selection'],_0x201f50);}),Array[_0x472929(0x171)](_0x1d9f22[_0x472929(0x25c)]());}var _0x13d7f7=function(){const _0x2b8099=_0x119853;return _0x13d7f7=Object[_0x2b8099(0x24e)]||function(_0x48b075){const _0x8e424a=_0x2b8099;for(var _0x13779,_0x2f2de9=0x1,_0x4ec0ea=arguments['length'];_0x2f2de9<_0x4ec0ea;_0x2f2de9++){_0x13779=arguments[_0x2f2de9];for(var _0x503cf7 in _0x13779)Object[_0x8e424a(0x20c)][_0x8e424a(0x1a8)][_0x8e424a(0x11b)](_0x13779,_0x503cf7)&&(_0x48b075[_0x503cf7]=_0x13779[_0x503cf7]);}return _0x48b075;},_0x13d7f7[_0x2b8099(0x1c5)](this,arguments);},_0x1fd91d=function(_0x58ac7c,_0x41c409){const _0x35f245=_0x119853;var _0x459fbf={};for(var _0x3001ad in _0x58ac7c)Object[_0x35f245(0x20c)][_0x35f245(0x1a8)][_0x35f245(0x11b)](_0x58ac7c,_0x3001ad)&&_0x41c409[_0x35f245(0xc8)](_0x3001ad)<0x0&&(_0x459fbf[_0x3001ad]=_0x58ac7c[_0x3001ad]);if(_0x58ac7c!=null&&typeof Object['getOwnPropertySymbols']==_0x35f245(0x285)){for(var _0x2fab90=0x0,_0x3001ad=Object[_0x35f245(0x21e)](_0x58ac7c);_0x2fab90<_0x3001ad[_0x35f245(0x346)];_0x2fab90++)_0x41c409[_0x35f245(0xc8)](_0x3001ad[_0x2fab90])<0x0&&Object[_0x35f245(0x20c)][_0x35f245(0x2df)][_0x35f245(0x11b)](_0x58ac7c,_0x3001ad[_0x2fab90])&&(_0x459fbf[_0x3001ad[_0x2fab90]]=_0x58ac7c[_0x3001ad[_0x2fab90]]);}return _0x459fbf;},_0x1ec6bc=_0x2e1db8[_0x119853(0x1b2)](function(_0x23ee81,_0x4e1945){const _0x43c256=_0x119853;var _0x256e65=_0x23ee81['icon'],_0x1d8d05=_0x23ee81['id'],_0x1798ca=_0x23ee81[_0x43c256(0xeb)],_0x3f4eed=_0x23ee81[_0x43c256(0x228)],_0xd4af2=_0x1fd91d(_0x23ee81,[_0x43c256(0x270),'id',_0x43c256(0xeb),_0x43c256(0x228)]),_0x10800f=_0x43c256(0x2ac)['concat'](_0x1d8d05,'\x20')[_0x43c256(0x201)](_0x1798ca||'')[_0x43c256(0x249)](),_0xb8f54a=_0x2e1db8[_0x43c256(0xfc)]('_'['concat'](_0x57b870()));return _0x39fbe0(_0x256e65,''[_0x43c256(0x201)](_0x1d8d05),{'defIds':_0x256e65[_0x43c256(0x32b)],'idSuffix':_0xb8f54a['current']},_0x13d7f7({'ref':_0x4e1945,'className':_0x10800f},_0xd4af2),_0x3f4eed);});function _0x39fbe0(_0x2eeac1,_0x387182,_0x3cbf1a,_0x40750a,_0x553ec0){const _0x5bcd31=_0x119853;return _0x2e1db8[_0x5bcd31(0x1dc)](_0x2eeac1[_0x5bcd31(0x295)],_0x13d7f7(_0x13d7f7({'key':_0x387182},_0x3f4524(_0x2eeac1,_0x3cbf1a,_0x553ec0)),_0x40750a),(_0x2f4dec(_0x2eeac1,_0x3cbf1a)[_0x5bcd31(0x32a)]||[])[_0x5bcd31(0x2f7)](function(_0x10b98d,_0x3b7cc1){const _0x4bb13d=_0x5bcd31;return _0x39fbe0(_0x10b98d,''['concat'](_0x387182,'-')['concat'](_0x2eeac1[_0x4bb13d(0x295)],'-')[_0x4bb13d(0x201)](_0x3b7cc1),_0x3cbf1a,void 0x0,_0x553ec0);}));}function _0x3f4524(_0x30cd2d,_0x54c583,_0x49f26f){const _0x8415b0=_0x119853;var _0x334abe=_0x13d7f7({},_0x30cd2d['attrs']);_0x49f26f!=null&&_0x49f26f[_0x8415b0(0x1b6)]&&_0x334abe[_0x8415b0(0x2d5)]===_0x8415b0(0x1b6)&&(_0x334abe['fill']=_0x49f26f[_0x8415b0(0x1b6)]),_0x30cd2d['tag']===_0x8415b0(0xc9)&&_0x334abe['id']&&(_0x334abe['id']=_0x334abe['id']+_0x54c583['idSuffix']),Object[_0x8415b0(0x1e1)](_0x334abe)[_0x8415b0(0xfd)](function(_0x555bce){const _0x443a2c=_0x8415b0;var _0x362362=_0x555bce[0x0],_0x6b4702=_0x555bce[0x1];_0x362362===_0x443a2c(0xc9)&&typeof _0x6b4702=='string'&&(_0x334abe[_0x362362]=_0x6b4702['replace'](/url\(#(.*)\)/,_0x443a2c(0x116)[_0x443a2c(0x201)](_0x54c583[_0x443a2c(0x355)],')')));});var _0xe11025=_0x54c583[_0x8415b0(0x32b)];return!_0xe11025||_0xe11025['length']===0x0||(_0x30cd2d[_0x8415b0(0x295)]===_0x8415b0(0x145)&&_0x334abe[_0x8415b0(0x2bf)]&&(_0x334abe[_0x8415b0(0x2bf)]=_0x334abe['xlink:href']+_0x54c583['idSuffix']),Object[_0x8415b0(0x1e1)](_0x334abe)[_0x8415b0(0xfd)](function(_0x1b2485){const _0x29072d=_0x8415b0;var _0x1574cd=_0x1b2485[0x0],_0xfad3de=_0x1b2485[0x1];typeof _0xfad3de=='string'&&(_0x334abe[_0x1574cd]=_0xfad3de[_0x29072d(0x12e)](/url\(#(.*)\)/,_0x29072d(0x116)['concat'](_0x54c583[_0x29072d(0x355)],')')));})),_0x334abe;}function _0x2f4dec(_0x1d79c4,_0x354714){const _0x5d5e5b=_0x119853;var _0x122ec8,_0x578b5b=_0x354714[_0x5d5e5b(0x32b)];return!_0x578b5b||_0x578b5b[_0x5d5e5b(0x346)]===0x0?_0x1d79c4:_0x1d79c4[_0x5d5e5b(0x295)]===_0x5d5e5b(0x224)&&(!((_0x122ec8=_0x1d79c4[_0x5d5e5b(0x32a)])===null||_0x122ec8===void 0x0)&&_0x122ec8[_0x5d5e5b(0x346)])?_0x13d7f7(_0x13d7f7({},_0x1d79c4),{'children':_0x1d79c4[_0x5d5e5b(0x32a)][_0x5d5e5b(0x2f7)](function(_0x13912d){const _0x2a8c70=_0x5d5e5b;return typeof _0x13912d[_0x2a8c70(0x2d2)]['id']==_0x2a8c70(0x236)&&_0x578b5b&&_0x578b5b[_0x2a8c70(0x332)](_0x13912d['attrs']['id'])?_0x13d7f7(_0x13d7f7({},_0x13912d),{'attrs':_0x13d7f7(_0x13d7f7({},_0x13912d[_0x2a8c70(0x2d2)]),{'id':_0x13912d[_0x2a8c70(0x2d2)]['id']+_0x354714['idSuffix']})}):_0x13912d;})}):_0x1d79c4;}function _0x57b870(){const _0x38e0d2=_0x119853;return Math['random']()[_0x38e0d2(0x2ee)](0x24)[_0x38e0d2(0x317)](0x2,0x8);}_0x1ec6bc['displayName']=_0x119853(0x220);var _0x42fe73={'tag':_0x119853(0x2fa),'attrs':{'xmlns':_0x119853(0x348),'fill':'none','viewBox':_0x119853(0x208),'width':_0x119853(0x14a),'height':_0x119853(0x14a)},'children':[{'tag':'g','attrs':{'clipPath':_0x119853(0x167)},'children':[{'tag':'path','attrs':{'stroke':_0x119853(0x113),'d':_0x119853(0x1d5),'strokeLinecap':'round','strokeLinejoin':_0x119853(0x1f9),'strokeWidth':1.2}}]},{'tag':_0x119853(0x224),'attrs':{},'children':[{'tag':_0x119853(0x2f2),'attrs':{'id':_0x119853(0x1eb)},'children':[{'tag':_0x119853(0x1d1),'attrs':{'fill':_0x119853(0x338),'d':'M0\x200H16V16H0z'}}]}]}],'defIds':[_0x119853(0x1eb)]},_0x4161fa=_0x2e1db8[_0x119853(0x1b2)](function(_0x4cea1e,_0x35e671){return _0x2e1db8['createElement'](_0x1ec6bc,Object['assign']({},_0x4cea1e,{'id':'off-line-icon','ref':_0x35e671,'icon':_0x42fe73}));});_0x4161fa[_0x119853(0x2fe)]=_0x119853(0x218);var _0x555eb9={'tag':_0x119853(0x2fa),'attrs':{'xmlns':_0x119853(0x348),'fill':_0x119853(0x15f),'viewBox':_0x119853(0x240),'width':_0x119853(0x14a),'height':_0x119853(0x14a)},'children':[{'tag':'g','attrs':{'clipPath':_0x119853(0x1ce)},'children':[{'tag':_0x119853(0x1d1),'attrs':{'stroke':_0x119853(0x113),'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':_0x119853(0x1f9),'strokeLinejoin':_0x119853(0x1f9),'strokeWidth':1.2}}]},{'tag':_0x119853(0x224),'attrs':{},'children':[{'tag':_0x119853(0x2f2),'attrs':{'id':_0x119853(0x126)},'children':[{'tag':'path','attrs':{'fill':_0x119853(0x338),'d':'M0\x200H16V16H0z','transform':_0x119853(0x25b)}}]}]}],'defIds':[_0x119853(0x126)]},_0x3a8437=_0x2e1db8[_0x119853(0x1b2)](function(_0x16aa29,_0x54e3ab){const _0x2b662d=_0x119853;return _0x2e1db8[_0x2b662d(0x1dc)](_0x1ec6bc,Object['assign']({},_0x16aa29,{'id':_0x2b662d(0x27d),'ref':_0x54e3ab,'icon':_0x555eb9}));});_0x3a8437[_0x119853(0x2fe)]=_0x119853(0x302);function _0x3628f7(_0x58a900){const _0x34cefa=_0x119853;switch(_0x58a900){case _0x471b6c[_0x34cefa(0x27a)][_0x34cefa(0xf7)]:return _0x34cefa(0x15e);case _0x471b6c[_0x34cefa(0x27a)][_0x34cefa(0x199)]:return'collabStatus.conflict';case _0x471b6c[_0x34cefa(0x27a)][_0x34cefa(0xd9)]:return _0x34cefa(0x21a);case _0x471b6c[_0x34cefa(0x27a)][_0x34cefa(0xce)]:return _0x34cefa(0x188);case _0x471b6c['CollaborationStatus'][_0x34cefa(0xe5)]:case _0x471b6c['CollaborationStatus'][_0x34cefa(0x2b1)]:return _0x34cefa(0x1ef);case _0x471b6c[_0x34cefa(0x27a)][_0x34cefa(0x33a)]:case _0x471b6c[_0x34cefa(0x27a)]['PENDING']:return _0x34cefa(0x335);}}function _0x2f2b45(_0x37f9be){const _0x24d8ae=_0x119853,{status$:_0x598906}=_0x37f9be,_0x5ac5ea=_0x3d52cc[_0x24d8ae(0x345)](_0x598906,_0x471b6c[_0x24d8ae(0x27a)][_0x24d8ae(0xce)]),_0x296c51=_0x3d52cc[_0x24d8ae(0x204)](_0x220ae6[_0x24d8ae(0x26b)]),_0x45a346=_0x3d52cc[_0x24d8ae(0x204)](_0x471b6c['CollaborationSessionService']),_0x4fcd64=_0x5ac5ea!==_0x471b6c[_0x24d8ae(0x27a)][_0x24d8ae(0xf7)],_0x4a7e61=_0x296c51['t'](_0x3628f7(_0x5ac5ea)),_0x4514cd=_0x4fcd64?_0x1028c1['jsx'](_0x3a8437,{}):_0x1028c1[_0x24d8ae(0x194)](_0x4161fa,{}),_0x48fa83=_0x2e1db8[_0x24d8ae(0x293)](()=>{const _0x8de802=_0x24d8ae;_0x4fcd64||_0x45a346[_0x8de802(0x119)]();},[_0x4fcd64,_0x45a346]);function _0x4d6b5a(){const _0x2c1475=_0x24d8ae;return _0x1028c1['jsxs'](_0x2c1475(0x14f),{'className':_0x2c1475(0x23e),'onClick':_0x48fa83,'children':[_0x1028c1[_0x2c1475(0x194)](_0x2c1475(0x14f),{'className':_0x587028['clsx'](_0x2c1475(0x313),{'univer-text-green-500':_0x4fcd64,'univer-text-red-500':!_0x4fcd64}),'children':_0x4514cd}),_0x1028c1[_0x2c1475(0x194)](_0x2c1475(0x14f),{'className':_0x2c1475(0x243),'children':_0x4a7e61})]});}return _0x4fcd64?_0x4d6b5a():_0x1028c1[_0x24d8ae(0x194)](_0x587028[_0x24d8ae(0x277)],{'title':_0x296c51['t'](_0x24d8ae(0x173)),'children':_0x4d6b5a()});}var _0x45c812=Object['getOwnPropertyDescriptor'],_0x1f659d=(_0x370cda,_0x2912a4,_0x4ab174,_0x31e086)=>{for(var _0x53ddc4=_0x31e086>0x1?void 0x0:_0x31e086?_0x45c812(_0x2912a4,_0x4ab174):_0x2912a4,_0x380de6=_0x370cda['length']-0x1,_0x525368;_0x380de6>=0x0;_0x380de6--)(_0x525368=_0x370cda[_0x380de6])&&(_0x53ddc4=_0x525368(_0x53ddc4)||_0x53ddc4);return _0x53ddc4;},_0x6f40cc=(_0x4aee4d,_0x255bbc)=>(_0x4832e1,_0x521e0b)=>_0x255bbc(_0x4832e1,_0x521e0b,_0x4aee4d);_0x3cf37a[_0x119853(0x2f5)]=class extends _0x220ae6[_0x119853(0x215)]{constructor(_0x3fd6bd,_0x5ce0e8,_0x5e6d41,_0x3d1e0d){const _0x3f4352=_0x119853;super(),_0x1762f0(this,_0x3f4352(0x106),new _0x217777[(_0x3f4352(0x17b))](_0x471b6c[_0x3f4352(0x27a)][_0x3f4352(0xce)])),(this['_univerInstanceService']=_0x3fd6bd,this['_injector']=_0x5ce0e8,this[_0x3f4352(0x305)]=_0x5e6d41,this[_0x3f4352(0x1de)]=_0x3d1e0d,this['_initStatusComponent'](),this[_0x3f4352(0x2b3)]());}[_0x119853(0x2b3)](){const _0x579314=_0x119853;this[_0x579314(0xf3)](this[_0x579314(0x142)][_0x579314(0xfb)][_0x579314(0x31a)](_0x217777[_0x579314(0xc5)](()=>{const _0x396ba0=_0x579314,_0x9d4b53=this[_0x396ba0(0x142)][_0x396ba0(0x1a1)]();return _0x9d4b53?this['_collaborationController']['getCollabEntity$'](_0x9d4b53['getUnitId']()):_0x217777['of'](null);}),_0x217777['switchMap'](_0x2539b5=>_0x2539b5?_0x2539b5['status$']:_0x217777['of'](_0x471b6c[_0x579314(0x27a)]['NOT_COLLAB'])))[_0x579314(0x1b9)](_0x174392=>{const _0x64dad3=_0x579314;this['_status$'][_0x64dad3(0x316)](_0x174392);}));}[_0x119853(0x2d4)](){const _0x3b4b4a=_0x119853;this[_0x3b4b4a(0xf3)](this[_0x3b4b4a(0x1de)][_0x3b4b4a(0x244)](_0x3d52cc[_0x3b4b4a(0x139)]['HEADER_MENU'],()=>_0x3d52cc[_0x3b4b4a(0x22e)](_0x4a5f48({'status$':this['_status$']['asObservable']()}),this[_0x3b4b4a(0x10a)])));}},_0x3cf37a['DesktopCollaborationStatusDisplayController']=_0x1f659d([_0x6f40cc(0x0,_0x220ae6[_0x119853(0x195)]),_0x6f40cc(0x1,_0x220ae6['Inject'](_0x220ae6[_0x119853(0x22a)])),_0x6f40cc(0x2,_0x220ae6[_0x119853(0x1c9)](_0x471b6c[_0x119853(0x2e0)])),_0x6f40cc(0x3,_0x3d52cc[_0x119853(0xbf)])],_0x3cf37a[_0x119853(0x2f5)]);function _0x4a5f48(_0x1f2500){const {status$:_0x4ce539}=_0x1f2500;return function(){return _0x1028c1['jsx'](_0x2f2b45,{'status$':_0x4ce539});};}var _0x3d6970=Object[_0x119853(0x150)],_0x47b14b=(_0x141724,_0xc89f51,_0x174db5,_0x1033d4)=>{for(var _0x1c729a=_0x1033d4>0x1?void 0x0:_0x1033d4?_0x3d6970(_0xc89f51,_0x174db5):_0xc89f51,_0x291861=_0x141724['length']-0x1,_0x2c629a;_0x291861>=0x0;_0x291861--)(_0x2c629a=_0x141724[_0x291861])&&(_0x1c729a=_0x2c629a(_0x1c729a)||_0x1c729a);return _0x1c729a;},_0x24398e=(_0x484253,_0x4de05b)=>(_0x63f09f,_0x1bf8fe)=>_0x4de05b(_0x63f09f,_0x1bf8fe,_0x484253);let _0x327ef7=class extends _0x220ae6[_0x119853(0x215)]{constructor(_0x517b08,_0x356074,_0x4d6219,_0x5711d7,_0x2d5c13,_0x278edd){const _0x2045f5=_0x119853;super(),this[_0x2045f5(0xf6)]=_0x517b08,this[_0x2045f5(0x33e)]=_0x356074,this['_collaborationUIEventService']=_0x4d6219,this[_0x2045f5(0x1cb)]=_0x5711d7,this[_0x2045f5(0x325)]=_0x2d5c13,this[_0x2045f5(0x216)]=_0x278edd,this[_0x2045f5(0x132)](),this[_0x2045f5(0x1d3)]();}[_0x119853(0x132)](){const _0x36d7a2=_0x119853;this[_0x36d7a2(0xf3)](this[_0x36d7a2(0xf6)][_0x36d7a2(0x122)](()=>{const _0x396142=_0x36d7a2;if(this[_0x396142(0x33e)][_0x396142(0x2a6)]['size'])return this[_0x396142(0x216)]['t'](_0x396142(0x203));}));}[_0x119853(0x1d3)](){const _0x49dc49=_0x119853;this[_0x49dc49(0xf3)](this['_collaborationUIEventService'][_0x49dc49(0x14d)][_0x49dc49(0x1b9)](_0x5d1f69=>{const _0x4729c5=_0x49dc49;_0x5d1f69['id']===_0x471b6c[_0x4729c5(0x26f)][_0x4729c5(0x352)]&&this['_messageService'][_0x4729c5(0x27c)]({'type':_0x587028['MessageType'][_0x4729c5(0x2eb)],'content':this[_0x4729c5(0x216)]['t'](_0x4729c5(0x34f))}),_0x5d1f69['id']===_0x471b6c['CollaborationUIEventId'][_0x4729c5(0x2ab)]&&this['_messageService']['show']({'type':_0x587028[_0x4729c5(0x17f)]['Warning'],'content':this['_localeService']['t'](_0x4729c5(0x1da))}),_0x5d1f69['id']===_0x471b6c['CollaborationUIEventId'][_0x4729c5(0x10e)]&&this[_0x4729c5(0x325)][_0x4729c5(0x27c)]({'title':this[_0x4729c5(0x216)]['t'](_0x4729c5(0x287)),'content':this[_0x4729c5(0x216)]['t'](_0x4729c5(0x206)),'type':'error','duration':0x0}),_0x5d1f69['id']===_0x471b6c[_0x4729c5(0x26f)]['CONFLICT']&&this[_0x4729c5(0x1cb)][_0x4729c5(0x27c)]({'type':_0x587028[_0x4729c5(0x17f)][_0x4729c5(0xe8)],'content':this[_0x4729c5(0x216)]['t'](_0x4729c5(0x1da))+'('+_0x5d1f69[_0x4729c5(0x351)]+')'}),_0x5d1f69['id']===_0x471b6c['CollaborationUIEventId'][_0x4729c5(0x1f7)]&&this[_0x4729c5(0x1cb)][_0x4729c5(0x27c)]({'type':_0x587028[_0x4729c5(0x17f)][_0x4729c5(0x2eb)],'content':this[_0x4729c5(0x216)]['t'](_0x5d1f69['data']||'')}),_0x5d1f69['id']===_0x471b6c[_0x4729c5(0x26f)][_0x4729c5(0xc0)]&&this['_messageService']['show']({'type':_0x587028[_0x4729c5(0x17f)][_0x4729c5(0x2eb)],'content':this[_0x4729c5(0x216)]['t'](_0x4729c5(0xb9))}),_0x5d1f69['id']===_0x471b6c['CollaborationUIEventId'][_0x4729c5(0x339)]&&this[_0x4729c5(0x1cb)][_0x4729c5(0x27c)]({'type':_0x587028[_0x4729c5(0x17f)][_0x4729c5(0xe8)],'content':this[_0x4729c5(0x216)]['t']('session.connection-failed')}),_0x5d1f69['id']===_0x471b6c['CollaborationUIEventId'][_0x4729c5(0xe4)]&&this[_0x4729c5(0x1cb)][_0x4729c5(0x27c)]({'type':_0x587028[_0x4729c5(0x17f)][_0x4729c5(0xe8)],'content':this[_0x4729c5(0x216)]['t'](_0x4729c5(0x13a))});}));}};_0x327ef7=_0x47b14b([_0x24398e(0x0,_0x3d52cc[_0x119853(0xca)]),_0x24398e(0x1,_0x471b6c[_0x119853(0x1f5)]),_0x24398e(0x2,_0x220ae6[_0x119853(0x1c9)](_0x471b6c[_0x119853(0x147)])),_0x24398e(0x3,_0x3d52cc[_0x119853(0x17c)]),_0x24398e(0x4,_0x3d52cc[_0x119853(0x27b)]),_0x24398e(0x5,_0x220ae6[_0x119853(0x1c9)](_0x220ae6[_0x119853(0x26b)]))],_0x327ef7);const _0x155070=_0x119853(0x304),_0x126fc8={},_0x3c9904=_0x220ae6[_0x119853(0x16d)](_0x119853(0x278));var _0x5d8889=Object[_0x119853(0x150)],_0x59e1ec=(_0x27e85e,_0x3ca9c5,_0x53b450,_0xffde8c)=>{const _0x494cfa=_0x119853;for(var _0x5a0cfd=_0xffde8c>0x1?void 0x0:_0xffde8c?_0x5d8889(_0x3ca9c5,_0x53b450):_0x3ca9c5,_0x12e56a=_0x27e85e[_0x494cfa(0x346)]-0x1,_0x54941c;_0x12e56a>=0x0;_0x12e56a--)(_0x54941c=_0x27e85e[_0x12e56a])&&(_0x5a0cfd=_0x54941c(_0x5a0cfd)||_0x5a0cfd);return _0x5a0cfd;},_0x22b617=(_0xd592ac,_0x3b646c)=>(_0x2777f2,_0x336179)=>_0x3b646c(_0x2777f2,_0x336179,_0xd592ac);_0x3cf37a[_0x119853(0x296)]=class extends _0x220ae6[_0x119853(0x1cf)]{constructor(_0x56080f,_0x11e3ba,_0x277489,_0x54ebe9,_0x5ad255){const _0x545407=_0x119853;super(),this[_0x545407(0x20a)]=_0x56080f,this[_0x545407(0x18e)]=_0x11e3ba,this[_0x545407(0x155)]=_0x277489,this[_0x545407(0xe6)]=_0x54ebe9,_0x5ad255?_0x5ad255==null||_0x5ad255[_0x545407(0x18c)]()[_0x545407(0x2e3)](()=>this['_init']()):(this['_logService'][_0x545407(0x24d)](_0x545407(0x314),_0x545407(0x186)),this[_0x545407(0x2aa)]());}async[_0x119853(0x2aa)](){const _0x5ac50e=_0x119853,_0x8bfd66=this[_0x5ac50e(0x20a)][_0x5ac50e(0x358)](_0x5ac50e(0x2a4)),_0x177e44=this['_urlService'][_0x5ac50e(0x358)](_0x5ac50e(0xb7)),_0x3cdef1=this['_urlService'][_0x5ac50e(0x358)](_0x5ac50e(0x22f));if(!_0x8bfd66||!_0x177e44){this[_0x5ac50e(0x18e)][_0x5ac50e(0x24d)]('[CollaborationDataLoaderController]',_0x5ac50e(0xfe));return;}const _0x5ddb68=await this[_0x5ac50e(0xe6)][_0x5ac50e(0x231)](_0x8bfd66,Number(_0x177e44),_0x3cdef1);_0x5ddb68&&_0x5ddb68 instanceof _0x220ae6['Workbook']&&this['_setupSubUnitSync'](_0x5ddb68);}async[_0x119853(0x29d)](_0x5c24cc){const _0x587df6=_0x119853;await this[_0x587df6(0x18d)](_0x5c24cc),_0x5c24cc[_0x587df6(0x202)][_0x587df6(0x31a)](_0x217777[_0x587df6(0x23a)](this['dispose$']))['subscribe'](_0xd6150e=>{const _0x3ec459=_0x587df6;_0xd6150e&&this[_0x3ec459(0x114)](_0xd6150e);}),this[_0x587df6(0x20a)][_0x587df6(0x248)][_0x587df6(0x31a)](_0x217777[_0x587df6(0x23a)](this[_0x587df6(0xbe)]))[_0x587df6(0x1b9)](()=>this['_updateSubUnitFromURLParams'](_0x5c24cc));}[_0x119853(0x114)](_0x52f437,_0x10f78b=!0x1){const _0x10eab3=_0x119853,_0x4cb9ae=this[_0x10eab3(0x20a)][_0x10eab3(0x358)]('subunit');_0x52f437[_0x10eab3(0xb8)]()!==_0x4cb9ae&&this[_0x10eab3(0x20a)][_0x10eab3(0x104)](_0x10eab3(0x22f),_0x52f437[_0x10eab3(0xb8)](),_0x10f78b);}async[_0x119853(0x18d)](_0x465d23){const _0x281409=_0x119853;var _0x431029;const _0x5d1515=this[_0x281409(0x20a)][_0x281409(0x358)](_0x281409(0x22f));if(!_0x5d1515||!_0x465d23['getSheetBySheetId'](_0x5d1515)){const _0xcbcf10=_0x465d23['getUnhiddenWorksheets']()[0x0],_0xbe050e=_0x465d23['getSheetBySheetId'](_0xcbcf10);if(!_0xbe050e)return;this[_0x281409(0x114)](_0xbe050e,!0x0),await this[_0x281409(0x155)][_0x281409(0x2f4)](_0x33b1ad[_0x281409(0x16e)]['id'],{'unitId':_0x465d23[_0x281409(0x152)](),'subUnitId':_0xcbcf10});return;}((_0x431029=_0x465d23[_0x281409(0x2ce)]())==null?void 0x0:_0x431029[_0x281409(0xb8)]())!==_0x5d1515&&await this[_0x281409(0x155)][_0x281409(0x2f4)](_0x33b1ad[_0x281409(0x16e)]['id'],{'unitId':_0x465d23['getUnitId'](),'subUnitId':_0x5d1515});}},_0x3cf37a['CollaborationDataLoaderController']=_0x59e1ec([_0x22b617(0x0,_0x3c9904),_0x22b617(0x1,_0x220ae6[_0x119853(0x112)]),_0x22b617(0x2,_0x220ae6[_0x119853(0xf1)]),_0x22b617(0x3,_0x220ae6['Inject'](_0x471b6c[_0x119853(0x1a5)])),_0x22b617(0x4,_0x220ae6['Optional'](_0xef9193[_0x119853(0x32c)]))],_0x3cf37a[_0x119853(0x296)]);var _0x67dd4f=Object[_0x119853(0x150)],_0x207946=(_0x203f23,_0xfdc9cb,_0x10ec66,_0x2fd736)=>{const _0x418840=_0x119853;for(var _0x51e421=_0x2fd736>0x1?void 0x0:_0x2fd736?_0x67dd4f(_0xfdc9cb,_0x10ec66):_0xfdc9cb,_0x2928e4=_0x203f23[_0x418840(0x346)]-0x1,_0x1717e6;_0x2928e4>=0x0;_0x2928e4--)(_0x1717e6=_0x203f23[_0x2928e4])&&(_0x51e421=_0x1717e6(_0x51e421)||_0x51e421);return _0x51e421;},_0xe61ecc=(_0x2cdbd0,_0x30ea85)=>(_0x5f5d51,_0x4ec2e4)=>_0x30ea85(_0x5f5d51,_0x4ec2e4,_0x2cdbd0);let _0x4449c3=class{constructor(_0x209421,_0x23848d,_0x412596){const _0x11f619=_0x119853;this[_0x11f619(0x10a)]=_0x209421,this[_0x11f619(0xf0)]=_0x23848d,this[_0x11f619(0x310)]=_0x412596;}[_0x119853(0x328)](_0x34a2c0){const _0x2e1c92=_0x119853;this[_0x2e1c92(0x2da)](_0x34a2c0),this[_0x2e1c92(0x19a)](_0x34a2c0);}[_0x119853(0xd6)](_0x548fc2){const _0x5df550=_0x119853,{unitID:_0x2d3c80}=_0x548fc2,_0x266027=this[_0x5df550(0x310)]['getRenderById'](_0x2d3c80)['with'](_0x5b6656[_0x5df550(0xcb)]),{redoCache:_0x206882}=_0x266027[_0x5df550(0x33f)]();if(_0x206882[_0x5df550(0x346)]===0x0)return _0x548fc2;let _0x308412=_0x220ae6['Tools'][_0x5df550(0x1e0)](_0x548fc2[_0x5df550(0x159)][0x0]);for(let _0xf1367b=0x0;_0xf1367b<_0x206882[_0x5df550(0x346)];_0xf1367b++){const _0x464e7d={'id':_0x5df550(0x319),'params':{..._0x206882[_0xf1367b]}},_0x460277=this['_transformService'][_0x5df550(0x20d)](_0x308412,_0x464e7d,!0x1);if(_0xeb38aa['isTransformMutationFailure'](_0x460277))throw _0x460277[_0x5df550(0x2be)];_0x308412=_0x460277['m1Prime'];}return{..._0x220ae6['Tools'][_0x5df550(0x1e0)](_0x548fc2),'mutations':[_0x308412]};}[_0x119853(0x2da)](_0x276240){const _0x484b99=_0x119853,{unitID:_0x4ec85f}=_0x276240,_0x26002c=this[_0x484b99(0x310)]['getRenderById'](_0x4ec85f)[_0x484b99(0x2e1)](_0x5b6656[_0x484b99(0xcb)]),{undoCache:_0xb1614,redoCache:_0x1d3c41}=_0x26002c['getUndoRedoMutationParamsCache']();if(_0xb1614[_0x484b99(0x346)]===0x0||_0x1d3c41[_0x484b99(0x346)]===0x0)return;const _0x501658=[],_0x37e3b6=[];let _0x35acfc=_0x220ae6[_0x484b99(0x2c4)][_0x484b99(0x1e0)](_0x276240[_0x484b99(0x159)][0x0]),_0x47d898=_0x220ae6[_0x484b99(0x2c4)][_0x484b99(0x1e0)](_0x276240[_0x484b99(0x159)][0x0]);for(let _0x1b9f49=_0xb1614[_0x484b99(0x346)]-0x1;_0x1b9f49>=0x0;_0x1b9f49--){const _0x21e1ae={'id':_0x484b99(0x319),'params':{..._0xb1614[_0x1b9f49]}},_0x51ac85={'id':_0x484b99(0x319),'params':{..._0x1d3c41[_0x1b9f49]}},_0x42ccf4=this[_0x484b99(0xf0)]['transformMutation'](_0x35acfc,_0x21e1ae,!0x1),_0x267cb8=this[_0x484b99(0xf0)][_0x484b99(0x20d)](_0x47d898,_0x51ac85,!0x1);if(_0xeb38aa['isTransformMutationFailure'](_0x42ccf4))throw _0x42ccf4[_0x484b99(0x2be)];if(_0xeb38aa[_0x484b99(0x23f)](_0x267cb8))throw _0x267cb8[_0x484b99(0x2be)];_0x501658['unshift'](_0x42ccf4[_0x484b99(0x156)][_0x484b99(0x25a)]),_0x37e3b6[_0x484b99(0x157)](_0x267cb8[_0x484b99(0x156)][_0x484b99(0x25a)]),_0x35acfc=_0x42ccf4[_0x484b99(0x283)],_0x47d898=_0x267cb8[_0x484b99(0x283)];}_0x26002c[_0x484b99(0x2ae)]({'undoCache':_0x501658,'redoCache':_0x37e3b6});}['_transformPreviousActiveRange'](_0x2663cf){const _0x5c4905=_0x119853,{unitID:_0xac6b16}=_0x2663cf,_0x394d8a=this[_0x5c4905(0x310)][_0x5c4905(0x2cf)](_0xac6b16)[_0x5c4905(0x2e1)](_0x5b6656['DocIMEInputManagerService']),_0x459a05=_0x394d8a[_0x5c4905(0x2d7)]();if(_0x459a05==null)return;const _0x3eb2ae=[{'id':_0x5c4905(0x319),'params':{'unitId':_0x2663cf['unitID'],'actions':null,'textRanges':[_0x459a05]}}],_0x14fe0f=this['_transformService']['transformMutationsWithChangeset'](_0x2663cf,_0x3eb2ae);if(!_0xeb38aa[_0x5c4905(0x2de)](_0x14fe0f))throw _0x14fe0f[_0x5c4905(0x2be)];const _0x4f53e2=_0x14fe0f['m2Prime'][0x0][_0x5c4905(0x25a)][_0x5c4905(0x257)];Array['isArray'](_0x4f53e2)&&_0x4f53e2[_0x5c4905(0x346)]&&_0x394d8a[_0x5c4905(0x311)](_0x4f53e2[0x0]);}};_0x4449c3=_0x207946([_0xe61ecc(0x0,_0x220ae6[_0x119853(0x1c9)](_0x220ae6[_0x119853(0x22a)])),_0xe61ecc(0x1,_0xeb38aa[_0x119853(0x2f3)]),_0xe61ecc(0x2,_0x1c9625['IRenderManagerService'])],_0x4449c3);var _0x352ffc=Object[_0x119853(0x150)],_0x1355c6=(_0x206b9f,_0x155048,_0x308f5a,_0x14379a)=>{const _0x5492f6=_0x119853;for(var _0x44f624=_0x14379a>0x1?void 0x0:_0x14379a?_0x352ffc(_0x155048,_0x308f5a):_0x155048,_0x1afad9=_0x206b9f[_0x5492f6(0x346)]-0x1,_0x135590;_0x1afad9>=0x0;_0x1afad9--)(_0x135590=_0x206b9f[_0x1afad9])&&(_0x44f624=_0x135590(_0x44f624)||_0x44f624);return _0x44f624;},_0xa3a2b6=(_0x2a4caf,_0x5a4c39)=>(_0x39c371,_0x297c5a)=>_0x5a4c39(_0x39c371,_0x297c5a,_0x2a4caf);let _0x252092=class{constructor(_0x5e0b21,_0xa96920,_0x2fec25){const _0x29b408=_0x119853;this[_0x29b408(0x10a)]=_0x5e0b21,this['_transformService']=_0xa96920,this[_0x29b408(0x198)]=_0x2fec25;}['transformStateCache'](_0x34ed6d){const _0x1e822b=_0x119853;this[_0x1e822b(0xbc)](_0x34ed6d);}[_0x119853(0xd6)](_0x6cb405){const _0x18552a=_0x119853,{unitID:_0x5051a0}=_0x6cb405,{collaboration:_0x399a64}=this['_docStateChangeManagerService'][_0x18552a(0x294)](_0x5051a0);if(_0x399a64['length']===0x0)return _0x6cb405;let _0x29ec2f=_0x220ae6[_0x18552a(0x2c4)][_0x18552a(0x1e0)](_0x6cb405[_0x18552a(0x159)][0x0]);for(let _0x495124=0x0;_0x495124<_0x399a64[_0x18552a(0x346)];_0x495124++){const _0x573d0a={'id':_0x18552a(0x319),'params':{'unitId':_0x399a64[_0x495124]['unitId'],..._0x399a64[_0x495124][_0x18552a(0x247)]}},_0x315784=this['_transformService']['transformMutation'](_0x29ec2f,_0x573d0a,!0x1);if(_0xeb38aa[_0x18552a(0x23f)](_0x315784))throw _0x315784[_0x18552a(0x2be)];_0x29ec2f=_0x315784['m1Prime'];}return{..._0x220ae6[_0x18552a(0x2c4)][_0x18552a(0x1e0)](_0x6cb405),'mutations':[_0x29ec2f]};}[_0x119853(0xbc)](_0x389cbf){const _0x1d04d9=_0x119853,{unitID:_0xe5a593}=_0x389cbf,{history:_0x46400f,collaboration:_0x47080c}=this['_docStateChangeManagerService']['getStateCache'](_0xe5a593);if(_0x46400f[_0x1d04d9(0x346)]===0x0&&_0x47080c[_0x1d04d9(0x346)]===0x0)return;const _0x4bb490=[],_0x2c8957=[];let _0x10f1ea=_0x220ae6[_0x1d04d9(0x2c4)][_0x1d04d9(0x1e0)](_0x389cbf[_0x1d04d9(0x159)][0x0]),_0x35c5b8=_0x220ae6['Tools']['deepClone'](_0x389cbf[_0x1d04d9(0x159)][0x0]);for(let _0x525599=_0x46400f[_0x1d04d9(0x346)]-0x1;_0x525599>=0x0;_0x525599--){const _0x3fea7d={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x46400f[_0x525599]['unitId'],..._0x46400f[_0x525599][_0x1d04d9(0x326)]}},_0x489ff5={'id':_0x1d04d9(0x319),'params':{'unitId':_0x46400f[_0x525599][_0x1d04d9(0x357)],..._0x46400f[_0x525599][_0x1d04d9(0x247)]}},_0x339f54=this[_0x1d04d9(0xf0)][_0x1d04d9(0x20d)](_0x10f1ea,_0x3fea7d,!0x1),_0x54ee6f=this['_transformService'][_0x1d04d9(0x20d)](_0x35c5b8,_0x489ff5,!0x1);if(_0xeb38aa[_0x1d04d9(0x23f)](_0x339f54))throw _0x339f54['error'];if(_0xeb38aa[_0x1d04d9(0x23f)](_0x54ee6f))throw _0x54ee6f[_0x1d04d9(0x2be)];_0x4bb490['unshift']({..._0x46400f[_0x525599],'undoState':_0x339f54[_0x1d04d9(0x156)][_0x1d04d9(0x25a)],'redoState':_0x54ee6f[_0x1d04d9(0x156)]['params']}),_0x10f1ea=_0x339f54[_0x1d04d9(0x283)],_0x35c5b8=_0x54ee6f[_0x1d04d9(0x283)];}_0x10f1ea=_0x220ae6[_0x1d04d9(0x2c4)][_0x1d04d9(0x1e0)](_0x389cbf[_0x1d04d9(0x159)][0x0]),_0x35c5b8=_0x220ae6[_0x1d04d9(0x2c4)]['deepClone'](_0x389cbf[_0x1d04d9(0x159)][0x0]);for(let _0x325c78=_0x47080c[_0x1d04d9(0x346)]-0x1;_0x325c78>=0x0;_0x325c78--){const _0x14b4d5={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x47080c[_0x325c78][_0x1d04d9(0x357)],..._0x47080c[_0x325c78][_0x1d04d9(0x326)]}},_0x38538e={'id':_0x1d04d9(0x319),'params':{'unitId':_0x47080c[_0x325c78][_0x1d04d9(0x357)],..._0x47080c[_0x325c78][_0x1d04d9(0x247)]}},_0x182a92=this[_0x1d04d9(0xf0)][_0x1d04d9(0x20d)](_0x10f1ea,_0x14b4d5,!0x1),_0x4f3941=this[_0x1d04d9(0xf0)][_0x1d04d9(0x20d)](_0x35c5b8,_0x38538e,!0x1);if(_0xeb38aa[_0x1d04d9(0x23f)](_0x182a92))throw _0x182a92[_0x1d04d9(0x2be)];if(_0xeb38aa['isTransformMutationFailure'](_0x4f3941))throw _0x4f3941[_0x1d04d9(0x2be)];_0x2c8957[_0x1d04d9(0x157)]({..._0x47080c[_0x325c78],'undoState':_0x182a92[_0x1d04d9(0x156)][_0x1d04d9(0x25a)],'redoState':_0x4f3941['m2Prime'][_0x1d04d9(0x25a)]}),_0x10f1ea=_0x182a92['m1Prime'],_0x35c5b8=_0x4f3941[_0x1d04d9(0x283)];}this[_0x1d04d9(0x198)][_0x1d04d9(0x109)](_0xe5a593,{'history':_0x4bb490,'collaboration':_0x2c8957});}};_0x252092=_0x1355c6([_0xa3a2b6(0x0,_0x220ae6['Inject'](_0x220ae6[_0x119853(0x22a)])),_0xa3a2b6(0x1,_0xeb38aa[_0x119853(0x2f3)]),_0xa3a2b6(0x2,_0x220ae6['Inject'](_0x5b6656[_0x119853(0x140)]))],_0x252092);var _0xc8c379=Object[_0x119853(0x150)],_0x494e16=(_0x350f6d,_0x4a718a,_0x1506de,_0x1369f9)=>{const _0x3b4b0c=_0x119853;for(var _0x1819b6=_0x1369f9>0x1?void 0x0:_0x1369f9?_0xc8c379(_0x4a718a,_0x1506de):_0x4a718a,_0x7e46aa=_0x350f6d[_0x3b4b0c(0x346)]-0x1,_0x3bff4d;_0x7e46aa>=0x0;_0x7e46aa--)(_0x3bff4d=_0x350f6d[_0x7e46aa])&&(_0x1819b6=_0x3bff4d(_0x1819b6)||_0x1819b6);return _0x1819b6;},_0x273b30=(_0x1254e8,_0x41d291)=>(_0x1e7fe9,_0x1eeed9)=>_0x41d291(_0x1e7fe9,_0x1eeed9,_0x1254e8);let _0xc6454a=class{constructor(_0x355ce8,_0x4681ce){const _0xc135ed=_0x119853;this[_0xc135ed(0x10a)]=_0x355ce8,this['_transformService']=_0x4681ce;}[_0x119853(0x16c)](_0x12b471){const _0x29c578=_0x119853;var _0xee2413;const _0x3aaaee=this[_0x29c578(0x10a)][_0x29c578(0x2c2)](_0x4dcc89[_0x29c578(0x33d)]),_0x562333=(_0xee2413=_0x3aaaee['getDocRanges']())!=null?_0xee2413:[];if(_0x562333[_0x29c578(0x346)]===0x0)return;const _0xf4c92c=_0x12b471[_0x29c578(0x226)],_0x70b2f1=[{'id':_0x29c578(0x319),'params':{'unitId':_0xf4c92c,'actions':null,'textRanges':_0x562333}}],_0x1f7dae=this[_0x29c578(0xf0)]['transformMutationsWithChangeset'](_0x12b471,_0x70b2f1);if(!_0xeb38aa[_0x29c578(0x2de)](_0x1f7dae))throw _0x1f7dae[_0x29c578(0x2be)];const _0x2ed007=_0x1f7dae['m2Prime'][0x0][_0x29c578(0x25a)][_0x29c578(0x257)];Array[_0x29c578(0xfa)](_0x2ed007)&&_0x2ed007['length']&&_0x3aaaee['replaceDocRanges'](_0x2ed007,{'unitId':_0xf4c92c,'subUnitId':_0xf4c92c},!0x1);}};_0xc6454a=_0x494e16([_0x273b30(0x0,_0x220ae6['Inject'](_0x220ae6[_0x119853(0x22a)])),_0x273b30(0x1,_0xeb38aa[_0x119853(0x2f3)])],_0xc6454a);var _0x5e61c4=Object[_0x119853(0x150)],_0x1f190d=(_0x354f93,_0x34f3cf,_0x3d8188,_0x59e7da)=>{for(var _0x2d0c5b=_0x59e7da>0x1?void 0x0:_0x59e7da?_0x5e61c4(_0x34f3cf,_0x3d8188):_0x34f3cf,_0x511399=_0x354f93['length']-0x1,_0x47919c;_0x511399>=0x0;_0x511399--)(_0x47919c=_0x354f93[_0x511399])&&(_0x2d0c5b=_0x47919c(_0x2d0c5b)||_0x2d0c5b);return _0x2d0c5b;},_0x2e4eec=(_0x3e98f4,_0x4473da)=>(_0x1b76e7,_0x4103c9)=>_0x4473da(_0x1b76e7,_0x4103c9,_0x3e98f4);let _0x34778f=class extends _0x220ae6[_0x119853(0x215)]{constructor(_0x6ac847,_0x39f102,_0x280b9a,_0x4f8399,_0x24851e,_0x2e95bc,_0x4a4864,_0x20e232){const _0x19af3c=_0x119853;super(),_0x1762f0(this,'_status$',new _0x217777[(_0x19af3c(0x17b))](_0x471b6c[_0x19af3c(0x27a)][_0x19af3c(0xce)])),(this[_0x19af3c(0x198)]=_0x6ac847,this[_0x19af3c(0x305)]=_0x39f102,this[_0x19af3c(0x342)]=_0x280b9a,this[_0x19af3c(0x2d6)]=_0x4f8399,this[_0x19af3c(0x2cb)]=_0x24851e,this[_0x19af3c(0x28b)]=_0x2e95bc,this['_messageService']=_0x4a4864,this['_localeService']=_0x20e232,this[_0x19af3c(0xcd)]());}[_0x119853(0xcd)](){const _0x56d854=_0x119853;this['disposeWithMe'](this[_0x56d854(0x305)][_0x56d854(0x34c)][_0x56d854(0x1b9)](_0x27b5a0=>{const _0x427339=_0x56d854,_0x2f80c4=this['_docStateChangeManagerService'][_0x427339(0x1ea)][_0x427339(0x1b9)](_0xccb1eb=>{const _0x247efd=_0x427339;if(_0xccb1eb==null)return;const {unitId:_0x400065,redoState:_0x4003f7,commandId:_0x1f39c1}=_0xccb1eb;if(_0x400065!==_0x27b5a0[_0x247efd(0x226)])return;const _0x4be8f4={'id':_0x1f39c1,'type':_0x220ae6[_0x247efd(0xff)][_0x247efd(0x25e)],'params':{'unitId':_0x400065,'actions':_0x4003f7[_0x247efd(0x178)],'textRanges':null}};_0x27b5a0[_0x247efd(0x144)](_0x4be8f4);});if(_0x27b5a0[_0x427339(0xf3)](_0x2f80c4),_0x27b5a0 instanceof _0x471b6c['DocCollaborationEntity']){const _0x59cacc={'onTransformIME':_0x488211=>this[_0x427339(0x342)]['transformIMECache'](_0x488211),'onTransformState':_0x3b56ab=>this['_docTransformStateCacheService'][_0x427339(0x318)](_0x3b56ab),'onTransformSelections':_0x546329=>this[_0x427339(0x2cb)][_0x427339(0x16c)](_0x546329),'onSyncEditingCollabCursor':_0x1339e6=>this[_0x427339(0x28b)]['syncEditingCollabCursor'](_0x1339e6),'onTransformRemoteChangesetByIMECache':_0x34ee0a=>this[_0x427339(0x342)]['transformRemoteChangeset'](_0x34ee0a),'onTransformRemoteChangesetByStateCache':_0xd9e5d1=>this[_0x427339(0x2d6)][_0x427339(0xd6)](_0xd9e5d1)};_0x27b5a0[_0x427339(0x29a)](_0x59cacc);}}));}};_0x34778f=_0x1f190d([_0x2e4eec(0x0,_0x220ae6['Inject'](_0x5b6656['DocStateChangeManagerService'])),_0x2e4eec(0x1,_0x220ae6[_0x119853(0x1c9)](_0x471b6c[_0x119853(0x2e0)])),_0x2e4eec(0x2,_0x220ae6[_0x119853(0x1c9)](_0x4449c3)),_0x2e4eec(0x3,_0x220ae6[_0x119853(0x1c9)](_0x252092)),_0x2e4eec(0x4,_0x220ae6[_0x119853(0x1c9)](_0xc6454a)),_0x2e4eec(0x5,_0x220ae6[_0x119853(0x1c9)](_0x53d983)),_0x2e4eec(0x6,_0x3d52cc['IMessageService']),_0x2e4eec(0x7,_0x220ae6['Inject'](_0x220ae6[_0x119853(0x26b)]))],_0x34778f);var _0x53ebe0=Object[_0x119853(0x150)],_0x51127b=(_0x6a9953,_0x5aa53e,_0x465362,_0x3a6c30)=>{for(var _0x2aca0e=_0x3a6c30>0x1?void 0x0:_0x3a6c30?_0x53ebe0(_0x5aa53e,_0x465362):_0x5aa53e,_0x4d2fc1=_0x6a9953['length']-0x1,_0x22296f;_0x4d2fc1>=0x0;_0x4d2fc1--)(_0x22296f=_0x6a9953[_0x4d2fc1])&&(_0x2aca0e=_0x22296f(_0x2aca0e)||_0x2aca0e);return _0x2aca0e;},_0xa9fa3f=(_0x580091,_0x200b64)=>(_0x458c87,_0xc35c8b)=>_0x200b64(_0x458c87,_0xc35c8b,_0x580091);let _0x14a6cd=class extends _0x220ae6[_0x119853(0x215)]{constructor(_0x3805da,_0xbfc01e,_0x1b6780){const _0x34f08f=_0x119853;super(),_0x1762f0(this,_0x34f08f(0x17e),new Map()),_0x1762f0(this,_0x34f08f(0x1c7),new Map()),_0x1762f0(this,_0x34f08f(0x27f),!0x1),(this[_0x34f08f(0x324)]=_0x3805da,this['_localStorageService']=_0xbfc01e,this[_0x34f08f(0x275)]=_0x1b6780);}[_0x119853(0x2c7)](){const _0x4f54e2=_0x119853;this[_0x4f54e2(0x27f)]=!0x0;}[_0x119853(0x1b4)](){const _0xa9a6ce=_0x119853;this[_0xa9a6ce(0x27f)]=!0x1;}get['saveTaskMap'](){const _0x504d12=_0x119853;return this[_0x504d12(0x1c7)];}['dispose'](){const _0x41c85f=_0x119853;this['exhaustSavingTask']()['then'](()=>super[_0x41c85f(0x2c5)]());}async[_0x119853(0x1cd)](_0x431e42){const _0x4913d4=_0x119853;return this['_disabled']?null:this[_0x4913d4(0x329)][_0x4913d4(0x1d7)](_0x471b6c[_0x4913d4(0x309)](_0x431e42));}async[_0x119853(0x170)](_0x1de5d6,_0x64ebe5){const _0x382820=_0x119853;return!!this[_0x382820(0x329)][_0x382820(0x334)](_0x1de5d6,_0x64ebe5);}[_0x119853(0x1d6)](_0x5c1a9e,_0x56987a,_0x4a7f67,_0x2e24bc){const _0x52cfc7=_0x119853,_0x3c179d=this[_0x52cfc7(0x275)][_0x52cfc7(0x237)](_0x5c1a9e);this[_0x52cfc7(0x17e)][_0x52cfc7(0x26d)](_0x5c1a9e,{'unitID':_0x5c1a9e,'type':_0x56987a,'awaitingChangeset':_0x4a7f67,'mutations':_0x2e24bc,'rev':_0x3c179d}),this[_0x52cfc7(0x1c7)]['has'](_0x5c1a9e)||this[_0x52cfc7(0xd3)](_0x5c1a9e);}[_0x119853(0xd3)](_0x4ce8b2){const _0x130555=_0x119853,_0x36e581=this[_0x130555(0x350)]();_0x36e581===0x0?this[_0x130555(0x1fb)](_0x4ce8b2):this[_0x130555(0x1c7)][_0x130555(0x26d)](_0x4ce8b2,setTimeout(()=>this[_0x130555(0x1fb)](_0x4ce8b2),_0x36e581));}[_0x119853(0x350)](){const _0x457573=_0x119853;var _0x343752;return(_0x343752=this[_0x457573(0x324)][_0x457573(0x359)](_0x471b6c[_0x457573(0x17d)]))!=null?_0x343752:_0x471b6c[_0x457573(0x11e)];}[_0x119853(0x1fb)](_0x7e961d){const _0x27a1f2=_0x119853,_0x525ebd=this[_0x27a1f2(0x1c7)][_0x27a1f2(0x2c2)](_0x7e961d);return _0x525ebd!==void 0x0&&window[_0x27a1f2(0x162)](_0x525ebd),this['_localStorageService']['setItem'](_0x471b6c[_0x27a1f2(0x309)](_0x7e961d),this[_0x27a1f2(0x17e)][_0x27a1f2(0x2c2)](_0x7e961d))[_0x27a1f2(0x2e3)](()=>this[_0x27a1f2(0x1c7)][_0x27a1f2(0x1e6)](_0x7e961d));}async[_0x119853(0x30d)](){const _0x162261=_0x119853,_0xc8fa07=[];this[_0x162261(0x1c7)][_0x162261(0xfd)]((_0x492717,_0x44ce89)=>{const _0x18833=_0x162261;window['clearTimeout'](_0x492717),_0xc8fa07['push'](this[_0x18833(0x1fb)](_0x44ce89)[_0x18833(0x2e3)](()=>{const _0x125ad4=_0x18833;this[_0x125ad4(0x1c7)]['delete'](_0x44ce89);}));}),await Promise[_0x162261(0x2ad)](_0xc8fa07);}};_0x14a6cd=_0x51127b([_0xa9fa3f(0x0,_0x220ae6[_0x119853(0xd8)]),_0xa9fa3f(0x1,_0x220ae6[_0x119853(0x2f6)]),_0xa9fa3f(0x2,_0x220ae6[_0x119853(0x1c9)](_0xeb38aa[_0x119853(0x1c0)]))],_0x14a6cd);class _0x3875d9 extends _0x220ae6[_0x119853(0x1cf)]{constructor(){const _0x33af67=_0x119853;super(),_0x1762f0(this,_0x33af67(0x248)),this[_0x33af67(0x248)]=_0x217777[_0x33af67(0x26a)](window,'popstate')[_0x33af67(0x31a)](_0x217777[_0x33af67(0x23a)](this['dispose$']),_0x217777['shareReplay'](0x1),_0x217777[_0x33af67(0x131)](void 0x0));}[_0x119853(0x104)](_0x4cd0a7,_0x5f1fcb,_0x3ca45b=!0x1){const _0x218da1=_0x119853,_0x25a764=new URL(window[_0x218da1(0xd2)]['href']);_0x25a764[_0x218da1(0x174)]['set'](_0x4cd0a7,_0x5f1fcb),_0x3ca45b?window[_0x218da1(0x225)][_0x218da1(0x172)]('','',_0x25a764[_0x218da1(0x2ee)]()):window['history'][_0x218da1(0x28d)]('','',_0x25a764[_0x218da1(0x2ee)]());}[_0x119853(0x2ff)](_0x1125b9,_0x4756a0=!0x1){const _0x18c7d6=_0x119853,_0x49cb09=new URL(window['location'][_0x18c7d6(0x133)]);_0x49cb09[_0x18c7d6(0x174)][_0x18c7d6(0x1e6)](_0x1125b9),_0x4756a0?window[_0x18c7d6(0x225)][_0x18c7d6(0x172)]('','',_0x49cb09[_0x18c7d6(0x2ee)]()):window['history']['pushState']('','',_0x49cb09[_0x18c7d6(0x2ee)]());}[_0x119853(0x358)](_0x240df5){const _0x51c713=_0x119853;var _0x42a2b7;return(_0x42a2b7=new URL(window['location']['href'])[_0x51c713(0x174)][_0x51c713(0x2c2)](_0x240df5))!=null?_0x42a2b7:void 0x0;}}var _0x3ab26a=Object[_0x119853(0x2ec)],_0x4b24f1=Object['getOwnPropertyDescriptor'],_0x35ad14=(_0xb1cfaf,_0x3cdf5b,_0x286432)=>_0x3cdf5b in _0xb1cfaf?_0x3ab26a(_0xb1cfaf,_0x3cdf5b,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x286432}):_0xb1cfaf[_0x3cdf5b]=_0x286432,_0xb58ac8=(_0x1fceae,_0x501e94,_0x3f87a0,_0x10b9df)=>{for(var _0x452102=_0x10b9df>0x1?void 0x0:_0x10b9df?_0x4b24f1(_0x501e94,_0x3f87a0):_0x501e94,_0x2e2ff7=_0x1fceae['length']-0x1,_0x4edf62;_0x2e2ff7>=0x0;_0x2e2ff7--)(_0x4edf62=_0x1fceae[_0x2e2ff7])&&(_0x452102=_0x4edf62(_0x452102)||_0x452102);return _0x452102;},_0x392880=(_0x2c99b6,_0x1744eb)=>(_0xb05668,_0x2ea8a8)=>_0x1744eb(_0xb05668,_0x2ea8a8,_0x2c99b6),_0x141730=(_0x4b7cd1,_0xf46254,_0x4d2189)=>_0x35ad14(_0x4b7cd1,_0xf46254+'',_0x4d2189);const _0x24653d=_0x119853(0x2a3);_0x3cf37a[_0x119853(0x32d)]=class extends _0x220ae6[_0x119853(0x16a)]{constructor(_0x10ac0a=_0x126fc8,_0x2baa16,_0x2ff434,_0x2f0684){const _0x7e1e39=_0x119853;super(),this[_0x7e1e39(0x1a6)]=_0x10ac0a,this[_0x7e1e39(0x310)]=_0x2baa16,this[_0x7e1e39(0x10a)]=_0x2ff434,this[_0x7e1e39(0x324)]=_0x2f0684;const {..._0x1ea4c4}=_0x220ae6['merge']({},_0x126fc8,this[_0x7e1e39(0x1a6)]);this['_configService'][_0x7e1e39(0x1e8)](_0x155070,_0x1ea4c4);}[_0x119853(0x2e5)](){const _0x4a7b94=_0x119853;this[_0x4a7b94(0xde)](),this[_0x4a7b94(0x1f4)]();}[_0x119853(0x143)](){this['_registerRenderDependencies']();}[_0x119853(0xde)](){const _0x3450e0=_0x119853;var _0x5a8453;const _0x1732d7=[[_0x340bdb],[_0xc6454a],[_0x4449c3],[_0x252092],[_0x53d983],[_0x3c9904,{'useClass':_0x3875d9}],[_0x348a82[_0x3450e0(0x31d)],{'useClass':_0x348a82[_0x3450e0(0xe7)]}],[_0x471b6c[_0x3450e0(0x1f5)],{'useClass':_0x14a6cd}],[_0x3cf37a[_0x3450e0(0x2f5)]],[_0x34778f],[_0x327ef7],[_0x193db8],[_0x82c703],[_0x3cf37a[_0x3450e0(0x296)]]];_0x220ae6[_0x3450e0(0x11a)](this[_0x3450e0(0x10a)],_0x220ae6['mergeOverrideWithDependencies'](_0x1732d7,(_0x5a8453=this[_0x3450e0(0x1a6)])==null?void 0x0:_0x5a8453[_0x3450e0(0x330)]));}['_registerRenderDependencies'](){const _0x103e07=_0x119853;this['disposeWithMe'](this['_renderManagerService']['registerRenderModule'](_0x220ae6[_0x103e07(0x175)][_0x103e07(0x27e)],[_0x46235d])),this['disposeWithMe'](this[_0x103e07(0x310)][_0x103e07(0x2a5)](_0x220ae6['UniverInstanceType']['UNIVER_SHEET'],[_0x4e6538]));}['_initDependencies'](){const _0x496812=_0x119853;_0x220ae6[_0x496812(0x14c)](this[_0x496812(0x10a)],[[_0x193db8],[_0x3cf37a[_0x496812(0x2f5)]],[_0x34778f],[_0x327ef7],[_0x3cf37a[_0x496812(0x296)]]]);}},_0x141730(_0x3cf37a[_0x119853(0x32d)],_0x119853(0x343),_0x24653d),_0x3cf37a['UniverCollaborationClientUIPlugin']=_0xb58ac8([_0x220ae6[_0x119853(0x298)](_0x471b6c[_0x119853(0x19c)]),_0x392880(0x1,_0x1c9625['IRenderManagerService']),_0x392880(0x2,_0x220ae6[_0x119853(0x1c9)](_0x220ae6[_0x119853(0x22a)])),_0x392880(0x3,_0x220ae6[_0x119853(0xd8)])],_0x3cf37a[_0x119853(0x32d)]);var _0x516f62=Object[_0x119853(0x150)],_0x55f7a7=(_0x5d731d,_0x119e62,_0x396348,_0x4c52f2)=>{const _0x151d00=_0x119853;for(var _0x10670d=_0x4c52f2>0x1?void 0x0:_0x4c52f2?_0x516f62(_0x119e62,_0x396348):_0x119e62,_0x19a0fe=_0x5d731d[_0x151d00(0x346)]-0x1,_0x370115;_0x19a0fe>=0x0;_0x19a0fe--)(_0x370115=_0x5d731d[_0x19a0fe])&&(_0x10670d=_0x370115(_0x10670d)||_0x10670d);return _0x10670d;},_0x9638e1=(_0x48d7f2,_0x10f08a)=>(_0x196bda,_0x1ab113)=>_0x10f08a(_0x196bda,_0x1ab113,_0x48d7f2);_0x3cf37a[_0x119853(0x2c9)]=class extends _0x471b6c[_0x119853(0x1a9)]{constructor(_0x3012c8,_0x37db53,_0x25b5dc,_0x112ee3,_0x46021d){super(_0x3012c8,_0x37db53,_0x25b5dc,_0x112ee3,_0x46021d);}async[_0x119853(0x19f)](_0x20ea56){const _0x5026e1=_0x119853,_0x5390a6=await this[_0x5026e1(0x333)](),_0x1ffd30=this[_0x5026e1(0x2fb)](_0x20ea56,_0x5390a6);return this['_doCreateSocket'](_0x1ffd30);}[_0x119853(0x2fb)](_0x35cabc,_0x477791){const _0xa8e05e=_0x119853,_0x3c2061=typeof window>'u'?new URL(_0x35cabc):new URL(_0x35cabc,window[_0xa8e05e(0xd2)][_0xa8e05e(0xdf)]);_0x3c2061[_0xa8e05e(0x174)]['set'](_0xa8e05e(0x1bb),_0x477791);const _0x3b9e7a=typeof window>'u'?new URLSearchParams():new URLSearchParams(window['location'][_0xa8e05e(0x2d1)]);return _0x3b9e7a[_0xa8e05e(0x2c2)](_0xa8e05e(0x227))&&_0x3c2061[_0xa8e05e(0x174)][_0xa8e05e(0x26d)](_0xa8e05e(0x227),_0x3b9e7a[_0xa8e05e(0x2c2)](_0xa8e05e(0x227))),_0x3c2061[_0xa8e05e(0x2ee)]();}async['_getSessionTicket'](){const _0x36461c=_0x119853;var _0x410b79,_0x354db2,_0x51fecd;const _0x4b011a=this['_configService'][_0x36461c(0x359)](_0x471b6c[_0x36461c(0x34e)]),_0x19eadd=(_0x410b79=_0x4b011a==null?void 0x0:_0x4b011a['wsSessionTicketUrl'])!=null?_0x410b79:_0x471b6c['DEFAULT_WS_SESSION_TICKET_URL'];return(_0x51fecd=(_0x354db2=(await this[_0x36461c(0x153)]['get'](_0x19eadd,{'headers':{'Content-Type':_0x36461c(0x23c)}}))[_0x36461c(0x331)])==null?void 0x0:_0x354db2[_0x36461c(0x253)])!=null?_0x51fecd:'';}},_0x3cf37a[_0x119853(0x2c9)]=_0x55f7a7([_0x9638e1(0x0,_0x220ae6[_0x119853(0x1c9)](_0x220ae6[_0x119853(0x22a)])),_0x9638e1(0x1,_0x220ae6[_0x119853(0x1c9)](_0x348a82[_0x119853(0x192)])),_0x9638e1(0x2,_0x220ae6['IConfigService']),_0x9638e1(0x3,_0x220ae6[_0x119853(0x112)]),_0x9638e1(0x4,_0xeb38aa[_0x119853(0xda)])],_0x3cf37a['BrowserCollaborationSocketService']);const _0x4c090b=0x7530,_0x28dafc=_0x119853(0xe0);class _0x3523d4 extends _0x220ae6[_0x119853(0x215)]{constructor(){const _0x5943fc=_0x119853;super(),_0x1762f0(this,'_id',_0x220ae6[_0x5943fc(0x13e)]()),_0x1762f0(this,_0x5943fc(0x164),new Set()),_0x1762f0(this,_0x5943fc(0x336),new Map()),_0x1762f0(this,'_heartbeatTimer',null),_0x1762f0(this,_0x5943fc(0x22b),new Map()),_0x1762f0(this,_0x5943fc(0x214),new Map()),this[_0x5943fc(0x2aa)]();}[_0x119853(0x2c5)](){const _0x58108e=_0x119853;super[_0x58108e(0x2c5)](),this[_0x58108e(0x22b)][_0x58108e(0xfd)]((_0x2d8b6d,_0x516de9)=>this[_0x58108e(0xe2)](_0x516de9)),this[_0x58108e(0x2a2)]&&window[_0x58108e(0x110)](this[_0x58108e(0x2a2)]);}['getUnitStatus$'](_0x3bf6cb){const _0x4689e2=_0x119853;return this[_0x4689e2(0x2e6)](_0x3bf6cb)[_0x4689e2(0x31a)](_0x217777[_0x4689e2(0x2f9)]());}[_0x119853(0x12c)](_0x56da47){const _0x2c9d02=_0x119853;this[_0x2c9d02(0x164)][_0x2c9d02(0xc4)]===0x0&&this['_scheduleHeartbeat'](),this[_0x2c9d02(0x164)][_0x2c9d02(0x34b)](_0x56da47),this[_0x2c9d02(0x33c)]({'type':0x0,'memberID':this[_0x2c9d02(0xcf)],'unitIDs':[_0x56da47],'isForwarded':!0x1});}[_0x119853(0x191)](_0x59c5bf){const _0x32f425=_0x119853;this['_selfUnitIDs'][_0x32f425(0x1e6)](_0x59c5bf),this[_0x32f425(0x164)][_0x32f425(0xc4)]===0x0&&this[_0x32f425(0x2a2)]&&window['clearInterval'](this[_0x32f425(0x2a2)]);}[_0x119853(0x2aa)](){const _0x4ed44a=_0x119853;this['disposeWithMe'](_0x220ae6[_0x4ed44a(0x2ef)](_0x217777[_0x4ed44a(0x26a)](window,_0x4ed44a(0x1d4))[_0x4ed44a(0x1b9)](_0x17ab70=>{const _0xf30bfa=_0x4ed44a;if(_0x17ab70[_0xf30bfa(0x24f)]!==_0x28dafc||!_0x17ab70[_0xf30bfa(0x1e2)])return;const _0x52312a=JSON['parse'](_0x17ab70[_0xf30bfa(0x1e2)]);this[_0xf30bfa(0x2ed)](_0x52312a);}))),window['addEventListener'](_0x4ed44a(0x177),()=>this['_send']({'type':0x1,'memberID':this['_id'],'unitIDs':Array[_0x4ed44a(0x171)](this[_0x4ed44a(0x164)])}));}['_handleEvent'](_0x263f05){const _0x834f33=_0x119853;switch(_0x263f05[_0x834f33(0xb7)]){case 0x0:this['_handleJoinEvent'](_0x263f05);break;case 0x1:this['_handleLeaveEvent'](_0x263f05);break;case 0x2:this['_handleHeartbeatEvent'](_0x263f05);break;}}['_handleJoinEvent'](_0x1f17c5){const _0x4cf527=_0x119853,{unitIDs:_0x18cb16,memberID:_0x556a08,isForwarded:_0xfb9d4a}=_0x1f17c5;_0x18cb16[_0x4cf527(0xfd)](_0x99c3c=>{const _0x2bdc3a=_0x4cf527;if(!_0xfb9d4a&&this[_0x2bdc3a(0x336)]['has'](_0x99c3c)&&this[_0x2bdc3a(0x2e6)](_0x99c3c)['next'](_0x471b6c[_0x2bdc3a(0x10f)][_0x2bdc3a(0x2ba)]),!this[_0x2bdc3a(0x336)][_0x2bdc3a(0x121)](_0x99c3c)||!this[_0x2bdc3a(0x336)]['get'](_0x99c3c)[_0x2bdc3a(0x121)](_0x556a08)){const _0x25d893=this['_unitOnClients'][_0x2bdc3a(0x2c2)](_0x99c3c)||new Set();_0x25d893[_0x2bdc3a(0x34b)](_0x556a08),this[_0x2bdc3a(0x336)][_0x2bdc3a(0x26d)](_0x99c3c,_0x25d893),this[_0x2bdc3a(0x183)](_0x556a08);}}),_0xfb9d4a||this[_0x4cf527(0x33c)]({'type':0x0,'memberID':this[_0x4cf527(0xcf)],'unitIDs':[...this['_selfUnitIDs']],'isForwarded':!0x0});}[_0x119853(0x183)](_0x3102a3){const _0x4a3c07=_0x119853;this['_removeClearOtherTimer'](_0x3102a3);const _0x459cf1=window[_0x4a3c07(0x107)](()=>{const _0x43f979=_0x4a3c07;this[_0x43f979(0x336)][_0x43f979(0xfd)](_0x3981f3=>{_0x3981f3['delete'](_0x3102a3);});},_0x4c090b*0x2);this[_0x4a3c07(0x22b)][_0x4a3c07(0x26d)](_0x3102a3,_0x459cf1);}[_0x119853(0xe2)](_0x1ee4cb){const _0x590678=_0x119853;if(this['_clearOtherTimers'][_0x590678(0x121)](_0x1ee4cb)){const _0x406f16=this['_clearOtherTimers'][_0x590678(0x2c2)](_0x1ee4cb);_0x406f16&&window[_0x590678(0x162)](_0x406f16),this[_0x590678(0x22b)]['set'](_0x1ee4cb,null);}}[_0x119853(0x29c)](_0x5489ac){const _0x2602af=_0x119853,{memberID:_0x1eab3b,unitIDs:_0x46d43b}=_0x5489ac;_0x46d43b['forEach'](_0x59ffda=>{const _0x39d5f3=_0x14fd;var _0x3e2b4c;const _0x29f757=this[_0x39d5f3(0x336)]['get'](_0x59ffda);_0x29f757&&(_0x29f757['delete'](_0x1eab3b),(_0x3e2b4c=this[_0x39d5f3(0x2e6)](_0x59ffda))==null||_0x3e2b4c[_0x39d5f3(0x316)](_0x29f757[_0x39d5f3(0xc4)]===0x0?_0x471b6c[_0x39d5f3(0x10f)][_0x39d5f3(0x262)]:_0x471b6c[_0x39d5f3(0x10f)][_0x39d5f3(0x2ba)]));}),this[_0x2602af(0xe2)](_0x1eab3b);}[_0x119853(0x2c0)](_0x102988){const _0x202f94=_0x119853;this[_0x202f94(0x183)](_0x102988[_0x202f94(0xcc)]);}[_0x119853(0x33c)](_0x5815c3){const _0x1984d8=_0x119853;localStorage['setItem'](_0x28dafc,JSON[_0x1984d8(0x272)](_0x5815c3));}[_0x119853(0x2e8)](){const _0x371508=_0x119853;this[_0x371508(0x2a2)]=window['setInterval'](()=>{const _0x26cb2a=_0x371508;this['_send']({'type':0x2,'memberID':this[_0x26cb2a(0xcf)]});},_0x4c090b);}[_0x119853(0x2e6)](_0x4004e4){const _0x5229d1=_0x119853;return this[_0x5229d1(0x214)][_0x5229d1(0x121)](_0x4004e4)||this['_unitStatus'][_0x5229d1(0x26d)](_0x4004e4,new _0x217777['BehaviorSubject'](_0x471b6c[_0x5229d1(0x10f)][_0x5229d1(0x262)])),this[_0x5229d1(0x214)][_0x5229d1(0x2c2)](_0x4004e4);}}var _0xa721c4=(_0x40f3a8=>(_0x40f3a8[_0x40f3a8[_0x119853(0x2d0)]=0x0]=_0x119853(0x2d0),_0x40f3a8[_0x40f3a8['OK']=0x1]='OK',_0x40f3a8[_0x40f3a8[_0x119853(0x1e7)]=0x2]=_0x119853(0x1e7),_0x40f3a8[_0x40f3a8[_0x119853(0x10e)]=0x3]=_0x119853(0x10e),_0x40f3a8[_0x40f3a8[_0x119853(0x2d8)]=0x4]='NOT_FOUND',_0x40f3a8[_0x40f3a8[_0x119853(0x24c)]=0x5]='UNAUTHENTICATED',_0x40f3a8[_0x40f3a8[_0x119853(0x300)]=0x6]=_0x119853(0x300),_0x40f3a8[_0x40f3a8[_0x119853(0x1d2)]=0x7]=_0x119853(0x1d2),_0x40f3a8[_0x40f3a8['TOO_MANY_REQUESTS']=0x8]=_0x119853(0xe3),_0x40f3a8[_0x40f3a8[_0x119853(0xc2)]=0x9]='COMPLETION_FINISHED',_0x40f3a8[_0x40f3a8[_0x119853(0x273)]=0xa]=_0x119853(0x273),_0x40f3a8[_0x40f3a8['MOBILE_VERIFY_CODE_MISMATCH']=0xb]=_0x119853(0x239),_0x40f3a8[_0x40f3a8['MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED']=0xc]=_0x119853(0x2b6),_0x40f3a8[_0x40f3a8[_0x119853(0x2fd)]=0xd]='EMAIL_VERIFY_CODE_MISMATCH',_0x40f3a8[_0x40f3a8[_0x119853(0x13f)]=0xe]=_0x119853(0x13f),_0x40f3a8[_0x40f3a8[_0x119853(0x282)]=0x1389]='CHANGESET_REVISION_CONFILICT',_0x40f3a8[_0x40f3a8[_0x119853(0x130)]=0x1771]=_0x119853(0x130),_0x40f3a8[_0x40f3a8[_0x119853(0x292)]=0x1772]='SNAPSHOT_HAS_BEEN_REMOVED',_0x40f3a8[_0x40f3a8[_0x119853(0x30e)]=0x1773]=_0x119853(0x30e),_0x40f3a8[_0x40f3a8[_0x119853(0x297)]=0x1b59]=_0x119853(0x297),_0x40f3a8[_0x40f3a8[_0x119853(0x141)]=0x1b5a]=_0x119853(0x141),_0x40f3a8[_0x40f3a8[_0x119853(0x1fe)]=0x1b5b]=_0x119853(0x1fe),_0x40f3a8[_0x40f3a8['APPLY_PERMISSION_DENIED']=0x1b5c]=_0x119853(0x340),_0x40f3a8[_0x40f3a8[_0x119853(0x306)]=0x1b5d]=_0x119853(0x306),_0x40f3a8[_0x40f3a8[_0x119853(0x160)]=0x1f41]=_0x119853(0x160),_0x40f3a8[_0x40f3a8['LICENSE_MAX_UNITS_EXCEEDED']=0x2329]=_0x119853(0x2e9),_0x40f3a8[_0x40f3a8[_0x119853(0x2db)]=0x232a]=_0x119853(0x2db),_0x40f3a8[_0x40f3a8[_0x119853(0x103)]=0x232b]=_0x119853(0x103),_0x40f3a8[_0x40f3a8[_0x119853(0x245)]=0x232c]=_0x119853(0x245),_0x40f3a8[_0x40f3a8[_0x119853(0x108)]=0x232d]=_0x119853(0x108),_0x40f3a8[_0x40f3a8[_0x119853(0x166)]=0x2711]='YUUMI_UNABLE_LOAD_URL',_0x40f3a8[_0x40f3a8[_0x119853(0x291)]=0x2712]=_0x119853(0x291),_0x40f3a8[_0x40f3a8['YUUMI_RATE_OVER_LIMIT']=0x2713]='YUUMI_RATE_OVER_LIMIT',_0x40f3a8[_0x40f3a8['YUUMI_SUBSCRIPTION_NOT_FOUND']=0x2714]=_0x119853(0xc3),_0x40f3a8[_0x40f3a8[_0x119853(0x138)]=0x271a]=_0x119853(0x138),_0x40f3a8[_0x40f3a8[_0x119853(0x238)]=0x271b]=_0x119853(0x238),_0x40f3a8[_0x40f3a8[_0x119853(0xec)]=0x271c]=_0x119853(0xec),_0x40f3a8[_0x40f3a8[_0x119853(0x21d)]=0x271d]=_0x119853(0x21d),_0x40f3a8[_0x40f3a8['YUUMI_PROMPT_MAX_TOKENS_EXCEEDED']=0x271e]=_0x119853(0x13d),_0x40f3a8[_0x40f3a8[_0x119853(0xe9)]=0x271f]=_0x119853(0xe9),_0x40f3a8[_0x40f3a8[_0x119853(0xdd)]=0x2720]='YUUMI_CONNECTOR_URL_NOT_FOUND',_0x40f3a8[_0x40f3a8[_0x119853(0xd1)]=0x2af9]='PY_RUNTIME_SCRIPT_ERROR',_0x40f3a8[_0x40f3a8[_0x119853(0x241)]=0x2ee1]=_0x119853(0x241),_0x40f3a8[_0x40f3a8[_0x119853(0x212)]=0x2ee2]=_0x119853(0x212),_0x40f3a8[_0x40f3a8[_0x119853(0x246)]=0x2ee3]=_0x119853(0x246),_0x40f3a8[_0x40f3a8['USER_NOT_INVITED_CODE']=0x2ee4]='USER_NOT_INVITED_CODE',_0x40f3a8[_0x40f3a8['INVITE_CODE_ALREADY_BOUND']=0x2ee5]='INVITE_CODE_ALREADY_BOUND',_0x40f3a8[_0x40f3a8[_0x119853(0x28a)]=0x32c9]=_0x119853(0x28a),_0x40f3a8[_0x40f3a8[_0x119853(0x219)]=0x32ca]=_0x119853(0x219),_0x40f3a8[_0x40f3a8[_0x119853(0x1ec)]=0x32cb]='EMAIL_HAS_BEEN_BOUND',_0x40f3a8[_0x40f3a8[_0x119853(0x2dc)]=-0x1]=_0x119853(0x2dc),_0x40f3a8))(_0xa721c4||{}),_0x59c4d5=Object['getOwnPropertyDescriptor'],_0x1ae6af=(_0x32b3ca,_0x2237b1,_0x342af4,_0x14c04f)=>{const _0x38339f=_0x119853;for(var _0x272826=_0x14c04f>0x1?void 0x0:_0x14c04f?_0x59c4d5(_0x2237b1,_0x342af4):_0x2237b1,_0xfbf17e=_0x32b3ca[_0x38339f(0x346)]-0x1,_0x5b16b9;_0xfbf17e>=0x0;_0xfbf17e--)(_0x5b16b9=_0x32b3ca[_0xfbf17e])&&(_0x272826=_0x5b16b9(_0x272826)||_0x272826);return _0x272826;},_0x1f1a06=(_0x5c33b9,_0x429930)=>(_0x25be61,_0x111e3b)=>_0x429930(_0x25be61,_0x111e3b,_0x5c33b9);_0x3cf37a[_0x119853(0x19b)]=class extends _0x220ae6[_0x119853(0x215)]{constructor(_0x517ea5,_0x2863a1,_0x185b8b){const _0x4d488b=_0x119853;super(),this['_instanceService']=_0x517ea5,this[_0x4d488b(0x153)]=_0x2863a1,this[_0x4d488b(0x324)]=_0x185b8b;}async[_0x119853(0x209)](_0x1f06c7,_0x315619,_0x4af7d8,..._0x393ecf){const _0x3dd60d=_0x119853;var _0x18cb91,_0x1bd835,_0x294b14,_0x319a97;const _0x3a6363=this[_0x3dd60d(0x117)]['getFocusedUnit']();if(!_0x3a6363)throw new Error(_0x3dd60d(0x16f));const _0x57bb0d=((_0x18cb91=this[_0x3dd60d(0x324)][_0x3dd60d(0x359)](_0x471b6c['REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY']))!=null?_0x18cb91:_0x471b6c[_0x3dd60d(0xb6)])+'/'+_0x1f06c7+_0x3dd60d(0x2c8)+_0x315619,_0x230fe0=new URL(window[_0x3dd60d(0xd2)]['href']),_0x110ab0={'scriptId':_0x1f06c7,'runId':(_0x1bd835=_0x230fe0['searchParams'][_0x3dd60d(0x2c2)]('runId'))!=null?_0x1bd835:'','function':_0x315619,'unitId':_0x3a6363['getUnitId'](),'argsOfFunction':JSON['stringify'](_0x393ecf),'invokeId':(_0x294b14=_0x4af7d8[_0x3dd60d(0x100)])!=null?_0x294b14:'','executionId':(_0x319a97=_0x4af7d8[_0x3dd60d(0x2c3)])!=null?_0x319a97:''};try{const _0x1dcc0b=await this[_0x3dd60d(0x153)][_0x3dd60d(0x354)](_0x57bb0d,{'body':_0x110ab0});return _0x1dcc0b[_0x3dd60d(0x331)][_0x3dd60d(0x2be)]&&_0x1dcc0b[_0x3dd60d(0x331)][_0x3dd60d(0x2be)][_0x3dd60d(0x2a8)]!==_0xa721c4['OK']?_0x3dd60d(0xb5):_0x1dcc0b[_0x3dd60d(0x331)][_0x3dd60d(0x2bd)];}catch{return _0x3dd60d(0xb5);}}},_0x3cf37a[_0x119853(0x19b)]=_0x1ae6af([_0x1f1a06(0x0,_0x220ae6[_0x119853(0x195)]),_0x1f1a06(0x1,_0x220ae6[_0x119853(0x1c9)](_0x348a82[_0x119853(0x192)])),_0x1f1a06(0x2,_0x220ae6[_0x119853(0xd8)])],_0x3cf37a[_0x119853(0x19b)]),_0x3cf37a[_0x119853(0x26e)]=_0x2f2b45,_0x3cf37a[_0x119853(0x1f2)]=_0x3c9904,_0x3cf37a[_0x119853(0x15d)]=_0x2712e8,_0x3cf37a['WebBrowserSingleActiveUnitService']=_0x3523d4,_0x3cf37a['WebURLService']=_0x3875d9,Object[_0x119853(0x2ec)](_0x3cf37a,Symbol[_0x119853(0x1f1)],{'value':_0x119853(0x308)});}));function _0x14fd(_0x38db08,_0x2eaf66){const _0x49cd37=_0x49cd();return _0x14fd=function(_0x14fdea,_0x3ab2e7){_0x14fdea=_0x14fdea-0xb4;let _0x44d141=_0x49cd37[_0x14fdea];return _0x44d141;},_0x14fd(_0x38db08,_0x2eaf66);}function _0x49cd(){const _0x26269e=['SNAPSHOT_HAS_BEEN_REMOVED','useCallback','getStateCache','tag','CollaborationDataLoaderController','APPLY_REJECT','DependentOn','text','addHandlerCallback','_docClipboardService','_handleLeaveEvent','_setupSubUnitSync','getCoordByCell','_labelPosition','currentTheme$','_imageIoService','_heartbeatTimer','UNIVER_COLLABORATION_CLIENT_WEB_PLUGIN','unit','registerRenderModule','saveTaskMap','USERS_LEAVE','code','hide','_init','CLOSE_ROOM','univerjs-icon\x20univerjs-icon-','all','setUndoRedoMutationParamsCache','DocSkeletonManagerService','_scene','AWAITING_WITH_PENDING','hovered','_initStatusListener','_cursorInfo$','Subject','MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','getUniverSheetInstance','@univerjs/sheets-ui','#FFF','OTHER_CLIENTS_EDITING','sessionStatus$','font','result','error','xlink:href','_handleHeartbeatEvent','column','get','executionId','Tools','dispose','save','disableLocalCache','/run/','BrowserCollaborationSocketService','_roomMembers$','_docTransformSelectionsService','addObjects','_colorAssignService','getActiveSheet','getRenderById','UNDEFINED','search','attrs','send','_initStatusComponent','fill','_docTransformStateCacheService','getActiveRange','NOT_FOUND','onTransformChange$','_transformUndoRedoStack','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','UNRECOGNIZED','_hideTimer','isTransformMutationsWithChangesetSuccess','propertyIsEnumerable','CollaborationController','with','InsertRowCommandId','then','2155dgxXhF','onStarting','_ensureSubject','range','_scheduleHeartbeat','LICENSE_MAX_UNITS_EXCEEDED','React','Warning','defineProperty','_handleEvent','toString','toDisposable','skeleton','endColumn','clipPath','ITransformService','executeCommand','DesktopCollaborationStatusDisplayController','ILocalStorageService','map','UniverProCollaborationClientUi','distinctUntilChanged','svg','_createSocketURL','jiqing.500','EMAIL_VERIFY_CODE_MISMATCH','displayName','removeParam','ALREADY_EXISTS','addObject','OnLineIcon','SheetsSelectionsService','collaboration-client-ui.config','_collaborationController','APPLY_DUPLICATED','FromArray','Module','getLocalCacheKey','getRelativeToViewportCoord','getVpScrollXYInfoByPosToVp','min','exhaustSavingTask','ENSURE_SNAPSHOT_EXECUTION','_getMergeRange','_renderManagerService','setActiveRange','MemberService','univer-mr-2\x20univer-flex\x20univer-text-xl','[CollaborationDataLoaderController]','_colorIndex','next','substring','transformStateCache','doc.mutation.rich-text-editing','pipe','SetTextSelectionsOperation','_collabCursorController','ISocketService','isActive','InsertColCommandId','getMergeData','setShapeProps','_getSheetObject','asObservable','_configService','_notificationService','undoState','yellow.400','transformIMECache','_localStorageService','children','defIds','IRemoteInstanceService','UniverCollaborationClientUIPlugin','_onCursorDelete','onPointerMove$','override','body','includes','_getSessionTicket','setItem','collabStatus.synced','_unitOnClients','_shapes','white','SOCKET_FAILED','SYNCED','SHEET_VIEWPORT_KEY','_send','DocSelectionManagerService','_localCacheService','getUndoRedoMutationParamsCache','APPLY_PERMISSION_DENIED','DisposableCollection','_docTransformIMECacheService','pluginName','18qHLyBE','useObservable','length','find','http://www.w3.org/2000/svg','TRANSFORM_CHANGE_OBSERVABLE_TYPE','_cursor','add','entityInit$','registerRefRange','COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY','collaboration.single-unit.warning','_getSaveTimeout','data','OTHER_CLIENT_EDITING','_cursorShapes','post','idSuffix','EffectRefRangId','unitId','getParam','getConfig','2462089dAmDkF','DeleteRangeMoveUpCommandId','Failed','DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','type','getSheetId','session.will-retry','44seigtv','drawWith','_transformHistoryAndStateStack','Rectangle','dispose$','IUIPartsService','SOCKET_FAILED_RETRY','_hover','COMPLETION_FINISHED','YUUMI_SUBSCRIPTION_NOT_FOUND','size','switchMap','...','@univerjs/engine-formula','indexOf','mask','IBeforeCloseService','DocIMEInputManagerService','memberID','_initEntityListener','NOT_COLLAB','_id','deserializeRangeWithSheet','PY_RUNTIME_SCRIPT_ERROR','location','_scheduleSaving','ThemeService','restore','transformRemoteChangeset','sheetId','IConfigService','FETCH_MISS','ISnapshotServerService','UniverUi','bold\x2013px\x20Source\x20Han\x20Sans\x20CN','YUUMI_CONNECTOR_URL_NOT_FOUND','_registerDependencies','origin','ACTIVE_UNIT_EVENT_CHANNEL','16fbgpJV','_removeClearOtherTimer','TOO_MANY_REQUESTS','SUBMIT_CHANGESET_TIMEOUT','AWAITING','_dataLoaderService','WebSocketService','Error','YUUMI_AI_RUN_FAILED','getTypeOfUnitDisposed$','className','YUUMI_TABLE_NOT_FOUND_IN_UNIT','fillStyle','roomMembers$','_online','_transformService','ICommandService','_updateLocalCursor','disposeWithMe','TEXT','exports','_beforeCloseService','OFFLINE','UniverSheetsUi','assignAColorForMemberID','isArray','focused$','useRef','forEach','No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','CommandType','invokeId','_entities','@univerjs/engine-render','LICENSE_IMPORT_SIZE_EXCEEDED','setParam','_assignedColors','_status$','setTimeout','LICENSE_DISTRO_REJECTED','setStateCache','_injector','resize','handleDeleteRangeMoveUp','_render','PERMISSION_DENIED','UnitStatus','clearInterval','red.300','ILogService','currentColor','_updateURLWithCurrentState','getRangePointData','url(#$1','_instanceService','measureText','reconnect','registerDependencies','call','_anchorDot','onCommandExecuted','LOCAL_CACHE_INTERVAL','roomMembers','collab-text-range-','has','registerBeforeClose','getViewport','symbol','_toggleOffline','on-line-icon_clip0_910_349','UniverDocs','_cursors','purple.300','getValue','RegularPolygon','editingUnit','handleInsertRow','replace','merge','SNAPSHOT_INVALID_SNAPSHOT','mapTo','_setupBeforeClosingHandler','href','green.600','_initResize','complete','getSheetBySheetId','YUUMI_NO_CUBOID_FOR_QUESTION','BuiltInUIPart','session.collaboration-timeout','ONLINE','getMemberID','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','generateRandomId','EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','DocStateChangeManagerService','APPLY_NON_SEQUENTIAL_REVISION','_univerInstanceService','onRendered','onLocalMutation','use','rxjs','CollaborationUIEventService','startsWith','Vector2','1em','_syncEditingCollabCursorService','touchDependencies','event$','_name','div','getOwnPropertyDescriptor','cursorInfo$','getUnitId','_httpService','@univerjs/design','_commandService','m2Prime','unshift','SessionStatus','mutations','RichTextEditingMutation','subscribeEvent','_anchor','SheetCollabCursorShape','collabStatus.offline','none','CONNECTOR_DATA_TOO_LARGE','@univerjs-pro/collaboration-client','clearTimeout','Rect','_selfUnitIDs','_getScale','YUUMI_UNABLE_LOAD_URL','url(#off-line-icon_clip0_910_343)','UniverProCollaboration','UniverEngineRender','Plugin','handleMoveRange','transformSelections','createIdentifier','SetWorksheetActivateCommand','[RemoteUniscriptService]:\x20no\x20focused\x20unit','saveOfflineData','from','replaceState','collab-client.tooltip.reconnect','searchParams','UniverInstanceType','transform','unload','actions','_eventUnsubscribe','getAncestorScale','BehaviorSubject','IMessageService','LOCAL_CACHE_INTERVAL_KEY','_cachedData','MessageType','MoveRangeCommandId','IImageIoService','evenodd','_scheduleClearOtherTimer','createInstance','SetSelectionsOperation','No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.','_memberService','collabStatus.notCollab','TEXT_RANGE_LAYER_INDEX','_entityInit$','_hovered','whenReady','_updateSubUnitFromURLParams','_logService','transformByState','_range','disposeUnit','HTTPService','InsertRangeMoveDownCommandId','jsx','IUniverInstanceService','906230xNEGAy','UNIVER_SHEET','_docStateChangeManagerService','CONFLICT','_transformPreviousActiveRange','RemoteUniscriptService','UniverCollaborationClientPlugin','ranges','handleInsertRangeMoveRight','createSocket','unsubscribe','getFocusedUnit','bottom','_handleHover','getCurrent','DataLoaderService','_config','13074QtRgwG','hasOwnProperty','CollaborationSocketService','_removeCollabCursors','RemoveRowCommandId','requireSession','@univerjs/network','DOC_RANGE_TYPE','_refreshCollabCursors','syncEditingCollabCursor','amd','forwardRef','black','enableLocalCache','_backgroundColor','colorChannel1','_toggleOnline','UniverDocsUi','subscribe','getMember','sessionTicket','saveImage','findNodePositionByCharIndex','moveTo','name','RevisionService','4655272BaMQKN','_getAnchorBounding','collabCursorState$','_draw','apply','push','_saveTaskMap','_drawTextRange','Inject','getSheetObject','_messageService','flatMap','loadOfflineData','url(#on-line-icon_clip0_910_349)','RxDisposable','debounceTime','path','INVALID_ARGUMENT','_initEvent','storage','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','updateOfflineData','getItem','getCellPositionByOffset','combineLatest','collaboration.closeRoom','width','createElement','DeleteRangeMoveLeftCommandId','_uiPartsService','react','deepClone','entries','newValue','throttleTime','getCollabCursors$','object','delete','INTERNAL_ERROR','setConfig','@univerjs/sheets','docStateChange$','off-line-icon_clip0_910_343','EMAIL_HAS_BEEN_BOUND','_drawRectRange','getColorFromTheme','collabStatus.syncing','fromEventSubject','toStringTag','IURLService','@univerjs/drawing','_initDependencies','ILocalCacheService','_refRangeService','JOIN_ROOM_FAILED','_sheetSkeletonManagerService','round','Unknown\x20user','_saveCache','Shape','UPDATE_CURSOR','APPLY_REVISION_CONFILICT','serializeRangeWithSheet','currentSkeleton$','concat','activeSheet$','collaboration-client.offline-data-not-saved','useDependency','_onRefRangeChange','permission.content','5427010XWwyOr','0\x200\x2016\x2016','runOnServer','_urlService','runRefRangeMutations','prototype','transformMutation','lineTo','_drawAnchor','addClipboardHook','eventID','INVALID_INVITE_CODE','cursorInfo','_unitStatus','Disposable','_localeService','ColorKit','OffLineIcon','MOBILE_HAS_BEEN_BOUND','collabStatus.fetchMiss','IDocClipboardService','getColor','YUUMI_ALL_TABLES_IS_INVALID','getOwnPropertySymbols','_docSkeleton','UniverIcon','isEditing','handleDeleteRangeMoveLeft','62115UxHzpv','defs','history','unitID','runId','extend','39460080BEGtbX','Injector','_clearOtherTimers','InsertRangeMoveRightCommandId','onMouseMove','connectInjector','subunit','_docSkeletonManagerService','loadUnit','setAlpha','UniverSheets','_context','RECT','string','getCurrentRevOfUnit','YUUMI_ASYNCIO_CANCELLED','MOBILE_VERIFY_CODE_MISMATCH','takeUntil','_color','application/json','_collabCursorState$','univer-flex\x20univer-items-center','isTransformMutationFailure','0\x200\x2017\x2016','INVITE_CODE_HAS_BEEN_UES','COLORS','univer-text-sm\x20univer-leading-8\x20univer-text-gray-600\x20dark:!univer-text-gray-200','registerComponent','LICENSE_EXPORT_SIZE_EXCEEDED','INVITE_CODE_REQUIRED','redoState','urlChange$','trim','getOffsetConfig','_themeService','UNAUTHENTICATED','debug','assign','key','@univerjs/docs','_lastPointer','UniverEngineFormula','ticket','row','UniverDrawing','split','textRanges','init','getSkeleton','params','translate(.97)','values','getCurrentUnitForType','MUTATION','_startSheetCollabCursor','source','RemoveColCommandId','NO_OTHER_CLIENTS_EDITING','_collabSessionService','arc','closePath','engine','color','_initCommandExecutedListener','onPointerEnter$','fromEvent','LocaleService','collab-text-anchor-','set','CollaborationStatusDisplay','CollaborationUIEventId','icon','_onCursorUpdate','stringify','LOGIN_FAILED','_startDocCollabCursor','_revisionService','debounce','Tooltip','uni.network.url-service','height','CollaborationStatus','INotificationService','show','on-line-icon','UNIVER_DOC','_disabled','_session','_updateCollabCursors','CHANGESET_REVISION_CONFILICT','m1Prime','CollaborationEvent','function','getCurrentSelections','permission.title','filter','top','WECHAT_HAS_BEEN_BOUND','_docSyncEditingCollabCursorService','toRgbString','pushState','@univerjs/ui','selection','_textBubble','YUUMI_URL_COL_OUT_OF_RANGE'];_0x49cd=function(){return _0x26269e;};return _0x49cd();}