@univerjs-pro/collaboration-client-ui 0.10.13 → 0.10.14-nightly.202511070628

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.
Files changed (49) hide show
  1. package/lib/cjs/facade.js +1 -1
  2. package/lib/cjs/index.js +1 -1
  3. package/lib/cjs/locale/ca-ES.js +1 -1
  4. package/lib/cjs/locale/en-US.js +1 -1
  5. package/lib/cjs/locale/es-ES.js +1 -1
  6. package/lib/cjs/locale/fa-IR.js +1 -1
  7. package/lib/cjs/locale/fr-FR.js +1 -1
  8. package/lib/cjs/locale/ko-KR.js +1 -1
  9. package/lib/cjs/locale/ru-RU.js +1 -1
  10. package/lib/cjs/locale/vi-VN.js +1 -1
  11. package/lib/cjs/locale/zh-CN.js +1 -1
  12. package/lib/cjs/locale/zh-TW.js +1 -1
  13. package/lib/es/facade.js +1 -1
  14. package/lib/es/index.js +1 -1
  15. package/lib/es/locale/ca-ES.js +1 -1
  16. package/lib/es/locale/en-US.js +1 -1
  17. package/lib/es/locale/es-ES.js +1 -1
  18. package/lib/es/locale/fa-IR.js +1 -1
  19. package/lib/es/locale/fr-FR.js +1 -1
  20. package/lib/es/locale/ko-KR.js +1 -1
  21. package/lib/es/locale/ru-RU.js +1 -1
  22. package/lib/es/locale/vi-VN.js +1 -1
  23. package/lib/es/locale/zh-CN.js +1 -1
  24. package/lib/es/locale/zh-TW.js +1 -1
  25. package/lib/facade.js +1 -1
  26. package/lib/index.js +1 -1
  27. package/lib/locale/ca-ES.js +1 -1
  28. package/lib/locale/en-US.js +1 -1
  29. package/lib/locale/es-ES.js +1 -1
  30. package/lib/locale/fa-IR.js +1 -1
  31. package/lib/locale/fr-FR.js +1 -1
  32. package/lib/locale/ko-KR.js +1 -1
  33. package/lib/locale/ru-RU.js +1 -1
  34. package/lib/locale/vi-VN.js +1 -1
  35. package/lib/locale/zh-CN.js +1 -1
  36. package/lib/locale/zh-TW.js +1 -1
  37. package/lib/umd/facade.js +1 -1
  38. package/lib/umd/index.js +1 -1
  39. package/lib/umd/locale/ca-ES.js +1 -1
  40. package/lib/umd/locale/en-US.js +1 -1
  41. package/lib/umd/locale/es-ES.js +1 -1
  42. package/lib/umd/locale/fa-IR.js +1 -1
  43. package/lib/umd/locale/fr-FR.js +1 -1
  44. package/lib/umd/locale/ko-KR.js +1 -1
  45. package/lib/umd/locale/ru-RU.js +1 -1
  46. package/lib/umd/locale/vi-VN.js +1 -1
  47. package/lib/umd/locale/zh-CN.js +1 -1
  48. package/lib/umd/locale/zh-TW.js +1 -1
  49. package/package.json +18 -18
package/lib/umd/index.js CHANGED
@@ -1 +1 @@
1
- (function(_0x386fea,_0x2a89ef){const _0x227a7f=_0x5580,_0x4c3531=_0x386fea();while(!![]){try{const _0x26754c=parseInt(_0x227a7f(0x2a3))/0x1*(-parseInt(_0x227a7f(0x21e))/0x2)+-parseInt(_0x227a7f(0x2d0))/0x3+-parseInt(_0x227a7f(0x39a))/0x4+parseInt(_0x227a7f(0x2ac))/0x5*(parseInt(_0x227a7f(0x1b5))/0x6)+parseInt(_0x227a7f(0x20d))/0x7*(parseInt(_0x227a7f(0x1d5))/0x8)+-parseInt(_0x227a7f(0x17b))/0x9+parseInt(_0x227a7f(0x255))/0xa;if(_0x26754c===_0x2a89ef)break;else _0x4c3531['push'](_0x4c3531['shift']());}catch(_0x2c593d){_0x4c3531['push'](_0x4c3531['shift']());}}}(_0x3c7d,0x4a1ce),function(_0x417c5e,_0x2c0fef){const _0x6d326b=_0x5580;typeof exports==_0x6d326b(0x303)&&typeof module<'u'?_0x2c0fef(exports,require('react/jsx-runtime'),require('@univerjs-pro/collaboration-client'),require('@univerjs/core'),require('@univerjs/ui'),require('rxjs'),require('@univerjs/design'),require('react'),require('@univerjs/rpc'),require('@univerjs/sheets'),require('@univerjs/engine-render'),require('@univerjs/network'),require('@univerjs/docs-ui'),require('@univerjs/drawing'),require('@univerjs-pro/collaboration'),require('@univerjs/docs'),require('@univerjs/engine-formula'),require('rxjs/operators'),require('@univerjs/sheets-ui')):typeof define==_0x6d326b(0x2df)&&define[_0x6d326b(0x1ba)]?define([_0x6d326b(0x237),_0x6d326b(0x1e2),_0x6d326b(0x183),'@univerjs/core',_0x6d326b(0x361),_0x6d326b(0x290),_0x6d326b(0x2b7),'react',_0x6d326b(0x1b2),_0x6d326b(0x199),_0x6d326b(0x1c7),'@univerjs/network',_0x6d326b(0x409),_0x6d326b(0x25f),_0x6d326b(0x3db),'@univerjs/docs',_0x6d326b(0x36e),_0x6d326b(0x2c8),_0x6d326b(0x397)],_0x2c0fef):(_0x417c5e=typeof globalThis<'u'?globalThis:_0x417c5e||self,_0x2c0fef(_0x417c5e['UniverProCollaborationClientUi']={},_0x417c5e['React'],_0x417c5e[_0x6d326b(0x329)],_0x417c5e[_0x6d326b(0x32e)],_0x417c5e[_0x6d326b(0x29c)],_0x417c5e['rxjs'],_0x417c5e['UniverDesign'],_0x417c5e['React'],_0x417c5e['UniverRpc'],_0x417c5e[_0x6d326b(0x24f)],_0x417c5e['UniverEngineRender'],_0x417c5e[_0x6d326b(0x2f1)],_0x417c5e['UniverDocsUi'],_0x417c5e[_0x6d326b(0x34c)],_0x417c5e[_0x6d326b(0x279)],_0x417c5e[_0x6d326b(0x43e)],_0x417c5e[_0x6d326b(0x2ff)],_0x417c5e['rxjs'][_0x6d326b(0x40e)],_0x417c5e[_0x6d326b(0x354)]));}(this,function(_0xc9a868,_0x20a652,_0x4a9508,_0x3446be,_0x1e2f17,_0xc33fa7,_0x5d7915,_0x2043a3,_0x2d183c,_0x2c6e97,_0x154eb1,_0x37d0f4,_0x4262be,_0x16331e,_0x5ee43a,_0x4cdd99,_0x5777d0,_0x1b2b92,_0x244403){'use strict';const _0x479db0=_0x5580;var _0x595ce3=Object[_0x479db0(0x204)],_0x5bcb43=(_0x52debf,_0x580fce,_0x2312f8)=>_0x580fce in _0x52debf?_0x595ce3(_0x52debf,_0x580fce,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x2312f8}):_0x52debf[_0x580fce]=_0x2312f8,_0x4b5aa6=(_0x22d2e1,_0x52d92e,_0x5245ec)=>_0x5bcb43(_0x22d2e1,typeof _0x52d92e!='symbol'?_0x52d92e+'':_0x52d92e,_0x5245ec);function _0x5c6345({ref:_0x3149cb,..._0xb090da}){const _0x5d7540=_0x479db0,{icon:_0x13e176,id:_0x5439c6,className:_0x227df9,extend:_0x5174c2,..._0x3288e3}=_0xb090da,_0x5df03d=(_0x5d7540(0x22f)+_0x5439c6+'\x20'+(_0x227df9||''))[_0x5d7540(0x2e3)](),_0x568eda=_0x2043a3[_0x5d7540(0x27d)]('_'+_0x24f240());return _0xf5fa4e(_0x13e176,''+_0x5439c6,{'defIds':_0x13e176[_0x5d7540(0x382)],'idSuffix':_0x568eda['current']},{'ref':_0x3149cb,'className':_0x5df03d,..._0x3288e3},_0x5174c2);}function _0xf5fa4e(_0x41117b,_0x48197d,_0x19f007,_0x2b0f8c,_0x13b5d8){const _0x393d3c=_0x479db0;return _0x2043a3['createElement'](_0x41117b['tag'],{'key':_0x48197d,..._0x64861a(_0x41117b,_0x19f007,_0x13b5d8),..._0x2b0f8c},(_0x27bef3(_0x41117b,_0x19f007)[_0x393d3c(0x364)]||[])['map']((_0xe1a76e,_0x145ef1)=>_0xf5fa4e(_0xe1a76e,_0x48197d+'-'+_0x41117b[_0x393d3c(0x1e9)]+'-'+_0x145ef1,_0x19f007,void 0x0,_0x13b5d8)));}function _0x64861a(_0x233ae1,_0x374933,_0x13adae){const _0x500135=_0x479db0,_0x2b9e79={..._0x233ae1[_0x500135(0x292)]};_0x13adae!=null&&_0x13adae[_0x500135(0x43f)]&&_0x2b9e79[_0x500135(0x328)]===_0x500135(0x43f)&&(_0x2b9e79[_0x500135(0x328)]=_0x13adae[_0x500135(0x43f)]),_0x233ae1[_0x500135(0x1e9)]===_0x500135(0x3f1)&&_0x2b9e79['id']&&(_0x2b9e79['id']=_0x2b9e79['id']+_0x374933[_0x500135(0x375)]),Object[_0x500135(0x2bc)](_0x2b9e79)[_0x500135(0x1ac)](([_0x276e25,_0x2f19fc])=>{const _0x247865=_0x500135;_0x276e25===_0x247865(0x3f1)&&typeof _0x2f19fc=='string'&&(_0x2b9e79[_0x276e25]=_0x2f19fc['replace'](/url\(#(.*)\)/,_0x247865(0x2ec)+_0x374933['idSuffix']+')'));});const {defIds:_0x290e87}=_0x374933;return!_0x290e87||_0x290e87['length']===0x0||(_0x233ae1[_0x500135(0x1e9)]===_0x500135(0x289)&&_0x2b9e79[_0x500135(0x2fb)]&&(_0x2b9e79['xlink:href']=_0x2b9e79['xlink:href']+_0x374933['idSuffix']),Object[_0x500135(0x2bc)](_0x2b9e79)[_0x500135(0x1ac)](([_0x24e969,_0x233480])=>{const _0x477011=_0x500135;typeof _0x233480=='string'&&(_0x2b9e79[_0x24e969]=_0x233480[_0x477011(0x1bf)](/url\(#(.*)\)/,_0x477011(0x2ec)+_0x374933[_0x477011(0x375)]+')'));})),_0x2b9e79;}function _0x27bef3(_0x150212,_0x510b9f){const _0x43239a=_0x479db0;var _0x518f22;const {defIds:_0x11d9a5}=_0x510b9f;return!_0x11d9a5||_0x11d9a5[_0x43239a(0x27b)]===0x0?_0x150212:_0x150212['tag']===_0x43239a(0x20e)&&((_0x518f22=_0x150212[_0x43239a(0x364)])!=null&&_0x518f22[_0x43239a(0x27b)])?{..._0x150212,'children':_0x150212[_0x43239a(0x364)][_0x43239a(0x2dc)](_0x29a1da=>typeof _0x29a1da[_0x43239a(0x292)]['id']=='string'&&_0x11d9a5&&_0x11d9a5[_0x43239a(0x1a1)](_0x29a1da['attrs']['id'])?{..._0x29a1da,'attrs':{..._0x29a1da['attrs'],'id':_0x29a1da[_0x43239a(0x292)]['id']+_0x510b9f[_0x43239a(0x375)]}}:_0x29a1da)}:_0x150212;}function _0x24f240(){const _0x83f978=_0x479db0;return Math[_0x83f978(0x3ac)]()[_0x83f978(0x42e)](0x24)['substring'](0x2,0x8);}_0x5c6345['displayName']=_0x479db0(0x268);const _0x38dcb3={'tag':_0x479db0(0x2f0),'attrs':{'xmlns':_0x479db0(0x3dc),'fill':_0x479db0(0x414),'viewBox':_0x479db0(0x28d),'width':_0x479db0(0x3a9),'height':_0x479db0(0x3a9)},'children':[{'tag':'g','attrs':{'clipPath':_0x479db0(0x209)},'children':[{'tag':'path','attrs':{'stroke':_0x479db0(0x324),'d':_0x479db0(0x230),'strokeLinecap':_0x479db0(0x333),'strokeLinejoin':_0x479db0(0x333),'strokeWidth':1.2}}]},{'tag':_0x479db0(0x20e),'attrs':{},'children':[{'tag':_0x479db0(0x332),'attrs':{'id':'off-line-icon_clip0_910_343'},'children':[{'tag':_0x479db0(0x3c6),'attrs':{'fill':_0x479db0(0x31e),'d':'M0\x200H16V16H0z'}}]}]}],'defIds':[_0x479db0(0x3e4)]},_0x14d66c=_0x2043a3['forwardRef'](function(_0x2c084b,_0x2502df){const _0x196bad=_0x479db0;return _0x2043a3[_0x196bad(0x345)](_0x5c6345,Object[_0x196bad(0x30a)]({},_0x2c084b,{'id':_0x196bad(0x206),'ref':_0x2502df,'icon':_0x38dcb3}));});_0x14d66c['displayName']=_0x479db0(0x1b8);const _0x28fb36={'tag':_0x479db0(0x2f0),'attrs':{'xmlns':_0x479db0(0x3dc),'fill':_0x479db0(0x414),'viewBox':_0x479db0(0x3f7),'width':'1em','height':_0x479db0(0x3a9)},'children':[{'tag':'g','attrs':{'clipPath':_0x479db0(0x1a5)},'children':[{'tag':_0x479db0(0x3c6),'attrs':{'stroke':_0x479db0(0x324),'d':_0x479db0(0x425),'strokeLinecap':_0x479db0(0x333),'strokeLinejoin':_0x479db0(0x333),'strokeWidth':1.2}}]},{'tag':_0x479db0(0x20e),'attrs':{},'children':[{'tag':_0x479db0(0x332),'attrs':{'id':_0x479db0(0x1dc)},'children':[{'tag':'path','attrs':{'fill':_0x479db0(0x31e),'d':'M0\x200H16V16H0z','transform':_0x479db0(0x396)}}]}]}],'defIds':[_0x479db0(0x1dc)]},_0x30f104=_0x2043a3[_0x479db0(0x428)](function(_0x27ba27,_0x3e3765){const _0x542e79=_0x479db0;return _0x2043a3['createElement'](_0x5c6345,Object['assign']({},_0x27ba27,{'id':_0x542e79(0x287),'ref':_0x3e3765,'icon':_0x28fb36}));});_0x30f104['displayName']=_0x479db0(0x222);function _0x42956b(_0x39c57d){const _0x2cc966=_0x479db0;switch(_0x39c57d){case _0x4a9508['CollaborationStatus'][_0x2cc966(0x385)]:return _0x2cc966(0x1a9);case _0x4a9508[_0x2cc966(0x3c2)]['CONFLICT']:return'collabStatus.conflict';case _0x4a9508['CollaborationStatus'][_0x2cc966(0x296)]:return _0x2cc966(0x1a4);case _0x4a9508['CollaborationStatus'][_0x2cc966(0x2e9)]:return _0x2cc966(0x29e);case _0x4a9508[_0x2cc966(0x3c2)]['AWAITING']:case _0x4a9508['CollaborationStatus']['AWAITING_WITH_PENDING']:return _0x2cc966(0x286);case _0x4a9508[_0x2cc966(0x3c2)][_0x2cc966(0x41d)]:case _0x4a9508['CollaborationStatus'][_0x2cc966(0x21d)]:return _0x2cc966(0x21a);}}function _0x485d9a(_0x4c2c40){const _0x273497=_0x479db0,{status$:_0x1fe7f9}=_0x4c2c40,_0x5dd144=_0x1e2f17[_0x273497(0x3f5)](_0x1fe7f9,_0x4a9508[_0x273497(0x3c2)]['NOT_COLLAB']),_0x4c9674=_0x1e2f17[_0x273497(0x33f)](_0x3446be['LocaleService']),_0x531188=_0x1e2f17[_0x273497(0x33f)](_0x4a9508[_0x273497(0x1ff)]),_0x5740e4=_0x5dd144!==_0x4a9508[_0x273497(0x3c2)][_0x273497(0x385)],_0x30ce04=_0x4c9674['t'](_0x42956b(_0x5dd144)),_0x43f86d=_0x5740e4?_0x20a652[_0x273497(0x395)](_0x30f104,{}):_0x20a652['jsx'](_0x14d66c,{}),_0x25eebb=_0x2043a3['useCallback'](()=>{const _0x5cb051=_0x273497;_0x5740e4||_0x531188[_0x5cb051(0x2b4)]();},[_0x5740e4,_0x531188]);function _0x4cf53b(){const _0x18dfb3=_0x273497;return _0x20a652['jsxs'](_0x18dfb3(0x43d),{'className':_0x18dfb3(0x3a6),'onClick':_0x25eebb,'children':[_0x20a652[_0x18dfb3(0x395)](_0x18dfb3(0x43d),{'className':_0x5d7915[_0x18dfb3(0x30b)]('univer-mr-2\x20univer-flex\x20univer-text-xl',{'univer-text-green-500':_0x5740e4,'univer-text-red-500':!_0x5740e4}),'children':_0x43f86d}),_0x20a652['jsx'](_0x18dfb3(0x43d),{'className':_0x18dfb3(0x350),'children':_0x30ce04})]});}return _0x5740e4?_0x4cf53b():_0x20a652['jsx'](_0x5d7915['Tooltip'],{'title':_0x4c9674['t'](_0x273497(0x220)),'children':_0x4cf53b()});}var _0x2a186d=Object[_0x479db0(0x179)],_0x5b897a=(_0x4a24df,_0x1ee15f,_0x24a2ce,_0x12055e)=>{for(var _0x3e2e21=_0x12055e>0x1?void 0x0:_0x12055e?_0x2a186d(_0x1ee15f,_0x24a2ce):_0x1ee15f,_0x576911=_0x4a24df['length']-0x1,_0x4d04de;_0x576911>=0x0;_0x576911--)(_0x4d04de=_0x4a24df[_0x576911])&&(_0x3e2e21=_0x4d04de(_0x3e2e21)||_0x3e2e21);return _0x3e2e21;},_0x29bd63=(_0x5e53ab,_0x29f77a)=>(_0x451e2f,_0x3198cb)=>_0x29f77a(_0x451e2f,_0x3198cb,_0x5e53ab);_0xc9a868[_0x479db0(0x218)]=class extends _0x3446be['Disposable']{constructor(_0x39f49d,_0x10513a,_0x30dc49,_0x3e8d29){const _0x1cb44f=_0x479db0;super(),_0x4b5aa6(this,_0x1cb44f(0x3e0),new _0xc33fa7[(_0x1cb44f(0x41f))](_0x4a9508['CollaborationStatus'][_0x1cb44f(0x2e9)])),(this[_0x1cb44f(0x221)]=_0x39f49d,this['_injector']=_0x10513a,this[_0x1cb44f(0x3ca)]=_0x30dc49,this['_uiPartsService']=_0x3e8d29,this[_0x1cb44f(0x3bc)](),this[_0x1cb44f(0x3eb)]());}[_0x479db0(0x3eb)](){const _0x333d29=_0x479db0;this[_0x333d29(0x275)](this[_0x333d29(0x221)][_0x333d29(0x3ed)][_0x333d29(0x1da)](_0xc33fa7['switchMap'](()=>{const _0x11209c=_0x333d29,_0x411cc8=this['_univerInstanceService']['getFocusedUnit']();return _0x411cc8?this['_collaborationController'][_0x11209c(0x38c)](_0x411cc8[_0x11209c(0x346)]()):_0xc33fa7['of'](null);}),_0xc33fa7[_0x333d29(0x413)](_0x306f47=>_0x306f47?_0x306f47[_0x333d29(0x231)]:_0xc33fa7['of'](_0x4a9508[_0x333d29(0x3c2)]['NOT_COLLAB'])))['subscribe'](_0x377a3f=>{const _0x43bd8a=_0x333d29;this['_status$'][_0x43bd8a(0x1d1)](_0x377a3f);}));}[_0x479db0(0x3bc)](){const _0x457d5d=_0x479db0;this[_0x457d5d(0x275)](this[_0x457d5d(0x349)][_0x457d5d(0x227)](_0x1e2f17['BuiltInUIPart']['HEADER_MENU'],()=>_0x1e2f17[_0x457d5d(0x3d3)](_0x115c67({'status$':this['_status$'][_0x457d5d(0x42d)]()}),this[_0x457d5d(0x23c)])));}},_0xc9a868[_0x479db0(0x218)]=_0x5b897a([_0x29bd63(0x0,_0x3446be[_0x479db0(0x2b5)]),_0x29bd63(0x1,_0x3446be[_0x479db0(0x21b)](_0x3446be[_0x479db0(0x195)])),_0x29bd63(0x2,_0x3446be[_0x479db0(0x21b)](_0x4a9508[_0x479db0(0x198)])),_0x29bd63(0x3,_0x1e2f17[_0x479db0(0x210)])],_0xc9a868['DesktopCollaborationStatusDisplayController']);function _0x115c67(_0x519034){const {status$:_0x514f16}=_0x519034;return function(){const _0x4df524=_0x5580;return _0x20a652[_0x4df524(0x395)](_0x485d9a,{'status$':_0x514f16});};}const _0x413167=_0x3446be['createIdentifier'](_0x479db0(0x1e4));var _0x5abc15=Object['getOwnPropertyDescriptor'],_0x1df046=(_0x227c0d,_0x4748d8,_0x4fa05d,_0x50873a)=>{const _0x452862=_0x479db0;for(var _0x562f6f=_0x50873a>0x1?void 0x0:_0x50873a?_0x5abc15(_0x4748d8,_0x4fa05d):_0x4748d8,_0x15e485=_0x227c0d[_0x452862(0x27b)]-0x1,_0x1604eb;_0x15e485>=0x0;_0x15e485--)(_0x1604eb=_0x227c0d[_0x15e485])&&(_0x562f6f=_0x1604eb(_0x562f6f)||_0x562f6f);return _0x562f6f;},_0x527960=(_0x1f0b0c,_0x21aa74)=>(_0x30dacc,_0x594024)=>_0x21aa74(_0x30dacc,_0x594024,_0x1f0b0c);_0xc9a868[_0x479db0(0x2e4)]=class extends _0x3446be['RxDisposable']{constructor(_0x32986c,_0x4c58f6,_0x301503,_0x518e0f,_0x26246){const _0x3fc2de=_0x479db0;super(),this[_0x3fc2de(0x298)]=_0x32986c,this['_logService']=_0x4c58f6,this[_0x3fc2de(0x1ca)]=_0x301503,this[_0x3fc2de(0x3be)]=_0x518e0f,_0x26246?_0x26246==null||_0x26246[_0x3fc2de(0x386)]()['then'](()=>this[_0x3fc2de(0x240)]()):(this[_0x3fc2de(0x177)][_0x3fc2de(0x2b0)](_0x3fc2de(0x3c7),_0x3fc2de(0x360)),this[_0x3fc2de(0x240)]());}async[_0x479db0(0x240)](){const _0x5cad6a=_0x479db0,_0x43aea4=this[_0x5cad6a(0x298)][_0x5cad6a(0x18d)](_0x5cad6a(0x241)),_0x248414=this[_0x5cad6a(0x298)][_0x5cad6a(0x18d)]('type'),_0x2d956e=this[_0x5cad6a(0x298)]['getParam'](_0x5cad6a(0x3d8));if(!_0x43aea4||!_0x248414){this[_0x5cad6a(0x177)]['debug']('[CollaborationDataLoaderController]',_0x5cad6a(0x1ee));return;}const _0x53c801=await this[_0x5cad6a(0x3be)]['loadUnit'](_0x43aea4,Number(_0x248414),_0x2d956e);_0x53c801&&_0x53c801 instanceof _0x3446be['Workbook']&&this[_0x5cad6a(0x36d)](_0x53c801);}async[_0x479db0(0x36d)](_0x3c457d){const _0xef8038=_0x479db0;await this[_0xef8038(0x3c4)](_0x3c457d),_0x3c457d['activeSheet$'][_0xef8038(0x1da)](_0xc33fa7[_0xef8038(0x2f3)](this[_0xef8038(0x3af)]))['subscribe'](_0x59d752=>{const _0x46413b=_0xef8038;_0x59d752&&this[_0x46413b(0x1c0)](_0x59d752);}),this[_0xef8038(0x298)]['urlChange$'][_0xef8038(0x1da)](_0xc33fa7['takeUntil'](this['dispose$']))[_0xef8038(0x1b3)](()=>this[_0xef8038(0x3c4)](_0x3c457d));}['_updateURLWithCurrentState'](_0x448612,_0x2d9ba9=!0x1){const _0x51f55e=_0x479db0,_0x46683c=this[_0x51f55e(0x298)][_0x51f55e(0x18d)](_0x51f55e(0x3d8));_0x448612[_0x51f55e(0x249)]()!==_0x46683c&&this[_0x51f55e(0x298)][_0x51f55e(0x24e)](_0x51f55e(0x3d8),_0x448612['getSheetId'](),_0x2d9ba9);}async[_0x479db0(0x3c4)](_0x2e53e4){const _0x391131=_0x479db0;var _0x532300;const _0x273216=this[_0x391131(0x298)][_0x391131(0x18d)](_0x391131(0x3d8));if(!_0x273216||!_0x2e53e4[_0x391131(0x394)](_0x273216)){const _0x5a5d73=_0x2e53e4[_0x391131(0x3c5)]()[0x0],_0x4286dc=_0x2e53e4[_0x391131(0x394)](_0x5a5d73);if(!_0x4286dc)return;this[_0x391131(0x1c0)](_0x4286dc,!0x0),await this[_0x391131(0x1ca)][_0x391131(0x1cf)](_0x2c6e97['SetWorksheetActivateCommand']['id'],{'unitId':_0x2e53e4[_0x391131(0x346)](),'subUnitId':_0x5a5d73});return;}((_0x532300=_0x2e53e4[_0x391131(0x185)]())==null?void 0x0:_0x532300[_0x391131(0x249)]())!==_0x273216&&await this[_0x391131(0x1ca)]['executeCommand'](_0x2c6e97[_0x391131(0x316)]['id'],{'unitId':_0x2e53e4[_0x391131(0x346)](),'subUnitId':_0x273216});}},_0xc9a868['CollaborationDataLoaderController']=_0x1df046([_0x527960(0x0,_0x413167),_0x527960(0x1,_0x3446be[_0x479db0(0x438)]),_0x527960(0x2,_0x3446be[_0x479db0(0x3ef)]),_0x527960(0x3,_0x3446be[_0x479db0(0x21b)](_0x4a9508[_0x479db0(0x213)])),_0x527960(0x4,_0x3446be[_0x479db0(0x2f2)](_0x2d183c[_0x479db0(0x23a)]))],_0xc9a868[_0x479db0(0x2e4)]);var _0x3b76e5=Object['getOwnPropertyDescriptor'],_0x4b8cb1=(_0x2a3358,_0x5181cd,_0x319d19,_0x59f615)=>{const _0x20a54f=_0x479db0;for(var _0x4517d2=_0x59f615>0x1?void 0x0:_0x59f615?_0x3b76e5(_0x5181cd,_0x319d19):_0x5181cd,_0x3ed4c3=_0x2a3358[_0x20a54f(0x27b)]-0x1,_0x9daa39;_0x3ed4c3>=0x0;_0x3ed4c3--)(_0x9daa39=_0x2a3358[_0x3ed4c3])&&(_0x4517d2=_0x9daa39(_0x4517d2)||_0x4517d2);return _0x4517d2;},_0xaf962e=(_0x2cbcd2,_0x4d5a6b)=>(_0x316d38,_0xef6549)=>_0x4d5a6b(_0x316d38,_0xef6549,_0x2cbcd2);let _0x1e3e26=class extends _0x3446be[_0x479db0(0x315)]{constructor(_0x2dd1ec,_0x566e57){const _0x3c9e37=_0x479db0;super(),this['_docClipboardService']=_0x2dd1ec,this[_0x3c9e37(0x184)]=_0x566e57,this[_0x3c9e37(0x240)]();}[_0x479db0(0x240)](){const _0xbd430f=_0x479db0,_0x565ddf=this;this[_0xbd430f(0x275)](this[_0xbd430f(0x2b6)][_0xbd430f(0x43c)]({'onBeforePasteImage':async _0xc27de0=>{const _0x15369d=_0xbd430f,_0x401d93=await _0x565ddf[_0x15369d(0x184)][_0x15369d(0x423)](_0xc27de0);return _0x401d93?{'source':_0x401d93[_0x15369d(0x2d9)],'imageSourceType':_0x401d93[_0x15369d(0x426)]}:null;}}));}};_0x1e3e26=_0x4b8cb1([_0xaf962e(0x0,_0x4262be[_0x479db0(0x265)]),_0xaf962e(0x1,_0x16331e[_0x479db0(0x207)])],_0x1e3e26);const _0x13ca5c=[_0x479db0(0x37e),_0x479db0(0x18e),'green.600',_0x479db0(0x327),'blue.400',_0x479db0(0x264)];class _0x324f05 extends _0x3446be['Disposable']{constructor(){const _0x248d76=_0x479db0;super(...arguments),_0x4b5aa6(this,_0x248d76(0x34f),new Map()),_0x4b5aa6(this,'_colorIndex',0x0);}[_0x479db0(0x260)](_0x5048aa){const _0x3373ef=_0x479db0;if(this[_0x3373ef(0x34f)][_0x3373ef(0x408)](_0x5048aa))return this['_assignedColors'][_0x3373ef(0x18f)](_0x5048aa);const _0x1a33d1=_0x13ca5c[this[_0x3373ef(0x1f5)]];return this[_0x3373ef(0x1f5)]=(this['_colorIndex']+0x1)%_0x13ca5c[_0x3373ef(0x27b)],this[_0x3373ef(0x34f)][_0x3373ef(0x1c9)](_0x5048aa,_0x1a33d1),_0x1a33d1;}}function _0x50d575(_0x2efb2b){let _0x15ca1c='';for(const _0x5083f4 of _0x2efb2b){const {startOffset:_0x2f4fd4,endOffset:_0x1e43df,isActive:_0x496d21,rangeType:_0x169c83,segmentId:_0x3a8dd3,segmentPage:_0x832001}=_0x5083f4;_0x15ca1c['length']&&(_0x15ca1c+=','),_0x15ca1c+=_0x2f4fd4+':'+_0x1e43df+':'+(_0x496d21?'1':'0')+':'+_0x169c83+':'+_0x3a8dd3+':'+_0x832001;}return _0x15ca1c;}function _0x84b029(_0x243095){const _0x577908=_0x479db0,_0x1811cd=_0x243095[_0x577908(0x190)](','),_0x26b100=[];for(const _0xc3341a of _0x1811cd){const [_0x46314e,_0x5ab3a6,_0x2c867d,_0x452cd4,_0x32a971,_0x3e14a9]=_0xc3341a[_0x577908(0x190)](':');_0x26b100['push']({'startOffset':Number(_0x46314e),'endOffset':Number(_0x5ab3a6),'collapsed':_0x46314e===_0x5ab3a6,'isActive':_0x2c867d==='1','rangeType':_0x452cd4===_0x3446be['DOC_RANGE_TYPE'][_0x577908(0x3fa)]?_0x3446be[_0x577908(0x3f6)]['TEXT']:_0x3446be[_0x577908(0x3f6)]['RECT'],'segmentId':typeof _0x32a971==_0x577908(0x30d)?String(_0x32a971):'','segmentPage':Number(_0x3e14a9!=null?_0x3e14a9:-0x1)});}return _0x26b100[_0x577908(0x273)](_0x55f26a=>_0x55f26a[_0x577908(0x2c5)])||(_0x26b100[0x0][_0x577908(0x2c5)]=!0x0),_0x26b100;}class _0x35b0b1 extends _0x3446be[_0x479db0(0x315)]{constructor(){const _0x59567e=_0x479db0;super(...arguments),_0x4b5aa6(this,_0x59567e(0x1cd),new _0xc33fa7[(_0x59567e(0x41f))](null)),_0x4b5aa6(this,_0x59567e(0x1f1),this[_0x59567e(0x1cd)]['asObservable']());}['syncEditingCollabCursor'](_0x4e5028){const _0x53c753=_0x479db0,{unitID:_0x5551c4,memberID:_0x4516da,textRanges:_0x453c3b}=_0x4e5028,_0x1870b5=_0x50d575(_0x453c3b);if(_0x1870b5==='')return;const _0x58f84d={'unitID':_0x5551c4,'memberID':_0x4516da,'selection':_0x1870b5};this[_0x53c753(0x1cd)][_0x53c753(0x1d1)](_0x58f84d);}}var _0x368865=Object[_0x479db0(0x179)],_0x58338c=(_0xd678f0,_0x5d9db2,_0x21d942,_0x26ba33)=>{const _0xba356b=_0x479db0;for(var _0x4554e6=_0x26ba33>0x1?void 0x0:_0x26ba33?_0x368865(_0x5d9db2,_0x21d942):_0x5d9db2,_0x2073ae=_0xd678f0[_0xba356b(0x27b)]-0x1,_0x42f716;_0x2073ae>=0x0;_0x2073ae--)(_0x42f716=_0xd678f0[_0x2073ae])&&(_0x4554e6=_0x42f716(_0x4554e6)||_0x4554e6);return _0x4554e6;},_0x43f854=(_0x29d4ce,_0x314cb5)=>(_0x4b035a,_0x1b00cf)=>_0x314cb5(_0x4b035a,_0x1b00cf,_0x29d4ce);const _0x4e230c=0x12c,_0x1852d0=0x64;let _0x4a247a=class extends _0x3446be[_0x479db0(0x315)]{constructor(_0x453efc,_0x31fb8d,_0x468739,_0x4dd21e,_0x3ee11f,_0x546c74,_0x26d1d4,_0x30586d,_0x4dec37){const _0x3d97d4=_0x479db0;super(),_0x4b5aa6(this,_0x3d97d4(0x373),!0x1),_0x4b5aa6(this,_0x3d97d4(0x240),!0x1),_0x4b5aa6(this,'_cursorInfo$',new _0xc33fa7[(_0x3d97d4(0x41f))](new Map())),_0x4b5aa6(this,'cursorInfo$',this[_0x3d97d4(0x266)][_0x3d97d4(0x42d)]()),_0x4b5aa6(this,_0x3d97d4(0x19d),new _0xc33fa7['BehaviorSubject']([])),_0x4b5aa6(this,_0x3d97d4(0x3f9),this['_roomMembers$']['pipe'](_0xc33fa7['debounceTime'](_0x4e230c))),_0x4b5aa6(this,_0x3d97d4(0x277),_0x3446be[_0x3d97d4(0x1bb)](_0x291bff=>{const _0x5c05e7=_0x3d97d4,_0x14b6f1={'eventID':_0x5ee43a['CollaborationEvent'][_0x5c05e7(0x186)],'data':{'unitID':this['unitID'],'memberID':this[_0x5c05e7(0x318)][_0x5c05e7(0x35b)](),'selection':_0x50d575(_0x291bff)}};this['_session'][_0x5c05e7(0x440)](_0x14b6f1,this['unitID']);},_0x1852d0)),(this['unitID']=_0x453efc,this[_0x3d97d4(0x318)]=_0x31fb8d,this[_0x3d97d4(0x23c)]=_0x468739,this['_colorAssignService']=_0x4dd21e,this[_0x3d97d4(0x2c4)]=_0x3ee11f,this[_0x3d97d4(0x3bd)]=_0x546c74,this[_0x3d97d4(0x3aa)]=_0x26d1d4,this['_univerInstanceService']=_0x30586d,this[_0x3d97d4(0x1ca)]=_0x4dec37);}get[_0x479db0(0x294)](){const _0x563ca7=_0x479db0;return this[_0x563ca7(0x266)][_0x563ca7(0x424)]();}get[_0x479db0(0x31d)](){return this['_roomMembers$']['getValue']();}[_0x479db0(0x40d)](){const _0x10ae52=_0x479db0;super['dispose'](),this[_0x10ae52(0x266)][_0x10ae52(0x1d1)](new Map()),this[_0x10ae52(0x266)]['complete'](),this[_0x10ae52(0x19d)][_0x10ae52(0x1d1)]([]),this['_roomMembers$'][_0x10ae52(0x3d2)]();}[_0x479db0(0x357)](){const _0xf208c1=_0x479db0;this[_0xf208c1(0x240)]||(this['_init']=!0x0,this['_session'][_0xf208c1(0x201)][_0xf208c1(0x1da)](_0xc33fa7[_0xf208c1(0x2f3)](this[_0xf208c1(0x3af)]))['subscribe'](_0x332f9c=>{const _0x2c4577=_0xf208c1;_0x332f9c===_0x4a9508[_0x2c4577(0x38f)][_0x2c4577(0x29d)]?this['_toggleOnline']():this[_0x2c4577(0x319)]();}),this[_0xf208c1(0x318)][_0xf208c1(0x3b2)][_0xf208c1(0x1da)](_0xc33fa7['takeUntil'](this[_0xf208c1(0x3af)]))['subscribe'](_0x1d5b32=>{const _0xc1cd41=_0xf208c1,_0x53deea=_0x1d5b32[_0xc1cd41(0x421)];_0x53deea===_0x5ee43a[_0xc1cd41(0x3f8)][_0xc1cd41(0x186)]&&this['_onCursorUpdate'](_0x1d5b32),_0x53deea===_0x5ee43a[_0xc1cd41(0x3f8)][_0xc1cd41(0x2ab)]&&this['_onCursorDelete'](_0x1d5b32);}),this[_0xf208c1(0x275)](this['_commandService']['onCommandExecuted'](_0x36f534=>{const _0x291962=_0xf208c1,_0x5aa998=_0x36f534[_0x291962(0x2b2)];_0x5aa998!=null&&this[_0x291962(0x373)]&&_0x36f534['id']===_0x4cdd99['SetTextSelectionsOperation']['id']&&_0x5aa998[_0x291962(0x404)]===this[_0x291962(0x180)]&&_0x5aa998[_0x291962(0x24b)]===!0x1&&_0x5aa998[_0x291962(0x3e2)][_0x291962(0x27b)]>0x0&&this[_0x291962(0x277)](_0x5aa998[_0x291962(0x3e2)]);})),this[_0xf208c1(0x3bd)][_0xf208c1(0x1f1)][_0xf208c1(0x1da)](_0xc33fa7['takeUntil'](this[_0xf208c1(0x3af)]))[_0xf208c1(0x1b3)](_0x163004=>{const _0x1f43fd=_0xf208c1;if((_0x163004==null?void 0x0:_0x163004[_0x1f43fd(0x180)])!==this[_0x1f43fd(0x180)])return;const _0xee1f40={'eventID':_0x5ee43a[_0x1f43fd(0x3f8)]['UPDATE_CURSOR'],'data':_0x163004};this[_0x1f43fd(0x37a)](_0xee1f40);}),this[_0xf208c1(0x275)](this[_0xf208c1(0x1ca)][_0xf208c1(0x3ec)](_0x88f4bf=>{const _0x3bda38=_0xf208c1;if(_0x88f4bf[_0x3bda38(0x2b2)]==null)return;const _0x5eb5a0=_0x88f4bf[_0x3bda38(0x2b2)];if(_0x88f4bf['id']!==_0x4cdd99[_0x3bda38(0x197)]['id']||_0x5eb5a0[_0x3bda38(0x404)]!==this['unitID'])return;const _0xf64919={'id':_0x3bda38(0x28c),'params':_0x5eb5a0},_0xdba5ec=this[_0x3bda38(0x294)];for(const [_0x4433b5,_0x521043]of _0xdba5ec){const _0x376b1d={'id':_0x3bda38(0x28c),'params':{'unitId':this[_0x3bda38(0x180)],'actions':null,'textRanges':_0x521043['ranges']}},_0xb4655e=this[_0x3bda38(0x3aa)][_0x3bda38(0x342)](_0xf64919,_0x376b1d,!0x1);if(_0x5ee43a[_0x3bda38(0x3e3)](_0xb4655e))throw _0xb4655e['error'];_0xdba5ec[_0x3bda38(0x1c9)](_0x4433b5,{..._0x521043,'ranges':_0xb4655e['m2Prime']['params']['textRanges']});}queueMicrotask(()=>{const _0x30a30a=_0x3bda38;this[_0x30a30a(0x266)]['next'](_0xdba5ec);});})));}[_0x479db0(0x37a)](_0x81f5f2){const _0x4e7721=_0x479db0;var _0x45f4f4,_0x235990;const {memberID:_0x443b6e,selection:_0x2b7737}=_0x81f5f2['data'],_0x427772=_0x84b029(_0x2b7737),_0x5cf9d7=(_0x235990=(_0x45f4f4=this[_0x4e7721(0x2c4)][_0x4e7721(0x32d)](this[_0x4e7721(0x180)],_0x443b6e))==null?void 0x0:_0x45f4f4['name'])!=null?_0x235990:_0x4e7721(0x2bf),_0xc161fd={'color':this[_0x4e7721(0x313)][_0x4e7721(0x260)](_0x443b6e),'name':_0x5cf9d7,'ranges':_0x427772},_0x5f44c7=this[_0x4e7721(0x294)];_0x5f44c7[_0x4e7721(0x1c9)](_0x443b6e,_0xc161fd),this[_0x4e7721(0x266)][_0x4e7721(0x1d1)](_0x5f44c7);}['_onCursorDelete'](_0x517fbb){const _0x4775a9=_0x479db0,{memberID:_0x5c808b}=_0x517fbb[_0x4775a9(0x429)],_0x5cce20=this[_0x4775a9(0x294)];_0x5cce20[_0x4775a9(0x368)](_0x5c808b),this[_0x4775a9(0x266)]['next'](_0x5cce20);}[_0x479db0(0x26e)](){const _0x11419e=_0x479db0;var _0x3cff76;if(this[_0x11419e(0x373)]=!0x0,((_0x3cff76=this['_univerInstanceService'][_0x11419e(0x3de)]())==null?void 0x0:_0x3cff76[_0x11419e(0x346)]())!==this[_0x11419e(0x180)])return;const _0x56ea6d=this['_injector'][_0x11419e(0x18f)](_0x4cdd99['DocSelectionManagerService'])[_0x11419e(0x334)]();Array[_0x11419e(0x3cf)](_0x56ea6d)&&_0x56ea6d[_0x11419e(0x27b)]>0x0&&this[_0x11419e(0x277)](_0x56ea6d);}[_0x479db0(0x319)](){this['_online']=!0x1;}};_0x4a247a=_0x58338c([_0x43f854(0x2,_0x3446be[_0x479db0(0x21b)](_0x3446be[_0x479db0(0x195)])),_0x43f854(0x3,_0x3446be[_0x479db0(0x21b)](_0x324f05)),_0x43f854(0x4,_0x3446be['Inject'](_0x4a9508['MemberService'])),_0x43f854(0x5,_0x3446be['Inject'](_0x35b0b1)),_0x43f854(0x6,_0x5ee43a[_0x479db0(0x3b7)]),_0x43f854(0x7,_0x3446be[_0x479db0(0x2b5)]),_0x43f854(0x8,_0x3446be[_0x479db0(0x3ef)])],_0x4a247a);var _0x28b7f8=Object[_0x479db0(0x179)],_0x337ed5=(_0x3d03ea,_0x1b305e,_0x915c74,_0x468b8c)=>{for(var _0x398d5a=_0x468b8c>0x1?void 0x0:_0x468b8c?_0x28b7f8(_0x1b305e,_0x915c74):_0x1b305e,_0x49e2fe=_0x3d03ea['length']-0x1,_0x46bfa3;_0x49e2fe>=0x0;_0x49e2fe--)(_0x46bfa3=_0x3d03ea[_0x49e2fe])&&(_0x398d5a=_0x46bfa3(_0x398d5a)||_0x398d5a);return _0x398d5a;},_0xf93a31=(_0x2470fb,_0x1d592b)=>(_0x2175bd,_0x3a7e5e)=>_0x1d592b(_0x2175bd,_0x3a7e5e,_0x2470fb);const _0x15ee82=0x12c,_0x4abfb3=0x64,_0x565e5a=()=>{let _0x1a432b=[],_0x44b99f=!0x1;return _0x524550=>{const _0x3bff55=_0x5580;_0x1a432b[_0x3bff55(0x214)](_0x524550),_0x44b99f||(_0x44b99f=!0x0,setTimeout(()=>{const _0x592e44=_0x3bff55;_0x1a432b[_0x592e44(0x1ac)](_0x5c6dc9=>_0x5c6dc9()),_0x1a432b=[],_0x44b99f=!0x1;}));};};let _0x31024d=class extends _0x3446be[_0x479db0(0x315)]{constructor(_0x223483,_0x5b82aa,_0x2b3eba,_0x51d943,_0x5207c7,_0x5c74d1,_0xa09c07,_0xe59248){const _0x627345=_0x479db0;super(),_0x4b5aa6(this,_0x627345(0x373),!0x1),_0x4b5aa6(this,'_init',!0x1),_0x4b5aa6(this,_0x627345(0x266),new _0xc33fa7[(_0x627345(0x41f))](new Map())),_0x4b5aa6(this,_0x627345(0x3c3),this[_0x627345(0x266)][_0x627345(0x42d)]()),_0x4b5aa6(this,'_roomMembers$',new _0xc33fa7[(_0x627345(0x41f))]([])),_0x4b5aa6(this,_0x627345(0x3f9),this[_0x627345(0x19d)][_0x627345(0x1da)](_0xc33fa7['debounceTime'](_0x15ee82))),_0x4b5aa6(this,_0x627345(0x277),_0x3446be[_0x627345(0x1bb)]((_0x579e1d,_0x2b6a0b)=>{const _0x456b1e=_0x627345,_0x9bc91d={'eventID':_0x5ee43a[_0x456b1e(0x3f8)]['UPDATE_CURSOR'],'data':{'unitID':this[_0x456b1e(0x180)],'memberID':this[_0x456b1e(0x318)][_0x456b1e(0x35b)](),'selection':_0x5777d0[_0x456b1e(0x38a)](_0x579e1d,_0x2b6a0b[_0x456b1e(0x1f8)])}};this[_0x456b1e(0x318)][_0x456b1e(0x440)](_0x9bc91d,this['unitID']);},_0x4abfb3)),(this[_0x627345(0x180)]=_0x223483,this[_0x627345(0x318)]=_0x5b82aa,this[_0x627345(0x23c)]=_0x2b3eba,this[_0x627345(0x313)]=_0x51d943,this[_0x627345(0x2c4)]=_0x5207c7,this['_univerInstanceService']=_0x5c74d1,this['_commandService']=_0xa09c07,this[_0x627345(0x3d0)]=_0xe59248);}get['cursorInfo'](){const _0x35f7fd=_0x479db0;return this[_0x35f7fd(0x266)][_0x35f7fd(0x424)]();}get[_0x479db0(0x31d)](){const _0x200a0e=_0x479db0;return this[_0x200a0e(0x19d)][_0x200a0e(0x424)]();}[_0x479db0(0x40d)](){const _0x68b3f8=_0x479db0;super[_0x68b3f8(0x40d)](),this[_0x68b3f8(0x266)][_0x68b3f8(0x1d1)](new Map()),this[_0x68b3f8(0x266)]['complete'](),this[_0x68b3f8(0x19d)][_0x68b3f8(0x1d1)]([]),this['_roomMembers$'][_0x68b3f8(0x3d2)]();}[_0x479db0(0x357)](){const _0x2621ac=_0x479db0;this[_0x2621ac(0x240)]||(this['_init']=!0x0,this[_0x2621ac(0x318)][_0x2621ac(0x201)][_0x2621ac(0x1da)](_0xc33fa7['takeUntil'](this[_0x2621ac(0x3af)]))[_0x2621ac(0x1b3)](_0x561b34=>{const _0x5ec682=_0x2621ac;_0x561b34===_0x4a9508['SessionStatus'][_0x5ec682(0x29d)]?this[_0x5ec682(0x26e)]():this[_0x5ec682(0x319)]();}),this[_0x2621ac(0x318)][_0x2621ac(0x3b2)][_0x2621ac(0x1da)](_0xc33fa7[_0x2621ac(0x2f3)](this['dispose$']))[_0x2621ac(0x1b3)](_0x37cdde=>{const _0x89c0fd=_0x2621ac,_0x218de4=_0x37cdde['eventID'];_0x218de4===_0x5ee43a[_0x89c0fd(0x3f8)]['UPDATE_CURSOR']&&this[_0x89c0fd(0x37a)](_0x37cdde),_0x218de4===_0x5ee43a[_0x89c0fd(0x3f8)][_0x89c0fd(0x2ab)]&&this[_0x89c0fd(0x25b)](_0x37cdde);}),this['_onRefRangeChange'](),this[_0x2621ac(0x275)](this[_0x2621ac(0x1ca)][_0x2621ac(0x3ec)](_0x452643=>{const _0x7d194d=_0x2621ac;if(this['_online']&&_0x452643['id']===_0x2c6e97['SetSelectionsOperation']['id']&&_0x452643[_0x7d194d(0x2b2)][_0x7d194d(0x404)]===this['unitID']){const _0x1df6ba=_0x452643[_0x7d194d(0x2b2)];this[_0x7d194d(0x277)](_0x1df6ba['subUnitId'],_0x1df6ba['selections'][0x0]);}})));}[_0x479db0(0x37a)](_0xf57d65){const _0x527717=_0x479db0;var _0x43e8d3,_0x1473fd;const {memberID:_0x17f510,selection:_0x4f9c34}=_0xf57d65[_0x527717(0x429)],{sheetName:_0x3dd904,range:_0x1ed3ef}=_0x5777d0[_0x527717(0x387)](_0x4f9c34),_0x252402={'name':(_0x1473fd=(_0x43e8d3=this[_0x527717(0x2c4)][_0x527717(0x32d)](this[_0x527717(0x180)],_0x17f510))==null?void 0x0:_0x43e8d3[_0x527717(0x348)])!=null?_0x1473fd:_0x527717(0x2bf),'range':this[_0x527717(0x280)](_0x3dd904,_0x1ed3ef),'sheetID':_0x3dd904,'color':this[_0x527717(0x313)]['assignAColorForMemberID'](_0x17f510),'selection':_0x4f9c34},_0x35ed41=this[_0x527717(0x294)];_0x35ed41[_0x527717(0x1c9)](_0x17f510,_0x252402),this[_0x527717(0x266)][_0x527717(0x1d1)](_0x35ed41);}[_0x479db0(0x25b)](_0x11ee59){const _0x5ebcdd=_0x479db0,{memberID:_0x3e26ec}=_0x11ee59[_0x5ebcdd(0x429)],_0x36a4a3=this['cursorInfo'];_0x36a4a3[_0x5ebcdd(0x368)](_0x3e26ec),this[_0x5ebcdd(0x266)][_0x5ebcdd(0x1d1)](_0x36a4a3);}['_getMergeRange'](_0xd7f8,_0x424223){const _0x30ab42=_0x479db0;var _0x25a053,_0x4996c1;const _0x274814=(_0x4996c1=(_0x25a053=this[_0x30ab42(0x221)][_0x30ab42(0x3cc)](this[_0x30ab42(0x180)]))==null?void 0x0:_0x25a053[_0x30ab42(0x394)](_0xd7f8))==null?void 0x0:_0x4996c1[_0x30ab42(0x38b)]();return(_0x274814==null?void 0x0:_0x274814[_0x30ab42(0x191)](_0x12fe05=>_0x3446be['Rectangle'][_0x30ab42(0x41b)](_0x12fe05,_0x424223)))||_0x424223;}[_0x479db0(0x238)](){const _0x30cd12=_0x479db0,_0x23979b=new _0x3446be['DisposableCollection'](),_0x8f2492=_0x565e5a(),_0x567d53=()=>{const _0xc15c8d=_0x5580;_0x23979b['dispose']();const _0x1f9fe6=(_0x29adf7,_0x34aec9,_0x2f2df3,_0x52fc90)=>{const _0x116f2c=_0x5580;let _0x1f0cfa=[];switch(_0x29adf7['id']){case _0x2c6e97[_0x116f2c(0x31c)]['DeleteRangeMoveLeftCommandId']:{_0x1f0cfa=_0x2c6e97['handleDeleteRangeMoveLeft'](_0x29adf7,_0x52fc90);break;}case _0x2c6e97[_0x116f2c(0x31c)][_0x116f2c(0x3ad)]:{_0x1f0cfa=_0x2c6e97[_0x116f2c(0x242)](_0x29adf7,_0x52fc90);break;}case _0x2c6e97['EffectRefRangId']['InsertColCommandId']:{_0x1f0cfa=_0x2c6e97[_0x116f2c(0x1a0)](_0x29adf7,_0x52fc90);break;}case _0x2c6e97[_0x116f2c(0x31c)][_0x116f2c(0x1dd)]:{_0x1f0cfa=_0x2c6e97[_0x116f2c(0x3fd)](_0x29adf7,_0x52fc90);break;}case _0x2c6e97[_0x116f2c(0x31c)][_0x116f2c(0x299)]:{_0x1f0cfa=_0x2c6e97[_0x116f2c(0x3e6)](_0x29adf7,_0x52fc90);break;}case _0x2c6e97[_0x116f2c(0x31c)][_0x116f2c(0x432)]:{_0x1f0cfa=_0x2c6e97['handleInsertRow'](_0x29adf7,_0x52fc90);break;}case _0x2c6e97[_0x116f2c(0x31c)][_0x116f2c(0x234)]:{_0x1f0cfa=_0x2c6e97[_0x116f2c(0x270)](_0x29adf7,_0x52fc90);break;}case _0x2c6e97[_0x116f2c(0x31c)][_0x116f2c(0x3cd)]:{_0x1f0cfa=_0x2c6e97[_0x116f2c(0x23d)](_0x29adf7,_0x52fc90);break;}case _0x2c6e97[_0x116f2c(0x31c)]['RemoveRowCommandId']:{_0x1f0cfa=_0x2c6e97['handleIRemoveRow'](_0x29adf7,_0x52fc90);break;}}const _0x1bec4b=_0x2c6e97[_0x116f2c(0x34a)](_0x1f0cfa,_0x52fc90),_0x3044d4=this[_0x116f2c(0x294)]['get'](_0x34aec9);if(_0x3044d4&&_0x1bec4b){const _0x1a89b1={..._0x3044d4,'range':_0x1bec4b};this[_0x116f2c(0x294)][_0x116f2c(0x1c9)](_0x34aec9,_0x1a89b1),_0x8f2492(()=>{const _0x219dd0=_0x116f2c,_0x379c07=this[_0x219dd0(0x3d0)][_0x219dd0(0x25d)](_0x1bec4b,_0x3e06f6=>(_0x379c07['dispose'](),_0x1f9fe6(_0x3e06f6,_0x34aec9,_0x2f2df3,_0x1bec4b)));_0x23979b[_0x219dd0(0x335)](_0x379c07);});}return{'redos':[],'undos':[]};};this[_0xc15c8d(0x294)][_0xc15c8d(0x1ac)]((_0x230c85,_0x2e1a4c)=>{const _0x4540ab=_0xc15c8d,{range:_0x435807,sheetID:_0x1413b6}=_0x230c85,_0xade1ba=this[_0x4540ab(0x3d0)]['registerRefRange'](_0x435807,_0x855fd7=>(_0xade1ba[_0x4540ab(0x40d)](),_0x1f9fe6(_0x855fd7,_0x2e1a4c,_0x1413b6,_0x435807)));_0x23979b[_0x4540ab(0x335)](_0xade1ba);});};this[_0x30cd12(0x275)](_0x3446be['toDisposable'](this['_cursorInfo$'][_0x30cd12(0x1b3)](()=>{_0x567d53();})));}['_toggleOnline'](){const _0x1163d6=_0x479db0;var _0x42c2bb,_0x4a6758;if(this[_0x1163d6(0x373)]=!0x0,((_0x42c2bb=this[_0x1163d6(0x221)]['getFocusedUnit']())==null?void 0x0:_0x42c2bb[_0x1163d6(0x346)]())!==this[_0x1163d6(0x180)])return;const _0x2965de=(_0x4a6758=this['_injector'][_0x1163d6(0x18f)](_0x2c6e97[_0x1163d6(0x1c6)])[_0x1163d6(0x418)]())==null?void 0x0:_0x4a6758[0x0],_0x27cae9=this[_0x1163d6(0x221)][_0x1163d6(0x282)](_0x3446be['UniverInstanceType'][_0x1163d6(0x3a8)])['getActiveSheet']();_0x2965de&&_0x27cae9&&this[_0x1163d6(0x277)](_0x27cae9['getSheetId'](),_0x2965de);}[_0x479db0(0x319)](){this['_online']=!0x1;}};_0x31024d=_0x337ed5([_0xf93a31(0x2,_0x3446be[_0x479db0(0x21b)](_0x3446be[_0x479db0(0x195)])),_0xf93a31(0x3,_0x3446be[_0x479db0(0x21b)](_0x324f05)),_0xf93a31(0x4,_0x3446be['Inject'](_0x4a9508[_0x479db0(0x27a)])),_0xf93a31(0x5,_0x3446be[_0x479db0(0x2b5)]),_0xf93a31(0x6,_0x3446be[_0x479db0(0x3ef)]),_0xf93a31(0x7,_0x3446be[_0x479db0(0x21b)](_0x2c6e97['RefRangeService']))],_0x31024d);var _0x5752ff=Object[_0x479db0(0x179)],_0x1d44dc=(_0x388eb4,_0x16df97,_0xa93485,_0x6a02e2)=>{const _0x558fdc=_0x479db0;for(var _0x254b98=_0x6a02e2>0x1?void 0x0:_0x6a02e2?_0x5752ff(_0x16df97,_0xa93485):_0x16df97,_0x4f6954=_0x388eb4[_0x558fdc(0x27b)]-0x1,_0xfee410;_0x4f6954>=0x0;_0x4f6954--)(_0xfee410=_0x388eb4[_0x4f6954])&&(_0x254b98=_0xfee410(_0x254b98)||_0x254b98);return _0x254b98;},_0xfaddfe=(_0xa24e16,_0x2826c5)=>(_0xe4dc92,_0x44ce54)=>_0x2826c5(_0xe4dc92,_0x44ce54,_0xa24e16);let _0x302180=class extends _0x3446be[_0x479db0(0x315)]{constructor(_0x3590c8,_0x386444,_0x6b6ca5){const _0x13cd9d=_0x479db0;super(),_0x4b5aa6(this,_0x13cd9d(0x392),new Map()),_0x4b5aa6(this,_0x13cd9d(0x33a),new _0xc33fa7[(_0x13cd9d(0x245))]()),(this[_0x13cd9d(0x221)]=_0x3590c8,this[_0x13cd9d(0x23c)]=_0x386444,this[_0x13cd9d(0x3d6)]=_0x6b6ca5,this[_0x13cd9d(0x240)]());}['dispose'](){const _0x44c8f9=_0x479db0;super[_0x44c8f9(0x40d)](),this[_0x44c8f9(0x33a)]['complete'](),this[_0x44c8f9(0x392)][_0x44c8f9(0x1ac)](_0x4739f6=>_0x4739f6[_0x44c8f9(0x40d)]());}[_0x479db0(0x358)](_0x26702b){const _0x138663=_0x479db0;return this[_0x138663(0x392)]['has'](_0x26702b)?this[_0x138663(0x392)][_0x138663(0x18f)](_0x26702b)[_0x138663(0x3c3)]:this[_0x138663(0x33a)][_0x138663(0x1da)](_0xc33fa7[_0x138663(0x352)](_0x45bc06=>_0x45bc06['unitID']===_0x26702b),_0xc33fa7[_0x138663(0x413)](_0x305532=>_0x305532[_0x138663(0x3c3)]));}[_0x479db0(0x240)](){const _0x52026c=_0x479db0;this['_univerInstanceService'][_0x52026c(0x3c8)](_0x3446be['UniverInstanceType'][_0x52026c(0x3a8)])[_0x52026c(0x1da)](_0xc33fa7[_0x52026c(0x2f3)](this[_0x52026c(0x3af)]))[_0x52026c(0x1b3)](async _0x4750be=>{const _0x5134d0=_0x52026c,_0x2d0793=_0x4750be[_0x5134d0(0x346)](),_0x2298ec=await this['_startSheetCollabCursor'](_0x2d0793);this['_entityInit$']['next'](_0x2298ec),this[_0x5134d0(0x392)][_0x5134d0(0x1c9)](_0x2d0793,_0x2298ec);}),this[_0x52026c(0x221)][_0x52026c(0x3c8)](_0x3446be[_0x52026c(0x20a)][_0x52026c(0x24c)])[_0x52026c(0x1da)](_0xc33fa7[_0x52026c(0x2f3)](this[_0x52026c(0x3af)]))['pipe'](_0xc33fa7['filter'](_0x40cbea=>!_0x40cbea[_0x52026c(0x346)]()[_0x52026c(0x3d9)]('__')))[_0x52026c(0x1b3)](async _0x536666=>{const _0x5a891d=_0x52026c,_0x1cd8a2=_0x536666[_0x5a891d(0x346)](),_0x12270c=await this[_0x5a891d(0x314)](_0x1cd8a2);this[_0x5a891d(0x33a)][_0x5a891d(0x1d1)](_0x12270c),this[_0x5a891d(0x392)][_0x5a891d(0x1c9)](_0x1cd8a2,_0x12270c);}),_0xc33fa7['merge'](this[_0x52026c(0x221)][_0x52026c(0x2ed)](_0x3446be['UniverInstanceType'][_0x52026c(0x24c)]),this[_0x52026c(0x221)][_0x52026c(0x2ed)](_0x3446be['UniverInstanceType'][_0x52026c(0x3a8)]))[_0x52026c(0x1da)](_0xc33fa7[_0x52026c(0x2f3)](this[_0x52026c(0x3af)]))[_0x52026c(0x1b3)](_0x333211=>{const _0x2e1378=_0x52026c,_0x3fe6e7=_0x333211[_0x2e1378(0x346)](),_0x57047f=this[_0x2e1378(0x392)]['get'](_0x3fe6e7);_0x57047f&&(_0x57047f[_0x2e1378(0x40d)](),this[_0x2e1378(0x392)][_0x2e1378(0x368)](_0x3fe6e7));});}async[_0x479db0(0x444)](_0x26a61e){const _0x264707=_0x479db0,_0xd54c98=await this['_collabSessionService']['requireSession'](_0x26a61e),_0x4b5660=this[_0x264707(0x23c)]['createInstance'](_0x31024d,_0x26a61e,_0xd54c98);return _0x4b5660[_0x264707(0x357)](),_0x4b5660;}async['_startDocCollabCursor'](_0x111efc){const _0xbaddc1=_0x479db0,_0x283388=await this[_0xbaddc1(0x3d6)][_0xbaddc1(0x3bb)](_0x111efc),_0x54a343=this[_0xbaddc1(0x23c)][_0xbaddc1(0x1ec)](_0x4a247a,_0x111efc,_0x283388);return _0x54a343[_0xbaddc1(0x357)](),_0x54a343;}};_0x302180=_0x1d44dc([_0xfaddfe(0x0,_0x3446be['IUniverInstanceService']),_0xfaddfe(0x1,_0x3446be[_0x479db0(0x21b)](_0x3446be[_0x479db0(0x195)])),_0xfaddfe(0x2,_0x3446be[_0x479db0(0x21b)](_0x4a9508['CollaborationSessionService']))],_0x302180);const _0x43962b=0x14,_0x45c628=0xc8,_0x17e733=0x4,_0x528dfb=0x5;function _0x1f3aab(_0x1704c7,_0x3de961){const _0x47f476=_0x479db0;let {radius:_0x1671e5,width:_0x4ac560,height:_0x410cbe}=_0x3de961;_0x1671e5=_0x1671e5!=null?_0x1671e5:0x0,_0x4ac560=_0x4ac560!=null?_0x4ac560:0x1e,_0x410cbe=_0x410cbe!=null?_0x410cbe:0x1e;let _0x3edadf=0x0,_0x3bdaac=0x0,_0xc8a5de=0x0;_0x3edadf=_0x3bdaac=_0xc8a5de=Math[_0x47f476(0x20f)](_0x1671e5,_0x4ac560/0x2,_0x410cbe/0x2),_0x1704c7[_0x47f476(0x1db)](),_0x1704c7[_0x47f476(0x26a)](_0x3edadf,0x0),_0x1704c7[_0x47f476(0x390)](_0x4ac560-_0x3bdaac,0x0),_0x1704c7[_0x47f476(0x326)](_0x4ac560-_0x3bdaac,_0x3bdaac,_0x3bdaac,Math['PI']*0x3/0x2,0x0,!0x1),_0x1704c7[_0x47f476(0x390)](_0x4ac560,_0x410cbe-_0xc8a5de),_0x1704c7[_0x47f476(0x326)](_0x4ac560-_0xc8a5de,_0x410cbe-_0xc8a5de,_0xc8a5de,0x0,Math['PI']/0x2,!0x1),_0x1704c7[_0x47f476(0x390)](0x0,_0x410cbe),_0x1704c7['lineTo'](0x0,_0x3edadf),_0x1704c7[_0x47f476(0x326)](_0x3edadf,_0x3edadf,_0x3edadf,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x1704c7[_0x47f476(0x1df)](),_0x3de961[_0x47f476(0x328)]&&(_0x1704c7[_0x47f476(0x2ba)](),_0x1704c7[_0x47f476(0x2d4)]=_0x3de961['fill'],_0x3de961[_0x47f476(0x274)]===_0x47f476(0x2cd)?_0x1704c7['fill'](_0x47f476(0x2cd)):_0x1704c7[_0x47f476(0x328)](),_0x1704c7[_0x47f476(0x40f)]());}class _0x41b85c extends _0x154eb1[_0x479db0(0x226)]{constructor(_0x1083b8,_0x463ad1){const _0x41a1b7=_0x479db0;super(_0x1083b8,_0x463ad1),_0x4b5aa6(this,_0x41a1b7(0x43b)),_0x4b5aa6(this,_0x41a1b7(0x208)),(this[_0x41a1b7(0x43b)]=_0x463ad1==null?void 0x0:_0x463ad1['color'],this[_0x41a1b7(0x208)]=_0x463ad1==null?void 0x0:_0x463ad1[_0x41a1b7(0x208)]);}static['drawWith'](_0x43d02e,_0x46f8a7){const _0x4fa1c4=_0x479db0,{text:_0x34f799,color:_0x5695f4}=_0x46f8a7;_0x43d02e['save'](),_0x43d02e[_0x4fa1c4(0x25e)]=_0x4fa1c4(0x3a0);const _0x47d26b=_0x43d02e['measureText'](_0x34f799)[_0x4fa1c4(0x1bd)],_0x49be16=Math[_0x4fa1c4(0x20f)](_0x47d26b+0x2*_0x17e733,_0x45c628);_0x1f3aab(_0x43d02e,{'height':_0x43962b,'radius':0x4,'width':_0x49be16,'fill':_0x5695f4}),_0x43d02e['fillStyle']=_0x4fa1c4(0x2dd);const _0x59d6a7=_0x17e733,_0x17b9a9=_0x43962b-_0x528dfb,_0x537abb=_0x45c628-0x2*_0x17e733;if(_0x47d26b>_0x537abb){let _0x1d9afd='',_0xbf1dca=0x0;for(const _0x24e870 of _0x34f799){const _0x6222e4=_0x43d02e[_0x4fa1c4(0x253)](_0x24e870)[_0x4fa1c4(0x1bd)];if(_0xbf1dca+_0x6222e4<=_0x537abb-_0x43d02e[_0x4fa1c4(0x253)](_0x4fa1c4(0x19c))['width'])_0x1d9afd+=_0x24e870,_0xbf1dca+=_0x6222e4;else{_0x1d9afd+='...';break;}}_0x43d02e[_0x4fa1c4(0x276)](_0x1d9afd,_0x59d6a7,_0x17b9a9);}else _0x43d02e['fillText'](_0x34f799,_0x59d6a7,_0x17b9a9);_0x43d02e[_0x4fa1c4(0x40f)]();}[_0x479db0(0x3a7)](_0x275704){_0x41b85c['drawWith'](_0x275704,this);}}const _0x2c4912=_0x479db0(0x304),_0x6ab1f7=_0x479db0(0x35a),_0x27c198=_0x479db0(0x258),_0x50a40f=0x6,_0x563693=1.5,_0x176b01=0x4,_0x4402fc=1.5,_0x2419de=_0x479db0(0x2c1);class _0x592d74{constructor(_0xa79931,_0x47615a,_0x5d9b16,_0x47421c){const _0x6a24fd=_0x479db0;_0x4b5aa6(this,_0x6a24fd(0x2f5),[]),_0x4b5aa6(this,'_anchor',null),_0x4b5aa6(this,_0x6a24fd(0x1a7),null),_0x4b5aa6(this,_0x6a24fd(0x295),null),_0x4b5aa6(this,_0x6a24fd(0x278),null),_0x4b5aa6(this,_0x6a24fd(0x427),null),(this[_0x6a24fd(0x2c6)]=_0xa79931,this[_0x6a24fd(0x205)]=_0x47615a,this[_0x6a24fd(0x3b3)]=_0x5d9b16,this['_document']=_0x47421c,this[_0x6a24fd(0x1b0)]());}set['_hover'](_0x22eade){const _0x5ecfe3=_0x479db0;_0x22eade?(this[_0x5ecfe3(0x295)]&&this[_0x5ecfe3(0x295)][_0x5ecfe3(0x2fe)](),this['_textBubble']&&this[_0x5ecfe3(0x1a7)][_0x5ecfe3(0x2a8)]()):(this[_0x5ecfe3(0x295)]&&this[_0x5ecfe3(0x295)]['show'](),this[_0x5ecfe3(0x1a7)]&&this[_0x5ecfe3(0x1a7)]['hide']());}[_0x479db0(0x40d)](){const _0x3d6eab=_0x479db0;for(const _0x471a9a of this[_0x3d6eab(0x2f5)])_0x471a9a[_0x3d6eab(0x40d)]();this[_0x3d6eab(0x1a7)]&&this[_0x3d6eab(0x1a7)][_0x3d6eab(0x40d)](),this[_0x3d6eab(0x295)]&&this[_0x3d6eab(0x295)]['dispose'](),this['_anchor']&&this[_0x3d6eab(0x321)][_0x3d6eab(0x40d)](),this[_0x3d6eab(0x427)]&&this['_eventUnsubscribe']();}[_0x479db0(0x1b0)](){const _0x2d45a6=_0x479db0;var _0x2b94f3;const {_docSkeleton:_0x5bd16,_document:_0x159a64}=this,{color:_0x531e7c,name:_0x5c6132,ranges:_0x5092e4}=this[_0x2d45a6(0x2c6)],_0x580f10=_0x159a64[_0x2d45a6(0x2a4)](),{docsLeft:_0x18fa2b,docsTop:_0x3cf1d2}=_0x580f10,_0x4ee7c6=new _0x4262be[(_0x2d45a6(0x1f6))](_0x580f10,_0x5bd16);for(const {startOffset:_0x2508ae,endOffset:_0x4d66a9,rangeType:_0x20f2d9,segmentId:_0x107272,segmentPage:_0x5420e6,collapsed:_0x317268,isActive:_0x4ddfec}of _0x5092e4){const _0x3121cd=_0x5bd16[_0x2d45a6(0x2cf)](_0x2508ae,!0x0,_0x107272,_0x5420e6);let _0xbcebd4=_0x5bd16[_0x2d45a6(0x2cf)](_0x4d66a9,!0x0,_0x107272,_0x5420e6);if(_0xbcebd4==null&&(_0xbcebd4=_0x5bd16[_0x2d45a6(0x2cf)](_0x4d66a9-0x1,!0x1,_0x107272,_0x5420e6)),_0x4ddfec){const {contentBoxPointGroup:_0x34ba7d}=_0x4ee7c6[_0x2d45a6(0x36f)](_0xbcebd4,_0xbcebd4);if(_0x34ba7d[_0x2d45a6(0x27b)]===0x0)continue;this[_0x2d45a6(0x39d)](_0x531e7c,_0x34ba7d,_0x18fa2b,_0x3cf1d2,_0x5c6132),this[_0x2d45a6(0x427)]=this[_0x2d45a6(0x2fa)]();}if(_0x3121cd&&_0xbcebd4){if(_0x20f2d9===_0x3446be['DOC_RANGE_TYPE'][_0x2d45a6(0x21c)]){const _0x4fc547=new _0x4262be[(_0x2d45a6(0x3f2))](_0x580f10,_0x5bd16),{pointGroup:_0xba9e51}=(_0x2b94f3=_0x4fc547[_0x2d45a6(0x36f)](_0x3121cd,_0xbcebd4))!=null?_0x2b94f3:{};if(_0xba9e51==null||_0xba9e51['length']===0x0)continue;this[_0x2d45a6(0x247)](_0x531e7c,_0xba9e51,_0x18fa2b,_0x3cf1d2);}else{if(!_0x317268){const {borderBoxPointGroup:_0x57773c}=_0x4ee7c6['getRangePointData'](_0x3121cd,_0xbcebd4);if(_0x57773c[_0x2d45a6(0x27b)]===0x0)continue;this['_drawTextRange'](_0x531e7c,_0x57773c,_0x18fa2b,_0x3cf1d2);}}}}}[_0x479db0(0x39d)](_0x5757c7,_0x466be3,_0x45ee5b,_0x231378,_0x3cb65d){const _0x58c2e5=_0x479db0,_0x2fbd1d=this[_0x58c2e5(0x356)](_0x466be3),{left:_0x3557ed,top:_0x497995,height:_0xff56e5}=_0x2fbd1d,_0x448ffa=this['_getScale'](),_0xfbee8b=_0x4402fc/_0x448ffa,_0x5d6639=new _0x154eb1['Rect'](_0x2c4912+_0x3446be[_0x58c2e5(0x407)](_0x50a40f),{'left':_0x3557ed+_0x45ee5b-_0xfbee8b,'top':_0x497995+_0x231378,'height':_0xff56e5,'width':_0x563693,'fill':_0x5757c7||_0x154eb1[_0x58c2e5(0x3b0)](_0x3446be[_0x58c2e5(0x1ef)][_0x58c2e5(0x433)],0x0),'strokeWidth':_0xfbee8b,'stroke':_0x2419de,'evented':!0x0});this[_0x58c2e5(0x321)]=_0x5d6639,this[_0x58c2e5(0x205)][_0x58c2e5(0x39c)](_0x5d6639,_0x4262be['TEXT_RANGE_LAYER_INDEX']);const _0x157123=new _0x154eb1['Rect'](_0x2c4912+_0x3446be['generateRandomId'](_0x50a40f),{'left':_0x3557ed+_0x45ee5b-_0xfbee8b,'top':_0x497995+_0x231378-_0x176b01/0x2,'height':_0x176b01,'width':_0x176b01,'fill':_0x5757c7||_0x154eb1[_0x58c2e5(0x3b0)](_0x3446be[_0x58c2e5(0x1ef)]['black'],0x0),'strokeWidth':0x0,'stroke':_0x5757c7||_0x154eb1[_0x58c2e5(0x3b0)](_0x3446be[_0x58c2e5(0x1ef)]['black'],0x0),'evented':!0x1});this[_0x58c2e5(0x295)]=_0x157123,this['_scene'][_0x58c2e5(0x39c)](_0x157123,_0x4262be[_0x58c2e5(0x2f9)]);const _0x53887a=new _0x41b85c(_0x2c4912+_0x3446be[_0x58c2e5(0x407)](_0x50a40f),{'left':_0x3557ed+_0x45ee5b-_0xfbee8b,'top':_0x497995+_0x231378-_0x43962b,'text':_0x3cb65d,'color':_0x5757c7});this[_0x58c2e5(0x1a7)]=_0x53887a,this['_scene'][_0x58c2e5(0x39c)](_0x53887a,_0x4262be[_0x58c2e5(0x2f9)]),this['_hover']=!0x1;}[_0x479db0(0x2fa)](){const _0x4d4d4d=_0x479db0,_0x8e7a2f=this[_0x4d4d4d(0x321)][_0x4d4d4d(0x3b9)][_0x4d4d4d(0x1ab)](()=>{const _0x2743a9=_0x4d4d4d;this[_0x2743a9(0x41c)]=!0x0;}),_0x3071d6=this['_anchor']['onPointerLeave$'][_0x4d4d4d(0x1ab)](()=>{const _0x32b7f6=_0x4d4d4d;this[_0x32b7f6(0x278)]&&clearTimeout(this['_hideTimer']),this[_0x32b7f6(0x278)]=setTimeout(()=>{this['_hover']=!0x1;},0x7d0);});return()=>{const _0x3f2b23=_0x4d4d4d;_0x8e7a2f['unsubscribe'](),_0x3071d6[_0x3f2b23(0x2f6)]();};}[_0x479db0(0x1e3)](_0x3f5a40,_0x475d2f,_0x15a209,_0xafbf2e){const _0x1c9b26=_0x479db0,_0x479a5a=new _0x3446be[(_0x1c9b26(0x2d8))](_0x3f5a40)[_0x1c9b26(0x35d)](0.2)[_0x1c9b26(0x1ce)](),_0x12f95b=new _0x154eb1['RegularPolygon'](_0x6ab1f7+_0x3446be[_0x1c9b26(0x407)](_0x50a40f),{'pointsGroup':_0x475d2f,'fill':_0x479a5a||_0x154eb1[_0x1c9b26(0x3b0)](_0x3446be[_0x1c9b26(0x1ef)][_0x1c9b26(0x433)],0.2),'left':_0x15a209,'top':_0xafbf2e,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x1c9b26(0x2f5)][_0x1c9b26(0x214)](_0x12f95b),this[_0x1c9b26(0x205)][_0x1c9b26(0x39c)](_0x12f95b,_0x4262be[_0x1c9b26(0x2f9)]);}[_0x479db0(0x247)](_0xd90a75,_0x4c90dd,_0x62563b,_0x31c855){const _0x3324dd=_0x479db0,_0x724cf8=new _0x3446be['ColorKit'](_0xd90a75)[_0x3324dd(0x35d)](0.2)[_0x3324dd(0x1ce)](),_0xcf5ee3=new _0x154eb1['RegularPolygon'](_0x27c198+_0x3446be[_0x3324dd(0x407)](_0x50a40f),{'pointsGroup':_0x4c90dd,'fill':_0x724cf8||_0x154eb1['getColor'](_0x3446be[_0x3324dd(0x1ef)][_0x3324dd(0x433)],0.2),'left':_0x62563b,'top':_0x31c855,'evented':!0x1,'debounceParentDirty':!0x1});this['_shapes'][_0x3324dd(0x214)](_0xcf5ee3),this['_scene'][_0x3324dd(0x39c)](_0xcf5ee3,_0x4262be[_0x3324dd(0x2f9)]);}[_0x479db0(0x356)](_0x20007c){const _0x3e929a=_0x20007c[0x0],_0x6f3fbb=_0x3e929a[0x0],_0x1256a9=_0x3e929a[0x2],{x:_0x33c50e,y:_0x81b285}=_0x6f3fbb,{x:_0x44deed,y:_0x1efcad}=_0x1256a9;return{'left':_0x33c50e,'top':_0x81b285,'width':_0x44deed-_0x33c50e,'height':_0x1efcad-_0x81b285};}[_0x479db0(0x254)](){const _0x2624ba=_0x479db0,{scaleX:_0x3017b0,scaleY:_0x431ecb}=this[_0x2624ba(0x205)]['getAncestorScale']();return Math[_0x2624ba(0x37f)](_0x3017b0,_0x431ecb);}}var _0x5c167d=Object[_0x479db0(0x179)],_0x27db13=(_0x18e706,_0x6eec55,_0x38b718,_0x19442b)=>{const _0x1605ec=_0x479db0;for(var _0x994417=_0x19442b>0x1?void 0x0:_0x19442b?_0x5c167d(_0x6eec55,_0x38b718):_0x6eec55,_0x3b2fe8=_0x18e706[_0x1605ec(0x27b)]-0x1,_0x3fe3e0;_0x3b2fe8>=0x0;_0x3b2fe8--)(_0x3fe3e0=_0x18e706[_0x3b2fe8])&&(_0x994417=_0x3fe3e0(_0x994417)||_0x994417);return _0x994417;},_0x7152e9=(_0x28b128,_0x3eb496)=>(_0xc5dc36,_0xc92bb8)=>_0x3eb496(_0xc5dc36,_0xc92bb8,_0x28b128);let _0x1554de=class extends _0x3446be[_0x479db0(0x315)]{constructor(_0x401d69,_0x42a223,_0xe4ac15,_0x41a8a3,_0x240caa){const _0x488f35=_0x479db0;super(),_0x4b5aa6(this,_0x488f35(0x17c),[]),_0x4b5aa6(this,_0x488f35(0x2bb),[]),(this[_0x488f35(0x445)]=_0x401d69,this[_0x488f35(0x27e)]=_0x42a223,this[_0x488f35(0x252)]=_0xe4ac15,this[_0x488f35(0x1ca)]=_0x41a8a3,this[_0x488f35(0x1b1)]=_0x240caa,this[_0x488f35(0x240)]());}[_0x479db0(0x240)](){const _0x576cb2=_0x479db0,_0x1fc9e3=this[_0x576cb2(0x445)][_0x576cb2(0x404)],_0x3fd261=this['_docSkeletonManagerService'];this[_0x576cb2(0x275)](_0xc33fa7[_0x576cb2(0x406)]([this[_0x576cb2(0x252)][_0x576cb2(0x358)](_0x1fc9e3),this['_themeService'][_0x576cb2(0x233)]])[_0x576cb2(0x1da)](_0x1b2b92[_0x576cb2(0x2dc)](([_0x4e950a,_0x133aa2])=>({'skeleton':_0x3fd261[_0x576cb2(0x1fb)](),'cursors':[..._0x4e950a[_0x576cb2(0x1ed)]()]['flatMap'](_0x7e030c=>({..._0x7e030c,'color':this[_0x576cb2(0x1b1)][_0x576cb2(0x343)](_0x7e030c['color'])}))})))[_0x576cb2(0x1b3)](_0x5e52ac=>{const _0x2a09a3=_0x576cb2;if(this[_0x2a09a3(0x41a)](),_0x5e52ac){const {skeleton:_0x1ebbdd,cursors:_0x22f5cc}=_0x5e52ac;this[_0x2a09a3(0x2b1)](_0x1ebbdd,_0x22f5cc);}})),this['_initResize'](),this['_initCommandExecutedListener']();}[_0x479db0(0x2b1)](_0x37e598,_0x9ab903){const _0x39f706=_0x479db0,{scene:_0x11862a,mainComponent:_0xf77521}=this[_0x39f706(0x445)],_0x24c887=_0x9ab903[_0x39f706(0x2dc)](_0x282350=>new _0x592d74(_0x282350,_0x11862a,_0x37e598,_0xf77521));this['_cursorShapes']=_0x24c887,this[_0x39f706(0x2bb)]=_0x9ab903;}[_0x479db0(0x301)](){const _0x1dfa3e=_0x479db0;this[_0x1dfa3e(0x41a)]();const {scene:_0x41fe94,mainComponent:_0x3dbdf3}=this[_0x1dfa3e(0x445)],_0x20fbce=this['_docSkeletonManagerService'][_0x1dfa3e(0x1fb)](),_0x597672=this['_cursors']['map'](_0x48f44e=>new _0x592d74(_0x48f44e,_0x41fe94,_0x20fbce,_0x3dbdf3));this['_cursorShapes']=_0x597672;}['_removeCollabCursors'](){const _0x3cb6ec=_0x479db0;this[_0x3cb6ec(0x17c)][_0x3cb6ec(0x1ac)](_0x14af3d=>_0x14af3d[_0x3cb6ec(0x40d)]()),this[_0x3cb6ec(0x17c)]=[];}[_0x479db0(0x2e2)](){const _0x527662=_0x479db0,_0x59c78f=[_0x4262be[_0x527662(0x399)]['id']];this[_0x527662(0x275)](this[_0x527662(0x1ca)]['onCommandExecuted'](_0x20b449=>{const _0x3878b3=_0x527662;_0x59c78f['includes'](_0x20b449['id'])&&_0x20b449['params']['unitId']===this['_context'][_0x3878b3(0x404)]&&this[_0x3878b3(0x301)]();}));}[_0x479db0(0x362)](){const _0x1fe9d6=_0x479db0;this[_0x1fe9d6(0x275)](_0x3446be[_0x1fe9d6(0x402)](this['_context'][_0x1fe9d6(0x1e0)][_0x1fe9d6(0x30c)])['pipe'](_0x1b2b92['filter'](_0x142afe=>_0x142afe[_0x1fe9d6(0x26f)]===_0x154eb1[_0x1fe9d6(0x17a)]['resize']),_0x1b2b92['throttleTime'](0x10))['subscribe'](()=>{const _0x3847a0=_0x1fe9d6;this[_0x3847a0(0x301)]();}));}};_0x1554de=_0x27db13([_0x7152e9(0x1,_0x3446be[_0x479db0(0x21b)](_0x4cdd99[_0x479db0(0x28f)])),_0x7152e9(0x2,_0x3446be[_0x479db0(0x21b)](_0x302180)),_0x7152e9(0x3,_0x3446be[_0x479db0(0x3ef)]),_0x7152e9(0x4,_0x3446be[_0x479db0(0x21b)](_0x3446be['ThemeService']))],_0x1554de);const _0x1b0dbb=0x1,_0x25800c=1.5;class _0x4f6975 extends _0x154eb1[_0x479db0(0x226)]{constructor(_0x110e02,_0x588013){const _0x9dfab5=_0x479db0;super(_0x110e02,_0x588013),_0x4b5aa6(this,_0x9dfab5(0x3c1)),_0x4b5aa6(this,_0x9dfab5(0x1a2),!0x1),_0x4b5aa6(this,_0x9dfab5(0x1a3)),_0x4b5aa6(this,'_name',''),_0x4b5aa6(this,_0x9dfab5(0x3fe),'top'),_0x4b5aa6(this,_0x9dfab5(0x2b9)),(_0x588013&&this[_0x9dfab5(0x353)](_0x588013),this[_0x9dfab5(0x3b9)][_0x9dfab5(0x1ab)](()=>this['setShapeProps']({'hovered':!0x0})),this[_0x9dfab5(0x3e1)][_0x9dfab5(0x1ab)](()=>this[_0x9dfab5(0x353)]({'hovered':!0x1})));}[_0x479db0(0x353)](_0x2bad10){const _0x1e4a77=_0x479db0;var _0x397d9a,_0x3e52e6,_0x636445,_0x59422f,_0x10b500,_0x552fb4;this[_0x1e4a77(0x3c1)]=(_0x397d9a=_0x2bad10[_0x1e4a77(0x43b)])!=null?_0x397d9a:this['_color'],this[_0x1e4a77(0x1a2)]=(_0x3e52e6=_0x2bad10['hovered'])!=null?_0x3e52e6:this['_hovered'],this['_range']=(_0x636445=_0x2bad10['range'])!=null?_0x636445:this[_0x1e4a77(0x1a3)],this[_0x1e4a77(0x2eb)]=(_0x59422f=_0x2bad10['name'])!=null?_0x59422f:this['_name'],this[_0x1e4a77(0x3fe)]=(_0x10b500=_0x2bad10['labelPosition'])!=null?_0x10b500:this[_0x1e4a77(0x3fe)],this[_0x1e4a77(0x2b9)]=(_0x552fb4=_0x2bad10[_0x1e4a77(0x2ce)])!=null?_0x552fb4:this[_0x1e4a77(0x2b9)],this['transformByState']({'width':_0x2bad10[_0x1e4a77(0x1bd)],'height':_0x2bad10[_0x1e4a77(0x336)]});}[_0x479db0(0x3e7)](_0x1784ec){const _0x230405=_0x479db0,{row:_0x54c327,column:_0x468eb5}=_0x1784ec;if(_0x54c327>=this[_0x230405(0x1a3)][_0x230405(0x1e8)]&&_0x54c327<=this['_range'][_0x230405(0x33e)]&&_0x468eb5>=this[_0x230405(0x1a3)][_0x230405(0x371)]&&_0x468eb5<=this[_0x230405(0x1a3)][_0x230405(0x187)]){this[_0x230405(0x353)]({'hovered':!0x0});return;}this[_0x230405(0x353)]({'hovered':!0x1});}[_0x479db0(0x1ad)](_0x114c7f){return!0x1;}[_0x479db0(0x3a7)](_0x107f47){const _0xbceb6e=_0x479db0;_0x154eb1['Rect'][_0xbceb6e(0x410)](_0x107f47,{'width':this[_0xbceb6e(0x1bd)],'height':this[_0xbceb6e(0x336)],'strokeWidth':_0x25800c,'stroke':this[_0xbceb6e(0x3c1)],'evented':!0x1,'fill':this['_backgroundColor']}),this[_0xbceb6e(0x1a2)]&&(_0x107f47[_0xbceb6e(0x2ba)](),_0x107f47[_0xbceb6e(0x38e)](0x1,0x0,0x0,0x1,this[_0xbceb6e(0x1bd)],this[_0xbceb6e(0x3fe)]===_0xbceb6e(0x2ee)?0x0:-_0x43962b),_0x41b85c[_0xbceb6e(0x410)](_0x107f47,{'text':this[_0xbceb6e(0x2eb)],'color':this[_0xbceb6e(0x3c1)]}),_0x107f47[_0xbceb6e(0x40f)]());}}var _0x56ccb5=Object[_0x479db0(0x179)],_0x3c61bd=(_0x16f158,_0x5ef9d5,_0x1529f1,_0x3716ae)=>{const _0x2a7aff=_0x479db0;for(var _0x13b7e6=_0x3716ae>0x1?void 0x0:_0x3716ae?_0x56ccb5(_0x5ef9d5,_0x1529f1):_0x5ef9d5,_0x46c213=_0x16f158[_0x2a7aff(0x27b)]-0x1,_0x3ebae3;_0x46c213>=0x0;_0x46c213--)(_0x3ebae3=_0x16f158[_0x46c213])&&(_0x13b7e6=_0x3ebae3(_0x13b7e6)||_0x13b7e6);return _0x13b7e6;},_0x22c47f=(_0x171384,_0x500caa)=>(_0x20f03b,_0x529c31)=>_0x500caa(_0x20f03b,_0x529c31,_0x171384);const _0x1606fa=0x1389;let _0x125789=class extends _0x3446be[_0x479db0(0x315)]{constructor(_0x595d93,_0x33e189,_0x56293e,_0x5d9e6f){const _0x47e3b2=_0x479db0;super(),_0x4b5aa6(this,_0x47e3b2(0x2bb),new Set()),_0x4b5aa6(this,_0x47e3b2(0x2d5),null),(this[_0x47e3b2(0x445)]=_0x595d93,this[_0x47e3b2(0x3c0)]=_0x33e189,this[_0x47e3b2(0x252)]=_0x56293e,this['_themeService']=_0x5d9e6f,this[_0x47e3b2(0x240)]());}[_0x479db0(0x240)](){const _0x1d8e73=_0x479db0;this[_0x1d8e73(0x3c0)][_0x1d8e73(0x2be)][_0x1d8e73(0x1da)](_0x1b2b92[_0x1d8e73(0x2f3)](this[_0x1d8e73(0x3af)]),_0x1b2b92[_0x1d8e73(0x413)](_0x32f60b=>{const _0x13a039=_0x1d8e73;if(_0x32f60b){const _0x405dd6=_0x32f60b[_0x13a039(0x3a5)];return _0xc33fa7[_0x13a039(0x406)](this[_0x13a039(0x252)][_0x13a039(0x358)](this[_0x13a039(0x445)][_0x13a039(0x404)]),this[_0x13a039(0x1b1)][_0x13a039(0x233)])[_0x13a039(0x1da)](_0x1b2b92[_0x13a039(0x2dc)](([_0x5cde6b,_0x2a8de7])=>{const _0xe3ba32=_0x13a039,_0x3554d2=new Map();return _0x5cde6b[_0xe3ba32(0x1ac)]((_0x3ef375,_0x1c2fe4)=>{const _0x1f70ba=_0xe3ba32;if(_0x3ef375['sheetID']===_0x405dd6){const _0x12dccd={..._0x3ef375};_0x12dccd[_0x1f70ba(0x43b)]=this['_themeService'][_0x1f70ba(0x343)](_0x3ef375[_0x1f70ba(0x43b)]),_0x3554d2[_0x1f70ba(0x1c9)](_0x1c2fe4,_0x12dccd);}}),{'skeleton':_0x32f60b,'cursors':_0x3554d2};}));}return _0xc33fa7['of']({'skeleton':null,'cursors':new Map()});}))[_0x1d8e73(0x1b3)](({skeleton:_0x153af3,cursors:_0xfc4fea})=>{const _0x584c0f=_0x1d8e73;this['_removeCollabCursors'](),_0x153af3&&this[_0x584c0f(0x2b1)](_0x153af3,_0xfc4fea);}),this['_sheetSkeletonManagerService'][_0x1d8e73(0x2be)][_0x1d8e73(0x1b3)](_0x248871=>{const _0x46b221=_0x1d8e73;if(_0x248871==null)return;const {skeleton:_0x47b8dc}=_0x248871,{scene:_0x29fc77}=this['_context'];_0x29fc77[_0x46b221(0x344)][_0x46b221(0x1ab)](_0x3446be[_0x46b221(0x1bb)](_0x1ddbb6=>{const _0x4c18ef=_0x46b221;var _0x4d33a2,_0x5b42e6;const {offsetX:_0xb20d79,offsetY:_0x17edad}=_0x1ddbb6,{x:_0x2e6973,y:_0x42374b}=_0x29fc77[_0x4c18ef(0x355)](_0x154eb1[_0x4c18ef(0x3a1)][_0x4c18ef(0x30f)]([_0xb20d79,_0x17edad])),{scaleX:_0x42cdd6,scaleY:_0x17aae2}=_0x29fc77[_0x4c18ef(0x17f)](),_0x1da0a9=_0x29fc77['getViewport'](_0x154eb1[_0x4c18ef(0x3e8)]['VIEW_MAIN']),_0x539bb5=_0x29fc77[_0x4c18ef(0x381)](_0x154eb1[_0x4c18ef(0x3a1)][_0x4c18ef(0x30f)]([_0x2e6973,_0x42374b]),_0x1da0a9),_0x31e830=_0x47b8dc[_0x4c18ef(0x3ae)](_0xb20d79,_0x17edad,_0x42cdd6,_0x17aae2,_0x539bb5);((_0x4d33a2=this[_0x4c18ef(0x2d5)])==null?void 0x0:_0x4d33a2[_0x4c18ef(0x17e)])===_0x31e830[_0x4c18ef(0x17e)]&&((_0x5b42e6=this[_0x4c18ef(0x2d5)])==null?void 0x0:_0x5b42e6[_0x4c18ef(0x1c8)])===_0x31e830['row']||this[_0x4c18ef(0x2bb)][_0x4c18ef(0x1ac)](_0x4dcfd2=>{const _0x84999=_0x4c18ef;_0x4dcfd2[_0x84999(0x3e7)](_0x31e830);});},0x64));});}[_0x479db0(0x2b1)](_0x4b47b3,_0x2b9ed5){const _0x25a85f=_0x479db0;var _0x6d0993;const _0x2eb0d3=(_0x6d0993=this['_sheetSkeletonManagerService'][_0x25a85f(0x31a)]())==null?void 0x0:_0x6d0993['skeleton'];if(!_0x2eb0d3)return;const _0x9ad4b8=this['_getSheetObject']();if(!_0x9ad4b8)return;this['_cursors'][_0x25a85f(0x1ac)](_0xbb83d4=>{const _0x2c0397=_0x25a85f;_0xbb83d4[_0x2c0397(0x22e)]();});const {scene:_0x52b735}=_0x9ad4b8,_0x186665=_0x261724(Array[_0x25a85f(0x18b)](_0x2b9ed5[_0x25a85f(0x1ed)]()))[_0x25a85f(0x2dc)](_0x19226e=>{const _0x5bca2f=_0x25a85f,{color:_0x45f0ef,range:_0x237749,name:_0x9fa703,selection:_0x3a0fc1,sheetID:_0xb4ba4a}=_0x19226e,{startColumn:_0x3961a4,startRow:_0x25e2bf,endColumn:_0x399fa1,endRow:_0x33d967}=_0x237749,_0x536cb3=_0x244403['getCoordByCell'](_0x25e2bf,_0x3961a4,_0x52b735,_0x2eb0d3),_0x30828b=_0x244403[_0x5bca2f(0x21f)](_0x33d967,_0x399fa1,_0x52b735,_0x2eb0d3),{columnHeaderHeightAndMarginTop:_0x1c31e1}=_0x2eb0d3,{startX:_0x47fc71,startY:_0x1c0e3e}=_0x536cb3,{endX:_0x18a144,endY:_0x29617b}=_0x30828b,_0x2bcae5=_0x18a144-_0x47fc71,_0x2a4589=_0x29617b-_0x1c0e3e,_0x32ea5d={'labelPosition':_0x1c0e3e-_0x1c31e1>=_0x43962b?_0x5bca2f(0x2f8):_0x5bca2f(0x2ee),'sheetID':_0xb4ba4a,'range':_0x237749,'color':_0x45f0ef,'name':_0x9fa703,'selection':_0x3a0fc1,'left':_0x47fc71,'top':_0x1c0e3e,'width':_0x2bcae5,'height':_0x2a4589,'evented':!0x1,'zIndex':_0x1606fa};return new _0x4f6975(_0x9fa703,_0x32ea5d);});_0x52b735[_0x25a85f(0x309)](_0x186665,_0x1b0dbb),this[_0x25a85f(0x2bb)]=new Set(_0x186665);}[_0x479db0(0x41a)](){const _0x32d229=_0x479db0;var _0x5380d9;(_0x5380d9=this[_0x32d229(0x2bb)])==null||_0x5380d9[_0x32d229(0x1ac)](_0x2303c7=>_0x2303c7['dispose']());}['_getSheetObject'](){const _0x295e90=_0x479db0;return _0x244403[_0x295e90(0x2d1)](this['_context'][_0x295e90(0x241)],this['_context']);}};_0x125789=_0x3c61bd([_0x22c47f(0x1,_0x3446be[_0x479db0(0x21b)](_0x244403[_0x479db0(0x20c)])),_0x22c47f(0x2,_0x3446be['Inject'](_0x302180)),_0x22c47f(0x3,_0x3446be[_0x479db0(0x21b)](_0x3446be[_0x479db0(0x1f3)]))],_0x125789);function _0x261724(_0x5b3fc1){const _0x75841b=_0x479db0,_0x2c5fdc=new Map();return _0x5b3fc1['forEach'](_0x4142cb=>{const _0x41f935=_0x5580;if(_0x2c5fdc['has'](_0x4142cb[_0x41f935(0x25c)])){const _0x35de4f=_0x2c5fdc[_0x41f935(0x18f)](_0x4142cb[_0x41f935(0x25c)]);_0x35de4f[_0x41f935(0x348)]+=',\x20'+_0x4142cb[_0x41f935(0x348)];}else _0x2c5fdc[_0x41f935(0x1c9)](_0x4142cb[_0x41f935(0x25c)],_0x4142cb);}),Array['from'](_0x2c5fdc[_0x75841b(0x1ed)]());}var _0x35e09f=Object[_0x479db0(0x179)],_0x19a11b=(_0xb6f76b,_0x21e975,_0x364edc,_0x4bcda4)=>{const _0x3dc1d9=_0x479db0;for(var _0x473d5e=_0x4bcda4>0x1?void 0x0:_0x4bcda4?_0x35e09f(_0x21e975,_0x364edc):_0x21e975,_0x2c8dd0=_0xb6f76b[_0x3dc1d9(0x27b)]-0x1,_0x1c321f;_0x2c8dd0>=0x0;_0x2c8dd0--)(_0x1c321f=_0xb6f76b[_0x2c8dd0])&&(_0x473d5e=_0x1c321f(_0x473d5e)||_0x473d5e);return _0x473d5e;},_0x69a635=(_0x5eadaa,_0x15610a)=>(_0x22ffbe,_0x234aef)=>_0x15610a(_0x22ffbe,_0x234aef,_0x5eadaa);let _0x508130=class extends _0x3446be['Disposable']{constructor(_0x3befdf,_0x6bbd3,_0x37dadd,_0x254d96,_0x24d3f1,_0x499aee){const _0x5cba1b=_0x479db0;super(),this[_0x5cba1b(0x1e5)]=_0x3befdf,this[_0x5cba1b(0x411)]=_0x6bbd3,this[_0x5cba1b(0x3d1)]=_0x37dadd,this['_messageService']=_0x254d96,this[_0x5cba1b(0x1fd)]=_0x24d3f1,this[_0x5cba1b(0x19f)]=_0x499aee,this[_0x5cba1b(0x377)](),this[_0x5cba1b(0x3ea)]();}[_0x479db0(0x377)](){const _0x44e94e=_0x479db0;this['disposeWithMe'](this[_0x44e94e(0x1e5)]['registerBeforeClose'](()=>{const _0x857c46=_0x44e94e;if(this[_0x857c46(0x411)][_0x857c46(0x18c)][_0x857c46(0x2c9)])return this[_0x857c46(0x19f)]['t'](_0x857c46(0x380));}));}[_0x479db0(0x3ea)](){const _0x11da87=_0x479db0;this[_0x11da87(0x275)](this['_collaborationUIEventService'][_0x11da87(0x3b2)][_0x11da87(0x1b3)](_0xd50d31=>{const _0x2f89bc=_0x11da87;_0xd50d31['id']===_0x4a9508[_0x2f89bc(0x2a6)][_0x2f89bc(0x40a)]&&this['_messageService'][_0x2f89bc(0x2a8)]({'type':_0x5d7915[_0x2f89bc(0x194)][_0x2f89bc(0x412)],'content':this[_0x2f89bc(0x19f)]['t']('collaboration.single-unit.warning')}),_0xd50d31['id']===_0x4a9508['CollaborationUIEventId'][_0x2f89bc(0x24a)]&&this[_0x2f89bc(0x1cc)]['show']({'type':_0x5d7915[_0x2f89bc(0x194)]['Warning'],'content':this[_0x2f89bc(0x19f)]['t']('collaboration.closeRoom')}),_0xd50d31['id']===_0x4a9508['CollaborationUIEventId']['PERMISSION_DENIED']&&this[_0x2f89bc(0x1fd)][_0x2f89bc(0x2a8)]({'title':this['_localeService']['t'](_0x2f89bc(0x405)),'content':this[_0x2f89bc(0x19f)]['t'](_0x2f89bc(0x22b)),'type':'error','duration':0x0}),_0xd50d31['id']===_0x4a9508['CollaborationUIEventId']['CONFLICT']&&this[_0x2f89bc(0x1cc)][_0x2f89bc(0x2a8)]({'type':_0x5d7915[_0x2f89bc(0x194)][_0x2f89bc(0x39b)],'content':this[_0x2f89bc(0x19f)]['t'](_0x2f89bc(0x2bd))+'('+_0xd50d31[_0x2f89bc(0x429)]+')'}),_0xd50d31['id']===_0x4a9508[_0x2f89bc(0x2a6)][_0x2f89bc(0x34d)]&&this['_messageService']['show']({'type':_0x5d7915[_0x2f89bc(0x194)][_0x2f89bc(0x412)],'content':this['_localeService']['t'](_0xd50d31[_0x2f89bc(0x429)]||'')}),_0xd50d31['id']===_0x4a9508[_0x2f89bc(0x2a6)][_0x2f89bc(0x27f)]&&this['_messageService'][_0x2f89bc(0x2a8)]({'type':_0x5d7915[_0x2f89bc(0x194)]['Warning'],'content':this[_0x2f89bc(0x19f)]['t'](_0x2f89bc(0x3e9))}),_0xd50d31['id']===_0x4a9508[_0x2f89bc(0x2a6)][_0x2f89bc(0x3d5)]&&this[_0x2f89bc(0x1cc)][_0x2f89bc(0x2a8)]({'type':_0x5d7915[_0x2f89bc(0x194)][_0x2f89bc(0x39b)],'content':this[_0x2f89bc(0x19f)]['t'](_0x2f89bc(0x2a9))}),_0xd50d31['id']===_0x4a9508[_0x2f89bc(0x2a6)][_0x2f89bc(0x1d7)]&&this['_messageService'][_0x2f89bc(0x2a8)]({'type':_0x5d7915[_0x2f89bc(0x194)]['Error'],'content':this['_localeService']['t'](_0x2f89bc(0x236))});}));}};_0x508130=_0x19a11b([_0x69a635(0x0,_0x1e2f17['IBeforeCloseService']),_0x69a635(0x1,_0x4a9508[_0x479db0(0x3e5)]),_0x69a635(0x2,_0x3446be[_0x479db0(0x21b)](_0x4a9508['CollaborationUIEventService'])),_0x69a635(0x3,_0x1e2f17['IMessageService']),_0x69a635(0x4,_0x1e2f17[_0x479db0(0x415)]),_0x69a635(0x5,_0x3446be[_0x479db0(0x21b)](_0x3446be[_0x479db0(0x1c3)]))],_0x508130);const _0x14c0d0=_0x479db0(0x2d6),_0x151b2a={};var _0x20e23e=Object[_0x479db0(0x179)],_0x53ee01=(_0x1c6c20,_0x2ad41a,_0x1ef219,_0x22a487)=>{const _0x3676ff=_0x479db0;for(var _0x186520=_0x22a487>0x1?void 0x0:_0x22a487?_0x20e23e(_0x2ad41a,_0x1ef219):_0x2ad41a,_0x4ac30e=_0x1c6c20[_0x3676ff(0x27b)]-0x1,_0x160164;_0x4ac30e>=0x0;_0x4ac30e--)(_0x160164=_0x1c6c20[_0x4ac30e])&&(_0x186520=_0x160164(_0x186520)||_0x186520);return _0x186520;},_0x458fc2=(_0x4f5704,_0x33763d)=>(_0x1fb212,_0x4d01a8)=>_0x33763d(_0x1fb212,_0x4d01a8,_0x4f5704);let _0xb9b96b=class{constructor(_0x2852d3,_0xc83e1e){const _0x3c82ac=_0x479db0;this['_transformService']=_0x2852d3,this[_0x3c82ac(0x400)]=_0xc83e1e;}[_0x479db0(0x3fb)](_0x24494c){const _0xa0cd8c=_0x479db0;this[_0xa0cd8c(0x3b4)](_0x24494c),this[_0xa0cd8c(0x243)](_0x24494c);}[_0x479db0(0x1d4)](_0x51730f){const _0x4b1284=_0x479db0,{unitID:_0x2fb63c}=_0x51730f,_0x5d7bfa=this[_0x4b1284(0x400)][_0x4b1284(0x2e5)](_0x2fb63c)[_0x4b1284(0x1f0)](_0x4262be[_0x4b1284(0x257)]),{redoCache:_0x4c79d2}=_0x5d7bfa[_0x4b1284(0x196)]();if(_0x4c79d2['length']===0x0)return _0x51730f;let _0xb9d884=_0x3446be[_0x4b1284(0x37d)][_0x4b1284(0x420)](_0x51730f[_0x4b1284(0x302)][0x0]);for(let _0x166e08=0x0;_0x166e08<_0x4c79d2['length'];_0x166e08++){const _0x3294a0={'id':'doc.mutation.rich-text-editing','params':{..._0x4c79d2[_0x166e08]}},_0x2d99b5=this[_0x4b1284(0x3aa)]['transformMutation'](_0xb9d884,_0x3294a0,!0x1);if(_0x5ee43a[_0x4b1284(0x3e3)](_0x2d99b5))throw _0x2d99b5['error'];_0xb9d884=_0x2d99b5[_0x4b1284(0x29a)];}return{..._0x3446be[_0x4b1284(0x37d)][_0x4b1284(0x420)](_0x51730f),'mutations':[_0xb9d884]};}[_0x479db0(0x3b4)](_0x5c94aa){const _0x3b2129=_0x479db0,{unitID:_0x381f35}=_0x5c94aa,_0x90ceb6=this[_0x3b2129(0x400)]['getRenderById'](_0x381f35)[_0x3b2129(0x1f0)](_0x4262be['DocIMEInputManagerService']),{undoCache:_0x10abf1,redoCache:_0x37e05c}=_0x90ceb6[_0x3b2129(0x196)]();if(_0x10abf1[_0x3b2129(0x27b)]===0x0||_0x37e05c[_0x3b2129(0x27b)]===0x0)return;const _0x5b4f2e=[],_0x4963c9=[];let _0x25b2b5=_0x3446be['Tools']['deepClone'](_0x5c94aa[_0x3b2129(0x302)][0x0]),_0x84235e=_0x3446be['Tools'][_0x3b2129(0x420)](_0x5c94aa['mutations'][0x0]);for(let _0x491547=_0x10abf1[_0x3b2129(0x27b)]-0x1;_0x491547>=0x0;_0x491547--){const _0x3afcbe={'id':_0x3b2129(0x28c),'params':{..._0x10abf1[_0x491547]}},_0x34dbb5={'id':_0x3b2129(0x28c),'params':{..._0x37e05c[_0x491547]}},_0x1f5f68=this[_0x3b2129(0x3aa)]['transformMutation'](_0x25b2b5,_0x3afcbe,!0x1),_0x5cd964=this[_0x3b2129(0x3aa)][_0x3b2129(0x342)](_0x84235e,_0x34dbb5,!0x1);if(_0x5ee43a[_0x3b2129(0x3e3)](_0x1f5f68))throw _0x1f5f68[_0x3b2129(0x2cb)];if(_0x5ee43a['isTransformMutationFailure'](_0x5cd964))throw _0x5cd964['error'];_0x5b4f2e['unshift'](_0x1f5f68[_0x3b2129(0x288)]['params']),_0x4963c9[_0x3b2129(0x23f)](_0x5cd964[_0x3b2129(0x288)][_0x3b2129(0x2b2)]),_0x25b2b5=_0x1f5f68[_0x3b2129(0x29a)],_0x84235e=_0x5cd964[_0x3b2129(0x29a)];}_0x90ceb6[_0x3b2129(0x1be)]({'undoCache':_0x5b4f2e,'redoCache':_0x4963c9});}['_transformPreviousActiveRange'](_0x1da3f){const _0x2fdee8=_0x479db0,{unitID:_0x253d34}=_0x1da3f,_0x3adf1a=this[_0x2fdee8(0x400)][_0x2fdee8(0x2e5)](_0x253d34)[_0x2fdee8(0x1f0)](_0x4262be['DocIMEInputManagerService']),_0x26f3d3=_0x3adf1a[_0x2fdee8(0x320)]();if(_0x26f3d3==null)return;const _0x55e3c2=[{'id':_0x2fdee8(0x28c),'params':{'unitId':_0x1da3f[_0x2fdee8(0x180)],'actions':null,'textRanges':[_0x26f3d3]}}],_0x4a0ef6=this['_transformService'][_0x2fdee8(0x416)](_0x1da3f,_0x55e3c2);if(!_0x5ee43a[_0x2fdee8(0x442)](_0x4a0ef6))throw _0x4a0ef6[_0x2fdee8(0x2cb)];const _0x290f1c=_0x4a0ef6[_0x2fdee8(0x288)][0x0][_0x2fdee8(0x2b2)][_0x2fdee8(0x239)];Array['isArray'](_0x290f1c)&&_0x290f1c[_0x2fdee8(0x27b)]&&_0x3adf1a[_0x2fdee8(0x2e8)](_0x290f1c[0x0]);}};_0xb9b96b=_0x53ee01([_0x458fc2(0x0,_0x5ee43a[_0x479db0(0x3b7)]),_0x458fc2(0x1,_0x154eb1[_0x479db0(0x3b8)])],_0xb9b96b);var _0x58a728=Object[_0x479db0(0x179)],_0x256dfc=(_0x81b7c1,_0x610043,_0xaa1645,_0x325b81)=>{for(var _0x26b6db=_0x325b81>0x1?void 0x0:_0x325b81?_0x58a728(_0x610043,_0xaa1645):_0x610043,_0x202bbb=_0x81b7c1['length']-0x1,_0x82b89a;_0x202bbb>=0x0;_0x202bbb--)(_0x82b89a=_0x81b7c1[_0x202bbb])&&(_0x26b6db=_0x82b89a(_0x26b6db)||_0x26b6db);return _0x26b6db;},_0x264e9f=(_0x4ac7d6,_0xc9695f)=>(_0x172db2,_0x1dab91)=>_0xc9695f(_0x172db2,_0x1dab91,_0x4ac7d6);let _0x44d029=class{constructor(_0x3270fa,_0x32e53b,_0x437386){const _0x330af6=_0x479db0;this['_injector']=_0x3270fa,this['_transformService']=_0x32e53b,this[_0x330af6(0x398)]=_0x437386;}[_0x479db0(0x27c)](_0x222f6d){const _0x11bace=_0x479db0;this[_0x11bace(0x193)](_0x222f6d);}[_0x479db0(0x1d4)](_0x5619d5){const _0x51f918=_0x479db0,{unitID:_0x56bc92}=_0x5619d5,{collaboration:_0x4b971b}=this['_docStateChangeManagerService'][_0x51f918(0x23e)](_0x56bc92);if(_0x4b971b['length']===0x0)return _0x5619d5;let _0x101a1c=_0x3446be['Tools'][_0x51f918(0x420)](_0x5619d5[_0x51f918(0x302)][0x0]);for(let _0x5c9f7d=0x0;_0x5c9f7d<_0x4b971b[_0x51f918(0x27b)];_0x5c9f7d++){const _0x29bf0f={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x4b971b[_0x5c9f7d]['unitId'],..._0x4b971b[_0x5c9f7d][_0x51f918(0x300)]}},_0x4bacac=this[_0x51f918(0x3aa)][_0x51f918(0x342)](_0x101a1c,_0x29bf0f,!0x1);if(_0x5ee43a[_0x51f918(0x3e3)](_0x4bacac))throw _0x4bacac[_0x51f918(0x2cb)];_0x101a1c=_0x4bacac[_0x51f918(0x29a)];}return{..._0x3446be[_0x51f918(0x37d)][_0x51f918(0x420)](_0x5619d5),'mutations':[_0x101a1c]};}[_0x479db0(0x193)](_0xf20209){const _0x30c505=_0x479db0,{unitID:_0x7e9a36}=_0xf20209,{history:_0x1c04f2,collaboration:_0x56515b}=this['_docStateChangeManagerService'][_0x30c505(0x23e)](_0x7e9a36);if(_0x1c04f2['length']===0x0&&_0x56515b[_0x30c505(0x27b)]===0x0)return;const _0x4f770a=[],_0xef5e3e=[];let _0x18ca79=_0x3446be[_0x30c505(0x37d)][_0x30c505(0x420)](_0xf20209[_0x30c505(0x302)][0x0]),_0x5153cc=_0x3446be[_0x30c505(0x37d)][_0x30c505(0x420)](_0xf20209[_0x30c505(0x302)][0x0]);for(let _0x7b052f=_0x1c04f2[_0x30c505(0x27b)]-0x1;_0x7b052f>=0x0;_0x7b052f--){const _0x53a7ce={'id':_0x30c505(0x28c),'params':{'unitId':_0x1c04f2[_0x7b052f]['unitId'],..._0x1c04f2[_0x7b052f]['undoState']}},_0x121356={'id':_0x30c505(0x28c),'params':{'unitId':_0x1c04f2[_0x7b052f][_0x30c505(0x404)],..._0x1c04f2[_0x7b052f]['redoState']}},_0x290219=this[_0x30c505(0x3aa)][_0x30c505(0x342)](_0x18ca79,_0x53a7ce,!0x1),_0x28b2d6=this[_0x30c505(0x3aa)][_0x30c505(0x342)](_0x5153cc,_0x121356,!0x1);if(_0x5ee43a[_0x30c505(0x3e3)](_0x290219))throw _0x290219[_0x30c505(0x2cb)];if(_0x5ee43a[_0x30c505(0x3e3)](_0x28b2d6))throw _0x28b2d6['error'];_0x4f770a['unshift']({..._0x1c04f2[_0x7b052f],'undoState':_0x290219[_0x30c505(0x288)]['params'],'redoState':_0x28b2d6[_0x30c505(0x288)][_0x30c505(0x2b2)]}),_0x18ca79=_0x290219[_0x30c505(0x29a)],_0x5153cc=_0x28b2d6[_0x30c505(0x29a)];}_0x18ca79=_0x3446be['Tools'][_0x30c505(0x420)](_0xf20209[_0x30c505(0x302)][0x0]),_0x5153cc=_0x3446be[_0x30c505(0x37d)][_0x30c505(0x420)](_0xf20209['mutations'][0x0]);for(let _0x2d786b=_0x56515b[_0x30c505(0x27b)]-0x1;_0x2d786b>=0x0;_0x2d786b--){const _0x2c9d33={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x56515b[_0x2d786b][_0x30c505(0x404)],..._0x56515b[_0x2d786b]['undoState']}},_0x5bc682={'id':_0x30c505(0x28c),'params':{'unitId':_0x56515b[_0x2d786b][_0x30c505(0x404)],..._0x56515b[_0x2d786b]['redoState']}},_0x140c5b=this[_0x30c505(0x3aa)][_0x30c505(0x342)](_0x18ca79,_0x2c9d33,!0x1),_0x4c3583=this[_0x30c505(0x3aa)]['transformMutation'](_0x5153cc,_0x5bc682,!0x1);if(_0x5ee43a[_0x30c505(0x3e3)](_0x140c5b))throw _0x140c5b[_0x30c505(0x2cb)];if(_0x5ee43a[_0x30c505(0x3e3)](_0x4c3583))throw _0x4c3583['error'];_0xef5e3e[_0x30c505(0x23f)]({..._0x56515b[_0x2d786b],'undoState':_0x140c5b[_0x30c505(0x288)][_0x30c505(0x2b2)],'redoState':_0x4c3583[_0x30c505(0x288)][_0x30c505(0x2b2)]}),_0x18ca79=_0x140c5b[_0x30c505(0x29a)],_0x5153cc=_0x4c3583['m1Prime'];}this[_0x30c505(0x398)][_0x30c505(0x17d)](_0x7e9a36,{'history':_0x4f770a,'collaboration':_0xef5e3e});}};_0x44d029=_0x256dfc([_0x264e9f(0x0,_0x3446be[_0x479db0(0x21b)](_0x3446be[_0x479db0(0x195)])),_0x264e9f(0x1,_0x5ee43a[_0x479db0(0x3b7)]),_0x264e9f(0x2,_0x3446be[_0x479db0(0x21b)](_0x4262be[_0x479db0(0x322)]))],_0x44d029);var _0x1ee618=Object[_0x479db0(0x179)],_0x1287a4=(_0x24ef94,_0x409f2e,_0x247323,_0x410845)=>{for(var _0x3e0a94=_0x410845>0x1?void 0x0:_0x410845?_0x1ee618(_0x409f2e,_0x247323):_0x409f2e,_0x16b43d=_0x24ef94['length']-0x1,_0x469e49;_0x16b43d>=0x0;_0x16b43d--)(_0x469e49=_0x24ef94[_0x16b43d])&&(_0x3e0a94=_0x469e49(_0x3e0a94)||_0x3e0a94);return _0x3e0a94;},_0x113639=(_0x4448e5,_0x2fa8ee)=>(_0x34d7fe,_0x33cbfb)=>_0x2fa8ee(_0x34d7fe,_0x33cbfb,_0x4448e5);let _0x424ebb=class{constructor(_0x293240,_0x296dbf){const _0x380fbc=_0x479db0;this['_injector']=_0x293240,this[_0x380fbc(0x3aa)]=_0x296dbf;}['transformSelections'](_0x4655e4){const _0x2b78dc=_0x479db0;var _0x5e9f76;const _0x3d59f5=this[_0x2b78dc(0x23c)]['get'](_0x4cdd99[_0x2b78dc(0x1f7)]),_0x4e513f=(_0x5e9f76=_0x3d59f5[_0x2b78dc(0x334)]())!=null?_0x5e9f76:[];if(_0x4e513f['length']===0x0)return;const _0x77031=_0x4655e4[_0x2b78dc(0x180)],_0x3350f=[{'id':_0x2b78dc(0x28c),'params':{'unitId':_0x77031,'actions':null,'textRanges':_0x4e513f}}],_0x27ec10=this[_0x2b78dc(0x3aa)][_0x2b78dc(0x416)](_0x4655e4,_0x3350f);if(!_0x5ee43a[_0x2b78dc(0x442)](_0x27ec10))throw _0x27ec10[_0x2b78dc(0x2cb)];const _0x3c670b=_0x27ec10[_0x2b78dc(0x288)][0x0][_0x2b78dc(0x2b2)][_0x2b78dc(0x239)];Array[_0x2b78dc(0x3cf)](_0x3c670b)&&_0x3c670b[_0x2b78dc(0x27b)]&&_0x3d59f5['replaceDocRanges'](_0x3c670b,{'unitId':_0x77031,'subUnitId':_0x77031},!0x1);}};_0x424ebb=_0x1287a4([_0x113639(0x0,_0x3446be['Inject'](_0x3446be[_0x479db0(0x195)])),_0x113639(0x1,_0x5ee43a[_0x479db0(0x3b7)])],_0x424ebb);var _0x1de74a=Object[_0x479db0(0x179)],_0x474f38=(_0x195c0f,_0x2957e0,_0x40113d,_0x1d0ee5)=>{const _0x2e53b8=_0x479db0;for(var _0x320c75=_0x1d0ee5>0x1?void 0x0:_0x1d0ee5?_0x1de74a(_0x2957e0,_0x40113d):_0x2957e0,_0x5ebcd8=_0x195c0f[_0x2e53b8(0x27b)]-0x1,_0x12c352;_0x5ebcd8>=0x0;_0x5ebcd8--)(_0x12c352=_0x195c0f[_0x5ebcd8])&&(_0x320c75=_0x12c352(_0x320c75)||_0x320c75);return _0x320c75;},_0x3e3244=(_0x2e5bd4,_0x40023b)=>(_0x5822a0,_0x52f7c9)=>_0x40023b(_0x5822a0,_0x52f7c9,_0x2e5bd4);let _0x312d64=class extends _0x3446be[_0x479db0(0x1fc)]{constructor(_0x318b27,_0x712bf8,_0x32bd1c,_0x1fe587,_0x49495e,_0x4bca10,_0x136976,_0x2eafdc){const _0xe62f19=_0x479db0;super(),_0x4b5aa6(this,'_status$',new _0xc33fa7['BehaviorSubject'](_0x4a9508[_0xe62f19(0x3c2)][_0xe62f19(0x2e9)])),(this[_0xe62f19(0x398)]=_0x318b27,this[_0xe62f19(0x3ca)]=_0x712bf8,this[_0xe62f19(0x33c)]=_0x32bd1c,this[_0xe62f19(0x2c2)]=_0x1fe587,this['_docTransformSelectionsService']=_0x49495e,this[_0xe62f19(0x2cc)]=_0x4bca10,this[_0xe62f19(0x1cc)]=_0x136976,this[_0xe62f19(0x19f)]=_0x2eafdc,this[_0xe62f19(0x1c4)]());}['_initEntityListener'](){const _0x280981=_0x479db0;this['disposeWithMe'](this[_0x280981(0x3ca)]['entityInit$'][_0x280981(0x1b3)](_0x793bf=>{const _0x24ddb1=_0x280981,_0x179899=this[_0x24ddb1(0x398)][_0x24ddb1(0x32a)][_0x24ddb1(0x1b3)](_0x251330=>{const _0x3a81c3=_0x24ddb1;if(_0x251330==null)return;const {unitId:_0x13e675,redoState:_0x21dee5,commandId:_0x2e0e2f}=_0x251330;if(_0x13e675!==_0x793bf[_0x3a81c3(0x180)])return;const _0x7c82c8={'id':_0x2e0e2f,'type':_0x3446be[_0x3a81c3(0x2db)]['MUTATION'],'params':{'unitId':_0x13e675,'actions':_0x21dee5[_0x3a81c3(0x2e1)],'textRanges':null}};_0x793bf['onLocalMutation'](_0x7c82c8);});if(_0x793bf['disposeWithMe'](_0x179899),_0x793bf instanceof _0x4a9508[_0x24ddb1(0x2a1)]){const _0x399897={'onTransformIME':_0x3e7668=>this[_0x24ddb1(0x33c)][_0x24ddb1(0x3fb)](_0x3e7668),'onTransformState':_0x1d760c=>this['_docTransformStateCacheService'][_0x24ddb1(0x27c)](_0x1d760c),'onTransformSelections':_0x2d955e=>this['_docTransformSelectionsService'][_0x24ddb1(0x2f7)](_0x2d955e),'onSyncEditingCollabCursor':_0x383c71=>this[_0x24ddb1(0x2cc)]['syncEditingCollabCursor'](_0x383c71),'onTransformRemoteChangesetByIMECache':_0x1d087c=>this['_docTransformIMECacheService'][_0x24ddb1(0x1d4)](_0x1d087c),'onTransformRemoteChangesetByStateCache':_0x3ad68c=>this[_0x24ddb1(0x2c2)][_0x24ddb1(0x1d4)](_0x3ad68c)};_0x793bf[_0x24ddb1(0x374)](_0x399897);}}));}};_0x312d64=_0x474f38([_0x3e3244(0x0,_0x3446be[_0x479db0(0x21b)](_0x4262be[_0x479db0(0x322)])),_0x3e3244(0x1,_0x3446be[_0x479db0(0x21b)](_0x4a9508[_0x479db0(0x198)])),_0x3e3244(0x2,_0x3446be['Inject'](_0xb9b96b)),_0x3e3244(0x3,_0x3446be[_0x479db0(0x21b)](_0x44d029)),_0x3e3244(0x4,_0x3446be[_0x479db0(0x21b)](_0x424ebb)),_0x3e3244(0x5,_0x3446be[_0x479db0(0x21b)](_0x35b0b1)),_0x3e3244(0x6,_0x1e2f17[_0x479db0(0x1d9)]),_0x3e3244(0x7,_0x3446be[_0x479db0(0x21b)](_0x3446be[_0x479db0(0x1c3)]))],_0x312d64);var _0x24e2bf=(_0x476444=>(_0x476444[_0x476444[_0x479db0(0x19e)]=0x0]=_0x479db0(0x19e),_0x476444[_0x476444['OK']=0x1]='OK',_0x476444[_0x476444['INTERNAL_ERROR']=0x2]=_0x479db0(0x189),_0x476444[_0x476444[_0x479db0(0x1eb)]=0x3]=_0x479db0(0x1eb),_0x476444[_0x476444[_0x479db0(0x42f)]=0x4]=_0x479db0(0x42f),_0x476444[_0x476444[_0x479db0(0x391)]=0x5]=_0x479db0(0x391),_0x476444[_0x476444['ALREADY_EXISTS']=0x6]=_0x479db0(0x223),_0x476444[_0x476444[_0x479db0(0x42c)]=0x7]=_0x479db0(0x42c),_0x476444[_0x476444[_0x479db0(0x216)]=0x8]='TOO_MANY_REQUESTS',_0x476444[_0x476444[_0x479db0(0x1c1)]=0x9]=_0x479db0(0x1c1),_0x476444[_0x476444[_0x479db0(0x3dd)]=0xa]=_0x479db0(0x3dd),_0x476444[_0x476444[_0x479db0(0x1e1)]=0xb]=_0x479db0(0x1e1),_0x476444[_0x476444['MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED']=0xc]='MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED',_0x476444[_0x476444['EMAIL_VERIFY_CODE_MISMATCH']=0xd]=_0x479db0(0x261),_0x476444[_0x476444[_0x479db0(0x1c2)]=0xe]='EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED',_0x476444[_0x476444[_0x479db0(0x215)]=0xf]=_0x479db0(0x215),_0x476444[_0x476444['LOGIN_TOKEN_PROCESSING_FAILED']=0x10]=_0x479db0(0x1d2),_0x476444[_0x476444['CURRENT_STATUS_CANNOT_OPERATE']=0x64]='CURRENT_STATUS_CANNOT_OPERATE',_0x476444[_0x476444[_0x479db0(0x281)]=0x65]='ERROR_AGAIN',_0x476444[_0x476444[_0x479db0(0x1b9)]=0xc9]=_0x479db0(0x1b9),_0x476444[_0x476444[_0x479db0(0x35c)]=0xca]=_0x479db0(0x35c),_0x476444[_0x476444[_0x479db0(0x307)]=0x1389]='CHANGESET_REVISION_CONFILICT',_0x476444[_0x476444[_0x479db0(0x3f3)]=0x1771]=_0x479db0(0x3f3),_0x476444[_0x476444['SNAPSHOT_HAS_BEEN_REMOVED']=0x1772]='SNAPSHOT_HAS_BEEN_REMOVED',_0x476444[_0x476444['ENSURE_SNAPSHOT_EXECUTION']=0x1773]='ENSURE_SNAPSHOT_EXECUTION',_0x476444[_0x476444[_0x479db0(0x330)]=0x1b59]=_0x479db0(0x330),_0x476444[_0x476444[_0x479db0(0x250)]=0x1b5a]=_0x479db0(0x250),_0x476444[_0x476444[_0x479db0(0x3ee)]=0x1b5b]=_0x479db0(0x3ee),_0x476444[_0x476444[_0x479db0(0x2e7)]=0x1b5c]=_0x479db0(0x2e7),_0x476444[_0x476444['APPLY_DUPLICATED']=0x1b5d]=_0x479db0(0x37b),_0x476444[_0x476444[_0x479db0(0x2d7)]=0x1f41]='CONNECTOR_DATA_TOO_LARGE',_0x476444[_0x476444[_0x479db0(0x41e)]=0x2329]='LICENSE_MAX_UNITS_EXCEEDED',_0x476444[_0x476444[_0x479db0(0x26b)]=0x232a]=_0x479db0(0x26b),_0x476444[_0x476444[_0x479db0(0x224)]=0x232b]=_0x479db0(0x224),_0x476444[_0x476444[_0x479db0(0x272)]=0x232c]=_0x479db0(0x272),_0x476444[_0x476444[_0x479db0(0x219)]=0x232d]='LICENSE_DISTRO_REJECTED',_0x476444[_0x476444[_0x479db0(0x3cb)]=0x2711]='YUUMI_UNABLE_LOAD_URL',_0x476444[_0x476444['YUUMI_URL_COL_OUT_OF_RANGE']=0x2712]=_0x479db0(0x43a),_0x476444[_0x476444[_0x479db0(0x431)]=0x2713]=_0x479db0(0x431),_0x476444[_0x476444[_0x479db0(0x2c0)]=0x2714]='YUUMI_SUBSCRIPTION_NOT_FOUND',_0x476444[_0x476444[_0x479db0(0x36b)]=0x271a]=_0x479db0(0x36b),_0x476444[_0x476444[_0x479db0(0x39e)]=0x271b]=_0x479db0(0x39e),_0x476444[_0x476444[_0x479db0(0x28b)]=0x271c]=_0x479db0(0x28b),_0x476444[_0x476444['YUUMI_ALL_TABLES_IS_INVALID']=0x271d]=_0x479db0(0x3a3),_0x476444[_0x476444[_0x479db0(0x19b)]=0x271e]=_0x479db0(0x19b),_0x476444[_0x476444['YUUMI_AI_RUN_FAILED']=0x271f]=_0x479db0(0x2ea),_0x476444[_0x476444[_0x479db0(0x376)]=0x2720]=_0x479db0(0x376),_0x476444[_0x476444['PY_RUNTIME_SCRIPT_ERROR']=0x2af9]=_0x479db0(0x2e6),_0x476444[_0x476444[_0x479db0(0x3c9)]=0x2ee1]=_0x479db0(0x3c9),_0x476444[_0x476444[_0x479db0(0x26c)]=0x2ee2]=_0x479db0(0x26c),_0x476444[_0x476444['INVITE_CODE_REQUIRED']=0x2ee3]='INVITE_CODE_REQUIRED',_0x476444[_0x476444[_0x479db0(0x235)]=0x2ee4]=_0x479db0(0x235),_0x476444[_0x476444['INVITE_CODE_ALREADY_BOUND']=0x2ee5]=_0x479db0(0x32b),_0x476444[_0x476444['WECHAT_HAS_BEEN_BOUND']=0x32c9]=_0x479db0(0x229),_0x476444[_0x476444[_0x479db0(0x1b7)]=0x32ca]=_0x479db0(0x1b7),_0x476444[_0x476444[_0x479db0(0x1d8)]=0x32cb]='EMAIL_HAS_BEEN_BOUND',_0x476444[_0x476444[_0x479db0(0x422)]=0x36b1]=_0x479db0(0x422),_0x476444[_0x476444[_0x479db0(0x269)]=0x36b2]='ENTITLE_UPDOWN_GRADE_NOT_SUPPORT',_0x476444[_0x476444[_0x479db0(0x310)]=0x36b3]=_0x479db0(0x310),_0x476444[_0x476444[_0x479db0(0x1cb)]=0x36b4]=_0x479db0(0x1cb),_0x476444[_0x476444[_0x479db0(0x1b4)]=0x3715]=_0x479db0(0x1b4),_0x476444[_0x476444['ENTITLE_REPORT_LIMIT_EXCEED']=0x3716]=_0x479db0(0x436),_0x476444[_0x476444[_0x479db0(0x217)]=0x37dd]=_0x479db0(0x217),_0x476444[_0x476444[_0x479db0(0x37c)]=0x3a99]=_0x479db0(0x37c),_0x476444[_0x476444['REDEMPTION_CODE_INACTIVE']=0x3a9a]='REDEMPTION_CODE_INACTIVE',_0x476444[_0x476444[_0x479db0(0x31f)]=0x3a9b]=_0x479db0(0x31f),_0x476444[_0x476444[_0x479db0(0x1d6)]=0x3a9c]=_0x479db0(0x1d6),_0x476444[_0x476444['REDEMPTION_USER_NOT_ELIGIBLE']=0x3a9d]='REDEMPTION_USER_NOT_ELIGIBLE',_0x476444[_0x476444[_0x479db0(0x370)]=0x3a9e]='REDEMPTION_USER_REDEEM_TIMES_EXCEED',_0x476444[_0x476444['REDEMPTION_CODE_HAS_BEEN_CREATED']=0x3a9f]='REDEMPTION_CODE_HAS_BEEN_CREATED',_0x476444[_0x476444[_0x479db0(0x439)]=-0x1]=_0x479db0(0x439),_0x476444))(_0x24e2bf||{});function _0x35e9ce(_0x3eb27c){const _0x2b2f3d=_0x479db0;var _0x1cc82f,_0x1af37f;const _0x5a0a8c=(_0x1cc82f=_0x3eb27c[_0x2b2f3d(0x312)])==null?void 0x0:_0x1cc82f[_0x2b2f3d(0x2d2)],_0xd4c5d2=((_0x1af37f=_0x3eb27c['stageInfo'])==null?void 0x0:_0x1af37f[_0x2b2f3d(0x34b)])||0x0;return _0x5a0a8c===_0x5777d0['FormulaExecuteStageType'][_0x2b2f3d(0x3bf)]&&_0xd4c5d2>0x0;}function _0x267595(_0x306582){const _0xe97e81=_0x479db0;return _0x306582[_0xe97e81(0x28a)]===_0x5777d0['FormulaExecutedStateType'][_0xe97e81(0x23b)];}var _0x50c789=Object[_0x479db0(0x179)],_0x51bb06=(_0x50d62f,_0x214734,_0x211957,_0xdb0650)=>{const _0xf4a72=_0x479db0;for(var _0x2ffd46=_0xdb0650>0x1?void 0x0:_0xdb0650?_0x50c789(_0x214734,_0x211957):_0x214734,_0x617a37=_0x50d62f[_0xf4a72(0x27b)]-0x1,_0x44e68d;_0x617a37>=0x0;_0x617a37--)(_0x44e68d=_0x50d62f[_0x617a37])&&(_0x2ffd46=_0x44e68d(_0x2ffd46)||_0x2ffd46);return _0x2ffd46;},_0x8120ad=(_0x6f73a6,_0x215fef)=>(_0x25a466,_0x381c21)=>_0x215fef(_0x25a466,_0x381c21,_0x6f73a6);const _0x4f1a91=_0x479db0(0x1af),_0x35f3f5=_0x479db0(0x2ad),_0x44ff63=_0x479db0(0x200);let _0x5c7fbc=class extends _0x3446be[_0x479db0(0x1fc)]{constructor(_0x2eb1fa,_0x5003d3,_0x473fd4,_0xbad8fc,_0x4f153c,_0x26a959,_0x117678){const _0x5d95ee=_0x479db0;super(),_0x4b5aa6(this,_0x5d95ee(0x228),null),_0x4b5aa6(this,'_maxFormulaLimit',0x0),_0x4b5aa6(this,'_currentUsage',0x0),_0x4b5aa6(this,_0x5d95ee(0x308),[]),_0x4b5aa6(this,_0x5d95ee(0x2e0),0x0),(this[_0x5d95ee(0x1cc)]=_0x2eb1fa,this[_0x5d95ee(0x1ca)]=_0x5003d3,this[_0x5d95ee(0x365)]=_0x473fd4,this[_0x5d95ee(0x30e)]=_0xbad8fc,this['_univerInstanceService']=_0x4f153c,this[_0x5d95ee(0x177)]=_0x26a959,this[_0x5d95ee(0x19f)]=_0x117678,this[_0x5d95ee(0x317)]());}[_0x479db0(0x317)](){const _0x43cd7f=_0x479db0;this[_0x43cd7f(0x275)](this[_0x43cd7f(0x1ca)]['beforeCommandExecuted']((_0x1e7a0b,_0x3849ec)=>{const _0x31fb41=_0x43cd7f;if(_0x1e7a0b['id']!==_0x5777d0[_0x31fb41(0x383)]['id'])return;const _0x47eb46=_0x1e7a0b[_0x31fb41(0x2b2)];if(!this['_hasFormulaInDirtyRanges'](_0x47eb46[_0x31fb41(0x18a)]))return;if(!this[_0x31fb41(0x40c)]())throw this['_checkAndWaitForCalculationPermission'](_0x1e7a0b,_0x3849ec),this[_0x31fb41(0x2a7)](),new _0x3446be[(_0x31fb41(0x337))]();})),this[_0x43cd7f(0x275)](this[_0x43cd7f(0x1ca)][_0x43cd7f(0x3ec)]((_0x3be9c4,_0x1ea1e3)=>{const _0x33e532=_0x43cd7f;if(_0x3be9c4['id']!==_0x5777d0[_0x33e532(0x3b1)]['id'])return;const _0x32d787=_0x3be9c4[_0x33e532(0x2b2)];if(_0x35e9ce(_0x32d787)){const _0x4ccd64=_0x3446be[_0x33e532(0x407)]();this[_0x33e532(0x308)]['push'](_0x4ccd64),this['_startCalculationLimit'](_0x4ccd64);}else{if(_0x267595(_0x32d787)&&this['_taskIds'][_0x33e532(0x27b)]>0x0){const _0x13ec0e=this[_0x33e532(0x308)][_0x33e532(0x1e7)]();this['_releaseCalculationLimit'](_0x13ec0e);}}}));}[_0x479db0(0x40d)](){const _0x30d24f=_0x479db0;super[_0x30d24f(0x40d)](),this['_clearPolling'](),this[_0x30d24f(0x308)]=[],this[_0x30d24f(0x2da)]=0x0,this[_0x30d24f(0x417)]=0x0,this[_0x30d24f(0x2e0)]=0x0;}async[_0x479db0(0x2af)](_0x47edc4,_0x46cf30){const _0x266ca7=_0x479db0;for(let _0x2a9bb5=0x0;_0x2a9bb5<0x1e;_0x2a9bb5++)try{if(await this[_0x266ca7(0x378)](),this[_0x266ca7(0x40c)]()){this[_0x266ca7(0x2d3)](_0x47edc4,_0x46cf30),this[_0x266ca7(0x1cc)][_0x266ca7(0x2a8)]({'content':this[_0x266ca7(0x19f)]['t']('formula.calculation.started'),'type':_0x5d7915['MessageType'][_0x266ca7(0x1fa)]});return;}await new Promise(_0x4fe553=>{const _0xb43bed=_0x266ca7;this[_0xb43bed(0x228)]=window[_0xb43bed(0x256)](_0x4fe553,0x3e8);});}catch(_0x4a35f4){this[_0x266ca7(0x177)][_0x266ca7(0x2cb)](_0x4a35f4);}this[_0x266ca7(0x1cc)][_0x266ca7(0x2a8)]({'content':this[_0x266ca7(0x19f)]['t'](_0x266ca7(0x311)),'type':_0x5d7915[_0x266ca7(0x194)][_0x266ca7(0x39b)]});}[_0x479db0(0x2d3)](_0x387432,_0x53e3b1){const _0x148426=_0x479db0;try{this[_0x148426(0x1ca)]['executeCommand'](_0x387432['id'],_0x387432[_0x148426(0x2b2)],_0x53e3b1);}catch(_0x4673b6){this['_logService']['error'](_0x4673b6);}}['_setFormulaLimitStatus'](_0x3e2aa1,_0x233d99){const _0x6113f9=_0x479db0;_0x233d99<this[_0x6113f9(0x2e0)]||(this[_0x6113f9(0x2e0)]=_0x233d99,this['_maxFormulaLimit']=Number[_0x6113f9(0x36a)](_0x3e2aa1['maxFormulaLimit']),this['_currentUsage']=Number[_0x6113f9(0x36a)](_0x3e2aa1['currentUsage']));}async['_startCalculationLimit'](_0x5eafb3){const _0x1aa97c=_0x479db0;var _0xd07078,_0xfe265;const _0x585d9c=Date[_0x1aa97c(0x2f4)]();try{const _0x299d5e=((_0xd07078=this[_0x1aa97c(0x365)][_0x1aa97c(0x31b)](_0x4a9508[_0x1aa97c(0x3fc)]))==null?void 0x0:_0xd07078[_0x1aa97c(0x3da)])||_0x35f3f5,_0x4ae172=(await this['_httpService'][_0x1aa97c(0x2b3)](_0x299d5e,{'body':JSON[_0x1aa97c(0x443)]({'taskId':_0x5eafb3})}))[_0x1aa97c(0x291)];if(((_0xfe265=_0x4ae172[_0x1aa97c(0x2cb)])==null?void 0x0:_0xfe265[_0x1aa97c(0x181)])!==_0x24e2bf['OK'])return;this[_0x1aa97c(0x3b6)](_0x4ae172[_0x1aa97c(0x340)],_0x585d9c);}catch(_0x521a15){this[_0x1aa97c(0x177)][_0x1aa97c(0x2cb)](_0x521a15);}}async['_getFormulaLimitStatus'](_0x21b618){const _0x94d62d=_0x479db0;var _0x3fca02,_0x58681f;const _0x1a6f6f=Date[_0x94d62d(0x2f4)]();try{const _0x3e2105=((_0x3fca02=this['_configService'][_0x94d62d(0x31b)](_0x4a9508[_0x94d62d(0x3fc)]))==null?void 0x0:_0x3fca02[_0x94d62d(0x3ce)])||_0x4f1a91,_0x5243c3=_0x21b618?_0x3e2105+_0x94d62d(0x3a4)+encodeURIComponent(_0x21b618):_0x3e2105,_0x36135d=(await this[_0x94d62d(0x30e)][_0x94d62d(0x18f)](_0x5243c3))[_0x94d62d(0x291)];if(((_0x58681f=_0x36135d[_0x94d62d(0x2cb)])==null?void 0x0:_0x58681f[_0x94d62d(0x181)])!==_0x24e2bf['OK'])return;this[_0x94d62d(0x3b6)](_0x36135d[_0x94d62d(0x340)],_0x1a6f6f);}catch(_0x2d6965){this['_logService'][_0x94d62d(0x2cb)](_0x2d6965);}}async[_0x479db0(0x1c5)](_0x3650e6){const _0x3157fd=_0x479db0;var _0x305339,_0x270e7b;const _0x5de5ae=Date[_0x3157fd(0x2f4)]();try{const _0x5b1a1f=((_0x305339=this['_configService']['getConfig'](_0x4a9508[_0x3157fd(0x3fc)]))==null?void 0x0:_0x305339['releaseFormulaLimitUrl'])||_0x44ff63,_0xf4ebb3=(await this[_0x3157fd(0x30e)][_0x3157fd(0x2b3)](_0x5b1a1f,{'body':JSON['stringify']({'taskId':_0x3650e6})}))[_0x3157fd(0x291)];if(((_0x270e7b=_0xf4ebb3['error'])==null?void 0x0:_0x270e7b[_0x3157fd(0x181)])!==_0x24e2bf['OK'])return;this[_0x3157fd(0x3b6)](_0xf4ebb3[_0x3157fd(0x340)],_0x5de5ae);}catch(_0x34b182){this[_0x3157fd(0x177)][_0x3157fd(0x2cb)](_0x34b182);}}['_checkCalculationAvailable'](){const _0x14345a=_0x479db0;return this[_0x14345a(0x417)]===0x0?!0x0:this[_0x14345a(0x417)]-this[_0x14345a(0x2da)]>0x0;}[_0x479db0(0x22c)](){const _0x59f450=_0x479db0;this[_0x59f450(0x228)]&&(clearTimeout(this[_0x59f450(0x228)]),this[_0x59f450(0x228)]=null);}[_0x479db0(0x2a7)](){const _0x4b601b=_0x479db0;this['_messageService'][_0x4b601b(0x2a8)]({'content':this[_0x4b601b(0x19f)]['t'](_0x4b601b(0x211)),'type':_0x5d7915[_0x4b601b(0x194)][_0x4b601b(0x2c3)]});}[_0x479db0(0x271)](_0xfe07cf){const _0x225cff=_0x479db0;for(const _0x21a572 of _0xfe07cf){const {unitId:_0x3a9f50,sheetId:_0x10679a,range:_0x26321a}=_0x21a572,_0x1b7cce=this[_0x225cff(0x221)]['getUnit'](_0x3a9f50);if(!_0x1b7cce)continue;const _0x2c6aa3=_0x1b7cce[_0x225cff(0x394)](_0x10679a);if(!_0x2c6aa3)continue;const _0x5b7399=_0x2c6aa3[_0x225cff(0x3ff)]();for(let _0xea2582=_0x26321a['startRow'];_0xea2582<=_0x26321a[_0x225cff(0x33e)];_0xea2582++)for(let _0x43ac34=_0x26321a[_0x225cff(0x371)];_0x43ac34<=_0x26321a[_0x225cff(0x187)];_0x43ac34++){const _0x1a76aa=_0x5b7399['getValue'](_0xea2582,_0x43ac34);if(_0x1a76aa&&(_0x3446be[_0x225cff(0x3ba)](_0x1a76aa['f'])||_0x3446be['isFormulaId'](_0x1a76aa['si'])))return!0x0;}}return!0x1;}};_0x5c7fbc=_0x51bb06([_0x8120ad(0x0,_0x3446be['Inject'](_0x1e2f17[_0x479db0(0x1d9)])),_0x8120ad(0x1,_0x3446be['ICommandService']),_0x8120ad(0x2,_0x3446be[_0x479db0(0x2ae)]),_0x8120ad(0x3,_0x3446be[_0x479db0(0x21b)](_0x37d0f4[_0x479db0(0x1fe)])),_0x8120ad(0x4,_0x3446be[_0x479db0(0x2b5)]),_0x8120ad(0x5,_0x3446be['ILogService']),_0x8120ad(0x6,_0x3446be[_0x479db0(0x21b)](_0x3446be[_0x479db0(0x1c3)]))],_0x5c7fbc);var _0x2e50a9=Object['getOwnPropertyDescriptor'],_0xef2c86=(_0x5134dc,_0x5009ea,_0x169b7d,_0x72f4c1)=>{const _0x5889cd=_0x479db0;for(var _0x3f78ae=_0x72f4c1>0x1?void 0x0:_0x72f4c1?_0x2e50a9(_0x5009ea,_0x169b7d):_0x5009ea,_0x3ed929=_0x5134dc[_0x5889cd(0x27b)]-0x1,_0x30929d;_0x3ed929>=0x0;_0x3ed929--)(_0x30929d=_0x5134dc[_0x3ed929])&&(_0x3f78ae=_0x30929d(_0x3f78ae)||_0x3f78ae);return _0x3f78ae;},_0x9b21eb=(_0x355dc5,_0x127262)=>(_0x40b9a3,_0xbefc3d)=>_0x127262(_0x40b9a3,_0xbefc3d,_0x355dc5);let _0x3343e5=class extends _0x3446be[_0x479db0(0x1fc)]{constructor(_0x1266ef,_0x273909,_0x196c8b){const _0x34c379=_0x479db0;super(),_0x4b5aa6(this,_0x34c379(0x419),new Map()),_0x4b5aa6(this,_0x34c379(0x203),new Map()),_0x4b5aa6(this,_0x34c379(0x212),!0x1),(this[_0x34c379(0x365)]=_0x1266ef,this['_localStorageService']=_0x273909,this[_0x34c379(0x3f0)]=_0x196c8b);}[_0x479db0(0x2a2)](){this['_disabled']=!0x0;}['enableLocalCache'](){this['_disabled']=!0x1;}get['saveTaskMap'](){return this['_saveTaskMap'];}[_0x479db0(0x40d)](){this['exhaustSavingTask']()['then'](()=>super['dispose']());}async[_0x479db0(0x259)](_0x12818d){const _0x1876ab=_0x479db0;return this[_0x1876ab(0x212)]?null:this[_0x1876ab(0x3d7)][_0x1876ab(0x3b5)](_0x4a9508['getLocalCacheKey'](_0x12818d));}async[_0x479db0(0x435)](_0x5763e6,_0x54e6e5){const _0x3b18f3=_0x479db0;return!!this[_0x3b18f3(0x3d7)][_0x3b18f3(0x262)](_0x5763e6,_0x54e6e5);}[_0x479db0(0x3d4)](_0x2f4027,_0x126df3,_0x525a6a,_0x83028c){const _0x2761a3=_0x479db0,_0x45c5cf=this[_0x2761a3(0x3f0)]['getCurrentRevOfUnit'](_0x2f4027);this[_0x2761a3(0x419)][_0x2761a3(0x1c9)](_0x2f4027,{'unitID':_0x2f4027,'type':_0x126df3,'awaitingChangeset':_0x525a6a,'mutations':_0x83028c,'rev':_0x45c5cf}),this[_0x2761a3(0x203)]['has'](_0x2f4027)||this[_0x2761a3(0x339)](_0x2f4027);}[_0x479db0(0x339)](_0x5b1e17){const _0xc98ac=_0x479db0,_0x566aa6=this[_0xc98ac(0x351)]();_0x566aa6===0x0?this[_0xc98ac(0x393)](_0x5b1e17):this[_0xc98ac(0x203)][_0xc98ac(0x1c9)](_0x5b1e17,setTimeout(()=>this[_0xc98ac(0x393)](_0x5b1e17),_0x566aa6));}[_0x479db0(0x351)](){const _0x166ca4=_0x479db0;var _0x570a1e;return(_0x570a1e=this['_configService'][_0x166ca4(0x31b)](_0x4a9508[_0x166ca4(0x401)]))!=null?_0x570a1e:_0x4a9508[_0x166ca4(0x40b)];}[_0x479db0(0x393)](_0x508fa1){const _0x5ce4bd=_0x479db0,_0x3a126a=this[_0x5ce4bd(0x203)]['get'](_0x508fa1);return _0x3a126a!==void 0x0&&window[_0x5ce4bd(0x437)](_0x3a126a),this['_localStorageService'][_0x5ce4bd(0x262)](_0x4a9508[_0x5ce4bd(0x1b6)](_0x508fa1),this[_0x5ce4bd(0x419)]['get'](_0x508fa1))[_0x5ce4bd(0x305)](()=>this[_0x5ce4bd(0x203)][_0x5ce4bd(0x368)](_0x508fa1));}async[_0x479db0(0x267)](){const _0x25cad3=_0x479db0,_0x28ff73=[];this[_0x25cad3(0x203)][_0x25cad3(0x1ac)]((_0x21c8e5,_0x254327)=>{const _0x1a12ac=_0x25cad3;window[_0x1a12ac(0x437)](_0x21c8e5),_0x28ff73[_0x1a12ac(0x214)](this[_0x1a12ac(0x393)](_0x254327)[_0x1a12ac(0x305)](()=>{const _0x569d19=_0x1a12ac;this[_0x569d19(0x203)]['delete'](_0x254327);}));}),await Promise[_0x25cad3(0x178)](_0x28ff73);}};_0x3343e5=_0xef2c86([_0x9b21eb(0x0,_0x3446be[_0x479db0(0x2ae)]),_0x9b21eb(0x1,_0x3446be[_0x479db0(0x248)]),_0x9b21eb(0x2,_0x3446be['Inject'](_0x5ee43a[_0x479db0(0x20b)]))],_0x3343e5);class _0x577537 extends _0x3446be['RxDisposable']{constructor(){const _0x134fb9=_0x479db0;super(),_0x4b5aa6(this,'urlChange$'),this[_0x134fb9(0x22a)]=_0xc33fa7[_0x134fb9(0x246)](window,_0x134fb9(0x369))[_0x134fb9(0x1da)](_0xc33fa7[_0x134fb9(0x2f3)](this['dispose$']),_0xc33fa7['shareReplay'](0x1),_0xc33fa7[_0x134fb9(0x33b)](void 0x0));}['setParam'](_0x4be417,_0x5e1d46,_0x3c123f=!0x1){const _0x131ca2=_0x479db0,_0x18ccee=new URL(window['location'][_0x131ca2(0x42a)]);_0x18ccee[_0x131ca2(0x2fd)][_0x131ca2(0x1c9)](_0x4be417,_0x5e1d46),_0x3c123f?window[_0x131ca2(0x32f)][_0x131ca2(0x34e)]('','',_0x18ccee[_0x131ca2(0x42e)]()):window[_0x131ca2(0x32f)]['pushState']('','',_0x18ccee[_0x131ca2(0x42e)]());}[_0x479db0(0x24d)](_0x2e34d1,_0x6b8df2=!0x1){const _0x28a771=_0x479db0,_0x5a615c=new URL(window['location'][_0x28a771(0x42a)]);_0x5a615c[_0x28a771(0x2fd)]['delete'](_0x2e34d1),_0x6b8df2?window['history'][_0x28a771(0x34e)]('','',_0x5a615c[_0x28a771(0x42e)]()):window[_0x28a771(0x32f)][_0x28a771(0x283)]('','',_0x5a615c[_0x28a771(0x42e)]());}[_0x479db0(0x18d)](_0x558f33){const _0x12d9d4=_0x479db0;var _0x513dc4;return(_0x513dc4=new URL(window[_0x12d9d4(0x2aa)][_0x12d9d4(0x42a)])['searchParams'][_0x12d9d4(0x18f)](_0x558f33))!=null?_0x513dc4:void 0x0;}}var _0x14ec35=Object[_0x479db0(0x204)],_0x52692b=Object[_0x479db0(0x179)],_0x45cb5b=(_0x44e698,_0x579a91,_0x4b73f1)=>_0x579a91 in _0x44e698?_0x14ec35(_0x44e698,_0x579a91,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x4b73f1}):_0x44e698[_0x579a91]=_0x4b73f1,_0x54e05d=(_0x12f203,_0x40b321,_0x55dc41,_0x4509b7)=>{for(var _0x405019=_0x4509b7>0x1?void 0x0:_0x4509b7?_0x52692b(_0x40b321,_0x55dc41):_0x40b321,_0x587a90=_0x12f203['length']-0x1,_0x2d13bf;_0x587a90>=0x0;_0x587a90--)(_0x2d13bf=_0x12f203[_0x587a90])&&(_0x405019=_0x2d13bf(_0x405019)||_0x405019);return _0x405019;},_0x22d13e=(_0x45087a,_0x3e8a89)=>(_0x34780e,_0x2c0f48)=>_0x3e8a89(_0x34780e,_0x2c0f48,_0x45087a),_0x3a104f=(_0x4fd6ef,_0xd5c7d0,_0x189d9f)=>_0x45cb5b(_0x4fd6ef,_0xd5c7d0+'',_0x189d9f);const _0x3df01a=_0x479db0(0x1aa);_0xc9a868[_0x479db0(0x366)]=class extends _0x3446be[_0x479db0(0x35f)]{constructor(_0x567098=_0x151b2a,_0x53a7dd,_0x4e89ef,_0x2f146b){const _0x1d4833=_0x479db0;super(),this[_0x1d4833(0x2fc)]=_0x567098,this[_0x1d4833(0x400)]=_0x53a7dd,this[_0x1d4833(0x23c)]=_0x4e89ef,this[_0x1d4833(0x365)]=_0x2f146b;const {..._0x505646}=_0x3446be['merge']({},_0x151b2a,this[_0x1d4833(0x2fc)]);this[_0x1d4833(0x365)]['setConfig'](_0x14c0d0,_0x505646);}[_0x479db0(0x1f2)](){const _0x42a799=_0x479db0;this[_0x42a799(0x38d)](),this[_0x42a799(0x3ab)]();}[_0x479db0(0x251)](){const _0x1adce5=_0x479db0;this[_0x1adce5(0x39f)]();}[_0x479db0(0x38d)](){const _0x15e885=_0x479db0;var _0x3647af;const _0x505955=[[_0x324f05],[_0x5c7fbc],[_0x424ebb],[_0xb9b96b],[_0x44d029],[_0x35b0b1],[_0x413167,{'useClass':_0x577537}],[_0x37d0f4[_0x15e885(0x347)],{'useClass':_0x37d0f4[_0x15e885(0x331)]}],[_0x4a9508[_0x15e885(0x3e5)],{'useClass':_0x3343e5}],[_0xc9a868[_0x15e885(0x218)]],[_0x312d64],[_0x508130],[_0x302180],[_0x1e3e26],[_0xc9a868[_0x15e885(0x2e4)]]];_0x3446be['registerDependencies'](this['_injector'],_0x3446be[_0x15e885(0x192)](_0x505955,(_0x3647af=this[_0x15e885(0x2fc)])==null?void 0x0:_0x3647af[_0x15e885(0x1de)]));}[_0x479db0(0x39f)](){const _0x161172=_0x479db0;this[_0x161172(0x275)](this[_0x161172(0x400)][_0x161172(0x1bc)](_0x3446be[_0x161172(0x20a)][_0x161172(0x24c)],[_0x1554de])),this[_0x161172(0x275)](this[_0x161172(0x400)][_0x161172(0x1bc)](_0x3446be[_0x161172(0x20a)][_0x161172(0x3a8)],[_0x125789]));}[_0x479db0(0x3ab)](){const _0x86ce41=_0x479db0;_0x3446be['touchDependencies'](this[_0x86ce41(0x23c)],[[_0x302180],[_0xc9a868['DesktopCollaborationStatusDisplayController']],[_0x312d64],[_0x508130],[_0xc9a868[_0x86ce41(0x2e4)]],[_0x5c7fbc]]);}},_0x3a104f(_0xc9a868[_0x479db0(0x366)],_0x479db0(0x244),_0x3df01a),_0xc9a868[_0x479db0(0x366)]=_0x54e05d([_0x3446be[_0x479db0(0x379)](_0x4a9508[_0x479db0(0x430)]),_0x22d13e(0x1,_0x154eb1[_0x479db0(0x3b8)]),_0x22d13e(0x2,_0x3446be['Inject'](_0x3446be[_0x479db0(0x195)])),_0x22d13e(0x3,_0x3446be[_0x479db0(0x2ae)])],_0xc9a868[_0x479db0(0x366)]);var _0x268e76=Object['getOwnPropertyDescriptor'],_0x2881c4=(_0x90a8c7,_0x568380,_0x30fda0,_0x2d13a2)=>{const _0x44bce6=_0x479db0;for(var _0x3ff60f=_0x2d13a2>0x1?void 0x0:_0x2d13a2?_0x268e76(_0x568380,_0x30fda0):_0x568380,_0xe0cd83=_0x90a8c7[_0x44bce6(0x27b)]-0x1,_0x1daaaf;_0xe0cd83>=0x0;_0xe0cd83--)(_0x1daaaf=_0x90a8c7[_0xe0cd83])&&(_0x3ff60f=_0x1daaaf(_0x3ff60f)||_0x3ff60f);return _0x3ff60f;},_0x5dfcb4=(_0x2903f7,_0x5093fe)=>(_0x3f057f,_0x5c5cb1)=>_0x5093fe(_0x3f057f,_0x5c5cb1,_0x2903f7);_0xc9a868['BrowserCollaborationSocketService']=class extends _0x4a9508[_0x479db0(0x325)]{constructor(_0x28fa51,_0x21791d,_0x6a42b4,_0x325a38,_0x263064){super(_0x28fa51,_0x21791d,_0x6a42b4,_0x325a38,_0x263064);}async[_0x479db0(0x367)](_0x2ac47a){const _0x29c314=_0x479db0,_0xfa0c99=await this[_0x29c314(0x1a8)](),_0x51db11=this['_createSocketURL'](_0x2ac47a,_0xfa0c99);return this[_0x29c314(0x1ae)](_0x51db11);}['_createSocketURL'](_0xfa4791,_0x38f31f){const _0x2b4422=_0x479db0,_0x33c941=typeof window>'u'?new URL(_0xfa4791):new URL(_0xfa4791,window[_0x2b4422(0x2aa)][_0x2b4422(0x182)]);_0x33c941[_0x2b4422(0x2fd)][_0x2b4422(0x1c9)]('sessionTicket',_0x38f31f);const _0x4af71e=typeof window>'u'?new URLSearchParams():new URLSearchParams(window['location']['search']);return _0x4af71e['get'](_0x2b4422(0x225))&&_0x33c941['searchParams'][_0x2b4422(0x1c9)]('runId',_0x4af71e[_0x2b4422(0x18f)](_0x2b4422(0x225))),_0x33c941[_0x2b4422(0x42e)]();}async[_0x479db0(0x1a8)](){const _0x16aa6a=_0x479db0;var _0x341fac,_0xdf36bc,_0x506348;const _0x348831=this[_0x16aa6a(0x365)][_0x16aa6a(0x31b)](_0x4a9508[_0x16aa6a(0x3fc)]),_0x1d3c70=(_0x341fac=_0x348831==null?void 0x0:_0x348831[_0x16aa6a(0x1d0)])!=null?_0x341fac:_0x4a9508[_0x16aa6a(0x372)];return(_0x506348=(_0xdf36bc=(await this[_0x16aa6a(0x30e)][_0x16aa6a(0x18f)](_0x1d3c70,{'headers':{'Content-Type':_0x16aa6a(0x293)}}))['body'])==null?void 0x0:_0xdf36bc[_0x16aa6a(0x202)])!=null?_0x506348:'';}},_0xc9a868[_0x479db0(0x2de)]=_0x2881c4([_0x5dfcb4(0x0,_0x3446be[_0x479db0(0x21b)](_0x3446be['Injector'])),_0x5dfcb4(0x1,_0x3446be[_0x479db0(0x21b)](_0x37d0f4['HTTPService'])),_0x5dfcb4(0x2,_0x3446be['IConfigService']),_0x5dfcb4(0x3,_0x3446be[_0x479db0(0x438)]),_0x5dfcb4(0x4,_0x5ee43a['ISnapshotServerService'])],_0xc9a868[_0x479db0(0x2de)]);var _0x7576ce=Object[_0x479db0(0x179)],_0x5de94c=(_0x161509,_0x241c40,_0x15a84b,_0x1633bc)=>{const _0x22216c=_0x479db0;for(var _0x47fd49=_0x1633bc>0x1?void 0x0:_0x1633bc?_0x7576ce(_0x241c40,_0x15a84b):_0x241c40,_0x2c0e83=_0x161509[_0x22216c(0x27b)]-0x1,_0x2d9994;_0x2c0e83>=0x0;_0x2c0e83--)(_0x2d9994=_0x161509[_0x2c0e83])&&(_0x47fd49=_0x2d9994(_0x47fd49)||_0x47fd49);return _0x47fd49;},_0x11082c=(_0x3df7f0,_0x5e2509)=>(_0x4d838c,_0x32ae6c)=>_0x5e2509(_0x4d838c,_0x32ae6c,_0x3df7f0);_0xc9a868[_0x479db0(0x359)]=class extends _0x3446be[_0x479db0(0x1fc)]{constructor(_0x3ea737,_0x3e1fa0,_0x142eae){const _0x2374f8=_0x479db0;super(),this[_0x2374f8(0x3f4)]=_0x3ea737,this['_httpService']=_0x3e1fa0,this[_0x2374f8(0x365)]=_0x142eae;}async[_0x479db0(0x2b8)](_0x1ed206,_0x5c94cd,_0x32b3cf,..._0x4ad342){const _0x464258=_0x479db0;var _0x3242bb,_0x2e0be0,_0x4e77cb,_0x5608da;const _0x2c3b1d=this[_0x464258(0x3f4)]['getFocusedUnit']();if(!_0x2c3b1d)throw new Error(_0x464258(0x403));const _0x4d4ef9=((_0x3242bb=this[_0x464258(0x365)][_0x464258(0x31b)](_0x4a9508['REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY']))!=null?_0x3242bb:_0x4a9508[_0x464258(0x297)])+'/'+_0x1ed206+_0x464258(0x389)+_0x5c94cd,_0x56163f=new URL(window[_0x464258(0x2aa)][_0x464258(0x42a)]),_0x58fe0a={'scriptId':_0x1ed206,'runId':(_0x2e0be0=_0x56163f[_0x464258(0x2fd)]['get'](_0x464258(0x225)))!=null?_0x2e0be0:'','function':_0x5c94cd,'unitId':_0x2c3b1d[_0x464258(0x346)](),'argsOfFunction':JSON[_0x464258(0x443)](_0x4ad342),'invokeId':(_0x4e77cb=_0x32b3cf[_0x464258(0x284)])!=null?_0x4e77cb:'','executionId':(_0x5608da=_0x32b3cf[_0x464258(0x35e)])!=null?_0x5608da:''};try{const _0x294282=await this['_httpService'][_0x464258(0x2b3)](_0x4d4ef9,{'body':_0x58fe0a});return _0x294282[_0x464258(0x291)]['error']&&_0x294282[_0x464258(0x291)][_0x464258(0x2cb)][_0x464258(0x181)]!==_0x24e2bf['OK']?_0x464258(0x29b):_0x294282[_0x464258(0x291)][_0x464258(0x388)];}catch{return _0x464258(0x29b);}}},_0xc9a868[_0x479db0(0x359)]=_0x5de94c([_0x11082c(0x0,_0x3446be['IUniverInstanceService']),_0x11082c(0x1,_0x3446be[_0x479db0(0x21b)](_0x37d0f4[_0x479db0(0x1fe)])),_0x11082c(0x2,_0x3446be['IConfigService'])],_0xc9a868[_0x479db0(0x359)]);const _0x3fcc93=0x7530,_0x11d3d5='ACTIVE_UNIT_EVENT_CHANNEL';class _0x1123e8 extends _0x3446be[_0x479db0(0x1fc)]{constructor(){const _0x481d56=_0x479db0;super(),_0x4b5aa6(this,_0x481d56(0x306),_0x3446be[_0x481d56(0x407)]()),_0x4b5aa6(this,'_selfUnitIDs',new Set()),_0x4b5aa6(this,'_unitOnClients',new Map()),_0x4b5aa6(this,'_heartbeatTimer',null),_0x4b5aa6(this,_0x481d56(0x25a),new Map()),_0x4b5aa6(this,_0x481d56(0x341),new Map()),this[_0x481d56(0x240)]();}[_0x479db0(0x40d)](){const _0x51dc4e=_0x479db0;super[_0x51dc4e(0x40d)](),this[_0x51dc4e(0x25a)]['forEach']((_0xf7f1,_0x4ee7c8)=>this[_0x51dc4e(0x176)](_0x4ee7c8)),this[_0x51dc4e(0x363)]&&window[_0x51dc4e(0x2ef)](this['_heartbeatTimer']);}[_0x479db0(0x19a)](_0x3f6ed4){const _0x2b5f0c=_0x479db0;return this[_0x2b5f0c(0x1ea)](_0x3f6ed4)[_0x2b5f0c(0x1da)](_0xc33fa7[_0x2b5f0c(0x32c)]());}[_0x479db0(0x1d3)](_0x29408b){const _0x244028=_0x479db0;this[_0x244028(0x263)]['size']===0x0&&this['_scheduleHeartbeat'](),this[_0x244028(0x263)][_0x244028(0x335)](_0x29408b),this[_0x244028(0x28e)]({'type':0x0,'memberID':this[_0x244028(0x306)],'unitIDs':[_0x29408b],'isForwarded':!0x1});}[_0x479db0(0x188)](_0x3a8298){const _0xe8d3f3=_0x479db0;this[_0xe8d3f3(0x263)][_0xe8d3f3(0x368)](_0x3a8298),this[_0xe8d3f3(0x263)][_0xe8d3f3(0x2c9)]===0x0&&this[_0xe8d3f3(0x363)]&&window[_0xe8d3f3(0x2ef)](this[_0xe8d3f3(0x363)]);}[_0x479db0(0x240)](){const _0x341ffb=_0x479db0;this[_0x341ffb(0x275)](_0x3446be[_0x341ffb(0x384)](_0xc33fa7['fromEvent'](window,_0x341ffb(0x338))[_0x341ffb(0x1b3)](_0x598407=>{const _0x543598=_0x341ffb;if(_0x598407[_0x543598(0x1e6)]!==_0x11d3d5||!_0x598407['newValue'])return;const _0x210134=JSON[_0x543598(0x42b)](_0x598407[_0x543598(0x26d)]);this['_handleEvent'](_0x210134);}))),window[_0x341ffb(0x33d)](_0x341ffb(0x2ca),()=>this['_send']({'type':0x1,'memberID':this['_id'],'unitIDs':Array[_0x341ffb(0x18b)](this[_0x341ffb(0x263)])}));}[_0x479db0(0x29f)](_0x1104d4){const _0x4e0deb=_0x479db0;switch(_0x1104d4[_0x4e0deb(0x26f)]){case 0x0:this['_handleJoinEvent'](_0x1104d4);break;case 0x1:this[_0x4e0deb(0x22d)](_0x1104d4);break;case 0x2:this[_0x4e0deb(0x1f4)](_0x1104d4);break;}}[_0x479db0(0x3a2)](_0x30c0d1){const _0x9342a3=_0x479db0,{unitIDs:_0x55c1bf,memberID:_0x590166,isForwarded:_0x12fdb9}=_0x30c0d1;_0x55c1bf[_0x9342a3(0x1ac)](_0x35cc70=>{const _0x4e93e4=_0x9342a3;if(!_0x12fdb9&&this[_0x4e93e4(0x2a5)][_0x4e93e4(0x408)](_0x35cc70)&&this[_0x4e93e4(0x1ea)](_0x35cc70)['next'](_0x4a9508['UnitStatus'][_0x4e93e4(0x1a6)]),!this[_0x4e93e4(0x2a5)][_0x4e93e4(0x408)](_0x35cc70)||!this[_0x4e93e4(0x2a5)][_0x4e93e4(0x18f)](_0x35cc70)[_0x4e93e4(0x408)](_0x590166)){const _0x1d3df5=this['_unitOnClients'][_0x4e93e4(0x18f)](_0x35cc70)||new Set();_0x1d3df5[_0x4e93e4(0x335)](_0x590166),this[_0x4e93e4(0x2a5)][_0x4e93e4(0x1c9)](_0x35cc70,_0x1d3df5),this[_0x4e93e4(0x2c7)](_0x590166);}}),_0x12fdb9||this['_send']({'type':0x0,'memberID':this['_id'],'unitIDs':[...this['_selfUnitIDs']],'isForwarded':!0x0});}[_0x479db0(0x2c7)](_0x3b8c22){const _0x1ed5a9=_0x479db0;this[_0x1ed5a9(0x176)](_0x3b8c22);const _0x9f20a4=window['setTimeout'](()=>{const _0x2abcaf=_0x1ed5a9;this[_0x2abcaf(0x2a5)]['forEach'](_0x5a2e3e=>{const _0x29c43d=_0x2abcaf;_0x5a2e3e[_0x29c43d(0x368)](_0x3b8c22);});},_0x3fcc93*0x2);this['_clearOtherTimers'][_0x1ed5a9(0x1c9)](_0x3b8c22,_0x9f20a4);}[_0x479db0(0x176)](_0x186d81){const _0x706b3d=_0x479db0;if(this[_0x706b3d(0x25a)][_0x706b3d(0x408)](_0x186d81)){const _0x89002=this[_0x706b3d(0x25a)][_0x706b3d(0x18f)](_0x186d81);_0x89002&&window[_0x706b3d(0x437)](_0x89002),this[_0x706b3d(0x25a)][_0x706b3d(0x1c9)](_0x186d81,null);}}[_0x479db0(0x22d)](_0xfb30d2){const _0x24005c=_0x479db0,{memberID:_0x3d2807,unitIDs:_0x591049}=_0xfb30d2;_0x591049[_0x24005c(0x1ac)](_0x416802=>{const _0x362251=_0x24005c;var _0x379845;const _0x1354d5=this[_0x362251(0x2a5)]['get'](_0x416802);_0x1354d5&&(_0x1354d5[_0x362251(0x368)](_0x3d2807),(_0x379845=this['_ensureSubject'](_0x416802))==null||_0x379845[_0x362251(0x1d1)](_0x1354d5[_0x362251(0x2c9)]===0x0?_0x4a9508[_0x362251(0x1f9)][_0x362251(0x36c)]:_0x4a9508['UnitStatus']['OTHER_CLIENTS_EDITING']));}),this['_removeClearOtherTimer'](_0x3d2807);}[_0x479db0(0x1f4)](_0xcba40c){const _0x4b868a=_0x479db0;this[_0x4b868a(0x2c7)](_0xcba40c['memberID']);}[_0x479db0(0x28e)](_0x155055){const _0x455859=_0x479db0;localStorage[_0x455859(0x262)](_0x11d3d5,JSON[_0x455859(0x443)](_0x155055));}[_0x479db0(0x2a0)](){const _0x4fa209=_0x479db0;this['_heartbeatTimer']=window[_0x4fa209(0x3df)](()=>{const _0x2452d7=_0x4fa209;this[_0x2452d7(0x28e)]({'type':0x2,'memberID':this[_0x2452d7(0x306)]});},_0x3fcc93);}[_0x479db0(0x1ea)](_0x44c1a4){const _0x47ca34=_0x479db0;return this[_0x47ca34(0x341)]['has'](_0x44c1a4)||this[_0x47ca34(0x341)][_0x47ca34(0x1c9)](_0x44c1a4,new _0xc33fa7[(_0x47ca34(0x41f))](_0x4a9508[_0x47ca34(0x1f9)]['NO_OTHER_CLIENTS_EDITING'])),this['_unitStatus'][_0x47ca34(0x18f)](_0x44c1a4);}}_0xc9a868[_0x479db0(0x285)]=_0x413167,_0xc9a868['SheetCollabCursorShape']=_0x4f6975,_0xc9a868[_0x479db0(0x232)]=_0x1123e8,_0xc9a868[_0x479db0(0x323)]=_0x577537,Object[_0x479db0(0x204)](_0xc9a868,Symbol[_0x479db0(0x434)],{'value':_0x479db0(0x441)});}));function _0x5580(_0x3f65a7,_0x55005c){const _0x3c7de7=_0x3c7d();return _0x5580=function(_0x5580d7,_0x54baef){_0x5580d7=_0x5580d7-0x176;let _0x28c807=_0x3c7de7[_0x5580d7];return _0x28c807;},_0x5580(_0x3f65a7,_0x55005c);}function _0x3c7d(){const _0x4d549d=['YUUMI_CONNECTOR_URL_NOT_FOUND','_setupBeforeClosingHandler','_getFormulaLimitStatus','DependentOn','_onCursorUpdate','APPLY_DUPLICATED','REDEMPTION_INVALID_CODE','Tools','purple.300','max','collaboration-client.offline-data-not-saved','getVpScrollXYInfoByPosToVp','defIds','SetFormulaCalculationStartMutation','toDisposable','OFFLINE','whenReady','deserializeRangeWithSheet','result','/run/','serializeRangeWithSheet','getMergeData','getCollabEntity$','_registerDependencies','transform','SessionStatus','lineTo','UNAUTHENTICATED','_entities','_saveCache','getSheetBySheetId','jsx','translate(.97)','@univerjs/sheets-ui','_docStateChangeManagerService','SetDocZoomRatioOperation','2255480LLwuQV','Error','addObject','_drawAnchor','YUUMI_ASYNCIO_CANCELLED','_registerRenderDependencies','bold\x2013px\x20Source\x20Han\x20Sans\x20CN','Vector2','_handleJoinEvent','YUUMI_ALL_TABLES_IS_INVALID','?taskId=','sheetId','univer-flex\x20univer-items-center','_draw','UNIVER_SHEET','1em','_transformService','_initDependencies','random','DeleteRangeMoveUpCommandId','getCellPositionByOffset','dispose$','getColor','SetFormulaCalculationNotificationMutation','event$','_docSkeleton','_transformUndoRedoStack','getItem','_setFormulaLimitStatus','ITransformService','IRenderManagerService','onPointerEnter$','isFormulaString','requireSession','_initStatusComponent','_syncEditingCollabCursorService','_dataLoaderService','START_CALCULATION','_sheetSkeletonManagerService','_color','CollaborationStatus','cursorInfo$','_updateSubUnitFromURLParams','getUnhiddenWorksheets','path','[CollaborationDataLoaderController]','getTypeOfUnitAdded$','INVITE_CODE_HAS_BEEN_UES','_collaborationController','YUUMI_UNABLE_LOAD_URL','getUniverSheetInstance','RemoveColCommandId','getformulaLimitStatusUrl','isArray','_refRangeService','_collaborationUIEventService','complete','connectInjector','updateOfflineData','SOCKET_FAILED','_collabSessionService','_localStorageService','subunit','startsWith','startFormulaLimitUrl','@univerjs-pro/collaboration','http://www.w3.org/2000/svg','LOGIN_FAILED','getFocusedUnit','setInterval','_status$','onPointerLeave$','ranges','isTransformMutationFailure','off-line-icon_clip0_910_343','ILocalCacheService','handleInsertRangeMoveRight','onMouseMove','SHEET_VIEWPORT_KEY','session.will-retry','_initEvent','_initStatusListener','onCommandExecuted','focused$','APPLY_REVISION_CONFILICT','ICommandService','_revisionService','mask','NodePositionConvertToRectRange','SNAPSHOT_INVALID_SNAPSHOT','_instanceService','useObservable','DOC_RANGE_TYPE','0\x200\x2017\x2016','CollaborationEvent','roomMembers$','TEXT','transformIMECache','COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY','handleInsertRangeMoveDown','_labelPosition','getCellMatrix','_renderManagerService','LOCAL_CACHE_INTERVAL_KEY','fromEventSubject','[RemoteUniscriptService]:\x20no\x20focused\x20unit','unitId','permission.title','combineLatest','generateRandomId','has','@univerjs/docs-ui','OTHER_CLIENT_EDITING','LOCAL_CACHE_INTERVAL','_checkCalculationAvailable','dispose','operators','restore','drawWith','_localCacheService','Warning','switchMap','none','INotificationService','transformMutationsWithChangeset','_maxFormulaLimit','getCurrentSelections','_cachedData','_removeCollabCursors','contains','_hover','SYNCED','LICENSE_MAX_UNITS_EXCEEDED','BehaviorSubject','deepClone','eventID','ENTITLE_CAN_NOT_BUY_LOWER_OTP','saveImage','getValue','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','imageSourceType','_eventUnsubscribe','forwardRef','data','href','parse','INVALID_ARGUMENT','asObservable','toString','NOT_FOUND','UniverCollaborationClientPlugin','YUUMI_RATE_OVER_LIMIT','InsertRowCommandId','black','toStringTag','saveOfflineData','ENTITLE_REPORT_LIMIT_EXCEED','clearTimeout','ILogService','UNRECOGNIZED','YUUMI_URL_COL_OUT_OF_RANGE','color','addClipboardHook','div','UniverDocs','colorChannel1','send','Module','isTransformMutationsWithChangesetSuccess','stringify','_startSheetCollabCursor','_context','_removeClearOtherTimer','_logService','all','getOwnPropertyDescriptor','TRANSFORM_CHANGE_OBSERVABLE_TYPE','4932036YvfDRm','_cursorShapes','setStateCache','column','getAncestorScale','unitID','code','origin','@univerjs-pro/collaboration-client','_imageIoService','getActiveSheet','UPDATE_CURSOR','endColumn','disposeUnit','INTERNAL_ERROR','dirtyRanges','from','saveTaskMap','getParam','jiqing.500','get','split','find','mergeOverrideWithDependencies','_transformHistoryAndStateStack','MessageType','Injector','getUndoRedoMutationParamsCache','RichTextEditingMutation','CollaborationController','@univerjs/sheets','getUnitStatus$','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','...','_roomMembers$','UNDEFINED','_localeService','handleInsertCol','includes','_hovered','_range','collabStatus.fetchMiss','url(#on-line-icon_clip0_910_349)','OTHER_CLIENTS_EDITING','_textBubble','_getSessionTicket','collabStatus.offline','UNIVER_COLLABORATION_CLIENT_WEB_PLUGIN','subscribeEvent','forEach','triggerDblclick','_doCreateSocket','/universer-api/license/formula/limit/status','_render','_themeService','@univerjs/rpc','subscribe','ENTITLE_CHAT_LIMIT_EXCEED','4998SYwQDv','getLocalCacheKey','MOBILE_HAS_BEEN_BOUND','OffLineIcon','USER_NOT_FOUND','amd','debounce','registerRenderModule','width','setUndoRedoMutationParamsCache','replace','_updateURLWithCurrentState','COMPLETION_FINISHED','EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','LocaleService','_initEntityListener','_releaseCalculationLimit','SheetsSelectionsService','@univerjs/engine-render','row','set','_commandService','PAYMENT_CHANNEL_NOT_SUPPORT','_messageService','_collabCursorState$','toRgbString','executeCommand','wsSessionTicketUrl','next','LOGIN_TOKEN_PROCESSING_FAILED','editingUnit','transformRemoteChangeset','8mUUBwr','REDEMPTION_CODE_NOT_STARTED','SUBMIT_CHANGESET_TIMEOUT','EMAIL_HAS_BEEN_BOUND','IMessageService','pipe','beginPath','on-line-icon_clip0_910_349','InsertRangeMoveDownCommandId','override','closePath','engine','MOBILE_VERIFY_CODE_MISMATCH','react/jsx-runtime','_drawTextRange','uni.network.url-service','_beforeCloseService','key','shift','startRow','tag','_ensureSubject','PERMISSION_DENIED','createInstance','values','No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','COLORS','with','collabCursorState$','onStarting','ThemeService','_handleHeartbeatEvent','_colorIndex','NodePositionConvertToCursor','DocSelectionManagerService','range','UnitStatus','Success','getSkeleton','Disposable','_notificationService','HTTPService','CollaborationSessionService','/universer-api/license/formula/limit/done','sessionStatus$','ticket','_saveTaskMap','defineProperty','_scene','off-line-icon','IImageIoService','text','url(#off-line-icon_clip0_910_343)','UniverInstanceType','RevisionService','SheetSkeletonManagerService','14077NSSlMU','defs','min','IUIPartsService','formula.calculation.waiting','_disabled','DataLoaderService','push','AUTHORIZE_CODE_ILLEGAL','TOO_MANY_REQUESTS','ENTITLE_NEED_BILLING_ADDRESS','DesktopCollaborationStatusDisplayController','LICENSE_DISTRO_REJECTED','collabStatus.synced','Inject','RECT','PENDING','6868ZdNnXD','getCoordByCell','collab-client.tooltip.reconnect','_univerInstanceService','OnLineIcon','ALREADY_EXISTS','LICENSE_IMPORT_SIZE_EXCEEDED','runId','Shape','registerComponent','_pollingInterval','WECHAT_HAS_BEEN_BOUND','urlChange$','permission.content','_clearPolling','_handleLeaveEvent','makeDirty','univerjs-icon\x20univerjs-icon-','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','status$','WebBrowserSingleActiveUnitService','currentTheme$','MoveRangeCommandId','USER_NOT_INVITED_CODE','session.collaboration-timeout','exports','_onRefRangeChange','textRanges','IRemoteInstanceService','SUCCESS','_injector','handleIRemoveCol','getStateCache','unshift','_init','unit','handleDeleteRangeMoveUp','_transformPreviousActiveRange','pluginName','Subject','fromEvent','_drawRectRange','ILocalStorageService','getSheetId','CLOSE_ROOM','isEditing','UNIVER_DOC','removeParam','setParam','UniverSheets','APPLY_NON_SEQUENTIAL_REVISION','onRendered','_collabCursorController','measureText','_getScale','14632490CCfzbV','setTimeout','DocIMEInputManagerService','collab-rect-range-','loadOfflineData','_clearOtherTimers','_onCursorDelete','selection','registerRefRange','font','@univerjs/drawing','assignAColorForMemberID','EMAIL_VERIFY_CODE_MISMATCH','setItem','_selfUnitIDs','yellow.400','IDocClipboardService','_cursorInfo$','exhaustSavingTask','UniverIcon','ENTITLE_UPDOWN_GRADE_NOT_SUPPORT','moveTo','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','INVALID_INVITE_CODE','newValue','_toggleOnline','type','handleMoveRange','_hasFormulaInDirtyRanges','LICENSE_EXPORT_SIZE_EXCEEDED','some','fillRule','disposeWithMe','fillText','_updateLocalCursor','_hideTimer','UniverProCollaboration','MemberService','length','transformStateCache','useRef','_docSkeletonManagerService','SOCKET_FAILED_RETRY','_getMergeRange','ERROR_AGAIN','getCurrentUnitForType','pushState','invokeId','IURLService','collabStatus.syncing','on-line-icon','m2Prime','use','functionsExecutedState','YUUMI_TABLE_NOT_FOUND_IN_UNIT','doc.mutation.rich-text-editing','0\x200\x2016\x2016','_send','DocSkeletonManagerService','rxjs','body','attrs','application/json','cursorInfo','_anchorDot','FETCH_MISS','DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','_urlService','InsertRangeMoveRightCommandId','m1Prime','Failed','UniverUi','ONLINE','collabStatus.notCollab','_handleEvent','_scheduleHeartbeat','DocCollaborationEntity','disableLocalCache','4UXvewr','getOffsetConfig','_unitOnClients','CollaborationUIEventId','_showGuardMessage','show','session.connection-failed','location','USERS_LEAVE','100eTTaZD','/universer-api/license/formula/limit/start','IConfigService','_checkAndWaitForCalculationPermission','debug','_updateCollabCursors','params','post','reconnect','IUniverInstanceService','_docClipboardService','@univerjs/design','runOnServer','_backgroundColor','save','_cursors','entries','collaboration.closeRoom','currentSkeleton$','Unknown\x20user','YUUMI_SUBSCRIPTION_NOT_FOUND','rgba(255,\x20255,\x20255,\x200.01)','_docTransformStateCacheService','Loading','_memberService','isActive','_cursor','_scheduleClearOtherTimer','rxjs/operators','size','unload','error','_docSyncEditingCollabCursorService','evenodd','backgroundColor','findNodePositionByCharIndex','158232XhSlTK','getSheetObject','stage','_applyCommand','fillStyle','_lastPointer','collaboration-client-ui.config','CONNECTOR_DATA_TOO_LARGE','ColorKit','source','_currentUsage','CommandType','map','#FFF','BrowserCollaborationSocketService','function','_lastResponseTimestamp','actions','_initCommandExecutedListener','trim','CollaborationDataLoaderController','getRenderById','PY_RUNTIME_SCRIPT_ERROR','APPLY_PERMISSION_DENIED','setActiveRange','NOT_COLLAB','YUUMI_AI_RUN_FAILED','_name','url(#$1','getTypeOfUnitDisposed$','bottom','clearInterval','svg','UniverNetwork','Optional','takeUntil','now','_shapes','unsubscribe','transformSelections','top','TEXT_RANGE_LAYER_INDEX','_handleHover','xlink:href','_config','searchParams','hide','UniverEngineFormula','redoState','_refreshCollabCursors','mutations','object','collab-text-anchor-','then','_id','CHANGESET_REVISION_CONFILICT','_taskIds','addObjects','assign','clsx','onTransformChange$','string','_httpService','FromArray','ENTITLE_DUP_SUBSCRIPTION','formula.calculation.unable','stageInfo','_colorAssignService','_startDocCollabCursor','RxDisposable','SetWorksheetActivateCommand','_initCommandInterceptor','_session','_toggleOffline','getCurrent','getConfig','EffectRefRangId','roomMembers','white','REDEMPTION_CODE_FULLY_REDEEMED','getActiveRange','_anchor','DocStateChangeManagerService','WebURLService','currentColor','CollaborationSocketService','arc','red.300','fill','UniverProCollaborationClient','docStateChange$','INVITE_CODE_ALREADY_BOUND','distinctUntilChanged','getMember','UniverCore','history','APPLY_REJECT','WebSocketService','clipPath','round','getDocRanges','add','height','CanceledError','storage','_scheduleSaving','_entityInit$','mapTo','_docTransformIMECacheService','addEventListener','endRow','useDependency','limitInfo','_unitStatus','transformMutation','getColorFromTheme','onPointerMove$','createElement','getUnitId','ISocketService','name','_uiPartsService','runRefRangeMutations','totalFormulasToCalculate','UniverDrawing','JOIN_ROOM_FAILED','replaceState','_assignedColors','univer-text-sm\x20univer-leading-8\x20univer-text-gray-600\x20dark:!univer-text-gray-200','_getSaveTimeout','filter','setShapeProps','UniverSheetsUi','getRelativeToViewportCoord','_getAnchorBounding','init','getCollabCursors$','RemoteUniscriptService','collab-text-range-','getMemberID','USER_IS_ANONYMOUS','setAlpha','executionId','Plugin','No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.','@univerjs/ui','_initResize','_heartbeatTimer','children','_configService','UniverCollaborationClientUIPlugin','createSocket','delete','popstate','parseInt','YUUMI_NO_CUBOID_FOR_QUESTION','NO_OTHER_CLIENTS_EDITING','_setupSubUnitSync','@univerjs/engine-formula','getRangePointData','REDEMPTION_USER_REDEEM_TIMES_EXCEED','startColumn','DEFAULT_WS_SESSION_TICKET_URL','_online','addHandlerCallback','idSuffix'];_0x3c7d=function(){return _0x4d549d;};return _0x3c7d();}
1
+ (function(_0x7c34d4,_0x868877){const _0x53c119=_0x3278,_0x1d7916=_0x7c34d4();while(!![]){try{const _0x33abf8=-parseInt(_0x53c119(0x3c3))/0x1+-parseInt(_0x53c119(0x377))/0x2+-parseInt(_0x53c119(0x19f))/0x3+parseInt(_0x53c119(0x278))/0x4*(parseInt(_0x53c119(0x342))/0x5)+-parseInt(_0x53c119(0x3d7))/0x6*(-parseInt(_0x53c119(0x44c))/0x7)+parseInt(_0x53c119(0x23f))/0x8*(parseInt(_0x53c119(0x34a))/0x9)+parseInt(_0x53c119(0x204))/0xa;if(_0x33abf8===_0x868877)break;else _0x1d7916['push'](_0x1d7916['shift']());}catch(_0x32ed7f){_0x1d7916['push'](_0x1d7916['shift']());}}}(_0x162b,0xe4044),function(_0x5ceac0,_0x461a1f){const _0x274bfc=_0x3278;typeof exports==_0x274bfc(0x2a2)&&typeof module<'u'?_0x461a1f(exports,require('react/jsx-runtime'),require('@univerjs-pro/collaboration-client'),require('@univerjs/core'),require('@univerjs/ui'),require('rxjs'),require('@univerjs/design'),require('react'),require('@univerjs/rpc'),require('@univerjs/sheets'),require('@univerjs/engine-render'),require('@univerjs/network'),require('@univerjs/docs-ui'),require('@univerjs/drawing'),require('@univerjs-pro/collaboration'),require('@univerjs/docs'),require('@univerjs/engine-formula'),require('rxjs/operators'),require('@univerjs/sheets-ui')):typeof define=='function'&&define[_0x274bfc(0x401)]?define(['exports','react/jsx-runtime',_0x274bfc(0x349),_0x274bfc(0x243),_0x274bfc(0x1ec),_0x274bfc(0x388),_0x274bfc(0x1dc),_0x274bfc(0x301),_0x274bfc(0x37c),_0x274bfc(0x442),_0x274bfc(0x2e1),'@univerjs/network','@univerjs/docs-ui',_0x274bfc(0x38e),_0x274bfc(0x20a),_0x274bfc(0x313),_0x274bfc(0x42c),_0x274bfc(0x46b),_0x274bfc(0x373)],_0x461a1f):(_0x5ceac0=typeof globalThis<'u'?globalThis:_0x5ceac0||self,_0x461a1f(_0x5ceac0[_0x274bfc(0x260)]={},_0x5ceac0['React'],_0x5ceac0[_0x274bfc(0x2ea)],_0x5ceac0['UniverCore'],_0x5ceac0[_0x274bfc(0x1d5)],_0x5ceac0[_0x274bfc(0x388)],_0x5ceac0[_0x274bfc(0x2a0)],_0x5ceac0[_0x274bfc(0x432)],_0x5ceac0[_0x274bfc(0x383)],_0x5ceac0[_0x274bfc(0x2a8)],_0x5ceac0['UniverEngineRender'],_0x5ceac0[_0x274bfc(0x291)],_0x5ceac0[_0x274bfc(0x205)],_0x5ceac0[_0x274bfc(0x239)],_0x5ceac0[_0x274bfc(0x3ae)],_0x5ceac0['UniverDocs'],_0x5ceac0[_0x274bfc(0x215)],_0x5ceac0[_0x274bfc(0x388)]['operators'],_0x5ceac0[_0x274bfc(0x25d)]));}(this,function(_0x4c7ce2,_0x48ce84,_0x5f2bfa,_0x2ef637,_0xbf4494,_0x35d2e5,_0x364f41,_0x5b1343,_0x5ccdcc,_0x4c6aaa,_0x35408c,_0x416c4d,_0x1f0246,_0x5e2e9e,_0xffee1f,_0x431f46,_0x53a2c3,_0x493334,_0xd96da0){'use strict';const _0x2cf95d=_0x3278;var _0x23118c=Object['defineProperty'],_0x5b03e9=(_0xe5942a,_0x4c13d7,_0x841c4c)=>_0x4c13d7 in _0xe5942a?_0x23118c(_0xe5942a,_0x4c13d7,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x841c4c}):_0xe5942a[_0x4c13d7]=_0x841c4c,_0x536638=(_0x396aeb,_0x27a170,_0x3ace23)=>_0x5b03e9(_0x396aeb,typeof _0x27a170!=_0x2cf95d(0x1d3)?_0x27a170+'':_0x27a170,_0x3ace23);function _0xdf2932({ref:_0x11fc7f,..._0x1af20c}){const _0x26888f=_0x2cf95d,{icon:_0x115bf6,id:_0x53e2fd,className:_0x32a125,extend:_0x1573a1,..._0x43ea3c}=_0x1af20c,_0x65a097=(_0x26888f(0x45c)+_0x53e2fd+'\x20'+(_0x32a125||''))[_0x26888f(0x3e0)](),_0x16cdd8=_0x5b1343[_0x26888f(0x2b5)]('_'+_0xd2d7e3());return _0xc4d859(_0x115bf6,''+_0x53e2fd,{'defIds':_0x115bf6['defIds'],'idSuffix':_0x16cdd8['current']},{'ref':_0x11fc7f,'className':_0x65a097,..._0x43ea3c},_0x1573a1);}function _0xc4d859(_0x4ce3c6,_0x51d49a,_0x5a5b1e,_0x5d1b70,_0x40a921){const _0x32d4bb=_0x2cf95d;return _0x5b1343['createElement'](_0x4ce3c6[_0x32d4bb(0x1c3)],{'key':_0x51d49a,..._0x2fa190(_0x4ce3c6,_0x5a5b1e,_0x40a921),..._0x5d1b70},(_0x7034e7(_0x4ce3c6,_0x5a5b1e)[_0x32d4bb(0x1a2)]||[])['map']((_0x33d58b,_0x134f10)=>_0xc4d859(_0x33d58b,_0x51d49a+'-'+_0x4ce3c6[_0x32d4bb(0x1c3)]+'-'+_0x134f10,_0x5a5b1e,void 0x0,_0x40a921)));}function _0x2fa190(_0x26a8b8,_0x577e48,_0x170f95){const _0x4a168d=_0x2cf95d,_0x94d0e9={..._0x26a8b8['attrs']};_0x170f95!=null&&_0x170f95[_0x4a168d(0x395)]&&_0x94d0e9['fill']===_0x4a168d(0x395)&&(_0x94d0e9[_0x4a168d(0x436)]=_0x170f95[_0x4a168d(0x395)]),_0x26a8b8[_0x4a168d(0x1c3)]===_0x4a168d(0x423)&&_0x94d0e9['id']&&(_0x94d0e9['id']=_0x94d0e9['id']+_0x577e48[_0x4a168d(0x44e)]),Object[_0x4a168d(0x2d0)](_0x94d0e9)[_0x4a168d(0x35c)](([_0x174920,_0x13bfc5])=>{const _0x21d5d8=_0x4a168d;_0x174920===_0x21d5d8(0x423)&&typeof _0x13bfc5==_0x21d5d8(0x20c)&&(_0x94d0e9[_0x174920]=_0x13bfc5[_0x21d5d8(0x1ae)](/url\(#(.*)\)/,_0x21d5d8(0x37f)+_0x577e48[_0x21d5d8(0x44e)]+')'));});const {defIds:_0x18db6a}=_0x577e48;return!_0x18db6a||_0x18db6a['length']===0x0||(_0x26a8b8[_0x4a168d(0x1c3)]===_0x4a168d(0x20d)&&_0x94d0e9[_0x4a168d(0x305)]&&(_0x94d0e9[_0x4a168d(0x305)]=_0x94d0e9[_0x4a168d(0x305)]+_0x577e48[_0x4a168d(0x44e)]),Object[_0x4a168d(0x2d0)](_0x94d0e9)['forEach'](([_0x2fb3e6,_0x2da99d])=>{const _0x2b8faf=_0x4a168d;typeof _0x2da99d==_0x2b8faf(0x20c)&&(_0x94d0e9[_0x2fb3e6]=_0x2da99d['replace'](/url\(#(.*)\)/,_0x2b8faf(0x37f)+_0x577e48['idSuffix']+')'));})),_0x94d0e9;}function _0x7034e7(_0x2d7297,_0x4ba64e){const _0x3ff52e=_0x2cf95d;var _0x384df3;const {defIds:_0x84a853}=_0x4ba64e;return!_0x84a853||_0x84a853[_0x3ff52e(0x3e6)]===0x0?_0x2d7297:_0x2d7297[_0x3ff52e(0x1c3)]===_0x3ff52e(0x312)&&((_0x384df3=_0x2d7297[_0x3ff52e(0x1a2)])!=null&&_0x384df3['length'])?{..._0x2d7297,'children':_0x2d7297[_0x3ff52e(0x1a2)][_0x3ff52e(0x443)](_0x2533fc=>typeof _0x2533fc[_0x3ff52e(0x33b)]['id']=='string'&&_0x84a853&&_0x84a853[_0x3ff52e(0x2cc)](_0x2533fc[_0x3ff52e(0x33b)]['id'])?{..._0x2533fc,'attrs':{..._0x2533fc[_0x3ff52e(0x33b)],'id':_0x2533fc[_0x3ff52e(0x33b)]['id']+_0x4ba64e[_0x3ff52e(0x44e)]}}:_0x2533fc)}:_0x2d7297;}function _0xd2d7e3(){const _0xd145b9=_0x2cf95d;return Math[_0xd145b9(0x1d2)]()[_0xd145b9(0x2d9)](0x24)[_0xd145b9(0x379)](0x2,0x8);}_0xdf2932[_0x2cf95d(0x3c1)]='UniverIcon';const _0x4c83ba={'tag':'svg','attrs':{'xmlns':_0x2cf95d(0x3cd),'fill':_0x2cf95d(0x3af),'viewBox':_0x2cf95d(0x29f),'width':'1em','height':_0x2cf95d(0x314)},'children':[{'tag':'g','attrs':{'clipPath':_0x2cf95d(0x1c2)},'children':[{'tag':_0x2cf95d(0x1e3),'attrs':{'stroke':_0x2cf95d(0x331),'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':_0x2cf95d(0x3fc),'strokeLinejoin':_0x2cf95d(0x3fc),'strokeWidth':1.2}}]},{'tag':_0x2cf95d(0x312),'attrs':{},'children':[{'tag':_0x2cf95d(0x251),'attrs':{'id':_0x2cf95d(0x3fb)},'children':[{'tag':_0x2cf95d(0x1e3),'attrs':{'fill':_0x2cf95d(0x36b),'d':_0x2cf95d(0x1c0)}}]}]}],'defIds':[_0x2cf95d(0x3fb)]},_0x415384=_0x5b1343['forwardRef'](function(_0x14c5ba,_0x5d9b8a){const _0x211b83=_0x2cf95d;return _0x5b1343[_0x211b83(0x30e)](_0xdf2932,Object[_0x211b83(0x225)]({},_0x14c5ba,{'id':'off-line-icon','ref':_0x5d9b8a,'icon':_0x4c83ba}));});_0x415384[_0x2cf95d(0x3c1)]=_0x2cf95d(0x2f7);const _0xf6125c={'tag':_0x2cf95d(0x19c),'attrs':{'xmlns':_0x2cf95d(0x3cd),'fill':'none','viewBox':_0x2cf95d(0x23e),'width':_0x2cf95d(0x314),'height':_0x2cf95d(0x314)},'children':[{'tag':'g','attrs':{'clipPath':_0x2cf95d(0x2bc)},'children':[{'tag':_0x2cf95d(0x1e3),'attrs':{'stroke':_0x2cf95d(0x331),'d':_0x2cf95d(0x330),'strokeLinecap':_0x2cf95d(0x3fc),'strokeLinejoin':_0x2cf95d(0x3fc),'strokeWidth':1.2}}]},{'tag':_0x2cf95d(0x312),'attrs':{},'children':[{'tag':_0x2cf95d(0x251),'attrs':{'id':_0x2cf95d(0x1c1)},'children':[{'tag':'path','attrs':{'fill':_0x2cf95d(0x36b),'d':'M0\x200H16V16H0z','transform':_0x2cf95d(0x446)}}]}]}],'defIds':[_0x2cf95d(0x1c1)]},_0x1f629e=_0x5b1343[_0x2cf95d(0x382)](function(_0x463b96,_0x149e4e){const _0x32b58a=_0x2cf95d;return _0x5b1343[_0x32b58a(0x30e)](_0xdf2932,Object['assign']({},_0x463b96,{'id':'on-line-icon','ref':_0x149e4e,'icon':_0xf6125c}));});_0x1f629e[_0x2cf95d(0x3c1)]=_0x2cf95d(0x256);function _0x2a9534(_0x23dbd4){const _0x3aedf=_0x2cf95d;switch(_0x23dbd4){case _0x5f2bfa['CollaborationStatus']['OFFLINE']:return'collabStatus.offline';case _0x5f2bfa[_0x3aedf(0x469)][_0x3aedf(0x3c2)]:return _0x3aedf(0x262);case _0x5f2bfa[_0x3aedf(0x469)][_0x3aedf(0x3d2)]:return _0x3aedf(0x36e);case _0x5f2bfa[_0x3aedf(0x469)][_0x3aedf(0x2fe)]:return _0x3aedf(0x232);case _0x5f2bfa['CollaborationStatus'][_0x3aedf(0x355)]:case _0x5f2bfa[_0x3aedf(0x469)][_0x3aedf(0x1b4)]:return _0x3aedf(0x364);case _0x5f2bfa[_0x3aedf(0x469)]['SYNCED']:case _0x5f2bfa['CollaborationStatus']['PENDING']:return'collabStatus.synced';}}function _0x596c97(_0x47b13c){const _0x5100ed=_0x2cf95d,{status$:_0x12287f}=_0x47b13c,_0x51fdc4=_0xbf4494['useObservable'](_0x12287f,_0x5f2bfa[_0x5100ed(0x469)][_0x5100ed(0x2fe)]),_0x2e0fe6=_0xbf4494[_0x5100ed(0x3fd)](_0x2ef637['LocaleService']),_0x19dbe3=_0xbf4494[_0x5100ed(0x3fd)](_0x5f2bfa[_0x5100ed(0x240)]),_0x454844=_0x51fdc4!==_0x5f2bfa[_0x5100ed(0x469)][_0x5100ed(0x245)],_0x29d73b=_0x2e0fe6['t'](_0x2a9534(_0x51fdc4)),_0x4a8804=_0x454844?_0x48ce84[_0x5100ed(0x25c)](_0x1f629e,{}):_0x48ce84['jsx'](_0x415384,{}),_0x3f6c11=_0x5b1343[_0x5100ed(0x2b4)](()=>{const _0x2b76d9=_0x5100ed;_0x454844||_0x19dbe3[_0x2b76d9(0x1ea)]();},[_0x454844,_0x19dbe3]);function _0x48fdd0(){const _0x4c1ff5=_0x5100ed;return _0x48ce84['jsxs']('div',{'className':_0x4c1ff5(0x3d0),'onClick':_0x3f6c11,'children':[_0x48ce84[_0x4c1ff5(0x25c)]('div',{'className':_0x364f41[_0x4c1ff5(0x227)]('univer-mr-2\x20univer-flex\x20univer-text-xl',{'univer-text-green-500':_0x454844,'univer-text-red-500':!_0x454844}),'children':_0x4a8804}),_0x48ce84['jsx']('div',{'className':_0x4c1ff5(0x34e),'children':_0x29d73b})]});}return _0x454844?_0x48fdd0():_0x48ce84[_0x5100ed(0x25c)](_0x364f41[_0x5100ed(0x3d4)],{'title':_0x2e0fe6['t'](_0x5100ed(0x2e8)),'children':_0x48fdd0()});}var _0xde10fa=Object[_0x2cf95d(0x457)],_0x5cab94=(_0x5d83a3,_0x221e50,_0x586fd9,_0x2f8e50)=>{for(var _0x4a2dce=_0x2f8e50>0x1?void 0x0:_0x2f8e50?_0xde10fa(_0x221e50,_0x586fd9):_0x221e50,_0x560adc=_0x5d83a3['length']-0x1,_0x1ef6d2;_0x560adc>=0x0;_0x560adc--)(_0x1ef6d2=_0x5d83a3[_0x560adc])&&(_0x4a2dce=_0x1ef6d2(_0x4a2dce)||_0x4a2dce);return _0x4a2dce;},_0x3505d2=(_0x236e8c,_0x280c7b)=>(_0x165923,_0x5610a7)=>_0x280c7b(_0x165923,_0x5610a7,_0x236e8c);_0x4c7ce2[_0x2cf95d(0x418)]=class extends _0x2ef637[_0x2cf95d(0x26a)]{constructor(_0x5b636a,_0x4f4061,_0x4750c8,_0x5e6494){const _0x467d52=_0x2cf95d;super(),_0x536638(this,_0x467d52(0x203),new _0x35d2e5['BehaviorSubject'](_0x5f2bfa[_0x467d52(0x469)][_0x467d52(0x2fe)])),(this['_univerInstanceService']=_0x5b636a,this[_0x467d52(0x30c)]=_0x4f4061,this[_0x467d52(0x2a7)]=_0x4750c8,this[_0x467d52(0x285)]=_0x5e6494,this[_0x467d52(0x24d)](),this[_0x467d52(0x428)]());}[_0x2cf95d(0x428)](){const _0x55e0d2=_0x2cf95d;this['disposeWithMe'](this[_0x55e0d2(0x3f0)][_0x55e0d2(0x417)][_0x55e0d2(0x40f)](_0x35d2e5['switchMap'](()=>{const _0x1fcf50=_0x55e0d2,_0x36dca7=this[_0x1fcf50(0x3f0)][_0x1fcf50(0x235)]();return _0x36dca7?this['_collaborationController']['getCollabEntity$'](_0x36dca7[_0x1fcf50(0x35a)]()):_0x35d2e5['of'](null);}),_0x35d2e5[_0x55e0d2(0x441)](_0x46f38f=>_0x46f38f?_0x46f38f[_0x55e0d2(0x45f)]:_0x35d2e5['of'](_0x5f2bfa['CollaborationStatus'][_0x55e0d2(0x2fe)])))[_0x55e0d2(0x335)](_0xb967b=>{const _0x55ebda=_0x55e0d2;this[_0x55ebda(0x203)]['next'](_0xb967b);}));}[_0x2cf95d(0x24d)](){const _0x32cb4f=_0x2cf95d;this[_0x32cb4f(0x2c3)](this[_0x32cb4f(0x285)][_0x32cb4f(0x39b)](_0xbf4494[_0x32cb4f(0x2c2)][_0x32cb4f(0x3d1)],()=>_0xbf4494['connectInjector'](_0xe4f366({'status$':this[_0x32cb4f(0x203)][_0x32cb4f(0x339)]()}),this[_0x32cb4f(0x30c)])));}},_0x4c7ce2['DesktopCollaborationStatusDisplayController']=_0x5cab94([_0x3505d2(0x0,_0x2ef637['IUniverInstanceService']),_0x3505d2(0x1,_0x2ef637[_0x2cf95d(0x3fa)](_0x2ef637[_0x2cf95d(0x3b0)])),_0x3505d2(0x2,_0x2ef637[_0x2cf95d(0x3fa)](_0x5f2bfa[_0x2cf95d(0x37b)])),_0x3505d2(0x3,_0xbf4494[_0x2cf95d(0x3e4)])],_0x4c7ce2[_0x2cf95d(0x418)]);function _0xe4f366(_0x45348e){const {status$:_0x583f76}=_0x45348e;return function(){return _0x48ce84['jsx'](_0x596c97,{'status$':_0x583f76});};}const _0x5026ec=_0x2ef637['createIdentifier'](_0x2cf95d(0x3b6));var _0x461521=Object[_0x2cf95d(0x457)],_0x4098c0=(_0x54f6d8,_0x3d2c5a,_0x20f508,_0x40222f)=>{for(var _0x3fd3ca=_0x40222f>0x1?void 0x0:_0x40222f?_0x461521(_0x3d2c5a,_0x20f508):_0x3d2c5a,_0x185fed=_0x54f6d8['length']-0x1,_0xfe97b0;_0x185fed>=0x0;_0x185fed--)(_0xfe97b0=_0x54f6d8[_0x185fed])&&(_0x3fd3ca=_0xfe97b0(_0x3fd3ca)||_0x3fd3ca);return _0x3fd3ca;},_0x51d0ae=(_0xc626ad,_0x59352a)=>(_0x5376ce,_0xb5b9e2)=>_0x59352a(_0x5376ce,_0xb5b9e2,_0xc626ad);_0x4c7ce2['CollaborationDataLoaderController']=class extends _0x2ef637[_0x2cf95d(0x29c)]{constructor(_0x47bf6d,_0x35beda,_0x3edf45,_0x113bcc,_0x1c6475){const _0x34fc9c=_0x2cf95d;super(),this[_0x34fc9c(0x28a)]=_0x47bf6d,this['_logService']=_0x35beda,this[_0x34fc9c(0x3a0)]=_0x3edf45,this[_0x34fc9c(0x36c)]=_0x113bcc,_0x1c6475?_0x1c6475==null||_0x1c6475[_0x34fc9c(0x1f6)]()[_0x34fc9c(0x1c7)](()=>this['_init']()):(this[_0x34fc9c(0x43a)][_0x34fc9c(0x328)](_0x34fc9c(0x427),_0x34fc9c(0x1f2)),this[_0x34fc9c(0x303)]());}async['_init'](){const _0x4801eb=_0x2cf95d,_0x32523a=this[_0x4801eb(0x28a)][_0x4801eb(0x1fb)]('unit'),_0x570bd4=this[_0x4801eb(0x28a)][_0x4801eb(0x1fb)](_0x4801eb(0x35b)),_0x5e3cc9=this[_0x4801eb(0x28a)][_0x4801eb(0x1fb)](_0x4801eb(0x459));if(!_0x32523a||!_0x570bd4){this[_0x4801eb(0x43a)][_0x4801eb(0x328)]('[CollaborationDataLoaderController]','No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.');return;}const _0x42d5b1=await this[_0x4801eb(0x36c)][_0x4801eb(0x362)](_0x32523a,Number(_0x570bd4),_0x5e3cc9);_0x42d5b1&&_0x42d5b1 instanceof _0x2ef637['Workbook']&&this['_setupSubUnitSync'](_0x42d5b1);}async[_0x2cf95d(0x2cb)](_0x56e3d3){const _0x2f4918=_0x2cf95d;await this[_0x2f4918(0x1ac)](_0x56e3d3),_0x56e3d3[_0x2f4918(0x1c9)][_0x2f4918(0x40f)](_0x35d2e5[_0x2f4918(0x2a5)](this[_0x2f4918(0x1e2)]))[_0x2f4918(0x335)](_0x325109=>{const _0x1f86a2=_0x2f4918;_0x325109&&this[_0x1f86a2(0x3ba)](_0x325109);}),this[_0x2f4918(0x28a)][_0x2f4918(0x284)]['pipe'](_0x35d2e5['takeUntil'](this[_0x2f4918(0x1e2)]))[_0x2f4918(0x335)](()=>this['_updateSubUnitFromURLParams'](_0x56e3d3));}['_updateURLWithCurrentState'](_0x18f15e,_0x7ef564=!0x1){const _0x1c9f69=_0x2cf95d,_0x16cdd4=this[_0x1c9f69(0x28a)][_0x1c9f69(0x1fb)](_0x1c9f69(0x459));_0x18f15e[_0x1c9f69(0x1ba)]()!==_0x16cdd4&&this['_urlService'][_0x1c9f69(0x3b8)](_0x1c9f69(0x459),_0x18f15e[_0x1c9f69(0x1ba)](),_0x7ef564);}async[_0x2cf95d(0x1ac)](_0x2fe989){const _0x180fa7=_0x2cf95d;var _0x406a0f;const _0x1c3811=this[_0x180fa7(0x28a)]['getParam'](_0x180fa7(0x459));if(!_0x1c3811||!_0x2fe989[_0x180fa7(0x3ac)](_0x1c3811)){const _0x3404c8=_0x2fe989[_0x180fa7(0x3f1)]()[0x0],_0x2646f4=_0x2fe989[_0x180fa7(0x3ac)](_0x3404c8);if(!_0x2646f4)return;this[_0x180fa7(0x3ba)](_0x2646f4,!0x0),await this[_0x180fa7(0x3a0)][_0x180fa7(0x311)](_0x4c6aaa[_0x180fa7(0x390)]['id'],{'unitId':_0x2fe989['getUnitId'](),'subUnitId':_0x3404c8});return;}((_0x406a0f=_0x2fe989['getActiveSheet']())==null?void 0x0:_0x406a0f[_0x180fa7(0x1ba)]())!==_0x1c3811&&await this[_0x180fa7(0x3a0)][_0x180fa7(0x311)](_0x4c6aaa[_0x180fa7(0x390)]['id'],{'unitId':_0x2fe989[_0x180fa7(0x35a)](),'subUnitId':_0x1c3811});}},_0x4c7ce2[_0x2cf95d(0x25b)]=_0x4098c0([_0x51d0ae(0x0,_0x5026ec),_0x51d0ae(0x1,_0x2ef637[_0x2cf95d(0x387)]),_0x51d0ae(0x2,_0x2ef637[_0x2cf95d(0x412)]),_0x51d0ae(0x3,_0x2ef637['Inject'](_0x5f2bfa[_0x2cf95d(0x20f)])),_0x51d0ae(0x4,_0x2ef637['Optional'](_0x5ccdcc['IRemoteInstanceService']))],_0x4c7ce2[_0x2cf95d(0x25b)]);var _0x57010f=Object[_0x2cf95d(0x457)],_0x3bb095=(_0x42e1f3,_0x30480f,_0x5b8e3d,_0x5c9cd8)=>{const _0x6edd89=_0x2cf95d;for(var _0x5c9c97=_0x5c9cd8>0x1?void 0x0:_0x5c9cd8?_0x57010f(_0x30480f,_0x5b8e3d):_0x30480f,_0x767b4=_0x42e1f3[_0x6edd89(0x3e6)]-0x1,_0x4d9312;_0x767b4>=0x0;_0x767b4--)(_0x4d9312=_0x42e1f3[_0x767b4])&&(_0x5c9c97=_0x4d9312(_0x5c9c97)||_0x5c9c97);return _0x5c9c97;},_0x413bd1=(_0x3703d2,_0x32d95b)=>(_0x311f58,_0x334228)=>_0x32d95b(_0x311f58,_0x334228,_0x3703d2);let _0x28ec89=class extends _0x2ef637[_0x2cf95d(0x29c)]{constructor(_0x6749eb,_0x1ef43b){const _0x5c40f0=_0x2cf95d;super(),this[_0x5c40f0(0x3a2)]=_0x6749eb,this[_0x5c40f0(0x1b7)]=_0x1ef43b,this[_0x5c40f0(0x303)]();}['_init'](){const _0x4b8060=_0x2cf95d,_0x5ec582=this;this[_0x4b8060(0x2c3)](this[_0x4b8060(0x3a2)]['addClipboardHook']({'onBeforePasteImage':async _0x355657=>{const _0x2a3f83=_0x4b8060,_0x3d528d=await _0x5ec582[_0x2a3f83(0x1b7)]['saveImage'](_0x355657);return _0x3d528d?{'source':_0x3d528d[_0x2a3f83(0x38c)],'imageSourceType':_0x3d528d[_0x2a3f83(0x238)]}:null;}}));}};_0x28ec89=_0x3bb095([_0x413bd1(0x0,_0x1f0246[_0x2cf95d(0x41b)]),_0x413bd1(0x1,_0x5e2e9e['IImageIoService'])],_0x28ec89);const _0x5a01da=['purple.300',_0x2cf95d(0x1dd),_0x2cf95d(0x407),'red.300',_0x2cf95d(0x325),_0x2cf95d(0x429)];class _0x371edb extends _0x2ef637[_0x2cf95d(0x26a)]{constructor(){const _0x12f38f=_0x2cf95d;super(...arguments),_0x536638(this,'_assignedColors',new Map()),_0x536638(this,_0x12f38f(0x2b0),0x0);}[_0x2cf95d(0x3c0)](_0x525d85){const _0x2906bf=_0x2cf95d;if(this[_0x2906bf(0x2b3)]['has'](_0x525d85))return this[_0x2906bf(0x2b3)][_0x2906bf(0x3c7)](_0x525d85);const _0x54a8ae=_0x5a01da[this['_colorIndex']];return this[_0x2906bf(0x2b0)]=(this[_0x2906bf(0x2b0)]+0x1)%_0x5a01da['length'],this[_0x2906bf(0x2b3)][_0x2906bf(0x2f5)](_0x525d85,_0x54a8ae),_0x54a8ae;}}function _0xf9d6f6(_0x58bd29){const _0x5aa85e=_0x2cf95d;let _0x297ca5='';for(const _0x617e1b of _0x58bd29){const {startOffset:_0x3d2519,endOffset:_0x3012b0,isActive:_0x4b265f,rangeType:_0xe313f6,segmentId:_0x3179be,segmentPage:_0x5536d9}=_0x617e1b;_0x297ca5[_0x5aa85e(0x3e6)]&&(_0x297ca5+=','),_0x297ca5+=_0x3d2519+':'+_0x3012b0+':'+(_0x4b265f?'1':'0')+':'+_0xe313f6+':'+_0x3179be+':'+_0x5536d9;}return _0x297ca5;}function _0x5b73b2(_0x16b06a){const _0x4ffb8b=_0x2cf95d,_0x1bf3a0=_0x16b06a[_0x4ffb8b(0x3dd)](','),_0x25a408=[];for(const _0x361d6f of _0x1bf3a0){const [_0x4b16d1,_0x4efa17,_0xd7af28,_0x10477e,_0x272e53,_0x338555]=_0x361d6f[_0x4ffb8b(0x3dd)](':');_0x25a408['push']({'startOffset':Number(_0x4b16d1),'endOffset':Number(_0x4efa17),'collapsed':_0x4b16d1===_0x4efa17,'isActive':_0xd7af28==='1','rangeType':_0x10477e===_0x2ef637['DOC_RANGE_TYPE'][_0x4ffb8b(0x2f4)]?_0x2ef637[_0x4ffb8b(0x3de)][_0x4ffb8b(0x2f4)]:_0x2ef637[_0x4ffb8b(0x3de)]['RECT'],'segmentId':typeof _0x272e53==_0x4ffb8b(0x20c)?String(_0x272e53):'','segmentPage':Number(_0x338555!=null?_0x338555:-0x1)});}return _0x25a408[_0x4ffb8b(0x343)](_0x16a311=>_0x16a311[_0x4ffb8b(0x444)])||(_0x25a408[0x0][_0x4ffb8b(0x444)]=!0x0),_0x25a408;}class _0x5419b8 extends _0x2ef637[_0x2cf95d(0x29c)]{constructor(){const _0x4fb53f=_0x2cf95d;super(...arguments),_0x536638(this,_0x4fb53f(0x2ab),new _0x35d2e5[(_0x4fb53f(0x27d))](null)),_0x536638(this,'collabCursorState$',this[_0x4fb53f(0x2ab)][_0x4fb53f(0x339)]());}['syncEditingCollabCursor'](_0x2679d5){const _0x408c51=_0x2cf95d,{unitID:_0x583fb9,memberID:_0x361d50,textRanges:_0xd69683}=_0x2679d5,_0x337579=_0xf9d6f6(_0xd69683);if(_0x337579==='')return;const _0x2cf5ad={'unitID':_0x583fb9,'memberID':_0x361d50,'selection':_0x337579};this[_0x408c51(0x2ab)][_0x408c51(0x248)](_0x2cf5ad);}}var _0x406468=Object[_0x2cf95d(0x457)],_0x2b28ca=(_0x1e1505,_0x1843bd,_0x47e031,_0x1e0a27)=>{const _0x2c1b44=_0x2cf95d;for(var _0x2ee155=_0x1e0a27>0x1?void 0x0:_0x1e0a27?_0x406468(_0x1843bd,_0x47e031):_0x1843bd,_0x216cc3=_0x1e1505[_0x2c1b44(0x3e6)]-0x1,_0x4e9fdb;_0x216cc3>=0x0;_0x216cc3--)(_0x4e9fdb=_0x1e1505[_0x216cc3])&&(_0x2ee155=_0x4e9fdb(_0x2ee155)||_0x2ee155);return _0x2ee155;},_0x5aaf17=(_0x5cd506,_0x11c85d)=>(_0x9d871f,_0x110d94)=>_0x11c85d(_0x9d871f,_0x110d94,_0x5cd506);const _0x19b645=0x12c,_0x49239b=0x64;let _0x6a47bb=class extends _0x2ef637[_0x2cf95d(0x29c)]{constructor(_0x5a1dfb,_0x283360,_0x2fc938,_0x1dabfc,_0x47d457,_0x42000a,_0x3f1dfc,_0x542bb5,_0xf5da7c){const _0x92cacb=_0x2cf95d;super(),_0x536638(this,_0x92cacb(0x336),!0x1),_0x536638(this,_0x92cacb(0x303),!0x1),_0x536638(this,_0x92cacb(0x27b),new _0x35d2e5[(_0x92cacb(0x27d))](new Map())),_0x536638(this,_0x92cacb(0x3e1),this['_cursorInfo$'][_0x92cacb(0x339)]()),_0x536638(this,_0x92cacb(0x26b),new _0x35d2e5[(_0x92cacb(0x27d))]([])),_0x536638(this,_0x92cacb(0x288),this[_0x92cacb(0x26b)][_0x92cacb(0x40f)](_0x35d2e5[_0x92cacb(0x320)](_0x19b645))),_0x536638(this,_0x92cacb(0x35f),_0x2ef637[_0x92cacb(0x3ce)](_0x4a01fa=>{const _0x24fae7=_0x92cacb,_0x233dae={'eventID':_0xffee1f[_0x24fae7(0x2b8)]['UPDATE_CURSOR'],'data':{'unitID':this[_0x24fae7(0x406)],'memberID':this[_0x24fae7(0x3a5)]['getMemberID'](),'selection':_0xf9d6f6(_0x4a01fa)}};this['_session'][_0x24fae7(0x3eb)](_0x233dae,this['unitID']);},_0x49239b)),(this['unitID']=_0x5a1dfb,this['_session']=_0x283360,this[_0x92cacb(0x30c)]=_0x2fc938,this[_0x92cacb(0x212)]=_0x1dabfc,this[_0x92cacb(0x392)]=_0x47d457,this[_0x92cacb(0x27a)]=_0x42000a,this[_0x92cacb(0x1a9)]=_0x3f1dfc,this['_univerInstanceService']=_0x542bb5,this[_0x92cacb(0x3a0)]=_0xf5da7c);}get['cursorInfo'](){const _0x4f5e0a=_0x2cf95d;return this[_0x4f5e0a(0x27b)][_0x4f5e0a(0x1f9)]();}get[_0x2cf95d(0x329)](){const _0x177e63=_0x2cf95d;return this[_0x177e63(0x26b)][_0x177e63(0x1f9)]();}[_0x2cf95d(0x359)](){const _0x2f6ca5=_0x2cf95d;super[_0x2f6ca5(0x359)](),this[_0x2f6ca5(0x27b)]['next'](new Map()),this['_cursorInfo$'][_0x2f6ca5(0x228)](),this[_0x2f6ca5(0x26b)][_0x2f6ca5(0x248)]([]),this[_0x2f6ca5(0x26b)][_0x2f6ca5(0x228)]();}[_0x2cf95d(0x3ff)](){const _0x2fe440=_0x2cf95d;this[_0x2fe440(0x303)]||(this[_0x2fe440(0x303)]=!0x0,this[_0x2fe440(0x3a5)][_0x2fe440(0x411)][_0x2fe440(0x40f)](_0x35d2e5[_0x2fe440(0x2a5)](this['dispose$']))[_0x2fe440(0x335)](_0x8d4449=>{const _0x1e6314=_0x2fe440;_0x8d4449===_0x5f2bfa[_0x1e6314(0x2e3)][_0x1e6314(0x1b3)]?this[_0x1e6314(0x3d9)]():this[_0x1e6314(0x1e6)]();}),this[_0x2fe440(0x3a5)]['event$'][_0x2fe440(0x40f)](_0x35d2e5['takeUntil'](this[_0x2fe440(0x1e2)]))['subscribe'](_0x53869=>{const _0x45cb20=_0x2fe440,_0x5be444=_0x53869[_0x45cb20(0x46a)];_0x5be444===_0xffee1f['CollaborationEvent'][_0x45cb20(0x323)]&&this['_onCursorUpdate'](_0x53869),_0x5be444===_0xffee1f[_0x45cb20(0x2b8)][_0x45cb20(0x292)]&&this[_0x45cb20(0x42a)](_0x53869);}),this[_0x2fe440(0x2c3)](this['_commandService'][_0x2fe440(0x289)](_0x43298f=>{const _0x45a392=_0x2fe440,_0x3057b5=_0x43298f[_0x45a392(0x23b)];_0x3057b5!=null&&this[_0x45a392(0x336)]&&_0x43298f['id']===_0x431f46[_0x45a392(0x3c4)]['id']&&_0x3057b5[_0x45a392(0x1b6)]===this[_0x45a392(0x406)]&&_0x3057b5[_0x45a392(0x1bb)]===!0x1&&_0x3057b5[_0x45a392(0x451)][_0x45a392(0x3e6)]>0x0&&this[_0x45a392(0x35f)](_0x3057b5[_0x45a392(0x451)]);})),this['_syncEditingCollabCursorService']['collabCursorState$'][_0x2fe440(0x40f)](_0x35d2e5[_0x2fe440(0x2a5)](this[_0x2fe440(0x1e2)]))[_0x2fe440(0x335)](_0x5e14f1=>{const _0x34dc6d=_0x2fe440;if((_0x5e14f1==null?void 0x0:_0x5e14f1[_0x34dc6d(0x406)])!==this[_0x34dc6d(0x406)])return;const _0x19478c={'eventID':_0xffee1f[_0x34dc6d(0x2b8)]['UPDATE_CURSOR'],'data':_0x5e14f1};this['_onCursorUpdate'](_0x19478c);}),this[_0x2fe440(0x2c3)](this[_0x2fe440(0x3a0)]['onCommandExecuted'](_0x2db04f=>{const _0x10be49=_0x2fe440;if(_0x2db04f[_0x10be49(0x23b)]==null)return;const _0x4cf1a1=_0x2db04f[_0x10be49(0x23b)];if(_0x2db04f['id']!==_0x431f46[_0x10be49(0x2e0)]['id']||_0x4cf1a1[_0x10be49(0x1b6)]!==this['unitID'])return;const _0x222314={'id':_0x10be49(0x426),'params':_0x4cf1a1},_0x46727b=this[_0x10be49(0x297)];for(const [_0x32b675,_0xe9830f]of _0x46727b){const _0x3dd204={'id':'doc.mutation.rich-text-editing','params':{'unitId':this[_0x10be49(0x406)],'actions':null,'textRanges':_0xe9830f[_0x10be49(0x451)]}},_0x4f1475=this[_0x10be49(0x1a9)]['transformMutation'](_0x222314,_0x3dd204,!0x1);if(_0xffee1f[_0x10be49(0x1a0)](_0x4f1475))throw _0x4f1475['error'];_0x46727b['set'](_0x32b675,{..._0xe9830f,'ranges':_0x4f1475[_0x10be49(0x465)][_0x10be49(0x23b)]['textRanges']});}queueMicrotask(()=>{const _0x476f2d=_0x10be49;this[_0x476f2d(0x27b)][_0x476f2d(0x248)](_0x46727b);});})));}[_0x2cf95d(0x2ef)](_0x4b330c){const _0x3173c2=_0x2cf95d;var _0x5ea4ba,_0x23ae5d;const {memberID:_0x93f9fb,selection:_0x150055}=_0x4b330c[_0x3173c2(0x2bf)],_0x2332c2=_0x5b73b2(_0x150055),_0x47a3c8=(_0x23ae5d=(_0x5ea4ba=this[_0x3173c2(0x392)]['getMember'](this['unitID'],_0x93f9fb))==null?void 0x0:_0x5ea4ba['name'])!=null?_0x23ae5d:_0x3173c2(0x3b7),_0x144185={'color':this[_0x3173c2(0x212)][_0x3173c2(0x3c0)](_0x93f9fb),'name':_0x47a3c8,'ranges':_0x2332c2},_0x3f4d1c=this[_0x3173c2(0x297)];_0x3f4d1c[_0x3173c2(0x2f5)](_0x93f9fb,_0x144185),this['_cursorInfo$'][_0x3173c2(0x248)](_0x3f4d1c);}['_onCursorDelete'](_0x154a6b){const _0x26cee6=_0x2cf95d,{memberID:_0x128c62}=_0x154a6b['data'],_0x395ed5=this[_0x26cee6(0x297)];_0x395ed5['delete'](_0x128c62),this['_cursorInfo$'][_0x26cee6(0x248)](_0x395ed5);}[_0x2cf95d(0x3d9)](){const _0x918cca=_0x2cf95d;var _0xa5b527;if(this['_online']=!0x0,((_0xa5b527=this[_0x918cca(0x3f0)][_0x918cca(0x235)]())==null?void 0x0:_0xa5b527['getUnitId']())!==this['unitID'])return;const _0x5f42ea=this[_0x918cca(0x30c)]['get'](_0x431f46[_0x918cca(0x43c)])['getDocRanges']();Array['isArray'](_0x5f42ea)&&_0x5f42ea['length']>0x0&&this[_0x918cca(0x35f)](_0x5f42ea);}[_0x2cf95d(0x1e6)](){const _0x1f4e89=_0x2cf95d;this[_0x1f4e89(0x336)]=!0x1;}};_0x6a47bb=_0x2b28ca([_0x5aaf17(0x2,_0x2ef637[_0x2cf95d(0x3fa)](_0x2ef637[_0x2cf95d(0x3b0)])),_0x5aaf17(0x3,_0x2ef637[_0x2cf95d(0x3fa)](_0x371edb)),_0x5aaf17(0x4,_0x2ef637[_0x2cf95d(0x3fa)](_0x5f2bfa[_0x2cf95d(0x39d)])),_0x5aaf17(0x5,_0x2ef637[_0x2cf95d(0x3fa)](_0x5419b8)),_0x5aaf17(0x6,_0xffee1f['ITransformService']),_0x5aaf17(0x7,_0x2ef637[_0x2cf95d(0x25f)]),_0x5aaf17(0x8,_0x2ef637[_0x2cf95d(0x412)])],_0x6a47bb);var _0x4a25be=Object['getOwnPropertyDescriptor'],_0x45bc07=(_0x46c463,_0x25efb3,_0x2d5b4e,_0x14dcd)=>{for(var _0x3f0c80=_0x14dcd>0x1?void 0x0:_0x14dcd?_0x4a25be(_0x25efb3,_0x2d5b4e):_0x25efb3,_0x112e19=_0x46c463['length']-0x1,_0x4f6ca9;_0x112e19>=0x0;_0x112e19--)(_0x4f6ca9=_0x46c463[_0x112e19])&&(_0x3f0c80=_0x4f6ca9(_0x3f0c80)||_0x3f0c80);return _0x3f0c80;},_0x3aa26c=(_0x5a8963,_0x186682)=>(_0x2105d1,_0x33f981)=>_0x186682(_0x2105d1,_0x33f981,_0x5a8963);const _0xf0137a=0x12c,_0x34a7ab=0x64,_0x25425f=()=>{let _0x55ba62=[],_0xcacbce=!0x1;return _0x338fee=>{const _0x495172=_0x3278;_0x55ba62[_0x495172(0x316)](_0x338fee),_0xcacbce||(_0xcacbce=!0x0,setTimeout(()=>{const _0x4e9c15=_0x495172;_0x55ba62[_0x4e9c15(0x35c)](_0x15bb4f=>_0x15bb4f()),_0x55ba62=[],_0xcacbce=!0x1;}));};};let _0x4b0008=class extends _0x2ef637['RxDisposable']{constructor(_0x39df5a,_0x58c214,_0x6cc569,_0x45d009,_0x2333c3,_0x299e70,_0x5cc914,_0x2c4872){const _0x2813aa=_0x2cf95d;super(),_0x536638(this,_0x2813aa(0x336),!0x1),_0x536638(this,'_init',!0x1),_0x536638(this,_0x2813aa(0x27b),new _0x35d2e5[(_0x2813aa(0x27d))](new Map())),_0x536638(this,'cursorInfo$',this[_0x2813aa(0x27b)]['asObservable']()),_0x536638(this,_0x2813aa(0x26b),new _0x35d2e5[(_0x2813aa(0x27d))]([])),_0x536638(this,_0x2813aa(0x288),this[_0x2813aa(0x26b)]['pipe'](_0x35d2e5[_0x2813aa(0x320)](_0xf0137a))),_0x536638(this,_0x2813aa(0x35f),_0x2ef637['debounce']((_0x400b5c,_0x294714)=>{const _0x4a2dff=_0x2813aa,_0x35d237={'eventID':_0xffee1f[_0x4a2dff(0x2b8)]['UPDATE_CURSOR'],'data':{'unitID':this['unitID'],'memberID':this[_0x4a2dff(0x3a5)][_0x4a2dff(0x2d1)](),'selection':_0x53a2c3[_0x4a2dff(0x3b2)](_0x400b5c,_0x294714['range'])}};this[_0x4a2dff(0x3a5)][_0x4a2dff(0x3eb)](_0x35d237,this['unitID']);},_0x34a7ab)),(this[_0x2813aa(0x406)]=_0x39df5a,this[_0x2813aa(0x3a5)]=_0x58c214,this[_0x2813aa(0x30c)]=_0x6cc569,this[_0x2813aa(0x212)]=_0x45d009,this['_memberService']=_0x2333c3,this[_0x2813aa(0x3f0)]=_0x299e70,this[_0x2813aa(0x3a0)]=_0x5cc914,this[_0x2813aa(0x39c)]=_0x2c4872);}get[_0x2cf95d(0x297)](){const _0x24b241=_0x2cf95d;return this[_0x24b241(0x27b)][_0x24b241(0x1f9)]();}get[_0x2cf95d(0x329)](){const _0x1dabfa=_0x2cf95d;return this[_0x1dabfa(0x26b)]['getValue']();}[_0x2cf95d(0x359)](){const _0xaa3d92=_0x2cf95d;super['dispose'](),this['_cursorInfo$']['next'](new Map()),this['_cursorInfo$'][_0xaa3d92(0x228)](),this['_roomMembers$'][_0xaa3d92(0x248)]([]),this[_0xaa3d92(0x26b)]['complete']();}[_0x2cf95d(0x3ff)](){const _0x3fa297=_0x2cf95d;this['_init']||(this[_0x3fa297(0x303)]=!0x0,this['_session'][_0x3fa297(0x411)][_0x3fa297(0x40f)](_0x35d2e5[_0x3fa297(0x2a5)](this[_0x3fa297(0x1e2)]))[_0x3fa297(0x335)](_0xbf51eb=>{const _0x383d32=_0x3fa297;_0xbf51eb===_0x5f2bfa[_0x383d32(0x2e3)][_0x383d32(0x1b3)]?this[_0x383d32(0x3d9)]():this[_0x383d32(0x1e6)]();}),this[_0x3fa297(0x3a5)][_0x3fa297(0x38f)][_0x3fa297(0x40f)](_0x35d2e5[_0x3fa297(0x2a5)](this[_0x3fa297(0x1e2)]))[_0x3fa297(0x335)](_0x1d3499=>{const _0x5b96a5=_0x3fa297,_0x293527=_0x1d3499[_0x5b96a5(0x46a)];_0x293527===_0xffee1f[_0x5b96a5(0x2b8)]['UPDATE_CURSOR']&&this[_0x5b96a5(0x2ef)](_0x1d3499),_0x293527===_0xffee1f[_0x5b96a5(0x2b8)][_0x5b96a5(0x292)]&&this[_0x5b96a5(0x42a)](_0x1d3499);}),this['_onRefRangeChange'](),this[_0x3fa297(0x2c3)](this[_0x3fa297(0x3a0)][_0x3fa297(0x289)](_0x5661b2=>{const _0x335893=_0x3fa297;if(this[_0x335893(0x336)]&&_0x5661b2['id']===_0x4c6aaa[_0x335893(0x298)]['id']&&_0x5661b2['params'][_0x335893(0x1b6)]===this[_0x335893(0x406)]){const _0x368e38=_0x5661b2[_0x335893(0x23b)];this[_0x335893(0x35f)](_0x368e38[_0x335893(0x3a7)],_0x368e38[_0x335893(0x22d)][0x0]);}})));}[_0x2cf95d(0x2ef)](_0x2e9637){const _0x164626=_0x2cf95d;var _0x246d60,_0x39013b;const {memberID:_0xce6da7,selection:_0x31f272}=_0x2e9637['data'],{sheetName:_0x1a3cc5,range:_0x435474}=_0x53a2c3[_0x164626(0x353)](_0x31f272),_0x5f2d87={'name':(_0x39013b=(_0x246d60=this[_0x164626(0x392)]['getMember'](this[_0x164626(0x406)],_0xce6da7))==null?void 0x0:_0x246d60['name'])!=null?_0x39013b:_0x164626(0x3b7),'range':this['_getMergeRange'](_0x1a3cc5,_0x435474),'sheetID':_0x1a3cc5,'color':this[_0x164626(0x212)][_0x164626(0x3c0)](_0xce6da7),'selection':_0x31f272},_0x2bd997=this[_0x164626(0x297)];_0x2bd997[_0x164626(0x2f5)](_0xce6da7,_0x5f2d87),this[_0x164626(0x27b)][_0x164626(0x248)](_0x2bd997);}[_0x2cf95d(0x42a)](_0x55195d){const _0x2de64c=_0x2cf95d,{memberID:_0x5b5e6c}=_0x55195d[_0x2de64c(0x2bf)],_0x3a2d4c=this[_0x2de64c(0x297)];_0x3a2d4c[_0x2de64c(0x226)](_0x5b5e6c),this[_0x2de64c(0x27b)]['next'](_0x3a2d4c);}['_getMergeRange'](_0x3d1db5,_0x411ec3){const _0x5288d8=_0x2cf95d;var _0x4395c6,_0x3dbe2c;const _0x2a22cd=(_0x3dbe2c=(_0x4395c6=this[_0x5288d8(0x3f0)][_0x5288d8(0x39e)](this['unitID']))==null?void 0x0:_0x4395c6[_0x5288d8(0x3ac)](_0x3d1db5))==null?void 0x0:_0x3dbe2c[_0x5288d8(0x439)]();return(_0x2a22cd==null?void 0x0:_0x2a22cd[_0x5288d8(0x319)](_0xe0a232=>_0x2ef637[_0x5288d8(0x27c)][_0x5288d8(0x19d)](_0xe0a232,_0x411ec3)))||_0x411ec3;}[_0x2cf95d(0x2ba)](){const _0x3f0188=_0x2cf95d,_0x5862ab=new _0x2ef637[(_0x3f0188(0x40e))](),_0x9bf0a7=_0x25425f(),_0x2b1837=()=>{const _0x364a0f=_0x3f0188;_0x5862ab['dispose']();const _0x10527a=(_0x415f5c,_0xdb8704,_0x3cd327,_0x7d21fb)=>{const _0x178597=_0x3278;let _0x4579a2=[];switch(_0x415f5c['id']){case _0x4c6aaa[_0x178597(0x3d8)][_0x178597(0x467)]:{_0x4579a2=_0x4c6aaa['handleDeleteRangeMoveLeft'](_0x415f5c,_0x7d21fb);break;}case _0x4c6aaa['EffectRefRangId'][_0x178597(0x3ab)]:{_0x4579a2=_0x4c6aaa[_0x178597(0x447)](_0x415f5c,_0x7d21fb);break;}case _0x4c6aaa[_0x178597(0x3d8)][_0x178597(0x326)]:{_0x4579a2=_0x4c6aaa[_0x178597(0x365)](_0x415f5c,_0x7d21fb);break;}case _0x4c6aaa[_0x178597(0x3d8)][_0x178597(0x30b)]:{_0x4579a2=_0x4c6aaa['handleInsertRangeMoveDown'](_0x415f5c,_0x7d21fb);break;}case _0x4c6aaa[_0x178597(0x3d8)][_0x178597(0x2f6)]:{_0x4579a2=_0x4c6aaa[_0x178597(0x3f8)](_0x415f5c,_0x7d21fb);break;}case _0x4c6aaa[_0x178597(0x3d8)]['InsertRowCommandId']:{_0x4579a2=_0x4c6aaa[_0x178597(0x1d7)](_0x415f5c,_0x7d21fb);break;}case _0x4c6aaa[_0x178597(0x3d8)]['MoveRangeCommandId']:{_0x4579a2=_0x4c6aaa['handleMoveRange'](_0x415f5c,_0x7d21fb);break;}case _0x4c6aaa['EffectRefRangId'][_0x178597(0x218)]:{_0x4579a2=_0x4c6aaa[_0x178597(0x2cd)](_0x415f5c,_0x7d21fb);break;}case _0x4c6aaa[_0x178597(0x3d8)]['RemoveRowCommandId']:{_0x4579a2=_0x4c6aaa[_0x178597(0x370)](_0x415f5c,_0x7d21fb);break;}}const _0x493951=_0x4c6aaa['runRefRangeMutations'](_0x4579a2,_0x7d21fb),_0xb2bdd5=this['cursorInfo']['get'](_0xdb8704);if(_0xb2bdd5&&_0x493951){const _0x186760={..._0xb2bdd5,'range':_0x493951};this[_0x178597(0x297)]['set'](_0xdb8704,_0x186760),_0x9bf0a7(()=>{const _0x3edb8e=_0x178597,_0x25fd40=this[_0x3edb8e(0x39c)][_0x3edb8e(0x393)](_0x493951,_0x355f30=>(_0x25fd40[_0x3edb8e(0x359)](),_0x10527a(_0x355f30,_0xdb8704,_0x3cd327,_0x493951)));_0x5862ab[_0x3edb8e(0x1de)](_0x25fd40);});}return{'redos':[],'undos':[]};};this[_0x364a0f(0x297)][_0x364a0f(0x35c)]((_0x39d0a2,_0x1966c9)=>{const _0x3ba674=_0x364a0f,{range:_0x2217a2,sheetID:_0x33d319}=_0x39d0a2,_0x35d78b=this[_0x3ba674(0x39c)][_0x3ba674(0x393)](_0x2217a2,_0x1feeda=>(_0x35d78b[_0x3ba674(0x359)](),_0x10527a(_0x1feeda,_0x1966c9,_0x33d319,_0x2217a2)));_0x5862ab[_0x3ba674(0x1de)](_0x35d78b);});};this[_0x3f0188(0x2c3)](_0x2ef637[_0x3f0188(0x236)](this[_0x3f0188(0x27b)][_0x3f0188(0x335)](()=>{_0x2b1837();})));}[_0x2cf95d(0x3d9)](){const _0x370f38=_0x2cf95d;var _0x3b5a4f,_0x39b7a1;if(this[_0x370f38(0x336)]=!0x0,((_0x3b5a4f=this[_0x370f38(0x3f0)][_0x370f38(0x235)]())==null?void 0x0:_0x3b5a4f['getUnitId']())!==this[_0x370f38(0x406)])return;const _0x1dcc7c=(_0x39b7a1=this[_0x370f38(0x30c)]['get'](_0x4c6aaa[_0x370f38(0x1f8)])[_0x370f38(0x1e7)]())==null?void 0x0:_0x39b7a1[0x0],_0x223b5b=this['_univerInstanceService'][_0x370f38(0x42e)](_0x2ef637[_0x370f38(0x29a)][_0x370f38(0x318)])['getActiveSheet']();_0x1dcc7c&&_0x223b5b&&this[_0x370f38(0x35f)](_0x223b5b['getSheetId'](),_0x1dcc7c);}[_0x2cf95d(0x1e6)](){const _0x260ad9=_0x2cf95d;this[_0x260ad9(0x336)]=!0x1;}};_0x4b0008=_0x45bc07([_0x3aa26c(0x2,_0x2ef637['Inject'](_0x2ef637[_0x2cf95d(0x3b0)])),_0x3aa26c(0x3,_0x2ef637[_0x2cf95d(0x3fa)](_0x371edb)),_0x3aa26c(0x4,_0x2ef637[_0x2cf95d(0x3fa)](_0x5f2bfa[_0x2cf95d(0x39d)])),_0x3aa26c(0x5,_0x2ef637[_0x2cf95d(0x25f)]),_0x3aa26c(0x6,_0x2ef637[_0x2cf95d(0x412)]),_0x3aa26c(0x7,_0x2ef637[_0x2cf95d(0x3fa)](_0x4c6aaa[_0x2cf95d(0x24a)]))],_0x4b0008);var _0x4a2e10=Object[_0x2cf95d(0x457)],_0x421ab2=(_0x3380c2,_0x871ff5,_0xc6de36,_0xb49974)=>{for(var _0x5cd504=_0xb49974>0x1?void 0x0:_0xb49974?_0x4a2e10(_0x871ff5,_0xc6de36):_0x871ff5,_0xf102ff=_0x3380c2['length']-0x1,_0x5797eb;_0xf102ff>=0x0;_0xf102ff--)(_0x5797eb=_0x3380c2[_0xf102ff])&&(_0x5cd504=_0x5797eb(_0x5cd504)||_0x5cd504);return _0x5cd504;},_0x37bb2b=(_0xfcebb4,_0xb3250b)=>(_0x482334,_0xc9bb27)=>_0xb3250b(_0x482334,_0xc9bb27,_0xfcebb4);let _0x41b2ac=class extends _0x2ef637[_0x2cf95d(0x29c)]{constructor(_0x43852c,_0x53eb75,_0x25fa0a){const _0x38e453=_0x2cf95d;super(),_0x536638(this,_0x38e453(0x247),new Map()),_0x536638(this,_0x38e453(0x23c),new _0x35d2e5['Subject']()),(this[_0x38e453(0x3f0)]=_0x43852c,this[_0x38e453(0x30c)]=_0x53eb75,this[_0x38e453(0x352)]=_0x25fa0a,this['_init']());}['dispose'](){const _0x21f6aa=_0x2cf95d;super['dispose'](),this[_0x21f6aa(0x23c)][_0x21f6aa(0x228)](),this[_0x21f6aa(0x247)][_0x21f6aa(0x35c)](_0x5c081a=>_0x5c081a[_0x21f6aa(0x359)]());}[_0x2cf95d(0x2e4)](_0x3e01bb){const _0x147667=_0x2cf95d;return this[_0x147667(0x247)]['has'](_0x3e01bb)?this['_entities'][_0x147667(0x3c7)](_0x3e01bb)[_0x147667(0x3e1)]:this[_0x147667(0x23c)]['pipe'](_0x35d2e5[_0x147667(0x1d9)](_0x3d6b6b=>_0x3d6b6b[_0x147667(0x406)]===_0x3e01bb),_0x35d2e5[_0x147667(0x441)](_0x52ef20=>_0x52ef20[_0x147667(0x3e1)]));}[_0x2cf95d(0x303)](){const _0xadd1ed=_0x2cf95d;this['_univerInstanceService']['getTypeOfUnitAdded$'](_0x2ef637[_0xadd1ed(0x29a)][_0xadd1ed(0x318)])[_0xadd1ed(0x40f)](_0x35d2e5[_0xadd1ed(0x2a5)](this[_0xadd1ed(0x1e2)]))[_0xadd1ed(0x335)](async _0x47c859=>{const _0x2b66a2=_0xadd1ed,_0xd83fcc=_0x47c859[_0x2b66a2(0x35a)](),_0x589949=await this[_0x2b66a2(0x397)](_0xd83fcc);this[_0x2b66a2(0x23c)][_0x2b66a2(0x248)](_0x589949),this[_0x2b66a2(0x247)]['set'](_0xd83fcc,_0x589949);}),this['_univerInstanceService'][_0xadd1ed(0x20e)](_0x2ef637['UniverInstanceType'][_0xadd1ed(0x2f1)])[_0xadd1ed(0x40f)](_0x35d2e5['takeUntil'](this[_0xadd1ed(0x1e2)]))[_0xadd1ed(0x40f)](_0x35d2e5['filter'](_0x25badf=>!_0x25badf[_0xadd1ed(0x35a)]()[_0xadd1ed(0x2fc)]('__')))[_0xadd1ed(0x335)](async _0x2a2666=>{const _0x4b64f4=_0xadd1ed,_0x5b9670=_0x2a2666[_0x4b64f4(0x35a)](),_0x2d9c80=await this[_0x4b64f4(0x2d2)](_0x5b9670);this[_0x4b64f4(0x23c)][_0x4b64f4(0x248)](_0x2d9c80),this[_0x4b64f4(0x247)][_0x4b64f4(0x2f5)](_0x5b9670,_0x2d9c80);}),_0x35d2e5[_0xadd1ed(0x1ff)](this[_0xadd1ed(0x3f0)][_0xadd1ed(0x1e9)](_0x2ef637[_0xadd1ed(0x29a)][_0xadd1ed(0x2f1)]),this[_0xadd1ed(0x3f0)][_0xadd1ed(0x1e9)](_0x2ef637[_0xadd1ed(0x29a)]['UNIVER_SHEET']))[_0xadd1ed(0x40f)](_0x35d2e5[_0xadd1ed(0x2a5)](this[_0xadd1ed(0x1e2)]))[_0xadd1ed(0x335)](_0x450dcc=>{const _0x8b812c=_0xadd1ed,_0x14c1c0=_0x450dcc[_0x8b812c(0x35a)](),_0x36cd4f=this[_0x8b812c(0x247)]['get'](_0x14c1c0);_0x36cd4f&&(_0x36cd4f[_0x8b812c(0x359)](),this['_entities'][_0x8b812c(0x226)](_0x14c1c0));});}async[_0x2cf95d(0x397)](_0x5679a5){const _0x35a63e=_0x2cf95d,_0x1e7536=await this[_0x35a63e(0x352)][_0x35a63e(0x2a4)](_0x5679a5),_0x48b420=this[_0x35a63e(0x30c)][_0x35a63e(0x1e4)](_0x4b0008,_0x5679a5,_0x1e7536);return _0x48b420[_0x35a63e(0x3ff)](),_0x48b420;}async[_0x2cf95d(0x2d2)](_0x1f6bab){const _0x4b7454=_0x2cf95d,_0x4da529=await this[_0x4b7454(0x352)]['requireSession'](_0x1f6bab),_0x1e9e12=this[_0x4b7454(0x30c)][_0x4b7454(0x1e4)](_0x6a47bb,_0x1f6bab,_0x4da529);return _0x1e9e12['init'](),_0x1e9e12;}};_0x41b2ac=_0x421ab2([_0x37bb2b(0x0,_0x2ef637['IUniverInstanceService']),_0x37bb2b(0x1,_0x2ef637[_0x2cf95d(0x3fa)](_0x2ef637[_0x2cf95d(0x3b0)])),_0x37bb2b(0x2,_0x2ef637['Inject'](_0x5f2bfa['CollaborationSessionService']))],_0x41b2ac);const _0x48f02e=0x14,_0x159165=0xc8,_0x4bfe05=0x4,_0x1c9117=0x5;function _0x26ba26(_0x5dd743,_0x4ace80){const _0x7748a=_0x2cf95d;let {radius:_0x57da92,width:_0x36aa18,height:_0xa40093}=_0x4ace80;_0x57da92=_0x57da92!=null?_0x57da92:0x0,_0x36aa18=_0x36aa18!=null?_0x36aa18:0x1e,_0xa40093=_0xa40093!=null?_0xa40093:0x1e;let _0x112abf=0x0,_0x403b91=0x0,_0x12433d=0x0;_0x112abf=_0x403b91=_0x12433d=Math[_0x7748a(0x42b)](_0x57da92,_0x36aa18/0x2,_0xa40093/0x2),_0x5dd743[_0x7748a(0x2b1)](),_0x5dd743[_0x7748a(0x438)](_0x112abf,0x0),_0x5dd743[_0x7748a(0x3e3)](_0x36aa18-_0x403b91,0x0),_0x5dd743['arc'](_0x36aa18-_0x403b91,_0x403b91,_0x403b91,Math['PI']*0x3/0x2,0x0,!0x1),_0x5dd743[_0x7748a(0x3e3)](_0x36aa18,_0xa40093-_0x12433d),_0x5dd743[_0x7748a(0x29e)](_0x36aa18-_0x12433d,_0xa40093-_0x12433d,_0x12433d,0x0,Math['PI']/0x2,!0x1),_0x5dd743[_0x7748a(0x3e3)](0x0,_0xa40093),_0x5dd743[_0x7748a(0x3e3)](0x0,_0x112abf),_0x5dd743['arc'](_0x112abf,_0x112abf,_0x112abf,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x5dd743['closePath'](),_0x4ace80[_0x7748a(0x436)]&&(_0x5dd743[_0x7748a(0x460)](),_0x5dd743[_0x7748a(0x3e7)]=_0x4ace80['fill'],_0x4ace80[_0x7748a(0x3c6)]===_0x7748a(0x1cb)?_0x5dd743[_0x7748a(0x436)](_0x7748a(0x1cb)):_0x5dd743[_0x7748a(0x436)](),_0x5dd743[_0x7748a(0x1b8)]());}class _0x5dbb68 extends _0x35408c[_0x2cf95d(0x31d)]{constructor(_0x5197f6,_0x56fc20){const _0x44b5d6=_0x2cf95d;super(_0x5197f6,_0x56fc20),_0x536638(this,'color'),_0x536638(this,_0x44b5d6(0x2de)),(this[_0x44b5d6(0x3be)]=_0x56fc20==null?void 0x0:_0x56fc20['color'],this[_0x44b5d6(0x2de)]=_0x56fc20==null?void 0x0:_0x56fc20[_0x44b5d6(0x2de)]);}static[_0x2cf95d(0x310)](_0x1bd331,_0x3ccf01){const _0x3a334b=_0x2cf95d,{text:_0x2e10ad,color:_0x64e0ba}=_0x3ccf01;_0x1bd331[_0x3a334b(0x460)](),_0x1bd331['font']=_0x3a334b(0x229);const _0x1e4d35=_0x1bd331[_0x3a334b(0x3bd)](_0x2e10ad)[_0x3a334b(0x430)],_0x372fc5=Math[_0x3a334b(0x42b)](_0x1e4d35+0x2*_0x4bfe05,_0x159165);_0x26ba26(_0x1bd331,{'height':_0x48f02e,'radius':0x4,'width':_0x372fc5,'fill':_0x64e0ba}),_0x1bd331[_0x3a334b(0x3e7)]=_0x3a334b(0x421);const _0x592297=_0x4bfe05,_0x1921e=_0x48f02e-_0x1c9117,_0x30ce7d=_0x159165-0x2*_0x4bfe05;if(_0x1e4d35>_0x30ce7d){let _0x533345='',_0x2ab95e=0x0;for(const _0x91a439 of _0x2e10ad){const _0x9f2bef=_0x1bd331[_0x3a334b(0x3bd)](_0x91a439)[_0x3a334b(0x430)];if(_0x2ab95e+_0x9f2bef<=_0x30ce7d-_0x1bd331[_0x3a334b(0x3bd)]('...')[_0x3a334b(0x430)])_0x533345+=_0x91a439,_0x2ab95e+=_0x9f2bef;else{_0x533345+=_0x3a334b(0x216);break;}}_0x1bd331[_0x3a334b(0x43d)](_0x533345,_0x592297,_0x1921e);}else _0x1bd331['fillText'](_0x2e10ad,_0x592297,_0x1921e);_0x1bd331['restore']();}[_0x2cf95d(0x338)](_0x16abcb){const _0x1b2d4c=_0x2cf95d;_0x5dbb68[_0x1b2d4c(0x310)](_0x16abcb,this);}}const _0x186186=_0x2cf95d(0x43b),_0x18a971=_0x2cf95d(0x2d3),_0x194de6=_0x2cf95d(0x258),_0x474d21=0x6,_0x1fd600=1.5,_0x1d1acd=0x4,_0x135b37=1.5,_0x211d36=_0x2cf95d(0x2ee);class _0x3b4a2a{constructor(_0x361df4,_0x52e826,_0x389018,_0x139bf9){const _0x299a5c=_0x2cf95d;_0x536638(this,_0x299a5c(0x34b),[]),_0x536638(this,'_anchor',null),_0x536638(this,_0x299a5c(0x3c5),null),_0x536638(this,_0x299a5c(0x346),null),_0x536638(this,_0x299a5c(0x2c0),null),_0x536638(this,_0x299a5c(0x2ca),null),(this[_0x299a5c(0x302)]=_0x361df4,this[_0x299a5c(0x461)]=_0x52e826,this['_docSkeleton']=_0x389018,this['_document']=_0x139bf9,this[_0x299a5c(0x1ef)]());}set[_0x2cf95d(0x3df)](_0x2854c5){const _0x3dca4d=_0x2cf95d;_0x2854c5?(this[_0x3dca4d(0x346)]&&this[_0x3dca4d(0x346)][_0x3dca4d(0x25a)](),this[_0x3dca4d(0x3c5)]&&this['_textBubble'][_0x3dca4d(0x3bb)]()):(this[_0x3dca4d(0x346)]&&this[_0x3dca4d(0x346)][_0x3dca4d(0x3bb)](),this[_0x3dca4d(0x3c5)]&&this['_textBubble']['hide']());}[_0x2cf95d(0x359)](){const _0x47d87a=_0x2cf95d;for(const _0xe0add7 of this['_shapes'])_0xe0add7[_0x47d87a(0x359)]();this[_0x47d87a(0x3c5)]&&this[_0x47d87a(0x3c5)]['dispose'](),this['_anchorDot']&&this[_0x47d87a(0x346)][_0x47d87a(0x359)](),this[_0x47d87a(0x2e2)]&&this['_anchor']['dispose'](),this['_eventUnsubscribe']&&this[_0x47d87a(0x2ca)]();}[_0x2cf95d(0x1ef)](){const _0xe18252=_0x2cf95d;var _0x535148;const {_docSkeleton:_0x247e09,_document:_0xfab95c}=this,{color:_0x348b6d,name:_0x2ccfed,ranges:_0x23fd9a}=this[_0xe18252(0x302)],_0x5e0e44=_0xfab95c['getOffsetConfig'](),{docsLeft:_0x2d080e,docsTop:_0x15631c}=_0x5e0e44,_0x540f8c=new _0x1f0246[(_0xe18252(0x2f3))](_0x5e0e44,_0x247e09);for(const {startOffset:_0x687e6b,endOffset:_0xb51e7b,rangeType:_0xce7408,segmentId:_0x5257c9,segmentPage:_0x14d8d3,collapsed:_0x2437ec,isActive:_0x247600}of _0x23fd9a){const _0x260dee=_0x247e09[_0xe18252(0x242)](_0x687e6b,!0x0,_0x5257c9,_0x14d8d3);let _0x14b7a8=_0x247e09[_0xe18252(0x242)](_0xb51e7b,!0x0,_0x5257c9,_0x14d8d3);if(_0x14b7a8==null&&(_0x14b7a8=_0x247e09[_0xe18252(0x242)](_0xb51e7b-0x1,!0x1,_0x5257c9,_0x14d8d3)),_0x247600){const {contentBoxPointGroup:_0x4a6ff6}=_0x540f8c[_0xe18252(0x380)](_0x14b7a8,_0x14b7a8);if(_0x4a6ff6[_0xe18252(0x3e6)]===0x0)continue;this[_0xe18252(0x419)](_0x348b6d,_0x4a6ff6,_0x2d080e,_0x15631c,_0x2ccfed),this[_0xe18252(0x2ca)]=this[_0xe18252(0x41e)]();}if(_0x260dee&&_0x14b7a8){if(_0xce7408===_0x2ef637[_0xe18252(0x3de)][_0xe18252(0x3b5)]){const _0x1cb66c=new _0x1f0246[(_0xe18252(0x219))](_0x5e0e44,_0x247e09),{pointGroup:_0x209ca7}=(_0x535148=_0x1cb66c[_0xe18252(0x380)](_0x260dee,_0x14b7a8))!=null?_0x535148:{};if(_0x209ca7==null||_0x209ca7[_0xe18252(0x3e6)]===0x0)continue;this[_0xe18252(0x3a9)](_0x348b6d,_0x209ca7,_0x2d080e,_0x15631c);}else{if(!_0x2437ec){const {borderBoxPointGroup:_0x149f7a}=_0x540f8c[_0xe18252(0x380)](_0x260dee,_0x14b7a8);if(_0x149f7a[_0xe18252(0x3e6)]===0x0)continue;this[_0xe18252(0x3bc)](_0x348b6d,_0x149f7a,_0x2d080e,_0x15631c);}}}}}[_0x2cf95d(0x419)](_0x44c364,_0x3415a4,_0x5052cb,_0x2a8205,_0x1ba682){const _0x4199aa=_0x2cf95d,_0x405685=this[_0x4199aa(0x32e)](_0x3415a4),{left:_0x35cdec,top:_0x3b83bd,height:_0x334bdd}=_0x405685,_0x129378=this['_getScale'](),_0xedb98f=_0x135b37/_0x129378,_0x3b0812=new _0x35408c[(_0x4199aa(0x31a))](_0x186186+_0x2ef637[_0x4199aa(0x2ec)](_0x474d21),{'left':_0x35cdec+_0x5052cb-_0xedb98f,'top':_0x3b83bd+_0x2a8205,'height':_0x334bdd,'width':_0x1fd600,'fill':_0x44c364||_0x35408c['getColor'](_0x2ef637[_0x4199aa(0x31e)]['black'],0x0),'strokeWidth':_0xedb98f,'stroke':_0x211d36,'evented':!0x0});this[_0x4199aa(0x2e2)]=_0x3b0812,this[_0x4199aa(0x461)][_0x4199aa(0x345)](_0x3b0812,_0x1f0246[_0x4199aa(0x2ed)]);const _0x28b469=new _0x35408c[(_0x4199aa(0x31a))](_0x186186+_0x2ef637[_0x4199aa(0x2ec)](_0x474d21),{'left':_0x35cdec+_0x5052cb-_0xedb98f,'top':_0x3b83bd+_0x2a8205-_0x1d1acd/0x2,'height':_0x1d1acd,'width':_0x1d1acd,'fill':_0x44c364||_0x35408c[_0x4199aa(0x3d5)](_0x2ef637[_0x4199aa(0x31e)]['black'],0x0),'strokeWidth':0x0,'stroke':_0x44c364||_0x35408c[_0x4199aa(0x3d5)](_0x2ef637['COLORS'][_0x4199aa(0x424)],0x0),'evented':!0x1});this[_0x4199aa(0x346)]=_0x28b469,this[_0x4199aa(0x461)][_0x4199aa(0x345)](_0x28b469,_0x1f0246[_0x4199aa(0x2ed)]);const _0x143c7f=new _0x5dbb68(_0x186186+_0x2ef637[_0x4199aa(0x2ec)](_0x474d21),{'left':_0x35cdec+_0x5052cb-_0xedb98f,'top':_0x3b83bd+_0x2a8205-_0x48f02e,'text':_0x1ba682,'color':_0x44c364});this[_0x4199aa(0x3c5)]=_0x143c7f,this[_0x4199aa(0x461)][_0x4199aa(0x345)](_0x143c7f,_0x1f0246[_0x4199aa(0x2ed)]),this[_0x4199aa(0x3df)]=!0x1;}['_handleHover'](){const _0x49c57b=_0x2cf95d,_0x38bc3f=this[_0x49c57b(0x2e2)][_0x49c57b(0x334)][_0x49c57b(0x2a3)](()=>{const _0xabf54d=_0x49c57b;this[_0xabf54d(0x3df)]=!0x0;}),_0x5b0c0f=this[_0x49c57b(0x2e2)][_0x49c57b(0x32a)][_0x49c57b(0x2a3)](()=>{const _0x37a6c2=_0x49c57b;this[_0x37a6c2(0x2c0)]&&clearTimeout(this[_0x37a6c2(0x2c0)]),this[_0x37a6c2(0x2c0)]=setTimeout(()=>{const _0xfaab86=_0x37a6c2;this[_0xfaab86(0x3df)]=!0x1;},0x7d0);});return()=>{_0x38bc3f['unsubscribe'](),_0x5b0c0f['unsubscribe']();};}['_drawTextRange'](_0x34b8ed,_0x209142,_0x418d9b,_0x11d08d){const _0x1a40df=_0x2cf95d,_0x4e038b=new _0x2ef637['ColorKit'](_0x34b8ed)[_0x1a40df(0x3e2)](0.2)[_0x1a40df(0x1d1)](),_0x2d179f=new _0x35408c[(_0x1a40df(0x259))](_0x18a971+_0x2ef637[_0x1a40df(0x2ec)](_0x474d21),{'pointsGroup':_0x209142,'fill':_0x4e038b||_0x35408c[_0x1a40df(0x3d5)](_0x2ef637[_0x1a40df(0x31e)]['black'],0.2),'left':_0x418d9b,'top':_0x11d08d,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x1a40df(0x34b)][_0x1a40df(0x316)](_0x2d179f),this[_0x1a40df(0x461)]['addObject'](_0x2d179f,_0x1f0246['TEXT_RANGE_LAYER_INDEX']);}['_drawRectRange'](_0x2e0325,_0x3e7866,_0x347a0d,_0x4a4da4){const _0x6f1d17=_0x2cf95d,_0x3dc296=new _0x2ef637[(_0x6f1d17(0x254))](_0x2e0325)['setAlpha'](0.2)[_0x6f1d17(0x1d1)](),_0x3039e9=new _0x35408c[(_0x6f1d17(0x259))](_0x194de6+_0x2ef637['generateRandomId'](_0x474d21),{'pointsGroup':_0x3e7866,'fill':_0x3dc296||_0x35408c[_0x6f1d17(0x3d5)](_0x2ef637[_0x6f1d17(0x31e)]['black'],0.2),'left':_0x347a0d,'top':_0x4a4da4,'evented':!0x1,'debounceParentDirty':!0x1});this['_shapes'][_0x6f1d17(0x316)](_0x3039e9),this[_0x6f1d17(0x461)][_0x6f1d17(0x345)](_0x3039e9,_0x1f0246['TEXT_RANGE_LAYER_INDEX']);}[_0x2cf95d(0x32e)](_0x3ba08b){const _0x4b4b17=_0x3ba08b[0x0],_0x3d8d85=_0x4b4b17[0x0],_0x2fd29d=_0x4b4b17[0x2],{x:_0x56f043,y:_0x3f64a1}=_0x3d8d85,{x:_0x5b0d7b,y:_0x33da99}=_0x2fd29d;return{'left':_0x56f043,'top':_0x3f64a1,'width':_0x5b0d7b-_0x56f043,'height':_0x33da99-_0x3f64a1};}['_getScale'](){const _0x18f78f=_0x2cf95d,{scaleX:_0x4a7c74,scaleY:_0x1ede24}=this[_0x18f78f(0x461)][_0x18f78f(0x466)]();return Math[_0x18f78f(0x1f1)](_0x4a7c74,_0x1ede24);}}var _0x4916b4=Object[_0x2cf95d(0x457)],_0x2dbca4=(_0x1078a7,_0xb2f410,_0x40ef2c,_0x53032b)=>{const _0x9302a3=_0x2cf95d;for(var _0x5d9f93=_0x53032b>0x1?void 0x0:_0x53032b?_0x4916b4(_0xb2f410,_0x40ef2c):_0xb2f410,_0x3be3d6=_0x1078a7[_0x9302a3(0x3e6)]-0x1,_0x22127f;_0x3be3d6>=0x0;_0x3be3d6--)(_0x22127f=_0x1078a7[_0x3be3d6])&&(_0x5d9f93=_0x22127f(_0x5d9f93)||_0x5d9f93);return _0x5d9f93;},_0x5ab68a=(_0x16701e,_0x16c1db)=>(_0x7efaf4,_0x3dfedc)=>_0x16c1db(_0x7efaf4,_0x3dfedc,_0x16701e);let _0x49cd9d=class extends _0x2ef637[_0x2cf95d(0x29c)]{constructor(_0x35d43b,_0x50925f,_0x4ee291,_0x160c32,_0xfc7675){const _0x33bafd=_0x2cf95d;super(),_0x536638(this,_0x33bafd(0x35e),[]),_0x536638(this,_0x33bafd(0x21b),[]),(this['_context']=_0x35d43b,this[_0x33bafd(0x44f)]=_0x50925f,this[_0x33bafd(0x30f)]=_0x4ee291,this[_0x33bafd(0x3a0)]=_0x160c32,this[_0x33bafd(0x315)]=_0xfc7675,this[_0x33bafd(0x303)]());}[_0x2cf95d(0x303)](){const _0x238b7f=_0x2cf95d,_0x95e171=this[_0x238b7f(0x274)]['unitId'],_0x361dc6=this['_docSkeletonManagerService'];this[_0x238b7f(0x2c3)](_0x35d2e5['combineLatest']([this[_0x238b7f(0x30f)][_0x238b7f(0x2e4)](_0x95e171),this['_themeService']['currentTheme$']])[_0x238b7f(0x40f)](_0x493334[_0x238b7f(0x443)](([_0x1f08f5,_0x41b586])=>({'skeleton':_0x361dc6[_0x238b7f(0x21c)](),'cursors':[..._0x1f08f5[_0x238b7f(0x32c)]()]['flatMap'](_0x53e2e6=>({..._0x53e2e6,'color':this[_0x238b7f(0x315)][_0x238b7f(0x348)](_0x53e2e6[_0x238b7f(0x3be)])}))})))['subscribe'](_0x4e54ed=>{const _0x36d22b=_0x238b7f;if(this[_0x36d22b(0x1a3)](),_0x4e54ed){const {skeleton:_0x3d0d4e,cursors:_0x400995}=_0x4e54ed;this[_0x36d22b(0x3e9)](_0x3d0d4e,_0x400995);}})),this['_initResize'](),this[_0x238b7f(0x455)]();}[_0x2cf95d(0x3e9)](_0x3cb3e7,_0x51a5c4){const _0x2075bc=_0x2cf95d,{scene:_0x379584,mainComponent:_0x2146f2}=this[_0x2075bc(0x274)],_0x157d76=_0x51a5c4[_0x2075bc(0x443)](_0x473970=>new _0x3b4a2a(_0x473970,_0x379584,_0x3cb3e7,_0x2146f2));this[_0x2075bc(0x35e)]=_0x157d76,this['_cursors']=_0x51a5c4;}['_refreshCollabCursors'](){const _0x1471d5=_0x2cf95d;this[_0x1471d5(0x1a3)]();const {scene:_0x348ffa,mainComponent:_0x490c80}=this[_0x1471d5(0x274)],_0x4964ee=this[_0x1471d5(0x44f)][_0x1471d5(0x21c)](),_0x14f8c5=this[_0x1471d5(0x21b)][_0x1471d5(0x443)](_0x238563=>new _0x3b4a2a(_0x238563,_0x348ffa,_0x4964ee,_0x490c80));this[_0x1471d5(0x35e)]=_0x14f8c5;}[_0x2cf95d(0x1a3)](){const _0x18c737=_0x2cf95d;this[_0x18c737(0x35e)][_0x18c737(0x35c)](_0x40705f=>_0x40705f['dispose']()),this['_cursorShapes']=[];}[_0x2cf95d(0x455)](){const _0xd1e384=_0x2cf95d,_0x5c969e=[_0x1f0246['SetDocZoomRatioOperation']['id']];this[_0xd1e384(0x2c3)](this[_0xd1e384(0x3a0)][_0xd1e384(0x289)](_0x585c0a=>{const _0x407e09=_0xd1e384;_0x5c969e[_0x407e09(0x2cc)](_0x585c0a['id'])&&_0x585c0a[_0x407e09(0x23b)][_0x407e09(0x1b6)]===this[_0x407e09(0x274)][_0x407e09(0x1b6)]&&this[_0x407e09(0x275)]();}));}[_0x2cf95d(0x3f2)](){const _0x48bdfd=_0x2cf95d;this[_0x48bdfd(0x2c3)](_0x2ef637[_0x48bdfd(0x39a)](this[_0x48bdfd(0x274)][_0x48bdfd(0x2da)][_0x48bdfd(0x400)])['pipe'](_0x493334['filter'](_0x4edf13=>_0x4edf13[_0x48bdfd(0x35b)]===_0x35408c[_0x48bdfd(0x38d)][_0x48bdfd(0x308)]),_0x493334[_0x48bdfd(0x234)](0x10))[_0x48bdfd(0x335)](()=>{const _0x39480e=_0x48bdfd;this[_0x39480e(0x275)]();}));}};_0x49cd9d=_0x2dbca4([_0x5ab68a(0x1,_0x2ef637[_0x2cf95d(0x3fa)](_0x431f46[_0x2cf95d(0x2ce)])),_0x5ab68a(0x2,_0x2ef637[_0x2cf95d(0x3fa)](_0x41b2ac)),_0x5ab68a(0x3,_0x2ef637[_0x2cf95d(0x412)]),_0x5ab68a(0x4,_0x2ef637[_0x2cf95d(0x3fa)](_0x2ef637['ThemeService']))],_0x49cd9d);const _0x2ab566=0x1,_0x5e5be0=1.5;class _0xf90746 extends _0x35408c['Shape']{constructor(_0x583f79,_0x5018dd){const _0x4393ea=_0x2cf95d;super(_0x583f79,_0x5018dd),_0x536638(this,_0x4393ea(0x1fa)),_0x536638(this,_0x4393ea(0x416),!0x1),_0x536638(this,_0x4393ea(0x2f9)),_0x536638(this,_0x4393ea(0x28c),''),_0x536638(this,_0x4393ea(0x33e),_0x4393ea(0x304)),_0x536638(this,'_backgroundColor'),(_0x5018dd&&this[_0x4393ea(0x350)](_0x5018dd),this[_0x4393ea(0x334)][_0x4393ea(0x2a3)](()=>this[_0x4393ea(0x350)]({'hovered':!0x0})),this[_0x4393ea(0x32a)][_0x4393ea(0x2a3)](()=>this[_0x4393ea(0x350)]({'hovered':!0x1})));}[_0x2cf95d(0x350)](_0x237b82){const _0x9ebc56=_0x2cf95d;var _0x1f6490,_0x5ae250,_0x67e669,_0x1ee148,_0x2b9ab2,_0xe82b4e;this['_color']=(_0x1f6490=_0x237b82[_0x9ebc56(0x3be)])!=null?_0x1f6490:this['_color'],this[_0x9ebc56(0x416)]=(_0x5ae250=_0x237b82[_0x9ebc56(0x1ab)])!=null?_0x5ae250:this[_0x9ebc56(0x416)],this['_range']=(_0x67e669=_0x237b82[_0x9ebc56(0x26e)])!=null?_0x67e669:this['_range'],this[_0x9ebc56(0x28c)]=(_0x1ee148=_0x237b82[_0x9ebc56(0x28e)])!=null?_0x1ee148:this[_0x9ebc56(0x28c)],this[_0x9ebc56(0x33e)]=(_0x2b9ab2=_0x237b82[_0x9ebc56(0x398)])!=null?_0x2b9ab2:this[_0x9ebc56(0x33e)],this[_0x9ebc56(0x2f8)]=(_0xe82b4e=_0x237b82[_0x9ebc56(0x1fd)])!=null?_0xe82b4e:this['_backgroundColor'],this[_0x9ebc56(0x3f4)]({'width':_0x237b82[_0x9ebc56(0x430)],'height':_0x237b82[_0x9ebc56(0x322)]});}[_0x2cf95d(0x2df)](_0x37f6ef){const _0x559649=_0x2cf95d,{row:_0x475daa,column:_0x27181b}=_0x37f6ef;if(_0x475daa>=this['_range'][_0x559649(0x30d)]&&_0x475daa<=this[_0x559649(0x2f9)][_0x559649(0x1a1)]&&_0x27181b>=this[_0x559649(0x2f9)][_0x559649(0x1f3)]&&_0x27181b<=this['_range'][_0x559649(0x1f5)]){this[_0x559649(0x350)]({'hovered':!0x0});return;}this['setShapeProps']({'hovered':!0x1});}['triggerDblclick'](_0x2e40b7){return!0x1;}['_draw'](_0x5cc645){const _0x669ce=_0x2cf95d;_0x35408c[_0x669ce(0x31a)]['drawWith'](_0x5cc645,{'width':this[_0x669ce(0x430)],'height':this[_0x669ce(0x322)],'strokeWidth':_0x5e5be0,'stroke':this['_color'],'evented':!0x1,'fill':this[_0x669ce(0x2f8)]}),this['_hovered']&&(_0x5cc645['save'](),_0x5cc645[_0x669ce(0x45b)](0x1,0x0,0x0,0x1,this['width'],this['_labelPosition']==='bottom'?0x0:-_0x48f02e),_0x5dbb68[_0x669ce(0x310)](_0x5cc645,{'text':this[_0x669ce(0x28c)],'color':this['_color']}),_0x5cc645[_0x669ce(0x1b8)]());}}var _0x351e01=Object['getOwnPropertyDescriptor'],_0x12b103=(_0x54ecc9,_0x344de3,_0x1a4c5f,_0x159229)=>{for(var _0x2519fc=_0x159229>0x1?void 0x0:_0x159229?_0x351e01(_0x344de3,_0x1a4c5f):_0x344de3,_0x395095=_0x54ecc9['length']-0x1,_0x273b29;_0x395095>=0x0;_0x395095--)(_0x273b29=_0x54ecc9[_0x395095])&&(_0x2519fc=_0x273b29(_0x2519fc)||_0x2519fc);return _0x2519fc;},_0x41f9f7=(_0x2577dd,_0x2dd01f)=>(_0x11d533,_0x12e447)=>_0x2dd01f(_0x11d533,_0x12e447,_0x2577dd);const _0x56d06c=0x1389;let _0x398529=class extends _0x2ef637['RxDisposable']{constructor(_0x3d997c,_0x4a4f5c,_0xa31324,_0x1ef3f0){const _0x3921b8=_0x2cf95d;super(),_0x536638(this,'_cursors',new Set()),_0x536638(this,_0x3921b8(0x21f),null),(this['_context']=_0x3d997c,this[_0x3921b8(0x23a)]=_0x4a4f5c,this['_collabCursorController']=_0xa31324,this[_0x3921b8(0x315)]=_0x1ef3f0,this[_0x3921b8(0x303)]());}['_init'](){const _0x23c757=_0x2cf95d;this[_0x23c757(0x23a)][_0x23c757(0x33c)][_0x23c757(0x40f)](_0x493334[_0x23c757(0x2a5)](this[_0x23c757(0x1e2)]),_0x493334[_0x23c757(0x441)](_0x1eaae7=>{const _0x228c0f=_0x23c757;if(_0x1eaae7){const _0x4b1266=_0x1eaae7[_0x228c0f(0x356)];return _0x35d2e5[_0x228c0f(0x321)](this[_0x228c0f(0x30f)][_0x228c0f(0x2e4)](this[_0x228c0f(0x274)][_0x228c0f(0x1b6)]),this[_0x228c0f(0x315)][_0x228c0f(0x1ee)])['pipe'](_0x493334[_0x228c0f(0x443)](([_0x1ff42c,_0x2274fa])=>{const _0x3278d7=_0x228c0f,_0x41496d=new Map();return _0x1ff42c[_0x3278d7(0x35c)]((_0x4194ee,_0xe09301)=>{const _0x22f2e8=_0x3278d7;if(_0x4194ee[_0x22f2e8(0x25e)]===_0x4b1266){const _0x37ae12={..._0x4194ee};_0x37ae12[_0x22f2e8(0x3be)]=this['_themeService']['getColorFromTheme'](_0x4194ee[_0x22f2e8(0x3be)]),_0x41496d[_0x22f2e8(0x2f5)](_0xe09301,_0x37ae12);}}),{'skeleton':_0x1eaae7,'cursors':_0x41496d};}));}return _0x35d2e5['of']({'skeleton':null,'cursors':new Map()});}))[_0x23c757(0x335)](({skeleton:_0x306526,cursors:_0x2d7295})=>{const _0x185dc4=_0x23c757;this[_0x185dc4(0x1a3)](),_0x306526&&this[_0x185dc4(0x3e9)](_0x306526,_0x2d7295);}),this[_0x23c757(0x23a)]['currentSkeleton$'][_0x23c757(0x335)](_0x1ce6f8=>{const _0x16e6bb=_0x23c757;if(_0x1ce6f8==null)return;const {skeleton:_0x2459c4}=_0x1ce6f8,{scene:_0x3489d9}=this[_0x16e6bb(0x274)];_0x3489d9[_0x16e6bb(0x1f4)][_0x16e6bb(0x2a3)](_0x2ef637[_0x16e6bb(0x3ce)](_0x2411cf=>{const _0x10383f=_0x16e6bb;var _0x5998ca,_0x347c24;const {offsetX:_0x3f9482,offsetY:_0x288062}=_0x2411cf,{x:_0x47f8cc,y:_0x5ee7ec}=_0x3489d9[_0x10383f(0x1ad)](_0x35408c[_0x10383f(0x46c)][_0x10383f(0x389)]([_0x3f9482,_0x288062])),{scaleX:_0x5c1d97,scaleY:_0x117f08}=_0x3489d9[_0x10383f(0x466)](),_0x3392a9=_0x3489d9[_0x10383f(0x46e)](_0x35408c[_0x10383f(0x332)][_0x10383f(0x24b)]),_0x1d8f6d=_0x3489d9[_0x10383f(0x1f0)](_0x35408c[_0x10383f(0x46c)][_0x10383f(0x389)]([_0x47f8cc,_0x5ee7ec]),_0x3392a9),_0xcf8904=_0x2459c4[_0x10383f(0x37e)](_0x3f9482,_0x288062,_0x5c1d97,_0x117f08,_0x1d8f6d);((_0x5998ca=this[_0x10383f(0x21f)])==null?void 0x0:_0x5998ca[_0x10383f(0x24c)])===_0xcf8904[_0x10383f(0x24c)]&&((_0x347c24=this[_0x10383f(0x21f)])==null?void 0x0:_0x347c24[_0x10383f(0x2b7)])===_0xcf8904[_0x10383f(0x2b7)]||this[_0x10383f(0x21b)][_0x10383f(0x35c)](_0x43e80c=>{const _0x437bcb=_0x10383f;_0x43e80c[_0x437bcb(0x2df)](_0xcf8904);});},0x64));});}[_0x2cf95d(0x3e9)](_0x387754,_0xda4e44){const _0x3cfe23=_0x2cf95d;var _0x46e450;const _0x39d3ba=(_0x46e450=this[_0x3cfe23(0x23a)]['getCurrent']())==null?void 0x0:_0x46e450[_0x3cfe23(0x1ed)];if(!_0x39d3ba)return;const _0x53fe9b=this[_0x3cfe23(0x1cf)]();if(!_0x53fe9b)return;this['_cursors']['forEach'](_0x3a1c5f=>{_0x3a1c5f['makeDirty']();});const {scene:_0x4dcfa6}=_0x53fe9b,_0x23869e=_0x3c454b(Array[_0x3cfe23(0x2e6)](_0xda4e44[_0x3cfe23(0x32c)]()))[_0x3cfe23(0x443)](_0x3ba1f5=>{const _0x100a64=_0x3cfe23,{color:_0x181d29,range:_0x28ee70,name:_0x1740a9,selection:_0x3de131,sheetID:_0x2338cf}=_0x3ba1f5,{startColumn:_0x313c02,startRow:_0x228650,endColumn:_0x2544b4,endRow:_0x1db71f}=_0x28ee70,_0x2c013b=_0xd96da0[_0x100a64(0x402)](_0x228650,_0x313c02,_0x4dcfa6,_0x39d3ba),_0x29bd20=_0xd96da0[_0x100a64(0x402)](_0x1db71f,_0x2544b4,_0x4dcfa6,_0x39d3ba),{columnHeaderHeightAndMarginTop:_0x5b3061}=_0x39d3ba,{startX:_0x196dfb,startY:_0x32298d}=_0x2c013b,{endX:_0x13c432,endY:_0x2a7df2}=_0x29bd20,_0x2615df=_0x13c432-_0x196dfb,_0x1a8189=_0x2a7df2-_0x32298d,_0x14b038={'labelPosition':_0x32298d-_0x5b3061>=_0x48f02e?'top':_0x100a64(0x249),'sheetID':_0x2338cf,'range':_0x28ee70,'color':_0x181d29,'name':_0x1740a9,'selection':_0x3de131,'left':_0x196dfb,'top':_0x32298d,'width':_0x2615df,'height':_0x1a8189,'evented':!0x1,'zIndex':_0x56d06c};return new _0xf90746(_0x1740a9,_0x14b038);});_0x4dcfa6[_0x3cfe23(0x217)](_0x23869e,_0x2ab566),this[_0x3cfe23(0x21b)]=new Set(_0x23869e);}[_0x2cf95d(0x1a3)](){const _0x11f552=_0x2cf95d;var _0x59c1b6;(_0x59c1b6=this[_0x11f552(0x21b)])==null||_0x59c1b6['forEach'](_0x268c96=>_0x268c96['dispose']());}[_0x2cf95d(0x1cf)](){const _0x2cc3a8=_0x2cf95d;return _0xd96da0[_0x2cc3a8(0x22a)](this[_0x2cc3a8(0x274)][_0x2cc3a8(0x3f5)],this[_0x2cc3a8(0x274)]);}};_0x398529=_0x12b103([_0x41f9f7(0x1,_0x2ef637[_0x2cf95d(0x3fa)](_0xd96da0[_0x2cf95d(0x21a)])),_0x41f9f7(0x2,_0x2ef637[_0x2cf95d(0x3fa)](_0x41b2ac)),_0x41f9f7(0x3,_0x2ef637[_0x2cf95d(0x3fa)](_0x2ef637[_0x2cf95d(0x3bf)]))],_0x398529);function _0x3c454b(_0x16faac){const _0x2b0c85=_0x2cf95d,_0x406566=new Map();return _0x16faac[_0x2b0c85(0x35c)](_0x31e698=>{const _0x26a51c=_0x2b0c85;if(_0x406566[_0x26a51c(0x2ac)](_0x31e698[_0x26a51c(0x415)])){const _0x5ef312=_0x406566[_0x26a51c(0x3c7)](_0x31e698[_0x26a51c(0x415)]);_0x5ef312[_0x26a51c(0x28e)]+=',\x20'+_0x31e698[_0x26a51c(0x28e)];}else _0x406566[_0x26a51c(0x2f5)](_0x31e698['selection'],_0x31e698);}),Array[_0x2b0c85(0x2e6)](_0x406566['values']());}var _0x46cadc=Object[_0x2cf95d(0x457)],_0x59f211=(_0x55436c,_0x151f1b,_0x26737b,_0x48581a)=>{for(var _0x3c69df=_0x48581a>0x1?void 0x0:_0x48581a?_0x46cadc(_0x151f1b,_0x26737b):_0x151f1b,_0x28032c=_0x55436c['length']-0x1,_0x34e78f;_0x28032c>=0x0;_0x28032c--)(_0x34e78f=_0x55436c[_0x28032c])&&(_0x3c69df=_0x34e78f(_0x3c69df)||_0x3c69df);return _0x3c69df;},_0xb00749=(_0x3357f4,_0x214d28)=>(_0x1e2def,_0x11d495)=>_0x214d28(_0x1e2def,_0x11d495,_0x3357f4);let _0xd0660e=class extends _0x2ef637[_0x2cf95d(0x26a)]{constructor(_0x7ca3f6,_0x191423,_0xb76e08,_0x46cb99,_0x412f34,_0x4c2cba){const _0x39c8b7=_0x2cf95d;super(),this[_0x39c8b7(0x3ee)]=_0x7ca3f6,this[_0x39c8b7(0x369)]=_0x191423,this['_collaborationUIEventService']=_0xb76e08,this['_messageService']=_0x46cb99,this['_notificationService']=_0x412f34,this[_0x39c8b7(0x33d)]=_0x4c2cba,this[_0x39c8b7(0x2fa)](),this['_initEvent']();}['_setupBeforeClosingHandler'](){const _0x4aa3ec=_0x2cf95d;this[_0x4aa3ec(0x2c3)](this['_beforeCloseService'][_0x4aa3ec(0x3ad)](()=>{const _0x6f9c34=_0x4aa3ec;if(this['_localCacheService'][_0x6f9c34(0x241)][_0x6f9c34(0x207)])return this['_localeService']['t'](_0x6f9c34(0x2cf));}));}[_0x2cf95d(0x2f0)](){const _0x32254f=_0x2cf95d;this[_0x32254f(0x2c3)](this[_0x32254f(0x1fe)][_0x32254f(0x38f)][_0x32254f(0x335)](_0x25a4af=>{const _0x2f6b82=_0x32254f;_0x25a4af['id']===_0x5f2bfa[_0x2f6b82(0x3dc)][_0x2f6b82(0x3b4)]&&this[_0x2f6b82(0x3aa)][_0x2f6b82(0x3bb)]({'type':_0x364f41[_0x2f6b82(0x268)]['Warning'],'content':this[_0x2f6b82(0x33d)]['t'](_0x2f6b82(0x1b2))}),_0x25a4af['id']===_0x5f2bfa[_0x2f6b82(0x3dc)]['CLOSE_ROOM']&&this['_messageService'][_0x2f6b82(0x3bb)]({'type':_0x364f41['MessageType'][_0x2f6b82(0x269)],'content':this['_localeService']['t'](_0x2f6b82(0x1fc))}),_0x25a4af['id']===_0x5f2bfa[_0x2f6b82(0x3dc)][_0x2f6b82(0x287)]&&this[_0x2f6b82(0x317)]['show']({'title':this[_0x2f6b82(0x33d)]['t'](_0x2f6b82(0x2d8)),'content':this[_0x2f6b82(0x33d)]['t'](_0x2f6b82(0x45e)),'type':'error','duration':0x0}),_0x25a4af['id']===_0x5f2bfa[_0x2f6b82(0x3dc)]['CONFLICT']&&this[_0x2f6b82(0x3aa)]['show']({'type':_0x364f41['MessageType'][_0x2f6b82(0x30a)],'content':this['_localeService']['t'](_0x2f6b82(0x1fc))+'('+_0x25a4af[_0x2f6b82(0x2bf)]+')'}),_0x25a4af['id']===_0x5f2bfa['CollaborationUIEventId']['JOIN_ROOM_FAILED']&&this[_0x2f6b82(0x3aa)]['show']({'type':_0x364f41['MessageType'][_0x2f6b82(0x269)],'content':this[_0x2f6b82(0x33d)]['t'](_0x25a4af[_0x2f6b82(0x2bf)]||'')}),_0x25a4af['id']===_0x5f2bfa[_0x2f6b82(0x3dc)][_0x2f6b82(0x1af)]&&this[_0x2f6b82(0x3aa)][_0x2f6b82(0x3bb)]({'type':_0x364f41[_0x2f6b82(0x268)][_0x2f6b82(0x269)],'content':this['_localeService']['t'](_0x2f6b82(0x464))}),_0x25a4af['id']===_0x5f2bfa[_0x2f6b82(0x3dc)][_0x2f6b82(0x404)]&&this[_0x2f6b82(0x3aa)][_0x2f6b82(0x3bb)]({'type':_0x364f41[_0x2f6b82(0x268)][_0x2f6b82(0x30a)],'content':this['_localeService']['t'](_0x2f6b82(0x396))}),_0x25a4af['id']===_0x5f2bfa[_0x2f6b82(0x3dc)]['SUBMIT_CHANGESET_TIMEOUT']&&this[_0x2f6b82(0x3aa)][_0x2f6b82(0x3bb)]({'type':_0x364f41[_0x2f6b82(0x268)]['Error'],'content':this[_0x2f6b82(0x33d)]['t'](_0x2f6b82(0x1e5))});}));}};_0xd0660e=_0x59f211([_0xb00749(0x0,_0xbf4494[_0x2cf95d(0x306)]),_0xb00749(0x1,_0x5f2bfa[_0x2cf95d(0x233)]),_0xb00749(0x2,_0x2ef637[_0x2cf95d(0x3fa)](_0x5f2bfa[_0x2cf95d(0x40c)])),_0xb00749(0x3,_0xbf4494[_0x2cf95d(0x1ce)]),_0xb00749(0x4,_0xbf4494['INotificationService']),_0xb00749(0x5,_0x2ef637[_0x2cf95d(0x3fa)](_0x2ef637['LocaleService']))],_0xd0660e);const _0x206a74=_0x2cf95d(0x1df),_0x19c4b6={};var _0x5e89e5=Object['getOwnPropertyDescriptor'],_0x2df015=(_0x1a99f9,_0x322a7b,_0x2529a8,_0x569136)=>{for(var _0x16e0e7=_0x569136>0x1?void 0x0:_0x569136?_0x5e89e5(_0x322a7b,_0x2529a8):_0x322a7b,_0x4c9a89=_0x1a99f9['length']-0x1,_0x3af115;_0x4c9a89>=0x0;_0x4c9a89--)(_0x3af115=_0x1a99f9[_0x4c9a89])&&(_0x16e0e7=_0x3af115(_0x16e0e7)||_0x16e0e7);return _0x16e0e7;},_0x5e1b7a=(_0x19274d,_0x5c95b7)=>(_0x487bcf,_0x5245e6)=>_0x5c95b7(_0x487bcf,_0x5245e6,_0x19274d);let _0x241a2c=class{constructor(_0x2f11d8,_0x19b3e7){this['_transformService']=_0x2f11d8,this['_renderManagerService']=_0x19b3e7;}[_0x2cf95d(0x470)](_0x39322e){const _0x432bbf=_0x2cf95d;this[_0x432bbf(0x293)](_0x39322e),this[_0x432bbf(0x3ed)](_0x39322e);}['transformRemoteChangeset'](_0xbb4cb3){const _0x50f453=_0x2cf95d,{unitID:_0x59ff37}=_0xbb4cb3,_0x39bdcf=this['_renderManagerService'][_0x50f453(0x363)](_0x59ff37)[_0x50f453(0x368)](_0x1f0246[_0x50f453(0x2ff)]),{redoCache:_0x4376bc}=_0x39bdcf[_0x50f453(0x1a8)]();if(_0x4376bc[_0x50f453(0x3e6)]===0x0)return _0xbb4cb3;let _0x3ff134=_0x2ef637['Tools']['deepClone'](_0xbb4cb3[_0x50f453(0x27f)][0x0]);for(let _0x1e648c=0x0;_0x1e648c<_0x4376bc[_0x50f453(0x3e6)];_0x1e648c++){const _0x5358be={'id':'doc.mutation.rich-text-editing','params':{..._0x4376bc[_0x1e648c]}},_0xac3ce0=this[_0x50f453(0x1a9)][_0x50f453(0x29d)](_0x3ff134,_0x5358be,!0x1);if(_0xffee1f[_0x50f453(0x1a0)](_0xac3ce0))throw _0xac3ce0[_0x50f453(0x3f3)];_0x3ff134=_0xac3ce0['m1Prime'];}return{..._0x2ef637[_0x50f453(0x40a)][_0x50f453(0x24e)](_0xbb4cb3),'mutations':[_0x3ff134]};}[_0x2cf95d(0x293)](_0x29bea8){const _0x5bb9a9=_0x2cf95d,{unitID:_0x313efa}=_0x29bea8,_0x5613ea=this['_renderManagerService']['getRenderById'](_0x313efa)[_0x5bb9a9(0x368)](_0x1f0246[_0x5bb9a9(0x2ff)]),{undoCache:_0x763604,redoCache:_0x1c2708}=_0x5613ea[_0x5bb9a9(0x1a8)]();if(_0x763604['length']===0x0||_0x1c2708[_0x5bb9a9(0x3e6)]===0x0)return;const _0x1849dd=[],_0x55b8a0=[];let _0x2c7b6a=_0x2ef637['Tools'][_0x5bb9a9(0x24e)](_0x29bea8[_0x5bb9a9(0x27f)][0x0]),_0x573f5f=_0x2ef637[_0x5bb9a9(0x40a)][_0x5bb9a9(0x24e)](_0x29bea8[_0x5bb9a9(0x27f)][0x0]);for(let _0x5de896=_0x763604[_0x5bb9a9(0x3e6)]-0x1;_0x5de896>=0x0;_0x5de896--){const _0x20f7b4={'id':_0x5bb9a9(0x426),'params':{..._0x763604[_0x5de896]}},_0x1b3d34={'id':_0x5bb9a9(0x426),'params':{..._0x1c2708[_0x5de896]}},_0x5a89e8=this['_transformService'][_0x5bb9a9(0x29d)](_0x2c7b6a,_0x20f7b4,!0x1),_0x1a3f0f=this[_0x5bb9a9(0x1a9)][_0x5bb9a9(0x29d)](_0x573f5f,_0x1b3d34,!0x1);if(_0xffee1f[_0x5bb9a9(0x1a0)](_0x5a89e8))throw _0x5a89e8[_0x5bb9a9(0x3f3)];if(_0xffee1f[_0x5bb9a9(0x1a0)](_0x1a3f0f))throw _0x1a3f0f[_0x5bb9a9(0x3f3)];_0x1849dd[_0x5bb9a9(0x372)](_0x5a89e8[_0x5bb9a9(0x465)][_0x5bb9a9(0x23b)]),_0x55b8a0['unshift'](_0x1a3f0f['m2Prime'][_0x5bb9a9(0x23b)]),_0x2c7b6a=_0x5a89e8['m1Prime'],_0x573f5f=_0x1a3f0f[_0x5bb9a9(0x280)];}_0x5613ea[_0x5bb9a9(0x2c9)]({'undoCache':_0x1849dd,'redoCache':_0x55b8a0});}[_0x2cf95d(0x3ed)](_0x33a302){const _0x4d20de=_0x2cf95d,{unitID:_0x1465cb}=_0x33a302,_0x199fdb=this['_renderManagerService'][_0x4d20de(0x363)](_0x1465cb)['with'](_0x1f0246['DocIMEInputManagerService']),_0x137622=_0x199fdb[_0x4d20de(0x1aa)]();if(_0x137622==null)return;const _0x4e14bf=[{'id':_0x4d20de(0x426),'params':{'unitId':_0x33a302[_0x4d20de(0x406)],'actions':null,'textRanges':[_0x137622]}}],_0x49f62a=this[_0x4d20de(0x1a9)]['transformMutationsWithChangeset'](_0x33a302,_0x4e14bf);if(!_0xffee1f[_0x4d20de(0x1b9)](_0x49f62a))throw _0x49f62a['error'];const _0x5af7cb=_0x49f62a[_0x4d20de(0x465)][0x0][_0x4d20de(0x23b)][_0x4d20de(0x32f)];Array['isArray'](_0x5af7cb)&&_0x5af7cb[_0x4d20de(0x3e6)]&&_0x199fdb[_0x4d20de(0x2ad)](_0x5af7cb[0x0]);}};_0x241a2c=_0x2df015([_0x5e1b7a(0x0,_0xffee1f[_0x2cf95d(0x1e8)]),_0x5e1b7a(0x1,_0x35408c[_0x2cf95d(0x253)])],_0x241a2c);var _0x2dbb35=Object[_0x2cf95d(0x457)],_0xe68109=(_0x3acfef,_0x2c8c8f,_0x21b2c9,_0x2d8b6b)=>{const _0x2f4d09=_0x2cf95d;for(var _0x2a95e1=_0x2d8b6b>0x1?void 0x0:_0x2d8b6b?_0x2dbb35(_0x2c8c8f,_0x21b2c9):_0x2c8c8f,_0x5e1f3e=_0x3acfef[_0x2f4d09(0x3e6)]-0x1,_0x15902d;_0x5e1f3e>=0x0;_0x5e1f3e--)(_0x15902d=_0x3acfef[_0x5e1f3e])&&(_0x2a95e1=_0x15902d(_0x2a95e1)||_0x2a95e1);return _0x2a95e1;},_0x19b5c3=(_0x437a33,_0x6f9502)=>(_0x455bc8,_0x23106b)=>_0x6f9502(_0x455bc8,_0x23106b,_0x437a33);let _0x184a1d=class{constructor(_0x39689b,_0x2d7b72,_0x19e210){const _0xa9704f=_0x2cf95d;this[_0xa9704f(0x30c)]=_0x39689b,this['_transformService']=_0x2d7b72,this[_0xa9704f(0x45a)]=_0x19e210;}[_0x2cf95d(0x44a)](_0x2af817){const _0x51d9f1=_0x2cf95d;this[_0x51d9f1(0x2b6)](_0x2af817);}[_0x2cf95d(0x422)](_0x128072){const _0x1973e5=_0x2cf95d,{unitID:_0x50d26f}=_0x128072,{collaboration:_0x91c0c6}=this[_0x1973e5(0x45a)][_0x1973e5(0x1c8)](_0x50d26f);if(_0x91c0c6['length']===0x0)return _0x128072;let _0x8322db=_0x2ef637[_0x1973e5(0x40a)][_0x1973e5(0x24e)](_0x128072[_0x1973e5(0x27f)][0x0]);for(let _0x16b4e1=0x0;_0x16b4e1<_0x91c0c6[_0x1973e5(0x3e6)];_0x16b4e1++){const _0x932694={'id':_0x1973e5(0x426),'params':{'unitId':_0x91c0c6[_0x16b4e1][_0x1973e5(0x1b6)],..._0x91c0c6[_0x16b4e1][_0x1973e5(0x2c7)]}},_0x49a2b7=this['_transformService']['transformMutation'](_0x8322db,_0x932694,!0x1);if(_0xffee1f['isTransformMutationFailure'](_0x49a2b7))throw _0x49a2b7['error'];_0x8322db=_0x49a2b7['m1Prime'];}return{..._0x2ef637[_0x1973e5(0x40a)][_0x1973e5(0x24e)](_0x128072),'mutations':[_0x8322db]};}[_0x2cf95d(0x2b6)](_0x26ddcb){const _0x72a411=_0x2cf95d,{unitID:_0x3c7056}=_0x26ddcb,{history:_0x469518,collaboration:_0x11fb91}=this[_0x72a411(0x45a)][_0x72a411(0x1c8)](_0x3c7056);if(_0x469518[_0x72a411(0x3e6)]===0x0&&_0x11fb91[_0x72a411(0x3e6)]===0x0)return;const _0x1498da=[],_0x24bd01=[];let _0x581774=_0x2ef637[_0x72a411(0x40a)][_0x72a411(0x24e)](_0x26ddcb[_0x72a411(0x27f)][0x0]),_0x15b1c9=_0x2ef637[_0x72a411(0x40a)]['deepClone'](_0x26ddcb[_0x72a411(0x27f)][0x0]);for(let _0x435b75=_0x469518[_0x72a411(0x3e6)]-0x1;_0x435b75>=0x0;_0x435b75--){const _0x18e844={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x469518[_0x435b75][_0x72a411(0x1b6)],..._0x469518[_0x435b75][_0x72a411(0x394)]}},_0x5d5455={'id':_0x72a411(0x426),'params':{'unitId':_0x469518[_0x435b75][_0x72a411(0x1b6)],..._0x469518[_0x435b75][_0x72a411(0x2c7)]}},_0x501479=this['_transformService'][_0x72a411(0x29d)](_0x581774,_0x18e844,!0x1),_0xadd9ee=this[_0x72a411(0x1a9)][_0x72a411(0x29d)](_0x15b1c9,_0x5d5455,!0x1);if(_0xffee1f[_0x72a411(0x1a0)](_0x501479))throw _0x501479[_0x72a411(0x3f3)];if(_0xffee1f[_0x72a411(0x1a0)](_0xadd9ee))throw _0xadd9ee[_0x72a411(0x3f3)];_0x1498da[_0x72a411(0x372)]({..._0x469518[_0x435b75],'undoState':_0x501479['m2Prime'][_0x72a411(0x23b)],'redoState':_0xadd9ee[_0x72a411(0x465)][_0x72a411(0x23b)]}),_0x581774=_0x501479[_0x72a411(0x280)],_0x15b1c9=_0xadd9ee['m1Prime'];}_0x581774=_0x2ef637[_0x72a411(0x40a)][_0x72a411(0x24e)](_0x26ddcb['mutations'][0x0]),_0x15b1c9=_0x2ef637[_0x72a411(0x40a)][_0x72a411(0x24e)](_0x26ddcb['mutations'][0x0]);for(let _0x575e4d=_0x11fb91[_0x72a411(0x3e6)]-0x1;_0x575e4d>=0x0;_0x575e4d--){const _0x2a07e6={'id':_0x72a411(0x426),'params':{'unitId':_0x11fb91[_0x575e4d][_0x72a411(0x1b6)],..._0x11fb91[_0x575e4d]['undoState']}},_0x2e10c2={'id':_0x72a411(0x426),'params':{'unitId':_0x11fb91[_0x575e4d]['unitId'],..._0x11fb91[_0x575e4d][_0x72a411(0x2c7)]}},_0x435219=this[_0x72a411(0x1a9)][_0x72a411(0x29d)](_0x581774,_0x2a07e6,!0x1),_0x47d212=this[_0x72a411(0x1a9)]['transformMutation'](_0x15b1c9,_0x2e10c2,!0x1);if(_0xffee1f[_0x72a411(0x1a0)](_0x435219))throw _0x435219[_0x72a411(0x3f3)];if(_0xffee1f[_0x72a411(0x1a0)](_0x47d212))throw _0x47d212[_0x72a411(0x3f3)];_0x24bd01[_0x72a411(0x372)]({..._0x11fb91[_0x575e4d],'undoState':_0x435219[_0x72a411(0x465)][_0x72a411(0x23b)],'redoState':_0x47d212[_0x72a411(0x465)]['params']}),_0x581774=_0x435219[_0x72a411(0x280)],_0x15b1c9=_0x47d212['m1Prime'];}this[_0x72a411(0x45a)][_0x72a411(0x2e9)](_0x3c7056,{'history':_0x1498da,'collaboration':_0x24bd01});}};_0x184a1d=_0xe68109([_0x19b5c3(0x0,_0x2ef637[_0x2cf95d(0x3fa)](_0x2ef637[_0x2cf95d(0x3b0)])),_0x19b5c3(0x1,_0xffee1f[_0x2cf95d(0x1e8)]),_0x19b5c3(0x2,_0x2ef637[_0x2cf95d(0x3fa)](_0x1f0246[_0x2cf95d(0x327)]))],_0x184a1d);var _0x5b57a6=Object['getOwnPropertyDescriptor'],_0x402166=(_0x13aba3,_0x223b40,_0x31a374,_0x3d85e1)=>{for(var _0x2a022f=_0x3d85e1>0x1?void 0x0:_0x3d85e1?_0x5b57a6(_0x223b40,_0x31a374):_0x223b40,_0x50cd98=_0x13aba3['length']-0x1,_0x1b5e09;_0x50cd98>=0x0;_0x50cd98--)(_0x1b5e09=_0x13aba3[_0x50cd98])&&(_0x2a022f=_0x1b5e09(_0x2a022f)||_0x2a022f);return _0x2a022f;},_0x5c1cb9=(_0x1e24d3,_0x124206)=>(_0x5a0e08,_0x359380)=>_0x124206(_0x5a0e08,_0x359380,_0x1e24d3);let _0x2621ee=class{constructor(_0x1222ef,_0x5693e7){const _0x421736=_0x2cf95d;this[_0x421736(0x30c)]=_0x1222ef,this[_0x421736(0x1a9)]=_0x5693e7;}[_0x2cf95d(0x283)](_0x52f342){const _0x3c8277=_0x2cf95d;var _0x24182f;const _0x3ad21d=this[_0x3c8277(0x30c)]['get'](_0x431f46[_0x3c8277(0x43c)]),_0x4a6d70=(_0x24182f=_0x3ad21d['getDocRanges']())!=null?_0x24182f:[];if(_0x4a6d70[_0x3c8277(0x3e6)]===0x0)return;const _0x9eac9f=_0x52f342[_0x3c8277(0x406)],_0x4e941f=[{'id':_0x3c8277(0x426),'params':{'unitId':_0x9eac9f,'actions':null,'textRanges':_0x4a6d70}}],_0x1820d9=this[_0x3c8277(0x1a9)][_0x3c8277(0x28d)](_0x52f342,_0x4e941f);if(!_0xffee1f[_0x3c8277(0x1b9)](_0x1820d9))throw _0x1820d9[_0x3c8277(0x3f3)];const _0x303943=_0x1820d9['m2Prime'][0x0]['params'][_0x3c8277(0x32f)];Array[_0x3c8277(0x2a9)](_0x303943)&&_0x303943[_0x3c8277(0x3e6)]&&_0x3ad21d[_0x3c8277(0x43f)](_0x303943,{'unitId':_0x9eac9f,'subUnitId':_0x9eac9f},!0x1);}};_0x2621ee=_0x402166([_0x5c1cb9(0x0,_0x2ef637[_0x2cf95d(0x3fa)](_0x2ef637[_0x2cf95d(0x3b0)])),_0x5c1cb9(0x1,_0xffee1f[_0x2cf95d(0x1e8)])],_0x2621ee);var _0x45cf44=Object['getOwnPropertyDescriptor'],_0x547533=(_0xf624f4,_0x1e8065,_0x1b1aaf,_0x30d76a)=>{const _0x13e8bc=_0x2cf95d;for(var _0x5d9334=_0x30d76a>0x1?void 0x0:_0x30d76a?_0x45cf44(_0x1e8065,_0x1b1aaf):_0x1e8065,_0x351b9a=_0xf624f4[_0x13e8bc(0x3e6)]-0x1,_0x492c99;_0x351b9a>=0x0;_0x351b9a--)(_0x492c99=_0xf624f4[_0x351b9a])&&(_0x5d9334=_0x492c99(_0x5d9334)||_0x5d9334);return _0x5d9334;},_0x46fb6c=(_0x25ae0c,_0x4f11c5)=>(_0x3ae0f0,_0x5b7a40)=>_0x4f11c5(_0x3ae0f0,_0x5b7a40,_0x25ae0c);let _0x40a03e=class extends _0x2ef637[_0x2cf95d(0x26a)]{constructor(_0x4997a7,_0x4bbcc6,_0x226cd6,_0x61bdd9,_0xe2f10c,_0x443a9f,_0x2babc0,_0x51cfb3){const _0x4f4f08=_0x2cf95d;super(),_0x536638(this,_0x4f4f08(0x203),new _0x35d2e5['BehaviorSubject'](_0x5f2bfa['CollaborationStatus'][_0x4f4f08(0x2fe)])),(this[_0x4f4f08(0x45a)]=_0x4997a7,this[_0x4f4f08(0x2a7)]=_0x4bbcc6,this['_docTransformIMECacheService']=_0x226cd6,this[_0x4f4f08(0x2c1)]=_0x61bdd9,this['_docTransformSelectionsService']=_0xe2f10c,this[_0x4f4f08(0x43e)]=_0x443a9f,this['_messageService']=_0x2babc0,this['_localeService']=_0x51cfb3,this[_0x4f4f08(0x214)]());}[_0x2cf95d(0x214)](){const _0x2ffea7=_0x2cf95d;this[_0x2ffea7(0x2c3)](this['_collaborationController']['entityInit$'][_0x2ffea7(0x335)](_0x13ed94=>{const _0x3a9936=_0x2ffea7,_0x11af21=this[_0x3a9936(0x45a)][_0x3a9936(0x223)][_0x3a9936(0x335)](_0x345c39=>{const _0x1e2ba6=_0x3a9936;if(_0x345c39==null)return;const {unitId:_0x3a121a,redoState:_0x4c2b7a,commandId:_0x5e8986}=_0x345c39;if(_0x3a121a!==_0x13ed94[_0x1e2ba6(0x406)])return;const _0x3ec80d={'id':_0x5e8986,'type':_0x2ef637[_0x1e2ba6(0x337)]['MUTATION'],'params':{'unitId':_0x3a121a,'actions':_0x4c2b7a['actions'],'textRanges':null}};_0x13ed94['onLocalMutation'](_0x3ec80d);});if(_0x13ed94[_0x3a9936(0x2c3)](_0x11af21),_0x13ed94 instanceof _0x5f2bfa['DocCollaborationEntity']){const _0x44141a={'onTransformIME':_0x1b31d2=>this['_docTransformIMECacheService'][_0x3a9936(0x470)](_0x1b31d2),'onTransformState':_0x559d5e=>this[_0x3a9936(0x2c1)][_0x3a9936(0x44a)](_0x559d5e),'onTransformSelections':_0x4ae0b8=>this[_0x3a9936(0x3c9)][_0x3a9936(0x283)](_0x4ae0b8),'onSyncEditingCollabCursor':_0x5a7081=>this[_0x3a9936(0x43e)][_0x3a9936(0x31c)](_0x5a7081),'onTransformRemoteChangesetByIMECache':_0x328b5c=>this[_0x3a9936(0x3e5)][_0x3a9936(0x422)](_0x328b5c),'onTransformRemoteChangesetByStateCache':_0x33198c=>this[_0x3a9936(0x2c1)][_0x3a9936(0x422)](_0x33198c)};_0x13ed94[_0x3a9936(0x3f9)](_0x44141a);}}));}};_0x40a03e=_0x547533([_0x46fb6c(0x0,_0x2ef637['Inject'](_0x1f0246[_0x2cf95d(0x327)])),_0x46fb6c(0x1,_0x2ef637[_0x2cf95d(0x3fa)](_0x5f2bfa[_0x2cf95d(0x37b)])),_0x46fb6c(0x2,_0x2ef637['Inject'](_0x241a2c)),_0x46fb6c(0x3,_0x2ef637[_0x2cf95d(0x3fa)](_0x184a1d)),_0x46fb6c(0x4,_0x2ef637[_0x2cf95d(0x3fa)](_0x2621ee)),_0x46fb6c(0x5,_0x2ef637[_0x2cf95d(0x3fa)](_0x5419b8)),_0x46fb6c(0x6,_0xbf4494[_0x2cf95d(0x1ce)]),_0x46fb6c(0x7,_0x2ef637[_0x2cf95d(0x3fa)](_0x2ef637['LocaleService']))],_0x40a03e);var _0x1c5d04=(_0x4f9b11=>(_0x4f9b11[_0x4f9b11[_0x2cf95d(0x354)]=0x0]='UNDEFINED',_0x4f9b11[_0x4f9b11['OK']=0x1]='OK',_0x4f9b11[_0x4f9b11[_0x2cf95d(0x42d)]=0x2]='INTERNAL_ERROR',_0x4f9b11[_0x4f9b11['PERMISSION_DENIED']=0x3]=_0x2cf95d(0x287),_0x4f9b11[_0x4f9b11[_0x2cf95d(0x2be)]=0x4]=_0x2cf95d(0x2be),_0x4f9b11[_0x4f9b11[_0x2cf95d(0x1bc)]=0x5]=_0x2cf95d(0x1bc),_0x4f9b11[_0x4f9b11[_0x2cf95d(0x431)]=0x6]='ALREADY_EXISTS',_0x4f9b11[_0x4f9b11[_0x2cf95d(0x3ec)]=0x7]=_0x2cf95d(0x3ec),_0x4f9b11[_0x4f9b11[_0x2cf95d(0x286)]=0x8]=_0x2cf95d(0x286),_0x4f9b11[_0x4f9b11[_0x2cf95d(0x1f7)]=0x9]='COMPLETION_FINISHED',_0x4f9b11[_0x4f9b11[_0x2cf95d(0x453)]=0xa]=_0x2cf95d(0x453),_0x4f9b11[_0x4f9b11['MOBILE_VERIFY_CODE_MISMATCH']=0xb]=_0x2cf95d(0x2c6),_0x4f9b11[_0x4f9b11['MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED']=0xc]=_0x2cf95d(0x2a6),_0x4f9b11[_0x4f9b11[_0x2cf95d(0x1bd)]=0xd]=_0x2cf95d(0x1bd),_0x4f9b11[_0x4f9b11[_0x2cf95d(0x333)]=0xe]='EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED',_0x4f9b11[_0x4f9b11[_0x2cf95d(0x3d3)]=0xf]=_0x2cf95d(0x3d3),_0x4f9b11[_0x4f9b11[_0x2cf95d(0x1c4)]=0x10]=_0x2cf95d(0x1c4),_0x4f9b11[_0x4f9b11[_0x2cf95d(0x46f)]=0x64]='CURRENT_STATUS_CANNOT_OPERATE',_0x4f9b11[_0x4f9b11['ERROR_AGAIN']=0x65]=_0x2cf95d(0x2bd),_0x4f9b11[_0x4f9b11[_0x2cf95d(0x1d8)]=0xc9]=_0x2cf95d(0x1d8),_0x4f9b11[_0x4f9b11[_0x2cf95d(0x220)]=0xca]=_0x2cf95d(0x220),_0x4f9b11[_0x4f9b11[_0x2cf95d(0x213)]=0x1389]=_0x2cf95d(0x213),_0x4f9b11[_0x4f9b11['SNAPSHOT_INVALID_SNAPSHOT']=0x1771]='SNAPSHOT_INVALID_SNAPSHOT',_0x4f9b11[_0x4f9b11[_0x2cf95d(0x3a3)]=0x1772]='SNAPSHOT_HAS_BEEN_REMOVED',_0x4f9b11[_0x4f9b11[_0x2cf95d(0x295)]=0x1773]=_0x2cf95d(0x295),_0x4f9b11[_0x4f9b11[_0x2cf95d(0x3cb)]=0x1b59]=_0x2cf95d(0x3cb),_0x4f9b11[_0x4f9b11['APPLY_NON_SEQUENTIAL_REVISION']=0x1b5a]=_0x2cf95d(0x3f7),_0x4f9b11[_0x4f9b11[_0x2cf95d(0x340)]=0x1b5b]='APPLY_REVISION_CONFILICT',_0x4f9b11[_0x4f9b11[_0x2cf95d(0x261)]=0x1b5c]=_0x2cf95d(0x261),_0x4f9b11[_0x4f9b11['APPLY_DUPLICATED']=0x1b5d]='APPLY_DUPLICATED',_0x4f9b11[_0x4f9b11[_0x2cf95d(0x1a5)]=0x1f41]=_0x2cf95d(0x1a5),_0x4f9b11[_0x4f9b11[_0x2cf95d(0x200)]=0x2329]=_0x2cf95d(0x200),_0x4f9b11[_0x4f9b11['LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED']=0x232a]='LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED',_0x4f9b11[_0x4f9b11[_0x2cf95d(0x3a6)]=0x232b]='LICENSE_IMPORT_SIZE_EXCEEDED',_0x4f9b11[_0x4f9b11[_0x2cf95d(0x294)]=0x232c]=_0x2cf95d(0x294),_0x4f9b11[_0x4f9b11[_0x2cf95d(0x2e7)]=0x232d]='LICENSE_DISTRO_REJECTED',_0x4f9b11[_0x4f9b11[_0x2cf95d(0x208)]=0x2711]=_0x2cf95d(0x208),_0x4f9b11[_0x4f9b11['YUUMI_URL_COL_OUT_OF_RANGE']=0x2712]=_0x2cf95d(0x2b9),_0x4f9b11[_0x4f9b11[_0x2cf95d(0x42f)]=0x2713]='YUUMI_RATE_OVER_LIMIT',_0x4f9b11[_0x4f9b11[_0x2cf95d(0x230)]=0x2714]=_0x2cf95d(0x230),_0x4f9b11[_0x4f9b11[_0x2cf95d(0x360)]=0x271a]=_0x2cf95d(0x360),_0x4f9b11[_0x4f9b11[_0x2cf95d(0x1b5)]=0x271b]='YUUMI_ASYNCIO_CANCELLED',_0x4f9b11[_0x4f9b11[_0x2cf95d(0x28b)]=0x271c]=_0x2cf95d(0x28b),_0x4f9b11[_0x4f9b11[_0x2cf95d(0x282)]=0x271d]=_0x2cf95d(0x282),_0x4f9b11[_0x4f9b11[_0x2cf95d(0x3b9)]=0x271e]=_0x2cf95d(0x3b9),_0x4f9b11[_0x4f9b11[_0x2cf95d(0x445)]=0x271f]=_0x2cf95d(0x445),_0x4f9b11[_0x4f9b11['YUUMI_CONNECTOR_URL_NOT_FOUND']=0x2720]=_0x2cf95d(0x371),_0x4f9b11[_0x4f9b11[_0x2cf95d(0x1d4)]=0x2af9]='PY_RUNTIME_SCRIPT_ERROR',_0x4f9b11[_0x4f9b11[_0x2cf95d(0x40d)]=0x2ee1]='INVITE_CODE_HAS_BEEN_UES',_0x4f9b11[_0x4f9b11[_0x2cf95d(0x1e0)]=0x2ee2]='INVALID_INVITE_CODE',_0x4f9b11[_0x4f9b11[_0x2cf95d(0x391)]=0x2ee3]=_0x2cf95d(0x391),_0x4f9b11[_0x4f9b11[_0x2cf95d(0x386)]=0x2ee4]=_0x2cf95d(0x386),_0x4f9b11[_0x4f9b11['INVITE_CODE_ALREADY_BOUND']=0x2ee5]=_0x2cf95d(0x2eb),_0x4f9b11[_0x4f9b11[_0x2cf95d(0x22b)]=0x32c9]=_0x2cf95d(0x22b),_0x4f9b11[_0x4f9b11['MOBILE_HAS_BEEN_BOUND']=0x32ca]=_0x2cf95d(0x231),_0x4f9b11[_0x4f9b11[_0x2cf95d(0x456)]=0x32cb]='EMAIL_HAS_BEEN_BOUND',_0x4f9b11[_0x4f9b11['ENTITLE_CAN_NOT_BUY_LOWER_OTP']=0x36b1]='ENTITLE_CAN_NOT_BUY_LOWER_OTP',_0x4f9b11[_0x4f9b11[_0x2cf95d(0x222)]=0x36b2]=_0x2cf95d(0x222),_0x4f9b11[_0x4f9b11[_0x2cf95d(0x36d)]=0x36b3]=_0x2cf95d(0x36d),_0x4f9b11[_0x4f9b11[_0x2cf95d(0x26f)]=0x36b4]=_0x2cf95d(0x26f),_0x4f9b11[_0x4f9b11[_0x2cf95d(0x210)]=0x3715]='ENTITLE_CHAT_LIMIT_EXCEED',_0x4f9b11[_0x4f9b11[_0x2cf95d(0x344)]=0x3716]=_0x2cf95d(0x344),_0x4f9b11[_0x4f9b11[_0x2cf95d(0x449)]=0x3717]='ENTITLE_INSUFFICIENT_QUOTA',_0x4f9b11[_0x4f9b11[_0x2cf95d(0x405)]=0x37dd]='ENTITLE_NEED_BILLING_ADDRESS',_0x4f9b11[_0x4f9b11[_0x2cf95d(0x1bf)]=0x3a99]=_0x2cf95d(0x1bf),_0x4f9b11[_0x4f9b11[_0x2cf95d(0x270)]=0x3a9a]=_0x2cf95d(0x270),_0x4f9b11[_0x4f9b11[_0x2cf95d(0x2aa)]=0x3a9b]=_0x2cf95d(0x2aa),_0x4f9b11[_0x4f9b11[_0x2cf95d(0x2fd)]=0x3a9c]=_0x2cf95d(0x2fd),_0x4f9b11[_0x4f9b11[_0x2cf95d(0x366)]=0x3a9d]=_0x2cf95d(0x366),_0x4f9b11[_0x4f9b11[_0x2cf95d(0x2d4)]=0x3a9e]=_0x2cf95d(0x2d4),_0x4f9b11[_0x4f9b11['REDEMPTION_CODE_HAS_BEEN_CREATED']=0x3a9f]='REDEMPTION_CODE_HAS_BEEN_CREATED',_0x4f9b11[_0x4f9b11[_0x2cf95d(0x29b)]=0x3e81]=_0x2cf95d(0x29b),_0x4f9b11[_0x4f9b11['UNRECOGNIZED']=-0x1]=_0x2cf95d(0x33f),_0x4f9b11))(_0x1c5d04||{});function _0x1d5e8f(_0x26cb5d){const _0x13e478=_0x2cf95d;var _0x5cbd48,_0x3d885e;const _0x384a09=(_0x5cbd48=_0x26cb5d[_0x13e478(0x246)])==null?void 0x0:_0x5cbd48[_0x13e478(0x2db)],_0x518039=((_0x3d885e=_0x26cb5d[_0x13e478(0x246)])==null?void 0x0:_0x3d885e[_0x13e478(0x3cf)])||0x0;return _0x384a09===_0x53a2c3[_0x13e478(0x2e5)][_0x13e478(0x2c5)]&&_0x518039>0x0;}function _0x546c57(_0x72d1fb){const _0x31e015=_0x2cf95d;return _0x72d1fb['functionsExecutedState']===_0x53a2c3[_0x31e015(0x468)][_0x31e015(0x347)];}var _0x5206b9=Object[_0x2cf95d(0x457)],_0xaff30f=(_0x28f5dd,_0x507002,_0x3c4cd7,_0x6c3f82)=>{for(var _0x1caec3=_0x6c3f82>0x1?void 0x0:_0x6c3f82?_0x5206b9(_0x507002,_0x3c4cd7):_0x507002,_0x59e007=_0x28f5dd['length']-0x1,_0x24a9ee;_0x59e007>=0x0;_0x59e007--)(_0x24a9ee=_0x28f5dd[_0x59e007])&&(_0x1caec3=_0x24a9ee(_0x1caec3)||_0x1caec3);return _0x1caec3;},_0x4e0209=(_0x5af526,_0x900473)=>(_0xb26a52,_0xedf74e)=>_0x900473(_0xb26a52,_0xedf74e,_0x5af526);const _0x22ef23=_0x2cf95d(0x266),_0x26361f=_0x2cf95d(0x2b2),_0x3e239e=_0x2cf95d(0x44b);let _0x1805a9=class extends _0x2ef637[_0x2cf95d(0x26a)]{constructor(_0x108d04,_0xeac7e4,_0x7bfbf5,_0x5efee7,_0x3bd37d,_0x312ea6,_0x2f7dd4){const _0x594401=_0x2cf95d;super(),_0x536638(this,'_pollingInterval',null),_0x536638(this,_0x594401(0x296),0x0),_0x536638(this,_0x594401(0x244),0x0),_0x536638(this,_0x594401(0x267),[]),_0x536638(this,'_lastResponseTimestamp',0x0),(this[_0x594401(0x3aa)]=_0x108d04,this[_0x594401(0x3a0)]=_0xeac7e4,this[_0x594401(0x23d)]=_0x7bfbf5,this[_0x594401(0x435)]=_0x5efee7,this[_0x594401(0x3f0)]=_0x3bd37d,this[_0x594401(0x43a)]=_0x312ea6,this[_0x594401(0x33d)]=_0x2f7dd4,this['_initCommandInterceptor']());}[_0x2cf95d(0x414)](){const _0x3dfdf6=_0x2cf95d;this[_0x3dfdf6(0x2c3)](this['_commandService'][_0x3dfdf6(0x3d6)]((_0x4568e1,_0x3f19fd)=>{const _0x18687e=_0x3dfdf6;var _0x30d1f9;if(_0x4568e1['id']!==_0x53a2c3[_0x18687e(0x420)]['id'])return;const _0xf755aa=_0x4568e1['params'];if(!this[_0x18687e(0x3f6)]((_0x30d1f9=_0xf755aa[_0x18687e(0x21d)])!=null?_0x30d1f9:[]))return;if(!this[_0x18687e(0x413)]())throw this[_0x18687e(0x1db)](_0x4568e1,_0x3f19fd),this['_showGuardMessage'](),new _0x2ef637[(_0x18687e(0x2d5))]();})),this[_0x3dfdf6(0x2c3)](this[_0x3dfdf6(0x3a0)][_0x3dfdf6(0x289)]((_0x331fe5,_0x546941)=>{const _0xc3a6c4=_0x3dfdf6;if(_0x331fe5['id']!==_0x53a2c3[_0xc3a6c4(0x26c)]['id'])return;const _0x588cb3=_0x331fe5[_0xc3a6c4(0x23b)];if(_0x1d5e8f(_0x588cb3)){const _0x476ae9=_0x2ef637[_0xc3a6c4(0x2ec)]();this[_0xc3a6c4(0x267)][_0xc3a6c4(0x316)](_0x476ae9),this['_startCalculationLimit'](_0x476ae9);}else{if(_0x546c57(_0x588cb3)&&this[_0xc3a6c4(0x267)]['length']>0x0){const _0x5c1b0e=this[_0xc3a6c4(0x267)][_0xc3a6c4(0x1ca)]();this[_0xc3a6c4(0x410)](_0x5c1b0e);}}}));}[_0x2cf95d(0x359)](){const _0x1f4946=_0x2cf95d;super[_0x1f4946(0x359)](),this[_0x1f4946(0x3db)](),this[_0x1f4946(0x267)]=[],this['_currentUsage']=0x0,this[_0x1f4946(0x296)]=0x0,this[_0x1f4946(0x2fb)]=0x0;}async[_0x2cf95d(0x1db)](_0x440d57,_0x3ea8e2){const _0x1ea086=_0x2cf95d;for(let _0x3c95db=0x0;_0x3c95db<0x1e;_0x3c95db++)try{if(await this[_0x1ea086(0x32b)](),this[_0x1ea086(0x413)]()){this[_0x1ea086(0x3e8)](_0x440d57,_0x3ea8e2),this['_messageService'][_0x1ea086(0x3bb)]({'content':this['_localeService']['t']('formula.calculation.started'),'type':_0x364f41[_0x1ea086(0x268)][_0x1ea086(0x2c4)]});return;}await new Promise(_0x37f19f=>{const _0x51ff99=_0x1ea086;this[_0x51ff99(0x409)]=window[_0x51ff99(0x358)](_0x37f19f,0x3e8);});}catch(_0x3c13be){this[_0x1ea086(0x43a)][_0x1ea086(0x3f3)](_0x3c13be);}this[_0x1ea086(0x3aa)][_0x1ea086(0x3bb)]({'content':this['_localeService']['t']('formula.calculation.unable'),'type':_0x364f41[_0x1ea086(0x268)][_0x1ea086(0x30a)]});}['_applyCommand'](_0x50019c,_0x5292e8){const _0x1b7ce7=_0x2cf95d;try{this[_0x1b7ce7(0x3a0)][_0x1b7ce7(0x311)](_0x50019c['id'],_0x50019c['params'],_0x5292e8);}catch(_0x2d9952){this[_0x1b7ce7(0x43a)][_0x1b7ce7(0x3f3)](_0x2d9952);}}[_0x2cf95d(0x277)](_0x29a993,_0x23b40e){const _0x3c4199=_0x2cf95d;_0x23b40e<this['_lastResponseTimestamp']||(this['_lastResponseTimestamp']=_0x23b40e,this[_0x3c4199(0x296)]=Number['parseInt'](_0x29a993[_0x3c4199(0x440)]),this[_0x3c4199(0x244)]=Number[_0x3c4199(0x376)](_0x29a993[_0x3c4199(0x290)]));}async[_0x2cf95d(0x35d)](_0x26ffd0){const _0xc5d433=_0x2cf95d;var _0x17f04e,_0x3a8bac;const _0x189ab4=Date['now']();try{const _0x4c40c1=((_0x17f04e=this[_0xc5d433(0x23d)][_0xc5d433(0x361)](_0x5f2bfa[_0xc5d433(0x22e)]))==null?void 0x0:_0x17f04e[_0xc5d433(0x2bb)])||_0x26361f,_0x27c960=(await this[_0xc5d433(0x435)][_0xc5d433(0x3ef)](_0x4c40c1,{'body':JSON['stringify']({'taskId':_0x26ffd0})}))[_0xc5d433(0x3da)];if(((_0x3a8bac=_0x27c960['error'])==null?void 0x0:_0x3a8bac['code'])!==_0x1c5d04['OK'])return;this[_0xc5d433(0x277)](_0x27c960[_0xc5d433(0x357)],_0x189ab4);}catch(_0x204523){this[_0xc5d433(0x43a)][_0xc5d433(0x3f3)](_0x204523);}}async[_0x2cf95d(0x32b)](_0x16110e){const _0x495ef2=_0x2cf95d;var _0x4bab2c,_0x173d5a;const _0x4442eb=Date[_0x495ef2(0x28f)]();try{const _0x20f7d2=((_0x4bab2c=this['_configService']['getConfig'](_0x5f2bfa[_0x495ef2(0x22e)]))==null?void 0x0:_0x4bab2c[_0x495ef2(0x434)])||_0x22ef23,_0x1f523a=_0x16110e?_0x20f7d2+_0x495ef2(0x3ca)+encodeURIComponent(_0x16110e):_0x20f7d2,_0x479654=(await this['_httpService']['get'](_0x1f523a))[_0x495ef2(0x3da)];if(((_0x173d5a=_0x479654[_0x495ef2(0x3f3)])==null?void 0x0:_0x173d5a['code'])!==_0x1c5d04['OK'])return;this['_setFormulaLimitStatus'](_0x479654[_0x495ef2(0x357)],_0x4442eb);}catch(_0x209d53){this[_0x495ef2(0x43a)][_0x495ef2(0x3f3)](_0x209d53);}}async['_releaseCalculationLimit'](_0x235fea){const _0x4b821f=_0x2cf95d;var _0xe37e8d,_0x4b906c;const _0x3eceae=Date[_0x4b821f(0x28f)]();try{const _0x1123f5=((_0xe37e8d=this[_0x4b821f(0x23d)][_0x4b821f(0x361)](_0x5f2bfa['COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY']))==null?void 0x0:_0xe37e8d[_0x4b821f(0x255)])||_0x3e239e,_0x27bf3a=(await this[_0x4b821f(0x435)][_0x4b821f(0x3ef)](_0x1123f5,{'body':JSON[_0x4b821f(0x39f)]({'taskId':_0x235fea})}))[_0x4b821f(0x3da)];if(((_0x4b906c=_0x27bf3a[_0x4b821f(0x3f3)])==null?void 0x0:_0x4b906c['code'])!==_0x1c5d04['OK'])return;this[_0x4b821f(0x277)](_0x27bf3a[_0x4b821f(0x357)],_0x3eceae);}catch(_0x18df84){this['_logService'][_0x4b821f(0x3f3)](_0x18df84);}}[_0x2cf95d(0x413)](){const _0x1d6d2a=_0x2cf95d;return this[_0x1d6d2a(0x296)]===0x0?!0x0:this[_0x1d6d2a(0x296)]-this[_0x1d6d2a(0x244)]>0x0;}['_clearPolling'](){const _0x220188=_0x2cf95d;this['_pollingInterval']&&(clearTimeout(this[_0x220188(0x409)]),this[_0x220188(0x409)]=null);}['_showGuardMessage'](){const _0x308d41=_0x2cf95d;this['_messageService']['show']({'content':this[_0x308d41(0x33d)]['t'](_0x308d41(0x44d)),'type':_0x364f41[_0x308d41(0x268)][_0x308d41(0x2dc)]});}[_0x2cf95d(0x3f6)](_0x416d48){const _0x3b59f4=_0x2cf95d;for(const _0x13b8eb of _0x416d48){const {unitId:_0x4c669b,sheetId:_0x33daac,range:_0x35c634}=_0x13b8eb,_0x26bf46=this[_0x3b59f4(0x3f0)][_0x3b59f4(0x221)](_0x4c669b);if(!_0x26bf46)continue;const _0x96b0cd=_0x26bf46[_0x3b59f4(0x3ac)](_0x33daac);if(!_0x96b0cd)continue;const _0x6523a1=_0x96b0cd[_0x3b59f4(0x1a4)]();for(let _0x29a67c=_0x35c634[_0x3b59f4(0x30d)];_0x29a67c<=_0x35c634['endRow'];_0x29a67c++)for(let _0x497e81=_0x35c634[_0x3b59f4(0x1f3)];_0x497e81<=_0x35c634[_0x3b59f4(0x1f5)];_0x497e81++){const _0x33a24f=_0x6523a1[_0x3b59f4(0x1f9)](_0x29a67c,_0x497e81);if(_0x33a24f&&(_0x2ef637['isFormulaString'](_0x33a24f['f'])||_0x2ef637[_0x3b59f4(0x462)](_0x33a24f['si'])))return!0x0;}}return!0x1;}};_0x1805a9=_0xaff30f([_0x4e0209(0x0,_0x2ef637[_0x2cf95d(0x3fa)](_0xbf4494[_0x2cf95d(0x1ce)])),_0x4e0209(0x1,_0x2ef637[_0x2cf95d(0x412)]),_0x4e0209(0x2,_0x2ef637[_0x2cf95d(0x1e1)]),_0x4e0209(0x3,_0x2ef637['Inject'](_0x416c4d[_0x2cf95d(0x276)])),_0x4e0209(0x4,_0x2ef637['IUniverInstanceService']),_0x4e0209(0x5,_0x2ef637[_0x2cf95d(0x387)]),_0x4e0209(0x6,_0x2ef637['Inject'](_0x2ef637[_0x2cf95d(0x33a)]))],_0x1805a9);var _0x5d9a1e=Object[_0x2cf95d(0x457)],_0xd28c35=(_0x1c44e0,_0x1e2d2f,_0x16cbb1,_0x456ebf)=>{const _0x12636b=_0x2cf95d;for(var _0x2e63d7=_0x456ebf>0x1?void 0x0:_0x456ebf?_0x5d9a1e(_0x1e2d2f,_0x16cbb1):_0x1e2d2f,_0x35753e=_0x1c44e0[_0x12636b(0x3e6)]-0x1,_0x325957;_0x35753e>=0x0;_0x35753e--)(_0x325957=_0x1c44e0[_0x35753e])&&(_0x2e63d7=_0x325957(_0x2e63d7)||_0x2e63d7);return _0x2e63d7;},_0x40fe95=(_0x2ce5ce,_0x111824)=>(_0x4be77a,_0x522688)=>_0x111824(_0x4be77a,_0x522688,_0x2ce5ce);let _0x1d3d25=class extends _0x2ef637[_0x2cf95d(0x26a)]{constructor(_0x33aad3,_0x1e4495,_0x96e8b8){const _0x4a83c0=_0x2cf95d;super(),_0x536638(this,'_cachedData',new Map()),_0x536638(this,'_saveTaskMap',new Map()),_0x536638(this,_0x4a83c0(0x36a),!0x1),(this['_configService']=_0x33aad3,this[_0x4a83c0(0x309)]=_0x1e4495,this[_0x4a83c0(0x448)]=_0x96e8b8);}[_0x2cf95d(0x450)](){const _0x41d41a=_0x2cf95d;this[_0x41d41a(0x36a)]=!0x0;}[_0x2cf95d(0x38b)](){const _0x1ce53f=_0x2cf95d;this[_0x1ce53f(0x36a)]=!0x1;}get['saveTaskMap'](){const _0xa9a78=_0x2cf95d;return this[_0xa9a78(0x3fe)];}['dispose'](){const _0x4318d5=_0x2cf95d;this[_0x4318d5(0x41a)]()[_0x4318d5(0x1c7)](()=>super[_0x4318d5(0x359)]());}async[_0x2cf95d(0x224)](_0xd02876){const _0xa1a37f=_0x2cf95d;return this[_0xa1a37f(0x36a)]?null:this['_localStorageService']['getItem'](_0x5f2bfa[_0xa1a37f(0x201)](_0xd02876));}async['saveOfflineData'](_0x1e1a0e,_0x5ae2cc){const _0x57a928=_0x2cf95d;return!!this[_0x57a928(0x309)][_0x57a928(0x2c8)](_0x1e1a0e,_0x5ae2cc);}[_0x2cf95d(0x32d)](_0x2e3041,_0x2552b1,_0x48a3e1,_0x2e415a){const _0x5f3ae6=_0x2cf95d,_0x315e66=this[_0x5f3ae6(0x448)]['getCurrentRevOfUnit'](_0x2e3041);this[_0x5f3ae6(0x374)][_0x5f3ae6(0x2f5)](_0x2e3041,{'unitID':_0x2e3041,'type':_0x2552b1,'awaitingChangeset':_0x48a3e1,'mutations':_0x2e415a,'rev':_0x315e66}),this[_0x5f3ae6(0x3fe)]['has'](_0x2e3041)||this[_0x5f3ae6(0x471)](_0x2e3041);}[_0x2cf95d(0x471)](_0x58665d){const _0x355e0e=_0x2cf95d,_0x1474f1=this[_0x355e0e(0x37a)]();_0x1474f1===0x0?this[_0x355e0e(0x40b)](_0x58665d):this[_0x355e0e(0x3fe)][_0x355e0e(0x2f5)](_0x58665d,setTimeout(()=>this[_0x355e0e(0x40b)](_0x58665d),_0x1474f1));}['_getSaveTimeout'](){const _0x3a8ae6=_0x2cf95d;var _0x443a8a;return(_0x443a8a=this[_0x3a8ae6(0x23d)][_0x3a8ae6(0x361)](_0x5f2bfa[_0x3a8ae6(0x250)]))!=null?_0x443a8a:_0x5f2bfa[_0x3a8ae6(0x324)];}[_0x2cf95d(0x40b)](_0x4a7a78){const _0x293ce2=_0x2cf95d,_0x1a4acc=this[_0x293ce2(0x3fe)][_0x293ce2(0x3c7)](_0x4a7a78);return _0x1a4acc!==void 0x0&&window[_0x293ce2(0x27e)](_0x1a4acc),this['_localStorageService'][_0x293ce2(0x2c8)](_0x5f2bfa[_0x293ce2(0x201)](_0x4a7a78),this['_cachedData'][_0x293ce2(0x3c7)](_0x4a7a78))['then'](()=>this[_0x293ce2(0x3fe)][_0x293ce2(0x226)](_0x4a7a78));}async[_0x2cf95d(0x41a)](){const _0x2961a2=_0x2cf95d,_0x2d799c=[];this['_saveTaskMap'][_0x2961a2(0x35c)]((_0x25affb,_0x330e8a)=>{const _0x26e8cc=_0x2961a2;window['clearTimeout'](_0x25affb),_0x2d799c[_0x26e8cc(0x316)](this['_saveCache'](_0x330e8a)[_0x26e8cc(0x1c7)](()=>{const _0x3424fd=_0x26e8cc;this[_0x3424fd(0x3fe)][_0x3424fd(0x226)](_0x330e8a);}));}),await Promise['all'](_0x2d799c);}};_0x1d3d25=_0xd28c35([_0x40fe95(0x0,_0x2ef637[_0x2cf95d(0x1e1)]),_0x40fe95(0x1,_0x2ef637[_0x2cf95d(0x272)]),_0x40fe95(0x2,_0x2ef637[_0x2cf95d(0x3fa)](_0xffee1f[_0x2cf95d(0x263)]))],_0x1d3d25);class _0x1dd4c1 extends _0x2ef637[_0x2cf95d(0x29c)]{constructor(){const _0x384c92=_0x2cf95d;super(),_0x536638(this,_0x384c92(0x284)),this[_0x384c92(0x284)]=_0x35d2e5[_0x384c92(0x265)](window,'popstate')[_0x384c92(0x40f)](_0x35d2e5[_0x384c92(0x2a5)](this[_0x384c92(0x1e2)]),_0x35d2e5[_0x384c92(0x1be)](0x1),_0x35d2e5[_0x384c92(0x378)](void 0x0));}[_0x2cf95d(0x3b8)](_0x4e335a,_0x172748,_0x34ff9f=!0x1){const _0x8baf81=_0x2cf95d,_0x1fe8e3=new URL(window[_0x8baf81(0x2d7)][_0x8baf81(0x375)]);_0x1fe8e3[_0x8baf81(0x41f)][_0x8baf81(0x2f5)](_0x4e335a,_0x172748),_0x34ff9f?window['history'][_0x8baf81(0x34f)]('','',_0x1fe8e3['toString']()):window[_0x8baf81(0x22f)][_0x8baf81(0x381)]('','',_0x1fe8e3[_0x8baf81(0x2d9)]());}[_0x2cf95d(0x202)](_0xb8989f,_0x1ea047=!0x1){const _0x135061=_0x2cf95d,_0x6547b3=new URL(window[_0x135061(0x2d7)][_0x135061(0x375)]);_0x6547b3[_0x135061(0x41f)]['delete'](_0xb8989f),_0x1ea047?window['history'][_0x135061(0x34f)]('','',_0x6547b3[_0x135061(0x2d9)]()):window[_0x135061(0x22f)]['pushState']('','',_0x6547b3[_0x135061(0x2d9)]());}[_0x2cf95d(0x1fb)](_0x33b25c){const _0x5ede39=_0x2cf95d;var _0xaab1d8;return(_0xaab1d8=new URL(window['location'][_0x5ede39(0x375)])[_0x5ede39(0x41f)][_0x5ede39(0x3c7)](_0x33b25c))!=null?_0xaab1d8:void 0x0;}}var _0x37bc50=Object[_0x2cf95d(0x367)],_0x179ead=Object[_0x2cf95d(0x457)],_0x2cc478=(_0x2524a4,_0x3eaa65,_0x5dd0d8)=>_0x3eaa65 in _0x2524a4?_0x37bc50(_0x2524a4,_0x3eaa65,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x5dd0d8}):_0x2524a4[_0x3eaa65]=_0x5dd0d8,_0x51b7a6=(_0x54b256,_0x433019,_0x18ecbc,_0xf52538)=>{const _0x2cf0d7=_0x2cf95d;for(var _0x40de7d=_0xf52538>0x1?void 0x0:_0xf52538?_0x179ead(_0x433019,_0x18ecbc):_0x433019,_0x4ef9f3=_0x54b256[_0x2cf0d7(0x3e6)]-0x1,_0x539a21;_0x4ef9f3>=0x0;_0x4ef9f3--)(_0x539a21=_0x54b256[_0x4ef9f3])&&(_0x40de7d=_0x539a21(_0x40de7d)||_0x40de7d);return _0x40de7d;},_0x39a6ce=(_0x461fac,_0x215b5d)=>(_0x5b76dc,_0x14cde7)=>_0x215b5d(_0x5b76dc,_0x14cde7,_0x461fac),_0x3a3a1b=(_0x13144c,_0x8bd4de,_0x1d5b1c)=>_0x2cc478(_0x13144c,_0x8bd4de+'',_0x1d5b1c);const _0x434ece='UNIVER_COLLABORATION_CLIENT_WEB_PLUGIN';_0x4c7ce2[_0x2cf95d(0x1d6)]=class extends _0x2ef637[_0x2cf95d(0x279)]{constructor(_0x2b6a91=_0x19c4b6,_0xe2375e,_0x2dec3f,_0x5e46eb){const _0x425737=_0x2cf95d;super(),this[_0x425737(0x1b1)]=_0x2b6a91,this['_renderManagerService']=_0xe2375e,this[_0x425737(0x30c)]=_0x2dec3f,this[_0x425737(0x23d)]=_0x5e46eb;const {..._0x5d287e}=_0x2ef637[_0x425737(0x1ff)]({},_0x19c4b6,this[_0x425737(0x1b1)]);this[_0x425737(0x23d)][_0x425737(0x31b)](_0x206a74,_0x5d287e);}[_0x2cf95d(0x24f)](){const _0x39bcbd=_0x2cf95d;this[_0x39bcbd(0x408)](),this['_initDependencies']();}[_0x2cf95d(0x34d)](){const _0x19bee3=_0x2cf95d;this[_0x19bee3(0x34c)]();}[_0x2cf95d(0x408)](){const _0x341c48=_0x2cf95d;var _0x2b3cb4;const _0xe8ac2f=[[_0x371edb],[_0x1805a9],[_0x2621ee],[_0x241a2c],[_0x184a1d],[_0x5419b8],[_0x5026ec,{'useClass':_0x1dd4c1}],[_0x416c4d[_0x341c48(0x45d)],{'useClass':_0x416c4d['WebSocketService']}],[_0x5f2bfa[_0x341c48(0x233)],{'useClass':_0x1d3d25}],[_0x4c7ce2['DesktopCollaborationStatusDisplayController']],[_0x40a03e],[_0xd0660e],[_0x41b2ac],[_0x28ec89],[_0x4c7ce2['CollaborationDataLoaderController']]];_0x2ef637[_0x341c48(0x1cd)](this['_injector'],_0x2ef637['mergeOverrideWithDependencies'](_0xe8ac2f,(_0x2b3cb4=this[_0x341c48(0x1b1)])==null?void 0x0:_0x2b3cb4[_0x341c48(0x206)]));}[_0x2cf95d(0x34c)](){const _0x569940=_0x2cf95d;this[_0x569940(0x2c3)](this[_0x569940(0x3cc)]['registerRenderModule'](_0x2ef637['UniverInstanceType'][_0x569940(0x2f1)],[_0x49cd9d])),this[_0x569940(0x2c3)](this[_0x569940(0x3cc)][_0x569940(0x384)](_0x2ef637[_0x569940(0x29a)][_0x569940(0x318)],[_0x398529]));}[_0x2cf95d(0x341)](){const _0x320a3e=_0x2cf95d;_0x2ef637['touchDependencies'](this[_0x320a3e(0x30c)],[[_0x41b2ac],[_0x4c7ce2[_0x320a3e(0x418)]],[_0x40a03e],[_0xd0660e],[_0x4c7ce2[_0x320a3e(0x25b)]],[_0x1805a9]]);}},_0x3a3a1b(_0x4c7ce2[_0x2cf95d(0x1d6)],_0x2cf95d(0x252),_0x434ece),_0x4c7ce2[_0x2cf95d(0x1d6)]=_0x51b7a6([_0x2ef637[_0x2cf95d(0x31f)](_0x5f2bfa[_0x2cf95d(0x403)]),_0x39a6ce(0x1,_0x35408c[_0x2cf95d(0x253)]),_0x39a6ce(0x2,_0x2ef637[_0x2cf95d(0x3fa)](_0x2ef637['Injector'])),_0x39a6ce(0x3,_0x2ef637[_0x2cf95d(0x1e1)])],_0x4c7ce2['UniverCollaborationClientUIPlugin']);var _0x19e725=Object['getOwnPropertyDescriptor'],_0x2de09e=(_0x3bdb70,_0x4dafcf,_0x3ed807,_0x5ad576)=>{for(var _0x5bdb39=_0x5ad576>0x1?void 0x0:_0x5ad576?_0x19e725(_0x4dafcf,_0x3ed807):_0x4dafcf,_0x23e7d2=_0x3bdb70['length']-0x1,_0x2a4aa5;_0x23e7d2>=0x0;_0x23e7d2--)(_0x2a4aa5=_0x3bdb70[_0x23e7d2])&&(_0x5bdb39=_0x2a4aa5(_0x5bdb39)||_0x5bdb39);return _0x5bdb39;},_0x55a2a9=(_0x2a98d1,_0x370b60)=>(_0x3a486b,_0x405589)=>_0x370b60(_0x3a486b,_0x405589,_0x2a98d1);_0x4c7ce2['BrowserCollaborationSocketService']=class extends _0x5f2bfa[_0x2cf95d(0x1b0)]{constructor(_0x253480,_0x325a6c,_0x32fd89,_0x68ee21,_0x13efdf){super(_0x253480,_0x325a6c,_0x32fd89,_0x68ee21,_0x13efdf);}async[_0x2cf95d(0x257)](_0x3ebba7){const _0x2027b3=_0x2cf95d,_0xfe8510=await this['_getSessionTicket'](),_0x50ba1c=this['_createSocketURL'](_0x3ebba7,_0xfe8510);return this[_0x2027b3(0x41d)](_0x50ba1c);}[_0x2cf95d(0x425)](_0x336ac9,_0x59aacb){const _0x5d2d92=_0x2cf95d,_0x2fdeed=typeof window>'u'?new URL(_0x336ac9):new URL(_0x336ac9,window['location'][_0x5d2d92(0x273)]);_0x2fdeed[_0x5d2d92(0x41f)][_0x5d2d92(0x2f5)](_0x5d2d92(0x1a6),_0x59aacb);const _0x658870=typeof window>'u'?new URLSearchParams():new URLSearchParams(window[_0x5d2d92(0x2d7)]['search']);return _0x658870[_0x5d2d92(0x3c7)](_0x5d2d92(0x22c))&&_0x2fdeed['searchParams'][_0x5d2d92(0x2f5)](_0x5d2d92(0x22c),_0x658870[_0x5d2d92(0x3c7)]('runId')),_0x2fdeed[_0x5d2d92(0x2d9)]();}async['_getSessionTicket'](){const _0x1f3a23=_0x2cf95d;var _0x2a9834,_0x1d14cd,_0x6d26f;const _0x1fa809=this['_configService']['getConfig'](_0x5f2bfa[_0x1f3a23(0x22e)]),_0x16c656=(_0x2a9834=_0x1fa809==null?void 0x0:_0x1fa809[_0x1f3a23(0x2ae)])!=null?_0x2a9834:_0x5f2bfa[_0x1f3a23(0x3ea)];return(_0x6d26f=(_0x1d14cd=(await this[_0x1f3a23(0x435)]['get'](_0x16c656,{'headers':{'Content-Type':_0x1f3a23(0x26d)}}))['body'])==null?void 0x0:_0x1d14cd['ticket'])!=null?_0x6d26f:'';}},_0x4c7ce2[_0x2cf95d(0x1c6)]=_0x2de09e([_0x55a2a9(0x0,_0x2ef637['Inject'](_0x2ef637['Injector'])),_0x55a2a9(0x1,_0x2ef637[_0x2cf95d(0x3fa)](_0x416c4d['HTTPService'])),_0x55a2a9(0x2,_0x2ef637[_0x2cf95d(0x1e1)]),_0x55a2a9(0x3,_0x2ef637[_0x2cf95d(0x387)]),_0x55a2a9(0x4,_0xffee1f[_0x2cf95d(0x385)])],_0x4c7ce2['BrowserCollaborationSocketService']);var _0x38d47c=Object[_0x2cf95d(0x457)],_0x32390c=(_0x22f3c1,_0x536a1a,_0x3b80be,_0x22142a)=>{const _0x3bb38d=_0x2cf95d;for(var _0x2f0a10=_0x22142a>0x1?void 0x0:_0x22142a?_0x38d47c(_0x536a1a,_0x3b80be):_0x536a1a,_0x3c4d12=_0x22f3c1[_0x3bb38d(0x3e6)]-0x1,_0x1cd65f;_0x3c4d12>=0x0;_0x3c4d12--)(_0x1cd65f=_0x22f3c1[_0x3c4d12])&&(_0x2f0a10=_0x1cd65f(_0x2f0a10)||_0x2f0a10);return _0x2f0a10;},_0x2c289e=(_0x9a73c0,_0x267582)=>(_0x3b1548,_0x24421a)=>_0x267582(_0x3b1548,_0x24421a,_0x9a73c0);_0x4c7ce2[_0x2cf95d(0x307)]=class extends _0x2ef637[_0x2cf95d(0x26a)]{constructor(_0x2cb9c0,_0x199cd1,_0x498f6b){const _0x2eab3e=_0x2cf95d;super(),this[_0x2eab3e(0x19e)]=_0x2cb9c0,this[_0x2eab3e(0x435)]=_0x199cd1,this[_0x2eab3e(0x23d)]=_0x498f6b;}async[_0x2cf95d(0x433)](_0x30e4eb,_0x3f2ea0,_0x1fb3b5,..._0xb2539a){const _0x22f381=_0x2cf95d;var _0xe10d80,_0x238b81,_0x348fc6,_0xbf3771;const _0x48e854=this[_0x22f381(0x19e)]['getFocusedUnit']();if(!_0x48e854)throw new Error('[RemoteUniscriptService]:\x20no\x20focused\x20unit');const _0x2057d4=((_0xe10d80=this[_0x22f381(0x23d)][_0x22f381(0x361)](_0x5f2bfa[_0x22f381(0x209)]))!=null?_0xe10d80:_0x5f2bfa[_0x22f381(0x399)])+'/'+_0x30e4eb+_0x22f381(0x38a)+_0x3f2ea0,_0x480099=new URL(window[_0x22f381(0x2d7)][_0x22f381(0x375)]),_0x1c52af={'scriptId':_0x30e4eb,'runId':(_0x238b81=_0x480099[_0x22f381(0x41f)][_0x22f381(0x3c7)](_0x22f381(0x22c)))!=null?_0x238b81:'','function':_0x3f2ea0,'unitId':_0x48e854[_0x22f381(0x35a)](),'argsOfFunction':JSON[_0x22f381(0x39f)](_0xb2539a),'invokeId':(_0x348fc6=_0x1fb3b5['invokeId'])!=null?_0x348fc6:'','executionId':(_0xbf3771=_0x1fb3b5['executionId'])!=null?_0xbf3771:''};try{const _0x254e79=await this[_0x22f381(0x435)]['post'](_0x2057d4,{'body':_0x1c52af});return _0x254e79[_0x22f381(0x3da)][_0x22f381(0x3f3)]&&_0x254e79[_0x22f381(0x3da)][_0x22f381(0x3f3)][_0x22f381(0x3b3)]!==_0x1c5d04['OK']?_0x22f381(0x437):_0x254e79[_0x22f381(0x3da)][_0x22f381(0x1d0)];}catch{return _0x22f381(0x437);}}},_0x4c7ce2[_0x2cf95d(0x307)]=_0x32390c([_0x2c289e(0x0,_0x2ef637[_0x2cf95d(0x25f)]),_0x2c289e(0x1,_0x2ef637[_0x2cf95d(0x3fa)](_0x416c4d[_0x2cf95d(0x276)])),_0x2c289e(0x2,_0x2ef637[_0x2cf95d(0x1e1)])],_0x4c7ce2['RemoteUniscriptService']);const _0x3446c2=0x7530,_0x119a9e=_0x2cf95d(0x46d);class _0x3c3c67 extends _0x2ef637[_0x2cf95d(0x26a)]{constructor(){const _0xa87645=_0x2cf95d;super(),_0x536638(this,_0xa87645(0x1eb),_0x2ef637[_0xa87645(0x2ec)]()),_0x536638(this,_0xa87645(0x454),new Set()),_0x536638(this,_0xa87645(0x452),new Map()),_0x536638(this,_0xa87645(0x2a1),null),_0x536638(this,_0xa87645(0x299),new Map()),_0x536638(this,_0xa87645(0x3a8),new Map()),this[_0xa87645(0x303)]();}['dispose'](){const _0x3ea54d=_0x2cf95d;super[_0x3ea54d(0x359)](),this[_0x3ea54d(0x299)][_0x3ea54d(0x35c)]((_0x2d1725,_0x441c57)=>this[_0x3ea54d(0x3a4)](_0x441c57)),this[_0x3ea54d(0x2a1)]&&window[_0x3ea54d(0x1c5)](this[_0x3ea54d(0x2a1)]);}['getUnitStatus$'](_0x32ec0c){const _0x10f2b0=_0x2cf95d;return this['_ensureSubject'](_0x32ec0c)['pipe'](_0x35d2e5[_0x10f2b0(0x1da)]());}[_0x2cf95d(0x1a7)](_0x2c234d){const _0x4c8ad8=_0x2cf95d;this['_selfUnitIDs'][_0x4c8ad8(0x207)]===0x0&&this[_0x4c8ad8(0x3a1)](),this[_0x4c8ad8(0x454)]['add'](_0x2c234d),this[_0x4c8ad8(0x2af)]({'type':0x0,'memberID':this[_0x4c8ad8(0x1eb)],'unitIDs':[_0x2c234d],'isForwarded':!0x1});}[_0x2cf95d(0x3b1)](_0x93bb18){const _0x39f906=_0x2cf95d;this[_0x39f906(0x454)][_0x39f906(0x226)](_0x93bb18),this[_0x39f906(0x454)]['size']===0x0&&this['_heartbeatTimer']&&window[_0x39f906(0x1c5)](this[_0x39f906(0x2a1)]);}[_0x2cf95d(0x303)](){const _0x405925=_0x2cf95d;this[_0x405925(0x2c3)](_0x2ef637[_0x405925(0x236)](_0x35d2e5[_0x405925(0x265)](window,'storage')[_0x405925(0x335)](_0x17ad71=>{const _0x27f295=_0x405925;if(_0x17ad71['key']!==_0x119a9e||!_0x17ad71[_0x27f295(0x281)])return;const _0x2fafa4=JSON[_0x27f295(0x41c)](_0x17ad71[_0x27f295(0x281)]);this[_0x27f295(0x20b)](_0x2fafa4);}))),window['addEventListener'](_0x405925(0x237),()=>this[_0x405925(0x2af)]({'type':0x1,'memberID':this[_0x405925(0x1eb)],'unitIDs':Array[_0x405925(0x2e6)](this['_selfUnitIDs'])}));}[_0x2cf95d(0x20b)](_0x592779){const _0x60eff1=_0x2cf95d;switch(_0x592779[_0x60eff1(0x35b)]){case 0x0:this[_0x60eff1(0x21e)](_0x592779);break;case 0x1:this['_handleLeaveEvent'](_0x592779);break;case 0x2:this['_handleHeartbeatEvent'](_0x592779);break;}}['_handleJoinEvent'](_0x9c9344){const _0x35dc8b=_0x2cf95d,{unitIDs:_0x4c6e89,memberID:_0x1375da,isForwarded:_0x2ffef0}=_0x9c9344;_0x4c6e89[_0x35dc8b(0x35c)](_0x411145=>{const _0xf0a4b3=_0x35dc8b;if(!_0x2ffef0&&this[_0xf0a4b3(0x452)][_0xf0a4b3(0x2ac)](_0x411145)&&this[_0xf0a4b3(0x264)](_0x411145)[_0xf0a4b3(0x248)](_0x5f2bfa[_0xf0a4b3(0x2f2)][_0xf0a4b3(0x36f)]),!this[_0xf0a4b3(0x452)]['has'](_0x411145)||!this[_0xf0a4b3(0x452)]['get'](_0x411145)[_0xf0a4b3(0x2ac)](_0x1375da)){const _0x7244d8=this[_0xf0a4b3(0x452)][_0xf0a4b3(0x3c7)](_0x411145)||new Set();_0x7244d8[_0xf0a4b3(0x1de)](_0x1375da),this[_0xf0a4b3(0x452)][_0xf0a4b3(0x2f5)](_0x411145,_0x7244d8),this[_0xf0a4b3(0x211)](_0x1375da);}}),_0x2ffef0||this[_0x35dc8b(0x2af)]({'type':0x0,'memberID':this[_0x35dc8b(0x1eb)],'unitIDs':[...this[_0x35dc8b(0x454)]],'isForwarded':!0x0});}[_0x2cf95d(0x211)](_0x13cee5){const _0xeff8c7=_0x2cf95d;this[_0xeff8c7(0x3a4)](_0x13cee5);const _0x315f06=window[_0xeff8c7(0x358)](()=>{const _0x57d3b2=_0xeff8c7;this[_0x57d3b2(0x452)]['forEach'](_0x4754f7=>{const _0x3dfbd4=_0x57d3b2;_0x4754f7[_0x3dfbd4(0x226)](_0x13cee5);});},_0x3446c2*0x2);this['_clearOtherTimers']['set'](_0x13cee5,_0x315f06);}[_0x2cf95d(0x3a4)](_0x245853){const _0x6f51cd=_0x2cf95d;if(this['_clearOtherTimers'][_0x6f51cd(0x2ac)](_0x245853)){const _0x5ef841=this[_0x6f51cd(0x299)][_0x6f51cd(0x3c7)](_0x245853);_0x5ef841&&window[_0x6f51cd(0x27e)](_0x5ef841),this['_clearOtherTimers']['set'](_0x245853,null);}}[_0x2cf95d(0x458)](_0x77558){const _0x1e4111=_0x2cf95d,{memberID:_0x57ee20,unitIDs:_0x2133cc}=_0x77558;_0x2133cc['forEach'](_0x2d75dc=>{const _0x3a9a87=_0x3278;var _0x47b2d8;const _0x4e8d0a=this[_0x3a9a87(0x452)][_0x3a9a87(0x3c7)](_0x2d75dc);_0x4e8d0a&&(_0x4e8d0a[_0x3a9a87(0x226)](_0x57ee20),(_0x47b2d8=this[_0x3a9a87(0x264)](_0x2d75dc))==null||_0x47b2d8['next'](_0x4e8d0a[_0x3a9a87(0x207)]===0x0?_0x5f2bfa[_0x3a9a87(0x2f2)][_0x3a9a87(0x1cc)]:_0x5f2bfa[_0x3a9a87(0x2f2)][_0x3a9a87(0x36f)]));}),this[_0x1e4111(0x3a4)](_0x57ee20);}[_0x2cf95d(0x37d)](_0x2da709){const _0x1bebfa=_0x2cf95d;this[_0x1bebfa(0x211)](_0x2da709[_0x1bebfa(0x300)]);}['_send'](_0x3aaa85){const _0x280fe8=_0x2cf95d;localStorage[_0x280fe8(0x2c8)](_0x119a9e,JSON[_0x280fe8(0x39f)](_0x3aaa85));}['_scheduleHeartbeat'](){const _0x26cb6d=_0x2cf95d;this[_0x26cb6d(0x2a1)]=window[_0x26cb6d(0x3c8)](()=>{const _0x1255de=_0x26cb6d;this[_0x1255de(0x2af)]({'type':0x2,'memberID':this[_0x1255de(0x1eb)]});},_0x3446c2);}[_0x2cf95d(0x264)](_0x5a8e5a){const _0x272eff=_0x2cf95d;return this[_0x272eff(0x3a8)]['has'](_0x5a8e5a)||this[_0x272eff(0x3a8)][_0x272eff(0x2f5)](_0x5a8e5a,new _0x35d2e5[(_0x272eff(0x27d))](_0x5f2bfa[_0x272eff(0x2f2)][_0x272eff(0x1cc)])),this[_0x272eff(0x3a8)]['get'](_0x5a8e5a);}}_0x4c7ce2['IURLService']=_0x5026ec,_0x4c7ce2[_0x2cf95d(0x351)]=_0xf90746,_0x4c7ce2[_0x2cf95d(0x2dd)]=_0x3c3c67,_0x4c7ce2[_0x2cf95d(0x271)]=_0x1dd4c1,Object['defineProperty'](_0x4c7ce2,Symbol[_0x2cf95d(0x463)],{'value':_0x2cf95d(0x2d6)});}));function _0x3278(_0x2e6791,_0xcae251){const _0x162bac=_0x162b();return _0x3278=function(_0x3278ca,_0x525628){_0x3278ca=_0x3278ca-0x19c;let _0x512220=_0x162bac[_0x3278ca];return _0x512220;},_0x3278(_0x2e6791,_0xcae251);}function _0x162b(){const _0x48d8fc=['ERROR_AGAIN','NOT_FOUND','data','_hideTimer','_docTransformStateCacheService','BuiltInUIPart','disposeWithMe','Success','START_CALCULATION','MOBILE_VERIFY_CODE_MISMATCH','redoState','setItem','setUndoRedoMutationParamsCache','_eventUnsubscribe','_setupSubUnitSync','includes','handleIRemoveCol','DocSkeletonManagerService','collaboration-client.offline-data-not-saved','entries','getMemberID','_startDocCollabCursor','collab-text-range-','REDEMPTION_USER_REDEEM_TIMES_EXCEED','CanceledError','Module','location','permission.title','toString','engine','stage','Loading','WebBrowserSingleActiveUnitService','text','onMouseMove','RichTextEditingMutation','@univerjs/engine-render','_anchor','SessionStatus','getCollabCursors$','FormulaExecuteStageType','from','LICENSE_DISTRO_REJECTED','collab-client.tooltip.reconnect','setStateCache','UniverProCollaborationClient','INVITE_CODE_ALREADY_BOUND','generateRandomId','TEXT_RANGE_LAYER_INDEX','rgba(255,\x20255,\x20255,\x200.01)','_onCursorUpdate','_initEvent','UNIVER_DOC','UnitStatus','NodePositionConvertToCursor','TEXT','set','InsertRangeMoveRightCommandId','OffLineIcon','_backgroundColor','_range','_setupBeforeClosingHandler','_lastResponseTimestamp','startsWith','REDEMPTION_CODE_NOT_STARTED','NOT_COLLAB','DocIMEInputManagerService','memberID','react','_cursor','_init','top','xlink:href','IBeforeCloseService','RemoteUniscriptService','resize','_localStorageService','Error','InsertRangeMoveDownCommandId','_injector','startRow','createElement','_collabCursorController','drawWith','executeCommand','defs','@univerjs/docs','1em','_themeService','push','_notificationService','UNIVER_SHEET','find','Rect','setConfig','syncEditingCollabCursor','Shape','COLORS','DependentOn','debounceTime','combineLatest','height','UPDATE_CURSOR','LOCAL_CACHE_INTERVAL','blue.400','InsertColCommandId','DocStateChangeManagerService','debug','roomMembers','onPointerLeave$','_getFormulaLimitStatus','values','updateOfflineData','_getAnchorBounding','textRanges','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','currentColor','SHEET_VIEWPORT_KEY','EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','onPointerEnter$','subscribe','_online','CommandType','_draw','asObservable','LocaleService','attrs','currentSkeleton$','_localeService','_labelPosition','UNRECOGNIZED','APPLY_REVISION_CONFILICT','_initDependencies','72055USgrnr','some','ENTITLE_REPORT_LIMIT_EXCEED','addObject','_anchorDot','SUCCESS','getColorFromTheme','@univerjs-pro/collaboration-client','11025873LIUUIS','_shapes','_registerRenderDependencies','onRendered','univer-text-sm\x20univer-leading-8\x20univer-text-gray-600\x20dark:!univer-text-gray-200','replaceState','setShapeProps','SheetCollabCursorShape','_collabSessionService','deserializeRangeWithSheet','UNDEFINED','AWAITING','sheetId','limitInfo','setTimeout','dispose','getUnitId','type','forEach','_startCalculationLimit','_cursorShapes','_updateLocalCursor','YUUMI_NO_CUBOID_FOR_QUESTION','getConfig','loadUnit','getRenderById','collabStatus.syncing','handleInsertCol','REDEMPTION_USER_NOT_ELIGIBLE','defineProperty','with','_localCacheService','_disabled','white','_dataLoaderService','ENTITLE_DUP_SUBSCRIPTION','collabStatus.fetchMiss','OTHER_CLIENTS_EDITING','handleIRemoveRow','YUUMI_CONNECTOR_URL_NOT_FOUND','unshift','@univerjs/sheets-ui','_cachedData','href','parseInt','2595580nfTYZM','mapTo','substring','_getSaveTimeout','CollaborationController','@univerjs/rpc','_handleHeartbeatEvent','getCellPositionByOffset','url(#$1','getRangePointData','pushState','forwardRef','UniverRpc','registerRenderModule','ISnapshotServerService','USER_NOT_INVITED_CODE','ILogService','rxjs','FromArray','/run/','enableLocalCache','source','TRANSFORM_CHANGE_OBSERVABLE_TYPE','@univerjs/drawing','event$','SetWorksheetActivateCommand','INVITE_CODE_REQUIRED','_memberService','registerRefRange','undoState','colorChannel1','session.connection-failed','_startSheetCollabCursor','labelPosition','DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','fromEventSubject','registerComponent','_refRangeService','MemberService','getUniverSheetInstance','stringify','_commandService','_scheduleHeartbeat','_docClipboardService','SNAPSHOT_HAS_BEEN_REMOVED','_removeClearOtherTimer','_session','LICENSE_IMPORT_SIZE_EXCEEDED','subUnitId','_unitStatus','_drawRectRange','_messageService','DeleteRangeMoveUpCommandId','getSheetBySheetId','registerBeforeClose','UniverProCollaboration','none','Injector','disposeUnit','serializeRangeWithSheet','code','OTHER_CLIENT_EDITING','RECT','uni.network.url-service','Unknown\x20user','setParam','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','_updateURLWithCurrentState','show','_drawTextRange','measureText','color','ThemeService','assignAColorForMemberID','displayName','CONFLICT','1244793OGONGe','SetTextSelectionsOperation','_textBubble','fillRule','get','setInterval','_docTransformSelectionsService','?taskId=','APPLY_REJECT','_renderManagerService','http://www.w3.org/2000/svg','debounce','totalFormulasToCalculate','univer-flex\x20univer-items-center','HEADER_MENU','FETCH_MISS','AUTHORIZE_CODE_ILLEGAL','Tooltip','getColor','beforeCommandExecuted','658512uSFQcr','EffectRefRangId','_toggleOnline','body','_clearPolling','CollaborationUIEventId','split','DOC_RANGE_TYPE','_hover','trim','cursorInfo$','setAlpha','lineTo','IUIPartsService','_docTransformIMECacheService','length','fillStyle','_applyCommand','_updateCollabCursors','DEFAULT_WS_SESSION_TICKET_URL','send','INVALID_ARGUMENT','_transformPreviousActiveRange','_beforeCloseService','post','_univerInstanceService','getUnhiddenWorksheets','_initResize','error','transformByState','unit','_hasFormulaInDirtyRanges','APPLY_NON_SEQUENTIAL_REVISION','handleInsertRangeMoveRight','addHandlerCallback','Inject','off-line-icon_clip0_910_343','round','useDependency','_saveTaskMap','init','onTransformChange$','amd','getCoordByCell','UniverCollaborationClientPlugin','SOCKET_FAILED','ENTITLE_NEED_BILLING_ADDRESS','unitID','green.600','_registerDependencies','_pollingInterval','Tools','_saveCache','CollaborationUIEventService','INVITE_CODE_HAS_BEEN_UES','DisposableCollection','pipe','_releaseCalculationLimit','sessionStatus$','ICommandService','_checkCalculationAvailable','_initCommandInterceptor','selection','_hovered','focused$','DesktopCollaborationStatusDisplayController','_drawAnchor','exhaustSavingTask','IDocClipboardService','parse','_doCreateSocket','_handleHover','searchParams','SetFormulaCalculationStartMutation','#FFF','transformRemoteChangeset','mask','black','_createSocketURL','doc.mutation.rich-text-editing','[CollaborationDataLoaderController]','_initStatusListener','yellow.400','_onCursorDelete','min','@univerjs/engine-formula','INTERNAL_ERROR','getCurrentUnitForType','YUUMI_RATE_OVER_LIMIT','width','ALREADY_EXISTS','React','runOnServer','getformulaLimitStatusUrl','_httpService','fill','Failed','moveTo','getMergeData','_logService','collab-text-anchor-','DocSelectionManagerService','fillText','_docSyncEditingCollabCursorService','replaceDocRanges','maxFormulaLimit','switchMap','@univerjs/sheets','map','isActive','YUUMI_AI_RUN_FAILED','translate(.97)','handleDeleteRangeMoveUp','_revisionService','ENTITLE_INSUFFICIENT_QUOTA','transformStateCache','/universer-api/license/formula/limit/done','28RISMxj','formula.calculation.waiting','idSuffix','_docSkeletonManagerService','disableLocalCache','ranges','_unitOnClients','LOGIN_FAILED','_selfUnitIDs','_initCommandExecutedListener','EMAIL_HAS_BEEN_BOUND','getOwnPropertyDescriptor','_handleLeaveEvent','subunit','_docStateChangeManagerService','transform','univerjs-icon\x20univerjs-icon-','ISocketService','permission.content','status$','save','_scene','isFormulaId','toStringTag','session.will-retry','m2Prime','getAncestorScale','DeleteRangeMoveLeftCommandId','FormulaExecutedStateType','CollaborationStatus','eventID','rxjs/operators','Vector2','ACTIVE_UNIT_EVENT_CHANNEL','getViewport','CURRENT_STATUS_CANNOT_OPERATE','transformIMECache','_scheduleSaving','svg','contains','_instanceService','5341134NMnFOW','isTransformMutationFailure','endRow','children','_removeCollabCursors','getCellMatrix','CONNECTOR_DATA_TOO_LARGE','sessionTicket','editingUnit','getUndoRedoMutationParamsCache','_transformService','getActiveRange','hovered','_updateSubUnitFromURLParams','getRelativeToViewportCoord','replace','SOCKET_FAILED_RETRY','CollaborationSocketService','_config','collaboration.single-unit.warning','ONLINE','AWAITING_WITH_PENDING','YUUMI_ASYNCIO_CANCELLED','unitId','_imageIoService','restore','isTransformMutationsWithChangesetSuccess','getSheetId','isEditing','UNAUTHENTICATED','EMAIL_VERIFY_CODE_MISMATCH','shareReplay','REDEMPTION_INVALID_CODE','M0\x200H16V16H0z','on-line-icon_clip0_910_349','url(#off-line-icon_clip0_910_343)','tag','LOGIN_TOKEN_PROCESSING_FAILED','clearInterval','BrowserCollaborationSocketService','then','getStateCache','activeSheet$','shift','evenodd','NO_OTHER_CLIENTS_EDITING','registerDependencies','IMessageService','_getSheetObject','result','toRgbString','random','symbol','PY_RUNTIME_SCRIPT_ERROR','UniverUi','UniverCollaborationClientUIPlugin','handleInsertRow','USER_NOT_FOUND','filter','distinctUntilChanged','_checkAndWaitForCalculationPermission','@univerjs/design','jiqing.500','add','collaboration-client-ui.config','INVALID_INVITE_CODE','IConfigService','dispose$','path','createInstance','session.collaboration-timeout','_toggleOffline','getCurrentSelections','ITransformService','getTypeOfUnitDisposed$','reconnect','_id','@univerjs/ui','skeleton','currentTheme$','_render','getVpScrollXYInfoByPosToVp','max','No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.','startColumn','onPointerMove$','endColumn','whenReady','COMPLETION_FINISHED','SheetsSelectionsService','getValue','_color','getParam','collaboration.closeRoom','backgroundColor','_collaborationUIEventService','merge','LICENSE_MAX_UNITS_EXCEEDED','getLocalCacheKey','removeParam','_status$','20508350ShvQaB','UniverDocsUi','override','size','YUUMI_UNABLE_LOAD_URL','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY','@univerjs-pro/collaboration','_handleEvent','string','use','getTypeOfUnitAdded$','DataLoaderService','ENTITLE_CHAT_LIMIT_EXCEED','_scheduleClearOtherTimer','_colorAssignService','CHANGESET_REVISION_CONFILICT','_initEntityListener','UniverEngineFormula','...','addObjects','RemoveColCommandId','NodePositionConvertToRectRange','SheetSkeletonManagerService','_cursors','getSkeleton','dirtyRanges','_handleJoinEvent','_lastPointer','USER_IS_ANONYMOUS','getUnit','ENTITLE_UPDOWN_GRADE_NOT_SUPPORT','docStateChange$','loadOfflineData','assign','delete','clsx','complete','bold\x2013px\x20Source\x20Han\x20Sans\x20CN','getSheetObject','WECHAT_HAS_BEEN_BOUND','runId','selections','COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY','history','YUUMI_SUBSCRIPTION_NOT_FOUND','MOBILE_HAS_BEEN_BOUND','collabStatus.notCollab','ILocalCacheService','throttleTime','getFocusedUnit','toDisposable','unload','imageSourceType','UniverDrawing','_sheetSkeletonManagerService','params','_entityInit$','_configService','0\x200\x2017\x2016','8EVXJTG','CollaborationSessionService','saveTaskMap','findNodePositionByCharIndex','@univerjs/core','_currentUsage','OFFLINE','stageInfo','_entities','next','bottom','RefRangeService','VIEW_MAIN','column','_initStatusComponent','deepClone','onStarting','LOCAL_CACHE_INTERVAL_KEY','clipPath','pluginName','IRenderManagerService','ColorKit','releaseFormulaLimitUrl','OnLineIcon','createSocket','collab-rect-range-','RegularPolygon','hide','CollaborationDataLoaderController','jsx','UniverSheetsUi','sheetID','IUniverInstanceService','UniverProCollaborationClientUi','APPLY_PERMISSION_DENIED','collabStatus.conflict','RevisionService','_ensureSubject','fromEvent','/universer-api/license/formula/limit/status','_taskIds','MessageType','Warning','Disposable','_roomMembers$','SetFormulaCalculationNotificationMutation','application/json','range','PAYMENT_CHANNEL_NOT_SUPPORT','REDEMPTION_CODE_INACTIVE','WebURLService','ILocalStorageService','origin','_context','_refreshCollabCursors','HTTPService','_setFormulaLimitStatus','428XMgCBh','Plugin','_syncEditingCollabCursorService','_cursorInfo$','Rectangle','BehaviorSubject','clearTimeout','mutations','m1Prime','newValue','YUUMI_ALL_TABLES_IS_INVALID','transformSelections','urlChange$','_uiPartsService','TOO_MANY_REQUESTS','PERMISSION_DENIED','roomMembers$','onCommandExecuted','_urlService','YUUMI_TABLE_NOT_FOUND_IN_UNIT','_name','transformMutationsWithChangeset','name','now','currentUsage','UniverNetwork','USERS_LEAVE','_transformUndoRedoStack','LICENSE_EXPORT_SIZE_EXCEEDED','ENSURE_SNAPSHOT_EXECUTION','_maxFormulaLimit','cursorInfo','SetSelectionsOperation','_clearOtherTimers','UniverInstanceType','DATA_SOURCE_TOO_LARGE','RxDisposable','transformMutation','arc','0\x200\x2016\x2016','UniverDesign','_heartbeatTimer','object','subscribeEvent','requireSession','takeUntil','MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','_collaborationController','UniverSheets','isArray','REDEMPTION_CODE_FULLY_REDEEMED','_collabCursorState$','has','setActiveRange','wsSessionTicketUrl','_send','_colorIndex','beginPath','/universer-api/license/formula/limit/start','_assignedColors','useCallback','useRef','_transformHistoryAndStateStack','row','CollaborationEvent','YUUMI_URL_COL_OUT_OF_RANGE','_onRefRangeChange','startFormulaLimitUrl','url(#on-line-icon_clip0_910_349)'];_0x162b=function(){return _0x48d8fc;};return _0x162b();}