@univerjs-pro/collaboration-client 0.6.7-experimental.20250328-3aaa828 → 0.6.7-experimental.20250328-21e0bec
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/facade.js +1 -1
- package/lib/index.js +1 -1
- package/lib/locale/en-US.js +1 -1
- package/lib/locale/fa-IR.js +1 -1
- package/lib/locale/fr-FR.js +1 -1
- package/lib/locale/ru-RU.js +1 -1
- package/lib/locale/vi-VN.js +1 -1
- package/lib/locale/zh-CN.js +1 -1
- package/lib/locale/zh-TW.js +1 -1
- package/lib/umd/facade.js +1 -1
- package/lib/umd/index.js +1 -1
- package/lib/umd/locale/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 _0x2b51d4=_0x3286;(function(_0x43fa86,_0x436841){var _0x2dec0c=_0x3286,_0x2c9269=_0x43fa86();while(!![]){try{var _0x4af531=-parseInt(_0x2dec0c(0x2a3))/0x1*(parseInt(_0x2dec0c(0x435))/0x2)+-parseInt(_0x2dec0c(0x483))/0x3+parseInt(_0x2dec0c(0x28e))/0x4+-parseInt(_0x2dec0c(0x2ab))/0x5*(parseInt(_0x2dec0c(0x3af))/0x6)+parseInt(_0x2dec0c(0x222))/0x7*(parseInt(_0x2dec0c(0x421))/0x8)+parseInt(_0x2dec0c(0x2e5))/0x9+parseInt(_0x2dec0c(0x342))/0xa*(-parseInt(_0x2dec0c(0x266))/0xb);if(_0x4af531===_0x436841)break;else _0x2c9269['push'](_0x2c9269['shift']());}catch(_0x5ca20c){_0x2c9269['push'](_0x2c9269['shift']());}}}(_0x3204,0xe8540));var Ai=Object[_0x2b51d4(0x465)],Pi=(_0x135ea0,_0x144bed,_0x37d201)=>_0x144bed in _0x135ea0?Ai(_0x135ea0,_0x144bed,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x37d201}):_0x135ea0[_0x144bed]=_0x37d201,N=(_0x4b017f,_0x5b3627,_0x54766c)=>Pi(_0x4b017f,typeof _0x5b3627!='symbol'?_0x5b3627+'':_0x5b3627,_0x54766c);import{createIdentifier as _0x2e4ac6,Inject as _0xbb9044,Injector as _0xe87ffb,IConfigService as _0x3d91ad,ILogService as _0x3e08f2,Disposable as _0x46eb90,DisposableCollection as _0x55beb3,toDisposable as _0x642f1f,IUniverInstanceService as _0xcd0588,UserManagerService as _0x609c05,UniverInstanceType as _0x5d6c54,LocaleService as _0x2fded0,Optional as _0x19063a,RxDisposable as _0xbf3a36,Tools as _0x1f8cee,Rectangle as _0x5e69ad,ICommandService as _0x3b7381,JSONX as _0x322754,CommandType as _0x1d9afc,IUndoRedoService as _0x4955e1,IPermissionService as _0x1f555b,sequenceExecute as _0x915fe6,Workbook as _0x33d3c5,MentionType as _0x3ca0a6,isInternalEditorID as _0x11985f,LocalUndoRedoService as _0x28cec0,IContextService as _0x240438,DependentOn as _0x27f7e5,Plugin as _0x398388,merge as _0x290120,mergeOverrideWithDependencies as _0x20bd82,IAuthzIoService as _0x4a4c6a,IMentionIOService as _0x2eb9c3,registerDependencies as _0xec0d2c,Quantity as _0x513dfb,touchDependencies as _0x51811b}from'@univerjs/core';import{Subject as _0x358ef7,merge as _0xb2540,of as _0x5e2f08,BehaviorSubject as _0x53317a,takeUntil as _0x31b31c,ReplaySubject as _0x465cb8,take as _0xcc9855,map as _0x505aec,shareReplay as _0x28b0fc,firstValueFrom as _0x17bb9a,concatMap as _0x397e18}from'rxjs';import{map as _0x87d7ab,take as _0x5853e7,filter as _0x20767a,delay as _0x1402e1,takeUntil as _0xf90029}from'rxjs/operators';import{CollaborationEvent as _0x1cab20,ISnapshotServerService as _0x20d692,parseChangesetToProtocol as _0x2f9435,ITransformService as _0x5a75cc,isTransformMutationsWithChangesetSuccess as _0x297140,mapDocumentTypeToUniverType as _0xf1726a,RevisionService as _0x294ada,isTransformChangesetsSuccess as _0xf9b32d,CompressMutationService as _0x364d90,parseProtocolChangeset as _0xa28372,SnapshotService as _0x2db77a,textEncoder as _0x3fea26,b64DecodeUnicode as _0x544eac,isTransformMutationsWithChangesetFailure as _0x5846bb,UniverCollaborationPlugin as _0x4c0c58}from'@univerjs-pro/collaboration';import{HTTPService as _0x334dc2,ISocketService as _0x1d1f76,MergeInterceptorFactory as _0x4a25dc,HTTPRequest as _0x2d3670,UniverNetworkPlugin as _0x4ad0a2,ThresholdInterceptorFactory as _0x41fdbc}from'@univerjs/network';import{ITelemetryService as _0x4df784}from'@univerjs/telemetry';import{RichTextEditingMutation as _0x3b2784}from'@univerjs/docs';import{SheetsSelectionsService as _0x1a3dc5,SetSelectionsOperation as _0x3be03b,InsertSheetMutation as _0x4eab79,EmptyMutation as _0x536baf,WorkbookEditablePermission as _0x2bbfa7,SheetPermissionInitController as _0x22de8f}from'@univerjs/sheets';import{ImageSourceType as _0x27980d,ImageUploadStatusType as _0x545547,IImageIoService as _0x382575}from'@univerjs/drawing';import{getGlobalObject as _0x4305bb}from'@univerjs-pro/license';const mn='SNAPSHOT_SERVER_URL_KEY',gn='/universer-api/snapshot',Sn=_0x2b51d4(0x22d),xs='SEND_CHANGESET_TIMEOUT',En=0x7d0,In=_0x2b51d4(0x33e),Tn='ws://127.0.0.1:8000/universer-api/comb/connect',Ls='/universer-api/user/session-ticket',Cn=_0x2b51d4(0x38e),Rn=0x7530,mi=_0x2b51d4(0x231),gi=0x4e20,bn=0x4e20,yn=_0x2b51d4(0x2c0),On=0x3,Ms=_0x2b51d4(0x351),ks=0x3e8,Nn='COLLAB_SUBMIT_CHANGESET_URL',Dn='/universer-api/comb',Un=_0x2b51d4(0x1ef),wn=_0x2b51d4(0x267),$s='REMOTE_UNISCRIPT_EXECUTION_ENDPOINT',Hs=_0x2b51d4(0x308);var Si=(_0x53b8a8=>(_0x53b8a8[_0x53b8a8[_0x2b51d4(0x4ae)]=0x0]=_0x2b51d4(0x4ae),_0x53b8a8[_0x53b8a8['OK']=0x1]='OK',_0x53b8a8[_0x53b8a8[_0x2b51d4(0x437)]=0x2]='INTERNAL_ERROR',_0x53b8a8[_0x53b8a8[_0x2b51d4(0x245)]=0x3]='PERMISSION_DENIED',_0x53b8a8[_0x53b8a8['NOT_FOUND']=0x4]='NOT_FOUND',_0x53b8a8[_0x53b8a8[_0x2b51d4(0x2cc)]=0x5]=_0x2b51d4(0x2cc),_0x53b8a8[_0x53b8a8[_0x2b51d4(0x3c3)]=0x6]='ALREADY_EXISTS',_0x53b8a8[_0x53b8a8['INVALID_ARGUMENT']=0x7]=_0x2b51d4(0x1b1),_0x53b8a8[_0x53b8a8[_0x2b51d4(0x3ef)]=0x8]='TOO_MANY_REQUESTS',_0x53b8a8[_0x53b8a8[_0x2b51d4(0x319)]=0x9]=_0x2b51d4(0x319),_0x53b8a8[_0x53b8a8[_0x2b51d4(0x2d5)]=0xa]=_0x2b51d4(0x2d5),_0x53b8a8[_0x53b8a8['CHANGESET_REVISION_CONFILICT']=0x1389]=_0x2b51d4(0x2f7),_0x53b8a8[_0x53b8a8[_0x2b51d4(0x339)]=0x1771]=_0x2b51d4(0x339),_0x53b8a8[_0x53b8a8[_0x2b51d4(0x44c)]=0x1772]=_0x2b51d4(0x44c),_0x53b8a8[_0x53b8a8[_0x2b51d4(0x205)]=0x1773]=_0x2b51d4(0x205),_0x53b8a8[_0x53b8a8[_0x2b51d4(0x25c)]=0x1b59]=_0x2b51d4(0x25c),_0x53b8a8[_0x53b8a8[_0x2b51d4(0x462)]=0x1b5a]='APPLY_NON_SEQUENTIAL_REVISION',_0x53b8a8[_0x53b8a8[_0x2b51d4(0x1e7)]=0x1b5b]=_0x2b51d4(0x1e7),_0x53b8a8[_0x53b8a8[_0x2b51d4(0x2f9)]=0x1b5c]=_0x2b51d4(0x2f9),_0x53b8a8[_0x53b8a8[_0x2b51d4(0x34d)]=0x1b5d]='APPLY_DUPLICATED',_0x53b8a8[_0x53b8a8[_0x2b51d4(0x49d)]=0x1f41]=_0x2b51d4(0x49d),_0x53b8a8[_0x53b8a8[_0x2b51d4(0x22b)]=0x2329]=_0x2b51d4(0x22b),_0x53b8a8[_0x53b8a8[_0x2b51d4(0x288)]=0x232a]=_0x2b51d4(0x288),_0x53b8a8[_0x53b8a8['LICENSE_IMPORT_SIZE_EXCEEDED']=0x232b]=_0x2b51d4(0x2f0),_0x53b8a8[_0x53b8a8[_0x2b51d4(0x3dd)]=0x232c]=_0x2b51d4(0x3dd),_0x53b8a8[_0x53b8a8[_0x2b51d4(0x315)]=0x232d]=_0x2b51d4(0x315),_0x53b8a8[_0x53b8a8[_0x2b51d4(0x2bb)]=0x2711]=_0x2b51d4(0x2bb),_0x53b8a8[_0x53b8a8[_0x2b51d4(0x3c9)]=0x2712]=_0x2b51d4(0x3c9),_0x53b8a8[_0x53b8a8[_0x2b51d4(0x331)]=0x2713]='YUUMI_RATE_OVER_LIMIT',_0x53b8a8[_0x53b8a8[_0x2b51d4(0x399)]=0x2714]=_0x2b51d4(0x399),_0x53b8a8[_0x53b8a8[_0x2b51d4(0x307)]=0x2af9]=_0x2b51d4(0x307),_0x53b8a8[_0x53b8a8[_0x2b51d4(0x2f8)]=0x2ee1]=_0x2b51d4(0x2f8),_0x53b8a8[_0x53b8a8['INVALID_INVITE_CODE']=0x2ee2]=_0x2b51d4(0x3f4),_0x53b8a8[_0x53b8a8['INVITE_CODE_REQUIRED']=0x2ee3]=_0x2b51d4(0x1df),_0x53b8a8[_0x53b8a8['USER_NOT_INVITED_CODE']=0x2ee4]=_0x2b51d4(0x33a),_0x53b8a8[_0x53b8a8['INVITE_CODE_ALREADY_BOUND']=0x2ee5]=_0x2b51d4(0x271),_0x53b8a8[_0x53b8a8[_0x2b51d4(0x2be)]=-0x1]='UNRECOGNIZED',_0x53b8a8))(Si||{}),Q=(_0x577597=>(_0x577597[_0x577597[_0x2b51d4(0x24a)]=0x0]='UNIVER_UNKNOWN',_0x577597[_0x577597[_0x2b51d4(0x1f8)]=0x1]='UNIVER_DOC',_0x577597[_0x577597[_0x2b51d4(0x1ca)]=0x2]=_0x2b51d4(0x1ca),_0x577597[_0x577597[_0x2b51d4(0x2eb)]=0x3]='UNIVER_SLIDE',_0x577597[_0x577597['UNIVER_PROJECT']=0x4]=_0x2b51d4(0x21f),_0x577597[_0x577597[_0x2b51d4(0x2be)]=-0x1]=_0x2b51d4(0x2be),_0x577597))(Q||{}),F=(_0x7bf6ef=>(_0x7bf6ef[_0x7bf6ef['UNKNOWN_CMD']=0x0]=_0x2b51d4(0x314),_0x7bf6ef[_0x7bf6ef[_0x2b51d4(0x1c8)]=0x1]=_0x2b51d4(0x1c8),_0x7bf6ef[_0x7bf6ef[_0x2b51d4(0x400)]=0x2]=_0x2b51d4(0x400),_0x7bf6ef[_0x7bf6ef[_0x2b51d4(0x3f0)]=0x3]='LEAVE',_0x7bf6ef[_0x7bf6ef[_0x2b51d4(0x27a)]=0x4]='INGEST',_0x7bf6ef[_0x7bf6ef[_0x2b51d4(0x2fc)]=0x5]=_0x2b51d4(0x2fc),_0x7bf6ef[_0x7bf6ef[_0x2b51d4(0x3fd)]=0x6]=_0x2b51d4(0x3fd),_0x7bf6ef[_0x7bf6ef['UNRECOGNIZED']=-0x1]=_0x2b51d4(0x2be),_0x7bf6ef))(F||{}),ge=(_0x2ac503=>(_0x2ac503[_0x2ac503[_0x2b51d4(0x21d)]=0x0]=_0x2b51d4(0x21d),_0x2ac503[_0x2ac503['OK']=0x1]='OK',_0x2ac503[_0x2ac503[_0x2b51d4(0x395)]=0x2]=_0x2b51d4(0x395),_0x2ac503[_0x2ac503[_0x2b51d4(0x2e9)]=0x3e9]=_0x2b51d4(0x2e9),_0x2ac503[_0x2ac503[_0x2b51d4(0x403)]=0x3ea]=_0x2b51d4(0x403),_0x2ac503[_0x2ac503['JOIN_ROOM_PERMISSION_DENIED']=0x3eb]=_0x2b51d4(0x2e2),_0x2ac503[_0x2ac503[_0x2b51d4(0x20e)]=0x3ec]=_0x2b51d4(0x20e),_0x2ac503[_0x2ac503[_0x2b51d4(0x2be)]=-0x1]=_0x2b51d4(0x2be),_0x2ac503))(ge||{}),Ei=(_0x20e9c5=>(_0x20e9c5[_0x20e9c5[_0x2b51d4(0x3df)]=0x0]=_0x2b51d4(0x3df),_0x20e9c5[_0x20e9c5['HttpImport']=0x1]=_0x2b51d4(0x29b),_0x20e9c5[_0x20e9c5[_0x2b51d4(0x38d)]=0x2]='HttpExport',_0x20e9c5[_0x20e9c5['UnitEmbedded']=0x3]=_0x2b51d4(0x49b),_0x20e9c5[_0x20e9c5[_0x2b51d4(0x3cd)]=0x4]=_0x2b51d4(0x3cd),_0x20e9c5[_0x20e9c5[_0x2b51d4(0x2be)]=-0x1]=_0x2b51d4(0x2be),_0x20e9c5))(Ei||{});const q='collaboration-client.config',An={};var se=(_0x422dd2=>(_0x422dd2['OTHER_CLIENT_EDITING']=_0x2b51d4(0x1e1),_0x422dd2[_0x2b51d4(0x245)]=_0x2b51d4(0x245),_0x422dd2['CONFLICT']=_0x2b51d4(0x385),_0x422dd2[_0x2b51d4(0x1ba)]='CLOSE_ROOM',_0x422dd2['JOIN_ROOM_FAILED']=_0x2b51d4(0x293),_0x422dd2[_0x2b51d4(0x2f5)]=_0x2b51d4(0x2f5),_0x422dd2[_0x2b51d4(0x4a0)]=_0x2b51d4(0x4a0),_0x422dd2[_0x2b51d4(0x3fb)]=_0x2b51d4(0x3fb),_0x422dd2))(se||{});class pe{constructor(){var _0x3b549=_0x2b51d4;N(this,_0x3b549(0x450),new _0x358ef7()),N(this,_0x3b549(0x3e7),this['_event$'][_0x3b549(0x380)]());}['emitEvent'](_0x237a0e){var _0x312f7a=_0x2b51d4;this[_0x312f7a(0x450)]['next'](_0x237a0e);}}const Pn=_0x2e4ac6(_0x2b51d4(0x237));function xn(_0x121b93){var _0x21b276=_0x2b51d4,_0xa7f8a7,_0x4afdfb,_0x23746b,_0x108e09,_0x169ff2;const _0x361cea=_0x121b93['data'],_0x461926=JSON[_0x21b276(0x493)](_0x361cea);switch(_0x461926[_0x21b276(0x1bf)]){case F['HEARTBEAT']:case F[_0x21b276(0x1c8)]:{const _0x40a220=_0x461926[_0x21b276(0x30d)];return{..._0x461926,'data':_0x40a220,'cmd':_0x461926[_0x21b276(0x1bf)]};}case F[_0x21b276(0x400)]:{const _0x790f44=_0x461926['joinRsp'];return{..._0x461926,'data':_0x790f44,'cmd':_0x461926[_0x21b276(0x1bf)]};}case F['RECV']:{const _0x5a254a=_0x461926[_0x21b276(0x3c4)];switch(_0x5a254a[_0x21b276(0x2dd)]){case _0x1cab20[_0x21b276(0x1d0)]:return{..._0x461926,'data':{..._0x5a254a,'data':(_0xa7f8a7=_0x5a254a[_0x21b276(0x487)])==null?void 0x0:_0xa7f8a7['cs']},'cmd':_0x461926[_0x21b276(0x1bf)]};case _0x1cab20[_0x21b276(0x1bd)]:return{..._0x461926,'data':{..._0x5a254a,'data':(_0x4afdfb=_0x5a254a['csAckEvent'])==null?void 0x0:_0x4afdfb['cs']},'cmd':_0x461926[_0x21b276(0x1bf)]};case _0x1cab20[_0x21b276(0x28d)]:return{..._0x461926,'data':{..._0x5a254a,'data':(_0x23746b=_0x5a254a['newCsEvent'])==null?void 0x0:_0x23746b['cs']},'cmd':_0x461926[_0x21b276(0x1bf)]};case _0x1cab20[_0x21b276(0x42e)]:return{..._0x461926,'data':{..._0x5a254a,'data':(_0x108e09=_0x5a254a[_0x21b276(0x21e)])==null?void 0x0:_0x108e09['cs']},'cmd':_0x461926[_0x21b276(0x1bf)]};case _0x1cab20[_0x21b276(0x4a1)]:return{..._0x461926,'data':{..._0x5a254a,'data':(_0x169ff2=_0x5a254a[_0x21b276(0x1c3)])==null?void 0x0:_0x169ff2['cs']},'cmd':_0x461926[_0x21b276(0x1bf)]};case _0x1cab20[_0x21b276(0x457)]:return{..._0x461926,'data':{..._0x5a254a,'data':_0x5a254a[_0x21b276(0x44e)]},'cmd':_0x461926[_0x21b276(0x1bf)]};case _0x1cab20[_0x21b276(0x2f2)]:return{..._0x461926,'data':{..._0x5a254a,'data':_0x5a254a[_0x21b276(0x25f)]},'cmd':_0x461926['cmd']};case _0x1cab20['USERS_LEAVE']:return{..._0x461926,'data':{..._0x5a254a,'data':_0x5a254a['leaveEvent']},'cmd':_0x461926[_0x21b276(0x1bf)]};case _0x1cab20[_0x21b276(0x2fe)]:return{..._0x461926,'data':{..._0x5a254a,'data':_0x5a254a[_0x21b276(0x494)]},'cmd':_0x461926[_0x21b276(0x1bf)]};case _0x1cab20['LIVESHARE_FETCH_OPERATIONS']:case _0x1cab20['LIVESHARE_OPERATION']:return{..._0x461926,'data':{..._0x5a254a,'data':_0x5a254a['liveShareOperation']},'cmd':_0x461926[_0x21b276(0x1bf)]};case _0x1cab20[_0x21b276(0x210)]:return{..._0x461926,'data':{..._0x5a254a,'data':_0x5a254a[_0x21b276(0x494)]},'cmd':_0x461926[_0x21b276(0x1bf)]};case _0x1cab20[_0x21b276(0x3fa)]:return{..._0x461926,'data':_0x5a254a,'cmd':_0x461926[_0x21b276(0x1bf)]};case _0x1cab20[_0x21b276(0x3d4)]:return{..._0x461926,'data':{..._0x5a254a,'data':_0x5a254a[_0x21b276(0x1e4)]},'cmd':_0x461926[_0x21b276(0x1bf)]};case _0x1cab20[_0x21b276(0x37d)]:return{..._0x461926,'data':{..._0x5a254a,'data':_0x5a254a[_0x21b276(0x2e8)]},'cmd':_0x461926[_0x21b276(0x1bf)]};case _0x1cab20['SHOULD_CLOSE_CONN']:return{..._0x461926,'data':{..._0x5a254a,'data':_0x5a254a[_0x21b276(0x415)]},'cmd':_0x461926[_0x21b276(0x1bf)]};case _0x1cab20[_0x21b276(0x292)]:return{..._0x461926,'data':{..._0x5a254a,'data':_0x5a254a[_0x21b276(0x2e3)]},'cmd':_0x461926[_0x21b276(0x1bf)]};default:return _0x461926;}}default:return _0x461926;}}function _0x3204(){var _0x254b96=['onRemoteChangeset','_onJoinRoomEvent','SNAPSHOT_INVALID_SNAPSHOT','USER_NOT_INVITED_CODE','CipherParams','state$','forEach','COLLAB_WEB_SOCKET_URL','_onConnectionFailed','appendMutation','socket$','8511410tyKiGy','POST','$super','_createHelper','mixIn','collaborators','focused$','location','[OfflineState]:\x20received\x20changeset.','/object/','kdf','APPLY_DUPLICATED','getImage','[CollaborationSessionService]:\x20socket\x20error','slice','LOCAL_CACHE_INTERVAL','saveSnapshot','_getSignURL','getUnitOnRev','default','_redoStacks','downloadEndpointUrl','createSocket','compute','failed\x20to\x20apply\x20missed\x20changesets!','close','&source=','headers','WordArray','PERSON','objectType','getCollabEntity$','hasOwnProperty','requestParams','_unitID','_submitChangeset','getTime','[CollaborationEntity]:\x20cannot\x20apply\x20missing\x20results\x20on\x20other\x20states!','&assign=','getCurrentUser','_xformMode','Hasher','editing\x20status\x20changed\x20to','_commentUpdate$','error','subscribe','getImageSourceCache','file','_resendWithTimeout','transformSelections','getOwnPropertyDescriptor','stringify','_createSocket','you\x20should\x20override\x20\x22IUndoRedoService\x22\x20provided\x20in\x20\x22core\x22\x20package!','[ConflictState]:\x20invalid\x20calling\x20to\x20`resend`.','People','_getAPIPrefix','_exhaustRemoteChangesetQueue','_unitInfo$','UPDATE_PERMISSION_OBJ','onMissedChangesetFetched','rev','asObservable','_transformRemoteChangesetByStateCache','_sendHeartbeat','_data','\x20-\x20','CONFLICT','confirm','sin','_clearCollaborationTimeoutTimer','generateRandomId','_config','crypto.getRandomValues()\x20not\x20supported.\x20See\x20https://github.com/uuidjs/uuid#getrandomvalues-not-supported','_keySchedule','HttpExport','HEARTBEAT_INTERVAL','This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!','_onConnectionOpen','_transformIMECache','pipe','_sendHeartbeatTimer','selections','FAIL','OPTIONAL','put','responseType','YUUMI_SUBSCRIPTION_NOT_FOUND','_initUnitPermissionChange','status$','FileId','_onRemoteACK','_localCacheService','debug','_clearLocalCache','_throwTelemetryCollaborationNewChangeset','byteLength','_shouldReportTelemetry','cfg','_parse','/universer-api/authz','socket\x20close','FETCH_MISSING','_scheduleCollaborationTimeoutTimer','_startTelemetryCollaborationNewChangeset','crypto','c1Prime','error$','resend','12918TBADQf','_createInitialStateImpl','_createHandler','[AuthServerService]:\x20you\x20should\x20provide\x20authentication\x20info\x20on\x20Node.js.','onTransformRemoteChangesetByIMECache\x20callback\x20is\x20not\x20added\x20yet.','[PendingState]:\x20unhandled\x20univer\x20type:\x20','connection\x20error','name','getCurrentRevOfUnit','_collaborationUIEventService','ciphertext','_updateStatus','COMPRESS_MUTATION_APPLY','_applyRemoteChangeset','stopTime','_disableEditing','decrypt','registerHTTPInterceptor','_incrementRevisionNumber','join','ALREADY_EXISTS','collaMsg','unitID','transformStack\x20failed!','/universer-api/snapshot/','_socketService','YUUMI_URL_COL_OUT_OF_RANGE','awaitingChangeset','loginUrlKey','updatePermissionPoint','UnitSnapshot','_sessionStatus$','origin','compose','not_collab','submit\x20changeset\x20error!','AWAITING','COMMENT_UPDATE','&to=','getTypeOfUnitDisposed$','msCrypto','reset','_keyPriorReset','[CollaborationController]:\x20invalid\x20univer\x20type:\x20','_onRemoteRejected','_mode','LICENSE_EXPORT_SIZE_EXCEEDED','_compressMutationService','Undefined','/universer-api/stream/file/upload','then','/role','_clearRedo','Base64','_logService','onlyLocal','event$','close$','repeat','_startCollaboration','random','refreshPermission','awaiting','_networkConditionService','TOO_MANY_REQUESTS','LEAVE','_onCombEvent','[FetchingMissState]:\x20invalid\x20calling\x20to\x20`resend`.','setShowComponents','INVALID_INVITE_CODE','_schedule','_undoRedoService','_transformUndoredo','method','_updateLocalCache','MSG_FOR_ERROR','SUBMIT_CHANGESET_TIMEOUT','univer-pro.collaboration-client-socket-service','RECV','LIVESHARE_OPERATION','avatar','JOIN','_doProcessBlock','editingUnit','JOIN_ROOM_NOT_EXISTS','_transformService','entries','/block/','extend','getValue','title','SHOULD_CLOSE_CONN','USERS_LEAVE','_handlerCallback','onTransformRemoteChangesetByStateCache','_reverseMap','closeSession','post','_hasher','_transformStack','readAsDataURL','setCurrentUser','shouldCloseConn','min','padding','members','JOINING','_change$','fetching\x20missing\x20changesets\x20from\x20','BASE64','_awaitingChangeset','_retryCount','enc','routeKey','8xgHDOw','_onLocalMutation','decryptBlock','params','Could\x20not\x20dynamically\x20require\x20\x22','_clearHeartbeatTimer','getDeserializedSheetBlock','randomBytes','_status$','_telemetryInfo','get','BlockCipherMode','Native\x20crypto\x20module\x20could\x20not\x20be\x20used\x20to\x20get\x20secure\x20random\x20number.','CHANGESET_REJ','StreamCipher','getFocusedUnit','_onConflict','m2Prime','_oKey','_permissionService','68828FFPccy','_toggleOffline','INTERNAL_ERROR','conflict','onTransformRemoteChangesetByStateCache\x20callback\x20is\x20not\x20added\x20yet.','_clearTimeoutTimer','onSendChangeset','startTime','_collaborationSessionService','_transitionLocked','[PendingState]:\x20invalid\x20calling\x20to\x20`resend`.','snapshotServerUrl','HmacMD5','enableOfflineEditing','onRemoteRej','EvpKDF','_onUserLeave','socket\x20open.','readyForCollab','_commandService','floor','_roomCreated$','_memberService','SNAPSHOT_HAS_BEEN_REMOVED','session.room-full','updateCursorEvent','exports','_event$','getUnitType','_collaborationTimeoutTimer','isPermissionRej','function','create','_cipher','UPDATE_CURSOR','fetching\x20the\x20latest\x20document\x20from\x20the\x20server.','_handler','open$','execute','onTransformSelections','BlockCipher','sessionStatus','getInterceptPoints','onCommentUpdate','_snapshotService','APPLY_NON_SEQUENTIAL_REVISION','init','target','defineProperty','_doCryptBlock','{fileID}','_members$','\x20to\x20','capture','Unknown\x20type.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','session.room-not-exists','formatter','indexOf','toggleOnline','MUTATION','_onMessage','update','_prevBlock','getSheetBlock','NoPadding','reqId','/-/object/-/batch_allowed','_clearScheduledTask','every','_state','url','requireSession','interceptor','key','setConfig','send','_remoteChangesetQueue','buffer','2417094IGlnaq','_waitForHeartbeatResponse','socketService','_lockTransition','permissionRejEvent','prototype','disableLocalCache','map','[SyncedState]:\x20received\x20acknowledgement.','_getCtorByUniverType','code','addHandlerCallback','\x20in\x20_schedule.','[DataLoaderService]','_getUndoStack','createInstance','parse','liveShareNewHost','getWorkbookSelections','_onRecvEvent','objectID','createDecryptor','_singleActiveUnitService','_getLoginPath','UnitEmbedded','deleteCollaborator','CONNECTOR_DATA_TOO_LARGE','actions','executeCommand','SOCKET_FAILED','CHANGESET_SHOULD_RETRY','_process','_members','_append','getUnitId','byteOffset','_getSendChangesetTimeout','_roomMembers','keySize','_getRedoStack','_type','onStarting','[CollaborationSession]','UNDEFINED','collaboratorID','__Key__','encodeURIComponent','href','INVALID_ARGUMENT','delete','_initMergeInterceptor','toggleOffline','message$','collaboration_new_changeset','_changesetReqId','_DEC_XFORM_MODE','_isPermissionRej','CLOSE_ROOM','charAt','data','CHANGESET_ACK','objectActions','cmd','[OfflineState]:\x20received\x20acknowledgement.','_tryReconnect','format','csShouldRetryEvent','clone','collabWebSocketUrl','UUID','string','HELLO','_replayCachedMutations','UNIVER_SHEET','max','_userManagerService','HmacSHA1','__esModule','collabSubmitChangesetUrl','PERMISSION_REJ','roles','_instanceService','reconnect','blockSize','fetchMissingChangesets','ERROR_IMAGE_TYPE','unitId\x20is\x20not\x20found','Latin1','unsubscribe','charCodeAt','[OfflineState]:\x20received\x20rejection.','Malformed\x20UTF-8\x20data','_decreaseWaiting','AES','INVITE_CODE_REQUIRED','onCommandExecuted','OTHER_CLIENT_EDITING','_getAPIPrefixPath','body','commentUpdateEvent','Univer','list','APPLY_REVISION_CONFILICT','unpad','clamp','fetchMiss','reverse','Cannot\x20assemble\x20a\x20changeset\x20from\x20multiple\x20mutations\x20of\x20different\x20types:\x20','localCacheService','SHA1','LOGIN_URL_KEY','now','loadSheet','_removeRoom','values','awaiting_with_pending','fetch_missing','_entityInit$','_onFetchMissResult','UNIVER_DOC','x-univer-host','loadDoc','PSEUDO_FETCH_MISSING_RESULT','_showConflictNotification','getActiveSheet','COMPRESS_MUTATION_SEND','isArray','createEncryptor','Encryptor','onTransformIME','_pendingMutations','_hash','ENSURE_SNAPSHOT_EXECUTION','salt','_sheetTransformSelectionsService','/-/object/list','subUnitId','\x0aAfter:\x20','/allowed','[CollaborationSessionService]','resolve','GLOBAL_ROOMS_CNT_EXCEEDS','image/gif','LIVESHARE_TERMINATE','_map','save\x20fail\x20reason\x20is\x20','[CollaborationState]:\x20apply\x20error!','[PendingState]:\x20received\x20acknowledgement.','algo','ONLINE','_iv','set','changesets','Cipher','result','_onRemoteChangeset','UNKNOWN_CODE','csRejEvent','UNIVER_PROJECT','_timeoutTimer','sessionStatus$','10740436TRZWVL','getRandomValues','randomUUID','_queuedRemoteChangesets','?url=','pending','duration','catch','startsWith','LICENSE_MAX_UNITS_EXCEEDED','_localeService','SNAPSHOT_URL_KEY','_configService','_univerInstanceService','revision','HEARTBEAT_TIMEOUT','/resources','_substituteUndoStack','_init','getTypeOfUnitAdded$','signUrlServerUrl','univer-pro.collaboration-client.network-condition.service','mode','onLocalMutation','length','setWaitCount','_getDownloadEndpointURL','session.room-permission-denied','emitEvent','saveSheetBlock','EXCHANGE_SIGN_URL_SERVER_URL_KEY','from','transformUndoRedo','Decryptor','_createInitialState','PERMISSION_DENIED','image/bmp','_invKeySchedule','_scheduleCompleteTimestamp','originalMeta','UNIVER_UNKNOWN','\x22.\x20Please\x20configure\x20the\x20dynamicRequireTargets\x20or/and\x20ignoreDynamicRequires\x20option\x20of\x20@rollup/plugin-commonjs\x20appropriately\x20for\x20this\x20require\x20call\x20to\x20work.','onRemoteAck','synced','add','_changesetSessionId','loadOfflineData','_stopTelemetryCollaborationNewChangeset','complete','sid','_httpService','reject','\x0aCurrent:\x20','getCollabEntity','SUCCUSS','AWAITING_WITH_PENDING','[serializeCombRequest]:\x20should\x20not\x20fall\x20into\x20default\x20branch!','finalize','APPLY_REJECT','_doReset','apply','joinEvent','_resendTimeout','[CollaborationEntity]','fromCollab','_rescheduleHeartbeat','dispose','SUBMIT_CHANGESET','22PqKGgY','/universer-api/oidc/authpage','encode','IDLE','_snapshotServerService','_updateState','getMember','json','type','OTHER_CLIENTS_EDITING','_key','INVITE_CODE_ALREADY_BOUND','src','snapshot','_resendTimer','hasher','push','members$','HMAC','reduce','INGEST','_toggleOnline','Hex','_loadDoc','mutations','disposeWithMe','OpenSSL','_executeRemoteChangeset','offline','subject','sigBytes','_sendingTimer','_retryConnectingTimer','filter','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','deepClone','getLatestCsReqIdBySid','_fetchMissChangesets','/collaborator','NEW_CHANGESETS','6754404DYMnNi','_minBufferSize','_commentService','ceil','UNISCRIPT_RUN','JOIN_ROOM_FAILED','_HTTPService','pad','ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=','_ENC_XFORM_MODE','removeMember','size','_registerDependencies','HttpImport','transformMutationsWithChangeset','_getCurrentRevision','enableSingleActiveInstanceLock','fetchThroughInterceptors','getMemberID','memberID','_entities','7MCfguw','?size=','_doCreateSocket','getCurrentSelections','getConfig','splice','session.room-cnt-exceeds','textRanges','1340ufMMGK','_telemetryService','withCredentials','OFFLINE','_nDataBytes','words','_listenToNetworkCondition','objects','_syncEditingCollabCursor','ERROR_IMAGE','_collaborationPaused','_clearUndo','_unlockTransition','DEFAULT_FILE_NAME','_initRequestHeader','MD5','YUUMI_UNABLE_LOAD_URL','PasswordBasedCipher','localeService','UNRECOGNIZED','getSnapshotAPIPath','RETRY_CONNECTING_MAX_COUNT','status','_sender','hostname','_initCloseConn','onload','has','UNIVER_COLLABORATION_CLIENT_PLUGIN','transformChangesets','override','CBC','onMissingChangesets','UNAUTHENTICATED','encrypt','[UniverCollaborationClientPlugin]:\x20you\x20must\x20provide\x20a\x20socketService\x20implementation\x20in\x20config!','allowed','onSyncEditingCollabCursor','[CollaborationSocketService]:\x20failed\x20to\x20get\x20web\x20socket\x20factory!','_collabSessionService','_candidateSocket','_socket','LOGIN_FAILED','baseRev','range','patch','session','LIVESHARE_FETCH_OPERATIONS','_socket$','resourceIDs','eventID','_joinRoom','toString','[SyncedState]:\x20invalid\x20calling\x20to\x20`resend`.','unknown','JOIN_ROOM_PERMISSION_DENIED','uniscriptRunEvent','_waitCount','9490941iEfuJi','_initDependencies','SYNCED','updatePermissionObjEvent','JOIN_ROOM_FULL','call','UNIVER_SLIDE','[PendingState]:\x20received\x20rejection.','_createHmacHelper','_checkMissing','[CollaborationSession]:\x20should\x20not\x20send\x20message\x20when\x20the\x20session\x20is\x20offline!','LICENSE_IMPORT_SIZE_EXCEEDED','_socketMessageSubscription','USERS_ENTER','_socketReady','onTransformState','SOCKET_FAILED_RETRY','processBlock','CHANGESET_REVISION_CONFILICT','INVITE_CODE_HAS_BEEN_UES','APPLY_PERMISSION_DENIED','updateMember','clear','HEARTBEAT','ivSize','LIVESHARE_NEW_HOST','find','iterations','_clearRetryConnectingTimer','saveImage','auth.needGotoLoginAlert','listCollaborators','_sessions','_emitMembers','PY_RUNTIME_SCRIPT_ERROR','/universer-api/uniscript','[CollaborationSocketService]:\x20failed\x20to\x20create\x20socket!','initWorkbookPermissionChange','_onRemoteRetry','_state$','infoRsp','[FetchMissState]','[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.','_imageSourceCache','_transformRemoteChangesetByIMECache','Utf8','_replaceFileID','UNKNOWN_CMD','LICENSE_DISTRO_REJECTED','/unit/','_tryEnsureSocket','concat','COMPLETION_FINISHED','authzUrl','_nRounds','/fetchmissing?from=','Error\x20on\x20receiving\x20event','[FetchingMissState]:\x20not\x20expected\x20to\x20receive\x20ack\x20when\x20`this._awaitingChangeset`\x20is\x20null!','[CollaborationUndoRedoService]','workbook','next','_revisionService','_onOffline','NOT_COLLAB','Failed\x20to\x20update\x20permission\x20point','image/png','onRemoteRetry','toLowerCase','_acknowledgedAwaitingChangeset','Base','unitId','LIVESHARE_REQUEST_HOST','userID','lib','__creator','dispose$','YUUMI_RATE_OVER_LIMIT','_iKey','_injector','state','bind','pluginName'];_0x3204=function(){return _0x254b96;};return _0x3204();}function Ln(_0x537dd0){var _0x31d60d=_0x2b51d4;switch(_0x537dd0[_0x31d60d(0x1bf)]){case F['HEARTBEAT']:case F['HELLO']:return JSON[_0x31d60d(0x375)]({'cmd':_0x537dd0[_0x31d60d(0x1bf)],'routeKey':_0x537dd0['routeKey']});case F[_0x31d60d(0x27a)]:{let _0x3e4c17;switch(_0x537dd0[_0x31d60d(0x1bc)][_0x31d60d(0x2dd)]){case _0x1cab20['UPDATE_CURSOR']:{_0x3e4c17={'eventID':_0x1cab20[_0x31d60d(0x457)],'updateCursorEvent':_0x537dd0[_0x31d60d(0x1bc)][_0x31d60d(0x1bc)]};break;}case _0x1cab20[_0x31d60d(0x40b)]:{_0x3e4c17={'eventID':_0x1cab20[_0x31d60d(0x40b)],'leaveEvent':_0x537dd0[_0x31d60d(0x1bc)]['data']};break;}case _0x1cab20['USERS_ENTER']:{_0x3e4c17={'eventID':_0x1cab20[_0x31d60d(0x2f2)],'joinEvent':_0x537dd0[_0x31d60d(0x1bc)][_0x31d60d(0x1bc)]};break;}case _0x1cab20['LIVESHARE_NEW_HOST']:{_0x3e4c17={'eventID':_0x1cab20[_0x31d60d(0x2fe)],'liveShareNewHost':_0x537dd0[_0x31d60d(0x1bc)][_0x31d60d(0x1bc)]};break;}case _0x1cab20['LIVESHARE_OPERATION']:{_0x3e4c17={'eventID':_0x1cab20[_0x31d60d(0x3fe)],'liveShareOperation':_0x537dd0[_0x31d60d(0x1bc)]['data']};break;}case _0x1cab20[_0x31d60d(0x210)]:{_0x3e4c17={'eventID':_0x1cab20[_0x31d60d(0x210)],'liveShareTerminate':_0x537dd0['data'][_0x31d60d(0x1bc)]};break;}case _0x1cab20['LIVESHARE_REQUEST_HOST']:{_0x3e4c17={'eventID':_0x1cab20[_0x31d60d(0x32c)],'liveShareRequestHost':_0x537dd0[_0x31d60d(0x1bc)][_0x31d60d(0x1bc)]};break;}case _0x1cab20[_0x31d60d(0x2da)]:{_0x3e4c17={'eventID':_0x1cab20['LIVESHARE_FETCH_OPERATIONS']};break;}default:_0x3e4c17={'eventID':_0x537dd0[_0x31d60d(0x1bc)][_0x31d60d(0x2dd)]};}return JSON[_0x31d60d(0x375)]({'cmd':_0x537dd0[_0x31d60d(0x1bf)],'routeKey':_0x537dd0['routeKey'],'collaMsg':_0x3e4c17});}case F[_0x31d60d(0x400)]:return JSON[_0x31d60d(0x375)]({'cmd':_0x537dd0[_0x31d60d(0x1bf)],'routeKey':_0x537dd0[_0x31d60d(0x420)],'joinReq':_0x537dd0[_0x31d60d(0x1bc)]});case F[_0x31d60d(0x3f0)]:return JSON[_0x31d60d(0x375)]({'cmd':_0x537dd0[_0x31d60d(0x1bf)],'routeKey':_0x537dd0[_0x31d60d(0x420)],'leaveReq':_0x537dd0['data']});default:throw new Error(_0x31d60d(0x25a));}}var Mn=Object[_0x2b51d4(0x374)],kn=(_0x475f2b,_0x3c9b8f,_0x18ced2,_0x108bd1)=>{var _0xfae890=_0x2b51d4;for(var _0x39c350=_0x108bd1>0x1?void 0x0:_0x108bd1?Mn(_0x3c9b8f,_0x18ced2):_0x3c9b8f,_0x1321b8=_0x475f2b[_0xfae890(0x23a)]-0x1,_0x46a0c3;_0x1321b8>=0x0;_0x1321b8--)(_0x46a0c3=_0x475f2b[_0x1321b8])&&(_0x39c350=_0x46a0c3(_0x39c350)||_0x39c350);return _0x39c350;},we=(_0x19d516,_0x5bcedd)=>(_0x15982f,_0x50f4d6)=>_0x5bcedd(_0x15982f,_0x50f4d6,_0x19d516);const Ii=_0x2e4ac6(_0x2b51d4(0x3fc));function $n(_0x3d88de,_0x530e01,_0x374ae1){var _0x42078e=_0x2b51d4;return _0x3d88de+'/'+_0x530e01+_0x42078e(0x316)+_0x374ae1+'/new_changes';}let Gt=class extends _0x46eb90{constructor(_0x19b8bc,_0xa8cf33,_0x2264ab,_0x51ca55,_0x50a1a5){var _0x15b24b=_0x2b51d4;super(),this[_0x15b24b(0x333)]=_0x19b8bc,this['_httpService']=_0xa8cf33,this['_configService']=_0x2264ab,this[_0x15b24b(0x3e5)]=_0x51ca55,this['_snapshotServerService']=_0x50a1a5;}[_0x2b51d4(0x2a5)](_0x1604d1){var _0x18a058=_0x2b51d4;const _0xe6fe36=this[_0x18a058(0x333)][_0x18a058(0x42b)](_0x1d1f76);if(!_0xe6fe36)throw new Error(_0x18a058(0x2d1));const _0x2c8d7a=_0xe6fe36['createSocket'](_0x1604d1);if(!_0x2c8d7a)throw new Error(_0x18a058(0x309));const _0x2f6d3f=new _0x55beb3(),_0x87095d=new _0x358ef7();_0x2f6d3f['add'](_0x2c8d7a[_0x18a058(0x3e8)]['subscribe'](_0x4d542c=>_0x87095d[_0x18a058(0x321)](_0x4d542c))),_0x2f6d3f[_0x18a058(0x24e)](_0x642f1f(()=>_0x87095d[_0x18a058(0x252)]()));const _0x4d50e5=new _0x358ef7();_0x2f6d3f[_0x18a058(0x24e)](_0x2c8d7a[_0x18a058(0x3ad)][_0x18a058(0x36f)](_0x477175=>_0x4d50e5['next'](_0x477175))),_0x2f6d3f[_0x18a058(0x24e)](_0x642f1f(()=>_0x4d50e5[_0x18a058(0x252)]()));const _0x335ce4=new _0x358ef7();_0x2f6d3f['add'](_0x2c8d7a[_0x18a058(0x1b5)][_0x18a058(0x36f)](_0x230923=>{var _0x42df87=_0x18a058;const _0x327e9a=xn(_0x230923);_0x335ce4[_0x42df87(0x321)](_0x327e9a);})),_0x2f6d3f['add'](_0x642f1f(()=>_0x335ce4[_0x18a058(0x252)]()));let _0xea6607;const _0x4d8931=()=>{var _0x3e1c45=_0x18a058;_0x4d50e5[_0x3e1c45(0x321)](new Event(_0x3e1c45(0x3b5))),_0x87095d[_0x3e1c45(0x321)](new Event('connection\x20error')),_0xea6607[_0x3e1c45(0x35b)]();};return _0xea6607={'memberID':'','close$':_0x87095d['asObservable'](),'error$':_0x4d50e5[_0x18a058(0x380)](),'open$':_0x2c8d7a[_0x18a058(0x45a)],'message$':_0x335ce4[_0x18a058(0x380)](),'send':_0x325f7e=>{var _0x599ff6=_0x18a058;if(_0x325f7e['cmd']===F['INGEST']){if(_0x325f7e[_0x599ff6(0x1bc)][_0x599ff6(0x2dd)]===_0x1cab20[_0x599ff6(0x265)]){this[_0x599ff6(0x365)](_0xea6607,_0x325f7e[_0x599ff6(0x1bc)])[_0x599ff6(0x229)](_0x18844d=>{var _0x490c0b=_0x599ff6;this[_0x490c0b(0x3e5)][_0x490c0b(0x36e)](_0x18844d),_0x4d8931();});return;}if(_0x325f7e[_0x599ff6(0x1bc)][_0x599ff6(0x2dd)]===_0x1cab20[_0x599ff6(0x3a8)]){const _0x531079=_0x325f7e[_0x599ff6(0x1bc)];this[_0x599ff6(0x28b)](_0x531079)[_0x599ff6(0x3e1)](_0x21e5ed=>{var _0xafc613=_0x599ff6;_0x335ce4[_0xafc613(0x321)]({'cmd':F['RECV'],'code':ge['OK'],'routeKey':_0x531079[_0xafc613(0x1bc)][_0xafc613(0x3c5)],'routeType':'','data':{'eventID':_0x1cab20[_0xafc613(0x1fb)],'data':{'changesets':_0x21e5ed}}});})[_0x599ff6(0x229)](_0x479565=>{var _0x1e1411=_0x599ff6;this[_0x1e1411(0x3e5)]['error'](_0x479565),_0x4d8931();});return;}}_0x2c8d7a[_0x599ff6(0x480)](Ln(_0x325f7e));},'close':()=>{var _0x29686b=_0x18a058;_0x2c8d7a[_0x29686b(0x35b)](),_0x2f6d3f[_0x29686b(0x264)]();}},_0xea6607;}async['_submitChangeset'](_0x2de431,_0x6a23b4){var _0x5cdef6=_0x2b51d4,_0x5710b4,_0xca79f6;const {unitType:_0x4fd01a,unitID:_0x301b5e,changeset:_0x285eaa}=_0x6a23b4['data'],_0xf05660={'unitID':_0x301b5e,'memberID':_0x2de431[_0x5cdef6(0x2a1)],'type':_0x4fd01a,'changeset':_0x2f9435(_0x285eaa)},_0x549308=this[_0x5cdef6(0x22e)]['getConfig'](Nn),_0x2795eb=this['_configService'][_0x5cdef6(0x2a7)](q),_0x380cf8=$n((_0xca79f6=(_0x5710b4=_0x2795eb==null?void 0x0:_0x2795eb[_0x5cdef6(0x1cf)])!=null?_0x5710b4:_0x549308)!=null?_0xca79f6:Dn,_0x4fd01a,_0x301b5e);try{await this[_0x5cdef6(0x254)][_0x5cdef6(0x410)](_0x380cf8,{'body':_0xf05660});}catch(_0x97ef2d){throw this[_0x5cdef6(0x3e5)][_0x5cdef6(0x36e)](_0x5cdef6(0x4ad),_0x5cdef6(0x3d2)),_0x97ef2d;}}async[_0x2b51d4(0x28b)](_0x1fadf0){var _0x25f8ee=_0x2b51d4;const {unitID:_0xedbd77,from:_0x1f0538,to:_0x5c241c,unitType:_0xef98c4}=_0x1fadf0[_0x25f8ee(0x1bc)];return(await this[_0x25f8ee(0x26a)][_0x25f8ee(0x1d5)]({'metadata':void 0x0},{'unitID':_0xedbd77,'type':_0xef98c4,'from':_0x1f0538,'to':_0x5c241c}))[_0x25f8ee(0x219)];}};Gt=kn([we(0x0,_0xbb9044(_0xe87ffb)),we(0x1,_0xbb9044(_0x334dc2)),we(0x2,_0x3d91ad),we(0x3,_0x3e08f2),we(0x4,_0x20d692)],Gt);const Hn=_0x2b51d4(0x1b6);function Bn(_0x9f0f4b){var _0x1009a7=_0x2b51d4;return JSON[_0x1009a7(0x375)](_0x9f0f4b)[_0x1009a7(0x23a)];}class Ti{constructor(){var _0x253dfb=_0x2b51d4;N(this,_0x253dfb(0x36d),new _0x358ef7()),N(this,'commentUpdate$',this['_commentUpdate$']['asObservable']());}[_0x2b51d4(0x460)](_0x34f194){var _0xf9b714=_0x2b51d4;this[_0xf9b714(0x36d)][_0xf9b714(0x321)](_0x34f194);}}var jn=Object['getOwnPropertyDescriptor'],Fn=(_0x24aac6,_0x5e4bd8,_0xa88859,_0x2270b2)=>{var _0x4476af=_0x2b51d4;for(var _0x22f89f=_0x2270b2>0x1?void 0x0:_0x2270b2?jn(_0x5e4bd8,_0xa88859):_0x5e4bd8,_0x33a5e4=_0x24aac6[_0x4476af(0x23a)]-0x1,_0x41ab42;_0x33a5e4>=0x0;_0x33a5e4--)(_0x41ab42=_0x24aac6[_0x33a5e4])&&(_0x22f89f=_0x41ab42(_0x22f89f)||_0x22f89f);return _0x22f89f;},Wt=(_0x2c6805,_0x34d1d5)=>(_0x4cb39e,_0x29af52)=>_0x34d1d5(_0x4cb39e,_0x29af52,_0x2c6805);let xe=class extends _0x46eb90{constructor(_0x16fef9,_0x15dc5d){var _0x2a3396=_0x2b51d4;super(),N(this,_0x2a3396(0x4a8),new Map()),N(this,'_roomCreated$',new _0x358ef7()),(this[_0x2a3396(0x22f)]=_0x16fef9,this[_0x2a3396(0x1cc)]=_0x15dc5d,this[_0x2a3396(0x27f)](_0xb2540(this['_univerInstanceService']['getTypeOfUnitDisposed$'](_0x5d6c54[_0x2a3396(0x1ca)])['pipe'](_0x87d7ab(_0x146f94=>_0x146f94['getUnitId']())),this[_0x2a3396(0x22f)][_0x2a3396(0x3d6)](_0x5d6c54[_0x2a3396(0x1f8)])[_0x2a3396(0x392)](_0x87d7ab(_0x30af6c=>_0x30af6c['getUnitId']())),this[_0x2a3396(0x22f)][_0x2a3396(0x3d6)](_0x5d6c54[_0x2a3396(0x2eb)])[_0x2a3396(0x392)](_0x87d7ab(_0x36add6=>_0x36add6[_0x2a3396(0x4a5)]())))['subscribe'](_0x3aa38b=>this['_removeRoom'](_0x3aa38b))));}['waitForRoom$'](_0x1d2f5c){var _0x35ece2=_0x2b51d4;return this[_0x35ece2(0x4a8)][_0x35ece2(0x2c6)](_0x1d2f5c)?_0x5e2f08(this['_roomMembers']['get'](_0x1d2f5c)):this[_0x35ece2(0x44a)][_0x35ece2(0x392)](_0x87d7ab(_0xb1861a=>{var _0x4b9a97=_0x35ece2;if(_0xb1861a===_0x1d2f5c)return this[_0x4b9a97(0x4a8)][_0x4b9a97(0x42b)](_0xb1861a);}));}[_0x2b51d4(0x414)](_0x17212c){var _0x249dca=_0x2b51d4;this[_0x249dca(0x1cc)][_0x249dca(0x414)](_0x17212c);}[_0x2b51d4(0x369)](){return this['_userManagerService']['getCurrentUser']();}[_0x2b51d4(0x2fa)](_0x54cd95,_0xe50454){var _0x28b961=_0x2b51d4;let _0x4a7980=this[_0x28b961(0x4a8)][_0x28b961(0x42b)](_0x54cd95);_0x4a7980||(_0x4a7980=new Vn(),this[_0x28b961(0x4a8)][_0x28b961(0x218)](_0x54cd95,_0x4a7980),this[_0x28b961(0x44a)][_0x28b961(0x321)](_0x54cd95)),_0x4a7980[_0x28b961(0x2fa)](_0xe50454);}[_0x2b51d4(0x298)](_0x40317a,_0x41bec1){var _0x75fb58=_0x2b51d4;const _0x28fff2=this[_0x75fb58(0x4a8)][_0x75fb58(0x42b)](_0x40317a);_0x28fff2&&_0x28fff2[_0x75fb58(0x298)](_0x41bec1);}['getRoom'](_0x208742){var _0x2ec6bc=_0x2b51d4;return this['_roomMembers'][_0x2ec6bc(0x42b)](_0x208742);}[_0x2b51d4(0x26c)](_0x41c23e,_0x449325){var _0x474976=_0x2b51d4;const _0x13d73d=this[_0x474976(0x4a8)][_0x474976(0x42b)](_0x41c23e);if(_0x13d73d)return _0x13d73d[_0x474976(0x26c)](_0x449325);}[_0x2b51d4(0x1f2)](_0x588206){var _0x1db9dd=_0x2b51d4;const _0x47699b=this[_0x1db9dd(0x4a8)][_0x1db9dd(0x42b)](_0x588206);_0x47699b&&(_0x47699b[_0x1db9dd(0x264)](),this[_0x1db9dd(0x4a8)][_0x1db9dd(0x1b2)](_0x588206));}['dispose'](){var _0x126c4e=_0x2b51d4;this[_0x126c4e(0x4a8)]['forEach'](_0x36d148=>_0x36d148[_0x126c4e(0x264)]()),this['_roomMembers'][_0x126c4e(0x2fb)](),this[_0x126c4e(0x44a)][_0x126c4e(0x252)]();}};xe=Fn([Wt(0x0,_0xcd0588),Wt(0x1,_0xbb9044(_0x609c05))],xe);class Vn extends _0x46eb90{constructor(){var _0x1c55c5=_0x2b51d4;super(...arguments),N(this,'_members',new Map()),N(this,'_members$',new _0x53317a(this[_0x1c55c5(0x4a3)])),N(this,_0x1c55c5(0x277),this[_0x1c55c5(0x468)][_0x1c55c5(0x380)]());}[_0x2b51d4(0x264)](){var _0x2edccd=_0x2b51d4;this[_0x2edccd(0x4a3)][_0x2edccd(0x2fb)]();}[_0x2b51d4(0x2fa)](_0x4c52c1){var _0xc31b6b=_0x2b51d4;this[_0xc31b6b(0x4a3)][_0xc31b6b(0x218)](_0x4c52c1[_0xc31b6b(0x2a1)],_0x4c52c1),this[_0xc31b6b(0x306)]();}[_0x2b51d4(0x298)](_0x1585bd){var _0x2ea879=_0x2b51d4;this[_0x2ea879(0x4a3)][_0x2ea879(0x1b2)](_0x1585bd);}[_0x2b51d4(0x26c)](_0x566d11){var _0x43342e=_0x2b51d4;return this[_0x43342e(0x4a3)][_0x43342e(0x42b)](_0x566d11);}['getAllMembers'](){var _0x183165=_0x2b51d4;return Array[_0x183165(0x241)](this[_0x183165(0x4a3)][_0x183165(0x1f3)]());}['_emitMembers'](){var _0x540626=_0x2b51d4;this[_0x540626(0x468)][_0x540626(0x321)](this[_0x540626(0x4a3)]);}}var Gn=Object[_0x2b51d4(0x374)],Wn=(_0x299ac1,_0x223d70,_0xcf0a66,_0x3f85ec)=>{var _0x37e6d5=_0x2b51d4;for(var _0x36d921=_0x3f85ec>0x1?void 0x0:_0x3f85ec?Gn(_0x223d70,_0xcf0a66):_0x223d70,_0x68a120=_0x299ac1[_0x37e6d5(0x23a)]-0x1,_0x4758b8;_0x68a120>=0x0;_0x68a120--)(_0x4758b8=_0x299ac1[_0x68a120])&&(_0x36d921=_0x4758b8(_0x36d921)||_0x36d921);return _0x36d921;},me=(_0x35dfb9,_0x5278ea)=>(_0x2a2276,_0x15760d)=>_0x5278ea(_0x2a2276,_0x15760d,_0x35dfb9),Ee=(_0xd18406=>(_0xd18406[_0xd18406[_0x2b51d4(0x269)]=0x0]=_0x2b51d4(0x269),_0xd18406[_0xd18406[_0x2b51d4(0x419)]=0x1]=_0x2b51d4(0x419),_0xd18406[_0xd18406[_0x2b51d4(0x2ae)]=0x2]=_0x2b51d4(0x2ae),_0xd18406[_0xd18406[_0x2b51d4(0x216)]=0x3]=_0x2b51d4(0x216),_0xd18406))(Ee||{});const Kt={[ge[_0x2b51d4(0x395)]]:'session.join-failed',[ge[_0x2b51d4(0x2e9)]]:_0x2b51d4(0x44d),[ge['JOIN_ROOM_NOT_EXISTS']]:_0x2b51d4(0x46c),[ge[_0x2b51d4(0x2e2)]]:_0x2b51d4(0x23d),[ge[_0x2b51d4(0x20e)]]:_0x2b51d4(0x2a9)};let Et=class extends _0xbf3a36{constructor(_0x3e800b,_0x222a42,_0x3af67f,_0x1b88bf,_0x2b2a7a,_0xf3313a,_0x1181d4,_0x1d091a,_0x1ad53e){var _0x55ddd7=_0x2b51d4;super(),N(this,'_sessionStatus$',new _0x53317a(0x0)),N(this,_0x55ddd7(0x221),this['_sessionStatus$'][_0x55ddd7(0x380)]()),N(this,_0x55ddd7(0x450),new _0x358ef7()),N(this,'event$',this[_0x55ddd7(0x450)][_0x55ddd7(0x380)]()),N(this,_0x55ddd7(0x2d4)),N(this,'_socketMessageSubscription'),N(this,_0x55ddd7(0x452)),N(this,'_shouldReportTelemetry',!0x1),N(this,'_telemetryInfo',null),(this[_0x55ddd7(0x364)]=_0x3e800b,this[_0x55ddd7(0x3e5)]=_0x3af67f,this[_0x55ddd7(0x22e)]=_0x1b88bf,this[_0x55ddd7(0x22c)]=_0x2b2a7a,this[_0x55ddd7(0x44b)]=_0xf3313a,this[_0x55ddd7(0x290)]=_0x1181d4,this[_0x55ddd7(0x3b8)]=_0x1d091a,this[_0x55ddd7(0x2ac)]=_0x1ad53e,this['_shouldReportTelemetry']=!!this[_0x55ddd7(0x2ac)],_0x222a42['pipe'](_0x31b31c(this[_0x55ddd7(0x330)]))[_0x55ddd7(0x36f)](_0x378160=>{var _0x8b06ed=_0x55ddd7,_0x380193;typeof _0x378160>'u'||(this[_0x8b06ed(0x2d4)]=_0x378160,_0x378160?(this[_0x8b06ed(0x2de)](_0x378160),this['_socketMessageSubscription']=_0x378160[_0x8b06ed(0x1b5)][_0x8b06ed(0x36f)](_0x43d997=>{var _0x1c0b75=_0x8b06ed;_0x43d997['routeKey']===this['_unitID']&&this[_0x1c0b75(0x3f1)](_0x43d997);})):(this['_throwTelemetryCollaborationNewChangeset'](),this['_sessionStatus$'][_0x8b06ed(0x321)](0x2),(_0x380193=this[_0x8b06ed(0x2f1)])==null||_0x380193[_0x8b06ed(0x1d9)](),this[_0x8b06ed(0x2f1)]=null));}));}get[_0x2b51d4(0x45e)](){var _0x4656b5=_0x2b51d4;return this[_0x4656b5(0x3ce)]['getValue']();}['getMemberID'](){var _0x309a0e=_0x2b51d4,_0x3e25d2,_0x5ae2b2;return(_0x5ae2b2=(_0x3e25d2=this[_0x309a0e(0x2d4)])==null?void 0x0:_0x3e25d2['memberID'])!=null?_0x5ae2b2:null;}[_0x2b51d4(0x264)](){var _0x56a221=_0x2b51d4;super[_0x56a221(0x264)](),this[_0x56a221(0x330)][_0x56a221(0x321)](),this[_0x56a221(0x330)]['complete']();}[_0x2b51d4(0x35b)](){var _0x1dab4f=_0x2b51d4,_0x309a37,_0x53b55d;this[_0x1dab4f(0x3a1)](),(_0x309a37=this[_0x1dab4f(0x2d4)])==null||_0x309a37[_0x1dab4f(0x480)]({'cmd':F[_0x1dab4f(0x3f0)],'data':{'roomID':this[_0x1dab4f(0x364)]}}),(_0x53b55d=this['_socket'])==null||_0x53b55d['close'](),this[_0x1dab4f(0x450)]['complete'](),this[_0x1dab4f(0x3ce)][_0x1dab4f(0x252)](),this[_0x1dab4f(0x264)]();}[_0x2b51d4(0x3f1)](_0x1f517a){var _0x21c492=_0x2b51d4;_0x1f517a[_0x21c492(0x1bf)]===F[_0x21c492(0x400)]?this[_0x21c492(0x338)](_0x1f517a):_0x1f517a[_0x21c492(0x1bf)]===F['RECV']&&this[_0x21c492(0x496)](_0x1f517a);}[_0x2b51d4(0x2de)](_0x13c714){var _0x2dde67=_0x2b51d4;this['_sessionStatus$'][_0x2dde67(0x321)](0x1),_0x13c714['send']({'cmd':F[_0x2dde67(0x400)],'routeKey':this['_unitID'],'routeType':'','data':{'rooms':[{'roomID':this[_0x2dde67(0x364)]}]}});}[_0x2b51d4(0x338)](_0x30c26b){var _0x1da2f8=_0x2b51d4,_0x19d894;if(_0x30c26b[_0x1da2f8(0x48d)]in Kt){this['_collaborationUIEventService'][_0x1da2f8(0x23e)]({'id':se[_0x1da2f8(0x293)],'data':Kt[_0x30c26b[_0x1da2f8(0x48d)]]}),this[_0x1da2f8(0x3ce)][_0x1da2f8(0x321)](0x2);return;}this[_0x1da2f8(0x3ce)]['next'](0x3);const _0x1c2cad=(_0x19d894=_0x30c26b[_0x1da2f8(0x1bc)]['roomInfos'][this[_0x1da2f8(0x364)]])==null?void 0x0:_0x19d894[_0x1da2f8(0x418)];_0x1c2cad&&_0x1c2cad[_0x1da2f8(0x33d)](_0x57974c=>this['_memberService'][_0x1da2f8(0x2fa)](this[_0x1da2f8(0x364)],_0x57974c));}[_0x2b51d4(0x496)](_0x236266){var _0x2f1068=_0x2b51d4;try{const _0x5c2a53=_0x236266['data'];switch(_0x5c2a53['eventID']){case _0x1cab20[_0x2f1068(0x2f2)]:this['_onUserJoin'](_0x5c2a53),this['_event$'][_0x2f1068(0x321)](_0x5c2a53);break;case _0x1cab20[_0x2f1068(0x40b)]:this['_onUserLeave'](_0x5c2a53),this[_0x2f1068(0x450)][_0x2f1068(0x321)](_0x5c2a53);break;case _0x1cab20[_0x2f1068(0x1bd)]:case _0x1cab20['CHANGESET_SHOULD_RETRY']:this[_0x2f1068(0x251)](),this[_0x2f1068(0x388)](),this[_0x2f1068(0x450)]['next'](_0x5c2a53);break;case _0x1cab20['MSG_FOR_ERROR']:this[_0x2f1068(0x3e5)][_0x2f1068(0x36e)](_0x2f1068(0x212)+JSON[_0x2f1068(0x375)](_0x5c2a53)),this[_0x2f1068(0x450)][_0x2f1068(0x321)](_0x5c2a53);break;case _0x1cab20[_0x2f1068(0x3d4)]:this['_commentService'][_0x2f1068(0x460)](_0x5c2a53[_0x2f1068(0x1bc)]),this['_event$'][_0x2f1068(0x321)](_0x5c2a53);break;default:this[_0x2f1068(0x450)][_0x2f1068(0x321)](_0x5c2a53);}}catch(_0x1a0555){this['_logService']['error'](_0x1a0555,_0x236266);}}['_onUserJoin'](_0x54eef9){var _0x28144a=_0x2b51d4;this[_0x28144a(0x44b)]['updateMember'](this[_0x28144a(0x364)],_0x54eef9['data']);}[_0x2b51d4(0x445)](_0x54cf9c){var _0x5d8bea=_0x2b51d4;this[_0x5d8bea(0x44b)][_0x5d8bea(0x298)](this[_0x5d8bea(0x364)],_0x54cf9c[_0x5d8bea(0x1bc)][_0x5d8bea(0x2a1)]);}async[_0x2b51d4(0x480)](_0x3acaf7,_0x263880){var _0x467335=_0x2b51d4;if(this[_0x467335(0x45e)]!==0x3||!this[_0x467335(0x2d4)])throw new Error(_0x467335(0x2ef));try{_0x3acaf7[_0x467335(0x2dd)]===_0x1cab20['SUBMIT_CHANGESET']&&(this[_0x467335(0x3a9)](),this[_0x467335(0x3aa)](_0x3acaf7)),this[_0x467335(0x2d4)]['send']({'cmd':F[_0x467335(0x27a)],'routeKey':_0x263880,'routeType':'','data':_0x3acaf7});}catch(_0x11e9d8){this[_0x467335(0x3e5)]['error'](_0x11e9d8);}}[_0x2b51d4(0x3a9)](){var _0x148d63=_0x2b51d4,_0x57b36e;this[_0x148d63(0x452)]=setTimeout(()=>{var _0x427cfe=_0x148d63;this[_0x427cfe(0x452)]=null,this[_0x427cfe(0x3b8)][_0x427cfe(0x23e)]({'id':se['SUBMIT_CHANGESET_TIMEOUT']});},(_0x57b36e=this['_configService'][_0x148d63(0x2a7)](mi))!=null?_0x57b36e:gi);}[_0x2b51d4(0x388)](){var _0x5197df=_0x2b51d4;this[_0x5197df(0x452)]&&(clearTimeout(this[_0x5197df(0x452)]),this['_collaborationTimeoutTimer']=null);}[_0x2b51d4(0x3aa)](_0x2404c5){var _0x2bbc14=_0x2b51d4;if(!this['_shouldReportTelemetry'])return;const {data:_0x2966c9}=_0x2404c5,{unitID:_0x3cd0b8,changeset:_0x1672c2}=_0x2966c9,{mutations:_0x3e1881,type:_0x5d7e86}=_0x1672c2;this[_0x2bbc14(0x42a)]={'unitId':_0x3cd0b8,'type':_0x5d7e86,'startTime':performance[_0x2bbc14(0x1f0)](),'stopTime':0x0,'duration':0x0,'size':Bn(_0x3e1881)};}[_0x2b51d4(0x251)](){var _0x26d33c=_0x2b51d4;if(this[_0x26d33c(0x3a3)]){if(!this[_0x26d33c(0x42a)]){this['_logService']['error'](_0x26d33c(0x4ad),'telemetry\x20info\x20is\x20not\x20initialized');return;}this['_telemetryInfo'][_0x26d33c(0x3bd)]=performance[_0x26d33c(0x1f0)](),this[_0x26d33c(0x42a)][_0x26d33c(0x228)]=this[_0x26d33c(0x42a)][_0x26d33c(0x3bd)]-this[_0x26d33c(0x42a)][_0x26d33c(0x43c)],this[_0x26d33c(0x2ac)][_0x26d33c(0x46a)](Hn,this[_0x26d33c(0x42a)]),this[_0x26d33c(0x42a)]=null;}}[_0x2b51d4(0x3a1)](){this['_telemetryInfo']=null;}};Et=Wn([me(0x2,_0x3e08f2),me(0x3,_0x3d91ad),me(0x4,_0xbb9044(_0x2fded0)),me(0x5,_0xbb9044(xe)),me(0x6,_0xbb9044(Ti)),me(0x7,_0xbb9044(pe)),me(0x8,_0x19063a(_0x4df784))],Et);var Kn=Object[_0x2b51d4(0x374)],Yn=(_0x19ddc3,_0x1a2135,_0x241d3e,_0x2bdd0f)=>{var _0x537aae=_0x2b51d4;for(var _0x4e28ca=_0x2bdd0f>0x1?void 0x0:_0x2bdd0f?Kn(_0x1a2135,_0x241d3e):_0x1a2135,_0x174228=_0x19ddc3[_0x537aae(0x23a)]-0x1,_0x2590cb;_0x174228>=0x0;_0x174228--)(_0x2590cb=_0x19ddc3[_0x174228])&&(_0x4e28ca=_0x2590cb(_0x4e28ca)||_0x4e28ca);return _0x4e28ca;},be=(_0x1fd29d,_0x53b0b4)=>(_0x42bb2e,_0x2156bb)=>_0x53b0b4(_0x42bb2e,_0x2156bb,_0x1fd29d);let Le=class extends _0x46eb90{constructor(_0x3b1fd6,_0x784534,_0x3e39ca,_0x4c3f2e,_0x127503,_0x179eca){var _0x578f81=_0x2b51d4;super(),N(this,_0x578f81(0x2db),new _0x53317a(void 0x0)),N(this,_0x578f81(0x341),this[_0x578f81(0x2db)]['asObservable']()),N(this,_0x578f81(0x2d3),null),N(this,'_sessions',new Map()),N(this,_0x578f81(0x429),new _0x53317a(Ee['IDLE'])),N(this,_0x578f81(0x39b),this[_0x578f81(0x429)][_0x578f81(0x380)]()),N(this,_0x578f81(0x2f3),!0x1),N(this,'_retryConnectingTimer'),N(this,'_retryCount',0x0),N(this,'_sendHeartbeatTimer'),N(this,_0x578f81(0x220)),(this[_0x578f81(0x333)]=_0x3b1fd6,this[_0x578f81(0x3e5)]=_0x784534,this['_configService']=_0x3e39ca,this['_socketService']=_0x4c3f2e,this[_0x578f81(0x3b8)]=_0x127503,this['_networkConditionService']=_0x179eca,this[_0x578f81(0x2b1)]());}get[_0x2b51d4(0x2d4)](){var _0x3cf4a6=_0x2b51d4;return this[_0x3cf4a6(0x2db)][_0x3cf4a6(0x408)]();}[_0x2b51d4(0x2b1)](){var _0x20ecda=_0x2b51d4;this[_0x20ecda(0x3ee)]&&this['disposeWithMe'](this[_0x20ecda(0x3ee)]['online$'][_0x20ecda(0x36f)](_0x46d83b=>{var _0x4d1b29=_0x20ecda;_0x46d83b&&!this['_socket']&&this[_0x4d1b29(0x1d3)](),_0x46d83b||this[_0x4d1b29(0x323)]();}));}[_0x2b51d4(0x264)](){var _0x4c333d=_0x2b51d4;super[_0x4c333d(0x264)](),this[_0x4c333d(0x301)](),this[_0x4c333d(0x43a)](),this[_0x4c333d(0x426)](),this[_0x4c333d(0x305)]['forEach'](_0x406815=>_0x406815['dispose']()),this[_0x4c333d(0x305)][_0x4c333d(0x2fb)](),this[_0x4c333d(0x429)]['complete']();}async[_0x2b51d4(0x47c)](_0x17aac8){var _0x5e9b00=_0x2b51d4;if(this[_0x5e9b00(0x305)]['has'](_0x17aac8))return this['_sessions']['get'](_0x17aac8);this[_0x5e9b00(0x317)]();const _0x4cc044=this['_injector'][_0x5e9b00(0x492)](Et,_0x17aac8,this['_socket$'][_0x5e9b00(0x380)]());return this[_0x5e9b00(0x305)][_0x5e9b00(0x218)](_0x17aac8,_0x4cc044),_0x4cc044;}['closeSession'](_0x3d9a28){var _0x4d1fb2=_0x2b51d4,_0x2bb274;const _0x571659=this[_0x4d1fb2(0x305)][_0x4d1fb2(0x42b)](_0x3d9a28);_0x571659&&(this[_0x4d1fb2(0x305)]['delete'](_0x3d9a28),_0x571659[_0x4d1fb2(0x35b)]()),this['_sessions'][_0x4d1fb2(0x299)]||(_0x2bb274=this[_0x4d1fb2(0x2d4)])==null||_0x2bb274['close']();}[_0x2b51d4(0x1d3)](){var _0x4f594c=_0x2b51d4;this[_0x4f594c(0x41e)]=0x0,this[_0x4f594c(0x301)](),this[_0x4f594c(0x1c1)]();}[_0x2b51d4(0x301)](){var _0x4c88ea=_0x2b51d4;this['_retryConnectingTimer']!=null&&(clearTimeout(this[_0x4c88ea(0x286)]),this[_0x4c88ea(0x286)]=null);}async['_createSocket'](){var _0x46983f=_0x2b51d4,_0xa49cd6,_0x1c8577;const _0x3fc457=this[_0x46983f(0x22e)][_0x46983f(0x2a7)](In),_0x209e29=this[_0x46983f(0x22e)][_0x46983f(0x2a7)](q),_0x4f4a4a=(_0x1c8577=(_0xa49cd6=_0x209e29==null?void 0x0:_0x209e29[_0x46983f(0x1c5)])!=null?_0xa49cd6:_0x3fc457)!=null?_0x1c8577:Tn,_0x594be7=await this[_0x46983f(0x3c8)][_0x46983f(0x358)](_0x4f4a4a);return this[_0x46983f(0x2d3)]=_0x594be7,_0x594be7;}async[_0x2b51d4(0x317)](){var _0x5969a7=_0x2b51d4,_0x3f418f,_0x19ffd0;try{const _0x454c25=(_0x19ffd0=(_0x3f418f=this[_0x5969a7(0x2d4)])!=null?_0x3f418f:this['_candidateSocket'])!=null?_0x19ffd0:await this[_0x5969a7(0x376)]();if(_0x454c25){const _0x43a141=_0x454c25[_0x5969a7(0x480)];_0x454c25[_0x5969a7(0x480)]=_0x4d8c96=>(this[_0x5969a7(0x263)](),_0x43a141[_0x5969a7(0x25e)](_0x454c25,[_0x4d8c96])),_0x454c25[_0x5969a7(0x1b5)][_0x5969a7(0x36f)](_0x3758a5=>this[_0x5969a7(0x471)](_0x454c25,_0x3758a5)),_0x454c25['error$'][_0x5969a7(0x392)](_0x5853e7(0x1))[_0x5969a7(0x36f)](_0x1ede64=>this[_0x5969a7(0x3e5)][_0x5969a7(0x36e)](_0x5969a7(0x34f),_0x1ede64)),_0x454c25[_0x5969a7(0x45a)][_0x5969a7(0x392)](_0x5853e7(0x1))['subscribe'](()=>{var _0x2728e8=_0x5969a7;this[_0x2728e8(0x390)](_0x454c25);}),_0x454c25[_0x5969a7(0x3e8)][_0x5969a7(0x392)](_0x5853e7(0x1))['subscribe'](_0x781939=>{var _0x2b4817=_0x5969a7;this[_0x2b4817(0x3e5)][_0x2b4817(0x39f)]('[CollaborationSessionService]',_0x2b4817(0x3a7),_0x781939),this[_0x2b4817(0x33f)]();});}}catch(_0x4c01a6){this['_logService'][_0x5969a7(0x36e)](_0x4c01a6),this['_onConnectionFailed']();}}[_0x2b51d4(0x390)](_0x342a51){var _0x1632b3=_0x2b51d4;this[_0x1632b3(0x3e5)][_0x1632b3(0x39f)](_0x1632b3(0x20c),_0x1632b3(0x446)),_0x342a51[_0x1632b3(0x480)]({'cmd':F[_0x1632b3(0x1c8)]}),this['_rescheduleHeartbeat']();}[_0x2b51d4(0x323)](){var _0x17c8a0=_0x2b51d4;this['_socketReady']=!0x1,this[_0x17c8a0(0x2d3)]=null,this[_0x17c8a0(0x429)]['next'](Ee[_0x17c8a0(0x2ae)]),this[_0x17c8a0(0x2db)]['next'](null),this['_clearTimeoutTimer'](),this[_0x17c8a0(0x426)]();}[_0x2b51d4(0x33f)](){var _0x192698=_0x2b51d4,_0x52f0ff;this[_0x192698(0x323)](),this[_0x192698(0x41e)]<((_0x52f0ff=this[_0x192698(0x22e)][_0x192698(0x2a7)](yn))!=null?_0x52f0ff:On)?(this[_0x192698(0x3b8)]['emitEvent']({'id':se[_0x192698(0x2f5)]}),this['_tryReconnect']()):this[_0x192698(0x3b8)][_0x192698(0x23e)]({'id':se['SOCKET_FAILED']});}['_tryReconnect'](){var _0x263cd9=_0x2b51d4,_0x18dd98;const _0x5c470a=this[_0x263cd9(0x41e)],_0x3fc49f=this['_configService']['getConfig'](q),_0x3cad83=_0x5c470a===0x0?0x0:((_0x18dd98=_0x3fc49f==null?void 0x0:_0x3fc49f['retryConnectingInterval'])!=null?_0x18dd98:bn)*0x2**_0x5c470a;this[_0x263cd9(0x286)]=setTimeout(()=>{var _0x4797dd=_0x263cd9;clearTimeout(this[_0x4797dd(0x286)]),this[_0x4797dd(0x286)]=null,this['_tryEnsureSocket']();},_0x3cad83),this[_0x263cd9(0x41e)]+=0x1;}[_0x2b51d4(0x471)](_0x29eb08,_0x280bd6){var _0x31aa4e=_0x2b51d4;const {cmd:_0x52a5fb}=_0x280bd6;_0x52a5fb===F[_0x31aa4e(0x1c8)]&&!this[_0x31aa4e(0x2f3)]&&(_0x29eb08[_0x31aa4e(0x2a1)]=_0x280bd6['data'][_0x31aa4e(0x2a1)],this[_0x31aa4e(0x2db)][_0x31aa4e(0x321)](_0x29eb08),this[_0x31aa4e(0x429)][_0x31aa4e(0x321)](Ee[_0x31aa4e(0x216)]),this[_0x31aa4e(0x2f3)]=!0x0,this[_0x31aa4e(0x2d3)]=null),_0x52a5fb===F[_0x31aa4e(0x2fc)]&&this['_clearTimeoutTimer'](),this[_0x31aa4e(0x263)]();}[_0x2b51d4(0x263)](){var _0x4bfb75=_0x2b51d4,_0x1180cf;this['_clearHeartbeatTimer'](),this[_0x4bfb75(0x393)]=setTimeout(()=>this[_0x4bfb75(0x382)](),(_0x1180cf=this[_0x4bfb75(0x22e)][_0x4bfb75(0x2a7)](Cn))!=null?_0x1180cf:Rn);}['_sendHeartbeat'](){var _0x1808b8=_0x2b51d4;this[_0x1808b8(0x2d4)][_0x1808b8(0x480)]({'cmd':F[_0x1808b8(0x2fc)]}),this[_0x1808b8(0x484)]();}[_0x2b51d4(0x484)](){var _0x26aef3=_0x2b51d4,_0x588820;this['_timeoutTimer']=setTimeout(()=>this['_onConnectionFailed'](),(_0x588820=this[_0x26aef3(0x22e)][_0x26aef3(0x2a7)](mi))!=null?_0x588820:gi);}[_0x2b51d4(0x426)](){var _0x337668=_0x2b51d4;this[_0x337668(0x393)]!=null&&(clearTimeout(this['_sendHeartbeatTimer']),this['_sendHeartbeatTimer']=null);}[_0x2b51d4(0x43a)](){var _0x27bb5b=_0x2b51d4;this[_0x27bb5b(0x220)]!=null&&(clearTimeout(this['_timeoutTimer']),this[_0x27bb5b(0x220)]=null);}};Le=Yn([be(0x0,_0xbb9044(_0xe87ffb)),be(0x1,_0x3e08f2),be(0x2,_0x3d91ad),be(0x3,Ii),be(0x4,_0xbb9044(pe)),be(0x5,_0x19063a(Pn))],Le);const V=[];for(let t=0x0;t<0x100;++t)V[_0x2b51d4(0x276)]((t+0x100)[_0x2b51d4(0x2df)](0x10)[_0x2b51d4(0x350)](0x1));function _0x3286(_0x2ef1e3,_0x4b93d1){var _0x320420=_0x3204();return _0x3286=function(_0x3286c1,_0x13e848){_0x3286c1=_0x3286c1-0x1b0;var _0xba8454=_0x320420[_0x3286c1];return _0xba8454;},_0x3286(_0x2ef1e3,_0x4b93d1);}function qn(_0xf15631,_0x52d77e=0x0){var _0x5daa58=_0x2b51d4;return(V[_0xf15631[_0x52d77e+0x0]]+V[_0xf15631[_0x52d77e+0x1]]+V[_0xf15631[_0x52d77e+0x2]]+V[_0xf15631[_0x52d77e+0x3]]+'-'+V[_0xf15631[_0x52d77e+0x4]]+V[_0xf15631[_0x52d77e+0x5]]+'-'+V[_0xf15631[_0x52d77e+0x6]]+V[_0xf15631[_0x52d77e+0x7]]+'-'+V[_0xf15631[_0x52d77e+0x8]]+V[_0xf15631[_0x52d77e+0x9]]+'-'+V[_0xf15631[_0x52d77e+0xa]]+V[_0xf15631[_0x52d77e+0xb]]+V[_0xf15631[_0x52d77e+0xc]]+V[_0xf15631[_0x52d77e+0xd]]+V[_0xf15631[_0x52d77e+0xe]]+V[_0xf15631[_0x52d77e+0xf]])[_0x5daa58(0x328)]();}let ut;const zn=new Uint8Array(0x10);function Jn(){var _0x186560=_0x2b51d4;if(!ut){if(typeof crypto>'u'||!crypto[_0x186560(0x223)])throw new Error(_0x186560(0x38b));ut=crypto[_0x186560(0x223)][_0x186560(0x335)](crypto);}return ut(zn);}const Xn=typeof crypto<'u'&&crypto['randomUUID']&&crypto[_0x2b51d4(0x224)][_0x2b51d4(0x335)](crypto),Yt={'randomUUID':Xn};function Zn(_0x497569,_0x2b6dda,_0x2c1d0a){var _0x53c2f3=_0x2b51d4,_0xc4ce7b,_0x56ec9c,_0x27bb29;if(Yt[_0x53c2f3(0x224)]&&!_0x497569)return Yt[_0x53c2f3(0x224)]();_0x497569=_0x497569||{};const _0x3c8959=(_0x27bb29=(_0x56ec9c=_0x497569[_0x53c2f3(0x3eb)])!=null?_0x56ec9c:(_0xc4ce7b=_0x497569['rng'])==null?void 0x0:_0xc4ce7b[_0x53c2f3(0x2ea)](_0x497569))!=null?_0x27bb29:Jn();if(_0x3c8959['length']<0x10)throw new Error('Random\x20bytes\x20length\x20must\x20be\x20>=\x2016');return _0x3c8959[0x6]=_0x3c8959[0x6]&0xf|0x40,_0x3c8959[0x8]=_0x3c8959[0x8]&0x3f|0x80,qn(_0x3c8959);}const J=_0x2e4ac6('collaboration-client.local-cache-service');function Bs(_0x2bf6f7){return'unit-cache-'+_0x2bf6f7;}var Qn=Object[_0x2b51d4(0x374)],er=(_0x598131,_0x4cb5b0,_0x2be67d,_0x223b0d)=>{var _0x32fb6f=_0x2b51d4;for(var _0x5dd348=_0x223b0d>0x1?void 0x0:_0x223b0d?Qn(_0x4cb5b0,_0x2be67d):_0x4cb5b0,_0x37c8eb=_0x598131[_0x32fb6f(0x23a)]-0x1,_0x37626c;_0x37c8eb>=0x0;_0x37c8eb--)(_0x37626c=_0x598131[_0x37c8eb])&&(_0x5dd348=_0x37626c(_0x5dd348)||_0x5dd348);return _0x5dd348;},dt=(_0xcd6c4b,_0x5ab372)=>(_0x3e432e,_0x235dac)=>_0x5ab372(_0x3e432e,_0x235dac,_0xcd6c4b);function tr(_0x44f8c1){var _0x78ef44=_0x2b51d4;const {unitID:_0x459066,mutations:_0x2cbf1c}=_0x44f8c1;return{'unitId':_0x459066,'subUnitId':_0x2cbf1c[0x0][_0x78ef44(0x424)][_0x78ef44(0x209)]};}let it=class{constructor(_0x5542da,_0x4e0757,_0x349206){var _0x2ba808=_0x2b51d4;this[_0x2ba808(0x333)]=_0x5542da,this[_0x2ba808(0x404)]=_0x4e0757,this['_instanceService']=_0x349206;}[_0x2b51d4(0x373)](_0x51d1cf){var _0x3f8317=_0x2b51d4,_0x15b2ec,_0x239d35,_0x4c241b,_0x42b404;const _0x47dbee=this[_0x3f8317(0x333)][_0x3f8317(0x42b)](_0x1a3dc5),{unitId:_0x1af2f7,subUnitId:_0x3655be}=tr(_0x51d1cf),_0x485b94=_0x47dbee==null?void 0x0:_0x47dbee[_0x3f8317(0x495)](_0x1af2f7)[_0x3f8317(0x2a6)](),_0x105a00=(_0x239d35=(_0x15b2ec=this[_0x3f8317(0x1d2)]['getUnit'](_0x1af2f7))==null?void 0x0:_0x15b2ec[_0x3f8317(0x1fd)]())==null?void 0x0:_0x239d35['getSheetId']();if(_0x485b94['length']===0x0||!_0x1af2f7||!_0x3655be)return;const _0x2df881=[{'id':_0x3be03b['id'],'params':{'unitId':_0x1af2f7,'subUnitId':_0x105a00,'selections':_0x1f8cee[_0x3f8317(0x289)](_0x485b94)}}],_0xae78d5=this[_0x3f8317(0x404)][_0x3f8317(0x29c)](_0x51d1cf,_0x2df881);if(!_0x297140(_0xae78d5))throw _0xae78d5[_0x3f8317(0x36e)];const _0x1736ed=(_0x42b404=(_0x4c241b=_0xae78d5[_0x3f8317(0x432)][0x0])==null?void 0x0:_0x4c241b[_0x3f8317(0x424)])==null?void 0x0:_0x42b404[_0x3f8317(0x394)];if(Array[_0x3f8317(0x1ff)](_0x1736ed)&&_0x1736ed[_0x3f8317(0x23a)]){if(_0x1736ed['length']===_0x2df881[0x0][_0x3f8317(0x424)]['selections']['length']&&_0x1736ed[_0x3f8317(0x479)]((_0x267635,_0x4d0e31)=>_0x5e69ad['equals'](_0x267635[_0x3f8317(0x2d7)],_0x2df881[0x0]['params']['selections'][_0x4d0e31][_0x3f8317(0x2d7)])))return;this['_injector']['get'](_0x3b7381)[_0x3f8317(0x49f)](_0x3be03b['id'],{'unitId':_0x1af2f7,'subUnitId':_0x105a00,'selections':_0x1736ed});}}};it=er([dt(0x0,_0xbb9044(_0xe87ffb)),dt(0x1,_0x5a75cc),dt(0x2,_0xcd0588)],it);const ht=_0x2e4ac6('univer-pro.collaboration-client.single-active-unit-service');var Ci=(_0x5004a3=>(_0x5004a3[_0x5004a3['NO_OTHER_CLIENTS_EDITING']=0x0]='NO_OTHER_CLIENTS_EDITING',_0x5004a3[_0x5004a3['OTHER_CLIENTS_EDITING']=0x1]=_0x2b51d4(0x26f),_0x5004a3))(Ci||{});const ir=new Set([_0x4eab79['id']]);function qt(_0x689e31,_0xa5b81f,_0xa04f5,_0x924956,_0x3efef2){var _0x2cc3b8=_0x2b51d4,_0x42d1ad,_0x47606d,_0x559f1f,_0x5c9ee3;const _0x1dd4e3=[];for(const _0x1d2830 of _0x689e31)if(ir[_0x2cc3b8(0x2c6)](_0x1d2830['id'])){if(_0x1dd4e3[_0x2cc3b8(0x23a)]>0x0)break;_0x1dd4e3[_0x2cc3b8(0x276)](_0x1d2830);break;}else _0x1dd4e3[_0x2cc3b8(0x276)](_0x1d2830);const _0x4e5b2a=(_0x47606d=(_0x42d1ad=_0x3efef2[_0x2cc3b8(0x369)]())==null?void 0x0:_0x42d1ad['userID'])!=null?_0x47606d:_0x2cc3b8(0x2e1),_0x500450=(_0x5c9ee3=(_0x559f1f=_0x3efef2[_0x2cc3b8(0x369)]())==null?void 0x0:_0x559f1f['memberID'])!=null?_0x5c9ee3:'unknown';return{'changeset':{'unitID':_0xa5b81f,'type':_0xf1726a(_0xa04f5['getUnitType'](_0xa5b81f)),'baseRev':_0x924956['getCurrentRevOfUnit'](_0xa5b81f),'revision':0x0,'userID':_0x4e5b2a,'memberID':_0x500450,'mutations':_0x1dd4e3},'pendingMutations':_0x689e31[_0x2cc3b8(0x350)](_0x1dd4e3[_0x2cc3b8(0x23a)])};}function nr(_0x43d72c,_0x5ed7cc,_0x549b16,_0x481dde,_0x50878f){var _0x29139f=_0x2b51d4,_0x9f2633,_0x5b65b0,_0x5c535a,_0x4fda18;const _0x5a8bbd=[_0x43d72c[_0x29139f(0x279)]((_0x233779,_0x274df3)=>{var _0x18a277=_0x29139f,_0x4f426c;const {id:_0x42ee24}=_0x233779,{id:_0x1f9d39,type:_0x55a6d5}=_0x274df3,_0x4ea76b=(_0x4f426c=_0x233779[_0x18a277(0x424)])!=null?_0x4f426c:{'actions':null},_0x2c866f=_0x274df3[_0x18a277(0x424)];if(_0x42ee24&&_0x42ee24!==_0x1f9d39)throw new Error(_0x18a277(0x1ec)+_0x42ee24+_0x18a277(0x384)+_0x1f9d39+'.');return{..._0x233779,'id':_0x1f9d39,'type':_0x55a6d5,'params':{'unitId':_0x2c866f['unitId'],'textRanges':_0x2c866f[_0x18a277(0x2aa)],'actions':_0x322754[_0x18a277(0x3d0)](_0x4ea76b[_0x18a277(0x49e)],_0x2c866f[_0x18a277(0x49e)])}};},{})],_0x56cccf=(_0x5b65b0=(_0x9f2633=_0x50878f['getCurrentUser']())==null?void 0x0:_0x9f2633[_0x29139f(0x32d)])!=null?_0x5b65b0:_0x29139f(0x2e1),_0x44bc36=(_0x4fda18=(_0x5c535a=_0x50878f[_0x29139f(0x369)]())==null?void 0x0:_0x5c535a[_0x29139f(0x2a1)])!=null?_0x4fda18:_0x29139f(0x2e1);return{'changeset':{'unitID':_0x5ed7cc,'type':_0xf1726a(_0x549b16[_0x29139f(0x451)](_0x5ed7cc)),'baseRev':_0x481dde['getCurrentRevOfUnit'](_0x5ed7cc),'revision':0x0,'userID':_0x56cccf,'memberID':_0x44bc36,'mutations':_0x5a8bbd},'pendingMutations':[]};}function Ri(_0x560668,_0x4f802b){var _0x2922c1=_0x2b51d4;const _0x577711=new _0x465cb8(0x1);return setTimeout(()=>_0x577711[_0x2922c1(0x321)](_0x4f802b),_0x560668),_0x577711[_0x2922c1(0x380)]()[_0x2922c1(0x392)](_0xcc9855(0x1));}const rr={'id':_0x536baf['id'],'type':_0x1d9afc[_0x2b51d4(0x470)],'params':{}};var sr=Object[_0x2b51d4(0x374)],Te=(_0x2ed4e7,_0x474420,_0x2095b5,_0x5d3866)=>{for(var _0x1cd01e=_0x5d3866>0x1?void 0x0:_0x5d3866?sr(_0x474420,_0x2095b5):_0x474420,_0x4a9238=_0x2ed4e7['length']-0x1,_0x5bde2c;_0x4a9238>=0x0;_0x4a9238--)(_0x5bde2c=_0x2ed4e7[_0x4a9238])&&(_0x1cd01e=_0x5bde2c(_0x1cd01e)||_0x1cd01e);return _0x1cd01e;},P=(_0x3fb5e4,_0x26dc21)=>(_0x328bdb,_0x28a121)=>_0x26dc21(_0x328bdb,_0x28a121,_0x3fb5e4),bi=(_0x22f937=>(_0x22f937[_0x2b51d4(0x324)]=_0x2b51d4(0x3d1),_0x22f937[_0x2b51d4(0x2e7)]=_0x2b51d4(0x24d),_0x22f937['PENDING']=_0x2b51d4(0x227),_0x22f937[_0x2b51d4(0x3d3)]=_0x2b51d4(0x3ed),_0x22f937[_0x2b51d4(0x259)]=_0x2b51d4(0x1f4),_0x22f937['FETCH_MISS']=_0x2b51d4(0x1f5),_0x22f937[_0x2b51d4(0x385)]=_0x2b51d4(0x438),_0x22f937[_0x2b51d4(0x2ae)]=_0x2b51d4(0x282),_0x22f937))(bi||{});const yi=0xea60;class Ce{constructor(_0x219da2,_0x66b858,_0x355b86,_0x3b96d2,_0x10ce3a,_0x1ae604,_0x1c6d55,_0x4db51,_0x3fd66a){var _0x405cee=_0x2b51d4;N(this,_0x405cee(0x41d),null),N(this,_0x405cee(0x203),[]),(this['unitID']=_0x219da2,this[_0x405cee(0x26e)]=_0x66b858,this[_0x405cee(0x459)]=_0x10ce3a,this['_commandService']=_0x1ae604,this['_undoRedoService']=_0x1c6d55,this[_0x405cee(0x322)]=_0x4db51,this[_0x405cee(0x39e)]=_0x3fd66a,this['_awaitingChangeset']=_0x355b86,this[_0x405cee(0x203)]=_0x3b96d2);}[_0x2b51d4(0x2ee)](_0x477a98){var _0x59bcf4=_0x2b51d4;const _0x497ad5=this[_0x59bcf4(0x322)][_0x59bcf4(0x3b7)](this[_0x59bcf4(0x3c5)]);return _0x477a98[_0x59bcf4(0x230)]>_0x497ad5+0x1?(this[_0x59bcf4(0x459)][_0x59bcf4(0x2cb)]({'from':_0x497ad5,'to':_0x477a98['revision']-0x1}),!0x0):!0x1;}[_0x2b51d4(0x3f7)](_0x2e5a8c){var _0x2bdcfc=_0x2b51d4;this[_0x2bdcfc(0x3f6)][_0x2bdcfc(0x242)](this[_0x2bdcfc(0x3c5)],_0x2e5a8c);}['_transformSelections'](_0x27bed8){var _0x122811=_0x2b51d4,_0x5f08ae,_0xeff61e;(_0xeff61e=(_0x5f08ae=this['_handler'])['onTransformSelections'])==null||_0xeff61e[_0x122811(0x2ea)](_0x5f08ae,_0x27bed8);}['_transformIMECache'](_0x178e52){var _0x44afa0=_0x2b51d4,_0x5a4c84,_0x3f1ad6;return(_0x3f1ad6=(_0x5a4c84=this[_0x44afa0(0x459)])['onTransformIME'])==null?void 0x0:_0x3f1ad6['call'](_0x5a4c84,_0x178e52);}['_transformStateCache'](_0x5e3eaf){var _0x49d2e6=_0x2b51d4,_0xec5763,_0x505e37;return(_0x505e37=(_0xec5763=this[_0x49d2e6(0x459)])[_0x49d2e6(0x2f4)])==null?void 0x0:_0x505e37[_0x49d2e6(0x2ea)](_0xec5763,_0x5e3eaf);}['_transformRemoteChangesetByIMECache'](_0x446ae1){var _0x2e09ff,_0x25434c,_0x270cf7;return(_0x270cf7=(_0x25434c=(_0x2e09ff=this['_handler'])['onTransformRemoteChangesetByIMECache'])==null?void 0x0:_0x25434c['call'](_0x2e09ff,_0x446ae1))!=null?_0x270cf7:_0x446ae1;}[_0x2b51d4(0x381)](_0x39f23c){var _0x57e8c9=_0x2b51d4,_0x2595b2,_0x586c83,_0x4065f5;return(_0x4065f5=(_0x586c83=(_0x2595b2=this[_0x57e8c9(0x459)])['onTransformRemoteChangesetByStateCache'])==null?void 0x0:_0x586c83[_0x57e8c9(0x2ea)](_0x2595b2,_0x39f23c))!=null?_0x4065f5:_0x39f23c;}[_0x2b51d4(0x2b3)](_0x528f30){var _0x5bfe91=_0x2b51d4,_0x44061c,_0x2054b2;if(this['type']===Q[_0x5bfe91(0x1f8)]){const {unitID:_0x1ae38d,mutations:_0x23d556,memberID:_0x54873e}=_0x528f30,_0x214293=_0x23d556[0x0][_0x5bfe91(0x424)][_0x5bfe91(0x2aa)];Array[_0x5bfe91(0x1ff)](_0x214293)&&_0x214293[_0x5bfe91(0x23a)]>0x0&&((_0x2054b2=(_0x44061c=this['_handler'])[_0x5bfe91(0x2d0)])==null||_0x2054b2[_0x5bfe91(0x2ea)](_0x44061c,{'unitID':_0x1ae38d,'memberID':_0x54873e,'textRanges':_0x214293}));}}[_0x2b51d4(0x3f9)](){var _0x2ff1c6=_0x2b51d4,_0x23579b;(_0x23579b=this[_0x2ff1c6(0x39e)])==null||_0x23579b['updateOfflineData'](this['unitID'],this[_0x2ff1c6(0x26e)],this['_awaitingChangeset'],this[_0x2ff1c6(0x203)]);}[_0x2b51d4(0x29d)](){var _0x274397=_0x2b51d4;return this['_revisionService'][_0x274397(0x3b7)](this[_0x274397(0x3c5)]);}['_incrementRevisionNumber'](){var _0x9317ae=_0x2b51d4;this[_0x9317ae(0x322)]['incrementRevOfUnit'](this[_0x9317ae(0x3c5)]);}[_0x2b51d4(0x281)](_0x3f5660){var _0x595832=_0x2b51d4,_0x51b44b;let _0x23636b=this[_0x595832(0x311)](_0x3f5660);_0x23636b=this[_0x595832(0x381)](_0x23636b);const _0x444487=_0x915fe6(_0x23636b[_0x595832(0x27e)],this['_commandService'],{'fromCollab':!0x0});if(!_0x444487[_0x595832(0x21b)])throw _0x444487[_0x595832(0x36e)]instanceof Error?_0x444487[_0x595832(0x36e)]:new Error((_0x51b44b=_0x444487[_0x595832(0x36e)])!=null?_0x51b44b:_0x595832(0x213));this[_0x595832(0x391)](_0x23636b),this['_transformStateCache'](_0x23636b),this[_0x595832(0x3f7)](_0x3f5660),this['_transformSelections'](_0x23636b),this[_0x595832(0x2b3)](_0x23636b),this[_0x595832(0x3c1)]();}}let Ne=class extends Ce{constructor(_0xcc57f3,_0x189a5c,_0x4b8a65,_0x514228,_0x597ce3,_0x2648eb,_0x844638,_0x4153b7,_0x475309,_0x26da90){var _0x6c8fcb=_0x2b51d4;super(_0xcc57f3,_0x189a5c,null,[],_0x4b8a65,_0x844638,_0x2648eb,_0x514228,_0x26da90),N(this,_0x6c8fcb(0x2c1),_0x6c8fcb(0x24d)),(this[_0x6c8fcb(0x333)]=_0x597ce3,this[_0x6c8fcb(0x3e5)]=_0x4153b7,this[_0x6c8fcb(0x404)]=_0x475309,this[_0x6c8fcb(0x1ed)]=_0x26da90);}['appendMutation'](_0x4f3be9){var _0x483e34=_0x2b51d4;const _0x597570=this[_0x483e34(0x333)][_0x483e34(0x492)](ae,this[_0x483e34(0x3c5)],this[_0x483e34(0x26e)],[_0x4f3be9],this['_handler']);return _0x597570['_schedule'](),_0x597570[_0x483e34(0x3f9)](),_0x597570;}[_0x2b51d4(0x337)](_0x301f80){var _0x5a3705=_0x2b51d4;if(this['_checkMissing'](_0x301f80))return this[_0x5a3705(0x333)][_0x5a3705(0x492)](ee,this[_0x5a3705(0x3c5)],this[_0x5a3705(0x26e)],null,[],null,[_0x301f80],this[_0x5a3705(0x459)]);try{const _0x511b9b=this[_0x5a3705(0x404)][_0x5a3705(0x29c)](_0x301f80,[rr]);if(_0x297140(_0x511b9b)){const {c1Prime:_0xf0582c}=_0x511b9b;return this[_0x5a3705(0x281)](_0xf0582c),this;}throw _0x511b9b[_0x5a3705(0x36e)];}catch(_0x30b1e0){return this[_0x5a3705(0x3e5)][_0x5a3705(0x36e)](_0x30b1e0),this[_0x5a3705(0x431)](!0x1);}}[_0x2b51d4(0x431)](_0x690996){var _0x120709=_0x2b51d4;return this['_injector']['createInstance'](ue,this[_0x120709(0x3c5)],this[_0x120709(0x26e)],null,[],this[_0x120709(0x459)],_0x690996);}['onRemoteAck'](){var _0x321689=_0x2b51d4;throw new Error(_0x321689(0x48b));}['onRemoteRej'](){throw new Error('[SyncedState]:\x20received\x20rejection.');}['onRemoteRetry'](){return this;}[_0x2b51d4(0x1b4)](){var _0x31b7f0=_0x2b51d4;return this[_0x31b7f0(0x333)]['createInstance'](de,this[_0x31b7f0(0x3c5)],this[_0x31b7f0(0x26e)],null,[],this[_0x31b7f0(0x459)]);}[_0x2b51d4(0x46f)](){return this;}[_0x2b51d4(0x3ae)](){var _0x24ae37=_0x2b51d4;throw new Error(_0x24ae37(0x2e0));}[_0x2b51d4(0x1ea)](){var _0x540c20=_0x2b51d4;const _0x22d73f=this[_0x540c20(0x322)][_0x540c20(0x3b7)](this[_0x540c20(0x3c5)]);return this[_0x540c20(0x459)][_0x540c20(0x2cb)]({'from':_0x22d73f,'to':0x0}),this['_injector'][_0x540c20(0x492)](ee,this[_0x540c20(0x3c5)],this[_0x540c20(0x26e)],null,[],null,[],this['_handler']);}};Ne=Te([P(0x3,_0xbb9044(_0x294ada)),P(0x4,_0xbb9044(_0xe87ffb)),P(0x5,_0x4955e1),P(0x6,_0x3b7381),P(0x7,_0x3e08f2),P(0x8,_0x5a75cc),P(0x9,_0x19063a(J))],Ne);let ae=class extends Ce{constructor(_0x526eaf,_0x42f408,_0x19af22,_0x237606,_0x2135db,_0x48a1a6,_0x589851,_0x2c4fbe,_0xde0e9e,_0x26bea5,_0x5954ee,_0x5a934a,_0x32eb39,_0x3397b1){var _0x5c9928=_0x2b51d4;super(_0x526eaf,_0x42f408,null,_0x19af22,_0x237606,_0xde0e9e,_0x32eb39,_0x48a1a6,_0x3397b1),N(this,'status',_0x5c9928(0x227)),N(this,_0x5c9928(0x248),null),N(this,_0x5c9928(0x285),null),(this[_0x5c9928(0x333)]=_0x2135db,this[_0x5c9928(0x44b)]=_0x589851,this[_0x5c9928(0x3e5)]=_0x2c4fbe,this[_0x5c9928(0x22e)]=_0x26bea5,this[_0x5c9928(0x404)]=_0x5954ee,this[_0x5c9928(0x22f)]=_0x5a934a);}[_0x2b51d4(0x340)](_0x370d6b){var _0x45812a=_0x2b51d4;return this[_0x45812a(0x203)][_0x45812a(0x276)](_0x370d6b),this[_0x45812a(0x3f9)](),this;}['onRemoteChangeset'](_0x2f20e6){var _0x53f0c7=_0x2b51d4;if(this[_0x53f0c7(0x2ee)](_0x2f20e6))return this[_0x53f0c7(0x478)](),this['_injector']['createInstance'](ee,this[_0x53f0c7(0x3c5)],this['type'],null,this[_0x53f0c7(0x203)],null,[_0x2f20e6],this['_handler']);try{const _0x32ac22=this[_0x53f0c7(0x404)]['transformMutationsWithChangeset'](_0x2f20e6,this[_0x53f0c7(0x203)]);if(_0x297140(_0x32ac22)){const {c1Prime:_0x3bfc26,m2Prime:_0x337434}=_0x32ac22;this[_0x53f0c7(0x281)](_0x3bfc26);const _0x5967e7=this['_injector']['createInstance'](ae,this[_0x53f0c7(0x3c5)],this['type'],_0x337434,this['_handler']);this[_0x53f0c7(0x478)]();const _0x4e18ad=new Date()['getTime'](),_0x40f3f4=this['_scheduleCompleteTimestamp']?Math[_0x53f0c7(0x1cb)](this[_0x53f0c7(0x248)]-_0x4e18ad,0x0):this[_0x53f0c7(0x4a7)]();return _0x5967e7[_0x53f0c7(0x3f5)](_0x40f3f4),_0x5967e7;}throw _0x32ac22[_0x53f0c7(0x36e)];}catch(_0x459f2b){return this[_0x53f0c7(0x3e5)]['error'](_0x459f2b),this['_onConflict'](!0x1);}}['onRemoteAck'](){var _0x1807b7=_0x2b51d4;throw new Error(_0x1807b7(0x214));}[_0x2b51d4(0x443)](){var _0x38eacc=_0x2b51d4;throw new Error(_0x38eacc(0x2ec));}[_0x2b51d4(0x327)](){return this;}[_0x2b51d4(0x1b4)](){var _0x3472b1=_0x2b51d4;return this[_0x3472b1(0x478)](),this[_0x3472b1(0x333)][_0x3472b1(0x492)](de,this['unitID'],this[_0x3472b1(0x26e)],null,this[_0x3472b1(0x203)],this[_0x3472b1(0x459)]);}[_0x2b51d4(0x46f)](){return this;}[_0x2b51d4(0x3f5)](_0x2d68e6){var _0x1acbdd=_0x2b51d4;const _0x4bbb26=_0x2d68e6!=null?_0x2d68e6:this['_getSendChangesetTimeout']();this[_0x1acbdd(0x248)]=new Date()[_0x1acbdd(0x366)]()+_0x4bbb26,this['_sendingTimer']=setTimeout(()=>{var _0x348945=_0x1acbdd;this[_0x348945(0x478)]();let _0x160af0=null;switch(this['type']){case Q[_0x348945(0x1ca)]:{_0x160af0=qt(this[_0x348945(0x203)],this[_0x348945(0x3c5)],this[_0x348945(0x22f)],this['_revisionService'],this['_memberService']);break;}case Q['UNIVER_DOC']:{this[_0x348945(0x203)][_0x348945(0x479)](_0x7bc778=>_0x7bc778['id']===_0x3b2784['id'])?_0x160af0=nr(this[_0x348945(0x203)],this[_0x348945(0x3c5)],this['_univerInstanceService'],this[_0x348945(0x322)],this[_0x348945(0x44b)]):_0x160af0=qt(this[_0x348945(0x203)],this[_0x348945(0x3c5)],this['_univerInstanceService'],this[_0x348945(0x322)],this[_0x348945(0x44b)]);break;}default:throw new Error(_0x348945(0x3b4)+this['type']+_0x348945(0x48f));}const {changeset:_0x1a1e44,pendingMutations:_0x49ed25}=_0x160af0;this[_0x348945(0x459)][_0x348945(0x43b)](_0x1a1e44);const _0x20ee19=_0x49ed25[_0x348945(0x23a)]?this['_injector']['createInstance'](oe,this['unitID'],this[_0x348945(0x26e)],_0x1a1e44,_0x49ed25,this[_0x348945(0x459)],void 0x0):this[_0x348945(0x333)][_0x348945(0x492)](le,this['unitID'],this[_0x348945(0x26e)],_0x1a1e44,this['_handler']);_0x20ee19[_0x348945(0x3f9)](),this['_handler']['onStateChange'](this,_0x20ee19);},_0x4bbb26);}[_0x2b51d4(0x4a7)](){var _0x47562a=_0x2b51d4,_0x1752b0;const _0x3ef7bb=this[_0x47562a(0x22e)]['getConfig'](q);return(_0x1752b0=_0x3ef7bb==null?void 0x0:_0x3ef7bb['sendChangesetTimeout'])!=null?_0x1752b0:En;}[_0x2b51d4(0x3ae)](){var _0x2e7316=_0x2b51d4;throw new Error(_0x2e7316(0x43f));}[_0x2b51d4(0x478)](){var _0xb9c39d=_0x2b51d4;this['_sendingTimer']!=null&&(clearTimeout(this[_0xb9c39d(0x285)]),this['_sendingTimer']=null);}[_0x2b51d4(0x431)](_0x1c2449){var _0xb99ae9=_0x2b51d4;return this[_0xb99ae9(0x478)](),this['_injector'][_0xb99ae9(0x492)](ue,this[_0xb99ae9(0x3c5)],this[_0xb99ae9(0x26e)],null,this[_0xb99ae9(0x203)],this[_0xb99ae9(0x459)],_0x1c2449);}};ae=Te([P(0x4,_0xbb9044(_0xe87ffb)),P(0x5,_0xbb9044(_0x294ada)),P(0x6,_0xbb9044(xe)),P(0x7,_0x3e08f2),P(0x8,_0x3b7381),P(0x9,_0x3d91ad),P(0xa,_0x5a75cc),P(0xb,_0xcd0588),P(0xc,_0x4955e1),P(0xd,_0x19063a(J))],ae);let le=class extends Ce{constructor(_0x1712c0,_0x699aa,_0x42d9e2,_0x8049b6,_0x9baa2f,_0x400424,_0x340e67,_0x44d9c6,_0x368843,_0x73a180,_0x1cefd3){var _0x1f1989=_0x2b51d4;super(_0x1712c0,_0x699aa,_0x42d9e2,[],_0x8049b6,_0x340e67,_0x73a180,_0x400424,_0x1cefd3),N(this,_0x1f1989(0x2c1),_0x1f1989(0x3ed)),N(this,_0x1f1989(0x260),0x0),N(this,_0x1f1989(0x274)),N(this,'_sender'),(this['_injector']=_0x9baa2f,this[_0x1f1989(0x3e5)]=_0x44d9c6,this['_transformService']=_0x368843);}[_0x2b51d4(0x340)](_0x583e45){var _0x2eb572=_0x2b51d4;this[_0x2eb572(0x478)]();const _0x366739=this[_0x2eb572(0x333)][_0x2eb572(0x492)](oe,this[_0x2eb572(0x3c5)],this['type'],this[_0x2eb572(0x41d)],[_0x583e45],this['_handler'],this[_0x2eb572(0x274)]);return _0x366739[_0x2eb572(0x3f9)](),_0x366739;}['onRemoteChangeset'](_0x5eee54){var _0x43de03=_0x2b51d4;if(this[_0x43de03(0x2ee)](_0x5eee54))return this['_clearScheduledTask'](),this[_0x43de03(0x333)][_0x43de03(0x492)](ee,this['unitID'],this[_0x43de03(0x26e)],this[_0x43de03(0x41d)],[],null,[_0x5eee54],this[_0x43de03(0x459)]);try{const _0x55b226=this[_0x43de03(0x404)][_0x43de03(0x2c8)]([_0x5eee54],[this[_0x43de03(0x41d)]],!0x1);if(_0xf9b32d(_0x55b226)){const {c1Prime:_0x338ccd,c2Prime:_0x4ce6bb}=_0x55b226;this[_0x43de03(0x281)](_0x338ccd[0x0]),_0x4ce6bb[0x0][_0x43de03(0x2d6)]=this[_0x43de03(0x29d)](),this[_0x43de03(0x478)]();const _0x567a83=this[_0x43de03(0x333)][_0x43de03(0x492)](le,this[_0x43de03(0x3c5)],this[_0x43de03(0x26e)],_0x4ce6bb[0x0],this[_0x43de03(0x459)]);return _0x567a83[_0x43de03(0x3f9)](),_0x567a83;}return this['_onConflict'](!0x1);}catch(_0x59d8f1){return this[_0x43de03(0x3e5)][_0x43de03(0x36e)](_0x59d8f1),this[_0x43de03(0x431)](!0x1);}}[_0x2b51d4(0x24c)](_0x24ef43){var _0x3e0735=_0x2b51d4;this['_clearScheduledTask']();const _0x153eca=this[_0x3e0735(0x322)][_0x3e0735(0x3b7)](this['unitID']);if(_0x24ef43[_0x3e0735(0x230)]<_0x153eca-0x1)return this;if(this[_0x3e0735(0x2ee)](_0x24ef43))return this[_0x3e0735(0x333)][_0x3e0735(0x492)](ee,this[_0x3e0735(0x3c5)],this[_0x3e0735(0x26e)],null,[],this[_0x3e0735(0x41d)],[],this[_0x3e0735(0x459)]);this[_0x3e0735(0x3c1)]();const _0x2c8897=this['_injector']['createInstance'](Ne,this['unitID'],this[_0x3e0735(0x26e)],this[_0x3e0735(0x459)]);return _0x2c8897[_0x3e0735(0x3f9)](),_0x2c8897;}[_0x2b51d4(0x443)](_0x4efee7){var _0x53d255=_0x2b51d4;return this[_0x53d255(0x431)](!!(_0x4efee7!=null&&_0x4efee7[_0x53d255(0x453)]));}[_0x2b51d4(0x327)](_0x1c8771){var _0x26f455=_0x2b51d4;return this['_resendTimeout']>yi?this[_0x26f455(0x1b4)]():(this['_resendTimer']=Ri(this['_resendTimeout'],{'timeout':this[_0x26f455(0x260)],'reqId':_0x1c8771['reqId']}),this[_0x26f455(0x2c2)]=this[_0x26f455(0x274)][_0x26f455(0x36f)](({reqId:_0x3cc76a,timeout:_0x507264})=>{var _0x32de71=_0x26f455;this[_0x32de71(0x372)](_0x3cc76a,_0x507264);}),this);}[_0x2b51d4(0x1b4)](){var _0x1bebf7=_0x2b51d4;return this[_0x1bebf7(0x478)](),this[_0x1bebf7(0x333)][_0x1bebf7(0x492)](de,this[_0x1bebf7(0x3c5)],this[_0x1bebf7(0x26e)],this['_awaitingChangeset'],[],this['_handler']);}[_0x2b51d4(0x46f)](){return this;}[_0x2b51d4(0x3ae)](){var _0x2a6c7e=_0x2b51d4;this[_0x2a6c7e(0x459)][_0x2a6c7e(0x43b)](this[_0x2a6c7e(0x41d)]);}[_0x2b51d4(0x431)](_0x29ab4e){var _0xc3c033=_0x2b51d4;return this[_0xc3c033(0x478)](),this[_0xc3c033(0x333)][_0xc3c033(0x492)](ue,this[_0xc3c033(0x3c5)],this['type'],this[_0xc3c033(0x41d)],[],this[_0xc3c033(0x459)],_0x29ab4e);}[_0x2b51d4(0x372)](_0x2fcd29,_0x1c6e79){var _0x5345a6=_0x2b51d4,_0x11eaad;_0x2fcd29===((_0x11eaad=this[_0x5345a6(0x41d)])==null?void 0x0:_0x11eaad[_0x5345a6(0x476)])&&(this['resend'](),this['_resendTimeout']=_0x1c6e79===0x0?0x3e8:_0x1c6e79*0x2);}[_0x2b51d4(0x478)](){var _0x2e1150=_0x2b51d4,_0x3e25e4;(_0x3e25e4=this[_0x2e1150(0x2c2)])==null||_0x3e25e4[_0x2e1150(0x1d9)](),this['_resendTimeout']=0x0;}};le=Te([P(0x4,_0xbb9044(_0xe87ffb)),P(0x5,_0xbb9044(_0x294ada)),P(0x6,_0x3b7381),P(0x7,_0x3e08f2),P(0x8,_0x5a75cc),P(0x9,_0x4955e1),P(0xa,_0x19063a(J))],le);let oe=class extends Ce{constructor(_0x12223f,_0xc06cc9,_0x411008,_0x15025a,_0x26276d,_0x53de87,_0x36a44a,_0x312c9e,_0x51d638,_0x29ac99,_0x348e2b,_0x5790a3,_0x17c20d){var _0x4ef1ed=_0x2b51d4;super(_0x12223f,_0xc06cc9,_0x411008,_0x15025a,_0x26276d,_0x51d638,_0x5790a3,_0x312c9e,_0x17c20d),N(this,_0x4ef1ed(0x2c1),_0x4ef1ed(0x1f4)),N(this,_0x4ef1ed(0x260),0x0),N(this,_0x4ef1ed(0x274)),N(this,_0x4ef1ed(0x2c2)),(this[_0x4ef1ed(0x333)]=_0x36a44a,this[_0x4ef1ed(0x3e5)]=_0x29ac99,this['_transformService']=_0x348e2b,this[_0x4ef1ed(0x1ed)]=_0x17c20d,_0x53de87&&(this[_0x4ef1ed(0x274)]=_0x53de87,this['_sender']=this[_0x4ef1ed(0x274)][_0x4ef1ed(0x36f)](({reqId:_0x278c0b,timeout:_0x3ce486})=>{this['_resendWithTimeout'](_0x278c0b,_0x3ce486);})));}[_0x2b51d4(0x340)](_0x495be0){var _0x3dc7b8=_0x2b51d4;return this[_0x3dc7b8(0x203)][_0x3dc7b8(0x276)](_0x495be0),this;}[_0x2b51d4(0x337)](_0x358519){var _0x5821cd=_0x2b51d4;if(this[_0x5821cd(0x2ee)](_0x358519))return this[_0x5821cd(0x478)](),this[_0x5821cd(0x333)]['createInstance'](ee,this[_0x5821cd(0x3c5)],this['type'],this[_0x5821cd(0x41d)],this[_0x5821cd(0x203)],null,[_0x358519],this[_0x5821cd(0x459)]);try{const _0x4c501d=this[_0x5821cd(0x404)]['transformChangesets']([_0x358519],[this[_0x5821cd(0x41d)]],!0x1);if(_0xf9b32d(_0x4c501d)){const {c1Prime:_0x422d36,c2Prime:_0x38255a}=_0x4c501d,_0x2baf44=this[_0x5821cd(0x404)][_0x5821cd(0x29c)](_0x422d36[0x0],this[_0x5821cd(0x203)]);if(_0x297140(_0x2baf44)){const {c1Prime:_0x5cd06b,m2Prime:_0x1aeb58}=_0x2baf44;return this[_0x5821cd(0x281)](_0x5cd06b),_0x38255a[0x0]['baseRev']=this['_getCurrentRevision'](),this[_0x5821cd(0x478)](),this['_injector'][_0x5821cd(0x492)](oe,this['unitID'],this[_0x5821cd(0x26e)],_0x38255a[0x0],_0x1aeb58,this['_handler'],void 0x0);}throw _0x2baf44[_0x5821cd(0x36e)];}throw _0x4c501d[_0x5821cd(0x36e)];}catch(_0x5d14c8){return this['_logService'][_0x5821cd(0x36e)](_0x5d14c8),this['_onConflict'](!0x1);}}[_0x2b51d4(0x24c)](_0x452ecc){var _0x2a4596=_0x2b51d4;if(this['_clearScheduledTask'](),this['_checkMissing'](_0x452ecc))return this[_0x2a4596(0x333)][_0x2a4596(0x492)](ee,this['unitID'],this[_0x2a4596(0x26e)],null,this[_0x2a4596(0x203)],this[_0x2a4596(0x41d)],[],this[_0x2a4596(0x459)]);this['_incrementRevisionNumber']();const _0x4bfae5=this[_0x2a4596(0x333)]['createInstance'](ae,this[_0x2a4596(0x3c5)],this['type'],this[_0x2a4596(0x203)],this[_0x2a4596(0x459)]);return _0x4bfae5[_0x2a4596(0x3f5)](),_0x4bfae5[_0x2a4596(0x3f9)](),_0x4bfae5;}[_0x2b51d4(0x443)](_0x2f8217){var _0x30ecfb=_0x2b51d4;return this[_0x30ecfb(0x431)](!!(_0x2f8217!=null&&_0x2f8217[_0x30ecfb(0x453)]));}[_0x2b51d4(0x327)](_0x3b3486){var _0x38d402=_0x2b51d4;return this[_0x38d402(0x260)]>yi?this[_0x38d402(0x1b4)]():(this[_0x38d402(0x274)]=Ri(this[_0x38d402(0x260)],{'timeout':this[_0x38d402(0x260)],'reqId':_0x3b3486['reqId']}),this[_0x38d402(0x2c2)]=this[_0x38d402(0x274)][_0x38d402(0x36f)](({reqId:_0x200083,timeout:_0x43aa1f})=>{var _0x120c4e=_0x38d402;this[_0x120c4e(0x372)](_0x200083,_0x43aa1f);}),this);}['toggleOffline'](){var _0x1b7e3b=_0x2b51d4;return this[_0x1b7e3b(0x478)](),this[_0x1b7e3b(0x333)][_0x1b7e3b(0x492)](de,this['unitID'],this[_0x1b7e3b(0x26e)],this[_0x1b7e3b(0x41d)],this[_0x1b7e3b(0x203)],this['_handler']);}[_0x2b51d4(0x46f)](){return this;}['resend'](){var _0x3e178a=_0x2b51d4;this[_0x3e178a(0x459)][_0x3e178a(0x43b)](this['_awaitingChangeset']);}[_0x2b51d4(0x431)](_0x533667){var _0x5873e8=_0x2b51d4;return this[_0x5873e8(0x478)](),this[_0x5873e8(0x333)][_0x5873e8(0x492)](ue,this[_0x5873e8(0x3c5)],this[_0x5873e8(0x26e)],null,this[_0x5873e8(0x203)],this[_0x5873e8(0x459)],_0x533667);}[_0x2b51d4(0x372)](_0x397404,_0x376606){var _0x3e0fdd=_0x2b51d4,_0x2a2631;_0x397404===((_0x2a2631=this[_0x3e0fdd(0x41d)])==null?void 0x0:_0x2a2631[_0x3e0fdd(0x476)])&&(this['resend'](),this['_resendTimeout']=_0x376606===0x0?0x3e8:_0x376606*0x2);}[_0x2b51d4(0x478)](){var _0x50d512=_0x2b51d4,_0x1e203f;(_0x1e203f=this[_0x50d512(0x2c2)])==null||_0x1e203f[_0x50d512(0x1d9)](),this[_0x50d512(0x260)]=0x0;}};oe=Te([P(0x6,_0xbb9044(_0xe87ffb)),P(0x7,_0xbb9044(_0x294ada)),P(0x8,_0x3b7381),P(0x9,_0x3e08f2),P(0xa,_0x5a75cc),P(0xb,_0x4955e1),P(0xc,_0x19063a(J))],oe);let ue=class extends Ce{constructor(_0x34cc55,_0x2307eb,_0x5ad1d1,_0x1b42c1,_0x38f309,_0x2b7ab7=!0x1,_0x413168,_0xc5a150,_0x47bf45,_0x4ad096,_0xf2ddc1,_0x24201c,_0x31f18d){var _0x4ebfe9=_0x2b51d4;super(_0x34cc55,_0x2307eb,_0x5ad1d1,_0x1b42c1,_0x38f309,_0xc5a150,_0x47bf45,_0x4ad096,_0x31f18d),N(this,_0x4ebfe9(0x2c1),'conflict'),(this[_0x4ebfe9(0x1b9)]=_0x2b7ab7,this[_0x4ebfe9(0x434)]=_0x413168,this[_0x4ebfe9(0x22c)]=_0xf2ddc1,this['_collaborationUIEventService']=_0x24201c,this[_0x4ebfe9(0x1ed)]=_0x31f18d,this[_0x4ebfe9(0x1fc)](),this[_0x4ebfe9(0x3a0)](),this[_0x4ebfe9(0x3be)]());}[_0x2b51d4(0x340)](){return this;}['onRemoteChangeset'](){return this;}[_0x2b51d4(0x24c)](){return this;}[_0x2b51d4(0x443)](){return this;}['onRemoteRetry'](){return this;}[_0x2b51d4(0x1b4)](){return this;}[_0x2b51d4(0x46f)](){return this;}[_0x2b51d4(0x3ae)](){var _0x155396=_0x2b51d4;throw new Error(_0x155396(0x378));}['_clearLocalCache'](){var _0x5b60b9=_0x2b51d4,_0x439867;(_0x439867=this[_0x5b60b9(0x39e)])==null||_0x439867['updateOfflineData'](this[_0x5b60b9(0x3c5)],this[_0x5b60b9(0x26e)],null,[]);}['_showConflictNotification'](){var _0x4046e4=_0x2b51d4;this[_0x4046e4(0x1b9)]?this['_collaborationUIEventService'][_0x4046e4(0x23e)]({'id':se[_0x4046e4(0x245)]}):this[_0x4046e4(0x3b8)]['emitEvent']({'id':se[_0x4046e4(0x385)]});}[_0x2b51d4(0x3be)](){var _0x42eb7f=_0x2b51d4;this[_0x42eb7f(0x434)]['updatePermissionPoint'](new _0x2bbfa7(this[_0x42eb7f(0x3c5)])['id'],!0x1);}};ue=Te([P(0x6,_0xbb9044(_0x1f555b)),P(0x7,_0x3b7381),P(0x8,_0x4955e1),P(0x9,_0xbb9044(_0x294ada)),P(0xa,_0xbb9044(_0x2fded0)),P(0xb,_0xbb9044(pe)),P(0xc,_0x19063a(J))],ue);let de=class extends Ce{constructor(_0x365344,_0x573d10,_0x18e61c,_0x54f79e,_0x5272c5,_0x1c123e,_0x392273,_0x1c5211,_0x3884f9,_0x1b7c78){var _0x670d68=_0x2b51d4;super(_0x365344,_0x573d10,_0x18e61c,_0x54f79e,_0x5272c5,_0x1c5211,_0x3884f9,_0x392273,_0x1b7c78),N(this,_0x670d68(0x2c1),_0x670d68(0x282)),this['_injector']=_0x1c123e;}[_0x2b51d4(0x340)](_0x4ba6dc){var _0x38f650=_0x2b51d4;return this[_0x38f650(0x203)][_0x38f650(0x276)](_0x4ba6dc),this[_0x38f650(0x3f9)](),this;}['onRemoteChangeset'](_0x360d83){var _0x255dba=_0x2b51d4;throw new Error(_0x255dba(0x34a));}[_0x2b51d4(0x24c)](){var _0x59a0e4=_0x2b51d4;throw new Error(_0x59a0e4(0x1c0));}[_0x2b51d4(0x443)](){var _0x348d87=_0x2b51d4;throw new Error(_0x348d87(0x1db));}['onRemoteRetry'](){return this;}['toggleOffline'](){return this;}[_0x2b51d4(0x46f)](){var _0x194865=_0x2b51d4;const {_injector:_0x1d9a11,_pendingMutations:_0x14f824,_awaitingChangeset:_0x27d587,unitID:_0x27915f,_handler:_0x5e3964,type:_0x28fe08}=this,_0x57f0ef=Oi(_0x1d9a11,_0x27915f,_0x28fe08,_0x27d587,_0x14f824,_0x5e3964);return _0x57f0ef instanceof ae?_0x57f0ef[_0x194865(0x3f5)]():(_0x57f0ef instanceof oe||_0x57f0ef instanceof le)&&_0x57f0ef[_0x194865(0x3ae)](),_0x57f0ef;}[_0x2b51d4(0x3ae)](){throw new Error('[OfflineState]:\x20invalid\x20calling\x20to\x20`resend`.');}};de=Te([P(0x5,_0xbb9044(_0xe87ffb)),P(0x6,_0xbb9044(_0x294ada)),P(0x7,_0x3b7381),P(0x8,_0x4955e1),P(0x9,_0x19063a(J))],de);let ee=class extends Ce{constructor(_0x58da9d,_0x497e1a,_0x490784,_0x595719,_0x1d59b0,_0x33fce4,_0x5e271e,_0x541329,_0x50bbef,_0x2af301,_0x305783,_0x121b60,_0x359e55,_0x146f96){var _0x419e0a=_0x2b51d4;super(_0x58da9d,_0x497e1a,_0x490784,_0x595719,_0x5e271e,_0x305783,_0x121b60,_0x50bbef,_0x146f96),N(this,_0x419e0a(0x2c1),_0x419e0a(0x1f5)),(this['_acknowledgedAwaitingChangeset']=_0x1d59b0,this[_0x419e0a(0x225)]=_0x33fce4,this[_0x419e0a(0x333)]=_0x541329,this[_0x419e0a(0x3e5)]=_0x2af301,this['_transformService']=_0x359e55,this['localCacheService']=_0x146f96);}[_0x2b51d4(0x37e)](_0x50872b){var _0x10529b=_0x2b51d4;try{const _0x13a2f9=[..._0x50872b,...this[_0x10529b(0x225)]],_0x5a111b=[this['_awaitingChangeset']||this[_0x10529b(0x329)]][_0x10529b(0x287)](_0xadaae1=>!!_0xadaae1);let _0x1fac8e,_0x3e4d51;if(_0x5a111b[_0x10529b(0x23a)]){const _0x13f4db=this[_0x10529b(0x404)][_0x10529b(0x2c8)](_0x13a2f9,_0x5a111b,!0x1);if(!_0xf9b32d(_0x13f4db))throw _0x13f4db['error'];_0x1fac8e=_0x13f4db[_0x10529b(0x3ac)],_0x3e4d51=_0x13f4db['c2Prime'];}else _0x1fac8e=_0x13a2f9,_0x3e4d51=[];let _0x56b9cb=this[_0x10529b(0x203)];_0x1fac8e[_0x10529b(0x33d)](_0x2a6d3e=>{var _0x38b4f8=_0x10529b;let _0x23f998;if(_0x56b9cb[_0x38b4f8(0x23a)]){const _0x56f710=this[_0x38b4f8(0x404)]['transformMutationsWithChangeset'](_0x2a6d3e,_0x56b9cb);if(!_0x297140(_0x56f710))throw _0x56f710['error'];_0x23f998=_0x56f710[_0x38b4f8(0x3ac)],_0x56b9cb=_0x56f710[_0x38b4f8(0x432)];}else _0x23f998=_0x2a6d3e;this['_executeRemoteChangeset'](_0x23f998);}),this[_0x10529b(0x329)]&&this[_0x10529b(0x3c1)](),this[_0x10529b(0x41d)]&&_0x3e4d51[_0x10529b(0x23a)]&&(_0x3e4d51[0x0]['baseRev']=this[_0x10529b(0x29d)]());let _0x1cc120;if(this[_0x10529b(0x41d)]&&_0x56b9cb['length']!==0x0)_0x1cc120=this[_0x10529b(0x333)]['createInstance'](oe,this[_0x10529b(0x3c5)],this['type'],_0x3e4d51[0x0],_0x56b9cb,this['_handler'],void 0x0);else{if(this['_awaitingChangeset']&&_0x56b9cb[_0x10529b(0x23a)]===0x0)_0x3e4d51[0x0][_0x10529b(0x2d6)]=this[_0x10529b(0x29d)](),_0x1cc120=this['_injector'][_0x10529b(0x492)](le,this[_0x10529b(0x3c5)],this[_0x10529b(0x26e)],_0x3e4d51[0x0],this[_0x10529b(0x459)]);else{if(_0x56b9cb[_0x10529b(0x23a)]!==0x0){const _0x95891b=this['_injector'][_0x10529b(0x492)](ae,this['unitID'],this[_0x10529b(0x26e)],_0x56b9cb,this[_0x10529b(0x459)]);_0x95891b[_0x10529b(0x3f5)](),_0x1cc120=_0x95891b;}else _0x1cc120=this[_0x10529b(0x333)][_0x10529b(0x492)](Ne,this[_0x10529b(0x3c5)],this[_0x10529b(0x26e)],this[_0x10529b(0x459)]);}}return _0x1cc120[_0x10529b(0x3f9)](),_0x1cc120;}catch(_0x269b7c){return this[_0x10529b(0x3e5)][_0x10529b(0x36e)](_0x10529b(0x30e),_0x10529b(0x35a),_0x269b7c),this[_0x10529b(0x333)][_0x10529b(0x492)](ue,this[_0x10529b(0x3c5)],this[_0x10529b(0x26e)],this[_0x10529b(0x41d)],this[_0x10529b(0x203)],this[_0x10529b(0x459)],!0x1);}}[_0x2b51d4(0x3ae)](){var _0x237b81=_0x2b51d4;throw new Error(_0x237b81(0x3f2));}[_0x2b51d4(0x340)](_0x3eef7e){var _0x3fe8bb=_0x2b51d4;return this[_0x3fe8bb(0x203)]['push'](_0x3eef7e),this;}[_0x2b51d4(0x337)](_0x25fa81){var _0x29e571=_0x2b51d4;return this[_0x29e571(0x225)][_0x29e571(0x276)](_0x25fa81),this;}['onRemoteAck'](_0x131f25){var _0x5ca435=_0x2b51d4;if(this[_0x5ca435(0x41d)])return this['_acknowledgedAwaitingChangeset']=this[_0x5ca435(0x41d)],this['_awaitingChangeset']=null,this;throw new Error(_0x5ca435(0x31e));}[_0x2b51d4(0x443)](_0x293dfb){return this['_onConflict'](!!(_0x293dfb!=null&&_0x293dfb['isPermissionRej']));}[_0x2b51d4(0x327)](){return this;}[_0x2b51d4(0x1b4)](){var _0x57fdda=_0x2b51d4;return this[_0x57fdda(0x333)][_0x57fdda(0x492)](de,this[_0x57fdda(0x3c5)],this[_0x57fdda(0x26e)],this['_awaitingChangeset'],this[_0x57fdda(0x203)],this[_0x57fdda(0x459)]);}['toggleOnline'](){return this;}[_0x2b51d4(0x431)](_0x5accc3){var _0x4db7ce=_0x2b51d4;return this[_0x4db7ce(0x333)][_0x4db7ce(0x492)](ue,this['unitID'],this[_0x4db7ce(0x26e)],this[_0x4db7ce(0x41d)],this[_0x4db7ce(0x203)],this[_0x4db7ce(0x459)],_0x5accc3);}};ee=Te([P(0x7,_0xbb9044(_0xe87ffb)),P(0x8,_0xbb9044(_0x294ada)),P(0x9,_0x3e08f2),P(0xa,_0x3b7381),P(0xb,_0x4955e1),P(0xc,_0x5a75cc),P(0xd,_0x19063a(J))],ee);function Oi(_0x1fff86,_0x49b3c7,_0x2e9a78,_0x2f3700,_0x842080,_0x4aa484){var _0x2e5109=_0x2b51d4;return _0x2f3700&&_0x842080['length']?_0x1fff86[_0x2e5109(0x492)](oe,_0x49b3c7,_0x2e9a78,_0x2f3700,_0x842080,_0x4aa484,void 0x0):_0x2f3700?_0x1fff86['createInstance'](le,_0x49b3c7,_0x2e9a78,_0x2f3700,_0x4aa484):_0x842080[_0x2e5109(0x23a)]?_0x1fff86[_0x2e5109(0x492)](ae,_0x49b3c7,_0x2e9a78,_0x842080,_0x4aa484):_0x1fff86[_0x2e5109(0x492)](Ne,_0x49b3c7,_0x2e9a78,_0x4aa484);}var ar=Object[_0x2b51d4(0x374)],xt=(_0x14da66,_0x52274c,_0x53c85e,_0x48e855)=>{var _0x192281=_0x2b51d4;for(var _0x58d626=_0x48e855>0x1?void 0x0:_0x48e855?ar(_0x52274c,_0x53c85e):_0x52274c,_0x48d449=_0x14da66[_0x192281(0x23a)]-0x1,_0x187f5c;_0x48d449>=0x0;_0x48d449--)(_0x187f5c=_0x14da66[_0x48d449])&&(_0x58d626=_0x187f5c(_0x58d626)||_0x58d626);return _0x58d626;},H=(_0x1f9bb6,_0x367bbe)=>(_0x291114,_0x4c0bf7)=>_0x367bbe(_0x291114,_0x4c0bf7,_0x1f9bb6);let nt=class extends _0xbf3a36{constructor(_0x58faef,_0x28df52,_0x468a12,_0x17b812,_0x44d9bf,_0x3740f3,_0x49c33f,_0x5e763e,_0x46edb9,_0x360fa9,_0x2dd342,_0xa966de,_0x553282){var _0x2c6d15=_0x2b51d4;super(),N(this,'_state$',new _0x53317a(null)),N(this,_0x2c6d15(0x33c),this[_0x2c6d15(0x30c)][_0x2c6d15(0x380)]()),N(this,_0x2c6d15(0x47a)),N(this,_0x2c6d15(0x2b5),!0x1),N(this,_0x2c6d15(0x24f),''),N(this,_0x2c6d15(0x1b7),0x0),N(this,_0x2c6d15(0x39b),this[_0x2c6d15(0x33c)][_0x2c6d15(0x392)](_0x505aec(_0x1a1c7e=>_0x1a1c7e?_0x1a1c7e[_0x2c6d15(0x2c1)]:bi['OFFLINE']),_0x28b0fc(0x1))),N(this,_0x2c6d15(0x43e),!0x1),N(this,'_remoteChangesetQueue',[]),(this[_0x2c6d15(0x3c5)]=_0x58faef,this['session']=_0x28df52,this[_0x2c6d15(0x4ab)]=_0x468a12,this['_injector']=_0x17b812,this[_0x2c6d15(0x3de)]=_0x44d9bf,this[_0x2c6d15(0x22c)]=_0x3740f3,this[_0x2c6d15(0x322)]=_0x49c33f,this['_eventService']=_0x5e763e,this['_logService']=_0x46edb9,this[_0x2c6d15(0x448)]=_0x360fa9,this[_0x2c6d15(0x434)]=_0x2dd342,this[_0x2c6d15(0x499)]=_0xa966de,this['_localCacheService']=_0x553282);}get[_0x2b51d4(0x334)](){return this['_state'];}async['init'](){var _0x625395=_0x2b51d4;if(this[_0x625395(0x334)])throw new Error('[CollaborationEntity]:\x20initial\x20state\x20has\x20been\x20created\x20before.\x20You\x20should\x20not\x20call\x20\x22init\x22\x20twice.');await this[_0x625395(0x234)]();}['pauseCollaboration'](){var _0x3421b2=_0x2b51d4;return this[_0x3421b2(0x2b5)]=!0x0,_0x642f1f(()=>{var _0x3140cb=_0x3421b2;this[_0x3140cb(0x2b5)]=!0x1,this[_0x3140cb(0x37b)]();});}[_0x2b51d4(0x239)](_0x4b4b42){var _0x52bb0a=_0x2b51d4;this[_0x52bb0a(0x422)](_0x4b4b42);}[_0x2b51d4(0x26b)](_0xc12855){var _0x5ced54=_0x2b51d4;this['_state']=_0xc12855,this[_0x5ced54(0x30c)]['next'](_0xc12855);}async[_0x2b51d4(0x234)](){var _0x1c2bed=_0x2b51d4,_0x39803b;this[_0x1c2bed(0x26b)](await this['_createInitialState']()),this[_0x1c2bed(0x499)]&&((_0x39803b=this[_0x1c2bed(0x499)])==null||_0x39803b[_0x1c2bed(0x402)](this[_0x1c2bed(0x3c5)]),this[_0x1c2bed(0x27f)](this[_0x1c2bed(0x499)]['getUnitStatus$'](this[_0x1c2bed(0x3c5)])[_0x1c2bed(0x36f)](_0x32a588=>{var _0x39e5a8=_0x1c2bed;this['_logService'][_0x39e5a8(0x39f)](_0x39e5a8(0x261),_0x39e5a8(0x36c),_0x32a588),_0x32a588===Ci['OTHER_CLIENTS_EDITING']?(this['_eventService']['emitEvent']({'id':se[_0x39e5a8(0x1e1)]}),this[_0x39e5a8(0x434)][_0x39e5a8(0x3cc)](new _0x2bbfa7(this['unitID'])['id'],!0x1),this[_0x39e5a8(0x434)][_0x39e5a8(0x3f3)](!0x1)):(this['_permissionService']['updatePermissionPoint'](new _0x2bbfa7(this[_0x39e5a8(0x3c5)])['id'],!0x0),this[_0x39e5a8(0x434)][_0x39e5a8(0x3f3)](!0x0));})));let _0x200daa=!0x1;return this[_0x1c2bed(0x27f)](this[_0x1c2bed(0x2d9)]['sessionStatus$'][_0x1c2bed(0x36f)](_0x1086ba=>{var _0x59a0ef=_0x1c2bed;_0x1086ba===Ee[_0x59a0ef(0x216)]?this[_0x59a0ef(0x27b)](_0x200daa):_0x1086ba===Ee[_0x59a0ef(0x2ae)]&&(_0x200daa=!0x0,this[_0x59a0ef(0x436)]());})),this[_0x1c2bed(0x27f)](this[_0x1c2bed(0x2d9)]['event$']['subscribe'](_0x569544=>{var _0x4815c6=_0x1c2bed;try{switch(_0x569544[_0x4815c6(0x2dd)]){case _0x1cab20[_0x4815c6(0x28d)]:{this[_0x4815c6(0x21c)](_0xa28372(_0x569544['data']));break;}case _0x1cab20['CHANGESET_ACK']:{this[_0x4815c6(0x39d)](_0x569544[_0x4815c6(0x1bc)]);break;}case _0x1cab20[_0x4815c6(0x42e)]:{this[_0x4815c6(0x3db)]();break;}case _0x1cab20[_0x4815c6(0x4a1)]:{this[_0x4815c6(0x30b)](_0x569544['data']);break;}case _0x1cab20['PSEUDO_FETCH_MISSING_RESULT']:{this[_0x4815c6(0x1f7)](_0x569544[_0x4815c6(0x1bc)][_0x4815c6(0x219)][_0x4815c6(0x48a)](_0x3de81e=>_0xa28372(_0x3de81e)));break;}case _0x1cab20[_0x4815c6(0x1d0)]:{this[_0x4815c6(0x3db)]({'isPermissionRej':!0x0});break;}case _0x1cab20[_0x4815c6(0x292)]:break;}}catch(_0xc1ca7){throw console[_0x4815c6(0x36e)](_0x4815c6(0x31d),_0xc1ca7),_0xc1ca7;}})),this[_0x1c2bed(0x47a)];}[_0x2b51d4(0x2b7)](){var _0x1b0501=_0x2b51d4;this[_0x1b0501(0x43e)]=!0x1;}[_0x2b51d4(0x486)](){var _0x20c7dc=_0x2b51d4;if(this[_0x20c7dc(0x43e)])throw new Error(_0x20c7dc(0x30f));this[_0x20c7dc(0x43e)]=!0x0;}['_onLocalMutation'](_0x5dadca){var _0x262c29=_0x2b51d4;this[_0x262c29(0x486)](),this[_0x262c29(0x26b)](this[_0x262c29(0x47a)][_0x262c29(0x340)](_0x5dadca)),this[_0x262c29(0x2b7)]();}[_0x2b51d4(0x21c)](_0x312a07){var _0x3fea01=_0x2b51d4;if(!(_0x312a07['revision']<=this[_0x3fea01(0x322)][_0x3fea01(0x3b7)](this[_0x3fea01(0x3c5)]))){if(this[_0x3fea01(0x2b5)]){this['_remoteChangesetQueue'][_0x3fea01(0x276)](_0x312a07);return;}this[_0x3fea01(0x3bc)](_0x312a07);}}[_0x2b51d4(0x37b)](){var _0x76bbb3=_0x2b51d4;this[_0x76bbb3(0x481)][_0x76bbb3(0x33d)](_0xc1a63b=>this[_0x76bbb3(0x3bc)](_0xc1a63b)),this[_0x76bbb3(0x481)]=[];}[_0x2b51d4(0x3bc)](_0x32b79b){var _0x5367b7=_0x2b51d4;const _0x440a8b=this[_0x5367b7(0x3de)][_0x5367b7(0x47d)][_0x5367b7(0x29f)](this[_0x5367b7(0x3de)][_0x5367b7(0x47d)][_0x5367b7(0x45f)]()[_0x5367b7(0x3bb)])(_0x32b79b[_0x5367b7(0x27e)],null)||_0x32b79b[_0x5367b7(0x27e)],_0x2d73ec={..._0x32b79b,'mutations':_0x440a8b};this[_0x5367b7(0x486)](),this[_0x5367b7(0x26b)](this[_0x5367b7(0x47a)][_0x5367b7(0x337)](_0x2d73ec)),this[_0x5367b7(0x2b7)]();}[_0x2b51d4(0x39d)](_0x51f9c0){var _0x3b294c=_0x2b51d4;this[_0x3b294c(0x486)](),this['_updateState'](this[_0x3b294c(0x47a)][_0x3b294c(0x24c)](_0x51f9c0)),this[_0x3b294c(0x2b7)]();}[_0x2b51d4(0x3db)](_0x2c3b53){var _0x578248=_0x2b51d4;this[_0x578248(0x486)](),this[_0x578248(0x26b)](this[_0x578248(0x47a)]['onRemoteRej'](_0x2c3b53)),this[_0x578248(0x2b7)]();}[_0x2b51d4(0x30b)](_0x5990b5){var _0x179eef=_0x2b51d4;this[_0x179eef(0x486)](),this[_0x179eef(0x26b)](this[_0x179eef(0x47a)]['onRemoteRetry'](_0x5990b5)),this[_0x179eef(0x2b7)]();}['_onFetchMissResult'](_0x1acc20){var _0x417ed9=_0x2b51d4;if(!(this[_0x417ed9(0x47a)]instanceof ee))throw new TypeError(_0x417ed9(0x367));const _0x1738b2=_0x1acc20[_0x417ed9(0x48a)](_0x4ac584=>{var _0x4f52b2=_0x417ed9;const _0x1b4cbf=this['_compressMutationService'][_0x4f52b2(0x47d)][_0x4f52b2(0x29f)](this['_compressMutationService'][_0x4f52b2(0x47d)]['getInterceptPoints']()['COMPRESS_MUTATION_APPLY'])(_0x4ac584[_0x4f52b2(0x27e)],null)||_0x4ac584[_0x4f52b2(0x27e)];return{..._0x4ac584,'mutations':_0x1b4cbf};});this[_0x417ed9(0x486)](),this[_0x417ed9(0x26b)](this[_0x417ed9(0x47a)][_0x417ed9(0x37e)](_0x1738b2)),this[_0x417ed9(0x2b7)]();}[_0x2b51d4(0x436)](){var _0x545997=_0x2b51d4;this[_0x545997(0x486)](),this[_0x545997(0x26b)](this['_state'][_0x545997(0x1b4)]()),this[_0x545997(0x2b7)]();}[_0x2b51d4(0x27b)](_0x16c142=!0x1){var _0x54867b=_0x2b51d4;this['_lockTransition'](),this[_0x54867b(0x26b)](this['_state'][_0x54867b(0x46f)]()),this[_0x54867b(0x2b7)]();const _0x4f6513=this[_0x54867b(0x47a)];_0x16c142&&_0x4f6513 instanceof Ne&&(this[_0x54867b(0x486)](),this[_0x54867b(0x26b)](_0x4f6513[_0x54867b(0x1ea)]()),this['_unlockTransition']());}async[_0x2b51d4(0x244)](){return new Promise(_0xf8eec6=>{var _0x19cc07=_0x3286;this['session'][_0x19cc07(0x221)][_0x19cc07(0x392)](_0xcc9855(0x1))['subscribe'](async _0x19a68e=>{var _0x497f80=_0x19cc07;_0xf8eec6(await this[_0x497f80(0x3b0)](_0x19a68e===Ee[_0x497f80(0x216)]));});});}['_createHandler'](){var _0x4a93e3=_0x2b51d4;const _0x128882=this[_0x4a93e3(0x3c5)];return{'onStateChange':(_0x92268e,_0x203b5c)=>{var _0x57c452=_0x4a93e3;if(_0x92268e!==this['_state'])throw new Error('[CollaborationEntity]:\x20invalid\x20state\x20transition!\x20State\x20transferred\x20from\x20is\x20not\x20the\x20current\x20state.\x0aBefore:\x20'+_0x92268e['status']+_0x57c452(0x20a)+_0x203b5c[_0x57c452(0x2c1)]+_0x57c452(0x256)+this[_0x57c452(0x47a)][_0x57c452(0x2c1)]);this[_0x57c452(0x26b)](_0x203b5c);},'onSendChangeset':_0x38fb93=>{var _0x3a9ad2=_0x4a93e3;_0x38fb93[_0x3a9ad2(0x253)]||(_0x38fb93['sid']=this[_0x3a9ad2(0x24f)],_0x38fb93['reqId']=++this[_0x3a9ad2(0x1b7)]);const _0x14e280={'eventID':_0x1cab20['SUBMIT_CHANGESET'],'data':{'unitID':_0x38fb93['unitID'],'unitType':this[_0x3a9ad2(0x4ab)],'changeset':_0x38fb93,'memberID':this['session'][_0x3a9ad2(0x2a0)]()}};this[_0x3a9ad2(0x2d9)][_0x3a9ad2(0x480)](_0x14e280,this['unitID']);},'onMissingChangesets':({from:_0x48300c,to:_0x77ccc5})=>{var _0x5bef8c=_0x4a93e3;this[_0x5bef8c(0x3e5)]['debug']('[CollaborationEntity]',_0x5bef8c(0x41b)+_0x48300c+_0x5bef8c(0x469)+_0x77ccc5);const _0x102ee7={'eventID':_0x1cab20[_0x5bef8c(0x3a8)],'data':{'unitID':_0x128882,'unitType':this[_0x5bef8c(0x4ab)],'from':_0x48300c,'to':_0x77ccc5}};this['session'][_0x5bef8c(0x480)](_0x102ee7,this[_0x5bef8c(0x3c5)]);}};}async[_0x2b51d4(0x3b0)](_0x58e118){var _0x50d1c7=_0x2b51d4,_0x1b43e3,_0x18a32b,_0x17b5a3;const _0x436dc3=await((_0x1b43e3=this[_0x50d1c7(0x39e)])==null?void 0x0:_0x1b43e3[_0x50d1c7(0x250)](this[_0x50d1c7(0x3c5)])),_0x6fbc4e=(_0x18a32b=_0x436dc3==null?void 0x0:_0x436dc3['mutations'])!=null?_0x18a32b:[],_0x11326c=(_0x17b5a3=_0x436dc3==null?void 0x0:_0x436dc3['awaitingChangeset'])!=null?_0x17b5a3:null,_0x15de85=!!(_0x11326c!=null&&_0x11326c[_0x50d1c7(0x253)])&&!!(_0x11326c!=null&&_0x11326c[_0x50d1c7(0x476)]);this['_changesetSessionId']=_0x15de85?_0x11326c['sid']:Zn(),this[_0x50d1c7(0x1b7)]=_0x15de85?_0x11326c[_0x50d1c7(0x476)]:0x0;const _0x3a1d54=this[_0x50d1c7(0x3c5)];try{this[_0x50d1c7(0x1c9)](_0x11326c,_0x6fbc4e);}catch(_0x6d95a9){this[_0x50d1c7(0x3e5)][_0x50d1c7(0x36e)](_0x6d95a9);}const _0x4c4c3d=this[_0x50d1c7(0x3b1)]();if(_0x58e118){const _0x1f4687=Oi(this[_0x50d1c7(0x333)],_0x3a1d54,this[_0x50d1c7(0x4ab)],_0x11326c,_0x6fbc4e,_0x4c4c3d);return _0x1f4687 instanceof ae?_0x1f4687[_0x50d1c7(0x3f5)]():(_0x1f4687 instanceof oe||_0x1f4687 instanceof le)&&_0x1f4687[_0x50d1c7(0x3ae)](),_0x1f4687;}return this[_0x50d1c7(0x333)][_0x50d1c7(0x492)](de,_0x3a1d54,this[_0x50d1c7(0x4ab)],_0x11326c,_0x6fbc4e,_0x4c4c3d);}[_0x2b51d4(0x1c9)](_0xd3b01f,_0x19b99b){var _0x26fb05=_0x2b51d4,_0x43e841,_0x20563b;const _0x1ea20c=this[_0x26fb05(0x3de)][_0x26fb05(0x47d)][_0x26fb05(0x29f)](this[_0x26fb05(0x3de)]['interceptor'][_0x26fb05(0x45f)]()[_0x26fb05(0x3bb)]);(_0x43e841=_0x1ea20c((_0xd3b01f==null?void 0x0:_0xd3b01f[_0x26fb05(0x27e)])||[],null))==null||_0x43e841['forEach'](_0x585eff=>this['_commandService'][_0x26fb05(0x49f)](_0x585eff['id'],_0x585eff[_0x26fb05(0x424)])),(_0x20563b=_0x1ea20c(_0x19b99b||[],null))==null||_0x20563b['forEach'](_0x2e3fd6=>this[_0x26fb05(0x448)]['executeCommand'](_0x2e3fd6['id'],_0x2e3fd6['params']));}};nt=xt([H(0x3,_0xbb9044(_0xe87ffb)),H(0x4,_0xbb9044(_0x364d90)),H(0x5,_0xbb9044(_0x2fded0)),H(0x6,_0xbb9044(_0x294ada)),H(0x7,_0xbb9044(pe)),H(0x8,_0x3e08f2),H(0x9,_0x3b7381),H(0xa,_0x1f555b),H(0xb,_0x19063a(ht)),H(0xc,_0x19063a(J))],nt);let It=class extends nt{constructor(_0x25c6e6,_0x35dec7,_0x1ed4fc,_0x383ae1,_0x42d817,_0x148774,_0x1f1c4b,_0xc8c476,_0x1faa56,_0x46f8af,_0x2ad8cd,_0x4f5b97,_0x3b0722){var _0xdc630a=_0x2b51d4;super(_0x25c6e6,_0x1ed4fc,_0x35dec7,_0x383ae1,_0x42d817,_0x148774,_0x1f1c4b,_0xc8c476,_0x1faa56,_0x46f8af,_0x2ad8cd,_0x4f5b97,_0x3b0722),N(this,_0xdc630a(0x40c),null),(this[_0xdc630a(0x3c5)]=_0x25c6e6,this[_0xdc630a(0x26e)]=_0x35dec7);}[_0x2b51d4(0x48e)](_0x2a70b6){var _0x286468=_0x2b51d4;this[_0x286468(0x40c)]=_0x2a70b6;}['dispose'](){var _0x4ad8e0=_0x2b51d4;this['_handlerCallback']=null,super[_0x4ad8e0(0x264)]();}[_0x2b51d4(0x3b1)](){var _0x24eb81=_0x2b51d4;const _0x501860=super[_0x24eb81(0x3b1)]();return _0x501860[_0x24eb81(0x202)]=_0x9f9fa4=>{var _0x49e767=_0x24eb81,_0x7433c7,_0x59336e;return(_0x59336e=(_0x7433c7=this[_0x49e767(0x40c)])==null?void 0x0:_0x7433c7[_0x49e767(0x202)])==null?void 0x0:_0x59336e[_0x49e767(0x2ea)](_0x7433c7,_0x9f9fa4);},_0x501860[_0x24eb81(0x2f4)]=_0x9b886c=>{var _0x2c9673=_0x24eb81,_0x5c36ff,_0xdc2e56;return(_0xdc2e56=(_0x5c36ff=this['_handlerCallback'])==null?void 0x0:_0x5c36ff[_0x2c9673(0x2f4)])==null?void 0x0:_0xdc2e56[_0x2c9673(0x2ea)](_0x5c36ff,_0x9b886c);},_0x501860[_0x24eb81(0x45c)]=_0x531ac5=>{var _0x19669a=_0x24eb81,_0x330630,_0x498527;return(_0x498527=(_0x330630=this[_0x19669a(0x40c)])==null?void 0x0:_0x330630[_0x19669a(0x45c)])==null?void 0x0:_0x498527[_0x19669a(0x2ea)](_0x330630,_0x531ac5);},_0x501860[_0x24eb81(0x2d0)]=_0x35db1c=>{var _0x332619=_0x24eb81,_0x5a7b01,_0x343501;return(_0x343501=(_0x5a7b01=this[_0x332619(0x40c)])==null?void 0x0:_0x5a7b01[_0x332619(0x2d0)])==null?void 0x0:_0x343501[_0x332619(0x2ea)](_0x5a7b01,_0x35db1c);},_0x501860['onTransformRemoteChangesetByIMECache']=_0x552114=>{var _0x5bda16=_0x24eb81,_0x5b7825,_0x29436c,_0x89996d;if(!((_0x5b7825=this[_0x5bda16(0x40c)])!=null&&_0x5b7825['onTransformRemoteChangesetByIMECache']))throw new Error(_0x5bda16(0x3b3));return(_0x89996d=(_0x29436c=this[_0x5bda16(0x40c)])==null?void 0x0:_0x29436c['onTransformRemoteChangesetByIMECache'])==null?void 0x0:_0x89996d[_0x5bda16(0x2ea)](_0x29436c,_0x552114);},_0x501860['onTransformRemoteChangesetByStateCache']=_0x4c2d01=>{var _0x188fc5=_0x24eb81,_0x5bdbb0,_0x567658,_0x1193b8;if(!((_0x5bdbb0=this[_0x188fc5(0x40c)])!=null&&_0x5bdbb0[_0x188fc5(0x40d)]))throw new Error(_0x188fc5(0x439));return(_0x1193b8=(_0x567658=this[_0x188fc5(0x40c)])==null?void 0x0:_0x567658[_0x188fc5(0x40d)])==null?void 0x0:_0x1193b8['call'](_0x567658,_0x4c2d01);},_0x501860;}async[_0x2b51d4(0x234)](){var _0x5e15aa=_0x2b51d4;const _0xb9e635=await super[_0x5e15aa(0x234)]();return this['disposeWithMe'](this[_0x5e15aa(0x448)][_0x5e15aa(0x1e0)]((_0xe084c1,_0x208458)=>{var _0x1057a6=_0x5e15aa;if(_0xe084c1['type']!==_0x1d9afc[_0x1057a6(0x470)]||_0x208458!=null&&_0x208458[_0x1057a6(0x262)]||_0x208458!=null&&_0x208458['onlyLocal']||_0xe084c1['id']===_0x3b2784['id'])return;const _0x1e05c4=_0xe084c1[_0x1057a6(0x424)];if((_0x1e05c4==null?void 0x0:_0x1e05c4[_0x1057a6(0x32b)])!==this[_0x1057a6(0x3c5)])return;const _0x498fa4=_0xe084c1,_0x2b9b6d=this[_0x1057a6(0x3de)][_0x1057a6(0x47d)][_0x1057a6(0x29f)](this[_0x1057a6(0x3de)][_0x1057a6(0x47d)][_0x1057a6(0x45f)]()[_0x1057a6(0x1fe)])([_0x498fa4],null)||[_0x498fa4];this[_0x1057a6(0x422)](_0x2b9b6d[0x0]);})),_0xb9e635;}};It=xt([H(0x3,_0xbb9044(_0xe87ffb)),H(0x4,_0xbb9044(_0x364d90)),H(0x5,_0xbb9044(_0x2fded0)),H(0x6,_0xbb9044(_0x294ada)),H(0x7,_0xbb9044(pe)),H(0x8,_0x3e08f2),H(0x9,_0x3b7381),H(0xa,_0x1f555b),H(0xb,_0x19063a(ht)),H(0xc,_0x19063a(J))],It);let Tt=class extends nt{constructor(_0x59b69b,_0x8734a4,_0x3db779,_0x48e07f,_0x281973,_0x591b98,_0x16b4a3,_0x157495,_0x2a5573,_0x5bd7e5,_0x2e5ee2,_0x5c22f4,_0x78f7ec,_0x256260){var _0x5f1d86=_0x2b51d4;super(_0x59b69b,_0x3db779,_0x8734a4,_0x48e07f,_0x281973,_0x591b98,_0x16b4a3,_0x2a5573,_0x5bd7e5,_0x2e5ee2,_0x5c22f4,_0x78f7ec,_0x256260),this[_0x5f1d86(0x3c5)]=_0x59b69b,this[_0x5f1d86(0x26e)]=_0x8734a4,this[_0x5f1d86(0x207)]=_0x157495;}['_createHandler'](){var _0x38666c=_0x2b51d4;const _0x5c62d1=super[_0x38666c(0x3b1)]();return _0x5c62d1[_0x38666c(0x45c)]=_0x487701=>this[_0x38666c(0x207)][_0x38666c(0x373)](_0x487701),_0x5c62d1;}async[_0x2b51d4(0x234)](){var _0x1107a8=_0x2b51d4;const _0x6f64cf=await super[_0x1107a8(0x234)]();return this['disposeWithMe'](this[_0x1107a8(0x448)][_0x1107a8(0x1e0)]((_0x3441f3,_0x1d3df4)=>{var _0xaac4f7=_0x1107a8;if(_0x3441f3[_0xaac4f7(0x26e)]!==_0x1d9afc['MUTATION']||_0x1d3df4!=null&&_0x1d3df4[_0xaac4f7(0x262)]||_0x1d3df4!=null&&_0x1d3df4[_0xaac4f7(0x3e6)])return;const _0x2397c0=_0x3441f3['params'];if((_0x2397c0==null?void 0x0:_0x2397c0[_0xaac4f7(0x32b)])!==this[_0xaac4f7(0x3c5)])return;const _0xdd207c=_0x3441f3,_0x37ed2a=this[_0xaac4f7(0x3de)]['interceptor'][_0xaac4f7(0x29f)](this['_compressMutationService'][_0xaac4f7(0x47d)]['getInterceptPoints']()[_0xaac4f7(0x1fe)])([_0xdd207c],null)||[_0xdd207c];this['_onLocalMutation'](_0x37ed2a[0x0]);})),_0x6f64cf;}};Tt=xt([H(0x3,_0xbb9044(_0xe87ffb)),H(0x4,_0xbb9044(_0x364d90)),H(0x5,_0xbb9044(_0x2fded0)),H(0x6,_0xbb9044(_0x294ada)),H(0x7,_0xbb9044(it)),H(0x8,_0xbb9044(pe)),H(0x9,_0x3e08f2),H(0xa,_0x3b7381),H(0xb,_0x1f555b),H(0xc,_0x19063a(ht)),H(0xd,_0x19063a(J))],Tt);var or=Object[_0x2b51d4(0x374)],cr=(_0x4652ae,_0x234980,_0x50b43e,_0x173af6)=>{var _0x3e7ade=_0x2b51d4;for(var _0x493789=_0x173af6>0x1?void 0x0:_0x173af6?or(_0x234980,_0x50b43e):_0x234980,_0x2d01ad=_0x4652ae[_0x3e7ade(0x23a)]-0x1,_0x35ce04;_0x2d01ad>=0x0;_0x2d01ad--)(_0x35ce04=_0x4652ae[_0x2d01ad])&&(_0x493789=_0x35ce04(_0x493789)||_0x493789);return _0x493789;},ft=(_0x2d2050,_0x4c3245)=>(_0x36410f,_0x38d058)=>_0x4c3245(_0x36410f,_0x38d058,_0x2d2050);let rt=class extends _0xbf3a36{constructor(_0x56ba98,_0xe3a5de,_0x4d79fc){var _0xea1f88=_0x2b51d4;super(),N(this,_0xea1f88(0x2a2),new Map()),N(this,_0xea1f88(0x1f6),new _0x358ef7()),N(this,'entityInit$',this[_0xea1f88(0x1f6)][_0xea1f88(0x380)]()),(this[_0xea1f88(0x333)]=_0x56ba98,this[_0xea1f88(0x2d2)]=_0xe3a5de,this[_0xea1f88(0x22f)]=_0x4d79fc,this[_0xea1f88(0x234)]());}[_0x2b51d4(0x264)](){var _0x2faa5e=_0x2b51d4;super[_0x2faa5e(0x264)](),this[_0x2faa5e(0x2a2)][_0x2faa5e(0x33d)](_0xf6dc83=>_0xf6dc83[_0x2faa5e(0x264)]()),this[_0x2faa5e(0x2a2)][_0x2faa5e(0x2fb)]();}[_0x2b51d4(0x257)](_0x50c237){var _0x5d0047=_0x2b51d4,_0x5a4c24;return(_0x5a4c24=this[_0x5d0047(0x2a2)][_0x5d0047(0x42b)](_0x50c237))!=null?_0x5a4c24:null;}[_0x2b51d4(0x361)](_0x8dbbb2){var _0x707948=_0x2b51d4;const _0x33b88e=this[_0x707948(0x257)](_0x8dbbb2);return _0x33b88e?_0x5e2f08(_0x33b88e):this[_0x707948(0x1f6)]['pipe'](_0x20767a(_0x4b77aa=>_0x4b77aa[_0x707948(0x3c5)]===_0x8dbbb2));}[_0x2b51d4(0x447)](_0x38c75f){var _0x2b937c=_0x2b51d4;return _0x17bb9a(this[_0x2b937c(0x361)](_0x38c75f)[_0x2b937c(0x392)](_0x87d7ab(()=>{})));}['_init'](){var _0x4bc67d=_0x2b51d4;this[_0x4bc67d(0x22f)][_0x4bc67d(0x235)](_0x5d6c54[_0x4bc67d(0x1ca)])[_0x4bc67d(0x392)](_0x31b31c(this[_0x4bc67d(0x330)]),_0x1402e1(0x10))[_0x4bc67d(0x36f)](async _0x492ee8=>{var _0x363540=_0x4bc67d;const _0x43b3d8=_0x492ee8[_0x363540(0x4a5)](),_0x111beb=await this[_0x363540(0x3ea)](_0x43b3d8,Q[_0x363540(0x1ca)]);this[_0x363540(0x2a2)]['set'](_0x43b3d8,_0x111beb);}),this[_0x4bc67d(0x22f)][_0x4bc67d(0x235)](_0x5d6c54[_0x4bc67d(0x1f8)])[_0x4bc67d(0x392)](_0x31b31c(this[_0x4bc67d(0x330)]),_0x1402e1(0x10))['pipe'](_0x20767a(_0x26e65d=>!_0x26e65d[_0x4bc67d(0x4a5)]()[_0x4bc67d(0x22a)]('__')))[_0x4bc67d(0x36f)](async _0xbc4ed0=>{var _0x2d54f2=_0x4bc67d;const _0x5b43c1=_0xbc4ed0[_0x2d54f2(0x4a5)](),_0x1d025b=await this[_0x2d54f2(0x3ea)](_0x5b43c1,Q[_0x2d54f2(0x1f8)]);this[_0x2d54f2(0x2a2)][_0x2d54f2(0x218)](_0x5b43c1,_0x1d025b);}),_0xb2540(this['_univerInstanceService']['getTypeOfUnitDisposed$'](_0x5d6c54[_0x4bc67d(0x1ca)]),this[_0x4bc67d(0x22f)][_0x4bc67d(0x3d6)](_0x5d6c54['UNIVER_DOC']))['pipe'](_0x31b31c(this[_0x4bc67d(0x330)]))[_0x4bc67d(0x36f)](_0x27ca83=>{var _0x16cac7=_0x4bc67d;const _0x2e52d3=_0x27ca83[_0x16cac7(0x4a5)](),_0x2eaaad=this[_0x16cac7(0x2a2)][_0x16cac7(0x42b)](_0x2e52d3);_0x2eaaad&&(_0x2eaaad['dispose'](),this[_0x16cac7(0x2a2)][_0x16cac7(0x1b2)](_0x2e52d3));});}async[_0x2b51d4(0x3ea)](_0x478e20,_0x54f7db){var _0x4b17da=_0x2b51d4;const _0x2192c0=await this['_collabSessionService'][_0x4b17da(0x47c)](_0x478e20),_0x4a2d75=this[_0x4b17da(0x333)]['createInstance'](this['_getCtorByUniverType'](_0x54f7db),_0x478e20,_0x54f7db,_0x2192c0);return await _0x4a2d75['init'](),this[_0x4b17da(0x1f6)]['next'](_0x4a2d75),_0x4a2d75;}[_0x2b51d4(0x48c)](_0x16fcf5){var _0x4647fe=_0x2b51d4;switch(_0x16fcf5){case Q[_0x4647fe(0x1f8)]:return It;case Q[_0x4647fe(0x1ca)]:return Tt;default:throw new Error(_0x4647fe(0x3da)+_0x16fcf5);}}};rt=cr([ft(0x0,_0xbb9044(_0xe87ffb)),ft(0x1,_0xbb9044(Le)),ft(0x2,_0xcd0588)],rt);var hr=Object['getOwnPropertyDescriptor'],_r=(_0x218262,_0x31062c,_0x16888c,_0x330b62)=>{for(var _0x251b13=_0x330b62>0x1?void 0x0:_0x330b62?hr(_0x31062c,_0x16888c):_0x31062c,_0x453a01=_0x218262['length']-0x1,_0x391a16;_0x453a01>=0x0;_0x453a01--)(_0x391a16=_0x218262[_0x453a01])&&(_0x251b13=_0x391a16(_0x251b13)||_0x251b13);return _0x251b13;},zt=(_0x4ae8ce,_0x4c5194)=>(_0xcd0036,_0xa876be)=>_0x4c5194(_0xcd0036,_0xa876be,_0x4ae8ce);const lr=_0x2b51d4(0x2b8),ur=_0x2b51d4(0x1e5);let Ct=class extends _0x46eb90{constructor(_0x536246,_0x31d8f3){var _0x56cf1a=_0x2b51d4;super(),this['_univerInstanceService']=_0x536246,this[_0x56cf1a(0x22e)]=_0x31d8f3,this[_0x56cf1a(0x234)]();}[_0x2b51d4(0x234)](){var _0x22655c=_0x2b51d4;this['disposeWithMe'](this[_0x22655c(0x22f)][_0x22655c(0x348)][_0x22655c(0x36f)](()=>{var _0x58e55c=_0x22655c,_0x2aab9a;const _0x53abb9=this[_0x58e55c(0x22f)][_0x58e55c(0x430)]();let _0x20260e=(_0x2aab9a=this[_0x58e55c(0x22e)][_0x58e55c(0x2a7)](lr))!=null?_0x2aab9a:ur;_0x53abb9 instanceof _0x33d3c5&&(_0x20260e=_0x53abb9[_0x58e55c(0x3b6)]),document[_0x58e55c(0x409)]=_0x20260e;}));}};Ct=_r([zt(0x0,_0xcd0588),zt(0x1,_0x3d91ad)],Ct);var dr=Object[_0x2b51d4(0x374)],fr=(_0x181e11,_0x48ba72,_0x2027b3,_0x213d3e)=>{var _0x8ae074=_0x2b51d4;for(var _0x942c26=_0x213d3e>0x1?void 0x0:_0x213d3e?dr(_0x48ba72,_0x2027b3):_0x48ba72,_0x31d2ad=_0x181e11[_0x8ae074(0x23a)]-0x1,_0xad85fb;_0x31d2ad>=0x0;_0x31d2ad--)(_0xad85fb=_0x181e11[_0x31d2ad])&&(_0x942c26=_0xad85fb(_0x942c26)||_0x942c26);return _0x942c26;},vt=(_0x4cddc0,_0x113687)=>(_0x2fc77c,_0x232576)=>_0x113687(_0x2fc77c,_0x232576,_0x4cddc0);let st=class{constructor(_0x1dbc97,_0x4f8547,_0x558e67){var _0x3f8d0c=_0x2b51d4;this[_0x3f8d0c(0x22e)]=_0x1dbc97,this['_httpService']=_0x4f8547,this[_0x3f8d0c(0x2bd)]=_0x558e67,this['init']();}[_0x2b51d4(0x463)](){var _0xc21e10=_0x2b51d4;this[_0xc21e10(0x254)][_0xc21e10(0x3c0)]({'priority':0x1,'interceptor':(_0x4d3321,_0x4b211e)=>_0x4b211e(_0x4d3321)[_0xc21e10(0x392)](_0x397e18(async _0xf75ec5=>{var _0x3ccf5a=_0xc21e10;const _0x5bbfd5=_0xf75ec5;if(_0x5bbfd5[_0x3ccf5a(0x2c1)]===0x191){if(typeof window>'u')throw new Error(_0x3ccf5a(0x3b2));if(window[_0x3ccf5a(0x386)](this[_0x3ccf5a(0x2bd)]['t'](_0x3ccf5a(0x303)))){const _0x330c6b=window[_0x3ccf5a(0x4b1)](window[_0x3ccf5a(0x349)][_0x3ccf5a(0x1b0)]);window[_0x3ccf5a(0x349)][_0x3ccf5a(0x1b0)]=this[_0x3ccf5a(0x49a)]()+_0x3ccf5a(0x226)+_0x330c6b;}}return _0x5bbfd5;}))});}[_0x2b51d4(0x49a)](){var _0x23aef7=_0x2b51d4,_0x377ae4,_0x4df1a1;const _0x14feeb=this[_0x23aef7(0x22e)][_0x23aef7(0x2a7)](Un),_0x43602e=this[_0x23aef7(0x22e)][_0x23aef7(0x2a7)](q);return(_0x4df1a1=(_0x377ae4=_0x43602e==null?void 0x0:_0x43602e[_0x23aef7(0x3cb)])!=null?_0x377ae4:_0x14feeb)!=null?_0x4df1a1:wn;}};st=fr([vt(0x0,_0x3d91ad),vt(0x1,_0xbb9044(_0x334dc2)),vt(0x2,_0xbb9044(_0x2fded0))],st);var vr=Object[_0x2b51d4(0x374)],pr=(_0x3a275f,_0x3c0e78,_0x1fa83d,_0x50cf13)=>{var _0x36d34f=_0x2b51d4;for(var _0x116a66=_0x50cf13>0x1?void 0x0:_0x50cf13?vr(_0x3c0e78,_0x1fa83d):_0x3c0e78,_0xc5c73a=_0x3a275f[_0x36d34f(0x23a)]-0x1,_0x563b41;_0xc5c73a>=0x0;_0xc5c73a--)(_0x563b41=_0x3a275f[_0xc5c73a])&&(_0x116a66=_0x563b41(_0x116a66)||_0x116a66);return _0x116a66;},Jt=(_0x19575d,_0x490a12)=>(_0x20e9ee,_0x14ca1a)=>_0x490a12(_0x20e9ee,_0x14ca1a,_0x19575d);const Ni='AUTHZ_URL_KEY',mr=_0x2b51d4(0x3a6);let Rt=class extends _0x46eb90{constructor(_0x5c416e,_0x2d0439){var _0x4f9ae4=_0x2b51d4;super(),this[_0x4f9ae4(0x294)]=_0x5c416e,this[_0x4f9ae4(0x22e)]=_0x2d0439,this[_0x4f9ae4(0x1b3)]();}[_0x2b51d4(0x1b3)](){var _0x3da8eb=_0x2b51d4;const _0x167289=this;this[_0x3da8eb(0x27f)](this[_0x3da8eb(0x294)][_0x3da8eb(0x3c0)]({'priority':0x3e7,'interceptor':_0x4a25dc({'isMatch'(_0x2728fb){var _0x251fbb=_0x3da8eb,_0x3b81c5;if(_0x2728fb[_0x251fbb(0x3f8)]===_0x251fbb(0x343)&&((_0x3b81c5=_0x2728fb[_0x251fbb(0x363)])!=null&&_0x3b81c5[_0x251fbb(0x1e3)])){const {objectID:_0x167f68,objectType:_0x363953}=_0x2728fb[_0x251fbb(0x363)][_0x251fbb(0x1e3)]||{};if(!_0x167f68||_0x363953===void 0x0)return!0x1;const _0x4520ed=_0x167289[_0x251fbb(0x1e2)]()+'/'+_0x363953+'/object/'+_0x167f68+_0x251fbb(0x20b);if(_0x2728fb['url']===_0x4520ed)return!0x0;}return!0x1;},'getParamsFromRequest'(_0x3f0671){var _0xcfd2b=_0x3da8eb,_0x5c4855;return(_0x5c4855=_0x3f0671[_0xcfd2b(0x363)])==null?void 0x0:_0x5c4855[_0xcfd2b(0x1e3)];},'mergeParamsToRequest'(_0x100d77,_0x521613){var _0x389a77=_0x3da8eb;const _0x3c30ae=_0x167289[_0x389a77(0x1e2)]()+_0x389a77(0x477),_0x3f62b0=_0x100d77[_0x389a77(0x279)]((_0x1eb83c,_0x550f4f)=>{var _0x479a30=_0x389a77;const {unitID:_0x1ad689,objectID:_0x172237,objectType:_0xc04e75,actions:_0x4a630f}=_0x550f4f;return _0x1eb83c[_0x1ad689]||(_0x1eb83c[_0x1ad689]={}),_0x1eb83c[_0x1ad689][_0x172237]||(_0x1eb83c[_0x1ad689][_0x172237]={'objectID':_0x172237,'objectType':_0xc04e75,'actions':[]}),_0x1eb83c[_0x1ad689][_0x172237][_0x479a30(0x49e)][_0x479a30(0x276)](..._0x4a630f),_0x1eb83c;},{}),_0x216690=[];for(const _0x85acfd in _0x3f62b0)for(const _0x494743 in _0x3f62b0[_0x85acfd]){const {actions:_0x4850d8,objectType:_0x5ed2c3}=_0x3f62b0[_0x85acfd][_0x494743],_0x419183=[...new Set(_0x4850d8)];_0x216690[_0x389a77(0x276)]({'unitID':_0x85acfd,'objectID':_0x494743,'objectType':_0x5ed2c3,'actions':_0x419183});}return new _0x2d3670('POST',_0x3c30ae,{'headers':_0x521613[_0x389a77(0x35d)],'withCredentials':_0x521613[_0x389a77(0x2ad)],'responseType':_0x521613[_0x389a77(0x398)],'body':{'requests':_0x216690}});}},{'distributeResult'(_0x3db332,_0xed3c7f){var _0x540e78=_0x3da8eb;const {objectActions:_0x23e7d3}=_0x3db332;return _0xed3c7f[_0x540e78(0x48a)](_0x3eeb9a=>{var _0x73b943=_0x540e78;const {unitID:_0x4f4d64,objectID:_0x269b0,actions:_0x1e679c}=_0x3eeb9a,_0x3ea7ce=_0x23e7d3[_0x73b943(0x2ff)](_0x493360=>_0x493360[_0x73b943(0x3c5)]===_0x4f4d64&&_0x493360[_0x73b943(0x497)]===_0x269b0),_0xba32dd=_0x1e679c[_0x73b943(0x48a)](_0x41d5ef=>_0x3ea7ce==null?void 0x0:_0x3ea7ce[_0x73b943(0x49e)][_0x73b943(0x2ff)](_0x34f8b4=>_0x34f8b4['action']===_0x41d5ef))[_0x73b943(0x287)](_0x11480d=>!!_0x11480d);return{'config':_0x3eeb9a,'result':{'actions':_0xba32dd,'error':_0x3db332[_0x73b943(0x36e)]}};});}})}));}[_0x2b51d4(0x1e2)](){var _0x5ac8eb=_0x2b51d4,_0x12b393,_0x4ca7ce;const _0x368af8=this[_0x5ac8eb(0x22e)][_0x5ac8eb(0x2a7)](Ni),_0x391f92=this[_0x5ac8eb(0x22e)][_0x5ac8eb(0x2a7)](q);return(_0x4ca7ce=(_0x12b393=_0x391f92==null?void 0x0:_0x391f92['authzUrl'])!=null?_0x12b393:_0x368af8)!=null?_0x4ca7ce:mr;}async[_0x2b51d4(0x455)](_0x474d92){var _0x4e8add=_0x2b51d4;const _0x3b4882=this['_getAPIPrefixPath']()+'/'+_0x474d92[_0x4e8add(0x360)]+'/object';return(await this['_HTTPService']['post'](_0x3b4882,{'body':_0x474d92}))[_0x4e8add(0x1e3)][_0x4e8add(0x497)]||'';}async[_0x2b51d4(0x1e6)](_0x3bc8e9){var _0x367357=_0x2b51d4;const _0x2ea7c7=this[_0x367357(0x1e2)]()+_0x367357(0x208);return(await this[_0x367357(0x294)]['post'](_0x2ea7c7,{'body':_0x3bc8e9}))['body'][_0x367357(0x2b2)];}async[_0x2b51d4(0x472)](_0x1c1d1d){var _0x4eefb1=_0x2b51d4,_0x50480d,_0x113d9a;const _0x20e161=this['_getAPIPrefixPath']()+'/'+_0x1c1d1d[_0x4eefb1(0x360)]+_0x4eefb1(0x34b)+_0x1c1d1d['objectID'],_0x548e57=await this[_0x4eefb1(0x294)][_0x4eefb1(0x397)](_0x20e161,{'body':_0x1c1d1d});if(((_0x113d9a=(_0x50480d=_0x548e57==null?void 0x0:_0x548e57['body'])==null?void 0x0:_0x50480d['error'])==null?void 0x0:_0x113d9a[_0x4eefb1(0x48d)])!==0x0)throw new Error(_0x4eefb1(0x325));}async[_0x2b51d4(0x2cf)](_0x15f789){var _0x127ad1=_0x2b51d4;const _0x1ff9f7=this[_0x127ad1(0x1e2)]()+'/'+_0x15f789['objectType']+_0x127ad1(0x34b)+_0x15f789['objectID']+_0x127ad1(0x20b);return(await this['_HTTPService'][_0x127ad1(0x410)](_0x1ff9f7,{'body':_0x15f789}))['body'][_0x127ad1(0x49e)];}async['batchAllowed'](_0x536beb){var _0x21d280=_0x2b51d4;const _0x225eeb=this[_0x21d280(0x1e2)]()+_0x21d280(0x477);return(await this[_0x21d280(0x294)][_0x21d280(0x410)](_0x225eeb,{'body':{'requests':_0x536beb}}))[_0x21d280(0x1e3)][_0x21d280(0x1be)];}async['listRoles'](_0x3578eb){var _0x15c7b7=_0x2b51d4;const _0x56f6f0=this[_0x15c7b7(0x1e2)]()+'/'+_0x3578eb[_0x15c7b7(0x360)]+_0x15c7b7(0x3e2),_0xf14e9e=await this[_0x15c7b7(0x294)]['post'](_0x56f6f0,{'body':_0x3578eb});return{'roles':_0xf14e9e[_0x15c7b7(0x1e3)][_0x15c7b7(0x1d1)],'actions':_0xf14e9e[_0x15c7b7(0x1e3)][_0x15c7b7(0x49e)]};}async[_0x2b51d4(0x49c)](_0x22bcaf){var _0x4a2e3e=_0x2b51d4;const _0x515eb9=this[_0x4a2e3e(0x1e2)]()+_0x4a2e3e(0x28c);await this[_0x4a2e3e(0x294)][_0x4a2e3e(0x1b2)](_0x515eb9,{'params':{'collaboratorID':_0x22bcaf[_0x4a2e3e(0x4af)],'objectID':_0x22bcaf[_0x4a2e3e(0x497)],'unitID':_0x22bcaf['unitID']}});}async['updateCollaborator'](_0x20aecb){var _0x20f9b9=_0x2b51d4;const _0x3469b6=this['_getAPIPrefixPath']()+_0x20f9b9(0x28c);await this[_0x20f9b9(0x294)][_0x20f9b9(0x2d8)](_0x3469b6,{'body':_0x20aecb});}async['createCollaborator'](_0x1481b2){var _0x375c39=_0x2b51d4;const _0x558509=this[_0x375c39(0x1e2)]()+_0x375c39(0x28c);await this['_HTTPService']['post'](_0x558509,{'body':_0x1481b2});}async[_0x2b51d4(0x304)](_0xdc7d32){var _0x403445=_0x2b51d4;const _0xce22c0=this[_0x403445(0x1e2)]()+'/collaborator';return(await this['_HTTPService'][_0x403445(0x42b)](_0xce22c0,{'params':{'objectID':_0xdc7d32[_0x403445(0x497)],'unitID':_0xdc7d32[_0x403445(0x3c5)]}}))[_0x403445(0x1e3)][_0x403445(0x347)];}async['putCollaborators'](_0x5dc4fa){var _0x24cbfa=_0x2b51d4;const _0x4a63fa=this[_0x24cbfa(0x1e2)]()+'/collaborator';await this[_0x24cbfa(0x294)][_0x24cbfa(0x397)](_0x4a63fa,{'body':_0x5dc4fa});}};Rt=pr([Jt(0x0,_0xbb9044(_0x334dc2)),Jt(0x1,_0xbb9044(_0x3d91ad))],Rt);var pt=typeof globalThis<'u'?globalThis:typeof window<'u'?window:typeof global<'u'?global:typeof self<'u'?self:{};function He(_0x45567c){var _0x5af600=_0x2b51d4;return _0x45567c&&_0x45567c[_0x5af600(0x1ce)]&&Object[_0x5af600(0x488)][_0x5af600(0x362)][_0x5af600(0x2ea)](_0x45567c,'default')?_0x45567c[_0x5af600(0x355)]:_0x45567c;}var Ve={'exports':{}};function gr(_0x38dd8e){var _0x2d18c2=_0x2b51d4;throw new Error(_0x2d18c2(0x425)+_0x38dd8e+_0x2d18c2(0x24b));}var Ge={'exports':{}},Sr=Ge[_0x2b51d4(0x44f)],Xt;function ie(){var _0x9a2d4f=_0x2b51d4;return Xt||(Xt=0x1,function(_0x1457c1,_0xebc541){(function(_0x26b8de,_0x355557){var _0x3469d4=_0x3286;_0x1457c1[_0x3469d4(0x44f)]=_0x355557();}(Sr,function(){var _0x885bf6=_0x885bf6||function(_0x524bb8,_0x38c832){var _0x1ba424=_0x3286,_0x17d405;if(typeof window<'u'&&window[_0x1ba424(0x3ab)]&&(_0x17d405=window[_0x1ba424(0x3ab)]),typeof self<'u'&&self[_0x1ba424(0x3ab)]&&(_0x17d405=self[_0x1ba424(0x3ab)]),typeof globalThis<'u'&&globalThis['crypto']&&(_0x17d405=globalThis[_0x1ba424(0x3ab)]),!_0x17d405&&typeof window<'u'&&window[_0x1ba424(0x3d7)]&&(_0x17d405=window[_0x1ba424(0x3d7)]),!_0x17d405&&typeof pt<'u'&&pt['crypto']&&(_0x17d405=pt[_0x1ba424(0x3ab)]),!_0x17d405&&typeof gr==_0x1ba424(0x454))try{_0x17d405=require(_0x1ba424(0x3ab));}catch{}var _0x2c1e18=function(){var _0x2f8480=_0x1ba424;if(_0x17d405){if(typeof _0x17d405[_0x2f8480(0x223)]==_0x2f8480(0x454))try{return _0x17d405[_0x2f8480(0x223)](new Uint32Array(0x1))[0x0];}catch{}if(typeof _0x17d405[_0x2f8480(0x428)]=='function')try{return _0x17d405['randomBytes'](0x4)['readInt32LE']();}catch{}}throw new Error(_0x2f8480(0x42d));},_0xd9507d=Object['create']||(function(){function _0x24cd81(){}return function(_0x34e587){var _0x7d9b1a=_0x3286,_0x1db27f;return _0x24cd81[_0x7d9b1a(0x488)]=_0x34e587,_0x1db27f=new _0x24cd81(),_0x24cd81[_0x7d9b1a(0x488)]=null,_0x1db27f;};}()),_0x51856e={},_0x1f841b=_0x51856e[_0x1ba424(0x32e)]={},_0x15862a=_0x1f841b[_0x1ba424(0x32a)]=(function(){return{'extend':function(_0x1316f2){var _0xa839e5=_0x3286,_0x547469=_0xd9507d(this);return _0x1316f2&&_0x547469[_0xa839e5(0x346)](_0x1316f2),(!_0x547469[_0xa839e5(0x362)]('init')||this[_0xa839e5(0x463)]===_0x547469[_0xa839e5(0x463)])&&(_0x547469[_0xa839e5(0x463)]=function(){var _0x38d876=_0xa839e5;_0x547469['$super'][_0x38d876(0x463)][_0x38d876(0x25e)](this,arguments);}),_0x547469[_0xa839e5(0x463)][_0xa839e5(0x488)]=_0x547469,_0x547469[_0xa839e5(0x344)]=this,_0x547469;},'create':function(){var _0x40050a=_0x3286,_0x490761=this[_0x40050a(0x407)]();return _0x490761[_0x40050a(0x463)][_0x40050a(0x25e)](_0x490761,arguments),_0x490761;},'init':function(){},'mixIn':function(_0x636477){var _0x2f7443=_0x3286;for(var _0x174c27 in _0x636477)_0x636477[_0x2f7443(0x362)](_0x174c27)&&(this[_0x174c27]=_0x636477[_0x174c27]);_0x636477['hasOwnProperty'](_0x2f7443(0x2df))&&(this[_0x2f7443(0x2df)]=_0x636477['toString']);},'clone':function(){var _0x184812=_0x3286;return this[_0x184812(0x463)][_0x184812(0x488)]['extend'](this);}};}()),_0x4025ce=_0x1f841b[_0x1ba424(0x35e)]=_0x15862a[_0x1ba424(0x407)]({'init':function(_0x5629ed,_0x1cea57){var _0x3cdc03=_0x1ba424;_0x5629ed=this[_0x3cdc03(0x2b0)]=_0x5629ed||[],_0x1cea57!=_0x38c832?this[_0x3cdc03(0x284)]=_0x1cea57:this['sigBytes']=_0x5629ed[_0x3cdc03(0x23a)]*0x4;},'toString':function(_0xea3d3c){var _0x4d5000=_0x1ba424;return(_0xea3d3c||_0x5c95d7)[_0x4d5000(0x375)](this);},'concat':function(_0x69430c){var _0x116bf4=_0x1ba424,_0x163709=this['words'],_0x2c3511=_0x69430c[_0x116bf4(0x2b0)],_0x44e3fd=this[_0x116bf4(0x284)],_0x50c12a=_0x69430c[_0x116bf4(0x284)];if(this['clamp'](),_0x44e3fd%0x4)for(var _0x33fb2e=0x0;_0x33fb2e<_0x50c12a;_0x33fb2e++){var _0xf7f180=_0x2c3511[_0x33fb2e>>>0x2]>>>0x18-_0x33fb2e%0x4*0x8&0xff;_0x163709[_0x44e3fd+_0x33fb2e>>>0x2]|=_0xf7f180<<0x18-(_0x44e3fd+_0x33fb2e)%0x4*0x8;}else{for(var _0x6b8368=0x0;_0x6b8368<_0x50c12a;_0x6b8368+=0x4)_0x163709[_0x44e3fd+_0x6b8368>>>0x2]=_0x2c3511[_0x6b8368>>>0x2];}return this[_0x116bf4(0x284)]+=_0x50c12a,this;},'clamp':function(){var _0x385252=_0x1ba424,_0x21d770=this[_0x385252(0x2b0)],_0x5b571e=this['sigBytes'];_0x21d770[_0x5b571e>>>0x2]&=0xffffffff<<0x20-_0x5b571e%0x4*0x8,_0x21d770[_0x385252(0x23a)]=_0x524bb8[_0x385252(0x291)](_0x5b571e/0x4);},'clone':function(){var _0x7e8d53=_0x1ba424,_0x26ce6b=_0x15862a[_0x7e8d53(0x1c4)]['call'](this);return _0x26ce6b[_0x7e8d53(0x2b0)]=this[_0x7e8d53(0x2b0)][_0x7e8d53(0x350)](0x0),_0x26ce6b;},'random':function(_0x1b458f){var _0x32f498=_0x1ba424;for(var _0x27c47e=[],_0x3bde39=0x0;_0x3bde39<_0x1b458f;_0x3bde39+=0x4)_0x27c47e[_0x32f498(0x276)](_0x2c1e18());return new _0x4025ce['init'](_0x27c47e,_0x1b458f);}}),_0xd44730=_0x51856e['enc']={},_0x5c95d7=_0xd44730[_0x1ba424(0x27c)]={'stringify':function(_0x4e5b9f){var _0x4452bd=_0x1ba424;for(var _0x3383db=_0x4e5b9f[_0x4452bd(0x2b0)],_0x2ad1fb=_0x4e5b9f[_0x4452bd(0x284)],_0x366c87=[],_0x90cd5c=0x0;_0x90cd5c<_0x2ad1fb;_0x90cd5c++){var _0x38162e=_0x3383db[_0x90cd5c>>>0x2]>>>0x18-_0x90cd5c%0x4*0x8&0xff;_0x366c87[_0x4452bd(0x276)]((_0x38162e>>>0x4)['toString'](0x10)),_0x366c87[_0x4452bd(0x276)]((_0x38162e&0xf)['toString'](0x10));}return _0x366c87[_0x4452bd(0x3c2)]('');},'parse':function(_0x3d3e8b){var _0x6f061a=_0x1ba424;for(var _0x1ab89e=_0x3d3e8b[_0x6f061a(0x23a)],_0x1b6498=[],_0x26197a=0x0;_0x26197a<_0x1ab89e;_0x26197a+=0x2)_0x1b6498[_0x26197a>>>0x3]|=parseInt(_0x3d3e8b['substr'](_0x26197a,0x2),0x10)<<0x18-_0x26197a%0x8*0x4;return new _0x4025ce['init'](_0x1b6498,_0x1ab89e/0x2);}},_0x1def6a=_0xd44730[_0x1ba424(0x1d8)]={'stringify':function(_0x5a1df1){var _0x15a6ae=_0x1ba424;for(var _0x249f95=_0x5a1df1[_0x15a6ae(0x2b0)],_0x471d05=_0x5a1df1[_0x15a6ae(0x284)],_0x238755=[],_0x5eec7a=0x0;_0x5eec7a<_0x471d05;_0x5eec7a++){var _0x2a8ac5=_0x249f95[_0x5eec7a>>>0x2]>>>0x18-_0x5eec7a%0x4*0x8&0xff;_0x238755[_0x15a6ae(0x276)](String['fromCharCode'](_0x2a8ac5));}return _0x238755[_0x15a6ae(0x3c2)]('');},'parse':function(_0x25d7ea){var _0x416569=_0x1ba424;for(var _0x132a98=_0x25d7ea[_0x416569(0x23a)],_0x1658f4=[],_0x498cee=0x0;_0x498cee<_0x132a98;_0x498cee++)_0x1658f4[_0x498cee>>>0x2]|=(_0x25d7ea[_0x416569(0x1da)](_0x498cee)&0xff)<<0x18-_0x498cee%0x4*0x8;return new _0x4025ce[(_0x416569(0x463))](_0x1658f4,_0x132a98);}},_0x3a02e3=_0xd44730[_0x1ba424(0x312)]={'stringify':function(_0x171cba){var _0x412267=_0x1ba424;try{return decodeURIComponent(escape(_0x1def6a[_0x412267(0x375)](_0x171cba)));}catch{throw new Error(_0x412267(0x1dc));}},'parse':function(_0x470cbf){var _0x3cbe88=_0x1ba424;return _0x1def6a[_0x3cbe88(0x493)](unescape(encodeURIComponent(_0x470cbf)));}},_0x2361df=_0x1f841b['BufferedBlockAlgorithm']=_0x15862a[_0x1ba424(0x407)]({'reset':function(){var _0x41da4f=_0x1ba424;this[_0x41da4f(0x383)]=new _0x4025ce['init'](),this[_0x41da4f(0x2af)]=0x0;},'_append':function(_0x404d10){var _0x4e7a4d=_0x1ba424;typeof _0x404d10==_0x4e7a4d(0x1c7)&&(_0x404d10=_0x3a02e3[_0x4e7a4d(0x493)](_0x404d10)),this[_0x4e7a4d(0x383)][_0x4e7a4d(0x318)](_0x404d10),this[_0x4e7a4d(0x2af)]+=_0x404d10[_0x4e7a4d(0x284)];},'_process':function(_0x4702a0){var _0xcc7909=_0x1ba424,_0x7328ac,_0x2290a1=this[_0xcc7909(0x383)],_0x1a568e=_0x2290a1[_0xcc7909(0x2b0)],_0x24c7bf=_0x2290a1[_0xcc7909(0x284)],_0x53a6e7=this[_0xcc7909(0x1d4)],_0x4fa8d0=_0x53a6e7*0x4,_0x25fd67=_0x24c7bf/_0x4fa8d0;_0x4702a0?_0x25fd67=_0x524bb8['ceil'](_0x25fd67):_0x25fd67=_0x524bb8[_0xcc7909(0x1cb)]((_0x25fd67|0x0)-this['_minBufferSize'],0x0);var _0x1b4ad0=_0x25fd67*_0x53a6e7,_0x2ee879=_0x524bb8[_0xcc7909(0x416)](_0x1b4ad0*0x4,_0x24c7bf);if(_0x1b4ad0){for(var _0x47b97d=0x0;_0x47b97d<_0x1b4ad0;_0x47b97d+=_0x53a6e7)this[_0xcc7909(0x401)](_0x1a568e,_0x47b97d);_0x7328ac=_0x1a568e['splice'](0x0,_0x1b4ad0),_0x2290a1[_0xcc7909(0x284)]-=_0x2ee879;}return new _0x4025ce[(_0xcc7909(0x463))](_0x7328ac,_0x2ee879);},'clone':function(){var _0x59404d=_0x1ba424,_0x391d91=_0x15862a[_0x59404d(0x1c4)][_0x59404d(0x2ea)](this);return _0x391d91[_0x59404d(0x383)]=this[_0x59404d(0x383)][_0x59404d(0x1c4)](),_0x391d91;},'_minBufferSize':0x0});_0x1f841b[_0x1ba424(0x36b)]=_0x2361df[_0x1ba424(0x407)]({'cfg':_0x15862a[_0x1ba424(0x407)](),'init':function(_0x14014c){var _0x368887=_0x1ba424;this[_0x368887(0x3a4)]=this[_0x368887(0x3a4)][_0x368887(0x407)](_0x14014c),this[_0x368887(0x3d8)]();},'reset':function(){var _0x5c34a9=_0x1ba424;_0x2361df['reset'][_0x5c34a9(0x2ea)](this),this[_0x5c34a9(0x25d)]();},'update':function(_0x3fa1eb){var _0x492c62=_0x1ba424;return this[_0x492c62(0x4a4)](_0x3fa1eb),this[_0x492c62(0x4a2)](),this;},'finalize':function(_0x7e9d7){var _0x125a72=_0x1ba424;_0x7e9d7&&this[_0x125a72(0x4a4)](_0x7e9d7);var _0x452e8a=this['_doFinalize']();return _0x452e8a;},'blockSize':0x10,'_createHelper':function(_0x15bfad){return function(_0x35b65c,_0x541166){var _0x39d8b2=_0x3286;return new _0x15bfad[(_0x39d8b2(0x463))](_0x541166)[_0x39d8b2(0x25b)](_0x35b65c);};},'_createHmacHelper':function(_0x438af9){return function(_0x9f2f59,_0x39c867){var _0x445e50=_0x3286;return new _0x3cd848[(_0x445e50(0x278))][(_0x445e50(0x463))](_0x438af9,_0x39c867)[_0x445e50(0x25b)](_0x9f2f59);};}});var _0x3cd848=_0x51856e['algo']={};return _0x51856e;}(Math);return _0x885bf6;}));}(Ge)),Ge[_0x9a2d4f(0x44f)];}var We={'exports':{}},Er=We[_0x2b51d4(0x44f)],Zt;function Di(){var _0x478c1f=_0x2b51d4;return Zt||(Zt=0x1,function(_0x448981,_0x1810f7){(function(_0x52fc2a,_0x45cc3b){_0x448981['exports']=_0x45cc3b(ie());}(Er,function(_0x25ee01){var _0x7df966=_0x3286;return(function(){var _0x1d997f=_0x3286,_0xacdc3a=_0x25ee01,_0x1204ff=_0xacdc3a['lib'],_0x5c2b5a=_0x1204ff[_0x1d997f(0x35e)],_0x3d08c9=_0xacdc3a[_0x1d997f(0x41f)];_0x3d08c9['Base64']={'stringify':function(_0x53034b){var _0x278664=_0x1d997f,_0xf414f4=_0x53034b[_0x278664(0x2b0)],_0x4555f0=_0x53034b[_0x278664(0x284)],_0x186ba7=this[_0x278664(0x211)];_0x53034b[_0x278664(0x1e9)]();for(var _0x156fc2=[],_0x38622d=0x0;_0x38622d<_0x4555f0;_0x38622d+=0x3)for(var _0x3169e0=_0xf414f4[_0x38622d>>>0x2]>>>0x18-_0x38622d%0x4*0x8&0xff,_0x9de4b8=_0xf414f4[_0x38622d+0x1>>>0x2]>>>0x18-(_0x38622d+0x1)%0x4*0x8&0xff,_0x2dc987=_0xf414f4[_0x38622d+0x2>>>0x2]>>>0x18-(_0x38622d+0x2)%0x4*0x8&0xff,_0x1a598c=_0x3169e0<<0x10|_0x9de4b8<<0x8|_0x2dc987,_0x2d6f77=0x0;_0x2d6f77<0x4&&_0x38622d+_0x2d6f77*0.75<_0x4555f0;_0x2d6f77++)_0x156fc2[_0x278664(0x276)](_0x186ba7[_0x278664(0x1bb)](_0x1a598c>>>0x6*(0x3-_0x2d6f77)&0x3f));var _0x5e1130=_0x186ba7[_0x278664(0x1bb)](0x40);if(_0x5e1130){for(;_0x156fc2[_0x278664(0x23a)]%0x4;)_0x156fc2[_0x278664(0x276)](_0x5e1130);}return _0x156fc2[_0x278664(0x3c2)]('');},'parse':function(_0x57ad4e){var _0x3caeba=_0x1d997f,_0x26c2ee=_0x57ad4e[_0x3caeba(0x23a)],_0x48d5c2=this['_map'],_0x4b53f1=this[_0x3caeba(0x40e)];if(!_0x4b53f1){_0x4b53f1=this['_reverseMap']=[];for(var _0x8a97b6=0x0;_0x8a97b6<_0x48d5c2[_0x3caeba(0x23a)];_0x8a97b6++)_0x4b53f1[_0x48d5c2[_0x3caeba(0x1da)](_0x8a97b6)]=_0x8a97b6;}var _0x1b2953=_0x48d5c2['charAt'](0x40);if(_0x1b2953){var _0xb98ea1=_0x57ad4e[_0x3caeba(0x46e)](_0x1b2953);_0xb98ea1!==-0x1&&(_0x26c2ee=_0xb98ea1);}return _0x58c2b3(_0x57ad4e,_0x26c2ee,_0x4b53f1);},'_map':_0x1d997f(0x296)};function _0x58c2b3(_0x447489,_0x3d7fca,_0x508f02){var _0x2d9363=_0x1d997f;for(var _0x59e2ec=[],_0x542f82=0x0,_0x1945d5=0x0;_0x1945d5<_0x3d7fca;_0x1945d5++)if(_0x1945d5%0x4){var _0x66bfde=_0x508f02[_0x447489[_0x2d9363(0x1da)](_0x1945d5-0x1)]<<_0x1945d5%0x4*0x2,_0x14022a=_0x508f02[_0x447489[_0x2d9363(0x1da)](_0x1945d5)]>>>0x6-_0x1945d5%0x4*0x2,_0x204f5a=_0x66bfde|_0x14022a;_0x59e2ec[_0x542f82>>>0x2]|=_0x204f5a<<0x18-_0x542f82%0x4*0x8,_0x542f82++;}return _0x5c2b5a['create'](_0x59e2ec,_0x542f82);}}()),_0x25ee01['enc'][_0x7df966(0x3e4)];}));}(We)),We[_0x478c1f(0x44f)];}var Ke={'exports':{}},Ir=Ke['exports'],Qt;function Tr(){var _0x51f981=_0x2b51d4;return Qt||(Qt=0x1,function(_0x3a8193,_0x331fd8){(function(_0x226950,_0x20b3bc){var _0x1bc928=_0x3286;_0x3a8193[_0x1bc928(0x44f)]=_0x20b3bc(ie());}(Ir,function(_0x23815b){var _0x341755=_0x3286;return function(_0x459f72){var _0x53d9a3=_0x3286,_0x3cda80=_0x23815b,_0x43e1b6=_0x3cda80[_0x53d9a3(0x32e)],_0x42cbfd=_0x43e1b6[_0x53d9a3(0x35e)],_0x1114c4=_0x43e1b6['Hasher'],_0x508231=_0x3cda80['algo'],_0x1a4c9b=[];(function(){var _0x1a2aea=_0x53d9a3;for(var _0x45b95f=0x0;_0x45b95f<0x40;_0x45b95f++)_0x1a4c9b[_0x45b95f]=_0x459f72['abs'](_0x459f72[_0x1a2aea(0x387)](_0x45b95f+0x1))*0x100000000|0x0;}());var _0x57f442=_0x508231[_0x53d9a3(0x2ba)]=_0x1114c4[_0x53d9a3(0x407)]({'_doReset':function(){var _0x1953f5=_0x53d9a3;this[_0x1953f5(0x204)]=new _0x42cbfd[(_0x1953f5(0x463))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476]);},'_doProcessBlock':function(_0x4ced87,_0x536710){var _0xe81dc3=_0x53d9a3;for(var _0x1c2e58=0x0;_0x1c2e58<0x10;_0x1c2e58++){var _0x2daccf=_0x536710+_0x1c2e58,_0x5d6f51=_0x4ced87[_0x2daccf];_0x4ced87[_0x2daccf]=(_0x5d6f51<<0x8|_0x5d6f51>>>0x18)&0xff00ff|(_0x5d6f51<<0x18|_0x5d6f51>>>0x8)&0xff00ff00;}var _0x54bf6c=this[_0xe81dc3(0x204)][_0xe81dc3(0x2b0)],_0x557e4a=_0x4ced87[_0x536710+0x0],_0x4dc1f3=_0x4ced87[_0x536710+0x1],_0xc14312=_0x4ced87[_0x536710+0x2],_0x5eb744=_0x4ced87[_0x536710+0x3],_0x15b6fc=_0x4ced87[_0x536710+0x4],_0x3dea42=_0x4ced87[_0x536710+0x5],_0x421f34=_0x4ced87[_0x536710+0x6],_0x1349f0=_0x4ced87[_0x536710+0x7],_0x5c5bb4=_0x4ced87[_0x536710+0x8],_0x343bb7=_0x4ced87[_0x536710+0x9],_0xd0a306=_0x4ced87[_0x536710+0xa],_0x569da6=_0x4ced87[_0x536710+0xb],_0x2582a2=_0x4ced87[_0x536710+0xc],_0x749a5=_0x4ced87[_0x536710+0xd],_0x2741a0=_0x4ced87[_0x536710+0xe],_0x5b8f12=_0x4ced87[_0x536710+0xf],_0x314e62=_0x54bf6c[0x0],_0x2ee8b0=_0x54bf6c[0x1],_0x902684=_0x54bf6c[0x2],_0x4c21fd=_0x54bf6c[0x3];_0x314e62=_0x1ae9e6(_0x314e62,_0x2ee8b0,_0x902684,_0x4c21fd,_0x557e4a,0x7,_0x1a4c9b[0x0]),_0x4c21fd=_0x1ae9e6(_0x4c21fd,_0x314e62,_0x2ee8b0,_0x902684,_0x4dc1f3,0xc,_0x1a4c9b[0x1]),_0x902684=_0x1ae9e6(_0x902684,_0x4c21fd,_0x314e62,_0x2ee8b0,_0xc14312,0x11,_0x1a4c9b[0x2]),_0x2ee8b0=_0x1ae9e6(_0x2ee8b0,_0x902684,_0x4c21fd,_0x314e62,_0x5eb744,0x16,_0x1a4c9b[0x3]),_0x314e62=_0x1ae9e6(_0x314e62,_0x2ee8b0,_0x902684,_0x4c21fd,_0x15b6fc,0x7,_0x1a4c9b[0x4]),_0x4c21fd=_0x1ae9e6(_0x4c21fd,_0x314e62,_0x2ee8b0,_0x902684,_0x3dea42,0xc,_0x1a4c9b[0x5]),_0x902684=_0x1ae9e6(_0x902684,_0x4c21fd,_0x314e62,_0x2ee8b0,_0x421f34,0x11,_0x1a4c9b[0x6]),_0x2ee8b0=_0x1ae9e6(_0x2ee8b0,_0x902684,_0x4c21fd,_0x314e62,_0x1349f0,0x16,_0x1a4c9b[0x7]),_0x314e62=_0x1ae9e6(_0x314e62,_0x2ee8b0,_0x902684,_0x4c21fd,_0x5c5bb4,0x7,_0x1a4c9b[0x8]),_0x4c21fd=_0x1ae9e6(_0x4c21fd,_0x314e62,_0x2ee8b0,_0x902684,_0x343bb7,0xc,_0x1a4c9b[0x9]),_0x902684=_0x1ae9e6(_0x902684,_0x4c21fd,_0x314e62,_0x2ee8b0,_0xd0a306,0x11,_0x1a4c9b[0xa]),_0x2ee8b0=_0x1ae9e6(_0x2ee8b0,_0x902684,_0x4c21fd,_0x314e62,_0x569da6,0x16,_0x1a4c9b[0xb]),_0x314e62=_0x1ae9e6(_0x314e62,_0x2ee8b0,_0x902684,_0x4c21fd,_0x2582a2,0x7,_0x1a4c9b[0xc]),_0x4c21fd=_0x1ae9e6(_0x4c21fd,_0x314e62,_0x2ee8b0,_0x902684,_0x749a5,0xc,_0x1a4c9b[0xd]),_0x902684=_0x1ae9e6(_0x902684,_0x4c21fd,_0x314e62,_0x2ee8b0,_0x2741a0,0x11,_0x1a4c9b[0xe]),_0x2ee8b0=_0x1ae9e6(_0x2ee8b0,_0x902684,_0x4c21fd,_0x314e62,_0x5b8f12,0x16,_0x1a4c9b[0xf]),_0x314e62=_0x45eab4(_0x314e62,_0x2ee8b0,_0x902684,_0x4c21fd,_0x4dc1f3,0x5,_0x1a4c9b[0x10]),_0x4c21fd=_0x45eab4(_0x4c21fd,_0x314e62,_0x2ee8b0,_0x902684,_0x421f34,0x9,_0x1a4c9b[0x11]),_0x902684=_0x45eab4(_0x902684,_0x4c21fd,_0x314e62,_0x2ee8b0,_0x569da6,0xe,_0x1a4c9b[0x12]),_0x2ee8b0=_0x45eab4(_0x2ee8b0,_0x902684,_0x4c21fd,_0x314e62,_0x557e4a,0x14,_0x1a4c9b[0x13]),_0x314e62=_0x45eab4(_0x314e62,_0x2ee8b0,_0x902684,_0x4c21fd,_0x3dea42,0x5,_0x1a4c9b[0x14]),_0x4c21fd=_0x45eab4(_0x4c21fd,_0x314e62,_0x2ee8b0,_0x902684,_0xd0a306,0x9,_0x1a4c9b[0x15]),_0x902684=_0x45eab4(_0x902684,_0x4c21fd,_0x314e62,_0x2ee8b0,_0x5b8f12,0xe,_0x1a4c9b[0x16]),_0x2ee8b0=_0x45eab4(_0x2ee8b0,_0x902684,_0x4c21fd,_0x314e62,_0x15b6fc,0x14,_0x1a4c9b[0x17]),_0x314e62=_0x45eab4(_0x314e62,_0x2ee8b0,_0x902684,_0x4c21fd,_0x343bb7,0x5,_0x1a4c9b[0x18]),_0x4c21fd=_0x45eab4(_0x4c21fd,_0x314e62,_0x2ee8b0,_0x902684,_0x2741a0,0x9,_0x1a4c9b[0x19]),_0x902684=_0x45eab4(_0x902684,_0x4c21fd,_0x314e62,_0x2ee8b0,_0x5eb744,0xe,_0x1a4c9b[0x1a]),_0x2ee8b0=_0x45eab4(_0x2ee8b0,_0x902684,_0x4c21fd,_0x314e62,_0x5c5bb4,0x14,_0x1a4c9b[0x1b]),_0x314e62=_0x45eab4(_0x314e62,_0x2ee8b0,_0x902684,_0x4c21fd,_0x749a5,0x5,_0x1a4c9b[0x1c]),_0x4c21fd=_0x45eab4(_0x4c21fd,_0x314e62,_0x2ee8b0,_0x902684,_0xc14312,0x9,_0x1a4c9b[0x1d]),_0x902684=_0x45eab4(_0x902684,_0x4c21fd,_0x314e62,_0x2ee8b0,_0x1349f0,0xe,_0x1a4c9b[0x1e]),_0x2ee8b0=_0x45eab4(_0x2ee8b0,_0x902684,_0x4c21fd,_0x314e62,_0x2582a2,0x14,_0x1a4c9b[0x1f]),_0x314e62=_0x3531c2(_0x314e62,_0x2ee8b0,_0x902684,_0x4c21fd,_0x3dea42,0x4,_0x1a4c9b[0x20]),_0x4c21fd=_0x3531c2(_0x4c21fd,_0x314e62,_0x2ee8b0,_0x902684,_0x5c5bb4,0xb,_0x1a4c9b[0x21]),_0x902684=_0x3531c2(_0x902684,_0x4c21fd,_0x314e62,_0x2ee8b0,_0x569da6,0x10,_0x1a4c9b[0x22]),_0x2ee8b0=_0x3531c2(_0x2ee8b0,_0x902684,_0x4c21fd,_0x314e62,_0x2741a0,0x17,_0x1a4c9b[0x23]),_0x314e62=_0x3531c2(_0x314e62,_0x2ee8b0,_0x902684,_0x4c21fd,_0x4dc1f3,0x4,_0x1a4c9b[0x24]),_0x4c21fd=_0x3531c2(_0x4c21fd,_0x314e62,_0x2ee8b0,_0x902684,_0x15b6fc,0xb,_0x1a4c9b[0x25]),_0x902684=_0x3531c2(_0x902684,_0x4c21fd,_0x314e62,_0x2ee8b0,_0x1349f0,0x10,_0x1a4c9b[0x26]),_0x2ee8b0=_0x3531c2(_0x2ee8b0,_0x902684,_0x4c21fd,_0x314e62,_0xd0a306,0x17,_0x1a4c9b[0x27]),_0x314e62=_0x3531c2(_0x314e62,_0x2ee8b0,_0x902684,_0x4c21fd,_0x749a5,0x4,_0x1a4c9b[0x28]),_0x4c21fd=_0x3531c2(_0x4c21fd,_0x314e62,_0x2ee8b0,_0x902684,_0x557e4a,0xb,_0x1a4c9b[0x29]),_0x902684=_0x3531c2(_0x902684,_0x4c21fd,_0x314e62,_0x2ee8b0,_0x5eb744,0x10,_0x1a4c9b[0x2a]),_0x2ee8b0=_0x3531c2(_0x2ee8b0,_0x902684,_0x4c21fd,_0x314e62,_0x421f34,0x17,_0x1a4c9b[0x2b]),_0x314e62=_0x3531c2(_0x314e62,_0x2ee8b0,_0x902684,_0x4c21fd,_0x343bb7,0x4,_0x1a4c9b[0x2c]),_0x4c21fd=_0x3531c2(_0x4c21fd,_0x314e62,_0x2ee8b0,_0x902684,_0x2582a2,0xb,_0x1a4c9b[0x2d]),_0x902684=_0x3531c2(_0x902684,_0x4c21fd,_0x314e62,_0x2ee8b0,_0x5b8f12,0x10,_0x1a4c9b[0x2e]),_0x2ee8b0=_0x3531c2(_0x2ee8b0,_0x902684,_0x4c21fd,_0x314e62,_0xc14312,0x17,_0x1a4c9b[0x2f]),_0x314e62=_0x12d3cb(_0x314e62,_0x2ee8b0,_0x902684,_0x4c21fd,_0x557e4a,0x6,_0x1a4c9b[0x30]),_0x4c21fd=_0x12d3cb(_0x4c21fd,_0x314e62,_0x2ee8b0,_0x902684,_0x1349f0,0xa,_0x1a4c9b[0x31]),_0x902684=_0x12d3cb(_0x902684,_0x4c21fd,_0x314e62,_0x2ee8b0,_0x2741a0,0xf,_0x1a4c9b[0x32]),_0x2ee8b0=_0x12d3cb(_0x2ee8b0,_0x902684,_0x4c21fd,_0x314e62,_0x3dea42,0x15,_0x1a4c9b[0x33]),_0x314e62=_0x12d3cb(_0x314e62,_0x2ee8b0,_0x902684,_0x4c21fd,_0x2582a2,0x6,_0x1a4c9b[0x34]),_0x4c21fd=_0x12d3cb(_0x4c21fd,_0x314e62,_0x2ee8b0,_0x902684,_0x5eb744,0xa,_0x1a4c9b[0x35]),_0x902684=_0x12d3cb(_0x902684,_0x4c21fd,_0x314e62,_0x2ee8b0,_0xd0a306,0xf,_0x1a4c9b[0x36]),_0x2ee8b0=_0x12d3cb(_0x2ee8b0,_0x902684,_0x4c21fd,_0x314e62,_0x4dc1f3,0x15,_0x1a4c9b[0x37]),_0x314e62=_0x12d3cb(_0x314e62,_0x2ee8b0,_0x902684,_0x4c21fd,_0x5c5bb4,0x6,_0x1a4c9b[0x38]),_0x4c21fd=_0x12d3cb(_0x4c21fd,_0x314e62,_0x2ee8b0,_0x902684,_0x5b8f12,0xa,_0x1a4c9b[0x39]),_0x902684=_0x12d3cb(_0x902684,_0x4c21fd,_0x314e62,_0x2ee8b0,_0x421f34,0xf,_0x1a4c9b[0x3a]),_0x2ee8b0=_0x12d3cb(_0x2ee8b0,_0x902684,_0x4c21fd,_0x314e62,_0x749a5,0x15,_0x1a4c9b[0x3b]),_0x314e62=_0x12d3cb(_0x314e62,_0x2ee8b0,_0x902684,_0x4c21fd,_0x15b6fc,0x6,_0x1a4c9b[0x3c]),_0x4c21fd=_0x12d3cb(_0x4c21fd,_0x314e62,_0x2ee8b0,_0x902684,_0x569da6,0xa,_0x1a4c9b[0x3d]),_0x902684=_0x12d3cb(_0x902684,_0x4c21fd,_0x314e62,_0x2ee8b0,_0xc14312,0xf,_0x1a4c9b[0x3e]),_0x2ee8b0=_0x12d3cb(_0x2ee8b0,_0x902684,_0x4c21fd,_0x314e62,_0x343bb7,0x15,_0x1a4c9b[0x3f]),_0x54bf6c[0x0]=_0x54bf6c[0x0]+_0x314e62|0x0,_0x54bf6c[0x1]=_0x54bf6c[0x1]+_0x2ee8b0|0x0,_0x54bf6c[0x2]=_0x54bf6c[0x2]+_0x902684|0x0,_0x54bf6c[0x3]=_0x54bf6c[0x3]+_0x4c21fd|0x0;},'_doFinalize':function(){var _0x56be6c=_0x53d9a3,_0x3462d4=this['_data'],_0x409860=_0x3462d4[_0x56be6c(0x2b0)],_0x16a0a8=this['_nDataBytes']*0x8,_0x358634=_0x3462d4['sigBytes']*0x8;_0x409860[_0x358634>>>0x5]|=0x80<<0x18-_0x358634%0x20;var _0x36dc25=_0x459f72['floor'](_0x16a0a8/0x100000000),_0x5b7ec1=_0x16a0a8;_0x409860[(_0x358634+0x40>>>0x9<<0x4)+0xf]=(_0x36dc25<<0x8|_0x36dc25>>>0x18)&0xff00ff|(_0x36dc25<<0x18|_0x36dc25>>>0x8)&0xff00ff00,_0x409860[(_0x358634+0x40>>>0x9<<0x4)+0xe]=(_0x5b7ec1<<0x8|_0x5b7ec1>>>0x18)&0xff00ff|(_0x5b7ec1<<0x18|_0x5b7ec1>>>0x8)&0xff00ff00,_0x3462d4[_0x56be6c(0x284)]=(_0x409860[_0x56be6c(0x23a)]+0x1)*0x4,this[_0x56be6c(0x4a2)]();for(var _0xe7d7ed=this[_0x56be6c(0x204)],_0x261cfa=_0xe7d7ed[_0x56be6c(0x2b0)],_0x5ab5fb=0x0;_0x5ab5fb<0x4;_0x5ab5fb++){var _0x33d40d=_0x261cfa[_0x5ab5fb];_0x261cfa[_0x5ab5fb]=(_0x33d40d<<0x8|_0x33d40d>>>0x18)&0xff00ff|(_0x33d40d<<0x18|_0x33d40d>>>0x8)&0xff00ff00;}return _0xe7d7ed;},'clone':function(){var _0x2b2b8e=_0x53d9a3,_0x5d4598=_0x1114c4[_0x2b2b8e(0x1c4)][_0x2b2b8e(0x2ea)](this);return _0x5d4598[_0x2b2b8e(0x204)]=this[_0x2b2b8e(0x204)]['clone'](),_0x5d4598;}});function _0x1ae9e6(_0x1cc1b2,_0x57face,_0x25c37e,_0x3770b3,_0x78c0ac,_0x4993c6,_0x57bd53){var _0x12d070=_0x1cc1b2+(_0x57face&_0x25c37e|~_0x57face&_0x3770b3)+_0x78c0ac+_0x57bd53;return(_0x12d070<<_0x4993c6|_0x12d070>>>0x20-_0x4993c6)+_0x57face;}function _0x45eab4(_0x133947,_0x37bcb6,_0x1e635c,_0x42da70,_0x183f0e,_0x55e944,_0x162fd1){var _0x3e9e10=_0x133947+(_0x37bcb6&_0x42da70|_0x1e635c&~_0x42da70)+_0x183f0e+_0x162fd1;return(_0x3e9e10<<_0x55e944|_0x3e9e10>>>0x20-_0x55e944)+_0x37bcb6;}function _0x3531c2(_0x5df9c8,_0x26768a,_0x1a7e7e,_0x297a29,_0x5d768d,_0x2043ee,_0x262b38){var _0x434a95=_0x5df9c8+(_0x26768a^_0x1a7e7e^_0x297a29)+_0x5d768d+_0x262b38;return(_0x434a95<<_0x2043ee|_0x434a95>>>0x20-_0x2043ee)+_0x26768a;}function _0x12d3cb(_0x340e17,_0x290f0d,_0x3d8647,_0x134943,_0x4b7502,_0xf4a315,_0xecbcf0){var _0xc34cb3=_0x340e17+(_0x3d8647^(_0x290f0d|~_0x134943))+_0x4b7502+_0xecbcf0;return(_0xc34cb3<<_0xf4a315|_0xc34cb3>>>0x20-_0xf4a315)+_0x290f0d;}_0x3cda80[_0x53d9a3(0x2ba)]=_0x1114c4[_0x53d9a3(0x345)](_0x57f442),_0x3cda80[_0x53d9a3(0x441)]=_0x1114c4[_0x53d9a3(0x2ed)](_0x57f442);}(Math),_0x23815b[_0x341755(0x2ba)];}));}(Ke)),Ke[_0x51f981(0x44f)];}var Ye={'exports':{}},qe={'exports':{}},Cr=qe[_0x2b51d4(0x44f)],ei;function Rr(){var _0x19f874=_0x2b51d4;return ei||(ei=0x1,function(_0x3f2439,_0x105c97){(function(_0x1597e5,_0x4c9229){var _0x412283=_0x3286;_0x3f2439[_0x412283(0x44f)]=_0x4c9229(ie());}(Cr,function(_0x50335f){var _0x19cf7a=_0x3286;return(function(){var _0x51383f=_0x3286,_0x23f3cf=_0x50335f,_0x4f090e=_0x23f3cf['lib'],_0x27184a=_0x4f090e[_0x51383f(0x35e)],_0x5ced29=_0x4f090e[_0x51383f(0x36b)],_0x46d600=_0x23f3cf[_0x51383f(0x215)],_0x30ed0f=[],_0x32085a=_0x46d600[_0x51383f(0x1ee)]=_0x5ced29[_0x51383f(0x407)]({'_doReset':function(){var _0x49bdfc=_0x51383f;this[_0x49bdfc(0x204)]=new _0x27184a['init']([0x67452301,0xefcdab89,0x98badcfe,0x10325476,0xc3d2e1f0]);},'_doProcessBlock':function(_0x3793c3,_0xa5f656){var _0x184a6d=_0x51383f;for(var _0x378572=this[_0x184a6d(0x204)][_0x184a6d(0x2b0)],_0x134fa7=_0x378572[0x0],_0x121c39=_0x378572[0x1],_0x2796f2=_0x378572[0x2],_0x161298=_0x378572[0x3],_0x50b0cc=_0x378572[0x4],_0x5a1e9c=0x0;_0x5a1e9c<0x50;_0x5a1e9c++){if(_0x5a1e9c<0x10)_0x30ed0f[_0x5a1e9c]=_0x3793c3[_0xa5f656+_0x5a1e9c]|0x0;else{var _0x365095=_0x30ed0f[_0x5a1e9c-0x3]^_0x30ed0f[_0x5a1e9c-0x8]^_0x30ed0f[_0x5a1e9c-0xe]^_0x30ed0f[_0x5a1e9c-0x10];_0x30ed0f[_0x5a1e9c]=_0x365095<<0x1|_0x365095>>>0x1f;}var _0x44ff65=(_0x134fa7<<0x5|_0x134fa7>>>0x1b)+_0x50b0cc+_0x30ed0f[_0x5a1e9c];_0x5a1e9c<0x14?_0x44ff65+=(_0x121c39&_0x2796f2|~_0x121c39&_0x161298)+0x5a827999:_0x5a1e9c<0x28?_0x44ff65+=(_0x121c39^_0x2796f2^_0x161298)+0x6ed9eba1:_0x5a1e9c<0x3c?_0x44ff65+=(_0x121c39&_0x2796f2|_0x121c39&_0x161298|_0x2796f2&_0x161298)-0x70e44324:_0x44ff65+=(_0x121c39^_0x2796f2^_0x161298)-0x359d3e2a,_0x50b0cc=_0x161298,_0x161298=_0x2796f2,_0x2796f2=_0x121c39<<0x1e|_0x121c39>>>0x2,_0x121c39=_0x134fa7,_0x134fa7=_0x44ff65;}_0x378572[0x0]=_0x378572[0x0]+_0x134fa7|0x0,_0x378572[0x1]=_0x378572[0x1]+_0x121c39|0x0,_0x378572[0x2]=_0x378572[0x2]+_0x2796f2|0x0,_0x378572[0x3]=_0x378572[0x3]+_0x161298|0x0,_0x378572[0x4]=_0x378572[0x4]+_0x50b0cc|0x0;},'_doFinalize':function(){var _0x3db793=_0x51383f,_0x1f6676=this[_0x3db793(0x383)],_0xa9acfe=_0x1f6676[_0x3db793(0x2b0)],_0x48670d=this[_0x3db793(0x2af)]*0x8,_0x3ca6ce=_0x1f6676[_0x3db793(0x284)]*0x8;return _0xa9acfe[_0x3ca6ce>>>0x5]|=0x80<<0x18-_0x3ca6ce%0x20,_0xa9acfe[(_0x3ca6ce+0x40>>>0x9<<0x4)+0xe]=Math['floor'](_0x48670d/0x100000000),_0xa9acfe[(_0x3ca6ce+0x40>>>0x9<<0x4)+0xf]=_0x48670d,_0x1f6676[_0x3db793(0x284)]=_0xa9acfe['length']*0x4,this[_0x3db793(0x4a2)](),this[_0x3db793(0x204)];},'clone':function(){var _0x29edc6=_0x51383f,_0x1e9690=_0x5ced29[_0x29edc6(0x1c4)]['call'](this);return _0x1e9690[_0x29edc6(0x204)]=this[_0x29edc6(0x204)][_0x29edc6(0x1c4)](),_0x1e9690;}});_0x23f3cf[_0x51383f(0x1ee)]=_0x5ced29[_0x51383f(0x345)](_0x32085a),_0x23f3cf[_0x51383f(0x1cd)]=_0x5ced29['_createHmacHelper'](_0x32085a);}()),_0x50335f[_0x19cf7a(0x1ee)];}));}(qe)),qe[_0x19f874(0x44f)];}var ze={'exports':{}},br=ze[_0x2b51d4(0x44f)],ti;function yr(){return ti||(ti=0x1,function(_0x30379e,_0x287d0c){(function(_0x1a20f3,_0xb91fbb){_0x30379e['exports']=_0xb91fbb(ie());}(br,function(_0x87b766){(function(){var _0x432aa9=_0x3286,_0x134184=_0x87b766,_0x4083ea=_0x134184['lib'],_0x5159bb=_0x4083ea[_0x432aa9(0x32a)],_0x13d127=_0x134184[_0x432aa9(0x41f)],_0x2d29b4=_0x13d127[_0x432aa9(0x312)],_0x1cf31d=_0x134184[_0x432aa9(0x215)];_0x1cf31d['HMAC']=_0x5159bb[_0x432aa9(0x407)]({'init':function(_0x73ca37,_0x2020b7){var _0x294518=_0x432aa9;_0x73ca37=this[_0x294518(0x411)]=new _0x73ca37[(_0x294518(0x463))](),typeof _0x2020b7=='string'&&(_0x2020b7=_0x2d29b4[_0x294518(0x493)](_0x2020b7));var _0x195e85=_0x73ca37[_0x294518(0x1d4)],_0x32dafa=_0x195e85*0x4;_0x2020b7[_0x294518(0x284)]>_0x32dafa&&(_0x2020b7=_0x73ca37[_0x294518(0x25b)](_0x2020b7)),_0x2020b7[_0x294518(0x1e9)]();for(var _0x4294f9=this[_0x294518(0x433)]=_0x2020b7['clone'](),_0x1f58b2=this[_0x294518(0x332)]=_0x2020b7['clone'](),_0x17327a=_0x4294f9[_0x294518(0x2b0)],_0x296916=_0x1f58b2['words'],_0x1466b6=0x0;_0x1466b6<_0x195e85;_0x1466b6++)_0x17327a[_0x1466b6]^=0x5c5c5c5c,_0x296916[_0x1466b6]^=0x36363636;_0x4294f9[_0x294518(0x284)]=_0x1f58b2['sigBytes']=_0x32dafa,this[_0x294518(0x3d8)]();},'reset':function(){var _0x51fdd6=_0x432aa9,_0x84edc1=this[_0x51fdd6(0x411)];_0x84edc1[_0x51fdd6(0x3d8)](),_0x84edc1[_0x51fdd6(0x472)](this[_0x51fdd6(0x332)]);},'update':function(_0x1ddba0){var _0x18dfc3=_0x432aa9;return this[_0x18dfc3(0x411)][_0x18dfc3(0x472)](_0x1ddba0),this;},'finalize':function(_0x44ec66){var _0x3fb39e=_0x432aa9,_0x37d081=this[_0x3fb39e(0x411)],_0x764c82=_0x37d081[_0x3fb39e(0x25b)](_0x44ec66);_0x37d081[_0x3fb39e(0x3d8)]();var _0x3c6974=_0x37d081[_0x3fb39e(0x25b)](this[_0x3fb39e(0x433)][_0x3fb39e(0x1c4)]()[_0x3fb39e(0x318)](_0x764c82));return _0x3c6974;}});}());}));}(ze)),ze['exports'];}var Or=Ye[_0x2b51d4(0x44f)],ii;function Ui(){var _0x1c0712=_0x2b51d4;return ii||(ii=0x1,function(_0x11fb49,_0x1952bf){(function(_0x3280fe,_0x247aa8,_0x3b9db2){var _0x1063f8=_0x3286;_0x11fb49[_0x1063f8(0x44f)]=_0x247aa8(ie(),Rr(),yr());}(Or,function(_0x10e832){var _0x265033=_0x3286;return(function(){var _0x12fb68=_0x3286,_0x3ace53=_0x10e832,_0x32b338=_0x3ace53[_0x12fb68(0x32e)],_0x54fb5a=_0x32b338['Base'],_0x579197=_0x32b338['WordArray'],_0x3a8fa8=_0x3ace53[_0x12fb68(0x215)],_0x1d6ad2=_0x3a8fa8['MD5'],_0x1a43b9=_0x3a8fa8['EvpKDF']=_0x54fb5a[_0x12fb68(0x407)]({'cfg':_0x54fb5a[_0x12fb68(0x407)]({'keySize':0x80/0x20,'hasher':_0x1d6ad2,'iterations':0x1}),'init':function(_0x3fdcbf){var _0xa88dc6=_0x12fb68;this[_0xa88dc6(0x3a4)]=this[_0xa88dc6(0x3a4)][_0xa88dc6(0x407)](_0x3fdcbf);},'compute':function(_0x39de20,_0x1326f1){var _0x4bc459=_0x12fb68;for(var _0xde5d0c,_0xe9605=this[_0x4bc459(0x3a4)],_0x5e109e=_0xe9605[_0x4bc459(0x275)][_0x4bc459(0x455)](),_0x4811d5=_0x579197[_0x4bc459(0x455)](),_0x140516=_0x4811d5[_0x4bc459(0x2b0)],_0x2a1c50=_0xe9605[_0x4bc459(0x4a9)],_0x29fbe9=_0xe9605[_0x4bc459(0x300)];_0x140516['length']<_0x2a1c50;){_0xde5d0c&&_0x5e109e[_0x4bc459(0x472)](_0xde5d0c),_0xde5d0c=_0x5e109e[_0x4bc459(0x472)](_0x39de20)[_0x4bc459(0x25b)](_0x1326f1),_0x5e109e[_0x4bc459(0x3d8)]();for(var _0x354269=0x1;_0x354269<_0x29fbe9;_0x354269++)_0xde5d0c=_0x5e109e[_0x4bc459(0x25b)](_0xde5d0c),_0x5e109e[_0x4bc459(0x3d8)]();_0x4811d5['concat'](_0xde5d0c);}return _0x4811d5[_0x4bc459(0x284)]=_0x2a1c50*0x4,_0x4811d5;}});_0x3ace53[_0x12fb68(0x444)]=function(_0x36b7b3,_0x56661e,_0xbfdc0b){var _0x5ad7f1=_0x12fb68;return _0x1a43b9[_0x5ad7f1(0x455)](_0xbfdc0b)['compute'](_0x36b7b3,_0x56661e);};}()),_0x10e832[_0x265033(0x444)];}));}(Ye)),Ye[_0x1c0712(0x44f)];}var Je={'exports':{}},Nr=Je[_0x2b51d4(0x44f)],ni;function wi(){return ni||(ni=0x1,function(_0x17a388,_0x34ea20){(function(_0x3b92d2,_0x35db31,_0x1178fb){var _0x3e9854=_0x3286;_0x17a388[_0x3e9854(0x44f)]=_0x35db31(ie(),Ui());}(Nr,function(_0x3e89a9){var _0x34ef8b=_0x3286;_0x3e89a9[_0x34ef8b(0x32e)][_0x34ef8b(0x21a)]||function(_0x53606a){var _0x560876=_0x34ef8b,_0x12a526=_0x3e89a9,_0xfcff9e=_0x12a526[_0x560876(0x32e)],_0x33ea35=_0xfcff9e[_0x560876(0x32a)],_0x368ecd=_0xfcff9e['WordArray'],_0x38178d=_0xfcff9e['BufferedBlockAlgorithm'],_0x40409e=_0x12a526[_0x560876(0x41f)];_0x40409e[_0x560876(0x312)];var _0x23f78c=_0x40409e[_0x560876(0x3e4)],_0x51f3cb=_0x12a526[_0x560876(0x215)],_0x12d0d6=_0x51f3cb[_0x560876(0x444)],_0x3a8e6b=_0xfcff9e['Cipher']=_0x38178d[_0x560876(0x407)]({'cfg':_0x33ea35['extend'](),'createEncryptor':function(_0x379318,_0xe3352c){var _0x407a78=_0x560876;return this[_0x407a78(0x455)](this[_0x407a78(0x297)],_0x379318,_0xe3352c);},'createDecryptor':function(_0x1573b2,_0x3ec5d1){var _0x464d88=_0x560876;return this['create'](this[_0x464d88(0x1b8)],_0x1573b2,_0x3ec5d1);},'init':function(_0x2e6188,_0x3dbfa0,_0x7f98e){var _0x46b007=_0x560876;this[_0x46b007(0x3a4)]=this['cfg'][_0x46b007(0x407)](_0x7f98e),this[_0x46b007(0x36a)]=_0x2e6188,this[_0x46b007(0x270)]=_0x3dbfa0,this[_0x46b007(0x3d8)]();},'reset':function(){var _0x4de021=_0x560876;_0x38178d[_0x4de021(0x3d8)][_0x4de021(0x2ea)](this),this[_0x4de021(0x25d)]();},'process':function(_0x50063f){var _0x5419e3=_0x560876;return this['_append'](_0x50063f),this[_0x5419e3(0x4a2)]();},'finalize':function(_0x3a900b){var _0x79bd33=_0x560876;_0x3a900b&&this[_0x79bd33(0x4a4)](_0x3a900b);var _0x4cee18=this['_doFinalize']();return _0x4cee18;},'keySize':0x80/0x20,'ivSize':0x80/0x20,'_ENC_XFORM_MODE':0x1,'_DEC_XFORM_MODE':0x2,'_createHelper':(function(){function _0x1c931a(_0x41f7b0){var _0x2cb089=_0x3286;return typeof _0x41f7b0==_0x2cb089(0x1c7)?_0x27b2ba:_0x9f1e7d;}return function(_0x35aee0){return{'encrypt':function(_0x1b5bf2,_0x21bb06,_0x2b0eab){return _0x1c931a(_0x21bb06)['encrypt'](_0x35aee0,_0x1b5bf2,_0x21bb06,_0x2b0eab);},'decrypt':function(_0x9bd9ad,_0x303f01,_0x3d4dc9){var _0xb476dc=_0x3286;return _0x1c931a(_0x303f01)[_0xb476dc(0x3bf)](_0x35aee0,_0x9bd9ad,_0x303f01,_0x3d4dc9);}};};}())});_0xfcff9e[_0x560876(0x42f)]=_0x3a8e6b[_0x560876(0x407)]({'_doFinalize':function(){var _0x3d537a=_0x560876,_0x4c1729=this[_0x3d537a(0x4a2)](!0x0);return _0x4c1729;},'blockSize':0x1});var _0x4ef3ff=_0x12a526['mode']={},_0x21ae1f=_0xfcff9e[_0x560876(0x42c)]=_0x33ea35[_0x560876(0x407)]({'createEncryptor':function(_0x1815e0,_0x2ea818){var _0x2624cd=_0x560876;return this[_0x2624cd(0x201)]['create'](_0x1815e0,_0x2ea818);},'createDecryptor':function(_0x88506d,_0x356ccd){var _0x76d01d=_0x560876;return this[_0x76d01d(0x243)][_0x76d01d(0x455)](_0x88506d,_0x356ccd);},'init':function(_0x7e18c0,_0x24d7d2){var _0x173136=_0x560876;this[_0x173136(0x456)]=_0x7e18c0,this[_0x173136(0x217)]=_0x24d7d2;}}),_0x488130=_0x4ef3ff[_0x560876(0x2ca)]=(function(){var _0x1b1175=_0x560876,_0x1ea341=_0x21ae1f[_0x1b1175(0x407)]();_0x1ea341['Encryptor']=_0x1ea341[_0x1b1175(0x407)]({'processBlock':function(_0x404e7d,_0x338a03){var _0x41c975=_0x1b1175,_0x301217=this[_0x41c975(0x456)],_0x26d6a1=_0x301217['blockSize'];_0xd4b06c[_0x41c975(0x2ea)](this,_0x404e7d,_0x338a03,_0x26d6a1),_0x301217['encryptBlock'](_0x404e7d,_0x338a03),this[_0x41c975(0x473)]=_0x404e7d[_0x41c975(0x350)](_0x338a03,_0x338a03+_0x26d6a1);}}),_0x1ea341[_0x1b1175(0x243)]=_0x1ea341[_0x1b1175(0x407)]({'processBlock':function(_0x384d8d,_0xebb4dd){var _0x59825b=_0x1b1175,_0x585d43=this[_0x59825b(0x456)],_0x278c91=_0x585d43[_0x59825b(0x1d4)],_0x1924bd=_0x384d8d[_0x59825b(0x350)](_0xebb4dd,_0xebb4dd+_0x278c91);_0x585d43[_0x59825b(0x423)](_0x384d8d,_0xebb4dd),_0xd4b06c[_0x59825b(0x2ea)](this,_0x384d8d,_0xebb4dd,_0x278c91),this['_prevBlock']=_0x1924bd;}});function _0xd4b06c(_0x4b0cd7,_0x5c220,_0x576059){var _0x849ce=_0x1b1175,_0x3241a4,_0x7dc7d1=this[_0x849ce(0x217)];_0x7dc7d1?(_0x3241a4=_0x7dc7d1,this[_0x849ce(0x217)]=_0x53606a):_0x3241a4=this['_prevBlock'];for(var _0x4776de=0x0;_0x4776de<_0x576059;_0x4776de++)_0x4b0cd7[_0x5c220+_0x4776de]^=_0x3241a4[_0x4776de];}return _0x1ea341;}()),_0x39afbe=_0x12a526[_0x560876(0x295)]={},_0x19cd36=_0x39afbe['Pkcs7']={'pad':function(_0xdc6f48,_0x2fe153){var _0x4cfd95=_0x560876;for(var _0x28f0c5=_0x2fe153*0x4,_0x5cc41f=_0x28f0c5-_0xdc6f48[_0x4cfd95(0x284)]%_0x28f0c5,_0x51f676=_0x5cc41f<<0x18|_0x5cc41f<<0x10|_0x5cc41f<<0x8|_0x5cc41f,_0x1a691e=[],_0x18946a=0x0;_0x18946a<_0x5cc41f;_0x18946a+=0x4)_0x1a691e[_0x4cfd95(0x276)](_0x51f676);var _0x180ee7=_0x368ecd['create'](_0x1a691e,_0x5cc41f);_0xdc6f48[_0x4cfd95(0x318)](_0x180ee7);},'unpad':function(_0x4227b4){var _0x257d39=_0x560876,_0x837b5f=_0x4227b4[_0x257d39(0x2b0)][_0x4227b4[_0x257d39(0x284)]-0x1>>>0x2]&0xff;_0x4227b4['sigBytes']-=_0x837b5f;}};_0xfcff9e['BlockCipher']=_0x3a8e6b[_0x560876(0x407)]({'cfg':_0x3a8e6b[_0x560876(0x3a4)][_0x560876(0x407)]({'mode':_0x488130,'padding':_0x19cd36}),'reset':function(){var _0x5b5b23=_0x560876,_0x3fd958;_0x3a8e6b['reset'][_0x5b5b23(0x2ea)](this);var _0x3d0c1d=this[_0x5b5b23(0x3a4)],_0x351974=_0x3d0c1d['iv'],_0x3beecd=_0x3d0c1d[_0x5b5b23(0x238)];this[_0x5b5b23(0x36a)]==this[_0x5b5b23(0x297)]?_0x3fd958=_0x3beecd[_0x5b5b23(0x200)]:(_0x3fd958=_0x3beecd[_0x5b5b23(0x498)],this[_0x5b5b23(0x28f)]=0x1),this[_0x5b5b23(0x3dc)]&&this[_0x5b5b23(0x3dc)][_0x5b5b23(0x32f)]==_0x3fd958?this[_0x5b5b23(0x3dc)][_0x5b5b23(0x463)](this,_0x351974&&_0x351974[_0x5b5b23(0x2b0)]):(this[_0x5b5b23(0x3dc)]=_0x3fd958['call'](_0x3beecd,this,_0x351974&&_0x351974[_0x5b5b23(0x2b0)]),this[_0x5b5b23(0x3dc)][_0x5b5b23(0x32f)]=_0x3fd958);},'_doProcessBlock':function(_0x141e84,_0x1e3a3f){var _0x1806e3=_0x560876;this['_mode'][_0x1806e3(0x2f6)](_0x141e84,_0x1e3a3f);},'_doFinalize':function(){var _0x272138=_0x560876,_0x10be66,_0x4958bf=this['cfg']['padding'];return this[_0x272138(0x36a)]==this[_0x272138(0x297)]?(_0x4958bf['pad'](this[_0x272138(0x383)],this['blockSize']),_0x10be66=this[_0x272138(0x4a2)](!0x0)):(_0x10be66=this[_0x272138(0x4a2)](!0x0),_0x4958bf[_0x272138(0x1e8)](_0x10be66)),_0x10be66;},'blockSize':0x80/0x20});var _0x419a08=_0xfcff9e[_0x560876(0x33b)]=_0x33ea35['extend']({'init':function(_0x34f0c6){this['mixIn'](_0x34f0c6);},'toString':function(_0x35901a){var _0xac06=_0x560876;return(_0x35901a||this[_0xac06(0x46d)])['stringify'](this);}}),_0x2298c8=_0x12a526[_0x560876(0x1c2)]={},_0x199b19=_0x2298c8['OpenSSL']={'stringify':function(_0x3c4e42){var _0x5f148f=_0x560876,_0x3d94e7,_0xcf6de2=_0x3c4e42[_0x5f148f(0x3b9)],_0x357899=_0x3c4e42[_0x5f148f(0x206)];return _0x357899?_0x3d94e7=_0x368ecd[_0x5f148f(0x455)]([0x53616c74,0x65645f5f])['concat'](_0x357899)[_0x5f148f(0x318)](_0xcf6de2):_0x3d94e7=_0xcf6de2,_0x3d94e7[_0x5f148f(0x2df)](_0x23f78c);},'parse':function(_0x371a54){var _0x20bc8d=_0x560876,_0x1a85ca,_0x1a9d7b=_0x23f78c[_0x20bc8d(0x493)](_0x371a54),_0x4b2290=_0x1a9d7b[_0x20bc8d(0x2b0)];return _0x4b2290[0x0]==0x53616c74&&_0x4b2290[0x1]==0x65645f5f&&(_0x1a85ca=_0x368ecd[_0x20bc8d(0x455)](_0x4b2290[_0x20bc8d(0x350)](0x2,0x4)),_0x4b2290['splice'](0x0,0x4),_0x1a9d7b[_0x20bc8d(0x284)]-=0x10),_0x419a08[_0x20bc8d(0x455)]({'ciphertext':_0x1a9d7b,'salt':_0x1a85ca});}},_0x9f1e7d=_0xfcff9e['SerializableCipher']=_0x33ea35[_0x560876(0x407)]({'cfg':_0x33ea35[_0x560876(0x407)]({'format':_0x199b19}),'encrypt':function(_0x4f1b6b,_0x45bd26,_0x1e6af1,_0xd09ac9){var _0x248da1=_0x560876;_0xd09ac9=this['cfg'][_0x248da1(0x407)](_0xd09ac9);var _0x32d888=_0x4f1b6b[_0x248da1(0x200)](_0x1e6af1,_0xd09ac9),_0x3823ed=_0x32d888[_0x248da1(0x25b)](_0x45bd26),_0x2a4215=_0x32d888['cfg'];return _0x419a08[_0x248da1(0x455)]({'ciphertext':_0x3823ed,'key':_0x1e6af1,'iv':_0x2a4215['iv'],'algorithm':_0x4f1b6b,'mode':_0x2a4215[_0x248da1(0x238)],'padding':_0x2a4215[_0x248da1(0x417)],'blockSize':_0x4f1b6b[_0x248da1(0x1d4)],'formatter':_0xd09ac9[_0x248da1(0x1c2)]});},'decrypt':function(_0x4efef3,_0x4e98af,_0x53ad32,_0x3f5faa){var _0x217dc4=_0x560876;_0x3f5faa=this[_0x217dc4(0x3a4)][_0x217dc4(0x407)](_0x3f5faa),_0x4e98af=this[_0x217dc4(0x3a5)](_0x4e98af,_0x3f5faa[_0x217dc4(0x1c2)]);var _0x213d11=_0x4efef3[_0x217dc4(0x498)](_0x53ad32,_0x3f5faa)[_0x217dc4(0x25b)](_0x4e98af['ciphertext']);return _0x213d11;},'_parse':function(_0xc4f39,_0x5c9b92){var _0x3a4db8=_0x560876;return typeof _0xc4f39=='string'?_0x5c9b92[_0x3a4db8(0x493)](_0xc4f39,this):_0xc4f39;}}),_0x265c8d=_0x12a526[_0x560876(0x34c)]={},_0x4236f9=_0x265c8d[_0x560876(0x280)]={'execute':function(_0x52ad50,_0x3d581f,_0x2e7e2d,_0x3fe963,_0x17efc2){var _0x4a75f1=_0x560876;if(_0x3fe963||(_0x3fe963=_0x368ecd['random'](0x40/0x8)),_0x17efc2)var _0x30f359=_0x12d0d6['create']({'keySize':_0x3d581f+_0x2e7e2d,'hasher':_0x17efc2})['compute'](_0x52ad50,_0x3fe963);else var _0x30f359=_0x12d0d6[_0x4a75f1(0x455)]({'keySize':_0x3d581f+_0x2e7e2d})[_0x4a75f1(0x359)](_0x52ad50,_0x3fe963);var _0xe95dfa=_0x368ecd['create'](_0x30f359[_0x4a75f1(0x2b0)][_0x4a75f1(0x350)](_0x3d581f),_0x2e7e2d*0x4);return _0x30f359[_0x4a75f1(0x284)]=_0x3d581f*0x4,_0x419a08[_0x4a75f1(0x455)]({'key':_0x30f359,'iv':_0xe95dfa,'salt':_0x3fe963});}},_0x27b2ba=_0xfcff9e[_0x560876(0x2bc)]=_0x9f1e7d[_0x560876(0x407)]({'cfg':_0x9f1e7d[_0x560876(0x3a4)][_0x560876(0x407)]({'kdf':_0x4236f9}),'encrypt':function(_0x1c89f7,_0x3f71b9,_0x40fe8a,_0x4db704){var _0x40ee64=_0x560876;_0x4db704=this['cfg']['extend'](_0x4db704);var _0x373934=_0x4db704['kdf'][_0x40ee64(0x45b)](_0x40fe8a,_0x1c89f7[_0x40ee64(0x4a9)],_0x1c89f7[_0x40ee64(0x2fd)],_0x4db704['salt'],_0x4db704[_0x40ee64(0x275)]);_0x4db704['iv']=_0x373934['iv'];var _0x10b79e=_0x9f1e7d[_0x40ee64(0x2cd)][_0x40ee64(0x2ea)](this,_0x1c89f7,_0x3f71b9,_0x373934[_0x40ee64(0x47e)],_0x4db704);return _0x10b79e[_0x40ee64(0x346)](_0x373934),_0x10b79e;},'decrypt':function(_0x48d98d,_0x5c5bdb,_0x45aa36,_0x2c4562){var _0x444304=_0x560876;_0x2c4562=this[_0x444304(0x3a4)][_0x444304(0x407)](_0x2c4562),_0x5c5bdb=this[_0x444304(0x3a5)](_0x5c5bdb,_0x2c4562[_0x444304(0x1c2)]);var _0x28d2d4=_0x2c4562[_0x444304(0x34c)][_0x444304(0x45b)](_0x45aa36,_0x48d98d[_0x444304(0x4a9)],_0x48d98d[_0x444304(0x2fd)],_0x5c5bdb[_0x444304(0x206)],_0x2c4562['hasher']);_0x2c4562['iv']=_0x28d2d4['iv'];var _0x28be73=_0x9f1e7d[_0x444304(0x3bf)][_0x444304(0x2ea)](this,_0x48d98d,_0x5c5bdb,_0x28d2d4['key'],_0x2c4562);return _0x28be73;}});}();}));}(Je)),Je['exports'];}var Dr=Ve['exports'],ri;function Ur(){return ri||(ri=0x1,function(_0x335810,_0x5a3d9a){(function(_0x6a3696,_0x3a1607,_0x23f370){var _0x5e5490=_0x3286;_0x335810[_0x5e5490(0x44f)]=_0x3a1607(ie(),Di(),Tr(),Ui(),wi());}(Dr,function(_0xa61f7b){var _0x384924=_0x3286;return(function(){var _0x3e1885=_0x3286,_0x39874a=_0xa61f7b,_0x4f166c=_0x39874a[_0x3e1885(0x32e)],_0x24941e=_0x4f166c[_0x3e1885(0x45d)],_0x66826e=_0x39874a[_0x3e1885(0x215)],_0xf0d1bd=[],_0x343b81=[],_0x956308=[],_0x545c2a=[],_0x22fd09=[],_0x21e6e8=[],_0x2cf703=[],_0x19c22e=[],_0x2751d4=[],_0x450564=[];(function(){for(var _0x26909f=[],_0x200fb5=0x0;_0x200fb5<0x100;_0x200fb5++)_0x200fb5<0x80?_0x26909f[_0x200fb5]=_0x200fb5<<0x1:_0x26909f[_0x200fb5]=_0x200fb5<<0x1^0x11b;for(var _0x439d61=0x0,_0x12875b=0x0,_0x200fb5=0x0;_0x200fb5<0x100;_0x200fb5++){var _0x49a5bb=_0x12875b^_0x12875b<<0x1^_0x12875b<<0x2^_0x12875b<<0x3^_0x12875b<<0x4;_0x49a5bb=_0x49a5bb>>>0x8^_0x49a5bb&0xff^0x63,_0xf0d1bd[_0x439d61]=_0x49a5bb,_0x343b81[_0x49a5bb]=_0x439d61;var _0x19d44a=_0x26909f[_0x439d61],_0x349e0d=_0x26909f[_0x19d44a],_0x261294=_0x26909f[_0x349e0d],_0x440f4c=_0x26909f[_0x49a5bb]*0x101^_0x49a5bb*0x1010100;_0x956308[_0x439d61]=_0x440f4c<<0x18|_0x440f4c>>>0x8,_0x545c2a[_0x439d61]=_0x440f4c<<0x10|_0x440f4c>>>0x10,_0x22fd09[_0x439d61]=_0x440f4c<<0x8|_0x440f4c>>>0x18,_0x21e6e8[_0x439d61]=_0x440f4c;var _0x440f4c=_0x261294*0x1010101^_0x349e0d*0x10001^_0x19d44a*0x101^_0x439d61*0x1010100;_0x2cf703[_0x49a5bb]=_0x440f4c<<0x18|_0x440f4c>>>0x8,_0x19c22e[_0x49a5bb]=_0x440f4c<<0x10|_0x440f4c>>>0x10,_0x2751d4[_0x49a5bb]=_0x440f4c<<0x8|_0x440f4c>>>0x18,_0x450564[_0x49a5bb]=_0x440f4c,_0x439d61?(_0x439d61=_0x19d44a^_0x26909f[_0x26909f[_0x26909f[_0x261294^_0x19d44a]]],_0x12875b^=_0x26909f[_0x26909f[_0x12875b]]):_0x439d61=_0x12875b=0x1;}}());var _0x5b31b4=[0x0,0x1,0x2,0x4,0x8,0x10,0x20,0x40,0x80,0x1b,0x36],_0x445de5=_0x66826e[_0x3e1885(0x1de)]=_0x24941e[_0x3e1885(0x407)]({'_doReset':function(){var _0x5499a2=_0x3e1885,_0x1a1daf;if(!(this[_0x5499a2(0x31b)]&&this[_0x5499a2(0x3d9)]===this[_0x5499a2(0x270)])){for(var _0x3e309c=this[_0x5499a2(0x3d9)]=this[_0x5499a2(0x270)],_0x4cf11e=_0x3e309c['words'],_0x47e76b=_0x3e309c[_0x5499a2(0x284)]/0x4,_0x3bc4c0=this['_nRounds']=_0x47e76b+0x6,_0x3268ec=(_0x3bc4c0+0x1)*0x4,_0x4a2027=this[_0x5499a2(0x38c)]=[],_0x516859=0x0;_0x516859<_0x3268ec;_0x516859++)_0x516859<_0x47e76b?_0x4a2027[_0x516859]=_0x4cf11e[_0x516859]:(_0x1a1daf=_0x4a2027[_0x516859-0x1],_0x516859%_0x47e76b?_0x47e76b>0x6&&_0x516859%_0x47e76b==0x4&&(_0x1a1daf=_0xf0d1bd[_0x1a1daf>>>0x18]<<0x18|_0xf0d1bd[_0x1a1daf>>>0x10&0xff]<<0x10|_0xf0d1bd[_0x1a1daf>>>0x8&0xff]<<0x8|_0xf0d1bd[_0x1a1daf&0xff]):(_0x1a1daf=_0x1a1daf<<0x8|_0x1a1daf>>>0x18,_0x1a1daf=_0xf0d1bd[_0x1a1daf>>>0x18]<<0x18|_0xf0d1bd[_0x1a1daf>>>0x10&0xff]<<0x10|_0xf0d1bd[_0x1a1daf>>>0x8&0xff]<<0x8|_0xf0d1bd[_0x1a1daf&0xff],_0x1a1daf^=_0x5b31b4[_0x516859/_0x47e76b|0x0]<<0x18),_0x4a2027[_0x516859]=_0x4a2027[_0x516859-_0x47e76b]^_0x1a1daf);for(var _0x424efe=this[_0x5499a2(0x247)]=[],_0x2c7917=0x0;_0x2c7917<_0x3268ec;_0x2c7917++){var _0x516859=_0x3268ec-_0x2c7917;if(_0x2c7917%0x4)var _0x1a1daf=_0x4a2027[_0x516859];else var _0x1a1daf=_0x4a2027[_0x516859-0x4];_0x2c7917<0x4||_0x516859<=0x4?_0x424efe[_0x2c7917]=_0x1a1daf:_0x424efe[_0x2c7917]=_0x2cf703[_0xf0d1bd[_0x1a1daf>>>0x18]]^_0x19c22e[_0xf0d1bd[_0x1a1daf>>>0x10&0xff]]^_0x2751d4[_0xf0d1bd[_0x1a1daf>>>0x8&0xff]]^_0x450564[_0xf0d1bd[_0x1a1daf&0xff]];}}},'encryptBlock':function(_0x4f02a5,_0x258359){var _0x1837db=_0x3e1885;this[_0x1837db(0x466)](_0x4f02a5,_0x258359,this[_0x1837db(0x38c)],_0x956308,_0x545c2a,_0x22fd09,_0x21e6e8,_0xf0d1bd);},'decryptBlock':function(_0x9ff66e,_0x2c3565){var _0x2a6c3d=_0x3e1885,_0x528f28=_0x9ff66e[_0x2c3565+0x1];_0x9ff66e[_0x2c3565+0x1]=_0x9ff66e[_0x2c3565+0x3],_0x9ff66e[_0x2c3565+0x3]=_0x528f28,this[_0x2a6c3d(0x466)](_0x9ff66e,_0x2c3565,this[_0x2a6c3d(0x247)],_0x2cf703,_0x19c22e,_0x2751d4,_0x450564,_0x343b81);var _0x528f28=_0x9ff66e[_0x2c3565+0x1];_0x9ff66e[_0x2c3565+0x1]=_0x9ff66e[_0x2c3565+0x3],_0x9ff66e[_0x2c3565+0x3]=_0x528f28;},'_doCryptBlock':function(_0x25c820,_0x4b1338,_0x3f9eae,_0x30edfa,_0x4ce3b3,_0x549c77,_0x4895cd,_0x2247f6){var _0x1151fe=_0x3e1885;for(var _0x50a2e1=this[_0x1151fe(0x31b)],_0x236290=_0x25c820[_0x4b1338]^_0x3f9eae[0x0],_0xdb4357=_0x25c820[_0x4b1338+0x1]^_0x3f9eae[0x1],_0x12ce70=_0x25c820[_0x4b1338+0x2]^_0x3f9eae[0x2],_0x786ba1=_0x25c820[_0x4b1338+0x3]^_0x3f9eae[0x3],_0x4e4802=0x4,_0x1c133e=0x1;_0x1c133e<_0x50a2e1;_0x1c133e++){var _0x360f1f=_0x30edfa[_0x236290>>>0x18]^_0x4ce3b3[_0xdb4357>>>0x10&0xff]^_0x549c77[_0x12ce70>>>0x8&0xff]^_0x4895cd[_0x786ba1&0xff]^_0x3f9eae[_0x4e4802++],_0x544e4a=_0x30edfa[_0xdb4357>>>0x18]^_0x4ce3b3[_0x12ce70>>>0x10&0xff]^_0x549c77[_0x786ba1>>>0x8&0xff]^_0x4895cd[_0x236290&0xff]^_0x3f9eae[_0x4e4802++],_0x18c8c2=_0x30edfa[_0x12ce70>>>0x18]^_0x4ce3b3[_0x786ba1>>>0x10&0xff]^_0x549c77[_0x236290>>>0x8&0xff]^_0x4895cd[_0xdb4357&0xff]^_0x3f9eae[_0x4e4802++],_0x1537c3=_0x30edfa[_0x786ba1>>>0x18]^_0x4ce3b3[_0x236290>>>0x10&0xff]^_0x549c77[_0xdb4357>>>0x8&0xff]^_0x4895cd[_0x12ce70&0xff]^_0x3f9eae[_0x4e4802++];_0x236290=_0x360f1f,_0xdb4357=_0x544e4a,_0x12ce70=_0x18c8c2,_0x786ba1=_0x1537c3;}var _0x360f1f=(_0x2247f6[_0x236290>>>0x18]<<0x18|_0x2247f6[_0xdb4357>>>0x10&0xff]<<0x10|_0x2247f6[_0x12ce70>>>0x8&0xff]<<0x8|_0x2247f6[_0x786ba1&0xff])^_0x3f9eae[_0x4e4802++],_0x544e4a=(_0x2247f6[_0xdb4357>>>0x18]<<0x18|_0x2247f6[_0x12ce70>>>0x10&0xff]<<0x10|_0x2247f6[_0x786ba1>>>0x8&0xff]<<0x8|_0x2247f6[_0x236290&0xff])^_0x3f9eae[_0x4e4802++],_0x18c8c2=(_0x2247f6[_0x12ce70>>>0x18]<<0x18|_0x2247f6[_0x786ba1>>>0x10&0xff]<<0x10|_0x2247f6[_0x236290>>>0x8&0xff]<<0x8|_0x2247f6[_0xdb4357&0xff])^_0x3f9eae[_0x4e4802++],_0x1537c3=(_0x2247f6[_0x786ba1>>>0x18]<<0x18|_0x2247f6[_0x236290>>>0x10&0xff]<<0x10|_0x2247f6[_0xdb4357>>>0x8&0xff]<<0x8|_0x2247f6[_0x12ce70&0xff])^_0x3f9eae[_0x4e4802++];_0x25c820[_0x4b1338]=_0x360f1f,_0x25c820[_0x4b1338+0x1]=_0x544e4a,_0x25c820[_0x4b1338+0x2]=_0x18c8c2,_0x25c820[_0x4b1338+0x3]=_0x1537c3;},'keySize':0x100/0x20});_0x39874a[_0x3e1885(0x1de)]=_0x24941e[_0x3e1885(0x345)](_0x445de5);}()),_0xa61f7b[_0x384924(0x1de)];}));}(Ve)),Ve['exports'];}var wr=Ur();const Ar=He(wr);var Pr=Di();const si=He(Pr);var Xe={'exports':{}},xr=Xe[_0x2b51d4(0x44f)],ai;function Lr(){return ai||(ai=0x1,function(_0x53c734,_0x50b5ff){(function(_0x55a2db,_0x3492b7){_0x53c734['exports']=_0x3492b7(ie());}(xr,function(_0x2470f){var _0x2905af=_0x3286;return _0x2470f[_0x2905af(0x41f)]['Utf8'];}));}(Xe)),Xe['exports'];}var Mr=Lr();const kr=He(Mr);var Ze={'exports':{}},$r=Ze[_0x2b51d4(0x44f)],oi;function Hr(){var _0x2e7389=_0x2b51d4;return oi||(oi=0x1,function(_0x3eab05,_0x46621b){(function(_0x29b5cd,_0x24797b){var _0x4384f5=_0x3286;_0x3eab05[_0x4384f5(0x44f)]=_0x24797b(ie());}($r,function(_0x1b09ef){var _0x43ac7f=_0x3286;return(function(){var _0xcd1783=_0x3286;if(typeof ArrayBuffer==_0xcd1783(0x454)){var _0x5a3615=_0x1b09ef,_0x4107d9=_0x5a3615[_0xcd1783(0x32e)],_0xc9d39d=_0x4107d9[_0xcd1783(0x35e)],_0x2a900e=_0xc9d39d['init'],_0xc1dee0=_0xc9d39d[_0xcd1783(0x463)]=function(_0xa78ccf){var _0x4d213e=_0xcd1783;if(_0xa78ccf instanceof ArrayBuffer&&(_0xa78ccf=new Uint8Array(_0xa78ccf)),(_0xa78ccf instanceof Int8Array||typeof Uint8ClampedArray<'u'&&_0xa78ccf instanceof Uint8ClampedArray||_0xa78ccf instanceof Int16Array||_0xa78ccf instanceof Uint16Array||_0xa78ccf instanceof Int32Array||_0xa78ccf instanceof Uint32Array||_0xa78ccf instanceof Float32Array||_0xa78ccf instanceof Float64Array)&&(_0xa78ccf=new Uint8Array(_0xa78ccf[_0x4d213e(0x482)],_0xa78ccf[_0x4d213e(0x4a6)],_0xa78ccf[_0x4d213e(0x3a2)])),_0xa78ccf instanceof Uint8Array){for(var _0x422277=_0xa78ccf[_0x4d213e(0x3a2)],_0x3fd401=[],_0x53c1cb=0x0;_0x53c1cb<_0x422277;_0x53c1cb++)_0x3fd401[_0x53c1cb>>>0x2]|=_0xa78ccf[_0x53c1cb]<<0x18-_0x53c1cb%0x4*0x8;_0x2a900e[_0x4d213e(0x2ea)](this,_0x3fd401,_0x422277);}else _0x2a900e[_0x4d213e(0x25e)](this,arguments);};_0xc1dee0[_0xcd1783(0x488)]=_0xc9d39d;}}()),_0x1b09ef[_0x43ac7f(0x32e)][_0x43ac7f(0x35e)];}));}(Ze)),Ze[_0x2e7389(0x44f)];}var Br=Hr();const jr=He(Br);var Qe={'exports':{}},Fr=Qe[_0x2b51d4(0x44f)],ci;function Vr(){return ci||(ci=0x1,function(_0xfead5b,_0x157799){(function(_0x64282,_0x317dae,_0x1d374a){_0xfead5b['exports']=_0x317dae(ie(),wi());}(Fr,function(_0x163579){var _0x5471e7=_0x3286;return _0x163579['pad']['NoPadding']={'pad':function(){},'unpad':function(){}},_0x163579[_0x5471e7(0x295)][_0x5471e7(0x475)];}));}(Qe)),Qe['exports'];}var Gr=Vr();const Wr=He(Gr);function Kr(_0x28c9dc,_0x432f6a){var _0x42551a=_0x2b51d4;const _0x226bb4=_0x432f6a-_0x28c9dc[_0x42551a(0x23a)]%_0x432f6a,_0x5b5aba=String['fromCharCode'](_0x226bb4)[_0x42551a(0x3e9)](_0x226bb4);return _0x28c9dc+_0x5b5aba;}function Yr(_0x1d6432,_0x4842aa){var _0x16b2ee=_0x2b51d4;const _0x2d3694=jr['random'](0x10),_0x5dff93=Kr(_0x1d6432,0x10),_0x39347a=Ar[_0x16b2ee(0x2cd)](kr[_0x16b2ee(0x493)](_0x5dff93),si[_0x16b2ee(0x493)](_0x4842aa),{'iv':_0x2d3694,'padding':Wr});return _0x2d3694[_0x16b2ee(0x318)](_0x39347a[_0x16b2ee(0x3b9)])[_0x16b2ee(0x2df)](si);}function qr(){var _0x4675b0=_0x2b51d4;const _0x5d6679=_0x4305bb()[_0x4675b0(0x4b0)];if(_0x5d6679){const _0x540a70={'time':Math[_0x4675b0(0x449)](Date[_0x4675b0(0x1f0)]()/0x3e8),'domain':location[_0x4675b0(0x2c3)]};return Yr(JSON[_0x4675b0(0x375)](_0x540a70),_0x5d6679);}}var zr=Object[_0x2b51d4(0x374)],Jr=(_0x5bab5b,_0x246fe4,_0xd0b42,_0xc5783a)=>{var _0x13680e=_0x2b51d4;for(var _0x42b623=_0xc5783a>0x1?void 0x0:_0xc5783a?zr(_0x246fe4,_0xd0b42):_0x246fe4,_0x277dfd=_0x5bab5b[_0x13680e(0x23a)]-0x1,_0x41156a;_0x277dfd>=0x0;_0x277dfd--)(_0x41156a=_0x5bab5b[_0x277dfd])&&(_0x42b623=_0x41156a(_0x42b623)||_0x42b623);return _0x42b623;},Xr=(_0x201260,_0x4cbe75)=>(_0x162e6e,_0x4b8638)=>_0x4cbe75(_0x162e6e,_0x4b8638,_0x201260);let at=class{constructor(_0x25750f){var _0x3ad26b=_0x2b51d4;this[_0x3ad26b(0x254)]=_0x25750f,this[_0x3ad26b(0x2b9)]();}[_0x2b51d4(0x2b9)](){var _0x1ca549=_0x2b51d4;this[_0x1ca549(0x254)][_0x1ca549(0x3c0)]({'interceptor':(_0x349742,_0x5027af)=>{var _0x5719ae=_0x1ca549;const _0x539a9b=_0x349742[_0x5719ae(0x35d)],_0x34904e=qr();return _0x34904e&&_0x539a9b[_0x5719ae(0x218)](_0x5719ae(0x1f9),_0x34904e),_0x5027af(_0x349742);}});}};at=Jr([Xr(0x0,_0xbb9044(_0x334dc2))],at);var Zr=Object['getOwnPropertyDescriptor'],Qr=(_0x20f521,_0x4e62e6,_0x23c8a8,_0x253c0b)=>{for(var _0x19ee91=_0x253c0b>0x1?void 0x0:_0x253c0b?Zr(_0x4e62e6,_0x23c8a8):_0x4e62e6,_0x475a45=_0x20f521['length']-0x1,_0x5d2148;_0x475a45>=0x0;_0x475a45--)(_0x5d2148=_0x20f521[_0x475a45])&&(_0x19ee91=_0x5d2148(_0x19ee91)||_0x19ee91);return _0x19ee91;},mt=(_0x4adc07,_0x44192c)=>(_0x593717,_0x173171)=>_0x44192c(_0x593717,_0x173171,_0x4adc07);let bt=class extends _0xbf3a36{constructor(_0x2fe8af,_0xb6c7c6,_0x4dfc06){var _0x5e091f=_0x2b51d4;super(),N(this,_0x5e091f(0x37c),new _0x53317a(null)),N(this,'unitInfo$',this[_0x5e091f(0x37c)]['asObservable']()),(this[_0x5e091f(0x3e5)]=_0x2fe8af,this[_0x5e091f(0x461)]=_0xb6c7c6,this[_0x5e091f(0x39e)]=_0x4dfc06);}async['loadUnit'](_0x9672d,_0x4082c1,_0x1621df){var _0x29ba98=_0x2b51d4;this[_0x29ba98(0x37c)][_0x29ba98(0x321)]({'unitId':_0x9672d,'type':_0x4082c1,'subUnitId':_0x1621df});let _0x43ba60=null;switch(_0x4082c1){case Q['UNIVER_SHEET']:{_0x43ba60=await this['_loadSheet'](_0x9672d);break;}case Q[_0x29ba98(0x1f8)]:{_0x43ba60=await this['_loadDoc'](_0x9672d);break;}default:{this[_0x29ba98(0x3e5)][_0x29ba98(0x36e)](_0x29ba98(0x490),_0x29ba98(0x46b));break;}}return _0x43ba60;}async['_loadSheet'](_0x58cb40){var _0x27033d=_0x2b51d4,_0x18486f;let _0x1de6b5=0x0;const _0x4d2a3a=await((_0x18486f=this['_localCacheService'])==null?void 0x0:_0x18486f[_0x27033d(0x250)](_0x58cb40));return _0x4d2a3a&&(_0x4d2a3a[_0x27033d(0x3ca)]||_0x4d2a3a[_0x27033d(0x27e)][_0x27033d(0x23a)]!==0x0)&&(_0x1de6b5=_0x4d2a3a[_0x27033d(0x37f)]),_0x1de6b5===0x0&&this[_0x27033d(0x3e5)]['debug'](_0x27033d(0x490),'fetching\x20the\x20latest\x20document\x20from\x20the\x20server.'),this[_0x27033d(0x461)][_0x27033d(0x1f1)](_0x58cb40,_0x1de6b5);}async[_0x2b51d4(0x27d)](_0xf7b377){var _0xefbd50=_0x2b51d4,_0x52d980;let _0x4f7aa9=0x0;const _0x3229ca=await((_0x52d980=this['_localCacheService'])==null?void 0x0:_0x52d980[_0xefbd50(0x250)](_0xf7b377));return _0x3229ca&&(_0x3229ca[_0xefbd50(0x3ca)]||_0x3229ca['mutations'][_0xefbd50(0x23a)]!==0x0)&&(_0x4f7aa9=_0x3229ca['rev']),_0x4f7aa9===0x0&&this[_0xefbd50(0x3e5)][_0xefbd50(0x39f)]('[DataLoaderService]',_0xefbd50(0x458)),this[_0xefbd50(0x461)][_0xefbd50(0x1fa)](_0xf7b377,_0x4f7aa9);}};bt=Qr([mt(0x0,_0x3e08f2),mt(0x1,_0xbb9044(_0x2db77a)),mt(0x2,_0x19063a(J))],bt);var es=Object[_0x2b51d4(0x374)],ts=(_0x1bc83b,_0x117f38,_0x24a8c2,_0x5a191b)=>{var _0x3f1a5d=_0x2b51d4;for(var _0xf34c63=_0x5a191b>0x1?void 0x0:_0x5a191b?es(_0x117f38,_0x24a8c2):_0x117f38,_0x4ccd4b=_0x1bc83b[_0x3f1a5d(0x23a)]-0x1,_0x4ac02b;_0x4ccd4b>=0x0;_0x4ccd4b--)(_0x4ac02b=_0x1bc83b[_0x4ccd4b])&&(_0xf34c63=_0x4ac02b(_0xf34c63)||_0xf34c63);return _0xf34c63;},gt=(_0x405981,_0x3d9d8d)=>(_0x46d46a,_0x4a33b7)=>_0x3d9d8d(_0x46d46a,_0x4a33b7,_0x405981);const is=[_0x2b51d4(0x326),'image/jpeg','image/jpg',_0x2b51d4(0x20f),_0x2b51d4(0x246)],ns=0x5*0x400*0x400,rs='EXCHANGE_UPLOAD_FILE_SERVER_URL_KEY',ss=_0x2b51d4(0x3e0),as=_0x2b51d4(0x240),os='/universer-api/file/{fileID}/sign-url';let yt=class{constructor(_0x41b2a1,_0xd70a03,_0x172af0){var _0x4a2d1c=_0x2b51d4;N(this,_0x4a2d1c(0x2e4),0x0),N(this,'_change$',new _0x358ef7()),N(this,'change$',this['_change$']),N(this,_0x4a2d1c(0x310),new Map()),(this[_0x4a2d1c(0x254)]=_0x41b2a1,this[_0x4a2d1c(0x22e)]=_0xd70a03,this[_0x4a2d1c(0x22f)]=_0x172af0);}[_0x2b51d4(0x23b)](_0x3b9e86){var _0x166906=_0x2b51d4;this['_waitCount']=_0x3b9e86,this[_0x166906(0x41a)][_0x166906(0x321)](_0x3b9e86);}[_0x2b51d4(0x370)](_0x54ed6f,_0x856e9d){var _0x713fe0=_0x2b51d4;if(_0x856e9d===_0x27980d[_0x713fe0(0x41c)]){const _0x1a0c3f=new Image();return _0x1a0c3f[_0x713fe0(0x272)]=_0x54ed6f,_0x1a0c3f;}return this[_0x713fe0(0x310)]['get'](_0x54ed6f);}['addImageSourceCache'](_0x4835fc,_0x3b5032,_0x43834e){var _0x2ee8bd=_0x2b51d4;_0x3b5032===_0x27980d['BASE64']||_0x43834e==null||this['_imageSourceCache'][_0x2ee8bd(0x218)](_0x4835fc,_0x43834e);}async[_0x2b51d4(0x34e)](_0x4334b8){var _0x3afc71=_0x2b51d4;try{const _0x4437d5=this['_replaceFileID'](this['_getSignURL'](),''+_0x4334b8),_0x5dea19=(await this[_0x3afc71(0x254)][_0x3afc71(0x42b)](_0x4437d5))[_0x3afc71(0x1e3)];if(_0x5dea19[_0x3afc71(0x36e)]&&_0x5dea19[_0x3afc71(0x36e)][_0x3afc71(0x48d)]===Si['OK']){const _0x15f70a=new URL(_0x5dea19[_0x3afc71(0x47b)],this[_0x3afc71(0x23c)]())['toString']();return Promise[_0x3afc71(0x20d)](_0x15f70a);}return Promise['reject'](_0x5dea19[_0x3afc71(0x36e)]);}catch(_0x5750cd){return Promise[_0x3afc71(0x255)](_0x5750cd);}}async[_0x2b51d4(0x302)](_0x45a1f5){var _0x141e4d=_0x2b51d4;let _0x5cf1d3='';if(!is['includes'](_0x45a1f5['type']))return this['_decreaseWaiting'](),Promise[_0x141e4d(0x255)](new Error(_0x545547[_0x141e4d(0x1d6)]));if(_0x45a1f5[_0x141e4d(0x299)]>ns)return this[_0x141e4d(0x1dd)](),Promise['reject'](new Error(_0x545547['ERROR_EXCEED_SIZE']));try{const _0x706f9e=new FormData();_0x706f9e['append'](_0x141e4d(0x371),_0x45a1f5);const _0x3a46ff=this[_0x141e4d(0x22f)][_0x141e4d(0x430)](),_0x1d7308=_0x3a46ff==null?void 0x0:_0x3a46ff[_0x141e4d(0x4a5)]();if(!_0x1d7308)throw new Error(_0x141e4d(0x1d7));const _0x582bad=this['_getUploadFileURL']()+_0x141e4d(0x2a4)+_0x45a1f5[_0x141e4d(0x299)][_0x141e4d(0x2df)]()+_0x141e4d(0x35c)+Ei[_0x141e4d(0x49b)]+_0x141e4d(0x368)+encodeURIComponent(_0x1d7308),_0x1fd8e9=await(await fetch(_0x582bad,{'method':_0x141e4d(0x343),'body':_0x706f9e}))[_0x141e4d(0x26d)]();if(typeof _0x1fd8e9[_0x141e4d(0x39c)]!=_0x141e4d(0x1c7))return this['_decreaseWaiting'](),Promise[_0x141e4d(0x255)](new Error(_0x545547[_0x141e4d(0x2b4)]));_0x5cf1d3=_0x1fd8e9[_0x141e4d(0x39c)];}catch{return this['_decreaseWaiting'](),Promise[_0x141e4d(0x255)](new Error(_0x545547[_0x141e4d(0x2b4)]));}return new Promise((_0x948837,_0x483167)=>{var _0x58fb12=_0x141e4d;const _0x3816ff=new FileReader();_0x3816ff[_0x58fb12(0x413)](_0x45a1f5),_0x3816ff[_0x58fb12(0x2c5)]=_0x412300=>{var _0x38763f=_0x58fb12,_0x914355;const _0x4b02fe=(_0x914355=_0x412300[_0x38763f(0x464)])==null?void 0x0:_0x914355['result'];if(_0x4b02fe==null){this[_0x38763f(0x1dd)](),_0x483167(new Error(_0x545547[_0x38763f(0x2b4)]));return;}const _0x2312c7=_0x1f8cee[_0x38763f(0x389)](0x6);_0x948837({'imageId':_0x2312c7,'imageSourceType':_0x27980d[_0x38763f(0x1c6)],'source':_0x5cf1d3,'base64Cache':_0x4b02fe,'status':_0x545547[_0x38763f(0x258)]}),this['_decreaseWaiting']();};});}['_getUploadFileURL'](){var _0x39ada1=_0x2b51d4,_0x57ee06,_0x3c77da;const _0x2ae85a=this['_configService'][_0x39ada1(0x2a7)](rs),_0x5dba96=this['_configService'][_0x39ada1(0x2a7)](q);return(_0x3c77da=(_0x57ee06=_0x5dba96==null?void 0x0:_0x5dba96['uploadFileServerUrl'])!=null?_0x57ee06:_0x2ae85a)!=null?_0x3c77da:ss;}[_0x2b51d4(0x353)](){var _0x4b749e=_0x2b51d4,_0x3bd3e8,_0x2dcc8e;const _0x4d70c5=this[_0x4b749e(0x22e)][_0x4b749e(0x2a7)](as),_0x186340=this[_0x4b749e(0x22e)][_0x4b749e(0x2a7)](q);return(_0x2dcc8e=(_0x3bd3e8=_0x186340==null?void 0x0:_0x186340[_0x4b749e(0x236)])!=null?_0x3bd3e8:_0x4d70c5)!=null?_0x2dcc8e:os;}[_0x2b51d4(0x23c)](){var _0x7b834d=_0x2b51d4,_0x205c76;const _0x5750e9=this[_0x7b834d(0x22e)][_0x7b834d(0x2a7)](q);return(_0x205c76=_0x5750e9==null?void 0x0:_0x5750e9[_0x7b834d(0x357)])!=null?_0x205c76:location[_0x7b834d(0x3cf)];}[_0x2b51d4(0x313)](_0x231081,_0x41a0c0){var _0x9437f5=_0x2b51d4;return _0x231081['replace'](_0x9437f5(0x467),_0x41a0c0);}[_0x2b51d4(0x1dd)](){var _0x474689=_0x2b51d4;this[_0x474689(0x2e4)]-=0x1,this[_0x474689(0x41a)]['next'](this[_0x474689(0x2e4)]);}};yt=ts([gt(0x0,_0xbb9044(_0x334dc2)),gt(0x1,_0x3d91ad),gt(0x2,_0xbb9044(_0xcd0588))],yt);var cs=Object[_0x2b51d4(0x374)],hs=(_0x5fffb1,_0x2e2bca,_0x3f9d9d,_0x4d9758)=>{for(var _0xd56bb4=_0x4d9758>0x1?void 0x0:_0x4d9758?cs(_0x2e2bca,_0x3f9d9d):_0x2e2bca,_0x1a8863=_0x5fffb1['length']-0x1,_0x47ee5a;_0x1a8863>=0x0;_0x1a8863--)(_0x47ee5a=_0x5fffb1[_0x1a8863])&&(_0xd56bb4=_0x47ee5a(_0xd56bb4)||_0xd56bb4);return _0xd56bb4;},hi=(_0x4577f9,_0x1f1013)=>(_0x401797,_0x1e6d80)=>_0x1f1013(_0x401797,_0x1e6d80,_0x4577f9);const _s=_0x2b51d4(0x3a6);let Ot=class{constructor(_0x5c4730,_0x3194d9){var _0x5bbd1d=_0x2b51d4;this[_0x5bbd1d(0x22e)]=_0x5c4730,this[_0x5bbd1d(0x294)]=_0x3194d9;}[_0x2b51d4(0x1e2)](){var _0x353581=_0x2b51d4,_0xb39aac,_0x28f39d;const _0x2caaec=this[_0x353581(0x22e)][_0x353581(0x2a7)](Ni),_0x5770f0=this[_0x353581(0x22e)]['getConfig'](q);return(_0x28f39d=(_0xb39aac=_0x5770f0==null?void 0x0:_0x5770f0[_0x353581(0x31a)])!=null?_0xb39aac:_0x2caaec)!=null?_0x28f39d:_s;}async['list'](_0x51d7e4){var _0x420302=_0x2b51d4;const _0x2386f9=this[_0x420302(0x1e2)]()+'/collaborator';return{'list':[{'title':_0x420302(0x379),'mentions':(await this[_0x420302(0x294)]['get'](_0x2386f9,{'params':{'objectID':_0x51d7e4[_0x420302(0x32b)],'unitID':_0x51d7e4[_0x420302(0x32b)]}}))[_0x420302(0x1e3)][_0x420302(0x347)][_0x420302(0x48a)](_0x3441c0=>({'objectId':_0x3441c0['id'],'name':_0x3441c0[_0x420302(0x283)][_0x420302(0x3b6)],'metadata':{'icon':_0x3441c0['subject'][_0x420302(0x3ff)]},'label':_0x3441c0[_0x420302(0x283)][_0x420302(0x3b6)],'objectType':_0x3ca0a6[_0x420302(0x35f)]})),'metadata':{},'type':_0x3ca0a6[_0x420302(0x35f)]}]};}};Ot=hs([hi(0x0,_0xbb9044(_0x3d91ad)),hi(0x1,_0xbb9044(_0x334dc2))],Ot);var ls=Object[_0x2b51d4(0x374)],us=(_0x17096c,_0xaccfa8,_0x55bea1,_0x1a3c89)=>{var _0x466a4d=_0x2b51d4;for(var _0x254c99=_0x1a3c89>0x1?void 0x0:_0x1a3c89?ls(_0xaccfa8,_0x55bea1):_0xaccfa8,_0x4d6e70=_0x17096c[_0x466a4d(0x23a)]-0x1,_0x4fddb9;_0x4d6e70>=0x0;_0x4d6e70--)(_0x4fddb9=_0x17096c[_0x4d6e70])&&(_0x254c99=_0x4fddb9(_0x254c99)||_0x254c99);return _0x254c99;},Ae=(_0x470a87,_0x25a25f)=>(_0x34d0ac,_0x5834da)=>_0x25a25f(_0x34d0ac,_0x5834da,_0x470a87);let ot=class extends _0xbf3a36{constructor(_0x2ca211,_0x28a5f7,_0x179623,_0xda7b89,_0x356c69){var _0x2dbd09=_0x2b51d4;super(),this[_0x2dbd09(0x333)]=_0x2ca211,this[_0x2dbd09(0x22f)]=_0x28a5f7,this[_0x2dbd09(0x434)]=_0x179623,this[_0x2dbd09(0x43d)]=_0xda7b89,this[_0x2dbd09(0x3b8)]=_0x356c69,this[_0x2dbd09(0x39a)](),this[_0x2dbd09(0x2c4)]();}[_0x2b51d4(0x2c4)](){var _0x3f9fa3=_0x2b51d4;const _0x511df0=async _0x4b2846=>{var _0x39f257=_0x3286;(await this[_0x39f257(0x43d)][_0x39f257(0x47c)](_0x4b2846))[_0x39f257(0x3e7)][_0x39f257(0x392)](_0x20767a(_0xf466f4=>_0xf466f4['eventID']===_0x1cab20[_0x39f257(0x40a)]),_0xf90029(this[_0x39f257(0x330)]))['subscribe'](_0x299c26=>{var _0x332cd3=_0x39f257;const _0x1a1f28=_0x299c26,{reason:_0x5a5256}=_0x1a1f28['data'];this[_0x332cd3(0x3b8)][_0x332cd3(0x23e)]({'id':se[_0x332cd3(0x1ba)],'data':_0x5a5256}),this[_0x332cd3(0x434)]['updatePermissionPoint'](new _0x2bbfa7(_0x4b2846)['id'],!0x1),this[_0x332cd3(0x43d)][_0x332cd3(0x40f)](_0x4b2846);});};_0xb2540(this[_0x3f9fa3(0x22f)][_0x3f9fa3(0x235)](_0x5d6c54[_0x3f9fa3(0x1ca)]),this[_0x3f9fa3(0x22f)][_0x3f9fa3(0x235)](_0x5d6c54[_0x3f9fa3(0x1f8)]))[_0x3f9fa3(0x392)](_0x87d7ab(_0x1c4d3d=>_0x1c4d3d[_0x3f9fa3(0x4a5)]()),_0x20767a(_0x11d497=>!_0x11985f(_0x11d497)),_0xf90029(this['dispose$']))['subscribe'](_0x714d3d=>{_0x511df0(_0x714d3d);});}['_initUnitPermissionChange'](){var _0x199224=_0x2b51d4;const _0x191f1b=async _0x5cbc3d=>{var _0x18c3ae=_0x3286;const _0x40224e=await this[_0x18c3ae(0x43d)][_0x18c3ae(0x47c)](_0x5cbc3d),_0x49e617=this[_0x18c3ae(0x333)][_0x18c3ae(0x42b)](_0x22de8f);_0x40224e[_0x18c3ae(0x3e7)][_0x18c3ae(0x392)](_0x20767a(_0x3aaa02=>_0x3aaa02['eventID']===_0x1cab20['UPDATE_PERMISSION_OBJ']),_0xf90029(this[_0x18c3ae(0x330)]))[_0x18c3ae(0x36f)](_0x4d703d=>{var _0x310df1=_0x18c3ae;const _0x6cb1a1=_0x4d703d,{objectId:_0x3821d7}=_0x6cb1a1[_0x310df1(0x1bc)];_0x3821d7===_0x5cbc3d?_0x49e617[_0x310df1(0x30a)](_0x5cbc3d):_0x49e617[_0x310df1(0x3ec)](_0x5cbc3d,_0x3821d7);});};_0xb2540(this[_0x199224(0x22f)][_0x199224(0x235)](_0x5d6c54[_0x199224(0x1ca)]))[_0x199224(0x392)](_0x87d7ab(_0x477e2d=>_0x477e2d[_0x199224(0x4a5)]()),_0x20767a(_0x5adc81=>!_0x11985f(_0x5adc81)),_0xf90029(this[_0x199224(0x330)]))[_0x199224(0x36f)](_0x17c213=>{_0x191f1b(_0x17c213);});}};ot=us([Ae(0x0,_0xbb9044(_0xe87ffb)),Ae(0x1,_0xcd0588),Ae(0x2,_0x1f555b),Ae(0x3,_0xbb9044(Le)),Ae(0x4,_0xbb9044(pe))],ot);var ds=Object[_0x2b51d4(0x374)],fs=(_0x5979bb,_0x5a2b3d,_0x16aab5,_0x3b6cc8)=>{var _0x4a8891=_0x2b51d4;for(var _0x5ac4d5=_0x3b6cc8>0x1?void 0x0:_0x3b6cc8?ds(_0x5a2b3d,_0x16aab5):_0x5a2b3d,_0x51180d=_0x5979bb[_0x4a8891(0x23a)]-0x1,_0x147d2d;_0x51180d>=0x0;_0x51180d--)(_0x147d2d=_0x5979bb[_0x51180d])&&(_0x5ac4d5=_0x147d2d(_0x5ac4d5)||_0x5ac4d5);return _0x5ac4d5;},_i=(_0x2d4d84,_0x2d3eea)=>(_0x2446db,_0x13c820)=>_0x2d3eea(_0x2446db,_0x13c820,_0x2d4d84);let Nt=class{constructor(_0x1d9920,_0x55f426){var _0x5c1bae=_0x2b51d4;this[_0x5c1bae(0x22e)]=_0x1d9920,this['_httpService']=_0x55f426;}async[_0x2b51d4(0x354)](_0x308548,_0x2c3f56){var _0xd84987=_0x2b51d4,_0x1a2428;const {unitID:_0x450d46,type:_0x3f47fa,revision:_0x175555=0x0}=_0x2c3f56,_0x4b2ac5=this[_0xd84987(0x2bf)]()+'/'+_0x3f47fa+_0xd84987(0x316)+_0x450d46+'/rev/'+_0x175555,_0x32108a=(await this[_0xd84987(0x254)][_0xd84987(0x42b)](_0x4b2ac5))['body'],_0x54a587=(_0x1a2428=_0x32108a[_0xd84987(0x273)])==null?void 0x0:_0x1a2428[_0xd84987(0x320)];if(_0x54a587){const _0x532cb4=_0x54a587==null?void 0x0:_0x54a587['originalMeta'],_0x55b100=_0x3fea26[_0xd84987(0x268)](_0x544eac(_0x532cb4));_0x54a587[_0xd84987(0x249)]=_0x55b100,Object[_0xd84987(0x405)](_0x54a587['sheets'])[_0xd84987(0x33d)](([,_0x4bda19])=>{var _0x67773c=_0xd84987;const _0x334807=_0x4bda19['originalMeta'],_0x58b854=_0x3fea26[_0x67773c(0x268)](_0x544eac(_0x334807));_0x4bda19[_0x67773c(0x249)]=_0x58b854;});}return _0x32108a;}async[_0x2b51d4(0x474)](_0x3b49fa,_0x1e3c5d){var _0x8e6518=_0x2b51d4;const {unitID:_0x13dd5d,type:_0x560d63,blockID:_0x2ffd1e}=_0x1e3c5d,_0x59a668=this['_getAPIPrefix']()+'/'+_0x560d63+'/unit/'+_0x13dd5d+_0x8e6518(0x406)+_0x2ffd1e;return(await this[_0x8e6518(0x254)][_0x8e6518(0x42b)](_0x59a668))[_0x8e6518(0x1e3)];}async[_0x2b51d4(0x427)](_0x3a71ce,_0x1c2022){var _0x31824e=_0x2b51d4;const {unitID:_0x448802,type:_0xf804b4,blockID:_0x54cde0}=_0x1c2022,_0x3cbe5a=this[_0x31824e(0x37a)]()+_0x31824e(0x406)+_0xf804b4+_0x31824e(0x316)+_0x448802+_0x31824e(0x406)+_0x54cde0;return(await this['_httpService'][_0x31824e(0x42b)](_0x3cbe5a))[_0x31824e(0x1e3)];}async['fetchMissingChangesets'](_0x13a601,_0x4eb221){var _0x2e8a54=_0x2b51d4;const {unitID:_0x47ce50,type:_0xd0b4d5,from:_0x52e6bf,to:_0x26440a}=_0x4eb221,_0x150c20=this['_getAPIPrefix']()+'/'+_0xd0b4d5+_0x2e8a54(0x316)+_0x47ce50+_0x2e8a54(0x31c)+_0x52e6bf+_0x2e8a54(0x3d5)+_0x26440a;return(await this[_0x2e8a54(0x254)]['get'](_0x150c20))[_0x2e8a54(0x1e3)];}['getSnapshotAPIPath'](){var _0x5382b7=_0x2b51d4,_0x9d583f;return(_0x9d583f=this['_configService'][_0x5382b7(0x2a7)](Sn))!=null?_0x9d583f:this[_0x5382b7(0x37a)]();}['_getAPIPrefix'](){var _0xc132f7=_0x2b51d4,_0x30922d,_0x4696ee;const _0x471cf3=this[_0xc132f7(0x22e)][_0xc132f7(0x2a7)](mn),_0x1d7d76=this[_0xc132f7(0x22e)][_0xc132f7(0x2a7)](q);return(_0x4696ee=(_0x30922d=_0x1d7d76==null?void 0x0:_0x1d7d76[_0xc132f7(0x440)])!=null?_0x30922d:_0x471cf3)!=null?_0x4696ee:gn;}async['getResourcesRequest'](_0x2f1d68,_0xd43eeb){var _0x2100c1=_0x2b51d4;const _0x3d8af4=_0x2100c1(0x3c7)+_0xd43eeb[_0x2100c1(0x26e)]+_0x2100c1(0x316)+_0xd43eeb['unitID']+_0x2100c1(0x232);return(await this[_0x2100c1(0x254)][_0x2100c1(0x42b)](_0x3d8af4,{'params':{'resourceId':JSON[_0x2100c1(0x375)](_0xd43eeb[_0x2100c1(0x2dc)])}}))[_0x2100c1(0x1e3)];}[_0x2b51d4(0x352)](){var _0x3840c3=_0x2b51d4;throw new Error(_0x3840c3(0x38f));}[_0x2b51d4(0x23f)](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}['saveChangeset'](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}['copyFileMeta'](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}[_0x2b51d4(0x28a)](){var _0x5e8a60=_0x2b51d4;throw new Error(_0x5e8a60(0x38f));}};Nt=fs([_i(0x0,_0x3d91ad),_i(0x1,_0xbb9044(_0x334dc2))],Nt);var vs=Object[_0x2b51d4(0x374)],ps=(_0x52cfab,_0x1a98fe,_0x157649,_0x148a91)=>{for(var _0xe6751a=_0x148a91>0x1?void 0x0:_0x148a91?vs(_0x1a98fe,_0x157649):_0x1a98fe,_0x312919=_0x52cfab['length']-0x1,_0x452ea4;_0x312919>=0x0;_0x312919--)(_0x452ea4=_0x52cfab[_0x312919])&&(_0xe6751a=_0x452ea4(_0xe6751a)||_0xe6751a);return _0xe6751a;},Pe=(_0x1cf2c1,_0x4b1267)=>(_0x1772ac,_0xb937cf)=>_0x4b1267(_0x1772ac,_0xb937cf,_0x1cf2c1);let Dt=class extends _0x28cec0{constructor(_0xeec308,_0x43e45d,_0x46775d,_0x4b815b,_0x871132){var _0x5ba0d8=_0x2b51d4;super(_0xeec308,_0x43e45d,_0x46775d),this['_transformService']=_0x4b815b,this[_0x5ba0d8(0x3e5)]=_0x871132;}['transformUndoRedo'](_0x262b28,_0xd1616){var _0x1c0961=_0x2b51d4;const _0x260e52=this['_getUndoStack'](_0x262b28);if(_0x260e52)try{const _0x33bf62=this['_transformStack'](_0x260e52,_0xd1616);this[_0x1c0961(0x233)](_0x262b28,_0x33bf62);}catch(_0x2d9636){this[_0x1c0961(0x3e5)]['error']('[CollaborationUndoRedoService]',_0x2d9636),this[_0x1c0961(0x2b6)](_0x262b28);}const _0xd24528=this[_0x1c0961(0x4aa)](_0x262b28);if(_0xd24528)try{const _0x1032a4=this['_transformStack'](_0xd24528,_0xd1616);this['_substituteRedoStack'](_0x262b28,_0x1032a4);}catch(_0x193ce1){this[_0x1c0961(0x3e5)][_0x1c0961(0x36e)](_0x193ce1),this['_clearRedo'](_0x262b28);}}[_0x2b51d4(0x2b6)](_0x1c453e){var _0x4a55e1=_0x2b51d4;const _0x1b12aa=this[_0x4a55e1(0x491)](_0x1c453e);_0x1b12aa&&(_0x1b12aa[_0x4a55e1(0x23a)]=0x0,this[_0x4a55e1(0x3ba)]());}[_0x2b51d4(0x3e3)](_0x45eb1e){var _0x136a31=_0x2b51d4;const _0x19e892=this[_0x136a31(0x4aa)](_0x45eb1e);_0x19e892&&(_0x19e892[_0x136a31(0x23a)]=0x0,this[_0x136a31(0x3ba)]());}['_substituteUndoStack'](_0x1a8d3a,_0x69a72a){var _0x5aed7=_0x2b51d4;this['_undoStacks'][_0x5aed7(0x218)](_0x1a8d3a,_0x69a72a),this[_0x5aed7(0x3ba)]();}['_substituteRedoStack'](_0x37b8c9,_0x24f539){var _0x3dacda=_0x2b51d4;this[_0x3dacda(0x356)][_0x3dacda(0x218)](_0x37b8c9,_0x24f539),this[_0x3dacda(0x3ba)]();}[_0x2b51d4(0x412)](_0x4d7087,_0x119453){var _0x10457b=_0x2b51d4;const _0x2092d2=[];let _0x5f2465=_0x119453,_0x15431b=_0x119453;for(let _0x20db31=_0x4d7087[_0x10457b(0x23a)]-0x1;_0x20db31>=0x0;_0x20db31--){const {unitID:_0x4c349a,undoMutations:_0x4f10a4,redoMutations:_0x53e415}=_0x4d7087[_0x20db31],_0x15e7ae=this[_0x10457b(0x404)][_0x10457b(0x29c)](_0x5f2465,_0x4f10a4),_0x36c33a=this['_transformService'][_0x10457b(0x29c)](_0x15431b,_0x53e415);if(_0x5846bb(_0x15e7ae)||_0x5846bb(_0x36c33a)){this[_0x10457b(0x3e5)][_0x10457b(0x36e)](_0x10457b(0x31f),_0x10457b(0x3c6),_0x15e7ae,_0x36c33a);break;}_0x5f2465=_0x15e7ae['c1Prime'],_0x15431b=_0x36c33a['c1Prime'],_0x2092d2[_0x10457b(0x276)]({'unitID':_0x4c349a,'undoMutations':_0x15e7ae[_0x10457b(0x432)],'redoMutations':_0x36c33a['m2Prime']});}return _0x2092d2[_0x10457b(0x1eb)]();}};Dt=ps([Pe(0x0,_0xcd0588),Pe(0x1,_0x3b7381),Pe(0x2,_0x240438),Pe(0x3,_0x5a75cc),Pe(0x4,_0x3e08f2)],Dt);var ms=Object[_0x2b51d4(0x465)],gs=Object[_0x2b51d4(0x374)],Ss=(_0x2b7b63,_0x3a2622,_0x30d215)=>_0x3a2622 in _0x2b7b63?ms(_0x2b7b63,_0x3a2622,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x30d215}):_0x2b7b63[_0x3a2622]=_0x30d215,Es=(_0x19d95e,_0x42ca84,_0x17eacf,_0xe41b90)=>{var _0x323c17=_0x2b51d4;for(var _0x3d382d=_0xe41b90>0x1?void 0x0:_0xe41b90?gs(_0x42ca84,_0x17eacf):_0x42ca84,_0x4bd53a=_0x19d95e[_0x323c17(0x23a)]-0x1,_0x133c02;_0x4bd53a>=0x0;_0x4bd53a--)(_0x133c02=_0x19d95e[_0x4bd53a])&&(_0x3d382d=_0x133c02(_0x3d382d)||_0x3d382d);return _0x3d382d;},St=(_0x16e494,_0x3b525b)=>(_0x49236b,_0x1eaa4f)=>_0x3b525b(_0x49236b,_0x1eaa4f,_0x16e494),Is=(_0x3fe850,_0x6f92b,_0x19a7c3)=>Ss(_0x3fe850,_0x6f92b+'',_0x19a7c3);const Ts=_0x2b51d4(0x2c7);let Ut=class extends _0x398388{constructor(_0x279c50,_0x32ce12,_0x3087ab,_0x20849e){var _0x5ad216=_0x2b51d4;super(),N(this,_0x5ad216(0x38a)),(this['_logService']=_0x32ce12,this[_0x5ad216(0x333)]=_0x3087ab,this[_0x5ad216(0x22e)]=_0x20849e);const {..._0x48128c}=_0x290120({},An,_0x279c50);if(!_0x48128c[_0x5ad216(0x485)])throw new Error(_0x5ad216(0x2ce));this[_0x5ad216(0x38a)]=_0x48128c,this[_0x5ad216(0x22e)][_0x5ad216(0x47f)](q,_0x48128c);}[_0x2b51d4(0x4ac)](){var _0x25aad3=_0x2b51d4;this[_0x25aad3(0x29a)](),this[_0x25aad3(0x2e6)]();}['_registerDependencies'](){var _0x1c7100=_0x2b51d4,_0xa4f4d6,_0x166d64;this[_0x1c7100(0x333)][_0x1c7100(0x2c6)](_0x4955e1)&&this[_0x1c7100(0x3e5)][_0x1c7100(0x36e)]('[UniverCollaborationClientPlugin]',_0x1c7100(0x377));const _0x4de0a4=_0x20bd82([[_0x4955e1,{'useClass':Dt}],[Le],[xe],[it],[st],[at],[Ti],[ot],[pe],[bt],[Ii,{'useClass':this[_0x1c7100(0x38a)][_0x1c7100(0x485)]}],[_0x20d692,{'useClass':Nt}],[_0x4a4c6a,{'useClass':Rt}],[_0x382575,{'useClass':yt}],[_0x2eb9c3,{'useClass':Ot}],[rt],[Ct]],(_0xa4f4d6=this[_0x1c7100(0x38a)])==null?void 0x0:_0xa4f4d6[_0x1c7100(0x2c9)]);if(!((_0x166d64=this[_0x1c7100(0x38a)])!=null&&_0x166d64[_0x1c7100(0x29e)])){const _0x12a279=_0x4de0a4['findIndex'](([_0x5f1d46])=>_0x5f1d46===ht);_0x12a279!==-0x1&&_0x4de0a4[_0x1c7100(0x2a8)](_0x12a279,0x1);}_0xec0d2c(this[_0x1c7100(0x333)],_0x4de0a4);}[_0x2b51d4(0x2e6)](){var _0x4fdd40=_0x2b51d4,_0x4b8735,_0x15d8e1,_0x38b873;this[_0x4fdd40(0x333)][_0x4fdd40(0x42b)](_0x334dc2)[_0x4fdd40(0x3c0)]({'priority':0x14,'interceptor':_0x41fdbc({'maxParallel':0x6})}),(_0x4b8735=this[_0x4fdd40(0x38a)])!=null&&_0x4b8735[_0x4fdd40(0x442)]||(_0x15d8e1=this[_0x4fdd40(0x333)][_0x4fdd40(0x42b)](J,_0x513dfb[_0x4fdd40(0x396)]))==null||_0x15d8e1[_0x4fdd40(0x489)](),(_0x38b873=this['_config'])!=null&&_0x38b873['enableAuthServer']&&_0x51811b(this[_0x4fdd40(0x333)],[[st]]),_0x51811b(this[_0x4fdd40(0x333)],[[at],[rt],[ot]]);}};Is(Ut,_0x2b51d4(0x336),Ts),Ut=Es([_0x27f7e5(_0x4c0c58,_0x4ad0a2),St(0x1,_0x3e08f2),St(0x2,_0xbb9044(_0xe87ffb)),St(0x3,_0x3d91ad)],Ut);export{Ni as AUTHZ_URL_KEY,Rt as AuthzIoHttpService,le as AwaitingState,oe as AwaitingWithPendingState,q as COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY,Nn as COLLAB_SUBMIT_CHANGESET_URL_KEY,In as COLLAB_WEB_SOCKET_URL_KEY,rt as CollaborationController,nt as CollaborationEntity,yt as CollaborationImageIoService,Et as CollaborationSession,Le as CollaborationSessionService,Gt as CollaborationSocketService,bi as CollaborationStatus,se as CollaborationUIEventId,pe as CollaborationUIEventService,Dt as CollaborativeUndoRedoService,Ti as CommentService,ue as ConflictState,Tn as DEFAULT_COLLAB_WEB_SOCKET_URL,Hs as DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT,Ls as DEFAULT_WS_SESSION_TICKET_URL,bt as DataLoaderService,It as DocCollaborationEntity,ee as FetchingMissState,Cn as HEARTBEAT_INTERVAL_KEY,mi as HEARTBEAT_TIMEOUT_KEY,Ii as ICollaborationSocketService,J as ILocalCacheService,Pn as INetworkConditionService,ht as ISingleActiveUnitService,ks as LOCAL_CACHE_INTERVAL,Ms as LOCAL_CACHE_INTERVAL_KEY,Un as LOGIN_URL_KEY,xe as MemberService,Ot as MentionIoHttpService,de as OfflineState,ae as PendingState,$s as REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY,yn as RETRY_CONNECTING_MAX_COUNT_KEY,xs as SEND_CHANGESET_TIMEOUT_KEY,mn as SNAPSHOT_SERVER_URL_KEY,Sn as SNAPSHOT_URL_KEY,Ee as SessionStatus,Tt as SheetCollaborationEntity,it as SheetTransformSelectionsService,Nt as SnapshotServerOverHTTPService,Ne as SyncedState,Ci as UnitStatus,Ut as UniverCollaborationClientPlugin,xn as deserializeToCombResponse,Bs as getLocalCacheKey,Ln as serializeCombRequest};
|
1
|
+
var _0xeb087b=_0x3bb5;(function(_0x3be6fa,_0x65053c){var _0x5c31f4=_0x3bb5,_0x5b0d82=_0x3be6fa();while(!![]){try{var _0x210131=-parseInt(_0x5c31f4(0x35f))/0x1+-parseInt(_0x5c31f4(0x37c))/0x2*(-parseInt(_0x5c31f4(0x20d))/0x3)+-parseInt(_0x5c31f4(0x222))/0x4*(-parseInt(_0x5c31f4(0x279))/0x5)+parseInt(_0x5c31f4(0x103))/0x6+parseInt(_0x5c31f4(0x38a))/0x7*(-parseInt(_0x5c31f4(0x2ee))/0x8)+-parseInt(_0x5c31f4(0x242))/0x9*(-parseInt(_0x5c31f4(0x228))/0xa)+-parseInt(_0x5c31f4(0x3b4))/0xb;if(_0x210131===_0x65053c)break;else _0x5b0d82['push'](_0x5b0d82['shift']());}catch(_0x5d07df){_0x5b0d82['push'](_0x5b0d82['shift']());}}}(_0x25e9,0x255bc));var Ai=Object[_0xeb087b(0x169)],Pi=(_0x5bdff0,_0x37f763,_0x5da66e)=>_0x37f763 in _0x5bdff0?Ai(_0x5bdff0,_0x37f763,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x5da66e}):_0x5bdff0[_0x37f763]=_0x5da66e,N=(_0x3842bd,_0x5b08f8,_0x1ea190)=>Pi(_0x3842bd,typeof _0x5b08f8!=_0xeb087b(0x25f)?_0x5b08f8+'':_0x5b08f8,_0x1ea190);import{createIdentifier as _0x482474,Inject as _0x2e70ff,Injector as _0x1ce7a4,IConfigService as _0x5641d0,ILogService as _0x55e24e,Disposable as _0x4f2ba2,DisposableCollection as _0x4593c8,toDisposable as _0x47a813,IUniverInstanceService as _0x30685d,UserManagerService as _0x57c4cc,UniverInstanceType as _0x84f43f,LocaleService as _0x2f6c43,Optional as _0x12fd4d,RxDisposable as _0x2b51ba,Tools as _0x181792,Rectangle as _0x21479b,ICommandService as _0x3c3082,JSONX as _0x5ed4d3,CommandType as _0x4bae3d,IUndoRedoService as _0x54ad30,IPermissionService as _0x256f4d,sequenceExecute as _0x266243,Workbook as _0x4b0118,MentionType as _0x13933b,isInternalEditorID as _0x2dcdaa,LocalUndoRedoService as _0x24dcd7,IContextService as _0x15292f,DependentOn as _0x228918,Plugin as _0x53708a,merge as _0x13cd61,mergeOverrideWithDependencies as _0xdf64f8,IAuthzIoService as _0x159d45,IMentionIOService as _0x320505,registerDependencies as _0x44e769,Quantity as _0x3dbf30,touchDependencies as _0x2c5efb}from'@univerjs/core';import{Subject as _0x4cc0ff,merge as _0x51a939,of as _0x44e79b,BehaviorSubject as _0x1a7ee6,takeUntil as _0x32d0c3,ReplaySubject as _0x57ec4e,take as _0x30b4a2,map as _0x4f7caf,shareReplay as _0x1c517f,firstValueFrom as _0x340c9e,concatMap as _0x5416d8}from'rxjs';import{map as _0x4399b2,take as _0x44b7df,filter as _0x13fbd9,delay as _0x3fc63b,takeUntil as _0x337f10}from'rxjs/operators';import{CollaborationEvent as _0x42cf7f,ISnapshotServerService as _0x4914df,parseChangesetToProtocol as _0x207569,ITransformService as _0x3721fd,isTransformMutationsWithChangesetSuccess as _0x16c0b4,mapDocumentTypeToUniverType as _0x56d5a6,RevisionService as _0x550fcb,isTransformChangesetsSuccess as _0x5570e8,CompressMutationService as _0x28b939,parseProtocolChangeset as _0x50e2fb,SnapshotService as _0x7ad26a,textEncoder as _0x532ad2,b64DecodeUnicode as _0x31fb75,isTransformMutationsWithChangesetFailure as _0x3fe4a7,UniverCollaborationPlugin as _0x4f0854}from'@univerjs-pro/collaboration';import{HTTPService as _0x5dbf74,ISocketService as _0x35a1eb,MergeInterceptorFactory as _0x25a042,HTTPRequest as _0x3cdca7,UniverNetworkPlugin as _0x553d86,ThresholdInterceptorFactory as _0x53b506}from'@univerjs/network';import{ITelemetryService as _0x1d5fbf}from'@univerjs/telemetry';import{RichTextEditingMutation as _0x5e50e1}from'@univerjs/docs';import{SheetsSelectionsService as _0x36911e,SetSelectionsOperation as _0x1036a0,InsertSheetMutation as _0x364c48,EmptyMutation as _0x5c091d,WorkbookEditablePermission as _0x1322ae,SheetPermissionInitController as _0x322abd}from'@univerjs/sheets';import{ImageSourceType as _0x27892c,ImageUploadStatusType as _0x4e212b,IImageIoService as _0x4a8726}from'@univerjs/drawing';import{getGlobalObject as _0x216725}from'@univerjs-pro/license';const mn='SNAPSHOT_SERVER_URL_KEY',gn=_0xeb087b(0x189),Sn='SNAPSHOT_URL_KEY',xs=_0xeb087b(0x2b3),En=0x7d0,In=_0xeb087b(0x18a),Tn=_0xeb087b(0x211),Ls=_0xeb087b(0x22f),Cn=_0xeb087b(0x27d),Rn=0x7530,mi=_0xeb087b(0x186),gi=0x4e20,bn=0x4e20,yn=_0xeb087b(0x393),On=0x3,Ms=_0xeb087b(0x2e6),ks=0x3e8,Nn=_0xeb087b(0x26e),Dn='/universer-api/comb',Un='LOGIN_URL_KEY',wn='/universer-api/oidc/authpage',$s=_0xeb087b(0x156),Hs='/universer-api/uniscript';var Si=(_0x58f917=>(_0x58f917[_0x58f917[_0xeb087b(0x10f)]=0x0]=_0xeb087b(0x10f),_0x58f917[_0x58f917['OK']=0x1]='OK',_0x58f917[_0x58f917[_0xeb087b(0x2d0)]=0x2]=_0xeb087b(0x2d0),_0x58f917[_0x58f917['PERMISSION_DENIED']=0x3]=_0xeb087b(0x237),_0x58f917[_0x58f917[_0xeb087b(0x13b)]=0x4]=_0xeb087b(0x13b),_0x58f917[_0x58f917[_0xeb087b(0x2ae)]=0x5]=_0xeb087b(0x2ae),_0x58f917[_0x58f917['ALREADY_EXISTS']=0x6]=_0xeb087b(0x30c),_0x58f917[_0x58f917[_0xeb087b(0x30b)]=0x7]=_0xeb087b(0x30b),_0x58f917[_0x58f917['TOO_MANY_REQUESTS']=0x8]='TOO_MANY_REQUESTS',_0x58f917[_0x58f917['COMPLETION_FINISHED']=0x9]=_0xeb087b(0x22c),_0x58f917[_0x58f917[_0xeb087b(0x1de)]=0xa]='LOGIN_FAILED',_0x58f917[_0x58f917[_0xeb087b(0x1d1)]=0x1389]=_0xeb087b(0x1d1),_0x58f917[_0x58f917[_0xeb087b(0x17f)]=0x1771]='SNAPSHOT_INVALID_SNAPSHOT',_0x58f917[_0x58f917[_0xeb087b(0x349)]=0x1772]=_0xeb087b(0x349),_0x58f917[_0x58f917['ENSURE_SNAPSHOT_EXECUTION']=0x1773]='ENSURE_SNAPSHOT_EXECUTION',_0x58f917[_0x58f917[_0xeb087b(0x1a5)]=0x1b59]=_0xeb087b(0x1a5),_0x58f917[_0x58f917[_0xeb087b(0x15e)]=0x1b5a]='APPLY_NON_SEQUENTIAL_REVISION',_0x58f917[_0x58f917[_0xeb087b(0x2a5)]=0x1b5b]=_0xeb087b(0x2a5),_0x58f917[_0x58f917[_0xeb087b(0x282)]=0x1b5c]=_0xeb087b(0x282),_0x58f917[_0x58f917[_0xeb087b(0x396)]=0x1b5d]=_0xeb087b(0x396),_0x58f917[_0x58f917[_0xeb087b(0x1fe)]=0x1f41]=_0xeb087b(0x1fe),_0x58f917[_0x58f917[_0xeb087b(0x33a)]=0x2329]=_0xeb087b(0x33a),_0x58f917[_0x58f917[_0xeb087b(0x17c)]=0x232a]=_0xeb087b(0x17c),_0x58f917[_0x58f917[_0xeb087b(0x37a)]=0x232b]=_0xeb087b(0x37a),_0x58f917[_0x58f917[_0xeb087b(0x121)]=0x232c]=_0xeb087b(0x121),_0x58f917[_0x58f917[_0xeb087b(0x36e)]=0x232d]=_0xeb087b(0x36e),_0x58f917[_0x58f917[_0xeb087b(0xd1)]=0x2711]=_0xeb087b(0xd1),_0x58f917[_0x58f917[_0xeb087b(0x322)]=0x2712]=_0xeb087b(0x322),_0x58f917[_0x58f917[_0xeb087b(0x105)]=0x2713]=_0xeb087b(0x105),_0x58f917[_0x58f917['YUUMI_SUBSCRIPTION_NOT_FOUND']=0x2714]=_0xeb087b(0xc9),_0x58f917[_0x58f917[_0xeb087b(0x29d)]=0x2af9]=_0xeb087b(0x29d),_0x58f917[_0x58f917[_0xeb087b(0x2d5)]=0x2ee1]='INVITE_CODE_HAS_BEEN_UES',_0x58f917[_0x58f917[_0xeb087b(0x1dd)]=0x2ee2]='INVALID_INVITE_CODE',_0x58f917[_0x58f917[_0xeb087b(0x122)]=0x2ee3]=_0xeb087b(0x122),_0x58f917[_0x58f917['USER_NOT_INVITED_CODE']=0x2ee4]=_0xeb087b(0xe2),_0x58f917[_0x58f917[_0xeb087b(0x1c1)]=0x2ee5]='INVITE_CODE_ALREADY_BOUND',_0x58f917[_0x58f917[_0xeb087b(0x2c2)]=-0x1]=_0xeb087b(0x2c2),_0x58f917))(Si||{}),Q=(_0x5e03ed=>(_0x5e03ed[_0x5e03ed['UNIVER_UNKNOWN']=0x0]=_0xeb087b(0xd3),_0x5e03ed[_0x5e03ed[_0xeb087b(0x1a1)]=0x1]='UNIVER_DOC',_0x5e03ed[_0x5e03ed[_0xeb087b(0x3a9)]=0x2]=_0xeb087b(0x3a9),_0x5e03ed[_0x5e03ed['UNIVER_SLIDE']=0x3]=_0xeb087b(0xfe),_0x5e03ed[_0x5e03ed['UNIVER_PROJECT']=0x4]=_0xeb087b(0x352),_0x5e03ed[_0x5e03ed[_0xeb087b(0x2c2)]=-0x1]=_0xeb087b(0x2c2),_0x5e03ed))(Q||{}),F=(_0x8f8b7b=>(_0x8f8b7b[_0x8f8b7b['UNKNOWN_CMD']=0x0]=_0xeb087b(0x327),_0x8f8b7b[_0x8f8b7b[_0xeb087b(0x225)]=0x1]=_0xeb087b(0x225),_0x8f8b7b[_0x8f8b7b['JOIN']=0x2]=_0xeb087b(0x197),_0x8f8b7b[_0x8f8b7b[_0xeb087b(0x389)]=0x3]=_0xeb087b(0x389),_0x8f8b7b[_0x8f8b7b[_0xeb087b(0x20f)]=0x4]=_0xeb087b(0x20f),_0x8f8b7b[_0x8f8b7b[_0xeb087b(0x14b)]=0x5]=_0xeb087b(0x14b),_0x8f8b7b[_0x8f8b7b[_0xeb087b(0x182)]=0x6]=_0xeb087b(0x182),_0x8f8b7b[_0x8f8b7b[_0xeb087b(0x2c2)]=-0x1]=_0xeb087b(0x2c2),_0x8f8b7b))(F||{}),ge=(_0x5f33ca=>(_0x5f33ca[_0x5f33ca[_0xeb087b(0x33e)]=0x0]=_0xeb087b(0x33e),_0x5f33ca[_0x5f33ca['OK']=0x1]='OK',_0x5f33ca[_0x5f33ca[_0xeb087b(0xae)]=0x2]=_0xeb087b(0xae),_0x5f33ca[_0x5f33ca[_0xeb087b(0xac)]=0x3e9]=_0xeb087b(0xac),_0x5f33ca[_0x5f33ca[_0xeb087b(0x270)]=0x3ea]=_0xeb087b(0x270),_0x5f33ca[_0x5f33ca[_0xeb087b(0x236)]=0x3eb]=_0xeb087b(0x236),_0x5f33ca[_0x5f33ca['GLOBAL_ROOMS_CNT_EXCEEDS']=0x3ec]=_0xeb087b(0x15c),_0x5f33ca[_0x5f33ca[_0xeb087b(0x2c2)]=-0x1]=_0xeb087b(0x2c2),_0x5f33ca))(ge||{}),Ei=(_0x297cb3=>(_0x297cb3[_0x297cb3[_0xeb087b(0x118)]=0x0]='Undefined',_0x297cb3[_0x297cb3[_0xeb087b(0x184)]=0x1]='HttpImport',_0x297cb3[_0x297cb3[_0xeb087b(0x2a0)]=0x2]=_0xeb087b(0x2a0),_0x297cb3[_0x297cb3[_0xeb087b(0x3a4)]=0x3]=_0xeb087b(0x3a4),_0x297cb3[_0x297cb3[_0xeb087b(0x2af)]=0x4]='UnitSnapshot',_0x297cb3[_0x297cb3[_0xeb087b(0x2c2)]=-0x1]=_0xeb087b(0x2c2),_0x297cb3))(Ei||{});const q=_0xeb087b(0x381),An={};var se=(_0x3ea75c=>(_0x3ea75c[_0xeb087b(0x199)]='OTHER_CLIENT_EDITING',_0x3ea75c['PERMISSION_DENIED']=_0xeb087b(0x237),_0x3ea75c[_0xeb087b(0xf2)]=_0xeb087b(0xf2),_0x3ea75c['CLOSE_ROOM']='CLOSE_ROOM',_0x3ea75c['JOIN_ROOM_FAILED']='JOIN_ROOM_FAILED',_0x3ea75c[_0xeb087b(0x179)]=_0xeb087b(0x179),_0x3ea75c['SOCKET_FAILED']=_0xeb087b(0x16b),_0x3ea75c[_0xeb087b(0x1ec)]=_0xeb087b(0x1ec),_0x3ea75c))(se||{});class pe{constructor(){var _0x18efbd=_0xeb087b;N(this,_0x18efbd(0xd6),new _0x4cc0ff()),N(this,_0x18efbd(0x301),this['_event$'][_0x18efbd(0x125)]());}['emitEvent'](_0x39af29){var _0x10a07c=_0xeb087b;this[_0x10a07c(0xd6)]['next'](_0x39af29);}}const Pn=_0x482474(_0xeb087b(0x335));function xn(_0x250e19){var _0x5bfd9a=_0xeb087b,_0xd4f858,_0x318df4,_0xc0d5fd,_0xc24085,_0x1185b8;const _0x389b48=_0x250e19[_0x5bfd9a(0x36a)],_0x102b1b=JSON[_0x5bfd9a(0x2fb)](_0x389b48);switch(_0x102b1b['cmd']){case F[_0x5bfd9a(0x14b)]:case F[_0x5bfd9a(0x225)]:{const _0x4623fa=_0x102b1b[_0x5bfd9a(0x139)];return{..._0x102b1b,'data':_0x4623fa,'cmd':_0x102b1b['cmd']};}case F[_0x5bfd9a(0x197)]:{const _0x443d7c=_0x102b1b[_0x5bfd9a(0x363)];return{..._0x102b1b,'data':_0x443d7c,'cmd':_0x102b1b[_0x5bfd9a(0xc5)]};}case F[_0x5bfd9a(0x182)]:{const _0x4efeb4=_0x102b1b['collaMsg'];switch(_0x4efeb4[_0x5bfd9a(0x2d6)]){case _0x42cf7f[_0x5bfd9a(0x14e)]:return{..._0x102b1b,'data':{..._0x4efeb4,'data':(_0xd4f858=_0x4efeb4[_0x5bfd9a(0x22a)])==null?void 0x0:_0xd4f858['cs']},'cmd':_0x102b1b[_0x5bfd9a(0xc5)]};case _0x42cf7f[_0x5bfd9a(0x271)]:return{..._0x102b1b,'data':{..._0x4efeb4,'data':(_0x318df4=_0x4efeb4['csAckEvent'])==null?void 0x0:_0x318df4['cs']},'cmd':_0x102b1b[_0x5bfd9a(0xc5)]};case _0x42cf7f[_0x5bfd9a(0x344)]:return{..._0x102b1b,'data':{..._0x4efeb4,'data':(_0xc0d5fd=_0x4efeb4[_0x5bfd9a(0x302)])==null?void 0x0:_0xc0d5fd['cs']},'cmd':_0x102b1b['cmd']};case _0x42cf7f[_0x5bfd9a(0xad)]:return{..._0x102b1b,'data':{..._0x4efeb4,'data':(_0xc24085=_0x4efeb4['csRejEvent'])==null?void 0x0:_0xc24085['cs']},'cmd':_0x102b1b['cmd']};case _0x42cf7f[_0x5bfd9a(0x256)]:return{..._0x102b1b,'data':{..._0x4efeb4,'data':(_0x1185b8=_0x4efeb4['csShouldRetryEvent'])==null?void 0x0:_0x1185b8['cs']},'cmd':_0x102b1b[_0x5bfd9a(0xc5)]};case _0x42cf7f['UPDATE_CURSOR']:return{..._0x102b1b,'data':{..._0x4efeb4,'data':_0x4efeb4[_0x5bfd9a(0x2be)]},'cmd':_0x102b1b[_0x5bfd9a(0xc5)]};case _0x42cf7f[_0x5bfd9a(0x13a)]:return{..._0x102b1b,'data':{..._0x4efeb4,'data':_0x4efeb4[_0x5bfd9a(0x374)]},'cmd':_0x102b1b[_0x5bfd9a(0xc5)]};case _0x42cf7f[_0x5bfd9a(0x1c8)]:return{..._0x102b1b,'data':{..._0x4efeb4,'data':_0x4efeb4[_0x5bfd9a(0x281)]},'cmd':_0x102b1b[_0x5bfd9a(0xc5)]};case _0x42cf7f[_0x5bfd9a(0x126)]:return{..._0x102b1b,'data':{..._0x4efeb4,'data':_0x4efeb4[_0x5bfd9a(0x188)]},'cmd':_0x102b1b[_0x5bfd9a(0xc5)]};case _0x42cf7f['LIVESHARE_FETCH_OPERATIONS']:case _0x42cf7f[_0x5bfd9a(0x23f)]:return{..._0x102b1b,'data':{..._0x4efeb4,'data':_0x4efeb4['liveShareOperation']},'cmd':_0x102b1b[_0x5bfd9a(0xc5)]};case _0x42cf7f['LIVESHARE_TERMINATE']:return{..._0x102b1b,'data':{..._0x4efeb4,'data':_0x4efeb4[_0x5bfd9a(0x188)]},'cmd':_0x102b1b[_0x5bfd9a(0xc5)]};case _0x42cf7f[_0x5bfd9a(0x367)]:return{..._0x102b1b,'data':_0x4efeb4,'cmd':_0x102b1b[_0x5bfd9a(0xc5)]};case _0x42cf7f[_0x5bfd9a(0x38f)]:return{..._0x102b1b,'data':{..._0x4efeb4,'data':_0x4efeb4[_0x5bfd9a(0x377)]},'cmd':_0x102b1b['cmd']};case _0x42cf7f[_0x5bfd9a(0x38b)]:return{..._0x102b1b,'data':{..._0x4efeb4,'data':_0x4efeb4[_0x5bfd9a(0x13c)]},'cmd':_0x102b1b[_0x5bfd9a(0xc5)]};case _0x42cf7f['SHOULD_CLOSE_CONN']:return{..._0x102b1b,'data':{..._0x4efeb4,'data':_0x4efeb4[_0x5bfd9a(0x3ad)]},'cmd':_0x102b1b[_0x5bfd9a(0xc5)]};case _0x42cf7f[_0x5bfd9a(0x254)]:return{..._0x102b1b,'data':{..._0x4efeb4,'data':_0x4efeb4['uniscriptRunEvent']},'cmd':_0x102b1b[_0x5bfd9a(0xc5)]};default:return _0x102b1b;}}default:return _0x102b1b;}}function Ln(_0x15c0f1){var _0x212537=_0xeb087b;switch(_0x15c0f1['cmd']){case F[_0x212537(0x14b)]:case F[_0x212537(0x225)]:return JSON[_0x212537(0x259)]({'cmd':_0x15c0f1[_0x212537(0xc5)],'routeKey':_0x15c0f1[_0x212537(0x19f)]});case F[_0x212537(0x20f)]:{let _0x4a6f66;switch(_0x15c0f1[_0x212537(0x36a)][_0x212537(0x2d6)]){case _0x42cf7f[_0x212537(0x209)]:{_0x4a6f66={'eventID':_0x42cf7f['UPDATE_CURSOR'],'updateCursorEvent':_0x15c0f1[_0x212537(0x36a)]['data']};break;}case _0x42cf7f['USERS_LEAVE']:{_0x4a6f66={'eventID':_0x42cf7f[_0x212537(0x1c8)],'leaveEvent':_0x15c0f1[_0x212537(0x36a)]['data']};break;}case _0x42cf7f[_0x212537(0x13a)]:{_0x4a6f66={'eventID':_0x42cf7f['USERS_ENTER'],'joinEvent':_0x15c0f1['data'][_0x212537(0x36a)]};break;}case _0x42cf7f[_0x212537(0x126)]:{_0x4a6f66={'eventID':_0x42cf7f[_0x212537(0x126)],'liveShareNewHost':_0x15c0f1[_0x212537(0x36a)][_0x212537(0x36a)]};break;}case _0x42cf7f[_0x212537(0x23f)]:{_0x4a6f66={'eventID':_0x42cf7f[_0x212537(0x23f)],'liveShareOperation':_0x15c0f1[_0x212537(0x36a)][_0x212537(0x36a)]};break;}case _0x42cf7f[_0x212537(0x253)]:{_0x4a6f66={'eventID':_0x42cf7f[_0x212537(0x253)],'liveShareTerminate':_0x15c0f1[_0x212537(0x36a)][_0x212537(0x36a)]};break;}case _0x42cf7f['LIVESHARE_REQUEST_HOST']:{_0x4a6f66={'eventID':_0x42cf7f[_0x212537(0x1e9)],'liveShareRequestHost':_0x15c0f1[_0x212537(0x36a)][_0x212537(0x36a)]};break;}case _0x42cf7f[_0x212537(0x10d)]:{_0x4a6f66={'eventID':_0x42cf7f[_0x212537(0x10d)]};break;}default:_0x4a6f66={'eventID':_0x15c0f1['data'][_0x212537(0x2d6)]};}return JSON['stringify']({'cmd':_0x15c0f1[_0x212537(0xc5)],'routeKey':_0x15c0f1[_0x212537(0x19f)],'collaMsg':_0x4a6f66});}case F[_0x212537(0x197)]:return JSON[_0x212537(0x259)]({'cmd':_0x15c0f1['cmd'],'routeKey':_0x15c0f1[_0x212537(0x19f)],'joinReq':_0x15c0f1[_0x212537(0x36a)]});case F[_0x212537(0x389)]:return JSON[_0x212537(0x259)]({'cmd':_0x15c0f1[_0x212537(0xc5)],'routeKey':_0x15c0f1['routeKey'],'leaveReq':_0x15c0f1[_0x212537(0x36a)]});default:throw new Error(_0x212537(0x266));}}var Mn=Object[_0xeb087b(0x33d)],kn=(_0x15bb9a,_0x4639d2,_0x372588,_0x4394b2)=>{var _0x3630db=_0xeb087b;for(var _0x2e8921=_0x4394b2>0x1?void 0x0:_0x4394b2?Mn(_0x4639d2,_0x372588):_0x4639d2,_0x50424b=_0x15bb9a[_0x3630db(0x178)]-0x1,_0xb4bbb1;_0x50424b>=0x0;_0x50424b--)(_0xb4bbb1=_0x15bb9a[_0x50424b])&&(_0x2e8921=_0xb4bbb1(_0x2e8921)||_0x2e8921);return _0x2e8921;},we=(_0x331cbd,_0x1b3e90)=>(_0x58c7e2,_0x5dc74a)=>_0x1b3e90(_0x58c7e2,_0x5dc74a,_0x331cbd);const Ii=_0x482474(_0xeb087b(0x391));function $n(_0x599d47,_0x56fd2b,_0x594f2c){var _0x135e63=_0xeb087b;return _0x599d47+'/'+_0x56fd2b+_0x135e63(0x1aa)+_0x594f2c+_0x135e63(0x268);}let Gt=class extends _0x4f2ba2{constructor(_0x22383e,_0x6a20ed,_0xf8b2,_0x45878f,_0x28cbac){var _0x47b7a7=_0xeb087b;super(),this['_injector']=_0x22383e,this[_0x47b7a7(0x2ce)]=_0x6a20ed,this[_0x47b7a7(0x108)]=_0xf8b2,this['_logService']=_0x45878f,this[_0x47b7a7(0x1db)]=_0x28cbac;}[_0xeb087b(0x17b)](_0x523571){var _0x42cb31=_0xeb087b;const _0x4317e1=this[_0x42cb31(0x2f5)][_0x42cb31(0x1c9)](_0x35a1eb);if(!_0x4317e1)throw new Error(_0x42cb31(0x111));const _0x29d48f=_0x4317e1[_0x42cb31(0x136)](_0x523571);if(!_0x29d48f)throw new Error('[CollaborationSocketService]:\x20failed\x20to\x20create\x20socket!');const _0x3f7c91=new _0x4593c8(),_0x56cb81=new _0x4cc0ff();_0x3f7c91[_0x42cb31(0x224)](_0x29d48f[_0x42cb31(0x162)][_0x42cb31(0x2c0)](_0x15dc5c=>_0x56cb81[_0x42cb31(0x1a8)](_0x15dc5c))),_0x3f7c91[_0x42cb31(0x224)](_0x47a813(()=>_0x56cb81[_0x42cb31(0x358)]()));const _0x4697d9=new _0x4cc0ff();_0x3f7c91[_0x42cb31(0x224)](_0x29d48f[_0x42cb31(0x141)]['subscribe'](_0x363824=>_0x4697d9[_0x42cb31(0x1a8)](_0x363824))),_0x3f7c91['add'](_0x47a813(()=>_0x4697d9[_0x42cb31(0x358)]()));const _0x293341=new _0x4cc0ff();_0x3f7c91['add'](_0x29d48f[_0x42cb31(0x395)]['subscribe'](_0xcf3ec4=>{const _0x1eb1b5=xn(_0xcf3ec4);_0x293341['next'](_0x1eb1b5);})),_0x3f7c91[_0x42cb31(0x224)](_0x47a813(()=>_0x293341[_0x42cb31(0x358)]()));let _0x4f185a;const _0x143863=()=>{var _0x2c08b5=_0x42cb31;_0x4697d9[_0x2c08b5(0x1a8)](new Event(_0x2c08b5(0x1a9))),_0x56cb81[_0x2c08b5(0x1a8)](new Event(_0x2c08b5(0x1a9))),_0x4f185a[_0x2c08b5(0x2bb)]();};return _0x4f185a={'memberID':'','close$':_0x56cb81[_0x42cb31(0x125)](),'error$':_0x4697d9[_0x42cb31(0x125)](),'open$':_0x29d48f[_0x42cb31(0x106)],'message$':_0x293341[_0x42cb31(0x125)](),'send':_0x13b6b3=>{var _0x396b92=_0x42cb31;if(_0x13b6b3[_0x396b92(0xc5)]===F[_0x396b92(0x20f)]){if(_0x13b6b3[_0x396b92(0x36a)][_0x396b92(0x2d6)]===_0x42cf7f[_0x396b92(0x28e)]){this[_0x396b92(0x34e)](_0x4f185a,_0x13b6b3[_0x396b92(0x36a)])[_0x396b92(0xdd)](_0x42aca3=>{var _0x3668f3=_0x396b92;this['_logService'][_0x3668f3(0x22d)](_0x42aca3),_0x143863();});return;}if(_0x13b6b3['data'][_0x396b92(0x2d6)]===_0x42cf7f[_0x396b92(0x159)]){const _0x4d8e16=_0x13b6b3['data'];this['_fetchMissChangesets'](_0x4d8e16)['then'](_0x19cc44=>{var _0x213389=_0x396b92;_0x293341['next']({'cmd':F['RECV'],'code':ge['OK'],'routeKey':_0x4d8e16[_0x213389(0x36a)]['unitID'],'routeType':'','data':{'eventID':_0x42cf7f['PSEUDO_FETCH_MISSING_RESULT'],'data':{'changesets':_0x19cc44}}});})[_0x396b92(0xdd)](_0x477f85=>{var _0x15bd10=_0x396b92;this[_0x15bd10(0xe0)]['error'](_0x477f85),_0x143863();});return;}}_0x29d48f[_0x396b92(0x165)](Ln(_0x13b6b3));},'close':()=>{_0x29d48f['close'](),_0x3f7c91['dispose']();}},_0x4f185a;}async[_0xeb087b(0x34e)](_0x3fb488,_0x3fe924){var _0x27f246=_0xeb087b,_0x4db4f0,_0x4e4b54;const {unitType:_0x31b2a5,unitID:_0x82f16,changeset:_0x3a57a4}=_0x3fe924[_0x27f246(0x36a)],_0x4da3d3={'unitID':_0x82f16,'memberID':_0x3fb488[_0x27f246(0xd5)],'type':_0x31b2a5,'changeset':_0x207569(_0x3a57a4)},_0x196084=this[_0x27f246(0x108)][_0x27f246(0x183)](Nn),_0x2d8bed=this[_0x27f246(0x108)][_0x27f246(0x183)](q),_0x616e12=$n((_0x4e4b54=(_0x4db4f0=_0x2d8bed==null?void 0x0:_0x2d8bed['collabSubmitChangesetUrl'])!=null?_0x4db4f0:_0x196084)!=null?_0x4e4b54:Dn,_0x31b2a5,_0x82f16);try{await this[_0x27f246(0x2ce)]['post'](_0x616e12,{'body':_0x4da3d3});}catch(_0x1393b9){throw this['_logService'][_0x27f246(0x22d)](_0x27f246(0x25d),'submit\x20changeset\x20error!'),_0x1393b9;}}async[_0xeb087b(0x2fc)](_0x1fa55a){var _0x4c0f92=_0xeb087b;const {unitID:_0x437969,from:_0x423c65,to:_0xe7afa0,unitType:_0x448f3d}=_0x1fa55a['data'];return(await this[_0x4c0f92(0x1db)]['fetchMissingChangesets']({'metadata':void 0x0},{'unitID':_0x437969,'type':_0x448f3d,'from':_0x423c65,'to':_0xe7afa0}))[_0x4c0f92(0x2a3)];}};Gt=kn([we(0x0,_0x2e70ff(_0x1ce7a4)),we(0x1,_0x2e70ff(_0x5dbf74)),we(0x2,_0x5641d0),we(0x3,_0x55e24e),we(0x4,_0x4914df)],Gt);const Hn=_0xeb087b(0x1c6);function Bn(_0xa43d1a){var _0x2e84a0=_0xeb087b;return JSON[_0x2e84a0(0x259)](_0xa43d1a)[_0x2e84a0(0x178)];}class Ti{constructor(){var _0x2173fc=_0xeb087b;N(this,_0x2173fc(0x102),new _0x4cc0ff()),N(this,_0x2173fc(0x101),this[_0x2173fc(0x102)][_0x2173fc(0x125)]());}[_0xeb087b(0x2fa)](_0x5f54cd){var _0x190f48=_0xeb087b;this[_0x190f48(0x102)][_0x190f48(0x1a8)](_0x5f54cd);}}var jn=Object[_0xeb087b(0x33d)],Fn=(_0xbeea5d,_0x9e15e,_0x1d3ab7,_0x12ff7e)=>{var _0xb47c6e=_0xeb087b;for(var _0x1ea645=_0x12ff7e>0x1?void 0x0:_0x12ff7e?jn(_0x9e15e,_0x1d3ab7):_0x9e15e,_0xabe297=_0xbeea5d[_0xb47c6e(0x178)]-0x1,_0x38a811;_0xabe297>=0x0;_0xabe297--)(_0x38a811=_0xbeea5d[_0xabe297])&&(_0x1ea645=_0x38a811(_0x1ea645)||_0x1ea645);return _0x1ea645;},Wt=(_0x5e0b3a,_0x5ec0f1)=>(_0x11d7f5,_0xc43d87)=>_0x5ec0f1(_0x11d7f5,_0xc43d87,_0x5e0b3a);let xe=class extends _0x4f2ba2{constructor(_0x1b871b,_0x3c4841){var _0x24dc82=_0xeb087b;super(),N(this,_0x24dc82(0x1c5),new Map()),N(this,_0x24dc82(0x180),new _0x4cc0ff()),(this[_0x24dc82(0x1a7)]=_0x1b871b,this[_0x24dc82(0x2e7)]=_0x3c4841,this[_0x24dc82(0x287)](_0x51a939(this[_0x24dc82(0x1a7)][_0x24dc82(0x37e)](_0x84f43f[_0x24dc82(0x3a9)])[_0x24dc82(0xf5)](_0x4399b2(_0x325779=>_0x325779[_0x24dc82(0x155)]())),this[_0x24dc82(0x1a7)]['getTypeOfUnitDisposed$'](_0x84f43f[_0x24dc82(0x1a1)])['pipe'](_0x4399b2(_0x50252b=>_0x50252b[_0x24dc82(0x155)]())),this[_0x24dc82(0x1a7)]['getTypeOfUnitDisposed$'](_0x84f43f[_0x24dc82(0xfe)])[_0x24dc82(0xf5)](_0x4399b2(_0x4991fa=>_0x4991fa[_0x24dc82(0x155)]())))['subscribe'](_0x34a2b2=>this[_0x24dc82(0x362)](_0x34a2b2))));}['waitForRoom$'](_0x149b96){var _0x3ae678=_0xeb087b;return this[_0x3ae678(0x1c5)][_0x3ae678(0x19c)](_0x149b96)?_0x44e79b(this[_0x3ae678(0x1c5)][_0x3ae678(0x1c9)](_0x149b96)):this[_0x3ae678(0x180)][_0x3ae678(0xf5)](_0x4399b2(_0x2b506f=>{var _0x32b715=_0x3ae678;if(_0x2b506f===_0x149b96)return this[_0x32b715(0x1c5)][_0x32b715(0x1c9)](_0x2b506f);}));}[_0xeb087b(0x1ae)](_0x8f422b){var _0x18bbc6=_0xeb087b;this[_0x18bbc6(0x2e7)][_0x18bbc6(0x1ae)](_0x8f422b);}['getCurrentUser'](){var _0x399d7a=_0xeb087b;return this[_0x399d7a(0x2e7)][_0x399d7a(0x1a6)]();}[_0xeb087b(0x173)](_0x4ba399,_0x55047b){var _0x509654=_0xeb087b;let _0x1630e8=this[_0x509654(0x1c5)][_0x509654(0x1c9)](_0x4ba399);_0x1630e8||(_0x1630e8=new Vn(),this['_roomMembers'][_0x509654(0x36c)](_0x4ba399,_0x1630e8),this['_roomCreated$']['next'](_0x4ba399)),_0x1630e8['updateMember'](_0x55047b);}[_0xeb087b(0x2d2)](_0x583cdb,_0x3b62bc){var _0x377378=_0xeb087b;const _0x5701c0=this[_0x377378(0x1c5)]['get'](_0x583cdb);_0x5701c0&&_0x5701c0[_0x377378(0x2d2)](_0x3b62bc);}[_0xeb087b(0x285)](_0x4aa3d1){var _0x22d846=_0xeb087b;return this[_0x22d846(0x1c5)][_0x22d846(0x1c9)](_0x4aa3d1);}[_0xeb087b(0x1b8)](_0xb66cf6,_0x50e98d){var _0x304384=_0xeb087b;const _0x1328c9=this[_0x304384(0x1c5)][_0x304384(0x1c9)](_0xb66cf6);if(_0x1328c9)return _0x1328c9['getMember'](_0x50e98d);}['_removeRoom'](_0x142512){var _0x27f4ed=_0xeb087b;const _0x85d0f7=this[_0x27f4ed(0x1c5)][_0x27f4ed(0x1c9)](_0x142512);_0x85d0f7&&(_0x85d0f7[_0x27f4ed(0x328)](),this[_0x27f4ed(0x1c5)][_0x27f4ed(0x317)](_0x142512));}['dispose'](){var _0x28d93b=_0xeb087b;this['_roomMembers'][_0x28d93b(0x164)](_0x59e7b4=>_0x59e7b4['dispose']()),this[_0x28d93b(0x1c5)][_0x28d93b(0x11e)](),this[_0x28d93b(0x180)][_0x28d93b(0x358)]();}};xe=Fn([Wt(0x0,_0x30685d),Wt(0x1,_0x2e70ff(_0x57c4cc))],xe);class Vn extends _0x4f2ba2{constructor(){var _0x3e2eb1=_0xeb087b;super(...arguments),N(this,_0x3e2eb1(0x300),new Map()),N(this,_0x3e2eb1(0x370),new _0x1a7ee6(this['_members'])),N(this,_0x3e2eb1(0x337),this[_0x3e2eb1(0x370)][_0x3e2eb1(0x125)]());}[_0xeb087b(0x328)](){var _0x5597d4=_0xeb087b;this[_0x5597d4(0x300)][_0x5597d4(0x11e)]();}[_0xeb087b(0x173)](_0x38803e){var _0x43d80f=_0xeb087b;this['_members'][_0x43d80f(0x36c)](_0x38803e[_0x43d80f(0xd5)],_0x38803e),this['_emitMembers']();}[_0xeb087b(0x2d2)](_0xbf13eb){var _0x398553=_0xeb087b;this[_0x398553(0x300)]['delete'](_0xbf13eb);}[_0xeb087b(0x1b8)](_0x1eff19){var _0x662eb=_0xeb087b;return this[_0x662eb(0x300)][_0x662eb(0x1c9)](_0x1eff19);}['getAllMembers'](){var _0x50dcc8=_0xeb087b;return Array['from'](this['_members'][_0x50dcc8(0x2f8)]());}[_0xeb087b(0x351)](){var _0x58bb59=_0xeb087b;this['_members$'][_0x58bb59(0x1a8)](this[_0x58bb59(0x300)]);}}var Gn=Object[_0xeb087b(0x33d)],Wn=(_0x2cad21,_0x4f6d9e,_0x178456,_0x1a5d3e)=>{var _0x3142d3=_0xeb087b;for(var _0x586a09=_0x1a5d3e>0x1?void 0x0:_0x1a5d3e?Gn(_0x4f6d9e,_0x178456):_0x4f6d9e,_0x2d855c=_0x2cad21[_0x3142d3(0x178)]-0x1,_0x37c900;_0x2d855c>=0x0;_0x2d855c--)(_0x37c900=_0x2cad21[_0x2d855c])&&(_0x586a09=_0x37c900(_0x586a09)||_0x586a09);return _0x586a09;},me=(_0x580e1e,_0x43d2b7)=>(_0x2d9368,_0xb67faa)=>_0x43d2b7(_0x2d9368,_0xb67faa,_0x580e1e),Ee=(_0x40edfe=>(_0x40edfe[_0x40edfe['IDLE']=0x0]=_0xeb087b(0x2d8),_0x40edfe[_0x40edfe[_0xeb087b(0x276)]=0x1]=_0xeb087b(0x276),_0x40edfe[_0x40edfe[_0xeb087b(0x257)]=0x2]='OFFLINE',_0x40edfe[_0x40edfe[_0xeb087b(0x399)]=0x3]='ONLINE',_0x40edfe))(Ee||{});const Kt={[ge[_0xeb087b(0xae)]]:_0xeb087b(0x28f),[ge[_0xeb087b(0xac)]]:_0xeb087b(0x1fc),[ge[_0xeb087b(0x270)]]:'session.room-not-exists',[ge['JOIN_ROOM_PERMISSION_DENIED']]:_0xeb087b(0x388),[ge['GLOBAL_ROOMS_CNT_EXCEEDS']]:_0xeb087b(0x284)};let Et=class extends _0x2b51ba{constructor(_0x2a3c9f,_0x39dbe9,_0x48a015,_0x5e3361,_0x3dddc2,_0x1dcf9a,_0x1ca930,_0x54c42b,_0x144686){var _0x7c8136=_0xeb087b;super(),N(this,_0x7c8136(0x157),new _0x1a7ee6(0x0)),N(this,'sessionStatus$',this[_0x7c8136(0x157)][_0x7c8136(0x125)]()),N(this,_0x7c8136(0xd6),new _0x4cc0ff()),N(this,'event$',this[_0x7c8136(0xd6)][_0x7c8136(0x125)]()),N(this,_0x7c8136(0x355)),N(this,'_socketMessageSubscription'),N(this,'_collaborationTimeoutTimer'),N(this,_0x7c8136(0x29b),!0x1),N(this,'_telemetryInfo',null),(this[_0x7c8136(0x245)]=_0x2a3c9f,this[_0x7c8136(0xe0)]=_0x48a015,this['_configService']=_0x5e3361,this[_0x7c8136(0x1f1)]=_0x3dddc2,this[_0x7c8136(0x2a7)]=_0x1dcf9a,this[_0x7c8136(0x2c3)]=_0x1ca930,this['_collaborationUIEventService']=_0x54c42b,this[_0x7c8136(0x294)]=_0x144686,this['_shouldReportTelemetry']=!!this[_0x7c8136(0x294)],_0x39dbe9[_0x7c8136(0xf5)](_0x32d0c3(this[_0x7c8136(0x15d)]))['subscribe'](_0x1027ca=>{var _0x43d870=_0x7c8136,_0x5d3a5a;typeof _0x1027ca>'u'||(this[_0x43d870(0x355)]=_0x1027ca,_0x1027ca?(this[_0x43d870(0x250)](_0x1027ca),this[_0x43d870(0x38c)]=_0x1027ca[_0x43d870(0x395)]['subscribe'](_0x165e39=>{var _0x145f03=_0x43d870;_0x165e39[_0x145f03(0x19f)]===this[_0x145f03(0x245)]&&this[_0x145f03(0x16a)](_0x165e39);})):(this[_0x43d870(0x238)](),this[_0x43d870(0x157)][_0x43d870(0x1a8)](0x2),(_0x5d3a5a=this[_0x43d870(0x38c)])==null||_0x5d3a5a['unsubscribe'](),this[_0x43d870(0x38c)]=null));}));}get[_0xeb087b(0x171)](){var _0x103dbf=_0xeb087b;return this['_sessionStatus$'][_0x103dbf(0x275)]();}[_0xeb087b(0x1cd)](){var _0x43cd42=_0xeb087b,_0x996a63,_0xe35686;return(_0xe35686=(_0x996a63=this[_0x43cd42(0x355)])==null?void 0x0:_0x996a63[_0x43cd42(0xd5)])!=null?_0xe35686:null;}[_0xeb087b(0x328)](){var _0x2d98db=_0xeb087b;super[_0x2d98db(0x328)](),this[_0x2d98db(0x15d)]['next'](),this[_0x2d98db(0x15d)][_0x2d98db(0x358)]();}[_0xeb087b(0x2bb)](){var _0x49cb42=_0xeb087b,_0x2038c0,_0x12b1b2;this['_throwTelemetryCollaborationNewChangeset'](),(_0x2038c0=this['_socket'])==null||_0x2038c0[_0x49cb42(0x165)]({'cmd':F[_0x49cb42(0x389)],'data':{'roomID':this[_0x49cb42(0x245)]}}),(_0x12b1b2=this[_0x49cb42(0x355)])==null||_0x12b1b2[_0x49cb42(0x2bb)](),this[_0x49cb42(0xd6)][_0x49cb42(0x358)](),this['_sessionStatus$']['complete'](),this['dispose']();}[_0xeb087b(0x16a)](_0x257d7a){var _0x44dbfb=_0xeb087b;_0x257d7a[_0x44dbfb(0xc5)]===F[_0x44dbfb(0x197)]?this[_0x44dbfb(0x34d)](_0x257d7a):_0x257d7a['cmd']===F[_0x44dbfb(0x182)]&&this[_0x44dbfb(0x208)](_0x257d7a);}[_0xeb087b(0x250)](_0x474f23){var _0x29fc14=_0xeb087b;this[_0x29fc14(0x157)][_0x29fc14(0x1a8)](0x1),_0x474f23[_0x29fc14(0x165)]({'cmd':F[_0x29fc14(0x197)],'routeKey':this[_0x29fc14(0x245)],'routeType':'','data':{'rooms':[{'roomID':this[_0x29fc14(0x245)]}]}});}['_onJoinRoomEvent'](_0x3d4b61){var _0x2d2f5d=_0xeb087b,_0x12467c;if(_0x3d4b61[_0x2d2f5d(0xe8)]in Kt){this[_0x2d2f5d(0x107)]['emitEvent']({'id':se[_0x2d2f5d(0xe4)],'data':Kt[_0x3d4b61[_0x2d2f5d(0xe8)]]}),this[_0x2d2f5d(0x157)][_0x2d2f5d(0x1a8)](0x2);return;}this[_0x2d2f5d(0x157)]['next'](0x3);const _0x216ec4=(_0x12467c=_0x3d4b61['data'][_0x2d2f5d(0x248)][this[_0x2d2f5d(0x245)]])==null?void 0x0:_0x12467c['members'];_0x216ec4&&_0x216ec4[_0x2d2f5d(0x164)](_0x24dfa2=>this[_0x2d2f5d(0x2a7)][_0x2d2f5d(0x173)](this['_unitID'],_0x24dfa2));}[_0xeb087b(0x208)](_0x81219b){var _0x3dae7a=_0xeb087b;try{const _0x2cd0ba=_0x81219b[_0x3dae7a(0x36a)];switch(_0x2cd0ba[_0x3dae7a(0x2d6)]){case _0x42cf7f['USERS_ENTER']:this['_onUserJoin'](_0x2cd0ba),this[_0x3dae7a(0xd6)][_0x3dae7a(0x1a8)](_0x2cd0ba);break;case _0x42cf7f[_0x3dae7a(0x1c8)]:this[_0x3dae7a(0x304)](_0x2cd0ba),this[_0x3dae7a(0xd6)][_0x3dae7a(0x1a8)](_0x2cd0ba);break;case _0x42cf7f['CHANGESET_ACK']:case _0x42cf7f[_0x3dae7a(0x256)]:this['_stopTelemetryCollaborationNewChangeset'](),this[_0x3dae7a(0x345)](),this[_0x3dae7a(0xd6)][_0x3dae7a(0x1a8)](_0x2cd0ba);break;case _0x42cf7f[_0x3dae7a(0x367)]:this['_logService'][_0x3dae7a(0x22d)](_0x3dae7a(0xdb)+JSON[_0x3dae7a(0x259)](_0x2cd0ba)),this['_event$']['next'](_0x2cd0ba);break;case _0x42cf7f[_0x3dae7a(0x38f)]:this['_commentService'][_0x3dae7a(0x2fa)](_0x2cd0ba[_0x3dae7a(0x36a)]),this[_0x3dae7a(0xd6)]['next'](_0x2cd0ba);break;default:this['_event$'][_0x3dae7a(0x1a8)](_0x2cd0ba);}}catch(_0x1f957b){this[_0x3dae7a(0xe0)]['error'](_0x1f957b,_0x81219b);}}['_onUserJoin'](_0x28e162){var _0x366403=_0xeb087b;this[_0x366403(0x2a7)][_0x366403(0x173)](this['_unitID'],_0x28e162[_0x366403(0x36a)]);}['_onUserLeave'](_0x502ddf){var _0xe89f30=_0xeb087b;this[_0xe89f30(0x2a7)][_0xe89f30(0x2d2)](this[_0xe89f30(0x245)],_0x502ddf[_0xe89f30(0x36a)][_0xe89f30(0xd5)]);}async[_0xeb087b(0x165)](_0x2f4b06,_0xd47c4a){var _0x35c039=_0xeb087b;if(this[_0x35c039(0x171)]!==0x3||!this[_0x35c039(0x355)])throw new Error(_0x35c039(0x38d));try{_0x2f4b06[_0x35c039(0x2d6)]===_0x42cf7f[_0x35c039(0x28e)]&&(this[_0x35c039(0xb1)](),this[_0x35c039(0x22e)](_0x2f4b06)),this[_0x35c039(0x355)][_0x35c039(0x165)]({'cmd':F[_0x35c039(0x20f)],'routeKey':_0xd47c4a,'routeType':'','data':_0x2f4b06});}catch(_0x40908f){this[_0x35c039(0xe0)][_0x35c039(0x22d)](_0x40908f);}}[_0xeb087b(0xb1)](){var _0x45bf82=_0xeb087b,_0x4befa9;this[_0x45bf82(0x25e)]=setTimeout(()=>{var _0x269692=_0x45bf82;this[_0x269692(0x25e)]=null,this[_0x269692(0x107)][_0x269692(0x1d4)]({'id':se[_0x269692(0x1ec)]});},(_0x4befa9=this[_0x45bf82(0x108)][_0x45bf82(0x183)](mi))!=null?_0x4befa9:gi);}[_0xeb087b(0x345)](){var _0xe4e510=_0xeb087b;this[_0xe4e510(0x25e)]&&(clearTimeout(this[_0xe4e510(0x25e)]),this[_0xe4e510(0x25e)]=null);}['_startTelemetryCollaborationNewChangeset'](_0xebff7){var _0x4c2e0f=_0xeb087b;if(!this['_shouldReportTelemetry'])return;const {data:_0x46a2c2}=_0xebff7,{unitID:_0x583c89,changeset:_0x4d8055}=_0x46a2c2,{mutations:_0x2f34c3,type:_0x38ce2d}=_0x4d8055;this[_0x4c2e0f(0x286)]={'unitId':_0x583c89,'type':_0x38ce2d,'startTime':performance[_0x4c2e0f(0x31c)](),'stopTime':0x0,'duration':0x0,'size':Bn(_0x2f34c3)};}[_0xeb087b(0x12c)](){var _0x2e8490=_0xeb087b;if(this['_shouldReportTelemetry']){if(!this[_0x2e8490(0x286)]){this[_0x2e8490(0xe0)][_0x2e8490(0x22d)](_0x2e8490(0x25d),_0x2e8490(0x375));return;}this[_0x2e8490(0x286)][_0x2e8490(0x190)]=performance[_0x2e8490(0x31c)](),this[_0x2e8490(0x286)][_0x2e8490(0x17d)]=this[_0x2e8490(0x286)][_0x2e8490(0x190)]-this[_0x2e8490(0x286)]['startTime'],this[_0x2e8490(0x294)]['capture'](Hn,this[_0x2e8490(0x286)]),this[_0x2e8490(0x286)]=null;}}[_0xeb087b(0x238)](){var _0x28e0d5=_0xeb087b;this[_0x28e0d5(0x286)]=null;}};Et=Wn([me(0x2,_0x55e24e),me(0x3,_0x5641d0),me(0x4,_0x2e70ff(_0x2f6c43)),me(0x5,_0x2e70ff(xe)),me(0x6,_0x2e70ff(Ti)),me(0x7,_0x2e70ff(pe)),me(0x8,_0x12fd4d(_0x1d5fbf))],Et);var Kn=Object[_0xeb087b(0x33d)],Yn=(_0xe0cad2,_0x1cba4c,_0x1b5523,_0x5ed3c4)=>{var _0x322623=_0xeb087b;for(var _0x217a83=_0x5ed3c4>0x1?void 0x0:_0x5ed3c4?Kn(_0x1cba4c,_0x1b5523):_0x1cba4c,_0x541dc6=_0xe0cad2[_0x322623(0x178)]-0x1,_0x37b192;_0x541dc6>=0x0;_0x541dc6--)(_0x37b192=_0xe0cad2[_0x541dc6])&&(_0x217a83=_0x37b192(_0x217a83)||_0x217a83);return _0x217a83;},be=(_0x4354e5,_0x17ae86)=>(_0x24309a,_0x3d539e)=>_0x17ae86(_0x24309a,_0x3d539e,_0x4354e5);let Le=class extends _0x4f2ba2{constructor(_0x1a43af,_0x12d7d5,_0x59a73d,_0x1b539d,_0x1b6177,_0x294e5c){var _0x1e68b6=_0xeb087b;super(),N(this,_0x1e68b6(0x339),new _0x1a7ee6(void 0x0)),N(this,_0x1e68b6(0x3b3),this[_0x1e68b6(0x339)][_0x1e68b6(0x125)]()),N(this,'_candidateSocket',null),N(this,_0x1e68b6(0x32b),new Map()),N(this,_0x1e68b6(0x129),new _0x1a7ee6(Ee[_0x1e68b6(0x2d8)])),N(this,_0x1e68b6(0xc1),this[_0x1e68b6(0x129)]['asObservable']()),N(this,_0x1e68b6(0x161),!0x1),N(this,'_retryConnectingTimer'),N(this,'_retryCount',0x0),N(this,_0x1e68b6(0x1af)),N(this,_0x1e68b6(0xc2)),(this[_0x1e68b6(0x2f5)]=_0x1a43af,this[_0x1e68b6(0xe0)]=_0x12d7d5,this[_0x1e68b6(0x108)]=_0x59a73d,this[_0x1e68b6(0x109)]=_0x1b539d,this[_0x1e68b6(0x107)]=_0x1b6177,this[_0x1e68b6(0x148)]=_0x294e5c,this[_0x1e68b6(0x137)]());}get[_0xeb087b(0x355)](){var _0x36d2b7=_0xeb087b;return this[_0x36d2b7(0x339)][_0x36d2b7(0x275)]();}[_0xeb087b(0x137)](){var _0x39dd66=_0xeb087b;this[_0x39dd66(0x148)]&&this[_0x39dd66(0x287)](this[_0x39dd66(0x148)][_0x39dd66(0x2e1)][_0x39dd66(0x2c0)](_0x6e4f7e=>{var _0x15520e=_0x39dd66;_0x6e4f7e&&!this[_0x15520e(0x355)]&&this[_0x15520e(0x2cc)](),_0x6e4f7e||this[_0x15520e(0x151)]();}));}[_0xeb087b(0x328)](){var _0x7fb2a5=_0xeb087b;super['dispose'](),this[_0x7fb2a5(0xb8)](),this[_0x7fb2a5(0x18b)](),this['_clearHeartbeatTimer'](),this[_0x7fb2a5(0x32b)][_0x7fb2a5(0x164)](_0x48d856=>_0x48d856[_0x7fb2a5(0x328)]()),this[_0x7fb2a5(0x32b)][_0x7fb2a5(0x11e)](),this[_0x7fb2a5(0x129)][_0x7fb2a5(0x358)]();}async[_0xeb087b(0x2d7)](_0x497fee){var _0x1faacb=_0xeb087b;if(this[_0x1faacb(0x32b)][_0x1faacb(0x19c)](_0x497fee))return this[_0x1faacb(0x32b)]['get'](_0x497fee);this[_0x1faacb(0x235)]();const _0x5d046a=this[_0x1faacb(0x2f5)][_0x1faacb(0x21e)](Et,_0x497fee,this['_socket$'][_0x1faacb(0x125)]());return this['_sessions'][_0x1faacb(0x36c)](_0x497fee,_0x5d046a),_0x5d046a;}['closeSession'](_0x40ef12){var _0x36651f=_0xeb087b,_0x4f2e2a;const _0x4767ee=this[_0x36651f(0x32b)][_0x36651f(0x1c9)](_0x40ef12);_0x4767ee&&(this[_0x36651f(0x32b)][_0x36651f(0x317)](_0x40ef12),_0x4767ee[_0x36651f(0x2bb)]()),this[_0x36651f(0x32b)][_0x36651f(0xff)]||(_0x4f2e2a=this['_socket'])==null||_0x4f2e2a['close']();}['reconnect'](){var _0x2ca3d4=_0xeb087b;this['_retryCount']=0x0,this[_0x2ca3d4(0xb8)](),this[_0x2ca3d4(0x1b3)]();}[_0xeb087b(0xb8)](){var _0x3b6f7e=_0xeb087b;this[_0x3b6f7e(0x1d0)]!=null&&(clearTimeout(this[_0x3b6f7e(0x1d0)]),this[_0x3b6f7e(0x1d0)]=null);}async[_0xeb087b(0x2c1)](){var _0x42206a=_0xeb087b,_0x53fe6a,_0x513a44;const _0x3a6ca9=this[_0x42206a(0x108)][_0x42206a(0x183)](In),_0x1918d4=this['_configService']['getConfig'](q),_0x382c18=(_0x513a44=(_0x53fe6a=_0x1918d4==null?void 0x0:_0x1918d4[_0x42206a(0x2e8)])!=null?_0x53fe6a:_0x3a6ca9)!=null?_0x513a44:Tn,_0x22221a=await this[_0x42206a(0x109)][_0x42206a(0x136)](_0x382c18);return this[_0x42206a(0xbc)]=_0x22221a,_0x22221a;}async['_tryEnsureSocket'](){var _0x108311=_0xeb087b,_0x580ed1,_0x3d9fc3;try{const _0x3a403f=(_0x3d9fc3=(_0x580ed1=this[_0x108311(0x355)])!=null?_0x580ed1:this[_0x108311(0xbc)])!=null?_0x3d9fc3:await this[_0x108311(0x2c1)]();if(_0x3a403f){const _0x5bc55b=_0x3a403f[_0x108311(0x165)];_0x3a403f['send']=_0x590292=>(this['_rescheduleHeartbeat'](),_0x5bc55b[_0x108311(0x18d)](_0x3a403f,[_0x590292])),_0x3a403f['message$'][_0x108311(0x2c0)](_0x55f172=>this[_0x108311(0x243)](_0x3a403f,_0x55f172)),_0x3a403f[_0x108311(0x141)][_0x108311(0xf5)](_0x44b7df(0x1))[_0x108311(0x2c0)](_0x49ec1c=>this['_logService'][_0x108311(0x22d)]('[CollaborationSessionService]:\x20socket\x20error',_0x49ec1c)),_0x3a403f[_0x108311(0x106)][_0x108311(0xf5)](_0x44b7df(0x1))[_0x108311(0x2c0)](()=>{var _0x389adb=_0x108311;this[_0x389adb(0x246)](_0x3a403f);}),_0x3a403f[_0x108311(0x162)][_0x108311(0xf5)](_0x44b7df(0x1))[_0x108311(0x2c0)](_0x174774=>{var _0x2b5342=_0x108311;this[_0x2b5342(0xe0)][_0x2b5342(0x1d2)]('[CollaborationSessionService]',_0x2b5342(0x1d7),_0x174774),this[_0x2b5342(0x361)]();});}}catch(_0x4fa285){this['_logService'][_0x108311(0x22d)](_0x4fa285),this[_0x108311(0x361)]();}}[_0xeb087b(0x246)](_0x322b88){var _0x288f2f=_0xeb087b;this['_logService'][_0x288f2f(0x1d2)](_0x288f2f(0x2dd),'socket\x20open.'),_0x322b88[_0x288f2f(0x165)]({'cmd':F[_0x288f2f(0x225)]}),this[_0x288f2f(0x1bb)]();}[_0xeb087b(0x151)](){var _0x2fc04f=_0xeb087b;this[_0x2fc04f(0x161)]=!0x1,this[_0x2fc04f(0xbc)]=null,this[_0x2fc04f(0x129)][_0x2fc04f(0x1a8)](Ee[_0x2fc04f(0x257)]),this[_0x2fc04f(0x339)][_0x2fc04f(0x1a8)](null),this[_0x2fc04f(0x18b)](),this['_clearHeartbeatTimer']();}['_onConnectionFailed'](){var _0x4e1c3d=_0xeb087b,_0x20d217;this[_0x4e1c3d(0x151)](),this['_retryCount']<((_0x20d217=this[_0x4e1c3d(0x108)]['getConfig'](yn))!=null?_0x20d217:On)?(this['_collaborationUIEventService'][_0x4e1c3d(0x1d4)]({'id':se[_0x4e1c3d(0x179)]}),this[_0x4e1c3d(0x1b3)]()):this[_0x4e1c3d(0x107)][_0x4e1c3d(0x1d4)]({'id':se[_0x4e1c3d(0x16b)]});}[_0xeb087b(0x1b3)](){var _0xf60175=_0xeb087b,_0x45f661;const _0x303937=this['_retryCount'],_0x39950e=this[_0xf60175(0x108)][_0xf60175(0x183)](q),_0x5a99f3=_0x303937===0x0?0x0:((_0x45f661=_0x39950e==null?void 0x0:_0x39950e['retryConnectingInterval'])!=null?_0x45f661:bn)*0x2**_0x303937;this[_0xf60175(0x1d0)]=setTimeout(()=>{var _0x10d2c6=_0xf60175;clearTimeout(this[_0x10d2c6(0x1d0)]),this['_retryConnectingTimer']=null,this['_tryEnsureSocket']();},_0x5a99f3),this[_0xf60175(0x2de)]+=0x1;}[_0xeb087b(0x243)](_0xd58b67,_0x2ee453){var _0x24946a=_0xeb087b;const {cmd:_0x20af5d}=_0x2ee453;_0x20af5d===F[_0x24946a(0x225)]&&!this[_0x24946a(0x161)]&&(_0xd58b67[_0x24946a(0xd5)]=_0x2ee453[_0x24946a(0x36a)]['memberID'],this[_0x24946a(0x339)][_0x24946a(0x1a8)](_0xd58b67),this[_0x24946a(0x129)][_0x24946a(0x1a8)](Ee[_0x24946a(0x399)]),this['_socketReady']=!0x0,this[_0x24946a(0xbc)]=null),_0x20af5d===F['HEARTBEAT']&&this['_clearTimeoutTimer'](),this[_0x24946a(0x1bb)]();}[_0xeb087b(0x1bb)](){var _0x1deb6e=_0xeb087b,_0x119736;this['_clearHeartbeatTimer'](),this[_0x1deb6e(0x1af)]=setTimeout(()=>this['_sendHeartbeat'](),(_0x119736=this[_0x1deb6e(0x108)][_0x1deb6e(0x183)](Cn))!=null?_0x119736:Rn);}[_0xeb087b(0x2ac)](){var _0x2e5629=_0xeb087b;this[_0x2e5629(0x355)][_0x2e5629(0x165)]({'cmd':F[_0x2e5629(0x14b)]}),this['_waitForHeartbeatResponse']();}[_0xeb087b(0x3a5)](){var _0x2f4b5f=_0xeb087b,_0x2f23ff;this[_0x2f4b5f(0xc2)]=setTimeout(()=>this[_0x2f4b5f(0x361)](),(_0x2f23ff=this[_0x2f4b5f(0x108)][_0x2f4b5f(0x183)](mi))!=null?_0x2f23ff:gi);}['_clearHeartbeatTimer'](){var _0x1ef680=_0xeb087b;this['_sendHeartbeatTimer']!=null&&(clearTimeout(this[_0x1ef680(0x1af)]),this[_0x1ef680(0x1af)]=null);}[_0xeb087b(0x18b)](){var _0x65089a=_0xeb087b;this[_0x65089a(0xc2)]!=null&&(clearTimeout(this[_0x65089a(0xc2)]),this[_0x65089a(0xc2)]=null);}};Le=Yn([be(0x0,_0x2e70ff(_0x1ce7a4)),be(0x1,_0x55e24e),be(0x2,_0x5641d0),be(0x3,Ii),be(0x4,_0x2e70ff(pe)),be(0x5,_0x12fd4d(Pn))],Le);const V=[];for(let t=0x0;t<0x100;++t)V['push']((t+0x100)['toString'](0x10)[_0xeb087b(0x329)](0x1));function qn(_0x4a544a,_0x2a9066=0x0){var _0x2ee571=_0xeb087b;return(V[_0x4a544a[_0x2a9066+0x0]]+V[_0x4a544a[_0x2a9066+0x1]]+V[_0x4a544a[_0x2a9066+0x2]]+V[_0x4a544a[_0x2a9066+0x3]]+'-'+V[_0x4a544a[_0x2a9066+0x4]]+V[_0x4a544a[_0x2a9066+0x5]]+'-'+V[_0x4a544a[_0x2a9066+0x6]]+V[_0x4a544a[_0x2a9066+0x7]]+'-'+V[_0x4a544a[_0x2a9066+0x8]]+V[_0x4a544a[_0x2a9066+0x9]]+'-'+V[_0x4a544a[_0x2a9066+0xa]]+V[_0x4a544a[_0x2a9066+0xb]]+V[_0x4a544a[_0x2a9066+0xc]]+V[_0x4a544a[_0x2a9066+0xd]]+V[_0x4a544a[_0x2a9066+0xe]]+V[_0x4a544a[_0x2a9066+0xf]])[_0x2ee571(0x34c)]();}let ut;const zn=new Uint8Array(0x10);function Jn(){var _0x277df7=_0xeb087b;if(!ut){if(typeof crypto>'u'||!crypto[_0x277df7(0x383)])throw new Error(_0x277df7(0x170));ut=crypto['getRandomValues'][_0x277df7(0x2ea)](crypto);}return ut(zn);}const Xn=typeof crypto<'u'&&crypto[_0xeb087b(0x1cb)]&&crypto[_0xeb087b(0x1cb)][_0xeb087b(0x2ea)](crypto),Yt={'randomUUID':Xn};function Zn(_0x18ece2,_0x11bc9e,_0x5d1af7){var _0x28c13b=_0xeb087b,_0xc648d3,_0x458a07,_0x3cea2c;if(Yt[_0x28c13b(0x1cb)]&&!_0x18ece2)return Yt[_0x28c13b(0x1cb)]();_0x18ece2=_0x18ece2||{};const _0x21271e=(_0x3cea2c=(_0x458a07=_0x18ece2['random'])!=null?_0x458a07:(_0xc648d3=_0x18ece2[_0x28c13b(0x219)])==null?void 0x0:_0xc648d3['call'](_0x18ece2))!=null?_0x3cea2c:Jn();if(_0x21271e[_0x28c13b(0x178)]<0x10)throw new Error('Random\x20bytes\x20length\x20must\x20be\x20>=\x2016');return _0x21271e[0x6]=_0x21271e[0x6]&0xf|0x40,_0x21271e[0x8]=_0x21271e[0x8]&0x3f|0x80,qn(_0x21271e);}const J=_0x482474(_0xeb087b(0x1c2));function Bs(_0x8b764a){var _0x171ee5=_0xeb087b;return _0x171ee5(0x378)+_0x8b764a;}var Qn=Object[_0xeb087b(0x33d)],er=(_0x57ca13,_0xc811b3,_0x3cea46,_0x2756bc)=>{var _0x5bb04f=_0xeb087b;for(var _0x50757e=_0x2756bc>0x1?void 0x0:_0x2756bc?Qn(_0xc811b3,_0x3cea46):_0xc811b3,_0xe5f3ab=_0x57ca13[_0x5bb04f(0x178)]-0x1,_0x5dd9a5;_0xe5f3ab>=0x0;_0xe5f3ab--)(_0x5dd9a5=_0x57ca13[_0xe5f3ab])&&(_0x50757e=_0x5dd9a5(_0x50757e)||_0x50757e);return _0x50757e;},dt=(_0x57d218,_0x4a088b)=>(_0x1a6582,_0x4ca63d)=>_0x4a088b(_0x1a6582,_0x4ca63d,_0x57d218);function tr(_0x2875d4){var _0x15fa0a=_0xeb087b;const {unitID:_0x54a051,mutations:_0x4a12a7}=_0x2875d4;return{'unitId':_0x54a051,'subUnitId':_0x4a12a7[0x0][_0x15fa0a(0x315)][_0x15fa0a(0xca)]};}let it=class{constructor(_0x4abffe,_0x2ab698,_0x507736){var _0x3d7158=_0xeb087b;this['_injector']=_0x4abffe,this['_transformService']=_0x2ab698,this[_0x3d7158(0xec)]=_0x507736;}[_0xeb087b(0x172)](_0x211934){var _0x3fae4e=_0xeb087b,_0x55f356,_0x4bb258,_0x3a1111,_0x4109d8;const _0x320f50=this[_0x3fae4e(0x2f5)][_0x3fae4e(0x1c9)](_0x36911e),{unitId:_0x5134b2,subUnitId:_0x51fd10}=tr(_0x211934),_0x46a716=_0x320f50==null?void 0x0:_0x320f50['getWorkbookSelections'](_0x5134b2)['getCurrentSelections'](),_0x20c462=(_0x4bb258=(_0x55f356=this[_0x3fae4e(0xec)][_0x3fae4e(0x39e)](_0x5134b2))==null?void 0x0:_0x55f356[_0x3fae4e(0x158)]())==null?void 0x0:_0x4bb258[_0x3fae4e(0x15b)]();if(_0x46a716[_0x3fae4e(0x178)]===0x0||!_0x5134b2||!_0x51fd10)return;const _0x41d5d7=[{'id':_0x1036a0['id'],'params':{'unitId':_0x5134b2,'subUnitId':_0x20c462,'selections':_0x181792[_0x3fae4e(0x24d)](_0x46a716)}}],_0x24f454=this['_transformService'][_0x3fae4e(0x313)](_0x211934,_0x41d5d7);if(!_0x16c0b4(_0x24f454))throw _0x24f454['error'];const _0x1b86ec=(_0x4109d8=(_0x3a1111=_0x24f454[_0x3fae4e(0x2a2)][0x0])==null?void 0x0:_0x3a1111[_0x3fae4e(0x315)])==null?void 0x0:_0x4109d8[_0x3fae4e(0x15a)];if(Array['isArray'](_0x1b86ec)&&_0x1b86ec[_0x3fae4e(0x178)]){if(_0x1b86ec[_0x3fae4e(0x178)]===_0x41d5d7[0x0]['params'][_0x3fae4e(0x15a)][_0x3fae4e(0x178)]&&_0x1b86ec['every']((_0x34d3f6,_0x3762a5)=>_0x21479b[_0x3fae4e(0x267)](_0x34d3f6[_0x3fae4e(0x28d)],_0x41d5d7[0x0][_0x3fae4e(0x315)][_0x3fae4e(0x15a)][_0x3762a5]['range'])))return;this[_0x3fae4e(0x2f5)][_0x3fae4e(0x1c9)](_0x3c3082)[_0x3fae4e(0x198)](_0x1036a0['id'],{'unitId':_0x5134b2,'subUnitId':_0x20c462,'selections':_0x1b86ec});}}};it=er([dt(0x0,_0x2e70ff(_0x1ce7a4)),dt(0x1,_0x3721fd),dt(0x2,_0x30685d)],it);const ht=_0x482474(_0xeb087b(0x233));var Ci=(_0x2499a9=>(_0x2499a9[_0x2499a9[_0xeb087b(0x32d)]=0x0]=_0xeb087b(0x32d),_0x2499a9[_0x2499a9[_0xeb087b(0x372)]=0x1]=_0xeb087b(0x372),_0x2499a9))(Ci||{});const ir=new Set([_0x364c48['id']]);function qt(_0x1e817f,_0x2616e4,_0x1e17a0,_0x54ff49,_0x40b081){var _0x10e706=_0xeb087b,_0x11cee5,_0x385aca,_0x4c5fed,_0x5c62bc;const _0x2fcb8c=[];for(const _0x276b98 of _0x1e817f)if(ir['has'](_0x276b98['id'])){if(_0x2fcb8c[_0x10e706(0x178)]>0x0)break;_0x2fcb8c['push'](_0x276b98);break;}else _0x2fcb8c[_0x10e706(0x2c9)](_0x276b98);const _0x4ea147=(_0x385aca=(_0x11cee5=_0x40b081['getCurrentUser']())==null?void 0x0:_0x11cee5[_0x10e706(0x28c)])!=null?_0x385aca:'unknown',_0x1d355c=(_0x5c62bc=(_0x4c5fed=_0x40b081[_0x10e706(0x1a6)]())==null?void 0x0:_0x4c5fed[_0x10e706(0xd5)])!=null?_0x5c62bc:_0x10e706(0x310);return{'changeset':{'unitID':_0x2616e4,'type':_0x56d5a6(_0x1e17a0['getUnitType'](_0x2616e4)),'baseRev':_0x54ff49[_0x10e706(0x1eb)](_0x2616e4),'revision':0x0,'userID':_0x4ea147,'memberID':_0x1d355c,'mutations':_0x2fcb8c},'pendingMutations':_0x1e817f['slice'](_0x2fcb8c[_0x10e706(0x178)])};}function nr(_0x4c694f,_0x69d365,_0xaffa46,_0x34859f,_0x5a8c74){var _0x5a6221=_0xeb087b,_0x240a64,_0x55dfe8,_0x2d0eb3,_0x1b2e78;const _0x331cfa=[_0x4c694f[_0x5a6221(0x152)]((_0x367e32,_0x23bb36)=>{var _0x3c1fe2=_0x5a6221,_0x5328a6;const {id:_0x3fc491}=_0x367e32,{id:_0x564ca9,type:_0x1d4739}=_0x23bb36,_0x39e3e2=(_0x5328a6=_0x367e32[_0x3c1fe2(0x315)])!=null?_0x5328a6:{'actions':null},_0x1e4dc3=_0x23bb36['params'];if(_0x3fc491&&_0x3fc491!==_0x564ca9)throw new Error(_0x3c1fe2(0x185)+_0x3fc491+'\x20-\x20'+_0x564ca9+'.');return{..._0x367e32,'id':_0x564ca9,'type':_0x1d4739,'params':{'unitId':_0x1e4dc3[_0x3c1fe2(0x1c0)],'textRanges':_0x1e4dc3[_0x3c1fe2(0x24e)],'actions':_0x5ed4d3[_0x3c1fe2(0x29e)](_0x39e3e2['actions'],_0x1e4dc3[_0x3c1fe2(0xe1)])}};},{})],_0x1e9f5c=(_0x55dfe8=(_0x240a64=_0x5a8c74[_0x5a6221(0x1a6)]())==null?void 0x0:_0x240a64[_0x5a6221(0x28c)])!=null?_0x55dfe8:_0x5a6221(0x310),_0x2c5824=(_0x1b2e78=(_0x2d0eb3=_0x5a8c74[_0x5a6221(0x1a6)]())==null?void 0x0:_0x2d0eb3[_0x5a6221(0xd5)])!=null?_0x1b2e78:_0x5a6221(0x310);return{'changeset':{'unitID':_0x69d365,'type':_0x56d5a6(_0xaffa46[_0x5a6221(0xb4)](_0x69d365)),'baseRev':_0x34859f[_0x5a6221(0x1eb)](_0x69d365),'revision':0x0,'userID':_0x1e9f5c,'memberID':_0x2c5824,'mutations':_0x331cfa},'pendingMutations':[]};}function Ri(_0x4ac3d4,_0x57d48f){var _0xa5df83=_0xeb087b;const _0x1f879e=new _0x57ec4e(0x1);return setTimeout(()=>_0x1f879e[_0xa5df83(0x1a8)](_0x57d48f),_0x4ac3d4),_0x1f879e[_0xa5df83(0x125)]()[_0xa5df83(0xf5)](_0x30b4a2(0x1));}function _0x25e9(){var _0x334b1d=['BlockCipher','COMPLETION_FINISHED','error','_startTelemetryCollaborationNewChangeset','/universer-api/user/session-ticket','list','_scheduleCompleteTimestamp','_startCollaboration','univer-pro.collaboration-client.single-active-unit-service','override','_tryEnsureSocket','JOIN_ROOM_PERMISSION_DENIED','PERMISSION_DENIED','_throwTelemetryCollaborationNewChangeset','_invKeySchedule','_substituteUndoStack','listRoles','OPTIONAL','{fileID}','call','LIVESHARE_OPERATION','isArray','[CollaborationUndoRedoService]','109116nqjLRm','_onMessage','_handlerCallback','_unitID','_onConnectionOpen','ERROR_IMAGE_TYPE','roomInfos','x-univer-host','getUnitStatus$','SHOULD_CLOSE_CONN','_transformRemoteChangesetByStateCache','deepClone','textRanges','algo','_joinRoom','pad','target','LIVESHARE_TERMINATE','UNISCRIPT_RUN','isPermissionRej','CHANGESET_SHOULD_RETRY','OFFLINE','_getCtorByUniverType','stringify','BufferedBlockAlgorithm','__Key__','revision','[CollaborationSession]','_collaborationTimeoutTimer','symbol','_changesetReqId','onTransformRemoteChangesetByIMECache','_sender','_queuedRemoteChangesets','fetchThroughInterceptors','_getDownloadEndpointURL','[serializeCombRequest]:\x20should\x20not\x20fall\x20into\x20default\x20branch!','equals','/new_changes','c1Prime','[CollaborationState]:\x20apply\x20error!','_hash','saveChangeset','entries','COLLAB_SUBMIT_CHANGESET_URL','pending','JOIN_ROOM_NOT_EXISTS','CHANGESET_ACK','_transformStateCache','getTime','prototype','getValue','JOINING','file','sid','2960CYFCUx','sigBytes','clone','[PendingState]:\x20unhandled\x20univer\x20type:\x20','HEARTBEAT_INTERVAL','originalMeta','_getSignURL','reject','leaveEvent','APPLY_PERMISSION_DENIED','_resendTimeout','session.room-cnt-exceeds','getRoom','_telemetryInfo','disposeWithMe','name','init','getUnitOnRev','socketService','userID','range','SUBMIT_CHANGESET','session.join-failed','focused$','_oKey','updateCollaborator','state','_telemetryService','_disableEditing','[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.','salt','onSyncEditingCollabCursor','_sendingTimer','_nRounds','_shouldReportTelemetry','_getSendChangesetTimeout','PY_RUNTIME_SCRIPT_ERROR','compose','toggleOffline','HttpExport','_remoteChangesetQueue','m2Prime','changesets','withCredentials','APPLY_REVISION_CONFILICT','Cipher','_memberService','transformChangesets','/object/','_handler','/block/','_sendHeartbeat','DEFAULT_FILE_NAME','UNAUTHENTICATED','UnitSnapshot','Failed\x20to\x20update\x20permission\x20point','enc','mixIn','SEND_CHANGESET_TIMEOUT','NOT_COLLAB','AWAITING_WITH_PENDING','_createHmacHelper','_createHelper','/fetchmissing?from=','mode','padding','close','/-/object/list','COMPRESS_MUTATION_APPLY','updateCursorEvent','Malformed\x20UTF-8\x20data','subscribe','_createSocket','UNRECOGNIZED','_commentService','unpad','getSheetBlock','[OfflineState]:\x20received\x20acknowledgement.','blockSize','_keyPriorReset','push','[OfflineState]:\x20invalid\x20calling\x20to\x20`resend`.','json','reconnect','CLOSE_ROOM','_httpService','appendMutation','INTERNAL_ERROR','?size=','removeMember','Base','finalize','INVITE_CODE_HAS_BEEN_UES','eventID','requireSession','IDLE','objectType','_clearScheduledTask','_resendWithTimeout','crypto','[CollaborationSessionService]','_retryCount','_ENC_XFORM_MODE','_transformIMECache','online$','collaboratorID','join','createCollaborator','sessionStatus$','LOCAL_CACHE_INTERVAL','_userManagerService','collabWebSocketUrl','_replayCachedMutations','bind','_getUndoStack','Encryptor','encrypt','666280hSOVTR','readInt32LE','CBC','_redoStacks','/universer-api/authz','compute','splice','_injector','onStarting','getImage','values','[OfflineState]:\x20received\x20changeset.','onCommentUpdate','parse','_fetchMissChangesets','[CollaborationController]:\x20invalid\x20univer\x20type:\x20','clamp','objectActions','_members','event$','newCsEvent','generateRandomId','_onUserLeave','awaitingChangeset','WordArray','[DataLoaderService]','lib','_getAPIPrefix','_change$','INVALID_ARGUMENT','ALREADY_EXISTS','_process','/allowed','_sheetTransformSelectionsService','unknown','[SyncedState]:\x20received\x20acknowledgement.','OpenSSL','transformMutationsWithChangeset','_eventService','params','extend','delete','_hasher','_transitionLocked','deleteCollaborator','fetching\x20missing\x20changesets\x20from\x20','now','unitInfo$','\x0aCurrent:\x20','update','\x20to\x20','objects','YUUMI_URL_COL_OUT_OF_RANGE','getInterceptPoints','_data','signUrlServerUrl','key','UNKNOWN_CMD','dispose','slice','responseType','_sessions','[ConflictState]:\x20invalid\x20calling\x20to\x20`resend`.','NO_OTHER_CLIENTS_EDITING','hostname','resend','post','getCollabEntity$','kdf','_initCloseConn','Hex','univer-pro.collaboration-client.network-condition.service','string','members$','msCrypto','_socket$','LICENSE_MAX_UNITS_EXCEEDED','Base64','createDecryptor','getOwnPropertyDescriptor','UNKNOWN_CODE','encryptBlock','saveSnapshot','hasher','_HTTPService','onTransformSelections','NEW_CHANGESETS','_clearCollaborationTimeoutTimer','/universer-api/file/{fileID}/sign-url','AUTHZ_URL_KEY','listCollaborators','SNAPSHOT_HAS_BEEN_REMOVED','getDeserializedSheetBlock','editingUnit','toLowerCase','_onJoinRoomEvent','_submitChangeset','AWAITING','_initMergeInterceptor','_emitMembers','UNIVER_PROJECT','loadUnit','session','_socket','_changesetSessionId','Latin1','complete','enableOfflineEditing','roles','_commandService','byteLength','toggleOnline','_entityInit$','155230ArEalK','min','_onConnectionFailed','_removeRoom','joinRsp','mutations','_initUnitPermissionChange','_loadDoc','MSG_FOR_ERROR','_lockTransition','buffer','data','title','set','_xformMode','LICENSE_DISTRO_REJECTED','authzUrl','_members$','UUID','OTHER_CLIENTS_EDITING','c2Prime','joinEvent','telemetry\x20info\x20is\x20not\x20initialized','Utf8','commentUpdateEvent','unit-cache-','_replaceFileID','LICENSE_IMPORT_SIZE_EXCEEDED','_mode','45580mrLFPW','resourceIDs','getTypeOfUnitDisposed$','$super','image/jpeg','collaboration-client.config','_registerDependencies','getRandomValues','_resendTimer','_doProcessBlock','_incrementRevisionNumber','byteOffset','session.room-permission-denied','LEAVE','7RWmfGy','UPDATE_PERMISSION_OBJ','_socketMessageSubscription','[CollaborationSession]:\x20should\x20not\x20send\x20message\x20when\x20the\x20session\x20is\x20offline!','_transformRemoteChangesetByIMECache','COMMENT_UPDATE','onRemoteRetry','univer-pro.collaboration-client-socket-service','exports','RETRY_CONNECTING_MAX_COUNT','/universer-api/snapshot/','message$','APPLY_DUPLICATED','origin','change$','ONLINE','_snapshotService','FETCH_MISS','confirm','concat','getUnit','ciphertext','[SyncedState]:\x20invalid\x20calling\x20to\x20`resend`.','baseRev','_getCurrentRevision','ceil','UnitEmbedded','_waitForHeartbeatResponse','decryptBlock','map','_toggleOffline','UNIVER_SHEET','createEncryptor','location','_pendingMutations','shouldCloseConn','encodeURIComponent','getCollabEntity','fromCollab','unitId\x20is\x20not\x20found','[CollaborationEntity]:\x20invalid\x20state\x20transition!\x20State\x20transferred\x20from\x20is\x20not\x20the\x20current\x20state.\x0aBefore:\x20','socket$','3500629qxjPPv','onRemoteChangeset','JOIN_ROOM_FULL','CHANGESET_REJ','FAIL','_state','loadSheet','_scheduleCollaborationTimeoutTimer','\x22.\x20Please\x20configure\x20the\x20dynamicRequireTargets\x20or/and\x20ignoreDynamicRequires\x20option\x20of\x20@rollup/plugin-commonjs\x20appropriately\x20for\x20this\x20require\x20call\x20to\x20work.','editing\x20status\x20changed\x20to','getUnitType','[CollaborationEntity]:\x20initial\x20state\x20has\x20been\x20created\x20before.\x20You\x20should\x20not\x20call\x20\x22init\x22\x20twice.','BlockCipherMode','transformUndoRedo','_clearRetryConnectingTimer','_onFetchMissResult','onTransformRemoteChangesetByIMECache\x20callback\x20is\x20not\x20added\x20yet.','/resources','_candidateSocket','refreshPermission','readAsDataURL','SUCCUSS','onMissedChangesetFetched','status$','_timeoutTimer','requestParams','NoPadding','cmd','SerializableCipher','_minBufferSize','SHA1','YUUMI_SUBSCRIPTION_NOT_FOUND','subUnitId','[PendingState]:\x20invalid\x20calling\x20to\x20`resend`.','onTransformRemoteChangesetByStateCache\x20callback\x20is\x20not\x20added\x20yet.','_transformStack','onload','fetchMissingChangesets','_initDependencies','YUUMI_UNABLE_LOAD_URL','_undoStacks','UNIVER_UNKNOWN','ERROR_EXCEED_SIZE','memberID','_event$','_clearRedo','[FetchMissState]','_onRemoteACK','HmacMD5','save\x20fail\x20reason\x20is\x20','ivSize','catch','headers','SYNCED','_logService','actions','USER_NOT_INVITED_CODE','href','JOIN_ROOM_FAILED','[SyncedState]:\x20received\x20rejection.','type','_getAPIPrefixPath','code','_append','execute','CipherParams','_instanceService','_init','_onRemoteChangeset','_collabSessionService','_onConflict','_key','CONFLICT','onlyLocal','_revisionService','pipe','put','enableSingleActiveInstanceLock','__creator','charCodeAt','[FetchingMissState]:\x20not\x20expected\x20to\x20receive\x20ack\x20when\x20`this._awaitingChangeset`\x20is\x20null!','_createInitialState','_decreaseWaiting','_imageSourceCache','UNIVER_SLIDE','size','transformStack\x20failed!','commentUpdate$','_commentUpdate$','407796AGDDvH','&to=','YUUMI_RATE_OVER_LIMIT','open$','_collaborationUIEventService','_configService','_socketService','saveSheetBlock','ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=','abs','LIVESHARE_FETCH_OPERATIONS','_createHandler','UNDEFINED','Decryptor','[CollaborationSocketService]:\x20failed\x20to\x20get\x20web\x20socket\x20factory!','_prevBlock','unsubscribe','reqId','Error\x20on\x20receiving\x20event','_keySchedule','Hasher','Undefined','_loadSheet','\x0aAfter:\x20','_cipher','rev','charAt','clear','_createInitialStateImpl','body','LICENSE_EXPORT_SIZE_EXCEEDED','INVITE_CODE_REQUIRED','getFocusedUnit','EXCHANGE_SIGN_URL_SERVER_URL_KEY','asObservable','LIVESHARE_NEW_HOST','&assign=','collaborators','_status$','_compressMutationService','_exhaustRemoteChangesetQueue','_stopTelemetryCollaborationNewChangeset','processBlock','hasOwnProperty','subject','function','onRemoteRej','addImageSourceCache','HmacSHA1','decrypt','_getRedoStack','createSocket','_listenToNetworkCondition','batchAllowed','infoRsp','USERS_ENTER','NOT_FOUND','updatePermissionObjEvent','allowed','_doFinalize','url','_getLoginPath','error$','action','_config','getTypeOfUnitAdded$','readyForCollab','words','conflict','_networkConditionService','_parse','getResourcesRequest','HEARTBEAT','_map','/rev/','PERMISSION_REJ','onSendChangeset','_unlockTransition','_onOffline','reduce','append','/role','getUnitId','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','_sessionStatus$','getActiveSheet','FETCH_MISSING','selections','getSheetId','GLOBAL_ROOMS_CNT_EXCEEDS','dispose$','APPLY_NON_SEQUENTIAL_REVISION','state$','POST','_socketReady','close$','Pkcs7','forEach','send','image/gif','_awaitingChangeset','_isPermissionRej','defineProperty','_onCombEvent','SOCKET_FAILED','onTransformIME','_transformService','_updateStatus','fetchMiss','crypto.getRandomValues()\x20not\x20supported.\x20See\x20https://github.com/uuidjs/uuid#getrandomvalues-not-supported','sessionStatus','transformSelections','updateMember','randomBytes','_acknowledgedAwaitingChangeset','pauseCollaboration','onTransformRemoteChangesetByStateCache','length','SOCKET_FAILED_RETRY','[UniverCollaborationClientPlugin]','_doCreateSocket','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','duration','getSnapshotAPIPath','SNAPSHOT_INVALID_SNAPSHOT','_roomCreated$','fetching\x20the\x20latest\x20document\x20from\x20the\x20server.','RECV','getConfig','HttpImport','Cannot\x20assemble\x20a\x20changeset\x20from\x20multiple\x20mutations\x20of\x20different\x20types:\x20','HEARTBEAT_TIMEOUT','_collaborationPaused','liveShareNewHost','/universer-api/snapshot','COLLAB_WEB_SOCKET_URL','_clearTimeoutTimer','_initRequestHeader','apply','MUTATION','default','stopTime','includes','_transformUndoredo','?url=','_undoRedoService','you\x20should\x20override\x20\x22IUndoRedoService\x22\x20provided\x20in\x20\x22core\x22\x20package!','This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!','JOIN','executeCommand','OTHER_CLIENT_EDITING','disableLocalCache','/collaborator','has','awaiting','cfg','routeKey','onTransformState','UNIVER_DOC','[OfflineState]:\x20received\x20rejection.','objectID','AES','APPLY_REJECT','getCurrentUser','_univerInstanceService','next','connection\x20error','/unit/','indexOf','fromCharCode','_waitCount','setCurrentUser','_sendHeartbeatTimer','_toggleOnline','patch','_updateState','_tryReconnect','/-/object/-/batch_allowed','image/png','Unknown\x20type.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','formatter','getMember','_schedule','onStateChange','_rescheduleHeartbeat','status','BASE64','iterations','EvpKDF','unitId','INVITE_CODE_ALREADY_BOUND','collaboration-client.local-cache-service','_transformSelections','onCommandExecuted','_roomMembers','collaboration_new_changeset','reverse','USERS_LEAVE','get','floor','randomUUID','repeat','getMemberID','UNIVER_COLLABORATION_CLIENT_PLUGIN','[AuthServerService]:\x20you\x20should\x20provide\x20authentication\x20info\x20on\x20Node.js.','_retryConnectingTimer','CHANGESET_REVISION_CONFILICT','debug','[CollaborationEntity]','emitEvent','_entities','&source=','socket\x20close','create','_reverseMap','loadOfflineData','_snapshotServerService','_checkMissing','INVALID_INVITE_CODE','LOGIN_FAILED','Could\x20not\x20dynamically\x20require\x20\x22','snapshot','_clearUndo','interceptor','closeSession','_permissionService','_onLocalMutation','/object','setWaitCount','method','LIVESHARE_REQUEST_HOST','random','getCurrentRevOfUnit','SUBMIT_CHANGESET_TIMEOUT','_localCacheService','_substituteRedoStack','offline','format','_localeService','HMAC','_executeRemoteChangeset','onMissingChangesets','_getUploadFileURL','PasswordBasedCipher','_collaborationSessionService','_applyRemoteChangeset','_singleActiveUnitService','keySize','updatePermissionPoint','session.room-full','result','CONNECTOR_DATA_TOO_LARGE','updateOfflineData','loadDoc','entityInit$','_doCryptBlock','startsWith','_iv','onRemoteAck','copyFileMeta','reset','_onRecvEvent','UPDATE_CURSOR','every','not_collab','localCacheService','18tmPXKj','_nDataBytes','INGEST','_onRemoteRejected','ws://127.0.0.1:8000/universer-api/comb/connect','unitID','[PendingState]:\x20received\x20acknowledgement.','incrementRevOfUnit','__esModule','max','encode','_updateLocalCache','rng','fetch_missing','MD5','avatar','resolve','createInstance','_type','_onRemoteRetry','localeService','2020nykZPB','_showConflictNotification','add','HELLO','COMPRESS_MUTATION_SEND','toString','170JAXHbh','synced','permissionRejEvent'];_0x25e9=function(){return _0x334b1d;};return _0x25e9();}const rr={'id':_0x5c091d['id'],'type':_0x4bae3d[_0xeb087b(0x18e)],'params':{}};var sr=Object['getOwnPropertyDescriptor'],Te=(_0x591eac,_0xcfd9d7,_0x24ab3f,_0x22915b)=>{var _0x2c881d=_0xeb087b;for(var _0x1da805=_0x22915b>0x1?void 0x0:_0x22915b?sr(_0xcfd9d7,_0x24ab3f):_0xcfd9d7,_0x44e9f4=_0x591eac[_0x2c881d(0x178)]-0x1,_0x59ad27;_0x44e9f4>=0x0;_0x44e9f4--)(_0x59ad27=_0x591eac[_0x44e9f4])&&(_0x1da805=_0x59ad27(_0x1da805)||_0x1da805);return _0x1da805;},P=(_0x98f62f,_0x5c4b08)=>(_0xdaaf88,_0x243fa1)=>_0x5c4b08(_0xdaaf88,_0x243fa1,_0x98f62f),bi=(_0xcf4061=>(_0xcf4061[_0xeb087b(0x2b4)]=_0xeb087b(0x20b),_0xcf4061[_0xeb087b(0xdf)]=_0xeb087b(0x229),_0xcf4061['PENDING']=_0xeb087b(0x26f),_0xcf4061[_0xeb087b(0x34f)]=_0xeb087b(0x19d),_0xcf4061[_0xeb087b(0x2b5)]='awaiting_with_pending',_0xcf4061[_0xeb087b(0x39b)]='fetch_missing',_0xcf4061[_0xeb087b(0xf2)]=_0xeb087b(0x147),_0xcf4061['OFFLINE']='offline',_0xcf4061))(bi||{});const yi=0xea60;class Ce{constructor(_0x5dd419,_0x5ecb6c,_0x32eb7d,_0x55a5d0,_0x130fb6,_0x5476cc,_0x332d27,_0x29a4e5,_0x219e1e){var _0x43ac93=_0xeb087b;N(this,_0x43ac93(0x167),null),N(this,_0x43ac93(0x3ac),[]),(this[_0x43ac93(0x212)]=_0x5dd419,this['type']=_0x5ecb6c,this['_handler']=_0x130fb6,this[_0x43ac93(0x35b)]=_0x5476cc,this[_0x43ac93(0x194)]=_0x332d27,this[_0x43ac93(0xf4)]=_0x29a4e5,this['_localCacheService']=_0x219e1e,this[_0x43ac93(0x167)]=_0x32eb7d,this[_0x43ac93(0x3ac)]=_0x55a5d0);}[_0xeb087b(0x1dc)](_0x4c8dbe){var _0x55ad65=_0xeb087b;const _0x4782b9=this[_0x55ad65(0xf4)][_0x55ad65(0x1eb)](this['unitID']);return _0x4c8dbe['revision']>_0x4782b9+0x1?(this[_0x55ad65(0x2aa)][_0x55ad65(0x1f4)]({'from':_0x4782b9,'to':_0x4c8dbe[_0x55ad65(0x25c)]-0x1}),!0x0):!0x1;}[_0xeb087b(0x192)](_0x9ff72e){var _0x12e90f=_0xeb087b;this[_0x12e90f(0x194)][_0x12e90f(0xb7)](this[_0x12e90f(0x212)],_0x9ff72e);}[_0xeb087b(0x1c3)](_0x34ba24){var _0x2a2215=_0xeb087b,_0x360e5c,_0x479aaa;(_0x479aaa=(_0x360e5c=this[_0x2a2215(0x2aa)])[_0x2a2215(0x343)])==null||_0x479aaa[_0x2a2215(0x23e)](_0x360e5c,_0x34ba24);}[_0xeb087b(0x2e0)](_0x4db066){var _0x16a27a=_0xeb087b,_0x5d12dc,_0x2d9bd4;return(_0x2d9bd4=(_0x5d12dc=this[_0x16a27a(0x2aa)])['onTransformIME'])==null?void 0x0:_0x2d9bd4[_0x16a27a(0x23e)](_0x5d12dc,_0x4db066);}[_0xeb087b(0x272)](_0x1b1cc3){var _0x1cbfca=_0xeb087b,_0x439f52,_0x18422a;return(_0x18422a=(_0x439f52=this[_0x1cbfca(0x2aa)])[_0x1cbfca(0x1a0)])==null?void 0x0:_0x18422a['call'](_0x439f52,_0x1b1cc3);}['_transformRemoteChangesetByIMECache'](_0x1aea90){var _0x5500e0=_0xeb087b,_0x48a8b9,_0xf84f59,_0x48ce16;return(_0x48ce16=(_0xf84f59=(_0x48a8b9=this['_handler'])['onTransformRemoteChangesetByIMECache'])==null?void 0x0:_0xf84f59[_0x5500e0(0x23e)](_0x48a8b9,_0x1aea90))!=null?_0x48ce16:_0x1aea90;}[_0xeb087b(0x24c)](_0x17f88a){var _0x176dec=_0xeb087b,_0x16be09,_0x144f78,_0x248196;return(_0x248196=(_0x144f78=(_0x16be09=this[_0x176dec(0x2aa)])[_0x176dec(0x177)])==null?void 0x0:_0x144f78['call'](_0x16be09,_0x17f88a))!=null?_0x248196:_0x17f88a;}['_syncEditingCollabCursor'](_0x140bea){var _0x3f91a1=_0xeb087b,_0x54043b,_0x3100fd;if(this[_0x3f91a1(0xe6)]===Q[_0x3f91a1(0x1a1)]){const {unitID:_0x4c4d9d,mutations:_0x24a487,memberID:_0xa80a1b}=_0x140bea,_0x4eac07=_0x24a487[0x0]['params'][_0x3f91a1(0x24e)];Array[_0x3f91a1(0x240)](_0x4eac07)&&_0x4eac07[_0x3f91a1(0x178)]>0x0&&((_0x3100fd=(_0x54043b=this[_0x3f91a1(0x2aa)])[_0x3f91a1(0x298)])==null||_0x3100fd['call'](_0x54043b,{'unitID':_0x4c4d9d,'memberID':_0xa80a1b,'textRanges':_0x4eac07}));}}[_0xeb087b(0x218)](){var _0x39642c=_0xeb087b,_0xbe6606;(_0xbe6606=this[_0x39642c(0x1ed)])==null||_0xbe6606[_0x39642c(0x1ff)](this[_0x39642c(0x212)],this[_0x39642c(0xe6)],this[_0x39642c(0x167)],this[_0x39642c(0x3ac)]);}[_0xeb087b(0x3a2)](){var _0x2c049a=_0xeb087b;return this[_0x2c049a(0xf4)]['getCurrentRevOfUnit'](this[_0x2c049a(0x212)]);}[_0xeb087b(0x386)](){var _0xe9d67=_0xeb087b;this[_0xe9d67(0xf4)][_0xe9d67(0x214)](this[_0xe9d67(0x212)]);}[_0xeb087b(0x1f3)](_0x599896){var _0x3cd7a8=_0xeb087b,_0x23ff36;let _0xc8a1ac=this[_0x3cd7a8(0x38e)](_0x599896);_0xc8a1ac=this['_transformRemoteChangesetByStateCache'](_0xc8a1ac);const _0x4352a2=_0x266243(_0xc8a1ac[_0x3cd7a8(0x364)],this[_0x3cd7a8(0x35b)],{'fromCollab':!0x0});if(!_0x4352a2['result'])throw _0x4352a2[_0x3cd7a8(0x22d)]instanceof Error?_0x4352a2[_0x3cd7a8(0x22d)]:new Error((_0x23ff36=_0x4352a2[_0x3cd7a8(0x22d)])!=null?_0x23ff36:_0x3cd7a8(0x26a));this[_0x3cd7a8(0x2e0)](_0xc8a1ac),this[_0x3cd7a8(0x272)](_0xc8a1ac),this[_0x3cd7a8(0x192)](_0x599896),this[_0x3cd7a8(0x1c3)](_0xc8a1ac),this['_syncEditingCollabCursor'](_0xc8a1ac),this[_0x3cd7a8(0x386)]();}}let Ne=class extends Ce{constructor(_0x49a8ec,_0x5e7bff,_0x508e5f,_0x35b576,_0x25447b,_0x179ae5,_0x8090c,_0x27542a,_0x1a7a05,_0x573507){var _0xfc3fe6=_0xeb087b;super(_0x49a8ec,_0x5e7bff,null,[],_0x508e5f,_0x8090c,_0x179ae5,_0x35b576,_0x573507),N(this,_0xfc3fe6(0x1bc),'synced'),(this[_0xfc3fe6(0x2f5)]=_0x25447b,this[_0xfc3fe6(0xe0)]=_0x27542a,this[_0xfc3fe6(0x16d)]=_0x1a7a05,this[_0xfc3fe6(0x20c)]=_0x573507);}[_0xeb087b(0x2cf)](_0x3bd167){var _0x4bb63d=_0xeb087b;const _0x509e8d=this['_injector'][_0x4bb63d(0x21e)](ae,this['unitID'],this[_0x4bb63d(0xe6)],[_0x3bd167],this[_0x4bb63d(0x2aa)]);return _0x509e8d[_0x4bb63d(0x1b9)](),_0x509e8d[_0x4bb63d(0x218)](),_0x509e8d;}[_0xeb087b(0xab)](_0x2d102f){var _0x4b97a0=_0xeb087b;if(this[_0x4b97a0(0x1dc)](_0x2d102f))return this[_0x4b97a0(0x2f5)][_0x4b97a0(0x21e)](ee,this[_0x4b97a0(0x212)],this['type'],null,[],null,[_0x2d102f],this[_0x4b97a0(0x2aa)]);try{const _0x2e0ede=this[_0x4b97a0(0x16d)][_0x4b97a0(0x313)](_0x2d102f,[rr]);if(_0x16c0b4(_0x2e0ede)){const {c1Prime:_0x41f74b}=_0x2e0ede;return this[_0x4b97a0(0x1f3)](_0x41f74b),this;}throw _0x2e0ede[_0x4b97a0(0x22d)];}catch(_0x3c8adf){return this[_0x4b97a0(0xe0)][_0x4b97a0(0x22d)](_0x3c8adf),this['_onConflict'](!0x1);}}[_0xeb087b(0xf0)](_0x14caf8){var _0x5b7269=_0xeb087b;return this['_injector']['createInstance'](ue,this[_0x5b7269(0x212)],this['type'],null,[],this[_0x5b7269(0x2aa)],_0x14caf8);}[_0xeb087b(0x205)](){var _0x12372b=_0xeb087b;throw new Error(_0x12372b(0x311));}[_0xeb087b(0x131)](){var _0x43595a=_0xeb087b;throw new Error(_0x43595a(0xe5));}[_0xeb087b(0x390)](){return this;}[_0xeb087b(0x29f)](){var _0x5bb136=_0xeb087b;return this['_injector']['createInstance'](de,this['unitID'],this[_0x5bb136(0xe6)],null,[],this[_0x5bb136(0x2aa)]);}['toggleOnline'](){return this;}[_0xeb087b(0x32f)](){var _0x31ff60=_0xeb087b;throw new Error(_0x31ff60(0x3a0));}[_0xeb087b(0x16f)](){var _0x5823f6=_0xeb087b;const _0x53d3f6=this['_revisionService'][_0x5823f6(0x1eb)](this['unitID']);return this['_handler'][_0x5823f6(0x1f4)]({'from':_0x53d3f6,'to':0x0}),this[_0x5823f6(0x2f5)][_0x5823f6(0x21e)](ee,this[_0x5823f6(0x212)],this[_0x5823f6(0xe6)],null,[],null,[],this[_0x5823f6(0x2aa)]);}};Ne=Te([P(0x3,_0x2e70ff(_0x550fcb)),P(0x4,_0x2e70ff(_0x1ce7a4)),P(0x5,_0x54ad30),P(0x6,_0x3c3082),P(0x7,_0x55e24e),P(0x8,_0x3721fd),P(0x9,_0x12fd4d(J))],Ne);let ae=class extends Ce{constructor(_0xf22b9d,_0x25f846,_0x22216c,_0xea7b12,_0x4706e3,_0xf4aed9,_0x8df99f,_0x4fe931,_0x1eb49b,_0x1cf3b0,_0x40fb22,_0x87ee40,_0x3d3f46,_0x1a908b){var _0x291652=_0xeb087b;super(_0xf22b9d,_0x25f846,null,_0x22216c,_0xea7b12,_0x1eb49b,_0x3d3f46,_0xf4aed9,_0x1a908b),N(this,_0x291652(0x1bc),_0x291652(0x26f)),N(this,_0x291652(0x231),null),N(this,_0x291652(0x299),null),(this['_injector']=_0x4706e3,this[_0x291652(0x2a7)]=_0x8df99f,this[_0x291652(0xe0)]=_0x4fe931,this[_0x291652(0x108)]=_0x1cf3b0,this[_0x291652(0x16d)]=_0x40fb22,this[_0x291652(0x1a7)]=_0x87ee40);}[_0xeb087b(0x2cf)](_0x2917dc){var _0x2e0e6e=_0xeb087b;return this[_0x2e0e6e(0x3ac)][_0x2e0e6e(0x2c9)](_0x2917dc),this['_updateLocalCache'](),this;}['onRemoteChangeset'](_0x80e8f){var _0x2b334a=_0xeb087b;if(this[_0x2b334a(0x1dc)](_0x80e8f))return this[_0x2b334a(0x2da)](),this[_0x2b334a(0x2f5)][_0x2b334a(0x21e)](ee,this['unitID'],this[_0x2b334a(0xe6)],null,this[_0x2b334a(0x3ac)],null,[_0x80e8f],this[_0x2b334a(0x2aa)]);try{const _0x3e8487=this[_0x2b334a(0x16d)]['transformMutationsWithChangeset'](_0x80e8f,this['_pendingMutations']);if(_0x16c0b4(_0x3e8487)){const {c1Prime:_0x14761a,m2Prime:_0x269492}=_0x3e8487;this[_0x2b334a(0x1f3)](_0x14761a);const _0x3c8f16=this['_injector']['createInstance'](ae,this['unitID'],this[_0x2b334a(0xe6)],_0x269492,this[_0x2b334a(0x2aa)]);this[_0x2b334a(0x2da)]();const _0x407eb9=new Date()[_0x2b334a(0x273)](),_0x58b415=this[_0x2b334a(0x231)]?Math[_0x2b334a(0x216)](this['_scheduleCompleteTimestamp']-_0x407eb9,0x0):this[_0x2b334a(0x29c)]();return _0x3c8f16[_0x2b334a(0x1b9)](_0x58b415),_0x3c8f16;}throw _0x3e8487[_0x2b334a(0x22d)];}catch(_0x9364bf){return this[_0x2b334a(0xe0)][_0x2b334a(0x22d)](_0x9364bf),this['_onConflict'](!0x1);}}['onRemoteAck'](){var _0x2e0561=_0xeb087b;throw new Error(_0x2e0561(0x213));}[_0xeb087b(0x131)](){throw new Error('[PendingState]:\x20received\x20rejection.');}[_0xeb087b(0x390)](){return this;}['toggleOffline'](){var _0x55fe39=_0xeb087b;return this[_0x55fe39(0x2da)](),this[_0x55fe39(0x2f5)]['createInstance'](de,this[_0x55fe39(0x212)],this[_0x55fe39(0xe6)],null,this[_0x55fe39(0x3ac)],this[_0x55fe39(0x2aa)]);}[_0xeb087b(0x35d)](){return this;}[_0xeb087b(0x1b9)](_0x26e314){var _0x1559ef=_0xeb087b;const _0x535c6d=_0x26e314!=null?_0x26e314:this['_getSendChangesetTimeout']();this['_scheduleCompleteTimestamp']=new Date()[_0x1559ef(0x273)]()+_0x535c6d,this['_sendingTimer']=setTimeout(()=>{var _0x1b5636=_0x1559ef;this['_clearScheduledTask']();let _0x307e0f=null;switch(this[_0x1b5636(0xe6)]){case Q[_0x1b5636(0x3a9)]:{_0x307e0f=qt(this[_0x1b5636(0x3ac)],this[_0x1b5636(0x212)],this[_0x1b5636(0x1a7)],this[_0x1b5636(0xf4)],this[_0x1b5636(0x2a7)]);break;}case Q[_0x1b5636(0x1a1)]:{this[_0x1b5636(0x3ac)][_0x1b5636(0x20a)](_0x4fda5d=>_0x4fda5d['id']===_0x5e50e1['id'])?_0x307e0f=nr(this[_0x1b5636(0x3ac)],this[_0x1b5636(0x212)],this[_0x1b5636(0x1a7)],this[_0x1b5636(0xf4)],this[_0x1b5636(0x2a7)]):_0x307e0f=qt(this[_0x1b5636(0x3ac)],this['unitID'],this[_0x1b5636(0x1a7)],this[_0x1b5636(0xf4)],this['_memberService']);break;}default:throw new Error(_0x1b5636(0x27c)+this[_0x1b5636(0xe6)]+'\x20in\x20_schedule.');}const {changeset:_0xa678a1,pendingMutations:_0x5359a0}=_0x307e0f;this['_handler'][_0x1b5636(0x14f)](_0xa678a1);const _0x49d66d=_0x5359a0[_0x1b5636(0x178)]?this[_0x1b5636(0x2f5)][_0x1b5636(0x21e)](oe,this['unitID'],this[_0x1b5636(0xe6)],_0xa678a1,_0x5359a0,this[_0x1b5636(0x2aa)],void 0x0):this[_0x1b5636(0x2f5)][_0x1b5636(0x21e)](le,this['unitID'],this[_0x1b5636(0xe6)],_0xa678a1,this[_0x1b5636(0x2aa)]);_0x49d66d['_updateLocalCache'](),this[_0x1b5636(0x2aa)][_0x1b5636(0x1ba)](this,_0x49d66d);},_0x535c6d);}['_getSendChangesetTimeout'](){var _0x28b017=_0xeb087b,_0x3da394;const _0x33dcf3=this[_0x28b017(0x108)]['getConfig'](q);return(_0x3da394=_0x33dcf3==null?void 0x0:_0x33dcf3['sendChangesetTimeout'])!=null?_0x3da394:En;}['resend'](){var _0x1c0d8d=_0xeb087b;throw new Error(_0x1c0d8d(0xcb));}[_0xeb087b(0x2da)](){var _0x8ed14e=_0xeb087b;this[_0x8ed14e(0x299)]!=null&&(clearTimeout(this['_sendingTimer']),this[_0x8ed14e(0x299)]=null);}['_onConflict'](_0x1860d9){var _0xe53861=_0xeb087b;return this['_clearScheduledTask'](),this[_0xe53861(0x2f5)][_0xe53861(0x21e)](ue,this[_0xe53861(0x212)],this[_0xe53861(0xe6)],null,this[_0xe53861(0x3ac)],this[_0xe53861(0x2aa)],_0x1860d9);}};ae=Te([P(0x4,_0x2e70ff(_0x1ce7a4)),P(0x5,_0x2e70ff(_0x550fcb)),P(0x6,_0x2e70ff(xe)),P(0x7,_0x55e24e),P(0x8,_0x3c3082),P(0x9,_0x5641d0),P(0xa,_0x3721fd),P(0xb,_0x30685d),P(0xc,_0x54ad30),P(0xd,_0x12fd4d(J))],ae);let le=class extends Ce{constructor(_0x1bbf3d,_0x4fb956,_0x131435,_0x526457,_0x110729,_0x5d186b,_0x5a069e,_0x3280f0,_0x7b3cca,_0x399bfe,_0x50f394){var _0x111afe=_0xeb087b;super(_0x1bbf3d,_0x4fb956,_0x131435,[],_0x526457,_0x5a069e,_0x399bfe,_0x5d186b,_0x50f394),N(this,'status',_0x111afe(0x19d)),N(this,'_resendTimeout',0x0),N(this,_0x111afe(0x384)),N(this,_0x111afe(0x262)),(this[_0x111afe(0x2f5)]=_0x110729,this[_0x111afe(0xe0)]=_0x3280f0,this[_0x111afe(0x16d)]=_0x7b3cca);}[_0xeb087b(0x2cf)](_0x33c741){var _0x14e107=_0xeb087b;this['_clearScheduledTask']();const _0x237805=this[_0x14e107(0x2f5)][_0x14e107(0x21e)](oe,this['unitID'],this[_0x14e107(0xe6)],this['_awaitingChangeset'],[_0x33c741],this[_0x14e107(0x2aa)],this[_0x14e107(0x384)]);return _0x237805[_0x14e107(0x218)](),_0x237805;}[_0xeb087b(0xab)](_0xb919f2){var _0x5c1e95=_0xeb087b;if(this[_0x5c1e95(0x1dc)](_0xb919f2))return this[_0x5c1e95(0x2da)](),this['_injector'][_0x5c1e95(0x21e)](ee,this['unitID'],this[_0x5c1e95(0xe6)],this[_0x5c1e95(0x167)],[],null,[_0xb919f2],this[_0x5c1e95(0x2aa)]);try{const _0x371913=this[_0x5c1e95(0x16d)][_0x5c1e95(0x2a8)]([_0xb919f2],[this[_0x5c1e95(0x167)]],!0x1);if(_0x5570e8(_0x371913)){const {c1Prime:_0x4301da,c2Prime:_0x412bb6}=_0x371913;this[_0x5c1e95(0x1f3)](_0x4301da[0x0]),_0x412bb6[0x0][_0x5c1e95(0x3a1)]=this[_0x5c1e95(0x3a2)](),this[_0x5c1e95(0x2da)]();const _0x4ef293=this[_0x5c1e95(0x2f5)]['createInstance'](le,this[_0x5c1e95(0x212)],this[_0x5c1e95(0xe6)],_0x412bb6[0x0],this[_0x5c1e95(0x2aa)]);return _0x4ef293['_updateLocalCache'](),_0x4ef293;}return this['_onConflict'](!0x1);}catch(_0xb7bc32){return this['_logService']['error'](_0xb7bc32),this['_onConflict'](!0x1);}}[_0xeb087b(0x205)](_0x514828){var _0x5f12ba=_0xeb087b;this[_0x5f12ba(0x2da)]();const _0x492f3f=this[_0x5f12ba(0xf4)][_0x5f12ba(0x1eb)](this[_0x5f12ba(0x212)]);if(_0x514828[_0x5f12ba(0x25c)]<_0x492f3f-0x1)return this;if(this['_checkMissing'](_0x514828))return this[_0x5f12ba(0x2f5)][_0x5f12ba(0x21e)](ee,this[_0x5f12ba(0x212)],this[_0x5f12ba(0xe6)],null,[],this[_0x5f12ba(0x167)],[],this[_0x5f12ba(0x2aa)]);this[_0x5f12ba(0x386)]();const _0x1c924a=this[_0x5f12ba(0x2f5)][_0x5f12ba(0x21e)](Ne,this[_0x5f12ba(0x212)],this[_0x5f12ba(0xe6)],this[_0x5f12ba(0x2aa)]);return _0x1c924a[_0x5f12ba(0x218)](),_0x1c924a;}[_0xeb087b(0x131)](_0x2596b8){var _0x35f99e=_0xeb087b;return this[_0x35f99e(0xf0)](!!(_0x2596b8!=null&&_0x2596b8[_0x35f99e(0x255)]));}['onRemoteRetry'](_0x5708c8){var _0x24cb9f=_0xeb087b;return this[_0x24cb9f(0x283)]>yi?this[_0x24cb9f(0x29f)]():(this[_0x24cb9f(0x384)]=Ri(this[_0x24cb9f(0x283)],{'timeout':this[_0x24cb9f(0x283)],'reqId':_0x5708c8[_0x24cb9f(0x114)]}),this[_0x24cb9f(0x262)]=this[_0x24cb9f(0x384)]['subscribe'](({reqId:_0x204ba3,timeout:_0x637a6d})=>{this['_resendWithTimeout'](_0x204ba3,_0x637a6d);}),this);}['toggleOffline'](){var _0x453cb1=_0xeb087b;return this[_0x453cb1(0x2da)](),this[_0x453cb1(0x2f5)][_0x453cb1(0x21e)](de,this[_0x453cb1(0x212)],this[_0x453cb1(0xe6)],this[_0x453cb1(0x167)],[],this['_handler']);}[_0xeb087b(0x35d)](){return this;}['resend'](){var _0x169e8e=_0xeb087b;this[_0x169e8e(0x2aa)]['onSendChangeset'](this[_0x169e8e(0x167)]);}[_0xeb087b(0xf0)](_0x4cd0d3){var _0x50fc0a=_0xeb087b;return this['_clearScheduledTask'](),this[_0x50fc0a(0x2f5)]['createInstance'](ue,this[_0x50fc0a(0x212)],this[_0x50fc0a(0xe6)],this[_0x50fc0a(0x167)],[],this[_0x50fc0a(0x2aa)],_0x4cd0d3);}[_0xeb087b(0x2db)](_0x426f03,_0x7c5d6a){var _0x27173e=_0xeb087b,_0x507202;_0x426f03===((_0x507202=this[_0x27173e(0x167)])==null?void 0x0:_0x507202[_0x27173e(0x114)])&&(this[_0x27173e(0x32f)](),this[_0x27173e(0x283)]=_0x7c5d6a===0x0?0x3e8:_0x7c5d6a*0x2);}[_0xeb087b(0x2da)](){var _0x450466=_0xeb087b,_0x5b1afd;(_0x5b1afd=this[_0x450466(0x262)])==null||_0x5b1afd[_0x450466(0x113)](),this[_0x450466(0x283)]=0x0;}};le=Te([P(0x4,_0x2e70ff(_0x1ce7a4)),P(0x5,_0x2e70ff(_0x550fcb)),P(0x6,_0x3c3082),P(0x7,_0x55e24e),P(0x8,_0x3721fd),P(0x9,_0x54ad30),P(0xa,_0x12fd4d(J))],le);let oe=class extends Ce{constructor(_0x4515f0,_0x56b817,_0x664021,_0x3d4bf5,_0x70c017,_0x8dd248,_0x170a30,_0x3d1a59,_0x49b04b,_0x256f19,_0x4df21c,_0x19107d,_0x29830a){var _0x4546a3=_0xeb087b;super(_0x4515f0,_0x56b817,_0x664021,_0x3d4bf5,_0x70c017,_0x49b04b,_0x19107d,_0x3d1a59,_0x29830a),N(this,'status','awaiting_with_pending'),N(this,_0x4546a3(0x283),0x0),N(this,_0x4546a3(0x384)),N(this,_0x4546a3(0x262)),(this['_injector']=_0x170a30,this[_0x4546a3(0xe0)]=_0x256f19,this[_0x4546a3(0x16d)]=_0x4df21c,this['localCacheService']=_0x29830a,_0x8dd248&&(this[_0x4546a3(0x384)]=_0x8dd248,this['_sender']=this[_0x4546a3(0x384)][_0x4546a3(0x2c0)](({reqId:_0x1c1b9e,timeout:_0x129622})=>{var _0x5afb58=_0x4546a3;this[_0x5afb58(0x2db)](_0x1c1b9e,_0x129622);})));}[_0xeb087b(0x2cf)](_0x13144b){var _0x2101c3=_0xeb087b;return this['_pendingMutations'][_0x2101c3(0x2c9)](_0x13144b),this;}[_0xeb087b(0xab)](_0x29b86a){var _0x34c375=_0xeb087b;if(this[_0x34c375(0x1dc)](_0x29b86a))return this['_clearScheduledTask'](),this[_0x34c375(0x2f5)]['createInstance'](ee,this['unitID'],this[_0x34c375(0xe6)],this[_0x34c375(0x167)],this[_0x34c375(0x3ac)],null,[_0x29b86a],this[_0x34c375(0x2aa)]);try{const _0x5e65dc=this[_0x34c375(0x16d)][_0x34c375(0x2a8)]([_0x29b86a],[this[_0x34c375(0x167)]],!0x1);if(_0x5570e8(_0x5e65dc)){const {c1Prime:_0x298a49,c2Prime:_0x198bb8}=_0x5e65dc,_0xfdf791=this[_0x34c375(0x16d)][_0x34c375(0x313)](_0x298a49[0x0],this[_0x34c375(0x3ac)]);if(_0x16c0b4(_0xfdf791)){const {c1Prime:_0x3b5b62,m2Prime:_0x4c4346}=_0xfdf791;return this[_0x34c375(0x1f3)](_0x3b5b62),_0x198bb8[0x0][_0x34c375(0x3a1)]=this[_0x34c375(0x3a2)](),this['_clearScheduledTask'](),this['_injector'][_0x34c375(0x21e)](oe,this['unitID'],this[_0x34c375(0xe6)],_0x198bb8[0x0],_0x4c4346,this[_0x34c375(0x2aa)],void 0x0);}throw _0xfdf791[_0x34c375(0x22d)];}throw _0x5e65dc[_0x34c375(0x22d)];}catch(_0x681273){return this['_logService'][_0x34c375(0x22d)](_0x681273),this[_0x34c375(0xf0)](!0x1);}}[_0xeb087b(0x205)](_0x2391d7){var _0x37d9ab=_0xeb087b;if(this[_0x37d9ab(0x2da)](),this[_0x37d9ab(0x1dc)](_0x2391d7))return this[_0x37d9ab(0x2f5)][_0x37d9ab(0x21e)](ee,this[_0x37d9ab(0x212)],this[_0x37d9ab(0xe6)],null,this[_0x37d9ab(0x3ac)],this[_0x37d9ab(0x167)],[],this['_handler']);this['_incrementRevisionNumber']();const _0x1c2b02=this[_0x37d9ab(0x2f5)]['createInstance'](ae,this['unitID'],this[_0x37d9ab(0xe6)],this['_pendingMutations'],this['_handler']);return _0x1c2b02['_schedule'](),_0x1c2b02[_0x37d9ab(0x218)](),_0x1c2b02;}['onRemoteRej'](_0x2963f0){var _0xcf273f=_0xeb087b;return this['_onConflict'](!!(_0x2963f0!=null&&_0x2963f0[_0xcf273f(0x255)]));}[_0xeb087b(0x390)](_0x2937ee){var _0x145629=_0xeb087b;return this[_0x145629(0x283)]>yi?this[_0x145629(0x29f)]():(this[_0x145629(0x384)]=Ri(this[_0x145629(0x283)],{'timeout':this[_0x145629(0x283)],'reqId':_0x2937ee[_0x145629(0x114)]}),this[_0x145629(0x262)]=this['_resendTimer']['subscribe'](({reqId:_0x4ef7d1,timeout:_0x2eed5a})=>{var _0x321b28=_0x145629;this[_0x321b28(0x2db)](_0x4ef7d1,_0x2eed5a);}),this);}['toggleOffline'](){var _0xb1eee0=_0xeb087b;return this[_0xb1eee0(0x2da)](),this[_0xb1eee0(0x2f5)]['createInstance'](de,this[_0xb1eee0(0x212)],this[_0xb1eee0(0xe6)],this['_awaitingChangeset'],this[_0xb1eee0(0x3ac)],this[_0xb1eee0(0x2aa)]);}[_0xeb087b(0x35d)](){return this;}[_0xeb087b(0x32f)](){var _0x54012b=_0xeb087b;this[_0x54012b(0x2aa)]['onSendChangeset'](this[_0x54012b(0x167)]);}[_0xeb087b(0xf0)](_0x47e93a){var _0x5354d8=_0xeb087b;return this[_0x5354d8(0x2da)](),this[_0x5354d8(0x2f5)]['createInstance'](ue,this[_0x5354d8(0x212)],this[_0x5354d8(0xe6)],null,this[_0x5354d8(0x3ac)],this[_0x5354d8(0x2aa)],_0x47e93a);}['_resendWithTimeout'](_0x365486,_0x4b5a5b){var _0x2096a1=_0xeb087b,_0x384de4;_0x365486===((_0x384de4=this[_0x2096a1(0x167)])==null?void 0x0:_0x384de4[_0x2096a1(0x114)])&&(this[_0x2096a1(0x32f)](),this[_0x2096a1(0x283)]=_0x4b5a5b===0x0?0x3e8:_0x4b5a5b*0x2);}[_0xeb087b(0x2da)](){var _0x29d480=_0xeb087b,_0x1956b8;(_0x1956b8=this[_0x29d480(0x262)])==null||_0x1956b8[_0x29d480(0x113)](),this['_resendTimeout']=0x0;}};function _0x3bb5(_0x9b345b,_0x3d2e66){var _0x25e96f=_0x25e9();return _0x3bb5=function(_0x3bb589,_0x2e5f21){_0x3bb589=_0x3bb589-0xab;var _0x192845=_0x25e96f[_0x3bb589];return _0x192845;},_0x3bb5(_0x9b345b,_0x3d2e66);}oe=Te([P(0x6,_0x2e70ff(_0x1ce7a4)),P(0x7,_0x2e70ff(_0x550fcb)),P(0x8,_0x3c3082),P(0x9,_0x55e24e),P(0xa,_0x3721fd),P(0xb,_0x54ad30),P(0xc,_0x12fd4d(J))],oe);let ue=class extends Ce{constructor(_0x4a4c0a,_0xff8aac,_0x4478d2,_0x1f9327,_0x1e9205,_0x488cc8=!0x1,_0x3908de,_0x416313,_0x378e65,_0x57c700,_0x1fc48e,_0x225915,_0xbde78e){var _0x4832ce=_0xeb087b;super(_0x4a4c0a,_0xff8aac,_0x4478d2,_0x1f9327,_0x1e9205,_0x416313,_0x378e65,_0x57c700,_0xbde78e),N(this,_0x4832ce(0x1bc),_0x4832ce(0x147)),(this[_0x4832ce(0x168)]=_0x488cc8,this[_0x4832ce(0x1e4)]=_0x3908de,this[_0x4832ce(0x1f1)]=_0x1fc48e,this['_collaborationUIEventService']=_0x225915,this[_0x4832ce(0x20c)]=_0xbde78e,this['_showConflictNotification'](),this['_clearLocalCache'](),this[_0x4832ce(0x295)]());}[_0xeb087b(0x2cf)](){return this;}[_0xeb087b(0xab)](){return this;}['onRemoteAck'](){return this;}[_0xeb087b(0x131)](){return this;}['onRemoteRetry'](){return this;}[_0xeb087b(0x29f)](){return this;}[_0xeb087b(0x35d)](){return this;}[_0xeb087b(0x32f)](){var _0xa72a82=_0xeb087b;throw new Error(_0xa72a82(0x32c));}['_clearLocalCache'](){var _0x1fcb99=_0xeb087b,_0x5315f6;(_0x5315f6=this['_localCacheService'])==null||_0x5315f6[_0x1fcb99(0x1ff)](this[_0x1fcb99(0x212)],this[_0x1fcb99(0xe6)],null,[]);}[_0xeb087b(0x223)](){var _0x5182b8=_0xeb087b;this['_isPermissionRej']?this[_0x5182b8(0x107)]['emitEvent']({'id':se[_0x5182b8(0x237)]}):this[_0x5182b8(0x107)][_0x5182b8(0x1d4)]({'id':se[_0x5182b8(0xf2)]});}['_disableEditing'](){var _0x22a718=_0xeb087b;this[_0x22a718(0x1e4)][_0x22a718(0x1fb)](new _0x1322ae(this[_0x22a718(0x212)])['id'],!0x1);}};ue=Te([P(0x6,_0x2e70ff(_0x256f4d)),P(0x7,_0x3c3082),P(0x8,_0x54ad30),P(0x9,_0x2e70ff(_0x550fcb)),P(0xa,_0x2e70ff(_0x2f6c43)),P(0xb,_0x2e70ff(pe)),P(0xc,_0x12fd4d(J))],ue);let de=class extends Ce{constructor(_0xa0e080,_0x2505dd,_0xa7bad3,_0xeeda4e,_0x6c84d3,_0x3b2311,_0x32bd1b,_0x13697d,_0x3cd387,_0x2b047f){var _0x5b9e0c=_0xeb087b;super(_0xa0e080,_0x2505dd,_0xa7bad3,_0xeeda4e,_0x6c84d3,_0x13697d,_0x3cd387,_0x32bd1b,_0x2b047f),N(this,_0x5b9e0c(0x1bc),_0x5b9e0c(0x1ef)),this[_0x5b9e0c(0x2f5)]=_0x3b2311;}[_0xeb087b(0x2cf)](_0x45f586){var _0x551b5c=_0xeb087b;return this[_0x551b5c(0x3ac)][_0x551b5c(0x2c9)](_0x45f586),this['_updateLocalCache'](),this;}[_0xeb087b(0xab)](_0x43da0a){var _0x1caeac=_0xeb087b;throw new Error(_0x1caeac(0x2f9));}[_0xeb087b(0x205)](){var _0x438bdd=_0xeb087b;throw new Error(_0x438bdd(0x2c6));}[_0xeb087b(0x131)](){var _0x3d1aa8=_0xeb087b;throw new Error(_0x3d1aa8(0x1a2));}[_0xeb087b(0x390)](){return this;}[_0xeb087b(0x29f)](){return this;}[_0xeb087b(0x35d)](){const {_injector:_0x6d62b1,_pendingMutations:_0x13e600,_awaitingChangeset:_0x5ba61b,unitID:_0x4cbdc7,_handler:_0x1b071b,type:_0x5a5980}=this,_0x57b395=Oi(_0x6d62b1,_0x4cbdc7,_0x5a5980,_0x5ba61b,_0x13e600,_0x1b071b);return _0x57b395 instanceof ae?_0x57b395['_schedule']():(_0x57b395 instanceof oe||_0x57b395 instanceof le)&&_0x57b395['resend'](),_0x57b395;}['resend'](){var _0x4ca122=_0xeb087b;throw new Error(_0x4ca122(0x2ca));}};de=Te([P(0x5,_0x2e70ff(_0x1ce7a4)),P(0x6,_0x2e70ff(_0x550fcb)),P(0x7,_0x3c3082),P(0x8,_0x54ad30),P(0x9,_0x12fd4d(J))],de);let ee=class extends Ce{constructor(_0x3c5939,_0x27579c,_0x48fa55,_0x41d263,_0xf29f7,_0x495ddb,_0x42f532,_0x57da6c,_0x3dbb86,_0x2fe867,_0x34bf04,_0xcf4793,_0x4412f8,_0x1c7003){var _0xf5f2cb=_0xeb087b;super(_0x3c5939,_0x27579c,_0x48fa55,_0x41d263,_0x42f532,_0x34bf04,_0xcf4793,_0x3dbb86,_0x1c7003),N(this,_0xf5f2cb(0x1bc),_0xf5f2cb(0x21a)),(this[_0xf5f2cb(0x175)]=_0xf29f7,this[_0xf5f2cb(0x263)]=_0x495ddb,this[_0xf5f2cb(0x2f5)]=_0x57da6c,this[_0xf5f2cb(0xe0)]=_0x2fe867,this[_0xf5f2cb(0x16d)]=_0x4412f8,this['localCacheService']=_0x1c7003);}[_0xeb087b(0xc0)](_0x4847ea){var _0x7a46a2=_0xeb087b;try{const _0xcb8c5c=[..._0x4847ea,...this['_queuedRemoteChangesets']],_0x5a6928=[this[_0x7a46a2(0x167)]||this['_acknowledgedAwaitingChangeset']]['filter'](_0x3833c2=>!!_0x3833c2);let _0x32dbaf,_0x1c4620;if(_0x5a6928[_0x7a46a2(0x178)]){const _0x2b09da=this[_0x7a46a2(0x16d)][_0x7a46a2(0x2a8)](_0xcb8c5c,_0x5a6928,!0x1);if(!_0x5570e8(_0x2b09da))throw _0x2b09da[_0x7a46a2(0x22d)];_0x32dbaf=_0x2b09da['c1Prime'],_0x1c4620=_0x2b09da[_0x7a46a2(0x373)];}else _0x32dbaf=_0xcb8c5c,_0x1c4620=[];let _0x501071=this[_0x7a46a2(0x3ac)];_0x32dbaf[_0x7a46a2(0x164)](_0xb48c36=>{var _0x859aee=_0x7a46a2;let _0xa264e3;if(_0x501071[_0x859aee(0x178)]){const _0xd44776=this['_transformService'][_0x859aee(0x313)](_0xb48c36,_0x501071);if(!_0x16c0b4(_0xd44776))throw _0xd44776[_0x859aee(0x22d)];_0xa264e3=_0xd44776[_0x859aee(0x269)],_0x501071=_0xd44776['m2Prime'];}else _0xa264e3=_0xb48c36;this[_0x859aee(0x1f3)](_0xa264e3);}),this[_0x7a46a2(0x175)]&&this[_0x7a46a2(0x386)](),this[_0x7a46a2(0x167)]&&_0x1c4620['length']&&(_0x1c4620[0x0][_0x7a46a2(0x3a1)]=this['_getCurrentRevision']());let _0x3ea2e0;if(this['_awaitingChangeset']&&_0x501071['length']!==0x0)_0x3ea2e0=this[_0x7a46a2(0x2f5)][_0x7a46a2(0x21e)](oe,this[_0x7a46a2(0x212)],this[_0x7a46a2(0xe6)],_0x1c4620[0x0],_0x501071,this[_0x7a46a2(0x2aa)],void 0x0);else{if(this[_0x7a46a2(0x167)]&&_0x501071[_0x7a46a2(0x178)]===0x0)_0x1c4620[0x0][_0x7a46a2(0x3a1)]=this[_0x7a46a2(0x3a2)](),_0x3ea2e0=this[_0x7a46a2(0x2f5)]['createInstance'](le,this[_0x7a46a2(0x212)],this[_0x7a46a2(0xe6)],_0x1c4620[0x0],this[_0x7a46a2(0x2aa)]);else{if(_0x501071[_0x7a46a2(0x178)]!==0x0){const _0x12f8c4=this[_0x7a46a2(0x2f5)][_0x7a46a2(0x21e)](ae,this[_0x7a46a2(0x212)],this['type'],_0x501071,this['_handler']);_0x12f8c4[_0x7a46a2(0x1b9)](),_0x3ea2e0=_0x12f8c4;}else _0x3ea2e0=this[_0x7a46a2(0x2f5)][_0x7a46a2(0x21e)](Ne,this[_0x7a46a2(0x212)],this[_0x7a46a2(0xe6)],this['_handler']);}}return _0x3ea2e0['_updateLocalCache'](),_0x3ea2e0;}catch(_0x582f9d){return this[_0x7a46a2(0xe0)][_0x7a46a2(0x22d)](_0x7a46a2(0xd8),'failed\x20to\x20apply\x20missed\x20changesets!',_0x582f9d),this[_0x7a46a2(0x2f5)]['createInstance'](ue,this[_0x7a46a2(0x212)],this['type'],this[_0x7a46a2(0x167)],this[_0x7a46a2(0x3ac)],this['_handler'],!0x1);}}[_0xeb087b(0x32f)](){throw new Error('[FetchingMissState]:\x20invalid\x20calling\x20to\x20`resend`.');}[_0xeb087b(0x2cf)](_0x31c32f){var _0x29800a=_0xeb087b;return this[_0x29800a(0x3ac)]['push'](_0x31c32f),this;}['onRemoteChangeset'](_0x13b9e1){var _0x38d107=_0xeb087b;return this[_0x38d107(0x263)][_0x38d107(0x2c9)](_0x13b9e1),this;}[_0xeb087b(0x205)](_0x49ce4c){var _0x505f72=_0xeb087b;if(this[_0x505f72(0x167)])return this[_0x505f72(0x175)]=this[_0x505f72(0x167)],this[_0x505f72(0x167)]=null,this;throw new Error(_0x505f72(0xfa));}[_0xeb087b(0x131)](_0x3b5d69){var _0x24146f=_0xeb087b;return this[_0x24146f(0xf0)](!!(_0x3b5d69!=null&&_0x3b5d69['isPermissionRej']));}[_0xeb087b(0x390)](){return this;}[_0xeb087b(0x29f)](){var _0x501c7c=_0xeb087b;return this[_0x501c7c(0x2f5)][_0x501c7c(0x21e)](de,this[_0x501c7c(0x212)],this[_0x501c7c(0xe6)],this[_0x501c7c(0x167)],this['_pendingMutations'],this[_0x501c7c(0x2aa)]);}['toggleOnline'](){return this;}[_0xeb087b(0xf0)](_0x43cb2c){var _0x1374a2=_0xeb087b;return this[_0x1374a2(0x2f5)][_0x1374a2(0x21e)](ue,this['unitID'],this[_0x1374a2(0xe6)],this[_0x1374a2(0x167)],this['_pendingMutations'],this[_0x1374a2(0x2aa)],_0x43cb2c);}};ee=Te([P(0x7,_0x2e70ff(_0x1ce7a4)),P(0x8,_0x2e70ff(_0x550fcb)),P(0x9,_0x55e24e),P(0xa,_0x3c3082),P(0xb,_0x54ad30),P(0xc,_0x3721fd),P(0xd,_0x12fd4d(J))],ee);function Oi(_0x284125,_0x10a61e,_0x10b55e,_0x40bb62,_0xa94ae5,_0x19a40b){var _0x372f58=_0xeb087b;return _0x40bb62&&_0xa94ae5[_0x372f58(0x178)]?_0x284125[_0x372f58(0x21e)](oe,_0x10a61e,_0x10b55e,_0x40bb62,_0xa94ae5,_0x19a40b,void 0x0):_0x40bb62?_0x284125[_0x372f58(0x21e)](le,_0x10a61e,_0x10b55e,_0x40bb62,_0x19a40b):_0xa94ae5[_0x372f58(0x178)]?_0x284125[_0x372f58(0x21e)](ae,_0x10a61e,_0x10b55e,_0xa94ae5,_0x19a40b):_0x284125[_0x372f58(0x21e)](Ne,_0x10a61e,_0x10b55e,_0x19a40b);}var ar=Object[_0xeb087b(0x33d)],xt=(_0x76d20,_0x3d58ba,_0xd99ee7,_0x3ea429)=>{var _0x503c32=_0xeb087b;for(var _0xc41567=_0x3ea429>0x1?void 0x0:_0x3ea429?ar(_0x3d58ba,_0xd99ee7):_0x3d58ba,_0x1d2710=_0x76d20[_0x503c32(0x178)]-0x1,_0x3ff916;_0x1d2710>=0x0;_0x1d2710--)(_0x3ff916=_0x76d20[_0x1d2710])&&(_0xc41567=_0x3ff916(_0xc41567)||_0xc41567);return _0xc41567;},H=(_0x3a0c6e,_0x1ce37e)=>(_0x175443,_0xf04e0b)=>_0x1ce37e(_0x175443,_0xf04e0b,_0x3a0c6e);let nt=class extends _0x2b51ba{constructor(_0x48c84d,_0x1a63e3,_0x472c36,_0x55fa2b,_0x35fc9c,_0x484058,_0x3007b1,_0x2dd163,_0x176cfe,_0x2b5873,_0x3ff4c5,_0x4de223,_0x36ff0c){var _0x754a8a=_0xeb087b;super(),N(this,'_state$',new _0x1a7ee6(null)),N(this,_0x754a8a(0x15f),this['_state$'][_0x754a8a(0x125)]()),N(this,_0x754a8a(0xaf)),N(this,_0x754a8a(0x187),!0x1),N(this,_0x754a8a(0x356),''),N(this,_0x754a8a(0x260),0x0),N(this,'status$',this[_0x754a8a(0x15f)][_0x754a8a(0xf5)](_0x4f7caf(_0x13f981=>_0x13f981?_0x13f981[_0x754a8a(0x1bc)]:bi[_0x754a8a(0x257)]),_0x1c517f(0x1))),N(this,'_transitionLocked',!0x1),N(this,_0x754a8a(0x2a1),[]),(this['unitID']=_0x48c84d,this[_0x754a8a(0x354)]=_0x1a63e3,this['_type']=_0x472c36,this[_0x754a8a(0x2f5)]=_0x55fa2b,this[_0x754a8a(0x12a)]=_0x35fc9c,this[_0x754a8a(0x1f1)]=_0x484058,this[_0x754a8a(0xf4)]=_0x3007b1,this[_0x754a8a(0x314)]=_0x2dd163,this[_0x754a8a(0xe0)]=_0x176cfe,this[_0x754a8a(0x35b)]=_0x2b5873,this[_0x754a8a(0x1e4)]=_0x3ff4c5,this[_0x754a8a(0x1f9)]=_0x4de223,this[_0x754a8a(0x1ed)]=_0x36ff0c);}get[_0xeb087b(0x293)](){var _0x5631d3=_0xeb087b;return this[_0x5631d3(0xaf)];}async[_0xeb087b(0x289)](){var _0xd352f2=_0xeb087b;if(this[_0xd352f2(0x293)])throw new Error(_0xd352f2(0xb5));await this[_0xd352f2(0xed)]();}[_0xeb087b(0x176)](){return this['_collaborationPaused']=!0x0,_0x47a813(()=>{var _0x5af747=_0x3bb5;this[_0x5af747(0x187)]=!0x1,this[_0x5af747(0x12b)]();});}['onLocalMutation'](_0x12d78f){var _0x49f895=_0xeb087b;this[_0x49f895(0x1e5)](_0x12d78f);}[_0xeb087b(0x1b2)](_0x510f98){var _0x1630a8=_0xeb087b;this[_0x1630a8(0xaf)]=_0x510f98,this['_state$'][_0x1630a8(0x1a8)](_0x510f98);}async['_init'](){var _0x192bfe=_0xeb087b,_0x419dcc;this[_0x192bfe(0x1b2)](await this[_0x192bfe(0xfb)]()),this[_0x192bfe(0x1f9)]&&((_0x419dcc=this[_0x192bfe(0x1f9)])==null||_0x419dcc[_0x192bfe(0x34b)](this[_0x192bfe(0x212)]),this[_0x192bfe(0x287)](this[_0x192bfe(0x1f9)][_0x192bfe(0x24a)](this['unitID'])[_0x192bfe(0x2c0)](_0x44c734=>{var _0x1abb2e=_0x192bfe;this['_logService']['debug']('[CollaborationEntity]',_0x1abb2e(0xb3),_0x44c734),_0x44c734===Ci[_0x1abb2e(0x372)]?(this['_eventService']['emitEvent']({'id':se['OTHER_CLIENT_EDITING']}),this['_permissionService'][_0x1abb2e(0x1fb)](new _0x1322ae(this['unitID'])['id'],!0x1),this['_permissionService']['setShowComponents'](!0x1)):(this['_permissionService']['updatePermissionPoint'](new _0x1322ae(this[_0x1abb2e(0x212)])['id'],!0x0),this[_0x1abb2e(0x1e4)]['setShowComponents'](!0x0));})));let _0x14ce8e=!0x1;return this[_0x192bfe(0x287)](this[_0x192bfe(0x354)][_0x192bfe(0x2e5)][_0x192bfe(0x2c0)](_0x5651f6=>{var _0x157b13=_0x192bfe;_0x5651f6===Ee[_0x157b13(0x399)]?this['_toggleOnline'](_0x14ce8e):_0x5651f6===Ee[_0x157b13(0x257)]&&(_0x14ce8e=!0x0,this[_0x157b13(0x3a8)]());})),this['disposeWithMe'](this[_0x192bfe(0x354)][_0x192bfe(0x301)][_0x192bfe(0x2c0)](_0x585719=>{var _0x1cc935=_0x192bfe;try{switch(_0x585719['eventID']){case _0x42cf7f[_0x1cc935(0x344)]:{this[_0x1cc935(0xee)](_0x50e2fb(_0x585719[_0x1cc935(0x36a)]));break;}case _0x42cf7f[_0x1cc935(0x271)]:{this[_0x1cc935(0xd9)](_0x585719[_0x1cc935(0x36a)]);break;}case _0x42cf7f[_0x1cc935(0xad)]:{this[_0x1cc935(0x210)]();break;}case _0x42cf7f[_0x1cc935(0x256)]:{this[_0x1cc935(0x220)](_0x585719[_0x1cc935(0x36a)]);break;}case _0x42cf7f['PSEUDO_FETCH_MISSING_RESULT']:{this[_0x1cc935(0xb9)](_0x585719[_0x1cc935(0x36a)]['changesets'][_0x1cc935(0x3a7)](_0x4e403f=>_0x50e2fb(_0x4e403f)));break;}case _0x42cf7f[_0x1cc935(0x14e)]:{this[_0x1cc935(0x210)]({'isPermissionRej':!0x0});break;}case _0x42cf7f[_0x1cc935(0x254)]:break;}}catch(_0x250ad7){throw console['error'](_0x1cc935(0x115),_0x250ad7),_0x250ad7;}})),this[_0x192bfe(0xaf)];}[_0xeb087b(0x150)](){var _0x43116d=_0xeb087b;this[_0x43116d(0x319)]=!0x1;}[_0xeb087b(0x368)](){var _0x2c38df=_0xeb087b;if(this['_transitionLocked'])throw new Error(_0x2c38df(0x296));this[_0x2c38df(0x319)]=!0x0;}[_0xeb087b(0x1e5)](_0x1b27ea){var _0x36cd27=_0xeb087b;this['_lockTransition'](),this[_0x36cd27(0x1b2)](this[_0x36cd27(0xaf)]['appendMutation'](_0x1b27ea)),this['_unlockTransition']();}[_0xeb087b(0xee)](_0x135707){var _0xbaa70f=_0xeb087b;if(!(_0x135707[_0xbaa70f(0x25c)]<=this[_0xbaa70f(0xf4)][_0xbaa70f(0x1eb)](this[_0xbaa70f(0x212)]))){if(this[_0xbaa70f(0x187)]){this[_0xbaa70f(0x2a1)]['push'](_0x135707);return;}this['_applyRemoteChangeset'](_0x135707);}}[_0xeb087b(0x12b)](){var _0x1891b5=_0xeb087b;this[_0x1891b5(0x2a1)][_0x1891b5(0x164)](_0x3749d9=>this[_0x1891b5(0x1f8)](_0x3749d9)),this[_0x1891b5(0x2a1)]=[];}['_applyRemoteChangeset'](_0x459ca8){var _0x194012=_0xeb087b;const _0x3fe7aa=this['_compressMutationService']['interceptor'][_0x194012(0x264)](this[_0x194012(0x12a)][_0x194012(0x1e2)][_0x194012(0x323)]()[_0x194012(0x2bd)])(_0x459ca8[_0x194012(0x364)],null)||_0x459ca8[_0x194012(0x364)],_0x3ceff8={..._0x459ca8,'mutations':_0x3fe7aa};this[_0x194012(0x368)](),this[_0x194012(0x1b2)](this[_0x194012(0xaf)]['onRemoteChangeset'](_0x3ceff8)),this[_0x194012(0x150)]();}[_0xeb087b(0xd9)](_0x605193){var _0x5aafff=_0xeb087b;this[_0x5aafff(0x368)](),this[_0x5aafff(0x1b2)](this[_0x5aafff(0xaf)]['onRemoteAck'](_0x605193)),this['_unlockTransition']();}[_0xeb087b(0x210)](_0x2f61f6){var _0xb72a38=_0xeb087b;this['_lockTransition'](),this[_0xb72a38(0x1b2)](this[_0xb72a38(0xaf)][_0xb72a38(0x131)](_0x2f61f6)),this[_0xb72a38(0x150)]();}['_onRemoteRetry'](_0x21ee24){var _0x456430=_0xeb087b;this[_0x456430(0x368)](),this['_updateState'](this[_0x456430(0xaf)][_0x456430(0x390)](_0x21ee24)),this[_0x456430(0x150)]();}[_0xeb087b(0xb9)](_0x44f8d7){var _0x47a830=_0xeb087b;if(!(this['_state']instanceof ee))throw new TypeError('[CollaborationEntity]:\x20cannot\x20apply\x20missing\x20results\x20on\x20other\x20states!');const _0x591aa7=_0x44f8d7[_0x47a830(0x3a7)](_0x5bdff7=>{var _0x40b0a5=_0x47a830;const _0x37f066=this[_0x40b0a5(0x12a)][_0x40b0a5(0x1e2)][_0x40b0a5(0x264)](this[_0x40b0a5(0x12a)][_0x40b0a5(0x1e2)]['getInterceptPoints']()[_0x40b0a5(0x2bd)])(_0x5bdff7[_0x40b0a5(0x364)],null)||_0x5bdff7[_0x40b0a5(0x364)];return{..._0x5bdff7,'mutations':_0x37f066};});this[_0x47a830(0x368)](),this['_updateState'](this[_0x47a830(0xaf)][_0x47a830(0xc0)](_0x591aa7)),this['_unlockTransition']();}[_0xeb087b(0x3a8)](){var _0x513a09=_0xeb087b;this[_0x513a09(0x368)](),this['_updateState'](this[_0x513a09(0xaf)]['toggleOffline']()),this['_unlockTransition']();}[_0xeb087b(0x1b0)](_0x372d28=!0x1){var _0x1ff543=_0xeb087b;this[_0x1ff543(0x368)](),this[_0x1ff543(0x1b2)](this['_state'][_0x1ff543(0x35d)]()),this[_0x1ff543(0x150)]();const _0x8ddd2a=this[_0x1ff543(0xaf)];_0x372d28&&_0x8ddd2a instanceof Ne&&(this[_0x1ff543(0x368)](),this[_0x1ff543(0x1b2)](_0x8ddd2a[_0x1ff543(0x16f)]()),this['_unlockTransition']());}async['_createInitialState'](){return new Promise(_0x175285=>{var _0x289a8b=_0x3bb5;this[_0x289a8b(0x354)][_0x289a8b(0x2e5)][_0x289a8b(0xf5)](_0x30b4a2(0x1))[_0x289a8b(0x2c0)](async _0x5ed402=>{var _0x5473d4=_0x289a8b;_0x175285(await this[_0x5473d4(0x11f)](_0x5ed402===Ee[_0x5473d4(0x399)]));});});}[_0xeb087b(0x10e)](){var _0xcad05d=_0xeb087b;const _0x3d6f7c=this[_0xcad05d(0x212)];return{'onStateChange':(_0x55c056,_0x38c484)=>{var _0x448518=_0xcad05d;if(_0x55c056!==this[_0x448518(0xaf)])throw new Error(_0x448518(0x3b2)+_0x55c056[_0x448518(0x1bc)]+_0x448518(0x11a)+_0x38c484[_0x448518(0x1bc)]+_0x448518(0x31e)+this[_0x448518(0xaf)]['status']);this[_0x448518(0x1b2)](_0x38c484);},'onSendChangeset':_0x393d20=>{var _0x1e285e=_0xcad05d;_0x393d20[_0x1e285e(0x278)]||(_0x393d20[_0x1e285e(0x278)]=this[_0x1e285e(0x356)],_0x393d20['reqId']=++this['_changesetReqId']);const _0x13db95={'eventID':_0x42cf7f[_0x1e285e(0x28e)],'data':{'unitID':_0x393d20[_0x1e285e(0x212)],'unitType':this[_0x1e285e(0x21f)],'changeset':_0x393d20,'memberID':this['session'][_0x1e285e(0x1cd)]()}};this['session'][_0x1e285e(0x165)](_0x13db95,this['unitID']);},'onMissingChangesets':({from:_0x37794c,to:_0x46ec76})=>{var _0x1986ba=_0xcad05d;this[_0x1986ba(0xe0)][_0x1986ba(0x1d2)](_0x1986ba(0x1d3),_0x1986ba(0x31b)+_0x37794c+_0x1986ba(0x320)+_0x46ec76);const _0x431416={'eventID':_0x42cf7f['FETCH_MISSING'],'data':{'unitID':_0x3d6f7c,'unitType':this[_0x1986ba(0x21f)],'from':_0x37794c,'to':_0x46ec76}};this[_0x1986ba(0x354)][_0x1986ba(0x165)](_0x431416,this['unitID']);}};}async['_createInitialStateImpl'](_0x2c9ea3){var _0x100bbb=_0xeb087b,_0x1f347a,_0x2fd2fc,_0x52dc0d;const _0x52f374=await((_0x1f347a=this['_localCacheService'])==null?void 0x0:_0x1f347a[_0x100bbb(0x1da)](this[_0x100bbb(0x212)])),_0x487535=(_0x2fd2fc=_0x52f374==null?void 0x0:_0x52f374[_0x100bbb(0x364)])!=null?_0x2fd2fc:[],_0x30f8f1=(_0x52dc0d=_0x52f374==null?void 0x0:_0x52f374[_0x100bbb(0x305)])!=null?_0x52dc0d:null,_0x5ab2c8=!!(_0x30f8f1!=null&&_0x30f8f1['sid'])&&!!(_0x30f8f1!=null&&_0x30f8f1[_0x100bbb(0x114)]);this[_0x100bbb(0x356)]=_0x5ab2c8?_0x30f8f1[_0x100bbb(0x278)]:Zn(),this[_0x100bbb(0x260)]=_0x5ab2c8?_0x30f8f1['reqId']:0x0;const _0x3621d5=this['unitID'];try{this[_0x100bbb(0x2e9)](_0x30f8f1,_0x487535);}catch(_0x570f6e){this['_logService'][_0x100bbb(0x22d)](_0x570f6e);}const _0x5bceb6=this[_0x100bbb(0x10e)]();if(_0x2c9ea3){const _0x46bf67=Oi(this[_0x100bbb(0x2f5)],_0x3621d5,this[_0x100bbb(0x21f)],_0x30f8f1,_0x487535,_0x5bceb6);return _0x46bf67 instanceof ae?_0x46bf67['_schedule']():(_0x46bf67 instanceof oe||_0x46bf67 instanceof le)&&_0x46bf67[_0x100bbb(0x32f)](),_0x46bf67;}return this[_0x100bbb(0x2f5)]['createInstance'](de,_0x3621d5,this[_0x100bbb(0x21f)],_0x30f8f1,_0x487535,_0x5bceb6);}[_0xeb087b(0x2e9)](_0x188a74,_0x2375ab){var _0x4cc233=_0xeb087b,_0x34f6d9,_0x15aef3;const _0x5897d7=this[_0x4cc233(0x12a)][_0x4cc233(0x1e2)]['fetchThroughInterceptors'](this[_0x4cc233(0x12a)][_0x4cc233(0x1e2)][_0x4cc233(0x323)]()[_0x4cc233(0x2bd)]);(_0x34f6d9=_0x5897d7((_0x188a74==null?void 0x0:_0x188a74['mutations'])||[],null))==null||_0x34f6d9[_0x4cc233(0x164)](_0x315ff6=>this[_0x4cc233(0x35b)][_0x4cc233(0x198)](_0x315ff6['id'],_0x315ff6[_0x4cc233(0x315)])),(_0x15aef3=_0x5897d7(_0x2375ab||[],null))==null||_0x15aef3[_0x4cc233(0x164)](_0x3ebab9=>this[_0x4cc233(0x35b)][_0x4cc233(0x198)](_0x3ebab9['id'],_0x3ebab9[_0x4cc233(0x315)]));}};nt=xt([H(0x3,_0x2e70ff(_0x1ce7a4)),H(0x4,_0x2e70ff(_0x28b939)),H(0x5,_0x2e70ff(_0x2f6c43)),H(0x6,_0x2e70ff(_0x550fcb)),H(0x7,_0x2e70ff(pe)),H(0x8,_0x55e24e),H(0x9,_0x3c3082),H(0xa,_0x256f4d),H(0xb,_0x12fd4d(ht)),H(0xc,_0x12fd4d(J))],nt);let It=class extends nt{constructor(_0x588d35,_0x3f8f12,_0x461ed1,_0x229e87,_0x16a6d2,_0x5636fb,_0x322f0e,_0x348482,_0x5894fa,_0x3304ee,_0xc454af,_0x25fdda,_0x50d09d){var _0x4ec0aa=_0xeb087b;super(_0x588d35,_0x461ed1,_0x3f8f12,_0x229e87,_0x16a6d2,_0x5636fb,_0x322f0e,_0x348482,_0x5894fa,_0x3304ee,_0xc454af,_0x25fdda,_0x50d09d),N(this,_0x4ec0aa(0x244),null),(this[_0x4ec0aa(0x212)]=_0x588d35,this[_0x4ec0aa(0xe6)]=_0x3f8f12);}['addHandlerCallback'](_0x371525){var _0x11dd99=_0xeb087b;this[_0x11dd99(0x244)]=_0x371525;}['dispose'](){var _0x820111=_0xeb087b;this['_handlerCallback']=null,super[_0x820111(0x328)]();}[_0xeb087b(0x10e)](){var _0x3613c8=_0xeb087b;const _0x394f2d=super[_0x3613c8(0x10e)]();return _0x394f2d[_0x3613c8(0x16c)]=_0x5eb116=>{var _0x43cf8e=_0x3613c8,_0x3b211f,_0x2e1c54;return(_0x2e1c54=(_0x3b211f=this[_0x43cf8e(0x244)])==null?void 0x0:_0x3b211f[_0x43cf8e(0x16c)])==null?void 0x0:_0x2e1c54[_0x43cf8e(0x23e)](_0x3b211f,_0x5eb116);},_0x394f2d[_0x3613c8(0x1a0)]=_0x29edf8=>{var _0x27b3cf=_0x3613c8,_0x1ea40a,_0x129bd1;return(_0x129bd1=(_0x1ea40a=this['_handlerCallback'])==null?void 0x0:_0x1ea40a[_0x27b3cf(0x1a0)])==null?void 0x0:_0x129bd1['call'](_0x1ea40a,_0x29edf8);},_0x394f2d['onTransformSelections']=_0x8a2b26=>{var _0x57604a=_0x3613c8,_0x24a7b6,_0x4b9de7;return(_0x4b9de7=(_0x24a7b6=this['_handlerCallback'])==null?void 0x0:_0x24a7b6[_0x57604a(0x343)])==null?void 0x0:_0x4b9de7[_0x57604a(0x23e)](_0x24a7b6,_0x8a2b26);},_0x394f2d[_0x3613c8(0x298)]=_0x4373b1=>{var _0x71a55f=_0x3613c8,_0x15551d,_0x2b55fb;return(_0x2b55fb=(_0x15551d=this[_0x71a55f(0x244)])==null?void 0x0:_0x15551d[_0x71a55f(0x298)])==null?void 0x0:_0x2b55fb[_0x71a55f(0x23e)](_0x15551d,_0x4373b1);},_0x394f2d[_0x3613c8(0x261)]=_0x16d69f=>{var _0x465733=_0x3613c8,_0x1f782d,_0x48cec4,_0x4935c4;if(!((_0x1f782d=this['_handlerCallback'])!=null&&_0x1f782d['onTransformRemoteChangesetByIMECache']))throw new Error(_0x465733(0xba));return(_0x4935c4=(_0x48cec4=this[_0x465733(0x244)])==null?void 0x0:_0x48cec4[_0x465733(0x261)])==null?void 0x0:_0x4935c4['call'](_0x48cec4,_0x16d69f);},_0x394f2d['onTransformRemoteChangesetByStateCache']=_0x4082dc=>{var _0x226256=_0x3613c8,_0x317c42,_0x3b647c,_0x1a9cfa;if(!((_0x317c42=this[_0x226256(0x244)])!=null&&_0x317c42[_0x226256(0x177)]))throw new Error(_0x226256(0xcc));return(_0x1a9cfa=(_0x3b647c=this[_0x226256(0x244)])==null?void 0x0:_0x3b647c[_0x226256(0x177)])==null?void 0x0:_0x1a9cfa[_0x226256(0x23e)](_0x3b647c,_0x4082dc);},_0x394f2d;}async[_0xeb087b(0xed)](){var _0xe3a219=_0xeb087b;const _0x17af06=await super['_init']();return this[_0xe3a219(0x287)](this[_0xe3a219(0x35b)][_0xe3a219(0x1c4)]((_0xfbbfba,_0x201bc5)=>{var _0x3e901a=_0xe3a219;if(_0xfbbfba[_0x3e901a(0xe6)]!==_0x4bae3d['MUTATION']||_0x201bc5!=null&&_0x201bc5[_0x3e901a(0x3b0)]||_0x201bc5!=null&&_0x201bc5[_0x3e901a(0xf3)]||_0xfbbfba['id']===_0x5e50e1['id'])return;const _0x212698=_0xfbbfba['params'];if((_0x212698==null?void 0x0:_0x212698[_0x3e901a(0x1c0)])!==this[_0x3e901a(0x212)])return;const _0x4143dd=_0xfbbfba,_0x250665=this[_0x3e901a(0x12a)][_0x3e901a(0x1e2)]['fetchThroughInterceptors'](this[_0x3e901a(0x12a)]['interceptor'][_0x3e901a(0x323)]()[_0x3e901a(0x226)])([_0x4143dd],null)||[_0x4143dd];this[_0x3e901a(0x1e5)](_0x250665[0x0]);})),_0x17af06;}};It=xt([H(0x3,_0x2e70ff(_0x1ce7a4)),H(0x4,_0x2e70ff(_0x28b939)),H(0x5,_0x2e70ff(_0x2f6c43)),H(0x6,_0x2e70ff(_0x550fcb)),H(0x7,_0x2e70ff(pe)),H(0x8,_0x55e24e),H(0x9,_0x3c3082),H(0xa,_0x256f4d),H(0xb,_0x12fd4d(ht)),H(0xc,_0x12fd4d(J))],It);let Tt=class extends nt{constructor(_0x51e325,_0x130ed9,_0x398597,_0x1701b6,_0x2c36e4,_0x5eec16,_0x30a2a5,_0x1697fe,_0x46be62,_0x348491,_0x5cb96f,_0x27b0d4,_0x3ce4fd,_0x3c7e9c){var _0x2b8192=_0xeb087b;super(_0x51e325,_0x398597,_0x130ed9,_0x1701b6,_0x2c36e4,_0x5eec16,_0x30a2a5,_0x46be62,_0x348491,_0x5cb96f,_0x27b0d4,_0x3ce4fd,_0x3c7e9c),this[_0x2b8192(0x212)]=_0x51e325,this['type']=_0x130ed9,this[_0x2b8192(0x30f)]=_0x1697fe;}[_0xeb087b(0x10e)](){var _0xfe192=_0xeb087b;const _0x1c7584=super[_0xfe192(0x10e)]();return _0x1c7584[_0xfe192(0x343)]=_0x297cb0=>this['_sheetTransformSelectionsService'][_0xfe192(0x172)](_0x297cb0),_0x1c7584;}async['_init'](){var _0x57adfc=_0xeb087b;const _0xedaa24=await super[_0x57adfc(0xed)]();return this['disposeWithMe'](this[_0x57adfc(0x35b)][_0x57adfc(0x1c4)]((_0x30375e,_0x3cd0ba)=>{var _0x5a3e31=_0x57adfc;if(_0x30375e[_0x5a3e31(0xe6)]!==_0x4bae3d[_0x5a3e31(0x18e)]||_0x3cd0ba!=null&&_0x3cd0ba[_0x5a3e31(0x3b0)]||_0x3cd0ba!=null&&_0x3cd0ba[_0x5a3e31(0xf3)])return;const _0x1a7a07=_0x30375e[_0x5a3e31(0x315)];if((_0x1a7a07==null?void 0x0:_0x1a7a07['unitId'])!==this[_0x5a3e31(0x212)])return;const _0x4c86c7=_0x30375e,_0x87e211=this[_0x5a3e31(0x12a)]['interceptor'][_0x5a3e31(0x264)](this['_compressMutationService'][_0x5a3e31(0x1e2)][_0x5a3e31(0x323)]()[_0x5a3e31(0x226)])([_0x4c86c7],null)||[_0x4c86c7];this[_0x5a3e31(0x1e5)](_0x87e211[0x0]);})),_0xedaa24;}};Tt=xt([H(0x3,_0x2e70ff(_0x1ce7a4)),H(0x4,_0x2e70ff(_0x28b939)),H(0x5,_0x2e70ff(_0x2f6c43)),H(0x6,_0x2e70ff(_0x550fcb)),H(0x7,_0x2e70ff(it)),H(0x8,_0x2e70ff(pe)),H(0x9,_0x55e24e),H(0xa,_0x3c3082),H(0xb,_0x256f4d),H(0xc,_0x12fd4d(ht)),H(0xd,_0x12fd4d(J))],Tt);var or=Object['getOwnPropertyDescriptor'],cr=(_0x23afe9,_0x1f482a,_0x56003d,_0x5f252e)=>{var _0x869def=_0xeb087b;for(var _0x4a4255=_0x5f252e>0x1?void 0x0:_0x5f252e?or(_0x1f482a,_0x56003d):_0x1f482a,_0x1a3ca1=_0x23afe9[_0x869def(0x178)]-0x1,_0x5b5a0d;_0x1a3ca1>=0x0;_0x1a3ca1--)(_0x5b5a0d=_0x23afe9[_0x1a3ca1])&&(_0x4a4255=_0x5b5a0d(_0x4a4255)||_0x4a4255);return _0x4a4255;},ft=(_0x2b834e,_0x4e202b)=>(_0x3876bf,_0x58d74c)=>_0x4e202b(_0x3876bf,_0x58d74c,_0x2b834e);let rt=class extends _0x2b51ba{constructor(_0x4897ad,_0x529bbd,_0x190ecd){var _0x1aee1a=_0xeb087b;super(),N(this,_0x1aee1a(0x1d5),new Map()),N(this,_0x1aee1a(0x35e),new _0x4cc0ff()),N(this,_0x1aee1a(0x201),this['_entityInit$'][_0x1aee1a(0x125)]()),(this[_0x1aee1a(0x2f5)]=_0x4897ad,this[_0x1aee1a(0xef)]=_0x529bbd,this['_univerInstanceService']=_0x190ecd,this[_0x1aee1a(0xed)]());}[_0xeb087b(0x328)](){var _0x502e33=_0xeb087b;super[_0x502e33(0x328)](),this[_0x502e33(0x1d5)][_0x502e33(0x164)](_0x58cc65=>_0x58cc65[_0x502e33(0x328)]()),this[_0x502e33(0x1d5)][_0x502e33(0x11e)]();}[_0xeb087b(0x3af)](_0xe6dd8c){var _0x997d93=_0xeb087b,_0x10c039;return(_0x10c039=this[_0x997d93(0x1d5)][_0x997d93(0x1c9)](_0xe6dd8c))!=null?_0x10c039:null;}[_0xeb087b(0x331)](_0x1d03b6){var _0x59bba4=_0xeb087b;const _0x48e2fd=this[_0x59bba4(0x3af)](_0x1d03b6);return _0x48e2fd?_0x44e79b(_0x48e2fd):this['_entityInit$'][_0x59bba4(0xf5)](_0x13fbd9(_0x1c7469=>_0x1c7469[_0x59bba4(0x212)]===_0x1d03b6));}[_0xeb087b(0x145)](_0x34ed59){var _0x54e1ca=_0xeb087b;return _0x340c9e(this[_0x54e1ca(0x331)](_0x34ed59)[_0x54e1ca(0xf5)](_0x4399b2(()=>{})));}[_0xeb087b(0xed)](){var _0x148ef4=_0xeb087b;this[_0x148ef4(0x1a7)]['getTypeOfUnitAdded$'](_0x84f43f[_0x148ef4(0x3a9)])[_0x148ef4(0xf5)](_0x32d0c3(this[_0x148ef4(0x15d)]),_0x3fc63b(0x10))[_0x148ef4(0x2c0)](async _0x24e4db=>{var _0x5d46d6=_0x148ef4;const _0x436693=_0x24e4db['getUnitId'](),_0x4123e7=await this[_0x5d46d6(0x232)](_0x436693,Q['UNIVER_SHEET']);this[_0x5d46d6(0x1d5)]['set'](_0x436693,_0x4123e7);}),this[_0x148ef4(0x1a7)][_0x148ef4(0x144)](_0x84f43f[_0x148ef4(0x1a1)])[_0x148ef4(0xf5)](_0x32d0c3(this[_0x148ef4(0x15d)]),_0x3fc63b(0x10))[_0x148ef4(0xf5)](_0x13fbd9(_0x5af367=>!_0x5af367[_0x148ef4(0x155)]()[_0x148ef4(0x203)]('__')))[_0x148ef4(0x2c0)](async _0x193240=>{var _0x345e3e=_0x148ef4;const _0x42bbb7=_0x193240[_0x345e3e(0x155)](),_0x886801=await this[_0x345e3e(0x232)](_0x42bbb7,Q['UNIVER_DOC']);this[_0x345e3e(0x1d5)][_0x345e3e(0x36c)](_0x42bbb7,_0x886801);}),_0x51a939(this[_0x148ef4(0x1a7)]['getTypeOfUnitDisposed$'](_0x84f43f['UNIVER_SHEET']),this[_0x148ef4(0x1a7)][_0x148ef4(0x37e)](_0x84f43f[_0x148ef4(0x1a1)]))['pipe'](_0x32d0c3(this['dispose$']))[_0x148ef4(0x2c0)](_0xe0ef26=>{var _0x147d0f=_0x148ef4;const _0x3caf42=_0xe0ef26[_0x147d0f(0x155)](),_0x52ec2b=this[_0x147d0f(0x1d5)][_0x147d0f(0x1c9)](_0x3caf42);_0x52ec2b&&(_0x52ec2b[_0x147d0f(0x328)](),this[_0x147d0f(0x1d5)][_0x147d0f(0x317)](_0x3caf42));});}async[_0xeb087b(0x232)](_0x3fe974,_0xc57e6c){var _0x509a34=_0xeb087b;const _0x451f46=await this[_0x509a34(0xef)]['requireSession'](_0x3fe974),_0x4dc232=this[_0x509a34(0x2f5)][_0x509a34(0x21e)](this[_0x509a34(0x258)](_0xc57e6c),_0x3fe974,_0xc57e6c,_0x451f46);return await _0x4dc232[_0x509a34(0x289)](),this['_entityInit$']['next'](_0x4dc232),_0x4dc232;}[_0xeb087b(0x258)](_0xe8c1bf){var _0x4fb723=_0xeb087b;switch(_0xe8c1bf){case Q['UNIVER_DOC']:return It;case Q[_0x4fb723(0x3a9)]:return Tt;default:throw new Error(_0x4fb723(0x2fd)+_0xe8c1bf);}}};rt=cr([ft(0x0,_0x2e70ff(_0x1ce7a4)),ft(0x1,_0x2e70ff(Le)),ft(0x2,_0x30685d)],rt);var hr=Object[_0xeb087b(0x33d)],_r=(_0x311993,_0x241cec,_0x3a60a0,_0x3e25e3)=>{var _0x5615c5=_0xeb087b;for(var _0x1eb8d8=_0x3e25e3>0x1?void 0x0:_0x3e25e3?hr(_0x241cec,_0x3a60a0):_0x241cec,_0x4f1716=_0x311993[_0x5615c5(0x178)]-0x1,_0x2ba1f8;_0x4f1716>=0x0;_0x4f1716--)(_0x2ba1f8=_0x311993[_0x4f1716])&&(_0x1eb8d8=_0x2ba1f8(_0x1eb8d8)||_0x1eb8d8);return _0x1eb8d8;},zt=(_0x530475,_0x145d1d)=>(_0x19816a,_0x593d64)=>_0x145d1d(_0x19816a,_0x593d64,_0x530475);const lr=_0xeb087b(0x2ad),ur='Univer';let Ct=class extends _0x4f2ba2{constructor(_0x1d5efa,_0x1508cf){var _0x271cf9=_0xeb087b;super(),this['_univerInstanceService']=_0x1d5efa,this['_configService']=_0x1508cf,this[_0x271cf9(0xed)]();}[_0xeb087b(0xed)](){var _0x5f2aee=_0xeb087b;this[_0x5f2aee(0x287)](this[_0x5f2aee(0x1a7)][_0x5f2aee(0x290)][_0x5f2aee(0x2c0)](()=>{var _0x52cddf=_0x5f2aee,_0x5de4a6;const _0x192c86=this[_0x52cddf(0x1a7)][_0x52cddf(0x123)]();let _0x5abfb8=(_0x5de4a6=this[_0x52cddf(0x108)][_0x52cddf(0x183)](lr))!=null?_0x5de4a6:ur;_0x192c86 instanceof _0x4b0118&&(_0x5abfb8=_0x192c86['name']),document[_0x52cddf(0x36b)]=_0x5abfb8;}));}};Ct=_r([zt(0x0,_0x30685d),zt(0x1,_0x5641d0)],Ct);var dr=Object[_0xeb087b(0x33d)],fr=(_0x26fc2b,_0x3e1f2f,_0x541a33,_0x18203d)=>{var _0xaf5b0e=_0xeb087b;for(var _0x2c99ff=_0x18203d>0x1?void 0x0:_0x18203d?dr(_0x3e1f2f,_0x541a33):_0x3e1f2f,_0x4f69fe=_0x26fc2b[_0xaf5b0e(0x178)]-0x1,_0x2d6cfa;_0x4f69fe>=0x0;_0x4f69fe--)(_0x2d6cfa=_0x26fc2b[_0x4f69fe])&&(_0x2c99ff=_0x2d6cfa(_0x2c99ff)||_0x2c99ff);return _0x2c99ff;},vt=(_0x56f3b5,_0xad02eb)=>(_0x19a5bf,_0x19a282)=>_0xad02eb(_0x19a5bf,_0x19a282,_0x56f3b5);let st=class{constructor(_0x23867f,_0x1d091a,_0x16bbfd){var _0x6ead63=_0xeb087b;this[_0x6ead63(0x108)]=_0x23867f,this['_httpService']=_0x1d091a,this[_0x6ead63(0x221)]=_0x16bbfd,this[_0x6ead63(0x289)]();}['init'](){var _0x20b3ae=_0xeb087b;this[_0x20b3ae(0x2ce)]['registerHTTPInterceptor']({'priority':0x1,'interceptor':(_0x30d1d9,_0x58ccfb)=>_0x58ccfb(_0x30d1d9)[_0x20b3ae(0xf5)](_0x5416d8(async _0x18440a=>{var _0x36e220=_0x20b3ae;const _0x15bbc7=_0x18440a;if(_0x15bbc7[_0x36e220(0x1bc)]===0x191){if(typeof window>'u')throw new Error(_0x36e220(0x1cf));if(window[_0x36e220(0x39c)](this[_0x36e220(0x221)]['t']('auth.needGotoLoginAlert'))){const _0x461c71=window[_0x36e220(0x3ae)](window['location'][_0x36e220(0xe3)]);window[_0x36e220(0x3ab)][_0x36e220(0xe3)]=this[_0x36e220(0x140)]()+_0x36e220(0x193)+_0x461c71;}}return _0x15bbc7;}))});}[_0xeb087b(0x140)](){var _0x1e1515=_0xeb087b,_0x1559b9,_0x9ddcf7;const _0x5c333b=this[_0x1e1515(0x108)][_0x1e1515(0x183)](Un),_0x2d631f=this[_0x1e1515(0x108)][_0x1e1515(0x183)](q);return(_0x9ddcf7=(_0x1559b9=_0x2d631f==null?void 0x0:_0x2d631f['loginUrlKey'])!=null?_0x1559b9:_0x5c333b)!=null?_0x9ddcf7:wn;}};st=fr([vt(0x0,_0x5641d0),vt(0x1,_0x2e70ff(_0x5dbf74)),vt(0x2,_0x2e70ff(_0x2f6c43))],st);var vr=Object['getOwnPropertyDescriptor'],pr=(_0x809e66,_0xc54c94,_0x4be54a,_0xb83603)=>{var _0x1d6cd5=_0xeb087b;for(var _0x27e400=_0xb83603>0x1?void 0x0:_0xb83603?vr(_0xc54c94,_0x4be54a):_0xc54c94,_0x1d42bc=_0x809e66[_0x1d6cd5(0x178)]-0x1,_0x3be921;_0x1d42bc>=0x0;_0x1d42bc--)(_0x3be921=_0x809e66[_0x1d42bc])&&(_0x27e400=_0x3be921(_0x27e400)||_0x27e400);return _0x27e400;},Jt=(_0x40561d,_0x12b33f)=>(_0x2ca93f,_0x38225c)=>_0x12b33f(_0x2ca93f,_0x38225c,_0x40561d);const Ni=_0xeb087b(0x347),mr=_0xeb087b(0x2f2);let Rt=class extends _0x4f2ba2{constructor(_0x367053,_0x4a5bb3){var _0x12cf8d=_0xeb087b;super(),this[_0x12cf8d(0x342)]=_0x367053,this[_0x12cf8d(0x108)]=_0x4a5bb3,this[_0x12cf8d(0x350)]();}[_0xeb087b(0x350)](){var _0x801ad9=_0xeb087b;const _0x9188ca=this;this[_0x801ad9(0x287)](this[_0x801ad9(0x342)]['registerHTTPInterceptor']({'priority':0x3e7,'interceptor':_0x25a042({'isMatch'(_0x20dd86){var _0x4ef5fd=_0x801ad9,_0x317fa3;if(_0x20dd86[_0x4ef5fd(0x1e8)]===_0x4ef5fd(0x160)&&((_0x317fa3=_0x20dd86[_0x4ef5fd(0xc3)])!=null&&_0x317fa3['body'])){const {objectID:_0x3b8a44,objectType:_0x326c19}=_0x20dd86[_0x4ef5fd(0xc3)][_0x4ef5fd(0x120)]||{};if(!_0x3b8a44||_0x326c19===void 0x0)return!0x1;const _0x12827b=_0x9188ca['_getAPIPrefixPath']()+'/'+_0x326c19+_0x4ef5fd(0x2a9)+_0x3b8a44+'/allowed';if(_0x20dd86[_0x4ef5fd(0x13f)]===_0x12827b)return!0x0;}return!0x1;},'getParamsFromRequest'(_0x529009){var _0x3c8d80=_0x801ad9,_0x252d75;return(_0x252d75=_0x529009[_0x3c8d80(0xc3)])==null?void 0x0:_0x252d75[_0x3c8d80(0x120)];},'mergeParamsToRequest'(_0x3ecdce,_0x22d7a1){var _0x32a968=_0x801ad9;const _0x41b6f0=_0x9188ca[_0x32a968(0xe7)]()+_0x32a968(0x1b4),_0xd47433=_0x3ecdce[_0x32a968(0x152)]((_0x53d797,_0x3d619c)=>{var _0x1c7533=_0x32a968;const {unitID:_0xf463a8,objectID:_0x12759c,objectType:_0x3e051e,actions:_0x1b3b7a}=_0x3d619c;return _0x53d797[_0xf463a8]||(_0x53d797[_0xf463a8]={}),_0x53d797[_0xf463a8][_0x12759c]||(_0x53d797[_0xf463a8][_0x12759c]={'objectID':_0x12759c,'objectType':_0x3e051e,'actions':[]}),_0x53d797[_0xf463a8][_0x12759c][_0x1c7533(0xe1)][_0x1c7533(0x2c9)](..._0x1b3b7a),_0x53d797;},{}),_0x229b97=[];for(const _0x1babba in _0xd47433)for(const _0x47e3bc in _0xd47433[_0x1babba]){const {actions:_0x24a5d7,objectType:_0x472388}=_0xd47433[_0x1babba][_0x47e3bc],_0x36302e=[...new Set(_0x24a5d7)];_0x229b97[_0x32a968(0x2c9)]({'unitID':_0x1babba,'objectID':_0x47e3bc,'objectType':_0x472388,'actions':_0x36302e});}return new _0x3cdca7(_0x32a968(0x160),_0x41b6f0,{'headers':_0x22d7a1[_0x32a968(0xde)],'withCredentials':_0x22d7a1[_0x32a968(0x2a4)],'responseType':_0x22d7a1[_0x32a968(0x32a)],'body':{'requests':_0x229b97}});}},{'distributeResult'(_0x549da7,_0x55f4c1){var _0x1981db=_0x801ad9;const {objectActions:_0x50b139}=_0x549da7;return _0x55f4c1[_0x1981db(0x3a7)](_0x1f195d=>{var _0x1cef53=_0x1981db;const {unitID:_0x26cb4c,objectID:_0x543f91,actions:_0x44b4e5}=_0x1f195d,_0x16d8de=_0x50b139['find'](_0xf8d46b=>_0xf8d46b[_0x1cef53(0x212)]===_0x26cb4c&&_0xf8d46b['objectID']===_0x543f91),_0x2f0dde=_0x44b4e5[_0x1cef53(0x3a7)](_0x3cb9cf=>_0x16d8de==null?void 0x0:_0x16d8de[_0x1cef53(0xe1)]['find'](_0x16032d=>_0x16032d[_0x1cef53(0x142)]===_0x3cb9cf))['filter'](_0x24fd69=>!!_0x24fd69);return{'config':_0x1f195d,'result':{'actions':_0x2f0dde,'error':_0x549da7[_0x1cef53(0x22d)]}};});}})}));}['_getAPIPrefixPath'](){var _0x111498=_0xeb087b,_0x1c09c0,_0x13b0fa;const _0x3f73ed=this[_0x111498(0x108)][_0x111498(0x183)](Ni),_0x585b2e=this['_configService'][_0x111498(0x183)](q);return(_0x13b0fa=(_0x1c09c0=_0x585b2e==null?void 0x0:_0x585b2e[_0x111498(0x36f)])!=null?_0x1c09c0:_0x3f73ed)!=null?_0x13b0fa:mr;}async[_0xeb087b(0x1d8)](_0x480d5a){var _0x1765a9=_0xeb087b;const _0x1261cb=this['_getAPIPrefixPath']()+'/'+_0x480d5a[_0x1765a9(0x2d9)]+_0x1765a9(0x1e6);return(await this[_0x1765a9(0x342)][_0x1765a9(0x330)](_0x1261cb,{'body':_0x480d5a}))['body']['objectID']||'';}async['list'](_0x287ead){var _0x246c26=_0xeb087b;const _0x1379b6=this[_0x246c26(0xe7)]()+_0x246c26(0x2bc);return(await this['_HTTPService'][_0x246c26(0x330)](_0x1379b6,{'body':_0x287ead}))['body'][_0x246c26(0x321)];}async[_0xeb087b(0x31f)](_0x523064){var _0xebf412=_0xeb087b,_0x534a33,_0x1e7ec5;const _0x579c01=this['_getAPIPrefixPath']()+'/'+_0x523064[_0xebf412(0x2d9)]+'/object/'+_0x523064['objectID'],_0xbb3ab5=await this[_0xebf412(0x342)][_0xebf412(0xf6)](_0x579c01,{'body':_0x523064});if(((_0x1e7ec5=(_0x534a33=_0xbb3ab5==null?void 0x0:_0xbb3ab5[_0xebf412(0x120)])==null?void 0x0:_0x534a33['error'])==null?void 0x0:_0x1e7ec5[_0xebf412(0xe8)])!==0x0)throw new Error(_0xebf412(0x2b0));}async[_0xeb087b(0x13d)](_0x426e03){var _0x578ca9=_0xeb087b;const _0x22c13e=this[_0x578ca9(0xe7)]()+'/'+_0x426e03[_0x578ca9(0x2d9)]+_0x578ca9(0x2a9)+_0x426e03[_0x578ca9(0x1a3)]+_0x578ca9(0x30e);return(await this['_HTTPService']['post'](_0x22c13e,{'body':_0x426e03}))['body'][_0x578ca9(0xe1)];}async[_0xeb087b(0x138)](_0x56a584){var _0x46fb38=_0xeb087b;const _0x595c23=this['_getAPIPrefixPath']()+_0x46fb38(0x1b4);return(await this[_0x46fb38(0x342)][_0x46fb38(0x330)](_0x595c23,{'body':{'requests':_0x56a584}}))['body'][_0x46fb38(0x2ff)];}async[_0xeb087b(0x23b)](_0x458455){var _0x2576d6=_0xeb087b;const _0x25125e=this[_0x2576d6(0xe7)]()+'/'+_0x458455[_0x2576d6(0x2d9)]+_0x2576d6(0x154),_0x34d951=await this[_0x2576d6(0x342)][_0x2576d6(0x330)](_0x25125e,{'body':_0x458455});return{'roles':_0x34d951['body'][_0x2576d6(0x35a)],'actions':_0x34d951['body']['actions']};}async[_0xeb087b(0x31a)](_0x18da63){var _0x3da5be=_0xeb087b;const _0x3ccb5d=this[_0x3da5be(0xe7)]()+_0x3da5be(0x19b);await this[_0x3da5be(0x342)][_0x3da5be(0x317)](_0x3ccb5d,{'params':{'collaboratorID':_0x18da63[_0x3da5be(0x2e2)],'objectID':_0x18da63['objectID'],'unitID':_0x18da63[_0x3da5be(0x212)]}});}async[_0xeb087b(0x292)](_0x411fe7){var _0x50b9ee=_0xeb087b;const _0x373426=this[_0x50b9ee(0xe7)]()+'/collaborator';await this[_0x50b9ee(0x342)][_0x50b9ee(0x1b1)](_0x373426,{'body':_0x411fe7});}async[_0xeb087b(0x2e4)](_0x2272ce){var _0x463e3b=_0xeb087b;const _0xb3cdb1=this[_0x463e3b(0xe7)]()+_0x463e3b(0x19b);await this['_HTTPService'][_0x463e3b(0x330)](_0xb3cdb1,{'body':_0x2272ce});}async[_0xeb087b(0x348)](_0x21e053){var _0x5ecb4c=_0xeb087b;const _0x385890=this['_getAPIPrefixPath']()+_0x5ecb4c(0x19b);return(await this[_0x5ecb4c(0x342)][_0x5ecb4c(0x1c9)](_0x385890,{'params':{'objectID':_0x21e053[_0x5ecb4c(0x1a3)],'unitID':_0x21e053[_0x5ecb4c(0x212)]}}))['body']['collaborators'];}async['putCollaborators'](_0x4c7c60){var _0x3c4a28=_0xeb087b;const _0x4c7ea3=this[_0x3c4a28(0xe7)]()+'/collaborator';await this[_0x3c4a28(0x342)]['put'](_0x4c7ea3,{'body':_0x4c7c60});}};Rt=pr([Jt(0x0,_0x2e70ff(_0x5dbf74)),Jt(0x1,_0x2e70ff(_0x5641d0))],Rt);var pt=typeof globalThis<'u'?globalThis:typeof window<'u'?window:typeof global<'u'?global:typeof self<'u'?self:{};function He(_0x58589d){var _0x3fc6dd=_0xeb087b;return _0x58589d&&_0x58589d[_0x3fc6dd(0x215)]&&Object['prototype']['hasOwnProperty']['call'](_0x58589d,_0x3fc6dd(0x18f))?_0x58589d['default']:_0x58589d;}var Ve={'exports':{}};function gr(_0x3bdd74){var _0x396c8f=_0xeb087b;throw new Error(_0x396c8f(0x1df)+_0x3bdd74+_0x396c8f(0xb2));}var Ge={'exports':{}},Sr=Ge['exports'],Xt;function ie(){return Xt||(Xt=0x1,function(_0x1c699a,_0x2523ac){(function(_0x418ad9,_0x3eb9ac){var _0xfbc985=_0x3bb5;_0x1c699a[_0xfbc985(0x392)]=_0x3eb9ac();}(Sr,function(){var _0x9257f0=_0x9257f0||function(_0x5f06df,_0x4e3fd2){var _0x2c2b3b=_0x3bb5,_0x24c107;if(typeof window<'u'&&window['crypto']&&(_0x24c107=window[_0x2c2b3b(0x2dc)]),typeof self<'u'&&self[_0x2c2b3b(0x2dc)]&&(_0x24c107=self[_0x2c2b3b(0x2dc)]),typeof globalThis<'u'&&globalThis[_0x2c2b3b(0x2dc)]&&(_0x24c107=globalThis[_0x2c2b3b(0x2dc)]),!_0x24c107&&typeof window<'u'&&window[_0x2c2b3b(0x338)]&&(_0x24c107=window[_0x2c2b3b(0x338)]),!_0x24c107&&typeof pt<'u'&&pt[_0x2c2b3b(0x2dc)]&&(_0x24c107=pt[_0x2c2b3b(0x2dc)]),!_0x24c107&&typeof gr==_0x2c2b3b(0x130))try{_0x24c107=require(_0x2c2b3b(0x2dc));}catch{}var _0x68b5b3=function(){var _0x4e73d9=_0x2c2b3b;if(_0x24c107){if(typeof _0x24c107[_0x4e73d9(0x383)]==_0x4e73d9(0x130))try{return _0x24c107['getRandomValues'](new Uint32Array(0x1))[0x0];}catch{}if(typeof _0x24c107[_0x4e73d9(0x174)]==_0x4e73d9(0x130))try{return _0x24c107['randomBytes'](0x4)[_0x4e73d9(0x2ef)]();}catch{}}throw new Error('Native\x20crypto\x20module\x20could\x20not\x20be\x20used\x20to\x20get\x20secure\x20random\x20number.');},_0x47a357=Object[_0x2c2b3b(0x1d8)]||(function(){function _0x55b858(){}return function(_0x30d266){var _0x1e12ae=_0x3bb5,_0x15e6cf;return _0x55b858[_0x1e12ae(0x274)]=_0x30d266,_0x15e6cf=new _0x55b858(),_0x55b858[_0x1e12ae(0x274)]=null,_0x15e6cf;};}()),_0x1232a7={},_0x385390=_0x1232a7[_0x2c2b3b(0x308)]={},_0xd2ec80=_0x385390[_0x2c2b3b(0x2d3)]=(function(){return{'extend':function(_0x2c1bc9){var _0x475187=_0x3bb5,_0x5629eb=_0x47a357(this);return _0x2c1bc9&&_0x5629eb[_0x475187(0x2b2)](_0x2c1bc9),(!_0x5629eb[_0x475187(0x12e)](_0x475187(0x289))||this['init']===_0x5629eb['init'])&&(_0x5629eb['init']=function(){var _0x49de5b=_0x475187;_0x5629eb[_0x49de5b(0x37f)]['init'][_0x49de5b(0x18d)](this,arguments);}),_0x5629eb[_0x475187(0x289)][_0x475187(0x274)]=_0x5629eb,_0x5629eb[_0x475187(0x37f)]=this,_0x5629eb;},'create':function(){var _0x347aef=_0x3bb5,_0x324988=this[_0x347aef(0x316)]();return _0x324988[_0x347aef(0x289)][_0x347aef(0x18d)](_0x324988,arguments),_0x324988;},'init':function(){},'mixIn':function(_0x17559e){var _0x30b9a4=_0x3bb5;for(var _0x556e64 in _0x17559e)_0x17559e[_0x30b9a4(0x12e)](_0x556e64)&&(this[_0x556e64]=_0x17559e[_0x556e64]);_0x17559e[_0x30b9a4(0x12e)](_0x30b9a4(0x227))&&(this['toString']=_0x17559e[_0x30b9a4(0x227)]);},'clone':function(){var _0x12e802=_0x3bb5;return this[_0x12e802(0x289)]['prototype']['extend'](this);}};}()),_0x210115=_0x385390[_0x2c2b3b(0x306)]=_0xd2ec80[_0x2c2b3b(0x316)]({'init':function(_0x3bf1e2,_0x1fed07){var _0x377158=_0x2c2b3b;_0x3bf1e2=this[_0x377158(0x146)]=_0x3bf1e2||[],_0x1fed07!=_0x4e3fd2?this['sigBytes']=_0x1fed07:this['sigBytes']=_0x3bf1e2[_0x377158(0x178)]*0x4;},'toString':function(_0x1c7e31){var _0x496f2e=_0x2c2b3b;return(_0x1c7e31||_0x143366)[_0x496f2e(0x259)](this);},'concat':function(_0x30835c){var _0x255238=_0x2c2b3b,_0x2b2f9a=this[_0x255238(0x146)],_0x39eead=_0x30835c['words'],_0x4cd001=this[_0x255238(0x27a)],_0x3475de=_0x30835c[_0x255238(0x27a)];if(this[_0x255238(0x2fe)](),_0x4cd001%0x4)for(var _0x3300bf=0x0;_0x3300bf<_0x3475de;_0x3300bf++){var _0x299cfa=_0x39eead[_0x3300bf>>>0x2]>>>0x18-_0x3300bf%0x4*0x8&0xff;_0x2b2f9a[_0x4cd001+_0x3300bf>>>0x2]|=_0x299cfa<<0x18-(_0x4cd001+_0x3300bf)%0x4*0x8;}else{for(var _0x43ebee=0x0;_0x43ebee<_0x3475de;_0x43ebee+=0x4)_0x2b2f9a[_0x4cd001+_0x43ebee>>>0x2]=_0x39eead[_0x43ebee>>>0x2];}return this[_0x255238(0x27a)]+=_0x3475de,this;},'clamp':function(){var _0x57cc0e=_0x2c2b3b,_0x3bc273=this[_0x57cc0e(0x146)],_0x1ac095=this[_0x57cc0e(0x27a)];_0x3bc273[_0x1ac095>>>0x2]&=0xffffffff<<0x20-_0x1ac095%0x4*0x8,_0x3bc273[_0x57cc0e(0x178)]=_0x5f06df[_0x57cc0e(0x3a3)](_0x1ac095/0x4);},'clone':function(){var _0x41422c=_0x2c2b3b,_0x503f6b=_0xd2ec80[_0x41422c(0x27b)][_0x41422c(0x23e)](this);return _0x503f6b[_0x41422c(0x146)]=this[_0x41422c(0x146)][_0x41422c(0x329)](0x0),_0x503f6b;},'random':function(_0x3f1c95){var _0x4e8cef=_0x2c2b3b;for(var _0x12ff88=[],_0x1abce6=0x0;_0x1abce6<_0x3f1c95;_0x1abce6+=0x4)_0x12ff88[_0x4e8cef(0x2c9)](_0x68b5b3());return new _0x210115[(_0x4e8cef(0x289))](_0x12ff88,_0x3f1c95);}}),_0x1dbdbc=_0x1232a7[_0x2c2b3b(0x2b1)]={},_0x143366=_0x1dbdbc[_0x2c2b3b(0x334)]={'stringify':function(_0x38aca0){var _0x37923f=_0x2c2b3b;for(var _0x4f49c2=_0x38aca0[_0x37923f(0x146)],_0x8c8b0f=_0x38aca0[_0x37923f(0x27a)],_0x5a97df=[],_0x371f51=0x0;_0x371f51<_0x8c8b0f;_0x371f51++){var _0x2dc7e0=_0x4f49c2[_0x371f51>>>0x2]>>>0x18-_0x371f51%0x4*0x8&0xff;_0x5a97df[_0x37923f(0x2c9)]((_0x2dc7e0>>>0x4)[_0x37923f(0x227)](0x10)),_0x5a97df[_0x37923f(0x2c9)]((_0x2dc7e0&0xf)['toString'](0x10));}return _0x5a97df[_0x37923f(0x2e3)]('');},'parse':function(_0x5cbb4c){var _0x3c2867=_0x2c2b3b;for(var _0x22b2ba=_0x5cbb4c[_0x3c2867(0x178)],_0x455711=[],_0x5834be=0x0;_0x5834be<_0x22b2ba;_0x5834be+=0x2)_0x455711[_0x5834be>>>0x3]|=parseInt(_0x5cbb4c['substr'](_0x5834be,0x2),0x10)<<0x18-_0x5834be%0x8*0x4;return new _0x210115[(_0x3c2867(0x289))](_0x455711,_0x22b2ba/0x2);}},_0x24d0be=_0x1dbdbc[_0x2c2b3b(0x357)]={'stringify':function(_0x52646d){var _0x3ce55d=_0x2c2b3b;for(var _0x178723=_0x52646d['words'],_0x377fa9=_0x52646d['sigBytes'],_0x4e79a9=[],_0x1c3144=0x0;_0x1c3144<_0x377fa9;_0x1c3144++){var _0x3f1417=_0x178723[_0x1c3144>>>0x2]>>>0x18-_0x1c3144%0x4*0x8&0xff;_0x4e79a9[_0x3ce55d(0x2c9)](String[_0x3ce55d(0x1ac)](_0x3f1417));}return _0x4e79a9[_0x3ce55d(0x2e3)]('');},'parse':function(_0x28fe77){var _0x1bcf25=_0x2c2b3b;for(var _0x2e77c9=_0x28fe77[_0x1bcf25(0x178)],_0x293a3e=[],_0x5c018a=0x0;_0x5c018a<_0x2e77c9;_0x5c018a++)_0x293a3e[_0x5c018a>>>0x2]|=(_0x28fe77[_0x1bcf25(0xf9)](_0x5c018a)&0xff)<<0x18-_0x5c018a%0x4*0x8;return new _0x210115[(_0x1bcf25(0x289))](_0x293a3e,_0x2e77c9);}},_0x476995=_0x1dbdbc[_0x2c2b3b(0x376)]={'stringify':function(_0x1f4a15){var _0x2fd56e=_0x2c2b3b;try{return decodeURIComponent(escape(_0x24d0be[_0x2fd56e(0x259)](_0x1f4a15)));}catch{throw new Error(_0x2fd56e(0x2bf));}},'parse':function(_0x40e652){return _0x24d0be['parse'](unescape(encodeURIComponent(_0x40e652)));}},_0x2455e8=_0x385390[_0x2c2b3b(0x25a)]=_0xd2ec80['extend']({'reset':function(){var _0x3e5514=_0x2c2b3b;this[_0x3e5514(0x324)]=new _0x210115[(_0x3e5514(0x289))](),this[_0x3e5514(0x20e)]=0x0;},'_append':function(_0x1b6fa2){var _0x2d12df=_0x2c2b3b;typeof _0x1b6fa2=='string'&&(_0x1b6fa2=_0x476995[_0x2d12df(0x2fb)](_0x1b6fa2)),this['_data'][_0x2d12df(0x39d)](_0x1b6fa2),this[_0x2d12df(0x20e)]+=_0x1b6fa2[_0x2d12df(0x27a)];},'_process':function(_0x3eaaab){var _0x2d34a1=_0x2c2b3b,_0x310dc0,_0x536bc3=this['_data'],_0x490098=_0x536bc3['words'],_0x242df8=_0x536bc3['sigBytes'],_0x10dad5=this['blockSize'],_0x430095=_0x10dad5*0x4,_0x4fcdb2=_0x242df8/_0x430095;_0x3eaaab?_0x4fcdb2=_0x5f06df['ceil'](_0x4fcdb2):_0x4fcdb2=_0x5f06df[_0x2d34a1(0x216)]((_0x4fcdb2|0x0)-this['_minBufferSize'],0x0);var _0x2cb26d=_0x4fcdb2*_0x10dad5,_0x379209=_0x5f06df[_0x2d34a1(0x360)](_0x2cb26d*0x4,_0x242df8);if(_0x2cb26d){for(var _0x4a2505=0x0;_0x4a2505<_0x2cb26d;_0x4a2505+=_0x10dad5)this[_0x2d34a1(0x385)](_0x490098,_0x4a2505);_0x310dc0=_0x490098['splice'](0x0,_0x2cb26d),_0x536bc3[_0x2d34a1(0x27a)]-=_0x379209;}return new _0x210115[(_0x2d34a1(0x289))](_0x310dc0,_0x379209);},'clone':function(){var _0x43dd8d=_0x2c2b3b,_0x1b1c0a=_0xd2ec80[_0x43dd8d(0x27b)][_0x43dd8d(0x23e)](this);return _0x1b1c0a['_data']=this[_0x43dd8d(0x324)]['clone'](),_0x1b1c0a;},'_minBufferSize':0x0});_0x385390[_0x2c2b3b(0x117)]=_0x2455e8['extend']({'cfg':_0xd2ec80[_0x2c2b3b(0x316)](),'init':function(_0x4eb080){var _0x10b4b2=_0x2c2b3b;this[_0x10b4b2(0x19e)]=this[_0x10b4b2(0x19e)]['extend'](_0x4eb080),this[_0x10b4b2(0x207)]();},'reset':function(){var _0x486e93=_0x2c2b3b;_0x2455e8[_0x486e93(0x207)]['call'](this),this['_doReset']();},'update':function(_0x3f8054){var _0x4d8129=_0x2c2b3b;return this['_append'](_0x3f8054),this[_0x4d8129(0x30d)](),this;},'finalize':function(_0xde009b){var _0x75bd3c=_0x2c2b3b;_0xde009b&&this[_0x75bd3c(0xe9)](_0xde009b);var _0x350076=this['_doFinalize']();return _0x350076;},'blockSize':0x10,'_createHelper':function(_0xe65cdf){return function(_0xf76045,_0x1890c4){var _0x1224e5=_0x3bb5;return new _0xe65cdf[(_0x1224e5(0x289))](_0x1890c4)['finalize'](_0xf76045);};},'_createHmacHelper':function(_0x3afdfa){return function(_0x4aa829,_0x1cc0bf){var _0x2fff2a=_0x3bb5;return new _0x505fa2[(_0x2fff2a(0x1f2))][(_0x2fff2a(0x289))](_0x3afdfa,_0x1cc0bf)[_0x2fff2a(0x2d4)](_0x4aa829);};}});var _0x505fa2=_0x1232a7[_0x2c2b3b(0x24f)]={};return _0x1232a7;}(Math);return _0x9257f0;}));}(Ge)),Ge['exports'];}var We={'exports':{}},Er=We[_0xeb087b(0x392)],Zt;function Di(){return Zt||(Zt=0x1,function(_0x37bc88,_0x2e5196){(function(_0x1af943,_0x1c77b2){_0x37bc88['exports']=_0x1c77b2(ie());}(Er,function(_0x20c22f){var _0x42b31e=_0x3bb5;return(function(){var _0x40f5a2=_0x3bb5,_0x14e671=_0x20c22f,_0x171bcd=_0x14e671[_0x40f5a2(0x308)],_0xb5d899=_0x171bcd['WordArray'],_0x557fce=_0x14e671['enc'];_0x557fce[_0x40f5a2(0x33b)]={'stringify':function(_0x1b0cb9){var _0x129ddc=_0x40f5a2,_0x95fdce=_0x1b0cb9[_0x129ddc(0x146)],_0x23b844=_0x1b0cb9[_0x129ddc(0x27a)],_0x7bceb7=this[_0x129ddc(0x14c)];_0x1b0cb9[_0x129ddc(0x2fe)]();for(var _0x1284eb=[],_0x35d5b0=0x0;_0x35d5b0<_0x23b844;_0x35d5b0+=0x3)for(var _0x1b3977=_0x95fdce[_0x35d5b0>>>0x2]>>>0x18-_0x35d5b0%0x4*0x8&0xff,_0x183ce4=_0x95fdce[_0x35d5b0+0x1>>>0x2]>>>0x18-(_0x35d5b0+0x1)%0x4*0x8&0xff,_0x900874=_0x95fdce[_0x35d5b0+0x2>>>0x2]>>>0x18-(_0x35d5b0+0x2)%0x4*0x8&0xff,_0xa7dd8c=_0x1b3977<<0x10|_0x183ce4<<0x8|_0x900874,_0x38d84c=0x0;_0x38d84c<0x4&&_0x35d5b0+_0x38d84c*0.75<_0x23b844;_0x38d84c++)_0x1284eb[_0x129ddc(0x2c9)](_0x7bceb7[_0x129ddc(0x11d)](_0xa7dd8c>>>0x6*(0x3-_0x38d84c)&0x3f));var _0x4d09d1=_0x7bceb7[_0x129ddc(0x11d)](0x40);if(_0x4d09d1){for(;_0x1284eb['length']%0x4;)_0x1284eb[_0x129ddc(0x2c9)](_0x4d09d1);}return _0x1284eb[_0x129ddc(0x2e3)]('');},'parse':function(_0x5db4f3){var _0xb99a10=_0x40f5a2,_0x22a4c6=_0x5db4f3[_0xb99a10(0x178)],_0xda9acd=this[_0xb99a10(0x14c)],_0x30b8f6=this[_0xb99a10(0x1d9)];if(!_0x30b8f6){_0x30b8f6=this['_reverseMap']=[];for(var _0x42f2eb=0x0;_0x42f2eb<_0xda9acd['length'];_0x42f2eb++)_0x30b8f6[_0xda9acd[_0xb99a10(0xf9)](_0x42f2eb)]=_0x42f2eb;}var _0x53b00f=_0xda9acd[_0xb99a10(0x11d)](0x40);if(_0x53b00f){var _0x4ca16f=_0x5db4f3[_0xb99a10(0x1ab)](_0x53b00f);_0x4ca16f!==-0x1&&(_0x22a4c6=_0x4ca16f);}return _0x411c4c(_0x5db4f3,_0x22a4c6,_0x30b8f6);},'_map':_0x40f5a2(0x10b)};function _0x411c4c(_0x315aa0,_0x1fc895,_0x4daf3d){var _0x82f669=_0x40f5a2;for(var _0x4e475d=[],_0x1d27a2=0x0,_0x38ee32=0x0;_0x38ee32<_0x1fc895;_0x38ee32++)if(_0x38ee32%0x4){var _0x3883a7=_0x4daf3d[_0x315aa0[_0x82f669(0xf9)](_0x38ee32-0x1)]<<_0x38ee32%0x4*0x2,_0x59ff30=_0x4daf3d[_0x315aa0[_0x82f669(0xf9)](_0x38ee32)]>>>0x6-_0x38ee32%0x4*0x2,_0x41fd7f=_0x3883a7|_0x59ff30;_0x4e475d[_0x1d27a2>>>0x2]|=_0x41fd7f<<0x18-_0x1d27a2%0x4*0x8,_0x1d27a2++;}return _0xb5d899[_0x82f669(0x1d8)](_0x4e475d,_0x1d27a2);}}()),_0x20c22f[_0x42b31e(0x2b1)][_0x42b31e(0x33b)];}));}(We)),We['exports'];}var Ke={'exports':{}},Ir=Ke[_0xeb087b(0x392)],Qt;function Tr(){return Qt||(Qt=0x1,function(_0x280386,_0x341afa){(function(_0x16a60d,_0x5f1c24){var _0x12400b=_0x3bb5;_0x280386[_0x12400b(0x392)]=_0x5f1c24(ie());}(Ir,function(_0x264de4){return function(_0x3951d4){var _0xe50e91=_0x3bb5,_0x5f2e7e=_0x264de4,_0x273ce0=_0x5f2e7e[_0xe50e91(0x308)],_0xa0b02f=_0x273ce0[_0xe50e91(0x306)],_0x6438c9=_0x273ce0['Hasher'],_0x42f9d7=_0x5f2e7e[_0xe50e91(0x24f)],_0x7fa0fe=[];(function(){var _0x4c38fb=_0xe50e91;for(var _0x1f6971=0x0;_0x1f6971<0x40;_0x1f6971++)_0x7fa0fe[_0x1f6971]=_0x3951d4[_0x4c38fb(0x10c)](_0x3951d4['sin'](_0x1f6971+0x1))*0x100000000|0x0;}());var _0x64782d=_0x42f9d7[_0xe50e91(0x21b)]=_0x6438c9[_0xe50e91(0x316)]({'_doReset':function(){var _0x4018f0=_0xe50e91;this[_0x4018f0(0x26b)]=new _0xa0b02f[(_0x4018f0(0x289))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476]);},'_doProcessBlock':function(_0x4b0b9b,_0x52292d){var _0x39efc8=_0xe50e91;for(var _0x3abb8c=0x0;_0x3abb8c<0x10;_0x3abb8c++){var _0x248751=_0x52292d+_0x3abb8c,_0x160d84=_0x4b0b9b[_0x248751];_0x4b0b9b[_0x248751]=(_0x160d84<<0x8|_0x160d84>>>0x18)&0xff00ff|(_0x160d84<<0x18|_0x160d84>>>0x8)&0xff00ff00;}var _0x1cec4d=this['_hash'][_0x39efc8(0x146)],_0x27fa01=_0x4b0b9b[_0x52292d+0x0],_0x583c5b=_0x4b0b9b[_0x52292d+0x1],_0xc3b657=_0x4b0b9b[_0x52292d+0x2],_0x11634c=_0x4b0b9b[_0x52292d+0x3],_0x646169=_0x4b0b9b[_0x52292d+0x4],_0x5b9142=_0x4b0b9b[_0x52292d+0x5],_0x2cb6c3=_0x4b0b9b[_0x52292d+0x6],_0x59279c=_0x4b0b9b[_0x52292d+0x7],_0xdcff11=_0x4b0b9b[_0x52292d+0x8],_0x179837=_0x4b0b9b[_0x52292d+0x9],_0x157524=_0x4b0b9b[_0x52292d+0xa],_0x3caee3=_0x4b0b9b[_0x52292d+0xb],_0x399ad1=_0x4b0b9b[_0x52292d+0xc],_0x509698=_0x4b0b9b[_0x52292d+0xd],_0x39501d=_0x4b0b9b[_0x52292d+0xe],_0x4af077=_0x4b0b9b[_0x52292d+0xf],_0x4448d0=_0x1cec4d[0x0],_0x748582=_0x1cec4d[0x1],_0x5234da=_0x1cec4d[0x2],_0x4f2f74=_0x1cec4d[0x3];_0x4448d0=_0x592152(_0x4448d0,_0x748582,_0x5234da,_0x4f2f74,_0x27fa01,0x7,_0x7fa0fe[0x0]),_0x4f2f74=_0x592152(_0x4f2f74,_0x4448d0,_0x748582,_0x5234da,_0x583c5b,0xc,_0x7fa0fe[0x1]),_0x5234da=_0x592152(_0x5234da,_0x4f2f74,_0x4448d0,_0x748582,_0xc3b657,0x11,_0x7fa0fe[0x2]),_0x748582=_0x592152(_0x748582,_0x5234da,_0x4f2f74,_0x4448d0,_0x11634c,0x16,_0x7fa0fe[0x3]),_0x4448d0=_0x592152(_0x4448d0,_0x748582,_0x5234da,_0x4f2f74,_0x646169,0x7,_0x7fa0fe[0x4]),_0x4f2f74=_0x592152(_0x4f2f74,_0x4448d0,_0x748582,_0x5234da,_0x5b9142,0xc,_0x7fa0fe[0x5]),_0x5234da=_0x592152(_0x5234da,_0x4f2f74,_0x4448d0,_0x748582,_0x2cb6c3,0x11,_0x7fa0fe[0x6]),_0x748582=_0x592152(_0x748582,_0x5234da,_0x4f2f74,_0x4448d0,_0x59279c,0x16,_0x7fa0fe[0x7]),_0x4448d0=_0x592152(_0x4448d0,_0x748582,_0x5234da,_0x4f2f74,_0xdcff11,0x7,_0x7fa0fe[0x8]),_0x4f2f74=_0x592152(_0x4f2f74,_0x4448d0,_0x748582,_0x5234da,_0x179837,0xc,_0x7fa0fe[0x9]),_0x5234da=_0x592152(_0x5234da,_0x4f2f74,_0x4448d0,_0x748582,_0x157524,0x11,_0x7fa0fe[0xa]),_0x748582=_0x592152(_0x748582,_0x5234da,_0x4f2f74,_0x4448d0,_0x3caee3,0x16,_0x7fa0fe[0xb]),_0x4448d0=_0x592152(_0x4448d0,_0x748582,_0x5234da,_0x4f2f74,_0x399ad1,0x7,_0x7fa0fe[0xc]),_0x4f2f74=_0x592152(_0x4f2f74,_0x4448d0,_0x748582,_0x5234da,_0x509698,0xc,_0x7fa0fe[0xd]),_0x5234da=_0x592152(_0x5234da,_0x4f2f74,_0x4448d0,_0x748582,_0x39501d,0x11,_0x7fa0fe[0xe]),_0x748582=_0x592152(_0x748582,_0x5234da,_0x4f2f74,_0x4448d0,_0x4af077,0x16,_0x7fa0fe[0xf]),_0x4448d0=_0x36cd6f(_0x4448d0,_0x748582,_0x5234da,_0x4f2f74,_0x583c5b,0x5,_0x7fa0fe[0x10]),_0x4f2f74=_0x36cd6f(_0x4f2f74,_0x4448d0,_0x748582,_0x5234da,_0x2cb6c3,0x9,_0x7fa0fe[0x11]),_0x5234da=_0x36cd6f(_0x5234da,_0x4f2f74,_0x4448d0,_0x748582,_0x3caee3,0xe,_0x7fa0fe[0x12]),_0x748582=_0x36cd6f(_0x748582,_0x5234da,_0x4f2f74,_0x4448d0,_0x27fa01,0x14,_0x7fa0fe[0x13]),_0x4448d0=_0x36cd6f(_0x4448d0,_0x748582,_0x5234da,_0x4f2f74,_0x5b9142,0x5,_0x7fa0fe[0x14]),_0x4f2f74=_0x36cd6f(_0x4f2f74,_0x4448d0,_0x748582,_0x5234da,_0x157524,0x9,_0x7fa0fe[0x15]),_0x5234da=_0x36cd6f(_0x5234da,_0x4f2f74,_0x4448d0,_0x748582,_0x4af077,0xe,_0x7fa0fe[0x16]),_0x748582=_0x36cd6f(_0x748582,_0x5234da,_0x4f2f74,_0x4448d0,_0x646169,0x14,_0x7fa0fe[0x17]),_0x4448d0=_0x36cd6f(_0x4448d0,_0x748582,_0x5234da,_0x4f2f74,_0x179837,0x5,_0x7fa0fe[0x18]),_0x4f2f74=_0x36cd6f(_0x4f2f74,_0x4448d0,_0x748582,_0x5234da,_0x39501d,0x9,_0x7fa0fe[0x19]),_0x5234da=_0x36cd6f(_0x5234da,_0x4f2f74,_0x4448d0,_0x748582,_0x11634c,0xe,_0x7fa0fe[0x1a]),_0x748582=_0x36cd6f(_0x748582,_0x5234da,_0x4f2f74,_0x4448d0,_0xdcff11,0x14,_0x7fa0fe[0x1b]),_0x4448d0=_0x36cd6f(_0x4448d0,_0x748582,_0x5234da,_0x4f2f74,_0x509698,0x5,_0x7fa0fe[0x1c]),_0x4f2f74=_0x36cd6f(_0x4f2f74,_0x4448d0,_0x748582,_0x5234da,_0xc3b657,0x9,_0x7fa0fe[0x1d]),_0x5234da=_0x36cd6f(_0x5234da,_0x4f2f74,_0x4448d0,_0x748582,_0x59279c,0xe,_0x7fa0fe[0x1e]),_0x748582=_0x36cd6f(_0x748582,_0x5234da,_0x4f2f74,_0x4448d0,_0x399ad1,0x14,_0x7fa0fe[0x1f]),_0x4448d0=_0xe286de(_0x4448d0,_0x748582,_0x5234da,_0x4f2f74,_0x5b9142,0x4,_0x7fa0fe[0x20]),_0x4f2f74=_0xe286de(_0x4f2f74,_0x4448d0,_0x748582,_0x5234da,_0xdcff11,0xb,_0x7fa0fe[0x21]),_0x5234da=_0xe286de(_0x5234da,_0x4f2f74,_0x4448d0,_0x748582,_0x3caee3,0x10,_0x7fa0fe[0x22]),_0x748582=_0xe286de(_0x748582,_0x5234da,_0x4f2f74,_0x4448d0,_0x39501d,0x17,_0x7fa0fe[0x23]),_0x4448d0=_0xe286de(_0x4448d0,_0x748582,_0x5234da,_0x4f2f74,_0x583c5b,0x4,_0x7fa0fe[0x24]),_0x4f2f74=_0xe286de(_0x4f2f74,_0x4448d0,_0x748582,_0x5234da,_0x646169,0xb,_0x7fa0fe[0x25]),_0x5234da=_0xe286de(_0x5234da,_0x4f2f74,_0x4448d0,_0x748582,_0x59279c,0x10,_0x7fa0fe[0x26]),_0x748582=_0xe286de(_0x748582,_0x5234da,_0x4f2f74,_0x4448d0,_0x157524,0x17,_0x7fa0fe[0x27]),_0x4448d0=_0xe286de(_0x4448d0,_0x748582,_0x5234da,_0x4f2f74,_0x509698,0x4,_0x7fa0fe[0x28]),_0x4f2f74=_0xe286de(_0x4f2f74,_0x4448d0,_0x748582,_0x5234da,_0x27fa01,0xb,_0x7fa0fe[0x29]),_0x5234da=_0xe286de(_0x5234da,_0x4f2f74,_0x4448d0,_0x748582,_0x11634c,0x10,_0x7fa0fe[0x2a]),_0x748582=_0xe286de(_0x748582,_0x5234da,_0x4f2f74,_0x4448d0,_0x2cb6c3,0x17,_0x7fa0fe[0x2b]),_0x4448d0=_0xe286de(_0x4448d0,_0x748582,_0x5234da,_0x4f2f74,_0x179837,0x4,_0x7fa0fe[0x2c]),_0x4f2f74=_0xe286de(_0x4f2f74,_0x4448d0,_0x748582,_0x5234da,_0x399ad1,0xb,_0x7fa0fe[0x2d]),_0x5234da=_0xe286de(_0x5234da,_0x4f2f74,_0x4448d0,_0x748582,_0x4af077,0x10,_0x7fa0fe[0x2e]),_0x748582=_0xe286de(_0x748582,_0x5234da,_0x4f2f74,_0x4448d0,_0xc3b657,0x17,_0x7fa0fe[0x2f]),_0x4448d0=_0x5d9974(_0x4448d0,_0x748582,_0x5234da,_0x4f2f74,_0x27fa01,0x6,_0x7fa0fe[0x30]),_0x4f2f74=_0x5d9974(_0x4f2f74,_0x4448d0,_0x748582,_0x5234da,_0x59279c,0xa,_0x7fa0fe[0x31]),_0x5234da=_0x5d9974(_0x5234da,_0x4f2f74,_0x4448d0,_0x748582,_0x39501d,0xf,_0x7fa0fe[0x32]),_0x748582=_0x5d9974(_0x748582,_0x5234da,_0x4f2f74,_0x4448d0,_0x5b9142,0x15,_0x7fa0fe[0x33]),_0x4448d0=_0x5d9974(_0x4448d0,_0x748582,_0x5234da,_0x4f2f74,_0x399ad1,0x6,_0x7fa0fe[0x34]),_0x4f2f74=_0x5d9974(_0x4f2f74,_0x4448d0,_0x748582,_0x5234da,_0x11634c,0xa,_0x7fa0fe[0x35]),_0x5234da=_0x5d9974(_0x5234da,_0x4f2f74,_0x4448d0,_0x748582,_0x157524,0xf,_0x7fa0fe[0x36]),_0x748582=_0x5d9974(_0x748582,_0x5234da,_0x4f2f74,_0x4448d0,_0x583c5b,0x15,_0x7fa0fe[0x37]),_0x4448d0=_0x5d9974(_0x4448d0,_0x748582,_0x5234da,_0x4f2f74,_0xdcff11,0x6,_0x7fa0fe[0x38]),_0x4f2f74=_0x5d9974(_0x4f2f74,_0x4448d0,_0x748582,_0x5234da,_0x4af077,0xa,_0x7fa0fe[0x39]),_0x5234da=_0x5d9974(_0x5234da,_0x4f2f74,_0x4448d0,_0x748582,_0x2cb6c3,0xf,_0x7fa0fe[0x3a]),_0x748582=_0x5d9974(_0x748582,_0x5234da,_0x4f2f74,_0x4448d0,_0x509698,0x15,_0x7fa0fe[0x3b]),_0x4448d0=_0x5d9974(_0x4448d0,_0x748582,_0x5234da,_0x4f2f74,_0x646169,0x6,_0x7fa0fe[0x3c]),_0x4f2f74=_0x5d9974(_0x4f2f74,_0x4448d0,_0x748582,_0x5234da,_0x3caee3,0xa,_0x7fa0fe[0x3d]),_0x5234da=_0x5d9974(_0x5234da,_0x4f2f74,_0x4448d0,_0x748582,_0xc3b657,0xf,_0x7fa0fe[0x3e]),_0x748582=_0x5d9974(_0x748582,_0x5234da,_0x4f2f74,_0x4448d0,_0x179837,0x15,_0x7fa0fe[0x3f]),_0x1cec4d[0x0]=_0x1cec4d[0x0]+_0x4448d0|0x0,_0x1cec4d[0x1]=_0x1cec4d[0x1]+_0x748582|0x0,_0x1cec4d[0x2]=_0x1cec4d[0x2]+_0x5234da|0x0,_0x1cec4d[0x3]=_0x1cec4d[0x3]+_0x4f2f74|0x0;},'_doFinalize':function(){var _0x21152d=_0xe50e91,_0x441722=this[_0x21152d(0x324)],_0xbde4d4=_0x441722[_0x21152d(0x146)],_0x2c24f3=this['_nDataBytes']*0x8,_0x592484=_0x441722[_0x21152d(0x27a)]*0x8;_0xbde4d4[_0x592484>>>0x5]|=0x80<<0x18-_0x592484%0x20;var _0xefa572=_0x3951d4[_0x21152d(0x1ca)](_0x2c24f3/0x100000000),_0x26a005=_0x2c24f3;_0xbde4d4[(_0x592484+0x40>>>0x9<<0x4)+0xf]=(_0xefa572<<0x8|_0xefa572>>>0x18)&0xff00ff|(_0xefa572<<0x18|_0xefa572>>>0x8)&0xff00ff00,_0xbde4d4[(_0x592484+0x40>>>0x9<<0x4)+0xe]=(_0x26a005<<0x8|_0x26a005>>>0x18)&0xff00ff|(_0x26a005<<0x18|_0x26a005>>>0x8)&0xff00ff00,_0x441722[_0x21152d(0x27a)]=(_0xbde4d4[_0x21152d(0x178)]+0x1)*0x4,this['_process']();for(var _0x3c6150=this[_0x21152d(0x26b)],_0x1b050c=_0x3c6150[_0x21152d(0x146)],_0x4d3667=0x0;_0x4d3667<0x4;_0x4d3667++){var _0x38a412=_0x1b050c[_0x4d3667];_0x1b050c[_0x4d3667]=(_0x38a412<<0x8|_0x38a412>>>0x18)&0xff00ff|(_0x38a412<<0x18|_0x38a412>>>0x8)&0xff00ff00;}return _0x3c6150;},'clone':function(){var _0x4aa93e=_0xe50e91,_0x3cf371=_0x6438c9[_0x4aa93e(0x27b)][_0x4aa93e(0x23e)](this);return _0x3cf371['_hash']=this['_hash']['clone'](),_0x3cf371;}});function _0x592152(_0x18eb38,_0x2b6f09,_0x5a23dd,_0xb1a6d4,_0x38d4bd,_0x421aee,_0x40747f){var _0x18c671=_0x18eb38+(_0x2b6f09&_0x5a23dd|~_0x2b6f09&_0xb1a6d4)+_0x38d4bd+_0x40747f;return(_0x18c671<<_0x421aee|_0x18c671>>>0x20-_0x421aee)+_0x2b6f09;}function _0x36cd6f(_0x539344,_0x427d39,_0x5c0db1,_0x1e66f8,_0x14ede2,_0x22b05d,_0x52c8b5){var _0x48fb69=_0x539344+(_0x427d39&_0x1e66f8|_0x5c0db1&~_0x1e66f8)+_0x14ede2+_0x52c8b5;return(_0x48fb69<<_0x22b05d|_0x48fb69>>>0x20-_0x22b05d)+_0x427d39;}function _0xe286de(_0xae17e7,_0x44ae43,_0x1f5c49,_0x367cae,_0x1ddd0c,_0x3e3ee8,_0x56e072){var _0x568256=_0xae17e7+(_0x44ae43^_0x1f5c49^_0x367cae)+_0x1ddd0c+_0x56e072;return(_0x568256<<_0x3e3ee8|_0x568256>>>0x20-_0x3e3ee8)+_0x44ae43;}function _0x5d9974(_0x293ceb,_0x4c3fc6,_0x494c30,_0x7ca6ab,_0x288d9a,_0x3a5155,_0x45eaf8){var _0x13c759=_0x293ceb+(_0x494c30^(_0x4c3fc6|~_0x7ca6ab))+_0x288d9a+_0x45eaf8;return(_0x13c759<<_0x3a5155|_0x13c759>>>0x20-_0x3a5155)+_0x4c3fc6;}_0x5f2e7e[_0xe50e91(0x21b)]=_0x6438c9[_0xe50e91(0x2b7)](_0x64782d),_0x5f2e7e[_0xe50e91(0xda)]=_0x6438c9[_0xe50e91(0x2b6)](_0x64782d);}(Math),_0x264de4['MD5'];}));}(Ke)),Ke['exports'];}var Ye={'exports':{}},qe={'exports':{}},Cr=qe[_0xeb087b(0x392)],ei;function Rr(){var _0x309b86=_0xeb087b;return ei||(ei=0x1,function(_0x4f680a,_0x55291f){(function(_0x5b48e5,_0x55da45){var _0x5340a4=_0x3bb5;_0x4f680a[_0x5340a4(0x392)]=_0x55da45(ie());}(Cr,function(_0x58af6d){var _0x55bb42=_0x3bb5;return(function(){var _0x2d784c=_0x3bb5,_0x1791a5=_0x58af6d,_0xa08a3b=_0x1791a5[_0x2d784c(0x308)],_0x2a9a03=_0xa08a3b['WordArray'],_0x16f9aa=_0xa08a3b['Hasher'],_0x52f990=_0x1791a5['algo'],_0x457f89=[],_0x5d26a1=_0x52f990['SHA1']=_0x16f9aa['extend']({'_doReset':function(){var _0x5edc71=_0x2d784c;this['_hash']=new _0x2a9a03[(_0x5edc71(0x289))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476,0xc3d2e1f0]);},'_doProcessBlock':function(_0x1da528,_0x431a33){var _0x2d017f=_0x2d784c;for(var _0x3223dd=this[_0x2d017f(0x26b)][_0x2d017f(0x146)],_0x19bed6=_0x3223dd[0x0],_0x4a65d4=_0x3223dd[0x1],_0x1ec21f=_0x3223dd[0x2],_0x5402b8=_0x3223dd[0x3],_0x582be3=_0x3223dd[0x4],_0xa4d806=0x0;_0xa4d806<0x50;_0xa4d806++){if(_0xa4d806<0x10)_0x457f89[_0xa4d806]=_0x1da528[_0x431a33+_0xa4d806]|0x0;else{var _0x579253=_0x457f89[_0xa4d806-0x3]^_0x457f89[_0xa4d806-0x8]^_0x457f89[_0xa4d806-0xe]^_0x457f89[_0xa4d806-0x10];_0x457f89[_0xa4d806]=_0x579253<<0x1|_0x579253>>>0x1f;}var _0x4c74ca=(_0x19bed6<<0x5|_0x19bed6>>>0x1b)+_0x582be3+_0x457f89[_0xa4d806];_0xa4d806<0x14?_0x4c74ca+=(_0x4a65d4&_0x1ec21f|~_0x4a65d4&_0x5402b8)+0x5a827999:_0xa4d806<0x28?_0x4c74ca+=(_0x4a65d4^_0x1ec21f^_0x5402b8)+0x6ed9eba1:_0xa4d806<0x3c?_0x4c74ca+=(_0x4a65d4&_0x1ec21f|_0x4a65d4&_0x5402b8|_0x1ec21f&_0x5402b8)-0x70e44324:_0x4c74ca+=(_0x4a65d4^_0x1ec21f^_0x5402b8)-0x359d3e2a,_0x582be3=_0x5402b8,_0x5402b8=_0x1ec21f,_0x1ec21f=_0x4a65d4<<0x1e|_0x4a65d4>>>0x2,_0x4a65d4=_0x19bed6,_0x19bed6=_0x4c74ca;}_0x3223dd[0x0]=_0x3223dd[0x0]+_0x19bed6|0x0,_0x3223dd[0x1]=_0x3223dd[0x1]+_0x4a65d4|0x0,_0x3223dd[0x2]=_0x3223dd[0x2]+_0x1ec21f|0x0,_0x3223dd[0x3]=_0x3223dd[0x3]+_0x5402b8|0x0,_0x3223dd[0x4]=_0x3223dd[0x4]+_0x582be3|0x0;},'_doFinalize':function(){var _0x3402c9=_0x2d784c,_0x22a5da=this[_0x3402c9(0x324)],_0x2e2e15=_0x22a5da['words'],_0x543e74=this[_0x3402c9(0x20e)]*0x8,_0x4e585d=_0x22a5da[_0x3402c9(0x27a)]*0x8;return _0x2e2e15[_0x4e585d>>>0x5]|=0x80<<0x18-_0x4e585d%0x20,_0x2e2e15[(_0x4e585d+0x40>>>0x9<<0x4)+0xe]=Math[_0x3402c9(0x1ca)](_0x543e74/0x100000000),_0x2e2e15[(_0x4e585d+0x40>>>0x9<<0x4)+0xf]=_0x543e74,_0x22a5da['sigBytes']=_0x2e2e15[_0x3402c9(0x178)]*0x4,this[_0x3402c9(0x30d)](),this[_0x3402c9(0x26b)];},'clone':function(){var _0x425c51=_0x2d784c,_0x5dd0e9=_0x16f9aa['clone'][_0x425c51(0x23e)](this);return _0x5dd0e9[_0x425c51(0x26b)]=this[_0x425c51(0x26b)][_0x425c51(0x27b)](),_0x5dd0e9;}});_0x1791a5[_0x2d784c(0xc8)]=_0x16f9aa[_0x2d784c(0x2b7)](_0x5d26a1),_0x1791a5[_0x2d784c(0x133)]=_0x16f9aa['_createHmacHelper'](_0x5d26a1);}()),_0x58af6d[_0x55bb42(0xc8)];}));}(qe)),qe[_0x309b86(0x392)];}var ze={'exports':{}},br=ze['exports'],ti;function yr(){var _0x4a3eda=_0xeb087b;return ti||(ti=0x1,function(_0x108cf4,_0x18e9d2){(function(_0x4f745e,_0x59885b){_0x108cf4['exports']=_0x59885b(ie());}(br,function(_0x4aff7c){(function(){var _0x39b8b1=_0x3bb5,_0x387ec3=_0x4aff7c,_0x1be8ad=_0x387ec3[_0x39b8b1(0x308)],_0x231a80=_0x1be8ad[_0x39b8b1(0x2d3)],_0x271c0b=_0x387ec3[_0x39b8b1(0x2b1)],_0x82a57=_0x271c0b[_0x39b8b1(0x376)],_0x496faa=_0x387ec3['algo'];_0x496faa['HMAC']=_0x231a80['extend']({'init':function(_0x24bcae,_0x5c1a9c){var _0x22f9fe=_0x39b8b1;_0x24bcae=this['_hasher']=new _0x24bcae[(_0x22f9fe(0x289))](),typeof _0x5c1a9c=='string'&&(_0x5c1a9c=_0x82a57[_0x22f9fe(0x2fb)](_0x5c1a9c));var _0x3a0bca=_0x24bcae[_0x22f9fe(0x2c7)],_0x39bc1c=_0x3a0bca*0x4;_0x5c1a9c[_0x22f9fe(0x27a)]>_0x39bc1c&&(_0x5c1a9c=_0x24bcae[_0x22f9fe(0x2d4)](_0x5c1a9c)),_0x5c1a9c[_0x22f9fe(0x2fe)]();for(var _0x565b2a=this['_oKey']=_0x5c1a9c[_0x22f9fe(0x27b)](),_0x231d1e=this['_iKey']=_0x5c1a9c['clone'](),_0x1c8f62=_0x565b2a['words'],_0x34ba7a=_0x231d1e[_0x22f9fe(0x146)],_0x3ecb38=0x0;_0x3ecb38<_0x3a0bca;_0x3ecb38++)_0x1c8f62[_0x3ecb38]^=0x5c5c5c5c,_0x34ba7a[_0x3ecb38]^=0x36363636;_0x565b2a[_0x22f9fe(0x27a)]=_0x231d1e[_0x22f9fe(0x27a)]=_0x39bc1c,this['reset']();},'reset':function(){var _0x454528=_0x39b8b1,_0x65dde8=this[_0x454528(0x318)];_0x65dde8[_0x454528(0x207)](),_0x65dde8[_0x454528(0x31f)](this['_iKey']);},'update':function(_0x50a4fc){var _0x61d4cf=_0x39b8b1;return this[_0x61d4cf(0x318)]['update'](_0x50a4fc),this;},'finalize':function(_0x41a835){var _0xb093df=_0x39b8b1,_0x4fe718=this[_0xb093df(0x318)],_0x45280e=_0x4fe718[_0xb093df(0x2d4)](_0x41a835);_0x4fe718[_0xb093df(0x207)]();var _0x1741ef=_0x4fe718[_0xb093df(0x2d4)](this[_0xb093df(0x291)][_0xb093df(0x27b)]()[_0xb093df(0x39d)](_0x45280e));return _0x1741ef;}});}());}));}(ze)),ze[_0x4a3eda(0x392)];}var Or=Ye['exports'],ii;function Ui(){var _0x7641b7=_0xeb087b;return ii||(ii=0x1,function(_0x96933d,_0x13b0a6){(function(_0x4f7fc0,_0x3620c4,_0x33fe32){var _0x1ece6f=_0x3bb5;_0x96933d[_0x1ece6f(0x392)]=_0x3620c4(ie(),Rr(),yr());}(Or,function(_0x42bb25){return(function(){var _0x528147=_0x3bb5,_0x11c3b3=_0x42bb25,_0x35e680=_0x11c3b3[_0x528147(0x308)],_0x2995ed=_0x35e680[_0x528147(0x2d3)],_0x3ecd55=_0x35e680[_0x528147(0x306)],_0x1f9277=_0x11c3b3[_0x528147(0x24f)],_0x6f1d99=_0x1f9277[_0x528147(0x21b)],_0x384a4a=_0x1f9277[_0x528147(0x1bf)]=_0x2995ed[_0x528147(0x316)]({'cfg':_0x2995ed[_0x528147(0x316)]({'keySize':0x80/0x20,'hasher':_0x6f1d99,'iterations':0x1}),'init':function(_0x2b073f){this['cfg']=this['cfg']['extend'](_0x2b073f);},'compute':function(_0x386cb1,_0x485dd2){var _0x38eff1=_0x528147;for(var _0x580060,_0x3f1901=this[_0x38eff1(0x19e)],_0x5ada94=_0x3f1901[_0x38eff1(0x341)][_0x38eff1(0x1d8)](),_0x336217=_0x3ecd55[_0x38eff1(0x1d8)](),_0x5790e2=_0x336217[_0x38eff1(0x146)],_0x20552b=_0x3f1901[_0x38eff1(0x1fa)],_0x66017f=_0x3f1901[_0x38eff1(0x1be)];_0x5790e2[_0x38eff1(0x178)]<_0x20552b;){_0x580060&&_0x5ada94['update'](_0x580060),_0x580060=_0x5ada94[_0x38eff1(0x31f)](_0x386cb1)[_0x38eff1(0x2d4)](_0x485dd2),_0x5ada94[_0x38eff1(0x207)]();for(var _0x3b0bd4=0x1;_0x3b0bd4<_0x66017f;_0x3b0bd4++)_0x580060=_0x5ada94[_0x38eff1(0x2d4)](_0x580060),_0x5ada94[_0x38eff1(0x207)]();_0x336217[_0x38eff1(0x39d)](_0x580060);}return _0x336217[_0x38eff1(0x27a)]=_0x20552b*0x4,_0x336217;}});_0x11c3b3[_0x528147(0x1bf)]=function(_0x4b222d,_0x5d8ab1,_0x38de3c){var _0x4021de=_0x528147;return _0x384a4a[_0x4021de(0x1d8)](_0x38de3c)[_0x4021de(0x2f3)](_0x4b222d,_0x5d8ab1);};}()),_0x42bb25['EvpKDF'];}));}(Ye)),Ye[_0x7641b7(0x392)];}var Je={'exports':{}},Nr=Je[_0xeb087b(0x392)],ni;function wi(){var _0x5e0770=_0xeb087b;return ni||(ni=0x1,function(_0x121a4c,_0x145133){(function(_0x33e017,_0x42b62d,_0x387b4c){var _0x1f1f28=_0x3bb5;_0x121a4c[_0x1f1f28(0x392)]=_0x42b62d(ie(),Ui());}(Nr,function(_0x3ad0e9){var _0x5f0bea=_0x3bb5;_0x3ad0e9[_0x5f0bea(0x308)]['Cipher']||function(_0x336748){var _0x3c5325=_0x5f0bea,_0x2a1065=_0x3ad0e9,_0x307d66=_0x2a1065[_0x3c5325(0x308)],_0x137f49=_0x307d66[_0x3c5325(0x2d3)],_0x3972d9=_0x307d66[_0x3c5325(0x306)],_0x21a1f7=_0x307d66[_0x3c5325(0x25a)],_0x7b8eb1=_0x2a1065['enc'];_0x7b8eb1[_0x3c5325(0x376)];var _0x5df767=_0x7b8eb1['Base64'],_0x71090b=_0x2a1065[_0x3c5325(0x24f)],_0x13e8aa=_0x71090b[_0x3c5325(0x1bf)],_0x458258=_0x307d66[_0x3c5325(0x2a6)]=_0x21a1f7['extend']({'cfg':_0x137f49[_0x3c5325(0x316)](),'createEncryptor':function(_0x372a5c,_0x1c3b22){var _0x593e0f=_0x3c5325;return this[_0x593e0f(0x1d8)](this[_0x593e0f(0x2df)],_0x372a5c,_0x1c3b22);},'createDecryptor':function(_0x5e184f,_0x72350f){var _0x4712d7=_0x3c5325;return this[_0x4712d7(0x1d8)](this['_DEC_XFORM_MODE'],_0x5e184f,_0x72350f);},'init':function(_0x53bf07,_0x2c7530,_0x255df7){var _0x28cedf=_0x3c5325;this['cfg']=this[_0x28cedf(0x19e)][_0x28cedf(0x316)](_0x255df7),this[_0x28cedf(0x36d)]=_0x53bf07,this[_0x28cedf(0xf1)]=_0x2c7530,this['reset']();},'reset':function(){var _0x44afe1=_0x3c5325;_0x21a1f7[_0x44afe1(0x207)][_0x44afe1(0x23e)](this),this['_doReset']();},'process':function(_0x48d52f){var _0x16d389=_0x3c5325;return this[_0x16d389(0xe9)](_0x48d52f),this[_0x16d389(0x30d)]();},'finalize':function(_0xf741ec){var _0x360011=_0x3c5325;_0xf741ec&&this['_append'](_0xf741ec);var _0x5388cb=this[_0x360011(0x13e)]();return _0x5388cb;},'keySize':0x80/0x20,'ivSize':0x80/0x20,'_ENC_XFORM_MODE':0x1,'_DEC_XFORM_MODE':0x2,'_createHelper':(function(){function _0x2a96cb(_0x7a6cad){var _0x958024=_0x3bb5;return typeof _0x7a6cad==_0x958024(0x336)?_0x5471be:_0x4836bc;}return function(_0x4033a0){return{'encrypt':function(_0x42a373,_0x2c9d48,_0x44c76d){var _0x40824c=_0x3bb5;return _0x2a96cb(_0x2c9d48)[_0x40824c(0x2ed)](_0x4033a0,_0x42a373,_0x2c9d48,_0x44c76d);},'decrypt':function(_0x4ebc0f,_0x3862fb,_0x351a96){var _0x10266f=_0x3bb5;return _0x2a96cb(_0x3862fb)[_0x10266f(0x134)](_0x4033a0,_0x4ebc0f,_0x3862fb,_0x351a96);}};};}())});_0x307d66['StreamCipher']=_0x458258[_0x3c5325(0x316)]({'_doFinalize':function(){var _0x144aa4=_0x3c5325,_0x383e28=this[_0x144aa4(0x30d)](!0x0);return _0x383e28;},'blockSize':0x1});var _0x1d809b=_0x2a1065[_0x3c5325(0x2b9)]={},_0x334263=_0x307d66[_0x3c5325(0xb6)]=_0x137f49[_0x3c5325(0x316)]({'createEncryptor':function(_0x34226c,_0x47f2d5){var _0x58b13e=_0x3c5325;return this[_0x58b13e(0x2ec)][_0x58b13e(0x1d8)](_0x34226c,_0x47f2d5);},'createDecryptor':function(_0x10b89a,_0x14fed2){var _0x51060e=_0x3c5325;return this[_0x51060e(0x110)]['create'](_0x10b89a,_0x14fed2);},'init':function(_0x35ce6b,_0x3ae32f){var _0x3cc25f=_0x3c5325;this[_0x3cc25f(0x11b)]=_0x35ce6b,this[_0x3cc25f(0x204)]=_0x3ae32f;}}),_0x46f672=_0x1d809b[_0x3c5325(0x2f0)]=(function(){var _0x4d4e2a=_0x3c5325,_0x10cb03=_0x334263[_0x4d4e2a(0x316)]();_0x10cb03[_0x4d4e2a(0x2ec)]=_0x10cb03[_0x4d4e2a(0x316)]({'processBlock':function(_0xeeb23c,_0x57962f){var _0x548857=_0x4d4e2a,_0x53d502=this['_cipher'],_0x5dfdbc=_0x53d502['blockSize'];_0x2c2185[_0x548857(0x23e)](this,_0xeeb23c,_0x57962f,_0x5dfdbc),_0x53d502[_0x548857(0x33f)](_0xeeb23c,_0x57962f),this[_0x548857(0x112)]=_0xeeb23c[_0x548857(0x329)](_0x57962f,_0x57962f+_0x5dfdbc);}}),_0x10cb03[_0x4d4e2a(0x110)]=_0x10cb03[_0x4d4e2a(0x316)]({'processBlock':function(_0x5152f9,_0x23265c){var _0x6a8bf0=_0x4d4e2a,_0x41bf41=this['_cipher'],_0x28f06c=_0x41bf41[_0x6a8bf0(0x2c7)],_0x32d03a=_0x5152f9[_0x6a8bf0(0x329)](_0x23265c,_0x23265c+_0x28f06c);_0x41bf41[_0x6a8bf0(0x3a6)](_0x5152f9,_0x23265c),_0x2c2185[_0x6a8bf0(0x23e)](this,_0x5152f9,_0x23265c,_0x28f06c),this['_prevBlock']=_0x32d03a;}});function _0x2c2185(_0x318cf9,_0x30fdfd,_0x4cead1){var _0x71b0b0=_0x4d4e2a,_0x57f783,_0x2aa530=this[_0x71b0b0(0x204)];_0x2aa530?(_0x57f783=_0x2aa530,this[_0x71b0b0(0x204)]=_0x336748):_0x57f783=this['_prevBlock'];for(var _0x62a628=0x0;_0x62a628<_0x4cead1;_0x62a628++)_0x318cf9[_0x30fdfd+_0x62a628]^=_0x57f783[_0x62a628];}return _0x10cb03;}()),_0x3fb665=_0x2a1065['pad']={},_0x3e7014=_0x3fb665[_0x3c5325(0x163)]={'pad':function(_0x1646d8,_0x2a1041){var _0x1b82a3=_0x3c5325;for(var _0x1cd77c=_0x2a1041*0x4,_0x90cbf9=_0x1cd77c-_0x1646d8[_0x1b82a3(0x27a)]%_0x1cd77c,_0x3291af=_0x90cbf9<<0x18|_0x90cbf9<<0x10|_0x90cbf9<<0x8|_0x90cbf9,_0x3bc0d5=[],_0x4596cb=0x0;_0x4596cb<_0x90cbf9;_0x4596cb+=0x4)_0x3bc0d5[_0x1b82a3(0x2c9)](_0x3291af);var _0x3e0a07=_0x3972d9[_0x1b82a3(0x1d8)](_0x3bc0d5,_0x90cbf9);_0x1646d8[_0x1b82a3(0x39d)](_0x3e0a07);},'unpad':function(_0x264095){var _0x3ba9a3=_0x3c5325,_0x188c34=_0x264095['words'][_0x264095[_0x3ba9a3(0x27a)]-0x1>>>0x2]&0xff;_0x264095[_0x3ba9a3(0x27a)]-=_0x188c34;}};_0x307d66[_0x3c5325(0x22b)]=_0x458258[_0x3c5325(0x316)]({'cfg':_0x458258['cfg'][_0x3c5325(0x316)]({'mode':_0x46f672,'padding':_0x3e7014}),'reset':function(){var _0x2718fc=_0x3c5325,_0x5215be;_0x458258[_0x2718fc(0x207)]['call'](this);var _0x2e5173=this[_0x2718fc(0x19e)],_0x11e754=_0x2e5173['iv'],_0x5250b0=_0x2e5173[_0x2718fc(0x2b9)];this[_0x2718fc(0x36d)]==this[_0x2718fc(0x2df)]?_0x5215be=_0x5250b0[_0x2718fc(0x3aa)]:(_0x5215be=_0x5250b0['createDecryptor'],this[_0x2718fc(0xc7)]=0x1),this[_0x2718fc(0x37b)]&&this[_0x2718fc(0x37b)][_0x2718fc(0xf8)]==_0x5215be?this['_mode'][_0x2718fc(0x289)](this,_0x11e754&&_0x11e754[_0x2718fc(0x146)]):(this[_0x2718fc(0x37b)]=_0x5215be[_0x2718fc(0x23e)](_0x5250b0,this,_0x11e754&&_0x11e754[_0x2718fc(0x146)]),this[_0x2718fc(0x37b)][_0x2718fc(0xf8)]=_0x5215be);},'_doProcessBlock':function(_0x144d5c,_0x44f7ba){var _0x48bdc8=_0x3c5325;this['_mode'][_0x48bdc8(0x12d)](_0x144d5c,_0x44f7ba);},'_doFinalize':function(){var _0x383847=_0x3c5325,_0x59ca9f,_0x1adab3=this['cfg'][_0x383847(0x2ba)];return this[_0x383847(0x36d)]==this['_ENC_XFORM_MODE']?(_0x1adab3[_0x383847(0x251)](this[_0x383847(0x324)],this['blockSize']),_0x59ca9f=this['_process'](!0x0)):(_0x59ca9f=this[_0x383847(0x30d)](!0x0),_0x1adab3[_0x383847(0x2c4)](_0x59ca9f)),_0x59ca9f;},'blockSize':0x80/0x20});var _0x35b995=_0x307d66[_0x3c5325(0xeb)]=_0x137f49['extend']({'init':function(_0x4d6ed8){var _0x1f7465=_0x3c5325;this[_0x1f7465(0x2b2)](_0x4d6ed8);},'toString':function(_0x5e5a1c){var _0x204dbc=_0x3c5325;return(_0x5e5a1c||this[_0x204dbc(0x1b7)])[_0x204dbc(0x259)](this);}}),_0x523a23=_0x2a1065[_0x3c5325(0x1f0)]={},_0x101847=_0x523a23[_0x3c5325(0x312)]={'stringify':function(_0x36de78){var _0x289634=_0x3c5325,_0x55e948,_0x5d54f1=_0x36de78[_0x289634(0x39f)],_0x4a075=_0x36de78[_0x289634(0x297)];return _0x4a075?_0x55e948=_0x3972d9['create']([0x53616c74,0x65645f5f])[_0x289634(0x39d)](_0x4a075)[_0x289634(0x39d)](_0x5d54f1):_0x55e948=_0x5d54f1,_0x55e948['toString'](_0x5df767);},'parse':function(_0xfd775b){var _0x27c05c=_0x3c5325,_0x4fe9f3,_0x1e3c70=_0x5df767[_0x27c05c(0x2fb)](_0xfd775b),_0x58dd38=_0x1e3c70[_0x27c05c(0x146)];return _0x58dd38[0x0]==0x53616c74&&_0x58dd38[0x1]==0x65645f5f&&(_0x4fe9f3=_0x3972d9[_0x27c05c(0x1d8)](_0x58dd38[_0x27c05c(0x329)](0x2,0x4)),_0x58dd38['splice'](0x0,0x4),_0x1e3c70[_0x27c05c(0x27a)]-=0x10),_0x35b995[_0x27c05c(0x1d8)]({'ciphertext':_0x1e3c70,'salt':_0x4fe9f3});}},_0x4836bc=_0x307d66[_0x3c5325(0xc6)]=_0x137f49['extend']({'cfg':_0x137f49[_0x3c5325(0x316)]({'format':_0x101847}),'encrypt':function(_0x109ee4,_0x3b8abd,_0x347b72,_0x4a15be){var _0xbe30ef=_0x3c5325;_0x4a15be=this[_0xbe30ef(0x19e)][_0xbe30ef(0x316)](_0x4a15be);var _0x2283a5=_0x109ee4[_0xbe30ef(0x3aa)](_0x347b72,_0x4a15be),_0x306191=_0x2283a5[_0xbe30ef(0x2d4)](_0x3b8abd),_0xe79578=_0x2283a5[_0xbe30ef(0x19e)];return _0x35b995[_0xbe30ef(0x1d8)]({'ciphertext':_0x306191,'key':_0x347b72,'iv':_0xe79578['iv'],'algorithm':_0x109ee4,'mode':_0xe79578['mode'],'padding':_0xe79578['padding'],'blockSize':_0x109ee4[_0xbe30ef(0x2c7)],'formatter':_0x4a15be[_0xbe30ef(0x1f0)]});},'decrypt':function(_0x13685e,_0x49b49,_0x5bf62c,_0x43670e){var _0x4e1d59=_0x3c5325;_0x43670e=this[_0x4e1d59(0x19e)]['extend'](_0x43670e),_0x49b49=this[_0x4e1d59(0x149)](_0x49b49,_0x43670e['format']);var _0x536d54=_0x13685e[_0x4e1d59(0x33c)](_0x5bf62c,_0x43670e)[_0x4e1d59(0x2d4)](_0x49b49['ciphertext']);return _0x536d54;},'_parse':function(_0x2b710f,_0x4ac40d){var _0x4f6b53=_0x3c5325;return typeof _0x2b710f==_0x4f6b53(0x336)?_0x4ac40d[_0x4f6b53(0x2fb)](_0x2b710f,this):_0x2b710f;}}),_0x60ad83=_0x2a1065[_0x3c5325(0x332)]={},_0x499ae2=_0x60ad83[_0x3c5325(0x312)]={'execute':function(_0x4affef,_0x5e3b3f,_0x7b1c2d,_0x28d3f1,_0x554dbf){var _0x4c16f9=_0x3c5325;if(_0x28d3f1||(_0x28d3f1=_0x3972d9[_0x4c16f9(0x1ea)](0x40/0x8)),_0x554dbf)var _0xee4019=_0x13e8aa[_0x4c16f9(0x1d8)]({'keySize':_0x5e3b3f+_0x7b1c2d,'hasher':_0x554dbf})[_0x4c16f9(0x2f3)](_0x4affef,_0x28d3f1);else var _0xee4019=_0x13e8aa['create']({'keySize':_0x5e3b3f+_0x7b1c2d})[_0x4c16f9(0x2f3)](_0x4affef,_0x28d3f1);var _0x285ce7=_0x3972d9[_0x4c16f9(0x1d8)](_0xee4019[_0x4c16f9(0x146)]['slice'](_0x5e3b3f),_0x7b1c2d*0x4);return _0xee4019[_0x4c16f9(0x27a)]=_0x5e3b3f*0x4,_0x35b995['create']({'key':_0xee4019,'iv':_0x285ce7,'salt':_0x28d3f1});}},_0x5471be=_0x307d66[_0x3c5325(0x1f6)]=_0x4836bc[_0x3c5325(0x316)]({'cfg':_0x4836bc[_0x3c5325(0x19e)][_0x3c5325(0x316)]({'kdf':_0x499ae2}),'encrypt':function(_0xd78e87,_0x1056a1,_0x4d42aa,_0x2e0f2d){var _0x50640e=_0x3c5325;_0x2e0f2d=this[_0x50640e(0x19e)][_0x50640e(0x316)](_0x2e0f2d);var _0x14417d=_0x2e0f2d[_0x50640e(0x332)][_0x50640e(0xea)](_0x4d42aa,_0xd78e87[_0x50640e(0x1fa)],_0xd78e87[_0x50640e(0xdc)],_0x2e0f2d[_0x50640e(0x297)],_0x2e0f2d[_0x50640e(0x341)]);_0x2e0f2d['iv']=_0x14417d['iv'];var _0x144822=_0x4836bc[_0x50640e(0x2ed)][_0x50640e(0x23e)](this,_0xd78e87,_0x1056a1,_0x14417d['key'],_0x2e0f2d);return _0x144822[_0x50640e(0x2b2)](_0x14417d),_0x144822;},'decrypt':function(_0xdfb3e8,_0x74d597,_0x26f05d,_0x452889){var _0x4dfd05=_0x3c5325;_0x452889=this[_0x4dfd05(0x19e)][_0x4dfd05(0x316)](_0x452889),_0x74d597=this[_0x4dfd05(0x149)](_0x74d597,_0x452889[_0x4dfd05(0x1f0)]);var _0xc15ef8=_0x452889[_0x4dfd05(0x332)][_0x4dfd05(0xea)](_0x26f05d,_0xdfb3e8[_0x4dfd05(0x1fa)],_0xdfb3e8['ivSize'],_0x74d597['salt'],_0x452889[_0x4dfd05(0x341)]);_0x452889['iv']=_0xc15ef8['iv'];var _0x5da68e=_0x4836bc[_0x4dfd05(0x134)][_0x4dfd05(0x23e)](this,_0xdfb3e8,_0x74d597,_0xc15ef8[_0x4dfd05(0x326)],_0x452889);return _0x5da68e;}});}();}));}(Je)),Je[_0x5e0770(0x392)];}var Dr=Ve[_0xeb087b(0x392)],ri;function Ur(){return ri||(ri=0x1,function(_0x5dfed8,_0xa4e380){(function(_0x535d3a,_0x29636b,_0x4991ca){var _0x57e8b1=_0x3bb5;_0x5dfed8[_0x57e8b1(0x392)]=_0x29636b(ie(),Di(),Tr(),Ui(),wi());}(Dr,function(_0x4cd0ee){var _0x2d9037=_0x3bb5;return(function(){var _0x240938=_0x3bb5,_0x3a80fb=_0x4cd0ee,_0x40aab8=_0x3a80fb['lib'],_0x5047f2=_0x40aab8[_0x240938(0x22b)],_0x58890c=_0x3a80fb[_0x240938(0x24f)],_0x1ec378=[],_0x1089d9=[],_0x6b9db2=[],_0x4d8594=[],_0x39a6f6=[],_0x5c329d=[],_0x2ece75=[],_0x59add9=[],_0x4595f3=[],_0x531a89=[];(function(){for(var _0x3b2108=[],_0x3290e9=0x0;_0x3290e9<0x100;_0x3290e9++)_0x3290e9<0x80?_0x3b2108[_0x3290e9]=_0x3290e9<<0x1:_0x3b2108[_0x3290e9]=_0x3290e9<<0x1^0x11b;for(var _0x2dc66e=0x0,_0x1d7841=0x0,_0x3290e9=0x0;_0x3290e9<0x100;_0x3290e9++){var _0x15f01a=_0x1d7841^_0x1d7841<<0x1^_0x1d7841<<0x2^_0x1d7841<<0x3^_0x1d7841<<0x4;_0x15f01a=_0x15f01a>>>0x8^_0x15f01a&0xff^0x63,_0x1ec378[_0x2dc66e]=_0x15f01a,_0x1089d9[_0x15f01a]=_0x2dc66e;var _0x48784b=_0x3b2108[_0x2dc66e],_0x3d0ccf=_0x3b2108[_0x48784b],_0x6f764c=_0x3b2108[_0x3d0ccf],_0x330de3=_0x3b2108[_0x15f01a]*0x101^_0x15f01a*0x1010100;_0x6b9db2[_0x2dc66e]=_0x330de3<<0x18|_0x330de3>>>0x8,_0x4d8594[_0x2dc66e]=_0x330de3<<0x10|_0x330de3>>>0x10,_0x39a6f6[_0x2dc66e]=_0x330de3<<0x8|_0x330de3>>>0x18,_0x5c329d[_0x2dc66e]=_0x330de3;var _0x330de3=_0x6f764c*0x1010101^_0x3d0ccf*0x10001^_0x48784b*0x101^_0x2dc66e*0x1010100;_0x2ece75[_0x15f01a]=_0x330de3<<0x18|_0x330de3>>>0x8,_0x59add9[_0x15f01a]=_0x330de3<<0x10|_0x330de3>>>0x10,_0x4595f3[_0x15f01a]=_0x330de3<<0x8|_0x330de3>>>0x18,_0x531a89[_0x15f01a]=_0x330de3,_0x2dc66e?(_0x2dc66e=_0x48784b^_0x3b2108[_0x3b2108[_0x3b2108[_0x6f764c^_0x48784b]]],_0x1d7841^=_0x3b2108[_0x3b2108[_0x1d7841]]):_0x2dc66e=_0x1d7841=0x1;}}());var _0x263c09=[0x0,0x1,0x2,0x4,0x8,0x10,0x20,0x40,0x80,0x1b,0x36],_0x2472db=_0x58890c[_0x240938(0x1a4)]=_0x5047f2[_0x240938(0x316)]({'_doReset':function(){var _0x27c26c=_0x240938,_0x293b10;if(!(this[_0x27c26c(0x29a)]&&this[_0x27c26c(0x2c8)]===this[_0x27c26c(0xf1)])){for(var _0x48dce0=this['_keyPriorReset']=this['_key'],_0x576ef5=_0x48dce0[_0x27c26c(0x146)],_0x45681e=_0x48dce0[_0x27c26c(0x27a)]/0x4,_0x2906ce=this[_0x27c26c(0x29a)]=_0x45681e+0x6,_0x4a43a2=(_0x2906ce+0x1)*0x4,_0x54d99e=this[_0x27c26c(0x116)]=[],_0x31fbed=0x0;_0x31fbed<_0x4a43a2;_0x31fbed++)_0x31fbed<_0x45681e?_0x54d99e[_0x31fbed]=_0x576ef5[_0x31fbed]:(_0x293b10=_0x54d99e[_0x31fbed-0x1],_0x31fbed%_0x45681e?_0x45681e>0x6&&_0x31fbed%_0x45681e==0x4&&(_0x293b10=_0x1ec378[_0x293b10>>>0x18]<<0x18|_0x1ec378[_0x293b10>>>0x10&0xff]<<0x10|_0x1ec378[_0x293b10>>>0x8&0xff]<<0x8|_0x1ec378[_0x293b10&0xff]):(_0x293b10=_0x293b10<<0x8|_0x293b10>>>0x18,_0x293b10=_0x1ec378[_0x293b10>>>0x18]<<0x18|_0x1ec378[_0x293b10>>>0x10&0xff]<<0x10|_0x1ec378[_0x293b10>>>0x8&0xff]<<0x8|_0x1ec378[_0x293b10&0xff],_0x293b10^=_0x263c09[_0x31fbed/_0x45681e|0x0]<<0x18),_0x54d99e[_0x31fbed]=_0x54d99e[_0x31fbed-_0x45681e]^_0x293b10);for(var _0xea06b7=this[_0x27c26c(0x239)]=[],_0x3e7399=0x0;_0x3e7399<_0x4a43a2;_0x3e7399++){var _0x31fbed=_0x4a43a2-_0x3e7399;if(_0x3e7399%0x4)var _0x293b10=_0x54d99e[_0x31fbed];else var _0x293b10=_0x54d99e[_0x31fbed-0x4];_0x3e7399<0x4||_0x31fbed<=0x4?_0xea06b7[_0x3e7399]=_0x293b10:_0xea06b7[_0x3e7399]=_0x2ece75[_0x1ec378[_0x293b10>>>0x18]]^_0x59add9[_0x1ec378[_0x293b10>>>0x10&0xff]]^_0x4595f3[_0x1ec378[_0x293b10>>>0x8&0xff]]^_0x531a89[_0x1ec378[_0x293b10&0xff]];}}},'encryptBlock':function(_0x2cc8da,_0x2f13f2){var _0x4de8bd=_0x240938;this['_doCryptBlock'](_0x2cc8da,_0x2f13f2,this[_0x4de8bd(0x116)],_0x6b9db2,_0x4d8594,_0x39a6f6,_0x5c329d,_0x1ec378);},'decryptBlock':function(_0x71f535,_0x5d741f){var _0x168386=_0x240938,_0x1b65de=_0x71f535[_0x5d741f+0x1];_0x71f535[_0x5d741f+0x1]=_0x71f535[_0x5d741f+0x3],_0x71f535[_0x5d741f+0x3]=_0x1b65de,this[_0x168386(0x202)](_0x71f535,_0x5d741f,this['_invKeySchedule'],_0x2ece75,_0x59add9,_0x4595f3,_0x531a89,_0x1089d9);var _0x1b65de=_0x71f535[_0x5d741f+0x1];_0x71f535[_0x5d741f+0x1]=_0x71f535[_0x5d741f+0x3],_0x71f535[_0x5d741f+0x3]=_0x1b65de;},'_doCryptBlock':function(_0x4ddc7c,_0x2905ff,_0x35442a,_0x5cfb7f,_0x204599,_0x475eac,_0x15d91c,_0x589f5a){var _0x3b5c42=_0x240938;for(var _0x37a899=this[_0x3b5c42(0x29a)],_0x10e0f6=_0x4ddc7c[_0x2905ff]^_0x35442a[0x0],_0x3cb4a2=_0x4ddc7c[_0x2905ff+0x1]^_0x35442a[0x1],_0x55dcd1=_0x4ddc7c[_0x2905ff+0x2]^_0x35442a[0x2],_0x4e3221=_0x4ddc7c[_0x2905ff+0x3]^_0x35442a[0x3],_0x45230b=0x4,_0x4d7862=0x1;_0x4d7862<_0x37a899;_0x4d7862++){var _0x3ea83c=_0x5cfb7f[_0x10e0f6>>>0x18]^_0x204599[_0x3cb4a2>>>0x10&0xff]^_0x475eac[_0x55dcd1>>>0x8&0xff]^_0x15d91c[_0x4e3221&0xff]^_0x35442a[_0x45230b++],_0x2a97d6=_0x5cfb7f[_0x3cb4a2>>>0x18]^_0x204599[_0x55dcd1>>>0x10&0xff]^_0x475eac[_0x4e3221>>>0x8&0xff]^_0x15d91c[_0x10e0f6&0xff]^_0x35442a[_0x45230b++],_0x16e903=_0x5cfb7f[_0x55dcd1>>>0x18]^_0x204599[_0x4e3221>>>0x10&0xff]^_0x475eac[_0x10e0f6>>>0x8&0xff]^_0x15d91c[_0x3cb4a2&0xff]^_0x35442a[_0x45230b++],_0x88a181=_0x5cfb7f[_0x4e3221>>>0x18]^_0x204599[_0x10e0f6>>>0x10&0xff]^_0x475eac[_0x3cb4a2>>>0x8&0xff]^_0x15d91c[_0x55dcd1&0xff]^_0x35442a[_0x45230b++];_0x10e0f6=_0x3ea83c,_0x3cb4a2=_0x2a97d6,_0x55dcd1=_0x16e903,_0x4e3221=_0x88a181;}var _0x3ea83c=(_0x589f5a[_0x10e0f6>>>0x18]<<0x18|_0x589f5a[_0x3cb4a2>>>0x10&0xff]<<0x10|_0x589f5a[_0x55dcd1>>>0x8&0xff]<<0x8|_0x589f5a[_0x4e3221&0xff])^_0x35442a[_0x45230b++],_0x2a97d6=(_0x589f5a[_0x3cb4a2>>>0x18]<<0x18|_0x589f5a[_0x55dcd1>>>0x10&0xff]<<0x10|_0x589f5a[_0x4e3221>>>0x8&0xff]<<0x8|_0x589f5a[_0x10e0f6&0xff])^_0x35442a[_0x45230b++],_0x16e903=(_0x589f5a[_0x55dcd1>>>0x18]<<0x18|_0x589f5a[_0x4e3221>>>0x10&0xff]<<0x10|_0x589f5a[_0x10e0f6>>>0x8&0xff]<<0x8|_0x589f5a[_0x3cb4a2&0xff])^_0x35442a[_0x45230b++],_0x88a181=(_0x589f5a[_0x4e3221>>>0x18]<<0x18|_0x589f5a[_0x10e0f6>>>0x10&0xff]<<0x10|_0x589f5a[_0x3cb4a2>>>0x8&0xff]<<0x8|_0x589f5a[_0x55dcd1&0xff])^_0x35442a[_0x45230b++];_0x4ddc7c[_0x2905ff]=_0x3ea83c,_0x4ddc7c[_0x2905ff+0x1]=_0x2a97d6,_0x4ddc7c[_0x2905ff+0x2]=_0x16e903,_0x4ddc7c[_0x2905ff+0x3]=_0x88a181;},'keySize':0x100/0x20});_0x3a80fb[_0x240938(0x1a4)]=_0x5047f2[_0x240938(0x2b7)](_0x2472db);}()),_0x4cd0ee[_0x2d9037(0x1a4)];}));}(Ve)),Ve['exports'];}var wr=Ur();const Ar=He(wr);var Pr=Di();const si=He(Pr);var Xe={'exports':{}},xr=Xe['exports'],ai;function Lr(){return ai||(ai=0x1,function(_0x2c7740,_0x3b84fe){(function(_0x53e5c4,_0x1c0c62){_0x2c7740['exports']=_0x1c0c62(ie());}(xr,function(_0x41852f){var _0x53033f=_0x3bb5;return _0x41852f['enc'][_0x53033f(0x376)];}));}(Xe)),Xe['exports'];}var Mr=Lr();const kr=He(Mr);var Ze={'exports':{}},$r=Ze[_0xeb087b(0x392)],oi;function Hr(){var _0x33f8ae=_0xeb087b;return oi||(oi=0x1,function(_0xce6c20,_0xa9f799){(function(_0x479a5f,_0x18f53c){var _0x1e9d15=_0x3bb5;_0xce6c20[_0x1e9d15(0x392)]=_0x18f53c(ie());}($r,function(_0x481426){var _0x5ef870=_0x3bb5;return(function(){var _0x1edc97=_0x3bb5;if(typeof ArrayBuffer==_0x1edc97(0x130)){var _0x19ce57=_0x481426,_0x24be9e=_0x19ce57[_0x1edc97(0x308)],_0x35c685=_0x24be9e['WordArray'],_0xcba86=_0x35c685[_0x1edc97(0x289)],_0x2c6930=_0x35c685[_0x1edc97(0x289)]=function(_0x319cc7){var _0x23499d=_0x1edc97;if(_0x319cc7 instanceof ArrayBuffer&&(_0x319cc7=new Uint8Array(_0x319cc7)),(_0x319cc7 instanceof Int8Array||typeof Uint8ClampedArray<'u'&&_0x319cc7 instanceof Uint8ClampedArray||_0x319cc7 instanceof Int16Array||_0x319cc7 instanceof Uint16Array||_0x319cc7 instanceof Int32Array||_0x319cc7 instanceof Uint32Array||_0x319cc7 instanceof Float32Array||_0x319cc7 instanceof Float64Array)&&(_0x319cc7=new Uint8Array(_0x319cc7[_0x23499d(0x369)],_0x319cc7[_0x23499d(0x387)],_0x319cc7['byteLength'])),_0x319cc7 instanceof Uint8Array){for(var _0x6a7f8b=_0x319cc7[_0x23499d(0x35c)],_0x504e67=[],_0x263ccd=0x0;_0x263ccd<_0x6a7f8b;_0x263ccd++)_0x504e67[_0x263ccd>>>0x2]|=_0x319cc7[_0x263ccd]<<0x18-_0x263ccd%0x4*0x8;_0xcba86['call'](this,_0x504e67,_0x6a7f8b);}else _0xcba86[_0x23499d(0x18d)](this,arguments);};_0x2c6930[_0x1edc97(0x274)]=_0x35c685;}}()),_0x481426['lib'][_0x5ef870(0x306)];}));}(Ze)),Ze[_0x33f8ae(0x392)];}var Br=Hr();const jr=He(Br);var Qe={'exports':{}},Fr=Qe[_0xeb087b(0x392)],ci;function Vr(){var _0x2fc3f0=_0xeb087b;return ci||(ci=0x1,function(_0x2624c2,_0x48bbdc){(function(_0x2de6a0,_0xc1753c,_0x45845b){var _0x33cb72=_0x3bb5;_0x2624c2[_0x33cb72(0x392)]=_0xc1753c(ie(),wi());}(Fr,function(_0x411162){var _0x572bdf=_0x3bb5;return _0x411162[_0x572bdf(0x251)][_0x572bdf(0xc4)]={'pad':function(){},'unpad':function(){}},_0x411162[_0x572bdf(0x251)][_0x572bdf(0xc4)];}));}(Qe)),Qe[_0x2fc3f0(0x392)];}var Gr=Vr();const Wr=He(Gr);function Kr(_0xd387eb,_0x3e3117){var _0x2a37b2=_0xeb087b;const _0x2e99e0=_0x3e3117-_0xd387eb['length']%_0x3e3117,_0x367051=String['fromCharCode'](_0x2e99e0)[_0x2a37b2(0x1cc)](_0x2e99e0);return _0xd387eb+_0x367051;}function Yr(_0x3c00f6,_0x27bff3){var _0x13a83f=_0xeb087b;const _0x584ccb=jr[_0x13a83f(0x1ea)](0x10),_0x574cfe=Kr(_0x3c00f6,0x10),_0x4220e2=Ar[_0x13a83f(0x2ed)](kr[_0x13a83f(0x2fb)](_0x574cfe),si[_0x13a83f(0x2fb)](_0x27bff3),{'iv':_0x584ccb,'padding':Wr});return _0x584ccb['concat'](_0x4220e2[_0x13a83f(0x39f)])[_0x13a83f(0x227)](si);}function qr(){var _0x3ab21b=_0xeb087b;const _0x6a07f4=_0x216725()[_0x3ab21b(0x25b)];if(_0x6a07f4){const _0x43a722={'time':Math[_0x3ab21b(0x1ca)](Date[_0x3ab21b(0x31c)]()/0x3e8),'domain':location[_0x3ab21b(0x32e)]};return Yr(JSON[_0x3ab21b(0x259)](_0x43a722),_0x6a07f4);}}var zr=Object[_0xeb087b(0x33d)],Jr=(_0x7794de,_0x27b9ab,_0x2b2e4e,_0xb46614)=>{var _0xb25af=_0xeb087b;for(var _0x227b8a=_0xb46614>0x1?void 0x0:_0xb46614?zr(_0x27b9ab,_0x2b2e4e):_0x27b9ab,_0x1793a2=_0x7794de[_0xb25af(0x178)]-0x1,_0x4e4be7;_0x1793a2>=0x0;_0x1793a2--)(_0x4e4be7=_0x7794de[_0x1793a2])&&(_0x227b8a=_0x4e4be7(_0x227b8a)||_0x227b8a);return _0x227b8a;},Xr=(_0x4598d6,_0x5785c)=>(_0x37e9c6,_0x1c3aca)=>_0x5785c(_0x37e9c6,_0x1c3aca,_0x4598d6);let at=class{constructor(_0x58d4d4){var _0x5494ec=_0xeb087b;this[_0x5494ec(0x2ce)]=_0x58d4d4,this[_0x5494ec(0x18c)]();}[_0xeb087b(0x18c)](){this['_httpService']['registerHTTPInterceptor']({'interceptor':(_0x860643,_0x31fc61)=>{var _0x6aff0c=_0x3bb5;const _0x5c13ba=_0x860643[_0x6aff0c(0xde)],_0x21bf39=qr();return _0x21bf39&&_0x5c13ba[_0x6aff0c(0x36c)](_0x6aff0c(0x249),_0x21bf39),_0x31fc61(_0x860643);}});}};at=Jr([Xr(0x0,_0x2e70ff(_0x5dbf74))],at);var Zr=Object[_0xeb087b(0x33d)],Qr=(_0x1284b5,_0xfe7f0,_0x175dfd,_0x18b60f)=>{for(var _0x319a88=_0x18b60f>0x1?void 0x0:_0x18b60f?Zr(_0xfe7f0,_0x175dfd):_0xfe7f0,_0x22c9d9=_0x1284b5['length']-0x1,_0x3909b0;_0x22c9d9>=0x0;_0x22c9d9--)(_0x3909b0=_0x1284b5[_0x22c9d9])&&(_0x319a88=_0x3909b0(_0x319a88)||_0x319a88);return _0x319a88;},mt=(_0x3cf516,_0x41aa34)=>(_0x39a391,_0xa73a68)=>_0x41aa34(_0x39a391,_0xa73a68,_0x3cf516);let bt=class extends _0x2b51ba{constructor(_0x422144,_0x8583a5,_0x4d66bf){var _0x14f6e2=_0xeb087b;super(),N(this,'_unitInfo$',new _0x1a7ee6(null)),N(this,_0x14f6e2(0x31d),this['_unitInfo$'][_0x14f6e2(0x125)]()),(this[_0x14f6e2(0xe0)]=_0x422144,this[_0x14f6e2(0x39a)]=_0x8583a5,this['_localCacheService']=_0x4d66bf);}async[_0xeb087b(0x353)](_0x2f3c18,_0x18468e,_0x83f2a9){var _0x3f5837=_0xeb087b;this['_unitInfo$']['next']({'unitId':_0x2f3c18,'type':_0x18468e,'subUnitId':_0x83f2a9});let _0x49e733=null;switch(_0x18468e){case Q[_0x3f5837(0x3a9)]:{_0x49e733=await this['_loadSheet'](_0x2f3c18);break;}case Q[_0x3f5837(0x1a1)]:{_0x49e733=await this[_0x3f5837(0x366)](_0x2f3c18);break;}default:{this['_logService'][_0x3f5837(0x22d)](_0x3f5837(0x307),_0x3f5837(0x1b6));break;}}return _0x49e733;}async[_0xeb087b(0x119)](_0x4283ed){var _0x508d9d=_0xeb087b,_0xf5aff7;let _0x28f0df=0x0;const _0x43d907=await((_0xf5aff7=this[_0x508d9d(0x1ed)])==null?void 0x0:_0xf5aff7[_0x508d9d(0x1da)](_0x4283ed));return _0x43d907&&(_0x43d907['awaitingChangeset']||_0x43d907[_0x508d9d(0x364)][_0x508d9d(0x178)]!==0x0)&&(_0x28f0df=_0x43d907['rev']),_0x28f0df===0x0&&this[_0x508d9d(0xe0)][_0x508d9d(0x1d2)](_0x508d9d(0x307),_0x508d9d(0x181)),this[_0x508d9d(0x39a)][_0x508d9d(0xb0)](_0x4283ed,_0x28f0df);}async[_0xeb087b(0x366)](_0x2c090e){var _0x5bd275=_0xeb087b,_0x5e1f8d;let _0x412d66=0x0;const _0x1e30c3=await((_0x5e1f8d=this[_0x5bd275(0x1ed)])==null?void 0x0:_0x5e1f8d[_0x5bd275(0x1da)](_0x2c090e));return _0x1e30c3&&(_0x1e30c3['awaitingChangeset']||_0x1e30c3['mutations'][_0x5bd275(0x178)]!==0x0)&&(_0x412d66=_0x1e30c3[_0x5bd275(0x11c)]),_0x412d66===0x0&&this[_0x5bd275(0xe0)][_0x5bd275(0x1d2)](_0x5bd275(0x307),_0x5bd275(0x181)),this[_0x5bd275(0x39a)][_0x5bd275(0x200)](_0x2c090e,_0x412d66);}};bt=Qr([mt(0x0,_0x55e24e),mt(0x1,_0x2e70ff(_0x7ad26a)),mt(0x2,_0x12fd4d(J))],bt);var es=Object[_0xeb087b(0x33d)],ts=(_0x30fa6d,_0x2e3170,_0x5ab9f5,_0x22bedc)=>{var _0x381488=_0xeb087b;for(var _0xa98a16=_0x22bedc>0x1?void 0x0:_0x22bedc?es(_0x2e3170,_0x5ab9f5):_0x2e3170,_0x16b6bc=_0x30fa6d[_0x381488(0x178)]-0x1,_0x6bf13d;_0x16b6bc>=0x0;_0x16b6bc--)(_0x6bf13d=_0x30fa6d[_0x16b6bc])&&(_0xa98a16=_0x6bf13d(_0xa98a16)||_0xa98a16);return _0xa98a16;},gt=(_0x4640b0,_0x24db83)=>(_0x10b536,_0x4e8776)=>_0x24db83(_0x10b536,_0x4e8776,_0x4640b0);const is=[_0xeb087b(0x1b5),_0xeb087b(0x380),'image/jpg',_0xeb087b(0x166),'image/bmp'],ns=0x5*0x400*0x400,rs='EXCHANGE_UPLOAD_FILE_SERVER_URL_KEY',ss='/universer-api/stream/file/upload',as=_0xeb087b(0x124),os=_0xeb087b(0x346);let yt=class{constructor(_0x3b219d,_0x39980c,_0x3e0c4e){var _0x2f1975=_0xeb087b;N(this,'_waitCount',0x0),N(this,_0x2f1975(0x30a),new _0x4cc0ff()),N(this,_0x2f1975(0x398),this['_change$']),N(this,_0x2f1975(0xfd),new Map()),(this['_httpService']=_0x3b219d,this[_0x2f1975(0x108)]=_0x39980c,this[_0x2f1975(0x1a7)]=_0x3e0c4e);}[_0xeb087b(0x1e7)](_0x8d9ea7){var _0x925f59=_0xeb087b;this[_0x925f59(0x1ad)]=_0x8d9ea7,this['_change$'][_0x925f59(0x1a8)](_0x8d9ea7);}['getImageSourceCache'](_0x323e21,_0x1d0990){var _0x520822=_0xeb087b;if(_0x1d0990===_0x27892c[_0x520822(0x1bd)]){const _0x7072ba=new Image();return _0x7072ba['src']=_0x323e21,_0x7072ba;}return this[_0x520822(0xfd)]['get'](_0x323e21);}[_0xeb087b(0x132)](_0x7b1c8c,_0x252a68,_0x191080){var _0x587b45=_0xeb087b;_0x252a68===_0x27892c[_0x587b45(0x1bd)]||_0x191080==null||this['_imageSourceCache'][_0x587b45(0x36c)](_0x7b1c8c,_0x191080);}async[_0xeb087b(0x2f7)](_0x8f7f75){var _0x43ec29=_0xeb087b;try{const _0x460ccf=this[_0x43ec29(0x379)](this[_0x43ec29(0x27f)](),''+_0x8f7f75),_0x3d3aab=(await this[_0x43ec29(0x2ce)][_0x43ec29(0x1c9)](_0x460ccf))[_0x43ec29(0x120)];if(_0x3d3aab[_0x43ec29(0x22d)]&&_0x3d3aab[_0x43ec29(0x22d)][_0x43ec29(0xe8)]===Si['OK']){const _0x53a92c=new URL(_0x3d3aab[_0x43ec29(0x13f)],this[_0x43ec29(0x265)]())[_0x43ec29(0x227)]();return Promise[_0x43ec29(0x21d)](_0x53a92c);}return Promise[_0x43ec29(0x280)](_0x3d3aab[_0x43ec29(0x22d)]);}catch(_0xd02fa9){return Promise[_0x43ec29(0x280)](_0xd02fa9);}}async['saveImage'](_0x5a7e64){var _0x59a57a=_0xeb087b;let _0x478450='';if(!is[_0x59a57a(0x191)](_0x5a7e64['type']))return this['_decreaseWaiting'](),Promise['reject'](new Error(_0x4e212b[_0x59a57a(0x247)]));if(_0x5a7e64[_0x59a57a(0xff)]>ns)return this['_decreaseWaiting'](),Promise[_0x59a57a(0x280)](new Error(_0x4e212b[_0x59a57a(0xd4)]));try{const _0x1512e2=new FormData();_0x1512e2[_0x59a57a(0x153)](_0x59a57a(0x277),_0x5a7e64);const _0x26117e=this[_0x59a57a(0x1a7)][_0x59a57a(0x123)](),_0x405c07=_0x26117e==null?void 0x0:_0x26117e[_0x59a57a(0x155)]();if(!_0x405c07)throw new Error(_0x59a57a(0x3b1));const _0x49f730=this[_0x59a57a(0x1f5)]()+_0x59a57a(0x2d1)+_0x5a7e64[_0x59a57a(0xff)][_0x59a57a(0x227)]()+_0x59a57a(0x1d6)+Ei[_0x59a57a(0x3a4)]+_0x59a57a(0x127)+encodeURIComponent(_0x405c07),_0x30e41e=await(await fetch(_0x49f730,{'method':_0x59a57a(0x160),'body':_0x1512e2}))[_0x59a57a(0x2cb)]();if(typeof _0x30e41e['FileId']!=_0x59a57a(0x336))return this[_0x59a57a(0xfc)](),Promise[_0x59a57a(0x280)](new Error(_0x4e212b['ERROR_IMAGE']));_0x478450=_0x30e41e['FileId'];}catch{return this[_0x59a57a(0xfc)](),Promise[_0x59a57a(0x280)](new Error(_0x4e212b['ERROR_IMAGE']));}return new Promise((_0x29404b,_0x302dab)=>{var _0x536638=_0x59a57a;const _0x84771e=new FileReader();_0x84771e[_0x536638(0xbe)](_0x5a7e64),_0x84771e[_0x536638(0xce)]=_0x5dd112=>{var _0x400a04=_0x536638,_0x17c67a;const _0x305acb=(_0x17c67a=_0x5dd112[_0x400a04(0x252)])==null?void 0x0:_0x17c67a[_0x400a04(0x1fd)];if(_0x305acb==null){this[_0x400a04(0xfc)](),_0x302dab(new Error(_0x4e212b['ERROR_IMAGE']));return;}const _0x3b65d2=_0x181792[_0x400a04(0x303)](0x6);_0x29404b({'imageId':_0x3b65d2,'imageSourceType':_0x27892c[_0x400a04(0x371)],'source':_0x478450,'base64Cache':_0x305acb,'status':_0x4e212b[_0x400a04(0xbf)]}),this['_decreaseWaiting']();};});}[_0xeb087b(0x1f5)](){var _0x1189f9=_0xeb087b,_0x1ce964,_0x2b3151;const _0x3475e3=this[_0x1189f9(0x108)][_0x1189f9(0x183)](rs),_0x2d2972=this['_configService'][_0x1189f9(0x183)](q);return(_0x2b3151=(_0x1ce964=_0x2d2972==null?void 0x0:_0x2d2972['uploadFileServerUrl'])!=null?_0x1ce964:_0x3475e3)!=null?_0x2b3151:ss;}[_0xeb087b(0x27f)](){var _0x50c608=_0xeb087b,_0x409290,_0x3a47bd;const _0x203361=this[_0x50c608(0x108)][_0x50c608(0x183)](as),_0x25f74c=this[_0x50c608(0x108)]['getConfig'](q);return(_0x3a47bd=(_0x409290=_0x25f74c==null?void 0x0:_0x25f74c[_0x50c608(0x325)])!=null?_0x409290:_0x203361)!=null?_0x3a47bd:os;}[_0xeb087b(0x265)](){var _0x2d03af=_0xeb087b,_0x247878;const _0x2b8e8b=this[_0x2d03af(0x108)][_0x2d03af(0x183)](q);return(_0x247878=_0x2b8e8b==null?void 0x0:_0x2b8e8b['downloadEndpointUrl'])!=null?_0x247878:location[_0x2d03af(0x397)];}['_replaceFileID'](_0x3fdac6,_0x2c8c3a){var _0x375933=_0xeb087b;return _0x3fdac6['replace'](_0x375933(0x23d),_0x2c8c3a);}['_decreaseWaiting'](){var _0x3a1b13=_0xeb087b;this[_0x3a1b13(0x1ad)]-=0x1,this[_0x3a1b13(0x30a)]['next'](this['_waitCount']);}};yt=ts([gt(0x0,_0x2e70ff(_0x5dbf74)),gt(0x1,_0x5641d0),gt(0x2,_0x2e70ff(_0x30685d))],yt);var cs=Object[_0xeb087b(0x33d)],hs=(_0x562dfd,_0xeb3aa7,_0x40bc2d,_0x2bb2f3)=>{var _0xb12517=_0xeb087b;for(var _0x446c03=_0x2bb2f3>0x1?void 0x0:_0x2bb2f3?cs(_0xeb3aa7,_0x40bc2d):_0xeb3aa7,_0x1c3b47=_0x562dfd[_0xb12517(0x178)]-0x1,_0x3fb07a;_0x1c3b47>=0x0;_0x1c3b47--)(_0x3fb07a=_0x562dfd[_0x1c3b47])&&(_0x446c03=_0x3fb07a(_0x446c03)||_0x446c03);return _0x446c03;},hi=(_0x3cb4cf,_0x51c68f)=>(_0x3544a3,_0x4b0df4)=>_0x51c68f(_0x3544a3,_0x4b0df4,_0x3cb4cf);const _s=_0xeb087b(0x2f2);let Ot=class{constructor(_0x4d4e08,_0x40f789){var _0x2d9504=_0xeb087b;this['_configService']=_0x4d4e08,this[_0x2d9504(0x342)]=_0x40f789;}[_0xeb087b(0xe7)](){var _0xa3624b=_0xeb087b,_0x43a7ca,_0x35371e;const _0x1bd8e2=this[_0xa3624b(0x108)][_0xa3624b(0x183)](Ni),_0x4eac08=this[_0xa3624b(0x108)]['getConfig'](q);return(_0x35371e=(_0x43a7ca=_0x4eac08==null?void 0x0:_0x4eac08[_0xa3624b(0x36f)])!=null?_0x43a7ca:_0x1bd8e2)!=null?_0x35371e:_s;}async[_0xeb087b(0x230)](_0x3780e1){var _0x1eb29b=_0xeb087b;const _0x5d8ced=this[_0x1eb29b(0xe7)]()+_0x1eb29b(0x19b);return{'list':[{'title':'People','mentions':(await this['_HTTPService'][_0x1eb29b(0x1c9)](_0x5d8ced,{'params':{'objectID':_0x3780e1[_0x1eb29b(0x1c0)],'unitID':_0x3780e1[_0x1eb29b(0x1c0)]}}))[_0x1eb29b(0x120)][_0x1eb29b(0x128)][_0x1eb29b(0x3a7)](_0x330636=>({'objectId':_0x330636['id'],'name':_0x330636['subject'][_0x1eb29b(0x288)],'metadata':{'icon':_0x330636[_0x1eb29b(0x12f)][_0x1eb29b(0x21c)]},'label':_0x330636[_0x1eb29b(0x12f)][_0x1eb29b(0x288)],'objectType':_0x13933b['PERSON']})),'metadata':{},'type':_0x13933b['PERSON']}]};}};Ot=hs([hi(0x0,_0x2e70ff(_0x5641d0)),hi(0x1,_0x2e70ff(_0x5dbf74))],Ot);var ls=Object[_0xeb087b(0x33d)],us=(_0x2589f2,_0x403d12,_0x4e71b2,_0x3fc2b4)=>{var _0x3b371e=_0xeb087b;for(var _0x4bb682=_0x3fc2b4>0x1?void 0x0:_0x3fc2b4?ls(_0x403d12,_0x4e71b2):_0x403d12,_0x57047b=_0x2589f2[_0x3b371e(0x178)]-0x1,_0x132822;_0x57047b>=0x0;_0x57047b--)(_0x132822=_0x2589f2[_0x57047b])&&(_0x4bb682=_0x132822(_0x4bb682)||_0x4bb682);return _0x4bb682;},Ae=(_0x48f12e,_0x2e3888)=>(_0x3086ac,_0x380752)=>_0x2e3888(_0x3086ac,_0x380752,_0x48f12e);let ot=class extends _0x2b51ba{constructor(_0x19e05d,_0x18d48a,_0x4da318,_0x38b637,_0x3250cd){var _0x52d9e3=_0xeb087b;super(),this[_0x52d9e3(0x2f5)]=_0x19e05d,this[_0x52d9e3(0x1a7)]=_0x18d48a,this[_0x52d9e3(0x1e4)]=_0x4da318,this['_collaborationSessionService']=_0x38b637,this['_collaborationUIEventService']=_0x3250cd,this[_0x52d9e3(0x365)](),this[_0x52d9e3(0x333)]();}[_0xeb087b(0x333)](){var _0xfd67e8=_0xeb087b;const _0x3186b7=async _0x48bd08=>{var _0x1c8100=_0x3bb5;(await this[_0x1c8100(0x1f7)][_0x1c8100(0x2d7)](_0x48bd08))[_0x1c8100(0x301)][_0x1c8100(0xf5)](_0x13fbd9(_0x51c0fd=>_0x51c0fd[_0x1c8100(0x2d6)]===_0x42cf7f[_0x1c8100(0x24b)]),_0x337f10(this[_0x1c8100(0x15d)]))[_0x1c8100(0x2c0)](_0x55d33a=>{var _0x4b51f5=_0x1c8100;const _0xe3cc45=_0x55d33a,{reason:_0x47508f}=_0xe3cc45['data'];this[_0x4b51f5(0x107)][_0x4b51f5(0x1d4)]({'id':se[_0x4b51f5(0x2cd)],'data':_0x47508f}),this[_0x4b51f5(0x1e4)]['updatePermissionPoint'](new _0x1322ae(_0x48bd08)['id'],!0x1),this[_0x4b51f5(0x1f7)][_0x4b51f5(0x1e3)](_0x48bd08);});};_0x51a939(this[_0xfd67e8(0x1a7)][_0xfd67e8(0x144)](_0x84f43f[_0xfd67e8(0x3a9)]),this['_univerInstanceService'][_0xfd67e8(0x144)](_0x84f43f['UNIVER_DOC']))[_0xfd67e8(0xf5)](_0x4399b2(_0x5eac8e=>_0x5eac8e[_0xfd67e8(0x155)]()),_0x13fbd9(_0x2da5c0=>!_0x2dcdaa(_0x2da5c0)),_0x337f10(this[_0xfd67e8(0x15d)]))[_0xfd67e8(0x2c0)](_0x9cf083=>{_0x3186b7(_0x9cf083);});}[_0xeb087b(0x365)](){var _0x459041=_0xeb087b;const _0x246508=async _0x28a0ad=>{var _0x584f59=_0x3bb5;const _0x532ec1=await this[_0x584f59(0x1f7)][_0x584f59(0x2d7)](_0x28a0ad),_0x51df13=this['_injector'][_0x584f59(0x1c9)](_0x322abd);_0x532ec1[_0x584f59(0x301)][_0x584f59(0xf5)](_0x13fbd9(_0x239b65=>_0x239b65[_0x584f59(0x2d6)]===_0x42cf7f[_0x584f59(0x38b)]),_0x337f10(this[_0x584f59(0x15d)]))[_0x584f59(0x2c0)](_0x121ca5=>{var _0x927ee2=_0x584f59;const _0x4f6798=_0x121ca5,{objectId:_0x30a197}=_0x4f6798[_0x927ee2(0x36a)];_0x30a197===_0x28a0ad?_0x51df13['initWorkbookPermissionChange'](_0x28a0ad):_0x51df13[_0x927ee2(0xbd)](_0x28a0ad,_0x30a197);});};_0x51a939(this['_univerInstanceService'][_0x459041(0x144)](_0x84f43f[_0x459041(0x3a9)]))['pipe'](_0x4399b2(_0x1dbba3=>_0x1dbba3[_0x459041(0x155)]()),_0x13fbd9(_0x543892=>!_0x2dcdaa(_0x543892)),_0x337f10(this[_0x459041(0x15d)]))[_0x459041(0x2c0)](_0x4bd262=>{_0x246508(_0x4bd262);});}};ot=us([Ae(0x0,_0x2e70ff(_0x1ce7a4)),Ae(0x1,_0x30685d),Ae(0x2,_0x256f4d),Ae(0x3,_0x2e70ff(Le)),Ae(0x4,_0x2e70ff(pe))],ot);var ds=Object['getOwnPropertyDescriptor'],fs=(_0x3facea,_0x380ef1,_0x3175c9,_0x5dd869)=>{for(var _0x2d0906=_0x5dd869>0x1?void 0x0:_0x5dd869?ds(_0x380ef1,_0x3175c9):_0x380ef1,_0x21951e=_0x3facea['length']-0x1,_0x3a8579;_0x21951e>=0x0;_0x21951e--)(_0x3a8579=_0x3facea[_0x21951e])&&(_0x2d0906=_0x3a8579(_0x2d0906)||_0x2d0906);return _0x2d0906;},_i=(_0x40841e,_0x280aad)=>(_0x279cdb,_0x23a3ec)=>_0x280aad(_0x279cdb,_0x23a3ec,_0x40841e);let Nt=class{constructor(_0x2e3a0b,_0x95d610){var _0x53eecc=_0xeb087b;this[_0x53eecc(0x108)]=_0x2e3a0b,this[_0x53eecc(0x2ce)]=_0x95d610;}async[_0xeb087b(0x28a)](_0x5cbe6c,_0x56238c){var _0x6eceac=_0xeb087b,_0x3ca43b;const {unitID:_0x5c3625,type:_0x44ee50,revision:_0x2b38b7=0x0}=_0x56238c,_0x25588d=this[_0x6eceac(0x17e)]()+'/'+_0x44ee50+'/unit/'+_0x5c3625+_0x6eceac(0x14d)+_0x2b38b7,_0x16d902=(await this[_0x6eceac(0x2ce)][_0x6eceac(0x1c9)](_0x25588d))[_0x6eceac(0x120)],_0x234cbc=(_0x3ca43b=_0x16d902[_0x6eceac(0x1e0)])==null?void 0x0:_0x3ca43b['workbook'];if(_0x234cbc){const _0xd9ee6d=_0x234cbc==null?void 0x0:_0x234cbc[_0x6eceac(0x27e)],_0x3e983d=_0x532ad2[_0x6eceac(0x217)](_0x31fb75(_0xd9ee6d));_0x234cbc[_0x6eceac(0x27e)]=_0x3e983d,Object[_0x6eceac(0x26d)](_0x234cbc['sheets'])[_0x6eceac(0x164)](([,_0x20e49d])=>{var _0x3224aa=_0x6eceac;const _0x1f08c3=_0x20e49d[_0x3224aa(0x27e)],_0x241abd=_0x532ad2[_0x3224aa(0x217)](_0x31fb75(_0x1f08c3));_0x20e49d['originalMeta']=_0x241abd;});}return _0x16d902;}async[_0xeb087b(0x2c5)](_0xd28336,_0x4e63b9){var _0x5c624c=_0xeb087b;const {unitID:_0xb1d3b9,type:_0x13242c,blockID:_0x565125}=_0x4e63b9,_0x2adede=this['_getAPIPrefix']()+'/'+_0x13242c+_0x5c624c(0x1aa)+_0xb1d3b9+'/block/'+_0x565125;return(await this[_0x5c624c(0x2ce)]['get'](_0x2adede))[_0x5c624c(0x120)];}async[_0xeb087b(0x34a)](_0x2347fb,_0x4e27f8){var _0x2c0b03=_0xeb087b;const {unitID:_0xb09076,type:_0x53847c,blockID:_0x273544}=_0x4e27f8,_0x5d8362=this['_getAPIPrefix']()+_0x2c0b03(0x2ab)+_0x53847c+_0x2c0b03(0x1aa)+_0xb09076+_0x2c0b03(0x2ab)+_0x273544;return(await this[_0x2c0b03(0x2ce)][_0x2c0b03(0x1c9)](_0x5d8362))[_0x2c0b03(0x120)];}async[_0xeb087b(0xcf)](_0x3d9462,_0x31b05f){var _0xe26485=_0xeb087b;const {unitID:_0x4004ed,type:_0x4ae837,from:_0x4b526d,to:_0x34d38c}=_0x31b05f,_0x1669aa=this[_0xe26485(0x309)]()+'/'+_0x4ae837+_0xe26485(0x1aa)+_0x4004ed+_0xe26485(0x2b8)+_0x4b526d+_0xe26485(0x104)+_0x34d38c;return(await this[_0xe26485(0x2ce)][_0xe26485(0x1c9)](_0x1669aa))[_0xe26485(0x120)];}[_0xeb087b(0x17e)](){var _0x1198a3;return(_0x1198a3=this['_configService']['getConfig'](Sn))!=null?_0x1198a3:this['_getAPIPrefix']();}[_0xeb087b(0x309)](){var _0x2b65e8=_0xeb087b,_0xc55a1f,_0x5d8a29;const _0x108246=this[_0x2b65e8(0x108)][_0x2b65e8(0x183)](mn),_0x36a1bb=this[_0x2b65e8(0x108)][_0x2b65e8(0x183)](q);return(_0x5d8a29=(_0xc55a1f=_0x36a1bb==null?void 0x0:_0x36a1bb['snapshotServerUrl'])!=null?_0xc55a1f:_0x108246)!=null?_0x5d8a29:gn;}async[_0xeb087b(0x14a)](_0x2b20ed,_0x243202){var _0x819417=_0xeb087b;const _0x26e561=_0x819417(0x394)+_0x243202[_0x819417(0xe6)]+_0x819417(0x1aa)+_0x243202['unitID']+_0x819417(0xbb);return(await this[_0x819417(0x2ce)]['get'](_0x26e561,{'params':{'resourceId':JSON[_0x819417(0x259)](_0x243202[_0x819417(0x37d)])}}))[_0x819417(0x120)];}[_0xeb087b(0x340)](){var _0xf5cf07=_0xeb087b;throw new Error(_0xf5cf07(0x196));}[_0xeb087b(0x10a)](){var _0x4120ae=_0xeb087b;throw new Error(_0x4120ae(0x196));}[_0xeb087b(0x26c)](){var _0x19ee30=_0xeb087b;throw new Error(_0x19ee30(0x196));}[_0xeb087b(0x206)](){var _0x18c617=_0xeb087b;throw new Error(_0x18c617(0x196));}['getLatestCsReqIdBySid'](){var _0x439f51=_0xeb087b;throw new Error(_0x439f51(0x196));}};Nt=fs([_i(0x0,_0x5641d0),_i(0x1,_0x2e70ff(_0x5dbf74))],Nt);var vs=Object['getOwnPropertyDescriptor'],ps=(_0x52b1fa,_0x473c68,_0x18975c,_0x36bb7b)=>{var _0x1ebcef=_0xeb087b;for(var _0x36950e=_0x36bb7b>0x1?void 0x0:_0x36bb7b?vs(_0x473c68,_0x18975c):_0x473c68,_0x3d9c52=_0x52b1fa[_0x1ebcef(0x178)]-0x1,_0x1fbb99;_0x3d9c52>=0x0;_0x3d9c52--)(_0x1fbb99=_0x52b1fa[_0x3d9c52])&&(_0x36950e=_0x1fbb99(_0x36950e)||_0x36950e);return _0x36950e;},Pe=(_0x5893bb,_0xce5803)=>(_0x4b957f,_0x4c321a)=>_0xce5803(_0x4b957f,_0x4c321a,_0x5893bb);let Dt=class extends _0x24dcd7{constructor(_0x556897,_0x245e3e,_0x14f49b,_0x27fa85,_0x5e53db){var _0x1a032d=_0xeb087b;super(_0x556897,_0x245e3e,_0x14f49b),this[_0x1a032d(0x16d)]=_0x27fa85,this[_0x1a032d(0xe0)]=_0x5e53db;}[_0xeb087b(0xb7)](_0x503c00,_0x4e3678){var _0x209b6b=_0xeb087b;const _0x57b90f=this[_0x209b6b(0x2eb)](_0x503c00);if(_0x57b90f)try{const _0x325f83=this[_0x209b6b(0xcd)](_0x57b90f,_0x4e3678);this[_0x209b6b(0x23a)](_0x503c00,_0x325f83);}catch(_0x32db58){this[_0x209b6b(0xe0)][_0x209b6b(0x22d)](_0x209b6b(0x241),_0x32db58),this[_0x209b6b(0x1e1)](_0x503c00);}const _0x51a6b0=this[_0x209b6b(0x135)](_0x503c00);if(_0x51a6b0)try{const _0x5d335f=this[_0x209b6b(0xcd)](_0x51a6b0,_0x4e3678);this[_0x209b6b(0x1ee)](_0x503c00,_0x5d335f);}catch(_0x80c47f){this[_0x209b6b(0xe0)][_0x209b6b(0x22d)](_0x80c47f),this[_0x209b6b(0xd7)](_0x503c00);}}[_0xeb087b(0x1e1)](_0x19e468){var _0x529902=_0xeb087b;const _0x14f707=this[_0x529902(0x2eb)](_0x19e468);_0x14f707&&(_0x14f707[_0x529902(0x178)]=0x0,this[_0x529902(0x16e)]());}['_clearRedo'](_0x1d66ea){var _0x8718c0=_0xeb087b;const _0x593074=this['_getRedoStack'](_0x1d66ea);_0x593074&&(_0x593074['length']=0x0,this[_0x8718c0(0x16e)]());}['_substituteUndoStack'](_0x4f8921,_0x5a5550){var _0x21dfe8=_0xeb087b;this[_0x21dfe8(0xd2)]['set'](_0x4f8921,_0x5a5550),this['_updateStatus']();}[_0xeb087b(0x1ee)](_0x29258e,_0x3c7ec3){var _0x4a0760=_0xeb087b;this[_0x4a0760(0x2f1)]['set'](_0x29258e,_0x3c7ec3),this[_0x4a0760(0x16e)]();}[_0xeb087b(0xcd)](_0x2a9893,_0x2745c0){var _0x1cdc1c=_0xeb087b;const _0x5d0ca3=[];let _0x311316=_0x2745c0,_0x314582=_0x2745c0;for(let _0x12b0bb=_0x2a9893[_0x1cdc1c(0x178)]-0x1;_0x12b0bb>=0x0;_0x12b0bb--){const {unitID:_0x371150,undoMutations:_0x5550bb,redoMutations:_0x172a1c}=_0x2a9893[_0x12b0bb],_0x4a2647=this[_0x1cdc1c(0x16d)][_0x1cdc1c(0x313)](_0x311316,_0x5550bb),_0x1281e8=this['_transformService'][_0x1cdc1c(0x313)](_0x314582,_0x172a1c);if(_0x3fe4a7(_0x4a2647)||_0x3fe4a7(_0x1281e8)){this[_0x1cdc1c(0xe0)][_0x1cdc1c(0x22d)](_0x1cdc1c(0x241),_0x1cdc1c(0x100),_0x4a2647,_0x1281e8);break;}_0x311316=_0x4a2647['c1Prime'],_0x314582=_0x1281e8[_0x1cdc1c(0x269)],_0x5d0ca3[_0x1cdc1c(0x2c9)]({'unitID':_0x371150,'undoMutations':_0x4a2647['m2Prime'],'redoMutations':_0x1281e8['m2Prime']});}return _0x5d0ca3[_0x1cdc1c(0x1c7)]();}};Dt=ps([Pe(0x0,_0x30685d),Pe(0x1,_0x3c3082),Pe(0x2,_0x15292f),Pe(0x3,_0x3721fd),Pe(0x4,_0x55e24e)],Dt);var ms=Object['defineProperty'],gs=Object['getOwnPropertyDescriptor'],Ss=(_0x1408aa,_0x168ece,_0x59e9d4)=>_0x168ece in _0x1408aa?ms(_0x1408aa,_0x168ece,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x59e9d4}):_0x1408aa[_0x168ece]=_0x59e9d4,Es=(_0x2b4758,_0x5bd0ff,_0x521c06,_0x548957)=>{for(var _0x93cf16=_0x548957>0x1?void 0x0:_0x548957?gs(_0x5bd0ff,_0x521c06):_0x5bd0ff,_0xadf7e=_0x2b4758['length']-0x1,_0x1baa6b;_0xadf7e>=0x0;_0xadf7e--)(_0x1baa6b=_0x2b4758[_0xadf7e])&&(_0x93cf16=_0x1baa6b(_0x93cf16)||_0x93cf16);return _0x93cf16;},St=(_0x1eb7e9,_0x3527bc)=>(_0x18979c,_0x3eaded)=>_0x3527bc(_0x18979c,_0x3eaded,_0x1eb7e9),Is=(_0x5d9cd6,_0x18b79a,_0x4ef17c)=>Ss(_0x5d9cd6,_0x18b79a+'',_0x4ef17c);const Ts=_0xeb087b(0x1ce);let Ut=class extends _0x53708a{constructor(_0x1cd4df,_0x459d13,_0x10ef5e,_0x4613a5){var _0x31e47d=_0xeb087b;super(),N(this,_0x31e47d(0x143)),(this[_0x31e47d(0xe0)]=_0x459d13,this[_0x31e47d(0x2f5)]=_0x10ef5e,this[_0x31e47d(0x108)]=_0x4613a5);const {..._0x5bbfad}=_0x13cd61({},An,_0x1cd4df);if(!_0x5bbfad[_0x31e47d(0x28b)])throw new Error('[UniverCollaborationClientPlugin]:\x20you\x20must\x20provide\x20a\x20socketService\x20implementation\x20in\x20config!');this[_0x31e47d(0x143)]=_0x5bbfad,this['_configService']['setConfig'](q,_0x5bbfad);}[_0xeb087b(0x2f6)](){var _0x54ec8f=_0xeb087b;this[_0x54ec8f(0x382)](),this[_0x54ec8f(0xd0)]();}[_0xeb087b(0x382)](){var _0x2fee3c=_0xeb087b,_0x53fc25,_0x4cd739;this[_0x2fee3c(0x2f5)][_0x2fee3c(0x19c)](_0x54ad30)&&this[_0x2fee3c(0xe0)][_0x2fee3c(0x22d)](_0x2fee3c(0x17a),_0x2fee3c(0x195));const _0x5e8764=_0xdf64f8([[_0x54ad30,{'useClass':Dt}],[Le],[xe],[it],[st],[at],[Ti],[ot],[pe],[bt],[Ii,{'useClass':this[_0x2fee3c(0x143)][_0x2fee3c(0x28b)]}],[_0x4914df,{'useClass':Nt}],[_0x159d45,{'useClass':Rt}],[_0x4a8726,{'useClass':yt}],[_0x320505,{'useClass':Ot}],[rt],[Ct]],(_0x53fc25=this[_0x2fee3c(0x143)])==null?void 0x0:_0x53fc25[_0x2fee3c(0x234)]);if(!((_0x4cd739=this[_0x2fee3c(0x143)])!=null&&_0x4cd739[_0x2fee3c(0xf7)])){const _0x499238=_0x5e8764['findIndex'](([_0x2d8936])=>_0x2d8936===ht);_0x499238!==-0x1&&_0x5e8764[_0x2fee3c(0x2f4)](_0x499238,0x1);}_0x44e769(this[_0x2fee3c(0x2f5)],_0x5e8764);}[_0xeb087b(0xd0)](){var _0x3b5ce7=_0xeb087b,_0x4341bb,_0x358479,_0x57d7e2;this[_0x3b5ce7(0x2f5)][_0x3b5ce7(0x1c9)](_0x5dbf74)['registerHTTPInterceptor']({'priority':0x14,'interceptor':_0x53b506({'maxParallel':0x6})}),(_0x4341bb=this[_0x3b5ce7(0x143)])!=null&&_0x4341bb[_0x3b5ce7(0x359)]||(_0x358479=this[_0x3b5ce7(0x2f5)][_0x3b5ce7(0x1c9)](J,_0x3dbf30[_0x3b5ce7(0x23c)]))==null||_0x358479[_0x3b5ce7(0x19a)](),(_0x57d7e2=this[_0x3b5ce7(0x143)])!=null&&_0x57d7e2['enableAuthServer']&&_0x2c5efb(this[_0x3b5ce7(0x2f5)],[[st]]),_0x2c5efb(this[_0x3b5ce7(0x2f5)],[[at],[rt],[ot]]);}};Is(Ut,'pluginName',Ts),Ut=Es([_0x228918(_0x4f0854,_0x553d86),St(0x1,_0x55e24e),St(0x2,_0x2e70ff(_0x1ce7a4)),St(0x3,_0x5641d0)],Ut);export{Ni as AUTHZ_URL_KEY,Rt as AuthzIoHttpService,le as AwaitingState,oe as AwaitingWithPendingState,q as COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY,Nn as COLLAB_SUBMIT_CHANGESET_URL_KEY,In as COLLAB_WEB_SOCKET_URL_KEY,rt as CollaborationController,nt as CollaborationEntity,yt as CollaborationImageIoService,Et as CollaborationSession,Le as CollaborationSessionService,Gt as CollaborationSocketService,bi as CollaborationStatus,se as CollaborationUIEventId,pe as CollaborationUIEventService,Dt as CollaborativeUndoRedoService,Ti as CommentService,ue as ConflictState,Tn as DEFAULT_COLLAB_WEB_SOCKET_URL,Hs as DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT,Ls as DEFAULT_WS_SESSION_TICKET_URL,bt as DataLoaderService,It as DocCollaborationEntity,ee as FetchingMissState,Cn as HEARTBEAT_INTERVAL_KEY,mi as HEARTBEAT_TIMEOUT_KEY,Ii as ICollaborationSocketService,J as ILocalCacheService,Pn as INetworkConditionService,ht as ISingleActiveUnitService,ks as LOCAL_CACHE_INTERVAL,Ms as LOCAL_CACHE_INTERVAL_KEY,Un as LOGIN_URL_KEY,xe as MemberService,Ot as MentionIoHttpService,de as OfflineState,ae as PendingState,$s as REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY,yn as RETRY_CONNECTING_MAX_COUNT_KEY,xs as SEND_CHANGESET_TIMEOUT_KEY,mn as SNAPSHOT_SERVER_URL_KEY,Sn as SNAPSHOT_URL_KEY,Ee as SessionStatus,Tt as SheetCollaborationEntity,it as SheetTransformSelectionsService,Nt as SnapshotServerOverHTTPService,Ne as SyncedState,Ci as UnitStatus,Ut as UniverCollaborationClientPlugin,xn as deserializeToCombResponse,Bs as getLocalCacheKey,Ln as serializeCombRequest};
|