@univerjs-pro/collaboration-client-ui 0.12.4-insiders.20251211-c28f914 → 0.12.4-insiders.20251213-692494c
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/cjs/facade.js +1 -1
- package/lib/cjs/index.js +1 -1
- package/lib/cjs/locale/ca-ES.js +1 -1
- package/lib/cjs/locale/en-US.js +1 -1
- package/lib/cjs/locale/es-ES.js +1 -1
- package/lib/cjs/locale/fa-IR.js +1 -1
- package/lib/cjs/locale/fr-FR.js +1 -1
- package/lib/cjs/locale/ja-JP.js +1 -1
- package/lib/cjs/locale/ko-KR.js +1 -1
- package/lib/cjs/locale/ru-RU.js +1 -1
- package/lib/cjs/locale/vi-VN.js +1 -1
- package/lib/cjs/locale/zh-CN.js +1 -1
- package/lib/cjs/locale/zh-TW.js +1 -1
- package/lib/es/facade.js +1 -1
- package/lib/es/index.js +1 -1
- package/lib/es/locale/ca-ES.js +1 -1
- package/lib/es/locale/en-US.js +1 -1
- package/lib/es/locale/es-ES.js +1 -1
- package/lib/es/locale/fa-IR.js +1 -1
- package/lib/es/locale/fr-FR.js +1 -1
- package/lib/es/locale/ja-JP.js +1 -1
- package/lib/es/locale/ko-KR.js +1 -1
- package/lib/es/locale/ru-RU.js +1 -1
- package/lib/es/locale/vi-VN.js +1 -1
- package/lib/es/locale/zh-CN.js +1 -1
- package/lib/es/locale/zh-TW.js +1 -1
- package/lib/facade.js +1 -1
- package/lib/index.js +1 -1
- package/lib/locale/ca-ES.js +1 -1
- package/lib/locale/en-US.js +1 -1
- package/lib/locale/es-ES.js +1 -1
- package/lib/locale/fa-IR.js +1 -1
- package/lib/locale/fr-FR.js +1 -1
- package/lib/locale/ja-JP.js +1 -1
- package/lib/locale/ko-KR.js +1 -1
- package/lib/locale/ru-RU.js +1 -1
- package/lib/locale/vi-VN.js +1 -1
- package/lib/locale/zh-CN.js +1 -1
- package/lib/locale/zh-TW.js +1 -1
- package/lib/umd/facade.js +1 -1
- package/lib/umd/index.js +1 -1
- package/lib/umd/locale/ca-ES.js +1 -1
- package/lib/umd/locale/en-US.js +1 -1
- package/lib/umd/locale/es-ES.js +1 -1
- package/lib/umd/locale/fa-IR.js +1 -1
- package/lib/umd/locale/fr-FR.js +1 -1
- package/lib/umd/locale/ja-JP.js +1 -1
- package/lib/umd/locale/ko-KR.js +1 -1
- package/lib/umd/locale/ru-RU.js +1 -1
- package/lib/umd/locale/vi-VN.js +1 -1
- package/lib/umd/locale/zh-CN.js +1 -1
- package/lib/umd/locale/zh-TW.js +1 -1
- package/package.json +16 -16
package/lib/cjs/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
'use strict';const _0x104dc6=_0x39d4;(function(_0x583688,_0x20aca3){const _0xa00cf3=_0x39d4,_0x875e9f=_0x583688();while(!![]){try{const _0x56764c=-parseInt(_0xa00cf3(0xe4))/0x1+parseInt(_0xa00cf3(0x11e))/0x2*(-parseInt(_0xa00cf3(0x2a4))/0x3)+-parseInt(_0xa00cf3(0x2c3))/0x4+-parseInt(_0xa00cf3(0x124))/0x5*(-parseInt(_0xa00cf3(0x17c))/0x6)+-parseInt(_0xa00cf3(0x230))/0x7+-parseInt(_0xa00cf3(0x210))/0x8*(parseInt(_0xa00cf3(0xfe))/0x9)+parseInt(_0xa00cf3(0x2ba))/0xa;if(_0x56764c===_0x20aca3)break;else _0x875e9f['push'](_0x875e9f['shift']());}catch(_0x2c1fc6){_0x875e9f['push'](_0x875e9f['shift']());}}}(_0x326a,0xafbd3));var Xe=Object[_0x104dc6(0x156)],Ke=(_0x591c02,_0x41e09c,_0x4273b7)=>_0x41e09c in _0x591c02?Xe(_0x591c02,_0x41e09c,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x4273b7}):_0x591c02[_0x41e09c]=_0x4273b7,_=(_0x51db21,_0x5dd43a,_0xc862f)=>Ke(_0x51db21,typeof _0x5dd43a!=_0x104dc6(0x277)?_0x5dd43a+'':_0x5dd43a,_0xc862f);Object[_0x104dc6(0x156)](exports,Symbol[_0x104dc6(0x2a1)],{'value':_0x104dc6(0x110)});const M=require('react/jsx-runtime'),u=require('@univerjs-pro/collaboration-client'),a=require('@univerjs/core'),O=require('@univerjs/ui'),I=require('rxjs'),p=require('@univerjs/design'),A=require('react'),qe=require('@univerjs/rpc'),v=require('@univerjs/sheets'),C=require('@univerjs/engine-render'),x=require('@univerjs/network'),T=require('@univerjs/docs-ui'),ze=require('@univerjs/drawing'),g=require('@univerjs-pro/collaboration'),V=require('@univerjs/docs'),B=require('@univerjs/engine-formula'),$=require('rxjs/operators'),J=require('@univerjs/sheets-ui');function pe({ref:_0x23ff87,..._0x3a6fc1}){const _0x462f1d=_0x104dc6,{icon:_0x5187f6,id:_0x2d1778,className:_0x5366ea,extend:_0x1cdb6c,..._0x1c9676}=_0x3a6fc1,_0x59efb2=('univerjs-icon\x20univerjs-icon-'+_0x2d1778+'\x20'+(_0x5366ea||''))[_0x462f1d(0x2f0)](),_0xe556eb=A[_0x462f1d(0x378)]('_'+Qe());return $e(_0x5187f6,''+_0x2d1778,{'defIds':_0x5187f6['defIds'],'idSuffix':_0xe556eb[_0x462f1d(0x190)]},{'ref':_0x23ff87,'className':_0x59efb2,..._0x1c9676},_0x1cdb6c);}function $e(_0x4f3e62,_0x16f9b9,_0x4b6cd2,_0x433dd1,_0x1e65a3){const _0x89ab16=_0x104dc6;return A['createElement'](_0x4f3e62['tag'],{'key':_0x16f9b9,...Je(_0x4f3e62,_0x4b6cd2,_0x1e65a3),..._0x433dd1},(Ze(_0x4f3e62,_0x4b6cd2)[_0x89ab16(0x1e5)]||[])[_0x89ab16(0x2ff)]((_0x454198,_0x36a389)=>$e(_0x454198,_0x16f9b9+'-'+_0x4f3e62['tag']+'-'+_0x36a389,_0x4b6cd2,void 0x0,_0x1e65a3)));}function Je(_0x471f76,_0x594f63,_0xa2cacf){const _0x13cafb=_0x104dc6,_0x1347ff={..._0x471f76[_0x13cafb(0x363)]};_0xa2cacf!=null&&_0xa2cacf[_0x13cafb(0x2c1)]&&_0x1347ff['fill']===_0x13cafb(0x2c1)&&(_0x1347ff[_0x13cafb(0x38e)]=_0xa2cacf['colorChannel1']),_0x471f76['tag']==='mask'&&_0x1347ff['id']&&(_0x1347ff['id']=_0x1347ff['id']+_0x594f63[_0x13cafb(0x1c9)]),Object[_0x13cafb(0x134)](_0x1347ff)[_0x13cafb(0x197)](([_0x50aa8d,_0x3598d9])=>{const _0x57b240=_0x13cafb;_0x50aa8d==='mask'&&typeof _0x3598d9==_0x57b240(0x1ce)&&(_0x1347ff[_0x50aa8d]=_0x3598d9[_0x57b240(0xd0)](/url\(#(.*)\)/,_0x57b240(0x226)+_0x594f63['idSuffix']+')'));});const {defIds:_0x4a84b0}=_0x594f63;return!_0x4a84b0||_0x4a84b0[_0x13cafb(0x338)]===0x0||(_0x471f76['tag']===_0x13cafb(0x2df)&&_0x1347ff[_0x13cafb(0x27d)]&&(_0x1347ff[_0x13cafb(0x27d)]=_0x1347ff[_0x13cafb(0x27d)]+_0x594f63[_0x13cafb(0x1c9)]),Object[_0x13cafb(0x134)](_0x1347ff)[_0x13cafb(0x197)](([_0x1beedc,_0x802b10])=>{const _0x59e665=_0x13cafb;typeof _0x802b10==_0x59e665(0x1ce)&&(_0x1347ff[_0x1beedc]=_0x802b10[_0x59e665(0xd0)](/url\(#(.*)\)/,_0x59e665(0x226)+_0x594f63[_0x59e665(0x1c9)]+')'));})),_0x1347ff;}function Ze(_0x3c07c5,_0x2ed89e){const _0x105148=_0x104dc6;var _0x2fd033;const {defIds:_0x51a5fe}=_0x2ed89e;return!_0x51a5fe||_0x51a5fe[_0x105148(0x338)]===0x0?_0x3c07c5:_0x3c07c5['tag']===_0x105148(0x1a7)&&((_0x2fd033=_0x3c07c5[_0x105148(0x1e5)])!=null&&_0x2fd033['length'])?{..._0x3c07c5,'children':_0x3c07c5[_0x105148(0x1e5)][_0x105148(0x2ff)](_0x4d3338=>typeof _0x4d3338[_0x105148(0x363)]['id']=='string'&&_0x51a5fe&&_0x51a5fe['includes'](_0x4d3338['attrs']['id'])?{..._0x4d3338,'attrs':{..._0x4d3338[_0x105148(0x363)],'id':_0x4d3338[_0x105148(0x363)]['id']+_0x2ed89e[_0x105148(0x1c9)]}}:_0x4d3338)}:_0x3c07c5;}function _0x39d4(_0x15180a,_0x322f43){_0x15180a=_0x15180a-0xcd;const _0x326ade=_0x326a();let _0x39d44c=_0x326ade[_0x15180a];return _0x39d44c;}function Qe(){const _0x22a536=_0x104dc6;return Math['random']()[_0x22a536(0x16b)](0x24)[_0x22a536(0x199)](0x2,0x8);}pe[_0x104dc6(0x1a0)]=_0x104dc6(0x311);const et={'tag':_0x104dc6(0x11d),'attrs':{'xmlns':_0x104dc6(0x1bf),'fill':'none','viewBox':_0x104dc6(0x384),'width':'1em','height':'1em'},'children':[{'tag':'g','attrs':{'clipPath':_0x104dc6(0x1f6)},'children':[{'tag':_0x104dc6(0x262),'attrs':{'stroke':'currentColor','d':_0x104dc6(0x243),'strokeLinecap':'round','strokeLinejoin':_0x104dc6(0x1b5),'strokeWidth':1.2}}]},{'tag':_0x104dc6(0x1a7),'attrs':{},'children':[{'tag':_0x104dc6(0x374),'attrs':{'id':'off-line-icon_clip0_910_343'},'children':[{'tag':_0x104dc6(0x262),'attrs':{'fill':'white','d':'M0\x200H16V16H0z'}}]}]}],'defIds':[_0x104dc6(0x2b1)]},xe=A[_0x104dc6(0x179)](function(_0x48ec06,_0x1d3c9a){const _0x420b33=_0x104dc6;return A[_0x420b33(0xf1)](pe,Object[_0x420b33(0xfb)]({},_0x48ec06,{'id':_0x420b33(0x1b3),'ref':_0x1d3c9a,'icon':et}));});xe[_0x104dc6(0x1a0)]='OffLineIcon';const tt={'tag':_0x104dc6(0x11d),'attrs':{'xmlns':_0x104dc6(0x1bf),'fill':'none','viewBox':_0x104dc6(0x36d),'width':_0x104dc6(0xcd),'height':_0x104dc6(0xcd)},'children':[{'tag':'g','attrs':{'clipPath':_0x104dc6(0x358)},'children':[{'tag':'path','attrs':{'stroke':'currentColor','d':_0x104dc6(0x14b),'strokeLinecap':'round','strokeLinejoin':'round','strokeWidth':1.2}}]},{'tag':_0x104dc6(0x1a7),'attrs':{},'children':[{'tag':_0x104dc6(0x374),'attrs':{'id':'on-line-icon_clip0_910_349'},'children':[{'tag':_0x104dc6(0x262),'attrs':{'fill':_0x104dc6(0x2c0),'d':_0x104dc6(0x2cf),'transform':_0x104dc6(0x20f)}}]}]}],'defIds':[_0x104dc6(0x274)]},Be=A['forwardRef'](function(_0x2c8725,_0x152098){const _0x313da0=_0x104dc6;return A[_0x313da0(0xf1)](pe,Object[_0x313da0(0xfb)]({},_0x2c8725,{'id':_0x313da0(0x2e8),'ref':_0x152098,'icon':tt}));});Be[_0x104dc6(0x1a0)]=_0x104dc6(0x353);function st(_0x1dc5e2){const _0xdc354c=_0x104dc6;switch(_0x1dc5e2){case u['CollaborationStatus'][_0xdc354c(0x388)]:return _0xdc354c(0xe9);case u[_0xdc354c(0x1bc)][_0xdc354c(0x236)]:return _0xdc354c(0x13a);case u[_0xdc354c(0x1bc)][_0xdc354c(0x2ed)]:return'collabStatus.fetchMiss';case u[_0xdc354c(0x1bc)][_0xdc354c(0x137)]:return _0xdc354c(0x2a5);case u[_0xdc354c(0x1bc)]['AWAITING']:case u[_0xdc354c(0x1bc)]['AWAITING_WITH_PENDING']:return _0xdc354c(0x109);case u['CollaborationStatus']['SYNCED']:case u[_0xdc354c(0x1bc)][_0xdc354c(0x348)]:return _0xdc354c(0x2f1);}}function it(_0x3cb43a){const _0x29b42b=_0x104dc6,{status$:_0x2e05fa}=_0x3cb43a,_0x14276e=O[_0x29b42b(0x26f)](_0x2e05fa,u[_0x29b42b(0x1bc)][_0x29b42b(0x137)]),_0x177abe=O[_0x29b42b(0x107)](a[_0x29b42b(0x2f2)]),_0x3adef7=O[_0x29b42b(0x107)](u[_0x29b42b(0x389)]),_0x3e8b90=_0x14276e!==u['CollaborationStatus']['OFFLINE'],_0x31f2f1=_0x177abe['t'](st(_0x14276e)),_0x10fa72=_0x3e8b90?M[_0x29b42b(0x2a7)](Be,{}):M['jsx'](xe,{}),_0x3a1f1c=A['useCallback'](()=>{const _0x45243d=_0x29b42b;_0x3e8b90||_0x3adef7[_0x45243d(0x229)]();},[_0x3e8b90,_0x3adef7]);function _0x31cebf(){const _0x25a249=_0x29b42b;return M['jsxs'](_0x25a249(0x184),{'className':_0x25a249(0x337),'onClick':_0x3a1f1c,'children':[M['jsx'](_0x25a249(0x184),{'className':p[_0x25a249(0x208)]('univer-mr-2\x20univer-flex\x20univer-text-xl',{'univer-text-green-500':_0x3e8b90,'univer-text-red-500':!_0x3e8b90}),'children':_0x10fa72}),M[_0x25a249(0x2a7)]('div',{'className':_0x25a249(0x125),'children':_0x31f2f1})]});}return _0x3e8b90?_0x31cebf():M[_0x29b42b(0x2a7)](p[_0x29b42b(0x10e)],{'title':_0x177abe['t'](_0x29b42b(0x16d)),'children':_0x31cebf()});}var nt=Object['getOwnPropertyDescriptor'],rt=(_0x3e1a75,_0x22f628,_0xdd444a,_0x8c17c8)=>{const _0x5b88c9=_0x104dc6;for(var _0x1e887b=_0x8c17c8>0x1?void 0x0:_0x8c17c8?nt(_0x22f628,_0xdd444a):_0x22f628,_0x4e2d41=_0x3e1a75[_0x5b88c9(0x338)]-0x1,_0x1bcec4;_0x4e2d41>=0x0;_0x4e2d41--)(_0x1bcec4=_0x3e1a75[_0x4e2d41])&&(_0x1e887b=_0x1bcec4(_0x1e887b)||_0x1e887b);return _0x1e887b;},K=(_0x3bf339,_0x49aca6)=>(_0x36cf73,_0x59dbe7)=>_0x49aca6(_0x36cf73,_0x59dbe7,_0x3bf339);exports[_0x104dc6(0x351)]=class extends a[_0x104dc6(0x191)]{constructor(_0x59a21c,_0x447fb5,_0x1e4a48,_0x18372d){const _0x23aa7f=_0x104dc6;super(),_(this,'_status$',new I[(_0x23aa7f(0x1b7))](u[_0x23aa7f(0x1bc)][_0x23aa7f(0x137)])),(this[_0x23aa7f(0x297)]=_0x59a21c,this[_0x23aa7f(0x33c)]=_0x447fb5,this[_0x23aa7f(0x2e1)]=_0x1e4a48,this[_0x23aa7f(0x1de)]=_0x18372d,this[_0x23aa7f(0x128)](),this['_initStatusListener']());}[_0x104dc6(0xf8)](){const _0x2fa002=_0x104dc6;this[_0x2fa002(0x186)](this[_0x2fa002(0x297)][_0x2fa002(0x354)][_0x2fa002(0x368)](I['switchMap'](()=>{const _0xfd2959=_0x2fa002,_0x290ea1=this[_0xfd2959(0x297)][_0xfd2959(0x239)]();return _0x290ea1?this[_0xfd2959(0x2e1)][_0xfd2959(0x321)](_0x290ea1['getUnitId']()):I['of'](null);}),I[_0x2fa002(0x1fe)](_0x1f2fde=>_0x1f2fde?_0x1f2fde['status$']:I['of'](u[_0x2fa002(0x1bc)]['NOT_COLLAB'])))[_0x2fa002(0x104)](_0x161a2f=>{const _0xd53a0e=_0x2fa002;this[_0xd53a0e(0x20c)][_0xd53a0e(0x1f0)](_0x161a2f);}));}['_initStatusComponent'](){const _0xe5f1aa=_0x104dc6;this[_0xe5f1aa(0x186)](this[_0xe5f1aa(0x1de)]['registerComponent'](O[_0xe5f1aa(0x309)][_0xe5f1aa(0x306)],()=>O['connectInjector'](ot({'status$':this[_0xe5f1aa(0x20c)][_0xe5f1aa(0x18c)]()}),this[_0xe5f1aa(0x33c)])));}},exports[_0x104dc6(0x351)]=rt([K(0x0,a['IUniverInstanceService']),K(0x1,a[_0x104dc6(0x359)](a['Injector'])),K(0x2,a[_0x104dc6(0x359)](u['CollaborationController'])),K(0x3,O[_0x104dc6(0x30b)])],exports[_0x104dc6(0x351)]);function ot(_0x5f82d3){const {status$:_0x2f4828}=_0x5f82d3;return function(){const _0x2e0679=_0x39d4;return M[_0x2e0679(0x2a7)](it,{'status$':_0x2f4828});};}const Oe=a[_0x104dc6(0x383)](_0x104dc6(0xd5));var at=Object[_0x104dc6(0x194)],ct=(_0x4ed10b,_0xd785c4,_0x578b4a,_0x25ac62)=>{const _0x2d026c=_0x104dc6;for(var _0x2d1ddb=_0x25ac62>0x1?void 0x0:_0x25ac62?at(_0xd785c4,_0x578b4a):_0xd785c4,_0x2507e9=_0x4ed10b[_0x2d026c(0x338)]-0x1,_0x5b42aa;_0x2507e9>=0x0;_0x2507e9--)(_0x5b42aa=_0x4ed10b[_0x2507e9])&&(_0x2d1ddb=_0x5b42aa(_0x2d1ddb)||_0x2d1ddb);return _0x2d1ddb;},Y=(_0x3c448b,_0x4a8bcd)=>(_0x3bf9f7,_0x3753a9)=>_0x4a8bcd(_0x3bf9f7,_0x3753a9,_0x3c448b);exports['CollaborationDataLoaderController']=class extends a[_0x104dc6(0x320)]{constructor(_0x2083e7,_0x20c767,_0x47f0b9,_0x56b9fb,_0x3059ab){const _0x388471=_0x104dc6;super(),this['_urlService']=_0x2083e7,this['_logService']=_0x20c767,this[_0x388471(0x2ce)]=_0x47f0b9,this[_0x388471(0x153)]=_0x56b9fb,_0x3059ab?_0x3059ab==null||_0x3059ab['whenReady']()[_0x388471(0xed)](()=>this[_0x388471(0x27e)]()):(this['_logService']['debug'](_0x388471(0x369),_0x388471(0x394)),this[_0x388471(0x27e)]());}async[_0x104dc6(0x27e)](){const _0x28ba29=_0x104dc6,_0x51ebb3=this['_urlService']['getParam'](_0x28ba29(0x291)),_0x178597=this[_0x28ba29(0x23a)][_0x28ba29(0x33b)](_0x28ba29(0x1c2)),_0x425147=this[_0x28ba29(0x23a)][_0x28ba29(0x33b)](_0x28ba29(0x1e8));if(!_0x51ebb3||!_0x178597){this[_0x28ba29(0x1af)][_0x28ba29(0x22b)](_0x28ba29(0x369),_0x28ba29(0x142));return;}const _0x47ff7b=await this[_0x28ba29(0x153)][_0x28ba29(0xf4)](_0x51ebb3,Number(_0x178597),_0x425147);_0x47ff7b&&_0x47ff7b instanceof a[_0x28ba29(0x327)]&&this['_setupSubUnitSync'](_0x47ff7b);}async[_0x104dc6(0x2d7)](_0x4292d5){const _0x37108e=_0x104dc6;await this[_0x37108e(0x162)](_0x4292d5),_0x4292d5[_0x37108e(0x1fc)]['pipe'](I['takeUntil'](this[_0x37108e(0x1a4)]))[_0x37108e(0x104)](_0x1a0265=>{const _0x4686c7=_0x37108e;_0x1a0265&&this[_0x4686c7(0xe5)](_0x1a0265);}),this[_0x37108e(0x23a)][_0x37108e(0x313)][_0x37108e(0x368)](I[_0x37108e(0x295)](this[_0x37108e(0x1a4)]))['subscribe'](()=>this[_0x37108e(0x162)](_0x4292d5));}[_0x104dc6(0xe5)](_0xa17827,_0x2bd75b=!0x1){const _0x47cbed=_0x104dc6,_0x324ebf=this[_0x47cbed(0x23a)][_0x47cbed(0x33b)](_0x47cbed(0x1e8));_0xa17827[_0x47cbed(0x279)]()!==_0x324ebf&&this['_urlService'][_0x47cbed(0x213)](_0x47cbed(0x1e8),_0xa17827[_0x47cbed(0x279)](),_0x2bd75b);}async['_updateSubUnitFromURLParams'](_0x232f49){const _0x511def=_0x104dc6;var _0x42ff05;const _0x5228ba=this['_urlService'][_0x511def(0x33b)](_0x511def(0x1e8));if(!_0x5228ba||!_0x232f49[_0x511def(0x1bb)](_0x5228ba)){const _0xd93b6e=_0x232f49[_0x511def(0x18b)]()[0x0],_0x1bb6b3=_0x232f49[_0x511def(0x1bb)](_0xd93b6e);if(!_0x1bb6b3)return;this[_0x511def(0xe5)](_0x1bb6b3,!0x0),await this[_0x511def(0x2ce)][_0x511def(0x22c)](v[_0x511def(0x28a)]['id'],{'unitId':_0x232f49['getUnitId'](),'subUnitId':_0xd93b6e});return;}((_0x42ff05=_0x232f49[_0x511def(0x330)]())==null?void 0x0:_0x42ff05[_0x511def(0x279)]())!==_0x5228ba&&await this[_0x511def(0x2ce)]['executeCommand'](v[_0x511def(0x28a)]['id'],{'unitId':_0x232f49[_0x511def(0x303)](),'subUnitId':_0x5228ba});}},exports[_0x104dc6(0x2ad)]=ct([Y(0x0,Oe),Y(0x1,a[_0x104dc6(0x32c)]),Y(0x2,a[_0x104dc6(0x37e)]),Y(0x3,a[_0x104dc6(0x359)](u[_0x104dc6(0x23d)])),Y(0x4,a['Optional'](qe[_0x104dc6(0x382)]))],exports['CollaborationDataLoaderController']);var lt=Object[_0x104dc6(0x194)],_t=(_0x16b33c,_0x22566c,_0x5b0c9a,_0x182d05)=>{const _0x546031=_0x104dc6;for(var _0x5ae1a5=_0x182d05>0x1?void 0x0:_0x182d05?lt(_0x22566c,_0x5b0c9a):_0x22566c,_0x53ec9e=_0x16b33c[_0x546031(0x338)]-0x1,_0x30d427;_0x53ec9e>=0x0;_0x53ec9e--)(_0x30d427=_0x16b33c[_0x53ec9e])&&(_0x5ae1a5=_0x30d427(_0x5ae1a5)||_0x5ae1a5);return _0x5ae1a5;},De=(_0x1ed5c3,_0x26c945)=>(_0x4bae9a,_0x126066)=>_0x26c945(_0x4bae9a,_0x126066,_0x1ed5c3);let me=class extends a[_0x104dc6(0x320)]{constructor(_0x9e82ed,_0x405062){const _0x53f0b6=_0x104dc6;super(),this[_0x53f0b6(0x2d5)]=_0x9e82ed,this[_0x53f0b6(0x195)]=_0x405062,this[_0x53f0b6(0x27e)]();}[_0x104dc6(0x27e)](){const _0x5ac896=_0x104dc6,_0x456c6a=this;this[_0x5ac896(0x186)](this[_0x5ac896(0x2d5)][_0x5ac896(0x1c8)]({'onBeforePasteImage':async _0x59a90b=>{const _0x2470a7=_0x5ac896,_0x167008=await _0x456c6a[_0x2470a7(0x195)][_0x2470a7(0x301)](_0x59a90b);return _0x167008?{'source':_0x167008[_0x2470a7(0x112)],'imageSourceType':_0x167008[_0x2470a7(0x1c7)]}:null;}}));}};me=_t([De(0x0,T[_0x104dc6(0x267)]),De(0x1,ze[_0x104dc6(0x166)])],me);const Ne=[_0x104dc6(0x154),_0x104dc6(0x2d1),_0x104dc6(0x1c3),_0x104dc6(0x2be),'blue.400',_0x104dc6(0x1ca)];class Re extends a['Disposable']{constructor(){const _0x258e76=_0x104dc6;super(...arguments),_(this,'_assignedColors',new Map()),_(this,_0x258e76(0x139),0x0);}[_0x104dc6(0x332)](_0x88852f){const _0x833d5e=_0x104dc6;if(this[_0x833d5e(0x228)][_0x833d5e(0x235)](_0x88852f))return this['_assignedColors'][_0x833d5e(0x254)](_0x88852f);const _0x25bebd=Ne[this[_0x833d5e(0x139)]];return this[_0x833d5e(0x139)]=(this[_0x833d5e(0x139)]+0x1)%Ne['length'],this[_0x833d5e(0x228)][_0x833d5e(0x257)](_0x88852f,_0x25bebd),_0x25bebd;}}function Fe(_0x19f475){const _0x520ba0=_0x104dc6;let _0x4ef666='';for(const _0x4fc8aa of _0x19f475){const {startOffset:_0x3fb536,endOffset:_0x1a7079,isActive:_0x1b3307,rangeType:_0x8cc797,segmentId:_0x46f345,segmentPage:_0x2c7b24}=_0x4fc8aa;_0x4ef666[_0x520ba0(0x338)]&&(_0x4ef666+=','),_0x4ef666+=_0x3fb536+':'+_0x1a7079+':'+(_0x1b3307?'1':'0')+':'+_0x8cc797+':'+_0x46f345+':'+_0x2c7b24;}return _0x4ef666;}function ht(_0x5c4875){const _0x46e3d6=_0x104dc6,_0xf94f05=_0x5c4875[_0x46e3d6(0x278)](','),_0x23310c=[];for(const _0x4d2513 of _0xf94f05){const [_0x43990c,_0x521961,_0x4f5aa3,_0x42f6c1,_0x189328,_0x1b81d]=_0x4d2513[_0x46e3d6(0x278)](':');_0x23310c['push']({'startOffset':Number(_0x43990c),'endOffset':Number(_0x521961),'collapsed':_0x43990c===_0x521961,'isActive':_0x4f5aa3==='1','rangeType':_0x42f6c1===a[_0x46e3d6(0x165)][_0x46e3d6(0x2fc)]?a['DOC_RANGE_TYPE']['TEXT']:a['DOC_RANGE_TYPE'][_0x46e3d6(0x39a)],'segmentId':typeof _0x189328==_0x46e3d6(0x1ce)?String(_0x189328):'','segmentPage':Number(_0x1b81d!=null?_0x1b81d:-0x1)});}return _0x23310c[_0x46e3d6(0x18f)](_0x375b82=>_0x375b82[_0x46e3d6(0x1e1)])||(_0x23310c[0x0][_0x46e3d6(0x1e1)]=!0x0),_0x23310c;}class be extends a['RxDisposable']{constructor(){const _0x3b21a8=_0x104dc6;super(...arguments),_(this,_0x3b21a8(0x25b),new I[(_0x3b21a8(0x1b7))](null)),_(this,_0x3b21a8(0x14a),this[_0x3b21a8(0x25b)][_0x3b21a8(0x18c)]());}['syncEditingCollabCursor'](_0x233caf){const _0x5a92ca=_0x104dc6,{unitID:_0x220e7a,memberID:_0x48c7a5,textRanges:_0x324cf6}=_0x233caf,_0x422444=Fe(_0x324cf6);if(_0x422444==='')return;const _0x6ee427={'unitID':_0x220e7a,'memberID':_0x48c7a5,'selection':_0x422444};this[_0x5a92ca(0x25b)][_0x5a92ca(0x1f0)](_0x6ee427);}}var ut=Object[_0x104dc6(0x194)],It=(_0x3fac35,_0x170b58,_0x4bdd1c,_0x4a6381)=>{const _0x42cfb5=_0x104dc6;for(var _0x1f1f21=_0x4a6381>0x1?void 0x0:_0x4a6381?ut(_0x170b58,_0x4bdd1c):_0x170b58,_0x271093=_0x3fac35[_0x42cfb5(0x338)]-0x1,_0x54fc84;_0x271093>=0x0;_0x271093--)(_0x54fc84=_0x3fac35[_0x271093])&&(_0x1f1f21=_0x54fc84(_0x1f1f21)||_0x1f1f21);return _0x1f1f21;},U=(_0x18dadb,_0x3ff066)=>(_0x2ed576,_0x390d3)=>_0x3ff066(_0x2ed576,_0x390d3,_0x18dadb);const St=0x12c,dt=0x64;let ve=class extends a[_0x104dc6(0x320)]{constructor(_0x468f0f,_0x3102b8,_0x25320f,_0x8d56f0,_0x1bef45,_0x246166,_0x3664e3,_0x56fb17,_0x1d41a4){const _0x326c24=_0x104dc6;super(),_(this,'_online',!0x1),_(this,'_init',!0x1),_(this,'_cursorInfo$',new I[(_0x326c24(0x1b7))](new Map())),_(this,_0x326c24(0x129),this[_0x326c24(0x141)][_0x326c24(0x18c)]()),_(this,_0x326c24(0x1fd),new I[(_0x326c24(0x1b7))]([])),_(this,_0x326c24(0x26b),this[_0x326c24(0x1fd)][_0x326c24(0x368)](I['debounceTime'](St))),_(this,'_updateLocalCursor',a['debounce'](_0x2f0bac=>{const _0x35d61a=_0x326c24,_0x534f57={'eventID':g[_0x35d61a(0xdd)]['UPDATE_CURSOR'],'data':{'unitID':this['unitID'],'memberID':this[_0x35d61a(0x1dc)][_0x35d61a(0x35f)](),'selection':Fe(_0x2f0bac)}};this['_session'][_0x35d61a(0x299)](_0x534f57,this[_0x35d61a(0x27b)]);},dt)),(this[_0x326c24(0x27b)]=_0x468f0f,this[_0x326c24(0x1dc)]=_0x3102b8,this['_injector']=_0x25320f,this[_0x326c24(0x20a)]=_0x8d56f0,this[_0x326c24(0x2bd)]=_0x1bef45,this[_0x326c24(0x170)]=_0x246166,this['_transformService']=_0x3664e3,this['_univerInstanceService']=_0x56fb17,this[_0x326c24(0x2ce)]=_0x1d41a4);}get[_0x104dc6(0x322)](){const _0xf61a99=_0x104dc6;return this['_cursorInfo$'][_0xf61a99(0x2c9)]();}get[_0x104dc6(0x131)](){const _0x799f01=_0x104dc6;return this[_0x799f01(0x1fd)]['getValue']();}[_0x104dc6(0x16f)](){const _0x19938a=_0x104dc6;super[_0x19938a(0x16f)](),this[_0x19938a(0x141)][_0x19938a(0x1f0)](new Map()),this[_0x19938a(0x141)]['complete'](),this[_0x19938a(0x1fd)][_0x19938a(0x1f0)]([]),this[_0x19938a(0x1fd)][_0x19938a(0x24c)]();}['init'](){const _0x3b018c=_0x104dc6;this[_0x3b018c(0x27e)]||(this[_0x3b018c(0x27e)]=!0x0,this[_0x3b018c(0x1dc)][_0x3b018c(0x118)][_0x3b018c(0x368)](I['takeUntil'](this['dispose$']))[_0x3b018c(0x104)](_0x2639c1=>{const _0x31e2be=_0x3b018c;_0x2639c1===u[_0x31e2be(0x328)][_0x31e2be(0x241)]?this[_0x31e2be(0x12a)]():this[_0x31e2be(0x173)]();}),this['_session'][_0x3b018c(0x114)][_0x3b018c(0x368)](I[_0x3b018c(0x295)](this['dispose$']))[_0x3b018c(0x104)](_0x3826ff=>{const _0x16b73b=_0x3b018c,_0x44a822=_0x3826ff[_0x16b73b(0xfa)];_0x44a822===g[_0x16b73b(0xdd)][_0x16b73b(0x36a)]&&this[_0x16b73b(0x24b)](_0x3826ff),_0x44a822===g[_0x16b73b(0xdd)][_0x16b73b(0x1b1)]&&this[_0x16b73b(0x39b)](_0x3826ff);}),this[_0x3b018c(0x186)](this[_0x3b018c(0x2ce)][_0x3b018c(0x281)](_0xe9ccdd=>{const _0x3ff3ea=_0x3b018c,_0x368bdc=_0xe9ccdd['params'];_0x368bdc!=null&&this[_0x3ff3ea(0x2b3)]&&_0xe9ccdd['id']===V[_0x3ff3ea(0x12d)]['id']&&_0x368bdc['unitId']===this['unitID']&&_0x368bdc['isEditing']===!0x1&&_0x368bdc['ranges'][_0x3ff3ea(0x338)]>0x0&&this[_0x3ff3ea(0xeb)](_0x368bdc['ranges']);})),this[_0x3b018c(0x170)][_0x3b018c(0x14a)][_0x3b018c(0x368)](I['takeUntil'](this[_0x3b018c(0x1a4)]))[_0x3b018c(0x104)](_0x1d6fa6=>{const _0x33d9b0=_0x3b018c;if((_0x1d6fa6==null?void 0x0:_0x1d6fa6[_0x33d9b0(0x27b)])!==this['unitID'])return;const _0x51f2ba={'eventID':g[_0x33d9b0(0xdd)]['UPDATE_CURSOR'],'data':_0x1d6fa6};this[_0x33d9b0(0x24b)](_0x51f2ba);}),this[_0x3b018c(0x186)](this[_0x3b018c(0x2ce)][_0x3b018c(0x281)](_0x158faf=>{const _0x512a7d=_0x3b018c;if(_0x158faf['params']==null)return;const _0x4c47ed=_0x158faf['params'];if(_0x158faf['id']!==V[_0x512a7d(0x339)]['id']||_0x4c47ed[_0x512a7d(0x22a)]!==this['unitID'])return;const _0x26bc2a={'id':_0x512a7d(0x2c6),'params':_0x4c47ed},_0x3f734a=this[_0x512a7d(0x322)];for(const [_0x3aeb86,_0x1bbab0]of _0x3f734a){const _0x445211={'id':_0x512a7d(0x2c6),'params':{'unitId':this[_0x512a7d(0x27b)],'actions':null,'textRanges':_0x1bbab0[_0x512a7d(0x304)]}},_0x50a506=this[_0x512a7d(0x35c)]['transformMutation'](_0x26bc2a,_0x445211,!0x1);if(g[_0x512a7d(0x17e)](_0x50a506))throw _0x50a506[_0x512a7d(0x2b9)];_0x3f734a['set'](_0x3aeb86,{..._0x1bbab0,'ranges':_0x50a506[_0x512a7d(0x221)][_0x512a7d(0x147)]['textRanges']});}queueMicrotask(()=>{const _0x15b687=_0x512a7d;this[_0x15b687(0x141)][_0x15b687(0x1f0)](_0x3f734a);});})));}['_onCursorUpdate'](_0x23bd5e){const _0x5873ee=_0x104dc6;var _0x2f9d78,_0x3caa6d;const {memberID:_0x53e132,selection:_0x29732c}=_0x23bd5e['data'],_0x57abd2=ht(_0x29732c),_0x474a2d=(_0x3caa6d=(_0x2f9d78=this[_0x5873ee(0x2bd)][_0x5873ee(0x233)](this[_0x5873ee(0x27b)],_0x53e132))==null?void 0x0:_0x2f9d78[_0x5873ee(0x334)])!=null?_0x3caa6d:_0x5873ee(0x37d),_0x1815cc={'color':this['_colorAssignService'][_0x5873ee(0x332)](_0x53e132),'name':_0x474a2d,'ranges':_0x57abd2},_0x4d3595=this[_0x5873ee(0x322)];_0x4d3595[_0x5873ee(0x257)](_0x53e132,_0x1815cc),this[_0x5873ee(0x141)][_0x5873ee(0x1f0)](_0x4d3595);}[_0x104dc6(0x39b)](_0x2217b1){const _0x4a26b4=_0x104dc6,{memberID:_0x7b4829}=_0x2217b1[_0x4a26b4(0x183)],_0x284bc7=this[_0x4a26b4(0x322)];_0x284bc7[_0x4a26b4(0x1da)](_0x7b4829),this['_cursorInfo$'][_0x4a26b4(0x1f0)](_0x284bc7);}[_0x104dc6(0x12a)](){const _0x3bee3a=_0x104dc6;var _0xd2e29;if(this[_0x3bee3a(0x2b3)]=!0x0,((_0xd2e29=this[_0x3bee3a(0x297)]['getFocusedUnit']())==null?void 0x0:_0xd2e29[_0x3bee3a(0x303)]())!==this['unitID'])return;const _0x586947=this[_0x3bee3a(0x33c)][_0x3bee3a(0x254)](V['DocSelectionManagerService'])[_0x3bee3a(0x34f)]();Array['isArray'](_0x586947)&&_0x586947[_0x3bee3a(0x338)]>0x0&&this['_updateLocalCursor'](_0x586947);}[_0x104dc6(0x173)](){const _0x530fef=_0x104dc6;this[_0x530fef(0x2b3)]=!0x1;}};ve=It([U(0x2,a[_0x104dc6(0x359)](a[_0x104dc6(0x14e)])),U(0x3,a[_0x104dc6(0x359)](Re)),U(0x4,a[_0x104dc6(0x359)](u['MemberService'])),U(0x5,a[_0x104dc6(0x359)](be)),U(0x6,g[_0x104dc6(0x2bc)]),U(0x7,a['IUniverInstanceService']),U(0x8,a[_0x104dc6(0x37e)])],ve);var ft=Object[_0x104dc6(0x194)],mt=(_0x284dc8,_0x3c1f56,_0x3dc507,_0x5e3cf3)=>{const _0x4fb1a6=_0x104dc6;for(var _0x388691=_0x5e3cf3>0x1?void 0x0:_0x5e3cf3?ft(_0x3c1f56,_0x3dc507):_0x3c1f56,_0x5389eb=_0x284dc8[_0x4fb1a6(0x338)]-0x1,_0x2ad7a3;_0x5389eb>=0x0;_0x5389eb--)(_0x2ad7a3=_0x284dc8[_0x5389eb])&&(_0x388691=_0x2ad7a3(_0x388691)||_0x388691);return _0x388691;},w=(_0x539fa8,_0x5e76f8)=>(_0x441f14,_0xac7674)=>_0x5e76f8(_0x441f14,_0xac7674,_0x539fa8);const vt=0x12c,gt=0x64,Et=()=>{let _0x27c6ff=[],_0x50a2cb=!0x1;return _0x4ad4e3=>{const _0x57297a=_0x39d4;_0x27c6ff[_0x57297a(0x219)](_0x4ad4e3),_0x50a2cb||(_0x50a2cb=!0x0,setTimeout(()=>{const _0x411c9f=_0x57297a;_0x27c6ff[_0x411c9f(0x197)](_0x280266=>_0x280266()),_0x27c6ff=[],_0x50a2cb=!0x1;}));};};let ge=class extends a[_0x104dc6(0x320)]{constructor(_0x41a421,_0x34f86a,_0x3d9c05,_0x5c2764,_0x28b6ba,_0x3323bf,_0x4c89c1,_0x17679c){const _0x1b1e99=_0x104dc6;super(),_(this,_0x1b1e99(0x2b3),!0x1),_(this,_0x1b1e99(0x27e),!0x1),_(this,_0x1b1e99(0x141),new I[(_0x1b1e99(0x1b7))](new Map())),_(this,'cursorInfo$',this['_cursorInfo$'][_0x1b1e99(0x18c)]()),_(this,_0x1b1e99(0x1fd),new I[(_0x1b1e99(0x1b7))]([])),_(this,_0x1b1e99(0x26b),this[_0x1b1e99(0x1fd)][_0x1b1e99(0x368)](I[_0x1b1e99(0x108)](vt))),_(this,'_updateLocalCursor',a[_0x1b1e99(0x151)]((_0x51100b,_0x200ae1)=>{const _0x1b4556=_0x1b1e99,_0x28dc7f={'eventID':g[_0x1b4556(0xdd)]['UPDATE_CURSOR'],'data':{'unitID':this[_0x1b4556(0x27b)],'memberID':this[_0x1b4556(0x1dc)][_0x1b4556(0x35f)](),'selection':B['serializeRangeWithSheet'](_0x51100b,_0x200ae1[_0x1b4556(0x390)])}};this['_session'][_0x1b4556(0x299)](_0x28dc7f,this['unitID']);},gt)),(this[_0x1b1e99(0x27b)]=_0x41a421,this[_0x1b1e99(0x1dc)]=_0x34f86a,this[_0x1b1e99(0x33c)]=_0x3d9c05,this['_colorAssignService']=_0x5c2764,this['_memberService']=_0x28b6ba,this['_univerInstanceService']=_0x3323bf,this[_0x1b1e99(0x2ce)]=_0x4c89c1,this[_0x1b1e99(0x1df)]=_0x17679c);}get['cursorInfo'](){const _0x57afed=_0x104dc6;return this[_0x57afed(0x141)][_0x57afed(0x2c9)]();}get[_0x104dc6(0x131)](){const _0x2f5ffa=_0x104dc6;return this[_0x2f5ffa(0x1fd)][_0x2f5ffa(0x2c9)]();}[_0x104dc6(0x16f)](){const _0x10e1c5=_0x104dc6;super[_0x10e1c5(0x16f)](),this['_cursorInfo$'][_0x10e1c5(0x1f0)](new Map()),this[_0x10e1c5(0x141)][_0x10e1c5(0x24c)](),this[_0x10e1c5(0x1fd)][_0x10e1c5(0x1f0)]([]),this[_0x10e1c5(0x1fd)][_0x10e1c5(0x24c)]();}[_0x104dc6(0x29d)](){const _0x586426=_0x104dc6;this[_0x586426(0x27e)]||(this[_0x586426(0x27e)]=!0x0,this[_0x586426(0x1dc)][_0x586426(0x118)]['pipe'](I[_0x586426(0x295)](this['dispose$']))[_0x586426(0x104)](_0x5ab9bf=>{const _0x1fb3c7=_0x586426;_0x5ab9bf===u[_0x1fb3c7(0x328)][_0x1fb3c7(0x241)]?this[_0x1fb3c7(0x12a)]():this[_0x1fb3c7(0x173)]();}),this['_session'][_0x586426(0x114)]['pipe'](I[_0x586426(0x295)](this['dispose$']))[_0x586426(0x104)](_0x3d9b75=>{const _0x591b86=_0x586426,_0x30d471=_0x3d9b75[_0x591b86(0xfa)];_0x30d471===g['CollaborationEvent'][_0x591b86(0x36a)]&&this[_0x591b86(0x24b)](_0x3d9b75),_0x30d471===g[_0x591b86(0xdd)][_0x591b86(0x1b1)]&&this['_onCursorDelete'](_0x3d9b75);}),this['_onRefRangeChange'](),this[_0x586426(0x186)](this[_0x586426(0x2ce)]['onCommandExecuted'](_0x4d275c=>{const _0x4ce831=_0x586426;if(this[_0x4ce831(0x2b3)]&&_0x4d275c['id']===v[_0x4ce831(0x163)]['id']&&_0x4d275c['params'][_0x4ce831(0x22a)]===this[_0x4ce831(0x27b)]){const _0x5c6a75=_0x4d275c[_0x4ce831(0x147)];this['_updateLocalCursor'](_0x5c6a75[_0x4ce831(0x1d5)],_0x5c6a75[_0x4ce831(0x377)][0x0]);}})));}[_0x104dc6(0x24b)](_0x5c4570){const _0x3affbf=_0x104dc6;var _0x5f3132,_0x5e0802;const {memberID:_0x2f6bd9,selection:_0x49a84f}=_0x5c4570[_0x3affbf(0x183)],{sheetName:_0x4b5795,range:_0x1b9edc}=B[_0x3affbf(0x329)](_0x49a84f),_0x40f9ff={'name':(_0x5e0802=(_0x5f3132=this[_0x3affbf(0x2bd)][_0x3affbf(0x233)](this['unitID'],_0x2f6bd9))==null?void 0x0:_0x5f3132[_0x3affbf(0x334)])!=null?_0x5e0802:_0x3affbf(0x37d),'range':this[_0x3affbf(0x204)](_0x4b5795,_0x1b9edc),'sheetID':_0x4b5795,'color':this[_0x3affbf(0x20a)][_0x3affbf(0x332)](_0x2f6bd9),'selection':_0x49a84f},_0x1739b2=this[_0x3affbf(0x322)];_0x1739b2['set'](_0x2f6bd9,_0x40f9ff),this['_cursorInfo$'][_0x3affbf(0x1f0)](_0x1739b2);}[_0x104dc6(0x39b)](_0x17a4dc){const _0x2f35d0=_0x104dc6,{memberID:_0x5e1ebd}=_0x17a4dc[_0x2f35d0(0x183)],_0x60cbd9=this[_0x2f35d0(0x322)];_0x60cbd9[_0x2f35d0(0x1da)](_0x5e1ebd),this['_cursorInfo$'][_0x2f35d0(0x1f0)](_0x60cbd9);}[_0x104dc6(0x204)](_0x29a442,_0x712851){const _0x36fb2d=_0x104dc6;var _0x48789b,_0x40b3b2;const _0x48bc4b=(_0x40b3b2=(_0x48789b=this['_univerInstanceService'][_0x36fb2d(0x379)](this[_0x36fb2d(0x27b)]))==null?void 0x0:_0x48789b[_0x36fb2d(0x1bb)](_0x29a442))==null?void 0x0:_0x40b3b2['getMergeData']();return(_0x48bc4b==null?void 0x0:_0x48bc4b[_0x36fb2d(0x2d8)](_0x58fa35=>a[_0x36fb2d(0x15a)]['contains'](_0x58fa35,_0x712851)))||_0x712851;}[_0x104dc6(0x2b5)](){const _0x6bd83b=_0x104dc6,_0x2ec748=new a[(_0x6bd83b(0x32f))](),_0x219fb7=Et(),_0x5d664f=()=>{const _0x2b64f7=_0x6bd83b;_0x2ec748[_0x2b64f7(0x16f)]();const _0x27fe2e=(_0x381626,_0x14c314,_0x1efb86,_0x1cf503)=>{const _0x472324=_0x2b64f7;let _0x37694a=[];switch(_0x381626['id']){case v[_0x472324(0x175)][_0x472324(0x2bb)]:{_0x37694a=v[_0x472324(0x25f)](_0x381626,_0x1cf503);break;}case v[_0x472324(0x175)][_0x472324(0x37a)]:{_0x37694a=v[_0x472324(0x1bd)](_0x381626,_0x1cf503);break;}case v[_0x472324(0x175)][_0x472324(0x26d)]:{_0x37694a=v['handleInsertCol'](_0x381626,_0x1cf503);break;}case v['EffectRefRangId'][_0x472324(0x1f5)]:{_0x37694a=v[_0x472324(0x275)](_0x381626,_0x1cf503);break;}case v['EffectRefRangId'][_0x472324(0x1fa)]:{_0x37694a=v['handleInsertRangeMoveRight'](_0x381626,_0x1cf503);break;}case v[_0x472324(0x175)]['InsertRowCommandId']:{_0x37694a=v[_0x472324(0x2f9)](_0x381626,_0x1cf503);break;}case v[_0x472324(0x175)]['MoveRangeCommandId']:{_0x37694a=v[_0x472324(0x255)](_0x381626,_0x1cf503);break;}case v['EffectRefRangId'][_0x472324(0x2e5)]:{_0x37694a=v[_0x472324(0x307)](_0x381626,_0x1cf503);break;}case v[_0x472324(0x175)][_0x472324(0x11f)]:{_0x37694a=v[_0x472324(0x1d0)](_0x381626,_0x1cf503);break;}}const _0x2142c4=v[_0x472324(0x290)](_0x37694a,_0x1cf503),_0x210f4a=this[_0x472324(0x322)][_0x472324(0x254)](_0x14c314);if(_0x210f4a&&_0x2142c4){const _0x2d5f48={..._0x210f4a,'range':_0x2142c4};this[_0x472324(0x322)]['set'](_0x14c314,_0x2d5f48),_0x219fb7(()=>{const _0x3423ff=_0x472324,_0x1cd911=this[_0x3423ff(0x1df)]['registerRefRange'](_0x2142c4,_0x35fd9d=>(_0x1cd911['dispose'](),_0x27fe2e(_0x35fd9d,_0x14c314,_0x1efb86,_0x2142c4)));_0x2ec748[_0x3423ff(0x15b)](_0x1cd911);});}return{'redos':[],'undos':[]};};this[_0x2b64f7(0x322)][_0x2b64f7(0x197)]((_0x151e84,_0x1896c1)=>{const _0x52ee99=_0x2b64f7,{range:_0x599112,sheetID:_0xb534fb}=_0x151e84,_0x58dd3f=this[_0x52ee99(0x1df)][_0x52ee99(0x19e)](_0x599112,_0x2ecf49=>(_0x58dd3f[_0x52ee99(0x16f)](),_0x27fe2e(_0x2ecf49,_0x1896c1,_0xb534fb,_0x599112)));_0x2ec748[_0x52ee99(0x15b)](_0x58dd3f);});};this[_0x6bd83b(0x186)](a[_0x6bd83b(0x365)](this['_cursorInfo$'][_0x6bd83b(0x104)](()=>{_0x5d664f();})));}[_0x104dc6(0x12a)](){const _0x1c1b9b=_0x104dc6;var _0x2ba9c1,_0x473db4;if(this[_0x1c1b9b(0x2b3)]=!0x0,((_0x2ba9c1=this['_univerInstanceService'][_0x1c1b9b(0x239)]())==null?void 0x0:_0x2ba9c1['getUnitId']())!==this[_0x1c1b9b(0x27b)])return;const _0xce296c=(_0x473db4=this[_0x1c1b9b(0x33c)][_0x1c1b9b(0x254)](v[_0x1c1b9b(0x13e)])['getCurrentSelections']())==null?void 0x0:_0x473db4[0x0],_0x4cbf37=this[_0x1c1b9b(0x297)][_0x1c1b9b(0x27f)](a[_0x1c1b9b(0x344)][_0x1c1b9b(0x381)])[_0x1c1b9b(0x330)]();_0xce296c&&_0x4cbf37&&this[_0x1c1b9b(0xeb)](_0x4cbf37[_0x1c1b9b(0x279)](),_0xce296c);}[_0x104dc6(0x173)](){const _0x45deb6=_0x104dc6;this[_0x45deb6(0x2b3)]=!0x1;}};ge=mt([w(0x2,a['Inject'](a[_0x104dc6(0x14e)])),w(0x3,a[_0x104dc6(0x359)](Re)),w(0x4,a['Inject'](u[_0x104dc6(0x17a)])),w(0x5,a[_0x104dc6(0x2c8)]),w(0x6,a[_0x104dc6(0x37e)]),w(0x7,a[_0x104dc6(0x359)](v[_0x104dc6(0x1a2)]))],ge);var Ct=Object[_0x104dc6(0x194)],Tt=(_0x5969f3,_0x44f094,_0x420315,_0x49265f)=>{const _0x15ccea=_0x104dc6;for(var _0x5c3125=_0x49265f>0x1?void 0x0:_0x49265f?Ct(_0x44f094,_0x420315):_0x44f094,_0x122524=_0x5969f3[_0x15ccea(0x338)]-0x1,_0x25e285;_0x122524>=0x0;_0x122524--)(_0x25e285=_0x5969f3[_0x122524])&&(_0x5c3125=_0x25e285(_0x5c3125)||_0x5c3125);return _0x5c3125;},ce=(_0x3f77a7,_0x45d257)=>(_0x20c1cc,_0x45cd11)=>_0x45d257(_0x20c1cc,_0x45cd11,_0x3f77a7);let F=class extends a[_0x104dc6(0x320)]{constructor(_0x9e45f7,_0x26cbfc,_0x255e27){const _0x347651=_0x104dc6;super(),_(this,_0x347651(0x220),new Map()),_(this,_0x347651(0x211),new I[(_0x347651(0x1f8))]()),(this[_0x347651(0x297)]=_0x9e45f7,this[_0x347651(0x33c)]=_0x26cbfc,this['_collabSessionService']=_0x255e27,this['_init']());}['dispose'](){const _0x3992c0=_0x104dc6;super[_0x3992c0(0x16f)](),this[_0x3992c0(0x211)][_0x3992c0(0x24c)](),this[_0x3992c0(0x220)][_0x3992c0(0x197)](_0x3b09a0=>_0x3b09a0['dispose']());}[_0x104dc6(0x2e7)](_0x5a9bd6){const _0x4c74c3=_0x104dc6;return this[_0x4c74c3(0x220)][_0x4c74c3(0x235)](_0x5a9bd6)?this[_0x4c74c3(0x220)][_0x4c74c3(0x254)](_0x5a9bd6)[_0x4c74c3(0x129)]:this[_0x4c74c3(0x211)][_0x4c74c3(0x368)](I[_0x4c74c3(0x387)](_0x606a2f=>_0x606a2f[_0x4c74c3(0x27b)]===_0x5a9bd6),I[_0x4c74c3(0x1fe)](_0x2f5a2c=>_0x2f5a2c[_0x4c74c3(0x129)]));}[_0x104dc6(0x27e)](){const _0x33569c=_0x104dc6;this[_0x33569c(0x297)][_0x33569c(0x1b6)](a[_0x33569c(0x344)][_0x33569c(0x381)])[_0x33569c(0x368)](I[_0x33569c(0x295)](this[_0x33569c(0x1a4)]))[_0x33569c(0x104)](async _0x21b381=>{const _0x499f5b=_0x33569c,_0x23997c=_0x21b381[_0x499f5b(0x303)](),_0x1c6ffc=await this['_startSheetCollabCursor'](_0x23997c);this[_0x499f5b(0x211)][_0x499f5b(0x1f0)](_0x1c6ffc),this[_0x499f5b(0x220)]['set'](_0x23997c,_0x1c6ffc);}),this[_0x33569c(0x297)][_0x33569c(0x1b6)](a[_0x33569c(0x344)][_0x33569c(0x1d6)])['pipe'](I[_0x33569c(0x295)](this[_0x33569c(0x1a4)]))[_0x33569c(0x368)](I[_0x33569c(0x387)](_0x4776ac=>!_0x4776ac[_0x33569c(0x303)]()['startsWith']('__')))[_0x33569c(0x104)](async _0x2b2ad4=>{const _0x607609=_0x33569c,_0x5e34b5=_0x2b2ad4[_0x607609(0x303)](),_0x1521ff=await this[_0x607609(0x35a)](_0x5e34b5);this[_0x607609(0x211)][_0x607609(0x1f0)](_0x1521ff),this[_0x607609(0x220)][_0x607609(0x257)](_0x5e34b5,_0x1521ff);}),I['merge'](this[_0x33569c(0x297)][_0x33569c(0x395)](a[_0x33569c(0x344)]['UNIVER_DOC']),this[_0x33569c(0x297)][_0x33569c(0x395)](a[_0x33569c(0x344)][_0x33569c(0x381)]))['pipe'](I['takeUntil'](this[_0x33569c(0x1a4)]))[_0x33569c(0x104)](_0x523e87=>{const _0x493420=_0x33569c,_0x149256=_0x523e87['getUnitId'](),_0x647d90=this[_0x493420(0x220)][_0x493420(0x254)](_0x149256);_0x647d90&&(_0x647d90[_0x493420(0x16f)](),this[_0x493420(0x220)]['delete'](_0x149256));});}async['_startSheetCollabCursor'](_0x3e4350){const _0x55fdc5=_0x104dc6,_0x2635b9=await this[_0x55fdc5(0x343)]['requireSession'](_0x3e4350),_0x18c3dc=this['_injector'][_0x55fdc5(0xdc)](ge,_0x3e4350,_0x2635b9);return _0x18c3dc['init'](),_0x18c3dc;}async[_0x104dc6(0x35a)](_0x7f0061){const _0x483ff8=_0x104dc6,_0x266882=await this[_0x483ff8(0x343)][_0x483ff8(0x28d)](_0x7f0061),_0x3ec54d=this['_injector']['createInstance'](ve,_0x7f0061,_0x266882);return _0x3ec54d[_0x483ff8(0x29d)](),_0x3ec54d;}};F=Tt([ce(0x0,a[_0x104dc6(0x2c8)]),ce(0x1,a[_0x104dc6(0x359)](a[_0x104dc6(0x14e)])),ce(0x2,a['Inject'](u['CollaborationSessionService']))],F);const X=0x14,Ue=0xc8,le=0x4,pt=0x5;function Ot(_0x6e7558,_0x5b1e6e){const _0x54eaf8=_0x104dc6;let {radius:_0x10afb3,width:_0x112eb6,height:_0x596c51}=_0x5b1e6e;_0x10afb3=_0x10afb3!=null?_0x10afb3:0x0,_0x112eb6=_0x112eb6!=null?_0x112eb6:0x1e,_0x596c51=_0x596c51!=null?_0x596c51:0x1e;let _0x98a089=0x0,_0x188e44=0x0,_0x3d781a=0x0;_0x98a089=_0x188e44=_0x3d781a=Math[_0x54eaf8(0x1e6)](_0x10afb3,_0x112eb6/0x2,_0x596c51/0x2),_0x6e7558[_0x54eaf8(0x265)](),_0x6e7558[_0x54eaf8(0x2b6)](_0x98a089,0x0),_0x6e7558[_0x54eaf8(0x23f)](_0x112eb6-_0x188e44,0x0),_0x6e7558['arc'](_0x112eb6-_0x188e44,_0x188e44,_0x188e44,Math['PI']*0x3/0x2,0x0,!0x1),_0x6e7558[_0x54eaf8(0x23f)](_0x112eb6,_0x596c51-_0x3d781a),_0x6e7558[_0x54eaf8(0x259)](_0x112eb6-_0x3d781a,_0x596c51-_0x3d781a,_0x3d781a,0x0,Math['PI']/0x2,!0x1),_0x6e7558[_0x54eaf8(0x23f)](0x0,_0x596c51),_0x6e7558['lineTo'](0x0,_0x98a089),_0x6e7558[_0x54eaf8(0x259)](_0x98a089,_0x98a089,_0x98a089,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x6e7558[_0x54eaf8(0xd2)](),_0x5b1e6e[_0x54eaf8(0x38e)]&&(_0x6e7558[_0x54eaf8(0x31c)](),_0x6e7558['fillStyle']=_0x5b1e6e[_0x54eaf8(0x38e)],_0x5b1e6e[_0x54eaf8(0x193)]===_0x54eaf8(0x2d2)?_0x6e7558['fill']('evenodd'):_0x6e7558[_0x54eaf8(0x38e)](),_0x6e7558[_0x54eaf8(0x352)]());}class re extends C[_0x104dc6(0x256)]{constructor(_0x815ca3,_0x420b58){const _0xe94ea5=_0x104dc6;super(_0x815ca3,_0x420b58),_(this,_0xe94ea5(0x324)),_(this,_0xe94ea5(0x1c1)),(this[_0xe94ea5(0x324)]=_0x420b58==null?void 0x0:_0x420b58['color'],this[_0xe94ea5(0x1c1)]=_0x420b58==null?void 0x0:_0x420b58['text']);}static[_0x104dc6(0x203)](_0x43c551,_0x58fe9d){const _0xabbcdd=_0x104dc6,{text:_0x5b5c5f,color:_0x137910}=_0x58fe9d;_0x43c551[_0xabbcdd(0x31c)](),_0x43c551[_0xabbcdd(0x224)]=_0xabbcdd(0x273);const _0x239256=_0x43c551['measureText'](_0x5b5c5f)[_0xabbcdd(0x2aa)],_0x13b2e9=Math['min'](_0x239256+0x2*le,Ue);Ot(_0x43c551,{'height':X,'radius':0x4,'width':_0x13b2e9,'fill':_0x137910}),_0x43c551['fillStyle']='#FFF';const _0x19311c=le,_0x1659eb=X-pt,_0x4d9a7b=Ue-0x2*le;if(_0x239256>_0x4d9a7b){let _0x5e022f='',_0x500334=0x0;for(const _0xbedce4 of _0x5b5c5f){const _0x33a61c=_0x43c551['measureText'](_0xbedce4)[_0xabbcdd(0x2aa)];if(_0x500334+_0x33a61c<=_0x4d9a7b-_0x43c551[_0xabbcdd(0x333)](_0xabbcdd(0x25d))[_0xabbcdd(0x2aa)])_0x5e022f+=_0xbedce4,_0x500334+=_0x33a61c;else{_0x5e022f+=_0xabbcdd(0x25d);break;}}_0x43c551[_0xabbcdd(0x331)](_0x5e022f,_0x19311c,_0x1659eb);}else _0x43c551[_0xabbcdd(0x331)](_0x5b5c5f,_0x19311c,_0x1659eb);_0x43c551['restore']();}[_0x104dc6(0x1a1)](_0x364412){re['drawWith'](_0x364412,this);}}const _e=_0x104dc6(0x10c),Rt=_0x104dc6(0x2a2),bt=_0x104dc6(0x2c5),H=0x6,Dt=1.5,he=0x4,Nt=1.5,Ut=_0x104dc6(0x1c4);class Le{constructor(_0x174b68,_0x417f0d,_0x5cec31,_0x4b615d){const _0x6b8c4f=_0x104dc6;_(this,_0x6b8c4f(0x34e),[]),_(this,_0x6b8c4f(0x26a),null),_(this,_0x6b8c4f(0xdf),null),_(this,_0x6b8c4f(0x222),null),_(this,_0x6b8c4f(0x14f),null),_(this,_0x6b8c4f(0x27a),null),(this[_0x6b8c4f(0x1ed)]=_0x174b68,this[_0x6b8c4f(0x33a)]=_0x417f0d,this[_0x6b8c4f(0x240)]=_0x5cec31,this[_0x6b8c4f(0x397)]=_0x4b615d,this[_0x6b8c4f(0x293)]());}set[_0x104dc6(0x29c)](_0x635320){const _0x368f73=_0x104dc6;_0x635320?(this[_0x368f73(0x222)]&&this[_0x368f73(0x222)]['hide'](),this[_0x368f73(0xdf)]&&this[_0x368f73(0xdf)]['show']()):(this[_0x368f73(0x222)]&&this['_anchorDot']['show'](),this[_0x368f73(0xdf)]&&this[_0x368f73(0xdf)][_0x368f73(0x119)]());}['dispose'](){const _0x37675f=_0x104dc6;for(const _0xcede0d of this['_shapes'])_0xcede0d[_0x37675f(0x16f)]();this[_0x37675f(0xdf)]&&this['_textBubble'][_0x37675f(0x16f)](),this[_0x37675f(0x222)]&&this[_0x37675f(0x222)][_0x37675f(0x16f)](),this[_0x37675f(0x26a)]&&this[_0x37675f(0x26a)][_0x37675f(0x16f)](),this[_0x37675f(0x27a)]&&this[_0x37675f(0x27a)]();}[_0x104dc6(0x293)](){const _0x1323ca=_0x104dc6;var _0x4b023e;const {_docSkeleton:_0x4f5fba,_document:_0x4f22ae}=this,{color:_0x381d1a,name:_0x314efb,ranges:_0x154e33}=this[_0x1323ca(0x1ed)],_0x415960=_0x4f22ae[_0x1323ca(0x21b)](),{docsLeft:_0xe6b8a,docsTop:_0x2aa572}=_0x415960,_0xb650f9=new T[(_0x1323ca(0x2e0))](_0x415960,_0x4f5fba);for(const {startOffset:_0x4b07bf,endOffset:_0x1df36e,rangeType:_0x1120ea,segmentId:_0xdd0e33,segmentPage:_0x3a1640,collapsed:_0x15d85a,isActive:_0x424b45}of _0x154e33){const _0x1fd497=_0x4f5fba[_0x1323ca(0x205)](_0x4b07bf,!0x0,_0xdd0e33,_0x3a1640);let _0x1a0396=_0x4f5fba['findNodePositionByCharIndex'](_0x1df36e,!0x0,_0xdd0e33,_0x3a1640);if(_0x1a0396==null&&(_0x1a0396=_0x4f5fba[_0x1323ca(0x205)](_0x1df36e-0x1,!0x1,_0xdd0e33,_0x3a1640)),_0x424b45){const {contentBoxPointGroup:_0x2c367a}=_0xb650f9[_0x1323ca(0x1ee)](_0x1a0396,_0x1a0396);if(_0x2c367a[_0x1323ca(0x338)]===0x0)continue;this['_drawAnchor'](_0x381d1a,_0x2c367a,_0xe6b8a,_0x2aa572,_0x314efb),this[_0x1323ca(0x27a)]=this[_0x1323ca(0x140)]();}if(_0x1fd497&&_0x1a0396){if(_0x1120ea===a[_0x1323ca(0x165)][_0x1323ca(0x39a)]){const _0x21a86e=new T[(_0x1323ca(0x1c0))](_0x415960,_0x4f5fba),{pointGroup:_0xe93679}=(_0x4b023e=_0x21a86e[_0x1323ca(0x1ee)](_0x1fd497,_0x1a0396))!=null?_0x4b023e:{};if(_0xe93679==null||_0xe93679[_0x1323ca(0x338)]===0x0)continue;this['_drawRectRange'](_0x381d1a,_0xe93679,_0xe6b8a,_0x2aa572);}else{if(!_0x15d85a){const {borderBoxPointGroup:_0x2410d7}=_0xb650f9[_0x1323ca(0x1ee)](_0x1fd497,_0x1a0396);if(_0x2410d7[_0x1323ca(0x338)]===0x0)continue;this[_0x1323ca(0xef)](_0x381d1a,_0x2410d7,_0xe6b8a,_0x2aa572);}}}}}['_drawAnchor'](_0x3c85b2,_0x34783f,_0x2b110f,_0x2da5ae,_0x23b70b){const _0xb7f276=_0x104dc6,_0x4eaa47=this[_0xb7f276(0x364)](_0x34783f),{left:_0x2157d4,top:_0x55888f,height:_0x5c5bb0}=_0x4eaa47,_0x56c3ae=this[_0xb7f276(0x37b)](),_0x30bf4c=Nt/_0x56c3ae,_0xd8fdd5=new C[(_0xb7f276(0x148))](_e+a[_0xb7f276(0x116)](H),{'left':_0x2157d4+_0x2b110f-_0x30bf4c,'top':_0x55888f+_0x2da5ae,'height':_0x5c5bb0,'width':Dt,'fill':_0x3c85b2||C[_0xb7f276(0x373)](a['COLORS'][_0xb7f276(0x342)],0x0),'strokeWidth':_0x30bf4c,'stroke':Ut,'evented':!0x0});this['_anchor']=_0xd8fdd5,this[_0xb7f276(0x33a)]['addObject'](_0xd8fdd5,T[_0xb7f276(0x200)]);const _0x55ece0=new C[(_0xb7f276(0x148))](_e+a['generateRandomId'](H),{'left':_0x2157d4+_0x2b110f-_0x30bf4c,'top':_0x55888f+_0x2da5ae-he/0x2,'height':he,'width':he,'fill':_0x3c85b2||C[_0xb7f276(0x373)](a[_0xb7f276(0x29e)][_0xb7f276(0x342)],0x0),'strokeWidth':0x0,'stroke':_0x3c85b2||C[_0xb7f276(0x373)](a[_0xb7f276(0x29e)][_0xb7f276(0x342)],0x0),'evented':!0x1});this[_0xb7f276(0x222)]=_0x55ece0,this[_0xb7f276(0x33a)]['addObject'](_0x55ece0,T[_0xb7f276(0x200)]);const _0x1eeeb9=new re(_e+a[_0xb7f276(0x116)](H),{'left':_0x2157d4+_0x2b110f-_0x30bf4c,'top':_0x55888f+_0x2da5ae-X,'text':_0x23b70b,'color':_0x3c85b2});this['_textBubble']=_0x1eeeb9,this['_scene'][_0xb7f276(0x32d)](_0x1eeeb9,T['TEXT_RANGE_LAYER_INDEX']),this['_hover']=!0x1;}[_0x104dc6(0x140)](){const _0x437f6c=_0x104dc6,_0x474553=this[_0x437f6c(0x26a)]['onPointerEnter$'][_0x437f6c(0x28e)](()=>{this['_hover']=!0x0;}),_0x5a1e52=this['_anchor'][_0x437f6c(0x231)][_0x437f6c(0x28e)](()=>{const _0x3634e8=_0x437f6c;this['_hideTimer']&&clearTimeout(this[_0x3634e8(0x14f)]),this[_0x3634e8(0x14f)]=setTimeout(()=>{const _0x7b4bff=_0x3634e8;this[_0x7b4bff(0x29c)]=!0x1;},0x7d0);});return()=>{const _0x5297d6=_0x437f6c;_0x474553['unsubscribe'](),_0x5a1e52[_0x5297d6(0x24f)]();};}[_0x104dc6(0xef)](_0x5b8e83,_0x4d3b67,_0x119b4d,_0x5e654b){const _0x2acb73=_0x104dc6,_0x5218b9=new a[(_0x2acb73(0xfc))](_0x5b8e83)[_0x2acb73(0x1b4)](0.2)[_0x2acb73(0x27c)](),_0x426224=new C['RegularPolygon'](Rt+a['generateRandomId'](H),{'pointsGroup':_0x4d3b67,'fill':_0x5218b9||C[_0x2acb73(0x373)](a[_0x2acb73(0x29e)][_0x2acb73(0x342)],0.2),'left':_0x119b4d,'top':_0x5e654b,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x2acb73(0x34e)][_0x2acb73(0x219)](_0x426224),this['_scene'][_0x2acb73(0x32d)](_0x426224,T[_0x2acb73(0x200)]);}[_0x104dc6(0x237)](_0x370520,_0x39f26a,_0x1fd05f,_0x57cea6){const _0x43ccac=_0x104dc6,_0x5c9e58=new a[(_0x43ccac(0xfc))](_0x370520)[_0x43ccac(0x1b4)](0.2)['toRgbString'](),_0x325f0b=new C[(_0x43ccac(0xd4))](bt+a[_0x43ccac(0x116)](H),{'pointsGroup':_0x39f26a,'fill':_0x5c9e58||C['getColor'](a[_0x43ccac(0x29e)][_0x43ccac(0x342)],0.2),'left':_0x1fd05f,'top':_0x57cea6,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x43ccac(0x34e)][_0x43ccac(0x219)](_0x325f0b),this['_scene'][_0x43ccac(0x32d)](_0x325f0b,T[_0x43ccac(0x200)]);}[_0x104dc6(0x364)](_0xd9ef){const _0x38f048=_0xd9ef[0x0],_0x4765b4=_0x38f048[0x0],_0x32c008=_0x38f048[0x2],{x:_0x1d5a7,y:_0x4cfb74}=_0x4765b4,{x:_0x378989,y:_0x9cf853}=_0x32c008;return{'left':_0x1d5a7,'top':_0x4cfb74,'width':_0x378989-_0x1d5a7,'height':_0x9cf853-_0x4cfb74};}[_0x104dc6(0x37b)](){const _0x471b03=_0x104dc6,{scaleX:_0x4e1eee,scaleY:_0x11abd5}=this[_0x471b03(0x33a)]['getAncestorScale']();return Math[_0x471b03(0x396)](_0x4e1eee,_0x11abd5);}}var Lt=Object[_0x104dc6(0x194)],Mt=(_0x254d21,_0x106255,_0x6a5bce,_0x520959)=>{for(var _0x2b8bd7=_0x520959>0x1?void 0x0:_0x520959?Lt(_0x106255,_0x6a5bce):_0x106255,_0xb939a6=_0x254d21['length']-0x1,_0x3b5769;_0xb939a6>=0x0;_0xb939a6--)(_0x3b5769=_0x254d21[_0xb939a6])&&(_0x2b8bd7=_0x3b5769(_0x2b8bd7)||_0x2b8bd7);return _0x2b8bd7;},q=(_0x1c70e1,_0x179373)=>(_0x29d3f8,_0x542c3f)=>_0x179373(_0x29d3f8,_0x542c3f,_0x1c70e1);let Ee=class extends a[_0x104dc6(0x320)]{constructor(_0x53e58a,_0x672453,_0xbdef98,_0x3f8ae9,_0x2f3213){const _0x2e1b76=_0x104dc6;super(),_(this,'_cursorShapes',[]),_(this,_0x2e1b76(0xd3),[]),(this[_0x2e1b76(0xd6)]=_0x53e58a,this['_docSkeletonManagerService']=_0x672453,this[_0x2e1b76(0x1cb)]=_0xbdef98,this[_0x2e1b76(0x2ce)]=_0x3f8ae9,this[_0x2e1b76(0x271)]=_0x2f3213,this[_0x2e1b76(0x27e)]());}[_0x104dc6(0x27e)](){const _0x4cff1d=_0x104dc6,_0x471484=this[_0x4cff1d(0xd6)][_0x4cff1d(0x22a)],_0x2de8a6=this[_0x4cff1d(0x350)];this['disposeWithMe'](I[_0x4cff1d(0x32e)]([this[_0x4cff1d(0x1cb)]['getCollabCursors$'](_0x471484),this['_themeService'][_0x4cff1d(0x21f)]])[_0x4cff1d(0x368)]($[_0x4cff1d(0x2ff)](([_0x58a0c4,_0x4a514e])=>({'skeleton':_0x2de8a6[_0x4cff1d(0x123)](),'cursors':[..._0x58a0c4[_0x4cff1d(0x2ac)]()]['flatMap'](_0x155ca9=>({..._0x155ca9,'color':this['_themeService'][_0x4cff1d(0x371)](_0x155ca9[_0x4cff1d(0x324)])}))})))[_0x4cff1d(0x104)](_0xaa3476=>{const _0xbf1f3a=_0x4cff1d;if(this[_0xbf1f3a(0x12b)](),_0xaa3476){const {skeleton:_0x34acb4,cursors:_0x2819f2}=_0xaa3476;this['_updateCollabCursors'](_0x34acb4,_0x2819f2);}})),this[_0x4cff1d(0x34d)](),this[_0x4cff1d(0x263)]();}[_0x104dc6(0x34c)](_0x4e4396,_0x58481c){const _0x546b5f=_0x104dc6,{scene:_0x859a3,mainComponent:_0x2ad124}=this[_0x546b5f(0xd6)],_0x3dd53c=_0x58481c[_0x546b5f(0x2ff)](_0x25e547=>new Le(_0x25e547,_0x859a3,_0x4e4396,_0x2ad124));this[_0x546b5f(0x2c4)]=_0x3dd53c,this[_0x546b5f(0xd3)]=_0x58481c;}[_0x104dc6(0xda)](){const _0x11d128=_0x104dc6;this[_0x11d128(0x12b)]();const {scene:_0x4e0ab8,mainComponent:_0x457a7a}=this[_0x11d128(0xd6)],_0x26c73f=this['_docSkeletonManagerService'][_0x11d128(0x123)](),_0x582f6b=this[_0x11d128(0xd3)][_0x11d128(0x2ff)](_0x158a44=>new Le(_0x158a44,_0x4e0ab8,_0x26c73f,_0x457a7a));this[_0x11d128(0x2c4)]=_0x582f6b;}[_0x104dc6(0x12b)](){const _0x3afa7d=_0x104dc6;this['_cursorShapes'][_0x3afa7d(0x197)](_0x5762ef=>_0x5762ef[_0x3afa7d(0x16f)]()),this['_cursorShapes']=[];}['_initCommandExecutedListener'](){const _0x400563=_0x104dc6,_0x285cad=[T['SetDocZoomRatioOperation']['id']];this[_0x400563(0x186)](this[_0x400563(0x2ce)][_0x400563(0x281)](_0x11bc56=>{const _0x278e9d=_0x400563;_0x285cad[_0x278e9d(0x11b)](_0x11bc56['id'])&&_0x11bc56['params'][_0x278e9d(0x22a)]===this[_0x278e9d(0xd6)][_0x278e9d(0x22a)]&&this[_0x278e9d(0xda)]();}));}['_initResize'](){const _0x5546a3=_0x104dc6;this[_0x5546a3(0x186)](a[_0x5546a3(0x1cf)](this[_0x5546a3(0xd6)][_0x5546a3(0x349)][_0x5546a3(0x245)])[_0x5546a3(0x368)]($[_0x5546a3(0x387)](_0x45ed0b=>_0x45ed0b[_0x5546a3(0x1c2)]===C[_0x5546a3(0x30f)][_0x5546a3(0x2a3)]),$[_0x5546a3(0x120)](0x10))[_0x5546a3(0x104)](()=>{const _0x2a8d4b=_0x5546a3;this[_0x2a8d4b(0xda)]();}));}};Ee=Mt([q(0x1,a[_0x104dc6(0x359)](V[_0x104dc6(0x1ec)])),q(0x2,a[_0x104dc6(0x359)](F)),q(0x3,a['ICommandService']),q(0x4,a[_0x104dc6(0x359)](a['ThemeService']))],Ee);const At=0x1,Pt=1.5;class je extends C[_0x104dc6(0x256)]{constructor(_0x5ac5f1,_0x1c96b0){const _0xa0b486=_0x104dc6;super(_0x5ac5f1,_0x1c96b0),_(this,'_color'),_(this,_0xa0b486(0x280),!0x1),_(this,_0xa0b486(0x1ad)),_(this,_0xa0b486(0x317),''),_(this,'_labelPosition',_0xa0b486(0x2da)),_(this,_0xa0b486(0x28b)),(_0x1c96b0&&this[_0xa0b486(0x285)](_0x1c96b0),this[_0xa0b486(0x23b)]['subscribeEvent'](()=>this[_0xa0b486(0x285)]({'hovered':!0x0})),this[_0xa0b486(0x231)]['subscribeEvent'](()=>this[_0xa0b486(0x285)]({'hovered':!0x1})));}[_0x104dc6(0x285)](_0xe819cf){const _0x3bcb9f=_0x104dc6;var _0xddb558,_0x27abba,_0x5d669f,_0x58a850,_0x350c5c,_0x170798;this[_0x3bcb9f(0x372)]=(_0xddb558=_0xe819cf['color'])!=null?_0xddb558:this[_0x3bcb9f(0x372)],this[_0x3bcb9f(0x280)]=(_0x27abba=_0xe819cf[_0x3bcb9f(0x2ef)])!=null?_0x27abba:this['_hovered'],this[_0x3bcb9f(0x1ad)]=(_0x5d669f=_0xe819cf[_0x3bcb9f(0x390)])!=null?_0x5d669f:this['_range'],this[_0x3bcb9f(0x317)]=(_0x58a850=_0xe819cf['name'])!=null?_0x58a850:this[_0x3bcb9f(0x317)],this[_0x3bcb9f(0x11c)]=(_0x350c5c=_0xe819cf[_0x3bcb9f(0x250)])!=null?_0x350c5c:this['_labelPosition'],this[_0x3bcb9f(0x28b)]=(_0x170798=_0xe819cf[_0x3bcb9f(0x249)])!=null?_0x170798:this[_0x3bcb9f(0x28b)],this[_0x3bcb9f(0x360)]({'width':_0xe819cf['width'],'height':_0xe819cf[_0x3bcb9f(0x2f5)]});}[_0x104dc6(0x19f)](_0xcc9803){const _0x573123=_0x104dc6,{row:_0x2e4bb3,column:_0x961d53}=_0xcc9803;if(_0x2e4bb3>=this['_range'][_0x573123(0x296)]&&_0x2e4bb3<=this['_range'][_0x573123(0x2d9)]&&_0x961d53>=this[_0x573123(0x1ad)][_0x573123(0x25e)]&&_0x961d53<=this['_range']['endColumn']){this['setShapeProps']({'hovered':!0x0});return;}this[_0x573123(0x285)]({'hovered':!0x1});}[_0x104dc6(0x1dd)](_0x2b1f78){return!0x1;}['_draw'](_0xaf6619){const _0x1bdda0=_0x104dc6;C[_0x1bdda0(0x148)][_0x1bdda0(0x203)](_0xaf6619,{'width':this[_0x1bdda0(0x2aa)],'height':this[_0x1bdda0(0x2f5)],'strokeWidth':Pt,'stroke':this[_0x1bdda0(0x372)],'evented':!0x1,'fill':this[_0x1bdda0(0x28b)]}),this['_hovered']&&(_0xaf6619[_0x1bdda0(0x31c)](),_0xaf6619[_0x1bdda0(0x28c)](0x1,0x0,0x0,0x1,this[_0x1bdda0(0x2aa)],this[_0x1bdda0(0x11c)]===_0x1bdda0(0x19c)?0x0:-X),re[_0x1bdda0(0x203)](_0xaf6619,{'text':this['_name'],'color':this['_color']}),_0xaf6619[_0x1bdda0(0x352)]());}}var wt=Object[_0x104dc6(0x194)],yt=(_0x56b02e,_0x29467d,_0x40a4aa,_0x571a05)=>{const _0x14cc01=_0x104dc6;for(var _0x47ccb2=_0x571a05>0x1?void 0x0:_0x571a05?wt(_0x29467d,_0x40a4aa):_0x29467d,_0x29eedd=_0x56b02e[_0x14cc01(0x338)]-0x1,_0x2756e0;_0x29eedd>=0x0;_0x29eedd--)(_0x2756e0=_0x56b02e[_0x29eedd])&&(_0x47ccb2=_0x2756e0(_0x47ccb2)||_0x47ccb2);return _0x47ccb2;},ue=(_0x1ac077,_0x2dbb44)=>(_0x4637c4,_0x34ccc5)=>_0x2dbb44(_0x4637c4,_0x34ccc5,_0x1ac077);const $t=0x1389;let Ce=class extends a[_0x104dc6(0x320)]{constructor(_0x171457,_0x8f66f0,_0x1e8846,_0x1f6668){const _0x146b2b=_0x104dc6;super(),_(this,_0x146b2b(0xd3),new Set()),_(this,'_lastPointer',null),(this[_0x146b2b(0xd6)]=_0x171457,this[_0x146b2b(0x1ae)]=_0x8f66f0,this['_collabCursorController']=_0x1e8846,this[_0x146b2b(0x271)]=_0x1f6668,this['_init']());}[_0x104dc6(0x27e)](){const _0x36447b=_0x104dc6;this['_sheetSkeletonManagerService']['currentSkeleton$'][_0x36447b(0x368)]($[_0x36447b(0x295)](this[_0x36447b(0x1a4)]),$[_0x36447b(0x1fe)](_0x50329b=>{const _0x5ba363=_0x36447b;if(_0x50329b){const _0x43543d=_0x50329b[_0x5ba363(0x29a)];return I[_0x5ba363(0x32e)](this[_0x5ba363(0x1cb)]['getCollabCursors$'](this[_0x5ba363(0xd6)][_0x5ba363(0x22a)]),this['_themeService'][_0x5ba363(0x21f)])[_0x5ba363(0x368)]($[_0x5ba363(0x2ff)](([_0xbf3cce,_0x420eb1])=>{const _0x44ac63=_0x5ba363,_0x5dfba8=new Map();return _0xbf3cce[_0x44ac63(0x197)]((_0x33afea,_0x503042)=>{const _0x307606=_0x44ac63;if(_0x33afea[_0x307606(0x346)]===_0x43543d){const _0x241281={..._0x33afea};_0x241281[_0x307606(0x324)]=this['_themeService'][_0x307606(0x371)](_0x33afea['color']),_0x5dfba8[_0x307606(0x257)](_0x503042,_0x241281);}}),{'skeleton':_0x50329b,'cursors':_0x5dfba8};}));}return I['of']({'skeleton':null,'cursors':new Map()});}))[_0x36447b(0x104)](({skeleton:_0x315fa5,cursors:_0x2ff1a8})=>{const _0xfd433a=_0x36447b;this[_0xfd433a(0x12b)](),_0x315fa5&&this[_0xfd433a(0x34c)](_0x315fa5,_0x2ff1a8);}),this[_0x36447b(0x1ae)][_0x36447b(0x19a)][_0x36447b(0x104)](_0x47fc32=>{const _0x3595eb=_0x36447b;if(_0x47fc32==null)return;const {skeleton:_0xb5dc72}=_0x47fc32,{scene:_0xc573f2}=this[_0x3595eb(0xd6)];_0xc573f2[_0x3595eb(0x37c)][_0x3595eb(0x28e)](a[_0x3595eb(0x151)](_0xed01d5=>{const _0x2c334b=_0x3595eb;var _0xd5e0b7,_0x4f7acd;const {offsetX:_0x3afdac,offsetY:_0x1a92e8}=_0xed01d5,{x:_0xce1f5c,y:_0x22ca48}=_0xc573f2[_0x2c334b(0x214)](C[_0x2c334b(0x1fb)][_0x2c334b(0x157)]([_0x3afdac,_0x1a92e8])),{scaleX:_0x175ce9,scaleY:_0xa16290}=_0xc573f2['getAncestorScale'](),_0x1ba3c6=_0xc573f2[_0x2c334b(0x282)](C[_0x2c334b(0x36f)]['VIEW_MAIN']),_0x5964b5=_0xc573f2[_0x2c334b(0x143)](C[_0x2c334b(0x1fb)][_0x2c334b(0x157)]([_0xce1f5c,_0x22ca48]),_0x1ba3c6),_0x3624ff=_0xb5dc72['getCellPositionByOffset'](_0x3afdac,_0x1a92e8,_0x175ce9,_0xa16290,_0x5964b5);((_0xd5e0b7=this[_0x2c334b(0x393)])==null?void 0x0:_0xd5e0b7[_0x2c334b(0x1d3)])===_0x3624ff[_0x2c334b(0x1d3)]&&((_0x4f7acd=this[_0x2c334b(0x393)])==null?void 0x0:_0x4f7acd[_0x2c334b(0x21d)])===_0x3624ff[_0x2c334b(0x21d)]||this[_0x2c334b(0xd3)][_0x2c334b(0x197)](_0x3a6190=>{const _0x5ab3da=_0x2c334b;_0x3a6190[_0x5ab3da(0x19f)](_0x3624ff);});},0x64));});}[_0x104dc6(0x34c)](_0x870651,_0x950b23){const _0x55f31e=_0x104dc6;var _0x48f194;const _0x53f70f=(_0x48f194=this[_0x55f31e(0x1ae)][_0x55f31e(0x39d)]())==null?void 0x0:_0x48f194['skeleton'];if(!_0x53f70f)return;const _0x27ee6a=this[_0x55f31e(0x12c)]();if(!_0x27ee6a)return;this[_0x55f31e(0xd3)][_0x55f31e(0x197)](_0x1e03af=>{_0x1e03af['makeDirty']();});const {scene:_0x2ec2b7}=_0x27ee6a,_0x10f0de=xt(Array[_0x55f31e(0x38f)](_0x950b23[_0x55f31e(0x2ac)]()))['map'](_0x5bfea5=>{const _0x167a5f=_0x55f31e,{color:_0x58e4c5,range:_0x58eeff,name:_0x10b088,selection:_0x46118e,sheetID:_0x45f5e1}=_0x5bfea5,{startColumn:_0x298f01,startRow:_0x4536ed,endColumn:_0x437586,endRow:_0x5a7722}=_0x58eeff,_0x35677a=J['getCoordByCell'](_0x4536ed,_0x298f01,_0x2ec2b7,_0x53f70f),_0x379262=J['getCoordByCell'](_0x5a7722,_0x437586,_0x2ec2b7,_0x53f70f),{columnHeaderHeightAndMarginTop:_0x523528}=_0x53f70f,{startX:_0x4d1a40,startY:_0x5744f3}=_0x35677a,{endX:_0x31b757,endY:_0x25f406}=_0x379262,_0x2bc6b6=_0x31b757-_0x4d1a40,_0x3dfd09=_0x25f406-_0x5744f3,_0x4c12be={'labelPosition':_0x5744f3-_0x523528>=X?_0x167a5f(0x2da):_0x167a5f(0x19c),'sheetID':_0x45f5e1,'range':_0x58eeff,'color':_0x58e4c5,'name':_0x10b088,'selection':_0x46118e,'left':_0x4d1a40,'top':_0x5744f3,'width':_0x2bc6b6,'height':_0x3dfd09,'evented':!0x1,'zIndex':$t};return new je(_0x10b088,_0x4c12be);});_0x2ec2b7[_0x55f31e(0x1c6)](_0x10f0de,At),this['_cursors']=new Set(_0x10f0de);}[_0x104dc6(0x12b)](){const _0x3793e4=_0x104dc6;var _0x36f6ef;(_0x36f6ef=this['_cursors'])==null||_0x36f6ef[_0x3793e4(0x197)](_0x39f0e5=>_0x39f0e5[_0x3793e4(0x16f)]());}['_getSheetObject'](){const _0x200907=_0x104dc6;return J[_0x200907(0x347)](this[_0x200907(0xd6)]['unit'],this[_0x200907(0xd6)]);}};Ce=yt([ue(0x1,a[_0x104dc6(0x359)](J[_0x104dc6(0x2fe)])),ue(0x2,a[_0x104dc6(0x359)](F)),ue(0x3,a[_0x104dc6(0x359)](a[_0x104dc6(0x177)]))],Ce);function xt(_0x285d0b){const _0x1b46a0=_0x104dc6,_0x206f11=new Map();return _0x285d0b[_0x1b46a0(0x197)](_0xb61d53=>{const _0x2f7a51=_0x1b46a0;if(_0x206f11[_0x2f7a51(0x235)](_0xb61d53[_0x2f7a51(0x164)])){const _0x271104=_0x206f11[_0x2f7a51(0x254)](_0xb61d53[_0x2f7a51(0x164)]);_0x271104[_0x2f7a51(0x334)]+=',\x20'+_0xb61d53[_0x2f7a51(0x334)];}else _0x206f11[_0x2f7a51(0x257)](_0xb61d53[_0x2f7a51(0x164)],_0xb61d53);}),Array[_0x1b46a0(0x38f)](_0x206f11[_0x1b46a0(0x2ac)]());}var Bt=Object[_0x104dc6(0x194)],Ft=(_0x3da858,_0x1bfb6a,_0x247975,_0x1e7b6f)=>{const _0x48e19f=_0x104dc6;for(var _0x20cb97=_0x1e7b6f>0x1?void 0x0:_0x1e7b6f?Bt(_0x1bfb6a,_0x247975):_0x1bfb6a,_0x1776cc=_0x3da858[_0x48e19f(0x338)]-0x1,_0x453e5b;_0x1776cc>=0x0;_0x1776cc--)(_0x453e5b=_0x3da858[_0x1776cc])&&(_0x20cb97=_0x453e5b(_0x20cb97)||_0x20cb97);return _0x20cb97;},y=(_0x52ec1c,_0x44e487)=>(_0x5bfb4a,_0x24705d)=>_0x44e487(_0x5bfb4a,_0x24705d,_0x52ec1c);let Z=class extends a[_0x104dc6(0x191)]{constructor(_0x58675f,_0x1676b8,_0xde1040,_0x438670,_0x537c62,_0x472e00){const _0xae5e8c=_0x104dc6;super(),this[_0xae5e8c(0x127)]=_0x58675f,this['_localCacheService']=_0x1676b8,this['_collaborationUIEventService']=_0xde1040,this['_messageService']=_0x438670,this['_notificationService']=_0x537c62,this[_0xae5e8c(0x2e2)]=_0x472e00,this[_0xae5e8c(0x1c5)](),this[_0xae5e8c(0x31d)]();}[_0x104dc6(0x1c5)](){const _0x459332=_0x104dc6;this[_0x459332(0x186)](this[_0x459332(0x127)]['registerBeforeClose'](()=>{const _0x3042e4=_0x459332;if(this[_0x3042e4(0x292)][_0x3042e4(0x167)][_0x3042e4(0x1f7)])return this[_0x3042e4(0x2e2)]['t'](_0x3042e4(0x2ca));}));}[_0x104dc6(0x31d)](){const _0x17499a=_0x104dc6;this[_0x17499a(0x186)](this[_0x17499a(0x2fa)][_0x17499a(0x114)]['subscribe'](_0x50347e=>{const _0x7bf40e=_0x17499a;_0x50347e['id']===u[_0x7bf40e(0x2a6)][_0x7bf40e(0x1b9)]&&this[_0x7bf40e(0x22d)][_0x7bf40e(0x121)]({'type':p['MessageType'][_0x7bf40e(0x18a)],'content':this[_0x7bf40e(0x2e2)]['t']('collaboration.single-unit.warning')}),_0x50347e['id']===u[_0x7bf40e(0x2a6)][_0x7bf40e(0xe6)]&&this['_messageService'][_0x7bf40e(0x121)]({'type':p[_0x7bf40e(0x2f4)]['Warning'],'content':this['_localeService']['t'](_0x7bf40e(0x323))}),_0x50347e['id']===u[_0x7bf40e(0x2a6)][_0x7bf40e(0x399)]&&this[_0x7bf40e(0x31b)][_0x7bf40e(0x121)]({'title':this['_localeService']['t'](_0x7bf40e(0x345)),'content':this[_0x7bf40e(0x2e2)]['t']('permission.content'),'type':_0x7bf40e(0x2b9),'duration':0x0}),_0x50347e['id']===u['CollaborationUIEventId'][_0x7bf40e(0x236)]&&this[_0x7bf40e(0x22d)][_0x7bf40e(0x121)]({'type':p[_0x7bf40e(0x2f4)][_0x7bf40e(0x29b)],'content':this['_localeService']['t']('collaboration.closeRoom')+'('+_0x50347e['data']+')'}),_0x50347e['id']===u['CollaborationUIEventId']['JOIN_ROOM_FAILED']&&this[_0x7bf40e(0x22d)][_0x7bf40e(0x121)]({'type':p[_0x7bf40e(0x2f4)][_0x7bf40e(0x18a)],'content':this['_localeService']['t'](_0x50347e[_0x7bf40e(0x183)]||'')}),_0x50347e['id']===u[_0x7bf40e(0x2a6)][_0x7bf40e(0x305)]&&this['_messageService'][_0x7bf40e(0x121)]({'type':p[_0x7bf40e(0x2f4)][_0x7bf40e(0x18a)],'content':this[_0x7bf40e(0x2e2)]['t']('session.will-retry')}),_0x50347e['id']===u[_0x7bf40e(0x2a6)][_0x7bf40e(0x106)]&&this['_messageService'][_0x7bf40e(0x121)]({'type':p[_0x7bf40e(0x2f4)][_0x7bf40e(0x29b)],'content':this[_0x7bf40e(0x2e2)]['t'](_0x7bf40e(0x144))}),_0x50347e['id']===u[_0x7bf40e(0x2a6)][_0x7bf40e(0x206)]&&this[_0x7bf40e(0x22d)][_0x7bf40e(0x121)]({'type':p['MessageType'][_0x7bf40e(0x29b)],'content':this[_0x7bf40e(0x2e2)]['t'](_0x7bf40e(0x24d))});}));}};Z=Ft([y(0x0,O['IBeforeCloseService']),y(0x1,u[_0x104dc6(0x21c)]),y(0x2,a[_0x104dc6(0x359)](u[_0x104dc6(0x375)])),y(0x3,O[_0x104dc6(0x386)]),y(0x4,O['INotificationService']),y(0x5,a[_0x104dc6(0x359)](a[_0x104dc6(0x2f2)]))],Z);var jt=Object['getOwnPropertyDescriptor'],kt=(_0x2a4692,_0x1a9af7,_0x4cf9ed,_0x2b01ac)=>{for(var _0x1ba4e2=_0x2b01ac>0x1?void 0x0:_0x2b01ac?jt(_0x1a9af7,_0x4cf9ed):_0x1a9af7,_0x36e8bf=_0x2a4692['length']-0x1,_0x37533c;_0x36e8bf>=0x0;_0x36e8bf--)(_0x37533c=_0x2a4692[_0x36e8bf])&&(_0x1ba4e2=_0x37533c(_0x1ba4e2)||_0x1ba4e2);return _0x1ba4e2;},z=(_0x909514,_0x36aa7b)=>(_0x4121ac,_0x5b9d10)=>_0x36aa7b(_0x4121ac,_0x5b9d10,_0x909514);let Q=class extends a[_0x104dc6(0x191)]{constructor(_0x31fa13,_0x386f7e,_0x36119d,_0x1adb3e){const _0x59ea8d=_0x104dc6;super(),_(this,_0x59ea8d(0x1e3)),(this[_0x59ea8d(0x33c)]=_0x31fa13,this['_httpService']=_0x386f7e,this['_logService']=_0x36119d,this[_0x59ea8d(0x17d)]=_0x1adb3e,this[_0x59ea8d(0x27e)]());}[_0x104dc6(0x27e)](){const _0x579c51=_0x104dc6;this['_initWindowErrorListener'](),this[_0x579c51(0x284)](),this[_0x579c51(0x111)](),this['_initUserListener']();}[_0x104dc6(0x207)](){const _0x1bfbe1=_0x104dc6;this[_0x1bfbe1(0x186)](this[_0x1bfbe1(0x17d)][_0x1bfbe1(0x152)][_0x1bfbe1(0x104)](_0x1dc711=>{const _0x33ea05=_0x1bfbe1;this[_0x33ea05(0x1e3)]=_0x1dc711==null?void 0x0:_0x1dc711['memberID'];}));}['_initWindowErrorListener'](){const _0x52170f=_0x104dc6,_0x5b19c7=_0x4e16e0=>{const _0x3177a2=_0x39d4;var _0x123aa4;this[_0x3177a2(0x315)](_0x3177a2(0x2b9),_0x3177a2(0x33e)+_0x4e16e0[_0x3177a2(0x185)]+_0x3177a2(0x2e3)+_0x4e16e0['filename']+':'+_0x4e16e0[_0x3177a2(0x21e)]+':'+_0x4e16e0[_0x3177a2(0xce)]+'\x0a'+(((_0x123aa4=_0x4e16e0[_0x3177a2(0x2b9)])==null?void 0x0:_0x123aa4[_0x3177a2(0x325)])||''));};window['addEventListener'](_0x52170f(0x2b9),_0x5b19c7),this['disposeWithMe'](()=>{const _0x59495b=_0x52170f;window[_0x59495b(0x286)](_0x59495b(0x2b9),_0x5b19c7);});}[_0x104dc6(0x284)](){const _0x507bf2=_0x104dc6,_0x4035ad=_0x20b87d=>{const _0x116fc8=_0x39d4;this[_0x116fc8(0x315)](_0x116fc8(0x2b9),_0x116fc8(0x38a)+_0x20b87d[_0x116fc8(0xd9)]);};window['addEventListener'](_0x507bf2(0x10b),_0x4035ad),this['disposeWithMe'](()=>{const _0x45aad4=_0x507bf2;window[_0x45aad4(0x286)](_0x45aad4(0x10b),_0x4035ad);});}[_0x104dc6(0x111)](){const _0x566e49=_0x104dc6,_0x3514a4=this[_0x566e49(0x1af)][_0x566e49(0x2b9)][_0x566e49(0x187)](this[_0x566e49(0x1af)]);this[_0x566e49(0x1af)][_0x566e49(0x2b9)]=(..._0x299886)=>{const _0x52b9cd=_0x566e49,_0xd087a7=_0x299886[_0x52b9cd(0x2ff)](_0x24a851=>_0x24a851 instanceof Error?_0x24a851[_0x52b9cd(0x185)]+'\x0a'+_0x24a851[_0x52b9cd(0x325)]:String(_0x24a851))[_0x52b9cd(0x2ea)]('\x20');this['_uploadLog'](_0x52b9cd(0x2b9),_0x52b9cd(0x238)+_0xd087a7),_0x3514a4(..._0x299886);},this['disposeWithMe'](()=>{const _0xf7affb=_0x566e49;this[_0xf7affb(0x1af)][_0xf7affb(0x2b9)]=_0x3514a4;});}['_uploadLog'](_0x219c0e,_0x353281){const _0x3055ed=_0x104dc6;try{const _0x5992c8={'userId':this[_0x3055ed(0x1e3)],'logLabel':_0x219c0e,'content':_0x353281};this[_0x3055ed(0x234)][_0x3055ed(0x1eb)](_0x3055ed(0x15d),{'body':_0x5992c8})[_0x3055ed(0x1ef)](()=>{});}catch{}}};Q=kt([z(0x0,a[_0x104dc6(0x359)](a[_0x104dc6(0x14e)])),z(0x1,a['Inject'](x['HTTPService'])),z(0x2,a[_0x104dc6(0x32c)]),z(0x3,a[_0x104dc6(0x359)](u[_0x104dc6(0x389)]))],Q);const Yt=_0x104dc6(0x39c),Me={};var Ht=Object['getOwnPropertyDescriptor'],Wt=(_0x48c7e7,_0x457a7c,_0x377fc3,_0x15c742)=>{const _0x55bfc0=_0x104dc6;for(var _0x50ade9=_0x15c742>0x1?void 0x0:_0x15c742?Ht(_0x457a7c,_0x377fc3):_0x457a7c,_0x5b105f=_0x48c7e7[_0x55bfc0(0x338)]-0x1,_0x92675b;_0x5b105f>=0x0;_0x5b105f--)(_0x92675b=_0x48c7e7[_0x5b105f])&&(_0x50ade9=_0x92675b(_0x50ade9)||_0x50ade9);return _0x50ade9;},Ae=(_0x552613,_0x11ff92)=>(_0x59a7e6,_0x28bc7)=>_0x11ff92(_0x59a7e6,_0x28bc7,_0x552613);let ee=class{constructor(_0x149aa8,_0x5dbd5c){const _0x429784=_0x104dc6;this['_transformService']=_0x149aa8,this[_0x429784(0xff)]=_0x5dbd5c;}['transformIMECache'](_0x2daf88){const _0x5a0fec=_0x104dc6;this['_transformUndoRedoStack'](_0x2daf88),this[_0x5a0fec(0x1b0)](_0x2daf88);}['transformRemoteChangeset'](_0x51e1b1){const _0x20cec8=_0x104dc6,{unitID:_0x5a1a82}=_0x51e1b1,_0x3bec3f=this[_0x20cec8(0xff)]['getRenderById'](_0x5a1a82)[_0x20cec8(0x155)](T[_0x20cec8(0x355)]),{redoCache:_0x395e2f}=_0x3bec3f[_0x20cec8(0x232)]();if(_0x395e2f[_0x20cec8(0x338)]===0x0)return _0x51e1b1;let _0x121324=a[_0x20cec8(0x23c)]['deepClone'](_0x51e1b1[_0x20cec8(0x244)][0x0]);for(let _0x28a4b5=0x0;_0x28a4b5<_0x395e2f[_0x20cec8(0x338)];_0x28a4b5++){const _0x52402c={'id':'doc.mutation.rich-text-editing','params':{..._0x395e2f[_0x28a4b5]}},_0x23bea1=this['_transformService'][_0x20cec8(0x1e2)](_0x121324,_0x52402c,!0x1);if(g[_0x20cec8(0x17e)](_0x23bea1))throw _0x23bea1[_0x20cec8(0x2b9)];_0x121324=_0x23bea1['m1Prime'];}return{...a[_0x20cec8(0x23c)][_0x20cec8(0xea)](_0x51e1b1),'mutations':[_0x121324]};}['_transformUndoRedoStack'](_0xb86a1d){const _0x21093d=_0x104dc6,{unitID:_0x36538e}=_0xb86a1d,_0x46e2ab=this[_0x21093d(0xff)][_0x21093d(0x380)](_0x36538e)[_0x21093d(0x155)](T[_0x21093d(0x355)]),{undoCache:_0xbe425a,redoCache:_0x1f3134}=_0x46e2ab['getUndoRedoMutationParamsCache']();if(_0xbe425a[_0x21093d(0x338)]===0x0||_0x1f3134[_0x21093d(0x338)]===0x0)return;const _0x57948e=[],_0x12ff73=[];let _0x51e206=a['Tools'][_0x21093d(0xea)](_0xb86a1d[_0x21093d(0x244)][0x0]),_0x1056f0=a['Tools'][_0x21093d(0xea)](_0xb86a1d[_0x21093d(0x244)][0x0]);for(let _0x52a9fe=_0xbe425a['length']-0x1;_0x52a9fe>=0x0;_0x52a9fe--){const _0x53a5c0={'id':_0x21093d(0x2c6),'params':{..._0xbe425a[_0x52a9fe]}},_0x4121fb={'id':'doc.mutation.rich-text-editing','params':{..._0x1f3134[_0x52a9fe]}},_0x58c3d3=this['_transformService'][_0x21093d(0x1e2)](_0x51e206,_0x53a5c0,!0x1),_0x25fc97=this[_0x21093d(0x35c)][_0x21093d(0x1e2)](_0x1056f0,_0x4121fb,!0x1);if(g[_0x21093d(0x17e)](_0x58c3d3))throw _0x58c3d3[_0x21093d(0x2b9)];if(g[_0x21093d(0x17e)](_0x25fc97))throw _0x25fc97[_0x21093d(0x2b9)];_0x57948e[_0x21093d(0x1b2)](_0x58c3d3[_0x21093d(0x221)][_0x21093d(0x147)]),_0x12ff73[_0x21093d(0x1b2)](_0x25fc97[_0x21093d(0x221)][_0x21093d(0x147)]),_0x51e206=_0x58c3d3[_0x21093d(0x302)],_0x1056f0=_0x25fc97['m1Prime'];}_0x46e2ab['setUndoRedoMutationParamsCache']({'undoCache':_0x57948e,'redoCache':_0x12ff73});}[_0x104dc6(0x1b0)](_0x185ea6){const _0x3a859e=_0x104dc6,{unitID:_0x455265}=_0x185ea6,_0x2fcc8c=this[_0x3a859e(0xff)][_0x3a859e(0x380)](_0x455265)[_0x3a859e(0x155)](T['DocIMEInputManagerService']),_0x5d284b=_0x2fcc8c[_0x3a859e(0x16a)]();if(_0x5d284b==null)return;const _0x4d7198=[{'id':_0x3a859e(0x2c6),'params':{'unitId':_0x185ea6[_0x3a859e(0x27b)],'actions':null,'textRanges':[_0x5d284b]}}],_0x48fbbc=this[_0x3a859e(0x35c)]['transformMutationsWithChangeset'](_0x185ea6,_0x4d7198);if(!g['isTransformMutationsWithChangesetSuccess'](_0x48fbbc))throw _0x48fbbc[_0x3a859e(0x2b9)];const _0x5d6fe3=_0x48fbbc[_0x3a859e(0x221)][0x0]['params'][_0x3a859e(0x2ab)];Array[_0x3a859e(0x15c)](_0x5d6fe3)&&_0x5d6fe3['length']&&_0x2fcc8c[_0x3a859e(0x135)](_0x5d6fe3[0x0]);}};ee=Wt([Ae(0x0,g[_0x104dc6(0x2bc)]),Ae(0x1,C['IRenderManagerService'])],ee);var Vt=Object['getOwnPropertyDescriptor'],Gt=(_0x2c2159,_0x46a2be,_0x49b8c6,_0x1912bd)=>{const _0x96e4c2=_0x104dc6;for(var _0x1b02b8=_0x1912bd>0x1?void 0x0:_0x1912bd?Vt(_0x46a2be,_0x49b8c6):_0x46a2be,_0x56af63=_0x2c2159[_0x96e4c2(0x338)]-0x1,_0x32afd3;_0x56af63>=0x0;_0x56af63--)(_0x32afd3=_0x2c2159[_0x56af63])&&(_0x1b02b8=_0x32afd3(_0x1b02b8)||_0x1b02b8);return _0x1b02b8;},Ie=(_0x3c0c8b,_0x39c315)=>(_0x492fc4,_0x5bf044)=>_0x39c315(_0x492fc4,_0x5bf044,_0x3c0c8b);let te=class{constructor(_0x309117,_0x545688,_0x5a11dc){const _0x1dd927=_0x104dc6;this[_0x1dd927(0x33c)]=_0x309117,this[_0x1dd927(0x35c)]=_0x545688,this['_docStateChangeManagerService']=_0x5a11dc;}[_0x104dc6(0xf3)](_0x6cbbfb){const _0x531183=_0x104dc6;this[_0x531183(0x2e9)](_0x6cbbfb);}['transformRemoteChangeset'](_0x256c85){const _0x1ac9ba=_0x104dc6,{unitID:_0xcbd4b4}=_0x256c85,{collaboration:_0x1db45f}=this['_docStateChangeManagerService'][_0x1ac9ba(0x1f1)](_0xcbd4b4);if(_0x1db45f['length']===0x0)return _0x256c85;let _0x43c222=a[_0x1ac9ba(0x23c)][_0x1ac9ba(0xea)](_0x256c85[_0x1ac9ba(0x244)][0x0]);for(let _0x3e3ca3=0x0;_0x3e3ca3<_0x1db45f['length'];_0x3e3ca3++){const _0x4acd7b={'id':_0x1ac9ba(0x2c6),'params':{'unitId':_0x1db45f[_0x3e3ca3][_0x1ac9ba(0x22a)],..._0x1db45f[_0x3e3ca3][_0x1ac9ba(0x251)]}},_0x3a36f2=this[_0x1ac9ba(0x35c)][_0x1ac9ba(0x1e2)](_0x43c222,_0x4acd7b,!0x1);if(g[_0x1ac9ba(0x17e)](_0x3a36f2))throw _0x3a36f2[_0x1ac9ba(0x2b9)];_0x43c222=_0x3a36f2['m1Prime'];}return{...a['Tools']['deepClone'](_0x256c85),'mutations':[_0x43c222]};}[_0x104dc6(0x2e9)](_0x3a797c){const _0x53ab9d=_0x104dc6,{unitID:_0x124841}=_0x3a797c,{history:_0x46a61c,collaboration:_0x43c71a}=this['_docStateChangeManagerService']['getStateCache'](_0x124841);if(_0x46a61c[_0x53ab9d(0x338)]===0x0&&_0x43c71a['length']===0x0)return;const _0x12323a=[],_0x39e6b8=[];let _0x112f80=a[_0x53ab9d(0x23c)][_0x53ab9d(0xea)](_0x3a797c['mutations'][0x0]),_0x3454dc=a['Tools'][_0x53ab9d(0xea)](_0x3a797c[_0x53ab9d(0x244)][0x0]);for(let _0x5cce11=_0x46a61c[_0x53ab9d(0x338)]-0x1;_0x5cce11>=0x0;_0x5cce11--){const _0x170f05={'id':_0x53ab9d(0x2c6),'params':{'unitId':_0x46a61c[_0x5cce11]['unitId'],..._0x46a61c[_0x5cce11][_0x53ab9d(0x10f)]}},_0x432769={'id':_0x53ab9d(0x2c6),'params':{'unitId':_0x46a61c[_0x5cce11]['unitId'],..._0x46a61c[_0x5cce11][_0x53ab9d(0x251)]}},_0x5359dd=this[_0x53ab9d(0x35c)][_0x53ab9d(0x1e2)](_0x112f80,_0x170f05,!0x1),_0xd5ab2c=this[_0x53ab9d(0x35c)][_0x53ab9d(0x1e2)](_0x3454dc,_0x432769,!0x1);if(g[_0x53ab9d(0x17e)](_0x5359dd))throw _0x5359dd[_0x53ab9d(0x2b9)];if(g['isTransformMutationFailure'](_0xd5ab2c))throw _0xd5ab2c['error'];_0x12323a[_0x53ab9d(0x1b2)]({..._0x46a61c[_0x5cce11],'undoState':_0x5359dd[_0x53ab9d(0x221)]['params'],'redoState':_0xd5ab2c[_0x53ab9d(0x221)][_0x53ab9d(0x147)]}),_0x112f80=_0x5359dd['m1Prime'],_0x3454dc=_0xd5ab2c[_0x53ab9d(0x302)];}_0x112f80=a[_0x53ab9d(0x23c)][_0x53ab9d(0xea)](_0x3a797c[_0x53ab9d(0x244)][0x0]),_0x3454dc=a[_0x53ab9d(0x23c)][_0x53ab9d(0xea)](_0x3a797c[_0x53ab9d(0x244)][0x0]);for(let _0x12594f=_0x43c71a[_0x53ab9d(0x338)]-0x1;_0x12594f>=0x0;_0x12594f--){const _0x56c082={'id':_0x53ab9d(0x2c6),'params':{'unitId':_0x43c71a[_0x12594f][_0x53ab9d(0x22a)],..._0x43c71a[_0x12594f][_0x53ab9d(0x10f)]}},_0x112e17={'id':_0x53ab9d(0x2c6),'params':{'unitId':_0x43c71a[_0x12594f][_0x53ab9d(0x22a)],..._0x43c71a[_0x12594f][_0x53ab9d(0x251)]}},_0x3257d0=this['_transformService']['transformMutation'](_0x112f80,_0x56c082,!0x1),_0x5dc038=this[_0x53ab9d(0x35c)]['transformMutation'](_0x3454dc,_0x112e17,!0x1);if(g[_0x53ab9d(0x17e)](_0x3257d0))throw _0x3257d0[_0x53ab9d(0x2b9)];if(g['isTransformMutationFailure'](_0x5dc038))throw _0x5dc038[_0x53ab9d(0x2b9)];_0x39e6b8[_0x53ab9d(0x1b2)]({..._0x43c71a[_0x12594f],'undoState':_0x3257d0['m2Prime']['params'],'redoState':_0x5dc038[_0x53ab9d(0x221)][_0x53ab9d(0x147)]}),_0x112f80=_0x3257d0['m1Prime'],_0x3454dc=_0x5dc038[_0x53ab9d(0x302)];}this[_0x53ab9d(0x2af)]['setStateCache'](_0x124841,{'history':_0x12323a,'collaboration':_0x39e6b8});}};te=Gt([Ie(0x0,a[_0x104dc6(0x359)](a[_0x104dc6(0x14e)])),Ie(0x1,g[_0x104dc6(0x2bc)]),Ie(0x2,a[_0x104dc6(0x359)](T[_0x104dc6(0x11a)]))],te);var Xt=Object[_0x104dc6(0x194)],Kt=(_0x1863ef,_0x44e6ec,_0x5decfc,_0x14d878)=>{const _0x1e5a98=_0x104dc6;for(var _0x2c2c0b=_0x14d878>0x1?void 0x0:_0x14d878?Xt(_0x44e6ec,_0x5decfc):_0x44e6ec,_0x6630dd=_0x1863ef[_0x1e5a98(0x338)]-0x1,_0x199ea5;_0x6630dd>=0x0;_0x6630dd--)(_0x199ea5=_0x1863ef[_0x6630dd])&&(_0x2c2c0b=_0x199ea5(_0x2c2c0b)||_0x2c2c0b);return _0x2c2c0b;},Pe=(_0x35e822,_0x4eb1a9)=>(_0x21b073,_0x23455f)=>_0x4eb1a9(_0x21b073,_0x23455f,_0x35e822);let se=class{constructor(_0x38d4f0,_0x44a0e5){const _0x3dcd8f=_0x104dc6;this[_0x3dcd8f(0x33c)]=_0x38d4f0,this[_0x3dcd8f(0x35c)]=_0x44a0e5;}[_0x104dc6(0x391)](_0x419293){const _0x54d7d4=_0x104dc6;var _0x2791e7;const _0x1dddec=this[_0x54d7d4(0x33c)][_0x54d7d4(0x254)](V[_0x54d7d4(0x14d)]),_0x4c6806=(_0x2791e7=_0x1dddec[_0x54d7d4(0x34f)]())!=null?_0x2791e7:[];if(_0x4c6806[_0x54d7d4(0x338)]===0x0)return;const _0x1f4bcd=_0x419293[_0x54d7d4(0x27b)],_0x597831=[{'id':_0x54d7d4(0x2c6),'params':{'unitId':_0x1f4bcd,'actions':null,'textRanges':_0x4c6806}}],_0x423355=this[_0x54d7d4(0x35c)][_0x54d7d4(0x25a)](_0x419293,_0x597831);if(!g[_0x54d7d4(0x294)](_0x423355))throw _0x423355['error'];const _0x2fafbd=_0x423355[_0x54d7d4(0x221)][0x0][_0x54d7d4(0x147)][_0x54d7d4(0x2ab)];Array['isArray'](_0x2fafbd)&&_0x2fafbd['length']&&_0x1dddec[_0x54d7d4(0x1ea)](_0x2fafbd,{'unitId':_0x1f4bcd,'subUnitId':_0x1f4bcd},!0x1);}};se=Kt([Pe(0x0,a[_0x104dc6(0x359)](a[_0x104dc6(0x14e)])),Pe(0x1,g['ITransformService'])],se);var qt=Object['getOwnPropertyDescriptor'],zt=(_0x4fb9d1,_0x37b6c1,_0x2ea1a2,_0x42e356)=>{const _0x6ec817=_0x104dc6;for(var _0x4c9fbf=_0x42e356>0x1?void 0x0:_0x42e356?qt(_0x37b6c1,_0x2ea1a2):_0x37b6c1,_0x7933ae=_0x4fb9d1[_0x6ec817(0x338)]-0x1,_0x4140c4;_0x7933ae>=0x0;_0x7933ae--)(_0x4140c4=_0x4fb9d1[_0x7933ae])&&(_0x4c9fbf=_0x4140c4(_0x4c9fbf)||_0x4c9fbf);return _0x4c9fbf;},N=(_0x1d5694,_0xd02475)=>(_0x24f274,_0xf487af)=>_0xd02475(_0x24f274,_0xf487af,_0x1d5694);let ie=class extends a['Disposable']{constructor(_0x5e1fb8,_0xbc16be,_0x5501e4,_0x24dc78,_0x1923f1,_0x1bd8fa,_0x166c1f,_0x337fe7){const _0xc2ca50=_0x104dc6;super(),_(this,_0xc2ca50(0x20c),new I['BehaviorSubject'](u[_0xc2ca50(0x1bc)][_0xc2ca50(0x137)])),(this[_0xc2ca50(0x2af)]=_0x5e1fb8,this[_0xc2ca50(0x2e1)]=_0xbc16be,this['_docTransformIMECacheService']=_0x5501e4,this['_docTransformStateCacheService']=_0x24dc78,this['_docTransformSelectionsService']=_0x1923f1,this[_0xc2ca50(0x225)]=_0x1bd8fa,this[_0xc2ca50(0x22d)]=_0x166c1f,this['_localeService']=_0x337fe7,this[_0xc2ca50(0x223)]());}['_initEntityListener'](){const _0x451a34=_0x104dc6;this[_0x451a34(0x186)](this[_0x451a34(0x2e1)][_0x451a34(0x264)][_0x451a34(0x104)](_0x1b92d7=>{const _0x52619b=_0x451a34,_0x5e5f67=this[_0x52619b(0x2af)][_0x52619b(0x2ae)][_0x52619b(0x104)](_0x303536=>{const _0x270537=_0x52619b;if(_0x303536==null)return;const {unitId:_0x49780e,redoState:_0x2b2c12,commandId:_0x1456cd}=_0x303536;if(_0x49780e!==_0x1b92d7[_0x270537(0x27b)])return;const _0x20e9a9={'id':_0x1456cd,'type':a[_0x270537(0x308)]['MUTATION'],'params':{'unitId':_0x49780e,'actions':_0x2b2c12[_0x270537(0x2dc)],'textRanges':null}};_0x1b92d7[_0x270537(0x30c)](_0x20e9a9);});if(_0x1b92d7[_0x52619b(0x186)](_0x5e5f67),_0x1b92d7 instanceof u[_0x52619b(0x283)]){const _0x428fe4={'onTransformIME':_0x5de19f=>this[_0x52619b(0x38c)][_0x52619b(0x1f2)](_0x5de19f),'onTransformState':_0x1d6a42=>this[_0x52619b(0x1cd)]['transformStateCache'](_0x1d6a42),'onTransformSelections':_0x321cd9=>this[_0x52619b(0x314)][_0x52619b(0x391)](_0x321cd9),'onSyncEditingCollabCursor':_0x435baa=>this['_docSyncEditingCollabCursorService'][_0x52619b(0x25c)](_0x435baa),'onTransformRemoteChangesetByIMECache':_0x28450a=>this[_0x52619b(0x38c)][_0x52619b(0x2dd)](_0x28450a),'onTransformRemoteChangesetByStateCache':_0x227746=>this[_0x52619b(0x1cd)][_0x52619b(0x2dd)](_0x227746)};_0x1b92d7[_0x52619b(0x2f6)](_0x428fe4);}}));}};ie=zt([N(0x0,a[_0x104dc6(0x359)](T[_0x104dc6(0x11a)])),N(0x1,a['Inject'](u[_0x104dc6(0x376)])),N(0x2,a[_0x104dc6(0x359)](ee)),N(0x3,a[_0x104dc6(0x359)](te)),N(0x4,a[_0x104dc6(0x359)](se)),N(0x5,a[_0x104dc6(0x359)](be)),N(0x6,O['IMessageService']),N(0x7,a['Inject'](a[_0x104dc6(0x2f2)]))],ie);var G=(_0x2a12ac=>(_0x2a12ac[_0x2a12ac[_0x104dc6(0x188)]=0x0]=_0x104dc6(0x188),_0x2a12ac[_0x2a12ac['OK']=0x1]='OK',_0x2a12ac[_0x2a12ac['INTERNAL_ERROR']=0x2]=_0x104dc6(0x1e0),_0x2a12ac[_0x2a12ac[_0x104dc6(0x399)]=0x3]=_0x104dc6(0x399),_0x2a12ac[_0x2a12ac[_0x104dc6(0x1ab)]=0x4]=_0x104dc6(0x1ab),_0x2a12ac[_0x2a12ac[_0x104dc6(0x276)]=0x5]=_0x104dc6(0x276),_0x2a12ac[_0x2a12ac[_0x104dc6(0x289)]=0x6]=_0x104dc6(0x289),_0x2a12ac[_0x2a12ac[_0x104dc6(0x115)]=0x7]=_0x104dc6(0x115),_0x2a12ac[_0x2a12ac[_0x104dc6(0x1a8)]=0x8]=_0x104dc6(0x1a8),_0x2a12ac[_0x2a12ac[_0x104dc6(0x2b2)]=0x9]='COMPLETION_FINISHED',_0x2a12ac[_0x2a12ac[_0x104dc6(0x196)]=0xa]=_0x104dc6(0x196),_0x2a12ac[_0x2a12ac[_0x104dc6(0x361)]=0xb]=_0x104dc6(0x361),_0x2a12ac[_0x2a12ac[_0x104dc6(0x36c)]=0xc]=_0x104dc6(0x36c),_0x2a12ac[_0x2a12ac[_0x104dc6(0x24a)]=0xd]='EMAIL_VERIFY_CODE_MISMATCH',_0x2a12ac[_0x2a12ac[_0x104dc6(0x288)]=0xe]=_0x104dc6(0x288),_0x2a12ac[_0x2a12ac[_0x104dc6(0x216)]=0xf]=_0x104dc6(0x216),_0x2a12ac[_0x2a12ac[_0x104dc6(0xe0)]=0x10]=_0x104dc6(0xe0),_0x2a12ac[_0x2a12ac[_0x104dc6(0xf5)]=0x64]='CURRENT_STATUS_CANNOT_OPERATE',_0x2a12ac[_0x2a12ac['ERROR_AGAIN']=0x65]='ERROR_AGAIN',_0x2a12ac[_0x2a12ac['USER_NOT_FOUND']=0xc9]='USER_NOT_FOUND',_0x2a12ac[_0x2a12ac['USER_IS_ANONYMOUS']=0xca]='USER_IS_ANONYMOUS',_0x2a12ac[_0x2a12ac[_0x104dc6(0x367)]=0x1389]=_0x104dc6(0x367),_0x2a12ac[_0x2a12ac[_0x104dc6(0x38b)]=0x1771]=_0x104dc6(0x38b),_0x2a12ac[_0x2a12ac[_0x104dc6(0x168)]=0x1772]='SNAPSHOT_HAS_BEEN_REMOVED',_0x2a12ac[_0x2a12ac[_0x104dc6(0x1a6)]=0x1773]=_0x104dc6(0x1a6),_0x2a12ac[_0x2a12ac[_0x104dc6(0x2b0)]=0x1b59]=_0x104dc6(0x2b0),_0x2a12ac[_0x2a12ac[_0x104dc6(0xf6)]=0x1b5a]='APPLY_NON_SEQUENTIAL_REVISION',_0x2a12ac[_0x2a12ac[_0x104dc6(0x181)]=0x1b5b]=_0x104dc6(0x181),_0x2a12ac[_0x2a12ac['APPLY_PERMISSION_DENIED']=0x1b5c]=_0x104dc6(0x370),_0x2a12ac[_0x2a12ac[_0x104dc6(0x133)]=0x1b5d]=_0x104dc6(0x133),_0x2a12ac[_0x2a12ac[_0x104dc6(0x33f)]=0x1f41]=_0x104dc6(0x33f),_0x2a12ac[_0x2a12ac[_0x104dc6(0xd8)]=0x2329]=_0x104dc6(0xd8),_0x2a12ac[_0x2a12ac[_0x104dc6(0xdb)]=0x232a]=_0x104dc6(0xdb),_0x2a12ac[_0x2a12ac[_0x104dc6(0x2f8)]=0x232b]=_0x104dc6(0x2f8),_0x2a12ac[_0x2a12ac[_0x104dc6(0xf9)]=0x232c]=_0x104dc6(0xf9),_0x2a12ac[_0x2a12ac[_0x104dc6(0x316)]=0x232d]=_0x104dc6(0x316),_0x2a12ac[_0x2a12ac[_0x104dc6(0x217)]=0x2711]=_0x104dc6(0x217),_0x2a12ac[_0x2a12ac['YUUMI_URL_COL_OUT_OF_RANGE']=0x2712]=_0x104dc6(0x1d7),_0x2a12ac[_0x2a12ac['YUUMI_RATE_OVER_LIMIT']=0x2713]='YUUMI_RATE_OVER_LIMIT',_0x2a12ac[_0x2a12ac[_0x104dc6(0x103)]=0x2714]=_0x104dc6(0x103),_0x2a12ac[_0x2a12ac['YUUMI_NO_CUBOID_FOR_QUESTION']=0x271a]=_0x104dc6(0xcf),_0x2a12ac[_0x2a12ac[_0x104dc6(0x2d6)]=0x271b]=_0x104dc6(0x2d6),_0x2a12ac[_0x2a12ac[_0x104dc6(0xe7)]=0x271c]=_0x104dc6(0xe7),_0x2a12ac[_0x2a12ac[_0x104dc6(0x15e)]=0x271d]=_0x104dc6(0x15e),_0x2a12ac[_0x2a12ac[_0x104dc6(0x2b4)]=0x271e]=_0x104dc6(0x2b4),_0x2a12ac[_0x2a12ac[_0x104dc6(0x1b8)]=0x271f]=_0x104dc6(0x1b8),_0x2a12ac[_0x2a12ac[_0x104dc6(0x385)]=0x2720]=_0x104dc6(0x385),_0x2a12ac[_0x2a12ac[_0x104dc6(0xf7)]=0x2af9]=_0x104dc6(0xf7),_0x2a12ac[_0x2a12ac[_0x104dc6(0x34a)]=0x2ee1]='INVITE_CODE_HAS_BEEN_UES',_0x2a12ac[_0x2a12ac[_0x104dc6(0x2cc)]=0x2ee2]='INVALID_INVITE_CODE',_0x2a12ac[_0x2a12ac['INVITE_CODE_REQUIRED']=0x2ee3]=_0x104dc6(0x212),_0x2a12ac[_0x2a12ac[_0x104dc6(0xe2)]=0x2ee4]=_0x104dc6(0xe2),_0x2a12ac[_0x2a12ac[_0x104dc6(0x242)]=0x2ee5]=_0x104dc6(0x242),_0x2a12ac[_0x2a12ac[_0x104dc6(0x318)]=0x32c9]=_0x104dc6(0x318),_0x2a12ac[_0x2a12ac[_0x104dc6(0x287)]=0x32ca]='MOBILE_HAS_BEEN_BOUND',_0x2a12ac[_0x2a12ac[_0x104dc6(0x19d)]=0x32cb]=_0x104dc6(0x19d),_0x2a12ac[_0x2a12ac[_0x104dc6(0x1be)]=0x36b1]=_0x104dc6(0x1be),_0x2a12ac[_0x2a12ac['ENTITLE_UPDOWN_GRADE_NOT_SUPPORT']=0x36b2]=_0x104dc6(0x13d),_0x2a12ac[_0x2a12ac['ENTITLE_DUP_SUBSCRIPTION']=0x36b3]=_0x104dc6(0x171),_0x2a12ac[_0x2a12ac['PAYMENT_CHANNEL_NOT_SUPPORT']=0x36b4]=_0x104dc6(0x2b8),_0x2a12ac[_0x2a12ac[_0x104dc6(0x392)]=0x36b5]=_0x104dc6(0x392),_0x2a12ac[_0x2a12ac['ENTITLE_COUPON_EXPIRED']=0x36b6]=_0x104dc6(0x260),_0x2a12ac[_0x2a12ac['ENTITLE_COUPON_USED_UP']=0x36b7]=_0x104dc6(0x2fb),_0x2a12ac[_0x2a12ac[_0x104dc6(0x130)]=0x36b8]=_0x104dc6(0x130),_0x2a12ac[_0x2a12ac[_0x104dc6(0x126)]=0x3715]=_0x104dc6(0x126),_0x2a12ac[_0x2a12ac[_0x104dc6(0x2e4)]=0x3716]=_0x104dc6(0x2e4),_0x2a12ac[_0x2a12ac[_0x104dc6(0x2cb)]=0x3717]=_0x104dc6(0x2cb),_0x2a12ac[_0x2a12ac[_0x104dc6(0x198)]=0x37dd]=_0x104dc6(0x198),_0x2a12ac[_0x2a12ac['REDEMPTION_INVALID_CODE']=0x3a99]=_0x104dc6(0x31e),_0x2a12ac[_0x2a12ac['REDEMPTION_CODE_INACTIVE']=0x3a9a]=_0x104dc6(0x248),_0x2a12ac[_0x2a12ac['REDEMPTION_CODE_FULLY_REDEEMED']=0x3a9b]=_0x104dc6(0x319),_0x2a12ac[_0x2a12ac['REDEMPTION_CODE_NOT_STARTED']=0x3a9c]=_0x104dc6(0x247),_0x2a12ac[_0x2a12ac[_0x104dc6(0x266)]=0x3a9d]=_0x104dc6(0x266),_0x2a12ac[_0x2a12ac[_0x104dc6(0x12f)]=0x3a9e]=_0x104dc6(0x12f),_0x2a12ac[_0x2a12ac[_0x104dc6(0x1cc)]=0x3a9f]=_0x104dc6(0x1cc),_0x2a12ac[_0x2a12ac[_0x104dc6(0x192)]=0x3e81]=_0x104dc6(0x192),_0x2a12ac[_0x2a12ac[_0x104dc6(0x269)]=-0x1]=_0x104dc6(0x269),_0x2a12ac))(G||{});function Jt(_0x4e3923){const _0x1418c8=_0x104dc6;var _0x5cac85,_0x2eec7d;const _0x1be4da=(_0x5cac85=_0x4e3923[_0x1418c8(0x18d)])==null?void 0x0:_0x5cac85[_0x1418c8(0x35d)],_0x4fcffe=((_0x2eec7d=_0x4e3923[_0x1418c8(0x18d)])==null?void 0x0:_0x2eec7d[_0x1418c8(0x2a0)])||0x0;return _0x1be4da===B['FormulaExecuteStageType']['START_CALCULATION']&&_0x4fcffe>0x0;}function Zt(_0x4ed33b){const _0x540ec8=_0x104dc6;return _0x4ed33b['functionsExecutedState']===B[_0x540ec8(0x1ff)]['SUCCESS'];}var Qt=Object[_0x104dc6(0x194)],es=(_0x3241c2,_0x163ad5,_0x4079c9,_0x45ff26)=>{const _0x2a1755=_0x104dc6;for(var _0x2e5def=_0x45ff26>0x1?void 0x0:_0x45ff26?Qt(_0x163ad5,_0x4079c9):_0x163ad5,_0xd0d4bc=_0x3241c2[_0x2a1755(0x338)]-0x1,_0xbbf545;_0xd0d4bc>=0x0;_0xd0d4bc--)(_0xbbf545=_0x3241c2[_0xd0d4bc])&&(_0x2e5def=_0xbbf545(_0x2e5def)||_0x2e5def);return _0x2e5def;},L=(_0x5cbff2,_0x25ecfc)=>(_0xc964f0,_0x118c06)=>_0x25ecfc(_0xc964f0,_0x118c06,_0x5cbff2);const ts=_0x104dc6(0x1d8),ss=_0x104dc6(0x246),is=_0x104dc6(0x2fd);let ne=class extends a[_0x104dc6(0x191)]{constructor(_0x3152d6,_0x53d5f8,_0xc77a8d,_0x163880,_0x15d84f,_0x2aa4a5,_0x7366e2){const _0x3df241=_0x104dc6;super(),_(this,'_pollingInterval',null),_(this,_0x3df241(0x18e),0x0),_(this,'_currentUsage',0x0),_(this,_0x3df241(0x312),[]),_(this,'_lastResponseTimestamp',0x0),(this[_0x3df241(0x22d)]=_0x3152d6,this[_0x3df241(0x2ce)]=_0x53d5f8,this[_0x3df241(0x253)]=_0xc77a8d,this[_0x3df241(0x234)]=_0x163880,this[_0x3df241(0x297)]=_0x15d84f,this['_logService']=_0x2aa4a5,this[_0x3df241(0x2e2)]=_0x7366e2,this[_0x3df241(0x2db)]());}[_0x104dc6(0x2db)](){const _0x4493c2=_0x104dc6;this[_0x4493c2(0x186)](this[_0x4493c2(0x2ce)]['beforeCommandExecuted']((_0x41ced2,_0x545d0a)=>{const _0x31938f=_0x4493c2;var _0x1b65eb;if(_0x41ced2['id']!==B[_0x31938f(0x2cd)]['id'])return;const _0xe95163=_0x41ced2[_0x31938f(0x147)];if(!this['_hasFormulaInDirtyRanges']((_0x1b65eb=_0xe95163[_0x31938f(0x35b)])!=null?_0x1b65eb:[]))return;if(!this['_checkCalculationAvailable']())throw this[_0x31938f(0x13c)](_0x41ced2,_0x545d0a),this[_0x31938f(0x132)](),new a[(_0x31938f(0x1d9))]();})),this[_0x4493c2(0x186)](this[_0x4493c2(0x2ce)]['onCommandExecuted']((_0x29f7c5,_0x439f77)=>{const _0x52c818=_0x4493c2;if(_0x29f7c5['id']!==B[_0x52c818(0x398)]['id'])return;const _0x32ef93=_0x29f7c5[_0x52c818(0x147)];if(Jt(_0x32ef93)){const _0x3b7286=a[_0x52c818(0x116)]();this[_0x52c818(0x312)][_0x52c818(0x219)](_0x3b7286),this[_0x52c818(0x215)](_0x3b7286);}else{if(Zt(_0x32ef93)&&this['_taskIds'][_0x52c818(0x338)]>0x0){const _0x44d0ad=this[_0x52c818(0x312)][_0x52c818(0x13f)]();this[_0x52c818(0x32a)](_0x44d0ad);}}}));}[_0x104dc6(0x16f)](){const _0x33b934=_0x104dc6;super[_0x33b934(0x16f)](),this[_0x33b934(0x298)](),this[_0x33b934(0x312)]=[],this[_0x33b934(0x300)]=0x0,this[_0x33b934(0x18e)]=0x0,this['_lastResponseTimestamp']=0x0;}async[_0x104dc6(0x13c)](_0x25f495,_0x37269a){const _0x2d15f8=_0x104dc6;for(let _0x126638=0x0;_0x126638<0x1e;_0x126638++)try{if(await this[_0x2d15f8(0x202)](),this[_0x2d15f8(0x261)]()){this[_0x2d15f8(0x145)](_0x25f495,_0x37269a),this[_0x2d15f8(0x22d)][_0x2d15f8(0x121)]({'content':this['_localeService']['t']('formula.calculation.started'),'type':p[_0x2d15f8(0x2f4)]['Success']});return;}await new Promise(_0x1c6e5b=>{const _0x3c6b66=_0x2d15f8;this[_0x3c6b66(0x30d)]=window[_0x3c6b66(0x20e)](_0x1c6e5b,0x3e8);});}catch(_0x2d3b82){this[_0x2d15f8(0x1af)][_0x2d15f8(0x2b9)](_0x2d3b82);}this[_0x2d15f8(0x22d)][_0x2d15f8(0x121)]({'content':this[_0x2d15f8(0x2e2)]['t'](_0x2d15f8(0x136)),'type':p['MessageType'][_0x2d15f8(0x29b)]});}[_0x104dc6(0x145)](_0x5e5434,_0x3ce241){const _0x21a192=_0x104dc6;try{this[_0x21a192(0x2ce)]['executeCommand'](_0x5e5434['id'],_0x5e5434[_0x21a192(0x147)],_0x3ce241);}catch(_0x1d5ef1){this[_0x21a192(0x1af)][_0x21a192(0x2b9)](_0x1d5ef1);}}[_0x104dc6(0x20b)](_0x2043f5,_0x335d6a){const _0x38c427=_0x104dc6;_0x335d6a<this[_0x38c427(0x1ba)]||(this['_lastResponseTimestamp']=_0x335d6a,this['_maxFormulaLimit']=Number[_0x38c427(0x176)](_0x2043f5[_0x38c427(0x30a)]),this[_0x38c427(0x300)]=Number[_0x38c427(0x176)](_0x2043f5[_0x38c427(0x201)]));}async[_0x104dc6(0x215)](_0x303b58){const _0x169bee=_0x104dc6;var _0x3ff267,_0x6c8165;const _0x377d0a=Date[_0x169bee(0x33d)]();try{const _0xa8cdcb=((_0x3ff267=this[_0x169bee(0x253)][_0x169bee(0x149)](u['COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY']))==null?void 0x0:_0x3ff267['startFormulaLimitUrl'])||ss,_0x32dd4f=(await this[_0x169bee(0x234)][_0x169bee(0x1eb)](_0xa8cdcb,{'body':JSON[_0x169bee(0x2b7)]({'taskId':_0x303b58})}))['body'];if(((_0x6c8165=_0x32dd4f['error'])==null?void 0x0:_0x6c8165[_0x169bee(0x21a)])!==G['OK'])return;this['_setFormulaLimitStatus'](_0x32dd4f[_0x169bee(0xec)],_0x377d0a);}catch(_0x5ca2fd){this[_0x169bee(0x1af)][_0x169bee(0x2b9)](_0x5ca2fd);}}async[_0x104dc6(0x202)](_0x30c986){const _0x120f1d=_0x104dc6;var _0x21fe6d,_0x402832;const _0x224215=Date[_0x120f1d(0x33d)]();try{const _0x17c99b=((_0x21fe6d=this['_configService'][_0x120f1d(0x149)](u[_0x120f1d(0x117)]))==null?void 0x0:_0x21fe6d[_0x120f1d(0x2d4)])||ts,_0x149fff=_0x30c986?_0x17c99b+'?taskId='+encodeURIComponent(_0x30c986):_0x17c99b,_0x22db1b=(await this['_httpService'][_0x120f1d(0x254)](_0x149fff))[_0x120f1d(0x32b)];if(((_0x402832=_0x22db1b[_0x120f1d(0x2b9)])==null?void 0x0:_0x402832[_0x120f1d(0x21a)])!==G['OK'])return;this['_setFormulaLimitStatus'](_0x22db1b['limitInfo'],_0x224215);}catch(_0x364783){this[_0x120f1d(0x1af)][_0x120f1d(0x2b9)](_0x364783);}}async['_releaseCalculationLimit'](_0x17a4ca){const _0x5b38eb=_0x104dc6;var _0x2e277e,_0x1e1f71;const _0x249536=Date[_0x5b38eb(0x33d)]();try{const _0x5c2305=((_0x2e277e=this[_0x5b38eb(0x253)][_0x5b38eb(0x149)](u['COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY']))==null?void 0x0:_0x2e277e['releaseFormulaLimitUrl'])||is,_0x38a7cc=(await this[_0x5b38eb(0x234)][_0x5b38eb(0x1eb)](_0x5c2305,{'body':JSON[_0x5b38eb(0x2b7)]({'taskId':_0x17a4ca})}))[_0x5b38eb(0x32b)];if(((_0x1e1f71=_0x38a7cc[_0x5b38eb(0x2b9)])==null?void 0x0:_0x1e1f71[_0x5b38eb(0x21a)])!==G['OK'])return;this[_0x5b38eb(0x20b)](_0x38a7cc[_0x5b38eb(0xec)],_0x249536);}catch(_0x518516){this[_0x5b38eb(0x1af)][_0x5b38eb(0x2b9)](_0x518516);}}[_0x104dc6(0x261)](){const _0x269933=_0x104dc6;return this[_0x269933(0x18e)]===0x0?!0x0:this[_0x269933(0x18e)]-this[_0x269933(0x300)]>0x0;}['_clearPolling'](){const _0x12b116=_0x104dc6;this[_0x12b116(0x30d)]&&(clearTimeout(this['_pollingInterval']),this[_0x12b116(0x30d)]=null);}[_0x104dc6(0x132)](){const _0x533415=_0x104dc6;this[_0x533415(0x22d)][_0x533415(0x121)]({'content':this[_0x533415(0x2e2)]['t']('formula.calculation.waiting'),'type':p[_0x533415(0x2f4)][_0x533415(0x101)]});}['_hasFormulaInDirtyRanges'](_0x341465){const _0x5b5a68=_0x104dc6;for(const _0x2bc81f of _0x341465){const {unitId:_0x4cebae,sheetId:_0x2274e1,range:_0x69e041}=_0x2bc81f,_0x579762=this['_univerInstanceService'][_0x5b5a68(0x17f)](_0x4cebae);if(!_0x579762)continue;const _0x3d1305=_0x579762[_0x5b5a68(0x1bb)](_0x2274e1);if(!_0x3d1305)continue;const _0x12e9c2=_0x3d1305[_0x5b5a68(0x160)]();for(let _0x877fd5=_0x69e041[_0x5b5a68(0x296)];_0x877fd5<=_0x69e041[_0x5b5a68(0x2d9)];_0x877fd5++)for(let _0x193c34=_0x69e041['startColumn'];_0x193c34<=_0x69e041[_0x5b5a68(0x10d)];_0x193c34++){const _0x114ea8=_0x12e9c2['getValue'](_0x877fd5,_0x193c34);if(_0x114ea8&&(a['isFormulaString'](_0x114ea8['f'])||a[_0x5b5a68(0xd7)](_0x114ea8['si'])))return!0x0;}}return!0x1;}};ne=es([L(0x0,a[_0x104dc6(0x359)](O[_0x104dc6(0x386)])),L(0x1,a['ICommandService']),L(0x2,a['IConfigService']),L(0x3,a[_0x104dc6(0x359)](x[_0x104dc6(0x252)])),L(0x4,a[_0x104dc6(0x2c8)]),L(0x5,a[_0x104dc6(0x32c)]),L(0x6,a[_0x104dc6(0x359)](a['LocaleService']))],ne);function _0x326a(){const _0xb1231=['replaceDocRanges','post','DocSkeletonManagerService','_cursor','getRangePointData','catch','next','getStateCache','transformIMECache','runOnServer','pushState','InsertRangeMoveDownCommandId','url(#off-line-icon_clip0_910_343)','size','Subject','NO_OTHER_CLIENTS_EDITING','InsertRangeMoveRightCommandId','Vector2','activeSheet$','_roomMembers$','switchMap','FormulaExecutedStateType','TEXT_RANGE_LAYER_INDEX','currentUsage','_getFormulaLimitStatus','drawWith','_getMergeRange','findNodePositionByCharIndex','SUBMIT_CHANGESET_TIMEOUT','_initUserListener','clsx','distinctUntilChanged','_colorAssignService','_setFormulaLimitStatus','_status$','DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','setTimeout','translate(.97)','568ImGlQV','_entityInit$','INVITE_CODE_REQUIRED','setParam','getRelativeToViewportCoord','_startCalculationLimit','AUTHORIZE_CODE_ILLEGAL','YUUMI_UNABLE_LOAD_URL','enableLocalCache','push','code','getOffsetConfig','ILocalCacheService','row','lineno','currentTheme$','_entities','m2Prime','_anchorDot','_initEntityListener','font','_docSyncEditingCollabCursorService','url(#$1','_localStorageService','_assignedColors','reconnect','unitId','debug','executeCommand','_messageService','RemoteUniscriptService','getItem','3543344ZfDOSI','onPointerLeave$','getUndoRedoMutationParamsCache','getMember','_httpService','has','CONFLICT','_drawRectRange','[LogService\x20Error]:\x20','getFocusedUnit','_urlService','onPointerEnter$','Tools','DataLoaderService','addEventListener','lineTo','_docSkeleton','ONLINE','INVITE_CODE_ALREADY_BOUND','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','mutations','onTransformChange$','/universer-api/license/formula/limit/start','REDEMPTION_CODE_NOT_STARTED','REDEMPTION_CODE_INACTIVE','backgroundColor','EMAIL_VERIFY_CODE_MISMATCH','_onCursorUpdate','complete','session.collaboration-timeout','_id','unsubscribe','labelPosition','redoState','HTTPService','_configService','get','handleMoveRange','Shape','set','_heartbeatTimer','arc','transformMutationsWithChangeset','_collabCursorState$','syncEditingCollabCursor','...','startColumn','handleDeleteRangeMoveLeft','ENTITLE_COUPON_EXPIRED','_checkCalculationAvailable','path','_initCommandExecutedListener','entityInit$','beginPath','REDEMPTION_USER_NOT_ELIGIBLE','IDocClipboardService','mergeOverrideWithDependencies','UNRECOGNIZED','_anchor','roomMembers$','_revisionService','InsertColCommandId','replaceState','useObservable','_initDependencies','_themeService','UnitStatus','bold\x2013px\x20Source\x20Han\x20Sans\x20CN','on-line-icon_clip0_910_349','handleInsertRangeMoveDown','UNAUTHENTICATED','symbol','split','getSheetId','_eventUnsubscribe','unitID','toRgbString','xlink:href','_init','getCurrentUnitForType','_hovered','onCommandExecuted','getViewport','DocCollaborationEntity','_initUnhandledRejectionListener','setShapeProps','removeEventListener','MOBILE_HAS_BEEN_BOUND','EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','ALREADY_EXISTS','SetWorksheetActivateCommand','_backgroundColor','transform','requireSession','subscribeEvent','enableFrontendLog','runRefRangeMutations','unit','_localCacheService','_render','isTransformMutationsWithChangesetSuccess','takeUntil','startRow','_univerInstanceService','_clearPolling','send','sheetId','Error','_hover','init','COLORS','override','totalFormulasToCalculate','toStringTag','collab-text-range-','resize','203865JRwBOA','collabStatus.notCollab','CollaborationUIEventId','jsx','origin','pluginName','width','textRanges','values','CollaborationDataLoaderController','docStateChange$','_docStateChangeManagerService','APPLY_REJECT','off-line-icon_clip0_910_343','COMPLETION_FINISHED','_online','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','_onRefRangeChange','moveTo','stringify','PAYMENT_CHANNEL_NOT_SUPPORT','error','28328720fLStWi','DeleteRangeMoveLeftCommandId','ITransformService','_memberService','red.300','editingUnit','white','colorChannel1','searchParams','4792200YoaByO','_cursorShapes','collab-rect-range-','doc.mutation.rich-text-editing','_handleJoinEvent','IUniverInstanceService','getValue','collaboration.offline-data-not-saved','ENTITLE_INSUFFICIENT_QUOTA','INVALID_INVITE_CODE','SetFormulaCalculationStartMutation','_commandService','M0\x200H16V16H0z','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY','jiqing.500','evenodd','WebSocketService','getformulaLimitStatusUrl','_docClipboardService','YUUMI_ASYNCIO_CANCELLED','_setupSubUnitSync','find','endRow','top','_initCommandInterceptor','actions','transformRemoteChangeset','invokeId','use','NodePositionConvertToCursor','_collaborationController','_localeService','\x20at\x20','ENTITLE_REPORT_LIMIT_EXCEED','RemoveColCommandId','BrowserCollaborationSocketService','getCollabCursors$','on-line-icon','_transformHistoryAndStateStack','join','UNIVER_COLLABORATION_CLIENT_WEB_PLUGIN','memberID','FETCH_MISS','UniverCollaborationClientPlugin','hovered','trim','collabStatus.synced','LocaleService','WebBrowserSingleActiveUnitService','MessageType','height','addHandlerCallback','fromEvent','LICENSE_IMPORT_SIZE_EXCEEDED','handleInsertRow','_collaborationUIEventService','ENTITLE_COUPON_USED_UP','TEXT','/universer-api/license/formula/limit/done','SheetSkeletonManagerService','map','_currentUsage','saveImage','m1Prime','getUnitId','ranges','SOCKET_FAILED_RETRY','HEADER_MENU','handleIRemoveCol','CommandType','BuiltInUIPart','maxFormulaLimit','IUIPartsService','onLocalMutation','_pollingInterval','location','TRANSFORM_CHANGE_OBSERVABLE_TYPE','_scheduleClearOtherTimer','UniverIcon','_taskIds','urlChange$','_docTransformSelectionsService','_uploadLog','LICENSE_DISTRO_REJECTED','_name','WECHAT_HAS_BEEN_BOUND','REDEMPTION_CODE_FULLY_REDEEMED','history','_notificationService','save','_initEvent','REDEMPTION_INVALID_CODE','getUnitStatus$','RxDisposable','getCollabEntity$','cursorInfo','collaboration.closeRoom','color','stack','ISocketService','Workbook','SessionStatus','deserializeRangeWithSheet','_releaseCalculationLimit','body','ILogService','addObject','combineLatest','DisposableCollection','getActiveSheet','fillText','assignAColorForMemberID','measureText','name','_disabled','clearInterval','univer-flex\x20univer-items-center','length','RichTextEditingMutation','_scene','getParam','_injector','now','[Window\x20Error]:\x20','CONNECTOR_DATA_TOO_LARGE','ticket','_instanceService','black','_collabSessionService','UniverInstanceType','permission.title','sheetID','getSheetObject','PENDING','engine','INVITE_CODE_HAS_BEEN_UES','/run/','_updateCollabCursors','_initResize','_shapes','getDocRanges','_docSkeletonManagerService','DesktopCollaborationStatusDisplayController','restore','OnLineIcon','focused$','DocIMEInputManagerService','_handleHeartbeatEvent','[RemoteUniscriptService]:\x20no\x20focused\x20unit','url(#on-line-icon_clip0_910_349)','Inject','_startDocCollabCursor','dirtyRanges','_transformService','stage','_config','getMemberID','transformByState','MOBILE_VERIFY_CODE_MISMATCH','clearTimeout','attrs','_getAnchorBounding','toDisposable','registerRenderModule','CHANGESET_REVISION_CONFILICT','pipe','[CollaborationDataLoaderController]','UPDATE_CURSOR','_getSessionTicket','MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','0\x200\x2017\x2016','_registerDependencies','SHEET_VIEWPORT_KEY','APPLY_PERMISSION_DENIED','getColorFromTheme','_color','getColor','clipPath','CollaborationUIEventService','CollaborationController','selections','useRef','getUniverSheetInstance','DeleteRangeMoveUpCommandId','_getScale','onPointerMove$','Unknown\x20user','ICommandService','onStarting','getRenderById','UNIVER_SHEET','IRemoteInstanceService','createIdentifier','0\x200\x2016\x2016','YUUMI_CONNECTOR_URL_NOT_FOUND','IMessageService','filter','OFFLINE','CollaborationSessionService','[Unhandled\x20Rejection]:\x20','SNAPSHOT_INVALID_SNAPSHOT','_docTransformIMECacheService','_cachedData','fill','from','range','transformSelections','ENTITLE_INVALID_COUPON_CODE','_lastPointer','No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.','getTypeOfUnitDisposed$','max','_document','SetFormulaCalculationNotificationMutation','PERMISSION_DENIED','RECT','_onCursorDelete','collaboration-client-ui.config','getCurrent','1em','colno','YUUMI_NO_CUBOID_FOR_QUESTION','replace','runId','closePath','_cursors','RegularPolygon','uni.network.url-service','_context','isFormulaId','LICENSE_MAX_UNITS_EXCEEDED','reason','_refreshCollabCursors','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','createInstance','CollaborationEvent','_ensureSubject','_textBubble','LOGIN_TOKEN_PROCESSING_FAILED','getLocalCacheKey','USER_NOT_INVITED_CODE','setItem','746028KhyGCb','_updateURLWithCurrentState','CLOSE_ROOM','YUUMI_TABLE_NOT_FOUND_IN_UNIT','_send','collabStatus.offline','deepClone','_updateLocalCursor','limitInfo','then','result','_drawTextRange','_unitStatus','createElement','removeParam','transformStateCache','loadUnit','CURRENT_STATUS_CANNOT_OPERATE','APPLY_NON_SEQUENTIAL_REVISION','PY_RUNTIME_SCRIPT_ERROR','_initStatusListener','LICENSE_EXPORT_SIZE_EXCEEDED','eventID','assign','ColorKit','storage','10683fvHpcq','_renderManagerService','_saveTaskMap','Loading','getCurrentRevOfUnit','YUUMI_SUBSCRIPTION_NOT_FOUND','subscribe','_handleEvent','SOCKET_FAILED','useDependency','debounceTime','collabStatus.syncing','createSocket','unhandledrejection','collab-text-anchor-','endColumn','Tooltip','undoState','Module','_monkeyPatchLogService','source','touchDependencies','event$','INVALID_ARGUMENT','generateRandomId','COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY','sessionStatus$','hide','DocStateChangeManagerService','includes','_labelPosition','svg','2amYGjA','RemoveRowCommandId','throttleTime','show','popstate','getSkeleton','5Luigml','univer-text-sm\x20univer-leading-8\x20univer-text-gray-600\x20dark:!univer-text-gray-200','ENTITLE_CHAT_LIMIT_EXCEED','_beforeCloseService','_initStatusComponent','cursorInfo$','_toggleOnline','_removeCollabCursors','_getSheetObject','SetTextSelectionsOperation','setInterval','REDEMPTION_USER_REDEEM_TIMES_EXCEED','ENTITLE_USE_COUPON_NOT_1ST_TRADE','roomMembers','_showGuardMessage','APPLY_DUPLICATED','entries','setActiveRange','formula.calculation.unable','NOT_COLLAB','unload','_colorIndex','collabStatus.conflict','_handleLeaveEvent','_checkAndWaitForCalculationPermission','ENTITLE_UPDOWN_GRADE_NOT_SUPPORT','SheetsSelectionsService','shift','_handleHover','_cursorInfo$','No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','getVpScrollXYInfoByPosToVp','session.connection-failed','_applyCommand','IRenderManagerService','params','Rect','getConfig','collabCursorState$','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','updateOfflineData','DocSelectionManagerService','Injector','_hideTimer','search','debounce','socket$','_dataLoaderService','purple.300','with','defineProperty','FromArray','ILocalStorageService','newValue','Rectangle','add','isArray','/universer-api/frontend/logs','YUUMI_ALL_TABLES_IS_INVALID','loadOfflineData','getCellMatrix','key','_updateSubUnitFromURLParams','SetSelectionsOperation','selection','DOC_RANGE_TYPE','IImageIoService','saveTaskMap','SNAPSHOT_HAS_BEEN_REMOVED','sessionTicket','getActiveRange','toString','exhaustSavingTask','collab-client.tooltip.reconnect','wsSessionTicketUrl','dispose','_syncEditingCollabCursorService','ENTITLE_DUP_SUBSCRIPTION','ISnapshotServerService','_toggleOffline','onRendered','EffectRefRangId','parseInt','ThemeService','_registerRenderDependencies','forwardRef','MemberService','_doCreateSocket','2936742aNTNZV','_collaborationSessionService','isTransformMutationFailure','getUnit','_clearOtherTimers','APPLY_REVISION_CONFILICT','saveOfflineData','data','div','message','disposeWithMe','bind','UNDEFINED','_scheduleHeartbeat','Warning','getUnhiddenWorksheets','asObservable','stageInfo','_maxFormulaLimit','some','current','Disposable','DATA_SOURCE_TOO_LARGE','fillRule','getOwnPropertyDescriptor','_imageIoService','LOGIN_FAILED','forEach','ENTITLE_NEED_BILLING_ADDRESS','substring','currentSkeleton$','_unitOnClients','bottom','EMAIL_HAS_BEEN_BOUND','registerRefRange','onMouseMove','displayName','_draw','RefRangeService','_scheduleSaving','dispose$','_getSaveTimeout','ENSURE_SNAPSHOT_EXECUTION','defs','TOO_MANY_REQUESTS','RevisionService','_removeClearOtherTimer','NOT_FOUND','href','_range','_sheetSkeletonManagerService','_logService','_transformPreviousActiveRange','USERS_LEAVE','unshift','off-line-icon','setAlpha','round','getTypeOfUnitAdded$','BehaviorSubject','YUUMI_AI_RUN_FAILED','OTHER_CLIENT_EDITING','_lastResponseTimestamp','getSheetBySheetId','CollaborationStatus','handleDeleteRangeMoveUp','ENTITLE_CAN_NOT_BUY_LOWER_OTP','http://www.w3.org/2000/svg','NodePositionConvertToRectRange','text','type','green.600','rgba(255,\x20255,\x20255,\x200.01)','_setupBeforeClosingHandler','addObjects','imageSourceType','addClipboardHook','idSuffix','yellow.400','_collabCursorController','REDEMPTION_CODE_HAS_BEEN_CREATED','_docTransformStateCacheService','string','fromEventSubject','handleIRemoveRow','_createSocketURL','_selfUnitIDs','column','IConfigService','subUnitId','UNIVER_DOC','YUUMI_URL_COL_OUT_OF_RANGE','/universer-api/license/formula/limit/status','CanceledError','delete','UniverCollaborationClientUIPlugin','_session','triggerDblclick','_uiPartsService','_refRangeService','INTERNAL_ERROR','isActive','transformMutation','_memberID','_saveCache','children','min','Failed','subunit','disposeUnit'];_0x326a=function(){return _0xb1231;};return _0x326a();}var ns=Object[_0x104dc6(0x194)],rs=(_0x3983fb,_0x5c02c9,_0x3686a2,_0x28a1d0)=>{const _0x446a0c=_0x104dc6;for(var _0x209b7d=_0x28a1d0>0x1?void 0x0:_0x28a1d0?ns(_0x5c02c9,_0x3686a2):_0x5c02c9,_0x5694ce=_0x3983fb[_0x446a0c(0x338)]-0x1,_0x1fad6a;_0x5694ce>=0x0;_0x5694ce--)(_0x1fad6a=_0x3983fb[_0x5694ce])&&(_0x209b7d=_0x1fad6a(_0x209b7d)||_0x209b7d);return _0x209b7d;},Se=(_0x2113ed,_0x2479ab)=>(_0x2bfb08,_0x403d9d)=>_0x2479ab(_0x2bfb08,_0x403d9d,_0x2113ed);let Te=class extends a[_0x104dc6(0x191)]{constructor(_0x55c598,_0x264564,_0x2ef320){const _0x4c91c5=_0x104dc6;super(),_(this,_0x4c91c5(0x38d),new Map()),_(this,'_saveTaskMap',new Map()),_(this,'_disabled',!0x1),(this[_0x4c91c5(0x253)]=_0x55c598,this[_0x4c91c5(0x227)]=_0x264564,this['_revisionService']=_0x2ef320);}['disableLocalCache'](){const _0x6b4938=_0x104dc6;this[_0x6b4938(0x335)]=!0x0;}[_0x104dc6(0x218)](){const _0x362dc1=_0x104dc6;this[_0x362dc1(0x335)]=!0x1;}get[_0x104dc6(0x167)](){const _0x4c7e3c=_0x104dc6;return this[_0x4c7e3c(0x100)];}[_0x104dc6(0x16f)](){const _0x591de7=_0x104dc6;this[_0x591de7(0x16c)]()[_0x591de7(0xed)](()=>super[_0x591de7(0x16f)]());}async[_0x104dc6(0x15f)](_0x12c31a){const _0x41fd47=_0x104dc6;return this[_0x41fd47(0x335)]?null:this[_0x41fd47(0x227)][_0x41fd47(0x22f)](u[_0x41fd47(0xe1)](_0x12c31a));}async[_0x104dc6(0x182)](_0x52bcad,_0x553935){return!!this['_localStorageService']['setItem'](_0x52bcad,_0x553935);}[_0x104dc6(0x14c)](_0x1b32f9,_0x50a0d8,_0x32466c,_0xf57d3c){const _0x489832=_0x104dc6,_0x21c447=this[_0x489832(0x26c)][_0x489832(0x102)](_0x1b32f9);this[_0x489832(0x38d)][_0x489832(0x257)](_0x1b32f9,{'unitID':_0x1b32f9,'type':_0x50a0d8,'awaitingChangeset':_0x32466c,'mutations':_0xf57d3c,'rev':_0x21c447}),this[_0x489832(0x100)][_0x489832(0x235)](_0x1b32f9)||this[_0x489832(0x1a3)](_0x1b32f9);}[_0x104dc6(0x1a3)](_0x466fcf){const _0x42f829=_0x104dc6,_0x2bc18e=this['_getSaveTimeout']();_0x2bc18e===0x0?this[_0x42f829(0x1e4)](_0x466fcf):this['_saveTaskMap'][_0x42f829(0x257)](_0x466fcf,setTimeout(()=>this[_0x42f829(0x1e4)](_0x466fcf),_0x2bc18e));}[_0x104dc6(0x1a5)](){const _0x19f80a=_0x104dc6;var _0x2ca188;return(_0x2ca188=this[_0x19f80a(0x253)][_0x19f80a(0x149)](u['LOCAL_CACHE_INTERVAL_KEY']))!=null?_0x2ca188:u['LOCAL_CACHE_INTERVAL'];}[_0x104dc6(0x1e4)](_0x3881e9){const _0xe02fa7=_0x104dc6,_0x5abb57=this[_0xe02fa7(0x100)][_0xe02fa7(0x254)](_0x3881e9);return _0x5abb57!==void 0x0&&window[_0xe02fa7(0x362)](_0x5abb57),this[_0xe02fa7(0x227)][_0xe02fa7(0xe3)](u[_0xe02fa7(0xe1)](_0x3881e9),this[_0xe02fa7(0x38d)][_0xe02fa7(0x254)](_0x3881e9))[_0xe02fa7(0xed)](()=>this[_0xe02fa7(0x100)][_0xe02fa7(0x1da)](_0x3881e9));}async[_0x104dc6(0x16c)](){const _0x4e3247=_0x104dc6,_0x247742=[];this[_0x4e3247(0x100)][_0x4e3247(0x197)]((_0xc10d35,_0x4806b7)=>{const _0xfbee85=_0x4e3247;window[_0xfbee85(0x362)](_0xc10d35),_0x247742[_0xfbee85(0x219)](this[_0xfbee85(0x1e4)](_0x4806b7)['then'](()=>{const _0x5bd959=_0xfbee85;this['_saveTaskMap'][_0x5bd959(0x1da)](_0x4806b7);}));}),await Promise['all'](_0x247742);}};Te=rs([Se(0x0,a['IConfigService']),Se(0x1,a[_0x104dc6(0x158)]),Se(0x2,a[_0x104dc6(0x359)](g[_0x104dc6(0x1a9)]))],Te);class ke extends a[_0x104dc6(0x320)]{constructor(){const _0x903adf=_0x104dc6;super(),_(this,_0x903adf(0x313)),this['urlChange$']=I[_0x903adf(0x2f7)](window,_0x903adf(0x122))[_0x903adf(0x368)](I[_0x903adf(0x295)](this[_0x903adf(0x1a4)]),I['shareReplay'](0x1),I['mapTo'](void 0x0));}['setParam'](_0x59bec9,_0x43a356,_0x4cd22d=!0x1){const _0x1d742f=_0x104dc6,_0x215106=new URL(window['location'][_0x1d742f(0x1ac)]);_0x215106[_0x1d742f(0x2c2)][_0x1d742f(0x257)](_0x59bec9,_0x43a356),_0x4cd22d?window[_0x1d742f(0x31a)][_0x1d742f(0x26e)]('','',_0x215106[_0x1d742f(0x16b)]()):window[_0x1d742f(0x31a)]['pushState']('','',_0x215106[_0x1d742f(0x16b)]());}[_0x104dc6(0xf2)](_0xe2ed1e,_0x12490e=!0x1){const _0x232322=_0x104dc6,_0x79cecb=new URL(window['location']['href']);_0x79cecb['searchParams'][_0x232322(0x1da)](_0xe2ed1e),_0x12490e?window[_0x232322(0x31a)][_0x232322(0x26e)]('','',_0x79cecb['toString']()):window['history'][_0x232322(0x1f4)]('','',_0x79cecb[_0x232322(0x16b)]());}[_0x104dc6(0x33b)](_0x550b56){const _0x44d480=_0x104dc6;var _0x5e099b;return(_0x5e099b=new URL(window[_0x44d480(0x30e)][_0x44d480(0x1ac)])[_0x44d480(0x2c2)][_0x44d480(0x254)](_0x550b56))!=null?_0x5e099b:void 0x0;}}var os=Object['defineProperty'],as=Object['getOwnPropertyDescriptor'],cs=(_0x2ba5fa,_0x5d6c47,_0x299527)=>_0x5d6c47 in _0x2ba5fa?os(_0x2ba5fa,_0x5d6c47,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x299527}):_0x2ba5fa[_0x5d6c47]=_0x299527,ls=(_0x495036,_0x3a5a20,_0x1bae0b,_0x5b993d)=>{const _0x24336b=_0x104dc6;for(var _0x517dc4=_0x5b993d>0x1?void 0x0:_0x5b993d?as(_0x3a5a20,_0x1bae0b):_0x3a5a20,_0x3b201f=_0x495036[_0x24336b(0x338)]-0x1,_0x16905d;_0x3b201f>=0x0;_0x3b201f--)(_0x16905d=_0x495036[_0x3b201f])&&(_0x517dc4=_0x16905d(_0x517dc4)||_0x517dc4);return _0x517dc4;},de=(_0x4763c8,_0x811973)=>(_0x29b10e,_0xb8b542)=>_0x811973(_0x29b10e,_0xb8b542,_0x4763c8),_s=(_0x1b34df,_0x441fcf,_0x2950ef)=>cs(_0x1b34df,_0x441fcf+'',_0x2950ef);const hs=_0x104dc6(0x2eb);exports[_0x104dc6(0x1db)]=class extends a['Plugin']{constructor(_0x33c189=Me,_0x4a878c,_0x5bbf35,_0x35dc0b){const _0x160478=_0x104dc6;super(),this[_0x160478(0x35e)]=_0x33c189,this['_renderManagerService']=_0x4a878c,this[_0x160478(0x33c)]=_0x5bbf35,this[_0x160478(0x253)]=_0x35dc0b;const {..._0x3d38cc}=a['merge']({},Me,this[_0x160478(0x35e)]);this[_0x160478(0x253)]['setConfig'](Yt,_0x3d38cc);}[_0x104dc6(0x37f)](){const _0x3eba0e=_0x104dc6;this[_0x3eba0e(0x36e)](),this['_initDependencies']();}[_0x104dc6(0x174)](){this['_registerRenderDependencies']();}[_0x104dc6(0x36e)](){const _0x39d501=_0x104dc6;var _0x43e131;const _0x2ffaa6=[[Re],[ne],[se],[ee],[te],[be],[Oe,{'useClass':ke}],[x[_0x39d501(0x326)],{'useClass':x[_0x39d501(0x2d3)]}],[u[_0x39d501(0x21c)],{'useClass':Te}],[exports[_0x39d501(0x351)]],[ie],[Z],[F],[me],[exports['CollaborationDataLoaderController']]];this[_0x39d501(0x35e)][_0x39d501(0x28f)]&&_0x2ffaa6[_0x39d501(0x219)]([Q]),a['registerDependencies'](this['_injector'],a[_0x39d501(0x268)](_0x2ffaa6,(_0x43e131=this[_0x39d501(0x35e)])==null?void 0x0:_0x43e131[_0x39d501(0x29f)]));}[_0x104dc6(0x178)](){const _0x178ca0=_0x104dc6;this['disposeWithMe'](this[_0x178ca0(0xff)][_0x178ca0(0x366)](a[_0x178ca0(0x344)][_0x178ca0(0x1d6)],[Ee])),this[_0x178ca0(0x186)](this[_0x178ca0(0xff)][_0x178ca0(0x366)](a[_0x178ca0(0x344)][_0x178ca0(0x381)],[Ce]));}[_0x104dc6(0x270)](){const _0x44e422=_0x104dc6;a[_0x44e422(0x113)](this[_0x44e422(0x33c)],[[F],[exports[_0x44e422(0x351)]],[ie],[Z],[exports[_0x44e422(0x2ad)]],[ne]]),this[_0x44e422(0x35e)]['enableFrontendLog']&&a[_0x44e422(0x113)](this[_0x44e422(0x33c)],[[Q]]);}},_s(exports[_0x104dc6(0x1db)],_0x104dc6(0x2a9),hs),exports[_0x104dc6(0x1db)]=ls([a['DependentOn'](u[_0x104dc6(0x2ee)]),de(0x1,C[_0x104dc6(0x146)]),de(0x2,a[_0x104dc6(0x359)](a[_0x104dc6(0x14e)])),de(0x3,a[_0x104dc6(0x1d4)])],exports[_0x104dc6(0x1db)]);var us=Object[_0x104dc6(0x194)],Is=(_0x25d639,_0x30b857,_0x327838,_0x13a368)=>{const _0x6ca8c4=_0x104dc6;for(var _0x42a641=_0x13a368>0x1?void 0x0:_0x13a368?us(_0x30b857,_0x327838):_0x30b857,_0x37813f=_0x25d639[_0x6ca8c4(0x338)]-0x1,_0x2a45ad;_0x37813f>=0x0;_0x37813f--)(_0x2a45ad=_0x25d639[_0x37813f])&&(_0x42a641=_0x2a45ad(_0x42a641)||_0x42a641);return _0x42a641;},W=(_0x3e9c7b,_0x175213)=>(_0x3b6864,_0x5ebf2e)=>_0x175213(_0x3b6864,_0x5ebf2e,_0x3e9c7b);exports[_0x104dc6(0x2e6)]=class extends u['CollaborationSocketService']{constructor(_0x49ac60,_0x376791,_0x248323,_0x26c41f,_0x462ff9){super(_0x49ac60,_0x376791,_0x248323,_0x26c41f,_0x462ff9);}async[_0x104dc6(0x10a)](_0x3eae6a){const _0xcc8632=_0x104dc6,_0x16f443=await this[_0xcc8632(0x36b)](),_0x1bec1b=this['_createSocketURL'](_0x3eae6a,_0x16f443);return this[_0xcc8632(0x17b)](_0x1bec1b);}[_0x104dc6(0x1d1)](_0x8613ff,_0x2dca97){const _0x1b2ef4=_0x104dc6,_0x693be4=typeof window>'u'?new URL(_0x8613ff):new URL(_0x8613ff,window[_0x1b2ef4(0x30e)][_0x1b2ef4(0x2a8)]);_0x693be4[_0x1b2ef4(0x2c2)][_0x1b2ef4(0x257)](_0x1b2ef4(0x169),_0x2dca97);const _0x21ec15=typeof window>'u'?new URLSearchParams():new URLSearchParams(window[_0x1b2ef4(0x30e)][_0x1b2ef4(0x150)]);return _0x21ec15[_0x1b2ef4(0x254)]('runId')&&_0x693be4['searchParams'][_0x1b2ef4(0x257)](_0x1b2ef4(0xd1),_0x21ec15[_0x1b2ef4(0x254)](_0x1b2ef4(0xd1))),_0x693be4['toString']();}async[_0x104dc6(0x36b)](){const _0x25fb92=_0x104dc6;var _0x299691,_0x3649f7,_0x3a34cf;const _0x1066ce=this[_0x25fb92(0x253)][_0x25fb92(0x149)](u[_0x25fb92(0x117)]),_0x9531c8=(_0x299691=_0x1066ce==null?void 0x0:_0x1066ce[_0x25fb92(0x16e)])!=null?_0x299691:u['DEFAULT_WS_SESSION_TICKET_URL'];return(_0x3a34cf=(_0x3649f7=(await this['_httpService'][_0x25fb92(0x254)](_0x9531c8,{'headers':{'Content-Type':'application/json'}}))[_0x25fb92(0x32b)])==null?void 0x0:_0x3649f7[_0x25fb92(0x340)])!=null?_0x3a34cf:'';}},exports[_0x104dc6(0x2e6)]=Is([W(0x0,a[_0x104dc6(0x359)](a['Injector'])),W(0x1,a['Inject'](x['HTTPService'])),W(0x2,a[_0x104dc6(0x1d4)]),W(0x3,a[_0x104dc6(0x32c)]),W(0x4,g[_0x104dc6(0x172)])],exports[_0x104dc6(0x2e6)]);var Ss=Object[_0x104dc6(0x194)],ds=(_0x40d278,_0x5caa7e,_0x49130a,_0x5122b6)=>{const _0x52c963=_0x104dc6;for(var _0x5419e2=_0x5122b6>0x1?void 0x0:_0x5122b6?Ss(_0x5caa7e,_0x49130a):_0x5caa7e,_0x100385=_0x40d278[_0x52c963(0x338)]-0x1,_0x24547b;_0x100385>=0x0;_0x100385--)(_0x24547b=_0x40d278[_0x100385])&&(_0x5419e2=_0x24547b(_0x5419e2)||_0x5419e2);return _0x5419e2;},fe=(_0x52ac3c,_0x535504)=>(_0x18b808,_0x16c63b)=>_0x535504(_0x18b808,_0x16c63b,_0x52ac3c);exports[_0x104dc6(0x22e)]=class extends a[_0x104dc6(0x191)]{constructor(_0x4d703d,_0x257183,_0x3e6509){super(),this['_instanceService']=_0x4d703d,this['_httpService']=_0x257183,this['_configService']=_0x3e6509;}async[_0x104dc6(0x1f3)](_0x484e7a,_0x9d7d9d,_0x35e58f,..._0x3b4037){const _0x21f3dc=_0x104dc6;var _0x13d1c1,_0x18d038,_0x56e603,_0x9f43c;const _0x3baa55=this[_0x21f3dc(0x341)][_0x21f3dc(0x239)]();if(!_0x3baa55)throw new Error(_0x21f3dc(0x357));const _0x1c2452=((_0x13d1c1=this[_0x21f3dc(0x253)][_0x21f3dc(0x149)](u[_0x21f3dc(0x2d0)]))!=null?_0x13d1c1:u[_0x21f3dc(0x20d)])+'/'+_0x484e7a+_0x21f3dc(0x34b)+_0x9d7d9d,_0x411a86=new URL(window[_0x21f3dc(0x30e)][_0x21f3dc(0x1ac)]),_0x57b2cc={'scriptId':_0x484e7a,'runId':(_0x18d038=_0x411a86[_0x21f3dc(0x2c2)][_0x21f3dc(0x254)](_0x21f3dc(0xd1)))!=null?_0x18d038:'','function':_0x9d7d9d,'unitId':_0x3baa55[_0x21f3dc(0x303)](),'argsOfFunction':JSON[_0x21f3dc(0x2b7)](_0x3b4037),'invokeId':(_0x56e603=_0x35e58f[_0x21f3dc(0x2de)])!=null?_0x56e603:'','executionId':(_0x9f43c=_0x35e58f['executionId'])!=null?_0x9f43c:''};try{const _0x3a8469=await this[_0x21f3dc(0x234)][_0x21f3dc(0x1eb)](_0x1c2452,{'body':_0x57b2cc});return _0x3a8469['body']['error']&&_0x3a8469[_0x21f3dc(0x32b)][_0x21f3dc(0x2b9)]['code']!==G['OK']?_0x21f3dc(0x1e7):_0x3a8469[_0x21f3dc(0x32b)][_0x21f3dc(0xee)];}catch{return _0x21f3dc(0x1e7);}}},exports[_0x104dc6(0x22e)]=ds([fe(0x0,a['IUniverInstanceService']),fe(0x1,a[_0x104dc6(0x359)](x[_0x104dc6(0x252)])),fe(0x2,a[_0x104dc6(0x1d4)])],exports[_0x104dc6(0x22e)]);const we=0x7530,ye='ACTIVE_UNIT_EVENT_CHANNEL';class fs extends a['Disposable']{constructor(){const _0x2fe37f=_0x104dc6;super(),_(this,_0x2fe37f(0x24e),a[_0x2fe37f(0x116)]()),_(this,_0x2fe37f(0x1d2),new Set()),_(this,_0x2fe37f(0x19b),new Map()),_(this,_0x2fe37f(0x258),null),_(this,'_clearOtherTimers',new Map()),_(this,'_unitStatus',new Map()),this['_init']();}['dispose'](){const _0x956433=_0x104dc6;super[_0x956433(0x16f)](),this[_0x956433(0x180)]['forEach']((_0x4129ad,_0x232ceb)=>this[_0x956433(0x1aa)](_0x232ceb)),this[_0x956433(0x258)]&&window[_0x956433(0x336)](this[_0x956433(0x258)]);}[_0x104dc6(0x31f)](_0x1e70ac){const _0x56f6a8=_0x104dc6;return this[_0x56f6a8(0xde)](_0x1e70ac)['pipe'](I[_0x56f6a8(0x209)]());}[_0x104dc6(0x2bf)](_0x22a1ec){const _0x1f3595=_0x104dc6;this[_0x1f3595(0x1d2)][_0x1f3595(0x1f7)]===0x0&&this['_scheduleHeartbeat'](),this[_0x1f3595(0x1d2)][_0x1f3595(0x15b)](_0x22a1ec),this['_send']({'type':0x0,'memberID':this[_0x1f3595(0x24e)],'unitIDs':[_0x22a1ec],'isForwarded':!0x1});}[_0x104dc6(0x1e9)](_0x5ceb28){const _0x58586d=_0x104dc6;this[_0x58586d(0x1d2)][_0x58586d(0x1da)](_0x5ceb28),this['_selfUnitIDs'][_0x58586d(0x1f7)]===0x0&&this[_0x58586d(0x258)]&&window[_0x58586d(0x336)](this[_0x58586d(0x258)]);}['_init'](){const _0x5bee1d=_0x104dc6;this[_0x5bee1d(0x186)](a[_0x5bee1d(0x365)](I['fromEvent'](window,_0x5bee1d(0xfd))['subscribe'](_0x8e9dd4=>{const _0x43dd42=_0x5bee1d;if(_0x8e9dd4[_0x43dd42(0x161)]!==ye||!_0x8e9dd4[_0x43dd42(0x159)])return;const _0x4effac=JSON['parse'](_0x8e9dd4[_0x43dd42(0x159)]);this['_handleEvent'](_0x4effac);}))),window[_0x5bee1d(0x23e)](_0x5bee1d(0x138),()=>this[_0x5bee1d(0xe8)]({'type':0x1,'memberID':this['_id'],'unitIDs':Array[_0x5bee1d(0x38f)](this['_selfUnitIDs'])}));}[_0x104dc6(0x105)](_0xba8a30){const _0x2c4663=_0x104dc6;switch(_0xba8a30[_0x2c4663(0x1c2)]){case 0x0:this[_0x2c4663(0x2c7)](_0xba8a30);break;case 0x1:this[_0x2c4663(0x13b)](_0xba8a30);break;case 0x2:this[_0x2c4663(0x356)](_0xba8a30);break;}}[_0x104dc6(0x2c7)](_0x30aba2){const _0x259577=_0x104dc6,{unitIDs:_0x9ff697,memberID:_0x1686a5,isForwarded:_0x366fc6}=_0x30aba2;_0x9ff697[_0x259577(0x197)](_0x23e0c0=>{const _0x4748c0=_0x259577;if(!_0x366fc6&&this['_unitOnClients'][_0x4748c0(0x235)](_0x23e0c0)&&this[_0x4748c0(0xde)](_0x23e0c0)[_0x4748c0(0x1f0)](u[_0x4748c0(0x272)]['OTHER_CLIENTS_EDITING']),!this[_0x4748c0(0x19b)]['has'](_0x23e0c0)||!this[_0x4748c0(0x19b)]['get'](_0x23e0c0)['has'](_0x1686a5)){const _0x14e9d8=this['_unitOnClients'][_0x4748c0(0x254)](_0x23e0c0)||new Set();_0x14e9d8[_0x4748c0(0x15b)](_0x1686a5),this[_0x4748c0(0x19b)][_0x4748c0(0x257)](_0x23e0c0,_0x14e9d8),this[_0x4748c0(0x310)](_0x1686a5);}}),_0x366fc6||this[_0x259577(0xe8)]({'type':0x0,'memberID':this[_0x259577(0x24e)],'unitIDs':[...this[_0x259577(0x1d2)]],'isForwarded':!0x0});}[_0x104dc6(0x310)](_0xf4209a){const _0x2767fb=_0x104dc6;this[_0x2767fb(0x1aa)](_0xf4209a);const _0x433ffe=window[_0x2767fb(0x20e)](()=>{const _0x37f19e=_0x2767fb;this['_unitOnClients'][_0x37f19e(0x197)](_0x9d3048=>{_0x9d3048['delete'](_0xf4209a);});},we*0x2);this[_0x2767fb(0x180)]['set'](_0xf4209a,_0x433ffe);}[_0x104dc6(0x1aa)](_0x1d3c7a){const _0x421f95=_0x104dc6;if(this[_0x421f95(0x180)][_0x421f95(0x235)](_0x1d3c7a)){const _0x18f1e6=this['_clearOtherTimers'][_0x421f95(0x254)](_0x1d3c7a);_0x18f1e6&&window[_0x421f95(0x362)](_0x18f1e6),this[_0x421f95(0x180)]['set'](_0x1d3c7a,null);}}['_handleLeaveEvent'](_0xe75561){const _0x545668=_0x104dc6,{memberID:_0x54f253,unitIDs:_0x3d9006}=_0xe75561;_0x3d9006[_0x545668(0x197)](_0x475d4a=>{const _0x3e408e=_0x545668;var _0x1b3001;const _0x38590e=this[_0x3e408e(0x19b)][_0x3e408e(0x254)](_0x475d4a);_0x38590e&&(_0x38590e[_0x3e408e(0x1da)](_0x54f253),(_0x1b3001=this[_0x3e408e(0xde)](_0x475d4a))==null||_0x1b3001[_0x3e408e(0x1f0)](_0x38590e[_0x3e408e(0x1f7)]===0x0?u[_0x3e408e(0x272)]['NO_OTHER_CLIENTS_EDITING']:u[_0x3e408e(0x272)]['OTHER_CLIENTS_EDITING']));}),this[_0x545668(0x1aa)](_0x54f253);}['_handleHeartbeatEvent'](_0x3bd372){const _0x58c357=_0x104dc6;this[_0x58c357(0x310)](_0x3bd372[_0x58c357(0x2ec)]);}[_0x104dc6(0xe8)](_0x3ed32a){const _0x207db3=_0x104dc6;localStorage['setItem'](ye,JSON[_0x207db3(0x2b7)](_0x3ed32a));}[_0x104dc6(0x189)](){const _0x22f763=_0x104dc6;this[_0x22f763(0x258)]=window[_0x22f763(0x12e)](()=>{const _0x5d4c2f=_0x22f763;this[_0x5d4c2f(0xe8)]({'type':0x2,'memberID':this[_0x5d4c2f(0x24e)]});},we);}[_0x104dc6(0xde)](_0xec280f){const _0x42e868=_0x104dc6;return this['_unitStatus']['has'](_0xec280f)||this[_0x42e868(0xf0)][_0x42e868(0x257)](_0xec280f,new I[(_0x42e868(0x1b7))](u[_0x42e868(0x272)][_0x42e868(0x1f9)])),this['_unitStatus'][_0x42e868(0x254)](_0xec280f);}}exports['IURLService']=Oe,exports['SheetCollabCursorShape']=je,exports[_0x104dc6(0x2f3)]=fs,exports['WebURLService']=ke;
|
|
1
|
+
'use strict';const _0x4e74b9=_0x33a7;(function(_0xf078ec,_0x30ac8c){const _0x4d4683=_0x33a7,_0x855e1d=_0xf078ec();while(!![]){try{const _0x5e4e40=parseInt(_0x4d4683(0x22e))/0x1*(parseInt(_0x4d4683(0x298))/0x2)+parseInt(_0x4d4683(0x301))/0x3*(parseInt(_0x4d4683(0x11c))/0x4)+-parseInt(_0x4d4683(0x26a))/0x5+-parseInt(_0x4d4683(0x208))/0x6*(parseInt(_0x4d4683(0x239))/0x7)+parseInt(_0x4d4683(0x124))/0x8+parseInt(_0x4d4683(0x2e3))/0x9+parseInt(_0x4d4683(0xf9))/0xa*(-parseInt(_0x4d4683(0x2fc))/0xb);if(_0x5e4e40===_0x30ac8c)break;else _0x855e1d['push'](_0x855e1d['shift']());}catch(_0x51fcd2){_0x855e1d['push'](_0x855e1d['shift']());}}}(_0x1b55,0x2a3f0));var Xe=Object[_0x4e74b9(0x123)],Ke=(_0x109730,_0x4348ce,_0x4f029a)=>_0x4348ce in _0x109730?Xe(_0x109730,_0x4348ce,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x4f029a}):_0x109730[_0x4348ce]=_0x4f029a,_=(_0x3ed584,_0x4d8075,_0x560779)=>Ke(_0x3ed584,typeof _0x4d8075!='symbol'?_0x4d8075+'':_0x4d8075,_0x560779);Object[_0x4e74b9(0x123)](exports,Symbol['toStringTag'],{'value':'Module'});const M=require('react/jsx-runtime'),u=require('@univerjs-pro/collaboration-client'),a=require('@univerjs/core'),O=require('@univerjs/ui'),I=require('rxjs'),p=require('@univerjs/design'),A=require('react'),qe=require('@univerjs/rpc'),v=require('@univerjs/sheets'),C=require('@univerjs/engine-render'),x=require('@univerjs/network'),T=require('@univerjs/docs-ui'),ze=require('@univerjs/drawing'),g=require('@univerjs-pro/collaboration'),V=require('@univerjs/docs'),B=require('@univerjs/engine-formula'),$=require('rxjs/operators'),J=require('@univerjs/sheets-ui');function pe({ref:_0x2c8b32,..._0x2ff2a4}){const _0x255d54=_0x4e74b9,{icon:_0x206913,id:_0x38f152,className:_0x5ef9a6,extend:_0x127c3f,..._0x289a99}=_0x2ff2a4,_0x15289d=('univerjs-icon\x20univerjs-icon-'+_0x38f152+'\x20'+(_0x5ef9a6||''))[_0x255d54(0x2b5)](),_0x305871=A[_0x255d54(0x161)]('_'+Qe());return $e(_0x206913,''+_0x38f152,{'defIds':_0x206913[_0x255d54(0xb6)],'idSuffix':_0x305871[_0x255d54(0x319)]},{'ref':_0x2c8b32,'className':_0x15289d,..._0x289a99},_0x127c3f);}function $e(_0x1ada16,_0x19db80,_0x2a23a4,_0x45c15a,_0x1aa49e){const _0x384904=_0x4e74b9;return A[_0x384904(0x119)](_0x1ada16[_0x384904(0x24d)],{'key':_0x19db80,...Je(_0x1ada16,_0x2a23a4,_0x1aa49e),..._0x45c15a},(Ze(_0x1ada16,_0x2a23a4)[_0x384904(0x21e)]||[])[_0x384904(0x1b0)]((_0x142095,_0x49b06e)=>$e(_0x142095,_0x19db80+'-'+_0x1ada16['tag']+'-'+_0x49b06e,_0x2a23a4,void 0x0,_0x1aa49e)));}function Je(_0xdca1a4,_0x2f42f9,_0x1578f4){const _0x8478f5=_0x4e74b9,_0x6f111d={..._0xdca1a4[_0x8478f5(0xdf)]};_0x1578f4!=null&&_0x1578f4[_0x8478f5(0x315)]&&_0x6f111d[_0x8478f5(0x29a)]===_0x8478f5(0x315)&&(_0x6f111d[_0x8478f5(0x29a)]=_0x1578f4[_0x8478f5(0x315)]),_0xdca1a4[_0x8478f5(0x24d)]===_0x8478f5(0x25b)&&_0x6f111d['id']&&(_0x6f111d['id']=_0x6f111d['id']+_0x2f42f9[_0x8478f5(0x16b)]),Object[_0x8478f5(0x253)](_0x6f111d)['forEach'](([_0x26c7ac,_0x44220e])=>{const _0x95adf=_0x8478f5;_0x26c7ac==='mask'&&typeof _0x44220e==_0x95adf(0x196)&&(_0x6f111d[_0x26c7ac]=_0x44220e[_0x95adf(0x270)](/url\(#(.*)\)/,_0x95adf(0x353)+_0x2f42f9['idSuffix']+')'));});const {defIds:_0x22a1bc}=_0x2f42f9;return!_0x22a1bc||_0x22a1bc['length']===0x0||(_0xdca1a4[_0x8478f5(0x24d)]===_0x8478f5(0x359)&&_0x6f111d['xlink:href']&&(_0x6f111d[_0x8478f5(0xb8)]=_0x6f111d[_0x8478f5(0xb8)]+_0x2f42f9[_0x8478f5(0x16b)]),Object[_0x8478f5(0x253)](_0x6f111d)[_0x8478f5(0xcd)](([_0x431d04,_0x58eece])=>{const _0xb9dbe5=_0x8478f5;typeof _0x58eece==_0xb9dbe5(0x196)&&(_0x6f111d[_0x431d04]=_0x58eece[_0xb9dbe5(0x270)](/url\(#(.*)\)/,_0xb9dbe5(0x353)+_0x2f42f9['idSuffix']+')'));})),_0x6f111d;}function Ze(_0x199d47,_0x496d90){const _0x103e4c=_0x4e74b9;var _0x4468ea;const {defIds:_0x422b02}=_0x496d90;return!_0x422b02||_0x422b02[_0x103e4c(0xd2)]===0x0?_0x199d47:_0x199d47[_0x103e4c(0x24d)]==='defs'&&((_0x4468ea=_0x199d47[_0x103e4c(0x21e)])!=null&&_0x4468ea[_0x103e4c(0xd2)])?{..._0x199d47,'children':_0x199d47[_0x103e4c(0x21e)][_0x103e4c(0x1b0)](_0x357d73=>typeof _0x357d73[_0x103e4c(0xdf)]['id']==_0x103e4c(0x196)&&_0x422b02&&_0x422b02[_0x103e4c(0x1eb)](_0x357d73[_0x103e4c(0xdf)]['id'])?{..._0x357d73,'attrs':{..._0x357d73[_0x103e4c(0xdf)],'id':_0x357d73[_0x103e4c(0xdf)]['id']+_0x496d90[_0x103e4c(0x16b)]}}:_0x357d73)}:_0x199d47;}function Qe(){const _0x4d6de5=_0x4e74b9;return Math[_0x4d6de5(0x2bb)]()[_0x4d6de5(0x2e2)](0x24)['substring'](0x2,0x8);}pe[_0x4e74b9(0x332)]=_0x4e74b9(0x264);const et={'tag':_0x4e74b9(0xab),'attrs':{'xmlns':_0x4e74b9(0x2b2),'fill':_0x4e74b9(0x29e),'viewBox':_0x4e74b9(0x1c2),'width':_0x4e74b9(0x125),'height':_0x4e74b9(0x125)},'children':[{'tag':'g','attrs':{'clipPath':'url(#off-line-icon_clip0_910_343)'},'children':[{'tag':'path','attrs':{'stroke':_0x4e74b9(0x2cd),'d':_0x4e74b9(0x2e9),'strokeLinecap':_0x4e74b9(0x354),'strokeLinejoin':_0x4e74b9(0x354),'strokeWidth':1.2}}]},{'tag':'defs','attrs':{},'children':[{'tag':'clipPath','attrs':{'id':_0x4e74b9(0x1cc)},'children':[{'tag':_0x4e74b9(0x1fd),'attrs':{'fill':_0x4e74b9(0x177),'d':_0x4e74b9(0x25c)}}]}]}],'defIds':['off-line-icon_clip0_910_343']},xe=A[_0x4e74b9(0x2b8)](function(_0x2e9ede,_0x13be5d){const _0x44792d=_0x4e74b9;return A[_0x44792d(0x119)](pe,Object[_0x44792d(0x182)]({},_0x2e9ede,{'id':_0x44792d(0x11e),'ref':_0x13be5d,'icon':et}));});xe[_0x4e74b9(0x332)]=_0x4e74b9(0x132);const tt={'tag':_0x4e74b9(0xab),'attrs':{'xmlns':_0x4e74b9(0x2b2),'fill':_0x4e74b9(0x29e),'viewBox':_0x4e74b9(0x254),'width':'1em','height':_0x4e74b9(0x125)},'children':[{'tag':'g','attrs':{'clipPath':_0x4e74b9(0x18f)},'children':[{'tag':_0x4e74b9(0x1fd),'attrs':{'stroke':_0x4e74b9(0x2cd),'d':_0x4e74b9(0xc0),'strokeLinecap':'round','strokeLinejoin':_0x4e74b9(0x354),'strokeWidth':1.2}}]},{'tag':_0x4e74b9(0x1cd),'attrs':{},'children':[{'tag':_0x4e74b9(0x34d),'attrs':{'id':_0x4e74b9(0xed)},'children':[{'tag':_0x4e74b9(0x1fd),'attrs':{'fill':_0x4e74b9(0x177),'d':_0x4e74b9(0x25c),'transform':_0x4e74b9(0x175)}}]}]}],'defIds':['on-line-icon_clip0_910_349']},Be=A[_0x4e74b9(0x2b8)](function(_0x189004,_0x1705b1){const _0x3e8771=_0x4e74b9;return A[_0x3e8771(0x119)](pe,Object['assign']({},_0x189004,{'id':_0x3e8771(0x25f),'ref':_0x1705b1,'icon':tt}));});Be[_0x4e74b9(0x332)]='OnLineIcon';function st(_0x120d44){const _0x5c5059=_0x4e74b9;switch(_0x120d44){case u['CollaborationStatus'][_0x5c5059(0x26f)]:return'collabStatus.offline';case u[_0x5c5059(0x1d5)]['CONFLICT']:return'collabStatus.conflict';case u[_0x5c5059(0x1d5)]['FETCH_MISS']:return'collabStatus.fetchMiss';case u[_0x5c5059(0x1d5)][_0x5c5059(0x1bd)]:return _0x5c5059(0xc2);case u[_0x5c5059(0x1d5)][_0x5c5059(0x1b7)]:case u[_0x5c5059(0x1d5)]['AWAITING_WITH_PENDING']:return _0x5c5059(0x284);case u[_0x5c5059(0x1d5)]['SYNCED']:case u['CollaborationStatus']['PENDING']:return _0x5c5059(0x2c0);}}function it(_0x5b823a){const _0x4b37a1=_0x4e74b9,{status$:_0x153b98}=_0x5b823a,_0x14789d=O[_0x4b37a1(0x180)](_0x153b98,u[_0x4b37a1(0x1d5)][_0x4b37a1(0x1bd)]),_0x501794=O[_0x4b37a1(0x25d)](a[_0x4b37a1(0x2d1)]),_0x18eda5=O[_0x4b37a1(0x25d)](u['CollaborationSessionService']),_0x47b050=_0x14789d!==u[_0x4b37a1(0x1d5)]['OFFLINE'],_0x515d3b=_0x501794['t'](st(_0x14789d)),_0x1c29ea=_0x47b050?M['jsx'](Be,{}):M[_0x4b37a1(0x16e)](xe,{}),_0x3ebf5b=A[_0x4b37a1(0x232)](()=>{const _0x4f152d=_0x4b37a1;_0x47b050||_0x18eda5[_0x4f152d(0xbc)]();},[_0x47b050,_0x18eda5]);function _0x16a110(){const _0x2cd6ff=_0x4b37a1;return M['jsxs'](_0x2cd6ff(0x29b),{'className':_0x2cd6ff(0x304),'onClick':_0x3ebf5b,'children':[M[_0x2cd6ff(0x16e)](_0x2cd6ff(0x29b),{'className':p['clsx'](_0x2cd6ff(0x271),{'univer-text-green-500':_0x47b050,'univer-text-red-500':!_0x47b050}),'children':_0x1c29ea}),M[_0x2cd6ff(0x16e)]('div',{'className':_0x2cd6ff(0x257),'children':_0x515d3b})]});}return _0x47b050?_0x16a110():M['jsx'](p['Tooltip'],{'title':_0x501794['t'](_0x4b37a1(0x266)),'children':_0x16a110()});}var nt=Object['getOwnPropertyDescriptor'],rt=(_0x46cadb,_0x3e0473,_0x28ada5,_0xe8e9b0)=>{const _0x33d1ca=_0x4e74b9;for(var _0x34ce86=_0xe8e9b0>0x1?void 0x0:_0xe8e9b0?nt(_0x3e0473,_0x28ada5):_0x3e0473,_0x51444b=_0x46cadb[_0x33d1ca(0xd2)]-0x1,_0x3b1828;_0x51444b>=0x0;_0x51444b--)(_0x3b1828=_0x46cadb[_0x51444b])&&(_0x34ce86=_0x3b1828(_0x34ce86)||_0x34ce86);return _0x34ce86;},K=(_0x207ad7,_0x58543f)=>(_0x3fbd8e,_0x46bb59)=>_0x58543f(_0x3fbd8e,_0x46bb59,_0x207ad7);exports[_0x4e74b9(0x2ce)]=class extends a['Disposable']{constructor(_0x39b6df,_0x246070,_0xbd2e97,_0x3d6608){const _0xbafec4=_0x4e74b9;super(),_(this,_0xbafec4(0x12e),new I[(_0xbafec4(0x34b))](u[_0xbafec4(0x1d5)][_0xbafec4(0x1bd)])),(this[_0xbafec4(0x1c9)]=_0x39b6df,this[_0xbafec4(0xfb)]=_0x246070,this[_0xbafec4(0x1d9)]=_0xbd2e97,this['_uiPartsService']=_0x3d6608,this[_0xbafec4(0x1cf)](),this['_initStatusListener']());}[_0x4e74b9(0x155)](){const _0x27d03f=_0x4e74b9;this[_0x27d03f(0x31b)](this['_univerInstanceService'][_0x27d03f(0x221)][_0x27d03f(0x22f)](I[_0x27d03f(0x35b)](()=>{const _0x380621=_0x27d03f,_0x23ecd5=this[_0x380621(0x1c9)][_0x380621(0x171)]();return _0x23ecd5?this[_0x380621(0x1d9)][_0x380621(0xe7)](_0x23ecd5['getUnitId']()):I['of'](null);}),I[_0x27d03f(0x35b)](_0x145f35=>_0x145f35?_0x145f35[_0x27d03f(0xe8)]:I['of'](u[_0x27d03f(0x1d5)][_0x27d03f(0x1bd)])))[_0x27d03f(0xd0)](_0x394d5d=>{const _0x17f99e=_0x27d03f;this[_0x17f99e(0x12e)][_0x17f99e(0x2fa)](_0x394d5d);}));}[_0x4e74b9(0x1cf)](){const _0x130a12=_0x4e74b9;this[_0x130a12(0x31b)](this[_0x130a12(0xd7)][_0x130a12(0x1fa)](O['BuiltInUIPart'][_0x130a12(0x29c)],()=>O[_0x130a12(0xd1)](ot({'status$':this[_0x130a12(0x12e)][_0x130a12(0x1d3)]()}),this[_0x130a12(0xfb)])));}},exports[_0x4e74b9(0x2ce)]=rt([K(0x0,a['IUniverInstanceService']),K(0x1,a[_0x4e74b9(0x2a2)](a[_0x4e74b9(0x26e)])),K(0x2,a[_0x4e74b9(0x2a2)](u[_0x4e74b9(0x356)])),K(0x3,O[_0x4e74b9(0x2bc)])],exports['DesktopCollaborationStatusDisplayController']);function ot(_0x516b0e){const {status$:_0x4c1fdf}=_0x516b0e;return function(){const _0x4cca35=_0x33a7;return M[_0x4cca35(0x16e)](it,{'status$':_0x4c1fdf});};}const Oe=a[_0x4e74b9(0x2a9)](_0x4e74b9(0x120));var at=Object[_0x4e74b9(0x13e)],ct=(_0x3299d3,_0x4fab97,_0x4825ea,_0x3cee86)=>{const _0x164b5b=_0x4e74b9;for(var _0x5fd275=_0x3cee86>0x1?void 0x0:_0x3cee86?at(_0x4fab97,_0x4825ea):_0x4fab97,_0x397841=_0x3299d3[_0x164b5b(0xd2)]-0x1,_0x1eb701;_0x397841>=0x0;_0x397841--)(_0x1eb701=_0x3299d3[_0x397841])&&(_0x5fd275=_0x1eb701(_0x5fd275)||_0x5fd275);return _0x5fd275;},Y=(_0x5dee72,_0x8f9411)=>(_0x4f1658,_0x1dc679)=>_0x8f9411(_0x4f1658,_0x1dc679,_0x5dee72);exports[_0x4e74b9(0x1a5)]=class extends a[_0x4e74b9(0x15a)]{constructor(_0x25b5a2,_0x57c055,_0x4a654e,_0x59d3ae,_0x51762b){const _0x35799f=_0x4e74b9;super(),this[_0x35799f(0x1e7)]=_0x25b5a2,this['_logService']=_0x57c055,this[_0x35799f(0x2f2)]=_0x4a654e,this[_0x35799f(0x220)]=_0x59d3ae,_0x51762b?_0x51762b==null||_0x51762b[_0x35799f(0x2db)]()[_0x35799f(0xae)](()=>this[_0x35799f(0x360)]()):(this['_logService'][_0x35799f(0x1f3)](_0x35799f(0x1f6),_0x35799f(0x1e9)),this['_init']());}async['_init'](){const _0x2797e8=_0x4e74b9,_0x231693=this[_0x2797e8(0x1e7)][_0x2797e8(0x2e8)]('unit'),_0x1f408d=this[_0x2797e8(0x1e7)]['getParam']('type'),_0x427d39=this['_urlService'][_0x2797e8(0x2e8)](_0x2797e8(0xc9));if(!_0x231693||!_0x1f408d){this[_0x2797e8(0x2de)][_0x2797e8(0x1f3)](_0x2797e8(0x1f6),'No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.');return;}const _0x4a728a=await this[_0x2797e8(0x220)][_0x2797e8(0x223)](_0x231693,Number(_0x1f408d),_0x427d39);_0x4a728a&&_0x4a728a instanceof a[_0x2797e8(0x36a)]&&this[_0x2797e8(0x1c3)](_0x4a728a);}async[_0x4e74b9(0x1c3)](_0x171d0a){const _0x43408c=_0x4e74b9;await this[_0x43408c(0xbe)](_0x171d0a),_0x171d0a[_0x43408c(0xbf)][_0x43408c(0x22f)](I[_0x43408c(0x138)](this[_0x43408c(0xe2)]))[_0x43408c(0xd0)](_0x66f4b6=>{const _0x5459bf=_0x43408c;_0x66f4b6&&this[_0x5459bf(0x296)](_0x66f4b6);}),this[_0x43408c(0x1e7)][_0x43408c(0x24a)][_0x43408c(0x22f)](I[_0x43408c(0x138)](this[_0x43408c(0xe2)]))[_0x43408c(0xd0)](()=>this[_0x43408c(0xbe)](_0x171d0a));}[_0x4e74b9(0x296)](_0x5dbd1a,_0x562f10=!0x1){const _0x5f3589=_0x4e74b9,_0x2d520c=this['_urlService'][_0x5f3589(0x2e8)]('subunit');_0x5dbd1a[_0x5f3589(0x164)]()!==_0x2d520c&&this[_0x5f3589(0x1e7)][_0x5f3589(0x328)]('subunit',_0x5dbd1a[_0x5f3589(0x164)](),_0x562f10);}async[_0x4e74b9(0xbe)](_0x42ad1d){const _0x5a7982=_0x4e74b9;var _0xa34d40;const _0x50e9aa=this[_0x5a7982(0x1e7)]['getParam']('subunit');if(!_0x50e9aa||!_0x42ad1d[_0x5a7982(0x302)](_0x50e9aa)){const _0x1d4047=_0x42ad1d[_0x5a7982(0x168)]()[0x0],_0x8ef972=_0x42ad1d[_0x5a7982(0x302)](_0x1d4047);if(!_0x8ef972)return;this['_updateURLWithCurrentState'](_0x8ef972,!0x0),await this['_commandService'][_0x5a7982(0x16d)](v['SetWorksheetActivateCommand']['id'],{'unitId':_0x42ad1d['getUnitId'](),'subUnitId':_0x1d4047});return;}((_0xa34d40=_0x42ad1d[_0x5a7982(0xd8)]())==null?void 0x0:_0xa34d40['getSheetId']())!==_0x50e9aa&&await this[_0x5a7982(0x2f2)][_0x5a7982(0x16d)](v[_0x5a7982(0x1b9)]['id'],{'unitId':_0x42ad1d[_0x5a7982(0x33b)](),'subUnitId':_0x50e9aa});}},exports[_0x4e74b9(0x1a5)]=ct([Y(0x0,Oe),Y(0x1,a['ILogService']),Y(0x2,a[_0x4e74b9(0x276)]),Y(0x3,a[_0x4e74b9(0x2a2)](u['DataLoaderService'])),Y(0x4,a[_0x4e74b9(0x213)](qe[_0x4e74b9(0x236)]))],exports[_0x4e74b9(0x1a5)]);function _0x1b55(){const _0x297e2d=['UniverCollaborationClientUIPlugin','USER_IS_ANONYMOUS','enableLocalCache','YUUMI_RATE_OVER_LIMIT','DocCollaborationEntity','startColumn','setItem','setActiveRange','_cursor','url(#on-line-icon_clip0_910_349)','location','body','merge','clearInterval','code','_selfUnitIDs','string','_range','_render','search','PAYMENT_CHANNEL_NOT_SUPPORT','_configService','_initResize','unit','addObject','beginPath','getCurrentRevOfUnit','stageInfo','_cachedData','setInterval','_updateCollabCursors','CollaborationDataLoaderController','APPLY_NON_SEQUENTIAL_REVISION','_send','_unitStatus','ranges','data','disposeUnit','black','_scheduleClearOtherTimer','href','selections','map','saveTaskMap','MUTATION','TRANSFORM_CHANGE_OBSERVABLE_TYPE','MemberService','_handleJoinEvent','TEXT','AWAITING','moveTo','SetWorksheetActivateCommand','getCurrentSelections','endRow','has','NOT_COLLAB','_collabCursorState$','DocSelectionManagerService','_initDependencies','TEXT_RANGE_LAYER_INDEX','0\x200\x2016\x2016','_setupSubUnitSync','_monkeyPatchLogService','rgba(255,\x20255,\x20255,\x200.01)','SNAPSHOT_HAS_BEEN_REMOVED','text','some','_univerInstanceService','getColorFromTheme','result','off-line-icon_clip0_910_343','defs','_localeService','_initStatusComponent','APPLY_DUPLICATED','_registerDependencies','_saveTaskMap','asObservable','MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','CollaborationStatus','error','find','_startDocCollabCursor','_collaborationController','ONLINE','transformStateCache','UNRECOGNIZED','CONFLICT','getCurrent','REDEMPTION_USER_NOT_ELIGIBLE','YUUMI_CONNECTOR_URL_NOT_FOUND','CollaborationEvent','LICENSE_DISTRO_REJECTED','yellow.400','Disposable','show','arc','_urlService','debounce','No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.','_disabled','includes','_lastResponseTimestamp','collab-rect-range-','InsertColCommandId','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','_online','_lastPointer','_scene','debug','toDisposable','_transformUndoRedoStack','[CollaborationDataLoaderController]','SHEET_VIEWPORT_KEY','InsertRangeMoveDownCommandId','_cursorShapes','registerComponent','_uploadLog','getConfig','path','ENTITLE_COUPON_USED_UP','REDEMPTION_CODE_INACTIVE','totalFormulasToCalculate','UNDEFINED','stringify','fillRule','green.600','_eventUnsubscribe','getRenderById','_initCommandInterceptor','30Ymzjwe','IMessageService','onTransformChange$','RegularPolygon','[LogService\x20Error]:\x20','handleInsertRangeMoveRight','syncEditingCollabCursor','MoveRangeCommandId','getCellMatrix','limitInfo','EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','Optional','_startCalculationLimit','_initEntityListener','getTypeOfUnitAdded$','getCollabCursors$','/universer-api/license/formula/limit/status','closePath','row','TOO_MANY_REQUESTS','_clearOtherTimers','enableFrontendLog','children','Subject','_dataLoaderService','focused$','_cursorInfo$','loadUnit','Unknown\x20user','fromEvent','_initWindowErrorListener','_getScale','textRanges','makeDirty','removeEventListener','IBeforeCloseService','_docStateChangeManagerService','pluginName','1SUPJRu','pipe','formula.calculation.waiting','selection','useCallback','WebBrowserSingleActiveUnitService','WebSocketService','_anchor','IRemoteInstanceService','dispose','getMemberID','308497rvyiQs','isTransformMutationFailure','LOGIN_TOKEN_PROCESSING_FAILED','width','LOCAL_CACHE_INTERVAL','NodePositionConvertToCursor','dirtyRanges','Failed','_localCacheService','_docClipboardService','_beforeCloseService','_setFormulaLimitStatus','unhandledrejection','collab-text-anchor-','ColorKit','_onCursorUpdate','isFormulaId','urlChange$','drawWith','getValue','tag','Loading','onMouseMove','_config','lineno','_setupBeforeClosingHandler','entries','0\x200\x2017\x2016','deserializeRangeWithSheet','ENTITLE_UPDOWN_GRADE_NOT_SUPPORT','univer-text-sm\x20univer-leading-8\x20univer-text-gray-600\x20dark:!univer-text-gray-200','handleDeleteRangeMoveUp','_hovered','createSocket','mask','M0\x200H16V16H0z','useDependency','collabCursorState$','on-line-icon','sessionStatus$','COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY','_ensureSubject','ENSURE_SNAPSHOT_EXECUTION','UniverIcon','_transformHistoryAndStateStack','collab-client.tooltip.reconnect','getColor','isEditing','_shapes','1065785vlkHLt','height','getSkeleton','_getFormulaLimitStatus','Injector','OFFLINE','replace','univer-mr-2\x20univer-flex\x20univer-text-xl','SetFormulaCalculationNotificationMutation','NOT_FOUND','INTERNAL_ERROR','_initUnhandledRejectionListener','ICommandService','blue.400','wsSessionTicketUrl','_roomMembers$','_scheduleHeartbeat','_revisionService','red.300','transformIMECache','stack','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','top','deepClone','collaboration.single-unit.warning','VIEW_MAIN','collabStatus.syncing','INVITE_CODE_REQUIRED','ENTITLE_DUP_SUBSCRIPTION','addEventListener','FormulaExecuteStageType','_themeService','source','handleInsertRangeMoveDown','USERS_LEAVE','LOCAL_CACHE_INTERVAL_KEY','RefRangeService','resize','DocIMEInputManagerService','RemoteUniscriptService','CommandType','generateRandomId','isTransformMutationsWithChangesetSuccess','handleInsertRow','_updateURLWithCurrentState','YUUMI_ALL_TABLES_IS_INVALID','571490JWdllr','startFormulaLimitUrl','fill','div','HEADER_MENU','newValue','none','_releaseCalculationLimit','onPointerLeave$','_localStorageService','Inject','_registerRenderDependencies','CURRENT_STATUS_CANNOT_OPERATE','NodePositionConvertToRectRange','YUUMI_ASYNCIO_CANCELLED','EMAIL_VERIFY_CODE_MISMATCH','sheetID','createIdentifier','unshift','getStateCache','_applyCommand','_docSyncEditingCollabCursorService','_pollingInterval','bottom','send','getformulaLimitStatusUrl','http://www.w3.org/2000/svg','onStarting','START_CALCULATION','trim','FormulaExecutedStateType','_scheduleSaving','forwardRef','handleIRemoveCol','UnitStatus','random','IUIPartsService','_getAnchorBounding','requireSession','WECHAT_HAS_BEEN_BOUND','collabStatus.synced','_toggleOffline','max','INVALID_ARGUMENT','PY_RUNTIME_SCRIPT_ERROR','_hover','_entityInit$','_docTransformStateCacheService','getLocalCacheKey','formula.calculation.started','CanceledError','isActive','history','currentColor','DesktopCollaborationStatusDisplayController','DeleteRangeMoveUpCommandId','mutations','LocaleService','color','/run/','_instanceService','INVALID_INVITE_CODE','ILocalStorageService','_context','getItem','formula.calculation.unable','FromArray','whenReady','EffectRefRangId','updateOfflineData','_logService','setConfig','ISocketService','MOBILE_HAS_BEEN_BOUND','toString','2924523tiznVz','_handleHeartbeatEvent','touchDependencies','m2Prime','RemoveColCommandId','getParam','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','_id','docStateChange$','DEFAULT_WS_SESSION_TICKET_URL','REDEMPTION_CODE_HAS_BEEN_CREATED','permission.content','with','cursorInfo','storage','_commandService','serializeRangeWithSheet','purple.300','imageSourceType','YUUMI_SUBSCRIPTION_NOT_FOUND','from','save','lineTo','next','_hasFormulaInDirtyRanges','1382260IIfXkd','getUndoRedoMutationParamsCache','Plugin','message','socket$','423AjQAtX','getSheetBySheetId','CHANGESET_REVISION_CONFILICT','univer-flex\x20univer-items-center','_memberService','registerRenderModule','_drawTextRange','init','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY','_handleLeaveEvent','post','fillText','_color','UNAUTHENTICATED','COLORS','fillStyle','_hideTimer','_colorIndex','subscribeEvent','onPointerMove$','colorChannel1','addObjects','_name','ENTITLE_COUPON_EXPIRED','current','cursorInfo$','disposeWithMe','transformSelections','complete','IUniverInstanceService','measureText','IRenderManagerService','getMember','mergeOverrideWithDependencies','addHandlerCallback','MessageType','_getMergeRange','assignAColorForMemberID','ACTIVE_UNIT_EVENT_CHANNEL','setParam','RECT','EMAIL_HAS_BEEN_BOUND','_getSaveTimeout','ALREADY_EXISTS','delete','_assignedColors','getDocRanges','YUUMI_URL_COL_OUT_OF_RANGE','_currentUsage','displayName','UniverInstanceType','ThemeService','join','SNAPSHOT_INVALID_SNAPSHOT','size','_refRangeService','_syncEditingCollabCursorService','exhaustSavingTask','getUnitId','colno','_showGuardMessage','get','range','SetFormulaCalculationStartMutation','setStateCache','combineLatest','values','contains','restore','ENTITLE_CHAT_LIMIT_EXCEED','bind','getRelativeToViewportCoord','_draw','DATA_SOURCE_TOO_LARGE','BehaviorSubject','toRgbString','clipPath','_createSocketURL','collaboration.closeRoom','CollaborationUIEventId','getSheetObject','Warning','url(#$1','round','transformByState','CollaborationController','REDEMPTION_CODE_NOT_STARTED','shift','use','transformRemoteChangeset','switchMap','clearTimeout','COMPLETION_FINISHED','_refreshCollabCursors','_heartbeatTimer','_init','_doCreateSocket','throttleTime','_initCommandExecutedListener','CollaborationUIEventService','set','MOBILE_VERIFY_CODE_MISMATCH','REDEMPTION_CODE_FULLY_REDEEMED','isArray','roomMembers','Workbook','_handleHover','endColumn','CollaborationSocketService','push','hovered','IURLService','Error','_removeClearOtherTimer','_handleEvent','createInstance','setTimeout','SessionStatus','LICENSE_MAX_UNITS_EXCEEDED','replaceState','ENTITLE_NEED_BILLING_ADDRESS','svg','editingUnit','sessionTicket','then','_backgroundColor','saveImage','NO_OTHER_CLIENTS_EDITING','DOC_RANGE_TYPE','_drawAnchor','parse','_getSheetObject','defIds','APPLY_REVISION_CONFILICT','xlink:href','getCellPositionByOffset','getAncestorScale','_initEvent','reconnect','_maxFormulaLimit','_updateSubUnitFromURLParams','activeSheet$','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','UPDATE_CURSOR','collabStatus.notCollab','SetTextSelectionsOperation','catch','name','CollaborationSessionService','addClipboardHook','USER_NOT_FOUND','subunit','BrowserCollaborationSocketService','_unitOnClients','hide','forEach','releaseFormulaLimitUrl','_anchorDot','subscribe','connectInjector','length','INVITE_CODE_ALREADY_BOUND','searchParams','type','setUndoRedoMutationParamsCache','_uiPartsService','getActiveSheet','DocSkeletonManagerService','getTypeOfUnitDisposed$','_messageService','sheetId','ENTITLE_INVALID_COUPON_CODE','PERMISSION_DENIED','attrs','DependentOn','getCoordByCell','dispose$','SUCCESS','saveOfflineData','_renderManagerService','getUnitStatus$','getCollabEntity$','status$','_colorAssignService','unsubscribe','getCurrentUnitForType','IImageIoService','on-line-icon_clip0_910_349','HTTPService','event$','...','REDEMPTION_INVALID_CODE','ILogService','YUUMI_TABLE_NOT_FOUND_IN_UNIT','add','AUTHORIZE_CODE_ILLEGAL','jiqing.500','maxFormulaLimit','_collabCursorController','20SKLCfY','now','_injector','_document','handleIRemoveRow','startsWith','eventID','Shape','params','onPointerEnter$','APPLY_REJECT','Vector2','ENTITLE_REPORT_LIMIT_EXCEED','fromEventSubject','USER_NOT_INVITED_CODE','OTHER_CLIENT_EDITING','subUnitId','findNodePositionByCharIndex','registerBeforeClose','WebURLService','LICENSE_EXPORT_SIZE_EXCEEDED','_session','_onRefRangeChange','getMergeData','parseInt','session.collaboration-timeout','_docSkeletonManagerService','setAlpha','session.connection-failed','_memberID','RemoveRowCommandId','UNIVER_DOC','createElement','/universer-api/license/formula/limit/done','runId','5660jnUAoB','LICENSE_IMPORT_SIZE_EXCEEDED','off-line-icon','mapTo','uni.network.url-service','invokeId','memberID','defineProperty','381320gkuvXu','1em','unitId','_httpService','evenodd','split','_checkCalculationAvailable','roomMembers$','CONNECTOR_DATA_TOO_LARGE','IConfigService','_status$','getRangePointData','_textBubble','filter','OffLineIcon','_updateLocalCursor','m1Prime','_checkAndWaitForCalculationPermission','min','INVITE_CODE_HAS_BEEN_UES','takeUntil','getViewport','ERROR_AGAIN','SOCKET_FAILED_RETRY','YUUMI_UNABLE_LOAD_URL','handleDeleteRangeMoveLeft','getOwnPropertyDescriptor','_toggleOnline','runOnServer','_labelPosition','YUUMI_AI_RUN_FAILED','all','Tools','DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','_transformPreviousActiveRange','_entities','_cursors','_collaborationUIEventService','handleInsertCol','UNIVER_SHEET','redoState','collaboration.offline-data-not-saved','ITransformService','YUUMI_NO_CUBOID_FOR_QUESTION','doc.mutation.rich-text-editing','_docTransformSelectionsService','labelPosition','ENTITLE_USE_COUPON_NOT_1ST_TRADE','setShapeProps','_initStatusListener','Rect','InsertRangeMoveRightCommandId','onCommandExecuted','_removeCollabCursors','RxDisposable','currentTheme$','_onCursorDelete','transformMutation','_collabSessionService','_taskIds','_notificationService','useRef','OTHER_CLIENTS_EDITING','key','getSheetId','DeleteRangeMoveLeftCommandId','session.will-retry','engine','getUnhiddenWorksheets','_transformService','currentUsage','idSuffix','_docTransformIMECacheService','executeCommand','jsx','bold\x2013px\x20Source\x20Han\x20Sans\x20CN','_initUserListener','getFocusedUnit','reason','unitID','startRow','translate(.97)','registerRefRange','white','pushState','IDocClipboardService','registerDependencies','LOGIN_FAILED','RevisionService','JOIN_ROOM_FAILED','currentSkeleton$','transformMutationsWithChangeset','useObservable','INotificationService','assign','_sheetSkeletonManagerService','REDEMPTION_USER_REDEEM_TIMES_EXCEED','/universer-api/frontend/logs'];_0x1b55=function(){return _0x297e2d;};return _0x1b55();}var lt=Object['getOwnPropertyDescriptor'],_t=(_0x501836,_0x54a70f,_0x49479b,_0x161e1b)=>{const _0x519396=_0x4e74b9;for(var _0x5f16fa=_0x161e1b>0x1?void 0x0:_0x161e1b?lt(_0x54a70f,_0x49479b):_0x54a70f,_0xa75432=_0x501836[_0x519396(0xd2)]-0x1,_0x5a039b;_0xa75432>=0x0;_0xa75432--)(_0x5a039b=_0x501836[_0xa75432])&&(_0x5f16fa=_0x5a039b(_0x5f16fa)||_0x5f16fa);return _0x5f16fa;},De=(_0x489a8d,_0x422b5f)=>(_0x2bdfa3,_0x1b273f)=>_0x422b5f(_0x2bdfa3,_0x1b273f,_0x489a8d);let me=class extends a[_0x4e74b9(0x15a)]{constructor(_0x34794a,_0x2ab13f){const _0xccd7c=_0x4e74b9;super(),this[_0xccd7c(0x242)]=_0x34794a,this['_imageIoService']=_0x2ab13f,this[_0xccd7c(0x360)]();}[_0x4e74b9(0x360)](){const _0x2b19b1=_0x4e74b9,_0x74a87e=this;this['disposeWithMe'](this[_0x2b19b1(0x242)][_0x2b19b1(0xc7)]({'onBeforePasteImage':async _0x308ca3=>{const _0x1c1d6b=_0x2b19b1,_0x235c4b=await _0x74a87e['_imageIoService'][_0x1c1d6b(0xb0)](_0x308ca3);return _0x235c4b?{'source':_0x235c4b[_0x1c1d6b(0x28a)],'imageSourceType':_0x235c4b[_0x1c1d6b(0x2f5)]}:null;}}));}};me=_t([De(0x0,T[_0x4e74b9(0x179)]),De(0x1,ze[_0x4e74b9(0xec)])],me);const Ne=[_0x4e74b9(0x2f4),_0x4e74b9(0xf6),_0x4e74b9(0x204),_0x4e74b9(0x27c),_0x4e74b9(0x277),_0x4e74b9(0x1e3)];class Re extends a['Disposable']{constructor(){const _0x2b16fc=_0x4e74b9;super(...arguments),_(this,_0x2b16fc(0x32e),new Map()),_(this,_0x2b16fc(0x312),0x0);}[_0x4e74b9(0x326)](_0x1772f1){const _0x4713d0=_0x4e74b9;if(this[_0x4713d0(0x32e)][_0x4713d0(0x1bc)](_0x1772f1))return this['_assignedColors'][_0x4713d0(0x33e)](_0x1772f1);const _0x2ba6b0=Ne[this[_0x4713d0(0x312)]];return this[_0x4713d0(0x312)]=(this[_0x4713d0(0x312)]+0x1)%Ne[_0x4713d0(0xd2)],this[_0x4713d0(0x32e)][_0x4713d0(0x365)](_0x1772f1,_0x2ba6b0),_0x2ba6b0;}}function Fe(_0x560550){let _0xe4a2dc='';for(const _0x169117 of _0x560550){const {startOffset:_0x22522f,endOffset:_0x2520a5,isActive:_0x2e35b4,rangeType:_0x2db92d,segmentId:_0xb1c9cc,segmentPage:_0x6635f7}=_0x169117;_0xe4a2dc['length']&&(_0xe4a2dc+=','),_0xe4a2dc+=_0x22522f+':'+_0x2520a5+':'+(_0x2e35b4?'1':'0')+':'+_0x2db92d+':'+_0xb1c9cc+':'+_0x6635f7;}return _0xe4a2dc;}function ht(_0xcea5fc){const _0x959cb7=_0x4e74b9,_0xa639b=_0xcea5fc['split'](','),_0x2c8c4e=[];for(const _0x4a3d5d of _0xa639b){const [_0x16f4e8,_0xc9923e,_0x1fed0d,_0x3e47f3,_0x17154d,_0x11ba47]=_0x4a3d5d[_0x959cb7(0x129)](':');_0x2c8c4e['push']({'startOffset':Number(_0x16f4e8),'endOffset':Number(_0xc9923e),'collapsed':_0x16f4e8===_0xc9923e,'isActive':_0x1fed0d==='1','rangeType':_0x3e47f3===a[_0x959cb7(0xb2)]['TEXT']?a[_0x959cb7(0xb2)][_0x959cb7(0x1b6)]:a[_0x959cb7(0xb2)][_0x959cb7(0x329)],'segmentId':typeof _0x17154d==_0x959cb7(0x196)?String(_0x17154d):'','segmentPage':Number(_0x11ba47!=null?_0x11ba47:-0x1)});}return _0x2c8c4e[_0x959cb7(0x1c8)](_0x55f71e=>_0x55f71e[_0x959cb7(0x2cb)])||(_0x2c8c4e[0x0][_0x959cb7(0x2cb)]=!0x0),_0x2c8c4e;}class be extends a[_0x4e74b9(0x15a)]{constructor(){const _0x1ad143=_0x4e74b9;super(...arguments),_(this,_0x1ad143(0x1be),new I[(_0x1ad143(0x34b))](null)),_(this,_0x1ad143(0x25e),this[_0x1ad143(0x1be)][_0x1ad143(0x1d3)]());}[_0x4e74b9(0x20e)](_0x489288){const _0x2b5520=_0x4e74b9,{unitID:_0x217af8,memberID:_0x4f69d0,textRanges:_0x375476}=_0x489288,_0x1aa182=Fe(_0x375476);if(_0x1aa182==='')return;const _0xfc975f={'unitID':_0x217af8,'memberID':_0x4f69d0,'selection':_0x1aa182};this[_0x2b5520(0x1be)][_0x2b5520(0x2fa)](_0xfc975f);}}var ut=Object[_0x4e74b9(0x13e)],It=(_0x3ce33c,_0x4ee4c9,_0x5e9efd,_0x8ba037)=>{const _0x38d840=_0x4e74b9;for(var _0x454cce=_0x8ba037>0x1?void 0x0:_0x8ba037?ut(_0x4ee4c9,_0x5e9efd):_0x4ee4c9,_0x329e74=_0x3ce33c[_0x38d840(0xd2)]-0x1,_0x3459c5;_0x329e74>=0x0;_0x329e74--)(_0x3459c5=_0x3ce33c[_0x329e74])&&(_0x454cce=_0x3459c5(_0x454cce)||_0x454cce);return _0x454cce;},U=(_0xcd1aec,_0x189f2f)=>(_0xe5614c,_0xdeb4ca)=>_0x189f2f(_0xe5614c,_0xdeb4ca,_0xcd1aec);const St=0x12c,dt=0x64;let ve=class extends a[_0x4e74b9(0x15a)]{constructor(_0x552539,_0x8d58fc,_0x5b933d,_0x323fa9,_0x112930,_0x4d1f92,_0x514710,_0x359165,_0x7f1249){const _0x55fd5d=_0x4e74b9;super(),_(this,'_online',!0x1),_(this,_0x55fd5d(0x360),!0x1),_(this,_0x55fd5d(0x222),new I[(_0x55fd5d(0x34b))](new Map())),_(this,'cursorInfo$',this[_0x55fd5d(0x222)][_0x55fd5d(0x1d3)]()),_(this,'_roomMembers$',new I[(_0x55fd5d(0x34b))]([])),_(this,_0x55fd5d(0x12b),this[_0x55fd5d(0x279)][_0x55fd5d(0x22f)](I['debounceTime'](St))),_(this,_0x55fd5d(0x133),a['debounce'](_0x2c1540=>{const _0x57d238=_0x55fd5d,_0x25922b={'eventID':g[_0x57d238(0x1e1)][_0x57d238(0xc1)],'data':{'unitID':this[_0x57d238(0x173)],'memberID':this['_session'][_0x57d238(0x238)](),'selection':Fe(_0x2c1540)}};this[_0x57d238(0x10e)][_0x57d238(0x2b0)](_0x25922b,this[_0x57d238(0x173)]);},dt)),(this[_0x55fd5d(0x173)]=_0x552539,this['_session']=_0x8d58fc,this[_0x55fd5d(0xfb)]=_0x5b933d,this[_0x55fd5d(0xe9)]=_0x323fa9,this[_0x55fd5d(0x305)]=_0x112930,this[_0x55fd5d(0x339)]=_0x4d1f92,this[_0x55fd5d(0x169)]=_0x514710,this[_0x55fd5d(0x1c9)]=_0x359165,this[_0x55fd5d(0x2f2)]=_0x7f1249);}get[_0x4e74b9(0x2f0)](){const _0x1a08d0=_0x4e74b9;return this[_0x1a08d0(0x222)][_0x1a08d0(0x24c)]();}get[_0x4e74b9(0x369)](){const _0x2d4167=_0x4e74b9;return this[_0x2d4167(0x279)][_0x2d4167(0x24c)]();}[_0x4e74b9(0x237)](){const _0x4ff5a4=_0x4e74b9;super[_0x4ff5a4(0x237)](),this[_0x4ff5a4(0x222)][_0x4ff5a4(0x2fa)](new Map()),this[_0x4ff5a4(0x222)]['complete'](),this[_0x4ff5a4(0x279)][_0x4ff5a4(0x2fa)]([]),this['_roomMembers$'][_0x4ff5a4(0x31d)]();}['init'](){const _0x4b16a4=_0x4e74b9;this['_init']||(this[_0x4b16a4(0x360)]=!0x0,this[_0x4b16a4(0x10e)][_0x4b16a4(0x260)][_0x4b16a4(0x22f)](I[_0x4b16a4(0x138)](this[_0x4b16a4(0xe2)]))[_0x4b16a4(0xd0)](_0x3b8d18=>{const _0x1312bc=_0x4b16a4;_0x3b8d18===u[_0x1312bc(0xa7)][_0x1312bc(0x1da)]?this['_toggleOnline']():this[_0x1312bc(0x2c1)]();}),this[_0x4b16a4(0x10e)][_0x4b16a4(0xef)][_0x4b16a4(0x22f)](I[_0x4b16a4(0x138)](this[_0x4b16a4(0xe2)]))[_0x4b16a4(0xd0)](_0x3b3692=>{const _0x1f0a19=_0x4b16a4,_0x515c7b=_0x3b3692[_0x1f0a19(0xff)];_0x515c7b===g[_0x1f0a19(0x1e1)][_0x1f0a19(0xc1)]&&this[_0x1f0a19(0x248)](_0x3b3692),_0x515c7b===g[_0x1f0a19(0x1e1)][_0x1f0a19(0x28c)]&&this[_0x1f0a19(0x15c)](_0x3b3692);}),this['disposeWithMe'](this[_0x4b16a4(0x2f2)][_0x4b16a4(0x158)](_0x406ed3=>{const _0x4cf5b5=_0x4b16a4,_0xd8296=_0x406ed3['params'];_0xd8296!=null&&this[_0x4cf5b5(0x1f0)]&&_0x406ed3['id']===V[_0x4cf5b5(0xc3)]['id']&&_0xd8296['unitId']===this[_0x4cf5b5(0x173)]&&_0xd8296[_0x4cf5b5(0x268)]===!0x1&&_0xd8296['ranges'][_0x4cf5b5(0xd2)]>0x0&&this['_updateLocalCursor'](_0xd8296[_0x4cf5b5(0x1a9)]);})),this[_0x4b16a4(0x339)][_0x4b16a4(0x25e)][_0x4b16a4(0x22f)](I[_0x4b16a4(0x138)](this[_0x4b16a4(0xe2)]))[_0x4b16a4(0xd0)](_0x5cc72f=>{const _0x57fb49=_0x4b16a4;if((_0x5cc72f==null?void 0x0:_0x5cc72f[_0x57fb49(0x173)])!==this[_0x57fb49(0x173)])return;const _0x38e5d3={'eventID':g[_0x57fb49(0x1e1)][_0x57fb49(0xc1)],'data':_0x5cc72f};this[_0x57fb49(0x248)](_0x38e5d3);}),this['disposeWithMe'](this[_0x4b16a4(0x2f2)][_0x4b16a4(0x158)](_0x25b433=>{const _0x31d013=_0x4b16a4;if(_0x25b433[_0x31d013(0x101)]==null)return;const _0x4adead=_0x25b433['params'];if(_0x25b433['id']!==V['RichTextEditingMutation']['id']||_0x4adead[_0x31d013(0x126)]!==this[_0x31d013(0x173)])return;const _0x19fe79={'id':_0x31d013(0x150),'params':_0x4adead},_0x26bc28=this['cursorInfo'];for(const [_0x3be884,_0x293047]of _0x26bc28){const _0x4b12c7={'id':_0x31d013(0x150),'params':{'unitId':this[_0x31d013(0x173)],'actions':null,'textRanges':_0x293047[_0x31d013(0x1a9)]}},_0x9e50d9=this[_0x31d013(0x169)][_0x31d013(0x15d)](_0x19fe79,_0x4b12c7,!0x1);if(g[_0x31d013(0x23a)](_0x9e50d9))throw _0x9e50d9['error'];_0x26bc28[_0x31d013(0x365)](_0x3be884,{..._0x293047,'ranges':_0x9e50d9[_0x31d013(0x2e6)][_0x31d013(0x101)]['textRanges']});}queueMicrotask(()=>{const _0x47fcbf=_0x31d013;this[_0x47fcbf(0x222)][_0x47fcbf(0x2fa)](_0x26bc28);});})));}[_0x4e74b9(0x248)](_0x10e5a1){const _0xf78c73=_0x4e74b9;var _0x4c0000,_0x12cb60;const {memberID:_0x398240,selection:_0x374abe}=_0x10e5a1[_0xf78c73(0x1aa)],_0x163a50=ht(_0x374abe),_0x48314b=(_0x12cb60=(_0x4c0000=this[_0xf78c73(0x305)]['getMember'](this[_0xf78c73(0x173)],_0x398240))==null?void 0x0:_0x4c0000[_0xf78c73(0xc5)])!=null?_0x12cb60:_0xf78c73(0x224),_0x5c981c={'color':this[_0xf78c73(0xe9)][_0xf78c73(0x326)](_0x398240),'name':_0x48314b,'ranges':_0x163a50},_0xd43acc=this[_0xf78c73(0x2f0)];_0xd43acc[_0xf78c73(0x365)](_0x398240,_0x5c981c),this[_0xf78c73(0x222)]['next'](_0xd43acc);}[_0x4e74b9(0x15c)](_0x43af11){const _0x28f33d=_0x4e74b9,{memberID:_0x268004}=_0x43af11[_0x28f33d(0x1aa)],_0x594d35=this[_0x28f33d(0x2f0)];_0x594d35['delete'](_0x268004),this[_0x28f33d(0x222)][_0x28f33d(0x2fa)](_0x594d35);}['_toggleOnline'](){const _0xa23acb=_0x4e74b9;var _0x386939;if(this['_online']=!0x0,((_0x386939=this[_0xa23acb(0x1c9)][_0xa23acb(0x171)]())==null?void 0x0:_0x386939[_0xa23acb(0x33b)]())!==this['unitID'])return;const _0x53e19b=this['_injector'][_0xa23acb(0x33e)](V[_0xa23acb(0x1bf)])[_0xa23acb(0x32f)]();Array['isArray'](_0x53e19b)&&_0x53e19b[_0xa23acb(0xd2)]>0x0&&this[_0xa23acb(0x133)](_0x53e19b);}[_0x4e74b9(0x2c1)](){this['_online']=!0x1;}};ve=It([U(0x2,a[_0x4e74b9(0x2a2)](a[_0x4e74b9(0x26e)])),U(0x3,a[_0x4e74b9(0x2a2)](Re)),U(0x4,a[_0x4e74b9(0x2a2)](u[_0x4e74b9(0x1b4)])),U(0x5,a['Inject'](be)),U(0x6,g[_0x4e74b9(0x14e)]),U(0x7,a['IUniverInstanceService']),U(0x8,a[_0x4e74b9(0x276)])],ve);var ft=Object['getOwnPropertyDescriptor'],mt=(_0x2400b2,_0x26df56,_0x1d35a9,_0x4bf67d)=>{const _0x343a62=_0x4e74b9;for(var _0x5133a7=_0x4bf67d>0x1?void 0x0:_0x4bf67d?ft(_0x26df56,_0x1d35a9):_0x26df56,_0x600f3d=_0x2400b2[_0x343a62(0xd2)]-0x1,_0x224361;_0x600f3d>=0x0;_0x600f3d--)(_0x224361=_0x2400b2[_0x600f3d])&&(_0x5133a7=_0x224361(_0x5133a7)||_0x5133a7);return _0x5133a7;},w=(_0x32d396,_0x4d09cc)=>(_0x1e4e08,_0x17ae50)=>_0x4d09cc(_0x1e4e08,_0x17ae50,_0x32d396);const vt=0x12c,gt=0x64,Et=()=>{let _0x1c14e9=[],_0x150fbc=!0x1;return _0x1f7a09=>{const _0x3a97b1=_0x33a7;_0x1c14e9[_0x3a97b1(0x9f)](_0x1f7a09),_0x150fbc||(_0x150fbc=!0x0,setTimeout(()=>{const _0x4e7085=_0x3a97b1;_0x1c14e9[_0x4e7085(0xcd)](_0x2938ee=>_0x2938ee()),_0x1c14e9=[],_0x150fbc=!0x1;}));};};let ge=class extends a[_0x4e74b9(0x15a)]{constructor(_0x3381c0,_0xa3849a,_0xba34a2,_0x109cdf,_0x39174a,_0x2677ed,_0x33bca0,_0x245c65){const _0x46edb1=_0x4e74b9;super(),_(this,_0x46edb1(0x1f0),!0x1),_(this,'_init',!0x1),_(this,_0x46edb1(0x222),new I['BehaviorSubject'](new Map())),_(this,_0x46edb1(0x31a),this['_cursorInfo$'][_0x46edb1(0x1d3)]()),_(this,'_roomMembers$',new I[(_0x46edb1(0x34b))]([])),_(this,_0x46edb1(0x12b),this[_0x46edb1(0x279)][_0x46edb1(0x22f)](I['debounceTime'](vt))),_(this,_0x46edb1(0x133),a[_0x46edb1(0x1e8)]((_0x5974c7,_0x4c8d36)=>{const _0x30e674=_0x46edb1,_0x149795={'eventID':g[_0x30e674(0x1e1)]['UPDATE_CURSOR'],'data':{'unitID':this['unitID'],'memberID':this[_0x30e674(0x10e)][_0x30e674(0x238)](),'selection':B[_0x30e674(0x2f3)](_0x5974c7,_0x4c8d36[_0x30e674(0x33f)])}};this[_0x30e674(0x10e)][_0x30e674(0x2b0)](_0x149795,this[_0x30e674(0x173)]);},gt)),(this['unitID']=_0x3381c0,this[_0x46edb1(0x10e)]=_0xa3849a,this['_injector']=_0xba34a2,this[_0x46edb1(0xe9)]=_0x109cdf,this[_0x46edb1(0x305)]=_0x39174a,this[_0x46edb1(0x1c9)]=_0x2677ed,this[_0x46edb1(0x2f2)]=_0x33bca0,this[_0x46edb1(0x338)]=_0x245c65);}get[_0x4e74b9(0x2f0)](){const _0x32d4e7=_0x4e74b9;return this[_0x32d4e7(0x222)][_0x32d4e7(0x24c)]();}get[_0x4e74b9(0x369)](){const _0x1e679f=_0x4e74b9;return this[_0x1e679f(0x279)][_0x1e679f(0x24c)]();}[_0x4e74b9(0x237)](){const _0x42f0b0=_0x4e74b9;super[_0x42f0b0(0x237)](),this['_cursorInfo$']['next'](new Map()),this[_0x42f0b0(0x222)]['complete'](),this[_0x42f0b0(0x279)][_0x42f0b0(0x2fa)]([]),this[_0x42f0b0(0x279)][_0x42f0b0(0x31d)]();}[_0x4e74b9(0x308)](){const _0x1b797c=_0x4e74b9;this[_0x1b797c(0x360)]||(this[_0x1b797c(0x360)]=!0x0,this['_session'][_0x1b797c(0x260)][_0x1b797c(0x22f)](I[_0x1b797c(0x138)](this[_0x1b797c(0xe2)]))['subscribe'](_0x5c26b4=>{const _0x29f353=_0x1b797c;_0x5c26b4===u['SessionStatus'][_0x29f353(0x1da)]?this[_0x29f353(0x13f)]():this[_0x29f353(0x2c1)]();}),this[_0x1b797c(0x10e)][_0x1b797c(0xef)][_0x1b797c(0x22f)](I[_0x1b797c(0x138)](this[_0x1b797c(0xe2)]))['subscribe'](_0x244ee7=>{const _0x32257b=_0x1b797c,_0x214be2=_0x244ee7[_0x32257b(0xff)];_0x214be2===g[_0x32257b(0x1e1)][_0x32257b(0xc1)]&&this[_0x32257b(0x248)](_0x244ee7),_0x214be2===g['CollaborationEvent']['USERS_LEAVE']&&this[_0x32257b(0x15c)](_0x244ee7);}),this['_onRefRangeChange'](),this['disposeWithMe'](this[_0x1b797c(0x2f2)][_0x1b797c(0x158)](_0x58ebe4=>{const _0x39af67=_0x1b797c;if(this['_online']&&_0x58ebe4['id']===v['SetSelectionsOperation']['id']&&_0x58ebe4['params'][_0x39af67(0x126)]===this['unitID']){const _0x2ae1e8=_0x58ebe4[_0x39af67(0x101)];this[_0x39af67(0x133)](_0x2ae1e8[_0x39af67(0x109)],_0x2ae1e8[_0x39af67(0x1af)][0x0]);}})));}['_onCursorUpdate'](_0x4076bf){const _0x461254=_0x4e74b9;var _0x54f75c,_0x36c4df;const {memberID:_0x1d3b41,selection:_0x3ef42e}=_0x4076bf[_0x461254(0x1aa)],{sheetName:_0x30c4e8,range:_0x3012cc}=B[_0x461254(0x255)](_0x3ef42e),_0x4fd2f5={'name':(_0x36c4df=(_0x54f75c=this[_0x461254(0x305)][_0x461254(0x321)](this[_0x461254(0x173)],_0x1d3b41))==null?void 0x0:_0x54f75c[_0x461254(0xc5)])!=null?_0x36c4df:'Unknown\x20user','range':this[_0x461254(0x325)](_0x30c4e8,_0x3012cc),'sheetID':_0x30c4e8,'color':this[_0x461254(0xe9)]['assignAColorForMemberID'](_0x1d3b41),'selection':_0x3ef42e},_0xd6d502=this['cursorInfo'];_0xd6d502[_0x461254(0x365)](_0x1d3b41,_0x4fd2f5),this['_cursorInfo$']['next'](_0xd6d502);}['_onCursorDelete'](_0x257774){const _0x20fd07=_0x4e74b9,{memberID:_0x251582}=_0x257774[_0x20fd07(0x1aa)],_0x4dcb6f=this[_0x20fd07(0x2f0)];_0x4dcb6f[_0x20fd07(0x32d)](_0x251582),this[_0x20fd07(0x222)][_0x20fd07(0x2fa)](_0x4dcb6f);}[_0x4e74b9(0x325)](_0x14649d,_0x520d99){const _0x162856=_0x4e74b9;var _0x3b3190,_0xa0c457;const _0x4cddd7=(_0xa0c457=(_0x3b3190=this[_0x162856(0x1c9)]['getUniverSheetInstance'](this[_0x162856(0x173)]))==null?void 0x0:_0x3b3190['getSheetBySheetId'](_0x14649d))==null?void 0x0:_0xa0c457[_0x162856(0x110)]();return(_0x4cddd7==null?void 0x0:_0x4cddd7[_0x162856(0x1d7)](_0x39ed8f=>a['Rectangle'][_0x162856(0x344)](_0x39ed8f,_0x520d99)))||_0x520d99;}[_0x4e74b9(0x10f)](){const _0x4c8ddf=_0x4e74b9,_0x4dfa8f=new a['DisposableCollection'](),_0x4db91c=Et(),_0x287a05=()=>{const _0x12d668=_0x33a7;_0x4dfa8f[_0x12d668(0x237)]();const _0x383bf0=(_0x450952,_0xff4d5e,_0x4f56a1,_0x319a0f)=>{const _0xd5eebd=_0x12d668;let _0x500a87=[];switch(_0x450952['id']){case v[_0xd5eebd(0x2dc)][_0xd5eebd(0x165)]:{_0x500a87=v[_0xd5eebd(0x13d)](_0x450952,_0x319a0f);break;}case v[_0xd5eebd(0x2dc)][_0xd5eebd(0x2cf)]:{_0x500a87=v[_0xd5eebd(0x258)](_0x450952,_0x319a0f);break;}case v['EffectRefRangId'][_0xd5eebd(0x1ee)]:{_0x500a87=v[_0xd5eebd(0x14a)](_0x450952,_0x319a0f);break;}case v[_0xd5eebd(0x2dc)][_0xd5eebd(0x1f8)]:{_0x500a87=v[_0xd5eebd(0x28b)](_0x450952,_0x319a0f);break;}case v[_0xd5eebd(0x2dc)][_0xd5eebd(0x157)]:{_0x500a87=v[_0xd5eebd(0x20d)](_0x450952,_0x319a0f);break;}case v[_0xd5eebd(0x2dc)]['InsertRowCommandId']:{_0x500a87=v[_0xd5eebd(0x295)](_0x450952,_0x319a0f);break;}case v[_0xd5eebd(0x2dc)][_0xd5eebd(0x20f)]:{_0x500a87=v['handleMoveRange'](_0x450952,_0x319a0f);break;}case v['EffectRefRangId'][_0xd5eebd(0x2e7)]:{_0x500a87=v[_0xd5eebd(0x2b9)](_0x450952,_0x319a0f);break;}case v['EffectRefRangId'][_0xd5eebd(0x117)]:{_0x500a87=v[_0xd5eebd(0xfd)](_0x450952,_0x319a0f);break;}}const _0x298998=v['runRefRangeMutations'](_0x500a87,_0x319a0f),_0x25f78f=this[_0xd5eebd(0x2f0)]['get'](_0xff4d5e);if(_0x25f78f&&_0x298998){const _0x34ddf={..._0x25f78f,'range':_0x298998};this[_0xd5eebd(0x2f0)]['set'](_0xff4d5e,_0x34ddf),_0x4db91c(()=>{const _0x1ed873=_0xd5eebd,_0x517bdb=this['_refRangeService'][_0x1ed873(0x176)](_0x298998,_0x430151=>(_0x517bdb[_0x1ed873(0x237)](),_0x383bf0(_0x430151,_0xff4d5e,_0x4f56a1,_0x298998)));_0x4dfa8f[_0x1ed873(0xf4)](_0x517bdb);});}return{'redos':[],'undos':[]};};this['cursorInfo']['forEach']((_0x273452,_0x3caca7)=>{const _0x447225=_0x12d668,{range:_0x5ba14a,sheetID:_0x31240e}=_0x273452,_0x47b1d7=this['_refRangeService'][_0x447225(0x176)](_0x5ba14a,_0x4105fb=>(_0x47b1d7[_0x447225(0x237)](),_0x383bf0(_0x4105fb,_0x3caca7,_0x31240e,_0x5ba14a)));_0x4dfa8f['add'](_0x47b1d7);});};this[_0x4c8ddf(0x31b)](a[_0x4c8ddf(0x1f4)](this[_0x4c8ddf(0x222)]['subscribe'](()=>{_0x287a05();})));}['_toggleOnline'](){const _0x170362=_0x4e74b9;var _0x4cd909,_0x158508;if(this['_online']=!0x0,((_0x4cd909=this[_0x170362(0x1c9)][_0x170362(0x171)]())==null?void 0x0:_0x4cd909[_0x170362(0x33b)]())!==this['unitID'])return;const _0x2a5d7b=(_0x158508=this[_0x170362(0xfb)][_0x170362(0x33e)](v['SheetsSelectionsService'])[_0x170362(0x1ba)]())==null?void 0x0:_0x158508[0x0],_0x37edaf=this[_0x170362(0x1c9)][_0x170362(0xeb)](a[_0x170362(0x333)][_0x170362(0x14b)])['getActiveSheet']();_0x2a5d7b&&_0x37edaf&&this[_0x170362(0x133)](_0x37edaf['getSheetId'](),_0x2a5d7b);}[_0x4e74b9(0x2c1)](){const _0x25b10d=_0x4e74b9;this[_0x25b10d(0x1f0)]=!0x1;}};ge=mt([w(0x2,a[_0x4e74b9(0x2a2)](a['Injector'])),w(0x3,a['Inject'](Re)),w(0x4,a['Inject'](u[_0x4e74b9(0x1b4)])),w(0x5,a[_0x4e74b9(0x31e)]),w(0x6,a[_0x4e74b9(0x276)]),w(0x7,a[_0x4e74b9(0x2a2)](v[_0x4e74b9(0x28e)]))],ge);var Ct=Object[_0x4e74b9(0x13e)],Tt=(_0x260b63,_0x5b7c1b,_0x42cd6b,_0x1d29e5)=>{const _0x572470=_0x4e74b9;for(var _0x13804b=_0x1d29e5>0x1?void 0x0:_0x1d29e5?Ct(_0x5b7c1b,_0x42cd6b):_0x5b7c1b,_0x3c63f9=_0x260b63[_0x572470(0xd2)]-0x1,_0x5255c4;_0x3c63f9>=0x0;_0x3c63f9--)(_0x5255c4=_0x260b63[_0x3c63f9])&&(_0x13804b=_0x5255c4(_0x13804b)||_0x13804b);return _0x13804b;},ce=(_0xe1e29,_0x2a2136)=>(_0xd8acec,_0x3bc220)=>_0x2a2136(_0xd8acec,_0x3bc220,_0xe1e29);let F=class extends a[_0x4e74b9(0x15a)]{constructor(_0x34855e,_0x111fa7,_0x6bcb2b){const _0x2b254f=_0x4e74b9;super(),_(this,_0x2b254f(0x147),new Map()),_(this,_0x2b254f(0x2c6),new I[(_0x2b254f(0x21f))]()),(this[_0x2b254f(0x1c9)]=_0x34855e,this[_0x2b254f(0xfb)]=_0x111fa7,this[_0x2b254f(0x15e)]=_0x6bcb2b,this[_0x2b254f(0x360)]());}[_0x4e74b9(0x237)](){const _0x486e61=_0x4e74b9;super[_0x486e61(0x237)](),this[_0x486e61(0x2c6)][_0x486e61(0x31d)](),this[_0x486e61(0x147)]['forEach'](_0x1489cc=>_0x1489cc['dispose']());}[_0x4e74b9(0x217)](_0x241ed9){const _0x20feeb=_0x4e74b9;return this[_0x20feeb(0x147)][_0x20feeb(0x1bc)](_0x241ed9)?this[_0x20feeb(0x147)]['get'](_0x241ed9)[_0x20feeb(0x31a)]:this['_entityInit$']['pipe'](I[_0x20feeb(0x131)](_0x3e5315=>_0x3e5315[_0x20feeb(0x173)]===_0x241ed9),I[_0x20feeb(0x35b)](_0x355fe0=>_0x355fe0[_0x20feeb(0x31a)]));}['_init'](){const _0x35c3ce=_0x4e74b9;this[_0x35c3ce(0x1c9)]['getTypeOfUnitAdded$'](a[_0x35c3ce(0x333)][_0x35c3ce(0x14b)])[_0x35c3ce(0x22f)](I['takeUntil'](this[_0x35c3ce(0xe2)]))[_0x35c3ce(0xd0)](async _0x2811b6=>{const _0x5bbefb=_0x35c3ce,_0x2c8810=_0x2811b6[_0x5bbefb(0x33b)](),_0x1e69ef=await this['_startSheetCollabCursor'](_0x2c8810);this[_0x5bbefb(0x2c6)][_0x5bbefb(0x2fa)](_0x1e69ef),this['_entities'][_0x5bbefb(0x365)](_0x2c8810,_0x1e69ef);}),this[_0x35c3ce(0x1c9)][_0x35c3ce(0x216)](a[_0x35c3ce(0x333)][_0x35c3ce(0x118)])[_0x35c3ce(0x22f)](I[_0x35c3ce(0x138)](this['dispose$']))['pipe'](I[_0x35c3ce(0x131)](_0x4f72a7=>!_0x4f72a7['getUnitId']()[_0x35c3ce(0xfe)]('__')))[_0x35c3ce(0xd0)](async _0x175a10=>{const _0x44520e=_0x35c3ce,_0x1d5366=_0x175a10[_0x44520e(0x33b)](),_0x511be4=await this[_0x44520e(0x1d8)](_0x1d5366);this[_0x44520e(0x2c6)]['next'](_0x511be4),this[_0x44520e(0x147)][_0x44520e(0x365)](_0x1d5366,_0x511be4);}),I[_0x35c3ce(0x192)](this[_0x35c3ce(0x1c9)][_0x35c3ce(0xda)](a['UniverInstanceType'][_0x35c3ce(0x118)]),this[_0x35c3ce(0x1c9)][_0x35c3ce(0xda)](a[_0x35c3ce(0x333)][_0x35c3ce(0x14b)]))['pipe'](I['takeUntil'](this[_0x35c3ce(0xe2)]))[_0x35c3ce(0xd0)](_0x29ce5a=>{const _0x2e2f64=_0x35c3ce,_0x3db8e7=_0x29ce5a[_0x2e2f64(0x33b)](),_0x56a80e=this[_0x2e2f64(0x147)][_0x2e2f64(0x33e)](_0x3db8e7);_0x56a80e&&(_0x56a80e['dispose'](),this[_0x2e2f64(0x147)][_0x2e2f64(0x32d)](_0x3db8e7));});}async['_startSheetCollabCursor'](_0x20c7ff){const _0x47ac95=_0x4e74b9,_0xc6838e=await this[_0x47ac95(0x15e)][_0x47ac95(0x2be)](_0x20c7ff),_0x3bb5df=this['_injector']['createInstance'](ge,_0x20c7ff,_0xc6838e);return _0x3bb5df[_0x47ac95(0x308)](),_0x3bb5df;}async[_0x4e74b9(0x1d8)](_0x254e2a){const _0x47e39f=_0x4e74b9,_0x343faf=await this[_0x47e39f(0x15e)][_0x47e39f(0x2be)](_0x254e2a),_0x167cea=this[_0x47e39f(0xfb)][_0x47e39f(0xa5)](ve,_0x254e2a,_0x343faf);return _0x167cea[_0x47e39f(0x308)](),_0x167cea;}};F=Tt([ce(0x0,a['IUniverInstanceService']),ce(0x1,a['Inject'](a[_0x4e74b9(0x26e)])),ce(0x2,a[_0x4e74b9(0x2a2)](u[_0x4e74b9(0xc6)]))],F);const X=0x14,Ue=0xc8,le=0x4,pt=0x5;function Ot(_0x8f8f65,_0x4f7b0d){const _0x4a6889=_0x4e74b9;let {radius:_0x54cdd8,width:_0x28f8b2,height:_0x1312dd}=_0x4f7b0d;_0x54cdd8=_0x54cdd8!=null?_0x54cdd8:0x0,_0x28f8b2=_0x28f8b2!=null?_0x28f8b2:0x1e,_0x1312dd=_0x1312dd!=null?_0x1312dd:0x1e;let _0x61aa24=0x0,_0x2eb715=0x0,_0xcaf561=0x0;_0x61aa24=_0x2eb715=_0xcaf561=Math[_0x4a6889(0x136)](_0x54cdd8,_0x28f8b2/0x2,_0x1312dd/0x2),_0x8f8f65[_0x4a6889(0x19f)](),_0x8f8f65[_0x4a6889(0x1b8)](_0x61aa24,0x0),_0x8f8f65[_0x4a6889(0x2f9)](_0x28f8b2-_0x2eb715,0x0),_0x8f8f65[_0x4a6889(0x1e6)](_0x28f8b2-_0x2eb715,_0x2eb715,_0x2eb715,Math['PI']*0x3/0x2,0x0,!0x1),_0x8f8f65['lineTo'](_0x28f8b2,_0x1312dd-_0xcaf561),_0x8f8f65[_0x4a6889(0x1e6)](_0x28f8b2-_0xcaf561,_0x1312dd-_0xcaf561,_0xcaf561,0x0,Math['PI']/0x2,!0x1),_0x8f8f65[_0x4a6889(0x2f9)](0x0,_0x1312dd),_0x8f8f65[_0x4a6889(0x2f9)](0x0,_0x61aa24),_0x8f8f65[_0x4a6889(0x1e6)](_0x61aa24,_0x61aa24,_0x61aa24,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x8f8f65[_0x4a6889(0x219)](),_0x4f7b0d['fill']&&(_0x8f8f65[_0x4a6889(0x2f8)](),_0x8f8f65[_0x4a6889(0x310)]=_0x4f7b0d[_0x4a6889(0x29a)],_0x4f7b0d[_0x4a6889(0x203)]===_0x4a6889(0x128)?_0x8f8f65[_0x4a6889(0x29a)](_0x4a6889(0x128)):_0x8f8f65[_0x4a6889(0x29a)](),_0x8f8f65[_0x4a6889(0x345)]());}class re extends C[_0x4e74b9(0x100)]{constructor(_0x1e2b3f,_0x581995){const _0x4b6936=_0x4e74b9;super(_0x1e2b3f,_0x581995),_(this,_0x4b6936(0x2d2)),_(this,'text'),(this[_0x4b6936(0x2d2)]=_0x581995==null?void 0x0:_0x581995[_0x4b6936(0x2d2)],this[_0x4b6936(0x1c7)]=_0x581995==null?void 0x0:_0x581995[_0x4b6936(0x1c7)]);}static[_0x4e74b9(0x24b)](_0x5eb249,_0x4ed6ca){const _0x45b19d=_0x4e74b9,{text:_0x2decde,color:_0xab70a4}=_0x4ed6ca;_0x5eb249[_0x45b19d(0x2f8)](),_0x5eb249['font']=_0x45b19d(0x16f);const _0x42a178=_0x5eb249[_0x45b19d(0x31f)](_0x2decde)[_0x45b19d(0x23c)],_0x3af290=Math['min'](_0x42a178+0x2*le,Ue);Ot(_0x5eb249,{'height':X,'radius':0x4,'width':_0x3af290,'fill':_0xab70a4}),_0x5eb249[_0x45b19d(0x310)]='#FFF';const _0xe1f2e4=le,_0x3c6ca6=X-pt,_0x2c16ee=Ue-0x2*le;if(_0x42a178>_0x2c16ee){let _0xc56694='',_0x161e8c=0x0;for(const _0x268aae of _0x2decde){const _0x506494=_0x5eb249['measureText'](_0x268aae)[_0x45b19d(0x23c)];if(_0x161e8c+_0x506494<=_0x2c16ee-_0x5eb249['measureText'](_0x45b19d(0xf0))[_0x45b19d(0x23c)])_0xc56694+=_0x268aae,_0x161e8c+=_0x506494;else{_0xc56694+=_0x45b19d(0xf0);break;}}_0x5eb249[_0x45b19d(0x30c)](_0xc56694,_0xe1f2e4,_0x3c6ca6);}else _0x5eb249[_0x45b19d(0x30c)](_0x2decde,_0xe1f2e4,_0x3c6ca6);_0x5eb249['restore']();}[_0x4e74b9(0x349)](_0x44d981){const _0x549f18=_0x4e74b9;re[_0x549f18(0x24b)](_0x44d981,this);}}function _0x33a7(_0xb3ef7,_0x3a8da0){_0xb3ef7=_0xb3ef7-0x9f;const _0x1b55c4=_0x1b55();let _0x33a77d=_0x1b55c4[_0xb3ef7];return _0x33a77d;}const _e=_0x4e74b9(0x246),Rt='collab-text-range-',bt=_0x4e74b9(0x1ed),H=0x6,Dt=1.5,he=0x4,Nt=1.5,Ut=_0x4e74b9(0x1c5);class Le{constructor(_0x1463b2,_0xddd413,_0x5d7788,_0x2035f8){const _0x56ff3d=_0x4e74b9;_(this,_0x56ff3d(0x269),[]),_(this,_0x56ff3d(0x235),null),_(this,_0x56ff3d(0x130),null),_(this,_0x56ff3d(0xcf),null),_(this,_0x56ff3d(0x311),null),_(this,_0x56ff3d(0x205),null),(this[_0x56ff3d(0x18e)]=_0x1463b2,this[_0x56ff3d(0x1f2)]=_0xddd413,this['_docSkeleton']=_0x5d7788,this[_0x56ff3d(0xfc)]=_0x2035f8,this[_0x56ff3d(0x198)]());}set[_0x4e74b9(0x2c5)](_0x3ff207){const _0x5cab6f=_0x4e74b9;_0x3ff207?(this[_0x5cab6f(0xcf)]&&this[_0x5cab6f(0xcf)][_0x5cab6f(0xcc)](),this[_0x5cab6f(0x130)]&&this[_0x5cab6f(0x130)][_0x5cab6f(0x1e5)]()):(this['_anchorDot']&&this[_0x5cab6f(0xcf)][_0x5cab6f(0x1e5)](),this[_0x5cab6f(0x130)]&&this[_0x5cab6f(0x130)]['hide']());}[_0x4e74b9(0x237)](){const _0x1734c2=_0x4e74b9;for(const _0x35796b of this[_0x1734c2(0x269)])_0x35796b[_0x1734c2(0x237)]();this[_0x1734c2(0x130)]&&this[_0x1734c2(0x130)]['dispose'](),this['_anchorDot']&&this['_anchorDot'][_0x1734c2(0x237)](),this[_0x1734c2(0x235)]&&this['_anchor'][_0x1734c2(0x237)](),this[_0x1734c2(0x205)]&&this[_0x1734c2(0x205)]();}[_0x4e74b9(0x198)](){const _0x16b840=_0x4e74b9;var _0x122dad;const {_docSkeleton:_0x24a42e,_document:_0x3c32d9}=this,{color:_0xcd8eb,name:_0x3f34c4,ranges:_0xc28e17}=this['_cursor'],_0x2c2986=_0x3c32d9['getOffsetConfig'](),{docsLeft:_0x5eb99a,docsTop:_0x5dd8d1}=_0x2c2986,_0x4b44d1=new T[(_0x16b840(0x23e))](_0x2c2986,_0x24a42e);for(const {startOffset:_0xae167e,endOffset:_0x34e1bd,rangeType:_0x190046,segmentId:_0x5308bf,segmentPage:_0x4c6081,collapsed:_0x367cc5,isActive:_0x24f133}of _0xc28e17){const _0x7dd047=_0x24a42e[_0x16b840(0x10a)](_0xae167e,!0x0,_0x5308bf,_0x4c6081);let _0x5af3da=_0x24a42e[_0x16b840(0x10a)](_0x34e1bd,!0x0,_0x5308bf,_0x4c6081);if(_0x5af3da==null&&(_0x5af3da=_0x24a42e['findNodePositionByCharIndex'](_0x34e1bd-0x1,!0x1,_0x5308bf,_0x4c6081)),_0x24f133){const {contentBoxPointGroup:_0x22642d}=_0x4b44d1[_0x16b840(0x12f)](_0x5af3da,_0x5af3da);if(_0x22642d[_0x16b840(0xd2)]===0x0)continue;this['_drawAnchor'](_0xcd8eb,_0x22642d,_0x5eb99a,_0x5dd8d1,_0x3f34c4),this['_eventUnsubscribe']=this[_0x16b840(0x36b)]();}if(_0x7dd047&&_0x5af3da){if(_0x190046===a[_0x16b840(0xb2)][_0x16b840(0x329)]){const _0x5362b6=new T[(_0x16b840(0x2a5))](_0x2c2986,_0x24a42e),{pointGroup:_0x1fc299}=(_0x122dad=_0x5362b6[_0x16b840(0x12f)](_0x7dd047,_0x5af3da))!=null?_0x122dad:{};if(_0x1fc299==null||_0x1fc299[_0x16b840(0xd2)]===0x0)continue;this['_drawRectRange'](_0xcd8eb,_0x1fc299,_0x5eb99a,_0x5dd8d1);}else{if(!_0x367cc5){const {borderBoxPointGroup:_0x2f519c}=_0x4b44d1[_0x16b840(0x12f)](_0x7dd047,_0x5af3da);if(_0x2f519c[_0x16b840(0xd2)]===0x0)continue;this[_0x16b840(0x307)](_0xcd8eb,_0x2f519c,_0x5eb99a,_0x5dd8d1);}}}}}[_0x4e74b9(0xb3)](_0x41b2ca,_0x196f06,_0x1f0a14,_0x2ed0f7,_0x23327d){const _0x325ef8=_0x4e74b9,_0x206ed0=this[_0x325ef8(0x2bd)](_0x196f06),{left:_0x3e5ad4,top:_0x50d7e7,height:_0x332720}=_0x206ed0,_0x762fd6=this[_0x325ef8(0x227)](),_0x103eb5=Nt/_0x762fd6,_0x4f6d0d=new C[(_0x325ef8(0x156))](_e+a[_0x325ef8(0x293)](H),{'left':_0x3e5ad4+_0x1f0a14-_0x103eb5,'top':_0x50d7e7+_0x2ed0f7,'height':_0x332720,'width':Dt,'fill':_0x41b2ca||C[_0x325ef8(0x267)](a['COLORS'][_0x325ef8(0x1ac)],0x0),'strokeWidth':_0x103eb5,'stroke':Ut,'evented':!0x0});this[_0x325ef8(0x235)]=_0x4f6d0d,this[_0x325ef8(0x1f2)][_0x325ef8(0x19e)](_0x4f6d0d,T[_0x325ef8(0x1c1)]);const _0x15f3dc=new C[(_0x325ef8(0x156))](_e+a[_0x325ef8(0x293)](H),{'left':_0x3e5ad4+_0x1f0a14-_0x103eb5,'top':_0x50d7e7+_0x2ed0f7-he/0x2,'height':he,'width':he,'fill':_0x41b2ca||C[_0x325ef8(0x267)](a['COLORS'][_0x325ef8(0x1ac)],0x0),'strokeWidth':0x0,'stroke':_0x41b2ca||C[_0x325ef8(0x267)](a[_0x325ef8(0x30f)][_0x325ef8(0x1ac)],0x0),'evented':!0x1});this['_anchorDot']=_0x15f3dc,this[_0x325ef8(0x1f2)][_0x325ef8(0x19e)](_0x15f3dc,T[_0x325ef8(0x1c1)]);const _0x5c89a3=new re(_e+a[_0x325ef8(0x293)](H),{'left':_0x3e5ad4+_0x1f0a14-_0x103eb5,'top':_0x50d7e7+_0x2ed0f7-X,'text':_0x23327d,'color':_0x41b2ca});this[_0x325ef8(0x130)]=_0x5c89a3,this[_0x325ef8(0x1f2)]['addObject'](_0x5c89a3,T[_0x325ef8(0x1c1)]),this[_0x325ef8(0x2c5)]=!0x1;}['_handleHover'](){const _0x36d747=_0x4e74b9,_0x2a53d=this[_0x36d747(0x235)]['onPointerEnter$'][_0x36d747(0x313)](()=>{const _0x2c4b30=_0x36d747;this[_0x2c4b30(0x2c5)]=!0x0;}),_0x3af97f=this['_anchor'][_0x36d747(0x2a0)]['subscribeEvent'](()=>{const _0x232991=_0x36d747;this[_0x232991(0x311)]&&clearTimeout(this[_0x232991(0x311)]),this['_hideTimer']=setTimeout(()=>{const _0x549267=_0x232991;this[_0x549267(0x2c5)]=!0x1;},0x7d0);});return()=>{const _0x30c451=_0x36d747;_0x2a53d[_0x30c451(0xea)](),_0x3af97f[_0x30c451(0xea)]();};}[_0x4e74b9(0x307)](_0x4a0277,_0x22f25a,_0x1b681d,_0x5cf388){const _0x1ecac4=_0x4e74b9,_0x5a7073=new a[(_0x1ecac4(0x247))](_0x4a0277)[_0x1ecac4(0x114)](0.2)[_0x1ecac4(0x34c)](),_0x377970=new C[(_0x1ecac4(0x20b))](Rt+a[_0x1ecac4(0x293)](H),{'pointsGroup':_0x22f25a,'fill':_0x5a7073||C[_0x1ecac4(0x267)](a['COLORS'][_0x1ecac4(0x1ac)],0.2),'left':_0x1b681d,'top':_0x5cf388,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x1ecac4(0x269)]['push'](_0x377970),this[_0x1ecac4(0x1f2)]['addObject'](_0x377970,T[_0x1ecac4(0x1c1)]);}['_drawRectRange'](_0x3eab7d,_0x26ef2f,_0x24d176,_0x4ea75a){const _0x5aefb4=_0x4e74b9,_0x10beda=new a[(_0x5aefb4(0x247))](_0x3eab7d)[_0x5aefb4(0x114)](0.2)['toRgbString'](),_0x11e6b7=new C[(_0x5aefb4(0x20b))](bt+a['generateRandomId'](H),{'pointsGroup':_0x26ef2f,'fill':_0x10beda||C[_0x5aefb4(0x267)](a['COLORS']['black'],0.2),'left':_0x24d176,'top':_0x4ea75a,'evented':!0x1,'debounceParentDirty':!0x1});this['_shapes'][_0x5aefb4(0x9f)](_0x11e6b7),this[_0x5aefb4(0x1f2)][_0x5aefb4(0x19e)](_0x11e6b7,T[_0x5aefb4(0x1c1)]);}[_0x4e74b9(0x2bd)](_0x143a53){const _0x1f33bc=_0x143a53[0x0],_0x426605=_0x1f33bc[0x0],_0x2878f9=_0x1f33bc[0x2],{x:_0xa8a6c0,y:_0x15e0f0}=_0x426605,{x:_0xf37f5c,y:_0x114889}=_0x2878f9;return{'left':_0xa8a6c0,'top':_0x15e0f0,'width':_0xf37f5c-_0xa8a6c0,'height':_0x114889-_0x15e0f0};}[_0x4e74b9(0x227)](){const _0x32162c=_0x4e74b9,{scaleX:_0x57af27,scaleY:_0x451c87}=this[_0x32162c(0x1f2)][_0x32162c(0xba)]();return Math[_0x32162c(0x2c2)](_0x57af27,_0x451c87);}}var Lt=Object[_0x4e74b9(0x13e)],Mt=(_0x178869,_0x113a7e,_0x1b0072,_0x41af2a)=>{const _0x4f832f=_0x4e74b9;for(var _0xfe7de3=_0x41af2a>0x1?void 0x0:_0x41af2a?Lt(_0x113a7e,_0x1b0072):_0x113a7e,_0x4e5ea1=_0x178869[_0x4f832f(0xd2)]-0x1,_0x4f869f;_0x4e5ea1>=0x0;_0x4e5ea1--)(_0x4f869f=_0x178869[_0x4e5ea1])&&(_0xfe7de3=_0x4f869f(_0xfe7de3)||_0xfe7de3);return _0xfe7de3;},q=(_0xa2d8cb,_0x55193f)=>(_0x12dfdd,_0x5c076d)=>_0x55193f(_0x12dfdd,_0x5c076d,_0xa2d8cb);let Ee=class extends a[_0x4e74b9(0x15a)]{constructor(_0x2fb8bd,_0x13b40e,_0x188ca7,_0xe98d8d,_0x14f674){const _0x57f5e9=_0x4e74b9;super(),_(this,'_cursorShapes',[]),_(this,'_cursors',[]),(this[_0x57f5e9(0x2d7)]=_0x2fb8bd,this[_0x57f5e9(0x113)]=_0x13b40e,this[_0x57f5e9(0xf8)]=_0x188ca7,this[_0x57f5e9(0x2f2)]=_0xe98d8d,this['_themeService']=_0x14f674,this[_0x57f5e9(0x360)]());}[_0x4e74b9(0x360)](){const _0x27eefc=_0x4e74b9,_0x4583ae=this[_0x27eefc(0x2d7)]['unitId'],_0x56ba53=this['_docSkeletonManagerService'];this[_0x27eefc(0x31b)](I[_0x27eefc(0x342)]([this['_collabCursorController'][_0x27eefc(0x217)](_0x4583ae),this[_0x27eefc(0x289)][_0x27eefc(0x15b)]])[_0x27eefc(0x22f)]($[_0x27eefc(0x1b0)](([_0x35fbf4,_0x213c7e])=>({'skeleton':_0x56ba53[_0x27eefc(0x26c)](),'cursors':[..._0x35fbf4[_0x27eefc(0x343)]()]['flatMap'](_0x5d8ee3=>({..._0x5d8ee3,'color':this[_0x27eefc(0x289)][_0x27eefc(0x1ca)](_0x5d8ee3[_0x27eefc(0x2d2)])}))})))['subscribe'](_0x20d84b=>{const _0x496df9=_0x27eefc;if(this['_removeCollabCursors'](),_0x20d84b){const {skeleton:_0x18cc33,cursors:_0xa2b473}=_0x20d84b;this[_0x496df9(0x1a4)](_0x18cc33,_0xa2b473);}})),this['_initResize'](),this[_0x27eefc(0x363)]();}['_updateCollabCursors'](_0x361d2a,_0x1b80ca){const _0x11b945=_0x4e74b9,{scene:_0x5a08dc,mainComponent:_0x431d99}=this[_0x11b945(0x2d7)],_0x57cb1c=_0x1b80ca['map'](_0x3d7d1a=>new Le(_0x3d7d1a,_0x5a08dc,_0x361d2a,_0x431d99));this[_0x11b945(0x1f9)]=_0x57cb1c,this[_0x11b945(0x148)]=_0x1b80ca;}['_refreshCollabCursors'](){const _0x20e36c=_0x4e74b9;this['_removeCollabCursors']();const {scene:_0x44f8a0,mainComponent:_0x3c3344}=this[_0x20e36c(0x2d7)],_0x108ddd=this['_docSkeletonManagerService'][_0x20e36c(0x26c)](),_0x3270fc=this[_0x20e36c(0x148)][_0x20e36c(0x1b0)](_0x4897c0=>new Le(_0x4897c0,_0x44f8a0,_0x108ddd,_0x3c3344));this[_0x20e36c(0x1f9)]=_0x3270fc;}[_0x4e74b9(0x159)](){this['_cursorShapes']['forEach'](_0xae311a=>_0xae311a['dispose']()),this['_cursorShapes']=[];}[_0x4e74b9(0x363)](){const _0x539edd=_0x4e74b9,_0x1f7370=[T['SetDocZoomRatioOperation']['id']];this[_0x539edd(0x31b)](this[_0x539edd(0x2f2)][_0x539edd(0x158)](_0x5a0f87=>{const _0x4a0035=_0x539edd;_0x1f7370[_0x4a0035(0x1eb)](_0x5a0f87['id'])&&_0x5a0f87[_0x4a0035(0x101)]['unitId']===this[_0x4a0035(0x2d7)][_0x4a0035(0x126)]&&this[_0x4a0035(0x35e)]();}));}[_0x4e74b9(0x19c)](){const _0x4e067c=_0x4e74b9;this[_0x4e067c(0x31b)](a[_0x4e067c(0x106)](this[_0x4e067c(0x2d7)][_0x4e067c(0x167)][_0x4e067c(0x20a)])[_0x4e067c(0x22f)]($[_0x4e067c(0x131)](_0x4bbda1=>_0x4bbda1[_0x4e067c(0xd5)]===C[_0x4e067c(0x1b3)][_0x4e067c(0x28f)]),$[_0x4e067c(0x362)](0x10))[_0x4e067c(0xd0)](()=>{const _0x4d5574=_0x4e067c;this[_0x4d5574(0x35e)]();}));}};Ee=Mt([q(0x1,a[_0x4e74b9(0x2a2)](V[_0x4e74b9(0xd9)])),q(0x2,a[_0x4e74b9(0x2a2)](F)),q(0x3,a[_0x4e74b9(0x276)]),q(0x4,a[_0x4e74b9(0x2a2)](a[_0x4e74b9(0x334)]))],Ee);const At=0x1,Pt=1.5;class je extends C[_0x4e74b9(0x100)]{constructor(_0x4275f6,_0x4d0312){const _0x32a50e=_0x4e74b9;super(_0x4275f6,_0x4d0312),_(this,_0x32a50e(0x30d)),_(this,'_hovered',!0x1),_(this,_0x32a50e(0x197)),_(this,_0x32a50e(0x317),''),_(this,'_labelPosition',_0x32a50e(0x280)),_(this,_0x32a50e(0xaf)),(_0x4d0312&&this['setShapeProps'](_0x4d0312),this[_0x32a50e(0x102)][_0x32a50e(0x313)](()=>this[_0x32a50e(0x154)]({'hovered':!0x0})),this[_0x32a50e(0x2a0)][_0x32a50e(0x313)](()=>this[_0x32a50e(0x154)]({'hovered':!0x1})));}[_0x4e74b9(0x154)](_0x23363e){const _0x3ba869=_0x4e74b9;var _0x4747c2,_0x38e381,_0x1a630c,_0x5cdb09,_0x27b3c7,_0xcff58d;this[_0x3ba869(0x30d)]=(_0x4747c2=_0x23363e[_0x3ba869(0x2d2)])!=null?_0x4747c2:this[_0x3ba869(0x30d)],this[_0x3ba869(0x259)]=(_0x38e381=_0x23363e[_0x3ba869(0xa0)])!=null?_0x38e381:this['_hovered'],this[_0x3ba869(0x197)]=(_0x1a630c=_0x23363e['range'])!=null?_0x1a630c:this[_0x3ba869(0x197)],this[_0x3ba869(0x317)]=(_0x5cdb09=_0x23363e[_0x3ba869(0xc5)])!=null?_0x5cdb09:this[_0x3ba869(0x317)],this[_0x3ba869(0x141)]=(_0x27b3c7=_0x23363e[_0x3ba869(0x152)])!=null?_0x27b3c7:this[_0x3ba869(0x141)],this[_0x3ba869(0xaf)]=(_0xcff58d=_0x23363e['backgroundColor'])!=null?_0xcff58d:this[_0x3ba869(0xaf)],this[_0x3ba869(0x355)]({'width':_0x23363e['width'],'height':_0x23363e[_0x3ba869(0x26b)]});}[_0x4e74b9(0x24f)](_0x174539){const _0x26e109=_0x4e74b9,{row:_0x5a5618,column:_0x2bd41d}=_0x174539;if(_0x5a5618>=this[_0x26e109(0x197)]['startRow']&&_0x5a5618<=this[_0x26e109(0x197)][_0x26e109(0x1bb)]&&_0x2bd41d>=this[_0x26e109(0x197)][_0x26e109(0x18b)]&&_0x2bd41d<=this['_range']['endColumn']){this['setShapeProps']({'hovered':!0x0});return;}this[_0x26e109(0x154)]({'hovered':!0x1});}['triggerDblclick'](_0x28bc64){return!0x1;}[_0x4e74b9(0x349)](_0x2baa34){const _0x5ba39c=_0x4e74b9;C[_0x5ba39c(0x156)][_0x5ba39c(0x24b)](_0x2baa34,{'width':this[_0x5ba39c(0x23c)],'height':this[_0x5ba39c(0x26b)],'strokeWidth':Pt,'stroke':this[_0x5ba39c(0x30d)],'evented':!0x1,'fill':this[_0x5ba39c(0xaf)]}),this[_0x5ba39c(0x259)]&&(_0x2baa34['save'](),_0x2baa34['transform'](0x1,0x0,0x0,0x1,this['width'],this['_labelPosition']===_0x5ba39c(0x2af)?0x0:-X),re['drawWith'](_0x2baa34,{'text':this['_name'],'color':this['_color']}),_0x2baa34['restore']());}}var wt=Object[_0x4e74b9(0x13e)],yt=(_0x13fa22,_0x36f8e8,_0x9277ec,_0x4e840f)=>{const _0x336d25=_0x4e74b9;for(var _0xa833d1=_0x4e840f>0x1?void 0x0:_0x4e840f?wt(_0x36f8e8,_0x9277ec):_0x36f8e8,_0x585951=_0x13fa22[_0x336d25(0xd2)]-0x1,_0x5548c9;_0x585951>=0x0;_0x585951--)(_0x5548c9=_0x13fa22[_0x585951])&&(_0xa833d1=_0x5548c9(_0xa833d1)||_0xa833d1);return _0xa833d1;},ue=(_0x278660,_0x46a5bd)=>(_0x263b1d,_0x522a1e)=>_0x46a5bd(_0x263b1d,_0x522a1e,_0x278660);const $t=0x1389;let Ce=class extends a[_0x4e74b9(0x15a)]{constructor(_0x418ded,_0x1e4044,_0x5a8053,_0x586197){const _0x462cad=_0x4e74b9;super(),_(this,_0x462cad(0x148),new Set()),_(this,'_lastPointer',null),(this[_0x462cad(0x2d7)]=_0x418ded,this[_0x462cad(0x183)]=_0x1e4044,this['_collabCursorController']=_0x5a8053,this[_0x462cad(0x289)]=_0x586197,this[_0x462cad(0x360)]());}['_init'](){const _0x45e258=_0x4e74b9;this[_0x45e258(0x183)][_0x45e258(0x17e)]['pipe']($[_0x45e258(0x138)](this[_0x45e258(0xe2)]),$['switchMap'](_0x30f677=>{const _0x37b054=_0x45e258;if(_0x30f677){const _0x1d60c5=_0x30f677[_0x37b054(0xdc)];return I[_0x37b054(0x342)](this['_collabCursorController'][_0x37b054(0x217)](this[_0x37b054(0x2d7)][_0x37b054(0x126)]),this[_0x37b054(0x289)][_0x37b054(0x15b)])[_0x37b054(0x22f)]($[_0x37b054(0x1b0)](([_0x251130,_0x361bc0])=>{const _0x2d155a=_0x37b054,_0x2c6ff4=new Map();return _0x251130[_0x2d155a(0xcd)]((_0x5027c5,_0x4cd66c)=>{const _0x34aa4c=_0x2d155a;if(_0x5027c5[_0x34aa4c(0x2a8)]===_0x1d60c5){const _0x1fd0e2={..._0x5027c5};_0x1fd0e2[_0x34aa4c(0x2d2)]=this[_0x34aa4c(0x289)][_0x34aa4c(0x1ca)](_0x5027c5[_0x34aa4c(0x2d2)]),_0x2c6ff4[_0x34aa4c(0x365)](_0x4cd66c,_0x1fd0e2);}}),{'skeleton':_0x30f677,'cursors':_0x2c6ff4};}));}return I['of']({'skeleton':null,'cursors':new Map()});}))[_0x45e258(0xd0)](({skeleton:_0x3e3f04,cursors:_0x113378})=>{const _0x1bf508=_0x45e258;this[_0x1bf508(0x159)](),_0x3e3f04&&this[_0x1bf508(0x1a4)](_0x3e3f04,_0x113378);}),this[_0x45e258(0x183)][_0x45e258(0x17e)]['subscribe'](_0x1a5de3=>{const _0x1ec399=_0x45e258;if(_0x1a5de3==null)return;const {skeleton:_0x30970a}=_0x1a5de3,{scene:_0x4df7de}=this[_0x1ec399(0x2d7)];_0x4df7de[_0x1ec399(0x314)][_0x1ec399(0x313)](a['debounce'](_0x1e3984=>{const _0x1d2093=_0x1ec399;var _0x1be60f,_0x396873;const {offsetX:_0x5c20a4,offsetY:_0x505a14}=_0x1e3984,{x:_0x430f77,y:_0x5a529f}=_0x4df7de[_0x1d2093(0x348)](C[_0x1d2093(0x104)]['FromArray']([_0x5c20a4,_0x505a14])),{scaleX:_0x18d786,scaleY:_0x5f3678}=_0x4df7de['getAncestorScale'](),_0x23a9c1=_0x4df7de[_0x1d2093(0x139)](C[_0x1d2093(0x1f7)][_0x1d2093(0x283)]),_0x829c49=_0x4df7de['getVpScrollXYInfoByPosToVp'](C[_0x1d2093(0x104)][_0x1d2093(0x2da)]([_0x430f77,_0x5a529f]),_0x23a9c1),_0x38f7d3=_0x30970a[_0x1d2093(0xb9)](_0x5c20a4,_0x505a14,_0x18d786,_0x5f3678,_0x829c49);((_0x1be60f=this[_0x1d2093(0x1f1)])==null?void 0x0:_0x1be60f['column'])===_0x38f7d3['column']&&((_0x396873=this[_0x1d2093(0x1f1)])==null?void 0x0:_0x396873['row'])===_0x38f7d3[_0x1d2093(0x21a)]||this[_0x1d2093(0x148)][_0x1d2093(0xcd)](_0x5e9c05=>{_0x5e9c05['onMouseMove'](_0x38f7d3);});},0x64));});}['_updateCollabCursors'](_0x394580,_0x297196){const _0x5cc01a=_0x4e74b9;var _0x1f97ea;const _0x34a8e7=(_0x1f97ea=this['_sheetSkeletonManagerService'][_0x5cc01a(0x1de)]())==null?void 0x0:_0x1f97ea['skeleton'];if(!_0x34a8e7)return;const _0x2c6d48=this[_0x5cc01a(0xb5)]();if(!_0x2c6d48)return;this[_0x5cc01a(0x148)][_0x5cc01a(0xcd)](_0x17e75a=>{const _0x2f5173=_0x5cc01a;_0x17e75a[_0x2f5173(0x229)]();});const {scene:_0x26ba2d}=_0x2c6d48,_0x41fec0=xt(Array['from'](_0x297196[_0x5cc01a(0x343)]()))[_0x5cc01a(0x1b0)](_0x1638d8=>{const _0x4a6719=_0x5cc01a,{color:_0x1e9882,range:_0x3afaa0,name:_0x58b97d,selection:_0x3dc51c,sheetID:_0xa86eb3}=_0x1638d8,{startColumn:_0xc42d7c,startRow:_0x1ea0ad,endColumn:_0x261bd7,endRow:_0x16a815}=_0x3afaa0,_0x35c2bd=J[_0x4a6719(0xe1)](_0x1ea0ad,_0xc42d7c,_0x26ba2d,_0x34a8e7),_0x104f34=J[_0x4a6719(0xe1)](_0x16a815,_0x261bd7,_0x26ba2d,_0x34a8e7),{columnHeaderHeightAndMarginTop:_0x386a86}=_0x34a8e7,{startX:_0x24d0dd,startY:_0x5d52b3}=_0x35c2bd,{endX:_0x3fd96d,endY:_0x4ccb94}=_0x104f34,_0x136673=_0x3fd96d-_0x24d0dd,_0x32961b=_0x4ccb94-_0x5d52b3,_0x10246c={'labelPosition':_0x5d52b3-_0x386a86>=X?_0x4a6719(0x280):_0x4a6719(0x2af),'sheetID':_0xa86eb3,'range':_0x3afaa0,'color':_0x1e9882,'name':_0x58b97d,'selection':_0x3dc51c,'left':_0x24d0dd,'top':_0x5d52b3,'width':_0x136673,'height':_0x32961b,'evented':!0x1,'zIndex':$t};return new je(_0x58b97d,_0x10246c);});_0x26ba2d[_0x5cc01a(0x316)](_0x41fec0,At),this['_cursors']=new Set(_0x41fec0);}[_0x4e74b9(0x159)](){const _0x4d923e=_0x4e74b9;var _0x266477;(_0x266477=this['_cursors'])==null||_0x266477[_0x4d923e(0xcd)](_0x5ec3a6=>_0x5ec3a6[_0x4d923e(0x237)]());}['_getSheetObject'](){const _0x2ad040=_0x4e74b9;return J[_0x2ad040(0x351)](this['_context'][_0x2ad040(0x19d)],this[_0x2ad040(0x2d7)]);}};Ce=yt([ue(0x1,a[_0x4e74b9(0x2a2)](J['SheetSkeletonManagerService'])),ue(0x2,a[_0x4e74b9(0x2a2)](F)),ue(0x3,a['Inject'](a[_0x4e74b9(0x334)]))],Ce);function xt(_0x353e5e){const _0x1c0e2f=_0x4e74b9,_0x388446=new Map();return _0x353e5e['forEach'](_0x4efed1=>{const _0x4ee075=_0x33a7;if(_0x388446[_0x4ee075(0x1bc)](_0x4efed1[_0x4ee075(0x231)])){const _0xe4ff28=_0x388446['get'](_0x4efed1[_0x4ee075(0x231)]);_0xe4ff28[_0x4ee075(0xc5)]+=',\x20'+_0x4efed1[_0x4ee075(0xc5)];}else _0x388446['set'](_0x4efed1[_0x4ee075(0x231)],_0x4efed1);}),Array[_0x1c0e2f(0x2f7)](_0x388446['values']());}var Bt=Object[_0x4e74b9(0x13e)],Ft=(_0x202747,_0x87c204,_0x1b3dd4,_0x175536)=>{const _0x223e11=_0x4e74b9;for(var _0x2bca09=_0x175536>0x1?void 0x0:_0x175536?Bt(_0x87c204,_0x1b3dd4):_0x87c204,_0x596fe1=_0x202747[_0x223e11(0xd2)]-0x1,_0x516977;_0x596fe1>=0x0;_0x596fe1--)(_0x516977=_0x202747[_0x596fe1])&&(_0x2bca09=_0x516977(_0x2bca09)||_0x2bca09);return _0x2bca09;},y=(_0x2bdf77,_0xdddfbf)=>(_0x9bb17e,_0x378993)=>_0xdddfbf(_0x9bb17e,_0x378993,_0x2bdf77);let Z=class extends a[_0x4e74b9(0x1e4)]{constructor(_0x26c93a,_0x143106,_0x48a4ef,_0x35a3d0,_0xcb05f6,_0x3c7f18){const _0x19aa21=_0x4e74b9;super(),this[_0x19aa21(0x243)]=_0x26c93a,this[_0x19aa21(0x241)]=_0x143106,this['_collaborationUIEventService']=_0x48a4ef,this['_messageService']=_0x35a3d0,this[_0x19aa21(0x160)]=_0xcb05f6,this['_localeService']=_0x3c7f18,this[_0x19aa21(0x252)](),this[_0x19aa21(0xbb)]();}[_0x4e74b9(0x252)](){const _0x34d339=_0x4e74b9;this['disposeWithMe'](this[_0x34d339(0x243)][_0x34d339(0x10b)](()=>{const _0x108e37=_0x34d339;if(this[_0x108e37(0x241)][_0x108e37(0x1b1)][_0x108e37(0x337)])return this[_0x108e37(0x1ce)]['t'](_0x108e37(0x14d));}));}[_0x4e74b9(0xbb)](){const _0x4ae5b7=_0x4e74b9;this[_0x4ae5b7(0x31b)](this[_0x4ae5b7(0x149)][_0x4ae5b7(0xef)]['subscribe'](_0x8644ee=>{const _0x184493=_0x4ae5b7;_0x8644ee['id']===u[_0x184493(0x350)][_0x184493(0x108)]&&this[_0x184493(0xdb)][_0x184493(0x1e5)]({'type':p[_0x184493(0x324)][_0x184493(0x352)],'content':this[_0x184493(0x1ce)]['t'](_0x184493(0x282))}),_0x8644ee['id']===u[_0x184493(0x350)]['CLOSE_ROOM']&&this[_0x184493(0xdb)][_0x184493(0x1e5)]({'type':p[_0x184493(0x324)][_0x184493(0x352)],'content':this[_0x184493(0x1ce)]['t'](_0x184493(0x34f))}),_0x8644ee['id']===u[_0x184493(0x350)]['PERMISSION_DENIED']&&this['_notificationService'][_0x184493(0x1e5)]({'title':this[_0x184493(0x1ce)]['t']('permission.title'),'content':this[_0x184493(0x1ce)]['t'](_0x184493(0x2ee)),'type':_0x184493(0x1d6),'duration':0x0}),_0x8644ee['id']===u[_0x184493(0x350)][_0x184493(0x1dd)]&&this[_0x184493(0xdb)][_0x184493(0x1e5)]({'type':p[_0x184493(0x324)][_0x184493(0xa2)],'content':this[_0x184493(0x1ce)]['t'](_0x184493(0x34f))+'('+_0x8644ee[_0x184493(0x1aa)]+')'}),_0x8644ee['id']===u[_0x184493(0x350)][_0x184493(0x17d)]&&this['_messageService'][_0x184493(0x1e5)]({'type':p[_0x184493(0x324)]['Warning'],'content':this['_localeService']['t'](_0x8644ee[_0x184493(0x1aa)]||'')}),_0x8644ee['id']===u[_0x184493(0x350)][_0x184493(0x13b)]&&this[_0x184493(0xdb)][_0x184493(0x1e5)]({'type':p[_0x184493(0x324)][_0x184493(0x352)],'content':this['_localeService']['t'](_0x184493(0x166))}),_0x8644ee['id']===u['CollaborationUIEventId']['SOCKET_FAILED']&&this[_0x184493(0xdb)][_0x184493(0x1e5)]({'type':p[_0x184493(0x324)][_0x184493(0xa2)],'content':this[_0x184493(0x1ce)]['t'](_0x184493(0x115))}),_0x8644ee['id']===u[_0x184493(0x350)]['SUBMIT_CHANGESET_TIMEOUT']&&this[_0x184493(0xdb)][_0x184493(0x1e5)]({'type':p['MessageType'][_0x184493(0xa2)],'content':this[_0x184493(0x1ce)]['t'](_0x184493(0x112))});}));}};Z=Ft([y(0x0,O[_0x4e74b9(0x22b)]),y(0x1,u['ILocalCacheService']),y(0x2,a[_0x4e74b9(0x2a2)](u[_0x4e74b9(0x364)])),y(0x3,O['IMessageService']),y(0x4,O[_0x4e74b9(0x181)]),y(0x5,a[_0x4e74b9(0x2a2)](a[_0x4e74b9(0x2d1)]))],Z);var jt=Object[_0x4e74b9(0x13e)],kt=(_0x5e3a58,_0x35bf01,_0x3278a3,_0x5e56c4)=>{for(var _0x17c0b9=_0x5e56c4>0x1?void 0x0:_0x5e56c4?jt(_0x35bf01,_0x3278a3):_0x35bf01,_0x329274=_0x5e3a58['length']-0x1,_0x997296;_0x329274>=0x0;_0x329274--)(_0x997296=_0x5e3a58[_0x329274])&&(_0x17c0b9=_0x997296(_0x17c0b9)||_0x17c0b9);return _0x17c0b9;},z=(_0x50ff31,_0x258991)=>(_0x4c649a,_0xa2a9ce)=>_0x258991(_0x4c649a,_0xa2a9ce,_0x50ff31);let Q=class extends a[_0x4e74b9(0x1e4)]{constructor(_0x345638,_0xb16451,_0x2d829a,_0x33b619){const _0x332320=_0x4e74b9;super(),_(this,_0x332320(0x116)),(this[_0x332320(0xfb)]=_0x345638,this[_0x332320(0x127)]=_0xb16451,this[_0x332320(0x2de)]=_0x2d829a,this['_collaborationSessionService']=_0x33b619,this[_0x332320(0x360)]());}[_0x4e74b9(0x360)](){const _0x2b3612=_0x4e74b9;this[_0x2b3612(0x226)](),this[_0x2b3612(0x275)](),this[_0x2b3612(0x1c4)](),this[_0x2b3612(0x170)]();}[_0x4e74b9(0x170)](){const _0x2549ba=_0x4e74b9;this[_0x2549ba(0x31b)](this['_collaborationSessionService'][_0x2549ba(0x300)]['subscribe'](_0x1623c5=>{const _0x2eefcb=_0x2549ba;this[_0x2eefcb(0x116)]=_0x1623c5==null?void 0x0:_0x1623c5[_0x2eefcb(0x122)];}));}['_initWindowErrorListener'](){const _0x324c8d=_0x4e74b9,_0x1c34fd=_0x34494e=>{const _0x9c5d42=_0x33a7;var _0x14ad46;this['_uploadLog'](_0x9c5d42(0x1d6),'[Window\x20Error]:\x20'+_0x34494e[_0x9c5d42(0x2ff)]+'\x20at\x20'+_0x34494e['filename']+':'+_0x34494e[_0x9c5d42(0x251)]+':'+_0x34494e[_0x9c5d42(0x33c)]+'\x0a'+(((_0x14ad46=_0x34494e[_0x9c5d42(0x1d6)])==null?void 0x0:_0x14ad46['stack'])||''));};window[_0x324c8d(0x287)](_0x324c8d(0x1d6),_0x1c34fd),this[_0x324c8d(0x31b)](()=>{const _0x3c47db=_0x324c8d;window[_0x3c47db(0x22a)](_0x3c47db(0x1d6),_0x1c34fd);});}[_0x4e74b9(0x275)](){const _0x7b8dcc=_0x4e74b9,_0x248626=_0x1e66ab=>{const _0x36c451=_0x33a7;this['_uploadLog'](_0x36c451(0x1d6),'[Unhandled\x20Rejection]:\x20'+_0x1e66ab[_0x36c451(0x172)]);};window['addEventListener'](_0x7b8dcc(0x245),_0x248626),this['disposeWithMe'](()=>{const _0xc9445f=_0x7b8dcc;window['removeEventListener'](_0xc9445f(0x245),_0x248626);});}[_0x4e74b9(0x1c4)](){const _0x23d55a=_0x4e74b9,_0x358117=this['_logService']['error'][_0x23d55a(0x347)](this[_0x23d55a(0x2de)]);this[_0x23d55a(0x2de)][_0x23d55a(0x1d6)]=(..._0x4bff87)=>{const _0x19159b=_0x23d55a,_0x17e37e=_0x4bff87[_0x19159b(0x1b0)](_0x57dc24=>_0x57dc24 instanceof Error?_0x57dc24[_0x19159b(0x2ff)]+'\x0a'+_0x57dc24[_0x19159b(0x27e)]:String(_0x57dc24))[_0x19159b(0x335)]('\x20');this[_0x19159b(0x1fb)](_0x19159b(0x1d6),_0x19159b(0x20c)+_0x17e37e),_0x358117(..._0x4bff87);},this['disposeWithMe'](()=>{const _0x5bf632=_0x23d55a;this[_0x5bf632(0x2de)][_0x5bf632(0x1d6)]=_0x358117;});}[_0x4e74b9(0x1fb)](_0x5f52b0,_0x3880e0){const _0x3cba7a=_0x4e74b9;try{const _0x1d06c3={'userId':this[_0x3cba7a(0x116)],'logLabel':_0x5f52b0,'content':_0x3880e0};this[_0x3cba7a(0x127)][_0x3cba7a(0x30b)](_0x3cba7a(0x185),{'body':_0x1d06c3})[_0x3cba7a(0xc4)](()=>{});}catch{}}};Q=kt([z(0x0,a[_0x4e74b9(0x2a2)](a[_0x4e74b9(0x26e)])),z(0x1,a['Inject'](x[_0x4e74b9(0xee)])),z(0x2,a['ILogService']),z(0x3,a[_0x4e74b9(0x2a2)](u['CollaborationSessionService']))],Q);const Yt='collaboration-client-ui.config',Me={};var Ht=Object['getOwnPropertyDescriptor'],Wt=(_0x5a68ed,_0x25c5d6,_0x50080d,_0x46a681)=>{const _0x2828f4=_0x4e74b9;for(var _0x43078c=_0x46a681>0x1?void 0x0:_0x46a681?Ht(_0x25c5d6,_0x50080d):_0x25c5d6,_0x544eb5=_0x5a68ed[_0x2828f4(0xd2)]-0x1,_0x1e4927;_0x544eb5>=0x0;_0x544eb5--)(_0x1e4927=_0x5a68ed[_0x544eb5])&&(_0x43078c=_0x1e4927(_0x43078c)||_0x43078c);return _0x43078c;},Ae=(_0x140c4a,_0x27ec27)=>(_0x3bdb0e,_0x1b46f7)=>_0x27ec27(_0x3bdb0e,_0x1b46f7,_0x140c4a);let ee=class{constructor(_0x46c67a,_0x45e2b0){const _0x523752=_0x4e74b9;this['_transformService']=_0x46c67a,this[_0x523752(0xe5)]=_0x45e2b0;}[_0x4e74b9(0x27d)](_0x5b7c7e){const _0x2c841e=_0x4e74b9;this[_0x2c841e(0x1f5)](_0x5b7c7e),this[_0x2c841e(0x146)](_0x5b7c7e);}[_0x4e74b9(0x35a)](_0x46186a){const _0x133061=_0x4e74b9,{unitID:_0x5945cf}=_0x46186a,_0x57537a=this[_0x133061(0xe5)]['getRenderById'](_0x5945cf)[_0x133061(0x2ef)](T[_0x133061(0x290)]),{redoCache:_0x23a563}=_0x57537a[_0x133061(0x2fd)]();if(_0x23a563[_0x133061(0xd2)]===0x0)return _0x46186a;let _0x41f98c=a['Tools'][_0x133061(0x281)](_0x46186a[_0x133061(0x2d0)][0x0]);for(let _0x50d0f8=0x0;_0x50d0f8<_0x23a563[_0x133061(0xd2)];_0x50d0f8++){const _0x456d38={'id':'doc.mutation.rich-text-editing','params':{..._0x23a563[_0x50d0f8]}},_0x347682=this['_transformService'][_0x133061(0x15d)](_0x41f98c,_0x456d38,!0x1);if(g[_0x133061(0x23a)](_0x347682))throw _0x347682[_0x133061(0x1d6)];_0x41f98c=_0x347682['m1Prime'];}return{...a['Tools'][_0x133061(0x281)](_0x46186a),'mutations':[_0x41f98c]};}[_0x4e74b9(0x1f5)](_0x4b6f59){const _0xe5829b=_0x4e74b9,{unitID:_0x21e7a5}=_0x4b6f59,_0x3001d0=this[_0xe5829b(0xe5)][_0xe5829b(0x206)](_0x21e7a5)[_0xe5829b(0x2ef)](T[_0xe5829b(0x290)]),{undoCache:_0x34ba72,redoCache:_0x18f65c}=_0x3001d0[_0xe5829b(0x2fd)]();if(_0x34ba72[_0xe5829b(0xd2)]===0x0||_0x18f65c[_0xe5829b(0xd2)]===0x0)return;const _0x292d25=[],_0x456e49=[];let _0x295319=a[_0xe5829b(0x144)][_0xe5829b(0x281)](_0x4b6f59[_0xe5829b(0x2d0)][0x0]),_0x2280bf=a[_0xe5829b(0x144)][_0xe5829b(0x281)](_0x4b6f59[_0xe5829b(0x2d0)][0x0]);for(let _0x2e79d6=_0x34ba72['length']-0x1;_0x2e79d6>=0x0;_0x2e79d6--){const _0x506aac={'id':_0xe5829b(0x150),'params':{..._0x34ba72[_0x2e79d6]}},_0x7b524e={'id':_0xe5829b(0x150),'params':{..._0x18f65c[_0x2e79d6]}},_0x493884=this['_transformService'][_0xe5829b(0x15d)](_0x295319,_0x506aac,!0x1),_0x5423ad=this[_0xe5829b(0x169)][_0xe5829b(0x15d)](_0x2280bf,_0x7b524e,!0x1);if(g['isTransformMutationFailure'](_0x493884))throw _0x493884[_0xe5829b(0x1d6)];if(g[_0xe5829b(0x23a)](_0x5423ad))throw _0x5423ad[_0xe5829b(0x1d6)];_0x292d25[_0xe5829b(0x2aa)](_0x493884[_0xe5829b(0x2e6)][_0xe5829b(0x101)]),_0x456e49[_0xe5829b(0x2aa)](_0x5423ad['m2Prime'][_0xe5829b(0x101)]),_0x295319=_0x493884[_0xe5829b(0x134)],_0x2280bf=_0x5423ad['m1Prime'];}_0x3001d0[_0xe5829b(0xd6)]({'undoCache':_0x292d25,'redoCache':_0x456e49});}[_0x4e74b9(0x146)](_0x14510b){const _0x363733=_0x4e74b9,{unitID:_0x310d22}=_0x14510b,_0x450fde=this[_0x363733(0xe5)][_0x363733(0x206)](_0x310d22)[_0x363733(0x2ef)](T[_0x363733(0x290)]),_0x369f6d=_0x450fde['getActiveRange']();if(_0x369f6d==null)return;const _0x39dfd9=[{'id':_0x363733(0x150),'params':{'unitId':_0x14510b[_0x363733(0x173)],'actions':null,'textRanges':[_0x369f6d]}}],_0x593a2d=this[_0x363733(0x169)][_0x363733(0x17f)](_0x14510b,_0x39dfd9);if(!g[_0x363733(0x294)](_0x593a2d))throw _0x593a2d[_0x363733(0x1d6)];const _0x2ebf7a=_0x593a2d[_0x363733(0x2e6)][0x0][_0x363733(0x101)][_0x363733(0x228)];Array[_0x363733(0x368)](_0x2ebf7a)&&_0x2ebf7a[_0x363733(0xd2)]&&_0x450fde[_0x363733(0x18d)](_0x2ebf7a[0x0]);}};ee=Wt([Ae(0x0,g[_0x4e74b9(0x14e)]),Ae(0x1,C[_0x4e74b9(0x320)])],ee);var Vt=Object[_0x4e74b9(0x13e)],Gt=(_0x2f9b05,_0x538f60,_0x457958,_0x209f6e)=>{const _0x2a9015=_0x4e74b9;for(var _0x14841e=_0x209f6e>0x1?void 0x0:_0x209f6e?Vt(_0x538f60,_0x457958):_0x538f60,_0x48acad=_0x2f9b05[_0x2a9015(0xd2)]-0x1,_0x452a76;_0x48acad>=0x0;_0x48acad--)(_0x452a76=_0x2f9b05[_0x48acad])&&(_0x14841e=_0x452a76(_0x14841e)||_0x14841e);return _0x14841e;},Ie=(_0x205744,_0x2aefc9)=>(_0x4f8081,_0xe6977d)=>_0x2aefc9(_0x4f8081,_0xe6977d,_0x205744);let te=class{constructor(_0x42db63,_0x11da01,_0x48a263){const _0xb1d0d4=_0x4e74b9;this[_0xb1d0d4(0xfb)]=_0x42db63,this[_0xb1d0d4(0x169)]=_0x11da01,this['_docStateChangeManagerService']=_0x48a263;}[_0x4e74b9(0x1db)](_0x23e4da){this['_transformHistoryAndStateStack'](_0x23e4da);}['transformRemoteChangeset'](_0x2687f7){const _0x91a652=_0x4e74b9,{unitID:_0x2a085d}=_0x2687f7,{collaboration:_0x4d31d6}=this['_docStateChangeManagerService'][_0x91a652(0x2ab)](_0x2a085d);if(_0x4d31d6['length']===0x0)return _0x2687f7;let _0x52e739=a[_0x91a652(0x144)]['deepClone'](_0x2687f7[_0x91a652(0x2d0)][0x0]);for(let _0x3f6e40=0x0;_0x3f6e40<_0x4d31d6[_0x91a652(0xd2)];_0x3f6e40++){const _0x5df438={'id':_0x91a652(0x150),'params':{'unitId':_0x4d31d6[_0x3f6e40]['unitId'],..._0x4d31d6[_0x3f6e40][_0x91a652(0x14c)]}},_0x279012=this[_0x91a652(0x169)][_0x91a652(0x15d)](_0x52e739,_0x5df438,!0x1);if(g['isTransformMutationFailure'](_0x279012))throw _0x279012['error'];_0x52e739=_0x279012['m1Prime'];}return{...a['Tools'][_0x91a652(0x281)](_0x2687f7),'mutations':[_0x52e739]};}[_0x4e74b9(0x265)](_0x15ba29){const _0x57db1c=_0x4e74b9,{unitID:_0x585f94}=_0x15ba29,{history:_0x85506f,collaboration:_0x39b393}=this['_docStateChangeManagerService'][_0x57db1c(0x2ab)](_0x585f94);if(_0x85506f[_0x57db1c(0xd2)]===0x0&&_0x39b393['length']===0x0)return;const _0x2965ec=[],_0x229e22=[];let _0xcbaa62=a[_0x57db1c(0x144)]['deepClone'](_0x15ba29[_0x57db1c(0x2d0)][0x0]),_0x839cb9=a[_0x57db1c(0x144)][_0x57db1c(0x281)](_0x15ba29[_0x57db1c(0x2d0)][0x0]);for(let _0xdbd865=_0x85506f['length']-0x1;_0xdbd865>=0x0;_0xdbd865--){const _0x571f6f={'id':_0x57db1c(0x150),'params':{'unitId':_0x85506f[_0xdbd865][_0x57db1c(0x126)],..._0x85506f[_0xdbd865]['undoState']}},_0x549d74={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x85506f[_0xdbd865][_0x57db1c(0x126)],..._0x85506f[_0xdbd865][_0x57db1c(0x14c)]}},_0x129d62=this[_0x57db1c(0x169)]['transformMutation'](_0xcbaa62,_0x571f6f,!0x1),_0x287b89=this[_0x57db1c(0x169)][_0x57db1c(0x15d)](_0x839cb9,_0x549d74,!0x1);if(g[_0x57db1c(0x23a)](_0x129d62))throw _0x129d62[_0x57db1c(0x1d6)];if(g[_0x57db1c(0x23a)](_0x287b89))throw _0x287b89[_0x57db1c(0x1d6)];_0x2965ec[_0x57db1c(0x2aa)]({..._0x85506f[_0xdbd865],'undoState':_0x129d62[_0x57db1c(0x2e6)][_0x57db1c(0x101)],'redoState':_0x287b89[_0x57db1c(0x2e6)][_0x57db1c(0x101)]}),_0xcbaa62=_0x129d62[_0x57db1c(0x134)],_0x839cb9=_0x287b89['m1Prime'];}_0xcbaa62=a[_0x57db1c(0x144)]['deepClone'](_0x15ba29[_0x57db1c(0x2d0)][0x0]),_0x839cb9=a[_0x57db1c(0x144)][_0x57db1c(0x281)](_0x15ba29[_0x57db1c(0x2d0)][0x0]);for(let _0x51c945=_0x39b393[_0x57db1c(0xd2)]-0x1;_0x51c945>=0x0;_0x51c945--){const _0x49dcef={'id':_0x57db1c(0x150),'params':{'unitId':_0x39b393[_0x51c945][_0x57db1c(0x126)],..._0x39b393[_0x51c945]['undoState']}},_0x517052={'id':_0x57db1c(0x150),'params':{'unitId':_0x39b393[_0x51c945]['unitId'],..._0x39b393[_0x51c945][_0x57db1c(0x14c)]}},_0x2f9f57=this['_transformService'][_0x57db1c(0x15d)](_0xcbaa62,_0x49dcef,!0x1),_0x110b73=this[_0x57db1c(0x169)]['transformMutation'](_0x839cb9,_0x517052,!0x1);if(g[_0x57db1c(0x23a)](_0x2f9f57))throw _0x2f9f57[_0x57db1c(0x1d6)];if(g['isTransformMutationFailure'](_0x110b73))throw _0x110b73[_0x57db1c(0x1d6)];_0x229e22[_0x57db1c(0x2aa)]({..._0x39b393[_0x51c945],'undoState':_0x2f9f57['m2Prime']['params'],'redoState':_0x110b73[_0x57db1c(0x2e6)][_0x57db1c(0x101)]}),_0xcbaa62=_0x2f9f57[_0x57db1c(0x134)],_0x839cb9=_0x110b73[_0x57db1c(0x134)];}this[_0x57db1c(0x22c)][_0x57db1c(0x341)](_0x585f94,{'history':_0x2965ec,'collaboration':_0x229e22});}};te=Gt([Ie(0x0,a['Inject'](a[_0x4e74b9(0x26e)])),Ie(0x1,g[_0x4e74b9(0x14e)]),Ie(0x2,a['Inject'](T['DocStateChangeManagerService']))],te);var Xt=Object['getOwnPropertyDescriptor'],Kt=(_0x4cf440,_0x3fe401,_0x45b47d,_0x1dc381)=>{const _0x69738a=_0x4e74b9;for(var _0x8e2a6d=_0x1dc381>0x1?void 0x0:_0x1dc381?Xt(_0x3fe401,_0x45b47d):_0x3fe401,_0x473146=_0x4cf440[_0x69738a(0xd2)]-0x1,_0xe54a5f;_0x473146>=0x0;_0x473146--)(_0xe54a5f=_0x4cf440[_0x473146])&&(_0x8e2a6d=_0xe54a5f(_0x8e2a6d)||_0x8e2a6d);return _0x8e2a6d;},Pe=(_0x42cbff,_0x45b4f4)=>(_0x306057,_0x2ccee6)=>_0x45b4f4(_0x306057,_0x2ccee6,_0x42cbff);let se=class{constructor(_0x488ea3,_0x3a9a8c){const _0x589400=_0x4e74b9;this[_0x589400(0xfb)]=_0x488ea3,this[_0x589400(0x169)]=_0x3a9a8c;}['transformSelections'](_0x434042){const _0x5f2f82=_0x4e74b9;var _0x43f826;const _0x1b900b=this[_0x5f2f82(0xfb)][_0x5f2f82(0x33e)](V[_0x5f2f82(0x1bf)]),_0xe5ecba=(_0x43f826=_0x1b900b[_0x5f2f82(0x32f)]())!=null?_0x43f826:[];if(_0xe5ecba[_0x5f2f82(0xd2)]===0x0)return;const _0x1ab7b2=_0x434042[_0x5f2f82(0x173)],_0x469403=[{'id':_0x5f2f82(0x150),'params':{'unitId':_0x1ab7b2,'actions':null,'textRanges':_0xe5ecba}}],_0x42315e=this[_0x5f2f82(0x169)][_0x5f2f82(0x17f)](_0x434042,_0x469403);if(!g[_0x5f2f82(0x294)](_0x42315e))throw _0x42315e[_0x5f2f82(0x1d6)];const _0x19b98c=_0x42315e[_0x5f2f82(0x2e6)][0x0]['params'][_0x5f2f82(0x228)];Array[_0x5f2f82(0x368)](_0x19b98c)&&_0x19b98c[_0x5f2f82(0xd2)]&&_0x1b900b['replaceDocRanges'](_0x19b98c,{'unitId':_0x1ab7b2,'subUnitId':_0x1ab7b2},!0x1);}};se=Kt([Pe(0x0,a[_0x4e74b9(0x2a2)](a[_0x4e74b9(0x26e)])),Pe(0x1,g['ITransformService'])],se);var qt=Object[_0x4e74b9(0x13e)],zt=(_0x13b17c,_0x5c7ce0,_0x2dd7b6,_0x1be452)=>{const _0x61f604=_0x4e74b9;for(var _0xea73bf=_0x1be452>0x1?void 0x0:_0x1be452?qt(_0x5c7ce0,_0x2dd7b6):_0x5c7ce0,_0x44d41d=_0x13b17c[_0x61f604(0xd2)]-0x1,_0x47842f;_0x44d41d>=0x0;_0x44d41d--)(_0x47842f=_0x13b17c[_0x44d41d])&&(_0xea73bf=_0x47842f(_0xea73bf)||_0xea73bf);return _0xea73bf;},N=(_0x2f2f5d,_0x1d62bd)=>(_0x11e7c1,_0x2f819f)=>_0x1d62bd(_0x11e7c1,_0x2f819f,_0x2f2f5d);let ie=class extends a[_0x4e74b9(0x1e4)]{constructor(_0x4a19a1,_0x4f94a3,_0x2dab4f,_0x5c8fb3,_0x2c8a13,_0x2222ed,_0x32060b,_0x16573b){const _0x6c7bd2=_0x4e74b9;super(),_(this,_0x6c7bd2(0x12e),new I['BehaviorSubject'](u[_0x6c7bd2(0x1d5)][_0x6c7bd2(0x1bd)])),(this[_0x6c7bd2(0x22c)]=_0x4a19a1,this['_collaborationController']=_0x4f94a3,this[_0x6c7bd2(0x16c)]=_0x2dab4f,this[_0x6c7bd2(0x2c7)]=_0x5c8fb3,this[_0x6c7bd2(0x151)]=_0x2c8a13,this[_0x6c7bd2(0x2ad)]=_0x2222ed,this[_0x6c7bd2(0xdb)]=_0x32060b,this[_0x6c7bd2(0x1ce)]=_0x16573b,this[_0x6c7bd2(0x215)]());}['_initEntityListener'](){const _0x39d6cd=_0x4e74b9;this[_0x39d6cd(0x31b)](this['_collaborationController']['entityInit$']['subscribe'](_0x394dc6=>{const _0x5934df=_0x39d6cd,_0x13d242=this[_0x5934df(0x22c)][_0x5934df(0x2eb)][_0x5934df(0xd0)](_0x4175d3=>{const _0x231d89=_0x5934df;if(_0x4175d3==null)return;const {unitId:_0x4eca89,redoState:_0x482d2a,commandId:_0x3262cc}=_0x4175d3;if(_0x4eca89!==_0x394dc6['unitID'])return;const _0x37722c={'id':_0x3262cc,'type':a[_0x231d89(0x292)][_0x231d89(0x1b2)],'params':{'unitId':_0x4eca89,'actions':_0x482d2a['actions'],'textRanges':null}};_0x394dc6['onLocalMutation'](_0x37722c);});if(_0x394dc6['disposeWithMe'](_0x13d242),_0x394dc6 instanceof u[_0x5934df(0x18a)]){const _0x26b250={'onTransformIME':_0x561c63=>this[_0x5934df(0x16c)][_0x5934df(0x27d)](_0x561c63),'onTransformState':_0x553030=>this[_0x5934df(0x2c7)][_0x5934df(0x1db)](_0x553030),'onTransformSelections':_0x1259fe=>this['_docTransformSelectionsService'][_0x5934df(0x31c)](_0x1259fe),'onSyncEditingCollabCursor':_0x1e9658=>this[_0x5934df(0x2ad)][_0x5934df(0x20e)](_0x1e9658),'onTransformRemoteChangesetByIMECache':_0x1eae7e=>this[_0x5934df(0x16c)][_0x5934df(0x35a)](_0x1eae7e),'onTransformRemoteChangesetByStateCache':_0x5dde4d=>this[_0x5934df(0x2c7)][_0x5934df(0x35a)](_0x5dde4d)};_0x394dc6[_0x5934df(0x323)](_0x26b250);}}));}};ie=zt([N(0x0,a['Inject'](T['DocStateChangeManagerService'])),N(0x1,a['Inject'](u[_0x4e74b9(0x356)])),N(0x2,a['Inject'](ee)),N(0x3,a[_0x4e74b9(0x2a2)](te)),N(0x4,a[_0x4e74b9(0x2a2)](se)),N(0x5,a['Inject'](be)),N(0x6,O['IMessageService']),N(0x7,a['Inject'](a['LocaleService']))],ie);var G=(_0x5e2be3=>(_0x5e2be3[_0x5e2be3[_0x4e74b9(0x201)]=0x0]=_0x4e74b9(0x201),_0x5e2be3[_0x5e2be3['OK']=0x1]='OK',_0x5e2be3[_0x5e2be3[_0x4e74b9(0x274)]=0x2]='INTERNAL_ERROR',_0x5e2be3[_0x5e2be3[_0x4e74b9(0xde)]=0x3]=_0x4e74b9(0xde),_0x5e2be3[_0x5e2be3[_0x4e74b9(0x273)]=0x4]=_0x4e74b9(0x273),_0x5e2be3[_0x5e2be3['UNAUTHENTICATED']=0x5]=_0x4e74b9(0x30e),_0x5e2be3[_0x5e2be3['ALREADY_EXISTS']=0x6]=_0x4e74b9(0x32c),_0x5e2be3[_0x5e2be3[_0x4e74b9(0x2c3)]=0x7]='INVALID_ARGUMENT',_0x5e2be3[_0x5e2be3[_0x4e74b9(0x21b)]=0x8]=_0x4e74b9(0x21b),_0x5e2be3[_0x5e2be3[_0x4e74b9(0x35d)]=0x9]='COMPLETION_FINISHED',_0x5e2be3[_0x5e2be3[_0x4e74b9(0x17b)]=0xa]='LOGIN_FAILED',_0x5e2be3[_0x5e2be3[_0x4e74b9(0x366)]=0xb]='MOBILE_VERIFY_CODE_MISMATCH',_0x5e2be3[_0x5e2be3[_0x4e74b9(0x1d4)]=0xc]=_0x4e74b9(0x1d4),_0x5e2be3[_0x5e2be3[_0x4e74b9(0x2a7)]=0xd]='EMAIL_VERIFY_CODE_MISMATCH',_0x5e2be3[_0x5e2be3[_0x4e74b9(0x212)]=0xe]=_0x4e74b9(0x212),_0x5e2be3[_0x5e2be3[_0x4e74b9(0xf5)]=0xf]=_0x4e74b9(0xf5),_0x5e2be3[_0x5e2be3[_0x4e74b9(0x23b)]=0x10]=_0x4e74b9(0x23b),_0x5e2be3[_0x5e2be3[_0x4e74b9(0x2a4)]=0x64]=_0x4e74b9(0x2a4),_0x5e2be3[_0x5e2be3[_0x4e74b9(0x13a)]=0x65]=_0x4e74b9(0x13a),_0x5e2be3[_0x5e2be3[_0x4e74b9(0xc8)]=0xc9]=_0x4e74b9(0xc8),_0x5e2be3[_0x5e2be3[_0x4e74b9(0x187)]=0xca]='USER_IS_ANONYMOUS',_0x5e2be3[_0x5e2be3[_0x4e74b9(0x303)]=0x1389]='CHANGESET_REVISION_CONFILICT',_0x5e2be3[_0x5e2be3[_0x4e74b9(0x336)]=0x1771]=_0x4e74b9(0x336),_0x5e2be3[_0x5e2be3[_0x4e74b9(0x1c6)]=0x1772]=_0x4e74b9(0x1c6),_0x5e2be3[_0x5e2be3[_0x4e74b9(0x263)]=0x1773]=_0x4e74b9(0x263),_0x5e2be3[_0x5e2be3['APPLY_REJECT']=0x1b59]=_0x4e74b9(0x103),_0x5e2be3[_0x5e2be3['APPLY_NON_SEQUENTIAL_REVISION']=0x1b5a]=_0x4e74b9(0x1a6),_0x5e2be3[_0x5e2be3['APPLY_REVISION_CONFILICT']=0x1b5b]=_0x4e74b9(0xb7),_0x5e2be3[_0x5e2be3['APPLY_PERMISSION_DENIED']=0x1b5c]='APPLY_PERMISSION_DENIED',_0x5e2be3[_0x5e2be3[_0x4e74b9(0x1d0)]=0x1b5d]='APPLY_DUPLICATED',_0x5e2be3[_0x5e2be3[_0x4e74b9(0x12c)]=0x1f41]=_0x4e74b9(0x12c),_0x5e2be3[_0x5e2be3[_0x4e74b9(0xa8)]=0x2329]=_0x4e74b9(0xa8),_0x5e2be3[_0x5e2be3[_0x4e74b9(0x27f)]=0x232a]=_0x4e74b9(0x27f),_0x5e2be3[_0x5e2be3[_0x4e74b9(0x11d)]=0x232b]=_0x4e74b9(0x11d),_0x5e2be3[_0x5e2be3[_0x4e74b9(0x10d)]=0x232c]=_0x4e74b9(0x10d),_0x5e2be3[_0x5e2be3[_0x4e74b9(0x1e2)]=0x232d]='LICENSE_DISTRO_REJECTED',_0x5e2be3[_0x5e2be3[_0x4e74b9(0x13c)]=0x2711]=_0x4e74b9(0x13c),_0x5e2be3[_0x5e2be3[_0x4e74b9(0x330)]=0x2712]=_0x4e74b9(0x330),_0x5e2be3[_0x5e2be3['YUUMI_RATE_OVER_LIMIT']=0x2713]=_0x4e74b9(0x189),_0x5e2be3[_0x5e2be3[_0x4e74b9(0x2f6)]=0x2714]='YUUMI_SUBSCRIPTION_NOT_FOUND',_0x5e2be3[_0x5e2be3[_0x4e74b9(0x14f)]=0x271a]=_0x4e74b9(0x14f),_0x5e2be3[_0x5e2be3[_0x4e74b9(0x2a6)]=0x271b]=_0x4e74b9(0x2a6),_0x5e2be3[_0x5e2be3[_0x4e74b9(0xf3)]=0x271c]=_0x4e74b9(0xf3),_0x5e2be3[_0x5e2be3['YUUMI_ALL_TABLES_IS_INVALID']=0x271d]=_0x4e74b9(0x297),_0x5e2be3[_0x5e2be3[_0x4e74b9(0x1ef)]=0x271e]=_0x4e74b9(0x1ef),_0x5e2be3[_0x5e2be3[_0x4e74b9(0x142)]=0x271f]='YUUMI_AI_RUN_FAILED',_0x5e2be3[_0x5e2be3[_0x4e74b9(0x1e0)]=0x2720]=_0x4e74b9(0x1e0),_0x5e2be3[_0x5e2be3['PY_RUNTIME_SCRIPT_ERROR']=0x2af9]=_0x4e74b9(0x2c4),_0x5e2be3[_0x5e2be3[_0x4e74b9(0x137)]=0x2ee1]='INVITE_CODE_HAS_BEEN_UES',_0x5e2be3[_0x5e2be3[_0x4e74b9(0x2d5)]=0x2ee2]=_0x4e74b9(0x2d5),_0x5e2be3[_0x5e2be3[_0x4e74b9(0x285)]=0x2ee3]=_0x4e74b9(0x285),_0x5e2be3[_0x5e2be3[_0x4e74b9(0x107)]=0x2ee4]=_0x4e74b9(0x107),_0x5e2be3[_0x5e2be3[_0x4e74b9(0xd3)]=0x2ee5]=_0x4e74b9(0xd3),_0x5e2be3[_0x5e2be3[_0x4e74b9(0x2bf)]=0x32c9]=_0x4e74b9(0x2bf),_0x5e2be3[_0x5e2be3[_0x4e74b9(0x2e1)]=0x32ca]=_0x4e74b9(0x2e1),_0x5e2be3[_0x5e2be3[_0x4e74b9(0x32a)]=0x32cb]=_0x4e74b9(0x32a),_0x5e2be3[_0x5e2be3['ENTITLE_CAN_NOT_BUY_LOWER_OTP']=0x36b1]='ENTITLE_CAN_NOT_BUY_LOWER_OTP',_0x5e2be3[_0x5e2be3[_0x4e74b9(0x256)]=0x36b2]=_0x4e74b9(0x256),_0x5e2be3[_0x5e2be3[_0x4e74b9(0x286)]=0x36b3]='ENTITLE_DUP_SUBSCRIPTION',_0x5e2be3[_0x5e2be3[_0x4e74b9(0x19a)]=0x36b4]=_0x4e74b9(0x19a),_0x5e2be3[_0x5e2be3[_0x4e74b9(0xdd)]=0x36b5]=_0x4e74b9(0xdd),_0x5e2be3[_0x5e2be3[_0x4e74b9(0x318)]=0x36b6]=_0x4e74b9(0x318),_0x5e2be3[_0x5e2be3[_0x4e74b9(0x1fe)]=0x36b7]='ENTITLE_COUPON_USED_UP',_0x5e2be3[_0x5e2be3[_0x4e74b9(0x153)]=0x36b8]=_0x4e74b9(0x153),_0x5e2be3[_0x5e2be3[_0x4e74b9(0x346)]=0x3715]='ENTITLE_CHAT_LIMIT_EXCEED',_0x5e2be3[_0x5e2be3[_0x4e74b9(0x105)]=0x3716]=_0x4e74b9(0x105),_0x5e2be3[_0x5e2be3['ENTITLE_INSUFFICIENT_QUOTA']=0x3717]='ENTITLE_INSUFFICIENT_QUOTA',_0x5e2be3[_0x5e2be3['ENTITLE_NEED_BILLING_ADDRESS']=0x37dd]=_0x4e74b9(0xaa),_0x5e2be3[_0x5e2be3[_0x4e74b9(0xf1)]=0x3a99]=_0x4e74b9(0xf1),_0x5e2be3[_0x5e2be3[_0x4e74b9(0x1ff)]=0x3a9a]=_0x4e74b9(0x1ff),_0x5e2be3[_0x5e2be3['REDEMPTION_CODE_FULLY_REDEEMED']=0x3a9b]=_0x4e74b9(0x367),_0x5e2be3[_0x5e2be3[_0x4e74b9(0x357)]=0x3a9c]='REDEMPTION_CODE_NOT_STARTED',_0x5e2be3[_0x5e2be3[_0x4e74b9(0x1df)]=0x3a9d]=_0x4e74b9(0x1df),_0x5e2be3[_0x5e2be3[_0x4e74b9(0x184)]=0x3a9e]='REDEMPTION_USER_REDEEM_TIMES_EXCEED',_0x5e2be3[_0x5e2be3[_0x4e74b9(0x2ed)]=0x3a9f]='REDEMPTION_CODE_HAS_BEEN_CREATED',_0x5e2be3[_0x5e2be3[_0x4e74b9(0x34a)]=0x3e81]=_0x4e74b9(0x34a),_0x5e2be3[_0x5e2be3[_0x4e74b9(0x1dc)]=-0x1]=_0x4e74b9(0x1dc),_0x5e2be3))(G||{});function Jt(_0x50fa6d){const _0x22d352=_0x4e74b9;var _0x5e0829,_0x1ee919;const _0x1383c9=(_0x5e0829=_0x50fa6d[_0x22d352(0x1a1)])==null?void 0x0:_0x5e0829['stage'],_0x79276b=((_0x1ee919=_0x50fa6d['stageInfo'])==null?void 0x0:_0x1ee919[_0x22d352(0x200)])||0x0;return _0x1383c9===B[_0x22d352(0x288)][_0x22d352(0x2b4)]&&_0x79276b>0x0;}function Zt(_0x29b818){const _0x28c8f8=_0x4e74b9;return _0x29b818['functionsExecutedState']===B[_0x28c8f8(0x2b6)][_0x28c8f8(0xe3)];}var Qt=Object[_0x4e74b9(0x13e)],es=(_0x524237,_0x3acff0,_0x11d21,_0xec5709)=>{for(var _0xb9485e=_0xec5709>0x1?void 0x0:_0xec5709?Qt(_0x3acff0,_0x11d21):_0x3acff0,_0x40a147=_0x524237['length']-0x1,_0x5e7b90;_0x40a147>=0x0;_0x40a147--)(_0x5e7b90=_0x524237[_0x40a147])&&(_0xb9485e=_0x5e7b90(_0xb9485e)||_0xb9485e);return _0xb9485e;},L=(_0x346b92,_0x5d1648)=>(_0x1fbcd7,_0x458d8d)=>_0x5d1648(_0x1fbcd7,_0x458d8d,_0x346b92);const ts=_0x4e74b9(0x218),ss='/universer-api/license/formula/limit/start',is=_0x4e74b9(0x11a);let ne=class extends a[_0x4e74b9(0x1e4)]{constructor(_0x234344,_0x159241,_0x4442cd,_0x39dca6,_0x21ad2a,_0x35a53c,_0x510bd7){const _0x4bc764=_0x4e74b9;super(),_(this,_0x4bc764(0x2ae),null),_(this,'_maxFormulaLimit',0x0),_(this,'_currentUsage',0x0),_(this,_0x4bc764(0x15f),[]),_(this,_0x4bc764(0x1ec),0x0),(this[_0x4bc764(0xdb)]=_0x234344,this['_commandService']=_0x159241,this[_0x4bc764(0x19b)]=_0x4442cd,this[_0x4bc764(0x127)]=_0x39dca6,this[_0x4bc764(0x1c9)]=_0x21ad2a,this[_0x4bc764(0x2de)]=_0x35a53c,this['_localeService']=_0x510bd7,this[_0x4bc764(0x207)]());}[_0x4e74b9(0x207)](){const _0x4474db=_0x4e74b9;this[_0x4474db(0x31b)](this[_0x4474db(0x2f2)]['beforeCommandExecuted']((_0x4cfe1f,_0x432bdc)=>{const _0x12e9b5=_0x4474db;var _0x1410b0;if(_0x4cfe1f['id']!==B[_0x12e9b5(0x340)]['id'])return;const _0x16ab8e=_0x4cfe1f['params'];if(!this[_0x12e9b5(0x2fb)]((_0x1410b0=_0x16ab8e[_0x12e9b5(0x23f)])!=null?_0x1410b0:[]))return;if(!this[_0x12e9b5(0x12a)]())throw this[_0x12e9b5(0x135)](_0x4cfe1f,_0x432bdc),this['_showGuardMessage'](),new a[(_0x12e9b5(0x2ca))]();})),this[_0x4474db(0x31b)](this['_commandService'][_0x4474db(0x158)]((_0xda6306,_0x2906e6)=>{const _0x47aa56=_0x4474db;if(_0xda6306['id']!==B[_0x47aa56(0x272)]['id'])return;const _0x3cdada=_0xda6306[_0x47aa56(0x101)];if(Jt(_0x3cdada)){const _0x4f15d7=a['generateRandomId']();this[_0x47aa56(0x15f)]['push'](_0x4f15d7),this[_0x47aa56(0x214)](_0x4f15d7);}else{if(Zt(_0x3cdada)&&this['_taskIds'][_0x47aa56(0xd2)]>0x0){const _0x372001=this[_0x47aa56(0x15f)][_0x47aa56(0x358)]();this[_0x47aa56(0x29f)](_0x372001);}}}));}[_0x4e74b9(0x237)](){const _0x1b56a8=_0x4e74b9;super['dispose'](),this['_clearPolling'](),this['_taskIds']=[],this['_currentUsage']=0x0,this[_0x1b56a8(0xbd)]=0x0,this['_lastResponseTimestamp']=0x0;}async[_0x4e74b9(0x135)](_0x443fd8,_0x38dc6f){const _0x3ef128=_0x4e74b9;for(let _0x4702d2=0x0;_0x4702d2<0x1e;_0x4702d2++)try{if(await this[_0x3ef128(0x26d)](),this['_checkCalculationAvailable']()){this[_0x3ef128(0x2ac)](_0x443fd8,_0x38dc6f),this[_0x3ef128(0xdb)][_0x3ef128(0x1e5)]({'content':this[_0x3ef128(0x1ce)]['t'](_0x3ef128(0x2c9)),'type':p[_0x3ef128(0x324)]['Success']});return;}await new Promise(_0x2363b6=>{const _0x1f34be=_0x3ef128;this[_0x1f34be(0x2ae)]=window[_0x1f34be(0xa6)](_0x2363b6,0x3e8);});}catch(_0x5ee9b2){this['_logService']['error'](_0x5ee9b2);}this[_0x3ef128(0xdb)][_0x3ef128(0x1e5)]({'content':this[_0x3ef128(0x1ce)]['t'](_0x3ef128(0x2d9)),'type':p[_0x3ef128(0x324)][_0x3ef128(0xa2)]});}[_0x4e74b9(0x2ac)](_0x1470bc,_0x3ec9b0){const _0x52a971=_0x4e74b9;try{this[_0x52a971(0x2f2)]['executeCommand'](_0x1470bc['id'],_0x1470bc[_0x52a971(0x101)],_0x3ec9b0);}catch(_0x300aa1){this[_0x52a971(0x2de)][_0x52a971(0x1d6)](_0x300aa1);}}[_0x4e74b9(0x244)](_0x22478c,_0x53f6e8){const _0x5dd8bc=_0x4e74b9;_0x53f6e8<this[_0x5dd8bc(0x1ec)]||(this[_0x5dd8bc(0x1ec)]=_0x53f6e8,this[_0x5dd8bc(0xbd)]=Number[_0x5dd8bc(0x111)](_0x22478c[_0x5dd8bc(0xf7)]),this[_0x5dd8bc(0x331)]=Number[_0x5dd8bc(0x111)](_0x22478c[_0x5dd8bc(0x16a)]));}async[_0x4e74b9(0x214)](_0x1743f4){const _0x4f884d=_0x4e74b9;var _0x5717e3,_0xb342de;const _0x43917c=Date['now']();try{const _0x4cfd24=((_0x5717e3=this[_0x4f884d(0x19b)][_0x4f884d(0x1fc)](u[_0x4f884d(0x261)]))==null?void 0x0:_0x5717e3[_0x4f884d(0x299)])||ss,_0x36f8d9=(await this[_0x4f884d(0x127)]['post'](_0x4cfd24,{'body':JSON[_0x4f884d(0x202)]({'taskId':_0x1743f4})}))[_0x4f884d(0x191)];if(((_0xb342de=_0x36f8d9['error'])==null?void 0x0:_0xb342de[_0x4f884d(0x194)])!==G['OK'])return;this['_setFormulaLimitStatus'](_0x36f8d9[_0x4f884d(0x211)],_0x43917c);}catch(_0x4dcbed){this[_0x4f884d(0x2de)][_0x4f884d(0x1d6)](_0x4dcbed);}}async['_getFormulaLimitStatus'](_0x2b975a){const _0x2fb586=_0x4e74b9;var _0x1f6571,_0x110476;const _0x54ad95=Date[_0x2fb586(0xfa)]();try{const _0x505d09=((_0x1f6571=this['_configService'][_0x2fb586(0x1fc)](u[_0x2fb586(0x261)]))==null?void 0x0:_0x1f6571[_0x2fb586(0x2b1)])||ts,_0x27f72d=_0x2b975a?_0x505d09+'?taskId='+encodeURIComponent(_0x2b975a):_0x505d09,_0x15a80e=(await this[_0x2fb586(0x127)][_0x2fb586(0x33e)](_0x27f72d))['body'];if(((_0x110476=_0x15a80e['error'])==null?void 0x0:_0x110476[_0x2fb586(0x194)])!==G['OK'])return;this[_0x2fb586(0x244)](_0x15a80e[_0x2fb586(0x211)],_0x54ad95);}catch(_0x5b39c1){this[_0x2fb586(0x2de)][_0x2fb586(0x1d6)](_0x5b39c1);}}async['_releaseCalculationLimit'](_0x4aaf9e){const _0x89f632=_0x4e74b9;var _0xf0a27a,_0x4c51d1;const _0x5298b6=Date[_0x89f632(0xfa)]();try{const _0x1136d7=((_0xf0a27a=this[_0x89f632(0x19b)][_0x89f632(0x1fc)](u['COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY']))==null?void 0x0:_0xf0a27a[_0x89f632(0xce)])||is,_0x2d387f=(await this[_0x89f632(0x127)][_0x89f632(0x30b)](_0x1136d7,{'body':JSON[_0x89f632(0x202)]({'taskId':_0x4aaf9e})}))['body'];if(((_0x4c51d1=_0x2d387f['error'])==null?void 0x0:_0x4c51d1[_0x89f632(0x194)])!==G['OK'])return;this[_0x89f632(0x244)](_0x2d387f[_0x89f632(0x211)],_0x5298b6);}catch(_0x1607d0){this[_0x89f632(0x2de)][_0x89f632(0x1d6)](_0x1607d0);}}[_0x4e74b9(0x12a)](){const _0x217ca2=_0x4e74b9;return this[_0x217ca2(0xbd)]===0x0?!0x0:this[_0x217ca2(0xbd)]-this[_0x217ca2(0x331)]>0x0;}['_clearPolling'](){const _0x5ba399=_0x4e74b9;this['_pollingInterval']&&(clearTimeout(this[_0x5ba399(0x2ae)]),this[_0x5ba399(0x2ae)]=null);}[_0x4e74b9(0x33d)](){const _0x24a023=_0x4e74b9;this[_0x24a023(0xdb)][_0x24a023(0x1e5)]({'content':this[_0x24a023(0x1ce)]['t'](_0x24a023(0x230)),'type':p[_0x24a023(0x324)][_0x24a023(0x24e)]});}[_0x4e74b9(0x2fb)](_0x58d4a3){const _0x53d0aa=_0x4e74b9;for(const _0x4e9fd0 of _0x58d4a3){const {unitId:_0x53bd66,sheetId:_0x402012,range:_0x57653c}=_0x4e9fd0,_0x1a847c=this[_0x53d0aa(0x1c9)]['getUnit'](_0x53bd66);if(!_0x1a847c)continue;const _0x547a2e=_0x1a847c['getSheetBySheetId'](_0x402012);if(!_0x547a2e)continue;const _0x5aa7a9=_0x547a2e[_0x53d0aa(0x210)]();for(let _0x4cac45=_0x57653c[_0x53d0aa(0x174)];_0x4cac45<=_0x57653c['endRow'];_0x4cac45++)for(let _0x2a0f68=_0x57653c['startColumn'];_0x2a0f68<=_0x57653c[_0x53d0aa(0x36c)];_0x2a0f68++){const _0x4075fc=_0x5aa7a9[_0x53d0aa(0x24c)](_0x4cac45,_0x2a0f68);if(_0x4075fc&&(a['isFormulaString'](_0x4075fc['f'])||a[_0x53d0aa(0x249)](_0x4075fc['si'])))return!0x0;}}return!0x1;}};ne=es([L(0x0,a['Inject'](O[_0x4e74b9(0x209)])),L(0x1,a[_0x4e74b9(0x276)]),L(0x2,a[_0x4e74b9(0x12d)]),L(0x3,a[_0x4e74b9(0x2a2)](x[_0x4e74b9(0xee)])),L(0x4,a[_0x4e74b9(0x31e)]),L(0x5,a[_0x4e74b9(0xf2)]),L(0x6,a[_0x4e74b9(0x2a2)](a[_0x4e74b9(0x2d1)]))],ne);var ns=Object['getOwnPropertyDescriptor'],rs=(_0x4425aa,_0x21b29f,_0x8dba01,_0x4ce042)=>{for(var _0x34760a=_0x4ce042>0x1?void 0x0:_0x4ce042?ns(_0x21b29f,_0x8dba01):_0x21b29f,_0x4af91e=_0x4425aa['length']-0x1,_0x384c30;_0x4af91e>=0x0;_0x4af91e--)(_0x384c30=_0x4425aa[_0x4af91e])&&(_0x34760a=_0x384c30(_0x34760a)||_0x34760a);return _0x34760a;},Se=(_0x34f43a,_0x824aec)=>(_0xdce783,_0x2c688f)=>_0x824aec(_0xdce783,_0x2c688f,_0x34f43a);let Te=class extends a[_0x4e74b9(0x1e4)]{constructor(_0x125019,_0x4068f3,_0x785d1){const _0x2bf2b7=_0x4e74b9;super(),_(this,_0x2bf2b7(0x1a2),new Map()),_(this,_0x2bf2b7(0x1d2),new Map()),_(this,_0x2bf2b7(0x1ea),!0x1),(this['_configService']=_0x125019,this[_0x2bf2b7(0x2a1)]=_0x4068f3,this[_0x2bf2b7(0x27b)]=_0x785d1);}['disableLocalCache'](){this['_disabled']=!0x0;}[_0x4e74b9(0x188)](){const _0xb316a8=_0x4e74b9;this[_0xb316a8(0x1ea)]=!0x1;}get[_0x4e74b9(0x1b1)](){const _0x2b1793=_0x4e74b9;return this[_0x2b1793(0x1d2)];}[_0x4e74b9(0x237)](){const _0x64230a=_0x4e74b9;this[_0x64230a(0x33a)]()['then'](()=>super[_0x64230a(0x237)]());}async['loadOfflineData'](_0xc52c88){const _0x5b35a6=_0x4e74b9;return this['_disabled']?null:this['_localStorageService'][_0x5b35a6(0x2d8)](u[_0x5b35a6(0x2c8)](_0xc52c88));}async[_0x4e74b9(0xe4)](_0xfad94e,_0x58c0ee){const _0x1f07b3=_0x4e74b9;return!!this[_0x1f07b3(0x2a1)][_0x1f07b3(0x18c)](_0xfad94e,_0x58c0ee);}[_0x4e74b9(0x2dd)](_0x3409bc,_0x26f06e,_0x395ec9,_0x36829d){const _0x151e9e=_0x4e74b9,_0x3707b8=this[_0x151e9e(0x27b)][_0x151e9e(0x1a0)](_0x3409bc);this[_0x151e9e(0x1a2)]['set'](_0x3409bc,{'unitID':_0x3409bc,'type':_0x26f06e,'awaitingChangeset':_0x395ec9,'mutations':_0x36829d,'rev':_0x3707b8}),this[_0x151e9e(0x1d2)][_0x151e9e(0x1bc)](_0x3409bc)||this[_0x151e9e(0x2b7)](_0x3409bc);}['_scheduleSaving'](_0x16cd42){const _0x4a0556=_0x4e74b9,_0x591b32=this[_0x4a0556(0x32b)]();_0x591b32===0x0?this['_saveCache'](_0x16cd42):this[_0x4a0556(0x1d2)][_0x4a0556(0x365)](_0x16cd42,setTimeout(()=>this['_saveCache'](_0x16cd42),_0x591b32));}['_getSaveTimeout'](){const _0xccc396=_0x4e74b9;var _0x1e226c;return(_0x1e226c=this[_0xccc396(0x19b)][_0xccc396(0x1fc)](u[_0xccc396(0x28d)]))!=null?_0x1e226c:u[_0xccc396(0x23d)];}['_saveCache'](_0x3992cb){const _0x5e859f=_0x4e74b9,_0xc612f0=this[_0x5e859f(0x1d2)][_0x5e859f(0x33e)](_0x3992cb);return _0xc612f0!==void 0x0&&window['clearTimeout'](_0xc612f0),this['_localStorageService']['setItem'](u[_0x5e859f(0x2c8)](_0x3992cb),this['_cachedData'][_0x5e859f(0x33e)](_0x3992cb))[_0x5e859f(0xae)](()=>this[_0x5e859f(0x1d2)]['delete'](_0x3992cb));}async[_0x4e74b9(0x33a)](){const _0x43a16d=_0x4e74b9,_0x54132b=[];this['_saveTaskMap']['forEach']((_0x24e86a,_0xe17736)=>{const _0x398ad1=_0x33a7;window[_0x398ad1(0x35c)](_0x24e86a),_0x54132b[_0x398ad1(0x9f)](this['_saveCache'](_0xe17736)[_0x398ad1(0xae)](()=>{const _0x56a0c7=_0x398ad1;this[_0x56a0c7(0x1d2)]['delete'](_0xe17736);}));}),await Promise[_0x43a16d(0x143)](_0x54132b);}};Te=rs([Se(0x0,a['IConfigService']),Se(0x1,a[_0x4e74b9(0x2d6)]),Se(0x2,a[_0x4e74b9(0x2a2)](g[_0x4e74b9(0x17c)]))],Te);class ke extends a[_0x4e74b9(0x15a)]{constructor(){const _0x4bd81a=_0x4e74b9;super(),_(this,_0x4bd81a(0x24a)),this['urlChange$']=I['fromEvent'](window,'popstate')[_0x4bd81a(0x22f)](I[_0x4bd81a(0x138)](this[_0x4bd81a(0xe2)]),I['shareReplay'](0x1),I[_0x4bd81a(0x11f)](void 0x0));}['setParam'](_0x2b62bd,_0x1e7863,_0x55a0a1=!0x1){const _0x2924ca=_0x4e74b9,_0x251f8c=new URL(window[_0x2924ca(0x190)][_0x2924ca(0x1ae)]);_0x251f8c[_0x2924ca(0xd4)]['set'](_0x2b62bd,_0x1e7863),_0x55a0a1?window[_0x2924ca(0x2cc)][_0x2924ca(0xa9)]('','',_0x251f8c['toString']()):window[_0x2924ca(0x2cc)]['pushState']('','',_0x251f8c[_0x2924ca(0x2e2)]());}['removeParam'](_0x482dfd,_0x57bb27=!0x1){const _0x218e9f=_0x4e74b9,_0x211882=new URL(window[_0x218e9f(0x190)]['href']);_0x211882[_0x218e9f(0xd4)][_0x218e9f(0x32d)](_0x482dfd),_0x57bb27?window['history'][_0x218e9f(0xa9)]('','',_0x211882['toString']()):window[_0x218e9f(0x2cc)][_0x218e9f(0x178)]('','',_0x211882[_0x218e9f(0x2e2)]());}['getParam'](_0x19b71f){const _0x1d2542=_0x4e74b9;var _0x217321;return(_0x217321=new URL(window['location']['href'])['searchParams'][_0x1d2542(0x33e)](_0x19b71f))!=null?_0x217321:void 0x0;}}var os=Object[_0x4e74b9(0x123)],as=Object[_0x4e74b9(0x13e)],cs=(_0x4b3448,_0x2262a5,_0x1b9339)=>_0x2262a5 in _0x4b3448?os(_0x4b3448,_0x2262a5,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x1b9339}):_0x4b3448[_0x2262a5]=_0x1b9339,ls=(_0x5b7028,_0x26e1b5,_0x26d6e2,_0x16df57)=>{const _0x2a6dc5=_0x4e74b9;for(var _0x191862=_0x16df57>0x1?void 0x0:_0x16df57?as(_0x26e1b5,_0x26d6e2):_0x26e1b5,_0x23577d=_0x5b7028[_0x2a6dc5(0xd2)]-0x1,_0x265f92;_0x23577d>=0x0;_0x23577d--)(_0x265f92=_0x5b7028[_0x23577d])&&(_0x191862=_0x265f92(_0x191862)||_0x191862);return _0x191862;},de=(_0x54bbc0,_0x2c34d0)=>(_0x4008c6,_0x51eadb)=>_0x2c34d0(_0x4008c6,_0x51eadb,_0x54bbc0),_s=(_0x5b8210,_0x5746ce,_0x557bb3)=>cs(_0x5b8210,_0x5746ce+'',_0x557bb3);const hs='UNIVER_COLLABORATION_CLIENT_WEB_PLUGIN';exports[_0x4e74b9(0x186)]=class extends a[_0x4e74b9(0x2fe)]{constructor(_0x19af19=Me,_0x2b2098,_0x5be705,_0x331edf){const _0x90fe86=_0x4e74b9;super(),this['_config']=_0x19af19,this[_0x90fe86(0xe5)]=_0x2b2098,this[_0x90fe86(0xfb)]=_0x5be705,this[_0x90fe86(0x19b)]=_0x331edf;const {..._0x5772c9}=a[_0x90fe86(0x192)]({},Me,this[_0x90fe86(0x250)]);this[_0x90fe86(0x19b)][_0x90fe86(0x2df)](Yt,_0x5772c9);}[_0x4e74b9(0x2b3)](){const _0x515663=_0x4e74b9;this[_0x515663(0x1d1)](),this[_0x515663(0x1c0)]();}['onRendered'](){const _0x4d98ea=_0x4e74b9;this[_0x4d98ea(0x2a3)]();}['_registerDependencies'](){const _0x2cc820=_0x4e74b9;var _0x9c4d3e;const _0x45900a=[[Re],[ne],[se],[ee],[te],[be],[Oe,{'useClass':ke}],[x[_0x2cc820(0x2e0)],{'useClass':x[_0x2cc820(0x234)]}],[u['ILocalCacheService'],{'useClass':Te}],[exports[_0x2cc820(0x2ce)]],[ie],[Z],[F],[me],[exports[_0x2cc820(0x1a5)]]];this[_0x2cc820(0x250)][_0x2cc820(0x21d)]&&_0x45900a[_0x2cc820(0x9f)]([Q]),a[_0x2cc820(0x17a)](this[_0x2cc820(0xfb)],a[_0x2cc820(0x322)](_0x45900a,(_0x9c4d3e=this[_0x2cc820(0x250)])==null?void 0x0:_0x9c4d3e['override']));}['_registerRenderDependencies'](){const _0x419399=_0x4e74b9;this[_0x419399(0x31b)](this[_0x419399(0xe5)][_0x419399(0x306)](a[_0x419399(0x333)][_0x419399(0x118)],[Ee])),this[_0x419399(0x31b)](this[_0x419399(0xe5)][_0x419399(0x306)](a['UniverInstanceType']['UNIVER_SHEET'],[Ce]));}[_0x4e74b9(0x1c0)](){const _0x4eca31=_0x4e74b9;a[_0x4eca31(0x2e5)](this[_0x4eca31(0xfb)],[[F],[exports[_0x4eca31(0x2ce)]],[ie],[Z],[exports['CollaborationDataLoaderController']],[ne]]),this[_0x4eca31(0x250)][_0x4eca31(0x21d)]&&a[_0x4eca31(0x2e5)](this[_0x4eca31(0xfb)],[[Q]]);}},_s(exports[_0x4e74b9(0x186)],_0x4e74b9(0x22d),hs),exports[_0x4e74b9(0x186)]=ls([a[_0x4e74b9(0xe0)](u['UniverCollaborationClientPlugin']),de(0x1,C[_0x4e74b9(0x320)]),de(0x2,a[_0x4e74b9(0x2a2)](a[_0x4e74b9(0x26e)])),de(0x3,a['IConfigService'])],exports['UniverCollaborationClientUIPlugin']);var us=Object[_0x4e74b9(0x13e)],Is=(_0xa92c9e,_0x536ccd,_0x14f6d0,_0xb74620)=>{const _0x342c2f=_0x4e74b9;for(var _0x80c232=_0xb74620>0x1?void 0x0:_0xb74620?us(_0x536ccd,_0x14f6d0):_0x536ccd,_0x485b18=_0xa92c9e[_0x342c2f(0xd2)]-0x1,_0x321022;_0x485b18>=0x0;_0x485b18--)(_0x321022=_0xa92c9e[_0x485b18])&&(_0x80c232=_0x321022(_0x80c232)||_0x80c232);return _0x80c232;},W=(_0x6f60fb,_0x5ecbe5)=>(_0x6eac54,_0x5ea9d8)=>_0x5ecbe5(_0x6eac54,_0x5ea9d8,_0x6f60fb);exports[_0x4e74b9(0xca)]=class extends u[_0x4e74b9(0x36d)]{constructor(_0xd7a141,_0x1c315a,_0x2ca71b,_0x302a4a,_0x2c3ffc){super(_0xd7a141,_0x1c315a,_0x2ca71b,_0x302a4a,_0x2c3ffc);}async[_0x4e74b9(0x25a)](_0x52e89d){const _0x3dd46c=_0x4e74b9,_0x4f6851=await this['_getSessionTicket'](),_0x354d5b=this[_0x3dd46c(0x34e)](_0x52e89d,_0x4f6851);return this[_0x3dd46c(0x361)](_0x354d5b);}[_0x4e74b9(0x34e)](_0x1f10be,_0x3ce021){const _0x40efa0=_0x4e74b9,_0x24c589=typeof window>'u'?new URL(_0x1f10be):new URL(_0x1f10be,window[_0x40efa0(0x190)]['origin']);_0x24c589[_0x40efa0(0xd4)]['set'](_0x40efa0(0xad),_0x3ce021);const _0x480dfc=typeof window>'u'?new URLSearchParams():new URLSearchParams(window[_0x40efa0(0x190)][_0x40efa0(0x199)]);return _0x480dfc[_0x40efa0(0x33e)]('runId')&&_0x24c589[_0x40efa0(0xd4)][_0x40efa0(0x365)]('runId',_0x480dfc[_0x40efa0(0x33e)](_0x40efa0(0x11b))),_0x24c589[_0x40efa0(0x2e2)]();}async['_getSessionTicket'](){const _0x812e8c=_0x4e74b9;var _0x2e7ac9,_0x1f6226,_0x103ed6;const _0x49eda7=this[_0x812e8c(0x19b)][_0x812e8c(0x1fc)](u[_0x812e8c(0x261)]),_0xbe2331=(_0x2e7ac9=_0x49eda7==null?void 0x0:_0x49eda7[_0x812e8c(0x278)])!=null?_0x2e7ac9:u[_0x812e8c(0x2ec)];return(_0x103ed6=(_0x1f6226=(await this['_httpService'][_0x812e8c(0x33e)](_0xbe2331,{'headers':{'Content-Type':'application/json'}}))[_0x812e8c(0x191)])==null?void 0x0:_0x1f6226['ticket'])!=null?_0x103ed6:'';}},exports['BrowserCollaborationSocketService']=Is([W(0x0,a[_0x4e74b9(0x2a2)](a[_0x4e74b9(0x26e)])),W(0x1,a[_0x4e74b9(0x2a2)](x[_0x4e74b9(0xee)])),W(0x2,a[_0x4e74b9(0x12d)]),W(0x3,a[_0x4e74b9(0xf2)]),W(0x4,g['ISnapshotServerService'])],exports['BrowserCollaborationSocketService']);var Ss=Object[_0x4e74b9(0x13e)],ds=(_0x449ff8,_0x57e2d4,_0x591eb4,_0x2bef96)=>{const _0x55ca46=_0x4e74b9;for(var _0x11e7bf=_0x2bef96>0x1?void 0x0:_0x2bef96?Ss(_0x57e2d4,_0x591eb4):_0x57e2d4,_0x591cb2=_0x449ff8[_0x55ca46(0xd2)]-0x1,_0x3af5cb;_0x591cb2>=0x0;_0x591cb2--)(_0x3af5cb=_0x449ff8[_0x591cb2])&&(_0x11e7bf=_0x3af5cb(_0x11e7bf)||_0x11e7bf);return _0x11e7bf;},fe=(_0x4a1a47,_0x296c60)=>(_0x2448e3,_0x16cae7)=>_0x296c60(_0x2448e3,_0x16cae7,_0x4a1a47);exports[_0x4e74b9(0x291)]=class extends a[_0x4e74b9(0x1e4)]{constructor(_0x3353bf,_0x52acdc,_0x14e271){const _0x76a484=_0x4e74b9;super(),this[_0x76a484(0x2d4)]=_0x3353bf,this[_0x76a484(0x127)]=_0x52acdc,this['_configService']=_0x14e271;}async[_0x4e74b9(0x140)](_0x25d2ff,_0x4577a3,_0x19144c,..._0x2ac862){const _0x103572=_0x4e74b9;var _0x2709c6,_0x1fd68f,_0x157b1e,_0x4f46a2;const _0x26c2f5=this[_0x103572(0x2d4)][_0x103572(0x171)]();if(!_0x26c2f5)throw new Error('[RemoteUniscriptService]:\x20no\x20focused\x20unit');const _0x37cfef=((_0x2709c6=this['_configService']['getConfig'](u[_0x103572(0x309)]))!=null?_0x2709c6:u[_0x103572(0x145)])+'/'+_0x25d2ff+_0x103572(0x2d3)+_0x4577a3,_0x7cccd=new URL(window[_0x103572(0x190)][_0x103572(0x1ae)]),_0x15c0a3={'scriptId':_0x25d2ff,'runId':(_0x1fd68f=_0x7cccd['searchParams'][_0x103572(0x33e)](_0x103572(0x11b)))!=null?_0x1fd68f:'','function':_0x4577a3,'unitId':_0x26c2f5[_0x103572(0x33b)](),'argsOfFunction':JSON[_0x103572(0x202)](_0x2ac862),'invokeId':(_0x157b1e=_0x19144c[_0x103572(0x121)])!=null?_0x157b1e:'','executionId':(_0x4f46a2=_0x19144c['executionId'])!=null?_0x4f46a2:''};try{const _0x4d01f9=await this['_httpService'][_0x103572(0x30b)](_0x37cfef,{'body':_0x15c0a3});return _0x4d01f9['body'][_0x103572(0x1d6)]&&_0x4d01f9['body']['error'][_0x103572(0x194)]!==G['OK']?'Failed':_0x4d01f9[_0x103572(0x191)][_0x103572(0x1cb)];}catch{return _0x103572(0x240);}}},exports['RemoteUniscriptService']=ds([fe(0x0,a[_0x4e74b9(0x31e)]),fe(0x1,a[_0x4e74b9(0x2a2)](x[_0x4e74b9(0xee)])),fe(0x2,a[_0x4e74b9(0x12d)])],exports[_0x4e74b9(0x291)]);const we=0x7530,ye=_0x4e74b9(0x327);class fs extends a[_0x4e74b9(0x1e4)]{constructor(){const _0x5a3fae=_0x4e74b9;super(),_(this,_0x5a3fae(0x2ea),a['generateRandomId']()),_(this,'_selfUnitIDs',new Set()),_(this,_0x5a3fae(0xcb),new Map()),_(this,'_heartbeatTimer',null),_(this,_0x5a3fae(0x21c),new Map()),_(this,_0x5a3fae(0x1a8),new Map()),this[_0x5a3fae(0x360)]();}['dispose'](){const _0x2206e0=_0x4e74b9;super[_0x2206e0(0x237)](),this[_0x2206e0(0x21c)][_0x2206e0(0xcd)]((_0x3fa0ec,_0x48bc0a)=>this[_0x2206e0(0xa3)](_0x48bc0a)),this['_heartbeatTimer']&&window['clearInterval'](this['_heartbeatTimer']);}[_0x4e74b9(0xe6)](_0xc9ba16){const _0x42c91a=_0x4e74b9;return this[_0x42c91a(0x262)](_0xc9ba16)[_0x42c91a(0x22f)](I['distinctUntilChanged']());}[_0x4e74b9(0xac)](_0x528659){const _0x3aadfc=_0x4e74b9;this['_selfUnitIDs'][_0x3aadfc(0x337)]===0x0&&this[_0x3aadfc(0x27a)](),this[_0x3aadfc(0x195)]['add'](_0x528659),this[_0x3aadfc(0x1a7)]({'type':0x0,'memberID':this[_0x3aadfc(0x2ea)],'unitIDs':[_0x528659],'isForwarded':!0x1});}[_0x4e74b9(0x1ab)](_0x3b305c){const _0x2a519d=_0x4e74b9;this[_0x2a519d(0x195)][_0x2a519d(0x32d)](_0x3b305c),this[_0x2a519d(0x195)][_0x2a519d(0x337)]===0x0&&this[_0x2a519d(0x35f)]&&window[_0x2a519d(0x193)](this[_0x2a519d(0x35f)]);}[_0x4e74b9(0x360)](){const _0x297c02=_0x4e74b9;this[_0x297c02(0x31b)](a['toDisposable'](I[_0x297c02(0x225)](window,_0x297c02(0x2f1))[_0x297c02(0xd0)](_0x5c8bf4=>{const _0x31bda3=_0x297c02;if(_0x5c8bf4[_0x31bda3(0x163)]!==ye||!_0x5c8bf4[_0x31bda3(0x29d)])return;const _0x50c197=JSON[_0x31bda3(0xb4)](_0x5c8bf4['newValue']);this[_0x31bda3(0xa4)](_0x50c197);}))),window[_0x297c02(0x287)]('unload',()=>this['_send']({'type':0x1,'memberID':this[_0x297c02(0x2ea)],'unitIDs':Array[_0x297c02(0x2f7)](this[_0x297c02(0x195)])}));}[_0x4e74b9(0xa4)](_0x154edd){const _0x16ea3e=_0x4e74b9;switch(_0x154edd[_0x16ea3e(0xd5)]){case 0x0:this[_0x16ea3e(0x1b5)](_0x154edd);break;case 0x1:this[_0x16ea3e(0x30a)](_0x154edd);break;case 0x2:this[_0x16ea3e(0x2e4)](_0x154edd);break;}}[_0x4e74b9(0x1b5)](_0x32a12c){const _0x5d2dd3=_0x4e74b9,{unitIDs:_0x4e86e9,memberID:_0x3c5f69,isForwarded:_0x2999ef}=_0x32a12c;_0x4e86e9[_0x5d2dd3(0xcd)](_0x4862f4=>{const _0x3742dc=_0x5d2dd3;if(!_0x2999ef&&this['_unitOnClients'][_0x3742dc(0x1bc)](_0x4862f4)&&this['_ensureSubject'](_0x4862f4)['next'](u['UnitStatus'][_0x3742dc(0x162)]),!this[_0x3742dc(0xcb)][_0x3742dc(0x1bc)](_0x4862f4)||!this[_0x3742dc(0xcb)]['get'](_0x4862f4)['has'](_0x3c5f69)){const _0x524f58=this[_0x3742dc(0xcb)][_0x3742dc(0x33e)](_0x4862f4)||new Set();_0x524f58['add'](_0x3c5f69),this[_0x3742dc(0xcb)][_0x3742dc(0x365)](_0x4862f4,_0x524f58),this[_0x3742dc(0x1ad)](_0x3c5f69);}}),_0x2999ef||this['_send']({'type':0x0,'memberID':this['_id'],'unitIDs':[...this[_0x5d2dd3(0x195)]],'isForwarded':!0x0});}[_0x4e74b9(0x1ad)](_0x27b6d5){const _0x458915=_0x4e74b9;this[_0x458915(0xa3)](_0x27b6d5);const _0x14036a=window[_0x458915(0xa6)](()=>{const _0x2864fa=_0x458915;this[_0x2864fa(0xcb)][_0x2864fa(0xcd)](_0x588396=>{const _0x546654=_0x2864fa;_0x588396[_0x546654(0x32d)](_0x27b6d5);});},we*0x2);this[_0x458915(0x21c)][_0x458915(0x365)](_0x27b6d5,_0x14036a);}[_0x4e74b9(0xa3)](_0x3c6ddf){const _0x2f8cef=_0x4e74b9;if(this[_0x2f8cef(0x21c)]['has'](_0x3c6ddf)){const _0x11f7da=this[_0x2f8cef(0x21c)][_0x2f8cef(0x33e)](_0x3c6ddf);_0x11f7da&&window['clearTimeout'](_0x11f7da),this[_0x2f8cef(0x21c)][_0x2f8cef(0x365)](_0x3c6ddf,null);}}['_handleLeaveEvent'](_0x233992){const _0x6ffdcf=_0x4e74b9,{memberID:_0x1d94da,unitIDs:_0x2f4611}=_0x233992;_0x2f4611[_0x6ffdcf(0xcd)](_0x11331b=>{const _0x17f9fd=_0x6ffdcf;var _0x1939a6;const _0x5e54c5=this['_unitOnClients']['get'](_0x11331b);_0x5e54c5&&(_0x5e54c5[_0x17f9fd(0x32d)](_0x1d94da),(_0x1939a6=this['_ensureSubject'](_0x11331b))==null||_0x1939a6[_0x17f9fd(0x2fa)](_0x5e54c5[_0x17f9fd(0x337)]===0x0?u['UnitStatus'][_0x17f9fd(0xb1)]:u[_0x17f9fd(0x2ba)]['OTHER_CLIENTS_EDITING']));}),this[_0x6ffdcf(0xa3)](_0x1d94da);}[_0x4e74b9(0x2e4)](_0xbc6ea3){const _0x3d79f0=_0x4e74b9;this[_0x3d79f0(0x1ad)](_0xbc6ea3[_0x3d79f0(0x122)]);}[_0x4e74b9(0x1a7)](_0x2cd174){const _0x39a21e=_0x4e74b9;localStorage['setItem'](ye,JSON[_0x39a21e(0x202)](_0x2cd174));}['_scheduleHeartbeat'](){const _0x184544=_0x4e74b9;this['_heartbeatTimer']=window[_0x184544(0x1a3)](()=>{const _0x12bb2f=_0x184544;this[_0x12bb2f(0x1a7)]({'type':0x2,'memberID':this[_0x12bb2f(0x2ea)]});},we);}['_ensureSubject'](_0x3cd218){const _0x526a96=_0x4e74b9;return this[_0x526a96(0x1a8)][_0x526a96(0x1bc)](_0x3cd218)||this['_unitStatus'][_0x526a96(0x365)](_0x3cd218,new I[(_0x526a96(0x34b))](u['UnitStatus'][_0x526a96(0xb1)])),this[_0x526a96(0x1a8)]['get'](_0x3cd218);}}exports[_0x4e74b9(0xa1)]=Oe,exports['SheetCollabCursorShape']=je,exports[_0x4e74b9(0x233)]=fs,exports[_0x4e74b9(0x10c)]=ke;
|