@univerjs-pro/collaboration-client 0.5.1-nightly.202412121230 → 0.5.1-nightly.202412131606
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/en-US.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/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/en-US.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/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/types/facade/f-collaboration.d.ts +15 -1
- package/lib/types/services/member/member.service.d.ts +6 -0
- package/lib/umd/facade.js +1 -1
- package/lib/umd/index.js +1 -1
- package/lib/umd/locale/en-US.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/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 +9 -9
package/lib/es/index.js
CHANGED
@@ -1 +1 @@
|
|
1
|
-
var _0x4a7741=_0xda85;(function(_0x27cd49,_0x463fd3){var _0x31d003=_0xda85,_0x7c410f=_0x27cd49();while(!![]){try{var _0x95e0b1=-parseInt(_0x31d003(0x268))/0x1+-parseInt(_0x31d003(0x110))/0x2+parseInt(_0x31d003(0x1ea))/0x3*(-parseInt(_0x31d003(0x187))/0x4)+-parseInt(_0x31d003(0x24b))/0x5*(parseInt(_0x31d003(0x356))/0x6)+parseInt(_0x31d003(0x386))/0x7*(-parseInt(_0x31d003(0x139))/0x8)+-parseInt(_0x31d003(0x37e))/0x9*(-parseInt(_0x31d003(0x21d))/0xa)+-parseInt(_0x31d003(0xd0))/0xb*(-parseInt(_0x31d003(0x30c))/0xc);if(_0x95e0b1===_0x463fd3)break;else _0x7c410f['push'](_0x7c410f['shift']());}catch(_0x1b231e){_0x7c410f['push'](_0x7c410f['shift']());}}}(_0x165a,0xa1716));var Li=Object[_0x4a7741(0x1ac)],Mi=(_0xce116f,_0x4e57c8,_0x1b0c3e)=>_0x4e57c8 in _0xce116f?Li(_0xce116f,_0x4e57c8,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x1b0c3e}):_0xce116f[_0x4e57c8]=_0x1b0c3e,D=(_0xb6994a,_0x3a2c14,_0x2a96d7)=>Mi(_0xb6994a,typeof _0x3a2c14!=_0x4a7741(0x2e5)?_0x3a2c14+'':_0x3a2c14,_0x2a96d7);import{createIdentifier as _0x4f2b38,Inject as _0x33b12a,Injector as _0x907b7b,Disposable as _0x3af27e,DisposableCollection as _0x4b9d42,toDisposable as _0x34ae4e,IConfigService as _0x243586,ILogService as _0x15afa6,UserManagerService as _0x8b56ca,UniverInstanceType as _0x2adb8a,IUniverInstanceService as _0x249ac8,LocaleService as _0x309f9d,Optional as _0x13a27c,RxDisposable as _0x537d0d,Tools as _0x41d2de,Rectangle as _0x1dbb07,ICommandService as _0xc1c261,JSONX as _0x2b5a6a,CommandType as _0x2ace15,IPermissionService as _0x5eb1c1,IUndoRedoService as _0x3d6c4b,sequenceExecute as _0x4d40a8,Workbook as _0x5aa39c,MentionType as _0x5b24af,IAuthzIoService as _0x20b299,isInternalEditorID as _0x3623b7,LocalUndoRedoService as _0x53ef46,IContextService as _0x17e19c,DependentOn as _0x1561cc,Plugin as _0x2deda8,mergeOverrideWithDependencies as _0x5062c8,IMentionIOService as _0x5821db,registerDependencies as _0x1e0485,Quantity as _0x208f35,touchDependencies as _0x34647d}from'@univerjs/core';import{Subject as _0x2001de,merge as _0x142a02,takeUntil as _0x1d894f,BehaviorSubject as _0x5c2168,ReplaySubject as _0x1b6e28,take as _0x3beeef,map as _0x3fc051,shareReplay as _0x2baabf,of as _0xf8f271,firstValueFrom as _0x15ef6d,concatMap as _0x412d92}from'rxjs';import{map as _0x55950a,take as _0x183e08,filter as _0x239d59,delay as _0x4401d9,takeUntil as _0x56c3fb}from'rxjs/operators';import{HTTPService as _0x23500e,ISocketService as _0x14adbd,MergeInterceptorFactory as _0x25966a,HTTPRequest as _0x39b5d6,UniverNetworkPlugin as _0xa9be52,ThresholdInterceptorFactory as _0x42a144}from'@univerjs/network';import{CollaborationEvent as _0x3c0549,parseChangesetToProtocol as _0x18f788,ISnapshotServerService as _0xefdb57,isTransformMutationsWithChangesetSuccess as _0x332775,ITransformService as _0x4aadc5,mapDocumentTypeToUniverType as _0x16c82d,RevisionService as _0x42d2a1,isTransformChangesetsSuccess as _0x4415b3,CompressMutationService as _0x34e033,parseProtocolChangeset as _0x42b651,SnapshotService as _0x193336,textEncoder as _0x28f302,b64DecodeUnicode as _0x1d1b22,isTransformMutationsWithChangesetFailure as _0x4a07dd,UniverCollaborationPlugin as _0x2db122}from'@univerjs-pro/collaboration';import{ITelemetryService as _0xa1f745}from'@univerjs/telemetry';import{RichTextEditingMutation as _0x47edee}from'@univerjs/docs';import{SheetsSelectionsService as _0x2fb7de,SetSelectionsOperation as _0x2beea1,InsertSheetMutation as _0xc7bf10,EmptyMutation as _0x34415f,WorkbookEditablePermission as _0xcb920c,UnitObject as _0x517e95,defaultWorkbookPermissionPoints as _0x926464,getAllWorkbookPermissionPoint as _0x920e54,WorksheetProtectionRuleModel as _0x687ad3,baseProtectionActions as _0xe98554,getAllWorksheetPermissionPoint as _0x487026,WorksheetProtectionPointModel as _0x16892f,defaultWorksheetPermissionPoint as _0x1ab43b,getAllWorksheetPermissionPointByPointPanel as _0x5724a2,RangeProtectionRuleModel as _0x2c5e08,getAllRangePermissionPoint as _0x5843db,UniverSheetsPlugin as _0x38c07d}from'@univerjs/sheets';import{ImageSourceType as _0x2ca127,ImageUploadStatusType as _0x306899,IImageIoService as _0x1f1131}from'@univerjs/drawing';import{getGlobalObject as _0x424ade}from'@univerjs-pro/license';const Pn=_0x4a7741(0x2ef),Nn='/universer-api/snapshot',Dn=_0x4a7741(0x345),ho='SEND_CHANGESET_TIMEOUT',wn=0x7d0,Un=_0x4a7741(0x2b3),An=_0x4a7741(0xb4),xn=_0x4a7741(0x151),Ln=_0x4a7741(0xca),Mn=0x7530,Si=_0x4a7741(0x2b0),Ei=0x4e20,$n=0x4e20,Hn=_0x4a7741(0x36d),kn=0x3,_o='LOCAL_CACHE_INTERVAL',lo=0x3e8,jn='COLLAB_SUBMIT_CHANGESET_URL',Bn=_0x4a7741(0x251),Fn=_0x4a7741(0x2c4),Vn=_0x4a7741(0xff);var Ii=(_0x39cc4b=>(_0x39cc4b[_0x39cc4b[_0x4a7741(0x298)]=0x0]=_0x4a7741(0x298),_0x39cc4b[_0x39cc4b['OK']=0x1]='OK',_0x39cc4b[_0x39cc4b[_0x4a7741(0x280)]=0x2]='INTERNAL_ERROR',_0x39cc4b[_0x39cc4b[_0x4a7741(0x211)]=0x3]=_0x4a7741(0x211),_0x39cc4b[_0x39cc4b[_0x4a7741(0x242)]=0x4]=_0x4a7741(0x242),_0x39cc4b[_0x39cc4b['UNAUTHENTICATED']=0x5]=_0x4a7741(0x29a),_0x39cc4b[_0x39cc4b['ALREADY_EXISTS']=0x6]=_0x4a7741(0x23a),_0x39cc4b[_0x39cc4b['INVALID_ARGUMENT']=0x7]=_0x4a7741(0x123),_0x39cc4b[_0x39cc4b[_0x4a7741(0x2a0)]=0x8]='TOO_MANY_REQUESTS',_0x39cc4b[_0x39cc4b[_0x4a7741(0x22e)]=0x9]=_0x4a7741(0x22e),_0x39cc4b[_0x39cc4b[_0x4a7741(0x278)]=0x1389]=_0x4a7741(0x278),_0x39cc4b[_0x39cc4b[_0x4a7741(0x1a6)]=0x1771]='SNAPSHOT_INVALID_SNAPSHOT',_0x39cc4b[_0x39cc4b[_0x4a7741(0x125)]=0x1772]=_0x4a7741(0x125),_0x39cc4b[_0x39cc4b[_0x4a7741(0x223)]=0x1773]=_0x4a7741(0x223),_0x39cc4b[_0x39cc4b[_0x4a7741(0x346)]=0x1b59]=_0x4a7741(0x346),_0x39cc4b[_0x39cc4b[_0x4a7741(0x328)]=0x1b5a]=_0x4a7741(0x328),_0x39cc4b[_0x39cc4b[_0x4a7741(0xad)]=0x1b5b]=_0x4a7741(0xad),_0x39cc4b[_0x39cc4b[_0x4a7741(0x260)]=0x1b5c]=_0x4a7741(0x260),_0x39cc4b[_0x39cc4b[_0x4a7741(0x2a9)]=0x1b5d]=_0x4a7741(0x2a9),_0x39cc4b[_0x39cc4b[_0x4a7741(0x25d)]=0x1f41]=_0x4a7741(0x25d),_0x39cc4b[_0x39cc4b[_0x4a7741(0x20f)]=0x2329]=_0x4a7741(0x20f),_0x39cc4b[_0x39cc4b[_0x4a7741(0x1a0)]=0x232a]=_0x4a7741(0x1a0),_0x39cc4b[_0x39cc4b['LICENSE_IMPORT_SIZE_EXCEEDED']=0x232b]='LICENSE_IMPORT_SIZE_EXCEEDED',_0x39cc4b[_0x39cc4b[_0x4a7741(0x34c)]=0x232c]=_0x4a7741(0x34c),_0x39cc4b[_0x39cc4b[_0x4a7741(0xa1)]=0x232d]=_0x4a7741(0xa1),_0x39cc4b[_0x39cc4b[_0x4a7741(0x38a)]=0x2711]=_0x4a7741(0x38a),_0x39cc4b[_0x39cc4b[_0x4a7741(0x2ed)]=0x2712]=_0x4a7741(0x2ed),_0x39cc4b[_0x39cc4b['YUUMI_RATE_OVER_LIMIT']=0x2713]=_0x4a7741(0x326),_0x39cc4b[_0x39cc4b[_0x4a7741(0x378)]=0x2714]=_0x4a7741(0x378),_0x39cc4b[_0x39cc4b['UNRECOGNIZED']=-0x1]=_0x4a7741(0x236),_0x39cc4b))(Ii||{}),Q=(_0x2ec517=>(_0x2ec517[_0x2ec517[_0x4a7741(0x14a)]=0x0]='UNIVER_UNKNOWN',_0x2ec517[_0x2ec517[_0x4a7741(0x31a)]=0x1]=_0x4a7741(0x31a),_0x2ec517[_0x2ec517[_0x4a7741(0x19f)]=0x2]='UNIVER_SHEET',_0x2ec517[_0x2ec517[_0x4a7741(0x288)]=0x3]=_0x4a7741(0x288),_0x2ec517[_0x2ec517[_0x4a7741(0x2a5)]=0x4]=_0x4a7741(0x2a5),_0x2ec517[_0x2ec517['UNRECOGNIZED']=-0x1]=_0x4a7741(0x236),_0x2ec517))(Q||{}),F=(_0xc0dcb5=>(_0xc0dcb5[_0xc0dcb5['UNKNOWN_CMD']=0x0]=_0x4a7741(0x267),_0xc0dcb5[_0xc0dcb5[_0x4a7741(0xe0)]=0x1]='HELLO',_0xc0dcb5[_0xc0dcb5['JOIN']=0x2]=_0x4a7741(0xaa),_0xc0dcb5[_0xc0dcb5[_0x4a7741(0x2c0)]=0x3]=_0x4a7741(0x2c0),_0xc0dcb5[_0xc0dcb5[_0x4a7741(0x2f5)]=0x4]=_0x4a7741(0x2f5),_0xc0dcb5[_0xc0dcb5['HEARTBEAT']=0x5]='HEARTBEAT',_0xc0dcb5[_0xc0dcb5[_0x4a7741(0x1b2)]=0x6]='RECV',_0xc0dcb5[_0xc0dcb5['UNRECOGNIZED']=-0x1]='UNRECOGNIZED',_0xc0dcb5))(F||{}),Ee=(_0x6cc73a=>(_0x6cc73a[_0x6cc73a[_0x4a7741(0x15c)]=0x0]=_0x4a7741(0x15c),_0x6cc73a[_0x6cc73a['OK']=0x1]='OK',_0x6cc73a[_0x6cc73a[_0x4a7741(0x203)]=0x2]='FAIL',_0x6cc73a[_0x6cc73a[_0x4a7741(0x370)]=0x3e9]=_0x4a7741(0x370),_0x6cc73a[_0x6cc73a[_0x4a7741(0x1e4)]=0x3ea]='JOIN_ROOM_NOT_EXISTS',_0x6cc73a[_0x6cc73a[_0x4a7741(0xac)]=0x3eb]=_0x4a7741(0xac),_0x6cc73a[_0x6cc73a[_0x4a7741(0x2bc)]=0x3ec]=_0x4a7741(0x2bc),_0x6cc73a[_0x6cc73a[_0x4a7741(0x236)]=-0x1]=_0x4a7741(0x236),_0x6cc73a))(Ee||{}),Ti=(_0x10d187=>(_0x10d187[_0x10d187['Undefined']=0x0]=_0x4a7741(0x286),_0x10d187[_0x10d187['HttpImport']=0x1]=_0x4a7741(0x2eb),_0x10d187[_0x10d187[_0x4a7741(0x28e)]=0x2]=_0x4a7741(0x28e),_0x10d187[_0x10d187[_0x4a7741(0x163)]=0x3]=_0x4a7741(0x163),_0x10d187[_0x10d187[_0x4a7741(0x200)]=0x4]=_0x4a7741(0x200),_0x10d187[_0x10d187[_0x4a7741(0x236)]=-0x1]=_0x4a7741(0x236),_0x10d187))(Ti||{});const Y=_0x4a7741(0x170),Wn={};var se=(_0x5ae41e=>(_0x5ae41e[_0x4a7741(0xfd)]='OTHER_CLIENT_EDITING',_0x5ae41e[_0x4a7741(0x211)]=_0x4a7741(0x211),_0x5ae41e[_0x4a7741(0xee)]='CONFLICT',_0x5ae41e[_0x4a7741(0x24c)]=_0x4a7741(0x24c),_0x5ae41e['JOIN_ROOM_FAILED']=_0x4a7741(0x20d),_0x5ae41e[_0x4a7741(0x320)]=_0x4a7741(0x320),_0x5ae41e['SOCKET_FAILED']='SOCKET_FAILED',_0x5ae41e[_0x4a7741(0xa7)]='SUBMIT_CHANGESET_TIMEOUT',_0x5ae41e))(se||{});class pe{constructor(){var _0x3ba504=_0x4a7741;D(this,_0x3ba504(0x11f),new _0x2001de()),D(this,_0x3ba504(0x396),this[_0x3ba504(0x11f)][_0x3ba504(0x202)]());}['emitEvent'](_0x18318c){var _0x2297b9=_0x4a7741;this[_0x2297b9(0x11f)][_0x2297b9(0x2c1)](_0x18318c);}}const Gn=_0x4f2b38('univer-pro.collaboration-client.network-condition.service');function Kn(_0x4d206a){var _0x987f68=_0x4a7741,_0x3982da,_0x5ebe0e,_0x5e7bb9,_0x3f6084,_0xf833ad;const _0x191524=_0x4d206a['data'],_0x2fc7dd=JSON[_0x987f68(0xd5)](_0x191524);switch(_0x2fc7dd[_0x987f68(0x34a)]){case F[_0x987f68(0x147)]:case F['HELLO']:{const _0x351f72=_0x2fc7dd[_0x987f68(0x108)];return{..._0x2fc7dd,'data':_0x351f72,'cmd':_0x2fc7dd[_0x987f68(0x34a)]};}case F[_0x987f68(0xaa)]:{const _0x24ad9b=_0x2fc7dd['joinRsp'];return{..._0x2fc7dd,'data':_0x24ad9b,'cmd':_0x2fc7dd[_0x987f68(0x34a)]};}case F[_0x987f68(0x1b2)]:{const _0x1edb2f=_0x2fc7dd[_0x987f68(0x32e)];switch(_0x1edb2f['eventID']){case _0x3c0549[_0x987f68(0x366)]:return{..._0x2fc7dd,'data':{..._0x1edb2f,'data':(_0x3982da=_0x1edb2f[_0x987f68(0x354)])==null?void 0x0:_0x3982da['cs']},'cmd':_0x2fc7dd[_0x987f68(0x34a)]};case _0x3c0549['CHANGESET_ACK']:return{..._0x2fc7dd,'data':{..._0x1edb2f,'data':(_0x5ebe0e=_0x1edb2f[_0x987f68(0x119)])==null?void 0x0:_0x5ebe0e['cs']},'cmd':_0x2fc7dd[_0x987f68(0x34a)]};case _0x3c0549[_0x987f68(0x25e)]:return{..._0x2fc7dd,'data':{..._0x1edb2f,'data':(_0x5e7bb9=_0x1edb2f[_0x987f68(0x277)])==null?void 0x0:_0x5e7bb9['cs']},'cmd':_0x2fc7dd['cmd']};case _0x3c0549['CHANGESET_REJ']:return{..._0x2fc7dd,'data':{..._0x1edb2f,'data':(_0x3f6084=_0x1edb2f[_0x987f68(0x316)])==null?void 0x0:_0x3f6084['cs']},'cmd':_0x2fc7dd['cmd']};case _0x3c0549[_0x987f68(0x34d)]:return{..._0x2fc7dd,'data':{..._0x1edb2f,'data':(_0xf833ad=_0x1edb2f[_0x987f68(0x1e7)])==null?void 0x0:_0xf833ad['cs']},'cmd':_0x2fc7dd[_0x987f68(0x34a)]};case _0x3c0549['UPDATE_CURSOR']:return{..._0x2fc7dd,'data':{..._0x1edb2f,'data':_0x1edb2f[_0x987f68(0x104)]},'cmd':_0x2fc7dd['cmd']};case _0x3c0549[_0x987f68(0x1d3)]:return{..._0x2fc7dd,'data':{..._0x1edb2f,'data':_0x1edb2f[_0x987f68(0x270)]},'cmd':_0x2fc7dd[_0x987f68(0x34a)]};case _0x3c0549[_0x987f68(0x1db)]:return{..._0x2fc7dd,'data':{..._0x1edb2f,'data':_0x1edb2f[_0x987f68(0x295)]},'cmd':_0x2fc7dd[_0x987f68(0x34a)]};case _0x3c0549[_0x987f68(0x207)]:return{..._0x2fc7dd,'data':{..._0x1edb2f,'data':_0x1edb2f[_0x987f68(0xc2)]},'cmd':_0x2fc7dd[_0x987f68(0x34a)]};case _0x3c0549[_0x987f68(0x275)]:case _0x3c0549[_0x987f68(0x258)]:return{..._0x2fc7dd,'data':{..._0x1edb2f,'data':_0x1edb2f[_0x987f68(0x19b)]},'cmd':_0x2fc7dd[_0x987f68(0x34a)]};case _0x3c0549[_0x987f68(0x27b)]:return{..._0x2fc7dd,'data':{..._0x1edb2f,'data':_0x1edb2f[_0x987f68(0xc2)]},'cmd':_0x2fc7dd[_0x987f68(0x34a)]};case _0x3c0549[_0x987f68(0x2be)]:return{..._0x2fc7dd,'data':_0x1edb2f,'cmd':_0x2fc7dd[_0x987f68(0x34a)]};case _0x3c0549['COMMENT_UPDATE']:return{..._0x2fc7dd,'data':{..._0x1edb2f,'data':_0x1edb2f[_0x987f68(0xb9)]},'cmd':_0x2fc7dd[_0x987f68(0x34a)]};case _0x3c0549[_0x987f68(0x379)]:return{..._0x2fc7dd,'data':{..._0x1edb2f,'data':_0x1edb2f['updatePermissionObjEvent']},'cmd':_0x2fc7dd['cmd']};case _0x3c0549[_0x987f68(0x392)]:return{..._0x2fc7dd,'data':{..._0x1edb2f,'data':_0x1edb2f[_0x987f68(0x11a)]},'cmd':_0x2fc7dd[_0x987f68(0x34a)]};case _0x3c0549[_0x987f68(0x140)]:return{..._0x2fc7dd,'data':{..._0x1edb2f,'data':_0x1edb2f[_0x987f68(0x2bd)]},'cmd':_0x2fc7dd[_0x987f68(0x34a)]};default:return _0x2fc7dd;}}default:return _0x2fc7dd;}}function zn(_0x3c6663){var _0x417dc0=_0x4a7741;switch(_0x3c6663['cmd']){case F['HEARTBEAT']:case F['HELLO']:return JSON[_0x417dc0(0x32d)]({'cmd':_0x3c6663[_0x417dc0(0x34a)],'routeKey':_0x3c6663[_0x417dc0(0x1d0)]});case F[_0x417dc0(0x2f5)]:{let _0x14166b;switch(_0x3c6663[_0x417dc0(0x33d)]['eventID']){case _0x3c0549[_0x417dc0(0xe4)]:{_0x14166b={'eventID':_0x3c0549['UPDATE_CURSOR'],'updateCursorEvent':_0x3c6663[_0x417dc0(0x33d)][_0x417dc0(0x33d)]};break;}case _0x3c0549['USERS_LEAVE']:{_0x14166b={'eventID':_0x3c0549['USERS_LEAVE'],'leaveEvent':_0x3c6663['data'][_0x417dc0(0x33d)]};break;}case _0x3c0549[_0x417dc0(0x1d3)]:{_0x14166b={'eventID':_0x3c0549[_0x417dc0(0x1d3)],'joinEvent':_0x3c6663['data']['data']};break;}case _0x3c0549[_0x417dc0(0x207)]:{_0x14166b={'eventID':_0x3c0549[_0x417dc0(0x207)],'liveShareNewHost':_0x3c6663[_0x417dc0(0x33d)]['data']};break;}case _0x3c0549['LIVESHARE_OPERATION']:{_0x14166b={'eventID':_0x3c0549[_0x417dc0(0x258)],'liveShareOperation':_0x3c6663[_0x417dc0(0x33d)]['data']};break;}case _0x3c0549[_0x417dc0(0x27b)]:{_0x14166b={'eventID':_0x3c0549[_0x417dc0(0x27b)],'liveShareTerminate':_0x3c6663['data']['data']};break;}case _0x3c0549[_0x417dc0(0x206)]:{_0x14166b={'eventID':_0x3c0549[_0x417dc0(0x206)],'liveShareRequestHost':_0x3c6663['data'][_0x417dc0(0x33d)]};break;}case _0x3c0549[_0x417dc0(0x275)]:{_0x14166b={'eventID':_0x3c0549['LIVESHARE_FETCH_OPERATIONS']};break;}default:_0x14166b={'eventID':_0x3c6663[_0x417dc0(0x33d)][_0x417dc0(0x30b)]};}return JSON[_0x417dc0(0x32d)]({'cmd':_0x3c6663[_0x417dc0(0x34a)],'routeKey':_0x3c6663['routeKey'],'collaMsg':_0x14166b});}case F[_0x417dc0(0xaa)]:return JSON['stringify']({'cmd':_0x3c6663[_0x417dc0(0x34a)],'routeKey':_0x3c6663['routeKey'],'joinReq':_0x3c6663['data']});case F[_0x417dc0(0x2c0)]:return JSON[_0x417dc0(0x32d)]({'cmd':_0x3c6663[_0x417dc0(0x34a)],'routeKey':_0x3c6663['routeKey'],'leaveReq':_0x3c6663['data']});default:throw new Error(_0x417dc0(0x183));}}var Yn=Object[_0x4a7741(0x1ac)],qn=Object[_0x4a7741(0xf3)],Jn=(_0x366afb,_0x5e97cb,_0x3e5b20,_0x13c1f2)=>{for(var _0x42f823=_0x13c1f2>0x1?void 0x0:_0x13c1f2?qn(_0x5e97cb,_0x3e5b20):_0x5e97cb,_0x2a0d26=_0x366afb['length']-0x1,_0x2e4b37;_0x2a0d26>=0x0;_0x2a0d26--)(_0x2e4b37=_0x366afb[_0x2a0d26])&&(_0x42f823=(_0x13c1f2?_0x2e4b37(_0x5e97cb,_0x3e5b20,_0x42f823):_0x2e4b37(_0x42f823))||_0x42f823);return _0x13c1f2&&_0x42f823&&Yn(_0x5e97cb,_0x3e5b20,_0x42f823),_0x42f823;},we=(_0x25ca4a,_0x150bc5)=>(_0x1b6ad5,_0x17d74c)=>_0x150bc5(_0x1b6ad5,_0x17d74c,_0x25ca4a);const Ci=_0x4f2b38(_0x4a7741(0x247));function Xn(_0x4155bb,_0x42d227,_0x419240){var _0x1c11f0=_0x4a7741;return _0x4155bb+'/'+_0x42d227+_0x1c11f0(0x336)+_0x419240+_0x1c11f0(0x312);}let It=class extends _0x3af27e{constructor(_0x1d3c72,_0x207c5c,_0x4c3883,_0x9ef963,_0x500316){var _0x4b0a10=_0x4a7741;super(),this[_0x4b0a10(0x2da)]=_0x1d3c72,this[_0x4b0a10(0x33c)]=_0x207c5c,this[_0x4b0a10(0x321)]=_0x4c3883,this[_0x4b0a10(0xfa)]=_0x9ef963,this[_0x4b0a10(0xc1)]=_0x500316;}[_0x4a7741(0x25b)](_0x3c8d1d){var _0x2cf84c=_0x4a7741;const _0x13133d=this[_0x2cf84c(0x2da)][_0x2cf84c(0x21f)](_0x14adbd);if(!_0x13133d)throw new Error('[CollaborationSocketService]:\x20failed\x20to\x20get\x20web\x20socket\x20factory!');const _0x20e8de=_0x13133d[_0x2cf84c(0x25b)](_0x3c8d1d);if(!_0x20e8de)throw new Error(_0x2cf84c(0x133));const _0x2935ec=new _0x4b9d42(),_0xae30fd=new _0x2001de();_0x2935ec['add'](_0x20e8de[_0x2cf84c(0x35e)][_0x2cf84c(0x1ba)](_0x303616=>_0xae30fd[_0x2cf84c(0x2c1)](_0x303616))),_0x2935ec['add'](_0x34ae4e(()=>_0xae30fd[_0x2cf84c(0x350)]()));const _0x39803b=new _0x2001de();_0x2935ec['add'](_0x20e8de[_0x2cf84c(0x369)][_0x2cf84c(0x1ba)](_0x43facd=>_0x39803b['next'](_0x43facd))),_0x2935ec[_0x2cf84c(0x1f7)](_0x34ae4e(()=>_0x39803b[_0x2cf84c(0x350)]()));const _0x3e3638=new _0x2001de();_0x2935ec[_0x2cf84c(0x1f7)](_0x20e8de[_0x2cf84c(0x38f)][_0x2cf84c(0x1ba)](_0x77c412=>{var _0x286938=_0x2cf84c;const _0x26c3a4=Kn(_0x77c412);_0x3e3638[_0x286938(0x2c1)](_0x26c3a4);})),_0x2935ec[_0x2cf84c(0x1f7)](_0x34ae4e(()=>_0x3e3638['complete']()));let _0x30197d;const _0x283e43=()=>{var _0x8a52a=_0x2cf84c;_0x39803b[_0x8a52a(0x2c1)](new Event(_0x8a52a(0xdc))),_0xae30fd[_0x8a52a(0x2c1)](new CloseEvent('connection\x20error')),_0x30197d[_0x8a52a(0x142)]();};return _0x30197d={'memberID':'','close$':_0xae30fd['asObservable'](),'error$':_0x39803b['asObservable'](),'open$':_0x20e8de[_0x2cf84c(0xa3)],'message$':_0x3e3638[_0x2cf84c(0x202)](),'send':_0x5f2c24=>{var _0x1cadfc=_0x2cf84c;if(_0x5f2c24[_0x1cadfc(0x34a)]===F[_0x1cadfc(0x2f5)]){if(_0x5f2c24[_0x1cadfc(0x33d)]['eventID']===_0x3c0549[_0x1cadfc(0xae)]){this[_0x1cadfc(0xc0)](_0x30197d,_0x5f2c24[_0x1cadfc(0x33d)])['catch'](_0x142dbd=>{var _0x5a8976=_0x1cadfc;this[_0x5a8976(0xfa)][_0x5a8976(0x155)](_0x142dbd),_0x283e43();});return;}if(_0x5f2c24['data'][_0x1cadfc(0x30b)]===_0x3c0549['FETCH_MISSING']){const _0x554d54=_0x5f2c24[_0x1cadfc(0x33d)];this[_0x1cadfc(0x17e)](_0x554d54)[_0x1cadfc(0x135)](_0x236511=>{var _0x45e432=_0x1cadfc;_0x3e3638[_0x45e432(0x2c1)]({'cmd':F[_0x45e432(0x1b2)],'code':Ee['OK'],'routeKey':_0x554d54['data'][_0x45e432(0x19d)],'routeType':'','data':{'eventID':_0x3c0549[_0x45e432(0x116)],'data':{'changesets':_0x236511}}});})[_0x1cadfc(0x1cb)](_0x4f4d2d=>{var _0x30bfdc=_0x1cadfc;this[_0x30bfdc(0xfa)][_0x30bfdc(0x155)](_0x4f4d2d),_0x283e43();});return;}}_0x20e8de[_0x1cadfc(0x313)](zn(_0x5f2c24));},'close':()=>{var _0x5c062c=_0x2cf84c;_0x20e8de[_0x5c062c(0x142)](),_0x2935ec[_0x5c062c(0x293)]();}},_0x30197d;}async[_0x4a7741(0xc0)](_0x20bc88,_0x220955){var _0x395c04=_0x4a7741,_0x9ba7f2,_0x2911e3;const {unitType:_0x2d1f0e,unitID:_0x2b2cf9,changeset:_0x2e379b}=_0x220955[_0x395c04(0x33d)],_0x5bcf85={'unitID':_0x2b2cf9,'memberID':_0x20bc88[_0x395c04(0x1f8)],'type':_0x2d1f0e,'changeset':_0x18f788(_0x2e379b)},_0xcce3d1=this[_0x395c04(0x321)][_0x395c04(0x399)](jn),_0x284c2d=this[_0x395c04(0x321)]['getConfig'](Y),_0x4c74fe=Xn((_0x2911e3=(_0x9ba7f2=_0x284c2d==null?void 0x0:_0x284c2d[_0x395c04(0x152)])!=null?_0x9ba7f2:_0xcce3d1)!=null?_0x2911e3:Bn,_0x2d1f0e,_0x2b2cf9);try{await this[_0x395c04(0x33c)][_0x395c04(0x27e)](_0x4c74fe,{'body':_0x5bcf85});}catch(_0x74e60d){throw this['_logService'][_0x395c04(0x155)](_0x395c04(0x120),_0x395c04(0x38c)),_0x74e60d;}}async[_0x4a7741(0x17e)](_0x143778){var _0x47509e=_0x4a7741;const {unitID:_0x565593,from:_0x36d2ea,to:_0x897247,unitType:_0x4be85d}=_0x143778[_0x47509e(0x33d)];return(await this[_0x47509e(0xc1)][_0x47509e(0x1bd)]({'metadata':void 0x0},{'unitID':_0x565593,'type':_0x4be85d,'from':_0x36d2ea,'to':_0x897247}))['changesets'];}};It=Jn([we(0x0,_0x33b12a(_0x907b7b)),we(0x1,_0x33b12a(_0x23500e)),we(0x2,_0x243586),we(0x3,_0x15afa6),we(0x4,_0xefdb57)],It);const Zn=_0x4a7741(0xa8);function Qn(_0x31d289){var _0x14b90f=_0x4a7741;return JSON[_0x14b90f(0x32d)](_0x31d289)[_0x14b90f(0x2f8)];}class bi{constructor(){var _0x2f8a6f=_0x4a7741;D(this,_0x2f8a6f(0x2d9),new _0x2001de()),D(this,_0x2f8a6f(0x10f),this[_0x2f8a6f(0x2d9)]['asObservable']());}[_0x4a7741(0x34e)](_0x24e529){var _0x5e4891=_0x4a7741;this['_commentUpdate$'][_0x5e4891(0x2c1)](_0x24e529);}}var es=Object['defineProperty'],ts=Object[_0x4a7741(0xf3)],is=(_0x44c994,_0x46b9ee,_0x16bf76,_0x142cc2)=>{var _0x81c2ae=_0x4a7741;for(var _0x4ee780=_0x142cc2>0x1?void 0x0:_0x142cc2?ts(_0x46b9ee,_0x16bf76):_0x46b9ee,_0x3f7aa1=_0x44c994[_0x81c2ae(0x2f8)]-0x1,_0x5cd69a;_0x3f7aa1>=0x0;_0x3f7aa1--)(_0x5cd69a=_0x44c994[_0x3f7aa1])&&(_0x4ee780=(_0x142cc2?_0x5cd69a(_0x46b9ee,_0x16bf76,_0x4ee780):_0x5cd69a(_0x4ee780))||_0x4ee780);return _0x142cc2&&_0x4ee780&&es(_0x46b9ee,_0x16bf76,_0x4ee780),_0x4ee780;},zt=(_0x673c3d,_0x3b84b)=>(_0x4182e3,_0x234871)=>_0x3b84b(_0x4182e3,_0x234871,_0x673c3d);let Le=class extends _0x3af27e{constructor(_0x1fcba6,_0x4d59ec){var _0x448092=_0x4a7741;super(),D(this,_0x448092(0x97),new Map()),(this['_univerInstanceService']=_0x1fcba6,this['_userManagerService']=_0x4d59ec,this[_0x448092(0x249)](_0x34ae4e(_0x142a02(this[_0x448092(0x178)][_0x448092(0xf1)](_0x2adb8a[_0x448092(0x19f)])['pipe'](_0x55950a(_0x56cdad=>_0x56cdad['getUnitId']())),this['_univerInstanceService'][_0x448092(0xf1)](_0x2adb8a[_0x448092(0x31a)])[_0x448092(0x35a)](_0x55950a(_0x449165=>_0x449165[_0x448092(0x2a4)]())),this[_0x448092(0x178)][_0x448092(0xf1)](_0x2adb8a[_0x448092(0x288)])[_0x448092(0x35a)](_0x55950a(_0x2dfab5=>_0x2dfab5[_0x448092(0x2a4)]())))[_0x448092(0x1ba)](_0x2973e7=>this[_0x448092(0x2e3)](_0x2973e7)))));}[_0x4a7741(0x2bf)](_0x1bfe20){var _0x4c5b1f=_0x4a7741;this['_userManagerService'][_0x4c5b1f(0x2bf)](_0x1bfe20);}['getCurrentUser'](){var _0x3cfc8=_0x4a7741;return this[_0x3cfc8(0x181)]['getCurrentUser']();}['updateMember'](_0x914f38,_0x264d74){var _0x2ffa5f=_0x4a7741;let _0x2f3076=this[_0x2ffa5f(0x97)][_0x2ffa5f(0x21f)](_0x914f38);_0x2f3076||(_0x2f3076=new ns(),this[_0x2ffa5f(0x97)]['set'](_0x914f38,_0x2f3076)),_0x2f3076[_0x2ffa5f(0x1bb)](_0x264d74);}[_0x4a7741(0x191)](_0x11c702,_0x97321){var _0x339621=_0x4a7741;const _0x573de1=this[_0x339621(0x97)][_0x339621(0x21f)](_0x11c702);_0x573de1&&_0x573de1[_0x339621(0x191)](_0x97321);}[_0x4a7741(0x9d)](_0x4a2097){var _0x302643=_0x4a7741;return this[_0x302643(0x97)][_0x302643(0x21f)](_0x4a2097);}[_0x4a7741(0x159)](_0x5ed67c,_0x30b6b2){var _0x1e38d6=_0x4a7741;const _0x4194b4=this[_0x1e38d6(0x97)][_0x1e38d6(0x21f)](_0x5ed67c);if(_0x4194b4)return _0x4194b4[_0x1e38d6(0x159)](_0x30b6b2);}[_0x4a7741(0x2e3)](_0x4d8137){var _0x233359=_0x4a7741;const _0x33ced0=this[_0x233359(0x97)]['get'](_0x4d8137);_0x33ced0&&(_0x33ced0[_0x233359(0x293)](),this['_roomMembers']['delete'](_0x4d8137));}['dispose'](){var _0x3d0349=_0x4a7741;this[_0x3d0349(0x97)][_0x3d0349(0x3a5)](_0x14f74e=>_0x14f74e[_0x3d0349(0x293)]()),this[_0x3d0349(0x97)][_0x3d0349(0x229)]();}};Le=is([zt(0x0,_0x249ac8),zt(0x1,_0x33b12a(_0x8b56ca))],Le);class ns extends _0x3af27e{constructor(){super(...arguments),D(this,'_members',new Map());}[_0x4a7741(0x293)](){var _0x5a4b57=_0x4a7741;this['_members'][_0x5a4b57(0x229)]();}[_0x4a7741(0x1bb)](_0x307ee3){var _0xa5f6b6=_0x4a7741;this[_0xa5f6b6(0x23b)][_0xa5f6b6(0x255)](_0x307ee3[_0xa5f6b6(0x1f8)],_0x307ee3);}[_0x4a7741(0x191)](_0x32e162){var _0xf56ed7=_0x4a7741;this[_0xf56ed7(0x23b)][_0xf56ed7(0x2ea)](_0x32e162);}[_0x4a7741(0x159)](_0xfcd6b7){var _0x453b56=_0x4a7741;return this[_0x453b56(0x23b)][_0x453b56(0x21f)](_0xfcd6b7);}['getAllMembers'](){var _0x25d315=_0x4a7741;return Array[_0x25d315(0x2f0)](this[_0x25d315(0x23b)][_0x25d315(0x1a4)]());}}var ss=Object[_0x4a7741(0x1ac)],rs=Object['getOwnPropertyDescriptor'],os=(_0xdce6c7,_0x100dbe,_0x70b067,_0x598a2a)=>{var _0x27e61d=_0x4a7741;for(var _0xbe9ec4=_0x598a2a>0x1?void 0x0:_0x598a2a?rs(_0x100dbe,_0x70b067):_0x100dbe,_0x48f095=_0xdce6c7[_0x27e61d(0x2f8)]-0x1,_0x53e6bc;_0x48f095>=0x0;_0x48f095--)(_0x53e6bc=_0xdce6c7[_0x48f095])&&(_0xbe9ec4=(_0x598a2a?_0x53e6bc(_0x100dbe,_0x70b067,_0xbe9ec4):_0x53e6bc(_0xbe9ec4))||_0xbe9ec4);return _0x598a2a&&_0xbe9ec4&&ss(_0x100dbe,_0x70b067,_0xbe9ec4),_0xbe9ec4;},me=(_0x49d79e,_0x10e2eb)=>(_0x50bc77,_0x29aad2)=>_0x10e2eb(_0x50bc77,_0x29aad2,_0x49d79e),Ie=(_0x138ecd=>(_0x138ecd[_0x138ecd[_0x4a7741(0x166)]=0x0]=_0x4a7741(0x166),_0x138ecd[_0x138ecd[_0x4a7741(0x2df)]=0x1]=_0x4a7741(0x2df),_0x138ecd[_0x138ecd[_0x4a7741(0x1a7)]=0x2]=_0x4a7741(0x1a7),_0x138ecd[_0x138ecd[_0x4a7741(0x329)]=0x3]=_0x4a7741(0x329),_0x138ecd))(Ie||{});const Yt={[Ee[_0x4a7741(0x203)]]:_0x4a7741(0xde),[Ee[_0x4a7741(0x370)]]:_0x4a7741(0x343),[Ee[_0x4a7741(0x1e4)]]:_0x4a7741(0x2a6),[Ee[_0x4a7741(0xac)]]:_0x4a7741(0x218),[Ee[_0x4a7741(0x2bc)]]:_0x4a7741(0x26b)};let Tt=class extends _0x537d0d{constructor(_0x1b62c3,_0x788c8a,_0x4ab5d0,_0x69e68e,_0x463865,_0x5b904a,_0x128a30,_0x25e1ce,_0x35596e){var _0x583fe2=_0x4a7741;super(),D(this,_0x583fe2(0x10e),new _0x5c2168(0x0)),D(this,_0x583fe2(0x30f),this[_0x583fe2(0x10e)][_0x583fe2(0x202)]()),D(this,_0x583fe2(0x11f),new _0x2001de()),D(this,_0x583fe2(0x396),this['_event$']['asObservable']()),D(this,'_socket'),D(this,'_socketMessageSubscription'),D(this,'_collaborationTimeoutTimer'),D(this,_0x583fe2(0x1da),!0x1),D(this,_0x583fe2(0x1ed),null),(this[_0x583fe2(0x262)]=_0x1b62c3,this['_logService']=_0x4ab5d0,this[_0x583fe2(0x321)]=_0x69e68e,this[_0x583fe2(0x165)]=_0x463865,this[_0x583fe2(0x1e6)]=_0x5b904a,this[_0x583fe2(0xb5)]=_0x128a30,this[_0x583fe2(0x2cc)]=_0x25e1ce,this['_telemetryService']=_0x35596e,this[_0x583fe2(0x1da)]=!!this['_telemetryService'],_0x788c8a[_0x583fe2(0x35a)](_0x1d894f(this[_0x583fe2(0x2e9)]))['subscribe'](_0x2bf23b=>{var _0x2b2ff2=_0x583fe2,_0xea7269;typeof _0x2bf23b>'u'||(this[_0x2b2ff2(0x252)]=_0x2bf23b,_0x2bf23b?(this[_0x2b2ff2(0x3a2)](_0x2bf23b),this[_0x2b2ff2(0x1f3)]=_0x2bf23b['message$'][_0x2b2ff2(0x1ba)](_0x24e21a=>{var _0x36e851=_0x2b2ff2;_0x24e21a[_0x36e851(0x1d0)]===this[_0x36e851(0x262)]&&this[_0x36e851(0x1c5)](_0x24e21a);})):(this['_throwTelemetryCollaborationNewChangeset'](),this[_0x2b2ff2(0x10e)][_0x2b2ff2(0x2c1)](0x2),(_0xea7269=this[_0x2b2ff2(0x1f3)])==null||_0xea7269[_0x2b2ff2(0x130)](),this[_0x2b2ff2(0x1f3)]=null));}));}get[_0x4a7741(0x243)](){var _0x112a30=_0x4a7741;return this[_0x112a30(0x10e)][_0x112a30(0x234)]();}['getMemberID'](){var _0x568129=_0x4a7741,_0x3ae6a6,_0x4779ae;return(_0x4779ae=(_0x3ae6a6=this[_0x568129(0x252)])==null?void 0x0:_0x3ae6a6['memberID'])!=null?_0x4779ae:null;}[_0x4a7741(0x293)](){var _0x172d26=_0x4a7741;super['dispose'](),this[_0x172d26(0x2e9)][_0x172d26(0x2c1)](),this[_0x172d26(0x2e9)][_0x172d26(0x350)]();}[_0x4a7741(0x142)](){var _0x16209e=_0x4a7741,_0x2a22f1,_0x137dd1;this[_0x16209e(0xba)](),(_0x2a22f1=this[_0x16209e(0x252)])==null||_0x2a22f1[_0x16209e(0x313)]({'cmd':F[_0x16209e(0x2c0)],'data':{'roomID':this['_unitID']}}),(_0x137dd1=this[_0x16209e(0x252)])==null||_0x137dd1[_0x16209e(0x142)](),this[_0x16209e(0x11f)]['complete'](),this[_0x16209e(0x10e)][_0x16209e(0x350)](),this[_0x16209e(0x293)]();}[_0x4a7741(0x1c5)](_0x2cc86c){var _0x347ae0=_0x4a7741;_0x2cc86c[_0x347ae0(0x34a)]===F[_0x347ae0(0xaa)]?this[_0x347ae0(0x381)](_0x2cc86c):_0x2cc86c['cmd']===F[_0x347ae0(0x1b2)]&&this['_onRecvEvent'](_0x2cc86c);}[_0x4a7741(0x3a2)](_0x78b667){var _0x3f93ce=_0x4a7741;this['_sessionStatus$'][_0x3f93ce(0x2c1)](0x1),_0x78b667[_0x3f93ce(0x313)]({'cmd':F['JOIN'],'routeKey':this[_0x3f93ce(0x262)],'routeType':'','data':{'rooms':[{'roomID':this[_0x3f93ce(0x262)]}]}});}[_0x4a7741(0x381)](_0x4d052b){var _0x3e89e9=_0x4a7741,_0x4badb1;if(_0x4d052b['code']in Yt){this[_0x3e89e9(0x2cc)][_0x3e89e9(0x297)]({'id':se['JOIN_ROOM_FAILED'],'data':Yt[_0x4d052b[_0x3e89e9(0x23f)]]}),this[_0x3e89e9(0x10e)]['next'](0x2);return;}this['_sessionStatus$']['next'](0x3);const _0x5b8390=(_0x4badb1=_0x4d052b[_0x3e89e9(0x33d)][_0x3e89e9(0x397)][this[_0x3e89e9(0x262)]])==null?void 0x0:_0x4badb1[_0x3e89e9(0x1d5)];_0x5b8390&&_0x5b8390[_0x3e89e9(0x3a5)](_0x225ee7=>this[_0x3e89e9(0x1e6)]['updateMember'](this['_unitID'],_0x225ee7));}[_0x4a7741(0x323)](_0x257f12){var _0x4b9646=_0x4a7741;try{const _0x58c36c=_0x257f12[_0x4b9646(0x33d)];switch(_0x58c36c[_0x4b9646(0x30b)]){case _0x3c0549[_0x4b9646(0x1d3)]:this[_0x4b9646(0xf6)](_0x58c36c),this[_0x4b9646(0x11f)][_0x4b9646(0x2c1)](_0x58c36c);break;case _0x3c0549[_0x4b9646(0x1db)]:this[_0x4b9646(0x2d2)](_0x58c36c),this['_event$'][_0x4b9646(0x2c1)](_0x58c36c);break;case _0x3c0549[_0x4b9646(0x143)]:case _0x3c0549[_0x4b9646(0x34d)]:this['_stopTelemetryCollaborationNewChangeset'](),this[_0x4b9646(0x25a)](),this[_0x4b9646(0x11f)][_0x4b9646(0x2c1)](_0x58c36c);break;case _0x3c0549[_0x4b9646(0x2be)]:this[_0x4b9646(0xfa)]['error'](_0x4b9646(0x16a)+JSON['stringify'](_0x58c36c)),this[_0x4b9646(0x11f)][_0x4b9646(0x2c1)](_0x58c36c);break;case _0x3c0549[_0x4b9646(0x32f)]:this[_0x4b9646(0xb5)][_0x4b9646(0x34e)](_0x58c36c['data']),this[_0x4b9646(0x11f)][_0x4b9646(0x2c1)](_0x58c36c);break;default:this[_0x4b9646(0x11f)][_0x4b9646(0x2c1)](_0x58c36c);}}catch(_0x1545dd){this['_logService'][_0x4b9646(0x155)](_0x1545dd,_0x257f12);}}[_0x4a7741(0xf6)](_0x5474ac){var _0x46e3f5=_0x4a7741;this[_0x46e3f5(0x1e6)]['updateMember'](this['_unitID'],_0x5474ac[_0x46e3f5(0x33d)]);}[_0x4a7741(0x2d2)](_0x109aad){var _0x1627a5=_0x4a7741;this['_memberService'][_0x1627a5(0x191)](this[_0x1627a5(0x262)],_0x109aad[_0x1627a5(0x33d)]['memberID']);}async[_0x4a7741(0x313)](_0x34667f,_0x5dad99){var _0x5987ef=_0x4a7741;if(this[_0x5987ef(0x243)]!==0x3||!this[_0x5987ef(0x252)])throw new Error(_0x5987ef(0x18e));try{_0x34667f[_0x5987ef(0x30b)]===_0x3c0549['SUBMIT_CHANGESET']&&(this[_0x5987ef(0x2e2)](),this[_0x5987ef(0x256)](_0x34667f)),this[_0x5987ef(0x252)][_0x5987ef(0x313)]({'cmd':F[_0x5987ef(0x2f5)],'routeKey':_0x5dad99,'routeType':'','data':_0x34667f});}catch(_0x32ddc2){this[_0x5987ef(0xfa)][_0x5987ef(0x155)](_0x32ddc2);}}[_0x4a7741(0x2e2)](){var _0x4724c0=_0x4a7741,_0xe2c790;this[_0x4724c0(0x180)]=setTimeout(()=>{var _0x2929e4=_0x4724c0;this[_0x2929e4(0x180)]=null,this['_collaborationUIEventService'][_0x2929e4(0x297)]({'id':se[_0x2929e4(0xa7)]});},(_0xe2c790=this[_0x4724c0(0x321)][_0x4724c0(0x399)](Si))!=null?_0xe2c790:Ei);}[_0x4a7741(0x25a)](){var _0x227c1c=_0x4a7741;this[_0x227c1c(0x180)]&&(clearTimeout(this[_0x227c1c(0x180)]),this[_0x227c1c(0x180)]=null);}[_0x4a7741(0x256)](_0x3bf33c){var _0x335d4f=_0x4a7741;if(!this[_0x335d4f(0x1da)])return;const {data:_0x4c6c23}=_0x3bf33c,{unitID:_0x2852b5,changeset:_0x3a4578}=_0x4c6c23,{mutations:_0x1e2757,type:_0x3ca300}=_0x3a4578;this[_0x335d4f(0x1ed)]={'unitId':_0x2852b5,'type':_0x3ca300,'startTime':performance[_0x335d4f(0x2b6)](),'stopTime':0x0,'duration':0x0,'size':Qn(_0x1e2757)};}[_0x4a7741(0x124)](){var _0x52e5a4=_0x4a7741;if(this[_0x52e5a4(0x1da)]){if(!this[_0x52e5a4(0x1ed)]){this[_0x52e5a4(0xfa)][_0x52e5a4(0x155)](_0x52e5a4(0x120),_0x52e5a4(0x21b));return;}this[_0x52e5a4(0x1ed)][_0x52e5a4(0x12f)]=performance[_0x52e5a4(0x2b6)](),this[_0x52e5a4(0x1ed)][_0x52e5a4(0x158)]=this[_0x52e5a4(0x1ed)]['stopTime']-this['_telemetryInfo'][_0x52e5a4(0x3a3)],this[_0x52e5a4(0x2d7)][_0x52e5a4(0x357)](Zn,this['_telemetryInfo']),this['_telemetryInfo']=null;}}['_throwTelemetryCollaborationNewChangeset'](){var _0x570078=_0x4a7741;this[_0x570078(0x1ed)]=null;}};Tt=os([me(0x2,_0x15afa6),me(0x3,_0x243586),me(0x4,_0x33b12a(_0x309f9d)),me(0x5,_0x33b12a(Le)),me(0x6,_0x33b12a(bi)),me(0x7,_0x33b12a(pe)),me(0x8,_0x13a27c(_0xa1f745))],Tt);var as=Object[_0x4a7741(0x1ac)],cs=Object[_0x4a7741(0xf3)],hs=(_0x1c8ee1,_0x4499d1,_0x14c8fd,_0x4fbc19)=>{var _0x1828a0=_0x4a7741;for(var _0x58da36=_0x4fbc19>0x1?void 0x0:_0x4fbc19?cs(_0x4499d1,_0x14c8fd):_0x4499d1,_0x218786=_0x1c8ee1[_0x1828a0(0x2f8)]-0x1,_0x4ccbef;_0x218786>=0x0;_0x218786--)(_0x4ccbef=_0x1c8ee1[_0x218786])&&(_0x58da36=(_0x4fbc19?_0x4ccbef(_0x4499d1,_0x14c8fd,_0x58da36):_0x4ccbef(_0x58da36))||_0x58da36);return _0x4fbc19&&_0x58da36&&as(_0x4499d1,_0x14c8fd,_0x58da36),_0x58da36;},ge=(_0x130e10,_0x21db83)=>(_0x447ba0,_0x3c17d7)=>_0x21db83(_0x447ba0,_0x3c17d7,_0x130e10);let Me=class extends _0x3af27e{constructor(_0x2ad2d1,_0x32510f,_0x351aed,_0x1c3c9f,_0x2213b9,_0x38e4b9,_0x5dc36d){var _0x15f21d=_0x4a7741;super(),D(this,_0x15f21d(0x131),new _0x5c2168(void 0x0)),D(this,_0x15f21d(0x1b5),this[_0x15f21d(0x131)]['asObservable']()),D(this,_0x15f21d(0x2a8),null),D(this,_0x15f21d(0x389),new Map()),D(this,_0x15f21d(0x1f0),new _0x5c2168(Ie[_0x15f21d(0x166)])),D(this,'status$',this[_0x15f21d(0x1f0)]['asObservable']()),D(this,_0x15f21d(0x26c),!0x1),D(this,_0x15f21d(0x217)),D(this,_0x15f21d(0x283),0x0),D(this,_0x15f21d(0x388)),D(this,_0x15f21d(0xc9)),(this[_0x15f21d(0x2da)]=_0x2ad2d1,this[_0x15f21d(0xfa)]=_0x32510f,this[_0x15f21d(0x321)]=_0x351aed,this[_0x15f21d(0x15f)]=_0x1c3c9f,this[_0x15f21d(0x28b)]=_0x2213b9,this['_collaborationUIEventService']=_0x38e4b9,this['_networkConditionService']=_0x5dc36d,this[_0x15f21d(0x12c)]());}get['_socket'](){var _0x1bc7d9=_0x4a7741;return this['_socket$'][_0x1bc7d9(0x234)]();}[_0x4a7741(0x12c)](){var _0x33bff2=_0x4a7741;this[_0x33bff2(0xb0)]&&this[_0x33bff2(0x249)](this[_0x33bff2(0xb0)]['online$'][_0x33bff2(0x1ba)](_0x4daaca=>{var _0x3ebb87=_0x33bff2;_0x4daaca&&!this[_0x3ebb87(0x252)]&&this[_0x3ebb87(0xf5)](),_0x4daaca||this[_0x3ebb87(0x1c7)]();}));}['dispose'](){var _0x312e22=_0x4a7741;super[_0x312e22(0x293)](),this[_0x312e22(0x389)][_0x312e22(0x3a5)](_0xbab59a=>_0xbab59a['dispose']()),this['_sessions'][_0x312e22(0x229)](),this[_0x312e22(0x1f0)][_0x312e22(0x350)]();}async[_0x4a7741(0x2a3)](_0x1c9418){var _0x48cf38=_0x4a7741;if(this[_0x48cf38(0x389)]['has'](_0x1c9418))return this[_0x48cf38(0x389)][_0x48cf38(0x21f)](_0x1c9418);this[_0x48cf38(0x109)]();const _0x5f359d=this[_0x48cf38(0x2da)][_0x48cf38(0x26e)](Tt,_0x1c9418,this[_0x48cf38(0x131)][_0x48cf38(0x202)]());return this['_sessions'][_0x48cf38(0x255)](_0x1c9418,_0x5f359d),_0x5f359d;}[_0x4a7741(0x14f)](_0x532fe3){var _0xc117fd=_0x4a7741,_0x26cf70;const _0x5ec155=this[_0xc117fd(0x389)][_0xc117fd(0x21f)](_0x532fe3);_0x5ec155&&(this[_0xc117fd(0x389)]['delete'](_0x532fe3),_0x5ec155[_0xc117fd(0x142)]()),this[_0xc117fd(0x389)][_0xc117fd(0x221)]||(_0x26cf70=this[_0xc117fd(0x252)])==null||_0x26cf70['close']();}[_0x4a7741(0xf5)](){var _0xa92619=_0x4a7741;this[_0xa92619(0x283)]=0x0,this[_0xa92619(0x217)]!=null&&(clearTimeout(this[_0xa92619(0x217)]),this[_0xa92619(0x217)]=null),this['_tryReconnect']();}async['_getSessionTicket'](){var _0x2cb09b=_0x4a7741,_0x5e93a6,_0x4e457e,_0x53c6e5;const _0x154a78=this[_0x2cb09b(0x321)][_0x2cb09b(0x399)](Y),_0x4de8e5=(_0x5e93a6=_0x154a78==null?void 0x0:_0x154a78[_0x2cb09b(0x103)])!=null?_0x5e93a6:xn;return(_0x53c6e5=(_0x4e457e=(await this[_0x2cb09b(0x28b)]['get'](_0x4de8e5,{'headers':{'Content-Type':'application/json'}}))[_0x2cb09b(0x157)])==null?void 0x0:_0x4e457e[_0x2cb09b(0x2a7)])!=null?_0x53c6e5:'';}[_0x4a7741(0xa0)](_0xe43d9c){var _0x5507c8=_0x4a7741,_0x93b95d,_0x539d1a;const _0x8c8b2=this[_0x5507c8(0x321)][_0x5507c8(0x399)](Un),_0x2c637d=this['_configService'][_0x5507c8(0x399)](Y),_0x2fdc55=(_0x539d1a=(_0x93b95d=_0x2c637d==null?void 0x0:_0x2c637d[_0x5507c8(0x2fc)])!=null?_0x93b95d:_0x8c8b2)!=null?_0x539d1a:An,_0x378198=typeof window>'u'?new URL(_0x2fdc55):new URL(_0x2fdc55,window[_0x5507c8(0xbb)][_0x5507c8(0x188)]);_0x378198['searchParams'][_0x5507c8(0x255)](_0x5507c8(0x154),_0xe43d9c);const _0x1474eb=typeof window>'u'?new URLSearchParams():new URLSearchParams(window[_0x5507c8(0xbb)]['search']);return _0x1474eb[_0x5507c8(0x21f)](_0x5507c8(0x12d))&&_0x378198[_0x5507c8(0x2d6)]['set'](_0x5507c8(0x12d),_0x1474eb['get'](_0x5507c8(0x12d))),_0x378198[_0x5507c8(0x2d3)]();}async[_0x4a7741(0xe1)](){var _0xcb5f35=_0x4a7741;const _0x5d5fbc=await this[_0xcb5f35(0x190)](),_0x230657=this[_0xcb5f35(0xa0)](_0x5d5fbc),_0x563c22=this[_0xcb5f35(0x15f)][_0xcb5f35(0x25b)](_0x230657);return this[_0xcb5f35(0x2a8)]=_0x563c22,_0x563c22;}async['_tryEnsureSocket'](){var _0x147ebe=_0x4a7741,_0x4070a2,_0x3ae238;try{const _0x278592=(_0x3ae238=(_0x4070a2=this['_socket'])!=null?_0x4070a2:this[_0x147ebe(0x2a8)])!=null?_0x3ae238:await this[_0x147ebe(0xe1)]();if(_0x278592){const _0x296711=_0x278592[_0x147ebe(0x313)];_0x278592[_0x147ebe(0x313)]=_0x439983=>(this[_0x147ebe(0x18d)](),_0x296711[_0x147ebe(0x2c2)](_0x278592,[_0x439983])),_0x278592[_0x147ebe(0x38f)][_0x147ebe(0x1ba)](_0x296c59=>this[_0x147ebe(0x117)](_0x278592,_0x296c59)),_0x278592[_0x147ebe(0x369)][_0x147ebe(0x35a)](_0x183e08(0x1))[_0x147ebe(0x1ba)](_0x4d4513=>this[_0x147ebe(0xfa)][_0x147ebe(0x155)](_0x147ebe(0x2f1),_0x4d4513)),_0x278592[_0x147ebe(0xa3)][_0x147ebe(0x35a)](_0x183e08(0x1))[_0x147ebe(0x1ba)](()=>{this['_onConnectionOpen'](_0x278592);}),_0x278592[_0x147ebe(0x35e)]['pipe'](_0x183e08(0x1))['subscribe'](_0x5e2fd4=>{var _0x4bfd8f=_0x147ebe;this[_0x4bfd8f(0xfa)]['debug'](_0x4bfd8f(0x173),_0x4bfd8f(0x9a),_0x5e2fd4),this[_0x4bfd8f(0x2ee)]();});}}catch(_0x2d01d7){this[_0x147ebe(0xfa)][_0x147ebe(0x155)](_0x2d01d7),this[_0x147ebe(0x2ee)]();}}[_0x4a7741(0x274)](_0x3cc74d){var _0x47175e=_0x4a7741;this[_0x47175e(0xfa)][_0x47175e(0x1b8)]('[CollaborationSessionService]','socket\x20open.'),_0x3cc74d['send']({'cmd':F[_0x47175e(0xe0)]}),this[_0x47175e(0x18d)]();}['_onOffline'](){var _0x3d1fb5=_0x4a7741;this[_0x3d1fb5(0x26c)]=!0x1,this[_0x3d1fb5(0x2a8)]=null,this['_status$'][_0x3d1fb5(0x2c1)](Ie[_0x3d1fb5(0x1a7)]),this['_socket$'][_0x3d1fb5(0x2c1)](null),this[_0x3d1fb5(0x197)](),this['_clearHeartbeatTimer']();}['_onConnectionFailed'](){var _0x3a7b3c=_0x4a7741,_0x2cfba4;this['_onOffline'](),this[_0x3a7b3c(0x283)]<((_0x2cfba4=this['_configService'][_0x3a7b3c(0x399)](Hn))!=null?_0x2cfba4:kn)?(this[_0x3a7b3c(0x2cc)][_0x3a7b3c(0x297)]({'id':se[_0x3a7b3c(0x320)]}),this[_0x3a7b3c(0x285)]()):this['_collaborationUIEventService']['emitEvent']({'id':se['SOCKET_FAILED']});}[_0x4a7741(0x285)](){var _0x242f6d=_0x4a7741,_0x33f699;const _0x3ec12f=this[_0x242f6d(0x283)],_0x56ec10=this[_0x242f6d(0x321)][_0x242f6d(0x399)](Y),_0xb8ac02=_0x3ec12f===0x0?0x0:((_0x33f699=_0x56ec10==null?void 0x0:_0x56ec10[_0x242f6d(0x33e)])!=null?_0x33f699:$n)*0x2**_0x3ec12f;this[_0x242f6d(0x217)]=setTimeout(()=>{var _0x5de17c=_0x242f6d;clearTimeout(this[_0x5de17c(0x217)]),this[_0x5de17c(0x217)]=null,this[_0x5de17c(0x109)]();},_0xb8ac02),this[_0x242f6d(0x283)]+=0x1;}[_0x4a7741(0x117)](_0x481d01,_0x4648ff){var _0x40bb3d=_0x4a7741;const {cmd:_0x24f7ef}=_0x4648ff;_0x24f7ef===F[_0x40bb3d(0xe0)]&&!this[_0x40bb3d(0x26c)]&&(_0x481d01[_0x40bb3d(0x1f8)]=_0x4648ff[_0x40bb3d(0x33d)]['memberID'],this['_socket$'][_0x40bb3d(0x2c1)](_0x481d01),this[_0x40bb3d(0x1f0)][_0x40bb3d(0x2c1)](Ie[_0x40bb3d(0x329)]),this[_0x40bb3d(0x26c)]=!0x0,this['_candidateSocket']=null),_0x24f7ef===F['HEARTBEAT']&&this[_0x40bb3d(0x197)](),this[_0x40bb3d(0x18d)]();}['_rescheduleHeartbeat'](){var _0x1cff53=_0x4a7741,_0xf3dd5e;this[_0x1cff53(0x308)](),this['_sendHeartbeatTimer']=setTimeout(()=>this[_0x1cff53(0x266)](),(_0xf3dd5e=this['_configService'][_0x1cff53(0x399)](Ln))!=null?_0xf3dd5e:Mn);}[_0x4a7741(0x266)](){var _0x4f23b2=_0x4a7741;this[_0x4f23b2(0x252)][_0x4f23b2(0x313)]({'cmd':F[_0x4f23b2(0x147)]}),this[_0x4f23b2(0x338)]();}[_0x4a7741(0x338)](){var _0x1ac2d4=_0x4a7741,_0x451b6e;this[_0x1ac2d4(0xc9)]=setTimeout(()=>this[_0x1ac2d4(0x2ee)](),(_0x451b6e=this[_0x1ac2d4(0x321)]['getConfig'](Si))!=null?_0x451b6e:Ei);}['_clearHeartbeatTimer'](){var _0x54a687=_0x4a7741;this[_0x54a687(0x388)]!=null&&(clearTimeout(this[_0x54a687(0x388)]),this['_sendHeartbeatTimer']=null);}[_0x4a7741(0x197)](){var _0x4e7ea1=_0x4a7741;this[_0x4e7ea1(0xc9)]!=null&&(clearTimeout(this[_0x4e7ea1(0xc9)]),this[_0x4e7ea1(0xc9)]=null);}};Me=hs([ge(0x0,_0x33b12a(_0x907b7b)),ge(0x1,_0x15afa6),ge(0x2,_0x243586),ge(0x3,Ci),ge(0x4,_0x33b12a(_0x23500e)),ge(0x5,_0x33b12a(pe)),ge(0x6,_0x13a27c(Gn))],Me);const V=[];for(let n=0x0;n<0x100;++n)V['push']((n+0x100)[_0x4a7741(0x2d3)](0x10)[_0x4a7741(0x3a7)](0x1));function _0xda85(_0x3ee0bf,_0x40f677){var _0x165aef=_0x165a();return _0xda85=function(_0xda8554,_0x23edaa){_0xda8554=_0xda8554-0x97;var _0x54c542=_0x165aef[_0xda8554];return _0x54c542;},_0xda85(_0x3ee0bf,_0x40f677);}function _s(_0x231d2a,_0x50aa0=0x0){var _0x31e1d2=_0x4a7741;return(V[_0x231d2a[_0x50aa0+0x0]]+V[_0x231d2a[_0x50aa0+0x1]]+V[_0x231d2a[_0x50aa0+0x2]]+V[_0x231d2a[_0x50aa0+0x3]]+'-'+V[_0x231d2a[_0x50aa0+0x4]]+V[_0x231d2a[_0x50aa0+0x5]]+'-'+V[_0x231d2a[_0x50aa0+0x6]]+V[_0x231d2a[_0x50aa0+0x7]]+'-'+V[_0x231d2a[_0x50aa0+0x8]]+V[_0x231d2a[_0x50aa0+0x9]]+'-'+V[_0x231d2a[_0x50aa0+0xa]]+V[_0x231d2a[_0x50aa0+0xb]]+V[_0x231d2a[_0x50aa0+0xc]]+V[_0x231d2a[_0x50aa0+0xd]]+V[_0x231d2a[_0x50aa0+0xe]]+V[_0x231d2a[_0x50aa0+0xf]])[_0x31e1d2(0x112)]();}let dt;const ls=new Uint8Array(0x10);function us(){var _0x5b94c1=_0x4a7741;if(!dt){if(typeof crypto>'u'||!crypto[_0x5b94c1(0x248)])throw new Error('crypto.getRandomValues()\x20not\x20supported.\x20See\x20https://github.com/uuidjs/uuid#getrandomvalues-not-supported');dt=crypto[_0x5b94c1(0x248)]['bind'](crypto);}return dt(ls);}const ds=typeof crypto<'u'&&crypto[_0x4a7741(0x184)]&&crypto[_0x4a7741(0x184)][_0x4a7741(0x1cd)](crypto),qt={'randomUUID':ds};function fs(_0x5dc664,_0x5ce55e,_0x16238d){var _0x26230a=_0x4a7741;if(qt['randomUUID']&&!_0x5ce55e&&!_0x5dc664)return qt[_0x26230a(0x184)]();_0x5dc664=_0x5dc664||{};const _0x11b717=_0x5dc664[_0x26230a(0x1e0)]||(_0x5dc664[_0x26230a(0xe3)]||us)();return _0x11b717[0x6]=_0x11b717[0x6]&0xf|0x40,_0x11b717[0x8]=_0x11b717[0x8]&0x3f|0x80,_s(_0x11b717);}const X=_0x4f2b38(_0x4a7741(0x1e8));function uo(_0x2c1585){var _0x17d4c4=_0x4a7741;return _0x17d4c4(0x1e2)+_0x2c1585;}var vs=Object[_0x4a7741(0x1ac)],ps=Object[_0x4a7741(0xf3)],ms=(_0x1c328d,_0x121eb5,_0x43c75e,_0x305aca)=>{for(var _0x498434=_0x305aca>0x1?void 0x0:_0x305aca?ps(_0x121eb5,_0x43c75e):_0x121eb5,_0x647482=_0x1c328d['length']-0x1,_0x59a210;_0x647482>=0x0;_0x647482--)(_0x59a210=_0x1c328d[_0x647482])&&(_0x498434=(_0x305aca?_0x59a210(_0x121eb5,_0x43c75e,_0x498434):_0x59a210(_0x498434))||_0x498434);return _0x305aca&&_0x498434&&vs(_0x121eb5,_0x43c75e,_0x498434),_0x498434;},ft=(_0x41f81d,_0x3a7b38)=>(_0x4d0d9c,_0x51cc79)=>_0x3a7b38(_0x4d0d9c,_0x51cc79,_0x41f81d);function gs(_0x55b2f0){var _0x1efab0=_0x4a7741;const {unitID:_0x1e8db1,mutations:_0x1b0765}=_0x55b2f0;return{'unitId':_0x1e8db1,'subUnitId':_0x1b0765[0x0][_0x1efab0(0xc6)][_0x1efab0(0x198)]};}let nt=class{constructor(_0x5c0f51,_0x46c8bc,_0x37501f){var _0x28af1b=_0x4a7741;this[_0x28af1b(0x2da)]=_0x5c0f51,this['_transformService']=_0x46c8bc,this['_instanceService']=_0x37501f;}[_0x4a7741(0x259)](_0x5b31cf){var _0x4b6c13=_0x4a7741,_0x89a1e9,_0x51e1fe,_0x2095de,_0x4c2659;const _0x3708c2=this[_0x4b6c13(0x2da)]['get'](_0x2fb7de),{unitId:_0x8f9240,subUnitId:_0x295953}=gs(_0x5b31cf),_0x27fa0a=_0x3708c2==null?void 0x0:_0x3708c2[_0x4b6c13(0x12a)](_0x8f9240)['getCurrentSelections'](),_0x34da8c=(_0x51e1fe=(_0x89a1e9=this[_0x4b6c13(0x12b)][_0x4b6c13(0x302)](_0x8f9240))==null?void 0x0:_0x89a1e9['getActiveSheet']())==null?void 0x0:_0x51e1fe['getSheetId']();if(_0x27fa0a[_0x4b6c13(0x2f8)]===0x0||!_0x8f9240||!_0x295953)return;const _0x2370a9=[{'id':_0x2beea1['id'],'params':{'unitId':_0x8f9240,'subUnitId':_0x34da8c,'selections':_0x41d2de[_0x4b6c13(0x228)](_0x27fa0a)}}],_0xa970f6=this[_0x4b6c13(0x99)][_0x4b6c13(0x1af)](_0x5b31cf,_0x2370a9);if(!_0x332775(_0xa970f6))throw _0xa970f6[_0x4b6c13(0x155)];const _0x33805b=(_0x4c2659=(_0x2095de=_0xa970f6[_0x4b6c13(0x395)][0x0])==null?void 0x0:_0x2095de['params'])==null?void 0x0:_0x4c2659['selections'];if(Array[_0x4b6c13(0xdd)](_0x33805b)&&_0x33805b[_0x4b6c13(0x2f8)]){if(_0x33805b[_0x4b6c13(0x2f8)]===_0x2370a9[0x0]['params'][_0x4b6c13(0x28d)]['length']&&_0x33805b[_0x4b6c13(0x1fd)]((_0x4f9a99,_0x33c80a)=>_0x1dbb07['equals'](_0x4f9a99['range'],_0x2370a9[0x0][_0x4b6c13(0xc6)][_0x4b6c13(0x28d)][_0x33c80a][_0x4b6c13(0x239)])))return;this[_0x4b6c13(0x2da)][_0x4b6c13(0x21f)](_0xc1c261)[_0x4b6c13(0x1b9)](_0x2beea1['id'],{'unitId':_0x8f9240,'subUnitId':_0x34da8c,'selections':_0x33805b});}}};nt=ms([ft(0x0,_0x33b12a(_0x907b7b)),ft(0x1,_0x4aadc5),ft(0x2,_0x249ac8)],nt);const _t=_0x4f2b38('univer-pro.collaboration-client.single-active-unit-service');var Ri=(_0x3ae7e1=>(_0x3ae7e1[_0x3ae7e1['NO_OTHER_CLIENTS_EDITING']=0x0]=_0x4a7741(0x30e),_0x3ae7e1[_0x3ae7e1[_0x4a7741(0x2cb)]=0x1]=_0x4a7741(0x2cb),_0x3ae7e1))(Ri||{});const Ss=new Set([_0xc7bf10['id']]);function Jt(_0x769c72,_0x7a2633,_0x51a1aa,_0x571f52,_0x40d85e){var _0x57b9b3=_0x4a7741,_0x11ebb5,_0x3cb8b3,_0x3053ba,_0x5749d5;const _0x370582=[];for(const _0x260365 of _0x769c72)if(Ss['has'](_0x260365['id'])){if(_0x370582[_0x57b9b3(0x2f8)]>0x0)break;_0x370582[_0x57b9b3(0xef)](_0x260365);break;}else _0x370582['push'](_0x260365);const _0x1dee91=(_0x3cb8b3=(_0x11ebb5=_0x40d85e[_0x57b9b3(0xfc)]())==null?void 0x0:_0x11ebb5['userID'])!=null?_0x3cb8b3:_0x57b9b3(0x209),_0x2dca51=(_0x5749d5=(_0x3053ba=_0x40d85e['getCurrentUser']())==null?void 0x0:_0x3053ba[_0x57b9b3(0x1f8)])!=null?_0x5749d5:_0x57b9b3(0x209);return{'changeset':{'unitID':_0x7a2633,'type':_0x16c82d(_0x51a1aa['getUnitType'](_0x7a2633)),'baseRev':_0x571f52[_0x57b9b3(0x1cc)](_0x7a2633),'revision':0x0,'userID':_0x1dee91,'memberID':_0x2dca51,'mutations':_0x370582},'pendingMutations':_0x769c72[_0x57b9b3(0x3a7)](_0x370582[_0x57b9b3(0x2f8)])};}function Es(_0x351f1c,_0x580a51,_0x4f2cc7,_0x2e645b,_0x538a90){var _0x56814b=_0x4a7741,_0x1c12a2,_0x309290,_0x3a1e03,_0x1840fa;const _0x151d82=[_0x351f1c[_0x56814b(0x364)]((_0x503fb6,_0x1b1afd)=>{var _0x59dbf2=_0x56814b,_0x3497e2;const {id:_0x58a147}=_0x503fb6,{id:_0x9eabc7,type:_0x1c34e3}=_0x1b1afd,_0x27d5be=(_0x3497e2=_0x503fb6[_0x59dbf2(0xc6)])!=null?_0x3497e2:{'actions':null},_0x3d9fbb=_0x1b1afd[_0x59dbf2(0xc6)];if(_0x58a147&&_0x58a147!==_0x9eabc7)throw new Error(_0x59dbf2(0xd1)+_0x58a147+_0x59dbf2(0x161)+_0x9eabc7+'.');return{..._0x503fb6,'id':_0x9eabc7,'type':_0x1c34e3,'params':{'unitId':_0x3d9fbb[_0x59dbf2(0x29d)],'textRanges':_0x3d9fbb[_0x59dbf2(0x337)],'actions':_0x2b5a6a[_0x59dbf2(0x10c)](_0x27d5be['actions'],_0x3d9fbb[_0x59dbf2(0x360)])}};},{})],_0x6aeef2=(_0x309290=(_0x1c12a2=_0x538a90[_0x56814b(0xfc)]())==null?void 0x0:_0x1c12a2[_0x56814b(0x204)])!=null?_0x309290:_0x56814b(0x209),_0x17ef73=(_0x1840fa=(_0x3a1e03=_0x538a90[_0x56814b(0xfc)]())==null?void 0x0:_0x3a1e03['memberID'])!=null?_0x1840fa:_0x56814b(0x209);return{'changeset':{'unitID':_0x580a51,'type':_0x16c82d(_0x4f2cc7['getUnitType'](_0x580a51)),'baseRev':_0x2e645b['getCurrentRevOfUnit'](_0x580a51),'revision':0x0,'userID':_0x6aeef2,'memberID':_0x17ef73,'mutations':_0x151d82},'pendingMutations':[]};}function yi(_0x197080,_0x3ff726){var _0x379bf9=_0x4a7741;const _0x2487db=new _0x1b6e28(0x1);return setTimeout(()=>_0x2487db[_0x379bf9(0x2c1)](_0x3ff726),_0x197080),_0x2487db[_0x379bf9(0x202)]()[_0x379bf9(0x35a)](_0x3beeef(0x1));}const Is={'id':_0x34415f['id'],'type':_0x2ace15[_0x4a7741(0x37f)],'params':{}};var Ts=Object['defineProperty'],Cs=Object[_0x4a7741(0xf3)],Ce=(_0x35fbc3,_0x3f9f84,_0x10e00c,_0x16fd30)=>{for(var _0xaa00f3=_0x16fd30>0x1?void 0x0:_0x16fd30?Cs(_0x3f9f84,_0x10e00c):_0x3f9f84,_0x5b7fca=_0x35fbc3['length']-0x1,_0x5bfb12;_0x5b7fca>=0x0;_0x5b7fca--)(_0x5bfb12=_0x35fbc3[_0x5b7fca])&&(_0xaa00f3=(_0x16fd30?_0x5bfb12(_0x3f9f84,_0x10e00c,_0xaa00f3):_0x5bfb12(_0xaa00f3))||_0xaa00f3);return _0x16fd30&&_0xaa00f3&&Ts(_0x3f9f84,_0x10e00c,_0xaa00f3),_0xaa00f3;},A=(_0x46b868,_0x313ca5)=>(_0xf8e636,_0x2457af)=>_0x313ca5(_0xf8e636,_0x2457af,_0x46b868),Oi=(_0x2d493b=>(_0x2d493b['NOT_COLLAB']=_0x4a7741(0xd2),_0x2d493b[_0x4a7741(0x371)]=_0x4a7741(0xcc),_0x2d493b[_0x4a7741(0x136)]='pending',_0x2d493b[_0x4a7741(0x2b4)]=_0x4a7741(0x1d9),_0x2d493b[_0x4a7741(0x382)]=_0x4a7741(0xb3),_0x2d493b['FETCH_MISS']=_0x4a7741(0x317),_0x2d493b[_0x4a7741(0xee)]=_0x4a7741(0x36f),_0x2d493b[_0x4a7741(0x1a7)]='offline',_0x2d493b))(Oi||{});const Pi=0xea60;class be{constructor(_0x38a49b,_0x2e6870,_0x13813b,_0x20ef7e,_0x41f870,_0x2cfef3,_0x5c82e2,_0xd47901,_0x5f1e56){var _0x28fbd2=_0x4a7741;D(this,_0x28fbd2(0x185),null),D(this,'_pendingMutations',[]),(this[_0x28fbd2(0x19d)]=_0x38a49b,this['type']=_0x2e6870,this[_0x28fbd2(0x1c1)]=_0x41f870,this[_0x28fbd2(0xd4)]=_0x2cfef3,this['_undoRedoService']=_0x5c82e2,this['_revisionService']=_0xd47901,this[_0x28fbd2(0x38b)]=_0x5f1e56,this[_0x28fbd2(0x185)]=_0x13813b,this[_0x28fbd2(0x13f)]=_0x20ef7e);}[_0x4a7741(0x1fa)](_0x599f3a){var _0x474837=_0x4a7741;const _0x29c89f=this[_0x474837(0x106)]['getCurrentRevOfUnit'](this[_0x474837(0x19d)]);return _0x599f3a[_0x474837(0x2bb)]>_0x29c89f+0x1?(this[_0x474837(0x1c1)][_0x474837(0x111)]({'from':_0x29c89f,'to':_0x599f3a['revision']-0x1}),!0x0):!0x1;}[_0x4a7741(0x37d)](_0x44f718){var _0x2ab416=_0x4a7741;this['_undoRedoService'][_0x2ab416(0x1b1)](this['unitID'],_0x44f718);}[_0x4a7741(0x393)](_0x5428ec){var _0x3b790c=_0x4a7741,_0x4764ea,_0x2769ff;(_0x2769ff=(_0x4764ea=this[_0x3b790c(0x1c1)])['onTransformSelections'])==null||_0x2769ff[_0x3b790c(0x31e)](_0x4764ea,_0x5428ec);}[_0x4a7741(0x2b9)](_0x2aae37){var _0x272bbf=_0x4a7741,_0x599936,_0x28590e;return(_0x28590e=(_0x599936=this['_handler'])[_0x272bbf(0x164)])==null?void 0x0:_0x28590e[_0x272bbf(0x31e)](_0x599936,_0x2aae37);}[_0x4a7741(0x19e)](_0x21a9f5){var _0x3059b7=_0x4a7741,_0x64ebb7,_0x1f587f;return(_0x1f587f=(_0x64ebb7=this[_0x3059b7(0x1c1)])['onTransformState'])==null?void 0x0:_0x1f587f[_0x3059b7(0x31e)](_0x64ebb7,_0x21a9f5);}[_0x4a7741(0xd8)](_0x376fd2){var _0x321dc8=_0x4a7741,_0x3fad41,_0x16d137,_0x4a66c7;return(_0x4a66c7=(_0x16d137=(_0x3fad41=this[_0x321dc8(0x1c1)])[_0x321dc8(0x299)])==null?void 0x0:_0x16d137[_0x321dc8(0x31e)](_0x3fad41,_0x376fd2))!=null?_0x4a66c7:_0x376fd2;}[_0x4a7741(0x1a1)](_0x1b14c1){var _0x509301=_0x4a7741,_0x3c476f,_0x310d81,_0x43fb75;return(_0x43fb75=(_0x310d81=(_0x3c476f=this[_0x509301(0x1c1)])[_0x509301(0x24e)])==null?void 0x0:_0x310d81['call'](_0x3c476f,_0x1b14c1))!=null?_0x43fb75:_0x1b14c1;}['_syncEditingCollabCursor'](_0x3fcf6b){var _0x43b080=_0x4a7741,_0x50a5d1,_0x6927c2;if(this['type']===Q[_0x43b080(0x31a)]){const {unitID:_0x3e09b6,mutations:_0x53add3,memberID:_0x4edda8}=_0x3fcf6b,_0x5dd2fe=_0x53add3[0x0][_0x43b080(0xc6)]['textRanges'];Array[_0x43b080(0xdd)](_0x5dd2fe)&&_0x5dd2fe[_0x43b080(0x2f8)]>0x0&&((_0x6927c2=(_0x50a5d1=this[_0x43b080(0x1c1)])[_0x43b080(0x324)])==null||_0x6927c2[_0x43b080(0x31e)](_0x50a5d1,{'unitID':_0x3e09b6,'memberID':_0x4edda8,'textRanges':_0x5dd2fe}));}}['_updateLocalCache'](){var _0x1b75a6=_0x4a7741,_0x540f57;(_0x540f57=this['_localCacheService'])==null||_0x540f57[_0x1b75a6(0x32a)](this['unitID'],this['type'],this[_0x1b75a6(0x185)],this[_0x1b75a6(0x13f)]);}['_getCurrentRevision'](){var _0x56cf30=_0x4a7741;return this[_0x56cf30(0x106)][_0x56cf30(0x1cc)](this[_0x56cf30(0x19d)]);}[_0x4a7741(0x355)](){var _0x54f223=_0x4a7741;this[_0x54f223(0x106)][_0x54f223(0x2fb)](this['unitID']);}[_0x4a7741(0x289)](_0x4d1cf3){var _0xb9ee1e=_0x4a7741,_0x5e7c02;let _0x2e65c2=this[_0xb9ee1e(0xd8)](_0x4d1cf3);_0x2e65c2=this[_0xb9ee1e(0x1a1)](_0x2e65c2);const _0xd5ec18=_0x4d40a8(_0x2e65c2[_0xb9ee1e(0xfe)],this[_0xb9ee1e(0xd4)],{'fromCollab':!0x0});if(!_0xd5ec18[_0xb9ee1e(0x212)])throw _0xd5ec18[_0xb9ee1e(0x155)]instanceof Error?_0xd5ec18[_0xb9ee1e(0x155)]:new Error((_0x5e7c02=_0xd5ec18[_0xb9ee1e(0x155)])!=null?_0x5e7c02:_0xb9ee1e(0x273));this['_transformIMECache'](_0x2e65c2),this['_transformStateCache'](_0x2e65c2),this[_0xb9ee1e(0x37d)](_0x4d1cf3),this['_transformSelections'](_0x2e65c2),this[_0xb9ee1e(0x37c)](_0x2e65c2),this[_0xb9ee1e(0x355)]();}}let Pe=class extends be{constructor(_0x5c9345,_0x277b78,_0x5682f0,_0x15ab2d,_0xcb1d1,_0x1880ac,_0x49a216,_0x146102,_0x151ea2,_0xfd1f4a){var _0x54db27=_0x4a7741;super(_0x5c9345,_0x277b78,null,[],_0x5682f0,_0x49a216,_0x1880ac,_0x15ab2d,_0xfd1f4a),D(this,_0x54db27(0x1ce),_0x54db27(0xcc)),(this[_0x54db27(0x2da)]=_0xcb1d1,this[_0x54db27(0xfa)]=_0x146102,this[_0x54db27(0x99)]=_0x151ea2,this['localCacheService']=_0xfd1f4a);}[_0x4a7741(0x34b)](_0x2bf6e9){var _0x3c4f10=_0x4a7741;const _0x76cfa9=this[_0x3c4f10(0x2da)][_0x3c4f10(0x26e)](re,this[_0x3c4f10(0x19d)],this[_0x3c4f10(0x27a)],[_0x2bf6e9],this['_handler']);return _0x76cfa9[_0x3c4f10(0x28f)](),_0x76cfa9[_0x3c4f10(0xe8)](),_0x76cfa9;}['onRemoteChangeset'](_0x4f56dc){var _0x3dd9f9=_0x4a7741;if(this[_0x3dd9f9(0x1fa)](_0x4f56dc))return this['_injector'][_0x3dd9f9(0x26e)](te,this[_0x3dd9f9(0x19d)],this[_0x3dd9f9(0x27a)],null,[],null,[_0x4f56dc],this[_0x3dd9f9(0x1c1)]);try{const _0x11b65e=this[_0x3dd9f9(0x99)]['transformMutationsWithChangeset'](_0x4f56dc,[Is]);if(_0x332775(_0x11b65e)){const {c1Prime:_0x53f27b}=_0x11b65e;return this['_executeRemoteChangeset'](_0x53f27b),this;}throw _0x11b65e['error'];}catch(_0x255cbf){return this[_0x3dd9f9(0xfa)][_0x3dd9f9(0x155)](_0x255cbf),this[_0x3dd9f9(0x11d)](!0x1);}}[_0x4a7741(0x11d)](_0x382a64){var _0x27ca99=_0x4a7741;return this[_0x27ca99(0x2da)][_0x27ca99(0x26e)](de,this[_0x27ca99(0x19d)],this[_0x27ca99(0x27a)],null,[],this[_0x27ca99(0x1c1)],_0x382a64);}[_0x4a7741(0x38e)](){var _0x1a4243=_0x4a7741;throw new Error(_0x1a4243(0x16e));}[_0x4a7741(0x18b)](){var _0xb3616e=_0x4a7741;throw new Error(_0xb3616e(0x318));}[_0x4a7741(0x362)](){return this;}[_0x4a7741(0x10d)](){var _0x4c4336=_0x4a7741;return this[_0x4c4336(0x2da)][_0x4c4336(0x26e)](fe,this[_0x4c4336(0x19d)],this[_0x4c4336(0x27a)],null,[],this[_0x4c4336(0x1c1)]);}['toggleOnline'](){return this;}['resend'](){var _0x44e985=_0x4a7741;throw new Error(_0x44e985(0x29f));}['fetchMiss'](){var _0x180bf8=_0x4a7741;const _0x33f6ff=this[_0x180bf8(0x106)][_0x180bf8(0x1cc)](this['unitID']);return this[_0x180bf8(0x1c1)]['onMissingChangesets']({'from':_0x33f6ff,'to':0x0}),this['_injector'][_0x180bf8(0x26e)](te,this[_0x180bf8(0x19d)],this['type'],null,[],null,[],this[_0x180bf8(0x1c1)]);}};Pe=Ce([A(0x3,_0x33b12a(_0x42d2a1)),A(0x4,_0x33b12a(_0x907b7b)),A(0x5,_0x3d6c4b),A(0x6,_0xc1c261),A(0x7,_0x15afa6),A(0x8,_0x4aadc5),A(0x9,_0x13a27c(X))],Pe);let re=class extends be{constructor(_0x4f476b,_0x2ec27f,_0x3ef616,_0x467d97,_0x2141d8,_0x4568cb,_0x3f2988,_0x22d4ee,_0x37472f,_0x5e4e30,_0x531409,_0x39143e,_0x410bf6,_0x28acb0){var _0x321bcf=_0x4a7741;super(_0x4f476b,_0x2ec27f,null,_0x3ef616,_0x467d97,_0x37472f,_0x410bf6,_0x4568cb,_0x28acb0),D(this,_0x321bcf(0x1ce),_0x321bcf(0x145)),D(this,_0x321bcf(0x9e),null),D(this,_0x321bcf(0x263),null),(this[_0x321bcf(0x2da)]=_0x2141d8,this['_memberService']=_0x3f2988,this[_0x321bcf(0xfa)]=_0x22d4ee,this[_0x321bcf(0x321)]=_0x5e4e30,this[_0x321bcf(0x99)]=_0x531409,this[_0x321bcf(0x178)]=_0x39143e);}[_0x4a7741(0x34b)](_0x1337b9){var _0x1f6bab=_0x4a7741;return this[_0x1f6bab(0x13f)]['push'](_0x1337b9),this[_0x1f6bab(0xe8)](),this;}[_0x4a7741(0x31b)](_0x210058){var _0x5b6cc8=_0x4a7741;if(this[_0x5b6cc8(0x1fa)](_0x210058))return this[_0x5b6cc8(0x13a)](),this[_0x5b6cc8(0x2da)][_0x5b6cc8(0x26e)](te,this[_0x5b6cc8(0x19d)],this[_0x5b6cc8(0x27a)],null,this[_0x5b6cc8(0x13f)],null,[_0x210058],this[_0x5b6cc8(0x1c1)]);try{const _0x244eae=this['_transformService'][_0x5b6cc8(0x1af)](_0x210058,this[_0x5b6cc8(0x13f)]);if(_0x332775(_0x244eae)){const {c1Prime:_0x219e6d,m2Prime:_0x126cb7}=_0x244eae;this[_0x5b6cc8(0x289)](_0x219e6d);const _0x1fefe1=this[_0x5b6cc8(0x2da)][_0x5b6cc8(0x26e)](re,this[_0x5b6cc8(0x19d)],this[_0x5b6cc8(0x27a)],_0x126cb7,this[_0x5b6cc8(0x1c1)]);return this[_0x5b6cc8(0x13a)](),_0x1fefe1[_0x5b6cc8(0x28f)](this[_0x5b6cc8(0x9e)]?Math['max'](0x0,new Date()[_0x5b6cc8(0x210)]()-this[_0x5b6cc8(0x9e)]):this[_0x5b6cc8(0x144)]()),_0x1fefe1;}throw _0x244eae[_0x5b6cc8(0x155)];}catch(_0x4f3ef3){return this[_0x5b6cc8(0xfa)]['error'](_0x4f3ef3),this[_0x5b6cc8(0x11d)](!0x1);}}[_0x4a7741(0x38e)](){var _0x714b95=_0x4a7741;throw new Error(_0x714b95(0xc7));}['onRemoteRej'](){var _0x596472=_0x4a7741;throw new Error(_0x596472(0x39a));}['onRemoteRetry'](){return this;}[_0x4a7741(0x10d)](){var _0x53f97f=_0x4a7741;return this[_0x53f97f(0x13a)](),this[_0x53f97f(0x2da)][_0x53f97f(0x26e)](fe,this[_0x53f97f(0x19d)],this[_0x53f97f(0x27a)],null,this['_pendingMutations'],this[_0x53f97f(0x1c1)]);}[_0x4a7741(0x1c3)](){return this;}[_0x4a7741(0x28f)](_0x40c4d8){var _0x43eb16=_0x4a7741;const _0x361198=_0x40c4d8!=null?_0x40c4d8:this['_getSendChangesetTimeout']();this[_0x43eb16(0x9e)]=new Date()['getTime'](),this[_0x43eb16(0x263)]=setTimeout(()=>{var _0x203018=_0x43eb16;this[_0x203018(0x13a)]();let _0x61207c=null;switch(this[_0x203018(0x27a)]){case Q[_0x203018(0x19f)]:{_0x61207c=Jt(this[_0x203018(0x13f)],this['unitID'],this[_0x203018(0x178)],this[_0x203018(0x106)],this[_0x203018(0x1e6)]);break;}case Q['UNIVER_DOC']:{this[_0x203018(0x13f)][_0x203018(0x1fd)](_0x2d6ba7=>_0x2d6ba7['id']===_0x47edee['id'])?_0x61207c=Es(this[_0x203018(0x13f)],this[_0x203018(0x19d)],this['_univerInstanceService'],this[_0x203018(0x106)],this[_0x203018(0x1e6)]):_0x61207c=Jt(this[_0x203018(0x13f)],this['unitID'],this[_0x203018(0x178)],this[_0x203018(0x106)],this[_0x203018(0x1e6)]);break;}default:throw new Error('[PendingState]:\x20unhandled\x20univer\x20type:\x20'+this[_0x203018(0x27a)]+_0x203018(0x244));}const {changeset:_0x2c42ca,pendingMutations:_0x33bc60}=_0x61207c;this[_0x203018(0x1c1)][_0x203018(0x10a)](_0x2c42ca);const _0x248f83=_0x33bc60[_0x203018(0x2f8)]?this[_0x203018(0x2da)][_0x203018(0x26e)](oe,this[_0x203018(0x19d)],this[_0x203018(0x27a)],_0x2c42ca,_0x33bc60,this[_0x203018(0x1c1)],void 0x0):this[_0x203018(0x2da)][_0x203018(0x26e)](ue,this[_0x203018(0x19d)],this[_0x203018(0x27a)],_0x2c42ca,this[_0x203018(0x1c1)]);_0x248f83[_0x203018(0xe8)](),this['_handler'][_0x203018(0x129)](this,_0x248f83);},_0x361198);}['_getSendChangesetTimeout'](){var _0x1e8678=_0x4a7741,_0x5bc0ae;const _0x12c1ff=this['_configService'][_0x1e8678(0x399)](Y);return(_0x5bc0ae=_0x12c1ff==null?void 0x0:_0x12c1ff[_0x1e8678(0x194)])!=null?_0x5bc0ae:wn;}[_0x4a7741(0x3a0)](){var _0x549dc0=_0x4a7741;throw new Error(_0x549dc0(0x245));}['_clearScheduledTask'](){var _0x2beba0=_0x4a7741;this[_0x2beba0(0x263)]!=null&&(clearTimeout(this[_0x2beba0(0x263)]),this[_0x2beba0(0x263)]=null);}[_0x4a7741(0x11d)](_0x1dc46a){var _0x25e972=_0x4a7741;return this['_clearScheduledTask'](),this[_0x25e972(0x2da)][_0x25e972(0x26e)](de,this[_0x25e972(0x19d)],this[_0x25e972(0x27a)],null,this['_pendingMutations'],this['_handler'],_0x1dc46a);}};re=Ce([A(0x4,_0x33b12a(_0x907b7b)),A(0x5,_0x33b12a(_0x42d2a1)),A(0x6,_0x33b12a(Le)),A(0x7,_0x15afa6),A(0x8,_0xc1c261),A(0x9,_0x243586),A(0xa,_0x4aadc5),A(0xb,_0x249ac8),A(0xc,_0x3d6c4b),A(0xd,_0x13a27c(X))],re);let ue=class extends be{constructor(_0x5bc487,_0x2daa8e,_0x52de9d,_0x214804,_0x42deba,_0x1017db,_0x359ece,_0x20450d,_0x256306,_0x5b122e,_0x3dba27){var _0x3cfff8=_0x4a7741;super(_0x5bc487,_0x2daa8e,_0x52de9d,[],_0x214804,_0x359ece,_0x5b122e,_0x1017db,_0x3dba27),D(this,_0x3cfff8(0x1ce),'awaiting'),D(this,_0x3cfff8(0x32c),0x0),D(this,_0x3cfff8(0x126)),D(this,_0x3cfff8(0x150)),(this['_injector']=_0x42deba,this[_0x3cfff8(0xfa)]=_0x20450d,this[_0x3cfff8(0x99)]=_0x256306);}[_0x4a7741(0x34b)](_0x2529ff){var _0x25faa2=_0x4a7741;this['_clearScheduledTask']();const _0x43ad36=this[_0x25faa2(0x2da)][_0x25faa2(0x26e)](oe,this[_0x25faa2(0x19d)],this[_0x25faa2(0x27a)],this[_0x25faa2(0x185)],[_0x2529ff],this[_0x25faa2(0x1c1)],this[_0x25faa2(0x126)]);return _0x43ad36[_0x25faa2(0xe8)](),_0x43ad36;}[_0x4a7741(0x31b)](_0x5b8087){var _0x1a1006=_0x4a7741;if(this[_0x1a1006(0x1fa)](_0x5b8087))return this[_0x1a1006(0x13a)](),this[_0x1a1006(0x2da)][_0x1a1006(0x26e)](te,this[_0x1a1006(0x19d)],this['type'],this['_awaitingChangeset'],[],null,[_0x5b8087],this[_0x1a1006(0x1c1)]);try{const _0x359fa4=this['_transformService'][_0x1a1006(0x2ac)]([_0x5b8087],[this['_awaitingChangeset']],!0x1);if(_0x4415b3(_0x359fa4)){const {c1Prime:_0x32eb51,c2Prime:_0x40361d}=_0x359fa4;this[_0x1a1006(0x289)](_0x32eb51[0x0]),_0x40361d[0x0]['baseRev']=this[_0x1a1006(0xb7)](),this[_0x1a1006(0x13a)]();const _0x2ac4ac=this[_0x1a1006(0x2da)][_0x1a1006(0x26e)](ue,this['unitID'],this['type'],_0x40361d[0x0],this[_0x1a1006(0x1c1)]);return _0x2ac4ac[_0x1a1006(0xe8)](),_0x2ac4ac;}return this[_0x1a1006(0x11d)](!0x1);}catch(_0x887ff5){return this[_0x1a1006(0xfa)][_0x1a1006(0x155)](_0x887ff5),this['_onConflict'](!0x1);}}['onRemoteAck'](_0x166917){var _0x2c6018=_0x4a7741;this[_0x2c6018(0x13a)]();const _0x311327=this['_revisionService']['getCurrentRevOfUnit'](this['unitID']);if(_0x166917[_0x2c6018(0x2bb)]<_0x311327-0x1)return this;if(this['_checkMissing'](_0x166917))return this[_0x2c6018(0x2da)][_0x2c6018(0x26e)](te,this[_0x2c6018(0x19d)],this[_0x2c6018(0x27a)],null,[],this[_0x2c6018(0x185)],[],this[_0x2c6018(0x1c1)]);this[_0x2c6018(0x355)]();const _0x31f328=this[_0x2c6018(0x2da)][_0x2c6018(0x26e)](Pe,this['unitID'],this[_0x2c6018(0x27a)],this['_handler']);return _0x31f328[_0x2c6018(0xe8)](),_0x31f328;}[_0x4a7741(0x18b)](_0x4fc113){var _0x2a75f7=_0x4a7741;return this[_0x2a75f7(0x11d)](!!(_0x4fc113!=null&&_0x4fc113[_0x2a75f7(0x12e)]));}[_0x4a7741(0x362)](_0x4b8816){var _0x1d0f71=_0x4a7741;return this[_0x1d0f71(0x32c)]>Pi?this['toggleOffline']():(this[_0x1d0f71(0x126)]=yi(this[_0x1d0f71(0x32c)],{'timeout':this['_resendTimeout'],'reqId':_0x4b8816[_0x1d0f71(0xdf)]}),this['_sender']=this[_0x1d0f71(0x126)][_0x1d0f71(0x1ba)](({reqId:_0x3c072,timeout:_0x592809})=>{this['_resendWithTimeout'](_0x3c072,_0x592809);}),this);}[_0x4a7741(0x10d)](){var _0xd7f975=_0x4a7741;return this['_clearScheduledTask'](),this[_0xd7f975(0x2da)][_0xd7f975(0x26e)](fe,this[_0xd7f975(0x19d)],this[_0xd7f975(0x27a)],this['_awaitingChangeset'],[],this[_0xd7f975(0x1c1)]);}['toggleOnline'](){return this;}['resend'](){var _0x105271=_0x4a7741;this[_0x105271(0x1c1)][_0x105271(0x10a)](this[_0x105271(0x185)]);}['_onConflict'](_0xfc469b){var _0x1932e7=_0x4a7741;return this['_clearScheduledTask'](),this['_injector']['createInstance'](de,this['unitID'],this['type'],this[_0x1932e7(0x185)],[],this[_0x1932e7(0x1c1)],_0xfc469b);}['_resendWithTimeout'](_0x31291b,_0x25d96b){var _0x1a0504=_0x4a7741,_0x16631b;_0x31291b===((_0x16631b=this[_0x1a0504(0x185)])==null?void 0x0:_0x16631b[_0x1a0504(0xdf)])&&(this[_0x1a0504(0x3a0)](),this[_0x1a0504(0x32c)]=_0x25d96b===0x0?0x3e8:_0x25d96b*0x2);}['_clearScheduledTask'](){var _0x38396b=_0x4a7741,_0x2af282;(_0x2af282=this['_sender'])==null||_0x2af282[_0x38396b(0x130)](),this[_0x38396b(0x32c)]=0x0;}};ue=Ce([A(0x4,_0x33b12a(_0x907b7b)),A(0x5,_0x33b12a(_0x42d2a1)),A(0x6,_0xc1c261),A(0x7,_0x15afa6),A(0x8,_0x4aadc5),A(0x9,_0x3d6c4b),A(0xa,_0x13a27c(X))],ue);let oe=class extends be{constructor(_0x1a530c,_0x224932,_0x1d3645,_0x3de22b,_0x517d34,_0x41e07e,_0x1d4748,_0x32a386,_0x471147,_0x2b63fc,_0x234f85,_0x4f963d,_0x52c5fd){var _0x5691d6=_0x4a7741;super(_0x1a530c,_0x224932,_0x1d3645,_0x3de22b,_0x517d34,_0x471147,_0x4f963d,_0x32a386,_0x52c5fd),D(this,_0x5691d6(0x1ce),_0x5691d6(0xb3)),D(this,_0x5691d6(0x32c),0x0),D(this,_0x5691d6(0x126)),D(this,_0x5691d6(0x150)),(this[_0x5691d6(0x2da)]=_0x1d4748,this[_0x5691d6(0xfa)]=_0x2b63fc,this['_transformService']=_0x234f85,this['localCacheService']=_0x52c5fd,_0x41e07e&&(this[_0x5691d6(0x126)]=_0x41e07e,this[_0x5691d6(0x150)]=this[_0x5691d6(0x126)]['subscribe'](({reqId:_0x4562e8,timeout:_0x3194ef})=>{var _0x160c01=_0x5691d6;this[_0x160c01(0xcf)](_0x4562e8,_0x3194ef);})));}[_0x4a7741(0x34b)](_0x389e91){var _0x5d452f=_0x4a7741;return this['_pendingMutations'][_0x5d452f(0xef)](_0x389e91),this;}[_0x4a7741(0x31b)](_0x1bf091){var _0x474668=_0x4a7741;if(this[_0x474668(0x1fa)](_0x1bf091))return this[_0x474668(0x13a)](),this[_0x474668(0x2da)][_0x474668(0x26e)](te,this[_0x474668(0x19d)],this[_0x474668(0x27a)],this[_0x474668(0x185)],this[_0x474668(0x13f)],null,[_0x1bf091],this[_0x474668(0x1c1)]);try{const _0x40e9b4=this[_0x474668(0x99)][_0x474668(0x2ac)]([_0x1bf091],[this[_0x474668(0x185)]],!0x1);if(_0x4415b3(_0x40e9b4)){const {c1Prime:_0x251328,c2Prime:_0x2c2e6e}=_0x40e9b4,_0x36d873=this[_0x474668(0x99)][_0x474668(0x1af)](_0x251328[0x0],this[_0x474668(0x13f)]);if(_0x332775(_0x36d873)){const {c1Prime:_0x22db6f,m2Prime:_0x279548}=_0x36d873;return this[_0x474668(0x289)](_0x22db6f),_0x2c2e6e[0x0]['baseRev']=this[_0x474668(0xb7)](),this[_0x474668(0x13a)](),this['_injector'][_0x474668(0x26e)](oe,this['unitID'],this['type'],_0x2c2e6e[0x0],_0x279548,this[_0x474668(0x1c1)],void 0x0);}throw _0x36d873[_0x474668(0x155)];}throw _0x40e9b4[_0x474668(0x155)];}catch(_0x418f56){return this[_0x474668(0xfa)][_0x474668(0x155)](_0x418f56),this['_onConflict'](!0x1);}}[_0x4a7741(0x38e)](_0x42b96f){var _0x49e891=_0x4a7741;if(this[_0x49e891(0x13a)](),this[_0x49e891(0x1fa)](_0x42b96f))return this[_0x49e891(0x2da)][_0x49e891(0x26e)](te,this['unitID'],this[_0x49e891(0x27a)],null,this[_0x49e891(0x13f)],this[_0x49e891(0x185)],[],this[_0x49e891(0x1c1)]);this[_0x49e891(0x355)]();const _0x12e705=this[_0x49e891(0x2da)][_0x49e891(0x26e)](re,this[_0x49e891(0x19d)],this[_0x49e891(0x27a)],this[_0x49e891(0x13f)],this[_0x49e891(0x1c1)]);return _0x12e705[_0x49e891(0x28f)](),_0x12e705[_0x49e891(0xe8)](),_0x12e705;}[_0x4a7741(0x18b)](_0xf68a5a){var _0x1e675e=_0x4a7741;return this[_0x1e675e(0x11d)](!!(_0xf68a5a!=null&&_0xf68a5a[_0x1e675e(0x12e)]));}['onRemoteRetry'](_0xad327c){var _0x12496f=_0x4a7741;return this[_0x12496f(0x32c)]>Pi?this[_0x12496f(0x10d)]():(this[_0x12496f(0x126)]=yi(this[_0x12496f(0x32c)],{'timeout':this[_0x12496f(0x32c)],'reqId':_0xad327c[_0x12496f(0xdf)]}),this[_0x12496f(0x150)]=this['_resendTimer'][_0x12496f(0x1ba)](({reqId:_0x545c13,timeout:_0x2c2016})=>{var _0x485a59=_0x12496f;this[_0x485a59(0xcf)](_0x545c13,_0x2c2016);}),this);}[_0x4a7741(0x10d)](){var _0x1f6ab0=_0x4a7741;return this[_0x1f6ab0(0x13a)](),this[_0x1f6ab0(0x2da)][_0x1f6ab0(0x26e)](fe,this['unitID'],this[_0x1f6ab0(0x27a)],this[_0x1f6ab0(0x185)],this[_0x1f6ab0(0x13f)],this[_0x1f6ab0(0x1c1)]);}['toggleOnline'](){return this;}['resend'](){this['_handler']['onSendChangeset'](this['_awaitingChangeset']);}[_0x4a7741(0x11d)](_0x10fca0){var _0x130d7d=_0x4a7741;return this[_0x130d7d(0x13a)](),this[_0x130d7d(0x2da)]['createInstance'](de,this[_0x130d7d(0x19d)],this['type'],null,this['_pendingMutations'],this[_0x130d7d(0x1c1)],_0x10fca0);}[_0x4a7741(0xcf)](_0x1a10db,_0xcd5574){var _0x355965=_0x4a7741,_0x4eecb5;_0x1a10db===((_0x4eecb5=this[_0x355965(0x185)])==null?void 0x0:_0x4eecb5['reqId'])&&(this[_0x355965(0x3a0)](),this[_0x355965(0x32c)]=_0xcd5574===0x0?0x3e8:_0xcd5574*0x2);}['_clearScheduledTask'](){var _0x2bca37=_0x4a7741,_0x4be6fa;(_0x4be6fa=this[_0x2bca37(0x150)])==null||_0x4be6fa[_0x2bca37(0x130)](),this[_0x2bca37(0x32c)]=0x0;}};oe=Ce([A(0x6,_0x33b12a(_0x907b7b)),A(0x7,_0x33b12a(_0x42d2a1)),A(0x8,_0xc1c261),A(0x9,_0x15afa6),A(0xa,_0x4aadc5),A(0xb,_0x3d6c4b),A(0xc,_0x13a27c(X))],oe);let de=class extends be{constructor(_0x26e6bb,_0x5249dd,_0x4bef43,_0xfc373c,_0xd7714c,_0x40bee4=!0x1,_0x17e441,_0x4ff3db,_0x3a8472,_0x3f0a4d,_0x5bd052,_0x1fdf21,_0x3339a2){var _0x149f0f=_0x4a7741;super(_0x26e6bb,_0x5249dd,_0x4bef43,_0xfc373c,_0xd7714c,_0x4ff3db,_0x3a8472,_0x3f0a4d,_0x3339a2),D(this,_0x149f0f(0x1ce),_0x149f0f(0x36f)),(this[_0x149f0f(0x2de)]=_0x40bee4,this['_permissionService']=_0x17e441,this[_0x149f0f(0x165)]=_0x5bd052,this['_collaborationUIEventService']=_0x1fdf21,this[_0x149f0f(0x222)]=_0x3339a2,this[_0x149f0f(0x383)](),this['_clearLocalCache'](),this[_0x149f0f(0x113)]());}[_0x4a7741(0x34b)](){return this;}[_0x4a7741(0x31b)](){return this;}['onRemoteAck'](){return this;}[_0x4a7741(0x18b)](){return this;}[_0x4a7741(0x362)](){return this;}[_0x4a7741(0x10d)](){return this;}[_0x4a7741(0x1c3)](){return this;}[_0x4a7741(0x3a0)](){throw new Error('[ConflictState]:\x20invalid\x20calling\x20to\x20`resend`.');}[_0x4a7741(0x1bc)](){var _0x1f81eb=_0x4a7741,_0x451a31;(_0x451a31=this[_0x1f81eb(0x38b)])==null||_0x451a31['updateOfflineData'](this[_0x1f81eb(0x19d)],this[_0x1f81eb(0x27a)],null,[]);}[_0x4a7741(0x383)](){var _0x4cb6b2=_0x4a7741;this[_0x4cb6b2(0x2de)]?this['_collaborationUIEventService'][_0x4cb6b2(0x297)]({'id':se[_0x4cb6b2(0x211)]}):this[_0x4cb6b2(0x2cc)][_0x4cb6b2(0x297)]({'id':se[_0x4cb6b2(0xee)]});}[_0x4a7741(0x113)](){var _0x5231b8=_0x4a7741;this[_0x5231b8(0x310)]['updatePermissionPoint'](new _0xcb920c(this[_0x5231b8(0x19d)])['id'],!0x1);}};de=Ce([A(0x6,_0x33b12a(_0x5eb1c1)),A(0x7,_0xc1c261),A(0x8,_0x3d6c4b),A(0x9,_0x33b12a(_0x42d2a1)),A(0xa,_0x33b12a(_0x309f9d)),A(0xb,_0x33b12a(pe)),A(0xc,_0x13a27c(X))],de);let fe=class extends be{constructor(_0x29bda2,_0x263967,_0xd669e8,_0x55eb24,_0x2e6a3b,_0x2085e4,_0x1963ba,_0x5e674c,_0x3cfb85,_0x6155ae){var _0x2af1c5=_0x4a7741;super(_0x29bda2,_0x263967,_0xd669e8,_0x55eb24,_0x2e6a3b,_0x5e674c,_0x3cfb85,_0x1963ba,_0x6155ae),D(this,'status',_0x2af1c5(0x1c8)),this[_0x2af1c5(0x2da)]=_0x2085e4;}[_0x4a7741(0x34b)](_0x3cdd75){var _0x3bc9ff=_0x4a7741;return this[_0x3bc9ff(0x13f)][_0x3bc9ff(0xef)](_0x3cdd75),this['_updateLocalCache'](),this;}['onRemoteChangeset'](_0x2fc5a3){throw new Error('[OfflineState]:\x20received\x20changeset.');}['onRemoteAck'](){var _0x136f14=_0x4a7741;throw new Error(_0x136f14(0x36b));}[_0x4a7741(0x18b)](){throw new Error('[OfflineState]:\x20received\x20rejection.');}[_0x4a7741(0x362)](){return this;}['toggleOffline'](){return this;}[_0x4a7741(0x1c3)](){var _0x392b52=_0x4a7741;const {_injector:_0x4dc1c7,_pendingMutations:_0x54b2de,_awaitingChangeset:_0x27fc47,unitID:_0x3e525a,_handler:_0x5756d4,type:_0x50b1b0}=this,_0x41f0a2=Ni(_0x4dc1c7,_0x3e525a,_0x50b1b0,_0x27fc47,_0x54b2de,_0x5756d4);return _0x41f0a2 instanceof re?_0x41f0a2[_0x392b52(0x28f)]():(_0x41f0a2 instanceof oe||_0x41f0a2 instanceof ue)&&_0x41f0a2[_0x392b52(0x3a0)](),_0x41f0a2;}['resend'](){throw new Error('[OfflineState]:\x20invalid\x20calling\x20to\x20`resend`.');}};fe=Ce([A(0x5,_0x33b12a(_0x907b7b)),A(0x6,_0x33b12a(_0x42d2a1)),A(0x7,_0xc1c261),A(0x8,_0x3d6c4b),A(0x9,_0x13a27c(X))],fe);let te=class extends be{constructor(_0x711e34,_0x3951ef,_0x2ae2b1,_0x270932,_0x39ba75,_0x5e74c2,_0x1650cb,_0x5d7271,_0x5df2df,_0x2c0135,_0xf0d738,_0x25f31e,_0x5494f7,_0x653c99){var _0x18b3fe=_0x4a7741;super(_0x711e34,_0x3951ef,_0x2ae2b1,_0x270932,_0x1650cb,_0xf0d738,_0x25f31e,_0x5df2df,_0x653c99),D(this,_0x18b3fe(0x1ce),_0x18b3fe(0x317)),(this[_0x18b3fe(0x33b)]=_0x39ba75,this[_0x18b3fe(0x1df)]=_0x5e74c2,this[_0x18b3fe(0x2da)]=_0x5d7271,this[_0x18b3fe(0xfa)]=_0x2c0135,this[_0x18b3fe(0x99)]=_0x5494f7,this[_0x18b3fe(0x222)]=_0x653c99);}['onMissedChangesetFetched'](_0x2cf9fa){var _0xa22523=_0x4a7741;try{const _0x3e7761=[..._0x2cf9fa,...this[_0xa22523(0x1df)]],_0x5cb46c=[this['_awaitingChangeset']||this[_0xa22523(0x33b)]][_0xa22523(0x2cd)](_0x38dae8=>!!_0x38dae8);let _0x599e4c,_0x19b625;if(_0x5cb46c[_0xa22523(0x2f8)]){const _0x2b5f99=this[_0xa22523(0x99)][_0xa22523(0x2ac)](_0x3e7761,_0x5cb46c,!0x1);if(!_0x4415b3(_0x2b5f99))throw _0x2b5f99[_0xa22523(0x155)];_0x599e4c=_0x2b5f99[_0xa22523(0x2e8)],_0x19b625=_0x2b5f99[_0xa22523(0x2ce)];}else _0x599e4c=_0x3e7761,_0x19b625=[];let _0x489de8=this['_pendingMutations'];_0x599e4c[_0xa22523(0x3a5)](_0x3b6ed5=>{var _0x277e12=_0xa22523;let _0x3fa141;if(_0x489de8[_0x277e12(0x2f8)]){const _0x33282a=this[_0x277e12(0x99)][_0x277e12(0x1af)](_0x3b6ed5,_0x489de8);if(!_0x332775(_0x33282a))throw _0x33282a[_0x277e12(0x155)];_0x3fa141=_0x33282a['c1Prime'],_0x489de8=_0x33282a[_0x277e12(0x395)];}else _0x3fa141=_0x3b6ed5;this[_0x277e12(0x289)](_0x3fa141);}),this[_0xa22523(0x33b)]&&this[_0xa22523(0x355)](),this[_0xa22523(0x185)]&&_0x19b625[_0xa22523(0x2f8)]&&(_0x19b625[0x0][_0xa22523(0x31f)]=this[_0xa22523(0xb7)]());let _0x1f5abf;if(this[_0xa22523(0x185)]&&_0x489de8[_0xa22523(0x2f8)]!==0x0)_0x1f5abf=this['_injector'][_0xa22523(0x26e)](oe,this['unitID'],this[_0xa22523(0x27a)],_0x19b625[0x0],_0x489de8,this[_0xa22523(0x1c1)],void 0x0);else{if(this[_0xa22523(0x185)]&&_0x489de8[_0xa22523(0x2f8)]===0x0)_0x19b625[0x0][_0xa22523(0x31f)]=this['_getCurrentRevision'](),_0x1f5abf=this['_injector'][_0xa22523(0x26e)](ue,this[_0xa22523(0x19d)],this[_0xa22523(0x27a)],_0x19b625[0x0],this['_handler']);else{if(_0x489de8['length']!==0x0){const _0x366166=this[_0xa22523(0x2da)][_0xa22523(0x26e)](re,this[_0xa22523(0x19d)],this['type'],_0x489de8,this[_0xa22523(0x1c1)]);_0x366166[_0xa22523(0x28f)](),_0x1f5abf=_0x366166;}else _0x1f5abf=this['_injector']['createInstance'](Pe,this[_0xa22523(0x19d)],this[_0xa22523(0x27a)],this[_0xa22523(0x1c1)]);}}return _0x1f5abf[_0xa22523(0xe8)](),_0x1f5abf;}catch(_0x375326){return this[_0xa22523(0xfa)][_0xa22523(0x155)](_0xa22523(0x306),_0xa22523(0x335),_0x375326),this[_0xa22523(0x2da)]['createInstance'](de,this['unitID'],this[_0xa22523(0x27a)],this['_awaitingChangeset'],this[_0xa22523(0x13f)],this[_0xa22523(0x1c1)],!0x1);}}[_0x4a7741(0x3a0)](){var _0x4dc62f=_0x4a7741;throw new Error(_0x4dc62f(0x118));}[_0x4a7741(0x34b)](_0x3fdbbe){var _0x1c4024=_0x4a7741;return this['_pendingMutations'][_0x1c4024(0xef)](_0x3fdbbe),this;}[_0x4a7741(0x31b)](_0xd88658){var _0x1586cb=_0x4a7741;return this[_0x1586cb(0x1df)]['push'](_0xd88658),this;}[_0x4a7741(0x38e)](_0xf4c3a7){var _0x3f4f48=_0x4a7741;if(this[_0x3f4f48(0x185)])return this[_0x3f4f48(0x33b)]=this[_0x3f4f48(0x185)],this[_0x3f4f48(0x185)]=null,this;throw new Error(_0x3f4f48(0x1d1));}['onRemoteRej'](_0x5f32a2){var _0x4e92cc=_0x4a7741;return this[_0x4e92cc(0x11d)](!!(_0x5f32a2!=null&&_0x5f32a2[_0x4e92cc(0x12e)]));}[_0x4a7741(0x362)](){return this;}['toggleOffline'](){var _0x34d6e0=_0x4a7741;return this[_0x34d6e0(0x2da)]['createInstance'](fe,this[_0x34d6e0(0x19d)],this['type'],this[_0x34d6e0(0x185)],this[_0x34d6e0(0x13f)],this[_0x34d6e0(0x1c1)]);}[_0x4a7741(0x1c3)](){return this;}[_0x4a7741(0x11d)](_0x38bf7c){var _0x5d6bf8=_0x4a7741;return this[_0x5d6bf8(0x2da)][_0x5d6bf8(0x26e)](de,this[_0x5d6bf8(0x19d)],this['type'],this[_0x5d6bf8(0x185)],this[_0x5d6bf8(0x13f)],this[_0x5d6bf8(0x1c1)],_0x38bf7c);}};te=Ce([A(0x7,_0x33b12a(_0x907b7b)),A(0x8,_0x33b12a(_0x42d2a1)),A(0x9,_0x15afa6),A(0xa,_0xc1c261),A(0xb,_0x3d6c4b),A(0xc,_0x4aadc5),A(0xd,_0x13a27c(X))],te);function Ni(_0x3d463b,_0x41a290,_0x303ecf,_0x311fdb,_0x296e3e,_0x3a0c04){var _0x5a4fe2=_0x4a7741;return _0x311fdb&&_0x296e3e['length']?_0x3d463b['createInstance'](oe,_0x41a290,_0x303ecf,_0x311fdb,_0x296e3e,_0x3a0c04,void 0x0):_0x311fdb?_0x3d463b[_0x5a4fe2(0x26e)](ue,_0x41a290,_0x303ecf,_0x311fdb,_0x3a0c04):_0x296e3e[_0x5a4fe2(0x2f8)]?_0x3d463b[_0x5a4fe2(0x26e)](re,_0x41a290,_0x303ecf,_0x296e3e,_0x3a0c04):_0x3d463b['createInstance'](Pe,_0x41a290,_0x303ecf,_0x3a0c04);}var bs=Object[_0x4a7741(0x1ac)],Rs=Object[_0x4a7741(0xf3)],Mt=(_0x353a4f,_0x25d9f6,_0x13626e,_0x1b621f)=>{var _0xc9848c=_0x4a7741;for(var _0xec8221=_0x1b621f>0x1?void 0x0:_0x1b621f?Rs(_0x25d9f6,_0x13626e):_0x25d9f6,_0x504020=_0x353a4f[_0xc9848c(0x2f8)]-0x1,_0x3605cb;_0x504020>=0x0;_0x504020--)(_0x3605cb=_0x353a4f[_0x504020])&&(_0xec8221=(_0x1b621f?_0x3605cb(_0x25d9f6,_0x13626e,_0xec8221):_0x3605cb(_0xec8221))||_0xec8221);return _0x1b621f&&_0xec8221&&bs(_0x25d9f6,_0x13626e,_0xec8221),_0xec8221;},k=(_0xe91c83,_0x23bed6)=>(_0x4e54eb,_0x50ce35)=>_0x23bed6(_0x4e54eb,_0x50ce35,_0xe91c83);let st=class extends _0x537d0d{constructor(_0x1c48df,_0x4aaf62,_0x326779,_0x361e00,_0x4dce18,_0x4a36b6,_0x45bc3f,_0x272fc5,_0x51d879,_0x49c2bc,_0x217c74,_0x2c3387,_0x2aae97){var _0x289864=_0x4a7741;super(),D(this,_0x289864(0x1e5),new _0x5c2168(null)),D(this,_0x289864(0x1bf),this[_0x289864(0x1e5)][_0x289864(0x202)]()),D(this,'_state'),D(this,_0x289864(0x375),!0x1),D(this,_0x289864(0x235),''),D(this,'_changesetReqId',0x0),D(this,_0x289864(0x9c),this['state$'][_0x289864(0x35a)](_0x3fc051(_0x55aa93=>_0x55aa93?_0x55aa93[_0x289864(0x1ce)]:Oi[_0x289864(0x1a7)]),_0x2baabf(0x1))),D(this,_0x289864(0x13d),!0x1),D(this,_0x289864(0xea),[]),(this[_0x289864(0x19d)]=_0x1c48df,this[_0x289864(0x216)]=_0x4aaf62,this['_type']=_0x326779,this[_0x289864(0x2da)]=_0x361e00,this['_compressMutationService']=_0x4dce18,this[_0x289864(0x165)]=_0x4a36b6,this['_revisionService']=_0x45bc3f,this[_0x289864(0x199)]=_0x272fc5,this[_0x289864(0xfa)]=_0x51d879,this[_0x289864(0xd4)]=_0x49c2bc,this[_0x289864(0x310)]=_0x217c74,this[_0x289864(0x384)]=_0x2c3387,this[_0x289864(0x38b)]=_0x2aae97);}get[_0x4a7741(0x22d)](){return this['_state'];}async[_0x4a7741(0x2b8)](){var _0x577729=_0x4a7741;if(this['state'])throw new Error(_0x577729(0x363));await this[_0x577729(0x15e)]();}[_0x4a7741(0x1e9)](){var _0x43b5e0=_0x4a7741;return this[_0x43b5e0(0x375)]=!0x0,_0x34ae4e(()=>{var _0x3dc5d8=_0x43b5e0;this['_collaborationPaused']=!0x1,this[_0x3dc5d8(0x208)]();});}[_0x4a7741(0x368)](_0x2b9c23){var _0x2e0dd1=_0x4a7741;this[_0x2e0dd1(0x186)](_0x2b9c23);}[_0x4a7741(0x290)](_0x11ae16){var _0x2b9553=_0x4a7741;this[_0x2b9553(0x36e)]=_0x11ae16,this[_0x2b9553(0x1e5)][_0x2b9553(0x2c1)](_0x11ae16);}async['_init'](){var _0x4d1a3d=_0x4a7741,_0x125102;this[_0x4d1a3d(0x290)](await this[_0x4d1a3d(0xe6)]()),this[_0x4d1a3d(0x384)]&&((_0x125102=this['_singleActiveUnitService'])==null||_0x125102['editingUnit'](this['unitID']),this[_0x4d1a3d(0x249)](this[_0x4d1a3d(0x384)]['getUnitStatus$'](this[_0x4d1a3d(0x19d)])[_0x4d1a3d(0x1ba)](_0x199bd2=>{var _0x208816=_0x4d1a3d;this['_logService'][_0x208816(0x1b8)](_0x208816(0x2c5),_0x208816(0x253),_0x199bd2),_0x199bd2===Ri[_0x208816(0x2cb)]?(this['_eventService'][_0x208816(0x297)]({'id':se[_0x208816(0xfd)]}),this['_permissionService'][_0x208816(0x2c3)](new _0xcb920c(this[_0x208816(0x19d)])['id'],!0x1),this[_0x208816(0x310)][_0x208816(0x13b)](!0x1)):(this[_0x208816(0x310)]['updatePermissionPoint'](new _0xcb920c(this[_0x208816(0x19d)])['id'],!0x0),this[_0x208816(0x310)][_0x208816(0x13b)](!0x0));})));let _0x44084f=!0x1;return this['disposeWithMe'](this[_0x4d1a3d(0x216)]['sessionStatus$'][_0x4d1a3d(0x1ba)](_0xcd529f=>{var _0x597f94=_0x4d1a3d;_0xcd529f===Ie[_0x597f94(0x329)]?this[_0x597f94(0x2aa)](_0x44084f):_0xcd529f===Ie[_0x597f94(0x1a7)]&&(_0x44084f=!0x0,this[_0x597f94(0x35f)]());})),this[_0x4d1a3d(0x249)](this[_0x4d1a3d(0x216)][_0x4d1a3d(0x396)][_0x4d1a3d(0x1ba)](_0x44d230=>{var _0x512828=_0x4d1a3d;try{switch(_0x44d230[_0x512828(0x30b)]){case _0x3c0549[_0x512828(0x25e)]:{this[_0x512828(0x1ff)](_0x42b651(_0x44d230[_0x512828(0x33d)]));break;}case _0x3c0549[_0x512828(0x143)]:{this[_0x512828(0x353)](_0x44d230['data']);break;}case _0x3c0549[_0x512828(0x172)]:{this[_0x512828(0x20a)]();break;}case _0x3c0549['CHANGESET_SHOULD_RETRY']:{this['_onRemoteRetry'](_0x44d230['data']);break;}case _0x3c0549[_0x512828(0x116)]:{this[_0x512828(0x254)](_0x44d230[_0x512828(0x33d)][_0x512828(0x319)][_0x512828(0x373)](_0x5781d3=>_0x42b651(_0x5781d3)));break;}case _0x3c0549['PERMISSION_REJ']:{this['_onRemoteRejected']({'isPermissionRej':!0x0});break;}case _0x3c0549[_0x512828(0x140)]:break;}}catch(_0x4f3250){throw console[_0x512828(0x155)](_0x512828(0x331),_0x4f3250),_0x4f3250;}})),this[_0x4d1a3d(0x36e)];}[_0x4a7741(0x102)](){var _0x2a3cc0=_0x4a7741;this[_0x2a3cc0(0x13d)]=!0x1;}['_lockTransition'](){var _0x1ed5a2=_0x4a7741;if(this['_transitionLocked'])throw new Error(_0x1ed5a2(0xaf));this[_0x1ed5a2(0x13d)]=!0x0;}[_0x4a7741(0x186)](_0xe90bf7){var _0x58d3db=_0x4a7741;this[_0x58d3db(0x2c6)](),this[_0x58d3db(0x290)](this[_0x58d3db(0x36e)][_0x58d3db(0x34b)](_0xe90bf7)),this['_unlockTransition']();}[_0x4a7741(0x1ff)](_0x1e16de){var _0x2779aa=_0x4a7741;if(!(_0x1e16de[_0x2779aa(0x2bb)]<=this[_0x2779aa(0x106)][_0x2779aa(0x1cc)](this[_0x2779aa(0x19d)]))){if(this['_collaborationPaused']){this[_0x2779aa(0xea)][_0x2779aa(0xef)](_0x1e16de);return;}this[_0x2779aa(0x205)](_0x1e16de);}}[_0x4a7741(0x208)](){var _0x5075d6=_0x4a7741;this[_0x5075d6(0xea)][_0x5075d6(0x3a5)](_0x274d85=>this[_0x5075d6(0x205)](_0x274d85)),this[_0x5075d6(0xea)]=[];}['_applyRemoteChangeset'](_0x5beac4){var _0x48c2ea=_0x4a7741;const _0x559607=this[_0x48c2ea(0x1dd)][_0x48c2ea(0x19a)][_0x48c2ea(0x333)](this[_0x48c2ea(0x1dd)][_0x48c2ea(0x19a)][_0x48c2ea(0xa2)]()['COMPRESS_MUTATION_APPLY'])(_0x5beac4['mutations'],null)||_0x5beac4[_0x48c2ea(0xfe)],_0x5b3d87={..._0x5beac4,'mutations':_0x559607};this[_0x48c2ea(0x2c6)](),this[_0x48c2ea(0x290)](this[_0x48c2ea(0x36e)][_0x48c2ea(0x31b)](_0x5b3d87)),this[_0x48c2ea(0x102)]();}[_0x4a7741(0x353)](_0x4ee5d8){var _0x3b2264=_0x4a7741;this[_0x3b2264(0x2c6)](),this[_0x3b2264(0x290)](this[_0x3b2264(0x36e)][_0x3b2264(0x38e)](_0x4ee5d8)),this['_unlockTransition']();}[_0x4a7741(0x20a)](_0xff4038){var _0x52d01=_0x4a7741;this[_0x52d01(0x2c6)](),this[_0x52d01(0x290)](this[_0x52d01(0x36e)][_0x52d01(0x18b)](_0xff4038)),this[_0x52d01(0x102)]();}[_0x4a7741(0x307)](_0x348d20){var _0x4c1e0f=_0x4a7741;this[_0x4c1e0f(0x2c6)](),this[_0x4c1e0f(0x290)](this[_0x4c1e0f(0x36e)][_0x4c1e0f(0x362)](_0x348d20)),this[_0x4c1e0f(0x102)]();}[_0x4a7741(0x254)](_0x509c6e){var _0x4ca856=_0x4a7741;if(!(this['_state']instanceof te))throw new TypeError(_0x4ca856(0x2e7));const _0x16cf66=_0x509c6e[_0x4ca856(0x373)](_0x3c2f27=>{var _0x19952a=_0x4ca856;const _0x4a5358=this[_0x19952a(0x1dd)][_0x19952a(0x19a)][_0x19952a(0x333)](this[_0x19952a(0x1dd)]['interceptor'][_0x19952a(0xa2)]()['COMPRESS_MUTATION_APPLY'])(_0x3c2f27[_0x19952a(0xfe)],null)||_0x3c2f27[_0x19952a(0xfe)];return{..._0x3c2f27,'mutations':_0x4a5358};});this[_0x4ca856(0x2c6)](),this[_0x4ca856(0x290)](this[_0x4ca856(0x36e)][_0x4ca856(0x300)](_0x16cf66)),this[_0x4ca856(0x102)]();}[_0x4a7741(0x35f)](){var _0x5eb7ba=_0x4a7741;this['_lockTransition'](),this[_0x5eb7ba(0x290)](this[_0x5eb7ba(0x36e)][_0x5eb7ba(0x10d)]()),this[_0x5eb7ba(0x102)]();}['_toggleOnline'](_0x4ce01e=!0x1){var _0x36a3a3=_0x4a7741;this['_lockTransition'](),this[_0x36a3a3(0x290)](this[_0x36a3a3(0x36e)][_0x36a3a3(0x1c3)]()),this[_0x36a3a3(0x102)]();const _0x5e59ff=this[_0x36a3a3(0x36e)];_0x4ce01e&&_0x5e59ff instanceof Pe&&(this['_lockTransition'](),this[_0x36a3a3(0x290)](_0x5e59ff[_0x36a3a3(0x177)]()),this[_0x36a3a3(0x102)]());}async[_0x4a7741(0xe6)](){return new Promise(_0xa93390=>{var _0x332577=_0xda85;this[_0x332577(0x216)][_0x332577(0x30f)][_0x332577(0x35a)](_0x3beeef(0x1))[_0x332577(0x1ba)](async _0x172552=>{var _0x4fdc1c=_0x332577;_0xa93390(await this[_0x4fdc1c(0x390)](_0x172552===Ie[_0x4fdc1c(0x329)]));});});}['_createHandler'](){var _0x522182=_0x4a7741;const _0x172e01=this[_0x522182(0x19d)];return{'onStateChange':(_0x46bf84,_0xf80c97)=>{var _0xeeb90=_0x522182;if(_0x46bf84!==this['_state'])throw new Error(_0xeeb90(0x25c)+_0x46bf84[_0xeeb90(0x1ce)]+_0xeeb90(0x23c)+_0xf80c97['status']+_0xeeb90(0xdb)+this['_state']['status']);this[_0xeeb90(0x290)](_0xf80c97);},'onSendChangeset':_0x2f34a0=>{var _0x86c5ce=_0x522182;_0x2f34a0[_0x86c5ce(0x39c)]||(_0x2f34a0[_0x86c5ce(0x39c)]=this['_changesetSessionId'],_0x2f34a0['reqId']=++this[_0x86c5ce(0xc8)]);const _0x22793a={'eventID':_0x3c0549[_0x86c5ce(0xae)],'data':{'unitID':_0x2f34a0['unitID'],'unitType':this['_type'],'changeset':_0x2f34a0,'memberID':this['session'][_0x86c5ce(0xed)]()}};this[_0x86c5ce(0x216)][_0x86c5ce(0x313)](_0x22793a,this['unitID']);},'onMissingChangesets':({from:_0x599c8f,to:_0x102e8e})=>{var _0x4d899e=_0x522182;this[_0x4d899e(0xfa)][_0x4d899e(0x1b8)](_0x4d899e(0x2c5),'fetching\x20missing\x20changesets\x20from\x20'+_0x599c8f+_0x4d899e(0x141)+_0x102e8e);const _0x474851={'eventID':_0x3c0549['FETCH_MISSING'],'data':{'unitID':_0x172e01,'unitType':this[_0x4d899e(0x13e)],'from':_0x599c8f,'to':_0x102e8e}};this['session']['send'](_0x474851,this[_0x4d899e(0x19d)]);}};}async['_createInitialStateImpl'](_0x3e3bf4){var _0x112f0a=_0x4a7741,_0x352081,_0x5687a5,_0x31e8c6;const _0x55d512=await((_0x352081=this[_0x112f0a(0x38b)])==null?void 0x0:_0x352081['loadOfflineData'](this[_0x112f0a(0x19d)])),_0x4a11eb=(_0x5687a5=_0x55d512==null?void 0x0:_0x55d512[_0x112f0a(0xfe)])!=null?_0x5687a5:[],_0x38fa3e=(_0x31e8c6=_0x55d512==null?void 0x0:_0x55d512['awaitingChangeset'])!=null?_0x31e8c6:null,_0x2225f9=!!(_0x38fa3e!=null&&_0x38fa3e[_0x112f0a(0x39c)])&&!!(_0x38fa3e!=null&&_0x38fa3e['reqId']);this[_0x112f0a(0x235)]=_0x2225f9?_0x38fa3e[_0x112f0a(0x39c)]:fs(),this[_0x112f0a(0xc8)]=_0x2225f9?_0x38fa3e[_0x112f0a(0xdf)]:0x0;const _0x12bbb7=this[_0x112f0a(0x19d)];try{this[_0x112f0a(0x272)](_0x38fa3e,_0x4a11eb);}catch(_0x4a2129){this[_0x112f0a(0xfa)][_0x112f0a(0x155)](_0x4a2129);}const _0x3797ce=this[_0x112f0a(0x1aa)]();if(_0x3e3bf4){const _0xf0961a=Ni(this['_injector'],_0x12bbb7,this[_0x112f0a(0x13e)],_0x38fa3e,_0x4a11eb,_0x3797ce);return _0xf0961a instanceof re?_0xf0961a[_0x112f0a(0x28f)]():(_0xf0961a instanceof oe||_0xf0961a instanceof ue)&&_0xf0961a[_0x112f0a(0x3a0)](),_0xf0961a;}return this['_injector']['createInstance'](fe,_0x12bbb7,this[_0x112f0a(0x13e)],_0x38fa3e,_0x4a11eb,_0x3797ce);}['_replayCachedMutations'](_0x2b50b9,_0x1372e5){var _0x1a457b=_0x4a7741,_0x3eb95c,_0xdabb1b;const _0x13aa83=this[_0x1a457b(0x1dd)][_0x1a457b(0x19a)][_0x1a457b(0x333)](this[_0x1a457b(0x1dd)][_0x1a457b(0x19a)][_0x1a457b(0xa2)]()[_0x1a457b(0x325)]);(_0x3eb95c=_0x13aa83((_0x2b50b9==null?void 0x0:_0x2b50b9[_0x1a457b(0xfe)])||[],null))==null||_0x3eb95c[_0x1a457b(0x3a5)](_0x1290d3=>this[_0x1a457b(0xd4)][_0x1a457b(0x1b9)](_0x1290d3['id'],_0x1290d3[_0x1a457b(0xc6)])),(_0xdabb1b=_0x13aa83(_0x1372e5||[],null))==null||_0xdabb1b['forEach'](_0x386784=>this[_0x1a457b(0xd4)][_0x1a457b(0x1b9)](_0x386784['id'],_0x386784[_0x1a457b(0xc6)]));}};st=Mt([k(0x3,_0x33b12a(_0x907b7b)),k(0x4,_0x33b12a(_0x34e033)),k(0x5,_0x33b12a(_0x309f9d)),k(0x6,_0x33b12a(_0x42d2a1)),k(0x7,_0x33b12a(pe)),k(0x8,_0x15afa6),k(0x9,_0xc1c261),k(0xa,_0x5eb1c1),k(0xb,_0x13a27c(_t)),k(0xc,_0x13a27c(X))],st);let Ct=class extends st{constructor(_0x5ba82b,_0x388de9,_0x478bde,_0x44f812,_0x35ede6,_0xc035d1,_0x345998,_0x4b19e3,_0x282390,_0x5d9a38,_0xf23da3,_0x2d0f48,_0x9ed2db){var _0x408ba8=_0x4a7741;super(_0x5ba82b,_0x478bde,_0x388de9,_0x44f812,_0x35ede6,_0xc035d1,_0x345998,_0x4b19e3,_0x282390,_0x5d9a38,_0xf23da3,_0x2d0f48,_0x9ed2db),D(this,_0x408ba8(0x2f2),null),(this[_0x408ba8(0x19d)]=_0x5ba82b,this[_0x408ba8(0x27a)]=_0x388de9);}['addHandlerCallback'](_0x75f1a8){var _0x374513=_0x4a7741;this[_0x374513(0x2f2)]=_0x75f1a8;}[_0x4a7741(0x293)](){var _0x48ac09=_0x4a7741;this[_0x48ac09(0x2f2)]=null,super[_0x48ac09(0x293)]();}[_0x4a7741(0x1aa)](){var _0x3082eb=_0x4a7741;const _0x155ce7=super['_createHandler']();return _0x155ce7[_0x3082eb(0x164)]=_0x190036=>{var _0x19b7b7=_0x3082eb,_0x513db2,_0x375338;return(_0x375338=(_0x513db2=this[_0x19b7b7(0x2f2)])==null?void 0x0:_0x513db2['onTransformIME'])==null?void 0x0:_0x375338['call'](_0x513db2,_0x190036);},_0x155ce7[_0x3082eb(0x17c)]=_0x218c12=>{var _0x46b3b7=_0x3082eb,_0x341711,_0x7c50ad;return(_0x7c50ad=(_0x341711=this['_handlerCallback'])==null?void 0x0:_0x341711[_0x46b3b7(0x17c)])==null?void 0x0:_0x7c50ad['call'](_0x341711,_0x218c12);},_0x155ce7[_0x3082eb(0x2ff)]=_0xaa0a56=>{var _0x45f231=_0x3082eb,_0x57efab,_0x1b420a;return(_0x1b420a=(_0x57efab=this['_handlerCallback'])==null?void 0x0:_0x57efab[_0x45f231(0x2ff)])==null?void 0x0:_0x1b420a['call'](_0x57efab,_0xaa0a56);},_0x155ce7[_0x3082eb(0x324)]=_0x5b4884=>{var _0x143d10=_0x3082eb,_0x11b091,_0x30626f;return(_0x30626f=(_0x11b091=this[_0x143d10(0x2f2)])==null?void 0x0:_0x11b091['onSyncEditingCollabCursor'])==null?void 0x0:_0x30626f[_0x143d10(0x31e)](_0x11b091,_0x5b4884);},_0x155ce7[_0x3082eb(0x299)]=_0x3ece5f=>{var _0x4cf542=_0x3082eb,_0x2eaa1e,_0x5a693c,_0x760ce3;if(!((_0x2eaa1e=this[_0x4cf542(0x2f2)])!=null&&_0x2eaa1e[_0x4cf542(0x299)]))throw new Error('onTransformRemoteChangesetByIMECache\x20callback\x20is\x20not\x20added\x20yet.');return(_0x760ce3=(_0x5a693c=this[_0x4cf542(0x2f2)])==null?void 0x0:_0x5a693c['onTransformRemoteChangesetByIMECache'])==null?void 0x0:_0x760ce3[_0x4cf542(0x31e)](_0x5a693c,_0x3ece5f);},_0x155ce7[_0x3082eb(0x24e)]=_0x58239e=>{var _0x3685c0=_0x3082eb,_0xffd4df,_0x2932ba,_0x468b36;if(!((_0xffd4df=this[_0x3685c0(0x2f2)])!=null&&_0xffd4df['onTransformRemoteChangesetByStateCache']))throw new Error(_0x3685c0(0xe5));return(_0x468b36=(_0x2932ba=this[_0x3685c0(0x2f2)])==null?void 0x0:_0x2932ba[_0x3685c0(0x24e)])==null?void 0x0:_0x468b36[_0x3685c0(0x31e)](_0x2932ba,_0x58239e);},_0x155ce7;}async[_0x4a7741(0x15e)](){var _0x5de459=_0x4a7741;const _0x1c45a8=await super[_0x5de459(0x15e)]();return this[_0x5de459(0x249)](this[_0x5de459(0xd4)]['onCommandExecuted']((_0x83c3ed,_0x5c9c2b)=>{var _0x17dd1a=_0x5de459;if(_0x83c3ed[_0x17dd1a(0x27a)]!==_0x2ace15[_0x17dd1a(0x37f)]||_0x5c9c2b!=null&&_0x5c9c2b[_0x17dd1a(0x1ae)]||_0x5c9c2b!=null&&_0x5c9c2b[_0x17dd1a(0xd9)]||_0x83c3ed['id']===_0x47edee['id'])return;const _0x5c397f=_0x83c3ed[_0x17dd1a(0xc6)];if((_0x5c397f==null?void 0x0:_0x5c397f[_0x17dd1a(0x29d)])!==this[_0x17dd1a(0x19d)])return;const _0x2f6d95=_0x83c3ed,_0x5b9b3c=this['_compressMutationService'][_0x17dd1a(0x19a)][_0x17dd1a(0x333)](this['_compressMutationService']['interceptor']['getInterceptPoints']()[_0x17dd1a(0x16c)])([_0x2f6d95],null)||[_0x2f6d95];this['_onLocalMutation'](_0x5b9b3c[0x0]);})),_0x1c45a8;}};Ct=Mt([k(0x3,_0x33b12a(_0x907b7b)),k(0x4,_0x33b12a(_0x34e033)),k(0x5,_0x33b12a(_0x309f9d)),k(0x6,_0x33b12a(_0x42d2a1)),k(0x7,_0x33b12a(pe)),k(0x8,_0x15afa6),k(0x9,_0xc1c261),k(0xa,_0x5eb1c1),k(0xb,_0x13a27c(_t)),k(0xc,_0x13a27c(X))],Ct);let bt=class extends st{constructor(_0x21ed97,_0x132db5,_0x16b425,_0x47ecdf,_0x2655cb,_0x59b2d7,_0x4fbdef,_0x5cd691,_0x56607f,_0x4f5e2b,_0xab0cbb,_0x2c6195,_0xb7ff14,_0x147037){var _0x22a4b3=_0x4a7741;super(_0x21ed97,_0x16b425,_0x132db5,_0x47ecdf,_0x2655cb,_0x59b2d7,_0x4fbdef,_0x56607f,_0x4f5e2b,_0xab0cbb,_0x2c6195,_0xb7ff14,_0x147037),this[_0x22a4b3(0x19d)]=_0x21ed97,this[_0x22a4b3(0x27a)]=_0x132db5,this['_sheetTransformSelectionsService']=_0x5cd691;}[_0x4a7741(0x1aa)](){var _0x37acf6=_0x4a7741;const _0x4da293=super[_0x37acf6(0x1aa)]();return _0x4da293['onTransformSelections']=_0x24a037=>this[_0x37acf6(0x376)][_0x37acf6(0x259)](_0x24a037),_0x4da293;}async['_init'](){var _0xec3238=_0x4a7741;const _0x48acab=await super[_0xec3238(0x15e)]();return this[_0xec3238(0x249)](this[_0xec3238(0xd4)][_0xec3238(0x315)]((_0x12104c,_0x409e55)=>{var _0x5c4106=_0xec3238;if(_0x12104c['type']!==_0x2ace15[_0x5c4106(0x37f)]||_0x409e55!=null&&_0x409e55['fromCollab']||_0x409e55!=null&&_0x409e55[_0x5c4106(0xd9)])return;const _0x28f7cb=_0x12104c[_0x5c4106(0xc6)];if((_0x28f7cb==null?void 0x0:_0x28f7cb[_0x5c4106(0x29d)])!==this[_0x5c4106(0x19d)])return;const _0x4d1490=_0x12104c,_0x46988b=this[_0x5c4106(0x1dd)]['interceptor'][_0x5c4106(0x333)](this['_compressMutationService'][_0x5c4106(0x19a)][_0x5c4106(0xa2)]()[_0x5c4106(0x16c)])([_0x4d1490],null)||[_0x4d1490];this[_0x5c4106(0x186)](_0x46988b[0x0]);})),_0x48acab;}};bt=Mt([k(0x3,_0x33b12a(_0x907b7b)),k(0x4,_0x33b12a(_0x34e033)),k(0x5,_0x33b12a(_0x309f9d)),k(0x6,_0x33b12a(_0x42d2a1)),k(0x7,_0x33b12a(nt)),k(0x8,_0x33b12a(pe)),k(0x9,_0x15afa6),k(0xa,_0xc1c261),k(0xb,_0x5eb1c1),k(0xc,_0x13a27c(_t)),k(0xd,_0x13a27c(X))],bt);var ys=Object[_0x4a7741(0x1ac)],Os=Object[_0x4a7741(0xf3)],Ps=(_0x28696f,_0x5536a0,_0xd12523,_0x54948d)=>{var _0x2bc7b4=_0x4a7741;for(var _0x3afc91=_0x54948d>0x1?void 0x0:_0x54948d?Os(_0x5536a0,_0xd12523):_0x5536a0,_0x228273=_0x28696f[_0x2bc7b4(0x2f8)]-0x1,_0x3e79fe;_0x228273>=0x0;_0x228273--)(_0x3e79fe=_0x28696f[_0x228273])&&(_0x3afc91=(_0x54948d?_0x3e79fe(_0x5536a0,_0xd12523,_0x3afc91):_0x3e79fe(_0x3afc91))||_0x3afc91);return _0x54948d&&_0x3afc91&&ys(_0x5536a0,_0xd12523,_0x3afc91),_0x3afc91;},vt=(_0x1bc247,_0x17c86e)=>(_0x15acf4,_0x29a94e)=>_0x17c86e(_0x15acf4,_0x29a94e,_0x1bc247);let rt=class extends _0x537d0d{constructor(_0x561763,_0x27e5d8,_0x36cb3c){var _0x2a11a5=_0x4a7741;super(),D(this,_0x2a11a5(0x168),new Map()),D(this,'_entityInit$',new _0x2001de()),D(this,'entityInit$',this['_entityInit$'][_0x2a11a5(0x202)]()),(this[_0x2a11a5(0x2da)]=_0x561763,this[_0x2a11a5(0x100)]=_0x27e5d8,this[_0x2a11a5(0x178)]=_0x36cb3c,this[_0x2a11a5(0x15e)]());}['dispose'](){var _0x5a9f01=_0x4a7741;super[_0x5a9f01(0x293)](),this[_0x5a9f01(0x168)][_0x5a9f01(0x3a5)](_0x865fc8=>_0x865fc8[_0x5a9f01(0x293)]()),this['_entities']['clear']();}[_0x4a7741(0x2cf)](_0x5264c9){var _0x125599=_0x4a7741,_0x2a7043;return(_0x2a7043=this[_0x125599(0x168)][_0x125599(0x21f)](_0x5264c9))!=null?_0x2a7043:null;}[_0x4a7741(0x153)](_0x2e0018){var _0x49697a=_0x4a7741;const _0x577cd5=this[_0x49697a(0x2cf)](_0x2e0018);return _0x577cd5?_0xf8f271(_0x577cd5):this[_0x49697a(0x2d4)][_0x49697a(0x35a)](_0x239d59(_0x1d9e73=>_0x1d9e73['unitID']===_0x2e0018));}[_0x4a7741(0x2e1)](_0xeb220c){var _0x526cb8=_0x4a7741;return _0x15ef6d(this[_0x526cb8(0x153)](_0xeb220c)[_0x526cb8(0x35a)](_0x55950a(()=>{})));}[_0x4a7741(0x15e)](){var _0x363349=_0x4a7741;this[_0x363349(0x178)][_0x363349(0xab)](_0x2adb8a[_0x363349(0x19f)])[_0x363349(0x35a)](_0x1d894f(this[_0x363349(0x2e9)]),_0x4401d9(0x10))[_0x363349(0x1ba)](async _0x4409df=>{var _0x52bdc4=_0x363349;const _0x7d299a=_0x4409df[_0x52bdc4(0x2a4)](),_0x3be6f8=await this[_0x52bdc4(0x167)](_0x7d299a,Q['UNIVER_SHEET']);this[_0x52bdc4(0x168)]['set'](_0x7d299a,_0x3be6f8);}),this[_0x363349(0x178)][_0x363349(0xab)](_0x2adb8a[_0x363349(0x31a)])['pipe'](_0x1d894f(this[_0x363349(0x2e9)]),_0x4401d9(0x10))['pipe'](_0x239d59(_0x251c79=>!_0x251c79[_0x363349(0x2a4)]()[_0x363349(0x394)]('__')))[_0x363349(0x1ba)](async _0xd60385=>{var _0xaac7ad=_0x363349;const _0x814686=_0xd60385[_0xaac7ad(0x2a4)](),_0x1034cb=await this['_startCollaboration'](_0x814686,Q[_0xaac7ad(0x31a)]);this[_0xaac7ad(0x168)]['set'](_0x814686,_0x1034cb);}),_0x142a02(this[_0x363349(0x178)]['getTypeOfUnitDisposed$'](_0x2adb8a[_0x363349(0x19f)]),this[_0x363349(0x178)]['getTypeOfUnitDisposed$'](_0x2adb8a['UNIVER_DOC']))[_0x363349(0x35a)](_0x1d894f(this['dispose$']))[_0x363349(0x1ba)](_0x5cbcf7=>{var _0x17ed24=_0x363349;const _0x53fb47=_0x5cbcf7['getUnitId'](),_0x14b400=this[_0x17ed24(0x168)]['get'](_0x53fb47);_0x14b400&&(_0x14b400['dispose'](),this['_entities'][_0x17ed24(0x2ea)](_0x53fb47));});}async[_0x4a7741(0x167)](_0x49e5a6,_0x6946ce){var _0x98b634=_0x4a7741;const _0x191e99=await this[_0x98b634(0x100)][_0x98b634(0x2a3)](_0x49e5a6),_0x4fb375=this[_0x98b634(0x2da)][_0x98b634(0x26e)](this[_0x98b634(0x25f)](_0x6946ce),_0x49e5a6,_0x6946ce,_0x191e99);return await _0x4fb375[_0x98b634(0x2b8)](),this[_0x98b634(0x2d4)][_0x98b634(0x2c1)](_0x4fb375),_0x4fb375;}[_0x4a7741(0x25f)](_0x2c26db){var _0x2878e1=_0x4a7741;switch(_0x2c26db){case Q[_0x2878e1(0x31a)]:return Ct;case Q['UNIVER_SHEET']:return bt;default:throw new Error('[CollaborationController]:\x20invalid\x20univer\x20type:\x20'+_0x2c26db);}}};rt=Ps([vt(0x0,_0x33b12a(_0x907b7b)),vt(0x1,_0x33b12a(Me)),vt(0x2,_0x249ac8)],rt);var Ns=Object[_0x4a7741(0x1ac)],Ds=Object[_0x4a7741(0xf3)],ws=(_0x328afe,_0x4e1464,_0x203964,_0x3104ce)=>{var _0x2c5ed1=_0x4a7741;for(var _0x30e9a7=_0x3104ce>0x1?void 0x0:_0x3104ce?Ds(_0x4e1464,_0x203964):_0x4e1464,_0x322d28=_0x328afe[_0x2c5ed1(0x2f8)]-0x1,_0x557e51;_0x322d28>=0x0;_0x322d28--)(_0x557e51=_0x328afe[_0x322d28])&&(_0x30e9a7=(_0x3104ce?_0x557e51(_0x4e1464,_0x203964,_0x30e9a7):_0x557e51(_0x30e9a7))||_0x30e9a7);return _0x3104ce&&_0x30e9a7&&Ns(_0x4e1464,_0x203964,_0x30e9a7),_0x30e9a7;},Xt=(_0x498a61,_0xe1144e)=>(_0x32d9d7,_0x52a810)=>_0xe1144e(_0x32d9d7,_0x52a810,_0x498a61);const Us=_0x4a7741(0x1a9),As=_0x4a7741(0xd6);let Rt=class extends _0x3af27e{constructor(_0x5e15d,_0x2d3881){var _0x3db6c5=_0x4a7741;super(),this['_univerInstanceService']=_0x5e15d,this[_0x3db6c5(0x321)]=_0x2d3881,this[_0x3db6c5(0x15e)]();}[_0x4a7741(0x15e)](){var _0x37aa07=_0x4a7741;this['disposeWithMe'](this[_0x37aa07(0x178)][_0x37aa07(0x359)][_0x37aa07(0x1ba)](()=>{var _0x38aed9=_0x37aa07,_0x9013c4;const _0xe73eb9=this[_0x38aed9(0x178)][_0x38aed9(0x1b4)]();let _0x12de42=(_0x9013c4=this[_0x38aed9(0x321)]['getConfig'](Us))!=null?_0x9013c4:As;_0xe73eb9 instanceof _0x5aa39c&&(_0x12de42=_0xe73eb9[_0x38aed9(0xb6)]),document[_0x38aed9(0x17f)]=_0x12de42;}));}};Rt=ws([Xt(0x0,_0x249ac8),Xt(0x1,_0x243586)],Rt);var xs=Object['defineProperty'],Ls=Object['getOwnPropertyDescriptor'],Ms=(_0x3abb1a,_0x462514,_0x3cde08,_0x40be10)=>{var _0x38e753=_0x4a7741;for(var _0x3f8192=_0x40be10>0x1?void 0x0:_0x40be10?Ls(_0x462514,_0x3cde08):_0x462514,_0x224b52=_0x3abb1a[_0x38e753(0x2f8)]-0x1,_0x194456;_0x224b52>=0x0;_0x224b52--)(_0x194456=_0x3abb1a[_0x224b52])&&(_0x3f8192=(_0x40be10?_0x194456(_0x462514,_0x3cde08,_0x3f8192):_0x194456(_0x3f8192))||_0x3f8192);return _0x40be10&&_0x3f8192&&xs(_0x462514,_0x3cde08,_0x3f8192),_0x3f8192;},pt=(_0x3f78a0,_0x5f02ce)=>(_0x1ed675,_0x4271d3)=>_0x5f02ce(_0x1ed675,_0x4271d3,_0x3f78a0);let ot=class{constructor(_0x33ad91,_0x3ac040,_0x43ef8a){var _0xbcdfe9=_0x4a7741;this['_configService']=_0x33ad91,this[_0xbcdfe9(0x28b)]=_0x3ac040,this[_0xbcdfe9(0x196)]=_0x43ef8a,this[_0xbcdfe9(0x2b8)]();}['init'](){var _0x594724=_0x4a7741;this['_httpService'][_0x594724(0x361)]({'priority':0x1,'interceptor':(_0x1df3f2,_0x32a258)=>_0x32a258(_0x1df3f2)['pipe'](_0x412d92(async _0x31b7ab=>{var _0x42fab6=_0x594724;const _0x2e6165=_0x31b7ab;if(_0x2e6165[_0x42fab6(0x1ce)]===0x191){if(typeof window>'u')throw new Error('[AuthServerService]:\x20you\x20should\x20provide\x20authentication\x20info\x20on\x20Node.js.');if(window['confirm'](this[_0x42fab6(0x196)]['t'](_0x42fab6(0x2c8)))){const _0xa325b8=window[_0x42fab6(0x134)](window['location']['href']);window[_0x42fab6(0xbb)]['href']=this[_0x42fab6(0x138)]()+_0x42fab6(0x2fe)+_0xa325b8;}}return _0x2e6165;}))});}[_0x4a7741(0x138)](){var _0x1755c8=_0x4a7741,_0x5e2f96,_0x1cb086;const _0x314390=this['_configService']['getConfig'](Fn),_0x3e1194=this[_0x1755c8(0x321)][_0x1755c8(0x399)](Y);return(_0x1cb086=(_0x5e2f96=_0x3e1194==null?void 0x0:_0x3e1194['loginUrlKey'])!=null?_0x5e2f96:_0x314390)!=null?_0x1cb086:Vn;}};ot=Ms([pt(0x0,_0x243586),pt(0x1,_0x33b12a(_0x23500e)),pt(0x2,_0x33b12a(_0x309f9d))],ot);var $s=Object[_0x4a7741(0x1ac)],Hs=Object[_0x4a7741(0xf3)],ks=(_0x14b674,_0x4838b0,_0x51635a,_0x36dfb1)=>{var _0x381022=_0x4a7741;for(var _0x901294=_0x36dfb1>0x1?void 0x0:_0x36dfb1?Hs(_0x4838b0,_0x51635a):_0x4838b0,_0x4fb620=_0x14b674[_0x381022(0x2f8)]-0x1,_0x651d86;_0x4fb620>=0x0;_0x4fb620--)(_0x651d86=_0x14b674[_0x4fb620])&&(_0x901294=(_0x36dfb1?_0x651d86(_0x4838b0,_0x51635a,_0x901294):_0x651d86(_0x901294))||_0x901294);return _0x36dfb1&&_0x901294&&$s(_0x4838b0,_0x51635a,_0x901294),_0x901294;},Zt=(_0x20b9dc,_0x5c8859)=>(_0x1444b8,_0x3f60cd)=>_0x5c8859(_0x1444b8,_0x3f60cd,_0x20b9dc);const Di='AUTHZ_URL_KEY',js='/universer-api/authz';let yt=class extends _0x3af27e{constructor(_0x1054b9,_0x17bb29){var _0x5b9119=_0x4a7741;super(),this[_0x5b9119(0x30d)]=_0x1054b9,this[_0x5b9119(0x321)]=_0x17bb29,this['_initMergeInterceptor']();}[_0x4a7741(0x232)](){var _0x2b40c3=_0x4a7741;const _0x545ac2=this;this[_0x2b40c3(0x249)](this[_0x2b40c3(0x30d)][_0x2b40c3(0x361)]({'priority':0x3e7,'interceptor':_0x25966a({'isMatch'(_0x52a274){var _0x4d1c40=_0x2b40c3,_0x5e49df;if(_0x52a274[_0x4d1c40(0x279)]===_0x4d1c40(0x339)&&((_0x5e49df=_0x52a274[_0x4d1c40(0x2f9)])!=null&&_0x5e49df[_0x4d1c40(0x157)])){const {objectID:_0x212f31,objectType:_0x54d048}=_0x52a274[_0x4d1c40(0x2f9)][_0x4d1c40(0x157)]||{};if(!_0x212f31||_0x54d048===void 0x0)return!0x1;const _0x2fae07=_0x545ac2[_0x4d1c40(0xcd)]()+'/'+_0x54d048+'/object/'+_0x212f31+_0x4d1c40(0x261);if(_0x52a274[_0x4d1c40(0x24f)]===_0x2fae07)return!0x0;}return!0x1;},'getParamsFromRequest'(_0x206123){var _0x77e7c4=_0x2b40c3,_0x413df9;return(_0x413df9=_0x206123[_0x77e7c4(0x2f9)])==null?void 0x0:_0x413df9['body'];},'mergeParamsToRequest'(_0x40b99c,_0x40404a){var _0x4b4262=_0x2b40c3;const _0x2b611a=_0x545ac2[_0x4b4262(0xcd)]()+_0x4b4262(0x29b),_0x4d18bf=_0x40b99c[_0x4b4262(0x364)]((_0x4edc57,_0x5b5f96)=>{var _0xc78b37=_0x4b4262;const {unitID:_0x1145be,objectID:_0x571493,objectType:_0x303314,actions:_0x5bf378}=_0x5b5f96;return _0x4edc57[_0x1145be]||(_0x4edc57[_0x1145be]={}),_0x4edc57[_0x1145be][_0x571493]||(_0x4edc57[_0x1145be][_0x571493]={'objectID':_0x571493,'objectType':_0x303314,'actions':[]}),_0x4edc57[_0x1145be][_0x571493]['actions'][_0xc78b37(0xef)](..._0x5bf378),_0x4edc57;},{}),_0x3530b1=[];for(const _0x120ebb in _0x4d18bf)for(const _0x1f54fe in _0x4d18bf[_0x120ebb]){const {actions:_0x10d202,objectType:_0x35b5ce}=_0x4d18bf[_0x120ebb][_0x1f54fe],_0x31b6a1=[...new Set(_0x10d202)];_0x3530b1[_0x4b4262(0xef)]({'unitID':_0x120ebb,'objectID':_0x1f54fe,'objectType':_0x35b5ce,'actions':_0x31b6a1});}return new _0x39b5d6(_0x4b4262(0x339),_0x2b611a,{'headers':_0x40404a[_0x4b4262(0x18a)],'withCredentials':_0x40404a[_0x4b4262(0x2db)],'responseType':_0x40404a['responseType'],'body':{'requests':_0x3530b1}});}},{'distributeResult'(_0xbedc7e,_0x2ede26){const {objectActions:_0xd27035}=_0xbedc7e;return _0x2ede26['map'](_0x3c668b=>{var _0x53c0c5=_0xda85;const {unitID:_0x1ff151,objectID:_0x4d953d,actions:_0x148d18}=_0x3c668b,_0x2fa783=_0xd27035[_0x53c0c5(0x1f5)](_0x58da8e=>_0x58da8e[_0x53c0c5(0x19d)]===_0x1ff151&&_0x58da8e[_0x53c0c5(0x246)]===_0x4d953d),_0x599ee2=_0x148d18[_0x53c0c5(0x373)](_0x30af76=>_0x2fa783==null?void 0x0:_0x2fa783[_0x53c0c5(0x360)]['find'](_0x1eef5b=>_0x1eef5b['action']===_0x30af76))[_0x53c0c5(0x2cd)](_0x2a0605=>!!_0x2a0605);return{'config':_0x3c668b,'result':{'actions':_0x599ee2,'error':_0xbedc7e['error']}};});}})}));}['_getAPIPrefixPath'](){var _0x3faf12=_0x4a7741,_0x26d4db,_0x5572d5;const _0x3f95af=this['_configService'][_0x3faf12(0x399)](Di),_0x4ab2a0=this[_0x3faf12(0x321)][_0x3faf12(0x399)](Y);return(_0x5572d5=(_0x26d4db=_0x4ab2a0==null?void 0x0:_0x4ab2a0[_0x3faf12(0x398)])!=null?_0x26d4db:_0x3f95af)!=null?_0x5572d5:js;}async[_0x4a7741(0x1d7)](_0xd0b912){var _0x257aa4=_0x4a7741;const _0x7bce53=this[_0x257aa4(0xcd)]()+'/'+_0xd0b912['objectType']+'/object';return(await this[_0x257aa4(0x30d)][_0x257aa4(0x27e)](_0x7bce53,{'body':_0xd0b912}))[_0x257aa4(0x157)]['objectID']||'';}async[_0x4a7741(0x365)](_0xaab861){var _0x54505b=_0x4a7741;const _0x20b5f0=this['_getAPIPrefixPath']()+'/-/object/list';return(await this['_HTTPService']['post'](_0x20b5f0,{'body':_0xaab861}))[_0x54505b(0x157)][_0x54505b(0x215)];}async[_0x4a7741(0xd3)](_0x4f94d0){var _0x4e6cdf=_0x4a7741;const _0x59dceb=this[_0x4e6cdf(0xcd)]()+'/'+_0x4f94d0[_0x4e6cdf(0x2f3)]+_0x4e6cdf(0x214)+_0x4f94d0[_0x4e6cdf(0x246)];await this[_0x4e6cdf(0x30d)][_0x4e6cdf(0x2c7)](_0x59dceb,{'body':_0x4f94d0});}async[_0x4a7741(0x128)](_0x2c9aa6){var _0x1f8190=_0x4a7741;const _0x4bbd25=this['_getAPIPrefixPath']()+'/'+_0x2c9aa6[_0x1f8190(0x2f3)]+_0x1f8190(0x214)+_0x2c9aa6[_0x1f8190(0x246)]+'/allowed';return(await this[_0x1f8190(0x30d)]['post'](_0x4bbd25,{'body':_0x2c9aa6}))[_0x1f8190(0x157)][_0x1f8190(0x360)];}async[_0x4a7741(0x220)](_0x3014ac){var _0x27a6b4=_0x4a7741;const _0x3dca91=this['_getAPIPrefixPath']()+_0x27a6b4(0x29b);return(await this[_0x27a6b4(0x30d)]['post'](_0x3dca91,{'body':{'requests':_0x3014ac}}))[_0x27a6b4(0x157)]['objectActions'];}async[_0x4a7741(0x37a)](_0x184f18){var _0x2a224b=_0x4a7741;const _0x8e9542=this['_getAPIPrefixPath']()+'/'+_0x184f18[_0x2a224b(0x2f3)]+_0x2a224b(0x241),_0x59b167=await this[_0x2a224b(0x30d)][_0x2a224b(0x27e)](_0x8e9542,{'body':_0x184f18});return{'roles':_0x59b167[_0x2a224b(0x157)]['roles'],'actions':_0x59b167[_0x2a224b(0x157)][_0x2a224b(0x360)]};}async[_0x4a7741(0x2a2)](_0x31a529){var _0x28c17f=_0x4a7741;const _0x5cf804=this[_0x28c17f(0xcd)]()+'/collaborator';await this[_0x28c17f(0x30d)][_0x28c17f(0x2ea)](_0x5cf804,{'params':{'collaboratorID':_0x31a529[_0x28c17f(0x39d)],'objectID':_0x31a529['objectID'],'unitID':_0x31a529[_0x28c17f(0x19d)]}});}async[_0x4a7741(0x19c)](_0x21fc31){var _0x25723e=_0x4a7741;const _0x4cd681=this[_0x25723e(0xcd)]()+_0x25723e(0x11c);await this[_0x25723e(0x30d)][_0x25723e(0x115)](_0x4cd681,{'body':_0x21fc31});}async[_0x4a7741(0x287)](_0x2b1525){var _0x222993=_0x4a7741;const _0x3fa6a4=this[_0x222993(0xcd)]()+_0x222993(0x11c);await this[_0x222993(0x30d)]['post'](_0x3fa6a4,{'body':_0x2b1525});}async[_0x4a7741(0x29e)](_0x55e72b){var _0x3c80c7=_0x4a7741;const _0x56e5fb=this[_0x3c80c7(0xcd)]()+_0x3c80c7(0x11c);return(await this[_0x3c80c7(0x30d)][_0x3c80c7(0x21f)](_0x56e5fb,{'params':{'objectID':_0x55e72b[_0x3c80c7(0x246)],'unitID':_0x55e72b[_0x3c80c7(0x19d)]}}))['body'][_0x3c80c7(0x20e)];}async['putCollaborators'](_0x4932d9){var _0x5c4185=_0x4a7741;const _0x1975ab=this[_0x5c4185(0xcd)]()+_0x5c4185(0x11c);await this['_HTTPService'][_0x5c4185(0x2c7)](_0x1975ab,{'body':_0x4932d9});}};yt=ks([Zt(0x0,_0x33b12a(_0x23500e)),Zt(0x1,_0x33b12a(_0x243586))],yt);var mt=typeof globalThis<'u'?globalThis:typeof window<'u'?window:typeof global<'u'?global:typeof self<'u'?self:{};function je(_0x447204){var _0x57abe2=_0x4a7741;return _0x447204&&_0x447204['__esModule']&&Object[_0x57abe2(0x1ec)][_0x57abe2(0x1ee)][_0x57abe2(0x31e)](_0x447204,_0x57abe2(0x2d5))?_0x447204[_0x57abe2(0x2d5)]:_0x447204;}var We={'exports':{}};function Bs(_0x103446){var _0x10892f=_0x4a7741;throw new Error('Could\x20not\x20dynamically\x20require\x20\x22'+_0x103446+_0x10892f(0xb8));}var Ge={'exports':{}},Fs=Ge[_0x4a7741(0xda)],Qt;function ne(){var _0x1ada41=_0x4a7741;return Qt||(Qt=0x1,function(_0x5f1b25,_0xffa35b){(function(_0x3fac74,_0x3c5e26){var _0x44c534=_0xda85;_0x5f1b25[_0x44c534(0xda)]=_0x3c5e26();}(Fs,function(){var _0x582196=_0x582196||function(_0xc1ae89,_0x38915c){var _0x4e6aba=_0xda85,_0x5461d8;if(typeof window<'u'&&window[_0x4e6aba(0x35b)]&&(_0x5461d8=window['crypto']),typeof self<'u'&&self[_0x4e6aba(0x35b)]&&(_0x5461d8=self[_0x4e6aba(0x35b)]),typeof globalThis<'u'&&globalThis['crypto']&&(_0x5461d8=globalThis[_0x4e6aba(0x35b)]),!_0x5461d8&&typeof window<'u'&&window['msCrypto']&&(_0x5461d8=window[_0x4e6aba(0x26a)]),!_0x5461d8&&typeof mt<'u'&&mt[_0x4e6aba(0x35b)]&&(_0x5461d8=mt[_0x4e6aba(0x35b)]),!_0x5461d8&&typeof Bs==_0x4e6aba(0x156))try{_0x5461d8=require(_0x4e6aba(0x35b));}catch{}var _0x520103=function(){var _0x7c56e3=_0x4e6aba;if(_0x5461d8){if(typeof _0x5461d8[_0x7c56e3(0x248)]==_0x7c56e3(0x156))try{return _0x5461d8[_0x7c56e3(0x248)](new Uint32Array(0x1))[0x0];}catch{}if(typeof _0x5461d8[_0x7c56e3(0xf4)]==_0x7c56e3(0x156))try{return _0x5461d8['randomBytes'](0x4)['readInt32LE']();}catch{}}throw new Error(_0x7c56e3(0x341));},_0x3dea77=Object[_0x4e6aba(0x1d7)]||(function(){function _0x7e3af0(){}return function(_0x20b921){var _0x3ac24e=_0xda85,_0x1fcef8;return _0x7e3af0[_0x3ac24e(0x1ec)]=_0x20b921,_0x1fcef8=new _0x7e3af0(),_0x7e3af0['prototype']=null,_0x1fcef8;};}()),_0x45e85c={},_0x5e7c45=_0x45e85c[_0x4e6aba(0x2d0)]={},_0x45151f=_0x5e7c45[_0x4e6aba(0x15a)]=(function(){return{'extend':function(_0xf0e898){var _0x21ee26=_0xda85,_0x5b7078=_0x3dea77(this);return _0xf0e898&&_0x5b7078['mixIn'](_0xf0e898),(!_0x5b7078[_0x21ee26(0x1ee)](_0x21ee26(0x2b8))||this[_0x21ee26(0x2b8)]===_0x5b7078[_0x21ee26(0x2b8)])&&(_0x5b7078[_0x21ee26(0x2b8)]=function(){var _0x249df4=_0x21ee26;_0x5b7078['$super'][_0x249df4(0x2b8)][_0x249df4(0x2c2)](this,arguments);}),_0x5b7078[_0x21ee26(0x2b8)][_0x21ee26(0x1ec)]=_0x5b7078,_0x5b7078['$super']=this,_0x5b7078;},'create':function(){var _0x90a9f9=_0xda85,_0x244093=this[_0x90a9f9(0x227)]();return _0x244093[_0x90a9f9(0x2b8)][_0x90a9f9(0x2c2)](_0x244093,arguments),_0x244093;},'init':function(){},'mixIn':function(_0x458d0a){var _0x4f68c2=_0xda85;for(var _0x109bd1 in _0x458d0a)_0x458d0a['hasOwnProperty'](_0x109bd1)&&(this[_0x109bd1]=_0x458d0a[_0x109bd1]);_0x458d0a[_0x4f68c2(0x1ee)](_0x4f68c2(0x2d3))&&(this[_0x4f68c2(0x2d3)]=_0x458d0a[_0x4f68c2(0x2d3)]);},'clone':function(){var _0x55ebd7=_0xda85;return this[_0x55ebd7(0x2b8)][_0x55ebd7(0x1ec)][_0x55ebd7(0x227)](this);}};}()),_0x151909=_0x5e7c45['WordArray']=_0x45151f[_0x4e6aba(0x227)]({'init':function(_0x26dbd5,_0xb9f2db){var _0xcfd1e9=_0x4e6aba;_0x26dbd5=this[_0xcfd1e9(0x169)]=_0x26dbd5||[],_0xb9f2db!=_0x38915c?this['sigBytes']=_0xb9f2db:this['sigBytes']=_0x26dbd5['length']*0x4;},'toString':function(_0x248ab7){var _0x329543=_0x4e6aba;return(_0x248ab7||_0x42df5e)[_0x329543(0x32d)](this);},'concat':function(_0x57043b){var _0x136053=_0x4e6aba,_0x337999=this[_0x136053(0x169)],_0x2483a3=_0x57043b[_0x136053(0x169)],_0x945f54=this[_0x136053(0x1cf)],_0xb2460a=_0x57043b[_0x136053(0x1cf)];if(this['clamp'](),_0x945f54%0x4)for(var _0x252735=0x0;_0x252735<_0xb2460a;_0x252735++){var _0x159c5f=_0x2483a3[_0x252735>>>0x2]>>>0x18-_0x252735%0x4*0x8&0xff;_0x337999[_0x945f54+_0x252735>>>0x2]|=_0x159c5f<<0x18-(_0x945f54+_0x252735)%0x4*0x8;}else{for(var _0x5e23b7=0x0;_0x5e23b7<_0xb2460a;_0x5e23b7+=0x4)_0x337999[_0x945f54+_0x5e23b7>>>0x2]=_0x2483a3[_0x5e23b7>>>0x2];}return this[_0x136053(0x1cf)]+=_0xb2460a,this;},'clamp':function(){var _0x35e77b=_0x4e6aba,_0x51afdd=this[_0x35e77b(0x169)],_0x373ee6=this[_0x35e77b(0x1cf)];_0x51afdd[_0x373ee6>>>0x2]&=0xffffffff<<0x20-_0x373ee6%0x4*0x8,_0x51afdd[_0x35e77b(0x2f8)]=_0xc1ae89[_0x35e77b(0x226)](_0x373ee6/0x4);},'clone':function(){var _0x54d968=_0x4e6aba,_0x40bff6=_0x45151f[_0x54d968(0x3a1)]['call'](this);return _0x40bff6['words']=this['words'][_0x54d968(0x3a7)](0x0),_0x40bff6;},'random':function(_0xd3785e){var _0x583211=_0x4e6aba;for(var _0x48d30a=[],_0x261bce=0x0;_0x261bce<_0xd3785e;_0x261bce+=0x4)_0x48d30a[_0x583211(0xef)](_0x520103());return new _0x151909[(_0x583211(0x2b8))](_0x48d30a,_0xd3785e);}}),_0x5880cf=_0x45e85c['enc']={},_0x42df5e=_0x5880cf[_0x4e6aba(0x2b2)]={'stringify':function(_0x4e9c14){var _0x1b8b9a=_0x4e6aba;for(var _0xd32e02=_0x4e9c14[_0x1b8b9a(0x169)],_0x96347d=_0x4e9c14[_0x1b8b9a(0x1cf)],_0x444a9e=[],_0x28a75f=0x0;_0x28a75f<_0x96347d;_0x28a75f++){var _0x30a0ea=_0xd32e02[_0x28a75f>>>0x2]>>>0x18-_0x28a75f%0x4*0x8&0xff;_0x444a9e[_0x1b8b9a(0xef)]((_0x30a0ea>>>0x4)[_0x1b8b9a(0x2d3)](0x10)),_0x444a9e['push']((_0x30a0ea&0xf)[_0x1b8b9a(0x2d3)](0x10));}return _0x444a9e[_0x1b8b9a(0x385)]('');},'parse':function(_0x5c459e){var _0x58d34c=_0x4e6aba;for(var _0x37b6aa=_0x5c459e[_0x58d34c(0x2f8)],_0x390689=[],_0x3d3a3b=0x0;_0x3d3a3b<_0x37b6aa;_0x3d3a3b+=0x2)_0x390689[_0x3d3a3b>>>0x3]|=parseInt(_0x5c459e[_0x58d34c(0x271)](_0x3d3a3b,0x2),0x10)<<0x18-_0x3d3a3b%0x8*0x4;return new _0x151909[(_0x58d34c(0x2b8))](_0x390689,_0x37b6aa/0x2);}},_0x459e1b=_0x5880cf[_0x4e6aba(0x132)]={'stringify':function(_0x442919){var _0x5ec555=_0x4e6aba;for(var _0x14eec0=_0x442919[_0x5ec555(0x169)],_0x47da64=_0x442919[_0x5ec555(0x1cf)],_0xeb8678=[],_0x41ceaf=0x0;_0x41ceaf<_0x47da64;_0x41ceaf++){var _0x1f72e5=_0x14eec0[_0x41ceaf>>>0x2]>>>0x18-_0x41ceaf%0x4*0x8&0xff;_0xeb8678[_0x5ec555(0xef)](String[_0x5ec555(0x174)](_0x1f72e5));}return _0xeb8678[_0x5ec555(0x385)]('');},'parse':function(_0x2b231c){var _0x5d6b30=_0x4e6aba;for(var _0x49e203=_0x2b231c[_0x5d6b30(0x2f8)],_0x3768f7=[],_0xb842ce=0x0;_0xb842ce<_0x49e203;_0xb842ce++)_0x3768f7[_0xb842ce>>>0x2]|=(_0x2b231c[_0x5d6b30(0x233)](_0xb842ce)&0xff)<<0x18-_0xb842ce%0x4*0x8;return new _0x151909[(_0x5d6b30(0x2b8))](_0x3768f7,_0x49e203);}},_0x34ef53=_0x5880cf[_0x4e6aba(0x21a)]={'stringify':function(_0x369a17){var _0x3de96b=_0x4e6aba;try{return decodeURIComponent(escape(_0x459e1b[_0x3de96b(0x32d)](_0x369a17)));}catch{throw new Error(_0x3de96b(0x1c6));}},'parse':function(_0x33e75e){var _0x20db96=_0x4e6aba;return _0x459e1b[_0x20db96(0xd5)](unescape(encodeURIComponent(_0x33e75e)));}},_0x1571f9=_0x5e7c45[_0x4e6aba(0x18f)]=_0x45151f[_0x4e6aba(0x227)]({'reset':function(){var _0xb13e92=_0x4e6aba;this['_data']=new _0x151909[(_0xb13e92(0x2b8))](),this[_0xb13e92(0x24d)]=0x0;},'_append':function(_0x1062f3){var _0x20ba2e=_0x4e6aba;typeof _0x1062f3==_0x20ba2e(0x9b)&&(_0x1062f3=_0x34ef53[_0x20ba2e(0xd5)](_0x1062f3)),this[_0x20ba2e(0x380)][_0x20ba2e(0x105)](_0x1062f3),this[_0x20ba2e(0x24d)]+=_0x1062f3['sigBytes'];},'_process':function(_0x18791a){var _0x212c9f=_0x4e6aba,_0x22a2fb,_0x232c6f=this[_0x212c9f(0x380)],_0x2bc341=_0x232c6f['words'],_0x51fd90=_0x232c6f[_0x212c9f(0x1cf)],_0x2c4afa=this['blockSize'],_0x95b58e=_0x2c4afa*0x4,_0x1e243d=_0x51fd90/_0x95b58e;_0x18791a?_0x1e243d=_0xc1ae89['ceil'](_0x1e243d):_0x1e243d=_0xc1ae89[_0x212c9f(0x107)]((_0x1e243d|0x0)-this[_0x212c9f(0xe9)],0x0);var _0xb9a904=_0x1e243d*_0x2c4afa,_0x2e5379=_0xc1ae89[_0x212c9f(0x3a8)](_0xb9a904*0x4,_0x51fd90);if(_0xb9a904){for(var _0x1f06c1=0x0;_0x1f06c1<_0xb9a904;_0x1f06c1+=_0x2c4afa)this['_doProcessBlock'](_0x2bc341,_0x1f06c1);_0x22a2fb=_0x2bc341['splice'](0x0,_0xb9a904),_0x232c6f[_0x212c9f(0x1cf)]-=_0x2e5379;}return new _0x151909[(_0x212c9f(0x2b8))](_0x22a2fb,_0x2e5379);},'clone':function(){var _0x170e56=_0x4e6aba,_0xbea594=_0x45151f['clone'][_0x170e56(0x31e)](this);return _0xbea594[_0x170e56(0x380)]=this['_data']['clone'](),_0xbea594;},'_minBufferSize':0x0});_0x5e7c45[_0x4e6aba(0x304)]=_0x1571f9[_0x4e6aba(0x227)]({'cfg':_0x45151f[_0x4e6aba(0x227)](),'init':function(_0x371403){var _0x1d4f56=_0x4e6aba;this[_0x1d4f56(0xce)]=this[_0x1d4f56(0xce)][_0x1d4f56(0x227)](_0x371403),this[_0x1d4f56(0xf9)]();},'reset':function(){var _0x3bc515=_0x4e6aba;_0x1571f9['reset'][_0x3bc515(0x31e)](this),this['_doReset']();},'update':function(_0x3d5c8a){var _0x44b9da=_0x4e6aba;return this[_0x44b9da(0x276)](_0x3d5c8a),this[_0x44b9da(0x14b)](),this;},'finalize':function(_0x1ffd4f){var _0x43a4a7=_0x4e6aba;_0x1ffd4f&&this[_0x43a4a7(0x276)](_0x1ffd4f);var _0x4e1491=this[_0x43a4a7(0x20b)]();return _0x4e1491;},'blockSize':0x10,'_createHelper':function(_0x270e0f){return function(_0x47a586,_0x90bb0d){var _0x7e642b=_0xda85;return new _0x270e0f['init'](_0x90bb0d)[_0x7e642b(0x1a2)](_0x47a586);};},'_createHmacHelper':function(_0x16b730){return function(_0x4652a9,_0x2e8cba){var _0x50722a=_0xda85;return new _0x11cfd9[(_0x50722a(0x3a6))]['init'](_0x16b730,_0x2e8cba)[_0x50722a(0x1a2)](_0x4652a9);};}});var _0x11cfd9=_0x45e85c['algo']={};return _0x45e85c;}(Math);return _0x582196;}));}(Ge)),Ge[_0x1ada41(0xda)];}var Ke={'exports':{}},Vs=Ke[_0x4a7741(0xda)],ei;function wi(){var _0x143519=_0x4a7741;return ei||(ei=0x1,function(_0x157e75,_0x4f356d){(function(_0xeedbb9,_0x3dd494){var _0x1b7531=_0xda85;_0x157e75[_0x1b7531(0xda)]=_0x3dd494(ne());}(Vs,function(_0x23bbc5){var _0x336dbe=_0xda85;return(function(){var _0x41b0ec=_0xda85,_0x20e214=_0x23bbc5,_0x431449=_0x20e214[_0x41b0ec(0x2d0)],_0x43dd29=_0x431449['WordArray'],_0xbf3c5d=_0x20e214[_0x41b0ec(0x27d)];_0xbf3c5d[_0x41b0ec(0x148)]={'stringify':function(_0x406c12){var _0x2b2b1d=_0x41b0ec,_0x22f2f2=_0x406c12[_0x2b2b1d(0x169)],_0x5d7546=_0x406c12['sigBytes'],_0x45fdbe=this['_map'];_0x406c12[_0x2b2b1d(0x334)]();for(var _0x3862f5=[],_0x36c954=0x0;_0x36c954<_0x5d7546;_0x36c954+=0x3)for(var _0x57d196=_0x22f2f2[_0x36c954>>>0x2]>>>0x18-_0x36c954%0x4*0x8&0xff,_0x1cc904=_0x22f2f2[_0x36c954+0x1>>>0x2]>>>0x18-(_0x36c954+0x1)%0x4*0x8&0xff,_0x238ed2=_0x22f2f2[_0x36c954+0x2>>>0x2]>>>0x18-(_0x36c954+0x2)%0x4*0x8&0xff,_0xae1a6a=_0x57d196<<0x10|_0x1cc904<<0x8|_0x238ed2,_0x2eb286=0x0;_0x2eb286<0x4&&_0x36c954+_0x2eb286*0.75<_0x5d7546;_0x2eb286++)_0x3862f5[_0x2b2b1d(0xef)](_0x45fdbe[_0x2b2b1d(0x1e1)](_0xae1a6a>>>0x6*(0x3-_0x2eb286)&0x3f));var _0x5d7d05=_0x45fdbe[_0x2b2b1d(0x1e1)](0x40);if(_0x5d7d05){for(;_0x3862f5[_0x2b2b1d(0x2f8)]%0x4;)_0x3862f5['push'](_0x5d7d05);}return _0x3862f5[_0x2b2b1d(0x385)]('');},'parse':function(_0x4ae0a4){var _0x1cadda=_0x41b0ec,_0x453340=_0x4ae0a4[_0x1cadda(0x2f8)],_0x5bc142=this[_0x1cadda(0x250)],_0x294873=this[_0x1cadda(0x98)];if(!_0x294873){_0x294873=this[_0x1cadda(0x98)]=[];for(var _0x5b8337=0x0;_0x5b8337<_0x5bc142[_0x1cadda(0x2f8)];_0x5b8337++)_0x294873[_0x5bc142[_0x1cadda(0x233)](_0x5b8337)]=_0x5b8337;}var _0x4517cb=_0x5bc142['charAt'](0x40);if(_0x4517cb){var _0x39f381=_0x4ae0a4[_0x1cadda(0x146)](_0x4517cb);_0x39f381!==-0x1&&(_0x453340=_0x39f381);}return _0x45b05b(_0x4ae0a4,_0x453340,_0x294873);},'_map':_0x41b0ec(0x1f9)};function _0x45b05b(_0x44592d,_0x31ecb7,_0x3af2e4){var _0x42a14e=_0x41b0ec;for(var _0x47f2e0=[],_0x457089=0x0,_0x2eed60=0x0;_0x2eed60<_0x31ecb7;_0x2eed60++)if(_0x2eed60%0x4){var _0x318535=_0x3af2e4[_0x44592d[_0x42a14e(0x233)](_0x2eed60-0x1)]<<_0x2eed60%0x4*0x2,_0x1305f7=_0x3af2e4[_0x44592d[_0x42a14e(0x233)](_0x2eed60)]>>>0x6-_0x2eed60%0x4*0x2,_0x4a2f12=_0x318535|_0x1305f7;_0x47f2e0[_0x457089>>>0x2]|=_0x4a2f12<<0x18-_0x457089%0x4*0x8,_0x457089++;}return _0x43dd29[_0x42a14e(0x1d7)](_0x47f2e0,_0x457089);}}()),_0x23bbc5[_0x336dbe(0x27d)][_0x336dbe(0x148)];}));}(Ke)),Ke[_0x143519(0xda)];}var ze={'exports':{}},Ws=ze[_0x4a7741(0xda)],ti;function Gs(){return ti||(ti=0x1,function(_0x34d0db,_0x175c2b){(function(_0x1e51b4,_0x1d795d){var _0x9e82d2=_0xda85;_0x34d0db[_0x9e82d2(0xda)]=_0x1d795d(ne());}(Ws,function(_0x1d8045){var _0x1ceb4b=_0xda85;return function(_0x1805ab){var _0x1580e6=_0xda85,_0x258994=_0x1d8045,_0x3cec22=_0x258994['lib'],_0x59e055=_0x3cec22[_0x1580e6(0x213)],_0x41968e=_0x3cec22[_0x1580e6(0x304)],_0xc1a574=_0x258994[_0x1580e6(0x1b3)],_0x1941a5=[];(function(){for(var _0x3443b3=0x0;_0x3443b3<0x40;_0x3443b3++)_0x1941a5[_0x3443b3]=_0x1805ab['abs'](_0x1805ab['sin'](_0x3443b3+0x1))*0x100000000|0x0;}());var _0x24de74=_0xc1a574[_0x1580e6(0x305)]=_0x41968e[_0x1580e6(0x227)]({'_doReset':function(){var _0x3047b5=_0x1580e6;this[_0x3047b5(0xa4)]=new _0x59e055[(_0x3047b5(0x2b8))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476]);},'_doProcessBlock':function(_0x5434ed,_0x292b40){var _0xe284d5=_0x1580e6;for(var _0x4b2882=0x0;_0x4b2882<0x10;_0x4b2882++){var _0x3a53be=_0x292b40+_0x4b2882,_0x4dcf19=_0x5434ed[_0x3a53be];_0x5434ed[_0x3a53be]=(_0x4dcf19<<0x8|_0x4dcf19>>>0x18)&0xff00ff|(_0x4dcf19<<0x18|_0x4dcf19>>>0x8)&0xff00ff00;}var _0x364854=this[_0xe284d5(0xa4)][_0xe284d5(0x169)],_0xba850b=_0x5434ed[_0x292b40+0x0],_0x30ac3b=_0x5434ed[_0x292b40+0x1],_0x1302ec=_0x5434ed[_0x292b40+0x2],_0x2d678c=_0x5434ed[_0x292b40+0x3],_0x586c24=_0x5434ed[_0x292b40+0x4],_0x526ac8=_0x5434ed[_0x292b40+0x5],_0x36f172=_0x5434ed[_0x292b40+0x6],_0x55c69b=_0x5434ed[_0x292b40+0x7],_0x1c8f52=_0x5434ed[_0x292b40+0x8],_0x486409=_0x5434ed[_0x292b40+0x9],_0x1c191a=_0x5434ed[_0x292b40+0xa],_0x1f9899=_0x5434ed[_0x292b40+0xb],_0x5e9f7c=_0x5434ed[_0x292b40+0xc],_0x3b9f27=_0x5434ed[_0x292b40+0xd],_0x32068b=_0x5434ed[_0x292b40+0xe],_0x11d575=_0x5434ed[_0x292b40+0xf],_0x538222=_0x364854[0x0],_0x513d99=_0x364854[0x1],_0x386e27=_0x364854[0x2],_0x5b7d0b=_0x364854[0x3];_0x538222=_0x2be9cd(_0x538222,_0x513d99,_0x386e27,_0x5b7d0b,_0xba850b,0x7,_0x1941a5[0x0]),_0x5b7d0b=_0x2be9cd(_0x5b7d0b,_0x538222,_0x513d99,_0x386e27,_0x30ac3b,0xc,_0x1941a5[0x1]),_0x386e27=_0x2be9cd(_0x386e27,_0x5b7d0b,_0x538222,_0x513d99,_0x1302ec,0x11,_0x1941a5[0x2]),_0x513d99=_0x2be9cd(_0x513d99,_0x386e27,_0x5b7d0b,_0x538222,_0x2d678c,0x16,_0x1941a5[0x3]),_0x538222=_0x2be9cd(_0x538222,_0x513d99,_0x386e27,_0x5b7d0b,_0x586c24,0x7,_0x1941a5[0x4]),_0x5b7d0b=_0x2be9cd(_0x5b7d0b,_0x538222,_0x513d99,_0x386e27,_0x526ac8,0xc,_0x1941a5[0x5]),_0x386e27=_0x2be9cd(_0x386e27,_0x5b7d0b,_0x538222,_0x513d99,_0x36f172,0x11,_0x1941a5[0x6]),_0x513d99=_0x2be9cd(_0x513d99,_0x386e27,_0x5b7d0b,_0x538222,_0x55c69b,0x16,_0x1941a5[0x7]),_0x538222=_0x2be9cd(_0x538222,_0x513d99,_0x386e27,_0x5b7d0b,_0x1c8f52,0x7,_0x1941a5[0x8]),_0x5b7d0b=_0x2be9cd(_0x5b7d0b,_0x538222,_0x513d99,_0x386e27,_0x486409,0xc,_0x1941a5[0x9]),_0x386e27=_0x2be9cd(_0x386e27,_0x5b7d0b,_0x538222,_0x513d99,_0x1c191a,0x11,_0x1941a5[0xa]),_0x513d99=_0x2be9cd(_0x513d99,_0x386e27,_0x5b7d0b,_0x538222,_0x1f9899,0x16,_0x1941a5[0xb]),_0x538222=_0x2be9cd(_0x538222,_0x513d99,_0x386e27,_0x5b7d0b,_0x5e9f7c,0x7,_0x1941a5[0xc]),_0x5b7d0b=_0x2be9cd(_0x5b7d0b,_0x538222,_0x513d99,_0x386e27,_0x3b9f27,0xc,_0x1941a5[0xd]),_0x386e27=_0x2be9cd(_0x386e27,_0x5b7d0b,_0x538222,_0x513d99,_0x32068b,0x11,_0x1941a5[0xe]),_0x513d99=_0x2be9cd(_0x513d99,_0x386e27,_0x5b7d0b,_0x538222,_0x11d575,0x16,_0x1941a5[0xf]),_0x538222=_0x1a30f2(_0x538222,_0x513d99,_0x386e27,_0x5b7d0b,_0x30ac3b,0x5,_0x1941a5[0x10]),_0x5b7d0b=_0x1a30f2(_0x5b7d0b,_0x538222,_0x513d99,_0x386e27,_0x36f172,0x9,_0x1941a5[0x11]),_0x386e27=_0x1a30f2(_0x386e27,_0x5b7d0b,_0x538222,_0x513d99,_0x1f9899,0xe,_0x1941a5[0x12]),_0x513d99=_0x1a30f2(_0x513d99,_0x386e27,_0x5b7d0b,_0x538222,_0xba850b,0x14,_0x1941a5[0x13]),_0x538222=_0x1a30f2(_0x538222,_0x513d99,_0x386e27,_0x5b7d0b,_0x526ac8,0x5,_0x1941a5[0x14]),_0x5b7d0b=_0x1a30f2(_0x5b7d0b,_0x538222,_0x513d99,_0x386e27,_0x1c191a,0x9,_0x1941a5[0x15]),_0x386e27=_0x1a30f2(_0x386e27,_0x5b7d0b,_0x538222,_0x513d99,_0x11d575,0xe,_0x1941a5[0x16]),_0x513d99=_0x1a30f2(_0x513d99,_0x386e27,_0x5b7d0b,_0x538222,_0x586c24,0x14,_0x1941a5[0x17]),_0x538222=_0x1a30f2(_0x538222,_0x513d99,_0x386e27,_0x5b7d0b,_0x486409,0x5,_0x1941a5[0x18]),_0x5b7d0b=_0x1a30f2(_0x5b7d0b,_0x538222,_0x513d99,_0x386e27,_0x32068b,0x9,_0x1941a5[0x19]),_0x386e27=_0x1a30f2(_0x386e27,_0x5b7d0b,_0x538222,_0x513d99,_0x2d678c,0xe,_0x1941a5[0x1a]),_0x513d99=_0x1a30f2(_0x513d99,_0x386e27,_0x5b7d0b,_0x538222,_0x1c8f52,0x14,_0x1941a5[0x1b]),_0x538222=_0x1a30f2(_0x538222,_0x513d99,_0x386e27,_0x5b7d0b,_0x3b9f27,0x5,_0x1941a5[0x1c]),_0x5b7d0b=_0x1a30f2(_0x5b7d0b,_0x538222,_0x513d99,_0x386e27,_0x1302ec,0x9,_0x1941a5[0x1d]),_0x386e27=_0x1a30f2(_0x386e27,_0x5b7d0b,_0x538222,_0x513d99,_0x55c69b,0xe,_0x1941a5[0x1e]),_0x513d99=_0x1a30f2(_0x513d99,_0x386e27,_0x5b7d0b,_0x538222,_0x5e9f7c,0x14,_0x1941a5[0x1f]),_0x538222=_0xdf5c7f(_0x538222,_0x513d99,_0x386e27,_0x5b7d0b,_0x526ac8,0x4,_0x1941a5[0x20]),_0x5b7d0b=_0xdf5c7f(_0x5b7d0b,_0x538222,_0x513d99,_0x386e27,_0x1c8f52,0xb,_0x1941a5[0x21]),_0x386e27=_0xdf5c7f(_0x386e27,_0x5b7d0b,_0x538222,_0x513d99,_0x1f9899,0x10,_0x1941a5[0x22]),_0x513d99=_0xdf5c7f(_0x513d99,_0x386e27,_0x5b7d0b,_0x538222,_0x32068b,0x17,_0x1941a5[0x23]),_0x538222=_0xdf5c7f(_0x538222,_0x513d99,_0x386e27,_0x5b7d0b,_0x30ac3b,0x4,_0x1941a5[0x24]),_0x5b7d0b=_0xdf5c7f(_0x5b7d0b,_0x538222,_0x513d99,_0x386e27,_0x586c24,0xb,_0x1941a5[0x25]),_0x386e27=_0xdf5c7f(_0x386e27,_0x5b7d0b,_0x538222,_0x513d99,_0x55c69b,0x10,_0x1941a5[0x26]),_0x513d99=_0xdf5c7f(_0x513d99,_0x386e27,_0x5b7d0b,_0x538222,_0x1c191a,0x17,_0x1941a5[0x27]),_0x538222=_0xdf5c7f(_0x538222,_0x513d99,_0x386e27,_0x5b7d0b,_0x3b9f27,0x4,_0x1941a5[0x28]),_0x5b7d0b=_0xdf5c7f(_0x5b7d0b,_0x538222,_0x513d99,_0x386e27,_0xba850b,0xb,_0x1941a5[0x29]),_0x386e27=_0xdf5c7f(_0x386e27,_0x5b7d0b,_0x538222,_0x513d99,_0x2d678c,0x10,_0x1941a5[0x2a]),_0x513d99=_0xdf5c7f(_0x513d99,_0x386e27,_0x5b7d0b,_0x538222,_0x36f172,0x17,_0x1941a5[0x2b]),_0x538222=_0xdf5c7f(_0x538222,_0x513d99,_0x386e27,_0x5b7d0b,_0x486409,0x4,_0x1941a5[0x2c]),_0x5b7d0b=_0xdf5c7f(_0x5b7d0b,_0x538222,_0x513d99,_0x386e27,_0x5e9f7c,0xb,_0x1941a5[0x2d]),_0x386e27=_0xdf5c7f(_0x386e27,_0x5b7d0b,_0x538222,_0x513d99,_0x11d575,0x10,_0x1941a5[0x2e]),_0x513d99=_0xdf5c7f(_0x513d99,_0x386e27,_0x5b7d0b,_0x538222,_0x1302ec,0x17,_0x1941a5[0x2f]),_0x538222=_0x392bc5(_0x538222,_0x513d99,_0x386e27,_0x5b7d0b,_0xba850b,0x6,_0x1941a5[0x30]),_0x5b7d0b=_0x392bc5(_0x5b7d0b,_0x538222,_0x513d99,_0x386e27,_0x55c69b,0xa,_0x1941a5[0x31]),_0x386e27=_0x392bc5(_0x386e27,_0x5b7d0b,_0x538222,_0x513d99,_0x32068b,0xf,_0x1941a5[0x32]),_0x513d99=_0x392bc5(_0x513d99,_0x386e27,_0x5b7d0b,_0x538222,_0x526ac8,0x15,_0x1941a5[0x33]),_0x538222=_0x392bc5(_0x538222,_0x513d99,_0x386e27,_0x5b7d0b,_0x5e9f7c,0x6,_0x1941a5[0x34]),_0x5b7d0b=_0x392bc5(_0x5b7d0b,_0x538222,_0x513d99,_0x386e27,_0x2d678c,0xa,_0x1941a5[0x35]),_0x386e27=_0x392bc5(_0x386e27,_0x5b7d0b,_0x538222,_0x513d99,_0x1c191a,0xf,_0x1941a5[0x36]),_0x513d99=_0x392bc5(_0x513d99,_0x386e27,_0x5b7d0b,_0x538222,_0x30ac3b,0x15,_0x1941a5[0x37]),_0x538222=_0x392bc5(_0x538222,_0x513d99,_0x386e27,_0x5b7d0b,_0x1c8f52,0x6,_0x1941a5[0x38]),_0x5b7d0b=_0x392bc5(_0x5b7d0b,_0x538222,_0x513d99,_0x386e27,_0x11d575,0xa,_0x1941a5[0x39]),_0x386e27=_0x392bc5(_0x386e27,_0x5b7d0b,_0x538222,_0x513d99,_0x36f172,0xf,_0x1941a5[0x3a]),_0x513d99=_0x392bc5(_0x513d99,_0x386e27,_0x5b7d0b,_0x538222,_0x3b9f27,0x15,_0x1941a5[0x3b]),_0x538222=_0x392bc5(_0x538222,_0x513d99,_0x386e27,_0x5b7d0b,_0x586c24,0x6,_0x1941a5[0x3c]),_0x5b7d0b=_0x392bc5(_0x5b7d0b,_0x538222,_0x513d99,_0x386e27,_0x1f9899,0xa,_0x1941a5[0x3d]),_0x386e27=_0x392bc5(_0x386e27,_0x5b7d0b,_0x538222,_0x513d99,_0x1302ec,0xf,_0x1941a5[0x3e]),_0x513d99=_0x392bc5(_0x513d99,_0x386e27,_0x5b7d0b,_0x538222,_0x486409,0x15,_0x1941a5[0x3f]),_0x364854[0x0]=_0x364854[0x0]+_0x538222|0x0,_0x364854[0x1]=_0x364854[0x1]+_0x513d99|0x0,_0x364854[0x2]=_0x364854[0x2]+_0x386e27|0x0,_0x364854[0x3]=_0x364854[0x3]+_0x5b7d0b|0x0;},'_doFinalize':function(){var _0x3bf184=_0x1580e6,_0x941276=this[_0x3bf184(0x380)],_0x2a94bd=_0x941276['words'],_0x255b73=this[_0x3bf184(0x24d)]*0x8,_0x51a76a=_0x941276[_0x3bf184(0x1cf)]*0x8;_0x2a94bd[_0x51a76a>>>0x5]|=0x80<<0x18-_0x51a76a%0x20;var _0x3e5908=_0x1805ab[_0x3bf184(0xe7)](_0x255b73/0x100000000),_0x18e25b=_0x255b73;_0x2a94bd[(_0x51a76a+0x40>>>0x9<<0x4)+0xf]=(_0x3e5908<<0x8|_0x3e5908>>>0x18)&0xff00ff|(_0x3e5908<<0x18|_0x3e5908>>>0x8)&0xff00ff00,_0x2a94bd[(_0x51a76a+0x40>>>0x9<<0x4)+0xe]=(_0x18e25b<<0x8|_0x18e25b>>>0x18)&0xff00ff|(_0x18e25b<<0x18|_0x18e25b>>>0x8)&0xff00ff00,_0x941276[_0x3bf184(0x1cf)]=(_0x2a94bd['length']+0x1)*0x4,this[_0x3bf184(0x14b)]();for(var _0x4a7361=this[_0x3bf184(0xa4)],_0x544620=_0x4a7361[_0x3bf184(0x169)],_0x25c89c=0x0;_0x25c89c<0x4;_0x25c89c++){var _0x38c85a=_0x544620[_0x25c89c];_0x544620[_0x25c89c]=(_0x38c85a<<0x8|_0x38c85a>>>0x18)&0xff00ff|(_0x38c85a<<0x18|_0x38c85a>>>0x8)&0xff00ff00;}return _0x4a7361;},'clone':function(){var _0x5719ea=_0x1580e6,_0x473e7a=_0x41968e[_0x5719ea(0x3a1)]['call'](this);return _0x473e7a['_hash']=this[_0x5719ea(0xa4)][_0x5719ea(0x3a1)](),_0x473e7a;}});function _0x2be9cd(_0x520420,_0x385146,_0x407d15,_0x45ca6e,_0x4f5d56,_0x4cb35d,_0x3b0da1){var _0x3c215b=_0x520420+(_0x385146&_0x407d15|~_0x385146&_0x45ca6e)+_0x4f5d56+_0x3b0da1;return(_0x3c215b<<_0x4cb35d|_0x3c215b>>>0x20-_0x4cb35d)+_0x385146;}function _0x1a30f2(_0x4e0123,_0x42a4c6,_0x358cc1,_0x3561c0,_0x1f4177,_0x1854c1,_0x323180){var _0x10beeb=_0x4e0123+(_0x42a4c6&_0x3561c0|_0x358cc1&~_0x3561c0)+_0x1f4177+_0x323180;return(_0x10beeb<<_0x1854c1|_0x10beeb>>>0x20-_0x1854c1)+_0x42a4c6;}function _0xdf5c7f(_0x2a6981,_0x1117a3,_0x41911a,_0x42fc39,_0x5d24a7,_0x39e926,_0x8b34e4){var _0x379665=_0x2a6981+(_0x1117a3^_0x41911a^_0x42fc39)+_0x5d24a7+_0x8b34e4;return(_0x379665<<_0x39e926|_0x379665>>>0x20-_0x39e926)+_0x1117a3;}function _0x392bc5(_0x772760,_0x379718,_0x1e98f3,_0x26a807,_0x21c29b,_0x3466cd,_0x21e037){var _0x27d7d6=_0x772760+(_0x1e98f3^(_0x379718|~_0x26a807))+_0x21c29b+_0x21e037;return(_0x27d7d6<<_0x3466cd|_0x27d7d6>>>0x20-_0x3466cd)+_0x379718;}_0x258994[_0x1580e6(0x305)]=_0x41968e[_0x1580e6(0x282)](_0x24de74),_0x258994[_0x1580e6(0x1d6)]=_0x41968e[_0x1580e6(0x28c)](_0x24de74);}(Math),_0x1d8045[_0x1ceb4b(0x305)];}));}(ze)),ze['exports'];}var Ye={'exports':{}},qe={'exports':{}},Ks=qe[_0x4a7741(0xda)],ii;function zs(){var _0x399026=_0x4a7741;return ii||(ii=0x1,function(_0x1d308f,_0x4c53a4){(function(_0x4428d9,_0x18f846){var _0x5291cf=_0xda85;_0x1d308f[_0x5291cf(0xda)]=_0x18f846(ne());}(Ks,function(_0x52435b){var _0x359c95=_0xda85;return(function(){var _0x2e0112=_0xda85,_0x24c5a1=_0x52435b,_0x1f78f7=_0x24c5a1[_0x2e0112(0x2d0)],_0x549498=_0x1f78f7['WordArray'],_0x2994a0=_0x1f78f7[_0x2e0112(0x304)],_0x57557a=_0x24c5a1[_0x2e0112(0x1b3)],_0x372489=[],_0x40222e=_0x57557a[_0x2e0112(0xe2)]=_0x2994a0[_0x2e0112(0x227)]({'_doReset':function(){var _0x40363a=_0x2e0112;this[_0x40363a(0xa4)]=new _0x549498[(_0x40363a(0x2b8))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476,0xc3d2e1f0]);},'_doProcessBlock':function(_0xdddc10,_0x1e112){var _0x3e6681=_0x2e0112;for(var _0x234c8d=this[_0x3e6681(0xa4)][_0x3e6681(0x169)],_0x50a1bc=_0x234c8d[0x0],_0xf5504e=_0x234c8d[0x1],_0x29c86a=_0x234c8d[0x2],_0x575201=_0x234c8d[0x3],_0x156425=_0x234c8d[0x4],_0x4a44ee=0x0;_0x4a44ee<0x50;_0x4a44ee++){if(_0x4a44ee<0x10)_0x372489[_0x4a44ee]=_0xdddc10[_0x1e112+_0x4a44ee]|0x0;else{var _0x24405e=_0x372489[_0x4a44ee-0x3]^_0x372489[_0x4a44ee-0x8]^_0x372489[_0x4a44ee-0xe]^_0x372489[_0x4a44ee-0x10];_0x372489[_0x4a44ee]=_0x24405e<<0x1|_0x24405e>>>0x1f;}var _0x5efbc1=(_0x50a1bc<<0x5|_0x50a1bc>>>0x1b)+_0x156425+_0x372489[_0x4a44ee];_0x4a44ee<0x14?_0x5efbc1+=(_0xf5504e&_0x29c86a|~_0xf5504e&_0x575201)+0x5a827999:_0x4a44ee<0x28?_0x5efbc1+=(_0xf5504e^_0x29c86a^_0x575201)+0x6ed9eba1:_0x4a44ee<0x3c?_0x5efbc1+=(_0xf5504e&_0x29c86a|_0xf5504e&_0x575201|_0x29c86a&_0x575201)-0x70e44324:_0x5efbc1+=(_0xf5504e^_0x29c86a^_0x575201)-0x359d3e2a,_0x156425=_0x575201,_0x575201=_0x29c86a,_0x29c86a=_0xf5504e<<0x1e|_0xf5504e>>>0x2,_0xf5504e=_0x50a1bc,_0x50a1bc=_0x5efbc1;}_0x234c8d[0x0]=_0x234c8d[0x0]+_0x50a1bc|0x0,_0x234c8d[0x1]=_0x234c8d[0x1]+_0xf5504e|0x0,_0x234c8d[0x2]=_0x234c8d[0x2]+_0x29c86a|0x0,_0x234c8d[0x3]=_0x234c8d[0x3]+_0x575201|0x0,_0x234c8d[0x4]=_0x234c8d[0x4]+_0x156425|0x0;},'_doFinalize':function(){var _0x533fa5=_0x2e0112,_0x190cf4=this['_data'],_0xde24c7=_0x190cf4[_0x533fa5(0x169)],_0x478804=this['_nDataBytes']*0x8,_0x3276f6=_0x190cf4[_0x533fa5(0x1cf)]*0x8;return _0xde24c7[_0x3276f6>>>0x5]|=0x80<<0x18-_0x3276f6%0x20,_0xde24c7[(_0x3276f6+0x40>>>0x9<<0x4)+0xe]=Math[_0x533fa5(0xe7)](_0x478804/0x100000000),_0xde24c7[(_0x3276f6+0x40>>>0x9<<0x4)+0xf]=_0x478804,_0x190cf4[_0x533fa5(0x1cf)]=_0xde24c7[_0x533fa5(0x2f8)]*0x4,this['_process'](),this[_0x533fa5(0xa4)];},'clone':function(){var _0x5b47a4=_0x2e0112,_0x2d3e02=_0x2994a0[_0x5b47a4(0x3a1)]['call'](this);return _0x2d3e02['_hash']=this[_0x5b47a4(0xa4)][_0x5b47a4(0x3a1)](),_0x2d3e02;}});_0x24c5a1['SHA1']=_0x2994a0[_0x2e0112(0x282)](_0x40222e),_0x24c5a1['HmacSHA1']=_0x2994a0['_createHmacHelper'](_0x40222e);}()),_0x52435b[_0x359c95(0xe2)];}));}(qe)),qe[_0x399026(0xda)];}var Je={'exports':{}},Ys=Je['exports'],ni;function qs(){return ni||(ni=0x1,function(_0x44da80,_0x32ce53){(function(_0x4402b1,_0x4f53f0){var _0x20d4fa=_0xda85;_0x44da80[_0x20d4fa(0xda)]=_0x4f53f0(ne());}(Ys,function(_0x4b641f){(function(){var _0x203230=_0xda85,_0x37db10=_0x4b641f,_0x150091=_0x37db10[_0x203230(0x2d0)],_0x4a6bab=_0x150091['Base'],_0x76f0bb=_0x37db10[_0x203230(0x27d)],_0x5f0744=_0x76f0bb[_0x203230(0x21a)],_0x230979=_0x37db10[_0x203230(0x1b3)];_0x230979[_0x203230(0x3a6)]=_0x4a6bab[_0x203230(0x227)]({'init':function(_0x2b119a,_0xcc40a6){var _0x5bdef5=_0x203230;_0x2b119a=this[_0x5bdef5(0x322)]=new _0x2b119a['init'](),typeof _0xcc40a6==_0x5bdef5(0x9b)&&(_0xcc40a6=_0x5f0744[_0x5bdef5(0xd5)](_0xcc40a6));var _0x2d309d=_0x2b119a['blockSize'],_0x170a7c=_0x2d309d*0x4;_0xcc40a6[_0x5bdef5(0x1cf)]>_0x170a7c&&(_0xcc40a6=_0x2b119a[_0x5bdef5(0x1a2)](_0xcc40a6)),_0xcc40a6[_0x5bdef5(0x334)]();for(var _0x34de9c=this[_0x5bdef5(0x182)]=_0xcc40a6[_0x5bdef5(0x3a1)](),_0x2b3527=this[_0x5bdef5(0x137)]=_0xcc40a6[_0x5bdef5(0x3a1)](),_0x3fca3a=_0x34de9c['words'],_0x548497=_0x2b3527[_0x5bdef5(0x169)],_0x73c099=0x0;_0x73c099<_0x2d309d;_0x73c099++)_0x3fca3a[_0x73c099]^=0x5c5c5c5c,_0x548497[_0x73c099]^=0x36363636;_0x34de9c[_0x5bdef5(0x1cf)]=_0x2b3527[_0x5bdef5(0x1cf)]=_0x170a7c,this[_0x5bdef5(0xf9)]();},'reset':function(){var _0x3aec40=_0x203230,_0x36d7df=this[_0x3aec40(0x322)];_0x36d7df[_0x3aec40(0xf9)](),_0x36d7df[_0x3aec40(0xd3)](this[_0x3aec40(0x137)]);},'update':function(_0x121a4c){var _0x4264ac=_0x203230;return this[_0x4264ac(0x322)][_0x4264ac(0xd3)](_0x121a4c),this;},'finalize':function(_0x5e9a60){var _0x33592b=_0x203230,_0x4df303=this['_hasher'],_0x670ca2=_0x4df303['finalize'](_0x5e9a60);_0x4df303[_0x33592b(0xf9)]();var _0x21b68e=_0x4df303['finalize'](this['_oKey'][_0x33592b(0x3a1)]()[_0x33592b(0x105)](_0x670ca2));return _0x21b68e;}});}());}));}(Je)),Je['exports'];}var Js=Ye['exports'],si;function Ui(){var _0x217b11=_0x4a7741;return si||(si=0x1,function(_0x5a7b4f,_0xd9b241){(function(_0x993ec7,_0x4b7852,_0x1f488f){var _0x4b0b6e=_0xda85;_0x5a7b4f[_0x4b0b6e(0xda)]=_0x4b7852(ne(),zs(),qs());}(Js,function(_0x5e41f1){var _0x11d2e4=_0xda85;return(function(){var _0xbd73f7=_0xda85,_0xaacd46=_0x5e41f1,_0x1be07b=_0xaacd46[_0xbd73f7(0x2d0)],_0x42076c=_0x1be07b['Base'],_0x53ce46=_0x1be07b[_0xbd73f7(0x213)],_0x1493a0=_0xaacd46[_0xbd73f7(0x1b3)],_0x57294b=_0x1493a0[_0xbd73f7(0x305)],_0x17ffc8=_0x1493a0['EvpKDF']=_0x42076c[_0xbd73f7(0x227)]({'cfg':_0x42076c[_0xbd73f7(0x227)]({'keySize':0x80/0x20,'hasher':_0x57294b,'iterations':0x1}),'init':function(_0x59e831){var _0x4d85a6=_0xbd73f7;this[_0x4d85a6(0xce)]=this[_0x4d85a6(0xce)][_0x4d85a6(0x227)](_0x59e831);},'compute':function(_0x56bd65,_0x4fb50d){var _0x23029d=_0xbd73f7;for(var _0xdf7b3c,_0x1070a0=this[_0x23029d(0xce)],_0x533f4a=_0x1070a0[_0x23029d(0x3a4)][_0x23029d(0x1d7)](),_0x505f93=_0x53ce46[_0x23029d(0x1d7)](),_0x3cea6d=_0x505f93['words'],_0x50a6fd=_0x1070a0[_0x23029d(0x32b)],_0x2f80d3=_0x1070a0[_0x23029d(0xf0)];_0x3cea6d[_0x23029d(0x2f8)]<_0x50a6fd;){_0xdf7b3c&&_0x533f4a[_0x23029d(0xd3)](_0xdf7b3c),_0xdf7b3c=_0x533f4a[_0x23029d(0xd3)](_0x56bd65)['finalize'](_0x4fb50d),_0x533f4a[_0x23029d(0xf9)]();for(var _0x195789=0x1;_0x195789<_0x2f80d3;_0x195789++)_0xdf7b3c=_0x533f4a['finalize'](_0xdf7b3c),_0x533f4a[_0x23029d(0xf9)]();_0x505f93[_0x23029d(0x105)](_0xdf7b3c);}return _0x505f93['sigBytes']=_0x50a6fd*0x4,_0x505f93;}});_0xaacd46[_0xbd73f7(0x1d8)]=function(_0x394a95,_0x5efe6f,_0x132dd0){var _0x76db80=_0xbd73f7;return _0x17ffc8[_0x76db80(0x1d7)](_0x132dd0)['compute'](_0x394a95,_0x5efe6f);};}()),_0x5e41f1[_0x11d2e4(0x1d8)];}));}(Ye)),Ye[_0x217b11(0xda)];}var Xe={'exports':{}},Xs=Xe[_0x4a7741(0xda)],ri;function Ai(){var _0x4937f4=_0x4a7741;return ri||(ri=0x1,function(_0x289aea,_0x1e2fde){(function(_0x269654,_0x1d4fa5,_0x1fdb02){var _0x4fc882=_0xda85;_0x289aea[_0x4fc882(0xda)]=_0x1d4fa5(ne(),Ui());}(Xs,function(_0x3ceda5){var _0x5e69f9=_0xda85;_0x3ceda5[_0x5e69f9(0x2d0)][_0x5e69f9(0x160)]||function(_0x2ae33f){var _0x5a68ee=_0x5e69f9,_0x3837aa=_0x3ceda5,_0x104550=_0x3837aa[_0x5a68ee(0x2d0)],_0x25da93=_0x104550[_0x5a68ee(0x15a)],_0xc65599=_0x104550[_0x5a68ee(0x213)],_0x3f296b=_0x104550[_0x5a68ee(0x18f)],_0x2ead74=_0x3837aa[_0x5a68ee(0x27d)];_0x2ead74['Utf8'];var _0x521769=_0x2ead74[_0x5a68ee(0x148)],_0x50f2f8=_0x3837aa[_0x5a68ee(0x1b3)],_0x4c9c9e=_0x50f2f8['EvpKDF'],_0x18c10b=_0x104550[_0x5a68ee(0x160)]=_0x3f296b[_0x5a68ee(0x227)]({'cfg':_0x25da93[_0x5a68ee(0x227)](),'createEncryptor':function(_0x59ee54,_0x1a73d3){var _0x4af4e8=_0x5a68ee;return this[_0x4af4e8(0x1d7)](this[_0x4af4e8(0x21e)],_0x59ee54,_0x1a73d3);},'createDecryptor':function(_0x37d539,_0x325203){var _0x56aea7=_0x5a68ee;return this[_0x56aea7(0x1d7)](this[_0x56aea7(0x2ad)],_0x37d539,_0x325203);},'init':function(_0x4e704c,_0x3b924d,_0x4aa3aa){var _0x1391ef=_0x5a68ee;this[_0x1391ef(0xce)]=this[_0x1391ef(0xce)][_0x1391ef(0x227)](_0x4aa3aa),this[_0x1391ef(0x2ec)]=_0x4e704c,this['_key']=_0x3b924d,this[_0x1391ef(0xf9)]();},'reset':function(){var _0x4eb14b=_0x5a68ee;_0x3f296b[_0x4eb14b(0xf9)]['call'](this),this['_doReset']();},'process':function(_0x1c6ca7){var _0x282b0d=_0x5a68ee;return this[_0x282b0d(0x276)](_0x1c6ca7),this[_0x282b0d(0x14b)]();},'finalize':function(_0x4ed669){_0x4ed669&&this['_append'](_0x4ed669);var _0x2325e7=this['_doFinalize']();return _0x2325e7;},'keySize':0x80/0x20,'ivSize':0x80/0x20,'_ENC_XFORM_MODE':0x1,'_DEC_XFORM_MODE':0x2,'_createHelper':(function(){function _0x406e02(_0x4046f8){var _0x431a57=_0xda85;return typeof _0x4046f8==_0x431a57(0x9b)?_0x3c8ba1:_0x29090f;}return function(_0x5d6287){return{'encrypt':function(_0x47cb12,_0x215b1f,_0x56e63a){var _0x51df7a=_0xda85;return _0x406e02(_0x215b1f)[_0x51df7a(0x21c)](_0x5d6287,_0x47cb12,_0x215b1f,_0x56e63a);},'decrypt':function(_0x4b9bd8,_0x24b434,_0x1a1168){var _0x437819=_0xda85;return _0x406e02(_0x24b434)[_0x437819(0x1c2)](_0x5d6287,_0x4b9bd8,_0x24b434,_0x1a1168);}};};}())});_0x104550[_0x5a68ee(0xc4)]=_0x18c10b[_0x5a68ee(0x227)]({'_doFinalize':function(){var _0x2406fd=_0x5a68ee,_0x12a141=this[_0x2406fd(0x14b)](!0x0);return _0x12a141;},'blockSize':0x1});var _0x52984d=_0x3837aa['mode']={},_0x3dd9e0=_0x104550[_0x5a68ee(0x1c9)]=_0x25da93[_0x5a68ee(0x227)]({'createEncryptor':function(_0x343f0a,_0x527a36){var _0x41664d=_0x5a68ee;return this[_0x41664d(0x1ca)]['create'](_0x343f0a,_0x527a36);},'createDecryptor':function(_0x578ec2,_0x3bd175){var _0x4c6bcc=_0x5a68ee;return this[_0x4c6bcc(0x14c)]['create'](_0x578ec2,_0x3bd175);},'init':function(_0x27234e,_0x284b90){var _0x163c01=_0x5a68ee;this[_0x163c01(0x281)]=_0x27234e,this[_0x163c01(0x2a1)]=_0x284b90;}}),_0x4961be=_0x52984d[_0x5a68ee(0x1f2)]=(function(){var _0x2acbcf=_0x5a68ee,_0x163fdf=_0x3dd9e0[_0x2acbcf(0x227)]();_0x163fdf[_0x2acbcf(0x1ca)]=_0x163fdf[_0x2acbcf(0x227)]({'processBlock':function(_0x587336,_0x566e0e){var _0x469ca9=_0x2acbcf,_0x532a03=this['_cipher'],_0x534831=_0x532a03[_0x469ca9(0x2fd)];_0x319172['call'](this,_0x587336,_0x566e0e,_0x534831),_0x532a03[_0x469ca9(0x314)](_0x587336,_0x566e0e),this[_0x469ca9(0x265)]=_0x587336[_0x469ca9(0x3a7)](_0x566e0e,_0x566e0e+_0x534831);}}),_0x163fdf[_0x2acbcf(0x14c)]=_0x163fdf[_0x2acbcf(0x227)]({'processBlock':function(_0x14a2f0,_0x4f1a97){var _0x47c989=_0x2acbcf,_0x318932=this[_0x47c989(0x281)],_0x1e6403=_0x318932['blockSize'],_0x2596ea=_0x14a2f0[_0x47c989(0x3a7)](_0x4f1a97,_0x4f1a97+_0x1e6403);_0x318932[_0x47c989(0xb1)](_0x14a2f0,_0x4f1a97),_0x319172[_0x47c989(0x31e)](this,_0x14a2f0,_0x4f1a97,_0x1e6403),this[_0x47c989(0x265)]=_0x2596ea;}});function _0x319172(_0x1b690f,_0x1d8016,_0x20ce17){var _0x4c34ad=_0x2acbcf,_0x1096f6,_0x4f8314=this[_0x4c34ad(0x2a1)];_0x4f8314?(_0x1096f6=_0x4f8314,this[_0x4c34ad(0x2a1)]=_0x2ae33f):_0x1096f6=this[_0x4c34ad(0x265)];for(var _0xd2104e=0x0;_0xd2104e<_0x20ce17;_0xd2104e++)_0x1b690f[_0x1d8016+_0xd2104e]^=_0x1096f6[_0xd2104e];}return _0x163fdf;}()),_0x11fd40=_0x3837aa[_0x5a68ee(0x35d)]={},_0x13632d=_0x11fd40['Pkcs7']={'pad':function(_0x677ecb,_0x426045){var _0x393a77=_0x5a68ee;for(var _0x53e8e0=_0x426045*0x4,_0x3df7b0=_0x53e8e0-_0x677ecb[_0x393a77(0x1cf)]%_0x53e8e0,_0x19c741=_0x3df7b0<<0x18|_0x3df7b0<<0x10|_0x3df7b0<<0x8|_0x3df7b0,_0x3aaa65=[],_0x49600b=0x0;_0x49600b<_0x3df7b0;_0x49600b+=0x4)_0x3aaa65[_0x393a77(0xef)](_0x19c741);var _0x2db060=_0xc65599[_0x393a77(0x1d7)](_0x3aaa65,_0x3df7b0);_0x677ecb['concat'](_0x2db060);},'unpad':function(_0x1d3363){var _0xb3f2d0=_0x5a68ee,_0x12c07d=_0x1d3363['words'][_0x1d3363[_0xb3f2d0(0x1cf)]-0x1>>>0x2]&0xff;_0x1d3363[_0xb3f2d0(0x1cf)]-=_0x12c07d;}};_0x104550[_0x5a68ee(0x15d)]=_0x18c10b[_0x5a68ee(0x227)]({'cfg':_0x18c10b[_0x5a68ee(0xce)][_0x5a68ee(0x227)]({'mode':_0x4961be,'padding':_0x13632d}),'reset':function(){var _0x81bc0f=_0x5a68ee,_0x88115b;_0x18c10b[_0x81bc0f(0xf9)][_0x81bc0f(0x31e)](this);var _0x223089=this['cfg'],_0x68d15d=_0x223089['iv'],_0x5c4a5c=_0x223089['mode'];this['_xformMode']==this['_ENC_XFORM_MODE']?_0x88115b=_0x5c4a5c[_0x81bc0f(0x344)]:(_0x88115b=_0x5c4a5c[_0x81bc0f(0x22f)],this[_0x81bc0f(0xe9)]=0x1),this[_0x81bc0f(0x340)]&&this['_mode']['__creator']==_0x88115b?this[_0x81bc0f(0x340)][_0x81bc0f(0x2b8)](this,_0x68d15d&&_0x68d15d[_0x81bc0f(0x169)]):(this[_0x81bc0f(0x340)]=_0x88115b['call'](_0x5c4a5c,this,_0x68d15d&&_0x68d15d[_0x81bc0f(0x169)]),this['_mode'][_0x81bc0f(0x231)]=_0x88115b);},'_doProcessBlock':function(_0x19fe1e,_0x554a20){var _0x5d7cc9=_0x5a68ee;this['_mode'][_0x5d7cc9(0x22a)](_0x19fe1e,_0x554a20);},'_doFinalize':function(){var _0x1e8865=_0x5a68ee,_0x47d0b4,_0x47d397=this['cfg']['padding'];return this[_0x1e8865(0x2ec)]==this[_0x1e8865(0x21e)]?(_0x47d397['pad'](this['_data'],this[_0x1e8865(0x2fd)]),_0x47d0b4=this['_process'](!0x0)):(_0x47d0b4=this[_0x1e8865(0x14b)](!0x0),_0x47d397[_0x1e8865(0xa5)](_0x47d0b4)),_0x47d0b4;},'blockSize':0x80/0x20});var _0x20daf3=_0x104550[_0x5a68ee(0x269)]=_0x25da93[_0x5a68ee(0x227)]({'init':function(_0x67c5f1){var _0x354845=_0x5a68ee;this[_0x354845(0x2c9)](_0x67c5f1);},'toString':function(_0x58b68e){var _0x2f1989=_0x5a68ee;return(_0x58b68e||this[_0x2f1989(0x179)])['stringify'](this);}}),_0x37c21c=_0x3837aa[_0x5a68ee(0x238)]={},_0x56abf9=_0x37c21c['OpenSSL']={'stringify':function(_0x19870d){var _0xad85da=_0x5a68ee,_0x8e322f,_0x184cc7=_0x19870d[_0xad85da(0x176)],_0x2110cb=_0x19870d[_0xad85da(0x349)];return _0x2110cb?_0x8e322f=_0xc65599['create']([0x53616c74,0x65645f5f])[_0xad85da(0x105)](_0x2110cb)[_0xad85da(0x105)](_0x184cc7):_0x8e322f=_0x184cc7,_0x8e322f['toString'](_0x521769);},'parse':function(_0x5e94bf){var _0x3d94f2=_0x5a68ee,_0x49208f,_0x2aa299=_0x521769[_0x3d94f2(0xd5)](_0x5e94bf),_0x4e4b3e=_0x2aa299[_0x3d94f2(0x169)];return _0x4e4b3e[0x0]==0x53616c74&&_0x4e4b3e[0x1]==0x65645f5f&&(_0x49208f=_0xc65599[_0x3d94f2(0x1d7)](_0x4e4b3e[_0x3d94f2(0x3a7)](0x2,0x4)),_0x4e4b3e[_0x3d94f2(0x23e)](0x0,0x4),_0x2aa299['sigBytes']-=0x10),_0x20daf3[_0x3d94f2(0x1d7)]({'ciphertext':_0x2aa299,'salt':_0x49208f});}},_0x29090f=_0x104550['SerializableCipher']=_0x25da93[_0x5a68ee(0x227)]({'cfg':_0x25da93[_0x5a68ee(0x227)]({'format':_0x56abf9}),'encrypt':function(_0x24f041,_0x3d8e5a,_0x2e2e72,_0x4fbf48){var _0x2ad313=_0x5a68ee;_0x4fbf48=this[_0x2ad313(0xce)]['extend'](_0x4fbf48);var _0x31071e=_0x24f041['createEncryptor'](_0x2e2e72,_0x4fbf48),_0x1fc313=_0x31071e['finalize'](_0x3d8e5a),_0x15fff5=_0x31071e[_0x2ad313(0xce)];return _0x20daf3[_0x2ad313(0x1d7)]({'ciphertext':_0x1fc313,'key':_0x2e2e72,'iv':_0x15fff5['iv'],'algorithm':_0x24f041,'mode':_0x15fff5[_0x2ad313(0x192)],'padding':_0x15fff5[_0x2ad313(0x35c)],'blockSize':_0x24f041[_0x2ad313(0x2fd)],'formatter':_0x4fbf48['format']});},'decrypt':function(_0x5a0b11,_0x28e625,_0x19c2db,_0x8e57ae){var _0x45d890=_0x5a68ee;_0x8e57ae=this[_0x45d890(0xce)][_0x45d890(0x227)](_0x8e57ae),_0x28e625=this[_0x45d890(0x1fb)](_0x28e625,_0x8e57ae[_0x45d890(0x238)]);var _0x3b2016=_0x5a0b11[_0x45d890(0x22f)](_0x19c2db,_0x8e57ae)[_0x45d890(0x1a2)](_0x28e625[_0x45d890(0x176)]);return _0x3b2016;},'_parse':function(_0x4f736a,_0x101cc1){var _0x1794ff=_0x5a68ee;return typeof _0x4f736a==_0x1794ff(0x9b)?_0x101cc1['parse'](_0x4f736a,this):_0x4f736a;}}),_0x8be421=_0x3837aa[_0x5a68ee(0x1f4)]={},_0x5da6ae=_0x8be421[_0x5a68ee(0x193)]={'execute':function(_0x580c02,_0x36ae81,_0x21e027,_0x30efc3,_0xcfd5a6){var _0x4ecdb4=_0x5a68ee;if(_0x30efc3||(_0x30efc3=_0xc65599[_0x4ecdb4(0x1e0)](0x40/0x8)),_0xcfd5a6)var _0xd3ff39=_0x4c9c9e[_0x4ecdb4(0x1d7)]({'keySize':_0x36ae81+_0x21e027,'hasher':_0xcfd5a6})[_0x4ecdb4(0x352)](_0x580c02,_0x30efc3);else var _0xd3ff39=_0x4c9c9e['create']({'keySize':_0x36ae81+_0x21e027})['compute'](_0x580c02,_0x30efc3);var _0x17248b=_0xc65599[_0x4ecdb4(0x1d7)](_0xd3ff39['words']['slice'](_0x36ae81),_0x21e027*0x4);return _0xd3ff39[_0x4ecdb4(0x1cf)]=_0x36ae81*0x4,_0x20daf3[_0x4ecdb4(0x1d7)]({'key':_0xd3ff39,'iv':_0x17248b,'salt':_0x30efc3});}},_0x3c8ba1=_0x104550[_0x5a68ee(0x122)]=_0x29090f[_0x5a68ee(0x227)]({'cfg':_0x29090f['cfg'][_0x5a68ee(0x227)]({'kdf':_0x5da6ae}),'encrypt':function(_0x51d572,_0x392b86,_0x1a6927,_0x2ac4a1){var _0x11b705=_0x5a68ee;_0x2ac4a1=this[_0x11b705(0xce)][_0x11b705(0x227)](_0x2ac4a1);var _0xdf5e90=_0x2ac4a1['kdf']['execute'](_0x1a6927,_0x51d572['keySize'],_0x51d572['ivSize'],_0x2ac4a1[_0x11b705(0x349)],_0x2ac4a1[_0x11b705(0x3a4)]);_0x2ac4a1['iv']=_0xdf5e90['iv'];var _0xdb8992=_0x29090f[_0x11b705(0x21c)]['call'](this,_0x51d572,_0x392b86,_0xdf5e90[_0x11b705(0xbd)],_0x2ac4a1);return _0xdb8992[_0x11b705(0x2c9)](_0xdf5e90),_0xdb8992;},'decrypt':function(_0x4f3b5e,_0x97858f,_0xd4388e,_0xfd4e92){var _0x1648e8=_0x5a68ee;_0xfd4e92=this['cfg'][_0x1648e8(0x227)](_0xfd4e92),_0x97858f=this[_0x1648e8(0x1fb)](_0x97858f,_0xfd4e92[_0x1648e8(0x238)]);var _0x335176=_0xfd4e92[_0x1648e8(0x1f4)][_0x1648e8(0x358)](_0xd4388e,_0x4f3b5e[_0x1648e8(0x32b)],_0x4f3b5e['ivSize'],_0x97858f[_0x1648e8(0x349)],_0xfd4e92[_0x1648e8(0x3a4)]);_0xfd4e92['iv']=_0x335176['iv'];var _0x4b2963=_0x29090f[_0x1648e8(0x1c2)][_0x1648e8(0x31e)](this,_0x4f3b5e,_0x97858f,_0x335176[_0x1648e8(0xbd)],_0xfd4e92);return _0x4b2963;}});}();}));}(Xe)),Xe[_0x4937f4(0xda)];}var Zs=We['exports'],oi;function Qs(){var _0x5aebf2=_0x4a7741;return oi||(oi=0x1,function(_0x137852,_0x8f6250){(function(_0x38262d,_0x3e2de6,_0x72e9a){var _0x1a354b=_0xda85;_0x137852[_0x1a354b(0xda)]=_0x3e2de6(ne(),wi(),Gs(),Ui(),Ai());}(Zs,function(_0x538c2a){var _0x2301bf=_0xda85;return(function(){var _0x40a2e4=_0xda85,_0x5e8836=_0x538c2a,_0x2e2373=_0x5e8836[_0x40a2e4(0x2d0)],_0x136c4c=_0x2e2373[_0x40a2e4(0x15d)],_0x5a05a3=_0x5e8836[_0x40a2e4(0x1b3)],_0x24124b=[],_0x52ad29=[],_0xa723a5=[],_0x382432=[],_0x3e60eb=[],_0x44f4b2=[],_0x53af4e=[],_0x182a9e=[],_0x31ad55=[],_0x5efcb9=[];(function(){for(var _0x206864=[],_0x348069=0x0;_0x348069<0x100;_0x348069++)_0x348069<0x80?_0x206864[_0x348069]=_0x348069<<0x1:_0x206864[_0x348069]=_0x348069<<0x1^0x11b;for(var _0x1b0b69=0x0,_0x82145d=0x0,_0x348069=0x0;_0x348069<0x100;_0x348069++){var _0x52c99b=_0x82145d^_0x82145d<<0x1^_0x82145d<<0x2^_0x82145d<<0x3^_0x82145d<<0x4;_0x52c99b=_0x52c99b>>>0x8^_0x52c99b&0xff^0x63,_0x24124b[_0x1b0b69]=_0x52c99b,_0x52ad29[_0x52c99b]=_0x1b0b69;var _0x25a9d6=_0x206864[_0x1b0b69],_0x458b1d=_0x206864[_0x25a9d6],_0x297bae=_0x206864[_0x458b1d],_0x5d0b05=_0x206864[_0x52c99b]*0x101^_0x52c99b*0x1010100;_0xa723a5[_0x1b0b69]=_0x5d0b05<<0x18|_0x5d0b05>>>0x8,_0x382432[_0x1b0b69]=_0x5d0b05<<0x10|_0x5d0b05>>>0x10,_0x3e60eb[_0x1b0b69]=_0x5d0b05<<0x8|_0x5d0b05>>>0x18,_0x44f4b2[_0x1b0b69]=_0x5d0b05;var _0x5d0b05=_0x297bae*0x1010101^_0x458b1d*0x10001^_0x25a9d6*0x101^_0x1b0b69*0x1010100;_0x53af4e[_0x52c99b]=_0x5d0b05<<0x18|_0x5d0b05>>>0x8,_0x182a9e[_0x52c99b]=_0x5d0b05<<0x10|_0x5d0b05>>>0x10,_0x31ad55[_0x52c99b]=_0x5d0b05<<0x8|_0x5d0b05>>>0x18,_0x5efcb9[_0x52c99b]=_0x5d0b05,_0x1b0b69?(_0x1b0b69=_0x25a9d6^_0x206864[_0x206864[_0x206864[_0x297bae^_0x25a9d6]]],_0x82145d^=_0x206864[_0x206864[_0x82145d]]):_0x1b0b69=_0x82145d=0x1;}}());var _0x4d9de2=[0x0,0x1,0x2,0x4,0x8,0x10,0x20,0x40,0x80,0x1b,0x36],_0x25e4b6=_0x5a05a3[_0x40a2e4(0x2fa)]=_0x136c4c[_0x40a2e4(0x227)]({'_doReset':function(){var _0x46c881=_0x40a2e4,_0x23d3fe;if(!(this[_0x46c881(0x14e)]&&this[_0x46c881(0x292)]===this[_0x46c881(0x29c)])){for(var _0x46dff7=this[_0x46c881(0x292)]=this['_key'],_0x4e9116=_0x46dff7['words'],_0xc0cd4c=_0x46dff7['sigBytes']/0x4,_0x4b190e=this['_nRounds']=_0xc0cd4c+0x6,_0x3e7195=(_0x4b190e+0x1)*0x4,_0x149b71=this[_0x46c881(0x30a)]=[],_0x47b51f=0x0;_0x47b51f<_0x3e7195;_0x47b51f++)_0x47b51f<_0xc0cd4c?_0x149b71[_0x47b51f]=_0x4e9116[_0x47b51f]:(_0x23d3fe=_0x149b71[_0x47b51f-0x1],_0x47b51f%_0xc0cd4c?_0xc0cd4c>0x6&&_0x47b51f%_0xc0cd4c==0x4&&(_0x23d3fe=_0x24124b[_0x23d3fe>>>0x18]<<0x18|_0x24124b[_0x23d3fe>>>0x10&0xff]<<0x10|_0x24124b[_0x23d3fe>>>0x8&0xff]<<0x8|_0x24124b[_0x23d3fe&0xff]):(_0x23d3fe=_0x23d3fe<<0x8|_0x23d3fe>>>0x18,_0x23d3fe=_0x24124b[_0x23d3fe>>>0x18]<<0x18|_0x24124b[_0x23d3fe>>>0x10&0xff]<<0x10|_0x24124b[_0x23d3fe>>>0x8&0xff]<<0x8|_0x24124b[_0x23d3fe&0xff],_0x23d3fe^=_0x4d9de2[_0x47b51f/_0xc0cd4c|0x0]<<0x18),_0x149b71[_0x47b51f]=_0x149b71[_0x47b51f-_0xc0cd4c]^_0x23d3fe);for(var _0x1c9c19=this[_0x46c881(0x149)]=[],_0x1a50f3=0x0;_0x1a50f3<_0x3e7195;_0x1a50f3++){var _0x47b51f=_0x3e7195-_0x1a50f3;if(_0x1a50f3%0x4)var _0x23d3fe=_0x149b71[_0x47b51f];else var _0x23d3fe=_0x149b71[_0x47b51f-0x4];_0x1a50f3<0x4||_0x47b51f<=0x4?_0x1c9c19[_0x1a50f3]=_0x23d3fe:_0x1c9c19[_0x1a50f3]=_0x53af4e[_0x24124b[_0x23d3fe>>>0x18]]^_0x182a9e[_0x24124b[_0x23d3fe>>>0x10&0xff]]^_0x31ad55[_0x24124b[_0x23d3fe>>>0x8&0xff]]^_0x5efcb9[_0x24124b[_0x23d3fe&0xff]];}}},'encryptBlock':function(_0xf0a23d,_0x40f0da){var _0x2e3abe=_0x40a2e4;this[_0x2e3abe(0x391)](_0xf0a23d,_0x40f0da,this['_keySchedule'],_0xa723a5,_0x382432,_0x3e60eb,_0x44f4b2,_0x24124b);},'decryptBlock':function(_0x4772f6,_0x5ac946){var _0x187cc8=_0x40a2e4,_0x49ba0a=_0x4772f6[_0x5ac946+0x1];_0x4772f6[_0x5ac946+0x1]=_0x4772f6[_0x5ac946+0x3],_0x4772f6[_0x5ac946+0x3]=_0x49ba0a,this[_0x187cc8(0x391)](_0x4772f6,_0x5ac946,this['_invKeySchedule'],_0x53af4e,_0x182a9e,_0x31ad55,_0x5efcb9,_0x52ad29);var _0x49ba0a=_0x4772f6[_0x5ac946+0x1];_0x4772f6[_0x5ac946+0x1]=_0x4772f6[_0x5ac946+0x3],_0x4772f6[_0x5ac946+0x3]=_0x49ba0a;},'_doCryptBlock':function(_0xe9992d,_0x4bfe61,_0x4fb058,_0xc52df3,_0x471ef9,_0x403c86,_0x98dc13,_0x3894d3){var _0x2d40c0=_0x40a2e4;for(var _0x14ecc2=this[_0x2d40c0(0x14e)],_0x139d15=_0xe9992d[_0x4bfe61]^_0x4fb058[0x0],_0x532f1d=_0xe9992d[_0x4bfe61+0x1]^_0x4fb058[0x1],_0x244404=_0xe9992d[_0x4bfe61+0x2]^_0x4fb058[0x2],_0x25957a=_0xe9992d[_0x4bfe61+0x3]^_0x4fb058[0x3],_0x1a9ba3=0x4,_0x591728=0x1;_0x591728<_0x14ecc2;_0x591728++){var _0x3293c6=_0xc52df3[_0x139d15>>>0x18]^_0x471ef9[_0x532f1d>>>0x10&0xff]^_0x403c86[_0x244404>>>0x8&0xff]^_0x98dc13[_0x25957a&0xff]^_0x4fb058[_0x1a9ba3++],_0x16bdc3=_0xc52df3[_0x532f1d>>>0x18]^_0x471ef9[_0x244404>>>0x10&0xff]^_0x403c86[_0x25957a>>>0x8&0xff]^_0x98dc13[_0x139d15&0xff]^_0x4fb058[_0x1a9ba3++],_0x5c6200=_0xc52df3[_0x244404>>>0x18]^_0x471ef9[_0x25957a>>>0x10&0xff]^_0x403c86[_0x139d15>>>0x8&0xff]^_0x98dc13[_0x532f1d&0xff]^_0x4fb058[_0x1a9ba3++],_0x3b9feb=_0xc52df3[_0x25957a>>>0x18]^_0x471ef9[_0x139d15>>>0x10&0xff]^_0x403c86[_0x532f1d>>>0x8&0xff]^_0x98dc13[_0x244404&0xff]^_0x4fb058[_0x1a9ba3++];_0x139d15=_0x3293c6,_0x532f1d=_0x16bdc3,_0x244404=_0x5c6200,_0x25957a=_0x3b9feb;}var _0x3293c6=(_0x3894d3[_0x139d15>>>0x18]<<0x18|_0x3894d3[_0x532f1d>>>0x10&0xff]<<0x10|_0x3894d3[_0x244404>>>0x8&0xff]<<0x8|_0x3894d3[_0x25957a&0xff])^_0x4fb058[_0x1a9ba3++],_0x16bdc3=(_0x3894d3[_0x532f1d>>>0x18]<<0x18|_0x3894d3[_0x244404>>>0x10&0xff]<<0x10|_0x3894d3[_0x25957a>>>0x8&0xff]<<0x8|_0x3894d3[_0x139d15&0xff])^_0x4fb058[_0x1a9ba3++],_0x5c6200=(_0x3894d3[_0x244404>>>0x18]<<0x18|_0x3894d3[_0x25957a>>>0x10&0xff]<<0x10|_0x3894d3[_0x139d15>>>0x8&0xff]<<0x8|_0x3894d3[_0x532f1d&0xff])^_0x4fb058[_0x1a9ba3++],_0x3b9feb=(_0x3894d3[_0x25957a>>>0x18]<<0x18|_0x3894d3[_0x139d15>>>0x10&0xff]<<0x10|_0x3894d3[_0x532f1d>>>0x8&0xff]<<0x8|_0x3894d3[_0x244404&0xff])^_0x4fb058[_0x1a9ba3++];_0xe9992d[_0x4bfe61]=_0x3293c6,_0xe9992d[_0x4bfe61+0x1]=_0x16bdc3,_0xe9992d[_0x4bfe61+0x2]=_0x5c6200,_0xe9992d[_0x4bfe61+0x3]=_0x3b9feb;},'keySize':0x100/0x20});_0x5e8836[_0x40a2e4(0x2fa)]=_0x136c4c[_0x40a2e4(0x282)](_0x25e4b6);}()),_0x538c2a[_0x2301bf(0x2fa)];}));}(We)),We[_0x5aebf2(0xda)];}var er=Qs();const tr=je(er);var ir=wi();const ai=je(ir);var Ze={'exports':{}},nr=Ze[_0x4a7741(0xda)],ci;function sr(){var _0x668d9=_0x4a7741;return ci||(ci=0x1,function(_0x51925e,_0x135048){(function(_0x31d7d3,_0x179174){var _0x5750c5=_0xda85;_0x51925e[_0x5750c5(0xda)]=_0x179174(ne());}(nr,function(_0x54eec2){var _0x469e0e=_0xda85;return _0x54eec2[_0x469e0e(0x27d)]['Utf8'];}));}(Ze)),Ze[_0x668d9(0xda)];}var rr=sr();const or=je(rr);var Qe={'exports':{}},ar=Qe[_0x4a7741(0xda)],hi;function cr(){var _0x26cea5=_0x4a7741;return hi||(hi=0x1,function(_0xf836a8,_0x15dcfe){(function(_0x2442e9,_0x284343){var _0x26cd29=_0xda85;_0xf836a8[_0x26cd29(0xda)]=_0x284343(ne());}(ar,function(_0x13941b){var _0x388bc6=_0xda85;return(function(){var _0xcda55c=_0xda85;if(typeof ArrayBuffer==_0xcda55c(0x156)){var _0x592d10=_0x13941b,_0x3eb8d0=_0x592d10[_0xcda55c(0x2d0)],_0x9cc56d=_0x3eb8d0[_0xcda55c(0x213)],_0x11ce75=_0x9cc56d['init'],_0x5572ef=_0x9cc56d[_0xcda55c(0x2b8)]=function(_0x177f3c){var _0x4bff12=_0xcda55c;if(_0x177f3c instanceof ArrayBuffer&&(_0x177f3c=new Uint8Array(_0x177f3c)),(_0x177f3c instanceof Int8Array||typeof Uint8ClampedArray<'u'&&_0x177f3c instanceof Uint8ClampedArray||_0x177f3c instanceof Int16Array||_0x177f3c instanceof Uint16Array||_0x177f3c instanceof Int32Array||_0x177f3c instanceof Uint32Array||_0x177f3c instanceof Float32Array||_0x177f3c instanceof Float64Array)&&(_0x177f3c=new Uint8Array(_0x177f3c[_0x4bff12(0x1d4)],_0x177f3c[_0x4bff12(0x377)],_0x177f3c['byteLength'])),_0x177f3c instanceof Uint8Array){for(var _0x5ac637=_0x177f3c[_0x4bff12(0x23d)],_0x3597f4=[],_0x194063=0x0;_0x194063<_0x5ac637;_0x194063++)_0x3597f4[_0x194063>>>0x2]|=_0x177f3c[_0x194063]<<0x18-_0x194063%0x4*0x8;_0x11ce75[_0x4bff12(0x31e)](this,_0x3597f4,_0x5ac637);}else _0x11ce75['apply'](this,arguments);};_0x5572ef[_0xcda55c(0x1ec)]=_0x9cc56d;}}()),_0x13941b[_0x388bc6(0x2d0)][_0x388bc6(0x213)];}));}(Qe)),Qe[_0x26cea5(0xda)];}var hr=cr();const _r=je(hr);var et={'exports':{}},lr=et[_0x4a7741(0xda)],_i;function ur(){var _0x235070=_0x4a7741;return _i||(_i=0x1,function(_0x11372d,_0x286308){(function(_0x3bda2c,_0x19d13f,_0x418aa8){_0x11372d['exports']=_0x19d13f(ne(),Ai());}(lr,function(_0x4c39bb){var _0x2f2029=_0xda85;return _0x4c39bb[_0x2f2029(0x35d)][_0x2f2029(0x2d8)]={'pad':function(){},'unpad':function(){}},_0x4c39bb[_0x2f2029(0x35d)][_0x2f2029(0x2d8)];}));}(et)),et[_0x235070(0xda)];}var dr=ur();const fr=je(dr);function vr(_0x2387ed,_0xebeedd){var _0x5a0057=_0x4a7741;const _0x5922fe=_0xebeedd-_0x2387ed[_0x5a0057(0x2f8)]%_0xebeedd,_0x3eadca=String[_0x5a0057(0x174)](_0x5922fe)[_0x5a0057(0x351)](_0x5922fe);return _0x2387ed+_0x3eadca;}function pr(_0x4552a2,_0x3dcd6a){var _0x3995c7=_0x4a7741;const _0x1c7ecc=_r['random'](0x10),_0x1f779f=vr(_0x4552a2,0x10),_0x126047=tr[_0x3995c7(0x21c)](or[_0x3995c7(0xd5)](_0x1f779f),ai[_0x3995c7(0xd5)](_0x3dcd6a),{'iv':_0x1c7ecc,'padding':fr});return _0x1c7ecc[_0x3995c7(0x105)](_0x126047[_0x3995c7(0x176)])[_0x3995c7(0x2d3)](ai);}function mr(){var _0x53e546=_0x4a7741;const _0xdf8abe=_0x424ade()['__Key__'];if(_0xdf8abe){const _0x49c5ea={'time':Math['floor'](Date[_0x53e546(0x2b6)]()/0x3e8),'domain':location[_0x53e546(0x225)]};return pr(JSON[_0x53e546(0x32d)](_0x49c5ea),_0xdf8abe);}}var gr=Object[_0x4a7741(0x1ac)],Sr=Object[_0x4a7741(0xf3)],Er=(_0x2ab1b1,_0x40a614,_0x5401af,_0x1e68f4)=>{for(var _0x5beaef=_0x1e68f4>0x1?void 0x0:_0x1e68f4?Sr(_0x40a614,_0x5401af):_0x40a614,_0x199ec5=_0x2ab1b1['length']-0x1,_0x547bb5;_0x199ec5>=0x0;_0x199ec5--)(_0x547bb5=_0x2ab1b1[_0x199ec5])&&(_0x5beaef=(_0x1e68f4?_0x547bb5(_0x40a614,_0x5401af,_0x5beaef):_0x547bb5(_0x5beaef))||_0x5beaef);return _0x1e68f4&&_0x5beaef&&gr(_0x40a614,_0x5401af,_0x5beaef),_0x5beaef;},Ir=(_0x137749,_0x24901b)=>(_0xed2ece,_0x2a6147)=>_0x24901b(_0xed2ece,_0x2a6147,_0x137749);let at=class{constructor(_0x12dc94){var _0x1f5a52=_0x4a7741;this[_0x1f5a52(0x28b)]=_0x12dc94,this[_0x1f5a52(0x1fe)]();}[_0x4a7741(0x1fe)](){var _0x455dab=_0x4a7741;this[_0x455dab(0x28b)][_0x455dab(0x361)]({'interceptor':(_0x156a90,_0x2074c6)=>{var _0x478621=_0x455dab;const _0x441a97=_0x156a90[_0x478621(0x18a)],_0x27732e=mr();return _0x27732e&&_0x441a97[_0x478621(0x255)]('x-univer-host',_0x27732e),_0x2074c6(_0x156a90);}});}};at=Er([Ir(0x0,_0x33b12a(_0x23500e))],at);var Tr=Object[_0x4a7741(0x1ac)],Cr=Object['getOwnPropertyDescriptor'],br=(_0x49a356,_0x153dd5,_0x103d33,_0x3165f3)=>{var _0x32579f=_0x4a7741;for(var _0x125661=_0x3165f3>0x1?void 0x0:_0x3165f3?Cr(_0x153dd5,_0x103d33):_0x153dd5,_0x1ffad3=_0x49a356[_0x32579f(0x2f8)]-0x1,_0x3af824;_0x1ffad3>=0x0;_0x1ffad3--)(_0x3af824=_0x49a356[_0x1ffad3])&&(_0x125661=(_0x3165f3?_0x3af824(_0x153dd5,_0x103d33,_0x125661):_0x3af824(_0x125661))||_0x125661);return _0x3165f3&&_0x125661&&Tr(_0x153dd5,_0x103d33,_0x125661),_0x125661;},gt=(_0x4c84ce,_0x93f447)=>(_0x26fea1,_0x2d1246)=>_0x93f447(_0x26fea1,_0x2d1246,_0x4c84ce);let Ot=class extends _0x537d0d{constructor(_0x34985a,_0x3bd320,_0x2253e3){var _0x513de1=_0x4a7741;super(),D(this,'_unitInfo$',new _0x5c2168(null)),D(this,_0x513de1(0x230),this[_0x513de1(0x1ab)][_0x513de1(0x202)]()),(this['_logService']=_0x34985a,this[_0x513de1(0x17a)]=_0x3bd320,this['_localCacheService']=_0x2253e3);}async[_0x4a7741(0x1be)](_0x3ca105,_0x559ae6,_0x1775e2){var _0x54db20=_0x4a7741;this['_unitInfo$'][_0x54db20(0x2c1)]({'unitId':_0x3ca105,'type':_0x559ae6,'subUnitId':_0x1775e2});let _0x3bcbe4=null;switch(_0x559ae6){case Q[_0x54db20(0x19f)]:{_0x3bcbe4=await this[_0x54db20(0x2f6)](_0x3ca105);break;}case Q[_0x54db20(0x31a)]:{_0x3bcbe4=await this[_0x54db20(0xbf)](_0x3ca105);break;}default:{this[_0x54db20(0xfa)][_0x54db20(0x155)](_0x54db20(0x175),_0x54db20(0x332));break;}}return _0x3bcbe4;}async[_0x4a7741(0x2f6)](_0x5b1a28){var _0x344692=_0x4a7741,_0x2a949b;let _0x34a9b1=0x0;const _0x14bcc3=await((_0x2a949b=this[_0x344692(0x38b)])==null?void 0x0:_0x2a949b['loadOfflineData'](_0x5b1a28));return _0x14bcc3&&(_0x14bcc3[_0x344692(0x294)]||_0x14bcc3[_0x344692(0xfe)][_0x344692(0x2f8)]!==0x0)&&(_0x34a9b1=_0x14bcc3[_0x344692(0x224)]),_0x34a9b1===0x0&&this['_logService'][_0x344692(0x1b8)]('[DataLoaderService]',_0x344692(0xbe)),this[_0x344692(0x17a)][_0x344692(0x15b)](_0x5b1a28,_0x34a9b1);}async[_0x4a7741(0xbf)](_0x51d641){var _0x398656=_0x4a7741,_0xc3d3fe;let _0x58d5b9=0x0;const _0x2f55bf=await((_0xc3d3fe=this[_0x398656(0x38b)])==null?void 0x0:_0xc3d3fe[_0x398656(0x9f)](_0x51d641));return _0x2f55bf&&(_0x2f55bf[_0x398656(0x294)]||_0x2f55bf[_0x398656(0xfe)]['length']!==0x0)&&(_0x58d5b9=_0x2f55bf[_0x398656(0x224)]),_0x58d5b9===0x0&&this['_logService'][_0x398656(0x1b8)]('[DataLoaderService]','fetching\x20the\x20latest\x20document\x20from\x20the\x20server.'),this[_0x398656(0x17a)]['loadDoc'](_0x51d641,_0x58d5b9);}};Ot=br([gt(0x0,_0x15afa6),gt(0x1,_0x33b12a(_0x193336)),gt(0x2,_0x13a27c(X))],Ot);var Rr=Object[_0x4a7741(0x1ac)],yr=Object[_0x4a7741(0xf3)],Or=(_0x45b6ab,_0x5ec195,_0x441904,_0x567107)=>{for(var _0x43fb37=_0x567107>0x1?void 0x0:_0x567107?yr(_0x5ec195,_0x441904):_0x5ec195,_0x28ddec=_0x45b6ab['length']-0x1,_0x342176;_0x28ddec>=0x0;_0x28ddec--)(_0x342176=_0x45b6ab[_0x28ddec])&&(_0x43fb37=(_0x567107?_0x342176(_0x5ec195,_0x441904,_0x43fb37):_0x342176(_0x43fb37))||_0x43fb37);return _0x567107&&_0x43fb37&&Rr(_0x5ec195,_0x441904,_0x43fb37),_0x43fb37;},St=(_0x39f9b5,_0x4dc643)=>(_0x175b11,_0x57d50b)=>_0x4dc643(_0x175b11,_0x57d50b,_0x39f9b5);const Pr=[_0x4a7741(0x1c4),_0x4a7741(0x13c),_0x4a7741(0x121),_0x4a7741(0xc5),_0x4a7741(0x296)],Nr=0x5*0x400*0x400,Dr=_0x4a7741(0xf7),wr=_0x4a7741(0xc3),Ur=_0x4a7741(0x2ab),Ar='/universer-api/file/{fileID}/sign-url';let Pt=class{constructor(_0x8ed5d8,_0x4aa153,_0x2444d4){var _0x28bed5=_0x4a7741;D(this,_0x28bed5(0xa6),0x0),D(this,_0x28bed5(0x2f7),new _0x2001de()),D(this,_0x28bed5(0x11e),this[_0x28bed5(0x2f7)]),D(this,_0x28bed5(0x1e3),new Map()),(this[_0x28bed5(0x28b)]=_0x8ed5d8,this[_0x28bed5(0x321)]=_0x4aa153,this[_0x28bed5(0x178)]=_0x2444d4);}['setWaitCount'](_0x5e59e9){var _0x11e7af=_0x4a7741;this[_0x11e7af(0xa6)]=_0x5e59e9,this[_0x11e7af(0x2f7)]['next'](_0x5e59e9);}['getImageSourceCache'](_0x35337f,_0x3f1f01){var _0x5bf357=_0x4a7741;if(_0x3f1f01===_0x2ca127[_0x5bf357(0x2e0)]){const _0x5611ba=new Image();return _0x5611ba[_0x5bf357(0x1d2)]=_0x35337f,_0x5611ba;}return this[_0x5bf357(0x1e3)][_0x5bf357(0x21f)](_0x35337f);}[_0x4a7741(0x1f1)](_0x1fdaa7,_0xda52cf,_0x3c8c4b){var _0x4fd2cf=_0x4a7741;_0xda52cf===_0x2ca127['BASE64']||_0x3c8c4b==null||this[_0x4fd2cf(0x1e3)][_0x4fd2cf(0x255)](_0x1fdaa7,_0x3c8c4b);}async[_0x4a7741(0x10b)](_0x486c6c){var _0x5703e8=_0x4a7741;try{const _0x11019a=this[_0x5703e8(0x303)](this[_0x5703e8(0x1a8)](),''+_0x486c6c),_0x387519=(await this[_0x5703e8(0x28b)][_0x5703e8(0x21f)](_0x11019a))['body'];if(_0x387519[_0x5703e8(0x155)]&&_0x387519[_0x5703e8(0x155)][_0x5703e8(0x23f)]===Ii['OK']){const _0x15f84e=new URL(_0x387519['url'],this[_0x5703e8(0x342)]())['toString']();return Promise[_0x5703e8(0x264)](_0x15f84e);}return Promise['reject'](_0x387519[_0x5703e8(0x155)]);}catch(_0x57da13){return Promise['reject'](_0x57da13);}}async[_0x4a7741(0x311)](_0x2dbc66){var _0x5b15c4=_0x4a7741;let _0x3c2085='';if(!Pr[_0x5b15c4(0x301)](_0x2dbc66[_0x5b15c4(0x27a)]))return this[_0x5b15c4(0x22b)](),Promise[_0x5b15c4(0x16f)](new Error(_0x306899['ERROR_IMAGE_TYPE']));if(_0x2dbc66[_0x5b15c4(0x221)]>Nr)return this[_0x5b15c4(0x22b)](),Promise[_0x5b15c4(0x16f)](new Error(_0x306899[_0x5b15c4(0x2e6)]));try{const _0xe690a0=new FormData();_0xe690a0[_0x5b15c4(0x284)](_0x5b15c4(0x309),_0x2dbc66);const _0x24af81=this[_0x5b15c4(0x178)][_0x5b15c4(0x1b4)](),_0x3bd55a=_0x24af81==null?void 0x0:_0x24af81[_0x5b15c4(0x2a4)]();if(!_0x3bd55a)throw new Error(_0x5b15c4(0x38d));const _0x325258=this[_0x5b15c4(0xd7)]()+'?size='+_0x2dbc66[_0x5b15c4(0x221)][_0x5b15c4(0x2d3)]()+_0x5b15c4(0x2ca)+Ti[_0x5b15c4(0x163)]+'&assign='+encodeURIComponent(_0x3bd55a),_0x3f8d6c=await(await fetch(_0x325258,{'method':_0x5b15c4(0x339),'body':_0xe690a0}))[_0x5b15c4(0x219)]();if(typeof _0x3f8d6c[_0x5b15c4(0x22c)]!='string')return this['_decreaseWaiting'](),Promise[_0x5b15c4(0x16f)](new Error(_0x306899[_0x5b15c4(0x1b7)]));_0x3c2085=_0x3f8d6c[_0x5b15c4(0x22c)];}catch{return this[_0x5b15c4(0x22b)](),Promise[_0x5b15c4(0x16f)](new Error(_0x306899[_0x5b15c4(0x1b7)]));}return new Promise((_0x1b887d,_0x324edc)=>{var _0x2baddb=_0x5b15c4;const _0x33f5d5=new FileReader();_0x33f5d5[_0x2baddb(0x24a)](_0x2dbc66),_0x33f5d5[_0x2baddb(0x16d)]=_0x3cdc19=>{var _0x1e73a9=_0x2baddb,_0x178cf0;const _0x1efe5f=(_0x178cf0=_0x3cdc19[_0x1e73a9(0x114)])==null?void 0x0:_0x178cf0['result'];if(_0x1efe5f==null){this[_0x1e73a9(0x22b)](),_0x324edc(new Error(_0x306899[_0x1e73a9(0x1b7)]));return;}const _0x46a7fb=_0x41d2de[_0x1e73a9(0x330)](0x6);_0x1b887d({'imageId':_0x46a7fb,'imageSourceType':_0x2ca127[_0x1e73a9(0x31c)],'source':_0x3c2085,'base64Cache':_0x1efe5f,'status':_0x306899['SUCCUSS']}),this[_0x1e73a9(0x22b)]();};});}['_getUploadFileURL'](){var _0x1b82a6=_0x4a7741,_0x3ea0cd,_0x183e7c;const _0x5b7816=this[_0x1b82a6(0x321)][_0x1b82a6(0x399)](Dr),_0x15a8e3=this[_0x1b82a6(0x321)][_0x1b82a6(0x399)](Y);return(_0x183e7c=(_0x3ea0cd=_0x15a8e3==null?void 0x0:_0x15a8e3[_0x1b82a6(0x1eb)])!=null?_0x3ea0cd:_0x5b7816)!=null?_0x183e7c:wr;}[_0x4a7741(0x1a8)](){var _0x3a91fb=_0x4a7741,_0x147ea6,_0x3739a5;const _0x438e6d=this['_configService'][_0x3a91fb(0x399)](Ur),_0x224b29=this[_0x3a91fb(0x321)]['getConfig'](Y);return(_0x3739a5=(_0x147ea6=_0x224b29==null?void 0x0:_0x224b29[_0x3a91fb(0x101)])!=null?_0x147ea6:_0x438e6d)!=null?_0x3739a5:Ar;}[_0x4a7741(0x342)](){var _0x261e47=_0x4a7741,_0x41d79c;const _0x150017=this['_configService'][_0x261e47(0x399)](Y);return(_0x41d79c=_0x150017==null?void 0x0:_0x150017[_0x261e47(0xb2)])!=null?_0x41d79c:location[_0x261e47(0x188)];}[_0x4a7741(0x303)](_0x879635,_0x640650){var _0x1396c6=_0x4a7741;return _0x879635['replace'](_0x1396c6(0x17d),_0x640650);}[_0x4a7741(0x22b)](){var _0x4e56bd=_0x4a7741;this[_0x4e56bd(0xa6)]-=0x1,this[_0x4e56bd(0x2f7)][_0x4e56bd(0x2c1)](this['_waitCount']);}};Pt=Or([St(0x0,_0x33b12a(_0x23500e)),St(0x1,_0x243586),St(0x2,_0x33b12a(_0x249ac8))],Pt);var xr=Object[_0x4a7741(0x1ac)],Lr=Object[_0x4a7741(0xf3)],Mr=(_0x2a9536,_0x73054b,_0x4f96b7,_0x391da1)=>{var _0x45a44f=_0x4a7741;for(var _0x391ab9=_0x391da1>0x1?void 0x0:_0x391da1?Lr(_0x73054b,_0x4f96b7):_0x73054b,_0x1d131f=_0x2a9536[_0x45a44f(0x2f8)]-0x1,_0x1e212e;_0x1d131f>=0x0;_0x1d131f--)(_0x1e212e=_0x2a9536[_0x1d131f])&&(_0x391ab9=(_0x391da1?_0x1e212e(_0x73054b,_0x4f96b7,_0x391ab9):_0x1e212e(_0x391ab9))||_0x391ab9);return _0x391da1&&_0x391ab9&&xr(_0x73054b,_0x4f96b7,_0x391ab9),_0x391ab9;},li=(_0xc93f1e,_0x1e7975)=>(_0xbdc4a5,_0x12b722)=>_0x1e7975(_0xbdc4a5,_0x12b722,_0xc93f1e);const $r=_0x4a7741(0x26d);let Nt=class{constructor(_0xa7521f,_0x2c0853){var _0x31d111=_0x4a7741;this[_0x31d111(0x321)]=_0xa7521f,this[_0x31d111(0x30d)]=_0x2c0853;}[_0x4a7741(0xcd)](){var _0x489e48=_0x4a7741,_0xec8d0a,_0x382452;const _0x3b6029=this[_0x489e48(0x321)]['getConfig'](Di),_0x2439f2=this[_0x489e48(0x321)][_0x489e48(0x399)](Y);return(_0x382452=(_0xec8d0a=_0x2439f2==null?void 0x0:_0x2439f2[_0x489e48(0x398)])!=null?_0xec8d0a:_0x3b6029)!=null?_0x382452:$r;}async[_0x4a7741(0x365)](_0xdb2220){var _0x28b102=_0x4a7741;const _0x5dee23=this[_0x28b102(0xcd)]()+'/collaborator';return{'list':[{'title':_0x28b102(0x36a),'mentions':(await this[_0x28b102(0x30d)][_0x28b102(0x21f)](_0x5dee23,{'params':{'objectID':_0xdb2220[_0x28b102(0x29d)],'unitID':_0xdb2220[_0x28b102(0x29d)]}}))['body']['collaborators']['map'](_0x45f82d=>({'objectId':_0x45f82d['id'],'name':_0x45f82d[_0x28b102(0x291)][_0x28b102(0xb6)],'metadata':{'icon':_0x45f82d[_0x28b102(0x291)][_0x28b102(0x2ba)]},'label':_0x45f82d[_0x28b102(0x291)][_0x28b102(0xb6)],'objectType':_0x5b24af[_0x28b102(0xa9)]})),'metadata':{},'type':_0x5b24af['PERSON']}]};}};Nt=Mr([li(0x0,_0x33b12a(_0x243586)),li(0x1,_0x33b12a(_0x23500e))],Nt);function _0x165a(){var _0x268432=['JOINING','BASE64','readyForCollab','_scheduleCollaborationTimeoutTimer','_removeRoom','action','symbol','ERROR_EXCEED_SIZE','[CollaborationEntity]:\x20cannot\x20apply\x20missing\x20results\x20on\x20other\x20states!','c1Prime','dispose$','delete','HttpImport','_xformMode','YUUMI_URL_COL_OUT_OF_RANGE','_onConnectionFailed','SNAPSHOT_SERVER_URL_KEY','from','[CollaborationSessionService]:\x20socket\x20error','_handlerCallback','objectType','onStarting','INGEST','_loadSheet','_change$','length','requestParams','AES','incrementRevOfUnit','collabWebSocketUrl','blockSize','?url=','onTransformSelections','onMissedChangesetFetched','includes','getUnit','_replaceFileID','Hasher','MD5','[FetchMissState]','_onRemoteRetry','_clearHeartbeatTimer','file','_keySchedule','eventID','17886468uybVUf','_HTTPService','NO_OTHER_CLIENTS_EDITING','sessionStatus$','_permissionService','saveImage','/new_changes','send','encryptBlock','onCommandExecuted','csRejEvent','fetch_missing','[SyncedState]:\x20received\x20rejection.','changesets','UNIVER_DOC','onRemoteChangeset','UUID','_redoStacks','call','baseRev','SOCKET_FAILED_RETRY','_configService','_hasher','_onRecvEvent','onSyncEditingCollabCursor','COMPRESS_MUTATION_APPLY','YUUMI_RATE_OVER_LIMIT','setConfig','APPLY_NON_SEQUENTIAL_REVISION','ONLINE','updateOfflineData','keySize','_resendTimeout','stringify','collaMsg','COMMENT_UPDATE','generateRandomId','Error\x20on\x20receiving\x20event','Unknown\x20type.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','fetchThroughInterceptors','clamp','failed\x20to\x20apply\x20missed\x20changesets!','/unit/','textRanges','_waitForHeartbeatResponse','POST','getTargetByPermissionId','_acknowledgedAwaitingChangeset','_http','data','retryConnectingInterval','_getRedoStack','_mode','Native\x20crypto\x20module\x20could\x20not\x20be\x20used\x20to\x20get\x20secure\x20random\x20number.','_getDownloadEndpointURL','session.room-full','createEncryptor','SNAPSHOT_URL_KEY','APPLY_REJECT','_config','getPermissionPoint','salt','cmd','appendMutation','LICENSE_EXPORT_SIZE_EXCEEDED','CHANGESET_SHOULD_RETRY','onCommentUpdate','_registerDependencies','complete','repeat','compute','_onRemoteACK','permissionRejEvent','_incrementRevisionNumber','18SnYzcU','capture','execute','focused$','pipe','crypto','padding','pad','close$','_toggleOffline','actions','registerHTTPInterceptor','onRemoteRetry','[CollaborationEntity]:\x20initial\x20state\x20has\x20been\x20created\x20before.\x20You\x20should\x20not\x20call\x20\x22init\x22\x20twice.','reduce','list','PERMISSION_REJ','_substituteUndoStack','onLocalMutation','error$','People','[OfflineState]:\x20received\x20acknowledgement.','_initCloseConn','RETRY_CONNECTING_MAX_COUNT','_state','conflict','JOIN_ROOM_FULL','SYNCED','&to=','map','originalMeta','_collaborationPaused','_sheetTransformSelectionsService','byteOffset','YUUMI_SUBSCRIPTION_NOT_FOUND','UPDATE_PERMISSION_OBJ','listRoles','Workbook','_syncEditingCollabCursor','_transformUndoredo','288QGZLPZ','MUTATION','_data','_onJoinRoomEvent','AWAITING_WITH_PENDING','_showConflictNotification','_singleActiveUnitService','join','7MpGAdD','subType','_sendHeartbeatTimer','_sessions','YUUMI_UNABLE_LOAD_URL','_localCacheService','submit\x20changeset\x20error!','unitId\x20is\x20not\x20found','onRemoteAck','message$','_createInitialStateImpl','_doCryptBlock','SHOULD_CLOSE_CONN','_transformSelections','startsWith','m2Prime','event$','roomInfos','authzUrl','getConfig','[PendingState]:\x20received\x20rejection.','_initUnitPermissionChange','sid','collaboratorID','getUnitOnRev','_clearRedo','resend','clone','_joinRoom','startTime','hasher','forEach','HMAC','slice','min','_roomMembers','_reverseMap','_transformService','socket\x20close','string','status$','getRoom','_scheduleTimestamp','loadOfflineData','_createSocketURL','LICENSE_DISTRO_REJECTED','getInterceptPoints','open$','_hash','unpad','_waitCount','SUBMIT_CHANGESET_TIMEOUT','collaboration_new_changeset','PERSON','JOIN','getTypeOfUnitAdded$','JOIN_ROOM_PERMISSION_DENIED','APPLY_REVISION_CONFILICT','SUBMIT_CHANGESET','[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.','_networkConditionService','decryptBlock','downloadEndpointUrl','awaiting_with_pending','ws://127.0.0.1:8000/universer-api/comb/connect','_commentService','name','_getCurrentRevision','\x22.\x20Please\x20configure\x20the\x20dynamicRequireTargets\x20or/and\x20ignoreDynamicRequires\x20option\x20of\x20@rollup/plugin-commonjs\x20appropriately\x20for\x20this\x20require\x20call\x20to\x20work.','commentUpdateEvent','_throwTelemetryCollaborationNewChangeset','location','[UniverCollaborationClientPlugin]','key','fetching\x20the\x20latest\x20document\x20from\x20the\x20server.','_loadDoc','_submitChangeset','_snapshotServerService','liveShareNewHost','/universer-api/stream/file/upload','StreamCipher','image/gif','params','[PendingState]:\x20received\x20acknowledgement.','_changesetReqId','_timeoutTimer','HEARTBEAT_INTERVAL','_transformStack','synced','_getAPIPrefixPath','cfg','_resendWithTimeout','22dvfFtk','Cannot\x20assemble\x20a\x20changeset\x20from\x20multiple\x20mutations\x20of\x20different\x20types:\x20','not_collab','update','_commandService','parse','Univer','_getUploadFileURL','_transformRemoteChangesetByIMECache','onlyLocal','exports','\x0aCurrent:\x20','connection\x20error','isArray','session.join-failed','reqId','HELLO','_createSocket','SHA1','rng','UPDATE_CURSOR','onTransformRemoteChangesetByStateCache\x20callback\x20is\x20not\x20added\x20yet.','_createInitialState','floor','_updateLocalCache','_minBufferSize','_remoteChangesetQueue','snapshot','[CollaborationUndoRedoService]','getMemberID','CONFLICT','push','iterations','getTypeOfUnitDisposed$','reverse','getOwnPropertyDescriptor','randomBytes','reconnect','_onUserJoin','EXCHANGE_UPLOAD_FILE_SERVER_URL_KEY','value','reset','_logService','enableSingleActiveInstanceLock','getCurrentUser','OTHER_CLIENT_EDITING','mutations','/universer-api/oidc/authpage','_collabSessionService','signUrlServerUrl','_unlockTransition','wsSessionTicketUrl','updateCursorEvent','concat','_revisionService','max','infoRsp','_tryEnsureSocket','onSendChangeset','getImage','compose','toggleOffline','_sessionStatus$','commentUpdate$','67782HEYVXS','onMissingChangesets','toLowerCase','_disableEditing','target','patch','PSEUDO_FETCH_MISSING_RESULT','_onMessage','[FetchingMissState]:\x20invalid\x20calling\x20to\x20`resend`.','csAckEvent','shouldCloseConn','OPTIONAL','/collaborator','_onConflict','change$','_event$','[CollaborationSession]','image/jpg','PasswordBasedCipher','INVALID_ARGUMENT','_stopTelemetryCollaborationNewChangeset','SNAPSHOT_HAS_BEEN_REMOVED','_resendTimer','This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!','allowed','onStateChange','getWorkbookSelections','_instanceService','_listenToNetworkCondition','runId','isPermissionRej','stopTime','unsubscribe','_socket$','Latin1','[CollaborationSocketService]:\x20failed\x20to\x20create\x20socket!','encodeURIComponent','then','PENDING','_iKey','_getLoginPath','7157408VQokea','_clearScheduledTask','setShowComponents','image/jpeg','_transitionLocked','_type','_pendingMutations','UNISCRIPT_RUN','\x20to\x20','close','CHANGESET_ACK','_getSendChangesetTimeout','pending','indexOf','HEARTBEAT','Base64','_invKeySchedule','UNIVER_UNKNOWN','_process','Decryptor','_collaborationSessionService','_nRounds','closeSession','_sender','/universer-api/user/session-ticket','collabSubmitChangesetUrl','getCollabEntity$','sessionTicket','error','function','body','duration','getMember','Base','loadSheet','UNKNOWN_CODE','BlockCipher','_init','_socketService','Cipher','\x20-\x20','socketService','UnitEmbedded','onTransformIME','_localeService','IDLE','_startCollaboration','_entities','words','save\x20fail\x20reason\x20is\x20','/rev/','COMPRESS_MUTATION_SEND','onload','[SyncedState]:\x20received\x20acknowledgement.','reject','collaboration-client.config','initWorkbookPermissionChange','CHANGESET_REJ','[CollaborationSessionService]','fromCharCode','[DataLoaderService]','ciphertext','fetchMiss','_univerInstanceService','formatter','_snapshotService','getDeserializedSheetBlock','onTransformState','{fileID}','_fetchMissChangesets','title','_collaborationTimeoutTimer','_userManagerService','_oKey','[serializeCombRequest]:\x20should\x20not\x20fall\x20into\x20default\x20branch!','randomUUID','_awaitingChangeset','_onLocalMutation','9668uoQPGN','origin','clearUndoRedo','headers','onRemoteRej','_substituteRedoStack','_rescheduleHeartbeat','[CollaborationSession]:\x20should\x20not\x20send\x20message\x20when\x20the\x20session\x20is\x20offline!','BufferedBlockAlgorithm','_getSessionTicket','removeMember','mode','OpenSSL','sendChangesetTimeout','Worksheet','localeService','_clearTimeoutTimer','subUnitId','_eventService','interceptor','liveShareOperation','updateCollaborator','unitID','_transformStateCache','UNIVER_SHEET','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','_transformRemoteChangesetByStateCache','finalize','getLatestCsReqIdBySid','values','snapshotServerUrl','SNAPSHOT_INVALID_SNAPSHOT','OFFLINE','_getSignURL','DEFAULT_FILE_NAME','_createHandler','_unitInfo$','defineProperty','findIndex','fromCollab','transformMutationsWithChangeset','_undoRedoService','transformUndoRedo','RECV','algo','getFocusedUnit','socket$','UNIVER_COLLABORATION_CLIENT_PLUGIN','ERROR_IMAGE','debug','executeCommand','subscribe','updateMember','_clearLocalCache','fetchMissingChangesets','loadUnit','state$','refreshPermission','_handler','decrypt','toggleOnline','image/png','_onCombEvent','Malformed\x20UTF-8\x20data','_onOffline','offline','BlockCipherMode','Encryptor','catch','getCurrentRevOfUnit','bind','status','sigBytes','routeKey','[FetchingMissState]:\x20not\x20expected\x20to\x20receive\x20ack\x20when\x20`this._awaitingChangeset`\x20is\x20null!','src','USERS_ENTER','buffer','members','HmacMD5','create','EvpKDF','awaiting','_shouldReportTelemetry','USERS_LEAVE','has','_compressMutationService','entries','_queuedRemoteChangesets','random','charAt','unit-cache-','_imageSourceCache','JOIN_ROOM_NOT_EXISTS','_state$','_memberService','csShouldRetryEvent','collaboration-client.local-cache-service','pauseCollaboration','1293dxClBL','uploadFileServerUrl','prototype','_telemetryInfo','hasOwnProperty','/block/','_status$','addImageSourceCache','CBC','_socketMessageSubscription','kdf','find','getSnapshotAPIPath','add','memberID','ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=','_checkMissing','_parse','workbook','every','_initRequestHeader','_onRemoteChangeset','UnitSnapshot','saveChangeset','asObservable','FAIL','userID','_applyRemoteChangeset','LIVESHARE_REQUEST_HOST','LIVESHARE_NEW_HOST','_exhaustRemoteChangesetQueue','unknown','_onRemoteRejected','_doFinalize','disableLocalCache','JOIN_ROOM_FAILED','collaborators','LICENSE_MAX_UNITS_EXCEEDED','getTime','PERMISSION_DENIED','result','WordArray','/object/','objects','session','_retryConnectingTimer','session.room-permission-denied','json','Utf8','telemetry\x20info\x20is\x20not\x20initialized','encrypt','10930DCDAhX','_ENC_XFORM_MODE','get','batchAllowed','size','localCacheService','ENSURE_SNAPSHOT_EXECUTION','rev','hostname','ceil','extend','deepClone','clear','processBlock','_decreaseWaiting','FileId','state','COMPLETION_FINISHED','createDecryptor','unitInfo$','__creator','_initMergeInterceptor','charCodeAt','getValue','_changesetSessionId','UNRECOGNIZED','/universer-api/snapshot/','format','range','ALREADY_EXISTS','_members','\x0aAfter:\x20','byteLength','splice','code','_authzIoService','/role','NOT_FOUND','sessionStatus','\x20in\x20_schedule.','[PendingState]:\x20invalid\x20calling\x20to\x20`resend`.','objectID','univer-pro.collaboration-client-socket-service','getRandomValues','disposeWithMe','readAsDataURL','379890uipQrd','CLOSE_ROOM','_nDataBytes','onTransformRemoteChangesetByStateCache','url','_map','/universer-api/comb','_socket','editing\x20status\x20changed\x20to','_onFetchMissResult','set','_startTelemetryCollaborationNewChangeset','enableOfflineEditing','LIVESHARE_OPERATION','transformSelections','_clearCollaborationTimeoutTimer','createSocket','[CollaborationEntity]:\x20invalid\x20state\x20transition!\x20State\x20transferred\x20from\x20is\x20not\x20the\x20current\x20state.\x0aBefore:\x20','CONNECTOR_DATA_TOO_LARGE','NEW_CHANGESETS','_getCtorByUniverType','APPLY_PERMISSION_DENIED','/allowed','_unitID','_sendingTimer','resolve','_prevBlock','_sendHeartbeat','UNKNOWN_CMD','156556CvzyUX','CipherParams','msCrypto','session.room-cnt-exceeds','_socketReady','/universer-api/authz','createInstance','pluginName','joinEvent','substr','_replayCachedMutations','[CollaborationState]:\x20apply\x20error!','_onConnectionOpen','LIVESHARE_FETCH_OPERATIONS','_append','newCsEvent','CHANGESET_REVISION_CONFILICT','method','type','LIVESHARE_TERMINATE','_initDependencies','enc','post','you\x20should\x20override\x20\x22IUndoRedoService\x22\x20provided\x20in\x20\x22core\x22\x20package!','INTERNAL_ERROR','_cipher','_createHelper','_retryCount','append','_tryReconnect','Undefined','createCollaborator','UNIVER_SLIDE','_executeRemoteChangeset','saveSheetBlock','_httpService','_createHmacHelper','selections','HttpExport','_schedule','_updateState','subject','_keyPriorReset','dispose','awaitingChangeset','leaveEvent','image/bmp','emitEvent','UNDEFINED','onTransformRemoteChangesetByIMECache','UNAUTHENTICATED','/-/object/-/batch_allowed','_key','unitId','listCollaborators','[SyncedState]:\x20invalid\x20calling\x20to\x20`resend`.','TOO_MANY_REQUESTS','_iv','deleteCollaborator','requireSession','getUnitId','UNIVER_PROJECT','session.room-not-exists','ticket','_candidateSocket','APPLY_DUPLICATED','_toggleOnline','EXCHANGE_SIGN_URL_SERVER_URL_KEY','transformChangesets','_DEC_XFORM_MODE','encode','_getAPIPrefix','HEARTBEAT_TIMEOUT','override','Hex','COLLAB_WEB_SOCKET_URL','AWAITING','sheets','now','resourceIDs','init','_transformIMECache','avatar','revision','GLOBAL_ROOMS_CNT_EXCEEDS','uniscriptRunEvent','MSG_FOR_ERROR','setCurrentUser','LEAVE','next','apply','updatePermissionPoint','LOGIN_URL_KEY','[CollaborationEntity]','_lockTransition','put','auth.needGotoLoginAlert','mixIn','&source=','OTHER_CLIENTS_EDITING','_collaborationUIEventService','filter','c2Prime','getCollabEntity','lib','_updateStatus','_onUserLeave','toString','_entityInit$','default','searchParams','_telemetryService','NoPadding','_commentUpdate$','_injector','withCredentials','ruleRefresh','_clearUndo','_isPermissionRej'];_0x165a=function(){return _0x268432;};return _0x165a();}var Hr=Object[_0x4a7741(0x1ac)],kr=Object[_0x4a7741(0xf3)],jr=(_0x29d442,_0x2d1216,_0x5d3414,_0x275a13)=>{var _0x3216e5=_0x4a7741;for(var _0x1b19e2=_0x275a13>0x1?void 0x0:_0x275a13?kr(_0x2d1216,_0x5d3414):_0x2d1216,_0x2c9c6c=_0x29d442[_0x3216e5(0x2f8)]-0x1,_0x4a974d;_0x2c9c6c>=0x0;_0x2c9c6c--)(_0x4a974d=_0x29d442[_0x2c9c6c])&&(_0x1b19e2=(_0x275a13?_0x4a974d(_0x2d1216,_0x5d3414,_0x1b19e2):_0x4a974d(_0x1b19e2))||_0x1b19e2);return _0x275a13&&_0x1b19e2&&Hr(_0x2d1216,_0x5d3414,_0x1b19e2),_0x1b19e2;},Se=(_0x98f42f,_0x3e6475)=>(_0x18f73a,_0x335a43)=>_0x3e6475(_0x18f73a,_0x335a43,_0x98f42f);let ct=class extends _0x537d0d{constructor(_0x3036e4,_0x27168b,_0x3ec21f,_0x1663ae,_0x276501,_0x1466af,_0x14c54a){var _0xcf166a=_0x4a7741;super(),this[_0xcf166a(0x2da)]=_0x3036e4,this[_0xcf166a(0x178)]=_0x27168b,this[_0xcf166a(0x310)]=_0x3ec21f,this[_0xcf166a(0x14d)]=_0x1663ae,this[_0xcf166a(0x2cc)]=_0x276501,this['_authzIoService']=_0x1466af,this[_0xcf166a(0x1b0)]=_0x14c54a,this[_0xcf166a(0x39b)](),this[_0xcf166a(0x36c)]();}[_0x4a7741(0x36c)](){var _0x18821c=_0x4a7741;const _0xf870df=async _0x9dafee=>{var _0x29c7b6=_0xda85;(await this[_0x29c7b6(0x14d)][_0x29c7b6(0x2a3)](_0x9dafee))[_0x29c7b6(0x396)][_0x29c7b6(0x35a)](_0x239d59(_0x4ba7a2=>_0x4ba7a2[_0x29c7b6(0x30b)]===_0x3c0549[_0x29c7b6(0x392)]),_0x56c3fb(this['dispose$']))[_0x29c7b6(0x1ba)](_0x5707dc=>{var _0x5e65b5=_0x29c7b6;const _0xf130eb=_0x5707dc,{reason:_0x462b17}=_0xf130eb[_0x5e65b5(0x33d)];this[_0x5e65b5(0x2cc)][_0x5e65b5(0x297)]({'id':se[_0x5e65b5(0x24c)],'data':_0x462b17}),this[_0x5e65b5(0x310)][_0x5e65b5(0x2c3)](new _0xcb920c(_0x9dafee)['id'],!0x1),this[_0x5e65b5(0x14d)][_0x5e65b5(0x14f)](_0x9dafee);});};_0x142a02(this['_univerInstanceService'][_0x18821c(0xab)](_0x2adb8a[_0x18821c(0x19f)]),this[_0x18821c(0x178)][_0x18821c(0xab)](_0x2adb8a['UNIVER_DOC']))['pipe'](_0x55950a(_0x695adf=>_0x695adf[_0x18821c(0x2a4)]()),_0x239d59(_0x28bceb=>!_0x3623b7(_0x28bceb)),_0x56c3fb(this[_0x18821c(0x2e9)]))[_0x18821c(0x1ba)](_0x4f3fac=>{_0xf870df(_0x4f3fac);});}['_initUnitPermissionChange'](){var _0x19fe1d=_0x4a7741;const _0x1a2b14=async _0x385bb3=>{var _0x1430e5=_0xda85;(await this[_0x1430e5(0x14d)][_0x1430e5(0x2a3)](_0x385bb3))[_0x1430e5(0x396)][_0x1430e5(0x35a)](_0x239d59(_0x5ab95e=>_0x5ab95e[_0x1430e5(0x30b)]===_0x3c0549[_0x1430e5(0x379)]),_0x56c3fb(this[_0x1430e5(0x2e9)]))['subscribe'](_0x12865a=>{var _0x5c97c7=_0x1430e5;const _0x5278a4=_0x12865a,{objectId:_0x356c4c}=_0x5278a4[_0x5c97c7(0x33d)];_0x356c4c===_0x385bb3?this[_0x5c97c7(0x171)](_0x385bb3):this[_0x5c97c7(0x1c0)](_0x385bb3,_0x356c4c);});};_0x142a02(this['_univerInstanceService'][_0x19fe1d(0xab)](_0x2adb8a[_0x19fe1d(0x19f)]),this['_univerInstanceService'][_0x19fe1d(0xab)](_0x2adb8a['UNIVER_DOC']))[_0x19fe1d(0x35a)](_0x55950a(_0x3a61ba=>_0x3a61ba[_0x19fe1d(0x2a4)]()),_0x239d59(_0x4879f8=>!_0x3623b7(_0x4879f8)),_0x56c3fb(this[_0x19fe1d(0x2e9)]))[_0x19fe1d(0x1ba)](_0x36c2c2=>{_0x1a2b14(_0x36c2c2);});}async[_0x4a7741(0x171)](_0x115c69){var _0x11c60b=_0x4a7741,_0x47238e;const _0x4a18f0=_0x115c69||((_0x47238e=this[_0x11c60b(0x178)]['getCurrentUnitForType'](_0x2adb8a['UNIVER_SHEET']))==null?void 0x0:_0x47238e[_0x11c60b(0x2a4)]());_0x4a18f0&&this[_0x11c60b(0x240)][_0x11c60b(0x128)]({'objectID':_0x4a18f0,'objectType':_0x517e95[_0x11c60b(0x37b)],'unitID':_0x4a18f0,'actions':_0x926464})[_0x11c60b(0x135)](_0x3661f7=>{var _0x317058=_0x11c60b;_0x920e54()[_0x317058(0x3a5)](_0x3eceb9=>{var _0x1b7ed8=_0x317058;const _0x560ad5=new _0x3eceb9(_0x4a18f0),_0x342d41=_0x560ad5[_0x1b7ed8(0x387)],_0x3f0ca4=_0x3661f7['find'](_0x427eb8=>_0x427eb8[_0x1b7ed8(0x2e4)]===_0x342d41);_0x3f0ca4&&this[_0x1b7ed8(0x310)][_0x1b7ed8(0x2c3)](_0x560ad5['id'],_0x3f0ca4[_0x1b7ed8(0x128)]);});});}[_0x4a7741(0x1c0)](_0xbddb6e,_0x3710e2){var _0x3c7c70=_0x4a7741;const _0x4c22f9=this['_injector'][_0x3c7c70(0x21f)](_0x687ad3),_0x2b75d1=_0x4c22f9['getTargetByPermissionId'](_0xbddb6e,_0x3710e2);let _0x26a47c=!0x1;if(_0x2b75d1){const [_0x1ba256,_0x406621]=_0x2b75d1;this['_authzIoService'][_0x3c7c70(0x128)]({'objectID':_0x3710e2,'unitID':_0xbddb6e,'objectType':_0x517e95[_0x3c7c70(0x195)],'actions':_0xe98554})[_0x3c7c70(0x135)](_0x50ed47=>{var _0x4665b6=_0x3c7c70;let _0x56855e='';_0x487026()['forEach'](_0x4833d5=>{var _0x2b6df5=_0xda85,_0x420217;const _0x2c5028=new _0x4833d5(_0xbddb6e,_0x406621),_0x15685e=_0x2c5028[_0x2b6df5(0x387)],_0x42b16a=_0x50ed47[_0x2b6df5(0x1f5)](_0x5622a1=>_0x5622a1[_0x2b6df5(0x2e4)]===_0x15685e);_0x42b16a&&(((_0x420217=this[_0x2b6df5(0x310)]['getPermissionPoint'](_0x2c5028['id']))==null?void 0x0:_0x420217[_0x2b6df5(0xf8)])!==_0x42b16a['allowed']&&(_0x26a47c=!0x0),this['_permissionService'][_0x2b6df5(0x2c3)](_0x2c5028['id'],_0x42b16a[_0x2b6df5(0x128)]),_0x56855e+=_0x42b16a[_0x2b6df5(0x2e4)]+'_'+_0x42b16a[_0x2b6df5(0x128)]);}),_0x4c22f9[_0x4665b6(0x2dc)](_0x3710e2+'_'+_0x56855e),_0x26a47c&&this[_0x4665b6(0x1b0)]['clearUndoRedo'](_0xbddb6e);});}const _0x2883b9=this['_injector']['get'](_0x16892f)[_0x3c7c70(0x33a)](_0xbddb6e,_0x3710e2);if(_0x2883b9){const [_0x56ccbb,_0x9daecb]=_0x2883b9;this[_0x3c7c70(0x240)][_0x3c7c70(0x128)]({'objectID':_0x3710e2,'unitID':_0xbddb6e,'objectType':_0x517e95[_0x3c7c70(0x195)],'actions':_0x1ab43b})[_0x3c7c70(0x135)](_0x30a1ae=>{var _0x184a5c=_0x3c7c70;_0x5724a2()[_0x184a5c(0x3a5)](_0x551710=>{var _0x564a1f=_0x184a5c,_0x2a326c;const _0x4d9b72=new _0x551710(_0xbddb6e,_0x9daecb),_0x5148be=_0x4d9b72[_0x564a1f(0x387)],_0x1428e1=_0x30a1ae[_0x564a1f(0x1f5)](_0x4273e4=>_0x4273e4[_0x564a1f(0x2e4)]===_0x5148be);_0x1428e1&&(((_0x2a326c=this['_permissionService']['getPermissionPoint'](_0x4d9b72['id']))==null?void 0x0:_0x2a326c[_0x564a1f(0xf8)])!==_0x1428e1[_0x564a1f(0x128)]&&(_0x26a47c=!0x0),this[_0x564a1f(0x310)]['updatePermissionPoint'](_0x4d9b72['id'],_0x1428e1[_0x564a1f(0x128)]));}),_0x26a47c&&this[_0x184a5c(0x1b0)][_0x184a5c(0x189)](_0xbddb6e);});}const _0x4d0b72=this[_0x3c7c70(0x2da)][_0x3c7c70(0x21f)](_0x2c5e08),_0xee80c9=_0x4d0b72[_0x3c7c70(0x33a)](_0xbddb6e,_0x3710e2);if(_0xee80c9){const [_0x5d5c7a,_0x315db8]=_0xee80c9;this[_0x3c7c70(0x240)][_0x3c7c70(0x128)]({'objectID':_0x3710e2,'unitID':_0xbddb6e,'objectType':_0x517e95['SelectRange'],'actions':_0xe98554})[_0x3c7c70(0x135)](_0x12de37=>{var _0x41b077=_0x3c7c70;let _0x47a138='';_0x5843db()[_0x41b077(0x3a5)](_0x5c6dd1=>{var _0xf0b0c7=_0x41b077,_0x2a6951;const _0x5196d4=new _0x5c6dd1(_0xbddb6e,_0x315db8,_0x3710e2),_0x635ea4=_0x5196d4[_0xf0b0c7(0x387)],_0x41628a=_0x12de37[_0xf0b0c7(0x1f5)](_0x46f46f=>_0x46f46f[_0xf0b0c7(0x2e4)]===_0x635ea4);_0x41628a&&(((_0x2a6951=this[_0xf0b0c7(0x310)][_0xf0b0c7(0x348)](_0x5196d4['id']))==null?void 0x0:_0x2a6951[_0xf0b0c7(0xf8)])!==_0x41628a[_0xf0b0c7(0x128)]&&(_0x26a47c=!0x0),this[_0xf0b0c7(0x310)][_0xf0b0c7(0x2c3)](_0x5196d4['id'],_0x41628a[_0xf0b0c7(0x128)]),_0x47a138+=_0x41628a[_0xf0b0c7(0x2e4)]+'_'+_0x41628a[_0xf0b0c7(0x128)]);}),_0x4d0b72[_0x41b077(0x2dc)](_0x3710e2+'_'+_0x47a138),_0x26a47c&&this['_undoRedoService'][_0x41b077(0x189)](_0xbddb6e);});}}};ct=jr([Se(0x0,_0x33b12a(_0x907b7b)),Se(0x1,_0x249ac8),Se(0x2,_0x5eb1c1),Se(0x3,_0x33b12a(Me)),Se(0x4,_0x33b12a(pe)),Se(0x5,_0x20b299),Se(0x6,_0x3d6c4b)],ct);var Br=Object[_0x4a7741(0x1ac)],Fr=Object[_0x4a7741(0xf3)],Vr=(_0x4f0b18,_0x295772,_0x318623,_0x128ee4)=>{var _0x3bf0e6=_0x4a7741;for(var _0x4e2e75=_0x128ee4>0x1?void 0x0:_0x128ee4?Fr(_0x295772,_0x318623):_0x295772,_0x329fa1=_0x4f0b18[_0x3bf0e6(0x2f8)]-0x1,_0x4ab1fa;_0x329fa1>=0x0;_0x329fa1--)(_0x4ab1fa=_0x4f0b18[_0x329fa1])&&(_0x4e2e75=(_0x128ee4?_0x4ab1fa(_0x295772,_0x318623,_0x4e2e75):_0x4ab1fa(_0x4e2e75))||_0x4e2e75);return _0x128ee4&&_0x4e2e75&&Br(_0x295772,_0x318623,_0x4e2e75),_0x4e2e75;},ui=(_0x988c4c,_0x201e95)=>(_0xda16ca,_0x2ff851)=>_0x201e95(_0xda16ca,_0x2ff851,_0x988c4c);let Dt=class{constructor(_0x43760c,_0x197bd6){var _0x24f99b=_0x4a7741;this['_configService']=_0x43760c,this[_0x24f99b(0x28b)]=_0x197bd6;}async[_0x4a7741(0x39e)](_0x388300,_0x38bc1f){var _0x49cef5=_0x4a7741,_0x150941;const {unitID:_0x22e6ab,type:_0x3c36cc,revision:_0x912463=0x0}=_0x38bc1f,_0x5daf67=this[_0x49cef5(0x1f6)]()+'/'+_0x3c36cc+_0x49cef5(0x336)+_0x22e6ab+_0x49cef5(0x16b)+_0x912463,_0x4271dc=(await this[_0x49cef5(0x28b)][_0x49cef5(0x21f)](_0x5daf67))[_0x49cef5(0x157)],_0x34b934=(_0x150941=_0x4271dc[_0x49cef5(0xeb)])==null?void 0x0:_0x150941[_0x49cef5(0x1fc)];if(_0x34b934){const _0x5a28ec=_0x34b934==null?void 0x0:_0x34b934[_0x49cef5(0x374)],_0x40ff20=_0x28f302[_0x49cef5(0x2ae)](_0x1d1b22(_0x5a28ec));_0x34b934['originalMeta']=_0x40ff20,Object[_0x49cef5(0x1de)](_0x34b934[_0x49cef5(0x2b5)])[_0x49cef5(0x3a5)](([,_0x214cc4])=>{var _0x9a76c6=_0x49cef5;const _0x51ddda=_0x214cc4['originalMeta'],_0x592c95=_0x28f302[_0x9a76c6(0x2ae)](_0x1d1b22(_0x51ddda));_0x214cc4['originalMeta']=_0x592c95;});}return _0x4271dc;}async['getSheetBlock'](_0x210adb,_0x59526d){var _0x590e52=_0x4a7741;const {unitID:_0x17f0c9,type:_0x1a9db1,blockID:_0x3e4512}=_0x59526d,_0x452357=this[_0x590e52(0x2af)]()+'/'+_0x1a9db1+_0x590e52(0x336)+_0x17f0c9+_0x590e52(0x1ef)+_0x3e4512;return(await this['_httpService'][_0x590e52(0x21f)](_0x452357))[_0x590e52(0x157)];}async[_0x4a7741(0x17b)](_0x4ee7c6,_0x26d6d4){var _0x4a2e3a=_0x4a7741;const {unitID:_0x35a2c7,type:_0x26314d,blockID:_0x6edd62}=_0x26d6d4,_0x1f4fbd=this[_0x4a2e3a(0x2af)]()+_0x4a2e3a(0x1ef)+_0x26314d+_0x4a2e3a(0x336)+_0x35a2c7+_0x4a2e3a(0x1ef)+_0x6edd62;return(await this[_0x4a2e3a(0x28b)]['get'](_0x1f4fbd))['body'];}async[_0x4a7741(0x1bd)](_0x170b44,_0x89a1ef){var _0x226a4c=_0x4a7741;const {unitID:_0x11d95e,type:_0xfb1c69,from:_0x265e27,to:_0xc087e4}=_0x89a1ef,_0x1728f4=this['_getAPIPrefix']()+'/'+_0xfb1c69+'/unit/'+_0x11d95e+'/fetchmissing?from='+_0x265e27+_0x226a4c(0x372)+_0xc087e4;return(await this['_httpService']['get'](_0x1728f4))['body'];}[_0x4a7741(0x1f6)](){var _0x2a5162=_0x4a7741,_0x39538c;return(_0x39538c=this[_0x2a5162(0x321)][_0x2a5162(0x399)](Dn))!=null?_0x39538c:this['_getAPIPrefix']();}[_0x4a7741(0x2af)](){var _0x457501=_0x4a7741,_0x7b798e,_0x202417;const _0xbd64ac=this[_0x457501(0x321)]['getConfig'](Pn),_0x398511=this[_0x457501(0x321)][_0x457501(0x399)](Y);return(_0x202417=(_0x7b798e=_0x398511==null?void 0x0:_0x398511[_0x457501(0x1a5)])!=null?_0x7b798e:_0xbd64ac)!=null?_0x202417:Nn;}async['getResourcesRequest'](_0x12097b,_0x324add){var _0x12ef89=_0x4a7741;const _0x316fc7=_0x12ef89(0x237)+_0x324add[_0x12ef89(0x27a)]+'/unit/'+_0x324add[_0x12ef89(0x19d)]+'/resources';return(await this[_0x12ef89(0x28b)][_0x12ef89(0x21f)](_0x316fc7,{'params':{'resourceId':JSON[_0x12ef89(0x32d)](_0x324add[_0x12ef89(0x2b7)])}}))['body'];}['saveSnapshot'](){var _0x472507=_0x4a7741;throw new Error(_0x472507(0x127));}[_0x4a7741(0x28a)](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}[_0x4a7741(0x201)](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}['copyFileMeta'](){var _0x2fd8a4=_0x4a7741;throw new Error(_0x2fd8a4(0x127));}[_0x4a7741(0x1a3)](){var _0x3b6320=_0x4a7741;throw new Error(_0x3b6320(0x127));}};Dt=Vr([ui(0x0,_0x243586),ui(0x1,_0x33b12a(_0x23500e))],Dt);var Wr=Object[_0x4a7741(0x1ac)],Gr=Object[_0x4a7741(0xf3)],Kr=(_0x16ed55,_0x593083,_0x1c3c6e,_0x127c52)=>{for(var _0x44afc6=_0x127c52>0x1?void 0x0:_0x127c52?Gr(_0x593083,_0x1c3c6e):_0x593083,_0x527e2c=_0x16ed55['length']-0x1,_0x30e0df;_0x527e2c>=0x0;_0x527e2c--)(_0x30e0df=_0x16ed55[_0x527e2c])&&(_0x44afc6=(_0x127c52?_0x30e0df(_0x593083,_0x1c3c6e,_0x44afc6):_0x30e0df(_0x44afc6))||_0x44afc6);return _0x127c52&&_0x44afc6&&Wr(_0x593083,_0x1c3c6e,_0x44afc6),_0x44afc6;},Ue=(_0x518138,_0x460259)=>(_0x4f669c,_0x3f793e)=>_0x460259(_0x4f669c,_0x3f793e,_0x518138);let wt=class extends _0x53ef46{constructor(_0x2d02e8,_0x14b912,_0x301b48,_0x820bba,_0x57690f){var _0x3832b6=_0x4a7741;super(_0x2d02e8,_0x14b912,_0x301b48),this[_0x3832b6(0x99)]=_0x820bba,this['_logService']=_0x57690f;}['transformUndoRedo'](_0x1d05ec,_0x883dbc){var _0x322ec8=_0x4a7741;const _0x3288a6=this['_getUndoStack'](_0x1d05ec);if(_0x3288a6)try{const _0xf3644b=this[_0x322ec8(0xcb)](_0x3288a6,_0x883dbc);this['_substituteUndoStack'](_0x1d05ec,_0xf3644b);}catch(_0x4e16d9){this['_logService'][_0x322ec8(0x155)](_0x322ec8(0xec),_0x4e16d9),this[_0x322ec8(0x2dd)](_0x1d05ec);}const _0x19280a=this[_0x322ec8(0x33f)](_0x1d05ec);if(_0x19280a)try{const _0x2a0992=this[_0x322ec8(0xcb)](_0x19280a,_0x883dbc);this[_0x322ec8(0x18c)](_0x1d05ec,_0x2a0992);}catch(_0x8d2231){this[_0x322ec8(0xfa)][_0x322ec8(0x155)](_0x8d2231),this[_0x322ec8(0x39f)](_0x1d05ec);}}[_0x4a7741(0x2dd)](_0x4b0af3){var _0x5c12dc=_0x4a7741;const _0x4719bd=this['_getUndoStack'](_0x4b0af3);_0x4719bd&&(_0x4719bd[_0x5c12dc(0x2f8)]=0x0,this[_0x5c12dc(0x2d1)]());}[_0x4a7741(0x39f)](_0x393488){var _0x3fab05=_0x4a7741;const _0x5f3f5b=this['_getRedoStack'](_0x393488);_0x5f3f5b&&(_0x5f3f5b[_0x3fab05(0x2f8)]=0x0,this[_0x3fab05(0x2d1)]());}[_0x4a7741(0x367)](_0x5ad2b3,_0x45dd1f){this['_undoStacks']['set'](_0x5ad2b3,_0x45dd1f),this['_updateStatus']();}['_substituteRedoStack'](_0x5b6c3f,_0xd68b0f){var _0x5ee17a=_0x4a7741;this[_0x5ee17a(0x31d)][_0x5ee17a(0x255)](_0x5b6c3f,_0xd68b0f),this[_0x5ee17a(0x2d1)]();}[_0x4a7741(0xcb)](_0x59da18,_0x4b4c1f){var _0x584d38=_0x4a7741;const _0x4e7f91=[];let _0x58802f=_0x4b4c1f,_0x196a8e=_0x4b4c1f;for(let _0x3a269c=_0x59da18[_0x584d38(0x2f8)]-0x1;_0x3a269c>=0x0;_0x3a269c--){const {unitID:_0x2d8b6b,undoMutations:_0x1f1907,redoMutations:_0x407ace}=_0x59da18[_0x3a269c],_0x522dc0=this[_0x584d38(0x99)][_0x584d38(0x1af)](_0x58802f,_0x1f1907),_0x21d7dd=this[_0x584d38(0x99)][_0x584d38(0x1af)](_0x196a8e,_0x407ace);if(_0x4a07dd(_0x522dc0)||_0x4a07dd(_0x21d7dd)){this['_logService'][_0x584d38(0x155)]('[CollaborationUndoRedoService]','transformStack\x20failed!',_0x522dc0,_0x21d7dd);break;}_0x58802f=_0x522dc0['c1Prime'],_0x196a8e=_0x21d7dd[_0x584d38(0x2e8)],_0x4e7f91['push']({'unitID':_0x2d8b6b,'undoMutations':_0x522dc0[_0x584d38(0x395)],'redoMutations':_0x21d7dd[_0x584d38(0x395)]});}return _0x4e7f91[_0x584d38(0xf2)]();}};wt=Kr([Ue(0x0,_0x249ac8),Ue(0x1,_0xc1c261),Ue(0x2,_0x17e19c),Ue(0x3,_0x4aadc5),Ue(0x4,_0x15afa6)],wt);var xi=Object['defineProperty'],zr=Object[_0x4a7741(0xf3)],Yr=(_0x1c0bf1,_0xdcf7a3,_0x44dcee)=>_0xdcf7a3 in _0x1c0bf1?xi(_0x1c0bf1,_0xdcf7a3,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x44dcee}):_0x1c0bf1[_0xdcf7a3]=_0x44dcee,qr=(_0x4456f0,_0x3defe8,_0x211422,_0x335f42)=>{var _0x20ff83=_0x4a7741;for(var _0x2557e9=_0x335f42>0x1?void 0x0:_0x335f42?zr(_0x3defe8,_0x211422):_0x3defe8,_0x15e7fc=_0x4456f0[_0x20ff83(0x2f8)]-0x1,_0x4b082e;_0x15e7fc>=0x0;_0x15e7fc--)(_0x4b082e=_0x4456f0[_0x15e7fc])&&(_0x2557e9=(_0x335f42?_0x4b082e(_0x3defe8,_0x211422,_0x2557e9):_0x4b082e(_0x2557e9))||_0x2557e9);return _0x335f42&&_0x2557e9&&xi(_0x3defe8,_0x211422,_0x2557e9),_0x2557e9;},Et=(_0x247380,_0x508ef6)=>(_0x5cb91b,_0x10551e)=>_0x508ef6(_0x5cb91b,_0x10551e,_0x247380),Jr=(_0x323c9b,_0x1b05da,_0x167bcc)=>Yr(_0x323c9b,_0x1b05da+'',_0x167bcc);const Xr=_0x4a7741(0x1b6);let Ut=class extends _0x2deda8{constructor(_0x51b942=Wn,_0x3cef45,_0x49b4d9,_0x3b5db3){var _0x2a2552=_0x4a7741;super(),this['_config']=_0x51b942,this[_0x2a2552(0xfa)]=_0x3cef45,this[_0x2a2552(0x2da)]=_0x49b4d9,this[_0x2a2552(0x321)]=_0x3b5db3;const {..._0x24c762}=this['_config'];this[_0x2a2552(0x321)][_0x2a2552(0x327)](Y,_0x24c762);}[_0x4a7741(0x2f4)](){var _0x65f7c2=_0x4a7741;this[_0x65f7c2(0x34f)](),this[_0x65f7c2(0x27c)]();}['_registerDependencies'](){var _0x29d26=_0x4a7741,_0x1abecb,_0x595475,_0x39d974,_0x58a978;this[_0x29d26(0x2da)][_0x29d26(0x1dc)](_0x3d6c4b)&&this['_logService'][_0x29d26(0x155)](_0x29d26(0xbc),_0x29d26(0x27f));const _0x2adef8=_0x5062c8([[_0x3d6c4b,{'useClass':wt}],[Me],[Le],[nt],[ot],[at],[bi],[ct],[pe],[Ot],[Ci,{'useClass':(_0x595475=(_0x1abecb=this[_0x29d26(0x347)])==null?void 0x0:_0x1abecb[_0x29d26(0x162)])!=null?_0x595475:It}],[_0xefdb57,{'useClass':Dt}],[_0x20b299,{'useClass':yt}],[_0x1f1131,{'useClass':Pt}],[_0x5821db,{'useClass':Nt}],[rt],[Rt]],(_0x39d974=this[_0x29d26(0x347)])==null?void 0x0:_0x39d974[_0x29d26(0x2b1)]);if(!((_0x58a978=this[_0x29d26(0x347)])!=null&&_0x58a978[_0x29d26(0xfb)])){const _0x4df5e2=_0x2adef8[_0x29d26(0x1ad)](([_0x5806ab])=>_0x5806ab===_t);_0x4df5e2!==-0x1&&_0x2adef8[_0x29d26(0x23e)](_0x4df5e2,0x1);}_0x1e0485(this[_0x29d26(0x2da)],_0x2adef8);}[_0x4a7741(0x27c)](){var _0x411f48=_0x4a7741,_0x525a11,_0x590faf,_0x284a42;this['_injector'][_0x411f48(0x21f)](_0x23500e)[_0x411f48(0x361)]({'priority':0x14,'interceptor':_0x42a144({'maxParallel':0x6})}),(_0x525a11=this[_0x411f48(0x347)])!=null&&_0x525a11[_0x411f48(0x257)]||(_0x590faf=this[_0x411f48(0x2da)][_0x411f48(0x21f)](X,_0x208f35[_0x411f48(0x11b)]))==null||_0x590faf[_0x411f48(0x20c)](),(_0x284a42=this['_config'])!=null&&_0x284a42['enableAuthServer']&&_0x34647d(this[_0x411f48(0x2da)],[[ot]]),_0x34647d(this[_0x411f48(0x2da)],[[at],[rt],[ct]]);}};Jr(Ut,_0x4a7741(0x26f),Xr),Ut=qr([_0x1561cc(_0x2db122,_0x38c07d,_0xa9be52),Et(0x1,_0x15afa6),Et(0x2,_0x33b12a(_0x907b7b)),Et(0x3,_0x243586)],Ut);export{Di as AUTHZ_URL_KEY,yt as AuthzIoHttpService,ue as AwaitingState,oe as AwaitingWithPendingState,Y as COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY,jn as COLLAB_SUBMIT_CHANGESET_URL_KEY,Un as COLLAB_WEB_SOCKET_URL_KEY,rt as CollaborationController,st as CollaborationEntity,Pt as CollaborationImageIoService,Tt as CollaborationSession,Me as CollaborationSessionService,It as CollaborationSocketService,Oi as CollaborationStatus,se as CollaborationUIEventId,pe as CollaborationUIEventService,wt as CollaborativeUndoRedoService,bi as CommentService,de as ConflictState,An as DEFAULT_COLLAB_WEB_SOCKET_URL,Ot as DataLoaderService,Ct as DocCollaborationEntity,te as FetchingMissState,Ln as HEARTBEAT_INTERVAL_KEY,Si as HEARTBEAT_TIMEOUT_KEY,Ci as ICollaborationSocketService,X as ILocalCacheService,Gn as INetworkConditionService,_t as ISingleActiveUnitService,lo as LOCAL_CACHE_INTERVAL,_o as LOCAL_CACHE_INTERVAL_KEY,Fn as LOGIN_URL_KEY,Le as MemberService,Nt as MentionIoHttpService,fe as OfflineState,re as PendingState,Hn as RETRY_CONNECTING_MAX_COUNT_KEY,ho as SEND_CHANGESET_TIMEOUT_KEY,Pn as SNAPSHOT_SERVER_URL_KEY,Dn as SNAPSHOT_URL_KEY,Ie as SessionStatus,bt as SheetCollaborationEntity,nt as SheetTransformSelectionsService,Dt as SnapshotServerOverHTTPService,Pe as SyncedState,Ri as UnitStatus,Ut as UniverCollaborationClientPlugin,Kn as deserializeToCombResponse,uo as getLocalCacheKey,zn as serializeCombRequest};
|
1
|
+
var _0x3e9f07=_0x4dcf;(function(_0x2a4ced,_0x9eb796){var _0x173bc1=_0x4dcf,_0x4fcd07=_0x2a4ced();while(!![]){try{var _0x569f89=-parseInt(_0x173bc1(0x26e))/0x1*(-parseInt(_0x173bc1(0x263))/0x2)+-parseInt(_0x173bc1(0x400))/0x3*(-parseInt(_0x173bc1(0x3b3))/0x4)+-parseInt(_0x173bc1(0x21e))/0x5*(parseInt(_0x173bc1(0x1e7))/0x6)+-parseInt(_0x173bc1(0x39b))/0x7+-parseInt(_0x173bc1(0x36d))/0x8*(-parseInt(_0x173bc1(0x369))/0x9)+parseInt(_0x173bc1(0x2ff))/0xa*(-parseInt(_0x173bc1(0x1ae))/0xb)+parseInt(_0x173bc1(0x334))/0xc;if(_0x569f89===_0x9eb796)break;else _0x4fcd07['push'](_0x4fcd07['shift']());}catch(_0x262651){_0x4fcd07['push'](_0x4fcd07['shift']());}}}(_0x5145,0xf3f4f));var Mi=Object[_0x3e9f07(0x386)],$i=(_0x2ebce3,_0x5985d2,_0x3388aa)=>_0x5985d2 in _0x2ebce3?Mi(_0x2ebce3,_0x5985d2,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x3388aa}):_0x2ebce3[_0x5985d2]=_0x3388aa,N=(_0x69d73,_0x4a6a36,_0x5df840)=>$i(_0x69d73,typeof _0x4a6a36!=_0x3e9f07(0x276)?_0x4a6a36+'':_0x4a6a36,_0x5df840);import{createIdentifier as _0x1c6acd,Inject as _0x1e11c8,Injector as _0x202b1e,Disposable as _0x2f099f,DisposableCollection as _0x1bbbd8,toDisposable as _0x30d46b,IConfigService as _0x155bcb,ILogService as _0x290771,UserManagerService as _0x1271bf,UniverInstanceType as _0x2188e5,IUniverInstanceService as _0x2bea00,LocaleService as _0xeb3187,Optional as _0x5a8d4f,RxDisposable as _0x37e680,Tools as _0xc1dd15,Rectangle as _0x420d55,ICommandService as _0x5f1d0c,JSONX as _0x5a9d5f,CommandType as _0x245250,IPermissionService as _0x11d5fc,IUndoRedoService as _0x34ff18,sequenceExecute as _0x55f2de,Workbook as _0x268dfd,MentionType as _0x3d41b3,IAuthzIoService as _0x54a128,isInternalEditorID as _0x1187d0,LocalUndoRedoService as _0x4a61c6,IContextService as _0x3ea56e,DependentOn as _0x2c0cb9,Plugin as _0x18ed1f,mergeOverrideWithDependencies as _0x3961a8,IMentionIOService as _0xe93ae0,registerDependencies as _0x500574,Quantity as _0x1ae54f,touchDependencies as _0x9c5c37}from'@univerjs/core';import{Subject as _0x459b05,merge as _0x35784b,of as _0x1d4dee,BehaviorSubject as _0x251b5f,takeUntil as _0x103f03,ReplaySubject as _0x2f5052,take as _0x49f8ab,map as _0x4ca8a8,shareReplay as _0x17a180,firstValueFrom as _0x284690,concatMap as _0x325aa3}from'rxjs';import{map as _0x5c84b6,take as _0x1af064,filter as _0x3bdd8d,delay as _0xf38ea6,takeUntil as _0x5f360b}from'rxjs/operators';import{HTTPService as _0x26621f,ISocketService as _0x25b033,MergeInterceptorFactory as _0x4ec799,HTTPRequest as _0x2db9d2,UniverNetworkPlugin as _0x13ae65,ThresholdInterceptorFactory as _0x390e4e}from'@univerjs/network';import{CollaborationEvent as _0x2f82c9,parseChangesetToProtocol as _0x2d942f,ISnapshotServerService as _0x4152e1,isTransformMutationsWithChangesetSuccess as _0x281f21,ITransformService as _0x48d905,mapDocumentTypeToUniverType as _0x166ae6,RevisionService as _0x33e8a8,isTransformChangesetsSuccess as _0x2a45c4,CompressMutationService as _0x36de87,parseProtocolChangeset as _0x5c92cc,SnapshotService as _0x298fb0,textEncoder as _0x384de5,b64DecodeUnicode as _0x1be9bd,isTransformMutationsWithChangesetFailure as _0x4dbb28,UniverCollaborationPlugin as _0x3bdc67}from'@univerjs-pro/collaboration';import{ITelemetryService as _0x1d5b0b}from'@univerjs/telemetry';import{RichTextEditingMutation as _0x514974}from'@univerjs/docs';import{SheetsSelectionsService as _0x275888,SetSelectionsOperation as _0x20e163,InsertSheetMutation as _0x338610,EmptyMutation as _0x292987,WorkbookEditablePermission as _0x50259a,UnitObject as _0x85bb76,defaultWorkbookPermissionPoints as _0x49ee90,getAllWorkbookPermissionPoint as _0x4de039,WorksheetProtectionRuleModel as _0x38060e,baseProtectionActions as _0x50d06d,getAllWorksheetPermissionPoint as _0x42598e,WorksheetProtectionPointModel as _0x3890de,defaultWorksheetPermissionPoint as _0x269054,getAllWorksheetPermissionPointByPointPanel as _0x120024,RangeProtectionRuleModel as _0x5cd8a9,getAllRangePermissionPoint as _0x2fda61,UniverSheetsPlugin as _0x5f5b65}from'@univerjs/sheets';import{ImageSourceType as _0x5f024b,ImageUploadStatusType as _0x4351ac,IImageIoService as _0x97aeda}from'@univerjs/drawing';import{getGlobalObject as _0x251d28}from'@univerjs-pro/license';const Pn=_0x3e9f07(0x1c2),Nn='/universer-api/snapshot',Dn=_0x3e9f07(0x324),ho=_0x3e9f07(0x2f3),wn=0x7d0,Un=_0x3e9f07(0x2ba),An=_0x3e9f07(0x445),xn='/universer-api/user/session-ticket',Ln=_0x3e9f07(0x39e),Mn=0x7530,Ei='HEARTBEAT_TIMEOUT',Ii=0x4e20,$n=0x4e20,Hn=_0x3e9f07(0x245),kn=0x3,_o=_0x3e9f07(0x3f5),lo=0x3e8,jn=_0x3e9f07(0x26f),Bn=_0x3e9f07(0x22c),Fn=_0x3e9f07(0x209),Vn=_0x3e9f07(0x3fe);var Ti=(_0xd06df5=>(_0xd06df5[_0xd06df5[_0x3e9f07(0x37b)]=0x0]=_0x3e9f07(0x37b),_0xd06df5[_0xd06df5['OK']=0x1]='OK',_0xd06df5[_0xd06df5['INTERNAL_ERROR']=0x2]=_0x3e9f07(0x1ee),_0xd06df5[_0xd06df5['PERMISSION_DENIED']=0x3]=_0x3e9f07(0x326),_0xd06df5[_0xd06df5[_0x3e9f07(0x217)]=0x4]=_0x3e9f07(0x217),_0xd06df5[_0xd06df5[_0x3e9f07(0x2cf)]=0x5]='UNAUTHENTICATED',_0xd06df5[_0xd06df5['ALREADY_EXISTS']=0x6]=_0x3e9f07(0x2c3),_0xd06df5[_0xd06df5[_0x3e9f07(0x32a)]=0x7]=_0x3e9f07(0x32a),_0xd06df5[_0xd06df5[_0x3e9f07(0x464)]=0x8]=_0x3e9f07(0x464),_0xd06df5[_0xd06df5[_0x3e9f07(0x288)]=0x9]=_0x3e9f07(0x288),_0xd06df5[_0xd06df5[_0x3e9f07(0x2bd)]=0x1389]=_0x3e9f07(0x2bd),_0xd06df5[_0xd06df5[_0x3e9f07(0x2a0)]=0x1771]=_0x3e9f07(0x2a0),_0xd06df5[_0xd06df5[_0x3e9f07(0x1ec)]=0x1772]=_0x3e9f07(0x1ec),_0xd06df5[_0xd06df5[_0x3e9f07(0x360)]=0x1773]='ENSURE_SNAPSHOT_EXECUTION',_0xd06df5[_0xd06df5['APPLY_REJECT']=0x1b59]=_0x3e9f07(0x26c),_0xd06df5[_0xd06df5['APPLY_NON_SEQUENTIAL_REVISION']=0x1b5a]='APPLY_NON_SEQUENTIAL_REVISION',_0xd06df5[_0xd06df5[_0x3e9f07(0x3d8)]=0x1b5b]=_0x3e9f07(0x3d8),_0xd06df5[_0xd06df5[_0x3e9f07(0x223)]=0x1b5c]=_0x3e9f07(0x223),_0xd06df5[_0xd06df5['APPLY_DUPLICATED']=0x1b5d]='APPLY_DUPLICATED',_0xd06df5[_0xd06df5[_0x3e9f07(0x2cb)]=0x1f41]=_0x3e9f07(0x2cb),_0xd06df5[_0xd06df5['LICENSE_MAX_UNITS_EXCEEDED']=0x2329]=_0x3e9f07(0x402),_0xd06df5[_0xd06df5[_0x3e9f07(0x1f3)]=0x232a]=_0x3e9f07(0x1f3),_0xd06df5[_0xd06df5[_0x3e9f07(0x410)]=0x232b]=_0x3e9f07(0x410),_0xd06df5[_0xd06df5[_0x3e9f07(0x460)]=0x232c]=_0x3e9f07(0x460),_0xd06df5[_0xd06df5['LICENSE_DISTRO_REJECTED']=0x232d]='LICENSE_DISTRO_REJECTED',_0xd06df5[_0xd06df5[_0x3e9f07(0x2a5)]=0x2711]='YUUMI_UNABLE_LOAD_URL',_0xd06df5[_0xd06df5['YUUMI_URL_COL_OUT_OF_RANGE']=0x2712]=_0x3e9f07(0x439),_0xd06df5[_0xd06df5[_0x3e9f07(0x250)]=0x2713]=_0x3e9f07(0x250),_0xd06df5[_0xd06df5[_0x3e9f07(0x2ac)]=0x2714]=_0x3e9f07(0x2ac),_0xd06df5[_0xd06df5[_0x3e9f07(0x36c)]=-0x1]=_0x3e9f07(0x36c),_0xd06df5))(Ti||{}),Q=(_0x3a6132=>(_0x3a6132[_0x3a6132[_0x3e9f07(0x4a3)]=0x0]=_0x3e9f07(0x4a3),_0x3a6132[_0x3a6132[_0x3e9f07(0x36e)]=0x1]='UNIVER_DOC',_0x3a6132[_0x3a6132[_0x3e9f07(0x2fe)]=0x2]=_0x3e9f07(0x2fe),_0x3a6132[_0x3a6132['UNIVER_SLIDE']=0x3]='UNIVER_SLIDE',_0x3a6132[_0x3a6132[_0x3e9f07(0x1c0)]=0x4]=_0x3e9f07(0x1c0),_0x3a6132[_0x3a6132[_0x3e9f07(0x36c)]=-0x1]='UNRECOGNIZED',_0x3a6132))(Q||{}),F=(_0xae6298=>(_0xae6298[_0xae6298[_0x3e9f07(0x38a)]=0x0]='UNKNOWN_CMD',_0xae6298[_0xae6298[_0x3e9f07(0x231)]=0x1]=_0x3e9f07(0x231),_0xae6298[_0xae6298[_0x3e9f07(0x2b2)]=0x2]=_0x3e9f07(0x2b2),_0xae6298[_0xae6298[_0x3e9f07(0x440)]=0x3]=_0x3e9f07(0x440),_0xae6298[_0xae6298[_0x3e9f07(0x4a5)]=0x4]=_0x3e9f07(0x4a5),_0xae6298[_0xae6298[_0x3e9f07(0x2d4)]=0x5]=_0x3e9f07(0x2d4),_0xae6298[_0xae6298[_0x3e9f07(0x309)]=0x6]=_0x3e9f07(0x309),_0xae6298[_0xae6298[_0x3e9f07(0x36c)]=-0x1]='UNRECOGNIZED',_0xae6298))(F||{}),Ee=(_0x349d8a=>(_0x349d8a[_0x349d8a[_0x3e9f07(0x2e6)]=0x0]='UNKNOWN_CODE',_0x349d8a[_0x349d8a['OK']=0x1]='OK',_0x349d8a[_0x349d8a['FAIL']=0x2]=_0x3e9f07(0x43d),_0x349d8a[_0x349d8a[_0x3e9f07(0x239)]=0x3e9]=_0x3e9f07(0x239),_0x349d8a[_0x349d8a['JOIN_ROOM_NOT_EXISTS']=0x3ea]=_0x3e9f07(0x2ef),_0x349d8a[_0x349d8a[_0x3e9f07(0x254)]=0x3eb]=_0x3e9f07(0x254),_0x349d8a[_0x349d8a[_0x3e9f07(0x2da)]=0x3ec]='GLOBAL_ROOMS_CNT_EXCEEDS',_0x349d8a[_0x349d8a['UNRECOGNIZED']=-0x1]=_0x3e9f07(0x36c),_0x349d8a))(Ee||{}),Ci=(_0x410a75=>(_0x410a75[_0x410a75[_0x3e9f07(0x252)]=0x0]=_0x3e9f07(0x252),_0x410a75[_0x410a75[_0x3e9f07(0x432)]=0x1]=_0x3e9f07(0x432),_0x410a75[_0x410a75[_0x3e9f07(0x1a4)]=0x2]='HttpExport',_0x410a75[_0x410a75['UnitEmbedded']=0x3]='UnitEmbedded',_0x410a75[_0x410a75['UnitSnapshot']=0x4]='UnitSnapshot',_0x410a75[_0x410a75[_0x3e9f07(0x36c)]=-0x1]=_0x3e9f07(0x36c),_0x410a75))(Ci||{});const Y='collaboration-client.config',Wn={};var re=(_0x375283=>(_0x375283[_0x3e9f07(0x292)]='OTHER_CLIENT_EDITING',_0x375283['PERMISSION_DENIED']=_0x3e9f07(0x326),_0x375283[_0x3e9f07(0x2cd)]=_0x3e9f07(0x2cd),_0x375283[_0x3e9f07(0x43b)]='CLOSE_ROOM',_0x375283[_0x3e9f07(0x2d1)]='JOIN_ROOM_FAILED',_0x375283[_0x3e9f07(0x498)]=_0x3e9f07(0x498),_0x375283[_0x3e9f07(0x30f)]=_0x3e9f07(0x30f),_0x375283[_0x3e9f07(0x216)]=_0x3e9f07(0x216),_0x375283))(re||{});class pe{constructor(){var _0x2ce87a=_0x3e9f07;N(this,_0x2ce87a(0x352),new _0x459b05()),N(this,'event$',this[_0x2ce87a(0x352)][_0x2ce87a(0x3fa)]());}[_0x3e9f07(0x29e)](_0x528fc2){var _0x5d37a5=_0x3e9f07;this[_0x5d37a5(0x352)]['next'](_0x528fc2);}}const Gn=_0x1c6acd(_0x3e9f07(0x34d));function Kn(_0x3a797a){var _0x43707b=_0x3e9f07,_0x346a8b,_0x2ec789,_0xcd3916,_0x428f18,_0x2e0b43;const _0x2eb341=_0x3a797a[_0x43707b(0x221)],_0x515150=JSON[_0x43707b(0x226)](_0x2eb341);switch(_0x515150[_0x43707b(0x3b0)]){case F['HEARTBEAT']:case F[_0x43707b(0x231)]:{const _0x41e05c=_0x515150['infoRsp'];return{..._0x515150,'data':_0x41e05c,'cmd':_0x515150['cmd']};}case F[_0x43707b(0x2b2)]:{const _0x4ba71b=_0x515150[_0x43707b(0x473)];return{..._0x515150,'data':_0x4ba71b,'cmd':_0x515150[_0x43707b(0x3b0)]};}case F[_0x43707b(0x309)]:{const _0x566fe9=_0x515150[_0x43707b(0x330)];switch(_0x566fe9[_0x43707b(0x35c)]){case _0x2f82c9[_0x43707b(0x3b9)]:return{..._0x515150,'data':{..._0x566fe9,'data':(_0x346a8b=_0x566fe9[_0x43707b(0x23c)])==null?void 0x0:_0x346a8b['cs']},'cmd':_0x515150[_0x43707b(0x3b0)]};case _0x2f82c9[_0x43707b(0x36b)]:return{..._0x515150,'data':{..._0x566fe9,'data':(_0x2ec789=_0x566fe9['csAckEvent'])==null?void 0x0:_0x2ec789['cs']},'cmd':_0x515150[_0x43707b(0x3b0)]};case _0x2f82c9[_0x43707b(0x3fd)]:return{..._0x515150,'data':{..._0x566fe9,'data':(_0xcd3916=_0x566fe9['newCsEvent'])==null?void 0x0:_0xcd3916['cs']},'cmd':_0x515150['cmd']};case _0x2f82c9['CHANGESET_REJ']:return{..._0x515150,'data':{..._0x566fe9,'data':(_0x428f18=_0x566fe9[_0x43707b(0x268)])==null?void 0x0:_0x428f18['cs']},'cmd':_0x515150[_0x43707b(0x3b0)]};case _0x2f82c9[_0x43707b(0x1cf)]:return{..._0x515150,'data':{..._0x566fe9,'data':(_0x2e0b43=_0x566fe9[_0x43707b(0x41f)])==null?void 0x0:_0x2e0b43['cs']},'cmd':_0x515150[_0x43707b(0x3b0)]};case _0x2f82c9['UPDATE_CURSOR']:return{..._0x515150,'data':{..._0x566fe9,'data':_0x566fe9[_0x43707b(0x3d7)]},'cmd':_0x515150['cmd']};case _0x2f82c9[_0x43707b(0x1d2)]:return{..._0x515150,'data':{..._0x566fe9,'data':_0x566fe9[_0x43707b(0x456)]},'cmd':_0x515150[_0x43707b(0x3b0)]};case _0x2f82c9[_0x43707b(0x391)]:return{..._0x515150,'data':{..._0x566fe9,'data':_0x566fe9[_0x43707b(0x260)]},'cmd':_0x515150[_0x43707b(0x3b0)]};case _0x2f82c9[_0x43707b(0x27d)]:return{..._0x515150,'data':{..._0x566fe9,'data':_0x566fe9[_0x43707b(0x210)]},'cmd':_0x515150[_0x43707b(0x3b0)]};case _0x2f82c9['LIVESHARE_FETCH_OPERATIONS']:case _0x2f82c9[_0x43707b(0x2b8)]:return{..._0x515150,'data':{..._0x566fe9,'data':_0x566fe9[_0x43707b(0x1f6)]},'cmd':_0x515150['cmd']};case _0x2f82c9[_0x43707b(0x489)]:return{..._0x515150,'data':{..._0x566fe9,'data':_0x566fe9[_0x43707b(0x210)]},'cmd':_0x515150['cmd']};case _0x2f82c9[_0x43707b(0x375)]:return{..._0x515150,'data':_0x566fe9,'cmd':_0x515150[_0x43707b(0x3b0)]};case _0x2f82c9[_0x43707b(0x2c9)]:return{..._0x515150,'data':{..._0x566fe9,'data':_0x566fe9['commentUpdateEvent']},'cmd':_0x515150[_0x43707b(0x3b0)]};case _0x2f82c9[_0x43707b(0x211)]:return{..._0x515150,'data':{..._0x566fe9,'data':_0x566fe9[_0x43707b(0x453)]},'cmd':_0x515150[_0x43707b(0x3b0)]};case _0x2f82c9[_0x43707b(0x24b)]:return{..._0x515150,'data':{..._0x566fe9,'data':_0x566fe9[_0x43707b(0x2aa)]},'cmd':_0x515150[_0x43707b(0x3b0)]};case _0x2f82c9[_0x43707b(0x444)]:return{..._0x515150,'data':{..._0x566fe9,'data':_0x566fe9['uniscriptRunEvent']},'cmd':_0x515150[_0x43707b(0x3b0)]};default:return _0x515150;}}default:return _0x515150;}}function zn(_0x1f0976){var _0x22fc1e=_0x3e9f07;switch(_0x1f0976['cmd']){case F[_0x22fc1e(0x2d4)]:case F['HELLO']:return JSON[_0x22fc1e(0x22e)]({'cmd':_0x1f0976[_0x22fc1e(0x3b0)],'routeKey':_0x1f0976[_0x22fc1e(0x208)]});case F[_0x22fc1e(0x4a5)]:{let _0x2c85ce;switch(_0x1f0976[_0x22fc1e(0x221)][_0x22fc1e(0x35c)]){case _0x2f82c9[_0x22fc1e(0x348)]:{_0x2c85ce={'eventID':_0x2f82c9['UPDATE_CURSOR'],'updateCursorEvent':_0x1f0976[_0x22fc1e(0x221)][_0x22fc1e(0x221)]};break;}case _0x2f82c9[_0x22fc1e(0x391)]:{_0x2c85ce={'eventID':_0x2f82c9[_0x22fc1e(0x391)],'leaveEvent':_0x1f0976['data'][_0x22fc1e(0x221)]};break;}case _0x2f82c9[_0x22fc1e(0x1d2)]:{_0x2c85ce={'eventID':_0x2f82c9[_0x22fc1e(0x1d2)],'joinEvent':_0x1f0976[_0x22fc1e(0x221)][_0x22fc1e(0x221)]};break;}case _0x2f82c9['LIVESHARE_NEW_HOST']:{_0x2c85ce={'eventID':_0x2f82c9['LIVESHARE_NEW_HOST'],'liveShareNewHost':_0x1f0976[_0x22fc1e(0x221)]['data']};break;}case _0x2f82c9[_0x22fc1e(0x2b8)]:{_0x2c85ce={'eventID':_0x2f82c9[_0x22fc1e(0x2b8)],'liveShareOperation':_0x1f0976[_0x22fc1e(0x221)][_0x22fc1e(0x221)]};break;}case _0x2f82c9[_0x22fc1e(0x489)]:{_0x2c85ce={'eventID':_0x2f82c9[_0x22fc1e(0x489)],'liveShareTerminate':_0x1f0976[_0x22fc1e(0x221)]['data']};break;}case _0x2f82c9['LIVESHARE_REQUEST_HOST']:{_0x2c85ce={'eventID':_0x2f82c9['LIVESHARE_REQUEST_HOST'],'liveShareRequestHost':_0x1f0976['data']['data']};break;}case _0x2f82c9[_0x22fc1e(0x2f2)]:{_0x2c85ce={'eventID':_0x2f82c9['LIVESHARE_FETCH_OPERATIONS']};break;}default:_0x2c85ce={'eventID':_0x1f0976['data'][_0x22fc1e(0x35c)]};}return JSON[_0x22fc1e(0x22e)]({'cmd':_0x1f0976[_0x22fc1e(0x3b0)],'routeKey':_0x1f0976[_0x22fc1e(0x208)],'collaMsg':_0x2c85ce});}case F[_0x22fc1e(0x2b2)]:return JSON['stringify']({'cmd':_0x1f0976[_0x22fc1e(0x3b0)],'routeKey':_0x1f0976[_0x22fc1e(0x208)],'joinReq':_0x1f0976['data']});case F[_0x22fc1e(0x440)]:return JSON[_0x22fc1e(0x22e)]({'cmd':_0x1f0976[_0x22fc1e(0x3b0)],'routeKey':_0x1f0976[_0x22fc1e(0x208)],'leaveReq':_0x1f0976['data']});default:throw new Error(_0x22fc1e(0x3dc));}}var Yn=Object['defineProperty'],qn=Object[_0x3e9f07(0x34f)],Jn=(_0x5ecf99,_0x3dc5ab,_0x263d7d,_0x2b5f32)=>{var _0x430cdb=_0x3e9f07;for(var _0x37ce3c=_0x2b5f32>0x1?void 0x0:_0x2b5f32?qn(_0x3dc5ab,_0x263d7d):_0x3dc5ab,_0x4e8e42=_0x5ecf99[_0x430cdb(0x46c)]-0x1,_0x5e2c11;_0x4e8e42>=0x0;_0x4e8e42--)(_0x5e2c11=_0x5ecf99[_0x4e8e42])&&(_0x37ce3c=(_0x2b5f32?_0x5e2c11(_0x3dc5ab,_0x263d7d,_0x37ce3c):_0x5e2c11(_0x37ce3c))||_0x37ce3c);return _0x2b5f32&&_0x37ce3c&&Yn(_0x3dc5ab,_0x263d7d,_0x37ce3c),_0x37ce3c;},Ue=(_0xe56015,_0x1e4507)=>(_0x4793bc,_0x234c53)=>_0x1e4507(_0x4793bc,_0x234c53,_0xe56015);const bi=_0x1c6acd('univer-pro.collaboration-client-socket-service');function Xn(_0x3da958,_0x3e7d32,_0x25c2ce){var _0x2a7476=_0x3e9f07;return _0x3da958+'/'+_0x3e7d32+_0x2a7476(0x306)+_0x25c2ce+'/new_changes';}let It=class extends _0x2f099f{constructor(_0x36647e,_0x1fdc69,_0x3f474e,_0x24cfaf,_0x3fb376){var _0x2c5495=_0x3e9f07;super(),this[_0x2c5495(0x484)]=_0x36647e,this[_0x2c5495(0x3ea)]=_0x1fdc69,this[_0x2c5495(0x31f)]=_0x3f474e,this[_0x2c5495(0x28c)]=_0x24cfaf,this['_snapshotServerService']=_0x3fb376;}['createSocket'](_0x3037ba){var _0x8040c0=_0x3e9f07;const _0x301c4a=this['_injector'][_0x8040c0(0x220)](_0x25b033);if(!_0x301c4a)throw new Error(_0x8040c0(0x24f));const _0x56d565=_0x301c4a[_0x8040c0(0x206)](_0x3037ba);if(!_0x56d565)throw new Error('[CollaborationSocketService]:\x20failed\x20to\x20create\x20socket!');const _0x149ac5=new _0x1bbbd8(),_0xc2401c=new _0x459b05();_0x149ac5[_0x8040c0(0x1e5)](_0x56d565['close$'][_0x8040c0(0x2e5)](_0xc3a436=>_0xc2401c[_0x8040c0(0x384)](_0xc3a436))),_0x149ac5[_0x8040c0(0x1e5)](_0x30d46b(()=>_0xc2401c[_0x8040c0(0x376)]()));const _0x4a7f85=new _0x459b05();_0x149ac5[_0x8040c0(0x1e5)](_0x56d565[_0x8040c0(0x491)][_0x8040c0(0x2e5)](_0x57cdda=>_0x4a7f85[_0x8040c0(0x384)](_0x57cdda))),_0x149ac5[_0x8040c0(0x1e5)](_0x30d46b(()=>_0x4a7f85['complete']()));const _0x5c038e=new _0x459b05();_0x149ac5[_0x8040c0(0x1e5)](_0x56d565[_0x8040c0(0x3f6)][_0x8040c0(0x2e5)](_0x3b7d71=>{var _0x47f1bd=_0x8040c0;const _0x505a1b=Kn(_0x3b7d71);_0x5c038e[_0x47f1bd(0x384)](_0x505a1b);})),_0x149ac5[_0x8040c0(0x1e5)](_0x30d46b(()=>_0x5c038e[_0x8040c0(0x376)]()));let _0x1879eb;const _0x3049aa=()=>{var _0x3946f8=_0x8040c0;_0x4a7f85[_0x3946f8(0x384)](new Event('connection\x20error')),_0xc2401c[_0x3946f8(0x384)](new CloseEvent(_0x3946f8(0x364))),_0x1879eb[_0x3946f8(0x449)]();};return _0x1879eb={'memberID':'','close$':_0xc2401c[_0x8040c0(0x3fa)](),'error$':_0x4a7f85[_0x8040c0(0x3fa)](),'open$':_0x56d565['open$'],'message$':_0x5c038e[_0x8040c0(0x3fa)](),'send':_0x20f130=>{var _0x3940c1=_0x8040c0;if(_0x20f130['cmd']===F['INGEST']){if(_0x20f130['data'][_0x3940c1(0x35c)]===_0x2f82c9[_0x3940c1(0x44b)]){this[_0x3940c1(0x1b6)](_0x1879eb,_0x20f130[_0x3940c1(0x221)])[_0x3940c1(0x496)](_0x565b97=>{var _0x483d9c=_0x3940c1;this[_0x483d9c(0x28c)]['error'](_0x565b97),_0x3049aa();});return;}if(_0x20f130[_0x3940c1(0x221)][_0x3940c1(0x35c)]===_0x2f82c9[_0x3940c1(0x1cc)]){const _0x19425a=_0x20f130[_0x3940c1(0x221)];this[_0x3940c1(0x457)](_0x19425a)['then'](_0x40d1fb=>{var _0x17a9a9=_0x3940c1;_0x5c038e['next']({'cmd':F[_0x17a9a9(0x309)],'code':Ee['OK'],'routeKey':_0x19425a[_0x17a9a9(0x221)][_0x17a9a9(0x28d)],'routeType':'','data':{'eventID':_0x2f82c9[_0x17a9a9(0x1a3)],'data':{'changesets':_0x40d1fb}}});})[_0x3940c1(0x496)](_0x36940d=>{var _0x3f2a70=_0x3940c1;this[_0x3f2a70(0x28c)][_0x3f2a70(0x3b6)](_0x36940d),_0x3049aa();});return;}}_0x56d565['send'](zn(_0x20f130));},'close':()=>{_0x56d565['close'](),_0x149ac5['dispose']();}},_0x1879eb;}async[_0x3e9f07(0x1b6)](_0x3f53f2,_0x537a4d){var _0x46d50b=_0x3e9f07,_0x38e9f5,_0x1b6418;const {unitType:_0x367fcc,unitID:_0x46d1cc,changeset:_0x3abe7b}=_0x537a4d['data'],_0xe92224={'unitID':_0x46d1cc,'memberID':_0x3f53f2[_0x46d50b(0x2e1)],'type':_0x367fcc,'changeset':_0x2d942f(_0x3abe7b)},_0x3f0292=this[_0x46d50b(0x31f)][_0x46d50b(0x1d9)](jn),_0x2ce6c2=this[_0x46d50b(0x31f)][_0x46d50b(0x1d9)](Y),_0x22c13b=Xn((_0x1b6418=(_0x38e9f5=_0x2ce6c2==null?void 0x0:_0x2ce6c2[_0x46d50b(0x36f)])!=null?_0x38e9f5:_0x3f0292)!=null?_0x1b6418:Bn,_0x367fcc,_0x46d1cc);try{await this[_0x46d50b(0x3ea)]['post'](_0x22c13b,{'body':_0xe92224});}catch(_0x4b6058){throw this[_0x46d50b(0x28c)][_0x46d50b(0x3b6)](_0x46d50b(0x3b7),_0x46d50b(0x411)),_0x4b6058;}}async[_0x3e9f07(0x457)](_0x39042d){var _0x14700b=_0x3e9f07;const {unitID:_0xc187ed,from:_0x38003e,to:_0x196190,unitType:_0x297ea2}=_0x39042d[_0x14700b(0x221)];return(await this['_snapshotServerService'][_0x14700b(0x229)]({'metadata':void 0x0},{'unitID':_0xc187ed,'type':_0x297ea2,'from':_0x38003e,'to':_0x196190}))['changesets'];}};It=Jn([Ue(0x0,_0x1e11c8(_0x202b1e)),Ue(0x1,_0x1e11c8(_0x26621f)),Ue(0x2,_0x155bcb),Ue(0x3,_0x290771),Ue(0x4,_0x4152e1)],It);const Zn='collaboration_new_changeset';function Qn(_0x577ef6){var _0x5245b1=_0x3e9f07;return JSON[_0x5245b1(0x22e)](_0x577ef6)[_0x5245b1(0x46c)];}class Ri{constructor(){var _0x51a633=_0x3e9f07;N(this,_0x51a633(0x22f),new _0x459b05()),N(this,_0x51a633(0x2db),this[_0x51a633(0x22f)][_0x51a633(0x3fa)]());}[_0x3e9f07(0x3c3)](_0x449975){var _0x5944f2=_0x3e9f07;this[_0x5944f2(0x22f)][_0x5944f2(0x384)](_0x449975);}}var es=Object[_0x3e9f07(0x386)],ts=Object[_0x3e9f07(0x34f)],is=(_0x250c03,_0x1eeef8,_0x34a3d7,_0x2f8c90)=>{var _0x5ab104=_0x3e9f07;for(var _0x4c66df=_0x2f8c90>0x1?void 0x0:_0x2f8c90?ts(_0x1eeef8,_0x34a3d7):_0x1eeef8,_0x347624=_0x250c03[_0x5ab104(0x46c)]-0x1,_0x1ac8fd;_0x347624>=0x0;_0x347624--)(_0x1ac8fd=_0x250c03[_0x347624])&&(_0x4c66df=(_0x2f8c90?_0x1ac8fd(_0x1eeef8,_0x34a3d7,_0x4c66df):_0x1ac8fd(_0x4c66df))||_0x4c66df);return _0x2f8c90&&_0x4c66df&&es(_0x1eeef8,_0x34a3d7,_0x4c66df),_0x4c66df;},zt=(_0x20fc05,_0x4c888d)=>(_0x3d7aa7,_0x18768e)=>_0x4c888d(_0x3d7aa7,_0x18768e,_0x20fc05);let xe=class extends _0x2f099f{constructor(_0x3900db,_0x26cd6c){var _0x599505=_0x3e9f07;super(),N(this,'_roomMembers',new Map()),N(this,_0x599505(0x232),new _0x459b05()),(this[_0x599505(0x33c)]=_0x3900db,this[_0x599505(0x2c0)]=_0x26cd6c,this['disposeWithMe'](_0x35784b(this[_0x599505(0x33c)][_0x599505(0x39c)](_0x2188e5[_0x599505(0x2fe)])['pipe'](_0x5c84b6(_0x324527=>_0x324527[_0x599505(0x351)]())),this[_0x599505(0x33c)][_0x599505(0x39c)](_0x2188e5[_0x599505(0x36e)])[_0x599505(0x3c9)](_0x5c84b6(_0x3c1a43=>_0x3c1a43[_0x599505(0x351)]())),this[_0x599505(0x33c)][_0x599505(0x39c)](_0x2188e5[_0x599505(0x39a)])[_0x599505(0x3c9)](_0x5c84b6(_0x8377d7=>_0x8377d7[_0x599505(0x351)]())))[_0x599505(0x2e5)](_0x25d55f=>this[_0x599505(0x412)](_0x25d55f))));}[_0x3e9f07(0x235)](_0x1b70fa){var _0x13e0c4=_0x3e9f07;return this['_roomMembers'][_0x13e0c4(0x393)](_0x1b70fa)?_0x1d4dee(this[_0x13e0c4(0x3d2)]['get'](_0x1b70fa)):this['_roomCreated$'][_0x13e0c4(0x3c9)](_0x5c84b6(_0x517b47=>{var _0xaf32ca=_0x13e0c4;if(_0x517b47===_0x1b70fa)return this[_0xaf32ca(0x3d2)][_0xaf32ca(0x220)](_0x517b47);}));}['setCurrentUser'](_0x5e99ee){var _0x35838c=_0x3e9f07;this[_0x35838c(0x2c0)][_0x35838c(0x35d)](_0x5e99ee);}[_0x3e9f07(0x1aa)](){var _0x247065=_0x3e9f07;return this['_userManagerService'][_0x247065(0x1aa)]();}[_0x3e9f07(0x1a5)](_0xee9d95,_0x1e88bf){var _0x2a30b4=_0x3e9f07;let _0x1fe44b=this[_0x2a30b4(0x3d2)][_0x2a30b4(0x220)](_0xee9d95);_0x1fe44b||(_0x1fe44b=new ns(),this['_roomMembers'][_0x2a30b4(0x442)](_0xee9d95,_0x1fe44b),this[_0x2a30b4(0x232)][_0x2a30b4(0x384)](_0xee9d95)),_0x1fe44b['updateMember'](_0x1e88bf);}[_0x3e9f07(0x2a1)](_0x4a7367,_0x12d4d8){var _0x268035=_0x3e9f07;const _0x1c4b30=this[_0x268035(0x3d2)][_0x268035(0x220)](_0x4a7367);_0x1c4b30&&_0x1c4b30[_0x268035(0x2a1)](_0x12d4d8);}['getRoom'](_0xbe9573){var _0x1e540f=_0x3e9f07;return this[_0x1e540f(0x3d2)][_0x1e540f(0x220)](_0xbe9573);}['getMember'](_0x3f4e4c,_0x374d6a){var _0x31fbe2=_0x3e9f07;const _0x335bec=this[_0x31fbe2(0x3d2)]['get'](_0x3f4e4c);if(_0x335bec)return _0x335bec[_0x31fbe2(0x3e3)](_0x374d6a);}[_0x3e9f07(0x412)](_0x1b085f){var _0x5f1cc0=_0x3e9f07;const _0x5649e0=this[_0x5f1cc0(0x3d2)][_0x5f1cc0(0x220)](_0x1b085f);_0x5649e0&&(_0x5649e0[_0x5f1cc0(0x24d)](),this[_0x5f1cc0(0x3d2)][_0x5f1cc0(0x45c)](_0x1b085f));}[_0x3e9f07(0x24d)](){var _0x2955fb=_0x3e9f07;this[_0x2955fb(0x3d2)][_0x2955fb(0x338)](_0x4aac0f=>_0x4aac0f[_0x2955fb(0x24d)]()),this[_0x2955fb(0x3d2)]['clear'](),this['_roomCreated$'][_0x2955fb(0x376)]();}};xe=is([zt(0x0,_0x2bea00),zt(0x1,_0x1e11c8(_0x1271bf))],xe);class ns extends _0x2f099f{constructor(){var _0xa5f82e=_0x3e9f07;super(...arguments),N(this,_0xa5f82e(0x2bb),new Map()),N(this,_0xa5f82e(0x353),new _0x251b5f(this[_0xa5f82e(0x2bb)])),N(this,_0xa5f82e(0x3bf),this[_0xa5f82e(0x353)]['asObservable']());}['dispose'](){var _0x384a48=_0x3e9f07;this[_0x384a48(0x2bb)][_0x384a48(0x450)]();}[_0x3e9f07(0x1a5)](_0x538778){var _0x52be6e=_0x3e9f07;this[_0x52be6e(0x2bb)][_0x52be6e(0x442)](_0x538778[_0x52be6e(0x2e1)],_0x538778),this[_0x52be6e(0x213)]();}[_0x3e9f07(0x2a1)](_0x494a3e){var _0x42b7f6=_0x3e9f07;this['_members'][_0x42b7f6(0x45c)](_0x494a3e);}[_0x3e9f07(0x3e3)](_0x297346){var _0x5e3ba4=_0x3e9f07;return this[_0x5e3ba4(0x2bb)]['get'](_0x297346);}[_0x3e9f07(0x23e)](){var _0x516af7=_0x3e9f07;return Array[_0x516af7(0x468)](this['_members']['values']());}[_0x3e9f07(0x213)](){var _0x534b31=_0x3e9f07;this[_0x534b31(0x353)][_0x534b31(0x384)](this[_0x534b31(0x2bb)]);}}var ss=Object[_0x3e9f07(0x386)],rs=Object[_0x3e9f07(0x34f)],os=(_0x3fbf17,_0x4874ee,_0x1674a9,_0x338ef2)=>{for(var _0xedd837=_0x338ef2>0x1?void 0x0:_0x338ef2?rs(_0x4874ee,_0x1674a9):_0x4874ee,_0x3f778b=_0x3fbf17['length']-0x1,_0xf47e1d;_0x3f778b>=0x0;_0x3f778b--)(_0xf47e1d=_0x3fbf17[_0x3f778b])&&(_0xedd837=(_0x338ef2?_0xf47e1d(_0x4874ee,_0x1674a9,_0xedd837):_0xf47e1d(_0xedd837))||_0xedd837);return _0x338ef2&&_0xedd837&&ss(_0x4874ee,_0x1674a9,_0xedd837),_0xedd837;},me=(_0xf14a2c,_0x2f68c9)=>(_0x19e1f5,_0x1734e4)=>_0x2f68c9(_0x19e1f5,_0x1734e4,_0xf14a2c),Te=(_0x2347a9=>(_0x2347a9[_0x2347a9[_0x3e9f07(0x329)]=0x0]=_0x3e9f07(0x329),_0x2347a9[_0x2347a9[_0x3e9f07(0x31e)]=0x1]=_0x3e9f07(0x31e),_0x2347a9[_0x2347a9[_0x3e9f07(0x297)]=0x2]=_0x3e9f07(0x297),_0x2347a9[_0x2347a9['ONLINE']=0x3]=_0x3e9f07(0x1c9),_0x2347a9))(Te||{});const Yt={[Ee[_0x3e9f07(0x43d)]]:_0x3e9f07(0x26a),[Ee[_0x3e9f07(0x239)]]:'session.room-full',[Ee[_0x3e9f07(0x2ef)]]:_0x3e9f07(0x392),[Ee[_0x3e9f07(0x254)]]:_0x3e9f07(0x275),[Ee['GLOBAL_ROOMS_CNT_EXCEEDS']]:_0x3e9f07(0x47f)};let Tt=class extends _0x37e680{constructor(_0x52224c,_0x2fe6e2,_0x37d236,_0x2dae6b,_0x55ed15,_0x36af8d,_0x4ca4c6,_0x12167b,_0x222a6c){var _0x135f3f=_0x3e9f07;super(),N(this,_0x135f3f(0x1bc),new _0x251b5f(0x0)),N(this,_0x135f3f(0x46a),this[_0x135f3f(0x1bc)][_0x135f3f(0x3fa)]()),N(this,_0x135f3f(0x352),new _0x459b05()),N(this,_0x135f3f(0x240),this[_0x135f3f(0x352)][_0x135f3f(0x3fa)]()),N(this,'_socket'),N(this,_0x135f3f(0x2ed)),N(this,_0x135f3f(0x481)),N(this,_0x135f3f(0x1d4),!0x1),N(this,_0x135f3f(0x25a),null),(this[_0x135f3f(0x424)]=_0x52224c,this[_0x135f3f(0x28c)]=_0x37d236,this[_0x135f3f(0x31f)]=_0x2dae6b,this[_0x135f3f(0x350)]=_0x55ed15,this[_0x135f3f(0x3b8)]=_0x36af8d,this[_0x135f3f(0x28b)]=_0x4ca4c6,this[_0x135f3f(0x303)]=_0x12167b,this[_0x135f3f(0x333)]=_0x222a6c,this[_0x135f3f(0x1d4)]=!!this[_0x135f3f(0x333)],_0x2fe6e2[_0x135f3f(0x3c9)](_0x103f03(this[_0x135f3f(0x2be)]))[_0x135f3f(0x2e5)](_0x1c23c9=>{var _0x5b91ce=_0x135f3f,_0xa133ff;typeof _0x1c23c9>'u'||(this[_0x5b91ce(0x1e0)]=_0x1c23c9,_0x1c23c9?(this[_0x5b91ce(0x3ca)](_0x1c23c9),this[_0x5b91ce(0x2ed)]=_0x1c23c9[_0x5b91ce(0x3f6)][_0x5b91ce(0x2e5)](_0x4adac3=>{var _0x20beb1=_0x5b91ce;_0x4adac3[_0x20beb1(0x208)]===this['_unitID']&&this[_0x20beb1(0x3e8)](_0x4adac3);})):(this[_0x5b91ce(0x42f)](),this['_sessionStatus$'][_0x5b91ce(0x384)](0x2),(_0xa133ff=this['_socketMessageSubscription'])==null||_0xa133ff[_0x5b91ce(0x37c)](),this['_socketMessageSubscription']=null));}));}get[_0x3e9f07(0x3f0)](){var _0x40e558=_0x3e9f07;return this[_0x40e558(0x1bc)][_0x40e558(0x415)]();}['getMemberID'](){var _0x1faabb=_0x3e9f07,_0x4348e9,_0x61e8db;return(_0x61e8db=(_0x4348e9=this[_0x1faabb(0x1e0)])==null?void 0x0:_0x4348e9[_0x1faabb(0x2e1)])!=null?_0x61e8db:null;}[_0x3e9f07(0x24d)](){var _0x4ee2e0=_0x3e9f07;super[_0x4ee2e0(0x24d)](),this['dispose$']['next'](),this[_0x4ee2e0(0x2be)][_0x4ee2e0(0x376)]();}[_0x3e9f07(0x449)](){var _0x56b989=_0x3e9f07,_0x2f68f2,_0x310a6d;this[_0x56b989(0x42f)](),(_0x2f68f2=this['_socket'])==null||_0x2f68f2['send']({'cmd':F[_0x56b989(0x440)],'data':{'roomID':this['_unitID']}}),(_0x310a6d=this[_0x56b989(0x1e0)])==null||_0x310a6d[_0x56b989(0x449)](),this[_0x56b989(0x352)][_0x56b989(0x376)](),this[_0x56b989(0x1bc)][_0x56b989(0x376)](),this[_0x56b989(0x24d)]();}[_0x3e9f07(0x3e8)](_0x336cef){var _0x51ea63=_0x3e9f07;_0x336cef[_0x51ea63(0x3b0)]===F[_0x51ea63(0x2b2)]?this[_0x51ea63(0x413)](_0x336cef):_0x336cef[_0x51ea63(0x3b0)]===F['RECV']&&this[_0x51ea63(0x370)](_0x336cef);}['_joinRoom'](_0x5048ba){var _0x41a721=_0x3e9f07;this[_0x41a721(0x1bc)][_0x41a721(0x384)](0x1),_0x5048ba[_0x41a721(0x485)]({'cmd':F[_0x41a721(0x2b2)],'routeKey':this[_0x41a721(0x424)],'routeType':'','data':{'rooms':[{'roomID':this[_0x41a721(0x424)]}]}});}['_onJoinRoomEvent'](_0x1f5cd0){var _0x5f56aa=_0x3e9f07,_0x335990;if(_0x1f5cd0['code']in Yt){this[_0x5f56aa(0x303)][_0x5f56aa(0x29e)]({'id':re[_0x5f56aa(0x2d1)],'data':Yt[_0x1f5cd0[_0x5f56aa(0x399)]]}),this['_sessionStatus$']['next'](0x2);return;}this['_sessionStatus$'][_0x5f56aa(0x384)](0x3);const _0x31d137=(_0x335990=_0x1f5cd0['data']['roomInfos'][this[_0x5f56aa(0x424)]])==null?void 0x0:_0x335990[_0x5f56aa(0x3de)];_0x31d137&&_0x31d137[_0x5f56aa(0x338)](_0x278243=>this[_0x5f56aa(0x3b8)][_0x5f56aa(0x1a5)](this[_0x5f56aa(0x424)],_0x278243));}[_0x3e9f07(0x370)](_0x5a8402){var _0x14e28c=_0x3e9f07;try{const _0x6dc0c3=_0x5a8402[_0x14e28c(0x221)];switch(_0x6dc0c3['eventID']){case _0x2f82c9[_0x14e28c(0x1d2)]:this[_0x14e28c(0x3ee)](_0x6dc0c3),this['_event$'][_0x14e28c(0x384)](_0x6dc0c3);break;case _0x2f82c9['USERS_LEAVE']:this[_0x14e28c(0x40a)](_0x6dc0c3),this[_0x14e28c(0x352)][_0x14e28c(0x384)](_0x6dc0c3);break;case _0x2f82c9[_0x14e28c(0x36b)]:case _0x2f82c9[_0x14e28c(0x1cf)]:this[_0x14e28c(0x343)](),this['_clearCollaborationTimeoutTimer'](),this[_0x14e28c(0x352)]['next'](_0x6dc0c3);break;case _0x2f82c9[_0x14e28c(0x375)]:this[_0x14e28c(0x28c)]['error'](_0x14e28c(0x31a)+JSON[_0x14e28c(0x22e)](_0x6dc0c3)),this[_0x14e28c(0x352)]['next'](_0x6dc0c3);break;case _0x2f82c9[_0x14e28c(0x2c9)]:this[_0x14e28c(0x28b)][_0x14e28c(0x3c3)](_0x6dc0c3[_0x14e28c(0x221)]),this['_event$'][_0x14e28c(0x384)](_0x6dc0c3);break;default:this[_0x14e28c(0x352)][_0x14e28c(0x384)](_0x6dc0c3);}}catch(_0x3b8998){this[_0x14e28c(0x28c)][_0x14e28c(0x3b6)](_0x3b8998,_0x5a8402);}}[_0x3e9f07(0x3ee)](_0xefc4e4){var _0x24c82d=_0x3e9f07;this[_0x24c82d(0x3b8)][_0x24c82d(0x1a5)](this[_0x24c82d(0x424)],_0xefc4e4[_0x24c82d(0x221)]);}['_onUserLeave'](_0x3f9e75){var _0x47a700=_0x3e9f07;this[_0x47a700(0x3b8)][_0x47a700(0x2a1)](this[_0x47a700(0x424)],_0x3f9e75['data']['memberID']);}async['send'](_0x5d2e5c,_0x286255){var _0x2c0fcd=_0x3e9f07;if(this[_0x2c0fcd(0x3f0)]!==0x3||!this['_socket'])throw new Error('[CollaborationSession]:\x20should\x20not\x20send\x20message\x20when\x20the\x20session\x20is\x20offline!');try{_0x5d2e5c['eventID']===_0x2f82c9['SUBMIT_CHANGESET']&&(this['_scheduleCollaborationTimeoutTimer'](),this[_0x2c0fcd(0x2dc)](_0x5d2e5c)),this['_socket'][_0x2c0fcd(0x485)]({'cmd':F[_0x2c0fcd(0x4a5)],'routeKey':_0x286255,'routeType':'','data':_0x5d2e5c});}catch(_0xc2a6e0){this['_logService'][_0x2c0fcd(0x3b6)](_0xc2a6e0);}}[_0x3e9f07(0x47b)](){var _0x372b56=_0x3e9f07,_0x31ec05;this[_0x372b56(0x481)]=setTimeout(()=>{var _0x4aa5e4=_0x372b56;this[_0x4aa5e4(0x481)]=null,this['_collaborationUIEventService']['emitEvent']({'id':re[_0x4aa5e4(0x216)]});},(_0x31ec05=this[_0x372b56(0x31f)][_0x372b56(0x1d9)](Ei))!=null?_0x31ec05:Ii);}[_0x3e9f07(0x32c)](){var _0x2d8bb3=_0x3e9f07;this['_collaborationTimeoutTimer']&&(clearTimeout(this[_0x2d8bb3(0x481)]),this[_0x2d8bb3(0x481)]=null);}[_0x3e9f07(0x2dc)](_0x114a99){var _0x2559af=_0x3e9f07;if(!this[_0x2559af(0x1d4)])return;const {data:_0x5475f6}=_0x114a99,{unitID:_0x4d4944,changeset:_0x2a659c}=_0x5475f6,{mutations:_0x1dd1ad,type:_0x18a08b}=_0x2a659c;this[_0x2559af(0x25a)]={'unitId':_0x4d4944,'type':_0x18a08b,'startTime':performance[_0x2559af(0x21d)](),'stopTime':0x0,'duration':0x0,'size':Qn(_0x1dd1ad)};}[_0x3e9f07(0x343)](){var _0x467fbe=_0x3e9f07;if(this[_0x467fbe(0x1d4)]){if(!this[_0x467fbe(0x25a)]){this[_0x467fbe(0x28c)][_0x467fbe(0x3b6)](_0x467fbe(0x3b7),'telemetry\x20info\x20is\x20not\x20initialized');return;}this[_0x467fbe(0x25a)]['stopTime']=performance[_0x467fbe(0x21d)](),this[_0x467fbe(0x25a)][_0x467fbe(0x320)]=this[_0x467fbe(0x25a)][_0x467fbe(0x2fb)]-this[_0x467fbe(0x25a)][_0x467fbe(0x1b1)],this[_0x467fbe(0x333)][_0x467fbe(0x31b)](Zn,this[_0x467fbe(0x25a)]),this[_0x467fbe(0x25a)]=null;}}[_0x3e9f07(0x42f)](){var _0x108732=_0x3e9f07;this[_0x108732(0x25a)]=null;}};Tt=os([me(0x2,_0x290771),me(0x3,_0x155bcb),me(0x4,_0x1e11c8(_0xeb3187)),me(0x5,_0x1e11c8(xe)),me(0x6,_0x1e11c8(Ri)),me(0x7,_0x1e11c8(pe)),me(0x8,_0x5a8d4f(_0x1d5b0b))],Tt);var as=Object[_0x3e9f07(0x386)],cs=Object[_0x3e9f07(0x34f)],hs=(_0x3f2434,_0x360851,_0x146f3a,_0x11c820)=>{var _0xaf5dd5=_0x3e9f07;for(var _0x54f293=_0x11c820>0x1?void 0x0:_0x11c820?cs(_0x360851,_0x146f3a):_0x360851,_0x3f3414=_0x3f2434[_0xaf5dd5(0x46c)]-0x1,_0x2aab6d;_0x3f3414>=0x0;_0x3f3414--)(_0x2aab6d=_0x3f2434[_0x3f3414])&&(_0x54f293=(_0x11c820?_0x2aab6d(_0x360851,_0x146f3a,_0x54f293):_0x2aab6d(_0x54f293))||_0x54f293);return _0x11c820&&_0x54f293&&as(_0x360851,_0x146f3a,_0x54f293),_0x54f293;},ge=(_0x23109f,_0x5b9419)=>(_0x2c1885,_0x70613d)=>_0x5b9419(_0x2c1885,_0x70613d,_0x23109f);let Le=class extends _0x2f099f{constructor(_0x34359c,_0x5a13a8,_0x21488b,_0x359c62,_0x3042ea,_0x4ab749,_0x152827){var _0x399542=_0x3e9f07;super(),N(this,'_socket$',new _0x251b5f(void 0x0)),N(this,'socket$',this[_0x399542(0x380)][_0x399542(0x3fa)]()),N(this,_0x399542(0x2a2),null),N(this,_0x399542(0x1ba),new Map()),N(this,_0x399542(0x2f9),new _0x251b5f(Te['IDLE'])),N(this,_0x399542(0x2fa),this[_0x399542(0x2f9)][_0x399542(0x3fa)]()),N(this,'_socketReady',!0x1),N(this,_0x399542(0x42a)),N(this,_0x399542(0x22a),0x0),N(this,_0x399542(0x38d)),N(this,_0x399542(0x2d3)),(this[_0x399542(0x484)]=_0x34359c,this[_0x399542(0x28c)]=_0x5a13a8,this[_0x399542(0x31f)]=_0x21488b,this[_0x399542(0x3ae)]=_0x359c62,this[_0x399542(0x238)]=_0x3042ea,this['_collaborationUIEventService']=_0x4ab749,this[_0x399542(0x1b5)]=_0x152827,this[_0x399542(0x480)]());}get[_0x3e9f07(0x1e0)](){var _0x1cf20b=_0x3e9f07;return this[_0x1cf20b(0x380)][_0x1cf20b(0x415)]();}[_0x3e9f07(0x480)](){var _0x2cdf28=_0x3e9f07;this[_0x2cdf28(0x1b5)]&&this[_0x2cdf28(0x1be)](this['_networkConditionService'][_0x2cdf28(0x1f1)]['subscribe'](_0x22a8bf=>{var _0x144643=_0x2cdf28;_0x22a8bf&&!this['_socket']&&this[_0x144643(0x482)](),_0x22a8bf||this[_0x144643(0x3e6)]();}));}['dispose'](){var _0x24eb76=_0x3e9f07;super[_0x24eb76(0x24d)](),this[_0x24eb76(0x1ba)][_0x24eb76(0x338)](_0x36b656=>_0x36b656[_0x24eb76(0x24d)]()),this[_0x24eb76(0x1ba)][_0x24eb76(0x450)](),this['_status$']['complete']();}async['requireSession'](_0x452301){var _0x26217e=_0x3e9f07;if(this[_0x26217e(0x1ba)][_0x26217e(0x393)](_0x452301))return this[_0x26217e(0x1ba)][_0x26217e(0x220)](_0x452301);this['_tryEnsureSocket']();const _0x1d842c=this['_injector']['createInstance'](Tt,_0x452301,this[_0x26217e(0x380)][_0x26217e(0x3fa)]());return this[_0x26217e(0x1ba)][_0x26217e(0x442)](_0x452301,_0x1d842c),_0x1d842c;}['closeSession'](_0x1e73d9){var _0x9d3118=_0x3e9f07,_0x21df97;const _0x59b12f=this['_sessions'][_0x9d3118(0x220)](_0x1e73d9);_0x59b12f&&(this[_0x9d3118(0x1ba)][_0x9d3118(0x45c)](_0x1e73d9),_0x59b12f[_0x9d3118(0x449)]()),this['_sessions']['size']||(_0x21df97=this[_0x9d3118(0x1e0)])==null||_0x21df97[_0x9d3118(0x449)]();}[_0x3e9f07(0x482)](){var _0x2d27e0=_0x3e9f07;this[_0x2d27e0(0x22a)]=0x0,this[_0x2d27e0(0x42a)]!=null&&(clearTimeout(this[_0x2d27e0(0x42a)]),this['_retryConnectingTimer']=null),this[_0x2d27e0(0x19f)]();}async[_0x3e9f07(0x46b)](){var _0x45e968=_0x3e9f07,_0x20725e,_0x59e369,_0x207640;const _0x45ee2e=this[_0x45e968(0x31f)]['getConfig'](Y),_0x5c58ce=(_0x20725e=_0x45ee2e==null?void 0x0:_0x45ee2e[_0x45e968(0x1f7)])!=null?_0x20725e:xn;return(_0x207640=(_0x59e369=(await this[_0x45e968(0x238)]['get'](_0x5c58ce,{'headers':{'Content-Type':_0x45e968(0x237)}}))[_0x45e968(0x310)])==null?void 0x0:_0x59e369[_0x45e968(0x251)])!=null?_0x207640:'';}[_0x3e9f07(0x3fb)](_0x59953d){var _0x52baad=_0x3e9f07,_0x2a680f,_0x1394c5;const _0x288539=this[_0x52baad(0x31f)]['getConfig'](Un),_0x268de7=this[_0x52baad(0x31f)]['getConfig'](Y),_0x15d629=(_0x1394c5=(_0x2a680f=_0x268de7==null?void 0x0:_0x268de7['collabWebSocketUrl'])!=null?_0x2a680f:_0x288539)!=null?_0x1394c5:An,_0x34bb47=typeof window>'u'?new URL(_0x15d629):new URL(_0x15d629,window[_0x52baad(0x27c)][_0x52baad(0x21b)]);_0x34bb47['searchParams'][_0x52baad(0x442)](_0x52baad(0x2c6),_0x59953d);const _0x8ab7ef=typeof window>'u'?new URLSearchParams():new URLSearchParams(window[_0x52baad(0x27c)][_0x52baad(0x337)]);return _0x8ab7ef[_0x52baad(0x220)](_0x52baad(0x2d7))&&_0x34bb47[_0x52baad(0x215)][_0x52baad(0x442)](_0x52baad(0x2d7),_0x8ab7ef[_0x52baad(0x220)]('runId')),_0x34bb47[_0x52baad(0x35e)]();}async['_createSocket'](){var _0xa4e8ce=_0x3e9f07;const _0x35b528=await this[_0xa4e8ce(0x46b)](),_0x15d693=this[_0xa4e8ce(0x3fb)](_0x35b528),_0xa2b5e7=this['_socketService'][_0xa4e8ce(0x206)](_0x15d693);return this[_0xa4e8ce(0x2a2)]=_0xa2b5e7,_0xa2b5e7;}async[_0x3e9f07(0x3cc)](){var _0x5b972b=_0x3e9f07,_0x5294d8,_0x5e0337;try{const _0xec6125=(_0x5e0337=(_0x5294d8=this['_socket'])!=null?_0x5294d8:this[_0x5b972b(0x2a2)])!=null?_0x5e0337:await this['_createSocket']();if(_0xec6125){const _0x5431aa=_0xec6125['send'];_0xec6125['send']=_0x3de84a=>(this['_rescheduleHeartbeat'](),_0x5431aa[_0x5b972b(0x3d3)](_0xec6125,[_0x3de84a])),_0xec6125[_0x5b972b(0x3f6)]['subscribe'](_0xf7c3e1=>this[_0x5b972b(0x253)](_0xec6125,_0xf7c3e1)),_0xec6125[_0x5b972b(0x491)][_0x5b972b(0x3c9)](_0x1af064(0x1))[_0x5b972b(0x2e5)](_0x162efa=>this[_0x5b972b(0x28c)][_0x5b972b(0x3b6)](_0x5b972b(0x314),_0x162efa)),_0xec6125[_0x5b972b(0x475)]['pipe'](_0x1af064(0x1))['subscribe'](()=>{var _0x32edbd=_0x5b972b;this[_0x32edbd(0x487)](_0xec6125);}),_0xec6125[_0x5b972b(0x2b5)]['pipe'](_0x1af064(0x1))[_0x5b972b(0x2e5)](_0x26edd4=>{var _0x1acbdd=_0x5b972b;this[_0x1acbdd(0x28c)]['debug'](_0x1acbdd(0x2b3),_0x1acbdd(0x367),_0x26edd4),this[_0x1acbdd(0x1b7)]();});}}catch(_0x5c58f9){this[_0x5b972b(0x28c)][_0x5b972b(0x3b6)](_0x5c58f9),this[_0x5b972b(0x1b7)]();}}[_0x3e9f07(0x487)](_0x48d03f){var _0x2d80b8=_0x3e9f07;this['_logService'][_0x2d80b8(0x3cf)](_0x2d80b8(0x2b3),'socket\x20open.'),_0x48d03f[_0x2d80b8(0x485)]({'cmd':F['HELLO']}),this['_rescheduleHeartbeat']();}[_0x3e9f07(0x3e6)](){var _0x2f86d5=_0x3e9f07;this[_0x2f86d5(0x20f)]=!0x1,this[_0x2f86d5(0x2a2)]=null,this[_0x2f86d5(0x2f9)][_0x2f86d5(0x384)](Te[_0x2f86d5(0x297)]),this['_socket$'][_0x2f86d5(0x384)](null),this['_clearTimeoutTimer'](),this[_0x2f86d5(0x355)]();}[_0x3e9f07(0x1b7)](){var _0xb8933f=_0x3e9f07,_0x183868;this[_0xb8933f(0x3e6)](),this[_0xb8933f(0x22a)]<((_0x183868=this[_0xb8933f(0x31f)][_0xb8933f(0x1d9)](Hn))!=null?_0x183868:kn)?(this['_collaborationUIEventService']['emitEvent']({'id':re[_0xb8933f(0x498)]}),this['_tryReconnect']()):this['_collaborationUIEventService']['emitEvent']({'id':re[_0xb8933f(0x30f)]});}['_tryReconnect'](){var _0xd35f39=_0x3e9f07,_0x14160b;const _0x557241=this[_0xd35f39(0x22a)],_0x35bdd0=this[_0xd35f39(0x31f)][_0xd35f39(0x1d9)](Y),_0x4a60b9=_0x557241===0x0?0x0:((_0x14160b=_0x35bdd0==null?void 0x0:_0x35bdd0[_0xd35f39(0x448)])!=null?_0x14160b:$n)*0x2**_0x557241;this[_0xd35f39(0x42a)]=setTimeout(()=>{var _0x2390a5=_0xd35f39;clearTimeout(this[_0x2390a5(0x42a)]),this['_retryConnectingTimer']=null,this[_0x2390a5(0x3cc)]();},_0x4a60b9),this[_0xd35f39(0x22a)]+=0x1;}['_onMessage'](_0x36c91c,_0x4325c4){var _0x4840f5=_0x3e9f07;const {cmd:_0x218d4a}=_0x4325c4;_0x218d4a===F[_0x4840f5(0x231)]&&!this['_socketReady']&&(_0x36c91c[_0x4840f5(0x2e1)]=_0x4325c4['data']['memberID'],this['_socket$'][_0x4840f5(0x384)](_0x36c91c),this['_status$'][_0x4840f5(0x384)](Te[_0x4840f5(0x1c9)]),this['_socketReady']=!0x0,this[_0x4840f5(0x2a2)]=null),_0x218d4a===F[_0x4840f5(0x2d4)]&&this[_0x4840f5(0x2a3)](),this['_rescheduleHeartbeat']();}[_0x3e9f07(0x20b)](){var _0x35ec06=_0x3e9f07,_0x4a0e60;this[_0x35ec06(0x355)](),this[_0x35ec06(0x38d)]=setTimeout(()=>this[_0x35ec06(0x2c7)](),(_0x4a0e60=this[_0x35ec06(0x31f)]['getConfig'](Ln))!=null?_0x4a0e60:Mn);}[_0x3e9f07(0x2c7)](){var _0x8ae131=_0x3e9f07;this['_socket'][_0x8ae131(0x485)]({'cmd':F[_0x8ae131(0x2d4)]}),this[_0x8ae131(0x40e)]();}['_waitForHeartbeatResponse'](){var _0x1bcc7c=_0x3e9f07,_0x2de629;this[_0x1bcc7c(0x2d3)]=setTimeout(()=>this[_0x1bcc7c(0x1b7)](),(_0x2de629=this['_configService'][_0x1bcc7c(0x1d9)](Ei))!=null?_0x2de629:Ii);}[_0x3e9f07(0x355)](){var _0x1fb035=_0x3e9f07;this[_0x1fb035(0x38d)]!=null&&(clearTimeout(this['_sendHeartbeatTimer']),this[_0x1fb035(0x38d)]=null);}[_0x3e9f07(0x2a3)](){var _0x4b65ff=_0x3e9f07;this[_0x4b65ff(0x2d3)]!=null&&(clearTimeout(this[_0x4b65ff(0x2d3)]),this[_0x4b65ff(0x2d3)]=null);}};Le=hs([ge(0x0,_0x1e11c8(_0x202b1e)),ge(0x1,_0x290771),ge(0x2,_0x155bcb),ge(0x3,bi),ge(0x4,_0x1e11c8(_0x26621f)),ge(0x5,_0x1e11c8(pe)),ge(0x6,_0x5a8d4f(Gn))],Le);const V=[];for(let n=0x0;n<0x100;++n)V[_0x3e9f07(0x40c)]((n+0x100)[_0x3e9f07(0x35e)](0x10)[_0x3e9f07(0x1f8)](0x1));function _s(_0xb1a368,_0x3d4283=0x0){var _0x2f51ed=_0x3e9f07;return(V[_0xb1a368[_0x3d4283+0x0]]+V[_0xb1a368[_0x3d4283+0x1]]+V[_0xb1a368[_0x3d4283+0x2]]+V[_0xb1a368[_0x3d4283+0x3]]+'-'+V[_0xb1a368[_0x3d4283+0x4]]+V[_0xb1a368[_0x3d4283+0x5]]+'-'+V[_0xb1a368[_0x3d4283+0x6]]+V[_0xb1a368[_0x3d4283+0x7]]+'-'+V[_0xb1a368[_0x3d4283+0x8]]+V[_0xb1a368[_0x3d4283+0x9]]+'-'+V[_0xb1a368[_0x3d4283+0xa]]+V[_0xb1a368[_0x3d4283+0xb]]+V[_0xb1a368[_0x3d4283+0xc]]+V[_0xb1a368[_0x3d4283+0xd]]+V[_0xb1a368[_0x3d4283+0xe]]+V[_0xb1a368[_0x3d4283+0xf]])[_0x2f51ed(0x321)]();}let dt;const ls=new Uint8Array(0x10);function us(){var _0x5c1cb4=_0x3e9f07;if(!dt){if(typeof crypto>'u'||!crypto[_0x5c1cb4(0x294)])throw new Error(_0x5c1cb4(0x401));dt=crypto[_0x5c1cb4(0x294)][_0x5c1cb4(0x3ba)](crypto);}return dt(ls);}const ds=typeof crypto<'u'&&crypto[_0x3e9f07(0x2c2)]&&crypto[_0x3e9f07(0x2c2)][_0x3e9f07(0x3ba)](crypto),qt={'randomUUID':ds};function fs(_0x343e66,_0x45829f,_0xfd9ea4){var _0x301b4a=_0x3e9f07;if(qt[_0x301b4a(0x2c2)]&&!_0x45829f&&!_0x343e66)return qt[_0x301b4a(0x2c2)]();_0x343e66=_0x343e66||{};const _0x216d99=_0x343e66[_0x301b4a(0x33d)]||(_0x343e66[_0x301b4a(0x465)]||us)();return _0x216d99[0x6]=_0x216d99[0x6]&0xf|0x40,_0x216d99[0x8]=_0x216d99[0x8]&0x3f|0x80,_s(_0x216d99);}const X=_0x1c6acd(_0x3e9f07(0x1b9));function uo(_0x2ab609){var _0x372b87=_0x3e9f07;return _0x372b87(0x38c)+_0x2ab609;}var vs=Object[_0x3e9f07(0x386)],ps=Object['getOwnPropertyDescriptor'],ms=(_0x30e9ba,_0x48a00d,_0x3ed61b,_0x45be23)=>{var _0x50cff1=_0x3e9f07;for(var _0x2b9800=_0x45be23>0x1?void 0x0:_0x45be23?ps(_0x48a00d,_0x3ed61b):_0x48a00d,_0x1b90ee=_0x30e9ba[_0x50cff1(0x46c)]-0x1,_0xcbcf49;_0x1b90ee>=0x0;_0x1b90ee--)(_0xcbcf49=_0x30e9ba[_0x1b90ee])&&(_0x2b9800=(_0x45be23?_0xcbcf49(_0x48a00d,_0x3ed61b,_0x2b9800):_0xcbcf49(_0x2b9800))||_0x2b9800);return _0x45be23&&_0x2b9800&&vs(_0x48a00d,_0x3ed61b,_0x2b9800),_0x2b9800;},ft=(_0x2436bf,_0x17a68d)=>(_0x9bbefc,_0x435c56)=>_0x17a68d(_0x9bbefc,_0x435c56,_0x2436bf);function gs(_0x3693e5){var _0x472390=_0x3e9f07;const {unitID:_0x5bbc51,mutations:_0x2f1cf6}=_0x3693e5;return{'unitId':_0x5bbc51,'subUnitId':_0x2f1cf6[0x0][_0x472390(0x299)]['subUnitId']};}let nt=class{constructor(_0x1b7026,_0x2d28e8,_0x5d9a30){var _0x572321=_0x3e9f07;this[_0x572321(0x484)]=_0x1b7026,this['_transformService']=_0x2d28e8,this['_instanceService']=_0x5d9a30;}[_0x3e9f07(0x304)](_0x4fbc2d){var _0x5cbd84=_0x3e9f07,_0x5d0bf9,_0x1f03a4,_0x2d4429,_0x49c944;const _0x2ec3a0=this[_0x5cbd84(0x484)][_0x5cbd84(0x220)](_0x275888),{unitId:_0x4024f2,subUnitId:_0xf23288}=gs(_0x4fbc2d),_0xfdccf0=_0x2ec3a0==null?void 0x0:_0x2ec3a0[_0x5cbd84(0x20a)](_0x4024f2)[_0x5cbd84(0x28e)](),_0x301e15=(_0x1f03a4=(_0x5d0bf9=this['_instanceService']['getUnit'](_0x4024f2))==null?void 0x0:_0x5d0bf9[_0x5cbd84(0x1c3)]())==null?void 0x0:_0x1f03a4['getSheetId']();if(_0xfdccf0[_0x5cbd84(0x46c)]===0x0||!_0x4024f2||!_0xf23288)return;const _0x5dd0ce=[{'id':_0x20e163['id'],'params':{'unitId':_0x4024f2,'subUnitId':_0x301e15,'selections':_0xc1dd15['deepClone'](_0xfdccf0)}}],_0x3c29fc=this[_0x5cbd84(0x207)][_0x5cbd84(0x2f0)](_0x4fbc2d,_0x5dd0ce);if(!_0x281f21(_0x3c29fc))throw _0x3c29fc['error'];const _0x2099ad=(_0x49c944=(_0x2d4429=_0x3c29fc[_0x5cbd84(0x3f9)][0x0])==null?void 0x0:_0x2d4429[_0x5cbd84(0x299)])==null?void 0x0:_0x49c944[_0x5cbd84(0x1e1)];if(Array[_0x5cbd84(0x1cb)](_0x2099ad)&&_0x2099ad[_0x5cbd84(0x46c)]){if(_0x2099ad[_0x5cbd84(0x46c)]===_0x5dd0ce[0x0][_0x5cbd84(0x299)][_0x5cbd84(0x1e1)][_0x5cbd84(0x46c)]&&_0x2099ad[_0x5cbd84(0x21c)]((_0x145d5d,_0xdabe85)=>_0x420d55[_0x5cbd84(0x3cd)](_0x145d5d[_0x5cbd84(0x30b)],_0x5dd0ce[0x0][_0x5cbd84(0x299)][_0x5cbd84(0x1e1)][_0xdabe85][_0x5cbd84(0x30b)])))return;this['_injector'][_0x5cbd84(0x220)](_0x5f1d0c)[_0x5cbd84(0x3e1)](_0x20e163['id'],{'unitId':_0x4024f2,'subUnitId':_0x301e15,'selections':_0x2099ad});}}};nt=ms([ft(0x0,_0x1e11c8(_0x202b1e)),ft(0x1,_0x48d905),ft(0x2,_0x2bea00)],nt);const _t=_0x1c6acd(_0x3e9f07(0x3f1));var yi=(_0x333eae=>(_0x333eae[_0x333eae[_0x3e9f07(0x1e8)]=0x0]=_0x3e9f07(0x1e8),_0x333eae[_0x333eae['OTHER_CLIENTS_EDITING']=0x1]=_0x3e9f07(0x2ad),_0x333eae))(yi||{});const Ss=new Set([_0x338610['id']]);function Jt(_0xfce5a8,_0x514ae2,_0xe76206,_0x3b9b36,_0x5ada70){var _0x49de80=_0x3e9f07,_0xe821cd,_0x2170d9,_0x5b612b,_0x44f939;const _0x47c011=[];for(const _0x43a0a0 of _0xfce5a8)if(Ss[_0x49de80(0x393)](_0x43a0a0['id'])){if(_0x47c011[_0x49de80(0x46c)]>0x0)break;_0x47c011[_0x49de80(0x40c)](_0x43a0a0);break;}else _0x47c011[_0x49de80(0x40c)](_0x43a0a0);const _0x27d57f=(_0x2170d9=(_0xe821cd=_0x5ada70[_0x49de80(0x1aa)]())==null?void 0x0:_0xe821cd['userID'])!=null?_0x2170d9:_0x49de80(0x1a1),_0xf42cec=(_0x44f939=(_0x5b612b=_0x5ada70[_0x49de80(0x1aa)]())==null?void 0x0:_0x5b612b[_0x49de80(0x2e1)])!=null?_0x44f939:_0x49de80(0x1a1);return{'changeset':{'unitID':_0x514ae2,'type':_0x166ae6(_0xe76206['getUnitType'](_0x514ae2)),'baseRev':_0x3b9b36[_0x49de80(0x2f5)](_0x514ae2),'revision':0x0,'userID':_0x27d57f,'memberID':_0xf42cec,'mutations':_0x47c011},'pendingMutations':_0xfce5a8['slice'](_0x47c011[_0x49de80(0x46c)])};}function Es(_0xb7c8bd,_0x2365d3,_0x18ee73,_0x351691,_0x31ceab){var _0x2ffbed=_0x3e9f07,_0xe708ff,_0x36a8fc,_0x1d2e4b,_0x37937d;const _0x3a19f8=[_0xb7c8bd[_0x2ffbed(0x227)]((_0xbc7216,_0x13ca5d)=>{var _0x2572d7=_0x2ffbed,_0x4019cd;const {id:_0x3ec227}=_0xbc7216,{id:_0xa13495,type:_0xab92fe}=_0x13ca5d,_0x1cc496=(_0x4019cd=_0xbc7216['params'])!=null?_0x4019cd:{'actions':null},_0xb36915=_0x13ca5d['params'];if(_0x3ec227&&_0x3ec227!==_0xa13495)throw new Error('Cannot\x20assemble\x20a\x20changeset\x20from\x20multiple\x20mutations\x20of\x20different\x20types:\x20'+_0x3ec227+_0x2572d7(0x407)+_0xa13495+'.');return{..._0xbc7216,'id':_0xa13495,'type':_0xab92fe,'params':{'unitId':_0xb36915['unitId'],'textRanges':_0xb36915['textRanges'],'actions':_0x5a9d5f['compose'](_0x1cc496[_0x2572d7(0x1fa)],_0xb36915[_0x2572d7(0x1fa)])}};},{})],_0x2f2fe1=(_0x36a8fc=(_0xe708ff=_0x31ceab[_0x2ffbed(0x1aa)]())==null?void 0x0:_0xe708ff[_0x2ffbed(0x483)])!=null?_0x36a8fc:'unknown',_0x1ddda7=(_0x37937d=(_0x1d2e4b=_0x31ceab['getCurrentUser']())==null?void 0x0:_0x1d2e4b['memberID'])!=null?_0x37937d:'unknown';return{'changeset':{'unitID':_0x2365d3,'type':_0x166ae6(_0x18ee73[_0x2ffbed(0x3be)](_0x2365d3)),'baseRev':_0x351691['getCurrentRevOfUnit'](_0x2365d3),'revision':0x0,'userID':_0x2f2fe1,'memberID':_0x1ddda7,'mutations':_0x3a19f8},'pendingMutations':[]};}function Oi(_0x44043b,_0xf52546){var _0x504ead=_0x3e9f07;const _0x585421=new _0x2f5052(0x1);return setTimeout(()=>_0x585421[_0x504ead(0x384)](_0xf52546),_0x44043b),_0x585421[_0x504ead(0x3fa)]()[_0x504ead(0x3c9)](_0x49f8ab(0x1));}const Is={'id':_0x292987['id'],'type':_0x245250[_0x3e9f07(0x389)],'params':{}};var Ts=Object[_0x3e9f07(0x386)],Cs=Object[_0x3e9f07(0x34f)],be=(_0x14f33d,_0x71059b,_0x2e08d3,_0x3d29b8)=>{var _0x2c9e25=_0x3e9f07;for(var _0x23ecf8=_0x3d29b8>0x1?void 0x0:_0x3d29b8?Cs(_0x71059b,_0x2e08d3):_0x71059b,_0x90070=_0x14f33d[_0x2c9e25(0x46c)]-0x1,_0x4aa71e;_0x90070>=0x0;_0x90070--)(_0x4aa71e=_0x14f33d[_0x90070])&&(_0x23ecf8=(_0x3d29b8?_0x4aa71e(_0x71059b,_0x2e08d3,_0x23ecf8):_0x4aa71e(_0x23ecf8))||_0x23ecf8);return _0x3d29b8&&_0x23ecf8&&Ts(_0x71059b,_0x2e08d3,_0x23ecf8),_0x23ecf8;},A=(_0x433c2b,_0x3af858)=>(_0x2be2d3,_0x435b92)=>_0x3af858(_0x2be2d3,_0x435b92,_0x433c2b),Pi=(_0x6b48a0=>(_0x6b48a0[_0x3e9f07(0x1d5)]=_0x3e9f07(0x37a),_0x6b48a0[_0x3e9f07(0x1d6)]=_0x3e9f07(0x2d8),_0x6b48a0['PENDING']=_0x3e9f07(0x273),_0x6b48a0[_0x3e9f07(0x2ea)]=_0x3e9f07(0x488),_0x6b48a0[_0x3e9f07(0x3d4)]='awaiting_with_pending',_0x6b48a0[_0x3e9f07(0x274)]='fetch_missing',_0x6b48a0[_0x3e9f07(0x2cd)]=_0x3e9f07(0x266),_0x6b48a0['OFFLINE']=_0x3e9f07(0x1db),_0x6b48a0))(Pi||{});const Ni=0xea60;class Re{constructor(_0x54da2e,_0x20b125,_0x2f8d14,_0x18a35e,_0x5cbdf1,_0x2b66d3,_0x1ed69e,_0x38f67e,_0x4fc3f8){var _0x5e4083=_0x3e9f07;N(this,_0x5e4083(0x29f),null),N(this,_0x5e4083(0x1dd),[]),(this[_0x5e4083(0x28d)]=_0x54da2e,this[_0x5e4083(0x3bb)]=_0x20b125,this[_0x5e4083(0x21f)]=_0x5cbdf1,this[_0x5e4083(0x233)]=_0x2b66d3,this[_0x5e4083(0x374)]=_0x1ed69e,this[_0x5e4083(0x1ca)]=_0x38f67e,this[_0x5e4083(0x2a4)]=_0x4fc3f8,this[_0x5e4083(0x29f)]=_0x2f8d14,this[_0x5e4083(0x1dd)]=_0x18a35e);}[_0x3e9f07(0x3ac)](_0x3d84aa){var _0x4770d2=_0x3e9f07;const _0x5a8e82=this[_0x4770d2(0x1ca)][_0x4770d2(0x2f5)](this[_0x4770d2(0x28d)]);return _0x3d84aa[_0x4770d2(0x493)]>_0x5a8e82+0x1?(this[_0x4770d2(0x21f)][_0x4770d2(0x4a1)]({'from':_0x5a8e82,'to':_0x3d84aa[_0x4770d2(0x493)]-0x1}),!0x0):!0x1;}[_0x3e9f07(0x2ae)](_0x4ab203){var _0x88550f=_0x3e9f07;this[_0x88550f(0x374)]['transformUndoRedo'](this[_0x88550f(0x28d)],_0x4ab203);}[_0x3e9f07(0x30c)](_0x36ef74){var _0x370861=_0x3e9f07,_0x200a92,_0x37c833;(_0x37c833=(_0x200a92=this['_handler'])[_0x370861(0x3f4)])==null||_0x37c833[_0x370861(0x26b)](_0x200a92,_0x36ef74);}[_0x3e9f07(0x47a)](_0x5033a3){var _0x4e6179=_0x3e9f07,_0x81839f,_0x2450a3;return(_0x2450a3=(_0x81839f=this[_0x4e6179(0x21f)])[_0x4e6179(0x414)])==null?void 0x0:_0x2450a3[_0x4e6179(0x26b)](_0x81839f,_0x5033a3);}[_0x3e9f07(0x463)](_0x3413a6){var _0xb2d36b=_0x3e9f07,_0x16d7b4,_0x48d7cf;return(_0x48d7cf=(_0x16d7b4=this[_0xb2d36b(0x21f)])['onTransformState'])==null?void 0x0:_0x48d7cf[_0xb2d36b(0x26b)](_0x16d7b4,_0x3413a6);}[_0x3e9f07(0x467)](_0x26f26f){var _0x4106fe=_0x3e9f07,_0x312b30,_0x452dd7,_0x5ce184;return(_0x5ce184=(_0x452dd7=(_0x312b30=this[_0x4106fe(0x21f)])[_0x4106fe(0x379)])==null?void 0x0:_0x452dd7['call'](_0x312b30,_0x26f26f))!=null?_0x5ce184:_0x26f26f;}[_0x3e9f07(0x230)](_0x113778){var _0x41fd3b=_0x3e9f07,_0x3a00f0,_0x2623a5,_0x2cc320;return(_0x2cc320=(_0x2623a5=(_0x3a00f0=this[_0x41fd3b(0x21f)])[_0x41fd3b(0x26d)])==null?void 0x0:_0x2623a5['call'](_0x3a00f0,_0x113778))!=null?_0x2cc320:_0x113778;}['_syncEditingCollabCursor'](_0x1a3ba2){var _0x4c09bc=_0x3e9f07,_0x1ccc31,_0x5b9a61;if(this[_0x4c09bc(0x3bb)]===Q[_0x4c09bc(0x36e)]){const {unitID:_0x6bf158,mutations:_0x248ede,memberID:_0x3c88e6}=_0x1a3ba2,_0x45123f=_0x248ede[0x0][_0x4c09bc(0x299)][_0x4c09bc(0x30e)];Array[_0x4c09bc(0x1cb)](_0x45123f)&&_0x45123f[_0x4c09bc(0x46c)]>0x0&&((_0x5b9a61=(_0x1ccc31=this[_0x4c09bc(0x21f)])[_0x4c09bc(0x3c8)])==null||_0x5b9a61[_0x4c09bc(0x26b)](_0x1ccc31,{'unitID':_0x6bf158,'memberID':_0x3c88e6,'textRanges':_0x45123f}));}}[_0x3e9f07(0x234)](){var _0x3d63c9=_0x3e9f07,_0x5ec228;(_0x5ec228=this['_localCacheService'])==null||_0x5ec228['updateOfflineData'](this['unitID'],this[_0x3d63c9(0x3bb)],this[_0x3d63c9(0x29f)],this[_0x3d63c9(0x1dd)]);}[_0x3e9f07(0x318)](){var _0x543502=_0x3e9f07;return this[_0x543502(0x1ca)][_0x543502(0x2f5)](this[_0x543502(0x28d)]);}[_0x3e9f07(0x3ef)](){var _0x62d242=_0x3e9f07;this[_0x62d242(0x1ca)]['incrementRevOfUnit'](this[_0x62d242(0x28d)]);}['_executeRemoteChangeset'](_0x5b8e4a){var _0xeeba94=_0x3e9f07,_0x27db8d;let _0x4a7851=this['_transformRemoteChangesetByIMECache'](_0x5b8e4a);_0x4a7851=this[_0xeeba94(0x230)](_0x4a7851);const _0x372259=_0x55f2de(_0x4a7851[_0xeeba94(0x42e)],this[_0xeeba94(0x233)],{'fromCollab':!0x0});if(!_0x372259[_0xeeba94(0x3a7)])throw _0x372259['error']instanceof Error?_0x372259[_0xeeba94(0x3b6)]:new Error((_0x27db8d=_0x372259['error'])!=null?_0x27db8d:_0xeeba94(0x22d));this[_0xeeba94(0x47a)](_0x4a7851),this[_0xeeba94(0x463)](_0x4a7851),this[_0xeeba94(0x2ae)](_0x5b8e4a),this[_0xeeba94(0x30c)](_0x4a7851),this[_0xeeba94(0x347)](_0x4a7851),this[_0xeeba94(0x3ef)]();}}let Ne=class extends Re{constructor(_0x7016c2,_0x596d47,_0x48d5dc,_0x1aca61,_0xbd8446,_0x59d879,_0x2976e5,_0x4092b5,_0x57280b,_0x430396){var _0x40f177=_0x3e9f07;super(_0x7016c2,_0x596d47,null,[],_0x48d5dc,_0x2976e5,_0x59d879,_0x1aca61,_0x430396),N(this,_0x40f177(0x1c5),_0x40f177(0x2d8)),(this[_0x40f177(0x484)]=_0xbd8446,this['_logService']=_0x4092b5,this[_0x40f177(0x207)]=_0x57280b,this['localCacheService']=_0x430396);}[_0x3e9f07(0x426)](_0x162c5c){var _0x6fbc8c=_0x3e9f07;const _0x3741c4=this[_0x6fbc8c(0x484)]['createInstance'](oe,this[_0x6fbc8c(0x28d)],this['type'],[_0x162c5c],this['_handler']);return _0x3741c4[_0x6fbc8c(0x368)](),_0x3741c4['_updateLocalCache'](),_0x3741c4;}[_0x3e9f07(0x3ff)](_0x5cc8fb){var _0x3a7abb=_0x3e9f07;if(this[_0x3a7abb(0x3ac)](_0x5cc8fb))return this['_injector'][_0x3a7abb(0x396)](te,this[_0x3a7abb(0x28d)],this['type'],null,[],null,[_0x5cc8fb],this['_handler']);try{const _0x4c226e=this[_0x3a7abb(0x207)][_0x3a7abb(0x2f0)](_0x5cc8fb,[Is]);if(_0x281f21(_0x4c226e)){const {c1Prime:_0x4eb4c6}=_0x4c226e;return this[_0x3a7abb(0x3fc)](_0x4eb4c6),this;}throw _0x4c226e[_0x3a7abb(0x3b6)];}catch(_0x553644){return this['_logService'][_0x3a7abb(0x3b6)](_0x553644),this[_0x3a7abb(0x46e)](!0x1);}}[_0x3e9f07(0x46e)](_0x5dba82){var _0x1c3e41=_0x3e9f07;return this['_injector'][_0x1c3e41(0x396)](de,this[_0x1c3e41(0x28d)],this[_0x1c3e41(0x3bb)],null,[],this[_0x1c3e41(0x21f)],_0x5dba82);}['onRemoteAck'](){throw new Error('[SyncedState]:\x20received\x20acknowledgement.');}['onRemoteRej'](){throw new Error('[SyncedState]:\x20received\x20rejection.');}[_0x3e9f07(0x2f4)](){return this;}[_0x3e9f07(0x2cc)](){var _0x3e4f07=_0x3e9f07;return this[_0x3e4f07(0x484)][_0x3e4f07(0x396)](fe,this['unitID'],this[_0x3e4f07(0x3bb)],null,[],this[_0x3e4f07(0x21f)]);}[_0x3e9f07(0x1a2)](){return this;}['resend'](){var _0x551e98=_0x3e9f07;throw new Error(_0x551e98(0x325));}[_0x3e9f07(0x2e9)](){var _0x383079=_0x3e9f07;const _0x234c1d=this[_0x383079(0x1ca)][_0x383079(0x2f5)](this[_0x383079(0x28d)]);return this[_0x383079(0x21f)][_0x383079(0x4a1)]({'from':_0x234c1d,'to':0x0}),this['_injector']['createInstance'](te,this[_0x383079(0x28d)],this[_0x383079(0x3bb)],null,[],null,[],this[_0x383079(0x21f)]);}};Ne=be([A(0x3,_0x1e11c8(_0x33e8a8)),A(0x4,_0x1e11c8(_0x202b1e)),A(0x5,_0x34ff18),A(0x6,_0x5f1d0c),A(0x7,_0x290771),A(0x8,_0x48d905),A(0x9,_0x5a8d4f(X))],Ne);let oe=class extends Re{constructor(_0x10f7bb,_0x2fd67a,_0x149558,_0x1f416c,_0xc28be9,_0x5b7d1e,_0x56ed85,_0x4eafd2,_0x26d706,_0x4657f2,_0x132589,_0x4541bf,_0x544fd0,_0x165b5a){var _0x2d0b3b=_0x3e9f07;super(_0x10f7bb,_0x2fd67a,null,_0x149558,_0x1f416c,_0x26d706,_0x544fd0,_0x5b7d1e,_0x165b5a),N(this,_0x2d0b3b(0x1c5),_0x2d0b3b(0x273)),N(this,_0x2d0b3b(0x361),null),N(this,_0x2d0b3b(0x1ff),null),(this['_injector']=_0xc28be9,this[_0x2d0b3b(0x3b8)]=_0x56ed85,this[_0x2d0b3b(0x28c)]=_0x4eafd2,this['_configService']=_0x4657f2,this[_0x2d0b3b(0x207)]=_0x132589,this[_0x2d0b3b(0x33c)]=_0x4541bf);}[_0x3e9f07(0x426)](_0x122a75){var _0x4af9c2=_0x3e9f07;return this[_0x4af9c2(0x1dd)][_0x4af9c2(0x40c)](_0x122a75),this[_0x4af9c2(0x234)](),this;}[_0x3e9f07(0x3ff)](_0x599db5){var _0x134176=_0x3e9f07;if(this['_checkMissing'](_0x599db5))return this[_0x134176(0x359)](),this['_injector'][_0x134176(0x396)](te,this['unitID'],this[_0x134176(0x3bb)],null,this[_0x134176(0x1dd)],null,[_0x599db5],this[_0x134176(0x21f)]);try{const _0x416c83=this[_0x134176(0x207)][_0x134176(0x2f0)](_0x599db5,this[_0x134176(0x1dd)]);if(_0x281f21(_0x416c83)){const {c1Prime:_0x164c39,m2Prime:_0x52ff53}=_0x416c83;this[_0x134176(0x3fc)](_0x164c39);const _0xf30de6=this[_0x134176(0x484)][_0x134176(0x396)](oe,this['unitID'],this[_0x134176(0x3bb)],_0x52ff53,this[_0x134176(0x21f)]);return this[_0x134176(0x359)](),_0xf30de6[_0x134176(0x368)](this[_0x134176(0x361)]?Math[_0x134176(0x397)](0x0,new Date()[_0x134176(0x3ed)]()-this[_0x134176(0x361)]):this['_getSendChangesetTimeout']()),_0xf30de6;}throw _0x416c83['error'];}catch(_0x3c6b66){return this[_0x134176(0x28c)][_0x134176(0x3b6)](_0x3c6b66),this[_0x134176(0x46e)](!0x1);}}['onRemoteAck'](){var _0x3b387e=_0x3e9f07;throw new Error(_0x3b387e(0x2ab));}[_0x3e9f07(0x387)](){throw new Error('[PendingState]:\x20received\x20rejection.');}[_0x3e9f07(0x2f4)](){return this;}[_0x3e9f07(0x2cc)](){var _0x5e1e46=_0x3e9f07;return this['_clearScheduledTask'](),this['_injector'][_0x5e1e46(0x396)](fe,this[_0x5e1e46(0x28d)],this['type'],null,this[_0x5e1e46(0x1dd)],this[_0x5e1e46(0x21f)]);}['toggleOnline'](){return this;}[_0x3e9f07(0x368)](_0xba1ee8){var _0x55c0f7=_0x3e9f07;const _0x258bf1=_0xba1ee8!=null?_0xba1ee8:this['_getSendChangesetTimeout']();this[_0x55c0f7(0x361)]=new Date()['getTime'](),this[_0x55c0f7(0x1ff)]=setTimeout(()=>{var _0x5299d1=_0x55c0f7;this[_0x5299d1(0x359)]();let _0x291758=null;switch(this[_0x5299d1(0x3bb)]){case Q['UNIVER_SHEET']:{_0x291758=Jt(this[_0x5299d1(0x1dd)],this['unitID'],this[_0x5299d1(0x33c)],this['_revisionService'],this[_0x5299d1(0x3b8)]);break;}case Q[_0x5299d1(0x36e)]:{this['_pendingMutations'][_0x5299d1(0x21c)](_0x452fce=>_0x452fce['id']===_0x514974['id'])?_0x291758=Es(this[_0x5299d1(0x1dd)],this[_0x5299d1(0x28d)],this[_0x5299d1(0x33c)],this[_0x5299d1(0x1ca)],this[_0x5299d1(0x3b8)]):_0x291758=Jt(this[_0x5299d1(0x1dd)],this[_0x5299d1(0x28d)],this[_0x5299d1(0x33c)],this['_revisionService'],this[_0x5299d1(0x3b8)]);break;}default:throw new Error(_0x5299d1(0x3a3)+this[_0x5299d1(0x3bb)]+'\x20in\x20_schedule.');}const {changeset:_0x45266c,pendingMutations:_0x2a7ab7}=_0x291758;this[_0x5299d1(0x21f)][_0x5299d1(0x283)](_0x45266c);const _0x36bbee=_0x2a7ab7[_0x5299d1(0x46c)]?this[_0x5299d1(0x484)][_0x5299d1(0x396)](ae,this[_0x5299d1(0x28d)],this[_0x5299d1(0x3bb)],_0x45266c,_0x2a7ab7,this[_0x5299d1(0x21f)],void 0x0):this[_0x5299d1(0x484)][_0x5299d1(0x396)](ue,this[_0x5299d1(0x28d)],this[_0x5299d1(0x3bb)],_0x45266c,this['_handler']);_0x36bbee[_0x5299d1(0x234)](),this[_0x5299d1(0x21f)][_0x5299d1(0x2b0)](this,_0x36bbee);},_0x258bf1);}[_0x3e9f07(0x312)](){var _0x2654b0=_0x3e9f07,_0x2e96d4;const _0x1f0b7a=this[_0x2654b0(0x31f)][_0x2654b0(0x1d9)](Y);return(_0x2e96d4=_0x1f0b7a==null?void 0x0:_0x1f0b7a[_0x2654b0(0x1e3)])!=null?_0x2e96d4:wn;}[_0x3e9f07(0x327)](){var _0x4e2808=_0x3e9f07;throw new Error(_0x4e2808(0x42b));}[_0x3e9f07(0x359)](){var _0x9045e1=_0x3e9f07;this[_0x9045e1(0x1ff)]!=null&&(clearTimeout(this['_sendingTimer']),this['_sendingTimer']=null);}['_onConflict'](_0x859c0f){var _0x4b2108=_0x3e9f07;return this[_0x4b2108(0x359)](),this['_injector']['createInstance'](de,this['unitID'],this[_0x4b2108(0x3bb)],null,this[_0x4b2108(0x1dd)],this[_0x4b2108(0x21f)],_0x859c0f);}};oe=be([A(0x4,_0x1e11c8(_0x202b1e)),A(0x5,_0x1e11c8(_0x33e8a8)),A(0x6,_0x1e11c8(xe)),A(0x7,_0x290771),A(0x8,_0x5f1d0c),A(0x9,_0x155bcb),A(0xa,_0x48d905),A(0xb,_0x2bea00),A(0xc,_0x34ff18),A(0xd,_0x5a8d4f(X))],oe);let ue=class extends Re{constructor(_0x521149,_0x299c77,_0x28c50d,_0x252abd,_0x3578c1,_0x3ce2d9,_0x3b7cfd,_0x52c7f7,_0x59ff8b,_0x49639b,_0x230148){var _0x2b0cfd=_0x3e9f07;super(_0x521149,_0x299c77,_0x28c50d,[],_0x252abd,_0x3b7cfd,_0x49639b,_0x3ce2d9,_0x230148),N(this,_0x2b0cfd(0x1c5),_0x2b0cfd(0x488)),N(this,'_resendTimeout',0x0),N(this,_0x2b0cfd(0x494)),N(this,_0x2b0cfd(0x459)),(this[_0x2b0cfd(0x484)]=_0x3578c1,this[_0x2b0cfd(0x28c)]=_0x52c7f7,this[_0x2b0cfd(0x207)]=_0x59ff8b);}[_0x3e9f07(0x426)](_0x3fc30a){var _0x14c908=_0x3e9f07;this[_0x14c908(0x359)]();const _0x1c8b57=this['_injector'][_0x14c908(0x396)](ae,this[_0x14c908(0x28d)],this[_0x14c908(0x3bb)],this[_0x14c908(0x29f)],[_0x3fc30a],this['_handler'],this['_resendTimer']);return _0x1c8b57[_0x14c908(0x234)](),_0x1c8b57;}[_0x3e9f07(0x3ff)](_0x5f2822){var _0x20e30b=_0x3e9f07;if(this['_checkMissing'](_0x5f2822))return this[_0x20e30b(0x359)](),this[_0x20e30b(0x484)][_0x20e30b(0x396)](te,this[_0x20e30b(0x28d)],this[_0x20e30b(0x3bb)],this['_awaitingChangeset'],[],null,[_0x5f2822],this['_handler']);try{const _0x5ef935=this[_0x20e30b(0x207)][_0x20e30b(0x44a)]([_0x5f2822],[this[_0x20e30b(0x29f)]],!0x1);if(_0x2a45c4(_0x5ef935)){const {c1Prime:_0x10749a,c2Prime:_0xa23dac}=_0x5ef935;this[_0x20e30b(0x3fc)](_0x10749a[0x0]),_0xa23dac[0x0][_0x20e30b(0x25f)]=this[_0x20e30b(0x318)](),this[_0x20e30b(0x359)]();const _0x34ea32=this[_0x20e30b(0x484)]['createInstance'](ue,this[_0x20e30b(0x28d)],this[_0x20e30b(0x3bb)],_0xa23dac[0x0],this[_0x20e30b(0x21f)]);return _0x34ea32[_0x20e30b(0x234)](),_0x34ea32;}return this[_0x20e30b(0x46e)](!0x1);}catch(_0x4e6cd9){return this[_0x20e30b(0x28c)]['error'](_0x4e6cd9),this[_0x20e30b(0x46e)](!0x1);}}[_0x3e9f07(0x1f5)](_0x576cdd){var _0x3926e6=_0x3e9f07;this[_0x3926e6(0x359)]();const _0x5c1cba=this['_revisionService'][_0x3926e6(0x2f5)](this[_0x3926e6(0x28d)]);if(_0x576cdd[_0x3926e6(0x493)]<_0x5c1cba-0x1)return this;if(this[_0x3926e6(0x3ac)](_0x576cdd))return this[_0x3926e6(0x484)]['createInstance'](te,this[_0x3926e6(0x28d)],this[_0x3926e6(0x3bb)],null,[],this[_0x3926e6(0x29f)],[],this[_0x3926e6(0x21f)]);this['_incrementRevisionNumber']();const _0x4d4893=this[_0x3926e6(0x484)][_0x3926e6(0x396)](Ne,this[_0x3926e6(0x28d)],this['type'],this[_0x3926e6(0x21f)]);return _0x4d4893[_0x3926e6(0x234)](),_0x4d4893;}[_0x3e9f07(0x387)](_0x5f3ecc){var _0x4ae4e3=_0x3e9f07;return this[_0x4ae4e3(0x46e)](!!(_0x5f3ecc!=null&&_0x5f3ecc['isPermissionRej']));}[_0x3e9f07(0x2f4)](_0x575508){var _0x4456bf=_0x3e9f07;return this[_0x4456bf(0x438)]>Ni?this[_0x4456bf(0x2cc)]():(this[_0x4456bf(0x494)]=Oi(this[_0x4456bf(0x438)],{'timeout':this[_0x4456bf(0x438)],'reqId':_0x575508[_0x4456bf(0x446)]}),this[_0x4456bf(0x459)]=this[_0x4456bf(0x494)]['subscribe'](({reqId:_0xb3f5cf,timeout:_0x1ca2c5})=>{var _0xfb24f=_0x4456bf;this[_0xfb24f(0x470)](_0xb3f5cf,_0x1ca2c5);}),this);}[_0x3e9f07(0x2cc)](){var _0x108e1c=_0x3e9f07;return this['_clearScheduledTask'](),this['_injector'][_0x108e1c(0x396)](fe,this['unitID'],this[_0x108e1c(0x3bb)],this['_awaitingChangeset'],[],this['_handler']);}[_0x3e9f07(0x1a2)](){return this;}[_0x3e9f07(0x327)](){var _0x318b08=_0x3e9f07;this[_0x318b08(0x21f)]['onSendChangeset'](this[_0x318b08(0x29f)]);}[_0x3e9f07(0x46e)](_0x59835c){var _0x3ce3d0=_0x3e9f07;return this[_0x3ce3d0(0x359)](),this[_0x3ce3d0(0x484)][_0x3ce3d0(0x396)](de,this['unitID'],this[_0x3ce3d0(0x3bb)],this[_0x3ce3d0(0x29f)],[],this['_handler'],_0x59835c);}[_0x3e9f07(0x470)](_0x404022,_0xe0a982){var _0x406e47=_0x3e9f07,_0x122aa6;_0x404022===((_0x122aa6=this[_0x406e47(0x29f)])==null?void 0x0:_0x122aa6[_0x406e47(0x446)])&&(this['resend'](),this[_0x406e47(0x438)]=_0xe0a982===0x0?0x3e8:_0xe0a982*0x2);}[_0x3e9f07(0x359)](){var _0x5e37ee=_0x3e9f07,_0x4cd463;(_0x4cd463=this['_sender'])==null||_0x4cd463[_0x5e37ee(0x37c)](),this[_0x5e37ee(0x438)]=0x0;}};ue=be([A(0x4,_0x1e11c8(_0x202b1e)),A(0x5,_0x1e11c8(_0x33e8a8)),A(0x6,_0x5f1d0c),A(0x7,_0x290771),A(0x8,_0x48d905),A(0x9,_0x34ff18),A(0xa,_0x5a8d4f(X))],ue);let ae=class extends Re{constructor(_0x1459d3,_0x2dd83b,_0x3755e4,_0x418336,_0xecba5b,_0x3c494a,_0x39e5c9,_0x2a68e4,_0x42e2a1,_0x4e1a5b,_0x206572,_0x2801e2,_0x57be6e){var _0x3a886b=_0x3e9f07;super(_0x1459d3,_0x2dd83b,_0x3755e4,_0x418336,_0xecba5b,_0x42e2a1,_0x2801e2,_0x2a68e4,_0x57be6e),N(this,_0x3a886b(0x1c5),'awaiting_with_pending'),N(this,_0x3a886b(0x438),0x0),N(this,_0x3a886b(0x494)),N(this,'_sender'),(this['_injector']=_0x39e5c9,this[_0x3a886b(0x28c)]=_0x4e1a5b,this[_0x3a886b(0x207)]=_0x206572,this[_0x3a886b(0x212)]=_0x57be6e,_0x3c494a&&(this[_0x3a886b(0x494)]=_0x3c494a,this['_sender']=this['_resendTimer']['subscribe'](({reqId:_0x496cd5,timeout:_0x4c1f4c})=>{var _0x382711=_0x3a886b;this[_0x382711(0x470)](_0x496cd5,_0x4c1f4c);})));}[_0x3e9f07(0x426)](_0x22a1de){var _0xfb88a8=_0x3e9f07;return this[_0xfb88a8(0x1dd)][_0xfb88a8(0x40c)](_0x22a1de),this;}[_0x3e9f07(0x3ff)](_0x37f90b){var _0xaeb034=_0x3e9f07;if(this[_0xaeb034(0x3ac)](_0x37f90b))return this['_clearScheduledTask'](),this[_0xaeb034(0x484)][_0xaeb034(0x396)](te,this['unitID'],this[_0xaeb034(0x3bb)],this['_awaitingChangeset'],this['_pendingMutations'],null,[_0x37f90b],this['_handler']);try{const _0x45124d=this[_0xaeb034(0x207)][_0xaeb034(0x44a)]([_0x37f90b],[this[_0xaeb034(0x29f)]],!0x1);if(_0x2a45c4(_0x45124d)){const {c1Prime:_0x25b749,c2Prime:_0x559697}=_0x45124d,_0x295222=this['_transformService'][_0xaeb034(0x2f0)](_0x25b749[0x0],this[_0xaeb034(0x1dd)]);if(_0x281f21(_0x295222)){const {c1Prime:_0x419e64,m2Prime:_0x5cc82a}=_0x295222;return this[_0xaeb034(0x3fc)](_0x419e64),_0x559697[0x0][_0xaeb034(0x25f)]=this['_getCurrentRevision'](),this['_clearScheduledTask'](),this[_0xaeb034(0x484)][_0xaeb034(0x396)](ae,this[_0xaeb034(0x28d)],this['type'],_0x559697[0x0],_0x5cc82a,this['_handler'],void 0x0);}throw _0x295222[_0xaeb034(0x3b6)];}throw _0x45124d[_0xaeb034(0x3b6)];}catch(_0x540d13){return this['_logService'][_0xaeb034(0x3b6)](_0x540d13),this['_onConflict'](!0x1);}}[_0x3e9f07(0x1f5)](_0x4375cc){var _0x185491=_0x3e9f07;if(this[_0x185491(0x359)](),this['_checkMissing'](_0x4375cc))return this[_0x185491(0x484)][_0x185491(0x396)](te,this[_0x185491(0x28d)],this[_0x185491(0x3bb)],null,this['_pendingMutations'],this[_0x185491(0x29f)],[],this[_0x185491(0x21f)]);this[_0x185491(0x3ef)]();const _0x599348=this['_injector'][_0x185491(0x396)](oe,this['unitID'],this[_0x185491(0x3bb)],this[_0x185491(0x1dd)],this['_handler']);return _0x599348[_0x185491(0x368)](),_0x599348['_updateLocalCache'](),_0x599348;}[_0x3e9f07(0x387)](_0x2d1396){var _0x532aa2=_0x3e9f07;return this[_0x532aa2(0x46e)](!!(_0x2d1396!=null&&_0x2d1396[_0x532aa2(0x3c2)]));}[_0x3e9f07(0x2f4)](_0x18870c){var _0x21fd2a=_0x3e9f07;return this[_0x21fd2a(0x438)]>Ni?this[_0x21fd2a(0x2cc)]():(this['_resendTimer']=Oi(this[_0x21fd2a(0x438)],{'timeout':this[_0x21fd2a(0x438)],'reqId':_0x18870c[_0x21fd2a(0x446)]}),this[_0x21fd2a(0x459)]=this[_0x21fd2a(0x494)][_0x21fd2a(0x2e5)](({reqId:_0x50e121,timeout:_0x2775ee})=>{var _0x31d85f=_0x21fd2a;this[_0x31d85f(0x470)](_0x50e121,_0x2775ee);}),this);}[_0x3e9f07(0x2cc)](){var _0x360998=_0x3e9f07;return this[_0x360998(0x359)](),this['_injector'][_0x360998(0x396)](fe,this[_0x360998(0x28d)],this[_0x360998(0x3bb)],this[_0x360998(0x29f)],this[_0x360998(0x1dd)],this[_0x360998(0x21f)]);}[_0x3e9f07(0x1a2)](){return this;}[_0x3e9f07(0x327)](){var _0x515f1f=_0x3e9f07;this[_0x515f1f(0x21f)]['onSendChangeset'](this[_0x515f1f(0x29f)]);}[_0x3e9f07(0x46e)](_0x44b95c){var _0x38da50=_0x3e9f07;return this[_0x38da50(0x359)](),this[_0x38da50(0x484)]['createInstance'](de,this[_0x38da50(0x28d)],this[_0x38da50(0x3bb)],null,this['_pendingMutations'],this[_0x38da50(0x21f)],_0x44b95c);}[_0x3e9f07(0x470)](_0x1c06fe,_0x32e0fa){var _0x51e0a1=_0x3e9f07,_0x369f1c;_0x1c06fe===((_0x369f1c=this['_awaitingChangeset'])==null?void 0x0:_0x369f1c['reqId'])&&(this['resend'](),this[_0x51e0a1(0x438)]=_0x32e0fa===0x0?0x3e8:_0x32e0fa*0x2);}[_0x3e9f07(0x359)](){var _0x2eb3cc=_0x3e9f07,_0xa052ab;(_0xa052ab=this[_0x2eb3cc(0x459)])==null||_0xa052ab['unsubscribe'](),this['_resendTimeout']=0x0;}};ae=be([A(0x6,_0x1e11c8(_0x202b1e)),A(0x7,_0x1e11c8(_0x33e8a8)),A(0x8,_0x5f1d0c),A(0x9,_0x290771),A(0xa,_0x48d905),A(0xb,_0x34ff18),A(0xc,_0x5a8d4f(X))],ae);let de=class extends Re{constructor(_0x4594a7,_0x48e8b9,_0x23e8a1,_0x58c913,_0x2bc031,_0x14757e=!0x1,_0x574e91,_0x2f04b8,_0x5911f5,_0x414b88,_0x4ceb6c,_0x8db417,_0x4e375f){var _0x1760d5=_0x3e9f07;super(_0x4594a7,_0x48e8b9,_0x23e8a1,_0x58c913,_0x2bc031,_0x2f04b8,_0x5911f5,_0x414b88,_0x4e375f),N(this,_0x1760d5(0x1c5),_0x1760d5(0x266)),(this[_0x1760d5(0x3b1)]=_0x14757e,this[_0x1760d5(0x48b)]=_0x574e91,this[_0x1760d5(0x350)]=_0x4ceb6c,this[_0x1760d5(0x303)]=_0x8db417,this[_0x1760d5(0x212)]=_0x4e375f,this['_showConflictNotification'](),this[_0x1760d5(0x357)](),this[_0x1760d5(0x3f2)]());}[_0x3e9f07(0x426)](){return this;}[_0x3e9f07(0x3ff)](){return this;}['onRemoteAck'](){return this;}[_0x3e9f07(0x387)](){return this;}[_0x3e9f07(0x2f4)](){return this;}['toggleOffline'](){return this;}['toggleOnline'](){return this;}[_0x3e9f07(0x327)](){throw new Error('[ConflictState]:\x20invalid\x20calling\x20to\x20`resend`.');}[_0x3e9f07(0x357)](){var _0x5ea1a1=_0x3e9f07,_0x123bcc;(_0x123bcc=this[_0x5ea1a1(0x2a4)])==null||_0x123bcc[_0x5ea1a1(0x222)](this[_0x5ea1a1(0x28d)],this['type'],null,[]);}[_0x3e9f07(0x421)](){var _0x329316=_0x3e9f07;this[_0x329316(0x3b1)]?this[_0x329316(0x303)][_0x329316(0x29e)]({'id':re['PERMISSION_DENIED']}):this[_0x329316(0x303)]['emitEvent']({'id':re[_0x329316(0x2cd)]});}[_0x3e9f07(0x3f2)](){var _0x185d1a=_0x3e9f07;this['_permissionService'][_0x185d1a(0x405)](new _0x50259a(this[_0x185d1a(0x28d)])['id'],!0x1);}};de=be([A(0x6,_0x1e11c8(_0x11d5fc)),A(0x7,_0x5f1d0c),A(0x8,_0x34ff18),A(0x9,_0x1e11c8(_0x33e8a8)),A(0xa,_0x1e11c8(_0xeb3187)),A(0xb,_0x1e11c8(pe)),A(0xc,_0x5a8d4f(X))],de);let fe=class extends Re{constructor(_0x14af28,_0x548bbd,_0x1f64a0,_0x51ad4a,_0x184a7f,_0xd88745,_0x10c452,_0x56903c,_0x2605a4,_0x557f13){var _0x5ce11c=_0x3e9f07;super(_0x14af28,_0x548bbd,_0x1f64a0,_0x51ad4a,_0x184a7f,_0x56903c,_0x2605a4,_0x10c452,_0x557f13),N(this,_0x5ce11c(0x1c5),_0x5ce11c(0x1db)),this[_0x5ce11c(0x484)]=_0xd88745;}[_0x3e9f07(0x426)](_0x340287){var _0x10caa4=_0x3e9f07;return this[_0x10caa4(0x1dd)][_0x10caa4(0x40c)](_0x340287),this['_updateLocalCache'](),this;}[_0x3e9f07(0x3ff)](_0x143518){var _0x11ccf2=_0x3e9f07;throw new Error(_0x11ccf2(0x262));}[_0x3e9f07(0x1f5)](){var _0x42fbf3=_0x3e9f07;throw new Error(_0x42fbf3(0x363));}[_0x3e9f07(0x387)](){throw new Error('[OfflineState]:\x20received\x20rejection.');}[_0x3e9f07(0x2f4)](){return this;}[_0x3e9f07(0x2cc)](){return this;}['toggleOnline'](){var _0x4ee18b=_0x3e9f07;const {_injector:_0x2f07d0,_pendingMutations:_0x2520ca,_awaitingChangeset:_0xf0971d,unitID:_0xbefad8,_handler:_0x57e8e1,type:_0x3dcca7}=this,_0x5e6f4a=Di(_0x2f07d0,_0xbefad8,_0x3dcca7,_0xf0971d,_0x2520ca,_0x57e8e1);return _0x5e6f4a instanceof oe?_0x5e6f4a[_0x4ee18b(0x368)]():(_0x5e6f4a instanceof ae||_0x5e6f4a instanceof ue)&&_0x5e6f4a[_0x4ee18b(0x327)](),_0x5e6f4a;}[_0x3e9f07(0x327)](){var _0x3ae7e5=_0x3e9f07;throw new Error(_0x3ae7e5(0x1e6));}};fe=be([A(0x5,_0x1e11c8(_0x202b1e)),A(0x6,_0x1e11c8(_0x33e8a8)),A(0x7,_0x5f1d0c),A(0x8,_0x34ff18),A(0x9,_0x5a8d4f(X))],fe);let te=class extends Re{constructor(_0x334ac2,_0x58a25f,_0x5c6119,_0x5b2830,_0x5ba19f,_0x58e292,_0x2c3f2a,_0x1e8a2f,_0x2f6f98,_0x4394c2,_0xe8fc02,_0x192606,_0xdb0f6,_0x4cc789){var _0x3a5c1a=_0x3e9f07;super(_0x334ac2,_0x58a25f,_0x5c6119,_0x5b2830,_0x2c3f2a,_0xe8fc02,_0x192606,_0x2f6f98,_0x4cc789),N(this,_0x3a5c1a(0x1c5),_0x3a5c1a(0x3e4)),(this['_acknowledgedAwaitingChangeset']=_0x5ba19f,this['_queuedRemoteChangesets']=_0x58e292,this[_0x3a5c1a(0x484)]=_0x1e8a2f,this[_0x3a5c1a(0x28c)]=_0x4394c2,this['_transformService']=_0xdb0f6,this['localCacheService']=_0x4cc789);}['onMissedChangesetFetched'](_0x4441fc){var _0x991d80=_0x3e9f07;try{const _0x1d3259=[..._0x4441fc,...this['_queuedRemoteChangesets']],_0x173484=[this[_0x991d80(0x29f)]||this[_0x991d80(0x388)]][_0x991d80(0x3bc)](_0x2eec25=>!!_0x2eec25);let _0x5cec55,_0x54366b;if(_0x173484['length']){const _0x3a3a24=this[_0x991d80(0x207)][_0x991d80(0x44a)](_0x1d3259,_0x173484,!0x1);if(!_0x2a45c4(_0x3a3a24))throw _0x3a3a24[_0x991d80(0x3b6)];_0x5cec55=_0x3a3a24[_0x991d80(0x3ab)],_0x54366b=_0x3a3a24[_0x991d80(0x21a)];}else _0x5cec55=_0x1d3259,_0x54366b=[];let _0x3d3c8a=this['_pendingMutations'];_0x5cec55[_0x991d80(0x338)](_0x271a72=>{var _0x2018bc=_0x991d80;let _0x128467;if(_0x3d3c8a['length']){const _0x487660=this[_0x2018bc(0x207)][_0x2018bc(0x2f0)](_0x271a72,_0x3d3c8a);if(!_0x281f21(_0x487660))throw _0x487660[_0x2018bc(0x3b6)];_0x128467=_0x487660['c1Prime'],_0x3d3c8a=_0x487660['m2Prime'];}else _0x128467=_0x271a72;this[_0x2018bc(0x3fc)](_0x128467);}),this[_0x991d80(0x388)]&&this['_incrementRevisionNumber'](),this[_0x991d80(0x29f)]&&_0x54366b[_0x991d80(0x46c)]&&(_0x54366b[0x0][_0x991d80(0x25f)]=this[_0x991d80(0x318)]());let _0x184e60;if(this[_0x991d80(0x29f)]&&_0x3d3c8a['length']!==0x0)_0x184e60=this['_injector'][_0x991d80(0x396)](ae,this[_0x991d80(0x28d)],this[_0x991d80(0x3bb)],_0x54366b[0x0],_0x3d3c8a,this[_0x991d80(0x21f)],void 0x0);else{if(this[_0x991d80(0x29f)]&&_0x3d3c8a[_0x991d80(0x46c)]===0x0)_0x54366b[0x0][_0x991d80(0x25f)]=this['_getCurrentRevision'](),_0x184e60=this['_injector'][_0x991d80(0x396)](ue,this[_0x991d80(0x28d)],this['type'],_0x54366b[0x0],this[_0x991d80(0x21f)]);else{if(_0x3d3c8a[_0x991d80(0x46c)]!==0x0){const _0x1d6d42=this[_0x991d80(0x484)][_0x991d80(0x396)](oe,this[_0x991d80(0x28d)],this['type'],_0x3d3c8a,this[_0x991d80(0x21f)]);_0x1d6d42[_0x991d80(0x368)](),_0x184e60=_0x1d6d42;}else _0x184e60=this[_0x991d80(0x484)]['createInstance'](Ne,this[_0x991d80(0x28d)],this[_0x991d80(0x3bb)],this['_handler']);}}return _0x184e60[_0x991d80(0x234)](),_0x184e60;}catch(_0xbd0b1c){return this['_logService'][_0x991d80(0x3b6)](_0x991d80(0x428),_0x991d80(0x22b),_0xbd0b1c),this['_injector']['createInstance'](de,this[_0x991d80(0x28d)],this['type'],this[_0x991d80(0x29f)],this[_0x991d80(0x1dd)],this[_0x991d80(0x21f)],!0x1);}}[_0x3e9f07(0x327)](){var _0x212f82=_0x3e9f07;throw new Error(_0x212f82(0x2df));}['appendMutation'](_0x293bda){var _0x2f5010=_0x3e9f07;return this[_0x2f5010(0x1dd)][_0x2f5010(0x40c)](_0x293bda),this;}['onRemoteChangeset'](_0xe4428d){var _0x260d1d=_0x3e9f07;return this['_queuedRemoteChangesets'][_0x260d1d(0x40c)](_0xe4428d),this;}[_0x3e9f07(0x1f5)](_0x1ae133){var _0x57741b=_0x3e9f07;if(this[_0x57741b(0x29f)])return this[_0x57741b(0x388)]=this[_0x57741b(0x29f)],this[_0x57741b(0x29f)]=null,this;throw new Error(_0x57741b(0x35f));}['onRemoteRej'](_0x1752c5){var _0x4c57fc=_0x3e9f07;return this['_onConflict'](!!(_0x1752c5!=null&&_0x1752c5[_0x4c57fc(0x3c2)]));}[_0x3e9f07(0x2f4)](){return this;}['toggleOffline'](){var _0x751e3a=_0x3e9f07;return this[_0x751e3a(0x484)][_0x751e3a(0x396)](fe,this[_0x751e3a(0x28d)],this['type'],this[_0x751e3a(0x29f)],this[_0x751e3a(0x1dd)],this['_handler']);}[_0x3e9f07(0x1a2)](){return this;}[_0x3e9f07(0x46e)](_0x1e0a01){var _0x254526=_0x3e9f07;return this[_0x254526(0x484)][_0x254526(0x396)](de,this[_0x254526(0x28d)],this[_0x254526(0x3bb)],this[_0x254526(0x29f)],this['_pendingMutations'],this[_0x254526(0x21f)],_0x1e0a01);}};te=be([A(0x7,_0x1e11c8(_0x202b1e)),A(0x8,_0x1e11c8(_0x33e8a8)),A(0x9,_0x290771),A(0xa,_0x5f1d0c),A(0xb,_0x34ff18),A(0xc,_0x48d905),A(0xd,_0x5a8d4f(X))],te);function Di(_0x3bf7ca,_0x5b5457,_0x58b05e,_0x5989ef,_0x1daa8e,_0x5dee15){var _0x433085=_0x3e9f07;return _0x5989ef&&_0x1daa8e[_0x433085(0x46c)]?_0x3bf7ca[_0x433085(0x396)](ae,_0x5b5457,_0x58b05e,_0x5989ef,_0x1daa8e,_0x5dee15,void 0x0):_0x5989ef?_0x3bf7ca[_0x433085(0x396)](ue,_0x5b5457,_0x58b05e,_0x5989ef,_0x5dee15):_0x1daa8e[_0x433085(0x46c)]?_0x3bf7ca['createInstance'](oe,_0x5b5457,_0x58b05e,_0x1daa8e,_0x5dee15):_0x3bf7ca[_0x433085(0x396)](Ne,_0x5b5457,_0x58b05e,_0x5dee15);}var bs=Object[_0x3e9f07(0x386)],Rs=Object[_0x3e9f07(0x34f)],Mt=(_0x504cee,_0xaa5ac3,_0x296c7e,_0x4b8bc5)=>{var _0x107c9a=_0x3e9f07;for(var _0x42a3a6=_0x4b8bc5>0x1?void 0x0:_0x4b8bc5?Rs(_0xaa5ac3,_0x296c7e):_0xaa5ac3,_0x1fb026=_0x504cee[_0x107c9a(0x46c)]-0x1,_0x368473;_0x1fb026>=0x0;_0x1fb026--)(_0x368473=_0x504cee[_0x1fb026])&&(_0x42a3a6=(_0x4b8bc5?_0x368473(_0xaa5ac3,_0x296c7e,_0x42a3a6):_0x368473(_0x42a3a6))||_0x42a3a6);return _0x4b8bc5&&_0x42a3a6&&bs(_0xaa5ac3,_0x296c7e,_0x42a3a6),_0x42a3a6;},k=(_0x5b35cb,_0xa487a8)=>(_0x282141,_0x57a149)=>_0xa487a8(_0x282141,_0x57a149,_0x5b35cb);let st=class extends _0x37e680{constructor(_0x101068,_0x50f992,_0x29db8c,_0x353430,_0x3f8171,_0x3f8c7f,_0x24493d,_0x34ddbb,_0x5e37ef,_0x249b86,_0x20cab4,_0x2cb330,_0x319cdb){var _0x303f30=_0x3e9f07;super(),N(this,_0x303f30(0x40f),new _0x251b5f(null)),N(this,_0x303f30(0x34c),this[_0x303f30(0x40f)]['asObservable']()),N(this,_0x303f30(0x328)),N(this,'_collaborationPaused',!0x1),N(this,'_changesetSessionId',''),N(this,_0x303f30(0x1da),0x0),N(this,_0x303f30(0x2fa),this[_0x303f30(0x34c)][_0x303f30(0x3c9)](_0x4ca8a8(_0x8a96a3=>_0x8a96a3?_0x8a96a3['status']:Pi[_0x303f30(0x297)]),_0x17a180(0x1))),N(this,_0x303f30(0x1ac),!0x1),N(this,_0x303f30(0x356),[]),(this[_0x303f30(0x28d)]=_0x101068,this['session']=_0x50f992,this[_0x303f30(0x2a7)]=_0x29db8c,this[_0x303f30(0x484)]=_0x353430,this[_0x303f30(0x1b4)]=_0x3f8171,this[_0x303f30(0x350)]=_0x3f8c7f,this[_0x303f30(0x1ca)]=_0x24493d,this[_0x303f30(0x447)]=_0x34ddbb,this[_0x303f30(0x28c)]=_0x5e37ef,this[_0x303f30(0x233)]=_0x249b86,this[_0x303f30(0x48b)]=_0x20cab4,this[_0x303f30(0x1ab)]=_0x2cb330,this[_0x303f30(0x2a4)]=_0x319cdb);}get[_0x3e9f07(0x48f)](){return this['_state'];}async[_0x3e9f07(0x3ad)](){var _0x2723b2=_0x3e9f07;if(this[_0x2723b2(0x48f)])throw new Error(_0x2723b2(0x3a1));await this['_init']();}[_0x3e9f07(0x49b)](){var _0x1876aa=_0x3e9f07;return this[_0x1876aa(0x256)]=!0x0,_0x30d46b(()=>{var _0x115dd1=_0x1876aa;this[_0x115dd1(0x256)]=!0x1,this[_0x115dd1(0x1f0)]();});}[_0x3e9f07(0x29b)](_0x4a3bad){var _0x4a97e3=_0x3e9f07;this[_0x4a97e3(0x46f)](_0x4a3bad);}[_0x3e9f07(0x33b)](_0x4c9931){var _0x986591=_0x3e9f07;this[_0x986591(0x328)]=_0x4c9931,this[_0x986591(0x40f)][_0x986591(0x384)](_0x4c9931);}async['_init'](){var _0x69e777=_0x3e9f07,_0x503721;this[_0x69e777(0x33b)](await this['_createInitialState']()),this[_0x69e777(0x1ab)]&&((_0x503721=this[_0x69e777(0x1ab)])==null||_0x503721[_0x69e777(0x48c)](this[_0x69e777(0x28d)]),this[_0x69e777(0x1be)](this['_singleActiveUnitService'][_0x69e777(0x1f9)](this[_0x69e777(0x28d)])[_0x69e777(0x2e5)](_0x25e1b3=>{var _0x5cb9f2=_0x69e777;this['_logService'][_0x5cb9f2(0x3cf)](_0x5cb9f2(0x1b3),_0x5cb9f2(0x390),_0x25e1b3),_0x25e1b3===yi[_0x5cb9f2(0x2ad)]?(this[_0x5cb9f2(0x447)][_0x5cb9f2(0x29e)]({'id':re['OTHER_CLIENT_EDITING']}),this['_permissionService'][_0x5cb9f2(0x405)](new _0x50259a(this['unitID'])['id'],!0x1),this[_0x5cb9f2(0x48b)]['setShowComponents'](!0x1)):(this['_permissionService'][_0x5cb9f2(0x405)](new _0x50259a(this['unitID'])['id'],!0x0),this[_0x5cb9f2(0x48b)][_0x5cb9f2(0x301)](!0x0));})));let _0x456b60=!0x1;return this[_0x69e777(0x1be)](this['session'][_0x69e777(0x46a)]['subscribe'](_0x310d58=>{var _0x533ccd=_0x69e777;_0x310d58===Te[_0x533ccd(0x1c9)]?this['_toggleOnline'](_0x456b60):_0x310d58===Te['OFFLINE']&&(_0x456b60=!0x0,this[_0x533ccd(0x1af)]());})),this['disposeWithMe'](this['session'][_0x69e777(0x240)][_0x69e777(0x2e5)](_0x57c65f=>{var _0x228c8d=_0x69e777;try{switch(_0x57c65f[_0x228c8d(0x35c)]){case _0x2f82c9[_0x228c8d(0x3fd)]:{this[_0x228c8d(0x3dd)](_0x5c92cc(_0x57c65f[_0x228c8d(0x221)]));break;}case _0x2f82c9['CHANGESET_ACK']:{this[_0x228c8d(0x1e4)](_0x57c65f[_0x228c8d(0x221)]);break;}case _0x2f82c9[_0x228c8d(0x30d)]:{this[_0x228c8d(0x44f)]();break;}case _0x2f82c9[_0x228c8d(0x1cf)]:{this['_onRemoteRetry'](_0x57c65f[_0x228c8d(0x221)]);break;}case _0x2f82c9[_0x228c8d(0x1a3)]:{this[_0x228c8d(0x46d)](_0x57c65f[_0x228c8d(0x221)][_0x228c8d(0x204)][_0x228c8d(0x1c8)](_0x39240a=>_0x5c92cc(_0x39240a)));break;}case _0x2f82c9[_0x228c8d(0x3b9)]:{this['_onRemoteRejected']({'isPermissionRej':!0x0});break;}case _0x2f82c9[_0x228c8d(0x444)]:break;}}catch(_0x26f8cf){throw console['error'](_0x228c8d(0x224),_0x26f8cf),_0x26f8cf;}})),this['_state'];}[_0x3e9f07(0x2ee)](){var _0x3fda35=_0x3e9f07;this[_0x3fda35(0x1ac)]=!0x1;}[_0x3e9f07(0x33f)](){var _0x3898b4=_0x3e9f07;if(this['_transitionLocked'])throw new Error(_0x3898b4(0x1fb));this[_0x3898b4(0x1ac)]=!0x0;}[_0x3e9f07(0x46f)](_0x41d75c){var _0x4febbb=_0x3e9f07;this[_0x4febbb(0x33f)](),this[_0x4febbb(0x33b)](this[_0x4febbb(0x328)][_0x4febbb(0x426)](_0x41d75c)),this['_unlockTransition']();}[_0x3e9f07(0x3dd)](_0x3826c1){var _0x5c4850=_0x3e9f07;if(!(_0x3826c1[_0x5c4850(0x493)]<=this[_0x5c4850(0x1ca)][_0x5c4850(0x2f5)](this[_0x5c4850(0x28d)]))){if(this['_collaborationPaused']){this[_0x5c4850(0x356)]['push'](_0x3826c1);return;}this[_0x5c4850(0x354)](_0x3826c1);}}[_0x3e9f07(0x1f0)](){var _0x4e3243=_0x3e9f07;this[_0x4e3243(0x356)]['forEach'](_0x52bf5e=>this['_applyRemoteChangeset'](_0x52bf5e)),this[_0x4e3243(0x356)]=[];}[_0x3e9f07(0x354)](_0x86f791){var _0xb431a9=_0x3e9f07;const _0x2c31dd=this[_0xb431a9(0x1b4)][_0xb431a9(0x41e)][_0xb431a9(0x284)](this[_0xb431a9(0x1b4)][_0xb431a9(0x41e)][_0xb431a9(0x24e)]()[_0xb431a9(0x3b4)])(_0x86f791[_0xb431a9(0x42e)],null)||_0x86f791[_0xb431a9(0x42e)],_0x49a9b7={..._0x86f791,'mutations':_0x2c31dd};this[_0xb431a9(0x33f)](),this[_0xb431a9(0x33b)](this['_state']['onRemoteChangeset'](_0x49a9b7)),this[_0xb431a9(0x2ee)]();}['_onRemoteACK'](_0x2df5ee){var _0x3e967e=_0x3e9f07;this[_0x3e967e(0x33f)](),this[_0x3e967e(0x33b)](this[_0x3e967e(0x328)][_0x3e967e(0x1f5)](_0x2df5ee)),this[_0x3e967e(0x2ee)]();}[_0x3e9f07(0x44f)](_0x65eb0d){var _0x56ee2f=_0x3e9f07;this[_0x56ee2f(0x33f)](),this['_updateState'](this[_0x56ee2f(0x328)][_0x56ee2f(0x387)](_0x65eb0d)),this[_0x56ee2f(0x2ee)]();}[_0x3e9f07(0x3a0)](_0x551a69){var _0x25a445=_0x3e9f07;this['_lockTransition'](),this['_updateState'](this['_state'][_0x25a445(0x2f4)](_0x551a69)),this[_0x25a445(0x2ee)]();}['_onFetchMissResult'](_0x203269){var _0x13f88d=_0x3e9f07;if(!(this[_0x13f88d(0x328)]instanceof te))throw new TypeError(_0x13f88d(0x443));const _0x12b7c1=_0x203269[_0x13f88d(0x1c8)](_0x54f893=>{var _0x30e326=_0x13f88d;const _0x24bc74=this[_0x30e326(0x1b4)][_0x30e326(0x41e)][_0x30e326(0x284)](this[_0x30e326(0x1b4)][_0x30e326(0x41e)][_0x30e326(0x24e)]()[_0x30e326(0x3b4)])(_0x54f893['mutations'],null)||_0x54f893[_0x30e326(0x42e)];return{..._0x54f893,'mutations':_0x24bc74};});this[_0x13f88d(0x33f)](),this[_0x13f88d(0x33b)](this[_0x13f88d(0x328)][_0x13f88d(0x4a6)](_0x12b7c1)),this[_0x13f88d(0x2ee)]();}[_0x3e9f07(0x1af)](){var _0x5491c1=_0x3e9f07;this[_0x5491c1(0x33f)](),this[_0x5491c1(0x33b)](this[_0x5491c1(0x328)][_0x5491c1(0x2cc)]()),this[_0x5491c1(0x2ee)]();}['_toggleOnline'](_0x4e05eb=!0x1){var _0x3a0613=_0x3e9f07;this['_lockTransition'](),this[_0x3a0613(0x33b)](this[_0x3a0613(0x328)][_0x3a0613(0x1a2)]()),this[_0x3a0613(0x2ee)]();const _0x2d0572=this[_0x3a0613(0x328)];_0x4e05eb&&_0x2d0572 instanceof Ne&&(this[_0x3a0613(0x33f)](),this[_0x3a0613(0x33b)](_0x2d0572[_0x3a0613(0x2e9)]()),this[_0x3a0613(0x2ee)]());}async[_0x3e9f07(0x427)](){return new Promise(_0x2df2f0=>{var _0x150a88=_0x4dcf;this['session'][_0x150a88(0x46a)][_0x150a88(0x3c9)](_0x49f8ab(0x1))[_0x150a88(0x2e5)](async _0x2f0659=>{var _0x1b4d0f=_0x150a88;_0x2df2f0(await this[_0x1b4d0f(0x1bb)](_0x2f0659===Te['ONLINE']));});});}[_0x3e9f07(0x45f)](){var _0x158771=_0x3e9f07;const _0x405e7e=this[_0x158771(0x28d)];return{'onStateChange':(_0x975857,_0x498174)=>{var _0x597b6b=_0x158771;if(_0x975857!==this[_0x597b6b(0x328)])throw new Error('[CollaborationEntity]:\x20invalid\x20state\x20transition!\x20State\x20transferred\x20from\x20is\x20not\x20the\x20current\x20state.\x0aBefore:\x20'+_0x975857['status']+_0x597b6b(0x331)+_0x498174['status']+_0x597b6b(0x3c7)+this[_0x597b6b(0x328)][_0x597b6b(0x1c5)]);this['_updateState'](_0x498174);},'onSendChangeset':_0x3b0658=>{var _0x4a7cc1=_0x158771;_0x3b0658['sid']||(_0x3b0658[_0x4a7cc1(0x322)]=this['_changesetSessionId'],_0x3b0658[_0x4a7cc1(0x446)]=++this[_0x4a7cc1(0x1da)]);const _0x1b9a45={'eventID':_0x2f82c9[_0x4a7cc1(0x44b)],'data':{'unitID':_0x3b0658['unitID'],'unitType':this[_0x4a7cc1(0x2a7)],'changeset':_0x3b0658,'memberID':this[_0x4a7cc1(0x1ed)]['getMemberID']()}};this[_0x4a7cc1(0x1ed)][_0x4a7cc1(0x485)](_0x1b9a45,this['unitID']);},'onMissingChangesets':({from:_0x42a842,to:_0x15abd6})=>{var _0x4251c3=_0x158771;this[_0x4251c3(0x28c)][_0x4251c3(0x3cf)](_0x4251c3(0x1b3),_0x4251c3(0x452)+_0x42a842+_0x4251c3(0x394)+_0x15abd6);const _0x11338c={'eventID':_0x2f82c9[_0x4251c3(0x1cc)],'data':{'unitID':_0x405e7e,'unitType':this[_0x4251c3(0x2a7)],'from':_0x42a842,'to':_0x15abd6}};this[_0x4251c3(0x1ed)][_0x4251c3(0x485)](_0x11338c,this[_0x4251c3(0x28d)]);}};}async[_0x3e9f07(0x1bb)](_0x73b2e6){var _0x435bd5=_0x3e9f07,_0x2c1476,_0x59d63a,_0x3b0593;const _0x10a2c5=await((_0x2c1476=this[_0x435bd5(0x2a4)])==null?void 0x0:_0x2c1476[_0x435bd5(0x218)](this['unitID'])),_0x254bc2=(_0x59d63a=_0x10a2c5==null?void 0x0:_0x10a2c5[_0x435bd5(0x42e)])!=null?_0x59d63a:[],_0x4d8342=(_0x3b0593=_0x10a2c5==null?void 0x0:_0x10a2c5['awaitingChangeset'])!=null?_0x3b0593:null,_0x2d5e24=!!(_0x4d8342!=null&&_0x4d8342[_0x435bd5(0x322)])&&!!(_0x4d8342!=null&&_0x4d8342[_0x435bd5(0x446)]);this['_changesetSessionId']=_0x2d5e24?_0x4d8342[_0x435bd5(0x322)]:fs(),this[_0x435bd5(0x1da)]=_0x2d5e24?_0x4d8342['reqId']:0x0;const _0x5ae1bc=this[_0x435bd5(0x28d)];try{this['_replayCachedMutations'](_0x4d8342,_0x254bc2);}catch(_0x2ec3c9){this[_0x435bd5(0x28c)][_0x435bd5(0x3b6)](_0x2ec3c9);}const _0x2ffe3b=this[_0x435bd5(0x45f)]();if(_0x73b2e6){const _0x38d5a2=Di(this[_0x435bd5(0x484)],_0x5ae1bc,this[_0x435bd5(0x2a7)],_0x4d8342,_0x254bc2,_0x2ffe3b);return _0x38d5a2 instanceof oe?_0x38d5a2[_0x435bd5(0x368)]():(_0x38d5a2 instanceof ae||_0x38d5a2 instanceof ue)&&_0x38d5a2['resend'](),_0x38d5a2;}return this['_injector'][_0x435bd5(0x396)](fe,_0x5ae1bc,this[_0x435bd5(0x2a7)],_0x4d8342,_0x254bc2,_0x2ffe3b);}[_0x3e9f07(0x1a6)](_0xeb6b0a,_0x341146){var _0x4c4dd7=_0x3e9f07,_0x21b4a6,_0x10e4fc;const _0x3213f1=this[_0x4c4dd7(0x1b4)]['interceptor']['fetchThroughInterceptors'](this['_compressMutationService'][_0x4c4dd7(0x41e)][_0x4c4dd7(0x24e)]()[_0x4c4dd7(0x3b4)]);(_0x21b4a6=_0x3213f1((_0xeb6b0a==null?void 0x0:_0xeb6b0a[_0x4c4dd7(0x42e)])||[],null))==null||_0x21b4a6['forEach'](_0x36c957=>this[_0x4c4dd7(0x233)][_0x4c4dd7(0x3e1)](_0x36c957['id'],_0x36c957[_0x4c4dd7(0x299)])),(_0x10e4fc=_0x3213f1(_0x341146||[],null))==null||_0x10e4fc[_0x4c4dd7(0x338)](_0x3196fe=>this['_commandService'][_0x4c4dd7(0x3e1)](_0x3196fe['id'],_0x3196fe[_0x4c4dd7(0x299)]));}};st=Mt([k(0x3,_0x1e11c8(_0x202b1e)),k(0x4,_0x1e11c8(_0x36de87)),k(0x5,_0x1e11c8(_0xeb3187)),k(0x6,_0x1e11c8(_0x33e8a8)),k(0x7,_0x1e11c8(pe)),k(0x8,_0x290771),k(0x9,_0x5f1d0c),k(0xa,_0x11d5fc),k(0xb,_0x5a8d4f(_t)),k(0xc,_0x5a8d4f(X))],st);let Ct=class extends st{constructor(_0x2161c1,_0x33714d,_0x33e0d2,_0x28ae63,_0x2683c1,_0x2d6bfd,_0x4b4462,_0x2d8ac9,_0x307afe,_0x2b5265,_0x35df5b,_0x13cbf4,_0x4a7d5f){var _0x5a2e65=_0x3e9f07;super(_0x2161c1,_0x33e0d2,_0x33714d,_0x28ae63,_0x2683c1,_0x2d6bfd,_0x4b4462,_0x2d8ac9,_0x307afe,_0x2b5265,_0x35df5b,_0x13cbf4,_0x4a7d5f),N(this,'_handlerCallback',null),(this[_0x5a2e65(0x28d)]=_0x2161c1,this[_0x5a2e65(0x3bb)]=_0x33714d);}[_0x3e9f07(0x1fd)](_0xcfa5a2){var _0x3f3ce9=_0x3e9f07;this[_0x3f3ce9(0x3ce)]=_0xcfa5a2;}[_0x3e9f07(0x24d)](){var _0x3a9eb6=_0x3e9f07;this[_0x3a9eb6(0x3ce)]=null,super[_0x3a9eb6(0x24d)]();}[_0x3e9f07(0x45f)](){var _0x259150=_0x3e9f07;const _0x255f71=super[_0x259150(0x45f)]();return _0x255f71['onTransformIME']=_0x59cc1d=>{var _0x3eb45a=_0x259150,_0x48f1bb,_0x52b3d5;return(_0x52b3d5=(_0x48f1bb=this[_0x3eb45a(0x3ce)])==null?void 0x0:_0x48f1bb['onTransformIME'])==null?void 0x0:_0x52b3d5[_0x3eb45a(0x26b)](_0x48f1bb,_0x59cc1d);},_0x255f71[_0x259150(0x2f8)]=_0x82341=>{var _0x22640a=_0x259150,_0xa37860,_0x2b88b5;return(_0x2b88b5=(_0xa37860=this['_handlerCallback'])==null?void 0x0:_0xa37860[_0x22640a(0x2f8)])==null?void 0x0:_0x2b88b5[_0x22640a(0x26b)](_0xa37860,_0x82341);},_0x255f71[_0x259150(0x3f4)]=_0x1f8d7d=>{var _0x50bc7d=_0x259150,_0x1f92fd,_0x1135be;return(_0x1135be=(_0x1f92fd=this['_handlerCallback'])==null?void 0x0:_0x1f92fd[_0x50bc7d(0x3f4)])==null?void 0x0:_0x1135be['call'](_0x1f92fd,_0x1f8d7d);},_0x255f71[_0x259150(0x3c8)]=_0xb4cef7=>{var _0x49808f=_0x259150,_0x2464ea,_0x27e314;return(_0x27e314=(_0x2464ea=this[_0x49808f(0x3ce)])==null?void 0x0:_0x2464ea[_0x49808f(0x3c8)])==null?void 0x0:_0x27e314[_0x49808f(0x26b)](_0x2464ea,_0xb4cef7);},_0x255f71[_0x259150(0x379)]=_0x19eb97=>{var _0x310054=_0x259150,_0x470c76,_0xbebefa,_0x60d8e;if(!((_0x470c76=this[_0x310054(0x3ce)])!=null&&_0x470c76[_0x310054(0x379)]))throw new Error(_0x310054(0x255));return(_0x60d8e=(_0xbebefa=this[_0x310054(0x3ce)])==null?void 0x0:_0xbebefa[_0x310054(0x379)])==null?void 0x0:_0x60d8e[_0x310054(0x26b)](_0xbebefa,_0x19eb97);},_0x255f71[_0x259150(0x26d)]=_0x43b870=>{var _0x5885a3=_0x259150,_0x53fb7f,_0x19d42b,_0x192d62;if(!((_0x53fb7f=this[_0x5885a3(0x3ce)])!=null&&_0x53fb7f['onTransformRemoteChangesetByStateCache']))throw new Error(_0x5885a3(0x43f));return(_0x192d62=(_0x19d42b=this[_0x5885a3(0x3ce)])==null?void 0x0:_0x19d42b[_0x5885a3(0x26d)])==null?void 0x0:_0x192d62[_0x5885a3(0x26b)](_0x19d42b,_0x43b870);},_0x255f71;}async['_init'](){var _0x47b257=_0x3e9f07;const _0x18b515=await super['_init']();return this['disposeWithMe'](this['_commandService'][_0x47b257(0x1d7)]((_0x1b47f6,_0x56eb91)=>{var _0x279b2d=_0x47b257;if(_0x1b47f6[_0x279b2d(0x3bb)]!==_0x245250['MUTATION']||_0x56eb91!=null&&_0x56eb91['fromCollab']||_0x56eb91!=null&&_0x56eb91[_0x279b2d(0x404)]||_0x1b47f6['id']===_0x514974['id'])return;const _0x4a3e14=_0x1b47f6[_0x279b2d(0x299)];if((_0x4a3e14==null?void 0x0:_0x4a3e14[_0x279b2d(0x246)])!==this[_0x279b2d(0x28d)])return;const _0x508089=_0x1b47f6,_0xd1a9dc=this[_0x279b2d(0x1b4)][_0x279b2d(0x41e)][_0x279b2d(0x284)](this[_0x279b2d(0x1b4)]['interceptor'][_0x279b2d(0x24e)]()[_0x279b2d(0x42c)])([_0x508089],null)||[_0x508089];this[_0x279b2d(0x46f)](_0xd1a9dc[0x0]);})),_0x18b515;}};Ct=Mt([k(0x3,_0x1e11c8(_0x202b1e)),k(0x4,_0x1e11c8(_0x36de87)),k(0x5,_0x1e11c8(_0xeb3187)),k(0x6,_0x1e11c8(_0x33e8a8)),k(0x7,_0x1e11c8(pe)),k(0x8,_0x290771),k(0x9,_0x5f1d0c),k(0xa,_0x11d5fc),k(0xb,_0x5a8d4f(_t)),k(0xc,_0x5a8d4f(X))],Ct);let bt=class extends st{constructor(_0x16c74c,_0x582734,_0x2f905d,_0x127464,_0x1bd93d,_0x5cce02,_0x5c3a45,_0x251057,_0x4ef83d,_0x12672e,_0x4d2c1a,_0x5444ef,_0x4fb616,_0x1243a9){var _0x3c3709=_0x3e9f07;super(_0x16c74c,_0x2f905d,_0x582734,_0x127464,_0x1bd93d,_0x5cce02,_0x5c3a45,_0x4ef83d,_0x12672e,_0x4d2c1a,_0x5444ef,_0x4fb616,_0x1243a9),this[_0x3c3709(0x28d)]=_0x16c74c,this['type']=_0x582734,this[_0x3c3709(0x286)]=_0x251057;}[_0x3e9f07(0x45f)](){var _0x4c1ca5=_0x3e9f07;const _0x5ba5e0=super[_0x4c1ca5(0x45f)]();return _0x5ba5e0['onTransformSelections']=_0x468938=>this[_0x4c1ca5(0x286)][_0x4c1ca5(0x304)](_0x468938),_0x5ba5e0;}async[_0x3e9f07(0x2e7)](){var _0x107393=_0x3e9f07;const _0x563c12=await super['_init']();return this['disposeWithMe'](this[_0x107393(0x233)][_0x107393(0x1d7)]((_0x281f2f,_0x2d5bbd)=>{var _0x499edb=_0x107393;if(_0x281f2f[_0x499edb(0x3bb)]!==_0x245250[_0x499edb(0x389)]||_0x2d5bbd!=null&&_0x2d5bbd['fromCollab']||_0x2d5bbd!=null&&_0x2d5bbd[_0x499edb(0x404)])return;const _0x41912a=_0x281f2f[_0x499edb(0x299)];if((_0x41912a==null?void 0x0:_0x41912a[_0x499edb(0x246)])!==this[_0x499edb(0x28d)])return;const _0x52d4dd=_0x281f2f,_0x59c48b=this[_0x499edb(0x1b4)][_0x499edb(0x41e)][_0x499edb(0x284)](this[_0x499edb(0x1b4)][_0x499edb(0x41e)]['getInterceptPoints']()[_0x499edb(0x42c)])([_0x52d4dd],null)||[_0x52d4dd];this[_0x499edb(0x46f)](_0x59c48b[0x0]);})),_0x563c12;}};bt=Mt([k(0x3,_0x1e11c8(_0x202b1e)),k(0x4,_0x1e11c8(_0x36de87)),k(0x5,_0x1e11c8(_0xeb3187)),k(0x6,_0x1e11c8(_0x33e8a8)),k(0x7,_0x1e11c8(nt)),k(0x8,_0x1e11c8(pe)),k(0x9,_0x290771),k(0xa,_0x5f1d0c),k(0xb,_0x11d5fc),k(0xc,_0x5a8d4f(_t)),k(0xd,_0x5a8d4f(X))],bt);var ys=Object[_0x3e9f07(0x386)],Os=Object[_0x3e9f07(0x34f)],Ps=(_0x18717f,_0x153084,_0x4ef7ac,_0x34220f)=>{for(var _0x4bd016=_0x34220f>0x1?void 0x0:_0x34220f?Os(_0x153084,_0x4ef7ac):_0x153084,_0x11d553=_0x18717f['length']-0x1,_0x4f1978;_0x11d553>=0x0;_0x11d553--)(_0x4f1978=_0x18717f[_0x11d553])&&(_0x4bd016=(_0x34220f?_0x4f1978(_0x153084,_0x4ef7ac,_0x4bd016):_0x4f1978(_0x4bd016))||_0x4bd016);return _0x34220f&&_0x4bd016&&ys(_0x153084,_0x4ef7ac,_0x4bd016),_0x4bd016;},vt=(_0x5683ae,_0x194b10)=>(_0x5a11e5,_0x25dc9e)=>_0x194b10(_0x5a11e5,_0x25dc9e,_0x5683ae);let rt=class extends _0x37e680{constructor(_0x467067,_0x2b0b73,_0x507087){var _0x211f87=_0x3e9f07;super(),N(this,_0x211f87(0x20e),new Map()),N(this,'_entityInit$',new _0x459b05()),N(this,_0x211f87(0x429),this[_0x211f87(0x1ad)][_0x211f87(0x3fa)]()),(this[_0x211f87(0x484)]=_0x467067,this['_collabSessionService']=_0x2b0b73,this['_univerInstanceService']=_0x507087,this[_0x211f87(0x2e7)]());}[_0x3e9f07(0x24d)](){var _0x271d8=_0x3e9f07;super[_0x271d8(0x24d)](),this['_entities'][_0x271d8(0x338)](_0x3fa31c=>_0x3fa31c[_0x271d8(0x24d)]()),this[_0x271d8(0x20e)]['clear']();}[_0x3e9f07(0x1e2)](_0xd0c307){var _0x33e0c3=_0x3e9f07,_0x5d4bed;return(_0x5d4bed=this[_0x33e0c3(0x20e)][_0x33e0c3(0x220)](_0xd0c307))!=null?_0x5d4bed:null;}[_0x3e9f07(0x37f)](_0x23260f){var _0x123861=_0x3e9f07;const _0x33b060=this[_0x123861(0x1e2)](_0x23260f);return _0x33b060?_0x1d4dee(_0x33b060):this['_entityInit$'][_0x123861(0x3c9)](_0x3bdd8d(_0x5c9b88=>_0x5c9b88[_0x123861(0x28d)]===_0x23260f));}[_0x3e9f07(0x44e)](_0x395215){var _0x2764bf=_0x3e9f07;return _0x284690(this[_0x2764bf(0x37f)](_0x395215)[_0x2764bf(0x3c9)](_0x5c84b6(()=>{})));}[_0x3e9f07(0x2e7)](){var _0x36e626=_0x3e9f07;this['_univerInstanceService']['getTypeOfUnitAdded$'](_0x2188e5[_0x36e626(0x2fe)])['pipe'](_0x103f03(this['dispose$']),_0xf38ea6(0x10))[_0x36e626(0x2e5)](async _0xfd8e2f=>{var _0x21cb0d=_0x36e626;const _0x1bcfd1=_0xfd8e2f[_0x21cb0d(0x351)](),_0x3a51d6=await this['_startCollaboration'](_0x1bcfd1,Q['UNIVER_SHEET']);this[_0x21cb0d(0x20e)]['set'](_0x1bcfd1,_0x3a51d6);}),this[_0x36e626(0x33c)][_0x36e626(0x3b2)](_0x2188e5[_0x36e626(0x36e)])[_0x36e626(0x3c9)](_0x103f03(this[_0x36e626(0x2be)]),_0xf38ea6(0x10))[_0x36e626(0x3c9)](_0x3bdd8d(_0x41242b=>!_0x41242b[_0x36e626(0x351)]()['startsWith']('__')))[_0x36e626(0x2e5)](async _0x149802=>{var _0xebeca8=_0x36e626;const _0x3bda3b=_0x149802['getUnitId'](),_0x23fc1c=await this['_startCollaboration'](_0x3bda3b,Q[_0xebeca8(0x36e)]);this[_0xebeca8(0x20e)][_0xebeca8(0x442)](_0x3bda3b,_0x23fc1c);}),_0x35784b(this[_0x36e626(0x33c)][_0x36e626(0x39c)](_0x2188e5[_0x36e626(0x2fe)]),this['_univerInstanceService'][_0x36e626(0x39c)](_0x2188e5['UNIVER_DOC']))[_0x36e626(0x3c9)](_0x103f03(this['dispose$']))['subscribe'](_0x5d08ad=>{var _0x32ae7f=_0x36e626;const _0x3408c8=_0x5d08ad[_0x32ae7f(0x351)](),_0xd92ccf=this[_0x32ae7f(0x20e)][_0x32ae7f(0x220)](_0x3408c8);_0xd92ccf&&(_0xd92ccf[_0x32ae7f(0x24d)](),this[_0x32ae7f(0x20e)]['delete'](_0x3408c8));});}async['_startCollaboration'](_0x110fe2,_0x273e27){var _0x422c4d=_0x3e9f07;const _0x2a4904=await this[_0x422c4d(0x454)][_0x422c4d(0x261)](_0x110fe2),_0x3c8fd7=this['_injector'][_0x422c4d(0x396)](this[_0x422c4d(0x49f)](_0x273e27),_0x110fe2,_0x273e27,_0x2a4904);return await _0x3c8fd7[_0x422c4d(0x3ad)](),this[_0x422c4d(0x1ad)]['next'](_0x3c8fd7),_0x3c8fd7;}['_getCtorByUniverType'](_0x678d5f){var _0x52ea12=_0x3e9f07;switch(_0x678d5f){case Q[_0x52ea12(0x36e)]:return Ct;case Q[_0x52ea12(0x2fe)]:return bt;default:throw new Error('[CollaborationController]:\x20invalid\x20univer\x20type:\x20'+_0x678d5f);}}};rt=Ps([vt(0x0,_0x1e11c8(_0x202b1e)),vt(0x1,_0x1e11c8(Le)),vt(0x2,_0x2bea00)],rt);var Ns=Object['defineProperty'],Ds=Object[_0x3e9f07(0x34f)],ws=(_0x57b91b,_0x108dc2,_0x11d1fe,_0x419a33)=>{var _0x5e5f45=_0x3e9f07;for(var _0x2d00df=_0x419a33>0x1?void 0x0:_0x419a33?Ds(_0x108dc2,_0x11d1fe):_0x108dc2,_0x508151=_0x57b91b[_0x5e5f45(0x46c)]-0x1,_0x376648;_0x508151>=0x0;_0x508151--)(_0x376648=_0x57b91b[_0x508151])&&(_0x2d00df=(_0x419a33?_0x376648(_0x108dc2,_0x11d1fe,_0x2d00df):_0x376648(_0x2d00df))||_0x2d00df);return _0x419a33&&_0x2d00df&&Ns(_0x108dc2,_0x11d1fe,_0x2d00df),_0x2d00df;},Xt=(_0x442dc8,_0x3a63d2)=>(_0x536d48,_0xa9696b)=>_0x3a63d2(_0x536d48,_0xa9696b,_0x442dc8);const Us=_0x3e9f07(0x228),As=_0x3e9f07(0x492);let Rt=class extends _0x2f099f{constructor(_0x2027f1,_0xa02d35){var _0x17afbb=_0x3e9f07;super(),this[_0x17afbb(0x33c)]=_0x2027f1,this[_0x17afbb(0x31f)]=_0xa02d35,this[_0x17afbb(0x2e7)]();}[_0x3e9f07(0x2e7)](){var _0x4cf01a=_0x3e9f07;this[_0x4cf01a(0x1be)](this[_0x4cf01a(0x33c)]['focused$'][_0x4cf01a(0x2e5)](()=>{var _0x411895=_0x4cf01a,_0x8cccf6;const _0x3f1e59=this[_0x411895(0x33c)]['getFocusedUnit']();let _0x85e82f=(_0x8cccf6=this['_configService'][_0x411895(0x1d9)](Us))!=null?_0x8cccf6:As;_0x3f1e59 instanceof _0x268dfd&&(_0x85e82f=_0x3f1e59['name']),document[_0x411895(0x290)]=_0x85e82f;}));}};Rt=ws([Xt(0x0,_0x2bea00),Xt(0x1,_0x155bcb)],Rt);var xs=Object['defineProperty'],Ls=Object[_0x3e9f07(0x34f)],Ms=(_0x4686e9,_0x11a8e6,_0x105ea0,_0x4cfd8f)=>{var _0x54900e=_0x3e9f07;for(var _0x1648a7=_0x4cfd8f>0x1?void 0x0:_0x4cfd8f?Ls(_0x11a8e6,_0x105ea0):_0x11a8e6,_0x172a45=_0x4686e9[_0x54900e(0x46c)]-0x1,_0x49492c;_0x172a45>=0x0;_0x172a45--)(_0x49492c=_0x4686e9[_0x172a45])&&(_0x1648a7=(_0x4cfd8f?_0x49492c(_0x11a8e6,_0x105ea0,_0x1648a7):_0x49492c(_0x1648a7))||_0x1648a7);return _0x4cfd8f&&_0x1648a7&&xs(_0x11a8e6,_0x105ea0,_0x1648a7),_0x1648a7;},pt=(_0x34213a,_0x43a4ce)=>(_0xac0ff7,_0x2986c1)=>_0x43a4ce(_0xac0ff7,_0x2986c1,_0x34213a);let ot=class{constructor(_0x53065c,_0x54974f,_0x207ba1){var _0x5e6155=_0x3e9f07;this[_0x5e6155(0x31f)]=_0x53065c,this[_0x5e6155(0x238)]=_0x54974f,this['localeService']=_0x207ba1,this[_0x5e6155(0x3ad)]();}[_0x3e9f07(0x3ad)](){var _0xec8f89=_0x3e9f07;this[_0xec8f89(0x238)][_0xec8f89(0x308)]({'priority':0x1,'interceptor':(_0x2af82e,_0xad646e)=>_0xad646e(_0x2af82e)['pipe'](_0x325aa3(async _0x31d545=>{var _0x331daf=_0xec8f89;const _0x50fa21=_0x31d545;if(_0x50fa21['status']===0x191){if(typeof window>'u')throw new Error('[AuthServerService]:\x20you\x20should\x20provide\x20authentication\x20info\x20on\x20Node.js.');if(window[_0x331daf(0x2fc)](this[_0x331daf(0x1bd)]['t']('auth.needGotoLoginAlert'))){const _0x40b287=window[_0x331daf(0x30a)](window['location']['href']);window['location']['href']=this[_0x331daf(0x201)]()+_0x331daf(0x49c)+_0x40b287;}}return _0x50fa21;}))});}[_0x3e9f07(0x201)](){var _0x2f8337=_0x3e9f07,_0x2e4e6d,_0x886680;const _0x56c2df=this[_0x2f8337(0x31f)]['getConfig'](Fn),_0x15465c=this[_0x2f8337(0x31f)][_0x2f8337(0x1d9)](Y);return(_0x886680=(_0x2e4e6d=_0x15465c==null?void 0x0:_0x15465c[_0x2f8337(0x385)])!=null?_0x2e4e6d:_0x56c2df)!=null?_0x886680:Vn;}};ot=Ms([pt(0x0,_0x155bcb),pt(0x1,_0x1e11c8(_0x26621f)),pt(0x2,_0x1e11c8(_0xeb3187))],ot);var $s=Object[_0x3e9f07(0x386)],Hs=Object['getOwnPropertyDescriptor'],ks=(_0x1817d1,_0x14036c,_0x4d791f,_0x1da1e4)=>{var _0x9a4e35=_0x3e9f07;for(var _0x3e23e6=_0x1da1e4>0x1?void 0x0:_0x1da1e4?Hs(_0x14036c,_0x4d791f):_0x14036c,_0x140b60=_0x1817d1[_0x9a4e35(0x46c)]-0x1,_0x14a155;_0x140b60>=0x0;_0x140b60--)(_0x14a155=_0x1817d1[_0x140b60])&&(_0x3e23e6=(_0x1da1e4?_0x14a155(_0x14036c,_0x4d791f,_0x3e23e6):_0x14a155(_0x3e23e6))||_0x3e23e6);return _0x1da1e4&&_0x3e23e6&&$s(_0x14036c,_0x4d791f,_0x3e23e6),_0x3e23e6;},Zt=(_0x17d850,_0x8d10f4)=>(_0x1fdc32,_0x1f54e2)=>_0x8d10f4(_0x1fdc32,_0x1f54e2,_0x17d850);const wi='AUTHZ_URL_KEY',js=_0x3e9f07(0x311);let yt=class extends _0x2f099f{constructor(_0x6f8d41,_0x560773){var _0x424a37=_0x3e9f07;super(),this[_0x424a37(0x41d)]=_0x6f8d41,this[_0x424a37(0x31f)]=_0x560773,this[_0x424a37(0x3c4)]();}[_0x3e9f07(0x3c4)](){var _0x29e578=_0x3e9f07;const _0x2e68a5=this;this[_0x29e578(0x1be)](this[_0x29e578(0x41d)][_0x29e578(0x308)]({'priority':0x3e7,'interceptor':_0x4ec799({'isMatch'(_0x399987){var _0x4ee5a0=_0x29e578,_0x40bcf0;if(_0x399987[_0x4ee5a0(0x243)]===_0x4ee5a0(0x244)&&((_0x40bcf0=_0x399987[_0x4ee5a0(0x435)])!=null&&_0x40bcf0[_0x4ee5a0(0x310)])){const {objectID:_0x5cb651,objectType:_0x32b6f1}=_0x399987['requestParams'][_0x4ee5a0(0x310)]||{};if(!_0x5cb651||_0x32b6f1===void 0x0)return!0x1;const _0x51e507=_0x2e68a5[_0x4ee5a0(0x32d)]()+'/'+_0x32b6f1+_0x4ee5a0(0x247)+_0x5cb651+'/allowed';if(_0x399987[_0x4ee5a0(0x45b)]===_0x51e507)return!0x0;}return!0x1;},'getParamsFromRequest'(_0x3c995e){var _0x5f243e=_0x29e578,_0x3a906a;return(_0x3a906a=_0x3c995e[_0x5f243e(0x435)])==null?void 0x0:_0x3a906a['body'];},'mergeParamsToRequest'(_0x1823b8,_0x499c18){var _0x492e8f=_0x29e578;const _0x4f7caa=_0x2e68a5['_getAPIPrefixPath']()+_0x492e8f(0x31d),_0x57eaf2=_0x1823b8['reduce']((_0x574b17,_0xc25b4b)=>{var _0x5ebbbf=_0x492e8f;const {unitID:_0x1d2d30,objectID:_0x3a78be,objectType:_0xc3aed2,actions:_0x1d2098}=_0xc25b4b;return _0x574b17[_0x1d2d30]||(_0x574b17[_0x1d2d30]={}),_0x574b17[_0x1d2d30][_0x3a78be]||(_0x574b17[_0x1d2d30][_0x3a78be]={'objectID':_0x3a78be,'objectType':_0xc3aed2,'actions':[]}),_0x574b17[_0x1d2d30][_0x3a78be][_0x5ebbbf(0x1fa)][_0x5ebbbf(0x40c)](..._0x1d2098),_0x574b17;},{}),_0x154904=[];for(const _0x491c41 in _0x57eaf2)for(const _0x48c7db in _0x57eaf2[_0x491c41]){const {actions:_0x2185d9,objectType:_0x487c80}=_0x57eaf2[_0x491c41][_0x48c7db],_0x2829d2=[...new Set(_0x2185d9)];_0x154904['push']({'unitID':_0x491c41,'objectID':_0x48c7db,'objectType':_0x487c80,'actions':_0x2829d2});}return new _0x2db9d2(_0x492e8f(0x244),_0x4f7caa,{'headers':_0x499c18[_0x492e8f(0x462)],'withCredentials':_0x499c18[_0x492e8f(0x279)],'responseType':_0x499c18[_0x492e8f(0x1df)],'body':{'requests':_0x154904}});}},{'distributeResult'(_0x1db488,_0x1a2a7c){var _0x11fc7b=_0x29e578;const {objectActions:_0x465ef7}=_0x1db488;return _0x1a2a7c[_0x11fc7b(0x1c8)](_0x1ce52d=>{var _0x319b98=_0x11fc7b;const {unitID:_0x1d619d,objectID:_0x58ca57,actions:_0x4c875c}=_0x1ce52d,_0x17ba99=_0x465ef7['find'](_0xcb6e2e=>_0xcb6e2e[_0x319b98(0x28d)]===_0x1d619d&&_0xcb6e2e[_0x319b98(0x317)]===_0x58ca57),_0x5a6835=_0x4c875c['map'](_0x4a6205=>_0x17ba99==null?void 0x0:_0x17ba99[_0x319b98(0x1fa)][_0x319b98(0x27e)](_0x291a78=>_0x291a78[_0x319b98(0x2b6)]===_0x4a6205))['filter'](_0x1faa37=>!!_0x1faa37);return{'config':_0x1ce52d,'result':{'actions':_0x5a6835,'error':_0x1db488[_0x319b98(0x3b6)]}};});}})}));}[_0x3e9f07(0x32d)](){var _0x1a732e=_0x3e9f07,_0x4a5acd,_0x1096b1;const _0x37b684=this[_0x1a732e(0x31f)][_0x1a732e(0x1d9)](wi),_0x34e0c3=this[_0x1a732e(0x31f)][_0x1a732e(0x1d9)](Y);return(_0x1096b1=(_0x4a5acd=_0x34e0c3==null?void 0x0:_0x34e0c3[_0x1a732e(0x437)])!=null?_0x4a5acd:_0x37b684)!=null?_0x1096b1:js;}async['create'](_0x15b525){var _0x5f3c10=_0x3e9f07;const _0x29fca7=this['_getAPIPrefixPath']()+'/'+_0x15b525[_0x5f3c10(0x1a7)]+_0x5f3c10(0x2de);return(await this['_HTTPService']['post'](_0x29fca7,{'body':_0x15b525}))[_0x5f3c10(0x310)][_0x5f3c10(0x317)]||'';}async['list'](_0x4bf736){var _0xcb7304=_0x3e9f07;const _0x4f45a9=this[_0xcb7304(0x32d)]()+_0xcb7304(0x2e0);return(await this['_HTTPService'][_0xcb7304(0x455)](_0x4f45a9,{'body':_0x4bf736}))['body']['objects'];}async[_0x3e9f07(0x205)](_0x4f77d7){var _0x4c9fd5=_0x3e9f07;const _0x5bdb3d=this[_0x4c9fd5(0x32d)]()+'/'+_0x4f77d7[_0x4c9fd5(0x1a7)]+_0x4c9fd5(0x247)+_0x4f77d7['objectID'];await this['_HTTPService'][_0x4c9fd5(0x1fe)](_0x5bdb3d,{'body':_0x4f77d7});}async[_0x3e9f07(0x3e0)](_0x3a1c2e){var _0x38bfbe=_0x3e9f07;const _0x5a1617=this[_0x38bfbe(0x32d)]()+'/'+_0x3a1c2e[_0x38bfbe(0x1a7)]+_0x38bfbe(0x247)+_0x3a1c2e['objectID']+_0x38bfbe(0x3c0);return(await this[_0x38bfbe(0x41d)][_0x38bfbe(0x455)](_0x5a1617,{'body':_0x3a1c2e}))[_0x38bfbe(0x310)][_0x38bfbe(0x1fa)];}async[_0x3e9f07(0x3df)](_0x5a807f){var _0x4e25d6=_0x3e9f07;const _0x557ade=this[_0x4e25d6(0x32d)]()+_0x4e25d6(0x31d);return(await this['_HTTPService']['post'](_0x557ade,{'body':{'requests':_0x5a807f}}))['body'][_0x4e25d6(0x495)];}async[_0x3e9f07(0x3db)](_0x3b6cc1){var _0x59de2c=_0x3e9f07;const _0x103e9c=this[_0x59de2c(0x32d)]()+'/'+_0x3b6cc1[_0x59de2c(0x1a7)]+_0x59de2c(0x430),_0x29d9a3=await this[_0x59de2c(0x41d)][_0x59de2c(0x455)](_0x103e9c,{'body':_0x3b6cc1});return{'roles':_0x29d9a3[_0x59de2c(0x310)][_0x59de2c(0x2e3)],'actions':_0x29d9a3[_0x59de2c(0x310)][_0x59de2c(0x1fa)]};}async['deleteCollaborator'](_0x419699){var _0xad5b77=_0x3e9f07;const _0x3c87e8=this['_getAPIPrefixPath']()+_0xad5b77(0x344);await this[_0xad5b77(0x41d)][_0xad5b77(0x45c)](_0x3c87e8,{'params':{'collaboratorID':_0x419699[_0xad5b77(0x3e9)],'objectID':_0x419699['objectID'],'unitID':_0x419699['unitID']}});}async[_0x3e9f07(0x3aa)](_0x63665a){var _0x3d763c=_0x3e9f07;const _0x466412=this[_0x3d763c(0x32d)]()+_0x3d763c(0x344);await this[_0x3d763c(0x41d)][_0x3d763c(0x431)](_0x466412,{'body':_0x63665a});}async[_0x3e9f07(0x39d)](_0x4f040f){var _0x3675eb=_0x3e9f07;const _0x171c92=this['_getAPIPrefixPath']()+_0x3675eb(0x344);await this['_HTTPService'][_0x3675eb(0x455)](_0x171c92,{'body':_0x4f040f});}async['listCollaborators'](_0x10411c){var _0x2f6b2f=_0x3e9f07;const _0x5bc3c8=this[_0x2f6b2f(0x32d)]()+'/collaborator';return(await this['_HTTPService'][_0x2f6b2f(0x220)](_0x5bc3c8,{'params':{'objectID':_0x10411c[_0x2f6b2f(0x317)],'unitID':_0x10411c[_0x2f6b2f(0x28d)]}}))['body'][_0x2f6b2f(0x307)];}async[_0x3e9f07(0x479)](_0x1cfb14){var _0x23cd47=_0x3e9f07;const _0x2f653f=this[_0x23cd47(0x32d)]()+_0x23cd47(0x344);await this['_HTTPService'][_0x23cd47(0x1fe)](_0x2f653f,{'body':_0x1cfb14});}};yt=ks([Zt(0x0,_0x1e11c8(_0x26621f)),Zt(0x1,_0x1e11c8(_0x155bcb))],yt);var mt=typeof globalThis<'u'?globalThis:typeof window<'u'?window:typeof global<'u'?global:typeof self<'u'?self:{};function ke(_0x452595){var _0x4217b3=_0x3e9f07;return _0x452595&&_0x452595[_0x4217b3(0x48d)]&&Object[_0x4217b3(0x35b)][_0x4217b3(0x269)]['call'](_0x452595,'default')?_0x452595[_0x4217b3(0x1c7)]:_0x452595;}var We={'exports':{}};function Bs(_0x469178){var _0x5b6c94=_0x3e9f07;throw new Error(_0x5b6c94(0x316)+_0x469178+_0x5b6c94(0x3d6));}var Ge={'exports':{}},Fs=Ge[_0x3e9f07(0x249)],Qt;function ne(){var _0xa9686=_0x3e9f07;return Qt||(Qt=0x1,function(_0x3b1d64,_0x4106da){(function(_0x1a2256,_0x4dff83){var _0x3b3e96=_0x4dcf;_0x3b1d64[_0x3b3e96(0x249)]=_0x4dff83();}(Fs,function(){var _0x515bbe=_0x515bbe||function(_0x55d467,_0x3314ce){var _0xeda62=_0x4dcf,_0x1c26bd;if(typeof window<'u'&&window[_0xeda62(0x38b)]&&(_0x1c26bd=window['crypto']),typeof self<'u'&&self[_0xeda62(0x38b)]&&(_0x1c26bd=self[_0xeda62(0x38b)]),typeof globalThis<'u'&&globalThis[_0xeda62(0x38b)]&&(_0x1c26bd=globalThis['crypto']),!_0x1c26bd&&typeof window<'u'&&window['msCrypto']&&(_0x1c26bd=window[_0xeda62(0x346)]),!_0x1c26bd&&typeof mt<'u'&&mt['crypto']&&(_0x1c26bd=mt[_0xeda62(0x38b)]),!_0x1c26bd&&typeof Bs==_0xeda62(0x377))try{_0x1c26bd=require(_0xeda62(0x38b));}catch{}var _0x546663=function(){var _0x38891a=_0xeda62;if(_0x1c26bd){if(typeof _0x1c26bd[_0x38891a(0x294)]=='function')try{return _0x1c26bd[_0x38891a(0x294)](new Uint32Array(0x1))[0x0];}catch{}if(typeof _0x1c26bd[_0x38891a(0x265)]=='function')try{return _0x1c26bd['randomBytes'](0x4)[_0x38891a(0x267)]();}catch{}}throw new Error(_0x38891a(0x474));},_0x3e058f=Object[_0xeda62(0x270)]||(function(){function _0x5a8b46(){}return function(_0x39e97a){var _0x5f0e11=_0x4dcf,_0x763f69;return _0x5a8b46[_0x5f0e11(0x35b)]=_0x39e97a,_0x763f69=new _0x5a8b46(),_0x5a8b46[_0x5f0e11(0x35b)]=null,_0x763f69;};}()),_0x5a9242={},_0x343fcd=_0x5a9242[_0xeda62(0x29c)]={},_0x390fab=_0x343fcd[_0xeda62(0x43c)]=(function(){return{'extend':function(_0x41adcf){var _0x16d253=_0x4dcf,_0x501aae=_0x3e058f(this);return _0x41adcf&&_0x501aae[_0x16d253(0x1fc)](_0x41adcf),(!_0x501aae[_0x16d253(0x269)](_0x16d253(0x3ad))||this[_0x16d253(0x3ad)]===_0x501aae[_0x16d253(0x3ad)])&&(_0x501aae[_0x16d253(0x3ad)]=function(){var _0x2d385e=_0x16d253;_0x501aae[_0x2d385e(0x466)][_0x2d385e(0x3ad)][_0x2d385e(0x3d3)](this,arguments);}),_0x501aae[_0x16d253(0x3ad)]['prototype']=_0x501aae,_0x501aae['$super']=this,_0x501aae;},'create':function(){var _0x76ec01=_0x4dcf,_0xd9ad37=this[_0x76ec01(0x287)]();return _0xd9ad37['init'][_0x76ec01(0x3d3)](_0xd9ad37,arguments),_0xd9ad37;},'init':function(){},'mixIn':function(_0x24b86c){var _0x490af2=_0x4dcf;for(var _0x49e7b5 in _0x24b86c)_0x24b86c[_0x490af2(0x269)](_0x49e7b5)&&(this[_0x49e7b5]=_0x24b86c[_0x49e7b5]);_0x24b86c[_0x490af2(0x269)](_0x490af2(0x35e))&&(this[_0x490af2(0x35e)]=_0x24b86c[_0x490af2(0x35e)]);},'clone':function(){var _0x47ea98=_0x4dcf;return this[_0x47ea98(0x3ad)][_0x47ea98(0x35b)][_0x47ea98(0x287)](this);}};}()),_0xf30ec7=_0x343fcd[_0xeda62(0x1f4)]=_0x390fab[_0xeda62(0x287)]({'init':function(_0x1f5f70,_0x259948){var _0x3dd1a8=_0xeda62;_0x1f5f70=this[_0x3dd1a8(0x371)]=_0x1f5f70||[],_0x259948!=_0x3314ce?this['sigBytes']=_0x259948:this[_0x3dd1a8(0x40b)]=_0x1f5f70[_0x3dd1a8(0x46c)]*0x4;},'toString':function(_0x2339a3){var _0x368764=_0xeda62;return(_0x2339a3||_0x656521)[_0x368764(0x22e)](this);},'concat':function(_0x5e37d6){var _0x4946d6=_0xeda62,_0x92eb04=this[_0x4946d6(0x371)],_0x475ed5=_0x5e37d6[_0x4946d6(0x371)],_0x1b51f9=this[_0x4946d6(0x40b)],_0x2b5a55=_0x5e37d6['sigBytes'];if(this[_0x4946d6(0x43e)](),_0x1b51f9%0x4)for(var _0x552654=0x0;_0x552654<_0x2b5a55;_0x552654++){var _0x3b6120=_0x475ed5[_0x552654>>>0x2]>>>0x18-_0x552654%0x4*0x8&0xff;_0x92eb04[_0x1b51f9+_0x552654>>>0x2]|=_0x3b6120<<0x18-(_0x1b51f9+_0x552654)%0x4*0x8;}else{for(var _0x26131c=0x0;_0x26131c<_0x2b5a55;_0x26131c+=0x4)_0x92eb04[_0x1b51f9+_0x26131c>>>0x2]=_0x475ed5[_0x26131c>>>0x2];}return this[_0x4946d6(0x40b)]+=_0x2b5a55,this;},'clamp':function(){var _0x3cd10c=_0xeda62,_0x1756a6=this['words'],_0x59bac2=this[_0x3cd10c(0x40b)];_0x1756a6[_0x59bac2>>>0x2]&=0xffffffff<<0x20-_0x59bac2%0x4*0x8,_0x1756a6[_0x3cd10c(0x46c)]=_0x55d467[_0x3cd10c(0x419)](_0x59bac2/0x4);},'clone':function(){var _0x56acde=_0xeda62,_0x5e4cb9=_0x390fab['clone']['call'](this);return _0x5e4cb9[_0x56acde(0x371)]=this['words'][_0x56acde(0x1f8)](0x0),_0x5e4cb9;},'random':function(_0x139e25){var _0x33aa9c=_0xeda62;for(var _0xd94827=[],_0x34d90b=0x0;_0x34d90b<_0x139e25;_0x34d90b+=0x4)_0xd94827[_0x33aa9c(0x40c)](_0x546663());return new _0xf30ec7[(_0x33aa9c(0x3ad))](_0xd94827,_0x139e25);}}),_0x45e49f=_0x5a9242[_0xeda62(0x23b)]={},_0x656521=_0x45e49f[_0xeda62(0x3a5)]={'stringify':function(_0x25fecf){var _0x30531c=_0xeda62;for(var _0x4a8cc3=_0x25fecf[_0x30531c(0x371)],_0x1db207=_0x25fecf['sigBytes'],_0x393e3b=[],_0x4d4a45=0x0;_0x4d4a45<_0x1db207;_0x4d4a45++){var _0x41694f=_0x4a8cc3[_0x4d4a45>>>0x2]>>>0x18-_0x4d4a45%0x4*0x8&0xff;_0x393e3b[_0x30531c(0x40c)]((_0x41694f>>>0x4)[_0x30531c(0x35e)](0x10)),_0x393e3b['push']((_0x41694f&0xf)[_0x30531c(0x35e)](0x10));}return _0x393e3b[_0x30531c(0x25b)]('');},'parse':function(_0x2f4b19){var _0x15c35f=_0xeda62;for(var _0x57774b=_0x2f4b19['length'],_0x324bd6=[],_0x222f39=0x0;_0x222f39<_0x57774b;_0x222f39+=0x2)_0x324bd6[_0x222f39>>>0x3]|=parseInt(_0x2f4b19[_0x15c35f(0x32f)](_0x222f39,0x2),0x10)<<0x18-_0x222f39%0x8*0x4;return new _0xf30ec7[(_0x15c35f(0x3ad))](_0x324bd6,_0x57774b/0x2);}},_0x4b6f37=_0x45e49f['Latin1']={'stringify':function(_0x46cc47){var _0xabb0c=_0xeda62;for(var _0x4137e1=_0x46cc47['words'],_0x518537=_0x46cc47['sigBytes'],_0x57f367=[],_0x341c86=0x0;_0x341c86<_0x518537;_0x341c86++){var _0x155650=_0x4137e1[_0x341c86>>>0x2]>>>0x18-_0x341c86%0x4*0x8&0xff;_0x57f367[_0xabb0c(0x40c)](String[_0xabb0c(0x49a)](_0x155650));}return _0x57f367[_0xabb0c(0x25b)]('');},'parse':function(_0x59fd02){var _0x47bb91=_0xeda62;for(var _0x19d94c=_0x59fd02[_0x47bb91(0x46c)],_0x4320c0=[],_0x124611=0x0;_0x124611<_0x19d94c;_0x124611++)_0x4320c0[_0x124611>>>0x2]|=(_0x59fd02[_0x47bb91(0x499)](_0x124611)&0xff)<<0x18-_0x124611%0x4*0x8;return new _0xf30ec7[(_0x47bb91(0x3ad))](_0x4320c0,_0x19d94c);}},_0x34bc05=_0x45e49f['Utf8']={'stringify':function(_0x200730){try{return decodeURIComponent(escape(_0x4b6f37['stringify'](_0x200730)));}catch{throw new Error('Malformed\x20UTF-8\x20data');}},'parse':function(_0x6c70d0){return _0x4b6f37['parse'](unescape(encodeURIComponent(_0x6c70d0)));}},_0x5b9b81=_0x343fcd['BufferedBlockAlgorithm']=_0x390fab['extend']({'reset':function(){var _0x1ccb5d=_0xeda62;this[_0x1ccb5d(0x1f2)]=new _0xf30ec7['init'](),this[_0x1ccb5d(0x29a)]=0x0;},'_append':function(_0x524107){var _0x7deb3f=_0xeda62;typeof _0x524107==_0x7deb3f(0x3a2)&&(_0x524107=_0x34bc05[_0x7deb3f(0x226)](_0x524107)),this['_data'][_0x7deb3f(0x471)](_0x524107),this[_0x7deb3f(0x29a)]+=_0x524107[_0x7deb3f(0x40b)];},'_process':function(_0x4d2cfa){var _0x24aa44=_0xeda62,_0x2bbd28,_0x1f7d8d=this['_data'],_0x57336b=_0x1f7d8d[_0x24aa44(0x371)],_0x132ad9=_0x1f7d8d[_0x24aa44(0x40b)],_0x123352=this['blockSize'],_0x370f48=_0x123352*0x4,_0x2cee4e=_0x132ad9/_0x370f48;_0x4d2cfa?_0x2cee4e=_0x55d467[_0x24aa44(0x419)](_0x2cee4e):_0x2cee4e=_0x55d467[_0x24aa44(0x397)]((_0x2cee4e|0x0)-this[_0x24aa44(0x285)],0x0);var _0x563958=_0x2cee4e*_0x123352,_0x44b229=_0x55d467['min'](_0x563958*0x4,_0x132ad9);if(_0x563958){for(var _0x28b228=0x0;_0x28b228<_0x563958;_0x28b228+=_0x123352)this[_0x24aa44(0x2bc)](_0x57336b,_0x28b228);_0x2bbd28=_0x57336b['splice'](0x0,_0x563958),_0x1f7d8d[_0x24aa44(0x40b)]-=_0x44b229;}return new _0xf30ec7[(_0x24aa44(0x3ad))](_0x2bbd28,_0x44b229);},'clone':function(){var _0x1d8aae=_0xeda62,_0x2ea14b=_0x390fab[_0x1d8aae(0x47e)][_0x1d8aae(0x26b)](this);return _0x2ea14b[_0x1d8aae(0x1f2)]=this[_0x1d8aae(0x1f2)]['clone'](),_0x2ea14b;},'_minBufferSize':0x0});_0x343fcd['Hasher']=_0x5b9b81[_0xeda62(0x287)]({'cfg':_0x390fab[_0xeda62(0x287)](),'init':function(_0x23986c){var _0x1abe02=_0xeda62;this[_0x1abe02(0x2c8)]=this[_0x1abe02(0x2c8)][_0x1abe02(0x287)](_0x23986c),this[_0x1abe02(0x1b2)]();},'reset':function(){var _0x5c7642=_0xeda62;_0x5b9b81['reset'][_0x5c7642(0x26b)](this),this['_doReset']();},'update':function(_0x1dbcc8){var _0xd31e7c=_0xeda62;return this[_0xd31e7c(0x3f7)](_0x1dbcc8),this['_process'](),this;},'finalize':function(_0x92f893){var _0x4480e4=_0xeda62;_0x92f893&&this[_0x4480e4(0x3f7)](_0x92f893);var _0x53fa50=this['_doFinalize']();return _0x53fa50;},'blockSize':0x10,'_createHelper':function(_0x2d822c){return function(_0x1f0534,_0x26eee6){var _0x10decf=_0x4dcf;return new _0x2d822c[(_0x10decf(0x3ad))](_0x26eee6)[_0x10decf(0x2a8)](_0x1f0534);};},'_createHmacHelper':function(_0x3d4ae0){return function(_0xf38fa7,_0x39d571){var _0x3d4fe2=_0x4dcf;return new _0x32d822[(_0x3d4fe2(0x451))]['init'](_0x3d4ae0,_0x39d571)['finalize'](_0xf38fa7);};}});var _0x32d822=_0x5a9242[_0xeda62(0x42d)]={};return _0x5a9242;}(Math);return _0x515bbe;}));}(Ge)),Ge[_0xa9686(0x249)];}var Ke={'exports':{}},Vs=Ke[_0x3e9f07(0x249)],ei;function Ui(){var _0xe8ceb2=_0x3e9f07;return ei||(ei=0x1,function(_0x798437,_0xf60cac){(function(_0x1626e6,_0x246bb7){var _0x2890e3=_0x4dcf;_0x798437[_0x2890e3(0x249)]=_0x246bb7(ne());}(Vs,function(_0x244eaf){var _0x1f061d=_0x4dcf;return(function(){var _0x2f0844=_0x4dcf,_0x2c0fb1=_0x244eaf,_0x4ddc5c=_0x2c0fb1['lib'],_0x598b62=_0x4ddc5c['WordArray'],_0x4fa419=_0x2c0fb1[_0x2f0844(0x23b)];_0x4fa419[_0x2f0844(0x2ec)]={'stringify':function(_0xe23c54){var _0x3ceec4=_0x2f0844,_0x3b367a=_0xe23c54[_0x3ceec4(0x371)],_0x2248f0=_0xe23c54[_0x3ceec4(0x40b)],_0xe746a=this[_0x3ceec4(0x423)];_0xe23c54[_0x3ceec4(0x43e)]();for(var _0x174110=[],_0x406693=0x0;_0x406693<_0x2248f0;_0x406693+=0x3)for(var _0x4ac05d=_0x3b367a[_0x406693>>>0x2]>>>0x18-_0x406693%0x4*0x8&0xff,_0x4e99cd=_0x3b367a[_0x406693+0x1>>>0x2]>>>0x18-(_0x406693+0x1)%0x4*0x8&0xff,_0x24a326=_0x3b367a[_0x406693+0x2>>>0x2]>>>0x18-(_0x406693+0x2)%0x4*0x8&0xff,_0x12b90f=_0x4ac05d<<0x10|_0x4e99cd<<0x8|_0x24a326,_0x38c9f9=0x0;_0x38c9f9<0x4&&_0x406693+_0x38c9f9*0.75<_0x2248f0;_0x38c9f9++)_0x174110[_0x3ceec4(0x40c)](_0xe746a['charAt'](_0x12b90f>>>0x6*(0x3-_0x38c9f9)&0x3f));var _0x37e47f=_0xe746a[_0x3ceec4(0x23d)](0x40);if(_0x37e47f){for(;_0x174110[_0x3ceec4(0x46c)]%0x4;)_0x174110[_0x3ceec4(0x40c)](_0x37e47f);}return _0x174110['join']('');},'parse':function(_0x34c241){var _0x21c4ef=_0x2f0844,_0x129d1d=_0x34c241['length'],_0x893fdc=this[_0x21c4ef(0x423)],_0x9e0150=this[_0x21c4ef(0x2fd)];if(!_0x9e0150){_0x9e0150=this['_reverseMap']=[];for(var _0x219305=0x0;_0x219305<_0x893fdc[_0x21c4ef(0x46c)];_0x219305++)_0x9e0150[_0x893fdc[_0x21c4ef(0x499)](_0x219305)]=_0x219305;}var _0x3cc99d=_0x893fdc[_0x21c4ef(0x23d)](0x40);if(_0x3cc99d){var _0x1c655e=_0x34c241[_0x21c4ef(0x2ca)](_0x3cc99d);_0x1c655e!==-0x1&&(_0x129d1d=_0x1c655e);}return _0x51c628(_0x34c241,_0x129d1d,_0x9e0150);},'_map':_0x2f0844(0x3ec)};function _0x51c628(_0x370af5,_0x38205a,_0x5e89a0){var _0x250388=_0x2f0844;for(var _0x53f247=[],_0x562b1c=0x0,_0x4eb775=0x0;_0x4eb775<_0x38205a;_0x4eb775++)if(_0x4eb775%0x4){var _0x35680a=_0x5e89a0[_0x370af5['charCodeAt'](_0x4eb775-0x1)]<<_0x4eb775%0x4*0x2,_0x25a141=_0x5e89a0[_0x370af5[_0x250388(0x499)](_0x4eb775)]>>>0x6-_0x4eb775%0x4*0x2,_0x1ee567=_0x35680a|_0x25a141;_0x53f247[_0x562b1c>>>0x2]|=_0x1ee567<<0x18-_0x562b1c%0x4*0x8,_0x562b1c++;}return _0x598b62['create'](_0x53f247,_0x562b1c);}}()),_0x244eaf[_0x1f061d(0x23b)][_0x1f061d(0x2ec)];}));}(Ke)),Ke[_0xe8ceb2(0x249)];}var ze={'exports':{}},Ws=ze['exports'],ti;function Gs(){var _0x1e43f0=_0x3e9f07;return ti||(ti=0x1,function(_0x32c088,_0x74c3d3){(function(_0x3a6180,_0x260b8a){var _0x557896=_0x4dcf;_0x32c088[_0x557896(0x249)]=_0x260b8a(ne());}(Ws,function(_0x11a934){var _0x34bc28=_0x4dcf;return function(_0x252ccd){var _0xe6f7e2=_0x4dcf,_0x54a158=_0x11a934,_0x42cfd8=_0x54a158[_0xe6f7e2(0x29c)],_0x66910e=_0x42cfd8[_0xe6f7e2(0x1f4)],_0x5821dc=_0x42cfd8[_0xe6f7e2(0x219)],_0x1a297e=_0x54a158[_0xe6f7e2(0x42d)],_0x2678da=[];(function(){var _0x3024ae=_0xe6f7e2;for(var _0x474b77=0x0;_0x474b77<0x40;_0x474b77++)_0x2678da[_0x474b77]=_0x252ccd[_0x3024ae(0x3c5)](_0x252ccd[_0x3024ae(0x27a)](_0x474b77+0x1))*0x100000000|0x0;}());var _0x361943=_0x1a297e[_0xe6f7e2(0x3e7)]=_0x5821dc[_0xe6f7e2(0x287)]({'_doReset':function(){var _0x4de831=_0xe6f7e2;this[_0x4de831(0x1a0)]=new _0x66910e[(_0x4de831(0x3ad))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476]);},'_doProcessBlock':function(_0x32b3fb,_0x29d778){var _0x5a3afa=_0xe6f7e2;for(var _0xc0beb1=0x0;_0xc0beb1<0x10;_0xc0beb1++){var _0x240eac=_0x29d778+_0xc0beb1,_0x430ac7=_0x32b3fb[_0x240eac];_0x32b3fb[_0x240eac]=(_0x430ac7<<0x8|_0x430ac7>>>0x18)&0xff00ff|(_0x430ac7<<0x18|_0x430ac7>>>0x8)&0xff00ff00;}var _0x4691a0=this[_0x5a3afa(0x1a0)][_0x5a3afa(0x371)],_0x1cafc4=_0x32b3fb[_0x29d778+0x0],_0x226ecc=_0x32b3fb[_0x29d778+0x1],_0x39dbfb=_0x32b3fb[_0x29d778+0x2],_0x262f17=_0x32b3fb[_0x29d778+0x3],_0x32cfc9=_0x32b3fb[_0x29d778+0x4],_0x2f691d=_0x32b3fb[_0x29d778+0x5],_0x3b7acd=_0x32b3fb[_0x29d778+0x6],_0xf7278d=_0x32b3fb[_0x29d778+0x7],_0x8e4551=_0x32b3fb[_0x29d778+0x8],_0x4a64fc=_0x32b3fb[_0x29d778+0x9],_0x2d0b45=_0x32b3fb[_0x29d778+0xa],_0x510f0d=_0x32b3fb[_0x29d778+0xb],_0x2b86a7=_0x32b3fb[_0x29d778+0xc],_0x234504=_0x32b3fb[_0x29d778+0xd],_0x613ab4=_0x32b3fb[_0x29d778+0xe],_0x14231b=_0x32b3fb[_0x29d778+0xf],_0x4d3361=_0x4691a0[0x0],_0x37060=_0x4691a0[0x1],_0x1d8c48=_0x4691a0[0x2],_0x5a3904=_0x4691a0[0x3];_0x4d3361=_0x32d255(_0x4d3361,_0x37060,_0x1d8c48,_0x5a3904,_0x1cafc4,0x7,_0x2678da[0x0]),_0x5a3904=_0x32d255(_0x5a3904,_0x4d3361,_0x37060,_0x1d8c48,_0x226ecc,0xc,_0x2678da[0x1]),_0x1d8c48=_0x32d255(_0x1d8c48,_0x5a3904,_0x4d3361,_0x37060,_0x39dbfb,0x11,_0x2678da[0x2]),_0x37060=_0x32d255(_0x37060,_0x1d8c48,_0x5a3904,_0x4d3361,_0x262f17,0x16,_0x2678da[0x3]),_0x4d3361=_0x32d255(_0x4d3361,_0x37060,_0x1d8c48,_0x5a3904,_0x32cfc9,0x7,_0x2678da[0x4]),_0x5a3904=_0x32d255(_0x5a3904,_0x4d3361,_0x37060,_0x1d8c48,_0x2f691d,0xc,_0x2678da[0x5]),_0x1d8c48=_0x32d255(_0x1d8c48,_0x5a3904,_0x4d3361,_0x37060,_0x3b7acd,0x11,_0x2678da[0x6]),_0x37060=_0x32d255(_0x37060,_0x1d8c48,_0x5a3904,_0x4d3361,_0xf7278d,0x16,_0x2678da[0x7]),_0x4d3361=_0x32d255(_0x4d3361,_0x37060,_0x1d8c48,_0x5a3904,_0x8e4551,0x7,_0x2678da[0x8]),_0x5a3904=_0x32d255(_0x5a3904,_0x4d3361,_0x37060,_0x1d8c48,_0x4a64fc,0xc,_0x2678da[0x9]),_0x1d8c48=_0x32d255(_0x1d8c48,_0x5a3904,_0x4d3361,_0x37060,_0x2d0b45,0x11,_0x2678da[0xa]),_0x37060=_0x32d255(_0x37060,_0x1d8c48,_0x5a3904,_0x4d3361,_0x510f0d,0x16,_0x2678da[0xb]),_0x4d3361=_0x32d255(_0x4d3361,_0x37060,_0x1d8c48,_0x5a3904,_0x2b86a7,0x7,_0x2678da[0xc]),_0x5a3904=_0x32d255(_0x5a3904,_0x4d3361,_0x37060,_0x1d8c48,_0x234504,0xc,_0x2678da[0xd]),_0x1d8c48=_0x32d255(_0x1d8c48,_0x5a3904,_0x4d3361,_0x37060,_0x613ab4,0x11,_0x2678da[0xe]),_0x37060=_0x32d255(_0x37060,_0x1d8c48,_0x5a3904,_0x4d3361,_0x14231b,0x16,_0x2678da[0xf]),_0x4d3361=_0x48371d(_0x4d3361,_0x37060,_0x1d8c48,_0x5a3904,_0x226ecc,0x5,_0x2678da[0x10]),_0x5a3904=_0x48371d(_0x5a3904,_0x4d3361,_0x37060,_0x1d8c48,_0x3b7acd,0x9,_0x2678da[0x11]),_0x1d8c48=_0x48371d(_0x1d8c48,_0x5a3904,_0x4d3361,_0x37060,_0x510f0d,0xe,_0x2678da[0x12]),_0x37060=_0x48371d(_0x37060,_0x1d8c48,_0x5a3904,_0x4d3361,_0x1cafc4,0x14,_0x2678da[0x13]),_0x4d3361=_0x48371d(_0x4d3361,_0x37060,_0x1d8c48,_0x5a3904,_0x2f691d,0x5,_0x2678da[0x14]),_0x5a3904=_0x48371d(_0x5a3904,_0x4d3361,_0x37060,_0x1d8c48,_0x2d0b45,0x9,_0x2678da[0x15]),_0x1d8c48=_0x48371d(_0x1d8c48,_0x5a3904,_0x4d3361,_0x37060,_0x14231b,0xe,_0x2678da[0x16]),_0x37060=_0x48371d(_0x37060,_0x1d8c48,_0x5a3904,_0x4d3361,_0x32cfc9,0x14,_0x2678da[0x17]),_0x4d3361=_0x48371d(_0x4d3361,_0x37060,_0x1d8c48,_0x5a3904,_0x4a64fc,0x5,_0x2678da[0x18]),_0x5a3904=_0x48371d(_0x5a3904,_0x4d3361,_0x37060,_0x1d8c48,_0x613ab4,0x9,_0x2678da[0x19]),_0x1d8c48=_0x48371d(_0x1d8c48,_0x5a3904,_0x4d3361,_0x37060,_0x262f17,0xe,_0x2678da[0x1a]),_0x37060=_0x48371d(_0x37060,_0x1d8c48,_0x5a3904,_0x4d3361,_0x8e4551,0x14,_0x2678da[0x1b]),_0x4d3361=_0x48371d(_0x4d3361,_0x37060,_0x1d8c48,_0x5a3904,_0x234504,0x5,_0x2678da[0x1c]),_0x5a3904=_0x48371d(_0x5a3904,_0x4d3361,_0x37060,_0x1d8c48,_0x39dbfb,0x9,_0x2678da[0x1d]),_0x1d8c48=_0x48371d(_0x1d8c48,_0x5a3904,_0x4d3361,_0x37060,_0xf7278d,0xe,_0x2678da[0x1e]),_0x37060=_0x48371d(_0x37060,_0x1d8c48,_0x5a3904,_0x4d3361,_0x2b86a7,0x14,_0x2678da[0x1f]),_0x4d3361=_0x1ca323(_0x4d3361,_0x37060,_0x1d8c48,_0x5a3904,_0x2f691d,0x4,_0x2678da[0x20]),_0x5a3904=_0x1ca323(_0x5a3904,_0x4d3361,_0x37060,_0x1d8c48,_0x8e4551,0xb,_0x2678da[0x21]),_0x1d8c48=_0x1ca323(_0x1d8c48,_0x5a3904,_0x4d3361,_0x37060,_0x510f0d,0x10,_0x2678da[0x22]),_0x37060=_0x1ca323(_0x37060,_0x1d8c48,_0x5a3904,_0x4d3361,_0x613ab4,0x17,_0x2678da[0x23]),_0x4d3361=_0x1ca323(_0x4d3361,_0x37060,_0x1d8c48,_0x5a3904,_0x226ecc,0x4,_0x2678da[0x24]),_0x5a3904=_0x1ca323(_0x5a3904,_0x4d3361,_0x37060,_0x1d8c48,_0x32cfc9,0xb,_0x2678da[0x25]),_0x1d8c48=_0x1ca323(_0x1d8c48,_0x5a3904,_0x4d3361,_0x37060,_0xf7278d,0x10,_0x2678da[0x26]),_0x37060=_0x1ca323(_0x37060,_0x1d8c48,_0x5a3904,_0x4d3361,_0x2d0b45,0x17,_0x2678da[0x27]),_0x4d3361=_0x1ca323(_0x4d3361,_0x37060,_0x1d8c48,_0x5a3904,_0x234504,0x4,_0x2678da[0x28]),_0x5a3904=_0x1ca323(_0x5a3904,_0x4d3361,_0x37060,_0x1d8c48,_0x1cafc4,0xb,_0x2678da[0x29]),_0x1d8c48=_0x1ca323(_0x1d8c48,_0x5a3904,_0x4d3361,_0x37060,_0x262f17,0x10,_0x2678da[0x2a]),_0x37060=_0x1ca323(_0x37060,_0x1d8c48,_0x5a3904,_0x4d3361,_0x3b7acd,0x17,_0x2678da[0x2b]),_0x4d3361=_0x1ca323(_0x4d3361,_0x37060,_0x1d8c48,_0x5a3904,_0x4a64fc,0x4,_0x2678da[0x2c]),_0x5a3904=_0x1ca323(_0x5a3904,_0x4d3361,_0x37060,_0x1d8c48,_0x2b86a7,0xb,_0x2678da[0x2d]),_0x1d8c48=_0x1ca323(_0x1d8c48,_0x5a3904,_0x4d3361,_0x37060,_0x14231b,0x10,_0x2678da[0x2e]),_0x37060=_0x1ca323(_0x37060,_0x1d8c48,_0x5a3904,_0x4d3361,_0x39dbfb,0x17,_0x2678da[0x2f]),_0x4d3361=_0x41edb6(_0x4d3361,_0x37060,_0x1d8c48,_0x5a3904,_0x1cafc4,0x6,_0x2678da[0x30]),_0x5a3904=_0x41edb6(_0x5a3904,_0x4d3361,_0x37060,_0x1d8c48,_0xf7278d,0xa,_0x2678da[0x31]),_0x1d8c48=_0x41edb6(_0x1d8c48,_0x5a3904,_0x4d3361,_0x37060,_0x613ab4,0xf,_0x2678da[0x32]),_0x37060=_0x41edb6(_0x37060,_0x1d8c48,_0x5a3904,_0x4d3361,_0x2f691d,0x15,_0x2678da[0x33]),_0x4d3361=_0x41edb6(_0x4d3361,_0x37060,_0x1d8c48,_0x5a3904,_0x2b86a7,0x6,_0x2678da[0x34]),_0x5a3904=_0x41edb6(_0x5a3904,_0x4d3361,_0x37060,_0x1d8c48,_0x262f17,0xa,_0x2678da[0x35]),_0x1d8c48=_0x41edb6(_0x1d8c48,_0x5a3904,_0x4d3361,_0x37060,_0x2d0b45,0xf,_0x2678da[0x36]),_0x37060=_0x41edb6(_0x37060,_0x1d8c48,_0x5a3904,_0x4d3361,_0x226ecc,0x15,_0x2678da[0x37]),_0x4d3361=_0x41edb6(_0x4d3361,_0x37060,_0x1d8c48,_0x5a3904,_0x8e4551,0x6,_0x2678da[0x38]),_0x5a3904=_0x41edb6(_0x5a3904,_0x4d3361,_0x37060,_0x1d8c48,_0x14231b,0xa,_0x2678da[0x39]),_0x1d8c48=_0x41edb6(_0x1d8c48,_0x5a3904,_0x4d3361,_0x37060,_0x3b7acd,0xf,_0x2678da[0x3a]),_0x37060=_0x41edb6(_0x37060,_0x1d8c48,_0x5a3904,_0x4d3361,_0x234504,0x15,_0x2678da[0x3b]),_0x4d3361=_0x41edb6(_0x4d3361,_0x37060,_0x1d8c48,_0x5a3904,_0x32cfc9,0x6,_0x2678da[0x3c]),_0x5a3904=_0x41edb6(_0x5a3904,_0x4d3361,_0x37060,_0x1d8c48,_0x510f0d,0xa,_0x2678da[0x3d]),_0x1d8c48=_0x41edb6(_0x1d8c48,_0x5a3904,_0x4d3361,_0x37060,_0x39dbfb,0xf,_0x2678da[0x3e]),_0x37060=_0x41edb6(_0x37060,_0x1d8c48,_0x5a3904,_0x4d3361,_0x4a64fc,0x15,_0x2678da[0x3f]),_0x4691a0[0x0]=_0x4691a0[0x0]+_0x4d3361|0x0,_0x4691a0[0x1]=_0x4691a0[0x1]+_0x37060|0x0,_0x4691a0[0x2]=_0x4691a0[0x2]+_0x1d8c48|0x0,_0x4691a0[0x3]=_0x4691a0[0x3]+_0x5a3904|0x0;},'_doFinalize':function(){var _0x26423c=_0xe6f7e2,_0x478fdd=this[_0x26423c(0x1f2)],_0xf7c49b=_0x478fdd['words'],_0x410526=this[_0x26423c(0x29a)]*0x8,_0x5f5a5c=_0x478fdd[_0x26423c(0x40b)]*0x8;_0xf7c49b[_0x5f5a5c>>>0x5]|=0x80<<0x18-_0x5f5a5c%0x20;var _0x36922d=_0x252ccd[_0x26423c(0x3eb)](_0x410526/0x100000000),_0x3d02d6=_0x410526;_0xf7c49b[(_0x5f5a5c+0x40>>>0x9<<0x4)+0xf]=(_0x36922d<<0x8|_0x36922d>>>0x18)&0xff00ff|(_0x36922d<<0x18|_0x36922d>>>0x8)&0xff00ff00,_0xf7c49b[(_0x5f5a5c+0x40>>>0x9<<0x4)+0xe]=(_0x3d02d6<<0x8|_0x3d02d6>>>0x18)&0xff00ff|(_0x3d02d6<<0x18|_0x3d02d6>>>0x8)&0xff00ff00,_0x478fdd[_0x26423c(0x40b)]=(_0xf7c49b['length']+0x1)*0x4,this[_0x26423c(0x257)]();for(var _0x1e6eff=this['_hash'],_0x217d6b=_0x1e6eff[_0x26423c(0x371)],_0x4cb2d4=0x0;_0x4cb2d4<0x4;_0x4cb2d4++){var _0x8f7abf=_0x217d6b[_0x4cb2d4];_0x217d6b[_0x4cb2d4]=(_0x8f7abf<<0x8|_0x8f7abf>>>0x18)&0xff00ff|(_0x8f7abf<<0x18|_0x8f7abf>>>0x8)&0xff00ff00;}return _0x1e6eff;},'clone':function(){var _0x558461=_0xe6f7e2,_0x2d4e04=_0x5821dc['clone']['call'](this);return _0x2d4e04[_0x558461(0x1a0)]=this[_0x558461(0x1a0)]['clone'](),_0x2d4e04;}});function _0x32d255(_0x12aaea,_0xd7de09,_0x7b8083,_0x374f68,_0x5d98a1,_0xe1888f,_0x392cd3){var _0x2c4675=_0x12aaea+(_0xd7de09&_0x7b8083|~_0xd7de09&_0x374f68)+_0x5d98a1+_0x392cd3;return(_0x2c4675<<_0xe1888f|_0x2c4675>>>0x20-_0xe1888f)+_0xd7de09;}function _0x48371d(_0x5de484,_0x15f867,_0x4e9087,_0x4eb59a,_0x44d991,_0x55cc9c,_0x4a42c8){var _0x4e37b1=_0x5de484+(_0x15f867&_0x4eb59a|_0x4e9087&~_0x4eb59a)+_0x44d991+_0x4a42c8;return(_0x4e37b1<<_0x55cc9c|_0x4e37b1>>>0x20-_0x55cc9c)+_0x15f867;}function _0x1ca323(_0x2f84d1,_0x542e80,_0x3cdd41,_0x67e858,_0xc90165,_0x2992fd,_0x4e5737){var _0x9dec75=_0x2f84d1+(_0x542e80^_0x3cdd41^_0x67e858)+_0xc90165+_0x4e5737;return(_0x9dec75<<_0x2992fd|_0x9dec75>>>0x20-_0x2992fd)+_0x542e80;}function _0x41edb6(_0x364a56,_0x258c8a,_0x26f432,_0x35b23e,_0xac377b,_0x54d610,_0x57be35){var _0x2f38bf=_0x364a56+(_0x26f432^(_0x258c8a|~_0x35b23e))+_0xac377b+_0x57be35;return(_0x2f38bf<<_0x54d610|_0x2f38bf>>>0x20-_0x54d610)+_0x258c8a;}_0x54a158[_0xe6f7e2(0x3e7)]=_0x5821dc[_0xe6f7e2(0x1cd)](_0x361943),_0x54a158[_0xe6f7e2(0x2c1)]=_0x5821dc[_0xe6f7e2(0x1c4)](_0x361943);}(Math),_0x11a934[_0x34bc28(0x3e7)];}));}(ze)),ze[_0x1e43f0(0x249)];}var Ye={'exports':{}},qe={'exports':{}},Ks=qe[_0x3e9f07(0x249)],ii;function zs(){var _0x26b2b9=_0x3e9f07;return ii||(ii=0x1,function(_0x505d20,_0x7db6ad){(function(_0x146eb8,_0x5c4888){var _0x338245=_0x4dcf;_0x505d20[_0x338245(0x249)]=_0x5c4888(ne());}(Ks,function(_0x13af53){return(function(){var _0x249eea=_0x4dcf,_0x344fc8=_0x13af53,_0x202831=_0x344fc8[_0x249eea(0x29c)],_0x10f5ff=_0x202831['WordArray'],_0x403feb=_0x202831[_0x249eea(0x219)],_0x1f16c0=_0x344fc8[_0x249eea(0x42d)],_0x1a5927=[],_0xd7b3ba=_0x1f16c0[_0x249eea(0x3a6)]=_0x403feb[_0x249eea(0x287)]({'_doReset':function(){var _0xdd95c=_0x249eea;this[_0xdd95c(0x1a0)]=new _0x10f5ff[(_0xdd95c(0x3ad))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476,0xc3d2e1f0]);},'_doProcessBlock':function(_0x17ffb4,_0x220985){var _0x238bfa=_0x249eea;for(var _0x153646=this[_0x238bfa(0x1a0)][_0x238bfa(0x371)],_0x4c5299=_0x153646[0x0],_0x5014cb=_0x153646[0x1],_0x56d999=_0x153646[0x2],_0x165764=_0x153646[0x3],_0x427095=_0x153646[0x4],_0x2647fd=0x0;_0x2647fd<0x50;_0x2647fd++){if(_0x2647fd<0x10)_0x1a5927[_0x2647fd]=_0x17ffb4[_0x220985+_0x2647fd]|0x0;else{var _0x4c18e1=_0x1a5927[_0x2647fd-0x3]^_0x1a5927[_0x2647fd-0x8]^_0x1a5927[_0x2647fd-0xe]^_0x1a5927[_0x2647fd-0x10];_0x1a5927[_0x2647fd]=_0x4c18e1<<0x1|_0x4c18e1>>>0x1f;}var _0x14c971=(_0x4c5299<<0x5|_0x4c5299>>>0x1b)+_0x427095+_0x1a5927[_0x2647fd];_0x2647fd<0x14?_0x14c971+=(_0x5014cb&_0x56d999|~_0x5014cb&_0x165764)+0x5a827999:_0x2647fd<0x28?_0x14c971+=(_0x5014cb^_0x56d999^_0x165764)+0x6ed9eba1:_0x2647fd<0x3c?_0x14c971+=(_0x5014cb&_0x56d999|_0x5014cb&_0x165764|_0x56d999&_0x165764)-0x70e44324:_0x14c971+=(_0x5014cb^_0x56d999^_0x165764)-0x359d3e2a,_0x427095=_0x165764,_0x165764=_0x56d999,_0x56d999=_0x5014cb<<0x1e|_0x5014cb>>>0x2,_0x5014cb=_0x4c5299,_0x4c5299=_0x14c971;}_0x153646[0x0]=_0x153646[0x0]+_0x4c5299|0x0,_0x153646[0x1]=_0x153646[0x1]+_0x5014cb|0x0,_0x153646[0x2]=_0x153646[0x2]+_0x56d999|0x0,_0x153646[0x3]=_0x153646[0x3]+_0x165764|0x0,_0x153646[0x4]=_0x153646[0x4]+_0x427095|0x0;},'_doFinalize':function(){var _0x411148=_0x249eea,_0x484cc4=this[_0x411148(0x1f2)],_0x7a1ecb=_0x484cc4[_0x411148(0x371)],_0x4a1f59=this['_nDataBytes']*0x8,_0x1bbf82=_0x484cc4[_0x411148(0x40b)]*0x8;return _0x7a1ecb[_0x1bbf82>>>0x5]|=0x80<<0x18-_0x1bbf82%0x20,_0x7a1ecb[(_0x1bbf82+0x40>>>0x9<<0x4)+0xe]=Math[_0x411148(0x3eb)](_0x4a1f59/0x100000000),_0x7a1ecb[(_0x1bbf82+0x40>>>0x9<<0x4)+0xf]=_0x4a1f59,_0x484cc4[_0x411148(0x40b)]=_0x7a1ecb[_0x411148(0x46c)]*0x4,this[_0x411148(0x257)](),this[_0x411148(0x1a0)];},'clone':function(){var _0x276c31=_0x249eea,_0x588429=_0x403feb['clone'][_0x276c31(0x26b)](this);return _0x588429[_0x276c31(0x1a0)]=this[_0x276c31(0x1a0)][_0x276c31(0x47e)](),_0x588429;}});_0x344fc8[_0x249eea(0x3a6)]=_0x403feb[_0x249eea(0x1cd)](_0xd7b3ba),_0x344fc8[_0x249eea(0x295)]=_0x403feb[_0x249eea(0x1c4)](_0xd7b3ba);}()),_0x13af53['SHA1'];}));}(qe)),qe[_0x26b2b9(0x249)];}var Je={'exports':{}},Ys=Je[_0x3e9f07(0x249)],ni;function qs(){return ni||(ni=0x1,function(_0x58b073,_0x436efd){(function(_0x3d1c17,_0x3e8ac9){var _0x438476=_0x4dcf;_0x58b073[_0x438476(0x249)]=_0x3e8ac9(ne());}(Ys,function(_0x457efe){(function(){var _0x32578e=_0x4dcf,_0x2e1a24=_0x457efe,_0xb20245=_0x2e1a24[_0x32578e(0x29c)],_0x31e16e=_0xb20245['Base'],_0x31cee6=_0x2e1a24[_0x32578e(0x23b)],_0x35094b=_0x31cee6[_0x32578e(0x280)],_0x29f1cb=_0x2e1a24[_0x32578e(0x42d)];_0x29f1cb['HMAC']=_0x31e16e[_0x32578e(0x287)]({'init':function(_0x5839f1,_0x2cb108){var _0x1a34e7=_0x32578e;_0x5839f1=this[_0x1a34e7(0x272)]=new _0x5839f1[(_0x1a34e7(0x3ad))](),typeof _0x2cb108==_0x1a34e7(0x3a2)&&(_0x2cb108=_0x35094b[_0x1a34e7(0x226)](_0x2cb108));var _0x17ca56=_0x5839f1['blockSize'],_0x58d81a=_0x17ca56*0x4;_0x2cb108[_0x1a34e7(0x40b)]>_0x58d81a&&(_0x2cb108=_0x5839f1[_0x1a34e7(0x2a8)](_0x2cb108)),_0x2cb108[_0x1a34e7(0x43e)]();for(var _0x56ddbb=this['_oKey']=_0x2cb108[_0x1a34e7(0x47e)](),_0x35c94f=this[_0x1a34e7(0x2c5)]=_0x2cb108['clone'](),_0x253149=_0x56ddbb['words'],_0x5b9046=_0x35c94f['words'],_0x4d4a07=0x0;_0x4d4a07<_0x17ca56;_0x4d4a07++)_0x253149[_0x4d4a07]^=0x5c5c5c5c,_0x5b9046[_0x4d4a07]^=0x36363636;_0x56ddbb[_0x1a34e7(0x40b)]=_0x35c94f[_0x1a34e7(0x40b)]=_0x58d81a,this[_0x1a34e7(0x1b2)]();},'reset':function(){var _0x28a8cb=_0x32578e,_0x30cc11=this[_0x28a8cb(0x272)];_0x30cc11[_0x28a8cb(0x1b2)](),_0x30cc11[_0x28a8cb(0x205)](this[_0x28a8cb(0x2c5)]);},'update':function(_0x1b7509){var _0x20d40c=_0x32578e;return this[_0x20d40c(0x272)][_0x20d40c(0x205)](_0x1b7509),this;},'finalize':function(_0x5c3a93){var _0x4229da=_0x32578e,_0x388cfc=this[_0x4229da(0x272)],_0x3b478f=_0x388cfc[_0x4229da(0x2a8)](_0x5c3a93);_0x388cfc[_0x4229da(0x1b2)]();var _0x150872=_0x388cfc[_0x4229da(0x2a8)](this[_0x4229da(0x1ea)]['clone']()[_0x4229da(0x471)](_0x3b478f));return _0x150872;}});}());}));}(Je)),Je['exports'];}var Js=Ye[_0x3e9f07(0x249)],si;function Ai(){var _0x16c1be=_0x3e9f07;return si||(si=0x1,function(_0x5b9c64,_0x3f1d87){(function(_0x2b7046,_0x1cf6a9,_0x19339c){var _0x2f1ce4=_0x4dcf;_0x5b9c64[_0x2f1ce4(0x249)]=_0x1cf6a9(ne(),zs(),qs());}(Js,function(_0x5d5c4e){var _0x353cf0=_0x4dcf;return(function(){var _0x4347ea=_0x4dcf,_0xd4a53=_0x5d5c4e,_0x29a6a5=_0xd4a53[_0x4347ea(0x29c)],_0x1c1bcb=_0x29a6a5[_0x4347ea(0x43c)],_0x31fe8a=_0x29a6a5[_0x4347ea(0x1f4)],_0x2f117b=_0xd4a53['algo'],_0x28d6d2=_0x2f117b[_0x4347ea(0x3e7)],_0x374bf2=_0x2f117b[_0x4347ea(0x3bd)]=_0x1c1bcb['extend']({'cfg':_0x1c1bcb['extend']({'keySize':0x80/0x20,'hasher':_0x28d6d2,'iterations':0x1}),'init':function(_0x535331){var _0x3dec83=_0x4347ea;this[_0x3dec83(0x2c8)]=this[_0x3dec83(0x2c8)]['extend'](_0x535331);},'compute':function(_0x46c661,_0x5769cd){var _0x566859=_0x4347ea;for(var _0x378619,_0x48570b=this['cfg'],_0x454fcc=_0x48570b[_0x566859(0x3d1)][_0x566859(0x270)](),_0xb74359=_0x31fe8a[_0x566859(0x270)](),_0x2278fc=_0xb74359[_0x566859(0x371)],_0x5e5f79=_0x48570b[_0x566859(0x2b9)],_0x17d63a=_0x48570b[_0x566859(0x1dc)];_0x2278fc['length']<_0x5e5f79;){_0x378619&&_0x454fcc[_0x566859(0x205)](_0x378619),_0x378619=_0x454fcc['update'](_0x46c661)[_0x566859(0x2a8)](_0x5769cd),_0x454fcc[_0x566859(0x1b2)]();for(var _0x365555=0x1;_0x365555<_0x17d63a;_0x365555++)_0x378619=_0x454fcc[_0x566859(0x2a8)](_0x378619),_0x454fcc['reset']();_0xb74359[_0x566859(0x471)](_0x378619);}return _0xb74359['sigBytes']=_0x5e5f79*0x4,_0xb74359;}});_0xd4a53['EvpKDF']=function(_0x315dce,_0x4c0c82,_0x23342e){var _0x24fa2c=_0x4347ea;return _0x374bf2['create'](_0x23342e)[_0x24fa2c(0x342)](_0x315dce,_0x4c0c82);};}()),_0x5d5c4e[_0x353cf0(0x3bd)];}));}(Ye)),Ye[_0x16c1be(0x249)];}var Xe={'exports':{}},Xs=Xe[_0x3e9f07(0x249)],ri;function xi(){return ri||(ri=0x1,function(_0x5ae346,_0x2d84e3){(function(_0x4040db,_0x4570c7,_0x5d82c9){var _0xa22a93=_0x4dcf;_0x5ae346[_0xa22a93(0x249)]=_0x4570c7(ne(),Ai());}(Xs,function(_0x26d009){var _0x20e576=_0x4dcf;_0x26d009['lib'][_0x20e576(0x434)]||function(_0x233ecc){var _0x16557d=_0x20e576,_0x50ca7d=_0x26d009,_0x1d4142=_0x50ca7d[_0x16557d(0x29c)],_0x1cec4f=_0x1d4142[_0x16557d(0x43c)],_0x51acc2=_0x1d4142[_0x16557d(0x1f4)],_0x1b97bf=_0x1d4142[_0x16557d(0x497)],_0x503f28=_0x50ca7d[_0x16557d(0x23b)];_0x503f28[_0x16557d(0x280)];var _0x223bd9=_0x503f28[_0x16557d(0x2ec)],_0x125d0a=_0x50ca7d[_0x16557d(0x42d)],_0x2663f9=_0x125d0a[_0x16557d(0x3bd)],_0x35f258=_0x1d4142[_0x16557d(0x434)]=_0x1b97bf[_0x16557d(0x287)]({'cfg':_0x1cec4f[_0x16557d(0x287)](),'createEncryptor':function(_0x25be3f,_0x1488d2){var _0x59e284=_0x16557d;return this['create'](this[_0x59e284(0x2d9)],_0x25be3f,_0x1488d2);},'createDecryptor':function(_0x16c2a4,_0x1ca8ef){var _0x4870d6=_0x16557d;return this[_0x4870d6(0x270)](this[_0x4870d6(0x381)],_0x16c2a4,_0x1ca8ef);},'init':function(_0x68ab33,_0x298f88,_0x5c4175){var _0x43b8dc=_0x16557d;this[_0x43b8dc(0x2c8)]=this['cfg']['extend'](_0x5c4175),this[_0x43b8dc(0x332)]=_0x68ab33,this[_0x43b8dc(0x289)]=_0x298f88,this[_0x43b8dc(0x1b2)]();},'reset':function(){var _0x3d30a2=_0x16557d;_0x1b97bf[_0x3d30a2(0x1b2)][_0x3d30a2(0x26b)](this),this['_doReset']();},'process':function(_0x1d55a2){var _0x503b2d=_0x16557d;return this[_0x503b2d(0x3f7)](_0x1d55a2),this[_0x503b2d(0x257)]();},'finalize':function(_0x2a585e){var _0x1969a1=_0x16557d;_0x2a585e&&this[_0x1969a1(0x3f7)](_0x2a585e);var _0x381099=this[_0x1969a1(0x36a)]();return _0x381099;},'keySize':0x80/0x20,'ivSize':0x80/0x20,'_ENC_XFORM_MODE':0x1,'_DEC_XFORM_MODE':0x2,'_createHelper':(function(){function _0x21f7c9(_0x158a5d){var _0x42d031=_0x4dcf;return typeof _0x158a5d==_0x42d031(0x3a2)?_0x4e80e8:_0x386e0d;}return function(_0x56a734){return{'encrypt':function(_0x327ea0,_0x140b7f,_0x3affd9){var _0x303335=_0x4dcf;return _0x21f7c9(_0x140b7f)[_0x303335(0x358)](_0x56a734,_0x327ea0,_0x140b7f,_0x3affd9);},'decrypt':function(_0x1a9b27,_0x1126bb,_0x185c1a){var _0x5a9ef3=_0x4dcf;return _0x21f7c9(_0x1126bb)[_0x5a9ef3(0x37d)](_0x56a734,_0x1a9b27,_0x1126bb,_0x185c1a);}};};}())});_0x1d4142[_0x16557d(0x47d)]=_0x35f258['extend']({'_doFinalize':function(){var _0x32b6b6=_0x16557d,_0x435909=this[_0x32b6b6(0x257)](!0x0);return _0x435909;},'blockSize':0x1});var _0x4cb80f=_0x50ca7d[_0x16557d(0x271)]={},_0x3629ab=_0x1d4142['BlockCipherMode']=_0x1cec4f[_0x16557d(0x287)]({'createEncryptor':function(_0x40c346,_0x85ec56){var _0xbdb5aa=_0x16557d;return this[_0xbdb5aa(0x458)][_0xbdb5aa(0x270)](_0x40c346,_0x85ec56);},'createDecryptor':function(_0x5db1e9,_0x4b9fef){var _0x506c2b=_0x16557d;return this[_0x506c2b(0x258)][_0x506c2b(0x270)](_0x5db1e9,_0x4b9fef);},'init':function(_0x5e345f,_0x2bb0d9){var _0x364a0b=_0x16557d;this['_cipher']=_0x5e345f,this[_0x364a0b(0x25d)]=_0x2bb0d9;}}),_0x4204af=_0x4cb80f['CBC']=(function(){var _0x1a4a71=_0x16557d,_0x57f01d=_0x3629ab['extend']();_0x57f01d[_0x1a4a71(0x458)]=_0x57f01d[_0x1a4a71(0x287)]({'processBlock':function(_0x567215,_0x111dc5){var _0x598977=_0x1a4a71,_0x24ffdd=this[_0x598977(0x2d0)],_0x1e55c4=_0x24ffdd[_0x598977(0x395)];_0x535060[_0x598977(0x26b)](this,_0x567215,_0x111dc5,_0x1e55c4),_0x24ffdd[_0x598977(0x291)](_0x567215,_0x111dc5),this[_0x598977(0x41c)]=_0x567215['slice'](_0x111dc5,_0x111dc5+_0x1e55c4);}}),_0x57f01d[_0x1a4a71(0x258)]=_0x57f01d['extend']({'processBlock':function(_0x4cccc3,_0x397dc1){var _0x26ea43=_0x1a4a71,_0x257cea=this['_cipher'],_0x4eb770=_0x257cea[_0x26ea43(0x395)],_0x1ef392=_0x4cccc3['slice'](_0x397dc1,_0x397dc1+_0x4eb770);_0x257cea[_0x26ea43(0x365)](_0x4cccc3,_0x397dc1),_0x535060[_0x26ea43(0x26b)](this,_0x4cccc3,_0x397dc1,_0x4eb770),this[_0x26ea43(0x41c)]=_0x1ef392;}});function _0x535060(_0x1dac93,_0x5807ae,_0x17c14e){var _0x1d1375=_0x1a4a71,_0x5afdd4,_0x522ec6=this[_0x1d1375(0x25d)];_0x522ec6?(_0x5afdd4=_0x522ec6,this['_iv']=_0x233ecc):_0x5afdd4=this[_0x1d1375(0x41c)];for(var _0x4ab632=0x0;_0x4ab632<_0x17c14e;_0x4ab632++)_0x1dac93[_0x5807ae+_0x4ab632]^=_0x5afdd4[_0x4ab632];}return _0x57f01d;}()),_0x621e93=_0x50ca7d[_0x16557d(0x281)]={},_0x178133=_0x621e93[_0x16557d(0x1ef)]={'pad':function(_0x278498,_0x92ee7){var _0x337c9b=_0x16557d;for(var _0x2d73c8=_0x92ee7*0x4,_0x616884=_0x2d73c8-_0x278498[_0x337c9b(0x40b)]%_0x2d73c8,_0x461022=_0x616884<<0x18|_0x616884<<0x10|_0x616884<<0x8|_0x616884,_0x119fe3=[],_0x30d917=0x0;_0x30d917<_0x616884;_0x30d917+=0x4)_0x119fe3[_0x337c9b(0x40c)](_0x461022);var _0x2c06b6=_0x51acc2[_0x337c9b(0x270)](_0x119fe3,_0x616884);_0x278498[_0x337c9b(0x471)](_0x2c06b6);},'unpad':function(_0x87166){var _0x376512=_0x16557d,_0x4035e4=_0x87166['words'][_0x87166[_0x376512(0x40b)]-0x1>>>0x2]&0xff;_0x87166['sigBytes']-=_0x4035e4;}};_0x1d4142[_0x16557d(0x3cb)]=_0x35f258[_0x16557d(0x287)]({'cfg':_0x35f258[_0x16557d(0x2c8)]['extend']({'mode':_0x4204af,'padding':_0x178133}),'reset':function(){var _0x1bff44=_0x16557d,_0x4ee526;_0x35f258[_0x1bff44(0x1b2)][_0x1bff44(0x26b)](this);var _0x125a86=this[_0x1bff44(0x2c8)],_0x5b5e59=_0x125a86['iv'],_0x3b3390=_0x125a86[_0x1bff44(0x271)];this[_0x1bff44(0x332)]==this[_0x1bff44(0x2d9)]?_0x4ee526=_0x3b3390[_0x1bff44(0x408)]:(_0x4ee526=_0x3b3390['createDecryptor'],this[_0x1bff44(0x285)]=0x1),this[_0x1bff44(0x278)]&&this[_0x1bff44(0x278)][_0x1bff44(0x28f)]==_0x4ee526?this['_mode'][_0x1bff44(0x3ad)](this,_0x5b5e59&&_0x5b5e59[_0x1bff44(0x371)]):(this['_mode']=_0x4ee526[_0x1bff44(0x26b)](_0x3b3390,this,_0x5b5e59&&_0x5b5e59['words']),this[_0x1bff44(0x278)][_0x1bff44(0x28f)]=_0x4ee526);},'_doProcessBlock':function(_0x28bb54,_0x25ef56){var _0x51165c=_0x16557d;this[_0x51165c(0x278)][_0x51165c(0x300)](_0x28bb54,_0x25ef56);},'_doFinalize':function(){var _0x3274f3=_0x16557d,_0x1eab45,_0x93ee0c=this[_0x3274f3(0x2c8)]['padding'];return this['_xformMode']==this[_0x3274f3(0x2d9)]?(_0x93ee0c[_0x3274f3(0x281)](this[_0x3274f3(0x1f2)],this[_0x3274f3(0x395)]),_0x1eab45=this['_process'](!0x0)):(_0x1eab45=this[_0x3274f3(0x257)](!0x0),_0x93ee0c[_0x3274f3(0x44d)](_0x1eab45)),_0x1eab45;},'blockSize':0x80/0x20});var _0x2276a2=_0x1d4142[_0x16557d(0x277)]=_0x1cec4f[_0x16557d(0x287)]({'init':function(_0x5025cb){this['mixIn'](_0x5025cb);},'toString':function(_0x4342d2){var _0x2d0414=_0x16557d;return(_0x4342d2||this['formatter'])[_0x2d0414(0x22e)](this);}}),_0x2a18f7=_0x50ca7d[_0x16557d(0x43a)]={},_0x342e30=_0x2a18f7[_0x16557d(0x313)]={'stringify':function(_0xb462bc){var _0x3e779c=_0x16557d,_0x45f732,_0x17425f=_0xb462bc[_0x3e779c(0x340)],_0x3f247d=_0xb462bc[_0x3e779c(0x2d2)];return _0x3f247d?_0x45f732=_0x51acc2['create']([0x53616c74,0x65645f5f])[_0x3e779c(0x471)](_0x3f247d)[_0x3e779c(0x471)](_0x17425f):_0x45f732=_0x17425f,_0x45f732[_0x3e779c(0x35e)](_0x223bd9);},'parse':function(_0xfbb783){var _0x32d7d8=_0x16557d,_0x565da9,_0x2face8=_0x223bd9[_0x32d7d8(0x226)](_0xfbb783),_0x349cbd=_0x2face8['words'];return _0x349cbd[0x0]==0x53616c74&&_0x349cbd[0x1]==0x65645f5f&&(_0x565da9=_0x51acc2[_0x32d7d8(0x270)](_0x349cbd['slice'](0x2,0x4)),_0x349cbd[_0x32d7d8(0x49d)](0x0,0x4),_0x2face8[_0x32d7d8(0x40b)]-=0x10),_0x2276a2[_0x32d7d8(0x270)]({'ciphertext':_0x2face8,'salt':_0x565da9});}},_0x386e0d=_0x1d4142[_0x16557d(0x242)]=_0x1cec4f[_0x16557d(0x287)]({'cfg':_0x1cec4f[_0x16557d(0x287)]({'format':_0x342e30}),'encrypt':function(_0x147256,_0x1d29fa,_0xdd6f4f,_0x202554){var _0x109044=_0x16557d;_0x202554=this[_0x109044(0x2c8)]['extend'](_0x202554);var _0x1f33f3=_0x147256[_0x109044(0x408)](_0xdd6f4f,_0x202554),_0x173b23=_0x1f33f3['finalize'](_0x1d29fa),_0xda7c01=_0x1f33f3[_0x109044(0x2c8)];return _0x2276a2[_0x109044(0x270)]({'ciphertext':_0x173b23,'key':_0xdd6f4f,'iv':_0xda7c01['iv'],'algorithm':_0x147256,'mode':_0xda7c01['mode'],'padding':_0xda7c01[_0x109044(0x305)],'blockSize':_0x147256[_0x109044(0x395)],'formatter':_0x202554[_0x109044(0x43a)]});},'decrypt':function(_0x55761b,_0x2d0c94,_0x29b753,_0x4479ba){var _0x33cc81=_0x16557d;_0x4479ba=this[_0x33cc81(0x2c8)][_0x33cc81(0x287)](_0x4479ba),_0x2d0c94=this[_0x33cc81(0x341)](_0x2d0c94,_0x4479ba[_0x33cc81(0x43a)]);var _0x22f5e1=_0x55761b[_0x33cc81(0x302)](_0x29b753,_0x4479ba)['finalize'](_0x2d0c94[_0x33cc81(0x340)]);return _0x22f5e1;},'_parse':function(_0x2c1ec2,_0x467f63){var _0x58d4b0=_0x16557d;return typeof _0x2c1ec2==_0x58d4b0(0x3a2)?_0x467f63[_0x58d4b0(0x226)](_0x2c1ec2,this):_0x2c1ec2;}}),_0x5ad204=_0x50ca7d[_0x16557d(0x45d)]={},_0x29bd01=_0x5ad204[_0x16557d(0x313)]={'execute':function(_0xa9778f,_0x449c2f,_0x200769,_0x309f46,_0x14fb00){var _0x1cf1c4=_0x16557d;if(_0x309f46||(_0x309f46=_0x51acc2['random'](0x40/0x8)),_0x14fb00)var _0x47c1f0=_0x2663f9[_0x1cf1c4(0x270)]({'keySize':_0x449c2f+_0x200769,'hasher':_0x14fb00})[_0x1cf1c4(0x342)](_0xa9778f,_0x309f46);else var _0x47c1f0=_0x2663f9[_0x1cf1c4(0x270)]({'keySize':_0x449c2f+_0x200769})[_0x1cf1c4(0x342)](_0xa9778f,_0x309f46);var _0x1eefed=_0x51acc2[_0x1cf1c4(0x270)](_0x47c1f0[_0x1cf1c4(0x371)][_0x1cf1c4(0x1f8)](_0x449c2f),_0x200769*0x4);return _0x47c1f0['sigBytes']=_0x449c2f*0x4,_0x2276a2[_0x1cf1c4(0x270)]({'key':_0x47c1f0,'iv':_0x1eefed,'salt':_0x309f46});}},_0x4e80e8=_0x1d4142['PasswordBasedCipher']=_0x386e0d[_0x16557d(0x287)]({'cfg':_0x386e0d['cfg'][_0x16557d(0x287)]({'kdf':_0x29bd01}),'encrypt':function(_0x5d6289,_0x1bada2,_0x82f624,_0x5692c){var _0x32c78f=_0x16557d;_0x5692c=this[_0x32c78f(0x2c8)][_0x32c78f(0x287)](_0x5692c);var _0x1eb847=_0x5692c[_0x32c78f(0x45d)][_0x32c78f(0x28a)](_0x82f624,_0x5d6289['keySize'],_0x5d6289[_0x32c78f(0x3da)],_0x5692c[_0x32c78f(0x2d2)],_0x5692c[_0x32c78f(0x3d1)]);_0x5692c['iv']=_0x1eb847['iv'];var _0x3ff283=_0x386e0d[_0x32c78f(0x358)][_0x32c78f(0x26b)](this,_0x5d6289,_0x1bada2,_0x1eb847[_0x32c78f(0x2d6)],_0x5692c);return _0x3ff283[_0x32c78f(0x1fc)](_0x1eb847),_0x3ff283;},'decrypt':function(_0x16448a,_0x3010d7,_0x3b5f36,_0x59c9e6){var _0xabf704=_0x16557d;_0x59c9e6=this[_0xabf704(0x2c8)]['extend'](_0x59c9e6),_0x3010d7=this[_0xabf704(0x341)](_0x3010d7,_0x59c9e6[_0xabf704(0x43a)]);var _0x1d0c8c=_0x59c9e6[_0xabf704(0x45d)][_0xabf704(0x28a)](_0x3b5f36,_0x16448a[_0xabf704(0x2b9)],_0x16448a[_0xabf704(0x3da)],_0x3010d7[_0xabf704(0x2d2)],_0x59c9e6[_0xabf704(0x3d1)]);_0x59c9e6['iv']=_0x1d0c8c['iv'];var _0x222282=_0x386e0d[_0xabf704(0x37d)]['call'](this,_0x16448a,_0x3010d7,_0x1d0c8c[_0xabf704(0x2d6)],_0x59c9e6);return _0x222282;}});}();}));}(Xe)),Xe['exports'];}var Zs=We[_0x3e9f07(0x249)],oi;function Qs(){var _0x558d9a=_0x3e9f07;return oi||(oi=0x1,function(_0x1db83d,_0x3d3162){(function(_0x22665b,_0x57bced,_0xa0fd92){var _0xa3f454=_0x4dcf;_0x1db83d[_0xa3f454(0x249)]=_0x57bced(ne(),Ui(),Gs(),Ai(),xi());}(Zs,function(_0x3229c6){var _0xddbe4=_0x4dcf;return(function(){var _0x35769d=_0x4dcf,_0x510f4e=_0x3229c6,_0x4f79d1=_0x510f4e['lib'],_0xbb8273=_0x4f79d1[_0x35769d(0x3cb)],_0x4f67e0=_0x510f4e[_0x35769d(0x42d)],_0xaf4dd2=[],_0x4024c9=[],_0x595c09=[],_0x485907=[],_0x1e0722=[],_0x275285=[],_0x3b9d43=[],_0x50e710=[],_0x598212=[],_0x32bded=[];(function(){for(var _0x5cd497=[],_0x5e1371=0x0;_0x5e1371<0x100;_0x5e1371++)_0x5e1371<0x80?_0x5cd497[_0x5e1371]=_0x5e1371<<0x1:_0x5cd497[_0x5e1371]=_0x5e1371<<0x1^0x11b;for(var _0x5161dd=0x0,_0x17a93b=0x0,_0x5e1371=0x0;_0x5e1371<0x100;_0x5e1371++){var _0x4916f7=_0x17a93b^_0x17a93b<<0x1^_0x17a93b<<0x2^_0x17a93b<<0x3^_0x17a93b<<0x4;_0x4916f7=_0x4916f7>>>0x8^_0x4916f7&0xff^0x63,_0xaf4dd2[_0x5161dd]=_0x4916f7,_0x4024c9[_0x4916f7]=_0x5161dd;var _0x1271d8=_0x5cd497[_0x5161dd],_0x33f632=_0x5cd497[_0x1271d8],_0x57299f=_0x5cd497[_0x33f632],_0x28741d=_0x5cd497[_0x4916f7]*0x101^_0x4916f7*0x1010100;_0x595c09[_0x5161dd]=_0x28741d<<0x18|_0x28741d>>>0x8,_0x485907[_0x5161dd]=_0x28741d<<0x10|_0x28741d>>>0x10,_0x1e0722[_0x5161dd]=_0x28741d<<0x8|_0x28741d>>>0x18,_0x275285[_0x5161dd]=_0x28741d;var _0x28741d=_0x57299f*0x1010101^_0x33f632*0x10001^_0x1271d8*0x101^_0x5161dd*0x1010100;_0x3b9d43[_0x4916f7]=_0x28741d<<0x18|_0x28741d>>>0x8,_0x50e710[_0x4916f7]=_0x28741d<<0x10|_0x28741d>>>0x10,_0x598212[_0x4916f7]=_0x28741d<<0x8|_0x28741d>>>0x18,_0x32bded[_0x4916f7]=_0x28741d,_0x5161dd?(_0x5161dd=_0x1271d8^_0x5cd497[_0x5cd497[_0x5cd497[_0x57299f^_0x1271d8]]],_0x17a93b^=_0x5cd497[_0x5cd497[_0x17a93b]]):_0x5161dd=_0x17a93b=0x1;}}());var _0x40ba66=[0x0,0x1,0x2,0x4,0x8,0x10,0x20,0x40,0x80,0x1b,0x36],_0x2eb995=_0x4f67e0[_0x35769d(0x48e)]=_0xbb8273['extend']({'_doReset':function(){var _0x41aab5=_0x35769d,_0x20dc48;if(!(this[_0x41aab5(0x3d0)]&&this['_keyPriorReset']===this[_0x41aab5(0x289)])){for(var _0x57613a=this['_keyPriorReset']=this['_key'],_0x427a27=_0x57613a[_0x41aab5(0x371)],_0x5900cc=_0x57613a[_0x41aab5(0x40b)]/0x4,_0xebafbf=this['_nRounds']=_0x5900cc+0x6,_0x4e6c5b=(_0xebafbf+0x1)*0x4,_0x52cef0=this[_0x41aab5(0x490)]=[],_0x2f8d66=0x0;_0x2f8d66<_0x4e6c5b;_0x2f8d66++)_0x2f8d66<_0x5900cc?_0x52cef0[_0x2f8d66]=_0x427a27[_0x2f8d66]:(_0x20dc48=_0x52cef0[_0x2f8d66-0x1],_0x2f8d66%_0x5900cc?_0x5900cc>0x6&&_0x2f8d66%_0x5900cc==0x4&&(_0x20dc48=_0xaf4dd2[_0x20dc48>>>0x18]<<0x18|_0xaf4dd2[_0x20dc48>>>0x10&0xff]<<0x10|_0xaf4dd2[_0x20dc48>>>0x8&0xff]<<0x8|_0xaf4dd2[_0x20dc48&0xff]):(_0x20dc48=_0x20dc48<<0x8|_0x20dc48>>>0x18,_0x20dc48=_0xaf4dd2[_0x20dc48>>>0x18]<<0x18|_0xaf4dd2[_0x20dc48>>>0x10&0xff]<<0x10|_0xaf4dd2[_0x20dc48>>>0x8&0xff]<<0x8|_0xaf4dd2[_0x20dc48&0xff],_0x20dc48^=_0x40ba66[_0x2f8d66/_0x5900cc|0x0]<<0x18),_0x52cef0[_0x2f8d66]=_0x52cef0[_0x2f8d66-_0x5900cc]^_0x20dc48);for(var _0x57f918=this[_0x41aab5(0x33a)]=[],_0x1cf97f=0x0;_0x1cf97f<_0x4e6c5b;_0x1cf97f++){var _0x2f8d66=_0x4e6c5b-_0x1cf97f;if(_0x1cf97f%0x4)var _0x20dc48=_0x52cef0[_0x2f8d66];else var _0x20dc48=_0x52cef0[_0x2f8d66-0x4];_0x1cf97f<0x4||_0x2f8d66<=0x4?_0x57f918[_0x1cf97f]=_0x20dc48:_0x57f918[_0x1cf97f]=_0x3b9d43[_0xaf4dd2[_0x20dc48>>>0x18]]^_0x50e710[_0xaf4dd2[_0x20dc48>>>0x10&0xff]]^_0x598212[_0xaf4dd2[_0x20dc48>>>0x8&0xff]]^_0x32bded[_0xaf4dd2[_0x20dc48&0xff]];}}},'encryptBlock':function(_0x2ceece,_0x424564){var _0x5a628c=_0x35769d;this[_0x5a628c(0x2e2)](_0x2ceece,_0x424564,this[_0x5a628c(0x490)],_0x595c09,_0x485907,_0x1e0722,_0x275285,_0xaf4dd2);},'decryptBlock':function(_0x84cfad,_0x26aaba){var _0xd50388=_0x35769d,_0x4c4804=_0x84cfad[_0x26aaba+0x1];_0x84cfad[_0x26aaba+0x1]=_0x84cfad[_0x26aaba+0x3],_0x84cfad[_0x26aaba+0x3]=_0x4c4804,this[_0xd50388(0x2e2)](_0x84cfad,_0x26aaba,this[_0xd50388(0x33a)],_0x3b9d43,_0x50e710,_0x598212,_0x32bded,_0x4024c9);var _0x4c4804=_0x84cfad[_0x26aaba+0x1];_0x84cfad[_0x26aaba+0x1]=_0x84cfad[_0x26aaba+0x3],_0x84cfad[_0x26aaba+0x3]=_0x4c4804;},'_doCryptBlock':function(_0x50f314,_0x424223,_0x4e81a4,_0x43446b,_0x160f98,_0x1e5614,_0x3ccce2,_0x96c888){for(var _0x380d1d=this['_nRounds'],_0x451d3d=_0x50f314[_0x424223]^_0x4e81a4[0x0],_0x15a33f=_0x50f314[_0x424223+0x1]^_0x4e81a4[0x1],_0x1b0fd7=_0x50f314[_0x424223+0x2]^_0x4e81a4[0x2],_0x45ba0c=_0x50f314[_0x424223+0x3]^_0x4e81a4[0x3],_0x5218cd=0x4,_0x59dca7=0x1;_0x59dca7<_0x380d1d;_0x59dca7++){var _0x2a43ba=_0x43446b[_0x451d3d>>>0x18]^_0x160f98[_0x15a33f>>>0x10&0xff]^_0x1e5614[_0x1b0fd7>>>0x8&0xff]^_0x3ccce2[_0x45ba0c&0xff]^_0x4e81a4[_0x5218cd++],_0x32c92c=_0x43446b[_0x15a33f>>>0x18]^_0x160f98[_0x1b0fd7>>>0x10&0xff]^_0x1e5614[_0x45ba0c>>>0x8&0xff]^_0x3ccce2[_0x451d3d&0xff]^_0x4e81a4[_0x5218cd++],_0x3c3245=_0x43446b[_0x1b0fd7>>>0x18]^_0x160f98[_0x45ba0c>>>0x10&0xff]^_0x1e5614[_0x451d3d>>>0x8&0xff]^_0x3ccce2[_0x15a33f&0xff]^_0x4e81a4[_0x5218cd++],_0x19d94f=_0x43446b[_0x45ba0c>>>0x18]^_0x160f98[_0x451d3d>>>0x10&0xff]^_0x1e5614[_0x15a33f>>>0x8&0xff]^_0x3ccce2[_0x1b0fd7&0xff]^_0x4e81a4[_0x5218cd++];_0x451d3d=_0x2a43ba,_0x15a33f=_0x32c92c,_0x1b0fd7=_0x3c3245,_0x45ba0c=_0x19d94f;}var _0x2a43ba=(_0x96c888[_0x451d3d>>>0x18]<<0x18|_0x96c888[_0x15a33f>>>0x10&0xff]<<0x10|_0x96c888[_0x1b0fd7>>>0x8&0xff]<<0x8|_0x96c888[_0x45ba0c&0xff])^_0x4e81a4[_0x5218cd++],_0x32c92c=(_0x96c888[_0x15a33f>>>0x18]<<0x18|_0x96c888[_0x1b0fd7>>>0x10&0xff]<<0x10|_0x96c888[_0x45ba0c>>>0x8&0xff]<<0x8|_0x96c888[_0x451d3d&0xff])^_0x4e81a4[_0x5218cd++],_0x3c3245=(_0x96c888[_0x1b0fd7>>>0x18]<<0x18|_0x96c888[_0x45ba0c>>>0x10&0xff]<<0x10|_0x96c888[_0x451d3d>>>0x8&0xff]<<0x8|_0x96c888[_0x15a33f&0xff])^_0x4e81a4[_0x5218cd++],_0x19d94f=(_0x96c888[_0x45ba0c>>>0x18]<<0x18|_0x96c888[_0x451d3d>>>0x10&0xff]<<0x10|_0x96c888[_0x15a33f>>>0x8&0xff]<<0x8|_0x96c888[_0x1b0fd7&0xff])^_0x4e81a4[_0x5218cd++];_0x50f314[_0x424223]=_0x2a43ba,_0x50f314[_0x424223+0x1]=_0x32c92c,_0x50f314[_0x424223+0x2]=_0x3c3245,_0x50f314[_0x424223+0x3]=_0x19d94f;},'keySize':0x100/0x20});_0x510f4e['AES']=_0xbb8273[_0x35769d(0x1cd)](_0x2eb995);}()),_0x3229c6[_0xddbe4(0x48e)];}));}(We)),We[_0x558d9a(0x249)];}var er=Qs();const tr=ke(er);var ir=Ui();const ai=ke(ir);var Ze={'exports':{}},nr=Ze[_0x3e9f07(0x249)],ci;function sr(){var _0x1b1a22=_0x3e9f07;return ci||(ci=0x1,function(_0x2b4a8c,_0x517b8c){(function(_0x2251be,_0xce3d9d){var _0x41a25d=_0x4dcf;_0x2b4a8c[_0x41a25d(0x249)]=_0xce3d9d(ne());}(nr,function(_0x4b2cf8){var _0x12f25a=_0x4dcf;return _0x4b2cf8[_0x12f25a(0x23b)][_0x12f25a(0x280)];}));}(Ze)),Ze[_0x1b1a22(0x249)];}var rr=sr();const or=ke(rr);var Qe={'exports':{}},ar=Qe[_0x3e9f07(0x249)],hi;function cr(){var _0x35a12d=_0x3e9f07;return hi||(hi=0x1,function(_0xba321,_0x181eb7){(function(_0x51dc2c,_0x5b950e){_0xba321['exports']=_0x5b950e(ne());}(ar,function(_0x228994){var _0x6e406e=_0x4dcf;return(function(){var _0x28da3f=_0x4dcf;if(typeof ArrayBuffer==_0x28da3f(0x377)){var _0x298d87=_0x228994,_0x501480=_0x298d87[_0x28da3f(0x29c)],_0x25980f=_0x501480[_0x28da3f(0x1f4)],_0x2945b6=_0x25980f[_0x28da3f(0x3ad)],_0xd84f67=_0x25980f['init']=function(_0x4f0c95){var _0x5db009=_0x28da3f;if(_0x4f0c95 instanceof ArrayBuffer&&(_0x4f0c95=new Uint8Array(_0x4f0c95)),(_0x4f0c95 instanceof Int8Array||typeof Uint8ClampedArray<'u'&&_0x4f0c95 instanceof Uint8ClampedArray||_0x4f0c95 instanceof Int16Array||_0x4f0c95 instanceof Uint16Array||_0x4f0c95 instanceof Int32Array||_0x4f0c95 instanceof Uint32Array||_0x4f0c95 instanceof Float32Array||_0x4f0c95 instanceof Float64Array)&&(_0x4f0c95=new Uint8Array(_0x4f0c95['buffer'],_0x4f0c95['byteOffset'],_0x4f0c95[_0x5db009(0x335)])),_0x4f0c95 instanceof Uint8Array){for(var _0x1a19eb=_0x4f0c95['byteLength'],_0x444a99=[],_0x82fa4e=0x0;_0x82fa4e<_0x1a19eb;_0x82fa4e++)_0x444a99[_0x82fa4e>>>0x2]|=_0x4f0c95[_0x82fa4e]<<0x18-_0x82fa4e%0x4*0x8;_0x2945b6[_0x5db009(0x26b)](this,_0x444a99,_0x1a19eb);}else _0x2945b6['apply'](this,arguments);};_0xd84f67[_0x28da3f(0x35b)]=_0x25980f;}}()),_0x228994[_0x6e406e(0x29c)][_0x6e406e(0x1f4)];}));}(Qe)),Qe[_0x35a12d(0x249)];}var hr=cr();const _r=ke(hr);var et={'exports':{}},lr=et[_0x3e9f07(0x249)],_i;function _0x5145(){var _0x742f45=['_transformSelections','CHANGESET_REJ','textRanges','SOCKET_FAILED','body','/universer-api/authz','_getSendChangesetTimeout','OpenSSL','[CollaborationSessionService]:\x20socket\x20error','_undoStacks','Could\x20not\x20dynamically\x20require\x20\x22','objectID','_getCurrentRevision','_initRequestHeader','save\x20fail\x20reason\x20is\x20','capture','ruleRefresh','/-/object/-/batch_allowed','JOINING','_configService','duration','toLowerCase','sid','socketService','SNAPSHOT_URL_KEY','[SyncedState]:\x20invalid\x20calling\x20to\x20`resend`.','PERMISSION_DENIED','resend','_state','IDLE','INVALID_ARGUMENT','awaitingChangeset','_clearCollaborationTimeoutTimer','_getAPIPrefixPath','[CollaborationUndoRedoService]','substr','collaMsg','\x0aAfter:\x20','_xformMode','_telemetryService','4604328XMcAgL','byteLength','_imageSourceCache','search','forEach','refreshPermission','_invKeySchedule','_updateState','_univerInstanceService','random','_getRedoStack','_lockTransition','ciphertext','_parse','compute','_stopTelemetryCollaborationNewChangeset','/collaborator','[DataLoaderService]','msCrypto','_syncEditingCollabCursor','UPDATE_CURSOR','getImage','_initCloseConn','image/bmp','state$','univer-pro.collaboration-client.network-condition.service','/universer-api/file/{fileID}/sign-url','getOwnPropertyDescriptor','_localeService','getUnitId','_event$','_members$','_applyRemoteChangeset','_clearHeartbeatTimer','_remoteChangesetQueue','_clearLocalCache','encrypt','_clearScheduledTask','OPTIONAL','prototype','eventID','setCurrentUser','toString','[FetchingMissState]:\x20not\x20expected\x20to\x20receive\x20ack\x20when\x20`this._awaitingChangeset`\x20is\x20null!','ENSURE_SNAPSHOT_EXECUTION','_scheduleTimestamp','This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!','[OfflineState]:\x20received\x20acknowledgement.','connection\x20error','decryptBlock','BASE64','socket\x20close','_schedule','65889EhJUom','_doFinalize','CHANGESET_ACK','UNRECOGNIZED','592xTfozo','UNIVER_DOC','collabSubmitChangesetUrl','_onRecvEvent','words','People','src','_undoRedoService','MSG_FOR_ERROR','complete','function','_authzIoService','onTransformRemoteChangesetByIMECache','not_collab','UNDEFINED','unsubscribe','decrypt','initWorkbookPermissionChange','getCollabEntity$','_socket$','_DEC_XFORM_MODE','readAsDataURL','getCurrentUnitForType','next','loginUrlKey','defineProperty','onRemoteRej','_acknowledgedAwaitingChangeset','MUTATION','UNKNOWN_CMD','crypto','unit-cache-','_sendHeartbeatTimer','avatar','entries','editing\x20status\x20changed\x20to','USERS_LEAVE','session.room-not-exists','has','\x20to\x20','blockSize','createInstance','max','_waitCount','code','UNIVER_SLIDE','657293BlReTb','getTypeOfUnitDisposed$','createCollaborator','HEARTBEAT_INTERVAL','_getUndoStack','_onRemoteRetry','[CollaborationEntity]:\x20initial\x20state\x20has\x20been\x20created\x20before.\x20You\x20should\x20not\x20call\x20\x22init\x22\x20twice.','string','[PendingState]:\x20unhandled\x20univer\x20type:\x20','replace','Hex','SHA1','result','saveSheetBlock','value','updateCollaborator','c1Prime','_checkMissing','init','_socketService','saveChangeset','cmd','_isPermissionRej','getTypeOfUnitAdded$','4osHoSr','COMPRESS_MUTATION_APPLY','_config','error','[CollaborationSession]','_memberService','PERMISSION_REJ','bind','type','filter','EvpKDF','getUnitType','members$','/allowed','getImageSourceCache','isPermissionRej','onCommentUpdate','_initMergeInterceptor','abs','fetching\x20the\x20latest\x20document\x20from\x20the\x20server.','\x0aCurrent:\x20','onSyncEditingCollabCursor','pipe','_joinRoom','BlockCipher','_tryEnsureSocket','equals','_handlerCallback','debug','_nRounds','hasher','_roomMembers','apply','AWAITING_WITH_PENDING','EXCHANGE_SIGN_URL_SERVER_URL_KEY','\x22.\x20Please\x20configure\x20the\x20dynamicRequireTargets\x20or/and\x20ignoreDynamicRequires\x20option\x20of\x20@rollup/plugin-commonjs\x20appropriately\x20for\x20this\x20require\x20call\x20to\x20work.','updateCursorEvent','APPLY_REVISION_CONFILICT','__Key__','ivSize','listRoles','[serializeCombRequest]:\x20should\x20not\x20fall\x20into\x20default\x20branch!','_onRemoteChangeset','members','batchAllowed','allowed','executeCommand','rev','getMember','fetch_missing','findIndex','_onOffline','MD5','_onCombEvent','collaboratorID','_http','floor','ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=','getTime','_onUserJoin','_incrementRevisionNumber','sessionStatus','univer-pro.collaboration-client.single-active-unit-service','_disableEditing','_loadSheet','onTransformSelections','LOCAL_CACHE_INTERVAL','message$','_append','size','m2Prime','asObservable','_createSocketURL','_executeRemoteChangeset','NEW_CHANGESETS','/universer-api/oidc/authpage','onRemoteChangeset','5339067PtMEvS','crypto.getRandomValues()\x20not\x20supported.\x20See\x20https://github.com/uuidjs/uuid#getrandomvalues-not-supported','LICENSE_MAX_UNITS_EXCEEDED','workbook','onlyLocal','updatePermissionPoint','/resources','\x20-\x20','createEncryptor','_clearUndo','_onUserLeave','sigBytes','push','loadUnit','_waitForHeartbeatResponse','_state$','LICENSE_IMPORT_SIZE_EXCEEDED','submit\x20changeset\x20error!','_removeRoom','_onJoinRoomEvent','onTransformIME','getValue','_collaborationSessionService','onload','subject','ceil','SelectRange','getResourcesRequest','_prevBlock','_HTTPService','interceptor','csShouldRetryEvent','list','_showConflictNotification','ERROR_IMAGE','_map','_unitID','Worksheet','appendMutation','_createInitialState','[FetchMissState]','entityInit$','_retryConnectingTimer','[PendingState]:\x20invalid\x20calling\x20to\x20`resend`.','COMPRESS_MUTATION_SEND','algo','mutations','_throwTelemetryCollaborationNewChangeset','/role','patch','HttpImport','reject','Cipher','requestParams','_substituteUndoStack','authzUrl','_resendTimeout','YUUMI_URL_COL_OUT_OF_RANGE','format','CLOSE_ROOM','Base','FAIL','clamp','onTransformRemoteChangesetByStateCache\x20callback\x20is\x20not\x20added\x20yet.','LEAVE','_initUnitPermissionChange','set','[CollaborationEntity]:\x20cannot\x20apply\x20missing\x20results\x20on\x20other\x20states!','UNISCRIPT_RUN','ws://127.0.0.1:8000/universer-api/comb/connect','reqId','_eventService','retryConnectingInterval','close','transformChangesets','SUBMIT_CHANGESET','repeat','unpad','readyForCollab','_onRemoteRejected','clear','HMAC','fetching\x20missing\x20changesets\x20from\x20','updatePermissionObjEvent','_collabSessionService','post','joinEvent','_fetchMissChangesets','Encryptor','_sender','getSheetBlock','url','delete','kdf','saveImage','_createHandler','LICENSE_EXPORT_SIZE_EXCEEDED','uploadFileServerUrl','headers','_transformStateCache','TOO_MANY_REQUESTS','rng','$super','_transformRemoteChangesetByIMECache','from','{fileID}','sessionStatus$','_getSessionTicket','length','_onFetchMissResult','_onConflict','_onLocalMutation','_resendWithTimeout','concat','json','joinRsp','Native\x20crypto\x20module\x20could\x20not\x20be\x20used\x20to\x20get\x20secure\x20random\x20number.','open$','_getDownloadEndpointURL','resolve','clearUndoRedo','putCollaborators','_transformIMECache','_scheduleCollaborationTimeoutTimer','closeSession','StreamCipher','clone','session.room-cnt-exceeds','_listenToNetworkCondition','_collaborationTimeoutTimer','reconnect','userID','_injector','send','_replaceFileID','_onConnectionOpen','awaiting','LIVESHARE_TERMINATE','FileId','_permissionService','editingUnit','__esModule','AES','state','_keySchedule','error$','Univer','revision','_resendTimer','objectActions','catch','BufferedBlockAlgorithm','SOCKET_FAILED_RETRY','charCodeAt','fromCharCode','pauseCollaboration','?url=','splice','target','_getCtorByUniverType','_change$','onMissingChangesets','PERSON','UNIVER_UNKNOWN','_snapshotService','INGEST','onMissedChangesetFetched','_tryReconnect','_hash','unknown','toggleOnline','PSEUDO_FETCH_MISSING_RESULT','HttpExport','updateMember','_replayCachedMutations','objectType','addImageSourceCache','unitId\x20is\x20not\x20found','getCurrentUser','_singleActiveUnitService','_transitionLocked','_entityInit$','11jCRANs','_toggleOffline','UUID','startTime','reset','[CollaborationEntity]','_compressMutationService','_networkConditionService','_submitChangeset','_onConnectionFailed','enableAuthServer','collaboration-client.local-cache-service','_sessions','_createInitialStateImpl','_sessionStatus$','localeService','disposeWithMe','hostname','UNIVER_PROJECT','/fetchmissing?from=','SNAPSHOT_SERVER_URL_KEY','getActiveSheet','_createHmacHelper','status','snapshotServerUrl','default','map','ONLINE','_revisionService','isArray','FETCH_MISSING','_createHelper','_getUploadFileURL','CHANGESET_SHOULD_RETRY','ERROR_EXCEED_SIZE','image/jpeg','USERS_ENTER','_getAPIPrefix','_shouldReportTelemetry','NOT_COLLAB','SYNCED','onCommandExecuted','getLatestCsReqIdBySid','getConfig','_changesetReqId','offline','iterations','_pendingMutations','image/jpg','responseType','_socket','selections','getCollabEntity','sendChangesetTimeout','_onRemoteACK','add','[OfflineState]:\x20invalid\x20calling\x20to\x20`resend`.','10324680cFTMNw','NO_OTHER_CLIENTS_EDITING','UNIVER_COLLABORATION_CLIENT_PLUGIN','_oKey','&assign=','SNAPSHOT_HAS_BEEN_REMOVED','session','INTERNAL_ERROR','Pkcs7','_exhaustRemoteChangesetQueue','online$','_data','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','WordArray','onRemoteAck','liveShareOperation','wsSessionTicketUrl','slice','getUnitStatus$','actions','[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.','mixIn','addHandlerCallback','put','_sendingTimer','originalMeta','_getLoginPath','&source=','/rev/','changesets','update','createSocket','_transformService','routeKey','LOGIN_URL_KEY','getWorkbookSelections','_rescheduleHeartbeat','getPermissionPoint','/block/','_entities','_socketReady','liveShareNewHost','UPDATE_PERMISSION_OBJ','localCacheService','_emitMembers','[UniverCollaborationClientPlugin]','searchParams','SUBMIT_CHANGESET_TIMEOUT','NOT_FOUND','loadOfflineData','Hasher','c2Prime','origin','every','now','5UTcnix','_handler','get','data','updateOfflineData','APPLY_PERMISSION_DENIED','Error\x20on\x20receiving\x20event','you\x20should\x20override\x20\x22IUndoRedoService\x22\x20provided\x20in\x20\x22core\x22\x20package!','parse','reduce','DEFAULT_FILE_NAME','fetchMissingChangesets','_retryCount','failed\x20to\x20apply\x20missed\x20changesets!','/universer-api/comb','[CollaborationState]:\x20apply\x20error!','stringify','_commentUpdate$','_transformRemoteChangesetByStateCache','HELLO','_roomCreated$','_commandService','_updateLocalCache','waitForRoom$','_initDependencies','application/json','_httpService','JOIN_ROOM_FULL','reverse','enc','permissionRejEvent','charAt','getAllMembers','signUrlServerUrl','event$','Workbook','SerializableCipher','method','POST','RETRY_CONNECTING_MAX_COUNT','unitId','/object/','_unitInfo$','exports','file','SHOULD_CLOSE_CONN','getDeserializedSheetBlock','dispose','getInterceptPoints','[CollaborationSocketService]:\x20failed\x20to\x20get\x20web\x20socket\x20factory!','YUUMI_RATE_OVER_LIMIT','ticket','Undefined','_onMessage','JOIN_ROOM_PERMISSION_DENIED','onTransformRemoteChangesetByIMECache\x20callback\x20is\x20not\x20added\x20yet.','_collaborationPaused','_process','Decryptor','getTargetByPermissionId','_telemetryInfo','join','then','_iv','getSnapshotAPIPath','baseRev','leaveEvent','requireSession','[OfflineState]:\x20received\x20changeset.','50042ojKuYi','x-univer-host','randomBytes','conflict','readInt32LE','csRejEvent','hasOwnProperty','session.join-failed','call','APPLY_REJECT','onTransformRemoteChangesetByStateCache','46lshzAS','COLLAB_SUBMIT_CHANGESET_URL','create','mode','_hasher','pending','FETCH_MISS','session.room-permission-denied','symbol','CipherParams','_mode','withCredentials','sin','_decreaseWaiting','location','LIVESHARE_NEW_HOST','find','downloadEndpointUrl','Utf8','pad','/universer-api/stream/file/upload','onSendChangeset','fetchThroughInterceptors','_minBufferSize','_sheetTransformSelectionsService','extend','COMPLETION_FINISHED','_key','execute','_commentService','_logService','unitID','getCurrentSelections','__creator','title','encryptBlock','OTHER_CLIENT_EDITING','ERROR_IMAGE_TYPE','getRandomValues','HmacSHA1','UnitEmbedded','OFFLINE','loadSheet','params','_nDataBytes','onLocalMutation','lib','enableSingleActiveInstanceLock','emitEvent','_awaitingChangeset','SNAPSHOT_INVALID_SNAPSHOT','removeMember','_candidateSocket','_clearTimeoutTimer','_localCacheService','YUUMI_UNABLE_LOAD_URL','_substituteRedoStack','_type','finalize','EXCHANGE_UPLOAD_FILE_SERVER_URL_KEY','shouldCloseConn','[PendingState]:\x20received\x20acknowledgement.','YUUMI_SUBSCRIPTION_NOT_FOUND','OTHER_CLIENTS_EDITING','_transformUndoredo','image/png','onStateChange','_loadDoc','JOIN','[CollaborationSessionService]','getUnitOnRev','close$','action','_updateStatus','LIVESHARE_OPERATION','keySize','COLLAB_WEB_SOCKET_URL','_members','_doProcessBlock','CHANGESET_REVISION_CONFILICT','dispose$','saveSnapshot','_userManagerService','HmacMD5','randomUUID','ALREADY_EXISTS','subType','_iKey','sessionTicket','_sendHeartbeat','cfg','COMMENT_UPDATE','indexOf','CONNECTOR_DATA_TOO_LARGE','toggleOffline','CONFLICT','override','UNAUTHENTICATED','_cipher','JOIN_ROOM_FAILED','salt','_timeoutTimer','HEARTBEAT','disableLocalCache','key','runId','synced','_ENC_XFORM_MODE','GLOBAL_ROOMS_CNT_EXCEEDS','commentUpdate$','_startTelemetryCollaborationNewChangeset','_registerDependencies','/object','[FetchingMissState]:\x20invalid\x20calling\x20to\x20`resend`.','/-/object/list','memberID','_doCryptBlock','roles','_clearRedo','subscribe','UNKNOWN_CODE','_init','?size=','fetchMiss','AWAITING','transformUndoRedo','Base64','_socketMessageSubscription','_unlockTransition','JOIN_ROOM_NOT_EXISTS','transformMutationsWithChangeset','NoPadding','LIVESHARE_FETCH_OPERATIONS','SEND_CHANGESET_TIMEOUT','onRemoteRetry','getCurrentRevOfUnit','pluginName','change$','onTransformState','_status$','status$','stopTime','confirm','_reverseMap','UNIVER_SHEET','10421770CyJvoH','processBlock','setShowComponents','createDecryptor','_collaborationUIEventService','transformSelections','padding','/unit/','collaborators','registerHTTPInterceptor','RECV','encodeURIComponent','range'];_0x5145=function(){return _0x742f45;};return _0x5145();}function ur(){return _i||(_i=0x1,function(_0x464757,_0x581684){(function(_0x12ea76,_0x205dbc,_0x23f7bc){var _0x6a301=_0x4dcf;_0x464757[_0x6a301(0x249)]=_0x205dbc(ne(),xi());}(lr,function(_0x382ea2){var _0x196650=_0x4dcf;return _0x382ea2['pad'][_0x196650(0x2f1)]={'pad':function(){},'unpad':function(){}},_0x382ea2[_0x196650(0x281)][_0x196650(0x2f1)];}));}(et)),et['exports'];}var dr=ur();const fr=ke(dr);function vr(_0x475be4,_0x1711da){var _0xae758c=_0x3e9f07;const _0x189c1c=_0x1711da-_0x475be4[_0xae758c(0x46c)]%_0x1711da,_0x1b108f=String[_0xae758c(0x49a)](_0x189c1c)[_0xae758c(0x44c)](_0x189c1c);return _0x475be4+_0x1b108f;}function pr(_0x17957f,_0x810325){var _0x2e420e=_0x3e9f07;const _0x5a409b=_r[_0x2e420e(0x33d)](0x10),_0x46d17a=vr(_0x17957f,0x10),_0x53dfdb=tr[_0x2e420e(0x358)](or['parse'](_0x46d17a),ai['parse'](_0x810325),{'iv':_0x5a409b,'padding':fr});return _0x5a409b[_0x2e420e(0x471)](_0x53dfdb[_0x2e420e(0x340)])[_0x2e420e(0x35e)](ai);}function mr(){var _0x3692ea=_0x3e9f07;const _0x502d11=_0x251d28()[_0x3692ea(0x3d9)];if(_0x502d11){const _0x120811={'time':Math[_0x3692ea(0x3eb)](Date['now']()/0x3e8),'domain':location[_0x3692ea(0x1bf)]};return pr(JSON[_0x3692ea(0x22e)](_0x120811),_0x502d11);}}var gr=Object[_0x3e9f07(0x386)],Sr=Object[_0x3e9f07(0x34f)],Er=(_0x3b80e9,_0x1ab9bd,_0x2785ed,_0x4e99fa)=>{for(var _0x4c3664=_0x4e99fa>0x1?void 0x0:_0x4e99fa?Sr(_0x1ab9bd,_0x2785ed):_0x1ab9bd,_0x8da2a=_0x3b80e9['length']-0x1,_0x5ea96f;_0x8da2a>=0x0;_0x8da2a--)(_0x5ea96f=_0x3b80e9[_0x8da2a])&&(_0x4c3664=(_0x4e99fa?_0x5ea96f(_0x1ab9bd,_0x2785ed,_0x4c3664):_0x5ea96f(_0x4c3664))||_0x4c3664);return _0x4e99fa&&_0x4c3664&&gr(_0x1ab9bd,_0x2785ed,_0x4c3664),_0x4c3664;},Ir=(_0x5d8698,_0x4312d6)=>(_0x113129,_0x57f842)=>_0x4312d6(_0x113129,_0x57f842,_0x5d8698);let at=class{constructor(_0x59b39f){var _0x1c6dac=_0x3e9f07;this[_0x1c6dac(0x238)]=_0x59b39f,this['_initRequestHeader']();}[_0x3e9f07(0x319)](){var _0x15f562=_0x3e9f07;this['_httpService'][_0x15f562(0x308)]({'interceptor':(_0x10bfb,_0x4847c4)=>{var _0x54bcb8=_0x15f562;const _0x520cf=_0x10bfb[_0x54bcb8(0x462)],_0x120cfe=mr();return _0x120cfe&&_0x520cf['set'](_0x54bcb8(0x264),_0x120cfe),_0x4847c4(_0x10bfb);}});}};at=Er([Ir(0x0,_0x1e11c8(_0x26621f))],at);var Tr=Object[_0x3e9f07(0x386)],Cr=Object[_0x3e9f07(0x34f)],br=(_0xc7f869,_0x3a17a6,_0x167e55,_0x277b5c)=>{var _0x4056f9=_0x3e9f07;for(var _0x575641=_0x277b5c>0x1?void 0x0:_0x277b5c?Cr(_0x3a17a6,_0x167e55):_0x3a17a6,_0x2110b0=_0xc7f869[_0x4056f9(0x46c)]-0x1,_0x5e70a1;_0x2110b0>=0x0;_0x2110b0--)(_0x5e70a1=_0xc7f869[_0x2110b0])&&(_0x575641=(_0x277b5c?_0x5e70a1(_0x3a17a6,_0x167e55,_0x575641):_0x5e70a1(_0x575641))||_0x575641);return _0x277b5c&&_0x575641&&Tr(_0x3a17a6,_0x167e55,_0x575641),_0x575641;},gt=(_0x5d6773,_0x3c5090)=>(_0x5d6cb6,_0x533430)=>_0x3c5090(_0x5d6cb6,_0x533430,_0x5d6773);let Ot=class extends _0x37e680{constructor(_0x559b0f,_0x5e2105,_0x39ff3b){var _0x2844be=_0x3e9f07;super(),N(this,_0x2844be(0x248),new _0x251b5f(null)),N(this,'unitInfo$',this['_unitInfo$']['asObservable']()),(this[_0x2844be(0x28c)]=_0x559b0f,this[_0x2844be(0x4a4)]=_0x5e2105,this[_0x2844be(0x2a4)]=_0x39ff3b);}async[_0x3e9f07(0x40d)](_0x458c00,_0x2f2133,_0x1281f6){var _0x49d744=_0x3e9f07;this[_0x49d744(0x248)][_0x49d744(0x384)]({'unitId':_0x458c00,'type':_0x2f2133,'subUnitId':_0x1281f6});let _0x5c33e2=null;switch(_0x2f2133){case Q[_0x49d744(0x2fe)]:{_0x5c33e2=await this[_0x49d744(0x3f3)](_0x458c00);break;}case Q[_0x49d744(0x36e)]:{_0x5c33e2=await this[_0x49d744(0x2b1)](_0x458c00);break;}default:{this[_0x49d744(0x28c)][_0x49d744(0x3b6)](_0x49d744(0x345),'Unknown\x20type.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.');break;}}return _0x5c33e2;}async[_0x3e9f07(0x3f3)](_0x16b243){var _0xb42fbe=_0x3e9f07,_0x3ca9fc;let _0x31af93=0x0;const _0x904c1a=await((_0x3ca9fc=this[_0xb42fbe(0x2a4)])==null?void 0x0:_0x3ca9fc[_0xb42fbe(0x218)](_0x16b243));return _0x904c1a&&(_0x904c1a[_0xb42fbe(0x32b)]||_0x904c1a[_0xb42fbe(0x42e)][_0xb42fbe(0x46c)]!==0x0)&&(_0x31af93=_0x904c1a['rev']),_0x31af93===0x0&&this[_0xb42fbe(0x28c)][_0xb42fbe(0x3cf)](_0xb42fbe(0x345),'fetching\x20the\x20latest\x20document\x20from\x20the\x20server.'),this[_0xb42fbe(0x4a4)][_0xb42fbe(0x298)](_0x16b243,_0x31af93);}async[_0x3e9f07(0x2b1)](_0xe1aede){var _0x2c0932=_0x3e9f07,_0x1a8540;let _0x5ea26c=0x0;const _0x5e52fa=await((_0x1a8540=this['_localCacheService'])==null?void 0x0:_0x1a8540['loadOfflineData'](_0xe1aede));return _0x5e52fa&&(_0x5e52fa[_0x2c0932(0x32b)]||_0x5e52fa[_0x2c0932(0x42e)]['length']!==0x0)&&(_0x5ea26c=_0x5e52fa[_0x2c0932(0x3e2)]),_0x5ea26c===0x0&&this[_0x2c0932(0x28c)][_0x2c0932(0x3cf)](_0x2c0932(0x345),_0x2c0932(0x3c6)),this[_0x2c0932(0x4a4)]['loadDoc'](_0xe1aede,_0x5ea26c);}};Ot=br([gt(0x0,_0x290771),gt(0x1,_0x1e11c8(_0x298fb0)),gt(0x2,_0x5a8d4f(X))],Ot);var Rr=Object[_0x3e9f07(0x386)],yr=Object[_0x3e9f07(0x34f)],Or=(_0x51f7d7,_0x3a4298,_0x59952d,_0x2add8e)=>{for(var _0x4dbba9=_0x2add8e>0x1?void 0x0:_0x2add8e?yr(_0x3a4298,_0x59952d):_0x3a4298,_0x226b9d=_0x51f7d7['length']-0x1,_0x423306;_0x226b9d>=0x0;_0x226b9d--)(_0x423306=_0x51f7d7[_0x226b9d])&&(_0x4dbba9=(_0x2add8e?_0x423306(_0x3a4298,_0x59952d,_0x4dbba9):_0x423306(_0x4dbba9))||_0x4dbba9);return _0x2add8e&&_0x4dbba9&&Rr(_0x3a4298,_0x59952d,_0x4dbba9),_0x4dbba9;},St=(_0x41681e,_0x5f5004)=>(_0x4fb62c,_0x37038f)=>_0x5f5004(_0x4fb62c,_0x37038f,_0x41681e);const Pr=[_0x3e9f07(0x2af),_0x3e9f07(0x1d1),_0x3e9f07(0x1de),'image/gif',_0x3e9f07(0x34b)],Nr=0x5*0x400*0x400,Dr=_0x3e9f07(0x2a9),wr=_0x3e9f07(0x282),Ur=_0x3e9f07(0x3d5),Ar=_0x3e9f07(0x34e);let Pt=class{constructor(_0x1f5b06,_0x978be8,_0x5ea97b){var _0x3fc737=_0x3e9f07;N(this,'_waitCount',0x0),N(this,_0x3fc737(0x4a0),new _0x459b05()),N(this,_0x3fc737(0x2f7),this[_0x3fc737(0x4a0)]),N(this,'_imageSourceCache',new Map()),(this[_0x3fc737(0x238)]=_0x1f5b06,this[_0x3fc737(0x31f)]=_0x978be8,this[_0x3fc737(0x33c)]=_0x5ea97b);}['setWaitCount'](_0x562a53){var _0x171a69=_0x3e9f07;this[_0x171a69(0x398)]=_0x562a53,this[_0x171a69(0x4a0)][_0x171a69(0x384)](_0x562a53);}[_0x3e9f07(0x3c1)](_0x54acc6,_0x27f5fc){var _0x3bde14=_0x3e9f07;if(_0x27f5fc===_0x5f024b[_0x3bde14(0x366)]){const _0x45a5c9=new Image();return _0x45a5c9[_0x3bde14(0x373)]=_0x54acc6,_0x45a5c9;}return this[_0x3bde14(0x336)][_0x3bde14(0x220)](_0x54acc6);}[_0x3e9f07(0x1a8)](_0x3ca9d1,_0x4ac0cd,_0x965738){var _0x12e96f=_0x3e9f07;_0x4ac0cd===_0x5f024b['BASE64']||_0x965738==null||this[_0x12e96f(0x336)]['set'](_0x3ca9d1,_0x965738);}async[_0x3e9f07(0x349)](_0x1071b3){var _0xec4b77=_0x3e9f07;try{const _0xb63469=this[_0xec4b77(0x486)](this['_getSignURL'](),''+_0x1071b3),_0x46256e=(await this['_httpService'][_0xec4b77(0x220)](_0xb63469))['body'];if(_0x46256e[_0xec4b77(0x3b6)]&&_0x46256e[_0xec4b77(0x3b6)][_0xec4b77(0x399)]===Ti['OK']){const _0xd6e96a=new URL(_0x46256e['url'],this[_0xec4b77(0x476)]())[_0xec4b77(0x35e)]();return Promise[_0xec4b77(0x477)](_0xd6e96a);}return Promise[_0xec4b77(0x433)](_0x46256e[_0xec4b77(0x3b6)]);}catch(_0x464f1e){return Promise[_0xec4b77(0x433)](_0x464f1e);}}async[_0x3e9f07(0x45e)](_0x3b1f0f){var _0x4e8be4=_0x3e9f07;let _0x5a46ba='';if(!Pr['includes'](_0x3b1f0f[_0x4e8be4(0x3bb)]))return this[_0x4e8be4(0x27b)](),Promise[_0x4e8be4(0x433)](new Error(_0x4351ac[_0x4e8be4(0x293)]));if(_0x3b1f0f[_0x4e8be4(0x3f8)]>Nr)return this[_0x4e8be4(0x27b)](),Promise[_0x4e8be4(0x433)](new Error(_0x4351ac[_0x4e8be4(0x1d0)]));try{const _0x2e45fb=new FormData();_0x2e45fb['append'](_0x4e8be4(0x24a),_0x3b1f0f);const _0x3575e6=this[_0x4e8be4(0x33c)]['getFocusedUnit'](),_0x5bc732=_0x3575e6==null?void 0x0:_0x3575e6['getUnitId']();if(!_0x5bc732)throw new Error(_0x4e8be4(0x1a9));const _0x101722=this[_0x4e8be4(0x1ce)]()+_0x4e8be4(0x2e8)+_0x3b1f0f[_0x4e8be4(0x3f8)][_0x4e8be4(0x35e)]()+_0x4e8be4(0x202)+Ci[_0x4e8be4(0x296)]+_0x4e8be4(0x1eb)+encodeURIComponent(_0x5bc732),_0x1469e7=await(await fetch(_0x101722,{'method':_0x4e8be4(0x244),'body':_0x2e45fb}))[_0x4e8be4(0x472)]();if(typeof _0x1469e7[_0x4e8be4(0x48a)]!=_0x4e8be4(0x3a2))return this[_0x4e8be4(0x27b)](),Promise[_0x4e8be4(0x433)](new Error(_0x4351ac['ERROR_IMAGE']));_0x5a46ba=_0x1469e7[_0x4e8be4(0x48a)];}catch{return this[_0x4e8be4(0x27b)](),Promise[_0x4e8be4(0x433)](new Error(_0x4351ac[_0x4e8be4(0x422)]));}return new Promise((_0x4d512d,_0x2d3e86)=>{var _0x392279=_0x4e8be4;const _0x1e9b13=new FileReader();_0x1e9b13[_0x392279(0x382)](_0x3b1f0f),_0x1e9b13[_0x392279(0x417)]=_0x447a6e=>{var _0x55eb5d=_0x392279,_0x49cd79;const _0x32a602=(_0x49cd79=_0x447a6e[_0x55eb5d(0x49e)])==null?void 0x0:_0x49cd79[_0x55eb5d(0x3a7)];if(_0x32a602==null){this[_0x55eb5d(0x27b)](),_0x2d3e86(new Error(_0x4351ac[_0x55eb5d(0x422)]));return;}const _0x2c5ef5=_0xc1dd15['generateRandomId'](0x6);_0x4d512d({'imageId':_0x2c5ef5,'imageSourceType':_0x5f024b[_0x55eb5d(0x1b0)],'source':_0x5a46ba,'base64Cache':_0x32a602,'status':_0x4351ac['SUCCUSS']}),this['_decreaseWaiting']();};});}[_0x3e9f07(0x1ce)](){var _0x3c8d3e=_0x3e9f07,_0x3d454f,_0x1b5d0f;const _0x4c3099=this['_configService'][_0x3c8d3e(0x1d9)](Dr),_0x2d9506=this[_0x3c8d3e(0x31f)]['getConfig'](Y);return(_0x1b5d0f=(_0x3d454f=_0x2d9506==null?void 0x0:_0x2d9506[_0x3c8d3e(0x461)])!=null?_0x3d454f:_0x4c3099)!=null?_0x1b5d0f:wr;}['_getSignURL'](){var _0x495020=_0x3e9f07,_0x4091ba,_0x981053;const _0x4eb81f=this[_0x495020(0x31f)][_0x495020(0x1d9)](Ur),_0x1fa687=this[_0x495020(0x31f)][_0x495020(0x1d9)](Y);return(_0x981053=(_0x4091ba=_0x1fa687==null?void 0x0:_0x1fa687[_0x495020(0x23f)])!=null?_0x4091ba:_0x4eb81f)!=null?_0x981053:Ar;}['_getDownloadEndpointURL'](){var _0x2ec06a=_0x3e9f07,_0x3a9420;const _0x43f514=this[_0x2ec06a(0x31f)]['getConfig'](Y);return(_0x3a9420=_0x43f514==null?void 0x0:_0x43f514[_0x2ec06a(0x27f)])!=null?_0x3a9420:location['origin'];}[_0x3e9f07(0x486)](_0x430172,_0x6ee6f9){var _0x3012ed=_0x3e9f07;return _0x430172[_0x3012ed(0x3a4)](_0x3012ed(0x469),_0x6ee6f9);}[_0x3e9f07(0x27b)](){var _0x2c253d=_0x3e9f07;this[_0x2c253d(0x398)]-=0x1,this[_0x2c253d(0x4a0)][_0x2c253d(0x384)](this[_0x2c253d(0x398)]);}};Pt=Or([St(0x0,_0x1e11c8(_0x26621f)),St(0x1,_0x155bcb),St(0x2,_0x1e11c8(_0x2bea00))],Pt);function _0x4dcf(_0x149416,_0x4685ae){var _0x51453c=_0x5145();return _0x4dcf=function(_0x4dcfb5,_0x47bf04){_0x4dcfb5=_0x4dcfb5-0x19f;var _0xfa95e2=_0x51453c[_0x4dcfb5];return _0xfa95e2;},_0x4dcf(_0x149416,_0x4685ae);}var xr=Object[_0x3e9f07(0x386)],Lr=Object[_0x3e9f07(0x34f)],Mr=(_0x4e5ce7,_0x32f0a6,_0x4c3537,_0x45a1bc)=>{var _0x12c9aa=_0x3e9f07;for(var _0x33f3a9=_0x45a1bc>0x1?void 0x0:_0x45a1bc?Lr(_0x32f0a6,_0x4c3537):_0x32f0a6,_0x55b59e=_0x4e5ce7[_0x12c9aa(0x46c)]-0x1,_0x10e2b5;_0x55b59e>=0x0;_0x55b59e--)(_0x10e2b5=_0x4e5ce7[_0x55b59e])&&(_0x33f3a9=(_0x45a1bc?_0x10e2b5(_0x32f0a6,_0x4c3537,_0x33f3a9):_0x10e2b5(_0x33f3a9))||_0x33f3a9);return _0x45a1bc&&_0x33f3a9&&xr(_0x32f0a6,_0x4c3537,_0x33f3a9),_0x33f3a9;},li=(_0x30f3ae,_0x5b9f18)=>(_0xf4f306,_0x4c1ba9)=>_0x5b9f18(_0xf4f306,_0x4c1ba9,_0x30f3ae);const $r=_0x3e9f07(0x311);let Nt=class{constructor(_0x3aa23e,_0x1bde10){var _0x5f466d=_0x3e9f07;this[_0x5f466d(0x31f)]=_0x3aa23e,this[_0x5f466d(0x41d)]=_0x1bde10;}[_0x3e9f07(0x32d)](){var _0x4e47d2=_0x3e9f07,_0x349000,_0x4ef0f9;const _0x10eb10=this[_0x4e47d2(0x31f)][_0x4e47d2(0x1d9)](wi),_0x330301=this['_configService'][_0x4e47d2(0x1d9)](Y);return(_0x4ef0f9=(_0x349000=_0x330301==null?void 0x0:_0x330301[_0x4e47d2(0x437)])!=null?_0x349000:_0x10eb10)!=null?_0x4ef0f9:$r;}async[_0x3e9f07(0x420)](_0x124af6){var _0x9c7d9f=_0x3e9f07;const _0x9b9a08=this[_0x9c7d9f(0x32d)]()+_0x9c7d9f(0x344);return{'list':[{'title':_0x9c7d9f(0x372),'mentions':(await this[_0x9c7d9f(0x41d)][_0x9c7d9f(0x220)](_0x9b9a08,{'params':{'objectID':_0x124af6[_0x9c7d9f(0x246)],'unitID':_0x124af6[_0x9c7d9f(0x246)]}}))['body'][_0x9c7d9f(0x307)][_0x9c7d9f(0x1c8)](_0x5cb5ab=>({'objectId':_0x5cb5ab['id'],'name':_0x5cb5ab[_0x9c7d9f(0x418)]['name'],'metadata':{'icon':_0x5cb5ab[_0x9c7d9f(0x418)][_0x9c7d9f(0x38e)]},'label':_0x5cb5ab[_0x9c7d9f(0x418)]['name'],'objectType':_0x3d41b3['PERSON']})),'metadata':{},'type':_0x3d41b3[_0x9c7d9f(0x4a2)]}]};}};Nt=Mr([li(0x0,_0x1e11c8(_0x155bcb)),li(0x1,_0x1e11c8(_0x26621f))],Nt);var Hr=Object[_0x3e9f07(0x386)],kr=Object[_0x3e9f07(0x34f)],jr=(_0x2706a0,_0x27beb8,_0x296551,_0x536ac1)=>{var _0x46cfdb=_0x3e9f07;for(var _0x2b6059=_0x536ac1>0x1?void 0x0:_0x536ac1?kr(_0x27beb8,_0x296551):_0x27beb8,_0x2e76db=_0x2706a0[_0x46cfdb(0x46c)]-0x1,_0x3b9584;_0x2e76db>=0x0;_0x2e76db--)(_0x3b9584=_0x2706a0[_0x2e76db])&&(_0x2b6059=(_0x536ac1?_0x3b9584(_0x27beb8,_0x296551,_0x2b6059):_0x3b9584(_0x2b6059))||_0x2b6059);return _0x536ac1&&_0x2b6059&&Hr(_0x27beb8,_0x296551,_0x2b6059),_0x2b6059;},Se=(_0x3be68b,_0x1758b1)=>(_0x286016,_0x4ca5fb)=>_0x1758b1(_0x286016,_0x4ca5fb,_0x3be68b);let ct=class extends _0x37e680{constructor(_0x31fa24,_0x84da1c,_0x73d53,_0x48b29d,_0x5e12bf,_0x2c76d9,_0x4a4fdb){var _0x138aa9=_0x3e9f07;super(),this[_0x138aa9(0x484)]=_0x31fa24,this['_univerInstanceService']=_0x84da1c,this[_0x138aa9(0x48b)]=_0x73d53,this[_0x138aa9(0x416)]=_0x48b29d,this[_0x138aa9(0x303)]=_0x5e12bf,this[_0x138aa9(0x378)]=_0x2c76d9,this['_undoRedoService']=_0x4a4fdb,this[_0x138aa9(0x441)](),this[_0x138aa9(0x34a)]();}[_0x3e9f07(0x34a)](){var _0x5ca988=_0x3e9f07;const _0xf4bbf7=async _0x5ead98=>{var _0x1fc74b=_0x4dcf;(await this[_0x1fc74b(0x416)][_0x1fc74b(0x261)](_0x5ead98))[_0x1fc74b(0x240)][_0x1fc74b(0x3c9)](_0x3bdd8d(_0x2db160=>_0x2db160[_0x1fc74b(0x35c)]===_0x2f82c9['SHOULD_CLOSE_CONN']),_0x5f360b(this[_0x1fc74b(0x2be)]))[_0x1fc74b(0x2e5)](_0x17bcab=>{var _0x10f309=_0x1fc74b;const _0x317920=_0x17bcab,{reason:_0x65cbf0}=_0x317920[_0x10f309(0x221)];this['_collaborationUIEventService']['emitEvent']({'id':re[_0x10f309(0x43b)],'data':_0x65cbf0}),this[_0x10f309(0x48b)][_0x10f309(0x405)](new _0x50259a(_0x5ead98)['id'],!0x1),this[_0x10f309(0x416)][_0x10f309(0x47c)](_0x5ead98);});};_0x35784b(this['_univerInstanceService'][_0x5ca988(0x3b2)](_0x2188e5[_0x5ca988(0x2fe)]),this[_0x5ca988(0x33c)][_0x5ca988(0x3b2)](_0x2188e5[_0x5ca988(0x36e)]))[_0x5ca988(0x3c9)](_0x5c84b6(_0x1fc5f4=>_0x1fc5f4['getUnitId']()),_0x3bdd8d(_0x1c9246=>!_0x1187d0(_0x1c9246)),_0x5f360b(this['dispose$']))[_0x5ca988(0x2e5)](_0x16251e=>{_0xf4bbf7(_0x16251e);});}[_0x3e9f07(0x441)](){var _0x3720c0=_0x3e9f07;const _0x4a7aec=async _0x115e56=>{var _0x494fdf=_0x4dcf;(await this['_collaborationSessionService'][_0x494fdf(0x261)](_0x115e56))['event$'][_0x494fdf(0x3c9)](_0x3bdd8d(_0x51c7bc=>_0x51c7bc[_0x494fdf(0x35c)]===_0x2f82c9['UPDATE_PERMISSION_OBJ']),_0x5f360b(this['dispose$']))[_0x494fdf(0x2e5)](_0x14ab92=>{var _0x4a2c82=_0x494fdf;const _0x348d7e=_0x14ab92,{objectId:_0x2849de}=_0x348d7e[_0x4a2c82(0x221)];_0x2849de===_0x115e56?this['initWorkbookPermissionChange'](_0x115e56):this[_0x4a2c82(0x339)](_0x115e56,_0x2849de);});};_0x35784b(this[_0x3720c0(0x33c)][_0x3720c0(0x3b2)](_0x2188e5['UNIVER_SHEET']),this['_univerInstanceService'][_0x3720c0(0x3b2)](_0x2188e5[_0x3720c0(0x36e)]))[_0x3720c0(0x3c9)](_0x5c84b6(_0xefb7a0=>_0xefb7a0[_0x3720c0(0x351)]()),_0x3bdd8d(_0x2aaa13=>!_0x1187d0(_0x2aaa13)),_0x5f360b(this[_0x3720c0(0x2be)]))[_0x3720c0(0x2e5)](_0x5a568e=>{_0x4a7aec(_0x5a568e);});}async[_0x3e9f07(0x37e)](_0x4d5f45){var _0xb8889c=_0x3e9f07,_0x3be95e;const _0x41154d=_0x4d5f45||((_0x3be95e=this[_0xb8889c(0x33c)][_0xb8889c(0x383)](_0x2188e5[_0xb8889c(0x2fe)]))==null?void 0x0:_0x3be95e[_0xb8889c(0x351)]());_0x41154d&&this[_0xb8889c(0x378)][_0xb8889c(0x3e0)]({'objectID':_0x41154d,'objectType':_0x85bb76[_0xb8889c(0x241)],'unitID':_0x41154d,'actions':_0x49ee90})[_0xb8889c(0x25c)](_0x301d81=>{var _0x4dc724=_0xb8889c;_0x4de039()[_0x4dc724(0x338)](_0x1b8ff3=>{var _0x360fe3=_0x4dc724;const _0x2759e4=new _0x1b8ff3(_0x41154d),_0x2cdd11=_0x2759e4[_0x360fe3(0x2c4)],_0x5366f4=_0x301d81[_0x360fe3(0x27e)](_0xeecee8=>_0xeecee8[_0x360fe3(0x2b6)]===_0x2cdd11);_0x5366f4&&this[_0x360fe3(0x48b)]['updatePermissionPoint'](_0x2759e4['id'],_0x5366f4[_0x360fe3(0x3e0)]);});});}[_0x3e9f07(0x339)](_0x5ec606,_0x941a87){var _0x4e4290=_0x3e9f07;const _0x273c53=this[_0x4e4290(0x484)][_0x4e4290(0x220)](_0x38060e),_0x56ef7a=_0x273c53[_0x4e4290(0x259)](_0x5ec606,_0x941a87);let _0x21d4ba=!0x1;if(_0x56ef7a){const [_0x14e03a,_0x4dbb5e]=_0x56ef7a;this[_0x4e4290(0x378)]['allowed']({'objectID':_0x941a87,'unitID':_0x5ec606,'objectType':_0x85bb76[_0x4e4290(0x425)],'actions':_0x50d06d})['then'](_0x1ddb32=>{var _0x3ff639=_0x4e4290;let _0x352094='';_0x42598e()[_0x3ff639(0x338)](_0x3b61ee=>{var _0x2201a2=_0x3ff639,_0x16eb80;const _0x15179a=new _0x3b61ee(_0x5ec606,_0x4dbb5e),_0x39dc03=_0x15179a[_0x2201a2(0x2c4)],_0xdda843=_0x1ddb32[_0x2201a2(0x27e)](_0x3c8f8c=>_0x3c8f8c[_0x2201a2(0x2b6)]===_0x39dc03);_0xdda843&&(((_0x16eb80=this[_0x2201a2(0x48b)]['getPermissionPoint'](_0x15179a['id']))==null?void 0x0:_0x16eb80[_0x2201a2(0x3a9)])!==_0xdda843[_0x2201a2(0x3e0)]&&(_0x21d4ba=!0x0),this['_permissionService'][_0x2201a2(0x405)](_0x15179a['id'],_0xdda843['allowed']),_0x352094+=_0xdda843[_0x2201a2(0x2b6)]+'_'+_0xdda843[_0x2201a2(0x3e0)]);}),_0x273c53[_0x3ff639(0x31c)](_0x941a87+'_'+_0x352094),_0x21d4ba&&this[_0x3ff639(0x374)]['clearUndoRedo'](_0x5ec606);});}const _0x25a3c9=this[_0x4e4290(0x484)][_0x4e4290(0x220)](_0x3890de)[_0x4e4290(0x259)](_0x5ec606,_0x941a87);if(_0x25a3c9){const [_0x480914,_0x2db685]=_0x25a3c9;this[_0x4e4290(0x378)][_0x4e4290(0x3e0)]({'objectID':_0x941a87,'unitID':_0x5ec606,'objectType':_0x85bb76[_0x4e4290(0x425)],'actions':_0x269054})[_0x4e4290(0x25c)](_0x1c7a37=>{var _0x3db76b=_0x4e4290;_0x120024()[_0x3db76b(0x338)](_0x54095a=>{var _0x27433e=_0x3db76b,_0x1397b0;const _0x579e02=new _0x54095a(_0x5ec606,_0x2db685),_0x470d13=_0x579e02[_0x27433e(0x2c4)],_0x3a81c2=_0x1c7a37['find'](_0x4e56f6=>_0x4e56f6[_0x27433e(0x2b6)]===_0x470d13);_0x3a81c2&&(((_0x1397b0=this[_0x27433e(0x48b)][_0x27433e(0x20c)](_0x579e02['id']))==null?void 0x0:_0x1397b0[_0x27433e(0x3a9)])!==_0x3a81c2[_0x27433e(0x3e0)]&&(_0x21d4ba=!0x0),this[_0x27433e(0x48b)][_0x27433e(0x405)](_0x579e02['id'],_0x3a81c2[_0x27433e(0x3e0)]));}),_0x21d4ba&&this[_0x3db76b(0x374)][_0x3db76b(0x478)](_0x5ec606);});}const _0x4f0b4c=this[_0x4e4290(0x484)][_0x4e4290(0x220)](_0x5cd8a9),_0x3bfbda=_0x4f0b4c['getTargetByPermissionId'](_0x5ec606,_0x941a87);if(_0x3bfbda){const [_0x5a2503,_0x2119e6]=_0x3bfbda;this[_0x4e4290(0x378)]['allowed']({'objectID':_0x941a87,'unitID':_0x5ec606,'objectType':_0x85bb76[_0x4e4290(0x41a)],'actions':_0x50d06d})[_0x4e4290(0x25c)](_0x21f7ca=>{var _0x554772=_0x4e4290;let _0x24bc21='';_0x2fda61()['forEach'](_0x46ed96=>{var _0x53ab75=_0x4dcf,_0xc1e0f2;const _0x5b9569=new _0x46ed96(_0x5ec606,_0x2119e6,_0x941a87),_0x5edf0d=_0x5b9569[_0x53ab75(0x2c4)],_0x47247f=_0x21f7ca[_0x53ab75(0x27e)](_0x11b308=>_0x11b308[_0x53ab75(0x2b6)]===_0x5edf0d);_0x47247f&&(((_0xc1e0f2=this['_permissionService'][_0x53ab75(0x20c)](_0x5b9569['id']))==null?void 0x0:_0xc1e0f2[_0x53ab75(0x3a9)])!==_0x47247f['allowed']&&(_0x21d4ba=!0x0),this['_permissionService'][_0x53ab75(0x405)](_0x5b9569['id'],_0x47247f[_0x53ab75(0x3e0)]),_0x24bc21+=_0x47247f['action']+'_'+_0x47247f['allowed']);}),_0x4f0b4c[_0x554772(0x31c)](_0x941a87+'_'+_0x24bc21),_0x21d4ba&&this[_0x554772(0x374)][_0x554772(0x478)](_0x5ec606);});}}};ct=jr([Se(0x0,_0x1e11c8(_0x202b1e)),Se(0x1,_0x2bea00),Se(0x2,_0x11d5fc),Se(0x3,_0x1e11c8(Le)),Se(0x4,_0x1e11c8(pe)),Se(0x5,_0x54a128),Se(0x6,_0x34ff18)],ct);var Br=Object[_0x3e9f07(0x386)],Fr=Object[_0x3e9f07(0x34f)],Vr=(_0x59b640,_0x30d649,_0x50d908,_0x22b7fd)=>{var _0x34b109=_0x3e9f07;for(var _0x55b7ba=_0x22b7fd>0x1?void 0x0:_0x22b7fd?Fr(_0x30d649,_0x50d908):_0x30d649,_0x1aee0d=_0x59b640[_0x34b109(0x46c)]-0x1,_0x2b1f86;_0x1aee0d>=0x0;_0x1aee0d--)(_0x2b1f86=_0x59b640[_0x1aee0d])&&(_0x55b7ba=(_0x22b7fd?_0x2b1f86(_0x30d649,_0x50d908,_0x55b7ba):_0x2b1f86(_0x55b7ba))||_0x55b7ba);return _0x22b7fd&&_0x55b7ba&&Br(_0x30d649,_0x50d908,_0x55b7ba),_0x55b7ba;},ui=(_0x3e13c8,_0x19a434)=>(_0x3052cf,_0x4007c0)=>_0x19a434(_0x3052cf,_0x4007c0,_0x3e13c8);let Dt=class{constructor(_0x43b56e,_0x5d59d1){var _0xcc1135=_0x3e9f07;this[_0xcc1135(0x31f)]=_0x43b56e,this['_httpService']=_0x5d59d1;}async[_0x3e9f07(0x2b4)](_0x5bc6aa,_0x5d81a1){var _0x493ac4=_0x3e9f07,_0x3fab9b;const {unitID:_0x56932f,type:_0x37233c,revision:_0x50f7fb=0x0}=_0x5d81a1,_0x36dfdf=this[_0x493ac4(0x25e)]()+'/'+_0x37233c+_0x493ac4(0x306)+_0x56932f+_0x493ac4(0x203)+_0x50f7fb,_0x3018d2=(await this[_0x493ac4(0x238)][_0x493ac4(0x220)](_0x36dfdf))[_0x493ac4(0x310)],_0x2b30e1=(_0x3fab9b=_0x3018d2['snapshot'])==null?void 0x0:_0x3fab9b[_0x493ac4(0x403)];if(_0x2b30e1){const _0x75f4fb=_0x2b30e1==null?void 0x0:_0x2b30e1[_0x493ac4(0x200)],_0x7627c5=_0x384de5['encode'](_0x1be9bd(_0x75f4fb));_0x2b30e1['originalMeta']=_0x7627c5,Object[_0x493ac4(0x38f)](_0x2b30e1['sheets'])[_0x493ac4(0x338)](([,_0x38f0db])=>{var _0x2ef940=_0x493ac4;const _0x42a8b2=_0x38f0db[_0x2ef940(0x200)],_0x4eedcf=_0x384de5['encode'](_0x1be9bd(_0x42a8b2));_0x38f0db[_0x2ef940(0x200)]=_0x4eedcf;});}return _0x3018d2;}async[_0x3e9f07(0x45a)](_0x395e08,_0xbd9d76){var _0x3600ae=_0x3e9f07;const {unitID:_0x53b7f5,type:_0x3c891e,blockID:_0x1dddee}=_0xbd9d76,_0x215e5c=this[_0x3600ae(0x1d3)]()+'/'+_0x3c891e+_0x3600ae(0x306)+_0x53b7f5+_0x3600ae(0x20d)+_0x1dddee;return(await this[_0x3600ae(0x238)][_0x3600ae(0x220)](_0x215e5c))[_0x3600ae(0x310)];}async[_0x3e9f07(0x24c)](_0x3f81be,_0x36056f){var _0x42a102=_0x3e9f07;const {unitID:_0x29aa98,type:_0x4d2a77,blockID:_0x577065}=_0x36056f,_0x21dd5c=this[_0x42a102(0x1d3)]()+_0x42a102(0x20d)+_0x4d2a77+_0x42a102(0x306)+_0x29aa98+_0x42a102(0x20d)+_0x577065;return(await this['_httpService'][_0x42a102(0x220)](_0x21dd5c))[_0x42a102(0x310)];}async[_0x3e9f07(0x229)](_0x5ecb5a,_0x12c659){var _0x2c0845=_0x3e9f07;const {unitID:_0x4b5fca,type:_0x197d0a,from:_0x3be527,to:_0x8bd81f}=_0x12c659,_0x16255c=this[_0x2c0845(0x1d3)]()+'/'+_0x197d0a+'/unit/'+_0x4b5fca+_0x2c0845(0x1c1)+_0x3be527+'&to='+_0x8bd81f;return(await this[_0x2c0845(0x238)][_0x2c0845(0x220)](_0x16255c))['body'];}[_0x3e9f07(0x25e)](){var _0x25b3a4=_0x3e9f07,_0x69675b;return(_0x69675b=this[_0x25b3a4(0x31f)][_0x25b3a4(0x1d9)](Dn))!=null?_0x69675b:this[_0x25b3a4(0x1d3)]();}[_0x3e9f07(0x1d3)](){var _0x186a97=_0x3e9f07,_0x5b0377,_0x4b9431;const _0x1a8b0c=this[_0x186a97(0x31f)][_0x186a97(0x1d9)](Pn),_0x451587=this[_0x186a97(0x31f)]['getConfig'](Y);return(_0x4b9431=(_0x5b0377=_0x451587==null?void 0x0:_0x451587[_0x186a97(0x1c6)])!=null?_0x5b0377:_0x1a8b0c)!=null?_0x4b9431:Nn;}async[_0x3e9f07(0x41b)](_0x2b375b,_0x405cae){var _0x182207=_0x3e9f07;const _0x49db8f='/universer-api/snapshot/'+_0x405cae[_0x182207(0x3bb)]+'/unit/'+_0x405cae[_0x182207(0x28d)]+_0x182207(0x406);return(await this[_0x182207(0x238)][_0x182207(0x220)](_0x49db8f,{'params':{'resourceId':JSON['stringify'](_0x405cae['resourceIDs'])}}))[_0x182207(0x310)];}[_0x3e9f07(0x2bf)](){var _0x3d58e9=_0x3e9f07;throw new Error(_0x3d58e9(0x362));}[_0x3e9f07(0x3a8)](){var _0x5b6e1a=_0x3e9f07;throw new Error(_0x5b6e1a(0x362));}[_0x3e9f07(0x3af)](){var _0x2493c8=_0x3e9f07;throw new Error(_0x2493c8(0x362));}['copyFileMeta'](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}[_0x3e9f07(0x1d8)](){var _0x27ea8e=_0x3e9f07;throw new Error(_0x27ea8e(0x362));}};Dt=Vr([ui(0x0,_0x155bcb),ui(0x1,_0x1e11c8(_0x26621f))],Dt);var Wr=Object[_0x3e9f07(0x386)],Gr=Object[_0x3e9f07(0x34f)],Kr=(_0x11a5b3,_0x414650,_0x2403c3,_0x238764)=>{var _0x2695de=_0x3e9f07;for(var _0x54f375=_0x238764>0x1?void 0x0:_0x238764?Gr(_0x414650,_0x2403c3):_0x414650,_0x391d0d=_0x11a5b3[_0x2695de(0x46c)]-0x1,_0x37aed4;_0x391d0d>=0x0;_0x391d0d--)(_0x37aed4=_0x11a5b3[_0x391d0d])&&(_0x54f375=(_0x238764?_0x37aed4(_0x414650,_0x2403c3,_0x54f375):_0x37aed4(_0x54f375))||_0x54f375);return _0x238764&&_0x54f375&&Wr(_0x414650,_0x2403c3,_0x54f375),_0x54f375;},Ae=(_0x207ac1,_0x22e004)=>(_0x5d4cb5,_0x1ce4a5)=>_0x22e004(_0x5d4cb5,_0x1ce4a5,_0x207ac1);let wt=class extends _0x4a61c6{constructor(_0x1888d6,_0x5f02b4,_0x27eb57,_0x359fd4,_0x37c306){var _0x297b56=_0x3e9f07;super(_0x1888d6,_0x5f02b4,_0x27eb57),this[_0x297b56(0x207)]=_0x359fd4,this[_0x297b56(0x28c)]=_0x37c306;}[_0x3e9f07(0x2eb)](_0x2f976c,_0x2c23cf){var _0x19f868=_0x3e9f07;const _0x294876=this[_0x19f868(0x39f)](_0x2f976c);if(_0x294876)try{const _0x55a880=this['_transformStack'](_0x294876,_0x2c23cf);this[_0x19f868(0x436)](_0x2f976c,_0x55a880);}catch(_0x5950d7){this[_0x19f868(0x28c)][_0x19f868(0x3b6)](_0x19f868(0x32e),_0x5950d7),this[_0x19f868(0x409)](_0x2f976c);}const _0x3593d0=this[_0x19f868(0x33e)](_0x2f976c);if(_0x3593d0)try{const _0x54452b=this['_transformStack'](_0x3593d0,_0x2c23cf);this[_0x19f868(0x2a6)](_0x2f976c,_0x54452b);}catch(_0x4dd6f9){this['_logService'][_0x19f868(0x3b6)](_0x4dd6f9),this[_0x19f868(0x2e4)](_0x2f976c);}}['_clearUndo'](_0x309812){var _0x586dc5=_0x3e9f07;const _0x5ceab6=this[_0x586dc5(0x39f)](_0x309812);_0x5ceab6&&(_0x5ceab6[_0x586dc5(0x46c)]=0x0,this['_updateStatus']());}['_clearRedo'](_0x133afb){var _0x4dc77e=_0x3e9f07;const _0xaf69d0=this[_0x4dc77e(0x33e)](_0x133afb);_0xaf69d0&&(_0xaf69d0[_0x4dc77e(0x46c)]=0x0,this['_updateStatus']());}[_0x3e9f07(0x436)](_0x5def8e,_0x5d85fe){var _0x3b266c=_0x3e9f07;this[_0x3b266c(0x315)]['set'](_0x5def8e,_0x5d85fe),this['_updateStatus']();}['_substituteRedoStack'](_0x348963,_0x490742){var _0x4cb838=_0x3e9f07;this['_redoStacks'][_0x4cb838(0x442)](_0x348963,_0x490742),this[_0x4cb838(0x2b7)]();}['_transformStack'](_0x55fd89,_0x1156bc){var _0x1966a4=_0x3e9f07;const _0x1c08bf=[];let _0x4e287d=_0x1156bc,_0x381a89=_0x1156bc;for(let _0x27dfde=_0x55fd89[_0x1966a4(0x46c)]-0x1;_0x27dfde>=0x0;_0x27dfde--){const {unitID:_0x11e6fe,undoMutations:_0x45e03e,redoMutations:_0x4ac81c}=_0x55fd89[_0x27dfde],_0x43f2c7=this['_transformService'][_0x1966a4(0x2f0)](_0x4e287d,_0x45e03e),_0x568d5d=this[_0x1966a4(0x207)]['transformMutationsWithChangeset'](_0x381a89,_0x4ac81c);if(_0x4dbb28(_0x43f2c7)||_0x4dbb28(_0x568d5d)){this['_logService'][_0x1966a4(0x3b6)](_0x1966a4(0x32e),'transformStack\x20failed!',_0x43f2c7,_0x568d5d);break;}_0x4e287d=_0x43f2c7[_0x1966a4(0x3ab)],_0x381a89=_0x568d5d['c1Prime'],_0x1c08bf[_0x1966a4(0x40c)]({'unitID':_0x11e6fe,'undoMutations':_0x43f2c7[_0x1966a4(0x3f9)],'redoMutations':_0x568d5d[_0x1966a4(0x3f9)]});}return _0x1c08bf[_0x1966a4(0x23a)]();}};wt=Kr([Ae(0x0,_0x2bea00),Ae(0x1,_0x5f1d0c),Ae(0x2,_0x3ea56e),Ae(0x3,_0x48d905),Ae(0x4,_0x290771)],wt);var Li=Object[_0x3e9f07(0x386)],zr=Object[_0x3e9f07(0x34f)],Yr=(_0x311c6a,_0x4dd9f0,_0x202bbc)=>_0x4dd9f0 in _0x311c6a?Li(_0x311c6a,_0x4dd9f0,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x202bbc}):_0x311c6a[_0x4dd9f0]=_0x202bbc,qr=(_0x43701f,_0x3723b5,_0x1a4955,_0x271a10)=>{var _0x472c5e=_0x3e9f07;for(var _0xe07d14=_0x271a10>0x1?void 0x0:_0x271a10?zr(_0x3723b5,_0x1a4955):_0x3723b5,_0x54a075=_0x43701f[_0x472c5e(0x46c)]-0x1,_0x5310a3;_0x54a075>=0x0;_0x54a075--)(_0x5310a3=_0x43701f[_0x54a075])&&(_0xe07d14=(_0x271a10?_0x5310a3(_0x3723b5,_0x1a4955,_0xe07d14):_0x5310a3(_0xe07d14))||_0xe07d14);return _0x271a10&&_0xe07d14&&Li(_0x3723b5,_0x1a4955,_0xe07d14),_0xe07d14;},Et=(_0x517aaa,_0x5ef0fe)=>(_0x2dd62c,_0x1d68e3)=>_0x5ef0fe(_0x2dd62c,_0x1d68e3,_0x517aaa),Jr=(_0x4c67ed,_0x4987e7,_0x333f10)=>Yr(_0x4c67ed,_0x4987e7+'',_0x333f10);const Xr=_0x3e9f07(0x1e9);let Ut=class extends _0x18ed1f{constructor(_0x1141ed=Wn,_0x4e82f1,_0x3fa9a5,_0x1e90b0){var _0x1528fb=_0x3e9f07;super(),this[_0x1528fb(0x3b5)]=_0x1141ed,this['_logService']=_0x4e82f1,this['_injector']=_0x3fa9a5,this[_0x1528fb(0x31f)]=_0x1e90b0;const {..._0xb92abd}=this[_0x1528fb(0x3b5)];this['_configService']['setConfig'](Y,_0xb92abd);}['onStarting'](){var _0x3ff6a4=_0x3e9f07;this[_0x3ff6a4(0x2dd)](),this[_0x3ff6a4(0x236)]();}[_0x3e9f07(0x2dd)](){var _0x3b4cbf=_0x3e9f07,_0x2236a5,_0x37732d,_0x363bbe,_0x2553b7;this[_0x3b4cbf(0x484)][_0x3b4cbf(0x393)](_0x34ff18)&&this[_0x3b4cbf(0x28c)][_0x3b4cbf(0x3b6)](_0x3b4cbf(0x214),_0x3b4cbf(0x225));const _0x2a23e5=_0x3961a8([[_0x34ff18,{'useClass':wt}],[Le],[xe],[nt],[ot],[at],[Ri],[ct],[pe],[Ot],[bi,{'useClass':(_0x37732d=(_0x2236a5=this[_0x3b4cbf(0x3b5)])==null?void 0x0:_0x2236a5[_0x3b4cbf(0x323)])!=null?_0x37732d:It}],[_0x4152e1,{'useClass':Dt}],[_0x54a128,{'useClass':yt}],[_0x97aeda,{'useClass':Pt}],[_0xe93ae0,{'useClass':Nt}],[rt],[Rt]],(_0x363bbe=this['_config'])==null?void 0x0:_0x363bbe[_0x3b4cbf(0x2ce)]);if(!((_0x2553b7=this[_0x3b4cbf(0x3b5)])!=null&&_0x2553b7[_0x3b4cbf(0x29d)])){const _0x175d07=_0x2a23e5[_0x3b4cbf(0x3e5)](([_0x1455bd])=>_0x1455bd===_t);_0x175d07!==-0x1&&_0x2a23e5[_0x3b4cbf(0x49d)](_0x175d07,0x1);}_0x500574(this[_0x3b4cbf(0x484)],_0x2a23e5);}[_0x3e9f07(0x236)](){var _0x2e1316=_0x3e9f07,_0x598505,_0xd80a76,_0x4984f7;this[_0x2e1316(0x484)][_0x2e1316(0x220)](_0x26621f)[_0x2e1316(0x308)]({'priority':0x14,'interceptor':_0x390e4e({'maxParallel':0x6})}),(_0x598505=this[_0x2e1316(0x3b5)])!=null&&_0x598505['enableOfflineEditing']||(_0xd80a76=this[_0x2e1316(0x484)][_0x2e1316(0x220)](X,_0x1ae54f[_0x2e1316(0x35a)]))==null||_0xd80a76[_0x2e1316(0x2d5)](),(_0x4984f7=this[_0x2e1316(0x3b5)])!=null&&_0x4984f7[_0x2e1316(0x1b8)]&&_0x9c5c37(this[_0x2e1316(0x484)],[[ot]]),_0x9c5c37(this['_injector'],[[at],[rt],[ct]]);}};Jr(Ut,_0x3e9f07(0x2f6),Xr),Ut=qr([_0x2c0cb9(_0x3bdc67,_0x5f5b65,_0x13ae65),Et(0x1,_0x290771),Et(0x2,_0x1e11c8(_0x202b1e)),Et(0x3,_0x155bcb)],Ut);export{wi as AUTHZ_URL_KEY,yt as AuthzIoHttpService,ue as AwaitingState,ae as AwaitingWithPendingState,Y as COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY,jn as COLLAB_SUBMIT_CHANGESET_URL_KEY,Un as COLLAB_WEB_SOCKET_URL_KEY,rt as CollaborationController,st as CollaborationEntity,Pt as CollaborationImageIoService,Tt as CollaborationSession,Le as CollaborationSessionService,It as CollaborationSocketService,Pi as CollaborationStatus,re as CollaborationUIEventId,pe as CollaborationUIEventService,wt as CollaborativeUndoRedoService,Ri as CommentService,de as ConflictState,An as DEFAULT_COLLAB_WEB_SOCKET_URL,Ot as DataLoaderService,Ct as DocCollaborationEntity,te as FetchingMissState,Ln as HEARTBEAT_INTERVAL_KEY,Ei as HEARTBEAT_TIMEOUT_KEY,bi as ICollaborationSocketService,X as ILocalCacheService,Gn as INetworkConditionService,_t as ISingleActiveUnitService,lo as LOCAL_CACHE_INTERVAL,_o as LOCAL_CACHE_INTERVAL_KEY,Fn as LOGIN_URL_KEY,xe as MemberService,Nt as MentionIoHttpService,fe as OfflineState,oe as PendingState,Hn as RETRY_CONNECTING_MAX_COUNT_KEY,ho as SEND_CHANGESET_TIMEOUT_KEY,Pn as SNAPSHOT_SERVER_URL_KEY,Dn as SNAPSHOT_URL_KEY,Te as SessionStatus,bt as SheetCollaborationEntity,nt as SheetTransformSelectionsService,Dt as SnapshotServerOverHTTPService,Ne as SyncedState,yi as UnitStatus,Ut as UniverCollaborationClientPlugin,Kn as deserializeToCombResponse,uo as getLocalCacheKey,zn as serializeCombRequest};
|