@univerjs-pro/collaboration-client-ui 0.7.0-nightly.202505181606 → 0.7.0-nightly.202505191607

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/lib/cjs/facade.js CHANGED
@@ -1 +1 @@
1
- 'use strict';const _0x3a09be=_0x4592;(function(_0x69aa21,_0x4a2700){const _0x546a6a=_0x4592,_0x56d7b2=_0x69aa21();while(!![]){try{const _0x4c6547=-parseInt(_0x546a6a(0x183))/0x1*(parseInt(_0x546a6a(0x185))/0x2)+parseInt(_0x546a6a(0x17a))/0x3+-parseInt(_0x546a6a(0x17c))/0x4*(parseInt(_0x546a6a(0x180))/0x5)+-parseInt(_0x546a6a(0x179))/0x6*(-parseInt(_0x546a6a(0x17b))/0x7)+-parseInt(_0x546a6a(0x187))/0x8*(-parseInt(_0x546a6a(0x176))/0x9)+-parseInt(_0x546a6a(0x182))/0xa+-parseInt(_0x546a6a(0x184))/0xb*(-parseInt(_0x546a6a(0x178))/0xc);if(_0x4c6547===_0x4a2700)break;else _0x56d7b2['push'](_0x56d7b2['shift']());}catch(_0x28cdc7){_0x56d7b2['push'](_0x56d7b2['shift']());}}}(_0x4767,0x6a228));function _0x4767(){const _0x194ca8=['6387128TaiKYD','1501302BViUJN','runOnServer','752WPcLjc','26541DjmrJi','_injector','12cKZTYv','78pVrLvy','1285749qdVCqO','357637QfPevf','2421460qVKdHF','FUniver','@univerjs/core/facade','extend','5nbxyXE','@univerjs-pro/collaboration-client-ui','1598760NzxPGn','1jRGMcj'];_0x4767=function(){return _0x194ca8;};return _0x4767();}const t=require(_0x3a09be(0x181)),e=require(_0x3a09be(0x17e));class c extends e[_0x3a09be(0x17d)]{[_0x3a09be(0x186)](_0x594891,_0x3f4607,..._0x1369d0){const _0x5b2d0b=_0x3a09be;return this[_0x5b2d0b(0x177)]['get'](t['RemoteUniscriptService'])[_0x5b2d0b(0x186)](_0x594891,_0x3f4607,{},..._0x1369d0);}}function _0x4592(_0x42be41,_0x46ad16){const _0x476739=_0x4767();return _0x4592=function(_0x45923c,_0x171bcd){_0x45923c=_0x45923c-0x176;let _0x561199=_0x476739[_0x45923c];return _0x561199;},_0x4592(_0x42be41,_0x46ad16);}e['FUniver'][_0x3a09be(0x17f)](c);
1
+ 'use strict';const _0x26c500=_0x3071;(function(_0x6412dd,_0x51ca4c){const _0x241c75=_0x3071,_0x4dd831=_0x6412dd();while(!![]){try{const _0x18b93f=-parseInt(_0x241c75(0x10f))/0x1*(-parseInt(_0x241c75(0x107))/0x2)+-parseInt(_0x241c75(0x114))/0x3+-parseInt(_0x241c75(0x108))/0x4*(parseInt(_0x241c75(0x111))/0x5)+-parseInt(_0x241c75(0x106))/0x6+-parseInt(_0x241c75(0x110))/0x7+parseInt(_0x241c75(0x10d))/0x8*(parseInt(_0x241c75(0x116))/0x9)+parseInt(_0x241c75(0x10b))/0xa;if(_0x18b93f===_0x51ca4c)break;else _0x4dd831['push'](_0x4dd831['shift']());}catch(_0x5c9f54){_0x4dd831['push'](_0x4dd831['shift']());}}}(_0x538e,0x1e809));function _0x538e(){const _0x476a07=['@univerjs/core/facade','28lVgHvZ','1479534jwNYyh','12315iybGpM','runOnServer','get','583236zlysys','FUniver','9kRkqLQ','_injector','946428fgvXxp','15868NPxBPY','312NvrSfI','@univerjs-pro/collaboration-client-ui','extend','5424650BYeDbU','RemoteUniscriptService','927568YAvjxf'];_0x538e=function(){return _0x476a07;};return _0x538e();}const t=require(_0x26c500(0x109)),e=require(_0x26c500(0x10e));class c extends e[_0x26c500(0x115)]{[_0x26c500(0x112)](_0xa0210f,_0x4eb0e2,..._0x1e4e1a){const _0x23c53e=_0x26c500;return this[_0x23c53e(0x117)][_0x23c53e(0x113)](t[_0x23c53e(0x10c)])[_0x23c53e(0x112)](_0xa0210f,_0x4eb0e2,{},..._0x1e4e1a);}}function _0x3071(_0x417412,_0x152565){const _0x538e05=_0x538e();return _0x3071=function(_0x3071bc,_0x2d3893){_0x3071bc=_0x3071bc-0x106;let _0x26665a=_0x538e05[_0x3071bc];return _0x26665a;},_0x3071(_0x417412,_0x152565);}e[_0x26c500(0x115)][_0x26c500(0x10a)](c);
package/lib/cjs/index.js CHANGED
@@ -1 +1 @@
1
- 'use strict';const _0x48e5bc=_0x3f84;(function(_0x29c6d3,_0x4615f8){const _0x543848=_0x3f84,_0x377736=_0x29c6d3();while(!![]){try{const _0x58663b=parseInt(_0x543848(0x2d8))/0x1*(parseInt(_0x543848(0x1b4))/0x2)+parseInt(_0x543848(0x23d))/0x3+-parseInt(_0x543848(0x237))/0x4+parseInt(_0x543848(0x2b7))/0x5*(parseInt(_0x543848(0x1ce))/0x6)+parseInt(_0x543848(0x1b3))/0x7*(-parseInt(_0x543848(0xaa))/0x8)+-parseInt(_0x543848(0xf2))/0x9+-parseInt(_0x543848(0x133))/0xa*(parseInt(_0x543848(0x2d7))/0xb);if(_0x58663b===_0x4615f8)break;else _0x377736['push'](_0x377736['shift']());}catch(_0xa938f8){_0x377736['push'](_0x377736['shift']());}}}(_0x2824,0xc07c2));var Ve=Object[_0x48e5bc(0x228)],Xe=(_0x37a102,_0x45760c,_0x2c1ef0)=>_0x45760c in _0x37a102?Ve(_0x37a102,_0x45760c,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x2c1ef0}):_0x37a102[_0x45760c]=_0x2c1ef0,h=(_0x4766e7,_0x40cb46,_0x58c53e)=>Xe(_0x4766e7,typeof _0x40cb46!=_0x48e5bc(0xa6)?_0x40cb46+'':_0x40cb46,_0x58c53e);Object[_0x48e5bc(0x228)](exports,Symbol[_0x48e5bc(0x2e0)],{'value':'Module'});const u=require(_0x48e5bc(0x221)),a=require('@univerjs/core'),p=require(_0x48e5bc(0xb7)),G=require(_0x48e5bc(0x205)),b=require(_0x48e5bc(0xe2)),Ge=require('@univerjs/drawing'),d=require(_0x48e5bc(0x295)),Y=require('@univerjs/docs'),m=require('@univerjs-pro/collaboration'),Ee=require(_0x48e5bc(0xbe)),g=require(_0x48e5bc(0x22f)),$=require(_0x48e5bc(0xff)),X=require(_0x48e5bc(0x1d8)),P=require(_0x48e5bc(0x17a)),T=require(_0x48e5bc(0x2bd)),D=require(_0x48e5bc(0x90)),M=require('react'),Ke=require(_0x48e5bc(0x271));var qe=Object['getOwnPropertyDescriptor'],ze=(_0x8542ee,_0x11d122,_0x441167,_0x284ea3)=>{for(var _0x3b41a8=_0x284ea3>0x1?void 0x0:_0x284ea3?qe(_0x11d122,_0x441167):_0x11d122,_0x2d5c86=_0x8542ee['length']-0x1,_0x304c43;_0x2d5c86>=0x0;_0x2d5c86--)(_0x304c43=_0x8542ee[_0x2d5c86])&&(_0x3b41a8=_0x304c43(_0x3b41a8)||_0x3b41a8);return _0x3b41a8;},Te=(_0x3d33b6,_0x36cfe6)=>(_0x11cc94,_0x12b0f0)=>_0x36cfe6(_0x11cc94,_0x12b0f0,_0x3d33b6);let de=class extends a[_0x48e5bc(0x9d)]{constructor(_0x5982af,_0x3ec4b9){const _0x9e63cd=_0x48e5bc;super(),this[_0x9e63cd(0x17c)]=_0x5982af,this[_0x9e63cd(0x258)]=_0x3ec4b9,this[_0x9e63cd(0x1c8)]();}[_0x48e5bc(0x1c8)](){const _0x1be47b=_0x48e5bc,_0x2a1a3f=this;this['disposeWithMe'](this[_0x1be47b(0x17c)]['addClipboardHook']({'onBeforePasteImage':async _0x3893f7=>{const _0x4a7d9d=_0x1be47b,_0x2d7428=await _0x2a1a3f[_0x4a7d9d(0x258)][_0x4a7d9d(0xca)](_0x3893f7);return _0x2d7428?{'source':_0x2d7428['source'],'imageSourceType':_0x2d7428[_0x4a7d9d(0x2ab)]}:null;}}));}};de=ze([Te(0x0,b[_0x48e5bc(0x239)]),Te(0x1,Ge['IImageIoService'])],de);const Oe=[_0x48e5bc(0x1cc),_0x48e5bc(0x20f),_0x48e5bc(0x2cb),_0x48e5bc(0x125),'blue.400',_0x48e5bc(0x10e)];class me extends a['Disposable']{constructor(){super(...arguments),h(this,'_assignedColors',new Map()),h(this,'_colorIndex',0x0);}[_0x48e5bc(0xb0)](_0x5a78e6){const _0x17b378=_0x48e5bc;if(this['_assignedColors'][_0x17b378(0x197)](_0x5a78e6))return this[_0x17b378(0x1a8)][_0x17b378(0x20c)](_0x5a78e6);const _0x5d8748=Oe[this[_0x17b378(0xc9)]];return this['_colorIndex']=(this[_0x17b378(0xc9)]+0x1)%Oe['length'],this[_0x17b378(0x1a8)][_0x17b378(0x28a)](_0x5a78e6,_0x5d8748),_0x5d8748;}}function Pe(_0x52fc8c){const _0x16e4c4=_0x48e5bc;let _0x3c7bf9='';for(const _0x119dd9 of _0x52fc8c){const {startOffset:_0x1df73d,endOffset:_0x3f854e,isActive:_0xe6b29,rangeType:_0x2a9fdc,segmentId:_0x14f34a,segmentPage:_0x1cc078}=_0x119dd9;_0x3c7bf9[_0x16e4c4(0x2c5)]&&(_0x3c7bf9+=','),_0x3c7bf9+=_0x1df73d+':'+_0x3f854e+':'+(_0xe6b29?'1':'0')+':'+_0x2a9fdc+':'+_0x14f34a+':'+_0x1cc078;}return _0x3c7bf9;}function Je(_0x497d35){const _0x5e6cf7=_0x48e5bc,_0x9461f3=_0x497d35[_0x5e6cf7(0x2fb)](','),_0x50c548=[];for(const _0x2db39e of _0x9461f3){const [_0x463a96,_0x535737,_0x677f8d,_0x24a6cd,_0xb74e8,_0x1b23d2]=_0x2db39e['split'](':');_0x50c548[_0x5e6cf7(0x232)]({'startOffset':Number(_0x463a96),'endOffset':Number(_0x535737),'collapsed':_0x463a96===_0x535737,'isActive':_0x677f8d==='1','rangeType':_0x24a6cd===a['DOC_RANGE_TYPE'][_0x5e6cf7(0x1d2)]?a['DOC_RANGE_TYPE']['TEXT']:a[_0x5e6cf7(0x1f2)][_0x5e6cf7(0x218)],'segmentId':typeof _0xb74e8=='string'?String(_0xb74e8):'','segmentPage':Number(_0x1b23d2!=null?_0x1b23d2:-0x1)});}return _0x50c548[_0x5e6cf7(0x254)](_0x1accd5=>_0x1accd5[_0x5e6cf7(0x2ca)])||(_0x50c548[0x0][_0x5e6cf7(0x2ca)]=!0x0),_0x50c548;}class Ce extends a[_0x48e5bc(0x9d)]{constructor(){const _0xf0d2a4=_0x48e5bc;super(...arguments),h(this,_0xf0d2a4(0xdf),new d[(_0xf0d2a4(0x16d))](null)),h(this,'collabCursorState$',this[_0xf0d2a4(0xdf)][_0xf0d2a4(0x2b9)]());}[_0x48e5bc(0x26b)](_0x5be014){const _0x1b9a5b=_0x48e5bc,{unitID:_0x484582,memberID:_0x1de7e9,textRanges:_0x3166d7}=_0x5be014,_0x5bfdb9=Pe(_0x3166d7);if(_0x5bfdb9==='')return;const _0x4afbda={'unitID':_0x484582,'memberID':_0x1de7e9,'selection':_0x5bfdb9};this['_collabCursorState$'][_0x1b9a5b(0xbb)](_0x4afbda);}}var Ze=Object[_0x48e5bc(0x275)],Qe=(_0x97676c,_0x4d8921,_0x3156d8,_0x35a769)=>{const _0x3daf70=_0x48e5bc;for(var _0x36b6ef=_0x35a769>0x1?void 0x0:_0x35a769?Ze(_0x4d8921,_0x3156d8):_0x4d8921,_0x999ce4=_0x97676c[_0x3daf70(0x2c5)]-0x1,_0x50be2b;_0x999ce4>=0x0;_0x999ce4--)(_0x50be2b=_0x97676c[_0x999ce4])&&(_0x36b6ef=_0x50be2b(_0x36b6ef)||_0x36b6ef);return _0x36b6ef;},L=(_0x4a3157,_0x3d9326)=>(_0xe315c0,_0x579916)=>_0x3d9326(_0xe315c0,_0x579916,_0x4a3157);const et=0x12c,tt=0x64;let fe=class extends a['RxDisposable']{constructor(_0x492d92,_0x38ecde,_0x38a6ca,_0x51f487,_0x5bab13,_0x40868c,_0x1bb87f,_0x58b651,_0x3b8ef7){const _0x32c6f6=_0x48e5bc;super(),h(this,_0x32c6f6(0x264),!0x1),h(this,_0x32c6f6(0x1c8),!0x1),h(this,_0x32c6f6(0x88),new d['BehaviorSubject'](new Map())),h(this,_0x32c6f6(0x2d6),this[_0x32c6f6(0x88)][_0x32c6f6(0x2b9)]()),h(this,_0x32c6f6(0x2f1),new d[(_0x32c6f6(0x16d))]([])),h(this,_0x32c6f6(0x8a),this[_0x32c6f6(0x2f1)]['pipe'](d[_0x32c6f6(0x14b)](et))),h(this,'_updateLocalCursor',a[_0x32c6f6(0xaf)](_0x30f7af=>{const _0x2ed1c0=_0x32c6f6,_0x4603bc={'eventID':m[_0x2ed1c0(0xf1)]['UPDATE_CURSOR'],'data':{'unitID':this[_0x2ed1c0(0x2e5)],'memberID':this[_0x2ed1c0(0x22a)][_0x2ed1c0(0x26a)](),'selection':Pe(_0x30f7af)}};this[_0x2ed1c0(0x22a)][_0x2ed1c0(0x181)](_0x4603bc,this[_0x2ed1c0(0x2e5)]);},tt)),(this[_0x32c6f6(0x2e5)]=_0x492d92,this[_0x32c6f6(0x22a)]=_0x38ecde,this[_0x32c6f6(0x126)]=_0x38a6ca,this['_colorAssignService']=_0x51f487,this[_0x32c6f6(0x11a)]=_0x5bab13,this['_syncEditingCollabCursorService']=_0x40868c,this['_transformService']=_0x1bb87f,this[_0x32c6f6(0x109)]=_0x58b651,this[_0x32c6f6(0x174)]=_0x3b8ef7);}get[_0x48e5bc(0x138)](){const _0x20b1f7=_0x48e5bc;return this[_0x20b1f7(0x88)][_0x20b1f7(0x2af)]();}get['roomMembers'](){return this['_roomMembers$']['getValue']();}[_0x48e5bc(0x233)](){const _0x39f0ac=_0x48e5bc;super[_0x39f0ac(0x233)](),this[_0x39f0ac(0x88)]['next'](new Map()),this[_0x39f0ac(0x88)]['complete'](),this[_0x39f0ac(0x2f1)][_0x39f0ac(0xbb)]([]),this[_0x39f0ac(0x2f1)][_0x39f0ac(0x14d)]();}[_0x48e5bc(0x2aa)](){const _0x4d7e20=_0x48e5bc;this[_0x4d7e20(0x1c8)]||(this['_init']=!0x0,this[_0x4d7e20(0x22a)][_0x4d7e20(0x2f2)][_0x4d7e20(0x29b)](d['takeUntil'](this[_0x4d7e20(0xcc)]))[_0x4d7e20(0x2fe)](_0xd315b7=>{const _0x22b56c=_0x4d7e20;_0xd315b7===u['SessionStatus']['ONLINE']?this[_0x22b56c(0xb3)]():this[_0x22b56c(0x25e)]();}),this[_0x4d7e20(0x22a)]['event$'][_0x4d7e20(0x29b)](d['takeUntil'](this[_0x4d7e20(0xcc)]))[_0x4d7e20(0x2fe)](_0x40f5d4=>{const _0x915012=_0x4d7e20,_0x39db35=_0x40f5d4[_0x915012(0xa3)];_0x39db35===m[_0x915012(0xf1)][_0x915012(0x2ad)]&&this['_onCursorUpdate'](_0x40f5d4),_0x39db35===m[_0x915012(0xf1)][_0x915012(0x28e)]&&this[_0x915012(0xe0)](_0x40f5d4);}),this['disposeWithMe'](this[_0x4d7e20(0x174)][_0x4d7e20(0x2a0)](_0x30d101=>{const _0x4c7b67=_0x4d7e20,_0x3fcdb2=_0x30d101['params'];_0x3fcdb2!=null&&this[_0x4c7b67(0x264)]&&_0x30d101['id']===Y['SetTextSelectionsOperation']['id']&&_0x3fcdb2[_0x4c7b67(0x1ea)]===this[_0x4c7b67(0x2e5)]&&_0x3fcdb2[_0x4c7b67(0x249)]===!0x1&&_0x3fcdb2[_0x4c7b67(0x2ed)][_0x4c7b67(0x2c5)]>0x0&&this[_0x4c7b67(0x2f8)](_0x3fcdb2[_0x4c7b67(0x2ed)]);})),this[_0x4d7e20(0x13e)][_0x4d7e20(0x10d)][_0x4d7e20(0x29b)](d['takeUntil'](this[_0x4d7e20(0xcc)]))[_0x4d7e20(0x2fe)](_0x275f36=>{const _0xe6f386=_0x4d7e20;if((_0x275f36==null?void 0x0:_0x275f36['unitID'])!==this[_0xe6f386(0x2e5)])return;const _0x27b378={'eventID':m[_0xe6f386(0xf1)]['UPDATE_CURSOR'],'data':_0x275f36};this['_onCursorUpdate'](_0x27b378);}),this[_0x4d7e20(0x173)](this[_0x4d7e20(0x174)]['onCommandExecuted'](_0x583f8c=>{const _0xbe6e92=_0x4d7e20;if(_0x583f8c['params']==null)return;const _0x40c0bf=_0x583f8c[_0xbe6e92(0x26e)];if(_0x583f8c['id']!==Y[_0xbe6e92(0x196)]['id']||_0x40c0bf[_0xbe6e92(0x1ea)]!==this[_0xbe6e92(0x2e5)])return;const _0x2a8199={'id':_0xbe6e92(0x236),'params':_0x40c0bf},_0x5ca91d=this[_0xbe6e92(0x138)];for(const [_0x3c5c4d,_0x51c0b0]of _0x5ca91d){const _0x3775c2={'id':_0xbe6e92(0x236),'params':{'unitId':this[_0xbe6e92(0x2e5)],'actions':null,'textRanges':_0x51c0b0[_0xbe6e92(0x2ed)]}},_0x53edc7=this[_0xbe6e92(0x201)][_0xbe6e92(0x195)](_0x2a8199,_0x3775c2,!0x1);if(m['isTransformMutationFailure'](_0x53edc7))throw _0x53edc7[_0xbe6e92(0x272)];_0x5ca91d[_0xbe6e92(0x28a)](_0x3c5c4d,{..._0x51c0b0,'ranges':_0x53edc7[_0xbe6e92(0x277)][_0xbe6e92(0x26e)][_0xbe6e92(0x1cd)]});}queueMicrotask(()=>{const _0x4318a5=_0xbe6e92;this[_0x4318a5(0x88)][_0x4318a5(0xbb)](_0x5ca91d);});})));}[_0x48e5bc(0x11b)](_0x4a97e9){const _0x21fa9a=_0x48e5bc;var _0x1166d2,_0xcdcf1c;const {memberID:_0x1cbfe9,selection:_0xeced80}=_0x4a97e9[_0x21fa9a(0x10f)],_0x39675=Je(_0xeced80),_0x42eb82=(_0xcdcf1c=(_0x1166d2=this[_0x21fa9a(0x11a)][_0x21fa9a(0x28f)](this[_0x21fa9a(0x2e5)],_0x1cbfe9))==null?void 0x0:_0x1166d2['name'])!=null?_0xcdcf1c:_0x21fa9a(0x2c9),_0x587f80={'color':this[_0x21fa9a(0x1f4)][_0x21fa9a(0xb0)](_0x1cbfe9),'name':_0x42eb82,'ranges':_0x39675},_0x52c4be=this[_0x21fa9a(0x138)];_0x52c4be['set'](_0x1cbfe9,_0x587f80),this[_0x21fa9a(0x88)][_0x21fa9a(0xbb)](_0x52c4be);}[_0x48e5bc(0xe0)](_0xf2ae2f){const _0x283f7e=_0x48e5bc,{memberID:_0x56402f}=_0xf2ae2f['data'],_0x1a5a80=this['cursorInfo'];_0x1a5a80['delete'](_0x56402f),this['_cursorInfo$'][_0x283f7e(0xbb)](_0x1a5a80);}['_toggleOnline'](){const _0x220b57=_0x48e5bc;var _0x1de631;if(this[_0x220b57(0x264)]=!0x0,((_0x1de631=this[_0x220b57(0x109)][_0x220b57(0x2a3)]())==null?void 0x0:_0x1de631['getUnitId']())!==this['unitID'])return;const _0x143c52=this[_0x220b57(0x126)][_0x220b57(0x20c)](Y[_0x220b57(0xec)])[_0x220b57(0xdc)]();Array[_0x220b57(0x1b9)](_0x143c52)&&_0x143c52['length']>0x0&&this[_0x220b57(0x2f8)](_0x143c52);}[_0x48e5bc(0x25e)](){const _0xd7e8bd=_0x48e5bc;this[_0xd7e8bd(0x264)]=!0x1;}};fe=Qe([L(0x2,a[_0x48e5bc(0x28c)](a[_0x48e5bc(0x102)])),L(0x3,a[_0x48e5bc(0x28c)](me)),L(0x4,a['Inject'](u['MemberService'])),L(0x5,a[_0x48e5bc(0x28c)](Ce)),L(0x6,m[_0x48e5bc(0x129)]),L(0x7,a[_0x48e5bc(0x9f)]),L(0x8,a[_0x48e5bc(0x110)])],fe);var st=Object['getOwnPropertyDescriptor'],it=(_0x34d3fe,_0x3e11fa,_0x59c8fb,_0x1a1330)=>{const _0x2b23d6=_0x48e5bc;for(var _0x4846f0=_0x1a1330>0x1?void 0x0:_0x1a1330?st(_0x3e11fa,_0x59c8fb):_0x3e11fa,_0x3b0f55=_0x34d3fe[_0x2b23d6(0x2c5)]-0x1,_0x76a3f0;_0x3b0f55>=0x0;_0x3b0f55--)(_0x76a3f0=_0x34d3fe[_0x3b0f55])&&(_0x4846f0=_0x76a3f0(_0x4846f0)||_0x4846f0);return _0x4846f0;},w=(_0x3d9632,_0x3ac892)=>(_0x264183,_0x3c2b42)=>_0x3ac892(_0x264183,_0x3c2b42,_0x3d9632);const nt=0x12c,rt=0x64,ot=()=>{let _0x716ced=[],_0x20a8ff=!0x1;return _0x2212d9=>{const _0x3be988=_0x3f84;_0x716ced[_0x3be988(0x232)](_0x2212d9),_0x20a8ff||(_0x20a8ff=!0x0,setTimeout(()=>{_0x716ced['forEach'](_0x1dbf4f=>_0x1dbf4f()),_0x716ced=[],_0x20a8ff=!0x1;}));};};let Se=class extends a[_0x48e5bc(0x9d)]{constructor(_0x349563,_0x42ea35,_0x4f64ed,_0xaa3c1f,_0x4bada1,_0xd19eb1,_0x2027c6,_0x1e60c1){const _0x484dc4=_0x48e5bc;super(),h(this,'_online',!0x1),h(this,'_init',!0x1),h(this,_0x484dc4(0x88),new d[(_0x484dc4(0x16d))](new Map())),h(this,_0x484dc4(0x2d6),this['_cursorInfo$'][_0x484dc4(0x2b9)]()),h(this,_0x484dc4(0x2f1),new d[(_0x484dc4(0x16d))]([])),h(this,'roomMembers$',this[_0x484dc4(0x2f1)]['pipe'](d['debounceTime'](nt))),h(this,_0x484dc4(0x2f8),a[_0x484dc4(0xaf)]((_0x571f26,_0x486c6b)=>{const _0xa6cd36=_0x484dc4,_0x1464ed={'eventID':m[_0xa6cd36(0xf1)][_0xa6cd36(0x2ad)],'data':{'unitID':this[_0xa6cd36(0x2e5)],'memberID':this['_session'][_0xa6cd36(0x26a)](),'selection':Ee[_0xa6cd36(0xd8)](_0x571f26,_0x486c6b['range'])}};this[_0xa6cd36(0x22a)][_0xa6cd36(0x181)](_0x1464ed,this[_0xa6cd36(0x2e5)]);},rt)),(this['unitID']=_0x349563,this[_0x484dc4(0x22a)]=_0x42ea35,this['_injector']=_0x4f64ed,this[_0x484dc4(0x1f4)]=_0xaa3c1f,this[_0x484dc4(0x11a)]=_0x4bada1,this[_0x484dc4(0x109)]=_0xd19eb1,this[_0x484dc4(0x174)]=_0x2027c6,this[_0x484dc4(0x10c)]=_0x1e60c1);}get['cursorInfo'](){const _0x3486b6=_0x48e5bc;return this[_0x3486b6(0x88)][_0x3486b6(0x2af)]();}get['roomMembers'](){const _0x4aa6aa=_0x48e5bc;return this['_roomMembers$'][_0x4aa6aa(0x2af)]();}[_0x48e5bc(0x233)](){const _0x8a3247=_0x48e5bc;super['dispose'](),this[_0x8a3247(0x88)][_0x8a3247(0xbb)](new Map()),this[_0x8a3247(0x88)][_0x8a3247(0x14d)](),this[_0x8a3247(0x2f1)][_0x8a3247(0xbb)]([]),this[_0x8a3247(0x2f1)][_0x8a3247(0x14d)]();}[_0x48e5bc(0x2aa)](){const _0x48c87d=_0x48e5bc;this[_0x48c87d(0x1c8)]||(this[_0x48c87d(0x1c8)]=!0x0,this[_0x48c87d(0x22a)][_0x48c87d(0x2f2)]['pipe'](d[_0x48c87d(0xdd)](this[_0x48c87d(0xcc)]))[_0x48c87d(0x2fe)](_0x4a976d=>{const _0xf18e4d=_0x48c87d;_0x4a976d===u[_0xf18e4d(0x18b)][_0xf18e4d(0x17e)]?this[_0xf18e4d(0xb3)]():this[_0xf18e4d(0x25e)]();}),this[_0x48c87d(0x22a)][_0x48c87d(0xd2)]['pipe'](d['takeUntil'](this['dispose$']))[_0x48c87d(0x2fe)](_0x23e54c=>{const _0x8ca1de=_0x48c87d,_0x3774ea=_0x23e54c[_0x8ca1de(0xa3)];_0x3774ea===m[_0x8ca1de(0xf1)][_0x8ca1de(0x2ad)]&&this['_onCursorUpdate'](_0x23e54c),_0x3774ea===m[_0x8ca1de(0xf1)][_0x8ca1de(0x28e)]&&this[_0x8ca1de(0xe0)](_0x23e54c);}),this[_0x48c87d(0xd6)](),this[_0x48c87d(0x173)](this[_0x48c87d(0x174)]['onCommandExecuted'](_0x5f0f9d=>{const _0x3196f9=_0x48c87d;if(this['_online']&&_0x5f0f9d['id']===g[_0x3196f9(0x219)]['id']&&_0x5f0f9d[_0x3196f9(0x26e)][_0x3196f9(0x1ea)]===this[_0x3196f9(0x2e5)]){const _0xfbeb5b=_0x5f0f9d[_0x3196f9(0x26e)];this[_0x3196f9(0x2f8)](_0xfbeb5b[_0x3196f9(0x1fd)],_0xfbeb5b[_0x3196f9(0x209)][0x0]);}})));}[_0x48e5bc(0x11b)](_0x2fb241){const _0xca5b21=_0x48e5bc;var _0x56c993,_0x2ed5e5;const {memberID:_0x1f45b6,selection:_0x525564}=_0x2fb241[_0xca5b21(0x10f)],{sheetName:_0x249960,range:_0x288617}=Ee[_0xca5b21(0x2bf)](_0x525564),_0x389f2d={'name':(_0x2ed5e5=(_0x56c993=this['_memberService']['getMember'](this[_0xca5b21(0x2e5)],_0x1f45b6))==null?void 0x0:_0x56c993[_0xca5b21(0x1be)])!=null?_0x2ed5e5:'Unknown\x20user','range':this[_0xca5b21(0x171)](_0x249960,_0x288617),'sheetID':_0x249960,'color':this[_0xca5b21(0x1f4)][_0xca5b21(0xb0)](_0x1f45b6),'selection':_0x525564},_0x434d73=this[_0xca5b21(0x138)];_0x434d73[_0xca5b21(0x28a)](_0x1f45b6,_0x389f2d),this[_0xca5b21(0x88)][_0xca5b21(0xbb)](_0x434d73);}['_onCursorDelete'](_0x5e648b){const _0x57c9ed=_0x48e5bc,{memberID:_0x22d0fa}=_0x5e648b['data'],_0x51cb52=this[_0x57c9ed(0x138)];_0x51cb52['delete'](_0x22d0fa),this[_0x57c9ed(0x88)][_0x57c9ed(0xbb)](_0x51cb52);}['_getMergeRange'](_0x47513d,_0x3a4983){const _0x7358fa=_0x48e5bc;var _0x180989,_0x493dda;const _0x419e33=(_0x493dda=(_0x180989=this[_0x7358fa(0x109)][_0x7358fa(0x227)](this[_0x7358fa(0x2e5)]))==null?void 0x0:_0x180989[_0x7358fa(0x1f8)](_0x47513d))==null?void 0x0:_0x493dda['getMergeData']();return(_0x419e33==null?void 0x0:_0x419e33[_0x7358fa(0x81)](_0x58d8b2=>a[_0x7358fa(0x139)]['contains'](_0x58d8b2,_0x3a4983)))||_0x3a4983;}[_0x48e5bc(0xd6)](){const _0x4574f2=_0x48e5bc,_0x3249d8=new a[(_0x4574f2(0x2e9))](),_0x3228cf=ot(),_0xcdba7e=()=>{const _0x2a48cc=_0x4574f2;_0x3249d8['dispose']();const _0x53df8f=(_0x1e2404,_0x5a8b0c,_0x46e992,_0x82ea2d)=>{const _0x490467=_0x3f84;let _0x5ab064=[];switch(_0x1e2404['id']){case g[_0x490467(0x24d)]['DeleteRangeMoveLeftCommandId']:{_0x5ab064=g['handleDeleteRangeMoveLeft'](_0x1e2404,_0x82ea2d);break;}case g[_0x490467(0x24d)][_0x490467(0x1a4)]:{_0x5ab064=g['handleDeleteRangeMoveUp'](_0x1e2404,_0x82ea2d);break;}case g[_0x490467(0x24d)][_0x490467(0x1b7)]:{_0x5ab064=g[_0x490467(0x98)](_0x1e2404,_0x82ea2d);break;}case g[_0x490467(0x24d)][_0x490467(0x204)]:{_0x5ab064=g[_0x490467(0x157)](_0x1e2404,_0x82ea2d);break;}case g[_0x490467(0x24d)][_0x490467(0x1c7)]:{_0x5ab064=g[_0x490467(0x213)](_0x1e2404,_0x82ea2d);break;}case g['EffectRefRangId'][_0x490467(0x14a)]:{_0x5ab064=g['handleInsertRow'](_0x1e2404,_0x82ea2d);break;}case g[_0x490467(0x24d)][_0x490467(0x215)]:{_0x5ab064=g['handleMoveRange'](_0x1e2404,_0x82ea2d);break;}case g[_0x490467(0x24d)]['RemoveColCommandId']:{_0x5ab064=g[_0x490467(0x112)](_0x1e2404,_0x82ea2d);break;}case g[_0x490467(0x24d)][_0x490467(0x12d)]:{_0x5ab064=g[_0x490467(0x1cf)](_0x1e2404,_0x82ea2d);break;}}const _0x435d04=g[_0x490467(0x2b5)](_0x5ab064,_0x82ea2d),_0x1052b6=this['cursorInfo'][_0x490467(0x20c)](_0x5a8b0c);if(_0x1052b6&&_0x435d04){const _0x13f627={..._0x1052b6,'range':_0x435d04};this[_0x490467(0x138)][_0x490467(0x28a)](_0x5a8b0c,_0x13f627),_0x3228cf(()=>{const _0x428dca=_0x490467,_0x41dbfc=this[_0x428dca(0x10c)][_0x428dca(0x1e3)](_0x435d04,_0x4e2c98=>(_0x41dbfc[_0x428dca(0x233)](),_0x53df8f(_0x4e2c98,_0x5a8b0c,_0x46e992,_0x435d04)));_0x3249d8[_0x428dca(0x151)](_0x41dbfc);});}return{'redos':[],'undos':[]};};this[_0x2a48cc(0x138)]['forEach']((_0x2dcf4c,_0x1f840d)=>{const _0x5d5729=_0x2a48cc,{range:_0x8a0671,sheetID:_0x54ec93}=_0x2dcf4c,_0x3c972d=this['_refRangeService'][_0x5d5729(0x1e3)](_0x8a0671,_0x29e204=>(_0x3c972d[_0x5d5729(0x233)](),_0x53df8f(_0x29e204,_0x1f840d,_0x54ec93,_0x8a0671)));_0x3249d8['add'](_0x3c972d);});};this['disposeWithMe'](a[_0x4574f2(0x26d)](this[_0x4574f2(0x88)]['subscribe'](()=>{_0xcdba7e();})));}[_0x48e5bc(0xb3)](){const _0x410673=_0x48e5bc;var _0x2f4ac3,_0x558cdd;if(this[_0x410673(0x264)]=!0x0,((_0x2f4ac3=this[_0x410673(0x109)][_0x410673(0x2a3)]())==null?void 0x0:_0x2f4ac3[_0x410673(0x280)]())!==this[_0x410673(0x2e5)])return;const _0x18747b=(_0x558cdd=this['_injector'][_0x410673(0x20c)](g['SheetsSelectionsService'])['getCurrentSelections']())==null?void 0x0:_0x558cdd[0x0],_0x4abda8=this[_0x410673(0x109)][_0x410673(0x1e0)](a[_0x410673(0x80)]['UNIVER_SHEET'])[_0x410673(0x92)]();_0x18747b&&_0x4abda8&&this[_0x410673(0x2f8)](_0x4abda8['getSheetId'](),_0x18747b);}[_0x48e5bc(0x25e)](){const _0xc89c83=_0x48e5bc;this[_0xc89c83(0x264)]=!0x1;}};Se=it([w(0x2,a[_0x48e5bc(0x28c)](a[_0x48e5bc(0x102)])),w(0x3,a[_0x48e5bc(0x28c)](me)),w(0x4,a[_0x48e5bc(0x28c)](u[_0x48e5bc(0x252)])),w(0x5,a[_0x48e5bc(0x9f)]),w(0x6,a[_0x48e5bc(0x110)]),w(0x7,a[_0x48e5bc(0x28c)](g[_0x48e5bc(0x15d)]))],Se);var at=Object[_0x48e5bc(0x275)],ct=(_0x58c30f,_0x585066,_0x3dc7c6,_0x25e610)=>{const _0x21b7d7=_0x48e5bc;for(var _0x123271=_0x25e610>0x1?void 0x0:_0x25e610?at(_0x585066,_0x3dc7c6):_0x585066,_0x389e75=_0x58c30f[_0x21b7d7(0x2c5)]-0x1,_0x3b5a85;_0x389e75>=0x0;_0x389e75--)(_0x3b5a85=_0x58c30f[_0x389e75])&&(_0x123271=_0x3b5a85(_0x123271)||_0x123271);return _0x123271;},ie=(_0x12001b,_0x58e2cf)=>(_0x4ad198,_0x266a32)=>_0x58e2cf(_0x4ad198,_0x266a32,_0x12001b);let x=class extends a['RxDisposable']{constructor(_0x3fc26c,_0x3484b2,_0xba5ff3){const _0x3633f8=_0x48e5bc;super(),h(this,_0x3633f8(0x94),new Map()),h(this,'_entityInit$',new d['Subject']()),(this[_0x3633f8(0x109)]=_0x3fc26c,this[_0x3633f8(0x126)]=_0x3484b2,this['_collabSessionService']=_0xba5ff3,this[_0x3633f8(0x1c8)]());}[_0x48e5bc(0x233)](){const _0x45fe48=_0x48e5bc;super['dispose'](),this['_entityInit$'][_0x45fe48(0x14d)](),this[_0x45fe48(0x94)][_0x45fe48(0x299)](_0x6cc1a0=>_0x6cc1a0[_0x45fe48(0x233)]());}[_0x48e5bc(0x291)](_0x2cb190){const _0x522a0b=_0x48e5bc;return this[_0x522a0b(0x94)][_0x522a0b(0x197)](_0x2cb190)?this[_0x522a0b(0x94)][_0x522a0b(0x20c)](_0x2cb190)[_0x522a0b(0x2d6)]:this[_0x522a0b(0xc2)][_0x522a0b(0x29b)](d[_0x522a0b(0x2e1)](_0x14ffa3=>_0x14ffa3[_0x522a0b(0x2e5)]===_0x2cb190),d['switchMap'](_0x531d48=>_0x531d48[_0x522a0b(0x2d6)]));}[_0x48e5bc(0x1c8)](){const _0x1ed0c2=_0x48e5bc;this[_0x1ed0c2(0x109)][_0x1ed0c2(0x2dd)](a[_0x1ed0c2(0x80)][_0x1ed0c2(0x1f3)])[_0x1ed0c2(0x29b)](d['takeUntil'](this[_0x1ed0c2(0xcc)]))[_0x1ed0c2(0x2fe)](async _0x11a113=>{const _0x2ae54f=_0x1ed0c2,_0xc3d8b9=_0x11a113['getUnitId'](),_0x1159f1=await this[_0x2ae54f(0x27c)](_0xc3d8b9);this[_0x2ae54f(0xc2)][_0x2ae54f(0xbb)](_0x1159f1),this['_entities']['set'](_0xc3d8b9,_0x1159f1);}),this[_0x1ed0c2(0x109)][_0x1ed0c2(0x2dd)](a[_0x1ed0c2(0x80)][_0x1ed0c2(0x143)])[_0x1ed0c2(0x29b)](d[_0x1ed0c2(0xdd)](this[_0x1ed0c2(0xcc)]))[_0x1ed0c2(0x29b)](d[_0x1ed0c2(0x2e1)](_0x2c42a5=>!_0x2c42a5[_0x1ed0c2(0x280)]()[_0x1ed0c2(0x1ba)]('__')))[_0x1ed0c2(0x2fe)](async _0x484df8=>{const _0x83428c=_0x1ed0c2,_0x1a1eab=_0x484df8['getUnitId'](),_0x1b0b1c=await this[_0x83428c(0xf4)](_0x1a1eab);this[_0x83428c(0xc2)][_0x83428c(0xbb)](_0x1b0b1c),this['_entities']['set'](_0x1a1eab,_0x1b0b1c);}),d[_0x1ed0c2(0x116)](this[_0x1ed0c2(0x109)][_0x1ed0c2(0x293)](a[_0x1ed0c2(0x80)]['UNIVER_DOC']),this[_0x1ed0c2(0x109)][_0x1ed0c2(0x293)](a[_0x1ed0c2(0x80)][_0x1ed0c2(0x1f3)]))[_0x1ed0c2(0x29b)](d[_0x1ed0c2(0xdd)](this[_0x1ed0c2(0xcc)]))[_0x1ed0c2(0x2fe)](_0x594ba6=>{const _0x567965=_0x1ed0c2,_0x4254bf=_0x594ba6[_0x567965(0x280)](),_0x15fb7e=this['_entities'][_0x567965(0x20c)](_0x4254bf);_0x15fb7e&&(_0x15fb7e[_0x567965(0x233)](),this['_entities'][_0x567965(0x250)](_0x4254bf));});}async[_0x48e5bc(0x27c)](_0x57f4fe){const _0x3915bb=_0x48e5bc,_0x425884=await this[_0x3915bb(0x100)][_0x3915bb(0x2f5)](_0x57f4fe),_0x4a3222=this['_injector'][_0x3915bb(0x29f)](Se,_0x57f4fe,_0x425884);return _0x4a3222[_0x3915bb(0x2aa)](),_0x4a3222;}async[_0x48e5bc(0xf4)](_0x280d02){const _0x5a0aa6=_0x48e5bc,_0x2a997a=await this[_0x5a0aa6(0x100)]['requireSession'](_0x280d02),_0x550192=this['_injector']['createInstance'](fe,_0x280d02,_0x2a997a);return _0x550192[_0x5a0aa6(0x2aa)](),_0x550192;}};x=ct([ie(0x0,a['IUniverInstanceService']),ie(0x1,a[_0x48e5bc(0x28c)](a[_0x48e5bc(0x102)])),ie(0x2,a[_0x48e5bc(0x28c)](u[_0x48e5bc(0x29d)]))],x);const K=0x14,Re=0xc8,ne=0x4,lt=0x5;function _t(_0x3e644e,_0x8cd665){const _0x53a29c=_0x48e5bc;let {radius:_0x35a78e,width:_0x5e879d,height:_0x4514a3}=_0x8cd665;_0x35a78e=_0x35a78e!=null?_0x35a78e:0x0,_0x5e879d=_0x5e879d!=null?_0x5e879d:0x1e,_0x4514a3=_0x4514a3!=null?_0x4514a3:0x1e;let _0x51d1d3=0x0,_0x24b69c=0x0,_0x18e2c7=0x0;_0x51d1d3=_0x24b69c=_0x18e2c7=Math[_0x53a29c(0x202)](_0x35a78e,_0x5e879d/0x2,_0x4514a3/0x2),_0x3e644e['beginPath'](),_0x3e644e[_0x53a29c(0x8b)](_0x51d1d3,0x0),_0x3e644e['lineTo'](_0x5e879d-_0x24b69c,0x0),_0x3e644e[_0x53a29c(0x180)](_0x5e879d-_0x24b69c,_0x24b69c,_0x24b69c,Math['PI']*0x3/0x2,0x0,!0x1),_0x3e644e[_0x53a29c(0x1f0)](_0x5e879d,_0x4514a3-_0x18e2c7),_0x3e644e['arc'](_0x5e879d-_0x18e2c7,_0x4514a3-_0x18e2c7,_0x18e2c7,0x0,Math['PI']/0x2,!0x1),_0x3e644e['lineTo'](0x0,_0x4514a3),_0x3e644e['lineTo'](0x0,_0x51d1d3),_0x3e644e[_0x53a29c(0x180)](_0x51d1d3,_0x51d1d3,_0x51d1d3,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x3e644e[_0x53a29c(0x211)](),_0x8cd665[_0x53a29c(0x21c)]&&(_0x3e644e[_0x53a29c(0x17b)](),_0x3e644e[_0x53a29c(0x19f)]=_0x8cd665[_0x53a29c(0x21c)],_0x8cd665['fillRule']==='evenodd'?_0x3e644e[_0x53a29c(0x21c)](_0x53a29c(0x111)):_0x3e644e[_0x53a29c(0x21c)](),_0x3e644e['restore']());}class ee extends p[_0x48e5bc(0x135)]{constructor(_0xedc38c,_0x2a1de6){const _0x42671e=_0x48e5bc;super(_0xedc38c,_0x2a1de6),h(this,_0x42671e(0xc1)),h(this,'text'),(this[_0x42671e(0xc1)]=_0x2a1de6==null?void 0x0:_0x2a1de6[_0x42671e(0xc1)],this[_0x42671e(0x24b)]=_0x2a1de6==null?void 0x0:_0x2a1de6[_0x42671e(0x24b)]);}static[_0x48e5bc(0xbf)](_0x1c1b37,_0x3d3eb0){const _0x1265d2=_0x48e5bc,{text:_0xfcf2aa,color:_0x24abbc}=_0x3d3eb0;_0x1c1b37[_0x1265d2(0x17b)](),_0x1c1b37[_0x1265d2(0x260)]='bold\x2013px\x20Source\x20Han\x20Sans\x20CN';const _0x568567=_0x1c1b37[_0x1265d2(0x2a9)](_0xfcf2aa)[_0x1265d2(0xb9)],_0x2d5ad2=Math[_0x1265d2(0x202)](_0x568567+0x2*ne,Re);_t(_0x1c1b37,{'height':K,'radius':0x4,'width':_0x2d5ad2,'fill':_0x24abbc}),_0x1c1b37[_0x1265d2(0x19f)]=_0x1265d2(0x167);const _0x2a5f53=ne,_0x5ae32e=K-lt,_0x3dad0a=Re-0x2*ne;if(_0x568567>_0x3dad0a){let _0x2a2298='',_0x279158=0x0;for(const _0x5b5752 of _0xfcf2aa){const _0x21f496=_0x1c1b37[_0x1265d2(0x2a9)](_0x5b5752)[_0x1265d2(0xb9)];if(_0x279158+_0x21f496<=_0x3dad0a-_0x1c1b37[_0x1265d2(0x2a9)]('...')[_0x1265d2(0xb9)])_0x2a2298+=_0x5b5752,_0x279158+=_0x21f496;else{_0x2a2298+=_0x1265d2(0x281);break;}}_0x1c1b37['fillText'](_0x2a2298,_0x2a5f53,_0x5ae32e);}else _0x1c1b37[_0x1265d2(0x11c)](_0xfcf2aa,_0x2a5f53,_0x5ae32e);_0x1c1b37[_0x1265d2(0xa0)]();}[_0x48e5bc(0x2ff)](_0x102d83){const _0x303883=_0x48e5bc;ee[_0x303883(0xbf)](_0x102d83,this);}}const re=_0x48e5bc(0x2a7),ht=_0x48e5bc(0xce),ut='collab-rect-range-',k=0x6,dt=1.5,oe=0x4,ft=1.5,St=_0x48e5bc(0x148);class De{constructor(_0x2cfe85,_0x35a55a,_0x51d4f9,_0x295500){const _0x4d2f4d=_0x48e5bc;h(this,'_shapes',[]),h(this,'_anchor',null),h(this,'_textBubble',null),h(this,'_anchorDot',null),h(this,_0x4d2f4d(0x15f),null),h(this,_0x4d2f4d(0x1a1),null),(this[_0x4d2f4d(0x2e8)]=_0x2cfe85,this[_0x4d2f4d(0x1bb)]=_0x35a55a,this[_0x4d2f4d(0xe1)]=_0x51d4f9,this[_0x4d2f4d(0xe5)]=_0x295500,this['_render']());}set[_0x48e5bc(0x25a)](_0x14dbc7){const _0x56b6a9=_0x48e5bc;_0x14dbc7?(this[_0x56b6a9(0x1a7)]&&this['_anchorDot'][_0x56b6a9(0x2d3)](),this[_0x56b6a9(0xdb)]&&this[_0x56b6a9(0xdb)][_0x56b6a9(0x15c)]()):(this[_0x56b6a9(0x1a7)]&&this[_0x56b6a9(0x1a7)][_0x56b6a9(0x15c)](),this[_0x56b6a9(0xdb)]&&this[_0x56b6a9(0xdb)]['hide']());}[_0x48e5bc(0x233)](){const _0x3dd69f=_0x48e5bc;for(const _0x4494c7 of this[_0x3dd69f(0x1b5)])_0x4494c7[_0x3dd69f(0x233)]();this[_0x3dd69f(0xdb)]&&this[_0x3dd69f(0xdb)]['dispose'](),this[_0x3dd69f(0x1a7)]&&this[_0x3dd69f(0x1a7)][_0x3dd69f(0x233)](),this[_0x3dd69f(0x1aa)]&&this[_0x3dd69f(0x1aa)][_0x3dd69f(0x233)](),this['_eventUnsubscribe']&&this[_0x3dd69f(0x1a1)]();}[_0x48e5bc(0x142)](){const _0x116c14=_0x48e5bc;var _0x246eaf;const {_docSkeleton:_0x2c065c,_document:_0x1799a3}=this,{color:_0x580eae,name:_0x231975,ranges:_0x3e8bcf}=this['_cursor'],_0x31c1b6=_0x1799a3['getOffsetConfig'](),{docsLeft:_0x1443e5,docsTop:_0x52951e}=_0x31c1b6,_0x2eff5e=new b[(_0x116c14(0x21e))](_0x31c1b6,_0x2c065c);for(const {startOffset:_0xa357c3,endOffset:_0x512251,rangeType:_0x21537e,segmentId:_0x108261,segmentPage:_0x4b7545,collapsed:_0x454a1d,isActive:_0x22751e}of _0x3e8bcf){const _0x2c82c4=_0x2c065c['findNodePositionByCharIndex'](_0xa357c3,!0x0,_0x108261,_0x4b7545);let _0x1abd67=_0x2c065c[_0x116c14(0x8f)](_0x512251,!0x0,_0x108261,_0x4b7545);if(_0x1abd67==null&&(_0x1abd67=_0x2c065c[_0x116c14(0x8f)](_0x512251-0x1,!0x1,_0x108261,_0x4b7545)),_0x22751e){const {contentBoxPointGroup:_0xa5510f}=_0x2eff5e['getRangePointData'](_0x1abd67,_0x1abd67);if(_0xa5510f[_0x116c14(0x2c5)]===0x0)continue;this['_drawAnchor'](_0x580eae,_0xa5510f,_0x1443e5,_0x52951e,_0x231975),this[_0x116c14(0x1a1)]=this[_0x116c14(0x15a)]();}if(_0x2c82c4&&_0x1abd67){if(_0x21537e===a[_0x116c14(0x1f2)][_0x116c14(0x218)]){const _0x262146=new b[(_0x116c14(0x1a2))](_0x31c1b6,_0x2c065c),{pointGroup:_0x25fed0}=(_0x246eaf=_0x262146[_0x116c14(0x7e)](_0x2c82c4,_0x1abd67))!=null?_0x246eaf:{};if(_0x25fed0==null||_0x25fed0[_0x116c14(0x2c5)]===0x0)continue;this[_0x116c14(0x9b)](_0x580eae,_0x25fed0,_0x1443e5,_0x52951e);}else{if(!_0x454a1d){const {borderBoxPointGroup:_0x15f6a6}=_0x2eff5e[_0x116c14(0x7e)](_0x2c82c4,_0x1abd67);if(_0x15f6a6[_0x116c14(0x2c5)]===0x0)continue;this[_0x116c14(0x19c)](_0x580eae,_0x15f6a6,_0x1443e5,_0x52951e);}}}}}['_drawAnchor'](_0x461a8c,_0x228b74,_0x1ebad6,_0x11b6a0,_0x3d8294){const _0xbccfb1=_0x48e5bc,_0xe40292=this['_getAnchorBounding'](_0x228b74),{left:_0x9a6ee4,top:_0x2ecb69,height:_0x4b5504}=_0xe40292,_0x3083c0=this['_getScale'](),_0x4f04f5=ft/_0x3083c0,_0x4e4692=new p[(_0xbccfb1(0x294))](re+a['Tools'][_0xbccfb1(0x288)](k),{'left':_0x9a6ee4+_0x1ebad6-_0x4f04f5,'top':_0x2ecb69+_0x11b6a0,'height':_0x4b5504,'width':dt,'fill':_0x461a8c||p[_0xbccfb1(0x13a)](a[_0xbccfb1(0x23f)]['black'],0x0),'strokeWidth':_0x4f04f5,'stroke':St,'evented':!0x0});this['_anchor']=_0x4e4692,this[_0xbccfb1(0x1bb)][_0xbccfb1(0x159)](_0x4e4692,b['TEXT_RANGE_LAYER_INDEX']);const _0x52d29e=new p[(_0xbccfb1(0x294))](re+a[_0xbccfb1(0x2ce)][_0xbccfb1(0x288)](k),{'left':_0x9a6ee4+_0x1ebad6-_0x4f04f5,'top':_0x2ecb69+_0x11b6a0-oe/0x2,'height':oe,'width':oe,'fill':_0x461a8c||p[_0xbccfb1(0x13a)](a['COLORS'][_0xbccfb1(0x1d3)],0x0),'strokeWidth':0x0,'stroke':_0x461a8c||p['getColor'](a['COLORS']['black'],0x0),'evented':!0x1});this[_0xbccfb1(0x1a7)]=_0x52d29e,this['_scene'][_0xbccfb1(0x159)](_0x52d29e,b[_0xbccfb1(0x2c1)]);const _0x50d29f=new ee(re+a[_0xbccfb1(0x2ce)][_0xbccfb1(0x288)](k),{'left':_0x9a6ee4+_0x1ebad6-_0x4f04f5,'top':_0x2ecb69+_0x11b6a0-K,'text':_0x3d8294,'color':_0x461a8c});this['_textBubble']=_0x50d29f,this[_0xbccfb1(0x1bb)]['addObject'](_0x50d29f,b[_0xbccfb1(0x2c1)]),this['_hover']=!0x1;}['_handleHover'](){const _0x419eaf=_0x48e5bc,_0xaf9af7=this['_anchor'][_0x419eaf(0x1f1)][_0x419eaf(0x240)](()=>{this['_hover']=!0x0;}),_0x4b6c4f=this[_0x419eaf(0x1aa)][_0x419eaf(0xa4)][_0x419eaf(0x240)](()=>{const _0x3d1260=_0x419eaf;this[_0x3d1260(0x15f)]&&clearTimeout(this[_0x3d1260(0x15f)]),this[_0x3d1260(0x15f)]=setTimeout(()=>{this['_hover']=!0x1;},0x7d0);});return()=>{const _0x31e286=_0x419eaf;_0xaf9af7[_0x31e286(0x20a)](),_0x4b6c4f[_0x31e286(0x20a)]();};}[_0x48e5bc(0x19c)](_0x7d58a7,_0x21463b,_0x1199d5,_0x2c6289){const _0x5d564c=_0x48e5bc,_0x271937=new a[(_0x5d564c(0x2f0))](_0x7d58a7)[_0x5d564c(0x23c)](0.2)[_0x5d564c(0x16b)](),_0x261f3b=new p[(_0x5d564c(0xf6))](ht+a['Tools'][_0x5d564c(0x288)](k),{'pointsGroup':_0x21463b,'fill':_0x271937||p[_0x5d564c(0x13a)](a[_0x5d564c(0x23f)]['black'],0.2),'left':_0x1199d5,'top':_0x2c6289,'evented':!0x1,'debounceParentDirty':!0x1});this['_shapes'][_0x5d564c(0x232)](_0x261f3b),this[_0x5d564c(0x1bb)][_0x5d564c(0x159)](_0x261f3b,b[_0x5d564c(0x2c1)]);}[_0x48e5bc(0x9b)](_0x48931f,_0x32d829,_0x397885,_0x28e5be){const _0x16c4b6=_0x48e5bc,_0x5d4994=new a[(_0x16c4b6(0x2f0))](_0x48931f)[_0x16c4b6(0x23c)](0.2)[_0x16c4b6(0x16b)](),_0x9b9d32=new p[(_0x16c4b6(0xf6))](ut+a[_0x16c4b6(0x2ce)][_0x16c4b6(0x288)](k),{'pointsGroup':_0x32d829,'fill':_0x5d4994||p[_0x16c4b6(0x13a)](a['COLORS'][_0x16c4b6(0x1d3)],0.2),'left':_0x397885,'top':_0x28e5be,'evented':!0x1,'debounceParentDirty':!0x1});this['_shapes'][_0x16c4b6(0x232)](_0x9b9d32),this[_0x16c4b6(0x1bb)][_0x16c4b6(0x159)](_0x9b9d32,b['TEXT_RANGE_LAYER_INDEX']);}[_0x48e5bc(0x2c6)](_0x28eaeb){const _0x4603e5=_0x28eaeb[0x0],_0x50e118=_0x4603e5[0x0],_0x132d2e=_0x4603e5[0x2],{x:_0x16b37b,y:_0x1c029b}=_0x50e118,{x:_0xe982b4,y:_0x4b98f5}=_0x132d2e;return{'left':_0x16b37b,'top':_0x1c029b,'width':_0xe982b4-_0x16b37b,'height':_0x4b98f5-_0x1c029b};}[_0x48e5bc(0x20b)](){const _0x130591=_0x48e5bc,{scaleX:_0x513747,scaleY:_0x1d34bb}=this[_0x130591(0x1bb)][_0x130591(0x1d6)]();return Math[_0x130591(0x300)](_0x513747,_0x1d34bb);}}var It=Object[_0x48e5bc(0x275)],vt=(_0x254398,_0x34e32a,_0x4b0cc6,_0x1ee0c8)=>{const _0x445984=_0x48e5bc;for(var _0x1f69df=_0x1ee0c8>0x1?void 0x0:_0x1ee0c8?It(_0x34e32a,_0x4b0cc6):_0x34e32a,_0x5ad079=_0x254398[_0x445984(0x2c5)]-0x1,_0x534ab6;_0x5ad079>=0x0;_0x5ad079--)(_0x534ab6=_0x254398[_0x5ad079])&&(_0x1f69df=_0x534ab6(_0x1f69df)||_0x1f69df);return _0x1f69df;},W=(_0x1913f3,_0xa95018)=>(_0x18baaa,_0x583809)=>_0xa95018(_0x18baaa,_0x583809,_0x1913f3);let Ie=class extends a[_0x48e5bc(0x9d)]{constructor(_0x3ba28f,_0x2b3218,_0x163f21,_0x4d7f84,_0xfb4f88){const _0x524014=_0x48e5bc;super(),h(this,_0x524014(0x107),[]),h(this,_0x524014(0xa5),[]),(this[_0x524014(0xc7)]=_0x3ba28f,this[_0x524014(0x82)]=_0x2b3218,this[_0x524014(0x1bc)]=_0x163f21,this[_0x524014(0x174)]=_0x4d7f84,this['_themeService']=_0xfb4f88,this['_init']());}[_0x48e5bc(0x1c8)](){const _0xd7c3ec=_0x48e5bc,_0x175de0=this['_context'][_0xd7c3ec(0x1ea)],_0x28f158=this[_0xd7c3ec(0x82)];this[_0xd7c3ec(0x173)](d[_0xd7c3ec(0x224)]([this[_0xd7c3ec(0x1bc)][_0xd7c3ec(0x291)](_0x175de0),this[_0xd7c3ec(0x130)][_0xd7c3ec(0x2b6)]])[_0xd7c3ec(0x29b)]($[_0xd7c3ec(0x241)](([_0x25fa91,_0x51c2ec])=>({'skeleton':_0x28f158[_0xd7c3ec(0x2bb)](),'cursors':[..._0x25fa91[_0xd7c3ec(0x269)]()][_0xd7c3ec(0x2e7)](_0x5d0b9b=>({..._0x5d0b9b,'color':this[_0xd7c3ec(0x130)][_0xd7c3ec(0x27b)](_0x5d0b9b['color'])}))})))[_0xd7c3ec(0x2fe)](_0xeef339=>{const _0xbd0ee2=_0xd7c3ec;if(this['_removeCollabCursors'](),_0xeef339){const {skeleton:_0x51ffae,cursors:_0x4600f7}=_0xeef339;this[_0xbd0ee2(0x274)](_0x51ffae,_0x4600f7);}})),this[_0xd7c3ec(0x225)](),this['_initCommandExecutedListener']();}['_updateCollabCursors'](_0x5adbab,_0x45f95a){const _0x3e6bbb=_0x48e5bc,{scene:_0x3b6df5,mainComponent:_0x5ebd9d}=this[_0x3e6bbb(0xc7)],_0x510478=_0x45f95a['map'](_0x29e99e=>new De(_0x29e99e,_0x3b6df5,_0x5adbab,_0x5ebd9d));this[_0x3e6bbb(0x107)]=_0x510478,this[_0x3e6bbb(0xa5)]=_0x45f95a;}[_0x48e5bc(0x27d)](){const _0xfafb51=_0x48e5bc;this['_removeCollabCursors']();const {scene:_0x58b872,mainComponent:_0x3fff95}=this[_0xfafb51(0xc7)],_0x537d4e=this[_0xfafb51(0x82)][_0xfafb51(0x2bb)](),_0x36f6bc=this[_0xfafb51(0xa5)][_0xfafb51(0x241)](_0x3c5e00=>new De(_0x3c5e00,_0x58b872,_0x537d4e,_0x3fff95));this[_0xfafb51(0x107)]=_0x36f6bc;}[_0x48e5bc(0x2a2)](){const _0xa33357=_0x48e5bc;this[_0xa33357(0x107)]['forEach'](_0x5b2d7e=>_0x5b2d7e[_0xa33357(0x233)]()),this[_0xa33357(0x107)]=[];}[_0x48e5bc(0x194)](){const _0x1a4041=_0x48e5bc,_0x5a733e=[b[_0x1a4041(0x14c)]['id']];this[_0x1a4041(0x173)](this[_0x1a4041(0x174)][_0x1a4041(0x2a0)](_0x469e62=>{const _0x55fade=_0x1a4041;_0x5a733e['includes'](_0x469e62['id'])&&_0x469e62[_0x55fade(0x26e)][_0x55fade(0x1ea)]===this[_0x55fade(0xc7)][_0x55fade(0x1ea)]&&this['_refreshCollabCursors']();}));}[_0x48e5bc(0x225)](){const _0x119640=_0x48e5bc;this[_0x119640(0x173)](a['fromEventSubject'](this[_0x119640(0xc7)][_0x119640(0x1bd)][_0x119640(0xcb)])[_0x119640(0x29b)]($[_0x119640(0x2e1)](_0x5f1bd5=>_0x5f1bd5['type']===p[_0x119640(0x158)][_0x119640(0x28b)]),$[_0x119640(0x25d)](0x10))[_0x119640(0x2fe)](()=>{const _0x1142bc=_0x119640;this[_0x1142bc(0x27d)]();}));}};Ie=vt([W(0x1,a[_0x48e5bc(0x28c)](Y['DocSkeletonManagerService'])),W(0x2,a[_0x48e5bc(0x28c)](x)),W(0x3,a[_0x48e5bc(0x110)]),W(0x4,a[_0x48e5bc(0x28c)](a[_0x48e5bc(0xd5)]))],Ie);const gt=0x1,mt=1.5;class Ae extends p[_0x48e5bc(0x135)]{constructor(_0x4c31d5,_0x3cd478){const _0x51f599=_0x48e5bc;super(_0x4c31d5,_0x3cd478),h(this,_0x51f599(0x1fc)),h(this,_0x51f599(0x24f),!0x1),h(this,_0x51f599(0x242)),h(this,'_name',''),h(this,_0x51f599(0x10a),'top'),h(this,_0x51f599(0x16a)),(_0x3cd478&&this[_0x51f599(0x253)](_0x3cd478),this[_0x51f599(0x1f1)]['subscribeEvent'](()=>this[_0x51f599(0x253)]({'hovered':!0x0})),this['onPointerLeave$']['subscribeEvent'](()=>this['setShapeProps']({'hovered':!0x1})));}['setShapeProps'](_0xb0e773){const _0x387348=_0x48e5bc;var _0x4e6eea,_0x13a31a,_0x55a86f,_0x38cb0c,_0x1310a3,_0x11b36d;this[_0x387348(0x1fc)]=(_0x4e6eea=_0xb0e773['color'])!=null?_0x4e6eea:this[_0x387348(0x1fc)],this[_0x387348(0x24f)]=(_0x13a31a=_0xb0e773[_0x387348(0x2eb)])!=null?_0x13a31a:this['_hovered'],this[_0x387348(0x242)]=(_0x55a86f=_0xb0e773[_0x387348(0x11f)])!=null?_0x55a86f:this[_0x387348(0x242)],this['_name']=(_0x38cb0c=_0xb0e773[_0x387348(0x1be)])!=null?_0x38cb0c:this[_0x387348(0x12c)],this[_0x387348(0x10a)]=(_0x1310a3=_0xb0e773['labelPosition'])!=null?_0x1310a3:this['_labelPosition'],this[_0x387348(0x16a)]=(_0x11b36d=_0xb0e773[_0x387348(0x251)])!=null?_0x11b36d:this['_backgroundColor'],this[_0x387348(0x2b0)]({'width':_0xb0e773[_0x387348(0xb9)],'height':_0xb0e773['height']});}[_0x48e5bc(0xd9)](_0x131492){const _0x484c85=_0x48e5bc,{row:_0x42861f,column:_0x5dbac8}=_0x131492;if(_0x42861f>=this[_0x484c85(0x242)]['startRow']&&_0x42861f<=this[_0x484c85(0x242)][_0x484c85(0x1f5)]&&_0x5dbac8>=this[_0x484c85(0x242)]['startColumn']&&_0x5dbac8<=this[_0x484c85(0x242)]['endColumn']){this['setShapeProps']({'hovered':!0x0});return;}this[_0x484c85(0x253)]({'hovered':!0x1});}[_0x48e5bc(0x154)](_0x486786){return!0x1;}[_0x48e5bc(0x2ff)](_0x4ff001){const _0x474fc4=_0x48e5bc;p[_0x474fc4(0x294)]['drawWith'](_0x4ff001,{'width':this[_0x474fc4(0xb9)],'height':this[_0x474fc4(0x83)],'strokeWidth':mt,'stroke':this[_0x474fc4(0x1fc)],'evented':!0x1,'fill':this['_backgroundColor']}),this[_0x474fc4(0x24f)]&&(_0x4ff001['save'](),_0x4ff001[_0x474fc4(0x2d5)](0x1,0x0,0x0,0x1,this[_0x474fc4(0xb9)],this['_labelPosition']==='bottom'?0x0:-0x14),ee['drawWith'](_0x4ff001,{'text':this[_0x474fc4(0x12c)],'color':this['_color']}),_0x4ff001['restore']());}}var Ct=Object[_0x48e5bc(0x275)],pt=(_0x13a11f,_0x3bcac5,_0x2c4412,_0x8908a6)=>{const _0x2aeed2=_0x48e5bc;for(var _0x3d704e=_0x8908a6>0x1?void 0x0:_0x8908a6?Ct(_0x3bcac5,_0x2c4412):_0x3bcac5,_0x241477=_0x13a11f[_0x2aeed2(0x2c5)]-0x1,_0x4b6ad6;_0x241477>=0x0;_0x241477--)(_0x4b6ad6=_0x13a11f[_0x241477])&&(_0x3d704e=_0x4b6ad6(_0x3d704e)||_0x3d704e);return _0x3d704e;},ae=(_0x3e34f3,_0x335148)=>(_0x33de17,_0x41b241)=>_0x335148(_0x33de17,_0x41b241,_0x3e34f3);const bt=0x1389;let ve=class extends a[_0x48e5bc(0x9d)]{constructor(_0x459706,_0x35b742,_0x5812d6,_0x5e9f58){const _0x205915=_0x48e5bc;super(),h(this,'_cursors',new Set()),h(this,_0x205915(0xbd),null),(this[_0x205915(0xc7)]=_0x459706,this[_0x205915(0x160)]=_0x35b742,this[_0x205915(0x1bc)]=_0x5812d6,this[_0x205915(0x130)]=_0x5e9f58,this[_0x205915(0x1c8)]());}[_0x48e5bc(0x1c8)](){const _0x5e7151=_0x48e5bc;this[_0x5e7151(0x160)][_0x5e7151(0x140)][_0x5e7151(0x29b)]($[_0x5e7151(0xdd)](this[_0x5e7151(0xcc)]),$['switchMap'](_0xaca03d=>{const _0x198cf8=_0x5e7151;if(_0xaca03d){const _0xcc824b=_0xaca03d[_0x198cf8(0xae)];return d[_0x198cf8(0x224)](this[_0x198cf8(0x1bc)]['getCollabCursors$'](this[_0x198cf8(0xc7)][_0x198cf8(0x1ea)]),this[_0x198cf8(0x130)][_0x198cf8(0x2b6)])[_0x198cf8(0x29b)]($[_0x198cf8(0x241)](([_0x4d5be1,_0x234465])=>{const _0x418549=_0x198cf8,_0x40cbc7=new Map();return _0x4d5be1[_0x418549(0x299)]((_0x356db8,_0x2b554b)=>{const _0x391199=_0x418549;if(_0x356db8[_0x391199(0xee)]===_0xcc824b){const _0x5eb048={..._0x356db8};_0x5eb048[_0x391199(0xc1)]=this['_themeService']['getColorFromTheme'](_0x356db8[_0x391199(0xc1)]),_0x40cbc7['set'](_0x2b554b,_0x5eb048);}}),{'skeleton':_0xaca03d,'cursors':_0x40cbc7};}));}return d['of']({'skeleton':null,'cursors':new Map()});}))['subscribe'](({skeleton:_0xc61872,cursors:_0x4dc7a5})=>{const _0x3e6be3=_0x5e7151;this[_0x3e6be3(0x2a2)](),_0xc61872&&this[_0x3e6be3(0x274)](_0xc61872,_0x4dc7a5);}),this['_sheetSkeletonManagerService'][_0x5e7151(0x140)]['subscribe'](_0x4adaab=>{const _0x4f60cb=_0x5e7151;if(_0x4adaab==null)return;const {skeleton:_0x3ef0d0}=_0x4adaab,{scene:_0xb61973}=this[_0x4f60cb(0xc7)];_0xb61973[_0x4f60cb(0x23b)][_0x4f60cb(0x240)](a[_0x4f60cb(0xaf)](_0x36a831=>{const _0x23bed7=_0x4f60cb;var _0x21bb90,_0x4eb389;const {offsetX:_0x30ce50,offsetY:_0x3763b7}=_0x36a831,{x:_0x584d06,y:_0x47eaec}=_0xb61973[_0x23bed7(0x146)](p[_0x23bed7(0x15b)][_0x23bed7(0xfb)]([_0x30ce50,_0x3763b7])),{scaleX:_0x573d8b,scaleY:_0x136f06}=_0xb61973[_0x23bed7(0x1d6)](),_0x20ab37=_0xb61973['getViewport'](p[_0x23bed7(0x292)]['VIEW_MAIN']),_0x7d8698=_0xb61973[_0x23bed7(0x162)](p['Vector2'][_0x23bed7(0xfb)]([_0x584d06,_0x47eaec]),_0x20ab37),_0xe7f164=_0x3ef0d0[_0x23bed7(0x120)](_0x30ce50,_0x3763b7,_0x573d8b,_0x136f06,_0x7d8698);((_0x21bb90=this['_lastPointer'])==null?void 0x0:_0x21bb90[_0x23bed7(0xe6)])===_0xe7f164[_0x23bed7(0xe6)]&&((_0x4eb389=this[_0x23bed7(0xbd)])==null?void 0x0:_0x4eb389['row'])===_0xe7f164[_0x23bed7(0x2ba)]||this['_cursors']['forEach'](_0x2cd5c0=>{const _0x404fce=_0x23bed7;_0x2cd5c0[_0x404fce(0xd9)](_0xe7f164);});},0x64));});}[_0x48e5bc(0x274)](_0x23dac3,_0x34db18){const _0x5c738b=_0x48e5bc;var _0x5c32a2;const _0x15e0a9=(_0x5c32a2=this[_0x5c738b(0x160)]['getCurrent']())==null?void 0x0:_0x5c32a2[_0x5c738b(0x200)];if(!_0x15e0a9)return;const _0x3023cb=this[_0x5c738b(0x189)]();if(!_0x3023cb)return;this[_0x5c738b(0xa5)][_0x5c738b(0x299)](_0x5825a3=>{_0x5825a3['makeDirty']();});const {scene:_0x15e90b}=_0x3023cb,_0x250d3c=Et(Array[_0x5c738b(0x15e)](_0x34db18[_0x5c738b(0x269)]()))[_0x5c738b(0x241)](_0x1305ed=>{const _0x75a683=_0x5c738b,{color:_0x54e893,range:_0x52a5c4,name:_0x2a2002,selection:_0x14800d,sheetID:_0xa358f2}=_0x1305ed,{startColumn:_0x139613,startRow:_0x47ac38,endColumn:_0xbed0cf,endRow:_0xf4b4a5}=_0x52a5c4,_0x1d2d06=X[_0x75a683(0x1ca)](_0x47ac38,_0x139613,_0x15e90b,_0x15e0a9),_0x106348=X[_0x75a683(0x1ca)](_0xf4b4a5,_0xbed0cf,_0x15e90b,_0x15e0a9),{columnHeaderHeightAndMarginTop:_0x169f64}=_0x15e0a9,{startX:_0x36cd91,startY:_0x10005a}=_0x1d2d06,{endX:_0x6c2580,endY:_0x4361ab}=_0x106348,_0x3fddfa=_0x6c2580-_0x36cd91,_0x3547d9=_0x4361ab-_0x10005a,_0x59dc53={'labelPosition':_0x10005a-_0x169f64>=K?_0x75a683(0x13f):'bottom','sheetID':_0xa358f2,'range':_0x52a5c4,'color':_0x54e893,'name':_0x2a2002,'selection':_0x14800d,'left':_0x36cd91,'top':_0x10005a,'width':_0x3fddfa,'height':_0x3547d9,'evented':!0x1,'zIndex':bt};return new Ae(_0x2a2002,_0x59dc53);});_0x15e90b[_0x5c738b(0x1e4)](_0x250d3c,gt),this[_0x5c738b(0xa5)]=new Set(_0x250d3c);}[_0x48e5bc(0x2a2)](){const _0x3b08e8=_0x48e5bc;var _0xb4f20a;(_0xb4f20a=this[_0x3b08e8(0xa5)])==null||_0xb4f20a['forEach'](_0x413874=>_0x413874[_0x3b08e8(0x233)]());}[_0x48e5bc(0x189)](){const _0x2c5cc5=_0x48e5bc;return X[_0x2c5cc5(0x262)](this[_0x2c5cc5(0xc7)]['unit'],this[_0x2c5cc5(0xc7)]);}};ve=pt([ae(0x1,a[_0x48e5bc(0x28c)](X[_0x48e5bc(0x1ff)])),ae(0x2,a['Inject'](x)),ae(0x3,a[_0x48e5bc(0x28c)](a[_0x48e5bc(0xd5)]))],ve);function Et(_0x546f32){const _0x1c7fe1=_0x48e5bc,_0x272327=new Map();return _0x546f32[_0x1c7fe1(0x299)](_0x2c25a1=>{const _0x188f03=_0x1c7fe1;if(_0x272327['has'](_0x2c25a1[_0x188f03(0x108)])){const _0x31645d=_0x272327[_0x188f03(0x20c)](_0x2c25a1[_0x188f03(0x108)]);_0x31645d[_0x188f03(0x1be)]+=',\x20'+_0x2c25a1['name'];}else _0x272327[_0x188f03(0x28a)](_0x2c25a1['selection'],_0x2c25a1);}),Array[_0x1c7fe1(0x15e)](_0x272327[_0x1c7fe1(0x269)]());}var E=function(){const _0x784b14=_0x48e5bc;return E=Object[_0x784b14(0x2c8)]||function(_0x22a618){const _0x4cb4fa=_0x784b14;for(var _0x816be3,_0x48203b=0x1,_0x4b7317=arguments[_0x4cb4fa(0x2c5)];_0x48203b<_0x4b7317;_0x48203b++){_0x816be3=arguments[_0x48203b];for(var _0x55558d in _0x816be3)Object[_0x4cb4fa(0x89)][_0x4cb4fa(0xe9)][_0x4cb4fa(0x1bf)](_0x816be3,_0x55558d)&&(_0x22a618[_0x55558d]=_0x816be3[_0x55558d]);}return _0x22a618;},E[_0x784b14(0x214)](this,arguments);},Tt=function(_0x5b0708,_0x37962d){const _0x307cde=_0x48e5bc;var _0x4f640e={};for(var _0x384c02 in _0x5b0708)Object[_0x307cde(0x89)]['hasOwnProperty'][_0x307cde(0x1bf)](_0x5b0708,_0x384c02)&&_0x37962d['indexOf'](_0x384c02)<0x0&&(_0x4f640e[_0x384c02]=_0x5b0708[_0x384c02]);if(_0x5b0708!=null&&typeof Object[_0x307cde(0x29e)]==_0x307cde(0x302)){for(var _0x3b901d=0x0,_0x384c02=Object[_0x307cde(0x29e)](_0x5b0708);_0x3b901d<_0x384c02[_0x307cde(0x2c5)];_0x3b901d++)_0x37962d[_0x307cde(0x2dc)](_0x384c02[_0x3b901d])<0x0&&Object['prototype'][_0x307cde(0x261)][_0x307cde(0x1bf)](_0x5b0708,_0x384c02[_0x3b901d])&&(_0x4f640e[_0x384c02[_0x3b901d]]=_0x5b0708[_0x384c02[_0x3b901d]]);}return _0x4f640e;},pe=M[_0x48e5bc(0x2ec)](function(_0x28e721,_0x505202){const _0x237eb0=_0x48e5bc;var _0xee6b9f=_0x28e721[_0x237eb0(0x19a)],_0x3a3e4a=_0x28e721['id'],_0xe8a2c9=_0x28e721['className'],_0x7af434=_0x28e721[_0x237eb0(0x2ee)],_0x4d284a=Tt(_0x28e721,[_0x237eb0(0x19a),'id','className',_0x237eb0(0x2ee)]),_0x46db6a=_0x237eb0(0x2c0)[_0x237eb0(0x22b)](_0x3a3e4a,'\x20')['concat'](_0xe8a2c9||'')[_0x237eb0(0x9c)](),_0x1438fd=M['useRef']('_'[_0x237eb0(0x22b)](Dt()));return we(_0xee6b9f,''[_0x237eb0(0x22b)](_0x3a3e4a),{'defIds':_0xee6b9f[_0x237eb0(0x2a4)],'idSuffix':_0x1438fd[_0x237eb0(0x91)]},E({'ref':_0x505202,'className':_0x46db6a},_0x4d284a),_0x7af434);});function we(_0x190669,_0x56bb5e,_0x351ec3,_0x1eab1e,_0x13d6eb){const _0x1dd896=_0x48e5bc;return M[_0x1dd896(0x1c1)](_0x190669[_0x1dd896(0x12b)],E(E({'key':_0x56bb5e},Ot(_0x190669,_0x351ec3,_0x13d6eb)),_0x1eab1e),(Rt(_0x190669,_0x351ec3)['children']||[])[_0x1dd896(0x241)](function(_0x23fe9b,_0x491a8f){const _0x5555aa=_0x1dd896;return we(_0x23fe9b,''[_0x5555aa(0x22b)](_0x56bb5e,'-')[_0x5555aa(0x22b)](_0x190669[_0x5555aa(0x12b)],'-')['concat'](_0x491a8f),_0x351ec3,void 0x0,_0x13d6eb);}));}function Ot(_0x237419,_0x1cbd62,_0x573f4d){const _0x5947d7=_0x48e5bc;var _0x2b6de7=E({},_0x237419[_0x5947d7(0x1c5)]);_0x573f4d!=null&&_0x573f4d[_0x5947d7(0x2d1)]&&_0x2b6de7[_0x5947d7(0x21c)]==='colorChannel1'&&(_0x2b6de7[_0x5947d7(0x21c)]=_0x573f4d[_0x5947d7(0x2d1)]),_0x237419[_0x5947d7(0x12b)]===_0x5947d7(0x14e)&&_0x2b6de7['id']&&(_0x2b6de7['id']=_0x2b6de7['id']+_0x1cbd62[_0x5947d7(0x1dc)]),Object['entries'](_0x2b6de7)[_0x5947d7(0x299)](function(_0x1a4d4a){const _0x5b81f2=_0x5947d7;var _0x16a182=_0x1a4d4a[0x0],_0x3d3e5b=_0x1a4d4a[0x1];_0x16a182===_0x5b81f2(0x14e)&&typeof _0x3d3e5b==_0x5b81f2(0x20e)&&(_0x2b6de7[_0x16a182]=_0x3d3e5b[_0x5b81f2(0x22e)](/url\(#(.*)\)/,_0x5b81f2(0x2da)[_0x5b81f2(0x22b)](_0x1cbd62['idSuffix'],')')));});var _0x57e4c4=_0x1cbd62[_0x5947d7(0x2a4)];return!_0x57e4c4||_0x57e4c4['length']===0x0||(_0x237419['tag']===_0x5947d7(0x21a)&&_0x2b6de7[_0x5947d7(0x287)]&&(_0x2b6de7[_0x5947d7(0x287)]=_0x2b6de7[_0x5947d7(0x287)]+_0x1cbd62[_0x5947d7(0x1dc)]),Object[_0x5947d7(0x1f9)](_0x2b6de7)[_0x5947d7(0x299)](function(_0x59aeb6){const _0x59d350=_0x5947d7;var _0x4fefdd=_0x59aeb6[0x0],_0xe78c43=_0x59aeb6[0x1];typeof _0xe78c43==_0x59d350(0x20e)&&(_0x2b6de7[_0x4fefdd]=_0xe78c43[_0x59d350(0x22e)](/url\(#(.*)\)/,_0x59d350(0x2da)[_0x59d350(0x22b)](_0x1cbd62[_0x59d350(0x1dc)],')')));})),_0x2b6de7;}function Rt(_0x133e9f,_0x4a9534){const _0x3c4c1a=_0x48e5bc;var _0x2add4d,_0xfd4d06=_0x4a9534[_0x3c4c1a(0x2a4)];return!_0xfd4d06||_0xfd4d06[_0x3c4c1a(0x2c5)]===0x0?_0x133e9f:_0x133e9f[_0x3c4c1a(0x12b)]===_0x3c4c1a(0x1a6)&&(!((_0x2add4d=_0x133e9f[_0x3c4c1a(0xb6)])===null||_0x2add4d===void 0x0)&&_0x2add4d['length'])?E(E({},_0x133e9f),{'children':_0x133e9f[_0x3c4c1a(0xb6)]['map'](function(_0x57761e){const _0x125d67=_0x3c4c1a;return typeof _0x57761e['attrs']['id']==_0x125d67(0x20e)&&_0xfd4d06&&_0xfd4d06[_0x125d67(0x2dc)](_0x57761e['attrs']['id'])>-0x1?E(E({},_0x57761e),{'attrs':E(E({},_0x57761e['attrs']),{'id':_0x57761e[_0x125d67(0x1c5)]['id']+_0x4a9534[_0x125d67(0x1dc)]})}):_0x57761e;})}):_0x133e9f;}function Dt(){const _0xfdba75=_0x48e5bc;return Math['random']()[_0xfdba75(0x220)](0x24)[_0xfdba75(0x23e)](0x2,0x8);}pe['displayName']=_0x48e5bc(0x16e);var Ut={'tag':'svg','attrs':{'fill':_0x48e5bc(0x24e),'viewBox':_0x48e5bc(0x2bc),'width':'1em','height':'1em'},'children':[{'tag':'g','attrs':{'clipPath':_0x48e5bc(0x27e)},'children':[{'tag':_0x48e5bc(0x1d9),'attrs':{'stroke':_0x48e5bc(0xf5),'d':_0x48e5bc(0x169),'strokeLinecap':_0x48e5bc(0x1af),'strokeLinejoin':_0x48e5bc(0x1af),'strokeWidth':1.2}}]},{'tag':_0x48e5bc(0x1a6),'attrs':{},'children':[{'tag':_0x48e5bc(0x247),'attrs':{'id':_0x48e5bc(0xc8)},'children':[{'tag':_0x48e5bc(0x1d9),'attrs':{'fill':_0x48e5bc(0x222),'d':_0x48e5bc(0x9e)}}]}]}],'defIds':['off-line-single_clip0_910_343']},ye=M[_0x48e5bc(0x2ec)](function(_0x582e49,_0x4652d8){const _0x39f440=_0x48e5bc;return M['createElement'](pe,Object[_0x39f440(0x2c8)]({},_0x582e49,{'id':_0x39f440(0x29c),'ref':_0x4652d8,'icon':Ut}));});ye[_0x48e5bc(0x13d)]='OffLineSingle';var Nt={'tag':'svg','attrs':{'fill':'none','viewBox':_0x48e5bc(0x18f),'width':_0x48e5bc(0x18c),'height':_0x48e5bc(0x18c)},'children':[{'tag':'g','attrs':{'clipPath':_0x48e5bc(0x2e6)},'children':[{'tag':_0x48e5bc(0x1d9),'attrs':{'stroke':_0x48e5bc(0xf5),'d':_0x48e5bc(0x1d0),'strokeLinecap':_0x48e5bc(0x1af),'strokeLinejoin':_0x48e5bc(0x1af),'strokeWidth':1.2}}]},{'tag':_0x48e5bc(0x1a6),'attrs':{},'children':[{'tag':_0x48e5bc(0x247),'attrs':{'id':'on-line-single_clip0_910_349'},'children':[{'tag':_0x48e5bc(0x1d9),'attrs':{'fill':'#fff','d':'M0\x200H16V16H0z','transform':_0x48e5bc(0xf8)}}]}]}],'defIds':[_0x48e5bc(0x238)]},$e=M[_0x48e5bc(0x2ec)](function(_0x53c3b4,_0x40eda3){const _0x2bdce1=_0x48e5bc;return M['createElement'](pe,Object[_0x2bdce1(0x2c8)]({},_0x53c3b4,{'id':'on-line-single','ref':_0x40eda3,'icon':Nt}));});$e['displayName']=_0x48e5bc(0x284);function Mt(_0x3abd90){const _0x29fff6=_0x48e5bc;switch(_0x3abd90){case u[_0x29fff6(0x11e)][_0x29fff6(0x2e2)]:return _0x29fff6(0x178);case u[_0x29fff6(0x11e)][_0x29fff6(0x97)]:return _0x29fff6(0x244);case u[_0x29fff6(0x11e)][_0x29fff6(0x22c)]:return _0x29fff6(0xf0);case u['CollaborationStatus'][_0x29fff6(0xba)]:return _0x29fff6(0x266);case u[_0x29fff6(0x11e)][_0x29fff6(0x26f)]:case u[_0x29fff6(0x11e)][_0x29fff6(0x203)]:return _0x29fff6(0xd7);case u[_0x29fff6(0x11e)]['SYNCED']:case u[_0x29fff6(0x11e)][_0x29fff6(0x16f)]:return _0x29fff6(0x286);}}function _0x3f84(_0x51654c,_0x573577){const _0x28245e=_0x2824();return _0x3f84=function(_0x3f84e3,_0x390464){_0x3f84e3=_0x3f84e3-0x7e;let _0x150efe=_0x28245e[_0x3f84e3];return _0x150efe;},_0x3f84(_0x51654c,_0x573577);}function xe(_0x157d5e){const _0x48c718=_0x48e5bc,{status$:_0x42a4dd}=_0x157d5e,_0x50b1fc=T[_0x48c718(0x103)](_0x42a4dd,u['CollaborationStatus'][_0x48c718(0xba)]),_0x15112e=T[_0x48c718(0x1ec)](a[_0x48c718(0x223)]),_0x5a9736=T['useDependency'](u[_0x48c718(0x29d)]),_0x56c46c=_0x50b1fc!==u['CollaborationStatus'][_0x48c718(0x2e2)],_0x55657e=_0x15112e['t'](Mt(_0x50b1fc)),_0x10db65=_0x56c46c?P[_0x48c718(0x156)]($e,{}):P[_0x48c718(0x156)](ye,{}),_0x2e9487=M['useCallback'](()=>{const _0x584729=_0x48c718;_0x56c46c||_0x5a9736[_0x584729(0x2a5)]();},[_0x56c46c,_0x5a9736]);function _0x485f15(){const _0x3a1248=_0x48c718;return P[_0x3a1248(0x186)](_0x3a1248(0xe8),{'className':_0x3a1248(0x1fe),'onClick':_0x2e9487,'children':[P[_0x3a1248(0x156)](_0x3a1248(0xe8),{'className':D[_0x3a1248(0x20d)](_0x3a1248(0x1b8),{'univer-text-green-500':_0x56c46c,'univer-text-red-500':!_0x56c46c}),'children':_0x10db65}),P['jsx']('div',{'className':_0x3a1248(0x25c),'children':_0x55657e})]});}return _0x56c46c?_0x485f15():P['jsx'](D[_0x48c718(0x18d)],{'title':_0x15112e['t'](_0x48c718(0x2ac)),'children':_0x485f15()});}var Lt=Object[_0x48e5bc(0x275)],Pt=(_0x4fce49,_0x718af1,_0x300310,_0x340cbd)=>{const _0x3a5662=_0x48e5bc;for(var _0x3d20de=_0x340cbd>0x1?void 0x0:_0x340cbd?Lt(_0x718af1,_0x300310):_0x718af1,_0x17644b=_0x4fce49[_0x3a5662(0x2c5)]-0x1,_0x297437;_0x17644b>=0x0;_0x17644b--)(_0x297437=_0x4fce49[_0x17644b])&&(_0x3d20de=_0x297437(_0x3d20de)||_0x3d20de);return _0x3d20de;},V=(_0x4af0a8,_0xb8da88)=>(_0x431a6f,_0x518e48)=>_0xb8da88(_0x431a6f,_0x518e48,_0x4af0a8);exports[_0x48e5bc(0x1c6)]=class extends a[_0x48e5bc(0xac)]{constructor(_0x45bbf2,_0x167717,_0x4465ec,_0x18e873){const _0x4c4021=_0x48e5bc;super(),h(this,_0x4c4021(0x179),new d['BehaviorSubject'](u[_0x4c4021(0x11e)][_0x4c4021(0xba)])),(this['_univerInstanceService']=_0x45bbf2,this[_0x4c4021(0x126)]=_0x167717,this[_0x4c4021(0x118)]=_0x4465ec,this['_uiPartsService']=_0x18e873,this[_0x4c4021(0x86)](),this[_0x4c4021(0x2df)]());}['_initStatusListener'](){const _0xc2bc07=_0x48e5bc;this[_0xc2bc07(0x173)](this['_univerInstanceService'][_0xc2bc07(0x1e9)][_0xc2bc07(0x29b)](d['switchMap'](()=>{const _0x243002=_0xc2bc07,_0x2542be=this[_0x243002(0x109)][_0x243002(0x2a3)]();return _0x2542be?this[_0x243002(0x118)]['getCollabEntity$'](_0x2542be['getUnitId']()):d['of'](null);}),d['switchMap'](_0x10c3f6=>_0x10c3f6?_0x10c3f6[_0xc2bc07(0x141)]:d['of'](u[_0xc2bc07(0x11e)][_0xc2bc07(0xba)])))[_0xc2bc07(0x2fe)](_0x5c898c=>{const _0x2b3add=_0xc2bc07;this[_0x2b3add(0x179)]['next'](_0x5c898c);}));}[_0x48e5bc(0x86)](){const _0x3b74a1=_0x48e5bc;this['disposeWithMe'](this['_uiPartsService'][_0x3b74a1(0x298)](T[_0x3b74a1(0xbc)][_0x3b74a1(0x279)],()=>T['connectInjector'](At({'status$':this[_0x3b74a1(0x179)][_0x3b74a1(0x2b9)]()}),this[_0x3b74a1(0x126)])));}},exports[_0x48e5bc(0x1c6)]=Pt([V(0x0,a['IUniverInstanceService']),V(0x1,a[_0x48e5bc(0x28c)](a['Injector'])),V(0x2,a[_0x48e5bc(0x28c)](u[_0x48e5bc(0x2fd)])),V(0x3,T['IUIPartsService'])],exports[_0x48e5bc(0x1c6)]);function At(_0x5e1a82){const {status$:_0x5d9b0b}=_0x5e1a82;return function(){return P['jsx'](xe,{'status$':_0x5d9b0b});};}var wt=Object['getOwnPropertyDescriptor'],yt=(_0x46c6bd,_0x1af446,_0x7999c5,_0xadc5cc)=>{for(var _0x33684e=_0xadc5cc>0x1?void 0x0:_0xadc5cc?wt(_0x1af446,_0x7999c5):_0x1af446,_0x241bc3=_0x46c6bd['length']-0x1,_0x3a4be6;_0x241bc3>=0x0;_0x241bc3--)(_0x3a4be6=_0x46c6bd[_0x241bc3])&&(_0x33684e=_0x3a4be6(_0x33684e)||_0x33684e);return _0x33684e;},y=(_0x496c55,_0x5a43d3)=>(_0x50f35b,_0x17a48c)=>_0x5a43d3(_0x50f35b,_0x17a48c,_0x496c55);let q=class extends a['Disposable']{constructor(_0x4da281,_0x1c067a,_0x3c8a27,_0x58f1db,_0x30bc75,_0x1f675c){const _0x5bb333=_0x48e5bc;super(),this[_0x5bb333(0x246)]=_0x4da281,this[_0x5bb333(0x2ef)]=_0x1c067a,this[_0x5bb333(0x187)]=_0x3c8a27,this[_0x5bb333(0x208)]=_0x58f1db,this['_notificationService']=_0x30bc75,this[_0x5bb333(0x256)]=_0x1f675c,this[_0x5bb333(0x2c3)](),this[_0x5bb333(0xf3)]();}[_0x48e5bc(0x2c3)](){const _0x579df8=_0x48e5bc;this[_0x579df8(0x173)](this[_0x579df8(0x246)]['registerBeforeClose'](()=>{const _0x3fa611=_0x579df8;if(this['_localCacheService'][_0x3fa611(0xfd)][_0x3fa611(0x267)])return this[_0x3fa611(0x256)]['t'](_0x3fa611(0x265));}));}[_0x48e5bc(0xf3)](){const _0x503685=_0x48e5bc;this[_0x503685(0x173)](this[_0x503685(0x187)][_0x503685(0xd2)][_0x503685(0x2fe)](_0x10a9ea=>{const _0xc8c578=_0x503685;_0x10a9ea['id']===u[_0xc8c578(0x18e)]['OTHER_CLIENT_EDITING']&&this[_0xc8c578(0x208)][_0xc8c578(0x15c)]({'type':D[_0xc8c578(0x2c7)][_0xc8c578(0x1f7)],'content':this['_localeService']['t']('collaboration.single-unit.warning')}),_0x10a9ea['id']===u[_0xc8c578(0x18e)][_0xc8c578(0x21d)]&&this[_0xc8c578(0x208)][_0xc8c578(0x15c)]({'type':D[_0xc8c578(0x2c7)]['Warning'],'content':this[_0xc8c578(0x256)]['t'](_0xc8c578(0xb2))}),_0x10a9ea['id']===u[_0xc8c578(0x18e)][_0xc8c578(0x226)]&&this['_notificationService'][_0xc8c578(0x15c)]({'title':this[_0xc8c578(0x256)]['t'](_0xc8c578(0x10b)),'content':this[_0xc8c578(0x256)]['t'](_0xc8c578(0x7f)),'type':_0xc8c578(0x272),'duration':0x0}),_0x10a9ea['id']===u[_0xc8c578(0x18e)][_0xc8c578(0x97)]&&this[_0xc8c578(0x208)][_0xc8c578(0x15c)]({'type':D[_0xc8c578(0x2c7)][_0xc8c578(0xcd)],'content':this['_localeService']['t'](_0xc8c578(0xb2))+'('+_0x10a9ea[_0xc8c578(0x10f)]+')'}),_0x10a9ea['id']===u['CollaborationUIEventId']['JOIN_ROOM_FAILED']&&this[_0xc8c578(0x208)]['show']({'type':D[_0xc8c578(0x2c7)][_0xc8c578(0x1f7)],'content':this['_localeService']['t'](_0x10a9ea['data']||'')}),_0x10a9ea['id']===u[_0xc8c578(0x18e)][_0xc8c578(0xa8)]&&this[_0xc8c578(0x208)][_0xc8c578(0x15c)]({'type':D[_0xc8c578(0x2c7)][_0xc8c578(0x1f7)],'content':this['_localeService']['t'](_0xc8c578(0x172))}),_0x10a9ea['id']===u['CollaborationUIEventId'][_0xc8c578(0x164)]&&this[_0xc8c578(0x208)][_0xc8c578(0x15c)]({'type':D[_0xc8c578(0x2c7)]['Error'],'content':this['_localeService']['t'](_0xc8c578(0x2b1))}),_0x10a9ea['id']===u[_0xc8c578(0x18e)][_0xc8c578(0x207)]&&this[_0xc8c578(0x208)]['show']({'type':D[_0xc8c578(0x2c7)][_0xc8c578(0xcd)],'content':this[_0xc8c578(0x256)]['t'](_0xc8c578(0x268))});}));}};function _0x2824(){const _0x283e60=['SNAPSHOT_INVALID_SNAPSHOT','_drawTextRange','body','UniverCollaborationClientPlugin','fillStyle','invokeId','_eventUnsubscribe','NodePositionConvertToRectRange','_docStateChangeManagerService','DeleteRangeMoveUpCommandId','override','defs','_anchorDot','_assignedColors','deepClone','_anchor','runId','getSheetId','_unitOnClients','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY','round','EMAIL_HAS_BEEN_BOUND','_removeClearOtherTimer','post','98zerMGd','2989266oEriRd','_shapes','APPLY_REJECT','InsertColCommandId','univer-flex\x20univer-mr-2\x20univer-text-xl','isArray','startsWith','_scene','_collabCursorController','engine','name','call','LICENSE_EXPORT_SIZE_EXCEEDED','createElement','_cachedData','_transformUndoRedoStack','subunit','attrs','DesktopCollaborationStatusDisplayController','InsertRangeMoveRightCommandId','_init','parse','getCoordByCell','COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY','purple.300','textRanges','1130412LvHjhj','handleIRemoveRow','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','transformRemoteChangeset','TEXT','black','_logService','result','getAncestorScale','_saveTaskMap','@univerjs/sheets-ui','path','entityInit$','APPLY_DUPLICATED','idSuffix','YUUMI_ALL_TABLES_IS_INVALID','LOCAL_CACHE_INTERVAL','registerRenderModule','getCurrentUnitForType','LICENSE_DISTRO_REJECTED','OTHER_CLIENTS_EDITING','registerRefRange','addObjects','setActiveRange','ENSURE_SNAPSHOT_EXECUTION','UnitStatus','INVITE_CODE_HAS_BEEN_UES','focused$','unitId','_dataLoaderService','useDependency','IConfigService','type','_ensureSubject','lineTo','onPointerEnter$','DOC_RANGE_TYPE','UNIVER_SHEET','_colorAssignService','endRow','NOT_FOUND','Warning','getSheetBySheetId','entries','mergeOverrideWithDependencies','UNAUTHENTICATED','_color','subUnitId','univer-flex\x20univer-items-center','SheetSkeletonManagerService','skeleton','_transformService','min','AWAITING_WITH_PENDING','InsertRangeMoveDownCommandId','@univerjs/network','registerDependencies','SUBMIT_CHANGESET_TIMEOUT','_messageService','selections','unsubscribe','_getScale','get','clsx','string','jiqing.500','IBeforeCloseService','closePath','YUUMI_SUBSCRIPTION_NOT_FOUND','handleInsertRangeMoveRight','apply','MoveRangeCommandId','fromEvent','HTTPService','RECT','SetSelectionsOperation','use','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','fill','CLOSE_ROOM','NodePositionConvertToCursor','_localStorageService','toString','@univerjs-pro/collaboration-client','#fff','LocaleService','combineLatest','_initResize','PERMISSION_DENIED','getUniverSheetInstance','defineProperty','popstate','_session','concat','FETCH_MISS','setConfig','replace','@univerjs/sheets','loadUnit','DocCollaborationEntity','push','dispose','No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.','_disabled','doc.mutation.rich-text-editing','3950152aebfnS','on-line-single_clip0_910_349','IDocClipboardService','UniverCollaborationClientUIPlugin','onPointerMove$','setAlpha','3810639HKGBMW','substring','COLORS','subscribeEvent','map','_range','_docTransformIMECacheService','collabStatus.conflict','TOO_MANY_REQUESTS','_beforeCloseService','clipPath','_configService','isEditing','_urlService','text','debug','EffectRefRangId','none','_hovered','delete','backgroundColor','MemberService','setShapeProps','some','activeSheet$','_localeService','[CollaborationDataLoaderController]','_imageIoService','CollaborationDataLoaderController','_hover','_selfUnitIDs','univer-text-sm\x20univer-leading-8\x20univer-text-gray-600\x20dark:!univer-text-gray-200','throttleTime','_toggleOffline','ISocketService','font','propertyIsEnumerable','getSheetObject','/run/','_online','collaboration-client.offline-data-not-saved','collabStatus.notCollab','size','session.collaboration-timeout','values','getMemberID','syncEditingCollabCursor','COMPLETION_FINISHED','toDisposable','params','AWAITING','setInterval','@univerjs/rpc','error','DocStateChangeManagerService','_updateCollabCursors','getOwnPropertyDescriptor','RevisionService','m2Prime','replaceState','HEADER_MENU','PY_RUNTIME_SCRIPT_ERROR','getColorFromTheme','_startSheetCollabCursor','_refreshCollabCursors','url(#off-line-single_clip0_910_343)','_createSocketURL','getUnitId','...','YUUMI_URL_COL_OUT_OF_RANGE','INVALID_ARGUMENT','OnLineSingle','_id','collabStatus.synced','xlink:href','generateRandomId','Plugin','set','resize','Inject','location','USERS_LEAVE','getMember','_clearOtherTimers','getCollabCursors$','SHEET_VIEWPORT_KEY','getTypeOfUnitDisposed$','Rect','rxjs','DocIMEInputManagerService','urlChange$','registerComponent','forEach','loadOfflineData','pipe','off-line-single','CollaborationSessionService','getOwnPropertySymbols','createInstance','onCommandExecuted','CollaborationUIEventService','_removeCollabCursors','getFocusedUnit','defIds','reconnect','WebURLService','collab-text-anchor-','IURLService','measureText','init','imageSourceType','collab-client.tooltip.reconnect','UPDATE_CURSOR','then','getValue','transformByState','session.connection-failed','SNAPSHOT_HAS_BEEN_REMOVED','mutations','_renderManagerService','runRefRangeMutations','currentTheme$','15FKsfIE','transformIMECache','asObservable','row','getSkeleton','0\x200\x2016\x2016','@univerjs/ui','RemoteUniscriptService','deserializeRangeWithSheet','univerjs-icon\x20univerjs-icon-','TEXT_RANGE_LAYER_INDEX','getConfig','_setupBeforeClosingHandler','INVITE_CODE_REQUIRED','length','_getAnchorBounding','MessageType','assign','Unknown\x20user','isActive','green.600','Workbook','_send','Tools','getUnitStatus$','Optional','colorChannel1','APPLY_PERMISSION_DENIED','hide','UNDEFINED','transform','cursorInfo$','99FDPYiq','1nyByKi','_registerDependencies','url(#$1','_docSyncEditingCollabCursorService','indexOf','getTypeOfUnitAdded$','m1Prime','_initStatusListener','toStringTag','filter','OFFLINE','[RemoteUniscriptService]:\x20no\x20focused\x20unit','_unitStatus','unitID','url(#on-line-single_clip0_910_349)','flatMap','_cursor','DisposableCollection','ILocalCacheService','hovered','forwardRef','ranges','extend','_localCacheService','ColorKit','_roomMembers$','sessionStatus$','_initEntityListener','YUUMI_UNABLE_LOAD_URL','requireSession','searchParams','_transformHistoryAndStateStack','_updateLocalCursor','shareReplay','getActiveRange','split','onRendered','CollaborationController','subscribe','_draw','max','getUndoRedoMutationParamsCache','function','getRangePointData','permission.content','UniverInstanceType','find','_docSkeletonManagerService','height','SetWorksheetActivateCommand','createIdentifier','_initStatusComponent','enableLocalCache','_cursorInfo$','prototype','roomMembers$','moveTo','sessionTicket','WebSocketService','ticket','findNodePositionByCharIndex','@univerjs/design','current','getActiveSheet','WECHAT_HAS_BEEN_BOUND','_entities','ACTIVE_UNIT_EVENT_CHANNEL','_updateSubUnitFromURLParams','CONFLICT','handleInsertCol','unit','_getSaveTimeout','_drawRectRange','trim','RxDisposable','M0\x200H16V16H0z','IUniverInstanceService','restore','YUUMI_AI_RUN_FAILED','YUUMI_NO_CUBOID_FOR_QUESTION','eventID','onPointerLeave$','_cursors','symbol','UNRECOGNIZED','SOCKET_FAILED_RETRY','ISnapshotServerService','34016IIFjJm','exhaustSavingTask','Disposable','CollaborationSocketService','sheetId','debounce','assignAColorForMemberID','MOBILE_HAS_BEEN_BOUND','collaboration.closeRoom','_toggleOnline','WebBrowserSingleActiveUnitService','_registerRenderDependencies','children','@univerjs/engine-render','code','width','NOT_COLLAB','next','BuiltInUIPart','_lastPointer','@univerjs/engine-formula','drawWith','_scheduleSaving','color','_entityInit$','executeCommand','getItem','DataLoaderService','history','_context','off-line-single_clip0_910_343','_colorIndex','saveImage','onTransformChange$','dispose$','Error','collab-text-range-','_httpService','stringify','clearInterval','event$','with','setParam','ThemeService','_onRefRangeChange','collabStatus.syncing','serializeRangeWithSheet','onMouseMove','LOGIN_FAILED','_textBubble','getDocRanges','takeUntil','isTransformMutationsWithChangesetSuccess','_collabCursorState$','_onCursorDelete','_docSkeleton','@univerjs/docs-ui','removeParam','DEFAULT_WS_SESSION_TICKET_URL','_document','column','transformSelections','div','hasOwnProperty','undoState','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','DocSelectionManagerService','ILogService','sheetID','_handleHeartbeatEvent','collabStatus.fetchMiss','CollaborationEvent','6290307wAkbjo','_initEvent','_startDocCollabCursor','currentColor','RegularPolygon','_heartbeatTimer','translate(.97)','uni.network.url-service','MUTATION','FromArray','SheetCollabCursorShape','saveTaskMap','mapTo','rxjs/operators','_collabSessionService','getParam','Injector','useObservable','_updateURLWithCurrentState','_initDependencies','runOnServer','_cursorShapes','selection','_univerInstanceService','_labelPosition','permission.title','_refRangeService','collabCursorState$','yellow.400','data','ICommandService','evenodd','handleIRemoveCol','unload','getLocalCacheKey','getRenderById','merge','IRenderManagerService','_collaborationController','transformStateCache','_memberService','_onCursorUpdate','fillText','_handleJoinEvent','CollaborationStatus','range','getCellPositionByOffset','getStateCache','_setupSubUnitSync','CollaborationStatusDisplay','pushState','red.300','_injector','whenReady','LOCAL_CACHE_INTERVAL_KEY','ITransformService','YUUMI_TABLE_NOT_FOUND_IN_UNIT','tag','_name','RemoveRowCommandId','APPLY_NON_SEQUENTIAL_REVISION','search','_themeService','USER_NOT_INVITED_CODE','newValue','884050YrFnJj','setTimeout','Shape','_getSessionTicket','LICENSE_MAX_UNITS_EXCEEDED','cursorInfo','Rectangle','getColor','INTERNAL_ERROR','clearTimeout','displayName','_syncEditingCollabCursorService','top','currentSkeleton$','status$','_render','UNIVER_DOC','YUUMI_ASYNCIO_CANCELLED','NO_OTHER_CLIENTS_EDITING','getRelativeToViewportCoord','unshift','rgba(255,\x20255,\x20255,\x200.01)','updateOfflineData','InsertRowCommandId','debounceTime','SetDocZoomRatioOperation','complete','mask','UNIVER_COLLABORATION_CLIENT_WEB_PLUGIN','_saveCache','add','setUndoRedoMutationParamsCache','CHANGESET_REVISION_CONFILICT','triggerDblclick','_docTransformStateCacheService','jsx','handleInsertRangeMoveDown','TRANSFORM_CHANGE_OBSERVABLE_TYPE','addObject','_handleHover','Vector2','show','RefRangeService','from','_hideTimer','_sheetSkeletonManagerService','YUUMI_RATE_OVER_LIMIT','getVpScrollXYInfoByPosToVp','_docTransformSelectionsService','SOCKET_FAILED','pluginName','_handleEvent','#FFF','_transformPreviousActiveRange','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','_backgroundColor','toRgbString','ALREADY_EXISTS','BehaviorSubject','UniverIcon','PENDING','addHandlerCallback','_getMergeRange','session.will-retry','disposeWithMe','_commandService','BrowserCollaborationSocketService','_instanceService','_scheduleClearOtherTimer','collabStatus.offline','_status$','react/jsx-runtime','save','_docClipboardService','LICENSE_IMPORT_SIZE_EXCEEDED','ONLINE','isTransformMutationFailure','arc','send','APPLY_REVISION_CONFILICT','_config','key','Failed','jsxs','_collaborationUIEventService','href','_getSheetObject','_scheduleHeartbeat','SessionStatus','1em','Tooltip','CollaborationUIEventId','0\x200\x2017\x2016','_doCreateSocket','setItem','DependentOn','INVALID_INVITE_CODE','_initCommandExecutedListener','transformMutation','RichTextEditingMutation','has','disposeUnit','_handleLeaveEvent','icon'];_0x2824=function(){return _0x283e60;};return _0x2824();}q=yt([y(0x0,T[_0x48e5bc(0x210)]),y(0x1,u[_0x48e5bc(0x2ea)]),y(0x2,a['Inject'](u[_0x48e5bc(0x2a1)])),y(0x3,T['IMessageService']),y(0x4,T['INotificationService']),y(0x5,a[_0x48e5bc(0x28c)](a[_0x48e5bc(0x223)]))],q);const $t='collaboration-client-ui.config',Ue={},be=a[_0x48e5bc(0x85)](_0x48e5bc(0xf9));var xt=Object[_0x48e5bc(0x275)],jt=(_0x2c3c3f,_0x36b22d,_0x18a75c,_0x50c2f0)=>{const _0x33e8a5=_0x48e5bc;for(var _0x16081f=_0x50c2f0>0x1?void 0x0:_0x50c2f0?xt(_0x36b22d,_0x18a75c):_0x36b22d,_0x55480e=_0x2c3c3f[_0x33e8a5(0x2c5)]-0x1,_0x930ef1;_0x55480e>=0x0;_0x55480e--)(_0x930ef1=_0x2c3c3f[_0x55480e])&&(_0x16081f=_0x930ef1(_0x16081f)||_0x16081f);return _0x16081f;},H=(_0x3cb7f8,_0xab1288)=>(_0x4214fb,_0x55ddf0)=>_0xab1288(_0x4214fb,_0x55ddf0,_0x3cb7f8);exports[_0x48e5bc(0x259)]=class extends a[_0x48e5bc(0x9d)]{constructor(_0x55e712,_0x5e602a,_0x275714,_0x2dbb0b,_0x237678){const _0x31cdd4=_0x48e5bc;super(),this[_0x31cdd4(0x24a)]=_0x55e712,this[_0x31cdd4(0x1d4)]=_0x5e602a,this[_0x31cdd4(0x174)]=_0x275714,this['_dataLoaderService']=_0x2dbb0b,_0x237678?_0x237678==null||_0x237678[_0x31cdd4(0x127)]()['then'](()=>this[_0x31cdd4(0x1c8)]()):(this[_0x31cdd4(0x1d4)][_0x31cdd4(0x24c)](_0x31cdd4(0x257),_0x31cdd4(0x234)),this[_0x31cdd4(0x1c8)]());}async[_0x48e5bc(0x1c8)](){const _0x259058=_0x48e5bc,_0x1f7fb3=this[_0x259058(0x24a)][_0x259058(0x101)](_0x259058(0x99)),_0x3f6216=this['_urlService']['getParam'](_0x259058(0x1ee)),_0x135a38=this[_0x259058(0x24a)][_0x259058(0x101)]('subunit');if(!_0x1f7fb3||!_0x3f6216){this[_0x259058(0x1d4)][_0x259058(0x24c)]('[CollaborationDataLoaderController]','No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.');return;}const _0x45230f=await this[_0x259058(0x1eb)][_0x259058(0x230)](_0x1f7fb3,Number(_0x3f6216),_0x135a38);_0x45230f&&_0x45230f instanceof a[_0x259058(0x2cc)]&&this['_setupSubUnitSync'](_0x45230f);}async[_0x48e5bc(0x122)](_0x472e18){const _0x5eb7a2=_0x48e5bc;await this[_0x5eb7a2(0x96)](_0x472e18),_0x472e18[_0x5eb7a2(0x255)][_0x5eb7a2(0x29b)](d['takeUntil'](this['dispose$']))[_0x5eb7a2(0x2fe)](_0xcf537e=>{_0xcf537e&&this['_updateURLWithCurrentState'](_0xcf537e);}),this['_urlService'][_0x5eb7a2(0x297)][_0x5eb7a2(0x29b)](d[_0x5eb7a2(0xdd)](this[_0x5eb7a2(0xcc)]))[_0x5eb7a2(0x2fe)](()=>this[_0x5eb7a2(0x96)](_0x472e18));}[_0x48e5bc(0x104)](_0x26c317,_0x18ef31=!0x1){const _0x1d42de=_0x48e5bc,_0x29096d=this[_0x1d42de(0x24a)][_0x1d42de(0x101)](_0x1d42de(0x1c4));_0x26c317['getSheetId']()!==_0x29096d&&this[_0x1d42de(0x24a)][_0x1d42de(0xd4)](_0x1d42de(0x1c4),_0x26c317[_0x1d42de(0x1ac)](),_0x18ef31);}async[_0x48e5bc(0x96)](_0x175ffd){const _0x3f4005=_0x48e5bc;var _0x15f9e0;const _0x266f5d=this[_0x3f4005(0x24a)][_0x3f4005(0x101)](_0x3f4005(0x1c4));if(!_0x266f5d||!_0x175ffd['getSheetBySheetId'](_0x266f5d)){const _0x36fedb=_0x175ffd['getUnhiddenWorksheets']()[0x0],_0x419239=_0x175ffd[_0x3f4005(0x1f8)](_0x36fedb);if(!_0x419239)return;this[_0x3f4005(0x104)](_0x419239,!0x0),await this[_0x3f4005(0x174)][_0x3f4005(0xc3)](g[_0x3f4005(0x84)]['id'],{'unitId':_0x175ffd[_0x3f4005(0x280)](),'subUnitId':_0x36fedb});return;}((_0x15f9e0=_0x175ffd[_0x3f4005(0x92)]())==null?void 0x0:_0x15f9e0['getSheetId']())!==_0x266f5d&&await this['_commandService'][_0x3f4005(0xc3)](g[_0x3f4005(0x84)]['id'],{'unitId':_0x175ffd[_0x3f4005(0x280)](),'subUnitId':_0x266f5d});}},exports['CollaborationDataLoaderController']=jt([H(0x0,be),H(0x1,a[_0x48e5bc(0xed)]),H(0x2,a[_0x48e5bc(0x110)]),H(0x3,a[_0x48e5bc(0x28c)](u[_0x48e5bc(0xc5)])),H(0x4,a[_0x48e5bc(0x2d0)](Ke['IRemoteInstanceService']))],exports[_0x48e5bc(0x259)]);var Bt=Object[_0x48e5bc(0x275)],kt=(_0x49f80e,_0x46c9e1,_0x144d3b,_0x551be9)=>{for(var _0x21df55=_0x551be9>0x1?void 0x0:_0x551be9?Bt(_0x46c9e1,_0x144d3b):_0x46c9e1,_0x7f460d=_0x49f80e['length']-0x1,_0x545904;_0x7f460d>=0x0;_0x7f460d--)(_0x545904=_0x49f80e[_0x7f460d])&&(_0x21df55=_0x545904(_0x21df55)||_0x21df55);return _0x21df55;},ce=(_0x58958b,_0x4e5775)=>(_0x1c73d1,_0x5ea788)=>_0x4e5775(_0x1c73d1,_0x5ea788,_0x58958b);let z=class{constructor(_0x47d379,_0x561d0a,_0x32f2a0){const _0x297270=_0x48e5bc;this[_0x297270(0x126)]=_0x47d379,this[_0x297270(0x201)]=_0x561d0a,this[_0x297270(0x2b4)]=_0x32f2a0;}[_0x48e5bc(0x2b8)](_0x36d8c1){const _0x55d30e=_0x48e5bc;this['_transformUndoRedoStack'](_0x36d8c1),this[_0x55d30e(0x168)](_0x36d8c1);}[_0x48e5bc(0x1d1)](_0x2c2390){const _0xdc243c=_0x48e5bc,{unitID:_0x4616b3}=_0x2c2390,_0x2b937c=this[_0xdc243c(0x2b4)]['getRenderById'](_0x4616b3)[_0xdc243c(0xd3)](b[_0xdc243c(0x296)]),{redoCache:_0x2d9a07}=_0x2b937c[_0xdc243c(0x301)]();if(_0x2d9a07[_0xdc243c(0x2c5)]===0x0)return _0x2c2390;let _0x3a7368=a[_0xdc243c(0x2ce)][_0xdc243c(0x1a9)](_0x2c2390[_0xdc243c(0x2b3)][0x0]);for(let _0x34847a=0x0;_0x34847a<_0x2d9a07[_0xdc243c(0x2c5)];_0x34847a++){const _0xa34a84={'id':_0xdc243c(0x236),'params':{..._0x2d9a07[_0x34847a]}},_0x6f34c2=this['_transformService'][_0xdc243c(0x195)](_0x3a7368,_0xa34a84,!0x1);if(m[_0xdc243c(0x17f)](_0x6f34c2))throw _0x6f34c2['error'];_0x3a7368=_0x6f34c2[_0xdc243c(0x2de)];}return{...a[_0xdc243c(0x2ce)][_0xdc243c(0x1a9)](_0x2c2390),'mutations':[_0x3a7368]};}[_0x48e5bc(0x1c3)](_0x1824b6){const _0x48e3eb=_0x48e5bc,{unitID:_0x13993b}=_0x1824b6,_0x4c2d43=this[_0x48e3eb(0x2b4)][_0x48e3eb(0x115)](_0x13993b)[_0x48e3eb(0xd3)](b[_0x48e3eb(0x296)]),{undoCache:_0x5ee7b4,redoCache:_0x577696}=_0x4c2d43[_0x48e3eb(0x301)]();if(_0x5ee7b4[_0x48e3eb(0x2c5)]===0x0||_0x577696['length']===0x0)return;const _0x4cf00f=[],_0x1c494a=[];let _0xe63b8e=a[_0x48e3eb(0x2ce)][_0x48e3eb(0x1a9)](_0x1824b6['mutations'][0x0]),_0x3406b4=a[_0x48e3eb(0x2ce)]['deepClone'](_0x1824b6[_0x48e3eb(0x2b3)][0x0]);for(let _0x16254a=_0x5ee7b4['length']-0x1;_0x16254a>=0x0;_0x16254a--){const _0x2ea0ff={'id':_0x48e3eb(0x236),'params':{..._0x5ee7b4[_0x16254a]}},_0x516011={'id':_0x48e3eb(0x236),'params':{..._0x577696[_0x16254a]}},_0x36dabe=this['_transformService'][_0x48e3eb(0x195)](_0xe63b8e,_0x2ea0ff,!0x1),_0x5686d6=this[_0x48e3eb(0x201)][_0x48e3eb(0x195)](_0x3406b4,_0x516011,!0x1);if(m[_0x48e3eb(0x17f)](_0x36dabe))throw _0x36dabe[_0x48e3eb(0x272)];if(m[_0x48e3eb(0x17f)](_0x5686d6))throw _0x5686d6[_0x48e3eb(0x272)];_0x4cf00f[_0x48e3eb(0x147)](_0x36dabe[_0x48e3eb(0x277)]['params']),_0x1c494a[_0x48e3eb(0x147)](_0x5686d6['m2Prime'][_0x48e3eb(0x26e)]),_0xe63b8e=_0x36dabe[_0x48e3eb(0x2de)],_0x3406b4=_0x5686d6[_0x48e3eb(0x2de)];}_0x4c2d43[_0x48e3eb(0x152)]({'undoCache':_0x4cf00f,'redoCache':_0x1c494a});}[_0x48e5bc(0x168)](_0x17b876){const _0x49ff0f=_0x48e5bc,{unitID:_0x2b90a8}=_0x17b876,_0x3d9726=this['_renderManagerService']['getRenderById'](_0x2b90a8)[_0x49ff0f(0xd3)](b[_0x49ff0f(0x296)]),_0x1ab483=_0x3d9726[_0x49ff0f(0x2fa)]();if(_0x1ab483==null)return;const _0x719554=[{'id':_0x49ff0f(0x236),'params':{'unitId':_0x17b876['unitID'],'actions':null,'textRanges':[_0x1ab483]}}],_0x227243=this['_transformService']['transformMutationsWithChangeset'](_0x17b876,_0x719554);if(!m[_0x49ff0f(0xde)](_0x227243))throw _0x227243['error'];const _0x231c68=_0x227243['m2Prime'][0x0][_0x49ff0f(0x26e)]['textRanges'];Array[_0x49ff0f(0x1b9)](_0x231c68)&&_0x231c68['length']&&_0x3d9726[_0x49ff0f(0x1e5)](_0x231c68[0x0]);}};z=kt([ce(0x0,a[_0x48e5bc(0x28c)](a[_0x48e5bc(0x102)])),ce(0x1,m[_0x48e5bc(0x129)]),ce(0x2,p[_0x48e5bc(0x117)])],z);var Ht=Object['getOwnPropertyDescriptor'],Ft=(_0xad09df,_0x8e87c5,_0x1535e4,_0x326c6b)=>{for(var _0x19b567=_0x326c6b>0x1?void 0x0:_0x326c6b?Ht(_0x8e87c5,_0x1535e4):_0x8e87c5,_0x1f1f28=_0xad09df['length']-0x1,_0x24d854;_0x1f1f28>=0x0;_0x1f1f28--)(_0x24d854=_0xad09df[_0x1f1f28])&&(_0x19b567=_0x24d854(_0x19b567)||_0x19b567);return _0x19b567;},le=(_0x16b1a1,_0x5b9ff8)=>(_0x24fec4,_0x4a4446)=>_0x5b9ff8(_0x24fec4,_0x4a4446,_0x16b1a1);let J=class{constructor(_0x4e1ff1,_0x4009cf,_0x31d66d){const _0xfa81cf=_0x48e5bc;this[_0xfa81cf(0x126)]=_0x4e1ff1,this['_transformService']=_0x4009cf,this[_0xfa81cf(0x1a3)]=_0x31d66d;}[_0x48e5bc(0x119)](_0x4dc118){const _0x4c4538=_0x48e5bc;this[_0x4c4538(0x2f7)](_0x4dc118);}[_0x48e5bc(0x1d1)](_0x4ec304){const _0x6aae36=_0x48e5bc,{unitID:_0x4af69b}=_0x4ec304,{collaboration:_0x2c5ea9}=this[_0x6aae36(0x1a3)][_0x6aae36(0x121)](_0x4af69b);if(_0x2c5ea9[_0x6aae36(0x2c5)]===0x0)return _0x4ec304;let _0x10c922=a['Tools'][_0x6aae36(0x1a9)](_0x4ec304[_0x6aae36(0x2b3)][0x0]);for(let _0x420b79=0x0;_0x420b79<_0x2c5ea9[_0x6aae36(0x2c5)];_0x420b79++){const _0x288e32={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x2c5ea9[_0x420b79]['unitId'],..._0x2c5ea9[_0x420b79]['redoState']}},_0xceef18=this[_0x6aae36(0x201)][_0x6aae36(0x195)](_0x10c922,_0x288e32,!0x1);if(m[_0x6aae36(0x17f)](_0xceef18))throw _0xceef18['error'];_0x10c922=_0xceef18['m1Prime'];}return{...a[_0x6aae36(0x2ce)][_0x6aae36(0x1a9)](_0x4ec304),'mutations':[_0x10c922]};}[_0x48e5bc(0x2f7)](_0x2c8a2b){const _0x5ea615=_0x48e5bc,{unitID:_0x563b1e}=_0x2c8a2b,{history:_0x2b0591,collaboration:_0x2b0f11}=this[_0x5ea615(0x1a3)][_0x5ea615(0x121)](_0x563b1e);if(_0x2b0591['length']===0x0&&_0x2b0f11[_0x5ea615(0x2c5)]===0x0)return;const _0x1b10af=[],_0x219969=[];let _0x1e69a0=a['Tools'][_0x5ea615(0x1a9)](_0x2c8a2b[_0x5ea615(0x2b3)][0x0]),_0x5ac24a=a['Tools'][_0x5ea615(0x1a9)](_0x2c8a2b['mutations'][0x0]);for(let _0x453c2c=_0x2b0591[_0x5ea615(0x2c5)]-0x1;_0x453c2c>=0x0;_0x453c2c--){const _0x2b8c9a={'id':_0x5ea615(0x236),'params':{'unitId':_0x2b0591[_0x453c2c][_0x5ea615(0x1ea)],..._0x2b0591[_0x453c2c][_0x5ea615(0xea)]}},_0x56bd95={'id':_0x5ea615(0x236),'params':{'unitId':_0x2b0591[_0x453c2c][_0x5ea615(0x1ea)],..._0x2b0591[_0x453c2c]['redoState']}},_0x4bb0ce=this[_0x5ea615(0x201)][_0x5ea615(0x195)](_0x1e69a0,_0x2b8c9a,!0x1),_0x68f1a0=this['_transformService'][_0x5ea615(0x195)](_0x5ac24a,_0x56bd95,!0x1);if(m[_0x5ea615(0x17f)](_0x4bb0ce))throw _0x4bb0ce[_0x5ea615(0x272)];if(m[_0x5ea615(0x17f)](_0x68f1a0))throw _0x68f1a0[_0x5ea615(0x272)];_0x1b10af[_0x5ea615(0x147)]({..._0x2b0591[_0x453c2c],'undoState':_0x4bb0ce[_0x5ea615(0x277)][_0x5ea615(0x26e)],'redoState':_0x68f1a0[_0x5ea615(0x277)][_0x5ea615(0x26e)]}),_0x1e69a0=_0x4bb0ce[_0x5ea615(0x2de)],_0x5ac24a=_0x68f1a0[_0x5ea615(0x2de)];}_0x1e69a0=a[_0x5ea615(0x2ce)][_0x5ea615(0x1a9)](_0x2c8a2b[_0x5ea615(0x2b3)][0x0]),_0x5ac24a=a['Tools'][_0x5ea615(0x1a9)](_0x2c8a2b['mutations'][0x0]);for(let _0x2ed73a=_0x2b0f11[_0x5ea615(0x2c5)]-0x1;_0x2ed73a>=0x0;_0x2ed73a--){const _0x2b9e0a={'id':_0x5ea615(0x236),'params':{'unitId':_0x2b0f11[_0x2ed73a]['unitId'],..._0x2b0f11[_0x2ed73a][_0x5ea615(0xea)]}},_0x394365={'id':_0x5ea615(0x236),'params':{'unitId':_0x2b0f11[_0x2ed73a][_0x5ea615(0x1ea)],..._0x2b0f11[_0x2ed73a]['redoState']}},_0x4c318d=this[_0x5ea615(0x201)]['transformMutation'](_0x1e69a0,_0x2b9e0a,!0x1),_0x503152=this[_0x5ea615(0x201)]['transformMutation'](_0x5ac24a,_0x394365,!0x1);if(m[_0x5ea615(0x17f)](_0x4c318d))throw _0x4c318d['error'];if(m[_0x5ea615(0x17f)](_0x503152))throw _0x503152['error'];_0x219969[_0x5ea615(0x147)]({..._0x2b0f11[_0x2ed73a],'undoState':_0x4c318d[_0x5ea615(0x277)][_0x5ea615(0x26e)],'redoState':_0x503152[_0x5ea615(0x277)]['params']}),_0x1e69a0=_0x4c318d[_0x5ea615(0x2de)],_0x5ac24a=_0x503152[_0x5ea615(0x2de)];}this['_docStateChangeManagerService']['setStateCache'](_0x563b1e,{'history':_0x1b10af,'collaboration':_0x219969});}};J=Ft([le(0x0,a['Inject'](a['Injector'])),le(0x1,m[_0x48e5bc(0x129)]),le(0x2,a[_0x48e5bc(0x28c)](b[_0x48e5bc(0x273)]))],J);var Yt=Object['getOwnPropertyDescriptor'],Wt=(_0xc6f4f2,_0x827186,_0xb2657e,_0x9debd0)=>{const _0x31f601=_0x48e5bc;for(var _0x59e84e=_0x9debd0>0x1?void 0x0:_0x9debd0?Yt(_0x827186,_0xb2657e):_0x827186,_0x58b9de=_0xc6f4f2[_0x31f601(0x2c5)]-0x1,_0x12132f;_0x58b9de>=0x0;_0x58b9de--)(_0x12132f=_0xc6f4f2[_0x58b9de])&&(_0x59e84e=_0x12132f(_0x59e84e)||_0x59e84e);return _0x59e84e;},Ne=(_0x32dea2,_0x103980)=>(_0x1c59a5,_0x5631d1)=>_0x103980(_0x1c59a5,_0x5631d1,_0x32dea2);let Z=class{constructor(_0x7b7d30,_0x3ea59c){const _0x29e4cb=_0x48e5bc;this[_0x29e4cb(0x126)]=_0x7b7d30,this['_transformService']=_0x3ea59c;}[_0x48e5bc(0xe7)](_0x25d13d){const _0x4aed2b=_0x48e5bc;var _0x239e51;const _0x56bd2b=this[_0x4aed2b(0x126)][_0x4aed2b(0x20c)](Y['DocSelectionManagerService']),_0x3a5426=(_0x239e51=_0x56bd2b[_0x4aed2b(0xdc)]())!=null?_0x239e51:[];if(_0x3a5426[_0x4aed2b(0x2c5)]===0x0)return;const _0x3b08bb=_0x25d13d[_0x4aed2b(0x2e5)],_0x210f9e=[{'id':_0x4aed2b(0x236),'params':{'unitId':_0x3b08bb,'actions':null,'textRanges':_0x3a5426}}],_0x3f1e4c=this['_transformService']['transformMutationsWithChangeset'](_0x25d13d,_0x210f9e);if(!m[_0x4aed2b(0xde)](_0x3f1e4c))throw _0x3f1e4c[_0x4aed2b(0x272)];const _0x34f02c=_0x3f1e4c[_0x4aed2b(0x277)][0x0][_0x4aed2b(0x26e)]['textRanges'];Array[_0x4aed2b(0x1b9)](_0x34f02c)&&_0x34f02c[_0x4aed2b(0x2c5)]&&_0x56bd2b['replaceDocRanges'](_0x34f02c,{'unitId':_0x3b08bb,'subUnitId':_0x3b08bb},!0x1);}};Z=Wt([Ne(0x0,a[_0x48e5bc(0x28c)](a['Injector'])),Ne(0x1,m['ITransformService'])],Z);var Vt=Object[_0x48e5bc(0x275)],Xt=(_0x4a7408,_0x326f5a,_0x51f675,_0x25a8ca)=>{for(var _0x59fe3d=_0x25a8ca>0x1?void 0x0:_0x25a8ca?Vt(_0x326f5a,_0x51f675):_0x326f5a,_0x3fe1e8=_0x4a7408['length']-0x1,_0x5cb419;_0x3fe1e8>=0x0;_0x3fe1e8--)(_0x5cb419=_0x4a7408[_0x3fe1e8])&&(_0x59fe3d=_0x5cb419(_0x59fe3d)||_0x59fe3d);return _0x59fe3d;},N=(_0x5b06c0,_0x299208)=>(_0x5b4312,_0x7b577f)=>_0x299208(_0x5b4312,_0x7b577f,_0x5b06c0);let Q=class extends a[_0x48e5bc(0xac)]{constructor(_0x57095a,_0x12f51b,_0x2a6ea6,_0x43f68f,_0x525403,_0xc8e780,_0x31ee57,_0x2c18eb){const _0x3cb2b8=_0x48e5bc;super(),h(this,_0x3cb2b8(0x179),new d[(_0x3cb2b8(0x16d))](u['CollaborationStatus'][_0x3cb2b8(0xba)])),(this[_0x3cb2b8(0x1a3)]=_0x57095a,this[_0x3cb2b8(0x118)]=_0x12f51b,this[_0x3cb2b8(0x243)]=_0x2a6ea6,this[_0x3cb2b8(0x155)]=_0x43f68f,this[_0x3cb2b8(0x163)]=_0x525403,this[_0x3cb2b8(0x2db)]=_0xc8e780,this[_0x3cb2b8(0x208)]=_0x31ee57,this[_0x3cb2b8(0x256)]=_0x2c18eb,this[_0x3cb2b8(0x2f3)]());}['_initEntityListener'](){const _0x27ba1d=_0x48e5bc;this[_0x27ba1d(0x173)](this['_collaborationController'][_0x27ba1d(0x1da)][_0x27ba1d(0x2fe)](_0x1dc532=>{const _0x333767=_0x27ba1d,_0x235412=this[_0x333767(0x1a3)]['docStateChange$'][_0x333767(0x2fe)](_0x516214=>{const _0x55ff1c=_0x333767;if(_0x516214==null)return;const {unitId:_0x4a94b0,redoState:_0x2c9c37,commandId:_0x3cab48}=_0x516214;if(_0x4a94b0!==_0x1dc532[_0x55ff1c(0x2e5)])return;const _0x59452f={'id':_0x3cab48,'type':a['CommandType'][_0x55ff1c(0xfa)],'params':{'unitId':_0x4a94b0,'actions':_0x2c9c37['actions'],'textRanges':null}};_0x1dc532['onLocalMutation'](_0x59452f);});if(_0x1dc532[_0x333767(0x173)](_0x235412),_0x1dc532 instanceof u[_0x333767(0x231)]){const _0x235ff2={'onTransformIME':_0x5d2539=>this[_0x333767(0x243)][_0x333767(0x2b8)](_0x5d2539),'onTransformState':_0x3479bf=>this[_0x333767(0x155)][_0x333767(0x119)](_0x3479bf),'onTransformSelections':_0x54ea47=>this['_docTransformSelectionsService']['transformSelections'](_0x54ea47),'onSyncEditingCollabCursor':_0x24df37=>this['_docSyncEditingCollabCursorService'][_0x333767(0x26b)](_0x24df37),'onTransformRemoteChangesetByIMECache':_0x17e8d4=>this[_0x333767(0x243)][_0x333767(0x1d1)](_0x17e8d4),'onTransformRemoteChangesetByStateCache':_0x572ae3=>this[_0x333767(0x155)][_0x333767(0x1d1)](_0x572ae3)};_0x1dc532[_0x333767(0x170)](_0x235ff2);}}));}};Q=Xt([N(0x0,a[_0x48e5bc(0x28c)](b[_0x48e5bc(0x273)])),N(0x1,a['Inject'](u[_0x48e5bc(0x2fd)])),N(0x2,a['Inject'](z)),N(0x3,a[_0x48e5bc(0x28c)](J)),N(0x4,a[_0x48e5bc(0x28c)](Z)),N(0x5,a[_0x48e5bc(0x28c)](Ce)),N(0x6,T['IMessageService']),N(0x7,a[_0x48e5bc(0x28c)](a['LocaleService']))],Q);var Gt=Object[_0x48e5bc(0x275)],Kt=(_0x5de873,_0x2069ca,_0x1103c5,_0x21e7f4)=>{const _0x5a59a3=_0x48e5bc;for(var _0x34890a=_0x21e7f4>0x1?void 0x0:_0x21e7f4?Gt(_0x2069ca,_0x1103c5):_0x2069ca,_0xaebe88=_0x5de873[_0x5a59a3(0x2c5)]-0x1,_0x4e5526;_0xaebe88>=0x0;_0xaebe88--)(_0x4e5526=_0x5de873[_0xaebe88])&&(_0x34890a=_0x4e5526(_0x34890a)||_0x34890a);return _0x34890a;},_e=(_0x44cc6d,_0x3ae63c)=>(_0x2e6b9a,_0x4b83e6)=>_0x3ae63c(_0x2e6b9a,_0x4b83e6,_0x44cc6d);let ge=class extends a[_0x48e5bc(0xac)]{constructor(_0x4533ed,_0x5750ec,_0x59698e){const _0x1b84d4=_0x48e5bc;super(),h(this,_0x1b84d4(0x1c2),new Map()),h(this,_0x1b84d4(0x1d7),new Map()),h(this,_0x1b84d4(0x235),!0x1),(this[_0x1b84d4(0x248)]=_0x4533ed,this[_0x1b84d4(0x21f)]=_0x5750ec,this['_revisionService']=_0x59698e);}['disableLocalCache'](){const _0x222eed=_0x48e5bc;this[_0x222eed(0x235)]=!0x0;}[_0x48e5bc(0x87)](){const _0x1f0fd7=_0x48e5bc;this[_0x1f0fd7(0x235)]=!0x1;}get[_0x48e5bc(0xfd)](){const _0x2e53fe=_0x48e5bc;return this[_0x2e53fe(0x1d7)];}['dispose'](){const _0x40b95e=_0x48e5bc;this[_0x40b95e(0xab)]()[_0x40b95e(0x2ae)](()=>super['dispose']());}async[_0x48e5bc(0x29a)](_0xcd4f9f){const _0x13eae5=_0x48e5bc;return this[_0x13eae5(0x235)]?null:this['_localStorageService'][_0x13eae5(0xc4)](u[_0x13eae5(0x114)](_0xcd4f9f));}async['saveOfflineData'](_0x110e62,_0x410858){return!!this['_localStorageService']['setItem'](_0x110e62,_0x410858);}[_0x48e5bc(0x149)](_0x455f42,_0x1944e2,_0x3e4bd4,_0x477f3f){const _0x4069e0=_0x48e5bc,_0x3ffcca=this['_revisionService']['getCurrentRevOfUnit'](_0x455f42);this[_0x4069e0(0x1c2)][_0x4069e0(0x28a)](_0x455f42,{'unitID':_0x455f42,'type':_0x1944e2,'awaitingChangeset':_0x3e4bd4,'mutations':_0x477f3f,'rev':_0x3ffcca}),this[_0x4069e0(0x1d7)][_0x4069e0(0x197)](_0x455f42)||this[_0x4069e0(0xc0)](_0x455f42);}[_0x48e5bc(0xc0)](_0x58276f){const _0x488503=_0x48e5bc,_0x5112e9=this[_0x488503(0x9a)]();_0x5112e9===0x0?this['_saveCache'](_0x58276f):this[_0x488503(0x1d7)][_0x488503(0x28a)](_0x58276f,setTimeout(()=>this['_saveCache'](_0x58276f),_0x5112e9));}[_0x48e5bc(0x9a)](){const _0x2dd672=_0x48e5bc;var _0x37978d;return(_0x37978d=this['_configService'][_0x2dd672(0x2c2)](u[_0x2dd672(0x128)]))!=null?_0x37978d:u[_0x2dd672(0x1de)];}[_0x48e5bc(0x150)](_0x388bc0){const _0x43ccae=_0x48e5bc,_0x4ec458=this[_0x43ccae(0x1d7)]['get'](_0x388bc0);return _0x4ec458!==void 0x0&&window[_0x43ccae(0x13c)](_0x4ec458),this[_0x43ccae(0x21f)][_0x43ccae(0x191)](u[_0x43ccae(0x114)](_0x388bc0),this['_cachedData'][_0x43ccae(0x20c)](_0x388bc0))[_0x43ccae(0x2ae)](()=>this[_0x43ccae(0x1d7)][_0x43ccae(0x250)](_0x388bc0));}async[_0x48e5bc(0xab)](){const _0x5ab942=_0x48e5bc,_0x27a81f=[];this[_0x5ab942(0x1d7)][_0x5ab942(0x299)]((_0x5a0409,_0x2d1791)=>{const _0x32471d=_0x5ab942;window[_0x32471d(0x13c)](_0x5a0409),_0x27a81f[_0x32471d(0x232)](this[_0x32471d(0x150)](_0x2d1791)['then'](()=>{const _0x176571=_0x32471d;this[_0x176571(0x1d7)][_0x176571(0x250)](_0x2d1791);}));}),await Promise['all'](_0x27a81f);}};ge=Kt([_e(0x0,a[_0x48e5bc(0x1ed)]),_e(0x1,a['ILocalStorageService']),_e(0x2,a[_0x48e5bc(0x28c)](m[_0x48e5bc(0x276)]))],ge);class je extends a['RxDisposable']{constructor(){const _0x270ea0=_0x48e5bc;super(),h(this,_0x270ea0(0x297)),this[_0x270ea0(0x297)]=d[_0x270ea0(0x216)](window,_0x270ea0(0x229))[_0x270ea0(0x29b)](d['takeUntil'](this['dispose$']),d[_0x270ea0(0x2f9)](0x1),d[_0x270ea0(0xfe)](void 0x0));}['setParam'](_0x2bf703,_0x50e338,_0x568364=!0x1){const _0x425ef5=_0x48e5bc,_0x27f38e=new URL(window[_0x425ef5(0x28d)]['href']);_0x27f38e[_0x425ef5(0x2f6)][_0x425ef5(0x28a)](_0x2bf703,_0x50e338),_0x568364?window[_0x425ef5(0xc6)][_0x425ef5(0x278)]('','',_0x27f38e['toString']()):window[_0x425ef5(0xc6)][_0x425ef5(0x124)]('','',_0x27f38e[_0x425ef5(0x220)]());}[_0x48e5bc(0xe3)](_0x91dae9,_0x141157=!0x1){const _0x2e46fe=_0x48e5bc,_0x178a46=new URL(window[_0x2e46fe(0x28d)][_0x2e46fe(0x188)]);_0x178a46[_0x2e46fe(0x2f6)]['delete'](_0x91dae9),_0x141157?window[_0x2e46fe(0xc6)][_0x2e46fe(0x278)]('','',_0x178a46[_0x2e46fe(0x220)]()):window[_0x2e46fe(0xc6)][_0x2e46fe(0x124)]('','',_0x178a46[_0x2e46fe(0x220)]());}['getParam'](_0xeb2ccf){const _0x52ae80=_0x48e5bc;var _0x19427f;return(_0x19427f=new URL(window[_0x52ae80(0x28d)][_0x52ae80(0x188)])[_0x52ae80(0x2f6)][_0x52ae80(0x20c)](_0xeb2ccf))!=null?_0x19427f:void 0x0;}}var qt=Object[_0x48e5bc(0x228)],zt=Object[_0x48e5bc(0x275)],Jt=(_0x114e39,_0x2923c5,_0x2d8d18)=>_0x2923c5 in _0x114e39?qt(_0x114e39,_0x2923c5,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x2d8d18}):_0x114e39[_0x2923c5]=_0x2d8d18,Zt=(_0x3ec750,_0x599279,_0x3a2000,_0x4d6425)=>{const _0x594e23=_0x48e5bc;for(var _0x148711=_0x4d6425>0x1?void 0x0:_0x4d6425?zt(_0x599279,_0x3a2000):_0x599279,_0x1fe801=_0x3ec750[_0x594e23(0x2c5)]-0x1,_0x1e7e95;_0x1fe801>=0x0;_0x1fe801--)(_0x1e7e95=_0x3ec750[_0x1fe801])&&(_0x148711=_0x1e7e95(_0x148711)||_0x148711);return _0x148711;},he=(_0xa4ae80,_0x44fc07)=>(_0xa5edc,_0x23fa6a)=>_0x44fc07(_0xa5edc,_0x23fa6a,_0xa4ae80),Qt=(_0x3a8977,_0x906031,_0x4cdc1f)=>Jt(_0x3a8977,_0x906031+'',_0x4cdc1f);const es=_0x48e5bc(0x14f);exports[_0x48e5bc(0x23a)]=class extends a[_0x48e5bc(0x289)]{constructor(_0x1afdd8=Ue,_0x4fbabf,_0x19f91d,_0x18693f){const _0x42fcf3=_0x48e5bc;super(),this[_0x42fcf3(0x183)]=_0x1afdd8,this[_0x42fcf3(0x2b4)]=_0x4fbabf,this['_injector']=_0x19f91d,this[_0x42fcf3(0x248)]=_0x18693f;const {..._0x1b202a}=a['merge']({},Ue,this[_0x42fcf3(0x183)]);this[_0x42fcf3(0x248)][_0x42fcf3(0x22d)]($t,_0x1b202a);}['onStarting'](){const _0x68b788=_0x48e5bc;this[_0x68b788(0x2d9)](),this[_0x68b788(0x105)]();}[_0x48e5bc(0x2fc)](){this['_registerRenderDependencies']();}['_registerDependencies'](){const _0x4ab756=_0x48e5bc;var _0x195dfe;const _0x11bd0b=[[me],[Z],[z],[J],[Ce],[be,{'useClass':je}],[G[_0x4ab756(0x25f)],{'useClass':G[_0x4ab756(0x8d)]}],[u[_0x4ab756(0x2ea)],{'useClass':ge}],[exports[_0x4ab756(0x1c6)]],[Q],[q],[x],[de],[exports[_0x4ab756(0x259)]]];a[_0x4ab756(0x206)](this[_0x4ab756(0x126)],a[_0x4ab756(0x1fa)](_0x11bd0b,(_0x195dfe=this[_0x4ab756(0x183)])==null?void 0x0:_0x195dfe[_0x4ab756(0x1a5)]));}[_0x48e5bc(0xb5)](){const _0x191c17=_0x48e5bc;this[_0x191c17(0x173)](this['_renderManagerService'][_0x191c17(0x1df)](a[_0x191c17(0x80)][_0x191c17(0x143)],[Ie])),this[_0x191c17(0x173)](this[_0x191c17(0x2b4)]['registerRenderModule'](a[_0x191c17(0x80)][_0x191c17(0x1f3)],[ve]));}[_0x48e5bc(0x105)](){const _0xb4337c=_0x48e5bc;a['touchDependencies'](this[_0xb4337c(0x126)],[[x],[exports[_0xb4337c(0x1c6)]],[Q],[q],[exports['CollaborationDataLoaderController']]]);}},Qt(exports[_0x48e5bc(0x23a)],_0x48e5bc(0x165),es),exports[_0x48e5bc(0x23a)]=Zt([a[_0x48e5bc(0x192)](u[_0x48e5bc(0x19e)]),he(0x1,p['IRenderManagerService']),he(0x2,a[_0x48e5bc(0x28c)](a[_0x48e5bc(0x102)])),he(0x3,a['IConfigService'])],exports[_0x48e5bc(0x23a)]);var ts=Object['getOwnPropertyDescriptor'],ss=(_0x28dc0f,_0x17bf90,_0x1b18f7,_0x228d69)=>{const _0x20c185=_0x48e5bc;for(var _0x4b11a2=_0x228d69>0x1?void 0x0:_0x228d69?ts(_0x17bf90,_0x1b18f7):_0x17bf90,_0x230c98=_0x28dc0f[_0x20c185(0x2c5)]-0x1,_0x554f2a;_0x230c98>=0x0;_0x230c98--)(_0x554f2a=_0x28dc0f[_0x230c98])&&(_0x4b11a2=_0x554f2a(_0x4b11a2)||_0x4b11a2);return _0x4b11a2;},F=(_0x18fde8,_0x296c65)=>(_0xa32b76,_0x4cfd82)=>_0x296c65(_0xa32b76,_0x4cfd82,_0x18fde8);exports[_0x48e5bc(0x175)]=class extends u[_0x48e5bc(0xad)]{constructor(_0xb516f4,_0x53ec64,_0x47e846,_0x5c34b2,_0x548ed0){super(_0xb516f4,_0x53ec64,_0x47e846,_0x5c34b2,_0x548ed0);}async['createSocket'](_0x585464){const _0x4cd59e=_0x48e5bc,_0x435cdd=await this[_0x4cd59e(0x136)](),_0x3fc6cc=this[_0x4cd59e(0x27f)](_0x585464,_0x435cdd);return this[_0x4cd59e(0x190)](_0x3fc6cc);}[_0x48e5bc(0x27f)](_0xed4d16,_0x11da4a){const _0x4fe289=_0x48e5bc,_0x5281c3=typeof window>'u'?new URL(_0xed4d16):new URL(_0xed4d16,window[_0x4fe289(0x28d)]['origin']);_0x5281c3[_0x4fe289(0x2f6)][_0x4fe289(0x28a)](_0x4fe289(0x8c),_0x11da4a);const _0xec52e1=typeof window>'u'?new URLSearchParams():new URLSearchParams(window[_0x4fe289(0x28d)][_0x4fe289(0x12f)]);return _0xec52e1['get'](_0x4fe289(0x1ab))&&_0x5281c3[_0x4fe289(0x2f6)][_0x4fe289(0x28a)](_0x4fe289(0x1ab),_0xec52e1[_0x4fe289(0x20c)](_0x4fe289(0x1ab))),_0x5281c3[_0x4fe289(0x220)]();}async[_0x48e5bc(0x136)](){const _0x19b1b5=_0x48e5bc;var _0x86835d,_0x3a2f7b,_0xd0cb5f;const _0x1634a2=this[_0x19b1b5(0x248)][_0x19b1b5(0x2c2)](u[_0x19b1b5(0x1cb)]),_0x2dae1b=(_0x86835d=_0x1634a2==null?void 0x0:_0x1634a2['wsSessionTicketUrl'])!=null?_0x86835d:u[_0x19b1b5(0xe4)];return(_0xd0cb5f=(_0x3a2f7b=(await this[_0x19b1b5(0xcf)]['get'](_0x2dae1b,{'headers':{'Content-Type':'application/json'}}))['body'])==null?void 0x0:_0x3a2f7b[_0x19b1b5(0x8e)])!=null?_0xd0cb5f:'';}},exports[_0x48e5bc(0x175)]=ss([F(0x0,a['Inject'](a['Injector'])),F(0x1,a[_0x48e5bc(0x28c)](G[_0x48e5bc(0x217)])),F(0x2,a[_0x48e5bc(0x1ed)]),F(0x3,a['ILogService']),F(0x4,m[_0x48e5bc(0xa9)])],exports[_0x48e5bc(0x175)]);const Me=0x7530,Le=_0x48e5bc(0x95);class is extends a[_0x48e5bc(0xac)]{constructor(){const _0x39574f=_0x48e5bc;super(),h(this,_0x39574f(0x285),a[_0x39574f(0x288)]()),h(this,_0x39574f(0x25b),new Set()),h(this,_0x39574f(0x1ad),new Map()),h(this,_0x39574f(0xf7),null),h(this,_0x39574f(0x290),new Map()),h(this,_0x39574f(0x2e4),new Map()),this[_0x39574f(0x1c8)]();}[_0x48e5bc(0x233)](){const _0x4d6cff=_0x48e5bc;super['dispose'](),this[_0x4d6cff(0x290)][_0x4d6cff(0x299)]((_0x298b42,_0x1c0e52)=>this[_0x4d6cff(0x1b1)](_0x1c0e52)),this[_0x4d6cff(0xf7)]&&window[_0x4d6cff(0xd1)](this['_heartbeatTimer']);}[_0x48e5bc(0x2cf)](_0x3a5f8e){const _0x25f510=_0x48e5bc;return this[_0x25f510(0x1ef)](_0x3a5f8e)[_0x25f510(0x29b)](d['distinctUntilChanged']());}['editingUnit'](_0x182d55){const _0xa67db6=_0x48e5bc;this[_0xa67db6(0x25b)]['size']===0x0&&this['_scheduleHeartbeat'](),this[_0xa67db6(0x25b)][_0xa67db6(0x151)](_0x182d55),this[_0xa67db6(0x2cd)]({'type':0x0,'memberID':this['_id'],'unitIDs':[_0x182d55],'isForwarded':!0x1});}[_0x48e5bc(0x198)](_0x57adb0){const _0x18510d=_0x48e5bc;this[_0x18510d(0x25b)][_0x18510d(0x250)](_0x57adb0),this[_0x18510d(0x25b)][_0x18510d(0x267)]===0x0&&this[_0x18510d(0xf7)]&&window[_0x18510d(0xd1)](this[_0x18510d(0xf7)]);}[_0x48e5bc(0x1c8)](){const _0x2b1cbb=_0x48e5bc;this[_0x2b1cbb(0x173)](a[_0x2b1cbb(0x26d)](d[_0x2b1cbb(0x216)](window,'storage')[_0x2b1cbb(0x2fe)](_0x4f100b=>{const _0x4e371c=_0x2b1cbb;if(_0x4f100b[_0x4e371c(0x184)]!==Le||!_0x4f100b[_0x4e371c(0x132)])return;const _0x338443=JSON[_0x4e371c(0x1c9)](_0x4f100b['newValue']);this[_0x4e371c(0x166)](_0x338443);}))),window['addEventListener'](_0x2b1cbb(0x113),()=>this[_0x2b1cbb(0x2cd)]({'type':0x1,'memberID':this[_0x2b1cbb(0x285)],'unitIDs':Array[_0x2b1cbb(0x15e)](this[_0x2b1cbb(0x25b)])}));}[_0x48e5bc(0x166)](_0x3006f2){const _0x48bbb9=_0x48e5bc;switch(_0x3006f2[_0x48bbb9(0x1ee)]){case 0x0:this[_0x48bbb9(0x11d)](_0x3006f2);break;case 0x1:this[_0x48bbb9(0x199)](_0x3006f2);break;case 0x2:this[_0x48bbb9(0xef)](_0x3006f2);break;}}[_0x48e5bc(0x11d)](_0x11d6b3){const _0x29b6c8=_0x48e5bc,{unitIDs:_0x36f70a,memberID:_0x2b7b9a,isForwarded:_0x2a176e}=_0x11d6b3;_0x36f70a['forEach'](_0x69c165=>{const _0x3ed1ba=_0x3f84;if(!_0x2a176e&&this[_0x3ed1ba(0x1ad)][_0x3ed1ba(0x197)](_0x69c165)&&this[_0x3ed1ba(0x1ef)](_0x69c165)[_0x3ed1ba(0xbb)](u[_0x3ed1ba(0x1e7)][_0x3ed1ba(0x1e2)]),!this[_0x3ed1ba(0x1ad)]['has'](_0x69c165)||!this['_unitOnClients'][_0x3ed1ba(0x20c)](_0x69c165)['has'](_0x2b7b9a)){const _0x1b55b1=this[_0x3ed1ba(0x1ad)][_0x3ed1ba(0x20c)](_0x69c165)||new Set();_0x1b55b1[_0x3ed1ba(0x151)](_0x2b7b9a),this[_0x3ed1ba(0x1ad)][_0x3ed1ba(0x28a)](_0x69c165,_0x1b55b1),this['_scheduleClearOtherTimer'](_0x2b7b9a);}}),_0x2a176e||this['_send']({'type':0x0,'memberID':this[_0x29b6c8(0x285)],'unitIDs':[...this[_0x29b6c8(0x25b)]],'isForwarded':!0x0});}[_0x48e5bc(0x177)](_0x3d1247){const _0x3c16a5=_0x48e5bc;this[_0x3c16a5(0x1b1)](_0x3d1247);const _0x9b8279=window[_0x3c16a5(0x134)](()=>{const _0x5b1ff4=_0x3c16a5;this[_0x5b1ff4(0x1ad)][_0x5b1ff4(0x299)](_0x287d3d=>{_0x287d3d['delete'](_0x3d1247);});},Me*0x2);this[_0x3c16a5(0x290)][_0x3c16a5(0x28a)](_0x3d1247,_0x9b8279);}['_removeClearOtherTimer'](_0x54f63e){const _0x134b80=_0x48e5bc;if(this[_0x134b80(0x290)]['has'](_0x54f63e)){const _0x14efeb=this['_clearOtherTimers']['get'](_0x54f63e);_0x14efeb&&window[_0x134b80(0x13c)](_0x14efeb),this[_0x134b80(0x290)][_0x134b80(0x28a)](_0x54f63e,null);}}[_0x48e5bc(0x199)](_0x2996c8){const _0x4baa25=_0x48e5bc,{memberID:_0x1c4d54,unitIDs:_0x3c84df}=_0x2996c8;_0x3c84df[_0x4baa25(0x299)](_0x448d89=>{const _0x2779fa=_0x4baa25;var _0x3bae33;const _0x12c92f=this[_0x2779fa(0x1ad)][_0x2779fa(0x20c)](_0x448d89);_0x12c92f&&(_0x12c92f[_0x2779fa(0x250)](_0x1c4d54),(_0x3bae33=this['_ensureSubject'](_0x448d89))==null||_0x3bae33[_0x2779fa(0xbb)](_0x12c92f[_0x2779fa(0x267)]===0x0?u[_0x2779fa(0x1e7)][_0x2779fa(0x145)]:u[_0x2779fa(0x1e7)]['OTHER_CLIENTS_EDITING']));}),this[_0x4baa25(0x1b1)](_0x1c4d54);}['_handleHeartbeatEvent'](_0x17f82d){const _0x5df6e1=_0x48e5bc;this[_0x5df6e1(0x177)](_0x17f82d['memberID']);}[_0x48e5bc(0x2cd)](_0x218991){const _0x1a1cba=_0x48e5bc;localStorage[_0x1a1cba(0x191)](Le,JSON[_0x1a1cba(0xd0)](_0x218991));}[_0x48e5bc(0x18a)](){const _0x2fa0e3=_0x48e5bc;this[_0x2fa0e3(0xf7)]=window[_0x2fa0e3(0x270)](()=>{const _0x21ac10=_0x2fa0e3;this[_0x21ac10(0x2cd)]({'type':0x2,'memberID':this[_0x21ac10(0x285)]});},Me);}[_0x48e5bc(0x1ef)](_0x5e4e5d){const _0x142d23=_0x48e5bc;return this[_0x142d23(0x2e4)][_0x142d23(0x197)](_0x5e4e5d)||this[_0x142d23(0x2e4)][_0x142d23(0x28a)](_0x5e4e5d,new d['BehaviorSubject'](u['UnitStatus'][_0x142d23(0x145)])),this['_unitStatus'][_0x142d23(0x20c)](_0x5e4e5d);}}var Be=(_0x5761c7=>(_0x5761c7[_0x5761c7[_0x48e5bc(0x2d4)]=0x0]=_0x48e5bc(0x2d4),_0x5761c7[_0x5761c7['OK']=0x1]='OK',_0x5761c7[_0x5761c7[_0x48e5bc(0x13b)]=0x2]=_0x48e5bc(0x13b),_0x5761c7[_0x5761c7[_0x48e5bc(0x226)]=0x3]=_0x48e5bc(0x226),_0x5761c7[_0x5761c7[_0x48e5bc(0x1f6)]=0x4]=_0x48e5bc(0x1f6),_0x5761c7[_0x5761c7[_0x48e5bc(0x1fb)]=0x5]=_0x48e5bc(0x1fb),_0x5761c7[_0x5761c7['ALREADY_EXISTS']=0x6]=_0x48e5bc(0x16c),_0x5761c7[_0x5761c7[_0x48e5bc(0x283)]=0x7]=_0x48e5bc(0x283),_0x5761c7[_0x5761c7[_0x48e5bc(0x245)]=0x8]=_0x48e5bc(0x245),_0x5761c7[_0x5761c7[_0x48e5bc(0x26c)]=0x9]=_0x48e5bc(0x26c),_0x5761c7[_0x5761c7[_0x48e5bc(0xda)]=0xa]=_0x48e5bc(0xda),_0x5761c7[_0x5761c7[_0x48e5bc(0x153)]=0x1389]=_0x48e5bc(0x153),_0x5761c7[_0x5761c7[_0x48e5bc(0x19b)]=0x1771]='SNAPSHOT_INVALID_SNAPSHOT',_0x5761c7[_0x5761c7['SNAPSHOT_HAS_BEEN_REMOVED']=0x1772]=_0x48e5bc(0x2b2),_0x5761c7[_0x5761c7[_0x48e5bc(0x1e6)]=0x1773]=_0x48e5bc(0x1e6),_0x5761c7[_0x5761c7[_0x48e5bc(0x1b6)]=0x1b59]=_0x48e5bc(0x1b6),_0x5761c7[_0x5761c7[_0x48e5bc(0x12e)]=0x1b5a]='APPLY_NON_SEQUENTIAL_REVISION',_0x5761c7[_0x5761c7[_0x48e5bc(0x182)]=0x1b5b]=_0x48e5bc(0x182),_0x5761c7[_0x5761c7['APPLY_PERMISSION_DENIED']=0x1b5c]=_0x48e5bc(0x2d2),_0x5761c7[_0x5761c7[_0x48e5bc(0x1db)]=0x1b5d]='APPLY_DUPLICATED',_0x5761c7[_0x5761c7['CONNECTOR_DATA_TOO_LARGE']=0x1f41]='CONNECTOR_DATA_TOO_LARGE',_0x5761c7[_0x5761c7[_0x48e5bc(0x137)]=0x2329]=_0x48e5bc(0x137),_0x5761c7[_0x5761c7[_0x48e5bc(0x21b)]=0x232a]=_0x48e5bc(0x21b),_0x5761c7[_0x5761c7[_0x48e5bc(0x17d)]=0x232b]=_0x48e5bc(0x17d),_0x5761c7[_0x5761c7[_0x48e5bc(0x1c0)]=0x232c]='LICENSE_EXPORT_SIZE_EXCEEDED',_0x5761c7[_0x5761c7[_0x48e5bc(0x1e1)]=0x232d]=_0x48e5bc(0x1e1),_0x5761c7[_0x5761c7[_0x48e5bc(0x2f4)]=0x2711]='YUUMI_UNABLE_LOAD_URL',_0x5761c7[_0x5761c7['YUUMI_URL_COL_OUT_OF_RANGE']=0x2712]=_0x48e5bc(0x282),_0x5761c7[_0x5761c7[_0x48e5bc(0x161)]=0x2713]=_0x48e5bc(0x161),_0x5761c7[_0x5761c7[_0x48e5bc(0x212)]=0x2714]=_0x48e5bc(0x212),_0x5761c7[_0x5761c7[_0x48e5bc(0xa2)]=0x271a]=_0x48e5bc(0xa2),_0x5761c7[_0x5761c7[_0x48e5bc(0x144)]=0x271b]=_0x48e5bc(0x144),_0x5761c7[_0x5761c7[_0x48e5bc(0x12a)]=0x271c]=_0x48e5bc(0x12a),_0x5761c7[_0x5761c7[_0x48e5bc(0x1dd)]=0x271d]=_0x48e5bc(0x1dd),_0x5761c7[_0x5761c7[_0x48e5bc(0xeb)]=0x271e]=_0x48e5bc(0xeb),_0x5761c7[_0x5761c7[_0x48e5bc(0xa1)]=0x271f]=_0x48e5bc(0xa1),_0x5761c7[_0x5761c7[_0x48e5bc(0x27a)]=0x2af9]=_0x48e5bc(0x27a),_0x5761c7[_0x5761c7[_0x48e5bc(0x1e8)]=0x2ee1]=_0x48e5bc(0x1e8),_0x5761c7[_0x5761c7[_0x48e5bc(0x193)]=0x2ee2]=_0x48e5bc(0x193),_0x5761c7[_0x5761c7[_0x48e5bc(0x2c4)]=0x2ee3]=_0x48e5bc(0x2c4),_0x5761c7[_0x5761c7[_0x48e5bc(0x131)]=0x2ee4]='USER_NOT_INVITED_CODE',_0x5761c7[_0x5761c7['INVITE_CODE_ALREADY_BOUND']=0x2ee5]='INVITE_CODE_ALREADY_BOUND',_0x5761c7[_0x5761c7[_0x48e5bc(0x93)]=0x32c9]=_0x48e5bc(0x93),_0x5761c7[_0x5761c7[_0x48e5bc(0xb1)]=0x32ca]=_0x48e5bc(0xb1),_0x5761c7[_0x5761c7['EMAIL_HAS_BEEN_BOUND']=0x32cb]=_0x48e5bc(0x1b0),_0x5761c7[_0x5761c7['UNRECOGNIZED']=-0x1]=_0x48e5bc(0xa7),_0x5761c7))(Be||{}),ns=Object[_0x48e5bc(0x275)],rs=(_0x3775df,_0x35f078,_0x50fee2,_0x1b081b)=>{const _0x5d1a3f=_0x48e5bc;for(var _0x4d1811=_0x1b081b>0x1?void 0x0:_0x1b081b?ns(_0x35f078,_0x50fee2):_0x35f078,_0x345e51=_0x3775df[_0x5d1a3f(0x2c5)]-0x1,_0x1a5ace;_0x345e51>=0x0;_0x345e51--)(_0x1a5ace=_0x3775df[_0x345e51])&&(_0x4d1811=_0x1a5ace(_0x4d1811)||_0x4d1811);return _0x4d1811;},ue=(_0xa4171d,_0xc01865)=>(_0x4bbb10,_0x4450b4)=>_0xc01865(_0x4bbb10,_0x4450b4,_0xa4171d);exports[_0x48e5bc(0x2be)]=class extends a[_0x48e5bc(0xac)]{constructor(_0x5ddab0,_0x20720e,_0x48a4e5){const _0x1a5d6d=_0x48e5bc;super(),this[_0x1a5d6d(0x176)]=_0x5ddab0,this['_httpService']=_0x20720e,this[_0x1a5d6d(0x248)]=_0x48a4e5;}async[_0x48e5bc(0x106)](_0x2e2802,_0x5fd678,_0x2094ec,..._0x20d457){const _0x36152a=_0x48e5bc;var _0x346088,_0x54df14,_0x309745,_0x45d034;const _0x5b3f5d=this[_0x36152a(0x176)]['getFocusedUnit']();if(!_0x5b3f5d)throw new Error(_0x36152a(0x2e3));const _0x3320c6=((_0x346088=this[_0x36152a(0x248)][_0x36152a(0x2c2)](u[_0x36152a(0x1ae)]))!=null?_0x346088:u['DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT'])+'/'+_0x2e2802+_0x36152a(0x263)+_0x5fd678,_0x4f38d5=new URL(window[_0x36152a(0x28d)][_0x36152a(0x188)]),_0x255c82={'scriptId':_0x2e2802,'runId':(_0x54df14=_0x4f38d5[_0x36152a(0x2f6)][_0x36152a(0x20c)](_0x36152a(0x1ab)))!=null?_0x54df14:'','function':_0x5fd678,'unitId':_0x5b3f5d[_0x36152a(0x280)](),'argsOfFunction':JSON[_0x36152a(0xd0)](_0x20d457),'invokeId':(_0x309745=_0x2094ec[_0x36152a(0x1a0)])!=null?_0x309745:'','executionId':(_0x45d034=_0x2094ec['executionId'])!=null?_0x45d034:''};try{const _0x1611d1=await this['_httpService'][_0x36152a(0x1b2)](_0x3320c6,{'body':_0x255c82});return _0x1611d1[_0x36152a(0x19d)][_0x36152a(0x272)]&&_0x1611d1[_0x36152a(0x19d)][_0x36152a(0x272)][_0x36152a(0xb8)]!==Be['OK']?'Failed':_0x1611d1['body'][_0x36152a(0x1d5)];}catch{return _0x36152a(0x185);}}},exports[_0x48e5bc(0x2be)]=rs([ue(0x0,a[_0x48e5bc(0x9f)]),ue(0x1,a[_0x48e5bc(0x28c)](G[_0x48e5bc(0x217)])),ue(0x2,a[_0x48e5bc(0x1ed)])],exports['RemoteUniscriptService']),exports[_0x48e5bc(0x123)]=xe,exports[_0x48e5bc(0x2a8)]=be,exports[_0x48e5bc(0xfc)]=Ae,exports[_0x48e5bc(0xb4)]=is,exports[_0x48e5bc(0x2a6)]=je;
1
+ 'use strict';const _0x5e93c2=_0x286c;(function(_0x42c542,_0x3f7a36){const _0x2b5e3a=_0x286c,_0x273339=_0x42c542();while(!![]){try{const _0x21be02=parseInt(_0x2b5e3a(0x251))/0x1*(-parseInt(_0x2b5e3a(0x268))/0x2)+parseInt(_0x2b5e3a(0x3a4))/0x3+parseInt(_0x2b5e3a(0x19b))/0x4+-parseInt(_0x2b5e3a(0x37c))/0x5*(parseInt(_0x2b5e3a(0x2d8))/0x6)+parseInt(_0x2b5e3a(0x1a3))/0x7*(-parseInt(_0x2b5e3a(0x384))/0x8)+parseInt(_0x2b5e3a(0x19a))/0x9*(-parseInt(_0x2b5e3a(0x35e))/0xa)+parseInt(_0x2b5e3a(0x3bf))/0xb*(parseInt(_0x2b5e3a(0x1af))/0xc);if(_0x21be02===_0x3f7a36)break;else _0x273339['push'](_0x273339['shift']());}catch(_0x4be1b9){_0x273339['push'](_0x273339['shift']());}}}(_0x2048,0x72d01));var Ve=Object[_0x5e93c2(0x2cd)],Xe=(_0x565928,_0x304d53,_0x5a0764)=>_0x304d53 in _0x565928?Ve(_0x565928,_0x304d53,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x5a0764}):_0x565928[_0x304d53]=_0x5a0764,h=(_0x1369ee,_0x307845,_0x5ab5b0)=>Xe(_0x1369ee,typeof _0x307845!=_0x5e93c2(0x29c)?_0x307845+'':_0x307845,_0x5ab5b0);Object[_0x5e93c2(0x2cd)](exports,Symbol[_0x5e93c2(0x329)],{'value':_0x5e93c2(0x405)});const u=require(_0x5e93c2(0x24a)),a=require('@univerjs/core'),p=require(_0x5e93c2(0x21d)),G=require(_0x5e93c2(0x41f)),b=require('@univerjs/docs-ui'),Ge=require(_0x5e93c2(0x1c6)),d=require(_0x5e93c2(0x2c9)),Y=require('@univerjs/docs'),m=require(_0x5e93c2(0x2e3)),Ee=require(_0x5e93c2(0x25a)),g=require(_0x5e93c2(0x1cc)),$=require(_0x5e93c2(0x425)),X=require('@univerjs/sheets-ui'),P=require(_0x5e93c2(0x3b6)),T=require(_0x5e93c2(0x30d)),D=require('@univerjs/design'),M=require(_0x5e93c2(0x358)),Ke=require(_0x5e93c2(0x32b));var qe=Object[_0x5e93c2(0x2a8)],ze=(_0x7ed59f,_0xba0fee,_0x45f002,_0x2c6ed4)=>{for(var _0x21400d=_0x2c6ed4>0x1?void 0x0:_0x2c6ed4?qe(_0xba0fee,_0x45f002):_0xba0fee,_0xce6576=_0x7ed59f['length']-0x1,_0x180208;_0xce6576>=0x0;_0xce6576--)(_0x180208=_0x7ed59f[_0xce6576])&&(_0x21400d=_0x180208(_0x21400d)||_0x21400d);return _0x21400d;},Te=(_0x30aa20,_0xe98cfd)=>(_0x175016,_0x40a131)=>_0xe98cfd(_0x175016,_0x40a131,_0x30aa20);let de=class extends a[_0x5e93c2(0x1b1)]{constructor(_0x4aff41,_0x5c24b4){const _0x253f10=_0x5e93c2;super(),this['_docClipboardService']=_0x4aff41,this['_imageIoService']=_0x5c24b4,this[_0x253f10(0x1a5)]();}[_0x5e93c2(0x1a5)](){const _0x13a023=_0x5e93c2,_0x58d714=this;this[_0x13a023(0x303)](this[_0x13a023(0x399)][_0x13a023(0x37d)]({'onBeforePasteImage':async _0x3002aa=>{const _0x30b049=_0x13a023,_0x469d49=await _0x58d714[_0x30b049(0x217)][_0x30b049(0x1a8)](_0x3002aa);return _0x469d49?{'source':_0x469d49[_0x30b049(0x1d0)],'imageSourceType':_0x469d49[_0x30b049(0x29a)]}:null;}}));}};de=ze([Te(0x0,b[_0x5e93c2(0x408)]),Te(0x1,Ge[_0x5e93c2(0x2bd)])],de);const Oe=[_0x5e93c2(0x371),_0x5e93c2(0x203),_0x5e93c2(0x31f),_0x5e93c2(0x3a9),_0x5e93c2(0x257),_0x5e93c2(0x2c7)];class me extends a['Disposable']{constructor(){const _0x4380a4=_0x5e93c2;super(...arguments),h(this,'_assignedColors',new Map()),h(this,_0x4380a4(0x411),0x0);}[_0x5e93c2(0x35a)](_0x526364){const _0x2fa829=_0x5e93c2;if(this[_0x2fa829(0x21b)][_0x2fa829(0x395)](_0x526364))return this[_0x2fa829(0x21b)]['get'](_0x526364);const _0x51c89a=Oe[this[_0x2fa829(0x411)]];return this['_colorIndex']=(this[_0x2fa829(0x411)]+0x1)%Oe[_0x2fa829(0x293)],this[_0x2fa829(0x21b)][_0x2fa829(0x3f1)](_0x526364,_0x51c89a),_0x51c89a;}}function Pe(_0x3da61b){const _0x5bd4ed=_0x5e93c2;let _0x350494='';for(const _0x2f91b6 of _0x3da61b){const {startOffset:_0x1d742b,endOffset:_0x50752b,isActive:_0x4fce27,rangeType:_0x52ff30,segmentId:_0x16ad5b,segmentPage:_0x4954f4}=_0x2f91b6;_0x350494[_0x5bd4ed(0x293)]&&(_0x350494+=','),_0x350494+=_0x1d742b+':'+_0x50752b+':'+(_0x4fce27?'1':'0')+':'+_0x52ff30+':'+_0x16ad5b+':'+_0x4954f4;}return _0x350494;}function Je(_0x220575){const _0x4a35a7=_0x5e93c2,_0xe9f93f=_0x220575[_0x4a35a7(0x243)](','),_0x123f3d=[];for(const _0x472b86 of _0xe9f93f){const [_0x5b041e,_0x10fe14,_0x33c693,_0x541722,_0x557b40,_0x204097]=_0x472b86[_0x4a35a7(0x243)](':');_0x123f3d[_0x4a35a7(0x298)]({'startOffset':Number(_0x5b041e),'endOffset':Number(_0x10fe14),'collapsed':_0x5b041e===_0x10fe14,'isActive':_0x33c693==='1','rangeType':_0x541722===a['DOC_RANGE_TYPE'][_0x4a35a7(0x40b)]?a[_0x4a35a7(0x3dd)][_0x4a35a7(0x40b)]:a[_0x4a35a7(0x3dd)][_0x4a35a7(0x332)],'segmentId':typeof _0x557b40=='string'?String(_0x557b40):'','segmentPage':Number(_0x204097!=null?_0x204097:-0x1)});}return _0x123f3d[_0x4a35a7(0x412)](_0xab0389=>_0xab0389[_0x4a35a7(0x30b)])||(_0x123f3d[0x0]['isActive']=!0x0),_0x123f3d;}class Ce extends a['RxDisposable']{constructor(){const _0x58172d=_0x5e93c2;super(...arguments),h(this,'_collabCursorState$',new d['BehaviorSubject'](null)),h(this,'collabCursorState$',this[_0x58172d(0x1a0)][_0x58172d(0x38e)]());}[_0x5e93c2(0x30c)](_0x13ba6d){const _0x7cc3a7=_0x5e93c2,{unitID:_0x47979e,memberID:_0x2923d6,textRanges:_0x530ef9}=_0x13ba6d,_0x15876f=Pe(_0x530ef9);if(_0x15876f==='')return;const _0x468166={'unitID':_0x47979e,'memberID':_0x2923d6,'selection':_0x15876f};this[_0x7cc3a7(0x1a0)][_0x7cc3a7(0x374)](_0x468166);}}var Ze=Object[_0x5e93c2(0x2a8)],Qe=(_0x2824d4,_0x384186,_0x4aa465,_0x207d0b)=>{const _0x4a721b=_0x5e93c2;for(var _0x428130=_0x207d0b>0x1?void 0x0:_0x207d0b?Ze(_0x384186,_0x4aa465):_0x384186,_0x53df28=_0x2824d4[_0x4a721b(0x293)]-0x1,_0x15599c;_0x53df28>=0x0;_0x53df28--)(_0x15599c=_0x2824d4[_0x53df28])&&(_0x428130=_0x15599c(_0x428130)||_0x428130);return _0x428130;},L=(_0x263d57,_0x24da99)=>(_0x16d892,_0x30eeac)=>_0x24da99(_0x16d892,_0x30eeac,_0x263d57);const et=0x12c,tt=0x64;let fe=class extends a[_0x5e93c2(0x1b1)]{constructor(_0x1606e8,_0xaeba90,_0xa3bea3,_0x6eaa18,_0x3ac4bb,_0x3581a5,_0x1bd1b8,_0x212637,_0x2c4203){const _0x11bf8a=_0x5e93c2;super(),h(this,'_online',!0x1),h(this,'_init',!0x1),h(this,_0x11bf8a(0x2a1),new d['BehaviorSubject'](new Map())),h(this,_0x11bf8a(0x1ca),this['_cursorInfo$']['asObservable']()),h(this,_0x11bf8a(0x263),new d[(_0x11bf8a(0x3bb))]([])),h(this,_0x11bf8a(0x296),this['_roomMembers$'][_0x11bf8a(0x3a8)](d[_0x11bf8a(0x1c5)](et))),h(this,_0x11bf8a(0x3ea),a[_0x11bf8a(0x1f2)](_0x4d65a5=>{const _0x32438f=_0x11bf8a,_0x409e4e={'eventID':m[_0x32438f(0x361)]['UPDATE_CURSOR'],'data':{'unitID':this[_0x32438f(0x21a)],'memberID':this['_session']['getMemberID'](),'selection':Pe(_0x4d65a5)}};this['_session'][_0x32438f(0x31d)](_0x409e4e,this['unitID']);},tt)),(this[_0x11bf8a(0x21a)]=_0x1606e8,this[_0x11bf8a(0x3dc)]=_0xaeba90,this['_injector']=_0xa3bea3,this[_0x11bf8a(0x3af)]=_0x6eaa18,this[_0x11bf8a(0x1ae)]=_0x3ac4bb,this[_0x11bf8a(0x3d9)]=_0x3581a5,this[_0x11bf8a(0x402)]=_0x1bd1b8,this['_univerInstanceService']=_0x212637,this[_0x11bf8a(0x3cd)]=_0x2c4203);}get['cursorInfo'](){const _0x430108=_0x5e93c2;return this[_0x430108(0x2a1)][_0x430108(0x416)]();}get[_0x5e93c2(0x2d2)](){const _0x192c3a=_0x5e93c2;return this[_0x192c3a(0x263)][_0x192c3a(0x416)]();}[_0x5e93c2(0x2f0)](){const _0x5629c5=_0x5e93c2;super[_0x5629c5(0x2f0)](),this['_cursorInfo$']['next'](new Map()),this[_0x5629c5(0x2a1)]['complete'](),this['_roomMembers$']['next']([]),this[_0x5629c5(0x263)]['complete']();}[_0x5e93c2(0x340)](){const _0x2f4c33=_0x5e93c2;this[_0x2f4c33(0x1a5)]||(this[_0x2f4c33(0x1a5)]=!0x0,this[_0x2f4c33(0x3dc)]['sessionStatus$'][_0x2f4c33(0x3a8)](d[_0x2f4c33(0x301)](this['dispose$']))['subscribe'](_0x163f1c=>{const _0xdc904b=_0x2f4c33;_0x163f1c===u[_0xdc904b(0x201)][_0xdc904b(0x344)]?this[_0xdc904b(0x1fe)]():this[_0xdc904b(0x1dd)]();}),this['_session']['event$'][_0x2f4c33(0x3a8)](d[_0x2f4c33(0x301)](this[_0x2f4c33(0x333)]))[_0x2f4c33(0x369)](_0x2feeca=>{const _0x1c9f32=_0x2f4c33,_0x33116f=_0x2feeca['eventID'];_0x33116f===m[_0x1c9f32(0x361)][_0x1c9f32(0x2fd)]&&this['_onCursorUpdate'](_0x2feeca),_0x33116f===m[_0x1c9f32(0x361)][_0x1c9f32(0x35b)]&&this[_0x1c9f32(0x1c9)](_0x2feeca);}),this[_0x2f4c33(0x303)](this['_commandService'][_0x2f4c33(0x409)](_0x1a2a23=>{const _0x4fc0d8=_0x2f4c33,_0x45bc34=_0x1a2a23['params'];_0x45bc34!=null&&this[_0x4fc0d8(0x292)]&&_0x1a2a23['id']===Y[_0x4fc0d8(0x1f5)]['id']&&_0x45bc34[_0x4fc0d8(0x387)]===this[_0x4fc0d8(0x21a)]&&_0x45bc34['isEditing']===!0x1&&_0x45bc34['ranges']['length']>0x0&&this[_0x4fc0d8(0x3ea)](_0x45bc34[_0x4fc0d8(0x282)]);})),this[_0x2f4c33(0x3d9)][_0x2f4c33(0x39b)]['pipe'](d[_0x2f4c33(0x301)](this[_0x2f4c33(0x333)]))[_0x2f4c33(0x369)](_0xd3dbb2=>{const _0x477674=_0x2f4c33;if((_0xd3dbb2==null?void 0x0:_0xd3dbb2[_0x477674(0x21a)])!==this['unitID'])return;const _0x3257bd={'eventID':m[_0x477674(0x361)]['UPDATE_CURSOR'],'data':_0xd3dbb2};this['_onCursorUpdate'](_0x3257bd);}),this[_0x2f4c33(0x303)](this[_0x2f4c33(0x3cd)][_0x2f4c33(0x409)](_0x2d4bbc=>{const _0x5399cb=_0x2f4c33;if(_0x2d4bbc[_0x5399cb(0x2cc)]==null)return;const _0x3a82a7=_0x2d4bbc[_0x5399cb(0x2cc)];if(_0x2d4bbc['id']!==Y[_0x5399cb(0x1b3)]['id']||_0x3a82a7['unitId']!==this['unitID'])return;const _0x5adef9={'id':_0x5399cb(0x2c4),'params':_0x3a82a7},_0x14ec74=this[_0x5399cb(0x22e)];for(const [_0x40aecc,_0x3d244f]of _0x14ec74){const _0x20bea6={'id':_0x5399cb(0x2c4),'params':{'unitId':this['unitID'],'actions':null,'textRanges':_0x3d244f[_0x5399cb(0x282)]}},_0x10fead=this[_0x5399cb(0x402)]['transformMutation'](_0x5adef9,_0x20bea6,!0x1);if(m[_0x5399cb(0x326)](_0x10fead))throw _0x10fead[_0x5399cb(0x360)];_0x14ec74[_0x5399cb(0x3f1)](_0x40aecc,{..._0x3d244f,'ranges':_0x10fead[_0x5399cb(0x23c)]['params'][_0x5399cb(0x1c7)]});}queueMicrotask(()=>{const _0x30ab2a=_0x5399cb;this[_0x30ab2a(0x2a1)][_0x30ab2a(0x374)](_0x14ec74);});})));}['_onCursorUpdate'](_0xb88850){const _0x1b5204=_0x5e93c2;var _0x18d255,_0x2d04f5;const {memberID:_0x5d0588,selection:_0x46d7aa}=_0xb88850['data'],_0x238531=Je(_0x46d7aa),_0x158f75=(_0x2d04f5=(_0x18d255=this[_0x1b5204(0x1ae)][_0x1b5204(0x242)](this[_0x1b5204(0x21a)],_0x5d0588))==null?void 0x0:_0x18d255[_0x1b5204(0x305)])!=null?_0x2d04f5:_0x1b5204(0x343),_0x1ab77c={'color':this['_colorAssignService'][_0x1b5204(0x35a)](_0x5d0588),'name':_0x158f75,'ranges':_0x238531},_0x37fb44=this[_0x1b5204(0x22e)];_0x37fb44[_0x1b5204(0x3f1)](_0x5d0588,_0x1ab77c),this[_0x1b5204(0x2a1)]['next'](_0x37fb44);}[_0x5e93c2(0x1c9)](_0xc5ebb4){const _0xd4fb4c=_0x5e93c2,{memberID:_0x38bef5}=_0xc5ebb4[_0xd4fb4c(0x2d9)],_0x3fc9c8=this[_0xd4fb4c(0x22e)];_0x3fc9c8[_0xd4fb4c(0x334)](_0x38bef5),this[_0xd4fb4c(0x2a1)]['next'](_0x3fc9c8);}[_0x5e93c2(0x1fe)](){const _0x2de080=_0x5e93c2;var _0x4f1b78;if(this[_0x2de080(0x292)]=!0x0,((_0x4f1b78=this[_0x2de080(0x26e)][_0x2de080(0x1d3)]())==null?void 0x0:_0x4f1b78['getUnitId']())!==this[_0x2de080(0x21a)])return;const _0x479af3=this[_0x2de080(0x319)][_0x2de080(0x2a3)](Y[_0x2de080(0x2ea)])[_0x2de080(0x3b8)]();Array[_0x2de080(0x3e0)](_0x479af3)&&_0x479af3[_0x2de080(0x293)]>0x0&&this[_0x2de080(0x3ea)](_0x479af3);}[_0x5e93c2(0x1dd)](){const _0x3a14f2=_0x5e93c2;this[_0x3a14f2(0x292)]=!0x1;}};fe=Qe([L(0x2,a['Inject'](a[_0x5e93c2(0x41a)])),L(0x3,a['Inject'](me)),L(0x4,a[_0x5e93c2(0x1c0)](u[_0x5e93c2(0x35c)])),L(0x5,a['Inject'](Ce)),L(0x6,m['ITransformService']),L(0x7,a['IUniverInstanceService']),L(0x8,a['ICommandService'])],fe);var st=Object[_0x5e93c2(0x2a8)],it=(_0x4e03bb,_0xd1bc63,_0x1360ca,_0x1472cf)=>{const _0x33a4f4=_0x5e93c2;for(var _0x5744d0=_0x1472cf>0x1?void 0x0:_0x1472cf?st(_0xd1bc63,_0x1360ca):_0xd1bc63,_0x31ff27=_0x4e03bb[_0x33a4f4(0x293)]-0x1,_0x20301d;_0x31ff27>=0x0;_0x31ff27--)(_0x20301d=_0x4e03bb[_0x31ff27])&&(_0x5744d0=_0x20301d(_0x5744d0)||_0x5744d0);return _0x5744d0;},w=(_0x3365bb,_0x3cb626)=>(_0x1deb8d,_0x3c3496)=>_0x3cb626(_0x1deb8d,_0x3c3496,_0x3365bb);const nt=0x12c,rt=0x64,ot=()=>{let _0x777f97=[],_0x51df09=!0x1;return _0x482421=>{_0x777f97['push'](_0x482421),_0x51df09||(_0x51df09=!0x0,setTimeout(()=>{const _0x3010a9=_0x286c;_0x777f97[_0x3010a9(0x2a5)](_0x4042f5=>_0x4042f5()),_0x777f97=[],_0x51df09=!0x1;}));};};let Se=class extends a[_0x5e93c2(0x1b1)]{constructor(_0x184a1c,_0x387d34,_0x5218ad,_0x76b015,_0x4a66e2,_0x8a2846,_0x13bdc3,_0x16c0eb){const _0x35773e=_0x5e93c2;super(),h(this,_0x35773e(0x292),!0x1),h(this,_0x35773e(0x1a5),!0x1),h(this,_0x35773e(0x2a1),new d['BehaviorSubject'](new Map())),h(this,_0x35773e(0x1ca),this[_0x35773e(0x2a1)]['asObservable']()),h(this,_0x35773e(0x263),new d[(_0x35773e(0x3bb))]([])),h(this,_0x35773e(0x296),this[_0x35773e(0x263)][_0x35773e(0x3a8)](d[_0x35773e(0x1c5)](nt))),h(this,_0x35773e(0x3ea),a[_0x35773e(0x1f2)]((_0x5b501b,_0x3cd3aa)=>{const _0x32f6b8=_0x35773e,_0xd11884={'eventID':m[_0x32f6b8(0x361)][_0x32f6b8(0x2fd)],'data':{'unitID':this[_0x32f6b8(0x21a)],'memberID':this[_0x32f6b8(0x3dc)][_0x32f6b8(0x21e)](),'selection':Ee[_0x32f6b8(0x385)](_0x5b501b,_0x3cd3aa['range'])}};this[_0x32f6b8(0x3dc)][_0x32f6b8(0x31d)](_0xd11884,this[_0x32f6b8(0x21a)]);},rt)),(this['unitID']=_0x184a1c,this['_session']=_0x387d34,this['_injector']=_0x5218ad,this[_0x35773e(0x3af)]=_0x76b015,this[_0x35773e(0x1ae)]=_0x4a66e2,this[_0x35773e(0x26e)]=_0x8a2846,this[_0x35773e(0x3cd)]=_0x13bdc3,this['_refRangeService']=_0x16c0eb);}get['cursorInfo'](){const _0xc76a44=_0x5e93c2;return this['_cursorInfo$'][_0xc76a44(0x416)]();}get[_0x5e93c2(0x2d2)](){const _0x5b5157=_0x5e93c2;return this[_0x5b5157(0x263)]['getValue']();}[_0x5e93c2(0x2f0)](){const _0x5081e7=_0x5e93c2;super['dispose'](),this['_cursorInfo$'][_0x5081e7(0x374)](new Map()),this[_0x5081e7(0x2a1)][_0x5081e7(0x23a)](),this[_0x5081e7(0x263)][_0x5081e7(0x374)]([]),this[_0x5081e7(0x263)][_0x5081e7(0x23a)]();}[_0x5e93c2(0x340)](){const _0x40d7db=_0x5e93c2;this[_0x40d7db(0x1a5)]||(this['_init']=!0x0,this[_0x40d7db(0x3dc)][_0x40d7db(0x227)][_0x40d7db(0x3a8)](d['takeUntil'](this[_0x40d7db(0x333)]))['subscribe'](_0x5c7f29=>{const _0x2151db=_0x40d7db;_0x5c7f29===u[_0x2151db(0x201)]['ONLINE']?this[_0x2151db(0x1fe)]():this[_0x2151db(0x1dd)]();}),this[_0x40d7db(0x3dc)][_0x40d7db(0x238)]['pipe'](d[_0x40d7db(0x301)](this['dispose$']))[_0x40d7db(0x369)](_0x13af7c=>{const _0x15ace3=_0x40d7db,_0x32fc35=_0x13af7c[_0x15ace3(0x28d)];_0x32fc35===m[_0x15ace3(0x361)]['UPDATE_CURSOR']&&this[_0x15ace3(0x2d6)](_0x13af7c),_0x32fc35===m[_0x15ace3(0x361)][_0x15ace3(0x35b)]&&this[_0x15ace3(0x1c9)](_0x13af7c);}),this[_0x40d7db(0x304)](),this[_0x40d7db(0x303)](this['_commandService'][_0x40d7db(0x409)](_0x31e939=>{const _0x25ae0c=_0x40d7db;if(this['_online']&&_0x31e939['id']===g['SetSelectionsOperation']['id']&&_0x31e939[_0x25ae0c(0x2cc)][_0x25ae0c(0x387)]===this[_0x25ae0c(0x21a)]){const _0x97d229=_0x31e939[_0x25ae0c(0x2cc)];this['_updateLocalCursor'](_0x97d229[_0x25ae0c(0x349)],_0x97d229[_0x25ae0c(0x205)][0x0]);}})));}[_0x5e93c2(0x2d6)](_0x228987){const _0x50962c=_0x5e93c2;var _0x357a66,_0x4f0062;const {memberID:_0x4dcc5e,selection:_0x2fccb4}=_0x228987[_0x50962c(0x2d9)],{sheetName:_0x36f3ee,range:_0x3fb52b}=Ee['deserializeRangeWithSheet'](_0x2fccb4),_0x3c787d={'name':(_0x4f0062=(_0x357a66=this[_0x50962c(0x1ae)][_0x50962c(0x242)](this[_0x50962c(0x21a)],_0x4dcc5e))==null?void 0x0:_0x357a66['name'])!=null?_0x4f0062:_0x50962c(0x343),'range':this['_getMergeRange'](_0x36f3ee,_0x3fb52b),'sheetID':_0x36f3ee,'color':this[_0x50962c(0x3af)][_0x50962c(0x35a)](_0x4dcc5e),'selection':_0x2fccb4},_0x503bdd=this['cursorInfo'];_0x503bdd[_0x50962c(0x3f1)](_0x4dcc5e,_0x3c787d),this[_0x50962c(0x2a1)][_0x50962c(0x374)](_0x503bdd);}[_0x5e93c2(0x1c9)](_0x5b94e7){const _0x4ee887=_0x5e93c2,{memberID:_0x4ded28}=_0x5b94e7[_0x4ee887(0x2d9)],_0xc7722d=this['cursorInfo'];_0xc7722d[_0x4ee887(0x334)](_0x4ded28),this['_cursorInfo$']['next'](_0xc7722d);}[_0x5e93c2(0x2c2)](_0xe6fb82,_0x2a3383){const _0x46959a=_0x5e93c2;var _0x2c3640,_0x2e25f9;const _0xa6fe9d=(_0x2e25f9=(_0x2c3640=this[_0x46959a(0x26e)]['getUniverSheetInstance'](this[_0x46959a(0x21a)]))==null?void 0x0:_0x2c3640['getSheetBySheetId'](_0xe6fb82))==null?void 0x0:_0x2e25f9['getMergeData']();return(_0xa6fe9d==null?void 0x0:_0xa6fe9d['find'](_0x70d9a5=>a['Rectangle'][_0x46959a(0x37a)](_0x70d9a5,_0x2a3383)))||_0x2a3383;}[_0x5e93c2(0x304)](){const _0x53ad29=_0x5e93c2,_0x26dd18=new a[(_0x53ad29(0x2e4))](),_0x119b6b=ot(),_0x11232a=()=>{const _0x5ccf8e=_0x53ad29;_0x26dd18[_0x5ccf8e(0x2f0)]();const _0x4c6e23=(_0x884b9c,_0x25891f,_0x161e3b,_0x205e94)=>{const _0x7ee06b=_0x5ccf8e;let _0x83aeb2=[];switch(_0x884b9c['id']){case g[_0x7ee06b(0x1e3)][_0x7ee06b(0x280)]:{_0x83aeb2=g[_0x7ee06b(0x249)](_0x884b9c,_0x205e94);break;}case g[_0x7ee06b(0x1e3)][_0x7ee06b(0x2d4)]:{_0x83aeb2=g[_0x7ee06b(0x197)](_0x884b9c,_0x205e94);break;}case g[_0x7ee06b(0x1e3)]['InsertColCommandId']:{_0x83aeb2=g[_0x7ee06b(0x210)](_0x884b9c,_0x205e94);break;}case g[_0x7ee06b(0x1e3)][_0x7ee06b(0x198)]:{_0x83aeb2=g[_0x7ee06b(0x24f)](_0x884b9c,_0x205e94);break;}case g['EffectRefRangId'][_0x7ee06b(0x29f)]:{_0x83aeb2=g[_0x7ee06b(0x1cb)](_0x884b9c,_0x205e94);break;}case g[_0x7ee06b(0x1e3)][_0x7ee06b(0x213)]:{_0x83aeb2=g[_0x7ee06b(0x3e8)](_0x884b9c,_0x205e94);break;}case g[_0x7ee06b(0x1e3)][_0x7ee06b(0x1ee)]:{_0x83aeb2=g['handleMoveRange'](_0x884b9c,_0x205e94);break;}case g[_0x7ee06b(0x1e3)]['RemoveColCommandId']:{_0x83aeb2=g['handleIRemoveCol'](_0x884b9c,_0x205e94);break;}case g[_0x7ee06b(0x1e3)][_0x7ee06b(0x415)]:{_0x83aeb2=g[_0x7ee06b(0x3e1)](_0x884b9c,_0x205e94);break;}}const _0x131b84=g[_0x7ee06b(0x218)](_0x83aeb2,_0x205e94),_0x2c850a=this[_0x7ee06b(0x22e)]['get'](_0x25891f);if(_0x2c850a&&_0x131b84){const _0x3607a3={..._0x2c850a,'range':_0x131b84};this[_0x7ee06b(0x22e)][_0x7ee06b(0x3f1)](_0x25891f,_0x3607a3),_0x119b6b(()=>{const _0x40f8d7=_0x7ee06b,_0x332a88=this[_0x40f8d7(0x3e3)][_0x40f8d7(0x3d1)](_0x131b84,_0x524c3e=>(_0x332a88['dispose'](),_0x4c6e23(_0x524c3e,_0x25891f,_0x161e3b,_0x131b84)));_0x26dd18[_0x40f8d7(0x30a)](_0x332a88);});}return{'redos':[],'undos':[]};};this['cursorInfo']['forEach']((_0x665316,_0x2e3922)=>{const _0x18af67=_0x5ccf8e,{range:_0x16915b,sheetID:_0x22f4e6}=_0x665316,_0x3be65b=this[_0x18af67(0x3e3)][_0x18af67(0x3d1)](_0x16915b,_0x46861a=>(_0x3be65b[_0x18af67(0x2f0)](),_0x4c6e23(_0x46861a,_0x2e3922,_0x22f4e6,_0x16915b)));_0x26dd18['add'](_0x3be65b);});};this[_0x53ad29(0x303)](a[_0x53ad29(0x230)](this[_0x53ad29(0x2a1)][_0x53ad29(0x369)](()=>{_0x11232a();})));}[_0x5e93c2(0x1fe)](){const _0x5e17c6=_0x5e93c2;var _0x494cc2,_0x5908dd;if(this[_0x5e17c6(0x292)]=!0x0,((_0x494cc2=this[_0x5e17c6(0x26e)]['getFocusedUnit']())==null?void 0x0:_0x494cc2[_0x5e17c6(0x1e8)]())!==this[_0x5e17c6(0x21a)])return;const _0x337bda=(_0x5908dd=this[_0x5e17c6(0x319)][_0x5e17c6(0x2a3)](g[_0x5e17c6(0x34e)])[_0x5e17c6(0x22c)]())==null?void 0x0:_0x5908dd[0x0],_0x3972d5=this[_0x5e17c6(0x26e)]['getCurrentUnitForType'](a[_0x5e17c6(0x2ff)][_0x5e17c6(0x400)])['getActiveSheet']();_0x337bda&&_0x3972d5&&this[_0x5e17c6(0x3ea)](_0x3972d5['getSheetId'](),_0x337bda);}[_0x5e93c2(0x1dd)](){const _0x4e4c12=_0x5e93c2;this[_0x4e4c12(0x292)]=!0x1;}};Se=it([w(0x2,a['Inject'](a[_0x5e93c2(0x41a)])),w(0x3,a['Inject'](me)),w(0x4,a[_0x5e93c2(0x1c0)](u[_0x5e93c2(0x35c)])),w(0x5,a[_0x5e93c2(0x3e4)]),w(0x6,a[_0x5e93c2(0x410)]),w(0x7,a[_0x5e93c2(0x1c0)](g[_0x5e93c2(0x1bc)]))],Se);var at=Object[_0x5e93c2(0x2a8)],ct=(_0x3454c5,_0x4f4e76,_0x2dc9b1,_0x5e0e72)=>{for(var _0x28074c=_0x5e0e72>0x1?void 0x0:_0x5e0e72?at(_0x4f4e76,_0x2dc9b1):_0x4f4e76,_0x38ece4=_0x3454c5['length']-0x1,_0x1cf91b;_0x38ece4>=0x0;_0x38ece4--)(_0x1cf91b=_0x3454c5[_0x38ece4])&&(_0x28074c=_0x1cf91b(_0x28074c)||_0x28074c);return _0x28074c;},ie=(_0x442510,_0x172888)=>(_0x588b4e,_0x2eff73)=>_0x172888(_0x588b4e,_0x2eff73,_0x442510);let x=class extends a[_0x5e93c2(0x1b1)]{constructor(_0x11e620,_0x222c6c,_0x7f0211){const _0x5fb54a=_0x5e93c2;super(),h(this,_0x5fb54a(0x3b3),new Map()),h(this,_0x5fb54a(0x1fd),new d[(_0x5fb54a(0x1cd))]()),(this[_0x5fb54a(0x26e)]=_0x11e620,this['_injector']=_0x222c6c,this[_0x5fb54a(0x381)]=_0x7f0211,this[_0x5fb54a(0x1a5)]());}[_0x5e93c2(0x2f0)](){const _0x107146=_0x5e93c2;super[_0x107146(0x2f0)](),this[_0x107146(0x1fd)][_0x107146(0x23a)](),this[_0x107146(0x3b3)]['forEach'](_0x167150=>_0x167150[_0x107146(0x2f0)]());}[_0x5e93c2(0x28f)](_0x144d66){const _0x425a01=_0x5e93c2;return this[_0x425a01(0x3b3)][_0x425a01(0x395)](_0x144d66)?this['_entities'][_0x425a01(0x2a3)](_0x144d66)['cursorInfo$']:this[_0x425a01(0x1fd)]['pipe'](d[_0x425a01(0x1db)](_0x530b80=>_0x530b80[_0x425a01(0x21a)]===_0x144d66),d[_0x425a01(0x27e)](_0x468f68=>_0x468f68['cursorInfo$']));}[_0x5e93c2(0x1a5)](){const _0x4cef15=_0x5e93c2;this[_0x4cef15(0x26e)][_0x4cef15(0x40a)](a[_0x4cef15(0x2ff)][_0x4cef15(0x400)])['pipe'](d['takeUntil'](this[_0x4cef15(0x333)]))['subscribe'](async _0x3d488c=>{const _0x4b4c35=_0x4cef15,_0x41fae1=_0x3d488c[_0x4b4c35(0x1e8)](),_0x580f8c=await this[_0x4b4c35(0x1c2)](_0x41fae1);this[_0x4b4c35(0x1fd)][_0x4b4c35(0x374)](_0x580f8c),this[_0x4b4c35(0x3b3)][_0x4b4c35(0x3f1)](_0x41fae1,_0x580f8c);}),this[_0x4cef15(0x26e)][_0x4cef15(0x40a)](a[_0x4cef15(0x2ff)][_0x4cef15(0x270)])['pipe'](d['takeUntil'](this['dispose$']))[_0x4cef15(0x3a8)](d['filter'](_0x56a4e2=>!_0x56a4e2[_0x4cef15(0x1e8)]()['startsWith']('__')))[_0x4cef15(0x369)](async _0x4ba623=>{const _0x220aab=_0x4cef15,_0xa490d8=_0x4ba623['getUnitId'](),_0x586fdb=await this[_0x220aab(0x2ef)](_0xa490d8);this[_0x220aab(0x1fd)]['next'](_0x586fdb),this[_0x220aab(0x3b3)]['set'](_0xa490d8,_0x586fdb);}),d['merge'](this[_0x4cef15(0x26e)]['getTypeOfUnitDisposed$'](a['UniverInstanceType'][_0x4cef15(0x270)]),this[_0x4cef15(0x26e)][_0x4cef15(0x231)](a['UniverInstanceType'][_0x4cef15(0x400)]))[_0x4cef15(0x3a8)](d[_0x4cef15(0x301)](this['dispose$']))[_0x4cef15(0x369)](_0x3fcfbb=>{const _0x41d19e=_0x4cef15,_0x4cf9ca=_0x3fcfbb[_0x41d19e(0x1e8)](),_0x186756=this[_0x41d19e(0x3b3)][_0x41d19e(0x2a3)](_0x4cf9ca);_0x186756&&(_0x186756['dispose'](),this[_0x41d19e(0x3b3)][_0x41d19e(0x334)](_0x4cf9ca));});}async[_0x5e93c2(0x1c2)](_0x46fb1c){const _0x447fa9=_0x5e93c2,_0x595d8b=await this['_collabSessionService'][_0x447fa9(0x297)](_0x46fb1c),_0x26faeb=this[_0x447fa9(0x319)][_0x447fa9(0x33c)](Se,_0x46fb1c,_0x595d8b);return _0x26faeb[_0x447fa9(0x340)](),_0x26faeb;}async['_startDocCollabCursor'](_0x4ef6c6){const _0x52d89a=_0x5e93c2,_0x4b0723=await this[_0x52d89a(0x381)]['requireSession'](_0x4ef6c6),_0x15b77f=this[_0x52d89a(0x319)]['createInstance'](fe,_0x4ef6c6,_0x4b0723);return _0x15b77f[_0x52d89a(0x340)](),_0x15b77f;}};x=ct([ie(0x0,a[_0x5e93c2(0x3e4)]),ie(0x1,a[_0x5e93c2(0x1c0)](a[_0x5e93c2(0x41a)])),ie(0x2,a['Inject'](u[_0x5e93c2(0x1a1)]))],x);const K=0x14,Re=0xc8,ne=0x4,lt=0x5;function _t(_0x16291b,_0x1c3d58){const _0x1d220a=_0x5e93c2;let {radius:_0x5d11f5,width:_0x12564b,height:_0x1bc728}=_0x1c3d58;_0x5d11f5=_0x5d11f5!=null?_0x5d11f5:0x0,_0x12564b=_0x12564b!=null?_0x12564b:0x1e,_0x1bc728=_0x1bc728!=null?_0x1bc728:0x1e;let _0x327057=0x0,_0x310d48=0x0,_0x209b71=0x0;_0x327057=_0x310d48=_0x209b71=Math[_0x1d220a(0x3cb)](_0x5d11f5,_0x12564b/0x2,_0x1bc728/0x2),_0x16291b['beginPath'](),_0x16291b[_0x1d220a(0x362)](_0x327057,0x0),_0x16291b[_0x1d220a(0x2a0)](_0x12564b-_0x310d48,0x0),_0x16291b[_0x1d220a(0x3bd)](_0x12564b-_0x310d48,_0x310d48,_0x310d48,Math['PI']*0x3/0x2,0x0,!0x1),_0x16291b[_0x1d220a(0x2a0)](_0x12564b,_0x1bc728-_0x209b71),_0x16291b[_0x1d220a(0x3bd)](_0x12564b-_0x209b71,_0x1bc728-_0x209b71,_0x209b71,0x0,Math['PI']/0x2,!0x1),_0x16291b[_0x1d220a(0x2a0)](0x0,_0x1bc728),_0x16291b['lineTo'](0x0,_0x327057),_0x16291b['arc'](_0x327057,_0x327057,_0x327057,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x16291b['closePath'](),_0x1c3d58['fill']&&(_0x16291b[_0x1d220a(0x35f)](),_0x16291b[_0x1d220a(0x378)]=_0x1c3d58[_0x1d220a(0x41b)],_0x1c3d58[_0x1d220a(0x2b8)]===_0x1d220a(0x3d7)?_0x16291b[_0x1d220a(0x41b)](_0x1d220a(0x3d7)):_0x16291b[_0x1d220a(0x41b)](),_0x16291b[_0x1d220a(0x2ae)]());}class ee extends p[_0x5e93c2(0x3c4)]{constructor(_0x45de5f,_0x4737c5){const _0x318f31=_0x5e93c2;super(_0x45de5f,_0x4737c5),h(this,'color'),h(this,'text'),(this[_0x318f31(0x2bc)]=_0x4737c5==null?void 0x0:_0x4737c5[_0x318f31(0x2bc)],this[_0x318f31(0x275)]=_0x4737c5==null?void 0x0:_0x4737c5[_0x318f31(0x275)]);}static[_0x5e93c2(0x2a9)](_0x5a440b,_0x14d99a){const _0x3bf0b1=_0x5e93c2,{text:_0x2abb84,color:_0x50ea2f}=_0x14d99a;_0x5a440b['save'](),_0x5a440b['font']=_0x3bf0b1(0x2c6);const _0x23ce55=_0x5a440b[_0x3bf0b1(0x32a)](_0x2abb84)[_0x3bf0b1(0x3ac)],_0x2b9c5d=Math[_0x3bf0b1(0x3cb)](_0x23ce55+0x2*ne,Re);_t(_0x5a440b,{'height':K,'radius':0x4,'width':_0x2b9c5d,'fill':_0x50ea2f}),_0x5a440b[_0x3bf0b1(0x378)]=_0x3bf0b1(0x3d6);const _0x17e506=ne,_0x35f381=K-lt,_0x1e23fb=Re-0x2*ne;if(_0x23ce55>_0x1e23fb){let _0x4c635e='',_0x62476b=0x0;for(const _0xd68667 of _0x2abb84){const _0x34e57b=_0x5a440b[_0x3bf0b1(0x32a)](_0xd68667)[_0x3bf0b1(0x3ac)];if(_0x62476b+_0x34e57b<=_0x1e23fb-_0x5a440b[_0x3bf0b1(0x32a)]('...')[_0x3bf0b1(0x3ac)])_0x4c635e+=_0xd68667,_0x62476b+=_0x34e57b;else{_0x4c635e+=_0x3bf0b1(0x2e9);break;}}_0x5a440b[_0x3bf0b1(0x288)](_0x4c635e,_0x17e506,_0x35f381);}else _0x5a440b['fillText'](_0x2abb84,_0x17e506,_0x35f381);_0x5a440b[_0x3bf0b1(0x2ae)]();}[_0x5e93c2(0x236)](_0x436942){ee['drawWith'](_0x436942,this);}}const re=_0x5e93c2(0x2c3),ht=_0x5e93c2(0x25f),ut=_0x5e93c2(0x3c6),k=0x6,dt=1.5,oe=0x4,ft=1.5,St='rgba(255,\x20255,\x20255,\x200.01)';class De{constructor(_0x40ab1b,_0x5bd857,_0x142d7c,_0x1be155){const _0xeab0dc=_0x5e93c2;h(this,'_shapes',[]),h(this,_0xeab0dc(0x352),null),h(this,_0xeab0dc(0x20c),null),h(this,_0xeab0dc(0x1d1),null),h(this,_0xeab0dc(0x3aa),null),h(this,_0xeab0dc(0x2b6),null),(this[_0xeab0dc(0x3c8)]=_0x40ab1b,this[_0xeab0dc(0x376)]=_0x5bd857,this[_0xeab0dc(0x28e)]=_0x142d7c,this[_0xeab0dc(0x1e1)]=_0x1be155,this[_0xeab0dc(0x260)]());}set[_0x5e93c2(0x354)](_0xd9093d){const _0x204cf7=_0x5e93c2;_0xd9093d?(this[_0x204cf7(0x1d1)]&&this[_0x204cf7(0x1d1)][_0x204cf7(0x308)](),this[_0x204cf7(0x20c)]&&this['_textBubble'][_0x204cf7(0x1a2)]()):(this[_0x204cf7(0x1d1)]&&this['_anchorDot'][_0x204cf7(0x1a2)](),this[_0x204cf7(0x20c)]&&this[_0x204cf7(0x20c)][_0x204cf7(0x308)]());}[_0x5e93c2(0x2f0)](){const _0x1d0415=_0x5e93c2;for(const _0x2cda31 of this['_shapes'])_0x2cda31[_0x1d0415(0x2f0)]();this[_0x1d0415(0x20c)]&&this[_0x1d0415(0x20c)][_0x1d0415(0x2f0)](),this[_0x1d0415(0x1d1)]&&this['_anchorDot'][_0x1d0415(0x2f0)](),this[_0x1d0415(0x352)]&&this['_anchor']['dispose'](),this[_0x1d0415(0x2b6)]&&this[_0x1d0415(0x2b6)]();}[_0x5e93c2(0x260)](){const _0x4964b8=_0x5e93c2;var _0x20d6dd;const {_docSkeleton:_0x2d344d,_document:_0x131bc0}=this,{color:_0x7d1352,name:_0x54bb8b,ranges:_0x22bd97}=this[_0x4964b8(0x3c8)],_0x431194=_0x131bc0['getOffsetConfig'](),{docsLeft:_0x16c949,docsTop:_0x32402b}=_0x431194,_0x1f614e=new b[(_0x4964b8(0x313))](_0x431194,_0x2d344d);for(const {startOffset:_0x50e771,endOffset:_0x36a39b,rangeType:_0x415e94,segmentId:_0x1d3c82,segmentPage:_0x313ac3,collapsed:_0x573974,isActive:_0x323728}of _0x22bd97){const _0x11244f=_0x2d344d[_0x4964b8(0x35d)](_0x50e771,!0x0,_0x1d3c82,_0x313ac3);let _0x5e7d30=_0x2d344d[_0x4964b8(0x35d)](_0x36a39b,!0x0,_0x1d3c82,_0x313ac3);if(_0x5e7d30==null&&(_0x5e7d30=_0x2d344d[_0x4964b8(0x35d)](_0x36a39b-0x1,!0x1,_0x1d3c82,_0x313ac3)),_0x323728){const {contentBoxPointGroup:_0x2421db}=_0x1f614e[_0x4964b8(0x1be)](_0x5e7d30,_0x5e7d30);if(_0x2421db[_0x4964b8(0x293)]===0x0)continue;this[_0x4964b8(0x3f2)](_0x7d1352,_0x2421db,_0x16c949,_0x32402b,_0x54bb8b),this[_0x4964b8(0x2b6)]=this[_0x4964b8(0x341)]();}if(_0x11244f&&_0x5e7d30){if(_0x415e94===a[_0x4964b8(0x3dd)][_0x4964b8(0x332)]){const _0xd5feec=new b[(_0x4964b8(0x3b1))](_0x431194,_0x2d344d),{pointGroup:_0x5667}=(_0x20d6dd=_0xd5feec[_0x4964b8(0x1be)](_0x11244f,_0x5e7d30))!=null?_0x20d6dd:{};if(_0x5667==null||_0x5667[_0x4964b8(0x293)]===0x0)continue;this[_0x4964b8(0x31e)](_0x7d1352,_0x5667,_0x16c949,_0x32402b);}else{if(!_0x573974){const {borderBoxPointGroup:_0x517a27}=_0x1f614e[_0x4964b8(0x1be)](_0x11244f,_0x5e7d30);if(_0x517a27[_0x4964b8(0x293)]===0x0)continue;this['_drawTextRange'](_0x7d1352,_0x517a27,_0x16c949,_0x32402b);}}}}}[_0x5e93c2(0x3f2)](_0x1cea32,_0x5ec4f9,_0x120545,_0x29555e,_0x206497){const _0x42d5cc=_0x5e93c2,_0x270890=this[_0x42d5cc(0x302)](_0x5ec4f9),{left:_0xedf67b,top:_0x42e14c,height:_0x4aeca6}=_0x270890,_0x3f6ce9=this[_0x42d5cc(0x3ad)](),_0x1e82ec=ft/_0x3f6ce9,_0x547a70=new p[(_0x42d5cc(0x417))](re+a[_0x42d5cc(0x19d)][_0x42d5cc(0x398)](k),{'left':_0xedf67b+_0x120545-_0x1e82ec,'top':_0x42e14c+_0x29555e,'height':_0x4aeca6,'width':dt,'fill':_0x1cea32||p[_0x42d5cc(0x1c1)](a['COLORS'][_0x42d5cc(0x348)],0x0),'strokeWidth':_0x1e82ec,'stroke':St,'evented':!0x0});this['_anchor']=_0x547a70,this[_0x42d5cc(0x376)][_0x42d5cc(0x252)](_0x547a70,b[_0x42d5cc(0x1a9)]);const _0x36e5a9=new p[(_0x42d5cc(0x417))](re+a[_0x42d5cc(0x19d)][_0x42d5cc(0x398)](k),{'left':_0xedf67b+_0x120545-_0x1e82ec,'top':_0x42e14c+_0x29555e-oe/0x2,'height':oe,'width':oe,'fill':_0x1cea32||p[_0x42d5cc(0x1c1)](a['COLORS'][_0x42d5cc(0x348)],0x0),'strokeWidth':0x0,'stroke':_0x1cea32||p[_0x42d5cc(0x1c1)](a['COLORS'][_0x42d5cc(0x348)],0x0),'evented':!0x1});this[_0x42d5cc(0x1d1)]=_0x36e5a9,this[_0x42d5cc(0x376)][_0x42d5cc(0x252)](_0x36e5a9,b[_0x42d5cc(0x1a9)]);const _0x2b01af=new ee(re+a[_0x42d5cc(0x19d)][_0x42d5cc(0x398)](k),{'left':_0xedf67b+_0x120545-_0x1e82ec,'top':_0x42e14c+_0x29555e-K,'text':_0x206497,'color':_0x1cea32});this[_0x42d5cc(0x20c)]=_0x2b01af,this['_scene'][_0x42d5cc(0x252)](_0x2b01af,b[_0x42d5cc(0x1a9)]),this[_0x42d5cc(0x354)]=!0x1;}[_0x5e93c2(0x341)](){const _0x5128c5=_0x5e93c2,_0x2de4ef=this[_0x5128c5(0x352)][_0x5128c5(0x347)][_0x5128c5(0x390)](()=>{const _0x417071=_0x5128c5;this[_0x417071(0x354)]=!0x0;}),_0x44626d=this[_0x5128c5(0x352)]['onPointerLeave$']['subscribeEvent'](()=>{const _0x1f82b7=_0x5128c5;this['_hideTimer']&&clearTimeout(this['_hideTimer']),this[_0x1f82b7(0x3aa)]=setTimeout(()=>{const _0x43d93b=_0x1f82b7;this[_0x43d93b(0x354)]=!0x1;},0x7d0);});return()=>{const _0x32786d=_0x5128c5;_0x2de4ef[_0x32786d(0x421)](),_0x44626d['unsubscribe']();};}[_0x5e93c2(0x258)](_0x575e4c,_0x3d55e6,_0x2fa8e9,_0x162545){const _0x27f969=_0x5e93c2,_0x3d5069=new a['ColorKit'](_0x575e4c)[_0x27f969(0x1ff)](0.2)[_0x27f969(0x2b7)](),_0x42c700=new p['RegularPolygon'](ht+a[_0x27f969(0x19d)][_0x27f969(0x398)](k),{'pointsGroup':_0x3d55e6,'fill':_0x3d5069||p[_0x27f969(0x1c1)](a[_0x27f969(0x204)][_0x27f969(0x348)],0.2),'left':_0x2fa8e9,'top':_0x162545,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x27f969(0x1b2)]['push'](_0x42c700),this[_0x27f969(0x376)][_0x27f969(0x252)](_0x42c700,b[_0x27f969(0x1a9)]);}[_0x5e93c2(0x31e)](_0x455a00,_0x3288cf,_0x5a9210,_0x4e118f){const _0x39a20b=_0x5e93c2,_0x4fdc02=new a[(_0x39a20b(0x3b2))](_0x455a00)[_0x39a20b(0x1ff)](0.2)[_0x39a20b(0x2b7)](),_0x245a08=new p[(_0x39a20b(0x3b4))](ut+a[_0x39a20b(0x19d)][_0x39a20b(0x398)](k),{'pointsGroup':_0x3288cf,'fill':_0x4fdc02||p[_0x39a20b(0x1c1)](a[_0x39a20b(0x204)][_0x39a20b(0x348)],0.2),'left':_0x5a9210,'top':_0x4e118f,'evented':!0x1,'debounceParentDirty':!0x1});this['_shapes'][_0x39a20b(0x298)](_0x245a08),this[_0x39a20b(0x376)][_0x39a20b(0x252)](_0x245a08,b[_0x39a20b(0x1a9)]);}['_getAnchorBounding'](_0xd14b2){const _0x1a99f4=_0xd14b2[0x0],_0x4ce1ce=_0x1a99f4[0x0],_0x41f235=_0x1a99f4[0x2],{x:_0x36d412,y:_0x5467f6}=_0x4ce1ce,{x:_0x55e8c3,y:_0x34f3fc}=_0x41f235;return{'left':_0x36d412,'top':_0x5467f6,'width':_0x55e8c3-_0x36d412,'height':_0x34f3fc-_0x5467f6};}[_0x5e93c2(0x3ad)](){const _0x1ac42d=_0x5e93c2,{scaleX:_0x2b4c77,scaleY:_0x73a0b6}=this[_0x1ac42d(0x376)][_0x1ac42d(0x3f3)]();return Math[_0x1ac42d(0x29d)](_0x2b4c77,_0x73a0b6);}}var It=Object[_0x5e93c2(0x2a8)],vt=(_0x396458,_0x23700e,_0x52dea1,_0x110b28)=>{const _0x3d060c=_0x5e93c2;for(var _0x3ccf6c=_0x110b28>0x1?void 0x0:_0x110b28?It(_0x23700e,_0x52dea1):_0x23700e,_0x3ce15c=_0x396458[_0x3d060c(0x293)]-0x1,_0x2fbd23;_0x3ce15c>=0x0;_0x3ce15c--)(_0x2fbd23=_0x396458[_0x3ce15c])&&(_0x3ccf6c=_0x2fbd23(_0x3ccf6c)||_0x3ccf6c);return _0x3ccf6c;},W=(_0x102453,_0x273042)=>(_0x3778ff,_0x375041)=>_0x273042(_0x3778ff,_0x375041,_0x102453);let Ie=class extends a[_0x5e93c2(0x1b1)]{constructor(_0x281610,_0x5eed6b,_0x404378,_0x3d2949,_0x29cb0d){const _0x1e0b5c=_0x5e93c2;super(),h(this,_0x1e0b5c(0x26d),[]),h(this,_0x1e0b5c(0x3f6),[]),(this[_0x1e0b5c(0x401)]=_0x281610,this['_docSkeletonManagerService']=_0x5eed6b,this[_0x1e0b5c(0x316)]=_0x404378,this['_commandService']=_0x3d2949,this['_themeService']=_0x29cb0d,this[_0x1e0b5c(0x1a5)]());}['_init'](){const _0x5eb971=_0x5e93c2,_0x108b37=this[_0x5eb971(0x401)][_0x5eb971(0x387)],_0xead9d=this['_docSkeletonManagerService'];this['disposeWithMe'](d['combineLatest']([this['_collabCursorController']['getCollabCursors$'](_0x108b37),this['_themeService'][_0x5eb971(0x3a0)]])['pipe']($[_0x5eb971(0x1e7)](([_0x38b0b5,_0x371a9d])=>({'skeleton':_0xead9d['getSkeleton'](),'cursors':[..._0x38b0b5[_0x5eb971(0x21f)]()][_0x5eb971(0x2ba)](_0x3ed37c=>({..._0x3ed37c,'color':this[_0x5eb971(0x36a)]['getColorFromTheme'](_0x3ed37c[_0x5eb971(0x2bc)])}))})))[_0x5eb971(0x369)](_0x1a590a=>{const _0x11e862=_0x5eb971;if(this[_0x11e862(0x422)](),_0x1a590a){const {skeleton:_0x4a9f3,cursors:_0x4c01d3}=_0x1a590a;this[_0x11e862(0x3da)](_0x4a9f3,_0x4c01d3);}})),this['_initResize'](),this['_initCommandExecutedListener']();}[_0x5e93c2(0x3da)](_0x4f31fd,_0x2d6711){const _0x57cd5b=_0x5e93c2,{scene:_0x160969,mainComponent:_0x123703}=this['_context'],_0x5bb429=_0x2d6711['map'](_0x2c8abb=>new De(_0x2c8abb,_0x160969,_0x4f31fd,_0x123703));this[_0x57cd5b(0x26d)]=_0x5bb429,this[_0x57cd5b(0x3f6)]=_0x2d6711;}[_0x5e93c2(0x403)](){const _0x4f2e78=_0x5e93c2;this['_removeCollabCursors']();const {scene:_0x404172,mainComponent:_0x73816d}=this[_0x4f2e78(0x401)],_0x486941=this[_0x4f2e78(0x355)][_0x4f2e78(0x273)](),_0x389785=this[_0x4f2e78(0x3f6)][_0x4f2e78(0x1e7)](_0x5d1f67=>new De(_0x5d1f67,_0x404172,_0x486941,_0x73816d));this[_0x4f2e78(0x26d)]=_0x389785;}[_0x5e93c2(0x422)](){const _0xf1bc32=_0x5e93c2;this[_0xf1bc32(0x26d)][_0xf1bc32(0x2a5)](_0x4c986a=>_0x4c986a[_0xf1bc32(0x2f0)]()),this['_cursorShapes']=[];}[_0x5e93c2(0x25c)](){const _0x20c9d8=_0x5e93c2,_0x1e3320=[b[_0x20c9d8(0x38b)]['id']];this['disposeWithMe'](this['_commandService'][_0x20c9d8(0x409)](_0x585549=>{const _0x1b85f0=_0x20c9d8;_0x1e3320[_0x1b85f0(0x314)](_0x585549['id'])&&_0x585549[_0x1b85f0(0x2cc)][_0x1b85f0(0x387)]===this['_context'][_0x1b85f0(0x387)]&&this[_0x1b85f0(0x403)]();}));}['_initResize'](){const _0x590db4=_0x5e93c2;this[_0x590db4(0x303)](a['fromEventSubject'](this[_0x590db4(0x401)][_0x590db4(0x3e5)][_0x590db4(0x3e2)])[_0x590db4(0x3a8)]($['filter'](_0x200e84=>_0x200e84[_0x590db4(0x295)]===p['TRANSFORM_CHANGE_OBSERVABLE_TYPE'][_0x590db4(0x3f8)]),$[_0x590db4(0x3c7)](0x10))[_0x590db4(0x369)](()=>{const _0x56cb72=_0x590db4;this[_0x56cb72(0x403)]();}));}};Ie=vt([W(0x1,a[_0x5e93c2(0x1c0)](Y[_0x5e93c2(0x24d)])),W(0x2,a['Inject'](x)),W(0x3,a[_0x5e93c2(0x410)]),W(0x4,a[_0x5e93c2(0x1c0)](a[_0x5e93c2(0x291)]))],Ie);const gt=0x1,mt=1.5;class Ae extends p['Shape']{constructor(_0x59bc6c,_0x4bb918){const _0x2c64a9=_0x5e93c2;super(_0x59bc6c,_0x4bb918),h(this,_0x2c64a9(0x320)),h(this,_0x2c64a9(0x1ed),!0x1),h(this,_0x2c64a9(0x1fa)),h(this,_0x2c64a9(0x394),''),h(this,_0x2c64a9(0x2f8),'top'),h(this,'_backgroundColor'),(_0x4bb918&&this['setShapeProps'](_0x4bb918),this['onPointerEnter$'][_0x2c64a9(0x390)](()=>this[_0x2c64a9(0x1f4)]({'hovered':!0x0})),this[_0x2c64a9(0x1ec)][_0x2c64a9(0x390)](()=>this[_0x2c64a9(0x1f4)]({'hovered':!0x1})));}['setShapeProps'](_0x3f03e2){const _0x38fdc2=_0x5e93c2;var _0x291898,_0x24b356,_0x28465b,_0x22aa26,_0x576011,_0x5d4cd0;this[_0x38fdc2(0x320)]=(_0x291898=_0x3f03e2[_0x38fdc2(0x2bc)])!=null?_0x291898:this[_0x38fdc2(0x320)],this[_0x38fdc2(0x1ed)]=(_0x24b356=_0x3f03e2['hovered'])!=null?_0x24b356:this[_0x38fdc2(0x1ed)],this[_0x38fdc2(0x1fa)]=(_0x28465b=_0x3f03e2[_0x38fdc2(0x2cf)])!=null?_0x28465b:this[_0x38fdc2(0x1fa)],this['_name']=(_0x22aa26=_0x3f03e2[_0x38fdc2(0x305)])!=null?_0x22aa26:this[_0x38fdc2(0x394)],this['_labelPosition']=(_0x576011=_0x3f03e2[_0x38fdc2(0x3ca)])!=null?_0x576011:this['_labelPosition'],this[_0x38fdc2(0x1f6)]=(_0x5d4cd0=_0x3f03e2[_0x38fdc2(0x20a)])!=null?_0x5d4cd0:this[_0x38fdc2(0x1f6)],this[_0x38fdc2(0x41c)]({'width':_0x3f03e2[_0x38fdc2(0x3ac)],'height':_0x3f03e2[_0x38fdc2(0x3ab)]});}['onMouseMove'](_0x3478c2){const _0x533a74=_0x5e93c2,{row:_0x4c9b93,column:_0x434317}=_0x3478c2;if(_0x4c9b93>=this[_0x533a74(0x1fa)][_0x533a74(0x25e)]&&_0x4c9b93<=this[_0x533a74(0x1fa)][_0x533a74(0x39c)]&&_0x434317>=this[_0x533a74(0x1fa)][_0x533a74(0x244)]&&_0x434317<=this[_0x533a74(0x1fa)][_0x533a74(0x1d2)]){this[_0x533a74(0x1f4)]({'hovered':!0x0});return;}this[_0x533a74(0x1f4)]({'hovered':!0x1});}[_0x5e93c2(0x254)](_0x33199c){return!0x1;}['_draw'](_0x455593){const _0x142610=_0x5e93c2;p[_0x142610(0x417)]['drawWith'](_0x455593,{'width':this[_0x142610(0x3ac)],'height':this[_0x142610(0x3ab)],'strokeWidth':mt,'stroke':this['_color'],'evented':!0x1,'fill':this[_0x142610(0x1f6)]}),this[_0x142610(0x1ed)]&&(_0x455593['save'](),_0x455593[_0x142610(0x2ac)](0x1,0x0,0x0,0x1,this[_0x142610(0x3ac)],this[_0x142610(0x2f8)]===_0x142610(0x207)?0x0:-0x14),ee[_0x142610(0x2a9)](_0x455593,{'text':this[_0x142610(0x394)],'color':this[_0x142610(0x320)]}),_0x455593[_0x142610(0x2ae)]());}}var Ct=Object['getOwnPropertyDescriptor'],pt=(_0x1ff117,_0x246c81,_0x164e80,_0x1080a0)=>{for(var _0x3d3a94=_0x1080a0>0x1?void 0x0:_0x1080a0?Ct(_0x246c81,_0x164e80):_0x246c81,_0x366d20=_0x1ff117['length']-0x1,_0x434842;_0x366d20>=0x0;_0x366d20--)(_0x434842=_0x1ff117[_0x366d20])&&(_0x3d3a94=_0x434842(_0x3d3a94)||_0x3d3a94);return _0x3d3a94;},ae=(_0x67e80,_0x4cb89b)=>(_0x1e0137,_0x31d1aa)=>_0x4cb89b(_0x1e0137,_0x31d1aa,_0x67e80);const bt=0x1389;let ve=class extends a[_0x5e93c2(0x1b1)]{constructor(_0x1902ba,_0x201267,_0x86bac1,_0x331331){const _0x4e132a=_0x5e93c2;super(),h(this,_0x4e132a(0x3f6),new Set()),h(this,'_lastPointer',null),(this[_0x4e132a(0x401)]=_0x1902ba,this[_0x4e132a(0x2f7)]=_0x201267,this[_0x4e132a(0x316)]=_0x86bac1,this[_0x4e132a(0x36a)]=_0x331331,this[_0x4e132a(0x1a5)]());}['_init'](){const _0x4a5807=_0x5e93c2;this[_0x4a5807(0x2f7)][_0x4a5807(0x2de)][_0x4a5807(0x3a8)]($[_0x4a5807(0x301)](this[_0x4a5807(0x333)]),$[_0x4a5807(0x27e)](_0x57305a=>{const _0x36de42=_0x4a5807;if(_0x57305a){const _0x4a2582=_0x57305a[_0x36de42(0x367)];return d['combineLatest'](this['_collabCursorController'][_0x36de42(0x28f)](this[_0x36de42(0x401)][_0x36de42(0x387)]),this['_themeService'][_0x36de42(0x3a0)])['pipe']($[_0x36de42(0x1e7)](([_0x3f8cb0,_0x32485a])=>{const _0x5bf372=new Map();return _0x3f8cb0['forEach']((_0x3e8550,_0x9c9952)=>{const _0x3707ab=_0x286c;if(_0x3e8550[_0x3707ab(0x3a7)]===_0x4a2582){const _0x41f27b={..._0x3e8550};_0x41f27b[_0x3707ab(0x2bc)]=this[_0x3707ab(0x36a)][_0x3707ab(0x36f)](_0x3e8550[_0x3707ab(0x2bc)]),_0x5bf372[_0x3707ab(0x3f1)](_0x9c9952,_0x41f27b);}}),{'skeleton':_0x57305a,'cursors':_0x5bf372};}));}return d['of']({'skeleton':null,'cursors':new Map()});}))[_0x4a5807(0x369)](({skeleton:_0x128940,cursors:_0x20fdb9})=>{const _0x56ef0d=_0x4a5807;this[_0x56ef0d(0x422)](),_0x128940&&this[_0x56ef0d(0x3da)](_0x128940,_0x20fdb9);}),this[_0x4a5807(0x2f7)][_0x4a5807(0x2de)][_0x4a5807(0x369)](_0x4ce842=>{const _0x468056=_0x4a5807;if(_0x4ce842==null)return;const {skeleton:_0x27b25d}=_0x4ce842,{scene:_0x2c705f}=this[_0x468056(0x401)];_0x2c705f[_0x468056(0x2bf)][_0x468056(0x390)](a['debounce'](_0x8d6e20=>{const _0x19fe21=_0x468056;var _0x5a7c1a,_0x3f49bb;const {offsetX:_0x2ed6ac,offsetY:_0x53bd76}=_0x8d6e20,{x:_0x1b1cc5,y:_0x13280b}=_0x2c705f[_0x19fe21(0x3a6)](p[_0x19fe21(0x2e1)][_0x19fe21(0x219)]([_0x2ed6ac,_0x53bd76])),{scaleX:_0x1df499,scaleY:_0x1ce4da}=_0x2c705f[_0x19fe21(0x3f3)](),_0x4a311a=_0x2c705f['getViewport'](p[_0x19fe21(0x32f)]['VIEW_MAIN']),_0x131ebd=_0x2c705f['getVpScrollXYInfoByPosToVp'](p[_0x19fe21(0x2e1)][_0x19fe21(0x219)]([_0x1b1cc5,_0x13280b]),_0x4a311a),_0x30064f=_0x27b25d['getCellPositionByOffset'](_0x2ed6ac,_0x53bd76,_0x1df499,_0x1ce4da,_0x131ebd);((_0x5a7c1a=this['_lastPointer'])==null?void 0x0:_0x5a7c1a['column'])===_0x30064f[_0x19fe21(0x1fb)]&&((_0x3f49bb=this[_0x19fe21(0x389)])==null?void 0x0:_0x3f49bb['row'])===_0x30064f[_0x19fe21(0x3cc)]||this[_0x19fe21(0x3f6)][_0x19fe21(0x2a5)](_0x23ac81=>{const _0x16d835=_0x19fe21;_0x23ac81[_0x16d835(0x284)](_0x30064f);});},0x64));});}[_0x5e93c2(0x3da)](_0x3d25c6,_0x11b6a7){const _0x40f08b=_0x5e93c2;var _0x37d009;const _0x12bcac=(_0x37d009=this['_sheetSkeletonManagerService'][_0x40f08b(0x2ab)]())==null?void 0x0:_0x37d009[_0x40f08b(0x3eb)];if(!_0x12bcac)return;const _0x5c21cd=this[_0x40f08b(0x34a)]();if(!_0x5c21cd)return;this[_0x40f08b(0x3f6)][_0x40f08b(0x2a5)](_0x2143f4=>{const _0x3cfff2=_0x40f08b;_0x2143f4[_0x3cfff2(0x289)]();});const {scene:_0x32effa}=_0x5c21cd,_0x33c980=Et(Array[_0x40f08b(0x23e)](_0x11b6a7[_0x40f08b(0x21f)]()))['map'](_0x5dadef=>{const _0xfb3479=_0x40f08b,{color:_0x5569f8,range:_0x7a537e,name:_0x4d91fe,selection:_0x341a7d,sheetID:_0x8cfce5}=_0x5dadef,{startColumn:_0x357dc9,startRow:_0x31616b,endColumn:_0x5c1bdf,endRow:_0x3ebb03}=_0x7a537e,_0x3c36e7=X['getCoordByCell'](_0x31616b,_0x357dc9,_0x32effa,_0x12bcac),_0x5fd070=X['getCoordByCell'](_0x3ebb03,_0x5c1bdf,_0x32effa,_0x12bcac),{columnHeaderHeightAndMarginTop:_0xa2d8cf}=_0x12bcac,{startX:_0x1112ec,startY:_0x4cc9d5}=_0x3c36e7,{endX:_0x143907,endY:_0x352915}=_0x5fd070,_0x49957e=_0x143907-_0x1112ec,_0x95993=_0x352915-_0x4cc9d5,_0x1f2526={'labelPosition':_0x4cc9d5-_0xa2d8cf>=K?_0xfb3479(0x418):_0xfb3479(0x207),'sheetID':_0x8cfce5,'range':_0x7a537e,'color':_0x5569f8,'name':_0x4d91fe,'selection':_0x341a7d,'left':_0x1112ec,'top':_0x4cc9d5,'width':_0x49957e,'height':_0x95993,'evented':!0x1,'zIndex':bt};return new Ae(_0x4d91fe,_0x1f2526);});_0x32effa['addObjects'](_0x33c980,gt),this[_0x40f08b(0x3f6)]=new Set(_0x33c980);}[_0x5e93c2(0x422)](){const _0x3064b5=_0x5e93c2;var _0x56036d;(_0x56036d=this[_0x3064b5(0x3f6)])==null||_0x56036d['forEach'](_0x2dfb32=>_0x2dfb32['dispose']());}[_0x5e93c2(0x34a)](){const _0x42f700=_0x5e93c2;return X[_0x42f700(0x1d8)](this[_0x42f700(0x401)][_0x42f700(0x3ba)],this[_0x42f700(0x401)]);}};ve=pt([ae(0x1,a[_0x5e93c2(0x1c0)](X[_0x5e93c2(0x271)])),ae(0x2,a[_0x5e93c2(0x1c0)](x)),ae(0x3,a[_0x5e93c2(0x1c0)](a[_0x5e93c2(0x291)]))],ve);function Et(_0x272694){const _0x2cffd5=_0x5e93c2,_0x40ae10=new Map();return _0x272694[_0x2cffd5(0x2a5)](_0x5453f7=>{const _0x16c09e=_0x2cffd5;if(_0x40ae10[_0x16c09e(0x395)](_0x5453f7[_0x16c09e(0x267)])){const _0xb2524e=_0x40ae10[_0x16c09e(0x2a3)](_0x5453f7[_0x16c09e(0x267)]);_0xb2524e[_0x16c09e(0x305)]+=',\x20'+_0x5453f7['name'];}else _0x40ae10['set'](_0x5453f7[_0x16c09e(0x267)],_0x5453f7);}),Array['from'](_0x40ae10[_0x2cffd5(0x21f)]());}var E=function(){const _0x3f8321=_0x5e93c2;return E=Object[_0x3f8321(0x331)]||function(_0x336afe){const _0x2b1cd9=_0x3f8321;for(var _0x14dd43,_0x773d17=0x1,_0x49c5b1=arguments[_0x2b1cd9(0x293)];_0x773d17<_0x49c5b1;_0x773d17++){_0x14dd43=arguments[_0x773d17];for(var _0x4c37bf in _0x14dd43)Object[_0x2b1cd9(0x388)][_0x2b1cd9(0x1b4)][_0x2b1cd9(0x31a)](_0x14dd43,_0x4c37bf)&&(_0x336afe[_0x4c37bf]=_0x14dd43[_0x4c37bf]);}return _0x336afe;},E['apply'](this,arguments);},Tt=function(_0x5cb230,_0x3ce33c){const _0x1c836a=_0x5e93c2;var _0x4a41db={};for(var _0x1377db in _0x5cb230)Object[_0x1c836a(0x388)][_0x1c836a(0x1b4)][_0x1c836a(0x31a)](_0x5cb230,_0x1377db)&&_0x3ce33c['indexOf'](_0x1377db)<0x0&&(_0x4a41db[_0x1377db]=_0x5cb230[_0x1377db]);if(_0x5cb230!=null&&typeof Object[_0x1c836a(0x3f9)]=='function'){for(var _0x5d3e9b=0x0,_0x1377db=Object[_0x1c836a(0x3f9)](_0x5cb230);_0x5d3e9b<_0x1377db[_0x1c836a(0x293)];_0x5d3e9b++)_0x3ce33c[_0x1c836a(0x2c1)](_0x1377db[_0x5d3e9b])<0x0&&Object[_0x1c836a(0x388)][_0x1c836a(0x1e6)]['call'](_0x5cb230,_0x1377db[_0x5d3e9b])&&(_0x4a41db[_0x1377db[_0x5d3e9b]]=_0x5cb230[_0x1377db[_0x5d3e9b]]);}return _0x4a41db;},pe=M[_0x5e93c2(0x33f)](function(_0x33ef4a,_0x51ddf7){const _0x4d615f=_0x5e93c2;var _0x11c678=_0x33ef4a[_0x4d615f(0x2f4)],_0x4e3673=_0x33ef4a['id'],_0x4d5a92=_0x33ef4a[_0x4d615f(0x3ce)],_0x98102a=_0x33ef4a[_0x4d615f(0x328)],_0x7ab911=Tt(_0x33ef4a,[_0x4d615f(0x2f4),'id',_0x4d615f(0x3ce),_0x4d615f(0x328)]),_0x4e39da=_0x4d615f(0x3e7)['concat'](_0x4e3673,'\x20')[_0x4d615f(0x38a)](_0x4d5a92||'')['trim'](),_0x36d205=M['useRef']('_'['concat'](Dt()));return we(_0x11c678,''[_0x4d615f(0x38a)](_0x4e3673),{'defIds':_0x11c678[_0x4d615f(0x3df)],'idSuffix':_0x36d205[_0x4d615f(0x299)]},E({'ref':_0x51ddf7,'className':_0x4e39da},_0x7ab911),_0x98102a);});function we(_0x382d9e,_0x5f1083,_0x5e55e,_0x30a2b2,_0x5313ae){const _0x533f5d=_0x5e93c2;return M[_0x533f5d(0x1cf)](_0x382d9e[_0x533f5d(0x2fc)],E(E({'key':_0x5f1083},Ot(_0x382d9e,_0x5e55e,_0x5313ae)),_0x30a2b2),(Rt(_0x382d9e,_0x5e55e)[_0x533f5d(0x1d6)]||[])[_0x533f5d(0x1e7)](function(_0x2fe021,_0x26519f){const _0x9251b6=_0x533f5d;return we(_0x2fe021,''[_0x9251b6(0x38a)](_0x5f1083,'-')[_0x9251b6(0x38a)](_0x382d9e[_0x9251b6(0x2fc)],'-')[_0x9251b6(0x38a)](_0x26519f),_0x5e55e,void 0x0,_0x5313ae);}));}function Ot(_0x21c4e7,_0x5295cc,_0xad33a2){const _0x1bf52d=_0x5e93c2;var _0x31f20b=E({},_0x21c4e7[_0x1bf52d(0x3a5)]);_0xad33a2!=null&&_0xad33a2[_0x1bf52d(0x346)]&&_0x31f20b[_0x1bf52d(0x41b)]===_0x1bf52d(0x346)&&(_0x31f20b['fill']=_0xad33a2[_0x1bf52d(0x346)]),_0x21c4e7[_0x1bf52d(0x2fc)]==='mask'&&_0x31f20b['id']&&(_0x31f20b['id']=_0x31f20b['id']+_0x5295cc[_0x1bf52d(0x1b7)]),Object[_0x1bf52d(0x3d5)](_0x31f20b)[_0x1bf52d(0x2a5)](function(_0x34235e){const _0x49cebd=_0x1bf52d;var _0x2aec45=_0x34235e[0x0],_0x2d327f=_0x34235e[0x1];_0x2aec45===_0x49cebd(0x1b8)&&typeof _0x2d327f=='string'&&(_0x31f20b[_0x2aec45]=_0x2d327f['replace'](/url\(#(.*)\)/,_0x49cebd(0x279)[_0x49cebd(0x38a)](_0x5295cc[_0x49cebd(0x1b7)],')')));});var _0xe94c9b=_0x5295cc[_0x1bf52d(0x3df)];return!_0xe94c9b||_0xe94c9b[_0x1bf52d(0x293)]===0x0||(_0x21c4e7[_0x1bf52d(0x2fc)]===_0x1bf52d(0x3ec)&&_0x31f20b[_0x1bf52d(0x1bb)]&&(_0x31f20b[_0x1bf52d(0x1bb)]=_0x31f20b[_0x1bf52d(0x1bb)]+_0x5295cc[_0x1bf52d(0x1b7)]),Object[_0x1bf52d(0x3d5)](_0x31f20b)[_0x1bf52d(0x2a5)](function(_0xa999c4){const _0x45fc14=_0x1bf52d;var _0x2b3b9b=_0xa999c4[0x0],_0x3e9df5=_0xa999c4[0x1];typeof _0x3e9df5==_0x45fc14(0x397)&&(_0x31f20b[_0x2b3b9b]=_0x3e9df5[_0x45fc14(0x3ee)](/url\(#(.*)\)/,_0x45fc14(0x279)[_0x45fc14(0x38a)](_0x5295cc['idSuffix'],')')));})),_0x31f20b;}function Rt(_0x1a73f0,_0x589a37){const _0x382f17=_0x5e93c2;var _0x5699f3,_0x3dd26e=_0x589a37['defIds'];return!_0x3dd26e||_0x3dd26e[_0x382f17(0x293)]===0x0?_0x1a73f0:_0x1a73f0[_0x382f17(0x2fc)]===_0x382f17(0x40d)&&(!((_0x5699f3=_0x1a73f0[_0x382f17(0x1d6)])===null||_0x5699f3===void 0x0)&&_0x5699f3[_0x382f17(0x293)])?E(E({},_0x1a73f0),{'children':_0x1a73f0[_0x382f17(0x1d6)][_0x382f17(0x1e7)](function(_0x36c64e){const _0x55e2c0=_0x382f17;return typeof _0x36c64e[_0x55e2c0(0x3a5)]['id']=='string'&&_0x3dd26e&&_0x3dd26e[_0x55e2c0(0x2c1)](_0x36c64e['attrs']['id'])>-0x1?E(E({},_0x36c64e),{'attrs':E(E({},_0x36c64e['attrs']),{'id':_0x36c64e['attrs']['id']+_0x589a37['idSuffix']})}):_0x36c64e;})}):_0x1a73f0;}function Dt(){const _0x10de4a=_0x5e93c2;return Math[_0x10de4a(0x2f3)]()[_0x10de4a(0x1e2)](0x24)['substring'](0x2,0x8);}function _0x2048(){const _0x4761aa=['CLOSE_ROOM','event$','subunit','complete','IConfigService','m2Prime','enableLocalCache','from','runOnServer','session.connection-failed','DependentOn','getMember','split','startColumn','Warning','_setupSubUnitSync','_heartbeatTimer','CollaborationController','handleDeleteRangeMoveLeft','@univerjs-pro/collaboration-client','getConfig','_send','DocSkeletonManagerService','origin','handleInsertRangeMoveDown','uni.network.url-service','8GouBPa','addObject','collabStatus.fetchMiss','triggerDblclick','UniverCollaborationClientUIPlugin','CollaborationUIEventService','blue.400','_drawTextRange','deepClone','@univerjs/engine-formula','body','_initCommandExecutedListener','collaboration.single-unit.warning','startRow','collab-text-range-','_render','Plugin','OTHER_CLIENTS_EDITING','_roomMembers$','AWAITING','APPLY_DUPLICATED','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','selection','3776SDEJwk','m1Prime','round','ITransformService','WebBrowserSingleActiveUnitService','_cursorShapes','_univerInstanceService','on-line-single','UNIVER_DOC','SheetSkeletonManagerService','jsxs','getSkeleton','off-line-single','text','connectInjector','currentColor','_handleHeartbeatEvent','url(#$1','APPLY_REVISION_CONFILICT','addEventListener','ENSURE_SNAPSHOT_EXECUTION','div','switchMap','getActiveSheet','DeleteRangeMoveLeftCommandId','DocStateChangeManagerService','ranges','_localCacheService','onMouseMove','disableLocalCache','HEADER_MENU','svg','fillText','makeDirty','newValue','FETCH_MISS','getStateCache','eventID','_docSkeleton','getCollabCursors$','merge','ThemeService','_online','length','activeSheet$','type','roomMembers$','requireSession','push','current','imageSourceType','transformMutation','symbol','max','0\x200\x2016\x2016','InsertRangeMoveRightCommandId','lineTo','_cursorInfo$','IMessageService','get','OnLineSingle','forEach','COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY','SUBMIT_CHANGESET_TIMEOUT','getOwnPropertyDescriptor','drawWith','getActiveRange','getCurrent','transform','YUUMI_NO_CUBOID_FOR_QUESTION','restore','getUnitStatus$','mergeOverrideWithDependencies','collaboration-client-ui.config','with','_handleEvent','location','LocaleService','_eventUnsubscribe','toRgbString','fillRule','then','flatMap','DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','color','IImageIoService','_configService','onPointerMove$','APPLY_NON_SEQUENTIAL_REVISION','indexOf','_getMergeRange','collab-text-anchor-','doc.mutation.rich-text-editing','ILocalCacheService','bold\x2013px\x20Source\x20Han\x20Sans\x20CN','yellow.400','_initDependencies','rxjs','LOGIN_FAILED','_messageService','params','defineProperty','_initStatusComponent','range','_updateSubUnitFromURLParams','ILocalStorageService','roomMembers','LICENSE_DISTRO_REJECTED','DeleteRangeMoveUpCommandId','YUUMI_ALL_TABLES_IS_INVALID','_onCursorUpdate','sessionTicket','6EESBGG','data','_initEntityListener','exhaustSavingTask','_uiPartsService','CommandType','currentSkeleton$','TOO_MANY_REQUESTS','MUTATION','Vector2','UNAUTHENTICATED','@univerjs-pro/collaboration','DisposableCollection','[CollaborationDataLoaderController]','COMPLETION_FINISHED','INVITE_CODE_ALREADY_BOUND','PERMISSION_DENIED','...','DocSelectionManagerService','_ensureSubject','SheetCollabCursorShape','IRemoteInstanceService','none','_startDocCollabCursor','dispose','OFFLINE','ALREADY_EXISTS','random','icon','_handleLeaveEvent','_scheduleClearOtherTimer','_sheetSkeletonManagerService','_labelPosition','useObservable','touchDependencies','pushState','tag','UPDATE_CURSOR','DocCollaborationEntity','UniverInstanceType','getParam','takeUntil','_getAnchorBounding','disposeWithMe','_onRefRangeChange','name','LICENSE_IMPORT_SIZE_EXCEEDED','LOCAL_CACHE_INTERVAL','hide','_removeClearOtherTimer','add','isActive','syncEditingCollabCursor','@univerjs/ui','transformMutationsWithChangeset','Workbook','APPLY_PERMISSION_DENIED','Optional','YUUMI_AI_RUN_FAILED','NodePositionConvertToCursor','includes','CollaborationStatusDisplay','_collabCursorController','No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.','_collaborationController','_injector','call','replaceState','_config','send','_drawRectRange','green.600','_color','_localStorageService','url(#off-line-single_clip0_910_343)','UNIVER_COLLABORATION_CLIENT_WEB_PLUGIN','ACTIVE_UNIT_EVENT_CHANNEL','Tooltip','isTransformMutationFailure','getLocalCacheKey','extend','toStringTag','measureText','@univerjs/rpc','setConfig','OffLineSingle','1em','SHEET_VIEWPORT_KEY','YUUMI_ASYNCIO_CANCELLED','assign','RECT','dispose$','delete','CollaborationSocketService','MessageType','CollaborationDataLoaderController','pluginName','UniverCollaborationClientPlugin','Disposable','editingUnit','createInstance','_getSaveTimeout','0\x200\x2017\x2016','forwardRef','init','_handleHover','OTHER_CLIENT_EDITING','Unknown\x20user','ONLINE','_scheduleSaving','colorChannel1','onPointerEnter$','black','subUnitId','_getSheetObject','on-line-single_clip0_910_349','registerComponent','onRendered','SheetsSelectionsService','reconnect','getUnhiddenWorksheets','mutations','_anchor','urlChange$','_hover','_docSkeletonManagerService','_selfUnitIDs','PENDING','react','CollaborationUIEventId','assignAColorForMemberID','USERS_LEAVE','MemberService','findNodePositionByCharIndex','1700430pKFLIZ','save','error','CollaborationEvent','moveTo','session.will-retry','saveTaskMap','getUndoRedoMutationParamsCache','APPLY_REJECT','sheetId','_createSocketURL','subscribe','_themeService','_getSessionTicket','off-line-single_clip0_910_343','post','clipPath','getColorFromTheme','debug','purple.300','BrowserCollaborationSocketService','/run/','next','YUUMI_URL_COL_OUT_OF_RANGE','_scene','M0\x200H16V16H0z','fillStyle','path','contains','runId','349780VVvWOT','addClipboardHook','INTERNAL_ERROR','setParam','replaceDocRanges','_collabSessionService','HTTPService','whenReady','5448488FbhkNv','serializeRangeWithSheet','result','unitId','prototype','_lastPointer','concat','SetDocZoomRatioOperation','Error','getRenderById','asObservable','INVITE_CODE_HAS_BEEN_UES','subscribeEvent','_beforeCloseService','ISocketService','_unitStatus','_name','has','UNRECOGNIZED','string','generateRandomId','_docClipboardService','_dataLoaderService','collabCursorState$','endRow','#fff','AWAITING_WITH_PENDING','_id','currentTheme$','distinctUntilChanged','clearInterval','searchParams','2523507KjiIlW','attrs','getRelativeToViewportCoord','sheetID','pipe','red.300','_hideTimer','height','width','_getScale','useCallback','_colorAssignService','IBeforeCloseService','NodePositionConvertToRectRange','ColorKit','_entities','RegularPolygon','focused$','react/jsx-runtime','DesktopCollaborationStatusDisplayController','getDocRanges','redoState','unit','BehaviorSubject','_collaborationUIEventService','arc','_handleJoinEvent','11geBrGE','actions','NOT_COLLAB','registerBeforeClose','setUndoRedoMutationParamsCache','Shape','updateOfflineData','collab-rect-range-','throttleTime','_cursor','wsSessionTicketUrl','labelPosition','min','row','_commandService','className','WebURLService','PY_RUNTIME_SCRIPT_ERROR','registerRefRange','addHandlerCallback','univer-text-sm\x20univer-leading-8\x20univer-text-gray-600\x20dark:!univer-text-gray-200','transformIMECache','entries','#FFF','evenodd','LICENSE_MAX_UNITS_EXCEEDED','_syncEditingCollabCursorService','_updateCollabCursors','all','_session','DOC_RANGE_TYPE','_transformUndoRedoStack','defIds','isArray','handleIRemoveRow','onTransformChange$','_refRangeService','IUniverInstanceService','engine','No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','univerjs-icon\x20univerjs-icon-','handleInsertRow','transformSelections','_updateLocalCursor','skeleton','use','WebSocketService','replace','Failed','CONNECTOR_DATA_TOO_LARGE','set','_drawAnchor','getAncestorScale','YUUMI_SUBSCRIPTION_NOT_FOUND','_scheduleHeartbeat','_cursors','_status$','resize','getOwnPropertySymbols','collab-client.tooltip.reconnect','entityInit$','docStateChange$','executeCommand','getItem','INVITE_CODE_REQUIRED','UNIVER_SHEET','_context','_transformService','_refreshCollabCursors','search','Module','_updateURLWithCurrentState','SNAPSHOT_HAS_BEEN_REMOVED','IDocClipboardService','onCommandExecuted','getTypeOfUnitAdded$','TEXT','setStateCache','defs','RevisionService','CHANGESET_REVISION_CONFILICT','ICommandService','_colorIndex','some','getSheetId','LICENSE_EXPORT_SIZE_EXCEEDED','RemoveRowCommandId','getValue','Rect','top','jsx','Injector','fill','transformByState','getSheetBySheetId','_docSyncEditingCollabCursorService','@univerjs/network','USER_NOT_INVITED_CODE','unsubscribe','_removeCollabCursors','RemoteUniscriptService','NO_OTHER_CLIENTS_EDITING','rxjs/operators','isTransformMutationsWithChangesetSuccess','collabStatus.conflict','loadUnit','stringify','handleDeleteRangeMoveUp','InsertRangeMoveDownCommandId','href','36pBSEOD','1506088pYlqdM','displayName','Tools','DataLoaderService','useDependency','_collabCursorState$','CollaborationSessionService','show','7WsONHd','transformRemoteChangeset','_init','status$','_instanceService','saveImage','TEXT_RANGE_LAYER_INDEX','_logService','_docTransformIMECacheService','setActiveRange','translate(.97)','_memberService','8386500pkQkWH','size','RxDisposable','_shapes','RichTextEditingMutation','hasOwnProperty','setItem','_transformPreviousActiveRange','idSuffix','mask','SNAPSHOT_INVALID_SNAPSHOT','INVALID_INVITE_CODE','xlink:href','RefRangeService','registerRenderModule','getRangePointData','WECHAT_HAS_BEEN_BOUND','Inject','getColor','_startSheetCollabCursor','_httpService','onLocalMutation','debounceTime','@univerjs/drawing','textRanges','unshift','_onCursorDelete','cursorInfo$','handleInsertRangeMoveRight','@univerjs/sheets','Subject','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','createElement','source','_anchorDot','endColumn','getFocusedUnit','_cachedData','_transformHistoryAndStateStack','children','UNDEFINED','getSheetObject','CONFLICT','_disabled','filter','_urlService','_toggleOffline','_localeService','clearTimeout','MOBILE_HAS_BEEN_BOUND','_document','toString','EffectRefRangId','removeParam','SetWorksheetActivateCommand','propertyIsEnumerable','map','getUnitId','code','_doCreateSocket','EMAIL_HAS_BEEN_BOUND','onPointerLeave$','_hovered','MoveRangeCommandId','createIdentifier','SYNCED','_unitOnClients','debounce','JOIN_ROOM_FAILED','setShapeProps','SetTextSelectionsOperation','_backgroundColor','_saveTaskMap','_docStateChangeManagerService','disposeUnit','_range','column','popstate','_entityInit$','_toggleOnline','setAlpha','YUUMI_TABLE_NOT_FOUND_IN_UNIT','SessionStatus','UniverIcon','jiqing.500','COLORS','selections','INVALID_ARGUMENT','bottom','collaboration.closeRoom','ISnapshotServerService','backgroundColor','ticket','_textBubble','executionId','YUUMI_RATE_OVER_LIMIT','_setupBeforeClosingHandler','handleInsertCol','parse','ILogService','InsertRowCommandId','url(#on-line-single_clip0_910_349)','IRenderManagerService','_notificationService','_imageIoService','runRefRangeMutations','FromArray','unitID','_assignedColors','_docTransformSelectionsService','@univerjs/engine-render','getMemberID','values','YUUMI_UNABLE_LOAD_URL','history','IUIPartsService','_registerDependencies','_initStatusListener','_clearOtherTimers','DocIMEInputManagerService','sessionStatus$','NOT_FOUND','CollaborationStatus','_saveCache','UnitStatus','getCurrentSelections','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','cursorInfo','collabStatus.synced','toDisposable','getTypeOfUnitDisposed$','_initEvent','transformStateCache','_revisionService','_renderManagerService','_draw'];_0x2048=function(){return _0x4761aa;};return _0x2048();}pe[_0x5e93c2(0x19c)]=_0x5e93c2(0x202);var Ut={'tag':_0x5e93c2(0x287),'attrs':{'fill':'none','viewBox':_0x5e93c2(0x29e),'width':_0x5e93c2(0x32e),'height':'1em'},'children':[{'tag':'g','attrs':{'clipPath':_0x5e93c2(0x322)},'children':[{'tag':_0x5e93c2(0x379),'attrs':{'stroke':_0x5e93c2(0x277),'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':'round','strokeLinejoin':'round','strokeWidth':1.2}}]},{'tag':_0x5e93c2(0x40d),'attrs':{},'children':[{'tag':_0x5e93c2(0x36e),'attrs':{'id':'off-line-single_clip0_910_343'},'children':[{'tag':_0x5e93c2(0x379),'attrs':{'fill':_0x5e93c2(0x39d),'d':_0x5e93c2(0x377)}}]}]}],'defIds':[_0x5e93c2(0x36c)]},ye=M[_0x5e93c2(0x33f)](function(_0x2aea9f,_0x2144e6){const _0x2025ee=_0x5e93c2;return M[_0x2025ee(0x1cf)](pe,Object['assign']({},_0x2aea9f,{'id':_0x2025ee(0x274),'ref':_0x2144e6,'icon':Ut}));});ye[_0x5e93c2(0x19c)]=_0x5e93c2(0x32d);var Nt={'tag':_0x5e93c2(0x287),'attrs':{'fill':_0x5e93c2(0x2ee),'viewBox':_0x5e93c2(0x33e),'width':_0x5e93c2(0x32e),'height':_0x5e93c2(0x32e)},'children':[{'tag':'g','attrs':{'clipPath':_0x5e93c2(0x214)},'children':[{'tag':_0x5e93c2(0x379),'attrs':{'stroke':_0x5e93c2(0x277),'d':_0x5e93c2(0x22d),'strokeLinecap':'round','strokeLinejoin':_0x5e93c2(0x26a),'strokeWidth':1.2}}]},{'tag':'defs','attrs':{},'children':[{'tag':_0x5e93c2(0x36e),'attrs':{'id':_0x5e93c2(0x34b)},'children':[{'tag':_0x5e93c2(0x379),'attrs':{'fill':'#fff','d':'M0\x200H16V16H0z','transform':_0x5e93c2(0x1ad)}}]}]}],'defIds':['on-line-single_clip0_910_349']},$e=M[_0x5e93c2(0x33f)](function(_0x5e4ebf,_0x3eedbd){const _0x5e8f0a=_0x5e93c2;return M[_0x5e8f0a(0x1cf)](pe,Object['assign']({},_0x5e4ebf,{'id':_0x5e8f0a(0x26f),'ref':_0x3eedbd,'icon':Nt}));});$e[_0x5e93c2(0x19c)]=_0x5e93c2(0x2a4);function Mt(_0x429091){const _0x548d7d=_0x5e93c2;switch(_0x429091){case u['CollaborationStatus'][_0x548d7d(0x2f1)]:return'collabStatus.offline';case u[_0x548d7d(0x229)][_0x548d7d(0x1d9)]:return _0x548d7d(0x194);case u[_0x548d7d(0x229)][_0x548d7d(0x28b)]:return _0x548d7d(0x253);case u['CollaborationStatus'][_0x548d7d(0x3c1)]:return'collabStatus.notCollab';case u['CollaborationStatus'][_0x548d7d(0x264)]:case u[_0x548d7d(0x229)][_0x548d7d(0x39e)]:return'collabStatus.syncing';case u[_0x548d7d(0x229)][_0x548d7d(0x1f0)]:case u[_0x548d7d(0x229)][_0x548d7d(0x357)]:return _0x548d7d(0x22f);}}function xe(_0x36bc34){const _0x3135b=_0x5e93c2,{status$:_0x5944c4}=_0x36bc34,_0x1ec2e8=T[_0x3135b(0x2f9)](_0x5944c4,u[_0x3135b(0x229)][_0x3135b(0x3c1)]),_0x22f8a7=T[_0x3135b(0x19f)](a[_0x3135b(0x2b5)]),_0x56b596=T[_0x3135b(0x19f)](u[_0x3135b(0x1a1)]),_0x2cb888=_0x1ec2e8!==u['CollaborationStatus'][_0x3135b(0x2f1)],_0x1a266c=_0x22f8a7['t'](Mt(_0x1ec2e8)),_0x13b814=_0x2cb888?P[_0x3135b(0x419)]($e,{}):P[_0x3135b(0x419)](ye,{}),_0x4ebb95=M[_0x3135b(0x3ae)](()=>{const _0x374d17=_0x3135b;_0x2cb888||_0x56b596[_0x374d17(0x34f)]();},[_0x2cb888,_0x56b596]);function _0x4b4863(){const _0x2e101e=_0x3135b;return P[_0x2e101e(0x272)]('div',{'className':'univer-flex\x20univer-items-center','onClick':_0x4ebb95,'children':[P[_0x2e101e(0x419)](_0x2e101e(0x27d),{'className':D['clsx']('univer-flex\x20univer-mr-2\x20univer-text-xl',{'univer-text-green-500':_0x2cb888,'univer-text-red-500':!_0x2cb888}),'children':_0x13b814}),P[_0x2e101e(0x419)]('div',{'className':_0x2e101e(0x3d3),'children':_0x1a266c})]});}return _0x2cb888?_0x4b4863():P['jsx'](D[_0x3135b(0x325)],{'title':_0x22f8a7['t'](_0x3135b(0x3fa)),'children':_0x4b4863()});}var Lt=Object[_0x5e93c2(0x2a8)],Pt=(_0x13f3f4,_0x19f634,_0x17c93f,_0x91e6c0)=>{const _0xb71dcf=_0x5e93c2;for(var _0x564679=_0x91e6c0>0x1?void 0x0:_0x91e6c0?Lt(_0x19f634,_0x17c93f):_0x19f634,_0x2690ce=_0x13f3f4[_0xb71dcf(0x293)]-0x1,_0x1a9dc7;_0x2690ce>=0x0;_0x2690ce--)(_0x1a9dc7=_0x13f3f4[_0x2690ce])&&(_0x564679=_0x1a9dc7(_0x564679)||_0x564679);return _0x564679;},V=(_0x383297,_0x30c192)=>(_0x4ba33d,_0x259ee5)=>_0x30c192(_0x4ba33d,_0x259ee5,_0x383297);exports['DesktopCollaborationStatusDisplayController']=class extends a['Disposable']{constructor(_0x52123e,_0x3794d5,_0x2a95d2,_0x6d08a0){const _0x24980a=_0x5e93c2;super(),h(this,_0x24980a(0x3f7),new d['BehaviorSubject'](u[_0x24980a(0x229)][_0x24980a(0x3c1)])),(this['_univerInstanceService']=_0x52123e,this[_0x24980a(0x319)]=_0x3794d5,this[_0x24980a(0x318)]=_0x2a95d2,this[_0x24980a(0x2dc)]=_0x6d08a0,this[_0x24980a(0x2ce)](),this[_0x24980a(0x224)]());}[_0x5e93c2(0x224)](){const _0x9a8efd=_0x5e93c2;this[_0x9a8efd(0x303)](this['_univerInstanceService'][_0x9a8efd(0x3b5)][_0x9a8efd(0x3a8)](d[_0x9a8efd(0x27e)](()=>{const _0x15c367=_0x9a8efd,_0x1a0ff0=this[_0x15c367(0x26e)]['getFocusedUnit']();return _0x1a0ff0?this['_collaborationController']['getCollabEntity$'](_0x1a0ff0[_0x15c367(0x1e8)]()):d['of'](null);}),d[_0x9a8efd(0x27e)](_0x332953=>_0x332953?_0x332953[_0x9a8efd(0x1a6)]:d['of'](u[_0x9a8efd(0x229)][_0x9a8efd(0x3c1)])))[_0x9a8efd(0x369)](_0x4e3c5f=>{const _0x241fdd=_0x9a8efd;this[_0x241fdd(0x3f7)][_0x241fdd(0x374)](_0x4e3c5f);}));}['_initStatusComponent'](){const _0x179d2c=_0x5e93c2;this[_0x179d2c(0x303)](this[_0x179d2c(0x2dc)][_0x179d2c(0x34c)](T['BuiltInUIPart'][_0x179d2c(0x286)],()=>T[_0x179d2c(0x276)](At({'status$':this['_status$'][_0x179d2c(0x38e)]()}),this[_0x179d2c(0x319)])));}},exports[_0x5e93c2(0x3b7)]=Pt([V(0x0,a[_0x5e93c2(0x3e4)]),V(0x1,a[_0x5e93c2(0x1c0)](a[_0x5e93c2(0x41a)])),V(0x2,a[_0x5e93c2(0x1c0)](u[_0x5e93c2(0x248)])),V(0x3,T[_0x5e93c2(0x222)])],exports[_0x5e93c2(0x3b7)]);function At(_0x2bc61b){const {status$:_0x11fe64}=_0x2bc61b;return function(){const _0xeeb093=_0x286c;return P[_0xeeb093(0x419)](xe,{'status$':_0x11fe64});};}var wt=Object[_0x5e93c2(0x2a8)],yt=(_0xfd62e7,_0x431b3c,_0x13c107,_0x1ef92d)=>{const _0x7634f4=_0x5e93c2;for(var _0x4a2b4f=_0x1ef92d>0x1?void 0x0:_0x1ef92d?wt(_0x431b3c,_0x13c107):_0x431b3c,_0x29e4ac=_0xfd62e7[_0x7634f4(0x293)]-0x1,_0x5dbb69;_0x29e4ac>=0x0;_0x29e4ac--)(_0x5dbb69=_0xfd62e7[_0x29e4ac])&&(_0x4a2b4f=_0x5dbb69(_0x4a2b4f)||_0x4a2b4f);return _0x4a2b4f;},y=(_0x28912a,_0x3eca53)=>(_0x136c19,_0x4b1b89)=>_0x3eca53(_0x136c19,_0x4b1b89,_0x28912a);let q=class extends a[_0x5e93c2(0x33a)]{constructor(_0x213d88,_0x3fe093,_0x54e5fb,_0x4fd6f6,_0x5a8863,_0x3c32cb){const _0x237f26=_0x5e93c2;super(),this['_beforeCloseService']=_0x213d88,this[_0x237f26(0x283)]=_0x3fe093,this['_collaborationUIEventService']=_0x54e5fb,this['_messageService']=_0x4fd6f6,this[_0x237f26(0x216)]=_0x5a8863,this[_0x237f26(0x1de)]=_0x3c32cb,this['_setupBeforeClosingHandler'](),this[_0x237f26(0x232)]();}[_0x5e93c2(0x20f)](){const _0x1754ee=_0x5e93c2;this[_0x1754ee(0x303)](this[_0x1754ee(0x391)][_0x1754ee(0x3c2)](()=>{const _0xa9f51d=_0x1754ee;if(this[_0xa9f51d(0x283)][_0xa9f51d(0x364)]['size'])return this[_0xa9f51d(0x1de)]['t']('collaboration-client.offline-data-not-saved');}));}[_0x5e93c2(0x232)](){const _0x40cca3=_0x5e93c2;this[_0x40cca3(0x303)](this[_0x40cca3(0x3bc)][_0x40cca3(0x238)][_0x40cca3(0x369)](_0x2dc08b=>{const _0x35dc79=_0x40cca3;_0x2dc08b['id']===u[_0x35dc79(0x359)][_0x35dc79(0x342)]&&this['_messageService'][_0x35dc79(0x1a2)]({'type':D[_0x35dc79(0x336)][_0x35dc79(0x245)],'content':this[_0x35dc79(0x1de)]['t'](_0x35dc79(0x25d))}),_0x2dc08b['id']===u[_0x35dc79(0x359)][_0x35dc79(0x237)]&&this['_messageService'][_0x35dc79(0x1a2)]({'type':D['MessageType']['Warning'],'content':this[_0x35dc79(0x1de)]['t'](_0x35dc79(0x208))}),_0x2dc08b['id']===u[_0x35dc79(0x359)]['PERMISSION_DENIED']&&this['_notificationService'][_0x35dc79(0x1a2)]({'title':this[_0x35dc79(0x1de)]['t']('permission.title'),'content':this[_0x35dc79(0x1de)]['t']('permission.content'),'type':_0x35dc79(0x360),'duration':0x0}),_0x2dc08b['id']===u[_0x35dc79(0x359)][_0x35dc79(0x1d9)]&&this['_messageService'][_0x35dc79(0x1a2)]({'type':D['MessageType']['Error'],'content':this[_0x35dc79(0x1de)]['t'](_0x35dc79(0x208))+'('+_0x2dc08b[_0x35dc79(0x2d9)]+')'}),_0x2dc08b['id']===u['CollaborationUIEventId'][_0x35dc79(0x1f3)]&&this[_0x35dc79(0x2cb)][_0x35dc79(0x1a2)]({'type':D[_0x35dc79(0x336)]['Warning'],'content':this[_0x35dc79(0x1de)]['t'](_0x2dc08b['data']||'')}),_0x2dc08b['id']===u[_0x35dc79(0x359)]['SOCKET_FAILED_RETRY']&&this['_messageService'][_0x35dc79(0x1a2)]({'type':D[_0x35dc79(0x336)][_0x35dc79(0x245)],'content':this['_localeService']['t'](_0x35dc79(0x363))}),_0x2dc08b['id']===u['CollaborationUIEventId']['SOCKET_FAILED']&&this['_messageService'][_0x35dc79(0x1a2)]({'type':D[_0x35dc79(0x336)][_0x35dc79(0x38c)],'content':this[_0x35dc79(0x1de)]['t'](_0x35dc79(0x240))}),_0x2dc08b['id']===u[_0x35dc79(0x359)][_0x35dc79(0x2a7)]&&this['_messageService'][_0x35dc79(0x1a2)]({'type':D[_0x35dc79(0x336)][_0x35dc79(0x38c)],'content':this[_0x35dc79(0x1de)]['t']('session.collaboration-timeout')});}));}};q=yt([y(0x0,T[_0x5e93c2(0x3b0)]),y(0x1,u['ILocalCacheService']),y(0x2,a[_0x5e93c2(0x1c0)](u[_0x5e93c2(0x256)])),y(0x3,T[_0x5e93c2(0x2a2)]),y(0x4,T['INotificationService']),y(0x5,a[_0x5e93c2(0x1c0)](a[_0x5e93c2(0x2b5)]))],q);const $t=_0x5e93c2(0x2b1),Ue={},be=a[_0x5e93c2(0x1ef)](_0x5e93c2(0x250));var xt=Object[_0x5e93c2(0x2a8)],jt=(_0x5111ec,_0x47f196,_0xafffef,_0x435f9f)=>{for(var _0x499ba9=_0x435f9f>0x1?void 0x0:_0x435f9f?xt(_0x47f196,_0xafffef):_0x47f196,_0x2a73bc=_0x5111ec['length']-0x1,_0x28ab6c;_0x2a73bc>=0x0;_0x2a73bc--)(_0x28ab6c=_0x5111ec[_0x2a73bc])&&(_0x499ba9=_0x28ab6c(_0x499ba9)||_0x499ba9);return _0x499ba9;},H=(_0x5966dd,_0x1600d3)=>(_0x117675,_0xe95505)=>_0x1600d3(_0x117675,_0xe95505,_0x5966dd);exports[_0x5e93c2(0x337)]=class extends a[_0x5e93c2(0x1b1)]{constructor(_0x3bf34a,_0x3f0293,_0x40efb1,_0x17b89a,_0x5f4248){const _0x382258=_0x5e93c2;super(),this['_urlService']=_0x3bf34a,this[_0x382258(0x1aa)]=_0x3f0293,this[_0x382258(0x3cd)]=_0x40efb1,this['_dataLoaderService']=_0x17b89a,_0x5f4248?_0x5f4248==null||_0x5f4248[_0x382258(0x383)]()[_0x382258(0x2b9)](()=>this[_0x382258(0x1a5)]()):(this[_0x382258(0x1aa)][_0x382258(0x370)](_0x382258(0x2e5),_0x382258(0x317)),this[_0x382258(0x1a5)]());}async[_0x5e93c2(0x1a5)](){const _0x257cef=_0x5e93c2,_0x39703c=this[_0x257cef(0x1dc)][_0x257cef(0x300)](_0x257cef(0x3ba)),_0x25bfa2=this['_urlService']['getParam'](_0x257cef(0x295)),_0x4002cb=this[_0x257cef(0x1dc)][_0x257cef(0x300)](_0x257cef(0x239));if(!_0x39703c||!_0x25bfa2){this[_0x257cef(0x1aa)][_0x257cef(0x370)](_0x257cef(0x2e5),_0x257cef(0x3e6));return;}const _0x52f2d4=await this[_0x257cef(0x39a)][_0x257cef(0x195)](_0x39703c,Number(_0x25bfa2),_0x4002cb);_0x52f2d4&&_0x52f2d4 instanceof a[_0x257cef(0x30f)]&&this[_0x257cef(0x246)](_0x52f2d4);}async['_setupSubUnitSync'](_0x3cc3f5){const _0xc64895=_0x5e93c2;await this['_updateSubUnitFromURLParams'](_0x3cc3f5),_0x3cc3f5[_0xc64895(0x294)]['pipe'](d[_0xc64895(0x301)](this[_0xc64895(0x333)]))[_0xc64895(0x369)](_0x19494f=>{const _0x207f61=_0xc64895;_0x19494f&&this[_0x207f61(0x406)](_0x19494f);}),this[_0xc64895(0x1dc)][_0xc64895(0x353)][_0xc64895(0x3a8)](d[_0xc64895(0x301)](this['dispose$']))[_0xc64895(0x369)](()=>this[_0xc64895(0x2d0)](_0x3cc3f5));}['_updateURLWithCurrentState'](_0x99dc81,_0x5b0701=!0x1){const _0x772b7=_0x5e93c2,_0x3779f8=this[_0x772b7(0x1dc)][_0x772b7(0x300)]('subunit');_0x99dc81[_0x772b7(0x413)]()!==_0x3779f8&&this[_0x772b7(0x1dc)][_0x772b7(0x37f)]('subunit',_0x99dc81[_0x772b7(0x413)](),_0x5b0701);}async['_updateSubUnitFromURLParams'](_0x20bea7){const _0x4d5b1a=_0x5e93c2;var _0x32a029;const _0x13cb47=this[_0x4d5b1a(0x1dc)][_0x4d5b1a(0x300)]('subunit');if(!_0x13cb47||!_0x20bea7[_0x4d5b1a(0x41d)](_0x13cb47)){const _0x17d66b=_0x20bea7[_0x4d5b1a(0x350)]()[0x0],_0x29a545=_0x20bea7[_0x4d5b1a(0x41d)](_0x17d66b);if(!_0x29a545)return;this[_0x4d5b1a(0x406)](_0x29a545,!0x0),await this[_0x4d5b1a(0x3cd)][_0x4d5b1a(0x3fd)](g[_0x4d5b1a(0x1e5)]['id'],{'unitId':_0x20bea7[_0x4d5b1a(0x1e8)](),'subUnitId':_0x17d66b});return;}((_0x32a029=_0x20bea7[_0x4d5b1a(0x27f)]())==null?void 0x0:_0x32a029[_0x4d5b1a(0x413)]())!==_0x13cb47&&await this[_0x4d5b1a(0x3cd)][_0x4d5b1a(0x3fd)](g[_0x4d5b1a(0x1e5)]['id'],{'unitId':_0x20bea7[_0x4d5b1a(0x1e8)](),'subUnitId':_0x13cb47});}},exports['CollaborationDataLoaderController']=jt([H(0x0,be),H(0x1,a[_0x5e93c2(0x212)]),H(0x2,a[_0x5e93c2(0x410)]),H(0x3,a[_0x5e93c2(0x1c0)](u[_0x5e93c2(0x19e)])),H(0x4,a[_0x5e93c2(0x311)](Ke[_0x5e93c2(0x2ed)]))],exports[_0x5e93c2(0x337)]);var Bt=Object[_0x5e93c2(0x2a8)],kt=(_0x49371d,_0x1815df,_0xc0b3a3,_0x411771)=>{const _0x5aaafd=_0x5e93c2;for(var _0x486282=_0x411771>0x1?void 0x0:_0x411771?Bt(_0x1815df,_0xc0b3a3):_0x1815df,_0x12d25d=_0x49371d[_0x5aaafd(0x293)]-0x1,_0x1718a9;_0x12d25d>=0x0;_0x12d25d--)(_0x1718a9=_0x49371d[_0x12d25d])&&(_0x486282=_0x1718a9(_0x486282)||_0x486282);return _0x486282;},ce=(_0x1981b1,_0x48fdd5)=>(_0x25973c,_0x341c98)=>_0x48fdd5(_0x25973c,_0x341c98,_0x1981b1);let z=class{constructor(_0x493434,_0x53f0e0,_0x19c846){const _0x2ad8b=_0x5e93c2;this['_injector']=_0x493434,this[_0x2ad8b(0x402)]=_0x53f0e0,this[_0x2ad8b(0x235)]=_0x19c846;}['transformIMECache'](_0x5a059e){const _0x3b9ffa=_0x5e93c2;this[_0x3b9ffa(0x3de)](_0x5a059e),this[_0x3b9ffa(0x1b6)](_0x5a059e);}[_0x5e93c2(0x1a4)](_0x3ab589){const _0x2625bd=_0x5e93c2,{unitID:_0x113c55}=_0x3ab589,_0x8b1599=this[_0x2625bd(0x235)][_0x2625bd(0x38d)](_0x113c55)[_0x2625bd(0x2b2)](b[_0x2625bd(0x226)]),{redoCache:_0x4438b8}=_0x8b1599[_0x2625bd(0x365)]();if(_0x4438b8[_0x2625bd(0x293)]===0x0)return _0x3ab589;let _0x1daae6=a[_0x2625bd(0x19d)][_0x2625bd(0x259)](_0x3ab589[_0x2625bd(0x351)][0x0]);for(let _0x332023=0x0;_0x332023<_0x4438b8[_0x2625bd(0x293)];_0x332023++){const _0x57394b={'id':'doc.mutation.rich-text-editing','params':{..._0x4438b8[_0x332023]}},_0x28e156=this[_0x2625bd(0x402)][_0x2625bd(0x29b)](_0x1daae6,_0x57394b,!0x1);if(m[_0x2625bd(0x326)](_0x28e156))throw _0x28e156[_0x2625bd(0x360)];_0x1daae6=_0x28e156[_0x2625bd(0x269)];}return{...a[_0x2625bd(0x19d)][_0x2625bd(0x259)](_0x3ab589),'mutations':[_0x1daae6]};}[_0x5e93c2(0x3de)](_0x3bba54){const _0x3b1e6a=_0x5e93c2,{unitID:_0x3d4447}=_0x3bba54,_0x76407a=this[_0x3b1e6a(0x235)][_0x3b1e6a(0x38d)](_0x3d4447)[_0x3b1e6a(0x2b2)](b[_0x3b1e6a(0x226)]),{undoCache:_0x17995a,redoCache:_0x5bb96e}=_0x76407a['getUndoRedoMutationParamsCache']();if(_0x17995a['length']===0x0||_0x5bb96e['length']===0x0)return;const _0x2d730a=[],_0x59829b=[];let _0x245232=a[_0x3b1e6a(0x19d)][_0x3b1e6a(0x259)](_0x3bba54[_0x3b1e6a(0x351)][0x0]),_0x2e9b82=a['Tools'][_0x3b1e6a(0x259)](_0x3bba54[_0x3b1e6a(0x351)][0x0]);for(let _0x870098=_0x17995a[_0x3b1e6a(0x293)]-0x1;_0x870098>=0x0;_0x870098--){const _0x18efaa={'id':_0x3b1e6a(0x2c4),'params':{..._0x17995a[_0x870098]}},_0xadff8a={'id':_0x3b1e6a(0x2c4),'params':{..._0x5bb96e[_0x870098]}},_0xa42b30=this[_0x3b1e6a(0x402)]['transformMutation'](_0x245232,_0x18efaa,!0x1),_0x18913c=this[_0x3b1e6a(0x402)]['transformMutation'](_0x2e9b82,_0xadff8a,!0x1);if(m[_0x3b1e6a(0x326)](_0xa42b30))throw _0xa42b30[_0x3b1e6a(0x360)];if(m['isTransformMutationFailure'](_0x18913c))throw _0x18913c[_0x3b1e6a(0x360)];_0x2d730a['unshift'](_0xa42b30[_0x3b1e6a(0x23c)][_0x3b1e6a(0x2cc)]),_0x59829b[_0x3b1e6a(0x1c8)](_0x18913c[_0x3b1e6a(0x23c)]['params']),_0x245232=_0xa42b30[_0x3b1e6a(0x269)],_0x2e9b82=_0x18913c[_0x3b1e6a(0x269)];}_0x76407a[_0x3b1e6a(0x3c3)]({'undoCache':_0x2d730a,'redoCache':_0x59829b});}[_0x5e93c2(0x1b6)](_0xdf9739){const _0x453d86=_0x5e93c2,{unitID:_0x3c629c}=_0xdf9739,_0xb33601=this[_0x453d86(0x235)][_0x453d86(0x38d)](_0x3c629c)[_0x453d86(0x2b2)](b[_0x453d86(0x226)]),_0x349856=_0xb33601[_0x453d86(0x2aa)]();if(_0x349856==null)return;const _0x53f9bd=[{'id':_0x453d86(0x2c4),'params':{'unitId':_0xdf9739[_0x453d86(0x21a)],'actions':null,'textRanges':[_0x349856]}}],_0x268edc=this[_0x453d86(0x402)]['transformMutationsWithChangeset'](_0xdf9739,_0x53f9bd);if(!m[_0x453d86(0x193)](_0x268edc))throw _0x268edc[_0x453d86(0x360)];const _0x268685=_0x268edc[_0x453d86(0x23c)][0x0]['params'][_0x453d86(0x1c7)];Array[_0x453d86(0x3e0)](_0x268685)&&_0x268685[_0x453d86(0x293)]&&_0xb33601[_0x453d86(0x1ac)](_0x268685[0x0]);}};z=kt([ce(0x0,a[_0x5e93c2(0x1c0)](a[_0x5e93c2(0x41a)])),ce(0x1,m['ITransformService']),ce(0x2,p[_0x5e93c2(0x215)])],z);var Ht=Object[_0x5e93c2(0x2a8)],Ft=(_0x3416f5,_0x1fe4ff,_0x4716e5,_0x4a97fd)=>{const _0x52ab28=_0x5e93c2;for(var _0x4a191a=_0x4a97fd>0x1?void 0x0:_0x4a97fd?Ht(_0x1fe4ff,_0x4716e5):_0x1fe4ff,_0x359b00=_0x3416f5[_0x52ab28(0x293)]-0x1,_0x1a0d3f;_0x359b00>=0x0;_0x359b00--)(_0x1a0d3f=_0x3416f5[_0x359b00])&&(_0x4a191a=_0x1a0d3f(_0x4a191a)||_0x4a191a);return _0x4a191a;},le=(_0x3a219b,_0x41c9c8)=>(_0x3db0bd,_0x4c5a68)=>_0x41c9c8(_0x3db0bd,_0x4c5a68,_0x3a219b);let J=class{constructor(_0x152aad,_0x52c548,_0x11bb11){const _0x40f178=_0x5e93c2;this[_0x40f178(0x319)]=_0x152aad,this[_0x40f178(0x402)]=_0x52c548,this[_0x40f178(0x1f8)]=_0x11bb11;}[_0x5e93c2(0x233)](_0x585837){const _0x517643=_0x5e93c2;this[_0x517643(0x1d5)](_0x585837);}[_0x5e93c2(0x1a4)](_0x149a28){const _0x45da13=_0x5e93c2,{unitID:_0xa61712}=_0x149a28,{collaboration:_0x5e5da0}=this[_0x45da13(0x1f8)][_0x45da13(0x28c)](_0xa61712);if(_0x5e5da0[_0x45da13(0x293)]===0x0)return _0x149a28;let _0xb28542=a[_0x45da13(0x19d)][_0x45da13(0x259)](_0x149a28[_0x45da13(0x351)][0x0]);for(let _0x282bcd=0x0;_0x282bcd<_0x5e5da0['length'];_0x282bcd++){const _0x58aaaf={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x5e5da0[_0x282bcd][_0x45da13(0x387)],..._0x5e5da0[_0x282bcd][_0x45da13(0x3b9)]}},_0x4e7ba0=this[_0x45da13(0x402)][_0x45da13(0x29b)](_0xb28542,_0x58aaaf,!0x1);if(m['isTransformMutationFailure'](_0x4e7ba0))throw _0x4e7ba0[_0x45da13(0x360)];_0xb28542=_0x4e7ba0[_0x45da13(0x269)];}return{...a['Tools'][_0x45da13(0x259)](_0x149a28),'mutations':[_0xb28542]};}[_0x5e93c2(0x1d5)](_0x91b7c0){const _0x33c5c5=_0x5e93c2,{unitID:_0x58b373}=_0x91b7c0,{history:_0x3c5d1d,collaboration:_0x56b1a7}=this['_docStateChangeManagerService']['getStateCache'](_0x58b373);if(_0x3c5d1d[_0x33c5c5(0x293)]===0x0&&_0x56b1a7['length']===0x0)return;const _0x3a5ac6=[],_0x313679=[];let _0x1534ba=a['Tools']['deepClone'](_0x91b7c0[_0x33c5c5(0x351)][0x0]),_0x4beec4=a['Tools'][_0x33c5c5(0x259)](_0x91b7c0[_0x33c5c5(0x351)][0x0]);for(let _0xf037e7=_0x3c5d1d[_0x33c5c5(0x293)]-0x1;_0xf037e7>=0x0;_0xf037e7--){const _0x4d52ed={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x3c5d1d[_0xf037e7]['unitId'],..._0x3c5d1d[_0xf037e7]['undoState']}},_0x444998={'id':_0x33c5c5(0x2c4),'params':{'unitId':_0x3c5d1d[_0xf037e7][_0x33c5c5(0x387)],..._0x3c5d1d[_0xf037e7][_0x33c5c5(0x3b9)]}},_0x3917ac=this[_0x33c5c5(0x402)][_0x33c5c5(0x29b)](_0x1534ba,_0x4d52ed,!0x1),_0x13b02a=this[_0x33c5c5(0x402)]['transformMutation'](_0x4beec4,_0x444998,!0x1);if(m[_0x33c5c5(0x326)](_0x3917ac))throw _0x3917ac[_0x33c5c5(0x360)];if(m[_0x33c5c5(0x326)](_0x13b02a))throw _0x13b02a[_0x33c5c5(0x360)];_0x3a5ac6[_0x33c5c5(0x1c8)]({..._0x3c5d1d[_0xf037e7],'undoState':_0x3917ac[_0x33c5c5(0x23c)][_0x33c5c5(0x2cc)],'redoState':_0x13b02a['m2Prime']['params']}),_0x1534ba=_0x3917ac[_0x33c5c5(0x269)],_0x4beec4=_0x13b02a['m1Prime'];}_0x1534ba=a[_0x33c5c5(0x19d)][_0x33c5c5(0x259)](_0x91b7c0[_0x33c5c5(0x351)][0x0]),_0x4beec4=a[_0x33c5c5(0x19d)][_0x33c5c5(0x259)](_0x91b7c0[_0x33c5c5(0x351)][0x0]);for(let _0x30dd32=_0x56b1a7[_0x33c5c5(0x293)]-0x1;_0x30dd32>=0x0;_0x30dd32--){const _0x37a4a0={'id':_0x33c5c5(0x2c4),'params':{'unitId':_0x56b1a7[_0x30dd32]['unitId'],..._0x56b1a7[_0x30dd32]['undoState']}},_0x14a332={'id':_0x33c5c5(0x2c4),'params':{'unitId':_0x56b1a7[_0x30dd32][_0x33c5c5(0x387)],..._0x56b1a7[_0x30dd32][_0x33c5c5(0x3b9)]}},_0x350b30=this[_0x33c5c5(0x402)][_0x33c5c5(0x29b)](_0x1534ba,_0x37a4a0,!0x1),_0x1a659a=this[_0x33c5c5(0x402)][_0x33c5c5(0x29b)](_0x4beec4,_0x14a332,!0x1);if(m[_0x33c5c5(0x326)](_0x350b30))throw _0x350b30[_0x33c5c5(0x360)];if(m[_0x33c5c5(0x326)](_0x1a659a))throw _0x1a659a['error'];_0x313679[_0x33c5c5(0x1c8)]({..._0x56b1a7[_0x30dd32],'undoState':_0x350b30['m2Prime']['params'],'redoState':_0x1a659a[_0x33c5c5(0x23c)]['params']}),_0x1534ba=_0x350b30[_0x33c5c5(0x269)],_0x4beec4=_0x1a659a[_0x33c5c5(0x269)];}this['_docStateChangeManagerService'][_0x33c5c5(0x40c)](_0x58b373,{'history':_0x3a5ac6,'collaboration':_0x313679});}};J=Ft([le(0x0,a['Inject'](a[_0x5e93c2(0x41a)])),le(0x1,m['ITransformService']),le(0x2,a['Inject'](b[_0x5e93c2(0x281)]))],J);var Yt=Object[_0x5e93c2(0x2a8)],Wt=(_0x30ce37,_0x1084aa,_0x243544,_0x365102)=>{const _0x27ab25=_0x5e93c2;for(var _0x49ca46=_0x365102>0x1?void 0x0:_0x365102?Yt(_0x1084aa,_0x243544):_0x1084aa,_0x25f114=_0x30ce37[_0x27ab25(0x293)]-0x1,_0x5a3dd6;_0x25f114>=0x0;_0x25f114--)(_0x5a3dd6=_0x30ce37[_0x25f114])&&(_0x49ca46=_0x5a3dd6(_0x49ca46)||_0x49ca46);return _0x49ca46;},Ne=(_0x2afe53,_0x25fab7)=>(_0x2d6b15,_0x3bee4d)=>_0x25fab7(_0x2d6b15,_0x3bee4d,_0x2afe53);let Z=class{constructor(_0x54ee99,_0x352e52){const _0x4d5016=_0x5e93c2;this[_0x4d5016(0x319)]=_0x54ee99,this['_transformService']=_0x352e52;}[_0x5e93c2(0x3e9)](_0x21c5d1){const _0x1a5a53=_0x5e93c2;var _0x9170ca;const _0x4f355e=this['_injector']['get'](Y['DocSelectionManagerService']),_0x4b16ab=(_0x9170ca=_0x4f355e[_0x1a5a53(0x3b8)]())!=null?_0x9170ca:[];if(_0x4b16ab[_0x1a5a53(0x293)]===0x0)return;const _0x5789ee=_0x21c5d1[_0x1a5a53(0x21a)],_0x1074ea=[{'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x5789ee,'actions':null,'textRanges':_0x4b16ab}}],_0x494b52=this['_transformService'][_0x1a5a53(0x30e)](_0x21c5d1,_0x1074ea);if(!m[_0x1a5a53(0x193)](_0x494b52))throw _0x494b52['error'];const _0x3505ad=_0x494b52[_0x1a5a53(0x23c)][0x0]['params'][_0x1a5a53(0x1c7)];Array['isArray'](_0x3505ad)&&_0x3505ad[_0x1a5a53(0x293)]&&_0x4f355e[_0x1a5a53(0x380)](_0x3505ad,{'unitId':_0x5789ee,'subUnitId':_0x5789ee},!0x1);}};Z=Wt([Ne(0x0,a[_0x5e93c2(0x1c0)](a[_0x5e93c2(0x41a)])),Ne(0x1,m[_0x5e93c2(0x26b)])],Z);var Vt=Object[_0x5e93c2(0x2a8)],Xt=(_0x5df3ff,_0x9a3ef8,_0x33be66,_0x1da400)=>{const _0x15e72c=_0x5e93c2;for(var _0x23648a=_0x1da400>0x1?void 0x0:_0x1da400?Vt(_0x9a3ef8,_0x33be66):_0x9a3ef8,_0x68ea7=_0x5df3ff[_0x15e72c(0x293)]-0x1,_0x580320;_0x68ea7>=0x0;_0x68ea7--)(_0x580320=_0x5df3ff[_0x68ea7])&&(_0x23648a=_0x580320(_0x23648a)||_0x23648a);return _0x23648a;},N=(_0x554534,_0x18b47c)=>(_0x30a7de,_0xa77869)=>_0x18b47c(_0x30a7de,_0xa77869,_0x554534);let Q=class extends a['Disposable']{constructor(_0xdaeaad,_0x34d6cb,_0x5a4954,_0x323282,_0x5d41a3,_0x440af5,_0x345482,_0x27ecb9){const _0x1a9f14=_0x5e93c2;super(),h(this,_0x1a9f14(0x3f7),new d['BehaviorSubject'](u[_0x1a9f14(0x229)][_0x1a9f14(0x3c1)])),(this['_docStateChangeManagerService']=_0xdaeaad,this[_0x1a9f14(0x318)]=_0x34d6cb,this[_0x1a9f14(0x1ab)]=_0x5a4954,this['_docTransformStateCacheService']=_0x323282,this[_0x1a9f14(0x21c)]=_0x5d41a3,this[_0x1a9f14(0x41e)]=_0x440af5,this['_messageService']=_0x345482,this[_0x1a9f14(0x1de)]=_0x27ecb9,this[_0x1a9f14(0x2da)]());}[_0x5e93c2(0x2da)](){const _0x219e90=_0x5e93c2;this[_0x219e90(0x303)](this[_0x219e90(0x318)][_0x219e90(0x3fb)][_0x219e90(0x369)](_0x2813a2=>{const _0x416fce=_0x219e90,_0x590229=this[_0x416fce(0x1f8)][_0x416fce(0x3fc)]['subscribe'](_0x36808b=>{const _0x1eb406=_0x416fce;if(_0x36808b==null)return;const {unitId:_0x151a6d,redoState:_0x31a89b,commandId:_0x6aace2}=_0x36808b;if(_0x151a6d!==_0x2813a2[_0x1eb406(0x21a)])return;const _0x5d617d={'id':_0x6aace2,'type':a[_0x1eb406(0x2dd)][_0x1eb406(0x2e0)],'params':{'unitId':_0x151a6d,'actions':_0x31a89b[_0x1eb406(0x3c0)],'textRanges':null}};_0x2813a2[_0x1eb406(0x1c4)](_0x5d617d);});if(_0x2813a2[_0x416fce(0x303)](_0x590229),_0x2813a2 instanceof u[_0x416fce(0x2fe)]){const _0x35eee6={'onTransformIME':_0x4d95e2=>this[_0x416fce(0x1ab)][_0x416fce(0x3d4)](_0x4d95e2),'onTransformState':_0x55c1a0=>this['_docTransformStateCacheService'][_0x416fce(0x233)](_0x55c1a0),'onTransformSelections':_0x385764=>this[_0x416fce(0x21c)][_0x416fce(0x3e9)](_0x385764),'onSyncEditingCollabCursor':_0x7a812=>this[_0x416fce(0x41e)]['syncEditingCollabCursor'](_0x7a812),'onTransformRemoteChangesetByIMECache':_0x413236=>this['_docTransformIMECacheService']['transformRemoteChangeset'](_0x413236),'onTransformRemoteChangesetByStateCache':_0x2a4989=>this['_docTransformStateCacheService'][_0x416fce(0x1a4)](_0x2a4989)};_0x2813a2[_0x416fce(0x3d2)](_0x35eee6);}}));}};Q=Xt([N(0x0,a[_0x5e93c2(0x1c0)](b[_0x5e93c2(0x281)])),N(0x1,a[_0x5e93c2(0x1c0)](u[_0x5e93c2(0x248)])),N(0x2,a[_0x5e93c2(0x1c0)](z)),N(0x3,a[_0x5e93c2(0x1c0)](J)),N(0x4,a['Inject'](Z)),N(0x5,a[_0x5e93c2(0x1c0)](Ce)),N(0x6,T[_0x5e93c2(0x2a2)]),N(0x7,a[_0x5e93c2(0x1c0)](a[_0x5e93c2(0x2b5)]))],Q);var Gt=Object[_0x5e93c2(0x2a8)],Kt=(_0xb0cf47,_0x242626,_0x4280c0,_0x3479a3)=>{const _0x4ef259=_0x5e93c2;for(var _0x10c84e=_0x3479a3>0x1?void 0x0:_0x3479a3?Gt(_0x242626,_0x4280c0):_0x242626,_0x481c80=_0xb0cf47[_0x4ef259(0x293)]-0x1,_0x244df1;_0x481c80>=0x0;_0x481c80--)(_0x244df1=_0xb0cf47[_0x481c80])&&(_0x10c84e=_0x244df1(_0x10c84e)||_0x10c84e);return _0x10c84e;},_e=(_0x573231,_0x116758)=>(_0x205a6d,_0x4f2aaa)=>_0x116758(_0x205a6d,_0x4f2aaa,_0x573231);let ge=class extends a[_0x5e93c2(0x33a)]{constructor(_0x1cf06f,_0x5bb9e8,_0xa457cf){const _0x51036d=_0x5e93c2;super(),h(this,_0x51036d(0x1d4),new Map()),h(this,_0x51036d(0x1f7),new Map()),h(this,_0x51036d(0x1da),!0x1),(this[_0x51036d(0x2be)]=_0x1cf06f,this[_0x51036d(0x321)]=_0x5bb9e8,this[_0x51036d(0x234)]=_0xa457cf);}[_0x5e93c2(0x285)](){const _0x2e1e7e=_0x5e93c2;this[_0x2e1e7e(0x1da)]=!0x0;}[_0x5e93c2(0x23d)](){const _0x56af62=_0x5e93c2;this[_0x56af62(0x1da)]=!0x1;}get['saveTaskMap'](){return this['_saveTaskMap'];}[_0x5e93c2(0x2f0)](){const _0x29448e=_0x5e93c2;this[_0x29448e(0x2db)]()['then'](()=>super[_0x29448e(0x2f0)]());}async['loadOfflineData'](_0xb7ee00){const _0x5d392a=_0x5e93c2;return this[_0x5d392a(0x1da)]?null:this[_0x5d392a(0x321)][_0x5d392a(0x3fe)](u[_0x5d392a(0x327)](_0xb7ee00));}async['saveOfflineData'](_0x14390d,_0x957d37){const _0x9e491d=_0x5e93c2;return!!this[_0x9e491d(0x321)][_0x9e491d(0x1b5)](_0x14390d,_0x957d37);}[_0x5e93c2(0x3c5)](_0x4fdc5e,_0x3c235d,_0x2b5c71,_0x505d15){const _0x6167f5=_0x5e93c2,_0xc1fde8=this[_0x6167f5(0x234)]['getCurrentRevOfUnit'](_0x4fdc5e);this[_0x6167f5(0x1d4)][_0x6167f5(0x3f1)](_0x4fdc5e,{'unitID':_0x4fdc5e,'type':_0x3c235d,'awaitingChangeset':_0x2b5c71,'mutations':_0x505d15,'rev':_0xc1fde8}),this['_saveTaskMap'][_0x6167f5(0x395)](_0x4fdc5e)||this[_0x6167f5(0x345)](_0x4fdc5e);}[_0x5e93c2(0x345)](_0x1cac09){const _0x2af72c=_0x5e93c2,_0x300119=this[_0x2af72c(0x33d)]();_0x300119===0x0?this[_0x2af72c(0x22a)](_0x1cac09):this[_0x2af72c(0x1f7)]['set'](_0x1cac09,setTimeout(()=>this['_saveCache'](_0x1cac09),_0x300119));}[_0x5e93c2(0x33d)](){const _0x1ea3df=_0x5e93c2;var _0x4e98eb;return(_0x4e98eb=this[_0x1ea3df(0x2be)][_0x1ea3df(0x24b)](u['LOCAL_CACHE_INTERVAL_KEY']))!=null?_0x4e98eb:u[_0x1ea3df(0x307)];}[_0x5e93c2(0x22a)](_0xcb3f07){const _0x2a0eb2=_0x5e93c2,_0x1a902d=this[_0x2a0eb2(0x1f7)][_0x2a0eb2(0x2a3)](_0xcb3f07);return _0x1a902d!==void 0x0&&window[_0x2a0eb2(0x1df)](_0x1a902d),this[_0x2a0eb2(0x321)][_0x2a0eb2(0x1b5)](u[_0x2a0eb2(0x327)](_0xcb3f07),this['_cachedData'][_0x2a0eb2(0x2a3)](_0xcb3f07))[_0x2a0eb2(0x2b9)](()=>this[_0x2a0eb2(0x1f7)]['delete'](_0xcb3f07));}async['exhaustSavingTask'](){const _0x4c1a5c=_0x5e93c2,_0xf1c32b=[];this[_0x4c1a5c(0x1f7)][_0x4c1a5c(0x2a5)]((_0x1e1272,_0x3e91ae)=>{const _0x51dee4=_0x4c1a5c;window['clearTimeout'](_0x1e1272),_0xf1c32b[_0x51dee4(0x298)](this[_0x51dee4(0x22a)](_0x3e91ae)['then'](()=>{const _0x1270e9=_0x51dee4;this[_0x1270e9(0x1f7)][_0x1270e9(0x334)](_0x3e91ae);}));}),await Promise[_0x4c1a5c(0x3db)](_0xf1c32b);}};function _0x286c(_0x1c67a2,_0x193943){const _0x204815=_0x2048();return _0x286c=function(_0x286cdb,_0x23f7f2){_0x286cdb=_0x286cdb-0x193;let _0x2ea11c=_0x204815[_0x286cdb];return _0x2ea11c;},_0x286c(_0x1c67a2,_0x193943);}ge=Kt([_e(0x0,a[_0x5e93c2(0x23b)]),_e(0x1,a[_0x5e93c2(0x2d1)]),_e(0x2,a[_0x5e93c2(0x1c0)](m[_0x5e93c2(0x40e)]))],ge);class je extends a['RxDisposable']{constructor(){const _0x29d193=_0x5e93c2;super(),h(this,_0x29d193(0x353)),this[_0x29d193(0x353)]=d['fromEvent'](window,_0x29d193(0x1fc))['pipe'](d[_0x29d193(0x301)](this['dispose$']),d['shareReplay'](0x1),d['mapTo'](void 0x0));}[_0x5e93c2(0x37f)](_0x435f79,_0x255b61,_0x3166cb=!0x1){const _0x46e6bf=_0x5e93c2,_0x25220a=new URL(window[_0x46e6bf(0x2b4)][_0x46e6bf(0x199)]);_0x25220a['searchParams']['set'](_0x435f79,_0x255b61),_0x3166cb?window['history'][_0x46e6bf(0x31b)]('','',_0x25220a['toString']()):window[_0x46e6bf(0x221)][_0x46e6bf(0x2fb)]('','',_0x25220a[_0x46e6bf(0x1e2)]());}[_0x5e93c2(0x1e4)](_0x10d638,_0x3c0915=!0x1){const _0x264717=_0x5e93c2,_0x5ab8a9=new URL(window['location'][_0x264717(0x199)]);_0x5ab8a9[_0x264717(0x3a3)][_0x264717(0x334)](_0x10d638),_0x3c0915?window[_0x264717(0x221)][_0x264717(0x31b)]('','',_0x5ab8a9[_0x264717(0x1e2)]()):window[_0x264717(0x221)]['pushState']('','',_0x5ab8a9[_0x264717(0x1e2)]());}[_0x5e93c2(0x300)](_0x24eb2b){const _0x3263df=_0x5e93c2;var _0x52b3aa;return(_0x52b3aa=new URL(window[_0x3263df(0x2b4)]['href'])[_0x3263df(0x3a3)][_0x3263df(0x2a3)](_0x24eb2b))!=null?_0x52b3aa:void 0x0;}}var qt=Object['defineProperty'],zt=Object['getOwnPropertyDescriptor'],Jt=(_0x2372e1,_0x5ad8d0,_0x241e34)=>_0x5ad8d0 in _0x2372e1?qt(_0x2372e1,_0x5ad8d0,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x241e34}):_0x2372e1[_0x5ad8d0]=_0x241e34,Zt=(_0x512c28,_0x36f3d1,_0x42eaa2,_0x3131ad)=>{const _0x5c1020=_0x5e93c2;for(var _0x13177e=_0x3131ad>0x1?void 0x0:_0x3131ad?zt(_0x36f3d1,_0x42eaa2):_0x36f3d1,_0x1ebe97=_0x512c28[_0x5c1020(0x293)]-0x1,_0x5cfa82;_0x1ebe97>=0x0;_0x1ebe97--)(_0x5cfa82=_0x512c28[_0x1ebe97])&&(_0x13177e=_0x5cfa82(_0x13177e)||_0x13177e);return _0x13177e;},he=(_0x132a06,_0x5099c5)=>(_0x50df8d,_0x3e35b5)=>_0x5099c5(_0x50df8d,_0x3e35b5,_0x132a06),Qt=(_0x3a51ff,_0x2fd096,_0x32b4dd)=>Jt(_0x3a51ff,_0x2fd096+'',_0x32b4dd);const es=_0x5e93c2(0x323);exports[_0x5e93c2(0x255)]=class extends a[_0x5e93c2(0x261)]{constructor(_0x354916=Ue,_0x5285e9,_0x3d3f5b,_0x5e5ea5){const _0x2c9567=_0x5e93c2;super(),this[_0x2c9567(0x31c)]=_0x354916,this[_0x2c9567(0x235)]=_0x5285e9,this[_0x2c9567(0x319)]=_0x3d3f5b,this['_configService']=_0x5e5ea5;const {..._0x30d90e}=a[_0x2c9567(0x290)]({},Ue,this['_config']);this[_0x2c9567(0x2be)][_0x2c9567(0x32c)]($t,_0x30d90e);}['onStarting'](){const _0x409bce=_0x5e93c2;this[_0x409bce(0x223)](),this['_initDependencies']();}[_0x5e93c2(0x34d)](){this['_registerRenderDependencies']();}['_registerDependencies'](){const _0x8df05=_0x5e93c2;var _0x24b7fd;const _0x3f07a5=[[me],[Z],[z],[J],[Ce],[be,{'useClass':je}],[G[_0x8df05(0x392)],{'useClass':G[_0x8df05(0x3ed)]}],[u[_0x8df05(0x2c5)],{'useClass':ge}],[exports[_0x8df05(0x3b7)]],[Q],[q],[x],[de],[exports['CollaborationDataLoaderController']]];a['registerDependencies'](this[_0x8df05(0x319)],a[_0x8df05(0x2b0)](_0x3f07a5,(_0x24b7fd=this[_0x8df05(0x31c)])==null?void 0x0:_0x24b7fd['override']));}['_registerRenderDependencies'](){const _0x462d8d=_0x5e93c2;this['disposeWithMe'](this[_0x462d8d(0x235)]['registerRenderModule'](a[_0x462d8d(0x2ff)][_0x462d8d(0x270)],[Ie])),this[_0x462d8d(0x303)](this['_renderManagerService'][_0x462d8d(0x1bd)](a['UniverInstanceType'][_0x462d8d(0x400)],[ve]));}[_0x5e93c2(0x2c8)](){const _0x594f59=_0x5e93c2;a[_0x594f59(0x2fa)](this[_0x594f59(0x319)],[[x],[exports[_0x594f59(0x3b7)]],[Q],[q],[exports[_0x594f59(0x337)]]]);}},Qt(exports['UniverCollaborationClientUIPlugin'],_0x5e93c2(0x338),es),exports[_0x5e93c2(0x255)]=Zt([a[_0x5e93c2(0x241)](u[_0x5e93c2(0x339)]),he(0x1,p[_0x5e93c2(0x215)]),he(0x2,a[_0x5e93c2(0x1c0)](a[_0x5e93c2(0x41a)])),he(0x3,a[_0x5e93c2(0x23b)])],exports['UniverCollaborationClientUIPlugin']);var ts=Object[_0x5e93c2(0x2a8)],ss=(_0x4ac6fb,_0x4425ff,_0x3e8f81,_0x4d24c0)=>{const _0x2f4df4=_0x5e93c2;for(var _0x2bb4d1=_0x4d24c0>0x1?void 0x0:_0x4d24c0?ts(_0x4425ff,_0x3e8f81):_0x4425ff,_0x4c45fd=_0x4ac6fb[_0x2f4df4(0x293)]-0x1,_0x3bd53f;_0x4c45fd>=0x0;_0x4c45fd--)(_0x3bd53f=_0x4ac6fb[_0x4c45fd])&&(_0x2bb4d1=_0x3bd53f(_0x2bb4d1)||_0x2bb4d1);return _0x2bb4d1;},F=(_0x151821,_0x59b7cf)=>(_0x132d81,_0x3a7fe2)=>_0x59b7cf(_0x132d81,_0x3a7fe2,_0x151821);exports[_0x5e93c2(0x372)]=class extends u[_0x5e93c2(0x335)]{constructor(_0x1312ac,_0x4441c5,_0x2633d2,_0x1133fd,_0x37dbca){super(_0x1312ac,_0x4441c5,_0x2633d2,_0x1133fd,_0x37dbca);}async['createSocket'](_0x4f6570){const _0x4a8853=_0x5e93c2,_0x441fc0=await this[_0x4a8853(0x36b)](),_0x2b5441=this[_0x4a8853(0x368)](_0x4f6570,_0x441fc0);return this[_0x4a8853(0x1ea)](_0x2b5441);}[_0x5e93c2(0x368)](_0x42587a,_0xfd8123){const _0x426a0d=_0x5e93c2,_0x80e8e8=typeof window>'u'?new URL(_0x42587a):new URL(_0x42587a,window[_0x426a0d(0x2b4)][_0x426a0d(0x24e)]);_0x80e8e8['searchParams'][_0x426a0d(0x3f1)](_0x426a0d(0x2d7),_0xfd8123);const _0x41b81d=typeof window>'u'?new URLSearchParams():new URLSearchParams(window['location'][_0x426a0d(0x404)]);return _0x41b81d[_0x426a0d(0x2a3)](_0x426a0d(0x37b))&&_0x80e8e8['searchParams'][_0x426a0d(0x3f1)](_0x426a0d(0x37b),_0x41b81d[_0x426a0d(0x2a3)](_0x426a0d(0x37b))),_0x80e8e8['toString']();}async[_0x5e93c2(0x36b)](){const _0x13c156=_0x5e93c2;var _0x58c43a,_0x572e01,_0x3232f7;const _0x2cfaa2=this['_configService'][_0x13c156(0x24b)](u[_0x13c156(0x2a6)]),_0x2d34ff=(_0x58c43a=_0x2cfaa2==null?void 0x0:_0x2cfaa2[_0x13c156(0x3c9)])!=null?_0x58c43a:u['DEFAULT_WS_SESSION_TICKET_URL'];return(_0x3232f7=(_0x572e01=(await this[_0x13c156(0x1c3)][_0x13c156(0x2a3)](_0x2d34ff,{'headers':{'Content-Type':'application/json'}}))[_0x13c156(0x25b)])==null?void 0x0:_0x572e01[_0x13c156(0x20b)])!=null?_0x3232f7:'';}},exports[_0x5e93c2(0x372)]=ss([F(0x0,a[_0x5e93c2(0x1c0)](a[_0x5e93c2(0x41a)])),F(0x1,a[_0x5e93c2(0x1c0)](G['HTTPService'])),F(0x2,a['IConfigService']),F(0x3,a['ILogService']),F(0x4,m[_0x5e93c2(0x209)])],exports['BrowserCollaborationSocketService']);const Me=0x7530,Le=_0x5e93c2(0x324);class is extends a[_0x5e93c2(0x33a)]{constructor(){const _0x301271=_0x5e93c2;super(),h(this,_0x301271(0x39f),a[_0x301271(0x398)]()),h(this,_0x301271(0x356),new Set()),h(this,'_unitOnClients',new Map()),h(this,_0x301271(0x247),null),h(this,'_clearOtherTimers',new Map()),h(this,_0x301271(0x393),new Map()),this[_0x301271(0x1a5)]();}['dispose'](){const _0x128334=_0x5e93c2;super['dispose'](),this[_0x128334(0x225)][_0x128334(0x2a5)]((_0x519db3,_0x314790)=>this[_0x128334(0x309)](_0x314790)),this[_0x128334(0x247)]&&window[_0x128334(0x3a2)](this[_0x128334(0x247)]);}[_0x5e93c2(0x2af)](_0x5e3fbb){const _0x2e4576=_0x5e93c2;return this['_ensureSubject'](_0x5e3fbb)[_0x2e4576(0x3a8)](d[_0x2e4576(0x3a1)]());}[_0x5e93c2(0x33b)](_0x19f7e7){const _0x2fe8df=_0x5e93c2;this[_0x2fe8df(0x356)][_0x2fe8df(0x1b0)]===0x0&&this[_0x2fe8df(0x3f5)](),this[_0x2fe8df(0x356)][_0x2fe8df(0x30a)](_0x19f7e7),this[_0x2fe8df(0x24c)]({'type':0x0,'memberID':this[_0x2fe8df(0x39f)],'unitIDs':[_0x19f7e7],'isForwarded':!0x1});}[_0x5e93c2(0x1f9)](_0x3adfba){const _0xd42e39=_0x5e93c2;this['_selfUnitIDs'][_0xd42e39(0x334)](_0x3adfba),this[_0xd42e39(0x356)]['size']===0x0&&this['_heartbeatTimer']&&window[_0xd42e39(0x3a2)](this[_0xd42e39(0x247)]);}[_0x5e93c2(0x1a5)](){const _0x586b8c=_0x5e93c2;this[_0x586b8c(0x303)](a[_0x586b8c(0x230)](d['fromEvent'](window,'storage')['subscribe'](_0x79e76b=>{const _0x3912a2=_0x586b8c;if(_0x79e76b['key']!==Le||!_0x79e76b[_0x3912a2(0x28a)])return;const _0xf5107b=JSON[_0x3912a2(0x211)](_0x79e76b[_0x3912a2(0x28a)]);this[_0x3912a2(0x2b3)](_0xf5107b);}))),window[_0x586b8c(0x27b)]('unload',()=>this['_send']({'type':0x1,'memberID':this[_0x586b8c(0x39f)],'unitIDs':Array['from'](this['_selfUnitIDs'])}));}[_0x5e93c2(0x2b3)](_0x4d7f15){const _0xe2bb52=_0x5e93c2;switch(_0x4d7f15[_0xe2bb52(0x295)]){case 0x0:this[_0xe2bb52(0x3be)](_0x4d7f15);break;case 0x1:this[_0xe2bb52(0x2f5)](_0x4d7f15);break;case 0x2:this[_0xe2bb52(0x278)](_0x4d7f15);break;}}[_0x5e93c2(0x3be)](_0xf0289b){const _0x10b97a=_0x5e93c2,{unitIDs:_0x6c85fb,memberID:_0x3e7a5d,isForwarded:_0x250ea5}=_0xf0289b;_0x6c85fb[_0x10b97a(0x2a5)](_0x371b8e=>{const _0x1d23cc=_0x10b97a;if(!_0x250ea5&&this[_0x1d23cc(0x1f1)][_0x1d23cc(0x395)](_0x371b8e)&&this[_0x1d23cc(0x2eb)](_0x371b8e)['next'](u[_0x1d23cc(0x22b)][_0x1d23cc(0x262)]),!this[_0x1d23cc(0x1f1)][_0x1d23cc(0x395)](_0x371b8e)||!this[_0x1d23cc(0x1f1)][_0x1d23cc(0x2a3)](_0x371b8e)[_0x1d23cc(0x395)](_0x3e7a5d)){const _0x58579a=this[_0x1d23cc(0x1f1)]['get'](_0x371b8e)||new Set();_0x58579a[_0x1d23cc(0x30a)](_0x3e7a5d),this[_0x1d23cc(0x1f1)][_0x1d23cc(0x3f1)](_0x371b8e,_0x58579a),this[_0x1d23cc(0x2f6)](_0x3e7a5d);}}),_0x250ea5||this[_0x10b97a(0x24c)]({'type':0x0,'memberID':this[_0x10b97a(0x39f)],'unitIDs':[...this['_selfUnitIDs']],'isForwarded':!0x0});}[_0x5e93c2(0x2f6)](_0x42dd61){const _0x1c744b=_0x5e93c2;this[_0x1c744b(0x309)](_0x42dd61);const _0x524213=window['setTimeout'](()=>{const _0x1df215=_0x1c744b;this[_0x1df215(0x1f1)][_0x1df215(0x2a5)](_0x3c2c35=>{const _0xca16dc=_0x1df215;_0x3c2c35[_0xca16dc(0x334)](_0x42dd61);});},Me*0x2);this[_0x1c744b(0x225)][_0x1c744b(0x3f1)](_0x42dd61,_0x524213);}['_removeClearOtherTimer'](_0x1038cb){const _0x4c4ac2=_0x5e93c2;if(this[_0x4c4ac2(0x225)][_0x4c4ac2(0x395)](_0x1038cb)){const _0x5592fe=this[_0x4c4ac2(0x225)][_0x4c4ac2(0x2a3)](_0x1038cb);_0x5592fe&&window['clearTimeout'](_0x5592fe),this[_0x4c4ac2(0x225)][_0x4c4ac2(0x3f1)](_0x1038cb,null);}}[_0x5e93c2(0x2f5)](_0x458e67){const _0x21ad5b=_0x5e93c2,{memberID:_0x451ed0,unitIDs:_0x1e7c45}=_0x458e67;_0x1e7c45[_0x21ad5b(0x2a5)](_0x77937d=>{const _0x421d22=_0x21ad5b;var _0x54aa60;const _0x87246a=this[_0x421d22(0x1f1)][_0x421d22(0x2a3)](_0x77937d);_0x87246a&&(_0x87246a[_0x421d22(0x334)](_0x451ed0),(_0x54aa60=this[_0x421d22(0x2eb)](_0x77937d))==null||_0x54aa60[_0x421d22(0x374)](_0x87246a[_0x421d22(0x1b0)]===0x0?u[_0x421d22(0x22b)][_0x421d22(0x424)]:u['UnitStatus'][_0x421d22(0x262)]));}),this[_0x21ad5b(0x309)](_0x451ed0);}[_0x5e93c2(0x278)](_0x195925){const _0x444e80=_0x5e93c2;this[_0x444e80(0x2f6)](_0x195925['memberID']);}['_send'](_0x48200a){const _0x4e7d2a=_0x5e93c2;localStorage['setItem'](Le,JSON[_0x4e7d2a(0x196)](_0x48200a));}[_0x5e93c2(0x3f5)](){this['_heartbeatTimer']=window['setInterval'](()=>{const _0xeb2ba3=_0x286c;this[_0xeb2ba3(0x24c)]({'type':0x2,'memberID':this[_0xeb2ba3(0x39f)]});},Me);}[_0x5e93c2(0x2eb)](_0x3fb76b){const _0x7ae529=_0x5e93c2;return this[_0x7ae529(0x393)][_0x7ae529(0x395)](_0x3fb76b)||this['_unitStatus'][_0x7ae529(0x3f1)](_0x3fb76b,new d[(_0x7ae529(0x3bb))](u[_0x7ae529(0x22b)][_0x7ae529(0x424)])),this[_0x7ae529(0x393)][_0x7ae529(0x2a3)](_0x3fb76b);}}var Be=(_0x4f70e2=>(_0x4f70e2[_0x4f70e2['UNDEFINED']=0x0]=_0x5e93c2(0x1d7),_0x4f70e2[_0x4f70e2['OK']=0x1]='OK',_0x4f70e2[_0x4f70e2[_0x5e93c2(0x37e)]=0x2]='INTERNAL_ERROR',_0x4f70e2[_0x4f70e2[_0x5e93c2(0x2e8)]=0x3]=_0x5e93c2(0x2e8),_0x4f70e2[_0x4f70e2[_0x5e93c2(0x228)]=0x4]=_0x5e93c2(0x228),_0x4f70e2[_0x4f70e2['UNAUTHENTICATED']=0x5]=_0x5e93c2(0x2e2),_0x4f70e2[_0x4f70e2[_0x5e93c2(0x2f2)]=0x6]=_0x5e93c2(0x2f2),_0x4f70e2[_0x4f70e2[_0x5e93c2(0x206)]=0x7]=_0x5e93c2(0x206),_0x4f70e2[_0x4f70e2['TOO_MANY_REQUESTS']=0x8]=_0x5e93c2(0x2df),_0x4f70e2[_0x4f70e2[_0x5e93c2(0x2e6)]=0x9]='COMPLETION_FINISHED',_0x4f70e2[_0x4f70e2['LOGIN_FAILED']=0xa]=_0x5e93c2(0x2ca),_0x4f70e2[_0x4f70e2[_0x5e93c2(0x40f)]=0x1389]='CHANGESET_REVISION_CONFILICT',_0x4f70e2[_0x4f70e2[_0x5e93c2(0x1b9)]=0x1771]=_0x5e93c2(0x1b9),_0x4f70e2[_0x4f70e2[_0x5e93c2(0x407)]=0x1772]=_0x5e93c2(0x407),_0x4f70e2[_0x4f70e2[_0x5e93c2(0x27c)]=0x1773]='ENSURE_SNAPSHOT_EXECUTION',_0x4f70e2[_0x4f70e2[_0x5e93c2(0x366)]=0x1b59]=_0x5e93c2(0x366),_0x4f70e2[_0x4f70e2[_0x5e93c2(0x2c0)]=0x1b5a]=_0x5e93c2(0x2c0),_0x4f70e2[_0x4f70e2[_0x5e93c2(0x27a)]=0x1b5b]=_0x5e93c2(0x27a),_0x4f70e2[_0x4f70e2[_0x5e93c2(0x310)]=0x1b5c]='APPLY_PERMISSION_DENIED',_0x4f70e2[_0x4f70e2[_0x5e93c2(0x265)]=0x1b5d]='APPLY_DUPLICATED',_0x4f70e2[_0x4f70e2[_0x5e93c2(0x3f0)]=0x1f41]='CONNECTOR_DATA_TOO_LARGE',_0x4f70e2[_0x4f70e2[_0x5e93c2(0x3d8)]=0x2329]='LICENSE_MAX_UNITS_EXCEEDED',_0x4f70e2[_0x4f70e2['LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED']=0x232a]=_0x5e93c2(0x266),_0x4f70e2[_0x4f70e2[_0x5e93c2(0x306)]=0x232b]='LICENSE_IMPORT_SIZE_EXCEEDED',_0x4f70e2[_0x4f70e2[_0x5e93c2(0x414)]=0x232c]=_0x5e93c2(0x414),_0x4f70e2[_0x4f70e2[_0x5e93c2(0x2d3)]=0x232d]=_0x5e93c2(0x2d3),_0x4f70e2[_0x4f70e2[_0x5e93c2(0x220)]=0x2711]=_0x5e93c2(0x220),_0x4f70e2[_0x4f70e2[_0x5e93c2(0x375)]=0x2712]=_0x5e93c2(0x375),_0x4f70e2[_0x4f70e2['YUUMI_RATE_OVER_LIMIT']=0x2713]=_0x5e93c2(0x20e),_0x4f70e2[_0x4f70e2['YUUMI_SUBSCRIPTION_NOT_FOUND']=0x2714]=_0x5e93c2(0x3f4),_0x4f70e2[_0x4f70e2[_0x5e93c2(0x2ad)]=0x271a]='YUUMI_NO_CUBOID_FOR_QUESTION',_0x4f70e2[_0x4f70e2[_0x5e93c2(0x330)]=0x271b]=_0x5e93c2(0x330),_0x4f70e2[_0x4f70e2[_0x5e93c2(0x200)]=0x271c]=_0x5e93c2(0x200),_0x4f70e2[_0x4f70e2[_0x5e93c2(0x2d5)]=0x271d]=_0x5e93c2(0x2d5),_0x4f70e2[_0x4f70e2[_0x5e93c2(0x1ce)]=0x271e]=_0x5e93c2(0x1ce),_0x4f70e2[_0x4f70e2['YUUMI_AI_RUN_FAILED']=0x271f]=_0x5e93c2(0x312),_0x4f70e2[_0x4f70e2[_0x5e93c2(0x3d0)]=0x2af9]=_0x5e93c2(0x3d0),_0x4f70e2[_0x4f70e2[_0x5e93c2(0x38f)]=0x2ee1]=_0x5e93c2(0x38f),_0x4f70e2[_0x4f70e2[_0x5e93c2(0x1ba)]=0x2ee2]='INVALID_INVITE_CODE',_0x4f70e2[_0x4f70e2[_0x5e93c2(0x3ff)]=0x2ee3]=_0x5e93c2(0x3ff),_0x4f70e2[_0x4f70e2[_0x5e93c2(0x420)]=0x2ee4]='USER_NOT_INVITED_CODE',_0x4f70e2[_0x4f70e2[_0x5e93c2(0x2e7)]=0x2ee5]=_0x5e93c2(0x2e7),_0x4f70e2[_0x4f70e2[_0x5e93c2(0x1bf)]=0x32c9]=_0x5e93c2(0x1bf),_0x4f70e2[_0x4f70e2[_0x5e93c2(0x1e0)]=0x32ca]=_0x5e93c2(0x1e0),_0x4f70e2[_0x4f70e2['EMAIL_HAS_BEEN_BOUND']=0x32cb]=_0x5e93c2(0x1eb),_0x4f70e2[_0x4f70e2['UNRECOGNIZED']=-0x1]=_0x5e93c2(0x396),_0x4f70e2))(Be||{}),ns=Object['getOwnPropertyDescriptor'],rs=(_0x399a1b,_0x21e376,_0xb12d08,_0xdd71c9)=>{const _0x5dc097=_0x5e93c2;for(var _0x36cabf=_0xdd71c9>0x1?void 0x0:_0xdd71c9?ns(_0x21e376,_0xb12d08):_0x21e376,_0x236011=_0x399a1b[_0x5dc097(0x293)]-0x1,_0x38c9e9;_0x236011>=0x0;_0x236011--)(_0x38c9e9=_0x399a1b[_0x236011])&&(_0x36cabf=_0x38c9e9(_0x36cabf)||_0x36cabf);return _0x36cabf;},ue=(_0x7de068,_0x1f2082)=>(_0x5a9bda,_0x24cf43)=>_0x1f2082(_0x5a9bda,_0x24cf43,_0x7de068);exports[_0x5e93c2(0x423)]=class extends a[_0x5e93c2(0x33a)]{constructor(_0x34d4da,_0x2f7f90,_0x38dd01){const _0x55aa21=_0x5e93c2;super(),this[_0x55aa21(0x1a7)]=_0x34d4da,this[_0x55aa21(0x1c3)]=_0x2f7f90,this[_0x55aa21(0x2be)]=_0x38dd01;}async[_0x5e93c2(0x23f)](_0x3c902d,_0x1f08de,_0x4260b6,..._0x5bd12c){const _0x2a2ef2=_0x5e93c2;var _0xda024a,_0x5f712,_0x5f51b7,_0x447b10;const _0x3e090a=this['_instanceService'][_0x2a2ef2(0x1d3)]();if(!_0x3e090a)throw new Error('[RemoteUniscriptService]:\x20no\x20focused\x20unit');const _0x18d6bf=((_0xda024a=this[_0x2a2ef2(0x2be)][_0x2a2ef2(0x24b)](u['REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY']))!=null?_0xda024a:u[_0x2a2ef2(0x2bb)])+'/'+_0x3c902d+_0x2a2ef2(0x373)+_0x1f08de,_0x58f5b4=new URL(window[_0x2a2ef2(0x2b4)][_0x2a2ef2(0x199)]),_0x14f15e={'scriptId':_0x3c902d,'runId':(_0x5f712=_0x58f5b4[_0x2a2ef2(0x3a3)]['get'](_0x2a2ef2(0x37b)))!=null?_0x5f712:'','function':_0x1f08de,'unitId':_0x3e090a[_0x2a2ef2(0x1e8)](),'argsOfFunction':JSON[_0x2a2ef2(0x196)](_0x5bd12c),'invokeId':(_0x5f51b7=_0x4260b6['invokeId'])!=null?_0x5f51b7:'','executionId':(_0x447b10=_0x4260b6[_0x2a2ef2(0x20d)])!=null?_0x447b10:''};try{const _0x1383f7=await this[_0x2a2ef2(0x1c3)][_0x2a2ef2(0x36d)](_0x18d6bf,{'body':_0x14f15e});return _0x1383f7['body'][_0x2a2ef2(0x360)]&&_0x1383f7[_0x2a2ef2(0x25b)][_0x2a2ef2(0x360)][_0x2a2ef2(0x1e9)]!==Be['OK']?_0x2a2ef2(0x3ef):_0x1383f7['body'][_0x2a2ef2(0x386)];}catch{return'Failed';}}},exports[_0x5e93c2(0x423)]=rs([ue(0x0,a[_0x5e93c2(0x3e4)]),ue(0x1,a[_0x5e93c2(0x1c0)](G[_0x5e93c2(0x382)])),ue(0x2,a[_0x5e93c2(0x23b)])],exports['RemoteUniscriptService']),exports[_0x5e93c2(0x315)]=xe,exports['IURLService']=be,exports[_0x5e93c2(0x2ec)]=Ae,exports[_0x5e93c2(0x26c)]=is,exports[_0x5e93c2(0x3cf)]=je;
@@ -1 +1 @@
1
- 'use strict';const _0x43fa69=_0x90ba;(function(_0x12ec1c,_0x4dcd5e){const _0x2effc5=_0x90ba,_0xf3c08d=_0x12ec1c();while(!![]){try{const _0x31aba9=parseInt(_0x2effc5(0xaf))/0x1*(parseInt(_0x2effc5(0xb5))/0x2)+-parseInt(_0x2effc5(0xbb))/0x3*(-parseInt(_0x2effc5(0xad))/0x4)+parseInt(_0x2effc5(0xb4))/0x5*(parseInt(_0x2effc5(0xc1))/0x6)+parseInt(_0x2effc5(0xb9))/0x7+-parseInt(_0x2effc5(0xbe))/0x8+parseInt(_0x2effc5(0xc5))/0x9+parseInt(_0x2effc5(0xb7))/0xa*(-parseInt(_0x2effc5(0xc3))/0xb);if(_0x31aba9===_0x4dcd5e)break;else _0xf3c08d['push'](_0xf3c08d['shift']());}catch(_0x4dd7ea){_0xf3c08d['push'](_0xf3c08d['shift']());}}}(_0x16f8,0x8a418));function _0x90ba(_0x3c9d43,_0x4764f3){const _0x16f809=_0x16f8();return _0x90ba=function(_0x90ba7d,_0x42a01f){_0x90ba7d=_0x90ba7d-0xad;let _0x3d3626=_0x16f809[_0x90ba7d];return _0x3d3626;},_0x90ba(_0x3c9d43,_0x4764f3);}const e={'collab-client':{'tooltip':{'reconnect':_0x43fa69(0xc0)}},'collabStatus':{'fetchMiss':'Syncing\x20server\x20data...','conflict':_0x43fa69(0xc2),'notCollab':'Local\x20file','synced':'Synced','syncing':_0x43fa69(0xae),'offline':'Offline,\x20edits\x20would\x20be\x20save\x20on\x20local'},'session':{'connection-failed':_0x43fa69(0xbf),'will-retry':_0x43fa69(0xb8),'room-full':_0x43fa69(0xbd),'collaboration-timeout':_0x43fa69(0xb2)},'conflict':{'title':_0x43fa69(0xb0),'content':_0x43fa69(0xbc)},'permission':{'title':_0x43fa69(0xc4),'content':_0x43fa69(0xba)},'collaboration':{'single-unit':{'warning':_0x43fa69(0xb3)},'closeRoom':_0x43fa69(0xb6)},'auth':{'needGotoLoginAlert':'Your\x20login\x20has\x20expired,\x20click\x20OK\x20to\x20re-login,\x20click\x20Cancel\x20to\x20save\x20your\x20local\x20edits.'}};function _0x16f8(){const _0x5d652c=['19554JpnrAY','Edit\x20conflicts','11COuEXE','Authentication\x20Error','44253AHbXZn','76RfMUfm','Syncing...','769237SPUiHb','Collaboration\x20Conflict','exports','The\x20server\x20is\x20not\x20responding\x20to\x20your\x20collaboration\x20request.\x20Your\x20edits\x20would\x20be\x20saved\x20locally.','You\x20opened\x20the\x20same\x20file\x20in\x20another\x20tab.\x20In\x20case\x20of\x20data\x20missing,\x20you\x20cannot\x20edit\x20on\x20this\x20tab.','1205NFlLcG','2BSUALw','Editing\x20privileges\x20were\x20revoked\x20because\x20the\x20collaborative\x20room\x20was\x20closed.','5433050itAYHh','Connection\x20failed,\x20we\x20retry\x20in\x20a\x20while.','1483363QDuRBy','Your\x20actions\x20are\x20conflicting\x20with\x20the\x20server\x27s\x20permissions.\x20Please\x20save\x20your\x20local\x20edits\x20elsewhere\x20as\x20they\x20will\x20be\x20discarded\x20after\x20refreshing\x20the\x20page.','45195AzShFo','There\x20is\x20a\x20conflict\x20between\x20your\x20local\x20copy\x20and\x20the\x20copy\x20on\x20the\x20server.\x20Please\x20save\x20your\x20local\x20edits,\x20because\x20they\x20will\x20be\x20lost\x20when\x20you\x20reload\x20the\x20page.','Collaboration\x20room\x20is\x20full.\x20You\x20edits\x20would\x20be\x20saved\x20locally.','7584928eRVZDT','Connection\x20failed,\x20please\x20check\x20your\x20network.','Click\x20to\x20Reconnect'];_0x16f8=function(){return _0x5d652c;};return _0x16f8();}module[_0x43fa69(0xb1)]=e;
1
+ 'use strict';const _0x5e6bab=_0x3cc4;(function(_0x198358,_0x2c0cb0){const _0x37e40e=_0x3cc4,_0x27a59b=_0x198358();while(!![]){try{const _0x46a41c=parseInt(_0x37e40e(0xc1))/0x1+parseInt(_0x37e40e(0xc2))/0x2*(parseInt(_0x37e40e(0xb7))/0x3)+parseInt(_0x37e40e(0xb8))/0x4+-parseInt(_0x37e40e(0xb2))/0x5*(-parseInt(_0x37e40e(0xb6))/0x6)+parseInt(_0x37e40e(0xbb))/0x7*(-parseInt(_0x37e40e(0xb9))/0x8)+-parseInt(_0x37e40e(0xc3))/0x9+-parseInt(_0x37e40e(0xb1))/0xa*(parseInt(_0x37e40e(0xbf))/0xb);if(_0x46a41c===_0x2c0cb0)break;else _0x27a59b['push'](_0x27a59b['shift']());}catch(_0x4f8744){_0x27a59b['push'](_0x27a59b['shift']());}}}(_0x4805,0xa0921));const e={'collab-client':{'tooltip':{'reconnect':_0x5e6bab(0xaf)}},'collabStatus':{'fetchMiss':_0x5e6bab(0xc4),'conflict':_0x5e6bab(0xbe),'notCollab':'Local\x20file','synced':'Synced','syncing':_0x5e6bab(0xb3),'offline':_0x5e6bab(0xc0)},'session':{'connection-failed':_0x5e6bab(0xb4),'will-retry':'Connection\x20failed,\x20we\x20retry\x20in\x20a\x20while.','room-full':_0x5e6bab(0xc5),'collaboration-timeout':_0x5e6bab(0xb0)},'conflict':{'title':_0x5e6bab(0xba),'content':_0x5e6bab(0xbd)},'permission':{'title':_0x5e6bab(0xbc),'content':'Your\x20actions\x20are\x20conflicting\x20with\x20the\x20server\x27s\x20permissions.\x20Please\x20save\x20your\x20local\x20edits\x20elsewhere\x20as\x20they\x20will\x20be\x20discarded\x20after\x20refreshing\x20the\x20page.'},'collaboration':{'single-unit':{'warning':_0x5e6bab(0xc6)},'closeRoom':_0x5e6bab(0xb5)},'auth':{'needGotoLoginAlert':'Your\x20login\x20has\x20expired,\x20click\x20OK\x20to\x20re-login,\x20click\x20Cancel\x20to\x20save\x20your\x20local\x20edits.'}};function _0x3cc4(_0x400eb8,_0x489742){const _0x480590=_0x4805();return _0x3cc4=function(_0x3cc4d8,_0x58ae41){_0x3cc4d8=_0x3cc4d8-0xaf;let _0x14aff9=_0x480590[_0x3cc4d8];return _0x14aff9;},_0x3cc4(_0x400eb8,_0x489742);}function _0x4805(){const _0x4d78d9=['Syncing...','Connection\x20failed,\x20please\x20check\x20your\x20network.','Editing\x20privileges\x20were\x20revoked\x20because\x20the\x20collaborative\x20room\x20was\x20closed.','164634irsOJR','3124617AEAOLj','578572Cgnwya','657176JIxksE','Collaboration\x20Conflict','7YaxXoX','Authentication\x20Error','There\x20is\x20a\x20conflict\x20between\x20your\x20local\x20copy\x20and\x20the\x20copy\x20on\x20the\x20server.\x20Please\x20save\x20your\x20local\x20edits,\x20because\x20they\x20will\x20be\x20lost\x20when\x20you\x20reload\x20the\x20page.','Edit\x20conflicts','5199799vEUFJz','Offline,\x20edits\x20would\x20be\x20save\x20on\x20local','67503UnUkcA','2HGSFnq','8766522qbatPo','Syncing\x20server\x20data...','Collaboration\x20room\x20is\x20full.\x20You\x20edits\x20would\x20be\x20saved\x20locally.','You\x20opened\x20the\x20same\x20file\x20in\x20another\x20tab.\x20In\x20case\x20of\x20data\x20missing,\x20you\x20cannot\x20edit\x20on\x20this\x20tab.','Click\x20to\x20Reconnect','The\x20server\x20is\x20not\x20responding\x20to\x20your\x20collaboration\x20request.\x20Your\x20edits\x20would\x20be\x20saved\x20locally.','10QZWntQ','170tWvAwL'];_0x4805=function(){return _0x4d78d9;};return _0x4805();}module['exports']=e;