@univerjs-pro/collaboration-client-ui 1.0.0-alpha.2 → 1.0.0-alpha.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +6 -3
- package/lib/cjs/facade.js +1 -1
- package/lib/cjs/index.js +1 -1
- package/lib/cjs/locale/ar-SA.js +1 -1
- package/lib/cjs/locale/ca-ES.js +1 -1
- package/lib/cjs/locale/de-DE.js +1 -1
- package/lib/cjs/locale/en-US.js +1 -1
- package/lib/cjs/locale/es-ES.js +1 -1
- package/lib/cjs/locale/fa-IR.js +1 -1
- package/lib/cjs/locale/fr-FR.js +1 -1
- package/lib/cjs/locale/id-ID.js +1 -1
- package/lib/cjs/locale/it-IT.js +1 -1
- package/lib/cjs/locale/ja-JP.js +1 -1
- package/lib/cjs/locale/ko-KR.js +1 -1
- package/lib/cjs/locale/pl-PL.js +1 -1
- package/lib/cjs/locale/pt-BR.js +1 -1
- package/lib/cjs/locale/ru-RU.js +1 -1
- package/lib/cjs/locale/sk-SK.js +1 -1
- package/lib/cjs/locale/vi-VN.js +1 -1
- package/lib/cjs/locale/zh-CN.js +1 -1
- package/lib/cjs/locale/zh-HK.js +1 -1
- package/lib/cjs/locale/zh-TW.js +1 -1
- package/lib/es/facade.js +1 -1
- package/lib/es/index.js +1 -1
- package/lib/es/locale/ar-SA.js +1 -1
- package/lib/es/locale/ca-ES.js +1 -1
- package/lib/es/locale/de-DE.js +1 -1
- package/lib/es/locale/en-US.js +1 -1
- package/lib/es/locale/es-ES.js +1 -1
- package/lib/es/locale/fa-IR.js +1 -1
- package/lib/es/locale/fr-FR.js +1 -1
- package/lib/es/locale/id-ID.js +1 -1
- package/lib/es/locale/it-IT.js +1 -1
- package/lib/es/locale/ja-JP.js +1 -1
- package/lib/es/locale/ko-KR.js +1 -1
- package/lib/es/locale/pl-PL.js +1 -1
- package/lib/es/locale/pt-BR.js +1 -1
- package/lib/es/locale/ru-RU.js +1 -1
- package/lib/es/locale/sk-SK.js +1 -1
- package/lib/es/locale/vi-VN.js +1 -1
- package/lib/es/locale/zh-CN.js +1 -1
- package/lib/es/locale/zh-HK.js +1 -1
- package/lib/es/locale/zh-TW.js +1 -1
- package/lib/facade.js +1 -1
- package/lib/index.css +87 -0
- package/lib/index.js +1 -1
- package/lib/locale/ar-SA.js +1 -1
- package/lib/locale/ca-ES.js +1 -1
- package/lib/locale/de-DE.js +1 -1
- package/lib/locale/en-US.js +1 -1
- package/lib/locale/es-ES.js +1 -1
- package/lib/locale/fa-IR.js +1 -1
- package/lib/locale/fr-FR.js +1 -1
- package/lib/locale/id-ID.js +1 -1
- package/lib/locale/it-IT.js +1 -1
- package/lib/locale/ja-JP.js +1 -1
- package/lib/locale/ko-KR.js +1 -1
- package/lib/locale/pl-PL.js +1 -1
- package/lib/locale/pt-BR.js +1 -1
- package/lib/locale/ru-RU.js +1 -1
- package/lib/locale/sk-SK.js +1 -1
- package/lib/locale/vi-VN.js +1 -1
- package/lib/locale/zh-CN.js +1 -1
- package/lib/locale/zh-HK.js +1 -1
- package/lib/locale/zh-TW.js +1 -1
- package/lib/types/controllers/clipboard/docs/image/image-paste.controller.d.ts +1 -2
- package/lib/types/controllers/collab-cursor/board-collab-cursor-entity.d.ts +31 -0
- package/lib/types/controllers/collab-cursor/board-collab-cursor-render.controller.d.ts +21 -0
- package/lib/types/controllers/collab-cursor/collab-cursor.controller.d.ts +3 -2
- package/lib/types/controllers/collab-cursor/slide-collab-cursor-entity.d.ts +1 -1
- package/lib/types/controllers/collab-status/collab-status.controller.d.ts +11 -0
- package/lib/types/controllers/snapshot-loading/snapshot-loading.controller.d.ts +36 -0
- package/lib/types/index.d.ts +0 -2
- package/lib/types/locale/en-US.d.ts +5 -0
- package/lib/types/models/cursor.d.ts +12 -8
- package/lib/types/views/components/SnapshotLoadingTimeout.d.ts +15 -0
- package/lib/types/views/shapes/sheet-collab-cursor.shape.d.ts +2 -0
- package/lib/types/views/shapes/slide-collab-cursor.shape.d.ts +2 -2
- package/lib/types/views/shapes/text-bubble.shape.d.ts +1 -0
- package/lib/umd/facade.js +1 -1
- package/lib/umd/index.js +1 -1
- package/lib/umd/locale/ar-SA.js +1 -1
- package/lib/umd/locale/ca-ES.js +1 -1
- package/lib/umd/locale/de-DE.js +1 -1
- package/lib/umd/locale/en-US.js +1 -1
- package/lib/umd/locale/es-ES.js +1 -1
- package/lib/umd/locale/fa-IR.js +1 -1
- package/lib/umd/locale/fr-FR.js +1 -1
- package/lib/umd/locale/id-ID.js +1 -1
- package/lib/umd/locale/it-IT.js +1 -1
- package/lib/umd/locale/ja-JP.js +1 -1
- package/lib/umd/locale/ko-KR.js +1 -1
- package/lib/umd/locale/pl-PL.js +1 -1
- package/lib/umd/locale/pt-BR.js +1 -1
- package/lib/umd/locale/ru-RU.js +1 -1
- package/lib/umd/locale/sk-SK.js +1 -1
- package/lib/umd/locale/vi-VN.js +1 -1
- package/lib/umd/locale/zh-CN.js +1 -1
- package/lib/umd/locale/zh-HK.js +1 -1
- package/lib/umd/locale/zh-TW.js +1 -1
- package/package.json +23 -22
package/lib/umd/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
function _0x4afd(_0x2d9441,_0x13bf3f){_0x2d9441=_0x2d9441-0xfa;const _0x33fd5e=_0x33fd();let _0x4afdba=_0x33fd5e[_0x2d9441];return _0x4afdba;}(function(_0x4dae6e,_0x424ed3){const _0x26a3d3=_0x4afd,_0x205058=_0x4dae6e();while(!![]){try{const _0x50f9a6=-parseInt(_0x26a3d3(0x2ae))/0x1+-parseInt(_0x26a3d3(0x259))/0x2*(-parseInt(_0x26a3d3(0x357))/0x3)+parseInt(_0x26a3d3(0x2b1))/0x4+parseInt(_0x26a3d3(0x2f0))/0x5*(parseInt(_0x26a3d3(0x1e1))/0x6)+-parseInt(_0x26a3d3(0x129))/0x7+-parseInt(_0x26a3d3(0x35f))/0x8+-parseInt(_0x26a3d3(0x3d2))/0x9*(-parseInt(_0x26a3d3(0x2ff))/0xa);if(_0x50f9a6===_0x424ed3)break;else _0x205058['push'](_0x205058['shift']());}catch(_0x53b2ed){_0x205058['push'](_0x205058['shift']());}}}(_0x33fd,0x42488),function(_0x492221,_0x364789){const _0x1f0da9=_0x4afd;typeof exports==_0x1f0da9(0x412)&&typeof module<'u'?_0x364789(exports,require('@univerjs-pro/collaboration-client'),require('@univerjs/core'),require('@univerjs/ui'),require('rxjs'),require('rxjs/operators'),require('@univerjs/design'),require('react'),require('react/jsx-runtime'),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('@univerjs-pro/slides-ui'),require('@univerjs/sheets-ui'),require('@univerjs/protocol')):typeof define==_0x1f0da9(0x341)&&define[_0x1f0da9(0x1ef)]?define([_0x1f0da9(0x222),_0x1f0da9(0x36c),'@univerjs/core',_0x1f0da9(0x283),_0x1f0da9(0x359),_0x1f0da9(0x416),_0x1f0da9(0x130),_0x1f0da9(0x3e5),_0x1f0da9(0x267),'@univerjs/rpc','@univerjs/sheets',_0x1f0da9(0x31b),_0x1f0da9(0x36b),_0x1f0da9(0x134),_0x1f0da9(0x329),'@univerjs-pro/collaboration',_0x1f0da9(0x1e0),_0x1f0da9(0x302),'@univerjs-pro/slides-ui',_0x1f0da9(0x40d),_0x1f0da9(0x40a)],_0x364789):(_0x492221=typeof globalThis<'u'?globalThis:_0x492221||self,_0x364789(_0x492221[_0x1f0da9(0x236)]={},_0x492221[_0x1f0da9(0x1ae)],_0x492221[_0x1f0da9(0x197)],_0x492221[_0x1f0da9(0x3f5)],_0x492221['rxjs'],_0x492221[_0x1f0da9(0x359)]['operators'],_0x492221[_0x1f0da9(0x104)],_0x492221[_0x1f0da9(0x26f)],_0x492221['React'],_0x492221[_0x1f0da9(0x2d1)],_0x492221[_0x1f0da9(0x1be)],_0x492221['UniverEngineRender'],_0x492221['UniverNetwork'],_0x492221[_0x1f0da9(0x335)],_0x492221[_0x1f0da9(0x19b)],_0x492221[_0x1f0da9(0x3d6)],_0x492221[_0x1f0da9(0x257)],_0x492221[_0x1f0da9(0x107)],_0x492221[_0x1f0da9(0x393)],_0x492221['UniverSheetsUi'],_0x492221['UniverProtocol']));}(this,function(_0x7c14ad,_0x5cd740,_0xead8ff,_0x50d239,_0x533d32,_0x54871a,_0x32d4dc,_0xa4ddee,_0x4584e3,_0x42585c,_0x1e9c96,_0xae3218,_0x57484d,_0x2e2765,_0x26f73f,_0xf04665,_0x30c363,_0x11c147,_0x3ea210,_0x5329ff,_0x148f30){const _0x25f051=_0x4afd;Object[_0x25f051(0x14c)](_0x7c14ad,Symbol['toStringTag'],{'value':_0x25f051(0x3da)});function _0x57d5c1({ref:_0x234eb3,..._0x527b21}){const _0xd84361=_0x25f051;let {icon:_0x4e1e53,id:_0x47dc18,className:_0x5054cd,extend:_0x31dc96,..._0x20f285}=_0x527b21,_0x199128=(_0xd84361(0x1f3)+_0x47dc18+'\x20'+(_0x5054cd||''))['trim'](),_0x45d628=(0x0,_0xa4ddee[_0xd84361(0x365)])('_'+_0x1f52ea());return _0x259aca(_0x4e1e53,''+_0x47dc18,{'defIds':_0x4e1e53['defIds'],'idSuffix':_0x45d628[_0xd84361(0x294)]},{'ref':_0x234eb3,'className':_0x199128,..._0x20f285},_0x31dc96);}function _0x259aca(_0x40cfef,_0x5f20ae,_0x45a2c1,_0x5c4812,_0x5395b0){const _0x544a80=_0x25f051;return(0x0,_0xa4ddee[_0x544a80(0x1af)])(_0x40cfef[_0x544a80(0x276)],{'key':_0x5f20ae,..._0x5e2e97(_0x40cfef,_0x45a2c1,_0x5395b0),..._0x5c4812},(_0x475c31(_0x40cfef,_0x45a2c1)[_0x544a80(0x157)]||[])[_0x544a80(0x390)]((_0x3ba4a7,_0x2c725a)=>_0x259aca(_0x3ba4a7,_0x5f20ae+'-'+_0x40cfef[_0x544a80(0x276)]+'-'+_0x2c725a,_0x45a2c1,void 0x0,_0x5395b0)));}function _0x5e2e97(_0xc15d05,_0x137672,_0x311398){const _0x2d1677=_0x25f051;let _0x362f50={..._0xc15d05['attrs']};_0x311398!=null&&_0x311398[_0x2d1677(0x27e)]&&_0x362f50[_0x2d1677(0x1c3)]===_0x2d1677(0x27e)&&(_0x362f50[_0x2d1677(0x1c3)]=_0x311398['colorChannel1']),_0x311398!=null&&_0x311398[_0x2d1677(0x27e)]&&_0x362f50[_0x2d1677(0x321)]==='colorChannel1'&&(_0x362f50['stroke']=_0x311398['colorChannel1']),_0xc15d05['tag']===_0x2d1677(0x20d)&&_0x362f50['id']&&(_0x362f50['id']+=_0x137672['idSuffix']),Object[_0x2d1677(0x23e)](_0x362f50)[_0x2d1677(0x2ed)](([_0x2a6908,_0x539ad7])=>{const _0xd79ebb=_0x2d1677;_0x2a6908===_0xd79ebb(0x20d)&&typeof _0x539ad7==_0xd79ebb(0x16a)&&(_0x362f50[_0x2a6908]=_0x539ad7[_0xd79ebb(0x235)](/url\(#(.*)\)/,_0xd79ebb(0x3a0)+_0x137672[_0xd79ebb(0x279)]+')'));});let {defIds:_0x3fa872}=_0x137672;return!_0x3fa872||_0x3fa872[_0x2d1677(0x3c4)]===0x0?_0x362f50:(_0xc15d05[_0x2d1677(0x276)]===_0x2d1677(0x414)&&_0x362f50[_0x2d1677(0x16d)]&&(_0x362f50['xlink:href']+=_0x137672[_0x2d1677(0x279)]),Object['entries'](_0x362f50)[_0x2d1677(0x2ed)](([_0x1de882,_0xec98aa])=>{const _0x337538=_0x2d1677;typeof _0xec98aa==_0x337538(0x16a)&&(_0x362f50[_0x1de882]=_0xec98aa['replace'](/url\(#(.*)\)/,_0x337538(0x3a0)+_0x137672[_0x337538(0x279)]+')'));}),_0x362f50);}function _0x475c31(_0x30e6c1,_0x441338){const _0x4e26b1=_0x25f051;var _0x976e46;let {defIds:_0x479e71}=_0x441338;return!_0x479e71||_0x479e71[_0x4e26b1(0x3c4)]===0x0?_0x30e6c1:_0x30e6c1[_0x4e26b1(0x276)]===_0x4e26b1(0x3a1)&&(_0x976e46=_0x30e6c1[_0x4e26b1(0x157)])!=null&&_0x976e46[_0x4e26b1(0x3c4)]?{..._0x30e6c1,'children':_0x30e6c1[_0x4e26b1(0x157)][_0x4e26b1(0x390)](_0x57bdc6=>typeof _0x57bdc6[_0x4e26b1(0x2f2)]['id']==_0x4e26b1(0x16a)&&_0x479e71&&_0x479e71[_0x4e26b1(0x1c5)](_0x57bdc6['attrs']['id'])?{..._0x57bdc6,'attrs':{..._0x57bdc6['attrs'],'id':_0x57bdc6[_0x4e26b1(0x2f2)]['id']+_0x441338['idSuffix']}}:_0x57bdc6)}:_0x30e6c1;}function _0x1f52ea(){const _0x222c9c=_0x25f051;return Math['random']()[_0x222c9c(0x2c9)](0x24)[_0x222c9c(0x240)](0x2,0x8);}_0x57d5c1['displayName']=_0x25f051(0x322);let _0x5fe4cc={'tag':'svg','attrs':{'xmlns':'http://www.w3.org/2000/svg','fill':_0x25f051(0x126),'viewBox':_0x25f051(0x2b6),'width':_0x25f051(0x13e),'height':_0x25f051(0x13e)},'children':[{'tag':'g','attrs':{'clipPath':_0x25f051(0x1a1)},'children':[{'tag':_0x25f051(0x141),'attrs':{'stroke':_0x25f051(0x3f7),'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':_0x25f051(0x247),'strokeLinejoin':_0x25f051(0x247),'strokeWidth':1.2}}]},{'tag':_0x25f051(0x3a1),'attrs':{},'children':[{'tag':_0x25f051(0x1b1),'attrs':{'id':_0x25f051(0x1a5)},'children':[{'tag':_0x25f051(0x141),'attrs':{'fill':_0x25f051(0x1d9),'d':_0x25f051(0x3d8)}}]}]}],'defIds':[_0x25f051(0x1a5)]},_0x305975=(0x0,_0xa4ddee[_0x25f051(0x1cd)])(function(_0x4e6eb6,_0x2bf340){const _0x421b85=_0x25f051;return(0x0,_0xa4ddee[_0x421b85(0x1af)])(_0x57d5c1,Object[_0x421b85(0x178)]({},_0x4e6eb6,{'id':'off-line-icon','ref':_0x2bf340,'icon':_0x5fe4cc}));});_0x305975['displayName']='OffLineIcon';let _0x28abca={'tag':_0x25f051(0x32b),'attrs':{'xmlns':_0x25f051(0x32d),'fill':'none','viewBox':_0x25f051(0x290),'width':_0x25f051(0x13e),'height':_0x25f051(0x13e)},'children':[{'tag':'g','attrs':{'clipPath':_0x25f051(0x292)},'children':[{'tag':_0x25f051(0x141),'attrs':{'stroke':'currentColor','d':_0x25f051(0x319),'strokeLinecap':_0x25f051(0x247),'strokeLinejoin':_0x25f051(0x247),'strokeWidth':1.2}}]},{'tag':_0x25f051(0x3a1),'attrs':{},'children':[{'tag':_0x25f051(0x1b1),'attrs':{'id':'on-line-icon_clip0_910_349'},'children':[{'tag':_0x25f051(0x141),'attrs':{'fill':'white','d':_0x25f051(0x3d8),'transform':'translate(.97)'}}]}]}],'defIds':['on-line-icon_clip0_910_349']},_0x50f5a3=(0x0,_0xa4ddee[_0x25f051(0x1cd)])(function(_0x261c14,_0x45ed3a){const _0x598d79=_0x25f051;return(0x0,_0xa4ddee[_0x598d79(0x1af)])(_0x57d5c1,Object[_0x598d79(0x178)]({},_0x261c14,{'id':_0x598d79(0x3db),'ref':_0x45ed3a,'icon':_0x28abca}));});_0x50f5a3[_0x25f051(0x31f)]=_0x25f051(0x29a);let _0x56462c={'tag':'svg','attrs':{'xmlns':'http://www.w3.org/2000/svg','fill':_0x25f051(0x126),'viewBox':_0x25f051(0x2b6),'width':_0x25f051(0x13e),'height':_0x25f051(0x13e)},'children':[{'tag':_0x25f051(0x141),'attrs':{'fill':_0x25f051(0x175),'d':'M8.79993\x2014.0166C8.79993\x2014.4585\x208.44176\x2014.8166\x207.99993\x2014.8166C4.23529\x2014.8166\x201.18345\x2011.7648\x201.18345\x208.00017C1.18345\x204.23554\x204.23529\x201.18369\x207.99993\x201.1837C11.7646\x201.1837\x2014.8164\x204.23554\x2014.8164\x208.00017C14.8164\x208.442\x2014.4582\x208.80017\x2014.0164\x208.80017C13.5746\x208.80017\x2013.2164\x208.442\x2013.2164\x208.00017C13.2164\x205.11919\x2010.8809\x202.7837\x207.99993\x202.7837C5.11895\x202.7837\x202.78345\x205.11919\x202.78345\x208.00017C2.78345\x2010.8812\x205.11895\x2013.2166\x207.99993\x2013.2166C8.44176\x2013.2166\x208.79993\x2013.5748\x208.79993\x2014.0166Z','fillOpacity':0.2,'fillRule':_0x25f051(0x1ac),'clipRule':_0x25f051(0x1ac)}},{'tag':_0x25f051(0x141),'attrs':{'fill':'#0B9EFB','d':'M7.20007\x201.98384C7.20007\x201.54201\x207.55824\x201.18384\x208.00007\x201.18384C11.7647\x201.18384\x2014.8165\x204.23568\x2014.8165\x208.00032C14.8165\x2011.765\x2011.7647\x2014.8168\x208.00007\x2014.8168C4.23543\x2014.8168\x201.18359\x2011.765\x201.18359\x208.00032C1.18359\x207.55849\x201.54177\x207.20031\x201.98359\x207.20031C2.42542\x207.20031\x202.78359\x207.55849\x202.78359\x208.00032C2.78359\x2010.8813\x205.11909\x2013.2168\x208.00007\x2013.2168C10.8811\x2013.2168\x2013.2165\x2010.8813\x2013.2165\x208.00032C13.2165\x205.11933\x2010.8811\x202.78384\x208.00007\x202.78384C7.55824\x202.78384\x207.20007\x202.42567\x207.20007\x201.98384Z','fillRule':'evenodd','clipRule':_0x25f051(0x1ac)}}]},_0x11fa0d=(0x0,_0xa4ddee[_0x25f051(0x1cd)])(function(_0x1da796,_0x408b9d){const _0x49a697=_0x25f051;return(0x0,_0xa4ddee['createElement'])(_0x57d5c1,Object[_0x49a697(0x178)]({},_0x1da796,{'id':_0x49a697(0x1bb),'ref':_0x408b9d,'icon':_0x56462c}));});_0x11fa0d['displayName']=_0x25f051(0x213);function _0x4dd5c0(_0x427a3c){const _0x12e912=_0x25f051;switch(_0x427a3c){case _0x5cd740[_0x12e912(0x1ed)][_0x12e912(0x1c2)]:return{'icon':(0x0,_0x4584e3['jsx'])(_0x305975,{}),'colorClass':'univer-text-red-500','i18nKey':_0x12e912(0x111),'tooltipKey':_0x12e912(0x1e5),'clickable':!0x0,'indicator':'static'};case _0x5cd740[_0x12e912(0x1ed)][_0x12e912(0x2a9)]:return{'icon':(0x0,_0x4584e3['jsx'])(_0x305975,{}),'colorClass':_0x12e912(0x391),'i18nKey':_0x12e912(0x31c),'clickable':!0x1,'indicator':_0x12e912(0x3c6)};case _0x5cd740[_0x12e912(0x1ed)][_0x12e912(0x2e3)]:return{'icon':(0x0,_0x4584e3[_0x12e912(0x186)])(_0x11fa0d,{}),'colorClass':_0x12e912(0x24d),'i18nKey':_0x12e912(0x378),'clickable':!0x1,'indicator':_0x12e912(0x32a)};case _0x5cd740[_0x12e912(0x1ed)][_0x12e912(0x2ab)]:return{'icon':(0x0,_0x4584e3[_0x12e912(0x186)])(_0x50f5a3,{}),'colorClass':_0x12e912(0x2af),'i18nKey':'collaboration-client-ui.collabStatus.notCollab','clickable':!0x1,'indicator':'static'};case _0x5cd740[_0x12e912(0x1ed)][_0x12e912(0x232)]:case _0x5cd740[_0x12e912(0x1ed)][_0x12e912(0x2d4)]:return{'icon':(0x0,_0x4584e3[_0x12e912(0x186)])(_0x11fa0d,{}),'colorClass':_0x12e912(0x24d),'i18nKey':_0x12e912(0x185),'clickable':!0x1,'indicator':_0x12e912(0x32a)};case _0x5cd740[_0x12e912(0x1ed)][_0x12e912(0x125)]:return{'icon':(0x0,_0x4584e3['jsx'])(_0x11fa0d,{}),'colorClass':_0x12e912(0x24d),'i18nKey':'collaboration-client-ui.collabStatus.syncing','clickable':!0x1,'indicator':_0x12e912(0x32a)};case _0x5cd740['CollaborationStatus'][_0x12e912(0x29f)]:return{'icon':(0x0,_0x4584e3['jsx'])(_0x50f5a3,{}),'colorClass':'univer-text-green-500','i18nKey':'collaboration-client-ui.collabStatus.synced','clickable':!0x1,'indicator':_0x12e912(0x3c6)};}}function _0x1301c9(_0x5378fd){const _0x1ecab7=_0x25f051;let {status$:_0x2c330b}=_0x5378fd,_0x237388=(0x0,_0x50d239[_0x1ecab7(0x411)])(_0x2c330b,_0x5cd740[_0x1ecab7(0x1ed)][_0x1ecab7(0x2ab)]),_0x13c13f=(0x0,_0x50d239[_0x1ecab7(0x2ee)])(_0xead8ff['LocaleService']),_0x1b3741=(0x0,_0x50d239['useDependency'])(_0x5cd740['CollaborationSessionService']),_0x49cec5=(0x0,_0xa4ddee['useMemo'])(()=>_0x4dd5c0(_0x237388),[_0x237388]),_0x128cf1=_0x237388!==_0x5cd740[_0x1ecab7(0x1ed)][_0x1ecab7(0x1c2)],_0x543c19=_0x13c13f['t'](_0x49cec5[_0x1ecab7(0x101)]),_0x10b625=_0x49cec5['tooltipKey']?_0x13c13f['t'](_0x49cec5[_0x1ecab7(0xff)]):_0x543c19,_0x479c9d=(0x0,_0xa4ddee[_0x1ecab7(0x245)])(()=>{const _0x38a0bb=_0x1ecab7;_0x128cf1||_0x1b3741[_0x38a0bb(0x13c)]();},[_0x128cf1,_0x1b3741]),_0x4d39fa=(0x0,_0xa4ddee[_0x1ecab7(0x245)])(_0x30bb1b=>{const _0x2fb7f7=_0x1ecab7;!_0x128cf1&&(_0x30bb1b[_0x2fb7f7(0x345)]===_0x2fb7f7(0x224)||_0x30bb1b[_0x2fb7f7(0x345)]==='\x20')&&(_0x30bb1b[_0x2fb7f7(0x3be)](),_0x1b3741[_0x2fb7f7(0x13c)]());},[_0x128cf1,_0x1b3741]),_0xb15d61=(0x0,_0x4584e3['jsx'])(_0x1ecab7(0x37e),{'className':(0x0,_0x32d4dc[_0x1ecab7(0x22c)])('univer-flex\x20univer-items-center\x20univer-justify-center',_0x1ecab7(0x2f1),_0x49cec5[_0x1ecab7(0x3ca)],{'univer-animate-spin':_0x49cec5['indicator']===_0x1ecab7(0x32a),'univer-animate-pulse':_0x49cec5[_0x1ecab7(0x16e)]===_0x1ecab7(0x243)}),'aria-hidden':_0x1ecab7(0x1a3),'children':_0x49cec5['icon']}),_0x575f77=(0x0,_0x4584e3[_0x1ecab7(0x186)])('span',{'className':(0x0,_0x32d4dc[_0x1ecab7(0x22c)])(_0x1ecab7(0x162),_0x1ecab7(0x3f1),_0x1ecab7(0x21f),_0x1ecab7(0x392),_0x1ecab7(0x31d),{'univer-cursor-pointer\x20hover:univer-bg-gray-100\x20dark:hover:!univer-bg-gray-700':_0x49cec5[_0x1ecab7(0x207)],'univer-cursor-default':!_0x49cec5['clickable']}),'children':_0xb15d61});return _0x49cec5[_0x1ecab7(0x207)]?(0x0,_0x4584e3['jsx'])(_0x32d4dc[_0x1ecab7(0x167)],{'title':_0x10b625,'placement':_0x1ecab7(0x3e7),'children':(0x0,_0x4584e3[_0x1ecab7(0x186)])(_0x1ecab7(0x2df),{'type':'button','onClick':_0x479c9d,'onKeyDown':_0x4d39fa,'className':(0x0,_0x32d4dc[_0x1ecab7(0x22c)])('univer-inline-flex\x20univer-items-center\x20univer-justify-center',_0x1ecab7(0x3f0),_0x1ecab7(0x2b4),_0x1ecab7(0x1b4)),'aria-label':_0x543c19+'\x20-\x20'+_0x10b625,'role':_0x1ecab7(0x173),'aria-live':'polite','aria-atomic':_0x1ecab7(0x1a3),'children':_0x575f77})}):(0x0,_0x4584e3['jsx'])(_0x32d4dc[_0x1ecab7(0x167)],{'title':_0x10b625,'placement':_0x1ecab7(0x3e7),'children':(0x0,_0x4584e3[_0x1ecab7(0x186)])(_0x1ecab7(0x3e4),{'className':(0x0,_0x32d4dc[_0x1ecab7(0x22c)])(_0x1ecab7(0x2e1),'univer-border-none\x20univer-bg-transparent',_0x1ecab7(0x2b4)),'aria-label':_0x543c19,'role':'status','aria-live':_0x1ecab7(0x28b),'aria-atomic':_0x1ecab7(0x1a3),'children':_0x575f77})});}function _0x246116(_0x52afe1){'@babel/helpers - typeof';const _0x1d6c83=_0x25f051;return _0x246116=typeof Symbol==_0x1d6c83(0x341)&&typeof Symbol[_0x1d6c83(0x25d)]==_0x1d6c83(0x27c)?function(_0x1efa33){return typeof _0x1efa33;}:function(_0x5dd6e3){const _0xc7aace=_0x1d6c83;return _0x5dd6e3&&typeof Symbol=='function'&&_0x5dd6e3['constructor']===Symbol&&_0x5dd6e3!==Symbol[_0xc7aace(0x263)]?_0xc7aace(0x27c):typeof _0x5dd6e3;},_0x246116(_0x52afe1);}function _0x403c24(_0x48518a,_0x4e76fc){const _0x1a80f0=_0x25f051;if(_0x246116(_0x48518a)!=_0x1a80f0(0x412)||!_0x48518a)return _0x48518a;var _0x4fec43=_0x48518a[Symbol['toPrimitive']];if(_0x4fec43!==void 0x0){var _0x4a68c3=_0x4fec43[_0x1a80f0(0x19c)](_0x48518a,_0x4e76fc||_0x1a80f0(0x171));if(_0x246116(_0x4a68c3)!=_0x1a80f0(0x412))return _0x4a68c3;throw TypeError(_0x1a80f0(0x2c6));}return(_0x4e76fc===_0x1a80f0(0x16a)?String:Number)(_0x48518a);}function _0x403680(_0x462372){const _0x287ab4=_0x25f051;var _0xd2ae59=_0x403c24(_0x462372,'string');return _0x246116(_0xd2ae59)==_0x287ab4(0x27c)?_0xd2ae59:_0xd2ae59+'';}function _0x322c70(_0x1592d1,_0x1fbe7b,_0x4971db){const _0x2d3430=_0x25f051;return(_0x1fbe7b=_0x403680(_0x1fbe7b))in _0x1592d1?Object[_0x2d3430(0x14c)](_0x1592d1,_0x1fbe7b,{'value':_0x4971db,'enumerable':!0x0,'configurable':!0x0,'writable':!0x0}):_0x1592d1[_0x1fbe7b]=_0x4971db,_0x1592d1;}function _0x3215c6(_0x47306f,_0x700098){return function(_0x10e491,_0x4212bc){_0x700098(_0x10e491,_0x4212bc,_0x47306f);};}function _0x30ac55(_0x111e41,_0x38637c,_0x4492d3,_0x35ac79){const _0x402bb6=_0x25f051;var _0x3be575=arguments[_0x402bb6(0x3c4)],_0x2f9f61=_0x3be575<0x3?_0x38637c:_0x35ac79===null?_0x35ac79=Object[_0x402bb6(0x369)](_0x38637c,_0x4492d3):_0x35ac79,_0x370d43;if(typeof Reflect==_0x402bb6(0x412)&&typeof Reflect[_0x402bb6(0x331)]==_0x402bb6(0x341))_0x2f9f61=Reflect[_0x402bb6(0x331)](_0x111e41,_0x38637c,_0x4492d3,_0x35ac79);else{for(var _0x5d5d8a=_0x111e41['length']-0x1;_0x5d5d8a>=0x0;_0x5d5d8a--)(_0x370d43=_0x111e41[_0x5d5d8a])&&(_0x2f9f61=(_0x3be575<0x3?_0x370d43(_0x2f9f61):_0x3be575>0x3?_0x370d43(_0x38637c,_0x4492d3,_0x2f9f61):_0x370d43(_0x38637c,_0x4492d3))||_0x2f9f61);}return _0x3be575>0x3&&_0x2f9f61&&Object['defineProperty'](_0x38637c,_0x4492d3,_0x2f9f61),_0x2f9f61;}let _0x23703a=class extends _0xead8ff[_0x25f051(0x137)]{constructor(_0x2e6ba9,_0x1b566b,_0x2cd712,_0x10e9d4){const _0x2ede8f=_0x25f051;super(),this['_univerInstanceService']=_0x2e6ba9,this[_0x2ede8f(0x381)]=_0x1b566b,this[_0x2ede8f(0x36e)]=_0x2cd712,this[_0x2ede8f(0x3eb)]=_0x10e9d4,_0x322c70(this,'_status$',new _0x533d32[(_0x2ede8f(0x3a7))](_0x5cd740['CollaborationStatus'][_0x2ede8f(0x2ab)])),this['_initStatusComponent'](),this[_0x2ede8f(0x35e)]();}[_0x25f051(0x35e)](){const _0x50d082=_0x25f051;this[_0x50d082(0x40f)]((0x0,_0x533d32[_0x50d082(0x106)])(this['_univerInstanceService'][_0x50d082(0x154)],this[_0x50d082(0x278)][_0x50d082(0x2f9)](_0xead8ff[_0x50d082(0x1ea)][_0x50d082(0x3fd)]),this[_0x50d082(0x278)][_0x50d082(0x2f9)](_0xead8ff[_0x50d082(0x1ea)]['UNIVER_SHEET']))[_0x50d082(0x3ef)]((0x0,_0x54871a[_0x50d082(0x390)])(()=>_0xe27d5b(this[_0x50d082(0x278)])),(0x0,_0x54871a[_0x50d082(0x3f4)])(),(0x0,_0x533d32['switchMap'])(_0x1e28f7=>_0x1e28f7?this['_collaborationController'][_0x50d082(0x3e3)](_0x1e28f7):(0x0,_0x533d32['of'])(null)),(0x0,_0x533d32[_0x50d082(0x2ac)])(_0x2a31f8=>_0x2a31f8?_0x2a31f8['status$']:(0x0,_0x533d32['of'])(_0x5cd740[_0x50d082(0x1ed)]['NOT_COLLAB'])))[_0x50d082(0x38e)](_0x3067ef=>{this['_status$']['next'](_0x3067ef);}));}['_initStatusComponent'](){const _0x59dfd9=_0x25f051;this[_0x59dfd9(0x40f)](this['_uiPartsService']['registerComponent'](_0x50d239[_0x59dfd9(0x258)][_0x59dfd9(0x33b)],()=>(0x0,_0x50d239['connectInjector'])(_0xd6b4c({'status$':this[_0x59dfd9(0x36a)][_0x59dfd9(0x1cf)]()}),this[_0x59dfd9(0x381)])));}};_0x23703a=_0x30ac55([_0x3215c6(0x0,_0xead8ff['IUniverInstanceService']),_0x3215c6(0x1,(0x0,_0xead8ff[_0x25f051(0x3e0)])(_0xead8ff['Injector'])),_0x3215c6(0x2,(0x0,_0xead8ff[_0x25f051(0x3e0)])(_0x5cd740['CollaborationController'])),_0x3215c6(0x3,_0x50d239[_0x25f051(0x112)])],_0x23703a);function _0xe27d5b(_0x374551){const _0x2b7710=_0x25f051;let _0x36077b=_0x374551[_0x2b7710(0x308)](),_0x5af0bc=_0x36077b==null?void 0x0:_0x36077b[_0x2b7710(0x367)]();if(_0x5af0bc&&!(0x0,_0xead8ff[_0x2b7710(0x11f)])(_0x5af0bc))return _0x5af0bc;let _0x36582b=_0x374551['getCurrentUnitOfType'](_0xead8ff['UniverInstanceType'][_0x2b7710(0x3fd)]),_0x57c6a3=_0x36582b==null?void 0x0:_0x36582b[_0x2b7710(0x367)]();if(_0x57c6a3&&!(0x0,_0xead8ff['isInternalEditorID'])(_0x57c6a3))return _0x57c6a3;let _0x1a8538=_0x374551[_0x2b7710(0x22a)](_0xead8ff[_0x2b7710(0x1ea)]['UNIVER_SHEET']);if(_0x1a8538)return _0x1a8538[_0x2b7710(0x367)]();let _0x4e8da0=_0x374551[_0x2b7710(0x2ec)](_0xead8ff[_0x2b7710(0x1ea)][_0x2b7710(0x3fd)])[_0x2b7710(0x165)](_0x4f1bf7=>!(0x0,_0xead8ff[_0x2b7710(0x11f)])(_0x4f1bf7['getUnitId']()));return _0x4e8da0?_0x4e8da0[_0x2b7710(0x367)]():null;}function _0xd6b4c(_0xaf0a51){let {status$:_0x5b2749}=_0xaf0a51;return function(){const _0x49597f=_0x4afd;return(0x0,_0x4584e3[_0x49597f(0x186)])(_0x1301c9,{'status$':_0x5b2749});};}let _0x27b07f=(0x0,_0xead8ff[_0x25f051(0x3f8)])(_0x25f051(0x2f8)),_0x3ab8c3=class extends _0xead8ff[_0x25f051(0x153)]{constructor(_0x2c0e68,_0x9a8eb4,_0x1e6d0c,_0x567e35,_0x105c1d){const _0x5be005=_0x25f051;super(),this['_urlService']=_0x2c0e68,this[_0x5be005(0x2cc)]=_0x9a8eb4,this[_0x5be005(0x2a1)]=_0x1e6d0c,this['_dataLoaderService']=_0x567e35,_0x105c1d?_0x105c1d==null||_0x105c1d['whenReady']()['then'](()=>this[_0x5be005(0x398)]()):(this[_0x5be005(0x2cc)][_0x5be005(0x2bb)](_0x5be005(0x200),_0x5be005(0x2fe)),this[_0x5be005(0x398)]());}async['_init'](){const _0x1fc618=_0x25f051;let _0x4c6b65=this[_0x1fc618(0x291)][_0x1fc618(0x230)](_0x1fc618(0x270)),_0x41ab23=this['_urlService'][_0x1fc618(0x230)](_0x1fc618(0x19d)),_0x4ae116=this[_0x1fc618(0x291)][_0x1fc618(0x230)]('subunit');if(!_0x4c6b65||!_0x41ab23){this[_0x1fc618(0x2cc)][_0x1fc618(0x2bb)](_0x1fc618(0x200),_0x1fc618(0x15f));return;}let _0x287fa2=await this[_0x1fc618(0x2db)][_0x1fc618(0x160)](_0x4c6b65,Number(_0x41ab23),_0x4ae116);_0x287fa2&&_0x287fa2 instanceof _0xead8ff[_0x1fc618(0x1cc)]&&this[_0x1fc618(0x269)](_0x287fa2);}async[_0x25f051(0x269)](_0x3718a4){const _0x1b1a4f=_0x25f051;await this['_updateSubUnitFromURLParams'](_0x3718a4),_0x3718a4[_0x1b1a4f(0x11a)][_0x1b1a4f(0x3ef)]((0x0,_0x533d32['takeUntil'])(this[_0x1b1a4f(0x24c)]))[_0x1b1a4f(0x38e)](_0x3caa52=>{const _0x315d2b=_0x1b1a4f;_0x3caa52&&this[_0x315d2b(0x288)](_0x3caa52);}),this['_urlService'][_0x1b1a4f(0x12b)][_0x1b1a4f(0x3ef)]((0x0,_0x533d32[_0x1b1a4f(0x37d)])(this[_0x1b1a4f(0x24c)]))[_0x1b1a4f(0x38e)](()=>this[_0x1b1a4f(0x371)](_0x3718a4));}['_updateURLWithCurrentState'](_0x4a47a0,_0x190ec8=!0x1){const _0x398d28=_0x25f051;let _0x106b9c=this[_0x398d28(0x291)][_0x398d28(0x230)](_0x398d28(0x388));_0x4a47a0['getSheetId']()!==_0x106b9c&&this[_0x398d28(0x291)][_0x398d28(0x413)]('subunit',_0x4a47a0[_0x398d28(0x15d)](),_0x190ec8);}async['_updateSubUnitFromURLParams'](_0x303eba){const _0x5b9944=_0x25f051;var _0xa200a;let _0x4fbf22=this[_0x5b9944(0x291)][_0x5b9944(0x230)]('subunit');if(!_0x4fbf22||!_0x303eba[_0x5b9944(0x3b1)](_0x4fbf22)){let _0x49b3e8=_0x303eba['getUnhiddenWorksheets']()[0x0],_0x39023a=_0x303eba['getSheetBySheetId'](_0x49b3e8);if(!_0x39023a)return;this[_0x5b9944(0x288)](_0x39023a,!0x0),await this[_0x5b9944(0x2a1)]['executeCommand'](_0x1e9c96[_0x5b9944(0x310)]['id'],{'unitId':_0x303eba[_0x5b9944(0x367)](),'subUnitId':_0x49b3e8});return;}((_0xa200a=_0x303eba[_0x5b9944(0x3d4)]())==null?void 0x0:_0xa200a[_0x5b9944(0x15d)]())!==_0x4fbf22&&await this[_0x5b9944(0x2a1)]['executeCommand'](_0x1e9c96[_0x5b9944(0x310)]['id'],{'unitId':_0x303eba[_0x5b9944(0x367)](),'subUnitId':_0x4fbf22});}};_0x3ab8c3=_0x30ac55([_0x3215c6(0x0,_0x27b07f),_0x3215c6(0x1,_0xead8ff['ILogService']),_0x3215c6(0x2,_0xead8ff[_0x25f051(0x140)]),_0x3215c6(0x3,(0x0,_0xead8ff[_0x25f051(0x3e0)])(_0x5cd740[_0x25f051(0x3b5)])),_0x3215c6(0x4,(0x0,_0xead8ff[_0x25f051(0x314)])(_0x42585c[_0x25f051(0x1cb)]))],_0x3ab8c3);var _0x58e78f=_0x25f051(0x110),_0xb4e1f1=_0x25f051(0x27d);let _0x51137c={},_0x28fe91=class extends _0xead8ff[_0x25f051(0x153)]{constructor(_0x198bd5,_0x3afcb0){const _0x252245=_0x25f051;super(),this[_0x252245(0x33c)]=_0x198bd5,this[_0x252245(0x25b)]=_0x3afcb0,this[_0x252245(0x398)]();}['_init'](){const _0x475e03=_0x25f051;let _0xcac14e=this;this['disposeWithMe'](this[_0x475e03(0x33c)][_0x475e03(0x3cd)]({'onBeforePasteImage':async _0x4a3515=>{const _0x13703f=_0x475e03;let _0x2aa026=await _0xcac14e['_imageIoService'][_0x13703f(0x344)](_0x4a3515);return _0x2aa026?{'source':_0x2aa026[_0x13703f(0x3dd)],'imageSourceType':_0x2aa026[_0x13703f(0x1ec)]}:null;}}));}};_0x28fe91=_0x30ac55([_0x3215c6(0x0,_0x2e2765[_0x25f051(0x19f)]),_0x3215c6(0x1,_0x26f73f[_0x25f051(0x105)])],_0x28fe91);let _0x1d5f0c=['purple.300',_0x25f051(0x15c),_0x25f051(0x10d),_0x25f051(0x1fd),_0x25f051(0x417),_0x25f051(0x35a)];var _0x1b9f9b=class extends _0xead8ff[_0x25f051(0x137)]{constructor(..._0x2ee90b){const _0x2b6fcd=_0x25f051;super(..._0x2ee90b),_0x322c70(this,_0x2b6fcd(0x3a9),new Map()),_0x322c70(this,_0x2b6fcd(0x355),0x0);}[_0x25f051(0x266)](_0x257ca0){const _0x55206d=_0x25f051;if(this[_0x55206d(0x3a9)][_0x55206d(0x3dc)](_0x257ca0))return this[_0x55206d(0x3a9)]['get'](_0x257ca0);let _0x286ea5=_0x1d5f0c[this[_0x55206d(0x355)]];return this['_colorIndex']=(this[_0x55206d(0x355)]+0x1)%_0x1d5f0c['length'],this[_0x55206d(0x3a9)][_0x55206d(0x168)](_0x257ca0,_0x286ea5),_0x286ea5;}};function _0x18b556(_0x545662){const _0x5d0266=_0x25f051;let _0x5de8db='';for(let _0x764b42 of _0x545662){let {startOffset:_0x3473d0,endOffset:_0xf9558a,isActive:_0x1925c2,rangeType:_0xc433d4,segmentId:_0x31d9c4,segmentPage:_0x1b24f4}=_0x764b42;_0x5de8db[_0x5d0266(0x3c4)]&&(_0x5de8db+=','),_0x5de8db+=_0x3473d0+':'+_0xf9558a+':'+(_0x1925c2?'1':'0')+':'+_0xc433d4+':'+_0x31d9c4+':'+_0x1b24f4;}return _0x5de8db;}function _0xc08755(_0x4c65a7){const _0x286a79=_0x25f051;let _0x4882d9=_0x4c65a7[_0x286a79(0x380)](','),_0x5b10ff=[];for(let _0x2a4bcd of _0x4882d9){let [_0x1b9e42,_0x549b1a,_0x36fa25,_0x250ecb,_0x4e35ea,_0x12a5b0]=_0x2a4bcd['split'](':');_0x5b10ff[_0x286a79(0x295)]({'startOffset':Number(_0x1b9e42),'endOffset':Number(_0x549b1a),'collapsed':_0x1b9e42===_0x549b1a,'isActive':_0x36fa25==='1','rangeType':_0x250ecb===_0xead8ff[_0x286a79(0x1b0)][_0x286a79(0x121)]?_0xead8ff[_0x286a79(0x1b0)][_0x286a79(0x121)]:_0xead8ff[_0x286a79(0x1b0)][_0x286a79(0x1e3)],'segmentId':typeof _0x4e35ea==_0x286a79(0x16a)?String(_0x4e35ea):'','segmentPage':Number(_0x12a5b0==null?-0x1:_0x12a5b0)});}return _0x5b10ff['some'](_0x5cb518=>_0x5cb518[_0x286a79(0x3ff)])||(_0x5b10ff[0x0][_0x286a79(0x3ff)]=!0x0),_0x5b10ff;}var _0x50ec94=class extends _0xead8ff['RxDisposable']{constructor(..._0x175f4f){const _0x56aaab=_0x25f051;super(..._0x175f4f),_0x322c70(this,_0x56aaab(0x2d7),new _0x533d32[(_0x56aaab(0x3a7))](null)),_0x322c70(this,_0x56aaab(0x327),this['_collabCursorState$']['asObservable']());}['syncEditingCollabCursor'](_0x31e4e1){const _0x1f1356=_0x25f051;let {unitID:_0x2236a6,memberID:_0x3b294d,textRanges:_0x5c1ed0}=_0x31e4e1,_0x198a02=_0x18b556(_0x5c1ed0);if(_0x198a02==='')return;let _0x3208f0={'unitID':_0x2236a6,'memberID':_0x3b294d,'selection':_0x198a02};this['_collabCursorState$'][_0x1f1356(0x2cd)](_0x3208f0);}};let _0x1327f5=class extends _0xead8ff['RxDisposable']{get[_0x25f051(0x3b2)](){const _0x5053a9=_0x25f051;return this['_cursorInfo$'][_0x5053a9(0x410)]();}get[_0x25f051(0x189)](){const _0x4e5837=_0x25f051;return this[_0x4e5837(0x2fc)][_0x4e5837(0x410)]();}constructor(_0x5832b4,_0x27e0d6,_0x51406e,_0x51908e,_0x2438b0,_0x243cc5,_0x519746,_0x3dcb75,_0x440033){const _0x583e3a=_0x25f051;super(),this[_0x583e3a(0x343)]=_0x5832b4,this[_0x583e3a(0x103)]=_0x27e0d6,this[_0x583e3a(0x381)]=_0x51406e,this[_0x583e3a(0x124)]=_0x51908e,this[_0x583e3a(0x3aa)]=_0x2438b0,this[_0x583e3a(0x1da)]=_0x243cc5,this['_transformService']=_0x519746,this[_0x583e3a(0x278)]=_0x3dcb75,this[_0x583e3a(0x2a1)]=_0x440033,_0x322c70(this,'_online',!0x1),_0x322c70(this,'_init',!0x1),_0x322c70(this,_0x583e3a(0x2e0),new _0x533d32['BehaviorSubject'](new Map())),_0x322c70(this,'cursorInfo$',this[_0x583e3a(0x2e0)][_0x583e3a(0x1cf)]()),_0x322c70(this,_0x583e3a(0x2fc),new _0x533d32['BehaviorSubject']([])),_0x322c70(this,_0x583e3a(0x21a),this[_0x583e3a(0x2fc)][_0x583e3a(0x3ef)]((0x0,_0x533d32[_0x583e3a(0x324)])(0x12c))),_0x322c70(this,_0x583e3a(0x2c7),(0x0,_0xead8ff[_0x583e3a(0x340)])(_0x4e3504=>{const _0x34cc50=_0x583e3a;let _0x3dd8c8={'eventID':_0xf04665[_0x34cc50(0x1f7)][_0x34cc50(0x188)],'data':{'unitID':this[_0x34cc50(0x343)],'memberID':this[_0x34cc50(0x103)][_0x34cc50(0x330)](),'selection':_0x18b556(_0x4e3504)}};this[_0x34cc50(0x103)][_0x34cc50(0x3f3)](_0x3dd8c8,this[_0x34cc50(0x343)]);},0x64));}[_0x25f051(0x216)](){const _0x35b42b=_0x25f051;super[_0x35b42b(0x216)](),this[_0x35b42b(0x2e0)][_0x35b42b(0x2cd)](new Map()),this[_0x35b42b(0x2e0)][_0x35b42b(0x3c1)](),this[_0x35b42b(0x2fc)][_0x35b42b(0x2cd)]([]),this['_roomMembers$'][_0x35b42b(0x3c1)]();}[_0x25f051(0x1fc)](){const _0x33bcce=_0x25f051;this[_0x33bcce(0x398)]||(this[_0x33bcce(0x398)]=!0x0,this[_0x33bcce(0x103)][_0x33bcce(0x3ec)][_0x33bcce(0x3ef)]((0x0,_0x533d32['takeUntil'])(this[_0x33bcce(0x24c)]))['subscribe'](_0x500c26=>{const _0x428405=_0x33bcce;_0x500c26===_0x5cd740[_0x428405(0x2e2)][_0x428405(0x1a0)]?this[_0x428405(0x275)]():this['_toggleOffline']();}),this[_0x33bcce(0x103)]['event$']['pipe']((0x0,_0x533d32['takeUntil'])(this['dispose$']))[_0x33bcce(0x38e)](_0xcb7f4d=>{const _0x110d9c=_0x33bcce;let _0x25eca9=_0xcb7f4d[_0x110d9c(0x12a)];_0x25eca9===_0xf04665[_0x110d9c(0x1f7)][_0x110d9c(0x188)]&&this['_onCursorUpdate'](_0xcb7f4d),_0x25eca9===_0xf04665['CollaborationEvent'][_0x110d9c(0x2a6)]&&this[_0x110d9c(0x2f7)](_0xcb7f4d);}),this[_0x33bcce(0x40f)](this[_0x33bcce(0x2a1)][_0x33bcce(0x38d)](_0x1579fb=>{const _0x25c3c3=_0x33bcce;let _0x2c52c8=_0x1579fb[_0x25c3c3(0x2d9)];_0x2c52c8!=null&&this[_0x25c3c3(0x2fb)]&&_0x1579fb['id']===_0x30c363[_0x25c3c3(0x3c9)]['id']&&_0x2c52c8[_0x25c3c3(0x2d8)]===this[_0x25c3c3(0x343)]&&_0x2c52c8[_0x25c3c3(0x215)]===!0x1&&_0x2c52c8['ranges'][_0x25c3c3(0x3c4)]>0x0&&this[_0x25c3c3(0x2c7)](_0x2c52c8[_0x25c3c3(0x401)]);})),this[_0x33bcce(0x1da)][_0x33bcce(0x327)][_0x33bcce(0x3ef)]((0x0,_0x533d32['takeUntil'])(this['dispose$']))[_0x33bcce(0x38e)](_0xd32dc1=>{const _0x54cce9=_0x33bcce;if((_0xd32dc1==null?void 0x0:_0xd32dc1[_0x54cce9(0x343)])!==this[_0x54cce9(0x343)])return;let _0x1643df={'eventID':_0xf04665[_0x54cce9(0x1f7)][_0x54cce9(0x188)],'data':_0xd32dc1};this['_onCursorUpdate'](_0x1643df);}),this['disposeWithMe'](this['_commandService']['onCommandExecuted'](_0x814a5=>{const _0x509d9c=_0x33bcce;if(_0x814a5[_0x509d9c(0x2d9)]==null)return;let _0x1c6917=_0x814a5[_0x509d9c(0x2d9)];if(_0x814a5['id']!==_0x30c363[_0x509d9c(0x3ee)]['id']||_0x1c6917[_0x509d9c(0x2d8)]!==this[_0x509d9c(0x343)])return;let _0x514537={'id':'doc.mutation.rich-text-editing','params':_0x1c6917},_0x33850c=this['cursorInfo'];for(let [_0x5ed3e4,_0x41e033]of _0x33850c){let _0xf286d0={'id':_0x509d9c(0x132),'params':{'unitId':this[_0x509d9c(0x343)],'actions':null,'textRanges':_0x41e033[_0x509d9c(0x401)]}},_0x22e9a8=this['_transformService'][_0x509d9c(0x1f5)](_0x514537,_0xf286d0,!0x1);if((0x0,_0xf04665[_0x509d9c(0x389)])(_0x22e9a8))throw _0x22e9a8[_0x509d9c(0x233)];_0x33850c[_0x509d9c(0x168)](_0x5ed3e4,{..._0x41e033,'ranges':_0x22e9a8[_0x509d9c(0x29c)][_0x509d9c(0x2d9)]['textRanges']});}queueMicrotask(()=>{const _0xe9e9d6=_0x509d9c;this[_0xe9e9d6(0x2e0)][_0xe9e9d6(0x2cd)](_0x33850c);});})));}[_0x25f051(0x370)](_0xabc59a){const _0x1b2274=_0x25f051;var _0x4f4a7b,_0x33ae9d;let {memberID:_0x255749,selection:_0xd1f34d}=_0xabc59a[_0x1b2274(0x264)],_0x101655=_0xc08755(_0xd1f34d),_0x2ceffe=(_0x4f4a7b=(_0x33ae9d=this['_memberService']['getMember'](this[_0x1b2274(0x343)],_0x255749))==null?void 0x0:_0x33ae9d[_0x1b2274(0x11d)])==null?_0x1b2274(0x18a):_0x4f4a7b,_0x390140={'color':this['_colorAssignService'][_0x1b2274(0x266)](_0x255749),'name':_0x2ceffe,'ranges':_0x101655},_0x36b216=this[_0x1b2274(0x3b2)];_0x36b216[_0x1b2274(0x168)](_0x255749,_0x390140),this[_0x1b2274(0x2e0)][_0x1b2274(0x2cd)](_0x36b216);}[_0x25f051(0x2f7)](_0x1ddbcd){const _0xd1636a=_0x25f051;let {memberID:_0x1e71e3}=_0x1ddbcd[_0xd1636a(0x264)],_0x447a6f=this['cursorInfo'];_0x447a6f[_0xd1636a(0x2bc)](_0x1e71e3),this[_0xd1636a(0x2e0)][_0xd1636a(0x2cd)](_0x447a6f);}[_0x25f051(0x275)](){const _0x429980=_0x25f051;var _0x21bc31;if(this[_0x429980(0x2fb)]=!0x0,((_0x21bc31=this[_0x429980(0x278)][_0x429980(0x308)]())==null?void 0x0:_0x21bc31[_0x429980(0x367)]())!==this[_0x429980(0x343)])return;let _0x40aa1e=this[_0x429980(0x381)]['get'](_0x30c363[_0x429980(0x2c4)])[_0x429980(0x1c1)]();Array['isArray'](_0x40aa1e)&&_0x40aa1e[_0x429980(0x3c4)]>0x0&&this['_updateLocalCursor'](_0x40aa1e);}[_0x25f051(0x239)](){const _0x4e1e1f=_0x25f051;this[_0x4e1e1f(0x2fb)]=!0x1;}};_0x1327f5=_0x30ac55([_0x3215c6(0x2,(0x0,_0xead8ff[_0x25f051(0x3e0)])(_0xead8ff[_0x25f051(0x22d)])),_0x3215c6(0x3,(0x0,_0xead8ff['Inject'])(_0x1b9f9b)),_0x3215c6(0x4,(0x0,_0xead8ff[_0x25f051(0x3e0)])(_0x5cd740[_0x25f051(0x1f4)])),_0x3215c6(0x5,(0x0,_0xead8ff[_0x25f051(0x3e0)])(_0x50ec94)),_0x3215c6(0x6,_0xf04665[_0x25f051(0x1e8)]),_0x3215c6(0x7,_0xead8ff['IUniverInstanceService']),_0x3215c6(0x8,_0xead8ff[_0x25f051(0x140)])],_0x1327f5);let _0x5a6b36=()=>{let _0x246e01=[],_0x499921=!0x1;return _0x1912ab=>{const _0x455a3b=_0x4afd;_0x246e01[_0x455a3b(0x295)](_0x1912ab),_0x499921||(_0x499921=!0x0,setTimeout(()=>{_0x246e01['forEach'](_0x38e2f3=>_0x38e2f3()),_0x246e01=[],_0x499921=!0x1;}));};},_0x54d9b5=class extends _0xead8ff[_0x25f051(0x153)]{get[_0x25f051(0x3b2)](){const _0x264b72=_0x25f051;return this[_0x264b72(0x2e0)][_0x264b72(0x410)]();}get[_0x25f051(0x189)](){const _0x4fe0d0=_0x25f051;return this[_0x4fe0d0(0x2fc)][_0x4fe0d0(0x410)]();}constructor(_0x11774e,_0x38479c,_0xd8f771,_0x33198a,_0x2c88b8,_0x46ae09,_0x41f986,_0x4ef3b3){const _0x46a27e=_0x25f051;super(),this[_0x46a27e(0x343)]=_0x11774e,this[_0x46a27e(0x103)]=_0x38479c,this[_0x46a27e(0x381)]=_0xd8f771,this[_0x46a27e(0x124)]=_0x33198a,this[_0x46a27e(0x3aa)]=_0x2c88b8,this[_0x46a27e(0x278)]=_0x46ae09,this[_0x46a27e(0x2a1)]=_0x41f986,this[_0x46a27e(0x363)]=_0x4ef3b3,_0x322c70(this,_0x46a27e(0x2fb),!0x1),_0x322c70(this,_0x46a27e(0x398),!0x1),_0x322c70(this,_0x46a27e(0x2e0),new _0x533d32[(_0x46a27e(0x3a7))](new Map())),_0x322c70(this,_0x46a27e(0x19e),this[_0x46a27e(0x2e0)]['asObservable']()),_0x322c70(this,_0x46a27e(0x2fc),new _0x533d32['BehaviorSubject']([])),_0x322c70(this,_0x46a27e(0x21a),this[_0x46a27e(0x2fc)][_0x46a27e(0x3ef)]((0x0,_0x533d32[_0x46a27e(0x324)])(0x12c))),_0x322c70(this,_0x46a27e(0x2c7),(0x0,_0xead8ff[_0x46a27e(0x340)])((_0x4b67eb,_0x4d59ab)=>{const _0x5d8f30=_0x46a27e;let _0x51041c={'eventID':_0xf04665['CollaborationEvent'][_0x5d8f30(0x188)],'data':{'unitID':this['unitID'],'memberID':this[_0x5d8f30(0x103)][_0x5d8f30(0x330)](),'selection':(0x0,_0x11c147['serializeRangeWithSheet'])(_0x4b67eb,_0x4d59ab[_0x5d8f30(0x1a4)])}};this[_0x5d8f30(0x103)][_0x5d8f30(0x3f3)](_0x51041c,this['unitID']);},0x64));}[_0x25f051(0x216)](){const _0xdb0d80=_0x25f051;super[_0xdb0d80(0x216)](),this['_cursorInfo$'][_0xdb0d80(0x2cd)](new Map()),this[_0xdb0d80(0x2e0)]['complete'](),this[_0xdb0d80(0x2fc)][_0xdb0d80(0x2cd)]([]),this['_roomMembers$'][_0xdb0d80(0x3c1)]();}['init'](){const _0x12cf97=_0x25f051;this['_init']||(this[_0x12cf97(0x398)]=!0x0,this[_0x12cf97(0x103)][_0x12cf97(0x3ec)][_0x12cf97(0x3ef)]((0x0,_0x533d32[_0x12cf97(0x37d)])(this['dispose$']))['subscribe'](_0x55662e=>{const _0x185cad=_0x12cf97;_0x55662e===_0x5cd740[_0x185cad(0x2e2)][_0x185cad(0x1a0)]?this[_0x185cad(0x275)]():this['_toggleOffline']();}),this[_0x12cf97(0x103)][_0x12cf97(0x3df)][_0x12cf97(0x3ef)]((0x0,_0x533d32[_0x12cf97(0x37d)])(this[_0x12cf97(0x24c)]))[_0x12cf97(0x38e)](_0x224ae0=>{const _0x2a168c=_0x12cf97;let _0x1e4328=_0x224ae0[_0x2a168c(0x12a)];_0x1e4328===_0xf04665[_0x2a168c(0x1f7)][_0x2a168c(0x188)]&&this[_0x2a168c(0x370)](_0x224ae0),_0x1e4328===_0xf04665[_0x2a168c(0x1f7)][_0x2a168c(0x2a6)]&&this[_0x2a168c(0x2f7)](_0x224ae0);}),this[_0x12cf97(0x193)](),this[_0x12cf97(0x40f)](this[_0x12cf97(0x2a1)][_0x12cf97(0x38d)](_0x43ae1e=>{const _0xb60956=_0x12cf97;if(this[_0xb60956(0x2fb)]&&_0x43ae1e['id']===_0x1e9c96[_0xb60956(0x301)]['id']&&_0x43ae1e[_0xb60956(0x2d9)][_0xb60956(0x2d8)]===this['unitID']){let _0x127db9=_0x43ae1e[_0xb60956(0x2d9)];this[_0xb60956(0x2c7)](_0x127db9['subUnitId'],_0x127db9['selections'][0x0]);}})));}[_0x25f051(0x370)](_0x2a84bd){const _0x50defc=_0x25f051;var _0x7f5ce8,_0x336fd2;let {memberID:_0x15dff0,selection:_0x54fe12}=_0x2a84bd[_0x50defc(0x264)],{sheetName:_0x2b4467,range:_0x58fc40}=(0x0,_0x11c147['deserializeRangeWithSheet'])(_0x54fe12),_0x591b64={'name':(_0x7f5ce8=(_0x336fd2=this[_0x50defc(0x3aa)]['getMember'](this[_0x50defc(0x343)],_0x15dff0))==null?void 0x0:_0x336fd2[_0x50defc(0x11d)])==null?_0x50defc(0x18a):_0x7f5ce8,'range':this['_getMergeRange'](_0x2b4467,_0x58fc40),'sheetID':_0x2b4467,'color':this['_colorAssignService']['assignAColorForMemberID'](_0x15dff0),'selection':_0x54fe12},_0x532f1a=this[_0x50defc(0x3b2)];_0x532f1a[_0x50defc(0x168)](_0x15dff0,_0x591b64),this[_0x50defc(0x2e0)]['next'](_0x532f1a);}[_0x25f051(0x2f7)](_0x1ef95f){const _0x16bf47=_0x25f051;let {memberID:_0x42ed98}=_0x1ef95f[_0x16bf47(0x264)],_0x321a6e=this[_0x16bf47(0x3b2)];_0x321a6e[_0x16bf47(0x2bc)](_0x42ed98),this[_0x16bf47(0x2e0)]['next'](_0x321a6e);}[_0x25f051(0x36f)](_0x85f88,_0x6fdbe4){const _0x3e7627=_0x25f051;var _0x4c9da4;let _0x3a866c=(_0x4c9da4=this[_0x3e7627(0x278)][_0x3e7627(0x3cb)](this[_0x3e7627(0x343)]))==null||(_0x4c9da4=_0x4c9da4[_0x3e7627(0x3b1)](_0x85f88))==null?void 0x0:_0x4c9da4[_0x3e7627(0x13f)]();return(_0x3a866c==null?void 0x0:_0x3a866c[_0x3e7627(0x165)](_0x42ac06=>_0xead8ff[_0x3e7627(0x18e)]['contains'](_0x42ac06,_0x6fdbe4)))||_0x6fdbe4;}['_onRefRangeChange'](){const _0x31cd54=_0x25f051;let _0x54a22c=new _0xead8ff['DisposableCollection'](),_0xd1aff2=_0x5a6b36(),_0x40c702=()=>{const _0x6a63f4=_0x4afd;_0x54a22c[_0x6a63f4(0x216)]();let _0x25213f=(_0x819d8,_0x2485d8,_0x15e7ec,_0x1179b5)=>{const _0x123cad=_0x6a63f4;let _0x2ead6b=[];switch(_0x819d8['id']){case _0x1e9c96[_0x123cad(0x27f)][_0x123cad(0x1c0)]:_0x2ead6b=(0x0,_0x1e9c96[_0x123cad(0x3c8)])(_0x819d8,_0x1179b5);break;case _0x1e9c96[_0x123cad(0x27f)]['DeleteRangeMoveUpCommandId']:_0x2ead6b=(0x0,_0x1e9c96['handleDeleteRangeMoveUp'])(_0x819d8,_0x1179b5);break;case _0x1e9c96[_0x123cad(0x27f)]['InsertColCommandId']:_0x2ead6b=(0x0,_0x1e9c96[_0x123cad(0x14a)])(_0x819d8,_0x1179b5);break;case _0x1e9c96[_0x123cad(0x27f)][_0x123cad(0x38f)]:_0x2ead6b=(0x0,_0x1e9c96[_0x123cad(0x3bf)])(_0x819d8,_0x1179b5);break;case _0x1e9c96['EffectRefRangId'][_0x123cad(0x304)]:_0x2ead6b=(0x0,_0x1e9c96[_0x123cad(0x22b)])(_0x819d8,_0x1179b5);break;case _0x1e9c96['EffectRefRangId'][_0x123cad(0x2d2)]:_0x2ead6b=(0x0,_0x1e9c96[_0x123cad(0x1e6)])(_0x819d8,_0x1179b5);break;case _0x1e9c96['EffectRefRangId'][_0x123cad(0x174)]:_0x2ead6b=(0x0,_0x1e9c96[_0x123cad(0x2be)])(_0x819d8,_0x1179b5);break;case _0x1e9c96[_0x123cad(0x27f)][_0x123cad(0x338)]:_0x2ead6b=(0x0,_0x1e9c96[_0x123cad(0x377)])(_0x819d8,_0x1179b5);break;case _0x1e9c96[_0x123cad(0x27f)]['RemoveRowCommandId']:_0x2ead6b=(0x0,_0x1e9c96['handleIRemoveRow'])(_0x819d8,_0x1179b5);break;}let _0x31b171=(0x0,_0x1e9c96[_0x123cad(0x3cc)])(_0x2ead6b,_0x1179b5),_0x4b3bf2=this['cursorInfo'][_0x123cad(0x194)](_0x2485d8);if(_0x4b3bf2&&_0x31b171){let _0x36cb07={..._0x4b3bf2,'range':_0x31b171};this[_0x123cad(0x3b2)][_0x123cad(0x168)](_0x2485d8,_0x36cb07),_0xd1aff2(()=>{const _0x1fe051=_0x123cad;let _0x30fe37=this[_0x1fe051(0x363)][_0x1fe051(0x362)](_0x31b171,_0xf74bfb=>(_0x30fe37['dispose'](),_0x25213f(_0xf74bfb,_0x2485d8,_0x15e7ec,_0x31b171)));_0x54a22c[_0x1fe051(0x206)](_0x30fe37);});}return{'redos':[],'undos':[]};};this[_0x6a63f4(0x3b2)]['forEach']((_0x5d8a06,_0x3a3622)=>{const _0x1005cb=_0x6a63f4;let {range:_0x1a4538,sheetID:_0x53211b}=_0x5d8a06,_0x20480f=this[_0x1005cb(0x363)][_0x1005cb(0x362)](_0x1a4538,_0x30992d=>(_0x20480f[_0x1005cb(0x216)](),_0x25213f(_0x30992d,_0x3a3622,_0x53211b,_0x1a4538)));_0x54a22c[_0x1005cb(0x206)](_0x20480f);});};this['disposeWithMe']((0x0,_0xead8ff[_0x31cd54(0x10f)])(this[_0x31cd54(0x2e0)][_0x31cd54(0x38e)](()=>{_0x40c702();})));}[_0x25f051(0x275)](){const _0x5611dd=_0x25f051;var _0x27b23f,_0x3e12f1;if(this[_0x5611dd(0x2fb)]=!0x0,((_0x27b23f=this[_0x5611dd(0x278)]['getFocusedUnit']())==null?void 0x0:_0x27b23f[_0x5611dd(0x367)]())!==this[_0x5611dd(0x343)])return;let _0x11fef2=(_0x3e12f1=this[_0x5611dd(0x381)][_0x5611dd(0x194)](_0x1e9c96['SheetsSelectionsService'])[_0x5611dd(0x25c)]())==null?void 0x0:_0x3e12f1[0x0],_0x1343b2=this[_0x5611dd(0x278)][_0x5611dd(0x22a)](_0xead8ff[_0x5611dd(0x1ea)][_0x5611dd(0x10a)])[_0x5611dd(0x3d4)]();_0x11fef2&&_0x1343b2&&this[_0x5611dd(0x2c7)](_0x1343b2['getSheetId'](),_0x11fef2);}[_0x25f051(0x239)](){const _0x1ecf5b=_0x25f051;this[_0x1ecf5b(0x2fb)]=!0x1;}};_0x54d9b5=_0x30ac55([_0x3215c6(0x2,(0x0,_0xead8ff[_0x25f051(0x3e0)])(_0xead8ff['Injector'])),_0x3215c6(0x3,(0x0,_0xead8ff[_0x25f051(0x3e0)])(_0x1b9f9b)),_0x3215c6(0x4,(0x0,_0xead8ff[_0x25f051(0x3e0)])(_0x5cd740[_0x25f051(0x1f4)])),_0x3215c6(0x5,_0xead8ff[_0x25f051(0x159)]),_0x3215c6(0x6,_0xead8ff[_0x25f051(0x140)]),_0x3215c6(0x7,(0x0,_0xead8ff[_0x25f051(0x3e0)])(_0x1e9c96[_0x25f051(0x31e)]))],_0x54d9b5);function _0x22b12c(_0x35fc97){const _0x447a8d=_0x25f051;let _0x57bf49;try{_0x57bf49=JSON['parse'](_0x35fc97);}catch{return null;}if(typeof _0x57bf49!=_0x447a8d(0x412)||!_0x57bf49)return null;let _0x22de7b=_0x57bf49;if(_0x22de7b[_0x447a8d(0x28c)]!==_0x447a8d(0xfb)||typeof _0x22de7b[_0x447a8d(0x2d8)]!=_0x447a8d(0x16a)||typeof _0x22de7b[_0x447a8d(0x40c)]!='string')return null;let _0x291fc8=Array[_0x447a8d(0x133)](_0x22de7b[_0x447a8d(0x20a)])?_0x22de7b[_0x447a8d(0x20a)]['filter'](_0x1e0cf7=>typeof _0x1e0cf7=='string'):[],_0x2577f5=typeof _0x22de7b[_0x447a8d(0x1b5)]==_0x447a8d(0x16a)?_0x22de7b[_0x447a8d(0x1b5)]:null;return{'kind':'slide-element-selection','unitId':_0x22de7b['unitId'],'subUnitId':_0x22de7b[_0x447a8d(0x40c)],'selectedIds':_0x291fc8,'focusedId':_0x2577f5};}let _0xfd436c=class extends _0xead8ff['RxDisposable']{get[_0x25f051(0x3b2)](){const _0x241ea8=_0x25f051;return this[_0x241ea8(0x2e0)]['getValue']();}get[_0x25f051(0x189)](){const _0x3571c4=_0x25f051;return this[_0x3571c4(0x2fc)][_0x3571c4(0x410)]();}constructor(_0x51752f,_0x14515c,_0x30c520,_0x2aa878,_0xa77fca){const _0x40677f=_0x25f051;super(),this['unitID']=_0x51752f,this[_0x40677f(0x103)]=_0x14515c,this[_0x40677f(0x124)]=_0x30c520,this['_memberService']=_0x2aa878,this[_0x40677f(0x38a)]=_0xa77fca,_0x322c70(this,_0x40677f(0x2fb),!0x1),_0x322c70(this,_0x40677f(0x398),!0x1),_0x322c70(this,_0x40677f(0x2e0),new _0x533d32[(_0x40677f(0x3a7))](new Map())),_0x322c70(this,'cursorInfo$',this['_cursorInfo$'][_0x40677f(0x1cf)]()),_0x322c70(this,_0x40677f(0x2fc),new _0x533d32[(_0x40677f(0x3a7))]([])),_0x322c70(this,_0x40677f(0x21a),this[_0x40677f(0x2fc)]['pipe']((0x0,_0x533d32[_0x40677f(0x324)])(0x12c))),_0x322c70(this,_0x40677f(0x2c7),(0x0,_0xead8ff[_0x40677f(0x340)])(_0x254088=>{const _0x4a2ac5=_0x40677f;let _0x5ee735=_0x254088[_0x4a2ac5(0x16f)];if(!_0x5ee735||_0x5ee735[_0x4a2ac5(0x2d8)]!==this[_0x4a2ac5(0x343)])return;let _0x14fce5={'kind':_0x4a2ac5(0xfb),'unitId':_0x5ee735['unitId'],'subUnitId':_0x5ee735[_0x4a2ac5(0x40c)],'selectedIds':_0x254088['selectedIds'][_0x4a2ac5(0x1e9)](_0x41f372=>typeof _0x41f372==_0x4a2ac5(0x16a)),'focusedId':_0x254088[_0x4a2ac5(0x1b5)]},_0x3877e4={'eventID':_0xf04665[_0x4a2ac5(0x1f7)][_0x4a2ac5(0x188)],'data':{'unitID':this[_0x4a2ac5(0x343)],'memberID':this[_0x4a2ac5(0x103)][_0x4a2ac5(0x330)](),'selection':JSON[_0x4a2ac5(0x23c)](_0x14fce5)}};this[_0x4a2ac5(0x103)][_0x4a2ac5(0x3f3)](_0x3877e4,this['unitID']);},0x64));}[_0x25f051(0x216)](){const _0x14d082=_0x25f051;super[_0x14d082(0x216)](),this[_0x14d082(0x2e0)][_0x14d082(0x2cd)](new Map()),this['_cursorInfo$'][_0x14d082(0x3c1)](),this['_roomMembers$'][_0x14d082(0x2cd)]([]),this['_roomMembers$'][_0x14d082(0x3c1)]();}[_0x25f051(0x1fc)](){const _0x18e5e3=_0x25f051;this[_0x18e5e3(0x398)]||(this[_0x18e5e3(0x398)]=!0x0,this[_0x18e5e3(0x103)][_0x18e5e3(0x3ec)][_0x18e5e3(0x3ef)]((0x0,_0x533d32[_0x18e5e3(0x37d)])(this[_0x18e5e3(0x24c)]))[_0x18e5e3(0x38e)](_0xc290ae=>{const _0xa75a8f=_0x18e5e3;_0xc290ae===_0x5cd740[_0xa75a8f(0x2e2)][_0xa75a8f(0x1a0)]?this['_toggleOnline']():this['_toggleOffline']();}),this[_0x18e5e3(0x103)]['event$']['pipe']((0x0,_0x533d32[_0x18e5e3(0x37d)])(this[_0x18e5e3(0x24c)]))[_0x18e5e3(0x38e)](_0x19879e=>{const _0x7a7dcb=_0x18e5e3;let _0xa578c=_0x19879e[_0x7a7dcb(0x12a)];_0xa578c===_0xf04665['CollaborationEvent'][_0x7a7dcb(0x188)]&&this[_0x7a7dcb(0x370)](_0x19879e),_0xa578c===_0xf04665[_0x7a7dcb(0x1f7)]['USERS_LEAVE']&&this[_0x7a7dcb(0x2f7)](_0x19879e);}),this[_0x18e5e3(0x38a)][_0x18e5e3(0x39a)][_0x18e5e3(0x3ef)]((0x0,_0x533d32[_0x18e5e3(0x37d)])(this[_0x18e5e3(0x24c)]))[_0x18e5e3(0x38e)](_0x3cbc0d=>{const _0x254961=_0x18e5e3;this[_0x254961(0x2fb)]&&this[_0x254961(0x2c7)](_0x3cbc0d);}));}[_0x25f051(0x370)](_0x424b3c){const _0x5fa5c6=_0x25f051;var _0x26ae4a,_0x535891,_0x2a3475,_0x139f61;let {memberID:_0x2a020b,selection:_0x3ed405}=_0x424b3c[_0x5fa5c6(0x264)];if(_0x2a020b===((_0x26ae4a=(_0x535891=this[_0x5fa5c6(0x103)])['getMemberID'])==null?void 0x0:_0x26ae4a[_0x5fa5c6(0x19c)](_0x535891)))return;let _0x15b0fd=_0x22b12c(_0x3ed405);if(!_0x15b0fd||_0x15b0fd[_0x5fa5c6(0x2d8)]!==this['unitID'])return;let _0x21cbf5=(_0x2a3475=(_0x139f61=this[_0x5fa5c6(0x3aa)][_0x5fa5c6(0x307)](this[_0x5fa5c6(0x343)],_0x2a020b))==null?void 0x0:_0x139f61[_0x5fa5c6(0x11d)])==null?_0x5fa5c6(0x18a):_0x2a3475,_0x3699a3={'color':this['_colorAssignService'][_0x5fa5c6(0x266)](_0x2a020b),'name':_0x21cbf5,'unitId':_0x15b0fd[_0x5fa5c6(0x2d8)],'subUnitId':_0x15b0fd['subUnitId'],'selectedIds':_0x15b0fd[_0x5fa5c6(0x20a)],'focusedId':_0x15b0fd[_0x5fa5c6(0x1b5)],'selection':_0x3ed405},_0x5f40c6=new Map(this[_0x5fa5c6(0x3b2)]);_0x5f40c6[_0x5fa5c6(0x168)](_0x2a020b,_0x3699a3),this[_0x5fa5c6(0x2e0)][_0x5fa5c6(0x2cd)](_0x5f40c6);}[_0x25f051(0x2f7)](_0x4e393a){const _0x402697=_0x25f051;let {memberID:_0x5e763a}=_0x4e393a['data'],_0x15ced0=new Map(this[_0x402697(0x3b2)]);_0x15ced0[_0x402697(0x2bc)](_0x5e763a),this['_cursorInfo$'][_0x402697(0x2cd)](_0x15ced0);}[_0x25f051(0x275)](){const _0x129db1=_0x25f051;this[_0x129db1(0x2fb)]=!0x0,this[_0x129db1(0x2c7)](this['_slideDrawingStateService'][_0x129db1(0x100)]());}['_toggleOffline'](){const _0x5202ed=_0x25f051;this[_0x5202ed(0x2fb)]=!0x1;}};_0xfd436c=_0x30ac55([_0x3215c6(0x2,(0x0,_0xead8ff[_0x25f051(0x3e0)])(_0x1b9f9b)),_0x3215c6(0x3,(0x0,_0xead8ff[_0x25f051(0x3e0)])(_0x5cd740[_0x25f051(0x1f4)])),_0x3215c6(0x4,(0x0,_0xead8ff[_0x25f051(0x3e0)])(_0x3ea210[_0x25f051(0xfd)]))],_0xfd436c);let _0x2421ce=class extends _0xead8ff[_0x25f051(0x153)]{constructor(_0x5b16fd,_0x5bd40c,_0x307258){const _0x325eba=_0x25f051;super(),this[_0x325eba(0x278)]=_0x5b16fd,this[_0x325eba(0x381)]=_0x5bd40c,this[_0x325eba(0x2de)]=_0x307258,_0x322c70(this,'_entities',new Map()),_0x322c70(this,'_entityInit$',new _0x533d32[(_0x325eba(0x3f9))]()),this[_0x325eba(0x398)]();}[_0x25f051(0x216)](){const _0x3ea3cf=_0x25f051;super['dispose'](),this[_0x3ea3cf(0x265)]['complete'](),this[_0x3ea3cf(0x287)][_0x3ea3cf(0x2ed)](_0x39ce8c=>_0x39ce8c[_0x3ea3cf(0x216)]());}['getCollabCursors$'](_0x532b17){const _0x280a8c=_0x25f051;return this[_0x280a8c(0x287)][_0x280a8c(0x3dc)](_0x532b17)?this[_0x280a8c(0x287)][_0x280a8c(0x194)](_0x532b17)[_0x280a8c(0x19e)]:this[_0x280a8c(0x265)][_0x280a8c(0x3ef)]((0x0,_0x533d32['filter'])(_0x1b2d9a=>_0x1b2d9a[_0x280a8c(0x343)]===_0x532b17),(0x0,_0x533d32['switchMap'])(_0x3e58ba=>_0x3e58ba[_0x280a8c(0x19e)]));}[_0x25f051(0x398)](){const _0x587139=_0x25f051;this[_0x587139(0x278)][_0x587139(0x208)](_0xead8ff['UniverInstanceType']['UNIVER_SHEET'])[_0x587139(0x3ef)]((0x0,_0x533d32[_0x587139(0x37d)])(this[_0x587139(0x24c)]))['subscribe'](async _0x417984=>{const _0x3bda67=_0x587139;let _0x3255f7=_0x417984[_0x3bda67(0x270)][_0x3bda67(0x367)](),_0xcd0b50=await this['_startSheetCollabCursor'](_0x3255f7);this[_0x3bda67(0x265)]['next'](_0xcd0b50),this[_0x3bda67(0x287)][_0x3bda67(0x168)](_0x3255f7,_0xcd0b50);}),this['_univerInstanceService']['getTypeOfUnitAdded$'](_0xead8ff[_0x587139(0x1ea)][_0x587139(0x3fd)])[_0x587139(0x3ef)]((0x0,_0x533d32['takeUntil'])(this[_0x587139(0x24c)]))[_0x587139(0x3ef)]((0x0,_0x533d32['filter'])(_0x1e300e=>!_0x1e300e[_0x587139(0x270)][_0x587139(0x367)]()['startsWith']('__')))[_0x587139(0x38e)](async _0x19efe5=>{const _0x50a53a=_0x587139;let {unit:_0x5e2745}=_0x19efe5,_0x2d81f0=_0x5e2745['getUnitId'](),_0x512a57=await this['_startDocCollabCursor'](_0x2d81f0);this[_0x50a53a(0x265)]['next'](_0x512a57),this[_0x50a53a(0x287)][_0x50a53a(0x168)](_0x2d81f0,_0x512a57);}),this[_0x587139(0x278)][_0x587139(0x208)](_0xead8ff[_0x587139(0x1ea)][_0x587139(0x18c)])[_0x587139(0x3ef)]((0x0,_0x533d32[_0x587139(0x37d)])(this['dispose$']))['subscribe'](async _0x2a709=>{const _0x360fbf=_0x587139;let _0x432253=_0x2a709[_0x360fbf(0x270)][_0x360fbf(0x367)](),_0x39aa14=await this[_0x360fbf(0x183)](_0x432253);this[_0x360fbf(0x265)][_0x360fbf(0x2cd)](_0x39aa14),this[_0x360fbf(0x287)][_0x360fbf(0x168)](_0x432253,_0x39aa14);}),(0x0,_0x533d32[_0x587139(0x106)])(this[_0x587139(0x278)][_0x587139(0x12f)](_0xead8ff['UniverInstanceType']['UNIVER_DOC']),this[_0x587139(0x278)][_0x587139(0x12f)](_0xead8ff['UniverInstanceType'][_0x587139(0x10a)]),this[_0x587139(0x278)]['getTypeOfUnitDisposed$'](_0xead8ff[_0x587139(0x1ea)][_0x587139(0x18c)]))[_0x587139(0x3ef)]((0x0,_0x533d32[_0x587139(0x37d)])(this[_0x587139(0x24c)]))[_0x587139(0x38e)](_0x21aca7=>{const _0x500bf0=_0x587139;let _0x28e2b2=_0x21aca7[_0x500bf0(0x367)](),_0x468ea0=this[_0x500bf0(0x287)][_0x500bf0(0x194)](_0x28e2b2);_0x468ea0&&(_0x468ea0[_0x500bf0(0x216)](),this[_0x500bf0(0x287)][_0x500bf0(0x2bc)](_0x28e2b2));});}async[_0x25f051(0x358)](_0x3f26b2){const _0x5adbac=_0x25f051;let _0x4ce5d0=await this[_0x5adbac(0x2de)][_0x5adbac(0x349)](_0x3f26b2),_0x395187=this[_0x5adbac(0x381)][_0x5adbac(0x354)](_0x54d9b5,_0x3f26b2,_0x4ce5d0);return _0x395187[_0x5adbac(0x1fc)](),_0x395187;}async[_0x25f051(0x31a)](_0x2eb5b1){const _0x5d21d0=_0x25f051;let _0x6096b7=await this[_0x5d21d0(0x2de)][_0x5d21d0(0x349)](_0x2eb5b1),_0x2ea862=this[_0x5d21d0(0x381)][_0x5d21d0(0x354)](_0x1327f5,_0x2eb5b1,_0x6096b7);return _0x2ea862[_0x5d21d0(0x1fc)](),_0x2ea862;}async[_0x25f051(0x183)](_0x51194f){const _0x1333cf=_0x25f051;let _0x150b6f=await this[_0x1333cf(0x2de)][_0x1333cf(0x349)](_0x51194f),_0x1a0511=this['_injector'][_0x1333cf(0x354)](_0xfd436c,_0x51194f,_0x150b6f);return _0x1a0511[_0x1333cf(0x1fc)](),_0x1a0511;}};_0x2421ce=_0x30ac55([_0x3215c6(0x0,_0xead8ff[_0x25f051(0x159)]),_0x3215c6(0x1,(0x0,_0xead8ff['Inject'])(_0xead8ff[_0x25f051(0x22d)])),_0x3215c6(0x2,(0x0,_0xead8ff[_0x25f051(0x3e0)])(_0x5cd740[_0x25f051(0x195)]))],_0x2421ce);function _0x1b7b58(_0x4a89ee,_0x2a97db){const _0x549fae=_0x25f051;var _0x55eb66,_0x56b45e,_0x2600e8;let {radius:_0x280dc9,width:_0x5af53d,height:_0x3a48c4}=_0x2a97db;_0x280dc9=(_0x55eb66=_0x280dc9)==null?0x0:_0x55eb66,_0x5af53d=(_0x56b45e=_0x5af53d)==null?0x1e:_0x56b45e,_0x3a48c4=(_0x2600e8=_0x3a48c4)==null?0x1e:_0x2600e8;let _0x451a0f=0x0,_0x4879a4=0x0,_0x24f07d=0x0;_0x451a0f=_0x4879a4=_0x24f07d=Math[_0x549fae(0x394)](_0x280dc9,_0x5af53d/0x2,_0x3a48c4/0x2),_0x4a89ee[_0x549fae(0x361)](),_0x4a89ee[_0x549fae(0x407)](_0x451a0f,0x0),_0x4a89ee[_0x549fae(0x12c)](_0x5af53d-_0x4879a4,0x0),_0x4a89ee[_0x549fae(0x2e7)](_0x5af53d-_0x4879a4,_0x4879a4,_0x4879a4,Math['PI']*0x3/0x2,0x0,!0x1),_0x4a89ee[_0x549fae(0x12c)](_0x5af53d,_0x3a48c4-_0x24f07d),_0x4a89ee[_0x549fae(0x2e7)](_0x5af53d-_0x24f07d,_0x3a48c4-_0x24f07d,_0x24f07d,0x0,Math['PI']/0x2,!0x1),_0x4a89ee[_0x549fae(0x12c)](0x0,_0x3a48c4),_0x4a89ee[_0x549fae(0x12c)](0x0,_0x451a0f),_0x4a89ee['arc'](_0x451a0f,_0x451a0f,_0x451a0f,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x4a89ee[_0x549fae(0x15a)](),_0x2a97db['fill']&&(_0x4a89ee[_0x549fae(0x181)](),_0x4a89ee['fillStyle']=_0x2a97db[_0x549fae(0x1c3)],_0x2a97db['fillRule']===_0x549fae(0x1ac)?_0x4a89ee[_0x549fae(0x1c3)](_0x549fae(0x1ac)):_0x4a89ee[_0x549fae(0x1c3)](),_0x4a89ee[_0x549fae(0x325)]());}var _0x31a39e=class _0x5ea69f extends _0xae3218[_0x25f051(0x22e)]{constructor(_0x21c8ff,_0x2c984a){const _0x3ee9b7=_0x25f051;super(_0x21c8ff,_0x2c984a),_0x322c70(this,'color',void 0x0),_0x322c70(this,'text',void 0x0),this['color']=_0x2c984a==null?void 0x0:_0x2c984a[_0x3ee9b7(0x29b)],this[_0x3ee9b7(0x38b)]=_0x2c984a==null?void 0x0:_0x2c984a[_0x3ee9b7(0x38b)];}static['drawWith'](_0x4f2600,_0x445ec1){const _0x173d33=_0x25f051;let {text:_0x4135a5,color:_0x52f19d}=_0x445ec1;_0x4f2600[_0x173d33(0x181)](),_0x4f2600[_0x173d33(0x2e8)]=_0x173d33(0x13a);let _0x1c805e=_0x4f2600[_0x173d33(0x360)](_0x4135a5)[_0x173d33(0x3ce)];if(_0x1b7b58(_0x4f2600,{'height':0x14,'radius':0x4,'width':Math['min'](_0x1c805e+0x8,0xc8),'fill':_0x52f19d,'evented':!0x1}),_0x4f2600[_0x173d33(0x309)]=_0x173d33(0x172),_0x1c805e>0xc0){let _0x1b2733='',_0x5b30dd=0x0;for(let _0x583683 of _0x4135a5){let _0x1a6394=_0x4f2600[_0x173d33(0x360)](_0x583683)[_0x173d33(0x3ce)];if(_0x5b30dd+_0x1a6394<=0xc0-_0x4f2600['measureText']('...')[_0x173d33(0x3ce)])_0x1b2733+=_0x583683,_0x5b30dd+=_0x1a6394;else{_0x1b2733+=_0x173d33(0x10b);break;}}_0x4f2600[_0x173d33(0x399)](_0x1b2733,0x4,0xf);}else _0x4f2600[_0x173d33(0x399)](_0x4135a5,0x4,0xf);_0x4f2600[_0x173d33(0x325)]();}[_0x25f051(0x3fa)](_0x13f918){const _0x118e41=_0x25f051;_0x5ea69f[_0x118e41(0x3fe)](_0x13f918,this);}};let _0x437b6d=_0x25f051(0x35b);var _0x617de4=class{constructor(_0x5f2a89,_0x540f45,_0x3b83ee,_0x3af5e5){const _0x54d8eb=_0x25f051;this['_cursor']=_0x5f2a89,this[_0x54d8eb(0x23b)]=_0x540f45,this['_docSkeleton']=_0x3b83ee,this['_document']=_0x3af5e5,_0x322c70(this,'_shapes',[]),_0x322c70(this,'_anchor',null),_0x322c70(this,'_textBubble',null),_0x322c70(this,_0x54d8eb(0x35c),null),_0x322c70(this,_0x54d8eb(0x1b6),null),_0x322c70(this,_0x54d8eb(0x397),null),this[_0x54d8eb(0x1eb)]();}set[_0x25f051(0x190)](_0xd4e3b2){const _0x2c8a26=_0x25f051;_0xd4e3b2?(this[_0x2c8a26(0x35c)]&&this[_0x2c8a26(0x35c)][_0x2c8a26(0x3ea)](),this[_0x2c8a26(0x3a8)]&&this['_textBubble'][_0x2c8a26(0x161)]()):(this[_0x2c8a26(0x35c)]&&this[_0x2c8a26(0x35c)][_0x2c8a26(0x161)](),this[_0x2c8a26(0x3a8)]&&this[_0x2c8a26(0x3a8)][_0x2c8a26(0x3ea)]());}[_0x25f051(0x216)](){const _0x1316c9=_0x25f051;for(let _0x49d6ec of this[_0x1316c9(0x17f)])_0x49d6ec['dispose']();this[_0x1316c9(0x3a8)]&&this[_0x1316c9(0x3a8)]['dispose'](),this[_0x1316c9(0x35c)]&&this['_anchorDot']['dispose'](),this['_anchor']&&this['_anchor'][_0x1316c9(0x216)](),this[_0x1316c9(0x397)]&&this[_0x1316c9(0x397)]();}['_render'](){const _0xf81ad9=_0x25f051;let {_docSkeleton:_0x4f6703,_document:_0x340ce7}=this,{color:_0x2b82a8,name:_0x3c881e,ranges:_0x581cec}=this[_0xf81ad9(0x142)],_0x3d134d=_0x340ce7[_0xf81ad9(0x2d3)](),{docsLeft:_0x430095,docsTop:_0x235836}=_0x3d134d,_0x420fb3=new _0x2e2765[(_0xf81ad9(0x2e6))](_0x3d134d,_0x4f6703);for(let {startOffset:_0x13a2d9,endOffset:_0x2e39a8,rangeType:_0x275004,segmentId:_0x572a55,segmentPage:_0x1cc078,collapsed:_0x334a38,isActive:_0x3d12f9}of _0x581cec){let _0x213e43=_0x4f6703[_0xf81ad9(0x256)](_0x13a2d9,!0x0,_0x572a55,_0x1cc078),_0x24484e=_0x4f6703[_0xf81ad9(0x256)](_0x2e39a8,!0x0,_0x572a55,_0x1cc078);if(_0x24484e==null&&(_0x24484e=_0x4f6703[_0xf81ad9(0x256)](_0x2e39a8-0x1,!0x1,_0x572a55,_0x1cc078)),_0x3d12f9){let {contentBoxPointGroup:_0xbef175}=_0x420fb3[_0xf81ad9(0x29d)](_0x24484e,_0x24484e);if(_0xbef175[_0xf81ad9(0x3c4)]===0x0)continue;this[_0xf81ad9(0x311)](_0x2b82a8,_0xbef175,_0x430095,_0x235836,_0x3c881e),this[_0xf81ad9(0x397)]=this[_0xf81ad9(0x274)]();}if(_0x213e43&&_0x24484e){if(_0x275004===_0xead8ff['DOC_RANGE_TYPE'][_0xf81ad9(0x1e3)]){var _0x1fd2b2;let {pointGroup:_0x40f5fe}=(_0x1fd2b2=new _0x2e2765['NodePositionConvertToRectRange'](_0x3d134d,_0x4f6703)[_0xf81ad9(0x29d)](_0x213e43,_0x24484e))==null?{}:_0x1fd2b2;if(_0x40f5fe==null||_0x40f5fe[_0xf81ad9(0x3c4)]===0x0)continue;this['_drawRectRange'](_0x2b82a8,_0x40f5fe,_0x430095,_0x235836);}else{if(!_0x334a38){let {borderBoxPointGroup:_0x3aedc0}=_0x420fb3['getRangePointData'](_0x213e43,_0x24484e);if(_0x3aedc0[_0xf81ad9(0x3c4)]===0x0)continue;this[_0xf81ad9(0x251)](_0x2b82a8,_0x3aedc0,_0x430095,_0x235836);}}}}}['_drawAnchor'](_0x3583de,_0x15dfb9,_0x4c08e2,_0x3f0a36,_0x57824c){const _0x1d0227=_0x25f051;let {left:_0x3839bf,top:_0xa84b2e,height:_0x21300b}=this[_0x1d0227(0x2b9)](_0x15dfb9),_0x331f50=1.5/this[_0x1d0227(0x3ba)](),_0x315145=new _0xae3218['Rect'](_0x437b6d+(0x0,_0xead8ff[_0x1d0227(0x285)])(0x6),{'left':_0x3839bf+_0x4c08e2-_0x331f50,'top':_0xa84b2e+_0x3f0a36,'height':_0x21300b,'width':1.5,'fill':_0x3583de||(0x0,_0xae3218[_0x1d0227(0x20b)])(_0xead8ff[_0x1d0227(0x138)][_0x1d0227(0x1a8)],0x0),'strokeWidth':_0x331f50,'stroke':'rgba(255,\x20255,\x20255,\x200.01)','evented':!0x0});this['_anchor']=_0x315145,this[_0x1d0227(0x23b)]['addObject'](_0x315145,_0x2e2765[_0x1d0227(0x2d6)]);let _0x3c3689=new _0xae3218[(_0x1d0227(0x12e))](_0x437b6d+(0x0,_0xead8ff[_0x1d0227(0x285)])(0x6),{'left':_0x3839bf+_0x4c08e2-_0x331f50,'top':_0xa84b2e+_0x3f0a36-0x4/0x2,'height':0x4,'width':0x4,'fill':_0x3583de||(0x0,_0xae3218[_0x1d0227(0x20b)])(_0xead8ff[_0x1d0227(0x138)]['black'],0x0),'strokeWidth':0x0,'stroke':_0x3583de||(0x0,_0xae3218[_0x1d0227(0x20b)])(_0xead8ff[_0x1d0227(0x138)][_0x1d0227(0x1a8)],0x0),'evented':!0x1});this['_anchorDot']=_0x3c3689,this['_scene'][_0x1d0227(0x163)](_0x3c3689,_0x2e2765['TEXT_RANGE_LAYER_INDEX']);let _0x597fbf=new _0x31a39e(_0x437b6d+(0x0,_0xead8ff['generateRandomId'])(0x6),{'left':_0x3839bf+_0x4c08e2-_0x331f50,'top':_0xa84b2e+_0x3f0a36-0x14,'text':_0x57824c,'color':_0x3583de});this['_textBubble']=_0x597fbf,this[_0x1d0227(0x23b)][_0x1d0227(0x163)](_0x597fbf,_0x2e2765['TEXT_RANGE_LAYER_INDEX']),this[_0x1d0227(0x190)]=!0x1;}[_0x25f051(0x274)](){const _0x95972f=_0x25f051;let _0x5c9ce1=this[_0x95972f(0x297)][_0x95972f(0x313)][_0x95972f(0x16c)](()=>{const _0x472afc=_0x95972f;this[_0x472afc(0x190)]=!0x0;}),_0x15cb2e=this[_0x95972f(0x297)][_0x95972f(0x2ea)][_0x95972f(0x16c)](()=>{const _0x1c51af=_0x95972f;this[_0x1c51af(0x1b6)]&&clearTimeout(this[_0x1c51af(0x1b6)]),this['_hideTimer']=setTimeout(()=>{const _0x33ea5a=_0x1c51af;this[_0x33ea5a(0x190)]=!0x1;},0x7d0);});return()=>{_0x5c9ce1['unsubscribe'](),_0x15cb2e['unsubscribe']();};}['_drawTextRange'](_0x21918c,_0x5d8db0,_0x155b9d,_0x1e3a11){const _0x9b9eb8=_0x25f051;let _0x2c0bf1=0.2,_0x1c2370=new _0xead8ff[(_0x9b9eb8(0x241))](_0x21918c)[_0x9b9eb8(0x23f)](_0x2c0bf1)[_0x9b9eb8(0x37b)](),_0x52e252=new _0xae3218['RegularPolygon'](_0x9b9eb8(0x2b2)+(0x0,_0xead8ff[_0x9b9eb8(0x285)])(0x6),{'pointsGroup':_0x5d8db0,'fill':_0x1c2370||(0x0,_0xae3218[_0x9b9eb8(0x20b)])(_0xead8ff[_0x9b9eb8(0x138)]['black'],_0x2c0bf1),'left':_0x155b9d,'top':_0x1e3a11,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x9b9eb8(0x17f)][_0x9b9eb8(0x295)](_0x52e252),this[_0x9b9eb8(0x23b)]['addObject'](_0x52e252,_0x2e2765[_0x9b9eb8(0x2d6)]);}['_drawRectRange'](_0x4c2ece,_0x44466a,_0x26cbee,_0x3158e2){const _0x41d2b0=_0x25f051;let _0x1ec9b9=0.2,_0x534689=new _0xead8ff['ColorKit'](_0x4c2ece)['setAlpha'](_0x1ec9b9)[_0x41d2b0(0x37b)](),_0x12560c=new _0xae3218[(_0x41d2b0(0x166))](_0x41d2b0(0x1f9)+(0x0,_0xead8ff[_0x41d2b0(0x285)])(0x6),{'pointsGroup':_0x44466a,'fill':_0x534689||(0x0,_0xae3218['getColor'])(_0xead8ff[_0x41d2b0(0x138)][_0x41d2b0(0x1a8)],_0x1ec9b9),'left':_0x26cbee,'top':_0x3158e2,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x41d2b0(0x17f)][_0x41d2b0(0x295)](_0x12560c),this[_0x41d2b0(0x23b)][_0x41d2b0(0x163)](_0x12560c,_0x2e2765[_0x41d2b0(0x2d6)]);}[_0x25f051(0x2b9)](_0x568d41){let _0x54c89b=_0x568d41[0x0],_0x481b57=_0x54c89b[0x0],_0x8079af=_0x54c89b[0x2],{x:_0x127576,y:_0x4de888}=_0x481b57,{x:_0x515440,y:_0x472537}=_0x8079af;return{'left':_0x127576,'top':_0x4de888,'width':_0x515440-_0x127576,'height':_0x472537-_0x4de888};}['_getScale'](){const _0x2bbc5a=_0x25f051;let {scaleX:_0x4a334a,scaleY:_0x15daed}=this[_0x2bbc5a(0x23b)][_0x2bbc5a(0x34e)]();return Math[_0x2bbc5a(0x2ef)](_0x4a334a,_0x15daed);}};let _0x336a21=class extends _0xead8ff['RxDisposable']{constructor(_0x2b4b04,_0x2231a0,_0x2d2d74,_0x19c25b,_0x3f59a9){const _0x55ea84=_0x25f051;super(),this['_context']=_0x2b4b04,this['_docSkeletonManagerService']=_0x2231a0,this[_0x55ea84(0x12d)]=_0x2d2d74,this[_0x55ea84(0x2a1)]=_0x19c25b,this[_0x55ea84(0x145)]=_0x3f59a9,_0x322c70(this,_0x55ea84(0x1d7),[]),_0x322c70(this,_0x55ea84(0x114),[]),this[_0x55ea84(0x398)]();}[_0x25f051(0x398)](){const _0xeb990b=_0x25f051;let _0x26993e=this[_0xeb990b(0x405)][_0xeb990b(0x2d8)],_0x38c0d1=this[_0xeb990b(0x158)];this[_0xeb990b(0x40f)]((0x0,_0x533d32[_0xeb990b(0x20e)])([this[_0xeb990b(0x12d)][_0xeb990b(0x409)](_0x26993e),this[_0xeb990b(0x145)]['currentTheme$']])[_0xeb990b(0x3ef)]((0x0,_0x54871a['map'])(([_0x516dde,_0xe69751])=>({'skeleton':_0x38c0d1[_0xeb990b(0x33f)](),'cursors':[..._0x516dde[_0xeb990b(0x2d5)]()]['flatMap'](_0x3b2a68=>({..._0x3b2a68,'color':this[_0xeb990b(0x145)][_0xeb990b(0x102)](_0x3b2a68['color'])}))})))[_0xeb990b(0x38e)](_0x111235=>{const _0x3c7491=_0xeb990b;if(this[_0x3c7491(0x3fb)](),_0x111235){let {skeleton:_0x451e35,cursors:_0x3c1634}=_0x111235;this[_0x3c7491(0x375)](_0x451e35,_0x3c1634);}})),this[_0xeb990b(0x368)](),this['_initCommandExecutedListener']();}[_0x25f051(0x375)](_0x1a333e,_0x360022){const _0x3daea2=_0x25f051;let {scene:_0x52e7fd,mainComponent:_0x18cb3c}=this[_0x3daea2(0x405)],_0x3d5591=_0x360022['map'](_0x3fd8c6=>new _0x617de4(_0x3fd8c6,_0x52e7fd,_0x1a333e,_0x18cb3c));this['_cursorShapes']=_0x3d5591,this[_0x3daea2(0x114)]=_0x360022;}[_0x25f051(0x3b6)](){const _0x3c2ba0=_0x25f051;this['_removeCollabCursors']();let {scene:_0x174633,mainComponent:_0x16358d}=this[_0x3c2ba0(0x405)],_0x5850a3=this[_0x3c2ba0(0x158)][_0x3c2ba0(0x33f)](),_0x33ab99=this[_0x3c2ba0(0x114)]['map'](_0x3d65e8=>new _0x617de4(_0x3d65e8,_0x174633,_0x5850a3,_0x16358d));this[_0x3c2ba0(0x1d7)]=_0x33ab99;}[_0x25f051(0x3fb)](){const _0x28d870=_0x25f051;this['_cursorShapes'][_0x28d870(0x2ed)](_0x33af70=>_0x33af70['dispose']()),this[_0x28d870(0x1d7)]=[];}['_initCommandExecutedListener'](){const _0x1d38a0=_0x25f051;let _0xfc44f5=[_0x2e2765[_0x1d38a0(0x2c0)]['id']];this[_0x1d38a0(0x40f)](this[_0x1d38a0(0x2a1)][_0x1d38a0(0x38d)](_0x48860d=>{const _0x2d8c73=_0x1d38a0;_0xfc44f5[_0x2d8c73(0x1c5)](_0x48860d['id'])&&_0x48860d['params'][_0x2d8c73(0x2d8)]===this['_context'][_0x2d8c73(0x2d8)]&&this[_0x2d8c73(0x3b6)]();}));}[_0x25f051(0x368)](){const _0x5321d4=_0x25f051;this[_0x5321d4(0x40f)]((0x0,_0xead8ff[_0x5321d4(0x191)])(this[_0x5321d4(0x405)][_0x5321d4(0x332)][_0x5321d4(0x122)])['pipe']((0x0,_0x54871a['filter'])(_0x250621=>_0x250621[_0x5321d4(0x19d)]===_0xae3218['TRANSFORM_CHANGE_OBSERVABLE_TYPE']['resize']),(0x0,_0x54871a['throttleTime'])(0x10))[_0x5321d4(0x38e)](()=>{const _0x181ec0=_0x5321d4;this[_0x181ec0(0x3b6)]();}));}};_0x336a21=_0x30ac55([_0x3215c6(0x1,(0x0,_0xead8ff[_0x25f051(0x3e0)])(_0x30c363[_0x25f051(0x131)])),_0x3215c6(0x2,(0x0,_0xead8ff[_0x25f051(0x3e0)])(_0x2421ce)),_0x3215c6(0x3,_0xead8ff[_0x25f051(0x140)]),_0x3215c6(0x4,(0x0,_0xead8ff[_0x25f051(0x3e0)])(_0xead8ff[_0x25f051(0x254)]))],_0x336a21);var _0x3e5592=class extends _0xae3218[_0x25f051(0x22e)]{constructor(_0x30cc64,_0x1ae1d8){const _0x259481=_0x25f051;if(super(_0x30cc64,_0x1ae1d8),_0x322c70(this,_0x259481(0x212),void 0x0),_0x322c70(this,'_hovered',!0x1),_0x322c70(this,_0x259481(0x217),void 0x0),_0x322c70(this,_0x259481(0x284),''),_0x322c70(this,'_labelPosition',_0x259481(0x2ca)),_0x322c70(this,_0x259481(0x3f6),void 0x0),_0x322c70(this,_0x259481(0x1f6),void 0x0),_0x322c70(this,_0x259481(0x282),void 0x0),_0x322c70(this,_0x259481(0x214),0x4),_0x322c70(this,_0x259481(0x199),void 0x0),_0x322c70(this,_0x259481(0x1d3),void 0x0),_0x322c70(this,_0x259481(0x220),!0x0),_0x322c70(this,_0x259481(0x35d),0x0),_0x1ae1d8){var _0x29fcfd;if(this[_0x259481(0x2a7)](_0x1ae1d8),_0x1ae1d8['highlight']&&((_0x29fcfd=_0x1ae1d8[_0x259481(0x231)])==null?this['_highlightSecond']:_0x29fcfd)){var _0x2b81ec;this[_0x259481(0x273)]((_0x2b81ec=_0x1ae1d8[_0x259481(0x231)])==null?this[_0x259481(0x214)]:_0x2b81ec);}}this[_0x259481(0x313)][_0x259481(0x16c)](()=>this[_0x259481(0x2a7)]({'hovered':!0x0})),this[_0x259481(0x2ea)][_0x259481(0x16c)](()=>this['setShapeProps']({'hovered':!0x1}));}[_0x25f051(0x2cf)](_0x2b7154){const _0x39018e=_0x25f051;this[_0x39018e(0x35d)]=_0x2b7154;}[_0x25f051(0x2a7)](_0x373a59){const _0xfb297f=_0x25f051;var _0x10699d,_0x1c1fc4,_0x3f5a03,_0x5a67e2,_0x5b0731,_0x170dc1,_0x2dd82e;this['_color']=(_0x10699d=_0x373a59[_0xfb297f(0x29b)])==null?this[_0xfb297f(0x212)]:_0x10699d,this[_0xfb297f(0x2f5)]=(_0x1c1fc4=_0x373a59[_0xfb297f(0x21e)])==null?this[_0xfb297f(0x2f5)]:_0x1c1fc4,this['_range']=(_0x3f5a03=_0x373a59['range'])==null?this[_0xfb297f(0x217)]:_0x3f5a03,this[_0xfb297f(0x284)]=(_0x5a67e2=_0x373a59[_0xfb297f(0x11d)])==null?this['_name']:_0x5a67e2,this[_0xfb297f(0x19a)]=(_0x5b0731=_0x373a59[_0xfb297f(0x24e)])==null?this['_labelPosition']:_0x5b0731,this[_0xfb297f(0x3f6)]=(_0x170dc1=_0x373a59[_0xfb297f(0x2d0)])==null?this['_backgroundColor']:_0x170dc1,this[_0xfb297f(0x1f6)]=(_0x2dd82e=_0x373a59['showText'])==null?this[_0xfb297f(0x1f6)]:_0x2dd82e,_0x373a59[_0xfb297f(0x231)]!==void 0x0&&(this['_highlightSecond']=_0x373a59['highlightSecond']),_0x373a59['highlight']!==void 0x0&&(this[_0xfb297f(0x282)]=_0x373a59[_0xfb297f(0x339)]),_0x373a59['offsetY']!==void 0x0&&(this[_0xfb297f(0x35d)]=_0x373a59[_0xfb297f(0x151)]),this[_0xfb297f(0x184)]({'width':_0x373a59[_0xfb297f(0x3ce)],'height':_0x373a59[_0xfb297f(0x1ca)]});}['onMouseMove'](_0x1d5e63){const _0x330f4b=_0x25f051;let {row:_0x30b35e,column:_0x4c0433}=_0x1d5e63;if(_0x30b35e>=this['_range'][_0x330f4b(0x242)]&&_0x30b35e<=this['_range']['endRow']&&_0x4c0433>=this[_0x330f4b(0x217)][_0x330f4b(0x3d1)]&&_0x4c0433<=this[_0x330f4b(0x217)][_0x330f4b(0x21b)]){this[_0x330f4b(0x2a7)]({'hovered':!0x0});return;}this[_0x330f4b(0x2a7)]({'hovered':!0x1});}['_startBlinking'](_0x2deddd){const _0x3bc51b=_0x25f051;this[_0x3bc51b(0x3b9)](),this[_0x3bc51b(0x220)]=!0x0,this['_blinkIntervalTimer']=window[_0x3bc51b(0x3c0)](()=>{const _0x30e68e=_0x3bc51b;this['_isBlinkVisible']=!this[_0x30e68e(0x220)],this[_0x30e68e(0x334)](!0x0);},0x1f4),this[_0x3bc51b(0x199)]=window[_0x3bc51b(0x177)](()=>{const _0x6f65b4=_0x3bc51b;this[_0x6f65b4(0x3b9)](),this[_0x6f65b4(0x220)]=!0x0,this[_0x6f65b4(0x334)](!0x0);},_0x2deddd*0x3e8);}[_0x25f051(0x3b9)](){const _0x8eb83=_0x25f051;this['_blinkIntervalTimer']&&(window['clearInterval'](this[_0x8eb83(0x1d3)]),this[_0x8eb83(0x1d3)]=void 0x0),this[_0x8eb83(0x199)]&&(window[_0x8eb83(0x1e2)](this[_0x8eb83(0x199)]),this[_0x8eb83(0x199)]=void 0x0);}[_0x25f051(0x152)](_0x42ee37){return!0x1;}[_0x25f051(0x216)](){const _0x1e3313=_0x25f051;this[_0x1e3313(0x3b9)](),super[_0x1e3313(0x216)]();}[_0x25f051(0x3fa)](_0x5e7590){const _0x475998=_0x25f051;let _0x2a3f9a=this[_0x475998(0x212)],_0x512b2d=this['_backgroundColor'];if(this[_0x475998(0x282)]&&!this[_0x475998(0x220)]&&(_0x2a3f9a=this['_getLighterColor'](this[_0x475998(0x212)]),_0x512b2d=this['_backgroundColor']?this[_0x475998(0x3d9)](this[_0x475998(0x3f6)]):void 0x0),_0xae3218[_0x475998(0x12e)]['drawWith'](_0x5e7590,{'width':this[_0x475998(0x3ce)],'height':this[_0x475998(0x1ca)],'strokeWidth':this[_0x475998(0x34f)]||1.5,'stroke':_0x2a3f9a,'evented':!0x1,'fill':_0x512b2d}),this[_0x475998(0x2f5)]||this[_0x475998(0x1f6)]){var _0x1ae018;_0x5e7590[_0x475998(0x181)](),_0x5e7590[_0x475998(0x3f2)](0x1,0x0,0x0,0x1,this['width'],(this[_0x475998(0x19a)]===_0x475998(0x3e7)?0x0:-0x14)+((_0x1ae018=this[_0x475998(0x35d)])==null?0x0:_0x1ae018)),_0x31a39e[_0x475998(0x3fe)](_0x5e7590,{'text':this[_0x475998(0x284)],'color':_0x2a3f9a}),_0x5e7590['restore']();}}[_0x25f051(0x3d9)](_0x38b1fc){const _0xcb3e34=_0x25f051;return _0x38b1fc[_0xcb3e34(0x298)]('#')?_0xcb3e34(0x2dc)+Number[_0xcb3e34(0x202)](_0x38b1fc[_0xcb3e34(0x261)](0x1,0x3),0x10)+',\x20'+Number['parseInt'](_0x38b1fc['slice'](0x3,0x5),0x10)+',\x20'+Number['parseInt'](_0x38b1fc[_0xcb3e34(0x261)](0x5,0x7),0x10)+_0xcb3e34(0x116):_0x38b1fc[_0xcb3e34(0x298)]('rgba')?_0x38b1fc[_0xcb3e34(0x235)](/[\d.]+\)$/g,_0xcb3e34(0x3c7)):_0x38b1fc[_0xcb3e34(0x298)]('rgb')?_0x38b1fc['replace'](_0xcb3e34(0x37c),_0xcb3e34(0x268))[_0xcb3e34(0x235)](')',',\x200.2)'):_0x38b1fc;}};let _0x441545=class extends _0xead8ff[_0x25f051(0x153)]{constructor(_0x40502b,_0x9c3d15,_0x3f0627,_0x56a6ea){const _0x1f6448=_0x25f051;super(),this[_0x1f6448(0x405)]=_0x40502b,this[_0x1f6448(0x3af)]=_0x9c3d15,this[_0x1f6448(0x12d)]=_0x3f0627,this[_0x1f6448(0x145)]=_0x56a6ea,_0x322c70(this,_0x1f6448(0x114),new Set()),_0x322c70(this,_0x1f6448(0x2ce),null),_0x322c70(this,_0x1f6448(0x249),null),this[_0x1f6448(0x398)]();}[_0x25f051(0x398)](){const _0x362a75=_0x25f051;this[_0x362a75(0x3af)][_0x362a75(0x176)][_0x362a75(0x3ef)]((0x0,_0x54871a[_0x362a75(0x37d)])(this[_0x362a75(0x24c)]),(0x0,_0x54871a[_0x362a75(0x2ac)])(_0x4959b4=>{const _0x25f087=_0x362a75;if(_0x4959b4){let _0x566bd7=_0x4959b4[_0x25f087(0x30e)];return(0x0,_0x533d32[_0x25f087(0x20e)])(this[_0x25f087(0x12d)][_0x25f087(0x409)](this[_0x25f087(0x405)]['unitId']),this[_0x25f087(0x145)][_0x25f087(0x14b)])[_0x25f087(0x3ef)]((0x0,_0x54871a[_0x25f087(0x390)])(([_0x2714db,_0x390a97])=>{let _0x335015=new Map();return _0x2714db['forEach']((_0x13cf1d,_0x3f8c51)=>{const _0x1095dc=_0x4afd;if(_0x13cf1d[_0x1095dc(0xfa)]===_0x566bd7){let _0x1f7b47={..._0x13cf1d};_0x1f7b47['color']=this[_0x1095dc(0x145)]['getColorFromTheme'](_0x13cf1d[_0x1095dc(0x29b)]),_0x335015[_0x1095dc(0x168)](_0x3f8c51,_0x1f7b47);}}),{'skeleton':_0x4959b4,'cursors':_0x335015};}));}return(0x0,_0x533d32['of'])({'skeleton':null,'cursors':new Map()});}))['subscribe'](({skeleton:_0x31bf40,cursors:_0x522436})=>{const _0x473b5b=_0x362a75;this[_0x473b5b(0x3fb)](),_0x31bf40&&this[_0x473b5b(0x375)](_0x31bf40,_0x522436);}),this[_0x362a75(0x40f)](this['_sheetSkeletonManagerService']['currentSkeleton$']['pipe']((0x0,_0x54871a[_0x362a75(0x37d)])(this[_0x362a75(0x24c)]))[_0x362a75(0x38e)](_0x4837b6=>{const _0x39da78=_0x362a75;var _0x5ef636;if(_0x4837b6==null)return;(_0x5ef636=this['_pointerMoveDisposable'])==null||_0x5ef636[_0x39da78(0x150)](),this[_0x39da78(0x249)]=null;let {skeleton:_0x7aded9}=_0x4837b6,{scene:_0x4ee15b}=this['_context'];this[_0x39da78(0x249)]=_0x4ee15b[_0x39da78(0x24b)][_0x39da78(0x16c)]((0x0,_0xead8ff[_0x39da78(0x340)])(_0x46692c=>{const _0x45d9bd=_0x39da78;var _0x57660e,_0x244708;let {offsetX:_0x40a010,offsetY:_0x34eefb}=_0x46692c,{x:_0x1f9f5a,y:_0x44db9c}=_0x4ee15b[_0x45d9bd(0x1e7)](_0xae3218[_0x45d9bd(0x25f)][_0x45d9bd(0x147)]([_0x40a010,_0x34eefb])),{scaleX:_0x44bbcc,scaleY:_0x55d92e}=_0x4ee15b['getAncestorScale'](),_0xac582=_0x4ee15b['getViewport'](_0xae3218[_0x45d9bd(0x1c6)][_0x45d9bd(0x40e)]),_0x1772a1=_0x4ee15b[_0x45d9bd(0x17e)](_0xae3218['Vector2'][_0x45d9bd(0x147)]([_0x1f9f5a,_0x44db9c]),_0xac582),_0x5a0590=_0x7aded9['getCellPositionByOffset'](_0x40a010,_0x34eefb,_0x44bbcc,_0x55d92e,_0x1772a1);((_0x57660e=this['_lastPointer'])==null?void 0x0:_0x57660e[_0x45d9bd(0x11e)])===_0x5a0590[_0x45d9bd(0x11e)]&&((_0x244708=this[_0x45d9bd(0x2ce)])==null?void 0x0:_0x244708['row'])===_0x5a0590[_0x45d9bd(0x198)]||this['_cursors'][_0x45d9bd(0x2ed)](_0x40c67f=>{const _0x2d2ca8=_0x45d9bd;_0x40c67f[_0x2d2ca8(0x218)](_0x5a0590);});},0x64));})),this[_0x362a75(0x40f)]((0x0,_0xead8ff[_0x362a75(0x10f)])(()=>{const _0x895e42=_0x362a75;var _0x3d0caf;(_0x3d0caf=this['_pointerMoveDisposable'])==null||_0x3d0caf[_0x895e42(0x150)](),this[_0x895e42(0x249)]=null;}));}[_0x25f051(0x375)](_0x184047,_0x1c3799){const _0x224510=_0x25f051;let _0x5281e6=this[_0x224510(0x3af)][_0x224510(0x1de)]();if(!_0x5281e6)return;let _0x5e0141=this[_0x224510(0x26e)]();if(!_0x5e0141)return;this[_0x224510(0x114)][_0x224510(0x2ed)](_0x11bdce=>{const _0x5a14e2=_0x224510;_0x11bdce[_0x5a14e2(0x334)]();});let {scene:_0x5456ab}=_0x5e0141,_0x5937da=_0x18cb68(Array[_0x224510(0x30d)](_0x1c3799[_0x224510(0x2d5)]()))[_0x224510(0x390)](_0x31b7c7=>{const _0x288bc7=_0x224510;let {color:_0x584dd7,range:_0x54f700,name:_0x596b0b,selection:_0xd9efad,sheetID:_0x24fe35}=_0x31b7c7,{startColumn:_0x5f4087,startRow:_0x339f13,endColumn:_0x4418b4,endRow:_0x3f45cb}=_0x54f700,_0x5b32ff=(0x0,_0x5329ff[_0x288bc7(0x3b7)])(_0x339f13,_0x5f4087,_0x5456ab,_0x5281e6),_0x4e6709=(0x0,_0x5329ff[_0x288bc7(0x3b7)])(_0x3f45cb,_0x4418b4,_0x5456ab,_0x5281e6),{columnHeaderHeightAndMarginTop:_0x3eca9a}=_0x5281e6,{startX:_0x3a6b07,startY:_0x19e57f}=_0x5b32ff,{endX:_0x1c59db,endY:_0x5b5ac1}=_0x4e6709,_0x2cc42b=_0x1c59db-_0x3a6b07,_0x4e3e65=_0x5b5ac1-_0x19e57f;return new _0x3e5592(_0x596b0b,{'labelPosition':_0x19e57f-_0x3eca9a>=0x14?_0x288bc7(0x2ca):'bottom','sheetID':_0x24fe35,'range':_0x54f700,'color':_0x584dd7,'name':_0x596b0b,'selection':_0xd9efad,'left':_0x3a6b07,'top':_0x19e57f,'width':_0x2cc42b,'height':_0x4e3e65,'evented':!0x1,'zIndex':0x1389});});_0x5456ab[_0x224510(0x39e)](_0x5937da,0x1),this['_cursors']=new Set(_0x5937da);}['_removeCollabCursors'](){const _0x2b8017=_0x25f051;var _0x166eee;(_0x166eee=this[_0x2b8017(0x114)])==null||_0x166eee[_0x2b8017(0x2ed)](_0x5025db=>_0x5025db[_0x2b8017(0x216)]());}[_0x25f051(0x26e)](){const _0x37ffa4=_0x25f051;return(0x0,_0x5329ff[_0x37ffa4(0x120)])(this[_0x37ffa4(0x405)][_0x37ffa4(0x270)],this[_0x37ffa4(0x405)]);}};_0x441545=_0x30ac55([_0x3215c6(0x1,(0x0,_0xead8ff[_0x25f051(0x3e0)])(_0x5329ff[_0x25f051(0x1f0)])),_0x3215c6(0x2,(0x0,_0xead8ff['Inject'])(_0x2421ce)),_0x3215c6(0x3,(0x0,_0xead8ff['Inject'])(_0xead8ff[_0x25f051(0x254)]))],_0x441545);function _0x18cb68(_0x1dbb92){const _0x438cdd=_0x25f051;let _0x403dd6=new Map();return _0x1dbb92[_0x438cdd(0x2ed)](_0x45d7e5=>{const _0x240709=_0x438cdd;if(_0x403dd6[_0x240709(0x3dc)](_0x45d7e5[_0x240709(0x209)])){let _0x4a9a60=_0x403dd6[_0x240709(0x194)](_0x45d7e5['selection']);_0x4a9a60['name']+=',\x20'+_0x45d7e5['name'];}else _0x403dd6[_0x240709(0x168)](_0x45d7e5[_0x240709(0x209)],_0x45d7e5);}),Array['from'](_0x403dd6['values']());}let _0xff8c50=0x138a;var _0x38ed33=class extends _0xae3218[_0x25f051(0x22e)]{constructor(_0x3005a5,_0x3d72b0){const _0x7a399d=_0x25f051;super(_0x3005a5,{..._0x3d72b0,'evented':!0x1}),_0x322c70(this,_0x7a399d(0x212),_0x7a399d(0x30f)),_0x322c70(this,'_name',''),_0x322c70(this,_0x7a399d(0x1f6),!0x0),_0x3d72b0&&this[_0x7a399d(0x2a7)](_0x3d72b0);}[_0x25f051(0x2a7)](_0x5a74ed){const _0x2dccc8=_0x25f051;var _0x321664,_0x56b0b2,_0x537374,_0x24ed6a,_0x49c29f,_0x4b304a,_0x449025,_0x5b5fa8;this[_0x2dccc8(0x212)]=(_0x321664=_0x5a74ed[_0x2dccc8(0x29b)])==null?this['_color']:_0x321664,this[_0x2dccc8(0x284)]=(_0x56b0b2=_0x5a74ed[_0x2dccc8(0x11d)])==null?this[_0x2dccc8(0x284)]:_0x56b0b2,this['_showText']=(_0x537374=_0x5a74ed[_0x2dccc8(0x37a)])==null?this[_0x2dccc8(0x1f6)]:_0x537374,this[_0x2dccc8(0x1b2)]=!0x1,this['transformByState']({'left':(_0x24ed6a=_0x5a74ed[_0x2dccc8(0x386)])==null?this[_0x2dccc8(0x386)]:_0x24ed6a,'top':(_0x49c29f=_0x5a74ed[_0x2dccc8(0x2ca)])==null?this[_0x2dccc8(0x2ca)]:_0x49c29f,'width':(_0x4b304a=_0x5a74ed[_0x2dccc8(0x3ce)])==null?this['width']:_0x4b304a,'height':(_0x449025=_0x5a74ed[_0x2dccc8(0x1ca)])==null?this[_0x2dccc8(0x1ca)]:_0x449025,'angle':(_0x5b5fa8=_0x5a74ed['angle'])==null?this['angle']:_0x5b5fa8});}['_draw'](_0x5a0f7f){const _0x17cf74=_0x25f051;_0x5a0f7f[_0x17cf74(0x181)](),_0x5a0f7f[_0x17cf74(0x24f)]=this[_0x17cf74(0x212)],_0x5a0f7f[_0x17cf74(0x13d)]=this[_0x17cf74(0x34f)]||1.5,_0x5a0f7f[_0x17cf74(0x3c3)]([0x6,0x4]),_0x5a0f7f['strokeRect'](0x0,0x0,this['width'],this[_0x17cf74(0x1ca)]),_0x5a0f7f[_0x17cf74(0x325)](),this[_0x17cf74(0x1f6)]&&(_0x5a0f7f[_0x17cf74(0x181)](),_0x5a0f7f[_0x17cf74(0x3f2)](0x1,0x0,0x0,0x1,this[_0x17cf74(0x3ce)],-0x14),_0x31a39e[_0x17cf74(0x3fe)](_0x5a0f7f,{'text':this['_name'],'color':this[_0x17cf74(0x212)]}),_0x5a0f7f['restore']());}};let _0x5dd1bf=class extends _0xead8ff['RxDisposable']{constructor(_0x16abec,_0x85cac4,_0x2e3807){const _0x3136e6=_0x25f051;super(),this[_0x3136e6(0x405)]=_0x16abec,this[_0x3136e6(0x12d)]=_0x85cac4,this[_0x3136e6(0x145)]=_0x2e3807,_0x322c70(this,_0x3136e6(0x114),new Set()),_0x322c70(this,_0x3136e6(0x1dd),!0x1),_0x322c70(this,'_isApplyingOverlays',!0x1),_0x322c70(this,_0x3136e6(0x25a),new Map()),this[_0x3136e6(0x398)]();}[_0x25f051(0x216)](){const _0x28fdcc=_0x25f051;this[_0x28fdcc(0x3fb)](),super[_0x28fdcc(0x216)]();}[_0x25f051(0x398)](){const _0x43794f=_0x25f051;let _0x1fe42f=this[_0x43794f(0x405)][_0x43794f(0x270)][_0x43794f(0x3d5)][_0x43794f(0x1a6)],_0x450962=this['_collabCursorController'][_0x43794f(0x409)](this[_0x43794f(0x405)][_0x43794f(0x2d8)]);this[_0x43794f(0x40f)]((0x0,_0xead8ff[_0x43794f(0x10f)])((0x0,_0x533d32['combineLatest'])([_0x450962,_0x1fe42f,this[_0x43794f(0x145)][_0x43794f(0x14b)]])[_0x43794f(0x3ef)]((0x0,_0x533d32[_0x43794f(0x37d)])(this[_0x43794f(0x24c)]))[_0x43794f(0x38e)](([_0x36690e,_0x2bc98a])=>{let _0x15c1c8=new Map();_0x36690e['forEach']((_0x33f188,_0x45a1f8)=>{const _0x20597f=_0x4afd;_0x33f188[_0x20597f(0x40c)]===_0x2bc98a&&_0x15c1c8['set'](_0x45a1f8,{..._0x33f188,'color':this[_0x20597f(0x145)]['getColorFromTheme'](_0x33f188[_0x20597f(0x29b)])});}),this['_latestCursors']=_0x15c1c8,this['_scheduleRender']();})));let _0x129ddd=this['_context'][_0x43794f(0x2b0)];this[_0x43794f(0x40f)]((0x0,_0xead8ff['toDisposable'])(_0x129ddd[_0x43794f(0x21c)][_0x43794f(0x3ef)]((0x0,_0x533d32[_0x43794f(0x37d)])(this[_0x43794f(0x24c)]))[_0x43794f(0x38e)](()=>{const _0x1793e7=_0x43794f;this[_0x1793e7(0x39b)]||this[_0x1793e7(0x169)]();})));}[_0x25f051(0x169)](){const _0x55ac21=_0x25f051;this[_0x55ac21(0x1dd)]||(this['_renderScheduled']=!0x0,Promise[_0x55ac21(0x353)]()[_0x55ac21(0x17a)](()=>{const _0x5d4b6d=_0x55ac21;this[_0x5d4b6d(0x1dd)]=!0x1,this[_0x5d4b6d(0x1eb)]();}));}[_0x25f051(0x1eb)](){const _0x486821=_0x25f051;var _0x197d6e;this[_0x486821(0x3fb)]();let _0x56b7fe=(_0x197d6e=this['_context'][_0x486821(0x270)][_0x486821(0x3d5)][_0x486821(0x3fc)]())==null?void 0x0:_0x197d6e['getId']();if(!_0x56b7fe)return;let _0x57c266=[];if(this['_latestCursors'][_0x486821(0x2ed)]((_0x502779,_0x5cd27a)=>{const _0x33e961=_0x486821;_0x502779[_0x33e961(0x40c)]===_0x56b7fe&&_0x502779['selectedIds'][_0x33e961(0x2ed)](_0x3c562a=>{const _0x1cdd82=_0x33e961;let _0x445847=(0x0,_0x3ea210[_0x1cdd82(0x223)])(_0x502779[_0x1cdd82(0x2d8)],_0x502779['subUnitId'],_0x3c562a),_0x4577dd=this[_0x1cdd82(0x15e)](_0x445847);if(!_0x4577dd)return;let _0x5bd4d8=this[_0x1cdd82(0x244)](_0x4577dd);_0x57c266[_0x1cdd82(0x295)](new _0x38ed33(_0x1cdd82(0x1ff)+_0x5cd27a+'-'+_0x3c562a,{..._0x502779,'left':_0x5bd4d8[_0x1cdd82(0x386)],'top':_0x5bd4d8[_0x1cdd82(0x2ca)],'width':_0x5bd4d8[_0x1cdd82(0x3ce)],'height':_0x5bd4d8[_0x1cdd82(0x1ca)],'angle':_0x4577dd[_0x1cdd82(0x2b5)],'evented':!0x1,'zIndex':_0xff8c50}));});}),_0x57c266[_0x486821(0x3c4)]===0x0){this['_context'][_0x486821(0x2b0)][_0x486821(0x334)](!0x0);return;}this[_0x486821(0x39b)]=!0x0,this[_0x486821(0x405)]['scene'][_0x486821(0x39e)](_0x57c266,_0xff8c50),this[_0x486821(0x39b)]=!0x1,this[_0x486821(0x114)]=new Set(_0x57c266),this['_context'][_0x486821(0x2b0)][_0x486821(0x334)](!0x0);}[_0x25f051(0x3fb)](){const _0x46cc15=_0x25f051;let _0x348b26=Array[_0x46cc15(0x30d)](this['_cursors']);if(_0x348b26['length']===0x0)return;let _0x5b9594=this[_0x46cc15(0x405)][_0x46cc15(0x2b0)];_0x46cc15(0x3ed)in _0x5b9594&&typeof _0x5b9594[_0x46cc15(0x3ed)]==_0x46cc15(0x341)?_0x5b9594[_0x46cc15(0x3ed)](_0x348b26):_0x348b26[_0x46cc15(0x2ed)](_0x56f61f=>{const _0x5847bc=_0x46cc15;_0x5847bc(0x192)in _0x5b9594&&typeof _0x5b9594[_0x5847bc(0x192)]==_0x5847bc(0x341)?_0x5b9594[_0x5847bc(0x192)](_0x56f61f):_0x56f61f[_0x5847bc(0x216)]();}),this[_0x46cc15(0x114)][_0x46cc15(0x13b)](),_0x5b9594['makeDirty'](!0x0);}[_0x25f051(0x15e)](_0x272bd0){const _0x3bca43=_0x25f051;var _0x4bb595,_0x5ea1a2,_0x4062b0;let _0x18553a=this[_0x3bca43(0x405)][_0x3bca43(0x2b0)];return(_0x4bb595=(_0x5ea1a2=(_0x4062b0=_0x18553a[_0x3bca43(0x146)])==null?void 0x0:_0x4062b0[_0x3bca43(0x19c)](_0x18553a,_0x272bd0))==null?_0x18553a[_0x3bca43(0x10e)](_0x272bd0):_0x5ea1a2)==null?null:_0x4bb595;}[_0x25f051(0x244)](_0x4dc854){const _0x52b698=_0x25f051;var _0x26cb17,_0x45da28;let _0x3cc408=_0x4dc854;return(_0x26cb17=(_0x45da28=_0x3cc408[_0x52b698(0x1fa)])==null?void 0x0:_0x45da28[_0x52b698(0x19c)](_0x3cc408))==null?{'left':_0x4dc854[_0x52b698(0x386)],'top':_0x4dc854['top'],'width':_0x4dc854[_0x52b698(0x3ce)],'height':_0x4dc854[_0x52b698(0x1ca)]}:_0x26cb17;}};_0x5dd1bf=_0x30ac55([_0x3215c6(0x1,(0x0,_0xead8ff[_0x25f051(0x3e0)])(_0x2421ce)),_0x3215c6(0x2,(0x0,_0xead8ff[_0x25f051(0x3e0)])(_0xead8ff[_0x25f051(0x254)]))],_0x5dd1bf);let _0x5f1139=class extends _0xead8ff['Disposable']{constructor(_0x589c37,_0x400111,_0x2bb910,_0x189311,_0x5356ba,_0xa78f87){const _0x538792=_0x25f051;super(),this[_0x538792(0x155)]=_0x589c37,this[_0x538792(0x196)]=_0x400111,this[_0x538792(0x253)]=_0x2bb910,this[_0x538792(0x20f)]=_0x189311,this[_0x538792(0x1d8)]=_0x5356ba,this[_0x538792(0x3bc)]=_0xa78f87,this[_0x538792(0x1db)](),this[_0x538792(0x356)]();}[_0x25f051(0x1db)](){const _0x13ab61=_0x25f051;this[_0x13ab61(0x40f)](this[_0x13ab61(0x155)]['registerBeforeClose'](()=>{const _0x4de4b2=_0x13ab61;if(this[_0x4de4b2(0x196)]['saveTaskMap'][_0x4de4b2(0x11b)])return this[_0x4de4b2(0x3bc)]['t'](_0x4de4b2(0x1ce));}));}[_0x25f051(0x356)](){const _0x43f392=_0x25f051;this[_0x43f392(0x40f)](this[_0x43f392(0x253)][_0x43f392(0x3df)][_0x43f392(0x38e)](_0x1dd094=>{const _0x4a24e3=_0x43f392;_0x1dd094['id']===_0x5cd740[_0x4a24e3(0x149)][_0x4a24e3(0x364)]&&this['_messageService']['show']({'type':_0x32d4dc[_0x4a24e3(0x406)][_0x4a24e3(0x333)],'content':this[_0x4a24e3(0x3bc)]['t']('collaboration-client-ui.collaboration.single-unit.warning')}),_0x1dd094['id']===_0x5cd740[_0x4a24e3(0x149)][_0x4a24e3(0x3e8)]&&this['_messageService']['show']({'type':_0x32d4dc[_0x4a24e3(0x406)]['Warning'],'content':this[_0x4a24e3(0x3bc)]['t'](_0x4a24e3(0x415))}),_0x1dd094['id']===_0x5cd740[_0x4a24e3(0x149)]['PERMISSION_DENIED']&&this[_0x4a24e3(0x1d8)][_0x4a24e3(0x161)]({'title':this[_0x4a24e3(0x3bc)]['t'](_0x4a24e3(0x22f)),'content':this[_0x4a24e3(0x3bc)]['t']('collaboration-client-ui.permission.content'),'type':_0x4a24e3(0x233),'duration':0x0}),_0x1dd094['id']===_0x5cd740[_0x4a24e3(0x149)][_0x4a24e3(0x2a9)]&&this[_0x4a24e3(0x1d8)]['show']({'title':this[_0x4a24e3(0x3bc)]['t'](_0x4a24e3(0x2a5)),'content':this[_0x4a24e3(0x3bc)]['t'](_0x4a24e3(0x237)),'type':_0x4a24e3(0x233),'duration':0x0}),_0x1dd094['id']===_0x5cd740[_0x4a24e3(0x149)][_0x4a24e3(0xfc)]&&this[_0x4a24e3(0x20f)]['show']({'type':_0x32d4dc[_0x4a24e3(0x406)][_0x4a24e3(0x333)],'content':this[_0x4a24e3(0x3bc)]['t'](_0x1dd094[_0x4a24e3(0x264)]||'')}),_0x1dd094['id']===_0x5cd740[_0x4a24e3(0x149)]['SOCKET_FAILED_RETRY']&&this['_messageService'][_0x4a24e3(0x161)]({'type':_0x32d4dc[_0x4a24e3(0x406)][_0x4a24e3(0x333)],'content':this[_0x4a24e3(0x3bc)]['t'](_0x4a24e3(0x323))}),_0x1dd094['id']===_0x5cd740[_0x4a24e3(0x149)][_0x4a24e3(0x28a)]&&this['_messageService'][_0x4a24e3(0x161)]({'type':_0x32d4dc[_0x4a24e3(0x406)][_0x4a24e3(0x305)],'content':this[_0x4a24e3(0x3bc)]['t'](_0x4a24e3(0x2e4))}),_0x1dd094['id']===_0x5cd740[_0x4a24e3(0x149)][_0x4a24e3(0x1b7)]&&this[_0x4a24e3(0x20f)][_0x4a24e3(0x161)]({'type':_0x32d4dc[_0x4a24e3(0x406)]['Error'],'content':this[_0x4a24e3(0x3bc)]['t'](_0x4a24e3(0x3bb))});}));}};_0x5f1139=_0x30ac55([_0x3215c6(0x0,_0x50d239[_0x25f051(0x2a0)]),_0x3215c6(0x1,_0x5cd740[_0x25f051(0x1ee)]),_0x3215c6(0x2,(0x0,_0xead8ff[_0x25f051(0x3e0)])(_0x5cd740[_0x25f051(0x3a6)])),_0x3215c6(0x3,_0x50d239[_0x25f051(0x39f)]),_0x3215c6(0x4,_0x50d239[_0x25f051(0x14f)]),_0x3215c6(0x5,(0x0,_0xead8ff['Inject'])(_0xead8ff[_0x25f051(0x30a)]))],_0x5f1139);let _0x24219a=class{constructor(_0x4e97d3,_0xf92e17){const _0x18dcec=_0x25f051;this['_transformService']=_0x4e97d3,this[_0x18dcec(0x396)]=_0xf92e17;}[_0x25f051(0x347)](_0x260184){const _0x126384=_0x25f051;this[_0x126384(0x229)](_0x260184),this['_transformPreviousActiveRange'](_0x260184);}[_0x25f051(0x182)](_0x316ce9){const _0x44a861=_0x25f051;let {unitID:_0x3336b2}=_0x316ce9,{redoCache:_0x52a640}=this[_0x44a861(0x396)][_0x44a861(0x1bd)](_0x3336b2)[_0x44a861(0x2c5)](_0x2e2765['DocIMEInputManagerService'])['getUndoRedoMutationParamsCache']();if(_0x52a640[_0x44a861(0x3c4)]===0x0)return _0x316ce9;let _0x83fb4e=_0xead8ff[_0x44a861(0x2b8)][_0x44a861(0x1aa)](_0x316ce9[_0x44a861(0x33a)][0x0]);for(let _0x3da673=0x0;_0x3da673<_0x52a640[_0x44a861(0x3c4)];_0x3da673++){let _0x5a0681={'id':_0x44a861(0x132),'params':{..._0x52a640[_0x3da673]}},_0x29ca15=this['_transformService'][_0x44a861(0x1f5)](_0x83fb4e,_0x5a0681,!0x1);if((0x0,_0xf04665[_0x44a861(0x389)])(_0x29ca15))throw _0x29ca15[_0x44a861(0x233)];_0x83fb4e=_0x29ca15[_0x44a861(0x1e4)];}return{..._0xead8ff[_0x44a861(0x2b8)][_0x44a861(0x1aa)](_0x316ce9),'mutations':[_0x83fb4e]};}[_0x25f051(0x229)](_0x375d90){const _0x69308=_0x25f051;let {unitID:_0x54304a}=_0x375d90,_0x2aac1f=this['_renderManagerService'][_0x69308(0x1bd)](_0x54304a)[_0x69308(0x2c5)](_0x2e2765['DocIMEInputManagerService']),{undoCache:_0x11efdf,redoCache:_0x2dca97}=_0x2aac1f[_0x69308(0x25e)]();if(_0x11efdf[_0x69308(0x3c4)]===0x0||_0x2dca97[_0x69308(0x3c4)]===0x0)return;let _0x1cf9a6=[],_0x2fe03=[],_0x365174=_0xead8ff[_0x69308(0x2b8)]['deepClone'](_0x375d90['mutations'][0x0]),_0x4ea489=_0xead8ff[_0x69308(0x2b8)][_0x69308(0x1aa)](_0x375d90[_0x69308(0x33a)][0x0]);for(let _0x226a55=_0x11efdf['length']-0x1;_0x226a55>=0x0;_0x226a55--){let _0x56bd75={'id':_0x69308(0x132),'params':{..._0x11efdf[_0x226a55]}},_0x576d12={'id':_0x69308(0x132),'params':{..._0x2dca97[_0x226a55]}},_0x3cfa6c=this[_0x69308(0x21d)]['transformMutation'](_0x365174,_0x56bd75,!0x1),_0x3cbde4=this[_0x69308(0x21d)][_0x69308(0x1f5)](_0x4ea489,_0x576d12,!0x1);if((0x0,_0xf04665[_0x69308(0x389)])(_0x3cfa6c))throw _0x3cfa6c[_0x69308(0x233)];if((0x0,_0xf04665[_0x69308(0x389)])(_0x3cbde4))throw _0x3cbde4['error'];_0x1cf9a6['unshift'](_0x3cfa6c[_0x69308(0x29c)][_0x69308(0x2d9)]),_0x2fe03[_0x69308(0x1a2)](_0x3cbde4[_0x69308(0x29c)][_0x69308(0x2d9)]),_0x365174=_0x3cfa6c[_0x69308(0x1e4)],_0x4ea489=_0x3cbde4[_0x69308(0x1e4)];}_0x2aac1f[_0x69308(0x336)]({'undoCache':_0x1cf9a6,'redoCache':_0x2fe03});}['_transformPreviousActiveRange'](_0x4c4ac3){const _0xe66b94=_0x25f051;let {unitID:_0x569daa}=_0x4c4ac3,_0x3cc214=this[_0xe66b94(0x396)][_0xe66b94(0x1bd)](_0x569daa)['with'](_0x2e2765[_0xe66b94(0x3b0)]),_0x342df9=_0x3cc214[_0xe66b94(0x34a)]();if(_0x342df9==null)return;let _0x16b717=[{'id':_0xe66b94(0x132),'params':{'unitId':_0x4c4ac3[_0xe66b94(0x343)],'actions':null,'textRanges':[_0x342df9]}}],_0x1210fe=this[_0xe66b94(0x21d)]['transformMutationsWithChangeset'](_0x4c4ac3,_0x16b717);if(!(0x0,_0xf04665[_0xe66b94(0x180)])(_0x1210fe))throw _0x1210fe[_0xe66b94(0x233)];let _0x171f6c=_0x1210fe[_0xe66b94(0x29c)][0x0][_0xe66b94(0x2d9)][_0xe66b94(0x281)];Array[_0xe66b94(0x133)](_0x171f6c)&&_0x171f6c[_0xe66b94(0x3c4)]&&_0x3cc214[_0xe66b94(0x320)](_0x171f6c[0x0]);}};_0x24219a=_0x30ac55([_0x3215c6(0x0,_0xf04665[_0x25f051(0x1e8)]),_0x3215c6(0x1,_0xae3218['IRenderManagerService'])],_0x24219a);let _0x48e82e=class{constructor(_0x2e18a5,_0x41ccb4,_0x364064){const _0x45f8cc=_0x25f051;this['_injector']=_0x2e18a5,this['_transformService']=_0x41ccb4,this[_0x45f8cc(0x246)]=_0x364064;}[_0x25f051(0x2aa)](_0x1a391e){const _0x56b490=_0x25f051;this[_0x56b490(0x15b)](_0x1a391e);}['transformRemoteChangeset'](_0x27ff92){const _0x43644b=_0x25f051;let {unitID:_0x17b5b5}=_0x27ff92,{collaboration:_0x370362}=this[_0x43644b(0x246)][_0x43644b(0x3e6)](_0x17b5b5);if(_0x370362[_0x43644b(0x3c4)]===0x0)return _0x27ff92;let _0x2043f8=_0xead8ff[_0x43644b(0x2b8)][_0x43644b(0x1aa)](_0x27ff92[_0x43644b(0x33a)][0x0]);for(let _0x249df5=0x0;_0x249df5<_0x370362[_0x43644b(0x3c4)];_0x249df5++){let _0x463c17={'id':_0x43644b(0x132),'params':{'unitId':_0x370362[_0x249df5]['unitId'],..._0x370362[_0x249df5][_0x43644b(0x303)]}},_0x525330=this[_0x43644b(0x21d)][_0x43644b(0x1f5)](_0x2043f8,_0x463c17,!0x1);if((0x0,_0xf04665[_0x43644b(0x389)])(_0x525330))throw _0x525330[_0x43644b(0x233)];_0x2043f8=_0x525330['m1Prime'];}return{..._0xead8ff[_0x43644b(0x2b8)][_0x43644b(0x1aa)](_0x27ff92),'mutations':[_0x2043f8]};}[_0x25f051(0x15b)](_0x2eadc3){const _0xcdbd7c=_0x25f051;let {unitID:_0x34ebad}=_0x2eadc3,{history:_0x6d0037,collaboration:_0x27aeeb}=this[_0xcdbd7c(0x246)]['getStateCache'](_0x34ebad);if(_0x6d0037['length']===0x0&&_0x27aeeb['length']===0x0)return;let _0x5035e2=[],_0x41c456=[],_0x17e7d3=_0xead8ff['Tools'][_0xcdbd7c(0x1aa)](_0x2eadc3['mutations'][0x0]),_0x3aa992=_0xead8ff[_0xcdbd7c(0x2b8)][_0xcdbd7c(0x1aa)](_0x2eadc3[_0xcdbd7c(0x33a)][0x0]);for(let _0x4e37e8=_0x6d0037[_0xcdbd7c(0x3c4)]-0x1;_0x4e37e8>=0x0;_0x4e37e8--){let _0xe75513={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x6d0037[_0x4e37e8]['unitId'],..._0x6d0037[_0x4e37e8][_0xcdbd7c(0x2e5)]}},_0x49b3e9={'id':_0xcdbd7c(0x132),'params':{'unitId':_0x6d0037[_0x4e37e8][_0xcdbd7c(0x2d8)],..._0x6d0037[_0x4e37e8][_0xcdbd7c(0x303)]}},_0x4e0d24=this[_0xcdbd7c(0x21d)]['transformMutation'](_0x17e7d3,_0xe75513,!0x1),_0x2b6050=this[_0xcdbd7c(0x21d)][_0xcdbd7c(0x1f5)](_0x3aa992,_0x49b3e9,!0x1);if((0x0,_0xf04665['isTransformMutationFailure'])(_0x4e0d24))throw _0x4e0d24[_0xcdbd7c(0x233)];if((0x0,_0xf04665[_0xcdbd7c(0x389)])(_0x2b6050))throw _0x2b6050['error'];_0x5035e2[_0xcdbd7c(0x1a2)]({..._0x6d0037[_0x4e37e8],'undoState':_0x4e0d24[_0xcdbd7c(0x29c)][_0xcdbd7c(0x2d9)],'redoState':_0x2b6050[_0xcdbd7c(0x29c)][_0xcdbd7c(0x2d9)]}),_0x17e7d3=_0x4e0d24[_0xcdbd7c(0x1e4)],_0x3aa992=_0x2b6050[_0xcdbd7c(0x1e4)];}_0x17e7d3=_0xead8ff[_0xcdbd7c(0x2b8)][_0xcdbd7c(0x1aa)](_0x2eadc3[_0xcdbd7c(0x33a)][0x0]),_0x3aa992=_0xead8ff[_0xcdbd7c(0x2b8)][_0xcdbd7c(0x1aa)](_0x2eadc3[_0xcdbd7c(0x33a)][0x0]);for(let _0x25daf2=_0x27aeeb[_0xcdbd7c(0x3c4)]-0x1;_0x25daf2>=0x0;_0x25daf2--){let _0x288535={'id':_0xcdbd7c(0x132),'params':{'unitId':_0x27aeeb[_0x25daf2][_0xcdbd7c(0x2d8)],..._0x27aeeb[_0x25daf2][_0xcdbd7c(0x2e5)]}},_0x352aa1={'id':_0xcdbd7c(0x132),'params':{'unitId':_0x27aeeb[_0x25daf2][_0xcdbd7c(0x2d8)],..._0x27aeeb[_0x25daf2][_0xcdbd7c(0x303)]}},_0xeac43=this[_0xcdbd7c(0x21d)]['transformMutation'](_0x17e7d3,_0x288535,!0x1),_0x470772=this[_0xcdbd7c(0x21d)][_0xcdbd7c(0x1f5)](_0x3aa992,_0x352aa1,!0x1);if((0x0,_0xf04665[_0xcdbd7c(0x389)])(_0xeac43))throw _0xeac43[_0xcdbd7c(0x233)];if((0x0,_0xf04665['isTransformMutationFailure'])(_0x470772))throw _0x470772[_0xcdbd7c(0x233)];_0x41c456[_0xcdbd7c(0x1a2)]({..._0x27aeeb[_0x25daf2],'undoState':_0xeac43[_0xcdbd7c(0x29c)][_0xcdbd7c(0x2d9)],'redoState':_0x470772[_0xcdbd7c(0x29c)][_0xcdbd7c(0x2d9)]}),_0x17e7d3=_0xeac43[_0xcdbd7c(0x1e4)],_0x3aa992=_0x470772['m1Prime'];}this[_0xcdbd7c(0x246)][_0xcdbd7c(0x289)](_0x34ebad,{'history':_0x5035e2,'collaboration':_0x41c456});}};_0x48e82e=_0x30ac55([_0x3215c6(0x0,(0x0,_0xead8ff[_0x25f051(0x3e0)])(_0xead8ff['Injector'])),_0x3215c6(0x1,_0xf04665[_0x25f051(0x1e8)]),_0x3215c6(0x2,(0x0,_0xead8ff[_0x25f051(0x3e0)])(_0x30c363[_0x25f051(0x17c)]))],_0x48e82e);let _0xb9df53=class{constructor(_0x39694c,_0x34e59a){const _0x42e09e=_0x25f051;this['_injector']=_0x39694c,this[_0x42e09e(0x21d)]=_0x34e59a;}[_0x25f051(0x352)](_0x1859dc){const _0x3036ef=_0x25f051;var _0x2422f4;let _0xda9aff=this[_0x3036ef(0x381)][_0x3036ef(0x194)](_0x30c363['DocSelectionManagerService']),_0x4bb0fc=(_0x2422f4=_0xda9aff['getDocRanges']())==null?[]:_0x2422f4;if(_0x4bb0fc['length']===0x0)return;let _0x29e7d8=_0x1859dc[_0x3036ef(0x343)],_0x1f03a3=[{'id':_0x3036ef(0x132),'params':{'unitId':_0x29e7d8,'actions':null,'textRanges':_0x4bb0fc}}],_0x1f5035=this['_transformService'][_0x3036ef(0x1d6)](_0x1859dc,_0x1f03a3);if(!(0x0,_0xf04665[_0x3036ef(0x180)])(_0x1f5035))throw _0x1f5035['error'];let _0x266044=_0x1f5035[_0x3036ef(0x29c)][0x0][_0x3036ef(0x2d9)][_0x3036ef(0x281)];Array[_0x3036ef(0x133)](_0x266044)&&_0x266044['length']&&_0xda9aff[_0x3036ef(0x179)](_0x266044,{'unitId':_0x29e7d8,'subUnitId':_0x29e7d8},!0x1);}};_0xb9df53=_0x30ac55([_0x3215c6(0x0,(0x0,_0xead8ff[_0x25f051(0x3e0)])(_0xead8ff[_0x25f051(0x22d)])),_0x3215c6(0x1,_0xf04665[_0x25f051(0x1e8)])],_0xb9df53);let _0x48b91a=class extends _0xead8ff[_0x25f051(0x137)]{constructor(_0x319fc4,_0x4dbe9b,_0x246178,_0x5d30f9,_0x4364a5,_0xc008da,_0x2fff89){const _0x4a89b8=_0x25f051;super(),this['_collaborationController']=_0x319fc4,this['_docTransformIMECacheService']=_0x4dbe9b,this[_0x4a89b8(0x408)]=_0x246178,this['_docTransformSelectionsService']=_0x5d30f9,this['_docSyncEditingCollabCursorService']=_0x4364a5,this[_0x4a89b8(0x20f)]=_0xc008da,this['_localeService']=_0x2fff89,_0x322c70(this,'_status$',new _0x533d32[(_0x4a89b8(0x3a7))](_0x5cd740[_0x4a89b8(0x1ed)][_0x4a89b8(0x2ab)])),this['_initEntityListener']();}['_initEntityListener'](){const _0x4bb3fa=_0x25f051;this[_0x4bb3fa(0x40f)](this[_0x4bb3fa(0x36e)][_0x4bb3fa(0x205)][_0x4bb3fa(0x38e)](_0x433ee0=>{const _0x3fc21b=_0x4bb3fa;_0x433ee0 instanceof _0x5cd740[_0x3fc21b(0x11c)]&&_0x433ee0[_0x3fc21b(0x387)]({'onTransformIME':_0x40fcb9=>this[_0x3fc21b(0x16b)][_0x3fc21b(0x347)](_0x40fcb9),'onTransformState':_0x576ec8=>this['_docTransformStateCacheService'][_0x3fc21b(0x2aa)](_0x576ec8),'onTransformSelections':_0x2a90e0=>this[_0x3fc21b(0x2c2)]['transformSelections'](_0x2a90e0),'onSyncEditingCollabCursor':_0x1912dd=>this[_0x3fc21b(0x2eb)][_0x3fc21b(0x2c1)](_0x1912dd),'onTransformRemoteChangesetByIMECache':_0x400a6f=>this['_docTransformIMECacheService'][_0x3fc21b(0x182)](_0x400a6f),'onTransformRemoteChangesetByStateCache':_0x290ecf=>this[_0x3fc21b(0x408)][_0x3fc21b(0x182)](_0x290ecf)});}));}};_0x48b91a=_0x30ac55([_0x3215c6(0x0,(0x0,_0xead8ff[_0x25f051(0x3e0)])(_0x5cd740[_0x25f051(0x300)])),_0x3215c6(0x1,(0x0,_0xead8ff[_0x25f051(0x3e0)])(_0x24219a)),_0x3215c6(0x2,(0x0,_0xead8ff[_0x25f051(0x3e0)])(_0x48e82e)),_0x3215c6(0x3,(0x0,_0xead8ff[_0x25f051(0x3e0)])(_0xb9df53)),_0x3215c6(0x4,(0x0,_0xead8ff[_0x25f051(0x3e0)])(_0x50ec94)),_0x3215c6(0x5,_0x50d239[_0x25f051(0x39f)]),_0x3215c6(0x6,(0x0,_0xead8ff[_0x25f051(0x3e0)])(_0xead8ff[_0x25f051(0x30a)]))],_0x48b91a);let _0x9d6e60=class extends _0xead8ff[_0x25f051(0x137)]{constructor(_0x1807ae,_0x8978cf,_0x13f7f7,_0x3c4600){const _0x47e57a=_0x25f051;super(),this[_0x47e57a(0x381)]=_0x1807ae,this[_0x47e57a(0xfe)]=_0x8978cf,this[_0x47e57a(0x2cc)]=_0x13f7f7,this[_0x47e57a(0x18f)]=_0x3c4600,_0x322c70(this,_0x47e57a(0x250),void 0x0),this[_0x47e57a(0x398)]();}[_0x25f051(0x398)](){const _0x29e16f=_0x25f051;this[_0x29e16f(0x3ad)](),this[_0x29e16f(0x350)](),this['_monkeyPatchLogService'](),this['_initUserListener']();}[_0x25f051(0x115)](){const _0x301598=_0x25f051;this[_0x301598(0x40f)](this[_0x301598(0x18f)][_0x301598(0x2ba)][_0x301598(0x38e)](_0x2ba020=>{const _0x29c9f4=_0x301598;this[_0x29c9f4(0x250)]=_0x2ba020==null?void 0x0:_0x2ba020[_0x29c9f4(0x262)];}));}['_initWindowErrorListener'](){const _0x1e98fb=_0x25f051;let _0x312d7a=_0x59d505=>{const _0x2949b6=_0x4afd;var _0x321129;this['_uploadLog'](_0x2949b6(0x233),'[Window\x20Error]:\x20'+_0x59d505[_0x2949b6(0x221)]+_0x2949b6(0x382)+_0x59d505[_0x2949b6(0x3bd)]+':'+_0x59d505[_0x2949b6(0x3ab)]+':'+_0x59d505['colno']+'\x0a'+(((_0x321129=_0x59d505[_0x2949b6(0x233)])==null?void 0x0:_0x321129[_0x2949b6(0x127)])||''));};window[_0x1e98fb(0x36d)](_0x1e98fb(0x233),_0x312d7a),this[_0x1e98fb(0x40f)](()=>{const _0x15bbee=_0x1e98fb;window[_0x15bbee(0x39d)]('error',_0x312d7a);});}[_0x25f051(0x350)](){const _0x1b7daa=_0x25f051;let _0x9811b=_0x36a3db=>{const _0x4ea98c=_0x4afd;this[_0x4ea98c(0x3ac)](_0x4ea98c(0x233),_0x4ea98c(0x2cb)+_0x36a3db['reason']);};window[_0x1b7daa(0x36d)](_0x1b7daa(0x1d5),_0x9811b),this[_0x1b7daa(0x40f)](()=>{const _0x27a052=_0x1b7daa;window[_0x27a052(0x39d)](_0x27a052(0x1d5),_0x9811b);});}[_0x25f051(0x117)](){const _0x19b145=_0x25f051;let _0x2e6ae1=this[_0x19b145(0x2cc)][_0x19b145(0x233)][_0x19b145(0x3c2)](this[_0x19b145(0x2cc)]);this[_0x19b145(0x2cc)]['error']=(..._0x43d0f5)=>{const _0x12834f=_0x19b145;let _0x57b56c=_0x43d0f5['map'](_0x3400d3=>_0x3400d3 instanceof Error?_0x3400d3[_0x12834f(0x221)]+'\x0a'+_0x3400d3['stack']:String(_0x3400d3))[_0x12834f(0x226)]('\x20');this['_uploadLog'](_0x12834f(0x233),'[LogService\x20Error]:\x20'+_0x57b56c),_0x2e6ae1(..._0x43d0f5);},this[_0x19b145(0x40f)](()=>{const _0x45f733=_0x19b145;this['_logService'][_0x45f733(0x233)]=_0x2e6ae1;});}[_0x25f051(0x3ac)](_0x462e9b,_0x3647aa){const _0x2c8643=_0x25f051;try{let _0x1075d4={'userId':this['_memberID'],'logLabel':_0x462e9b,'content':_0x3647aa};this[_0x2c8643(0xfe)][_0x2c8643(0x315)](_0x2c8643(0x17b),{'body':_0x1075d4})[_0x2c8643(0x2a4)](()=>{});}catch{}}};_0x9d6e60=_0x30ac55([_0x3215c6(0x0,(0x0,_0xead8ff[_0x25f051(0x3e0)])(_0xead8ff['Injector'])),_0x3215c6(0x1,(0x0,_0xead8ff[_0x25f051(0x3e0)])(_0x57484d[_0x25f051(0x2bf)])),_0x3215c6(0x2,_0xead8ff['ILogService']),_0x3215c6(0x3,(0x0,_0xead8ff[_0x25f051(0x3e0)])(_0x5cd740[_0x25f051(0x195)]))],_0x9d6e60);function _0x380f33(_0x241a77){const _0x5c1c3f=_0x25f051;var _0x48eadc,_0xbf764b;let _0xca37f1=(_0x48eadc=_0x241a77[_0x5c1c3f(0x113)])==null?void 0x0:_0x48eadc['stage'],_0x153f20=((_0xbf764b=_0x241a77[_0x5c1c3f(0x113)])==null?void 0x0:_0xbf764b[_0x5c1c3f(0x29e)])||0x0;return _0xca37f1===_0x11c147[_0x5c1c3f(0x32c)][_0x5c1c3f(0x260)]&&_0x153f20>0x0;}function _0x5357b9(_0x21d839){const _0x58026e=_0x25f051;return _0x21d839['functionsExecutedState']===_0x11c147['FormulaExecutedStateType'][_0x58026e(0x28e)];}let _0x4f2c0e=class extends _0xead8ff[_0x25f051(0x137)]{constructor(_0x304891,_0x29b07c,_0xaad7a4,_0x5b30d2,_0x19bab9,_0x23a7d8,_0x3e5f7a){const _0xf16391=_0x25f051;super(),this['_messageService']=_0x304891,this[_0xf16391(0x2a1)]=_0x29b07c,this[_0xf16391(0x148)]=_0xaad7a4,this[_0xf16391(0xfe)]=_0x5b30d2,this['_univerInstanceService']=_0x19bab9,this[_0xf16391(0x2cc)]=_0x23a7d8,this[_0xf16391(0x3bc)]=_0x3e5f7a,_0x322c70(this,_0xf16391(0x1fe),null),_0x322c70(this,'_maxFormulaLimit',0x0),_0x322c70(this,_0xf16391(0x2e9),0x0),_0x322c70(this,_0xf16391(0x1f8),[]),_0x322c70(this,_0xf16391(0x20c),0x0),this[_0xf16391(0x1a9)]();}[_0x25f051(0x1a9)](){const _0x42aed0=_0x25f051;this[_0x42aed0(0x40f)](this[_0x42aed0(0x2a1)]['beforeCommandExecuted']((_0xd01a,_0x3c0169)=>{const _0x56c800=_0x42aed0;var _0x2fa235;if(_0xd01a['id']!==_0x11c147[_0x56c800(0x3e9)]['id'])return;let _0x416615=_0xd01a[_0x56c800(0x2d9)];if(this[_0x56c800(0x17d)]((_0x2fa235=_0x416615['dirtyRanges'])==null?[]:_0x2fa235)&&!this[_0x56c800(0x1fb)]())throw this[_0x56c800(0x1d0)](_0xd01a,_0x3c0169),this[_0x56c800(0x385)](),new _0xead8ff[(_0x56c800(0x27b))]();})),this[_0x42aed0(0x40f)](this[_0x42aed0(0x2a1)][_0x42aed0(0x38d)]((_0x11c092,_0x5803de)=>{const _0x3f3620=_0x42aed0;if(_0x11c092['id']!==_0x11c147['SetFormulaCalculationNotificationMutation']['id'])return;let _0xd43ad2=_0x11c092[_0x3f3620(0x2d9)];if(_0x380f33(_0xd43ad2)){let _0x3bd77b=(0x0,_0xead8ff[_0x3f3620(0x285)])();this['_taskIds'][_0x3f3620(0x295)](_0x3bd77b),this['_startCalculationLimit'](_0x3bd77b);}else{if(_0x5357b9(_0xd43ad2)&&this['_taskIds'][_0x3f3620(0x3c4)]>0x0){let _0x1108fb=this['_taskIds'][_0x3f3620(0x2fa)]();this['_releaseCalculationLimit'](_0x1108fb);}}}));}[_0x25f051(0x216)](){const _0x7a1257=_0x25f051;super[_0x7a1257(0x216)](),this['_clearPolling'](),this[_0x7a1257(0x1f8)]=[],this[_0x7a1257(0x2e9)]=0x0,this[_0x7a1257(0x395)]=0x0,this['_lastResponseTimestamp']=0x0;}async[_0x25f051(0x1d0)](_0x3b926b,_0x9dfe5b){const _0x5a523e=_0x25f051;for(let _0x352c3a=0x0;_0x352c3a<0x1e;_0x352c3a++)try{if(await this[_0x5a523e(0x3de)](),this['_checkCalculationAvailable']()){this[_0x5a523e(0x32e)](_0x3b926b,_0x9dfe5b),this[_0x5a523e(0x20f)][_0x5a523e(0x161)]({'content':this[_0x5a523e(0x3bc)]['t'](_0x5a523e(0x293)),'type':_0x32d4dc[_0x5a523e(0x406)][_0x5a523e(0x2a3)]});return;}await new Promise(_0x28f4d1=>{const _0x3295d1=_0x5a523e;this[_0x3295d1(0x1fe)]=window[_0x3295d1(0x177)](_0x28f4d1,0x3e8);});}catch(_0x5ae92e){this['_logService'][_0x5a523e(0x233)](_0x5ae92e);}this[_0x5a523e(0x20f)][_0x5a523e(0x161)]({'content':this['_localeService']['t']('collaboration-client-ui.formula.calculation.unable'),'type':_0x32d4dc[_0x5a523e(0x406)][_0x5a523e(0x305)]});}['_applyCommand'](_0x2b6f44,_0x385fec){const _0x380d2e=_0x25f051;try{this['_commandService'][_0x380d2e(0x156)](_0x2b6f44['id'],_0x2b6f44[_0x380d2e(0x2d9)],_0x385fec);}catch(_0x370d52){this[_0x380d2e(0x2cc)][_0x380d2e(0x233)](_0x370d52);}}[_0x25f051(0x1f2)](_0x24d248,_0xe831bf){const _0x508657=_0x25f051;_0xe831bf<this['_lastResponseTimestamp']||(this[_0x508657(0x20c)]=_0xe831bf,this[_0x508657(0x395)]=Number['parseInt'](_0x24d248[_0x508657(0x1dc)]),this[_0x508657(0x2e9)]=Number[_0x508657(0x202)](_0x24d248['currentUsage']));}async[_0x25f051(0x3b8)](_0x56b39c){const _0x627557=_0x25f051;let _0x280c39=Date['now']();try{var _0x1aa5ea,_0x414041;let _0x4e34fc=((_0x1aa5ea=this[_0x627557(0x148)][_0x627557(0x2f4)](_0x5cd740[_0x627557(0x128)]))==null?void 0x0:_0x1aa5ea[_0x627557(0x14d)])||_0x627557(0x164),_0xb9b693=(await this[_0x627557(0xfe)][_0x627557(0x315)](_0x4e34fc,{'body':JSON[_0x627557(0x23c)]({'taskId':_0x56b39c})}))[_0x627557(0x26c)];if(((_0x414041=_0xb9b693[_0x627557(0x233)])==null?void 0x0:_0x414041[_0x627557(0x1df)])!==_0x148f30['ErrorCode']['OK'])return;this[_0x627557(0x1f2)](_0xb9b693[_0x627557(0x135)],_0x280c39);}catch(_0x558a99){this[_0x627557(0x2cc)][_0x627557(0x233)](_0x558a99);}}async['_getFormulaLimitStatus'](_0xc22c7e){const _0x125e1d=_0x25f051;let _0x1b1704=Date[_0x125e1d(0x2a8)]();try{var _0x3abd71,_0x5eaa5e;let _0x225777=((_0x3abd71=this[_0x125e1d(0x148)][_0x125e1d(0x2f4)](_0x5cd740[_0x125e1d(0x128)]))==null?void 0x0:_0x3abd71[_0x125e1d(0x143)])||_0x125e1d(0x109),_0x298535=_0xc22c7e?_0x225777+_0x125e1d(0x318)+encodeURIComponent(_0xc22c7e):_0x225777,_0x33595a=(await this['_httpService'][_0x125e1d(0x194)](_0x298535))[_0x125e1d(0x26c)];if(((_0x5eaa5e=_0x33595a[_0x125e1d(0x233)])==null?void 0x0:_0x5eaa5e[_0x125e1d(0x1df)])!==_0x148f30[_0x125e1d(0x402)]['OK'])return;this[_0x125e1d(0x1f2)](_0x33595a[_0x125e1d(0x135)],_0x1b1704);}catch(_0x5e7faf){this[_0x125e1d(0x2cc)][_0x125e1d(0x233)](_0x5e7faf);}}async[_0x25f051(0x1c9)](_0x3b1d0e){const _0x2c156f=_0x25f051;let _0x4bdb8d=Date[_0x2c156f(0x2a8)]();try{var _0x4b8652,_0x49014b;let _0x19970c=((_0x4b8652=this[_0x2c156f(0x148)][_0x2c156f(0x2f4)](_0x5cd740[_0x2c156f(0x128)]))==null?void 0x0:_0x4b8652[_0x2c156f(0x2c3)])||_0x2c156f(0x312),_0x1abfd2=(await this[_0x2c156f(0xfe)][_0x2c156f(0x315)](_0x19970c,{'body':JSON[_0x2c156f(0x23c)]({'taskId':_0x3b1d0e})}))[_0x2c156f(0x26c)];if(((_0x49014b=_0x1abfd2[_0x2c156f(0x233)])==null?void 0x0:_0x49014b[_0x2c156f(0x1df)])!==_0x148f30[_0x2c156f(0x402)]['OK'])return;this[_0x2c156f(0x1f2)](_0x1abfd2[_0x2c156f(0x135)],_0x4bdb8d);}catch(_0x2960ba){this[_0x2c156f(0x2cc)][_0x2c156f(0x233)](_0x2960ba);}}[_0x25f051(0x1fb)](){const _0x19a41d=_0x25f051;return this['_maxFormulaLimit']===0x0?!0x0:this[_0x19a41d(0x395)]-this[_0x19a41d(0x2e9)]>0x0;}[_0x25f051(0x342)](){const _0x9439c5=_0x25f051;this[_0x9439c5(0x1fe)]&&(clearTimeout(this['_pollingInterval']),this[_0x9439c5(0x1fe)]=null);}['_showGuardMessage'](){const _0x330948=_0x25f051;this[_0x330948(0x20f)][_0x330948(0x161)]({'content':this[_0x330948(0x3bc)]['t'](_0x330948(0x28d)),'type':_0x32d4dc[_0x330948(0x406)][_0x330948(0x10c)]});}[_0x25f051(0x17d)](_0x47385d){const _0x2343f2=_0x25f051;for(let _0x58f38a of _0x47385d){let {unitId:_0x1e702b,sheetId:_0x4df89b,range:_0xc6d481}=_0x58f38a,_0x22dd32=this[_0x2343f2(0x278)][_0x2343f2(0x3e2)](_0x1e702b);if(!_0x22dd32)continue;let _0x2b8fb6=_0x22dd32[_0x2343f2(0x3b1)](_0x4df89b);if(!_0x2b8fb6)continue;let _0x5b275b=_0x2b8fb6[_0x2343f2(0x219)]();for(let _0x51ee9=_0xc6d481[_0x2343f2(0x242)];_0x51ee9<=_0xc6d481[_0x2343f2(0x1c7)];_0x51ee9++)for(let _0x5ccbba=_0xc6d481[_0x2343f2(0x3d1)];_0x5ccbba<=_0xc6d481[_0x2343f2(0x21b)];_0x5ccbba++){let _0x4c591d=_0x5b275b[_0x2343f2(0x410)](_0x51ee9,_0x5ccbba);if(_0x4c591d&&((0x0,_0xead8ff['isFormulaString'])(_0x4c591d['f'])||(0x0,_0xead8ff[_0x2343f2(0x299)])(_0x4c591d['si'])))return!0x0;}}return!0x1;}};_0x4f2c0e=_0x30ac55([_0x3215c6(0x0,(0x0,_0xead8ff['Inject'])(_0x50d239[_0x25f051(0x39f)])),_0x3215c6(0x1,_0xead8ff[_0x25f051(0x140)]),_0x3215c6(0x2,_0xead8ff[_0x25f051(0x1b8)]),_0x3215c6(0x3,(0x0,_0xead8ff['Inject'])(_0x57484d['HTTPService'])),_0x3215c6(0x4,_0xead8ff[_0x25f051(0x159)]),_0x3215c6(0x5,_0xead8ff[_0x25f051(0x210)]),_0x3215c6(0x6,(0x0,_0xead8ff[_0x25f051(0x3e0)])(_0xead8ff[_0x25f051(0x30a)]))],_0x4f2c0e);let _0x1e9003=class extends _0xead8ff[_0x25f051(0x137)]{constructor(_0x4dc498,_0x105a13,_0x3d71ae){const _0x57c4f8=_0x25f051;super(),this[_0x57c4f8(0x148)]=_0x4dc498,this['_localStorageService']=_0x105a13,this[_0x57c4f8(0x123)]=_0x3d71ae,_0x322c70(this,'_cachedData',new Map()),_0x322c70(this,_0x57c4f8(0x296),new Map()),_0x322c70(this,_0x57c4f8(0x30c),!0x1);}[_0x25f051(0x3a4)](){const _0x50f02d=_0x25f051;this[_0x50f02d(0x30c)]=!0x0;}[_0x25f051(0x403)](){const _0xfd0f41=_0x25f051;this[_0xfd0f41(0x30c)]=!0x1;}get[_0x25f051(0x374)](){const _0x5c305e=_0x25f051;return this[_0x5c305e(0x296)];}[_0x25f051(0x216)](){const _0x12ae8a=_0x25f051;this[_0x12ae8a(0x27a)]()['then'](()=>super[_0x12ae8a(0x216)]());}async[_0x25f051(0x144)](_0x32830e){const _0x38c61c=_0x25f051;return this['_disabled']?null:this['_localStorageService'][_0x38c61c(0x317)]((0x0,_0x5cd740[_0x38c61c(0x38c)])(_0x32830e));}async[_0x25f051(0x2fd)](_0x54b1fd,_0x1cf15b){const _0x1b3f12=_0x25f051;return!!this[_0x1b3f12(0x2dd)][_0x1b3f12(0x1b9)]((0x0,_0x5cd740[_0x1b3f12(0x38c)])(_0x54b1fd),_0x1cf15b);}async[_0x25f051(0x376)](_0x5f2163,_0xa3de4a){const _0x4c4342=_0x25f051;var _0x1711d4;let _0x472291=(_0x1711d4=this[_0x4c4342(0x3b4)][_0x4c4342(0x194)](_0x5f2163))==null?await this[_0x4c4342(0x2dd)][_0x4c4342(0x317)]((0x0,_0x5cd740[_0x4c4342(0x38c)])(_0x5f2163)):_0x1711d4;if(!_0x472291)return;let _0x1ec5fc=Date[_0x4c4342(0x2a8)](),_0xdfee8b=new Date(_0x1ec5fc)[_0x4c4342(0x400)]();await this[_0x4c4342(0x2dd)]['setItem']((0x0,_0x5cd740[_0x4c4342(0x38c)])(_0x5f2163)+_0x4c4342(0x211)+_0x1ec5fc,{'reason':_0xa3de4a,'createdAt':_0xdfee8b,'data':_0x472291});}[_0x25f051(0x252)](_0x30c563,_0x390093,_0x5ab64b,_0x59e1be){const _0x5dfb8a=_0x25f051;let _0x5fd807=this[_0x5dfb8a(0x123)][_0x5dfb8a(0x2ad)](_0x30c563);this[_0x5dfb8a(0x3b4)]['set'](_0x30c563,{'unitID':_0x30c563,'type':_0x390093,'awaitingChangeset':_0x5ab64b,'mutations':_0x59e1be,'rev':_0x5fd807}),this['_saveTaskMap'][_0x5dfb8a(0x3dc)](_0x30c563)||this[_0x5dfb8a(0x119)](_0x30c563);}[_0x25f051(0x119)](_0x4eb1de){const _0x1297dc=_0x25f051;let _0x259dd1=this[_0x1297dc(0x2b3)]();_0x259dd1===0x0?this[_0x1297dc(0x366)](_0x4eb1de):this[_0x1297dc(0x296)][_0x1297dc(0x168)](_0x4eb1de,setTimeout(()=>this[_0x1297dc(0x366)](_0x4eb1de),_0x259dd1));}[_0x25f051(0x2b3)](){const _0x1b8e2c=_0x25f051;var _0x2bde73;return(_0x2bde73=this[_0x1b8e2c(0x148)][_0x1b8e2c(0x2f4)](_0x5cd740[_0x1b8e2c(0x1f1)]))==null?_0x5cd740['LOCAL_CACHE_INTERVAL']:_0x2bde73;}[_0x25f051(0x366)](_0xca33c0){const _0xbdb7ee=_0x25f051;let _0x56be8a=this[_0xbdb7ee(0x296)]['get'](_0xca33c0);return _0x56be8a!==void 0x0&&window[_0xbdb7ee(0x1e2)](_0x56be8a),this[_0xbdb7ee(0x2dd)][_0xbdb7ee(0x1b9)]((0x0,_0x5cd740[_0xbdb7ee(0x38c)])(_0xca33c0),this[_0xbdb7ee(0x3b4)]['get'](_0xca33c0))[_0xbdb7ee(0x17a)](()=>this[_0xbdb7ee(0x296)][_0xbdb7ee(0x2bc)](_0xca33c0));}async[_0x25f051(0x27a)](){const _0x358419=_0x25f051;let _0x306aff=[];this['_saveTaskMap'][_0x358419(0x2ed)]((_0x2b1cc6,_0x25e8dd)=>{const _0x24b9e6=_0x358419;window[_0x24b9e6(0x1e2)](_0x2b1cc6),_0x306aff[_0x24b9e6(0x295)](this[_0x24b9e6(0x366)](_0x25e8dd)[_0x24b9e6(0x17a)](()=>{const _0x4d1620=_0x24b9e6;this[_0x4d1620(0x296)][_0x4d1620(0x2bc)](_0x25e8dd);}));}),await Promise[_0x358419(0x404)](_0x306aff);}};_0x1e9003=_0x30ac55([_0x3215c6(0x0,_0xead8ff[_0x25f051(0x1b8)]),_0x3215c6(0x1,_0xead8ff['ILocalStorageService']),_0x3215c6(0x2,(0x0,_0xead8ff[_0x25f051(0x3e0)])(_0xf04665[_0x25f051(0x316)]))],_0x1e9003);var _0x19f360=class extends _0xead8ff[_0x25f051(0x153)]{constructor(){const _0xd79934=_0x25f051;super(),_0x322c70(this,_0xd79934(0x12b),void 0x0),this[_0xd79934(0x12b)]=(0x0,_0x533d32[_0xd79934(0x203)])(window,_0xd79934(0x2a2))[_0xd79934(0x3ef)]((0x0,_0x533d32['takeUntil'])(this[_0xd79934(0x24c)]),(0x0,_0x533d32[_0xd79934(0x3d3)])({'bufferSize':0x1,'refCount':!0x0}),(0x0,_0x533d32[_0xd79934(0x3ae)])(void 0x0));}['setParam'](_0x38db98,_0x56bea0,_0x10eadd=!0x1){const _0x3dea4b=_0x25f051;let _0x3c7887=new URL(window['location'][_0x3dea4b(0x271)]);_0x3c7887[_0x3dea4b(0x40b)][_0x3dea4b(0x168)](_0x38db98,_0x56bea0),_0x10eadd?window[_0x3dea4b(0x1d4)][_0x3dea4b(0x328)]('','',_0x3c7887[_0x3dea4b(0x2c9)]()):window['history']['pushState']('','',_0x3c7887[_0x3dea4b(0x2c9)]());}[_0x25f051(0x18d)](_0x3e95cc,_0x708da0=!0x1){const _0x555afe=_0x25f051;let _0x507c0b=new URL(window[_0x555afe(0x3e1)][_0x555afe(0x271)]);_0x507c0b[_0x555afe(0x40b)]['delete'](_0x3e95cc),_0x708da0?window[_0x555afe(0x1d4)][_0x555afe(0x328)]('','',_0x507c0b['toString']()):window[_0x555afe(0x1d4)][_0x555afe(0x286)]('','',_0x507c0b[_0x555afe(0x2c9)]());}[_0x25f051(0x230)](_0x264edc){const _0x3eda27=_0x25f051;var _0x2796bc;return(_0x2796bc=new URL(window[_0x3eda27(0x3e1)]['href'])['searchParams'][_0x3eda27(0x194)](_0x264edc))==null?void 0x0:_0x2796bc;}};let _0x5cc732=class extends _0xead8ff['Plugin']{constructor(_0x253d94=_0x51137c,_0x4169fe,_0x126373,_0x13586b){const _0xb203fc=_0x25f051;super(),this[_0xb203fc(0x255)]=_0x253d94,this[_0xb203fc(0x396)]=_0x4169fe,this[_0xb203fc(0x381)]=_0x126373,this[_0xb203fc(0x148)]=_0x13586b;let {..._0x141622}=(0x0,_0xead8ff[_0xb203fc(0x106)])({},_0x51137c,this[_0xb203fc(0x255)]);this[_0xb203fc(0x148)][_0xb203fc(0x201)]('collaboration-client-ui.config',_0x141622);}['onStarting'](){const _0x1fbc7=_0x25f051;this['_registerDependencies'](),this[_0x1fbc7(0x24a)]();}[_0x25f051(0x2da)](){const _0x46d1c8=_0x25f051;this[_0x46d1c8(0x372)]();}[_0x25f051(0x108)](){const _0x173a48=_0x25f051;var _0x11a31c;let _0x444925=[[_0x1b9f9b],[_0x4f2c0e],[_0x27b07f,{'useClass':_0x19f360}],[_0x57484d[_0x173a48(0x337)],{'useClass':_0x57484d['WebSocketService']}],[_0x5cd740[_0x173a48(0x1ee)],{'useClass':_0x1e9003}],[_0x23703a],[_0x5f1139],[_0x2421ce],[_0x3ab8c3]];this[_0x173a48(0x255)]['enableDocumentCollaborationUI']!==!0x1&&_0x444925['push']([_0xb9df53],[_0x24219a],[_0x48e82e],[_0x50ec94],[_0x48b91a],[_0x28fe91]),this[_0x173a48(0x255)]['enableFrontendLog']&&_0x444925[_0x173a48(0x295)]([_0x9d6e60]),(0x0,_0xead8ff[_0x173a48(0x2f6)])(this['_injector'],(0x0,_0xead8ff[_0x173a48(0x348)])(_0x444925,(_0x11a31c=this[_0x173a48(0x255)])==null?void 0x0:_0x11a31c[_0x173a48(0x23d)]));}[_0x25f051(0x372)](){const _0x55aec3=_0x25f051;this[_0x55aec3(0x255)][_0x55aec3(0x1c4)]!==!0x1&&this[_0x55aec3(0x40f)](this[_0x55aec3(0x396)][_0x55aec3(0x379)](_0xead8ff[_0x55aec3(0x1ea)][_0x55aec3(0x3fd)],[_0x336a21])),this['disposeWithMe'](this[_0x55aec3(0x396)][_0x55aec3(0x379)](_0xead8ff[_0x55aec3(0x1ea)][_0x55aec3(0x10a)],[_0x441545])),this[_0x55aec3(0x40f)](this[_0x55aec3(0x396)]['registerRenderModule'](_0xead8ff[_0x55aec3(0x1ea)][_0x55aec3(0x18c)],[_0x5dd1bf]));}[_0x25f051(0x24a)](){const _0x43bc91=_0x25f051;(0x0,_0xead8ff[_0x43bc91(0x2b7)])(this['_injector'],[[_0x2421ce],[_0x23703a],[_0x5f1139],[_0x3ab8c3],[_0x4f2c0e]]),this[_0x43bc91(0x255)][_0x43bc91(0x1c4)]!==!0x1&&(0x0,_0xead8ff[_0x43bc91(0x2b7)])(this[_0x43bc91(0x381)],[[_0x48b91a],[_0x28fe91]]),this[_0x43bc91(0x255)][_0x43bc91(0x2f3)]&&(0x0,_0xead8ff[_0x43bc91(0x2b7)])(this[_0x43bc91(0x381)],[[_0x9d6e60]]);}};_0x322c70(_0x5cc732,_0x25f051(0x33e),_0x25f051(0x280)),_0x322c70(_0x5cc732,_0x25f051(0x3a2),_0x58e78f),_0x322c70(_0x5cc732,'version',_0xb4e1f1),_0x5cc732=_0x30ac55([(0x0,_0xead8ff[_0x25f051(0x326)])(_0x5cd740[_0x25f051(0x204)]),_0x3215c6(0x1,_0xae3218[_0x25f051(0x2c8)]),_0x3215c6(0x2,(0x0,_0xead8ff[_0x25f051(0x3e0)])(_0xead8ff[_0x25f051(0x22d)])),_0x3215c6(0x3,_0xead8ff[_0x25f051(0x1b8)])],_0x5cc732);let _0x312d90=class extends _0x5cd740[_0x25f051(0x3a5)]{constructor(_0x28d07b,_0x1b714d,_0x5002b7,_0x2a11c7,_0x144aff){super(_0x28d07b,_0x1b714d,_0x5002b7,_0x2a11c7,_0x144aff);}async[_0x25f051(0x1ab)](_0x43f41e){const _0xca5402=_0x25f051;let _0x33d055=await this[_0xca5402(0x33d)](),_0x41a906=this[_0xca5402(0x306)](_0x43f41e,_0x33d055);return this['_doCreateSocket'](_0x41a906);}[_0x25f051(0x306)](_0x1dc1b6,_0x5c0fb1){const _0x47ac14=_0x25f051;let _0x982715=typeof window>'u'?new URL(_0x1dc1b6):new URL(_0x1dc1b6,window[_0x47ac14(0x3e1)][_0x47ac14(0x1bf)]);_0x982715[_0x47ac14(0x40b)][_0x47ac14(0x168)](_0x47ac14(0x30b),_0x5c0fb1);let _0x51fd07=typeof window>'u'?new URLSearchParams():new URLSearchParams(window[_0x47ac14(0x3e1)][_0x47ac14(0x272)]);return _0x51fd07[_0x47ac14(0x194)](_0x47ac14(0x1ba))&&_0x982715[_0x47ac14(0x40b)][_0x47ac14(0x168)]('runId',_0x51fd07[_0x47ac14(0x194)](_0x47ac14(0x1ba))),_0x982715['toString']();}async[_0x25f051(0x33d)](){const _0x549c6d=_0x25f051;var _0x2dfb69,_0x3945bd,_0x353f82;let _0x296b33=this['_configService'][_0x549c6d(0x2f4)](_0x5cd740[_0x549c6d(0x128)]),_0x642594=(_0x2dfb69=_0x296b33==null?void 0x0:_0x296b33['wsSessionTicketUrl'])==null?_0x5cd740[_0x549c6d(0x26d)]:_0x2dfb69;return(_0x3945bd=(_0x353f82=(await this[_0x549c6d(0xfe)]['get'](_0x642594,{'headers':{'Content-Type':_0x549c6d(0x1c8)}}))[_0x549c6d(0x26c)])==null?void 0x0:_0x353f82['ticket'])==null?'':_0x3945bd;}};_0x312d90=_0x30ac55([_0x3215c6(0x0,(0x0,_0xead8ff[_0x25f051(0x3e0)])(_0xead8ff[_0x25f051(0x22d)])),_0x3215c6(0x1,(0x0,_0xead8ff[_0x25f051(0x3e0)])(_0x57484d[_0x25f051(0x2bf)])),_0x3215c6(0x2,_0xead8ff[_0x25f051(0x1b8)]),_0x3215c6(0x3,_0xead8ff[_0x25f051(0x210)]),_0x3215c6(0x4,_0xf04665[_0x25f051(0x18b)])],_0x312d90);let _0x19816a=class extends _0xead8ff['Disposable']{constructor(_0x1a175b,_0x356169,_0x186257){const _0x303106=_0x25f051;super(),this['_instanceService']=_0x1a175b,this[_0x303106(0xfe)]=_0x356169,this['_configService']=_0x186257;}async[_0x25f051(0x34b)](_0x2be195,_0x2ecff2,_0x26eee1,..._0x5be566){const _0x2b9089=_0x25f051;var _0x307cfd,_0x549c6a,_0x3c7755,_0x17ec43;let _0x27b5d4=this[_0x2b9089(0x136)]['getFocusedUnit']();if(!_0x27b5d4)throw Error('[RemoteUniscriptService]:\x20no\x20focused\x20unit');let _0x2cd071=((_0x307cfd=this[_0x2b9089(0x148)][_0x2b9089(0x2f4)](_0x5cd740[_0x2b9089(0x32f)]))==null?_0x5cd740[_0x2b9089(0x384)]:_0x307cfd)+'/'+_0x2be195+_0x2b9089(0x187)+_0x2ecff2,_0x5a4a26={'scriptId':_0x2be195,'runId':(_0x549c6a=new URL(window[_0x2b9089(0x3e1)][_0x2b9089(0x271)])['searchParams'][_0x2b9089(0x194)]('runId'))==null?'':_0x549c6a,'function':_0x2ecff2,'unitId':_0x27b5d4[_0x2b9089(0x367)](),'argsOfFunction':JSON['stringify'](_0x5be566),'invokeId':(_0x3c7755=_0x26eee1[_0x2b9089(0x2bd)])==null?'':_0x3c7755,'executionId':(_0x17ec43=_0x26eee1[_0x2b9089(0x1b3)])==null?'':_0x17ec43};try{let _0x61998b=await this[_0x2b9089(0xfe)]['post'](_0x2cd071,{'body':_0x5a4a26});return _0x61998b['body'][_0x2b9089(0x233)]&&_0x61998b['body'][_0x2b9089(0x233)]['code']!==_0x148f30[_0x2b9089(0x402)]['OK']?_0x2b9089(0x170):_0x61998b[_0x2b9089(0x26c)][_0x2b9089(0x26b)];}catch{return _0x2b9089(0x170);}}};_0x19816a=_0x30ac55([_0x3215c6(0x0,_0xead8ff[_0x25f051(0x159)]),_0x3215c6(0x1,(0x0,_0xead8ff[_0x25f051(0x3e0)])(_0x57484d[_0x25f051(0x2bf)])),_0x3215c6(0x2,_0xead8ff['IConfigService'])],_0x19816a);let _0x439988=0x7530,_0x1e488a='ACTIVE_UNIT_EVENT_CHANNEL';var _0x315d9c=class extends _0xead8ff['Disposable']{constructor(){const _0x419f63=_0x25f051;super(),_0x322c70(this,_0x419f63(0x1d2),(0x0,_0xead8ff['generateRandomId'])()),_0x322c70(this,_0x419f63(0x3a3),new Set()),_0x322c70(this,_0x419f63(0x1d1),new Map()),_0x322c70(this,_0x419f63(0x1ad),null),_0x322c70(this,'_clearOtherTimers',new Map()),_0x322c70(this,'_unitStatus',new Map()),this[_0x419f63(0x398)]();}[_0x25f051(0x216)](){const _0x202f87=_0x25f051;super[_0x202f87(0x216)](),this[_0x202f87(0x118)]['forEach']((_0x5e306c,_0x5ee68e)=>this[_0x202f87(0x34d)](_0x5ee68e)),this[_0x202f87(0x1ad)]&&window['clearInterval'](this[_0x202f87(0x1ad)]);}[_0x25f051(0x3d0)](_0x4a1dc6){const _0x498d75=_0x25f051;return this[_0x498d75(0x234)](_0x4a1dc6)[_0x498d75(0x3ef)]((0x0,_0x533d32[_0x498d75(0x3f4)])());}[_0x25f051(0x225)](_0x124b01){const _0xda056a=_0x25f051;this[_0xda056a(0x3a3)]['size']===0x0&&this[_0xda056a(0x248)](),this[_0xda056a(0x3a3)]['add'](_0x124b01),this[_0xda056a(0x383)]({'type':0x0,'memberID':this[_0xda056a(0x1d2)],'unitIDs':[_0x124b01],'isForwarded':!0x1});}[_0x25f051(0x34c)](_0x20c126){const _0x295752=_0x25f051;this[_0x295752(0x3a3)][_0x295752(0x2bc)](_0x20c126),this[_0x295752(0x3a3)]['size']===0x0&&this[_0x295752(0x1ad)]&&window[_0x295752(0x3cf)](this[_0x295752(0x1ad)]);}[_0x25f051(0x398)](){const _0x1009a0=_0x25f051;this['disposeWithMe']((0x0,_0xead8ff[_0x1009a0(0x10f)])((0x0,_0x533d32[_0x1009a0(0x203)])(window,'storage')[_0x1009a0(0x38e)](_0x52ace6=>{const _0x32954d=_0x1009a0;if(_0x52ace6['key']!==_0x1e488a||!_0x52ace6[_0x32954d(0x26a)])return;let _0x2f9d9d=JSON['parse'](_0x52ace6[_0x32954d(0x26a)]);this['_handleEvent'](_0x2f9d9d);}))),window[_0x1009a0(0x36d)](_0x1009a0(0x3d7),()=>this[_0x1009a0(0x383)]({'type':0x1,'memberID':this['_id'],'unitIDs':Array[_0x1009a0(0x30d)](this[_0x1009a0(0x3a3)])}));}[_0x25f051(0x28f)](_0x5e5372){const _0x534c=_0x25f051;switch(_0x5e5372[_0x534c(0x19d)]){case 0x0:this[_0x534c(0x23a)](_0x5e5372);break;case 0x1:this[_0x534c(0x1bc)](_0x5e5372);break;case 0x2:this[_0x534c(0x228)](_0x5e5372);break;}}['_handleJoinEvent'](_0xf1a54b){const _0x51df6c=_0x25f051;let {unitIDs:_0x558723,memberID:_0x19374c,isForwarded:_0x14b6c2}=_0xf1a54b;_0x558723['forEach'](_0x525b80=>{const _0x5205d0=_0x4afd;if(!_0x14b6c2&&this[_0x5205d0(0x1d1)][_0x5205d0(0x3dc)](_0x525b80)&&this[_0x5205d0(0x234)](_0x525b80)[_0x5205d0(0x2cd)](_0x5cd740[_0x5205d0(0x373)][_0x5205d0(0x346)]),!this[_0x5205d0(0x1d1)][_0x5205d0(0x3dc)](_0x525b80)||!this[_0x5205d0(0x1d1)][_0x5205d0(0x194)](_0x525b80)[_0x5205d0(0x3dc)](_0x19374c)){let _0x32db6c=this['_unitOnClients'][_0x5205d0(0x194)](_0x525b80)||new Set();_0x32db6c[_0x5205d0(0x206)](_0x19374c),this['_unitOnClients'][_0x5205d0(0x168)](_0x525b80,_0x32db6c),this[_0x5205d0(0x139)](_0x19374c);}}),_0x14b6c2||this[_0x51df6c(0x383)]({'type':0x0,'memberID':this[_0x51df6c(0x1d2)],'unitIDs':[...this['_selfUnitIDs']],'isForwarded':!0x0});}[_0x25f051(0x139)](_0x1452a4){const _0x124689=_0x25f051;this[_0x124689(0x34d)](_0x1452a4);let _0x59085e=window[_0x124689(0x177)](()=>{const _0x2cfb65=_0x124689;this[_0x2cfb65(0x1d1)][_0x2cfb65(0x2ed)](_0x2efc0b=>{const _0x146ec1=_0x2cfb65;_0x2efc0b[_0x146ec1(0x2bc)](_0x1452a4);});},_0x439988*0x2);this['_clearOtherTimers']['set'](_0x1452a4,_0x59085e);}[_0x25f051(0x34d)](_0x12d449){const _0x1b7405=_0x25f051;if(this[_0x1b7405(0x118)]['has'](_0x12d449)){let _0x2578a3=this['_clearOtherTimers'][_0x1b7405(0x194)](_0x12d449);_0x2578a3&&window[_0x1b7405(0x1e2)](_0x2578a3),this[_0x1b7405(0x118)][_0x1b7405(0x168)](_0x12d449,null);}}['_handleLeaveEvent'](_0x39f0aa){const _0x53d9b6=_0x25f051;let {memberID:_0x3bc515,unitIDs:_0x2fc9ef}=_0x39f0aa;_0x2fc9ef[_0x53d9b6(0x2ed)](_0x1c01e5=>{const _0x1eb3c1=_0x53d9b6;var _0x3ae9bd;let _0x3372c5=this[_0x1eb3c1(0x1d1)][_0x1eb3c1(0x194)](_0x1c01e5);_0x3372c5&&(_0x3372c5['delete'](_0x3bc515),(_0x3ae9bd=this[_0x1eb3c1(0x234)](_0x1c01e5))==null||_0x3ae9bd[_0x1eb3c1(0x2cd)](_0x3372c5[_0x1eb3c1(0x11b)]===0x0?_0x5cd740[_0x1eb3c1(0x373)][_0x1eb3c1(0x3b3)]:_0x5cd740['UnitStatus']['OTHER_CLIENTS_EDITING']));}),this[_0x53d9b6(0x34d)](_0x3bc515);}[_0x25f051(0x228)](_0x55994a){const _0x20b4e6=_0x25f051;this['_scheduleClearOtherTimer'](_0x55994a[_0x20b4e6(0x262)]);}[_0x25f051(0x383)](_0x3cbd65){const _0x1ec2bc=_0x25f051;localStorage['setItem'](_0x1e488a,JSON[_0x1ec2bc(0x23c)](_0x3cbd65));}['_scheduleHeartbeat'](){const _0x154917=_0x25f051;this[_0x154917(0x1ad)]=window['setInterval'](()=>{const _0x239884=_0x154917;this['_send']({'type':0x2,'memberID':this[_0x239884(0x1d2)]});},_0x439988);}[_0x25f051(0x234)](_0x47e4ec){const _0x83fb04=_0x25f051;return this['_unitStatus'][_0x83fb04(0x3dc)](_0x47e4ec)||this[_0x83fb04(0x37f)]['set'](_0x47e4ec,new _0x533d32[(_0x83fb04(0x3a7))](_0x5cd740[_0x83fb04(0x373)][_0x83fb04(0x3b3)])),this[_0x83fb04(0x37f)]['get'](_0x47e4ec);}};Object[_0x25f051(0x14c)](_0x7c14ad,'BrowserCollaborationSocketService',{'enumerable':!0x0,'get':function(){return _0x312d90;}}),Object[_0x25f051(0x14c)](_0x7c14ad,_0x25f051(0x238),{'enumerable':!0x0,'get':function(){return _0x3ab8c3;}}),Object[_0x25f051(0x14c)](_0x7c14ad,_0x25f051(0x14e),{'enumerable':!0x0,'get':function(){return _0x23703a;}}),_0x7c14ad[_0x25f051(0x3c5)]=_0x27b07f,Object[_0x25f051(0x14c)](_0x7c14ad,_0x25f051(0x1a7),{'enumerable':!0x0,'get':function(){return _0x19816a;}}),_0x7c14ad[_0x25f051(0x277)]=_0x3e5592,Object[_0x25f051(0x14c)](_0x7c14ad,_0x25f051(0x351),{'enumerable':!0x0,'get':function(){return _0x5cc732;}}),_0x7c14ad[_0x25f051(0x227)]=_0x315d9c,_0x7c14ad[_0x25f051(0x39c)]=_0x19f360;}));function _0x33fd(){const _0x4ffeb1=['CONFLICT','transformStateCache','NOT_COLLAB','switchMap','getCurrentRevOfUnit','252237oviKgJ','univer-text-gray-400','scene','1107644mCurpU','collab-text-range-','_getSaveTimeout','univer-m-0\x20univer-p-0','angle','0\x200\x2016\x2016','touchDependencies','Tools','_getAnchorBounding','socket$','debug','delete','invokeId','handleMoveRange','HTTPService','SetDocZoomRatioOperation','syncEditingCollabCursor','_docTransformSelectionsService','releaseFormulaLimitUrl','DocSelectionManagerService','with','@@toPrimitive\x20must\x20return\x20a\x20primitive\x20value.','_updateLocalCursor','IRenderManagerService','toString','top','[Unhandled\x20Rejection]:\x20','_logService','next','_lastPointer','setOffsetY','backgroundColor','UniverRpc','InsertRowCommandId','getOffsetConfig','AWAITING_WITH_PENDING','values','TEXT_RANGE_LAYER_INDEX','_collabCursorState$','unitId','params','onRendered','_dataLoaderService','rgba(','_localStorageService','_collabSessionService','button','_cursorInfo$','univer-inline-flex\x20univer-items-center\x20univer-justify-center','SessionStatus','FETCH_MISS','collaboration-client-ui.session.connection-failed','undoState','NodePositionConvertToCursor','arc','font','_currentUsage','onPointerLeave$','_docSyncEditingCollabCursorService','getAllUnitsForType','forEach','useDependency','max','5UYDJSQ','univer-text-xl\x20univer-transition-colors\x20univer-duration-200','attrs','enableFrontendLog','getConfig','_hovered','registerDependencies','_onCursorDelete','uni.network.url-service','getCurrentTypeOfUnit$','shift','_online','_roomMembers$','saveOfflineData','No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.','220OhsHlZ','CollaborationController','SetSelectionsOperation','@univerjs/engine-formula','redoState','InsertRangeMoveRightCommandId','Error','_createSocketURL','getMember','getFocusedUnit','fillStyle','LocaleService','sessionTicket','_disabled','from','sheetId','#4f46e5','SetWorksheetActivateCommand','_drawAnchor','/universer-api/license/formula/limit/done','onPointerEnter$','Optional','post','RevisionService','getItem','?taskId=','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','_startDocCollabCursor','@univerjs/engine-render','collaboration-client-ui.collabStatus.conflict','dark:focus:!univer-ring-offset-gray-800','RefRangeService','displayName','setActiveRange','stroke','UniverIcon','collaboration-client-ui.session.will-retry','debounceTime','restore','DependentOn','collabCursorState$','replaceState','@univerjs/drawing','spin','svg','FormulaExecuteStageType','http://www.w3.org/2000/svg','_applyCommand','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY','getMemberID','decorate','engine','Warning','makeDirty','UniverDocsUi','setUndoRedoMutationParamsCache','ISocketService','RemoveColCommandId','highlight','mutations','HEADER_MENU','_docClipboardService','_getSessionTicket','pluginName','getSkeleton','debounce','function','_clearPolling','unitID','saveImage','key','OTHER_CLIENTS_EDITING','transformIMECache','mergeOverrideWithDependencies','requireSession','getActiveRange','runOnServer','disposeUnit','_removeClearOtherTimer','getAncestorScale','strokeWidth','_initUnhandledRejectionListener','UniverCollaborationClientUIPlugin','transformSelections','resolve','createInstance','_colorIndex','_initEvent','52257yOwcBm','_startSheetCollabCursor','rxjs','yellow.400','collab-text-anchor-','_anchorDot','_offsetY','_initStatusListener','1300216UdQAJp','measureText','beginPath','registerRefRange','_refRangeService','OTHER_CLIENT_EDITING','useRef','_saveCache','getUnitId','_initResize','getOwnPropertyDescriptor','_status$','@univerjs/network','@univerjs-pro/collaboration-client','addEventListener','_collaborationController','_getMergeRange','_onCursorUpdate','_updateSubUnitFromURLParams','_registerRenderDependencies','UnitStatus','saveTaskMap','_updateCollabCursors','backupOfflineData','handleIRemoveCol','collaboration-client-ui.collabStatus.fetchMiss','registerRenderModule','showText','toRgbString','rgb','takeUntil','span','_unitStatus','split','_injector','\x20at\x20','_send','DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','_showGuardMessage','left','addHandlerCallback','subunit','isTransformMutationFailure','_slideDrawingStateService','text','getLocalCacheKey','onCommandExecuted','subscribe','InsertRangeMoveDownCommandId','map','univer-text-orange-500','focus:univer-outline-none\x20focus:univer-ring-2\x20focus:univer-ring-primary-500\x20focus:univer-ring-offset-2','UniverProSlidesUi','min','_maxFormulaLimit','_renderManagerService','_eventUnsubscribe','_init','fillText','state$','_isApplyingOverlays','WebURLService','removeEventListener','addObjects','IMessageService','url(#$1','defs','packageName','_selfUnitIDs','disableLocalCache','CollaborationSocketService','CollaborationUIEventService','BehaviorSubject','_textBubble','_assignedColors','_memberService','lineno','_uploadLog','_initWindowErrorListener','mapTo','_sheetSkeletonManagerService','DocIMEInputManagerService','getSheetBySheetId','cursorInfo','NO_OTHER_CLIENTS_EDITING','_cachedData','DataLoaderService','_refreshCollabCursors','getCoordByCell','_startCalculationLimit','_stopBlinking','_getScale','collaboration-client-ui.session.collaboration-timeout','_localeService','filename','preventDefault','handleInsertRangeMoveDown','setInterval','complete','bind','setLineDash','length','IURLService','static','0.2)','handleDeleteRangeMoveLeft','SetTextSelectionsOperation','colorClass','getUniverSheetInstance','runRefRangeMutations','addClipboardHook','width','clearInterval','getUnitStatus$','startColumn','2322jqtxDS','shareReplay','getActiveSheet','pageManager','UniverProCollaboration','unload','M0\x200H16V16H0z','_getLighterColor','Module','on-line-icon','has','source','_getFormulaLimitStatus','event$','Inject','location','getUnit','getCollabEntity$','div','react','getStateCache','bottom','CLOSE_ROOM','SetFormulaCalculationStartMutation','hide','_uiPartsService','sessionStatus$','removeObjects','RichTextEditingMutation','pipe','univer-border-none\x20univer-bg-transparent','univer-h-8\x20univer-w-8\x20univer-rounded-lg','transform','send','distinctUntilChanged','UniverUi','_backgroundColor','currentColor','createIdentifier','Subject','_draw','_removeCollabCursors','getActiveSlide','UNIVER_DOC','drawWith','isActive','toISOString','ranges','ErrorCode','enableLocalCache','all','_context','MessageType','moveTo','_docTransformStateCacheService','getCollabCursors$','@univerjs/protocol','searchParams','subUnitId','@univerjs/sheets-ui','VIEW_MAIN','disposeWithMe','getValue','useObservable','object','setParam','use','collaboration-client-ui.collaboration.closeRoom','rxjs/operators','blue.400','sheetID','slide-element-selection','JOIN_ROOM_FAILED','ISlideDrawingStateService','_httpService','tooltipKey','getSnapshot','i18nKey','getColorFromTheme','_session','UniverDesign','IImageIoService','merge','UniverEngineFormula','_registerDependencies','/universer-api/license/formula/limit/status','UNIVER_SHEET','...','Loading','green.600','getObject','toDisposable','@univerjs-pro/collaboration-client-ui','collaboration-client-ui.collabStatus.offline','IUIPartsService','stageInfo','_cursors','_initUserListener',',\x200.2)','_monkeyPatchLogService','_clearOtherTimers','_scheduleSaving','activeSheet$','size','DocCollaborationEntity','name','column','isInternalEditorID','getSheetObject','TEXT','onTransformChange$','_revisionService','_colorAssignService','PENDING','none','stack','COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY','1688337BGuYzY','eventID','urlChange$','lineTo','_collabCursorController','Rect','getTypeOfUnitDisposed$','@univerjs/design','DocSkeletonManagerService','doc.mutation.rich-text-editing','isArray','@univerjs/docs-ui','limitInfo','_instanceService','Disposable','COLORS','_scheduleClearOtherTimer','bold\x2013px\x20Source\x20Han\x20Sans\x20CN','clear','reconnect','lineWidth','1em','getMergeData','ICommandService','path','_cursor','getFormulaLimitStatusUrl','loadOfflineData','_themeService','getObjectIncludeInGroup','FromArray','_configService','CollaborationUIEventId','handleInsertCol','currentTheme$','defineProperty','startFormulaLimitUrl','DesktopCollaborationStatusDisplayController','INotificationService','unsubscribe','offsetY','triggerDblclick','RxDisposable','focused$','_beforeCloseService','executeCommand','children','_docSkeletonManagerService','IUniverInstanceService','closePath','_transformHistoryAndStateStack','jiqing.500','getSheetId','_getSceneObjectByKey','No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','loadUnit','show','univer-flex\x20univer-items-center\x20univer-justify-center','addObject','/universer-api/license/formula/limit/start','find','RegularPolygon','Tooltip','set','_scheduleRender','string','_docTransformIMECacheService','subscribeEvent','xlink:href','indicator','context','Failed','default','#FFF','status','MoveRangeCommandId','#0B9EFB','currentSkeleton$','setTimeout','assign','replaceDocRanges','then','/universer-api/frontend/logs','DocStateChangeManagerService','_hasFormulaInDirtyRanges','getVpScrollXYInfoByPosToVp','_shapes','isTransformMutationsWithChangesetSuccess','save','transformRemoteChangeset','_startSlideCollabCursor','transformByState','collaboration-client-ui.collabStatus.syncing','jsx','/run/','UPDATE_CURSOR','roomMembers','Unknown\x20user','ISnapshotServerService','UNIVER_SLIDE','removeParam','Rectangle','_collaborationSessionService','_hover','fromEventSubject','removeObject','_onRefRangeChange','get','CollaborationSessionService','_localCacheService','UniverCore','row','_blinkTimer','_labelPosition','UniverDrawing','call','type','cursorInfo$','IDocClipboardService','ONLINE','url(#off-line-icon_clip0_910_343)','unshift','true','range','off-line-icon_clip0_910_343','activeSlideId$','RemoteUniscriptService','black','_initCommandInterceptor','deepClone','createSocket','evenodd','_heartbeatTimer','UniverProCollaborationClient','createElement','DOC_RANGE_TYPE','clipPath','evented','executionId','univer-appearance-none','focusedId','_hideTimer','SUBMIT_CHANGESET_TIMEOUT','IConfigService','setItem','runId','loading-multi-icon','_handleLeaveEvent','getRenderById','UniverSheets','origin','DeleteRangeMoveLeftCommandId','getDocRanges','OFFLINE','fill','enableDocumentCollaborationUI','includes','SHEET_VIEWPORT_KEY','endRow','application/json','_releaseCalculationLimit','height','IRemoteInstanceService','Workbook','forwardRef','collaboration-client-ui.collaboration.offline-data-not-saved','asObservable','_checkAndWaitForCalculationPermission','_unitOnClients','_id','_blinkIntervalTimer','history','unhandledrejection','transformMutationsWithChangeset','_cursorShapes','_notificationService','white','_syncEditingCollabCursorService','_setupBeforeClosingHandler','maxFormulaLimit','_renderScheduled','getCurrentSkeleton','code','@univerjs/docs','2510502LqJAme','clearTimeout','RECT','m1Prime','collaboration-client-ui.collabClient.tooltip.reconnect','handleInsertRow','getRelativeToViewportCoord','ITransformService','filter','UniverInstanceType','_render','imageSourceType','CollaborationStatus','ILocalCacheService','amd','SheetSkeletonManagerService','LOCAL_CACHE_INTERVAL_KEY','_setFormulaLimitStatus','univerjs-icon\x20univerjs-icon-','MemberService','transformMutation','_showText','CollaborationEvent','_taskIds','collab-rect-range-','getRealBound','_checkCalculationAvailable','init','red.300','_pollingInterval','slide-collab-cursor-','[CollaborationDataLoaderController]','setConfig','parseInt','fromEvent','UniverCollaborationClientPlugin','entityInit$','add','clickable','getTypeOfUnitAdded$','selection','selectedIds','getColor','_lastResponseTimestamp','mask','combineLatest','_messageService','ILogService',':backup:','_color','LoadingMultiIcon','_highlightSecond','isEditing','dispose','_range','onMouseMove','getCellMatrix','roomMembers$','endColumn','addObject$','_transformService','hovered','univer-transition-all\x20univer-duration-200','_isBlinkVisible','message','exports','buildDrawingOKey','Enter','editingUnit','join','WebBrowserSingleActiveUnitService','_handleHeartbeatEvent','_transformUndoRedoStack','getCurrentUnitOfType','handleInsertRangeMoveRight','clsx','Injector','Shape','collaboration-client-ui.permission.title','getParam','highlightSecond','AWAITING','error','_ensureSubject','replace','UniverProCollaborationClientUi','collaboration-client-ui.conflict.content','CollaborationDataLoaderController','_toggleOffline','_handleJoinEvent','_scene','stringify','override','entries','setAlpha','substring','ColorKit','startRow','pulse','_getObjectBounds','useCallback','_docStateChangeManagerService','round','_scheduleHeartbeat','_pointerMoveDisposable','_initDependencies','onPointerMove$','dispose$','univer-text-blue-500','labelPosition','strokeStyle','_memberID','_drawTextRange','updateOfflineData','_collaborationUIEventService','ThemeService','_config','findNodePositionByCharIndex','UniverDocs','BuiltInUIPart','26BiCMZy','_latestCursors','_imageIoService','getCurrentSelections','iterator','getUndoRedoMutationParamsCache','Vector2','START_CALCULATION','slice','memberID','prototype','data','_entityInit$','assignAColorForMemberID','react/jsx-runtime','rgba','_setupSubUnitSync','newValue','result','body','DEFAULT_WS_SESSION_TICKET_URL','_getSheetObject','React','unit','href','search','_startBlinking','_handleHover','_toggleOnline','tag','SheetCollabCursorShape','_univerInstanceService','idSuffix','exhaustSavingTask','CanceledError','symbol','1.0.0-alpha.2','colorChannel1','EffectRefRangId','UNIVER_COLLABORATION_CLIENT_WEB_PLUGIN','textRanges','_highlight','@univerjs/ui','_name','generateRandomId','pushState','_entities','_updateURLWithCurrentState','setStateCache','SOCKET_FAILED','polite','kind','collaboration-client-ui.formula.calculation.waiting','SUCCESS','_handleEvent','0\x200\x2017\x2016','_urlService','url(#on-line-icon_clip0_910_349)','collaboration-client-ui.formula.calculation.started','current','push','_saveTaskMap','_anchor','startsWith','isFormulaId','OnLineIcon','color','m2Prime','getRangePointData','totalFormulasToCalculate','SYNCED','IBeforeCloseService','_commandService','popstate','Success','catch','collaboration-client-ui.conflict.title','USERS_LEAVE','setShapeProps','now'];_0x33fd=function(){return _0x4ffeb1;};return _0x33fd();}
|
|
1
|
+
function _0x2ff8(_0x7a030a,_0x1a59c0){_0x7a030a=_0x7a030a-0x188;const _0xbcae55=_0xbcae();let _0x2ff868=_0xbcae55[_0x7a030a];return _0x2ff868;}(function(_0x23d0a6,_0x434222){const _0x3dc0ae=_0x2ff8,_0xd24b8b=_0x23d0a6();while(!![]){try{const _0x216b7e=-parseInt(_0x3dc0ae(0x1c8))/0x1*(parseInt(_0x3dc0ae(0x300))/0x2)+parseInt(_0x3dc0ae(0x4b4))/0x3+-parseInt(_0x3dc0ae(0x3ba))/0x4+parseInt(_0x3dc0ae(0x23b))/0x5*(parseInt(_0x3dc0ae(0x422))/0x6)+-parseInt(_0x3dc0ae(0x3e0))/0x7*(-parseInt(_0x3dc0ae(0x302))/0x8)+-parseInt(_0x3dc0ae(0x1d2))/0x9*(parseInt(_0x3dc0ae(0x1ad))/0xa)+parseInt(_0x3dc0ae(0x1ba))/0xb*(parseInt(_0x3dc0ae(0x420))/0xc);if(_0x216b7e===_0x434222)break;else _0xd24b8b['push'](_0xd24b8b['shift']());}catch(_0x5666e1){_0xd24b8b['push'](_0xd24b8b['shift']());}}}(_0xbcae,0xaca7e),function(_0x2f0678,_0x416ce1){const _0x2717b6=_0x2ff8;typeof exports==_0x2717b6(0x224)&&typeof module<'u'?_0x416ce1(exports,require('@univerjs-pro/boards-ui'),require('@univerjs-pro/collaboration-client'),require('@univerjs/core'),require('@univerjs/ui'),require('rxjs'),require('rxjs/operators'),require('@univerjs/design'),require('react'),require('react/jsx-runtime'),require('@univerjs/engine-render'),require('@univerjs/network'),require('@univerjs/docs-ui'),require('@univerjs-pro/collaboration'),require('@univerjs/docs'),require('@univerjs/engine-formula'),require('@univerjs/sheets'),require('@univerjs-pro/slides-ui'),require('@univerjs/sheets-ui'),require('@univerjs/rpc'),require('@univerjs/protocol')):typeof define==_0x2717b6(0x22d)&&define[_0x2717b6(0x18e)]?define([_0x2717b6(0x481),'@univerjs-pro/boards-ui',_0x2717b6(0x34e),'@univerjs/core',_0x2717b6(0x231),_0x2717b6(0x4b9),_0x2717b6(0x1e6),_0x2717b6(0x394),_0x2717b6(0x494),_0x2717b6(0x408),'@univerjs/engine-render','@univerjs/network',_0x2717b6(0x214),_0x2717b6(0x25b),_0x2717b6(0x20c),_0x2717b6(0x4e9),'@univerjs/sheets',_0x2717b6(0x294),_0x2717b6(0x290),'@univerjs/rpc',_0x2717b6(0x459)],_0x416ce1):(_0x2f0678=typeof globalThis<'u'?globalThis:_0x2f0678||self,_0x416ce1(_0x2f0678[_0x2717b6(0x495)]={},_0x2f0678[_0x2717b6(0x312)],_0x2f0678['UniverProCollaborationClient'],_0x2f0678['UniverCore'],_0x2f0678['UniverUi'],_0x2f0678['rxjs'],_0x2f0678[_0x2717b6(0x4b9)]['operators'],_0x2f0678[_0x2717b6(0x4ea)],_0x2f0678[_0x2717b6(0x4c4)],_0x2f0678['React'],_0x2f0678[_0x2717b6(0x2b7)],_0x2f0678[_0x2717b6(0x3d8)],_0x2f0678[_0x2717b6(0x439)],_0x2f0678[_0x2717b6(0x45e)],_0x2f0678['UniverDocs'],_0x2f0678[_0x2717b6(0x46b)],_0x2f0678[_0x2717b6(0x315)],_0x2f0678[_0x2717b6(0x1e4)],_0x2f0678[_0x2717b6(0x257)],_0x2f0678[_0x2717b6(0x3e4)],_0x2f0678['UniverProtocol']));}(this,function(_0x360d56,_0x5a835b,_0x39299b,_0x54099e,_0x3a2e6e,_0x541406,_0x51a8f2,_0x230545,_0x41f98f,_0x2ee138,_0x36fb2d,_0x5a1033,_0xc39b36,_0x37a654,_0x2433e3,_0x29b436,_0x13da0d,_0x339c27,_0x189f64,_0xbfbef5,_0x19a70a){const _0x529b57=_0x2ff8;Object[_0x529b57(0x2bf)](_0x360d56,Symbol[_0x529b57(0x1b5)],{'value':_0x529b57(0x1c5)});function _0x3d00fd({ref:_0x1c11e1,..._0x6b14be}){const _0x2267b7=_0x529b57;let {icon:_0x1ebce3,id:_0x15d4f6,className:_0x22da69,extend:_0x50d961,..._0x3c6633}=_0x6b14be,_0x245008=(_0x2267b7(0x3be)+_0x15d4f6+'\x20'+(_0x22da69||''))[_0x2267b7(0x2ac)](),_0x1a8b01=(0x0,_0x41f98f[_0x2267b7(0x280)])('_'+_0x1cca49());return _0x361d1e(_0x1ebce3,''+_0x15d4f6,{'defIds':_0x1ebce3[_0x2267b7(0x344)],'idSuffix':_0x1a8b01[_0x2267b7(0x38f)]},{'ref':_0x1c11e1,'className':_0x245008,..._0x3c6633},_0x50d961);}function _0x361d1e(_0x2019a5,_0x46847c,_0x1b1d97,_0x5eb222,_0x3efe56){const _0x5ea4de=_0x529b57;return(0x0,_0x41f98f[_0x5ea4de(0x39a)])(_0x2019a5['tag'],{'key':_0x46847c,..._0x80e8e9(_0x2019a5,_0x1b1d97,_0x3efe56),..._0x5eb222},(_0x1b582f(_0x2019a5,_0x1b1d97)[_0x5ea4de(0x277)]||[])[_0x5ea4de(0x4d9)]((_0x3c1a25,_0x537987)=>_0x361d1e(_0x3c1a25,_0x46847c+'-'+_0x2019a5[_0x5ea4de(0x18d)]+'-'+_0x537987,_0x1b1d97,void 0x0,_0x3efe56)));}function _0x80e8e9(_0x3cdebd,_0xd7ec5c,_0x65dd6e){const _0x41ad89=_0x529b57;let _0x52977f={..._0x3cdebd[_0x41ad89(0x441)]};_0x65dd6e!=null&&_0x65dd6e['colorChannel1']&&_0x52977f['fill']===_0x41ad89(0x493)&&(_0x52977f[_0x41ad89(0x386)]=_0x65dd6e[_0x41ad89(0x493)]),_0x65dd6e!=null&&_0x65dd6e[_0x41ad89(0x493)]&&_0x52977f['stroke']===_0x41ad89(0x493)&&(_0x52977f[_0x41ad89(0x2b4)]=_0x65dd6e['colorChannel1']),_0x3cdebd['tag']===_0x41ad89(0x223)&&_0x52977f['id']&&(_0x52977f['id']+=_0xd7ec5c['idSuffix']),Object[_0x41ad89(0x27a)](_0x52977f)[_0x41ad89(0x27d)](([_0x1f84e5,_0x4e5cf5])=>{const _0x104b80=_0x41ad89;_0x1f84e5===_0x104b80(0x223)&&typeof _0x4e5cf5==_0x104b80(0x49d)&&(_0x52977f[_0x1f84e5]=_0x4e5cf5[_0x104b80(0x201)](/url\(#(.*)\)/,_0x104b80(0x21d)+_0xd7ec5c['idSuffix']+')'));});let {defIds:_0x33fac9}=_0xd7ec5c;return!_0x33fac9||_0x33fac9['length']===0x0?_0x52977f:(_0x3cdebd[_0x41ad89(0x18d)]===_0x41ad89(0x2dc)&&_0x52977f['xlink:href']&&(_0x52977f[_0x41ad89(0x42f)]+=_0xd7ec5c[_0x41ad89(0x4b1)]),Object[_0x41ad89(0x27a)](_0x52977f)[_0x41ad89(0x27d)](([_0x110c0b,_0x4d43e1])=>{const _0x3ffb8c=_0x41ad89;typeof _0x4d43e1==_0x3ffb8c(0x49d)&&(_0x52977f[_0x110c0b]=_0x4d43e1['replace'](/url\(#(.*)\)/,'url(#$1'+_0xd7ec5c[_0x3ffb8c(0x4b1)]+')'));}),_0x52977f);}function _0x1b582f(_0x19088d,_0x4dfb72){const _0x53b5e8=_0x529b57;var _0x2d893d;let {defIds:_0x1f541d}=_0x4dfb72;return!_0x1f541d||_0x1f541d[_0x53b5e8(0x354)]===0x0?_0x19088d:_0x19088d[_0x53b5e8(0x18d)]===_0x53b5e8(0x2ba)&&(_0x2d893d=_0x19088d[_0x53b5e8(0x277)])!=null&&_0x2d893d[_0x53b5e8(0x354)]?{..._0x19088d,'children':_0x19088d['children']['map'](_0x2df540=>typeof _0x2df540['attrs']['id']==_0x53b5e8(0x49d)&&_0x1f541d&&_0x1f541d[_0x53b5e8(0x2df)](_0x2df540[_0x53b5e8(0x441)]['id'])?{..._0x2df540,'attrs':{..._0x2df540[_0x53b5e8(0x441)],'id':_0x2df540[_0x53b5e8(0x441)]['id']+_0x4dfb72[_0x53b5e8(0x4b1)]}}:_0x2df540)}:_0x19088d;}function _0x1cca49(){const _0x4da9b5=_0x529b57;return Math[_0x4da9b5(0x489)]()[_0x4da9b5(0x436)](0x24)[_0x4da9b5(0x2d5)](0x2,0x8);}_0x3d00fd[_0x529b57(0x2b0)]=_0x529b57(0x4bb);let _0xea492d={'tag':_0x529b57(0x411),'attrs':{'xmlns':_0x529b57(0x1bf),'fill':_0x529b57(0x407),'viewBox':_0x529b57(0x466),'width':_0x529b57(0x42e),'height':_0x529b57(0x42e)},'children':[{'tag':'g','attrs':{'clipPath':_0x529b57(0x4e5)},'children':[{'tag':_0x529b57(0x350),'attrs':{'stroke':_0x529b57(0x27b),'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':_0x529b57(0x2bd),'strokeLinejoin':_0x529b57(0x2bd),'strokeWidth':1.2}}]},{'tag':_0x529b57(0x2ba),'attrs':{},'children':[{'tag':_0x529b57(0x421),'attrs':{'id':_0x529b57(0x2e4)},'children':[{'tag':'path','attrs':{'fill':_0x529b57(0x1b1),'d':_0x529b57(0x32c)}}]}]}],'defIds':['off-line-icon_clip0_910_343']},_0x1c47f0=(0x0,_0x41f98f['forwardRef'])(function(_0x467143,_0x3ca9bc){const _0x3fc7b5=_0x529b57;return(0x0,_0x41f98f[_0x3fc7b5(0x39a)])(_0x3d00fd,Object[_0x3fc7b5(0x29f)]({},_0x467143,{'id':_0x3fc7b5(0x303),'ref':_0x3ca9bc,'icon':_0xea492d}));});_0x1c47f0['displayName']=_0x529b57(0x1ac);let _0x2b8cc7={'tag':_0x529b57(0x411),'attrs':{'xmlns':_0x529b57(0x1bf),'fill':_0x529b57(0x407),'viewBox':_0x529b57(0x334),'width':_0x529b57(0x42e),'height':_0x529b57(0x42e)},'children':[{'tag':'g','attrs':{'clipPath':'url(#on-line-icon_clip0_910_349)'},'children':[{'tag':_0x529b57(0x350),'attrs':{'stroke':'currentColor','d':'M4.5865\x2011.6499C3.36983\x2011.6499\x201.6665\x2011.1024\x201.6665\x208.9124C1.6665\x206.3574\x204.2215\x205.8099\x204.9515\x205.8099C5.3165\x204.5324\x206.0465\x202.5249\x208.9665\x202.5249C11.5215\x202.5249\x2012.6165\x203.9849\x2012.9815\x205.2624C12.9815\x205.2624\x2016.2665\x205.6274\x2016.2665\x208.7299C16.2665\x2010.9199\x2014.8065\x2011.6499\x2013.3465\x2011.6499M6.7767\x2011.6497L8.9667\x2013.4747L11.8867\x209.82466','strokeLinecap':_0x529b57(0x2bd),'strokeLinejoin':'round','strokeWidth':1.2}}]},{'tag':_0x529b57(0x2ba),'attrs':{},'children':[{'tag':_0x529b57(0x421),'attrs':{'id':_0x529b57(0x387)},'children':[{'tag':_0x529b57(0x350),'attrs':{'fill':_0x529b57(0x1b1),'d':'M0\x200H16V16H0z','transform':'translate(.97)'}}]}]}],'defIds':[_0x529b57(0x387)]},_0xdc4f99=(0x0,_0x41f98f[_0x529b57(0x34d)])(function(_0xd68585,_0xbe57f6){const _0x4f5e86=_0x529b57;return(0x0,_0x41f98f['createElement'])(_0x3d00fd,Object[_0x4f5e86(0x29f)]({},_0xd68585,{'id':'on-line-icon','ref':_0xbe57f6,'icon':_0x2b8cc7}));});_0xdc4f99['displayName']=_0x529b57(0x474);let _0x4c1b73={'tag':_0x529b57(0x411),'attrs':{'xmlns':_0x529b57(0x1bf),'fill':_0x529b57(0x407),'viewBox':_0x529b57(0x466),'width':_0x529b57(0x42e),'height':_0x529b57(0x42e)},'children':[{'tag':'path','attrs':{'fill':_0x529b57(0x27b),'d':_0x529b57(0x3f8),'fillRule':_0x529b57(0x2a0),'clipRule':_0x529b57(0x2a0)}}]},_0x2a0dff=(0x0,_0x41f98f[_0x529b57(0x34d)])(function(_0x4465dd,_0xbaab00){const _0xae3d0=_0x529b57;return(0x0,_0x41f98f[_0xae3d0(0x39a)])(_0x3d00fd,Object[_0xae3d0(0x29f)]({},_0x4465dd,{'id':_0xae3d0(0x461),'ref':_0xbaab00,'icon':_0x4c1b73}));});_0x2a0dff['displayName']=_0x529b57(0x1ab);let _0x34fdb7={'tag':_0x529b57(0x411),'attrs':{'xmlns':_0x529b57(0x1bf),'fill':_0x529b57(0x407),'viewBox':_0x529b57(0x466),'width':_0x529b57(0x42e),'height':_0x529b57(0x42e)},'children':[{'tag':_0x529b57(0x350),'attrs':{'fill':'#0B9EFB','d':_0x529b57(0x1f6),'fillOpacity':0.2,'fillRule':_0x529b57(0x2a0),'clipRule':'evenodd'}},{'tag':_0x529b57(0x350),'attrs':{'fill':_0x529b57(0x1f9),'d':_0x529b57(0x1f7),'fillRule':_0x529b57(0x2a0),'clipRule':_0x529b57(0x2a0)}}]},_0x1787db=(0x0,_0x41f98f[_0x529b57(0x34d)])(function(_0x5cc019,_0x542be7){const _0x62f75b=_0x529b57;return(0x0,_0x41f98f[_0x62f75b(0x39a)])(_0x3d00fd,Object[_0x62f75b(0x29f)]({},_0x5cc019,{'id':_0x62f75b(0x1b2),'ref':_0x542be7,'icon':_0x34fdb7}));});_0x1787db[_0x529b57(0x2b0)]=_0x529b57(0x3b4);function _0x1ac24a(_0x85bb77){const _0x5f3afc=_0x529b57;switch(_0x85bb77){case _0x39299b['CollaborationStatus'][_0x5f3afc(0x468)]:return{'icon':(0x0,_0x2ee138[_0x5f3afc(0x1d3)])(_0x1c47f0,{}),'colorClass':_0x5f3afc(0x210),'i18nKey':_0x5f3afc(0x1e2),'tooltipKey':_0x5f3afc(0x465),'clickable':!0x0,'indicator':_0x5f3afc(0x3de)};case _0x39299b['CollaborationStatus'][_0x5f3afc(0x2bc)]:return{'icon':(0x0,_0x2ee138[_0x5f3afc(0x1d3)])(_0x1c47f0,{}),'colorClass':_0x5f3afc(0x462),'i18nKey':'collaboration-client-ui.collabStatus.conflict','clickable':!0x1,'indicator':_0x5f3afc(0x3de)};case _0x39299b[_0x5f3afc(0x203)][_0x5f3afc(0x3a0)]:return{'icon':(0x0,_0x2ee138[_0x5f3afc(0x1d3)])(_0x1787db,{}),'colorClass':'univer-text-blue-500','i18nKey':'collaboration-client-ui.collabStatus.fetchMiss','clickable':!0x1,'indicator':_0x5f3afc(0x204)};case _0x39299b[_0x5f3afc(0x203)][_0x5f3afc(0x4de)]:return{'icon':(0x0,_0x2ee138[_0x5f3afc(0x1d3)])(_0xdc4f99,{}),'colorClass':'univer-text-gray-400','i18nKey':_0x5f3afc(0x410),'clickable':!0x1,'indicator':_0x5f3afc(0x3de)};case _0x39299b[_0x5f3afc(0x203)]['AWAITING']:case _0x39299b[_0x5f3afc(0x203)][_0x5f3afc(0x348)]:return{'icon':(0x0,_0x2ee138[_0x5f3afc(0x1d3)])(_0x1787db,{}),'colorClass':_0x5f3afc(0x32b),'i18nKey':'collaboration-client-ui.collabStatus.syncing','clickable':!0x1,'indicator':'spin'};case _0x39299b[_0x5f3afc(0x203)]['PENDING']:return{'icon':(0x0,_0x2ee138[_0x5f3afc(0x1d3)])(_0x1787db,{}),'colorClass':'univer-text-blue-500','i18nKey':'collaboration-client-ui.collabStatus.syncing','clickable':!0x1,'indicator':_0x5f3afc(0x204)};case _0x39299b[_0x5f3afc(0x203)]['SYNCED']:return{'icon':(0x0,_0x2ee138[_0x5f3afc(0x1d3)])(_0xdc4f99,{}),'colorClass':'univer-text-green-500','i18nKey':_0x5f3afc(0x291),'clickable':!0x1,'indicator':_0x5f3afc(0x3de)};}}function _0x4ee807(_0x41eaf6){const _0x52ad5d=_0x529b57;let {status$:_0x18e78a}=_0x41eaf6,_0xd4c018=(0x0,_0x3a2e6e[_0x52ad5d(0x2b8)])(_0x18e78a,_0x39299b[_0x52ad5d(0x203)][_0x52ad5d(0x4de)]),_0x1efd97=(0x0,_0x3a2e6e[_0x52ad5d(0x41c)])(_0x54099e[_0x52ad5d(0x381)]),_0x502361=(0x0,_0x3a2e6e['useDependency'])(_0x39299b[_0x52ad5d(0x3a7)]),_0x2895ec=(0x0,_0x41f98f[_0x52ad5d(0x3b8)])(()=>_0x1ac24a(_0xd4c018),[_0xd4c018]),_0x3b701a=_0xd4c018!==_0x39299b[_0x52ad5d(0x203)][_0x52ad5d(0x468)],_0xc2c484=_0x1efd97['t'](_0x2895ec[_0x52ad5d(0x1bc)]),_0x3cfeeb=_0x2895ec[_0x52ad5d(0x22f)]?_0x1efd97['t'](_0x2895ec[_0x52ad5d(0x22f)]):_0xc2c484,_0x1f2fae=(0x0,_0x41f98f[_0x52ad5d(0x4c9)])(()=>{const _0xfcd13e=_0x52ad5d;_0x3b701a||_0x502361[_0xfcd13e(0x221)]();},[_0x3b701a,_0x502361]),_0x115412=(0x0,_0x41f98f[_0x52ad5d(0x4c9)])(_0x4a5ec3=>{const _0x2c5f9f=_0x52ad5d;!_0x3b701a&&(_0x4a5ec3['key']===_0x2c5f9f(0x478)||_0x4a5ec3[_0x2c5f9f(0x332)]==='\x20')&&(_0x4a5ec3[_0x2c5f9f(0x455)](),_0x502361['reconnect']());},[_0x3b701a,_0x502361]),_0x3ab703=(0x0,_0x2ee138['jsx'])(_0x52ad5d(0x3e9),{'className':(0x0,_0x230545['clsx'])('univer-flex\x20univer-items-center\x20univer-justify-center','univer-text-xl\x20univer-transition-colors\x20univer-duration-200',_0x2895ec[_0x52ad5d(0x2f9)],{'univer-animate-spin':_0x2895ec[_0x52ad5d(0x4d6)]===_0x52ad5d(0x204),'univer-animate-pulse':_0x2895ec[_0x52ad5d(0x4d6)]==='pulse'}),'aria-hidden':_0x52ad5d(0x433),'children':_0x2895ec[_0x52ad5d(0x2fa)]}),_0x325fdd=(0x0,_0x2ee138['jsx'])(_0x52ad5d(0x3e9),{'className':(0x0,_0x230545[_0x52ad5d(0x26c)])(_0x52ad5d(0x2f7),_0x52ad5d(0x2d2),_0x52ad5d(0x3d9),_0x52ad5d(0x426),_0x52ad5d(0x3da),{'univer-cursor-pointer\x20hover:univer-bg-gray-100\x20dark:hover:!univer-bg-gray-700':_0x2895ec[_0x52ad5d(0x4a6)],'univer-cursor-default':!_0x2895ec[_0x52ad5d(0x4a6)]}),'children':_0x3ab703});return _0x2895ec[_0x52ad5d(0x4a6)]?(0x0,_0x2ee138[_0x52ad5d(0x1d3)])(_0x230545[_0x52ad5d(0x1dc)],{'title':_0x3cfeeb,'placement':_0x52ad5d(0x376),'children':(0x0,_0x2ee138['jsx'])(_0x52ad5d(0x296),{'type':'button','onClick':_0x1f2fae,'onKeyDown':_0x115412,'className':(0x0,_0x230545[_0x52ad5d(0x26c)])(_0x52ad5d(0x358),_0x52ad5d(0x492),_0x52ad5d(0x40b),_0x52ad5d(0x369)),'aria-label':_0xc2c484+_0x52ad5d(0x385)+_0x3cfeeb,'role':_0x52ad5d(0x28d),'aria-live':_0x52ad5d(0x18c),'aria-atomic':_0x52ad5d(0x433),'children':_0x325fdd})}):(0x0,_0x2ee138[_0x52ad5d(0x1d3)])(_0x230545[_0x52ad5d(0x1dc)],{'title':_0x3cfeeb,'placement':_0x52ad5d(0x376),'children':(0x0,_0x2ee138[_0x52ad5d(0x1d3)])('div',{'className':(0x0,_0x230545[_0x52ad5d(0x26c)])(_0x52ad5d(0x358),'univer-border-none\x20univer-bg-transparent','univer-m-0\x20univer-p-0'),'aria-label':_0xc2c484,'role':_0x52ad5d(0x28d),'aria-live':'polite','aria-atomic':'true','children':_0x325fdd})});}function _0x3ba748(_0x58b338){'@babel/helpers - typeof';const _0xd6b647=_0x529b57;return _0x3ba748=typeof Symbol==_0xd6b647(0x22d)&&typeof Symbol[_0xd6b647(0x487)]==_0xd6b647(0x3b0)?function(_0x38a596){return typeof _0x38a596;}:function(_0x27444d){const _0x3f6cd0=_0xd6b647;return _0x27444d&&typeof Symbol==_0x3f6cd0(0x22d)&&_0x27444d[_0x3f6cd0(0x1d8)]===Symbol&&_0x27444d!==Symbol[_0x3f6cd0(0x2d6)]?'symbol':typeof _0x27444d;},_0x3ba748(_0x58b338);}function _0x573a88(_0x4d68bc,_0x1ee563){const _0x12bd6e=_0x529b57;if(_0x3ba748(_0x4d68bc)!=_0x12bd6e(0x224)||!_0x4d68bc)return _0x4d68bc;var _0x2e6552=_0x4d68bc[Symbol[_0x12bd6e(0x49e)]];if(_0x2e6552!==void 0x0){var _0x41671c=_0x2e6552[_0x12bd6e(0x2f2)](_0x4d68bc,_0x1ee563||'default');if(_0x3ba748(_0x41671c)!=_0x12bd6e(0x224))return _0x41671c;throw TypeError(_0x12bd6e(0x447));}return(_0x1ee563==='string'?String:Number)(_0x4d68bc);}function _0x40eace(_0x1644b3){var _0x1f8075=_0x573a88(_0x1644b3,'string');return _0x3ba748(_0x1f8075)=='symbol'?_0x1f8075:_0x1f8075+'';}function _0x77e721(_0x24dec7,_0x20e25b,_0x9b1f45){const _0x17a223=_0x529b57;return(_0x20e25b=_0x40eace(_0x20e25b))in _0x24dec7?Object[_0x17a223(0x2bf)](_0x24dec7,_0x20e25b,{'value':_0x9b1f45,'enumerable':!0x0,'configurable':!0x0,'writable':!0x0}):_0x24dec7[_0x20e25b]=_0x9b1f45,_0x24dec7;}function _0x3c6f51(_0x3ec596,_0x3b3bc3){return function(_0x24eb93,_0x5985d2){_0x3b3bc3(_0x24eb93,_0x5985d2,_0x3ec596);};}function _0x5949f5(_0x19ff38,_0x202409,_0x324e3,_0x4cf168){const _0x49f7b2=_0x529b57;var _0x1bbeec=arguments[_0x49f7b2(0x354)],_0x412012=_0x1bbeec<0x3?_0x202409:_0x4cf168===null?_0x4cf168=Object[_0x49f7b2(0x236)](_0x202409,_0x324e3):_0x4cf168,_0xf40ee2;if(typeof Reflect==_0x49f7b2(0x224)&&typeof Reflect[_0x49f7b2(0x374)]==_0x49f7b2(0x22d))_0x412012=Reflect[_0x49f7b2(0x374)](_0x19ff38,_0x202409,_0x324e3,_0x4cf168);else{for(var _0x46faab=_0x19ff38[_0x49f7b2(0x354)]-0x1;_0x46faab>=0x0;_0x46faab--)(_0xf40ee2=_0x19ff38[_0x46faab])&&(_0x412012=(_0x1bbeec<0x3?_0xf40ee2(_0x412012):_0x1bbeec>0x3?_0xf40ee2(_0x202409,_0x324e3,_0x412012):_0xf40ee2(_0x202409,_0x324e3))||_0x412012);}return _0x1bbeec>0x3&&_0x412012&&Object[_0x49f7b2(0x2bf)](_0x202409,_0x324e3,_0x412012),_0x412012;}let _0x102dbb=class extends _0x54099e[_0x529b57(0x45b)]{constructor(_0x5d0f9e,_0xd93c34,_0x4b0079,_0x45bbf2){const _0x5b56d9=_0x529b57;super(),this['_univerInstanceService']=_0x5d0f9e,this[_0x5b56d9(0x309)]=_0xd93c34,this[_0x5b56d9(0x329)]=_0x4b0079,this[_0x5b56d9(0x4dd)]=_0x45bbf2,_0x77e721(this,_0x5b56d9(0x4cb),new _0x541406['BehaviorSubject'](_0x39299b[_0x5b56d9(0x203)][_0x5b56d9(0x4de)])),this[_0x5b56d9(0x451)](),this[_0x5b56d9(0x357)]();}[_0x529b57(0x357)](){const _0x1fa2cc=_0x529b57;this['disposeWithMe']((0x0,_0x541406['merge'])(this['_univerInstanceService'][_0x1fa2cc(0x4e7)],this[_0x1fa2cc(0x471)][_0x1fa2cc(0x197)](_0x54099e[_0x1fa2cc(0x1d1)][_0x1fa2cc(0x42a)]),this[_0x1fa2cc(0x471)][_0x1fa2cc(0x197)](_0x54099e['UniverInstanceType'][_0x1fa2cc(0x1d9)]))[_0x1fa2cc(0x2a7)]((0x0,_0x51a8f2[_0x1fa2cc(0x4d9)])(()=>_0x2c4ce4(this[_0x1fa2cc(0x471)])),(0x0,_0x51a8f2[_0x1fa2cc(0x2e6)])(),(0x0,_0x541406['switchMap'])(_0x1b7021=>_0x1b7021?this[_0x1fa2cc(0x329)]['getCollabEntity$'](_0x1b7021):(0x0,_0x541406['of'])(null)),(0x0,_0x541406[_0x1fa2cc(0x19a)])(_0x4eadab=>_0x4eadab?_0x4eadab[_0x1fa2cc(0x2eb)]:(0x0,_0x541406['of'])(_0x39299b['CollaborationStatus'][_0x1fa2cc(0x4de)])))[_0x1fa2cc(0x1a7)](_0x13e018=>{const _0x195c12=_0x1fa2cc;this[_0x195c12(0x4cb)][_0x195c12(0x366)](_0x13e018);}));}[_0x529b57(0x451)](){const _0x57170b=_0x529b57;this[_0x57170b(0x1a1)](this['_uiPartsService'][_0x57170b(0x473)](_0x3a2e6e[_0x57170b(0x1ea)][_0x57170b(0x21f)],()=>(0x0,_0x3a2e6e[_0x57170b(0x18a)])(_0x591779({'status$':this['_status$'][_0x57170b(0x24b)]()}),this[_0x57170b(0x309)])));}};_0x102dbb=_0x5949f5([_0x3c6f51(0x0,_0x54099e[_0x529b57(0x454)]),_0x3c6f51(0x1,(0x0,_0x54099e['Inject'])(_0x54099e[_0x529b57(0x3dd)])),_0x3c6f51(0x2,(0x0,_0x54099e[_0x529b57(0x40a)])(_0x39299b[_0x529b57(0x278)])),_0x3c6f51(0x3,_0x3a2e6e[_0x529b57(0x1f0)])],_0x102dbb);let _0x3db145=class extends _0x54099e[_0x529b57(0x45b)]{constructor(_0x23ffdf,_0x46f02a,_0x281bc5,_0x16732a){const _0x1f853c=_0x529b57;super(),this[_0x1f853c(0x471)]=_0x23ffdf,this['_injector']=_0x46f02a,this[_0x1f853c(0x329)]=_0x281bc5,this[_0x1f853c(0x4dd)]=_0x16732a,_0x77e721(this,_0x1f853c(0x4cb),new _0x541406[(_0x1f853c(0x225))](_0x39299b[_0x1f853c(0x203)][_0x1f853c(0x4de)])),this['_initStatusComponent'](),this[_0x1f853c(0x357)]();}['_initStatusListener'](){const _0x2c76d6=_0x529b57;this['disposeWithMe']((0x0,_0x541406[_0x2c76d6(0x3c0)])((0x0,_0x541406['of'])(null),this[_0x2c76d6(0x471)][_0x2c76d6(0x197)](_0x54099e[_0x2c76d6(0x1d1)][_0x2c76d6(0x195)]))[_0x2c76d6(0x2a7)]((0x0,_0x51a8f2[_0x2c76d6(0x4d9)])(()=>_0x4a9a09(this[_0x2c76d6(0x471)])),(0x0,_0x51a8f2[_0x2c76d6(0x2e6)])(),(0x0,_0x541406['switchMap'])(_0x483a8f=>_0x483a8f?this['_collaborationController'][_0x2c76d6(0x4e2)](_0x483a8f):(0x0,_0x541406['of'])(null)),(0x0,_0x541406[_0x2c76d6(0x19a)])(_0x27f8fd=>_0x27f8fd?_0x27f8fd[_0x2c76d6(0x2eb)]:(0x0,_0x541406['of'])(_0x39299b[_0x2c76d6(0x203)][_0x2c76d6(0x4de)])))[_0x2c76d6(0x1a7)](_0xbb821b=>{const _0x55de28=_0x2c76d6;this[_0x55de28(0x4cb)][_0x55de28(0x366)](_0xbb821b);}));}[_0x529b57(0x451)](){const _0x5b827f=_0x529b57;this['disposeWithMe'](this[_0x5b827f(0x4dd)][_0x5b827f(0x473)](_0x5a835b['BOARD_TOP_RIGHT_MENU_LEADING_PART'],()=>(0x0,_0x3a2e6e['connectInjector'])(_0x591779({'status$':this[_0x5b827f(0x4cb)]['asObservable']()}),this[_0x5b827f(0x309)])));}};_0x3db145=_0x5949f5([_0x3c6f51(0x0,_0x54099e[_0x529b57(0x454)]),_0x3c6f51(0x1,(0x0,_0x54099e[_0x529b57(0x40a)])(_0x54099e[_0x529b57(0x3dd)])),_0x3c6f51(0x2,(0x0,_0x54099e['Inject'])(_0x39299b[_0x529b57(0x278)])),_0x3c6f51(0x3,_0x3a2e6e[_0x529b57(0x1f0)])],_0x3db145);function _0x2c4ce4(_0x5d6dc1){const _0x2bab4e=_0x529b57;let _0x50472b=_0x5d6dc1['getFocusedUnit'](),_0x217d57=_0x50472b==null?void 0x0:_0x50472b['getUnitId']();if(_0x217d57&&!(0x0,_0x54099e[_0x2bab4e(0x3b9)])(_0x217d57))return _0x217d57;let _0xfc3305=_0x5d6dc1[_0x2bab4e(0x1e3)](_0x54099e[_0x2bab4e(0x1d1)][_0x2bab4e(0x42a)]),_0x55e2bc=_0xfc3305==null?void 0x0:_0xfc3305['getUnitId']();if(_0x55e2bc&&!(0x0,_0x54099e[_0x2bab4e(0x3b9)])(_0x55e2bc))return _0x55e2bc;let _0x13afdf=_0x5d6dc1[_0x2bab4e(0x1e3)](_0x54099e[_0x2bab4e(0x1d1)]['UNIVER_SHEET']);if(_0x13afdf)return _0x13afdf[_0x2bab4e(0x2b5)]();let _0x26f762=_0x5d6dc1[_0x2bab4e(0x42d)](_0x54099e[_0x2bab4e(0x1d1)][_0x2bab4e(0x42a)])[_0x2bab4e(0x452)](_0x2cfb71=>!(0x0,_0x54099e[_0x2bab4e(0x3b9)])(_0x2cfb71[_0x2bab4e(0x2b5)]()));return _0x26f762?_0x26f762['getUnitId']():null;}function _0x4a9a09(_0x5bf4f4){const _0x31aaf5=_0x529b57;var _0x29f6cc;let _0x1d62d7=_0x5bf4f4[_0x31aaf5(0x1e3)](_0x54099e[_0x31aaf5(0x1d1)][_0x31aaf5(0x195)]);return(_0x29f6cc=_0x1d62d7==null?void 0x0:_0x1d62d7['getUnitId']())==null?null:_0x29f6cc;}function _0x591779(_0x3aba96){let {status$:_0x48c1a1}=_0x3aba96;return function(){const _0x578569=_0x2ff8;return(0x0,_0x2ee138[_0x578569(0x1d3)])(_0x4ee807,{'status$':_0x48c1a1});};}var _0x28f35d='@univerjs-pro/collaboration-client-ui',_0x2126b2=_0x529b57(0x4a8);let _0x3260b8={},_0x29a900=class extends _0x54099e['RxDisposable']{constructor(_0x170ec3,_0x325e30){const _0x1c61d1=_0x529b57;super(),this['_docClipboardService']=_0x170ec3,this['_imageIoService']=_0x325e30,this[_0x1c61d1(0x2cb)]();}[_0x529b57(0x2cb)](){const _0x253c40=_0x529b57;let _0x3c6597=this;this[_0x253c40(0x1a1)](this[_0x253c40(0x384)]['addClipboardHook']({'onBeforePasteImage':async _0x1a06cb=>{const _0x4a4633=_0x253c40;let _0x417759=await _0x3c6597['_imageIoService'][_0x4a4633(0x484)](_0x1a06cb);return _0x417759?{'source':_0x417759[_0x4a4633(0x42c)],'imageSourceType':_0x417759['imageSourceType']}:null;}}));}};_0x29a900=_0x5949f5([_0x3c6f51(0x0,_0xc39b36[_0x529b57(0x4be)]),_0x3c6f51(0x1,_0x54099e[_0x529b57(0x2b1)])],_0x29a900);function _0x3f192e(_0x26b229,_0x30b341){const _0x5e63f6=_0x529b57;_0x26b229[_0x5e63f6(0x428)](),_0x26b229['font']=_0x5e63f6(0x349);let _0x481d60=_0x26b229[_0x5e63f6(0x207)](_0x30b341)[_0x5e63f6(0x1c1)];return _0x26b229[_0x5e63f6(0x450)](),Math[_0x5e63f6(0x275)](_0x481d60+0x8,0xc8);}function _0x4f1996(_0x109fc1,_0x116d2c){const _0x5910be=_0x529b57;var _0x3748fd,_0x13c894,_0x30c7b2;let {radius:_0x29d02c,width:_0x5d37bb,height:_0x4dcc25}=_0x116d2c;_0x29d02c=(_0x3748fd=_0x29d02c)==null?0x0:_0x3748fd,_0x5d37bb=(_0x13c894=_0x5d37bb)==null?0x1e:_0x13c894,_0x4dcc25=(_0x30c7b2=_0x4dcc25)==null?0x1e:_0x30c7b2;let _0xecadd0=0x0,_0x374a6c=0x0,_0x3981cb=0x0;_0xecadd0=_0x374a6c=_0x3981cb=Math[_0x5910be(0x275)](_0x29d02c,_0x5d37bb/0x2,_0x4dcc25/0x2),_0x109fc1[_0x5910be(0x43f)](),_0x109fc1[_0x5910be(0x40f)](_0xecadd0,0x0),_0x109fc1['lineTo'](_0x5d37bb-_0x374a6c,0x0),_0x109fc1[_0x5910be(0x355)](_0x5d37bb-_0x374a6c,_0x374a6c,_0x374a6c,Math['PI']*0x3/0x2,0x0,!0x1),_0x109fc1['lineTo'](_0x5d37bb,_0x4dcc25-_0x3981cb),_0x109fc1[_0x5910be(0x355)](_0x5d37bb-_0x3981cb,_0x4dcc25-_0x3981cb,_0x3981cb,0x0,Math['PI']/0x2,!0x1),_0x109fc1['lineTo'](0x0,_0x4dcc25),_0x109fc1[_0x5910be(0x283)](0x0,_0xecadd0),_0x109fc1[_0x5910be(0x355)](_0xecadd0,_0xecadd0,_0xecadd0,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x109fc1[_0x5910be(0x2ee)](),_0x116d2c['fill']&&(_0x109fc1[_0x5910be(0x428)](),_0x109fc1[_0x5910be(0x37c)]=_0x116d2c[_0x5910be(0x386)],_0x116d2c[_0x5910be(0x2b9)]==='evenodd'?_0x109fc1[_0x5910be(0x386)](_0x5910be(0x2a0)):_0x109fc1['fill'](),_0x109fc1[_0x5910be(0x450)]());}var _0xbc2002=class _0x66d344 extends _0x36fb2d[_0x529b57(0x31b)]{constructor(_0x5f03f5,_0xb95b86){const _0x22fd92=_0x529b57;super(_0x5f03f5,_0xb95b86),_0x77e721(this,_0x22fd92(0x4c8),void 0x0),_0x77e721(this,'text',void 0x0),this['color']=_0xb95b86==null?void 0x0:_0xb95b86[_0x22fd92(0x4c8)],this[_0x22fd92(0x1af)]=_0xb95b86==null?void 0x0:_0xb95b86[_0x22fd92(0x1af)];}static[_0x529b57(0x284)](_0x4ee2dc,_0x4ec495){const _0x4c74c2=_0x529b57;let {text:_0x326aad,color:_0xe92bbc}=_0x4ec495;_0x4ee2dc[_0x4c74c2(0x428)](),_0x4ee2dc[_0x4c74c2(0x338)]=_0x4c74c2(0x1cc);let _0x1975b4=_0x4ee2dc[_0x4c74c2(0x207)](_0x326aad)[_0x4c74c2(0x1c1)];if(_0x4f1996(_0x4ee2dc,{'height':0x14,'radius':0x4,'width':_0x3f192e(_0x4ee2dc,_0x326aad),'fill':_0xe92bbc,'evented':!0x1}),_0x4ee2dc[_0x4c74c2(0x37c)]='#FFF',_0x1975b4>0xc0){let _0x1795a3='',_0x259e7a=0x0;for(let _0x5b47b3 of _0x326aad){let _0x43ca5e=_0x4ee2dc[_0x4c74c2(0x207)](_0x5b47b3)[_0x4c74c2(0x1c1)];if(_0x259e7a+_0x43ca5e<=0xc0-_0x4ee2dc[_0x4c74c2(0x207)](_0x4c74c2(0x2f6))[_0x4c74c2(0x1c1)])_0x1795a3+=_0x5b47b3,_0x259e7a+=_0x43ca5e;else{_0x1795a3+=_0x4c74c2(0x2f6);break;}}_0x4ee2dc[_0x4c74c2(0x35e)](_0x1795a3,0x4,0xf);}else _0x4ee2dc[_0x4c74c2(0x35e)](_0x326aad,0x4,0xf);_0x4ee2dc['restore']();}[_0x529b57(0x427)](_0x4a878d){const _0x299375=_0x529b57;_0x66d344[_0x299375(0x284)](_0x4a878d,this);}};let _0x413c21=0x138a;var _0x496379=class extends _0x36fb2d[_0x529b57(0x31b)]{constructor(_0x306f73,_0x30ad37){const _0x43d9b1=_0x529b57;super(_0x306f73,{..._0x30ad37,'evented':!0x1}),_0x77e721(this,_0x43d9b1(0x240),_0x43d9b1(0x1fc)),_0x77e721(this,'_name',''),_0x77e721(this,'_showText',!0x0),_0x30ad37&&this[_0x43d9b1(0x4bf)](_0x30ad37);}[_0x529b57(0x4bf)](_0x30ae88){const _0x1e9c47=_0x529b57;var _0x42c24d,_0x52f1c3,_0x41cecb,_0x1535c4,_0x2622aa,_0x5e236a,_0x2e06c5,_0x4e56bd;this[_0x1e9c47(0x240)]=(_0x42c24d=_0x30ae88[_0x1e9c47(0x4c8)])==null?this[_0x1e9c47(0x240)]:_0x42c24d,this[_0x1e9c47(0x2c1)]=(_0x52f1c3=_0x30ae88[_0x1e9c47(0x2ab)])==null?this[_0x1e9c47(0x2c1)]:_0x52f1c3,this[_0x1e9c47(0x4a3)]=(_0x41cecb=_0x30ae88[_0x1e9c47(0x314)])==null?this['_showText']:_0x41cecb,this[_0x1e9c47(0x3cf)]=!0x1,this['transformByState']({'left':(_0x1535c4=_0x30ae88[_0x1e9c47(0x3c4)])==null?this[_0x1e9c47(0x3c4)]:_0x1535c4,'top':(_0x2622aa=_0x30ae88['top'])==null?this['top']:_0x2622aa,'width':(_0x5e236a=_0x30ae88[_0x1e9c47(0x1c1)])==null?this[_0x1e9c47(0x1c1)]:_0x5e236a,'height':(_0x2e06c5=_0x30ae88[_0x1e9c47(0x1ef)])==null?this[_0x1e9c47(0x1ef)]:_0x2e06c5,'angle':(_0x4e56bd=_0x30ae88[_0x1e9c47(0x43b)])==null?this[_0x1e9c47(0x43b)]:_0x4e56bd});}['_draw'](_0x1d6dd7){const _0x2a8187=_0x529b57;_0x1d6dd7['save'](),_0x1d6dd7[_0x2a8187(0x31c)]=this['_color'],_0x1d6dd7['lineWidth']=this['strokeWidth']||1.5,_0x1d6dd7[_0x2a8187(0x2a5)]([0x6,0x4]),_0x1d6dd7['strokeRect'](0x0,0x0,this[_0x2a8187(0x1c1)],this[_0x2a8187(0x1ef)]),_0x1d6dd7[_0x2a8187(0x450)](),this[_0x2a8187(0x4a3)]&&(_0x1d6dd7['save'](),_0x1d6dd7[_0x2a8187(0x222)](0x1,0x0,0x0,0x1,this['width'],-0x14),_0xbc2002['drawWith'](_0x1d6dd7,{'text':this[_0x2a8187(0x2c1)],'color':this[_0x2a8187(0x240)]}),_0x1d6dd7[_0x2a8187(0x450)]());}};let _0x5a565c=[_0x529b57(0x3ee),_0x529b57(0x1fa),_0x529b57(0x30e),_0x529b57(0x298),'blue.400',_0x529b57(0x307)];var _0x4d357d=class extends _0x54099e[_0x529b57(0x45b)]{constructor(..._0x48bd4d){const _0x449b90=_0x529b57;super(..._0x48bd4d),_0x77e721(this,'_assignedColors',new Map()),_0x77e721(this,_0x449b90(0x3a1),0x0);}['assignAColorForMemberID'](_0x222663){const _0x146443=_0x529b57;if(this[_0x146443(0x429)][_0x146443(0x4d8)](_0x222663))return this[_0x146443(0x429)]['get'](_0x222663);let _0x268417=_0x5a565c[this['_colorIndex']];return this[_0x146443(0x3a1)]=(this['_colorIndex']+0x1)%_0x5a565c['length'],this['_assignedColors'][_0x146443(0x340)](_0x222663,_0x268417),_0x268417;}};function _0x3a235c(_0xdb919c){const _0x57e3e4=_0x529b57;let _0x2b336;try{_0x2b336=JSON[_0x57e3e4(0x49b)](_0xdb919c);}catch{return null;}if(typeof _0x2b336!=_0x57e3e4(0x224)||!_0x2b336)return null;let _0x54952f=_0x2b336;if(_0x54952f[_0x57e3e4(0x218)]!==_0x57e3e4(0x371)||typeof _0x54952f['unitId']!=_0x57e3e4(0x49d)||typeof _0x54952f[_0x57e3e4(0x2ec)]!=_0x57e3e4(0x49d))return null;let _0x590dfb=Array[_0x57e3e4(0x36f)](_0x54952f[_0x57e3e4(0x2ea)])?_0x54952f[_0x57e3e4(0x2ea)][_0x57e3e4(0x21a)](_0x21c0a2=>typeof _0x21c0a2==_0x57e3e4(0x49d)):[],_0x477e44=typeof _0x54952f[_0x57e3e4(0x442)]==_0x57e3e4(0x49d)?_0x54952f[_0x57e3e4(0x442)]:null;return{'kind':_0x57e3e4(0x371),'unitId':_0x54952f[_0x57e3e4(0x29e)],'subUnitId':_0x54952f[_0x57e3e4(0x2ec)],'selectedIds':_0x590dfb,'focusedId':_0x477e44};}let _0x587e62=class extends _0x54099e[_0x529b57(0x2ad)]{get[_0x529b57(0x36c)](){const _0x3dea0e=_0x529b57;return this[_0x3dea0e(0x24e)][_0x3dea0e(0x36e)]();}get[_0x529b57(0x2e8)](){return this['_roomMembers$']['getValue']();}constructor(_0x10ae93,_0x1ed245,_0x5e726e,_0x350cf8,_0x57c070){const _0x2d5915=_0x529b57;super(),this[_0x2d5915(0x4b5)]=_0x10ae93,this['_session']=_0x1ed245,this[_0x2d5915(0x437)]=_0x5e726e,this['_memberService']=_0x350cf8,this[_0x2d5915(0x3a5)]=_0x57c070,_0x77e721(this,_0x2d5915(0x486),!0x1),_0x77e721(this,'_init',!0x1),_0x77e721(this,_0x2d5915(0x24e),new _0x541406[(_0x2d5915(0x225))](new Map())),_0x77e721(this,'cursorInfo$',this[_0x2d5915(0x24e)][_0x2d5915(0x24b)]()),_0x77e721(this,_0x2d5915(0x3e3),new _0x541406[(_0x2d5915(0x225))]([])),_0x77e721(this,_0x2d5915(0x198),this['_roomMembers$'][_0x2d5915(0x2a7)]((0x0,_0x541406['debounceTime'])(0x12c))),_0x77e721(this,_0x2d5915(0x234),(0x0,_0x54099e[_0x2d5915(0x322)])(_0x51f25a=>{const _0x6e9099=_0x2d5915;let _0x2fd5ec=_0x51f25a['context'];if(!_0x2fd5ec||_0x2fd5ec[_0x6e9099(0x29e)]!==this['unitID'])return;let _0x4e3386={'kind':'board-element-selection','unitId':_0x2fd5ec[_0x6e9099(0x29e)],'subUnitId':_0x2fd5ec[_0x6e9099(0x2ec)],'selectedIds':_0x51f25a['selectedIds']['filter'](_0xc88d27=>typeof _0xc88d27==_0x6e9099(0x49d)),'focusedId':_0x51f25a[_0x6e9099(0x442)]},_0x4e33ab={'eventID':_0x37a654['CollaborationEvent'][_0x6e9099(0x301)],'data':{'unitID':this['unitID'],'memberID':this[_0x6e9099(0x200)][_0x6e9099(0x31f)](),'selection':JSON[_0x6e9099(0x2d8)](_0x4e3386)}};this[_0x6e9099(0x200)][_0x6e9099(0x409)](_0x4e33ab,this[_0x6e9099(0x4b5)]);},0x64));}['dispose'](){const _0x9bf883=_0x529b57;super['dispose'](),this[_0x9bf883(0x24e)][_0x9bf883(0x366)](new Map()),this[_0x9bf883(0x24e)]['complete'](),this[_0x9bf883(0x3e3)][_0x9bf883(0x366)]([]),this[_0x9bf883(0x3e3)][_0x9bf883(0x32e)]();}[_0x529b57(0x318)](){const _0x419eea=_0x529b57;this[_0x419eea(0x2cb)]||(this[_0x419eea(0x2cb)]=!0x0,this[_0x419eea(0x200)][_0x419eea(0x3b2)][_0x419eea(0x2a7)]((0x0,_0x541406[_0x419eea(0x39f)])(this[_0x419eea(0x2e2)]))[_0x419eea(0x1a7)](_0x7ce55a=>{const _0x245fd4=_0x419eea;_0x7ce55a===_0x39299b[_0x245fd4(0x4ae)]['ONLINE']?this[_0x245fd4(0x4c2)]():this[_0x245fd4(0x25f)]();}),this['_session'][_0x419eea(0x2dd)][_0x419eea(0x2a7)]((0x0,_0x541406[_0x419eea(0x39f)])(this[_0x419eea(0x2e2)]))['subscribe'](_0x59cedc=>{const _0x44f5a5=_0x419eea;let _0x240d9c=_0x59cedc[_0x44f5a5(0x26b)];_0x240d9c===_0x37a654[_0x44f5a5(0x269)][_0x44f5a5(0x301)]&&this['_onCursorUpdate'](_0x59cedc),_0x240d9c===_0x37a654['CollaborationEvent']['USERS_LEAVE']&&this[_0x44f5a5(0x398)](_0x59cedc);}),this['_boardElementStateService'][_0x419eea(0x39b)][_0x419eea(0x2a7)]((0x0,_0x541406[_0x419eea(0x39f)])(this[_0x419eea(0x2e2)]))[_0x419eea(0x1a7)](_0x17be11=>{const _0xc18373=_0x419eea;this[_0xc18373(0x486)]&&this['_updateLocalCursor'](_0x17be11);}));}[_0x529b57(0x33d)](_0x5afc4a){const _0xa60920=_0x529b57;var _0x5dc539,_0x3a540a,_0x265c7b,_0x56295a;let {memberID:_0x2d2084,selection:_0x2f4a58}=_0x5afc4a[_0xa60920(0x482)];if(_0x2d2084===((_0x5dc539=(_0x3a540a=this['_session'])[_0xa60920(0x31f)])==null?void 0x0:_0x5dc539[_0xa60920(0x2f2)](_0x3a540a)))return;let _0x5b58d4=_0x3a235c(_0x2f4a58);if(!_0x5b58d4||_0x5b58d4[_0xa60920(0x29e)]!==this[_0xa60920(0x4b5)])return;let _0x326899=(_0x265c7b=(_0x56295a=this[_0xa60920(0x4d1)][_0xa60920(0x1e1)](this['unitID'],_0x2d2084))==null?void 0x0:_0x56295a[_0xa60920(0x2ab)])==null?_0xa60920(0x313):_0x265c7b,_0x202125={'color':this[_0xa60920(0x437)]['assignAColorForMemberID'](_0x2d2084),'name':_0x326899,'unitId':_0x5b58d4[_0xa60920(0x29e)],'subUnitId':_0x5b58d4[_0xa60920(0x2ec)],'selectedIds':_0x5b58d4[_0xa60920(0x2ea)],'focusedId':_0x5b58d4[_0xa60920(0x442)],'selection':_0x2f4a58},_0x20e859=new Map(this[_0xa60920(0x36c)]);_0x20e859['set'](_0x2d2084,_0x202125),this['_cursorInfo$'][_0xa60920(0x366)](_0x20e859);}['_onCursorDelete'](_0x4a11ec){const _0x31c592=_0x529b57;let {memberID:_0x48c2b3}=_0x4a11ec[_0x31c592(0x482)],_0x22438c=new Map(this[_0x31c592(0x36c)]);_0x22438c['delete'](_0x48c2b3),this['_cursorInfo$']['next'](_0x22438c);}['_toggleOnline'](){const _0x5174a4=_0x529b57;this[_0x5174a4(0x486)]=!0x0,this['_updateLocalCursor'](this[_0x5174a4(0x3a5)][_0x5174a4(0x3aa)]());}[_0x529b57(0x25f)](){const _0x14b60b=_0x529b57;this[_0x14b60b(0x486)]=!0x1;}};_0x587e62=_0x5949f5([_0x3c6f51(0x2,(0x0,_0x54099e[_0x529b57(0x40a)])(_0x4d357d)),_0x3c6f51(0x3,(0x0,_0x54099e[_0x529b57(0x40a)])(_0x39299b[_0x529b57(0x1eb)])),_0x3c6f51(0x4,(0x0,_0x54099e[_0x529b57(0x40a)])(_0x5a835b['IBoardElementStateService']))],_0x587e62);function _0xc456d1(_0x1d8f86){const _0x3a6d5d=_0x529b57;let _0x184fb5='';for(let _0x4c4a6b of _0x1d8f86){let {startOffset:_0x4fcc99,endOffset:_0x1f93f7,isActive:_0x4210ea,rangeType:_0x3a653c,segmentId:_0xa312d8,segmentPage:_0x27b033}=_0x4c4a6b;_0x184fb5[_0x3a6d5d(0x354)]&&(_0x184fb5+=','),_0x184fb5+=_0x4fcc99+':'+_0x1f93f7+':'+(_0x4210ea?'1':'0')+':'+_0x3a653c+':'+_0xa312d8+':'+_0x27b033;}return _0x184fb5;}function _0x4370a8(_0x3f073b){const _0x397c15=_0x529b57;let _0x2b0381=_0x3f073b[_0x397c15(0x31e)](','),_0x38dae8=[];for(let _0x49f76b of _0x2b0381){let [_0x7b72a9,_0x5732f5,_0x47f69d,_0x3c28c4,_0x1eda0b,_0x46e5d6]=_0x49f76b[_0x397c15(0x31e)](':');_0x38dae8['push']({'startOffset':Number(_0x7b72a9),'endOffset':Number(_0x5732f5),'collapsed':_0x7b72a9===_0x5732f5,'isActive':_0x47f69d==='1','rangeType':_0x3c28c4===_0x54099e[_0x397c15(0x3fa)]['TEXT']?_0x54099e[_0x397c15(0x3fa)][_0x397c15(0x419)]:_0x54099e[_0x397c15(0x3fa)]['RECT'],'segmentId':typeof _0x1eda0b==_0x397c15(0x49d)?String(_0x1eda0b):'','segmentPage':Number(_0x46e5d6==null?-0x1:_0x46e5d6)});}return _0x38dae8['some'](_0x2bd1a9=>_0x2bd1a9[_0x397c15(0x196)])||(_0x38dae8[0x0][_0x397c15(0x196)]=!0x0),_0x38dae8;}var _0x3d8da4=class extends _0x54099e['RxDisposable']{constructor(..._0x309b33){const _0x48d449=_0x529b57;super(..._0x309b33),_0x77e721(this,_0x48d449(0x1bb),new _0x541406[(_0x48d449(0x225))](null)),_0x77e721(this,_0x48d449(0x1f1),this[_0x48d449(0x1bb)][_0x48d449(0x24b)]());}[_0x529b57(0x19c)](_0x509f0f){const _0x42a5eb=_0x529b57;let {unitID:_0xe7a86f,memberID:_0x153f91,textRanges:_0x53344a}=_0x509f0f,_0xd5600b=_0xc456d1(_0x53344a);if(_0xd5600b==='')return;let _0x245527={'unitID':_0xe7a86f,'memberID':_0x153f91,'selection':_0xd5600b};this[_0x42a5eb(0x1bb)]['next'](_0x245527);}};let _0x2e2c39=class extends _0x54099e[_0x529b57(0x2ad)]{get[_0x529b57(0x36c)](){const _0x3da8ff=_0x529b57;return this['_cursorInfo$'][_0x3da8ff(0x36e)]();}get[_0x529b57(0x2e8)](){const _0x2bb648=_0x529b57;return this['_roomMembers$'][_0x2bb648(0x36e)]();}constructor(_0x3b4821,_0x2e8121,_0x28c930,_0x5e4367,_0x34df68,_0x1cb629,_0x41b4d2,_0x3fc588,_0x2d08ce){const _0x13d046=_0x529b57;super(),this[_0x13d046(0x4b5)]=_0x3b4821,this[_0x13d046(0x200)]=_0x2e8121,this[_0x13d046(0x309)]=_0x28c930,this[_0x13d046(0x437)]=_0x5e4367,this[_0x13d046(0x4d1)]=_0x34df68,this[_0x13d046(0x3fd)]=_0x1cb629,this['_transformService']=_0x41b4d2,this['_univerInstanceService']=_0x3fc588,this[_0x13d046(0x48e)]=_0x2d08ce,_0x77e721(this,_0x13d046(0x486),!0x1),_0x77e721(this,_0x13d046(0x2cb),!0x1),_0x77e721(this,_0x13d046(0x24e),new _0x541406[(_0x13d046(0x225))](new Map())),_0x77e721(this,_0x13d046(0x3d3),this['_cursorInfo$'][_0x13d046(0x24b)]()),_0x77e721(this,_0x13d046(0x3e3),new _0x541406[(_0x13d046(0x225))]([])),_0x77e721(this,_0x13d046(0x198),this['_roomMembers$'][_0x13d046(0x2a7)]((0x0,_0x541406[_0x13d046(0x2a9)])(0x12c))),_0x77e721(this,_0x13d046(0x234),(0x0,_0x54099e[_0x13d046(0x322)])(_0x4134a9=>{const _0x1afcc1=_0x13d046;let _0x40a6ad={'eventID':_0x37a654[_0x1afcc1(0x269)]['UPDATE_CURSOR'],'data':{'unitID':this[_0x1afcc1(0x4b5)],'memberID':this[_0x1afcc1(0x200)][_0x1afcc1(0x31f)](),'selection':_0xc456d1(_0x4134a9)}};this['_session'][_0x1afcc1(0x409)](_0x40a6ad,this[_0x1afcc1(0x4b5)]);},0x64));}[_0x529b57(0x1c0)](){const _0x2aa8fb=_0x529b57;super[_0x2aa8fb(0x1c0)](),this[_0x2aa8fb(0x24e)][_0x2aa8fb(0x366)](new Map()),this[_0x2aa8fb(0x24e)][_0x2aa8fb(0x32e)](),this[_0x2aa8fb(0x3e3)][_0x2aa8fb(0x366)]([]),this[_0x2aa8fb(0x3e3)]['complete']();}[_0x529b57(0x318)](){const _0x942d42=_0x529b57;this[_0x942d42(0x2cb)]||(this['_init']=!0x0,this[_0x942d42(0x200)][_0x942d42(0x3b2)][_0x942d42(0x2a7)]((0x0,_0x541406[_0x942d42(0x39f)])(this[_0x942d42(0x2e2)]))[_0x942d42(0x1a7)](_0x46dcc6=>{const _0x2d3d03=_0x942d42;_0x46dcc6===_0x39299b['SessionStatus'][_0x2d3d03(0x34f)]?this[_0x2d3d03(0x4c2)]():this['_toggleOffline']();}),this[_0x942d42(0x200)]['event$'][_0x942d42(0x2a7)]((0x0,_0x541406[_0x942d42(0x39f)])(this[_0x942d42(0x2e2)]))[_0x942d42(0x1a7)](_0x4f5cf2=>{const _0x28251a=_0x942d42;let _0x349c09=_0x4f5cf2[_0x28251a(0x26b)];_0x349c09===_0x37a654['CollaborationEvent'][_0x28251a(0x301)]&&this[_0x28251a(0x33d)](_0x4f5cf2),_0x349c09===_0x37a654[_0x28251a(0x269)][_0x28251a(0x3f6)]&&this['_onCursorDelete'](_0x4f5cf2);}),this[_0x942d42(0x1a1)](this['_commandService']['onCommandExecuted'](_0x31b5a5=>{const _0x51b2fb=_0x942d42;let _0x2e3a65=_0x31b5a5[_0x51b2fb(0x4bc)];_0x2e3a65!=null&&this['_online']&&_0x31b5a5['id']===_0x2433e3[_0x51b2fb(0x4e1)]['id']&&_0x2e3a65[_0x51b2fb(0x29e)]===this[_0x51b2fb(0x4b5)]&&_0x2e3a65[_0x51b2fb(0x497)]===!0x1&&_0x2e3a65['ranges'][_0x51b2fb(0x354)]>0x0&&this[_0x51b2fb(0x234)](_0x2e3a65[_0x51b2fb(0x245)]);})),this[_0x942d42(0x3fd)][_0x942d42(0x1f1)][_0x942d42(0x2a7)]((0x0,_0x541406['takeUntil'])(this[_0x942d42(0x2e2)]))[_0x942d42(0x1a7)](_0x5225fa=>{const _0x260054=_0x942d42;if((_0x5225fa==null?void 0x0:_0x5225fa[_0x260054(0x4b5)])!==this[_0x260054(0x4b5)])return;let _0x26c174={'eventID':_0x37a654['CollaborationEvent'][_0x260054(0x301)],'data':_0x5225fa};this[_0x260054(0x33d)](_0x26c174);}),this[_0x942d42(0x1a1)](this[_0x942d42(0x48e)]['onCommandExecuted'](_0x5b8f93=>{const _0x27fbe4=_0x942d42;if(_0x5b8f93['params']==null)return;let _0x3e9bbc=_0x5b8f93[_0x27fbe4(0x4bc)];if(_0x5b8f93['id']!==_0x2433e3[_0x27fbe4(0x44e)]['id']||_0x3e9bbc[_0x27fbe4(0x29e)]!==this[_0x27fbe4(0x4b5)])return;let _0x2f83fb={'id':'doc.mutation.rich-text-editing','params':_0x3e9bbc},_0x1c0475=this[_0x27fbe4(0x36c)];for(let [_0x21972d,_0x58479a]of _0x1c0475){let _0x4ee038={'id':'doc.mutation.rich-text-editing','params':{'unitId':this['unitID'],'actions':null,'textRanges':_0x58479a[_0x27fbe4(0x245)]}},_0x1e5ddb=this[_0x27fbe4(0x227)][_0x27fbe4(0x25e)](_0x2f83fb,_0x4ee038,!0x1);if((0x0,_0x37a654[_0x27fbe4(0x20b)])(_0x1e5ddb))throw _0x1e5ddb[_0x27fbe4(0x1df)];_0x1c0475['set'](_0x21972d,{..._0x58479a,'ranges':_0x1e5ddb[_0x27fbe4(0x1c7)][_0x27fbe4(0x4bc)]['textRanges']});}queueMicrotask(()=>{const _0x3a5e88=_0x27fbe4;this[_0x3a5e88(0x24e)]['next'](_0x1c0475);});})));}[_0x529b57(0x33d)](_0x3c11ee){const _0xf6399f=_0x529b57;var _0x202c0c,_0xfda35c;let {memberID:_0x8b7c73,selection:_0x22a2c6}=_0x3c11ee[_0xf6399f(0x482)],_0x40d309=_0x4370a8(_0x22a2c6),_0x15aeb6=(_0x202c0c=(_0xfda35c=this[_0xf6399f(0x4d1)][_0xf6399f(0x1e1)](this[_0xf6399f(0x4b5)],_0x8b7c73))==null?void 0x0:_0xfda35c[_0xf6399f(0x2ab)])==null?_0xf6399f(0x313):_0x202c0c,_0x49ea1c={'color':this[_0xf6399f(0x437)][_0xf6399f(0x1d5)](_0x8b7c73),'name':_0x15aeb6,'ranges':_0x40d309},_0x508e35=this[_0xf6399f(0x36c)];_0x508e35[_0xf6399f(0x340)](_0x8b7c73,_0x49ea1c),this[_0xf6399f(0x24e)][_0xf6399f(0x366)](_0x508e35);}[_0x529b57(0x398)](_0x2fdcfa){const _0x5c1b4f=_0x529b57;let {memberID:_0x3741ed}=_0x2fdcfa[_0x5c1b4f(0x482)],_0xe076f9=this[_0x5c1b4f(0x36c)];_0xe076f9[_0x5c1b4f(0x472)](_0x3741ed),this['_cursorInfo$']['next'](_0xe076f9);}[_0x529b57(0x4c2)](){const _0x419dfc=_0x529b57;var _0x557af2;if(this[_0x419dfc(0x486)]=!0x0,((_0x557af2=this[_0x419dfc(0x471)][_0x419dfc(0x496)]())==null?void 0x0:_0x557af2[_0x419dfc(0x2b5)]())!==this['unitID'])return;let _0x1a922e=this[_0x419dfc(0x309)][_0x419dfc(0x480)](_0x2433e3[_0x419dfc(0x415)])[_0x419dfc(0x2aa)]();Array[_0x419dfc(0x36f)](_0x1a922e)&&_0x1a922e[_0x419dfc(0x354)]>0x0&&this[_0x419dfc(0x234)](_0x1a922e);}[_0x529b57(0x25f)](){this['_online']=!0x1;}};_0x2e2c39=_0x5949f5([_0x3c6f51(0x2,(0x0,_0x54099e['Inject'])(_0x54099e[_0x529b57(0x3dd)])),_0x3c6f51(0x3,(0x0,_0x54099e[_0x529b57(0x40a)])(_0x4d357d)),_0x3c6f51(0x4,(0x0,_0x54099e[_0x529b57(0x40a)])(_0x39299b[_0x529b57(0x1eb)])),_0x3c6f51(0x5,(0x0,_0x54099e[_0x529b57(0x40a)])(_0x3d8da4)),_0x3c6f51(0x6,_0x37a654['ITransformService']),_0x3c6f51(0x7,_0x54099e[_0x529b57(0x454)]),_0x3c6f51(0x8,_0x54099e[_0x529b57(0x2e1)])],_0x2e2c39);let _0x452724=()=>{let _0x75d6bb=[],_0x23277b=!0x1;return _0x32908f=>{_0x75d6bb['push'](_0x32908f),_0x23277b||(_0x23277b=!0x0,setTimeout(()=>{const _0x5b3fe9=_0x2ff8;_0x75d6bb[_0x5b3fe9(0x27d)](_0x49f78b=>_0x49f78b()),_0x75d6bb=[],_0x23277b=!0x1;}));};},_0x4bca1d=class extends _0x54099e['RxDisposable']{get['cursorInfo'](){const _0x4d9393=_0x529b57;return this[_0x4d9393(0x24e)]['getValue']();}get['roomMembers'](){const _0x2d8716=_0x529b57;return this['_roomMembers$'][_0x2d8716(0x36e)]();}constructor(_0x65a0,_0x3accfb,_0x4624d4,_0x39f228,_0x12d518,_0x30b48a,_0x2300b2,_0x2ea3fb){const _0x175564=_0x529b57;super(),this['unitID']=_0x65a0,this['_session']=_0x3accfb,this['_injector']=_0x4624d4,this['_colorAssignService']=_0x39f228,this[_0x175564(0x4d1)]=_0x12d518,this[_0x175564(0x471)]=_0x30b48a,this[_0x175564(0x48e)]=_0x2300b2,this[_0x175564(0x1f8)]=_0x2ea3fb,_0x77e721(this,_0x175564(0x486),!0x1),_0x77e721(this,_0x175564(0x2cb),!0x1),_0x77e721(this,'_cursorInfo$',new _0x541406[(_0x175564(0x225))](new Map())),_0x77e721(this,_0x175564(0x3d3),this['_cursorInfo$'][_0x175564(0x24b)]()),_0x77e721(this,_0x175564(0x3e3),new _0x541406[(_0x175564(0x225))]([])),_0x77e721(this,_0x175564(0x198),this[_0x175564(0x3e3)][_0x175564(0x2a7)]((0x0,_0x541406[_0x175564(0x2a9)])(0x12c))),_0x77e721(this,'_updateLocalCursor',(0x0,_0x54099e[_0x175564(0x322)])((_0x4c29ec,_0x3625ff)=>{const _0xb93447=_0x175564;let _0x5b8ad9={'eventID':_0x37a654[_0xb93447(0x269)]['UPDATE_CURSOR'],'data':{'unitID':this[_0xb93447(0x4b5)],'memberID':this[_0xb93447(0x200)][_0xb93447(0x31f)](),'selection':(0x0,_0x29b436[_0xb93447(0x445)])(_0x4c29ec,_0x3625ff[_0xb93447(0x2e5)])}};this[_0xb93447(0x200)][_0xb93447(0x409)](_0x5b8ad9,this[_0xb93447(0x4b5)]);},0x64));}['dispose'](){const _0x42258b=_0x529b57;super[_0x42258b(0x1c0)](),this[_0x42258b(0x24e)][_0x42258b(0x366)](new Map()),this[_0x42258b(0x24e)][_0x42258b(0x32e)](),this[_0x42258b(0x3e3)]['next']([]),this[_0x42258b(0x3e3)][_0x42258b(0x32e)]();}[_0x529b57(0x318)](){const _0x27bc33=_0x529b57;this['_init']||(this['_init']=!0x0,this[_0x27bc33(0x200)][_0x27bc33(0x3b2)][_0x27bc33(0x2a7)]((0x0,_0x541406['takeUntil'])(this[_0x27bc33(0x2e2)]))[_0x27bc33(0x1a7)](_0xdcc84=>{const _0x588d95=_0x27bc33;_0xdcc84===_0x39299b[_0x588d95(0x4ae)][_0x588d95(0x34f)]?this['_toggleOnline']():this[_0x588d95(0x25f)]();}),this[_0x27bc33(0x200)][_0x27bc33(0x2dd)][_0x27bc33(0x2a7)]((0x0,_0x541406[_0x27bc33(0x39f)])(this[_0x27bc33(0x2e2)]))['subscribe'](_0x12546c=>{const _0xaf5b2f=_0x27bc33;let _0x27b3cf=_0x12546c[_0xaf5b2f(0x26b)];_0x27b3cf===_0x37a654['CollaborationEvent'][_0xaf5b2f(0x301)]&&this[_0xaf5b2f(0x33d)](_0x12546c),_0x27b3cf===_0x37a654[_0xaf5b2f(0x269)]['USERS_LEAVE']&&this[_0xaf5b2f(0x398)](_0x12546c);}),this['_onRefRangeChange'](),this[_0x27bc33(0x1a1)](this['_commandService'][_0x27bc33(0x311)](_0x32ed3b=>{const _0x39accc=_0x27bc33;if(this[_0x39accc(0x486)]&&_0x32ed3b['id']===_0x13da0d[_0x39accc(0x274)]['id']&&_0x32ed3b[_0x39accc(0x4bc)][_0x39accc(0x29e)]===this['unitID']){let _0x1ce884=_0x32ed3b[_0x39accc(0x4bc)];this[_0x39accc(0x234)](_0x1ce884[_0x39accc(0x2ec)],_0x1ce884['selections'][0x0]);}})));}['_onCursorUpdate'](_0x3131ad){const _0x4372f3=_0x529b57;var _0x3ed73d,_0x608a7b;let {memberID:_0x4ec824,selection:_0x2272d3}=_0x3131ad[_0x4372f3(0x482)],{sheetName:_0xb2304c,range:_0x131581}=(0x0,_0x29b436['deserializeRangeWithSheet'])(_0x2272d3),_0x13398a={'name':(_0x3ed73d=(_0x608a7b=this['_memberService'][_0x4372f3(0x1e1)](this[_0x4372f3(0x4b5)],_0x4ec824))==null?void 0x0:_0x608a7b[_0x4372f3(0x2ab)])==null?_0x4372f3(0x313):_0x3ed73d,'range':this['_getMergeRange'](_0xb2304c,_0x131581),'sheetID':_0xb2304c,'color':this[_0x4372f3(0x437)][_0x4372f3(0x1d5)](_0x4ec824),'selection':_0x2272d3},_0x74a725=this[_0x4372f3(0x36c)];_0x74a725['set'](_0x4ec824,_0x13398a),this[_0x4372f3(0x24e)][_0x4372f3(0x366)](_0x74a725);}[_0x529b57(0x398)](_0x518b3a){const _0x5b130f=_0x529b57;let {memberID:_0x485132}=_0x518b3a[_0x5b130f(0x482)],_0xf1c36e=this[_0x5b130f(0x36c)];_0xf1c36e['delete'](_0x485132),this[_0x5b130f(0x24e)][_0x5b130f(0x366)](_0xf1c36e);}['_getMergeRange'](_0x4620ee,_0x213ab7){const _0x508270=_0x529b57;var _0x5cb988;let _0x21adcf=(_0x5cb988=this['_univerInstanceService'][_0x508270(0x3a3)](this[_0x508270(0x4b5)]))==null||(_0x5cb988=_0x5cb988[_0x508270(0x425)](_0x4620ee))==null?void 0x0:_0x5cb988[_0x508270(0x4c0)]();return(_0x21adcf==null?void 0x0:_0x21adcf[_0x508270(0x452)](_0x2dfaba=>_0x54099e[_0x508270(0x382)]['contains'](_0x2dfaba,_0x213ab7)))||_0x213ab7;}['_onRefRangeChange'](){const _0x35c829=_0x529b57;let _0x218b15=new _0x54099e[(_0x35c829(0x317))](),_0x3d3dec=_0x452724(),_0x1b3014=()=>{const _0x3c57e4=_0x35c829;_0x218b15[_0x3c57e4(0x1c0)]();let _0x5a9b64=(_0x31ede7,_0x4b5cf4,_0x20bea1,_0xc4a00)=>{const _0x118e3d=_0x3c57e4;let _0x370d19=[];switch(_0x31ede7['id']){case _0x13da0d[_0x118e3d(0x35f)][_0x118e3d(0x190)]:_0x370d19=(0x0,_0x13da0d[_0x118e3d(0x47d)])(_0x31ede7,_0xc4a00);break;case _0x13da0d[_0x118e3d(0x35f)][_0x118e3d(0x444)]:_0x370d19=(0x0,_0x13da0d['handleDeleteRangeMoveUp'])(_0x31ede7,_0xc4a00);break;case _0x13da0d[_0x118e3d(0x35f)][_0x118e3d(0x2d1)]:_0x370d19=(0x0,_0x13da0d['handleInsertCol'])(_0x31ede7,_0xc4a00);break;case _0x13da0d['EffectRefRangId']['InsertRangeMoveDownCommandId']:_0x370d19=(0x0,_0x13da0d[_0x118e3d(0x3b1)])(_0x31ede7,_0xc4a00);break;case _0x13da0d['EffectRefRangId'][_0x118e3d(0x331)]:_0x370d19=(0x0,_0x13da0d[_0x118e3d(0x353)])(_0x31ede7,_0xc4a00);break;case _0x13da0d[_0x118e3d(0x35f)][_0x118e3d(0x336)]:_0x370d19=(0x0,_0x13da0d[_0x118e3d(0x323)])(_0x31ede7,_0xc4a00);break;case _0x13da0d[_0x118e3d(0x35f)][_0x118e3d(0x27c)]:_0x370d19=(0x0,_0x13da0d[_0x118e3d(0x3fb)])(_0x31ede7,_0xc4a00);break;case _0x13da0d[_0x118e3d(0x35f)]['RemoveColCommandId']:_0x370d19=(0x0,_0x13da0d[_0x118e3d(0x30c)])(_0x31ede7,_0xc4a00);break;case _0x13da0d[_0x118e3d(0x35f)][_0x118e3d(0x3e2)]:_0x370d19=(0x0,_0x13da0d['handleIRemoveRow'])(_0x31ede7,_0xc4a00);break;}let _0x1f97b4=(0x0,_0x13da0d[_0x118e3d(0x3ad)])(_0x370d19,_0xc4a00),_0x5721ed=this['cursorInfo'][_0x118e3d(0x480)](_0x4b5cf4);if(_0x5721ed&&_0x1f97b4){let _0x348ab2={..._0x5721ed,'range':_0x1f97b4};this[_0x118e3d(0x36c)][_0x118e3d(0x340)](_0x4b5cf4,_0x348ab2),_0x3d3dec(()=>{let _0x8148a6=this['_refRangeService']['registerRefRange'](_0x1f97b4,_0x3d68b5=>(_0x8148a6['dispose'](),_0x5a9b64(_0x3d68b5,_0x4b5cf4,_0x20bea1,_0x1f97b4)));_0x218b15['add'](_0x8148a6);});}return{'redos':[],'undos':[]};};this[_0x3c57e4(0x36c)][_0x3c57e4(0x27d)]((_0x53bba3,_0x898934)=>{const _0x3da5af=_0x3c57e4;let {range:_0x28e46d,sheetID:_0x259a75}=_0x53bba3,_0x588d3f=this[_0x3da5af(0x1f8)][_0x3da5af(0x37f)](_0x28e46d,_0x2dd56e=>(_0x588d3f[_0x3da5af(0x1c0)](),_0x5a9b64(_0x2dd56e,_0x898934,_0x259a75,_0x28e46d)));_0x218b15[_0x3da5af(0x293)](_0x588d3f);});};this[_0x35c829(0x1a1)]((0x0,_0x54099e[_0x35c829(0x1d4)])(this[_0x35c829(0x24e)][_0x35c829(0x1a7)](()=>{_0x1b3014();})));}[_0x529b57(0x4c2)](){const _0x354ad2=_0x529b57;var _0x44bed1,_0x151278;if(this[_0x354ad2(0x486)]=!0x0,((_0x44bed1=this['_univerInstanceService'][_0x354ad2(0x496)]())==null?void 0x0:_0x44bed1[_0x354ad2(0x2b5)]())!==this['unitID'])return;let _0x13dedd=(_0x151278=this[_0x354ad2(0x309)][_0x354ad2(0x480)](_0x13da0d['SheetsSelectionsService'])[_0x354ad2(0x392)]())==null?void 0x0:_0x151278[0x0],_0x185a94=this['_univerInstanceService'][_0x354ad2(0x1e3)](_0x54099e[_0x354ad2(0x1d1)][_0x354ad2(0x1d9)])[_0x354ad2(0x41b)]();_0x13dedd&&_0x185a94&&this[_0x354ad2(0x234)](_0x185a94[_0x354ad2(0x2a3)](),_0x13dedd);}[_0x529b57(0x25f)](){const _0x5986d7=_0x529b57;this[_0x5986d7(0x486)]=!0x1;}};_0x4bca1d=_0x5949f5([_0x3c6f51(0x2,(0x0,_0x54099e[_0x529b57(0x40a)])(_0x54099e[_0x529b57(0x3dd)])),_0x3c6f51(0x3,(0x0,_0x54099e[_0x529b57(0x40a)])(_0x4d357d)),_0x3c6f51(0x4,(0x0,_0x54099e[_0x529b57(0x40a)])(_0x39299b[_0x529b57(0x1eb)])),_0x3c6f51(0x5,_0x54099e[_0x529b57(0x454)]),_0x3c6f51(0x6,_0x54099e[_0x529b57(0x2e1)]),_0x3c6f51(0x7,(0x0,_0x54099e[_0x529b57(0x40a)])(_0x13da0d[_0x529b57(0x1b0)]))],_0x4bca1d);function _0x311c62(_0x17c6b7){const _0x50dedd=_0x529b57;let _0x537f94;try{_0x537f94=JSON[_0x50dedd(0x49b)](_0x17c6b7);}catch{return null;}if(typeof _0x537f94!=_0x50dedd(0x224)||!_0x537f94)return null;let _0x346046=_0x537f94;if(_0x346046[_0x50dedd(0x218)]!==_0x50dedd(0x388)||typeof _0x346046[_0x50dedd(0x29e)]!=_0x50dedd(0x49d)||typeof _0x346046[_0x50dedd(0x2ec)]!=_0x50dedd(0x49d))return null;let _0x546900=Array['isArray'](_0x346046['selectedIds'])?_0x346046[_0x50dedd(0x2ea)][_0x50dedd(0x21a)](_0x4c0acb=>typeof _0x4c0acb==_0x50dedd(0x49d)):[],_0x318d0f=typeof _0x346046[_0x50dedd(0x442)]==_0x50dedd(0x49d)?_0x346046[_0x50dedd(0x442)]:null;return{'kind':_0x50dedd(0x388),'unitId':_0x346046[_0x50dedd(0x29e)],'subUnitId':_0x346046[_0x50dedd(0x2ec)],'selectedIds':_0x546900,'focusedId':_0x318d0f};}let _0x3eae39=class extends _0x54099e[_0x529b57(0x2ad)]{get[_0x529b57(0x36c)](){const _0x543d1a=_0x529b57;return this[_0x543d1a(0x24e)][_0x543d1a(0x36e)]();}get[_0x529b57(0x2e8)](){const _0x471f33=_0x529b57;return this[_0x471f33(0x3e3)][_0x471f33(0x36e)]();}constructor(_0x5e5036,_0x13a350,_0x48de18,_0x397813,_0x212ab8){const _0x48f40d=_0x529b57;super(),this['unitID']=_0x5e5036,this['_session']=_0x13a350,this[_0x48f40d(0x437)]=_0x48de18,this[_0x48f40d(0x4d1)]=_0x397813,this[_0x48f40d(0x33f)]=_0x212ab8,_0x77e721(this,'_online',!0x1),_0x77e721(this,'_init',!0x1),_0x77e721(this,_0x48f40d(0x24e),new _0x541406['BehaviorSubject'](new Map())),_0x77e721(this,_0x48f40d(0x3d3),this[_0x48f40d(0x24e)][_0x48f40d(0x24b)]()),_0x77e721(this,_0x48f40d(0x3e3),new _0x541406[(_0x48f40d(0x225))]([])),_0x77e721(this,_0x48f40d(0x198),this['_roomMembers$'][_0x48f40d(0x2a7)]((0x0,_0x541406['debounceTime'])(0x12c))),_0x77e721(this,_0x48f40d(0x234),(0x0,_0x54099e[_0x48f40d(0x322)])(_0x25588f=>{const _0x5d3fe6=_0x48f40d;let _0x2181dd=_0x25588f[_0x5d3fe6(0x3b5)];if(!_0x2181dd||_0x2181dd[_0x5d3fe6(0x29e)]!==this['unitID'])return;let _0x34fa47={'kind':_0x5d3fe6(0x388),'unitId':_0x2181dd[_0x5d3fe6(0x29e)],'subUnitId':_0x2181dd[_0x5d3fe6(0x2ec)],'selectedIds':_0x25588f[_0x5d3fe6(0x2ea)]['filter'](_0x117e40=>typeof _0x117e40==_0x5d3fe6(0x49d)),'focusedId':_0x25588f[_0x5d3fe6(0x442)]},_0x4d9a95={'eventID':_0x37a654[_0x5d3fe6(0x269)][_0x5d3fe6(0x301)],'data':{'unitID':this[_0x5d3fe6(0x4b5)],'memberID':this[_0x5d3fe6(0x200)][_0x5d3fe6(0x31f)](),'selection':JSON[_0x5d3fe6(0x2d8)](_0x34fa47)}};this[_0x5d3fe6(0x200)]['send'](_0x4d9a95,this[_0x5d3fe6(0x4b5)]);},0x64));}[_0x529b57(0x1c0)](){const _0x161265=_0x529b57;super[_0x161265(0x1c0)](),this['_cursorInfo$'][_0x161265(0x366)](new Map()),this[_0x161265(0x24e)][_0x161265(0x32e)](),this['_roomMembers$'][_0x161265(0x366)]([]),this[_0x161265(0x3e3)][_0x161265(0x32e)]();}[_0x529b57(0x318)](){const _0x253d40=_0x529b57;this[_0x253d40(0x2cb)]||(this[_0x253d40(0x2cb)]=!0x0,this[_0x253d40(0x200)][_0x253d40(0x3b2)]['pipe']((0x0,_0x541406['takeUntil'])(this[_0x253d40(0x2e2)]))[_0x253d40(0x1a7)](_0x332bb4=>{const _0xb712e=_0x253d40;_0x332bb4===_0x39299b[_0xb712e(0x4ae)]['ONLINE']?this[_0xb712e(0x4c2)]():this[_0xb712e(0x25f)]();}),this[_0x253d40(0x200)][_0x253d40(0x2dd)][_0x253d40(0x2a7)]((0x0,_0x541406['takeUntil'])(this['dispose$']))[_0x253d40(0x1a7)](_0x4110a5=>{const _0x3accf2=_0x253d40;let _0x2d0d7a=_0x4110a5['eventID'];_0x2d0d7a===_0x37a654['CollaborationEvent'][_0x3accf2(0x301)]&&this[_0x3accf2(0x33d)](_0x4110a5),_0x2d0d7a===_0x37a654[_0x3accf2(0x269)][_0x3accf2(0x3f6)]&&this['_onCursorDelete'](_0x4110a5);}),this[_0x253d40(0x33f)][_0x253d40(0x39b)][_0x253d40(0x2a7)]((0x0,_0x541406[_0x253d40(0x39f)])(this[_0x253d40(0x2e2)]))[_0x253d40(0x1a7)](_0x323b29=>{const _0x3d1e30=_0x253d40;this[_0x3d1e30(0x486)]&&this[_0x3d1e30(0x234)](_0x323b29);}));}[_0x529b57(0x33d)](_0x4dc71d){const _0x349f4d=_0x529b57;var _0x11fce4,_0x500d66,_0x2d70ce,_0x59104e;let {memberID:_0x16eb80,selection:_0x2085ea}=_0x4dc71d[_0x349f4d(0x482)];if(_0x16eb80===((_0x11fce4=(_0x500d66=this[_0x349f4d(0x200)])[_0x349f4d(0x31f)])==null?void 0x0:_0x11fce4[_0x349f4d(0x2f2)](_0x500d66)))return;let _0x5cfc2f=_0x311c62(_0x2085ea);if(!_0x5cfc2f||_0x5cfc2f[_0x349f4d(0x29e)]!==this['unitID'])return;let _0x3735e9=(_0x2d70ce=(_0x59104e=this[_0x349f4d(0x4d1)]['getMember'](this[_0x349f4d(0x4b5)],_0x16eb80))==null?void 0x0:_0x59104e['name'])==null?_0x349f4d(0x313):_0x2d70ce,_0x49f65e={'color':this[_0x349f4d(0x437)][_0x349f4d(0x1d5)](_0x16eb80),'name':_0x3735e9,'unitId':_0x5cfc2f[_0x349f4d(0x29e)],'subUnitId':_0x5cfc2f['subUnitId'],'selectedIds':_0x5cfc2f[_0x349f4d(0x2ea)],'focusedId':_0x5cfc2f[_0x349f4d(0x442)],'selection':_0x2085ea},_0x98782=new Map(this['cursorInfo']);_0x98782[_0x349f4d(0x340)](_0x16eb80,_0x49f65e),this['_cursorInfo$'][_0x349f4d(0x366)](_0x98782);}['_onCursorDelete'](_0x2cf4a4){const _0xe376ee=_0x529b57;let {memberID:_0xebf014}=_0x2cf4a4[_0xe376ee(0x482)],_0x3debb5=new Map(this['cursorInfo']);_0x3debb5[_0xe376ee(0x472)](_0xebf014),this[_0xe376ee(0x24e)][_0xe376ee(0x366)](_0x3debb5);}['_toggleOnline'](){const _0x4200a0=_0x529b57;this[_0x4200a0(0x486)]=!0x0,this[_0x4200a0(0x234)](this[_0x4200a0(0x33f)][_0x4200a0(0x3aa)]());}['_toggleOffline'](){const _0x40a635=_0x529b57;this[_0x40a635(0x486)]=!0x1;}};_0x3eae39=_0x5949f5([_0x3c6f51(0x2,(0x0,_0x54099e[_0x529b57(0x40a)])(_0x4d357d)),_0x3c6f51(0x3,(0x0,_0x54099e[_0x529b57(0x40a)])(_0x39299b[_0x529b57(0x1eb)])),_0x3c6f51(0x4,(0x0,_0x54099e[_0x529b57(0x40a)])(_0x339c27[_0x529b57(0x192)]))],_0x3eae39);let _0x1776e9=class extends _0x54099e['RxDisposable']{constructor(_0x88bc50,_0xb7c3b5,_0x2fe1ec){const _0x2c785b=_0x529b57;super(),this[_0x2c785b(0x471)]=_0x88bc50,this[_0x2c785b(0x309)]=_0xb7c3b5,this[_0x2c785b(0x351)]=_0x2fe1ec,_0x77e721(this,'_entities',new Map()),_0x77e721(this,_0x2c785b(0x1e5),new _0x541406[(_0x2c785b(0x37d))]()),this[_0x2c785b(0x2cb)]();}[_0x529b57(0x1c0)](){const _0x28489c=_0x529b57;super['dispose'](),this['_entityInit$'][_0x28489c(0x32e)](),this['_entities']['forEach'](_0x896909=>_0x896909[_0x28489c(0x1c0)]());}['getCollabCursors$'](_0x45b56b){const _0x4239ee=_0x529b57;return this[_0x4239ee(0x29b)][_0x4239ee(0x4d8)](_0x45b56b)?this[_0x4239ee(0x29b)][_0x4239ee(0x480)](_0x45b56b)['cursorInfo$']:this[_0x4239ee(0x1e5)][_0x4239ee(0x2a7)]((0x0,_0x541406[_0x4239ee(0x21a)])(_0x4f9b8d=>_0x4f9b8d[_0x4239ee(0x4b5)]===_0x45b56b),(0x0,_0x541406[_0x4239ee(0x19a)])(_0x2525ba=>_0x2525ba[_0x4239ee(0x3d3)]));}['_init'](){const _0x5c2f23=_0x529b57;this['_univerInstanceService']['getTypeOfUnitAdded$'](_0x54099e[_0x5c2f23(0x1d1)][_0x5c2f23(0x1d9)])['pipe']((0x0,_0x541406[_0x5c2f23(0x39f)])(this[_0x5c2f23(0x2e2)]))['subscribe'](async _0x8d9841=>{const _0xc68190=_0x5c2f23;let _0xe7cc9e=_0x8d9841[_0xc68190(0x45f)][_0xc68190(0x2b5)](),_0x3d5a85=await this[_0xc68190(0x4b8)](_0xe7cc9e);this[_0xc68190(0x1e5)][_0xc68190(0x366)](_0x3d5a85),this[_0xc68190(0x29b)][_0xc68190(0x340)](_0xe7cc9e,_0x3d5a85);}),this[_0x5c2f23(0x471)]['getTypeOfUnitAdded$'](_0x54099e[_0x5c2f23(0x1d1)][_0x5c2f23(0x42a)])['pipe']((0x0,_0x541406[_0x5c2f23(0x39f)])(this[_0x5c2f23(0x2e2)]))['pipe']((0x0,_0x541406[_0x5c2f23(0x21a)])(_0x19005f=>!_0x19005f['unit']['getUnitId']()['startsWith']('__')))[_0x5c2f23(0x1a7)](async _0x3a24fe=>{const _0x487475=_0x5c2f23;let {unit:_0x26dd4b}=_0x3a24fe,_0x149efb=_0x26dd4b[_0x487475(0x2b5)](),_0x229155=await this[_0x487475(0x4a0)](_0x149efb);this['_entityInit$'][_0x487475(0x366)](_0x229155),this['_entities'][_0x487475(0x340)](_0x149efb,_0x229155);}),this['_univerInstanceService'][_0x5c2f23(0x431)](_0x54099e['UniverInstanceType'][_0x5c2f23(0x3f5)])[_0x5c2f23(0x2a7)]((0x0,_0x541406[_0x5c2f23(0x39f)])(this[_0x5c2f23(0x2e2)]))[_0x5c2f23(0x1a7)](async _0x3bd5e6=>{const _0x3e6e4d=_0x5c2f23;let _0x283168=_0x3bd5e6[_0x3e6e4d(0x45f)][_0x3e6e4d(0x2b5)](),_0x7fb65=await this['_startSlideCollabCursor'](_0x283168);this[_0x3e6e4d(0x1e5)]['next'](_0x7fb65),this[_0x3e6e4d(0x29b)][_0x3e6e4d(0x340)](_0x283168,_0x7fb65);}),this[_0x5c2f23(0x471)][_0x5c2f23(0x431)](_0x54099e[_0x5c2f23(0x1d1)]['UNIVER_BOARD'])['pipe']((0x0,_0x541406[_0x5c2f23(0x39f)])(this[_0x5c2f23(0x2e2)]))['subscribe'](async _0x35ad27=>{const _0xe11869=_0x5c2f23;let _0x340b56=_0x35ad27[_0xe11869(0x45f)]['getUnitId'](),_0x3553df=await this[_0xe11869(0x458)](_0x340b56);this['_entityInit$']['next'](_0x3553df),this[_0xe11869(0x29b)][_0xe11869(0x340)](_0x340b56,_0x3553df);}),(0x0,_0x541406[_0x5c2f23(0x3c0)])(this['_univerInstanceService'][_0x5c2f23(0x191)](_0x54099e[_0x5c2f23(0x1d1)][_0x5c2f23(0x42a)]),this[_0x5c2f23(0x471)]['getTypeOfUnitDisposed$'](_0x54099e[_0x5c2f23(0x1d1)][_0x5c2f23(0x1d9)]),this[_0x5c2f23(0x471)]['getTypeOfUnitDisposed$'](_0x54099e['UniverInstanceType']['UNIVER_SLIDE']),this[_0x5c2f23(0x471)][_0x5c2f23(0x191)](_0x54099e['UniverInstanceType'][_0x5c2f23(0x195)]))[_0x5c2f23(0x2a7)]((0x0,_0x541406[_0x5c2f23(0x39f)])(this[_0x5c2f23(0x2e2)]))[_0x5c2f23(0x1a7)](_0xcb8fe9=>{const _0x537609=_0x5c2f23;let _0x1742ca=_0xcb8fe9[_0x537609(0x2b5)](),_0x4f4d57=this[_0x537609(0x29b)]['get'](_0x1742ca);_0x4f4d57&&(_0x4f4d57['dispose'](),this[_0x537609(0x29b)][_0x537609(0x472)](_0x1742ca));});}async[_0x529b57(0x4b8)](_0x2a7f96){const _0x8ae913=_0x529b57;let _0x5beed8=await this[_0x8ae913(0x351)][_0x8ae913(0x3d5)](_0x2a7f96),_0x17e049=this['_injector'][_0x8ae913(0x206)](_0x4bca1d,_0x2a7f96,_0x5beed8);return _0x17e049[_0x8ae913(0x318)](),_0x17e049;}async[_0x529b57(0x4a0)](_0x5108fe){const _0x4054c9=_0x529b57;let _0x59df07=await this['_collabSessionService']['requireSession'](_0x5108fe),_0x46cfad=this['_injector']['createInstance'](_0x2e2c39,_0x5108fe,_0x59df07);return _0x46cfad[_0x4054c9(0x318)](),_0x46cfad;}async['_startSlideCollabCursor'](_0x10a90b){const _0x458522=_0x529b57;let _0x4a29cb=await this[_0x458522(0x351)][_0x458522(0x3d5)](_0x10a90b),_0x15da00=this['_injector']['createInstance'](_0x3eae39,_0x10a90b,_0x4a29cb);return _0x15da00[_0x458522(0x318)](),_0x15da00;}async[_0x529b57(0x458)](_0xc4f416){const _0x2950fb=_0x529b57;let _0x59e9f4=await this[_0x2950fb(0x351)][_0x2950fb(0x3d5)](_0xc4f416),_0x323ca1=this[_0x2950fb(0x309)][_0x2950fb(0x206)](_0x587e62,_0xc4f416,_0x59e9f4);return _0x323ca1[_0x2950fb(0x318)](),_0x323ca1;}};_0x1776e9=_0x5949f5([_0x3c6f51(0x0,_0x54099e['IUniverInstanceService']),_0x3c6f51(0x1,(0x0,_0x54099e[_0x529b57(0x40a)])(_0x54099e['Injector'])),_0x3c6f51(0x2,(0x0,_0x54099e[_0x529b57(0x40a)])(_0x39299b[_0x529b57(0x3a7)]))],_0x1776e9);let _0x501055=class extends _0x54099e[_0x529b57(0x2ad)]{constructor(_0x3aad2f,_0x2a474c,_0x36ddab){const _0x973d7d=_0x529b57;super(),this[_0x973d7d(0x47e)]=_0x3aad2f,this['_collabCursorController']=_0x2a474c,this[_0x973d7d(0x37b)]=_0x36ddab,_0x77e721(this,_0x973d7d(0x2a4),new Set()),_0x77e721(this,_0x973d7d(0x3ce),!0x1),_0x77e721(this,_0x973d7d(0x265),!0x1),_0x77e721(this,'_latestCursors',new Map()),this['_init']();}[_0x529b57(0x1c0)](){const _0x1001cf=_0x529b57;this[_0x1001cf(0x3bc)](),super[_0x1001cf(0x1c0)]();}[_0x529b57(0x2cb)](){const _0x36ab67=_0x529b57;let _0x443b45=this[_0x36ab67(0x233)][_0x36ab67(0x1a3)](this['_context'][_0x36ab67(0x29e)]);this[_0x36ab67(0x1a1)]((0x0,_0x54099e[_0x36ab67(0x1d4)])((0x0,_0x541406[_0x36ab67(0x2a8)])([_0x443b45,this[_0x36ab67(0x47e)][_0x36ab67(0x45f)][_0x36ab67(0x26e)],this[_0x36ab67(0x37b)][_0x36ab67(0x1c3)]])[_0x36ab67(0x2a7)]((0x0,_0x541406['takeUntil'])(this['dispose$']))[_0x36ab67(0x1a7)](([_0x572504])=>{const _0x32ee6e=_0x36ab67;let _0x5c5ea3=this[_0x32ee6e(0x47e)][_0x32ee6e(0x45f)][_0x32ee6e(0x40d)](),_0x19f229=new Map();_0x572504['forEach']((_0x54b3eb,_0x43856f)=>{const _0x346daf=_0x32ee6e;_0x54b3eb[_0x346daf(0x2ec)]===_0x5c5ea3&&_0x19f229[_0x346daf(0x340)](_0x43856f,{..._0x54b3eb,'color':this['_themeService'][_0x346daf(0x211)](_0x54b3eb['color'])});}),this['_latestCursors']=_0x19f229,this[_0x32ee6e(0x3bb)]();})));let _0x45fc86=this[_0x36ab67(0x47e)][_0x36ab67(0x31d)];this[_0x36ab67(0x1a1)]((0x0,_0x54099e[_0x36ab67(0x1d4)])(_0x45fc86[_0x36ab67(0x41e)][_0x36ab67(0x2a7)]((0x0,_0x541406[_0x36ab67(0x39f)])(this[_0x36ab67(0x2e2)]))[_0x36ab67(0x1a7)](()=>{const _0x4620df=_0x36ab67;this[_0x4620df(0x265)]||this[_0x4620df(0x3bb)]();})));}['_scheduleRender'](){const _0x1db1d4=_0x529b57;this[_0x1db1d4(0x3ce)]||(this[_0x1db1d4(0x3ce)]=!0x0,Promise[_0x1db1d4(0x4cd)]()[_0x1db1d4(0x2ff)](()=>{const _0x3cace9=_0x1db1d4;this['_renderScheduled']=!0x1,this[_0x3cace9(0x368)]();}));}['_render'](){const _0x57c181=_0x529b57;this[_0x57c181(0x3bc)]();let _0xeca473=this[_0x57c181(0x47e)][_0x57c181(0x45f)][_0x57c181(0x40d)](),_0x1fa773=[];if(this[_0x57c181(0x3f4)][_0x57c181(0x27d)]((_0x213b09,_0x10e1cc)=>{const _0x53ff63=_0x57c181;_0x213b09[_0x53ff63(0x2ec)]===_0xeca473&&_0x213b09['selectedIds'][_0x53ff63(0x27d)](_0x26a8f4=>{const _0xea3a28=_0x53ff63;let _0x14c0dd=(0x0,_0x5a835b[_0xea3a28(0x40c)])(_0x213b09[_0xea3a28(0x29e)],_0x26a8f4),_0x183ca0=this[_0xea3a28(0x1a5)](_0x14c0dd);if(!_0x183ca0)return;let _0x530db3=this['_getObjectBounds'](_0x183ca0);_0x1fa773['push'](new _0x496379('board-collab-cursor-'+_0x10e1cc+'-'+_0x26a8f4,{..._0x213b09,'left':_0x530db3['left'],'top':_0x530db3[_0xea3a28(0x261)],'width':_0x530db3[_0xea3a28(0x1c1)],'height':_0x530db3[_0xea3a28(0x1ef)],'angle':_0x183ca0['angle'],'evented':!0x1,'zIndex':_0x413c21}));});}),_0x1fa773[_0x57c181(0x354)]===0x0){this['_context'][_0x57c181(0x31d)][_0x57c181(0x373)](!0x0);return;}this[_0x57c181(0x265)]=!0x0,this[_0x57c181(0x47e)][_0x57c181(0x31d)][_0x57c181(0x3f9)](_0x1fa773,_0x413c21),this[_0x57c181(0x265)]=!0x1,this['_cursors']=new Set(_0x1fa773),this[_0x57c181(0x47e)][_0x57c181(0x31d)]['makeDirty'](!0x0);}[_0x529b57(0x3bc)](){const _0x36338a=_0x529b57;let _0x4f8134=Array[_0x36338a(0x1d6)](this[_0x36338a(0x2a4)]);if(_0x4f8134[_0x36338a(0x354)]===0x0)return;let _0x251dc7=this[_0x36338a(0x47e)][_0x36338a(0x31d)];_0x36338a(0x2c6)in _0x251dc7&&typeof _0x251dc7[_0x36338a(0x2c6)]==_0x36338a(0x22d)?_0x251dc7['removeObjects'](_0x4f8134):_0x4f8134['forEach'](_0x1802d6=>{const _0x5812bf=_0x36338a;_0x5812bf(0x1c6)in _0x251dc7&&typeof _0x251dc7['removeObject']==_0x5812bf(0x22d)?_0x251dc7[_0x5812bf(0x1c6)](_0x1802d6):_0x1802d6['dispose']();}),this[_0x36338a(0x2a4)]['clear'](),_0x251dc7[_0x36338a(0x373)](!0x0);}['_getSceneObjectByKey'](_0x7b36e4){const _0x396d54=_0x529b57;var _0x59bc7c,_0x1d33ba,_0x1f52e4;let _0xcbbe5e=this['_context'][_0x396d54(0x31d)];return(_0x59bc7c=(_0x1d33ba=(_0x1f52e4=_0xcbbe5e[_0x396d54(0x464)])==null?void 0x0:_0x1f52e4[_0x396d54(0x2f2)](_0xcbbe5e,_0x7b36e4))==null?_0xcbbe5e[_0x396d54(0x3e8)](_0x7b36e4):_0x1d33ba)==null?null:_0x59bc7c;}['_getObjectBounds'](_0x131bf1){const _0x122a14=_0x529b57;var _0x30a87b,_0x173d2d;let _0x5f1e93=_0x131bf1;return(_0x30a87b=(_0x173d2d=_0x5f1e93[_0x122a14(0x356)])==null?void 0x0:_0x173d2d[_0x122a14(0x2f2)](_0x5f1e93))==null?{'left':_0x131bf1[_0x122a14(0x3c4)],'top':_0x131bf1[_0x122a14(0x261)],'width':_0x131bf1[_0x122a14(0x1c1)],'height':_0x131bf1[_0x122a14(0x1ef)]}:_0x30a87b;}};_0x501055=_0x5949f5([_0x3c6f51(0x1,(0x0,_0x54099e['Inject'])(_0x1776e9)),_0x3c6f51(0x2,(0x0,_0x54099e[_0x529b57(0x40a)])(_0x54099e[_0x529b57(0x19e)]))],_0x501055);let _0x25f51b=_0x529b57(0x4e3);var _0x302a26=class{constructor(_0x3c313e,_0x1b7310,_0x39dcad,_0x17d76a){const _0x383ded=_0x529b57;this['_cursor']=_0x3c313e,this['_scene']=_0x1b7310,this['_docSkeleton']=_0x39dcad,this['_document']=_0x17d76a,_0x77e721(this,'_shapes',[]),_0x77e721(this,_0x383ded(0x22c),null),_0x77e721(this,_0x383ded(0x260),null),_0x77e721(this,_0x383ded(0x1b8),null),_0x77e721(this,_0x383ded(0x4c5),null),_0x77e721(this,'_eventUnsubscribe',null),this[_0x383ded(0x368)]();}set['_hover'](_0x4cf9a1){const _0x95907c=_0x529b57;_0x4cf9a1?(this[_0x95907c(0x1b8)]&&this[_0x95907c(0x1b8)]['hide'](),this[_0x95907c(0x260)]&&this[_0x95907c(0x260)][_0x95907c(0x23d)]()):(this['_anchorDot']&&this[_0x95907c(0x1b8)][_0x95907c(0x23d)](),this[_0x95907c(0x260)]&&this[_0x95907c(0x260)]['hide']());}[_0x529b57(0x1c0)](){const _0x229ecc=_0x529b57;for(let _0x5519db of this[_0x229ecc(0x28b)])_0x5519db[_0x229ecc(0x1c0)]();this[_0x229ecc(0x260)]&&this[_0x229ecc(0x260)][_0x229ecc(0x1c0)](),this[_0x229ecc(0x1b8)]&&this[_0x229ecc(0x1b8)]['dispose'](),this[_0x229ecc(0x22c)]&&this[_0x229ecc(0x22c)][_0x229ecc(0x1c0)](),this[_0x229ecc(0x397)]&&this['_eventUnsubscribe']();}[_0x529b57(0x368)](){const _0x260269=_0x529b57;let {_docSkeleton:_0x12f4b6,_document:_0x56bef7}=this,{color:_0x2b0450,name:_0x4b2576,ranges:_0x447f06}=this[_0x260269(0x19d)],_0x43de4f=_0x56bef7['getOffsetConfig'](),{docsLeft:_0x8f24e4,docsTop:_0x2c1397}=_0x43de4f,_0xcbb929=new _0xc39b36[(_0x260269(0x3ca))](_0x43de4f,_0x12f4b6);for(let {startOffset:_0x514d5b,endOffset:_0x5cb697,rangeType:_0x4fecef,segmentId:_0x21b348,segmentPage:_0x16021e,collapsed:_0x3273ae,isActive:_0x1e362d}of _0x447f06){let _0xe75bc3=_0x12f4b6[_0x260269(0x308)](_0x514d5b,!0x0,_0x21b348,_0x16021e),_0x534c3b=_0x12f4b6[_0x260269(0x308)](_0x5cb697,!0x0,_0x21b348,_0x16021e);if(_0x534c3b==null&&(_0x534c3b=_0x12f4b6[_0x260269(0x308)](_0x5cb697-0x1,!0x1,_0x21b348,_0x16021e)),_0x1e362d){let {contentBoxPointGroup:_0x31e127}=_0xcbb929['getRangePointData'](_0x534c3b,_0x534c3b);if(_0x31e127[_0x260269(0x354)]===0x0)continue;this[_0x260269(0x327)](_0x2b0450,_0x31e127,_0x8f24e4,_0x2c1397,_0x4b2576),this['_eventUnsubscribe']=this[_0x260269(0x339)]();}if(_0xe75bc3&&_0x534c3b){if(_0x4fecef===_0x54099e[_0x260269(0x3fa)][_0x260269(0x38d)]){var _0x4e95d5;let {pointGroup:_0x4ecf86}=(_0x4e95d5=new _0xc39b36[(_0x260269(0x217))](_0x43de4f,_0x12f4b6)[_0x260269(0x337)](_0xe75bc3,_0x534c3b))==null?{}:_0x4e95d5;if(_0x4ecf86==null||_0x4ecf86['length']===0x0)continue;this[_0x260269(0x4df)](_0x2b0450,_0x4ecf86,_0x8f24e4,_0x2c1397);}else{if(!_0x3273ae){let {borderBoxPointGroup:_0x4f44e7}=_0xcbb929[_0x260269(0x337)](_0xe75bc3,_0x534c3b);if(_0x4f44e7[_0x260269(0x354)]===0x0)continue;this[_0x260269(0x28f)](_0x2b0450,_0x4f44e7,_0x8f24e4,_0x2c1397);}}}}}[_0x529b57(0x327)](_0x4a61b4,_0x17e6f6,_0x4e336b,_0x2150fa,_0x2df8f6){const _0x10f334=_0x529b57;let {left:_0x1e0e5f,top:_0x351cea,height:_0x5b0f98}=this[_0x10f334(0x235)](_0x17e6f6),_0x30f0f6=1.5/this[_0x10f334(0x2c2)](),_0x18d030=new _0x36fb2d[(_0x10f334(0x1a6))](_0x25f51b+(0x0,_0x54099e[_0x10f334(0x3c3)])(0x6),{'left':_0x1e0e5f+_0x4e336b-_0x30f0f6,'top':_0x351cea+_0x2150fa,'height':_0x5b0f98,'width':1.5,'fill':_0x4a61b4||(0x0,_0x36fb2d['getColor'])(_0x54099e[_0x10f334(0x470)][_0x10f334(0x485)],0x0),'strokeWidth':_0x30f0f6,'stroke':_0x10f334(0x287),'evented':!0x0});this[_0x10f334(0x22c)]=_0x18d030,this[_0x10f334(0x248)][_0x10f334(0x3f0)](_0x18d030,_0xc39b36[_0x10f334(0x1a8)]);let _0x267609=new _0x36fb2d['Rect'](_0x25f51b+(0x0,_0x54099e[_0x10f334(0x3c3)])(0x6),{'left':_0x1e0e5f+_0x4e336b-_0x30f0f6,'top':_0x351cea+_0x2150fa-0x4/0x2,'height':0x4,'width':0x4,'fill':_0x4a61b4||(0x0,_0x36fb2d[_0x10f334(0x2f4)])(_0x54099e['COLORS']['black'],0x0),'strokeWidth':0x0,'stroke':_0x4a61b4||(0x0,_0x36fb2d['getColor'])(_0x54099e['COLORS'][_0x10f334(0x485)],0x0),'evented':!0x1});this[_0x10f334(0x1b8)]=_0x267609,this[_0x10f334(0x248)][_0x10f334(0x3f0)](_0x267609,_0xc39b36[_0x10f334(0x1a8)]);let _0x4dd72e=new _0xbc2002(_0x25f51b+(0x0,_0x54099e[_0x10f334(0x3c3)])(0x6),{'left':_0x1e0e5f+_0x4e336b-_0x30f0f6,'top':_0x351cea+_0x2150fa-0x14,'text':_0x2df8f6,'color':_0x4a61b4});this[_0x10f334(0x260)]=_0x4dd72e,this['_scene']['addObject'](_0x4dd72e,_0xc39b36[_0x10f334(0x1a8)]),this[_0x10f334(0x2d9)]=!0x1;}[_0x529b57(0x339)](){const _0x57f3f0=_0x529b57;let _0x54a313=this[_0x57f3f0(0x22c)][_0x57f3f0(0x2e7)][_0x57f3f0(0x305)](()=>{const _0x3d37ff=_0x57f3f0;this[_0x3d37ff(0x2d9)]=!0x0;}),_0x3fbb83=this['_anchor'][_0x57f3f0(0x46c)]['subscribeEvent'](()=>{const _0x452d49=_0x57f3f0;this[_0x452d49(0x4c5)]&&clearTimeout(this[_0x452d49(0x4c5)]),this[_0x452d49(0x4c5)]=setTimeout(()=>{const _0x2a9d8f=_0x452d49;this[_0x2a9d8f(0x2d9)]=!0x1;},0x7d0);});return()=>{const _0x2439e3=_0x57f3f0;_0x54a313[_0x2439e3(0x310)](),_0x3fbb83[_0x2439e3(0x310)]();};}[_0x529b57(0x28f)](_0x3d22b6,_0x37a528,_0x5e74d0,_0x377fc5){const _0x1bf485=_0x529b57;let _0x36f322=0.2,_0x49a118=new _0x54099e['ColorKit'](_0x3d22b6)[_0x1bf485(0x2f8)](_0x36f322)[_0x1bf485(0x488)](),_0x25f910=new _0x36fb2d[(_0x1bf485(0x36a))](_0x1bf485(0x20e)+(0x0,_0x54099e[_0x1bf485(0x3c3)])(0x6),{'pointsGroup':_0x37a528,'fill':_0x49a118||(0x0,_0x36fb2d[_0x1bf485(0x2f4)])(_0x54099e[_0x1bf485(0x470)][_0x1bf485(0x485)],_0x36f322),'left':_0x5e74d0,'top':_0x377fc5,'evented':!0x1,'debounceParentDirty':!0x1});this['_shapes'][_0x1bf485(0x29a)](_0x25f910),this[_0x1bf485(0x248)]['addObject'](_0x25f910,_0xc39b36[_0x1bf485(0x1a8)]);}[_0x529b57(0x4df)](_0x313282,_0x138173,_0xd6b677,_0x11840d){const _0x46e7c2=_0x529b57;let _0x3c3632=0.2,_0x125603=new _0x54099e['ColorKit'](_0x313282)[_0x46e7c2(0x2f8)](_0x3c3632)['toRgbString'](),_0xf18b27=new _0x36fb2d[(_0x46e7c2(0x36a))](_0x46e7c2(0x24d)+(0x0,_0x54099e['generateRandomId'])(0x6),{'pointsGroup':_0x138173,'fill':_0x125603||(0x0,_0x36fb2d[_0x46e7c2(0x2f4)])(_0x54099e[_0x46e7c2(0x470)][_0x46e7c2(0x485)],_0x3c3632),'left':_0xd6b677,'top':_0x11840d,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x46e7c2(0x28b)]['push'](_0xf18b27),this[_0x46e7c2(0x248)]['addObject'](_0xf18b27,_0xc39b36[_0x46e7c2(0x1a8)]);}[_0x529b57(0x235)](_0x9fcc33){let _0x1b3194=_0x9fcc33[0x0],_0x5594e5=_0x1b3194[0x0],_0x4bd097=_0x1b3194[0x2],{x:_0x15f2ac,y:_0x2db4a8}=_0x5594e5,{x:_0x5546a3,y:_0x5be3ba}=_0x4bd097;return{'left':_0x15f2ac,'top':_0x2db4a8,'width':_0x5546a3-_0x15f2ac,'height':_0x5be3ba-_0x2db4a8};}[_0x529b57(0x2c2)](){const _0x635a3c=_0x529b57;let {scaleX:_0x168b2c,scaleY:_0x578f41}=this[_0x635a3c(0x248)][_0x635a3c(0x32a)]();return Math[_0x635a3c(0x2ed)](_0x168b2c,_0x578f41);}};let _0x1e89c5=class extends _0x54099e[_0x529b57(0x2ad)]{constructor(_0x5be51e,_0x1ea334,_0x2e20f6,_0x5e8aca,_0x3cb8d5){const _0x14d00c=_0x529b57;super(),this[_0x14d00c(0x47e)]=_0x5be51e,this['_docSkeletonManagerService']=_0x1ea334,this[_0x14d00c(0x233)]=_0x2e20f6,this[_0x14d00c(0x48e)]=_0x5e8aca,this[_0x14d00c(0x37b)]=_0x3cb8d5,_0x77e721(this,_0x14d00c(0x3cc),[]),_0x77e721(this,_0x14d00c(0x2a4),[]),this[_0x14d00c(0x2cb)]();}[_0x529b57(0x2cb)](){const _0xa80959=_0x529b57;let _0x523c0f=this[_0xa80959(0x47e)]['unitId'],_0xd3f560=this[_0xa80959(0x2c3)];this[_0xa80959(0x1a1)]((0x0,_0x541406[_0xa80959(0x2a8)])([this[_0xa80959(0x233)][_0xa80959(0x1a3)](_0x523c0f),this[_0xa80959(0x37b)][_0xa80959(0x1c3)]])[_0xa80959(0x2a7)]((0x0,_0x51a8f2[_0xa80959(0x4d9)])(([_0x409747,_0xad78da])=>({'skeleton':_0xd3f560['getSkeleton'](),'cursors':[..._0x409747[_0xa80959(0x326)]()][_0xa80959(0x476)](_0x12ac60=>({..._0x12ac60,'color':this[_0xa80959(0x37b)]['getColorFromTheme'](_0x12ac60[_0xa80959(0x4c8)])}))})))[_0xa80959(0x1a7)](_0x37c436=>{const _0x31a4c6=_0xa80959;if(this[_0x31a4c6(0x3bc)](),_0x37c436){let {skeleton:_0x56c633,cursors:_0xb679fd}=_0x37c436;this[_0x31a4c6(0x2fe)](_0x56c633,_0xb679fd);}})),this[_0xa80959(0x35b)](),this[_0xa80959(0x370)]();}[_0x529b57(0x2fe)](_0x250818,_0x4abed9){const _0x49ffc9=_0x529b57;let {scene:_0x3ba5ad,mainComponent:_0x1e35fc}=this[_0x49ffc9(0x47e)],_0x2c0f62=_0x4abed9[_0x49ffc9(0x4d9)](_0x4d19e1=>new _0x302a26(_0x4d19e1,_0x3ba5ad,_0x250818,_0x1e35fc));this['_cursorShapes']=_0x2c0f62,this['_cursors']=_0x4abed9;}[_0x529b57(0x262)](){const _0x3f35ab=_0x529b57;this['_removeCollabCursors']();let {scene:_0x285918,mainComponent:_0x21828f}=this[_0x3f35ab(0x47e)],_0x25a034=this[_0x3f35ab(0x2c3)]['getSkeleton'](),_0x2155ba=this[_0x3f35ab(0x2a4)][_0x3f35ab(0x4d9)](_0x3b23ba=>new _0x302a26(_0x3b23ba,_0x285918,_0x25a034,_0x21828f));this[_0x3f35ab(0x3cc)]=_0x2155ba;}[_0x529b57(0x3bc)](){const _0x30c5fd=_0x529b57;this['_cursorShapes'][_0x30c5fd(0x27d)](_0x36ccbd=>_0x36ccbd[_0x30c5fd(0x1c0)]()),this[_0x30c5fd(0x3cc)]=[];}[_0x529b57(0x370)](){const _0x36517f=_0x529b57;let _0x34b820=[_0xc39b36[_0x36517f(0x4e6)]['id']];this[_0x36517f(0x1a1)](this[_0x36517f(0x48e)][_0x36517f(0x311)](_0x1346eb=>{const _0x176d43=_0x36517f;_0x34b820['includes'](_0x1346eb['id'])&&_0x1346eb[_0x176d43(0x4bc)][_0x176d43(0x29e)]===this[_0x176d43(0x47e)][_0x176d43(0x29e)]&&this[_0x176d43(0x262)]();}));}['_initResize'](){const _0x2792db=_0x529b57;this[_0x2792db(0x1a1)]((0x0,_0x54099e[_0x2792db(0x3b6)])(this[_0x2792db(0x47e)]['engine']['onTransformChange$'])['pipe']((0x0,_0x51a8f2[_0x2792db(0x21a)])(_0x3127a9=>_0x3127a9[_0x2792db(0x3c7)]===_0x36fb2d[_0x2792db(0x48f)][_0x2792db(0x324)]),(0x0,_0x51a8f2['throttleTime'])(0x10))[_0x2792db(0x1a7)](()=>{const _0x3a7432=_0x2792db;this[_0x3a7432(0x262)]();}));}};_0x1e89c5=_0x5949f5([_0x3c6f51(0x1,(0x0,_0x54099e[_0x529b57(0x40a)])(_0x2433e3[_0x529b57(0x380)])),_0x3c6f51(0x2,(0x0,_0x54099e['Inject'])(_0x1776e9)),_0x3c6f51(0x3,_0x54099e[_0x529b57(0x2e1)]),_0x3c6f51(0x4,(0x0,_0x54099e[_0x529b57(0x40a)])(_0x54099e[_0x529b57(0x19e)]))],_0x1e89c5);var _0x363829=class extends _0x36fb2d[_0x529b57(0x31b)]{constructor(_0x3e1d16,_0x8d8f1e){const _0x370d24=_0x529b57;if(super(_0x3e1d16,_0x8d8f1e),_0x77e721(this,_0x370d24(0x240),void 0x0),_0x77e721(this,'_hovered',!0x1),_0x77e721(this,_0x370d24(0x3e5),void 0x0),_0x77e721(this,'_name',''),_0x77e721(this,_0x370d24(0x345),_0x370d24(0x261)),_0x77e721(this,_0x370d24(0x424),void 0x0),_0x77e721(this,_0x370d24(0x4a3),void 0x0),_0x77e721(this,_0x370d24(0x3e1),void 0x0),_0x77e721(this,_0x370d24(0x205),0x4),_0x77e721(this,_0x370d24(0x25c),void 0x0),_0x77e721(this,_0x370d24(0x28e),void 0x0),_0x77e721(this,_0x370d24(0x1ae),!0x0),_0x77e721(this,'_offsetY',0x0),_0x77e721(this,_0x370d24(0x395),_0x370d24(0x263)),_0x8d8f1e){var _0x22b94f;if(this['setShapeProps'](_0x8d8f1e),_0x8d8f1e[_0x370d24(0x199)]&&((_0x22b94f=_0x8d8f1e[_0x370d24(0x1b9)])==null?this['_highlightSecond']:_0x22b94f)){var _0x127f80;this[_0x370d24(0x18b)]((_0x127f80=_0x8d8f1e[_0x370d24(0x1b9)])==null?this['_highlightSecond']:_0x127f80);}}this[_0x370d24(0x2e7)]['subscribeEvent'](()=>this[_0x370d24(0x4bf)]({'hovered':!0x0})),this[_0x370d24(0x46c)][_0x370d24(0x305)](()=>this[_0x370d24(0x4bf)]({'hovered':!0x1}));}[_0x529b57(0x391)](_0x13937c){const _0x31c22e=_0x529b57;this[_0x31c22e(0x352)]=_0x13937c;}[_0x529b57(0x4bf)](_0x289e42){const _0x4839a0=_0x529b57;var _0x3f7bc0,_0x2a69ec,_0x56d6e2,_0x30e936,_0x186bbb,_0x1dd7a7,_0x90adc2,_0x1191f3;this[_0x4839a0(0x240)]=(_0x3f7bc0=_0x289e42[_0x4839a0(0x4c8)])==null?this['_color']:_0x3f7bc0,this[_0x4839a0(0x39e)]=(_0x2a69ec=_0x289e42['hovered'])==null?this[_0x4839a0(0x39e)]:_0x2a69ec,this['_range']=(_0x56d6e2=_0x289e42['range'])==null?this[_0x4839a0(0x3e5)]:_0x56d6e2,this['_name']=(_0x30e936=_0x289e42[_0x4839a0(0x2ab)])==null?this['_name']:_0x30e936,this[_0x4839a0(0x345)]=(_0x186bbb=_0x289e42[_0x4839a0(0x446)])==null?this['_labelPosition']:_0x186bbb,this['_backgroundColor']=(_0x1dd7a7=_0x289e42[_0x4839a0(0x2b6)])==null?this['_backgroundColor']:_0x1dd7a7,this[_0x4839a0(0x4a3)]=(_0x90adc2=_0x289e42[_0x4839a0(0x314)])==null?this[_0x4839a0(0x4a3)]:_0x90adc2,this[_0x4839a0(0x395)]=(_0x1191f3=_0x289e42[_0x4839a0(0x438)])==null?this[_0x4839a0(0x395)]:_0x1191f3,_0x289e42[_0x4839a0(0x1b9)]!==void 0x0&&(this[_0x4839a0(0x205)]=_0x289e42[_0x4839a0(0x1b9)]),_0x289e42[_0x4839a0(0x199)]!==void 0x0&&(this['_highlight']=_0x289e42[_0x4839a0(0x199)]),_0x289e42['offsetY']!==void 0x0&&(this['_offsetY']=_0x289e42[_0x4839a0(0x286)]),this[_0x4839a0(0x229)]({'width':_0x289e42[_0x4839a0(0x1c1)],'height':_0x289e42[_0x4839a0(0x1ef)]});}[_0x529b57(0x256)](_0x3718a6){const _0x11f13c=_0x529b57;let {row:_0x140759,column:_0x7e6040}=_0x3718a6;if(_0x140759>=this[_0x11f13c(0x3e5)][_0x11f13c(0x4ad)]&&_0x140759<=this[_0x11f13c(0x3e5)]['endRow']&&_0x7e6040>=this['_range'][_0x11f13c(0x45a)]&&_0x7e6040<=this[_0x11f13c(0x3e5)][_0x11f13c(0x243)]){this[_0x11f13c(0x4bf)]({'hovered':!0x0});return;}this['setShapeProps']({'hovered':!0x1});}[_0x529b57(0x18b)](_0x2333c4){const _0x3987e7=_0x529b57;this[_0x3987e7(0x4b2)](),this['_isBlinkVisible']=!0x0,this[_0x3987e7(0x28e)]=window[_0x3987e7(0x249)](()=>{const _0x173db3=_0x3987e7;this['_isBlinkVisible']=!this[_0x173db3(0x1ae)],this[_0x173db3(0x373)](!0x0);},0x1f4),this[_0x3987e7(0x25c)]=window[_0x3987e7(0x38a)](()=>{const _0x2f7b96=_0x3987e7;this[_0x2f7b96(0x4b2)](),this[_0x2f7b96(0x1ae)]=!0x0,this[_0x2f7b96(0x373)](!0x0);},_0x2333c4*0x3e8);}['_stopBlinking'](){const _0x1e3dd1=_0x529b57;this['_blinkIntervalTimer']&&(window[_0x1e3dd1(0x30b)](this[_0x1e3dd1(0x28e)]),this[_0x1e3dd1(0x28e)]=void 0x0),this[_0x1e3dd1(0x25c)]&&(window[_0x1e3dd1(0x20a)](this['_blinkTimer']),this[_0x1e3dd1(0x25c)]=void 0x0);}[_0x529b57(0x490)](_0x1e65be){return!0x1;}['dispose'](){this['_stopBlinking'](),super['dispose']();}[_0x529b57(0x427)](_0x5cbc3f){const _0x156cc2=_0x529b57;let _0x3e524f=this[_0x156cc2(0x240)],_0x313544=this[_0x156cc2(0x424)];if(this[_0x156cc2(0x3e1)]&&!this[_0x156cc2(0x1ae)]&&(_0x3e524f=this['_getLighterColor'](this[_0x156cc2(0x240)]),_0x313544=this[_0x156cc2(0x424)]?this[_0x156cc2(0x18f)](this[_0x156cc2(0x424)]):void 0x0),_0x36fb2d[_0x156cc2(0x1a6)][_0x156cc2(0x284)](_0x5cbc3f,{'width':this[_0x156cc2(0x1c1)],'height':this[_0x156cc2(0x1ef)],'strokeWidth':this[_0x156cc2(0x23c)]||1.5,'stroke':_0x3e524f,'evented':!0x1,'fill':_0x313544}),this[_0x156cc2(0x39e)]||this[_0x156cc2(0x4a3)]){var _0x1e79c1;_0x5cbc3f[_0x156cc2(0x428)]();let _0x140de7=this['_labelHorizontalPosition']===_0x156cc2(0x3c4)?-_0x3f192e(_0x5cbc3f,this[_0x156cc2(0x2c1)]):this['width'];_0x5cbc3f['transform'](0x1,0x0,0x0,0x1,_0x140de7,(this[_0x156cc2(0x345)]===_0x156cc2(0x376)?0x0:-0x14)+((_0x1e79c1=this[_0x156cc2(0x352)])==null?0x0:_0x1e79c1)),_0xbc2002[_0x156cc2(0x284)](_0x5cbc3f,{'text':this[_0x156cc2(0x2c1)],'color':_0x3e524f}),_0x5cbc3f[_0x156cc2(0x450)]();}}[_0x529b57(0x18f)](_0x436260){const _0x3d6058=_0x529b57;return _0x436260['startsWith']('#')?'rgba('+Number['parseInt'](_0x436260[_0x3d6058(0x4d7)](0x1,0x3),0x10)+',\x20'+Number[_0x3d6058(0x4db)](_0x436260[_0x3d6058(0x4d7)](0x3,0x5),0x10)+',\x20'+Number[_0x3d6058(0x4db)](_0x436260[_0x3d6058(0x4d7)](0x5,0x7),0x10)+_0x3d6058(0x2be):_0x436260[_0x3d6058(0x289)](_0x3d6058(0x3d7))?_0x436260[_0x3d6058(0x201)](/[\d.]+\)$/g,_0x3d6058(0x1c4)):_0x436260[_0x3d6058(0x289)](_0x3d6058(0x4b0))?_0x436260[_0x3d6058(0x201)](_0x3d6058(0x4b0),_0x3d6058(0x3d7))[_0x3d6058(0x201)](')',_0x3d6058(0x2be)):_0x436260;}};let _0x5e3dfd=class extends _0x54099e[_0x529b57(0x2ad)]{constructor(_0x205f9e,_0x541158,_0x2a67b8,_0xb0dca1){const _0x3f7cf4=_0x529b57;super(),this[_0x3f7cf4(0x47e)]=_0x205f9e,this[_0x3f7cf4(0x325)]=_0x541158,this['_collabCursorController']=_0x2a67b8,this[_0x3f7cf4(0x37b)]=_0xb0dca1,_0x77e721(this,'_cursors',new Set()),_0x77e721(this,_0x3f7cf4(0x3ac),null),_0x77e721(this,_0x3f7cf4(0x333),null),this[_0x3f7cf4(0x2cb)]();}[_0x529b57(0x2cb)](){const _0x1cee55=_0x529b57;this[_0x1cee55(0x325)][_0x1cee55(0x4bd)][_0x1cee55(0x2a7)]((0x0,_0x51a8f2[_0x1cee55(0x39f)])(this[_0x1cee55(0x2e2)]),(0x0,_0x51a8f2[_0x1cee55(0x19a)])(_0x5098df=>{const _0x1789de=_0x1cee55;if(_0x5098df){let _0x50baad=_0x5098df[_0x1789de(0x264)];return(0x0,_0x541406['combineLatest'])(this[_0x1789de(0x233)][_0x1789de(0x1a3)](this[_0x1789de(0x47e)][_0x1789de(0x29e)]),this[_0x1789de(0x37b)][_0x1789de(0x1c3)])['pipe']((0x0,_0x51a8f2[_0x1789de(0x4d9)])(([_0x44440b,_0x22f3ad])=>{const _0x10f8bf=_0x1789de;let _0x1f0afb=new Map();return _0x44440b[_0x10f8bf(0x27d)]((_0x37c463,_0x294dc7)=>{const _0x2772a8=_0x10f8bf;if(_0x37c463[_0x2772a8(0x491)]===_0x50baad){let _0x18ca18={..._0x37c463};_0x18ca18[_0x2772a8(0x4c8)]=this['_themeService'][_0x2772a8(0x211)](_0x37c463['color']),_0x1f0afb[_0x2772a8(0x340)](_0x294dc7,_0x18ca18);}}),{'skeleton':_0x5098df,'cursors':_0x1f0afb};}));}return(0x0,_0x541406['of'])({'skeleton':null,'cursors':new Map()});}))[_0x1cee55(0x1a7)](({skeleton:_0x42ae27,cursors:_0x368b4e})=>{const _0x508f09=_0x1cee55;this[_0x508f09(0x3bc)](),_0x42ae27&&this[_0x508f09(0x2fe)](_0x42ae27,_0x368b4e);}),this[_0x1cee55(0x1a1)](this[_0x1cee55(0x325)][_0x1cee55(0x4bd)]['pipe']((0x0,_0x51a8f2['takeUntil'])(this[_0x1cee55(0x2e2)]))['subscribe'](_0x37fde7=>{const _0x59947e=_0x1cee55;var _0x308ebd;if(_0x37fde7==null)return;(_0x308ebd=this[_0x59947e(0x333)])==null||_0x308ebd[_0x59947e(0x310)](),this[_0x59947e(0x333)]=null;let {skeleton:_0x26b240}=_0x37fde7,{scene:_0x188784}=this[_0x59947e(0x47e)];this['_pointerMoveDisposable']=_0x188784['onPointerMove$'][_0x59947e(0x305)]((0x0,_0x54099e['debounce'])(_0x5c8fbf=>{const _0x24230e=_0x59947e;var _0x27181b,_0x280dbf;let {offsetX:_0xcf2e53,offsetY:_0x550ff1}=_0x5c8fbf,{x:_0x547aa3,y:_0x2fd5b0}=_0x188784['getRelativeToViewportCoord'](_0x36fb2d[_0x24230e(0x2f1)][_0x24230e(0x3d0)]([_0xcf2e53,_0x550ff1])),{scaleX:_0x1dc3cb,scaleY:_0x49500a}=_0x188784[_0x24230e(0x32a)](),_0x4327a9=_0x188784[_0x24230e(0x33b)](_0x36fb2d[_0x24230e(0x393)][_0x24230e(0x2bb)]),_0x45c3f3=_0x188784[_0x24230e(0x4ca)](_0x36fb2d['Vector2'][_0x24230e(0x3d0)]([_0x547aa3,_0x2fd5b0]),_0x4327a9),_0x308366=_0x26b240[_0x24230e(0x1e9)](_0xcf2e53,_0x550ff1,_0x1dc3cb,_0x49500a,_0x45c3f3);((_0x27181b=this['_lastPointer'])==null?void 0x0:_0x27181b[_0x24230e(0x33e)])===_0x308366[_0x24230e(0x33e)]&&((_0x280dbf=this[_0x24230e(0x3ac)])==null?void 0x0:_0x280dbf[_0x24230e(0x226)])===_0x308366[_0x24230e(0x226)]||this[_0x24230e(0x2a4)][_0x24230e(0x27d)](_0x30fa6d=>{const _0x5964c1=_0x24230e;_0x30fa6d[_0x5964c1(0x256)](_0x308366);});},0x64));})),this[_0x1cee55(0x1a1)]((0x0,_0x54099e[_0x1cee55(0x1d4)])(()=>{const _0x5014c0=_0x1cee55;var _0x48fb66;(_0x48fb66=this[_0x5014c0(0x333)])==null||_0x48fb66[_0x5014c0(0x310)](),this['_pointerMoveDisposable']=null;}));}['_updateCollabCursors'](_0x3c3840,_0x35aeed){const _0x18ac51=_0x529b57;let _0xeefb5a=this[_0x18ac51(0x325)][_0x18ac51(0x23a)]();if(!_0xeefb5a)return;let _0x4273a5=this[_0x18ac51(0x272)]();if(!_0x4273a5)return;this['_cursors']['forEach'](_0x5c1a51=>{const _0x56825c=_0x18ac51;_0x5c1a51[_0x56825c(0x373)]();});let {scene:_0x364470}=_0x4273a5,_0x979c26=_0x403a3a(Array[_0x18ac51(0x1d6)](_0x35aeed[_0x18ac51(0x326)]()))[_0x18ac51(0x4d9)](_0x499ddd=>{const _0x537dde=_0x18ac51;let {color:_0x37eba0,range:_0x52d0c9,name:_0x5b864c,selection:_0x2cb62b,sheetID:_0x2ae34a}=_0x499ddd,{startColumn:_0x3aa852,startRow:_0x23a2d9,endColumn:_0xac5390,endRow:_0x4138ce}=_0x52d0c9,_0x1b730f=(0x0,_0x189f64['getCoordByCell'])(_0x23a2d9,_0x3aa852,_0x364470,_0xeefb5a),_0x455875=(0x0,_0x189f64[_0x537dde(0x3df)])(_0x4138ce,_0xac5390,_0x364470,_0xeefb5a),{columnHeaderHeightAndMarginTop:_0x1d7a01}=_0xeefb5a,{startX:_0x2aa598,startY:_0x434c5b}=_0x1b730f,{endX:_0x4a8cb5,endY:_0x5b46ba}=_0x455875,_0x5d6345=_0x4a8cb5-_0x2aa598,_0x190c1c=_0x5b46ba-_0x434c5b;return new _0x363829(_0x5b864c,{'labelPosition':_0x434c5b-_0x1d7a01>=0x14?_0x537dde(0x261):_0x537dde(0x376),'sheetID':_0x2ae34a,'range':_0x52d0c9,'color':_0x37eba0,'name':_0x5b864c,'selection':_0x2cb62b,'left':_0x2aa598,'top':_0x434c5b,'width':_0x5d6345,'height':_0x190c1c,'evented':!0x1,'zIndex':0x1389});});_0x364470[_0x18ac51(0x3f9)](_0x979c26,0x1),this[_0x18ac51(0x2a4)]=new Set(_0x979c26);}[_0x529b57(0x3bc)](){const _0x7af3c4=_0x529b57;var _0x325e70;(_0x325e70=this[_0x7af3c4(0x2a4)])==null||_0x325e70[_0x7af3c4(0x27d)](_0x159bac=>_0x159bac[_0x7af3c4(0x1c0)]());}['_getSheetObject'](){const _0x366783=_0x529b57;return(0x0,_0x189f64[_0x366783(0x32f)])(this[_0x366783(0x47e)]['unit'],this['_context']);}};_0x5e3dfd=_0x5949f5([_0x3c6f51(0x1,(0x0,_0x54099e[_0x529b57(0x40a)])(_0x189f64[_0x529b57(0x2ca)])),_0x3c6f51(0x2,(0x0,_0x54099e[_0x529b57(0x40a)])(_0x1776e9)),_0x3c6f51(0x3,(0x0,_0x54099e['Inject'])(_0x54099e['ThemeService']))],_0x5e3dfd);function _0x403a3a(_0x5a3f9b){const _0x1c179b=_0x529b57;let _0x31e654=new Map();return _0x5a3f9b[_0x1c179b(0x27d)](_0x2916c9=>{const _0x32a4fb=_0x1c179b;if(_0x31e654['has'](_0x2916c9[_0x32a4fb(0x242)])){let _0x5c9575=_0x31e654['get'](_0x2916c9[_0x32a4fb(0x242)]);_0x5c9575[_0x32a4fb(0x2ab)]+=',\x20'+_0x2916c9[_0x32a4fb(0x2ab)];}else _0x31e654[_0x32a4fb(0x340)](_0x2916c9[_0x32a4fb(0x242)],_0x2916c9);}),Array['from'](_0x31e654['values']());}let _0x547da7=class extends _0x54099e[_0x529b57(0x2ad)]{constructor(_0x1a1cfb,_0x44a643,_0x1a16dc){const _0xf92092=_0x529b57;super(),this[_0xf92092(0x47e)]=_0x1a1cfb,this['_collabCursorController']=_0x44a643,this[_0xf92092(0x37b)]=_0x1a16dc,_0x77e721(this,'_cursors',new Set()),_0x77e721(this,_0xf92092(0x3ce),!0x1),_0x77e721(this,_0xf92092(0x265),!0x1),_0x77e721(this,_0xf92092(0x3f4),new Map()),this[_0xf92092(0x2cb)]();}['dispose'](){const _0x9bcdb=_0x529b57;this[_0x9bcdb(0x3bc)](),super[_0x9bcdb(0x1c0)]();}[_0x529b57(0x2cb)](){const _0x4851c2=_0x529b57;let _0x115529=this[_0x4851c2(0x47e)][_0x4851c2(0x45f)][_0x4851c2(0x2db)][_0x4851c2(0x423)],_0x46fb54=this[_0x4851c2(0x233)][_0x4851c2(0x1a3)](this['_context']['unitId']);this['disposeWithMe']((0x0,_0x54099e[_0x4851c2(0x1d4)])((0x0,_0x541406[_0x4851c2(0x2a8)])([_0x46fb54,_0x115529,this['_themeService'][_0x4851c2(0x1c3)]])[_0x4851c2(0x2a7)]((0x0,_0x541406[_0x4851c2(0x39f)])(this[_0x4851c2(0x2e2)]))[_0x4851c2(0x1a7)](([_0x2b712e,_0x1d0070])=>{const _0x2d8e88=_0x4851c2;let _0xf52315=new Map();_0x2b712e[_0x2d8e88(0x27d)]((_0xc15561,_0x163630)=>{const _0x4a49be=_0x2d8e88;_0xc15561[_0x4a49be(0x2ec)]===_0x1d0070&&_0xf52315[_0x4a49be(0x340)](_0x163630,{..._0xc15561,'color':this[_0x4a49be(0x37b)][_0x4a49be(0x211)](_0xc15561[_0x4a49be(0x4c8)])});}),this[_0x2d8e88(0x3f4)]=_0xf52315,this[_0x2d8e88(0x3bb)]();})));let _0x3fef73=this[_0x4851c2(0x47e)][_0x4851c2(0x31d)];this[_0x4851c2(0x1a1)]((0x0,_0x54099e['toDisposable'])(_0x3fef73['addObject$']['pipe']((0x0,_0x541406[_0x4851c2(0x39f)])(this[_0x4851c2(0x2e2)]))[_0x4851c2(0x1a7)](()=>{const _0x4fb7f4=_0x4851c2;this[_0x4fb7f4(0x265)]||this[_0x4fb7f4(0x3bb)]();})));}['_scheduleRender'](){const _0x2261d0=_0x529b57;this[_0x2261d0(0x3ce)]||(this[_0x2261d0(0x3ce)]=!0x0,Promise[_0x2261d0(0x4cd)]()[_0x2261d0(0x2ff)](()=>{const _0x913d93=_0x2261d0;this[_0x913d93(0x3ce)]=!0x1,this['_render']();}));}[_0x529b57(0x368)](){const _0x48b9d9=_0x529b57;var _0x230bdb;this[_0x48b9d9(0x3bc)]();let _0x52f3c3=(_0x230bdb=this[_0x48b9d9(0x47e)][_0x48b9d9(0x45f)][_0x48b9d9(0x2db)][_0x48b9d9(0x3f3)]())==null?void 0x0:_0x230bdb[_0x48b9d9(0x3c8)]();if(!_0x52f3c3)return;let _0x33f1eb=[];if(this['_latestCursors'][_0x48b9d9(0x27d)]((_0x512e50,_0x76082c)=>{const _0x23bea2=_0x48b9d9;_0x512e50[_0x23bea2(0x2ec)]===_0x52f3c3&&_0x512e50[_0x23bea2(0x2ea)][_0x23bea2(0x27d)](_0x51212a=>{const _0x11f160=_0x23bea2;let _0x59acba=(0x0,_0x339c27[_0x11f160(0x34a)])(_0x512e50[_0x11f160(0x29e)],_0x512e50[_0x11f160(0x2ec)],_0x51212a),_0x2b2656=this[_0x11f160(0x1a5)](_0x59acba);if(!_0x2b2656)return;let _0x21faa5=this[_0x11f160(0x2cf)](_0x2b2656);_0x33f1eb[_0x11f160(0x29a)](new _0x496379(_0x11f160(0x2de)+_0x76082c+'-'+_0x51212a,{..._0x512e50,'left':_0x21faa5['left'],'top':_0x21faa5['top'],'width':_0x21faa5[_0x11f160(0x1c1)],'height':_0x21faa5['height'],'angle':_0x2b2656[_0x11f160(0x43b)],'evented':!0x1,'zIndex':_0x413c21}));});}),_0x33f1eb[_0x48b9d9(0x354)]===0x0){this[_0x48b9d9(0x47e)][_0x48b9d9(0x31d)][_0x48b9d9(0x373)](!0x0);return;}this[_0x48b9d9(0x265)]=!0x0,this[_0x48b9d9(0x47e)][_0x48b9d9(0x31d)][_0x48b9d9(0x3f9)](_0x33f1eb,_0x413c21),this[_0x48b9d9(0x265)]=!0x1,this[_0x48b9d9(0x2a4)]=new Set(_0x33f1eb),this[_0x48b9d9(0x47e)][_0x48b9d9(0x31d)][_0x48b9d9(0x373)](!0x0);}[_0x529b57(0x3bc)](){const _0x5310c5=_0x529b57;let _0xc05074=Array[_0x5310c5(0x1d6)](this[_0x5310c5(0x2a4)]);if(_0xc05074[_0x5310c5(0x354)]===0x0)return;let _0x56fe27=this[_0x5310c5(0x47e)][_0x5310c5(0x31d)];_0x5310c5(0x2c6)in _0x56fe27&&typeof _0x56fe27[_0x5310c5(0x2c6)]=='function'?_0x56fe27[_0x5310c5(0x2c6)](_0xc05074):_0xc05074[_0x5310c5(0x27d)](_0x535678=>{const _0x1725e0=_0x5310c5;_0x1725e0(0x1c6)in _0x56fe27&&typeof _0x56fe27[_0x1725e0(0x1c6)]==_0x1725e0(0x22d)?_0x56fe27[_0x1725e0(0x1c6)](_0x535678):_0x535678[_0x1725e0(0x1c0)]();}),this[_0x5310c5(0x2a4)][_0x5310c5(0x2d3)](),_0x56fe27[_0x5310c5(0x373)](!0x0);}[_0x529b57(0x1a5)](_0x59a19e){const _0x4ecf22=_0x529b57;var _0x435f10,_0x49fd16,_0x33a9da;let _0x352876=this['_context'][_0x4ecf22(0x31d)];return(_0x435f10=(_0x49fd16=(_0x33a9da=_0x352876[_0x4ecf22(0x464)])==null?void 0x0:_0x33a9da[_0x4ecf22(0x2f2)](_0x352876,_0x59a19e))==null?_0x352876[_0x4ecf22(0x3e8)](_0x59a19e):_0x49fd16)==null?null:_0x435f10;}['_getObjectBounds'](_0x1740e1){const _0x4cd64b=_0x529b57;var _0x365af6,_0x21a047;let _0x1d3577=_0x1740e1;return(_0x365af6=(_0x21a047=_0x1d3577[_0x4cd64b(0x356)])==null?void 0x0:_0x21a047[_0x4cd64b(0x2f2)](_0x1d3577))==null?{'left':_0x1740e1['left'],'top':_0x1740e1[_0x4cd64b(0x261)],'width':_0x1740e1[_0x4cd64b(0x1c1)],'height':_0x1740e1['height']}:_0x365af6;}};_0x547da7=_0x5949f5([_0x3c6f51(0x1,(0x0,_0x54099e['Inject'])(_0x1776e9)),_0x3c6f51(0x2,(0x0,_0x54099e['Inject'])(_0x54099e[_0x529b57(0x19e)]))],_0x547da7);let _0x381878=class extends _0x54099e[_0x529b57(0x45b)]{constructor(_0x49ccd1,_0xa80adb,_0x589aef,_0x5e76dd,_0x1106ed,_0x28afbb){const _0x4ef84e=_0x529b57;super(),this[_0x4ef84e(0x40e)]=_0x49ccd1,this[_0x4ef84e(0x2d0)]=_0xa80adb,this['_collaborationUIEventService']=_0x589aef,this[_0x4ef84e(0x1b6)]=_0x5e76dd,this['_notificationService']=_0x1106ed,this[_0x4ef84e(0x20d)]=_0x28afbb,this['_setupBeforeClosingHandler'](),this[_0x4ef84e(0x342)]();}[_0x529b57(0x2cd)](){const _0x2e2ad6=_0x529b57;this[_0x2e2ad6(0x1a1)](this[_0x2e2ad6(0x40e)]['registerBeforeClose'](()=>{const _0x4d39b1=_0x2e2ad6;if(this[_0x4d39b1(0x2d0)][_0x4d39b1(0x2a6)][_0x4d39b1(0x1ff)])return this[_0x4d39b1(0x20d)]['t'](_0x4d39b1(0x279));}));}['_initEvent'](){const _0xc3c208=_0x529b57;this[_0xc3c208(0x1a1)](this[_0xc3c208(0x1cf)]['event$']['subscribe'](_0x177ccb=>{const _0x2bd2d7=_0xc3c208;_0x177ccb['id']===_0x39299b[_0x2bd2d7(0x215)][_0x2bd2d7(0x39c)]&&this['_messageService']['show']({'type':_0x230545[_0x2bd2d7(0x2f5)][_0x2bd2d7(0x4aa)],'content':this[_0x2bd2d7(0x20d)]['t'](_0x2bd2d7(0x25d))}),_0x177ccb['id']===_0x39299b[_0x2bd2d7(0x215)][_0x2bd2d7(0x3ed)]&&this['_messageService']['show']({'type':_0x230545[_0x2bd2d7(0x2f5)]['Warning'],'content':this['_localeService']['t']('collaboration-client-ui.collaboration.closeRoom')}),_0x177ccb['id']===_0x39299b[_0x2bd2d7(0x215)][_0x2bd2d7(0x1ed)]&&this[_0x2bd2d7(0x24a)]['show']({'title':this[_0x2bd2d7(0x20d)]['t'](_0x2bd2d7(0x3d4)),'content':this[_0x2bd2d7(0x20d)]['t'](_0x2bd2d7(0x3af)),'type':_0x2bd2d7(0x1df),'duration':0x0}),_0x177ccb['id']===_0x39299b[_0x2bd2d7(0x215)][_0x2bd2d7(0x2bc)]&&this[_0x2bd2d7(0x24a)][_0x2bd2d7(0x23d)]({'title':this[_0x2bd2d7(0x20d)]['t']('collaboration-client-ui.conflict.title'),'content':this['_localeService']['t']('collaboration-client-ui.conflict.content'),'type':_0x2bd2d7(0x1df),'duration':0x0}),_0x177ccb['id']===_0x39299b['CollaborationUIEventId']['JOIN_ROOM_FAILED']&&this['_messageService']['show']({'type':_0x230545[_0x2bd2d7(0x2f5)][_0x2bd2d7(0x4aa)],'content':this[_0x2bd2d7(0x20d)]['t'](_0x177ccb['data']||'')}),_0x177ccb['id']===_0x39299b['CollaborationUIEventId']['SOCKET_FAILED_RETRY']&&this[_0x2bd2d7(0x1b6)][_0x2bd2d7(0x23d)]({'type':_0x230545[_0x2bd2d7(0x2f5)][_0x2bd2d7(0x4aa)],'content':this[_0x2bd2d7(0x20d)]['t']('collaboration-client-ui.session.will-retry')}),_0x177ccb['id']===_0x39299b[_0x2bd2d7(0x215)][_0x2bd2d7(0x36b)]&&this[_0x2bd2d7(0x1b6)]['show']({'type':_0x230545[_0x2bd2d7(0x2f5)]['Error'],'content':this[_0x2bd2d7(0x20d)]['t'](_0x2bd2d7(0x267))}),_0x177ccb['id']===_0x39299b['CollaborationUIEventId']['SUBMIT_CHANGESET_TIMEOUT']&&this[_0x2bd2d7(0x1b6)]['show']({'type':_0x230545[_0x2bd2d7(0x2f5)]['Error'],'content':this[_0x2bd2d7(0x20d)]['t'](_0x2bd2d7(0x1da))});}));}};_0x381878=_0x5949f5([_0x3c6f51(0x0,_0x3a2e6e[_0x529b57(0x4a2)]),_0x3c6f51(0x1,_0x39299b[_0x529b57(0x27f)]),_0x3c6f51(0x2,(0x0,_0x54099e['Inject'])(_0x39299b['CollaborationUIEventService'])),_0x3c6f51(0x3,_0x3a2e6e[_0x529b57(0x1a2)]),_0x3c6f51(0x4,_0x3a2e6e['INotificationService']),_0x3c6f51(0x5,(0x0,_0x54099e[_0x529b57(0x40a)])(_0x54099e['LocaleService']))],_0x381878);let _0x47fac2=(0x0,_0x54099e[_0x529b57(0x4af)])(_0x529b57(0x22b)),_0x1ecd17=class extends _0x54099e[_0x529b57(0x2ad)]{constructor(_0x579350,_0x4924b1,_0x45afa7,_0x4f45ea,_0x3ad09a){const _0x1dadc7=_0x529b57;super(),this[_0x1dadc7(0x32d)]=_0x579350,this['_logService']=_0x4924b1,this[_0x1dadc7(0x48e)]=_0x45afa7,this[_0x1dadc7(0x453)]=_0x4f45ea,_0x3ad09a?_0x3ad09a[_0x1dadc7(0x38c)]()[_0x1dadc7(0x2ff)](()=>this[_0x1dadc7(0x2cb)]()):(this[_0x1dadc7(0x1fd)][_0x1dadc7(0x241)](_0x1dadc7(0x2d7),_0x1dadc7(0x4a4)),this[_0x1dadc7(0x2cb)]());}async[_0x529b57(0x2cb)](){const _0x4797f7=_0x529b57;let _0x185aca=this[_0x4797f7(0x32d)]['getParam'](_0x4797f7(0x45f)),_0x49fc22=this[_0x4797f7(0x32d)][_0x4797f7(0x26f)](_0x4797f7(0x3c7)),_0x51ee72=this[_0x4797f7(0x32d)][_0x4797f7(0x26f)](_0x4797f7(0x2c8));if(!_0x185aca||!_0x49fc22){this[_0x4797f7(0x1fd)]['debug'](_0x4797f7(0x2d7),_0x4797f7(0x418));return;}let _0x4033d3=await this[_0x4797f7(0x453)][_0x4797f7(0x46e)](_0x185aca,Number(_0x49fc22),_0x51ee72);_0x4033d3&&_0x4033d3 instanceof _0x54099e[_0x4797f7(0x448)]&&this[_0x4797f7(0x24c)](_0x4033d3);}async[_0x529b57(0x24c)](_0x1c2364){const _0xbfd1ec=_0x529b57;await this[_0xbfd1ec(0x3d1)](_0x1c2364),_0x1c2364[_0xbfd1ec(0x292)][_0xbfd1ec(0x2a7)]((0x0,_0x541406[_0xbfd1ec(0x39f)])(this[_0xbfd1ec(0x2e2)]))[_0xbfd1ec(0x1a7)](_0x5f1200=>{_0x5f1200&&this['_updateURLWithCurrentState'](_0x5f1200);}),this[_0xbfd1ec(0x32d)][_0xbfd1ec(0x237)][_0xbfd1ec(0x2a7)]((0x0,_0x541406['takeUntil'])(this[_0xbfd1ec(0x2e2)]))[_0xbfd1ec(0x1a7)](()=>this['_updateSubUnitFromURLParams'](_0x1c2364));}[_0x529b57(0x389)](_0x564199,_0xd982d4=!0x1){const _0x393913=_0x529b57;let _0x37045c=this['_urlService'][_0x393913(0x26f)]('subunit');_0x564199[_0x393913(0x2a3)]()!==_0x37045c&&this[_0x393913(0x32d)][_0x393913(0x3fc)](_0x393913(0x2c8),_0x564199[_0x393913(0x2a3)](),_0xd982d4);}async[_0x529b57(0x3d1)](_0x3a3f4f){const _0x53b623=_0x529b57;var _0x4a602e;let _0x35be2e=this[_0x53b623(0x32d)][_0x53b623(0x26f)](_0x53b623(0x2c8));if(!_0x35be2e||!_0x3a3f4f[_0x53b623(0x425)](_0x35be2e)){let _0x314202=_0x3a3f4f['getUnhiddenWorksheets']()[0x0],_0x88ca6c=_0x3a3f4f[_0x53b623(0x425)](_0x314202);if(!_0x88ca6c)return;this[_0x53b623(0x389)](_0x88ca6c,!0x0),await this['_commandService'][_0x53b623(0x1f4)](_0x13da0d[_0x53b623(0x281)]['id'],{'unitId':_0x3a3f4f[_0x53b623(0x2b5)](),'subUnitId':_0x314202});return;}((_0x4a602e=_0x3a3f4f[_0x53b623(0x41b)]())==null?void 0x0:_0x4a602e[_0x53b623(0x2a3)]())!==_0x35be2e&&await this[_0x53b623(0x48e)][_0x53b623(0x1f4)](_0x13da0d[_0x53b623(0x281)]['id'],{'unitId':_0x3a3f4f[_0x53b623(0x2b5)](),'subUnitId':_0x35be2e});}};_0x1ecd17=_0x5949f5([_0x3c6f51(0x0,_0x47fac2),_0x3c6f51(0x1,_0x54099e[_0x529b57(0x4d4)]),_0x3c6f51(0x2,_0x54099e[_0x529b57(0x2e1)]),_0x3c6f51(0x3,(0x0,_0x54099e['Inject'])(_0x39299b[_0x529b57(0x4cc)])),_0x3c6f51(0x4,(0x0,_0x54099e[_0x529b57(0x254)])(_0xbfbef5['IRemoteInstanceService']))],_0x1ecd17);let _0x2d6dea=class{constructor(_0x34203d,_0xec58f1){const _0x172f9f=_0x529b57;this[_0x172f9f(0x227)]=_0x34203d,this[_0x172f9f(0x3f7)]=_0xec58f1;}['transformIMECache'](_0x2a9fad){const _0x1b12c4=_0x529b57;this[_0x1b12c4(0x2fd)](_0x2a9fad),this['_transformPreviousActiveRange'](_0x2a9fad);}[_0x529b57(0x4ba)](_0x272a0d){const _0x32db79=_0x529b57;let {unitID:_0x3ac386}=_0x272a0d,{redoCache:_0x101018}=this[_0x32db79(0x3f7)][_0x32db79(0x33c)](_0x3ac386)['with'](_0xc39b36[_0x32db79(0x1ca)])[_0x32db79(0x457)]();if(_0x101018[_0x32db79(0x354)]===0x0)return _0x272a0d;let _0x16e47c=_0x54099e[_0x32db79(0x3ef)][_0x32db79(0x24f)](_0x272a0d[_0x32db79(0x22e)][0x0]);for(let _0x58e0c8=0x0;_0x58e0c8<_0x101018[_0x32db79(0x354)];_0x58e0c8++){let _0x406121={'id':_0x32db79(0x188),'params':{..._0x101018[_0x58e0c8]}},_0x184098=this[_0x32db79(0x227)]['transformMutation'](_0x16e47c,_0x406121,!0x1);if((0x0,_0x37a654['isTransformMutationFailure'])(_0x184098))throw _0x184098[_0x32db79(0x1df)];_0x16e47c=_0x184098[_0x32db79(0x2af)];}return{..._0x54099e['Tools'][_0x32db79(0x24f)](_0x272a0d),'mutations':[_0x16e47c]};}[_0x529b57(0x2fd)](_0x29a8cf){const _0x5b95f2=_0x529b57;let {unitID:_0xbd4f8c}=_0x29a8cf,_0x99e744=this[_0x5b95f2(0x3f7)][_0x5b95f2(0x33c)](_0xbd4f8c)[_0x5b95f2(0x37a)](_0xc39b36[_0x5b95f2(0x1ca)]),{undoCache:_0x45c8fc,redoCache:_0x5e6f90}=_0x99e744[_0x5b95f2(0x457)]();if(_0x45c8fc[_0x5b95f2(0x354)]===0x0||_0x5e6f90[_0x5b95f2(0x354)]===0x0)return;let _0x35b229=[],_0x37ff9f=[],_0x329712=_0x54099e[_0x5b95f2(0x3ef)][_0x5b95f2(0x24f)](_0x29a8cf[_0x5b95f2(0x22e)][0x0]),_0x1405a6=_0x54099e[_0x5b95f2(0x3ef)]['deepClone'](_0x29a8cf[_0x5b95f2(0x22e)][0x0]);for(let _0x2e32a5=_0x45c8fc['length']-0x1;_0x2e32a5>=0x0;_0x2e32a5--){let _0x1a48c5={'id':_0x5b95f2(0x188),'params':{..._0x45c8fc[_0x2e32a5]}},_0x42fcd2={'id':_0x5b95f2(0x188),'params':{..._0x5e6f90[_0x2e32a5]}},_0x57583b=this['_transformService'][_0x5b95f2(0x25e)](_0x329712,_0x1a48c5,!0x1),_0x3fab97=this['_transformService'][_0x5b95f2(0x25e)](_0x1405a6,_0x42fcd2,!0x1);if((0x0,_0x37a654[_0x5b95f2(0x20b)])(_0x57583b))throw _0x57583b[_0x5b95f2(0x1df)];if((0x0,_0x37a654[_0x5b95f2(0x20b)])(_0x3fab97))throw _0x3fab97[_0x5b95f2(0x1df)];_0x35b229[_0x5b95f2(0x30f)](_0x57583b[_0x5b95f2(0x1c7)][_0x5b95f2(0x4bc)]),_0x37ff9f[_0x5b95f2(0x30f)](_0x3fab97[_0x5b95f2(0x1c7)][_0x5b95f2(0x4bc)]),_0x329712=_0x57583b[_0x5b95f2(0x2af)],_0x1405a6=_0x3fab97[_0x5b95f2(0x2af)];}_0x99e744[_0x5b95f2(0x405)]({'undoCache':_0x35b229,'redoCache':_0x37ff9f});}[_0x529b57(0x406)](_0x43ac19){const _0x1534a4=_0x529b57;let {unitID:_0x148ccf}=_0x43ac19,_0x534e83=this[_0x1534a4(0x3f7)]['getRenderById'](_0x148ccf)[_0x1534a4(0x37a)](_0xc39b36[_0x1534a4(0x1ca)]),_0x811f34=_0x534e83['getActiveRange']();if(_0x811f34==null)return;let _0x336637=[{'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x43ac19['unitID'],'actions':null,'textRanges':[_0x811f34]}}],_0x3ba168=this[_0x1534a4(0x227)]['transformMutationsWithChangeset'](_0x43ac19,_0x336637);if(!(0x0,_0x37a654['isTransformMutationsWithChangesetSuccess'])(_0x3ba168))throw _0x3ba168[_0x1534a4(0x1df)];let _0x3c97c0=_0x3ba168['m2Prime'][0x0][_0x1534a4(0x4bc)]['textRanges'];Array[_0x1534a4(0x36f)](_0x3c97c0)&&_0x3c97c0[_0x1534a4(0x354)]&&_0x534e83[_0x1534a4(0x23e)](_0x3c97c0[0x0]);}};_0x2d6dea=_0x5949f5([_0x3c6f51(0x0,_0x37a654['ITransformService']),_0x3c6f51(0x1,_0x36fb2d['IRenderManagerService'])],_0x2d6dea);let _0xa482d8=class{constructor(_0x20d97c,_0x4e19dc,_0x181167){const _0x465d67=_0x529b57;this[_0x465d67(0x309)]=_0x20d97c,this[_0x465d67(0x227)]=_0x4e19dc,this[_0x465d67(0x417)]=_0x181167;}[_0x529b57(0x3cb)](_0x117572){this['_transformHistoryAndStateStack'](_0x117572);}[_0x529b57(0x4ba)](_0x554710){const _0x54a836=_0x529b57;let {unitID:_0x24f101}=_0x554710,{collaboration:_0x31af52}=this['_docStateChangeManagerService'][_0x54a836(0x41f)](_0x24f101);if(_0x31af52[_0x54a836(0x354)]===0x0)return _0x554710;let _0x186168=_0x54099e['Tools'][_0x54a836(0x24f)](_0x554710[_0x54a836(0x22e)][0x0]);for(let _0x1c3bbf=0x0;_0x1c3bbf<_0x31af52[_0x54a836(0x354)];_0x1c3bbf++){let _0x2550fc={'id':_0x54a836(0x188),'params':{'unitId':_0x31af52[_0x1c3bbf][_0x54a836(0x29e)],..._0x31af52[_0x1c3bbf][_0x54a836(0x30a)]}},_0x1f9dd5=this[_0x54a836(0x227)][_0x54a836(0x25e)](_0x186168,_0x2550fc,!0x1);if((0x0,_0x37a654[_0x54a836(0x20b)])(_0x1f9dd5))throw _0x1f9dd5[_0x54a836(0x1df)];_0x186168=_0x1f9dd5['m1Prime'];}return{..._0x54099e[_0x54a836(0x3ef)][_0x54a836(0x24f)](_0x554710),'mutations':[_0x186168]};}[_0x529b57(0x1ce)](_0x42f2f7){const _0x4f026c=_0x529b57;let {unitID:_0x20abc0}=_0x42f2f7,{history:_0x6088f6,collaboration:_0x4aa362}=this['_docStateChangeManagerService'][_0x4f026c(0x41f)](_0x20abc0);if(_0x6088f6[_0x4f026c(0x354)]===0x0&&_0x4aa362[_0x4f026c(0x354)]===0x0)return;let _0x4ed287=[],_0x2f2702=[],_0x5ea6dc=_0x54099e[_0x4f026c(0x3ef)][_0x4f026c(0x24f)](_0x42f2f7['mutations'][0x0]),_0x2665df=_0x54099e[_0x4f026c(0x3ef)][_0x4f026c(0x24f)](_0x42f2f7[_0x4f026c(0x22e)][0x0]);for(let _0x120165=_0x6088f6[_0x4f026c(0x354)]-0x1;_0x120165>=0x0;_0x120165--){let _0x59d7f0={'id':_0x4f026c(0x188),'params':{'unitId':_0x6088f6[_0x120165][_0x4f026c(0x29e)],..._0x6088f6[_0x120165][_0x4f026c(0x1cd)]}},_0x1cc1eb={'id':_0x4f026c(0x188),'params':{'unitId':_0x6088f6[_0x120165][_0x4f026c(0x29e)],..._0x6088f6[_0x120165][_0x4f026c(0x30a)]}},_0x472922=this[_0x4f026c(0x227)][_0x4f026c(0x25e)](_0x5ea6dc,_0x59d7f0,!0x1),_0x16b30d=this[_0x4f026c(0x227)][_0x4f026c(0x25e)](_0x2665df,_0x1cc1eb,!0x1);if((0x0,_0x37a654[_0x4f026c(0x20b)])(_0x472922))throw _0x472922[_0x4f026c(0x1df)];if((0x0,_0x37a654[_0x4f026c(0x20b)])(_0x16b30d))throw _0x16b30d[_0x4f026c(0x1df)];_0x4ed287[_0x4f026c(0x30f)]({..._0x6088f6[_0x120165],'undoState':_0x472922[_0x4f026c(0x1c7)]['params'],'redoState':_0x16b30d[_0x4f026c(0x1c7)][_0x4f026c(0x4bc)]}),_0x5ea6dc=_0x472922[_0x4f026c(0x2af)],_0x2665df=_0x16b30d['m1Prime'];}_0x5ea6dc=_0x54099e[_0x4f026c(0x3ef)][_0x4f026c(0x24f)](_0x42f2f7['mutations'][0x0]),_0x2665df=_0x54099e[_0x4f026c(0x3ef)][_0x4f026c(0x24f)](_0x42f2f7['mutations'][0x0]);for(let _0x460e71=_0x4aa362[_0x4f026c(0x354)]-0x1;_0x460e71>=0x0;_0x460e71--){let _0x430abd={'id':_0x4f026c(0x188),'params':{'unitId':_0x4aa362[_0x460e71][_0x4f026c(0x29e)],..._0x4aa362[_0x460e71][_0x4f026c(0x1cd)]}},_0x384888={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x4aa362[_0x460e71][_0x4f026c(0x29e)],..._0x4aa362[_0x460e71]['redoState']}},_0x12c025=this[_0x4f026c(0x227)][_0x4f026c(0x25e)](_0x5ea6dc,_0x430abd,!0x1),_0x2236ca=this[_0x4f026c(0x227)][_0x4f026c(0x25e)](_0x2665df,_0x384888,!0x1);if((0x0,_0x37a654[_0x4f026c(0x20b)])(_0x12c025))throw _0x12c025[_0x4f026c(0x1df)];if((0x0,_0x37a654[_0x4f026c(0x20b)])(_0x2236ca))throw _0x2236ca[_0x4f026c(0x1df)];_0x2f2702[_0x4f026c(0x30f)]({..._0x4aa362[_0x460e71],'undoState':_0x12c025[_0x4f026c(0x1c7)][_0x4f026c(0x4bc)],'redoState':_0x2236ca[_0x4f026c(0x1c7)][_0x4f026c(0x4bc)]}),_0x5ea6dc=_0x12c025[_0x4f026c(0x2af)],_0x2665df=_0x2236ca[_0x4f026c(0x2af)];}this[_0x4f026c(0x417)][_0x4f026c(0x319)](_0x20abc0,{'history':_0x4ed287,'collaboration':_0x2f2702});}};_0xa482d8=_0x5949f5([_0x3c6f51(0x0,(0x0,_0x54099e['Inject'])(_0x54099e[_0x529b57(0x3dd)])),_0x3c6f51(0x1,_0x37a654['ITransformService']),_0x3c6f51(0x2,(0x0,_0x54099e[_0x529b57(0x40a)])(_0x2433e3[_0x529b57(0x21b)]))],_0xa482d8);let _0x45a25a=class{constructor(_0x53c00e,_0x31df09){const _0xa22486=_0x529b57;this[_0xa22486(0x309)]=_0x53c00e,this['_transformService']=_0x31df09;}[_0x529b57(0x3a9)](_0x13dc7e){const _0x9fb2c5=_0x529b57;var _0x393f6e;let _0x384d1c=this[_0x9fb2c5(0x309)]['get'](_0x2433e3['DocSelectionManagerService']),_0x1e0a0f=(_0x393f6e=_0x384d1c[_0x9fb2c5(0x2aa)]())==null?[]:_0x393f6e;if(_0x1e0a0f['length']===0x0)return;let _0x1caf6e=_0x13dc7e[_0x9fb2c5(0x4b5)],_0x5155ba=[{'id':_0x9fb2c5(0x188),'params':{'unitId':_0x1caf6e,'actions':null,'textRanges':_0x1e0a0f}}],_0x2ddd93=this[_0x9fb2c5(0x227)][_0x9fb2c5(0x4d5)](_0x13dc7e,_0x5155ba);if(!(0x0,_0x37a654['isTransformMutationsWithChangesetSuccess'])(_0x2ddd93))throw _0x2ddd93[_0x9fb2c5(0x1df)];let _0xe255e0=_0x2ddd93['m2Prime'][0x0][_0x9fb2c5(0x4bc)][_0x9fb2c5(0x29d)];Array[_0x9fb2c5(0x36f)](_0xe255e0)&&_0xe255e0[_0x9fb2c5(0x354)]&&_0x384d1c[_0x9fb2c5(0x390)](_0xe255e0,{'unitId':_0x1caf6e,'subUnitId':_0x1caf6e},!0x1);}};_0x45a25a=_0x5949f5([_0x3c6f51(0x0,(0x0,_0x54099e['Inject'])(_0x54099e[_0x529b57(0x3dd)])),_0x3c6f51(0x1,_0x37a654[_0x529b57(0x194)])],_0x45a25a);let _0x53fd1a=class extends _0x54099e[_0x529b57(0x45b)]{constructor(_0x26f880,_0x24be17,_0x3404f6,_0x421574,_0x26a0f4,_0x45ac20,_0x2e9c14){const _0x3a0918=_0x529b57;super(),this[_0x3a0918(0x329)]=_0x26f880,this[_0x3a0918(0x1d7)]=_0x24be17,this[_0x3a0918(0x306)]=_0x3404f6,this['_docTransformSelectionsService']=_0x421574,this[_0x3a0918(0x383)]=_0x26a0f4,this[_0x3a0918(0x1b6)]=_0x45ac20,this[_0x3a0918(0x20d)]=_0x2e9c14,_0x77e721(this,'_status$',new _0x541406[(_0x3a0918(0x225))](_0x39299b['CollaborationStatus'][_0x3a0918(0x4de)])),this['_initEntityListener']();}[_0x529b57(0x434)](){const _0x36ce83=_0x529b57;this[_0x36ce83(0x1a1)](this['_collaborationController'][_0x36ce83(0x4c1)]['subscribe'](_0x3e7fa1=>{const _0xa27327=_0x36ce83;_0x3e7fa1 instanceof _0x39299b[_0xa27327(0x3bf)]&&_0x3e7fa1[_0xa27327(0x189)]({'onTransformIME':_0x3d724c=>this[_0xa27327(0x1d7)][_0xa27327(0x483)](_0x3d724c),'onTransformState':_0x55cb22=>this[_0xa27327(0x306)]['transformStateCache'](_0x55cb22),'onTransformSelections':_0x2d735e=>this[_0xa27327(0x2ef)][_0xa27327(0x3a9)](_0x2d735e),'onSyncEditingCollabCursor':_0x3f0106=>this['_docSyncEditingCollabCursorService'][_0xa27327(0x19c)](_0x3f0106),'onTransformRemoteChangesetByIMECache':_0x4e0623=>this['_docTransformIMECacheService'][_0xa27327(0x4ba)](_0x4e0623),'onTransformRemoteChangesetByStateCache':_0x1e124b=>this['_docTransformStateCacheService'][_0xa27327(0x4ba)](_0x1e124b)});}));}};_0x53fd1a=_0x5949f5([_0x3c6f51(0x0,(0x0,_0x54099e[_0x529b57(0x40a)])(_0x39299b[_0x529b57(0x278)])),_0x3c6f51(0x1,(0x0,_0x54099e[_0x529b57(0x40a)])(_0x2d6dea)),_0x3c6f51(0x2,(0x0,_0x54099e['Inject'])(_0xa482d8)),_0x3c6f51(0x3,(0x0,_0x54099e[_0x529b57(0x40a)])(_0x45a25a)),_0x3c6f51(0x4,(0x0,_0x54099e[_0x529b57(0x40a)])(_0x3d8da4)),_0x3c6f51(0x5,_0x3a2e6e[_0x529b57(0x1a2)]),_0x3c6f51(0x6,(0x0,_0x54099e[_0x529b57(0x40a)])(_0x54099e['LocaleService']))],_0x53fd1a);let _0x3fd58e=class extends _0x54099e[_0x529b57(0x45b)]{constructor(_0x565070,_0x30079b,_0x42d0e7,_0x15489e){const _0x22d69a=_0x529b57;super(),this[_0x22d69a(0x309)]=_0x565070,this['_httpService']=_0x30079b,this[_0x22d69a(0x1fd)]=_0x42d0e7,this['_collaborationSessionService']=_0x15489e,_0x77e721(this,'_memberID',void 0x0),this[_0x22d69a(0x2cb)]();}['_init'](){const _0x429ea1=_0x529b57;this['_initWindowErrorListener'](),this[_0x429ea1(0x46f)](),this[_0x429ea1(0x430)](),this[_0x429ea1(0x363)]();}[_0x529b57(0x363)](){const _0x90f5a8=_0x529b57;this[_0x90f5a8(0x1a1)](this[_0x90f5a8(0x456)][_0x90f5a8(0x4b3)][_0x90f5a8(0x1a7)](_0x4e0155=>{const _0x3c1966=_0x90f5a8;this[_0x3c1966(0x360)]=_0x4e0155==null?void 0x0:_0x4e0155[_0x3c1966(0x30d)];}));}[_0x529b57(0x4b7)](){const _0x432ea9=_0x529b57;let _0x2e0b03=_0x48ae9c=>{const _0x4ca094=_0x2ff8;var _0x247b37;this['_uploadLog']('error',_0x4ca094(0x4ce)+_0x48ae9c['message']+_0x4ca094(0x251)+_0x48ae9c[_0x4ca094(0x27e)]+':'+_0x48ae9c[_0x4ca094(0x220)]+':'+_0x48ae9c[_0x4ca094(0x1a4)]+'\x0a'+(((_0x247b37=_0x48ae9c[_0x4ca094(0x1df)])==null?void 0x0:_0x247b37[_0x4ca094(0x271)])||''));};window[_0x432ea9(0x28a)](_0x432ea9(0x1df),_0x2e0b03),this[_0x432ea9(0x1a1)](()=>{const _0x62b076=_0x432ea9;window['removeEventListener'](_0x62b076(0x1df),_0x2e0b03);});}[_0x529b57(0x46f)](){const _0x1ff111=_0x529b57;let _0x1cb694=_0x27f804=>{const _0x1c9e7d=_0x2ff8;this[_0x1c9e7d(0x39d)](_0x1c9e7d(0x1df),_0x1c9e7d(0x2b3)+_0x27f804[_0x1c9e7d(0x4da)]);};window[_0x1ff111(0x28a)](_0x1ff111(0x43a),_0x1cb694),this[_0x1ff111(0x1a1)](()=>{const _0x443b9c=_0x1ff111;window[_0x443b9c(0x403)](_0x443b9c(0x43a),_0x1cb694);});}[_0x529b57(0x430)](){const _0x46e86e=_0x529b57;let _0x535b55=this['_logService'][_0x46e86e(0x1df)][_0x46e86e(0x469)](this[_0x46e86e(0x1fd)]);this[_0x46e86e(0x1fd)]['error']=(..._0x409635)=>{const _0x2f3254=_0x46e86e;let _0x41cbc1=_0x409635['map'](_0x589480=>_0x589480 instanceof Error?_0x589480[_0x2f3254(0x479)]+'\x0a'+_0x589480[_0x2f3254(0x271)]:String(_0x589480))[_0x2f3254(0x330)]('\x20');this['_uploadLog'](_0x2f3254(0x1df),'[LogService\x20Error]:\x20'+_0x41cbc1),_0x535b55(..._0x409635);},this[_0x46e86e(0x1a1)](()=>{const _0x701048=_0x46e86e;this[_0x701048(0x1fd)][_0x701048(0x1df)]=_0x535b55;});}[_0x529b57(0x39d)](_0xb5ac05,_0x6e8d78){const _0x4a895c=_0x529b57;try{let _0x57a23f={'userId':this[_0x4a895c(0x360)],'logLabel':_0xb5ac05,'content':_0x6e8d78};this[_0x4a895c(0x44c)][_0x4a895c(0x258)](_0x4a895c(0x1be),{'body':_0x57a23f})[_0x4a895c(0x4d3)](()=>{});}catch{}}};_0x3fd58e=_0x5949f5([_0x3c6f51(0x0,(0x0,_0x54099e[_0x529b57(0x40a)])(_0x54099e[_0x529b57(0x3dd)])),_0x3c6f51(0x1,(0x0,_0x54099e[_0x529b57(0x40a)])(_0x5a1033[_0x529b57(0x45c)])),_0x3c6f51(0x2,_0x54099e[_0x529b57(0x4d4)]),_0x3c6f51(0x3,(0x0,_0x54099e[_0x529b57(0x40a)])(_0x39299b[_0x529b57(0x3a7)]))],_0x3fd58e);function _0x505bfd({state$:_0x49f5a1,interactionBlocked$:_0x61bd4f}){const _0x33a82b=_0x529b57;return(0x0,_0x2ee138[_0x33a82b(0x255)])(_0x2ee138[_0x33a82b(0x3a6)],{'children':[(0x0,_0x3a2e6e[_0x33a82b(0x2b8)])(_0x61bd4f,!0x1,!0x0)&&(0x0,_0x2ee138[_0x33a82b(0x1d3)])('div',{'data-u-comp':_0x33a82b(0x2a2),'aria-hidden':!0x0,'className':'univer-fixed\x20univer-inset-0\x20univer-z-[1000]\x20univer-cursor-wait'}),(0x0,_0x2ee138['jsx'])(_0x19f7aa,{'state$':_0x49f5a1})]});}function _0x19f7aa({state$:_0x27c094}){const _0x2e76e5=_0x529b57;let _0x3f36f2=(0x0,_0x3a2e6e[_0x2e76e5(0x2b8)])(_0x27c094,null,!0x0);return _0x3f36f2?(0x0,_0x2ee138[_0x2e76e5(0x255)])(_0x2e76e5(0x1f3),{'data-u-comp':_0x2e76e5(0x3c5),'role':_0x2e76e5(0x21c),'className':_0x2e76e5(0x341),'children':[(0x0,_0x2ee138[_0x2e76e5(0x1d3)])(_0x2a0dff,{'className':_0x2e76e5(0x3eb)}),(0x0,_0x2ee138[_0x2e76e5(0x1d3)])('span',{'children':_0x3f36f2['content']}),(0x0,_0x2ee138['jsx'])(_0x230545[_0x2e76e5(0x361)],{'size':_0x2e76e5(0x321),'variant':_0x2e76e5(0x35c),'onClick':()=>window[_0x2e76e5(0x45d)]['reload'](),'children':_0x3f36f2[_0x2e76e5(0x1b7)]})]}):null;}let _0x194e3c=_0x529b57(0x399),_0x22069a=class extends _0x54099e[_0x529b57(0x45b)]{constructor(_0x1992c9,_0xf7034f,_0x552cd5,_0x11fea9,_0x158667,_0x3296fa,_0x4d33d1,_0x5a8a18){const _0x3a1caf=_0x529b57;super(),this[_0x3a1caf(0x46a)]=_0x1992c9,this[_0x3a1caf(0x1b6)]=_0xf7034f,this[_0x3a1caf(0x20d)]=_0x552cd5,this['_injector']=_0x11fea9,this[_0x3a1caf(0x212)]=_0x158667,this[_0x3a1caf(0x1ee)]=_0x4d33d1,this[_0x3a1caf(0x32d)]=_0x5a8a18,_0x77e721(this,_0x3a1caf(0x4a5),new _0x541406[(_0x3a1caf(0x225))](null)),_0x77e721(this,_0x3a1caf(0x259),new _0x541406[(_0x3a1caf(0x225))](!0x1)),_0x77e721(this,_0x3a1caf(0x3b7),new Set()),_0x77e721(this,_0x3a1caf(0x252),new Map()),_0x77e721(this,_0x3a1caf(0x47c),new Set()),_0x77e721(this,'_latestStates',new Map()),_0x77e721(this,_0x3a1caf(0x288),void 0x0),_0x77e721(this,_0x3a1caf(0x3c1),void 0x0),_0x77e721(this,'_sheetLoadingRenderService',void 0x0),_0x77e721(this,_0x3a1caf(0x316),this[_0x3a1caf(0x4a5)][_0x3a1caf(0x24b)]());let _0x221fe1=()=>(0x0,_0x41f98f['createElement'])(_0x505bfd,{'state$':this[_0x3a1caf(0x316)],'interactionBlocked$':this[_0x3a1caf(0x259)]});this[_0x3a1caf(0x1a1)](_0x3296fa[_0x3a1caf(0x473)](_0x3a2e6e[_0x3a1caf(0x1ea)][_0x3a1caf(0x3e7)],()=>(0x0,_0x3a2e6e['connectInjector'])(_0x221fe1,this['_injector']))),this[_0x3a1caf(0x1a1)](this[_0x3a1caf(0x46a)][_0x3a1caf(0x39b)]['subscribe'](_0x36f2e2=>{const _0x2a1ffc=_0x3a1caf;this[_0x2a1ffc(0x467)]=_0x36f2e2,_0x36f2e2[_0x2a1ffc(0x27d)](_0x231e9e=>{const _0x1485a3=_0x2a1ffc;this[_0x1485a3(0x44d)](_0x231e9e),this[_0x1485a3(0x219)](_0x231e9e);});})),this[_0x3a1caf(0x1a1)](this[_0x3a1caf(0x32d)][_0x3a1caf(0x237)]['subscribe'](()=>{const _0x5269c8=_0x3a1caf;this[_0x5269c8(0x467)]['forEach'](_0x34ff3a=>{const _0x46dc31=_0x5269c8;this[_0x46dc31(0x44d)](_0x34ff3a),this[_0x46dc31(0x219)](_0x34ff3a);});}));}['dispose'](){const _0x321b8f=_0x529b57;var _0x46c745;if(this[_0x321b8f(0x3b7)][_0x321b8f(0x27d)](_0x274b01=>this[_0x321b8f(0x1b6)]['remove'](_0x274b01)),this[_0x321b8f(0x3b7)][_0x321b8f(0x2d3)](),this[_0x321b8f(0x288)]){var _0x42305f;(_0x42305f=this[_0x321b8f(0x4a1)])==null||_0x42305f[_0x321b8f(0x498)](this[_0x321b8f(0x288)]);}this[_0x321b8f(0x288)]=void 0x0,this[_0x321b8f(0x252)][_0x321b8f(0x27d)](({timeoutId:_0x1c6514})=>clearTimeout(_0x1c6514)),this[_0x321b8f(0x252)][_0x321b8f(0x2d3)](),(_0x46c745=this[_0x321b8f(0x3c1)])==null||_0x46c745[_0x321b8f(0x1c0)](),this[_0x321b8f(0x3c1)]=void 0x0,this[_0x321b8f(0x4a5)][_0x321b8f(0x32e)](),this[_0x321b8f(0x259)][_0x321b8f(0x32e)](),super[_0x321b8f(0x1c0)]();}[_0x529b57(0x44d)](_0x5268d1){const _0x17f7d=_0x529b57;let _0x24a8a8=''+_0x194e3c+_0x5268d1[_0x17f7d(0x29e)];if(_0x5268d1['stage']===_0x37a654[_0x17f7d(0x238)][_0x17f7d(0x1a0)]){if(this[_0x17f7d(0x1a9)](_0x5268d1[_0x17f7d(0x29e)]),this[_0x17f7d(0x4a7)](_0x5268d1[_0x17f7d(0x29e)])&&this[_0x17f7d(0x288)]===_0x5268d1[_0x17f7d(0x29e)]){this['_messageService'][_0x17f7d(0x23d)]({'id':_0x24a8a8,'type':_0x230545[_0x17f7d(0x2f5)][_0x17f7d(0x328)],'duration':0x1/0x0,'content':this[_0x17f7d(0x20d)]['t'](_0x17f7d(0x362))}),this[_0x17f7d(0x3b7)]['add'](_0x24a8a8);return;}this[_0x17f7d(0x34b)](_0x5268d1['unitId']),this[_0x17f7d(0x1b6)][_0x17f7d(0x35a)](_0x24a8a8),this['_messageIds'][_0x17f7d(0x472)](_0x24a8a8);return;}if(!this[_0x17f7d(0x4a7)](_0x5268d1['unitId'])){this[_0x17f7d(0x1a9)](_0x5268d1['unitId']),this[_0x17f7d(0x34b)](_0x5268d1['unitId']),this['_messageService']['remove'](_0x24a8a8),this[_0x17f7d(0x3b7)][_0x17f7d(0x472)](_0x24a8a8);return;}if(_0x5268d1[_0x17f7d(0x3f1)]===_0x37a654[_0x17f7d(0x238)][_0x17f7d(0x4e0)]){this[_0x17f7d(0x1a9)](_0x5268d1[_0x17f7d(0x29e)]),this[_0x17f7d(0x34b)](_0x5268d1[_0x17f7d(0x29e)]),this[_0x17f7d(0x1b6)]['show']({'id':_0x24a8a8,'type':_0x230545[_0x17f7d(0x2f5)]['Error'],'content':this['_localeService']['t']('collaboration-client-ui.session.connection-failed')}),this['_messageIds']['delete'](_0x24a8a8);return;}if(_0x5268d1[_0x17f7d(0x3f1)]!==_0x37a654[_0x17f7d(0x238)][_0x17f7d(0x19f)]||_0x5268d1[_0x17f7d(0x299)]<=0xa){this[_0x17f7d(0x1a9)](_0x5268d1['unitId']),this[_0x17f7d(0x1b6)][_0x17f7d(0x35a)](_0x24a8a8),this[_0x17f7d(0x3b7)][_0x17f7d(0x472)](_0x24a8a8);return;}this[_0x17f7d(0x3a2)](_0x5268d1)||(this['_messageService'][_0x17f7d(0x23d)]({'id':_0x24a8a8,'type':_0x230545[_0x17f7d(0x2f5)][_0x17f7d(0x328)],'duration':0x1/0x0,'content':this[_0x17f7d(0x20d)]['t']('collaboration-client-ui.collabStatus.fetchMiss')+'\x20'+_0x5268d1[_0x17f7d(0x4b6)]+'/'+_0x5268d1[_0x17f7d(0x299)]}),this[_0x17f7d(0x3b7)][_0x17f7d(0x293)](_0x24a8a8));}['_watchBlockProgress'](_0x182558){const _0x444690=_0x529b57;let _0x3307c5=this[_0x444690(0x252)][_0x444690(0x480)](_0x182558[_0x444690(0x29e)]);if((_0x3307c5==null?void 0x0:_0x3307c5[_0x444690(0x4b6)])===_0x182558[_0x444690(0x4b6)])return _0x3307c5[_0x444690(0x1c2)];this[_0x444690(0x1a9)](_0x182558[_0x444690(0x29e)]);let _0x38e0af=setTimeout(()=>{const _0x5e1c0e=_0x444690;let _0x8f46f0=this[_0x5e1c0e(0x252)][_0x5e1c0e(0x480)](_0x182558['unitId']);if(!_0x8f46f0||_0x8f46f0[_0x5e1c0e(0x3dc)]!==_0x38e0af)return;_0x8f46f0[_0x5e1c0e(0x1c2)]=!0x0;let _0x466d67=''+_0x194e3c+_0x182558[_0x5e1c0e(0x29e)];this[_0x5e1c0e(0x1b6)][_0x5e1c0e(0x35a)](_0x466d67),this[_0x5e1c0e(0x3b7)]['delete'](_0x466d67),this[_0x5e1c0e(0x4a5)][_0x5e1c0e(0x366)]({'unitId':_0x182558['unitId'],'content':this[_0x5e1c0e(0x20d)]['t'](_0x5e1c0e(0x404),String(_0x182558[_0x5e1c0e(0x4b6)]),String(_0x182558[_0x5e1c0e(0x299)])),'refreshLabel':this[_0x5e1c0e(0x20d)]['t']('collaboration-client-ui.snapshotLoading.refresh')});},0xea60);return this[_0x444690(0x252)]['set'](_0x182558[_0x444690(0x29e)],{'loadedBlocks':_0x182558[_0x444690(0x4b6)],'timedOut':!0x1,'timeoutId':_0x38e0af}),!0x1;}[_0x529b57(0x1a9)](_0x1605bb){const _0x4d57ab=_0x529b57;let _0x5ecb3c=this['_blockProgressWatches'][_0x4d57ab(0x480)](_0x1605bb);_0x5ecb3c&&(clearTimeout(_0x5ecb3c[_0x4d57ab(0x3dc)]),this[_0x4d57ab(0x252)][_0x4d57ab(0x472)](_0x1605bb),this[_0x4d57ab(0x34b)](_0x1605bb));}['_clearTimeoutState'](_0x3bbbe6){const _0x10f530=_0x529b57;var _0x38da4b;((_0x38da4b=this['_timeoutState$']['value'])==null?void 0x0:_0x38da4b[_0x10f530(0x29e)])===_0x3bbbe6&&this[_0x10f530(0x4a5)][_0x10f530(0x366)](null);}[_0x529b57(0x219)](_0x23676f){const _0x3cb5e7=_0x529b57;if(_0x23676f[_0x3cb5e7(0x3f1)]===_0x37a654[_0x3cb5e7(0x238)][_0x3cb5e7(0x2ae)]&&this['_handoffUnitIds'][_0x3cb5e7(0x472)](_0x23676f[_0x3cb5e7(0x29e)]),!this[_0x3cb5e7(0x4a7)](_0x23676f['unitId'])){this[_0x3cb5e7(0x375)](_0x23676f['unitId']);return;}if(_0x23676f[_0x3cb5e7(0x3f1)]===_0x37a654[_0x3cb5e7(0x238)]['ERROR']||_0x23676f['totalBlocks']<=0xa){this['_hidePreview'](_0x23676f[_0x3cb5e7(0x29e)]);return;}if(_0x23676f[_0x3cb5e7(0x3f1)]===_0x37a654['SnapshotLoadStage'][_0x3cb5e7(0x1a0)]){this['_handoffPreview'](_0x23676f[_0x3cb5e7(0x29e)]);return;}if(_0x23676f[_0x3cb5e7(0x3f1)]===_0x37a654[_0x3cb5e7(0x238)][_0x3cb5e7(0x19f)]&&_0x23676f[_0x3cb5e7(0x193)]&&_0x23676f[_0x3cb5e7(0x3db)]){let _0x57e7a9=this[_0x3cb5e7(0x37e)]();if(!_0x57e7a9)return;this[_0x3cb5e7(0x288)]&&this['_previewUnitId']!==_0x23676f[_0x3cb5e7(0x29e)]&&this[_0x3cb5e7(0x375)](this['_previewUnitId']),_0x57e7a9[_0x3cb5e7(0x38e)](_0x23676f[_0x3cb5e7(0x193)],_0x23676f[_0x3cb5e7(0x3db)]),this[_0x3cb5e7(0x288)]=_0x23676f['unitId'],this['_setInteractionBlocked'](!0x0),_0x23676f['previewReady']&&_0x57e7a9[_0x3cb5e7(0x23d)](_0x23676f[_0x3cb5e7(0x193)],_0x23676f[_0x3cb5e7(0x3db)],_0x23676f[_0x3cb5e7(0x401)]);}}['_handoffPreview'](_0xa47497){const _0x19fb03=_0x529b57;if(this[_0x19fb03(0x288)]!==_0xa47497||this[_0x19fb03(0x47c)][_0x19fb03(0x4d8)](_0xa47497))return;let _0x2b0924=this[_0x19fb03(0x4a1)];_0x2b0924&&(this[_0x19fb03(0x47c)][_0x19fb03(0x293)](_0xa47497),_0x2b0924[_0x19fb03(0x41a)](_0xa47497,0x2710)[_0x19fb03(0x2ff)](_0x4495fc=>{const _0x111d46=_0x19fb03;if(this[_0x111d46(0x288)]!==_0xa47497)return;if(_0x4495fc){let _0x48690f=''+_0x194e3c+_0xa47497;this['_messageService'][_0x111d46(0x35a)](_0x48690f),this['_messageIds'][_0x111d46(0x472)](_0x48690f),this[_0x111d46(0x288)]=void 0x0,this[_0x111d46(0x1d0)](!0x1);return;}let _0x423113=''+_0x194e3c+_0xa47497;this[_0x111d46(0x1b6)]['remove'](_0x423113),this[_0x111d46(0x3b7)][_0x111d46(0x472)](_0x423113),this[_0x111d46(0x4a5)][_0x111d46(0x366)]({'unitId':_0xa47497,'content':this[_0x111d46(0x20d)]['t']('collaboration-client-ui.session.connection-failed'),'refreshLabel':this['_localeService']['t'](_0x111d46(0x1f2))});}));}['_hidePreview'](_0x6b83c9){const _0x1c8b2f=_0x529b57;var _0x5382a3;this[_0x1c8b2f(0x288)]===_0x6b83c9&&((_0x5382a3=this[_0x1c8b2f(0x4a1)])==null||_0x5382a3[_0x1c8b2f(0x498)](_0x6b83c9),this[_0x1c8b2f(0x288)]=void 0x0,this['_setInteractionBlocked'](!0x1));}['_setInteractionBlocked'](_0x3412f5){const _0x4dd097=_0x529b57;if(_0x3412f5!==this[_0x4dd097(0x259)][_0x4dd097(0x44f)]){if(_0x3412f5)this[_0x4dd097(0x3c1)]=this[_0x4dd097(0x1ee)][_0x4dd097(0x2e3)]();else{var _0x5403aa;(_0x5403aa=this[_0x4dd097(0x3c1)])==null||_0x5403aa[_0x4dd097(0x1c0)](),this[_0x4dd097(0x3c1)]=void 0x0;}this[_0x4dd097(0x259)][_0x4dd097(0x366)](_0x3412f5);}}[_0x529b57(0x4a7)](_0x387722){const _0x16584a=_0x529b57;let _0x1881c2=this['_urlService']['getParam'](_0x16584a(0x45f));return!_0x1881c2||_0x1881c2===_0x387722;}[_0x529b57(0x37e)](){const _0x78a102=_0x529b57;return this[_0x78a102(0x4a1)]?this[_0x78a102(0x4a1)]:(this[_0x78a102(0x212)][_0x78a102(0x28c)](_0x54099e[_0x78a102(0x1d1)][_0x78a102(0x1d9)]),this[_0x78a102(0x309)]['has'](_0x189f64[_0x78a102(0x2e9)])&&(this[_0x78a102(0x4a1)]=this[_0x78a102(0x309)][_0x78a102(0x480)](_0x189f64[_0x78a102(0x2e9)])),this[_0x78a102(0x4a1)]);}};_0x22069a=_0x5949f5([_0x3c6f51(0x0,(0x0,_0x54099e[_0x529b57(0x40a)])(_0x37a654[_0x529b57(0x36d)])),_0x3c6f51(0x1,_0x3a2e6e[_0x529b57(0x1a2)]),_0x3c6f51(0x2,(0x0,_0x54099e['Inject'])(_0x54099e[_0x529b57(0x381)])),_0x3c6f51(0x3,(0x0,_0x54099e[_0x529b57(0x40a)])(_0x54099e[_0x529b57(0x3dd)])),_0x3c6f51(0x4,(0x0,_0x54099e[_0x529b57(0x40a)])(_0x54099e['PluginService'])),_0x3c6f51(0x5,_0x3a2e6e['IUIPartsService']),_0x3c6f51(0x6,_0x3a2e6e[_0x529b57(0x43d)]),_0x3c6f51(0x7,_0x47fac2)],_0x22069a);function _0x3b5433(_0x38fa7d){const _0x213326=_0x529b57;var _0x343383,_0xa19df2;let _0x55434e=(_0x343383=_0x38fa7d[_0x213326(0x1aa)])==null?void 0x0:_0x343383['stage'],_0x46190e=((_0xa19df2=_0x38fa7d[_0x213326(0x1aa)])==null?void 0x0:_0xa19df2['totalFormulasToCalculate'])||0x0;return _0x55434e===_0x29b436[_0x213326(0x3cd)][_0x213326(0x3ae)]&&_0x46190e>0x0;}function _0x4317aa(_0x3ed35d){const _0x1cd701=_0x529b57;return _0x3ed35d[_0x1cd701(0x4dc)]===_0x29b436[_0x1cd701(0x270)]['SUCCESS'];}let _0x45c90c=class extends _0x54099e['Disposable']{constructor(_0x27e419,_0x3ca5be,_0x93e9ab,_0xad3196,_0x2c5976,_0x2e51cc,_0x5c3fa7){const _0x2b03f1=_0x529b57;super(),this[_0x2b03f1(0x1b6)]=_0x27e419,this[_0x2b03f1(0x48e)]=_0x3ca5be,this['_configService']=_0x93e9ab,this[_0x2b03f1(0x44c)]=_0xad3196,this['_univerInstanceService']=_0x2c5976,this[_0x2b03f1(0x1fd)]=_0x2e51cc,this[_0x2b03f1(0x20d)]=_0x5c3fa7,_0x77e721(this,_0x2b03f1(0x38b),null),_0x77e721(this,'_maxFormulaLimit',0x0),_0x77e721(this,_0x2b03f1(0x365),0x0),_0x77e721(this,_0x2b03f1(0x47b),[]),_0x77e721(this,_0x2b03f1(0x48c),0x0),this[_0x2b03f1(0x402)]();}[_0x529b57(0x402)](){const _0x1c0d56=_0x529b57;this[_0x1c0d56(0x1a1)](this[_0x1c0d56(0x48e)][_0x1c0d56(0x43e)]((_0xbf4775,_0x2b3aee)=>{const _0x3ec3ed=_0x1c0d56;var _0x275576;if(_0xbf4775['id']!==_0x29b436['SetFormulaCalculationStartMutation']['id'])return;let _0x58df09=_0xbf4775['params'];if(this['_hasFormulaInDirtyRanges']((_0x275576=_0x58df09[_0x3ec3ed(0x43c)])==null?[]:_0x275576)&&!this['_checkCalculationAvailable']())throw this['_checkAndWaitForCalculationPermission'](_0xbf4775,_0x2b3aee),this[_0x3ec3ed(0x3f2)](),new _0x54099e[(_0x3ec3ed(0x295))]();})),this[_0x1c0d56(0x1a1)](this[_0x1c0d56(0x48e)]['onCommandExecuted']((_0x3b2c89,_0x434f96)=>{const _0xad7ab7=_0x1c0d56;if(_0x3b2c89['id']!==_0x29b436['SetFormulaCalculationNotificationMutation']['id'])return;let _0x3b0651=_0x3b2c89['params'];if(_0x3b5433(_0x3b0651)){let _0x34e170=(0x0,_0x54099e[_0xad7ab7(0x3c3)])();this[_0xad7ab7(0x47b)]['push'](_0x34e170),this[_0xad7ab7(0x3e6)](_0x34e170);}else{if(_0x4317aa(_0x3b0651)&&this['_taskIds'][_0xad7ab7(0x354)]>0x0){let _0x15bd8a=this[_0xad7ab7(0x47b)]['shift']();this['_releaseCalculationLimit'](_0x15bd8a);}}}));}[_0x529b57(0x1c0)](){const _0x44645c=_0x529b57;super[_0x44645c(0x1c0)](),this[_0x44645c(0x2cc)](),this[_0x44645c(0x47b)]=[],this[_0x44645c(0x365)]=0x0,this[_0x44645c(0x4ab)]=0x0,this[_0x44645c(0x48c)]=0x0;}async['_checkAndWaitForCalculationPermission'](_0x172fa4,_0x2aff2e){const _0xdb5a96=_0x529b57;for(let _0x3baa62=0x0;_0x3baa62<0x1e;_0x3baa62++)try{if(await this[_0xdb5a96(0x4e4)](),this['_checkCalculationAvailable']()){this[_0xdb5a96(0x3c9)](_0x172fa4,_0x2aff2e),this[_0xdb5a96(0x1b6)]['show']({'content':this['_localeService']['t']('collaboration-client-ui.formula.calculation.started'),'type':_0x230545['MessageType'][_0xdb5a96(0x4ac)]});return;}await new Promise(_0x3a84f8=>{const _0xe68c4d=_0xdb5a96;this[_0xe68c4d(0x38b)]=window['setTimeout'](_0x3a84f8,0x3e8);});}catch(_0x54818b){this[_0xdb5a96(0x1fd)][_0xdb5a96(0x1df)](_0x54818b);}this[_0xdb5a96(0x1b6)][_0xdb5a96(0x23d)]({'content':this[_0xdb5a96(0x20d)]['t']('collaboration-client-ui.formula.calculation.unable'),'type':_0x230545['MessageType']['Error']});}['_applyCommand'](_0x505702,_0x316611){const _0x56fd72=_0x529b57;try{this[_0x56fd72(0x48e)][_0x56fd72(0x1f4)](_0x505702['id'],_0x505702[_0x56fd72(0x4bc)],_0x316611);}catch(_0x136e4d){this[_0x56fd72(0x1fd)][_0x56fd72(0x1df)](_0x136e4d);}}[_0x529b57(0x3d2)](_0x3377e6,_0x3d6057){const _0x5c0578=_0x529b57;_0x3d6057<this['_lastResponseTimestamp']||(this[_0x5c0578(0x48c)]=_0x3d6057,this[_0x5c0578(0x4ab)]=Number[_0x5c0578(0x4db)](_0x3377e6[_0x5c0578(0x4c6)]),this[_0x5c0578(0x365)]=Number[_0x5c0578(0x4db)](_0x3377e6[_0x5c0578(0x1fe)]));}async[_0x529b57(0x3e6)](_0x155601){const _0x575c6d=_0x529b57;let _0x3803af=Date['now']();try{var _0x5ea270,_0x4c902e;let _0x2ca257=((_0x5ea270=this[_0x575c6d(0x23f)][_0x575c6d(0x48b)](_0x39299b[_0x575c6d(0x20f)]))==null?void 0x0:_0x5ea270[_0x575c6d(0x1ec)])||_0x575c6d(0x477),_0x296e86=(await this[_0x575c6d(0x44c)][_0x575c6d(0x258)](_0x2ca257,{'body':JSON[_0x575c6d(0x2d8)]({'taskId':_0x155601})}))[_0x575c6d(0x4c3)];if(((_0x4c902e=_0x296e86[_0x575c6d(0x1df)])==null?void 0x0:_0x4c902e['code'])!==_0x19a70a[_0x575c6d(0x266)]['OK'])return;this[_0x575c6d(0x3d2)](_0x296e86[_0x575c6d(0x26d)],_0x3803af);}catch(_0x71a77d){this[_0x575c6d(0x1fd)][_0x575c6d(0x1df)](_0x71a77d);}}async['_getFormulaLimitStatus'](_0x5f0bbb){const _0x52bd05=_0x529b57;let _0x18b40e=Date[_0x52bd05(0x48a)]();try{var _0x2b6fad,_0x5db96c;let _0x527322=((_0x2b6fad=this[_0x52bd05(0x23f)][_0x52bd05(0x48b)](_0x39299b[_0x52bd05(0x20f)]))==null?void 0x0:_0x2b6fad[_0x52bd05(0x347)])||_0x52bd05(0x463),_0x53ddf6=_0x5f0bbb?_0x527322+'?taskId='+encodeURIComponent(_0x5f0bbb):_0x527322,_0x24c0a5=(await this[_0x52bd05(0x44c)]['get'](_0x53ddf6))[_0x52bd05(0x4c3)];if(((_0x5db96c=_0x24c0a5[_0x52bd05(0x1df)])==null?void 0x0:_0x5db96c['code'])!==_0x19a70a['ErrorCode']['OK'])return;this['_setFormulaLimitStatus'](_0x24c0a5[_0x52bd05(0x26d)],_0x18b40e);}catch(_0x33f73f){this['_logService']['error'](_0x33f73f);}}async[_0x529b57(0x435)](_0x2e52af){const _0x5b9882=_0x529b57;let _0x40ab8f=Date['now']();try{var _0x45532e,_0x44f080;let _0x3f4d7f=((_0x45532e=this[_0x5b9882(0x23f)]['getConfig'](_0x39299b[_0x5b9882(0x20f)]))==null?void 0x0:_0x45532e[_0x5b9882(0x216)])||_0x5b9882(0x396),_0x2306af=(await this['_httpService']['post'](_0x3f4d7f,{'body':JSON[_0x5b9882(0x2d8)]({'taskId':_0x2e52af})}))[_0x5b9882(0x4c3)];if(((_0x44f080=_0x2306af[_0x5b9882(0x1df)])==null?void 0x0:_0x44f080['code'])!==_0x19a70a[_0x5b9882(0x266)]['OK'])return;this[_0x5b9882(0x3d2)](_0x2306af[_0x5b9882(0x26d)],_0x40ab8f);}catch(_0x57f26b){this[_0x5b9882(0x1fd)][_0x5b9882(0x1df)](_0x57f26b);}}['_checkCalculationAvailable'](){const _0x3dccb4=_0x529b57;return this[_0x3dccb4(0x4ab)]===0x0?!0x0:this[_0x3dccb4(0x4ab)]-this[_0x3dccb4(0x365)]>0x0;}['_clearPolling'](){const _0x4cf333=_0x529b57;this[_0x4cf333(0x38b)]&&(clearTimeout(this[_0x4cf333(0x38b)]),this['_pollingInterval']=null);}[_0x529b57(0x3f2)](){const _0x2c275b=_0x529b57;this[_0x2c275b(0x1b6)][_0x2c275b(0x23d)]({'content':this[_0x2c275b(0x20d)]['t'](_0x2c275b(0x49f)),'type':_0x230545[_0x2c275b(0x2f5)]['Loading']});}[_0x529b57(0x2d4)](_0x5dc528){const _0x348426=_0x529b57;for(let _0x5cf6f4 of _0x5dc528){let {unitId:_0x406b1e,sheetId:_0x10549a,range:_0x2f158c}=_0x5cf6f4,_0xd0a6e=this[_0x348426(0x471)][_0x348426(0x2da)](_0x406b1e);if(!_0xd0a6e)continue;let _0x3ea346=_0xd0a6e[_0x348426(0x425)](_0x10549a);if(!_0x3ea346)continue;let _0x1a1598=_0x3ea346[_0x348426(0x49a)]();for(let _0x33884c=_0x2f158c[_0x348426(0x4ad)];_0x33884c<=_0x2f158c[_0x348426(0x1db)];_0x33884c++)for(let _0x1ebec1=_0x2f158c['startColumn'];_0x1ebec1<=_0x2f158c[_0x348426(0x243)];_0x1ebec1++){let _0x5c2c3f=_0x1a1598['getValue'](_0x33884c,_0x1ebec1);if(_0x5c2c3f&&((0x0,_0x54099e[_0x348426(0x3fe)])(_0x5c2c3f['f'])||(0x0,_0x54099e[_0x348426(0x253)])(_0x5c2c3f['si'])))return!0x0;}}return!0x1;}};_0x45c90c=_0x5949f5([_0x3c6f51(0x0,(0x0,_0x54099e['Inject'])(_0x3a2e6e[_0x529b57(0x1a2)])),_0x3c6f51(0x1,_0x54099e[_0x529b57(0x2e1)]),_0x3c6f51(0x2,_0x54099e['IConfigService']),_0x3c6f51(0x3,(0x0,_0x54099e[_0x529b57(0x40a)])(_0x5a1033[_0x529b57(0x45c)])),_0x3c6f51(0x4,_0x54099e[_0x529b57(0x454)]),_0x3c6f51(0x5,_0x54099e[_0x529b57(0x4d4)]),_0x3c6f51(0x6,(0x0,_0x54099e['Inject'])(_0x54099e[_0x529b57(0x381)]))],_0x45c90c);let _0xbe9d34=class extends _0x54099e['Disposable']{constructor(_0x17acc9,_0x456cd5,_0x57794b){const _0x56f7a9=_0x529b57;super(),this[_0x56f7a9(0x23f)]=_0x17acc9,this[_0x56f7a9(0x499)]=_0x456cd5,this['_revisionService']=_0x57794b,_0x77e721(this,_0x56f7a9(0x335),new Map()),_0x77e721(this,_0x56f7a9(0x4c7),new Map()),_0x77e721(this,_0x56f7a9(0x4cf),!0x1);}[_0x529b57(0x1dd)](){this['_disabled']=!0x0;}[_0x529b57(0x3c2)](){const _0x2e5bdd=_0x529b57;this[_0x2e5bdd(0x4cf)]=!0x1;}get[_0x529b57(0x2a6)](){const _0x2b181b=_0x529b57;return this[_0x2b181b(0x4c7)];}[_0x529b57(0x1c0)](){const _0x1b2c46=_0x529b57;this[_0x1b2c46(0x413)]()[_0x1b2c46(0x2ff)](()=>super[_0x1b2c46(0x1c0)]());}async[_0x529b57(0x239)](_0x152ce3){const _0x8758a7=_0x529b57;return this[_0x8758a7(0x4cf)]?null:this['_localStorageService'][_0x8758a7(0x1de)]((0x0,_0x39299b['getLocalCacheKey'])(_0x152ce3));}async['saveOfflineData'](_0x54faf6,_0x4e501b){const _0x433f0e=_0x529b57;return!!this[_0x433f0e(0x499)][_0x433f0e(0x1b4)]((0x0,_0x39299b[_0x433f0e(0x297)])(_0x54faf6),_0x4e501b);}async[_0x529b57(0x3d6)](_0x4d648a,_0x14ea56){const _0x512106=_0x529b57;var _0x22c0dc;let _0x34980e=(_0x22c0dc=this['_cachedData'][_0x512106(0x480)](_0x4d648a))==null?await this[_0x512106(0x499)][_0x512106(0x1de)]((0x0,_0x39299b[_0x512106(0x297)])(_0x4d648a)):_0x22c0dc;if(!_0x34980e)return;let _0x20a2ad=Date[_0x512106(0x48a)](),_0x553eca=new Date(_0x20a2ad)[_0x512106(0x3a8)]();await this['_localStorageService'][_0x512106(0x1b4)]((0x0,_0x39299b['getLocalCacheKey'])(_0x4d648a)+_0x512106(0x1cb)+_0x20a2ad,{'reason':_0x14ea56,'createdAt':_0x553eca,'data':_0x34980e});}[_0x529b57(0x47f)](_0x39e09e,_0x195e58,_0x1e4e57,_0x42e02e){const _0x1d878e=_0x529b57;let _0x3637b1=this[_0x1d878e(0x48d)][_0x1d878e(0x44b)](_0x39e09e);this[_0x1d878e(0x335)]['set'](_0x39e09e,{'unitID':_0x39e09e,'type':_0x195e58,'awaitingChangeset':_0x1e4e57,'mutations':_0x42e02e,'rev':_0x3637b1}),this[_0x1d878e(0x4c7)][_0x1d878e(0x4d8)](_0x39e09e)||this['_scheduleSaving'](_0x39e09e);}[_0x529b57(0x2c4)](_0x3b4277){const _0x3f6a9c=_0x529b57;let _0x28f45a=this[_0x3f6a9c(0x41d)]();_0x28f45a===0x0?this[_0x3f6a9c(0x343)](_0x3b4277):this['_saveTaskMap'][_0x3f6a9c(0x340)](_0x3b4277,window['setTimeout'](()=>this[_0x3f6a9c(0x343)](_0x3b4277),_0x28f45a));}[_0x529b57(0x41d)](){const _0x35ed36=_0x529b57;var _0x1acc4b;return(_0x1acc4b=this[_0x35ed36(0x23f)]['getConfig'](_0x39299b[_0x35ed36(0x209)]))==null?_0x39299b[_0x35ed36(0x346)]:_0x1acc4b;}['_saveCache'](_0xb30ba1){const _0x219ac4=_0x529b57;let _0x137adc=this[_0x219ac4(0x4c7)][_0x219ac4(0x480)](_0xb30ba1);return _0x137adc!==void 0x0&&window['clearTimeout'](_0x137adc),this[_0x219ac4(0x499)]['setItem']((0x0,_0x39299b[_0x219ac4(0x297)])(_0xb30ba1),this[_0x219ac4(0x335)][_0x219ac4(0x480)](_0xb30ba1))[_0x219ac4(0x2ff)](()=>this['_saveTaskMap'][_0x219ac4(0x472)](_0xb30ba1));}async[_0x529b57(0x413)](){const _0x3eb388=_0x529b57;let _0x179ba9=[];this['_saveTaskMap']['forEach']((_0x2c4ffb,_0x588d9b)=>{const _0xb0bfcf=_0x2ff8;window[_0xb0bfcf(0x20a)](_0x2c4ffb),_0x179ba9[_0xb0bfcf(0x29a)](this[_0xb0bfcf(0x343)](_0x588d9b)[_0xb0bfcf(0x2ff)](()=>{const _0x1836a4=_0xb0bfcf;this[_0x1836a4(0x4c7)]['delete'](_0x588d9b);}));}),await Promise[_0x3eb388(0x19b)](_0x179ba9);}};_0xbe9d34=_0x5949f5([_0x3c6f51(0x0,_0x54099e['IConfigService']),_0x3c6f51(0x1,_0x54099e[_0x529b57(0x2e0)]),_0x3c6f51(0x2,(0x0,_0x54099e[_0x529b57(0x40a)])(_0x37a654['RevisionService']))],_0xbe9d34);var _0x25c5ce=class extends _0x54099e[_0x529b57(0x2ad)]{constructor(){const _0x28b0fc=_0x529b57;super(),_0x77e721(this,_0x28b0fc(0x237),void 0x0),this[_0x28b0fc(0x237)]=(0x0,_0x541406[_0x28b0fc(0x29c)])(window,'popstate')[_0x28b0fc(0x2a7)]((0x0,_0x541406[_0x28b0fc(0x39f)])(this[_0x28b0fc(0x2e2)]),(0x0,_0x541406[_0x28b0fc(0x475)])({'bufferSize':0x1,'refCount':!0x0}),(0x0,_0x541406[_0x28b0fc(0x1f5)])(void 0x0));}['setParam'](_0x2f4495,_0x1b472a,_0x14eb60=!0x1){const _0xd3032c=_0x529b57;let _0x3ca194=new URL(window[_0xd3032c(0x45d)][_0xd3032c(0x304)]);_0x3ca194[_0xd3032c(0x4d2)]['set'](_0x2f4495,_0x1b472a),_0x14eb60?window[_0xd3032c(0x3ea)][_0xd3032c(0x2fb)]('','',_0x3ca194['toString']()):window[_0xd3032c(0x3ea)][_0xd3032c(0x25a)]('','',_0x3ca194[_0xd3032c(0x436)]());}[_0x529b57(0x273)](_0x3fefce,_0x368a01=!0x1){const _0x30eb0c=_0x529b57;let _0x1ad978=new URL(window['location'][_0x30eb0c(0x304)]);_0x1ad978[_0x30eb0c(0x4d2)][_0x30eb0c(0x472)](_0x3fefce),_0x368a01?window[_0x30eb0c(0x3ea)][_0x30eb0c(0x2fb)]('','',_0x1ad978[_0x30eb0c(0x436)]()):window[_0x30eb0c(0x3ea)][_0x30eb0c(0x25a)]('','',_0x1ad978['toString']());}[_0x529b57(0x26f)](_0x19e8a9){const _0x29856a=_0x529b57;var _0x3f585f;return(_0x3f585f=new URL(window[_0x29856a(0x45d)][_0x29856a(0x304)])[_0x29856a(0x4d2)]['get'](_0x19e8a9))==null?void 0x0:_0x3f585f;}};let _0x166029=class extends _0x54099e[_0x529b57(0x276)]{constructor(_0x4fd607=_0x3260b8,_0x10ba56,_0x5eeb01,_0x5e8117){const _0x1ad20a=_0x529b57;super(),this[_0x1ad20a(0x250)]=_0x4fd607,this[_0x1ad20a(0x3f7)]=_0x10ba56,this[_0x1ad20a(0x309)]=_0x5eeb01,this['_configService']=_0x5e8117;let {..._0x1bfd1a}=(0x0,_0x54099e[_0x1ad20a(0x3c0)])({},_0x3260b8,this[_0x1ad20a(0x250)]);this[_0x1ad20a(0x23f)][_0x1ad20a(0x372)](_0x1ad20a(0x282),_0x1bfd1a);}[_0x529b57(0x230)](){const _0x43b2fc=_0x529b57;this['_registerDependencies'](),this[_0x43b2fc(0x31a)]();}['onRendered'](){this['_registerRenderDependencies']();}[_0x529b57(0x228)](){const _0x4efc2c=_0x529b57;var _0x29405b;let _0x597bc6=[[_0x4d357d],[_0x45c90c],[_0x47fac2,{'useClass':_0x25c5ce}],[_0x5a1033[_0x4efc2c(0x42b)],{'useClass':_0x5a1033['WebSocketService']}],[_0x39299b[_0x4efc2c(0x27f)],{'useClass':_0xbe9d34}],[_0x102dbb],[_0x3db145],[_0x381878],[_0x1776e9],[_0x1ecd17],[_0x22069a]];this[_0x4efc2c(0x250)][_0x4efc2c(0x3c6)]!==!0x1&&_0x597bc6[_0x4efc2c(0x29a)]([_0x45a25a],[_0x2d6dea],[_0xa482d8],[_0x3d8da4],[_0x53fd1a],[_0x29a900]),this[_0x4efc2c(0x250)]['enableFrontendLog']&&_0x597bc6[_0x4efc2c(0x29a)]([_0x3fd58e]),(0x0,_0x54099e[_0x4efc2c(0x440)])(this[_0x4efc2c(0x309)],(0x0,_0x54099e[_0x4efc2c(0x4d0)])(_0x597bc6,(_0x29405b=this[_0x4efc2c(0x250)])==null?void 0x0:_0x29405b[_0x4efc2c(0x1fb)]));}[_0x529b57(0x4e8)](){const _0x235395=_0x529b57;this['_config'][_0x235395(0x3c6)]!==!0x1&&this[_0x235395(0x1a1)](this[_0x235395(0x3f7)]['registerRenderModule'](_0x54099e[_0x235395(0x1d1)][_0x235395(0x42a)],[_0x1e89c5])),this['disposeWithMe'](this['_renderManagerService'][_0x235395(0x2c5)](_0x54099e['UniverInstanceType'][_0x235395(0x1d9)],[_0x5e3dfd])),this[_0x235395(0x1a1)](this[_0x235395(0x3f7)][_0x235395(0x2c5)](_0x54099e[_0x235395(0x1d1)][_0x235395(0x3f5)],[_0x547da7])),this['disposeWithMe'](this[_0x235395(0x3f7)]['registerRenderModule'](_0x54099e[_0x235395(0x1d1)][_0x235395(0x195)],[_0x501055]));}[_0x529b57(0x31a)](){const _0x529a4b=_0x529b57;(0x0,_0x54099e[_0x529a4b(0x208)])(this['_injector'],[[_0x1776e9],[_0x102dbb],[_0x3db145],[_0x381878],[_0x1ecd17],[_0x45c90c],[_0x22069a]]),this[_0x529a4b(0x250)][_0x529a4b(0x3c6)]!==!0x1&&(0x0,_0x54099e['touchDependencies'])(this[_0x529a4b(0x309)],[[_0x53fd1a],[_0x29a900]]),this[_0x529a4b(0x250)]['enableFrontendLog']&&(0x0,_0x54099e['touchDependencies'])(this[_0x529a4b(0x309)],[[_0x3fd58e]]);}};_0x77e721(_0x166029,'pluginName','UNIVER_COLLABORATION_CLIENT_WEB_PLUGIN'),_0x77e721(_0x166029,_0x529b57(0x3ab),_0x28f35d),_0x77e721(_0x166029,_0x529b57(0x202),_0x2126b2),_0x166029=_0x5949f5([(0x0,_0x54099e['DependentOn'])(_0x39299b[_0x529b57(0x416)]),_0x3c6f51(0x1,_0x36fb2d['IRenderManagerService']),_0x3c6f51(0x2,(0x0,_0x54099e['Inject'])(_0x54099e[_0x529b57(0x3dd)])),_0x3c6f51(0x3,_0x54099e[_0x529b57(0x1e0)])],_0x166029);let _0x4fa05d=class extends _0x39299b[_0x529b57(0x2a1)]{constructor(_0x3b983e,_0x492577,_0x201135,_0x1e0e40,_0x10a834){super(_0x3b983e,_0x492577,_0x201135,_0x1e0e40,_0x10a834);}async[_0x529b57(0x3ec)](_0x587e98){const _0xf144f1=_0x529b57;let _0x2614c9=await this['_getSessionTicket'](),_0x1df9fe=this[_0xf144f1(0x1c9)](_0x587e98,_0x2614c9);return this[_0xf144f1(0x2f3)](_0x1df9fe);}['_createSocketURL'](_0x5196f8,_0x264f6d){const _0x46c049=_0x529b57;let _0x62813c=typeof window>'u'?new URL(_0x5196f8):new URL(_0x5196f8,window['location'][_0x46c049(0x3ff)]);_0x62813c[_0x46c049(0x4d2)][_0x46c049(0x340)](_0x46c049(0x49c),_0x264f6d);let _0xcd00db=typeof window>'u'?new URLSearchParams():new URLSearchParams(window['location'][_0x46c049(0x2c0)]);return _0xcd00db[_0x46c049(0x480)](_0x46c049(0x3bd))&&_0x62813c[_0x46c049(0x4d2)]['set'](_0x46c049(0x3bd),_0xcd00db[_0x46c049(0x480)](_0x46c049(0x3bd))),_0x62813c[_0x46c049(0x436)]();}async[_0x529b57(0x247)](){const _0x28efbf=_0x529b57;var _0xf01a64,_0x1332e0,_0x8c6e0f;let _0x2bc86c=this[_0x28efbf(0x23f)][_0x28efbf(0x48b)](_0x39299b[_0x28efbf(0x20f)]),_0x2a21ef=(_0xf01a64=_0x2bc86c==null?void 0x0:_0x2bc86c[_0x28efbf(0x22a)])==null?_0x39299b[_0x28efbf(0x2f0)]:_0xf01a64;return(_0x1332e0=(_0x8c6e0f=(await this[_0x28efbf(0x44c)][_0x28efbf(0x480)](_0x2a21ef,{'headers':{'Content-Type':_0x28efbf(0x1b3)}}))[_0x28efbf(0x4c3)])==null?void 0x0:_0x8c6e0f['ticket'])==null?'':_0x1332e0;}};_0x4fa05d=_0x5949f5([_0x3c6f51(0x0,(0x0,_0x54099e[_0x529b57(0x40a)])(_0x54099e['Injector'])),_0x3c6f51(0x1,(0x0,_0x54099e[_0x529b57(0x40a)])(_0x5a1033['HTTPService'])),_0x3c6f51(0x2,_0x54099e[_0x529b57(0x1e0)]),_0x3c6f51(0x3,_0x54099e[_0x529b57(0x4d4)]),_0x3c6f51(0x4,_0x37a654[_0x529b57(0x2c9)])],_0x4fa05d);let _0x1894af=class extends _0x54099e[_0x529b57(0x45b)]{constructor(_0x323ef5,_0x39b02c,_0x5786a6){const _0x1589b5=_0x529b57;super(),this[_0x1589b5(0x432)]=_0x323ef5,this[_0x1589b5(0x44c)]=_0x39b02c,this[_0x1589b5(0x23f)]=_0x5786a6;}async[_0x529b57(0x3b3)](_0xabe6f9,_0x482e21,_0x139d80,..._0x3b0a75){const _0x3b5253=_0x529b57;var _0x1c460d,_0x304935,_0x5b46f5,_0x1e2997;let _0x1cba03=this[_0x3b5253(0x432)]['getFocusedUnit']();if(!_0x1cba03)throw Error(_0x3b5253(0x26a));let _0x493d46=((_0x1c460d=this[_0x3b5253(0x23f)][_0x3b5253(0x48b)](_0x39299b[_0x3b5253(0x378)]))==null?_0x39299b[_0x3b5253(0x377)]:_0x1c460d)+'/'+_0xabe6f9+'/run/'+_0x482e21,_0x2110ad={'scriptId':_0xabe6f9,'runId':(_0x304935=new URL(window['location']['href'])['searchParams'][_0x3b5253(0x480)]('runId'))==null?'':_0x304935,'function':_0x482e21,'unitId':_0x1cba03['getUnitId'](),'argsOfFunction':JSON[_0x3b5253(0x2d8)](_0x3b0a75),'invokeId':(_0x5b46f5=_0x139d80['invokeId'])==null?'':_0x5b46f5,'executionId':(_0x1e2997=_0x139d80[_0x3b5253(0x364)])==null?'':_0x1e2997};try{let _0x373742=await this[_0x3b5253(0x44c)]['post'](_0x493d46,{'body':_0x2110ad});return _0x373742['body'][_0x3b5253(0x1df)]&&_0x373742[_0x3b5253(0x4c3)][_0x3b5253(0x1df)]['code']!==_0x19a70a[_0x3b5253(0x266)]['OK']?_0x3b5253(0x34c):_0x373742[_0x3b5253(0x4c3)][_0x3b5253(0x47a)];}catch{return _0x3b5253(0x34c);}}};_0x1894af=_0x5949f5([_0x3c6f51(0x0,_0x54099e['IUniverInstanceService']),_0x3c6f51(0x1,(0x0,_0x54099e[_0x529b57(0x40a)])(_0x5a1033[_0x529b57(0x45c)])),_0x3c6f51(0x2,_0x54099e['IConfigService'])],_0x1894af);let _0x26b93c=0x7530,_0x3d86cd=_0x529b57(0x2b2);var _0x50af46=class extends _0x54099e[_0x529b57(0x45b)]{constructor(){const _0x25c06a=_0x529b57;super(),_0x77e721(this,_0x25c06a(0x35d),(0x0,_0x54099e[_0x25c06a(0x3c3)])()),_0x77e721(this,_0x25c06a(0x2fc),new Set()),_0x77e721(this,'_unitOnClients',new Map()),_0x77e721(this,_0x25c06a(0x1bd),null),_0x77e721(this,_0x25c06a(0x449),new Map()),_0x77e721(this,_0x25c06a(0x3a4),new Map()),this[_0x25c06a(0x2cb)]();}[_0x529b57(0x1c0)](){const _0x5d3148=_0x529b57;super[_0x5d3148(0x1c0)](),this[_0x5d3148(0x449)][_0x5d3148(0x27d)]((_0x15f429,_0x723537)=>this['_removeClearOtherTimer'](_0x723537)),this[_0x5d3148(0x1bd)]&&window[_0x5d3148(0x30b)](this[_0x5d3148(0x1bd)]);}[_0x529b57(0x232)](_0x1ed02c){const _0x52b855=_0x529b57;return this['_ensureSubject'](_0x1ed02c)[_0x52b855(0x2a7)]((0x0,_0x541406[_0x52b855(0x2e6)])());}[_0x529b57(0x2ce)](_0x46578a){const _0x1f6cc5=_0x529b57;this[_0x1f6cc5(0x2fc)][_0x1f6cc5(0x1ff)]===0x0&&this[_0x1f6cc5(0x213)](),this[_0x1f6cc5(0x2fc)][_0x1f6cc5(0x293)](_0x46578a),this['_send']({'type':0x0,'memberID':this['_id'],'unitIDs':[_0x46578a],'isForwarded':!0x1});}[_0x529b57(0x1e8)](_0xea9eaf){const _0xf3498b=_0x529b57;this['_selfUnitIDs']['delete'](_0xea9eaf),this[_0xf3498b(0x2fc)]['size']===0x0&&this[_0xf3498b(0x1bd)]&&window[_0xf3498b(0x30b)](this[_0xf3498b(0x1bd)]);}['_init'](){const _0xf546c5=_0x529b57;this[_0xf546c5(0x1a1)]((0x0,_0x54099e[_0xf546c5(0x1d4)])((0x0,_0x541406['fromEvent'])(window,_0xf546c5(0x33a))[_0xf546c5(0x1a7)](_0x1e0cbb=>{const _0x299ddd=_0xf546c5;if(_0x1e0cbb[_0x299ddd(0x332)]!==_0x3d86cd||!_0x1e0cbb[_0x299ddd(0x400)])return;let _0x1d2fff=JSON['parse'](_0x1e0cbb['newValue']);this[_0x299ddd(0x4a9)](_0x1d2fff);}))),window[_0xf546c5(0x28a)](_0xf546c5(0x21e),()=>this[_0xf546c5(0x320)]({'type':0x1,'memberID':this[_0xf546c5(0x35d)],'unitIDs':Array[_0xf546c5(0x1d6)](this['_selfUnitIDs'])}));}[_0x529b57(0x4a9)](_0x575e50){const _0x3a83bc=_0x529b57;switch(_0x575e50['type']){case 0x0:this[_0x3a83bc(0x414)](_0x575e50);break;case 0x1:this['_handleLeaveEvent'](_0x575e50);break;case 0x2:this[_0x3a83bc(0x44a)](_0x575e50);break;}}[_0x529b57(0x414)](_0x3ada80){const _0x6b1901=_0x529b57;let {unitIDs:_0x1dafc7,memberID:_0x33471f,isForwarded:_0x398fc7}=_0x3ada80;_0x1dafc7[_0x6b1901(0x27d)](_0x279d5c=>{const _0x4cd4ef=_0x6b1901;if(!_0x398fc7&&this['_unitOnClients'][_0x4cd4ef(0x4d8)](_0x279d5c)&&this[_0x4cd4ef(0x46d)](_0x279d5c)[_0x4cd4ef(0x366)](_0x39299b[_0x4cd4ef(0x268)][_0x4cd4ef(0x1e7)]),!this[_0x4cd4ef(0x443)][_0x4cd4ef(0x4d8)](_0x279d5c)||!this['_unitOnClients'][_0x4cd4ef(0x480)](_0x279d5c)[_0x4cd4ef(0x4d8)](_0x33471f)){let _0x4a809f=this[_0x4cd4ef(0x443)][_0x4cd4ef(0x480)](_0x279d5c)||new Set();_0x4a809f[_0x4cd4ef(0x293)](_0x33471f),this[_0x4cd4ef(0x443)][_0x4cd4ef(0x340)](_0x279d5c,_0x4a809f),this[_0x4cd4ef(0x2c7)](_0x33471f);}}),_0x398fc7||this[_0x6b1901(0x320)]({'type':0x0,'memberID':this['_id'],'unitIDs':[...this[_0x6b1901(0x2fc)]],'isForwarded':!0x0});}[_0x529b57(0x2c7)](_0x2b8bbe){const _0x1277e0=_0x529b57;this['_removeClearOtherTimer'](_0x2b8bbe);let _0x2b4e37=window['setTimeout'](()=>{const _0x143bee=_0x2ff8;this[_0x143bee(0x443)][_0x143bee(0x27d)](_0x1c454f=>{const _0x5c5261=_0x143bee;_0x1c454f[_0x5c5261(0x472)](_0x2b8bbe);});},_0x26b93c*0x2);this['_clearOtherTimers'][_0x1277e0(0x340)](_0x2b8bbe,_0x2b4e37);}[_0x529b57(0x460)](_0x26d93d){const _0x79959b=_0x529b57;if(this[_0x79959b(0x449)][_0x79959b(0x4d8)](_0x26d93d)){let _0x189ca6=this[_0x79959b(0x449)]['get'](_0x26d93d);_0x189ca6&&window['clearTimeout'](_0x189ca6),this[_0x79959b(0x449)][_0x79959b(0x340)](_0x26d93d,null);}}[_0x529b57(0x379)](_0x55d5d3){const _0x456987=_0x529b57;let {memberID:_0x545e57,unitIDs:_0x430fbd}=_0x55d5d3;_0x430fbd[_0x456987(0x27d)](_0x2b3f73=>{const _0x2379bc=_0x456987;var _0x47de6d;let _0x3ff04e=this['_unitOnClients'][_0x2379bc(0x480)](_0x2b3f73);_0x3ff04e&&(_0x3ff04e['delete'](_0x545e57),(_0x47de6d=this[_0x2379bc(0x46d)](_0x2b3f73))==null||_0x47de6d[_0x2379bc(0x366)](_0x3ff04e[_0x2379bc(0x1ff)]===0x0?_0x39299b[_0x2379bc(0x268)]['NO_OTHER_CLIENTS_EDITING']:_0x39299b[_0x2379bc(0x268)][_0x2379bc(0x1e7)]));}),this[_0x456987(0x460)](_0x545e57);}[_0x529b57(0x44a)](_0xf2d632){const _0x46ae5d=_0x529b57;this[_0x46ae5d(0x2c7)](_0xf2d632['memberID']);}['_send'](_0x3c51be){localStorage['setItem'](_0x3d86cd,JSON['stringify'](_0x3c51be));}[_0x529b57(0x213)](){const _0x225241=_0x529b57;this[_0x225241(0x1bd)]=window[_0x225241(0x249)](()=>{const _0x7a2015=_0x225241;this[_0x7a2015(0x320)]({'type':0x2,'memberID':this['_id']});},_0x26b93c);}['_ensureSubject'](_0x4f6eea){const _0x3da29a=_0x529b57;return this['_unitStatus']['has'](_0x4f6eea)||this[_0x3da29a(0x3a4)]['set'](_0x4f6eea,new _0x541406[(_0x3da29a(0x225))](_0x39299b[_0x3da29a(0x268)]['NO_OTHER_CLIENTS_EDITING'])),this[_0x3da29a(0x3a4)][_0x3da29a(0x480)](_0x4f6eea);}};Object['defineProperty'](_0x360d56,_0x529b57(0x359),{'enumerable':!0x0,'get':function(){return _0x4fa05d;}}),Object[_0x529b57(0x2bf)](_0x360d56,_0x529b57(0x412),{'enumerable':!0x0,'get':function(){return _0x102dbb;}}),_0x360d56[_0x529b57(0x246)]=_0x47fac2,Object['defineProperty'](_0x360d56,'RemoteUniscriptService',{'enumerable':!0x0,'get':function(){return _0x1894af;}}),_0x360d56[_0x529b57(0x285)]=_0x363829,Object[_0x529b57(0x2bf)](_0x360d56,_0x529b57(0x244),{'enumerable':!0x0,'get':function(){return _0x166029;}}),_0x360d56[_0x529b57(0x367)]=_0x50af46;}));function _0xbcae(){const _0x130738=['unhandledrejection','angle','dirtyRanges','IShortcutService','beforeCommandExecuted','beginPath','registerDependencies','attrs','focusedId','_unitOnClients','DeleteRangeMoveUpCommandId','serializeRangeWithSheet','labelPosition','@@toPrimitive\x20must\x20return\x20a\x20primitive\x20value.','Workbook','_clearOtherTimers','_handleHeartbeatEvent','getCurrentRevOfUnit','_httpService','_updateMessage','RichTextEditingMutation','value','restore','_initStatusComponent','find','_dataLoaderService','IUniverInstanceService','preventDefault','_collaborationSessionService','getUndoRedoMutationParamsCache','_startBoardCollabCursor','@univerjs/protocol','startColumn','Disposable','HTTPService','location','UniverProCollaboration','unit','_removeClearOtherTimer','warning-icon','univer-text-orange-500','/universer-api/license/formula/limit/status','getObjectIncludeInGroup','collaboration-client-ui.collabClient.tooltip.reconnect','0\x200\x2016\x2016','_latestStates','OFFLINE','bind','_snapshotLoadingService','UniverEngineFormula','onPointerLeave$','_ensureSubject','loadUnit','_initUnhandledRejectionListener','COLORS','_univerInstanceService','delete','registerComponent','OnLineIcon','shareReplay','flatMap','/universer-api/license/formula/limit/start','Enter','message','result','_taskIds','_handoffUnitIds','handleDeleteRangeMoveLeft','_context','updateOfflineData','get','exports','data','transformIMECache','saveImage','black','_online','iterator','toRgbString','random','now','getConfig','_lastResponseTimestamp','_revisionService','_commandService','TRANSFORM_CHANGE_OBSERVABLE_TYPE','triggerDblclick','sheetID','univer-border-none\x20univer-bg-transparent','colorChannel1','react','UniverProCollaborationClientUi','getFocusedUnit','isEditing','hide','_localStorageService','getCellMatrix','parse','sessionTicket','string','toPrimitive','collaboration-client-ui.formula.calculation.waiting','_startDocCollabCursor','_sheetLoadingRenderService','IBeforeCloseService','_showText','No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.','_timeoutState$','clickable','_isVisibleUnit','1.0.0-alpha.4','_handleEvent','Warning','_maxFormulaLimit','Success','startRow','SessionStatus','createIdentifier','rgb','idSuffix','_stopBlinking','socket$','1083150VzrLFc','unitID','loadedBlocks','_initWindowErrorListener','_startSheetCollabCursor','rxjs','transformRemoteChangeset','UniverIcon','params','currentSkeleton$','IDocClipboardService','setShapeProps','getMergeData','entityInit$','_toggleOnline','body','React','_hideTimer','maxFormulaLimit','_saveTaskMap','color','useCallback','getVpScrollXYInfoByPosToVp','_status$','DataLoaderService','resolve','[Window\x20Error]:\x20','_disabled','mergeOverrideWithDependencies','_memberService','searchParams','catch','ILogService','transformMutationsWithChangeset','indicator','slice','has','map','reason','parseInt','functionsExecutedState','_uiPartsService','NOT_COLLAB','_drawRectRange','ERROR','SetTextSelectionsOperation','getCollabEntity$','collab-text-anchor-','_getFormulaLimitStatus','url(#off-line-icon_clip0_910_343)','SetDocZoomRatioOperation','focused$','_registerRenderDependencies','@univerjs/engine-formula','UniverDesign','doc.mutation.rich-text-editing','addHandlerCallback','connectInjector','_startBlinking','polite','tag','amd','_getLighterColor','DeleteRangeMoveLeftCommandId','getTypeOfUnitDisposed$','ISlideDrawingStateService','workbookShell','ITransformService','UNIVER_BOARD','isActive','getCurrentTypeOfUnit$','roomMembers$','highlight','switchMap','all','syncEditingCollabCursor','_cursor','ThemeService','LOADING_BLOCKS','COMPLETE','disposeWithMe','IMessageService','getCollabCursors$','colno','_getSceneObjectByKey','Rect','subscribe','TEXT_RANGE_LAYER_INDEX','_clearBlockProgressWatch','stageInfo','WarningIcon','OffLineIcon','10RydtLE','_isBlinkVisible','text','RefRangeService','white','loading-multi-icon','application/json','setItem','toStringTag','_messageService','refreshLabel','_anchorDot','highlightSecond','11MVtLVw','_collabCursorState$','i18nKey','_heartbeatTimer','/universer-api/frontend/logs','http://www.w3.org/2000/svg','dispose','width','timedOut','currentTheme$','0.2)','Module','removeObject','m2Prime','1186IeKtTY','_createSocketURL','DocIMEInputManagerService',':backup:','bold\x2013px\x20Source\x20Han\x20Sans\x20CN','undoState','_transformHistoryAndStateStack','_collaborationUIEventService','_setInteractionBlocked','UniverInstanceType','5926653jsjqQP','jsx','toDisposable','assignAColorForMemberID','from','_docTransformIMECacheService','constructor','UNIVER_SHEET','collaboration-client-ui.session.collaboration-timeout','endRow','Tooltip','disableLocalCache','getItem','error','IConfigService','getMember','collaboration-client-ui.collabStatus.offline','getCurrentUnitOfType','UniverProSlidesUi','_entityInit$','rxjs/operators','OTHER_CLIENTS_EDITING','disposeUnit','getCellPositionByOffset','BuiltInUIPart','MemberService','startFormulaLimitUrl','PERMISSION_DENIED','_shortcutService','height','IUIPartsService','collabCursorState$','collaboration-client-ui.snapshotLoading.refresh','div','executeCommand','mapTo','M8.79993\x2014.0166C8.79993\x2014.4585\x208.44176\x2014.8166\x207.99993\x2014.8166C4.23529\x2014.8166\x201.18345\x2011.7648\x201.18345\x208.00017C1.18345\x204.23554\x204.23529\x201.18369\x207.99993\x201.1837C11.7646\x201.1837\x2014.8164\x204.23554\x2014.8164\x208.00017C14.8164\x208.442\x2014.4582\x208.80017\x2014.0164\x208.80017C13.5746\x208.80017\x2013.2164\x208.442\x2013.2164\x208.00017C13.2164\x205.11919\x2010.8809\x202.7837\x207.99993\x202.7837C5.11895\x202.7837\x202.78345\x205.11919\x202.78345\x208.00017C2.78345\x2010.8812\x205.11895\x2013.2166\x207.99993\x2013.2166C8.44176\x2013.2166\x208.79993\x2013.5748\x208.79993\x2014.0166Z','M7.20007\x201.98384C7.20007\x201.54201\x207.55824\x201.18384\x208.00007\x201.18384C11.7647\x201.18384\x2014.8165\x204.23568\x2014.8165\x208.00032C14.8165\x2011.765\x2011.7647\x2014.8168\x208.00007\x2014.8168C4.23543\x2014.8168\x201.18359\x2011.765\x201.18359\x208.00032C1.18359\x207.55849\x201.54177\x207.20031\x201.98359\x207.20031C2.42542\x207.20031\x202.78359\x207.55849\x202.78359\x208.00032C2.78359\x2010.8813\x205.11909\x2013.2168\x208.00007\x2013.2168C10.8811\x2013.2168\x2013.2165\x2010.8813\x2013.2165\x208.00032C13.2165\x205.11933\x2010.8811\x202.78384\x208.00007\x202.78384C7.55824\x202.78384\x207.20007\x202.42567\x207.20007\x201.98384Z','_refRangeService','#0B9EFB','jiqing.500','override','#4f46e5','_logService','currentUsage','size','_session','replace','version','CollaborationStatus','spin','_highlightSecond','createInstance','measureText','touchDependencies','LOCAL_CACHE_INTERVAL_KEY','clearTimeout','isTransformMutationFailure','@univerjs/docs','_localeService','collab-text-range-','COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY','univer-text-red-500','getColorFromTheme','_pluginService','_scheduleHeartbeat','@univerjs/docs-ui','CollaborationUIEventId','releaseFormulaLimitUrl','NodePositionConvertToRectRange','kind','_updateSheetPreview','filter','DocStateChangeManagerService','alert','url(#$1','unload','HEADER_MENU','lineno','reconnect','transform','mask','object','BehaviorSubject','row','_transformService','_registerDependencies','transformByState','wsSessionTicketUrl','uni.network.url-service','_anchor','function','mutations','tooltipKey','onStarting','@univerjs/ui','getUnitStatus$','_collabCursorController','_updateLocalCursor','_getAnchorBounding','getOwnPropertyDescriptor','urlChange$','SnapshotLoadStage','loadOfflineData','getCurrentSkeleton','20uBlauI','strokeWidth','show','setActiveRange','_configService','_color','debug','selection','endColumn','UniverCollaborationClientUIPlugin','ranges','IURLService','_getSessionTicket','_scene','setInterval','_notificationService','asObservable','_setupSubUnitSync','collab-rect-range-','_cursorInfo$','deepClone','_config','\x20at\x20','_blockProgressWatches','isFormulaId','Optional','jsxs','onMouseMove','UniverSheetsUi','post','_interactionBlocked$','pushState','@univerjs-pro/collaboration','_blinkTimer','collaboration-client-ui.collaboration.single-unit.warning','transformMutation','_toggleOffline','_textBubble','top','_refreshCollabCursors','right','sheetId','_isApplyingOverlays','ErrorCode','collaboration-client-ui.session.connection-failed','UnitStatus','CollaborationEvent','[RemoteUniscriptService]:\x20no\x20focused\x20unit','eventID','clsx','limitInfo','theme$','getParam','FormulaExecutedStateType','stack','_getSheetObject','removeParam','SetSelectionsOperation','min','Plugin','children','CollaborationController','collaboration-client-ui.collaboration.offline-data-not-saved','entries','currentColor','MoveRangeCommandId','forEach','filename','ILocalCacheService','useRef','SetWorksheetActivateCommand','collaboration-client-ui.config','lineTo','drawWith','SheetCollabCursorShape','offsetY','rgba(255,\x20255,\x20255,\x200.01)','_previewUnitId','startsWith','addEventListener','_shapes','startPluginsForType','status','_blinkIntervalTimer','_drawTextRange','@univerjs/sheets-ui','collaboration-client-ui.collabStatus.synced','activeSheet$','add','@univerjs-pro/slides-ui','CanceledError','button','getLocalCacheKey','red.300','totalBlocks','push','_entities','fromEvent','textRanges','unitId','assign','evenodd','CollaborationSocketService','snapshot-loading-interaction-guard','getSheetId','_cursors','setLineDash','saveTaskMap','pipe','combineLatest','debounceTime','getDocRanges','name','trim','RxDisposable','LOADING_SNAPSHOT','m1Prime','displayName','IImageIoService','ACTIVE_UNIT_EVENT_CHANNEL','[Unhandled\x20Rejection]:\x20','stroke','getUnitId','backgroundColor','UniverEngineRender','useObservable','fillRule','defs','VIEW_MAIN','CONFLICT','round',',\x200.2)','defineProperty','search','_name','_getScale','_docSkeletonManagerService','_scheduleSaving','registerRenderModule','removeObjects','_scheduleClearOtherTimer','subunit','ISnapshotServerService','SheetSkeletonManagerService','_init','_clearPolling','_setupBeforeClosingHandler','editingUnit','_getObjectBounds','_localCacheService','InsertColCommandId','univer-h-8\x20univer-w-8\x20univer-rounded-lg','clear','_hasFormulaInDirtyRanges','substring','prototype','[CollaborationDataLoaderController]','stringify','_hover','getUnit','pageManager','use','event$','slide-collab-cursor-','includes','ILocalStorageService','ICommandService','dispose$','forceDisable','off-line-icon_clip0_910_343','range','distinctUntilChanged','onPointerEnter$','roomMembers','ISheetLoadingRenderService','selectedIds','status$','subUnitId','max','closePath','_docTransformSelectionsService','DEFAULT_WS_SESSION_TICKET_URL','Vector2','call','_doCreateSocket','getColor','MessageType','...','univer-flex\x20univer-items-center\x20univer-justify-center','setAlpha','colorClass','icon','replaceState','_selfUnitIDs','_transformUndoRedoStack','_updateCollabCursors','then','1468toVmVH','UPDATE_CURSOR','344xDCurP','off-line-icon','href','subscribeEvent','_docTransformStateCacheService','yellow.400','findNodePositionByCharIndex','_injector','redoState','clearInterval','handleIRemoveCol','memberID','green.600','unshift','unsubscribe','onCommandExecuted','UniverProBoardsUi','Unknown\x20user','showText','UniverSheets','timeoutState$','DisposableCollection','init','setStateCache','_initDependencies','Shape','strokeStyle','scene','split','getMemberID','_send','small','debounce','handleInsertRow','resize','_sheetSkeletonManagerService','values','_drawAnchor','Loading','_collaborationController','getAncestorScale','univer-text-blue-500','M0\x200H16V16H0z','_urlService','complete','getSheetObject','join','InsertRangeMoveRightCommandId','key','_pointerMoveDisposable','0\x200\x2017\x2016','_cachedData','InsertRowCommandId','getRangePointData','font','_handleHover','storage','getViewport','getRenderById','_onCursorUpdate','column','_slideDrawingStateService','set','univer-fixed\x20univer-left-1/2\x20univer-top-4\x20univer-z-[1001]\x20univer-flex\x20univer-max-w-[calc(100vw-32px)]\x20-univer-translate-x-1/2\x20univer-items-center\x20univer-gap-2\x20univer-rounded-lg\x20univer-bg-white\x20univer-px-3\x20univer-py-2\x20univer-text-sm\x20univer-text-gray-900\x20univer-shadow-lg\x20dark:!univer-bg-gray-700\x20dark:!univer-text-white','_initEvent','_saveCache','defIds','_labelPosition','LOCAL_CACHE_INTERVAL','getFormulaLimitStatusUrl','AWAITING_WITH_PENDING','bold\x2013px\x20Arial,\x20sans-serif','buildDrawingOKey','_clearTimeoutState','Failed','forwardRef','@univerjs-pro/collaboration-client','ONLINE','path','_collabSessionService','_offsetY','handleInsertRangeMoveRight','length','arc','getRealBound','_initStatusListener','univer-inline-flex\x20univer-items-center\x20univer-justify-center','BrowserCollaborationSocketService','remove','_initResize','primary','_id','fillText','EffectRefRangId','_memberID','Button','collaboration-client-ui.snapshotLoading.loadingSheet','_initUserListener','executionId','_currentUsage','next','WebBrowserSingleActiveUnitService','_render','univer-appearance-none','RegularPolygon','SOCKET_FAILED','cursorInfo','SnapshotLoadingService','getValue','isArray','_initCommandExecutedListener','board-element-selection','setConfig','makeDirty','decorate','_hidePreview','bottom','DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY','_handleLeaveEvent','with','_themeService','fillStyle','Subject','_getSheetLoadingRenderService','registerRefRange','DocSkeletonManagerService','LocaleService','Rectangle','_docSyncEditingCollabCursorService','_docClipboardService','\x20-\x20','fill','on-line-icon_clip0_910_349','slide-element-selection','_updateURLWithCurrentState','setTimeout','_pollingInterval','whenReady','RECT','showSkeleton','current','replaceDocRanges','setOffsetY','getCurrentSelections','SHEET_VIEWPORT_KEY','@univerjs/design','_labelHorizontalPosition','/universer-api/license/formula/limit/done','_eventUnsubscribe','_onCursorDelete','snapshot-loading-','createElement','state$','OTHER_CLIENT_EDITING','_uploadLog','_hovered','takeUntil','FETCH_MISS','_colorIndex','_watchBlockProgress','getUniverSheetInstance','_unitStatus','_boardElementStateService','Fragment','CollaborationSessionService','toISOString','transformSelections','getSnapshot','packageName','_lastPointer','runRefRangeMutations','START_CALCULATION','collaboration-client-ui.permission.content','symbol','handleInsertRangeMoveDown','sessionStatus$','runOnServer','LoadingMultiIcon','context','fromEventSubject','_messageIds','useMemo','isInternalEditorID','871032UmRXvM','_scheduleRender','_removeCollabCursors','runId','univerjs-icon\x20univerjs-icon-','DocCollaborationEntity','merge','_shortcutBlock','enableLocalCache','generateRandomId','left','snapshot-loading-timeout','enableDocumentCollaborationUI','type','getId','_applyCommand','NodePositionConvertToCursor','transformStateCache','_cursorShapes','FormulaExecuteStageType','_renderScheduled','evented','FromArray','_updateSubUnitFromURLParams','_setFormulaLimitStatus','cursorInfo$','collaboration-client-ui.permission.title','requireSession','backupOfflineData','rgba','UniverNetwork','univer-transition-all\x20univer-duration-200','dark:focus:!univer-ring-offset-gray-800','activeSheetId','timeoutId','Injector','static','getCoordByCell','27363ySzROT','_highlight','RemoveRowCommandId','_roomMembers$','UniverRpc','_range','_startCalculationLimit','GLOBAL','getObject','span','history','univer-size-4\x20univer-shrink-0\x20univer-text-amber-500','createSocket','CLOSE_ROOM','purple.300','Tools','addObject','stage','_showGuardMessage','getActiveSlide','_latestCursors','UNIVER_SLIDE','USERS_LEAVE','_renderManagerService','M15\x208C15\x2011.866\x2011.866\x2015\x208\x2015C4.13401\x2015\x201\x2011.866\x201\x208C1\x204.13401\x204.13401\x201\x208\x201C11.866\x201\x2015\x204.13401\x2015\x208ZM8.00008\x2012.3671C8.46031\x2012.3671\x208.83342\x2011.994\x208.83342\x2011.5338C8.83342\x2011.0735\x208.46031\x2010.7004\x208.00008\x2010.7004C7.53985\x2010.7004\x207.16675\x2011.0735\x207.16675\x2011.5338C7.16675\x2011.994\x207.53985\x2012.3671\x208.00008\x2012.3671ZM8.5999\x204.4335C8.5999\x204.10213\x208.33127\x203.8335\x207.9999\x203.8335C7.66853\x203.8335\x207.3999\x204.10213\x207.3999\x204.4335V9.36683C7.3999\x209.6982\x207.66853\x209.96683\x207.9999\x209.96683C8.33127\x209.96683\x208.5999\x209.6982\x208.5999\x209.36683V4.4335Z','addObjects','DOC_RANGE_TYPE','handleMoveRange','setParam','_syncEditingCollabCursorService','isFormulaString','origin','newValue','previewCellData','_initCommandInterceptor','removeEventListener','collaboration-client-ui.snapshotLoading.timeout','setUndoRedoMutationParamsCache','_transformPreviousActiveRange','none','react/jsx-runtime','send','Inject','univer-m-0\x20univer-p-0','getBoardElementRenderObjectKey','getActivePageId','_beforeCloseService','moveTo','collaboration-client-ui.collabStatus.notCollab','svg','DesktopCollaborationStatusDisplayController','exhaustSavingTask','_handleJoinEvent','DocSelectionManagerService','UniverCollaborationClientPlugin','_docStateChangeManagerService','No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','TEXT','handoff','getActiveSheet','useDependency','_getSaveTimeout','addObject$','getStateCache','8337120riyZej','clipPath','1845150Xwplcp','activeSlideId$','_backgroundColor','getSheetBySheetId','focus:univer-outline-none\x20focus:univer-ring-2\x20focus:univer-ring-primary-500\x20focus:univer-ring-offset-2','_draw','save','_assignedColors','UNIVER_DOC','ISocketService','source','getAllUnitsForType','1em','xlink:href','_monkeyPatchLogService','getTypeOfUnitAdded$','_instanceService','true','_initEntityListener','_releaseCalculationLimit','toString','_colorAssignService','labelHorizontalPosition','UniverDocsUi'];_0xbcae=function(){return _0x130738;};return _0xbcae();}
|