@univerjs-pro/collaboration-client 0.10.7 → 0.10.8-nightly.202509200616
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/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/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/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/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 +11 -11
package/lib/cjs/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
'use strict';var _0x50acdc=_0x5520;(function(_0xa0a9b0,_0x2d8afc){var _0x284461=_0x5520,_0x58e592=_0xa0a9b0();while(!![]){try{var _0xeb1586=parseInt(_0x284461(0x27d))/0x1*(parseInt(_0x284461(0xad))/0x2)+-parseInt(_0x284461(0x3e1))/0x3*(-parseInt(_0x284461(0x11d))/0x4)+-parseInt(_0x284461(0x1e0))/0x5*(parseInt(_0x284461(0x200))/0x6)+parseInt(_0x284461(0x199))/0x7*(parseInt(_0x284461(0x397))/0x8)+-parseInt(_0x284461(0x27f))/0x9*(-parseInt(_0x284461(0x2ad))/0xa)+-parseInt(_0x284461(0x190))/0xb*(parseInt(_0x284461(0x3a1))/0xc)+-parseInt(_0x284461(0x23e))/0xd;if(_0xeb1586===_0x2d8afc)break;else _0x58e592['push'](_0x58e592['shift']());}catch(_0x4af3bf){_0x58e592['push'](_0x58e592['shift']());}}}(_0x3a85,0x999eb));var bt=Object[_0x50acdc(0x26c)],Ot=(_0x2675fa,_0x3c09ef,_0x43c0c9)=>_0x3c09ef in _0x2675fa?bt(_0x2675fa,_0x3c09ef,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x43c0c9}):_0x2675fa[_0x3c09ef]=_0x43c0c9,A=(_0x397c32,_0x4a4385,_0x455d43)=>Ot(_0x397c32,typeof _0x4a4385!=_0x50acdc(0x3a9)?_0x4a4385+'':_0x4a4385,_0x455d43);Object['defineProperty'](exports,Symbol[_0x50acdc(0x2b3)],{'value':'Module'});const p=require('@univerjs-pro/collaboration'),a=require('@univerjs/core'),ct=require('@univerjs/docs'),X=require('@univerjs/sheets'),H=require('rxjs'),Rt=require('@univerjs/telemetry'),V=require('rxjs/operators'),q=require('@univerjs/network'),z=require('@univerjs/drawing'),yt=require('@univerjs-pro/license'),Nt=_0x50acdc(0x2de),Dt='SNAPSHOT_URL_KEY',Ut=0x7d0,ht=_0x50acdc(0x13d),At=_0x50acdc(0x121),_t=_0x50acdc(0x243),Pt=0x7530,ke=_0x50acdc(0xa1),lt=0x4e20,wt=0x4e20,ut=_0x50acdc(0x250),Mt=0x3,Lt=_0x50acdc(0x89),xt=0x3e8,kt=_0x50acdc(0x204),$t=_0x50acdc(0x38e),Ht=_0x50acdc(0x366),jt=_0x50acdc(0x3ba);var dt=(_0x53c421=>(_0x53c421[_0x53c421[_0x50acdc(0xf9)]=0x0]=_0x50acdc(0xf9),_0x53c421[_0x53c421['OK']=0x1]='OK',_0x53c421[_0x53c421[_0x50acdc(0x2fb)]=0x2]=_0x50acdc(0x2fb),_0x53c421[_0x53c421[_0x50acdc(0x3e6)]=0x3]='PERMISSION_DENIED',_0x53c421[_0x53c421['NOT_FOUND']=0x4]=_0x50acdc(0x231),_0x53c421[_0x53c421[_0x50acdc(0x2be)]=0x5]=_0x50acdc(0x2be),_0x53c421[_0x53c421[_0x50acdc(0x3bc)]=0x6]=_0x50acdc(0x3bc),_0x53c421[_0x53c421[_0x50acdc(0x23a)]=0x7]=_0x50acdc(0x23a),_0x53c421[_0x53c421[_0x50acdc(0x23b)]=0x8]='TOO_MANY_REQUESTS',_0x53c421[_0x53c421[_0x50acdc(0x11a)]=0x9]=_0x50acdc(0x11a),_0x53c421[_0x53c421['LOGIN_FAILED']=0xa]=_0x50acdc(0x398),_0x53c421[_0x53c421['MOBILE_VERIFY_CODE_MISMATCH']=0xb]='MOBILE_VERIFY_CODE_MISMATCH',_0x53c421[_0x53c421[_0x50acdc(0x15e)]=0xc]='MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED',_0x53c421[_0x53c421[_0x50acdc(0x1f2)]=0xd]='EMAIL_VERIFY_CODE_MISMATCH',_0x53c421[_0x53c421[_0x50acdc(0x1bf)]=0xe]='EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED',_0x53c421[_0x53c421[_0x50acdc(0x3d5)]=0x1389]=_0x50acdc(0x3d5),_0x53c421[_0x53c421[_0x50acdc(0x267)]=0x1771]=_0x50acdc(0x267),_0x53c421[_0x53c421[_0x50acdc(0x115)]=0x1772]=_0x50acdc(0x115),_0x53c421[_0x53c421[_0x50acdc(0x3ac)]=0x1773]='ENSURE_SNAPSHOT_EXECUTION',_0x53c421[_0x53c421[_0x50acdc(0x90)]=0x1b59]=_0x50acdc(0x90),_0x53c421[_0x53c421[_0x50acdc(0x269)]=0x1b5a]=_0x50acdc(0x269),_0x53c421[_0x53c421['APPLY_REVISION_CONFILICT']=0x1b5b]=_0x50acdc(0x1e3),_0x53c421[_0x53c421[_0x50acdc(0x1d9)]=0x1b5c]=_0x50acdc(0x1d9),_0x53c421[_0x53c421[_0x50acdc(0x1de)]=0x1b5d]=_0x50acdc(0x1de),_0x53c421[_0x53c421[_0x50acdc(0x2a9)]=0x1f41]=_0x50acdc(0x2a9),_0x53c421[_0x53c421['LICENSE_MAX_UNITS_EXCEEDED']=0x2329]=_0x50acdc(0x38f),_0x53c421[_0x53c421[_0x50acdc(0x26b)]=0x232a]='LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED',_0x53c421[_0x53c421[_0x50acdc(0x373)]=0x232b]=_0x50acdc(0x373),_0x53c421[_0x53c421[_0x50acdc(0x321)]=0x232c]=_0x50acdc(0x321),_0x53c421[_0x53c421[_0x50acdc(0x129)]=0x232d]=_0x50acdc(0x129),_0x53c421[_0x53c421[_0x50acdc(0x205)]=0x2711]=_0x50acdc(0x205),_0x53c421[_0x53c421[_0x50acdc(0x1bc)]=0x2712]=_0x50acdc(0x1bc),_0x53c421[_0x53c421[_0x50acdc(0x2af)]=0x2713]='YUUMI_RATE_OVER_LIMIT',_0x53c421[_0x53c421['YUUMI_SUBSCRIPTION_NOT_FOUND']=0x2714]='YUUMI_SUBSCRIPTION_NOT_FOUND',_0x53c421[_0x53c421[_0x50acdc(0x21d)]=0x271a]=_0x50acdc(0x21d),_0x53c421[_0x53c421['YUUMI_ASYNCIO_CANCELLED']=0x271b]=_0x50acdc(0x3a5),_0x53c421[_0x53c421[_0x50acdc(0x360)]=0x271c]='YUUMI_TABLE_NOT_FOUND_IN_UNIT',_0x53c421[_0x53c421[_0x50acdc(0x309)]=0x271d]=_0x50acdc(0x309),_0x53c421[_0x53c421[_0x50acdc(0x15a)]=0x271e]=_0x50acdc(0x15a),_0x53c421[_0x53c421[_0x50acdc(0x2d1)]=0x271f]=_0x50acdc(0x2d1),_0x53c421[_0x53c421[_0x50acdc(0x31c)]=0x2720]=_0x50acdc(0x31c),_0x53c421[_0x53c421[_0x50acdc(0x347)]=0x2af9]=_0x50acdc(0x347),_0x53c421[_0x53c421[_0x50acdc(0xcb)]=0x2ee1]=_0x50acdc(0xcb),_0x53c421[_0x53c421[_0x50acdc(0x330)]=0x2ee2]=_0x50acdc(0x330),_0x53c421[_0x53c421[_0x50acdc(0x3c9)]=0x2ee3]='INVITE_CODE_REQUIRED',_0x53c421[_0x53c421['USER_NOT_INVITED_CODE']=0x2ee4]=_0x50acdc(0x1b4),_0x53c421[_0x53c421[_0x50acdc(0x1ac)]=0x2ee5]=_0x50acdc(0x1ac),_0x53c421[_0x53c421[_0x50acdc(0x193)]=0x32c9]=_0x50acdc(0x193),_0x53c421[_0x53c421['MOBILE_HAS_BEEN_BOUND']=0x32ca]=_0x50acdc(0x2d2),_0x53c421[_0x53c421['EMAIL_HAS_BEEN_BOUND']=0x32cb]=_0x50acdc(0x3b8),_0x53c421[_0x53c421['UNRECOGNIZED']=-0x1]='UNRECOGNIZED',_0x53c421))(dt||{}),J=(_0x14976e=>(_0x14976e[_0x14976e['UNIVER_UNKNOWN']=0x0]=_0x50acdc(0x247),_0x14976e[_0x14976e[_0x50acdc(0x1c5)]=0x1]=_0x50acdc(0x1c5),_0x14976e[_0x14976e[_0x50acdc(0x2f3)]=0x2]=_0x50acdc(0x2f3),_0x14976e[_0x14976e[_0x50acdc(0xab)]=0x3]='UNIVER_SLIDE',_0x14976e[_0x14976e[_0x50acdc(0x34c)]=0x4]=_0x50acdc(0x34c),_0x14976e[_0x14976e[_0x50acdc(0x35f)]=-0x1]='UNRECOGNIZED',_0x14976e))(J||{}),W=(_0x599667=>(_0x599667[_0x599667['UNKNOWN_CMD']=0x0]=_0x50acdc(0x3d8),_0x599667[_0x599667[_0x50acdc(0x254)]=0x1]=_0x50acdc(0x254),_0x599667[_0x599667[_0x50acdc(0x228)]=0x2]=_0x50acdc(0x228),_0x599667[_0x599667[_0x50acdc(0x3b2)]=0x3]=_0x50acdc(0x3b2),_0x599667[_0x599667[_0x50acdc(0x208)]=0x4]=_0x50acdc(0x208),_0x599667[_0x599667['HEARTBEAT']=0x5]=_0x50acdc(0xaf),_0x599667[_0x599667['RECV']=0x6]='RECV',_0x599667[_0x599667['UNRECOGNIZED']=-0x1]=_0x50acdc(0x35f),_0x599667))(W||{}),se=(_0x14c187=>(_0x14c187[_0x14c187[_0x50acdc(0xd5)]=0x0]='UNKNOWN_CODE',_0x14c187[_0x14c187['OK']=0x1]='OK',_0x14c187[_0x14c187[_0x50acdc(0x180)]=0x2]='FAIL',_0x14c187[_0x14c187['JOIN_ROOM_FULL']=0x3e9]=_0x50acdc(0x195),_0x14c187[_0x14c187[_0x50acdc(0x237)]=0x3ea]='JOIN_ROOM_NOT_EXISTS',_0x14c187[_0x14c187[_0x50acdc(0x131)]=0x3eb]=_0x50acdc(0x131),_0x14c187[_0x14c187['GLOBAL_ROOMS_CNT_EXCEEDS']=0x3ec]=_0x50acdc(0x342),_0x14c187[_0x14c187[_0x50acdc(0x35f)]=-0x1]=_0x50acdc(0x35f),_0x14c187))(se||{}),vt=(_0x1c9d25=>(_0x1c9d25[_0x1c9d25[_0x50acdc(0x15c)]=0x0]=_0x50acdc(0x15c),_0x1c9d25[_0x1c9d25[_0x50acdc(0x222)]=0x1]=_0x50acdc(0x222),_0x1c9d25[_0x1c9d25[_0x50acdc(0xce)]=0x2]='HttpExport',_0x1c9d25[_0x1c9d25['UnitEmbedded']=0x3]='UnitEmbedded',_0x1c9d25[_0x1c9d25[_0x50acdc(0x15d)]=0x4]=_0x50acdc(0x15d),_0x1c9d25[_0x1c9d25['UserProfileImg']=0x5]=_0x50acdc(0xf8),_0x1c9d25[_0x1c9d25['UNRECOGNIZED']=-0x1]='UNRECOGNIZED',_0x1c9d25))(vt||{});const Bt=_0x50acdc(0x251);function Ft(_0x35ad79){var _0x369c61=_0x50acdc;return JSON[_0x369c61(0x8b)](_0x35ad79)['length'];}var Z=(_0x555d8b=>(_0x555d8b[_0x50acdc(0x3d7)]=_0x50acdc(0x3d7),_0x555d8b[_0x50acdc(0x3e6)]=_0x50acdc(0x3e6),_0x555d8b['CONFLICT']=_0x50acdc(0xe0),_0x555d8b[_0x50acdc(0x16b)]='CLOSE_ROOM',_0x555d8b[_0x50acdc(0x307)]='JOIN_ROOM_FAILED',_0x555d8b[_0x50acdc(0x1bb)]=_0x50acdc(0x1bb),_0x555d8b['SOCKET_FAILED']='SOCKET_FAILED',_0x555d8b[_0x50acdc(0x36a)]=_0x50acdc(0x36a),_0x555d8b))(Z||{});class ee{constructor(){var _0x137430=_0x50acdc;A(this,_0x137430(0x20a),new H[(_0x137430(0x20c))]()),A(this,_0x137430(0x291),this[_0x137430(0x20a)][_0x137430(0x1c8)]());}[_0x50acdc(0xc2)](_0x586e57){var _0x117d1a=_0x50acdc;this[_0x117d1a(0x20a)][_0x117d1a(0x30b)](_0x586e57);}}class $e{constructor(){var _0x1432cd=_0x50acdc;A(this,_0x1432cd(0x136),new H[(_0x1432cd(0x20c))]()),A(this,_0x1432cd(0x3e3),this[_0x1432cd(0x136)][_0x1432cd(0x1c8)]());}[_0x50acdc(0x2c6)](_0x2d13a1){var _0x49d230=_0x50acdc;this[_0x49d230(0x136)]['next'](_0x2d13a1);}}var Vt=Object[_0x50acdc(0x1c4)],Wt=(_0x37b09e,_0x4b7338,_0x22f689,_0x4cec8b)=>{var _0x175004=_0x50acdc;for(var _0x3cebfd=_0x4cec8b>0x1?void 0x0:_0x4cec8b?Vt(_0x4b7338,_0x22f689):_0x4b7338,_0x1ce741=_0x37b09e[_0x175004(0x31b)]-0x1,_0x5f285a;_0x1ce741>=0x0;_0x1ce741--)(_0x5f285a=_0x37b09e[_0x1ce741])&&(_0x3cebfd=_0x5f285a(_0x3cebfd)||_0x3cebfd);return _0x3cebfd;},Ve=(_0x5c0ab1,_0x1d1ede)=>(_0x1cd993,_0x53a036)=>_0x1d1ede(_0x1cd993,_0x53a036,_0x5c0ab1);exports['MemberService']=class extends a['Disposable']{constructor(_0x43db79,_0x59af29){var _0x3c4957=_0x50acdc;super(),A(this,_0x3c4957(0x245),new Map()),A(this,'_roomCreated$',new H[(_0x3c4957(0x20c))]()),(this[_0x3c4957(0x1d5)]=_0x43db79,this[_0x3c4957(0x36c)]=_0x59af29,this[_0x3c4957(0x2bc)](H[_0x3c4957(0x27b)](this[_0x3c4957(0x1d5)][_0x3c4957(0x28a)](a[_0x3c4957(0x2cf)][_0x3c4957(0x2f3)])[_0x3c4957(0x34b)](V[_0x3c4957(0x2cc)](_0x3525a9=>_0x3525a9['getUnitId']())),this['_univerInstanceService'][_0x3c4957(0x28a)](a[_0x3c4957(0x2cf)][_0x3c4957(0x1c5)])['pipe'](V[_0x3c4957(0x2cc)](_0x106621=>_0x106621['getUnitId']())),this[_0x3c4957(0x1d5)][_0x3c4957(0x28a)](a[_0x3c4957(0x2cf)][_0x3c4957(0xab)])[_0x3c4957(0x34b)](V[_0x3c4957(0x2cc)](_0x3c6e9e=>_0x3c6e9e['getUnitId']())))['subscribe'](_0x2e98d3=>this[_0x3c4957(0x120)](_0x2e98d3))));}[_0x50acdc(0x384)](_0x26155c){var _0x109e56=_0x50acdc;return this['_roomMembers'][_0x109e56(0x6f)](_0x26155c)?H['of'](this[_0x109e56(0x245)][_0x109e56(0x230)](_0x26155c)):this['_roomCreated$'][_0x109e56(0x34b)](V['map'](_0x32e0aa=>{var _0x5f478a=_0x109e56;if(_0x32e0aa===_0x26155c)return this[_0x5f478a(0x245)][_0x5f478a(0x230)](_0x32e0aa);}));}[_0x50acdc(0x2bd)](_0x530330){var _0x3349c5=_0x50acdc;this['_userManagerService'][_0x3349c5(0x2bd)](_0x530330);}[_0x50acdc(0x226)](){var _0x4ac216=_0x50acdc;return this['_userManagerService'][_0x4ac216(0x226)]();}[_0x50acdc(0x2f6)](_0x33ca69,_0x209446){var _0x2e8d52=_0x50acdc;let _0x460a5f=this['_roomMembers'][_0x2e8d52(0x230)](_0x33ca69);_0x460a5f||(_0x460a5f=new Gt(),this[_0x2e8d52(0x245)][_0x2e8d52(0x19b)](_0x33ca69,_0x460a5f),this[_0x2e8d52(0x1f4)]['next'](_0x33ca69)),_0x460a5f[_0x2e8d52(0x2f6)](_0x209446);}['removeMember'](_0x5d1260,_0x354cc2){var _0x4fe361=_0x50acdc;const _0xf35519=this['_roomMembers'][_0x4fe361(0x230)](_0x5d1260);_0xf35519&&_0xf35519[_0x4fe361(0x2db)](_0x354cc2);}['getRoom'](_0x281ea2){var _0x5ec84c=_0x50acdc;return this[_0x5ec84c(0x245)][_0x5ec84c(0x230)](_0x281ea2);}[_0x50acdc(0xe1)](_0x20f962,_0x394623){var _0x1df918=_0x50acdc;const _0x32dbd9=this[_0x1df918(0x245)][_0x1df918(0x230)](_0x20f962);if(_0x32dbd9)return _0x32dbd9[_0x1df918(0xe1)](_0x394623);}[_0x50acdc(0x120)](_0x452c1e){var _0x20846b=_0x50acdc;const _0x4410e5=this['_roomMembers'][_0x20846b(0x230)](_0x452c1e);_0x4410e5&&(_0x4410e5['dispose'](),this['_roomMembers'][_0x20846b(0x38a)](_0x452c1e));}[_0x50acdc(0xdd)](){var _0x480b28=_0x50acdc;this[_0x480b28(0x245)][_0x480b28(0x198)](_0x2be1a4=>_0x2be1a4[_0x480b28(0xdd)]()),this['_roomMembers'][_0x480b28(0x201)](),this[_0x480b28(0x1f4)][_0x480b28(0x2ab)]();}},exports[_0x50acdc(0x36b)]=Wt([Ve(0x0,a[_0x50acdc(0xa5)]),Ve(0x1,a[_0x50acdc(0x93)](a[_0x50acdc(0x214)]))],exports[_0x50acdc(0x36b)]);class Gt extends a['Disposable']{constructor(){var _0x318bcc=_0x50acdc;super(...arguments),A(this,_0x318bcc(0x24e),new Map()),A(this,_0x318bcc(0x141),new H['BehaviorSubject'](this[_0x318bcc(0x24e)])),A(this,'members$',this[_0x318bcc(0x141)][_0x318bcc(0x1c8)]());}[_0x50acdc(0xdd)](){var _0xb0f834=_0x50acdc;this[_0xb0f834(0x24e)][_0xb0f834(0x201)]();}['updateMember'](_0x2067bc){var _0x4cdda2=_0x50acdc;this['_members'][_0x4cdda2(0x19b)](_0x2067bc[_0x4cdda2(0xd3)],_0x2067bc),this[_0x4cdda2(0x2b9)]();}[_0x50acdc(0x2db)](_0x41cdfc){var _0x25cd34=_0x50acdc;this[_0x25cd34(0x24e)][_0x25cd34(0x38a)](_0x41cdfc);}['getMember'](_0x1aabb5){var _0x15724b=_0x50acdc;return this[_0x15724b(0x24e)][_0x15724b(0x230)](_0x1aabb5);}[_0x50acdc(0x281)](){var _0x4004e5=_0x50acdc;return Array[_0x4004e5(0x3e7)](this[_0x4004e5(0x24e)]['values']());}[_0x50acdc(0x2b9)](){var _0x50d14f=_0x50acdc;this['_members$']['next'](this[_0x50d14f(0x24e)]);}}var Yt=Object[_0x50acdc(0x1c4)],qt=(_0x42c5e1,_0x5c89f0,_0x1b8063,_0x3a0eea)=>{var _0x7fff85=_0x50acdc;for(var _0x1e8683=_0x3a0eea>0x1?void 0x0:_0x3a0eea?Yt(_0x5c89f0,_0x1b8063):_0x5c89f0,_0x3f9cf0=_0x42c5e1[_0x7fff85(0x31b)]-0x1,_0x5e18bf;_0x3f9cf0>=0x0;_0x3f9cf0--)(_0x5e18bf=_0x42c5e1[_0x3f9cf0])&&(_0x1e8683=_0x5e18bf(_0x1e8683)||_0x1e8683);return _0x1e8683;},ce=(_0x53aca4,_0x3b4eba)=>(_0x19d76d,_0x20feb9)=>_0x3b4eba(_0x19d76d,_0x20feb9,_0x53aca4),re=(_0x1b933a=>(_0x1b933a[_0x1b933a['IDLE']=0x0]=_0x50acdc(0x2a1),_0x1b933a[_0x1b933a['JOINING']=0x1]=_0x50acdc(0x213),_0x1b933a[_0x1b933a['OFFLINE']=0x2]=_0x50acdc(0x2dc),_0x1b933a[_0x1b933a[_0x50acdc(0x246)]=0x3]=_0x50acdc(0x246),_0x1b933a))(re||{});const We={[se['FAIL']]:_0x50acdc(0x26f),[se[_0x50acdc(0x195)]]:_0x50acdc(0x2a4),[se[_0x50acdc(0x237)]]:'session.room-not-exists',[se[_0x50acdc(0x131)]]:_0x50acdc(0x186),[se[_0x50acdc(0x342)]]:'session.room-cnt-exceeds'};exports[_0x50acdc(0x21c)]=class extends a[_0x50acdc(0x1fa)]{constructor(_0x46f6b4,_0x4ba2c5,_0x37b813,_0x4e2a2c,_0x48f957,_0x1aad76,_0x241ef6,_0xc2d4f3){var _0x2b6764=_0x50acdc;super(),A(this,_0x2b6764(0x319),new H[(_0x2b6764(0x1ea))](0x0)),A(this,'sessionStatus$',this[_0x2b6764(0x319)][_0x2b6764(0x1c8)]()),A(this,_0x2b6764(0x20a),new H[(_0x2b6764(0x20c))]()),A(this,_0x2b6764(0x291),this[_0x2b6764(0x20a)][_0x2b6764(0x1c8)]()),A(this,_0x2b6764(0x2d9)),A(this,_0x2b6764(0x81)),A(this,_0x2b6764(0x35d)),A(this,_0x2b6764(0x229),!0x1),A(this,_0x2b6764(0xf0),null),(this[_0x2b6764(0x12f)]=_0x46f6b4,this['_logService']=_0x37b813,this[_0x2b6764(0x7f)]=_0x4e2a2c,this[_0x2b6764(0x371)]=_0x48f957,this[_0x2b6764(0x2d3)]=_0x1aad76,this[_0x2b6764(0x22b)]=_0x241ef6,this[_0x2b6764(0x2ed)]=_0xc2d4f3,this[_0x2b6764(0x229)]=!!this['_telemetryService'],_0x4ba2c5['pipe'](H[_0x2b6764(0x2bf)](this[_0x2b6764(0x1a5)]))[_0x2b6764(0x393)](_0x13d0c7=>{var _0x37ed17=_0x2b6764,_0x133549;typeof _0x13d0c7>'u'||(this['_socket']=_0x13d0c7,_0x13d0c7?(this['_joinRoom'](_0x13d0c7),this[_0x37ed17(0x81)]=_0x13d0c7[_0x37ed17(0x265)][_0x37ed17(0x393)](_0x37c92b=>{var _0x44c5ef=_0x37ed17;_0x37c92b['routeKey']===this[_0x44c5ef(0x12f)]&&this[_0x44c5ef(0xdb)](_0x37c92b);})):(this[_0x37ed17(0x359)](),this['_sessionStatus$'][_0x37ed17(0x30b)](0x2),(_0x133549=this[_0x37ed17(0x81)])==null||_0x133549[_0x37ed17(0x34f)](),this[_0x37ed17(0x81)]=null));}));}get[_0x50acdc(0x341)](){var _0x39966d=_0x50acdc;return this[_0x39966d(0x319)]['getValue']();}[_0x50acdc(0x1f5)](){var _0x4fb16a=_0x50acdc,_0x8fe04a,_0x3f4121;return(_0x3f4121=(_0x8fe04a=this[_0x4fb16a(0x2d9)])==null?void 0x0:_0x8fe04a[_0x4fb16a(0xd3)])!=null?_0x3f4121:null;}[_0x50acdc(0xdd)](){var _0x3e9f46=_0x50acdc;super[_0x3e9f46(0xdd)](),this[_0x3e9f46(0x1a5)][_0x3e9f46(0x30b)](),this[_0x3e9f46(0x1a5)]['complete']();}[_0x50acdc(0x2b8)](){var _0x7e921c=_0x50acdc,_0x3cdc19,_0x43a83e;this['_throwTelemetryCollaborationNewChangeset'](),(_0x3cdc19=this[_0x7e921c(0x2d9)])==null||_0x3cdc19['send']({'cmd':W[_0x7e921c(0x3b2)],'data':{'roomID':this[_0x7e921c(0x12f)]}}),(_0x43a83e=this[_0x7e921c(0x2d9)])==null||_0x43a83e[_0x7e921c(0x2b8)](),this[_0x7e921c(0x20a)]['complete'](),this[_0x7e921c(0x319)][_0x7e921c(0x2ab)](),this['dispose']();}['_onCombEvent'](_0x40848f){var _0x56247c=_0x50acdc;_0x40848f['cmd']===W[_0x56247c(0x228)]?this['_onJoinRoomEvent'](_0x40848f):_0x40848f['cmd']===W[_0x56247c(0x317)]&&this[_0x56247c(0x187)](_0x40848f);}[_0x50acdc(0x370)](_0x5e6505){var _0xeaec7=_0x50acdc;this['_sessionStatus$'][_0xeaec7(0x30b)](0x1),_0x5e6505['send']({'cmd':W[_0xeaec7(0x228)],'routeKey':this[_0xeaec7(0x12f)],'routeType':'','data':{'rooms':[{'roomID':this[_0xeaec7(0x12f)]}]}});}[_0x50acdc(0x8d)](_0x6d5ce3){var _0x501818=_0x50acdc,_0x50a845;if(_0x6d5ce3[_0x501818(0x156)]in We){this[_0x501818(0x22b)][_0x501818(0xc2)]({'id':Z['JOIN_ROOM_FAILED'],'data':We[_0x6d5ce3[_0x501818(0x156)]]}),this[_0x501818(0x319)][_0x501818(0x30b)](0x2);return;}this['_sessionStatus$'][_0x501818(0x30b)](0x3);const _0x4f6361=(_0x50a845=_0x6d5ce3[_0x501818(0x33e)][_0x501818(0x1a1)][this[_0x501818(0x12f)]])==null?void 0x0:_0x50a845[_0x501818(0xef)];_0x4f6361&&_0x4f6361[_0x501818(0x198)](_0x55b94b=>this[_0x501818(0x371)][_0x501818(0x2f6)](this['_unitID'],_0x55b94b));}[_0x50acdc(0x187)](_0x11dec6){var _0x19a93c=_0x50acdc;try{const _0x12284f=_0x11dec6[_0x19a93c(0x33e)];switch(_0x12284f['eventID']){case p['CollaborationEvent'][_0x19a93c(0x3d6)]:this[_0x19a93c(0x2dd)](_0x12284f),this[_0x19a93c(0x20a)][_0x19a93c(0x30b)](_0x12284f);break;case p['CollaborationEvent']['USERS_LEAVE']:this[_0x19a93c(0x112)](_0x12284f),this[_0x19a93c(0x20a)][_0x19a93c(0x30b)](_0x12284f);break;case p[_0x19a93c(0x2d7)][_0x19a93c(0x23f)]:case p[_0x19a93c(0x2d7)][_0x19a93c(0x276)]:this['_stopTelemetryCollaborationNewChangeset'](),this[_0x19a93c(0x1f3)](),this[_0x19a93c(0x20a)][_0x19a93c(0x30b)](_0x12284f);break;case p['CollaborationEvent']['MSG_FOR_ERROR']:this[_0x19a93c(0x164)][_0x19a93c(0x253)](_0x19a93c(0x358)+JSON['stringify'](_0x12284f)),this['_event$'][_0x19a93c(0x30b)](_0x12284f);break;case p[_0x19a93c(0x2d7)][_0x19a93c(0x174)]:this[_0x19a93c(0x2d3)][_0x19a93c(0x2c6)](_0x12284f[_0x19a93c(0x33e)]),this[_0x19a93c(0x20a)]['next'](_0x12284f);break;default:this[_0x19a93c(0x20a)][_0x19a93c(0x30b)](_0x12284f);}}catch(_0x355e09){this[_0x19a93c(0x164)][_0x19a93c(0x253)](_0x355e09,_0x11dec6);}}['_onUserJoin'](_0x64ecea){var _0x56d872=_0x50acdc;this[_0x56d872(0x371)][_0x56d872(0x2f6)](this[_0x56d872(0x12f)],_0x64ecea[_0x56d872(0x33e)]);}[_0x50acdc(0x112)](_0x3b2424){var _0x1ec4e7=_0x50acdc;this[_0x1ec4e7(0x371)]['removeMember'](this[_0x1ec4e7(0x12f)],_0x3b2424[_0x1ec4e7(0x33e)][_0x1ec4e7(0xd3)]);}async[_0x50acdc(0x3eb)](_0x465e46,_0x62a8a8){var _0x11f294=_0x50acdc;if(this[_0x11f294(0x341)]!==0x3||!this['_socket'])throw new Error(_0x11f294(0x172));try{_0x465e46[_0x11f294(0x12e)]===p['CollaborationEvent']['SUBMIT_CHANGESET']&&(this[_0x11f294(0x3c1)](),this['_startTelemetryCollaborationNewChangeset'](_0x465e46)),this[_0x11f294(0x2d9)][_0x11f294(0x3eb)]({'cmd':W['INGEST'],'routeKey':_0x62a8a8,'routeType':'','data':_0x465e46});}catch(_0x168878){this[_0x11f294(0x164)][_0x11f294(0x253)](_0x168878);}}[_0x50acdc(0x3c1)](){var _0x7814ea=_0x50acdc,_0x47b051;this['_collaborationTimeoutTimer']=setTimeout(()=>{var _0x4dea1c=_0x5520;this['_collaborationTimeoutTimer']=null,this[_0x4dea1c(0x22b)][_0x4dea1c(0xc2)]({'id':Z[_0x4dea1c(0x36a)]});},(_0x47b051=this[_0x7814ea(0x7f)]['getConfig'](ke))!=null?_0x47b051:lt);}[_0x50acdc(0x1f3)](){var _0x1b4a85=_0x50acdc;this[_0x1b4a85(0x35d)]&&(clearTimeout(this['_collaborationTimeoutTimer']),this[_0x1b4a85(0x35d)]=null);}[_0x50acdc(0x20e)](_0x4da77d){var _0xa4dd98=_0x50acdc;if(!this[_0xa4dd98(0x229)])return;const {data:_0x5c625d}=_0x4da77d,{unitID:_0x3ac015,changeset:_0x4f903c}=_0x5c625d,{mutations:_0x23388a,type:_0xc31345}=_0x4f903c;this[_0xa4dd98(0xf0)]={'unitId':_0x3ac015,'type':_0xc31345,'startTime':performance['now'](),'stopTime':0x0,'duration':0x0,'size':Ft(_0x23388a)};}['_stopTelemetryCollaborationNewChangeset'](){var _0x41402f=_0x50acdc;if(this['_shouldReportTelemetry']){if(!this[_0x41402f(0xf0)]){this[_0x41402f(0x164)]['error']('[CollaborationSession]',_0x41402f(0x392));return;}this[_0x41402f(0xf0)][_0x41402f(0x299)]=performance['now'](),this[_0x41402f(0xf0)][_0x41402f(0x145)]=this[_0x41402f(0xf0)][_0x41402f(0x299)]-this['_telemetryInfo'][_0x41402f(0x216)],this[_0x41402f(0x2ed)]['capture'](Bt,this[_0x41402f(0xf0)]),this[_0x41402f(0xf0)]=null;}}[_0x50acdc(0x359)](){var _0x7a4669=_0x50acdc;this[_0x7a4669(0xf0)]=null;}},exports[_0x50acdc(0x21c)]=qt([ce(0x2,a['ILogService']),ce(0x3,a[_0x50acdc(0xda)]),ce(0x4,a['Inject'](exports[_0x50acdc(0x36b)])),ce(0x5,a[_0x50acdc(0x93)]($e)),ce(0x6,a[_0x50acdc(0x93)](ee)),ce(0x7,a[_0x50acdc(0x21e)](Rt[_0x50acdc(0x1d3)]))],exports[_0x50acdc(0x21c)]);const K=a['createIdentifier'](_0x50acdc(0x104));function Kt(_0x189294){var _0x36b07c=_0x50acdc;return _0x36b07c(0x6c)+_0x189294;}var zt=Object[_0x50acdc(0x1c4)],Jt=(_0x42b46a,_0x36114b,_0x150fae,_0x5f36fc)=>{var _0x422ed0=_0x50acdc;for(var _0x55fe6b=_0x5f36fc>0x1?void 0x0:_0x5f36fc?zt(_0x36114b,_0x150fae):_0x36114b,_0xd45581=_0x42b46a[_0x422ed0(0x31b)]-0x1,_0x209bd3;_0xd45581>=0x0;_0xd45581--)(_0x209bd3=_0x42b46a[_0xd45581])&&(_0x55fe6b=_0x209bd3(_0x55fe6b)||_0x55fe6b);return _0x55fe6b;},Ue=(_0x221f54,_0x37a922)=>(_0x2f00eb,_0x29e6d7)=>_0x37a922(_0x2f00eb,_0x29e6d7,_0x221f54);function Xt(_0x776581){var _0x7c46e=_0x50acdc;const {unitID:_0x399212,mutations:_0x31c017}=_0x776581;return{'unitId':_0x399212,'subUnitId':_0x31c017[0x0][_0x7c46e(0xbb)]['subUnitId']};}exports['SheetTransformSelectionsService']=class{constructor(_0x255c3c,_0x259923,_0x4191dc){var _0x4cd2d3=_0x50acdc;this[_0x4cd2d3(0xf3)]=_0x255c3c,this[_0x4cd2d3(0x275)]=_0x259923,this[_0x4cd2d3(0x390)]=_0x4191dc;}[_0x50acdc(0x19d)](_0x4d9658){var _0x17b7cd=_0x50acdc,_0x4dc1aa,_0x31ed1f,_0x161e5e,_0x3f3f17;const _0x16cca1=this[_0x17b7cd(0xf3)]['get'](X[_0x17b7cd(0x32a)]),{unitId:_0x24bf22,subUnitId:_0x1a3f96}=Xt(_0x4d9658),_0x375f3c=_0x16cca1==null?void 0x0:_0x16cca1[_0x17b7cd(0x34a)](_0x24bf22)[_0x17b7cd(0x22c)](),_0xd163d8=(_0x31ed1f=(_0x4dc1aa=this[_0x17b7cd(0x390)]['getUnit'](_0x24bf22))==null?void 0x0:_0x4dc1aa[_0x17b7cd(0x32f)]())==null?void 0x0:_0x31ed1f[_0x17b7cd(0x294)]();if(_0x375f3c[_0x17b7cd(0x31b)]===0x0||!_0x24bf22||!_0x1a3f96)return;const _0xc6bf58=[{'id':X['SetSelectionsOperation']['id'],'params':{'unitId':_0x24bf22,'subUnitId':_0xd163d8,'selections':a[_0x17b7cd(0x3ea)][_0x17b7cd(0x83)](_0x375f3c)}}],_0xde442d=this[_0x17b7cd(0x275)]['transformMutationsWithChangeset'](_0x4d9658,_0xc6bf58);if(!p[_0x17b7cd(0x37e)](_0xde442d))throw _0xde442d[_0x17b7cd(0x253)];const _0x4b3236=(_0x3f3f17=(_0x161e5e=_0xde442d['m2Prime'][0x0])==null?void 0x0:_0x161e5e[_0x17b7cd(0xbb)])==null?void 0x0:_0x3f3f17['selections'];if(Array[_0x17b7cd(0x165)](_0x4b3236)&&_0x4b3236[_0x17b7cd(0x31b)]){if(_0x4b3236['length']===_0xc6bf58[0x0][_0x17b7cd(0xbb)][_0x17b7cd(0x3db)][_0x17b7cd(0x31b)]&&_0x4b3236[_0x17b7cd(0x2cb)]((_0x7c7c4f,_0x50b8b9)=>a[_0x17b7cd(0x343)]['equals'](_0x7c7c4f['range'],_0xc6bf58[0x0][_0x17b7cd(0xbb)][_0x17b7cd(0x3db)][_0x50b8b9][_0x17b7cd(0x29b)])))return;this[_0x17b7cd(0xf3)][_0x17b7cd(0x230)](a[_0x17b7cd(0x8e)])['executeCommand'](X[_0x17b7cd(0x333)]['id'],{'unitId':_0x24bf22,'subUnitId':_0xd163d8,'selections':_0x4b3236});}}},exports[_0x50acdc(0x26a)]=Jt([Ue(0x0,a['Inject'](a[_0x50acdc(0x238)])),Ue(0x1,p[_0x50acdc(0x19a)]),Ue(0x2,a[_0x50acdc(0xa5)])],exports['SheetTransformSelectionsService']);const de=a['createIdentifier'](_0x50acdc(0xff));var He=(_0x35debf=>(_0x35debf[_0x35debf[_0x50acdc(0x3e5)]=0x0]=_0x50acdc(0x3e5),_0x35debf[_0x35debf[_0x50acdc(0x1ae)]=0x1]=_0x50acdc(0x1ae),_0x35debf))(He||{});const Y=_0x50acdc(0x2a2),Zt={},Qt=new Set([X[_0x50acdc(0x1b5)]['id']]);function Ge(_0x42e0f8,_0x36b19c,_0xa0de64,_0x3d72c0,_0x23e262){var _0x5568c0=_0x50acdc,_0x5021ef,_0x493201,_0x5a0fda,_0x2a3b5c;const _0x58f6c6=[];for(const _0x827a6 of _0x42e0f8)if(Qt[_0x5568c0(0x6f)](_0x827a6['id'])){if(_0x58f6c6[_0x5568c0(0x31b)]>0x0)break;_0x58f6c6[_0x5568c0(0x3a3)](_0x827a6);break;}else _0x58f6c6[_0x5568c0(0x3a3)](_0x827a6);const _0x8cf9c2=(_0x493201=(_0x5021ef=_0x23e262[_0x5568c0(0x226)]())==null?void 0x0:_0x5021ef[_0x5568c0(0xe8)])!=null?_0x493201:'unknown',_0x74fe6e=(_0x2a3b5c=(_0x5a0fda=_0x23e262['getCurrentUser']())==null?void 0x0:_0x5a0fda[_0x5568c0(0xd3)])!=null?_0x2a3b5c:_0x5568c0(0x1d0);return{'changeset':{'unitID':_0x36b19c,'type':p['mapDocumentTypeToUniverType'](_0xa0de64['getUnitType'](_0x36b19c)),'baseRev':_0x3d72c0[_0x5568c0(0xbf)](_0x36b19c),'revision':0x0,'userID':_0x8cf9c2,'memberID':_0x74fe6e,'mutations':_0x58f6c6},'pendingMutations':_0x42e0f8['slice'](_0x58f6c6['length'])};}function ei(_0x6bb290,_0x18822d,_0x27855d,_0x1485a2,_0x1bff76){var _0x28ef44=_0x50acdc,_0x30b586,_0x50f370,_0x431c9e,_0x21e500;const _0x267697=[_0x6bb290['reduce']((_0x3a1bc0,_0x12370e)=>{var _0x5badbf=_0x5520,_0x37592c;const {id:_0x1feb3c}=_0x3a1bc0,{id:_0x5c0865,type:_0x2e5c4c}=_0x12370e,_0x3b73e5=(_0x37592c=_0x3a1bc0[_0x5badbf(0xbb)])!=null?_0x37592c:{'actions':null},_0x43bd5e=_0x12370e[_0x5badbf(0xbb)];if(_0x1feb3c&&_0x1feb3c!==_0x5c0865)throw new Error(_0x5badbf(0x21f)+_0x1feb3c+'\x20-\x20'+_0x5c0865+'.');return{..._0x3a1bc0,'id':_0x5c0865,'type':_0x2e5c4c,'params':{'unitId':_0x43bd5e[_0x5badbf(0x13f)],'textRanges':_0x43bd5e['textRanges'],'actions':a['JSONX'][_0x5badbf(0x7d)](_0x3b73e5[_0x5badbf(0x2a0)],_0x43bd5e['actions'])}};},{})],_0x4c3a8d=(_0x50f370=(_0x30b586=_0x1bff76['getCurrentUser']())==null?void 0x0:_0x30b586[_0x28ef44(0xe8)])!=null?_0x50f370:_0x28ef44(0x1d0),_0x188d78=(_0x21e500=(_0x431c9e=_0x1bff76['getCurrentUser']())==null?void 0x0:_0x431c9e['memberID'])!=null?_0x21e500:'unknown';return{'changeset':{'unitID':_0x18822d,'type':p[_0x28ef44(0x306)](_0x27855d[_0x28ef44(0x227)](_0x18822d)),'baseRev':_0x1485a2['getCurrentRevOfUnit'](_0x18822d),'revision':0x0,'userID':_0x4c3a8d,'memberID':_0x188d78,'mutations':_0x267697},'pendingMutations':[]};}function _0x3a85(){var _0x497a08=['LICENSE_IMPORT_SIZE_EXCEEDED','createIdentifier','find','includes','registerHTTPInterceptor','Latin1','shareReplay','_sheetTransformSelectionsService','[PendingState]:\x20received\x20acknowledgement.','PendingState','concat','isTransformMutationsWithChangesetSuccess','_updateLocalCache','snapshot','DocCollaborationEntity','_initCloseConn','collaboratorID','waitForRoom$','encodeURIComponent','_onFetchMissResult','onTransformRemoteChangesetByIMECache','updatePermissionObjEvent','SyncedState','delete','enableOfflineEditing','loadUnitOfRevision','src','/universer-api/oidc/authpage','LICENSE_MAX_UNITS_EXCEEDED','_instanceService','liveShareNewHost','telemetry\x20info\x20is\x20not\x20initialized','subscribe','key','_executeRemoteChangeset','withCredentials','59016yEjWUS','LOGIN_FAILED','authzUrl','_decreaseWaiting','_substituteRedoStack','DataLoaderService','parse','_getUploadFileURL','HEARTBEAT_INTERVAL_KEY','encrypt','12bizoiM','transformMutationsWithChangeset','push','/rev/','YUUMI_ASYNCIO_CANCELLED','RichTextEditingMutation','updateCollaborator','_onRemoteChangeset','symbol','now','Univer','ENSURE_SNAPSHOT_EXECUTION','take','FileId','collabWebSocketUrl','signUrlServerUrl','avatar','LEAVE','/universer-api/snapshot/','This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!','__creator','hostname','joinEvent','EMAIL_HAS_BEEN_BOUND','floor','/universer-api/uniscript','clamp','ALREADY_EXISTS','updatePermissionPoint','addHandlerCallback','_eventService','padding','_scheduleCollaborationTimeoutTimer','OpenSSL','LIVESHARE_NEW_HOST','sheets','[CollaborationController]:\x20invalid\x20univer\x20type:\x20','SHA1','[CollaborationUndoRedoService]','saveImage','INVITE_CODE_REQUIRED','MSG_FOR_ERROR','body','BASE64','onStateChange','UPDATE_CURSOR','ERROR_EXCEED_SIZE','USERS_LEAVE','POST','$super','_sendHeartbeatTimer','repeat','CHANGESET_REVISION_CONFILICT','USERS_ENTER','OTHER_CLIENT_EDITING','UNKNOWN_CMD','[SyncedState]:\x20received\x20rejection.','concatMap','selections','/-/object/-/batch_allowed','interceptor','_nRounds','byteLength','onTransformRemoteChangesetByIMECache\x20callback\x20is\x20not\x20added\x20yet.','781323MrQAtw','put','commentUpdate$','_transformRemoteChangesetByIMECache','NO_OTHER_CLIENTS_EDITING','PERMISSION_DENIED','from','toDisposable','_sendingTimer','Tools','send','leaveEvent','PERSON','unit-cache-','CHANGESET_REJ','toggleOffline','has','fromCollab','CollaborationSessionService','_createHmacHelper','_registerDependencies','FETCH_MISS','FetchingMissState','_getSendChangesetTimeout','_collaborationPaused','Hex','_initRequestHeader','[CollaborationState]:\x20apply\x20error!','_sender','fetching\x20the\x20latest\x20document\x20from\x20the\x20server.','compose','_clearLocalCache','_configService','_type','_socketMessageSubscription','getUnitOnRev','deepClone','_key','ImageSourceType','keySize','CollaborationImageIoService','_substituteUndoStack','LOCAL_CACHE_INTERVAL','cfg','stringify','_keyPriorReset','_onJoinRoomEvent','ICommandService','onload','APPLY_REJECT','_iKey','LOCAL_CACHE_INTERVAL_KEY','Inject','charCodeAt','failed\x20to\x20apply\x20missed\x20changesets!','getFocusedUnit','/universer-api/authz','DisposableCollection','readyForCollab','createSocket','UnitEmbedded','COMPRESS_MUTATION_APPLY','size','_undoRedoService','IAuthzIoService','permissionRejEvent','HEARTBEAT_TIMEOUT','PENDING','saveChangeset','_initMergeInterceptor','IUniverInstanceService','_timeoutTimer','AwaitingState','_clearUndo','reqId','hasOwnProperty','UNIVER_SLIDE','[FetchMissState]','2XFtWcU','executeCommand','HEARTBEAT','onRemoteAck','collaborators','ivSize','onSendChangeset','c1Prime','onlyLocal','_reverseMap','downloadEndpointUrl','[ConflictState]:\x20invalid\x20calling\x20to\x20`resend`.','patch','ConflictState','params','_incrementRevisionNumber','min','href','getCurrentRevOfUnit','SUBMIT_CHANGESET','unitID','emitEvent','_parse','update','getUnitId','_toggleOnline','_applyRemoteChangeset','_keySchedule','target','_acknowledgedAwaitingChangeset','INVITE_CODE_HAS_BEEN_UES','_httpService','/fetchmissing?from=','HttpExport','_sessions','UnitStatus','getRandomValues','MergeInterceptorFactory','memberID','_invKeySchedule','UNKNOWN_CODE','createEncryptor','/allowed','_waitCount','SnapshotServerOverHTTPService','IConfigService','_onCombEvent','decryptBlock','dispose','Failed\x20to\x20update\x20permission\x20point','Cipher','CONFLICT','getMember','submit\x20changeset\x20error!','IMentionIOService','words','method','_listenToNetworkCondition','_onConflict','userID','awaitingChangeset','_nDataBytes','ImageUploadStatusType','People','_clearTimeoutTimer','ERROR_IMAGE_TYPE','members','_telemetryInfo','c2Prime','objectType','_injector','getGlobalObject','COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY','\x0aCurrent:\x20','_getSignURL','UserProfileImg','UNDEFINED','updateOfflineData','onLocalMutation','/unit/','_doProcessBlock','MD5','univer-pro.collaboration-client.single-active-unit-service','ciphertext','lib','string','INetworkConditionService','collaboration-client.local-cache-service','routeKey','ISnapshotServerService','_singleActiveUnitService','_exhaustRemoteChangesetQueue','objects','add','headers','result','_tryReconnect','getLocalCacheKey','[CollaborationSocketService]:\x20failed\x20to\x20create\x20socket!','collabSubmitChangesetUrl','confirm','_onUserLeave','UNISCRIPT_RUN','encode','SNAPSHOT_HAS_BEEN_REMOVED','transformUndoRedo','_getAPIPrefixPath','_startCollaboration','location','COMPLETION_FINISHED','CollaborationEntity','origin','4XrwYPj','objectID','UniverNetworkPlugin','_removeRoom','/universer-api/user/session-ticket','encryptBlock','DEFAULT_FILE_NAME','state$','_transitionLocked','[CollaborationSession]','blockSize','clone','LICENSE_DISTRO_REJECTED','_onConnectionFailed','editingUnit','LIVESHARE_TERMINATE','uuidv4','eventID','_unitID','[OfflineState]:\x20received\x20acknowledgement.','JOIN_ROOM_PERMISSION_DENIED','init','[AuthServerService]:\x20you\x20should\x20provide\x20authentication\x20info\x20on\x20Node.js.','format','_localCacheService','_commentUpdate$','[CollaborationEntity]:\x20invalid\x20state\x20transition!\x20State\x20transferred\x20from\x20is\x20not\x20the\x20current\x20state.\x0aBefore:\x20','toggleOnline','getResourcesRequest','firstValueFrom','ILocalCacheService','changesets','ws://127.0.0.1:8000/universer-api/comb/connect','sigBytes','unitId','getUnitStatus$','_members$','sin','mixIn','_createInitialState','duration','_process','toString','_onRemoteRejected','resolve','generateRandomId','CommandType','UPDATE_PERMISSION_OBJ','onRemoteRetry','socket\x20open.','[DataLoaderService]','processBlock','localeService','image/png','_revisionService','startsWith','_initUnitPermissionChange','code','_updateStatus','IPermissionService','_queuedRemoteChangesets','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','CollaborationSocketService','Undefined','UnitSnapshot','MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','_onLocalMutation','IUndoRedoService','_waitForHeartbeatResponse','parseChangesetToProtocol','__Key__','_logService','isArray','_rescheduleHeartbeat','MentionIoHttpService','liveShareOperation','requestParams','NOT_COLLAB','CLOSE_ROOM','baseRev','[SyncedState]:\x20received\x20acknowledgement.','_prevBlock','_disableEditing','compute','_onConnectionOpen','[CollaborationSession]:\x20should\x20not\x20send\x20message\x20when\x20the\x20session\x20is\x20offline!','isInternalEditorID','COMMENT_UPDATE','LIVESHARE_REQUEST_HOST','fromCharCode','ceil','_resendTimeout','onTransformRemoteChangesetByStateCache\x20callback\x20is\x20not\x20added\x20yet.','BlockCipherMode','[OfflineState]:\x20received\x20changeset.','saveSnapshot','splice','LIVESHARE_OPERATION','_submitChangeset','FAIL','msCrypto','Disposable','univer-pro.collaboration-client.network-condition.service','_getLoginPath','_permissionService','session.room-permission-denied','_onRecvEvent','reject','_undoStacks','setConfig','socketService','/resources','_schedule','catch','HEARTBEAT_TIMEOUT_KEY','1563199asRpnp','_doCryptBlock','Native\x20crypto\x20module\x20could\x20not\x20be\x20used\x20to\x20get\x20secure\x20random\x20number.','WECHAT_HAS_BEEN_BOUND','responseType','JOIN_ROOM_FULL','resourceIDs','x-univer-host','forEach','987tmtRJR','ITransformService','set','_isPermissionRej','transformSelections','_retryConnectingTimer','isTransformChangesetsSuccess','_clearRetryConnectingTimer','roomInfos','roles','error$','[CollaborationEntity]:\x20cannot\x20lock\x20transition\x20twice!\x20This\x20is\x20an\x20implementation\x20error,\x20meaning\x20you\x20transit\x20the\x20collaboration\x20state\x20again\x20in\x20the\x20process\x20of\x20a\x20previous\x20transition.\x20This\x20should\x20never\x20happen.','dispose$','CipherParams','Could\x20not\x20dynamically\x20require\x20\x22','RevisionService','_iv','[CollaborationSessionService]','_state','INVITE_CODE_ALREADY_BOUND','UNIVER_COLLABORATION_CLIENT_PLUGIN','OTHER_CLIENTS_EDITING','AWAITING','pending','_transformRemoteChangesetByStateCache','onRemoteRej','OPTIONAL','USER_NOT_INVITED_CODE','InsertSheetMutation','_createSocket','textEncoder','pauseCollaboration','getCollabEntity$','then','SOCKET_FAILED_RETRY','YUUMI_URL_COL_OUT_OF_RANGE','_checkMissing','objectActions','EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','_init','loadDoc','_xformMode','__esModule','getOwnPropertyDescriptor','UNIVER_DOC','onSyncEditingCollabCursor','_replaceFileID','asObservable','_doCreateSocket','_createHelper','_updateState','b64DecodeUnicode','textRanges','isTransformMutationsWithChangesetFailure','_clearScheduledTask','unknown','salt','awaiting','ITelemetryService','_resendTimer','_univerInstanceService','_entities','originalMeta','Decryptor','APPLY_PERMISSION_DENIED','UniverCollaborationClientPlugin','mutations','SUCCUSS','&assign=','APPLY_DUPLICATED','getValue','542210zBfGUm','_lockTransition','_changesetSessionId','APPLY_REVISION_CONFILICT','\x20to\x20','_fetchMissChangesets','listCollaborators','CollaborationUIEventService','_hasher','type','BehaviorSubject','sendChangesetTimeout','_getAPIPrefix','_cipher','join','_toggleOffline','joinRsp','create','EMAIL_VERIFY_CODE_MISMATCH','_clearCollaborationTimeoutTimer','_roomCreated$','getMemberID','univer-pro.collaboration-client-socket-service','[FetchingMissState]:\x20invalid\x20calling\x20to\x20`resend`.','loadUnit','_data','RxDisposable','[CollaborationEntity]:\x20cannot\x20apply\x20missing\x20results\x20on\x20other\x20states!','localCacheService','Plugin','_createHandler','infoRsp','6KfByjV','clear','FETCH_MISSING','image/bmp','/universer-api/comb','YUUMI_UNABLE_LOAD_URL','onRemoteChangeset','_handlerCallback','INGEST','sessionStatus$','_event$','readAsDataURL','Subject','_retryCount','_startTelemetryCollaborationNewChangeset','_resendWithTimeout','OfflineState','exports','workbook','JOINING','UserManagerService','Base64','startTime','LocaleService','url','parseProtocolChangeset','pad','/object/','CollaborationSession','YUUMI_NO_CUBOID_FOR_QUESTION','Optional','Cannot\x20assemble\x20a\x20changeset\x20from\x20multiple\x20mutations\x20of\x20different\x20types:\x20','NEW_CHANGESETS','SessionStatus','HttpImport','_status$','_syncEditingCollabCursor','AuthzIoHttpService','getCurrentUser','getUnitType','JOIN','_shouldReportTelemetry','entityInit$','_collaborationUIEventService','getCurrentSelections','_sendHeartbeat','Error\x20on\x20receiving\x20event','/universer-api/stream/file/upload','get','NOT_FOUND','_candidateSocket','fetching\x20missing\x20changesets\x20from\x20','MUTATION','_socket$','_createInitialStateImpl','JOIN_ROOM_NOT_EXISTS','Injector','ThresholdInterceptorFactory','INVALID_ARGUMENT','TOO_MANY_REQUESTS','[serializeCombRequest]:\x20should\x20not\x20fall\x20into\x20default\x20branch!','_socketReady','32208033HiMLYi','CHANGESET_ACK','_getCtorByUniverType','SheetCollaborationEntity','random','HEARTBEAT_INTERVAL','onMissedChangesetFetched','_roomMembers','ONLINE','UNIVER_UNKNOWN','Base','?url=','_handler','MentionType','revision','NoPadding','_members','_showConflictNotification','RETRY_CONNECTING_MAX_COUNT','collaboration_new_changeset','getTime','error','HELLO','_scheduleCompleteTimestamp','_minBufferSize','unitInfo$','PSEUDO_FETCH_MISSING_RESULT','SHOULD_CLOSE_CONN','LIVESHARE_FETCH_OPERATIONS','CommentService','auth.needGotoLoginAlert','sid','loadOfflineData','_onRemoteRetry','incrementRevOfUnit','CompressMutationService','cmd','appendMutation','_commandService','message$','UUID','SNAPSHOT_INVALID_SNAPSHOT','/block/','APPLY_NON_SEQUENTIAL_REVISION','SheetTransformSelectionsService','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','defineProperty','csRejEvent','collaMsg','session.join-failed','name','mergeOverrideWithDependencies','transformChangesets','updateSnapshot','allowed','_transformService','CHANGESET_SHOULD_RETRY','_state$','PasswordBasedCipher','getConfig','_config','merge','Hasher','1113905dPJNkF','getTypeOfUnitAdded$','184464eCKhFC','kdf','getAllMembers','reduce','sequenceExecute','refreshPermission','image/jpg','debug','_transformStack','post','decrypt','getTypeOfUnitDisposed$','algo','status','BlockCipher','_socketService','DEFAULT_WS_SESSION_TICKET_URL','onMissingChangesets','event$','getLatestCsReqIdBySid','setWaitCount','getSheetId','commentUpdateEvent','disableLocalCache','csShouldRetryEvent','newCsEvent','stopTime','enc','range','_transformIMECache','AwaitingWithPendingState','reset','AES','actions','IDLE','collaboration-client.config','prototype','session.room-full','snapshotServerUrl','deleteCollaborator','_clearHeartbeatTimer','CollaborationStatus','CONNECTOR_DATA_TOO_LARGE','offline','complete','call','460RJFZaa','AWAITING_WITH_PENDING','YUUMI_RATE_OVER_LIMIT','mode','retryConnectingInterval','addImageSourceCache','toStringTag','_transformUndoredo','WordArray','requireSession','_networkConditionService','close','_emitMembers','_initDependencies','focused$','disposeWithMe','setCurrentUser','UNAUTHENTICATED','takeUntil','you\x20should\x20override\x20\x22IUndoRedoService\x22\x20provided\x20in\x20\x22core\x22\x20package!','_getUndoStack','fetchMiss','CollaborativeUndoRedoService','_redoStacks','isPermissionRej','onCommentUpdate','WorkbookEditablePermission','abs','createDecryptor','replace','every','map','_remoteChangesetQueue','randomBytes','UniverInstanceType','getInterceptPoints','YUUMI_AI_RUN_FAILED','MOBILE_HAS_BEEN_BOUND','_commentService','reconnect','_ENC_XFORM_MODE','\x20in\x20_schedule.','CollaborationEvent','conflict','_socket','_hash','removeMember','OFFLINE','_onUserJoin','/universer-api/snapshot','_unitInfo$','crypto','open$','_oKey','/object','SYNCED','resend','DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','unpad','_tryEnsureSocket','function','getSnapshotAPIPath','HTTPService','LocalUndoRedoService','_telemetryService','fetchMissingChangesets','slice','_collaborationSessionService','_imageSourceCache','[CollaborationEntity]','UNIVER_SHEET','_clearRedo','subject','updateMember','_snapshotService','/role','_replayCachedMutations','enableSingleActiveInstanceLock','INTERNAL_ERROR','fetchThroughInterceptors','_doFinalize','reverse','_mode','SheetPermissionInitController','session','_localeService','apply','touchDependencies','BufferedBlockAlgorithm','mapDocumentTypeToUniverType','JOIN_ROOM_FAILED','_unlockTransition','YUUMI_ALL_TABLES_IS_INVALID','hasher','next','loginUrlKey','Utf8','serializeCombRequest','awaiting_with_pending','_getDownloadEndpointURL','connection\x20error','PERMISSION_REJ','HMAC','finalize','state','_pendingMutations','RECV','createInstance','_sessionStatus$','_changesetReqId','length','YUUMI_CONNECTOR_URL_NOT_FOUND','_doReset','list','setShowComponents','RETRY_CONNECTING_MAX_COUNT_KEY','LICENSE_EXPORT_SIZE_EXCEEDED','charAt','_onOffline','append','copyFileMeta','deserializeToCombResponse','_map','entries','ILogService','SheetsSelectionsService','image/gif','_collabSessionService','CBC','[SyncedState]:\x20invalid\x20calling\x20to\x20`resend`.','getActiveSheet','INVALID_INVITE_CODE','IImageIoService','/collaborator','SetSelectionsOperation','extend','_getCurrentRevision','[FetchingMissState]:\x20not\x20expected\x20to\x20receive\x20ack\x20when\x20`this._awaitingChangeset`\x20is\x20null!','COMPRESS_MUTATION_SEND','onTransformIME','_transformStateCache','synced','batchAllowed','formatter','byteOffset','data','change$','max','sessionStatus','GLOBAL_ROOMS_CNT_EXCEEDS','Rectangle','_transformSelections','transformStack\x20failed!','default','PY_RUNTIME_SCRIPT_ERROR','initWorkbookPermissionChange','{fileID}','getWorkbookSelections','pipe','UNIVER_PROJECT','&source=','/-/object/list','unsubscribe','_entityInit$','onTransformSelections','EvpKDF','_awaitingChangeset','enableAuthServer','_getRedoStack','execute','ERROR_IMAGE','save\x20fail\x20reason\x20is\x20','_throwTelemetryCollaborationNewChangeset','onCommandExecuted','not_collab','_HTTPService','_collaborationTimeoutTimer','[CollaborationSocketService]:\x20failed\x20to\x20get\x20web\x20socket\x20factory!','UNRECOGNIZED','YUUMI_TABLE_NOT_FOUND_IN_UNIT','CollaborationController','[PendingState]:\x20unhandled\x20univer\x20type:\x20','onTransformState','StreamCipher','_compressMutationService','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','DEFAULT_COLLAB_WEB_SOCKET_URL','_change$','onTransformRemoteChangesetByStateCache','SUBMIT_CHANGESET_TIMEOUT','MemberService','_userManagerService','HmacMD5','status$','CollaborationUIEventId','_joinRoom','_memberService','filter'];_0x3a85=function(){return _0x497a08;};return _0x3a85();}function St(_0x2c858b,_0x333c60){var _0x51b751=_0x50acdc;const _0x5d56ef=new H['ReplaySubject'](0x1);return setTimeout(()=>_0x5d56ef['next'](_0x333c60),_0x2c858b),_0x5d56ef[_0x51b751(0x1c8)]()['pipe'](H[_0x51b751(0x3ad)](0x1));}const ti={'id':X['EmptyMutation']['id'],'type':a[_0x50acdc(0x14b)][_0x50acdc(0x234)],'params':{}};var ii=Object[_0x50acdc(0x1c4)],oe=(_0x38683b,_0x1fa952,_0x2167a5,_0x25313e)=>{var _0x105361=_0x50acdc;for(var _0x44ced2=_0x25313e>0x1?void 0x0:_0x25313e?ii(_0x1fa952,_0x2167a5):_0x1fa952,_0x8d82d6=_0x38683b[_0x105361(0x31b)]-0x1,_0x5cdf31;_0x8d82d6>=0x0;_0x8d82d6--)(_0x5cdf31=_0x38683b[_0x8d82d6])&&(_0x44ced2=_0x5cdf31(_0x44ced2)||_0x44ced2);return _0x44ced2;},w=(_0x10109a,_0x1a0624)=>(_0x20b5c9,_0x3e9da7)=>_0x1a0624(_0x20b5c9,_0x3e9da7,_0x10109a),je=(_0x31842c=>(_0x31842c[_0x50acdc(0x16a)]=_0x50acdc(0x35b),_0x31842c[_0x50acdc(0x2e4)]=_0x50acdc(0x33a),_0x31842c[_0x50acdc(0xa2)]=_0x50acdc(0x1b0),_0x31842c[_0x50acdc(0x1af)]=_0x50acdc(0x1d2),_0x31842c[_0x50acdc(0x2ae)]=_0x50acdc(0x30f),_0x31842c[_0x50acdc(0x74)]='fetch_missing',_0x31842c[_0x50acdc(0xe0)]='conflict',_0x31842c[_0x50acdc(0x2dc)]=_0x50acdc(0x2aa),_0x31842c))(je||{});const ft=0xea60;class ae{constructor(_0x137958,_0x1efc89,_0x481f0b,_0x489fb6,_0x553254,_0x451742,_0x37ef62,_0x560566,_0x4ee74e){var _0x471ec9=_0x50acdc;A(this,_0x471ec9(0x353),null),A(this,_0x471ec9(0x316),[]),(this[_0x471ec9(0xc1)]=_0x137958,this[_0x471ec9(0x1e9)]=_0x1efc89,this[_0x471ec9(0x24a)]=_0x553254,this[_0x471ec9(0x264)]=_0x451742,this[_0x471ec9(0x9e)]=_0x37ef62,this[_0x471ec9(0x153)]=_0x560566,this[_0x471ec9(0x135)]=_0x4ee74e,this[_0x471ec9(0x353)]=_0x481f0b,this[_0x471ec9(0x316)]=_0x489fb6);}[_0x50acdc(0x1bd)](_0x23a5a0){var _0x4d3fc7=_0x50acdc;const _0x4e2fba=this[_0x4d3fc7(0x153)][_0x4d3fc7(0xbf)](this[_0x4d3fc7(0xc1)]);return _0x23a5a0[_0x4d3fc7(0x24c)]>_0x4e2fba+0x1?(this[_0x4d3fc7(0x24a)][_0x4d3fc7(0x290)]({'from':_0x4e2fba,'to':_0x23a5a0['revision']-0x1}),!0x0):!0x1;}[_0x50acdc(0x2b4)](_0x3cece8){var _0x28602e=_0x50acdc;this[_0x28602e(0x9e)][_0x28602e(0x116)](this['unitID'],_0x3cece8);}[_0x50acdc(0x344)](_0x3bfe12){var _0x109554=_0x50acdc,_0x4e8b50,_0x528e9b;(_0x528e9b=(_0x4e8b50=this[_0x109554(0x24a)])[_0x109554(0x351)])==null||_0x528e9b[_0x109554(0x2ac)](_0x4e8b50,_0x3bfe12);}['_transformIMECache'](_0x32d349){var _0x40303d=_0x50acdc,_0x4904ae,_0xf06f35;return(_0xf06f35=(_0x4904ae=this[_0x40303d(0x24a)])[_0x40303d(0x338)])==null?void 0x0:_0xf06f35['call'](_0x4904ae,_0x32d349);}[_0x50acdc(0x339)](_0x44c959){var _0x1405f7=_0x50acdc,_0x4f3eb7,_0x5a8e10;return(_0x5a8e10=(_0x4f3eb7=this[_0x1405f7(0x24a)])[_0x1405f7(0x363)])==null?void 0x0:_0x5a8e10[_0x1405f7(0x2ac)](_0x4f3eb7,_0x44c959);}[_0x50acdc(0x3e4)](_0x3f3bb4){var _0x1680db=_0x50acdc,_0x4b177f,_0x47f7aa,_0x293d97;return(_0x293d97=(_0x47f7aa=(_0x4b177f=this[_0x1680db(0x24a)])[_0x1680db(0x387)])==null?void 0x0:_0x47f7aa[_0x1680db(0x2ac)](_0x4b177f,_0x3f3bb4))!=null?_0x293d97:_0x3f3bb4;}[_0x50acdc(0x1b1)](_0x233c19){var _0x4008ce=_0x50acdc,_0x50da11,_0x518d03,_0x4b71d7;return(_0x4b71d7=(_0x518d03=(_0x50da11=this[_0x4008ce(0x24a)])['onTransformRemoteChangesetByStateCache'])==null?void 0x0:_0x518d03[_0x4008ce(0x2ac)](_0x50da11,_0x233c19))!=null?_0x4b71d7:_0x233c19;}['_syncEditingCollabCursor'](_0x1e6568){var _0x313150=_0x50acdc,_0x87f2d3,_0x32ccd2;if(this[_0x313150(0x1e9)]===J[_0x313150(0x1c5)]){const {unitID:_0x480beb,mutations:_0x2dc8f1,memberID:_0x30459a}=_0x1e6568,_0x2cd4ad=_0x2dc8f1[0x0][_0x313150(0xbb)][_0x313150(0x1cd)];Array[_0x313150(0x165)](_0x2cd4ad)&&_0x2cd4ad['length']>0x0&&((_0x32ccd2=(_0x87f2d3=this[_0x313150(0x24a)])[_0x313150(0x1c6)])==null||_0x32ccd2[_0x313150(0x2ac)](_0x87f2d3,{'unitID':_0x480beb,'memberID':_0x30459a,'textRanges':_0x2cd4ad}));}}[_0x50acdc(0x37f)](){var _0xace6d0=_0x50acdc,_0x391548;(_0x391548=this[_0xace6d0(0x135)])==null||_0x391548[_0xace6d0(0xfa)](this[_0xace6d0(0xc1)],this[_0xace6d0(0x1e9)],this[_0xace6d0(0x353)],this[_0xace6d0(0x316)]);}[_0x50acdc(0x335)](){var _0x854185=_0x50acdc;return this[_0x854185(0x153)][_0x854185(0xbf)](this['unitID']);}[_0x50acdc(0xbc)](){var _0x2d3f82=_0x50acdc;this[_0x2d3f82(0x153)][_0x2d3f82(0x260)](this[_0x2d3f82(0xc1)]);}[_0x50acdc(0x395)](_0x771aba){var _0x55d029=_0x50acdc,_0x31b972;let _0x5c8272=this[_0x55d029(0x3e4)](_0x771aba);_0x5c8272=this[_0x55d029(0x1b1)](_0x5c8272);const _0x2387ae=a[_0x55d029(0x283)](_0x5c8272[_0x55d029(0x1db)],this[_0x55d029(0x264)],{'fromCollab':!0x0});if(!_0x2387ae[_0x55d029(0x10c)])throw _0x2387ae['error']instanceof Error?_0x2387ae[_0x55d029(0x253)]:new Error((_0x31b972=_0x2387ae[_0x55d029(0x253)])!=null?_0x31b972:_0x55d029(0x7a));this[_0x55d029(0x29c)](_0x5c8272),this['_transformStateCache'](_0x5c8272),this['_transformUndoredo'](_0x771aba),this['_transformSelections'](_0x5c8272),this[_0x55d029(0x224)](_0x5c8272),this[_0x55d029(0xbc)]();}}exports[_0x50acdc(0x389)]=class extends ae{constructor(_0x5bbb6d,_0x3058db,_0x6eabbb,_0x53fba4,_0x5c0e8a,_0x4572b0,_0x104501,_0x2f99c1,_0x497dab,_0x1b621e){var _0x4a0f8a=_0x50acdc;super(_0x5bbb6d,_0x3058db,null,[],_0x6eabbb,_0x104501,_0x4572b0,_0x53fba4,_0x1b621e),A(this,_0x4a0f8a(0x28c),_0x4a0f8a(0x33a)),(this['_injector']=_0x5c0e8a,this[_0x4a0f8a(0x164)]=_0x2f99c1,this[_0x4a0f8a(0x275)]=_0x497dab,this[_0x4a0f8a(0x1fc)]=_0x1b621e);}[_0x50acdc(0x263)](_0x168759){var _0x44ad70=_0x50acdc;const _0x2028d0=this[_0x44ad70(0xf3)]['createInstance'](exports[_0x44ad70(0x37c)],this[_0x44ad70(0xc1)],this[_0x44ad70(0x1e9)],[_0x168759],this['_handler']);return _0x2028d0[_0x44ad70(0x18d)](),_0x2028d0[_0x44ad70(0x37f)](),_0x2028d0;}[_0x50acdc(0x206)](_0x331ac2){var _0x5cee45=_0x50acdc;if(this[_0x5cee45(0x1bd)](_0x331ac2))return this[_0x5cee45(0xf3)][_0x5cee45(0x318)](exports[_0x5cee45(0x75)],this[_0x5cee45(0xc1)],this[_0x5cee45(0x1e9)],null,[],null,[_0x331ac2],this['_handler']);try{const _0xef780b=this[_0x5cee45(0x275)]['transformMutationsWithChangeset'](_0x331ac2,[ti]);if(p[_0x5cee45(0x37e)](_0xef780b)){const {c1Prime:_0x273e03}=_0xef780b;return this[_0x5cee45(0x395)](_0x273e03),this;}throw _0xef780b[_0x5cee45(0x253)];}catch(_0x2ec8e4){return this[_0x5cee45(0x164)][_0x5cee45(0x253)](_0x2ec8e4),this[_0x5cee45(0xe7)](!0x1);}}[_0x50acdc(0xe7)](_0x5b592e){var _0x3b2c99=_0x50acdc;return this[_0x3b2c99(0xf3)][_0x3b2c99(0x318)](exports['ConflictState'],this[_0x3b2c99(0xc1)],this[_0x3b2c99(0x1e9)],null,[],this['_handler'],_0x5b592e);}[_0x50acdc(0xb0)](){var _0x59c376=_0x50acdc;throw new Error(_0x59c376(0x16d));}[_0x50acdc(0x1b2)](){var _0x58ce13=_0x50acdc;throw new Error(_0x58ce13(0x3d9));}[_0x50acdc(0x14d)](){return this;}[_0x50acdc(0x6e)](){var _0x324ca6=_0x50acdc;return this[_0x324ca6(0xf3)][_0x324ca6(0x318)](exports[_0x324ca6(0x210)],this[_0x324ca6(0xc1)],this[_0x324ca6(0x1e9)],null,[],this[_0x324ca6(0x24a)]);}[_0x50acdc(0x138)](){return this;}[_0x50acdc(0x2e5)](){var _0x153b8e=_0x50acdc;throw new Error(_0x153b8e(0x32e));}[_0x50acdc(0x2c2)](){var _0x4edf61=_0x50acdc;const _0x4c1436=this[_0x4edf61(0x153)]['getCurrentRevOfUnit'](this[_0x4edf61(0xc1)]);return this[_0x4edf61(0x24a)][_0x4edf61(0x290)]({'from':_0x4c1436,'to':0x0}),this[_0x4edf61(0xf3)][_0x4edf61(0x318)](exports[_0x4edf61(0x75)],this[_0x4edf61(0xc1)],this['type'],null,[],null,[],this[_0x4edf61(0x24a)]);}},exports[_0x50acdc(0x389)]=oe([w(0x3,a[_0x50acdc(0x93)](p[_0x50acdc(0x1a8)])),w(0x4,a['Inject'](a[_0x50acdc(0x238)])),w(0x5,a[_0x50acdc(0x160)]),w(0x6,a[_0x50acdc(0x8e)]),w(0x7,a[_0x50acdc(0x329)]),w(0x8,p['ITransformService']),w(0x9,a[_0x50acdc(0x21e)](K))],exports[_0x50acdc(0x389)]),exports['PendingState']=class extends ae{constructor(_0x1f3da3,_0x2226c7,_0x166fcd,_0x485c85,_0x6715bb,_0x540628,_0x410ca6,_0x25f90f,_0x5030b7,_0x28388d,_0x330148,_0x4cf416,_0x36d3ae,_0x2e78b5){var _0x475410=_0x50acdc;super(_0x1f3da3,_0x2226c7,null,_0x166fcd,_0x485c85,_0x5030b7,_0x36d3ae,_0x540628,_0x2e78b5),A(this,'status','pending'),A(this,_0x475410(0x255),null),A(this,_0x475410(0x3e9),null),(this[_0x475410(0xf3)]=_0x6715bb,this['_memberService']=_0x410ca6,this['_logService']=_0x25f90f,this[_0x475410(0x7f)]=_0x28388d,this[_0x475410(0x275)]=_0x330148,this[_0x475410(0x1d5)]=_0x4cf416);}[_0x50acdc(0x263)](_0x29edd2){var _0xe73742=_0x50acdc;return this['_pendingMutations']['push'](_0x29edd2),this[_0xe73742(0x37f)](),this;}[_0x50acdc(0x206)](_0x4a871b){var _0x59b7b5=_0x50acdc;if(this[_0x59b7b5(0x1bd)](_0x4a871b))return this[_0x59b7b5(0x1cf)](),this[_0x59b7b5(0xf3)]['createInstance'](exports[_0x59b7b5(0x75)],this[_0x59b7b5(0xc1)],this[_0x59b7b5(0x1e9)],null,this[_0x59b7b5(0x316)],null,[_0x4a871b],this[_0x59b7b5(0x24a)]);try{const _0x4ffa82=this[_0x59b7b5(0x275)][_0x59b7b5(0x3a2)](_0x4a871b,this[_0x59b7b5(0x316)]);if(p['isTransformMutationsWithChangesetSuccess'](_0x4ffa82)){const {c1Prime:_0x2d6992,m2Prime:_0xe0fa4a}=_0x4ffa82;this[_0x59b7b5(0x395)](_0x2d6992);const _0x44dad6=this[_0x59b7b5(0xf3)][_0x59b7b5(0x318)](exports[_0x59b7b5(0x37c)],this[_0x59b7b5(0xc1)],this[_0x59b7b5(0x1e9)],_0xe0fa4a,this[_0x59b7b5(0x24a)]);this[_0x59b7b5(0x1cf)]();const _0x3494e9=new Date()[_0x59b7b5(0x252)](),_0x371512=this['_scheduleCompleteTimestamp']?Math['max'](this[_0x59b7b5(0x255)]-_0x3494e9,0x0):this[_0x59b7b5(0x76)]();return _0x44dad6[_0x59b7b5(0x18d)](_0x371512),_0x44dad6;}throw _0x4ffa82['error'];}catch(_0xae4d6c){return this[_0x59b7b5(0x164)][_0x59b7b5(0x253)](_0xae4d6c),this[_0x59b7b5(0xe7)](!0x1);}}[_0x50acdc(0xb0)](){var _0xafe109=_0x50acdc;throw new Error(_0xafe109(0x37b));}['onRemoteRej'](){throw new Error('[PendingState]:\x20received\x20rejection.');}[_0x50acdc(0x14d)](){return this;}[_0x50acdc(0x6e)](){var _0x41a360=_0x50acdc;return this[_0x41a360(0x1cf)](),this[_0x41a360(0xf3)][_0x41a360(0x318)](exports[_0x41a360(0x210)],this[_0x41a360(0xc1)],this[_0x41a360(0x1e9)],null,this[_0x41a360(0x316)],this[_0x41a360(0x24a)]);}[_0x50acdc(0x138)](){return this;}[_0x50acdc(0x18d)](_0x13b1cb){var _0x48b53e=_0x50acdc;const _0x448962=_0x13b1cb!=null?_0x13b1cb:this['_getSendChangesetTimeout']();this['_scheduleCompleteTimestamp']=new Date()['getTime']()+_0x448962,this[_0x48b53e(0x3e9)]=setTimeout(()=>{var _0x55d27e=_0x48b53e;this[_0x55d27e(0x1cf)]();let _0x598c06=null;switch(this['type']){case J['UNIVER_SHEET']:{_0x598c06=Ge(this['_pendingMutations'],this['unitID'],this[_0x55d27e(0x1d5)],this[_0x55d27e(0x153)],this[_0x55d27e(0x371)]);break;}case J[_0x55d27e(0x1c5)]:{this[_0x55d27e(0x316)][_0x55d27e(0x2cb)](_0x546bb4=>_0x546bb4['id']===ct[_0x55d27e(0x3a6)]['id'])?_0x598c06=ei(this[_0x55d27e(0x316)],this[_0x55d27e(0xc1)],this['_univerInstanceService'],this[_0x55d27e(0x153)],this[_0x55d27e(0x371)]):_0x598c06=Ge(this[_0x55d27e(0x316)],this['unitID'],this[_0x55d27e(0x1d5)],this[_0x55d27e(0x153)],this[_0x55d27e(0x371)]);break;}default:throw new Error(_0x55d27e(0x362)+this[_0x55d27e(0x1e9)]+_0x55d27e(0x2d6));}const {changeset:_0x394a77,pendingMutations:_0x25b37d}=_0x598c06;this[_0x55d27e(0x24a)][_0x55d27e(0xb3)](_0x394a77);const _0x52aa9f=_0x25b37d[_0x55d27e(0x31b)]?this[_0x55d27e(0xf3)][_0x55d27e(0x318)](exports[_0x55d27e(0x29d)],this[_0x55d27e(0xc1)],this[_0x55d27e(0x1e9)],_0x394a77,_0x25b37d,this['_handler'],void 0x0):this[_0x55d27e(0xf3)][_0x55d27e(0x318)](exports[_0x55d27e(0xa7)],this[_0x55d27e(0xc1)],this[_0x55d27e(0x1e9)],_0x394a77,this[_0x55d27e(0x24a)]);_0x52aa9f[_0x55d27e(0x37f)](),this[_0x55d27e(0x24a)][_0x55d27e(0x3cd)](this,_0x52aa9f);},_0x448962);}[_0x50acdc(0x76)](){var _0x23aa27=_0x50acdc,_0xc47f4f;const _0x1148ba=this[_0x23aa27(0x7f)][_0x23aa27(0x279)](Y);return(_0xc47f4f=_0x1148ba==null?void 0x0:_0x1148ba[_0x23aa27(0x1eb)])!=null?_0xc47f4f:Ut;}[_0x50acdc(0x2e5)](){throw new Error('[PendingState]:\x20invalid\x20calling\x20to\x20`resend`.');}[_0x50acdc(0x1cf)](){var _0x18b607=_0x50acdc;this['_sendingTimer']!=null&&(clearTimeout(this[_0x18b607(0x3e9)]),this[_0x18b607(0x3e9)]=null);}[_0x50acdc(0xe7)](_0x19256d){var _0xeea6b3=_0x50acdc;return this[_0xeea6b3(0x1cf)](),this[_0xeea6b3(0xf3)][_0xeea6b3(0x318)](exports[_0xeea6b3(0xba)],this[_0xeea6b3(0xc1)],this[_0xeea6b3(0x1e9)],null,this['_pendingMutations'],this[_0xeea6b3(0x24a)],_0x19256d);}},exports[_0x50acdc(0x37c)]=oe([w(0x4,a[_0x50acdc(0x93)](a[_0x50acdc(0x238)])),w(0x5,a['Inject'](p[_0x50acdc(0x1a8)])),w(0x6,a[_0x50acdc(0x93)](exports[_0x50acdc(0x36b)])),w(0x7,a[_0x50acdc(0x329)]),w(0x8,a[_0x50acdc(0x8e)]),w(0x9,a[_0x50acdc(0xda)]),w(0xa,p[_0x50acdc(0x19a)]),w(0xb,a[_0x50acdc(0xa5)]),w(0xc,a[_0x50acdc(0x160)]),w(0xd,a[_0x50acdc(0x21e)](K))],exports[_0x50acdc(0x37c)]),exports[_0x50acdc(0xa7)]=class extends ae{constructor(_0x53de8b,_0x463a82,_0x4ff7ee,_0x100f4b,_0x388a5a,_0x3204e7,_0x5bd272,_0x411d2c,_0x1cc732,_0x44924a,_0x1337c1){var _0x10ed0d=_0x50acdc;super(_0x53de8b,_0x463a82,_0x4ff7ee,[],_0x100f4b,_0x5bd272,_0x44924a,_0x3204e7,_0x1337c1),A(this,'status',_0x10ed0d(0x1d2)),A(this,'_resendTimeout',0x0),A(this,_0x10ed0d(0x1d4)),A(this,'_sender'),(this['_injector']=_0x388a5a,this['_logService']=_0x411d2c,this[_0x10ed0d(0x275)]=_0x1cc732);}[_0x50acdc(0x263)](_0x1f7fdc){var _0x5f380e=_0x50acdc;this['_clearScheduledTask']();const _0x202fa6=this['_injector'][_0x5f380e(0x318)](exports['AwaitingWithPendingState'],this[_0x5f380e(0xc1)],this['type'],this[_0x5f380e(0x353)],[_0x1f7fdc],this[_0x5f380e(0x24a)],this['_resendTimer']);return _0x202fa6[_0x5f380e(0x37f)](),_0x202fa6;}[_0x50acdc(0x206)](_0x6e5aae){var _0x532824=_0x50acdc;if(this['_checkMissing'](_0x6e5aae))return this[_0x532824(0x1cf)](),this[_0x532824(0xf3)][_0x532824(0x318)](exports[_0x532824(0x75)],this[_0x532824(0xc1)],this['type'],this[_0x532824(0x353)],[],null,[_0x6e5aae],this['_handler']);try{const _0x43e9b9=this[_0x532824(0x275)]['transformChangesets']([_0x6e5aae],[this['_awaitingChangeset']],!0x1);if(p[_0x532824(0x19f)](_0x43e9b9)){const {c1Prime:_0x348601,c2Prime:_0x4bf54a}=_0x43e9b9;this['_executeRemoteChangeset'](_0x348601[0x0]),_0x4bf54a[0x0][_0x532824(0x16c)]=this[_0x532824(0x335)](),this[_0x532824(0x1cf)]();const _0x1ace26=this[_0x532824(0xf3)][_0x532824(0x318)](exports[_0x532824(0xa7)],this[_0x532824(0xc1)],this['type'],_0x4bf54a[0x0],this['_handler']);return _0x1ace26[_0x532824(0x37f)](),_0x1ace26;}return this[_0x532824(0xe7)](!0x1);}catch(_0x5b9559){return this[_0x532824(0x164)]['error'](_0x5b9559),this[_0x532824(0xe7)](!0x1);}}[_0x50acdc(0xb0)](_0x4fbaa6){var _0x3ff8c9=_0x50acdc;this['_clearScheduledTask']();const _0x464dd6=this['_revisionService'][_0x3ff8c9(0xbf)](this['unitID']);if(_0x4fbaa6[_0x3ff8c9(0x24c)]<_0x464dd6-0x1)return this;if(this[_0x3ff8c9(0x1bd)](_0x4fbaa6))return this[_0x3ff8c9(0xf3)]['createInstance'](exports[_0x3ff8c9(0x75)],this[_0x3ff8c9(0xc1)],this[_0x3ff8c9(0x1e9)],null,[],this['_awaitingChangeset'],[],this[_0x3ff8c9(0x24a)]);this[_0x3ff8c9(0xbc)]();const _0x159459=this[_0x3ff8c9(0xf3)][_0x3ff8c9(0x318)](exports['SyncedState'],this[_0x3ff8c9(0xc1)],this[_0x3ff8c9(0x1e9)],this['_handler']);return _0x159459[_0x3ff8c9(0x37f)](),_0x159459;}[_0x50acdc(0x1b2)](_0x302607){var _0x12c8c3=_0x50acdc;return this[_0x12c8c3(0xe7)](!!(_0x302607!=null&&_0x302607[_0x12c8c3(0x2c5)]));}[_0x50acdc(0x14d)](_0x19559c){var _0x3be77c=_0x50acdc;return this[_0x3be77c(0x178)]>ft?this['toggleOffline']():(this[_0x3be77c(0x1d4)]=St(this['_resendTimeout'],{'timeout':this[_0x3be77c(0x178)],'reqId':_0x19559c[_0x3be77c(0xa9)]}),this[_0x3be77c(0x7b)]=this['_resendTimer'][_0x3be77c(0x393)](({reqId:_0x131785,timeout:_0x447717})=>{this['_resendWithTimeout'](_0x131785,_0x447717);}),this);}['toggleOffline'](){var _0x671d1a=_0x50acdc;return this[_0x671d1a(0x1cf)](),this['_injector'][_0x671d1a(0x318)](exports[_0x671d1a(0x210)],this[_0x671d1a(0xc1)],this[_0x671d1a(0x1e9)],this[_0x671d1a(0x353)],[],this[_0x671d1a(0x24a)]);}['toggleOnline'](){return this;}[_0x50acdc(0x2e5)](){var _0x38025f=_0x50acdc;this[_0x38025f(0x24a)]['onSendChangeset'](this[_0x38025f(0x353)]);}['_onConflict'](_0x2cdb7e){var _0x2169ec=_0x50acdc;return this[_0x2169ec(0x1cf)](),this[_0x2169ec(0xf3)][_0x2169ec(0x318)](exports[_0x2169ec(0xba)],this['unitID'],this['type'],this['_awaitingChangeset'],[],this['_handler'],_0x2cdb7e);}[_0x50acdc(0x20f)](_0x321ee8,_0x50fe75){var _0x1c03c8=_0x50acdc,_0x25b79e;_0x321ee8===((_0x25b79e=this[_0x1c03c8(0x353)])==null?void 0x0:_0x25b79e[_0x1c03c8(0xa9)])&&(this['resend'](),this[_0x1c03c8(0x178)]=_0x50fe75===0x0?0x3e8:_0x50fe75*0x2);}[_0x50acdc(0x1cf)](){var _0x3ff1ec=_0x50acdc,_0x52af56;(_0x52af56=this['_sender'])==null||_0x52af56[_0x3ff1ec(0x34f)](),this[_0x3ff1ec(0x178)]=0x0;}},exports[_0x50acdc(0xa7)]=oe([w(0x4,a[_0x50acdc(0x93)](a['Injector'])),w(0x5,a['Inject'](p[_0x50acdc(0x1a8)])),w(0x6,a['ICommandService']),w(0x7,a['ILogService']),w(0x8,p[_0x50acdc(0x19a)]),w(0x9,a[_0x50acdc(0x160)]),w(0xa,a[_0x50acdc(0x21e)](K))],exports[_0x50acdc(0xa7)]),exports['AwaitingWithPendingState']=class extends ae{constructor(_0x32d69b,_0x52539a,_0x4990ff,_0x1cbf5c,_0x5eca65,_0x98426b,_0x1cb950,_0xe889b8,_0x4691ca,_0x5ded65,_0x5ea83b,_0x5d6b11,_0x1bfc3e){var _0xd81c13=_0x50acdc;super(_0x32d69b,_0x52539a,_0x4990ff,_0x1cbf5c,_0x5eca65,_0x4691ca,_0x5d6b11,_0xe889b8,_0x1bfc3e),A(this,_0xd81c13(0x28c),'awaiting_with_pending'),A(this,_0xd81c13(0x178),0x0),A(this,_0xd81c13(0x1d4)),A(this,_0xd81c13(0x7b)),(this[_0xd81c13(0xf3)]=_0x1cb950,this['_logService']=_0x5ded65,this['_transformService']=_0x5ea83b,this['localCacheService']=_0x1bfc3e,_0x98426b&&(this[_0xd81c13(0x1d4)]=_0x98426b,this['_sender']=this['_resendTimer'][_0xd81c13(0x393)](({reqId:_0x3f02df,timeout:_0x4486c9})=>{var _0xf27a4b=_0xd81c13;this[_0xf27a4b(0x20f)](_0x3f02df,_0x4486c9);})));}['appendMutation'](_0x3ee033){var _0x37ff6f=_0x50acdc;return this['_pendingMutations'][_0x37ff6f(0x3a3)](_0x3ee033),this;}[_0x50acdc(0x206)](_0xa85c09){var _0x4f2344=_0x50acdc;if(this['_checkMissing'](_0xa85c09))return this[_0x4f2344(0x1cf)](),this[_0x4f2344(0xf3)][_0x4f2344(0x318)](exports[_0x4f2344(0x75)],this['unitID'],this[_0x4f2344(0x1e9)],this[_0x4f2344(0x353)],this[_0x4f2344(0x316)],null,[_0xa85c09],this[_0x4f2344(0x24a)]);try{const _0x18dd74=this[_0x4f2344(0x275)][_0x4f2344(0x272)]([_0xa85c09],[this[_0x4f2344(0x353)]],!0x1);if(p[_0x4f2344(0x19f)](_0x18dd74)){const {c1Prime:_0x1eaa97,c2Prime:_0x269f40}=_0x18dd74,_0x42c570=this[_0x4f2344(0x275)]['transformMutationsWithChangeset'](_0x1eaa97[0x0],this[_0x4f2344(0x316)]);if(p[_0x4f2344(0x37e)](_0x42c570)){const {c1Prime:_0x543ba4,m2Prime:_0x31851a}=_0x42c570;return this[_0x4f2344(0x395)](_0x543ba4),_0x269f40[0x0][_0x4f2344(0x16c)]=this[_0x4f2344(0x335)](),this['_clearScheduledTask'](),this[_0x4f2344(0xf3)][_0x4f2344(0x318)](exports['AwaitingWithPendingState'],this[_0x4f2344(0xc1)],this[_0x4f2344(0x1e9)],_0x269f40[0x0],_0x31851a,this['_handler'],void 0x0);}throw _0x42c570[_0x4f2344(0x253)];}throw _0x18dd74[_0x4f2344(0x253)];}catch(_0x4c9759){return this[_0x4f2344(0x164)][_0x4f2344(0x253)](_0x4c9759),this[_0x4f2344(0xe7)](!0x1);}}['onRemoteAck'](_0x23298f){var _0x28f9ba=_0x50acdc;if(this[_0x28f9ba(0x1cf)](),this[_0x28f9ba(0x1bd)](_0x23298f))return this[_0x28f9ba(0xf3)][_0x28f9ba(0x318)](exports[_0x28f9ba(0x75)],this[_0x28f9ba(0xc1)],this[_0x28f9ba(0x1e9)],null,this[_0x28f9ba(0x316)],this[_0x28f9ba(0x353)],[],this[_0x28f9ba(0x24a)]);this[_0x28f9ba(0xbc)]();const _0x3acff7=this['_injector']['createInstance'](exports[_0x28f9ba(0x37c)],this['unitID'],this[_0x28f9ba(0x1e9)],this[_0x28f9ba(0x316)],this[_0x28f9ba(0x24a)]);return _0x3acff7[_0x28f9ba(0x18d)](),_0x3acff7[_0x28f9ba(0x37f)](),_0x3acff7;}[_0x50acdc(0x1b2)](_0xed5662){return this['_onConflict'](!!(_0xed5662!=null&&_0xed5662['isPermissionRej']));}[_0x50acdc(0x14d)](_0x4b4c37){var _0x16ea55=_0x50acdc;return this['_resendTimeout']>ft?this['toggleOffline']():(this[_0x16ea55(0x1d4)]=St(this['_resendTimeout'],{'timeout':this[_0x16ea55(0x178)],'reqId':_0x4b4c37['reqId']}),this['_sender']=this[_0x16ea55(0x1d4)][_0x16ea55(0x393)](({reqId:_0x79c068,timeout:_0x1e3c9c})=>{this['_resendWithTimeout'](_0x79c068,_0x1e3c9c);}),this);}[_0x50acdc(0x6e)](){var _0x46e15d=_0x50acdc;return this[_0x46e15d(0x1cf)](),this[_0x46e15d(0xf3)]['createInstance'](exports[_0x46e15d(0x210)],this['unitID'],this[_0x46e15d(0x1e9)],this[_0x46e15d(0x353)],this[_0x46e15d(0x316)],this[_0x46e15d(0x24a)]);}['toggleOnline'](){return this;}['resend'](){var _0x33444d=_0x50acdc;this[_0x33444d(0x24a)][_0x33444d(0xb3)](this[_0x33444d(0x353)]);}[_0x50acdc(0xe7)](_0x257e3d){var _0x4062e6=_0x50acdc;return this[_0x4062e6(0x1cf)](),this[_0x4062e6(0xf3)][_0x4062e6(0x318)](exports[_0x4062e6(0xba)],this[_0x4062e6(0xc1)],this[_0x4062e6(0x1e9)],null,this[_0x4062e6(0x316)],this['_handler'],_0x257e3d);}[_0x50acdc(0x20f)](_0x13908d,_0x5a0ffb){var _0x291799=_0x50acdc,_0x5f31d3;_0x13908d===((_0x5f31d3=this[_0x291799(0x353)])==null?void 0x0:_0x5f31d3['reqId'])&&(this[_0x291799(0x2e5)](),this['_resendTimeout']=_0x5a0ffb===0x0?0x3e8:_0x5a0ffb*0x2);}[_0x50acdc(0x1cf)](){var _0x3a2e89=_0x50acdc,_0x26b612;(_0x26b612=this['_sender'])==null||_0x26b612[_0x3a2e89(0x34f)](),this[_0x3a2e89(0x178)]=0x0;}},exports['AwaitingWithPendingState']=oe([w(0x6,a[_0x50acdc(0x93)](a[_0x50acdc(0x238)])),w(0x7,a[_0x50acdc(0x93)](p[_0x50acdc(0x1a8)])),w(0x8,a[_0x50acdc(0x8e)]),w(0x9,a[_0x50acdc(0x329)]),w(0xa,p[_0x50acdc(0x19a)]),w(0xb,a[_0x50acdc(0x160)]),w(0xc,a[_0x50acdc(0x21e)](K))],exports[_0x50acdc(0x29d)]),exports[_0x50acdc(0xba)]=class extends ae{constructor(_0x2ea6e8,_0x4c44e0,_0x323107,_0x18cf65,_0x2515cc,_0x6582c8=!0x1,_0x24950d,_0x576d18,_0x352fbb,_0x5ade3f,_0x29bbe5,_0x1bde87,_0x106965){var _0x5e9fae=_0x50acdc;super(_0x2ea6e8,_0x4c44e0,_0x323107,_0x18cf65,_0x2515cc,_0x576d18,_0x352fbb,_0x5ade3f,_0x106965),A(this,_0x5e9fae(0x28c),_0x5e9fae(0x2d8)),(this[_0x5e9fae(0x19c)]=_0x6582c8,this[_0x5e9fae(0x185)]=_0x24950d,this[_0x5e9fae(0x302)]=_0x29bbe5,this[_0x5e9fae(0x22b)]=_0x1bde87,this[_0x5e9fae(0x1fc)]=_0x106965,this[_0x5e9fae(0x24f)](),this[_0x5e9fae(0x7e)](),this[_0x5e9fae(0x16f)]());}[_0x50acdc(0x263)](){return this;}[_0x50acdc(0x206)](){return this;}[_0x50acdc(0xb0)](){return this;}[_0x50acdc(0x1b2)](){return this;}[_0x50acdc(0x14d)](){return this;}['toggleOffline'](){return this;}[_0x50acdc(0x138)](){return this;}[_0x50acdc(0x2e5)](){var _0x1a30bb=_0x50acdc;throw new Error(_0x1a30bb(0xb8));}[_0x50acdc(0x7e)](){var _0x280e69=_0x50acdc,_0x37bcdd;(_0x37bcdd=this[_0x280e69(0x135)])==null||_0x37bcdd[_0x280e69(0xfa)](this[_0x280e69(0xc1)],this['type'],null,[]);}['_showConflictNotification'](){var _0x10b3ec=_0x50acdc;this[_0x10b3ec(0x19c)]?this[_0x10b3ec(0x22b)][_0x10b3ec(0xc2)]({'id':Z[_0x10b3ec(0x3e6)]}):this['_collaborationUIEventService']['emitEvent']({'id':Z[_0x10b3ec(0xe0)]});}[_0x50acdc(0x16f)](){var _0x4efe4b=_0x50acdc;this[_0x4efe4b(0x185)][_0x4efe4b(0x3bd)](new X[(_0x4efe4b(0x2c7))](this[_0x4efe4b(0xc1)])['id'],!0x1);}},exports[_0x50acdc(0xba)]=oe([w(0x6,a[_0x50acdc(0x93)](a['IPermissionService'])),w(0x7,a[_0x50acdc(0x8e)]),w(0x8,a[_0x50acdc(0x160)]),w(0x9,a['Inject'](p[_0x50acdc(0x1a8)])),w(0xa,a[_0x50acdc(0x93)](a[_0x50acdc(0x217)])),w(0xb,a['Inject'](ee)),w(0xc,a[_0x50acdc(0x21e)](K))],exports[_0x50acdc(0xba)]),exports[_0x50acdc(0x210)]=class extends ae{constructor(_0x2abae2,_0x5a9266,_0x4dbbdc,_0x45da28,_0x972b6c,_0xbcda9,_0x24742d,_0x2f870a,_0xeb0dc4,_0x180972){var _0x607b23=_0x50acdc;super(_0x2abae2,_0x5a9266,_0x4dbbdc,_0x45da28,_0x972b6c,_0x2f870a,_0xeb0dc4,_0x24742d,_0x180972),A(this,_0x607b23(0x28c),'offline'),this['_injector']=_0xbcda9;}[_0x50acdc(0x263)](_0x251304){var _0xb4f4ed=_0x50acdc;return this['_pendingMutations'][_0xb4f4ed(0x3a3)](_0x251304),this[_0xb4f4ed(0x37f)](),this;}[_0x50acdc(0x206)](_0x529f30){var _0x2c6116=_0x50acdc;throw new Error(_0x2c6116(0x17b));}[_0x50acdc(0xb0)](){var _0x50a98d=_0x50acdc;throw new Error(_0x50a98d(0x130));}[_0x50acdc(0x1b2)](){throw new Error('[OfflineState]:\x20received\x20rejection.');}[_0x50acdc(0x14d)](){return this;}['toggleOffline'](){return this;}[_0x50acdc(0x138)](){var _0x352c5e=_0x50acdc;const {_injector:_0x15d9f3,_pendingMutations:_0x153cb8,_awaitingChangeset:_0xf32504,unitID:_0x5606e0,_handler:_0x2ea9f3,type:_0xb5f618}=this,_0x2e1b17=It(_0x15d9f3,_0x5606e0,_0xb5f618,_0xf32504,_0x153cb8,_0x2ea9f3);return _0x2e1b17 instanceof exports['PendingState']?_0x2e1b17['_schedule']():(_0x2e1b17 instanceof exports[_0x352c5e(0x29d)]||_0x2e1b17 instanceof exports[_0x352c5e(0xa7)])&&_0x2e1b17['resend'](),_0x2e1b17;}[_0x50acdc(0x2e5)](){throw new Error('[OfflineState]:\x20invalid\x20calling\x20to\x20`resend`.');}},exports[_0x50acdc(0x210)]=oe([w(0x5,a['Inject'](a['Injector'])),w(0x6,a[_0x50acdc(0x93)](p[_0x50acdc(0x1a8)])),w(0x7,a[_0x50acdc(0x8e)]),w(0x8,a[_0x50acdc(0x160)]),w(0x9,a[_0x50acdc(0x21e)](K))],exports[_0x50acdc(0x210)]),exports[_0x50acdc(0x75)]=class extends ae{constructor(_0x155abe,_0x4cd25d,_0xda0f9a,_0x70f0d2,_0x253cb6,_0x24c9fb,_0x2dbcc8,_0x50abbf,_0x449f6a,_0x2154be,_0x49817b,_0x1ac9fc,_0x278e1e,_0x305184){var _0x4b4452=_0x50acdc;super(_0x155abe,_0x4cd25d,_0xda0f9a,_0x70f0d2,_0x2dbcc8,_0x49817b,_0x1ac9fc,_0x449f6a,_0x305184),A(this,_0x4b4452(0x28c),'fetch_missing'),(this['_acknowledgedAwaitingChangeset']=_0x253cb6,this[_0x4b4452(0x159)]=_0x24c9fb,this[_0x4b4452(0xf3)]=_0x50abbf,this[_0x4b4452(0x164)]=_0x2154be,this[_0x4b4452(0x275)]=_0x278e1e,this[_0x4b4452(0x1fc)]=_0x305184);}[_0x50acdc(0x244)](_0x3a31aa){var _0x3b2db5=_0x50acdc;try{const _0x19d49b=[..._0x3a31aa,...this[_0x3b2db5(0x159)]],_0xfff65=[this[_0x3b2db5(0x353)]||this[_0x3b2db5(0xca)]]['filter'](_0x212b74=>!!_0x212b74);let _0x12b0c1,_0x25d06b;if(_0xfff65[_0x3b2db5(0x31b)]){const _0x28f9fc=this[_0x3b2db5(0x275)][_0x3b2db5(0x272)](_0x19d49b,_0xfff65,!0x1);if(!p[_0x3b2db5(0x19f)](_0x28f9fc))throw _0x28f9fc[_0x3b2db5(0x253)];_0x12b0c1=_0x28f9fc['c1Prime'],_0x25d06b=_0x28f9fc[_0x3b2db5(0xf1)];}else _0x12b0c1=_0x19d49b,_0x25d06b=[];let _0xaed4a0=this[_0x3b2db5(0x316)];_0x12b0c1['forEach'](_0x3aa44b=>{var _0x3ab87b=_0x3b2db5;let _0x5a2d5e;if(_0xaed4a0[_0x3ab87b(0x31b)]){const _0x22df2b=this[_0x3ab87b(0x275)]['transformMutationsWithChangeset'](_0x3aa44b,_0xaed4a0);if(!p[_0x3ab87b(0x37e)](_0x22df2b))throw _0x22df2b[_0x3ab87b(0x253)];_0x5a2d5e=_0x22df2b['c1Prime'],_0xaed4a0=_0x22df2b['m2Prime'];}else _0x5a2d5e=_0x3aa44b;this[_0x3ab87b(0x395)](_0x5a2d5e);}),this['_acknowledgedAwaitingChangeset']&&this['_incrementRevisionNumber'](),this[_0x3b2db5(0x353)]&&_0x25d06b[_0x3b2db5(0x31b)]&&(_0x25d06b[0x0][_0x3b2db5(0x16c)]=this[_0x3b2db5(0x335)]());let _0x23221c;if(this[_0x3b2db5(0x353)]&&_0xaed4a0[_0x3b2db5(0x31b)]!==0x0)_0x23221c=this[_0x3b2db5(0xf3)][_0x3b2db5(0x318)](exports[_0x3b2db5(0x29d)],this[_0x3b2db5(0xc1)],this[_0x3b2db5(0x1e9)],_0x25d06b[0x0],_0xaed4a0,this[_0x3b2db5(0x24a)],void 0x0);else{if(this[_0x3b2db5(0x353)]&&_0xaed4a0[_0x3b2db5(0x31b)]===0x0)_0x25d06b[0x0][_0x3b2db5(0x16c)]=this[_0x3b2db5(0x335)](),_0x23221c=this['_injector'][_0x3b2db5(0x318)](exports[_0x3b2db5(0xa7)],this[_0x3b2db5(0xc1)],this[_0x3b2db5(0x1e9)],_0x25d06b[0x0],this['_handler']);else{if(_0xaed4a0['length']!==0x0){const _0xab9fbf=this[_0x3b2db5(0xf3)]['createInstance'](exports[_0x3b2db5(0x37c)],this[_0x3b2db5(0xc1)],this['type'],_0xaed4a0,this[_0x3b2db5(0x24a)]);_0xab9fbf['_schedule'](),_0x23221c=_0xab9fbf;}else _0x23221c=this[_0x3b2db5(0xf3)][_0x3b2db5(0x318)](exports[_0x3b2db5(0x389)],this[_0x3b2db5(0xc1)],this[_0x3b2db5(0x1e9)],this[_0x3b2db5(0x24a)]);}}return _0x23221c[_0x3b2db5(0x37f)](),_0x23221c;}catch(_0x26dd94){return this[_0x3b2db5(0x164)][_0x3b2db5(0x253)](_0x3b2db5(0xac),_0x3b2db5(0x95),_0x26dd94),this['_injector'][_0x3b2db5(0x318)](exports[_0x3b2db5(0xba)],this[_0x3b2db5(0xc1)],this[_0x3b2db5(0x1e9)],this[_0x3b2db5(0x353)],this[_0x3b2db5(0x316)],this['_handler'],!0x1);}}['resend'](){var _0x49950c=_0x50acdc;throw new Error(_0x49950c(0x1f7));}['appendMutation'](_0x1cd1c6){var _0x227984=_0x50acdc;return this['_pendingMutations'][_0x227984(0x3a3)](_0x1cd1c6),this;}[_0x50acdc(0x206)](_0x1a6448){var _0x31c4c8=_0x50acdc;return this['_queuedRemoteChangesets'][_0x31c4c8(0x3a3)](_0x1a6448),this;}['onRemoteAck'](_0x14ef56){var _0x4e6b3d=_0x50acdc;if(this[_0x4e6b3d(0x353)])return this['_acknowledgedAwaitingChangeset']=this['_awaitingChangeset'],this[_0x4e6b3d(0x353)]=null,this;throw new Error(_0x4e6b3d(0x336));}['onRemoteRej'](_0x3e1f0c){return this['_onConflict'](!!(_0x3e1f0c!=null&&_0x3e1f0c['isPermissionRej']));}[_0x50acdc(0x14d)](){return this;}[_0x50acdc(0x6e)](){var _0x2f4e4b=_0x50acdc;return this[_0x2f4e4b(0xf3)][_0x2f4e4b(0x318)](exports[_0x2f4e4b(0x210)],this[_0x2f4e4b(0xc1)],this[_0x2f4e4b(0x1e9)],this[_0x2f4e4b(0x353)],this[_0x2f4e4b(0x316)],this[_0x2f4e4b(0x24a)]);}[_0x50acdc(0x138)](){return this;}['_onConflict'](_0x5a4920){var _0x16c4da=_0x50acdc;return this[_0x16c4da(0xf3)][_0x16c4da(0x318)](exports[_0x16c4da(0xba)],this[_0x16c4da(0xc1)],this[_0x16c4da(0x1e9)],this[_0x16c4da(0x353)],this[_0x16c4da(0x316)],this[_0x16c4da(0x24a)],_0x5a4920);}},exports[_0x50acdc(0x75)]=oe([w(0x7,a[_0x50acdc(0x93)](a[_0x50acdc(0x238)])),w(0x8,a[_0x50acdc(0x93)](p['RevisionService'])),w(0x9,a['ILogService']),w(0xa,a[_0x50acdc(0x8e)]),w(0xb,a['IUndoRedoService']),w(0xc,p[_0x50acdc(0x19a)]),w(0xd,a[_0x50acdc(0x21e)](K))],exports['FetchingMissState']);function It(_0x1f0174,_0x3d6c4b,_0x1e34e2,_0x16f015,_0xcaed79,_0x1a4d7c){var _0xac20d=_0x50acdc;return _0x16f015&&_0xcaed79[_0xac20d(0x31b)]?_0x1f0174[_0xac20d(0x318)](exports[_0xac20d(0x29d)],_0x3d6c4b,_0x1e34e2,_0x16f015,_0xcaed79,_0x1a4d7c,void 0x0):_0x16f015?_0x1f0174['createInstance'](exports[_0xac20d(0xa7)],_0x3d6c4b,_0x1e34e2,_0x16f015,_0x1a4d7c):_0xcaed79[_0xac20d(0x31b)]?_0x1f0174[_0xac20d(0x318)](exports[_0xac20d(0x37c)],_0x3d6c4b,_0x1e34e2,_0xcaed79,_0x1a4d7c):_0x1f0174[_0xac20d(0x318)](exports['SyncedState'],_0x3d6c4b,_0x1e34e2,_0x1a4d7c);}var ni=Object[_0x50acdc(0x1c4)],Be=(_0x2b7683,_0xccf374,_0x4c5f65,_0x51c7d3)=>{var _0x7d1ba=_0x50acdc;for(var _0x3de621=_0x51c7d3>0x1?void 0x0:_0x51c7d3?ni(_0xccf374,_0x4c5f65):_0xccf374,_0x477fe7=_0x2b7683[_0x7d1ba(0x31b)]-0x1,_0x403160;_0x477fe7>=0x0;_0x477fe7--)(_0x403160=_0x2b7683[_0x477fe7])&&(_0x3de621=_0x403160(_0x3de621)||_0x3de621);return _0x3de621;},j=(_0x5279b8,_0x2f4c37)=>(_0x21c514,_0x47b4b0)=>_0x2f4c37(_0x21c514,_0x47b4b0,_0x5279b8);exports[_0x50acdc(0x11b)]=class extends a[_0x50acdc(0x1fa)]{constructor(_0x498507,_0x526142,_0x23dbdb,_0x4149f8,_0x3b9b64,_0x1cd372,_0x2efa8e,_0x2488c2,_0x6ab9c1,_0x2837c1,_0x4b300c,_0x3cbaf2,_0x19274c){var _0x5a85ed=_0x50acdc;super(),A(this,_0x5a85ed(0x277),new H[(_0x5a85ed(0x1ea))](null)),A(this,_0x5a85ed(0x124),this[_0x5a85ed(0x277)]['asObservable']()),A(this,_0x5a85ed(0x1ab)),A(this,_0x5a85ed(0x77),!0x1),A(this,_0x5a85ed(0x1e2),''),A(this,_0x5a85ed(0x31a),0x0),A(this,_0x5a85ed(0x36e),this[_0x5a85ed(0x124)]['pipe'](H['map'](_0x5556cd=>_0x5556cd?_0x5556cd[_0x5a85ed(0x28c)]:je[_0x5a85ed(0x2dc)]),H[_0x5a85ed(0x379)](0x1))),A(this,_0x5a85ed(0x125),!0x1),A(this,'_remoteChangesetQueue',[]),(this[_0x5a85ed(0xc1)]=_0x498507,this[_0x5a85ed(0x301)]=_0x526142,this[_0x5a85ed(0x80)]=_0x23dbdb,this[_0x5a85ed(0xf3)]=_0x4149f8,this[_0x5a85ed(0x365)]=_0x3b9b64,this[_0x5a85ed(0x302)]=_0x1cd372,this[_0x5a85ed(0x153)]=_0x2efa8e,this[_0x5a85ed(0x3bf)]=_0x2488c2,this[_0x5a85ed(0x164)]=_0x6ab9c1,this['_commandService']=_0x2837c1,this[_0x5a85ed(0x185)]=_0x4b300c,this['_singleActiveUnitService']=_0x3cbaf2,this[_0x5a85ed(0x135)]=_0x19274c);}get[_0x50acdc(0x315)](){var _0x1a883b=_0x50acdc;return this[_0x1a883b(0x1ab)];}async['init'](){var _0x528e53=_0x50acdc;if(this[_0x528e53(0x315)])throw new Error('[CollaborationEntity]:\x20initial\x20state\x20has\x20been\x20created\x20before.\x20You\x20should\x20not\x20call\x20\x22init\x22\x20twice.');await this['_init']();}[_0x50acdc(0x1b8)](){var _0xd386dd=_0x50acdc;return this[_0xd386dd(0x77)]=!0x0,a['toDisposable'](()=>{this['_collaborationPaused']=!0x1,this['_exhaustRemoteChangesetQueue']();});}[_0x50acdc(0xfb)](_0x1e93f5){var _0x4a1818=_0x50acdc;this[_0x4a1818(0x15f)](_0x1e93f5);}[_0x50acdc(0x1cb)](_0x4c78fb){var _0x423f01=_0x50acdc;this[_0x423f01(0x1ab)]=_0x4c78fb,this[_0x423f01(0x277)][_0x423f01(0x30b)](_0x4c78fb);}async[_0x50acdc(0x1c0)](){var _0x34e3b9=_0x50acdc,_0x52cf00;this['_updateState'](await this[_0x34e3b9(0x144)]()),this[_0x34e3b9(0x107)]&&((_0x52cf00=this['_singleActiveUnitService'])==null||_0x52cf00[_0x34e3b9(0x12b)](this[_0x34e3b9(0xc1)]),this[_0x34e3b9(0x2bc)](this[_0x34e3b9(0x107)][_0x34e3b9(0x140)](this['unitID'])['subscribe'](_0x397f93=>{var _0x20b0fd=_0x34e3b9;this[_0x20b0fd(0x164)][_0x20b0fd(0x286)](_0x20b0fd(0x2f2),'editing\x20status\x20changed\x20to',_0x397f93),_0x397f93===He[_0x20b0fd(0x1ae)]?(this[_0x20b0fd(0x3bf)][_0x20b0fd(0xc2)]({'id':Z['OTHER_CLIENT_EDITING']}),this['_permissionService'][_0x20b0fd(0x3bd)](new X[(_0x20b0fd(0x2c7))](this[_0x20b0fd(0xc1)])['id'],!0x1),this[_0x20b0fd(0x185)][_0x20b0fd(0x31f)](!0x1)):(this['_permissionService']['updatePermissionPoint'](new X[(_0x20b0fd(0x2c7))](this['unitID'])['id'],!0x0),this[_0x20b0fd(0x185)][_0x20b0fd(0x31f)](!0x0));})));let _0x52d094=!0x1;return this[_0x34e3b9(0x2bc)](this[_0x34e3b9(0x301)]['sessionStatus$'][_0x34e3b9(0x393)](_0x3ecd74=>{var _0x5b8be1=_0x34e3b9;_0x3ecd74===re[_0x5b8be1(0x246)]?this[_0x5b8be1(0xc6)](_0x52d094):_0x3ecd74===re[_0x5b8be1(0x2dc)]&&(_0x52d094=!0x0,this['_toggleOffline']());})),this[_0x34e3b9(0x2bc)](this[_0x34e3b9(0x301)][_0x34e3b9(0x291)][_0x34e3b9(0x393)](_0x11282d=>{var _0x54aff3=_0x34e3b9;try{switch(_0x11282d[_0x54aff3(0x12e)]){case p[_0x54aff3(0x2d7)]['NEW_CHANGESETS']:{this[_0x54aff3(0x3a8)](p['parseProtocolChangeset'](_0x11282d['data']));break;}case p[_0x54aff3(0x2d7)][_0x54aff3(0x23f)]:{this['_onRemoteACK'](_0x11282d[_0x54aff3(0x33e)]);break;}case p['CollaborationEvent'][_0x54aff3(0x6d)]:{this[_0x54aff3(0x148)]();break;}case p[_0x54aff3(0x2d7)][_0x54aff3(0x276)]:{this[_0x54aff3(0x25f)](_0x11282d[_0x54aff3(0x33e)]);break;}case p['CollaborationEvent'][_0x54aff3(0x258)]:{this[_0x54aff3(0x386)](_0x11282d[_0x54aff3(0x33e)][_0x54aff3(0x13c)][_0x54aff3(0x2cc)](_0x4469a4=>p[_0x54aff3(0x219)](_0x4469a4)));break;}case p[_0x54aff3(0x2d7)][_0x54aff3(0x312)]:{this[_0x54aff3(0x148)]({'isPermissionRej':!0x0});break;}case p[_0x54aff3(0x2d7)]['UNISCRIPT_RUN']:break;}}catch(_0x186259){throw console['error'](_0x54aff3(0x22e),_0x186259),_0x186259;}})),this[_0x34e3b9(0x1ab)];}['_unlockTransition'](){var _0x38b92b=_0x50acdc;this[_0x38b92b(0x125)]=!0x1;}['_lockTransition'](){var _0x2a497d=_0x50acdc;if(this['_transitionLocked'])throw new Error(_0x2a497d(0x1a4));this[_0x2a497d(0x125)]=!0x0;}['_onLocalMutation'](_0x1f5a3d){var _0x107616=_0x50acdc;this[_0x107616(0x1e1)](),this[_0x107616(0x1cb)](this[_0x107616(0x1ab)][_0x107616(0x263)](_0x1f5a3d)),this[_0x107616(0x308)]();}['_onRemoteChangeset'](_0x121cf5){var _0x4071cd=_0x50acdc;if(!(_0x121cf5['revision']<=this[_0x4071cd(0x153)][_0x4071cd(0xbf)](this[_0x4071cd(0xc1)]))){if(this['_collaborationPaused']){this[_0x4071cd(0x2cd)]['push'](_0x121cf5);return;}this[_0x4071cd(0xc7)](_0x121cf5);}}[_0x50acdc(0x108)](){var _0x3d0f3b=_0x50acdc;this[_0x3d0f3b(0x2cd)][_0x3d0f3b(0x198)](_0x1c1e25=>this[_0x3d0f3b(0xc7)](_0x1c1e25)),this[_0x3d0f3b(0x2cd)]=[];}[_0x50acdc(0xc7)](_0x3961b8){var _0x3ed742=_0x50acdc;const _0x2d1c0e=this[_0x3ed742(0x365)][_0x3ed742(0x3dd)][_0x3ed742(0x2fc)](this[_0x3ed742(0x365)][_0x3ed742(0x3dd)][_0x3ed742(0x2d0)]()[_0x3ed742(0x9c)])(_0x3961b8['mutations'],null)||_0x3961b8[_0x3ed742(0x1db)],_0x4f30de={..._0x3961b8,'mutations':_0x2d1c0e};this[_0x3ed742(0x1e1)](),this[_0x3ed742(0x1cb)](this[_0x3ed742(0x1ab)][_0x3ed742(0x206)](_0x4f30de)),this[_0x3ed742(0x308)]();}['_onRemoteACK'](_0x51d4da){var _0x1a50d8=_0x50acdc;this[_0x1a50d8(0x1e1)](),this[_0x1a50d8(0x1cb)](this[_0x1a50d8(0x1ab)][_0x1a50d8(0xb0)](_0x51d4da)),this['_unlockTransition']();}[_0x50acdc(0x148)](_0x38699d){var _0x475a47=_0x50acdc;this[_0x475a47(0x1e1)](),this[_0x475a47(0x1cb)](this[_0x475a47(0x1ab)]['onRemoteRej'](_0x38699d)),this['_unlockTransition']();}['_onRemoteRetry'](_0x1b7bd2){var _0x56fd2a=_0x50acdc;this[_0x56fd2a(0x1e1)](),this[_0x56fd2a(0x1cb)](this[_0x56fd2a(0x1ab)][_0x56fd2a(0x14d)](_0x1b7bd2)),this[_0x56fd2a(0x308)]();}[_0x50acdc(0x386)](_0x1e6185){var _0x54ed23=_0x50acdc;if(!(this[_0x54ed23(0x1ab)]instanceof exports[_0x54ed23(0x75)]))throw new TypeError(_0x54ed23(0x1fb));const _0x453743=_0x1e6185[_0x54ed23(0x2cc)](_0x74c1bc=>{var _0x57580c=_0x54ed23;const _0x386f00=this[_0x57580c(0x365)][_0x57580c(0x3dd)][_0x57580c(0x2fc)](this[_0x57580c(0x365)][_0x57580c(0x3dd)][_0x57580c(0x2d0)]()[_0x57580c(0x9c)])(_0x74c1bc[_0x57580c(0x1db)],null)||_0x74c1bc[_0x57580c(0x1db)];return{..._0x74c1bc,'mutations':_0x386f00};});this[_0x54ed23(0x1e1)](),this['_updateState'](this['_state'][_0x54ed23(0x244)](_0x453743)),this['_unlockTransition']();}[_0x50acdc(0x1ef)](){var _0x499a84=_0x50acdc;this[_0x499a84(0x1e1)](),this[_0x499a84(0x1cb)](this[_0x499a84(0x1ab)][_0x499a84(0x6e)]()),this[_0x499a84(0x308)]();}[_0x50acdc(0xc6)](_0x1cf278=!0x1){var _0x47bb1a=_0x50acdc;this[_0x47bb1a(0x1e1)](),this[_0x47bb1a(0x1cb)](this[_0x47bb1a(0x1ab)][_0x47bb1a(0x138)]()),this[_0x47bb1a(0x308)]();const _0x4b7e75=this['_state'];_0x1cf278&&_0x4b7e75 instanceof exports[_0x47bb1a(0x389)]&&(this[_0x47bb1a(0x1e1)](),this[_0x47bb1a(0x1cb)](_0x4b7e75['fetchMiss']()),this[_0x47bb1a(0x308)]());}async[_0x50acdc(0x144)](){return new Promise(_0x42aaba=>{var _0x1816fe=_0x5520;this[_0x1816fe(0x301)][_0x1816fe(0x209)][_0x1816fe(0x34b)](H[_0x1816fe(0x3ad)](0x1))['subscribe'](async _0x203a53=>{var _0x4bd75e=_0x1816fe;_0x42aaba(await this[_0x4bd75e(0x236)](_0x203a53===re['ONLINE']));});});}[_0x50acdc(0x1fe)](){const _0x2dcd01=this['unitID'];return{'onStateChange':(_0x25efd5,_0x371d83)=>{var _0x456882=_0x5520;if(_0x25efd5!==this[_0x456882(0x1ab)])throw new Error(_0x456882(0x137)+_0x25efd5[_0x456882(0x28c)]+'\x0aAfter:\x20'+_0x371d83[_0x456882(0x28c)]+_0x456882(0xf6)+this[_0x456882(0x1ab)][_0x456882(0x28c)]);this[_0x456882(0x1cb)](_0x371d83);},'onSendChangeset':_0x5f23f8=>{var _0x35870e=_0x5520;_0x5f23f8[_0x35870e(0x25d)]||(_0x5f23f8[_0x35870e(0x25d)]=this[_0x35870e(0x1e2)],_0x5f23f8[_0x35870e(0xa9)]=++this[_0x35870e(0x31a)]);const _0xabb7d2={'eventID':p[_0x35870e(0x2d7)][_0x35870e(0xc0)],'data':{'unitID':_0x5f23f8[_0x35870e(0xc1)],'unitType':this['_type'],'changeset':_0x5f23f8,'memberID':this[_0x35870e(0x301)][_0x35870e(0x1f5)]()}};this[_0x35870e(0x301)][_0x35870e(0x3eb)](_0xabb7d2,this[_0x35870e(0xc1)]);},'onMissingChangesets':({from:_0x1ee2c5,to:_0x15f325})=>{var _0x3c193e=_0x5520;this[_0x3c193e(0x164)][_0x3c193e(0x286)](_0x3c193e(0x2f2),_0x3c193e(0x233)+_0x1ee2c5+_0x3c193e(0x1e4)+_0x15f325);const _0x41c442={'eventID':p['CollaborationEvent'][_0x3c193e(0x202)],'data':{'unitID':_0x2dcd01,'unitType':this[_0x3c193e(0x80)],'from':_0x1ee2c5,'to':_0x15f325}};this[_0x3c193e(0x301)][_0x3c193e(0x3eb)](_0x41c442,this[_0x3c193e(0xc1)]);}};}async[_0x50acdc(0x236)](_0x4411c4){var _0x4ea3ca=_0x50acdc,_0x105770,_0xd866b0,_0x2dbfa6;const _0x505403=await((_0x105770=this[_0x4ea3ca(0x135)])==null?void 0x0:_0x105770[_0x4ea3ca(0x25e)](this[_0x4ea3ca(0xc1)])),_0xb476f0=(_0xd866b0=_0x505403==null?void 0x0:_0x505403[_0x4ea3ca(0x1db)])!=null?_0xd866b0:[],_0x102d5d=(_0x2dbfa6=_0x505403==null?void 0x0:_0x505403['awaitingChangeset'])!=null?_0x2dbfa6:null,_0x5e3925=!!(_0x102d5d!=null&&_0x102d5d[_0x4ea3ca(0x25d)])&&!!(_0x102d5d!=null&&_0x102d5d[_0x4ea3ca(0xa9)]);this[_0x4ea3ca(0x1e2)]=_0x5e3925?_0x102d5d[_0x4ea3ca(0x25d)]:p[_0x4ea3ca(0x12d)](),this[_0x4ea3ca(0x31a)]=_0x5e3925?_0x102d5d[_0x4ea3ca(0xa9)]:0x0;const _0x80e85b=this[_0x4ea3ca(0xc1)];try{this[_0x4ea3ca(0x2f9)](_0x102d5d,_0xb476f0);}catch(_0x41d11f){this[_0x4ea3ca(0x164)][_0x4ea3ca(0x253)](_0x41d11f);}const _0x29e576=this[_0x4ea3ca(0x1fe)]();if(_0x4411c4){const _0x817bf7=It(this[_0x4ea3ca(0xf3)],_0x80e85b,this[_0x4ea3ca(0x80)],_0x102d5d,_0xb476f0,_0x29e576);return _0x817bf7 instanceof exports['PendingState']?_0x817bf7[_0x4ea3ca(0x18d)]():(_0x817bf7 instanceof exports[_0x4ea3ca(0x29d)]||_0x817bf7 instanceof exports[_0x4ea3ca(0xa7)])&&_0x817bf7[_0x4ea3ca(0x2e5)](),_0x817bf7;}return this[_0x4ea3ca(0xf3)]['createInstance'](exports[_0x4ea3ca(0x210)],_0x80e85b,this[_0x4ea3ca(0x80)],_0x102d5d,_0xb476f0,_0x29e576);}[_0x50acdc(0x2f9)](_0x487abf,_0x534af6){var _0x1b3c89=_0x50acdc,_0x1ac759,_0x28c4df;const _0x22a635=this[_0x1b3c89(0x365)]['interceptor']['fetchThroughInterceptors'](this[_0x1b3c89(0x365)]['interceptor'][_0x1b3c89(0x2d0)]()['COMPRESS_MUTATION_APPLY']);(_0x1ac759=_0x22a635((_0x487abf==null?void 0x0:_0x487abf[_0x1b3c89(0x1db)])||[],null))==null||_0x1ac759['forEach'](_0x3b3db8=>this['_commandService'][_0x1b3c89(0xae)](_0x3b3db8['id'],_0x3b3db8['params'])),(_0x28c4df=_0x22a635(_0x534af6||[],null))==null||_0x28c4df['forEach'](_0x36884d=>this[_0x1b3c89(0x264)][_0x1b3c89(0xae)](_0x36884d['id'],_0x36884d['params']));}},exports['CollaborationEntity']=Be([j(0x3,a[_0x50acdc(0x93)](a['Injector'])),j(0x4,a[_0x50acdc(0x93)](p[_0x50acdc(0x261)])),j(0x5,a['Inject'](a['LocaleService'])),j(0x6,a[_0x50acdc(0x93)](p[_0x50acdc(0x1a8)])),j(0x7,a[_0x50acdc(0x93)](ee)),j(0x8,a[_0x50acdc(0x329)]),j(0x9,a[_0x50acdc(0x8e)]),j(0xa,a[_0x50acdc(0x158)]),j(0xb,a['Optional'](de)),j(0xc,a[_0x50acdc(0x21e)](K))],exports[_0x50acdc(0x11b)]),exports[_0x50acdc(0x381)]=class extends exports[_0x50acdc(0x11b)]{constructor(_0x42836b,_0x4000ed,_0x35b149,_0x5ccd92,_0x5b921a,_0x3cb334,_0x349ffe,_0x225499,_0x3795a5,_0xd22cb5,_0x258439,_0x4072a7,_0x49541d){var _0x2ba76f=_0x50acdc;super(_0x42836b,_0x35b149,_0x4000ed,_0x5ccd92,_0x5b921a,_0x3cb334,_0x349ffe,_0x225499,_0x3795a5,_0xd22cb5,_0x258439,_0x4072a7,_0x49541d),A(this,_0x2ba76f(0x207),null),(this[_0x2ba76f(0xc1)]=_0x42836b,this[_0x2ba76f(0x1e9)]=_0x4000ed);}[_0x50acdc(0x3be)](_0x270a70){this['_handlerCallback']=_0x270a70;}[_0x50acdc(0xdd)](){this['_handlerCallback']=null,super['dispose']();}[_0x50acdc(0x1fe)](){var _0x642ef9=_0x50acdc;const _0x56c363=super['_createHandler']();return _0x56c363[_0x642ef9(0x338)]=_0x12572d=>{var _0x25229c=_0x642ef9,_0x578b43,_0x313a4d;return(_0x313a4d=(_0x578b43=this[_0x25229c(0x207)])==null?void 0x0:_0x578b43[_0x25229c(0x338)])==null?void 0x0:_0x313a4d[_0x25229c(0x2ac)](_0x578b43,_0x12572d);},_0x56c363['onTransformState']=_0x50bf4e=>{var _0x590614=_0x642ef9,_0x40cee3,_0x4d240d;return(_0x4d240d=(_0x40cee3=this['_handlerCallback'])==null?void 0x0:_0x40cee3[_0x590614(0x363)])==null?void 0x0:_0x4d240d['call'](_0x40cee3,_0x50bf4e);},_0x56c363['onTransformSelections']=_0x37b585=>{var _0x3eeaee=_0x642ef9,_0x52c302,_0x425145;return(_0x425145=(_0x52c302=this[_0x3eeaee(0x207)])==null?void 0x0:_0x52c302[_0x3eeaee(0x351)])==null?void 0x0:_0x425145['call'](_0x52c302,_0x37b585);},_0x56c363[_0x642ef9(0x1c6)]=_0x43c08e=>{var _0x453dc6=_0x642ef9,_0x59c81d,_0x1d4309;return(_0x1d4309=(_0x59c81d=this['_handlerCallback'])==null?void 0x0:_0x59c81d['onSyncEditingCollabCursor'])==null?void 0x0:_0x1d4309[_0x453dc6(0x2ac)](_0x59c81d,_0x43c08e);},_0x56c363[_0x642ef9(0x387)]=_0x4ee71d=>{var _0x3c5403=_0x642ef9,_0x47a54f,_0x1ef8f8,_0x4489a1;if(!((_0x47a54f=this['_handlerCallback'])!=null&&_0x47a54f['onTransformRemoteChangesetByIMECache']))throw new Error(_0x3c5403(0x3e0));return(_0x4489a1=(_0x1ef8f8=this[_0x3c5403(0x207)])==null?void 0x0:_0x1ef8f8[_0x3c5403(0x387)])==null?void 0x0:_0x4489a1[_0x3c5403(0x2ac)](_0x1ef8f8,_0x4ee71d);},_0x56c363['onTransformRemoteChangesetByStateCache']=_0x49926c=>{var _0x1ae13a=_0x642ef9,_0x1b14e6,_0x150830,_0x24ad73;if(!((_0x1b14e6=this['_handlerCallback'])!=null&&_0x1b14e6[_0x1ae13a(0x369)]))throw new Error(_0x1ae13a(0x179));return(_0x24ad73=(_0x150830=this[_0x1ae13a(0x207)])==null?void 0x0:_0x150830[_0x1ae13a(0x369)])==null?void 0x0:_0x24ad73['call'](_0x150830,_0x49926c);},_0x56c363;}async['_init'](){var _0x1a8fda=_0x50acdc;const _0x574755=await super['_init']();return this['disposeWithMe'](this['_commandService'][_0x1a8fda(0x35a)]((_0x1f8131,_0x251ecc)=>{var _0x6ee7ce=_0x1a8fda;if(_0x1f8131[_0x6ee7ce(0x1e9)]!==a[_0x6ee7ce(0x14b)]['MUTATION']||_0x251ecc!=null&&_0x251ecc[_0x6ee7ce(0x70)]||_0x251ecc!=null&&_0x251ecc[_0x6ee7ce(0xb5)]||_0x1f8131['id']===ct[_0x6ee7ce(0x3a6)]['id'])return;const _0x45b4da=_0x1f8131[_0x6ee7ce(0xbb)];if((_0x45b4da==null?void 0x0:_0x45b4da['unitId'])!==this[_0x6ee7ce(0xc1)])return;const _0x14fa5e=_0x1f8131,_0x14e74d=this[_0x6ee7ce(0x365)][_0x6ee7ce(0x3dd)][_0x6ee7ce(0x2fc)](this[_0x6ee7ce(0x365)][_0x6ee7ce(0x3dd)][_0x6ee7ce(0x2d0)]()[_0x6ee7ce(0x337)])([_0x14fa5e],null)||[_0x14fa5e];this['_onLocalMutation'](_0x14e74d[0x0]);})),_0x574755;}},exports[_0x50acdc(0x381)]=Be([j(0x3,a[_0x50acdc(0x93)](a[_0x50acdc(0x238)])),j(0x4,a[_0x50acdc(0x93)](p[_0x50acdc(0x261)])),j(0x5,a[_0x50acdc(0x93)](a[_0x50acdc(0x217)])),j(0x6,a[_0x50acdc(0x93)](p['RevisionService'])),j(0x7,a[_0x50acdc(0x93)](ee)),j(0x8,a[_0x50acdc(0x329)]),j(0x9,a[_0x50acdc(0x8e)]),j(0xa,a[_0x50acdc(0x158)]),j(0xb,a[_0x50acdc(0x21e)](de)),j(0xc,a[_0x50acdc(0x21e)](K))],exports[_0x50acdc(0x381)]),exports[_0x50acdc(0x241)]=class extends exports[_0x50acdc(0x11b)]{constructor(_0x458d2d,_0x116b87,_0x5a18f8,_0x2b7fe0,_0x148d3a,_0x517cba,_0x594a50,_0x1800b0,_0x29396f,_0x57917b,_0x3bb0ba,_0x50cb2a,_0x5bffff,_0x295d2d){var _0x4c9dcc=_0x50acdc;super(_0x458d2d,_0x5a18f8,_0x116b87,_0x2b7fe0,_0x148d3a,_0x517cba,_0x594a50,_0x29396f,_0x57917b,_0x3bb0ba,_0x50cb2a,_0x5bffff,_0x295d2d),this[_0x4c9dcc(0xc1)]=_0x458d2d,this[_0x4c9dcc(0x1e9)]=_0x116b87,this[_0x4c9dcc(0x37a)]=_0x1800b0;}[_0x50acdc(0x1fe)](){var _0x536c3d=_0x50acdc;const _0x240e06=super[_0x536c3d(0x1fe)]();return _0x240e06[_0x536c3d(0x351)]=_0x961791=>this[_0x536c3d(0x37a)][_0x536c3d(0x19d)](_0x961791),_0x240e06;}async[_0x50acdc(0x1c0)](){var _0xb3c701=_0x50acdc;const _0x4cfc13=await super[_0xb3c701(0x1c0)]();return this[_0xb3c701(0x2bc)](this[_0xb3c701(0x264)][_0xb3c701(0x35a)]((_0x17a6ca,_0x34b6ae)=>{var _0x292d28=_0xb3c701;if(_0x17a6ca[_0x292d28(0x1e9)]!==a['CommandType'][_0x292d28(0x234)]||_0x34b6ae!=null&&_0x34b6ae[_0x292d28(0x70)]||_0x34b6ae!=null&&_0x34b6ae[_0x292d28(0xb5)])return;const _0x46bcf6=_0x17a6ca[_0x292d28(0xbb)];if((_0x46bcf6==null?void 0x0:_0x46bcf6[_0x292d28(0x13f)])!==this[_0x292d28(0xc1)])return;const _0x342d4e=_0x17a6ca,_0x1cea6d=this[_0x292d28(0x365)]['interceptor'][_0x292d28(0x2fc)](this['_compressMutationService']['interceptor'][_0x292d28(0x2d0)]()['COMPRESS_MUTATION_SEND'])([_0x342d4e],null)||[_0x342d4e];this[_0x292d28(0x15f)](_0x1cea6d[0x0]);})),_0x4cfc13;}},exports[_0x50acdc(0x241)]=Be([j(0x3,a[_0x50acdc(0x93)](a['Injector'])),j(0x4,a['Inject'](p[_0x50acdc(0x261)])),j(0x5,a[_0x50acdc(0x93)](a[_0x50acdc(0x217)])),j(0x6,a[_0x50acdc(0x93)](p['RevisionService'])),j(0x7,a['Inject'](exports[_0x50acdc(0x26a)])),j(0x8,a[_0x50acdc(0x93)](ee)),j(0x9,a[_0x50acdc(0x329)]),j(0xa,a[_0x50acdc(0x8e)]),j(0xb,a['IPermissionService']),j(0xc,a[_0x50acdc(0x21e)](de)),j(0xd,a['Optional'](K))],exports['SheetCollaborationEntity']);const pt=a[_0x50acdc(0x374)](_0x50acdc(0x183));function mt(_0x546b3e){var _0x2abcd7=_0x50acdc,_0x562b2b,_0x18331b,_0x514f45,_0x1b9e5c,_0x430f08;const _0x2a2291=_0x546b3e[_0x2abcd7(0x33e)],_0x42b604=JSON[_0x2abcd7(0x39d)](_0x2a2291);switch(_0x42b604[_0x2abcd7(0x262)]){case W[_0x2abcd7(0xaf)]:case W['HELLO']:{const _0x387d76=_0x42b604[_0x2abcd7(0x1ff)];return{..._0x42b604,'data':_0x387d76,'cmd':_0x42b604['cmd']};}case W[_0x2abcd7(0x228)]:{const _0x23406d=_0x42b604[_0x2abcd7(0x1f0)];return{..._0x42b604,'data':_0x23406d,'cmd':_0x42b604['cmd']};}case W[_0x2abcd7(0x317)]:{const _0x6532cb=_0x42b604[_0x2abcd7(0x26e)];switch(_0x6532cb['eventID']){case p[_0x2abcd7(0x2d7)][_0x2abcd7(0x312)]:return{..._0x42b604,'data':{..._0x6532cb,'data':(_0x562b2b=_0x6532cb[_0x2abcd7(0xa0)])==null?void 0x0:_0x562b2b['cs']},'cmd':_0x42b604[_0x2abcd7(0x262)]};case p[_0x2abcd7(0x2d7)]['CHANGESET_ACK']:return{..._0x42b604,'data':{..._0x6532cb,'data':(_0x18331b=_0x6532cb['csAckEvent'])==null?void 0x0:_0x18331b['cs']},'cmd':_0x42b604[_0x2abcd7(0x262)]};case p['CollaborationEvent'][_0x2abcd7(0x220)]:return{..._0x42b604,'data':{..._0x6532cb,'data':(_0x514f45=_0x6532cb[_0x2abcd7(0x298)])==null?void 0x0:_0x514f45['cs']},'cmd':_0x42b604[_0x2abcd7(0x262)]};case p['CollaborationEvent'][_0x2abcd7(0x6d)]:return{..._0x42b604,'data':{..._0x6532cb,'data':(_0x1b9e5c=_0x6532cb[_0x2abcd7(0x26d)])==null?void 0x0:_0x1b9e5c['cs']},'cmd':_0x42b604[_0x2abcd7(0x262)]};case p[_0x2abcd7(0x2d7)][_0x2abcd7(0x276)]:return{..._0x42b604,'data':{..._0x6532cb,'data':(_0x430f08=_0x6532cb[_0x2abcd7(0x297)])==null?void 0x0:_0x430f08['cs']},'cmd':_0x42b604[_0x2abcd7(0x262)]};case p[_0x2abcd7(0x2d7)][_0x2abcd7(0x3ce)]:return{..._0x42b604,'data':{..._0x6532cb,'data':_0x6532cb['updateCursorEvent']},'cmd':_0x42b604[_0x2abcd7(0x262)]};case p['CollaborationEvent'][_0x2abcd7(0x3d6)]:return{..._0x42b604,'data':{..._0x6532cb,'data':_0x6532cb[_0x2abcd7(0x3b7)]},'cmd':_0x42b604[_0x2abcd7(0x262)]};case p[_0x2abcd7(0x2d7)][_0x2abcd7(0x3d0)]:return{..._0x42b604,'data':{..._0x6532cb,'data':_0x6532cb[_0x2abcd7(0x3ec)]},'cmd':_0x42b604[_0x2abcd7(0x262)]};case p[_0x2abcd7(0x2d7)][_0x2abcd7(0x3c3)]:return{..._0x42b604,'data':{..._0x6532cb,'data':_0x6532cb[_0x2abcd7(0x391)]},'cmd':_0x42b604[_0x2abcd7(0x262)]};case p[_0x2abcd7(0x2d7)][_0x2abcd7(0x25a)]:case p[_0x2abcd7(0x2d7)][_0x2abcd7(0x17e)]:return{..._0x42b604,'data':{..._0x6532cb,'data':_0x6532cb[_0x2abcd7(0x168)]},'cmd':_0x42b604['cmd']};case p['CollaborationEvent']['LIVESHARE_TERMINATE']:return{..._0x42b604,'data':{..._0x6532cb,'data':_0x6532cb['liveShareNewHost']},'cmd':_0x42b604[_0x2abcd7(0x262)]};case p['CollaborationEvent'][_0x2abcd7(0x3ca)]:return{..._0x42b604,'data':_0x6532cb,'cmd':_0x42b604[_0x2abcd7(0x262)]};case p[_0x2abcd7(0x2d7)][_0x2abcd7(0x174)]:return{..._0x42b604,'data':{..._0x6532cb,'data':_0x6532cb[_0x2abcd7(0x295)]},'cmd':_0x42b604[_0x2abcd7(0x262)]};case p[_0x2abcd7(0x2d7)][_0x2abcd7(0x14c)]:return{..._0x42b604,'data':{..._0x6532cb,'data':_0x6532cb[_0x2abcd7(0x388)]},'cmd':_0x42b604[_0x2abcd7(0x262)]};case p['CollaborationEvent']['SHOULD_CLOSE_CONN']:return{..._0x42b604,'data':{..._0x6532cb,'data':_0x6532cb['shouldCloseConn']},'cmd':_0x42b604[_0x2abcd7(0x262)]};case p[_0x2abcd7(0x2d7)][_0x2abcd7(0x113)]:return{..._0x42b604,'data':{..._0x6532cb,'data':_0x6532cb['uniscriptRunEvent']},'cmd':_0x42b604['cmd']};default:return _0x42b604;}}default:return _0x42b604;}}function gt(_0x16943a){var _0x2180fc=_0x50acdc;switch(_0x16943a[_0x2180fc(0x262)]){case W[_0x2180fc(0xaf)]:case W[_0x2180fc(0x254)]:return JSON['stringify']({'cmd':_0x16943a[_0x2180fc(0x262)],'routeKey':_0x16943a[_0x2180fc(0x105)]});case W[_0x2180fc(0x208)]:{let _0x46d7e0;switch(_0x16943a[_0x2180fc(0x33e)][_0x2180fc(0x12e)]){case p[_0x2180fc(0x2d7)][_0x2180fc(0x3ce)]:{_0x46d7e0={'eventID':p[_0x2180fc(0x2d7)][_0x2180fc(0x3ce)],'updateCursorEvent':_0x16943a['data'][_0x2180fc(0x33e)]};break;}case p['CollaborationEvent'][_0x2180fc(0x3d0)]:{_0x46d7e0={'eventID':p['CollaborationEvent'][_0x2180fc(0x3d0)],'leaveEvent':_0x16943a['data'][_0x2180fc(0x33e)]};break;}case p[_0x2180fc(0x2d7)][_0x2180fc(0x3d6)]:{_0x46d7e0={'eventID':p['CollaborationEvent'][_0x2180fc(0x3d6)],'joinEvent':_0x16943a[_0x2180fc(0x33e)][_0x2180fc(0x33e)]};break;}case p['CollaborationEvent'][_0x2180fc(0x3c3)]:{_0x46d7e0={'eventID':p[_0x2180fc(0x2d7)]['LIVESHARE_NEW_HOST'],'liveShareNewHost':_0x16943a[_0x2180fc(0x33e)][_0x2180fc(0x33e)]};break;}case p[_0x2180fc(0x2d7)]['LIVESHARE_OPERATION']:{_0x46d7e0={'eventID':p[_0x2180fc(0x2d7)][_0x2180fc(0x17e)],'liveShareOperation':_0x16943a[_0x2180fc(0x33e)][_0x2180fc(0x33e)]};break;}case p['CollaborationEvent'][_0x2180fc(0x12c)]:{_0x46d7e0={'eventID':p['CollaborationEvent']['LIVESHARE_TERMINATE'],'liveShareTerminate':_0x16943a[_0x2180fc(0x33e)]['data']};break;}case p['CollaborationEvent'][_0x2180fc(0x175)]:{_0x46d7e0={'eventID':p[_0x2180fc(0x2d7)][_0x2180fc(0x175)],'liveShareRequestHost':_0x16943a[_0x2180fc(0x33e)][_0x2180fc(0x33e)]};break;}case p[_0x2180fc(0x2d7)][_0x2180fc(0x25a)]:{_0x46d7e0={'eventID':p['CollaborationEvent']['LIVESHARE_FETCH_OPERATIONS']};break;}default:_0x46d7e0={'eventID':_0x16943a[_0x2180fc(0x33e)][_0x2180fc(0x12e)]};}return JSON[_0x2180fc(0x8b)]({'cmd':_0x16943a['cmd'],'routeKey':_0x16943a['routeKey'],'collaMsg':_0x46d7e0});}case W[_0x2180fc(0x228)]:return JSON[_0x2180fc(0x8b)]({'cmd':_0x16943a[_0x2180fc(0x262)],'routeKey':_0x16943a['routeKey'],'joinReq':_0x16943a[_0x2180fc(0x33e)]});case W[_0x2180fc(0x3b2)]:return JSON[_0x2180fc(0x8b)]({'cmd':_0x16943a[_0x2180fc(0x262)],'routeKey':_0x16943a[_0x2180fc(0x105)],'leaveReq':_0x16943a[_0x2180fc(0x33e)]});default:throw new Error(_0x2180fc(0x23c));}}var ri=Object[_0x50acdc(0x1c4)],si=(_0x2f0cec,_0x59fd9d,_0x5ddc4e,_0xd1d6e8)=>{for(var _0x190a2a=_0xd1d6e8>0x1?void 0x0:_0xd1d6e8?ri(_0x59fd9d,_0x5ddc4e):_0x59fd9d,_0x1e5240=_0x2f0cec['length']-0x1,_0x2ff7a1;_0x1e5240>=0x0;_0x1e5240--)(_0x2ff7a1=_0x2f0cec[_0x1e5240])&&(_0x190a2a=_0x2ff7a1(_0x190a2a)||_0x190a2a);return _0x190a2a;},_e=(_0x1d18af,_0x2ddb11)=>(_0x500238,_0x36f10f)=>_0x2ddb11(_0x500238,_0x36f10f,_0x1d18af);const Fe=a[_0x50acdc(0x374)](_0x50acdc(0x1f6));function oi(_0xdad52d,_0x33ed5b,_0x33a4af){var _0x19e08f=_0x50acdc;return _0xdad52d+'/'+_0x33ed5b+_0x19e08f(0xfc)+_0x33a4af+'/new_changes';}exports['CollaborationSocketService']=class extends a['Disposable']{constructor(_0x1df113,_0x3091a0,_0x86833c,_0x2fb306,_0x3bfb25){var _0x1039e5=_0x50acdc;super(),this[_0x1039e5(0xf3)]=_0x1df113,this[_0x1039e5(0xcc)]=_0x3091a0,this[_0x1039e5(0x7f)]=_0x86833c,this['_logService']=_0x2fb306,this['_snapshotServerService']=_0x3bfb25;}[_0x50acdc(0x1c9)](_0x5b9750){var _0x44d3f4=_0x50acdc;const _0x317cf5=this[_0x44d3f4(0xf3)][_0x44d3f4(0x230)](q['ISocketService']);if(!_0x317cf5)throw new Error(_0x44d3f4(0x35e));const _0x2548f1=_0x317cf5[_0x44d3f4(0x9a)](_0x5b9750);if(!_0x2548f1)throw new Error(_0x44d3f4(0x10f));const _0x593421=new a[(_0x44d3f4(0x98))](),_0x8937d2=new H[(_0x44d3f4(0x20c))]();_0x593421['add'](_0x2548f1['close$'][_0x44d3f4(0x393)](_0x579920=>_0x8937d2[_0x44d3f4(0x30b)](_0x579920))),_0x593421['add'](a[_0x44d3f4(0x3e8)](()=>_0x8937d2[_0x44d3f4(0x2ab)]()));const _0x568230=new H['Subject']();_0x593421['add'](_0x2548f1[_0x44d3f4(0x1a3)][_0x44d3f4(0x393)](_0x4b8d18=>_0x568230[_0x44d3f4(0x30b)](_0x4b8d18))),_0x593421[_0x44d3f4(0x10a)](a[_0x44d3f4(0x3e8)](()=>_0x568230['complete']()));const _0x5a1cbf=new H[(_0x44d3f4(0x20c))]();_0x593421[_0x44d3f4(0x10a)](_0x2548f1[_0x44d3f4(0x265)][_0x44d3f4(0x393)](_0x281d75=>{const _0x502199=mt(_0x281d75);_0x5a1cbf['next'](_0x502199);})),_0x593421['add'](a[_0x44d3f4(0x3e8)](()=>_0x5a1cbf[_0x44d3f4(0x2ab)]()));let _0x2a721d;const _0x15664e=()=>{var _0x5edb53=_0x44d3f4;_0x568230[_0x5edb53(0x30b)](new Event(_0x5edb53(0x311))),_0x8937d2[_0x5edb53(0x30b)](new Event(_0x5edb53(0x311))),_0x2a721d[_0x5edb53(0x2b8)]();};return _0x2a721d={'memberID':'','close$':_0x8937d2['asObservable'](),'error$':_0x568230['asObservable'](),'open$':_0x2548f1['open$'],'message$':_0x5a1cbf[_0x44d3f4(0x1c8)](),'send':_0x4020f5=>{var _0x356625=_0x44d3f4;if(_0x4020f5[_0x356625(0x262)]===W[_0x356625(0x208)]){if(_0x4020f5['data'][_0x356625(0x12e)]===p[_0x356625(0x2d7)][_0x356625(0xc0)]){this[_0x356625(0x17f)](_0x2a721d,_0x4020f5[_0x356625(0x33e)])[_0x356625(0x18e)](_0x21006e=>{var _0x28bf32=_0x356625;this[_0x28bf32(0x164)][_0x28bf32(0x253)](_0x21006e),_0x15664e();});return;}if(_0x4020f5[_0x356625(0x33e)][_0x356625(0x12e)]===p[_0x356625(0x2d7)][_0x356625(0x202)]){const _0x183acf=_0x4020f5[_0x356625(0x33e)];this[_0x356625(0x1e5)](_0x183acf)[_0x356625(0x1ba)](_0x446dcc=>{var _0x160e2a=_0x356625;_0x5a1cbf[_0x160e2a(0x30b)]({'cmd':W[_0x160e2a(0x317)],'code':se['OK'],'routeKey':_0x183acf[_0x160e2a(0x33e)][_0x160e2a(0xc1)],'routeType':'','data':{'eventID':p[_0x160e2a(0x2d7)][_0x160e2a(0x258)],'data':{'changesets':_0x446dcc}}});})['catch'](_0xae271c=>{var _0xcd170d=_0x356625;this[_0xcd170d(0x164)][_0xcd170d(0x253)](_0xae271c),_0x15664e();});return;}}_0x2548f1['send'](gt(_0x4020f5));},'close':()=>{var _0x4b012f=_0x44d3f4;_0x2548f1[_0x4b012f(0x2b8)](),_0x593421['dispose']();}},_0x2a721d;}async['_submitChangeset'](_0x2f8325,_0x203a01){var _0x444d94=_0x50acdc,_0x474fc4;const {unitType:_0x322989,unitID:_0x1fab7b,changeset:_0x15bcd9}=_0x203a01[_0x444d94(0x33e)],_0x5304c6={'unitID':_0x1fab7b,'memberID':_0x2f8325[_0x444d94(0xd3)],'type':_0x322989,'changeset':p[_0x444d94(0x162)](_0x15bcd9)},_0x3e1029=this['_configService']['getConfig'](Y),_0x5783a8=oi((_0x474fc4=_0x3e1029==null?void 0x0:_0x3e1029[_0x444d94(0x110)])!=null?_0x474fc4:kt,_0x322989,_0x1fab7b);try{await this[_0x444d94(0xcc)][_0x444d94(0x288)](_0x5783a8,{'body':_0x5304c6});}catch(_0x328ed4){throw this[_0x444d94(0x164)][_0x444d94(0x253)](_0x444d94(0x126),_0x444d94(0xe2)),_0x328ed4;}}async['_fetchMissChangesets'](_0x11d6e8){var _0x58b7ba=_0x50acdc;const {unitID:_0x494ed9,from:_0x552697,to:_0x1fbd4d,unitType:_0xa8fa9a}=_0x11d6e8[_0x58b7ba(0x33e)];return(await this['_snapshotServerService'][_0x58b7ba(0x2ee)]({'metadata':void 0x0},{'unitID':_0x494ed9,'type':_0xa8fa9a,'from':_0x552697,'to':_0x1fbd4d}))['changesets'];}},exports[_0x50acdc(0x15b)]=si([_e(0x0,a[_0x50acdc(0x93)](a[_0x50acdc(0x238)])),_e(0x1,a[_0x50acdc(0x93)](q[_0x50acdc(0x2eb)])),_e(0x2,a[_0x50acdc(0xda)]),_e(0x3,a[_0x50acdc(0x329)]),_e(0x4,p[_0x50acdc(0x106)])],exports[_0x50acdc(0x15b)]);var ai=Object[_0x50acdc(0x1c4)],ci=(_0x535257,_0x20ad18,_0x453098,_0x47ed8e)=>{var _0xfa9716=_0x50acdc;for(var _0x4fbae0=_0x47ed8e>0x1?void 0x0:_0x47ed8e?ai(_0x20ad18,_0x453098):_0x20ad18,_0x521428=_0x535257[_0xfa9716(0x31b)]-0x1,_0x552de9;_0x521428>=0x0;_0x521428--)(_0x552de9=_0x535257[_0x521428])&&(_0x4fbae0=_0x552de9(_0x4fbae0)||_0x4fbae0);return _0x4fbae0;},he=(_0x130899,_0x15bd8e)=>(_0x2156d8,_0x28020c)=>_0x15bd8e(_0x2156d8,_0x28020c,_0x130899);exports[_0x50acdc(0x71)]=class extends a[_0x50acdc(0x182)]{constructor(_0x5454f2,_0x348d51,_0x55589d,_0x2b61c6,_0xa59d1e,_0x3e6906){var _0x23f1f4=_0x50acdc;super(),A(this,_0x23f1f4(0x235),new H[(_0x23f1f4(0x1ea))](void 0x0)),A(this,'socket$',this['_socket$'][_0x23f1f4(0x1c8)]()),A(this,'_candidateSocket',null),A(this,_0x23f1f4(0xcf),new Map()),A(this,_0x23f1f4(0x223),new H[(_0x23f1f4(0x1ea))](re[_0x23f1f4(0x2a1)])),A(this,_0x23f1f4(0x36e),this[_0x23f1f4(0x223)]['asObservable']()),A(this,_0x23f1f4(0x23d),!0x1),A(this,_0x23f1f4(0x19e)),A(this,_0x23f1f4(0x20d),0x0),A(this,_0x23f1f4(0x3d3)),A(this,_0x23f1f4(0xa6)),(this['_injector']=_0x5454f2,this[_0x23f1f4(0x164)]=_0x348d51,this[_0x23f1f4(0x7f)]=_0x55589d,this[_0x23f1f4(0x28e)]=_0x2b61c6,this[_0x23f1f4(0x22b)]=_0xa59d1e,this[_0x23f1f4(0x2b7)]=_0x3e6906,this[_0x23f1f4(0xe6)]());}get['_socket'](){var _0x338247=_0x50acdc;return this['_socket$'][_0x338247(0x1df)]();}[_0x50acdc(0xe6)](){var _0x53d88c=_0x50acdc;this[_0x53d88c(0x2b7)]&&this['disposeWithMe'](this[_0x53d88c(0x2b7)]['online$'][_0x53d88c(0x393)](_0x48f4dc=>{var _0x3bc2b3=_0x53d88c;_0x48f4dc&&!this[_0x3bc2b3(0x2d9)]&&this[_0x3bc2b3(0x2d4)](),_0x48f4dc||this['_onOffline']();}));}[_0x50acdc(0xdd)](){var _0x8f82bd=_0x50acdc;super['dispose'](),this[_0x8f82bd(0x1a0)](),this[_0x8f82bd(0xed)](),this[_0x8f82bd(0x2a7)](),this[_0x8f82bd(0xcf)][_0x8f82bd(0x198)](_0x54ac5b=>_0x54ac5b[_0x8f82bd(0xdd)]()),this[_0x8f82bd(0xcf)][_0x8f82bd(0x201)](),this[_0x8f82bd(0x223)][_0x8f82bd(0x2ab)]();}async[_0x50acdc(0x2b6)](_0x10060b){var _0x80f40=_0x50acdc;if(this[_0x80f40(0xcf)][_0x80f40(0x6f)](_0x10060b))return this[_0x80f40(0xcf)][_0x80f40(0x230)](_0x10060b);this[_0x80f40(0x2e8)]();const _0x41ff86=this[_0x80f40(0xf3)][_0x80f40(0x318)](exports['CollaborationSession'],_0x10060b,this[_0x80f40(0x235)]['asObservable']());return this[_0x80f40(0xcf)]['set'](_0x10060b,_0x41ff86),_0x41ff86;}['closeSession'](_0x573f8b){var _0x5ceadd=_0x50acdc,_0x5e72c9;const _0x540693=this[_0x5ceadd(0xcf)]['get'](_0x573f8b);_0x540693&&(this[_0x5ceadd(0xcf)]['delete'](_0x573f8b),_0x540693['close']()),this[_0x5ceadd(0xcf)][_0x5ceadd(0x9d)]||(_0x5e72c9=this[_0x5ceadd(0x2d9)])==null||_0x5e72c9['close']();}[_0x50acdc(0x2d4)](){var _0x59b878=_0x50acdc;this[_0x59b878(0x20d)]=0x0,this['_clearRetryConnectingTimer'](),this['_tryReconnect']();}[_0x50acdc(0x1a0)](){var _0x2e6f59=_0x50acdc;this['_retryConnectingTimer']!=null&&(clearTimeout(this[_0x2e6f59(0x19e)]),this[_0x2e6f59(0x19e)]=null);}async[_0x50acdc(0x1b6)](){var _0x441543=_0x50acdc,_0xa7c481;const _0x4c59e9=this['_configService'][_0x441543(0x279)](Y),_0x50d174=(_0xa7c481=_0x4c59e9==null?void 0x0:_0x4c59e9[_0x441543(0x3af)])!=null?_0xa7c481:ht,_0x2e5543=await this['_socketService'][_0x441543(0x9a)](_0x50d174);return this['_candidateSocket']=_0x2e5543,_0x2e5543;}async[_0x50acdc(0x2e8)](){var _0x4d021b=_0x50acdc,_0x2339dc,_0xccf5e7;try{const _0x3974cc=(_0xccf5e7=(_0x2339dc=this[_0x4d021b(0x2d9)])!=null?_0x2339dc:this['_candidateSocket'])!=null?_0xccf5e7:await this[_0x4d021b(0x1b6)]();if(_0x3974cc){const _0x16949f=_0x3974cc[_0x4d021b(0x3eb)];_0x3974cc['send']=_0x18ffbc=>(this[_0x4d021b(0x166)](),_0x16949f['apply'](_0x3974cc,[_0x18ffbc])),_0x3974cc[_0x4d021b(0x265)][_0x4d021b(0x393)](_0x4ba1f1=>this['_onMessage'](_0x3974cc,_0x4ba1f1)),_0x3974cc['error$'][_0x4d021b(0x34b)](V['take'](0x1))['subscribe'](_0x585360=>this[_0x4d021b(0x164)]['error']('[CollaborationSessionService]:\x20socket\x20error',_0x585360)),_0x3974cc[_0x4d021b(0x2e1)][_0x4d021b(0x34b)](V[_0x4d021b(0x3ad)](0x1))['subscribe'](()=>{var _0x392985=_0x4d021b;this[_0x392985(0x171)](_0x3974cc);}),_0x3974cc['close$'][_0x4d021b(0x34b)](V[_0x4d021b(0x3ad)](0x1))[_0x4d021b(0x393)](_0x4cafae=>{var _0x330453=_0x4d021b;this[_0x330453(0x164)][_0x330453(0x286)](_0x330453(0x1aa),'socket\x20close',_0x4cafae),this[_0x330453(0x12a)]();});}}catch(_0x290ad7){this['_logService'][_0x4d021b(0x253)](_0x290ad7),this['_onConnectionFailed']();}}[_0x50acdc(0x171)](_0x30eb7c){var _0x41e096=_0x50acdc;this[_0x41e096(0x164)][_0x41e096(0x286)]('[CollaborationSessionService]',_0x41e096(0x14e)),_0x30eb7c[_0x41e096(0x3eb)]({'cmd':W[_0x41e096(0x254)]}),this[_0x41e096(0x166)]();}[_0x50acdc(0x323)](){var _0x328c6e=_0x50acdc;this['_socketReady']=!0x1,this[_0x328c6e(0x232)]=null,this['_status$']['next'](re[_0x328c6e(0x2dc)]),this[_0x328c6e(0x235)][_0x328c6e(0x30b)](null),this[_0x328c6e(0xed)](),this[_0x328c6e(0x2a7)]();}[_0x50acdc(0x12a)](){var _0xdc4a66=_0x50acdc,_0x3d3017;this[_0xdc4a66(0x323)](),this[_0xdc4a66(0x20d)]<((_0x3d3017=this[_0xdc4a66(0x7f)][_0xdc4a66(0x279)](ut))!=null?_0x3d3017:Mt)?(this[_0xdc4a66(0x22b)][_0xdc4a66(0xc2)]({'id':Z[_0xdc4a66(0x1bb)]}),this[_0xdc4a66(0x10d)]()):this['_collaborationUIEventService'][_0xdc4a66(0xc2)]({'id':Z['SOCKET_FAILED']});}[_0x50acdc(0x10d)](){var _0x1fd7e6=_0x50acdc,_0x95921d;const _0x438636=this[_0x1fd7e6(0x20d)],_0x1d9e33=this[_0x1fd7e6(0x7f)][_0x1fd7e6(0x279)](Y),_0x4d7f86=_0x438636===0x0?0x0:((_0x95921d=_0x1d9e33==null?void 0x0:_0x1d9e33[_0x1fd7e6(0x2b1)])!=null?_0x95921d:wt)*0x2**_0x438636;this[_0x1fd7e6(0x19e)]=setTimeout(()=>{var _0x52f5a5=_0x1fd7e6;clearTimeout(this[_0x52f5a5(0x19e)]),this[_0x52f5a5(0x19e)]=null,this[_0x52f5a5(0x2e8)]();},_0x4d7f86),this[_0x1fd7e6(0x20d)]+=0x1;}['_onMessage'](_0x14fa42,_0x21ea03){var _0xf2a658=_0x50acdc;const {cmd:_0x1fd9ba}=_0x21ea03;_0x1fd9ba===W['HELLO']&&!this['_socketReady']&&(_0x14fa42[_0xf2a658(0xd3)]=_0x21ea03[_0xf2a658(0x33e)]['memberID'],this[_0xf2a658(0x235)][_0xf2a658(0x30b)](_0x14fa42),this[_0xf2a658(0x223)][_0xf2a658(0x30b)](re[_0xf2a658(0x246)]),this[_0xf2a658(0x23d)]=!0x0,this['_candidateSocket']=null),_0x1fd9ba===W[_0xf2a658(0xaf)]&&this[_0xf2a658(0xed)](),this[_0xf2a658(0x166)]();}[_0x50acdc(0x166)](){var _0x16bd3a=_0x50acdc,_0x591608;this[_0x16bd3a(0x2a7)](),this[_0x16bd3a(0x3d3)]=setTimeout(()=>this['_sendHeartbeat'](),(_0x591608=this[_0x16bd3a(0x7f)][_0x16bd3a(0x279)](_t))!=null?_0x591608:Pt);}[_0x50acdc(0x22d)](){var _0x49606f=_0x50acdc;this['_socket'][_0x49606f(0x3eb)]({'cmd':W[_0x49606f(0xaf)]}),this[_0x49606f(0x161)]();}[_0x50acdc(0x161)](){var _0x1bdce0=_0x50acdc,_0x355d61;this[_0x1bdce0(0xa6)]=setTimeout(()=>this[_0x1bdce0(0x12a)](),(_0x355d61=this[_0x1bdce0(0x7f)][_0x1bdce0(0x279)](ke))!=null?_0x355d61:lt);}['_clearHeartbeatTimer'](){var _0x3e8b82=_0x50acdc;this[_0x3e8b82(0x3d3)]!=null&&(clearTimeout(this[_0x3e8b82(0x3d3)]),this[_0x3e8b82(0x3d3)]=null);}[_0x50acdc(0xed)](){var _0x2a2383=_0x50acdc;this[_0x2a2383(0xa6)]!=null&&(clearTimeout(this[_0x2a2383(0xa6)]),this[_0x2a2383(0xa6)]=null);}},exports[_0x50acdc(0x71)]=ci([he(0x0,a[_0x50acdc(0x93)](a[_0x50acdc(0x238)])),he(0x1,a['ILogService']),he(0x2,a[_0x50acdc(0xda)]),he(0x3,Fe),he(0x4,a['Inject'](ee)),he(0x5,a['Optional'](pt))],exports['CollaborationSessionService']);var hi=Object['getOwnPropertyDescriptor'],_i=(_0x51f4da,_0x51ae05,_0x2d3e32,_0x5681f1)=>{for(var _0x43bc16=_0x5681f1>0x1?void 0x0:_0x5681f1?hi(_0x51ae05,_0x2d3e32):_0x51ae05,_0x3477ec=_0x51f4da['length']-0x1,_0x510af2;_0x3477ec>=0x0;_0x3477ec--)(_0x510af2=_0x51f4da[_0x3477ec])&&(_0x43bc16=_0x510af2(_0x43bc16)||_0x43bc16);return _0x43bc16;},Se=(_0xcb9104,_0x1a25dc)=>(_0x4029ac,_0x45e1ab)=>_0x1a25dc(_0x4029ac,_0x45e1ab,_0xcb9104);exports[_0x50acdc(0x361)]=class extends a[_0x50acdc(0x1fa)]{constructor(_0x34bd8b,_0x9ea630,_0x135cd4,_0x28952b){var _0x27a0cd=_0x50acdc,_0x249aca;super(),A(this,_0x27a0cd(0x1d6),new Map()),A(this,_0x27a0cd(0x350),new H['Subject']()),A(this,_0x27a0cd(0x22a),this[_0x27a0cd(0x350)][_0x27a0cd(0x1c8)]()),(this[_0x27a0cd(0xf3)]=_0x34bd8b,this[_0x27a0cd(0x32c)]=_0x9ea630,this['_configService']=_0x135cd4,this['_univerInstanceService']=_0x28952b,((_0x249aca=this[_0x27a0cd(0x7f)][_0x27a0cd(0x279)](Y))==null?void 0x0:_0x249aca['enableCollaboration'])!==!0x1&&this[_0x27a0cd(0x1c0)]());}['dispose'](){var _0x1dd3ca=_0x50acdc;super[_0x1dd3ca(0xdd)](),this['_entities']['forEach'](_0xee5345=>_0xee5345[_0x1dd3ca(0xdd)]()),this[_0x1dd3ca(0x1d6)][_0x1dd3ca(0x201)]();}['getCollabEntity'](_0x38916c){var _0x36316d=_0x50acdc,_0x2e82cf;return(_0x2e82cf=this['_entities'][_0x36316d(0x230)](_0x38916c))!=null?_0x2e82cf:null;}['getCollabEntity$'](_0x44abf1){var _0x3a92db=_0x50acdc;const _0x5e524b=this['getCollabEntity'](_0x44abf1);return _0x5e524b?H['of'](_0x5e524b):this['_entityInit$'][_0x3a92db(0x34b)](V[_0x3a92db(0x372)](_0x40e8d3=>_0x40e8d3[_0x3a92db(0xc1)]===_0x44abf1));}[_0x50acdc(0x99)](_0x3feb13){var _0x358ec9=_0x50acdc;return H[_0x358ec9(0x13a)](this[_0x358ec9(0x1b9)](_0x3feb13)['pipe'](V['map'](()=>{})));}['_init'](){var _0x25a39f=_0x50acdc;this[_0x25a39f(0x1d5)][_0x25a39f(0x27e)](a['UniverInstanceType'][_0x25a39f(0x2f3)])[_0x25a39f(0x34b)](H['takeUntil'](this[_0x25a39f(0x1a5)]),V['delay'](0x10))[_0x25a39f(0x393)](async _0x5a3456=>{var _0x2d3cd0=_0x25a39f;const _0x5279d3=_0x5a3456[_0x2d3cd0(0xc5)](),_0x300aee=await this[_0x2d3cd0(0x118)](_0x5279d3,J[_0x2d3cd0(0x2f3)]);this[_0x2d3cd0(0x1d6)][_0x2d3cd0(0x19b)](_0x5279d3,_0x300aee);}),this['_univerInstanceService'][_0x25a39f(0x27e)](a[_0x25a39f(0x2cf)][_0x25a39f(0x1c5)])['pipe'](H[_0x25a39f(0x2bf)](this[_0x25a39f(0x1a5)]),V['delay'](0x10))['pipe'](V['filter'](_0xb984c6=>!_0xb984c6[_0x25a39f(0xc5)]()[_0x25a39f(0x154)]('__')))[_0x25a39f(0x393)](async _0x45df13=>{var _0xd1fd7b=_0x25a39f;const _0x23cf4b=_0x45df13['getUnitId'](),_0x49258d=await this[_0xd1fd7b(0x118)](_0x23cf4b,J[_0xd1fd7b(0x1c5)]);this[_0xd1fd7b(0x1d6)][_0xd1fd7b(0x19b)](_0x23cf4b,_0x49258d);}),H[_0x25a39f(0x27b)](this[_0x25a39f(0x1d5)][_0x25a39f(0x28a)](a[_0x25a39f(0x2cf)]['UNIVER_SHEET']),this[_0x25a39f(0x1d5)][_0x25a39f(0x28a)](a[_0x25a39f(0x2cf)][_0x25a39f(0x1c5)]))[_0x25a39f(0x34b)](H[_0x25a39f(0x2bf)](this[_0x25a39f(0x1a5)]))[_0x25a39f(0x393)](_0x55c35c=>{var _0x4df973=_0x25a39f;const _0x5f0a98=_0x55c35c[_0x4df973(0xc5)](),_0x1ab903=this[_0x4df973(0x1d6)][_0x4df973(0x230)](_0x5f0a98);_0x1ab903&&(_0x1ab903['dispose'](),this[_0x4df973(0x1d6)][_0x4df973(0x38a)](_0x5f0a98));});}async['_startCollaboration'](_0x16b2c4,_0x46fbab){var _0xd66db3=_0x50acdc;const _0x530ad3=await this['_collabSessionService'][_0xd66db3(0x2b6)](_0x16b2c4),_0x238f15=this[_0xd66db3(0xf3)]['createInstance'](this[_0xd66db3(0x240)](_0x46fbab),_0x16b2c4,_0x46fbab,_0x530ad3);return await _0x238f15['init'](),this[_0xd66db3(0x350)]['next'](_0x238f15),_0x238f15;}[_0x50acdc(0x240)](_0x37a14e){var _0xb0a5e1=_0x50acdc;switch(_0x37a14e){case J['UNIVER_DOC']:return exports[_0xb0a5e1(0x381)];case J[_0xb0a5e1(0x2f3)]:return exports[_0xb0a5e1(0x241)];default:throw new Error(_0xb0a5e1(0x3c5)+_0x37a14e);}}},exports[_0x50acdc(0x361)]=_i([Se(0x0,a[_0x50acdc(0x93)](a['Injector'])),Se(0x1,a[_0x50acdc(0x93)](exports[_0x50acdc(0x71)])),Se(0x2,a[_0x50acdc(0xda)]),Se(0x3,a[_0x50acdc(0xa5)])],exports[_0x50acdc(0x361)]);var li=Object[_0x50acdc(0x1c4)],ui=(_0x26caa4,_0x462b2c,_0x478d35,_0x5c973e)=>{var _0x82b480=_0x50acdc;for(var _0x1adc33=_0x5c973e>0x1?void 0x0:_0x5c973e?li(_0x462b2c,_0x478d35):_0x462b2c,_0x115348=_0x26caa4[_0x82b480(0x31b)]-0x1,_0x30e31a;_0x115348>=0x0;_0x115348--)(_0x30e31a=_0x26caa4[_0x115348])&&(_0x1adc33=_0x30e31a(_0x1adc33)||_0x1adc33);return _0x1adc33;},Ye=(_0x1aa5fc,_0x35cb2b)=>(_0x46a8c9,_0x2f07f8)=>_0x35cb2b(_0x46a8c9,_0x2f07f8,_0x1aa5fc);const di=_0x50acdc(0x123),vi=_0x50acdc(0x3ab);let xe=class extends a[_0x50acdc(0x182)]{constructor(_0x3b24fc,_0x4b6d1a){var _0x45cbe8=_0x50acdc;super(),this[_0x45cbe8(0x1d5)]=_0x3b24fc,this[_0x45cbe8(0x7f)]=_0x4b6d1a,this[_0x45cbe8(0x1c0)]();}['_init'](){var _0x467862=_0x50acdc;this['disposeWithMe'](this[_0x467862(0x1d5)][_0x467862(0x2bb)][_0x467862(0x393)](()=>{var _0x23d2e6=_0x467862,_0x2f6d34;const _0xa68e62=this[_0x23d2e6(0x1d5)]['getFocusedUnit']();let _0xe341d2=(_0x2f6d34=this[_0x23d2e6(0x7f)][_0x23d2e6(0x279)](di))!=null?_0x2f6d34:vi;_0xa68e62 instanceof a['Workbook']&&(_0xe341d2=_0xa68e62[_0x23d2e6(0x270)]),document['title']=_0xe341d2;}));}};xe=ui([Ye(0x0,a[_0x50acdc(0xa5)]),Ye(0x1,a[_0x50acdc(0xda)])],xe);var Si=Object[_0x50acdc(0x1c4)],fi=(_0x47e27d,_0x280963,_0x160585,_0xcce681)=>{var _0x36df8e=_0x50acdc;for(var _0x515e8b=_0xcce681>0x1?void 0x0:_0xcce681?Si(_0x280963,_0x160585):_0x280963,_0x52ae29=_0x47e27d[_0x36df8e(0x31b)]-0x1,_0x24c383;_0x52ae29>=0x0;_0x52ae29--)(_0x24c383=_0x47e27d[_0x52ae29])&&(_0x515e8b=_0x24c383(_0x515e8b)||_0x515e8b);return _0x515e8b;},Ae=(_0x53e218,_0x3db14f)=>(_0x3b1451,_0x214fe7)=>_0x3db14f(_0x3b1451,_0x214fe7,_0x53e218);let ye=class{constructor(_0x4cbe88,_0x276638,_0x484556){var _0x207161=_0x50acdc;this[_0x207161(0x7f)]=_0x4cbe88,this['_httpService']=_0x276638,this[_0x207161(0x151)]=_0x484556,this[_0x207161(0x132)]();}['init'](){var _0x23bf2c=_0x50acdc;this['_httpService'][_0x23bf2c(0x377)]({'priority':0x1,'interceptor':(_0x257da7,_0x75f384)=>_0x75f384(_0x257da7)[_0x23bf2c(0x34b)](H[_0x23bf2c(0x3da)](async _0x552fb1=>{var _0x39a63f=_0x23bf2c;const _0x356d96=_0x552fb1;if(_0x356d96[_0x39a63f(0x28c)]===0x191){if(typeof window>'u')throw new Error(_0x39a63f(0x133));if(window[_0x39a63f(0x111)](this[_0x39a63f(0x151)]['t'](_0x39a63f(0x25c)))){const _0x28b27a=window[_0x39a63f(0x385)](window[_0x39a63f(0x119)][_0x39a63f(0xbe)]);window['location'][_0x39a63f(0xbe)]=this['_getLoginPath']()+_0x39a63f(0x249)+_0x28b27a;}}return _0x356d96;}))});}[_0x50acdc(0x184)](){var _0x26057f=_0x50acdc,_0x2df9e0;const _0x434723=this[_0x26057f(0x7f)][_0x26057f(0x279)](Y);return(_0x2df9e0=_0x434723==null?void 0x0:_0x434723[_0x26057f(0x30c)])!=null?_0x2df9e0:$t;}};ye=fi([Ae(0x0,a[_0x50acdc(0xda)]),Ae(0x1,a[_0x50acdc(0x93)](q[_0x50acdc(0x2eb)])),Ae(0x2,a['Inject'](a[_0x50acdc(0x217)]))],ye);var Ii=Object['getOwnPropertyDescriptor'],pi=(_0x3822a8,_0x372c84,_0x433070,_0x5e49aa)=>{var _0x24d858=_0x50acdc;for(var _0x5ab3d2=_0x5e49aa>0x1?void 0x0:_0x5e49aa?Ii(_0x372c84,_0x433070):_0x372c84,_0x296758=_0x3822a8[_0x24d858(0x31b)]-0x1,_0x330e5b;_0x296758>=0x0;_0x296758--)(_0x330e5b=_0x3822a8[_0x296758])&&(_0x5ab3d2=_0x330e5b(_0x5ab3d2)||_0x5ab3d2);return _0x5ab3d2;},qe=(_0x1cc5e1,_0x518b5f)=>(_0x1c5933,_0x119548)=>_0x518b5f(_0x1c5933,_0x119548,_0x1cc5e1);const mi=_0x50acdc(0x97);exports[_0x50acdc(0x225)]=class extends a['Disposable']{constructor(_0x563956,_0x21a703){var _0x5ffedf=_0x50acdc;super(),this['_HTTPService']=_0x563956,this[_0x5ffedf(0x7f)]=_0x21a703,this[_0x5ffedf(0xa4)]();}[_0x50acdc(0xa4)](){var _0x431c22=_0x50acdc;const _0x114ccc=this;this[_0x431c22(0x2bc)](this[_0x431c22(0x35c)][_0x431c22(0x377)]({'priority':0x3e7,'interceptor':q[_0x431c22(0xd2)]({'isMatch'(_0x3b3789){var _0x514f2d=_0x431c22,_0x2bc51a;if(_0x3b3789[_0x514f2d(0xe5)]===_0x514f2d(0x3d1)&&((_0x2bc51a=_0x3b3789[_0x514f2d(0x169)])!=null&&_0x2bc51a[_0x514f2d(0x3cb)])){const {objectID:_0x37629c,objectType:_0x2ecee9}=_0x3b3789[_0x514f2d(0x169)][_0x514f2d(0x3cb)]||{};if(!_0x37629c||_0x2ecee9===void 0x0)return!0x1;const _0x4f6b57=_0x114ccc[_0x514f2d(0x117)]()+'/'+_0x2ecee9+_0x514f2d(0x21b)+_0x37629c+_0x514f2d(0xd7);if(_0x3b3789['url']===_0x4f6b57)return!0x0;}return!0x1;},'getParamsFromRequest'(_0x3d94b9){var _0x4980ea=_0x431c22,_0x16d8a5;return(_0x16d8a5=_0x3d94b9[_0x4980ea(0x169)])==null?void 0x0:_0x16d8a5[_0x4980ea(0x3cb)];},'mergeParamsToRequest'(_0x2be0d4,_0x161aad){var _0x14920c=_0x431c22;const _0xb84eb3=_0x114ccc[_0x14920c(0x117)]()+_0x14920c(0x3dc),_0x3658dd=_0x2be0d4[_0x14920c(0x282)]((_0x33b80b,_0x544762)=>{var _0x47a055=_0x14920c;const {unitID:_0x28c807,objectID:_0x40650f,objectType:_0x55e37d,actions:_0x52a811}=_0x544762;return _0x33b80b[_0x28c807]||(_0x33b80b[_0x28c807]={}),_0x33b80b[_0x28c807][_0x40650f]||(_0x33b80b[_0x28c807][_0x40650f]={'objectID':_0x40650f,'objectType':_0x55e37d,'actions':[]}),_0x33b80b[_0x28c807][_0x40650f][_0x47a055(0x2a0)][_0x47a055(0x3a3)](..._0x52a811),_0x33b80b;},{}),_0x30d200=[];for(const _0x179896 in _0x3658dd)for(const _0x96d4ec in _0x3658dd[_0x179896]){const {actions:_0x4ff8bf,objectType:_0xdc018b}=_0x3658dd[_0x179896][_0x96d4ec],_0x55b272=[...new Set(_0x4ff8bf)];_0x30d200[_0x14920c(0x3a3)]({'unitID':_0x179896,'objectID':_0x96d4ec,'objectType':_0xdc018b,'actions':_0x55b272});}return new q['HTTPRequest'](_0x14920c(0x3d1),_0xb84eb3,{'headers':_0x161aad[_0x14920c(0x10b)],'withCredentials':_0x161aad[_0x14920c(0x396)],'responseType':_0x161aad[_0x14920c(0x194)],'body':{'requests':_0x30d200}});}},{'distributeResult'(_0x27483c,_0x1c311b){var _0x364223=_0x431c22;const {objectActions:_0x7cdb6b}=_0x27483c;return _0x1c311b[_0x364223(0x2cc)](_0x1cd7c9=>{var _0x14eb4c=_0x364223;const {unitID:_0x1c7ac9,objectID:_0x55e2f2,actions:_0x163094}=_0x1cd7c9,_0x5b8806=_0x7cdb6b[_0x14eb4c(0x375)](_0x255d81=>_0x255d81['unitID']===_0x1c7ac9&&_0x255d81[_0x14eb4c(0x11e)]===_0x55e2f2),_0x33581c=_0x163094[_0x14eb4c(0x2cc)](_0x243e91=>_0x5b8806==null?void 0x0:_0x5b8806['actions'][_0x14eb4c(0x375)](_0x275525=>_0x275525['action']===_0x243e91))[_0x14eb4c(0x372)](_0x464dbd=>!!_0x464dbd);return{'config':_0x1cd7c9,'result':{'actions':_0x33581c,'error':_0x27483c['error']}};});}})}));}[_0x50acdc(0x117)](){var _0x4c218f=_0x50acdc,_0x1c7e3c;const _0x4af2cd=this[_0x4c218f(0x7f)][_0x4c218f(0x279)](Y);return(_0x1c7e3c=_0x4af2cd==null?void 0x0:_0x4af2cd[_0x4c218f(0x399)])!=null?_0x1c7e3c:mi;}async['create'](_0xc2cbc5){var _0x3a4aea=_0x50acdc;const _0x2e3f4f=this['_getAPIPrefixPath']()+'/'+_0xc2cbc5['objectType']+_0x3a4aea(0x2e3);return(await this[_0x3a4aea(0x35c)][_0x3a4aea(0x288)](_0x2e3f4f,{'body':_0xc2cbc5}))[_0x3a4aea(0x3cb)][_0x3a4aea(0x11e)]||'';}async[_0x50acdc(0x31e)](_0x1006b1){var _0x32f05f=_0x50acdc;const _0x33dec6=this[_0x32f05f(0x117)]()+_0x32f05f(0x34e);return(await this[_0x32f05f(0x35c)]['post'](_0x33dec6,{'body':_0x1006b1}))['body'][_0x32f05f(0x109)];}async[_0x50acdc(0xc4)](_0x354163){var _0x47e7e4=_0x50acdc,_0x20a58d,_0x1a1bbb;const _0x1e70b4=this[_0x47e7e4(0x117)]()+'/'+_0x354163['objectType']+_0x47e7e4(0x21b)+_0x354163[_0x47e7e4(0x11e)],_0x27b09e=await this[_0x47e7e4(0x35c)]['put'](_0x1e70b4,{'body':_0x354163});if(((_0x1a1bbb=(_0x20a58d=_0x27b09e==null?void 0x0:_0x27b09e['body'])==null?void 0x0:_0x20a58d[_0x47e7e4(0x253)])==null?void 0x0:_0x1a1bbb[_0x47e7e4(0x156)])!==0x1)throw new Error(_0x47e7e4(0xde));}async[_0x50acdc(0x274)](_0x2a174b){var _0x204a25=_0x50acdc;const _0x54e54c=this[_0x204a25(0x117)]()+'/'+_0x2a174b[_0x204a25(0xf2)]+_0x204a25(0x21b)+_0x2a174b[_0x204a25(0x11e)]+_0x204a25(0xd7);return(await this[_0x204a25(0x35c)]['post'](_0x54e54c,{'body':_0x2a174b}))[_0x204a25(0x3cb)][_0x204a25(0x2a0)];}async[_0x50acdc(0x33b)](_0x36791a){var _0x7a66a3=_0x50acdc;const _0x4ed5d2=this[_0x7a66a3(0x117)]()+_0x7a66a3(0x3dc);return(await this[_0x7a66a3(0x35c)][_0x7a66a3(0x288)](_0x4ed5d2,{'body':{'requests':_0x36791a}}))[_0x7a66a3(0x3cb)][_0x7a66a3(0x1be)];}async['listRoles'](_0x167b0f){var _0x4763fe=_0x50acdc;const _0x3ea2af=this[_0x4763fe(0x117)]()+'/'+_0x167b0f[_0x4763fe(0xf2)]+_0x4763fe(0x2f8),_0x15d1f1=await this[_0x4763fe(0x35c)]['post'](_0x3ea2af,{'body':_0x167b0f});return{'roles':_0x15d1f1['body'][_0x4763fe(0x1a2)],'actions':_0x15d1f1[_0x4763fe(0x3cb)][_0x4763fe(0x2a0)]};}async[_0x50acdc(0x2a6)](_0x468b00){var _0x189a15=_0x50acdc;const _0x492580=this[_0x189a15(0x117)]()+'/collaborator';await this[_0x189a15(0x35c)][_0x189a15(0x38a)](_0x492580,{'params':{'collaboratorID':_0x468b00[_0x189a15(0x383)],'objectID':_0x468b00[_0x189a15(0x11e)],'unitID':_0x468b00['unitID']}});}async[_0x50acdc(0x3a7)](_0x85cefb){var _0x1d79e9=_0x50acdc;const _0x2299ab=this[_0x1d79e9(0x117)]()+_0x1d79e9(0x332);await this['_HTTPService'][_0x1d79e9(0xb9)](_0x2299ab,{'body':_0x85cefb});}async['createCollaborator'](_0x58eb87){var _0xce0a39=_0x50acdc;const _0x520363=this[_0xce0a39(0x117)]()+_0xce0a39(0x332);await this[_0xce0a39(0x35c)][_0xce0a39(0x288)](_0x520363,{'body':_0x58eb87});}async[_0x50acdc(0x1e6)](_0x2f8954){var _0x5b129c=_0x50acdc;const _0x50a364=this[_0x5b129c(0x117)]()+'/collaborator';return(await this[_0x5b129c(0x35c)][_0x5b129c(0x230)](_0x50a364,{'params':{'objectID':_0x2f8954[_0x5b129c(0x11e)],'unitID':_0x2f8954['unitID']}}))['body'][_0x5b129c(0xb1)];}async['putCollaborators'](_0x4f3641){var _0x350ebb=_0x50acdc;const _0x3fbce6=this[_0x350ebb(0x117)]()+_0x350ebb(0x332);await this[_0x350ebb(0x35c)][_0x350ebb(0x3e2)](_0x3fbce6,{'body':_0x4f3641});}},exports[_0x50acdc(0x225)]=pi([qe(0x0,a[_0x50acdc(0x93)](q[_0x50acdc(0x2eb)])),qe(0x1,a[_0x50acdc(0x93)](a['IConfigService']))],exports[_0x50acdc(0x225)]);var Pe=typeof globalThis<'u'?globalThis:typeof window<'u'?window:typeof global<'u'?global:typeof self<'u'?self:{};function ve(_0x4953f3){var _0x151876=_0x50acdc;return _0x4953f3&&_0x4953f3[_0x151876(0x1c3)]&&Object['prototype'][_0x151876(0xaa)][_0x151876(0x2ac)](_0x4953f3,_0x151876(0x346))?_0x4953f3[_0x151876(0x346)]:_0x4953f3;}var fe={'exports':{}};function gi(_0x4d2a0a){var _0x308248=_0x50acdc;throw new Error(_0x308248(0x1a7)+_0x4d2a0a+'\x22.\x20Please\x20configure\x20the\x20dynamicRequireTargets\x20or/and\x20ignoreDynamicRequires\x20option\x20of\x20@rollup/plugin-commonjs\x20appropriately\x20for\x20this\x20require\x20call\x20to\x20work.');}var Ie={'exports':{}},Ei=Ie[_0x50acdc(0x211)],Ke;function Q(){var _0x508267=_0x50acdc;return Ke||(Ke=0x1,function(_0x320101,_0xa6d1e0){(function(_0x5d5518,_0x15db22){var _0x36a09c=_0x5520;_0x320101[_0x36a09c(0x211)]=_0x15db22();}(Ei,function(){var _0x291778=_0x291778||function(_0x5347bd,_0x11c402){var _0x184894=_0x5520,_0x1ebb8a;if(typeof window<'u'&&window[_0x184894(0x2e0)]&&(_0x1ebb8a=window[_0x184894(0x2e0)]),typeof self<'u'&&self[_0x184894(0x2e0)]&&(_0x1ebb8a=self[_0x184894(0x2e0)]),typeof globalThis<'u'&&globalThis[_0x184894(0x2e0)]&&(_0x1ebb8a=globalThis[_0x184894(0x2e0)]),!_0x1ebb8a&&typeof window<'u'&&window[_0x184894(0x181)]&&(_0x1ebb8a=window[_0x184894(0x181)]),!_0x1ebb8a&&typeof Pe<'u'&&Pe[_0x184894(0x2e0)]&&(_0x1ebb8a=Pe[_0x184894(0x2e0)]),!_0x1ebb8a&&typeof gi==_0x184894(0x2e9))try{_0x1ebb8a=require('crypto');}catch{}var _0x7aa999=function(){var _0x474400=_0x184894;if(_0x1ebb8a){if(typeof _0x1ebb8a['getRandomValues']==_0x474400(0x2e9))try{return _0x1ebb8a[_0x474400(0xd1)](new Uint32Array(0x1))[0x0];}catch{}if(typeof _0x1ebb8a[_0x474400(0x2ce)]==_0x474400(0x2e9))try{return _0x1ebb8a[_0x474400(0x2ce)](0x4)['readInt32LE']();}catch{}}throw new Error(_0x474400(0x192));},_0x56642a=Object['create']||(function(){function _0x46840f(){}return function(_0x24b179){var _0x2e90f1=_0x5520,_0x37ee28;return _0x46840f[_0x2e90f1(0x2a3)]=_0x24b179,_0x37ee28=new _0x46840f(),_0x46840f[_0x2e90f1(0x2a3)]=null,_0x37ee28;};}()),_0x3671c3={},_0x3f8948=_0x3671c3[_0x184894(0x101)]={},_0xf9680=_0x3f8948['Base']=(function(){return{'extend':function(_0x2c6184){var _0x418436=_0x5520,_0x123df5=_0x56642a(this);return _0x2c6184&&_0x123df5['mixIn'](_0x2c6184),(!_0x123df5[_0x418436(0xaa)](_0x418436(0x132))||this[_0x418436(0x132)]===_0x123df5[_0x418436(0x132)])&&(_0x123df5[_0x418436(0x132)]=function(){var _0x546a1f=_0x418436;_0x123df5[_0x546a1f(0x3d2)]['init'][_0x546a1f(0x303)](this,arguments);}),_0x123df5[_0x418436(0x132)][_0x418436(0x2a3)]=_0x123df5,_0x123df5[_0x418436(0x3d2)]=this,_0x123df5;},'create':function(){var _0x406d0a=_0x5520,_0x108c85=this['extend']();return _0x108c85[_0x406d0a(0x132)][_0x406d0a(0x303)](_0x108c85,arguments),_0x108c85;},'init':function(){},'mixIn':function(_0x2d7555){var _0x313f31=_0x5520;for(var _0x323f3d in _0x2d7555)_0x2d7555[_0x313f31(0xaa)](_0x323f3d)&&(this[_0x323f3d]=_0x2d7555[_0x323f3d]);_0x2d7555['hasOwnProperty']('toString')&&(this['toString']=_0x2d7555[_0x313f31(0x147)]);},'clone':function(){var _0x14bd0=_0x5520;return this[_0x14bd0(0x132)][_0x14bd0(0x2a3)][_0x14bd0(0x334)](this);}};}()),_0x36e8df=_0x3f8948[_0x184894(0x2b5)]=_0xf9680[_0x184894(0x334)]({'init':function(_0x46172b,_0x201042){var _0x1191e7=_0x184894;_0x46172b=this['words']=_0x46172b||[],_0x201042!=_0x11c402?this['sigBytes']=_0x201042:this[_0x1191e7(0x13e)]=_0x46172b[_0x1191e7(0x31b)]*0x4;},'toString':function(_0x5446ab){var _0x400376=_0x184894;return(_0x5446ab||_0x4711ce)[_0x400376(0x8b)](this);},'concat':function(_0x421c4c){var _0x3696cb=_0x184894,_0x5b9dc1=this[_0x3696cb(0xe4)],_0x49167f=_0x421c4c[_0x3696cb(0xe4)],_0x2ab141=this[_0x3696cb(0x13e)],_0x47a886=_0x421c4c['sigBytes'];if(this[_0x3696cb(0x3bb)](),_0x2ab141%0x4)for(var _0x5626f8=0x0;_0x5626f8<_0x47a886;_0x5626f8++){var _0x26141d=_0x49167f[_0x5626f8>>>0x2]>>>0x18-_0x5626f8%0x4*0x8&0xff;_0x5b9dc1[_0x2ab141+_0x5626f8>>>0x2]|=_0x26141d<<0x18-(_0x2ab141+_0x5626f8)%0x4*0x8;}else{for(var _0x51b609=0x0;_0x51b609<_0x47a886;_0x51b609+=0x4)_0x5b9dc1[_0x2ab141+_0x51b609>>>0x2]=_0x49167f[_0x51b609>>>0x2];}return this[_0x3696cb(0x13e)]+=_0x47a886,this;},'clamp':function(){var _0x2f1edc=_0x184894,_0x454bd7=this['words'],_0x526506=this[_0x2f1edc(0x13e)];_0x454bd7[_0x526506>>>0x2]&=0xffffffff<<0x20-_0x526506%0x4*0x8,_0x454bd7['length']=_0x5347bd[_0x2f1edc(0x177)](_0x526506/0x4);},'clone':function(){var _0x483b17=_0x184894,_0x34ba8a=_0xf9680[_0x483b17(0x128)]['call'](this);return _0x34ba8a[_0x483b17(0xe4)]=this[_0x483b17(0xe4)][_0x483b17(0x2ef)](0x0),_0x34ba8a;},'random':function(_0x1a0ae1){var _0x1cd7ed=_0x184894;for(var _0xe7ae2d=[],_0x20f019=0x0;_0x20f019<_0x1a0ae1;_0x20f019+=0x4)_0xe7ae2d[_0x1cd7ed(0x3a3)](_0x7aa999());return new _0x36e8df[(_0x1cd7ed(0x132))](_0xe7ae2d,_0x1a0ae1);}}),_0x31beb4=_0x3671c3['enc']={},_0x4711ce=_0x31beb4[_0x184894(0x78)]={'stringify':function(_0x29a365){var _0x198f91=_0x184894;for(var _0x5242b7=_0x29a365[_0x198f91(0xe4)],_0xec4a79=_0x29a365[_0x198f91(0x13e)],_0x13e36f=[],_0x54c45e=0x0;_0x54c45e<_0xec4a79;_0x54c45e++){var _0x6a78c1=_0x5242b7[_0x54c45e>>>0x2]>>>0x18-_0x54c45e%0x4*0x8&0xff;_0x13e36f[_0x198f91(0x3a3)]((_0x6a78c1>>>0x4)[_0x198f91(0x147)](0x10)),_0x13e36f['push']((_0x6a78c1&0xf)['toString'](0x10));}return _0x13e36f['join']('');},'parse':function(_0x1b054c){var _0x14cb80=_0x184894;for(var _0x21887a=_0x1b054c[_0x14cb80(0x31b)],_0x59fd4e=[],_0x484a66=0x0;_0x484a66<_0x21887a;_0x484a66+=0x2)_0x59fd4e[_0x484a66>>>0x3]|=parseInt(_0x1b054c['substr'](_0x484a66,0x2),0x10)<<0x18-_0x484a66%0x8*0x4;return new _0x36e8df[(_0x14cb80(0x132))](_0x59fd4e,_0x21887a/0x2);}},_0x6bf21e=_0x31beb4[_0x184894(0x378)]={'stringify':function(_0x3deb96){var _0xb204=_0x184894;for(var _0x5c043c=_0x3deb96[_0xb204(0xe4)],_0x146dcf=_0x3deb96['sigBytes'],_0x3736e5=[],_0x59f582=0x0;_0x59f582<_0x146dcf;_0x59f582++){var _0x43e8b2=_0x5c043c[_0x59f582>>>0x2]>>>0x18-_0x59f582%0x4*0x8&0xff;_0x3736e5[_0xb204(0x3a3)](String['fromCharCode'](_0x43e8b2));}return _0x3736e5[_0xb204(0x1ee)]('');},'parse':function(_0x3aaf2b){var _0x563f97=_0x184894;for(var _0x347ab7=_0x3aaf2b[_0x563f97(0x31b)],_0x4683fd=[],_0xd46b9d=0x0;_0xd46b9d<_0x347ab7;_0xd46b9d++)_0x4683fd[_0xd46b9d>>>0x2]|=(_0x3aaf2b[_0x563f97(0x94)](_0xd46b9d)&0xff)<<0x18-_0xd46b9d%0x4*0x8;return new _0x36e8df[(_0x563f97(0x132))](_0x4683fd,_0x347ab7);}},_0xde5fc9=_0x31beb4[_0x184894(0x30d)]={'stringify':function(_0x223f7e){var _0x5bc90f=_0x184894;try{return decodeURIComponent(escape(_0x6bf21e[_0x5bc90f(0x8b)](_0x223f7e)));}catch{throw new Error('Malformed\x20UTF-8\x20data');}},'parse':function(_0x40b757){return _0x6bf21e['parse'](unescape(encodeURIComponent(_0x40b757)));}},_0x3ea407=_0x3f8948[_0x184894(0x305)]=_0xf9680[_0x184894(0x334)]({'reset':function(){var _0x5eb5ef=_0x184894;this[_0x5eb5ef(0x1f9)]=new _0x36e8df[(_0x5eb5ef(0x132))](),this[_0x5eb5ef(0xea)]=0x0;},'_append':function(_0x5e2451){var _0x5ae214=_0x184894;typeof _0x5e2451==_0x5ae214(0x102)&&(_0x5e2451=_0xde5fc9[_0x5ae214(0x39d)](_0x5e2451)),this[_0x5ae214(0x1f9)]['concat'](_0x5e2451),this[_0x5ae214(0xea)]+=_0x5e2451['sigBytes'];},'_process':function(_0x384a2b){var _0x1643d0=_0x184894,_0x1520ea,_0x2c963c=this[_0x1643d0(0x1f9)],_0x190825=_0x2c963c[_0x1643d0(0xe4)],_0x2af466=_0x2c963c[_0x1643d0(0x13e)],_0x27042e=this[_0x1643d0(0x127)],_0x46e482=_0x27042e*0x4,_0x37b21e=_0x2af466/_0x46e482;_0x384a2b?_0x37b21e=_0x5347bd[_0x1643d0(0x177)](_0x37b21e):_0x37b21e=_0x5347bd[_0x1643d0(0x340)]((_0x37b21e|0x0)-this[_0x1643d0(0x256)],0x0);var _0x1b3625=_0x37b21e*_0x27042e,_0x525bbf=_0x5347bd[_0x1643d0(0xbd)](_0x1b3625*0x4,_0x2af466);if(_0x1b3625){for(var _0x5d3659=0x0;_0x5d3659<_0x1b3625;_0x5d3659+=_0x27042e)this[_0x1643d0(0xfd)](_0x190825,_0x5d3659);_0x1520ea=_0x190825['splice'](0x0,_0x1b3625),_0x2c963c[_0x1643d0(0x13e)]-=_0x525bbf;}return new _0x36e8df['init'](_0x1520ea,_0x525bbf);},'clone':function(){var _0x3e562f=_0x184894,_0x3bd246=_0xf9680[_0x3e562f(0x128)][_0x3e562f(0x2ac)](this);return _0x3bd246[_0x3e562f(0x1f9)]=this[_0x3e562f(0x1f9)]['clone'](),_0x3bd246;},'_minBufferSize':0x0});_0x3f8948['Hasher']=_0x3ea407[_0x184894(0x334)]({'cfg':_0xf9680[_0x184894(0x334)](),'init':function(_0x59da7a){var _0x5b001d=_0x184894;this[_0x5b001d(0x8a)]=this['cfg'][_0x5b001d(0x334)](_0x59da7a),this[_0x5b001d(0x29e)]();},'reset':function(){var _0x8fc1a1=_0x184894;_0x3ea407['reset'][_0x8fc1a1(0x2ac)](this),this[_0x8fc1a1(0x31d)]();},'update':function(_0x155736){var _0x47c8c4=_0x184894;return this['_append'](_0x155736),this[_0x47c8c4(0x146)](),this;},'finalize':function(_0x1a0536){var _0x1dd05b=_0x184894;_0x1a0536&&this['_append'](_0x1a0536);var _0x4bc8af=this[_0x1dd05b(0x2fd)]();return _0x4bc8af;},'blockSize':0x10,'_createHelper':function(_0x2cd7c9){return function(_0x17e206,_0x5b9496){var _0x55264d=_0x5520;return new _0x2cd7c9[(_0x55264d(0x132))](_0x5b9496)[_0x55264d(0x314)](_0x17e206);};},'_createHmacHelper':function(_0x2ca898){return function(_0x597f8e,_0x49ac58){var _0x592985=_0x5520;return new _0x56a8a3['HMAC'][(_0x592985(0x132))](_0x2ca898,_0x49ac58)[_0x592985(0x314)](_0x597f8e);};}});var _0x56a8a3=_0x3671c3['algo']={};return _0x3671c3;}(Math);return _0x291778;}));}(Ie)),Ie[_0x508267(0x211)];}function _0x5520(_0xe4167e,_0x5a2855){var _0x3a8553=_0x3a85();return _0x5520=function(_0x552005,_0x385563){_0x552005=_0x552005-0x6c;var _0x5df63e=_0x3a8553[_0x552005];return _0x5df63e;},_0x5520(_0xe4167e,_0x5a2855);}var pe={'exports':{}},Ci=pe[_0x50acdc(0x211)],ze;function Et(){var _0x598f35=_0x50acdc;return ze||(ze=0x1,function(_0x3b79a6,_0x5261ab){(function(_0x21cca1,_0x58fd34){var _0x482402=_0x5520;_0x3b79a6[_0x482402(0x211)]=_0x58fd34(Q());}(Ci,function(_0x5b72f3){var _0x28ef6b=_0x5520;return(function(){var _0x20c26e=_0x5520,_0x3556e8=_0x5b72f3,_0x43bb63=_0x3556e8[_0x20c26e(0x101)],_0x3eb882=_0x43bb63[_0x20c26e(0x2b5)],_0x4289ab=_0x3556e8[_0x20c26e(0x29a)];_0x4289ab[_0x20c26e(0x215)]={'stringify':function(_0x27d751){var _0x239fe=_0x20c26e,_0x571f8f=_0x27d751['words'],_0x59011=_0x27d751['sigBytes'],_0x479a78=this['_map'];_0x27d751['clamp']();for(var _0x6a1ca=[],_0x2b8d7e=0x0;_0x2b8d7e<_0x59011;_0x2b8d7e+=0x3)for(var _0xe4c244=_0x571f8f[_0x2b8d7e>>>0x2]>>>0x18-_0x2b8d7e%0x4*0x8&0xff,_0x38820d=_0x571f8f[_0x2b8d7e+0x1>>>0x2]>>>0x18-(_0x2b8d7e+0x1)%0x4*0x8&0xff,_0x2923d6=_0x571f8f[_0x2b8d7e+0x2>>>0x2]>>>0x18-(_0x2b8d7e+0x2)%0x4*0x8&0xff,_0x1af171=_0xe4c244<<0x10|_0x38820d<<0x8|_0x2923d6,_0x11baf9=0x0;_0x11baf9<0x4&&_0x2b8d7e+_0x11baf9*0.75<_0x59011;_0x11baf9++)_0x6a1ca[_0x239fe(0x3a3)](_0x479a78[_0x239fe(0x322)](_0x1af171>>>0x6*(0x3-_0x11baf9)&0x3f));var _0x31e498=_0x479a78['charAt'](0x40);if(_0x31e498){for(;_0x6a1ca[_0x239fe(0x31b)]%0x4;)_0x6a1ca[_0x239fe(0x3a3)](_0x31e498);}return _0x6a1ca['join']('');},'parse':function(_0x5c9e55){var _0x1c4436=_0x20c26e,_0x11b04f=_0x5c9e55[_0x1c4436(0x31b)],_0x65d636=this[_0x1c4436(0x327)],_0x4cfc25=this[_0x1c4436(0xb6)];if(!_0x4cfc25){_0x4cfc25=this['_reverseMap']=[];for(var _0x3fad67=0x0;_0x3fad67<_0x65d636['length'];_0x3fad67++)_0x4cfc25[_0x65d636['charCodeAt'](_0x3fad67)]=_0x3fad67;}var _0x4e3831=_0x65d636[_0x1c4436(0x322)](0x40);if(_0x4e3831){var _0x426673=_0x5c9e55['indexOf'](_0x4e3831);_0x426673!==-0x1&&(_0x11b04f=_0x426673);}return _0x4c657(_0x5c9e55,_0x11b04f,_0x4cfc25);},'_map':'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/='};function _0x4c657(_0x523e09,_0x130596,_0x2de40c){var _0x36d088=_0x20c26e;for(var _0x35bfaa=[],_0x3bb2b0=0x0,_0x2ed47b=0x0;_0x2ed47b<_0x130596;_0x2ed47b++)if(_0x2ed47b%0x4){var _0x171770=_0x2de40c[_0x523e09[_0x36d088(0x94)](_0x2ed47b-0x1)]<<_0x2ed47b%0x4*0x2,_0x548f2c=_0x2de40c[_0x523e09[_0x36d088(0x94)](_0x2ed47b)]>>>0x6-_0x2ed47b%0x4*0x2,_0x199414=_0x171770|_0x548f2c;_0x35bfaa[_0x3bb2b0>>>0x2]|=_0x199414<<0x18-_0x3bb2b0%0x4*0x8,_0x3bb2b0++;}return _0x3eb882['create'](_0x35bfaa,_0x3bb2b0);}}()),_0x5b72f3[_0x28ef6b(0x29a)][_0x28ef6b(0x215)];}));}(pe)),pe[_0x598f35(0x211)];}var me={'exports':{}},Ti=me['exports'],Je;function bi(){var _0x43879b=_0x50acdc;return Je||(Je=0x1,function(_0x6b6452,_0x19a5cd){(function(_0x37f22c,_0x3b5037){var _0xff45c2=_0x5520;_0x6b6452[_0xff45c2(0x211)]=_0x3b5037(Q());}(Ti,function(_0x3e0159){var _0x4f8ed3=_0x5520;return function(_0x2690e1){var _0x54d1e6=_0x5520,_0x5eaf99=_0x3e0159,_0x1c3c39=_0x5eaf99[_0x54d1e6(0x101)],_0x176d54=_0x1c3c39['WordArray'],_0x4004a4=_0x1c3c39[_0x54d1e6(0x27c)],_0x224e4f=_0x5eaf99[_0x54d1e6(0x28b)],_0x7dd462=[];(function(){var _0x1204b5=_0x54d1e6;for(var _0x3d8e23=0x0;_0x3d8e23<0x40;_0x3d8e23++)_0x7dd462[_0x3d8e23]=_0x2690e1[_0x1204b5(0x2c8)](_0x2690e1[_0x1204b5(0x142)](_0x3d8e23+0x1))*0x100000000|0x0;}());var _0x14f773=_0x224e4f['MD5']=_0x4004a4[_0x54d1e6(0x334)]({'_doReset':function(){var _0xaf6aad=_0x54d1e6;this['_hash']=new _0x176d54[(_0xaf6aad(0x132))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476]);},'_doProcessBlock':function(_0x11c612,_0x10926b){var _0x539583=_0x54d1e6;for(var _0x3aa613=0x0;_0x3aa613<0x10;_0x3aa613++){var _0x2a8881=_0x10926b+_0x3aa613,_0x14daf8=_0x11c612[_0x2a8881];_0x11c612[_0x2a8881]=(_0x14daf8<<0x8|_0x14daf8>>>0x18)&0xff00ff|(_0x14daf8<<0x18|_0x14daf8>>>0x8)&0xff00ff00;}var _0x3efe5c=this[_0x539583(0x2da)][_0x539583(0xe4)],_0x4c00e5=_0x11c612[_0x10926b+0x0],_0x603a79=_0x11c612[_0x10926b+0x1],_0x5babfc=_0x11c612[_0x10926b+0x2],_0x2187f9=_0x11c612[_0x10926b+0x3],_0x14d721=_0x11c612[_0x10926b+0x4],_0x4a4967=_0x11c612[_0x10926b+0x5],_0x2107c8=_0x11c612[_0x10926b+0x6],_0x865c2e=_0x11c612[_0x10926b+0x7],_0x37e3b3=_0x11c612[_0x10926b+0x8],_0x71ac5e=_0x11c612[_0x10926b+0x9],_0x41adbc=_0x11c612[_0x10926b+0xa],_0x7c6008=_0x11c612[_0x10926b+0xb],_0x378653=_0x11c612[_0x10926b+0xc],_0xaf482e=_0x11c612[_0x10926b+0xd],_0x5b1b0f=_0x11c612[_0x10926b+0xe],_0x794a47=_0x11c612[_0x10926b+0xf],_0x53b683=_0x3efe5c[0x0],_0x362c10=_0x3efe5c[0x1],_0x3f0618=_0x3efe5c[0x2],_0x540014=_0x3efe5c[0x3];_0x53b683=_0xaa5913(_0x53b683,_0x362c10,_0x3f0618,_0x540014,_0x4c00e5,0x7,_0x7dd462[0x0]),_0x540014=_0xaa5913(_0x540014,_0x53b683,_0x362c10,_0x3f0618,_0x603a79,0xc,_0x7dd462[0x1]),_0x3f0618=_0xaa5913(_0x3f0618,_0x540014,_0x53b683,_0x362c10,_0x5babfc,0x11,_0x7dd462[0x2]),_0x362c10=_0xaa5913(_0x362c10,_0x3f0618,_0x540014,_0x53b683,_0x2187f9,0x16,_0x7dd462[0x3]),_0x53b683=_0xaa5913(_0x53b683,_0x362c10,_0x3f0618,_0x540014,_0x14d721,0x7,_0x7dd462[0x4]),_0x540014=_0xaa5913(_0x540014,_0x53b683,_0x362c10,_0x3f0618,_0x4a4967,0xc,_0x7dd462[0x5]),_0x3f0618=_0xaa5913(_0x3f0618,_0x540014,_0x53b683,_0x362c10,_0x2107c8,0x11,_0x7dd462[0x6]),_0x362c10=_0xaa5913(_0x362c10,_0x3f0618,_0x540014,_0x53b683,_0x865c2e,0x16,_0x7dd462[0x7]),_0x53b683=_0xaa5913(_0x53b683,_0x362c10,_0x3f0618,_0x540014,_0x37e3b3,0x7,_0x7dd462[0x8]),_0x540014=_0xaa5913(_0x540014,_0x53b683,_0x362c10,_0x3f0618,_0x71ac5e,0xc,_0x7dd462[0x9]),_0x3f0618=_0xaa5913(_0x3f0618,_0x540014,_0x53b683,_0x362c10,_0x41adbc,0x11,_0x7dd462[0xa]),_0x362c10=_0xaa5913(_0x362c10,_0x3f0618,_0x540014,_0x53b683,_0x7c6008,0x16,_0x7dd462[0xb]),_0x53b683=_0xaa5913(_0x53b683,_0x362c10,_0x3f0618,_0x540014,_0x378653,0x7,_0x7dd462[0xc]),_0x540014=_0xaa5913(_0x540014,_0x53b683,_0x362c10,_0x3f0618,_0xaf482e,0xc,_0x7dd462[0xd]),_0x3f0618=_0xaa5913(_0x3f0618,_0x540014,_0x53b683,_0x362c10,_0x5b1b0f,0x11,_0x7dd462[0xe]),_0x362c10=_0xaa5913(_0x362c10,_0x3f0618,_0x540014,_0x53b683,_0x794a47,0x16,_0x7dd462[0xf]),_0x53b683=_0x41d73b(_0x53b683,_0x362c10,_0x3f0618,_0x540014,_0x603a79,0x5,_0x7dd462[0x10]),_0x540014=_0x41d73b(_0x540014,_0x53b683,_0x362c10,_0x3f0618,_0x2107c8,0x9,_0x7dd462[0x11]),_0x3f0618=_0x41d73b(_0x3f0618,_0x540014,_0x53b683,_0x362c10,_0x7c6008,0xe,_0x7dd462[0x12]),_0x362c10=_0x41d73b(_0x362c10,_0x3f0618,_0x540014,_0x53b683,_0x4c00e5,0x14,_0x7dd462[0x13]),_0x53b683=_0x41d73b(_0x53b683,_0x362c10,_0x3f0618,_0x540014,_0x4a4967,0x5,_0x7dd462[0x14]),_0x540014=_0x41d73b(_0x540014,_0x53b683,_0x362c10,_0x3f0618,_0x41adbc,0x9,_0x7dd462[0x15]),_0x3f0618=_0x41d73b(_0x3f0618,_0x540014,_0x53b683,_0x362c10,_0x794a47,0xe,_0x7dd462[0x16]),_0x362c10=_0x41d73b(_0x362c10,_0x3f0618,_0x540014,_0x53b683,_0x14d721,0x14,_0x7dd462[0x17]),_0x53b683=_0x41d73b(_0x53b683,_0x362c10,_0x3f0618,_0x540014,_0x71ac5e,0x5,_0x7dd462[0x18]),_0x540014=_0x41d73b(_0x540014,_0x53b683,_0x362c10,_0x3f0618,_0x5b1b0f,0x9,_0x7dd462[0x19]),_0x3f0618=_0x41d73b(_0x3f0618,_0x540014,_0x53b683,_0x362c10,_0x2187f9,0xe,_0x7dd462[0x1a]),_0x362c10=_0x41d73b(_0x362c10,_0x3f0618,_0x540014,_0x53b683,_0x37e3b3,0x14,_0x7dd462[0x1b]),_0x53b683=_0x41d73b(_0x53b683,_0x362c10,_0x3f0618,_0x540014,_0xaf482e,0x5,_0x7dd462[0x1c]),_0x540014=_0x41d73b(_0x540014,_0x53b683,_0x362c10,_0x3f0618,_0x5babfc,0x9,_0x7dd462[0x1d]),_0x3f0618=_0x41d73b(_0x3f0618,_0x540014,_0x53b683,_0x362c10,_0x865c2e,0xe,_0x7dd462[0x1e]),_0x362c10=_0x41d73b(_0x362c10,_0x3f0618,_0x540014,_0x53b683,_0x378653,0x14,_0x7dd462[0x1f]),_0x53b683=_0x31bd0e(_0x53b683,_0x362c10,_0x3f0618,_0x540014,_0x4a4967,0x4,_0x7dd462[0x20]),_0x540014=_0x31bd0e(_0x540014,_0x53b683,_0x362c10,_0x3f0618,_0x37e3b3,0xb,_0x7dd462[0x21]),_0x3f0618=_0x31bd0e(_0x3f0618,_0x540014,_0x53b683,_0x362c10,_0x7c6008,0x10,_0x7dd462[0x22]),_0x362c10=_0x31bd0e(_0x362c10,_0x3f0618,_0x540014,_0x53b683,_0x5b1b0f,0x17,_0x7dd462[0x23]),_0x53b683=_0x31bd0e(_0x53b683,_0x362c10,_0x3f0618,_0x540014,_0x603a79,0x4,_0x7dd462[0x24]),_0x540014=_0x31bd0e(_0x540014,_0x53b683,_0x362c10,_0x3f0618,_0x14d721,0xb,_0x7dd462[0x25]),_0x3f0618=_0x31bd0e(_0x3f0618,_0x540014,_0x53b683,_0x362c10,_0x865c2e,0x10,_0x7dd462[0x26]),_0x362c10=_0x31bd0e(_0x362c10,_0x3f0618,_0x540014,_0x53b683,_0x41adbc,0x17,_0x7dd462[0x27]),_0x53b683=_0x31bd0e(_0x53b683,_0x362c10,_0x3f0618,_0x540014,_0xaf482e,0x4,_0x7dd462[0x28]),_0x540014=_0x31bd0e(_0x540014,_0x53b683,_0x362c10,_0x3f0618,_0x4c00e5,0xb,_0x7dd462[0x29]),_0x3f0618=_0x31bd0e(_0x3f0618,_0x540014,_0x53b683,_0x362c10,_0x2187f9,0x10,_0x7dd462[0x2a]),_0x362c10=_0x31bd0e(_0x362c10,_0x3f0618,_0x540014,_0x53b683,_0x2107c8,0x17,_0x7dd462[0x2b]),_0x53b683=_0x31bd0e(_0x53b683,_0x362c10,_0x3f0618,_0x540014,_0x71ac5e,0x4,_0x7dd462[0x2c]),_0x540014=_0x31bd0e(_0x540014,_0x53b683,_0x362c10,_0x3f0618,_0x378653,0xb,_0x7dd462[0x2d]),_0x3f0618=_0x31bd0e(_0x3f0618,_0x540014,_0x53b683,_0x362c10,_0x794a47,0x10,_0x7dd462[0x2e]),_0x362c10=_0x31bd0e(_0x362c10,_0x3f0618,_0x540014,_0x53b683,_0x5babfc,0x17,_0x7dd462[0x2f]),_0x53b683=_0x50395a(_0x53b683,_0x362c10,_0x3f0618,_0x540014,_0x4c00e5,0x6,_0x7dd462[0x30]),_0x540014=_0x50395a(_0x540014,_0x53b683,_0x362c10,_0x3f0618,_0x865c2e,0xa,_0x7dd462[0x31]),_0x3f0618=_0x50395a(_0x3f0618,_0x540014,_0x53b683,_0x362c10,_0x5b1b0f,0xf,_0x7dd462[0x32]),_0x362c10=_0x50395a(_0x362c10,_0x3f0618,_0x540014,_0x53b683,_0x4a4967,0x15,_0x7dd462[0x33]),_0x53b683=_0x50395a(_0x53b683,_0x362c10,_0x3f0618,_0x540014,_0x378653,0x6,_0x7dd462[0x34]),_0x540014=_0x50395a(_0x540014,_0x53b683,_0x362c10,_0x3f0618,_0x2187f9,0xa,_0x7dd462[0x35]),_0x3f0618=_0x50395a(_0x3f0618,_0x540014,_0x53b683,_0x362c10,_0x41adbc,0xf,_0x7dd462[0x36]),_0x362c10=_0x50395a(_0x362c10,_0x3f0618,_0x540014,_0x53b683,_0x603a79,0x15,_0x7dd462[0x37]),_0x53b683=_0x50395a(_0x53b683,_0x362c10,_0x3f0618,_0x540014,_0x37e3b3,0x6,_0x7dd462[0x38]),_0x540014=_0x50395a(_0x540014,_0x53b683,_0x362c10,_0x3f0618,_0x794a47,0xa,_0x7dd462[0x39]),_0x3f0618=_0x50395a(_0x3f0618,_0x540014,_0x53b683,_0x362c10,_0x2107c8,0xf,_0x7dd462[0x3a]),_0x362c10=_0x50395a(_0x362c10,_0x3f0618,_0x540014,_0x53b683,_0xaf482e,0x15,_0x7dd462[0x3b]),_0x53b683=_0x50395a(_0x53b683,_0x362c10,_0x3f0618,_0x540014,_0x14d721,0x6,_0x7dd462[0x3c]),_0x540014=_0x50395a(_0x540014,_0x53b683,_0x362c10,_0x3f0618,_0x7c6008,0xa,_0x7dd462[0x3d]),_0x3f0618=_0x50395a(_0x3f0618,_0x540014,_0x53b683,_0x362c10,_0x5babfc,0xf,_0x7dd462[0x3e]),_0x362c10=_0x50395a(_0x362c10,_0x3f0618,_0x540014,_0x53b683,_0x71ac5e,0x15,_0x7dd462[0x3f]),_0x3efe5c[0x0]=_0x3efe5c[0x0]+_0x53b683|0x0,_0x3efe5c[0x1]=_0x3efe5c[0x1]+_0x362c10|0x0,_0x3efe5c[0x2]=_0x3efe5c[0x2]+_0x3f0618|0x0,_0x3efe5c[0x3]=_0x3efe5c[0x3]+_0x540014|0x0;},'_doFinalize':function(){var _0xacb95a=_0x54d1e6,_0x539dda=this['_data'],_0x504ca4=_0x539dda[_0xacb95a(0xe4)],_0x572723=this[_0xacb95a(0xea)]*0x8,_0x4a64b7=_0x539dda[_0xacb95a(0x13e)]*0x8;_0x504ca4[_0x4a64b7>>>0x5]|=0x80<<0x18-_0x4a64b7%0x20;var _0x1a1f05=_0x2690e1[_0xacb95a(0x3b9)](_0x572723/0x100000000),_0xc7a58=_0x572723;_0x504ca4[(_0x4a64b7+0x40>>>0x9<<0x4)+0xf]=(_0x1a1f05<<0x8|_0x1a1f05>>>0x18)&0xff00ff|(_0x1a1f05<<0x18|_0x1a1f05>>>0x8)&0xff00ff00,_0x504ca4[(_0x4a64b7+0x40>>>0x9<<0x4)+0xe]=(_0xc7a58<<0x8|_0xc7a58>>>0x18)&0xff00ff|(_0xc7a58<<0x18|_0xc7a58>>>0x8)&0xff00ff00,_0x539dda[_0xacb95a(0x13e)]=(_0x504ca4[_0xacb95a(0x31b)]+0x1)*0x4,this[_0xacb95a(0x146)]();for(var _0x4d7347=this[_0xacb95a(0x2da)],_0xa9f53=_0x4d7347[_0xacb95a(0xe4)],_0x126dc2=0x0;_0x126dc2<0x4;_0x126dc2++){var _0x15a778=_0xa9f53[_0x126dc2];_0xa9f53[_0x126dc2]=(_0x15a778<<0x8|_0x15a778>>>0x18)&0xff00ff|(_0x15a778<<0x18|_0x15a778>>>0x8)&0xff00ff00;}return _0x4d7347;},'clone':function(){var _0x18b21a=_0x54d1e6,_0x31d309=_0x4004a4[_0x18b21a(0x128)][_0x18b21a(0x2ac)](this);return _0x31d309[_0x18b21a(0x2da)]=this['_hash']['clone'](),_0x31d309;}});function _0xaa5913(_0x3001e1,_0x5e958b,_0x4b307f,_0x21a6a5,_0x506b33,_0x2b0923,_0x9b97d5){var _0x245f40=_0x3001e1+(_0x5e958b&_0x4b307f|~_0x5e958b&_0x21a6a5)+_0x506b33+_0x9b97d5;return(_0x245f40<<_0x2b0923|_0x245f40>>>0x20-_0x2b0923)+_0x5e958b;}function _0x41d73b(_0x4feef0,_0x4ff18c,_0x5623bc,_0x140cb1,_0x439949,_0x3aefba,_0x39aed0){var _0x2ace84=_0x4feef0+(_0x4ff18c&_0x140cb1|_0x5623bc&~_0x140cb1)+_0x439949+_0x39aed0;return(_0x2ace84<<_0x3aefba|_0x2ace84>>>0x20-_0x3aefba)+_0x4ff18c;}function _0x31bd0e(_0x50e3c9,_0x4e40fa,_0x58be5b,_0x1c7694,_0x5d4b23,_0x5c97c8,_0x1ad628){var _0x25f404=_0x50e3c9+(_0x4e40fa^_0x58be5b^_0x1c7694)+_0x5d4b23+_0x1ad628;return(_0x25f404<<_0x5c97c8|_0x25f404>>>0x20-_0x5c97c8)+_0x4e40fa;}function _0x50395a(_0x5005bb,_0x4d7537,_0x3cb91e,_0x533bb4,_0x393a7c,_0x40d5cf,_0x3c6ccd){var _0x32a695=_0x5005bb+(_0x3cb91e^(_0x4d7537|~_0x533bb4))+_0x393a7c+_0x3c6ccd;return(_0x32a695<<_0x40d5cf|_0x32a695>>>0x20-_0x40d5cf)+_0x4d7537;}_0x5eaf99[_0x54d1e6(0xfe)]=_0x4004a4[_0x54d1e6(0x1ca)](_0x14f773),_0x5eaf99[_0x54d1e6(0x36d)]=_0x4004a4[_0x54d1e6(0x72)](_0x14f773);}(Math),_0x3e0159[_0x4f8ed3(0xfe)];}));}(me)),me[_0x43879b(0x211)];}var ge={'exports':{}},Ee={'exports':{}},Oi=Ee[_0x50acdc(0x211)],Xe;function Ri(){var _0x568734=_0x50acdc;return Xe||(Xe=0x1,function(_0x5d6e90,_0x5bcf66){(function(_0x4e28e0,_0x56d959){var _0x4b4bd8=_0x5520;_0x5d6e90[_0x4b4bd8(0x211)]=_0x56d959(Q());}(Oi,function(_0x4d96f0){var _0x38779b=_0x5520;return(function(){var _0x43aaa8=_0x5520,_0xa4073=_0x4d96f0,_0x362ae6=_0xa4073[_0x43aaa8(0x101)],_0x481538=_0x362ae6[_0x43aaa8(0x2b5)],_0xc2847=_0x362ae6[_0x43aaa8(0x27c)],_0xc1f8d7=_0xa4073['algo'],_0x4b7c8b=[],_0x3f0b5e=_0xc1f8d7['SHA1']=_0xc2847['extend']({'_doReset':function(){var _0x55a386=_0x43aaa8;this[_0x55a386(0x2da)]=new _0x481538[(_0x55a386(0x132))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476,0xc3d2e1f0]);},'_doProcessBlock':function(_0x20d753,_0x33f10d){var _0x49971c=_0x43aaa8;for(var _0x522b77=this[_0x49971c(0x2da)]['words'],_0x4c8b44=_0x522b77[0x0],_0x3baf1e=_0x522b77[0x1],_0x3d736c=_0x522b77[0x2],_0x3de8bb=_0x522b77[0x3],_0x24c420=_0x522b77[0x4],_0x3115aa=0x0;_0x3115aa<0x50;_0x3115aa++){if(_0x3115aa<0x10)_0x4b7c8b[_0x3115aa]=_0x20d753[_0x33f10d+_0x3115aa]|0x0;else{var _0x117064=_0x4b7c8b[_0x3115aa-0x3]^_0x4b7c8b[_0x3115aa-0x8]^_0x4b7c8b[_0x3115aa-0xe]^_0x4b7c8b[_0x3115aa-0x10];_0x4b7c8b[_0x3115aa]=_0x117064<<0x1|_0x117064>>>0x1f;}var _0x49e5c1=(_0x4c8b44<<0x5|_0x4c8b44>>>0x1b)+_0x24c420+_0x4b7c8b[_0x3115aa];_0x3115aa<0x14?_0x49e5c1+=(_0x3baf1e&_0x3d736c|~_0x3baf1e&_0x3de8bb)+0x5a827999:_0x3115aa<0x28?_0x49e5c1+=(_0x3baf1e^_0x3d736c^_0x3de8bb)+0x6ed9eba1:_0x3115aa<0x3c?_0x49e5c1+=(_0x3baf1e&_0x3d736c|_0x3baf1e&_0x3de8bb|_0x3d736c&_0x3de8bb)-0x70e44324:_0x49e5c1+=(_0x3baf1e^_0x3d736c^_0x3de8bb)-0x359d3e2a,_0x24c420=_0x3de8bb,_0x3de8bb=_0x3d736c,_0x3d736c=_0x3baf1e<<0x1e|_0x3baf1e>>>0x2,_0x3baf1e=_0x4c8b44,_0x4c8b44=_0x49e5c1;}_0x522b77[0x0]=_0x522b77[0x0]+_0x4c8b44|0x0,_0x522b77[0x1]=_0x522b77[0x1]+_0x3baf1e|0x0,_0x522b77[0x2]=_0x522b77[0x2]+_0x3d736c|0x0,_0x522b77[0x3]=_0x522b77[0x3]+_0x3de8bb|0x0,_0x522b77[0x4]=_0x522b77[0x4]+_0x24c420|0x0;},'_doFinalize':function(){var _0x429852=_0x43aaa8,_0x560593=this[_0x429852(0x1f9)],_0x5d74cb=_0x560593[_0x429852(0xe4)],_0x520d9c=this['_nDataBytes']*0x8,_0x4a9200=_0x560593[_0x429852(0x13e)]*0x8;return _0x5d74cb[_0x4a9200>>>0x5]|=0x80<<0x18-_0x4a9200%0x20,_0x5d74cb[(_0x4a9200+0x40>>>0x9<<0x4)+0xe]=Math[_0x429852(0x3b9)](_0x520d9c/0x100000000),_0x5d74cb[(_0x4a9200+0x40>>>0x9<<0x4)+0xf]=_0x520d9c,_0x560593[_0x429852(0x13e)]=_0x5d74cb[_0x429852(0x31b)]*0x4,this[_0x429852(0x146)](),this[_0x429852(0x2da)];},'clone':function(){var _0x1bb548=_0x43aaa8,_0x4c465d=_0xc2847[_0x1bb548(0x128)][_0x1bb548(0x2ac)](this);return _0x4c465d['_hash']=this[_0x1bb548(0x2da)][_0x1bb548(0x128)](),_0x4c465d;}});_0xa4073['SHA1']=_0xc2847['_createHelper'](_0x3f0b5e),_0xa4073['HmacSHA1']=_0xc2847['_createHmacHelper'](_0x3f0b5e);}()),_0x4d96f0[_0x38779b(0x3c6)];}));}(Ee)),Ee[_0x568734(0x211)];}var Ce={'exports':{}},yi=Ce[_0x50acdc(0x211)],Ze;function Ni(){var _0x244020=_0x50acdc;return Ze||(Ze=0x1,function(_0x55c253,_0x4c717d){(function(_0x528e8c,_0x3cfdd0){var _0x94c8ab=_0x5520;_0x55c253[_0x94c8ab(0x211)]=_0x3cfdd0(Q());}(yi,function(_0x9241b){(function(){var _0x56a29b=_0x5520,_0x20e5bd=_0x9241b,_0x2e1acb=_0x20e5bd[_0x56a29b(0x101)],_0x260738=_0x2e1acb[_0x56a29b(0x248)],_0x376748=_0x20e5bd[_0x56a29b(0x29a)],_0x521d34=_0x376748[_0x56a29b(0x30d)],_0x442940=_0x20e5bd['algo'];_0x442940[_0x56a29b(0x313)]=_0x260738[_0x56a29b(0x334)]({'init':function(_0x59dcda,_0x57ffb6){var _0x1b5216=_0x56a29b;_0x59dcda=this[_0x1b5216(0x1e8)]=new _0x59dcda[(_0x1b5216(0x132))](),typeof _0x57ffb6==_0x1b5216(0x102)&&(_0x57ffb6=_0x521d34[_0x1b5216(0x39d)](_0x57ffb6));var _0x5dd6c1=_0x59dcda[_0x1b5216(0x127)],_0x232d56=_0x5dd6c1*0x4;_0x57ffb6['sigBytes']>_0x232d56&&(_0x57ffb6=_0x59dcda[_0x1b5216(0x314)](_0x57ffb6)),_0x57ffb6[_0x1b5216(0x3bb)]();for(var _0x28b372=this[_0x1b5216(0x2e2)]=_0x57ffb6['clone'](),_0x1109c8=this['_iKey']=_0x57ffb6['clone'](),_0x479919=_0x28b372[_0x1b5216(0xe4)],_0x138d8d=_0x1109c8[_0x1b5216(0xe4)],_0x486d66=0x0;_0x486d66<_0x5dd6c1;_0x486d66++)_0x479919[_0x486d66]^=0x5c5c5c5c,_0x138d8d[_0x486d66]^=0x36363636;_0x28b372[_0x1b5216(0x13e)]=_0x1109c8[_0x1b5216(0x13e)]=_0x232d56,this[_0x1b5216(0x29e)]();},'reset':function(){var _0x19dfd6=_0x56a29b,_0x167695=this[_0x19dfd6(0x1e8)];_0x167695[_0x19dfd6(0x29e)](),_0x167695['update'](this[_0x19dfd6(0x91)]);},'update':function(_0x7b5d4c){var _0x5a17df=_0x56a29b;return this[_0x5a17df(0x1e8)]['update'](_0x7b5d4c),this;},'finalize':function(_0x19515a){var _0x26a6bf=_0x56a29b,_0x402426=this['_hasher'],_0x4545cb=_0x402426[_0x26a6bf(0x314)](_0x19515a);_0x402426[_0x26a6bf(0x29e)]();var _0x4ddc6e=_0x402426[_0x26a6bf(0x314)](this[_0x26a6bf(0x2e2)][_0x26a6bf(0x128)]()[_0x26a6bf(0x37d)](_0x4545cb));return _0x4ddc6e;}});}());}));}(Ce)),Ce[_0x244020(0x211)];}var Di=ge[_0x50acdc(0x211)],Qe;function Ct(){return Qe||(Qe=0x1,function(_0x47fcc3,_0x1ded13){(function(_0x5a64ae,_0x64e1e3,_0x51c438){var _0x1d6138=_0x5520;_0x47fcc3[_0x1d6138(0x211)]=_0x64e1e3(Q(),Ri(),Ni());}(Di,function(_0x4a17d1){return(function(){var _0x2ab4d3=_0x5520,_0x64ecb4=_0x4a17d1,_0x1c2109=_0x64ecb4['lib'],_0x792da3=_0x1c2109['Base'],_0x24f145=_0x1c2109[_0x2ab4d3(0x2b5)],_0x230c3d=_0x64ecb4[_0x2ab4d3(0x28b)],_0x3bf8fc=_0x230c3d[_0x2ab4d3(0xfe)],_0x26ebaf=_0x230c3d['EvpKDF']=_0x792da3[_0x2ab4d3(0x334)]({'cfg':_0x792da3['extend']({'keySize':0x80/0x20,'hasher':_0x3bf8fc,'iterations':0x1}),'init':function(_0x1e66da){var _0x59b42e=_0x2ab4d3;this[_0x59b42e(0x8a)]=this[_0x59b42e(0x8a)][_0x59b42e(0x334)](_0x1e66da);},'compute':function(_0x4b68c9,_0xd9431f){var _0x57dc1b=_0x2ab4d3;for(var _0x190275,_0x35db47=this[_0x57dc1b(0x8a)],_0x3b4538=_0x35db47[_0x57dc1b(0x30a)][_0x57dc1b(0x1f1)](),_0x4cd1e0=_0x24f145[_0x57dc1b(0x1f1)](),_0x172c95=_0x4cd1e0[_0x57dc1b(0xe4)],_0x49de5b=_0x35db47[_0x57dc1b(0x86)],_0xbd2ea4=_0x35db47['iterations'];_0x172c95['length']<_0x49de5b;){_0x190275&&_0x3b4538[_0x57dc1b(0xc4)](_0x190275),_0x190275=_0x3b4538['update'](_0x4b68c9)[_0x57dc1b(0x314)](_0xd9431f),_0x3b4538['reset']();for(var _0x40e732=0x1;_0x40e732<_0xbd2ea4;_0x40e732++)_0x190275=_0x3b4538[_0x57dc1b(0x314)](_0x190275),_0x3b4538[_0x57dc1b(0x29e)]();_0x4cd1e0['concat'](_0x190275);}return _0x4cd1e0[_0x57dc1b(0x13e)]=_0x49de5b*0x4,_0x4cd1e0;}});_0x64ecb4[_0x2ab4d3(0x352)]=function(_0x572a81,_0x1b479a,_0x299c8f){var _0x458d60=_0x2ab4d3;return _0x26ebaf[_0x458d60(0x1f1)](_0x299c8f)[_0x458d60(0x170)](_0x572a81,_0x1b479a);};}()),_0x4a17d1['EvpKDF'];}));}(ge)),ge['exports'];}var Te={'exports':{}},Ui=Te['exports'],et;function Tt(){var _0x5e5c43=_0x50acdc;return et||(et=0x1,function(_0x3f7fac,_0x6cb5f3){(function(_0x31c285,_0x4edc4c,_0x25dc4d){var _0x1cd4e3=_0x5520;_0x3f7fac[_0x1cd4e3(0x211)]=_0x4edc4c(Q(),Ct());}(Ui,function(_0xcb7230){var _0x4eb2d4=_0x5520;_0xcb7230[_0x4eb2d4(0x101)][_0x4eb2d4(0xdf)]||function(_0x527e0c){var _0x1230dc=_0x4eb2d4,_0x528608=_0xcb7230,_0x59fcf6=_0x528608[_0x1230dc(0x101)],_0x4f45de=_0x59fcf6[_0x1230dc(0x248)],_0x1beaf0=_0x59fcf6[_0x1230dc(0x2b5)],_0x575ec6=_0x59fcf6[_0x1230dc(0x305)],_0x426895=_0x528608['enc'];_0x426895[_0x1230dc(0x30d)];var _0x27d0ad=_0x426895[_0x1230dc(0x215)],_0x486aa3=_0x528608[_0x1230dc(0x28b)],_0x3edde8=_0x486aa3[_0x1230dc(0x352)],_0x5846d0=_0x59fcf6[_0x1230dc(0xdf)]=_0x575ec6['extend']({'cfg':_0x4f45de[_0x1230dc(0x334)](),'createEncryptor':function(_0x10e92f,_0x3e222a){var _0xaf64b9=_0x1230dc;return this[_0xaf64b9(0x1f1)](this[_0xaf64b9(0x2d5)],_0x10e92f,_0x3e222a);},'createDecryptor':function(_0x2369f8,_0x2d3c5e){var _0x15741f=_0x1230dc;return this[_0x15741f(0x1f1)](this['_DEC_XFORM_MODE'],_0x2369f8,_0x2d3c5e);},'init':function(_0x164c20,_0x3e6c5e,_0x590745){var _0x5c2425=_0x1230dc;this[_0x5c2425(0x8a)]=this[_0x5c2425(0x8a)][_0x5c2425(0x334)](_0x590745),this['_xformMode']=_0x164c20,this['_key']=_0x3e6c5e,this['reset']();},'reset':function(){var _0x90a3a0=_0x1230dc;_0x575ec6['reset']['call'](this),this[_0x90a3a0(0x31d)]();},'process':function(_0x78debc){var _0x17e489=_0x1230dc;return this['_append'](_0x78debc),this[_0x17e489(0x146)]();},'finalize':function(_0x4079c9){_0x4079c9&&this['_append'](_0x4079c9);var _0x14a02b=this['_doFinalize']();return _0x14a02b;},'keySize':0x80/0x20,'ivSize':0x80/0x20,'_ENC_XFORM_MODE':0x1,'_DEC_XFORM_MODE':0x2,'_createHelper':(function(){function _0x355ef8(_0x543d90){var _0x546fc1=_0x5520;return typeof _0x543d90==_0x546fc1(0x102)?_0x210d25:_0x2f6a0e;}return function(_0x996883){return{'encrypt':function(_0x59342d,_0x1bf471,_0x1445b2){var _0x39b089=_0x5520;return _0x355ef8(_0x1bf471)[_0x39b089(0x3a0)](_0x996883,_0x59342d,_0x1bf471,_0x1445b2);},'decrypt':function(_0x443709,_0x171127,_0x33ae32){var _0x12030a=_0x5520;return _0x355ef8(_0x171127)[_0x12030a(0x289)](_0x996883,_0x443709,_0x171127,_0x33ae32);}};};}())});_0x59fcf6[_0x1230dc(0x364)]=_0x5846d0[_0x1230dc(0x334)]({'_doFinalize':function(){var _0x59a3cc=this['_process'](!0x0);return _0x59a3cc;},'blockSize':0x1});var _0x3d1c48=_0x528608['mode']={},_0x948b23=_0x59fcf6[_0x1230dc(0x17a)]=_0x4f45de['extend']({'createEncryptor':function(_0x471701,_0x5ef7e5){var _0x1a08c9=_0x1230dc;return this['Encryptor'][_0x1a08c9(0x1f1)](_0x471701,_0x5ef7e5);},'createDecryptor':function(_0x910854,_0x5d1169){var _0x16f07f=_0x1230dc;return this[_0x16f07f(0x1d8)]['create'](_0x910854,_0x5d1169);},'init':function(_0x5c9183,_0x50520f){var _0x3943c0=_0x1230dc;this['_cipher']=_0x5c9183,this[_0x3943c0(0x1a9)]=_0x50520f;}}),_0x35b786=_0x3d1c48[_0x1230dc(0x32d)]=(function(){var _0x483e55=_0x1230dc,_0x1be129=_0x948b23[_0x483e55(0x334)]();_0x1be129['Encryptor']=_0x1be129[_0x483e55(0x334)]({'processBlock':function(_0x23cf52,_0x547438){var _0x5a265d=_0x483e55,_0x5c2bfa=this[_0x5a265d(0x1ed)],_0x22b554=_0x5c2bfa['blockSize'];_0x1dea28[_0x5a265d(0x2ac)](this,_0x23cf52,_0x547438,_0x22b554),_0x5c2bfa[_0x5a265d(0x122)](_0x23cf52,_0x547438),this[_0x5a265d(0x16e)]=_0x23cf52[_0x5a265d(0x2ef)](_0x547438,_0x547438+_0x22b554);}}),_0x1be129[_0x483e55(0x1d8)]=_0x1be129[_0x483e55(0x334)]({'processBlock':function(_0xf3d46c,_0x106582){var _0x42da27=_0x483e55,_0x4e1766=this[_0x42da27(0x1ed)],_0x2ffca0=_0x4e1766[_0x42da27(0x127)],_0x27762c=_0xf3d46c['slice'](_0x106582,_0x106582+_0x2ffca0);_0x4e1766[_0x42da27(0xdc)](_0xf3d46c,_0x106582),_0x1dea28[_0x42da27(0x2ac)](this,_0xf3d46c,_0x106582,_0x2ffca0),this[_0x42da27(0x16e)]=_0x27762c;}});function _0x1dea28(_0x3b7417,_0x1d1db1,_0x56314f){var _0x2abbe0=_0x483e55,_0xe4595d,_0x430c7f=this[_0x2abbe0(0x1a9)];_0x430c7f?(_0xe4595d=_0x430c7f,this[_0x2abbe0(0x1a9)]=_0x527e0c):_0xe4595d=this[_0x2abbe0(0x16e)];for(var _0x476981=0x0;_0x476981<_0x56314f;_0x476981++)_0x3b7417[_0x1d1db1+_0x476981]^=_0xe4595d[_0x476981];}return _0x1be129;}()),_0xb51bae=_0x528608[_0x1230dc(0x21a)]={},_0x21cf09=_0xb51bae['Pkcs7']={'pad':function(_0x471495,_0x12078f){var _0x1bef21=_0x1230dc;for(var _0x2aa051=_0x12078f*0x4,_0x2c28f3=_0x2aa051-_0x471495[_0x1bef21(0x13e)]%_0x2aa051,_0x50ebad=_0x2c28f3<<0x18|_0x2c28f3<<0x10|_0x2c28f3<<0x8|_0x2c28f3,_0x54591f=[],_0x2ef871=0x0;_0x2ef871<_0x2c28f3;_0x2ef871+=0x4)_0x54591f[_0x1bef21(0x3a3)](_0x50ebad);var _0x4748c8=_0x1beaf0['create'](_0x54591f,_0x2c28f3);_0x471495[_0x1bef21(0x37d)](_0x4748c8);},'unpad':function(_0x3512f3){var _0x551357=_0x1230dc,_0x18d7a8=_0x3512f3[_0x551357(0xe4)][_0x3512f3['sigBytes']-0x1>>>0x2]&0xff;_0x3512f3[_0x551357(0x13e)]-=_0x18d7a8;}};_0x59fcf6[_0x1230dc(0x28d)]=_0x5846d0[_0x1230dc(0x334)]({'cfg':_0x5846d0[_0x1230dc(0x8a)]['extend']({'mode':_0x35b786,'padding':_0x21cf09}),'reset':function(){var _0x1722f9=_0x1230dc,_0x31792b;_0x5846d0[_0x1722f9(0x29e)][_0x1722f9(0x2ac)](this);var _0x59ce79=this[_0x1722f9(0x8a)],_0x10a229=_0x59ce79['iv'],_0x2e5cce=_0x59ce79[_0x1722f9(0x2b0)];this[_0x1722f9(0x1c2)]==this['_ENC_XFORM_MODE']?_0x31792b=_0x2e5cce[_0x1722f9(0xd6)]:(_0x31792b=_0x2e5cce[_0x1722f9(0x2c9)],this[_0x1722f9(0x256)]=0x1),this['_mode']&&this['_mode']['__creator']==_0x31792b?this[_0x1722f9(0x2ff)][_0x1722f9(0x132)](this,_0x10a229&&_0x10a229[_0x1722f9(0xe4)]):(this[_0x1722f9(0x2ff)]=_0x31792b[_0x1722f9(0x2ac)](_0x2e5cce,this,_0x10a229&&_0x10a229[_0x1722f9(0xe4)]),this[_0x1722f9(0x2ff)][_0x1722f9(0x3b5)]=_0x31792b);},'_doProcessBlock':function(_0x4a9552,_0x4988db){var _0x1dbb62=_0x1230dc;this[_0x1dbb62(0x2ff)][_0x1dbb62(0x150)](_0x4a9552,_0x4988db);},'_doFinalize':function(){var _0x1615e0=_0x1230dc,_0x40a773,_0x576315=this[_0x1615e0(0x8a)][_0x1615e0(0x3c0)];return this[_0x1615e0(0x1c2)]==this[_0x1615e0(0x2d5)]?(_0x576315[_0x1615e0(0x21a)](this[_0x1615e0(0x1f9)],this['blockSize']),_0x40a773=this[_0x1615e0(0x146)](!0x0)):(_0x40a773=this[_0x1615e0(0x146)](!0x0),_0x576315[_0x1615e0(0x2e7)](_0x40a773)),_0x40a773;},'blockSize':0x80/0x20});var _0x267e3e=_0x59fcf6[_0x1230dc(0x1a6)]=_0x4f45de['extend']({'init':function(_0x318f1d){var _0x42e7c6=_0x1230dc;this[_0x42e7c6(0x143)](_0x318f1d);},'toString':function(_0x1762a4){var _0x3e50e6=_0x1230dc;return(_0x1762a4||this[_0x3e50e6(0x33c)])[_0x3e50e6(0x8b)](this);}}),_0x2a334d=_0x528608[_0x1230dc(0x134)]={},_0x16908f=_0x2a334d[_0x1230dc(0x3c2)]={'stringify':function(_0x2cb7ac){var _0x1f049f=_0x1230dc,_0x1d85d1,_0x5b5d88=_0x2cb7ac[_0x1f049f(0x100)],_0x585b3d=_0x2cb7ac[_0x1f049f(0x1d1)];return _0x585b3d?_0x1d85d1=_0x1beaf0[_0x1f049f(0x1f1)]([0x53616c74,0x65645f5f])[_0x1f049f(0x37d)](_0x585b3d)[_0x1f049f(0x37d)](_0x5b5d88):_0x1d85d1=_0x5b5d88,_0x1d85d1['toString'](_0x27d0ad);},'parse':function(_0x2d0f4a){var _0x4a3df5=_0x1230dc,_0x20e28b,_0x32f44c=_0x27d0ad[_0x4a3df5(0x39d)](_0x2d0f4a),_0x4d2c29=_0x32f44c['words'];return _0x4d2c29[0x0]==0x53616c74&&_0x4d2c29[0x1]==0x65645f5f&&(_0x20e28b=_0x1beaf0[_0x4a3df5(0x1f1)](_0x4d2c29[_0x4a3df5(0x2ef)](0x2,0x4)),_0x4d2c29[_0x4a3df5(0x17d)](0x0,0x4),_0x32f44c[_0x4a3df5(0x13e)]-=0x10),_0x267e3e[_0x4a3df5(0x1f1)]({'ciphertext':_0x32f44c,'salt':_0x20e28b});}},_0x2f6a0e=_0x59fcf6['SerializableCipher']=_0x4f45de[_0x1230dc(0x334)]({'cfg':_0x4f45de['extend']({'format':_0x16908f}),'encrypt':function(_0x245ad2,_0x22e4bc,_0x5733ba,_0x252ffe){var _0x3a1af2=_0x1230dc;_0x252ffe=this[_0x3a1af2(0x8a)][_0x3a1af2(0x334)](_0x252ffe);var _0xa342e=_0x245ad2[_0x3a1af2(0xd6)](_0x5733ba,_0x252ffe),_0x193d6e=_0xa342e[_0x3a1af2(0x314)](_0x22e4bc),_0x39aab2=_0xa342e[_0x3a1af2(0x8a)];return _0x267e3e[_0x3a1af2(0x1f1)]({'ciphertext':_0x193d6e,'key':_0x5733ba,'iv':_0x39aab2['iv'],'algorithm':_0x245ad2,'mode':_0x39aab2[_0x3a1af2(0x2b0)],'padding':_0x39aab2[_0x3a1af2(0x3c0)],'blockSize':_0x245ad2[_0x3a1af2(0x127)],'formatter':_0x252ffe['format']});},'decrypt':function(_0x47f894,_0x5bbf75,_0x29fe1f,_0x4058a9){var _0xa35eda=_0x1230dc;_0x4058a9=this['cfg'][_0xa35eda(0x334)](_0x4058a9),_0x5bbf75=this[_0xa35eda(0xc3)](_0x5bbf75,_0x4058a9[_0xa35eda(0x134)]);var _0x433383=_0x47f894['createDecryptor'](_0x29fe1f,_0x4058a9)[_0xa35eda(0x314)](_0x5bbf75[_0xa35eda(0x100)]);return _0x433383;},'_parse':function(_0xa753c8,_0x236471){var _0x4e7946=_0x1230dc;return typeof _0xa753c8=='string'?_0x236471[_0x4e7946(0x39d)](_0xa753c8,this):_0xa753c8;}}),_0x32e532=_0x528608[_0x1230dc(0x280)]={},_0x9d00d9=_0x32e532[_0x1230dc(0x3c2)]={'execute':function(_0x5eb70a,_0x50f7c1,_0x297155,_0x2cd3a9,_0x598094){var _0x3228c=_0x1230dc;if(_0x2cd3a9||(_0x2cd3a9=_0x1beaf0[_0x3228c(0x242)](0x40/0x8)),_0x598094)var _0x592470=_0x3edde8['create']({'keySize':_0x50f7c1+_0x297155,'hasher':_0x598094})[_0x3228c(0x170)](_0x5eb70a,_0x2cd3a9);else var _0x592470=_0x3edde8[_0x3228c(0x1f1)]({'keySize':_0x50f7c1+_0x297155})[_0x3228c(0x170)](_0x5eb70a,_0x2cd3a9);var _0x5212e1=_0x1beaf0['create'](_0x592470[_0x3228c(0xe4)][_0x3228c(0x2ef)](_0x50f7c1),_0x297155*0x4);return _0x592470[_0x3228c(0x13e)]=_0x50f7c1*0x4,_0x267e3e[_0x3228c(0x1f1)]({'key':_0x592470,'iv':_0x5212e1,'salt':_0x2cd3a9});}},_0x210d25=_0x59fcf6[_0x1230dc(0x278)]=_0x2f6a0e['extend']({'cfg':_0x2f6a0e[_0x1230dc(0x8a)][_0x1230dc(0x334)]({'kdf':_0x9d00d9}),'encrypt':function(_0x980d22,_0x445735,_0x4f9b84,_0x404b0e){var _0x4525fb=_0x1230dc;_0x404b0e=this[_0x4525fb(0x8a)][_0x4525fb(0x334)](_0x404b0e);var _0x462bbc=_0x404b0e[_0x4525fb(0x280)][_0x4525fb(0x356)](_0x4f9b84,_0x980d22[_0x4525fb(0x86)],_0x980d22[_0x4525fb(0xb2)],_0x404b0e[_0x4525fb(0x1d1)],_0x404b0e[_0x4525fb(0x30a)]);_0x404b0e['iv']=_0x462bbc['iv'];var _0x4516b8=_0x2f6a0e[_0x4525fb(0x3a0)]['call'](this,_0x980d22,_0x445735,_0x462bbc[_0x4525fb(0x394)],_0x404b0e);return _0x4516b8[_0x4525fb(0x143)](_0x462bbc),_0x4516b8;},'decrypt':function(_0x59b1e8,_0x243366,_0x4017c0,_0x444b05){var _0x35f22a=_0x1230dc;_0x444b05=this[_0x35f22a(0x8a)][_0x35f22a(0x334)](_0x444b05),_0x243366=this[_0x35f22a(0xc3)](_0x243366,_0x444b05[_0x35f22a(0x134)]);var _0x14bceb=_0x444b05[_0x35f22a(0x280)]['execute'](_0x4017c0,_0x59b1e8[_0x35f22a(0x86)],_0x59b1e8[_0x35f22a(0xb2)],_0x243366[_0x35f22a(0x1d1)],_0x444b05[_0x35f22a(0x30a)]);_0x444b05['iv']=_0x14bceb['iv'];var _0x55fc91=_0x2f6a0e[_0x35f22a(0x289)][_0x35f22a(0x2ac)](this,_0x59b1e8,_0x243366,_0x14bceb[_0x35f22a(0x394)],_0x444b05);return _0x55fc91;}});}();}));}(Te)),Te[_0x5e5c43(0x211)];}var Ai=fe[_0x50acdc(0x211)],tt;function Pi(){var _0x4a4532=_0x50acdc;return tt||(tt=0x1,function(_0x5a5a79,_0x51d830){(function(_0x5e31eb,_0x33345a,_0x417985){var _0x2d5a26=_0x5520;_0x5a5a79[_0x2d5a26(0x211)]=_0x33345a(Q(),Et(),bi(),Ct(),Tt());}(Ai,function(_0x53ea5c){var _0x5d1b3f=_0x5520;return(function(){var _0x1570fb=_0x5520,_0x403653=_0x53ea5c,_0x395f30=_0x403653[_0x1570fb(0x101)],_0x47673c=_0x395f30[_0x1570fb(0x28d)],_0x157871=_0x403653[_0x1570fb(0x28b)],_0x529575=[],_0xbaffeb=[],_0x132f8b=[],_0x20609f=[],_0x4d92e2=[],_0x272867=[],_0xb02039=[],_0x50d560=[],_0x221163=[],_0x4aa83f=[];(function(){for(var _0x1a1860=[],_0xf1407c=0x0;_0xf1407c<0x100;_0xf1407c++)_0xf1407c<0x80?_0x1a1860[_0xf1407c]=_0xf1407c<<0x1:_0x1a1860[_0xf1407c]=_0xf1407c<<0x1^0x11b;for(var _0x3850da=0x0,_0x336c0a=0x0,_0xf1407c=0x0;_0xf1407c<0x100;_0xf1407c++){var _0x21d3e3=_0x336c0a^_0x336c0a<<0x1^_0x336c0a<<0x2^_0x336c0a<<0x3^_0x336c0a<<0x4;_0x21d3e3=_0x21d3e3>>>0x8^_0x21d3e3&0xff^0x63,_0x529575[_0x3850da]=_0x21d3e3,_0xbaffeb[_0x21d3e3]=_0x3850da;var _0x1a0694=_0x1a1860[_0x3850da],_0x31e3c5=_0x1a1860[_0x1a0694],_0x23d4ca=_0x1a1860[_0x31e3c5],_0x57c920=_0x1a1860[_0x21d3e3]*0x101^_0x21d3e3*0x1010100;_0x132f8b[_0x3850da]=_0x57c920<<0x18|_0x57c920>>>0x8,_0x20609f[_0x3850da]=_0x57c920<<0x10|_0x57c920>>>0x10,_0x4d92e2[_0x3850da]=_0x57c920<<0x8|_0x57c920>>>0x18,_0x272867[_0x3850da]=_0x57c920;var _0x57c920=_0x23d4ca*0x1010101^_0x31e3c5*0x10001^_0x1a0694*0x101^_0x3850da*0x1010100;_0xb02039[_0x21d3e3]=_0x57c920<<0x18|_0x57c920>>>0x8,_0x50d560[_0x21d3e3]=_0x57c920<<0x10|_0x57c920>>>0x10,_0x221163[_0x21d3e3]=_0x57c920<<0x8|_0x57c920>>>0x18,_0x4aa83f[_0x21d3e3]=_0x57c920,_0x3850da?(_0x3850da=_0x1a0694^_0x1a1860[_0x1a1860[_0x1a1860[_0x23d4ca^_0x1a0694]]],_0x336c0a^=_0x1a1860[_0x1a1860[_0x336c0a]]):_0x3850da=_0x336c0a=0x1;}}());var _0x1f668a=[0x0,0x1,0x2,0x4,0x8,0x10,0x20,0x40,0x80,0x1b,0x36],_0xfb14f5=_0x157871[_0x1570fb(0x29f)]=_0x47673c[_0x1570fb(0x334)]({'_doReset':function(){var _0x103599=_0x1570fb,_0x4d9cf8;if(!(this['_nRounds']&&this['_keyPriorReset']===this[_0x103599(0x84)])){for(var _0xe39687=this[_0x103599(0x8c)]=this[_0x103599(0x84)],_0x5ce539=_0xe39687[_0x103599(0xe4)],_0x4d24f7=_0xe39687[_0x103599(0x13e)]/0x4,_0x5d8e23=this[_0x103599(0x3de)]=_0x4d24f7+0x6,_0x3924b9=(_0x5d8e23+0x1)*0x4,_0x54b7d0=this[_0x103599(0xc8)]=[],_0x457448=0x0;_0x457448<_0x3924b9;_0x457448++)_0x457448<_0x4d24f7?_0x54b7d0[_0x457448]=_0x5ce539[_0x457448]:(_0x4d9cf8=_0x54b7d0[_0x457448-0x1],_0x457448%_0x4d24f7?_0x4d24f7>0x6&&_0x457448%_0x4d24f7==0x4&&(_0x4d9cf8=_0x529575[_0x4d9cf8>>>0x18]<<0x18|_0x529575[_0x4d9cf8>>>0x10&0xff]<<0x10|_0x529575[_0x4d9cf8>>>0x8&0xff]<<0x8|_0x529575[_0x4d9cf8&0xff]):(_0x4d9cf8=_0x4d9cf8<<0x8|_0x4d9cf8>>>0x18,_0x4d9cf8=_0x529575[_0x4d9cf8>>>0x18]<<0x18|_0x529575[_0x4d9cf8>>>0x10&0xff]<<0x10|_0x529575[_0x4d9cf8>>>0x8&0xff]<<0x8|_0x529575[_0x4d9cf8&0xff],_0x4d9cf8^=_0x1f668a[_0x457448/_0x4d24f7|0x0]<<0x18),_0x54b7d0[_0x457448]=_0x54b7d0[_0x457448-_0x4d24f7]^_0x4d9cf8);for(var _0x28eec1=this['_invKeySchedule']=[],_0x32f6ab=0x0;_0x32f6ab<_0x3924b9;_0x32f6ab++){var _0x457448=_0x3924b9-_0x32f6ab;if(_0x32f6ab%0x4)var _0x4d9cf8=_0x54b7d0[_0x457448];else var _0x4d9cf8=_0x54b7d0[_0x457448-0x4];_0x32f6ab<0x4||_0x457448<=0x4?_0x28eec1[_0x32f6ab]=_0x4d9cf8:_0x28eec1[_0x32f6ab]=_0xb02039[_0x529575[_0x4d9cf8>>>0x18]]^_0x50d560[_0x529575[_0x4d9cf8>>>0x10&0xff]]^_0x221163[_0x529575[_0x4d9cf8>>>0x8&0xff]]^_0x4aa83f[_0x529575[_0x4d9cf8&0xff]];}}},'encryptBlock':function(_0x37296a,_0x28e949){this['_doCryptBlock'](_0x37296a,_0x28e949,this['_keySchedule'],_0x132f8b,_0x20609f,_0x4d92e2,_0x272867,_0x529575);},'decryptBlock':function(_0xc68f87,_0x29f2ce){var _0x57fabf=_0x1570fb,_0x6d5895=_0xc68f87[_0x29f2ce+0x1];_0xc68f87[_0x29f2ce+0x1]=_0xc68f87[_0x29f2ce+0x3],_0xc68f87[_0x29f2ce+0x3]=_0x6d5895,this[_0x57fabf(0x191)](_0xc68f87,_0x29f2ce,this[_0x57fabf(0xd4)],_0xb02039,_0x50d560,_0x221163,_0x4aa83f,_0xbaffeb);var _0x6d5895=_0xc68f87[_0x29f2ce+0x1];_0xc68f87[_0x29f2ce+0x1]=_0xc68f87[_0x29f2ce+0x3],_0xc68f87[_0x29f2ce+0x3]=_0x6d5895;},'_doCryptBlock':function(_0x52a88a,_0x277d12,_0x3f10d2,_0x178e38,_0x3b897e,_0x4aabaa,_0x2c52e6,_0x51351b){for(var _0x45c83b=this['_nRounds'],_0x2aa1e0=_0x52a88a[_0x277d12]^_0x3f10d2[0x0],_0x1fbe00=_0x52a88a[_0x277d12+0x1]^_0x3f10d2[0x1],_0x86629a=_0x52a88a[_0x277d12+0x2]^_0x3f10d2[0x2],_0x367c52=_0x52a88a[_0x277d12+0x3]^_0x3f10d2[0x3],_0x14b557=0x4,_0x5040a8=0x1;_0x5040a8<_0x45c83b;_0x5040a8++){var _0x277c26=_0x178e38[_0x2aa1e0>>>0x18]^_0x3b897e[_0x1fbe00>>>0x10&0xff]^_0x4aabaa[_0x86629a>>>0x8&0xff]^_0x2c52e6[_0x367c52&0xff]^_0x3f10d2[_0x14b557++],_0x48aed9=_0x178e38[_0x1fbe00>>>0x18]^_0x3b897e[_0x86629a>>>0x10&0xff]^_0x4aabaa[_0x367c52>>>0x8&0xff]^_0x2c52e6[_0x2aa1e0&0xff]^_0x3f10d2[_0x14b557++],_0x3cea8e=_0x178e38[_0x86629a>>>0x18]^_0x3b897e[_0x367c52>>>0x10&0xff]^_0x4aabaa[_0x2aa1e0>>>0x8&0xff]^_0x2c52e6[_0x1fbe00&0xff]^_0x3f10d2[_0x14b557++],_0x52e95a=_0x178e38[_0x367c52>>>0x18]^_0x3b897e[_0x2aa1e0>>>0x10&0xff]^_0x4aabaa[_0x1fbe00>>>0x8&0xff]^_0x2c52e6[_0x86629a&0xff]^_0x3f10d2[_0x14b557++];_0x2aa1e0=_0x277c26,_0x1fbe00=_0x48aed9,_0x86629a=_0x3cea8e,_0x367c52=_0x52e95a;}var _0x277c26=(_0x51351b[_0x2aa1e0>>>0x18]<<0x18|_0x51351b[_0x1fbe00>>>0x10&0xff]<<0x10|_0x51351b[_0x86629a>>>0x8&0xff]<<0x8|_0x51351b[_0x367c52&0xff])^_0x3f10d2[_0x14b557++],_0x48aed9=(_0x51351b[_0x1fbe00>>>0x18]<<0x18|_0x51351b[_0x86629a>>>0x10&0xff]<<0x10|_0x51351b[_0x367c52>>>0x8&0xff]<<0x8|_0x51351b[_0x2aa1e0&0xff])^_0x3f10d2[_0x14b557++],_0x3cea8e=(_0x51351b[_0x86629a>>>0x18]<<0x18|_0x51351b[_0x367c52>>>0x10&0xff]<<0x10|_0x51351b[_0x2aa1e0>>>0x8&0xff]<<0x8|_0x51351b[_0x1fbe00&0xff])^_0x3f10d2[_0x14b557++],_0x52e95a=(_0x51351b[_0x367c52>>>0x18]<<0x18|_0x51351b[_0x2aa1e0>>>0x10&0xff]<<0x10|_0x51351b[_0x1fbe00>>>0x8&0xff]<<0x8|_0x51351b[_0x86629a&0xff])^_0x3f10d2[_0x14b557++];_0x52a88a[_0x277d12]=_0x277c26,_0x52a88a[_0x277d12+0x1]=_0x48aed9,_0x52a88a[_0x277d12+0x2]=_0x3cea8e,_0x52a88a[_0x277d12+0x3]=_0x52e95a;},'keySize':0x100/0x20});_0x403653[_0x1570fb(0x29f)]=_0x47673c[_0x1570fb(0x1ca)](_0xfb14f5);}()),_0x53ea5c[_0x5d1b3f(0x29f)];}));}(fe)),fe[_0x4a4532(0x211)];}var wi=Pi();const Mi=ve(wi);var Li=Et();const it=ve(Li);var be={'exports':{}},xi=be[_0x50acdc(0x211)],nt;function ki(){var _0x108922=_0x50acdc;return nt||(nt=0x1,function(_0x4d9b69,_0x45faa0){(function(_0x5c1a74,_0x1e3bcd){var _0x301fc6=_0x5520;_0x4d9b69[_0x301fc6(0x211)]=_0x1e3bcd(Q());}(xi,function(_0x4477dc){var _0x19f991=_0x5520;return _0x4477dc[_0x19f991(0x29a)][_0x19f991(0x30d)];}));}(be)),be[_0x108922(0x211)];}var $i=ki();const Hi=ve($i);var Oe={'exports':{}},ji=Oe[_0x50acdc(0x211)],rt;function Bi(){return rt||(rt=0x1,function(_0x320b81,_0x5ab6fc){(function(_0xf6313,_0x9d0376){var _0x502566=_0x5520;_0x320b81[_0x502566(0x211)]=_0x9d0376(Q());}(ji,function(_0x3910bc){var _0x3d55ae=_0x5520;return(function(){var _0x25eb9c=_0x5520;if(typeof ArrayBuffer==_0x25eb9c(0x2e9)){var _0x4d2a37=_0x3910bc,_0x52a274=_0x4d2a37[_0x25eb9c(0x101)],_0x26ac81=_0x52a274[_0x25eb9c(0x2b5)],_0x571ffe=_0x26ac81['init'],_0x1df812=_0x26ac81['init']=function(_0x33a474){var _0x5b8e9c=_0x25eb9c;if(_0x33a474 instanceof ArrayBuffer&&(_0x33a474=new Uint8Array(_0x33a474)),(_0x33a474 instanceof Int8Array||typeof Uint8ClampedArray<'u'&&_0x33a474 instanceof Uint8ClampedArray||_0x33a474 instanceof Int16Array||_0x33a474 instanceof Uint16Array||_0x33a474 instanceof Int32Array||_0x33a474 instanceof Uint32Array||_0x33a474 instanceof Float32Array||_0x33a474 instanceof Float64Array)&&(_0x33a474=new Uint8Array(_0x33a474['buffer'],_0x33a474[_0x5b8e9c(0x33d)],_0x33a474['byteLength'])),_0x33a474 instanceof Uint8Array){for(var _0x3c0292=_0x33a474[_0x5b8e9c(0x3df)],_0x32e36c=[],_0x1f0041=0x0;_0x1f0041<_0x3c0292;_0x1f0041++)_0x32e36c[_0x1f0041>>>0x2]|=_0x33a474[_0x1f0041]<<0x18-_0x1f0041%0x4*0x8;_0x571ffe[_0x5b8e9c(0x2ac)](this,_0x32e36c,_0x3c0292);}else _0x571ffe[_0x5b8e9c(0x303)](this,arguments);};_0x1df812['prototype']=_0x26ac81;}}()),_0x3910bc[_0x3d55ae(0x101)]['WordArray'];}));}(Oe)),Oe['exports'];}var Fi=Bi();const Vi=ve(Fi);var Re={'exports':{}},Wi=Re[_0x50acdc(0x211)],st;function Gi(){return st||(st=0x1,function(_0x30ee03,_0x5a11e9){(function(_0x51ff41,_0x4973fa,_0xf13c67){var _0x3368ab=_0x5520;_0x30ee03[_0x3368ab(0x211)]=_0x4973fa(Q(),Tt());}(Wi,function(_0x5084ed){var _0x47bb29=_0x5520;return _0x5084ed[_0x47bb29(0x21a)]['NoPadding']={'pad':function(){},'unpad':function(){}},_0x5084ed[_0x47bb29(0x21a)][_0x47bb29(0x24d)];}));}(Re)),Re['exports'];}var Yi=Gi();const qi=ve(Yi);function Ki(_0x311e67,_0x2615d7){var _0x549109=_0x50acdc;const _0x5e229d=_0x2615d7-_0x311e67[_0x549109(0x31b)]%_0x2615d7,_0xf3e3a2=String[_0x549109(0x176)](_0x5e229d)[_0x549109(0x3d4)](_0x5e229d);return _0x311e67+_0xf3e3a2;}function zi(_0x7d6666,_0xa09006){var _0x1424be=_0x50acdc;const _0x5f43ab=Vi['random'](0x10),_0x3c846e=Ki(_0x7d6666,0x10),_0x2ace3c=Mi[_0x1424be(0x3a0)](Hi[_0x1424be(0x39d)](_0x3c846e),it[_0x1424be(0x39d)](_0xa09006),{'iv':_0x5f43ab,'padding':qi});return _0x5f43ab[_0x1424be(0x37d)](_0x2ace3c['ciphertext'])['toString'](it);}function Ji(){var _0x487fc0=_0x50acdc;const _0x1dcdd6=yt[_0x487fc0(0xf4)]()[_0x487fc0(0x163)];if(_0x1dcdd6){const _0x362beb={'time':Math[_0x487fc0(0x3b9)](Date[_0x487fc0(0x3aa)]()/0x3e8),'domain':location[_0x487fc0(0x3b6)]};return zi(JSON[_0x487fc0(0x8b)](_0x362beb),_0x1dcdd6);}}var Xi=Object[_0x50acdc(0x1c4)],Zi=(_0x561be3,_0xe3dbd3,_0x6b6f22,_0x4bf46e)=>{var _0x3e9f57=_0x50acdc;for(var _0x5ed44c=_0x4bf46e>0x1?void 0x0:_0x4bf46e?Xi(_0xe3dbd3,_0x6b6f22):_0xe3dbd3,_0x97a2bc=_0x561be3[_0x3e9f57(0x31b)]-0x1,_0x122f99;_0x97a2bc>=0x0;_0x97a2bc--)(_0x122f99=_0x561be3[_0x97a2bc])&&(_0x5ed44c=_0x122f99(_0x5ed44c)||_0x5ed44c);return _0x5ed44c;},Qi=(_0x12abbb,_0x3cbd5a)=>(_0x4a86c4,_0x874e0b)=>_0x3cbd5a(_0x4a86c4,_0x874e0b,_0x12abbb);let Ne=class{constructor(_0x3d1e49){var _0x14ef2b=_0x50acdc;this[_0x14ef2b(0xcc)]=_0x3d1e49,this[_0x14ef2b(0x79)]();}[_0x50acdc(0x79)](){var _0x13380f=_0x50acdc;this[_0x13380f(0xcc)][_0x13380f(0x377)]({'interceptor':(_0x4c699d,_0x975324)=>{var _0x5a08d1=_0x13380f;const _0x5c715f=_0x4c699d['headers'],_0xc3528c=Ji();return _0xc3528c&&_0x5c715f[_0x5a08d1(0x19b)](_0x5a08d1(0x197),_0xc3528c),_0x975324(_0x4c699d);}});}};Ne=Zi([Qi(0x0,a[_0x50acdc(0x93)](q[_0x50acdc(0x2eb)]))],Ne);var en=Object[_0x50acdc(0x1c4)],tn=(_0x13fbf8,_0x26e2f9,_0xc0af33,_0xbc4d48)=>{for(var _0x4ee587=_0xbc4d48>0x1?void 0x0:_0xbc4d48?en(_0x26e2f9,_0xc0af33):_0x26e2f9,_0x589da=_0x13fbf8['length']-0x1,_0x2d1f2b;_0x589da>=0x0;_0x589da--)(_0x2d1f2b=_0x13fbf8[_0x589da])&&(_0x4ee587=_0x2d1f2b(_0x4ee587)||_0x4ee587);return _0x4ee587;},we=(_0x2f7760,_0x49d285)=>(_0x9957e8,_0x23413a)=>_0x49d285(_0x9957e8,_0x23413a,_0x2f7760);exports['DataLoaderService']=class extends a[_0x50acdc(0x1fa)]{constructor(_0x279703,_0xb6d641,_0xb62390){var _0x15fc6b=_0x50acdc;super(),A(this,_0x15fc6b(0x2df),new H[(_0x15fc6b(0x1ea))](null)),A(this,_0x15fc6b(0x257),this[_0x15fc6b(0x2df)][_0x15fc6b(0x1c8)]()),(this[_0x15fc6b(0x164)]=_0x279703,this['_snapshotService']=_0xb6d641,this['_localCacheService']=_0xb62390);}async['loadUnitOfRevision'](_0x52adb8,_0x58691c,_0x564092){var _0x4d1c6e=_0x50acdc;this[_0x4d1c6e(0x2df)][_0x4d1c6e(0x30b)]({'unitId':_0x52adb8,'type':_0x58691c});let _0x5373ee=null;switch(_0x58691c){case J[_0x4d1c6e(0x2f3)]:{_0x5373ee=await this['_snapshotService']['loadSheet'](_0x52adb8,_0x564092);break;}case J[_0x4d1c6e(0x1c5)]:{_0x5373ee=await this[_0x4d1c6e(0x2f7)][_0x4d1c6e(0x1c1)](_0x52adb8,_0x564092);break;}default:{this['_logService'][_0x4d1c6e(0x253)](_0x4d1c6e(0x14f),'Unknown\x20type.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.');break;}}return _0x5373ee;}async[_0x50acdc(0x1f8)](_0x395088,_0x4ad211,_0x3e0f9f){var _0x3ce3fb=_0x50acdc,_0x545fa3;this[_0x3ce3fb(0x2df)][_0x3ce3fb(0x30b)]({'unitId':_0x395088,'type':_0x4ad211,'subUnitId':_0x3e0f9f});let _0x428aef=0x0;const _0x5c00fb=await((_0x545fa3=this['_localCacheService'])==null?void 0x0:_0x545fa3[_0x3ce3fb(0x25e)](_0x395088));return _0x5c00fb&&(_0x5c00fb[_0x3ce3fb(0xe9)]||_0x5c00fb[_0x3ce3fb(0x1db)][_0x3ce3fb(0x31b)]!==0x0)&&(_0x428aef=_0x5c00fb['rev']),_0x428aef===0x0&&this[_0x3ce3fb(0x164)][_0x3ce3fb(0x286)](_0x3ce3fb(0x14f),_0x3ce3fb(0x7c)),this[_0x3ce3fb(0x38c)](_0x395088,_0x4ad211,_0x428aef);}},exports[_0x50acdc(0x39c)]=tn([we(0x0,a[_0x50acdc(0x329)]),we(0x1,a['Inject'](p['SnapshotService'])),we(0x2,a[_0x50acdc(0x21e)](K))],exports[_0x50acdc(0x39c)]);var nn=Object[_0x50acdc(0x1c4)],rn=(_0x39f1e8,_0x50fb9a,_0x4cbee7,_0x1ed2d8)=>{var _0x1d8058=_0x50acdc;for(var _0x1f573d=_0x1ed2d8>0x1?void 0x0:_0x1ed2d8?nn(_0x50fb9a,_0x4cbee7):_0x50fb9a,_0x4664df=_0x39f1e8[_0x1d8058(0x31b)]-0x1,_0x1bfb0c;_0x4664df>=0x0;_0x4664df--)(_0x1bfb0c=_0x39f1e8[_0x4664df])&&(_0x1f573d=_0x1bfb0c(_0x1f573d)||_0x1f573d);return _0x1f573d;},Me=(_0x14a188,_0x1fd467)=>(_0x1d6878,_0x2cdc8f)=>_0x1fd467(_0x1d6878,_0x2cdc8f,_0x14a188);const sn=[_0x50acdc(0x152),'image/jpeg',_0x50acdc(0x285),_0x50acdc(0x32b),_0x50acdc(0x203)],on=0x5*0x400*0x400,an=_0x50acdc(0x22f),cn='/universer-api/file/{fileID}/sign-url';exports[_0x50acdc(0x87)]=class{constructor(_0x495edb,_0x59741c,_0x671976){var _0x12a174=_0x50acdc;A(this,_0x12a174(0xd8),0x0),A(this,'_change$',new H[(_0x12a174(0x20c))]()),A(this,_0x12a174(0x33f),this[_0x12a174(0x368)]),A(this,_0x12a174(0x2f1),new Map()),(this[_0x12a174(0xcc)]=_0x495edb,this[_0x12a174(0x7f)]=_0x59741c,this[_0x12a174(0x1d5)]=_0x671976);}[_0x50acdc(0x293)](_0x2e5d30){var _0x240759=_0x50acdc;this[_0x240759(0xd8)]=_0x2e5d30,this['_change$'][_0x240759(0x30b)](_0x2e5d30);}['getImageSourceCache'](_0x2ae114,_0x2e0256){var _0x4e50e1=_0x50acdc;if(_0x2e0256===z[_0x4e50e1(0x85)][_0x4e50e1(0x3cc)]){const _0x357f6e=new Image();return _0x357f6e[_0x4e50e1(0x38d)]=_0x2ae114,_0x357f6e;}return this[_0x4e50e1(0x2f1)][_0x4e50e1(0x230)](_0x2ae114);}[_0x50acdc(0x2b2)](_0x3914f0,_0x1fc7b9,_0x271a8f){var _0x470ef6=_0x50acdc;_0x1fc7b9===z['ImageSourceType'][_0x470ef6(0x3cc)]||_0x271a8f==null||this[_0x470ef6(0x2f1)][_0x470ef6(0x19b)](_0x3914f0,_0x271a8f);}async['getImage'](_0x5b63b6){var _0x3c75bf=_0x50acdc;try{const _0x176eaa=this[_0x3c75bf(0x1c7)](this[_0x3c75bf(0xf7)](),''+_0x5b63b6),_0x327651=(await this['_httpService'][_0x3c75bf(0x230)](_0x176eaa))[_0x3c75bf(0x3cb)];if(_0x327651[_0x3c75bf(0x253)]&&_0x327651[_0x3c75bf(0x253)][_0x3c75bf(0x156)]===dt['OK']){const _0x5ccdb8=new URL(_0x327651[_0x3c75bf(0x218)],this[_0x3c75bf(0x310)]())[_0x3c75bf(0x147)]();return Promise[_0x3c75bf(0x149)](_0x5ccdb8);}return Promise['reject'](_0x327651[_0x3c75bf(0x253)]);}catch(_0x1d13a8){return Promise[_0x3c75bf(0x188)](_0x1d13a8);}}async[_0x50acdc(0x3c8)](_0x1897b9){var _0x4f7927=_0x50acdc;let _0x585ea6='';if(!sn[_0x4f7927(0x376)](_0x1897b9[_0x4f7927(0x1e9)]))return this[_0x4f7927(0x39a)](),Promise[_0x4f7927(0x188)](new Error(z[_0x4f7927(0xeb)][_0x4f7927(0xee)]));if(_0x1897b9[_0x4f7927(0x9d)]>on)return this[_0x4f7927(0x39a)](),Promise[_0x4f7927(0x188)](new Error(z[_0x4f7927(0xeb)][_0x4f7927(0x3cf)]));try{const _0x55d7d1=new FormData();_0x55d7d1[_0x4f7927(0x324)]('file',_0x1897b9);const _0xf889f2=this['_univerInstanceService'][_0x4f7927(0x96)](),_0x3aaaa8=_0xf889f2==null?void 0x0:_0xf889f2[_0x4f7927(0xc5)]();if(!_0x3aaaa8)throw new Error('unitId\x20is\x20not\x20found');const _0x1c6f44=this[_0x4f7927(0x39e)]()+'?size='+_0x1897b9[_0x4f7927(0x9d)][_0x4f7927(0x147)]()+_0x4f7927(0x34d)+vt[_0x4f7927(0x9b)]+_0x4f7927(0x1dd)+encodeURIComponent(_0x3aaaa8),_0x22f0ff={'body':_0x55d7d1},_0x34b2b5=(await this[_0x4f7927(0xcc)][_0x4f7927(0x288)](_0x1c6f44,_0x22f0ff))[_0x4f7927(0x3cb)];if(typeof _0x34b2b5[_0x4f7927(0x3ae)]!=_0x4f7927(0x102))return this[_0x4f7927(0x39a)](),Promise[_0x4f7927(0x188)](new Error(z[_0x4f7927(0xeb)][_0x4f7927(0x357)]));_0x585ea6=_0x34b2b5['FileId'];}catch{return this[_0x4f7927(0x39a)](),Promise[_0x4f7927(0x188)](new Error(z[_0x4f7927(0xeb)][_0x4f7927(0x357)]));}return new Promise((_0x5813b9,_0x5925e7)=>{var _0xffab9e=_0x4f7927;const _0x46b478=new FileReader();_0x46b478[_0xffab9e(0x20b)](_0x1897b9),_0x46b478[_0xffab9e(0x8f)]=_0x5d4cba=>{var _0x5b22b6=_0xffab9e,_0x93028b;const _0x5a1ea5=(_0x93028b=_0x5d4cba[_0x5b22b6(0xc9)])==null?void 0x0:_0x93028b['result'];if(_0x5a1ea5==null){this['_decreaseWaiting'](),_0x5925e7(new Error(z[_0x5b22b6(0xeb)][_0x5b22b6(0x357)]));return;}const _0x2c6f9a=a[_0x5b22b6(0x14a)](0x6);_0x5813b9({'imageId':_0x2c6f9a,'imageSourceType':z['ImageSourceType'][_0x5b22b6(0x266)],'source':_0x585ea6,'base64Cache':_0x5a1ea5,'status':z[_0x5b22b6(0xeb)][_0x5b22b6(0x1dc)]}),this['_decreaseWaiting']();};});}[_0x50acdc(0x39e)](){var _0xe9038=_0x50acdc,_0x2f1b2f;const _0x5550c6=this[_0xe9038(0x7f)][_0xe9038(0x279)](Y);return(_0x2f1b2f=_0x5550c6==null?void 0x0:_0x5550c6['uploadFileServerUrl'])!=null?_0x2f1b2f:an;}[_0x50acdc(0xf7)](){var _0x5d97d8=_0x50acdc,_0x5e30ad;const _0x449a60=this[_0x5d97d8(0x7f)][_0x5d97d8(0x279)](Y);return(_0x5e30ad=_0x449a60==null?void 0x0:_0x449a60[_0x5d97d8(0x3b0)])!=null?_0x5e30ad:cn;}[_0x50acdc(0x310)](){var _0xd1fc1b=_0x50acdc,_0x277b39;const _0x473bcb=this[_0xd1fc1b(0x7f)][_0xd1fc1b(0x279)](Y);return(_0x277b39=_0x473bcb==null?void 0x0:_0x473bcb[_0xd1fc1b(0xb7)])!=null?_0x277b39:location[_0xd1fc1b(0x11c)];}['_replaceFileID'](_0x2c5eff,_0x2c197e){var _0x523057=_0x50acdc;return _0x2c5eff[_0x523057(0x2ca)](_0x523057(0x349),_0x2c197e);}[_0x50acdc(0x39a)](){var _0x7bc5ba=_0x50acdc;this[_0x7bc5ba(0xd8)]-=0x1,this[_0x7bc5ba(0x368)][_0x7bc5ba(0x30b)](this[_0x7bc5ba(0xd8)]);}},exports[_0x50acdc(0x87)]=rn([Me(0x0,a[_0x50acdc(0x93)](q[_0x50acdc(0x2eb)])),Me(0x1,a[_0x50acdc(0xda)]),Me(0x2,a[_0x50acdc(0x93)](a[_0x50acdc(0xa5)]))],exports[_0x50acdc(0x87)]);var hn=Object[_0x50acdc(0x1c4)],_n=(_0x541a65,_0x62c34b,_0x3af5fa,_0x177323)=>{var _0x261d33=_0x50acdc;for(var _0x21d003=_0x177323>0x1?void 0x0:_0x177323?hn(_0x62c34b,_0x3af5fa):_0x62c34b,_0x4832df=_0x541a65[_0x261d33(0x31b)]-0x1,_0x5f29df;_0x4832df>=0x0;_0x4832df--)(_0x5f29df=_0x541a65[_0x4832df])&&(_0x21d003=_0x5f29df(_0x21d003)||_0x21d003);return _0x21d003;},ot=(_0x427c89,_0x30fd41)=>(_0x1284f3,_0x27a34e)=>_0x30fd41(_0x1284f3,_0x27a34e,_0x427c89);const ln=_0x50acdc(0x97);exports[_0x50acdc(0x167)]=class{constructor(_0x3c90e4,_0x53baae){var _0x3a0b94=_0x50acdc;this[_0x3a0b94(0x7f)]=_0x3c90e4,this[_0x3a0b94(0x35c)]=_0x53baae;}[_0x50acdc(0x117)](){var _0x486b38=_0x50acdc,_0x32af03;const _0x23f6d1=this[_0x486b38(0x7f)][_0x486b38(0x279)](Y);return(_0x32af03=_0x23f6d1==null?void 0x0:_0x23f6d1[_0x486b38(0x399)])!=null?_0x32af03:ln;}async[_0x50acdc(0x31e)](_0x45a2d1){var _0x3ef6eb=_0x50acdc;const _0x5bc9f2=this[_0x3ef6eb(0x117)]()+_0x3ef6eb(0x332);return{'list':[{'title':_0x3ef6eb(0xec),'mentions':(await this[_0x3ef6eb(0x35c)][_0x3ef6eb(0x230)](_0x5bc9f2,{'params':{'objectID':_0x45a2d1[_0x3ef6eb(0x13f)],'unitID':_0x45a2d1[_0x3ef6eb(0x13f)]}}))[_0x3ef6eb(0x3cb)][_0x3ef6eb(0xb1)][_0x3ef6eb(0x2cc)](_0x3bea0a=>({'objectId':_0x3bea0a['id'],'name':_0x3bea0a['subject'][_0x3ef6eb(0x270)],'metadata':{'icon':_0x3bea0a[_0x3ef6eb(0x2f5)][_0x3ef6eb(0x3b1)]},'label':_0x3bea0a[_0x3ef6eb(0x2f5)][_0x3ef6eb(0x270)],'objectType':a['MentionType'][_0x3ef6eb(0x3ed)]})),'metadata':{},'type':a[_0x3ef6eb(0x24b)][_0x3ef6eb(0x3ed)]}]};}},exports[_0x50acdc(0x167)]=_n([ot(0x0,a[_0x50acdc(0x93)](a[_0x50acdc(0xda)])),ot(0x1,a['Inject'](q[_0x50acdc(0x2eb)]))],exports['MentionIoHttpService']);var un=Object['getOwnPropertyDescriptor'],dn=(_0x401670,_0x5cf54e,_0x22f483,_0x1376ce)=>{for(var _0x584f2a=_0x1376ce>0x1?void 0x0:_0x1376ce?un(_0x5cf54e,_0x22f483):_0x5cf54e,_0x28b57f=_0x401670['length']-0x1,_0x142c38;_0x28b57f>=0x0;_0x28b57f--)(_0x142c38=_0x401670[_0x28b57f])&&(_0x584f2a=_0x142c38(_0x584f2a)||_0x584f2a);return _0x584f2a;},le=(_0x4294d9,_0x339168)=>(_0x513d03,_0x228fbb)=>_0x339168(_0x513d03,_0x228fbb,_0x4294d9);let De=class extends a[_0x50acdc(0x1fa)]{constructor(_0x2690a1,_0x11b9a4,_0x4d8bb2,_0x4c6e3f,_0x13818e){var _0x33713a=_0x50acdc;super(),this['_injector']=_0x2690a1,this[_0x33713a(0x1d5)]=_0x11b9a4,this[_0x33713a(0x185)]=_0x4d8bb2,this['_collaborationSessionService']=_0x4c6e3f,this[_0x33713a(0x22b)]=_0x13818e,this[_0x33713a(0x155)](),this['_initCloseConn']();}[_0x50acdc(0x382)](){var _0x5a75e8=_0x50acdc;const _0x39e15a=async _0x30f919=>{var _0x40201d=_0x5520;(await this[_0x40201d(0x2f0)]['requireSession'](_0x30f919))['event$'][_0x40201d(0x34b)](V[_0x40201d(0x372)](_0x298d0b=>_0x298d0b[_0x40201d(0x12e)]===p['CollaborationEvent'][_0x40201d(0x259)]),V['takeUntil'](this[_0x40201d(0x1a5)]))[_0x40201d(0x393)](_0x10106e=>{var _0x21ba8f=_0x40201d;const _0x436106=_0x10106e,{reason:_0x520905}=_0x436106[_0x21ba8f(0x33e)];this[_0x21ba8f(0x22b)][_0x21ba8f(0xc2)]({'id':Z['CLOSE_ROOM'],'data':_0x520905}),this['_permissionService'][_0x21ba8f(0x3bd)](new X[(_0x21ba8f(0x2c7))](_0x30f919)['id'],!0x1),this['_collaborationSessionService']['closeSession'](_0x30f919);});};H['merge'](this[_0x5a75e8(0x1d5)][_0x5a75e8(0x27e)](a['UniverInstanceType'][_0x5a75e8(0x2f3)]),this[_0x5a75e8(0x1d5)][_0x5a75e8(0x27e)](a['UniverInstanceType'][_0x5a75e8(0x1c5)]))[_0x5a75e8(0x34b)](V[_0x5a75e8(0x2cc)](_0x56daa4=>_0x56daa4[_0x5a75e8(0xc5)]()),V[_0x5a75e8(0x372)](_0x34513e=>!a[_0x5a75e8(0x173)](_0x34513e)),V[_0x5a75e8(0x2bf)](this[_0x5a75e8(0x1a5)]))[_0x5a75e8(0x393)](_0x36e376=>{_0x39e15a(_0x36e376);});}['_initUnitPermissionChange'](){var _0x3cc4bb=_0x50acdc;const _0x453ab1=async _0x5e9417=>{var _0x4743a6=_0x5520;const _0x939b9d=await this[_0x4743a6(0x2f0)][_0x4743a6(0x2b6)](_0x5e9417),_0x3a7adf=this[_0x4743a6(0xf3)][_0x4743a6(0x230)](X[_0x4743a6(0x300)]);_0x939b9d[_0x4743a6(0x291)]['pipe'](V[_0x4743a6(0x372)](_0xc1038b=>_0xc1038b[_0x4743a6(0x12e)]===p[_0x4743a6(0x2d7)][_0x4743a6(0x14c)]),V['takeUntil'](this[_0x4743a6(0x1a5)]))[_0x4743a6(0x393)](_0x296744=>{var _0x5ef469=_0x4743a6;const _0x1ed77f=_0x296744,{objectId:_0x1dbaf6}=_0x1ed77f[_0x5ef469(0x33e)];_0x1dbaf6===_0x5e9417?_0x3a7adf[_0x5ef469(0x348)](_0x5e9417):_0x3a7adf[_0x5ef469(0x284)](_0x5e9417,_0x1dbaf6);});};H[_0x3cc4bb(0x27b)](this['_univerInstanceService']['getTypeOfUnitAdded$'](a[_0x3cc4bb(0x2cf)][_0x3cc4bb(0x2f3)]))[_0x3cc4bb(0x34b)](V[_0x3cc4bb(0x2cc)](_0x460cb3=>_0x460cb3[_0x3cc4bb(0xc5)]()),V[_0x3cc4bb(0x372)](_0x383c9c=>!a[_0x3cc4bb(0x173)](_0x383c9c)),V[_0x3cc4bb(0x2bf)](this[_0x3cc4bb(0x1a5)]))['subscribe'](_0x30441d=>{_0x453ab1(_0x30441d);});}};De=dn([le(0x0,a['Inject'](a['Injector'])),le(0x1,a[_0x50acdc(0xa5)]),le(0x2,a[_0x50acdc(0x158)]),le(0x3,a[_0x50acdc(0x93)](exports['CollaborationSessionService'])),le(0x4,a[_0x50acdc(0x93)](ee))],De);var vn=Object[_0x50acdc(0x1c4)],Sn=(_0x25190f,_0x11b61a,_0x44c008,_0x5c2fde)=>{var _0x359e7b=_0x50acdc;for(var _0x38efc7=_0x5c2fde>0x1?void 0x0:_0x5c2fde?vn(_0x11b61a,_0x44c008):_0x11b61a,_0x7ce676=_0x25190f[_0x359e7b(0x31b)]-0x1,_0x5c6a9d;_0x7ce676>=0x0;_0x7ce676--)(_0x5c6a9d=_0x25190f[_0x7ce676])&&(_0x38efc7=_0x5c6a9d(_0x38efc7)||_0x38efc7);return _0x38efc7;},at=(_0x52f68f,_0x530a78)=>(_0x18504e,_0x5c018e)=>_0x530a78(_0x18504e,_0x5c018e,_0x52f68f);exports[_0x50acdc(0xd9)]=class{constructor(_0x408412,_0x5c8d2f){var _0x215823=_0x50acdc;this[_0x215823(0x7f)]=_0x408412,this[_0x215823(0xcc)]=_0x5c8d2f;}async[_0x50acdc(0x82)](_0x4e17b0,_0x3b2f46){var _0x51a9e7=_0x50acdc,_0x48cb9b;const {unitID:_0x587781,type:_0x48fe11,revision:_0x2a3b0c=0x0}=_0x3b2f46,_0x5affc9=this[_0x51a9e7(0x2ea)]()+'/'+_0x48fe11+_0x51a9e7(0xfc)+_0x587781+_0x51a9e7(0x3a4)+_0x2a3b0c,_0x1000a3=(await this[_0x51a9e7(0xcc)][_0x51a9e7(0x230)](_0x5affc9))[_0x51a9e7(0x3cb)],_0x5c2369=(_0x48cb9b=_0x1000a3[_0x51a9e7(0x380)])==null?void 0x0:_0x48cb9b[_0x51a9e7(0x212)];if(_0x5c2369){const _0x2a1684=_0x5c2369==null?void 0x0:_0x5c2369[_0x51a9e7(0x1d7)],_0x3e866e=p[_0x51a9e7(0x1b7)][_0x51a9e7(0x114)](p[_0x51a9e7(0x1cc)](_0x2a1684));_0x5c2369[_0x51a9e7(0x1d7)]=_0x3e866e,Object[_0x51a9e7(0x328)](_0x5c2369[_0x51a9e7(0x3c4)])[_0x51a9e7(0x198)](([,_0x2d88c1])=>{var _0x789713=_0x51a9e7;const _0x5c6e21=_0x2d88c1[_0x789713(0x1d7)],_0x449977=p[_0x789713(0x1b7)]['encode'](p[_0x789713(0x1cc)](_0x5c6e21));_0x2d88c1['originalMeta']=_0x449977;});}return _0x1000a3;}async['getSheetBlock'](_0x519e0d,_0xb8d31d){var _0x455624=_0x50acdc;const {unitID:_0x40f365,type:_0xaa7b63,blockID:_0x70a3f3}=_0xb8d31d,_0x2fb274=this[_0x455624(0x1ec)]()+'/'+_0xaa7b63+'/unit/'+_0x40f365+_0x455624(0x268)+_0x70a3f3;return(await this[_0x455624(0xcc)][_0x455624(0x230)](_0x2fb274))['body'];}async['getDeserializedSheetBlock'](_0x252e1b,_0x5cc9be){var _0x410062=_0x50acdc;const {unitID:_0x40044c,type:_0x576b9e,blockID:_0x42dd54}=_0x5cc9be,_0x44897b=this[_0x410062(0x1ec)]()+_0x410062(0x268)+_0x576b9e+_0x410062(0xfc)+_0x40044c+_0x410062(0x268)+_0x42dd54;return(await this[_0x410062(0xcc)][_0x410062(0x230)](_0x44897b))['body'];}async[_0x50acdc(0x2ee)](_0x38458a,_0x459a19){var _0x3061d2=_0x50acdc;const {unitID:_0x557a29,type:_0x80cc10,from:_0x23df45,to:_0x23bc14}=_0x459a19,_0xbd0bdd=this[_0x3061d2(0x1ec)]()+'/'+_0x80cc10+_0x3061d2(0xfc)+_0x557a29+_0x3061d2(0xcd)+_0x23df45+'&to='+_0x23bc14;return(await this[_0x3061d2(0xcc)][_0x3061d2(0x230)](_0xbd0bdd))[_0x3061d2(0x3cb)];}[_0x50acdc(0x2ea)](){var _0x58449a=_0x50acdc,_0x15b4f8;return(_0x15b4f8=this[_0x58449a(0x7f)][_0x58449a(0x279)](Dt))!=null?_0x15b4f8:this[_0x58449a(0x1ec)]();}['_getAPIPrefix'](){var _0x4d8490=_0x50acdc,_0x209574;const _0x5b1a1d=this[_0x4d8490(0x7f)]['getConfig'](Y);return(_0x209574=_0x5b1a1d==null?void 0x0:_0x5b1a1d[_0x4d8490(0x2a5)])!=null?_0x209574:Nt;}async[_0x50acdc(0x139)](_0x45610e,_0x3fb243){var _0x4e3670=_0x50acdc;const _0x2ab7eb=_0x4e3670(0x3b3)+_0x3fb243[_0x4e3670(0x1e9)]+_0x4e3670(0xfc)+_0x3fb243[_0x4e3670(0xc1)]+_0x4e3670(0x18c);return(await this[_0x4e3670(0xcc)][_0x4e3670(0x230)](_0x2ab7eb,{'params':{'resourceId':JSON[_0x4e3670(0x8b)](_0x3fb243[_0x4e3670(0x196)])}}))[_0x4e3670(0x3cb)];}[_0x50acdc(0x17c)](){var _0x3f5f0b=_0x50acdc;throw new Error(_0x3f5f0b(0x3b4));}[_0x50acdc(0x273)](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}['saveSheetBlock'](){var _0x3ffdb7=_0x50acdc;throw new Error(_0x3ffdb7(0x3b4));}[_0x50acdc(0xa3)](){var _0xf3133a=_0x50acdc;throw new Error(_0xf3133a(0x3b4));}[_0x50acdc(0x325)](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}[_0x50acdc(0x292)](){var _0x52a27f=_0x50acdc;throw new Error(_0x52a27f(0x3b4));}},exports[_0x50acdc(0xd9)]=Sn([at(0x0,a[_0x50acdc(0xda)]),at(0x1,a[_0x50acdc(0x93)](q['HTTPService']))],exports[_0x50acdc(0xd9)]);var fn=Object[_0x50acdc(0x1c4)],In=(_0x8ed2d4,_0x373c9d,_0x32c272,_0x258f3)=>{var _0x839703=_0x50acdc;for(var _0x74a7b7=_0x258f3>0x1?void 0x0:_0x258f3?fn(_0x373c9d,_0x32c272):_0x373c9d,_0x18d7cf=_0x8ed2d4[_0x839703(0x31b)]-0x1,_0x1ff885;_0x18d7cf>=0x0;_0x18d7cf--)(_0x1ff885=_0x8ed2d4[_0x18d7cf])&&(_0x74a7b7=_0x1ff885(_0x74a7b7)||_0x74a7b7);return _0x74a7b7;},ue=(_0x4feea8,_0x5975dd)=>(_0x36e050,_0x5c346d)=>_0x5975dd(_0x36e050,_0x5c346d,_0x4feea8);exports[_0x50acdc(0x2c3)]=class extends a[_0x50acdc(0x2ec)]{constructor(_0x5c456b,_0x5a7e5e,_0x17eb63,_0x2caa2d,_0xe4c6c0){var _0x13a486=_0x50acdc;super(_0x5c456b,_0x5a7e5e,_0x17eb63),this['_transformService']=_0x2caa2d,this[_0x13a486(0x164)]=_0xe4c6c0;}[_0x50acdc(0x116)](_0x1fc114,_0x287379){var _0x17aa13=_0x50acdc;const _0x23bccc=this[_0x17aa13(0x2c1)](_0x1fc114);if(_0x23bccc)try{const _0x47149a=this[_0x17aa13(0x287)](_0x23bccc,_0x287379);this['_substituteUndoStack'](_0x1fc114,_0x47149a);}catch(_0x38c1e0){this[_0x17aa13(0x164)]['error']('[CollaborationUndoRedoService]',_0x38c1e0),this['_clearUndo'](_0x1fc114);}const _0x5c9e7=this['_getRedoStack'](_0x1fc114);if(_0x5c9e7)try{const _0x9e9737=this['_transformStack'](_0x5c9e7,_0x287379);this[_0x17aa13(0x39b)](_0x1fc114,_0x9e9737);}catch(_0x128288){this[_0x17aa13(0x164)][_0x17aa13(0x253)](_0x128288),this['_clearRedo'](_0x1fc114);}}[_0x50acdc(0xa8)](_0x2a0535){var _0x54e7d9=_0x50acdc;const _0x1a9351=this[_0x54e7d9(0x2c1)](_0x2a0535);_0x1a9351&&(_0x1a9351[_0x54e7d9(0x31b)]=0x0,this[_0x54e7d9(0x157)]());}[_0x50acdc(0x2f4)](_0x138a01){var _0x2cd80e=_0x50acdc;const _0xf3b745=this[_0x2cd80e(0x355)](_0x138a01);_0xf3b745&&(_0xf3b745['length']=0x0,this['_updateStatus']());}[_0x50acdc(0x88)](_0xa02c36,_0x2d91b9){var _0xe48d8a=_0x50acdc;this[_0xe48d8a(0x189)][_0xe48d8a(0x19b)](_0xa02c36,_0x2d91b9),this[_0xe48d8a(0x157)]();}[_0x50acdc(0x39b)](_0x1cfc11,_0x34a9c3){var _0x321495=_0x50acdc;this[_0x321495(0x2c4)][_0x321495(0x19b)](_0x1cfc11,_0x34a9c3),this[_0x321495(0x157)]();}[_0x50acdc(0x287)](_0x32ff51,_0x2400f1){var _0x1f44b1=_0x50acdc;const _0x22012d=[];let _0x26ed09=_0x2400f1,_0x295f4d=_0x2400f1;for(let _0x366c6c=_0x32ff51[_0x1f44b1(0x31b)]-0x1;_0x366c6c>=0x0;_0x366c6c--){const {unitID:_0x3830f1,undoMutations:_0x4931eb,redoMutations:_0x40d48a}=_0x32ff51[_0x366c6c],_0x41e760=this['_transformService']['transformMutationsWithChangeset'](_0x26ed09,_0x4931eb),_0x58f94b=this[_0x1f44b1(0x275)][_0x1f44b1(0x3a2)](_0x295f4d,_0x40d48a);if(p[_0x1f44b1(0x1ce)](_0x41e760)||p[_0x1f44b1(0x1ce)](_0x58f94b)){this[_0x1f44b1(0x164)][_0x1f44b1(0x253)](_0x1f44b1(0x3c7),_0x1f44b1(0x345),_0x41e760,_0x58f94b);break;}_0x26ed09=_0x41e760[_0x1f44b1(0xb4)],_0x295f4d=_0x58f94b['c1Prime'],_0x22012d[_0x1f44b1(0x3a3)]({'unitID':_0x3830f1,'undoMutations':_0x41e760['m2Prime'],'redoMutations':_0x58f94b['m2Prime']});}return _0x22012d[_0x1f44b1(0x2fe)]();}},exports[_0x50acdc(0x2c3)]=In([ue(0x0,a[_0x50acdc(0xa5)]),ue(0x1,a['ICommandService']),ue(0x2,a['IContextService']),ue(0x3,p[_0x50acdc(0x19a)]),ue(0x4,a['ILogService'])],exports['CollaborativeUndoRedoService']);var pn=Object[_0x50acdc(0x26c)],mn=Object[_0x50acdc(0x1c4)],gn=(_0x1f30f5,_0x35fb64,_0x4c1f51)=>_0x35fb64 in _0x1f30f5?pn(_0x1f30f5,_0x35fb64,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x4c1f51}):_0x1f30f5[_0x35fb64]=_0x4c1f51,En=(_0x1eff4a,_0x173d96,_0x235a31,_0x54f27f)=>{var _0x1c487d=_0x50acdc;for(var _0x216d6c=_0x54f27f>0x1?void 0x0:_0x54f27f?mn(_0x173d96,_0x235a31):_0x173d96,_0x4e3e0e=_0x1eff4a[_0x1c487d(0x31b)]-0x1,_0x2bf53c;_0x4e3e0e>=0x0;_0x4e3e0e--)(_0x2bf53c=_0x1eff4a[_0x4e3e0e])&&(_0x216d6c=_0x2bf53c(_0x216d6c)||_0x216d6c);return _0x216d6c;},Le=(_0x4b253c,_0x10aaab)=>(_0x57d72d,_0x3bfd04)=>_0x10aaab(_0x57d72d,_0x3bfd04,_0x4b253c),Cn=(_0x1a304b,_0x56fad,_0x5ca5f7)=>gn(_0x1a304b,_0x56fad+'',_0x5ca5f7);const Tn=_0x50acdc(0x1ad);exports[_0x50acdc(0x1da)]=class extends a[_0x50acdc(0x1fd)]{constructor(_0x2dcc71,_0x41d5a8,_0x1a05da,_0xf22f26){var _0x2e0e2c=_0x50acdc;super(),A(this,_0x2e0e2c(0x27a)),(this['_logService']=_0x41d5a8,this[_0x2e0e2c(0xf3)]=_0x1a05da,this['_configService']=_0xf22f26);const {..._0x57fdc0}=a[_0x2e0e2c(0x27b)]({},Zt,_0x2dcc71);if(!_0x57fdc0[_0x2e0e2c(0x18b)])throw new Error('[UniverCollaborationClientPlugin]:\x20you\x20must\x20provide\x20a\x20socketService\x20implementation\x20in\x20config!');this[_0x2e0e2c(0x27a)]=_0x57fdc0,this[_0x2e0e2c(0x7f)][_0x2e0e2c(0x18a)](Y,_0x57fdc0);}['onStarting'](){var _0x414405=_0x50acdc;this[_0x414405(0x73)](),this[_0x414405(0x2ba)]();}[_0x50acdc(0x73)](){var _0x1813cc=_0x50acdc,_0x80588c,_0x19e1b1;this['_injector'][_0x1813cc(0x6f)](a[_0x1813cc(0x160)])&&this[_0x1813cc(0x164)]['error']('[UniverCollaborationClientPlugin]',_0x1813cc(0x2c0));const _0x3494c4=a[_0x1813cc(0x271)]([[a[_0x1813cc(0x160)],{'useClass':exports[_0x1813cc(0x2c3)]}],[exports[_0x1813cc(0x71)]],[exports[_0x1813cc(0x36b)]],[exports[_0x1813cc(0x26a)]],[ye],[Ne],[$e],[De],[ee],[exports['DataLoaderService']],[Fe,{'useClass':this[_0x1813cc(0x27a)][_0x1813cc(0x18b)]}],[p['ISnapshotServerService'],{'useClass':exports[_0x1813cc(0xd9)]}],[a[_0x1813cc(0x9f)],{'useClass':exports[_0x1813cc(0x225)]}],[z[_0x1813cc(0x331)],{'useClass':exports['CollaborationImageIoService']}],[a[_0x1813cc(0xe3)],{'useClass':exports[_0x1813cc(0x167)]}],[exports[_0x1813cc(0x361)]],[xe]],(_0x80588c=this[_0x1813cc(0x27a)])==null?void 0x0:_0x80588c['override']);if(!((_0x19e1b1=this[_0x1813cc(0x27a)])!=null&&_0x19e1b1[_0x1813cc(0x2fa)])){const _0x7cbc7b=_0x3494c4['findIndex'](([_0x566dc3])=>_0x566dc3===de);_0x7cbc7b!==-0x1&&_0x3494c4[_0x1813cc(0x17d)](_0x7cbc7b,0x1);}a['registerDependencies'](this[_0x1813cc(0xf3)],_0x3494c4);}[_0x50acdc(0x2ba)](){var _0x5c8a7f=_0x50acdc,_0x17601e,_0x69c000,_0x3f9365;this[_0x5c8a7f(0xf3)]['get'](q[_0x5c8a7f(0x2eb)])['registerHTTPInterceptor']({'priority':0x14,'interceptor':q[_0x5c8a7f(0x239)]({'maxParallel':0x6})}),(_0x17601e=this[_0x5c8a7f(0x27a)])!=null&&_0x17601e[_0x5c8a7f(0x38b)]||(_0x69c000=this[_0x5c8a7f(0xf3)][_0x5c8a7f(0x230)](K,a['Quantity'][_0x5c8a7f(0x1b3)]))==null||_0x69c000[_0x5c8a7f(0x296)](),(_0x3f9365=this['_config'])!=null&&_0x3f9365[_0x5c8a7f(0x354)]&&a[_0x5c8a7f(0x304)](this[_0x5c8a7f(0xf3)],[[ye]]),a[_0x5c8a7f(0x304)](this[_0x5c8a7f(0xf3)],[[Ne],[exports[_0x5c8a7f(0x361)]],[De]]);}},Cn(exports['UniverCollaborationClientPlugin'],'pluginName',Tn),exports[_0x50acdc(0x1da)]=En([a['DependentOn'](p['UniverCollaborationPlugin'],q[_0x50acdc(0x11f)]),Le(0x1,a[_0x50acdc(0x329)]),Le(0x2,a[_0x50acdc(0x93)](a[_0x50acdc(0x238)])),Le(0x3,a[_0x50acdc(0xda)])],exports['UniverCollaborationClientPlugin']),exports[_0x50acdc(0xf5)]=Y,exports[_0x50acdc(0x2a8)]=je,exports[_0x50acdc(0x36f)]=Z,exports[_0x50acdc(0x1e7)]=ee,exports[_0x50acdc(0x25b)]=$e,exports[_0x50acdc(0x367)]=ht,exports[_0x50acdc(0x2e6)]=jt,exports[_0x50acdc(0x28f)]=At,exports[_0x50acdc(0x39f)]=_t,exports[_0x50acdc(0x18f)]=ke,exports['ICollaborationSocketService']=Fe,exports[_0x50acdc(0x13b)]=K,exports[_0x50acdc(0x103)]=pt,exports['ISingleActiveUnitService']=de,exports[_0x50acdc(0x89)]=xt,exports[_0x50acdc(0x92)]=Lt,exports['REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY']=Ht,exports[_0x50acdc(0x320)]=ut,exports[_0x50acdc(0x221)]=re,exports[_0x50acdc(0xd0)]=He,exports[_0x50acdc(0x326)]=mt,exports[_0x50acdc(0x10e)]=Kt,exports[_0x50acdc(0x30e)]=gt;
|
|
1
|
+
'use strict';var _0x54341f=_0x2020;(function(_0x470e09,_0x3dcbcf){var _0x1d3966=_0x2020,_0x21e1d4=_0x470e09();while(!![]){try{var _0x2eb134=parseInt(_0x1d3966(0x2a9))/0x1*(-parseInt(_0x1d3966(0x3a7))/0x2)+parseInt(_0x1d3966(0x16e))/0x3*(parseInt(_0x1d3966(0x120))/0x4)+-parseInt(_0x1d3966(0x12f))/0x5*(-parseInt(_0x1d3966(0x36b))/0x6)+parseInt(_0x1d3966(0x170))/0x7+parseInt(_0x1d3966(0x305))/0x8+parseInt(_0x1d3966(0x414))/0x9*(-parseInt(_0x1d3966(0x36a))/0xa)+-parseInt(_0x1d3966(0x25f))/0xb;if(_0x2eb134===_0x3dcbcf)break;else _0x21e1d4['push'](_0x21e1d4['shift']());}catch(_0x3cd352){_0x21e1d4['push'](_0x21e1d4['shift']());}}}(_0x52d4,0xb62ac));var bt=Object[_0x54341f(0x1a9)],Ot=(_0x433c3e,_0x4ff27c,_0x463b53)=>_0x4ff27c in _0x433c3e?bt(_0x433c3e,_0x4ff27c,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x463b53}):_0x433c3e[_0x4ff27c]=_0x463b53,A=(_0x2fa3c8,_0x1c1ec0,_0x53774e)=>Ot(_0x2fa3c8,typeof _0x1c1ec0!=_0x54341f(0x418)?_0x1c1ec0+'':_0x1c1ec0,_0x53774e);Object[_0x54341f(0x1a9)](exports,Symbol['toStringTag'],{'value':_0x54341f(0x3eb)});const p=require('@univerjs-pro/collaboration'),a=require('@univerjs/core'),ct=require('@univerjs/docs'),X=require('@univerjs/sheets'),H=require('rxjs'),Rt=require('@univerjs/telemetry'),V=require('rxjs/operators'),q=require('@univerjs/network'),z=require('@univerjs/drawing'),yt=require('@univerjs-pro/license'),Nt='/universer-api/snapshot',Dt=_0x54341f(0xcd),Ut=0x7d0,ht=_0x54341f(0x2f7),At=_0x54341f(0x3af),_t=_0x54341f(0x311),Pt=0x7530,ke=_0x54341f(0x28b),lt=0x4e20,wt=0x4e20,ut=_0x54341f(0x24c),Mt=0x3,Lt=_0x54341f(0xf0),xt=0x3e8,kt=_0x54341f(0x374),$t=_0x54341f(0x2a1),Ht='REMOTE_UNISCRIPT_EXECUTION_ENDPOINT',jt='/universer-api/uniscript';var dt=(_0x3f13b7=>(_0x3f13b7[_0x3f13b7[_0x54341f(0x1c9)]=0x0]=_0x54341f(0x1c9),_0x3f13b7[_0x3f13b7['OK']=0x1]='OK',_0x3f13b7[_0x3f13b7['INTERNAL_ERROR']=0x2]='INTERNAL_ERROR',_0x3f13b7[_0x3f13b7[_0x54341f(0xf8)]=0x3]=_0x54341f(0xf8),_0x3f13b7[_0x3f13b7[_0x54341f(0x330)]=0x4]=_0x54341f(0x330),_0x3f13b7[_0x3f13b7[_0x54341f(0x31c)]=0x5]=_0x54341f(0x31c),_0x3f13b7[_0x3f13b7['ALREADY_EXISTS']=0x6]=_0x54341f(0x381),_0x3f13b7[_0x3f13b7[_0x54341f(0x1dd)]=0x7]='INVALID_ARGUMENT',_0x3f13b7[_0x3f13b7[_0x54341f(0x3ab)]=0x8]=_0x54341f(0x3ab),_0x3f13b7[_0x3f13b7[_0x54341f(0x154)]=0x9]='COMPLETION_FINISHED',_0x3f13b7[_0x3f13b7[_0x54341f(0x1e0)]=0xa]='LOGIN_FAILED',_0x3f13b7[_0x3f13b7[_0x54341f(0x252)]=0xb]=_0x54341f(0x252),_0x3f13b7[_0x3f13b7[_0x54341f(0x181)]=0xc]=_0x54341f(0x181),_0x3f13b7[_0x3f13b7[_0x54341f(0x40d)]=0xd]=_0x54341f(0x40d),_0x3f13b7[_0x3f13b7[_0x54341f(0x2cc)]=0xe]=_0x54341f(0x2cc),_0x3f13b7[_0x3f13b7[_0x54341f(0x287)]=0x1389]=_0x54341f(0x287),_0x3f13b7[_0x3f13b7[_0x54341f(0xf4)]=0x1771]=_0x54341f(0xf4),_0x3f13b7[_0x3f13b7[_0x54341f(0x13d)]=0x1772]=_0x54341f(0x13d),_0x3f13b7[_0x3f13b7[_0x54341f(0x18f)]=0x1773]=_0x54341f(0x18f),_0x3f13b7[_0x3f13b7[_0x54341f(0x24f)]=0x1b59]=_0x54341f(0x24f),_0x3f13b7[_0x3f13b7[_0x54341f(0x1ab)]=0x1b5a]=_0x54341f(0x1ab),_0x3f13b7[_0x3f13b7[_0x54341f(0x209)]=0x1b5b]=_0x54341f(0x209),_0x3f13b7[_0x3f13b7[_0x54341f(0x274)]=0x1b5c]=_0x54341f(0x274),_0x3f13b7[_0x3f13b7[_0x54341f(0xea)]=0x1b5d]=_0x54341f(0xea),_0x3f13b7[_0x3f13b7[_0x54341f(0x126)]=0x1f41]=_0x54341f(0x126),_0x3f13b7[_0x3f13b7[_0x54341f(0x157)]=0x2329]='LICENSE_MAX_UNITS_EXCEEDED',_0x3f13b7[_0x3f13b7[_0x54341f(0xc3)]=0x232a]=_0x54341f(0xc3),_0x3f13b7[_0x3f13b7[_0x54341f(0x346)]=0x232b]=_0x54341f(0x346),_0x3f13b7[_0x3f13b7[_0x54341f(0x165)]=0x232c]=_0x54341f(0x165),_0x3f13b7[_0x3f13b7['LICENSE_DISTRO_REJECTED']=0x232d]=_0x54341f(0x3de),_0x3f13b7[_0x3f13b7[_0x54341f(0x404)]=0x2711]=_0x54341f(0x404),_0x3f13b7[_0x3f13b7[_0x54341f(0xee)]=0x2712]=_0x54341f(0xee),_0x3f13b7[_0x3f13b7[_0x54341f(0x37b)]=0x2713]=_0x54341f(0x37b),_0x3f13b7[_0x3f13b7[_0x54341f(0x178)]=0x2714]=_0x54341f(0x178),_0x3f13b7[_0x3f13b7[_0x54341f(0xe4)]=0x271a]=_0x54341f(0xe4),_0x3f13b7[_0x3f13b7['YUUMI_ASYNCIO_CANCELLED']=0x271b]=_0x54341f(0x289),_0x3f13b7[_0x3f13b7[_0x54341f(0x2ea)]=0x271c]=_0x54341f(0x2ea),_0x3f13b7[_0x3f13b7[_0x54341f(0x3db)]=0x271d]=_0x54341f(0x3db),_0x3f13b7[_0x3f13b7[_0x54341f(0x17f)]=0x271e]=_0x54341f(0x17f),_0x3f13b7[_0x3f13b7[_0x54341f(0x153)]=0x271f]='YUUMI_AI_RUN_FAILED',_0x3f13b7[_0x3f13b7['YUUMI_CONNECTOR_URL_NOT_FOUND']=0x2720]='YUUMI_CONNECTOR_URL_NOT_FOUND',_0x3f13b7[_0x3f13b7['PY_RUNTIME_SCRIPT_ERROR']=0x2af9]=_0x54341f(0x232),_0x3f13b7[_0x3f13b7['INVITE_CODE_HAS_BEEN_UES']=0x2ee1]=_0x54341f(0x2e0),_0x3f13b7[_0x3f13b7['INVALID_INVITE_CODE']=0x2ee2]=_0x54341f(0x1a3),_0x3f13b7[_0x3f13b7[_0x54341f(0x1e1)]=0x2ee3]=_0x54341f(0x1e1),_0x3f13b7[_0x3f13b7[_0x54341f(0xcb)]=0x2ee4]=_0x54341f(0xcb),_0x3f13b7[_0x3f13b7['INVITE_CODE_ALREADY_BOUND']=0x2ee5]=_0x54341f(0x255),_0x3f13b7[_0x3f13b7[_0x54341f(0x1eb)]=0x32c9]='WECHAT_HAS_BEEN_BOUND',_0x3f13b7[_0x3f13b7[_0x54341f(0x2b7)]=0x32ca]=_0x54341f(0x2b7),_0x3f13b7[_0x3f13b7['EMAIL_HAS_BEEN_BOUND']=0x32cb]=_0x54341f(0x35e),_0x3f13b7[_0x3f13b7[_0x54341f(0x2bf)]=-0x1]=_0x54341f(0x2bf),_0x3f13b7))(dt||{}),J=(_0x104f86=>(_0x104f86[_0x104f86[_0x54341f(0x32b)]=0x0]=_0x54341f(0x32b),_0x104f86[_0x104f86['UNIVER_DOC']=0x1]=_0x54341f(0x254),_0x104f86[_0x104f86['UNIVER_SHEET']=0x2]=_0x54341f(0x3ae),_0x104f86[_0x104f86[_0x54341f(0x26f)]=0x3]='UNIVER_SLIDE',_0x104f86[_0x104f86[_0x54341f(0xe6)]=0x4]=_0x54341f(0xe6),_0x104f86[_0x104f86[_0x54341f(0x2bf)]=-0x1]=_0x54341f(0x2bf),_0x104f86))(J||{}),W=(_0x4d2dff=>(_0x4d2dff[_0x4d2dff[_0x54341f(0x339)]=0x0]=_0x54341f(0x339),_0x4d2dff[_0x4d2dff['HELLO']=0x1]='HELLO',_0x4d2dff[_0x4d2dff['JOIN']=0x2]=_0x54341f(0x276),_0x4d2dff[_0x4d2dff['LEAVE']=0x3]=_0x54341f(0x33c),_0x4d2dff[_0x4d2dff['INGEST']=0x4]=_0x54341f(0x160),_0x4d2dff[_0x4d2dff[_0x54341f(0x3c2)]=0x5]=_0x54341f(0x3c2),_0x4d2dff[_0x4d2dff[_0x54341f(0x27b)]=0x6]=_0x54341f(0x27b),_0x4d2dff[_0x4d2dff[_0x54341f(0x2bf)]=-0x1]='UNRECOGNIZED',_0x4d2dff))(W||{}),se=(_0xc0528=>(_0xc0528[_0xc0528['UNKNOWN_CODE']=0x0]=_0x54341f(0x35a),_0xc0528[_0xc0528['OK']=0x1]='OK',_0xc0528[_0xc0528[_0x54341f(0xc4)]=0x2]=_0x54341f(0xc4),_0xc0528[_0xc0528[_0x54341f(0x37f)]=0x3e9]=_0x54341f(0x37f),_0xc0528[_0xc0528[_0x54341f(0x26e)]=0x3ea]='JOIN_ROOM_NOT_EXISTS',_0xc0528[_0xc0528[_0x54341f(0x2c1)]=0x3eb]=_0x54341f(0x2c1),_0xc0528[_0xc0528[_0x54341f(0x21f)]=0x3ec]=_0x54341f(0x21f),_0xc0528[_0xc0528[_0x54341f(0x2bf)]=-0x1]=_0x54341f(0x2bf),_0xc0528))(se||{}),vt=(_0x5118b9=>(_0x5118b9[_0x5118b9[_0x54341f(0x2ad)]=0x0]='Undefined',_0x5118b9[_0x5118b9[_0x54341f(0x2dd)]=0x1]=_0x54341f(0x2dd),_0x5118b9[_0x5118b9['HttpExport']=0x2]='HttpExport',_0x5118b9[_0x5118b9['UnitEmbedded']=0x3]='UnitEmbedded',_0x5118b9[_0x5118b9[_0x54341f(0x359)]=0x4]='UnitSnapshot',_0x5118b9[_0x5118b9['UserProfileImg']=0x5]=_0x54341f(0x40b),_0x5118b9[_0x5118b9['UNRECOGNIZED']=-0x1]=_0x54341f(0x2bf),_0x5118b9))(vt||{});const Bt=_0x54341f(0x1c3);function Ft(_0x2ec3be){var _0x3197dc=_0x54341f;return JSON[_0x3197dc(0x3ef)](_0x2ec3be)[_0x3197dc(0x1e8)];}var Z=(_0x40628d=>(_0x40628d[_0x54341f(0x22a)]='OTHER_CLIENT_EDITING',_0x40628d['PERMISSION_DENIED']=_0x54341f(0xf8),_0x40628d[_0x54341f(0x281)]='CONFLICT',_0x40628d['CLOSE_ROOM']=_0x54341f(0x1e6),_0x40628d[_0x54341f(0x245)]=_0x54341f(0x245),_0x40628d[_0x54341f(0x112)]=_0x54341f(0x112),_0x40628d['SOCKET_FAILED']='SOCKET_FAILED',_0x40628d['SUBMIT_CHANGESET_TIMEOUT']=_0x54341f(0x1f6),_0x40628d))(Z||{});class ee{constructor(){var _0xe60ffb=_0x54341f;A(this,_0xe60ffb(0xe7),new H[(_0xe60ffb(0x1f5))]()),A(this,'event$',this['_event$'][_0xe60ffb(0x131)]());}[_0x54341f(0x393)](_0x4cd118){var _0x2032b2=_0x54341f;this[_0x2032b2(0xe7)][_0x2032b2(0x23b)](_0x4cd118);}}class $e{constructor(){var _0x2233ff=_0x54341f;A(this,'_commentUpdate$',new H[(_0x2233ff(0x1f5))]()),A(this,_0x2233ff(0x24d),this[_0x2233ff(0x364)][_0x2233ff(0x131)]());}[_0x54341f(0x20f)](_0x1db879){var _0x37d666=_0x54341f;this['_commentUpdate$'][_0x37d666(0x23b)](_0x1db879);}}var Vt=Object[_0x54341f(0x2d4)],Wt=(_0x40d0bd,_0x557f8a,_0x21425c,_0x5266f3)=>{var _0x51e5cb=_0x54341f;for(var _0x19e2cd=_0x5266f3>0x1?void 0x0:_0x5266f3?Vt(_0x557f8a,_0x21425c):_0x557f8a,_0x2d6b00=_0x40d0bd[_0x51e5cb(0x1e8)]-0x1,_0x4d8dda;_0x2d6b00>=0x0;_0x2d6b00--)(_0x4d8dda=_0x40d0bd[_0x2d6b00])&&(_0x19e2cd=_0x4d8dda(_0x19e2cd)||_0x19e2cd);return _0x19e2cd;},Ve=(_0x4ab83d,_0x2deeae)=>(_0xaaea65,_0x58337d)=>_0x2deeae(_0xaaea65,_0x58337d,_0x4ab83d);exports['MemberService']=class extends a[_0x54341f(0x382)]{constructor(_0x253a73,_0x36a006){var _0x2d235d=_0x54341f;super(),A(this,'_roomMembers',new Map()),A(this,_0x2d235d(0x123),new H['Subject']()),(this[_0x2d235d(0x246)]=_0x253a73,this[_0x2d235d(0x2d6)]=_0x36a006,this[_0x2d235d(0x38f)](H['merge'](this[_0x2d235d(0x246)]['getTypeOfUnitDisposed$'](a[_0x2d235d(0x410)][_0x2d235d(0x3ae)])[_0x2d235d(0x26d)](V[_0x2d235d(0x30f)](_0x386aeb=>_0x386aeb[_0x2d235d(0x1c4)]())),this[_0x2d235d(0x246)]['getTypeOfUnitDisposed$'](a[_0x2d235d(0x410)]['UNIVER_DOC'])['pipe'](V['map'](_0x29be00=>_0x29be00[_0x2d235d(0x1c4)]())),this[_0x2d235d(0x246)][_0x2d235d(0x30b)](a[_0x2d235d(0x410)][_0x2d235d(0x26f)])[_0x2d235d(0x26d)](V[_0x2d235d(0x30f)](_0x300952=>_0x300952[_0x2d235d(0x1c4)]())))[_0x2d235d(0x3b5)](_0x3052a2=>this[_0x2d235d(0x140)](_0x3052a2))));}[_0x54341f(0x14f)](_0x4785de){var _0x159bb3=_0x54341f;return this[_0x159bb3(0x110)][_0x159bb3(0x357)](_0x4785de)?H['of'](this['_roomMembers'][_0x159bb3(0x345)](_0x4785de)):this[_0x159bb3(0x123)][_0x159bb3(0x26d)](V[_0x159bb3(0x30f)](_0x33aee5=>{var _0x20cddb=_0x159bb3;if(_0x33aee5===_0x4785de)return this[_0x20cddb(0x110)][_0x20cddb(0x345)](_0x33aee5);}));}[_0x54341f(0x221)](_0x341a1b){this['_userManagerService']['setCurrentUser'](_0x341a1b);}[_0x54341f(0x117)](){var _0x36264f=_0x54341f;return this[_0x36264f(0x2d6)][_0x36264f(0x117)]();}[_0x54341f(0x150)](_0x158baa,_0x565bd3){var _0x3bca76=_0x54341f;let _0x198a98=this['_roomMembers']['get'](_0x158baa);_0x198a98||(_0x198a98=new Gt(),this[_0x3bca76(0x110)][_0x3bca76(0x2f5)](_0x158baa,_0x198a98),this[_0x3bca76(0x123)][_0x3bca76(0x23b)](_0x158baa)),_0x198a98[_0x3bca76(0x150)](_0x565bd3);}['removeMember'](_0x3b8286,_0x21270e){var _0x4f066f=_0x54341f;const _0x45b8ac=this['_roomMembers'][_0x4f066f(0x345)](_0x3b8286);_0x45b8ac&&_0x45b8ac['removeMember'](_0x21270e);}['getRoom'](_0x2915e3){var _0x17fc4b=_0x54341f;return this[_0x17fc4b(0x110)]['get'](_0x2915e3);}[_0x54341f(0x3f5)](_0x475405,_0x5f32f2){var _0x36357f=_0x54341f;const _0x1e7086=this[_0x36357f(0x110)][_0x36357f(0x345)](_0x475405);if(_0x1e7086)return _0x1e7086[_0x36357f(0x3f5)](_0x5f32f2);}[_0x54341f(0x140)](_0x39d5db){var _0x4a60d8=_0x54341f;const _0x5914e3=this['_roomMembers'][_0x4a60d8(0x345)](_0x39d5db);_0x5914e3&&(_0x5914e3['dispose'](),this[_0x4a60d8(0x110)][_0x4a60d8(0x1f1)](_0x39d5db));}[_0x54341f(0xbc)](){var _0x3a51f2=_0x54341f;this[_0x3a51f2(0x110)][_0x3a51f2(0x30a)](_0x47a968=>_0x47a968[_0x3a51f2(0xbc)]()),this[_0x3a51f2(0x110)][_0x3a51f2(0x309)](),this['_roomCreated$']['complete']();}},exports[_0x54341f(0xe5)]=Wt([Ve(0x0,a['IUniverInstanceService']),Ve(0x1,a[_0x54341f(0x3f8)](a[_0x54341f(0x2b5)]))],exports[_0x54341f(0xe5)]);class Gt extends a[_0x54341f(0x382)]{constructor(){var _0x43996e=_0x54341f;super(...arguments),A(this,'_members',new Map()),A(this,'_members$',new H[(_0x43996e(0x190))](this[_0x43996e(0x113)])),A(this,_0x43996e(0x40f),this[_0x43996e(0x34e)][_0x43996e(0x131)]());}[_0x54341f(0xbc)](){var _0x302d04=_0x54341f;this[_0x302d04(0x113)][_0x302d04(0x309)]();}['updateMember'](_0x535746){var _0x3b0ce6=_0x54341f;this['_members'][_0x3b0ce6(0x2f5)](_0x535746[_0x3b0ce6(0x420)],_0x535746),this[_0x3b0ce6(0x2aa)]();}['removeMember'](_0x2c5382){var _0x472b9a=_0x54341f;this[_0x472b9a(0x113)][_0x472b9a(0x1f1)](_0x2c5382);}[_0x54341f(0x3f5)](_0xdfc0ee){var _0x12bf8d=_0x54341f;return this[_0x12bf8d(0x113)][_0x12bf8d(0x345)](_0xdfc0ee);}[_0x54341f(0x356)](){var _0x304470=_0x54341f;return Array[_0x304470(0x13b)](this['_members'][_0x304470(0x1bf)]());}[_0x54341f(0x2aa)](){var _0x2b57e1=_0x54341f;this[_0x2b57e1(0x34e)][_0x2b57e1(0x23b)](this[_0x2b57e1(0x113)]);}}var Yt=Object[_0x54341f(0x2d4)],qt=(_0x1bc28f,_0x480dfc,_0x2827a4,_0x4e1f96)=>{var _0x10166a=_0x54341f;for(var _0x550a64=_0x4e1f96>0x1?void 0x0:_0x4e1f96?Yt(_0x480dfc,_0x2827a4):_0x480dfc,_0x8d92f0=_0x1bc28f[_0x10166a(0x1e8)]-0x1,_0x41df87;_0x8d92f0>=0x0;_0x8d92f0--)(_0x41df87=_0x1bc28f[_0x8d92f0])&&(_0x550a64=_0x41df87(_0x550a64)||_0x550a64);return _0x550a64;},ce=(_0x44ffc8,_0x2a581f)=>(_0x52affd,_0xf0919)=>_0x2a581f(_0x52affd,_0xf0919,_0x44ffc8),re=(_0x6acf99=>(_0x6acf99[_0x6acf99[_0x54341f(0x352)]=0x0]=_0x54341f(0x352),_0x6acf99[_0x6acf99[_0x54341f(0xd8)]=0x1]=_0x54341f(0xd8),_0x6acf99[_0x6acf99[_0x54341f(0x313)]=0x2]='OFFLINE',_0x6acf99[_0x6acf99[_0x54341f(0x137)]=0x3]=_0x54341f(0x137),_0x6acf99))(re||{});const We={[se['FAIL']]:_0x54341f(0x3a8),[se[_0x54341f(0x37f)]]:_0x54341f(0x331),[se[_0x54341f(0x26e)]]:'session.room-not-exists',[se[_0x54341f(0x2c1)]]:_0x54341f(0x180),[se[_0x54341f(0x21f)]]:_0x54341f(0x2c0)};exports[_0x54341f(0xd9)]=class extends a[_0x54341f(0x26a)]{constructor(_0x24a4d1,_0x265de4,_0x3dd82b,_0x52e076,_0x466b64,_0x162663,_0x57b25b,_0x5481b4){var _0x63610e=_0x54341f;super(),A(this,'_sessionStatus$',new H[(_0x63610e(0x190))](0x0)),A(this,_0x63610e(0x1a1),this[_0x63610e(0x3ed)]['asObservable']()),A(this,_0x63610e(0xe7),new H[(_0x63610e(0x1f5))]()),A(this,_0x63610e(0x256),this[_0x63610e(0xe7)][_0x63610e(0x131)]()),A(this,_0x63610e(0xd2)),A(this,'_socketMessageSubscription'),A(this,'_collaborationTimeoutTimer'),A(this,'_shouldReportTelemetry',!0x1),A(this,_0x63610e(0x38e),null),(this['_unitID']=_0x24a4d1,this[_0x63610e(0x1dc)]=_0x3dd82b,this[_0x63610e(0x285)]=_0x52e076,this[_0x63610e(0x399)]=_0x466b64,this[_0x63610e(0x1ec)]=_0x162663,this['_collaborationUIEventService']=_0x57b25b,this[_0x63610e(0x2a4)]=_0x5481b4,this[_0x63610e(0x16c)]=!!this[_0x63610e(0x2a4)],_0x265de4[_0x63610e(0x26d)](H[_0x63610e(0x183)](this[_0x63610e(0x201)]))[_0x63610e(0x3b5)](_0x29aaa9=>{var _0x3c1d13=_0x63610e,_0xff9947;typeof _0x29aaa9>'u'||(this['_socket']=_0x29aaa9,_0x29aaa9?(this[_0x3c1d13(0x41f)](_0x29aaa9),this[_0x3c1d13(0x365)]=_0x29aaa9[_0x3c1d13(0x32f)][_0x3c1d13(0x3b5)](_0xf5a35=>{var _0x4fbebf=_0x3c1d13;_0xf5a35[_0x4fbebf(0x3f3)]===this[_0x4fbebf(0x222)]&&this[_0x4fbebf(0xbf)](_0xf5a35);})):(this[_0x3c1d13(0x11e)](),this[_0x3c1d13(0x3ed)][_0x3c1d13(0x23b)](0x2),(_0xff9947=this[_0x3c1d13(0x365)])==null||_0xff9947[_0x3c1d13(0x134)](),this['_socketMessageSubscription']=null));}));}get[_0x54341f(0x231)](){var _0x4da104=_0x54341f;return this[_0x4da104(0x3ed)][_0x4da104(0xb1)]();}[_0x54341f(0x1b0)](){var _0x12f940=_0x54341f,_0x1291d7,_0xec8197;return(_0xec8197=(_0x1291d7=this[_0x12f940(0xd2)])==null?void 0x0:_0x1291d7['memberID'])!=null?_0xec8197:null;}[_0x54341f(0xbc)](){var _0x52680b=_0x54341f;super[_0x52680b(0xbc)](),this[_0x52680b(0x201)][_0x52680b(0x23b)](),this[_0x52680b(0x201)][_0x52680b(0xf2)]();}['close'](){var _0x703dbf=_0x54341f,_0x4d6300,_0x3df97e;this[_0x703dbf(0x11e)](),(_0x4d6300=this[_0x703dbf(0xd2)])==null||_0x4d6300[_0x703dbf(0x102)]({'cmd':W['LEAVE'],'data':{'roomID':this['_unitID']}}),(_0x3df97e=this[_0x703dbf(0xd2)])==null||_0x3df97e[_0x703dbf(0xdf)](),this['_event$'][_0x703dbf(0xf2)](),this[_0x703dbf(0x3ed)][_0x703dbf(0xf2)](),this[_0x703dbf(0xbc)]();}[_0x54341f(0xbf)](_0x4e21cb){var _0x2b9fde=_0x54341f;_0x4e21cb[_0x2b9fde(0x2a2)]===W[_0x2b9fde(0x276)]?this[_0x2b9fde(0x3ba)](_0x4e21cb):_0x4e21cb[_0x2b9fde(0x2a2)]===W[_0x2b9fde(0x27b)]&&this['_onRecvEvent'](_0x4e21cb);}[_0x54341f(0x41f)](_0x4258cf){var _0x16ef08=_0x54341f;this[_0x16ef08(0x3ed)][_0x16ef08(0x23b)](0x1),_0x4258cf[_0x16ef08(0x102)]({'cmd':W[_0x16ef08(0x276)],'routeKey':this['_unitID'],'routeType':'','data':{'rooms':[{'roomID':this[_0x16ef08(0x222)]}]}});}[_0x54341f(0x3ba)](_0x1da6b6){var _0x3b2ea6=_0x54341f,_0x421b71;if(_0x1da6b6['code']in We){this[_0x3b2ea6(0xd0)]['emitEvent']({'id':Z['JOIN_ROOM_FAILED'],'data':We[_0x1da6b6['code']]}),this[_0x3b2ea6(0x3ed)]['next'](0x2);return;}this['_sessionStatus$'][_0x3b2ea6(0x23b)](0x3);const _0x417526=(_0x421b71=_0x1da6b6[_0x3b2ea6(0x11c)][_0x3b2ea6(0x3d3)][this[_0x3b2ea6(0x222)]])==null?void 0x0:_0x421b71[_0x3b2ea6(0x3a6)];_0x417526&&_0x417526[_0x3b2ea6(0x30a)](_0x30d493=>this[_0x3b2ea6(0x399)][_0x3b2ea6(0x150)](this[_0x3b2ea6(0x222)],_0x30d493));}[_0x54341f(0x3ec)](_0x1b9234){var _0x3eb823=_0x54341f;try{const _0x41bba9=_0x1b9234[_0x3eb823(0x11c)];switch(_0x41bba9[_0x3eb823(0x143)]){case p[_0x3eb823(0x315)][_0x3eb823(0x2fe)]:this[_0x3eb823(0xa9)](_0x41bba9),this[_0x3eb823(0xe7)][_0x3eb823(0x23b)](_0x41bba9);break;case p[_0x3eb823(0x315)][_0x3eb823(0x34f)]:this[_0x3eb823(0x29c)](_0x41bba9),this[_0x3eb823(0xe7)][_0x3eb823(0x23b)](_0x41bba9);break;case p[_0x3eb823(0x315)][_0x3eb823(0x332)]:case p['CollaborationEvent'][_0x3eb823(0x1d6)]:this['_stopTelemetryCollaborationNewChangeset'](),this['_clearCollaborationTimeoutTimer'](),this['_event$'][_0x3eb823(0x23b)](_0x41bba9);break;case p[_0x3eb823(0x315)]['MSG_FOR_ERROR']:this[_0x3eb823(0x1dc)][_0x3eb823(0x146)](_0x3eb823(0x212)+JSON[_0x3eb823(0x3ef)](_0x41bba9)),this[_0x3eb823(0xe7)][_0x3eb823(0x23b)](_0x41bba9);break;case p[_0x3eb823(0x315)][_0x3eb823(0x186)]:this[_0x3eb823(0x1ec)][_0x3eb823(0x20f)](_0x41bba9['data']),this[_0x3eb823(0xe7)][_0x3eb823(0x23b)](_0x41bba9);break;default:this['_event$'][_0x3eb823(0x23b)](_0x41bba9);}}catch(_0x40aba3){this['_logService'][_0x3eb823(0x146)](_0x40aba3,_0x1b9234);}}['_onUserJoin'](_0x11ae08){var _0x53c2b4=_0x54341f;this[_0x53c2b4(0x399)][_0x53c2b4(0x150)](this['_unitID'],_0x11ae08[_0x53c2b4(0x11c)]);}[_0x54341f(0x29c)](_0x1a0437){var _0x486d1a=_0x54341f;this[_0x486d1a(0x399)][_0x486d1a(0xf7)](this['_unitID'],_0x1a0437[_0x486d1a(0x11c)]['memberID']);}async['send'](_0x48eb55,_0x424d5d){var _0xc3e932=_0x54341f;if(this['sessionStatus']!==0x3||!this[_0xc3e932(0xd2)])throw new Error(_0xc3e932(0x107));try{_0x48eb55[_0xc3e932(0x143)]===p['CollaborationEvent'][_0xc3e932(0x176)]&&(this[_0xc3e932(0x2f3)](),this[_0xc3e932(0x14d)](_0x48eb55)),this[_0xc3e932(0xd2)]['send']({'cmd':W[_0xc3e932(0x160)],'routeKey':_0x424d5d,'routeType':'','data':_0x48eb55});}catch(_0x4e71be){this[_0xc3e932(0x1dc)][_0xc3e932(0x146)](_0x4e71be);}}[_0x54341f(0x2f3)](){var _0x3e84b4=_0x54341f,_0x5e2fa7;this[_0x3e84b4(0x402)]=setTimeout(()=>{var _0x5dc2e1=_0x3e84b4;this[_0x5dc2e1(0x402)]=null,this[_0x5dc2e1(0xd0)][_0x5dc2e1(0x393)]({'id':Z[_0x5dc2e1(0x1f6)]});},(_0x5e2fa7=this[_0x3e84b4(0x285)][_0x3e84b4(0x347)](ke))!=null?_0x5e2fa7:lt);}[_0x54341f(0x268)](){var _0x4195ca=_0x54341f;this['_collaborationTimeoutTimer']&&(clearTimeout(this[_0x4195ca(0x402)]),this[_0x4195ca(0x402)]=null);}[_0x54341f(0x14d)](_0x4cc0c8){var _0x232312=_0x54341f;if(!this[_0x232312(0x16c)])return;const {data:_0x11875a}=_0x4cc0c8,{unitID:_0x18051a,changeset:_0x3b9862}=_0x11875a,{mutations:_0x370ccd,type:_0x2169af}=_0x3b9862;this[_0x232312(0x38e)]={'unitId':_0x18051a,'type':_0x2169af,'startTime':performance[_0x232312(0x206)](),'stopTime':0x0,'duration':0x0,'size':Ft(_0x370ccd)};}[_0x54341f(0x25b)](){var _0x2c811e=_0x54341f;if(this['_shouldReportTelemetry']){if(!this[_0x2c811e(0x38e)]){this[_0x2c811e(0x1dc)]['error'](_0x2c811e(0x2d9),_0x2c811e(0x3c8));return;}this[_0x2c811e(0x38e)][_0x2c811e(0x3ff)]=performance[_0x2c811e(0x206)](),this[_0x2c811e(0x38e)]['duration']=this[_0x2c811e(0x38e)][_0x2c811e(0x3ff)]-this[_0x2c811e(0x38e)][_0x2c811e(0x191)],this['_telemetryService'][_0x2c811e(0x213)](Bt,this[_0x2c811e(0x38e)]),this['_telemetryInfo']=null;}}['_throwTelemetryCollaborationNewChangeset'](){var _0x10099a=_0x54341f;this[_0x10099a(0x38e)]=null;}},exports[_0x54341f(0xd9)]=qt([ce(0x2,a['ILogService']),ce(0x3,a['IConfigService']),ce(0x4,a['Inject'](exports[_0x54341f(0xe5)])),ce(0x5,a[_0x54341f(0x3f8)]($e)),ce(0x6,a[_0x54341f(0x3f8)](ee)),ce(0x7,a[_0x54341f(0x368)](Rt[_0x54341f(0x13a)]))],exports['CollaborationSession']);const K=a[_0x54341f(0x19d)](_0x54341f(0xdb));function Kt(_0x293963){var _0x16826e=_0x54341f;return _0x16826e(0x3f9)+_0x293963;}var zt=Object[_0x54341f(0x2d4)],Jt=(_0x3f70f0,_0x37c143,_0x2e61ea,_0x5ebcfd)=>{for(var _0x413253=_0x5ebcfd>0x1?void 0x0:_0x5ebcfd?zt(_0x37c143,_0x2e61ea):_0x37c143,_0x3efc94=_0x3f70f0['length']-0x1,_0x60fabb;_0x3efc94>=0x0;_0x3efc94--)(_0x60fabb=_0x3f70f0[_0x3efc94])&&(_0x413253=_0x60fabb(_0x413253)||_0x413253);return _0x413253;},Ue=(_0x2600a2,_0x4bc926)=>(_0x650977,_0xa9b4f3)=>_0x4bc926(_0x650977,_0xa9b4f3,_0x2600a2);function Xt(_0x48bf31){var _0x238264=_0x54341f;const {unitID:_0x5b5c05,mutations:_0x51e1fe}=_0x48bf31;return{'unitId':_0x5b5c05,'subUnitId':_0x51e1fe[0x0][_0x238264(0x2e8)][_0x238264(0x3c5)]};}exports['SheetTransformSelectionsService']=class{constructor(_0x1765fa,_0x571354,_0x2206d0){var _0xd5c80b=_0x54341f;this[_0xd5c80b(0x3a1)]=_0x1765fa,this[_0xd5c80b(0x348)]=_0x571354,this[_0xd5c80b(0x33e)]=_0x2206d0;}[_0x54341f(0x394)](_0x14d462){var _0x3028b9=_0x54341f,_0x27f81c,_0x425441,_0x4833ec,_0x18de2a;const _0x265fe2=this[_0x3028b9(0x3a1)][_0x3028b9(0x345)](X['SheetsSelectionsService']),{unitId:_0xf2471e,subUnitId:_0x5a0fe8}=Xt(_0x14d462),_0x48d574=_0x265fe2==null?void 0x0:_0x265fe2[_0x3028b9(0x17a)](_0xf2471e)[_0x3028b9(0x3e1)](),_0xccb652=(_0x425441=(_0x27f81c=this['_instanceService'][_0x3028b9(0x169)](_0xf2471e))==null?void 0x0:_0x27f81c[_0x3028b9(0x2fd)]())==null?void 0x0:_0x425441[_0x3028b9(0x321)]();if(_0x48d574[_0x3028b9(0x1e8)]===0x0||!_0xf2471e||!_0x5a0fe8)return;const _0x2213af=[{'id':X[_0x3028b9(0x155)]['id'],'params':{'unitId':_0xf2471e,'subUnitId':_0xccb652,'selections':a[_0x3028b9(0x388)][_0x3028b9(0x371)](_0x48d574)}}],_0x5c34e2=this[_0x3028b9(0x348)][_0x3028b9(0x2f2)](_0x14d462,_0x2213af);if(!p[_0x3028b9(0x2a3)](_0x5c34e2))throw _0x5c34e2[_0x3028b9(0x146)];const _0x1a27b2=(_0x18de2a=(_0x4833ec=_0x5c34e2[_0x3028b9(0x1f4)][0x0])==null?void 0x0:_0x4833ec[_0x3028b9(0x2e8)])==null?void 0x0:_0x18de2a[_0x3028b9(0x390)];if(Array[_0x3028b9(0x1fc)](_0x1a27b2)&&_0x1a27b2['length']){if(_0x1a27b2[_0x3028b9(0x1e8)]===_0x2213af[0x0][_0x3028b9(0x2e8)][_0x3028b9(0x390)]['length']&&_0x1a27b2[_0x3028b9(0x341)]((_0x231600,_0x4af27c)=>a[_0x3028b9(0x13f)][_0x3028b9(0xb4)](_0x231600['range'],_0x2213af[0x0][_0x3028b9(0x2e8)][_0x3028b9(0x390)][_0x4af27c][_0x3028b9(0xff)])))return;this[_0x3028b9(0x3a1)]['get'](a[_0x3028b9(0x37c)])[_0x3028b9(0x384)](X[_0x3028b9(0x155)]['id'],{'unitId':_0xf2471e,'subUnitId':_0xccb652,'selections':_0x1a27b2});}}},exports['SheetTransformSelectionsService']=Jt([Ue(0x0,a[_0x54341f(0x3f8)](a[_0x54341f(0x3aa)])),Ue(0x1,p[_0x54341f(0x23c)]),Ue(0x2,a[_0x54341f(0x29b)])],exports[_0x54341f(0x25a)]);const de=a[_0x54341f(0x19d)]('univer-pro.collaboration-client.single-active-unit-service');var He=(_0x6c6d84=>(_0x6c6d84[_0x6c6d84[_0x54341f(0x279)]=0x0]=_0x54341f(0x279),_0x6c6d84[_0x6c6d84[_0x54341f(0x355)]=0x1]='OTHER_CLIENTS_EDITING',_0x6c6d84))(He||{});const Y='collaboration-client.config',Zt={},Qt=new Set([X['InsertSheetMutation']['id']]);function Ge(_0x1bcb54,_0x5498a8,_0x3bf857,_0x186f96,_0x2648cf){var _0x856d23=_0x54341f,_0x1b105f,_0x5048d3,_0x5a5c95,_0x274813;const _0x27605e=[];for(const _0x2d4b7f of _0x1bcb54)if(Qt[_0x856d23(0x357)](_0x2d4b7f['id'])){if(_0x27605e[_0x856d23(0x1e8)]>0x0)break;_0x27605e['push'](_0x2d4b7f);break;}else _0x27605e[_0x856d23(0x16f)](_0x2d4b7f);const _0x3b562b=(_0x5048d3=(_0x1b105f=_0x2648cf[_0x856d23(0x117)]())==null?void 0x0:_0x1b105f[_0x856d23(0x162)])!=null?_0x5048d3:'unknown',_0x21a3ad=(_0x274813=(_0x5a5c95=_0x2648cf[_0x856d23(0x117)]())==null?void 0x0:_0x5a5c95[_0x856d23(0x420)])!=null?_0x274813:_0x856d23(0x2d3);return{'changeset':{'unitID':_0x5498a8,'type':p[_0x856d23(0x372)](_0x3bf857[_0x856d23(0x18a)](_0x5498a8)),'baseRev':_0x186f96[_0x856d23(0x387)](_0x5498a8),'revision':0x0,'userID':_0x3b562b,'memberID':_0x21a3ad,'mutations':_0x27605e},'pendingMutations':_0x1bcb54[_0x856d23(0x1c6)](_0x27605e['length'])};}function ei(_0x531143,_0x2f19b6,_0x318837,_0x391e00,_0x50e9e1){var _0x3ef706=_0x54341f,_0x1d84c1,_0x3c97b1,_0x187868,_0x4e05cf;const _0x306dab=[_0x531143[_0x3ef706(0x3d8)]((_0x2f04ec,_0xe025b5)=>{var _0x307877=_0x3ef706,_0x3936d3;const {id:_0x3b000f}=_0x2f04ec,{id:_0x3f38c0,type:_0xe92b80}=_0xe025b5,_0xb1ef9e=(_0x3936d3=_0x2f04ec['params'])!=null?_0x3936d3:{'actions':null},_0xdd133f=_0xe025b5[_0x307877(0x2e8)];if(_0x3b000f&&_0x3b000f!==_0x3f38c0)throw new Error(_0x307877(0x3ee)+_0x3b000f+'\x20-\x20'+_0x3f38c0+'.');return{..._0x2f04ec,'id':_0x3f38c0,'type':_0xe92b80,'params':{'unitId':_0xdd133f[_0x307877(0x40c)],'textRanges':_0xdd133f[_0x307877(0x39e)],'actions':a[_0x307877(0x20c)][_0x307877(0x288)](_0xb1ef9e[_0x307877(0x316)],_0xdd133f['actions'])}};},{})],_0x128161=(_0x3c97b1=(_0x1d84c1=_0x50e9e1['getCurrentUser']())==null?void 0x0:_0x1d84c1[_0x3ef706(0x162)])!=null?_0x3c97b1:_0x3ef706(0x2d3),_0x4fa1f4=(_0x4e05cf=(_0x187868=_0x50e9e1[_0x3ef706(0x117)]())==null?void 0x0:_0x187868[_0x3ef706(0x420)])!=null?_0x4e05cf:_0x3ef706(0x2d3);return{'changeset':{'unitID':_0x2f19b6,'type':p['mapDocumentTypeToUniverType'](_0x318837[_0x3ef706(0x18a)](_0x2f19b6)),'baseRev':_0x391e00[_0x3ef706(0x387)](_0x2f19b6),'revision':0x0,'userID':_0x128161,'memberID':_0x4fa1f4,'mutations':_0x306dab},'pendingMutations':[]};}function St(_0x214dde,_0x7370c3){var _0x25df24=_0x54341f;const _0x41db69=new H['ReplaySubject'](0x1);return setTimeout(()=>_0x41db69[_0x25df24(0x23b)](_0x7370c3),_0x214dde),_0x41db69[_0x25df24(0x131)]()[_0x25df24(0x26d)](H[_0x25df24(0x106)](0x1));}const ti={'id':X[_0x54341f(0x278)]['id'],'type':a[_0x54341f(0x1d2)][_0x54341f(0x2e6)],'params':{}};var ii=Object['getOwnPropertyDescriptor'],oe=(_0x1fc4f9,_0x5c09dc,_0x5ce8d5,_0x3fcaa4)=>{var _0x3d27d9=_0x54341f;for(var _0xc2917e=_0x3fcaa4>0x1?void 0x0:_0x3fcaa4?ii(_0x5c09dc,_0x5ce8d5):_0x5c09dc,_0x4f6a43=_0x1fc4f9[_0x3d27d9(0x1e8)]-0x1,_0x3840bf;_0x4f6a43>=0x0;_0x4f6a43--)(_0x3840bf=_0x1fc4f9[_0x4f6a43])&&(_0xc2917e=_0x3840bf(_0xc2917e)||_0xc2917e);return _0xc2917e;},w=(_0x4e382a,_0x31d0ad)=>(_0x39701c,_0x546103)=>_0x31d0ad(_0x39701c,_0x546103,_0x4e382a),je=(_0x1d17af=>(_0x1d17af['NOT_COLLAB']=_0x54341f(0x362),_0x1d17af[_0x54341f(0x417)]=_0x54341f(0x130),_0x1d17af[_0x54341f(0xbd)]='pending',_0x1d17af[_0x54341f(0x1b1)]='awaiting',_0x1d17af[_0x54341f(0x139)]=_0x54341f(0x2a5),_0x1d17af['FETCH_MISS']='fetch_missing',_0x1d17af[_0x54341f(0x281)]=_0x54341f(0x198),_0x1d17af[_0x54341f(0x313)]='offline',_0x1d17af))(je||{});const ft=0xea60;class ae{constructor(_0x55aa5a,_0x324e32,_0x1845c3,_0x554428,_0x9bbdd9,_0x245983,_0x1e1a08,_0x303cab,_0x342f2d){var _0x24dd9d=_0x54341f;A(this,_0x24dd9d(0x304),null),A(this,_0x24dd9d(0x38b),[]),(this[_0x24dd9d(0x1bb)]=_0x55aa5a,this[_0x24dd9d(0x37a)]=_0x324e32,this[_0x24dd9d(0x301)]=_0x9bbdd9,this[_0x24dd9d(0xe0)]=_0x245983,this[_0x24dd9d(0x23a)]=_0x1e1a08,this[_0x24dd9d(0xb7)]=_0x303cab,this['_localCacheService']=_0x342f2d,this[_0x24dd9d(0x304)]=_0x1845c3,this[_0x24dd9d(0x38b)]=_0x554428);}[_0x54341f(0x210)](_0x1366b1){var _0x23492d=_0x54341f;const _0x38ae8b=this['_revisionService'][_0x23492d(0x387)](this[_0x23492d(0x1bb)]);return _0x1366b1[_0x23492d(0x3e4)]>_0x38ae8b+0x1?(this[_0x23492d(0x301)][_0x23492d(0x2ec)]({'from':_0x38ae8b,'to':_0x1366b1[_0x23492d(0x3e4)]-0x1}),!0x0):!0x1;}[_0x54341f(0x31d)](_0x1756ee){var _0x14ff5b=_0x54341f;this[_0x14ff5b(0x23a)][_0x14ff5b(0xc1)](this[_0x14ff5b(0x1bb)],_0x1756ee);}['_transformSelections'](_0x19678c){var _0x34aea6=_0x54341f,_0x2e3022,_0x318e31;(_0x318e31=(_0x2e3022=this[_0x34aea6(0x301)])[_0x34aea6(0x39c)])==null||_0x318e31[_0x34aea6(0x2c9)](_0x2e3022,_0x19678c);}[_0x54341f(0x203)](_0x1ec62a){var _0x4f276b=_0x54341f,_0x40c29e,_0x119067;return(_0x119067=(_0x40c29e=this['_handler'])['onTransformIME'])==null?void 0x0:_0x119067[_0x4f276b(0x2c9)](_0x40c29e,_0x1ec62a);}[_0x54341f(0x295)](_0x58eeb7){var _0xc84e9=_0x54341f,_0x148011,_0xb9a93;return(_0xb9a93=(_0x148011=this[_0xc84e9(0x301)])[_0xc84e9(0x421)])==null?void 0x0:_0xb9a93[_0xc84e9(0x2c9)](_0x148011,_0x58eeb7);}[_0x54341f(0x318)](_0x24efcf){var _0x1a3410=_0x54341f,_0x1b75ea,_0x385dca,_0x585b99;return(_0x585b99=(_0x385dca=(_0x1b75ea=this[_0x1a3410(0x301)])[_0x1a3410(0x1c8)])==null?void 0x0:_0x385dca['call'](_0x1b75ea,_0x24efcf))!=null?_0x585b99:_0x24efcf;}[_0x54341f(0xc6)](_0x29e6ac){var _0x5359d5=_0x54341f,_0x828b36,_0x1a38b4,_0x2f2c7a;return(_0x2f2c7a=(_0x1a38b4=(_0x828b36=this['_handler'])[_0x5359d5(0x263)])==null?void 0x0:_0x1a38b4['call'](_0x828b36,_0x29e6ac))!=null?_0x2f2c7a:_0x29e6ac;}[_0x54341f(0x161)](_0x1baa4d){var _0x11e651=_0x54341f,_0x463cf2,_0x5f286e;if(this[_0x11e651(0x37a)]===J[_0x11e651(0x254)]){const {unitID:_0x26ff60,mutations:_0x12f82e,memberID:_0x2b8240}=_0x1baa4d,_0x33ed94=_0x12f82e[0x0][_0x11e651(0x2e8)][_0x11e651(0x39e)];Array[_0x11e651(0x1fc)](_0x33ed94)&&_0x33ed94[_0x11e651(0x1e8)]>0x0&&((_0x5f286e=(_0x463cf2=this[_0x11e651(0x301)])[_0x11e651(0x12d)])==null||_0x5f286e[_0x11e651(0x2c9)](_0x463cf2,{'unitID':_0x26ff60,'memberID':_0x2b8240,'textRanges':_0x33ed94}));}}[_0x54341f(0xba)](){var _0x5fbd97=_0x54341f,_0x5d46ac;(_0x5d46ac=this[_0x5fbd97(0x41a)])==null||_0x5d46ac[_0x5fbd97(0x147)](this[_0x5fbd97(0x1bb)],this[_0x5fbd97(0x37a)],this[_0x5fbd97(0x304)],this[_0x5fbd97(0x38b)]);}[_0x54341f(0x249)](){var _0x4c753e=_0x54341f;return this[_0x4c753e(0xb7)][_0x4c753e(0x387)](this[_0x4c753e(0x1bb)]);}['_incrementRevisionNumber'](){var _0x17b31e=_0x54341f;this[_0x17b31e(0xb7)][_0x17b31e(0x1f9)](this[_0x17b31e(0x1bb)]);}[_0x54341f(0x314)](_0x53f5f7){var _0x4d8b57=_0x54341f,_0xe472a5;let _0x4a67f4=this[_0x4d8b57(0x318)](_0x53f5f7);_0x4a67f4=this['_transformRemoteChangesetByStateCache'](_0x4a67f4);const _0xe165ec=a['sequenceExecute'](_0x4a67f4[_0x4d8b57(0xfe)],this['_commandService'],{'fromCollab':!0x0});if(!_0xe165ec[_0x4d8b57(0x1cc)])throw _0xe165ec[_0x4d8b57(0x146)]instanceof Error?_0xe165ec[_0x4d8b57(0x146)]:new Error((_0xe472a5=_0xe165ec[_0x4d8b57(0x146)])!=null?_0xe472a5:_0x4d8b57(0x135));this['_transformIMECache'](_0x4a67f4),this[_0x4d8b57(0x295)](_0x4a67f4),this[_0x4d8b57(0x31d)](_0x53f5f7),this[_0x4d8b57(0x3c7)](_0x4a67f4),this['_syncEditingCollabCursor'](_0x4a67f4),this['_incrementRevisionNumber']();}}exports[_0x54341f(0x20d)]=class extends ae{constructor(_0x9b9e4f,_0x35bc15,_0x38c48f,_0x58cb0f,_0x19ac6e,_0x6921e4,_0x5caa08,_0x372fc6,_0x3ff607,_0x469970){var _0x4d600c=_0x54341f;super(_0x9b9e4f,_0x35bc15,null,[],_0x38c48f,_0x5caa08,_0x6921e4,_0x58cb0f,_0x469970),A(this,_0x4d600c(0x2fc),_0x4d600c(0x130)),(this[_0x4d600c(0x3a1)]=_0x19ac6e,this['_logService']=_0x372fc6,this['_transformService']=_0x3ff607,this[_0x4d600c(0x151)]=_0x469970);}[_0x54341f(0x234)](_0x5b7c65){var _0x1ec7ff=_0x54341f;const _0x114521=this[_0x1ec7ff(0x3a1)][_0x1ec7ff(0x228)](exports[_0x1ec7ff(0x376)],this[_0x1ec7ff(0x1bb)],this['type'],[_0x5b7c65],this[_0x1ec7ff(0x301)]);return _0x114521['_schedule'](),_0x114521[_0x1ec7ff(0xba)](),_0x114521;}[_0x54341f(0x149)](_0x3c8bf3){var _0x507bcd=_0x54341f;if(this[_0x507bcd(0x210)](_0x3c8bf3))return this[_0x507bcd(0x3a1)]['createInstance'](exports[_0x507bcd(0x422)],this['unitID'],this[_0x507bcd(0x37a)],null,[],null,[_0x3c8bf3],this['_handler']);try{const _0x3898b0=this[_0x507bcd(0x348)]['transformMutationsWithChangeset'](_0x3c8bf3,[ti]);if(p[_0x507bcd(0x2a3)](_0x3898b0)){const {c1Prime:_0xb5ee64}=_0x3898b0;return this['_executeRemoteChangeset'](_0xb5ee64),this;}throw _0x3898b0[_0x507bcd(0x146)];}catch(_0xa0b870){return this[_0x507bcd(0x1dc)]['error'](_0xa0b870),this['_onConflict'](!0x1);}}[_0x54341f(0x2e9)](_0x3e14a5){var _0x22f769=_0x54341f;return this[_0x22f769(0x3a1)][_0x22f769(0x228)](exports[_0x22f769(0xdd)],this[_0x22f769(0x1bb)],this[_0x22f769(0x37a)],null,[],this[_0x22f769(0x301)],_0x3e14a5);}[_0x54341f(0x39d)](){var _0x3eb67a=_0x54341f;throw new Error(_0x3eb67a(0xe2));}['onRemoteRej'](){var _0x1c5d52=_0x54341f;throw new Error(_0x1c5d52(0x20b));}[_0x54341f(0x262)](){return this;}[_0x54341f(0x225)](){var _0x4ab102=_0x54341f;return this[_0x4ab102(0x3a1)]['createInstance'](exports[_0x4ab102(0x11a)],this[_0x4ab102(0x1bb)],this[_0x4ab102(0x37a)],null,[],this['_handler']);}[_0x54341f(0x378)](){return this;}[_0x54341f(0x207)](){var _0x3bf1b7=_0x54341f;throw new Error(_0x3bf1b7(0x22e));}['fetchMiss'](){var _0x1a7b6f=_0x54341f;const _0x546b90=this[_0x1a7b6f(0xb7)]['getCurrentRevOfUnit'](this[_0x1a7b6f(0x1bb)]);return this['_handler'][_0x1a7b6f(0x2ec)]({'from':_0x546b90,'to':0x0}),this[_0x1a7b6f(0x3a1)]['createInstance'](exports[_0x1a7b6f(0x422)],this[_0x1a7b6f(0x1bb)],this[_0x1a7b6f(0x37a)],null,[],null,[],this[_0x1a7b6f(0x301)]);}},exports[_0x54341f(0x20d)]=oe([w(0x3,a[_0x54341f(0x3f8)](p['RevisionService'])),w(0x4,a['Inject'](a[_0x54341f(0x3aa)])),w(0x5,a[_0x54341f(0x2ca)]),w(0x6,a[_0x54341f(0x37c)]),w(0x7,a[_0x54341f(0x21a)]),w(0x8,p['ITransformService']),w(0x9,a[_0x54341f(0x368)](K))],exports[_0x54341f(0x20d)]),exports[_0x54341f(0x376)]=class extends ae{constructor(_0x531915,_0x1f14f9,_0x2124a6,_0x1598cb,_0x823867,_0x1e603f,_0x251c83,_0x3ce38d,_0x286997,_0x4ea634,_0x5a607e,_0x21b653,_0x2d07f8,_0x1d4f48){var _0x5b9715=_0x54341f;super(_0x531915,_0x1f14f9,null,_0x2124a6,_0x1598cb,_0x286997,_0x2d07f8,_0x1e603f,_0x1d4f48),A(this,'status',_0x5b9715(0x15e)),A(this,_0x5b9715(0x389),null),A(this,_0x5b9715(0x380),null),(this['_injector']=_0x823867,this[_0x5b9715(0x399)]=_0x251c83,this[_0x5b9715(0x1dc)]=_0x3ce38d,this[_0x5b9715(0x285)]=_0x4ea634,this[_0x5b9715(0x348)]=_0x5a607e,this[_0x5b9715(0x246)]=_0x21b653);}[_0x54341f(0x234)](_0x56c129){var _0x4c4082=_0x54341f;return this['_pendingMutations']['push'](_0x56c129),this[_0x4c4082(0xba)](),this;}[_0x54341f(0x149)](_0x482501){var _0x6b8b2=_0x54341f;if(this[_0x6b8b2(0x210)](_0x482501))return this[_0x6b8b2(0x189)](),this['_injector'][_0x6b8b2(0x228)](exports[_0x6b8b2(0x422)],this[_0x6b8b2(0x1bb)],this[_0x6b8b2(0x37a)],null,this['_pendingMutations'],null,[_0x482501],this[_0x6b8b2(0x301)]);try{const _0x860977=this[_0x6b8b2(0x348)][_0x6b8b2(0x2f2)](_0x482501,this['_pendingMutations']);if(p[_0x6b8b2(0x2a3)](_0x860977)){const {c1Prime:_0x221a7c,m2Prime:_0x387930}=_0x860977;this[_0x6b8b2(0x314)](_0x221a7c);const _0x93c313=this[_0x6b8b2(0x3a1)][_0x6b8b2(0x228)](exports['PendingState'],this[_0x6b8b2(0x1bb)],this[_0x6b8b2(0x37a)],_0x387930,this[_0x6b8b2(0x301)]);this[_0x6b8b2(0x189)]();const _0x4e459f=new Date()[_0x6b8b2(0x2bd)](),_0x5ebdd9=this[_0x6b8b2(0x389)]?Math['max'](this['_scheduleCompleteTimestamp']-_0x4e459f,0x0):this[_0x6b8b2(0xda)]();return _0x93c313[_0x6b8b2(0xec)](_0x5ebdd9),_0x93c313;}throw _0x860977[_0x6b8b2(0x146)];}catch(_0x4bb1d4){return this['_logService'][_0x6b8b2(0x146)](_0x4bb1d4),this[_0x6b8b2(0x2e9)](!0x1);}}[_0x54341f(0x39d)](){var _0x244bf4=_0x54341f;throw new Error(_0x244bf4(0x36e));}[_0x54341f(0x408)](){throw new Error('[PendingState]:\x20received\x20rejection.');}[_0x54341f(0x262)](){return this;}[_0x54341f(0x225)](){var _0x127704=_0x54341f;return this[_0x127704(0x189)](),this[_0x127704(0x3a1)]['createInstance'](exports[_0x127704(0x11a)],this['unitID'],this[_0x127704(0x37a)],null,this['_pendingMutations'],this[_0x127704(0x301)]);}[_0x54341f(0x378)](){return this;}[_0x54341f(0xec)](_0x5a43ae){var _0x57484d=_0x54341f;const _0x5f9ccb=_0x5a43ae!=null?_0x5a43ae:this[_0x57484d(0xda)]();this[_0x57484d(0x389)]=new Date()[_0x57484d(0x2bd)]()+_0x5f9ccb,this[_0x57484d(0x380)]=setTimeout(()=>{var _0x280a39=_0x57484d;this[_0x280a39(0x189)]();let _0x4a0bd0=null;switch(this['type']){case J[_0x280a39(0x3ae)]:{_0x4a0bd0=Ge(this['_pendingMutations'],this[_0x280a39(0x1bb)],this[_0x280a39(0x246)],this[_0x280a39(0xb7)],this[_0x280a39(0x399)]);break;}case J[_0x280a39(0x254)]:{this[_0x280a39(0x38b)][_0x280a39(0x341)](_0x200e61=>_0x200e61['id']===ct['RichTextEditingMutation']['id'])?_0x4a0bd0=ei(this[_0x280a39(0x38b)],this[_0x280a39(0x1bb)],this[_0x280a39(0x246)],this['_revisionService'],this[_0x280a39(0x399)]):_0x4a0bd0=Ge(this[_0x280a39(0x38b)],this[_0x280a39(0x1bb)],this[_0x280a39(0x246)],this[_0x280a39(0xb7)],this[_0x280a39(0x399)]);break;}default:throw new Error(_0x280a39(0x1f8)+this[_0x280a39(0x37a)]+_0x280a39(0x2f8));}const {changeset:_0x3cf3a1,pendingMutations:_0x2cb4cc}=_0x4a0bd0;this[_0x280a39(0x301)][_0x280a39(0xab)](_0x3cf3a1);const _0x51770e=_0x2cb4cc[_0x280a39(0x1e8)]?this['_injector']['createInstance'](exports[_0x280a39(0x177)],this[_0x280a39(0x1bb)],this[_0x280a39(0x37a)],_0x3cf3a1,_0x2cb4cc,this[_0x280a39(0x301)],void 0x0):this[_0x280a39(0x3a1)]['createInstance'](exports[_0x280a39(0x319)],this[_0x280a39(0x1bb)],this[_0x280a39(0x37a)],_0x3cf3a1,this[_0x280a39(0x301)]);_0x51770e[_0x280a39(0xba)](),this['_handler'][_0x280a39(0xce)](this,_0x51770e);},_0x5f9ccb);}[_0x54341f(0xda)](){var _0x223280=_0x54341f,_0x66346b;const _0x4ae2d1=this[_0x223280(0x285)]['getConfig'](Y);return(_0x66346b=_0x4ae2d1==null?void 0x0:_0x4ae2d1['sendChangesetTimeout'])!=null?_0x66346b:Ut;}[_0x54341f(0x207)](){var _0x2771ec=_0x54341f;throw new Error(_0x2771ec(0x323));}[_0x54341f(0x189)](){var _0x3544c2=_0x54341f;this[_0x3544c2(0x380)]!=null&&(clearTimeout(this[_0x3544c2(0x380)]),this[_0x3544c2(0x380)]=null);}[_0x54341f(0x2e9)](_0x2e5df5){var _0x367039=_0x54341f;return this['_clearScheduledTask'](),this[_0x367039(0x3a1)][_0x367039(0x228)](exports[_0x367039(0xdd)],this[_0x367039(0x1bb)],this[_0x367039(0x37a)],null,this['_pendingMutations'],this[_0x367039(0x301)],_0x2e5df5);}},exports['PendingState']=oe([w(0x4,a['Inject'](a[_0x54341f(0x3aa)])),w(0x5,a[_0x54341f(0x3f8)](p[_0x54341f(0x22f)])),w(0x6,a[_0x54341f(0x3f8)](exports['MemberService'])),w(0x7,a[_0x54341f(0x21a)]),w(0x8,a[_0x54341f(0x37c)]),w(0x9,a[_0x54341f(0x370)]),w(0xa,p[_0x54341f(0x23c)]),w(0xb,a[_0x54341f(0x29b)]),w(0xc,a['IUndoRedoService']),w(0xd,a[_0x54341f(0x368)](K))],exports[_0x54341f(0x376)]),exports[_0x54341f(0x319)]=class extends ae{constructor(_0x180342,_0x4794dc,_0xc0e6bd,_0x45d35a,_0x238d30,_0x5b6416,_0x1857a9,_0x4a2fe7,_0x305800,_0x24e612,_0x2c7e99){var _0x1c7a13=_0x54341f;super(_0x180342,_0x4794dc,_0xc0e6bd,[],_0x45d35a,_0x1857a9,_0x24e612,_0x5b6416,_0x2c7e99),A(this,'status',_0x1c7a13(0x34a)),A(this,_0x1c7a13(0xd5),0x0),A(this,'_resendTimer'),A(this,'_sender'),(this[_0x1c7a13(0x3a1)]=_0x238d30,this['_logService']=_0x4a2fe7,this[_0x1c7a13(0x348)]=_0x305800);}[_0x54341f(0x234)](_0x81db1b){var _0x1c2df5=_0x54341f;this[_0x1c2df5(0x189)]();const _0x312477=this[_0x1c2df5(0x3a1)][_0x1c2df5(0x228)](exports[_0x1c2df5(0x177)],this[_0x1c2df5(0x1bb)],this['type'],this[_0x1c2df5(0x304)],[_0x81db1b],this['_handler'],this[_0x1c2df5(0x171)]);return _0x312477[_0x1c2df5(0xba)](),_0x312477;}[_0x54341f(0x149)](_0x167c34){var _0x45af61=_0x54341f;if(this[_0x45af61(0x210)](_0x167c34))return this[_0x45af61(0x189)](),this[_0x45af61(0x3a1)][_0x45af61(0x228)](exports[_0x45af61(0x422)],this[_0x45af61(0x1bb)],this[_0x45af61(0x37a)],this[_0x45af61(0x304)],[],null,[_0x167c34],this[_0x45af61(0x301)]);try{const _0x404b44=this[_0x45af61(0x348)]['transformChangesets']([_0x167c34],[this[_0x45af61(0x304)]],!0x1);if(p[_0x45af61(0x1db)](_0x404b44)){const {c1Prime:_0xfb3294,c2Prime:_0xfd1771}=_0x404b44;this[_0x45af61(0x314)](_0xfb3294[0x0]),_0xfd1771[0x0][_0x45af61(0x1c1)]=this['_getCurrentRevision'](),this[_0x45af61(0x189)]();const _0x50ba41=this[_0x45af61(0x3a1)]['createInstance'](exports[_0x45af61(0x319)],this[_0x45af61(0x1bb)],this[_0x45af61(0x37a)],_0xfd1771[0x0],this['_handler']);return _0x50ba41[_0x45af61(0xba)](),_0x50ba41;}return this['_onConflict'](!0x1);}catch(_0x3376db){return this[_0x45af61(0x1dc)][_0x45af61(0x146)](_0x3376db),this['_onConflict'](!0x1);}}[_0x54341f(0x39d)](_0x2cd336){var _0x5a6b64=_0x54341f;this[_0x5a6b64(0x189)]();const _0x587509=this['_revisionService']['getCurrentRevOfUnit'](this[_0x5a6b64(0x1bb)]);if(_0x2cd336['revision']<_0x587509-0x1)return this;if(this[_0x5a6b64(0x210)](_0x2cd336))return this[_0x5a6b64(0x3a1)][_0x5a6b64(0x228)](exports[_0x5a6b64(0x422)],this['unitID'],this['type'],null,[],this[_0x5a6b64(0x304)],[],this[_0x5a6b64(0x301)]);this[_0x5a6b64(0xc0)]();const _0x357a8c=this[_0x5a6b64(0x3a1)][_0x5a6b64(0x228)](exports['SyncedState'],this[_0x5a6b64(0x1bb)],this[_0x5a6b64(0x37a)],this[_0x5a6b64(0x301)]);return _0x357a8c['_updateLocalCache'](),_0x357a8c;}[_0x54341f(0x408)](_0xcc74ff){return this['_onConflict'](!!(_0xcc74ff!=null&&_0xcc74ff['isPermissionRej']));}[_0x54341f(0x262)](_0x15ea3e){var _0x5c5a76=_0x54341f;return this['_resendTimeout']>ft?this['toggleOffline']():(this[_0x5c5a76(0x171)]=St(this[_0x5c5a76(0xd5)],{'timeout':this[_0x5c5a76(0xd5)],'reqId':_0x15ea3e[_0x5c5a76(0x3dd)]}),this[_0x5c5a76(0x220)]=this[_0x5c5a76(0x171)][_0x5c5a76(0x3b5)](({reqId:_0x24224a,timeout:_0x47f84f})=>{var _0x5a7acc=_0x5c5a76;this[_0x5a7acc(0x1d9)](_0x24224a,_0x47f84f);}),this);}[_0x54341f(0x225)](){var _0x28d889=_0x54341f;return this['_clearScheduledTask'](),this['_injector'][_0x28d889(0x228)](exports[_0x28d889(0x11a)],this['unitID'],this['type'],this[_0x28d889(0x304)],[],this[_0x28d889(0x301)]);}[_0x54341f(0x378)](){return this;}['resend'](){var _0x1777cc=_0x54341f;this[_0x1777cc(0x301)][_0x1777cc(0xab)](this[_0x1777cc(0x304)]);}[_0x54341f(0x2e9)](_0x52c4f9){var _0x4bbd54=_0x54341f;return this['_clearScheduledTask'](),this[_0x4bbd54(0x3a1)][_0x4bbd54(0x228)](exports['ConflictState'],this[_0x4bbd54(0x1bb)],this['type'],this[_0x4bbd54(0x304)],[],this['_handler'],_0x52c4f9);}[_0x54341f(0x1d9)](_0x2bf949,_0x49d1e8){var _0x2453e1=_0x54341f,_0x3a8a3e;_0x2bf949===((_0x3a8a3e=this[_0x2453e1(0x304)])==null?void 0x0:_0x3a8a3e[_0x2453e1(0x3dd)])&&(this[_0x2453e1(0x207)](),this['_resendTimeout']=_0x49d1e8===0x0?0x3e8:_0x49d1e8*0x2);}[_0x54341f(0x189)](){var _0x257eea=_0x54341f,_0x3b07eb;(_0x3b07eb=this[_0x257eea(0x220)])==null||_0x3b07eb[_0x257eea(0x134)](),this[_0x257eea(0xd5)]=0x0;}},exports[_0x54341f(0x319)]=oe([w(0x4,a[_0x54341f(0x3f8)](a[_0x54341f(0x3aa)])),w(0x5,a[_0x54341f(0x3f8)](p[_0x54341f(0x22f)])),w(0x6,a[_0x54341f(0x37c)]),w(0x7,a[_0x54341f(0x21a)]),w(0x8,p[_0x54341f(0x23c)]),w(0x9,a[_0x54341f(0x2ca)]),w(0xa,a[_0x54341f(0x368)](K))],exports[_0x54341f(0x319)]),exports[_0x54341f(0x177)]=class extends ae{constructor(_0x50dba1,_0x5ceae4,_0x3449bc,_0x1ffd51,_0x1cb253,_0x53cb3e,_0x3b08fc,_0x3000e,_0x5c8503,_0x2c9ed6,_0x13ff80,_0x183297,_0x534026){var _0x3746b5=_0x54341f;super(_0x50dba1,_0x5ceae4,_0x3449bc,_0x1ffd51,_0x1cb253,_0x5c8503,_0x183297,_0x3000e,_0x534026),A(this,_0x3746b5(0x2fc),_0x3746b5(0x2a5)),A(this,'_resendTimeout',0x0),A(this,_0x3746b5(0x171)),A(this,_0x3746b5(0x220)),(this[_0x3746b5(0x3a1)]=_0x3b08fc,this[_0x3746b5(0x1dc)]=_0x2c9ed6,this[_0x3746b5(0x348)]=_0x13ff80,this['localCacheService']=_0x534026,_0x53cb3e&&(this[_0x3746b5(0x171)]=_0x53cb3e,this['_sender']=this['_resendTimer']['subscribe'](({reqId:_0x5824ab,timeout:_0x10f91d})=>{var _0x2d6c96=_0x3746b5;this[_0x2d6c96(0x1d9)](_0x5824ab,_0x10f91d);})));}['appendMutation'](_0x1cb8e0){var _0x2c35fc=_0x54341f;return this[_0x2c35fc(0x38b)][_0x2c35fc(0x16f)](_0x1cb8e0),this;}[_0x54341f(0x149)](_0x4a393d){var _0x2fdfee=_0x54341f;if(this['_checkMissing'](_0x4a393d))return this[_0x2fdfee(0x189)](),this[_0x2fdfee(0x3a1)][_0x2fdfee(0x228)](exports[_0x2fdfee(0x422)],this[_0x2fdfee(0x1bb)],this[_0x2fdfee(0x37a)],this[_0x2fdfee(0x304)],this[_0x2fdfee(0x38b)],null,[_0x4a393d],this[_0x2fdfee(0x301)]);try{const _0x1f760d=this[_0x2fdfee(0x348)][_0x2fdfee(0x29d)]([_0x4a393d],[this[_0x2fdfee(0x304)]],!0x1);if(p[_0x2fdfee(0x1db)](_0x1f760d)){const {c1Prime:_0x2463a4,c2Prime:_0x10d49b}=_0x1f760d,_0x485f20=this['_transformService'][_0x2fdfee(0x2f2)](_0x2463a4[0x0],this[_0x2fdfee(0x38b)]);if(p['isTransformMutationsWithChangesetSuccess'](_0x485f20)){const {c1Prime:_0x2932f0,m2Prime:_0x4646c4}=_0x485f20;return this['_executeRemoteChangeset'](_0x2932f0),_0x10d49b[0x0][_0x2fdfee(0x1c1)]=this[_0x2fdfee(0x249)](),this['_clearScheduledTask'](),this[_0x2fdfee(0x3a1)][_0x2fdfee(0x228)](exports[_0x2fdfee(0x177)],this['unitID'],this[_0x2fdfee(0x37a)],_0x10d49b[0x0],_0x4646c4,this[_0x2fdfee(0x301)],void 0x0);}throw _0x485f20['error'];}throw _0x1f760d[_0x2fdfee(0x146)];}catch(_0x463690){return this[_0x2fdfee(0x1dc)][_0x2fdfee(0x146)](_0x463690),this[_0x2fdfee(0x2e9)](!0x1);}}[_0x54341f(0x39d)](_0x3c1b4d){var _0x57b296=_0x54341f;if(this[_0x57b296(0x189)](),this['_checkMissing'](_0x3c1b4d))return this[_0x57b296(0x3a1)][_0x57b296(0x228)](exports[_0x57b296(0x422)],this['unitID'],this[_0x57b296(0x37a)],null,this[_0x57b296(0x38b)],this[_0x57b296(0x304)],[],this['_handler']);this[_0x57b296(0xc0)]();const _0x22303a=this[_0x57b296(0x3a1)][_0x57b296(0x228)](exports[_0x57b296(0x376)],this[_0x57b296(0x1bb)],this['type'],this[_0x57b296(0x38b)],this[_0x57b296(0x301)]);return _0x22303a[_0x57b296(0xec)](),_0x22303a[_0x57b296(0xba)](),_0x22303a;}[_0x54341f(0x408)](_0x22d2ad){var _0x37f7dc=_0x54341f;return this[_0x37f7dc(0x2e9)](!!(_0x22d2ad!=null&&_0x22d2ad['isPermissionRej']));}[_0x54341f(0x262)](_0x37067f){var _0x1ea6b6=_0x54341f;return this[_0x1ea6b6(0xd5)]>ft?this[_0x1ea6b6(0x225)]():(this['_resendTimer']=St(this['_resendTimeout'],{'timeout':this[_0x1ea6b6(0xd5)],'reqId':_0x37067f['reqId']}),this[_0x1ea6b6(0x220)]=this[_0x1ea6b6(0x171)][_0x1ea6b6(0x3b5)](({reqId:_0x11fd66,timeout:_0x6965d2})=>{this['_resendWithTimeout'](_0x11fd66,_0x6965d2);}),this);}[_0x54341f(0x225)](){var _0x1d6572=_0x54341f;return this[_0x1d6572(0x189)](),this[_0x1d6572(0x3a1)]['createInstance'](exports[_0x1d6572(0x11a)],this[_0x1d6572(0x1bb)],this[_0x1d6572(0x37a)],this[_0x1d6572(0x304)],this['_pendingMutations'],this['_handler']);}[_0x54341f(0x378)](){return this;}[_0x54341f(0x207)](){var _0x1de355=_0x54341f;this[_0x1de355(0x301)][_0x1de355(0xab)](this[_0x1de355(0x304)]);}[_0x54341f(0x2e9)](_0xa221d6){var _0x4d1c99=_0x54341f;return this[_0x4d1c99(0x189)](),this['_injector'][_0x4d1c99(0x228)](exports['ConflictState'],this['unitID'],this[_0x4d1c99(0x37a)],null,this[_0x4d1c99(0x38b)],this['_handler'],_0xa221d6);}['_resendWithTimeout'](_0x1d6f10,_0x4c921c){var _0x5cf3e1=_0x54341f,_0x59fc68;_0x1d6f10===((_0x59fc68=this[_0x5cf3e1(0x304)])==null?void 0x0:_0x59fc68[_0x5cf3e1(0x3dd)])&&(this['resend'](),this[_0x5cf3e1(0xd5)]=_0x4c921c===0x0?0x3e8:_0x4c921c*0x2);}[_0x54341f(0x189)](){var _0x454559=_0x54341f,_0x448dc1;(_0x448dc1=this[_0x454559(0x220)])==null||_0x448dc1[_0x454559(0x134)](),this[_0x454559(0xd5)]=0x0;}},exports[_0x54341f(0x177)]=oe([w(0x6,a[_0x54341f(0x3f8)](a[_0x54341f(0x3aa)])),w(0x7,a[_0x54341f(0x3f8)](p[_0x54341f(0x22f)])),w(0x8,a['ICommandService']),w(0x9,a['ILogService']),w(0xa,p['ITransformService']),w(0xb,a['IUndoRedoService']),w(0xc,a['Optional'](K))],exports[_0x54341f(0x177)]),exports[_0x54341f(0xdd)]=class extends ae{constructor(_0xf3b75e,_0x4a08e2,_0x4eb2a3,_0x5f0a89,_0x32ddad,_0x32b92a=!0x1,_0x428f28,_0xa6ae8,_0x356552,_0x1c8f96,_0x3e582a,_0x3901f9,_0x2850a9){var _0x551fca=_0x54341f;super(_0xf3b75e,_0x4a08e2,_0x4eb2a3,_0x5f0a89,_0x32ddad,_0xa6ae8,_0x356552,_0x1c8f96,_0x2850a9),A(this,_0x551fca(0x2fc),_0x551fca(0x198)),(this[_0x551fca(0x2c6)]=_0x32b92a,this[_0x551fca(0xf6)]=_0x428f28,this['_localeService']=_0x3e582a,this['_collaborationUIEventService']=_0x3901f9,this[_0x551fca(0x151)]=_0x2850a9,this[_0x551fca(0x27f)](),this['_clearLocalCache'](),this[_0x551fca(0x3b7)]());}[_0x54341f(0x234)](){return this;}[_0x54341f(0x149)](){return this;}[_0x54341f(0x39d)](){return this;}[_0x54341f(0x408)](){return this;}[_0x54341f(0x262)](){return this;}['toggleOffline'](){return this;}['toggleOnline'](){return this;}[_0x54341f(0x207)](){var _0x537bf8=_0x54341f;throw new Error(_0x537bf8(0x2a6));}[_0x54341f(0x184)](){var _0x16f4b9=_0x54341f,_0x466f50;(_0x466f50=this[_0x16f4b9(0x41a)])==null||_0x466f50['updateOfflineData'](this[_0x16f4b9(0x1bb)],this[_0x16f4b9(0x37a)],null,[]);}[_0x54341f(0x27f)](){var _0x4c7b58=_0x54341f;this[_0x4c7b58(0x2c6)]?this[_0x4c7b58(0xd0)][_0x4c7b58(0x393)]({'id':Z[_0x4c7b58(0xf8)]}):this['_collaborationUIEventService']['emitEvent']({'id':Z['CONFLICT']});}[_0x54341f(0x3b7)](){var _0x2301d2=_0x54341f;this[_0x2301d2(0xf6)][_0x2301d2(0x133)](new X[(_0x2301d2(0x218))](this[_0x2301d2(0x1bb)])['id'],!0x1);}},exports[_0x54341f(0xdd)]=oe([w(0x6,a[_0x54341f(0x3f8)](a[_0x54341f(0x1fe)])),w(0x7,a['ICommandService']),w(0x8,a[_0x54341f(0x2ca)]),w(0x9,a['Inject'](p[_0x54341f(0x22f)])),w(0xa,a[_0x54341f(0x3f8)](a[_0x54341f(0x30c)])),w(0xb,a['Inject'](ee)),w(0xc,a[_0x54341f(0x368)](K))],exports['ConflictState']),exports[_0x54341f(0x11a)]=class extends ae{constructor(_0x263a8d,_0x1f6c6e,_0x39a92c,_0x1eb1dc,_0x53370d,_0x4e8326,_0x336504,_0x17607a,_0x2b57ef,_0xe1d577){var _0x3a8c77=_0x54341f;super(_0x263a8d,_0x1f6c6e,_0x39a92c,_0x1eb1dc,_0x53370d,_0x17607a,_0x2b57ef,_0x336504,_0xe1d577),A(this,_0x3a8c77(0x2fc),_0x3a8c77(0x375)),this[_0x3a8c77(0x3a1)]=_0x4e8326;}['appendMutation'](_0x1a5d6b){var _0x4ac723=_0x54341f;return this[_0x4ac723(0x38b)][_0x4ac723(0x16f)](_0x1a5d6b),this[_0x4ac723(0xba)](),this;}[_0x54341f(0x149)](_0x5315db){var _0x575e59=_0x54341f;throw new Error(_0x575e59(0x18e));}[_0x54341f(0x39d)](){var _0x574d1b=_0x54341f;throw new Error(_0x574d1b(0xb5));}[_0x54341f(0x408)](){var _0x555ce9=_0x54341f;throw new Error(_0x555ce9(0x26c));}['onRemoteRetry'](){return this;}[_0x54341f(0x225)](){return this;}['toggleOnline'](){var _0x15e80a=_0x54341f;const {_injector:_0x33b16e,_pendingMutations:_0xf8eef3,_awaitingChangeset:_0xe196f6,unitID:_0x4a2c81,_handler:_0x3f4cd7,type:_0x1181f8}=this,_0x203a9d=It(_0x33b16e,_0x4a2c81,_0x1181f8,_0xe196f6,_0xf8eef3,_0x3f4cd7);return _0x203a9d instanceof exports[_0x15e80a(0x376)]?_0x203a9d[_0x15e80a(0xec)]():(_0x203a9d instanceof exports['AwaitingWithPendingState']||_0x203a9d instanceof exports[_0x15e80a(0x319)])&&_0x203a9d[_0x15e80a(0x207)](),_0x203a9d;}[_0x54341f(0x207)](){throw new Error('[OfflineState]:\x20invalid\x20calling\x20to\x20`resend`.');}},exports['OfflineState']=oe([w(0x5,a[_0x54341f(0x3f8)](a[_0x54341f(0x3aa)])),w(0x6,a[_0x54341f(0x3f8)](p[_0x54341f(0x22f)])),w(0x7,a[_0x54341f(0x37c)]),w(0x8,a[_0x54341f(0x2ca)]),w(0x9,a[_0x54341f(0x368)](K))],exports[_0x54341f(0x11a)]),exports[_0x54341f(0x422)]=class extends ae{constructor(_0x4db76b,_0x2f3b77,_0x479490,_0x46d155,_0x19bf37,_0x3ffe92,_0x5065c7,_0x3e4157,_0x4c4513,_0x29a535,_0x549712,_0x520603,_0x37fdb8,_0x2eb10b){var _0x263249=_0x54341f;super(_0x4db76b,_0x2f3b77,_0x479490,_0x46d155,_0x5065c7,_0x549712,_0x520603,_0x4c4513,_0x2eb10b),A(this,_0x263249(0x2fc),_0x263249(0x373)),(this[_0x263249(0x1fd)]=_0x19bf37,this['_queuedRemoteChangesets']=_0x3ffe92,this[_0x263249(0x3a1)]=_0x3e4157,this[_0x263249(0x1dc)]=_0x29a535,this['_transformService']=_0x37fdb8,this['localCacheService']=_0x2eb10b);}[_0x54341f(0x145)](_0x222f3b){var _0x1c2907=_0x54341f;try{const _0x2ea5e8=[..._0x222f3b,...this[_0x1c2907(0x377)]],_0x23c924=[this['_awaitingChangeset']||this[_0x1c2907(0x1fd)]]['filter'](_0x51dfc2=>!!_0x51dfc2);let _0xe33874,_0x281f9f;if(_0x23c924[_0x1c2907(0x1e8)]){const _0x351fc5=this['_transformService'][_0x1c2907(0x29d)](_0x2ea5e8,_0x23c924,!0x1);if(!p[_0x1c2907(0x1db)](_0x351fc5))throw _0x351fc5[_0x1c2907(0x146)];_0xe33874=_0x351fc5['c1Prime'],_0x281f9f=_0x351fc5[_0x1c2907(0x294)];}else _0xe33874=_0x2ea5e8,_0x281f9f=[];let _0x1e40f5=this[_0x1c2907(0x38b)];_0xe33874[_0x1c2907(0x30a)](_0xaa7a3e=>{var _0x4708f8=_0x1c2907;let _0x44cc94;if(_0x1e40f5['length']){const _0x95b34d=this[_0x4708f8(0x348)][_0x4708f8(0x2f2)](_0xaa7a3e,_0x1e40f5);if(!p[_0x4708f8(0x2a3)](_0x95b34d))throw _0x95b34d[_0x4708f8(0x146)];_0x44cc94=_0x95b34d[_0x4708f8(0x3f6)],_0x1e40f5=_0x95b34d[_0x4708f8(0x1f4)];}else _0x44cc94=_0xaa7a3e;this[_0x4708f8(0x314)](_0x44cc94);}),this['_acknowledgedAwaitingChangeset']&&this[_0x1c2907(0xc0)](),this[_0x1c2907(0x304)]&&_0x281f9f[_0x1c2907(0x1e8)]&&(_0x281f9f[0x0]['baseRev']=this[_0x1c2907(0x249)]());let _0x241834;if(this[_0x1c2907(0x304)]&&_0x1e40f5[_0x1c2907(0x1e8)]!==0x0)_0x241834=this['_injector'][_0x1c2907(0x228)](exports[_0x1c2907(0x177)],this[_0x1c2907(0x1bb)],this['type'],_0x281f9f[0x0],_0x1e40f5,this[_0x1c2907(0x301)],void 0x0);else{if(this[_0x1c2907(0x304)]&&_0x1e40f5[_0x1c2907(0x1e8)]===0x0)_0x281f9f[0x0][_0x1c2907(0x1c1)]=this[_0x1c2907(0x249)](),_0x241834=this['_injector'][_0x1c2907(0x228)](exports[_0x1c2907(0x319)],this[_0x1c2907(0x1bb)],this[_0x1c2907(0x37a)],_0x281f9f[0x0],this[_0x1c2907(0x301)]);else{if(_0x1e40f5['length']!==0x0){const _0x5e08f6=this[_0x1c2907(0x3a1)][_0x1c2907(0x228)](exports[_0x1c2907(0x376)],this[_0x1c2907(0x1bb)],this['type'],_0x1e40f5,this[_0x1c2907(0x301)]);_0x5e08f6['_schedule'](),_0x241834=_0x5e08f6;}else _0x241834=this[_0x1c2907(0x3a1)]['createInstance'](exports[_0x1c2907(0x20d)],this[_0x1c2907(0x1bb)],this[_0x1c2907(0x37a)],this[_0x1c2907(0x301)]);}}return _0x241834[_0x1c2907(0xba)](),_0x241834;}catch(_0x90891c){return this['_logService'][_0x1c2907(0x146)](_0x1c2907(0x3f0),_0x1c2907(0x168),_0x90891c),this[_0x1c2907(0x3a1)][_0x1c2907(0x228)](exports[_0x1c2907(0xdd)],this[_0x1c2907(0x1bb)],this['type'],this[_0x1c2907(0x304)],this['_pendingMutations'],this[_0x1c2907(0x301)],!0x1);}}[_0x54341f(0x207)](){throw new Error('[FetchingMissState]:\x20invalid\x20calling\x20to\x20`resend`.');}[_0x54341f(0x234)](_0x5a2130){var _0x475858=_0x54341f;return this['_pendingMutations'][_0x475858(0x16f)](_0x5a2130),this;}['onRemoteChangeset'](_0x4c2846){var _0x3cd76d=_0x54341f;return this[_0x3cd76d(0x377)][_0x3cd76d(0x16f)](_0x4c2846),this;}[_0x54341f(0x39d)](_0x1c9831){var _0x54e360=_0x54341f;if(this[_0x54e360(0x304)])return this[_0x54e360(0x1fd)]=this[_0x54e360(0x304)],this[_0x54e360(0x304)]=null,this;throw new Error('[FetchingMissState]:\x20not\x20expected\x20to\x20receive\x20ack\x20when\x20`this._awaitingChangeset`\x20is\x20null!');}[_0x54341f(0x408)](_0x5a9565){var _0x25236a=_0x54341f;return this['_onConflict'](!!(_0x5a9565!=null&&_0x5a9565[_0x25236a(0xd1)]));}[_0x54341f(0x262)](){return this;}['toggleOffline'](){var _0x806ed6=_0x54341f;return this['_injector'][_0x806ed6(0x228)](exports[_0x806ed6(0x11a)],this[_0x806ed6(0x1bb)],this[_0x806ed6(0x37a)],this[_0x806ed6(0x304)],this[_0x806ed6(0x38b)],this['_handler']);}[_0x54341f(0x378)](){return this;}[_0x54341f(0x2e9)](_0x3dee42){var _0x525076=_0x54341f;return this[_0x525076(0x3a1)][_0x525076(0x228)](exports['ConflictState'],this[_0x525076(0x1bb)],this[_0x525076(0x37a)],this[_0x525076(0x304)],this[_0x525076(0x38b)],this['_handler'],_0x3dee42);}},exports[_0x54341f(0x422)]=oe([w(0x7,a['Inject'](a[_0x54341f(0x3aa)])),w(0x8,a['Inject'](p[_0x54341f(0x22f)])),w(0x9,a[_0x54341f(0x21a)]),w(0xa,a['ICommandService']),w(0xb,a['IUndoRedoService']),w(0xc,p[_0x54341f(0x23c)]),w(0xd,a[_0x54341f(0x368)](K))],exports[_0x54341f(0x422)]);function It(_0x4f4fa6,_0x28d0f8,_0x1030ac,_0x16f180,_0x34af05,_0x536d44){var _0x27d0fa=_0x54341f;return _0x16f180&&_0x34af05[_0x27d0fa(0x1e8)]?_0x4f4fa6[_0x27d0fa(0x228)](exports['AwaitingWithPendingState'],_0x28d0f8,_0x1030ac,_0x16f180,_0x34af05,_0x536d44,void 0x0):_0x16f180?_0x4f4fa6[_0x27d0fa(0x228)](exports[_0x27d0fa(0x319)],_0x28d0f8,_0x1030ac,_0x16f180,_0x536d44):_0x34af05[_0x27d0fa(0x1e8)]?_0x4f4fa6[_0x27d0fa(0x228)](exports['PendingState'],_0x28d0f8,_0x1030ac,_0x34af05,_0x536d44):_0x4f4fa6['createInstance'](exports[_0x27d0fa(0x20d)],_0x28d0f8,_0x1030ac,_0x536d44);}var ni=Object['getOwnPropertyDescriptor'],Be=(_0x20b27e,_0x43e636,_0x35876b,_0x1a5c9b)=>{for(var _0x3599bd=_0x1a5c9b>0x1?void 0x0:_0x1a5c9b?ni(_0x43e636,_0x35876b):_0x43e636,_0x14efe4=_0x20b27e['length']-0x1,_0x54819c;_0x14efe4>=0x0;_0x14efe4--)(_0x54819c=_0x20b27e[_0x14efe4])&&(_0x3599bd=_0x54819c(_0x3599bd)||_0x3599bd);return _0x3599bd;},j=(_0x400293,_0x35fec8)=>(_0x2dcd4d,_0x20071b)=>_0x35fec8(_0x2dcd4d,_0x20071b,_0x400293);exports[_0x54341f(0xb3)]=class extends a[_0x54341f(0x26a)]{constructor(_0x275f39,_0x498d3a,_0x3731de,_0x8d1139,_0x30c5cd,_0x59c841,_0x3adb44,_0x12bdaa,_0x1e2b0d,_0x4120d6,_0x2fdbb7,_0x28f094,_0x1b4633){var _0x266752=_0x54341f;super(),A(this,_0x266752(0x152),new H['BehaviorSubject'](null)),A(this,'state$',this[_0x266752(0x152)][_0x266752(0x131)]()),A(this,_0x266752(0x2b6)),A(this,'_collaborationPaused',!0x1),A(this,_0x266752(0x1ba),''),A(this,'_changesetReqId',0x0),A(this,_0x266752(0x32a),this[_0x266752(0x329)][_0x266752(0x26d)](H[_0x266752(0x30f)](_0xae2118=>_0xae2118?_0xae2118['status']:je[_0x266752(0x313)]),H[_0x266752(0x11b)](0x1))),A(this,_0x266752(0x1fa),!0x1),A(this,_0x266752(0x122),[]),(this[_0x266752(0x1bb)]=_0x275f39,this[_0x266752(0x1a0)]=_0x498d3a,this[_0x266752(0x392)]=_0x3731de,this[_0x266752(0x3a1)]=_0x8d1139,this[_0x266752(0x3d5)]=_0x30c5cd,this['_localeService']=_0x59c841,this[_0x266752(0xb7)]=_0x3adb44,this[_0x266752(0x2ff)]=_0x12bdaa,this[_0x266752(0x1dc)]=_0x1e2b0d,this['_commandService']=_0x4120d6,this[_0x266752(0xf6)]=_0x2fdbb7,this['_singleActiveUnitService']=_0x28f094,this[_0x266752(0x41a)]=_0x1b4633);}get['state'](){return this['_state'];}async[_0x54341f(0x3b4)](){var _0x335bfe=_0x54341f;if(this[_0x335bfe(0x38c)])throw new Error(_0x335bfe(0x118));await this['_init']();}[_0x54341f(0x385)](){var _0x5e04e5=_0x54341f;return this['_collaborationPaused']=!0x0,a[_0x5e04e5(0x1ff)](()=>{var _0x4b72e6=_0x5e04e5;this[_0x4b72e6(0xd4)]=!0x1,this[_0x4b72e6(0x1df)]();});}[_0x54341f(0x1ea)](_0x5263ca){var _0x4cd0de=_0x54341f;this[_0x4cd0de(0x11d)](_0x5263ca);}[_0x54341f(0xca)](_0x69640f){var _0x4c07c2=_0x54341f;this[_0x4c07c2(0x2b6)]=_0x69640f,this[_0x4c07c2(0x152)][_0x4c07c2(0x23b)](_0x69640f);}async['_init'](){var _0xa2e2f7=_0x54341f,_0x857cbb;this[_0xa2e2f7(0xca)](await this[_0xa2e2f7(0x38a)]()),this[_0xa2e2f7(0x2f6)]&&((_0x857cbb=this[_0xa2e2f7(0x2f6)])==null||_0x857cbb[_0xa2e2f7(0x23f)](this['unitID']),this[_0xa2e2f7(0x38f)](this[_0xa2e2f7(0x2f6)][_0xa2e2f7(0x187)](this[_0xa2e2f7(0x1bb)])[_0xa2e2f7(0x3b5)](_0x9ca2f3=>{var _0x3a805b=_0xa2e2f7;this[_0x3a805b(0x1dc)][_0x3a805b(0x3c1)](_0x3a805b(0x2f9),_0x3a805b(0x129),_0x9ca2f3),_0x9ca2f3===He[_0x3a805b(0x355)]?(this[_0x3a805b(0x2ff)]['emitEvent']({'id':Z[_0x3a805b(0x22a)]}),this[_0x3a805b(0xf6)][_0x3a805b(0x133)](new X['WorkbookEditablePermission'](this[_0x3a805b(0x1bb)])['id'],!0x1),this[_0x3a805b(0xf6)]['setShowComponents'](!0x1)):(this[_0x3a805b(0xf6)][_0x3a805b(0x133)](new X['WorkbookEditablePermission'](this[_0x3a805b(0x1bb)])['id'],!0x0),this[_0x3a805b(0xf6)]['setShowComponents'](!0x0));})));let _0x2fe3a1=!0x1;return this[_0xa2e2f7(0x38f)](this['session'][_0xa2e2f7(0x1a1)][_0xa2e2f7(0x3b5)](_0x186976=>{var _0x4a1c57=_0xa2e2f7;_0x186976===re['ONLINE']?this[_0x4a1c57(0x24e)](_0x2fe3a1):_0x186976===re['OFFLINE']&&(_0x2fe3a1=!0x0,this[_0x4a1c57(0x2f4)]());})),this[_0xa2e2f7(0x38f)](this[_0xa2e2f7(0x1a0)]['event$'][_0xa2e2f7(0x3b5)](_0x4983cf=>{var _0x3d8f9a=_0xa2e2f7;try{switch(_0x4983cf[_0x3d8f9a(0x143)]){case p[_0x3d8f9a(0x315)]['NEW_CHANGESETS']:{this[_0x3d8f9a(0xc2)](p['parseProtocolChangeset'](_0x4983cf[_0x3d8f9a(0x11c)]));break;}case p[_0x3d8f9a(0x315)][_0x3d8f9a(0x332)]:{this[_0x3d8f9a(0x2e3)](_0x4983cf[_0x3d8f9a(0x11c)]);break;}case p[_0x3d8f9a(0x315)]['CHANGESET_REJ']:{this['_onRemoteRejected']();break;}case p['CollaborationEvent'][_0x3d8f9a(0x1d6)]:{this[_0x3d8f9a(0x188)](_0x4983cf['data']);break;}case p[_0x3d8f9a(0x315)]['PSEUDO_FETCH_MISSING_RESULT']:{this[_0x3d8f9a(0x3be)](_0x4983cf[_0x3d8f9a(0x11c)][_0x3d8f9a(0x3e2)][_0x3d8f9a(0x30f)](_0x2b1144=>p[_0x3d8f9a(0x299)](_0x2b1144)));break;}case p[_0x3d8f9a(0x315)][_0x3d8f9a(0x391)]:{this[_0x3d8f9a(0xcc)]({'isPermissionRej':!0x0});break;}case p['CollaborationEvent'][_0x3d8f9a(0x2a0)]:break;}}catch(_0x2ee805){throw console[_0x3d8f9a(0x146)]('Error\x20on\x20receiving\x20event',_0x2ee805),_0x2ee805;}})),this[_0xa2e2f7(0x2b6)];}[_0x54341f(0x349)](){var _0x3de4f1=_0x54341f;this[_0x3de4f1(0x1fa)]=!0x1;}['_lockTransition'](){var _0x44c3c4=_0x54341f;if(this[_0x44c3c4(0x1fa)])throw new Error('[CollaborationEntity]:\x20cannot\x20lock\x20transition\x20twice!\x20This\x20is\x20an\x20implementation\x20error,\x20meaning\x20you\x20transit\x20the\x20collaboration\x20state\x20again\x20in\x20the\x20process\x20of\x20a\x20previous\x20transition.\x20This\x20should\x20never\x20happen.');this[_0x44c3c4(0x1fa)]=!0x0;}[_0x54341f(0x11d)](_0x436cd2){var _0x50a091=_0x54341f;this['_lockTransition'](),this[_0x50a091(0xca)](this['_state'][_0x50a091(0x234)](_0x436cd2)),this[_0x50a091(0x349)]();}['_onRemoteChangeset'](_0x2542f0){var _0x434772=_0x54341f;if(!(_0x2542f0['revision']<=this[_0x434772(0xb7)][_0x434772(0x387)](this['unitID']))){if(this['_collaborationPaused']){this['_remoteChangesetQueue'][_0x434772(0x16f)](_0x2542f0);return;}this['_applyRemoteChangeset'](_0x2542f0);}}[_0x54341f(0x1df)](){var _0x3ac0b2=_0x54341f;this[_0x3ac0b2(0x122)][_0x3ac0b2(0x30a)](_0xc248a0=>this[_0x3ac0b2(0x19c)](_0xc248a0)),this[_0x3ac0b2(0x122)]=[];}['_applyRemoteChangeset'](_0x40e4d9){var _0x2fbffb=_0x54341f;const _0x39d85b=this[_0x2fbffb(0x3d5)]['interceptor'][_0x2fbffb(0x31b)](this[_0x2fbffb(0x3d5)][_0x2fbffb(0x3bb)][_0x2fbffb(0x1d0)]()[_0x2fbffb(0x239)])(_0x40e4d9[_0x2fbffb(0xfe)],null)||_0x40e4d9[_0x2fbffb(0xfe)],_0x2fa7a4={..._0x40e4d9,'mutations':_0x39d85b};this['_lockTransition'](),this[_0x2fbffb(0xca)](this[_0x2fbffb(0x2b6)]['onRemoteChangeset'](_0x2fa7a4)),this['_unlockTransition']();}['_onRemoteACK'](_0x28f398){var _0x19f379=_0x54341f;this[_0x19f379(0x20e)](),this[_0x19f379(0xca)](this[_0x19f379(0x2b6)][_0x19f379(0x39d)](_0x28f398)),this[_0x19f379(0x349)]();}[_0x54341f(0xcc)](_0xbc19b9){var _0x3668e7=_0x54341f;this['_lockTransition'](),this[_0x3668e7(0xca)](this['_state']['onRemoteRej'](_0xbc19b9)),this['_unlockTransition']();}[_0x54341f(0x188)](_0x1ec54e){var _0x480be8=_0x54341f;this[_0x480be8(0x20e)](),this[_0x480be8(0xca)](this[_0x480be8(0x2b6)][_0x480be8(0x262)](_0x1ec54e)),this[_0x480be8(0x349)]();}[_0x54341f(0x3be)](_0x271546){var _0xa778d0=_0x54341f;if(!(this[_0xa778d0(0x2b6)]instanceof exports[_0xa778d0(0x422)]))throw new TypeError(_0xa778d0(0x35f));const _0x30d0aa=_0x271546[_0xa778d0(0x30f)](_0x279589=>{var _0x2974f2=_0xa778d0;const _0x26fec4=this[_0x2974f2(0x3d5)][_0x2974f2(0x3bb)][_0x2974f2(0x31b)](this[_0x2974f2(0x3d5)][_0x2974f2(0x3bb)]['getInterceptPoints']()['COMPRESS_MUTATION_APPLY'])(_0x279589[_0x2974f2(0xfe)],null)||_0x279589[_0x2974f2(0xfe)];return{..._0x279589,'mutations':_0x26fec4};});this['_lockTransition'](),this['_updateState'](this[_0xa778d0(0x2b6)][_0xa778d0(0x145)](_0x30d0aa)),this[_0xa778d0(0x349)]();}[_0x54341f(0x2f4)](){var _0x29fd5f=_0x54341f;this[_0x29fd5f(0x20e)](),this[_0x29fd5f(0xca)](this['_state'][_0x29fd5f(0x225)]()),this[_0x29fd5f(0x349)]();}[_0x54341f(0x24e)](_0x4e09f8=!0x1){var _0x4ca09b=_0x54341f;this[_0x4ca09b(0x20e)](),this[_0x4ca09b(0xca)](this[_0x4ca09b(0x2b6)][_0x4ca09b(0x378)]()),this[_0x4ca09b(0x349)]();const _0x15deba=this['_state'];_0x4e09f8&&_0x15deba instanceof exports[_0x4ca09b(0x20d)]&&(this[_0x4ca09b(0x20e)](),this[_0x4ca09b(0xca)](_0x15deba['fetchMiss']()),this[_0x4ca09b(0x349)]());}async[_0x54341f(0x38a)](){return new Promise(_0x332c44=>{var _0x21257a=_0x2020;this[_0x21257a(0x1a0)][_0x21257a(0x1a1)][_0x21257a(0x26d)](H['take'](0x1))[_0x21257a(0x3b5)](async _0x1ca3c8=>{var _0x542eb3=_0x21257a;_0x332c44(await this[_0x542eb3(0x1d4)](_0x1ca3c8===re[_0x542eb3(0x137)]));});});}[_0x54341f(0xd6)](){var _0x41326c=_0x54341f;const _0x5eedc7=this[_0x41326c(0x1bb)];return{'onStateChange':(_0x180823,_0xcd67b)=>{var _0x2f3b3b=_0x41326c;if(_0x180823!==this[_0x2f3b3b(0x2b6)])throw new Error(_0x2f3b3b(0x2ae)+_0x180823[_0x2f3b3b(0x2fc)]+_0x2f3b3b(0x214)+_0xcd67b[_0x2f3b3b(0x2fc)]+_0x2f3b3b(0x31a)+this['_state'][_0x2f3b3b(0x2fc)]);this[_0x2f3b3b(0xca)](_0xcd67b);},'onSendChangeset':_0x3c0ed7=>{var _0x2a3fef=_0x41326c;_0x3c0ed7[_0x2a3fef(0x3e8)]||(_0x3c0ed7[_0x2a3fef(0x3e8)]=this['_changesetSessionId'],_0x3c0ed7[_0x2a3fef(0x3dd)]=++this[_0x2a3fef(0x38d)]);const _0x5e8680={'eventID':p[_0x2a3fef(0x315)][_0x2a3fef(0x176)],'data':{'unitID':_0x3c0ed7[_0x2a3fef(0x1bb)],'unitType':this[_0x2a3fef(0x392)],'changeset':_0x3c0ed7,'memberID':this[_0x2a3fef(0x1a0)][_0x2a3fef(0x1b0)]()}};this[_0x2a3fef(0x1a0)][_0x2a3fef(0x102)](_0x5e8680,this['unitID']);},'onMissingChangesets':({from:_0x4682ab,to:_0x534452})=>{var _0x391276=_0x41326c;this[_0x391276(0x1dc)][_0x391276(0x3c1)](_0x391276(0x2f9),_0x391276(0x312)+_0x4682ab+_0x391276(0x244)+_0x534452);const _0x5473b7={'eventID':p[_0x391276(0x315)][_0x391276(0x17b)],'data':{'unitID':_0x5eedc7,'unitType':this[_0x391276(0x392)],'from':_0x4682ab,'to':_0x534452}};this['session'][_0x391276(0x102)](_0x5473b7,this['unitID']);}};}async[_0x54341f(0x1d4)](_0x99b394){var _0x56108d=_0x54341f,_0xbc9d1e,_0x3b2f63,_0x400f20;const _0x545f42=await((_0xbc9d1e=this[_0x56108d(0x41a)])==null?void 0x0:_0xbc9d1e[_0x56108d(0x3b1)](this[_0x56108d(0x1bb)])),_0x5983c3=(_0x3b2f63=_0x545f42==null?void 0x0:_0x545f42[_0x56108d(0xfe)])!=null?_0x3b2f63:[],_0x432364=(_0x400f20=_0x545f42==null?void 0x0:_0x545f42[_0x56108d(0x197)])!=null?_0x400f20:null,_0x293111=!!(_0x432364!=null&&_0x432364[_0x56108d(0x3e8)])&&!!(_0x432364!=null&&_0x432364[_0x56108d(0x3dd)]);this[_0x56108d(0x1ba)]=_0x293111?_0x432364[_0x56108d(0x3e8)]:p[_0x56108d(0x204)](),this[_0x56108d(0x38d)]=_0x293111?_0x432364[_0x56108d(0x3dd)]:0x0;const _0x5ec899=this[_0x56108d(0x1bb)];try{this[_0x56108d(0x2b1)](_0x432364,_0x5983c3);}catch(_0x1cbf97){this[_0x56108d(0x1dc)][_0x56108d(0x146)](_0x1cbf97);}const _0x443b8c=this[_0x56108d(0xd6)]();if(_0x99b394){const _0x676167=It(this[_0x56108d(0x3a1)],_0x5ec899,this[_0x56108d(0x392)],_0x432364,_0x5983c3,_0x443b8c);return _0x676167 instanceof exports[_0x56108d(0x376)]?_0x676167['_schedule']():(_0x676167 instanceof exports[_0x56108d(0x177)]||_0x676167 instanceof exports[_0x56108d(0x319)])&&_0x676167[_0x56108d(0x207)](),_0x676167;}return this[_0x56108d(0x3a1)]['createInstance'](exports[_0x56108d(0x11a)],_0x5ec899,this[_0x56108d(0x392)],_0x432364,_0x5983c3,_0x443b8c);}[_0x54341f(0x2b1)](_0x166e07,_0x26d891){var _0x47c711=_0x54341f,_0xa475b4,_0x3bc7db;const _0x364474=this[_0x47c711(0x3d5)][_0x47c711(0x3bb)][_0x47c711(0x31b)](this['_compressMutationService'][_0x47c711(0x3bb)][_0x47c711(0x1d0)]()['COMPRESS_MUTATION_APPLY']);(_0xa475b4=_0x364474((_0x166e07==null?void 0x0:_0x166e07[_0x47c711(0xfe)])||[],null))==null||_0xa475b4[_0x47c711(0x30a)](_0x3f5b05=>this[_0x47c711(0xe0)][_0x47c711(0x384)](_0x3f5b05['id'],_0x3f5b05['params'])),(_0x3bc7db=_0x364474(_0x26d891||[],null))==null||_0x3bc7db[_0x47c711(0x30a)](_0x1549dd=>this[_0x47c711(0xe0)][_0x47c711(0x384)](_0x1549dd['id'],_0x1549dd[_0x47c711(0x2e8)]));}},exports[_0x54341f(0xb3)]=Be([j(0x3,a[_0x54341f(0x3f8)](a[_0x54341f(0x3aa)])),j(0x4,a['Inject'](p[_0x54341f(0x3a2)])),j(0x5,a['Inject'](a[_0x54341f(0x30c)])),j(0x6,a[_0x54341f(0x3f8)](p[_0x54341f(0x22f)])),j(0x7,a[_0x54341f(0x3f8)](ee)),j(0x8,a[_0x54341f(0x21a)]),j(0x9,a[_0x54341f(0x37c)]),j(0xa,a['IPermissionService']),j(0xb,a[_0x54341f(0x368)](de)),j(0xc,a['Optional'](K))],exports['CollaborationEntity']),exports[_0x54341f(0x195)]=class extends exports[_0x54341f(0xb3)]{constructor(_0x3b57f3,_0x3e572b,_0x32034d,_0x3a86d5,_0x26cf1b,_0x1524c0,_0x1c8959,_0x42163c,_0x1db93a,_0x40a677,_0x539e1e,_0x29441e,_0x40154f){var _0xb5de73=_0x54341f;super(_0x3b57f3,_0x32034d,_0x3e572b,_0x3a86d5,_0x26cf1b,_0x1524c0,_0x1c8959,_0x42163c,_0x1db93a,_0x40a677,_0x539e1e,_0x29441e,_0x40154f),A(this,_0xb5de73(0x1b5),null),(this['unitID']=_0x3b57f3,this[_0xb5de73(0x37a)]=_0x3e572b);}[_0x54341f(0x300)](_0x468620){var _0x57bade=_0x54341f;this[_0x57bade(0x1b5)]=_0x468620;}[_0x54341f(0xbc)](){var _0x3d9f3b=_0x54341f;this[_0x3d9f3b(0x1b5)]=null,super['dispose']();}[_0x54341f(0xd6)](){var _0x556590=_0x54341f;const _0x540959=super[_0x556590(0xd6)]();return _0x540959[_0x556590(0x297)]=_0x4f0cdc=>{var _0x1548e2=_0x556590,_0x2e6470,_0x3be1d0;return(_0x3be1d0=(_0x2e6470=this['_handlerCallback'])==null?void 0x0:_0x2e6470[_0x1548e2(0x297)])==null?void 0x0:_0x3be1d0['call'](_0x2e6470,_0x4f0cdc);},_0x540959[_0x556590(0x421)]=_0x378442=>{var _0x379862=_0x556590,_0x4b8927,_0xbdbaed;return(_0xbdbaed=(_0x4b8927=this[_0x379862(0x1b5)])==null?void 0x0:_0x4b8927['onTransformState'])==null?void 0x0:_0xbdbaed[_0x379862(0x2c9)](_0x4b8927,_0x378442);},_0x540959['onTransformSelections']=_0x5ef5ce=>{var _0x5d08c5=_0x556590,_0x14284a,_0x1738f1;return(_0x1738f1=(_0x14284a=this['_handlerCallback'])==null?void 0x0:_0x14284a[_0x5d08c5(0x39c)])==null?void 0x0:_0x1738f1[_0x5d08c5(0x2c9)](_0x14284a,_0x5ef5ce);},_0x540959[_0x556590(0x12d)]=_0x14df9d=>{var _0x91d7c8=_0x556590,_0x5177d6,_0x5233d8;return(_0x5233d8=(_0x5177d6=this[_0x91d7c8(0x1b5)])==null?void 0x0:_0x5177d6[_0x91d7c8(0x12d)])==null?void 0x0:_0x5233d8[_0x91d7c8(0x2c9)](_0x5177d6,_0x14df9d);},_0x540959[_0x556590(0x1c8)]=_0x464786=>{var _0x48c3b6=_0x556590,_0x5e19ac,_0x24c113,_0x1db098;if(!((_0x5e19ac=this[_0x48c3b6(0x1b5)])!=null&&_0x5e19ac[_0x48c3b6(0x1c8)]))throw new Error(_0x48c3b6(0x3d2));return(_0x1db098=(_0x24c113=this[_0x48c3b6(0x1b5)])==null?void 0x0:_0x24c113['onTransformRemoteChangesetByIMECache'])==null?void 0x0:_0x1db098[_0x48c3b6(0x2c9)](_0x24c113,_0x464786);},_0x540959['onTransformRemoteChangesetByStateCache']=_0x1d379a=>{var _0x3ea742=_0x556590,_0x396c8f,_0x5d3571,_0x43aa24;if(!((_0x396c8f=this[_0x3ea742(0x1b5)])!=null&&_0x396c8f[_0x3ea742(0x263)]))throw new Error('onTransformRemoteChangesetByStateCache\x20callback\x20is\x20not\x20added\x20yet.');return(_0x43aa24=(_0x5d3571=this[_0x3ea742(0x1b5)])==null?void 0x0:_0x5d3571['onTransformRemoteChangesetByStateCache'])==null?void 0x0:_0x43aa24[_0x3ea742(0x2c9)](_0x5d3571,_0x1d379a);},_0x540959;}async[_0x54341f(0x2b0)](){var _0x2d9d31=_0x54341f;const _0x111cb1=await super[_0x2d9d31(0x2b0)]();return this['disposeWithMe'](this[_0x2d9d31(0xe0)][_0x2d9d31(0x2ee)]((_0x295094,_0x29e78c)=>{var _0x3bd51d=_0x2d9d31;if(_0x295094[_0x3bd51d(0x37a)]!==a['CommandType'][_0x3bd51d(0x2e6)]||_0x29e78c!=null&&_0x29e78c[_0x3bd51d(0x175)]||_0x29e78c!=null&&_0x29e78c[_0x3bd51d(0x17d)]||_0x295094['id']===ct['RichTextEditingMutation']['id'])return;const _0x5a939a=_0x295094[_0x3bd51d(0x2e8)];if((_0x5a939a==null?void 0x0:_0x5a939a[_0x3bd51d(0x40c)])!==this[_0x3bd51d(0x1bb)])return;const _0x50ba45=_0x295094,_0xadc55f=this[_0x3bd51d(0x3d5)]['interceptor']['fetchThroughInterceptors'](this[_0x3bd51d(0x3d5)][_0x3bd51d(0x3bb)]['getInterceptPoints']()[_0x3bd51d(0x1a7)])([_0x50ba45],null)||[_0x50ba45];this[_0x3bd51d(0x11d)](_0xadc55f[0x0]);})),_0x111cb1;}},exports[_0x54341f(0x195)]=Be([j(0x3,a[_0x54341f(0x3f8)](a['Injector'])),j(0x4,a[_0x54341f(0x3f8)](p[_0x54341f(0x3a2)])),j(0x5,a[_0x54341f(0x3f8)](a[_0x54341f(0x30c)])),j(0x6,a[_0x54341f(0x3f8)](p[_0x54341f(0x22f)])),j(0x7,a[_0x54341f(0x3f8)](ee)),j(0x8,a[_0x54341f(0x21a)]),j(0x9,a['ICommandService']),j(0xa,a[_0x54341f(0x1fe)]),j(0xb,a[_0x54341f(0x368)](de)),j(0xc,a[_0x54341f(0x368)](K))],exports[_0x54341f(0x195)]),exports[_0x54341f(0x290)]=class extends exports['CollaborationEntity']{constructor(_0x1441cd,_0x190795,_0x564238,_0x55010c,_0x5e07a5,_0x3f83c1,_0x3f4ac6,_0x20ee22,_0x2eea84,_0x7a6ce0,_0x3792bc,_0x32feb4,_0x1bfc21,_0x2ed60a){var _0x57aec1=_0x54341f;super(_0x1441cd,_0x564238,_0x190795,_0x55010c,_0x5e07a5,_0x3f83c1,_0x3f4ac6,_0x2eea84,_0x7a6ce0,_0x3792bc,_0x32feb4,_0x1bfc21,_0x2ed60a),this['unitID']=_0x1441cd,this['type']=_0x190795,this[_0x57aec1(0x3c4)]=_0x20ee22;}[_0x54341f(0xd6)](){var _0x2f0b07=_0x54341f;const _0x442950=super[_0x2f0b07(0xd6)]();return _0x442950['onTransformSelections']=_0x33ba8b=>this[_0x2f0b07(0x3c4)][_0x2f0b07(0x394)](_0x33ba8b),_0x442950;}async['_init'](){var _0x3bd266=_0x54341f;const _0x411677=await super[_0x3bd266(0x2b0)]();return this[_0x3bd266(0x38f)](this['_commandService'][_0x3bd266(0x2ee)]((_0x3edaad,_0x35d8c6)=>{var _0x15124d=_0x3bd266;if(_0x3edaad[_0x15124d(0x37a)]!==a[_0x15124d(0x1d2)][_0x15124d(0x2e6)]||_0x35d8c6!=null&&_0x35d8c6[_0x15124d(0x175)]||_0x35d8c6!=null&&_0x35d8c6[_0x15124d(0x17d)])return;const _0x2e8d0c=_0x3edaad[_0x15124d(0x2e8)];if((_0x2e8d0c==null?void 0x0:_0x2e8d0c[_0x15124d(0x40c)])!==this[_0x15124d(0x1bb)])return;const _0x23e786=_0x3edaad,_0x172448=this[_0x15124d(0x3d5)][_0x15124d(0x3bb)][_0x15124d(0x31b)](this[_0x15124d(0x3d5)]['interceptor']['getInterceptPoints']()[_0x15124d(0x1a7)])([_0x23e786],null)||[_0x23e786];this['_onLocalMutation'](_0x172448[0x0]);})),_0x411677;}},exports[_0x54341f(0x290)]=Be([j(0x3,a['Inject'](a['Injector'])),j(0x4,a[_0x54341f(0x3f8)](p['CompressMutationService'])),j(0x5,a['Inject'](a[_0x54341f(0x30c)])),j(0x6,a[_0x54341f(0x3f8)](p['RevisionService'])),j(0x7,a[_0x54341f(0x3f8)](exports[_0x54341f(0x25a)])),j(0x8,a[_0x54341f(0x3f8)](ee)),j(0x9,a[_0x54341f(0x21a)]),j(0xa,a['ICommandService']),j(0xb,a[_0x54341f(0x1fe)]),j(0xc,a['Optional'](de)),j(0xd,a[_0x54341f(0x368)](K))],exports[_0x54341f(0x290)]);const pt=a[_0x54341f(0x19d)](_0x54341f(0x12b));function mt(_0x4b8b38){var _0xc835be=_0x54341f,_0x188f4e,_0x10a18e,_0x42fee5,_0x38b9e8,_0x402b4d;const _0x49673f=_0x4b8b38[_0xc835be(0x11c)],_0x1087b8=JSON[_0xc835be(0x383)](_0x49673f);switch(_0x1087b8['cmd']){case W[_0xc835be(0x3c2)]:case W['HELLO']:{const _0xbf2bdc=_0x1087b8[_0xc835be(0x1d5)];return{..._0x1087b8,'data':_0xbf2bdc,'cmd':_0x1087b8['cmd']};}case W[_0xc835be(0x276)]:{const _0x529181=_0x1087b8[_0xc835be(0x261)];return{..._0x1087b8,'data':_0x529181,'cmd':_0x1087b8[_0xc835be(0x2a2)]};}case W['RECV']:{const _0x4cbe52=_0x1087b8[_0xc835be(0xbe)];switch(_0x4cbe52[_0xc835be(0x143)]){case p[_0xc835be(0x315)][_0xc835be(0x391)]:return{..._0x1087b8,'data':{..._0x4cbe52,'data':(_0x188f4e=_0x4cbe52[_0xc835be(0x1cb)])==null?void 0x0:_0x188f4e['cs']},'cmd':_0x1087b8[_0xc835be(0x2a2)]};case p[_0xc835be(0x315)][_0xc835be(0x332)]:return{..._0x1087b8,'data':{..._0x4cbe52,'data':(_0x10a18e=_0x4cbe52[_0xc835be(0x1d8)])==null?void 0x0:_0x10a18e['cs']},'cmd':_0x1087b8[_0xc835be(0x2a2)]};case p[_0xc835be(0x315)][_0xc835be(0x1f7)]:return{..._0x1087b8,'data':{..._0x4cbe52,'data':(_0x42fee5=_0x4cbe52[_0xc835be(0x121)])==null?void 0x0:_0x42fee5['cs']},'cmd':_0x1087b8['cmd']};case p[_0xc835be(0x315)][_0xc835be(0xfd)]:return{..._0x1087b8,'data':{..._0x4cbe52,'data':(_0x38b9e8=_0x4cbe52['csRejEvent'])==null?void 0x0:_0x38b9e8['cs']},'cmd':_0x1087b8[_0xc835be(0x2a2)]};case p[_0xc835be(0x315)][_0xc835be(0x1d6)]:return{..._0x1087b8,'data':{..._0x4cbe52,'data':(_0x402b4d=_0x4cbe52[_0xc835be(0x1f0)])==null?void 0x0:_0x402b4d['cs']},'cmd':_0x1087b8[_0xc835be(0x2a2)]};case p[_0xc835be(0x315)]['UPDATE_CURSOR']:return{..._0x1087b8,'data':{..._0x4cbe52,'data':_0x4cbe52[_0xc835be(0x409)]},'cmd':_0x1087b8[_0xc835be(0x2a2)]};case p[_0xc835be(0x315)][_0xc835be(0x2fe)]:return{..._0x1087b8,'data':{..._0x4cbe52,'data':_0x4cbe52[_0xc835be(0x2b3)]},'cmd':_0x1087b8[_0xc835be(0x2a2)]};case p[_0xc835be(0x315)][_0xc835be(0x34f)]:return{..._0x1087b8,'data':{..._0x4cbe52,'data':_0x4cbe52['leaveEvent']},'cmd':_0x1087b8[_0xc835be(0x2a2)]};case p['CollaborationEvent']['LIVESHARE_NEW_HOST']:return{..._0x1087b8,'data':{..._0x4cbe52,'data':_0x4cbe52[_0xc835be(0x257)]},'cmd':_0x1087b8[_0xc835be(0x2a2)]};case p['CollaborationEvent'][_0xc835be(0x293)]:case p[_0xc835be(0x315)][_0xc835be(0x1fb)]:return{..._0x1087b8,'data':{..._0x4cbe52,'data':_0x4cbe52['liveShareOperation']},'cmd':_0x1087b8[_0xc835be(0x2a2)]};case p[_0xc835be(0x315)][_0xc835be(0x200)]:return{..._0x1087b8,'data':{..._0x4cbe52,'data':_0x4cbe52[_0xc835be(0x257)]},'cmd':_0x1087b8[_0xc835be(0x2a2)]};case p['CollaborationEvent']['MSG_FOR_ERROR']:return{..._0x1087b8,'data':_0x4cbe52,'cmd':_0x1087b8[_0xc835be(0x2a2)]};case p[_0xc835be(0x315)]['COMMENT_UPDATE']:return{..._0x1087b8,'data':{..._0x4cbe52,'data':_0x4cbe52[_0xc835be(0x1ce)]},'cmd':_0x1087b8[_0xc835be(0x2a2)]};case p[_0xc835be(0x315)][_0xc835be(0x308)]:return{..._0x1087b8,'data':{..._0x4cbe52,'data':_0x4cbe52['updatePermissionObjEvent']},'cmd':_0x1087b8[_0xc835be(0x2a2)]};case p[_0xc835be(0x315)]['SHOULD_CLOSE_CONN']:return{..._0x1087b8,'data':{..._0x4cbe52,'data':_0x4cbe52[_0xc835be(0x233)]},'cmd':_0x1087b8[_0xc835be(0x2a2)]};case p[_0xc835be(0x315)][_0xc835be(0x2a0)]:return{..._0x1087b8,'data':{..._0x4cbe52,'data':_0x4cbe52['uniscriptRunEvent']},'cmd':_0x1087b8['cmd']};default:return _0x1087b8;}}default:return _0x1087b8;}}function gt(_0x2464fb){var _0xa85622=_0x54341f;switch(_0x2464fb['cmd']){case W[_0xa85622(0x3c2)]:case W[_0xa85622(0x2fb)]:return JSON['stringify']({'cmd':_0x2464fb[_0xa85622(0x2a2)],'routeKey':_0x2464fb[_0xa85622(0x3f3)]});case W[_0xa85622(0x160)]:{let _0x3294f0;switch(_0x2464fb[_0xa85622(0x11c)][_0xa85622(0x143)]){case p[_0xa85622(0x315)][_0xa85622(0x1af)]:{_0x3294f0={'eventID':p['CollaborationEvent']['UPDATE_CURSOR'],'updateCursorEvent':_0x2464fb[_0xa85622(0x11c)][_0xa85622(0x11c)]};break;}case p[_0xa85622(0x315)]['USERS_LEAVE']:{_0x3294f0={'eventID':p['CollaborationEvent'][_0xa85622(0x34f)],'leaveEvent':_0x2464fb[_0xa85622(0x11c)][_0xa85622(0x11c)]};break;}case p[_0xa85622(0x315)][_0xa85622(0x2fe)]:{_0x3294f0={'eventID':p[_0xa85622(0x315)][_0xa85622(0x2fe)],'joinEvent':_0x2464fb[_0xa85622(0x11c)][_0xa85622(0x11c)]};break;}case p[_0xa85622(0x315)][_0xa85622(0x26b)]:{_0x3294f0={'eventID':p[_0xa85622(0x315)][_0xa85622(0x26b)],'liveShareNewHost':_0x2464fb['data']['data']};break;}case p['CollaborationEvent']['LIVESHARE_OPERATION']:{_0x3294f0={'eventID':p['CollaborationEvent'][_0xa85622(0x1fb)],'liveShareOperation':_0x2464fb[_0xa85622(0x11c)][_0xa85622(0x11c)]};break;}case p['CollaborationEvent'][_0xa85622(0x200)]:{_0x3294f0={'eventID':p[_0xa85622(0x315)]['LIVESHARE_TERMINATE'],'liveShareTerminate':_0x2464fb[_0xa85622(0x11c)]['data']};break;}case p[_0xa85622(0x315)]['LIVESHARE_REQUEST_HOST']:{_0x3294f0={'eventID':p['CollaborationEvent'][_0xa85622(0x342)],'liveShareRequestHost':_0x2464fb[_0xa85622(0x11c)][_0xa85622(0x11c)]};break;}case p[_0xa85622(0x315)]['LIVESHARE_FETCH_OPERATIONS']:{_0x3294f0={'eventID':p[_0xa85622(0x315)][_0xa85622(0x293)]};break;}default:_0x3294f0={'eventID':_0x2464fb['data'][_0xa85622(0x143)]};}return JSON[_0xa85622(0x3ef)]({'cmd':_0x2464fb[_0xa85622(0x2a2)],'routeKey':_0x2464fb[_0xa85622(0x3f3)],'collaMsg':_0x3294f0});}case W[_0xa85622(0x276)]:return JSON[_0xa85622(0x3ef)]({'cmd':_0x2464fb[_0xa85622(0x2a2)],'routeKey':_0x2464fb[_0xa85622(0x3f3)],'joinReq':_0x2464fb['data']});case W['LEAVE']:return JSON[_0xa85622(0x3ef)]({'cmd':_0x2464fb[_0xa85622(0x2a2)],'routeKey':_0x2464fb['routeKey'],'leaveReq':_0x2464fb[_0xa85622(0x11c)]});default:throw new Error(_0xa85622(0x32c));}}var ri=Object[_0x54341f(0x2d4)],si=(_0x10ad15,_0x2ea8ed,_0x33de4c,_0x17bebb)=>{var _0x13b5c3=_0x54341f;for(var _0x39be28=_0x17bebb>0x1?void 0x0:_0x17bebb?ri(_0x2ea8ed,_0x33de4c):_0x2ea8ed,_0x2aec41=_0x10ad15[_0x13b5c3(0x1e8)]-0x1,_0x256065;_0x2aec41>=0x0;_0x2aec41--)(_0x256065=_0x10ad15[_0x2aec41])&&(_0x39be28=_0x256065(_0x39be28)||_0x39be28);return _0x39be28;},_e=(_0x318908,_0x448597)=>(_0x1fe485,_0x8b5082)=>_0x448597(_0x1fe485,_0x8b5082,_0x318908);const Fe=a[_0x54341f(0x19d)](_0x54341f(0x33d));function oi(_0x585be5,_0x2efd6d,_0x4da7c6){var _0x482804=_0x54341f;return _0x585be5+'/'+_0x2efd6d+_0x482804(0x360)+_0x4da7c6+_0x482804(0xe9);}exports[_0x54341f(0x21b)]=class extends a[_0x54341f(0x382)]{constructor(_0x3d0979,_0x4e491e,_0xcab606,_0xaa2083,_0x4ea145){var _0xddebc2=_0x54341f;super(),this[_0xddebc2(0x3a1)]=_0x3d0979,this['_httpService']=_0x4e491e,this[_0xddebc2(0x285)]=_0xcab606,this[_0xddebc2(0x1dc)]=_0xaa2083,this[_0xddebc2(0x18c)]=_0x4ea145;}[_0x54341f(0x3b9)](_0x37d32c){var _0x226ebe=_0x54341f;const _0xb98dd2=this['_injector'][_0x226ebe(0x345)](q[_0x226ebe(0x403)]);if(!_0xb98dd2)throw new Error(_0x226ebe(0x3d9));const _0x2bee93=_0xb98dd2[_0x226ebe(0x1bd)](_0x37d32c);if(!_0x2bee93)throw new Error(_0x226ebe(0x20a));const _0x546646=new a[(_0x226ebe(0x39a))](),_0x34e1c7=new H[(_0x226ebe(0x1f5))]();_0x546646[_0x226ebe(0x29e)](_0x2bee93[_0x226ebe(0x33a)][_0x226ebe(0x3b5)](_0x1cd639=>_0x34e1c7[_0x226ebe(0x23b)](_0x1cd639))),_0x546646[_0x226ebe(0x29e)](a[_0x226ebe(0x1ff)](()=>_0x34e1c7[_0x226ebe(0xf2)]()));const _0x4d344d=new H['Subject']();_0x546646[_0x226ebe(0x29e)](_0x2bee93[_0x226ebe(0x172)][_0x226ebe(0x3b5)](_0x3fad66=>_0x4d344d[_0x226ebe(0x23b)](_0x3fad66))),_0x546646[_0x226ebe(0x29e)](a[_0x226ebe(0x1ff)](()=>_0x4d344d['complete']()));const _0xc5805a=new H['Subject']();_0x546646[_0x226ebe(0x29e)](_0x2bee93[_0x226ebe(0x32f)]['subscribe'](_0x2ec691=>{var _0x264f63=_0x226ebe;const _0x785e1b=mt(_0x2ec691);_0xc5805a[_0x264f63(0x23b)](_0x785e1b);})),_0x546646[_0x226ebe(0x29e)](a['toDisposable'](()=>_0xc5805a['complete']()));let _0x45319b;const _0x3a95c8=()=>{var _0x484ca2=_0x226ebe;_0x4d344d[_0x484ca2(0x23b)](new Event(_0x484ca2(0x3a5))),_0x34e1c7['next'](new Event('connection\x20error')),_0x45319b[_0x484ca2(0xdf)]();};return _0x45319b={'memberID':'','close$':_0x34e1c7[_0x226ebe(0x131)](),'error$':_0x4d344d['asObservable'](),'open$':_0x2bee93['open$'],'message$':_0xc5805a[_0x226ebe(0x131)](),'send':_0x1abf59=>{var _0x3ed88d=_0x226ebe;if(_0x1abf59[_0x3ed88d(0x2a2)]===W[_0x3ed88d(0x160)]){if(_0x1abf59[_0x3ed88d(0x11c)]['eventID']===p[_0x3ed88d(0x315)][_0x3ed88d(0x176)]){this[_0x3ed88d(0x328)](_0x45319b,_0x1abf59[_0x3ed88d(0x11c)])[_0x3ed88d(0x33b)](_0x394002=>{var _0x2ef80d=_0x3ed88d;this[_0x2ef80d(0x1dc)][_0x2ef80d(0x146)](_0x394002),_0x3a95c8();});return;}if(_0x1abf59['data'][_0x3ed88d(0x143)]===p[_0x3ed88d(0x315)]['FETCH_MISSING']){const _0x1bff0a=_0x1abf59['data'];this[_0x3ed88d(0x41d)](_0x1bff0a)[_0x3ed88d(0x407)](_0x323d2a=>{var _0x46d772=_0x3ed88d;_0xc5805a[_0x46d772(0x23b)]({'cmd':W[_0x46d772(0x27b)],'code':se['OK'],'routeKey':_0x1bff0a[_0x46d772(0x11c)][_0x46d772(0x1bb)],'routeType':'','data':{'eventID':p['CollaborationEvent'][_0x46d772(0x227)],'data':{'changesets':_0x323d2a}}});})[_0x3ed88d(0x33b)](_0x467c3e=>{var _0x4a9648=_0x3ed88d;this[_0x4a9648(0x1dc)][_0x4a9648(0x146)](_0x467c3e),_0x3a95c8();});return;}}_0x2bee93['send'](gt(_0x1abf59));},'close':()=>{var _0x6cc8f8=_0x226ebe;_0x2bee93[_0x6cc8f8(0xdf)](),_0x546646[_0x6cc8f8(0xbc)]();}},_0x45319b;}async['_submitChangeset'](_0x11a3fb,_0x5c7711){var _0x454f2f=_0x54341f,_0x47ad3f;const {unitType:_0x457c07,unitID:_0x4da5dc,changeset:_0x4e4299}=_0x5c7711[_0x454f2f(0x11c)],_0x361709={'unitID':_0x4da5dc,'memberID':_0x11a3fb[_0x454f2f(0x420)],'type':_0x457c07,'changeset':p[_0x454f2f(0x115)](_0x4e4299)},_0x5aa0a8=this[_0x454f2f(0x285)]['getConfig'](Y),_0x595859=oi((_0x47ad3f=_0x5aa0a8==null?void 0x0:_0x5aa0a8[_0x454f2f(0x230)])!=null?_0x47ad3f:kt,_0x457c07,_0x4da5dc);try{await this['_httpService'][_0x454f2f(0x350)](_0x595859,{'body':_0x361709});}catch(_0x1d680c){throw this[_0x454f2f(0x1dc)]['error'](_0x454f2f(0x2d9),_0x454f2f(0x3d4)),_0x1d680c;}}async['_fetchMissChangesets'](_0x708cad){var _0x2f23a8=_0x54341f;const {unitID:_0x3ae372,from:_0x1cabe6,to:_0x22363c,unitType:_0x51d362}=_0x708cad[_0x2f23a8(0x11c)];return(await this[_0x2f23a8(0x18c)]['fetchMissingChangesets']({'metadata':void 0x0},{'unitID':_0x3ae372,'type':_0x51d362,'from':_0x1cabe6,'to':_0x22363c}))[_0x2f23a8(0x3e2)];}},exports[_0x54341f(0x21b)]=si([_e(0x0,a[_0x54341f(0x3f8)](a[_0x54341f(0x3aa)])),_e(0x1,a[_0x54341f(0x3f8)](q[_0x54341f(0x307)])),_e(0x2,a[_0x54341f(0x370)]),_e(0x3,a[_0x54341f(0x21a)]),_e(0x4,p[_0x54341f(0x13c)])],exports[_0x54341f(0x21b)]);var ai=Object[_0x54341f(0x2d4)],ci=(_0x5f2e33,_0x14f9b6,_0x58dd27,_0x1d37e5)=>{var _0x4a0460=_0x54341f;for(var _0xa074cc=_0x1d37e5>0x1?void 0x0:_0x1d37e5?ai(_0x14f9b6,_0x58dd27):_0x14f9b6,_0x4b01cf=_0x5f2e33[_0x4a0460(0x1e8)]-0x1,_0x21129b;_0x4b01cf>=0x0;_0x4b01cf--)(_0x21129b=_0x5f2e33[_0x4b01cf])&&(_0xa074cc=_0x21129b(_0xa074cc)||_0xa074cc);return _0xa074cc;},he=(_0x16e15a,_0x136226)=>(_0x1dd2d6,_0x5aaf0f)=>_0x136226(_0x1dd2d6,_0x5aaf0f,_0x16e15a);exports[_0x54341f(0xcf)]=class extends a[_0x54341f(0x382)]{constructor(_0x3fc4f5,_0x8d816f,_0x2c5c42,_0x1ad2cd,_0x3dd3d2,_0x1df8ba){var _0x262e01=_0x54341f;super(),A(this,_0x262e01(0x291),new H[(_0x262e01(0x190))](void 0x0)),A(this,_0x262e01(0x358),this[_0x262e01(0x291)][_0x262e01(0x131)]()),A(this,_0x262e01(0x248),null),A(this,_0x262e01(0x2a8),new Map()),A(this,_0x262e01(0x35c),new H[(_0x262e01(0x190))](re[_0x262e01(0x352)])),A(this,_0x262e01(0x32a),this['_status$'][_0x262e01(0x131)]()),A(this,_0x262e01(0x1a2),!0x1),A(this,'_retryConnectingTimer'),A(this,'_retryCount',0x0),A(this,'_sendHeartbeatTimer'),A(this,_0x262e01(0x270)),(this[_0x262e01(0x3a1)]=_0x3fc4f5,this[_0x262e01(0x1dc)]=_0x8d816f,this[_0x262e01(0x285)]=_0x2c5c42,this[_0x262e01(0x35b)]=_0x1ad2cd,this[_0x262e01(0xd0)]=_0x3dd3d2,this[_0x262e01(0x28d)]=_0x1df8ba,this[_0x262e01(0x104)]());}get['_socket'](){var _0x1e3bc6=_0x54341f;return this[_0x1e3bc6(0x291)]['getValue']();}[_0x54341f(0x104)](){var _0x31ddf5=_0x54341f;this['_networkConditionService']&&this[_0x31ddf5(0x38f)](this[_0x31ddf5(0x28d)][_0x31ddf5(0x3da)][_0x31ddf5(0x3b5)](_0x4bafe7=>{var _0x388d11=_0x31ddf5;_0x4bafe7&&!this[_0x388d11(0xd2)]&&this['reconnect'](),_0x4bafe7||this[_0x388d11(0x2e4)]();}));}[_0x54341f(0xbc)](){var _0x1ca3cd=_0x54341f;super[_0x1ca3cd(0xbc)](),this[_0x1ca3cd(0x196)](),this['_clearTimeoutTimer'](),this[_0x1ca3cd(0x2d7)](),this[_0x1ca3cd(0x2a8)][_0x1ca3cd(0x30a)](_0xc855ec=>_0xc855ec[_0x1ca3cd(0xbc)]()),this[_0x1ca3cd(0x2a8)][_0x1ca3cd(0x309)](),this['_status$']['complete']();}async[_0x54341f(0x2ab)](_0x4b5e03){var _0x3a5976=_0x54341f;if(this[_0x3a5976(0x2a8)][_0x3a5976(0x357)](_0x4b5e03))return this[_0x3a5976(0x2a8)][_0x3a5976(0x345)](_0x4b5e03);this[_0x3a5976(0x136)]();const _0x203908=this[_0x3a5976(0x3a1)][_0x3a5976(0x228)](exports[_0x3a5976(0xd9)],_0x4b5e03,this[_0x3a5976(0x291)][_0x3a5976(0x131)]());return this[_0x3a5976(0x2a8)][_0x3a5976(0x2f5)](_0x4b5e03,_0x203908),_0x203908;}[_0x54341f(0x11f)](_0x224fc6){var _0x508a26=_0x54341f,_0x3ee10f;const _0x526e8e=this[_0x508a26(0x2a8)]['get'](_0x224fc6);_0x526e8e&&(this['_sessions'][_0x508a26(0x1f1)](_0x224fc6),_0x526e8e[_0x508a26(0xdf)]()),this['_sessions']['size']||(_0x3ee10f=this['_socket'])==null||_0x3ee10f['close']();}['reconnect'](){var _0x11c4ef=_0x54341f;this['_retryCount']=0x0,this[_0x11c4ef(0x196)](),this[_0x11c4ef(0x216)]();}[_0x54341f(0x196)](){var _0x41834e=_0x54341f;this['_retryConnectingTimer']!=null&&(clearTimeout(this[_0x41834e(0x273)]),this[_0x41834e(0x273)]=null);}async[_0x54341f(0x2be)](){var _0x4cc5be=_0x54341f,_0x2d9371;const _0xc291c9=this['_configService']['getConfig'](Y),_0x34f10b=(_0x2d9371=_0xc291c9==null?void 0x0:_0xc291c9['collabWebSocketUrl'])!=null?_0x2d9371:ht,_0x374cb4=await this[_0x4cc5be(0x35b)]['createSocket'](_0x34f10b);return this[_0x4cc5be(0x248)]=_0x374cb4,_0x374cb4;}async[_0x54341f(0x136)](){var _0x4c4ec6=_0x54341f,_0x4bbb10,_0x492d12;try{const _0x3652be=(_0x492d12=(_0x4bbb10=this['_socket'])!=null?_0x4bbb10:this['_candidateSocket'])!=null?_0x492d12:await this['_createSocket']();if(_0x3652be){const _0x5c5e0e=_0x3652be[_0x4c4ec6(0x102)];_0x3652be['send']=_0x3576f6=>(this[_0x4c4ec6(0xfa)](),_0x5c5e0e[_0x4c4ec6(0x1ca)](_0x3652be,[_0x3576f6])),_0x3652be['message$']['subscribe'](_0x3e8519=>this[_0x4c4ec6(0x1c7)](_0x3652be,_0x3e8519)),_0x3652be['error$']['pipe'](V[_0x4c4ec6(0x106)](0x1))[_0x4c4ec6(0x3b5)](_0x4aeda4=>this['_logService'][_0x4c4ec6(0x146)](_0x4c4ec6(0x3fb),_0x4aeda4)),_0x3652be[_0x4c4ec6(0x1d7)][_0x4c4ec6(0x26d)](V[_0x4c4ec6(0x106)](0x1))[_0x4c4ec6(0x3b5)](()=>{var _0x1af30b=_0x4c4ec6;this[_0x1af30b(0x2c4)](_0x3652be);}),_0x3652be[_0x4c4ec6(0x33a)][_0x4c4ec6(0x26d)](V[_0x4c4ec6(0x106)](0x1))[_0x4c4ec6(0x3b5)](_0x5dfaa1=>{var _0x3045e5=_0x4c4ec6;this[_0x3045e5(0x1dc)]['debug']('[CollaborationSessionService]',_0x3045e5(0x361),_0x5dfaa1),this['_onConnectionFailed']();});}}catch(_0x24d6b0){this['_logService'][_0x4c4ec6(0x146)](_0x24d6b0),this['_onConnectionFailed']();}}[_0x54341f(0x2c4)](_0x2c9843){var _0x9d28bf=_0x54341f;this['_logService']['debug']('[CollaborationSessionService]',_0x9d28bf(0x36d)),_0x2c9843['send']({'cmd':W['HELLO']}),this[_0x9d28bf(0xfa)]();}[_0x54341f(0x2e4)](){var _0x1500fb=_0x54341f;this['_socketReady']=!0x1,this[_0x1500fb(0x248)]=null,this[_0x1500fb(0x35c)][_0x1500fb(0x23b)](re['OFFLINE']),this[_0x1500fb(0x291)]['next'](null),this[_0x1500fb(0xc8)](),this['_clearHeartbeatTimer']();}['_onConnectionFailed'](){var _0x551a70=_0x54341f,_0x6ed762;this[_0x551a70(0x2e4)](),this['_retryCount']<((_0x6ed762=this[_0x551a70(0x285)][_0x551a70(0x347)](ut))!=null?_0x6ed762:Mt)?(this[_0x551a70(0xd0)][_0x551a70(0x393)]({'id':Z[_0x551a70(0x112)]}),this[_0x551a70(0x216)]()):this['_collaborationUIEventService'][_0x551a70(0x393)]({'id':Z[_0x551a70(0x2ed)]});}[_0x54341f(0x216)](){var _0x421b52=_0x54341f,_0x389258;const _0x406ec4=this[_0x421b52(0x292)],_0x29aeba=this[_0x421b52(0x285)][_0x421b52(0x347)](Y),_0x37bb41=_0x406ec4===0x0?0x0:((_0x389258=_0x29aeba==null?void 0x0:_0x29aeba[_0x421b52(0x3bf)])!=null?_0x389258:wt)*0x2**_0x406ec4;this['_retryConnectingTimer']=setTimeout(()=>{var _0x5acbd1=_0x421b52;clearTimeout(this[_0x5acbd1(0x273)]),this['_retryConnectingTimer']=null,this[_0x5acbd1(0x136)]();},_0x37bb41),this[_0x421b52(0x292)]+=0x1;}['_onMessage'](_0x1a8c7b,_0x2e2d6a){var _0x322dbf=_0x54341f;const {cmd:_0x386c7e}=_0x2e2d6a;_0x386c7e===W['HELLO']&&!this[_0x322dbf(0x1a2)]&&(_0x1a8c7b['memberID']=_0x2e2d6a[_0x322dbf(0x11c)][_0x322dbf(0x420)],this['_socket$'][_0x322dbf(0x23b)](_0x1a8c7b),this[_0x322dbf(0x35c)][_0x322dbf(0x23b)](re[_0x322dbf(0x137)]),this[_0x322dbf(0x1a2)]=!0x0,this[_0x322dbf(0x248)]=null),_0x386c7e===W[_0x322dbf(0x3c2)]&&this[_0x322dbf(0xc8)](),this[_0x322dbf(0xfa)]();}[_0x54341f(0xfa)](){var _0x14481b=_0x54341f,_0x4f367a;this[_0x14481b(0x2d7)](),this['_sendHeartbeatTimer']=setTimeout(()=>this['_sendHeartbeat'](),(_0x4f367a=this[_0x14481b(0x285)][_0x14481b(0x347)](_t))!=null?_0x4f367a:Pt);}[_0x54341f(0x1cf)](){var _0x5d4dde=_0x54341f;this['_socket']['send']({'cmd':W[_0x5d4dde(0x3c2)]}),this[_0x5d4dde(0x366)]();}[_0x54341f(0x366)](){var _0x498535=_0x54341f,_0x5d5e99;this[_0x498535(0x270)]=setTimeout(()=>this['_onConnectionFailed'](),(_0x5d5e99=this[_0x498535(0x285)]['getConfig'](ke))!=null?_0x5d5e99:lt);}[_0x54341f(0x2d7)](){var _0x590a55=_0x54341f;this[_0x590a55(0x10d)]!=null&&(clearTimeout(this[_0x590a55(0x10d)]),this[_0x590a55(0x10d)]=null);}[_0x54341f(0xc8)](){var _0x1d20d4=_0x54341f;this[_0x1d20d4(0x270)]!=null&&(clearTimeout(this[_0x1d20d4(0x270)]),this[_0x1d20d4(0x270)]=null);}},exports[_0x54341f(0xcf)]=ci([he(0x0,a[_0x54341f(0x3f8)](a['Injector'])),he(0x1,a[_0x54341f(0x21a)]),he(0x2,a['IConfigService']),he(0x3,Fe),he(0x4,a[_0x54341f(0x3f8)](ee)),he(0x5,a[_0x54341f(0x368)](pt))],exports[_0x54341f(0xcf)]);var hi=Object['getOwnPropertyDescriptor'],_i=(_0x5c2635,_0x407887,_0x498aa7,_0x14ca37)=>{var _0x4a5678=_0x54341f;for(var _0x379b71=_0x14ca37>0x1?void 0x0:_0x14ca37?hi(_0x407887,_0x498aa7):_0x407887,_0xda4b99=_0x5c2635[_0x4a5678(0x1e8)]-0x1,_0x1684e0;_0xda4b99>=0x0;_0xda4b99--)(_0x1684e0=_0x5c2635[_0xda4b99])&&(_0x379b71=_0x1684e0(_0x379b71)||_0x379b71);return _0x379b71;},Se=(_0x464129,_0x2b8ddf)=>(_0x15d8b2,_0x2335df)=>_0x2b8ddf(_0x15d8b2,_0x2335df,_0x464129);exports[_0x54341f(0x101)]=class extends a[_0x54341f(0x26a)]{constructor(_0x5a7e2f,_0x1de5ab,_0x5d2dd2,_0x20cd3b){var _0x307e5b=_0x54341f,_0x3a8dd5;super(),A(this,'_entities',new Map()),A(this,_0x307e5b(0x272),new H[(_0x307e5b(0x1f5))]()),A(this,_0x307e5b(0x1ac),this['_entityInit$'][_0x307e5b(0x131)]()),(this[_0x307e5b(0x3a1)]=_0x5a7e2f,this[_0x307e5b(0x1b8)]=_0x1de5ab,this[_0x307e5b(0x285)]=_0x5d2dd2,this[_0x307e5b(0x246)]=_0x20cd3b,((_0x3a8dd5=this['_configService'][_0x307e5b(0x347)](Y))==null?void 0x0:_0x3a8dd5['enableCollaboration'])!==!0x1&&this['_init']());}['dispose'](){var _0x24f831=_0x54341f;super['dispose'](),this['_entities'][_0x24f831(0x30a)](_0x3ed226=>_0x3ed226['dispose']()),this[_0x24f831(0x2b2)][_0x24f831(0x309)]();}[_0x54341f(0xae)](_0x2b9f1c){var _0x1f406e=_0x54341f,_0x3eccd0;return(_0x3eccd0=this[_0x1f406e(0x2b2)][_0x1f406e(0x345)](_0x2b9f1c))!=null?_0x3eccd0:null;}[_0x54341f(0x1aa)](_0x28d1ca){var _0x43d013=_0x54341f;const _0x229263=this[_0x43d013(0xae)](_0x28d1ca);return _0x229263?H['of'](_0x229263):this['_entityInit$'][_0x43d013(0x26d)](V[_0x43d013(0x219)](_0x77d06d=>_0x77d06d['unitID']===_0x28d1ca));}['readyForCollab'](_0xf81368){var _0x53054c=_0x54341f;return H[_0x53054c(0x1f2)](this['getCollabEntity$'](_0xf81368)['pipe'](V[_0x53054c(0x30f)](()=>{})));}['_init'](){var _0x3d2a5f=_0x54341f;this['_univerInstanceService']['getTypeOfUnitAdded$'](a[_0x3d2a5f(0x410)][_0x3d2a5f(0x3ae)])[_0x3d2a5f(0x26d)](H[_0x3d2a5f(0x183)](this['dispose$']),V[_0x3d2a5f(0x159)](0x10))[_0x3d2a5f(0x3b5)](async _0x33e669=>{var _0x585823=_0x3d2a5f;const _0x4302cb=_0x33e669[_0x585823(0x1c4)](),_0x26553d=await this['_startCollaboration'](_0x4302cb,J[_0x585823(0x3ae)]);this[_0x585823(0x2b2)][_0x585823(0x2f5)](_0x4302cb,_0x26553d);}),this[_0x3d2a5f(0x246)][_0x3d2a5f(0xd3)](a[_0x3d2a5f(0x410)][_0x3d2a5f(0x254)])[_0x3d2a5f(0x26d)](H['takeUntil'](this[_0x3d2a5f(0x201)]),V[_0x3d2a5f(0x159)](0x10))[_0x3d2a5f(0x26d)](V[_0x3d2a5f(0x219)](_0x405a3c=>!_0x405a3c[_0x3d2a5f(0x1c4)]()[_0x3d2a5f(0x1c2)]('__')))['subscribe'](async _0x44813f=>{var _0x26bd75=_0x3d2a5f;const _0x51dbea=_0x44813f[_0x26bd75(0x1c4)](),_0x5bb09b=await this[_0x26bd75(0x223)](_0x51dbea,J[_0x26bd75(0x254)]);this['_entities'][_0x26bd75(0x2f5)](_0x51dbea,_0x5bb09b);}),H[_0x3d2a5f(0x303)](this[_0x3d2a5f(0x246)][_0x3d2a5f(0x30b)](a[_0x3d2a5f(0x410)][_0x3d2a5f(0x3ae)]),this[_0x3d2a5f(0x246)][_0x3d2a5f(0x30b)](a['UniverInstanceType'][_0x3d2a5f(0x254)]))[_0x3d2a5f(0x26d)](H['takeUntil'](this[_0x3d2a5f(0x201)]))[_0x3d2a5f(0x3b5)](_0x1cb352=>{var _0x2b450c=_0x3d2a5f;const _0x416dcf=_0x1cb352[_0x2b450c(0x1c4)](),_0x1d4f67=this[_0x2b450c(0x2b2)][_0x2b450c(0x345)](_0x416dcf);_0x1d4f67&&(_0x1d4f67[_0x2b450c(0xbc)](),this[_0x2b450c(0x2b2)][_0x2b450c(0x1f1)](_0x416dcf));});}async[_0x54341f(0x223)](_0x1414e5,_0x1594c2){var _0x456cd4=_0x54341f;const _0x48df58=await this[_0x456cd4(0x1b8)][_0x456cd4(0x2ab)](_0x1414e5),_0x426232=this[_0x456cd4(0x3a1)][_0x456cd4(0x228)](this[_0x456cd4(0x125)](_0x1594c2),_0x1414e5,_0x1594c2,_0x48df58);return await _0x426232[_0x456cd4(0x3b4)](),this['_entityInit$'][_0x456cd4(0x23b)](_0x426232),_0x426232;}[_0x54341f(0x125)](_0x5947fd){var _0x1697b0=_0x54341f;switch(_0x5947fd){case J[_0x1697b0(0x254)]:return exports['DocCollaborationEntity'];case J['UNIVER_SHEET']:return exports[_0x1697b0(0x290)];default:throw new Error('[CollaborationController]:\x20invalid\x20univer\x20type:\x20'+_0x5947fd);}}},exports[_0x54341f(0x101)]=_i([Se(0x0,a[_0x54341f(0x3f8)](a[_0x54341f(0x3aa)])),Se(0x1,a[_0x54341f(0x3f8)](exports[_0x54341f(0xcf)])),Se(0x2,a[_0x54341f(0x370)]),Se(0x3,a['IUniverInstanceService'])],exports[_0x54341f(0x101)]);var li=Object[_0x54341f(0x2d4)],ui=(_0x4ede86,_0x5020c0,_0x1266c4,_0x154419)=>{for(var _0x222987=_0x154419>0x1?void 0x0:_0x154419?li(_0x5020c0,_0x1266c4):_0x5020c0,_0x583c47=_0x4ede86['length']-0x1,_0x3ea28c;_0x583c47>=0x0;_0x583c47--)(_0x3ea28c=_0x4ede86[_0x583c47])&&(_0x222987=_0x3ea28c(_0x222987)||_0x222987);return _0x222987;},Ye=(_0x2963e7,_0x59631c)=>(_0x52dbcf,_0x45004e)=>_0x59631c(_0x52dbcf,_0x45004e,_0x2963e7);const di='DEFAULT_FILE_NAME',vi='Univer';let xe=class extends a[_0x54341f(0x382)]{constructor(_0x58f1e2,_0x21216d){var _0x23af15=_0x54341f;super(),this[_0x23af15(0x246)]=_0x58f1e2,this[_0x23af15(0x285)]=_0x21216d,this[_0x23af15(0x2b0)]();}[_0x54341f(0x2b0)](){var _0x2298b9=_0x54341f;this['disposeWithMe'](this[_0x2298b9(0x246)][_0x2298b9(0xb9)]['subscribe'](()=>{var _0x1c9096=_0x2298b9,_0x12b0df;const _0x1c77ae=this[_0x1c9096(0x246)][_0x1c9096(0x194)]();let _0x19138c=(_0x12b0df=this[_0x1c9096(0x285)][_0x1c9096(0x347)](di))!=null?_0x12b0df:vi;_0x1c77ae instanceof a['Workbook']&&(_0x19138c=_0x1c77ae[_0x1c9096(0x10c)]),document[_0x1c9096(0x28f)]=_0x19138c;}));}};xe=ui([Ye(0x0,a[_0x54341f(0x29b)]),Ye(0x1,a['IConfigService'])],xe);var Si=Object['getOwnPropertyDescriptor'],fi=(_0x5da4c6,_0x457db3,_0x3e2c76,_0x5317a1)=>{var _0x21d815=_0x54341f;for(var _0x239ebb=_0x5317a1>0x1?void 0x0:_0x5317a1?Si(_0x457db3,_0x3e2c76):_0x457db3,_0x4d45ce=_0x5da4c6[_0x21d815(0x1e8)]-0x1,_0x35d3de;_0x4d45ce>=0x0;_0x4d45ce--)(_0x35d3de=_0x5da4c6[_0x4d45ce])&&(_0x239ebb=_0x35d3de(_0x239ebb)||_0x239ebb);return _0x239ebb;},Ae=(_0x5a99c3,_0x451525)=>(_0x1a14cf,_0x1fbc15)=>_0x451525(_0x1a14cf,_0x1fbc15,_0x5a99c3);let ye=class{constructor(_0xa7888,_0x332e19,_0x1fe21c){var _0x254320=_0x54341f;this[_0x254320(0x285)]=_0xa7888,this[_0x254320(0x132)]=_0x332e19,this[_0x254320(0x22d)]=_0x1fe21c,this[_0x254320(0x3b4)]();}[_0x54341f(0x3b4)](){var _0x4d1224=_0x54341f;this['_httpService'][_0x4d1224(0x237)]({'priority':0x1,'interceptor':(_0x45512f,_0x59e8f8)=>_0x59e8f8(_0x45512f)[_0x4d1224(0x26d)](H[_0x4d1224(0x401)](async _0x23118b=>{var _0x593e23=_0x4d1224;const _0x36f37f=_0x23118b;if(_0x36f37f[_0x593e23(0x2fc)]===0x191){if(typeof window>'u')throw new Error(_0x593e23(0x351));if(window['confirm'](this[_0x593e23(0x22d)]['t']('auth.needGotoLoginAlert'))){const _0x375cb0=window['encodeURIComponent'](window[_0x593e23(0x15c)]['href']);window[_0x593e23(0x15c)][_0x593e23(0x3df)]=this[_0x593e23(0x22b)]()+_0x593e23(0x2c7)+_0x375cb0;}}return _0x36f37f;}))});}[_0x54341f(0x22b)](){var _0x3ba159=_0x54341f,_0x113cf7;const _0x3e9839=this[_0x3ba159(0x285)][_0x3ba159(0x347)](Y);return(_0x113cf7=_0x3e9839==null?void 0x0:_0x3e9839[_0x3ba159(0xa6)])!=null?_0x113cf7:$t;}};ye=fi([Ae(0x0,a['IConfigService']),Ae(0x1,a['Inject'](q[_0x54341f(0x307)])),Ae(0x2,a[_0x54341f(0x3f8)](a[_0x54341f(0x30c)]))],ye);var Ii=Object[_0x54341f(0x2d4)],pi=(_0x3cebcb,_0x3a0b7d,_0x36a82d,_0x115b12)=>{var _0x269173=_0x54341f;for(var _0x443b00=_0x115b12>0x1?void 0x0:_0x115b12?Ii(_0x3a0b7d,_0x36a82d):_0x3a0b7d,_0x1d0b08=_0x3cebcb[_0x269173(0x1e8)]-0x1,_0x5d80a0;_0x1d0b08>=0x0;_0x1d0b08--)(_0x5d80a0=_0x3cebcb[_0x1d0b08])&&(_0x443b00=_0x5d80a0(_0x443b00)||_0x443b00);return _0x443b00;},qe=(_0x2cae8a,_0x5679ff)=>(_0x6fb24b,_0x337f91)=>_0x5679ff(_0x6fb24b,_0x337f91,_0x2cae8a);const mi=_0x54341f(0x34d);exports[_0x54341f(0x32e)]=class extends a[_0x54341f(0x382)]{constructor(_0x515fb3,_0x41c754){var _0x19e239=_0x54341f;super(),this[_0x19e239(0x2ac)]=_0x515fb3,this['_configService']=_0x41c754,this['_initMergeInterceptor']();}[_0x54341f(0xb6)](){var _0xe2a07a=_0x54341f;const _0x222027=this;this['disposeWithMe'](this[_0xe2a07a(0x2ac)]['registerHTTPInterceptor']({'priority':0x3e7,'interceptor':q[_0xe2a07a(0x156)]({'isMatch'(_0x55030f){var _0x3036d9=_0xe2a07a,_0x3c76f0;if(_0x55030f[_0x3036d9(0x411)]===_0x3036d9(0x396)&&((_0x3c76f0=_0x55030f[_0x3036d9(0x192)])!=null&&_0x3c76f0[_0x3036d9(0x2ba)])){const {objectID:_0x1c2df9,objectType:_0x510a77}=_0x55030f[_0x3036d9(0x192)]['body']||{};if(!_0x1c2df9||_0x510a77===void 0x0)return!0x1;const _0x5a0d4d=_0x222027[_0x3036d9(0x3ad)]()+'/'+_0x510a77+'/object/'+_0x1c2df9+_0x3036d9(0x3ca);if(_0x55030f[_0x3036d9(0x3c9)]===_0x5a0d4d)return!0x0;}return!0x1;},'getParamsFromRequest'(_0x544ef4){var _0x170d26=_0xe2a07a,_0x266e3e;return(_0x266e3e=_0x544ef4[_0x170d26(0x192)])==null?void 0x0:_0x266e3e[_0x170d26(0x2ba)];},'mergeParamsToRequest'(_0x11187b,_0x492c6d){var _0x8bd672=_0xe2a07a;const _0x4af40c=_0x222027['_getAPIPrefixPath']()+_0x8bd672(0x2d0),_0x4f73eb=_0x11187b['reduce']((_0x49bc42,_0x1f0852)=>{var _0x5378c5=_0x8bd672;const {unitID:_0x368510,objectID:_0x26d9ee,objectType:_0x44c9d8,actions:_0x5f32a1}=_0x1f0852;return _0x49bc42[_0x368510]||(_0x49bc42[_0x368510]={}),_0x49bc42[_0x368510][_0x26d9ee]||(_0x49bc42[_0x368510][_0x26d9ee]={'objectID':_0x26d9ee,'objectType':_0x44c9d8,'actions':[]}),_0x49bc42[_0x368510][_0x26d9ee][_0x5378c5(0x316)]['push'](..._0x5f32a1),_0x49bc42;},{}),_0x338dff=[];for(const _0x4b7efd in _0x4f73eb)for(const _0x5476ad in _0x4f73eb[_0x4b7efd]){const {actions:_0x374773,objectType:_0x469b0f}=_0x4f73eb[_0x4b7efd][_0x5476ad],_0x307af8=[...new Set(_0x374773)];_0x338dff[_0x8bd672(0x16f)]({'unitID':_0x4b7efd,'objectID':_0x5476ad,'objectType':_0x469b0f,'actions':_0x307af8});}return new q['HTTPRequest'](_0x8bd672(0x396),_0x4af40c,{'headers':_0x492c6d['headers'],'withCredentials':_0x492c6d['withCredentials'],'responseType':_0x492c6d[_0x8bd672(0x3a0)],'body':{'requests':_0x338dff}});}},{'distributeResult'(_0x157a58,_0x40a00f){var _0x38fede=_0xe2a07a;const {objectActions:_0x251672}=_0x157a58;return _0x40a00f[_0x38fede(0x30f)](_0x15ade2=>{var _0x3183ea=_0x38fede;const {unitID:_0x46795b,objectID:_0x3f2f53,actions:_0x243ce9}=_0x15ade2,_0x4df23d=_0x251672['find'](_0x3d79b4=>_0x3d79b4['unitID']===_0x46795b&&_0x3d79b4[_0x3183ea(0x259)]===_0x3f2f53),_0x386c6c=_0x243ce9[_0x3183ea(0x30f)](_0x2a8ce6=>_0x4df23d==null?void 0x0:_0x4df23d[_0x3183ea(0x316)][_0x3183ea(0x10f)](_0x138ad4=>_0x138ad4[_0x3183ea(0x379)]===_0x2a8ce6))['filter'](_0x583c14=>!!_0x583c14);return{'config':_0x15ade2,'result':{'actions':_0x386c6c,'error':_0x157a58[_0x3183ea(0x146)]}};});}})}));}['_getAPIPrefixPath'](){var _0x543d84=_0x54341f,_0x46da22;const _0x358872=this[_0x543d84(0x285)][_0x543d84(0x347)](Y);return(_0x46da22=_0x358872==null?void 0x0:_0x358872[_0x543d84(0x2d1)])!=null?_0x46da22:mi;}async[_0x54341f(0x14c)](_0x11336f){var _0x2a22b5=_0x54341f;const _0x5770e0=this[_0x2a22b5(0x3ad)]()+'/'+_0x11336f[_0x2a22b5(0x224)]+_0x2a22b5(0xf3);return(await this['_HTTPService']['post'](_0x5770e0,{'body':_0x11336f}))['body'][_0x2a22b5(0x259)]||'';}async['list'](_0x2cca96){var _0x4e72f4=_0x54341f;const _0x517174=this[_0x4e72f4(0x3ad)]()+_0x4e72f4(0x1e3);return(await this[_0x4e72f4(0x2ac)][_0x4e72f4(0x350)](_0x517174,{'body':_0x2cca96}))[_0x4e72f4(0x2ba)][_0x4e72f4(0x3c3)];}async[_0x54341f(0x3fc)](_0x1c9656){var _0x24e0b7=_0x54341f,_0x3e9d75,_0x550205;const _0xae489f=this[_0x24e0b7(0x3ad)]()+'/'+_0x1c9656[_0x24e0b7(0x224)]+_0x24e0b7(0x1de)+_0x1c9656[_0x24e0b7(0x259)],_0x57dec5=await this[_0x24e0b7(0x2ac)]['put'](_0xae489f,{'body':_0x1c9656});if(((_0x550205=(_0x3e9d75=_0x57dec5==null?void 0x0:_0x57dec5[_0x24e0b7(0x2ba)])==null?void 0x0:_0x3e9d75['error'])==null?void 0x0:_0x550205['code'])!==0x1)throw new Error(_0x24e0b7(0x3cb));}async[_0x54341f(0x27d)](_0x104ed4){var _0x15ce43=_0x54341f;const _0x3e9a86=this[_0x15ce43(0x3ad)]()+'/'+_0x104ed4[_0x15ce43(0x224)]+'/object/'+_0x104ed4[_0x15ce43(0x259)]+_0x15ce43(0x3ca);return(await this[_0x15ce43(0x2ac)][_0x15ce43(0x350)](_0x3e9a86,{'body':_0x104ed4}))['body'][_0x15ce43(0x316)];}async['batchAllowed'](_0x5130c4){var _0x37fd38=_0x54341f;const _0x2bd918=this[_0x37fd38(0x3ad)]()+_0x37fd38(0x2d0);return(await this[_0x37fd38(0x2ac)]['post'](_0x2bd918,{'body':{'requests':_0x5130c4}}))['body'][_0x37fd38(0x2b4)];}async['listRoles'](_0x360cea){var _0x1d5dcf=_0x54341f;const _0x556304=this[_0x1d5dcf(0x3ad)]()+'/'+_0x360cea['objectType']+'/role',_0xac8e6b=await this[_0x1d5dcf(0x2ac)][_0x1d5dcf(0x350)](_0x556304,{'body':_0x360cea});return{'roles':_0xac8e6b[_0x1d5dcf(0x2ba)][_0x1d5dcf(0x280)],'actions':_0xac8e6b[_0x1d5dcf(0x2ba)][_0x1d5dcf(0x316)]};}async[_0x54341f(0x1e4)](_0x1a5d62){var _0x1e6c70=_0x54341f;const _0x3de42a=this['_getAPIPrefixPath']()+_0x1e6c70(0x265);await this['_HTTPService'][_0x1e6c70(0x1f1)](_0x3de42a,{'params':{'collaboratorID':_0x1a5d62[_0x1e6c70(0x398)],'objectID':_0x1a5d62['objectID'],'unitID':_0x1a5d62[_0x1e6c70(0x1bb)]}});}async[_0x54341f(0xd7)](_0x231d08){var _0x28b691=_0x54341f;const _0x2df3b9=this[_0x28b691(0x3ad)]()+_0x28b691(0x265);await this[_0x28b691(0x2ac)][_0x28b691(0x29a)](_0x2df3b9,{'body':_0x231d08});}async['createCollaborator'](_0xd1de7e){var _0x3e2d0b=_0x54341f;const _0xfbbd2d=this['_getAPIPrefixPath']()+_0x3e2d0b(0x265);await this[_0x3e2d0b(0x2ac)][_0x3e2d0b(0x350)](_0xfbbd2d,{'body':_0xd1de7e});}async[_0x54341f(0x39f)](_0x103264){var _0x237ed7=_0x54341f;const _0x11fd0c=this[_0x237ed7(0x3ad)]()+'/collaborator';return(await this[_0x237ed7(0x2ac)][_0x237ed7(0x345)](_0x11fd0c,{'params':{'objectID':_0x103264[_0x237ed7(0x259)],'unitID':_0x103264[_0x237ed7(0x1bb)]}}))[_0x237ed7(0x2ba)]['collaborators'];}async[_0x54341f(0x3e7)](_0xfdc113){var _0x2aed0b=_0x54341f;const _0x2ec6b0=this[_0x2aed0b(0x3ad)]()+_0x2aed0b(0x265);await this[_0x2aed0b(0x2ac)][_0x2aed0b(0x41b)](_0x2ec6b0,{'body':_0xfdc113});}},exports[_0x54341f(0x32e)]=pi([qe(0x0,a[_0x54341f(0x3f8)](q[_0x54341f(0x307)])),qe(0x1,a[_0x54341f(0x3f8)](a[_0x54341f(0x370)]))],exports['AuthzIoHttpService']);var Pe=typeof globalThis<'u'?globalThis:typeof window<'u'?window:typeof global<'u'?global:typeof self<'u'?self:{};function ve(_0x5beb5a){var _0x3834c1=_0x54341f;return _0x5beb5a&&_0x5beb5a['__esModule']&&Object[_0x3834c1(0x28a)][_0x3834c1(0x1cd)]['call'](_0x5beb5a,_0x3834c1(0x1ad))?_0x5beb5a[_0x3834c1(0x1ad)]:_0x5beb5a;}var fe={'exports':{}};function gi(_0x57b069){var _0x3c9ad0=_0x54341f;throw new Error(_0x3c9ad0(0x2e1)+_0x57b069+_0x3c9ad0(0x338));}var Ie={'exports':{}},Ei=Ie[_0x54341f(0x2d2)],Ke;function Q(){var _0x4b66b7=_0x54341f;return Ke||(Ke=0x1,function(_0x1e261f,_0x3bee78){(function(_0x3aa731,_0x107f68){var _0x2e867c=_0x2020;_0x1e261f[_0x2e867c(0x2d2)]=_0x107f68();}(Ei,function(){var _0x493c6a=_0x493c6a||function(_0x36e6af,_0x115a7a){var _0x3191d9=_0x2020,_0x319c82;if(typeof window<'u'&&window['crypto']&&(_0x319c82=window[_0x3191d9(0x14a)]),typeof self<'u'&&self[_0x3191d9(0x14a)]&&(_0x319c82=self[_0x3191d9(0x14a)]),typeof globalThis<'u'&&globalThis[_0x3191d9(0x14a)]&&(_0x319c82=globalThis[_0x3191d9(0x14a)]),!_0x319c82&&typeof window<'u'&&window[_0x3191d9(0x247)]&&(_0x319c82=window[_0x3191d9(0x247)]),!_0x319c82&&typeof Pe<'u'&&Pe[_0x3191d9(0x14a)]&&(_0x319c82=Pe['crypto']),!_0x319c82&&typeof gi=='function')try{_0x319c82=require('crypto');}catch{}var _0x24654e=function(){var _0x383a48=_0x3191d9;if(_0x319c82){if(typeof _0x319c82[_0x383a48(0x3d7)]==_0x383a48(0x111))try{return _0x319c82[_0x383a48(0x3d7)](new Uint32Array(0x1))[0x0];}catch{}if(typeof _0x319c82[_0x383a48(0x3e3)]=='function')try{return _0x319c82[_0x383a48(0x3e3)](0x4)[_0x383a48(0x3cf)]();}catch{}}throw new Error(_0x383a48(0xed));},_0xb10703=Object[_0x3191d9(0x14c)]||(function(){function _0x28446e(){}return function(_0x224ad4){var _0x301d8=_0x2020,_0x979347;return _0x28446e[_0x301d8(0x28a)]=_0x224ad4,_0x979347=new _0x28446e(),_0x28446e[_0x301d8(0x28a)]=null,_0x979347;};}()),_0xa73612={},_0x3301b8=_0xa73612[_0x3191d9(0x13e)]={},_0x3d1974=_0x3301b8[_0x3191d9(0x286)]=(function(){return{'extend':function(_0x27a922){var _0x167144=_0x2020,_0x4233b7=_0xb10703(this);return _0x27a922&&_0x4233b7[_0x167144(0x284)](_0x27a922),(!_0x4233b7['hasOwnProperty'](_0x167144(0x3b4))||this[_0x167144(0x3b4)]===_0x4233b7[_0x167144(0x3b4)])&&(_0x4233b7[_0x167144(0x3b4)]=function(){var _0x51cc64=_0x167144;_0x4233b7['$super'][_0x51cc64(0x3b4)][_0x51cc64(0x1ca)](this,arguments);}),_0x4233b7[_0x167144(0x3b4)]['prototype']=_0x4233b7,_0x4233b7[_0x167144(0x27e)]=this,_0x4233b7;},'create':function(){var _0x633765=_0x2020,_0x26708f=this['extend']();return _0x26708f[_0x633765(0x3b4)]['apply'](_0x26708f,arguments),_0x26708f;},'init':function(){},'mixIn':function(_0x19ec8f){var _0x37b12c=_0x2020;for(var _0x845f3b in _0x19ec8f)_0x19ec8f['hasOwnProperty'](_0x845f3b)&&(this[_0x845f3b]=_0x19ec8f[_0x845f3b]);_0x19ec8f['hasOwnProperty'](_0x37b12c(0x202))&&(this[_0x37b12c(0x202)]=_0x19ec8f[_0x37b12c(0x202)]);},'clone':function(){var _0x4a0ecb=_0x2020;return this[_0x4a0ecb(0x3b4)][_0x4a0ecb(0x28a)][_0x4a0ecb(0x419)](this);}};}()),_0x732114=_0x3301b8[_0x3191d9(0xde)]=_0x3d1974[_0x3191d9(0x419)]({'init':function(_0x40d8f7,_0x1b746a){var _0x3c86d5=_0x3191d9;_0x40d8f7=this[_0x3c86d5(0x236)]=_0x40d8f7||[],_0x1b746a!=_0x115a7a?this[_0x3c86d5(0x2af)]=_0x1b746a:this[_0x3c86d5(0x2af)]=_0x40d8f7['length']*0x4;},'toString':function(_0x53b2cf){var _0x36d0a6=_0x3191d9;return(_0x53b2cf||_0x2f9902)[_0x36d0a6(0x3ef)](this);},'concat':function(_0xabe5f7){var _0x4c4317=_0x3191d9,_0x4ffadc=this[_0x4c4317(0x236)],_0x4bbd3d=_0xabe5f7[_0x4c4317(0x236)],_0x1a79c4=this[_0x4c4317(0x2af)],_0x1a6d64=_0xabe5f7['sigBytes'];if(this[_0x4c4317(0x34c)](),_0x1a79c4%0x4)for(var _0x3af4c3=0x0;_0x3af4c3<_0x1a6d64;_0x3af4c3++){var _0x189966=_0x4bbd3d[_0x3af4c3>>>0x2]>>>0x18-_0x3af4c3%0x4*0x8&0xff;_0x4ffadc[_0x1a79c4+_0x3af4c3>>>0x2]|=_0x189966<<0x18-(_0x1a79c4+_0x3af4c3)%0x4*0x8;}else{for(var _0x5cae92=0x0;_0x5cae92<_0x1a6d64;_0x5cae92+=0x4)_0x4ffadc[_0x1a79c4+_0x5cae92>>>0x2]=_0x4bbd3d[_0x5cae92>>>0x2];}return this[_0x4c4317(0x2af)]+=_0x1a6d64,this;},'clamp':function(){var _0x3a31ff=_0x3191d9,_0x3263f7=this['words'],_0x2db59f=this[_0x3a31ff(0x2af)];_0x3263f7[_0x2db59f>>>0x2]&=0xffffffff<<0x20-_0x2db59f%0x4*0x8,_0x3263f7['length']=_0x36e6af[_0x3a31ff(0x412)](_0x2db59f/0x4);},'clone':function(){var _0x310a38=_0x3191d9,_0x3f05a3=_0x3d1974[_0x310a38(0x15a)]['call'](this);return _0x3f05a3['words']=this[_0x310a38(0x236)][_0x310a38(0x1c6)](0x0),_0x3f05a3;},'random':function(_0x55f81f){var _0x560dfa=_0x3191d9;for(var _0x503704=[],_0x3d15d3=0x0;_0x3d15d3<_0x55f81f;_0x3d15d3+=0x4)_0x503704[_0x560dfa(0x16f)](_0x24654e());return new _0x732114['init'](_0x503704,_0x55f81f);}}),_0x4aedbc=_0xa73612[_0x3191d9(0x226)]={},_0x2f9902=_0x4aedbc[_0x3191d9(0x164)]={'stringify':function(_0x1e5c93){var _0x57ea71=_0x3191d9;for(var _0x5f1bb3=_0x1e5c93[_0x57ea71(0x236)],_0x8d9c3f=_0x1e5c93[_0x57ea71(0x2af)],_0x42512f=[],_0x2a197a=0x0;_0x2a197a<_0x8d9c3f;_0x2a197a++){var _0x4b95cb=_0x5f1bb3[_0x2a197a>>>0x2]>>>0x18-_0x2a197a%0x4*0x8&0xff;_0x42512f['push']((_0x4b95cb>>>0x4)['toString'](0x10)),_0x42512f[_0x57ea71(0x16f)]((_0x4b95cb&0xf)[_0x57ea71(0x202)](0x10));}return _0x42512f[_0x57ea71(0x1bc)]('');},'parse':function(_0x36439d){var _0xeb652=_0x3191d9;for(var _0x4d1c5f=_0x36439d[_0xeb652(0x1e8)],_0x2e5517=[],_0x24e284=0x0;_0x24e284<_0x4d1c5f;_0x24e284+=0x2)_0x2e5517[_0x24e284>>>0x3]|=parseInt(_0x36439d[_0xeb652(0x31e)](_0x24e284,0x2),0x10)<<0x18-_0x24e284%0x8*0x4;return new _0x732114[(_0xeb652(0x3b4))](_0x2e5517,_0x4d1c5f/0x2);}},_0xc7886f=_0x4aedbc[_0x3191d9(0x25d)]={'stringify':function(_0x48f840){var _0xf51860=_0x3191d9;for(var _0x358220=_0x48f840[_0xf51860(0x236)],_0x3d7ce8=_0x48f840['sigBytes'],_0x1131a9=[],_0x423b8e=0x0;_0x423b8e<_0x3d7ce8;_0x423b8e++){var _0x27c512=_0x358220[_0x423b8e>>>0x2]>>>0x18-_0x423b8e%0x4*0x8&0xff;_0x1131a9[_0xf51860(0x16f)](String['fromCharCode'](_0x27c512));}return _0x1131a9[_0xf51860(0x1bc)]('');},'parse':function(_0xc7de21){var _0x52c690=_0x3191d9;for(var _0x30e11b=_0xc7de21[_0x52c690(0x1e8)],_0x529474=[],_0x2fb351=0x0;_0x2fb351<_0x30e11b;_0x2fb351++)_0x529474[_0x2fb351>>>0x2]|=(_0xc7de21[_0x52c690(0x1ee)](_0x2fb351)&0xff)<<0x18-_0x2fb351%0x4*0x8;return new _0x732114[(_0x52c690(0x3b4))](_0x529474,_0x30e11b);}},_0x5dbad5=_0x4aedbc['Utf8']={'stringify':function(_0x3498b4){var _0x556e7c=_0x3191d9;try{return decodeURIComponent(escape(_0xc7886f[_0x556e7c(0x3ef)](_0x3498b4)));}catch{throw new Error('Malformed\x20UTF-8\x20data');}},'parse':function(_0x49308d){var _0x11223c=_0x3191d9;return _0xc7886f[_0x11223c(0x383)](unescape(encodeURIComponent(_0x49308d)));}},_0x4c8e00=_0x3301b8[_0x3191d9(0x41c)]=_0x3d1974[_0x3191d9(0x419)]({'reset':function(){var _0x14e109=_0x3191d9;this[_0x14e109(0xb2)]=new _0x732114[(_0x14e109(0x3b4))](),this[_0x14e109(0x2df)]=0x0;},'_append':function(_0x235328){var _0x585f8b=_0x3191d9;typeof _0x235328==_0x585f8b(0xfb)&&(_0x235328=_0x5dbad5[_0x585f8b(0x383)](_0x235328)),this['_data'][_0x585f8b(0x2e2)](_0x235328),this[_0x585f8b(0x2df)]+=_0x235328[_0x585f8b(0x2af)];},'_process':function(_0x464d7b){var _0x51c91a=_0x3191d9,_0x5102a9,_0x14f291=this[_0x51c91a(0xb2)],_0x389160=_0x14f291[_0x51c91a(0x236)],_0x50a728=_0x14f291[_0x51c91a(0x2af)],_0x553e8a=this[_0x51c91a(0x271)],_0x7cefc7=_0x553e8a*0x4,_0xde8e02=_0x50a728/_0x7cefc7;_0x464d7b?_0xde8e02=_0x36e6af['ceil'](_0xde8e02):_0xde8e02=_0x36e6af[_0x51c91a(0x283)]((_0xde8e02|0x0)-this[_0x51c91a(0x275)],0x0);var _0x3063b0=_0xde8e02*_0x553e8a,_0x5ba68c=_0x36e6af[_0x51c91a(0x148)](_0x3063b0*0x4,_0x50a728);if(_0x3063b0){for(var _0xef37b=0x0;_0xef37b<_0x3063b0;_0xef37b+=_0x553e8a)this[_0x51c91a(0x2cd)](_0x389160,_0xef37b);_0x5102a9=_0x389160[_0x51c91a(0x2cb)](0x0,_0x3063b0),_0x14f291[_0x51c91a(0x2af)]-=_0x5ba68c;}return new _0x732114[(_0x51c91a(0x3b4))](_0x5102a9,_0x5ba68c);},'clone':function(){var _0x33114a=_0x3191d9,_0x5b8abf=_0x3d1974[_0x33114a(0x15a)]['call'](this);return _0x5b8abf[_0x33114a(0xb2)]=this[_0x33114a(0xb2)][_0x33114a(0x15a)](),_0x5b8abf;},'_minBufferSize':0x0});_0x3301b8['Hasher']=_0x4c8e00['extend']({'cfg':_0x3d1974[_0x3191d9(0x419)](),'init':function(_0xf28a9e){var _0x422bea=_0x3191d9;this[_0x422bea(0x251)]=this['cfg'][_0x422bea(0x419)](_0xf28a9e),this['reset']();},'reset':function(){var _0x5c5033=_0x3191d9;_0x4c8e00[_0x5c5033(0x37e)][_0x5c5033(0x2c9)](this),this[_0x5c5033(0x12c)]();},'update':function(_0x2a97b8){var _0x10fb5c=_0x3191d9;return this[_0x10fb5c(0x10b)](_0x2a97b8),this[_0x10fb5c(0x18b)](),this;},'finalize':function(_0x348ae8){var _0x91dd95=_0x3191d9;_0x348ae8&&this[_0x91dd95(0x10b)](_0x348ae8);var _0x8584d2=this['_doFinalize']();return _0x8584d2;},'blockSize':0x10,'_createHelper':function(_0x218556){return function(_0x441746,_0x1a50a9){var _0x4a19c9=_0x2020;return new _0x218556[(_0x4a19c9(0x3b4))](_0x1a50a9)[_0x4a19c9(0x30e)](_0x441746);};},'_createHmacHelper':function(_0x34f61f){return function(_0x23b054,_0x5a37dc){var _0x22e4e1=_0x2020;return new _0x21583b[(_0x22e4e1(0x229))][(_0x22e4e1(0x3b4))](_0x34f61f,_0x5a37dc)['finalize'](_0x23b054);};}});var _0x21583b=_0xa73612[_0x3191d9(0x2c3)]={};return _0xa73612;}(Math);return _0x493c6a;}));}(Ie)),Ie[_0x4b66b7(0x2d2)];}var pe={'exports':{}},Ci=pe['exports'],ze;function Et(){var _0x43ac96=_0x54341f;return ze||(ze=0x1,function(_0x54bd06,_0x81c97c){(function(_0x3787d1,_0x4ce8bd){_0x54bd06['exports']=_0x4ce8bd(Q());}(Ci,function(_0x510775){var _0x5eb57f=_0x2020;return(function(){var _0x4e99b6=_0x2020,_0x19035b=_0x510775,_0x49b1c5=_0x19035b[_0x4e99b6(0x13e)],_0x19c805=_0x49b1c5['WordArray'],_0x1650b6=_0x19035b[_0x4e99b6(0x226)];_0x1650b6[_0x4e99b6(0x320)]={'stringify':function(_0x345d70){var _0x4f6ddc=_0x4e99b6,_0x2545f7=_0x345d70[_0x4f6ddc(0x236)],_0x2ea523=_0x345d70[_0x4f6ddc(0x2af)],_0x3e7ce3=this['_map'];_0x345d70[_0x4f6ddc(0x34c)]();for(var _0x1f0dc3=[],_0x4572e=0x0;_0x4572e<_0x2ea523;_0x4572e+=0x3)for(var _0x2b941b=_0x2545f7[_0x4572e>>>0x2]>>>0x18-_0x4572e%0x4*0x8&0xff,_0x2c8271=_0x2545f7[_0x4572e+0x1>>>0x2]>>>0x18-(_0x4572e+0x1)%0x4*0x8&0xff,_0x409c2c=_0x2545f7[_0x4572e+0x2>>>0x2]>>>0x18-(_0x4572e+0x2)%0x4*0x8&0xff,_0x312e26=_0x2b941b<<0x10|_0x2c8271<<0x8|_0x409c2c,_0x2e6ab7=0x0;_0x2e6ab7<0x4&&_0x4572e+_0x2e6ab7*0.75<_0x2ea523;_0x2e6ab7++)_0x1f0dc3[_0x4f6ddc(0x16f)](_0x3e7ce3[_0x4f6ddc(0x324)](_0x312e26>>>0x6*(0x3-_0x2e6ab7)&0x3f));var _0x576f3e=_0x3e7ce3['charAt'](0x40);if(_0x576f3e){for(;_0x1f0dc3['length']%0x4;)_0x1f0dc3['push'](_0x576f3e);}return _0x1f0dc3[_0x4f6ddc(0x1bc)]('');},'parse':function(_0x30b7c4){var _0x5e9101=_0x4e99b6,_0x238a5d=_0x30b7c4[_0x5e9101(0x1e8)],_0x2d8883=this['_map'],_0x362ff8=this['_reverseMap'];if(!_0x362ff8){_0x362ff8=this[_0x5e9101(0xac)]=[];for(var _0x467372=0x0;_0x467372<_0x2d8883[_0x5e9101(0x1e8)];_0x467372++)_0x362ff8[_0x2d8883[_0x5e9101(0x1ee)](_0x467372)]=_0x467372;}var _0x351106=_0x2d8883['charAt'](0x40);if(_0x351106){var _0x586a6b=_0x30b7c4['indexOf'](_0x351106);_0x586a6b!==-0x1&&(_0x238a5d=_0x586a6b);}return _0x349c8e(_0x30b7c4,_0x238a5d,_0x362ff8);},'_map':_0x4e99b6(0x343)};function _0x349c8e(_0x52e073,_0x3eb9ff,_0x200e25){var _0x3799e7=_0x4e99b6;for(var _0x6c4bc4=[],_0x107fba=0x0,_0x2bdbd0=0x0;_0x2bdbd0<_0x3eb9ff;_0x2bdbd0++)if(_0x2bdbd0%0x4){var _0x38534f=_0x200e25[_0x52e073[_0x3799e7(0x1ee)](_0x2bdbd0-0x1)]<<_0x2bdbd0%0x4*0x2,_0x34f068=_0x200e25[_0x52e073['charCodeAt'](_0x2bdbd0)]>>>0x6-_0x2bdbd0%0x4*0x2,_0x16db86=_0x38534f|_0x34f068;_0x6c4bc4[_0x107fba>>>0x2]|=_0x16db86<<0x18-_0x107fba%0x4*0x8,_0x107fba++;}return _0x19c805[_0x3799e7(0x14c)](_0x6c4bc4,_0x107fba);}}()),_0x510775[_0x5eb57f(0x226)]['Base64'];}));}(pe)),pe[_0x43ac96(0x2d2)];}var me={'exports':{}},Ti=me[_0x54341f(0x2d2)],Je;function bi(){var _0x33a2d2=_0x54341f;return Je||(Je=0x1,function(_0x57e9d6,_0x59e4aa){(function(_0x3f9b23,_0x251065){_0x57e9d6['exports']=_0x251065(Q());}(Ti,function(_0x44943c){return function(_0x364b07){var _0x304bff=_0x2020,_0x2d9151=_0x44943c,_0xb12baa=_0x2d9151[_0x304bff(0x13e)],_0x5007fa=_0xb12baa[_0x304bff(0xde)],_0x447a6b=_0xb12baa[_0x304bff(0xbb)],_0x45a2c9=_0x2d9151[_0x304bff(0x2c3)],_0x5f468c=[];(function(){var _0x539cd6=_0x304bff;for(var _0x315677=0x0;_0x315677<0x40;_0x315677++)_0x5f468c[_0x315677]=_0x364b07[_0x539cd6(0x3a9)](_0x364b07[_0x539cd6(0xf9)](_0x315677+0x1))*0x100000000|0x0;}());var _0xccdbbc=_0x45a2c9[_0x304bff(0x19f)]=_0x447a6b[_0x304bff(0x419)]({'_doReset':function(){var _0x5724e5=_0x304bff;this['_hash']=new _0x5007fa[(_0x5724e5(0x3b4))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476]);},'_doProcessBlock':function(_0x2e0957,_0x40db5c){for(var _0x5a6d91=0x0;_0x5a6d91<0x10;_0x5a6d91++){var _0x2b6845=_0x40db5c+_0x5a6d91,_0x516d13=_0x2e0957[_0x2b6845];_0x2e0957[_0x2b6845]=(_0x516d13<<0x8|_0x516d13>>>0x18)&0xff00ff|(_0x516d13<<0x18|_0x516d13>>>0x8)&0xff00ff00;}var _0x3c1b24=this['_hash']['words'],_0x1eec6a=_0x2e0957[_0x40db5c+0x0],_0x445242=_0x2e0957[_0x40db5c+0x1],_0x406577=_0x2e0957[_0x40db5c+0x2],_0x330cc7=_0x2e0957[_0x40db5c+0x3],_0x5d7565=_0x2e0957[_0x40db5c+0x4],_0x372fb2=_0x2e0957[_0x40db5c+0x5],_0x1fa754=_0x2e0957[_0x40db5c+0x6],_0x12b387=_0x2e0957[_0x40db5c+0x7],_0x39fec9=_0x2e0957[_0x40db5c+0x8],_0x39b7ae=_0x2e0957[_0x40db5c+0x9],_0x59225f=_0x2e0957[_0x40db5c+0xa],_0x2c5bf5=_0x2e0957[_0x40db5c+0xb],_0x54056d=_0x2e0957[_0x40db5c+0xc],_0x454f1b=_0x2e0957[_0x40db5c+0xd],_0x1ff928=_0x2e0957[_0x40db5c+0xe],_0x16a77d=_0x2e0957[_0x40db5c+0xf],_0x1b4b2a=_0x3c1b24[0x0],_0x5ab0c2=_0x3c1b24[0x1],_0x263b99=_0x3c1b24[0x2],_0x24d9ec=_0x3c1b24[0x3];_0x1b4b2a=_0x2d0afc(_0x1b4b2a,_0x5ab0c2,_0x263b99,_0x24d9ec,_0x1eec6a,0x7,_0x5f468c[0x0]),_0x24d9ec=_0x2d0afc(_0x24d9ec,_0x1b4b2a,_0x5ab0c2,_0x263b99,_0x445242,0xc,_0x5f468c[0x1]),_0x263b99=_0x2d0afc(_0x263b99,_0x24d9ec,_0x1b4b2a,_0x5ab0c2,_0x406577,0x11,_0x5f468c[0x2]),_0x5ab0c2=_0x2d0afc(_0x5ab0c2,_0x263b99,_0x24d9ec,_0x1b4b2a,_0x330cc7,0x16,_0x5f468c[0x3]),_0x1b4b2a=_0x2d0afc(_0x1b4b2a,_0x5ab0c2,_0x263b99,_0x24d9ec,_0x5d7565,0x7,_0x5f468c[0x4]),_0x24d9ec=_0x2d0afc(_0x24d9ec,_0x1b4b2a,_0x5ab0c2,_0x263b99,_0x372fb2,0xc,_0x5f468c[0x5]),_0x263b99=_0x2d0afc(_0x263b99,_0x24d9ec,_0x1b4b2a,_0x5ab0c2,_0x1fa754,0x11,_0x5f468c[0x6]),_0x5ab0c2=_0x2d0afc(_0x5ab0c2,_0x263b99,_0x24d9ec,_0x1b4b2a,_0x12b387,0x16,_0x5f468c[0x7]),_0x1b4b2a=_0x2d0afc(_0x1b4b2a,_0x5ab0c2,_0x263b99,_0x24d9ec,_0x39fec9,0x7,_0x5f468c[0x8]),_0x24d9ec=_0x2d0afc(_0x24d9ec,_0x1b4b2a,_0x5ab0c2,_0x263b99,_0x39b7ae,0xc,_0x5f468c[0x9]),_0x263b99=_0x2d0afc(_0x263b99,_0x24d9ec,_0x1b4b2a,_0x5ab0c2,_0x59225f,0x11,_0x5f468c[0xa]),_0x5ab0c2=_0x2d0afc(_0x5ab0c2,_0x263b99,_0x24d9ec,_0x1b4b2a,_0x2c5bf5,0x16,_0x5f468c[0xb]),_0x1b4b2a=_0x2d0afc(_0x1b4b2a,_0x5ab0c2,_0x263b99,_0x24d9ec,_0x54056d,0x7,_0x5f468c[0xc]),_0x24d9ec=_0x2d0afc(_0x24d9ec,_0x1b4b2a,_0x5ab0c2,_0x263b99,_0x454f1b,0xc,_0x5f468c[0xd]),_0x263b99=_0x2d0afc(_0x263b99,_0x24d9ec,_0x1b4b2a,_0x5ab0c2,_0x1ff928,0x11,_0x5f468c[0xe]),_0x5ab0c2=_0x2d0afc(_0x5ab0c2,_0x263b99,_0x24d9ec,_0x1b4b2a,_0x16a77d,0x16,_0x5f468c[0xf]),_0x1b4b2a=_0x48cf15(_0x1b4b2a,_0x5ab0c2,_0x263b99,_0x24d9ec,_0x445242,0x5,_0x5f468c[0x10]),_0x24d9ec=_0x48cf15(_0x24d9ec,_0x1b4b2a,_0x5ab0c2,_0x263b99,_0x1fa754,0x9,_0x5f468c[0x11]),_0x263b99=_0x48cf15(_0x263b99,_0x24d9ec,_0x1b4b2a,_0x5ab0c2,_0x2c5bf5,0xe,_0x5f468c[0x12]),_0x5ab0c2=_0x48cf15(_0x5ab0c2,_0x263b99,_0x24d9ec,_0x1b4b2a,_0x1eec6a,0x14,_0x5f468c[0x13]),_0x1b4b2a=_0x48cf15(_0x1b4b2a,_0x5ab0c2,_0x263b99,_0x24d9ec,_0x372fb2,0x5,_0x5f468c[0x14]),_0x24d9ec=_0x48cf15(_0x24d9ec,_0x1b4b2a,_0x5ab0c2,_0x263b99,_0x59225f,0x9,_0x5f468c[0x15]),_0x263b99=_0x48cf15(_0x263b99,_0x24d9ec,_0x1b4b2a,_0x5ab0c2,_0x16a77d,0xe,_0x5f468c[0x16]),_0x5ab0c2=_0x48cf15(_0x5ab0c2,_0x263b99,_0x24d9ec,_0x1b4b2a,_0x5d7565,0x14,_0x5f468c[0x17]),_0x1b4b2a=_0x48cf15(_0x1b4b2a,_0x5ab0c2,_0x263b99,_0x24d9ec,_0x39b7ae,0x5,_0x5f468c[0x18]),_0x24d9ec=_0x48cf15(_0x24d9ec,_0x1b4b2a,_0x5ab0c2,_0x263b99,_0x1ff928,0x9,_0x5f468c[0x19]),_0x263b99=_0x48cf15(_0x263b99,_0x24d9ec,_0x1b4b2a,_0x5ab0c2,_0x330cc7,0xe,_0x5f468c[0x1a]),_0x5ab0c2=_0x48cf15(_0x5ab0c2,_0x263b99,_0x24d9ec,_0x1b4b2a,_0x39fec9,0x14,_0x5f468c[0x1b]),_0x1b4b2a=_0x48cf15(_0x1b4b2a,_0x5ab0c2,_0x263b99,_0x24d9ec,_0x454f1b,0x5,_0x5f468c[0x1c]),_0x24d9ec=_0x48cf15(_0x24d9ec,_0x1b4b2a,_0x5ab0c2,_0x263b99,_0x406577,0x9,_0x5f468c[0x1d]),_0x263b99=_0x48cf15(_0x263b99,_0x24d9ec,_0x1b4b2a,_0x5ab0c2,_0x12b387,0xe,_0x5f468c[0x1e]),_0x5ab0c2=_0x48cf15(_0x5ab0c2,_0x263b99,_0x24d9ec,_0x1b4b2a,_0x54056d,0x14,_0x5f468c[0x1f]),_0x1b4b2a=_0x5eddf3(_0x1b4b2a,_0x5ab0c2,_0x263b99,_0x24d9ec,_0x372fb2,0x4,_0x5f468c[0x20]),_0x24d9ec=_0x5eddf3(_0x24d9ec,_0x1b4b2a,_0x5ab0c2,_0x263b99,_0x39fec9,0xb,_0x5f468c[0x21]),_0x263b99=_0x5eddf3(_0x263b99,_0x24d9ec,_0x1b4b2a,_0x5ab0c2,_0x2c5bf5,0x10,_0x5f468c[0x22]),_0x5ab0c2=_0x5eddf3(_0x5ab0c2,_0x263b99,_0x24d9ec,_0x1b4b2a,_0x1ff928,0x17,_0x5f468c[0x23]),_0x1b4b2a=_0x5eddf3(_0x1b4b2a,_0x5ab0c2,_0x263b99,_0x24d9ec,_0x445242,0x4,_0x5f468c[0x24]),_0x24d9ec=_0x5eddf3(_0x24d9ec,_0x1b4b2a,_0x5ab0c2,_0x263b99,_0x5d7565,0xb,_0x5f468c[0x25]),_0x263b99=_0x5eddf3(_0x263b99,_0x24d9ec,_0x1b4b2a,_0x5ab0c2,_0x12b387,0x10,_0x5f468c[0x26]),_0x5ab0c2=_0x5eddf3(_0x5ab0c2,_0x263b99,_0x24d9ec,_0x1b4b2a,_0x59225f,0x17,_0x5f468c[0x27]),_0x1b4b2a=_0x5eddf3(_0x1b4b2a,_0x5ab0c2,_0x263b99,_0x24d9ec,_0x454f1b,0x4,_0x5f468c[0x28]),_0x24d9ec=_0x5eddf3(_0x24d9ec,_0x1b4b2a,_0x5ab0c2,_0x263b99,_0x1eec6a,0xb,_0x5f468c[0x29]),_0x263b99=_0x5eddf3(_0x263b99,_0x24d9ec,_0x1b4b2a,_0x5ab0c2,_0x330cc7,0x10,_0x5f468c[0x2a]),_0x5ab0c2=_0x5eddf3(_0x5ab0c2,_0x263b99,_0x24d9ec,_0x1b4b2a,_0x1fa754,0x17,_0x5f468c[0x2b]),_0x1b4b2a=_0x5eddf3(_0x1b4b2a,_0x5ab0c2,_0x263b99,_0x24d9ec,_0x39b7ae,0x4,_0x5f468c[0x2c]),_0x24d9ec=_0x5eddf3(_0x24d9ec,_0x1b4b2a,_0x5ab0c2,_0x263b99,_0x54056d,0xb,_0x5f468c[0x2d]),_0x263b99=_0x5eddf3(_0x263b99,_0x24d9ec,_0x1b4b2a,_0x5ab0c2,_0x16a77d,0x10,_0x5f468c[0x2e]),_0x5ab0c2=_0x5eddf3(_0x5ab0c2,_0x263b99,_0x24d9ec,_0x1b4b2a,_0x406577,0x17,_0x5f468c[0x2f]),_0x1b4b2a=_0xc233bb(_0x1b4b2a,_0x5ab0c2,_0x263b99,_0x24d9ec,_0x1eec6a,0x6,_0x5f468c[0x30]),_0x24d9ec=_0xc233bb(_0x24d9ec,_0x1b4b2a,_0x5ab0c2,_0x263b99,_0x12b387,0xa,_0x5f468c[0x31]),_0x263b99=_0xc233bb(_0x263b99,_0x24d9ec,_0x1b4b2a,_0x5ab0c2,_0x1ff928,0xf,_0x5f468c[0x32]),_0x5ab0c2=_0xc233bb(_0x5ab0c2,_0x263b99,_0x24d9ec,_0x1b4b2a,_0x372fb2,0x15,_0x5f468c[0x33]),_0x1b4b2a=_0xc233bb(_0x1b4b2a,_0x5ab0c2,_0x263b99,_0x24d9ec,_0x54056d,0x6,_0x5f468c[0x34]),_0x24d9ec=_0xc233bb(_0x24d9ec,_0x1b4b2a,_0x5ab0c2,_0x263b99,_0x330cc7,0xa,_0x5f468c[0x35]),_0x263b99=_0xc233bb(_0x263b99,_0x24d9ec,_0x1b4b2a,_0x5ab0c2,_0x59225f,0xf,_0x5f468c[0x36]),_0x5ab0c2=_0xc233bb(_0x5ab0c2,_0x263b99,_0x24d9ec,_0x1b4b2a,_0x445242,0x15,_0x5f468c[0x37]),_0x1b4b2a=_0xc233bb(_0x1b4b2a,_0x5ab0c2,_0x263b99,_0x24d9ec,_0x39fec9,0x6,_0x5f468c[0x38]),_0x24d9ec=_0xc233bb(_0x24d9ec,_0x1b4b2a,_0x5ab0c2,_0x263b99,_0x16a77d,0xa,_0x5f468c[0x39]),_0x263b99=_0xc233bb(_0x263b99,_0x24d9ec,_0x1b4b2a,_0x5ab0c2,_0x1fa754,0xf,_0x5f468c[0x3a]),_0x5ab0c2=_0xc233bb(_0x5ab0c2,_0x263b99,_0x24d9ec,_0x1b4b2a,_0x454f1b,0x15,_0x5f468c[0x3b]),_0x1b4b2a=_0xc233bb(_0x1b4b2a,_0x5ab0c2,_0x263b99,_0x24d9ec,_0x5d7565,0x6,_0x5f468c[0x3c]),_0x24d9ec=_0xc233bb(_0x24d9ec,_0x1b4b2a,_0x5ab0c2,_0x263b99,_0x2c5bf5,0xa,_0x5f468c[0x3d]),_0x263b99=_0xc233bb(_0x263b99,_0x24d9ec,_0x1b4b2a,_0x5ab0c2,_0x406577,0xf,_0x5f468c[0x3e]),_0x5ab0c2=_0xc233bb(_0x5ab0c2,_0x263b99,_0x24d9ec,_0x1b4b2a,_0x39b7ae,0x15,_0x5f468c[0x3f]),_0x3c1b24[0x0]=_0x3c1b24[0x0]+_0x1b4b2a|0x0,_0x3c1b24[0x1]=_0x3c1b24[0x1]+_0x5ab0c2|0x0,_0x3c1b24[0x2]=_0x3c1b24[0x2]+_0x263b99|0x0,_0x3c1b24[0x3]=_0x3c1b24[0x3]+_0x24d9ec|0x0;},'_doFinalize':function(){var _0x46833e=_0x304bff,_0x5ad204=this[_0x46833e(0xb2)],_0xcff2e1=_0x5ad204[_0x46833e(0x236)],_0x137759=this[_0x46833e(0x2df)]*0x8,_0x216dbb=_0x5ad204[_0x46833e(0x2af)]*0x8;_0xcff2e1[_0x216dbb>>>0x5]|=0x80<<0x18-_0x216dbb%0x20;var _0x4890fb=_0x364b07[_0x46833e(0x208)](_0x137759/0x100000000),_0x262311=_0x137759;_0xcff2e1[(_0x216dbb+0x40>>>0x9<<0x4)+0xf]=(_0x4890fb<<0x8|_0x4890fb>>>0x18)&0xff00ff|(_0x4890fb<<0x18|_0x4890fb>>>0x8)&0xff00ff00,_0xcff2e1[(_0x216dbb+0x40>>>0x9<<0x4)+0xe]=(_0x262311<<0x8|_0x262311>>>0x18)&0xff00ff|(_0x262311<<0x18|_0x262311>>>0x8)&0xff00ff00,_0x5ad204[_0x46833e(0x2af)]=(_0xcff2e1['length']+0x1)*0x4,this['_process']();for(var _0x48a82e=this[_0x46833e(0x103)],_0xc061cc=_0x48a82e['words'],_0x5f3f61=0x0;_0x5f3f61<0x4;_0x5f3f61++){var _0x58a2d2=_0xc061cc[_0x5f3f61];_0xc061cc[_0x5f3f61]=(_0x58a2d2<<0x8|_0x58a2d2>>>0x18)&0xff00ff|(_0x58a2d2<<0x18|_0x58a2d2>>>0x8)&0xff00ff00;}return _0x48a82e;},'clone':function(){var _0x32f779=_0x304bff,_0x274dfd=_0x447a6b[_0x32f779(0x15a)][_0x32f779(0x2c9)](this);return _0x274dfd[_0x32f779(0x103)]=this['_hash']['clone'](),_0x274dfd;}});function _0x2d0afc(_0x32c91d,_0x586bb9,_0x4f122b,_0xd1f00b,_0x1f1093,_0x206d1a,_0x19c2cf){var _0x3c6597=_0x32c91d+(_0x586bb9&_0x4f122b|~_0x586bb9&_0xd1f00b)+_0x1f1093+_0x19c2cf;return(_0x3c6597<<_0x206d1a|_0x3c6597>>>0x20-_0x206d1a)+_0x586bb9;}function _0x48cf15(_0xbac564,_0x40f00a,_0xd0668a,_0x5a39ac,_0x52470b,_0x435dbe,_0x51d972){var _0x524708=_0xbac564+(_0x40f00a&_0x5a39ac|_0xd0668a&~_0x5a39ac)+_0x52470b+_0x51d972;return(_0x524708<<_0x435dbe|_0x524708>>>0x20-_0x435dbe)+_0x40f00a;}function _0x5eddf3(_0x6bb071,_0x2430d4,_0x223960,_0x5676e1,_0x1d4abe,_0xaede52,_0x2a96e3){var _0x188d8b=_0x6bb071+(_0x2430d4^_0x223960^_0x5676e1)+_0x1d4abe+_0x2a96e3;return(_0x188d8b<<_0xaede52|_0x188d8b>>>0x20-_0xaede52)+_0x2430d4;}function _0xc233bb(_0x2e5b02,_0xdf1cee,_0x2ce2e2,_0x258741,_0x17dba4,_0x34ab62,_0x2988ce){var _0x135071=_0x2e5b02+(_0x2ce2e2^(_0xdf1cee|~_0x258741))+_0x17dba4+_0x2988ce;return(_0x135071<<_0x34ab62|_0x135071>>>0x20-_0x34ab62)+_0xdf1cee;}_0x2d9151[_0x304bff(0x19f)]=_0x447a6b[_0x304bff(0x114)](_0xccdbbc),_0x2d9151[_0x304bff(0x29f)]=_0x447a6b['_createHmacHelper'](_0xccdbbc);}(Math),_0x44943c['MD5'];}));}(me)),me[_0x33a2d2(0x2d2)];}var ge={'exports':{}},Ee={'exports':{}},Oi=Ee[_0x54341f(0x2d2)],Xe;function Ri(){return Xe||(Xe=0x1,function(_0x4a5757,_0x11fa20){(function(_0x56834e,_0x2eaa18){var _0x17914b=_0x2020;_0x4a5757[_0x17914b(0x2d2)]=_0x2eaa18(Q());}(Oi,function(_0xc2a685){var _0x5412e6=_0x2020;return(function(){var _0x3a665b=_0x2020,_0x15fb76=_0xc2a685,_0x27ae8b=_0x15fb76['lib'],_0x27b313=_0x27ae8b['WordArray'],_0x514780=_0x27ae8b['Hasher'],_0x378b89=_0x15fb76[_0x3a665b(0x2c3)],_0x41e4b9=[],_0x4916b6=_0x378b89[_0x3a665b(0x27a)]=_0x514780[_0x3a665b(0x419)]({'_doReset':function(){var _0x228e96=_0x3a665b;this[_0x228e96(0x103)]=new _0x27b313[(_0x228e96(0x3b4))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476,0xc3d2e1f0]);},'_doProcessBlock':function(_0x5acbdb,_0x5ad2b3){var _0x3c4001=_0x3a665b;for(var _0x5b73d1=this[_0x3c4001(0x103)][_0x3c4001(0x236)],_0x15dec5=_0x5b73d1[0x0],_0x5b5500=_0x5b73d1[0x1],_0x24aec0=_0x5b73d1[0x2],_0x75fa8f=_0x5b73d1[0x3],_0x2c206b=_0x5b73d1[0x4],_0x13098a=0x0;_0x13098a<0x50;_0x13098a++){if(_0x13098a<0x10)_0x41e4b9[_0x13098a]=_0x5acbdb[_0x5ad2b3+_0x13098a]|0x0;else{var _0x1d18ea=_0x41e4b9[_0x13098a-0x3]^_0x41e4b9[_0x13098a-0x8]^_0x41e4b9[_0x13098a-0xe]^_0x41e4b9[_0x13098a-0x10];_0x41e4b9[_0x13098a]=_0x1d18ea<<0x1|_0x1d18ea>>>0x1f;}var _0x1b09eb=(_0x15dec5<<0x5|_0x15dec5>>>0x1b)+_0x2c206b+_0x41e4b9[_0x13098a];_0x13098a<0x14?_0x1b09eb+=(_0x5b5500&_0x24aec0|~_0x5b5500&_0x75fa8f)+0x5a827999:_0x13098a<0x28?_0x1b09eb+=(_0x5b5500^_0x24aec0^_0x75fa8f)+0x6ed9eba1:_0x13098a<0x3c?_0x1b09eb+=(_0x5b5500&_0x24aec0|_0x5b5500&_0x75fa8f|_0x24aec0&_0x75fa8f)-0x70e44324:_0x1b09eb+=(_0x5b5500^_0x24aec0^_0x75fa8f)-0x359d3e2a,_0x2c206b=_0x75fa8f,_0x75fa8f=_0x24aec0,_0x24aec0=_0x5b5500<<0x1e|_0x5b5500>>>0x2,_0x5b5500=_0x15dec5,_0x15dec5=_0x1b09eb;}_0x5b73d1[0x0]=_0x5b73d1[0x0]+_0x15dec5|0x0,_0x5b73d1[0x1]=_0x5b73d1[0x1]+_0x5b5500|0x0,_0x5b73d1[0x2]=_0x5b73d1[0x2]+_0x24aec0|0x0,_0x5b73d1[0x3]=_0x5b73d1[0x3]+_0x75fa8f|0x0,_0x5b73d1[0x4]=_0x5b73d1[0x4]+_0x2c206b|0x0;},'_doFinalize':function(){var _0x551105=_0x3a665b,_0x5156cb=this[_0x551105(0xb2)],_0x21ec27=_0x5156cb[_0x551105(0x236)],_0x4ff782=this[_0x551105(0x2df)]*0x8,_0x390213=_0x5156cb[_0x551105(0x2af)]*0x8;return _0x21ec27[_0x390213>>>0x5]|=0x80<<0x18-_0x390213%0x20,_0x21ec27[(_0x390213+0x40>>>0x9<<0x4)+0xe]=Math[_0x551105(0x208)](_0x4ff782/0x100000000),_0x21ec27[(_0x390213+0x40>>>0x9<<0x4)+0xf]=_0x4ff782,_0x5156cb['sigBytes']=_0x21ec27[_0x551105(0x1e8)]*0x4,this[_0x551105(0x18b)](),this[_0x551105(0x103)];},'clone':function(){var _0x3290bf=_0x3a665b,_0x307f0c=_0x514780[_0x3290bf(0x15a)]['call'](this);return _0x307f0c[_0x3290bf(0x103)]=this[_0x3290bf(0x103)][_0x3290bf(0x15a)](),_0x307f0c;}});_0x15fb76[_0x3a665b(0x27a)]=_0x514780[_0x3a665b(0x114)](_0x4916b6),_0x15fb76[_0x3a665b(0x2e5)]=_0x514780[_0x3a665b(0x109)](_0x4916b6);}()),_0xc2a685[_0x5412e6(0x27a)];}));}(Ee)),Ee['exports'];}var Ce={'exports':{}},yi=Ce[_0x54341f(0x2d2)],Ze;function Ni(){var _0x3e655f=_0x54341f;return Ze||(Ze=0x1,function(_0x2ab1f8,_0x2c5b19){(function(_0x46d32a,_0x5a96ae){_0x2ab1f8['exports']=_0x5a96ae(Q());}(yi,function(_0x1e7ff8){(function(){var _0x1df3b6=_0x2020,_0x4c04cb=_0x1e7ff8,_0x20a814=_0x4c04cb[_0x1df3b6(0x13e)],_0x30682c=_0x20a814[_0x1df3b6(0x286)],_0x28c763=_0x4c04cb[_0x1df3b6(0x226)],_0x45cd91=_0x28c763[_0x1df3b6(0x1e5)],_0x244f83=_0x4c04cb[_0x1df3b6(0x2c3)];_0x244f83['HMAC']=_0x30682c[_0x1df3b6(0x419)]({'init':function(_0xe233a9,_0x298f0e){var _0x2c0cd8=_0x1df3b6;_0xe233a9=this[_0x2c0cd8(0x17e)]=new _0xe233a9[(_0x2c0cd8(0x3b4))](),typeof _0x298f0e=='string'&&(_0x298f0e=_0x45cd91[_0x2c0cd8(0x383)](_0x298f0e));var _0xa3af69=_0xe233a9[_0x2c0cd8(0x271)],_0x7ef145=_0xa3af69*0x4;_0x298f0e[_0x2c0cd8(0x2af)]>_0x7ef145&&(_0x298f0e=_0xe233a9[_0x2c0cd8(0x30e)](_0x298f0e)),_0x298f0e[_0x2c0cd8(0x34c)]();for(var _0x323ec3=this[_0x2c0cd8(0x3fd)]=_0x298f0e[_0x2c0cd8(0x15a)](),_0x5c0954=this[_0x2c0cd8(0x144)]=_0x298f0e[_0x2c0cd8(0x15a)](),_0x5885d9=_0x323ec3[_0x2c0cd8(0x236)],_0x5a50df=_0x5c0954[_0x2c0cd8(0x236)],_0x18afec=0x0;_0x18afec<_0xa3af69;_0x18afec++)_0x5885d9[_0x18afec]^=0x5c5c5c5c,_0x5a50df[_0x18afec]^=0x36363636;_0x323ec3['sigBytes']=_0x5c0954[_0x2c0cd8(0x2af)]=_0x7ef145,this[_0x2c0cd8(0x37e)]();},'reset':function(){var _0x17a2fc=_0x1df3b6,_0x5964a3=this[_0x17a2fc(0x17e)];_0x5964a3[_0x17a2fc(0x37e)](),_0x5964a3[_0x17a2fc(0x3fc)](this[_0x17a2fc(0x144)]);},'update':function(_0x54c91c){var _0x1bb58f=_0x1df3b6;return this[_0x1bb58f(0x17e)][_0x1bb58f(0x3fc)](_0x54c91c),this;},'finalize':function(_0x21a8b5){var _0x1b11fb=_0x1df3b6,_0x1fa9f4=this[_0x1b11fb(0x17e)],_0x2f3e41=_0x1fa9f4[_0x1b11fb(0x30e)](_0x21a8b5);_0x1fa9f4[_0x1b11fb(0x37e)]();var _0x410d12=_0x1fa9f4[_0x1b11fb(0x30e)](this['_oKey'][_0x1b11fb(0x15a)]()[_0x1b11fb(0x2e2)](_0x2f3e41));return _0x410d12;}});}());}));}(Ce)),Ce[_0x3e655f(0x2d2)];}var Di=ge[_0x54341f(0x2d2)],Qe;function Ct(){return Qe||(Qe=0x1,function(_0x5eb086,_0x3f29b1){(function(_0x450624,_0x47c410,_0x1be9fe){var _0xd9665a=_0x2020;_0x5eb086[_0xd9665a(0x2d2)]=_0x47c410(Q(),Ri(),Ni());}(Di,function(_0x23a865){return(function(){var _0xf6eef4=_0x2020,_0x1ed353=_0x23a865,_0x4b9470=_0x1ed353[_0xf6eef4(0x13e)],_0x1afa4d=_0x4b9470['Base'],_0x5380e6=_0x4b9470[_0xf6eef4(0xde)],_0x10110d=_0x1ed353[_0xf6eef4(0x2c3)],_0x1652ae=_0x10110d['MD5'],_0x40a1f5=_0x10110d[_0xf6eef4(0x336)]=_0x1afa4d[_0xf6eef4(0x419)]({'cfg':_0x1afa4d[_0xf6eef4(0x419)]({'keySize':0x80/0x20,'hasher':_0x1652ae,'iterations':0x1}),'init':function(_0x3d7aed){var _0x487682=_0xf6eef4;this[_0x487682(0x251)]=this[_0x487682(0x251)][_0x487682(0x419)](_0x3d7aed);},'compute':function(_0x1b86aa,_0x56a1f){var _0x2463a7=_0xf6eef4;for(var _0x48b2b2,_0x316f00=this[_0x2463a7(0x251)],_0x3e3415=_0x316f00[_0x2463a7(0xc5)][_0x2463a7(0x14c)](),_0x802f75=_0x5380e6['create'](),_0x47f819=_0x802f75[_0x2463a7(0x236)],_0x564e89=_0x316f00['keySize'],_0x27f054=_0x316f00['iterations'];_0x47f819['length']<_0x564e89;){_0x48b2b2&&_0x3e3415[_0x2463a7(0x3fc)](_0x48b2b2),_0x48b2b2=_0x3e3415[_0x2463a7(0x3fc)](_0x1b86aa)[_0x2463a7(0x30e)](_0x56a1f),_0x3e3415[_0x2463a7(0x37e)]();for(var _0x46cbfa=0x1;_0x46cbfa<_0x27f054;_0x46cbfa++)_0x48b2b2=_0x3e3415[_0x2463a7(0x30e)](_0x48b2b2),_0x3e3415['reset']();_0x802f75[_0x2463a7(0x2e2)](_0x48b2b2);}return _0x802f75[_0x2463a7(0x2af)]=_0x564e89*0x4,_0x802f75;}});_0x1ed353[_0xf6eef4(0x336)]=function(_0x1113a5,_0x58bc1b,_0x5370d9){var _0xa8b354=_0xf6eef4;return _0x40a1f5[_0xa8b354(0x14c)](_0x5370d9)[_0xa8b354(0xb0)](_0x1113a5,_0x58bc1b);};}()),_0x23a865['EvpKDF'];}));}(ge)),ge['exports'];}var Te={'exports':{}},Ui=Te[_0x54341f(0x2d2)],et;function Tt(){return et||(et=0x1,function(_0x82a11e,_0x3a49d7){(function(_0x303865,_0x35a69c,_0x4e3054){var _0x149ffe=_0x2020;_0x82a11e[_0x149ffe(0x2d2)]=_0x35a69c(Q(),Ct());}(Ui,function(_0x30c25b){var _0x1442d4=_0x2020;_0x30c25b[_0x1442d4(0x13e)][_0x1442d4(0x31f)]||function(_0x43d33c){var _0x172045=_0x1442d4,_0x498561=_0x30c25b,_0x34e516=_0x498561['lib'],_0x27563a=_0x34e516[_0x172045(0x286)],_0xd1537e=_0x34e516[_0x172045(0xde)],_0xdd4a48=_0x34e516[_0x172045(0x41c)],_0x515540=_0x498561[_0x172045(0x226)];_0x515540[_0x172045(0x1e5)];var _0x1a2d09=_0x515540['Base64'],_0x446e14=_0x498561[_0x172045(0x2c3)],_0x4cd796=_0x446e14['EvpKDF'],_0x401996=_0x34e516[_0x172045(0x31f)]=_0xdd4a48[_0x172045(0x419)]({'cfg':_0x27563a['extend'](),'createEncryptor':function(_0xdee7e5,_0xedac58){var _0x1f353f=_0x172045;return this['create'](this[_0x1f353f(0xc7)],_0xdee7e5,_0xedac58);},'createDecryptor':function(_0x49cf66,_0x1da60a){var _0x5677af=_0x172045;return this[_0x5677af(0x14c)](this[_0x5677af(0xf1)],_0x49cf66,_0x1da60a);},'init':function(_0x57545e,_0x3a8fe9,_0x37dbb0){var _0x2a93cb=_0x172045;this[_0x2a93cb(0x251)]=this[_0x2a93cb(0x251)][_0x2a93cb(0x419)](_0x37dbb0),this[_0x2a93cb(0x3b3)]=_0x57545e,this[_0x2a93cb(0xe8)]=_0x3a8fe9,this['reset']();},'reset':function(){var _0x2d99bc=_0x172045;_0xdd4a48[_0x2d99bc(0x37e)][_0x2d99bc(0x2c9)](this),this[_0x2d99bc(0x12c)]();},'process':function(_0x1bf847){var _0x4a51a5=_0x172045;return this[_0x4a51a5(0x10b)](_0x1bf847),this[_0x4a51a5(0x18b)]();},'finalize':function(_0x607a4e){var _0x240c2b=_0x172045;_0x607a4e&&this[_0x240c2b(0x10b)](_0x607a4e);var _0x16b8d7=this['_doFinalize']();return _0x16b8d7;},'keySize':0x80/0x20,'ivSize':0x80/0x20,'_ENC_XFORM_MODE':0x1,'_DEC_XFORM_MODE':0x2,'_createHelper':(function(){function _0x4e0c48(_0x1a375f){var _0x4cdb3f=_0x2020;return typeof _0x1a375f==_0x4cdb3f(0xfb)?_0x46fb92:_0x2480af;}return function(_0x545437){return{'encrypt':function(_0x30fc55,_0x49851c,_0x152d16){var _0x1d9c23=_0x2020;return _0x4e0c48(_0x49851c)[_0x1d9c23(0x322)](_0x545437,_0x30fc55,_0x49851c,_0x152d16);},'decrypt':function(_0x581908,_0x231760,_0x456369){var _0x30e097=_0x2020;return _0x4e0c48(_0x231760)[_0x30e097(0x24a)](_0x545437,_0x581908,_0x231760,_0x456369);}};};}())});_0x34e516[_0x172045(0x3e5)]=_0x401996[_0x172045(0x419)]({'_doFinalize':function(){var _0x42cd69=_0x172045,_0x18d61b=this[_0x42cd69(0x18b)](!0x0);return _0x18d61b;},'blockSize':0x1});var _0x17b4bf=_0x498561[_0x172045(0x2fa)]={},_0x7d5051=_0x34e516[_0x172045(0x3b6)]=_0x27563a['extend']({'createEncryptor':function(_0xdfd9eb,_0x2b1c1b){var _0x3809d0=_0x172045;return this[_0x3809d0(0x32d)][_0x3809d0(0x14c)](_0xdfd9eb,_0x2b1c1b);},'createDecryptor':function(_0x4898b5,_0x4a0428){return this['Decryptor']['create'](_0x4898b5,_0x4a0428);},'init':function(_0x314038,_0x32ec86){var _0x51d9e4=_0x172045;this['_cipher']=_0x314038,this[_0x51d9e4(0x326)]=_0x32ec86;}}),_0xafce88=_0x17b4bf[_0x172045(0x16b)]=(function(){var _0x3d780=_0x172045,_0x330935=_0x7d5051[_0x3d780(0x419)]();_0x330935[_0x3d780(0x32d)]=_0x330935['extend']({'processBlock':function(_0x4ef454,_0x54e4d5){var _0x5f38e6=_0x3d780,_0x441281=this[_0x5f38e6(0x1d1)],_0x4929f1=_0x441281[_0x5f38e6(0x271)];_0x3b631f[_0x5f38e6(0x2c9)](this,_0x4ef454,_0x54e4d5,_0x4929f1),_0x441281['encryptBlock'](_0x4ef454,_0x54e4d5),this['_prevBlock']=_0x4ef454[_0x5f38e6(0x1c6)](_0x54e4d5,_0x54e4d5+_0x4929f1);}}),_0x330935[_0x3d780(0xa5)]=_0x330935[_0x3d780(0x419)]({'processBlock':function(_0x42cff3,_0x49777a){var _0x3d69c2=_0x3d780,_0x41f561=this[_0x3d69c2(0x1d1)],_0x3cbe4b=_0x41f561[_0x3d69c2(0x271)],_0x3327c8=_0x42cff3[_0x3d69c2(0x1c6)](_0x49777a,_0x49777a+_0x3cbe4b);_0x41f561[_0x3d69c2(0x15b)](_0x42cff3,_0x49777a),_0x3b631f[_0x3d69c2(0x2c9)](this,_0x42cff3,_0x49777a,_0x3cbe4b),this[_0x3d69c2(0x3ce)]=_0x3327c8;}});function _0x3b631f(_0x341c49,_0x280fb3,_0x5e60cc){var _0x121057=_0x3d780,_0x390242,_0x4aab7d=this[_0x121057(0x326)];_0x4aab7d?(_0x390242=_0x4aab7d,this[_0x121057(0x326)]=_0x43d33c):_0x390242=this[_0x121057(0x3ce)];for(var _0x2e611b=0x0;_0x2e611b<_0x5e60cc;_0x2e611b++)_0x341c49[_0x280fb3+_0x2e611b]^=_0x390242[_0x2e611b];}return _0x330935;}()),_0x5c4b8b=_0x498561[_0x172045(0x317)]={},_0x4de201=_0x5c4b8b[_0x172045(0x306)]={'pad':function(_0x496a89,_0x3c6d8e){var _0xb0b646=_0x172045;for(var _0x3d62d2=_0x3c6d8e*0x4,_0x4a68f7=_0x3d62d2-_0x496a89[_0xb0b646(0x2af)]%_0x3d62d2,_0x8e821a=_0x4a68f7<<0x18|_0x4a68f7<<0x10|_0x4a68f7<<0x8|_0x4a68f7,_0x306f4a=[],_0x1e8b2a=0x0;_0x1e8b2a<_0x4a68f7;_0x1e8b2a+=0x4)_0x306f4a[_0xb0b646(0x16f)](_0x8e821a);var _0x4beace=_0xd1537e[_0xb0b646(0x14c)](_0x306f4a,_0x4a68f7);_0x496a89['concat'](_0x4beace);},'unpad':function(_0xc64c0c){var _0x3fa580=_0x172045,_0x1f1a4e=_0xc64c0c[_0x3fa580(0x236)][_0xc64c0c[_0x3fa580(0x2af)]-0x1>>>0x2]&0xff;_0xc64c0c[_0x3fa580(0x2af)]-=_0x1f1a4e;}};_0x34e516[_0x172045(0x2e7)]=_0x401996[_0x172045(0x419)]({'cfg':_0x401996[_0x172045(0x251)]['extend']({'mode':_0xafce88,'padding':_0x4de201}),'reset':function(){var _0x3339c9=_0x172045,_0x53826d;_0x401996[_0x3339c9(0x37e)][_0x3339c9(0x2c9)](this);var _0x40a2b5=this[_0x3339c9(0x251)],_0x235504=_0x40a2b5['iv'],_0x28b5d6=_0x40a2b5[_0x3339c9(0x2fa)];this[_0x3339c9(0x3b3)]==this['_ENC_XFORM_MODE']?_0x53826d=_0x28b5d6['createEncryptor']:(_0x53826d=_0x28b5d6['createDecryptor'],this['_minBufferSize']=0x1),this[_0x3339c9(0x2bb)]&&this[_0x3339c9(0x2bb)][_0x3339c9(0x108)]==_0x53826d?this['_mode'][_0x3339c9(0x3b4)](this,_0x235504&&_0x235504['words']):(this[_0x3339c9(0x2bb)]=_0x53826d[_0x3339c9(0x2c9)](_0x28b5d6,this,_0x235504&&_0x235504[_0x3339c9(0x236)]),this[_0x3339c9(0x2bb)]['__creator']=_0x53826d);},'_doProcessBlock':function(_0x5e0be6,_0x2a205b){var _0x48e799=_0x172045;this[_0x48e799(0x2bb)]['processBlock'](_0x5e0be6,_0x2a205b);},'_doFinalize':function(){var _0x3fb63e=_0x172045,_0xd7e7cd,_0x20515c=this[_0x3fb63e(0x251)][_0x3fb63e(0x1d3)];return this[_0x3fb63e(0x3b3)]==this['_ENC_XFORM_MODE']?(_0x20515c['pad'](this[_0x3fb63e(0xb2)],this[_0x3fb63e(0x271)]),_0xd7e7cd=this[_0x3fb63e(0x18b)](!0x0)):(_0xd7e7cd=this[_0x3fb63e(0x18b)](!0x0),_0x20515c[_0x3fb63e(0x23e)](_0xd7e7cd)),_0xd7e7cd;},'blockSize':0x80/0x20});var _0x191274=_0x34e516[_0x172045(0x243)]=_0x27563a[_0x172045(0x419)]({'init':function(_0x38fb23){var _0xd54175=_0x172045;this[_0xd54175(0x284)](_0x38fb23);},'toString':function(_0x17228c){var _0xff2276=_0x172045;return(_0x17228c||this[_0xff2276(0x3dc)])[_0xff2276(0x3ef)](this);}}),_0x3da0d0=_0x498561[_0x172045(0x1a6)]={},_0xe81623=_0x3da0d0[_0x172045(0x2d5)]={'stringify':function(_0xac0a66){var _0x393fdc=_0x172045,_0x375535,_0x1368f2=_0xac0a66[_0x393fdc(0x2c5)],_0x1a9c4e=_0xac0a66[_0x393fdc(0x3e6)];return _0x1a9c4e?_0x375535=_0xd1537e[_0x393fdc(0x14c)]([0x53616c74,0x65645f5f])[_0x393fdc(0x2e2)](_0x1a9c4e)[_0x393fdc(0x2e2)](_0x1368f2):_0x375535=_0x1368f2,_0x375535[_0x393fdc(0x202)](_0x1a2d09);},'parse':function(_0x15d4a8){var _0x3064ce=_0x172045,_0x10d098,_0x5af3cb=_0x1a2d09[_0x3064ce(0x383)](_0x15d4a8),_0xa01e08=_0x5af3cb[_0x3064ce(0x236)];return _0xa01e08[0x0]==0x53616c74&&_0xa01e08[0x1]==0x65645f5f&&(_0x10d098=_0xd1537e[_0x3064ce(0x14c)](_0xa01e08[_0x3064ce(0x1c6)](0x2,0x4)),_0xa01e08['splice'](0x0,0x4),_0x5af3cb[_0x3064ce(0x2af)]-=0x10),_0x191274[_0x3064ce(0x14c)]({'ciphertext':_0x5af3cb,'salt':_0x10d098});}},_0x2480af=_0x34e516[_0x172045(0x1c0)]=_0x27563a['extend']({'cfg':_0x27563a[_0x172045(0x419)]({'format':_0xe81623}),'encrypt':function(_0x19d53b,_0x2dbf09,_0xcd93e8,_0x39e989){var _0x4c5448=_0x172045;_0x39e989=this['cfg'][_0x4c5448(0x419)](_0x39e989);var _0x4b9846=_0x19d53b[_0x4c5448(0x2f1)](_0xcd93e8,_0x39e989),_0x9eebd8=_0x4b9846[_0x4c5448(0x30e)](_0x2dbf09),_0x2c4811=_0x4b9846['cfg'];return _0x191274[_0x4c5448(0x14c)]({'ciphertext':_0x9eebd8,'key':_0xcd93e8,'iv':_0x2c4811['iv'],'algorithm':_0x19d53b,'mode':_0x2c4811['mode'],'padding':_0x2c4811['padding'],'blockSize':_0x19d53b[_0x4c5448(0x271)],'formatter':_0x39e989['format']});},'decrypt':function(_0x4b07e0,_0x3ba273,_0xcab90e,_0xd17145){var _0x4194d9=_0x172045;_0xd17145=this[_0x4194d9(0x251)][_0x4194d9(0x419)](_0xd17145),_0x3ba273=this['_parse'](_0x3ba273,_0xd17145[_0x4194d9(0x1a6)]);var _0x5bc3c5=_0x4b07e0[_0x4194d9(0xb8)](_0xcab90e,_0xd17145)[_0x4194d9(0x30e)](_0x3ba273[_0x4194d9(0x2c5)]);return _0x5bc3c5;},'_parse':function(_0x16bce4,_0x22983f){var _0x587acc=_0x172045;return typeof _0x16bce4==_0x587acc(0xfb)?_0x22983f['parse'](_0x16bce4,this):_0x16bce4;}}),_0x2f0c6f=_0x498561[_0x172045(0x3cd)]={},_0x139c73=_0x2f0c6f[_0x172045(0x2d5)]={'execute':function(_0x3ead17,_0xbfc1df,_0x479b12,_0x5c76bf,_0x41021b){var _0x499e6c=_0x172045;if(_0x5c76bf||(_0x5c76bf=_0xd1537e['random'](0x40/0x8)),_0x41021b)var _0x54927f=_0x4cd796[_0x499e6c(0x14c)]({'keySize':_0xbfc1df+_0x479b12,'hasher':_0x41021b})['compute'](_0x3ead17,_0x5c76bf);else var _0x54927f=_0x4cd796['create']({'keySize':_0xbfc1df+_0x479b12})[_0x499e6c(0xb0)](_0x3ead17,_0x5c76bf);var _0x449f38=_0xd1537e[_0x499e6c(0x14c)](_0x54927f[_0x499e6c(0x236)][_0x499e6c(0x1c6)](_0xbfc1df),_0x479b12*0x4);return _0x54927f['sigBytes']=_0xbfc1df*0x4,_0x191274[_0x499e6c(0x14c)]({'key':_0x54927f,'iv':_0x449f38,'salt':_0x5c76bf});}},_0x46fb92=_0x34e516[_0x172045(0x2ce)]=_0x2480af[_0x172045(0x419)]({'cfg':_0x2480af['cfg'][_0x172045(0x419)]({'kdf':_0x139c73}),'encrypt':function(_0x5bce43,_0x17340a,_0x3480d7,_0x55415b){var _0x53967d=_0x172045;_0x55415b=this['cfg']['extend'](_0x55415b);var _0x3af656=_0x55415b[_0x53967d(0x3cd)][_0x53967d(0x34b)](_0x3480d7,_0x5bce43['keySize'],_0x5bce43[_0x53967d(0x19b)],_0x55415b['salt'],_0x55415b[_0x53967d(0xc5)]);_0x55415b['iv']=_0x3af656['iv'];var _0x41d19c=_0x2480af[_0x53967d(0x322)][_0x53967d(0x2c9)](this,_0x5bce43,_0x17340a,_0x3af656[_0x53967d(0x416)],_0x55415b);return _0x41d19c[_0x53967d(0x284)](_0x3af656),_0x41d19c;},'decrypt':function(_0x3ecc9f,_0xfa075c,_0x3e7632,_0x55a7e3){var _0x4a90ad=_0x172045;_0x55a7e3=this[_0x4a90ad(0x251)][_0x4a90ad(0x419)](_0x55a7e3),_0xfa075c=this[_0x4a90ad(0x238)](_0xfa075c,_0x55a7e3[_0x4a90ad(0x1a6)]);var _0x37707d=_0x55a7e3[_0x4a90ad(0x3cd)]['execute'](_0x3e7632,_0x3ecc9f[_0x4a90ad(0x166)],_0x3ecc9f['ivSize'],_0xfa075c['salt'],_0x55a7e3[_0x4a90ad(0xc5)]);_0x55a7e3['iv']=_0x37707d['iv'];var _0x1f5ed5=_0x2480af[_0x4a90ad(0x24a)][_0x4a90ad(0x2c9)](this,_0x3ecc9f,_0xfa075c,_0x37707d[_0x4a90ad(0x416)],_0x55a7e3);return _0x1f5ed5;}});}();}));}(Te)),Te['exports'];}var Ai=fe[_0x54341f(0x2d2)],tt;function Pi(){var _0x201e84=_0x54341f;return tt||(tt=0x1,function(_0x1e08d6,_0x30df33){(function(_0x86f835,_0x33583a,_0x33ee0b){var _0x4ec495=_0x2020;_0x1e08d6[_0x4ec495(0x2d2)]=_0x33583a(Q(),Et(),bi(),Ct(),Tt());}(Ai,function(_0x5cc8f3){var _0x1ea21a=_0x2020;return(function(){var _0x1ebb93=_0x2020,_0x23473c=_0x5cc8f3,_0x2f3062=_0x23473c[_0x1ebb93(0x13e)],_0x49d6a4=_0x2f3062[_0x1ebb93(0x2e7)],_0x406bc9=_0x23473c[_0x1ebb93(0x2c3)],_0x681ef5=[],_0x18a3b8=[],_0x57309c=[],_0xb842b4=[],_0x31f91b=[],_0x4c33e7=[],_0x1bc163=[],_0x463754=[],_0x1124d9=[],_0x266e1e=[];(function(){for(var _0x246200=[],_0x4e7ac1=0x0;_0x4e7ac1<0x100;_0x4e7ac1++)_0x4e7ac1<0x80?_0x246200[_0x4e7ac1]=_0x4e7ac1<<0x1:_0x246200[_0x4e7ac1]=_0x4e7ac1<<0x1^0x11b;for(var _0x43f99c=0x0,_0x68b2be=0x0,_0x4e7ac1=0x0;_0x4e7ac1<0x100;_0x4e7ac1++){var _0x25b0c8=_0x68b2be^_0x68b2be<<0x1^_0x68b2be<<0x2^_0x68b2be<<0x3^_0x68b2be<<0x4;_0x25b0c8=_0x25b0c8>>>0x8^_0x25b0c8&0xff^0x63,_0x681ef5[_0x43f99c]=_0x25b0c8,_0x18a3b8[_0x25b0c8]=_0x43f99c;var _0x55a251=_0x246200[_0x43f99c],_0x1b6bb3=_0x246200[_0x55a251],_0x322ad3=_0x246200[_0x1b6bb3],_0x44b3d8=_0x246200[_0x25b0c8]*0x101^_0x25b0c8*0x1010100;_0x57309c[_0x43f99c]=_0x44b3d8<<0x18|_0x44b3d8>>>0x8,_0xb842b4[_0x43f99c]=_0x44b3d8<<0x10|_0x44b3d8>>>0x10,_0x31f91b[_0x43f99c]=_0x44b3d8<<0x8|_0x44b3d8>>>0x18,_0x4c33e7[_0x43f99c]=_0x44b3d8;var _0x44b3d8=_0x322ad3*0x1010101^_0x1b6bb3*0x10001^_0x55a251*0x101^_0x43f99c*0x1010100;_0x1bc163[_0x25b0c8]=_0x44b3d8<<0x18|_0x44b3d8>>>0x8,_0x463754[_0x25b0c8]=_0x44b3d8<<0x10|_0x44b3d8>>>0x10,_0x1124d9[_0x25b0c8]=_0x44b3d8<<0x8|_0x44b3d8>>>0x18,_0x266e1e[_0x25b0c8]=_0x44b3d8,_0x43f99c?(_0x43f99c=_0x55a251^_0x246200[_0x246200[_0x246200[_0x322ad3^_0x55a251]]],_0x68b2be^=_0x246200[_0x246200[_0x68b2be]]):_0x43f99c=_0x68b2be=0x1;}}());var _0xdd4adf=[0x0,0x1,0x2,0x4,0x8,0x10,0x20,0x40,0x80,0x1b,0x36],_0x20a2c6=_0x406bc9[_0x1ebb93(0x21e)]=_0x49d6a4[_0x1ebb93(0x419)]({'_doReset':function(){var _0x2b2372=_0x1ebb93,_0x399de7;if(!(this['_nRounds']&&this[_0x2b2372(0x142)]===this['_key'])){for(var _0x23f0b4=this[_0x2b2372(0x142)]=this[_0x2b2372(0xe8)],_0x11f6ea=_0x23f0b4[_0x2b2372(0x236)],_0xa814f3=_0x23f0b4['sigBytes']/0x4,_0x5c982f=this['_nRounds']=_0xa814f3+0x6,_0x475815=(_0x5c982f+0x1)*0x4,_0x3a224d=this[_0x2b2372(0x182)]=[],_0x38bcfc=0x0;_0x38bcfc<_0x475815;_0x38bcfc++)_0x38bcfc<_0xa814f3?_0x3a224d[_0x38bcfc]=_0x11f6ea[_0x38bcfc]:(_0x399de7=_0x3a224d[_0x38bcfc-0x1],_0x38bcfc%_0xa814f3?_0xa814f3>0x6&&_0x38bcfc%_0xa814f3==0x4&&(_0x399de7=_0x681ef5[_0x399de7>>>0x18]<<0x18|_0x681ef5[_0x399de7>>>0x10&0xff]<<0x10|_0x681ef5[_0x399de7>>>0x8&0xff]<<0x8|_0x681ef5[_0x399de7&0xff]):(_0x399de7=_0x399de7<<0x8|_0x399de7>>>0x18,_0x399de7=_0x681ef5[_0x399de7>>>0x18]<<0x18|_0x681ef5[_0x399de7>>>0x10&0xff]<<0x10|_0x681ef5[_0x399de7>>>0x8&0xff]<<0x8|_0x681ef5[_0x399de7&0xff],_0x399de7^=_0xdd4adf[_0x38bcfc/_0xa814f3|0x0]<<0x18),_0x3a224d[_0x38bcfc]=_0x3a224d[_0x38bcfc-_0xa814f3]^_0x399de7);for(var _0x4a8964=this[_0x2b2372(0x337)]=[],_0x401b43=0x0;_0x401b43<_0x475815;_0x401b43++){var _0x38bcfc=_0x475815-_0x401b43;if(_0x401b43%0x4)var _0x399de7=_0x3a224d[_0x38bcfc];else var _0x399de7=_0x3a224d[_0x38bcfc-0x4];_0x401b43<0x4||_0x38bcfc<=0x4?_0x4a8964[_0x401b43]=_0x399de7:_0x4a8964[_0x401b43]=_0x1bc163[_0x681ef5[_0x399de7>>>0x18]]^_0x463754[_0x681ef5[_0x399de7>>>0x10&0xff]]^_0x1124d9[_0x681ef5[_0x399de7>>>0x8&0xff]]^_0x266e1e[_0x681ef5[_0x399de7&0xff]];}}},'encryptBlock':function(_0x5b1f0f,_0xef31a6){var _0x17fbbc=_0x1ebb93;this[_0x17fbbc(0x3cc)](_0x5b1f0f,_0xef31a6,this[_0x17fbbc(0x182)],_0x57309c,_0xb842b4,_0x31f91b,_0x4c33e7,_0x681ef5);},'decryptBlock':function(_0x545f17,_0x2aa007){var _0x5d59ff=_0x1ebb93,_0x2a19e4=_0x545f17[_0x2aa007+0x1];_0x545f17[_0x2aa007+0x1]=_0x545f17[_0x2aa007+0x3],_0x545f17[_0x2aa007+0x3]=_0x2a19e4,this[_0x5d59ff(0x3cc)](_0x545f17,_0x2aa007,this[_0x5d59ff(0x337)],_0x1bc163,_0x463754,_0x1124d9,_0x266e1e,_0x18a3b8);var _0x2a19e4=_0x545f17[_0x2aa007+0x1];_0x545f17[_0x2aa007+0x1]=_0x545f17[_0x2aa007+0x3],_0x545f17[_0x2aa007+0x3]=_0x2a19e4;},'_doCryptBlock':function(_0x4f3b03,_0x5bb75e,_0x2429bc,_0x2b86ce,_0x414f79,_0x554a81,_0x29f545,_0x4dbd61){var _0x57797c=_0x1ebb93;for(var _0x12de05=this[_0x57797c(0x2de)],_0x21e204=_0x4f3b03[_0x5bb75e]^_0x2429bc[0x0],_0x292ecb=_0x4f3b03[_0x5bb75e+0x1]^_0x2429bc[0x1],_0x43d81f=_0x4f3b03[_0x5bb75e+0x2]^_0x2429bc[0x2],_0x3e98af=_0x4f3b03[_0x5bb75e+0x3]^_0x2429bc[0x3],_0x51a08c=0x4,_0x2415e4=0x1;_0x2415e4<_0x12de05;_0x2415e4++){var _0x272e95=_0x2b86ce[_0x21e204>>>0x18]^_0x414f79[_0x292ecb>>>0x10&0xff]^_0x554a81[_0x43d81f>>>0x8&0xff]^_0x29f545[_0x3e98af&0xff]^_0x2429bc[_0x51a08c++],_0x1a7d4e=_0x2b86ce[_0x292ecb>>>0x18]^_0x414f79[_0x43d81f>>>0x10&0xff]^_0x554a81[_0x3e98af>>>0x8&0xff]^_0x29f545[_0x21e204&0xff]^_0x2429bc[_0x51a08c++],_0x56e756=_0x2b86ce[_0x43d81f>>>0x18]^_0x414f79[_0x3e98af>>>0x10&0xff]^_0x554a81[_0x21e204>>>0x8&0xff]^_0x29f545[_0x292ecb&0xff]^_0x2429bc[_0x51a08c++],_0x34e03b=_0x2b86ce[_0x3e98af>>>0x18]^_0x414f79[_0x21e204>>>0x10&0xff]^_0x554a81[_0x292ecb>>>0x8&0xff]^_0x29f545[_0x43d81f&0xff]^_0x2429bc[_0x51a08c++];_0x21e204=_0x272e95,_0x292ecb=_0x1a7d4e,_0x43d81f=_0x56e756,_0x3e98af=_0x34e03b;}var _0x272e95=(_0x4dbd61[_0x21e204>>>0x18]<<0x18|_0x4dbd61[_0x292ecb>>>0x10&0xff]<<0x10|_0x4dbd61[_0x43d81f>>>0x8&0xff]<<0x8|_0x4dbd61[_0x3e98af&0xff])^_0x2429bc[_0x51a08c++],_0x1a7d4e=(_0x4dbd61[_0x292ecb>>>0x18]<<0x18|_0x4dbd61[_0x43d81f>>>0x10&0xff]<<0x10|_0x4dbd61[_0x3e98af>>>0x8&0xff]<<0x8|_0x4dbd61[_0x21e204&0xff])^_0x2429bc[_0x51a08c++],_0x56e756=(_0x4dbd61[_0x43d81f>>>0x18]<<0x18|_0x4dbd61[_0x3e98af>>>0x10&0xff]<<0x10|_0x4dbd61[_0x21e204>>>0x8&0xff]<<0x8|_0x4dbd61[_0x292ecb&0xff])^_0x2429bc[_0x51a08c++],_0x34e03b=(_0x4dbd61[_0x3e98af>>>0x18]<<0x18|_0x4dbd61[_0x21e204>>>0x10&0xff]<<0x10|_0x4dbd61[_0x292ecb>>>0x8&0xff]<<0x8|_0x4dbd61[_0x43d81f&0xff])^_0x2429bc[_0x51a08c++];_0x4f3b03[_0x5bb75e]=_0x272e95,_0x4f3b03[_0x5bb75e+0x1]=_0x1a7d4e,_0x4f3b03[_0x5bb75e+0x2]=_0x56e756,_0x4f3b03[_0x5bb75e+0x3]=_0x34e03b;},'keySize':0x100/0x20});_0x23473c[_0x1ebb93(0x21e)]=_0x49d6a4['_createHelper'](_0x20a2c6);}()),_0x5cc8f3[_0x1ea21a(0x21e)];}));}(fe)),fe[_0x201e84(0x2d2)];}var wi=Pi();const Mi=ve(wi);var Li=Et();const it=ve(Li);var be={'exports':{}},xi=be[_0x54341f(0x2d2)],nt;function ki(){var _0x8b3c24=_0x54341f;return nt||(nt=0x1,function(_0x21de1,_0x251327){(function(_0x52b477,_0x57086c){_0x21de1['exports']=_0x57086c(Q());}(xi,function(_0x299304){var _0x2d020f=_0x2020;return _0x299304['enc'][_0x2d020f(0x1e5)];}));}(be)),be[_0x8b3c24(0x2d2)];}var $i=ki();const Hi=ve($i);var Oe={'exports':{}},ji=Oe[_0x54341f(0x2d2)],rt;function Bi(){var _0x377c9b=_0x54341f;return rt||(rt=0x1,function(_0x44a593,_0x1fafcd){(function(_0x44a0d2,_0x4694d5){_0x44a593['exports']=_0x4694d5(Q());}(ji,function(_0x2085a1){var _0x11d464=_0x2020;return(function(){var _0x366b99=_0x2020;if(typeof ArrayBuffer==_0x366b99(0x111)){var _0x53fc0a=_0x2085a1,_0x36ca89=_0x53fc0a[_0x366b99(0x13e)],_0xa8273=_0x36ca89[_0x366b99(0xde)],_0x1f6438=_0xa8273[_0x366b99(0x3b4)],_0x5aeadd=_0xa8273[_0x366b99(0x3b4)]=function(_0x47a672){var _0x35a838=_0x366b99;if(_0x47a672 instanceof ArrayBuffer&&(_0x47a672=new Uint8Array(_0x47a672)),(_0x47a672 instanceof Int8Array||typeof Uint8ClampedArray<'u'&&_0x47a672 instanceof Uint8ClampedArray||_0x47a672 instanceof Int16Array||_0x47a672 instanceof Uint16Array||_0x47a672 instanceof Int32Array||_0x47a672 instanceof Uint32Array||_0x47a672 instanceof Float32Array||_0x47a672 instanceof Float64Array)&&(_0x47a672=new Uint8Array(_0x47a672[_0x35a838(0x199)],_0x47a672['byteOffset'],_0x47a672[_0x35a838(0x397)])),_0x47a672 instanceof Uint8Array){for(var _0x1be51f=_0x47a672['byteLength'],_0x41f9bb=[],_0xfa76f0=0x0;_0xfa76f0<_0x1be51f;_0xfa76f0++)_0x41f9bb[_0xfa76f0>>>0x2]|=_0x47a672[_0xfa76f0]<<0x18-_0xfa76f0%0x4*0x8;_0x1f6438[_0x35a838(0x2c9)](this,_0x41f9bb,_0x1be51f);}else _0x1f6438[_0x35a838(0x1ca)](this,arguments);};_0x5aeadd[_0x366b99(0x28a)]=_0xa8273;}}()),_0x2085a1[_0x11d464(0x13e)][_0x11d464(0xde)];}));}(Oe)),Oe[_0x377c9b(0x2d2)];}var Fi=Bi();function _0x2020(_0x226495,_0x16786b){var _0x52d476=_0x52d4();return _0x2020=function(_0x2020e7,_0x3ddbe3){_0x2020e7=_0x2020e7-0xa5;var _0x34d3c7=_0x52d476[_0x2020e7];return _0x34d3c7;},_0x2020(_0x226495,_0x16786b);}const Vi=ve(Fi);var Re={'exports':{}},Wi=Re[_0x54341f(0x2d2)],st;function Gi(){var _0xacb8f5=_0x54341f;return st||(st=0x1,function(_0x4c7897,_0x111fed){(function(_0x446a19,_0x5efdb6,_0x419eb8){var _0x2b5c26=_0x2020;_0x4c7897[_0x2b5c26(0x2d2)]=_0x5efdb6(Q(),Tt());}(Wi,function(_0x2d2309){var _0x5b175e=_0x2020;return _0x2d2309[_0x5b175e(0x317)][_0x5b175e(0xaf)]={'pad':function(){},'unpad':function(){}},_0x2d2309['pad']['NoPadding'];}));}(Re)),Re[_0xacb8f5(0x2d2)];}var Yi=Gi();const qi=ve(Yi);function Ki(_0x5e1c89,_0x3a6ec0){var _0x1c9825=_0x54341f;const _0x57a7de=_0x3a6ec0-_0x5e1c89[_0x1c9825(0x1e8)]%_0x3a6ec0,_0x3c8e8f=String[_0x1c9825(0x1b9)](_0x57a7de)['repeat'](_0x57a7de);return _0x5e1c89+_0x3c8e8f;}function zi(_0x1752eb,_0x3c96cf){var _0xc86340=_0x54341f;const _0x5d1ea1=Vi[_0xc86340(0x28e)](0x10),_0x58ab63=Ki(_0x1752eb,0x10),_0x57a8cc=Mi['encrypt'](Hi[_0xc86340(0x383)](_0x58ab63),it[_0xc86340(0x383)](_0x3c96cf),{'iv':_0x5d1ea1,'padding':qi});return _0x5d1ea1[_0xc86340(0x2e2)](_0x57a8cc['ciphertext'])[_0xc86340(0x202)](it);}function Ji(){var _0x211399=_0x54341f;const _0x2422f0=yt[_0x211399(0x2cf)]()['__Key__'];if(_0x2422f0){const _0x15154e={'time':Math[_0x211399(0x208)](Date[_0x211399(0x206)]()/0x3e8),'domain':location[_0x211399(0x240)]};return zi(JSON[_0x211399(0x3ef)](_0x15154e),_0x2422f0);}}var Xi=Object[_0x54341f(0x2d4)],Zi=(_0x1897b0,_0x18e751,_0x43fc23,_0x4fc800)=>{var _0x102822=_0x54341f;for(var _0x520e97=_0x4fc800>0x1?void 0x0:_0x4fc800?Xi(_0x18e751,_0x43fc23):_0x18e751,_0x15bc55=_0x1897b0[_0x102822(0x1e8)]-0x1,_0x23a400;_0x15bc55>=0x0;_0x15bc55--)(_0x23a400=_0x1897b0[_0x15bc55])&&(_0x520e97=_0x23a400(_0x520e97)||_0x520e97);return _0x520e97;},Qi=(_0x5926d0,_0x25b544)=>(_0x501983,_0x41de36)=>_0x25b544(_0x501983,_0x41de36,_0x5926d0);let Ne=class{constructor(_0x14fcb0){var _0x4aeaf4=_0x54341f;this['_httpService']=_0x14fcb0,this[_0x4aeaf4(0x40a)]();}[_0x54341f(0x40a)](){var _0x4e7050=_0x54341f;this['_httpService'][_0x4e7050(0x237)]({'interceptor':(_0x48a034,_0x4c01de)=>{var _0x320467=_0x4e7050;const _0x5cc9cf=_0x48a034[_0x320467(0x138)],_0x1cef0c=Ji();return _0x1cef0c&&_0x5cc9cf[_0x320467(0x2f5)]('x-univer-host',_0x1cef0c),_0x4c01de(_0x48a034);}});}};Ne=Zi([Qi(0x0,a[_0x54341f(0x3f8)](q[_0x54341f(0x307)]))],Ne);var en=Object['getOwnPropertyDescriptor'],tn=(_0x446fb1,_0xb5cfcb,_0x3af09a,_0x3f3390)=>{var _0x46c37b=_0x54341f;for(var _0x3f27a1=_0x3f3390>0x1?void 0x0:_0x3f3390?en(_0xb5cfcb,_0x3af09a):_0xb5cfcb,_0x1ea247=_0x446fb1[_0x46c37b(0x1e8)]-0x1,_0x3cec54;_0x1ea247>=0x0;_0x1ea247--)(_0x3cec54=_0x446fb1[_0x1ea247])&&(_0x3f27a1=_0x3cec54(_0x3f27a1)||_0x3f27a1);return _0x3f27a1;},we=(_0x4a6fa1,_0x6d0866)=>(_0x4ef2b7,_0x231be2)=>_0x6d0866(_0x4ef2b7,_0x231be2,_0x4a6fa1);exports[_0x54341f(0x333)]=class extends a[_0x54341f(0x26a)]{constructor(_0x330fdc,_0x50768b,_0x5b333f){var _0x6d4dcc=_0x54341f;super(),A(this,_0x6d4dcc(0x1e2),new H['BehaviorSubject'](null)),A(this,_0x6d4dcc(0x41e),this['_unitInfo$'][_0x6d4dcc(0x131)]()),(this[_0x6d4dcc(0x1dc)]=_0x330fdc,this[_0x6d4dcc(0x179)]=_0x50768b,this[_0x6d4dcc(0x41a)]=_0x5b333f);}async[_0x54341f(0x405)](_0x4cf5b4,_0x1371c0,_0x13694e){var _0x1b2ce3=_0x54341f;this[_0x1b2ce3(0x1e2)][_0x1b2ce3(0x23b)]({'unitId':_0x4cf5b4,'type':_0x1371c0});let _0x529806=null;switch(_0x1371c0){case J[_0x1b2ce3(0x3ae)]:{_0x529806=await this[_0x1b2ce3(0x179)][_0x1b2ce3(0x1b3)](_0x4cf5b4,_0x13694e);break;}case J[_0x1b2ce3(0x254)]:{_0x529806=await this[_0x1b2ce3(0x179)]['loadDoc'](_0x4cf5b4,_0x13694e);break;}default:{this[_0x1b2ce3(0x1dc)][_0x1b2ce3(0x146)](_0x1b2ce3(0x363),_0x1b2ce3(0x167));break;}}return _0x529806;}async[_0x54341f(0x28c)](_0x594fe0,_0x1e1a93,_0x3ef7cf){var _0x459710=_0x54341f,_0x450ef8;this[_0x459710(0x1e2)][_0x459710(0x23b)]({'unitId':_0x594fe0,'type':_0x1e1a93,'subUnitId':_0x3ef7cf});let _0x3920a9=0x0;const _0x586081=await((_0x450ef8=this[_0x459710(0x41a)])==null?void 0x0:_0x450ef8[_0x459710(0x3b1)](_0x594fe0));return _0x586081&&(_0x586081['awaitingChangeset']||_0x586081[_0x459710(0xfe)]['length']!==0x0)&&(_0x3920a9=_0x586081['rev']),_0x3920a9===0x0&&this[_0x459710(0x1dc)][_0x459710(0x3c1)](_0x459710(0x363),_0x459710(0x33f)),this[_0x459710(0x405)](_0x594fe0,_0x1e1a93,_0x3920a9);}},exports[_0x54341f(0x333)]=tn([we(0x0,a[_0x54341f(0x21a)]),we(0x1,a['Inject'](p[_0x54341f(0x1b2)])),we(0x2,a[_0x54341f(0x368)](K))],exports[_0x54341f(0x333)]);var nn=Object[_0x54341f(0x2d4)],rn=(_0x606cd5,_0x56da80,_0xdbfeaa,_0x5deca3)=>{var _0x14b8b4=_0x54341f;for(var _0x2e3e28=_0x5deca3>0x1?void 0x0:_0x5deca3?nn(_0x56da80,_0xdbfeaa):_0x56da80,_0x281899=_0x606cd5[_0x14b8b4(0x1e8)]-0x1,_0x1eb1b6;_0x281899>=0x0;_0x281899--)(_0x1eb1b6=_0x606cd5[_0x281899])&&(_0x2e3e28=_0x1eb1b6(_0x2e3e28)||_0x2e3e28);return _0x2e3e28;},Me=(_0x3cbfd3,_0x5e2697)=>(_0x293c29,_0xcbb87e)=>_0x5e2697(_0x293c29,_0xcbb87e,_0x3cbfd3);const sn=[_0x54341f(0x2db),_0x54341f(0x2c2),_0x54341f(0x1a4),_0x54341f(0x3d1),_0x54341f(0x10e)],on=0x5*0x400*0x400,an=_0x54341f(0x277),cn=_0x54341f(0x27c);function _0x52d4(){var _0xe0b54a=['params','_onConflict','YUUMI_TABLE_NOT_FOUND_IN_UNIT','IMentionIOService','onMissingChangesets','SOCKET_FAILED','onCommandExecuted','_change$','PERSON','createEncryptor','transformMutationsWithChangeset','_scheduleCollaborationTimeoutTimer','_toggleOffline','set','_singleActiveUnitService','ws://127.0.0.1:8000/universer-api/comb/connect','\x20in\x20_schedule.','[CollaborationEntity]','mode','HELLO','status','getActiveSheet','USERS_ENTER','_eventService','addHandlerCallback','_handler','getSheetBlock','merge','_awaitingChangeset','8991408YTeSnT','Pkcs7','HTTPService','UPDATE_PERMISSION_OBJ','clear','forEach','getTypeOfUnitDisposed$','LocaleService','_getUploadFileURL','finalize','map','ILocalCacheService','HEARTBEAT_INTERVAL','fetching\x20missing\x20changesets\x20from\x20','OFFLINE','_executeRemoteChangeset','CollaborationEvent','actions','pad','_transformRemoteChangesetByIMECache','AwaitingState','\x0aCurrent:\x20','fetchThroughInterceptors','UNAUTHENTICATED','_transformUndoredo','substr','Cipher','Base64','getSheetId','encrypt','[PendingState]:\x20invalid\x20calling\x20to\x20`resend`.','charAt','People','_iv','encode','_submitChangeset','state$','status$','UNIVER_UNKNOWN','[serializeCombRequest]:\x20should\x20not\x20fall\x20into\x20default\x20branch!','Encryptor','AuthzIoHttpService','message$','NOT_FOUND','session.room-full','CHANGESET_ACK','DataLoaderService','saveChangeset','_registerDependencies','EvpKDF','_invKeySchedule','\x22.\x20Please\x20configure\x20the\x20dynamicRequireTargets\x20or/and\x20ignoreDynamicRequires\x20option\x20of\x20@rollup/plugin-commonjs\x20appropriately\x20for\x20this\x20require\x20call\x20to\x20work.','UNKNOWN_CMD','close$','catch','LEAVE','univer-pro.collaboration-client-socket-service','_instanceService','fetching\x20the\x20latest\x20document\x20from\x20the\x20server.','SUCCUSS','every','LIVESHARE_REQUEST_HOST','ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=','override','get','LICENSE_IMPORT_SIZE_EXCEEDED','getConfig','_transformService','_unlockTransition','awaiting','execute','clamp','/universer-api/authz','_members$','USERS_LEAVE','post','[AuthServerService]:\x20you\x20should\x20provide\x20authentication\x20info\x20on\x20Node.js.','IDLE','_clearRedo','_clearUndo','OTHER_CLIENTS_EDITING','getAllMembers','has','socket$','UnitSnapshot','UNKNOWN_CODE','_socketService','_status$','LocalUndoRedoService','EMAIL_HAS_BEEN_BOUND','[CollaborationEntity]:\x20cannot\x20apply\x20missing\x20results\x20on\x20other\x20states!','/unit/','socket\x20close','not_collab','[DataLoaderService]','_commentUpdate$','_socketMessageSubscription','_waitForHeartbeatResponse','/resources','Optional','textEncoder','10rIAtDc','54LBViyA','saveSheetBlock','socket\x20open.','[PendingState]:\x20received\x20acknowledgement.','refreshPermission','IConfigService','deepClone','mapDocumentTypeToUniverType','fetch_missing','/universer-api/comb','offline','PendingState','_queuedRemoteChangesets','toggleOnline','action','type','YUUMI_RATE_OVER_LIMIT','ICommandService','_replaceFileID','reset','JOIN_ROOM_FULL','_sendingTimer','ALREADY_EXISTS','Disposable','parse','executeCommand','pauseCollaboration','getSnapshotAPIPath','getCurrentRevOfUnit','Tools','_scheduleCompleteTimestamp','_createInitialState','_pendingMutations','state','_changesetReqId','_telemetryInfo','disposeWithMe','selections','PERMISSION_REJ','_type','emitEvent','transformSelections','ERROR_EXCEED_SIZE','POST','byteLength','collaboratorID','_memberService','DisposableCollection','isInternalEditorID','onTransformSelections','onRemoteAck','textRanges','listCollaborators','responseType','_injector','CompressMutationService','/fetchmissing?from=','UUID','connection\x20error','members','2zxFaJO','session.join-failed','abs','Injector','TOO_MANY_REQUESTS','b64DecodeUnicode','_getAPIPrefixPath','UNIVER_SHEET','/universer-api/user/session-ticket','transformStack\x20failed!','loadOfflineData','saveImage','_xformMode','init','subscribe','BlockCipherMode','_disableEditing','addImageSourceCache','_doCreateSocket','_onJoinRoomEvent','interceptor','[UniverCollaborationClientPlugin]','target','_onFetchMissResult','retryConnectingInterval','&assign=','debug','HEARTBEAT','objects','_sheetTransformSelectionsService','subUnitId','isTransformMutationsWithChangesetFailure','_transformSelections','telemetry\x20info\x20is\x20not\x20initialized','url','/allowed','Failed\x20to\x20update\x20permission\x20point','_doCryptBlock','kdf','_prevBlock','readInt32LE','UNIVER_COLLABORATION_CLIENT_PLUGIN','image/gif','onTransformRemoteChangesetByIMECache\x20callback\x20is\x20not\x20added\x20yet.','roomInfos','submit\x20changeset\x20error!','_compressMutationService','replace','getRandomValues','reduce','[CollaborationSocketService]:\x20failed\x20to\x20get\x20web\x20socket\x20factory!','online$','YUUMI_ALL_TABLES_IS_INVALID','formatter','reqId','LICENSE_DISTRO_REJECTED','href','MentionType','getCurrentSelections','changesets','randomBytes','revision','StreamCipher','salt','putCollaborators','sid','onload','getImageSourceCache','Module','_onRecvEvent','_sessionStatus$','Cannot\x20assemble\x20a\x20changeset\x20from\x20multiple\x20mutations\x20of\x20different\x20types:\x20','stringify','[FetchMissState]','_substituteUndoStack','/block/','routeKey','_getSignURL','getMember','c1Prime','setWaitCount','Inject','unit-cache-','_waitCount','[CollaborationSessionService]:\x20socket\x20error','update','_oKey','This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!','stopTime','COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY','concatMap','_collaborationTimeoutTimer','ISocketService','YUUMI_UNABLE_LOAD_URL','loadUnitOfRevision','_undoStacks','then','onRemoteRej','updateCursorEvent','_initRequestHeader','UserProfileImg','unitId','EMAIL_VERIFY_CODE_MISMATCH','enableOfflineEditing','members$','UniverInstanceType','method','ceil','_initCloseConn','9527121LKsboh','UniverCollaborationClientPlugin','key','SYNCED','symbol','extend','_localCacheService','put','BufferedBlockAlgorithm','_fetchMissChangesets','unitInfo$','_joinRoom','memberID','onTransformState','FetchingMissState','Decryptor','loginUrlKey','UnitEmbedded','copyFileMeta','_onUserJoin','getImage','onSendChangeset','_reverseMap','_config','getCollabEntity','NoPadding','compute','getValue','_data','CollaborationEntity','equals','[OfflineState]:\x20received\x20acknowledgement.','_initMergeInterceptor','_revisionService','createDecryptor','focused$','_updateLocalCache','Hasher','dispose','PENDING','collaMsg','_onCombEvent','_incrementRevisionNumber','transformUndoRedo','_onRemoteChangeset','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','FAIL','hasher','_transformRemoteChangesetByStateCache','_ENC_XFORM_MODE','_clearTimeoutTimer','_substituteRedoStack','_updateState','USER_NOT_INVITED_CODE','_onRemoteRejected','SNAPSHOT_URL_KEY','onStateChange','CollaborationSessionService','_collaborationUIEventService','isPermissionRej','_socket','getTypeOfUnitAdded$','_collaborationPaused','_resendTimeout','_createHandler','updateCollaborator','JOINING','CollaborationSession','_getSendChangesetTimeout','collaboration-client.local-cache-service','CollaborationStatus','ConflictState','WordArray','close','_commandService','onStarting','[SyncedState]:\x20received\x20acknowledgement.','getLocalCacheKey','YUUMI_NO_CUBOID_FOR_QUESTION','MemberService','UNIVER_PROJECT','_event$','_key','/new_changes','APPLY_DUPLICATED','snapshot','_schedule','Native\x20crypto\x20module\x20could\x20not\x20be\x20used\x20to\x20get\x20secure\x20random\x20number.','YUUMI_URL_COL_OUT_OF_RANGE','DEFAULT_COLLAB_WEB_SOCKET_URL','LOCAL_CACHE_INTERVAL','_DEC_XFORM_MODE','complete','/object','SNAPSHOT_INVALID_SNAPSHOT','&to=','_permissionService','removeMember','PERMISSION_DENIED','sin','_rescheduleHeartbeat','string','CommentService','CHANGESET_REJ','mutations','range','enableSingleActiveInstanceLock','CollaborationController','send','_hash','_listenToNetworkCondition','FileId','take','[CollaborationSession]:\x20should\x20not\x20send\x20message\x20when\x20the\x20session\x20is\x20offline!','__creator','_createHmacHelper','SHOULD_CLOSE_CONN','_append','name','_sendHeartbeatTimer','image/bmp','find','_roomMembers','function','SOCKET_FAILED_RETRY','_members','_createHelper','parseChangesetToProtocol','HEARTBEAT_INTERVAL_KEY','getCurrentUser','[CollaborationEntity]:\x20initial\x20state\x20has\x20been\x20created\x20before.\x20You\x20should\x20not\x20call\x20\x22init\x22\x20twice.','generateRandomId','OfflineState','shareReplay','data','_onLocalMutation','_throwTelemetryCollaborationNewChangeset','closeSession','44764ymsrtZ','newCsEvent','_remoteChangesetQueue','_roomCreated$','disableLocalCache','_getCtorByUniverType','CONNECTOR_DATA_TOO_LARGE','_updateStatus','sheets','editing\x20status\x20changed\x20to','uploadFileServerUrl','univer-pro.collaboration-client.network-condition.service','_doReset','onSyncEditingCollabCursor','UniverNetworkPlugin','365115OExrOK','synced','asObservable','_httpService','updatePermissionPoint','unsubscribe','[CollaborationState]:\x20apply\x20error!','_tryEnsureSocket','ONLINE','headers','AWAITING_WITH_PENDING','ITelemetryService','from','ISnapshotServerService','SNAPSHOT_HAS_BEEN_REMOVED','lib','Rectangle','_removeRoom','serializeCombRequest','_keyPriorReset','eventID','_iKey','onMissedChangesetFetched','error','updateOfflineData','min','onRemoteChangeset','crypto','_getRedoStack','create','_startTelemetryCollaborationNewChangeset','append','waitForRoom$','updateMember','localCacheService','_state$','YUUMI_AI_RUN_FAILED','COMPLETION_FINISHED','SetSelectionsOperation','MergeInterceptorFactory','LICENSE_MAX_UNITS_EXCEEDED','SnapshotServerOverHTTPService','delay','clone','decryptBlock','location','src','pending','_getAPIPrefix','INGEST','_syncEditingCollabCursor','userID','ISingleActiveUnitService','Hex','LICENSE_EXPORT_SIZE_EXCEEDED','keySize','Unknown\x20type.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','failed\x20to\x20apply\x20missed\x20changesets!','getUnit','ImageUploadStatusType','CBC','_shouldReportTelemetry','BASE64','207ALPEIA','push','7628789ffoeaf','_resendTimer','error$','SessionStatus','CollaborationUIEventService','fromCollab','SUBMIT_CHANGESET','AwaitingWithPendingState','YUUMI_SUBSCRIPTION_NOT_FOUND','_snapshotService','getWorkbookSelections','FETCH_MISSING','DependentOn','onlyLocal','_hasher','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','session.room-permission-denied','MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','_keySchedule','takeUntil','_clearLocalCache','_decreaseWaiting','COMMENT_UPDATE','getUnitStatus$','_onRemoteRetry','_clearScheduledTask','getUnitType','_process','_snapshotServerService','resourceIDs','[OfflineState]:\x20received\x20changeset.','ENSURE_SNAPSHOT_EXECUTION','BehaviorSubject','startTime','requestParams','_getUndoStack','getFocusedUnit','DocCollaborationEntity','_clearRetryConnectingTimer','awaitingChangeset','conflict','buffer','_imageSourceCache','ivSize','_applyRemoteChangeset','createIdentifier','IImageIoService','MD5','session','sessionStatus$','_socketReady','INVALID_INVITE_CODE','image/jpg','file','format','COMPRESS_MUTATION_SEND','getUnitOnRev','defineProperty','getCollabEntity$','APPLY_NON_SEQUENTIAL_REVISION','entityInit$','default','_initDependencies','UPDATE_CURSOR','getMemberID','AWAITING','SnapshotService','loadSheet','touchDependencies','_handlerCallback','CollaborationImageIoService','Plugin','_collabSessionService','fromCharCode','_changesetSessionId','unitID','join','createSocket','size','values','SerializableCipher','baseRev','startsWith','collaboration_new_changeset','getUnitId','workbook','slice','_onMessage','onTransformRemoteChangesetByIMECache','UNDEFINED','apply','permissionRejEvent','result','hasOwnProperty','commentUpdateEvent','_sendHeartbeat','getInterceptPoints','_cipher','CommandType','padding','_createInitialStateImpl','infoRsp','CHANGESET_SHOULD_RETRY','open$','csAckEvent','_resendWithTimeout','ICollaborationSocketService','isTransformChangesetsSuccess','_logService','INVALID_ARGUMENT','/object/','_exhaustRemoteChangesetQueue','LOGIN_FAILED','INVITE_CODE_REQUIRED','_unitInfo$','/-/object/list','deleteCollaborator','Utf8','CLOSE_ROOM','&source=','length','DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','onLocalMutation','WECHAT_HAS_BEEN_BOUND','_commentService','socketService','charCodeAt','MentionIoHttpService','csShouldRetryEvent','delete','firstValueFrom','DEFAULT_WS_SESSION_TICKET_URL','m2Prime','Subject','SUBMIT_CHANGESET_TIMEOUT','NEW_CHANGESETS','[PendingState]:\x20unhandled\x20univer\x20type:\x20','incrementRevOfUnit','_transitionLocked','LIVESHARE_OPERATION','isArray','_acknowledgedAwaitingChangeset','IPermissionService','toDisposable','LIVESHARE_TERMINATE','dispose$','toString','_transformIMECache','uuidv4','_transformStack','now','resend','floor','APPLY_REVISION_CONFILICT','[CollaborationSocketService]:\x20failed\x20to\x20create\x20socket!','[SyncedState]:\x20received\x20rejection.','JSONX','SyncedState','_lockTransition','onCommentUpdate','_checkMissing','/universer-api/snapshot/','save\x20fail\x20reason\x20is\x20','capture','\x0aAfter:\x20','UnitStatus','_tryReconnect','mergeOverrideWithDependencies','WorkbookEditablePermission','filter','ILogService','CollaborationSocketService','ERROR_IMAGE','?size=','AES','GLOBAL_ROOMS_CNT_EXCEEDS','_sender','setCurrentUser','_unitID','_startCollaboration','objectType','toggleOffline','enc','PSEUDO_FETCH_MISSING_RESULT','createInstance','HMAC','OTHER_CLIENT_EDITING','_getLoginPath','CollaborationUIEventId','localeService','[SyncedState]:\x20invalid\x20calling\x20to\x20`resend`.','RevisionService','collabSubmitChangesetUrl','sessionStatus','PY_RUNTIME_SCRIPT_ERROR','shouldCloseConn','appendMutation','_collaborationSessionService','words','registerHTTPInterceptor','_parse','COMPRESS_MUTATION_APPLY','_undoRedoService','next','ITransformService','list','unpad','editingUnit','hostname','you\x20should\x20override\x20\x22IUndoRedoService\x22\x20provided\x20in\x20\x22core\x22\x20package!','reject','CipherParams','\x20to\x20','JOIN_ROOM_FAILED','_univerInstanceService','msCrypto','_candidateSocket','_getCurrentRevision','decrypt','[CollaborationUndoRedoService]','RETRY_CONNECTING_MAX_COUNT','commentUpdate$','_toggleOnline','APPLY_REJECT','ImageSourceType','cfg','MOBILE_VERIFY_CODE_MISMATCH','IAuthzIoService','UNIVER_DOC','INVITE_CODE_ALREADY_BOUND','event$','liveShareNewHost','{fileID}','objectID','SheetTransformSelectionsService','_stopTelemetryCollaborationNewChangeset','_getDownloadEndpointURL','Latin1','originalMeta','18935411dnAgXX','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY','joinRsp','onRemoteRetry','onTransformRemoteChangesetByStateCache','readAsDataURL','/collaborator','updateSnapshot','CollaborativeUndoRedoService','_clearCollaborationTimeoutTimer','pluginName','RxDisposable','LIVESHARE_NEW_HOST','[OfflineState]:\x20received\x20rejection.','pipe','JOIN_ROOM_NOT_EXISTS','UNIVER_SLIDE','_timeoutTimer','blockSize','_entityInit$','_retryConnectingTimer','APPLY_PERMISSION_DENIED','_minBufferSize','JOIN','/universer-api/stream/file/upload','EmptyMutation','NO_OTHER_CLIENTS_EDITING','SHA1','RECV','/universer-api/file/{fileID}/sign-url','allowed','$super','_showConflictNotification','roles','CONFLICT','resolve','max','mixIn','_configService','Base','CHANGESET_REVISION_CONFILICT','compose','YUUMI_ASYNCIO_CANCELLED','prototype','HEARTBEAT_TIMEOUT','loadUnit','_networkConditionService','random','title','SheetCollaborationEntity','_socket$','_retryCount','LIVESHARE_FETCH_OPERATIONS','c2Prime','_transformStateCache','_initUnitPermissionChange','onTransformIME','HEARTBEAT_TIMEOUT_KEY','parseProtocolChangeset','patch','IUniverInstanceService','_onUserLeave','transformChangesets','add','HmacMD5','UNISCRIPT_RUN','/universer-api/oidc/authpage','cmd','isTransformMutationsWithChangesetSuccess','_telemetryService','awaiting_with_pending','[ConflictState]:\x20invalid\x20calling\x20to\x20`resend`.','entries','_sessions','117013sAuyFM','_emitMembers','requireSession','_HTTPService','Undefined','[CollaborationEntity]:\x20invalid\x20state\x20transition!\x20State\x20transferred\x20from\x20is\x20not\x20the\x20current\x20state.\x0aBefore:\x20','sigBytes','_init','_replayCachedMutations','_entities','joinEvent','objectActions','UserManagerService','_state','MOBILE_HAS_BEEN_BOUND','subject','downloadEndpointUrl','body','_mode','origin','getTime','_createSocket','UNRECOGNIZED','session.room-cnt-exceeds','JOIN_ROOM_PERMISSION_DENIED','image/jpeg','algo','_onConnectionOpen','ciphertext','_isPermissionRej','?url=','setConfig','call','IUndoRedoService','splice','EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','_doProcessBlock','PasswordBasedCipher','getGlobalObject','/-/object/-/batch_allowed','authzUrl','exports','unknown','getOwnPropertyDescriptor','OpenSSL','_userManagerService','_clearHeartbeatTimer','IContextService','[CollaborationSession]','fetchMissingChangesets','image/png','saveSnapshot','HttpImport','_nRounds','_nDataBytes','INVITE_CODE_HAS_BEEN_UES','Could\x20not\x20dynamically\x20require\x20\x22','concat','_onRemoteACK','_onOffline','HmacSHA1','MUTATION','BlockCipher'];_0x52d4=function(){return _0xe0b54a;};return _0x52d4();}exports['CollaborationImageIoService']=class{constructor(_0x27daec,_0x3d6ad0,_0x2464f4){var _0x232238=_0x54341f;A(this,_0x232238(0x3fa),0x0),A(this,_0x232238(0x2ef),new H[(_0x232238(0x1f5))]()),A(this,'change$',this['_change$']),A(this,_0x232238(0x19a),new Map()),(this[_0x232238(0x132)]=_0x27daec,this[_0x232238(0x285)]=_0x3d6ad0,this['_univerInstanceService']=_0x2464f4);}[_0x54341f(0x3f7)](_0xda5341){var _0x2e1db4=_0x54341f;this[_0x2e1db4(0x3fa)]=_0xda5341,this[_0x2e1db4(0x2ef)]['next'](_0xda5341);}[_0x54341f(0x3ea)](_0x277b48,_0x52be22){var _0x4cea40=_0x54341f;if(_0x52be22===z[_0x4cea40(0x250)]['BASE64']){const _0x4c62c4=new Image();return _0x4c62c4[_0x4cea40(0x15d)]=_0x277b48,_0x4c62c4;}return this[_0x4cea40(0x19a)]['get'](_0x277b48);}[_0x54341f(0x3b8)](_0x40b38b,_0x561440,_0x566cbc){var _0x364dba=_0x54341f;_0x561440===z[_0x364dba(0x250)][_0x364dba(0x16d)]||_0x566cbc==null||this[_0x364dba(0x19a)][_0x364dba(0x2f5)](_0x40b38b,_0x566cbc);}async[_0x54341f(0xaa)](_0x1d313e){var _0x19aed8=_0x54341f;try{const _0x32e811=this[_0x19aed8(0x37d)](this[_0x19aed8(0x3f4)](),''+_0x1d313e),_0x576f94=(await this[_0x19aed8(0x132)]['get'](_0x32e811))['body'];if(_0x576f94[_0x19aed8(0x146)]&&_0x576f94[_0x19aed8(0x146)]['code']===dt['OK']){const _0x238fd1=new URL(_0x576f94[_0x19aed8(0x3c9)],this[_0x19aed8(0x25c)]())[_0x19aed8(0x202)]();return Promise[_0x19aed8(0x282)](_0x238fd1);}return Promise[_0x19aed8(0x242)](_0x576f94[_0x19aed8(0x146)]);}catch(_0x7443f7){return Promise[_0x19aed8(0x242)](_0x7443f7);}}async[_0x54341f(0x3b2)](_0x571d80){var _0x508bb7=_0x54341f;let _0x30c422='';if(!sn['includes'](_0x571d80[_0x508bb7(0x37a)]))return this[_0x508bb7(0x185)](),Promise[_0x508bb7(0x242)](new Error(z['ImageUploadStatusType']['ERROR_IMAGE_TYPE']));if(_0x571d80[_0x508bb7(0x1be)]>on)return this[_0x508bb7(0x185)](),Promise['reject'](new Error(z[_0x508bb7(0x16a)][_0x508bb7(0x395)]));try{const _0x37739d=new FormData();_0x37739d[_0x508bb7(0x14e)](_0x508bb7(0x1a5),_0x571d80);const _0x2b1351=this[_0x508bb7(0x246)][_0x508bb7(0x194)](),_0xb88df5=_0x2b1351==null?void 0x0:_0x2b1351[_0x508bb7(0x1c4)]();if(!_0xb88df5)throw new Error('unitId\x20is\x20not\x20found');const _0x23d138=this['_getUploadFileURL']()+_0x508bb7(0x21d)+_0x571d80['size'][_0x508bb7(0x202)]()+_0x508bb7(0x1e7)+vt[_0x508bb7(0xa7)]+_0x508bb7(0x3c0)+encodeURIComponent(_0xb88df5),_0x4d1a76={'body':_0x37739d},_0x95a6b2=(await this[_0x508bb7(0x132)][_0x508bb7(0x350)](_0x23d138,_0x4d1a76))[_0x508bb7(0x2ba)];if(typeof _0x95a6b2[_0x508bb7(0x105)]!=_0x508bb7(0xfb))return this[_0x508bb7(0x185)](),Promise[_0x508bb7(0x242)](new Error(z[_0x508bb7(0x16a)][_0x508bb7(0x21c)]));_0x30c422=_0x95a6b2['FileId'];}catch{return this[_0x508bb7(0x185)](),Promise[_0x508bb7(0x242)](new Error(z[_0x508bb7(0x16a)][_0x508bb7(0x21c)]));}return new Promise((_0x53931a,_0x585de8)=>{var _0x3a9c0c=_0x508bb7;const _0x23fe41=new FileReader();_0x23fe41[_0x3a9c0c(0x264)](_0x571d80),_0x23fe41[_0x3a9c0c(0x3e9)]=_0x25ced9=>{var _0xf0e165=_0x3a9c0c,_0x2a0575;const _0x41658d=(_0x2a0575=_0x25ced9[_0xf0e165(0x3bd)])==null?void 0x0:_0x2a0575[_0xf0e165(0x1cc)];if(_0x41658d==null){this[_0xf0e165(0x185)](),_0x585de8(new Error(z[_0xf0e165(0x16a)]['ERROR_IMAGE']));return;}const _0x4716c9=a[_0xf0e165(0x119)](0x6);_0x53931a({'imageId':_0x4716c9,'imageSourceType':z[_0xf0e165(0x250)][_0xf0e165(0x3a4)],'source':_0x30c422,'base64Cache':_0x41658d,'status':z[_0xf0e165(0x16a)][_0xf0e165(0x340)]}),this[_0xf0e165(0x185)]();};});}[_0x54341f(0x30d)](){var _0x4db252=_0x54341f,_0x3de6ed;const _0xdaa22d=this['_configService'][_0x4db252(0x347)](Y);return(_0x3de6ed=_0xdaa22d==null?void 0x0:_0xdaa22d[_0x4db252(0x12a)])!=null?_0x3de6ed:an;}[_0x54341f(0x3f4)](){var _0x54e112=_0x54341f,_0x43e619;const _0xa6641f=this[_0x54e112(0x285)][_0x54e112(0x347)](Y);return(_0x43e619=_0xa6641f==null?void 0x0:_0xa6641f['signUrlServerUrl'])!=null?_0x43e619:cn;}[_0x54341f(0x25c)](){var _0x3c3c71=_0x54341f,_0xa1f5f8;const _0x39c3af=this[_0x3c3c71(0x285)]['getConfig'](Y);return(_0xa1f5f8=_0x39c3af==null?void 0x0:_0x39c3af[_0x3c3c71(0x2b9)])!=null?_0xa1f5f8:location[_0x3c3c71(0x2bc)];}[_0x54341f(0x37d)](_0x299568,_0x424f69){var _0x2b7fbb=_0x54341f;return _0x299568[_0x2b7fbb(0x3d6)](_0x2b7fbb(0x258),_0x424f69);}[_0x54341f(0x185)](){var _0x447ed7=_0x54341f;this[_0x447ed7(0x3fa)]-=0x1,this['_change$']['next'](this[_0x447ed7(0x3fa)]);}},exports[_0x54341f(0x1b6)]=rn([Me(0x0,a[_0x54341f(0x3f8)](q[_0x54341f(0x307)])),Me(0x1,a[_0x54341f(0x370)]),Me(0x2,a[_0x54341f(0x3f8)](a['IUniverInstanceService']))],exports[_0x54341f(0x1b6)]);var hn=Object[_0x54341f(0x2d4)],_n=(_0x32bc71,_0x57310d,_0x15978f,_0x3f0d63)=>{var _0x4f9d30=_0x54341f;for(var _0x58256c=_0x3f0d63>0x1?void 0x0:_0x3f0d63?hn(_0x57310d,_0x15978f):_0x57310d,_0x3caeda=_0x32bc71[_0x4f9d30(0x1e8)]-0x1,_0x5bb6c4;_0x3caeda>=0x0;_0x3caeda--)(_0x5bb6c4=_0x32bc71[_0x3caeda])&&(_0x58256c=_0x5bb6c4(_0x58256c)||_0x58256c);return _0x58256c;},ot=(_0x550443,_0x35f591)=>(_0x215f79,_0x4580f3)=>_0x35f591(_0x215f79,_0x4580f3,_0x550443);const ln='/universer-api/authz';exports[_0x54341f(0x1ef)]=class{constructor(_0xacb3a9,_0x165bcb){var _0xe5016b=_0x54341f;this['_configService']=_0xacb3a9,this[_0xe5016b(0x2ac)]=_0x165bcb;}[_0x54341f(0x3ad)](){var _0x24c05c=_0x54341f,_0x3ef684;const _0x31c08a=this[_0x24c05c(0x285)][_0x24c05c(0x347)](Y);return(_0x3ef684=_0x31c08a==null?void 0x0:_0x31c08a['authzUrl'])!=null?_0x3ef684:ln;}async[_0x54341f(0x23d)](_0x2fb7a1){var _0x4fc684=_0x54341f;const _0x57d170=this[_0x4fc684(0x3ad)]()+'/collaborator';return{'list':[{'title':_0x4fc684(0x325),'mentions':(await this[_0x4fc684(0x2ac)][_0x4fc684(0x345)](_0x57d170,{'params':{'objectID':_0x2fb7a1[_0x4fc684(0x40c)],'unitID':_0x2fb7a1['unitId']}}))[_0x4fc684(0x2ba)]['collaborators']['map'](_0x385bdc=>({'objectId':_0x385bdc['id'],'name':_0x385bdc[_0x4fc684(0x2b8)][_0x4fc684(0x10c)],'metadata':{'icon':_0x385bdc[_0x4fc684(0x2b8)]['avatar']},'label':_0x385bdc[_0x4fc684(0x2b8)][_0x4fc684(0x10c)],'objectType':a['MentionType'][_0x4fc684(0x2f0)]})),'metadata':{},'type':a[_0x4fc684(0x3e0)][_0x4fc684(0x2f0)]}]};}},exports['MentionIoHttpService']=_n([ot(0x0,a[_0x54341f(0x3f8)](a[_0x54341f(0x370)])),ot(0x1,a['Inject'](q[_0x54341f(0x307)]))],exports[_0x54341f(0x1ef)]);var un=Object[_0x54341f(0x2d4)],dn=(_0x31f5da,_0x199898,_0x2cb39d,_0x589c0e)=>{for(var _0x1db24d=_0x589c0e>0x1?void 0x0:_0x589c0e?un(_0x199898,_0x2cb39d):_0x199898,_0x1be9f8=_0x31f5da['length']-0x1,_0x10d769;_0x1be9f8>=0x0;_0x1be9f8--)(_0x10d769=_0x31f5da[_0x1be9f8])&&(_0x1db24d=_0x10d769(_0x1db24d)||_0x1db24d);return _0x1db24d;},le=(_0xb75a7d,_0x45f3cc)=>(_0x3e9335,_0x57d1bf)=>_0x45f3cc(_0x3e9335,_0x57d1bf,_0xb75a7d);let De=class extends a[_0x54341f(0x26a)]{constructor(_0x111c96,_0x2f70cd,_0xab1610,_0x3a3ad6,_0x42c150){var _0x140d83=_0x54341f;super(),this[_0x140d83(0x3a1)]=_0x111c96,this[_0x140d83(0x246)]=_0x2f70cd,this['_permissionService']=_0xab1610,this[_0x140d83(0x235)]=_0x3a3ad6,this[_0x140d83(0xd0)]=_0x42c150,this[_0x140d83(0x296)](),this[_0x140d83(0x413)]();}[_0x54341f(0x413)](){var _0x322862=_0x54341f;const _0x4fc6d5=async _0x17c300=>{var _0x138f3f=_0x2020;(await this[_0x138f3f(0x235)][_0x138f3f(0x2ab)](_0x17c300))[_0x138f3f(0x256)][_0x138f3f(0x26d)](V[_0x138f3f(0x219)](_0x32f8cc=>_0x32f8cc['eventID']===p['CollaborationEvent'][_0x138f3f(0x10a)]),V[_0x138f3f(0x183)](this[_0x138f3f(0x201)]))[_0x138f3f(0x3b5)](_0x42a168=>{var _0x140bd8=_0x138f3f;const _0x533712=_0x42a168,{reason:_0x2c3c96}=_0x533712['data'];this['_collaborationUIEventService'][_0x140bd8(0x393)]({'id':Z[_0x140bd8(0x1e6)],'data':_0x2c3c96}),this[_0x140bd8(0xf6)]['updatePermissionPoint'](new X[(_0x140bd8(0x218))](_0x17c300)['id'],!0x1),this[_0x140bd8(0x235)][_0x140bd8(0x11f)](_0x17c300);});};H[_0x322862(0x303)](this[_0x322862(0x246)]['getTypeOfUnitAdded$'](a['UniverInstanceType'][_0x322862(0x3ae)]),this['_univerInstanceService']['getTypeOfUnitAdded$'](a[_0x322862(0x410)]['UNIVER_DOC']))[_0x322862(0x26d)](V[_0x322862(0x30f)](_0x1ade6e=>_0x1ade6e[_0x322862(0x1c4)]()),V[_0x322862(0x219)](_0x4d29b9=>!a['isInternalEditorID'](_0x4d29b9)),V['takeUntil'](this['dispose$']))[_0x322862(0x3b5)](_0x2baaa8=>{_0x4fc6d5(_0x2baaa8);});}['_initUnitPermissionChange'](){var _0x513ebf=_0x54341f;const _0x5d96d5=async _0x2ccafc=>{var _0x1b2b60=_0x2020;const _0x4a26bc=await this['_collaborationSessionService'][_0x1b2b60(0x2ab)](_0x2ccafc),_0x499f75=this['_injector']['get'](X['SheetPermissionInitController']);_0x4a26bc[_0x1b2b60(0x256)][_0x1b2b60(0x26d)](V[_0x1b2b60(0x219)](_0x57f4ee=>_0x57f4ee[_0x1b2b60(0x143)]===p[_0x1b2b60(0x315)][_0x1b2b60(0x308)]),V[_0x1b2b60(0x183)](this[_0x1b2b60(0x201)]))[_0x1b2b60(0x3b5)](_0x4b0b6b=>{var _0x579a0d=_0x1b2b60;const _0x2e29a5=_0x4b0b6b,{objectId:_0xc77a32}=_0x2e29a5[_0x579a0d(0x11c)];_0xc77a32===_0x2ccafc?_0x499f75['initWorkbookPermissionChange'](_0x2ccafc):_0x499f75[_0x579a0d(0x36f)](_0x2ccafc,_0xc77a32);});};H[_0x513ebf(0x303)](this[_0x513ebf(0x246)][_0x513ebf(0xd3)](a[_0x513ebf(0x410)][_0x513ebf(0x3ae)]))['pipe'](V[_0x513ebf(0x30f)](_0x16f04e=>_0x16f04e[_0x513ebf(0x1c4)]()),V[_0x513ebf(0x219)](_0x3fc85d=>!a[_0x513ebf(0x39b)](_0x3fc85d)),V['takeUntil'](this[_0x513ebf(0x201)]))[_0x513ebf(0x3b5)](_0x2a79c0=>{_0x5d96d5(_0x2a79c0);});}};De=dn([le(0x0,a[_0x54341f(0x3f8)](a[_0x54341f(0x3aa)])),le(0x1,a['IUniverInstanceService']),le(0x2,a[_0x54341f(0x1fe)]),le(0x3,a['Inject'](exports[_0x54341f(0xcf)])),le(0x4,a[_0x54341f(0x3f8)](ee))],De);var vn=Object[_0x54341f(0x2d4)],Sn=(_0x3ce7a0,_0x334682,_0x4382aa,_0x995fd9)=>{var _0x42f444=_0x54341f;for(var _0x2bae36=_0x995fd9>0x1?void 0x0:_0x995fd9?vn(_0x334682,_0x4382aa):_0x334682,_0x387450=_0x3ce7a0[_0x42f444(0x1e8)]-0x1,_0x188768;_0x387450>=0x0;_0x387450--)(_0x188768=_0x3ce7a0[_0x387450])&&(_0x2bae36=_0x188768(_0x2bae36)||_0x2bae36);return _0x2bae36;},at=(_0x520f79,_0x1fdb0d)=>(_0x349046,_0x2b1143)=>_0x1fdb0d(_0x349046,_0x2b1143,_0x520f79);exports[_0x54341f(0x158)]=class{constructor(_0x27313f,_0x5d7164){var _0x128e47=_0x54341f;this[_0x128e47(0x285)]=_0x27313f,this[_0x128e47(0x132)]=_0x5d7164;}async[_0x54341f(0x1a8)](_0x381b26,_0x4cb0e5){var _0x36fb57=_0x54341f,_0x7ad9ce;const {unitID:_0x2dcf3b,type:_0x49fa80,revision:_0x576764=0x0}=_0x4cb0e5,_0x2415b7=this['getSnapshotAPIPath']()+'/'+_0x49fa80+_0x36fb57(0x360)+_0x2dcf3b+'/rev/'+_0x576764,_0x3e2c59=(await this[_0x36fb57(0x132)][_0x36fb57(0x345)](_0x2415b7))[_0x36fb57(0x2ba)],_0x2ccd24=(_0x7ad9ce=_0x3e2c59[_0x36fb57(0xeb)])==null?void 0x0:_0x7ad9ce[_0x36fb57(0x1c5)];if(_0x2ccd24){const _0x244429=_0x2ccd24==null?void 0x0:_0x2ccd24[_0x36fb57(0x25e)],_0x49d3cb=p[_0x36fb57(0x369)][_0x36fb57(0x327)](p[_0x36fb57(0x3ac)](_0x244429));_0x2ccd24[_0x36fb57(0x25e)]=_0x49d3cb,Object[_0x36fb57(0x2a7)](_0x2ccd24[_0x36fb57(0x128)])[_0x36fb57(0x30a)](([,_0x264fcf])=>{var _0x29a665=_0x36fb57;const _0x2ce8f8=_0x264fcf[_0x29a665(0x25e)],_0x3c80a7=p[_0x29a665(0x369)][_0x29a665(0x327)](p[_0x29a665(0x3ac)](_0x2ce8f8));_0x264fcf[_0x29a665(0x25e)]=_0x3c80a7;});}return _0x3e2c59;}async[_0x54341f(0x302)](_0xd89004,_0x4314a1){var _0x1a9f2d=_0x54341f;const {unitID:_0x1f979c,type:_0x346231,blockID:_0x3c9479}=_0x4314a1,_0x16417a=this[_0x1a9f2d(0x15f)]()+'/'+_0x346231+_0x1a9f2d(0x360)+_0x1f979c+_0x1a9f2d(0x3f2)+_0x3c9479;return(await this[_0x1a9f2d(0x132)][_0x1a9f2d(0x345)](_0x16417a))[_0x1a9f2d(0x2ba)];}async['getDeserializedSheetBlock'](_0x5e3fa2,_0x47736b){var _0x2479b4=_0x54341f;const {unitID:_0x596e9f,type:_0x2f1c2b,blockID:_0x1e3cc9}=_0x47736b,_0x608a4a=this[_0x2479b4(0x15f)]()+_0x2479b4(0x3f2)+_0x2f1c2b+'/unit/'+_0x596e9f+_0x2479b4(0x3f2)+_0x1e3cc9;return(await this[_0x2479b4(0x132)]['get'](_0x608a4a))['body'];}async[_0x54341f(0x2da)](_0x1d7959,_0x131482){var _0x318b88=_0x54341f;const {unitID:_0x3a06cd,type:_0x2a8754,from:_0xf200ec,to:_0x55ca9a}=_0x131482,_0x228c32=this[_0x318b88(0x15f)]()+'/'+_0x2a8754+_0x318b88(0x360)+_0x3a06cd+_0x318b88(0x3a3)+_0xf200ec+_0x318b88(0xf5)+_0x55ca9a;return(await this['_httpService']['get'](_0x228c32))[_0x318b88(0x2ba)];}[_0x54341f(0x386)](){var _0x37753b=_0x54341f,_0x23e603;return(_0x23e603=this['_configService'][_0x37753b(0x347)](Dt))!=null?_0x23e603:this['_getAPIPrefix']();}[_0x54341f(0x15f)](){var _0x55e8b0;const _0xc8b008=this['_configService']['getConfig'](Y);return(_0x55e8b0=_0xc8b008==null?void 0x0:_0xc8b008['snapshotServerUrl'])!=null?_0x55e8b0:Nt;}async['getResourcesRequest'](_0xab9430,_0x23d0c1){var _0x33003b=_0x54341f;const _0x50945f=_0x33003b(0x211)+_0x23d0c1[_0x33003b(0x37a)]+'/unit/'+_0x23d0c1[_0x33003b(0x1bb)]+_0x33003b(0x367);return(await this[_0x33003b(0x132)][_0x33003b(0x345)](_0x50945f,{'params':{'resourceId':JSON[_0x33003b(0x3ef)](_0x23d0c1[_0x33003b(0x18d)])}}))['body'];}[_0x54341f(0x2dc)](){var _0x341a8c=_0x54341f;throw new Error(_0x341a8c(0x3fe));}[_0x54341f(0x266)](){var _0x3380e0=_0x54341f;throw new Error(_0x3380e0(0x3fe));}[_0x54341f(0x36c)](){var _0x212483=_0x54341f;throw new Error(_0x212483(0x3fe));}[_0x54341f(0x334)](){var _0x4c5e5d=_0x54341f;throw new Error(_0x4c5e5d(0x3fe));}[_0x54341f(0xa8)](){var _0x315f90=_0x54341f;throw new Error(_0x315f90(0x3fe));}['getLatestCsReqIdBySid'](){var _0x38e938=_0x54341f;throw new Error(_0x38e938(0x3fe));}},exports['SnapshotServerOverHTTPService']=Sn([at(0x0,a[_0x54341f(0x370)]),at(0x1,a[_0x54341f(0x3f8)](q[_0x54341f(0x307)]))],exports[_0x54341f(0x158)]);var fn=Object[_0x54341f(0x2d4)],In=(_0x457363,_0xaf581c,_0x3e3733,_0x21cfa1)=>{var _0x3c5cfa=_0x54341f;for(var _0xe64c8a=_0x21cfa1>0x1?void 0x0:_0x21cfa1?fn(_0xaf581c,_0x3e3733):_0xaf581c,_0x1b727a=_0x457363[_0x3c5cfa(0x1e8)]-0x1,_0x52c3d6;_0x1b727a>=0x0;_0x1b727a--)(_0x52c3d6=_0x457363[_0x1b727a])&&(_0xe64c8a=_0x52c3d6(_0xe64c8a)||_0xe64c8a);return _0xe64c8a;},ue=(_0x4fc89b,_0x16cfb4)=>(_0x4fc18e,_0x5edf7d)=>_0x16cfb4(_0x4fc18e,_0x5edf7d,_0x4fc89b);exports[_0x54341f(0x267)]=class extends a[_0x54341f(0x35d)]{constructor(_0x3ef0c0,_0x84fe6c,_0x1f58f3,_0x2016b6,_0x59fe00){var _0x3ed81f=_0x54341f;super(_0x3ef0c0,_0x84fe6c,_0x1f58f3),this[_0x3ed81f(0x348)]=_0x2016b6,this['_logService']=_0x59fe00;}[_0x54341f(0xc1)](_0x5e116a,_0x18d01a){var _0x490d64=_0x54341f;const _0x381f41=this[_0x490d64(0x193)](_0x5e116a);if(_0x381f41)try{const _0x37929f=this[_0x490d64(0x205)](_0x381f41,_0x18d01a);this[_0x490d64(0x3f1)](_0x5e116a,_0x37929f);}catch(_0x2cf1a3){this['_logService'][_0x490d64(0x146)](_0x490d64(0x24b),_0x2cf1a3),this[_0x490d64(0x354)](_0x5e116a);}const _0x523212=this[_0x490d64(0x14b)](_0x5e116a);if(_0x523212)try{const _0x3199c2=this[_0x490d64(0x205)](_0x523212,_0x18d01a);this['_substituteRedoStack'](_0x5e116a,_0x3199c2);}catch(_0xdca126){this['_logService'][_0x490d64(0x146)](_0xdca126),this[_0x490d64(0x353)](_0x5e116a);}}['_clearUndo'](_0x35f423){var _0x39e426=_0x54341f;const _0x4c5e24=this[_0x39e426(0x193)](_0x35f423);_0x4c5e24&&(_0x4c5e24[_0x39e426(0x1e8)]=0x0,this['_updateStatus']());}[_0x54341f(0x353)](_0x2c45d1){var _0x2efb3e=_0x54341f;const _0x391c6e=this[_0x2efb3e(0x14b)](_0x2c45d1);_0x391c6e&&(_0x391c6e[_0x2efb3e(0x1e8)]=0x0,this[_0x2efb3e(0x127)]());}[_0x54341f(0x3f1)](_0x17edc6,_0x2bfedd){var _0x26919d=_0x54341f;this[_0x26919d(0x406)][_0x26919d(0x2f5)](_0x17edc6,_0x2bfedd),this[_0x26919d(0x127)]();}[_0x54341f(0xc9)](_0xc57855,_0x5daf19){this['_redoStacks']['set'](_0xc57855,_0x5daf19),this['_updateStatus']();}['_transformStack'](_0x55796b,_0x54b3ac){var _0x48fbb2=_0x54341f;const _0x345386=[];let _0x11271f=_0x54b3ac,_0x426563=_0x54b3ac;for(let _0x294b1d=_0x55796b[_0x48fbb2(0x1e8)]-0x1;_0x294b1d>=0x0;_0x294b1d--){const {unitID:_0x474bb2,undoMutations:_0x1e837a,redoMutations:_0xfd5b4e}=_0x55796b[_0x294b1d],_0x4b3ab3=this[_0x48fbb2(0x348)][_0x48fbb2(0x2f2)](_0x11271f,_0x1e837a),_0x20a3b5=this['_transformService'][_0x48fbb2(0x2f2)](_0x426563,_0xfd5b4e);if(p[_0x48fbb2(0x3c6)](_0x4b3ab3)||p['isTransformMutationsWithChangesetFailure'](_0x20a3b5)){this[_0x48fbb2(0x1dc)]['error'](_0x48fbb2(0x24b),_0x48fbb2(0x3b0),_0x4b3ab3,_0x20a3b5);break;}_0x11271f=_0x4b3ab3[_0x48fbb2(0x3f6)],_0x426563=_0x20a3b5[_0x48fbb2(0x3f6)],_0x345386[_0x48fbb2(0x16f)]({'unitID':_0x474bb2,'undoMutations':_0x4b3ab3['m2Prime'],'redoMutations':_0x20a3b5[_0x48fbb2(0x1f4)]});}return _0x345386['reverse']();}},exports[_0x54341f(0x267)]=In([ue(0x0,a[_0x54341f(0x29b)]),ue(0x1,a[_0x54341f(0x37c)]),ue(0x2,a[_0x54341f(0x2d8)]),ue(0x3,p['ITransformService']),ue(0x4,a['ILogService'])],exports['CollaborativeUndoRedoService']);var pn=Object[_0x54341f(0x1a9)],mn=Object[_0x54341f(0x2d4)],gn=(_0xceeeee,_0x88d08c,_0x3a9421)=>_0x88d08c in _0xceeeee?pn(_0xceeeee,_0x88d08c,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x3a9421}):_0xceeeee[_0x88d08c]=_0x3a9421,En=(_0x122ac5,_0xa484f9,_0x26fb05,_0x4c7399)=>{var _0x22ca00=_0x54341f;for(var _0x2fd4dc=_0x4c7399>0x1?void 0x0:_0x4c7399?mn(_0xa484f9,_0x26fb05):_0xa484f9,_0x3ba3b3=_0x122ac5[_0x22ca00(0x1e8)]-0x1,_0x4c5b6e;_0x3ba3b3>=0x0;_0x3ba3b3--)(_0x4c5b6e=_0x122ac5[_0x3ba3b3])&&(_0x2fd4dc=_0x4c5b6e(_0x2fd4dc)||_0x2fd4dc);return _0x2fd4dc;},Le=(_0x461ebf,_0x5075f2)=>(_0xe78175,_0x392c77)=>_0x5075f2(_0xe78175,_0x392c77,_0x461ebf),Cn=(_0x4db87b,_0x4077fd,_0x202616)=>gn(_0x4db87b,_0x4077fd+'',_0x202616);const Tn=_0x54341f(0x3d0);exports[_0x54341f(0x415)]=class extends a[_0x54341f(0x1b7)]{constructor(_0x19c7d5,_0x4aa8da,_0x332598,_0x1ebab5){var _0x42f611=_0x54341f;super(),A(this,_0x42f611(0xad)),(this[_0x42f611(0x1dc)]=_0x4aa8da,this['_injector']=_0x332598,this['_configService']=_0x1ebab5);const {..._0x17da01}=a['merge']({},Zt,_0x19c7d5);if(!_0x17da01[_0x42f611(0x1ed)])throw new Error('[UniverCollaborationClientPlugin]:\x20you\x20must\x20provide\x20a\x20socketService\x20implementation\x20in\x20config!');this[_0x42f611(0xad)]=_0x17da01,this['_configService'][_0x42f611(0x2c8)](Y,_0x17da01);}[_0x54341f(0xe1)](){var _0x396e71=_0x54341f;this[_0x396e71(0x335)](),this[_0x396e71(0x1ae)]();}[_0x54341f(0x335)](){var _0x1ea66e=_0x54341f,_0x5b942b,_0x2247e0;this['_injector'][_0x1ea66e(0x357)](a['IUndoRedoService'])&&this[_0x1ea66e(0x1dc)][_0x1ea66e(0x146)](_0x1ea66e(0x3bc),_0x1ea66e(0x241));const _0x567b27=a[_0x1ea66e(0x217)]([[a['IUndoRedoService'],{'useClass':exports[_0x1ea66e(0x267)]}],[exports[_0x1ea66e(0xcf)]],[exports[_0x1ea66e(0xe5)]],[exports[_0x1ea66e(0x25a)]],[ye],[Ne],[$e],[De],[ee],[exports[_0x1ea66e(0x333)]],[Fe,{'useClass':this[_0x1ea66e(0xad)]['socketService']}],[p['ISnapshotServerService'],{'useClass':exports[_0x1ea66e(0x158)]}],[a[_0x1ea66e(0x253)],{'useClass':exports[_0x1ea66e(0x32e)]}],[z[_0x1ea66e(0x19e)],{'useClass':exports[_0x1ea66e(0x1b6)]}],[a[_0x1ea66e(0x2eb)],{'useClass':exports[_0x1ea66e(0x1ef)]}],[exports[_0x1ea66e(0x101)]],[xe]],(_0x5b942b=this[_0x1ea66e(0xad)])==null?void 0x0:_0x5b942b[_0x1ea66e(0x344)]);if(!((_0x2247e0=this[_0x1ea66e(0xad)])!=null&&_0x2247e0[_0x1ea66e(0x100)])){const _0x42d6ee=_0x567b27['findIndex'](([_0x143d1d])=>_0x143d1d===de);_0x42d6ee!==-0x1&&_0x567b27[_0x1ea66e(0x2cb)](_0x42d6ee,0x1);}a['registerDependencies'](this['_injector'],_0x567b27);}[_0x54341f(0x1ae)](){var _0x5cf5f1=_0x54341f,_0x3657d8,_0x38a908,_0x11666b;this[_0x5cf5f1(0x3a1)]['get'](q[_0x5cf5f1(0x307)])['registerHTTPInterceptor']({'priority':0x14,'interceptor':q['ThresholdInterceptorFactory']({'maxParallel':0x6})}),(_0x3657d8=this[_0x5cf5f1(0xad)])!=null&&_0x3657d8[_0x5cf5f1(0x40e)]||(_0x38a908=this[_0x5cf5f1(0x3a1)]['get'](K,a['Quantity']['OPTIONAL']))==null||_0x38a908[_0x5cf5f1(0x124)](),(_0x11666b=this[_0x5cf5f1(0xad)])!=null&&_0x11666b['enableAuthServer']&&a['touchDependencies'](this[_0x5cf5f1(0x3a1)],[[ye]]),a[_0x5cf5f1(0x1b4)](this['_injector'],[[Ne],[exports[_0x5cf5f1(0x101)]],[De]]);}},Cn(exports[_0x54341f(0x415)],_0x54341f(0x269),Tn),exports['UniverCollaborationClientPlugin']=En([a[_0x54341f(0x17c)](p['UniverCollaborationPlugin'],q[_0x54341f(0x12e)]),Le(0x1,a[_0x54341f(0x21a)]),Le(0x2,a[_0x54341f(0x3f8)](a[_0x54341f(0x3aa)])),Le(0x3,a['IConfigService'])],exports[_0x54341f(0x415)]),exports[_0x54341f(0x400)]=Y,exports[_0x54341f(0xdc)]=je,exports[_0x54341f(0x22c)]=Z,exports[_0x54341f(0x174)]=ee,exports[_0x54341f(0xfc)]=$e,exports[_0x54341f(0xef)]=ht,exports[_0x54341f(0x1e9)]=jt,exports[_0x54341f(0x1f3)]=At,exports[_0x54341f(0x116)]=_t,exports[_0x54341f(0x298)]=ke,exports[_0x54341f(0x1da)]=Fe,exports[_0x54341f(0x310)]=K,exports['INetworkConditionService']=pt,exports[_0x54341f(0x163)]=de,exports['LOCAL_CACHE_INTERVAL']=xt,exports['LOCAL_CACHE_INTERVAL_KEY']=Lt,exports[_0x54341f(0x260)]=Ht,exports['RETRY_CONNECTING_MAX_COUNT_KEY']=ut,exports[_0x54341f(0x173)]=re,exports[_0x54341f(0x215)]=He,exports['deserializeToCombResponse']=mt,exports[_0x54341f(0xe3)]=Kt,exports[_0x54341f(0x141)]=gt;
|