@univerjs-pro/collaboration-client 0.8.0-nightly.202506021607 → 0.8.0-nightly.202506031608

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/es/index.js CHANGED
@@ -1 +1 @@
1
- var _0x51ced9=_0xfe49;(function(_0x47c2d2,_0x32c2d6){var _0x3c4256=_0xfe49,_0x4b3642=_0x47c2d2();while(!![]){try{var _0x32d8fb=-parseInt(_0x3c4256(0x302))/0x1*(-parseInt(_0x3c4256(0x1df))/0x2)+parseInt(_0x3c4256(0x338))/0x3*(-parseInt(_0x3c4256(0x339))/0x4)+-parseInt(_0x3c4256(0xb2))/0x5*(-parseInt(_0x3c4256(0x2ca))/0x6)+-parseInt(_0x3c4256(0x132))/0x7*(-parseInt(_0x3c4256(0x38d))/0x8)+parseInt(_0x3c4256(0xb3))/0x9+-parseInt(_0x3c4256(0x223))/0xa+-parseInt(_0x3c4256(0x197))/0xb*(parseInt(_0x3c4256(0x278))/0xc);if(_0x32d8fb===_0x32c2d6)break;else _0x4b3642['push'](_0x4b3642['shift']());}catch(_0x5e47db){_0x4b3642['push'](_0x4b3642['shift']());}}}(_0x326d,0x28c6d));var Di=Object[_0x51ced9(0x31c)],Ui=(_0x483334,_0x27536e,_0x8fcc97)=>_0x27536e in _0x483334?Di(_0x483334,_0x27536e,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x8fcc97}):_0x483334[_0x27536e]=_0x8fcc97,N=(_0x33f1ac,_0x574530,_0x41f908)=>Ui(_0x33f1ac,typeof _0x574530!=_0x51ced9(0x2fb)?_0x574530+'':_0x574530,_0x41f908);import{createIdentifier as _0x23e1a2,Inject as _0x22f2f4,Injector as _0x42afda,IConfigService as _0x1c2974,ILogService as _0xe9f9bf,Disposable as _0x31b9e7,DisposableCollection as _0x53f078,toDisposable as _0x311c67,IUniverInstanceService as _0x1a15fa,UserManagerService as _0x5de709,UniverInstanceType as _0x2989d4,LocaleService as _0x462003,Optional as _0x2d6fcc,RxDisposable as _0x47b106,Tools as _0x4c9520,Rectangle as _0x4c4dab,ICommandService as _0x398897,JSONX as _0x4378da,CommandType as _0x42c2ff,IUndoRedoService as _0x32972a,IPermissionService as _0x23b67b,sequenceExecute as _0x3646b0,Workbook as _0x5db369,MentionType as _0x5e63ac,isInternalEditorID as _0x209e23,LocalUndoRedoService as _0x446bd9,IContextService as _0x334096,DependentOn as _0x52f063,Plugin as _0x52e66e,merge as _0x2fd177,mergeOverrideWithDependencies as _0x32e19e,IAuthzIoService as _0x363339,IMentionIOService as _0x20bb92,registerDependencies as _0x48af9c,Quantity as _0x232b67,touchDependencies as _0x4b203a}from'@univerjs/core';import{Subject as _0x1b294e,merge as _0x3ea747,of as _0xef4db0,BehaviorSubject as _0x1e913a,takeUntil as _0x2446ec,ReplaySubject as _0x3aac74,take as _0x5dc821,map as _0x3f4f22,shareReplay as _0x1ca56d,firstValueFrom as _0x2e8e8b,concatMap as _0x5b1a7a}from'rxjs';import{map as _0x3c37d3,take as _0x2f142f,filter as _0x1d9e3e,delay as _0x4d8702,takeUntil as _0x167988}from'rxjs/operators';import{CollaborationEvent as _0x509d65,ISnapshotServerService as _0x5e73e0,parseChangesetToProtocol as _0x23ad5f,ITransformService as _0x49cd74,isTransformMutationsWithChangesetSuccess as _0x33c742,mapDocumentTypeToUniverType as _0x3de576,RevisionService as _0x390b06,isTransformChangesetsSuccess as _0x91dd0b,CompressMutationService as _0x29865b,parseProtocolChangeset as _0x18da5e,uuidv4 as _0x353d6e,SnapshotService as _0x2b91b9,textEncoder as _0x827acb,b64DecodeUnicode as _0x1a586c,isTransformMutationsWithChangesetFailure as _0x24c73f,UniverCollaborationPlugin as _0x5ddef9}from'@univerjs-pro/collaboration';import{HTTPService as _0xd1aa2b,ISocketService as _0x8b3b9b,MergeInterceptorFactory as _0x3e8536,HTTPRequest as _0x1aa928,UniverNetworkPlugin as _0x584f28,ThresholdInterceptorFactory as _0x42aa96}from'@univerjs/network';import{ITelemetryService as _0x350da4}from'@univerjs/telemetry';import{RichTextEditingMutation as _0x48b3a5}from'@univerjs/docs';import{SheetsSelectionsService as _0x5b395c,SetSelectionsOperation as _0x17923b,InsertSheetMutation as _0x40419f,EmptyMutation as _0x54fdbb,WorkbookEditablePermission as _0x69927c,SheetPermissionInitController as _0x499a83}from'@univerjs/sheets';import{ImageSourceType as _0x4c46c5,ImageUploadStatusType as _0x29235a,IImageIoService as _0x2eb95f}from'@univerjs/drawing';import{getGlobalObject as _0x48704e}from'@univerjs-pro/license';const fs=_0x51ced9(0x311),vs=_0x51ced9(0x3af),ps=_0x51ced9(0x107),yr='SEND_CHANGESET_TIMEOUT',ms=0x7d0,gs='COLLAB_WEB_SOCKET_URL',Ss=_0x51ced9(0x266),Nr=_0x51ced9(0x26a),Es=_0x51ced9(0x1f7),Is=0x7530,fi=_0x51ced9(0x33c),vi=0x4e20,Ts=0x4e20,Cs=_0x51ced9(0x3a2),Rs=0x3,Dr='LOCAL_CACHE_INTERVAL',Ur=0x3e8,bs=_0x51ced9(0x390),Os=_0x51ced9(0x225),ys=_0x51ced9(0x379),Ns='/universer-api/oidc/authpage',Ar=_0x51ced9(0x33b),wr='/universer-api/uniscript';var pi=(_0xf66d3e=>(_0xf66d3e[_0xf66d3e[_0x51ced9(0x2a3)]=0x0]=_0x51ced9(0x2a3),_0xf66d3e[_0xf66d3e['OK']=0x1]='OK',_0xf66d3e[_0xf66d3e[_0x51ced9(0x2b3)]=0x2]=_0x51ced9(0x2b3),_0xf66d3e[_0xf66d3e['PERMISSION_DENIED']=0x3]=_0x51ced9(0x201),_0xf66d3e[_0xf66d3e['NOT_FOUND']=0x4]=_0x51ced9(0x358),_0xf66d3e[_0xf66d3e['UNAUTHENTICATED']=0x5]=_0x51ced9(0x32d),_0xf66d3e[_0xf66d3e['ALREADY_EXISTS']=0x6]=_0x51ced9(0x251),_0xf66d3e[_0xf66d3e[_0x51ced9(0x1b4)]=0x7]=_0x51ced9(0x1b4),_0xf66d3e[_0xf66d3e[_0x51ced9(0x257)]=0x8]=_0x51ced9(0x257),_0xf66d3e[_0xf66d3e['COMPLETION_FINISHED']=0x9]=_0x51ced9(0x274),_0xf66d3e[_0xf66d3e[_0x51ced9(0x36a)]=0xa]='LOGIN_FAILED',_0xf66d3e[_0xf66d3e['CHANGESET_REVISION_CONFILICT']=0x1389]='CHANGESET_REVISION_CONFILICT',_0xf66d3e[_0xf66d3e[_0x51ced9(0xc0)]=0x1771]=_0x51ced9(0xc0),_0xf66d3e[_0xf66d3e[_0x51ced9(0x267)]=0x1772]=_0x51ced9(0x267),_0xf66d3e[_0xf66d3e['ENSURE_SNAPSHOT_EXECUTION']=0x1773]=_0x51ced9(0x364),_0xf66d3e[_0xf66d3e[_0x51ced9(0x265)]=0x1b59]=_0x51ced9(0x265),_0xf66d3e[_0xf66d3e[_0x51ced9(0x263)]=0x1b5a]='APPLY_NON_SEQUENTIAL_REVISION',_0xf66d3e[_0xf66d3e['APPLY_REVISION_CONFILICT']=0x1b5b]=_0x51ced9(0x13d),_0xf66d3e[_0xf66d3e[_0x51ced9(0x1da)]=0x1b5c]=_0x51ced9(0x1da),_0xf66d3e[_0xf66d3e['APPLY_DUPLICATED']=0x1b5d]=_0x51ced9(0x31b),_0xf66d3e[_0xf66d3e[_0x51ced9(0x199)]=0x1f41]=_0x51ced9(0x199),_0xf66d3e[_0xf66d3e[_0x51ced9(0x330)]=0x2329]=_0x51ced9(0x330),_0xf66d3e[_0xf66d3e['LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED']=0x232a]=_0x51ced9(0xea),_0xf66d3e[_0xf66d3e[_0x51ced9(0xd5)]=0x232b]=_0x51ced9(0xd5),_0xf66d3e[_0xf66d3e[_0x51ced9(0x1f9)]=0x232c]=_0x51ced9(0x1f9),_0xf66d3e[_0xf66d3e[_0x51ced9(0x1f3)]=0x232d]=_0x51ced9(0x1f3),_0xf66d3e[_0xf66d3e[_0x51ced9(0x2a5)]=0x2711]='YUUMI_UNABLE_LOAD_URL',_0xf66d3e[_0xf66d3e[_0x51ced9(0x378)]=0x2712]=_0x51ced9(0x378),_0xf66d3e[_0xf66d3e['YUUMI_RATE_OVER_LIMIT']=0x2713]=_0x51ced9(0x170),_0xf66d3e[_0xf66d3e[_0x51ced9(0x335)]=0x2714]=_0x51ced9(0x335),_0xf66d3e[_0xf66d3e['YUUMI_NO_CUBOID_FOR_QUESTION']=0x271a]=_0x51ced9(0x309),_0xf66d3e[_0xf66d3e[_0x51ced9(0x138)]=0x271b]=_0x51ced9(0x138),_0xf66d3e[_0xf66d3e[_0x51ced9(0x187)]=0x271c]='YUUMI_TABLE_NOT_FOUND_IN_UNIT',_0xf66d3e[_0xf66d3e[_0x51ced9(0x115)]=0x271d]='YUUMI_ALL_TABLES_IS_INVALID',_0xf66d3e[_0xf66d3e[_0x51ced9(0x38c)]=0x271e]=_0x51ced9(0x38c),_0xf66d3e[_0xf66d3e[_0x51ced9(0x183)]=0x271f]=_0x51ced9(0x183),_0xf66d3e[_0xf66d3e[_0x51ced9(0x1e2)]=0x2af9]='PY_RUNTIME_SCRIPT_ERROR',_0xf66d3e[_0xf66d3e[_0x51ced9(0xfe)]=0x2ee1]=_0x51ced9(0xfe),_0xf66d3e[_0xf66d3e[_0x51ced9(0x1c3)]=0x2ee2]=_0x51ced9(0x1c3),_0xf66d3e[_0xf66d3e[_0x51ced9(0xc3)]=0x2ee3]=_0x51ced9(0xc3),_0xf66d3e[_0xf66d3e[_0x51ced9(0x24b)]=0x2ee4]=_0x51ced9(0x24b),_0xf66d3e[_0xf66d3e[_0x51ced9(0x15a)]=0x2ee5]=_0x51ced9(0x15a),_0xf66d3e[_0xf66d3e[_0x51ced9(0x28a)]=0x32c9]=_0x51ced9(0x28a),_0xf66d3e[_0xf66d3e['MOBILE_HAS_BEEN_BOUND']=0x32ca]=_0x51ced9(0x17e),_0xf66d3e[_0xf66d3e[_0x51ced9(0x109)]=0x32cb]=_0x51ced9(0x109),_0xf66d3e[_0xf66d3e[_0x51ced9(0x276)]=-0x1]=_0x51ced9(0x276),_0xf66d3e))(pi||{}),Z=(_0x3d42cc=>(_0x3d42cc[_0x3d42cc[_0x51ced9(0x219)]=0x0]=_0x51ced9(0x219),_0x3d42cc[_0x3d42cc['UNIVER_DOC']=0x1]=_0x51ced9(0x182),_0x3d42cc[_0x3d42cc[_0x51ced9(0x111)]=0x2]=_0x51ced9(0x111),_0x3d42cc[_0x3d42cc['UNIVER_SLIDE']=0x3]='UNIVER_SLIDE',_0x3d42cc[_0x3d42cc['UNIVER_PROJECT']=0x4]='UNIVER_PROJECT',_0x3d42cc[_0x3d42cc['UNRECOGNIZED']=-0x1]=_0x51ced9(0x276),_0x3d42cc))(Z||{}),F=(_0x3bc8e0=>(_0x3bc8e0[_0x3bc8e0[_0x51ced9(0x3a8)]=0x0]=_0x51ced9(0x3a8),_0x3bc8e0[_0x3bc8e0[_0x51ced9(0x1fb)]=0x1]=_0x51ced9(0x1fb),_0x3bc8e0[_0x3bc8e0[_0x51ced9(0xe9)]=0x2]=_0x51ced9(0xe9),_0x3bc8e0[_0x3bc8e0['LEAVE']=0x3]=_0x51ced9(0x130),_0x3bc8e0[_0x3bc8e0['INGEST']=0x4]='INGEST',_0x3bc8e0[_0x3bc8e0[_0x51ced9(0x328)]=0x5]=_0x51ced9(0x328),_0x3bc8e0[_0x3bc8e0['RECV']=0x6]=_0x51ced9(0x31e),_0x3bc8e0[_0x3bc8e0[_0x51ced9(0x276)]=-0x1]=_0x51ced9(0x276),_0x3bc8e0))(F||{}),me=(_0x1f02b0=>(_0x1f02b0[_0x1f02b0['UNKNOWN_CODE']=0x0]='UNKNOWN_CODE',_0x1f02b0[_0x1f02b0['OK']=0x1]='OK',_0x1f02b0[_0x1f02b0[_0x51ced9(0x1a3)]=0x2]=_0x51ced9(0x1a3),_0x1f02b0[_0x1f02b0['JOIN_ROOM_FULL']=0x3e9]=_0x51ced9(0x114),_0x1f02b0[_0x1f02b0[_0x51ced9(0x12c)]=0x3ea]=_0x51ced9(0x12c),_0x1f02b0[_0x1f02b0[_0x51ced9(0x36d)]=0x3eb]=_0x51ced9(0x36d),_0x1f02b0[_0x1f02b0['GLOBAL_ROOMS_CNT_EXCEEDS']=0x3ec]='GLOBAL_ROOMS_CNT_EXCEEDS',_0x1f02b0[_0x1f02b0[_0x51ced9(0x276)]=-0x1]=_0x51ced9(0x276),_0x1f02b0))(me||{}),mi=(_0x2417fc=>(_0x2417fc[_0x2417fc['Undefined']=0x0]='Undefined',_0x2417fc[_0x2417fc[_0x51ced9(0x2c1)]=0x1]='HttpImport',_0x2417fc[_0x2417fc[_0x51ced9(0x160)]=0x2]=_0x51ced9(0x160),_0x2417fc[_0x2417fc[_0x51ced9(0x1a0)]=0x3]=_0x51ced9(0x1a0),_0x2417fc[_0x2417fc[_0x51ced9(0x215)]=0x4]='UnitSnapshot',_0x2417fc[_0x2417fc[_0x51ced9(0x296)]=0x5]=_0x51ced9(0x296),_0x2417fc[_0x2417fc[_0x51ced9(0x276)]=-0x1]=_0x51ced9(0x276),_0x2417fc))(mi||{});const K=_0x51ced9(0x1d5),Ds={};var ne=(_0x2829a8=>(_0x2829a8['OTHER_CLIENT_EDITING']=_0x51ced9(0x17f),_0x2829a8[_0x51ced9(0x201)]=_0x51ced9(0x201),_0x2829a8[_0x51ced9(0x10a)]=_0x51ced9(0x10a),_0x2829a8[_0x51ced9(0x342)]=_0x51ced9(0x342),_0x2829a8[_0x51ced9(0x321)]='JOIN_ROOM_FAILED',_0x2829a8[_0x51ced9(0xcb)]='SOCKET_FAILED_RETRY',_0x2829a8[_0x51ced9(0x11d)]=_0x51ced9(0x11d),_0x2829a8[_0x51ced9(0x261)]=_0x51ced9(0x261),_0x2829a8))(ne||{});class ve{constructor(){var _0x5069f3=_0x51ced9;N(this,_0x5069f3(0x2e8),new _0x1b294e()),N(this,'event$',this[_0x5069f3(0x2e8)][_0x5069f3(0x203)]());}[_0x51ced9(0x124)](_0x5650cd){this['_event$']['next'](_0x5650cd);}}const Us=_0x23e1a2('univer-pro.collaboration-client.network-condition.service');function As(_0xc0e361){var _0x41bc57=_0x51ced9,_0x299feb,_0x4fca4a,_0xd002e4,_0x5c426b,_0x171a27;const _0x2bbf8a=_0xc0e361['data'],_0x6576c1=JSON['parse'](_0x2bbf8a);switch(_0x6576c1[_0x41bc57(0x2ab)]){case F[_0x41bc57(0x328)]:case F[_0x41bc57(0x1fb)]:{const _0x485f75=_0x6576c1[_0x41bc57(0x19e)];return{..._0x6576c1,'data':_0x485f75,'cmd':_0x6576c1['cmd']};}case F['JOIN']:{const _0x5a7ec9=_0x6576c1[_0x41bc57(0x37f)];return{..._0x6576c1,'data':_0x5a7ec9,'cmd':_0x6576c1[_0x41bc57(0x2ab)]};}case F['RECV']:{const _0x334447=_0x6576c1['collaMsg'];switch(_0x334447[_0x41bc57(0x1c1)]){case _0x509d65[_0x41bc57(0x259)]:return{..._0x6576c1,'data':{..._0x334447,'data':(_0x299feb=_0x334447[_0x41bc57(0x29f)])==null?void 0x0:_0x299feb['cs']},'cmd':_0x6576c1[_0x41bc57(0x2ab)]};case _0x509d65[_0x41bc57(0x1cf)]:return{..._0x6576c1,'data':{..._0x334447,'data':(_0x4fca4a=_0x334447[_0x41bc57(0xdd)])==null?void 0x0:_0x4fca4a['cs']},'cmd':_0x6576c1[_0x41bc57(0x2ab)]};case _0x509d65['NEW_CHANGESETS']:return{..._0x6576c1,'data':{..._0x334447,'data':(_0xd002e4=_0x334447['newCsEvent'])==null?void 0x0:_0xd002e4['cs']},'cmd':_0x6576c1[_0x41bc57(0x2ab)]};case _0x509d65[_0x41bc57(0x17c)]:return{..._0x6576c1,'data':{..._0x334447,'data':(_0x5c426b=_0x334447['csRejEvent'])==null?void 0x0:_0x5c426b['cs']},'cmd':_0x6576c1['cmd']};case _0x509d65[_0x41bc57(0xcf)]:return{..._0x6576c1,'data':{..._0x334447,'data':(_0x171a27=_0x334447[_0x41bc57(0x26e)])==null?void 0x0:_0x171a27['cs']},'cmd':_0x6576c1[_0x41bc57(0x2ab)]};case _0x509d65['UPDATE_CURSOR']:return{..._0x6576c1,'data':{..._0x334447,'data':_0x334447[_0x41bc57(0x152)]},'cmd':_0x6576c1['cmd']};case _0x509d65[_0x41bc57(0x14d)]:return{..._0x6576c1,'data':{..._0x334447,'data':_0x334447['joinEvent']},'cmd':_0x6576c1[_0x41bc57(0x2ab)]};case _0x509d65['USERS_LEAVE']:return{..._0x6576c1,'data':{..._0x334447,'data':_0x334447['leaveEvent']},'cmd':_0x6576c1[_0x41bc57(0x2ab)]};case _0x509d65[_0x41bc57(0x221)]:return{..._0x6576c1,'data':{..._0x334447,'data':_0x334447[_0x41bc57(0xe1)]},'cmd':_0x6576c1['cmd']};case _0x509d65[_0x41bc57(0xed)]:case _0x509d65[_0x41bc57(0x17d)]:return{..._0x6576c1,'data':{..._0x334447,'data':_0x334447[_0x41bc57(0x1e3)]},'cmd':_0x6576c1[_0x41bc57(0x2ab)]};case _0x509d65[_0x41bc57(0x386)]:return{..._0x6576c1,'data':{..._0x334447,'data':_0x334447[_0x41bc57(0xe1)]},'cmd':_0x6576c1[_0x41bc57(0x2ab)]};case _0x509d65['MSG_FOR_ERROR']:return{..._0x6576c1,'data':_0x334447,'cmd':_0x6576c1['cmd']};case _0x509d65[_0x41bc57(0x210)]:return{..._0x6576c1,'data':{..._0x334447,'data':_0x334447['commentUpdateEvent']},'cmd':_0x6576c1[_0x41bc57(0x2ab)]};case _0x509d65[_0x41bc57(0x2d1)]:return{..._0x6576c1,'data':{..._0x334447,'data':_0x334447['updatePermissionObjEvent']},'cmd':_0x6576c1[_0x41bc57(0x2ab)]};case _0x509d65[_0x41bc57(0x11a)]:return{..._0x6576c1,'data':{..._0x334447,'data':_0x334447[_0x41bc57(0x253)]},'cmd':_0x6576c1[_0x41bc57(0x2ab)]};case _0x509d65[_0x41bc57(0x204)]:return{..._0x6576c1,'data':{..._0x334447,'data':_0x334447[_0x41bc57(0x36b)]},'cmd':_0x6576c1[_0x41bc57(0x2ab)]};default:return _0x6576c1;}}default:return _0x6576c1;}}function ws(_0x447f17){var _0x3b85a1=_0x51ced9;switch(_0x447f17[_0x3b85a1(0x2ab)]){case F[_0x3b85a1(0x328)]:case F[_0x3b85a1(0x1fb)]:return JSON[_0x3b85a1(0x235)]({'cmd':_0x447f17['cmd'],'routeKey':_0x447f17[_0x3b85a1(0x357)]});case F[_0x3b85a1(0x208)]:{let _0x2574cc;switch(_0x447f17[_0x3b85a1(0x100)][_0x3b85a1(0x1c1)]){case _0x509d65['UPDATE_CURSOR']:{_0x2574cc={'eventID':_0x509d65[_0x3b85a1(0x37d)],'updateCursorEvent':_0x447f17[_0x3b85a1(0x100)][_0x3b85a1(0x100)]};break;}case _0x509d65['USERS_LEAVE']:{_0x2574cc={'eventID':_0x509d65[_0x3b85a1(0x324)],'leaveEvent':_0x447f17[_0x3b85a1(0x100)][_0x3b85a1(0x100)]};break;}case _0x509d65[_0x3b85a1(0x14d)]:{_0x2574cc={'eventID':_0x509d65[_0x3b85a1(0x14d)],'joinEvent':_0x447f17[_0x3b85a1(0x100)][_0x3b85a1(0x100)]};break;}case _0x509d65['LIVESHARE_NEW_HOST']:{_0x2574cc={'eventID':_0x509d65[_0x3b85a1(0x221)],'liveShareNewHost':_0x447f17[_0x3b85a1(0x100)][_0x3b85a1(0x100)]};break;}case _0x509d65[_0x3b85a1(0x17d)]:{_0x2574cc={'eventID':_0x509d65['LIVESHARE_OPERATION'],'liveShareOperation':_0x447f17[_0x3b85a1(0x100)][_0x3b85a1(0x100)]};break;}case _0x509d65[_0x3b85a1(0x386)]:{_0x2574cc={'eventID':_0x509d65[_0x3b85a1(0x386)],'liveShareTerminate':_0x447f17[_0x3b85a1(0x100)][_0x3b85a1(0x100)]};break;}case _0x509d65[_0x3b85a1(0x32c)]:{_0x2574cc={'eventID':_0x509d65[_0x3b85a1(0x32c)],'liveShareRequestHost':_0x447f17[_0x3b85a1(0x100)]['data']};break;}case _0x509d65[_0x3b85a1(0xed)]:{_0x2574cc={'eventID':_0x509d65[_0x3b85a1(0xed)]};break;}default:_0x2574cc={'eventID':_0x447f17[_0x3b85a1(0x100)][_0x3b85a1(0x1c1)]};}return JSON['stringify']({'cmd':_0x447f17[_0x3b85a1(0x2ab)],'routeKey':_0x447f17['routeKey'],'collaMsg':_0x2574cc});}case F[_0x3b85a1(0xe9)]:return JSON[_0x3b85a1(0x235)]({'cmd':_0x447f17[_0x3b85a1(0x2ab)],'routeKey':_0x447f17[_0x3b85a1(0x357)],'joinReq':_0x447f17[_0x3b85a1(0x100)]});case F['LEAVE']:return JSON[_0x3b85a1(0x235)]({'cmd':_0x447f17[_0x3b85a1(0x2ab)],'routeKey':_0x447f17[_0x3b85a1(0x357)],'leaveReq':_0x447f17[_0x3b85a1(0x100)]});default:throw new Error(_0x3b85a1(0x207));}}var Ps=Object['getOwnPropertyDescriptor'],Ls=(_0x53a17a,_0x2ae36a,_0x887f94,_0x41f7e1)=>{var _0x1bafbb=_0x51ced9;for(var _0x4b36c5=_0x41f7e1>0x1?void 0x0:_0x41f7e1?Ps(_0x2ae36a,_0x887f94):_0x2ae36a,_0x23c7b0=_0x53a17a[_0x1bafbb(0x395)]-0x1,_0x1462ae;_0x23c7b0>=0x0;_0x23c7b0--)(_0x1462ae=_0x53a17a[_0x23c7b0])&&(_0x4b36c5=_0x1462ae(_0x4b36c5)||_0x4b36c5);return _0x4b36c5;},Ue=(_0x3a1c5a,_0x34e0d3)=>(_0x44a4dd,_0x9305b0)=>_0x34e0d3(_0x44a4dd,_0x9305b0,_0x3a1c5a);const gi=_0x23e1a2('univer-pro.collaboration-client-socket-service');function Ms(_0x2201b7,_0x5929cf,_0x5563e2){var _0x44c5e3=_0x51ced9;return _0x2201b7+'/'+_0x5929cf+_0x44c5e3(0x146)+_0x5563e2+'/new_changes';}let Ft=class extends _0x31b9e7{constructor(_0x44e0f3,_0x5aa6f0,_0x545f7e,_0x185c24,_0x2dcd39){var _0x1228af=_0x51ced9;super(),this[_0x1228af(0x29b)]=_0x44e0f3,this[_0x1228af(0x139)]=_0x5aa6f0,this[_0x1228af(0x2b2)]=_0x545f7e,this[_0x1228af(0x1b6)]=_0x185c24,this['_snapshotServerService']=_0x2dcd39;}['_doCreateSocket'](_0x5e644d){var _0xb0848=_0x51ced9;const _0x3fa406=this[_0xb0848(0x29b)][_0xb0848(0x301)](_0x8b3b9b);if(!_0x3fa406)throw new Error('[CollaborationSocketService]:\x20failed\x20to\x20get\x20web\x20socket\x20factory!');const _0x471ce2=_0x3fa406[_0xb0848(0x1e6)](_0x5e644d);if(!_0x471ce2)throw new Error(_0xb0848(0x2da));const _0x453ede=new _0x53f078(),_0x4f4379=new _0x1b294e();_0x453ede[_0xb0848(0x229)](_0x471ce2[_0xb0848(0x230)][_0xb0848(0x290)](_0x3fdc45=>_0x4f4379['next'](_0x3fdc45))),_0x453ede[_0xb0848(0x229)](_0x311c67(()=>_0x4f4379[_0xb0848(0x30b)]()));const _0x105f8c=new _0x1b294e();_0x453ede[_0xb0848(0x229)](_0x471ce2[_0xb0848(0x1ac)]['subscribe'](_0x5ca919=>_0x105f8c[_0xb0848(0x2f3)](_0x5ca919))),_0x453ede[_0xb0848(0x229)](_0x311c67(()=>_0x105f8c[_0xb0848(0x30b)]()));const _0x30895b=new _0x1b294e();_0x453ede['add'](_0x471ce2[_0xb0848(0x23b)][_0xb0848(0x290)](_0x3f0099=>{const _0x1f118c=As(_0x3f0099);_0x30895b['next'](_0x1f118c);})),_0x453ede[_0xb0848(0x229)](_0x311c67(()=>_0x30895b[_0xb0848(0x30b)]()));let _0x12c1ee;const _0x3ed208=()=>{var _0x46cae6=_0xb0848;_0x105f8c[_0x46cae6(0x2f3)](new Event(_0x46cae6(0x2c8))),_0x4f4379[_0x46cae6(0x2f3)](new Event('connection\x20error')),_0x12c1ee[_0x46cae6(0x1fd)]();};return _0x12c1ee={'memberID':'','close$':_0x4f4379[_0xb0848(0x203)](),'error$':_0x105f8c[_0xb0848(0x203)](),'open$':_0x471ce2[_0xb0848(0x10c)],'message$':_0x30895b[_0xb0848(0x203)](),'send':_0x2d07c8=>{var _0x26db75=_0xb0848;if(_0x2d07c8[_0x26db75(0x2ab)]===F[_0x26db75(0x208)]){if(_0x2d07c8[_0x26db75(0x100)]['eventID']===_0x509d65[_0x26db75(0x228)]){this['_submitChangeset'](_0x12c1ee,_0x2d07c8['data'])[_0x26db75(0x14c)](_0x3788f9=>{var _0x38be00=_0x26db75;this[_0x38be00(0x1b6)]['error'](_0x3788f9),_0x3ed208();});return;}if(_0x2d07c8[_0x26db75(0x100)][_0x26db75(0x1c1)]===_0x509d65[_0x26db75(0x2e4)]){const _0x192bea=_0x2d07c8['data'];this[_0x26db75(0x18d)](_0x192bea)[_0x26db75(0x2e0)](_0x14ba13=>{var _0x316be8=_0x26db75;_0x30895b[_0x316be8(0x2f3)]({'cmd':F[_0x316be8(0x31e)],'code':me['OK'],'routeKey':_0x192bea[_0x316be8(0x100)][_0x316be8(0x327)],'routeType':'','data':{'eventID':_0x509d65[_0x316be8(0x2f9)],'data':{'changesets':_0x14ba13}}});})[_0x26db75(0x14c)](_0x1a39af=>{var _0x621c26=_0x26db75;this[_0x621c26(0x1b6)][_0x621c26(0x377)](_0x1a39af),_0x3ed208();});return;}}_0x471ce2[_0x26db75(0x35a)](ws(_0x2d07c8));},'close':()=>{var _0x4911fa=_0xb0848;_0x471ce2['close'](),_0x453ede[_0x4911fa(0xf8)]();}},_0x12c1ee;}async[_0x51ced9(0x12a)](_0xee0c9d,_0x1d7195){var _0x4896eb=_0x51ced9,_0x31b803,_0x4a064e;const {unitType:_0xf866ab,unitID:_0xc69cc,changeset:_0x1ca43c}=_0x1d7195[_0x4896eb(0x100)],_0x10e871={'unitID':_0xc69cc,'memberID':_0xee0c9d['memberID'],'type':_0xf866ab,'changeset':_0x23ad5f(_0x1ca43c)},_0x326bc9=this[_0x4896eb(0x2b2)][_0x4896eb(0x363)](bs),_0x3e8f57=this[_0x4896eb(0x2b2)]['getConfig'](K),_0x2ad793=Ms((_0x4a064e=(_0x31b803=_0x3e8f57==null?void 0x0:_0x3e8f57['collabSubmitChangesetUrl'])!=null?_0x31b803:_0x326bc9)!=null?_0x4a064e:Os,_0xf866ab,_0xc69cc);try{await this[_0x4896eb(0x139)][_0x4896eb(0x294)](_0x2ad793,{'body':_0x10e871});}catch(_0x7df90b){throw this[_0x4896eb(0x1b6)]['error'](_0x4896eb(0xd7),_0x4896eb(0xcc)),_0x7df90b;}}async['_fetchMissChangesets'](_0x2a27b1){var _0x4528bc=_0x51ced9;const {unitID:_0x230254,from:_0x5d3a76,to:_0x29d19c,unitType:_0xceae4c}=_0x2a27b1[_0x4528bc(0x100)];return(await this['_snapshotServerService'][_0x4528bc(0x393)]({'metadata':void 0x0},{'unitID':_0x230254,'type':_0xceae4c,'from':_0x5d3a76,'to':_0x29d19c}))['changesets'];}};Ft=Ls([Ue(0x0,_0x22f2f4(_0x42afda)),Ue(0x1,_0x22f2f4(_0xd1aa2b)),Ue(0x2,_0x1c2974),Ue(0x3,_0xe9f9bf),Ue(0x4,_0x5e73e0)],Ft);const xs=_0x51ced9(0x1b8);function ks(_0x254b8d){var _0x569633=_0x51ced9;return JSON[_0x569633(0x235)](_0x254b8d)['length'];}class Si{constructor(){var _0x495e07=_0x51ced9;N(this,'_commentUpdate$',new _0x1b294e()),N(this,'commentUpdate$',this[_0x495e07(0x1f1)]['asObservable']());}['onCommentUpdate'](_0x3f7c5a){var _0x35bedd=_0x51ced9;this[_0x35bedd(0x1f1)]['next'](_0x3f7c5a);}}var $s=Object['getOwnPropertyDescriptor'],Hs=(_0x347ab6,_0x457884,_0x272880,_0x1f3dea)=>{var _0x19a278=_0x51ced9;for(var _0x51ce74=_0x1f3dea>0x1?void 0x0:_0x1f3dea?$s(_0x457884,_0x272880):_0x457884,_0x4ad867=_0x347ab6[_0x19a278(0x395)]-0x1,_0x57bd51;_0x4ad867>=0x0;_0x4ad867--)(_0x57bd51=_0x347ab6[_0x4ad867])&&(_0x51ce74=_0x57bd51(_0x51ce74)||_0x51ce74);return _0x51ce74;},Vt=(_0x4ec46d,_0x3dec41)=>(_0x4613da,_0x1fc8ae)=>_0x3dec41(_0x4613da,_0x1fc8ae,_0x4ec46d);let Pe=class extends _0x31b9e7{constructor(_0x4814d4,_0x39db9d){var _0x192963=_0x51ced9;super(),N(this,_0x192963(0x2e1),new Map()),N(this,_0x192963(0x285),new _0x1b294e()),(this[_0x192963(0x2ba)]=_0x4814d4,this[_0x192963(0x1ae)]=_0x39db9d,this[_0x192963(0x306)](_0x3ea747(this[_0x192963(0x2ba)][_0x192963(0x1b3)](_0x2989d4[_0x192963(0x111)])['pipe'](_0x3c37d3(_0x2eaa43=>_0x2eaa43['getUnitId']())),this[_0x192963(0x2ba)]['getTypeOfUnitDisposed$'](_0x2989d4['UNIVER_DOC'])[_0x192963(0x2f8)](_0x3c37d3(_0x403ff5=>_0x403ff5[_0x192963(0x1b2)]())),this['_univerInstanceService'][_0x192963(0x1b3)](_0x2989d4[_0x192963(0x258)])['pipe'](_0x3c37d3(_0x40dbcf=>_0x40dbcf[_0x192963(0x1b2)]())))[_0x192963(0x290)](_0x56dcf0=>this[_0x192963(0x216)](_0x56dcf0))));}[_0x51ced9(0x21a)](_0x22278e){var _0xc40733=_0x51ced9;return this['_roomMembers'][_0xc40733(0x369)](_0x22278e)?_0xef4db0(this['_roomMembers'][_0xc40733(0x301)](_0x22278e)):this[_0xc40733(0x285)][_0xc40733(0x2f8)](_0x3c37d3(_0x52d33a=>{var _0x199f42=_0xc40733;if(_0x52d33a===_0x22278e)return this[_0x199f42(0x2e1)][_0x199f42(0x301)](_0x52d33a);}));}[_0x51ced9(0x16b)](_0x37a76b){var _0x12dba0=_0x51ced9;this['_userManagerService'][_0x12dba0(0x16b)](_0x37a76b);}[_0x51ced9(0x157)](){var _0x3a42f7=_0x51ced9;return this['_userManagerService'][_0x3a42f7(0x157)]();}[_0x51ced9(0x189)](_0x56f674,_0x2d1a38){var _0x2ef2e5=_0x51ced9;let _0x28c245=this[_0x2ef2e5(0x2e1)][_0x2ef2e5(0x301)](_0x56f674);_0x28c245||(_0x28c245=new Bs(),this[_0x2ef2e5(0x2e1)]['set'](_0x56f674,_0x28c245),this['_roomCreated$'][_0x2ef2e5(0x2f3)](_0x56f674)),_0x28c245['updateMember'](_0x2d1a38);}['removeMember'](_0xa11d3d,_0x38f467){var _0x38f485=_0x51ced9;const _0x1aefbb=this['_roomMembers']['get'](_0xa11d3d);_0x1aefbb&&_0x1aefbb[_0x38f485(0x1dd)](_0x38f467);}[_0x51ced9(0x20e)](_0x1ba1eb){return this['_roomMembers']['get'](_0x1ba1eb);}['getMember'](_0x2823bb,_0x19a89f){var _0x294822=_0x51ced9;const _0x14c187=this['_roomMembers'][_0x294822(0x301)](_0x2823bb);if(_0x14c187)return _0x14c187['getMember'](_0x19a89f);}[_0x51ced9(0x216)](_0x3868ae){var _0x42b1ac=_0x51ced9;const _0x152ff7=this[_0x42b1ac(0x2e1)][_0x42b1ac(0x301)](_0x3868ae);_0x152ff7&&(_0x152ff7[_0x42b1ac(0xf8)](),this[_0x42b1ac(0x2e1)][_0x42b1ac(0x1ca)](_0x3868ae));}['dispose'](){var _0xa64924=_0x51ced9;this['_roomMembers'][_0xa64924(0x39c)](_0x2bfa30=>_0x2bfa30[_0xa64924(0xf8)]()),this[_0xa64924(0x2e1)][_0xa64924(0x23e)](),this[_0xa64924(0x285)][_0xa64924(0x30b)]();}};Pe=Hs([Vt(0x0,_0x1a15fa),Vt(0x1,_0x22f2f4(_0x5de709))],Pe);class Bs extends _0x31b9e7{constructor(){var _0x1de6e3=_0x51ced9;super(...arguments),N(this,'_members',new Map()),N(this,_0x1de6e3(0x2bd),new _0x1e913a(this[_0x1de6e3(0x26b)])),N(this,_0x1de6e3(0x1b7),this[_0x1de6e3(0x2bd)]['asObservable']());}[_0x51ced9(0xf8)](){var _0x19050e=_0x51ced9;this[_0x19050e(0x26b)][_0x19050e(0x23e)]();}[_0x51ced9(0x189)](_0xd055a0){var _0xfc9cb=_0x51ced9;this[_0xfc9cb(0x26b)]['set'](_0xd055a0[_0xfc9cb(0x19d)],_0xd055a0),this[_0xfc9cb(0x131)]();}[_0x51ced9(0x1dd)](_0x410471){var _0x46d5d3=_0x51ced9;this[_0x46d5d3(0x26b)][_0x46d5d3(0x1ca)](_0x410471);}[_0x51ced9(0x2d9)](_0x25b179){var _0x39857f=_0x51ced9;return this[_0x39857f(0x26b)][_0x39857f(0x301)](_0x25b179);}['getAllMembers'](){var _0x5cac22=_0x51ced9;return Array[_0x5cac22(0x3a0)](this['_members'][_0x5cac22(0x11f)]());}[_0x51ced9(0x131)](){var _0x55a792=_0x51ced9;this[_0x55a792(0x2bd)][_0x55a792(0x2f3)](this[_0x55a792(0x26b)]);}}var js=Object['getOwnPropertyDescriptor'],Fs=(_0x98a2f4,_0xbdcf75,_0x5490c0,_0xdd9b84)=>{var _0x27e712=_0x51ced9;for(var _0x4dffee=_0xdd9b84>0x1?void 0x0:_0xdd9b84?js(_0xbdcf75,_0x5490c0):_0xbdcf75,_0x26dd75=_0x98a2f4[_0x27e712(0x395)]-0x1,_0x1c0540;_0x26dd75>=0x0;_0x26dd75--)(_0x1c0540=_0x98a2f4[_0x26dd75])&&(_0x4dffee=_0x1c0540(_0x4dffee)||_0x4dffee);return _0x4dffee;},pe=(_0x159928,_0x531bc9)=>(_0x2f6028,_0x47e314)=>_0x531bc9(_0x2f6028,_0x47e314,_0x159928),Se=(_0x582ec=>(_0x582ec[_0x582ec[_0x51ced9(0x318)]=0x0]=_0x51ced9(0x318),_0x582ec[_0x582ec[_0x51ced9(0x303)]=0x1]='JOINING',_0x582ec[_0x582ec[_0x51ced9(0x1eb)]=0x2]=_0x51ced9(0x1eb),_0x582ec[_0x582ec[_0x51ced9(0x372)]=0x3]='ONLINE',_0x582ec))(Se||{});const Gt={[me[_0x51ced9(0x1a3)]]:_0x51ced9(0xce),[me[_0x51ced9(0x114)]]:_0x51ced9(0x145),[me['JOIN_ROOM_NOT_EXISTS']]:_0x51ced9(0x25b),[me[_0x51ced9(0x36d)]]:_0x51ced9(0x3ad),[me['GLOBAL_ROOMS_CNT_EXCEEDS']]:_0x51ced9(0x206)};let gt=class extends _0x47b106{constructor(_0xc50f70,_0x83f7d5,_0x36a6f1,_0x187494,_0x585654,_0x16590c,_0x5f2c41,_0x171128,_0x418be0){var _0x337631=_0x51ced9;super(),N(this,_0x337631(0x159),new _0x1e913a(0x0)),N(this,_0x337631(0x262),this['_sessionStatus$'][_0x337631(0x203)]()),N(this,'_event$',new _0x1b294e()),N(this,'event$',this['_event$'][_0x337631(0x203)]()),N(this,_0x337631(0xb9)),N(this,_0x337631(0x24c)),N(this,_0x337631(0x122)),N(this,_0x337631(0xc4),!0x1),N(this,_0x337631(0x35e),null),(this['_unitID']=_0xc50f70,this[_0x337631(0x1b6)]=_0x36a6f1,this[_0x337631(0x2b2)]=_0x187494,this[_0x337631(0x19b)]=_0x585654,this[_0x337631(0x345)]=_0x16590c,this[_0x337631(0x307)]=_0x5f2c41,this[_0x337631(0x119)]=_0x171128,this['_telemetryService']=_0x418be0,this['_shouldReportTelemetry']=!!this[_0x337631(0x37b)],_0x83f7d5['pipe'](_0x2446ec(this[_0x337631(0x3b3)]))[_0x337631(0x290)](_0x19938c=>{var _0x51be0c=_0x337631,_0x673fdb;typeof _0x19938c>'u'||(this['_socket']=_0x19938c,_0x19938c?(this[_0x51be0c(0x288)](_0x19938c),this['_socketMessageSubscription']=_0x19938c['message$'][_0x51be0c(0x290)](_0x4aec97=>{var _0x5b5603=_0x51be0c;_0x4aec97[_0x5b5603(0x357)]===this['_unitID']&&this[_0x5b5603(0x242)](_0x4aec97);})):(this[_0x51be0c(0x227)](),this[_0x51be0c(0x159)]['next'](0x2),(_0x673fdb=this[_0x51be0c(0x24c)])==null||_0x673fdb['unsubscribe'](),this[_0x51be0c(0x24c)]=null));}));}get[_0x51ced9(0x2df)](){var _0x2239de=_0x51ced9;return this[_0x2239de(0x159)][_0x2239de(0x34c)]();}[_0x51ced9(0x1c7)](){var _0x544dc1=_0x51ced9,_0x3c74e5,_0x327ff9;return(_0x327ff9=(_0x3c74e5=this[_0x544dc1(0xb9)])==null?void 0x0:_0x3c74e5[_0x544dc1(0x19d)])!=null?_0x327ff9:null;}[_0x51ced9(0xf8)](){var _0x29523d=_0x51ced9;super[_0x29523d(0xf8)](),this['dispose$'][_0x29523d(0x2f3)](),this[_0x29523d(0x3b3)][_0x29523d(0x30b)]();}['close'](){var _0x40f26e=_0x51ced9,_0xb86a36,_0x5c05a3;this['_throwTelemetryCollaborationNewChangeset'](),(_0xb86a36=this[_0x40f26e(0xb9)])==null||_0xb86a36[_0x40f26e(0x35a)]({'cmd':F[_0x40f26e(0x130)],'data':{'roomID':this[_0x40f26e(0x164)]}}),(_0x5c05a3=this[_0x40f26e(0xb9)])==null||_0x5c05a3[_0x40f26e(0x1fd)](),this[_0x40f26e(0x2e8)][_0x40f26e(0x30b)](),this[_0x40f26e(0x159)][_0x40f26e(0x30b)](),this[_0x40f26e(0xf8)]();}['_onCombEvent'](_0x29e287){var _0x42000a=_0x51ced9;_0x29e287['cmd']===F[_0x42000a(0xe9)]?this[_0x42000a(0x21d)](_0x29e287):_0x29e287[_0x42000a(0x2ab)]===F[_0x42000a(0x31e)]&&this[_0x42000a(0x300)](_0x29e287);}[_0x51ced9(0x288)](_0x3099a1){var _0x5ed334=_0x51ced9;this[_0x5ed334(0x159)][_0x5ed334(0x2f3)](0x1),_0x3099a1[_0x5ed334(0x35a)]({'cmd':F[_0x5ed334(0xe9)],'routeKey':this['_unitID'],'routeType':'','data':{'rooms':[{'roomID':this[_0x5ed334(0x164)]}]}});}[_0x51ced9(0x21d)](_0x3bf4c1){var _0x156d0f=_0x51ced9,_0x364ab0;if(_0x3bf4c1['code']in Gt){this[_0x156d0f(0x119)][_0x156d0f(0x124)]({'id':ne['JOIN_ROOM_FAILED'],'data':Gt[_0x3bf4c1[_0x156d0f(0x162)]]}),this[_0x156d0f(0x159)][_0x156d0f(0x2f3)](0x2);return;}this[_0x156d0f(0x159)][_0x156d0f(0x2f3)](0x3);const _0x283683=(_0x364ab0=_0x3bf4c1[_0x156d0f(0x100)][_0x156d0f(0x18b)][this[_0x156d0f(0x164)]])==null?void 0x0:_0x364ab0[_0x156d0f(0x350)];_0x283683&&_0x283683[_0x156d0f(0x39c)](_0x351d31=>this[_0x156d0f(0x345)][_0x156d0f(0x189)](this[_0x156d0f(0x164)],_0x351d31));}[_0x51ced9(0x300)](_0x5ab8fe){var _0x5b42de=_0x51ced9;try{const _0x141879=_0x5ab8fe['data'];switch(_0x141879[_0x5b42de(0x1c1)]){case _0x509d65[_0x5b42de(0x14d)]:this[_0x5b42de(0x30d)](_0x141879),this['_event$'][_0x5b42de(0x2f3)](_0x141879);break;case _0x509d65[_0x5b42de(0x324)]:this[_0x5b42de(0x304)](_0x141879),this[_0x5b42de(0x2e8)][_0x5b42de(0x2f3)](_0x141879);break;case _0x509d65['CHANGESET_ACK']:case _0x509d65[_0x5b42de(0xcf)]:this[_0x5b42de(0x347)](),this[_0x5b42de(0x175)](),this['_event$'][_0x5b42de(0x2f3)](_0x141879);break;case _0x509d65[_0x5b42de(0x181)]:this[_0x5b42de(0x1b6)][_0x5b42de(0x377)](_0x5b42de(0x23c)+JSON[_0x5b42de(0x235)](_0x141879)),this[_0x5b42de(0x2e8)]['next'](_0x141879);break;case _0x509d65['COMMENT_UPDATE']:this[_0x5b42de(0x307)][_0x5b42de(0x18e)](_0x141879['data']),this['_event$'][_0x5b42de(0x2f3)](_0x141879);break;default:this[_0x5b42de(0x2e8)][_0x5b42de(0x2f3)](_0x141879);}}catch(_0xc613a7){this[_0x5b42de(0x1b6)][_0x5b42de(0x377)](_0xc613a7,_0x5ab8fe);}}['_onUserJoin'](_0x3d3d56){var _0x5163e8=_0x51ced9;this['_memberService'][_0x5163e8(0x189)](this[_0x5163e8(0x164)],_0x3d3d56[_0x5163e8(0x100)]);}[_0x51ced9(0x304)](_0x418760){var _0x2887db=_0x51ced9;this[_0x2887db(0x345)]['removeMember'](this[_0x2887db(0x164)],_0x418760['data'][_0x2887db(0x19d)]);}async['send'](_0x466a11,_0x18a0ef){var _0x143d16=_0x51ced9;if(this['sessionStatus']!==0x3||!this[_0x143d16(0xb9)])throw new Error(_0x143d16(0x1f0));try{_0x466a11[_0x143d16(0x1c1)]===_0x509d65[_0x143d16(0x228)]&&(this[_0x143d16(0x1d3)](),this[_0x143d16(0x343)](_0x466a11)),this[_0x143d16(0xb9)][_0x143d16(0x35a)]({'cmd':F[_0x143d16(0x208)],'routeKey':_0x18a0ef,'routeType':'','data':_0x466a11});}catch(_0x31cde2){this[_0x143d16(0x1b6)][_0x143d16(0x377)](_0x31cde2);}}[_0x51ced9(0x1d3)](){var _0x2613b3=_0x51ced9,_0x35640b;this[_0x2613b3(0x122)]=setTimeout(()=>{var _0x4822ad=_0x2613b3;this[_0x4822ad(0x122)]=null,this[_0x4822ad(0x119)][_0x4822ad(0x124)]({'id':ne['SUBMIT_CHANGESET_TIMEOUT']});},(_0x35640b=this['_configService'][_0x2613b3(0x363)](fi))!=null?_0x35640b:vi);}[_0x51ced9(0x175)](){var _0x74ffd5=_0x51ced9;this[_0x74ffd5(0x122)]&&(clearTimeout(this[_0x74ffd5(0x122)]),this['_collaborationTimeoutTimer']=null);}[_0x51ced9(0x343)](_0x3f0794){var _0x1d9a8b=_0x51ced9;if(!this[_0x1d9a8b(0xc4)])return;const {data:_0x2b9876}=_0x3f0794,{unitID:_0x899dc2,changeset:_0x334bdb}=_0x2b9876,{mutations:_0x4bbb18,type:_0x4c96df}=_0x334bdb;this[_0x1d9a8b(0x35e)]={'unitId':_0x899dc2,'type':_0x4c96df,'startTime':performance['now'](),'stopTime':0x0,'duration':0x0,'size':ks(_0x4bbb18)};}[_0x51ced9(0x347)](){var _0x858d25=_0x51ced9;if(this[_0x858d25(0xc4)]){if(!this[_0x858d25(0x35e)]){this[_0x858d25(0x1b6)]['error'](_0x858d25(0xd7),_0x858d25(0x13b));return;}this[_0x858d25(0x35e)][_0x858d25(0x2c2)]=performance[_0x858d25(0x16e)](),this[_0x858d25(0x35e)]['duration']=this['_telemetryInfo']['stopTime']-this[_0x858d25(0x35e)][_0x858d25(0x32f)],this[_0x858d25(0x37b)][_0x858d25(0x38a)](xs,this[_0x858d25(0x35e)]),this[_0x858d25(0x35e)]=null;}}[_0x51ced9(0x227)](){var _0x47b8fc=_0x51ced9;this[_0x47b8fc(0x35e)]=null;}};gt=Fs([pe(0x2,_0xe9f9bf),pe(0x3,_0x1c2974),pe(0x4,_0x22f2f4(_0x462003)),pe(0x5,_0x22f2f4(Pe)),pe(0x6,_0x22f2f4(Si)),pe(0x7,_0x22f2f4(ve)),pe(0x8,_0x2d6fcc(_0x350da4))],gt);var Vs=Object[_0x51ced9(0x264)],Gs=(_0x2d5ef2,_0xd9719e,_0x5de6f3,_0xafe02a)=>{var _0x181343=_0x51ced9;for(var _0x1d8b18=_0xafe02a>0x1?void 0x0:_0xafe02a?Vs(_0xd9719e,_0x5de6f3):_0xd9719e,_0x389d34=_0x2d5ef2[_0x181343(0x395)]-0x1,_0x2c94cc;_0x389d34>=0x0;_0x389d34--)(_0x2c94cc=_0x2d5ef2[_0x389d34])&&(_0x1d8b18=_0x2c94cc(_0x1d8b18)||_0x1d8b18);return _0x1d8b18;},Re=(_0x4bd240,_0x1641da)=>(_0x538e3b,_0x355548)=>_0x1641da(_0x538e3b,_0x355548,_0x4bd240);let Le=class extends _0x31b9e7{constructor(_0x30683c,_0x34e6f5,_0x34fd28,_0x29f941,_0x5bb541,_0x83f00f){var _0x3f3026=_0x51ced9;super(),N(this,_0x3f3026(0xe6),new _0x1e913a(void 0x0)),N(this,_0x3f3026(0x1af),this['_socket$'][_0x3f3026(0x203)]()),N(this,_0x3f3026(0x31f),null),N(this,_0x3f3026(0x24e),new Map()),N(this,_0x3f3026(0x316),new _0x1e913a(Se[_0x3f3026(0x318)])),N(this,_0x3f3026(0x1a9),this['_status$']['asObservable']()),N(this,'_socketReady',!0x1),N(this,_0x3f3026(0x2f0)),N(this,'_retryCount',0x0),N(this,_0x3f3026(0x2d5)),N(this,_0x3f3026(0x2ee)),(this['_injector']=_0x30683c,this[_0x3f3026(0x1b6)]=_0x34e6f5,this[_0x3f3026(0x2b2)]=_0x34fd28,this[_0x3f3026(0x15e)]=_0x29f941,this[_0x3f3026(0x119)]=_0x5bb541,this['_networkConditionService']=_0x83f00f,this[_0x3f3026(0xe8)]());}get['_socket'](){var _0x168795=_0x51ced9;return this['_socket$'][_0x168795(0x34c)]();}['_listenToNetworkCondition'](){var _0x5d35d9=_0x51ced9;this[_0x5d35d9(0x315)]&&this[_0x5d35d9(0x306)](this[_0x5d35d9(0x315)][_0x5d35d9(0x2c7)]['subscribe'](_0x9010b3=>{var _0x2601f4=_0x5d35d9;_0x9010b3&&!this[_0x2601f4(0xb9)]&&this[_0x2601f4(0x292)](),_0x9010b3||this[_0x2601f4(0x247)]();}));}[_0x51ced9(0xf8)](){var _0x463ed7=_0x51ced9;super[_0x463ed7(0xf8)](),this[_0x463ed7(0x20d)](),this[_0x463ed7(0x186)](),this[_0x463ed7(0x34d)](),this[_0x463ed7(0x24e)][_0x463ed7(0x39c)](_0x5ff0f2=>_0x5ff0f2[_0x463ed7(0xf8)]()),this[_0x463ed7(0x24e)][_0x463ed7(0x23e)](),this[_0x463ed7(0x316)][_0x463ed7(0x30b)]();}async[_0x51ced9(0x30c)](_0x3dc061){var _0x4af9f7=_0x51ced9;if(this[_0x4af9f7(0x24e)][_0x4af9f7(0x369)](_0x3dc061))return this[_0x4af9f7(0x24e)][_0x4af9f7(0x301)](_0x3dc061);this[_0x4af9f7(0x13a)]();const _0x5c3f6f=this[_0x4af9f7(0x29b)][_0x4af9f7(0x326)](gt,_0x3dc061,this[_0x4af9f7(0xe6)][_0x4af9f7(0x203)]());return this['_sessions'][_0x4af9f7(0x12f)](_0x3dc061,_0x5c3f6f),_0x5c3f6f;}['closeSession'](_0x311a09){var _0x1d0d5e=_0x51ced9,_0x2c57c1;const _0x314416=this[_0x1d0d5e(0x24e)][_0x1d0d5e(0x301)](_0x311a09);_0x314416&&(this['_sessions'][_0x1d0d5e(0x1ca)](_0x311a09),_0x314416[_0x1d0d5e(0x1fd)]()),this['_sessions'][_0x1d0d5e(0xeb)]||(_0x2c57c1=this['_socket'])==null||_0x2c57c1['close']();}[_0x51ced9(0x292)](){var _0x2333d2=_0x51ced9;this[_0x2333d2(0x344)]=0x0,this[_0x2333d2(0x20d)](),this[_0x2333d2(0x2f5)]();}[_0x51ced9(0x20d)](){var _0x428fac=_0x51ced9;this[_0x428fac(0x2f0)]!=null&&(clearTimeout(this[_0x428fac(0x2f0)]),this[_0x428fac(0x2f0)]=null);}async[_0x51ced9(0x2d3)](){var _0x1703ac=_0x51ced9,_0x43c932,_0x222a5b;const _0x1cd68f=this[_0x1703ac(0x2b2)][_0x1703ac(0x363)](gs),_0x44ba62=this['_configService'][_0x1703ac(0x363)](K),_0x18e0b1=(_0x222a5b=(_0x43c932=_0x44ba62==null?void 0x0:_0x44ba62['collabWebSocketUrl'])!=null?_0x43c932:_0x1cd68f)!=null?_0x222a5b:Ss,_0x509427=await this[_0x1703ac(0x15e)][_0x1703ac(0x1e6)](_0x18e0b1);return this[_0x1703ac(0x31f)]=_0x509427,_0x509427;}async[_0x51ced9(0x13a)](){var _0x3be6b7=_0x51ced9,_0x2eccae,_0x41929f;try{const _0x2fbb0d=(_0x41929f=(_0x2eccae=this[_0x3be6b7(0xb9)])!=null?_0x2eccae:this['_candidateSocket'])!=null?_0x41929f:await this['_createSocket']();if(_0x2fbb0d){const _0x2b2542=_0x2fbb0d[_0x3be6b7(0x35a)];_0x2fbb0d['send']=_0x4917cc=>(this['_rescheduleHeartbeat'](),_0x2b2542[_0x3be6b7(0xb5)](_0x2fbb0d,[_0x4917cc])),_0x2fbb0d[_0x3be6b7(0x23b)][_0x3be6b7(0x290)](_0x284708=>this[_0x3be6b7(0x3ab)](_0x2fbb0d,_0x284708)),_0x2fbb0d['error$'][_0x3be6b7(0x2f8)](_0x2f142f(0x1))['subscribe'](_0x121209=>this['_logService']['error'](_0x3be6b7(0x113),_0x121209)),_0x2fbb0d[_0x3be6b7(0x10c)][_0x3be6b7(0x2f8)](_0x2f142f(0x1))[_0x3be6b7(0x290)](()=>{var _0x3cb646=_0x3be6b7;this[_0x3cb646(0x2fe)](_0x2fbb0d);}),_0x2fbb0d[_0x3be6b7(0x230)][_0x3be6b7(0x2f8)](_0x2f142f(0x1))[_0x3be6b7(0x290)](_0x8e48e3=>{var _0x302cbe=_0x3be6b7;this[_0x302cbe(0x1b6)][_0x302cbe(0x383)](_0x302cbe(0xdb),_0x302cbe(0x161),_0x8e48e3),this[_0x302cbe(0x17b)]();});}}catch(_0xdcc816){this[_0x3be6b7(0x1b6)]['error'](_0xdcc816),this[_0x3be6b7(0x17b)]();}}[_0x51ced9(0x2fe)](_0xd53025){var _0x4d9441=_0x51ced9;this[_0x4d9441(0x1b6)][_0x4d9441(0x383)]('[CollaborationSessionService]',_0x4d9441(0x34a)),_0xd53025[_0x4d9441(0x35a)]({'cmd':F[_0x4d9441(0x1fb)]}),this[_0x4d9441(0x29a)]();}[_0x51ced9(0x247)](){var _0x2c9b47=_0x51ced9;this['_socketReady']=!0x1,this[_0x2c9b47(0x31f)]=null,this['_status$'][_0x2c9b47(0x2f3)](Se['OFFLINE']),this[_0x2c9b47(0xe6)][_0x2c9b47(0x2f3)](null),this['_clearTimeoutTimer'](),this['_clearHeartbeatTimer']();}[_0x51ced9(0x17b)](){var _0x39d07e=_0x51ced9,_0x5a7aba;this[_0x39d07e(0x247)](),this[_0x39d07e(0x344)]<((_0x5a7aba=this['_configService'][_0x39d07e(0x363)](Cs))!=null?_0x5a7aba:Rs)?(this[_0x39d07e(0x119)][_0x39d07e(0x124)]({'id':ne['SOCKET_FAILED_RETRY']}),this[_0x39d07e(0x2f5)]()):this[_0x39d07e(0x119)]['emitEvent']({'id':ne[_0x39d07e(0x11d)]});}[_0x51ced9(0x2f5)](){var _0x174b98=_0x51ced9,_0x3597c7;const _0x5c890d=this['_retryCount'],_0x27602d=this['_configService'][_0x174b98(0x363)](K),_0x21697e=_0x5c890d===0x0?0x0:((_0x3597c7=_0x27602d==null?void 0x0:_0x27602d['retryConnectingInterval'])!=null?_0x3597c7:Ts)*0x2**_0x5c890d;this[_0x174b98(0x2f0)]=setTimeout(()=>{var _0x35da65=_0x174b98;clearTimeout(this[_0x35da65(0x2f0)]),this['_retryConnectingTimer']=null,this['_tryEnsureSocket']();},_0x21697e),this[_0x174b98(0x344)]+=0x1;}[_0x51ced9(0x3ab)](_0x146cb7,_0xee6385){var _0x381761=_0x51ced9;const {cmd:_0x127b8c}=_0xee6385;_0x127b8c===F[_0x381761(0x1fb)]&&!this[_0x381761(0x39b)]&&(_0x146cb7[_0x381761(0x19d)]=_0xee6385[_0x381761(0x100)][_0x381761(0x19d)],this[_0x381761(0xe6)]['next'](_0x146cb7),this[_0x381761(0x316)][_0x381761(0x2f3)](Se[_0x381761(0x372)]),this[_0x381761(0x39b)]=!0x0,this[_0x381761(0x31f)]=null),_0x127b8c===F['HEARTBEAT']&&this[_0x381761(0x186)](),this['_rescheduleHeartbeat']();}[_0x51ced9(0x29a)](){var _0x2f31f6=_0x51ced9,_0x574ce5;this['_clearHeartbeatTimer'](),this[_0x2f31f6(0x2d5)]=setTimeout(()=>this[_0x2f31f6(0x1ec)](),(_0x574ce5=this[_0x2f31f6(0x2b2)][_0x2f31f6(0x363)](Es))!=null?_0x574ce5:Is);}['_sendHeartbeat'](){var _0x5c7357=_0x51ced9;this['_socket']['send']({'cmd':F['HEARTBEAT']}),this[_0x5c7357(0x24d)]();}[_0x51ced9(0x24d)](){var _0x1011e6=_0x51ced9,_0x5e2257;this[_0x1011e6(0x2ee)]=setTimeout(()=>this['_onConnectionFailed'](),(_0x5e2257=this[_0x1011e6(0x2b2)]['getConfig'](fi))!=null?_0x5e2257:vi);}[_0x51ced9(0x34d)](){var _0x3a111e=_0x51ced9;this[_0x3a111e(0x2d5)]!=null&&(clearTimeout(this['_sendHeartbeatTimer']),this[_0x3a111e(0x2d5)]=null);}[_0x51ced9(0x186)](){var _0x14fdce=_0x51ced9;this['_timeoutTimer']!=null&&(clearTimeout(this['_timeoutTimer']),this[_0x14fdce(0x2ee)]=null);}};Le=Gs([Re(0x0,_0x22f2f4(_0x42afda)),Re(0x1,_0xe9f9bf),Re(0x2,_0x1c2974),Re(0x3,gi),Re(0x4,_0x22f2f4(ve)),Re(0x5,_0x2d6fcc(Us))],Le);const J=_0x23e1a2(_0x51ced9(0x1bc));function Pr(_0x12214a){var _0x27a166=_0x51ced9;return _0x27a166(0x388)+_0x12214a;}var Ws=Object['getOwnPropertyDescriptor'],Ys=(_0x3ebd5c,_0x333000,_0xc98982,_0x3ff235)=>{var _0x128ac6=_0x51ced9;for(var _0x531ed8=_0x3ff235>0x1?void 0x0:_0x3ff235?Ws(_0x333000,_0xc98982):_0x333000,_0x1505d3=_0x3ebd5c[_0x128ac6(0x395)]-0x1,_0x4ee50b;_0x1505d3>=0x0;_0x1505d3--)(_0x4ee50b=_0x3ebd5c[_0x1505d3])&&(_0x531ed8=_0x4ee50b(_0x531ed8)||_0x531ed8);return _0x531ed8;},ut=(_0xc114ba,_0x17f601)=>(_0x1a4bf1,_0x25d7ae)=>_0x17f601(_0x1a4bf1,_0x25d7ae,_0xc114ba);function Ks(_0x1575f4){var _0x31079e=_0x51ced9;const {unitID:_0x476f92,mutations:_0x4d6ff9}=_0x1575f4;return{'unitId':_0x476f92,'subUnitId':_0x4d6ff9[0x0][_0x31079e(0x2ef)][_0x31079e(0x286)]};}let it=class{constructor(_0x3d3702,_0x2639a3,_0x285dc1){var _0x299f4b=_0x51ced9;this['_injector']=_0x3d3702,this[_0x299f4b(0x30a)]=_0x2639a3,this[_0x299f4b(0x2fd)]=_0x285dc1;}[_0x51ced9(0x1f8)](_0x21dfd9){var _0x5993c9=_0x51ced9,_0x372801,_0x2744ea,_0x2bdd75,_0x4a7dd5;const _0xdda181=this[_0x5993c9(0x29b)][_0x5993c9(0x301)](_0x5b395c),{unitId:_0x5c8fcf,subUnitId:_0x447b0d}=Ks(_0x21dfd9),_0x1e7d62=_0xdda181==null?void 0x0:_0xdda181['getWorkbookSelections'](_0x5c8fcf)['getCurrentSelections'](),_0x184452=(_0x2744ea=(_0x372801=this['_instanceService']['getUnit'](_0x5c8fcf))==null?void 0x0:_0x372801['getActiveSheet']())==null?void 0x0:_0x2744ea[_0x5993c9(0x282)]();if(_0x1e7d62[_0x5993c9(0x395)]===0x0||!_0x5c8fcf||!_0x447b0d)return;const _0x1b130f=[{'id':_0x17923b['id'],'params':{'unitId':_0x5c8fcf,'subUnitId':_0x184452,'selections':_0x4c9520[_0x5993c9(0x354)](_0x1e7d62)}}],_0x47c4be=this[_0x5993c9(0x30a)][_0x5993c9(0x2fa)](_0x21dfd9,_0x1b130f);if(!_0x33c742(_0x47c4be))throw _0x47c4be[_0x5993c9(0x377)];const _0x13d73b=(_0x4a7dd5=(_0x2bdd75=_0x47c4be[_0x5993c9(0x211)][0x0])==null?void 0x0:_0x2bdd75[_0x5993c9(0x2ef)])==null?void 0x0:_0x4a7dd5[_0x5993c9(0x135)];if(Array[_0x5993c9(0x272)](_0x13d73b)&&_0x13d73b[_0x5993c9(0x395)]){if(_0x13d73b[_0x5993c9(0x395)]===_0x1b130f[0x0][_0x5993c9(0x2ef)][_0x5993c9(0x135)][_0x5993c9(0x395)]&&_0x13d73b[_0x5993c9(0x125)]((_0x492bd9,_0x587db3)=>_0x4c4dab[_0x5993c9(0x20a)](_0x492bd9['range'],_0x1b130f[0x0][_0x5993c9(0x2ef)][_0x5993c9(0x135)][_0x587db3]['range'])))return;this[_0x5993c9(0x29b)][_0x5993c9(0x301)](_0x398897)['executeCommand'](_0x17923b['id'],{'unitId':_0x5c8fcf,'subUnitId':_0x184452,'selections':_0x13d73b});}}};it=Ys([ut(0x0,_0x22f2f4(_0x42afda)),ut(0x1,_0x49cd74),ut(0x2,_0x1a15fa)],it);const ht=_0x23e1a2(_0x51ced9(0xdf));var Ei=(_0x462c81=>(_0x462c81[_0x462c81['NO_OTHER_CLIENTS_EDITING']=0x0]=_0x51ced9(0x34f),_0x462c81[_0x462c81[_0x51ced9(0x29c)]=0x1]='OTHER_CLIENTS_EDITING',_0x462c81))(Ei||{});const qs=new Set([_0x40419f['id']]);function Wt(_0x85c801,_0x3e5cc6,_0x52eba1,_0x593772,_0x49afa9){var _0x1bb057=_0x51ced9,_0x2df244,_0x2c1a8a,_0x3a2525,_0x73dcbc;const _0x47673e=[];for(const _0x36e2c8 of _0x85c801)if(qs[_0x1bb057(0x369)](_0x36e2c8['id'])){if(_0x47673e['length']>0x0)break;_0x47673e[_0x1bb057(0x26c)](_0x36e2c8);break;}else _0x47673e[_0x1bb057(0x26c)](_0x36e2c8);const _0x28ab2c=(_0x2c1a8a=(_0x2df244=_0x49afa9['getCurrentUser']())==null?void 0x0:_0x2df244[_0x1bb057(0x173)])!=null?_0x2c1a8a:_0x1bb057(0x2ea),_0x31aabe=(_0x73dcbc=(_0x3a2525=_0x49afa9['getCurrentUser']())==null?void 0x0:_0x3a2525[_0x1bb057(0x19d)])!=null?_0x73dcbc:_0x1bb057(0x2ea);return{'changeset':{'unitID':_0x3e5cc6,'type':_0x3de576(_0x52eba1[_0x1bb057(0x2dc)](_0x3e5cc6)),'baseRev':_0x593772['getCurrentRevOfUnit'](_0x3e5cc6),'revision':0x0,'userID':_0x28ab2c,'memberID':_0x31aabe,'mutations':_0x47673e},'pendingMutations':_0x85c801[_0x1bb057(0x25a)](_0x47673e['length'])};}function zs(_0x1d8b5c,_0x437db7,_0x4a1257,_0x13c73e,_0x356f5a){var _0x1715b8=_0x51ced9,_0x15c879,_0x1784d7,_0x1529b4,_0x16d717;const _0x3c43ba=[_0x1d8b5c['reduce']((_0xe12f65,_0x58092e)=>{var _0x31cf7b=_0xfe49,_0x1966bc;const {id:_0x3fcba0}=_0xe12f65,{id:_0x1ce163,type:_0x5056ef}=_0x58092e,_0x54c4b8=(_0x1966bc=_0xe12f65[_0x31cf7b(0x2ef)])!=null?_0x1966bc:{'actions':null},_0x5ce376=_0x58092e['params'];if(_0x3fcba0&&_0x3fcba0!==_0x1ce163)throw new Error(_0x31cf7b(0x1ee)+_0x3fcba0+_0x31cf7b(0x27b)+_0x1ce163+'.');return{..._0xe12f65,'id':_0x1ce163,'type':_0x5056ef,'params':{'unitId':_0x5ce376[_0x31cf7b(0x212)],'textRanges':_0x5ce376[_0x31cf7b(0x14b)],'actions':_0x4378da[_0x31cf7b(0x243)](_0x54c4b8['actions'],_0x5ce376[_0x31cf7b(0x39f)])}};},{})],_0x2cc5a5=(_0x1784d7=(_0x15c879=_0x356f5a[_0x1715b8(0x157)]())==null?void 0x0:_0x15c879[_0x1715b8(0x173)])!=null?_0x1784d7:_0x1715b8(0x2ea),_0x4ef98e=(_0x16d717=(_0x1529b4=_0x356f5a[_0x1715b8(0x157)]())==null?void 0x0:_0x1529b4[_0x1715b8(0x19d)])!=null?_0x16d717:_0x1715b8(0x2ea);return{'changeset':{'unitID':_0x437db7,'type':_0x3de576(_0x4a1257[_0x1715b8(0x2dc)](_0x437db7)),'baseRev':_0x13c73e[_0x1715b8(0x20f)](_0x437db7),'revision':0x0,'userID':_0x2cc5a5,'memberID':_0x4ef98e,'mutations':_0x3c43ba},'pendingMutations':[]};}function Ii(_0x2504db,_0x2e432f){var _0x26c751=_0x51ced9;const _0x3694df=new _0x3aac74(0x1);return setTimeout(()=>_0x3694df[_0x26c751(0x2f3)](_0x2e432f),_0x2504db),_0x3694df[_0x26c751(0x203)]()['pipe'](_0x5dc821(0x1));}const Js={'id':_0x54fdbb['id'],'type':_0x42c2ff[_0x51ced9(0x129)],'params':{}};var Xs=Object['getOwnPropertyDescriptor'],Ie=(_0x4f5cf6,_0x224e20,_0x3d5047,_0x1211a1)=>{var _0x24d6c6=_0x51ced9;for(var _0x202b71=_0x1211a1>0x1?void 0x0:_0x1211a1?Xs(_0x224e20,_0x3d5047):_0x224e20,_0x1b18c2=_0x4f5cf6[_0x24d6c6(0x395)]-0x1,_0x33675b;_0x1b18c2>=0x0;_0x1b18c2--)(_0x33675b=_0x4f5cf6[_0x1b18c2])&&(_0x202b71=_0x33675b(_0x202b71)||_0x202b71);return _0x202b71;},P=(_0xcb53be,_0x2d5132)=>(_0x150a1a,_0x1e86e2)=>_0x2d5132(_0x150a1a,_0x1e86e2,_0xcb53be),Ti=(_0x20bd63=>(_0x20bd63[_0x51ced9(0x374)]=_0x51ced9(0x2e9),_0x20bd63[_0x51ced9(0x380)]=_0x51ced9(0x21f),_0x20bd63['PENDING']='pending',_0x20bd63[_0x51ced9(0x224)]=_0x51ced9(0x310),_0x20bd63['AWAITING_WITH_PENDING']=_0x51ced9(0x391),_0x20bd63['FETCH_MISS']='fetch_missing',_0x20bd63[_0x51ced9(0x10a)]=_0x51ced9(0x3ae),_0x20bd63[_0x51ced9(0x1eb)]=_0x51ced9(0x3b2),_0x20bd63))(Ti||{});const Ci=0xea60;class Te{constructor(_0x63783c,_0x456e7d,_0x397551,_0x8d2f8c,_0x504335,_0xcace7d,_0x3b0b12,_0x5d964d,_0x808d64){var _0x31b8a8=_0x51ced9;N(this,_0x31b8a8(0x17a),null),N(this,_0x31b8a8(0x194),[]),(this[_0x31b8a8(0x327)]=_0x63783c,this[_0x31b8a8(0x2d6)]=_0x456e7d,this[_0x31b8a8(0x271)]=_0x504335,this[_0x31b8a8(0x375)]=_0xcace7d,this[_0x31b8a8(0xb7)]=_0x3b0b12,this[_0x31b8a8(0xfd)]=_0x5d964d,this['_localCacheService']=_0x808d64,this[_0x31b8a8(0x17a)]=_0x397551,this[_0x31b8a8(0x194)]=_0x8d2f8c);}[_0x51ced9(0x193)](_0x19a619){var _0x3b8048=_0x51ced9;const _0x236b75=this[_0x3b8048(0xfd)][_0x3b8048(0x20f)](this[_0x3b8048(0x327)]);return _0x19a619[_0x3b8048(0x312)]>_0x236b75+0x1?(this[_0x3b8048(0x271)]['onMissingChangesets']({'from':_0x236b75,'to':_0x19a619[_0x3b8048(0x312)]-0x1}),!0x0):!0x1;}['_transformUndoredo'](_0x2b0515){var _0x31ea4e=_0x51ced9;this[_0x31ea4e(0xb7)][_0x31ea4e(0x137)](this[_0x31ea4e(0x327)],_0x2b0515);}[_0x51ced9(0xad)](_0x4d02e5){var _0x4ce62f,_0x112130;(_0x112130=(_0x4ce62f=this['_handler'])['onTransformSelections'])==null||_0x112130['call'](_0x4ce62f,_0x4d02e5);}[_0x51ced9(0xaf)](_0x3c63cf){var _0x3685fd=_0x51ced9,_0x29b305,_0x2d515e;return(_0x2d515e=(_0x29b305=this[_0x3685fd(0x271)])[_0x3685fd(0x241)])==null?void 0x0:_0x2d515e[_0x3685fd(0x2b7)](_0x29b305,_0x3c63cf);}[_0x51ced9(0x384)](_0x5264a2){var _0x3c1792=_0x51ced9,_0x550454,_0x1867ef;return(_0x1867ef=(_0x550454=this[_0x3c1792(0x271)])[_0x3c1792(0x2dd)])==null?void 0x0:_0x1867ef[_0x3c1792(0x2b7)](_0x550454,_0x5264a2);}[_0x51ced9(0x16a)](_0x20963a){var _0x1f1e50=_0x51ced9,_0x114335,_0x63549f,_0x1772af;return(_0x1772af=(_0x63549f=(_0x114335=this['_handler'])[_0x1f1e50(0x11c)])==null?void 0x0:_0x63549f[_0x1f1e50(0x2b7)](_0x114335,_0x20963a))!=null?_0x1772af:_0x20963a;}[_0x51ced9(0x1e5)](_0x3f1051){var _0xd23e77=_0x51ced9,_0x41f63d,_0xb41cb8,_0x2ba76f;return(_0x2ba76f=(_0xb41cb8=(_0x41f63d=this[_0xd23e77(0x271)])['onTransformRemoteChangesetByStateCache'])==null?void 0x0:_0xb41cb8['call'](_0x41f63d,_0x3f1051))!=null?_0x2ba76f:_0x3f1051;}['_syncEditingCollabCursor'](_0x2c4bf6){var _0x4370fb=_0x51ced9,_0x22ad41,_0x3b14c4;if(this['type']===Z[_0x4370fb(0x182)]){const {unitID:_0x1dab1f,mutations:_0x27cc57,memberID:_0x39c75a}=_0x2c4bf6,_0x28fc9b=_0x27cc57[0x0][_0x4370fb(0x2ef)][_0x4370fb(0x14b)];Array[_0x4370fb(0x272)](_0x28fc9b)&&_0x28fc9b['length']>0x0&&((_0x3b14c4=(_0x22ad41=this[_0x4370fb(0x271)])['onSyncEditingCollabCursor'])==null||_0x3b14c4[_0x4370fb(0x2b7)](_0x22ad41,{'unitID':_0x1dab1f,'memberID':_0x39c75a,'textRanges':_0x28fc9b}));}}[_0x51ced9(0xff)](){var _0x13083c=_0x51ced9,_0x61eeb;(_0x61eeb=this[_0x13083c(0x2c5)])==null||_0x61eeb['updateOfflineData'](this[_0x13083c(0x327)],this['type'],this[_0x13083c(0x17a)],this[_0x13083c(0x194)]);}[_0x51ced9(0x3b4)](){var _0x787ec4=_0x51ced9;return this[_0x787ec4(0xfd)][_0x787ec4(0x20f)](this[_0x787ec4(0x327)]);}[_0x51ced9(0x2a4)](){var _0x314fde=_0x51ced9;this[_0x314fde(0xfd)][_0x314fde(0xf2)](this[_0x314fde(0x327)]);}[_0x51ced9(0x110)](_0x2cf5c5){var _0x421ca1=_0x51ced9,_0x2c1c89;let _0x1a2898=this[_0x421ca1(0x16a)](_0x2cf5c5);_0x1a2898=this[_0x421ca1(0x1e5)](_0x1a2898);const _0x53ce0f=_0x3646b0(_0x1a2898[_0x421ca1(0x178)],this[_0x421ca1(0x375)],{'fromCollab':!0x0});if(!_0x53ce0f[_0x421ca1(0x32e)])throw _0x53ce0f[_0x421ca1(0x377)]instanceof Error?_0x53ce0f[_0x421ca1(0x377)]:new Error((_0x2c1c89=_0x53ce0f[_0x421ca1(0x377)])!=null?_0x2c1c89:_0x421ca1(0x1ef));this[_0x421ca1(0xaf)](_0x1a2898),this[_0x421ca1(0x384)](_0x1a2898),this[_0x421ca1(0x382)](_0x2cf5c5),this[_0x421ca1(0xad)](_0x1a2898),this[_0x421ca1(0x341)](_0x1a2898),this[_0x421ca1(0x2a4)]();}}let ye=class extends Te{constructor(_0xfc892d,_0x31a468,_0x17aeb1,_0x2608db,_0x2f6a40,_0x12cb67,_0x5a9a4b,_0x556428,_0x5920e0,_0x2ec951){var _0xce30a3=_0x51ced9;super(_0xfc892d,_0x31a468,null,[],_0x17aeb1,_0x5a9a4b,_0x12cb67,_0x2608db,_0x2ec951),N(this,'status','synced'),(this['_injector']=_0x2f6a40,this['_logService']=_0x556428,this[_0xce30a3(0x30a)]=_0x5920e0,this[_0xce30a3(0x2fc)]=_0x2ec951);}[_0x51ced9(0x150)](_0xdaa982){var _0x14f039=_0x51ced9;const _0x5acf9c=this[_0x14f039(0x29b)][_0x14f039(0x326)](re,this[_0x14f039(0x327)],this['type'],[_0xdaa982],this[_0x14f039(0x271)]);return _0x5acf9c['_schedule'](),_0x5acf9c[_0x14f039(0xff)](),_0x5acf9c;}[_0x51ced9(0x104)](_0x1f2665){var _0x53cba7=_0x51ced9;if(this[_0x53cba7(0x193)](_0x1f2665))return this[_0x53cba7(0x29b)][_0x53cba7(0x326)](Q,this[_0x53cba7(0x327)],this[_0x53cba7(0x2d6)],null,[],null,[_0x1f2665],this['_handler']);try{const _0x40e603=this[_0x53cba7(0x30a)]['transformMutationsWithChangeset'](_0x1f2665,[Js]);if(_0x33c742(_0x40e603)){const {c1Prime:_0x159a38}=_0x40e603;return this[_0x53cba7(0x110)](_0x159a38),this;}throw _0x40e603['error'];}catch(_0x35fa65){return this[_0x53cba7(0x1b6)][_0x53cba7(0x377)](_0x35fa65),this[_0x53cba7(0x361)](!0x1);}}[_0x51ced9(0x361)](_0x2fe5fa){var _0x27b6fc=_0x51ced9;return this[_0x27b6fc(0x29b)][_0x27b6fc(0x326)](le,this[_0x27b6fc(0x327)],this['type'],null,[],this[_0x27b6fc(0x271)],_0x2fe5fa);}[_0x51ced9(0x1e0)](){var _0x210bbd=_0x51ced9;throw new Error(_0x210bbd(0xc9));}['onRemoteRej'](){var _0x1881c8=_0x51ced9;throw new Error(_0x1881c8(0x153));}[_0x51ced9(0x142)](){return this;}[_0x51ced9(0x3b5)](){var _0x3786cb=_0x51ced9;return this['_injector']['createInstance'](ue,this[_0x3786cb(0x327)],this[_0x3786cb(0x2d6)],null,[],this[_0x3786cb(0x271)]);}['toggleOnline'](){return this;}[_0x51ced9(0x31d)](){throw new Error('[SyncedState]:\x20invalid\x20calling\x20to\x20`resend`.');}[_0x51ced9(0x325)](){var _0x5a4be9=_0x51ced9;const _0x583ad2=this[_0x5a4be9(0xfd)]['getCurrentRevOfUnit'](this[_0x5a4be9(0x327)]);return this[_0x5a4be9(0x271)]['onMissingChangesets']({'from':_0x583ad2,'to':0x0}),this['_injector'][_0x5a4be9(0x326)](Q,this[_0x5a4be9(0x327)],this[_0x5a4be9(0x2d6)],null,[],null,[],this['_handler']);}};ye=Ie([P(0x3,_0x22f2f4(_0x390b06)),P(0x4,_0x22f2f4(_0x42afda)),P(0x5,_0x32972a),P(0x6,_0x398897),P(0x7,_0xe9f9bf),P(0x8,_0x49cd74),P(0x9,_0x2d6fcc(J))],ye);let re=class extends Te{constructor(_0x316819,_0x426802,_0x2594c0,_0x16139f,_0x46d15b,_0x268b0d,_0x1aadb1,_0x2e5386,_0xa5141a,_0x3b53e9,_0x23011a,_0x513699,_0x3046e6,_0x1fad39){var _0x1a7822=_0x51ced9;super(_0x316819,_0x426802,null,_0x2594c0,_0x16139f,_0xa5141a,_0x3046e6,_0x268b0d,_0x1fad39),N(this,_0x1a7822(0x370),_0x1a7822(0x133)),N(this,_0x1a7822(0x2ac),null),N(this,_0x1a7822(0x1d7),null),(this[_0x1a7822(0x29b)]=_0x46d15b,this[_0x1a7822(0x345)]=_0x1aadb1,this[_0x1a7822(0x1b6)]=_0x2e5386,this[_0x1a7822(0x2b2)]=_0x3b53e9,this[_0x1a7822(0x30a)]=_0x23011a,this[_0x1a7822(0x2ba)]=_0x513699);}[_0x51ced9(0x150)](_0x2b76f4){var _0x2f4136=_0x51ced9;return this[_0x2f4136(0x194)][_0x2f4136(0x26c)](_0x2b76f4),this[_0x2f4136(0xff)](),this;}[_0x51ced9(0x104)](_0x737cb6){var _0x3167b9=_0x51ced9;if(this[_0x3167b9(0x193)](_0x737cb6))return this['_clearScheduledTask'](),this[_0x3167b9(0x29b)][_0x3167b9(0x326)](Q,this['unitID'],this[_0x3167b9(0x2d6)],null,this[_0x3167b9(0x194)],null,[_0x737cb6],this[_0x3167b9(0x271)]);try{const _0x5c5a3d=this[_0x3167b9(0x30a)][_0x3167b9(0x2fa)](_0x737cb6,this[_0x3167b9(0x194)]);if(_0x33c742(_0x5c5a3d)){const {c1Prime:_0x286da0,m2Prime:_0x45c80c}=_0x5c5a3d;this[_0x3167b9(0x110)](_0x286da0);const _0x1870a5=this[_0x3167b9(0x29b)]['createInstance'](re,this[_0x3167b9(0x327)],this['type'],_0x45c80c,this[_0x3167b9(0x271)]);this[_0x3167b9(0x1ab)]();const _0x2f6364=new Date()['getTime'](),_0x54dc5c=this[_0x3167b9(0x2ac)]?Math['max'](this['_scheduleCompleteTimestamp']-_0x2f6364,0x0):this[_0x3167b9(0x205)]();return _0x1870a5[_0x3167b9(0x2d4)](_0x54dc5c),_0x1870a5;}throw _0x5c5a3d[_0x3167b9(0x377)];}catch(_0x3a112a){return this[_0x3167b9(0x1b6)]['error'](_0x3a112a),this[_0x3167b9(0x361)](!0x1);}}['onRemoteAck'](){var _0x16fdc4=_0x51ced9;throw new Error(_0x16fdc4(0x218));}[_0x51ced9(0x36e)](){var _0x223b7d=_0x51ced9;throw new Error(_0x223b7d(0x2a8));}['onRemoteRetry'](){return this;}[_0x51ced9(0x3b5)](){var _0x3b9d1d=_0x51ced9;return this[_0x3b9d1d(0x1ab)](),this['_injector'][_0x3b9d1d(0x326)](ue,this[_0x3b9d1d(0x327)],this[_0x3b9d1d(0x2d6)],null,this[_0x3b9d1d(0x194)],this[_0x3b9d1d(0x271)]);}[_0x51ced9(0xd6)](){return this;}[_0x51ced9(0x2d4)](_0x5dc92f){var _0x13ffbe=_0x51ced9;const _0x370f69=_0x5dc92f!=null?_0x5dc92f:this[_0x13ffbe(0x205)]();this[_0x13ffbe(0x2ac)]=new Date()[_0x13ffbe(0xfa)]()+_0x370f69,this[_0x13ffbe(0x1d7)]=setTimeout(()=>{var _0x2d91da=_0x13ffbe;this['_clearScheduledTask']();let _0x5b3c46=null;switch(this[_0x2d91da(0x2d6)]){case Z[_0x2d91da(0x111)]:{_0x5b3c46=Wt(this['_pendingMutations'],this[_0x2d91da(0x327)],this['_univerInstanceService'],this[_0x2d91da(0xfd)],this[_0x2d91da(0x345)]);break;}case Z[_0x2d91da(0x182)]:{this['_pendingMutations'][_0x2d91da(0x125)](_0x2f5732=>_0x2f5732['id']===_0x48b3a5['id'])?_0x5b3c46=zs(this[_0x2d91da(0x194)],this['unitID'],this['_univerInstanceService'],this[_0x2d91da(0xfd)],this['_memberService']):_0x5b3c46=Wt(this[_0x2d91da(0x194)],this[_0x2d91da(0x327)],this['_univerInstanceService'],this['_revisionService'],this[_0x2d91da(0x345)]);break;}default:throw new Error(_0x2d91da(0x365)+this[_0x2d91da(0x2d6)]+_0x2d91da(0x1e7));}const {changeset:_0xca92d2,pendingMutations:_0x3c2b5b}=_0x5b3c46;this[_0x2d91da(0x271)][_0x2d91da(0x35d)](_0xca92d2);const _0x4d6753=_0x3c2b5b[_0x2d91da(0x395)]?this[_0x2d91da(0x29b)]['createInstance'](ae,this[_0x2d91da(0x327)],this['type'],_0xca92d2,_0x3c2b5b,this['_handler'],void 0x0):this[_0x2d91da(0x29b)][_0x2d91da(0x326)](_e,this[_0x2d91da(0x327)],this[_0x2d91da(0x2d6)],_0xca92d2,this[_0x2d91da(0x271)]);_0x4d6753[_0x2d91da(0xff)](),this[_0x2d91da(0x271)][_0x2d91da(0x32a)](this,_0x4d6753);},_0x370f69);}[_0x51ced9(0x205)](){var _0x238605=_0x51ced9,_0x1e4e3c;const _0x4ec8b0=this[_0x238605(0x2b2)]['getConfig'](K);return(_0x1e4e3c=_0x4ec8b0==null?void 0x0:_0x4ec8b0['sendChangesetTimeout'])!=null?_0x1e4e3c:ms;}[_0x51ced9(0x31d)](){var _0x34d948=_0x51ced9;throw new Error(_0x34d948(0x25d));}[_0x51ced9(0x1ab)](){var _0x20262f=_0x51ced9;this[_0x20262f(0x1d7)]!=null&&(clearTimeout(this[_0x20262f(0x1d7)]),this[_0x20262f(0x1d7)]=null);}[_0x51ced9(0x361)](_0x369641){var _0x32da31=_0x51ced9;return this['_clearScheduledTask'](),this['_injector'][_0x32da31(0x326)](le,this['unitID'],this[_0x32da31(0x2d6)],null,this[_0x32da31(0x194)],this[_0x32da31(0x271)],_0x369641);}};re=Ie([P(0x4,_0x22f2f4(_0x42afda)),P(0x5,_0x22f2f4(_0x390b06)),P(0x6,_0x22f2f4(Pe)),P(0x7,_0xe9f9bf),P(0x8,_0x398897),P(0x9,_0x1c2974),P(0xa,_0x49cd74),P(0xb,_0x1a15fa),P(0xc,_0x32972a),P(0xd,_0x2d6fcc(J))],re);let _e=class extends Te{constructor(_0x492cc1,_0x3d4cf4,_0x13fb0b,_0x161ca0,_0x13c12c,_0xe65360,_0x1cebfd,_0x24d0f0,_0x5b05a8,_0x54d51d,_0x187c4c){var _0x3ae700=_0x51ced9;super(_0x492cc1,_0x3d4cf4,_0x13fb0b,[],_0x161ca0,_0x1cebfd,_0x54d51d,_0xe65360,_0x187c4c),N(this,'status',_0x3ae700(0x310)),N(this,_0x3ae700(0x29d),0x0),N(this,_0x3ae700(0x28c)),N(this,_0x3ae700(0x2eb)),(this[_0x3ae700(0x29b)]=_0x13c12c,this[_0x3ae700(0x1b6)]=_0x24d0f0,this[_0x3ae700(0x30a)]=_0x5b05a8);}[_0x51ced9(0x150)](_0x3e621a){var _0x147ec9=_0x51ced9;this[_0x147ec9(0x1ab)]();const _0x220b4b=this[_0x147ec9(0x29b)][_0x147ec9(0x326)](ae,this[_0x147ec9(0x327)],this[_0x147ec9(0x2d6)],this[_0x147ec9(0x17a)],[_0x3e621a],this['_handler'],this[_0x147ec9(0x28c)]);return _0x220b4b['_updateLocalCache'](),_0x220b4b;}[_0x51ced9(0x104)](_0x3cb234){var _0x88821e=_0x51ced9;if(this['_checkMissing'](_0x3cb234))return this[_0x88821e(0x1ab)](),this[_0x88821e(0x29b)][_0x88821e(0x326)](Q,this[_0x88821e(0x327)],this[_0x88821e(0x2d6)],this['_awaitingChangeset'],[],null,[_0x3cb234],this[_0x88821e(0x271)]);try{const _0x2b5182=this[_0x88821e(0x30a)][_0x88821e(0x30e)]([_0x3cb234],[this[_0x88821e(0x17a)]],!0x1);if(_0x91dd0b(_0x2b5182)){const {c1Prime:_0x41c5f0,c2Prime:_0xab8d63}=_0x2b5182;this['_executeRemoteChangeset'](_0x41c5f0[0x0]),_0xab8d63[0x0][_0x88821e(0xe7)]=this['_getCurrentRevision'](),this[_0x88821e(0x1ab)]();const _0x69c1c4=this['_injector'][_0x88821e(0x326)](_e,this[_0x88821e(0x327)],this[_0x88821e(0x2d6)],_0xab8d63[0x0],this['_handler']);return _0x69c1c4['_updateLocalCache'](),_0x69c1c4;}return this['_onConflict'](!0x1);}catch(_0x3580ef){return this[_0x88821e(0x1b6)][_0x88821e(0x377)](_0x3580ef),this[_0x88821e(0x361)](!0x1);}}[_0x51ced9(0x1e0)](_0x1274ce){var _0x39bbd7=_0x51ced9;this['_clearScheduledTask']();const _0x56b3a3=this[_0x39bbd7(0xfd)][_0x39bbd7(0x20f)](this['unitID']);if(_0x1274ce[_0x39bbd7(0x312)]<_0x56b3a3-0x1)return this;if(this[_0x39bbd7(0x193)](_0x1274ce))return this[_0x39bbd7(0x29b)][_0x39bbd7(0x326)](Q,this[_0x39bbd7(0x327)],this['type'],null,[],this[_0x39bbd7(0x17a)],[],this[_0x39bbd7(0x271)]);this[_0x39bbd7(0x2a4)]();const _0x3a9ec6=this[_0x39bbd7(0x29b)][_0x39bbd7(0x326)](ye,this[_0x39bbd7(0x327)],this[_0x39bbd7(0x2d6)],this['_handler']);return _0x3a9ec6[_0x39bbd7(0xff)](),_0x3a9ec6;}[_0x51ced9(0x36e)](_0x312a94){var _0x3b93c0=_0x51ced9;return this['_onConflict'](!!(_0x312a94!=null&&_0x312a94[_0x3b93c0(0x334)]));}[_0x51ced9(0x142)](_0x375b6a){var _0x490345=_0x51ced9;return this['_resendTimeout']>Ci?this[_0x490345(0x3b5)]():(this[_0x490345(0x28c)]=Ii(this['_resendTimeout'],{'timeout':this['_resendTimeout'],'reqId':_0x375b6a['reqId']}),this[_0x490345(0x2eb)]=this[_0x490345(0x28c)][_0x490345(0x290)](({reqId:_0x568208,timeout:_0x201568})=>{var _0x10df29=_0x490345;this[_0x10df29(0x1fc)](_0x568208,_0x201568);}),this);}[_0x51ced9(0x3b5)](){var _0x256652=_0x51ced9;return this['_clearScheduledTask'](),this[_0x256652(0x29b)]['createInstance'](ue,this['unitID'],this[_0x256652(0x2d6)],this[_0x256652(0x17a)],[],this[_0x256652(0x271)]);}[_0x51ced9(0xd6)](){return this;}[_0x51ced9(0x31d)](){var _0x3da523=_0x51ced9;this['_handler'][_0x3da523(0x35d)](this[_0x3da523(0x17a)]);}[_0x51ced9(0x361)](_0x28f6be){var _0x31c6e5=_0x51ced9;return this[_0x31c6e5(0x1ab)](),this[_0x31c6e5(0x29b)]['createInstance'](le,this[_0x31c6e5(0x327)],this['type'],this['_awaitingChangeset'],[],this[_0x31c6e5(0x271)],_0x28f6be);}['_resendWithTimeout'](_0x3870c3,_0x58fab5){var _0x1e4c8c=_0x51ced9,_0x142f14;_0x3870c3===((_0x142f14=this['_awaitingChangeset'])==null?void 0x0:_0x142f14[_0x1e4c8c(0x10b)])&&(this[_0x1e4c8c(0x31d)](),this[_0x1e4c8c(0x29d)]=_0x58fab5===0x0?0x3e8:_0x58fab5*0x2);}[_0x51ced9(0x1ab)](){var _0x4b7572;(_0x4b7572=this['_sender'])==null||_0x4b7572['unsubscribe'](),this['_resendTimeout']=0x0;}};_e=Ie([P(0x4,_0x22f2f4(_0x42afda)),P(0x5,_0x22f2f4(_0x390b06)),P(0x6,_0x398897),P(0x7,_0xe9f9bf),P(0x8,_0x49cd74),P(0x9,_0x32972a),P(0xa,_0x2d6fcc(J))],_e);let ae=class extends Te{constructor(_0x4a7776,_0x3dbcd2,_0x150d79,_0x2ed2fe,_0x5f29cf,_0x3f7e26,_0x1875e2,_0x59d738,_0x27c36d,_0x18ca19,_0x413d0a,_0x69f288,_0x206f97){var _0x56c136=_0x51ced9;super(_0x4a7776,_0x3dbcd2,_0x150d79,_0x2ed2fe,_0x5f29cf,_0x27c36d,_0x69f288,_0x59d738,_0x206f97),N(this,_0x56c136(0x370),'awaiting_with_pending'),N(this,'_resendTimeout',0x0),N(this,_0x56c136(0x28c)),N(this,'_sender'),(this[_0x56c136(0x29b)]=_0x1875e2,this[_0x56c136(0x1b6)]=_0x18ca19,this[_0x56c136(0x30a)]=_0x413d0a,this[_0x56c136(0x2fc)]=_0x206f97,_0x3f7e26&&(this['_resendTimer']=_0x3f7e26,this[_0x56c136(0x2eb)]=this[_0x56c136(0x28c)][_0x56c136(0x290)](({reqId:_0x2bba7c,timeout:_0x4421a1})=>{this['_resendWithTimeout'](_0x2bba7c,_0x4421a1);})));}['appendMutation'](_0x53acef){var _0x3f6646=_0x51ced9;return this[_0x3f6646(0x194)]['push'](_0x53acef),this;}[_0x51ced9(0x104)](_0xf767a1){var _0x5edfcf=_0x51ced9;if(this['_checkMissing'](_0xf767a1))return this[_0x5edfcf(0x1ab)](),this[_0x5edfcf(0x29b)]['createInstance'](Q,this[_0x5edfcf(0x327)],this['type'],this[_0x5edfcf(0x17a)],this[_0x5edfcf(0x194)],null,[_0xf767a1],this['_handler']);try{const _0x50a973=this[_0x5edfcf(0x30a)]['transformChangesets']([_0xf767a1],[this['_awaitingChangeset']],!0x1);if(_0x91dd0b(_0x50a973)){const {c1Prime:_0x5824c2,c2Prime:_0x41d9d4}=_0x50a973,_0x19989e=this['_transformService']['transformMutationsWithChangeset'](_0x5824c2[0x0],this[_0x5edfcf(0x194)]);if(_0x33c742(_0x19989e)){const {c1Prime:_0x5a5083,m2Prime:_0x3666cf}=_0x19989e;return this['_executeRemoteChangeset'](_0x5a5083),_0x41d9d4[0x0][_0x5edfcf(0xe7)]=this['_getCurrentRevision'](),this['_clearScheduledTask'](),this[_0x5edfcf(0x29b)][_0x5edfcf(0x326)](ae,this[_0x5edfcf(0x327)],this['type'],_0x41d9d4[0x0],_0x3666cf,this[_0x5edfcf(0x271)],void 0x0);}throw _0x19989e[_0x5edfcf(0x377)];}throw _0x50a973[_0x5edfcf(0x377)];}catch(_0x53de0b){return this[_0x5edfcf(0x1b6)]['error'](_0x53de0b),this[_0x5edfcf(0x361)](!0x1);}}[_0x51ced9(0x1e0)](_0x5c0280){var _0x2ad77f=_0x51ced9;if(this[_0x2ad77f(0x1ab)](),this[_0x2ad77f(0x193)](_0x5c0280))return this[_0x2ad77f(0x29b)][_0x2ad77f(0x326)](Q,this[_0x2ad77f(0x327)],this[_0x2ad77f(0x2d6)],null,this[_0x2ad77f(0x194)],this[_0x2ad77f(0x17a)],[],this[_0x2ad77f(0x271)]);this[_0x2ad77f(0x2a4)]();const _0x42a6e4=this[_0x2ad77f(0x29b)]['createInstance'](re,this[_0x2ad77f(0x327)],this[_0x2ad77f(0x2d6)],this[_0x2ad77f(0x194)],this[_0x2ad77f(0x271)]);return _0x42a6e4[_0x2ad77f(0x2d4)](),_0x42a6e4[_0x2ad77f(0xff)](),_0x42a6e4;}[_0x51ced9(0x36e)](_0x5d2306){var _0x315280=_0x51ced9;return this[_0x315280(0x361)](!!(_0x5d2306!=null&&_0x5d2306[_0x315280(0x334)]));}[_0x51ced9(0x142)](_0xd81cff){var _0x539056=_0x51ced9;return this[_0x539056(0x29d)]>Ci?this[_0x539056(0x3b5)]():(this['_resendTimer']=Ii(this[_0x539056(0x29d)],{'timeout':this['_resendTimeout'],'reqId':_0xd81cff[_0x539056(0x10b)]}),this['_sender']=this[_0x539056(0x28c)][_0x539056(0x290)](({reqId:_0x1efea8,timeout:_0x1da10b})=>{this['_resendWithTimeout'](_0x1efea8,_0x1da10b);}),this);}[_0x51ced9(0x3b5)](){var _0x1a1f71=_0x51ced9;return this[_0x1a1f71(0x1ab)](),this[_0x1a1f71(0x29b)]['createInstance'](ue,this[_0x1a1f71(0x327)],this[_0x1a1f71(0x2d6)],this[_0x1a1f71(0x17a)],this[_0x1a1f71(0x194)],this[_0x1a1f71(0x271)]);}[_0x51ced9(0xd6)](){return this;}['resend'](){var _0x32ac2d=_0x51ced9;this[_0x32ac2d(0x271)]['onSendChangeset'](this[_0x32ac2d(0x17a)]);}[_0x51ced9(0x361)](_0x2489f7){var _0x6f12f6=_0x51ced9;return this[_0x6f12f6(0x1ab)](),this[_0x6f12f6(0x29b)][_0x6f12f6(0x326)](le,this[_0x6f12f6(0x327)],this[_0x6f12f6(0x2d6)],null,this['_pendingMutations'],this[_0x6f12f6(0x271)],_0x2489f7);}[_0x51ced9(0x1fc)](_0x593a69,_0x15beff){var _0x4fe252=_0x51ced9,_0x36a453;_0x593a69===((_0x36a453=this[_0x4fe252(0x17a)])==null?void 0x0:_0x36a453[_0x4fe252(0x10b)])&&(this[_0x4fe252(0x31d)](),this['_resendTimeout']=_0x15beff===0x0?0x3e8:_0x15beff*0x2);}[_0x51ced9(0x1ab)](){var _0x31d07d=_0x51ced9,_0x3bb99b;(_0x3bb99b=this[_0x31d07d(0x2eb)])==null||_0x3bb99b[_0x31d07d(0x295)](),this['_resendTimeout']=0x0;}};ae=Ie([P(0x6,_0x22f2f4(_0x42afda)),P(0x7,_0x22f2f4(_0x390b06)),P(0x8,_0x398897),P(0x9,_0xe9f9bf),P(0xa,_0x49cd74),P(0xb,_0x32972a),P(0xc,_0x2d6fcc(J))],ae);let le=class extends Te{constructor(_0x546e84,_0x3ff24d,_0x3f5066,_0x1368cf,_0x5eb61a,_0x205c5b=!0x1,_0x1776b5,_0x1a67e7,_0x1d8b16,_0x296900,_0x4ea45a,_0x17035f,_0x2767b4){var _0x426210=_0x51ced9;super(_0x546e84,_0x3ff24d,_0x3f5066,_0x1368cf,_0x5eb61a,_0x1a67e7,_0x1d8b16,_0x296900,_0x2767b4),N(this,_0x426210(0x370),'conflict'),(this[_0x426210(0x166)]=_0x205c5b,this[_0x426210(0x184)]=_0x1776b5,this[_0x426210(0x19b)]=_0x4ea45a,this['_collaborationUIEventService']=_0x17035f,this[_0x426210(0x2fc)]=_0x2767b4,this['_showConflictNotification'](),this[_0x426210(0xbb)](),this[_0x426210(0x28b)]());}[_0x51ced9(0x150)](){return this;}['onRemoteChangeset'](){return this;}[_0x51ced9(0x1e0)](){return this;}[_0x51ced9(0x36e)](){return this;}[_0x51ced9(0x142)](){return this;}[_0x51ced9(0x3b5)](){return this;}['toggleOnline'](){return this;}['resend'](){throw new Error('[ConflictState]:\x20invalid\x20calling\x20to\x20`resend`.');}[_0x51ced9(0xbb)](){var _0x3e6d90=_0x51ced9,_0x15f882;(_0x15f882=this['_localCacheService'])==null||_0x15f882[_0x3e6d90(0x21c)](this[_0x3e6d90(0x327)],this[_0x3e6d90(0x2d6)],null,[]);}[_0x51ced9(0x322)](){var _0x37f856=_0x51ced9;this['_isPermissionRej']?this[_0x37f856(0x119)]['emitEvent']({'id':ne[_0x37f856(0x201)]}):this[_0x37f856(0x119)][_0x37f856(0x124)]({'id':ne[_0x37f856(0x10a)]});}[_0x51ced9(0x28b)](){var _0x364c7b=_0x51ced9;this[_0x364c7b(0x184)]['updatePermissionPoint'](new _0x69927c(this[_0x364c7b(0x327)])['id'],!0x1);}};le=Ie([P(0x6,_0x22f2f4(_0x23b67b)),P(0x7,_0x398897),P(0x8,_0x32972a),P(0x9,_0x22f2f4(_0x390b06)),P(0xa,_0x22f2f4(_0x462003)),P(0xb,_0x22f2f4(ve)),P(0xc,_0x2d6fcc(J))],le);let ue=class extends Te{constructor(_0x45f5f9,_0x1f9947,_0x2b17ec,_0x1c43c4,_0x101dbb,_0x330e76,_0x25a8ff,_0x13833,_0x299a40,_0x2684e1){var _0xab6411=_0x51ced9;super(_0x45f5f9,_0x1f9947,_0x2b17ec,_0x1c43c4,_0x101dbb,_0x13833,_0x299a40,_0x25a8ff,_0x2684e1),N(this,'status',_0xab6411(0x3b2)),this[_0xab6411(0x29b)]=_0x330e76;}['appendMutation'](_0x3d02da){var _0x3d1a58=_0x51ced9;return this['_pendingMutations'][_0x3d1a58(0x26c)](_0x3d02da),this[_0x3d1a58(0xff)](),this;}[_0x51ced9(0x104)](_0x3e94fd){var _0x558310=_0x51ced9;throw new Error(_0x558310(0x1bf));}[_0x51ced9(0x1e0)](){var _0x5ed39e=_0x51ced9;throw new Error(_0x5ed39e(0x18c));}[_0x51ced9(0x36e)](){var _0x211e73=_0x51ced9;throw new Error(_0x211e73(0x15c));}[_0x51ced9(0x142)](){return this;}['toggleOffline'](){return this;}[_0x51ced9(0xd6)](){var _0xdbba17=_0x51ced9;const {_injector:_0x317125,_pendingMutations:_0x4be1f1,_awaitingChangeset:_0x4d04b0,unitID:_0x611a1f,_handler:_0x315293,type:_0x3e66fb}=this,_0x43c7c7=Ri(_0x317125,_0x611a1f,_0x3e66fb,_0x4d04b0,_0x4be1f1,_0x315293);return _0x43c7c7 instanceof re?_0x43c7c7[_0xdbba17(0x2d4)]():(_0x43c7c7 instanceof ae||_0x43c7c7 instanceof _e)&&_0x43c7c7[_0xdbba17(0x31d)](),_0x43c7c7;}['resend'](){var _0x1754b5=_0x51ced9;throw new Error(_0x1754b5(0x22f));}};ue=Ie([P(0x5,_0x22f2f4(_0x42afda)),P(0x6,_0x22f2f4(_0x390b06)),P(0x7,_0x398897),P(0x8,_0x32972a),P(0x9,_0x2d6fcc(J))],ue);let Q=class extends Te{constructor(_0x2ee037,_0x5ddd20,_0x34b7f5,_0x38ac0c,_0x2a6482,_0x18e753,_0x3b0cc1,_0x4d89b2,_0x162b38,_0x2f1fb9,_0x85a529,_0x1bfcad,_0x416ef4,_0x52efc8){var _0xf6f617=_0x51ced9;super(_0x2ee037,_0x5ddd20,_0x34b7f5,_0x38ac0c,_0x3b0cc1,_0x85a529,_0x1bfcad,_0x162b38,_0x52efc8),N(this,'status',_0xf6f617(0x3a7)),(this[_0xf6f617(0x371)]=_0x2a6482,this[_0xf6f617(0x14a)]=_0x18e753,this[_0xf6f617(0x29b)]=_0x4d89b2,this['_logService']=_0x2f1fb9,this[_0xf6f617(0x30a)]=_0x416ef4,this[_0xf6f617(0x2fc)]=_0x52efc8);}[_0x51ced9(0x362)](_0x4d1c77){var _0xe092b3=_0x51ced9;try{const _0x40b201=[..._0x4d1c77,...this[_0xe092b3(0x14a)]],_0x376c9a=[this['_awaitingChangeset']||this[_0xe092b3(0x371)]][_0xe092b3(0xf1)](_0x43d746=>!!_0x43d746);let _0x21a1bb,_0x2ae22b;if(_0x376c9a[_0xe092b3(0x395)]){const _0x48752b=this[_0xe092b3(0x30a)][_0xe092b3(0x30e)](_0x40b201,_0x376c9a,!0x1);if(!_0x91dd0b(_0x48752b))throw _0x48752b[_0xe092b3(0x377)];_0x21a1bb=_0x48752b['c1Prime'],_0x2ae22b=_0x48752b[_0xe092b3(0x34b)];}else _0x21a1bb=_0x40b201,_0x2ae22b=[];let _0x3b8910=this[_0xe092b3(0x194)];_0x21a1bb['forEach'](_0x5cc7dd=>{var _0x51b303=_0xe092b3;let _0x1aa939;if(_0x3b8910[_0x51b303(0x395)]){const _0x1e6ce8=this[_0x51b303(0x30a)][_0x51b303(0x2fa)](_0x5cc7dd,_0x3b8910);if(!_0x33c742(_0x1e6ce8))throw _0x1e6ce8[_0x51b303(0x377)];_0x1aa939=_0x1e6ce8[_0x51b303(0x172)],_0x3b8910=_0x1e6ce8[_0x51b303(0x211)];}else _0x1aa939=_0x5cc7dd;this[_0x51b303(0x110)](_0x1aa939);}),this[_0xe092b3(0x371)]&&this[_0xe092b3(0x2a4)](),this['_awaitingChangeset']&&_0x2ae22b[_0xe092b3(0x395)]&&(_0x2ae22b[0x0]['baseRev']=this[_0xe092b3(0x3b4)]());let _0x278758;if(this[_0xe092b3(0x17a)]&&_0x3b8910[_0xe092b3(0x395)]!==0x0)_0x278758=this[_0xe092b3(0x29b)][_0xe092b3(0x326)](ae,this[_0xe092b3(0x327)],this[_0xe092b3(0x2d6)],_0x2ae22b[0x0],_0x3b8910,this[_0xe092b3(0x271)],void 0x0);else{if(this[_0xe092b3(0x17a)]&&_0x3b8910[_0xe092b3(0x395)]===0x0)_0x2ae22b[0x0]['baseRev']=this[_0xe092b3(0x3b4)](),_0x278758=this['_injector'][_0xe092b3(0x326)](_e,this[_0xe092b3(0x327)],this['type'],_0x2ae22b[0x0],this[_0xe092b3(0x271)]);else{if(_0x3b8910[_0xe092b3(0x395)]!==0x0){const _0x88a346=this['_injector'][_0xe092b3(0x326)](re,this[_0xe092b3(0x327)],this[_0xe092b3(0x2d6)],_0x3b8910,this['_handler']);_0x88a346['_schedule'](),_0x278758=_0x88a346;}else _0x278758=this['_injector'][_0xe092b3(0x326)](ye,this[_0xe092b3(0x327)],this[_0xe092b3(0x2d6)],this[_0xe092b3(0x271)]);}}return _0x278758['_updateLocalCache'](),_0x278758;}catch(_0x39e42a){return this[_0xe092b3(0x1b6)][_0xe092b3(0x377)]('[FetchMissState]',_0xe092b3(0x16f),_0x39e42a),this['_injector'][_0xe092b3(0x326)](le,this[_0xe092b3(0x327)],this[_0xe092b3(0x2d6)],this[_0xe092b3(0x17a)],this['_pendingMutations'],this[_0xe092b3(0x271)],!0x1);}}[_0x51ced9(0x31d)](){var _0x35e31b=_0x51ced9;throw new Error(_0x35e31b(0x394));}[_0x51ced9(0x150)](_0x1169e5){var _0x2f2514=_0x51ced9;return this[_0x2f2514(0x194)][_0x2f2514(0x26c)](_0x1169e5),this;}[_0x51ced9(0x104)](_0x5b2fab){var _0x47f076=_0x51ced9;return this[_0x47f076(0x14a)][_0x47f076(0x26c)](_0x5b2fab),this;}['onRemoteAck'](_0x1c1d84){var _0x12608d=_0x51ced9;if(this['_awaitingChangeset'])return this[_0x12608d(0x371)]=this[_0x12608d(0x17a)],this['_awaitingChangeset']=null,this;throw new Error(_0x12608d(0x220));}[_0x51ced9(0x36e)](_0x5ee4c5){var _0x171124=_0x51ced9;return this[_0x171124(0x361)](!!(_0x5ee4c5!=null&&_0x5ee4c5['isPermissionRej']));}[_0x51ced9(0x142)](){return this;}[_0x51ced9(0x3b5)](){var _0x3a977d=_0x51ced9;return this[_0x3a977d(0x29b)][_0x3a977d(0x326)](ue,this[_0x3a977d(0x327)],this['type'],this[_0x3a977d(0x17a)],this[_0x3a977d(0x194)],this[_0x3a977d(0x271)]);}['toggleOnline'](){return this;}[_0x51ced9(0x361)](_0x41c3ed){var _0x33a854=_0x51ced9;return this[_0x33a854(0x29b)][_0x33a854(0x326)](le,this[_0x33a854(0x327)],this[_0x33a854(0x2d6)],this['_awaitingChangeset'],this[_0x33a854(0x194)],this[_0x33a854(0x271)],_0x41c3ed);}};Q=Ie([P(0x7,_0x22f2f4(_0x42afda)),P(0x8,_0x22f2f4(_0x390b06)),P(0x9,_0xe9f9bf),P(0xa,_0x398897),P(0xb,_0x32972a),P(0xc,_0x49cd74),P(0xd,_0x2d6fcc(J))],Q);function Ri(_0x38752a,_0x25a9ff,_0x463065,_0x363a66,_0x1a7c56,_0x5f32a9){var _0x3e1d91=_0x51ced9;return _0x363a66&&_0x1a7c56[_0x3e1d91(0x395)]?_0x38752a['createInstance'](ae,_0x25a9ff,_0x463065,_0x363a66,_0x1a7c56,_0x5f32a9,void 0x0):_0x363a66?_0x38752a[_0x3e1d91(0x326)](_e,_0x25a9ff,_0x463065,_0x363a66,_0x5f32a9):_0x1a7c56['length']?_0x38752a['createInstance'](re,_0x25a9ff,_0x463065,_0x1a7c56,_0x5f32a9):_0x38752a[_0x3e1d91(0x326)](ye,_0x25a9ff,_0x463065,_0x5f32a9);}var Zs=Object[_0x51ced9(0x264)],wt=(_0x1adc2e,_0x425cff,_0x8f813a,_0x48b086)=>{var _0x3f98fa=_0x51ced9;for(var _0x58b8fb=_0x48b086>0x1?void 0x0:_0x48b086?Zs(_0x425cff,_0x8f813a):_0x425cff,_0x5bccb5=_0x1adc2e[_0x3f98fa(0x395)]-0x1,_0x4e24ba;_0x5bccb5>=0x0;_0x5bccb5--)(_0x4e24ba=_0x1adc2e[_0x5bccb5])&&(_0x58b8fb=_0x4e24ba(_0x58b8fb)||_0x58b8fb);return _0x58b8fb;},H=(_0x2066f2,_0x556ee1)=>(_0x3f497a,_0xdf404a)=>_0x556ee1(_0x3f497a,_0xdf404a,_0x2066f2);let st=class extends _0x47b106{constructor(_0xdda82f,_0x46427d,_0x37b524,_0x9d3017,_0x8c6a4a,_0xe8fefb,_0x560824,_0x3bcaa9,_0x74bd02,_0xabda11,_0x564fb1,_0x5aed87,_0x12c032){var _0x351c1a=_0x51ced9;super(),N(this,_0x351c1a(0x195),new _0x1e913a(null)),N(this,'state$',this[_0x351c1a(0x195)]['asObservable']()),N(this,'_state'),N(this,'_collaborationPaused',!0x1),N(this,'_changesetSessionId',''),N(this,'_changesetReqId',0x0),N(this,'status$',this['state$'][_0x351c1a(0x2f8)](_0x3f4f22(_0x3e43f4=>_0x3e43f4?_0x3e43f4['status']:Ti[_0x351c1a(0x1eb)]),_0x1ca56d(0x1))),N(this,_0x351c1a(0xd0),!0x1),N(this,_0x351c1a(0x3a9),[]),(this[_0x351c1a(0x327)]=_0xdda82f,this[_0x351c1a(0x11b)]=_0x46427d,this[_0x351c1a(0x336)]=_0x37b524,this[_0x351c1a(0x29b)]=_0x9d3017,this[_0x351c1a(0xe3)]=_0x8c6a4a,this['_localeService']=_0xe8fefb,this[_0x351c1a(0xfd)]=_0x560824,this[_0x351c1a(0x232)]=_0x3bcaa9,this['_logService']=_0x74bd02,this[_0x351c1a(0x375)]=_0xabda11,this[_0x351c1a(0x184)]=_0x564fb1,this[_0x351c1a(0xbe)]=_0x5aed87,this[_0x351c1a(0x2c5)]=_0x12c032);}get[_0x51ced9(0x1f5)](){return this['_state'];}async[_0x51ced9(0xf3)](){var _0x41a494=_0x51ced9;if(this[_0x41a494(0x1f5)])throw new Error(_0x41a494(0x2f6));await this['_init']();}[_0x51ced9(0x16c)](){var _0x107637=_0x51ced9;return this[_0x107637(0x123)]=!0x0,_0x311c67(()=>{var _0x317d2a=_0x107637;this[_0x317d2a(0x123)]=!0x1,this['_exhaustRemoteChangesetQueue']();});}[_0x51ced9(0x237)](_0x207026){var _0x4bf2ad=_0x51ced9;this[_0x4bf2ad(0x177)](_0x207026);}[_0x51ced9(0x27f)](_0x3e59cb){var _0x13f7bc=_0x51ced9;this[_0x13f7bc(0x23f)]=_0x3e59cb,this[_0x13f7bc(0x195)]['next'](_0x3e59cb);}async[_0x51ced9(0x192)](){var _0x5e97cf=_0x51ced9,_0x4fe4e3;this[_0x5e97cf(0x27f)](await this['_createInitialState']()),this[_0x5e97cf(0xbe)]&&((_0x4fe4e3=this['_singleActiveUnitService'])==null||_0x4fe4e3[_0x5e97cf(0x20b)](this[_0x5e97cf(0x327)]),this['disposeWithMe'](this[_0x5e97cf(0xbe)][_0x5e97cf(0x2af)](this['unitID'])[_0x5e97cf(0x290)](_0x4f26c3=>{var _0x3509c4=_0x5e97cf;this['_logService'][_0x3509c4(0x383)](_0x3509c4(0x1a2),_0x3509c4(0x10f),_0x4f26c3),_0x4f26c3===Ei['OTHER_CLIENTS_EDITING']?(this['_eventService'][_0x3509c4(0x124)]({'id':ne['OTHER_CLIENT_EDITING']}),this[_0x3509c4(0x184)]['updatePermissionPoint'](new _0x69927c(this['unitID'])['id'],!0x1),this[_0x3509c4(0x184)][_0x3509c4(0x12e)](!0x1)):(this[_0x3509c4(0x184)][_0x3509c4(0x319)](new _0x69927c(this[_0x3509c4(0x327)])['id'],!0x0),this['_permissionService']['setShowComponents'](!0x0));})));let _0x353f0b=!0x1;return this[_0x5e97cf(0x306)](this['session'][_0x5e97cf(0x262)][_0x5e97cf(0x290)](_0x176064=>{var _0x1673d9=_0x5e97cf;_0x176064===Se[_0x1673d9(0x372)]?this['_toggleOnline'](_0x353f0b):_0x176064===Se['OFFLINE']&&(_0x353f0b=!0x0,this[_0x1673d9(0x1d9)]());})),this[_0x5e97cf(0x306)](this[_0x5e97cf(0x11b)][_0x5e97cf(0x2c4)][_0x5e97cf(0x290)](_0x1e592b=>{var _0x4d3504=_0x5e97cf;try{switch(_0x1e592b[_0x4d3504(0x1c1)]){case _0x509d65[_0x4d3504(0xd3)]:{this[_0x4d3504(0x381)](_0x18da5e(_0x1e592b[_0x4d3504(0x100)]));break;}case _0x509d65[_0x4d3504(0x1cf)]:{this[_0x4d3504(0x2cd)](_0x1e592b[_0x4d3504(0x100)]);break;}case _0x509d65['CHANGESET_REJ']:{this[_0x4d3504(0x2a1)]();break;}case _0x509d65[_0x4d3504(0xcf)]:{this[_0x4d3504(0x188)](_0x1e592b[_0x4d3504(0x100)]);break;}case _0x509d65[_0x4d3504(0x2f9)]:{this[_0x4d3504(0x2b5)](_0x1e592b[_0x4d3504(0x100)][_0x4d3504(0x33f)][_0x4d3504(0x367)](_0x16bb6b=>_0x18da5e(_0x16bb6b)));break;}case _0x509d65[_0x4d3504(0x259)]:{this['_onRemoteRejected']({'isPermissionRej':!0x0});break;}case _0x509d65[_0x4d3504(0x204)]:break;}}catch(_0x2cdfd3){throw console['error']('Error\x20on\x20receiving\x20event',_0x2cdfd3),_0x2cdfd3;}})),this[_0x5e97cf(0x23f)];}[_0x51ced9(0x269)](){var _0x11a5ee=_0x51ced9;this[_0x11a5ee(0xd0)]=!0x1;}[_0x51ced9(0x1fe)](){var _0x8a1150=_0x51ced9;if(this[_0x8a1150(0xd0)])throw new Error('[CollaborationEntity]:\x20cannot\x20lock\x20transition\x20twice!\x20This\x20is\x20an\x20implementation\x20error,\x20meaning\x20you\x20transit\x20the\x20collaboration\x20state\x20again\x20in\x20the\x20process\x20of\x20a\x20previous\x20transition.\x20This\x20should\x20never\x20happen.');this['_transitionLocked']=!0x0;}[_0x51ced9(0x177)](_0x50773e){var _0xbfc49c=_0x51ced9;this[_0xbfc49c(0x1fe)](),this[_0xbfc49c(0x27f)](this['_state'][_0xbfc49c(0x150)](_0x50773e)),this['_unlockTransition']();}[_0x51ced9(0x381)](_0x362bb8){var _0x383edc=_0x51ced9;if(!(_0x362bb8['revision']<=this[_0x383edc(0xfd)][_0x383edc(0x20f)](this[_0x383edc(0x327)]))){if(this[_0x383edc(0x123)]){this[_0x383edc(0x3a9)][_0x383edc(0x26c)](_0x362bb8);return;}this[_0x383edc(0x102)](_0x362bb8);}}[_0x51ced9(0x349)](){var _0x404a88=_0x51ced9;this[_0x404a88(0x3a9)]['forEach'](_0x592d28=>this[_0x404a88(0x102)](_0x592d28)),this[_0x404a88(0x3a9)]=[];}[_0x51ced9(0x102)](_0x9eb439){var _0x324df7=_0x51ced9;const _0x5c1409=this[_0x324df7(0xe3)]['interceptor'][_0x324df7(0x127)](this[_0x324df7(0xe3)][_0x324df7(0x35b)][_0x324df7(0x1aa)]()[_0x324df7(0xe5)])(_0x9eb439[_0x324df7(0x178)],null)||_0x9eb439['mutations'],_0x359934={..._0x9eb439,'mutations':_0x5c1409};this[_0x324df7(0x1fe)](),this['_updateState'](this[_0x324df7(0x23f)][_0x324df7(0x104)](_0x359934)),this[_0x324df7(0x269)]();}[_0x51ced9(0x2cd)](_0x35bdce){var _0x4671e5=_0x51ced9;this[_0x4671e5(0x1fe)](),this[_0x4671e5(0x27f)](this[_0x4671e5(0x23f)]['onRemoteAck'](_0x35bdce)),this[_0x4671e5(0x269)]();}['_onRemoteRejected'](_0x268276){var _0x3fdb54=_0x51ced9;this[_0x3fdb54(0x1fe)](),this[_0x3fdb54(0x27f)](this[_0x3fdb54(0x23f)]['onRemoteRej'](_0x268276)),this[_0x3fdb54(0x269)]();}[_0x51ced9(0x188)](_0x28fcbe){var _0x53c503=_0x51ced9;this['_lockTransition'](),this[_0x53c503(0x27f)](this['_state'][_0x53c503(0x142)](_0x28fcbe)),this[_0x53c503(0x269)]();}[_0x51ced9(0x2b5)](_0x22cb70){var _0x39a30a=_0x51ced9;if(!(this[_0x39a30a(0x23f)]instanceof Q))throw new TypeError(_0x39a30a(0x398));const _0x2fd54f=_0x22cb70[_0x39a30a(0x367)](_0x5791cd=>{var _0x125e6d=_0x39a30a;const _0x495c1e=this['_compressMutationService']['interceptor'][_0x125e6d(0x127)](this['_compressMutationService'][_0x125e6d(0x35b)][_0x125e6d(0x1aa)]()['COMPRESS_MUTATION_APPLY'])(_0x5791cd[_0x125e6d(0x178)],null)||_0x5791cd[_0x125e6d(0x178)];return{..._0x5791cd,'mutations':_0x495c1e};});this['_lockTransition'](),this[_0x39a30a(0x27f)](this[_0x39a30a(0x23f)]['onMissedChangesetFetched'](_0x2fd54f)),this[_0x39a30a(0x269)]();}[_0x51ced9(0x1d9)](){var _0x4d2da7=_0x51ced9;this[_0x4d2da7(0x1fe)](),this[_0x4d2da7(0x27f)](this[_0x4d2da7(0x23f)][_0x4d2da7(0x3b5)]()),this[_0x4d2da7(0x269)]();}[_0x51ced9(0xbd)](_0x2951d7=!0x1){var _0x3dffc1=_0x51ced9;this[_0x3dffc1(0x1fe)](),this['_updateState'](this['_state']['toggleOnline']()),this[_0x3dffc1(0x269)]();const _0x819114=this[_0x3dffc1(0x23f)];_0x2951d7&&_0x819114 instanceof ye&&(this[_0x3dffc1(0x1fe)](),this[_0x3dffc1(0x27f)](_0x819114[_0x3dffc1(0x325)]()),this[_0x3dffc1(0x269)]());}async[_0x51ced9(0x1d6)](){return new Promise(_0x12b0f8=>{var _0x3d9f88=_0xfe49;this[_0x3d9f88(0x11b)]['sessionStatus$'][_0x3d9f88(0x2f8)](_0x5dc821(0x1))[_0x3d9f88(0x290)](async _0x36baaf=>{var _0x5141ab=_0x3d9f88;_0x12b0f8(await this['_createInitialStateImpl'](_0x36baaf===Se[_0x5141ab(0x372)]));});});}[_0x51ced9(0x19a)](){const _0x29463a=this['unitID'];return{'onStateChange':(_0x5542bd,_0x506e39)=>{var _0x14fdea=_0xfe49;if(_0x5542bd!==this[_0x14fdea(0x23f)])throw new Error(_0x14fdea(0x106)+_0x5542bd[_0x14fdea(0x370)]+_0x14fdea(0x373)+_0x506e39['status']+_0x14fdea(0x2c6)+this['_state'][_0x14fdea(0x370)]);this[_0x14fdea(0x27f)](_0x506e39);},'onSendChangeset':_0x9b5820=>{var _0x53a669=_0xfe49;_0x9b5820['sid']||(_0x9b5820[_0x53a669(0xe0)]=this['_changesetSessionId'],_0x9b5820[_0x53a669(0x10b)]=++this[_0x53a669(0x19f)]);const _0x227701={'eventID':_0x509d65['SUBMIT_CHANGESET'],'data':{'unitID':_0x9b5820['unitID'],'unitType':this[_0x53a669(0x336)],'changeset':_0x9b5820,'memberID':this[_0x53a669(0x11b)][_0x53a669(0x1c7)]()}};this['session']['send'](_0x227701,this[_0x53a669(0x327)]);},'onMissingChangesets':({from:_0x630d6f,to:_0x475cc})=>{var _0x14a2f0=_0xfe49;this[_0x14a2f0(0x1b6)][_0x14a2f0(0x383)]('[CollaborationEntity]',_0x14a2f0(0x283)+_0x630d6f+'\x20to\x20'+_0x475cc);const _0x387166={'eventID':_0x509d65[_0x14a2f0(0x2e4)],'data':{'unitID':_0x29463a,'unitType':this['_type'],'from':_0x630d6f,'to':_0x475cc}};this[_0x14a2f0(0x11b)][_0x14a2f0(0x35a)](_0x387166,this[_0x14a2f0(0x327)]);}};}async[_0x51ced9(0x329)](_0x30c106){var _0x25e036=_0x51ced9,_0x30e524,_0x485603,_0xc938d4;const _0x107f60=await((_0x30e524=this[_0x25e036(0x2c5)])==null?void 0x0:_0x30e524[_0x25e036(0x252)](this[_0x25e036(0x327)])),_0x100d40=(_0x485603=_0x107f60==null?void 0x0:_0x107f60[_0x25e036(0x178)])!=null?_0x485603:[],_0x4cf7e3=(_0xc938d4=_0x107f60==null?void 0x0:_0x107f60[_0x25e036(0x28d)])!=null?_0xc938d4:null,_0x53d7b3=!!(_0x4cf7e3!=null&&_0x4cf7e3['sid'])&&!!(_0x4cf7e3!=null&&_0x4cf7e3['reqId']);this[_0x25e036(0x352)]=_0x53d7b3?_0x4cf7e3[_0x25e036(0xe0)]:_0x353d6e(),this[_0x25e036(0x19f)]=_0x53d7b3?_0x4cf7e3[_0x25e036(0x10b)]:0x0;const _0x119e54=this[_0x25e036(0x327)];try{this[_0x25e036(0x1c5)](_0x4cf7e3,_0x100d40);}catch(_0x50a204){this['_logService'][_0x25e036(0x377)](_0x50a204);}const _0x4d2401=this[_0x25e036(0x19a)]();if(_0x30c106){const _0x357170=Ri(this['_injector'],_0x119e54,this['_type'],_0x4cf7e3,_0x100d40,_0x4d2401);return _0x357170 instanceof re?_0x357170[_0x25e036(0x2d4)]():(_0x357170 instanceof ae||_0x357170 instanceof _e)&&_0x357170[_0x25e036(0x31d)](),_0x357170;}return this[_0x25e036(0x29b)]['createInstance'](ue,_0x119e54,this[_0x25e036(0x336)],_0x4cf7e3,_0x100d40,_0x4d2401);}[_0x51ced9(0x1c5)](_0x252053,_0x36a7f5){var _0x18e6df=_0x51ced9,_0x4f3899,_0x2bab6e;const _0x256dfb=this[_0x18e6df(0xe3)]['interceptor'][_0x18e6df(0x127)](this[_0x18e6df(0xe3)][_0x18e6df(0x35b)][_0x18e6df(0x1aa)]()[_0x18e6df(0xe5)]);(_0x4f3899=_0x256dfb((_0x252053==null?void 0x0:_0x252053[_0x18e6df(0x178)])||[],null))==null||_0x4f3899['forEach'](_0x19966a=>this['_commandService'][_0x18e6df(0xb8)](_0x19966a['id'],_0x19966a[_0x18e6df(0x2ef)])),(_0x2bab6e=_0x256dfb(_0x36a7f5||[],null))==null||_0x2bab6e[_0x18e6df(0x39c)](_0x4d4e1b=>this[_0x18e6df(0x375)]['executeCommand'](_0x4d4e1b['id'],_0x4d4e1b[_0x18e6df(0x2ef)]));}};st=wt([H(0x3,_0x22f2f4(_0x42afda)),H(0x4,_0x22f2f4(_0x29865b)),H(0x5,_0x22f2f4(_0x462003)),H(0x6,_0x22f2f4(_0x390b06)),H(0x7,_0x22f2f4(ve)),H(0x8,_0xe9f9bf),H(0x9,_0x398897),H(0xa,_0x23b67b),H(0xb,_0x2d6fcc(ht)),H(0xc,_0x2d6fcc(J))],st);let St=class extends st{constructor(_0x1b5b8a,_0x15c29f,_0x221729,_0x28c7c9,_0x5f5569,_0x1cf572,_0x3ed057,_0x551d14,_0x3f9143,_0xe5e99d,_0x464ddd,_0x471be8,_0x37a7a3){var _0x1f9f35=_0x51ced9;super(_0x1b5b8a,_0x221729,_0x15c29f,_0x28c7c9,_0x5f5569,_0x1cf572,_0x3ed057,_0x551d14,_0x3f9143,_0xe5e99d,_0x464ddd,_0x471be8,_0x37a7a3),N(this,'_handlerCallback',null),(this[_0x1f9f35(0x327)]=_0x1b5b8a,this[_0x1f9f35(0x2d6)]=_0x15c29f);}[_0x51ced9(0x179)](_0x9b85a0){this['_handlerCallback']=_0x9b85a0;}['dispose'](){var _0x5b9121=_0x51ced9;this[_0x5b9121(0x2d0)]=null,super[_0x5b9121(0xf8)]();}[_0x51ced9(0x19a)](){var _0x23426e=_0x51ced9;const _0x59e0c1=super[_0x23426e(0x19a)]();return _0x59e0c1[_0x23426e(0x241)]=_0x292329=>{var _0x464c8b=_0x23426e,_0x3541fa,_0x49ff3f;return(_0x49ff3f=(_0x3541fa=this[_0x464c8b(0x2d0)])==null?void 0x0:_0x3541fa[_0x464c8b(0x241)])==null?void 0x0:_0x49ff3f[_0x464c8b(0x2b7)](_0x3541fa,_0x292329);},_0x59e0c1[_0x23426e(0x2dd)]=_0x5e71a6=>{var _0x448872=_0x23426e,_0x1ece20,_0x2a71d1;return(_0x2a71d1=(_0x1ece20=this[_0x448872(0x2d0)])==null?void 0x0:_0x1ece20[_0x448872(0x2dd)])==null?void 0x0:_0x2a71d1[_0x448872(0x2b7)](_0x1ece20,_0x5e71a6);},_0x59e0c1[_0x23426e(0x320)]=_0x4931e6=>{var _0xeac697=_0x23426e,_0x6ddd1,_0x51af24;return(_0x51af24=(_0x6ddd1=this[_0xeac697(0x2d0)])==null?void 0x0:_0x6ddd1['onTransformSelections'])==null?void 0x0:_0x51af24['call'](_0x6ddd1,_0x4931e6);},_0x59e0c1[_0x23426e(0x226)]=_0x5acf73=>{var _0x5c58a7=_0x23426e,_0x43da83,_0x1b6070;return(_0x1b6070=(_0x43da83=this[_0x5c58a7(0x2d0)])==null?void 0x0:_0x43da83['onSyncEditingCollabCursor'])==null?void 0x0:_0x1b6070[_0x5c58a7(0x2b7)](_0x43da83,_0x5acf73);},_0x59e0c1[_0x23426e(0x11c)]=_0x6faab7=>{var _0x4f7529=_0x23426e,_0x1a9736,_0x133ffb,_0x151bb4;if(!((_0x1a9736=this[_0x4f7529(0x2d0)])!=null&&_0x1a9736[_0x4f7529(0x11c)]))throw new Error(_0x4f7529(0x273));return(_0x151bb4=(_0x133ffb=this[_0x4f7529(0x2d0)])==null?void 0x0:_0x133ffb[_0x4f7529(0x11c)])==null?void 0x0:_0x151bb4['call'](_0x133ffb,_0x6faab7);},_0x59e0c1['onTransformRemoteChangesetByStateCache']=_0x5207bf=>{var _0x2971cb=_0x23426e,_0x5c1dce,_0x1024df,_0x138d5a;if(!((_0x5c1dce=this['_handlerCallback'])!=null&&_0x5c1dce[_0x2971cb(0x141)]))throw new Error(_0x2971cb(0x147));return(_0x138d5a=(_0x1024df=this['_handlerCallback'])==null?void 0x0:_0x1024df[_0x2971cb(0x141)])==null?void 0x0:_0x138d5a[_0x2971cb(0x2b7)](_0x1024df,_0x5207bf);},_0x59e0c1;}async['_init'](){var _0x52028f=_0x51ced9;const _0x289d62=await super[_0x52028f(0x192)]();return this[_0x52028f(0x306)](this[_0x52028f(0x375)][_0x52028f(0x2b6)]((_0x3e0902,_0x4f64bb)=>{var _0x46b0d8=_0x52028f;if(_0x3e0902[_0x46b0d8(0x2d6)]!==_0x42c2ff['MUTATION']||_0x4f64bb!=null&&_0x4f64bb[_0x46b0d8(0x348)]||_0x4f64bb!=null&&_0x4f64bb[_0x46b0d8(0x20c)]||_0x3e0902['id']===_0x48b3a5['id'])return;const _0x4b9095=_0x3e0902[_0x46b0d8(0x2ef)];if((_0x4b9095==null?void 0x0:_0x4b9095['unitId'])!==this[_0x46b0d8(0x327)])return;const _0x45edda=_0x3e0902,_0x2f707b=this['_compressMutationService'][_0x46b0d8(0x35b)]['fetchThroughInterceptors'](this[_0x46b0d8(0xe3)][_0x46b0d8(0x35b)][_0x46b0d8(0x1aa)]()[_0x46b0d8(0x368)])([_0x45edda],null)||[_0x45edda];this[_0x46b0d8(0x177)](_0x2f707b[0x0]);})),_0x289d62;}};St=wt([H(0x3,_0x22f2f4(_0x42afda)),H(0x4,_0x22f2f4(_0x29865b)),H(0x5,_0x22f2f4(_0x462003)),H(0x6,_0x22f2f4(_0x390b06)),H(0x7,_0x22f2f4(ve)),H(0x8,_0xe9f9bf),H(0x9,_0x398897),H(0xa,_0x23b67b),H(0xb,_0x2d6fcc(ht)),H(0xc,_0x2d6fcc(J))],St);let Et=class extends st{constructor(_0x49d121,_0x47b4f2,_0x110c61,_0x192db1,_0xb5378a,_0x94a96b,_0x52d01c,_0x383908,_0x1f6375,_0x2d588f,_0x445aeb,_0x4ff66b,_0x32e24c,_0x2abee9){var _0x2c9e41=_0x51ced9;super(_0x49d121,_0x110c61,_0x47b4f2,_0x192db1,_0xb5378a,_0x94a96b,_0x52d01c,_0x1f6375,_0x2d588f,_0x445aeb,_0x4ff66b,_0x32e24c,_0x2abee9),this[_0x2c9e41(0x327)]=_0x49d121,this[_0x2c9e41(0x2d6)]=_0x47b4f2,this['_sheetTransformSelectionsService']=_0x383908;}['_createHandler'](){var _0x2fdb5b=_0x51ced9;const _0x48c316=super[_0x2fdb5b(0x19a)]();return _0x48c316[_0x2fdb5b(0x320)]=_0x232fa7=>this['_sheetTransformSelectionsService'][_0x2fdb5b(0x1f8)](_0x232fa7),_0x48c316;}async[_0x51ced9(0x192)](){var _0x3a370e=_0x51ced9;const _0x11aa99=await super[_0x3a370e(0x192)]();return this[_0x3a370e(0x306)](this[_0x3a370e(0x375)][_0x3a370e(0x2b6)]((_0x309bae,_0x367b18)=>{var _0x392598=_0x3a370e;if(_0x309bae['type']!==_0x42c2ff['MUTATION']||_0x367b18!=null&&_0x367b18[_0x392598(0x348)]||_0x367b18!=null&&_0x367b18[_0x392598(0x20c)])return;const _0x25a1a6=_0x309bae[_0x392598(0x2ef)];if((_0x25a1a6==null?void 0x0:_0x25a1a6[_0x392598(0x212)])!==this[_0x392598(0x327)])return;const _0xdf8bb9=_0x309bae,_0x4ca88d=this[_0x392598(0xe3)][_0x392598(0x35b)]['fetchThroughInterceptors'](this[_0x392598(0xe3)][_0x392598(0x35b)][_0x392598(0x1aa)]()[_0x392598(0x368)])([_0xdf8bb9],null)||[_0xdf8bb9];this[_0x392598(0x177)](_0x4ca88d[0x0]);})),_0x11aa99;}};Et=wt([H(0x3,_0x22f2f4(_0x42afda)),H(0x4,_0x22f2f4(_0x29865b)),H(0x5,_0x22f2f4(_0x462003)),H(0x6,_0x22f2f4(_0x390b06)),H(0x7,_0x22f2f4(it)),H(0x8,_0x22f2f4(ve)),H(0x9,_0xe9f9bf),H(0xa,_0x398897),H(0xb,_0x23b67b),H(0xc,_0x2d6fcc(ht)),H(0xd,_0x2d6fcc(J))],Et);var Qs=Object[_0x51ced9(0x264)],en=(_0xb88bad,_0x5c69a6,_0x13cef4,_0x3a6fde)=>{var _0x47a2ba=_0x51ced9;for(var _0x33e929=_0x3a6fde>0x1?void 0x0:_0x3a6fde?Qs(_0x5c69a6,_0x13cef4):_0x5c69a6,_0x17fb9c=_0xb88bad[_0x47a2ba(0x395)]-0x1,_0x154f5d;_0x17fb9c>=0x0;_0x17fb9c--)(_0x154f5d=_0xb88bad[_0x17fb9c])&&(_0x33e929=_0x154f5d(_0x33e929)||_0x33e929);return _0x33e929;},Be=(_0x5359f4,_0x1147c8)=>(_0x86d99f,_0x36865c)=>_0x1147c8(_0x86d99f,_0x36865c,_0x5359f4);let nt=class extends _0x47b106{constructor(_0x2b4f93,_0x1b45ed,_0x4acf85,_0x5cc897){var _0x2d336f=_0x51ced9,_0x488caa;super(),N(this,_0x2d336f(0xee),new Map()),N(this,'_entityInit$',new _0x1b294e()),N(this,'entityInit$',this[_0x2d336f(0x332)][_0x2d336f(0x203)]()),(this[_0x2d336f(0x29b)]=_0x2b4f93,this[_0x2d336f(0x323)]=_0x1b45ed,this['_configService']=_0x4acf85,this[_0x2d336f(0x2ba)]=_0x5cc897,((_0x488caa=this[_0x2d336f(0x2b2)][_0x2d336f(0x363)](K))==null?void 0x0:_0x488caa[_0x2d336f(0x112)])!==!0x1&&this['_init']());}[_0x51ced9(0xf8)](){var _0x33f9e7=_0x51ced9;super[_0x33f9e7(0xf8)](),this[_0x33f9e7(0xee)][_0x33f9e7(0x39c)](_0x452713=>_0x452713[_0x33f9e7(0xf8)]()),this['_entities'][_0x33f9e7(0x23e)]();}[_0x51ced9(0x209)](_0x2bc440){var _0x53f282=_0x51ced9,_0x28184e;return(_0x28184e=this['_entities'][_0x53f282(0x301)](_0x2bc440))!=null?_0x28184e:null;}['getCollabEntity$'](_0x56481e){var _0x2af012=_0x51ced9;const _0x2df027=this[_0x2af012(0x209)](_0x56481e);return _0x2df027?_0xef4db0(_0x2df027):this[_0x2af012(0x332)][_0x2af012(0x2f8)](_0x1d9e3e(_0x9c90c=>_0x9c90c[_0x2af012(0x327)]===_0x56481e));}[_0x51ced9(0x13f)](_0x2eaf22){var _0x573269=_0x51ced9;return _0x2e8e8b(this[_0x573269(0x314)](_0x2eaf22)[_0x573269(0x2f8)](_0x3c37d3(()=>{})));}[_0x51ced9(0x192)](){var _0x3db7bb=_0x51ced9;this[_0x3db7bb(0x2ba)]['getTypeOfUnitAdded$'](_0x2989d4[_0x3db7bb(0x111)])['pipe'](_0x2446ec(this[_0x3db7bb(0x3b3)]),_0x4d8702(0x10))[_0x3db7bb(0x290)](async _0x10cea9=>{var _0x2209ef=_0x3db7bb;const _0x14082a=_0x10cea9[_0x2209ef(0x1b2)](),_0x413f69=await this[_0x2209ef(0xb4)](_0x14082a,Z['UNIVER_SHEET']);this[_0x2209ef(0xee)]['set'](_0x14082a,_0x413f69);}),this[_0x3db7bb(0x2ba)]['getTypeOfUnitAdded$'](_0x2989d4[_0x3db7bb(0x182)])[_0x3db7bb(0x2f8)](_0x2446ec(this[_0x3db7bb(0x3b3)]),_0x4d8702(0x10))['pipe'](_0x1d9e3e(_0x1614ed=>!_0x1614ed['getUnitId']()[_0x3db7bb(0xf6)]('__')))[_0x3db7bb(0x290)](async _0x83ee27=>{var _0x46ec74=_0x3db7bb;const _0x85d76e=_0x83ee27[_0x46ec74(0x1b2)](),_0x88947c=await this[_0x46ec74(0xb4)](_0x85d76e,Z['UNIVER_DOC']);this[_0x46ec74(0xee)][_0x46ec74(0x12f)](_0x85d76e,_0x88947c);}),_0x3ea747(this[_0x3db7bb(0x2ba)][_0x3db7bb(0x1b3)](_0x2989d4[_0x3db7bb(0x111)]),this[_0x3db7bb(0x2ba)][_0x3db7bb(0x1b3)](_0x2989d4[_0x3db7bb(0x182)]))[_0x3db7bb(0x2f8)](_0x2446ec(this['dispose$']))[_0x3db7bb(0x290)](_0x2211fc=>{var _0x42a904=_0x3db7bb;const _0xb8d1d7=_0x2211fc[_0x42a904(0x1b2)](),_0x43f0b4=this['_entities'][_0x42a904(0x301)](_0xb8d1d7);_0x43f0b4&&(_0x43f0b4[_0x42a904(0xf8)](),this[_0x42a904(0xee)][_0x42a904(0x1ca)](_0xb8d1d7));});}async[_0x51ced9(0xb4)](_0x24ba20,_0x468900){var _0x5ec264=_0x51ced9;const _0x56996b=await this[_0x5ec264(0x323)]['requireSession'](_0x24ba20),_0x3e5222=this[_0x5ec264(0x29b)][_0x5ec264(0x326)](this[_0x5ec264(0x1cb)](_0x468900),_0x24ba20,_0x468900,_0x56996b);return await _0x3e5222[_0x5ec264(0xf3)](),this[_0x5ec264(0x332)][_0x5ec264(0x2f3)](_0x3e5222),_0x3e5222;}['_getCtorByUniverType'](_0x4d362b){var _0x5a5785=_0x51ced9;switch(_0x4d362b){case Z[_0x5a5785(0x182)]:return St;case Z[_0x5a5785(0x111)]:return Et;default:throw new Error(_0x5a5785(0x1c6)+_0x4d362b);}}};nt=en([Be(0x0,_0x22f2f4(_0x42afda)),Be(0x1,_0x22f2f4(Le)),Be(0x2,_0x1c2974),Be(0x3,_0x1a15fa)],nt);var tn=Object[_0x51ced9(0x264)],sn=(_0x5902de,_0xd1c953,_0x2202b6,_0x48de35)=>{var _0x4e7d28=_0x51ced9;for(var _0x2c5627=_0x48de35>0x1?void 0x0:_0x48de35?tn(_0xd1c953,_0x2202b6):_0xd1c953,_0x13bc12=_0x5902de[_0x4e7d28(0x395)]-0x1,_0x1a0023;_0x13bc12>=0x0;_0x13bc12--)(_0x1a0023=_0x5902de[_0x13bc12])&&(_0x2c5627=_0x1a0023(_0x2c5627)||_0x2c5627);return _0x2c5627;},Yt=(_0x360cfe,_0x574c3b)=>(_0x1345c1,_0x255e07)=>_0x574c3b(_0x1345c1,_0x255e07,_0x360cfe);function _0xfe49(_0x486dc3,_0x196518){var _0x326d77=_0x326d();return _0xfe49=function(_0xfe49ae,_0x4f9770){_0xfe49ae=_0xfe49ae-0xad;var _0x3476ff=_0x326d77[_0xfe49ae];return _0x3476ff;},_0xfe49(_0x486dc3,_0x196518);}const nn=_0x51ced9(0x2be),rn=_0x51ced9(0x389);function _0x326d(){var _0x8fc211=['83751kKkqBi','JOINING','_onUserLeave','blockSize','disposeWithMe','_commentService','BASE64','YUUMI_NO_CUBOID_FOR_QUESTION','_transformService','complete','requireSession','_onUserJoin','transformChangesets','__Key__','awaiting','SNAPSHOT_SERVER_URL_KEY','revision','auth.needGotoLoginAlert','getCollabEntity$','_networkConditionService','_status$','find','IDLE','updatePermissionPoint','url','APPLY_DUPLICATED','defineProperty','resend','RECV','_candidateSocket','onTransformSelections','JOIN_ROOM_FAILED','_showConflictNotification','_collabSessionService','USERS_LEAVE','fetchMiss','createInstance','unitID','HEARTBEAT','_createInitialStateImpl','onStateChange','image/gif','LIVESHARE_REQUEST_HOST','UNAUTHENTICATED','result','startTime','LICENSE_MAX_UNITS_EXCEEDED','default','_entityInit$','[CollaborationUndoRedoService]','isPermissionRej','YUUMI_SUBSCRIPTION_NOT_FOUND','_type','headers','2058VjtAoa','100HpwjVM','PERSON','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','HEARTBEAT_TIMEOUT','/resources','charAt','changesets','fromCharCode','_syncEditingCollabCursor','CLOSE_ROOM','_startTelemetryCollaborationNewChangeset','_retryCount','_memberService','[UniverCollaborationClientPlugin]','_stopTelemetryCollaborationNewChangeset','fromCollab','_exhaustRemoteChangesetQueue','socket\x20open.','c2Prime','getValue','_clearHeartbeatTimer','uploadFileServerUrl','NO_OTHER_CLIENTS_EDITING','members','_getRedoStack','_changesetSessionId','updateSnapshot','deepClone','clone','charCodeAt','routeKey','NOT_FOUND','StreamCipher','send','interceptor','decrypt','onSendChangeset','_telemetryInfo','concat','random','_onConflict','onMissedChangesetFetched','getConfig','ENSURE_SNAPSHOT_EXECUTION','[PendingState]:\x20unhandled\x20univer\x20type:\x20','OpenSSL','map','COMPRESS_MUTATION_SEND','has','LOGIN_FAILED','uniscriptRunEvent','listCollaborators','JOIN_ROOM_PERMISSION_DENIED','onRemoteRej','\x22.\x20Please\x20configure\x20the\x20dynamicRequireTargets\x20or/and\x20ignoreDynamicRequires\x20option\x20of\x20@rollup/plugin-commonjs\x20appropriately\x20for\x20this\x20require\x20call\x20to\x20work.','status','_acknowledgedAwaitingChangeset','ONLINE','\x0aAfter:\x20','NOT_COLLAB','_commandService','_redoStacks','error','YUUMI_URL_COL_OUT_OF_RANGE','LOGIN_URL_KEY','allowed','_telemetryService','EXCHANGE_SIGN_URL_SERVER_URL_KEY','UPDATE_CURSOR','_initRequestHeader','joinRsp','SYNCED','_onRemoteChangeset','_transformUndoredo','debug','_transformStateCache','put','LIVESHARE_TERMINATE','objectType','unit-cache-','Univer','capture','resolve','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','8ZcQoHn','join','BlockCipher','COLLAB_SUBMIT_CHANGESET_URL','awaiting_with_pending','SUCCUSS','fetchMissingChangesets','[FetchingMissState]:\x20invalid\x20calling\x20to\x20`resend`.','length','/universer-api/authz','listRoles','[CollaborationEntity]:\x20cannot\x20apply\x20missing\x20results\x20on\x20other\x20states!','location','_initDependencies','_socketReady','forEach','sin','NoPadding','actions','from','title','RETRY_CONNECTING_MAX_COUNT','ERROR_IMAGE_TYPE','_getSignURL','socketService','unitInfo$','fetch_missing','UNKNOWN_CMD','_remoteChangesetQueue','_prevBlock','_onMessage','CBC','session.room-permission-denied','conflict','/universer-api/snapshot','crypto','update','offline','dispose$','_getCurrentRevision','toggleOffline','_transformSelections','parse','_transformIMECache','[UniverCollaborationClientPlugin]:\x20you\x20must\x20provide\x20a\x20socketService\x20implementation\x20in\x20config!','transformStack\x20failed!','615TrrxMq','2043027JfdQgu','_startCollaboration','apply','image/png','_undoRedoService','executeCommand','_socket','mode','_clearLocalCache','prototype','_toggleOnline','_singleActiveUnitService','loadUnitOfRevision','SNAPSHOT_INVALID_SNAPSHOT','getLatestCsReqIdBySid','Utf8','INVITE_CODE_REQUIRED','_shouldReportTelemetry','includes','FileId','_mode','exports','[SyncedState]:\x20received\x20acknowledgement.','keySize','SOCKET_FAILED_RETRY','submit\x20changeset\x20error!','ceil','session.join-failed','CHANGESET_SHOULD_RETRY','_transitionLocked','roles','encrypt','NEW_CHANGESETS','byteOffset','LICENSE_IMPORT_SIZE_EXCEEDED','toggleOnline','[CollaborationSession]','hostname','method','hasOwnProperty','[CollaborationSessionService]','_keyPriorReset','csAckEvent','snapshotServerUrl','univer-pro.collaboration-client.single-active-unit-service','sid','liveShareNewHost','People','_compressMutationService','/universer-api/snapshot/','COMPRESS_MUTATION_APPLY','_socket$','baseRev','_listenToNetworkCondition','JOIN','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','size','initWorkbookPermissionChange','LIVESHARE_FETCH_OPERATIONS','_entities','string','ciphertext','filter','incrementRevOfUnit','init','$super','_iKey','startsWith','_createHelper','dispose','list','getTime','_keySchedule','Base','_revisionService','INVITE_CODE_HAS_BEEN_UES','_updateLocalCache','data','_getDownloadEndpointURL','_applyRemoteChangeset','setConfig','onRemoteChangeset','getFocusedUnit','[CollaborationEntity]:\x20invalid\x20state\x20transition!\x20State\x20transferred\x20from\x20is\x20not\x20the\x20current\x20state.\x0aBefore:\x20','SNAPSHOT_URL_KEY','_doReset','EMAIL_HAS_BEEN_BOUND','CONFLICT','reqId','open$','/object/','getImage','editing\x20status\x20changed\x20to','_executeRemoteChangeset','UNIVER_SHEET','enableCollaboration','[CollaborationSessionService]:\x20socket\x20error','JOIN_ROOM_FULL','YUUMI_ALL_TABLES_IS_INVALID','hasher','focused$','_map','_collaborationUIEventService','SHOULD_CLOSE_CONN','session','onTransformRemoteChangesetByIMECache','SOCKET_FAILED','downloadEndpointUrl','values','cfg','msCrypto','_collaborationTimeoutTimer','_collaborationPaused','emitEvent','every','_createHmacHelper','fetchThroughInterceptors','x-univer-host','MUTATION','_submitChangeset','_nRounds','JOIN_ROOM_NOT_EXISTS','image/bmp','setShowComponents','set','LEAVE','_emitMembers','954261lsMjas','pending','onStarting','selections','Hasher','transformUndoRedo','YUUMI_ASYNCIO_CANCELLED','_httpService','_tryEnsureSocket','telemetry\x20info\x20is\x20not\x20initialized','_ENC_XFORM_MODE','APPLY_REVISION_CONFILICT','getResourcesRequest','readyForCollab','toString','onTransformRemoteChangesetByStateCache','onRemoteRetry','_transformStack','_substituteUndoStack','session.room-full','/unit/','onTransformRemoteChangesetByStateCache\x20callback\x20is\x20not\x20added\x20yet.','target','getRandomValues','_queuedRemoteChangesets','textRanges','catch','USERS_ENTER','_getLoginPath','/universer-api/stream/file/upload','appendMutation','_initMergeInterceptor','updateCursorEvent','[SyncedState]:\x20received\x20rejection.','splice','body','processBlock','getCurrentUser','pad','_sessionStatus$','INVITE_CODE_ALREADY_BOUND','_hash','[OfflineState]:\x20received\x20rejection.','_updateStatus','_socketService','BlockCipherMode','HttpExport','socket\x20close','code','override','_unitID','withCredentials','_isPermissionRej','__creator','saveSheetBlock','reverse','_transformRemoteChangesetByIMECache','setCurrentUser','pauseCollaboration','SHA1','now','failed\x20to\x20apply\x20missed\x20changesets!','YUUMI_RATE_OVER_LIMIT','src','c1Prime','userID','&assign=','_clearCollaborationTimeoutTimer','reject','_onLocalMutation','mutations','addHandlerCallback','_awaitingChangeset','_onConnectionFailed','CHANGESET_REJ','LIVESHARE_OPERATION','MOBILE_HAS_BEEN_BOUND','OTHER_CLIENT_EDITING','confirm','MSG_FOR_ERROR','UNIVER_DOC','YUUMI_AI_RUN_FAILED','_permissionService','localeService','_clearTimeoutTimer','YUUMI_TABLE_NOT_FOUND_IN_UNIT','_onRemoteRetry','updateMember','_nDataBytes','roomInfos','[OfflineState]:\x20received\x20acknowledgement.','_fetchMissChangesets','onCommentUpdate','requestParams','AES','repeat','_init','_checkMissing','_pendingMutations','_state$','_clearRedo','164439wHEMwp','Encryptor','CONNECTOR_DATA_TOO_LARGE','_createHandler','_localeService','_oKey','memberID','infoRsp','_changesetReqId','UnitEmbedded','Base64','[CollaborationEntity]','FAIL','/rev/','[DataLoaderService]','_getAPIPrefix','Cipher','_hasher','status$','getInterceptPoints','_clearScheduledTask','error$','_initUnitPermissionChange','_userManagerService','socket$','_doFinalize','HMAC','getUnitId','getTypeOfUnitDisposed$','INVALID_ARGUMENT','avatar','_logService','members$','collaboration_new_changeset','objects','_change$','UNIVER_COLLABORATION_CLIENT_PLUGIN','collaboration-client.local-cache-service','format','decryptBlock','[OfflineState]:\x20received\x20changeset.','_HTTPService','eventID','_getUploadFileURL','INVALID_INVITE_CODE','padding','_replayCachedMutations','[CollaborationController]:\x20invalid\x20univer\x20type:\x20','getMemberID','ERROR_IMAGE','addImageSourceCache','delete','_getCtorByUniverType','This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!','loadSheet','_append','CHANGESET_ACK','_registerDependencies','name','unitId\x20is\x20not\x20found','_scheduleCollaborationTimeoutTimer','abs','collaboration-client.config','_createInitialState','_sendingTimer','reset','_toggleOffline','APPLY_PERMISSION_DENIED','kdf','_config','removeMember','updateCollaborator','2RROAhx','onRemoteAck','encryptBlock','PY_RUNTIME_SCRIPT_ERROR','liveShareOperation','append','_transformRemoteChangesetByStateCache','createSocket','\x20in\x20_schedule.','_clearUndo','POST','extend','OFFLINE','_sendHeartbeat','_unitInfo$','Cannot\x20assemble\x20a\x20changeset\x20from\x20multiple\x20mutations\x20of\x20different\x20types:\x20','[CollaborationState]:\x20apply\x20error!','[CollaborationSession]:\x20should\x20not\x20send\x20message\x20when\x20the\x20session\x20is\x20offline!','_commentUpdate$','authzUrl','LICENSE_DISTRO_REJECTED','ivSize','state','pluginName','HEARTBEAT_INTERVAL','transformSelections','LICENSE_EXPORT_SIZE_EXCEEDED','/collaborator','HELLO','_resendWithTimeout','close','_lockTransition','__esModule','min','PERMISSION_DENIED','copyFileMeta','asObservable','UNISCRIPT_RUN','_getSendChangesetTimeout','session.room-cnt-exceeds','[serializeCombRequest]:\x20should\x20not\x20fall\x20into\x20default\x20branch!','INGEST','getCollabEntity','equals','editingUnit','onlyLocal','_clearRetryConnectingTimer','getRoom','getCurrentRevOfUnit','COMMENT_UPDATE','m2Prime','unitId','objectID','MD5','UnitSnapshot','_removeRoom','_snapshotService','[PendingState]:\x20received\x20acknowledgement.','UNIVER_UNKNOWN','waitForRoom$','/-/object/-/batch_allowed','updateOfflineData','_onJoinRoomEvent','_decreaseWaiting','synced','[FetchingMissState]:\x20not\x20expected\x20to\x20receive\x20ack\x20when\x20`this._awaitingChangeset`\x20is\x20null!','LIVESHARE_NEW_HOST','enableOfflineEditing','2022310dpWGJE','AWAITING','/universer-api/comb','onSyncEditingCollabCursor','_throwTelemetryCollaborationNewChangeset','SUBMIT_CHANGESET','add','image/jpg','loginUrlKey','_undoStacks','_iv','responseType','[OfflineState]:\x20invalid\x20calling\x20to\x20`resend`.','close$','saveImage','_eventService','EXCHANGE_UPLOAD_FILE_SERVER_URL_KEY','encode','stringify','origin','onLocalMutation','/role','&source=','/fetchmissing?from=','message$','save\x20fail\x20reason\x20is\x20','HmacSHA1','clear','_state','_key','onTransformIME','_onCombEvent','compose','&to=','saveChangeset','createEncryptor','_onOffline','fetching\x20the\x20latest\x20document\x20from\x20the\x20server.','_collaborationSessionService','mixIn','USER_NOT_INVITED_CODE','_socketMessageSubscription','_waitForHeartbeatResponse','_sessions','patch','createCollaborator','ALREADY_EXISTS','loadOfflineData','shouldCloseConn','disableLocalCache','href','function','TOO_MANY_REQUESTS','UNIVER_SLIDE','PERMISSION_REJ','slice','session.room-not-exists','collaboratorID','[PendingState]:\x20invalid\x20calling\x20to\x20`resend`.','_parse','_getAPIPrefixPath','_getUndoStack','SUBMIT_CHANGESET_TIMEOUT','sessionStatus$','APPLY_NON_SEQUENTIAL_REVISION','getOwnPropertyDescriptor','APPLY_REJECT','ws://127.0.0.1:8000/universer-api/comb/connect','SNAPSHOT_HAS_BEEN_REMOVED','change$','_unlockTransition','/universer-api/user/session-ticket','_members','push','WordArray','csShouldRetryEvent','PasswordBasedCipher','Latin1','_handler','isArray','onTransformRemoteChangesetByIMECache\x20callback\x20is\x20not\x20added\x20yet.','COMPLETION_FINISHED','closeSession','UNRECOGNIZED','finalize','96WqBIsx','_xformMode','HmacMD5','\x20-\x20','readInt32LE','CipherParams','objectActions','_updateState','algo','salt','getSheetId','fetching\x20missing\x20changesets\x20from\x20','_substituteRedoStack','_roomCreated$','subUnitId','_imageSourceCache','_joinRoom','randomBytes','WECHAT_HAS_BEEN_BOUND','_disableEditing','_resendTimer','awaitingChangeset','formatter','[AuthServerService]:\x20you\x20should\x20provide\x20authentication\x20info\x20on\x20Node.js.','subscribe','enc','reconnect','/block/','post','unsubscribe','UserProfileImg','byteLength','lib','ERROR_EXCEED_SIZE','_rescheduleHeartbeat','_injector','OTHER_CLIENTS_EDITING','_resendTimeout','/allowed','permissionRejEvent','Decryptor','_onRemoteRejected','_waitCount','UNDEFINED','_incrementRevisionNumber','YUUMI_UNABLE_LOAD_URL','getTypeOfUnitAdded$','ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=','[PendingState]:\x20received\x20rejection.','_data','floor','cmd','_scheduleCompleteTimestamp','batchAllowed','deleteCollaborator','getUnitStatus$','/universer-api/file/{fileID}/sign-url','_invKeySchedule','_configService','INTERNAL_ERROR','putCollaborators','_onFetchMissResult','onCommandExecuted','call','execute','_reverseMap','_univerInstanceService','registerHTTPInterceptor','?size=','_members$','DEFAULT_FILE_NAME','_initCloseConn','_replaceFileID','HttpImport','stopTime','EvpKDF','event$','_localCacheService','\x0aCurrent:\x20','online$','connection\x20error','words','2874HDkVVn','signUrlServerUrl','workbook','_onRemoteACK','findIndex','rev','_handlerCallback','UPDATE_PERMISSION_OBJ','compute','_createSocket','_schedule','_sendHeartbeatTimer','type','create','clamp','getMember','[CollaborationSocketService]:\x20failed\x20to\x20create\x20socket!','subject','getUnitType','onTransformState','replace','sessionStatus','then','_roomMembers','_cipher','_doCryptBlock','FETCH_MISSING','buffer','createDecryptor','{fileID}','_event$','not_collab','unknown','_sender','_minBufferSize','originalMeta','_timeoutTimer','params','_retryConnectingTimer','resourceIDs','encodeURIComponent','next','getSnapshotAPIPath','_tryReconnect','[CollaborationEntity]:\x20initial\x20state\x20has\x20been\x20created\x20before.\x20You\x20should\x20not\x20call\x20\x22init\x22\x20twice.','_process','pipe','PSEUDO_FETCH_MISSING_RESULT','transformMutationsWithChangeset','symbol','localCacheService','_instanceService','_onConnectionOpen','sigBytes','_onRecvEvent','get'];_0x326d=function(){return _0x8fc211;};return _0x326d();}let It=class extends _0x31b9e7{constructor(_0x54dc37,_0x4ef1f9){var _0x23492b=_0x51ced9;super(),this[_0x23492b(0x2ba)]=_0x54dc37,this[_0x23492b(0x2b2)]=_0x4ef1f9,this[_0x23492b(0x192)]();}[_0x51ced9(0x192)](){var _0x5afee2=_0x51ced9;this[_0x5afee2(0x306)](this['_univerInstanceService'][_0x5afee2(0x117)][_0x5afee2(0x290)](()=>{var _0x412612=_0x5afee2,_0x2b94f0;const _0x19bf36=this[_0x412612(0x2ba)]['getFocusedUnit']();let _0x2373f6=(_0x2b94f0=this[_0x412612(0x2b2)][_0x412612(0x363)](nn))!=null?_0x2b94f0:rn;_0x19bf36 instanceof _0x5db369&&(_0x2373f6=_0x19bf36['name']),document[_0x412612(0x3a1)]=_0x2373f6;}));}};It=sn([Yt(0x0,_0x1a15fa),Yt(0x1,_0x1c2974)],It);var an=Object[_0x51ced9(0x264)],on=(_0x4bcab2,_0xb1d516,_0x2dbd41,_0x45443d)=>{for(var _0x109dea=_0x45443d>0x1?void 0x0:_0x45443d?an(_0xb1d516,_0x2dbd41):_0xb1d516,_0x52168b=_0x4bcab2['length']-0x1,_0x46bceb;_0x52168b>=0x0;_0x52168b--)(_0x46bceb=_0x4bcab2[_0x52168b])&&(_0x109dea=_0x46bceb(_0x109dea)||_0x109dea);return _0x109dea;},dt=(_0x201596,_0x18a4d5)=>(_0x58c575,_0x564516)=>_0x18a4d5(_0x58c575,_0x564516,_0x201596);let rt=class{constructor(_0x283bd9,_0x4160ef,_0x57e9e3){var _0x4e4578=_0x51ced9;this['_configService']=_0x283bd9,this[_0x4e4578(0x139)]=_0x4160ef,this[_0x4e4578(0x185)]=_0x57e9e3,this[_0x4e4578(0xf3)]();}[_0x51ced9(0xf3)](){var _0x5d4b70=_0x51ced9;this[_0x5d4b70(0x139)][_0x5d4b70(0x2bb)]({'priority':0x1,'interceptor':(_0x4c39b5,_0x51d67f)=>_0x51d67f(_0x4c39b5)[_0x5d4b70(0x2f8)](_0x5b1a7a(async _0x149a04=>{var _0x37c9a3=_0x5d4b70;const _0x53b21f=_0x149a04;if(_0x53b21f['status']===0x191){if(typeof window>'u')throw new Error(_0x37c9a3(0x28f));if(window[_0x37c9a3(0x180)](this['localeService']['t'](_0x37c9a3(0x313)))){const _0x428367=window[_0x37c9a3(0x2f2)](window[_0x37c9a3(0x399)][_0x37c9a3(0x255)]);window[_0x37c9a3(0x399)]['href']=this[_0x37c9a3(0x14e)]()+'?url='+_0x428367;}}return _0x53b21f;}))});}[_0x51ced9(0x14e)](){var _0x21fdb7=_0x51ced9,_0x2cd54f,_0x12470d;const _0x29b3ac=this['_configService'][_0x21fdb7(0x363)](ys),_0x4f2b1f=this[_0x21fdb7(0x2b2)][_0x21fdb7(0x363)](K);return(_0x12470d=(_0x2cd54f=_0x4f2b1f==null?void 0x0:_0x4f2b1f[_0x21fdb7(0x22b)])!=null?_0x2cd54f:_0x29b3ac)!=null?_0x12470d:Ns;}};rt=on([dt(0x0,_0x1c2974),dt(0x1,_0x22f2f4(_0xd1aa2b)),dt(0x2,_0x22f2f4(_0x462003))],rt);var cn=Object[_0x51ced9(0x264)],hn=(_0x1b1d7e,_0x4a936e,_0x36eb58,_0x490708)=>{var _0x12657e=_0x51ced9;for(var _0x3448a=_0x490708>0x1?void 0x0:_0x490708?cn(_0x4a936e,_0x36eb58):_0x4a936e,_0x31b9cb=_0x1b1d7e[_0x12657e(0x395)]-0x1,_0x113d0a;_0x31b9cb>=0x0;_0x31b9cb--)(_0x113d0a=_0x1b1d7e[_0x31b9cb])&&(_0x3448a=_0x113d0a(_0x3448a)||_0x3448a);return _0x3448a;},Kt=(_0x508cf9,_0x37ba99)=>(_0x5d50ab,_0x3b5d0a)=>_0x37ba99(_0x5d50ab,_0x3b5d0a,_0x508cf9);const bi='AUTHZ_URL_KEY',_n=_0x51ced9(0x396);let Tt=class extends _0x31b9e7{constructor(_0x3f48c4,_0x1a2e7f){var _0x4525ee=_0x51ced9;super(),this[_0x4525ee(0x1c0)]=_0x3f48c4,this[_0x4525ee(0x2b2)]=_0x1a2e7f,this[_0x4525ee(0x151)]();}['_initMergeInterceptor'](){var _0x48cd90=_0x51ced9;const _0x135c34=this;this[_0x48cd90(0x306)](this[_0x48cd90(0x1c0)][_0x48cd90(0x2bb)]({'priority':0x3e7,'interceptor':_0x3e8536({'isMatch'(_0x2a4fa6){var _0x1c62bb=_0x48cd90,_0x34f7c1;if(_0x2a4fa6[_0x1c62bb(0xd9)]===_0x1c62bb(0x1e9)&&((_0x34f7c1=_0x2a4fa6[_0x1c62bb(0x18f)])!=null&&_0x34f7c1[_0x1c62bb(0x155)])){const {objectID:_0x2fe1c4,objectType:_0x489b8d}=_0x2a4fa6[_0x1c62bb(0x18f)]['body']||{};if(!_0x2fe1c4||_0x489b8d===void 0x0)return!0x1;const _0x45cfe8=_0x135c34[_0x1c62bb(0x25f)]()+'/'+_0x489b8d+_0x1c62bb(0x10d)+_0x2fe1c4+_0x1c62bb(0x29e);if(_0x2a4fa6[_0x1c62bb(0x31a)]===_0x45cfe8)return!0x0;}return!0x1;},'getParamsFromRequest'(_0x5df302){var _0x285d9d=_0x48cd90,_0x3c1557;return(_0x3c1557=_0x5df302['requestParams'])==null?void 0x0:_0x3c1557[_0x285d9d(0x155)];},'mergeParamsToRequest'(_0x363396,_0x1b6710){var _0x54e4f4=_0x48cd90;const _0x454baa=_0x135c34['_getAPIPrefixPath']()+'/-/object/-/batch_allowed',_0x1a1e87=_0x363396['reduce']((_0x2774f2,_0x1e4c4b)=>{var _0x1aed25=_0xfe49;const {unitID:_0x7f6c46,objectID:_0x5c6c3b,objectType:_0x57de5d,actions:_0x30056b}=_0x1e4c4b;return _0x2774f2[_0x7f6c46]||(_0x2774f2[_0x7f6c46]={}),_0x2774f2[_0x7f6c46][_0x5c6c3b]||(_0x2774f2[_0x7f6c46][_0x5c6c3b]={'objectID':_0x5c6c3b,'objectType':_0x57de5d,'actions':[]}),_0x2774f2[_0x7f6c46][_0x5c6c3b][_0x1aed25(0x39f)]['push'](..._0x30056b),_0x2774f2;},{}),_0x4c067b=[];for(const _0x5c9392 in _0x1a1e87)for(const _0x13c863 in _0x1a1e87[_0x5c9392]){const {actions:_0x23e3fe,objectType:_0x18196c}=_0x1a1e87[_0x5c9392][_0x13c863],_0x1830a2=[...new Set(_0x23e3fe)];_0x4c067b['push']({'unitID':_0x5c9392,'objectID':_0x13c863,'objectType':_0x18196c,'actions':_0x1830a2});}return new _0x1aa928('POST',_0x454baa,{'headers':_0x1b6710[_0x54e4f4(0x337)],'withCredentials':_0x1b6710[_0x54e4f4(0x165)],'responseType':_0x1b6710[_0x54e4f4(0x22e)],'body':{'requests':_0x4c067b}});}},{'distributeResult'(_0x22e07d,_0x3ea4af){var _0x1d4152=_0x48cd90;const {objectActions:_0x5bfacd}=_0x22e07d;return _0x3ea4af[_0x1d4152(0x367)](_0x3940c5=>{var _0x1d3325=_0x1d4152;const {unitID:_0x2eb4b8,objectID:_0x2533d6,actions:_0x496a95}=_0x3940c5,_0x3bdd50=_0x5bfacd['find'](_0x598931=>_0x598931[_0x1d3325(0x327)]===_0x2eb4b8&&_0x598931[_0x1d3325(0x213)]===_0x2533d6),_0x1ff6b3=_0x496a95[_0x1d3325(0x367)](_0xd69cb4=>_0x3bdd50==null?void 0x0:_0x3bdd50[_0x1d3325(0x39f)][_0x1d3325(0x317)](_0x3763bd=>_0x3763bd['action']===_0xd69cb4))[_0x1d3325(0xf1)](_0x4c5092=>!!_0x4c5092);return{'config':_0x3940c5,'result':{'actions':_0x1ff6b3,'error':_0x22e07d['error']}};});}})}));}[_0x51ced9(0x25f)](){var _0x11c3a8=_0x51ced9,_0x2e29ed,_0x48f331;const _0x2175ef=this['_configService'][_0x11c3a8(0x363)](bi),_0x5b7f9d=this[_0x11c3a8(0x2b2)]['getConfig'](K);return(_0x48f331=(_0x2e29ed=_0x5b7f9d==null?void 0x0:_0x5b7f9d[_0x11c3a8(0x1f2)])!=null?_0x2e29ed:_0x2175ef)!=null?_0x48f331:_n;}async[_0x51ced9(0x2d7)](_0x321785){var _0x577229=_0x51ced9;const _0x594eaf=this['_getAPIPrefixPath']()+'/'+_0x321785[_0x577229(0x387)]+'/object';return(await this['_HTTPService'][_0x577229(0x294)](_0x594eaf,{'body':_0x321785}))[_0x577229(0x155)][_0x577229(0x213)]||'';}async[_0x51ced9(0xf9)](_0x4a4e28){var _0x2cd3e0=_0x51ced9;const _0x16b846=this[_0x2cd3e0(0x25f)]()+'/-/object/list';return(await this[_0x2cd3e0(0x1c0)][_0x2cd3e0(0x294)](_0x16b846,{'body':_0x4a4e28}))[_0x2cd3e0(0x155)][_0x2cd3e0(0x1b9)];}async[_0x51ced9(0x3b1)](_0x2dca91){var _0x475992=_0x51ced9,_0x3970c5,_0x4476ba;const _0x59208e=this[_0x475992(0x25f)]()+'/'+_0x2dca91[_0x475992(0x387)]+'/object/'+_0x2dca91[_0x475992(0x213)],_0x2dc967=await this[_0x475992(0x1c0)][_0x475992(0x385)](_0x59208e,{'body':_0x2dca91});if(((_0x4476ba=(_0x3970c5=_0x2dc967==null?void 0x0:_0x2dc967[_0x475992(0x155)])==null?void 0x0:_0x3970c5[_0x475992(0x377)])==null?void 0x0:_0x4476ba[_0x475992(0x162)])!==0x1)throw new Error('Failed\x20to\x20update\x20permission\x20point');}async[_0x51ced9(0x37a)](_0x5b97f9){var _0x1ac0e4=_0x51ced9;const _0x1e8b1f=this[_0x1ac0e4(0x25f)]()+'/'+_0x5b97f9[_0x1ac0e4(0x387)]+_0x1ac0e4(0x10d)+_0x5b97f9[_0x1ac0e4(0x213)]+_0x1ac0e4(0x29e);return(await this[_0x1ac0e4(0x1c0)][_0x1ac0e4(0x294)](_0x1e8b1f,{'body':_0x5b97f9}))[_0x1ac0e4(0x155)][_0x1ac0e4(0x39f)];}async[_0x51ced9(0x2ad)](_0x42a97b){var _0x156770=_0x51ced9;const _0xbd8540=this[_0x156770(0x25f)]()+_0x156770(0x21b);return(await this[_0x156770(0x1c0)][_0x156770(0x294)](_0xbd8540,{'body':{'requests':_0x42a97b}}))[_0x156770(0x155)][_0x156770(0x27e)];}async[_0x51ced9(0x397)](_0x3c5ff3){var _0x4daeb8=_0x51ced9;const _0x5d0b3a=this['_getAPIPrefixPath']()+'/'+_0x3c5ff3[_0x4daeb8(0x387)]+_0x4daeb8(0x238),_0x411092=await this['_HTTPService'][_0x4daeb8(0x294)](_0x5d0b3a,{'body':_0x3c5ff3});return{'roles':_0x411092[_0x4daeb8(0x155)][_0x4daeb8(0xd1)],'actions':_0x411092[_0x4daeb8(0x155)][_0x4daeb8(0x39f)]};}async[_0x51ced9(0x2ae)](_0x1e12ca){var _0x1b0d4b=_0x51ced9;const _0x33b4cc=this[_0x1b0d4b(0x25f)]()+_0x1b0d4b(0x1fa);await this['_HTTPService'][_0x1b0d4b(0x1ca)](_0x33b4cc,{'params':{'collaboratorID':_0x1e12ca[_0x1b0d4b(0x25c)],'objectID':_0x1e12ca[_0x1b0d4b(0x213)],'unitID':_0x1e12ca[_0x1b0d4b(0x327)]}});}async[_0x51ced9(0x1de)](_0x3e5bb1){var _0x599e2e=_0x51ced9;const _0x469c74=this[_0x599e2e(0x25f)]()+'/collaborator';await this[_0x599e2e(0x1c0)][_0x599e2e(0x24f)](_0x469c74,{'body':_0x3e5bb1});}async[_0x51ced9(0x250)](_0x51e923){var _0x27e897=_0x51ced9;const _0x4f2b1e=this[_0x27e897(0x25f)]()+_0x27e897(0x1fa);await this[_0x27e897(0x1c0)][_0x27e897(0x294)](_0x4f2b1e,{'body':_0x51e923});}async[_0x51ced9(0x36c)](_0x15e71b){var _0x542b01=_0x51ced9;const _0x3d1d41=this[_0x542b01(0x25f)]()+_0x542b01(0x1fa);return(await this[_0x542b01(0x1c0)]['get'](_0x3d1d41,{'params':{'objectID':_0x15e71b['objectID'],'unitID':_0x15e71b[_0x542b01(0x327)]}}))[_0x542b01(0x155)]['collaborators'];}async[_0x51ced9(0x2b4)](_0x19a4ba){var _0xe6358e=_0x51ced9;const _0xe9c053=this[_0xe6358e(0x25f)]()+'/collaborator';await this['_HTTPService'][_0xe6358e(0x385)](_0xe9c053,{'body':_0x19a4ba});}};Tt=hn([Kt(0x0,_0x22f2f4(_0xd1aa2b)),Kt(0x1,_0x22f2f4(_0x1c2974))],Tt);var ft=typeof globalThis<'u'?globalThis:typeof window<'u'?window:typeof global<'u'?global:typeof self<'u'?self:{};function $e(_0x2d7a33){var _0x2fe61d=_0x51ced9;return _0x2d7a33&&_0x2d7a33[_0x2fe61d(0x1ff)]&&Object['prototype'][_0x2fe61d(0xda)][_0x2fe61d(0x2b7)](_0x2d7a33,'default')?_0x2d7a33[_0x2fe61d(0x331)]:_0x2d7a33;}var Ve={'exports':{}};function ln(_0x59e60f){var _0x4c18da=_0x51ced9;throw new Error('Could\x20not\x20dynamically\x20require\x20\x22'+_0x59e60f+_0x4c18da(0x36f));}var Ge={'exports':{}},un=Ge[_0x51ced9(0xc8)],qt;function te(){var _0x5bec9e=_0x51ced9;return qt||(qt=0x1,function(_0x3c125d,_0x843b27){(function(_0x3d7795,_0x134ac6){var _0x43d719=_0xfe49;_0x3c125d[_0x43d719(0xc8)]=_0x134ac6();}(un,function(){var _0x1a6c16=_0x1a6c16||function(_0x20c4c3,_0x539606){var _0x1dac32=_0xfe49,_0x2257a7;if(typeof window<'u'&&window['crypto']&&(_0x2257a7=window[_0x1dac32(0x3b0)]),typeof self<'u'&&self[_0x1dac32(0x3b0)]&&(_0x2257a7=self[_0x1dac32(0x3b0)]),typeof globalThis<'u'&&globalThis[_0x1dac32(0x3b0)]&&(_0x2257a7=globalThis['crypto']),!_0x2257a7&&typeof window<'u'&&window[_0x1dac32(0x121)]&&(_0x2257a7=window[_0x1dac32(0x121)]),!_0x2257a7&&typeof ft<'u'&&ft['crypto']&&(_0x2257a7=ft[_0x1dac32(0x3b0)]),!_0x2257a7&&typeof ln==_0x1dac32(0x256))try{_0x2257a7=require(_0x1dac32(0x3b0));}catch{}var _0x30d2b7=function(){var _0x513ca6=_0x1dac32;if(_0x2257a7){if(typeof _0x2257a7[_0x513ca6(0x149)]==_0x513ca6(0x256))try{return _0x2257a7['getRandomValues'](new Uint32Array(0x1))[0x0];}catch{}if(typeof _0x2257a7[_0x513ca6(0x289)]==_0x513ca6(0x256))try{return _0x2257a7[_0x513ca6(0x289)](0x4)[_0x513ca6(0x27c)]();}catch{}}throw new Error('Native\x20crypto\x20module\x20could\x20not\x20be\x20used\x20to\x20get\x20secure\x20random\x20number.');},_0x419545=Object[_0x1dac32(0x2d7)]||(function(){function _0x119956(){}return function(_0x4d516d){var _0x4d1773=_0xfe49,_0x2c0aee;return _0x119956['prototype']=_0x4d516d,_0x2c0aee=new _0x119956(),_0x119956[_0x4d1773(0xbc)]=null,_0x2c0aee;};}()),_0x32b300={},_0x1b4765=_0x32b300[_0x1dac32(0x298)]={},_0x5173fc=_0x1b4765[_0x1dac32(0xfc)]=(function(){return{'extend':function(_0x23d03b){var _0x20808c=_0xfe49,_0x39f6e3=_0x419545(this);return _0x23d03b&&_0x39f6e3[_0x20808c(0x24a)](_0x23d03b),(!_0x39f6e3[_0x20808c(0xda)]('init')||this[_0x20808c(0xf3)]===_0x39f6e3[_0x20808c(0xf3)])&&(_0x39f6e3[_0x20808c(0xf3)]=function(){var _0x2a8f26=_0x20808c;_0x39f6e3[_0x2a8f26(0xf4)][_0x2a8f26(0xf3)]['apply'](this,arguments);}),_0x39f6e3[_0x20808c(0xf3)][_0x20808c(0xbc)]=_0x39f6e3,_0x39f6e3['$super']=this,_0x39f6e3;},'create':function(){var _0x4a32e7=_0xfe49,_0x1ce7c5=this[_0x4a32e7(0x1ea)]();return _0x1ce7c5[_0x4a32e7(0xf3)][_0x4a32e7(0xb5)](_0x1ce7c5,arguments),_0x1ce7c5;},'init':function(){},'mixIn':function(_0x3725be){var _0x3a94ed=_0xfe49;for(var _0x441fcf in _0x3725be)_0x3725be[_0x3a94ed(0xda)](_0x441fcf)&&(this[_0x441fcf]=_0x3725be[_0x441fcf]);_0x3725be[_0x3a94ed(0xda)](_0x3a94ed(0x140))&&(this[_0x3a94ed(0x140)]=_0x3725be['toString']);},'clone':function(){var _0x530bb3=_0xfe49;return this[_0x530bb3(0xf3)][_0x530bb3(0xbc)][_0x530bb3(0x1ea)](this);}};}()),_0x19e0a8=_0x1b4765['WordArray']=_0x5173fc[_0x1dac32(0x1ea)]({'init':function(_0x3ac66d,_0x18461f){var _0x257352=_0x1dac32;_0x3ac66d=this[_0x257352(0x2c9)]=_0x3ac66d||[],_0x18461f!=_0x539606?this[_0x257352(0x2ff)]=_0x18461f:this[_0x257352(0x2ff)]=_0x3ac66d['length']*0x4;},'toString':function(_0x444de8){var _0x502026=_0x1dac32;return(_0x444de8||_0x40fc96)[_0x502026(0x235)](this);},'concat':function(_0x40d234){var _0x15587a=_0x1dac32,_0x567780=this[_0x15587a(0x2c9)],_0x532e60=_0x40d234[_0x15587a(0x2c9)],_0x14efcf=this[_0x15587a(0x2ff)],_0x1c7a22=_0x40d234[_0x15587a(0x2ff)];if(this['clamp'](),_0x14efcf%0x4)for(var _0x4a89d1=0x0;_0x4a89d1<_0x1c7a22;_0x4a89d1++){var _0x3ae07c=_0x532e60[_0x4a89d1>>>0x2]>>>0x18-_0x4a89d1%0x4*0x8&0xff;_0x567780[_0x14efcf+_0x4a89d1>>>0x2]|=_0x3ae07c<<0x18-(_0x14efcf+_0x4a89d1)%0x4*0x8;}else{for(var _0x59083b=0x0;_0x59083b<_0x1c7a22;_0x59083b+=0x4)_0x567780[_0x14efcf+_0x59083b>>>0x2]=_0x532e60[_0x59083b>>>0x2];}return this['sigBytes']+=_0x1c7a22,this;},'clamp':function(){var _0x49dbfa=_0x1dac32,_0x390075=this['words'],_0x13432a=this[_0x49dbfa(0x2ff)];_0x390075[_0x13432a>>>0x2]&=0xffffffff<<0x20-_0x13432a%0x4*0x8,_0x390075['length']=_0x20c4c3[_0x49dbfa(0xcd)](_0x13432a/0x4);},'clone':function(){var _0x33fe9d=_0x1dac32,_0x2619e6=_0x5173fc['clone'][_0x33fe9d(0x2b7)](this);return _0x2619e6[_0x33fe9d(0x2c9)]=this[_0x33fe9d(0x2c9)][_0x33fe9d(0x25a)](0x0),_0x2619e6;},'random':function(_0x5e6845){for(var _0x48aceb=[],_0x2246ea=0x0;_0x2246ea<_0x5e6845;_0x2246ea+=0x4)_0x48aceb['push'](_0x30d2b7());return new _0x19e0a8['init'](_0x48aceb,_0x5e6845);}}),_0x19e024=_0x32b300[_0x1dac32(0x291)]={},_0x40fc96=_0x19e024['Hex']={'stringify':function(_0x5a6f02){var _0xb28e5b=_0x1dac32;for(var _0x44ad58=_0x5a6f02[_0xb28e5b(0x2c9)],_0x24c7f4=_0x5a6f02[_0xb28e5b(0x2ff)],_0x20a269=[],_0x144d68=0x0;_0x144d68<_0x24c7f4;_0x144d68++){var _0x151338=_0x44ad58[_0x144d68>>>0x2]>>>0x18-_0x144d68%0x4*0x8&0xff;_0x20a269[_0xb28e5b(0x26c)]((_0x151338>>>0x4)[_0xb28e5b(0x140)](0x10)),_0x20a269[_0xb28e5b(0x26c)]((_0x151338&0xf)['toString'](0x10));}return _0x20a269[_0xb28e5b(0x38e)]('');},'parse':function(_0x1b6ba1){var _0x2c79c4=_0x1dac32;for(var _0x44d1d3=_0x1b6ba1['length'],_0x5870d5=[],_0x364d44=0x0;_0x364d44<_0x44d1d3;_0x364d44+=0x2)_0x5870d5[_0x364d44>>>0x3]|=parseInt(_0x1b6ba1['substr'](_0x364d44,0x2),0x10)<<0x18-_0x364d44%0x8*0x4;return new _0x19e0a8[(_0x2c79c4(0xf3))](_0x5870d5,_0x44d1d3/0x2);}},_0xd401bf=_0x19e024[_0x1dac32(0x270)]={'stringify':function(_0x557934){var _0x156f01=_0x1dac32;for(var _0x214a03=_0x557934[_0x156f01(0x2c9)],_0x498401=_0x557934['sigBytes'],_0x19ee1f=[],_0x1dcdb5=0x0;_0x1dcdb5<_0x498401;_0x1dcdb5++){var _0x318826=_0x214a03[_0x1dcdb5>>>0x2]>>>0x18-_0x1dcdb5%0x4*0x8&0xff;_0x19ee1f[_0x156f01(0x26c)](String[_0x156f01(0x340)](_0x318826));}return _0x19ee1f[_0x156f01(0x38e)]('');},'parse':function(_0x320c97){var _0x3ce998=_0x1dac32;for(var _0x72d15=_0x320c97[_0x3ce998(0x395)],_0x55372b=[],_0x15c52b=0x0;_0x15c52b<_0x72d15;_0x15c52b++)_0x55372b[_0x15c52b>>>0x2]|=(_0x320c97[_0x3ce998(0x356)](_0x15c52b)&0xff)<<0x18-_0x15c52b%0x4*0x8;return new _0x19e0a8[(_0x3ce998(0xf3))](_0x55372b,_0x72d15);}},_0x433375=_0x19e024[_0x1dac32(0xc2)]={'stringify':function(_0x41fc4b){var _0x1690ba=_0x1dac32;try{return decodeURIComponent(escape(_0xd401bf[_0x1690ba(0x235)](_0x41fc4b)));}catch{throw new Error('Malformed\x20UTF-8\x20data');}},'parse':function(_0x5010f2){var _0x189d91=_0x1dac32;return _0xd401bf[_0x189d91(0xae)](unescape(encodeURIComponent(_0x5010f2)));}},_0x1b950b=_0x1b4765['BufferedBlockAlgorithm']=_0x5173fc[_0x1dac32(0x1ea)]({'reset':function(){var _0x390923=_0x1dac32;this[_0x390923(0x2a9)]=new _0x19e0a8['init'](),this[_0x390923(0x18a)]=0x0;},'_append':function(_0x32c638){var _0x1b98d8=_0x1dac32;typeof _0x32c638==_0x1b98d8(0xef)&&(_0x32c638=_0x433375[_0x1b98d8(0xae)](_0x32c638)),this[_0x1b98d8(0x2a9)][_0x1b98d8(0x35f)](_0x32c638),this['_nDataBytes']+=_0x32c638[_0x1b98d8(0x2ff)];},'_process':function(_0x16869a){var _0x2c2350=_0x1dac32,_0x22b482,_0x4bcaac=this[_0x2c2350(0x2a9)],_0x4a2384=_0x4bcaac[_0x2c2350(0x2c9)],_0x23d0be=_0x4bcaac['sigBytes'],_0x135d6c=this[_0x2c2350(0x305)],_0x2f9190=_0x135d6c*0x4,_0x264e04=_0x23d0be/_0x2f9190;_0x16869a?_0x264e04=_0x20c4c3[_0x2c2350(0xcd)](_0x264e04):_0x264e04=_0x20c4c3['max']((_0x264e04|0x0)-this[_0x2c2350(0x2ec)],0x0);var _0x310f14=_0x264e04*_0x135d6c,_0x11adf2=_0x20c4c3[_0x2c2350(0x200)](_0x310f14*0x4,_0x23d0be);if(_0x310f14){for(var _0x38e9ec=0x0;_0x38e9ec<_0x310f14;_0x38e9ec+=_0x135d6c)this['_doProcessBlock'](_0x4a2384,_0x38e9ec);_0x22b482=_0x4a2384[_0x2c2350(0x154)](0x0,_0x310f14),_0x4bcaac[_0x2c2350(0x2ff)]-=_0x11adf2;}return new _0x19e0a8[(_0x2c2350(0xf3))](_0x22b482,_0x11adf2);},'clone':function(){var _0x64c99f=_0x1dac32,_0x2e6451=_0x5173fc[_0x64c99f(0x355)][_0x64c99f(0x2b7)](this);return _0x2e6451['_data']=this[_0x64c99f(0x2a9)][_0x64c99f(0x355)](),_0x2e6451;},'_minBufferSize':0x0});_0x1b4765[_0x1dac32(0x136)]=_0x1b950b[_0x1dac32(0x1ea)]({'cfg':_0x5173fc['extend'](),'init':function(_0x4d8ded){var _0x2b3571=_0x1dac32;this[_0x2b3571(0x120)]=this['cfg'][_0x2b3571(0x1ea)](_0x4d8ded),this[_0x2b3571(0x1d8)]();},'reset':function(){var _0x4ab35d=_0x1dac32;_0x1b950b[_0x4ab35d(0x1d8)][_0x4ab35d(0x2b7)](this),this['_doReset']();},'update':function(_0x1141b3){var _0x5e4235=_0x1dac32;return this['_append'](_0x1141b3),this[_0x5e4235(0x2f7)](),this;},'finalize':function(_0x39376b){var _0x20f5ef=_0x1dac32;_0x39376b&&this[_0x20f5ef(0x1ce)](_0x39376b);var _0x1d2510=this[_0x20f5ef(0x1b0)]();return _0x1d2510;},'blockSize':0x10,'_createHelper':function(_0x24a772){return function(_0x9d7295,_0x487dcd){var _0x8f6a6=_0xfe49;return new _0x24a772[(_0x8f6a6(0xf3))](_0x487dcd)[_0x8f6a6(0x277)](_0x9d7295);};},'_createHmacHelper':function(_0x2b7bf8){return function(_0x4ee14d,_0x23643a){var _0x4ab881=_0xfe49;return new _0x4b0c41[(_0x4ab881(0x1b1))][(_0x4ab881(0xf3))](_0x2b7bf8,_0x23643a)['finalize'](_0x4ee14d);};}});var _0x4b0c41=_0x32b300[_0x1dac32(0x280)]={};return _0x32b300;}(Math);return _0x1a6c16;}));}(Ge)),Ge[_0x5bec9e(0xc8)];}var We={'exports':{}},dn=We[_0x51ced9(0xc8)],zt;function Oi(){return zt||(zt=0x1,function(_0x1aece8,_0x75edec){(function(_0x3e0569,_0x964aea){var _0x3493f8=_0xfe49;_0x1aece8[_0x3493f8(0xc8)]=_0x964aea(te());}(dn,function(_0x2437b4){var _0x2ac322=_0xfe49;return(function(){var _0xc10ac1=_0xfe49,_0x3edf37=_0x2437b4,_0x216b77=_0x3edf37[_0xc10ac1(0x298)],_0x57351f=_0x216b77[_0xc10ac1(0x26d)],_0xe51624=_0x3edf37['enc'];_0xe51624['Base64']={'stringify':function(_0x33d87b){var _0x3241e6=_0xc10ac1,_0x5a14cd=_0x33d87b[_0x3241e6(0x2c9)],_0x2eeea4=_0x33d87b[_0x3241e6(0x2ff)],_0x521fbd=this['_map'];_0x33d87b[_0x3241e6(0x2d8)]();for(var _0x4e71c2=[],_0x152064=0x0;_0x152064<_0x2eeea4;_0x152064+=0x3)for(var _0x1b8c7b=_0x5a14cd[_0x152064>>>0x2]>>>0x18-_0x152064%0x4*0x8&0xff,_0x132d7c=_0x5a14cd[_0x152064+0x1>>>0x2]>>>0x18-(_0x152064+0x1)%0x4*0x8&0xff,_0x27638b=_0x5a14cd[_0x152064+0x2>>>0x2]>>>0x18-(_0x152064+0x2)%0x4*0x8&0xff,_0x3c5bba=_0x1b8c7b<<0x10|_0x132d7c<<0x8|_0x27638b,_0x4f03ae=0x0;_0x4f03ae<0x4&&_0x152064+_0x4f03ae*0.75<_0x2eeea4;_0x4f03ae++)_0x4e71c2[_0x3241e6(0x26c)](_0x521fbd[_0x3241e6(0x33e)](_0x3c5bba>>>0x6*(0x3-_0x4f03ae)&0x3f));var _0x8b36e3=_0x521fbd[_0x3241e6(0x33e)](0x40);if(_0x8b36e3){for(;_0x4e71c2['length']%0x4;)_0x4e71c2[_0x3241e6(0x26c)](_0x8b36e3);}return _0x4e71c2[_0x3241e6(0x38e)]('');},'parse':function(_0x330627){var _0x331c60=_0xc10ac1,_0xb2bea5=_0x330627[_0x331c60(0x395)],_0x2baf43=this[_0x331c60(0x118)],_0x29ae51=this['_reverseMap'];if(!_0x29ae51){_0x29ae51=this[_0x331c60(0x2b9)]=[];for(var _0x2667f4=0x0;_0x2667f4<_0x2baf43[_0x331c60(0x395)];_0x2667f4++)_0x29ae51[_0x2baf43[_0x331c60(0x356)](_0x2667f4)]=_0x2667f4;}var _0x5ae7c4=_0x2baf43[_0x331c60(0x33e)](0x40);if(_0x5ae7c4){var _0x1587da=_0x330627['indexOf'](_0x5ae7c4);_0x1587da!==-0x1&&(_0xb2bea5=_0x1587da);}return _0x15dff4(_0x330627,_0xb2bea5,_0x29ae51);},'_map':_0xc10ac1(0x2a7)};function _0x15dff4(_0x3eeedb,_0x3362c5,_0x290369){var _0x239c22=_0xc10ac1;for(var _0x2a62c5=[],_0x4b4750=0x0,_0x60264b=0x0;_0x60264b<_0x3362c5;_0x60264b++)if(_0x60264b%0x4){var _0x457e15=_0x290369[_0x3eeedb[_0x239c22(0x356)](_0x60264b-0x1)]<<_0x60264b%0x4*0x2,_0x36a64e=_0x290369[_0x3eeedb[_0x239c22(0x356)](_0x60264b)]>>>0x6-_0x60264b%0x4*0x2,_0x51a56f=_0x457e15|_0x36a64e;_0x2a62c5[_0x4b4750>>>0x2]|=_0x51a56f<<0x18-_0x4b4750%0x4*0x8,_0x4b4750++;}return _0x57351f['create'](_0x2a62c5,_0x4b4750);}}()),_0x2437b4[_0x2ac322(0x291)][_0x2ac322(0x1a1)];}));}(We)),We['exports'];}var Ye={'exports':{}},fn=Ye[_0x51ced9(0xc8)],Jt;function vn(){var _0x3486cf=_0x51ced9;return Jt||(Jt=0x1,function(_0x20d284,_0x2fddcf){(function(_0x4bc225,_0x469f52){var _0x1ab1e2=_0xfe49;_0x20d284[_0x1ab1e2(0xc8)]=_0x469f52(te());}(fn,function(_0x2f5ab0){return function(_0x55eac1){var _0x224fe6=_0xfe49,_0x143369=_0x2f5ab0,_0x1e701d=_0x143369[_0x224fe6(0x298)],_0x396ce2=_0x1e701d[_0x224fe6(0x26d)],_0x2afca2=_0x1e701d[_0x224fe6(0x136)],_0x232707=_0x143369[_0x224fe6(0x280)],_0x177e50=[];(function(){var _0x3958cc=_0x224fe6;for(var _0x582a63=0x0;_0x582a63<0x40;_0x582a63++)_0x177e50[_0x582a63]=_0x55eac1[_0x3958cc(0x1d4)](_0x55eac1[_0x3958cc(0x39d)](_0x582a63+0x1))*0x100000000|0x0;}());var _0x4dd925=_0x232707[_0x224fe6(0x214)]=_0x2afca2[_0x224fe6(0x1ea)]({'_doReset':function(){var _0x4ead0a=_0x224fe6;this[_0x4ead0a(0x15b)]=new _0x396ce2[(_0x4ead0a(0xf3))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476]);},'_doProcessBlock':function(_0x587c51,_0x242118){var _0x33e473=_0x224fe6;for(var _0x237b12=0x0;_0x237b12<0x10;_0x237b12++){var _0x4eff5b=_0x242118+_0x237b12,_0x1ce0dd=_0x587c51[_0x4eff5b];_0x587c51[_0x4eff5b]=(_0x1ce0dd<<0x8|_0x1ce0dd>>>0x18)&0xff00ff|(_0x1ce0dd<<0x18|_0x1ce0dd>>>0x8)&0xff00ff00;}var _0x59d2a3=this[_0x33e473(0x15b)][_0x33e473(0x2c9)],_0x20f9a4=_0x587c51[_0x242118+0x0],_0x11b78c=_0x587c51[_0x242118+0x1],_0x51e275=_0x587c51[_0x242118+0x2],_0x33a289=_0x587c51[_0x242118+0x3],_0x35300f=_0x587c51[_0x242118+0x4],_0x5ba681=_0x587c51[_0x242118+0x5],_0x2ed1a5=_0x587c51[_0x242118+0x6],_0x3df722=_0x587c51[_0x242118+0x7],_0x2a4b73=_0x587c51[_0x242118+0x8],_0xbc2753=_0x587c51[_0x242118+0x9],_0x790ac1=_0x587c51[_0x242118+0xa],_0x5b006e=_0x587c51[_0x242118+0xb],_0x50c9b9=_0x587c51[_0x242118+0xc],_0x5d892e=_0x587c51[_0x242118+0xd],_0x4d6a63=_0x587c51[_0x242118+0xe],_0x41ed77=_0x587c51[_0x242118+0xf],_0x24c4ae=_0x59d2a3[0x0],_0x438bff=_0x59d2a3[0x1],_0x38064f=_0x59d2a3[0x2],_0x36320d=_0x59d2a3[0x3];_0x24c4ae=_0x254f50(_0x24c4ae,_0x438bff,_0x38064f,_0x36320d,_0x20f9a4,0x7,_0x177e50[0x0]),_0x36320d=_0x254f50(_0x36320d,_0x24c4ae,_0x438bff,_0x38064f,_0x11b78c,0xc,_0x177e50[0x1]),_0x38064f=_0x254f50(_0x38064f,_0x36320d,_0x24c4ae,_0x438bff,_0x51e275,0x11,_0x177e50[0x2]),_0x438bff=_0x254f50(_0x438bff,_0x38064f,_0x36320d,_0x24c4ae,_0x33a289,0x16,_0x177e50[0x3]),_0x24c4ae=_0x254f50(_0x24c4ae,_0x438bff,_0x38064f,_0x36320d,_0x35300f,0x7,_0x177e50[0x4]),_0x36320d=_0x254f50(_0x36320d,_0x24c4ae,_0x438bff,_0x38064f,_0x5ba681,0xc,_0x177e50[0x5]),_0x38064f=_0x254f50(_0x38064f,_0x36320d,_0x24c4ae,_0x438bff,_0x2ed1a5,0x11,_0x177e50[0x6]),_0x438bff=_0x254f50(_0x438bff,_0x38064f,_0x36320d,_0x24c4ae,_0x3df722,0x16,_0x177e50[0x7]),_0x24c4ae=_0x254f50(_0x24c4ae,_0x438bff,_0x38064f,_0x36320d,_0x2a4b73,0x7,_0x177e50[0x8]),_0x36320d=_0x254f50(_0x36320d,_0x24c4ae,_0x438bff,_0x38064f,_0xbc2753,0xc,_0x177e50[0x9]),_0x38064f=_0x254f50(_0x38064f,_0x36320d,_0x24c4ae,_0x438bff,_0x790ac1,0x11,_0x177e50[0xa]),_0x438bff=_0x254f50(_0x438bff,_0x38064f,_0x36320d,_0x24c4ae,_0x5b006e,0x16,_0x177e50[0xb]),_0x24c4ae=_0x254f50(_0x24c4ae,_0x438bff,_0x38064f,_0x36320d,_0x50c9b9,0x7,_0x177e50[0xc]),_0x36320d=_0x254f50(_0x36320d,_0x24c4ae,_0x438bff,_0x38064f,_0x5d892e,0xc,_0x177e50[0xd]),_0x38064f=_0x254f50(_0x38064f,_0x36320d,_0x24c4ae,_0x438bff,_0x4d6a63,0x11,_0x177e50[0xe]),_0x438bff=_0x254f50(_0x438bff,_0x38064f,_0x36320d,_0x24c4ae,_0x41ed77,0x16,_0x177e50[0xf]),_0x24c4ae=_0x32e1d5(_0x24c4ae,_0x438bff,_0x38064f,_0x36320d,_0x11b78c,0x5,_0x177e50[0x10]),_0x36320d=_0x32e1d5(_0x36320d,_0x24c4ae,_0x438bff,_0x38064f,_0x2ed1a5,0x9,_0x177e50[0x11]),_0x38064f=_0x32e1d5(_0x38064f,_0x36320d,_0x24c4ae,_0x438bff,_0x5b006e,0xe,_0x177e50[0x12]),_0x438bff=_0x32e1d5(_0x438bff,_0x38064f,_0x36320d,_0x24c4ae,_0x20f9a4,0x14,_0x177e50[0x13]),_0x24c4ae=_0x32e1d5(_0x24c4ae,_0x438bff,_0x38064f,_0x36320d,_0x5ba681,0x5,_0x177e50[0x14]),_0x36320d=_0x32e1d5(_0x36320d,_0x24c4ae,_0x438bff,_0x38064f,_0x790ac1,0x9,_0x177e50[0x15]),_0x38064f=_0x32e1d5(_0x38064f,_0x36320d,_0x24c4ae,_0x438bff,_0x41ed77,0xe,_0x177e50[0x16]),_0x438bff=_0x32e1d5(_0x438bff,_0x38064f,_0x36320d,_0x24c4ae,_0x35300f,0x14,_0x177e50[0x17]),_0x24c4ae=_0x32e1d5(_0x24c4ae,_0x438bff,_0x38064f,_0x36320d,_0xbc2753,0x5,_0x177e50[0x18]),_0x36320d=_0x32e1d5(_0x36320d,_0x24c4ae,_0x438bff,_0x38064f,_0x4d6a63,0x9,_0x177e50[0x19]),_0x38064f=_0x32e1d5(_0x38064f,_0x36320d,_0x24c4ae,_0x438bff,_0x33a289,0xe,_0x177e50[0x1a]),_0x438bff=_0x32e1d5(_0x438bff,_0x38064f,_0x36320d,_0x24c4ae,_0x2a4b73,0x14,_0x177e50[0x1b]),_0x24c4ae=_0x32e1d5(_0x24c4ae,_0x438bff,_0x38064f,_0x36320d,_0x5d892e,0x5,_0x177e50[0x1c]),_0x36320d=_0x32e1d5(_0x36320d,_0x24c4ae,_0x438bff,_0x38064f,_0x51e275,0x9,_0x177e50[0x1d]),_0x38064f=_0x32e1d5(_0x38064f,_0x36320d,_0x24c4ae,_0x438bff,_0x3df722,0xe,_0x177e50[0x1e]),_0x438bff=_0x32e1d5(_0x438bff,_0x38064f,_0x36320d,_0x24c4ae,_0x50c9b9,0x14,_0x177e50[0x1f]),_0x24c4ae=_0x215c03(_0x24c4ae,_0x438bff,_0x38064f,_0x36320d,_0x5ba681,0x4,_0x177e50[0x20]),_0x36320d=_0x215c03(_0x36320d,_0x24c4ae,_0x438bff,_0x38064f,_0x2a4b73,0xb,_0x177e50[0x21]),_0x38064f=_0x215c03(_0x38064f,_0x36320d,_0x24c4ae,_0x438bff,_0x5b006e,0x10,_0x177e50[0x22]),_0x438bff=_0x215c03(_0x438bff,_0x38064f,_0x36320d,_0x24c4ae,_0x4d6a63,0x17,_0x177e50[0x23]),_0x24c4ae=_0x215c03(_0x24c4ae,_0x438bff,_0x38064f,_0x36320d,_0x11b78c,0x4,_0x177e50[0x24]),_0x36320d=_0x215c03(_0x36320d,_0x24c4ae,_0x438bff,_0x38064f,_0x35300f,0xb,_0x177e50[0x25]),_0x38064f=_0x215c03(_0x38064f,_0x36320d,_0x24c4ae,_0x438bff,_0x3df722,0x10,_0x177e50[0x26]),_0x438bff=_0x215c03(_0x438bff,_0x38064f,_0x36320d,_0x24c4ae,_0x790ac1,0x17,_0x177e50[0x27]),_0x24c4ae=_0x215c03(_0x24c4ae,_0x438bff,_0x38064f,_0x36320d,_0x5d892e,0x4,_0x177e50[0x28]),_0x36320d=_0x215c03(_0x36320d,_0x24c4ae,_0x438bff,_0x38064f,_0x20f9a4,0xb,_0x177e50[0x29]),_0x38064f=_0x215c03(_0x38064f,_0x36320d,_0x24c4ae,_0x438bff,_0x33a289,0x10,_0x177e50[0x2a]),_0x438bff=_0x215c03(_0x438bff,_0x38064f,_0x36320d,_0x24c4ae,_0x2ed1a5,0x17,_0x177e50[0x2b]),_0x24c4ae=_0x215c03(_0x24c4ae,_0x438bff,_0x38064f,_0x36320d,_0xbc2753,0x4,_0x177e50[0x2c]),_0x36320d=_0x215c03(_0x36320d,_0x24c4ae,_0x438bff,_0x38064f,_0x50c9b9,0xb,_0x177e50[0x2d]),_0x38064f=_0x215c03(_0x38064f,_0x36320d,_0x24c4ae,_0x438bff,_0x41ed77,0x10,_0x177e50[0x2e]),_0x438bff=_0x215c03(_0x438bff,_0x38064f,_0x36320d,_0x24c4ae,_0x51e275,0x17,_0x177e50[0x2f]),_0x24c4ae=_0x122328(_0x24c4ae,_0x438bff,_0x38064f,_0x36320d,_0x20f9a4,0x6,_0x177e50[0x30]),_0x36320d=_0x122328(_0x36320d,_0x24c4ae,_0x438bff,_0x38064f,_0x3df722,0xa,_0x177e50[0x31]),_0x38064f=_0x122328(_0x38064f,_0x36320d,_0x24c4ae,_0x438bff,_0x4d6a63,0xf,_0x177e50[0x32]),_0x438bff=_0x122328(_0x438bff,_0x38064f,_0x36320d,_0x24c4ae,_0x5ba681,0x15,_0x177e50[0x33]),_0x24c4ae=_0x122328(_0x24c4ae,_0x438bff,_0x38064f,_0x36320d,_0x50c9b9,0x6,_0x177e50[0x34]),_0x36320d=_0x122328(_0x36320d,_0x24c4ae,_0x438bff,_0x38064f,_0x33a289,0xa,_0x177e50[0x35]),_0x38064f=_0x122328(_0x38064f,_0x36320d,_0x24c4ae,_0x438bff,_0x790ac1,0xf,_0x177e50[0x36]),_0x438bff=_0x122328(_0x438bff,_0x38064f,_0x36320d,_0x24c4ae,_0x11b78c,0x15,_0x177e50[0x37]),_0x24c4ae=_0x122328(_0x24c4ae,_0x438bff,_0x38064f,_0x36320d,_0x2a4b73,0x6,_0x177e50[0x38]),_0x36320d=_0x122328(_0x36320d,_0x24c4ae,_0x438bff,_0x38064f,_0x41ed77,0xa,_0x177e50[0x39]),_0x38064f=_0x122328(_0x38064f,_0x36320d,_0x24c4ae,_0x438bff,_0x2ed1a5,0xf,_0x177e50[0x3a]),_0x438bff=_0x122328(_0x438bff,_0x38064f,_0x36320d,_0x24c4ae,_0x5d892e,0x15,_0x177e50[0x3b]),_0x24c4ae=_0x122328(_0x24c4ae,_0x438bff,_0x38064f,_0x36320d,_0x35300f,0x6,_0x177e50[0x3c]),_0x36320d=_0x122328(_0x36320d,_0x24c4ae,_0x438bff,_0x38064f,_0x5b006e,0xa,_0x177e50[0x3d]),_0x38064f=_0x122328(_0x38064f,_0x36320d,_0x24c4ae,_0x438bff,_0x51e275,0xf,_0x177e50[0x3e]),_0x438bff=_0x122328(_0x438bff,_0x38064f,_0x36320d,_0x24c4ae,_0xbc2753,0x15,_0x177e50[0x3f]),_0x59d2a3[0x0]=_0x59d2a3[0x0]+_0x24c4ae|0x0,_0x59d2a3[0x1]=_0x59d2a3[0x1]+_0x438bff|0x0,_0x59d2a3[0x2]=_0x59d2a3[0x2]+_0x38064f|0x0,_0x59d2a3[0x3]=_0x59d2a3[0x3]+_0x36320d|0x0;},'_doFinalize':function(){var _0x24b5df=_0x224fe6,_0x203e28=this['_data'],_0x590cce=_0x203e28[_0x24b5df(0x2c9)],_0x494231=this['_nDataBytes']*0x8,_0x9f1fec=_0x203e28['sigBytes']*0x8;_0x590cce[_0x9f1fec>>>0x5]|=0x80<<0x18-_0x9f1fec%0x20;var _0x2d9037=_0x55eac1[_0x24b5df(0x2aa)](_0x494231/0x100000000),_0x5204dc=_0x494231;_0x590cce[(_0x9f1fec+0x40>>>0x9<<0x4)+0xf]=(_0x2d9037<<0x8|_0x2d9037>>>0x18)&0xff00ff|(_0x2d9037<<0x18|_0x2d9037>>>0x8)&0xff00ff00,_0x590cce[(_0x9f1fec+0x40>>>0x9<<0x4)+0xe]=(_0x5204dc<<0x8|_0x5204dc>>>0x18)&0xff00ff|(_0x5204dc<<0x18|_0x5204dc>>>0x8)&0xff00ff00,_0x203e28['sigBytes']=(_0x590cce[_0x24b5df(0x395)]+0x1)*0x4,this[_0x24b5df(0x2f7)]();for(var _0x93b3e5=this[_0x24b5df(0x15b)],_0x13ff1a=_0x93b3e5[_0x24b5df(0x2c9)],_0x13953a=0x0;_0x13953a<0x4;_0x13953a++){var _0x1d2f13=_0x13ff1a[_0x13953a];_0x13ff1a[_0x13953a]=(_0x1d2f13<<0x8|_0x1d2f13>>>0x18)&0xff00ff|(_0x1d2f13<<0x18|_0x1d2f13>>>0x8)&0xff00ff00;}return _0x93b3e5;},'clone':function(){var _0x61460d=_0x224fe6,_0x17e297=_0x2afca2[_0x61460d(0x355)][_0x61460d(0x2b7)](this);return _0x17e297[_0x61460d(0x15b)]=this[_0x61460d(0x15b)][_0x61460d(0x355)](),_0x17e297;}});function _0x254f50(_0x416a13,_0x54c892,_0x3d55f3,_0x2205d5,_0x378781,_0x17711a,_0x32fbb7){var _0x5cf854=_0x416a13+(_0x54c892&_0x3d55f3|~_0x54c892&_0x2205d5)+_0x378781+_0x32fbb7;return(_0x5cf854<<_0x17711a|_0x5cf854>>>0x20-_0x17711a)+_0x54c892;}function _0x32e1d5(_0x457840,_0x51638c,_0x6787e7,_0x757ea9,_0x2f356f,_0x53b106,_0x3c8072){var _0x36645c=_0x457840+(_0x51638c&_0x757ea9|_0x6787e7&~_0x757ea9)+_0x2f356f+_0x3c8072;return(_0x36645c<<_0x53b106|_0x36645c>>>0x20-_0x53b106)+_0x51638c;}function _0x215c03(_0x485222,_0x389c16,_0x5837e3,_0x1976a4,_0x563cca,_0x51c69d,_0x29eec7){var _0x39e3b5=_0x485222+(_0x389c16^_0x5837e3^_0x1976a4)+_0x563cca+_0x29eec7;return(_0x39e3b5<<_0x51c69d|_0x39e3b5>>>0x20-_0x51c69d)+_0x389c16;}function _0x122328(_0x352be9,_0x5e579b,_0x1679e3,_0x5754ce,_0x32c58d,_0x2976ef,_0x1782b5){var _0x27f29f=_0x352be9+(_0x1679e3^(_0x5e579b|~_0x5754ce))+_0x32c58d+_0x1782b5;return(_0x27f29f<<_0x2976ef|_0x27f29f>>>0x20-_0x2976ef)+_0x5e579b;}_0x143369[_0x224fe6(0x214)]=_0x2afca2[_0x224fe6(0xf7)](_0x4dd925),_0x143369[_0x224fe6(0x27a)]=_0x2afca2[_0x224fe6(0x126)](_0x4dd925);}(Math),_0x2f5ab0['MD5'];}));}(Ye)),Ye[_0x3486cf(0xc8)];}var Ke={'exports':{}},qe={'exports':{}},pn=qe['exports'],Xt;function mn(){return Xt||(Xt=0x1,function(_0x434dfb,_0x2ab1bd){(function(_0x3da018,_0x1b548b){var _0x549897=_0xfe49;_0x434dfb[_0x549897(0xc8)]=_0x1b548b(te());}(pn,function(_0x1640fa){var _0x5aeed5=_0xfe49;return(function(){var _0x44d141=_0xfe49,_0x56d2e=_0x1640fa,_0x43c006=_0x56d2e[_0x44d141(0x298)],_0x58cdaa=_0x43c006['WordArray'],_0x1020c1=_0x43c006['Hasher'],_0x52ccf8=_0x56d2e[_0x44d141(0x280)],_0x5edf15=[],_0x52a3a2=_0x52ccf8[_0x44d141(0x16d)]=_0x1020c1[_0x44d141(0x1ea)]({'_doReset':function(){var _0x122d2e=_0x44d141;this['_hash']=new _0x58cdaa[(_0x122d2e(0xf3))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476,0xc3d2e1f0]);},'_doProcessBlock':function(_0x1ae468,_0x4c5a31){var _0x519563=_0x44d141;for(var _0xd537a2=this['_hash'][_0x519563(0x2c9)],_0x31b826=_0xd537a2[0x0],_0x20a3b4=_0xd537a2[0x1],_0x3e7a9a=_0xd537a2[0x2],_0x5356c0=_0xd537a2[0x3],_0x2bee2b=_0xd537a2[0x4],_0x4685d0=0x0;_0x4685d0<0x50;_0x4685d0++){if(_0x4685d0<0x10)_0x5edf15[_0x4685d0]=_0x1ae468[_0x4c5a31+_0x4685d0]|0x0;else{var _0x501fc8=_0x5edf15[_0x4685d0-0x3]^_0x5edf15[_0x4685d0-0x8]^_0x5edf15[_0x4685d0-0xe]^_0x5edf15[_0x4685d0-0x10];_0x5edf15[_0x4685d0]=_0x501fc8<<0x1|_0x501fc8>>>0x1f;}var _0x3d50d4=(_0x31b826<<0x5|_0x31b826>>>0x1b)+_0x2bee2b+_0x5edf15[_0x4685d0];_0x4685d0<0x14?_0x3d50d4+=(_0x20a3b4&_0x3e7a9a|~_0x20a3b4&_0x5356c0)+0x5a827999:_0x4685d0<0x28?_0x3d50d4+=(_0x20a3b4^_0x3e7a9a^_0x5356c0)+0x6ed9eba1:_0x4685d0<0x3c?_0x3d50d4+=(_0x20a3b4&_0x3e7a9a|_0x20a3b4&_0x5356c0|_0x3e7a9a&_0x5356c0)-0x70e44324:_0x3d50d4+=(_0x20a3b4^_0x3e7a9a^_0x5356c0)-0x359d3e2a,_0x2bee2b=_0x5356c0,_0x5356c0=_0x3e7a9a,_0x3e7a9a=_0x20a3b4<<0x1e|_0x20a3b4>>>0x2,_0x20a3b4=_0x31b826,_0x31b826=_0x3d50d4;}_0xd537a2[0x0]=_0xd537a2[0x0]+_0x31b826|0x0,_0xd537a2[0x1]=_0xd537a2[0x1]+_0x20a3b4|0x0,_0xd537a2[0x2]=_0xd537a2[0x2]+_0x3e7a9a|0x0,_0xd537a2[0x3]=_0xd537a2[0x3]+_0x5356c0|0x0,_0xd537a2[0x4]=_0xd537a2[0x4]+_0x2bee2b|0x0;},'_doFinalize':function(){var _0x351790=_0x44d141,_0x5b8f46=this[_0x351790(0x2a9)],_0x2bed98=_0x5b8f46[_0x351790(0x2c9)],_0x57b90e=this[_0x351790(0x18a)]*0x8,_0xd4f203=_0x5b8f46['sigBytes']*0x8;return _0x2bed98[_0xd4f203>>>0x5]|=0x80<<0x18-_0xd4f203%0x20,_0x2bed98[(_0xd4f203+0x40>>>0x9<<0x4)+0xe]=Math['floor'](_0x57b90e/0x100000000),_0x2bed98[(_0xd4f203+0x40>>>0x9<<0x4)+0xf]=_0x57b90e,_0x5b8f46[_0x351790(0x2ff)]=_0x2bed98['length']*0x4,this[_0x351790(0x2f7)](),this['_hash'];},'clone':function(){var _0x30ec53=_0x44d141,_0x1ba322=_0x1020c1[_0x30ec53(0x355)][_0x30ec53(0x2b7)](this);return _0x1ba322[_0x30ec53(0x15b)]=this[_0x30ec53(0x15b)][_0x30ec53(0x355)](),_0x1ba322;}});_0x56d2e[_0x44d141(0x16d)]=_0x1020c1['_createHelper'](_0x52a3a2),_0x56d2e[_0x44d141(0x23d)]=_0x1020c1[_0x44d141(0x126)](_0x52a3a2);}()),_0x1640fa[_0x5aeed5(0x16d)];}));}(qe)),qe['exports'];}var ze={'exports':{}},gn=ze[_0x51ced9(0xc8)],Zt;function Sn(){var _0x5abb9f=_0x51ced9;return Zt||(Zt=0x1,function(_0x13daa7,_0x299f5d){(function(_0x13aaad,_0x2eefb4){var _0x556aee=_0xfe49;_0x13daa7[_0x556aee(0xc8)]=_0x2eefb4(te());}(gn,function(_0x451d6b){(function(){var _0x54ad6b=_0xfe49,_0x4a0990=_0x451d6b,_0x4659df=_0x4a0990[_0x54ad6b(0x298)],_0x1d4eb5=_0x4659df[_0x54ad6b(0xfc)],_0x1973a9=_0x4a0990[_0x54ad6b(0x291)],_0x41de8d=_0x1973a9['Utf8'],_0x287e9e=_0x4a0990[_0x54ad6b(0x280)];_0x287e9e['HMAC']=_0x1d4eb5['extend']({'init':function(_0x17018b,_0x3e696c){var _0x3c9e15=_0x54ad6b;_0x17018b=this[_0x3c9e15(0x1a8)]=new _0x17018b['init'](),typeof _0x3e696c==_0x3c9e15(0xef)&&(_0x3e696c=_0x41de8d[_0x3c9e15(0xae)](_0x3e696c));var _0x4162ff=_0x17018b[_0x3c9e15(0x305)],_0x4ca7ef=_0x4162ff*0x4;_0x3e696c[_0x3c9e15(0x2ff)]>_0x4ca7ef&&(_0x3e696c=_0x17018b[_0x3c9e15(0x277)](_0x3e696c)),_0x3e696c['clamp']();for(var _0x2d8b2f=this[_0x3c9e15(0x19c)]=_0x3e696c['clone'](),_0x4078d8=this[_0x3c9e15(0xf5)]=_0x3e696c[_0x3c9e15(0x355)](),_0x2b53dd=_0x2d8b2f[_0x3c9e15(0x2c9)],_0x26ea6b=_0x4078d8['words'],_0xe3578d=0x0;_0xe3578d<_0x4162ff;_0xe3578d++)_0x2b53dd[_0xe3578d]^=0x5c5c5c5c,_0x26ea6b[_0xe3578d]^=0x36363636;_0x2d8b2f[_0x3c9e15(0x2ff)]=_0x4078d8[_0x3c9e15(0x2ff)]=_0x4ca7ef,this[_0x3c9e15(0x1d8)]();},'reset':function(){var _0x4a1c95=_0x54ad6b,_0x420463=this[_0x4a1c95(0x1a8)];_0x420463[_0x4a1c95(0x1d8)](),_0x420463['update'](this[_0x4a1c95(0xf5)]);},'update':function(_0x3cc1d8){var _0x1350e0=_0x54ad6b;return this[_0x1350e0(0x1a8)][_0x1350e0(0x3b1)](_0x3cc1d8),this;},'finalize':function(_0x31bc75){var _0x244d82=_0x54ad6b,_0x8c7021=this[_0x244d82(0x1a8)],_0x3d9efe=_0x8c7021[_0x244d82(0x277)](_0x31bc75);_0x8c7021[_0x244d82(0x1d8)]();var _0x4800b8=_0x8c7021[_0x244d82(0x277)](this[_0x244d82(0x19c)][_0x244d82(0x355)]()[_0x244d82(0x35f)](_0x3d9efe));return _0x4800b8;}});}());}));}(ze)),ze[_0x5abb9f(0xc8)];}var En=Ke['exports'],Qt;function yi(){var _0x18c89c=_0x51ced9;return Qt||(Qt=0x1,function(_0x292e59,_0x5bc2e5){(function(_0x140e46,_0x5889e6,_0x332dbf){var _0x3e5cd9=_0xfe49;_0x292e59[_0x3e5cd9(0xc8)]=_0x5889e6(te(),mn(),Sn());}(En,function(_0x313f3f){var _0x197a29=_0xfe49;return(function(){var _0xd5c4d3=_0xfe49,_0x15cece=_0x313f3f,_0x4cda66=_0x15cece[_0xd5c4d3(0x298)],_0x5347e2=_0x4cda66[_0xd5c4d3(0xfc)],_0x56af47=_0x4cda66['WordArray'],_0x445824=_0x15cece[_0xd5c4d3(0x280)],_0x6a4d1=_0x445824[_0xd5c4d3(0x214)],_0x425a84=_0x445824[_0xd5c4d3(0x2c3)]=_0x5347e2[_0xd5c4d3(0x1ea)]({'cfg':_0x5347e2[_0xd5c4d3(0x1ea)]({'keySize':0x80/0x20,'hasher':_0x6a4d1,'iterations':0x1}),'init':function(_0x18c4c1){var _0x587987=_0xd5c4d3;this[_0x587987(0x120)]=this[_0x587987(0x120)]['extend'](_0x18c4c1);},'compute':function(_0x5e4d68,_0x29c452){var _0x878c7c=_0xd5c4d3;for(var _0x49948b,_0x4bf051=this[_0x878c7c(0x120)],_0x425ac4=_0x4bf051['hasher']['create'](),_0x31b8d6=_0x56af47['create'](),_0x1c1f31=_0x31b8d6[_0x878c7c(0x2c9)],_0x15a9f9=_0x4bf051['keySize'],_0x35ca15=_0x4bf051['iterations'];_0x1c1f31['length']<_0x15a9f9;){_0x49948b&&_0x425ac4[_0x878c7c(0x3b1)](_0x49948b),_0x49948b=_0x425ac4[_0x878c7c(0x3b1)](_0x5e4d68)[_0x878c7c(0x277)](_0x29c452),_0x425ac4[_0x878c7c(0x1d8)]();for(var _0x5a1adb=0x1;_0x5a1adb<_0x35ca15;_0x5a1adb++)_0x49948b=_0x425ac4[_0x878c7c(0x277)](_0x49948b),_0x425ac4[_0x878c7c(0x1d8)]();_0x31b8d6[_0x878c7c(0x35f)](_0x49948b);}return _0x31b8d6[_0x878c7c(0x2ff)]=_0x15a9f9*0x4,_0x31b8d6;}});_0x15cece['EvpKDF']=function(_0x3d6c5c,_0x4a7074,_0x288346){var _0x531b0c=_0xd5c4d3;return _0x425a84[_0x531b0c(0x2d7)](_0x288346)[_0x531b0c(0x2d2)](_0x3d6c5c,_0x4a7074);};}()),_0x313f3f[_0x197a29(0x2c3)];}));}(Ke)),Ke[_0x18c89c(0xc8)];}var Je={'exports':{}},In=Je[_0x51ced9(0xc8)],ei;function Ni(){var _0x335a9b=_0x51ced9;return ei||(ei=0x1,function(_0x3ba9d3,_0x2b3eaa){(function(_0x405a8e,_0x1114e9,_0x22da33){var _0x172d88=_0xfe49;_0x3ba9d3[_0x172d88(0xc8)]=_0x1114e9(te(),yi());}(In,function(_0x5d7843){var _0x220884=_0xfe49;_0x5d7843['lib'][_0x220884(0x1a7)]||function(_0x510a78){var _0x53bb3e=_0x220884,_0x3f7ce3=_0x5d7843,_0x20f3f5=_0x3f7ce3[_0x53bb3e(0x298)],_0x2bbe89=_0x20f3f5[_0x53bb3e(0xfc)],_0x947aa2=_0x20f3f5[_0x53bb3e(0x26d)],_0x38a3aa=_0x20f3f5['BufferedBlockAlgorithm'],_0x21b650=_0x3f7ce3['enc'];_0x21b650['Utf8'];var _0x3fdf9e=_0x21b650[_0x53bb3e(0x1a1)],_0x184fec=_0x3f7ce3[_0x53bb3e(0x280)],_0x48871c=_0x184fec[_0x53bb3e(0x2c3)],_0x410745=_0x20f3f5[_0x53bb3e(0x1a7)]=_0x38a3aa[_0x53bb3e(0x1ea)]({'cfg':_0x2bbe89[_0x53bb3e(0x1ea)](),'createEncryptor':function(_0x28fb5c,_0x599a0c){var _0x1605b3=_0x53bb3e;return this[_0x1605b3(0x2d7)](this['_ENC_XFORM_MODE'],_0x28fb5c,_0x599a0c);},'createDecryptor':function(_0x5622c0,_0x1cae81){var _0x2ebe2e=_0x53bb3e;return this[_0x2ebe2e(0x2d7)](this['_DEC_XFORM_MODE'],_0x5622c0,_0x1cae81);},'init':function(_0x1aaebc,_0x291691,_0x32231b){var _0x148d2d=_0x53bb3e;this['cfg']=this[_0x148d2d(0x120)][_0x148d2d(0x1ea)](_0x32231b),this[_0x148d2d(0x279)]=_0x1aaebc,this[_0x148d2d(0x240)]=_0x291691,this[_0x148d2d(0x1d8)]();},'reset':function(){var _0x7694a6=_0x53bb3e;_0x38a3aa[_0x7694a6(0x1d8)]['call'](this),this[_0x7694a6(0x108)]();},'process':function(_0xa1f2a4){var _0x53cdad=_0x53bb3e;return this[_0x53cdad(0x1ce)](_0xa1f2a4),this[_0x53cdad(0x2f7)]();},'finalize':function(_0xac3ea){var _0xaf420f=_0x53bb3e;_0xac3ea&&this[_0xaf420f(0x1ce)](_0xac3ea);var _0xf42eb9=this[_0xaf420f(0x1b0)]();return _0xf42eb9;},'keySize':0x80/0x20,'ivSize':0x80/0x20,'_ENC_XFORM_MODE':0x1,'_DEC_XFORM_MODE':0x2,'_createHelper':(function(){function _0x3aad02(_0x5a5609){return typeof _0x5a5609=='string'?_0x261352:_0x494763;}return function(_0x5cd458){return{'encrypt':function(_0x4ce3df,_0x34bfcc,_0x525013){var _0xdcf912=_0xfe49;return _0x3aad02(_0x34bfcc)[_0xdcf912(0xd2)](_0x5cd458,_0x4ce3df,_0x34bfcc,_0x525013);},'decrypt':function(_0x49efd1,_0x2048e4,_0x3fa5d5){var _0x5723ad=_0xfe49;return _0x3aad02(_0x2048e4)[_0x5723ad(0x35c)](_0x5cd458,_0x49efd1,_0x2048e4,_0x3fa5d5);}};};}())});_0x20f3f5[_0x53bb3e(0x359)]=_0x410745[_0x53bb3e(0x1ea)]({'_doFinalize':function(){var _0x2f9cf0=_0x53bb3e,_0x2dd088=this[_0x2f9cf0(0x2f7)](!0x0);return _0x2dd088;},'blockSize':0x1});var _0x3cbc04=_0x3f7ce3['mode']={},_0x271d44=_0x20f3f5[_0x53bb3e(0x15f)]=_0x2bbe89['extend']({'createEncryptor':function(_0x11e69f,_0x55cf4d){var _0x13948b=_0x53bb3e;return this[_0x13948b(0x198)][_0x13948b(0x2d7)](_0x11e69f,_0x55cf4d);},'createDecryptor':function(_0x2e88a1,_0x17dd75){var _0x93fb8c=_0x53bb3e;return this[_0x93fb8c(0x2a0)][_0x93fb8c(0x2d7)](_0x2e88a1,_0x17dd75);},'init':function(_0x1101fe,_0x3d253a){var _0x48d65f=_0x53bb3e;this[_0x48d65f(0x2e2)]=_0x1101fe,this[_0x48d65f(0x22d)]=_0x3d253a;}}),_0x59fbfc=_0x3cbc04[_0x53bb3e(0x3ac)]=(function(){var _0x581a52=_0x53bb3e,_0x1d7c68=_0x271d44['extend']();_0x1d7c68[_0x581a52(0x198)]=_0x1d7c68[_0x581a52(0x1ea)]({'processBlock':function(_0x4866dc,_0x111072){var _0x278795=_0x581a52,_0x5a9954=this['_cipher'],_0x254397=_0x5a9954[_0x278795(0x305)];_0x597e9d[_0x278795(0x2b7)](this,_0x4866dc,_0x111072,_0x254397),_0x5a9954[_0x278795(0x1e1)](_0x4866dc,_0x111072),this['_prevBlock']=_0x4866dc[_0x278795(0x25a)](_0x111072,_0x111072+_0x254397);}}),_0x1d7c68[_0x581a52(0x2a0)]=_0x1d7c68[_0x581a52(0x1ea)]({'processBlock':function(_0x288ee3,_0x4692ab){var _0x13a7db=_0x581a52,_0x4046ee=this[_0x13a7db(0x2e2)],_0x1fb8ac=_0x4046ee['blockSize'],_0xb0aee9=_0x288ee3['slice'](_0x4692ab,_0x4692ab+_0x1fb8ac);_0x4046ee[_0x13a7db(0x1be)](_0x288ee3,_0x4692ab),_0x597e9d['call'](this,_0x288ee3,_0x4692ab,_0x1fb8ac),this[_0x13a7db(0x3aa)]=_0xb0aee9;}});function _0x597e9d(_0x29d7f2,_0xcf43a1,_0x45d1e1){var _0x2c312e=_0x581a52,_0x48bd5c,_0x3509db=this[_0x2c312e(0x22d)];_0x3509db?(_0x48bd5c=_0x3509db,this[_0x2c312e(0x22d)]=_0x510a78):_0x48bd5c=this[_0x2c312e(0x3aa)];for(var _0x4148ea=0x0;_0x4148ea<_0x45d1e1;_0x4148ea++)_0x29d7f2[_0xcf43a1+_0x4148ea]^=_0x48bd5c[_0x4148ea];}return _0x1d7c68;}()),_0x46dcf5=_0x3f7ce3[_0x53bb3e(0x158)]={},_0xfc985=_0x46dcf5['Pkcs7']={'pad':function(_0x3e11ab,_0x444085){var _0x3eb529=_0x53bb3e;for(var _0x2e582a=_0x444085*0x4,_0x479a91=_0x2e582a-_0x3e11ab[_0x3eb529(0x2ff)]%_0x2e582a,_0x2d0b8f=_0x479a91<<0x18|_0x479a91<<0x10|_0x479a91<<0x8|_0x479a91,_0x18d453=[],_0x1254fc=0x0;_0x1254fc<_0x479a91;_0x1254fc+=0x4)_0x18d453['push'](_0x2d0b8f);var _0x50afce=_0x947aa2[_0x3eb529(0x2d7)](_0x18d453,_0x479a91);_0x3e11ab[_0x3eb529(0x35f)](_0x50afce);},'unpad':function(_0xeec543){var _0x2b033a=_0x53bb3e,_0x5b9166=_0xeec543[_0x2b033a(0x2c9)][_0xeec543['sigBytes']-0x1>>>0x2]&0xff;_0xeec543[_0x2b033a(0x2ff)]-=_0x5b9166;}};_0x20f3f5[_0x53bb3e(0x38f)]=_0x410745[_0x53bb3e(0x1ea)]({'cfg':_0x410745[_0x53bb3e(0x120)][_0x53bb3e(0x1ea)]({'mode':_0x59fbfc,'padding':_0xfc985}),'reset':function(){var _0x16cb73=_0x53bb3e,_0x49590c;_0x410745[_0x16cb73(0x1d8)][_0x16cb73(0x2b7)](this);var _0x1dab54=this['cfg'],_0x2ad5af=_0x1dab54['iv'],_0x23ed8c=_0x1dab54[_0x16cb73(0xba)];this['_xformMode']==this[_0x16cb73(0x13c)]?_0x49590c=_0x23ed8c[_0x16cb73(0x246)]:(_0x49590c=_0x23ed8c[_0x16cb73(0x2e6)],this['_minBufferSize']=0x1),this[_0x16cb73(0xc7)]&&this[_0x16cb73(0xc7)]['__creator']==_0x49590c?this[_0x16cb73(0xc7)][_0x16cb73(0xf3)](this,_0x2ad5af&&_0x2ad5af[_0x16cb73(0x2c9)]):(this['_mode']=_0x49590c['call'](_0x23ed8c,this,_0x2ad5af&&_0x2ad5af[_0x16cb73(0x2c9)]),this['_mode'][_0x16cb73(0x167)]=_0x49590c);},'_doProcessBlock':function(_0x4ba5ec,_0x76ae51){var _0x2be1c7=_0x53bb3e;this[_0x2be1c7(0xc7)][_0x2be1c7(0x156)](_0x4ba5ec,_0x76ae51);},'_doFinalize':function(){var _0x437878=_0x53bb3e,_0x10af70,_0x1954da=this[_0x437878(0x120)][_0x437878(0x1c4)];return this[_0x437878(0x279)]==this['_ENC_XFORM_MODE']?(_0x1954da[_0x437878(0x158)](this[_0x437878(0x2a9)],this[_0x437878(0x305)]),_0x10af70=this[_0x437878(0x2f7)](!0x0)):(_0x10af70=this['_process'](!0x0),_0x1954da['unpad'](_0x10af70)),_0x10af70;},'blockSize':0x80/0x20});var _0x49ab0d=_0x20f3f5[_0x53bb3e(0x27d)]=_0x2bbe89[_0x53bb3e(0x1ea)]({'init':function(_0x2cba72){var _0x44aece=_0x53bb3e;this[_0x44aece(0x24a)](_0x2cba72);},'toString':function(_0x1741f6){var _0x146cfb=_0x53bb3e;return(_0x1741f6||this[_0x146cfb(0x28e)])[_0x146cfb(0x235)](this);}}),_0x770ab5=_0x3f7ce3['format']={},_0x32dfdf=_0x770ab5[_0x53bb3e(0x366)]={'stringify':function(_0xd767bb){var _0x3ba26d=_0x53bb3e,_0x2fd778,_0x8f75a2=_0xd767bb[_0x3ba26d(0xf0)],_0x2e40d2=_0xd767bb[_0x3ba26d(0x281)];return _0x2e40d2?_0x2fd778=_0x947aa2[_0x3ba26d(0x2d7)]([0x53616c74,0x65645f5f])['concat'](_0x2e40d2)[_0x3ba26d(0x35f)](_0x8f75a2):_0x2fd778=_0x8f75a2,_0x2fd778[_0x3ba26d(0x140)](_0x3fdf9e);},'parse':function(_0x297a6a){var _0x3aa420=_0x53bb3e,_0x6c188b,_0x3ac037=_0x3fdf9e['parse'](_0x297a6a),_0x263ba9=_0x3ac037[_0x3aa420(0x2c9)];return _0x263ba9[0x0]==0x53616c74&&_0x263ba9[0x1]==0x65645f5f&&(_0x6c188b=_0x947aa2['create'](_0x263ba9[_0x3aa420(0x25a)](0x2,0x4)),_0x263ba9['splice'](0x0,0x4),_0x3ac037['sigBytes']-=0x10),_0x49ab0d['create']({'ciphertext':_0x3ac037,'salt':_0x6c188b});}},_0x494763=_0x20f3f5['SerializableCipher']=_0x2bbe89[_0x53bb3e(0x1ea)]({'cfg':_0x2bbe89[_0x53bb3e(0x1ea)]({'format':_0x32dfdf}),'encrypt':function(_0xc0e2e4,_0x465fa3,_0x5ecdc8,_0x50f63a){var _0x5c142e=_0x53bb3e;_0x50f63a=this[_0x5c142e(0x120)][_0x5c142e(0x1ea)](_0x50f63a);var _0x5cb91e=_0xc0e2e4[_0x5c142e(0x246)](_0x5ecdc8,_0x50f63a),_0x2b41ca=_0x5cb91e[_0x5c142e(0x277)](_0x465fa3),_0x4ad536=_0x5cb91e[_0x5c142e(0x120)];return _0x49ab0d[_0x5c142e(0x2d7)]({'ciphertext':_0x2b41ca,'key':_0x5ecdc8,'iv':_0x4ad536['iv'],'algorithm':_0xc0e2e4,'mode':_0x4ad536[_0x5c142e(0xba)],'padding':_0x4ad536['padding'],'blockSize':_0xc0e2e4['blockSize'],'formatter':_0x50f63a[_0x5c142e(0x1bd)]});},'decrypt':function(_0x5e4dec,_0x1eceb2,_0x22b6ba,_0x5d81cd){var _0xdceed2=_0x53bb3e;_0x5d81cd=this[_0xdceed2(0x120)]['extend'](_0x5d81cd),_0x1eceb2=this[_0xdceed2(0x25e)](_0x1eceb2,_0x5d81cd[_0xdceed2(0x1bd)]);var _0x344117=_0x5e4dec['createDecryptor'](_0x22b6ba,_0x5d81cd)[_0xdceed2(0x277)](_0x1eceb2[_0xdceed2(0xf0)]);return _0x344117;},'_parse':function(_0xf7c75b,_0x4fffca){var _0x47471e=_0x53bb3e;return typeof _0xf7c75b==_0x47471e(0xef)?_0x4fffca['parse'](_0xf7c75b,this):_0xf7c75b;}}),_0x59e897=_0x3f7ce3['kdf']={},_0x1efde3=_0x59e897[_0x53bb3e(0x366)]={'execute':function(_0x41a2a7,_0x4aad47,_0x1a6484,_0x5936cb,_0x1323fa){var _0x2da8bd=_0x53bb3e;if(_0x5936cb||(_0x5936cb=_0x947aa2[_0x2da8bd(0x360)](0x40/0x8)),_0x1323fa)var _0x219027=_0x48871c[_0x2da8bd(0x2d7)]({'keySize':_0x4aad47+_0x1a6484,'hasher':_0x1323fa})['compute'](_0x41a2a7,_0x5936cb);else var _0x219027=_0x48871c[_0x2da8bd(0x2d7)]({'keySize':_0x4aad47+_0x1a6484})['compute'](_0x41a2a7,_0x5936cb);var _0x26e3de=_0x947aa2[_0x2da8bd(0x2d7)](_0x219027['words'][_0x2da8bd(0x25a)](_0x4aad47),_0x1a6484*0x4);return _0x219027[_0x2da8bd(0x2ff)]=_0x4aad47*0x4,_0x49ab0d[_0x2da8bd(0x2d7)]({'key':_0x219027,'iv':_0x26e3de,'salt':_0x5936cb});}},_0x261352=_0x20f3f5[_0x53bb3e(0x26f)]=_0x494763[_0x53bb3e(0x1ea)]({'cfg':_0x494763[_0x53bb3e(0x120)][_0x53bb3e(0x1ea)]({'kdf':_0x1efde3}),'encrypt':function(_0x43baac,_0x2b685c,_0x2c522a,_0x1cba34){var _0x319d4e=_0x53bb3e;_0x1cba34=this['cfg']['extend'](_0x1cba34);var _0x4e7b20=_0x1cba34[_0x319d4e(0x1db)][_0x319d4e(0x2b8)](_0x2c522a,_0x43baac[_0x319d4e(0xca)],_0x43baac[_0x319d4e(0x1f4)],_0x1cba34[_0x319d4e(0x281)],_0x1cba34['hasher']);_0x1cba34['iv']=_0x4e7b20['iv'];var _0x6830d=_0x494763[_0x319d4e(0xd2)][_0x319d4e(0x2b7)](this,_0x43baac,_0x2b685c,_0x4e7b20['key'],_0x1cba34);return _0x6830d[_0x319d4e(0x24a)](_0x4e7b20),_0x6830d;},'decrypt':function(_0xe22aed,_0x3a6230,_0x38aa63,_0x478e0){var _0x31e13f=_0x53bb3e;_0x478e0=this[_0x31e13f(0x120)][_0x31e13f(0x1ea)](_0x478e0),_0x3a6230=this[_0x31e13f(0x25e)](_0x3a6230,_0x478e0['format']);var _0x3f0420=_0x478e0[_0x31e13f(0x1db)][_0x31e13f(0x2b8)](_0x38aa63,_0xe22aed[_0x31e13f(0xca)],_0xe22aed[_0x31e13f(0x1f4)],_0x3a6230[_0x31e13f(0x281)],_0x478e0[_0x31e13f(0x116)]);_0x478e0['iv']=_0x3f0420['iv'];var _0x52a2ff=_0x494763['decrypt'][_0x31e13f(0x2b7)](this,_0xe22aed,_0x3a6230,_0x3f0420['key'],_0x478e0);return _0x52a2ff;}});}();}));}(Je)),Je[_0x335a9b(0xc8)];}var Tn=Ve[_0x51ced9(0xc8)],ti;function Cn(){var _0x207928=_0x51ced9;return ti||(ti=0x1,function(_0x254b38,_0x458182){(function(_0x27de12,_0x111581,_0x46614c){var _0x2997df=_0xfe49;_0x254b38[_0x2997df(0xc8)]=_0x111581(te(),Oi(),vn(),yi(),Ni());}(Tn,function(_0xa330fd){var _0x3bda1e=_0xfe49;return(function(){var _0x250130=_0xfe49,_0x1219d8=_0xa330fd,_0x70f080=_0x1219d8[_0x250130(0x298)],_0x208273=_0x70f080[_0x250130(0x38f)],_0x1d1174=_0x1219d8['algo'],_0x361aa2=[],_0x44460b=[],_0x3fec97=[],_0x4a9234=[],_0x19cb48=[],_0x549047=[],_0x54b2e4=[],_0x4f4858=[],_0x4c4fc2=[],_0x2eebc4=[];(function(){for(var _0x369ea9=[],_0x51aee4=0x0;_0x51aee4<0x100;_0x51aee4++)_0x51aee4<0x80?_0x369ea9[_0x51aee4]=_0x51aee4<<0x1:_0x369ea9[_0x51aee4]=_0x51aee4<<0x1^0x11b;for(var _0x35dbad=0x0,_0x108a01=0x0,_0x51aee4=0x0;_0x51aee4<0x100;_0x51aee4++){var _0x18b891=_0x108a01^_0x108a01<<0x1^_0x108a01<<0x2^_0x108a01<<0x3^_0x108a01<<0x4;_0x18b891=_0x18b891>>>0x8^_0x18b891&0xff^0x63,_0x361aa2[_0x35dbad]=_0x18b891,_0x44460b[_0x18b891]=_0x35dbad;var _0x16a138=_0x369ea9[_0x35dbad],_0x1b438e=_0x369ea9[_0x16a138],_0x29098d=_0x369ea9[_0x1b438e],_0x3c1362=_0x369ea9[_0x18b891]*0x101^_0x18b891*0x1010100;_0x3fec97[_0x35dbad]=_0x3c1362<<0x18|_0x3c1362>>>0x8,_0x4a9234[_0x35dbad]=_0x3c1362<<0x10|_0x3c1362>>>0x10,_0x19cb48[_0x35dbad]=_0x3c1362<<0x8|_0x3c1362>>>0x18,_0x549047[_0x35dbad]=_0x3c1362;var _0x3c1362=_0x29098d*0x1010101^_0x1b438e*0x10001^_0x16a138*0x101^_0x35dbad*0x1010100;_0x54b2e4[_0x18b891]=_0x3c1362<<0x18|_0x3c1362>>>0x8,_0x4f4858[_0x18b891]=_0x3c1362<<0x10|_0x3c1362>>>0x10,_0x4c4fc2[_0x18b891]=_0x3c1362<<0x8|_0x3c1362>>>0x18,_0x2eebc4[_0x18b891]=_0x3c1362,_0x35dbad?(_0x35dbad=_0x16a138^_0x369ea9[_0x369ea9[_0x369ea9[_0x29098d^_0x16a138]]],_0x108a01^=_0x369ea9[_0x369ea9[_0x108a01]]):_0x35dbad=_0x108a01=0x1;}}());var _0x42a1b6=[0x0,0x1,0x2,0x4,0x8,0x10,0x20,0x40,0x80,0x1b,0x36],_0x14dee7=_0x1d1174[_0x250130(0x190)]=_0x208273[_0x250130(0x1ea)]({'_doReset':function(){var _0x43d303=_0x250130,_0x220019;if(!(this['_nRounds']&&this[_0x43d303(0xdc)]===this[_0x43d303(0x240)])){for(var _0x4107ef=this['_keyPriorReset']=this[_0x43d303(0x240)],_0x257802=_0x4107ef['words'],_0x1e81c6=_0x4107ef['sigBytes']/0x4,_0x4922dd=this[_0x43d303(0x12b)]=_0x1e81c6+0x6,_0x45f22a=(_0x4922dd+0x1)*0x4,_0x2f95dd=this['_keySchedule']=[],_0x52839b=0x0;_0x52839b<_0x45f22a;_0x52839b++)_0x52839b<_0x1e81c6?_0x2f95dd[_0x52839b]=_0x257802[_0x52839b]:(_0x220019=_0x2f95dd[_0x52839b-0x1],_0x52839b%_0x1e81c6?_0x1e81c6>0x6&&_0x52839b%_0x1e81c6==0x4&&(_0x220019=_0x361aa2[_0x220019>>>0x18]<<0x18|_0x361aa2[_0x220019>>>0x10&0xff]<<0x10|_0x361aa2[_0x220019>>>0x8&0xff]<<0x8|_0x361aa2[_0x220019&0xff]):(_0x220019=_0x220019<<0x8|_0x220019>>>0x18,_0x220019=_0x361aa2[_0x220019>>>0x18]<<0x18|_0x361aa2[_0x220019>>>0x10&0xff]<<0x10|_0x361aa2[_0x220019>>>0x8&0xff]<<0x8|_0x361aa2[_0x220019&0xff],_0x220019^=_0x42a1b6[_0x52839b/_0x1e81c6|0x0]<<0x18),_0x2f95dd[_0x52839b]=_0x2f95dd[_0x52839b-_0x1e81c6]^_0x220019);for(var _0x39b96=this[_0x43d303(0x2b1)]=[],_0x3817c5=0x0;_0x3817c5<_0x45f22a;_0x3817c5++){var _0x52839b=_0x45f22a-_0x3817c5;if(_0x3817c5%0x4)var _0x220019=_0x2f95dd[_0x52839b];else var _0x220019=_0x2f95dd[_0x52839b-0x4];_0x3817c5<0x4||_0x52839b<=0x4?_0x39b96[_0x3817c5]=_0x220019:_0x39b96[_0x3817c5]=_0x54b2e4[_0x361aa2[_0x220019>>>0x18]]^_0x4f4858[_0x361aa2[_0x220019>>>0x10&0xff]]^_0x4c4fc2[_0x361aa2[_0x220019>>>0x8&0xff]]^_0x2eebc4[_0x361aa2[_0x220019&0xff]];}}},'encryptBlock':function(_0x1edf68,_0x4ad064){var _0xed591a=_0x250130;this[_0xed591a(0x2e3)](_0x1edf68,_0x4ad064,this[_0xed591a(0xfb)],_0x3fec97,_0x4a9234,_0x19cb48,_0x549047,_0x361aa2);},'decryptBlock':function(_0x3d91c9,_0x34b5e6){var _0x3ffd7d=_0x250130,_0x256c95=_0x3d91c9[_0x34b5e6+0x1];_0x3d91c9[_0x34b5e6+0x1]=_0x3d91c9[_0x34b5e6+0x3],_0x3d91c9[_0x34b5e6+0x3]=_0x256c95,this['_doCryptBlock'](_0x3d91c9,_0x34b5e6,this[_0x3ffd7d(0x2b1)],_0x54b2e4,_0x4f4858,_0x4c4fc2,_0x2eebc4,_0x44460b);var _0x256c95=_0x3d91c9[_0x34b5e6+0x1];_0x3d91c9[_0x34b5e6+0x1]=_0x3d91c9[_0x34b5e6+0x3],_0x3d91c9[_0x34b5e6+0x3]=_0x256c95;},'_doCryptBlock':function(_0x3b9964,_0x38aede,_0x4510e5,_0x3a4b84,_0x27ea82,_0x3113c8,_0x4019d0,_0x38df0b){var _0x2fb980=_0x250130;for(var _0x40e752=this[_0x2fb980(0x12b)],_0x1e332a=_0x3b9964[_0x38aede]^_0x4510e5[0x0],_0x256698=_0x3b9964[_0x38aede+0x1]^_0x4510e5[0x1],_0x1da5e7=_0x3b9964[_0x38aede+0x2]^_0x4510e5[0x2],_0x289c06=_0x3b9964[_0x38aede+0x3]^_0x4510e5[0x3],_0x444174=0x4,_0xb37694=0x1;_0xb37694<_0x40e752;_0xb37694++){var _0x3d07a6=_0x3a4b84[_0x1e332a>>>0x18]^_0x27ea82[_0x256698>>>0x10&0xff]^_0x3113c8[_0x1da5e7>>>0x8&0xff]^_0x4019d0[_0x289c06&0xff]^_0x4510e5[_0x444174++],_0x2f2d29=_0x3a4b84[_0x256698>>>0x18]^_0x27ea82[_0x1da5e7>>>0x10&0xff]^_0x3113c8[_0x289c06>>>0x8&0xff]^_0x4019d0[_0x1e332a&0xff]^_0x4510e5[_0x444174++],_0x3db0d2=_0x3a4b84[_0x1da5e7>>>0x18]^_0x27ea82[_0x289c06>>>0x10&0xff]^_0x3113c8[_0x1e332a>>>0x8&0xff]^_0x4019d0[_0x256698&0xff]^_0x4510e5[_0x444174++],_0x5bd375=_0x3a4b84[_0x289c06>>>0x18]^_0x27ea82[_0x1e332a>>>0x10&0xff]^_0x3113c8[_0x256698>>>0x8&0xff]^_0x4019d0[_0x1da5e7&0xff]^_0x4510e5[_0x444174++];_0x1e332a=_0x3d07a6,_0x256698=_0x2f2d29,_0x1da5e7=_0x3db0d2,_0x289c06=_0x5bd375;}var _0x3d07a6=(_0x38df0b[_0x1e332a>>>0x18]<<0x18|_0x38df0b[_0x256698>>>0x10&0xff]<<0x10|_0x38df0b[_0x1da5e7>>>0x8&0xff]<<0x8|_0x38df0b[_0x289c06&0xff])^_0x4510e5[_0x444174++],_0x2f2d29=(_0x38df0b[_0x256698>>>0x18]<<0x18|_0x38df0b[_0x1da5e7>>>0x10&0xff]<<0x10|_0x38df0b[_0x289c06>>>0x8&0xff]<<0x8|_0x38df0b[_0x1e332a&0xff])^_0x4510e5[_0x444174++],_0x3db0d2=(_0x38df0b[_0x1da5e7>>>0x18]<<0x18|_0x38df0b[_0x289c06>>>0x10&0xff]<<0x10|_0x38df0b[_0x1e332a>>>0x8&0xff]<<0x8|_0x38df0b[_0x256698&0xff])^_0x4510e5[_0x444174++],_0x5bd375=(_0x38df0b[_0x289c06>>>0x18]<<0x18|_0x38df0b[_0x1e332a>>>0x10&0xff]<<0x10|_0x38df0b[_0x256698>>>0x8&0xff]<<0x8|_0x38df0b[_0x1da5e7&0xff])^_0x4510e5[_0x444174++];_0x3b9964[_0x38aede]=_0x3d07a6,_0x3b9964[_0x38aede+0x1]=_0x2f2d29,_0x3b9964[_0x38aede+0x2]=_0x3db0d2,_0x3b9964[_0x38aede+0x3]=_0x5bd375;},'keySize':0x100/0x20});_0x1219d8[_0x250130(0x190)]=_0x208273[_0x250130(0xf7)](_0x14dee7);}()),_0xa330fd[_0x3bda1e(0x190)];}));}(Ve)),Ve[_0x207928(0xc8)];}var Rn=Cn();const bn=$e(Rn);var On=Oi();const ii=$e(On);var Xe={'exports':{}},yn=Xe['exports'],si;function Nn(){var _0x216ff9=_0x51ced9;return si||(si=0x1,function(_0x237d84,_0x4d27b5){(function(_0x1ab2ca,_0x5206bb){_0x237d84['exports']=_0x5206bb(te());}(yn,function(_0x10edbd){return _0x10edbd['enc']['Utf8'];}));}(Xe)),Xe[_0x216ff9(0xc8)];}var Dn=Nn();const Un=$e(Dn);var Ze={'exports':{}},An=Ze['exports'],ni;function wn(){var _0x540ff1=_0x51ced9;return ni||(ni=0x1,function(_0x22a255,_0x269b7a){(function(_0x4a6cb9,_0x39657b){var _0x3a940c=_0xfe49;_0x22a255[_0x3a940c(0xc8)]=_0x39657b(te());}(An,function(_0x521ac3){var _0x2fc34a=_0xfe49;return(function(){var _0x5b9dbf=_0xfe49;if(typeof ArrayBuffer==_0x5b9dbf(0x256)){var _0x4916f3=_0x521ac3,_0x551408=_0x4916f3[_0x5b9dbf(0x298)],_0x57668c=_0x551408[_0x5b9dbf(0x26d)],_0x3defee=_0x57668c[_0x5b9dbf(0xf3)],_0x2b4ae9=_0x57668c[_0x5b9dbf(0xf3)]=function(_0x115600){var _0x250ad2=_0x5b9dbf;if(_0x115600 instanceof ArrayBuffer&&(_0x115600=new Uint8Array(_0x115600)),(_0x115600 instanceof Int8Array||typeof Uint8ClampedArray<'u'&&_0x115600 instanceof Uint8ClampedArray||_0x115600 instanceof Int16Array||_0x115600 instanceof Uint16Array||_0x115600 instanceof Int32Array||_0x115600 instanceof Uint32Array||_0x115600 instanceof Float32Array||_0x115600 instanceof Float64Array)&&(_0x115600=new Uint8Array(_0x115600[_0x250ad2(0x2e5)],_0x115600[_0x250ad2(0xd4)],_0x115600[_0x250ad2(0x297)])),_0x115600 instanceof Uint8Array){for(var _0x3d0ed1=_0x115600[_0x250ad2(0x297)],_0x20d325=[],_0x45d83a=0x0;_0x45d83a<_0x3d0ed1;_0x45d83a++)_0x20d325[_0x45d83a>>>0x2]|=_0x115600[_0x45d83a]<<0x18-_0x45d83a%0x4*0x8;_0x3defee[_0x250ad2(0x2b7)](this,_0x20d325,_0x3d0ed1);}else _0x3defee[_0x250ad2(0xb5)](this,arguments);};_0x2b4ae9[_0x5b9dbf(0xbc)]=_0x57668c;}}()),_0x521ac3[_0x2fc34a(0x298)][_0x2fc34a(0x26d)];}));}(Ze)),Ze[_0x540ff1(0xc8)];}var Pn=wn();const Ln=$e(Pn);var Qe={'exports':{}},Mn=Qe[_0x51ced9(0xc8)],ri;function xn(){var _0x42b39b=_0x51ced9;return ri||(ri=0x1,function(_0x2c8a2f,_0x4f97fa){(function(_0x238341,_0x47822e,_0x55b5a2){var _0x3ee3da=_0xfe49;_0x2c8a2f[_0x3ee3da(0xc8)]=_0x47822e(te(),Ni());}(Mn,function(_0x3d8f8f){var _0x74b86c=_0xfe49;return _0x3d8f8f[_0x74b86c(0x158)][_0x74b86c(0x39e)]={'pad':function(){},'unpad':function(){}},_0x3d8f8f[_0x74b86c(0x158)][_0x74b86c(0x39e)];}));}(Qe)),Qe[_0x42b39b(0xc8)];}var kn=xn();const $n=$e(kn);function Hn(_0x579de9,_0x5091ce){var _0x2059f8=_0x51ced9;const _0x3573bf=_0x5091ce-_0x579de9[_0x2059f8(0x395)]%_0x5091ce,_0x358ab8=String[_0x2059f8(0x340)](_0x3573bf)[_0x2059f8(0x191)](_0x3573bf);return _0x579de9+_0x358ab8;}function Bn(_0x22e406,_0x23f80e){var _0x136041=_0x51ced9;const _0xd1d132=Ln[_0x136041(0x360)](0x10),_0x2fa4aa=Hn(_0x22e406,0x10),_0x383f18=bn[_0x136041(0xd2)](Un[_0x136041(0xae)](_0x2fa4aa),ii[_0x136041(0xae)](_0x23f80e),{'iv':_0xd1d132,'padding':$n});return _0xd1d132[_0x136041(0x35f)](_0x383f18[_0x136041(0xf0)])[_0x136041(0x140)](ii);}function jn(){var _0x26d82b=_0x51ced9;const _0x4723dd=_0x48704e()[_0x26d82b(0x30f)];if(_0x4723dd){const _0x8e797f={'time':Math[_0x26d82b(0x2aa)](Date['now']()/0x3e8),'domain':location[_0x26d82b(0xd8)]};return Bn(JSON['stringify'](_0x8e797f),_0x4723dd);}}var Fn=Object['getOwnPropertyDescriptor'],Vn=(_0x491bd9,_0x234c31,_0x117411,_0x105587)=>{var _0xa7b695=_0x51ced9;for(var _0x23810a=_0x105587>0x1?void 0x0:_0x105587?Fn(_0x234c31,_0x117411):_0x234c31,_0x1ff0a6=_0x491bd9[_0xa7b695(0x395)]-0x1,_0x1b85ac;_0x1ff0a6>=0x0;_0x1ff0a6--)(_0x1b85ac=_0x491bd9[_0x1ff0a6])&&(_0x23810a=_0x1b85ac(_0x23810a)||_0x23810a);return _0x23810a;},Gn=(_0x23d97d,_0x3a81a9)=>(_0x396f91,_0x7ca6a2)=>_0x3a81a9(_0x396f91,_0x7ca6a2,_0x23d97d);let at=class{constructor(_0x432ecd){var _0x1e3a8c=_0x51ced9;this['_httpService']=_0x432ecd,this[_0x1e3a8c(0x37e)]();}['_initRequestHeader'](){var _0x58d11b=_0x51ced9;this['_httpService'][_0x58d11b(0x2bb)]({'interceptor':(_0x47a25a,_0x27c385)=>{var _0x153703=_0x58d11b;const _0x476a36=_0x47a25a[_0x153703(0x337)],_0x4ca606=jn();return _0x4ca606&&_0x476a36[_0x153703(0x12f)](_0x153703(0x128),_0x4ca606),_0x27c385(_0x47a25a);}});}};at=Vn([Gn(0x0,_0x22f2f4(_0xd1aa2b))],at);var Wn=Object[_0x51ced9(0x264)],Yn=(_0x4eade7,_0x5cea14,_0x4016d7,_0x1d0a56)=>{for(var _0x5e9177=_0x1d0a56>0x1?void 0x0:_0x1d0a56?Wn(_0x5cea14,_0x4016d7):_0x5cea14,_0x6bf66b=_0x4eade7['length']-0x1,_0xc6a0b3;_0x6bf66b>=0x0;_0x6bf66b--)(_0xc6a0b3=_0x4eade7[_0x6bf66b])&&(_0x5e9177=_0xc6a0b3(_0x5e9177)||_0x5e9177);return _0x5e9177;},vt=(_0x2ae22e,_0xbbadff)=>(_0x2d8c1e,_0x114590)=>_0xbbadff(_0x2d8c1e,_0x114590,_0x2ae22e);let Ct=class extends _0x47b106{constructor(_0x30502b,_0x4984f7,_0x1e69fe){var _0x3db0d1=_0x51ced9;super(),N(this,'_unitInfo$',new _0x1e913a(null)),N(this,_0x3db0d1(0x3a6),this[_0x3db0d1(0x1ed)][_0x3db0d1(0x203)]()),(this[_0x3db0d1(0x1b6)]=_0x30502b,this[_0x3db0d1(0x217)]=_0x4984f7,this[_0x3db0d1(0x2c5)]=_0x1e69fe);}async[_0x51ced9(0xbf)](_0x4fdc45,_0xb783d8,_0x5dd89e){var _0x5b449a=_0x51ced9;this[_0x5b449a(0x1ed)][_0x5b449a(0x2f3)]({'unitId':_0x4fdc45,'type':_0xb783d8});let _0x51538e=null;switch(_0xb783d8){case Z[_0x5b449a(0x111)]:{_0x51538e=await this[_0x5b449a(0x217)][_0x5b449a(0x1cd)](_0x4fdc45,_0x5dd89e);break;}case Z[_0x5b449a(0x182)]:{_0x51538e=await this[_0x5b449a(0x217)]['loadDoc'](_0x4fdc45,_0x5dd89e);break;}default:{this[_0x5b449a(0x1b6)][_0x5b449a(0x377)](_0x5b449a(0x1a5),'Unknown\x20type.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.');break;}}return _0x51538e;}async['loadUnit'](_0x1135b9,_0x58f72b,_0x4d7b49){var _0xb84352=_0x51ced9,_0x55dda0;this[_0xb84352(0x1ed)][_0xb84352(0x2f3)]({'unitId':_0x1135b9,'type':_0x58f72b,'subUnitId':_0x4d7b49});let _0x3b8a85=0x0;const _0x17719f=await((_0x55dda0=this[_0xb84352(0x2c5)])==null?void 0x0:_0x55dda0[_0xb84352(0x252)](_0x1135b9));return _0x17719f&&(_0x17719f[_0xb84352(0x28d)]||_0x17719f[_0xb84352(0x178)][_0xb84352(0x395)]!==0x0)&&(_0x3b8a85=_0x17719f[_0xb84352(0x2cf)]),_0x3b8a85===0x0&&this[_0xb84352(0x1b6)]['debug']('[DataLoaderService]',_0xb84352(0x248)),this[_0xb84352(0xbf)](_0x1135b9,_0x58f72b,_0x3b8a85);}};Ct=Yn([vt(0x0,_0xe9f9bf),vt(0x1,_0x22f2f4(_0x2b91b9)),vt(0x2,_0x2d6fcc(J))],Ct);var Kn=Object[_0x51ced9(0x264)],qn=(_0x27b65e,_0x2e2b7b,_0x3c7324,_0x23aaae)=>{var _0x24d14d=_0x51ced9;for(var _0x33692b=_0x23aaae>0x1?void 0x0:_0x23aaae?Kn(_0x2e2b7b,_0x3c7324):_0x2e2b7b,_0x280912=_0x27b65e[_0x24d14d(0x395)]-0x1,_0xf50eee;_0x280912>=0x0;_0x280912--)(_0xf50eee=_0x27b65e[_0x280912])&&(_0x33692b=_0xf50eee(_0x33692b)||_0x33692b);return _0x33692b;},pt=(_0x16067e,_0x2cae06)=>(_0xeb2d42,_0x18c3e9)=>_0x2cae06(_0xeb2d42,_0x18c3e9,_0x16067e);const zn=[_0x51ced9(0xb6),'image/jpeg',_0x51ced9(0x22a),_0x51ced9(0x32b),_0x51ced9(0x12d)],Jn=0x5*0x400*0x400,Xn=_0x51ced9(0x233),Zn=_0x51ced9(0x14f),Qn=_0x51ced9(0x37c),er=_0x51ced9(0x2b0);let Rt=class{constructor(_0x50777c,_0x1e25b5,_0x414030){var _0x7979e6=_0x51ced9;N(this,_0x7979e6(0x2a2),0x0),N(this,'_change$',new _0x1b294e()),N(this,_0x7979e6(0x268),this[_0x7979e6(0x1ba)]),N(this,_0x7979e6(0x287),new Map()),(this[_0x7979e6(0x139)]=_0x50777c,this[_0x7979e6(0x2b2)]=_0x1e25b5,this[_0x7979e6(0x2ba)]=_0x414030);}['setWaitCount'](_0x4c54bf){var _0x1dc80e=_0x51ced9;this[_0x1dc80e(0x2a2)]=_0x4c54bf,this[_0x1dc80e(0x1ba)][_0x1dc80e(0x2f3)](_0x4c54bf);}['getImageSourceCache'](_0x3411fa,_0x49e402){var _0x2c515e=_0x51ced9;if(_0x49e402===_0x4c46c5['BASE64']){const _0x43e5e4=new Image();return _0x43e5e4[_0x2c515e(0x171)]=_0x3411fa,_0x43e5e4;}return this[_0x2c515e(0x287)][_0x2c515e(0x301)](_0x3411fa);}[_0x51ced9(0x1c9)](_0x5a808a,_0x59a223,_0x44852d){var _0x74f20c=_0x51ced9;_0x59a223===_0x4c46c5[_0x74f20c(0x308)]||_0x44852d==null||this[_0x74f20c(0x287)][_0x74f20c(0x12f)](_0x5a808a,_0x44852d);}async[_0x51ced9(0x10e)](_0x2f7c0b){var _0x44571f=_0x51ced9;try{const _0x2681ca=this['_replaceFileID'](this[_0x44571f(0x3a4)](),''+_0x2f7c0b),_0x3a1b16=(await this[_0x44571f(0x139)][_0x44571f(0x301)](_0x2681ca))[_0x44571f(0x155)];if(_0x3a1b16[_0x44571f(0x377)]&&_0x3a1b16[_0x44571f(0x377)][_0x44571f(0x162)]===pi['OK']){const _0x2f31d6=new URL(_0x3a1b16[_0x44571f(0x31a)],this[_0x44571f(0x101)]())[_0x44571f(0x140)]();return Promise[_0x44571f(0x38b)](_0x2f31d6);}return Promise['reject'](_0x3a1b16[_0x44571f(0x377)]);}catch(_0x242591){return Promise[_0x44571f(0x176)](_0x242591);}}async[_0x51ced9(0x231)](_0x343b99){var _0x953cb5=_0x51ced9;let _0x1fefae='';if(!zn[_0x953cb5(0xc5)](_0x343b99[_0x953cb5(0x2d6)]))return this['_decreaseWaiting'](),Promise[_0x953cb5(0x176)](new Error(_0x29235a[_0x953cb5(0x3a3)]));if(_0x343b99[_0x953cb5(0xeb)]>Jn)return this[_0x953cb5(0x21e)](),Promise[_0x953cb5(0x176)](new Error(_0x29235a[_0x953cb5(0x299)]));try{const _0x3e84f6=new FormData();_0x3e84f6[_0x953cb5(0x1e4)]('file',_0x343b99);const _0x7f9009=this[_0x953cb5(0x2ba)][_0x953cb5(0x105)](),_0x1594b2=_0x7f9009==null?void 0x0:_0x7f9009[_0x953cb5(0x1b2)]();if(!_0x1594b2)throw new Error(_0x953cb5(0x1d2));const _0x2d7500=this['_getUploadFileURL']()+_0x953cb5(0x2bc)+_0x343b99[_0x953cb5(0xeb)][_0x953cb5(0x140)]()+_0x953cb5(0x239)+mi[_0x953cb5(0x1a0)]+_0x953cb5(0x174)+encodeURIComponent(_0x1594b2),_0x3bb244={'body':_0x3e84f6},_0x4f7d64=(await this[_0x953cb5(0x139)]['post'](_0x2d7500,_0x3bb244))[_0x953cb5(0x155)];if(typeof _0x4f7d64[_0x953cb5(0xc6)]!=_0x953cb5(0xef))return this['_decreaseWaiting'](),Promise[_0x953cb5(0x176)](new Error(_0x29235a[_0x953cb5(0x1c8)]));_0x1fefae=_0x4f7d64['FileId'];}catch{return this[_0x953cb5(0x21e)](),Promise['reject'](new Error(_0x29235a[_0x953cb5(0x1c8)]));}return new Promise((_0x55c748,_0x3578f8)=>{const _0x4907d9=new FileReader();_0x4907d9['readAsDataURL'](_0x343b99),_0x4907d9['onload']=_0x530c3=>{var _0x53b443=_0xfe49,_0x100d3b;const _0xb7e306=(_0x100d3b=_0x530c3[_0x53b443(0x148)])==null?void 0x0:_0x100d3b['result'];if(_0xb7e306==null){this['_decreaseWaiting'](),_0x3578f8(new Error(_0x29235a[_0x53b443(0x1c8)]));return;}const _0x45c7d4=_0x4c9520['generateRandomId'](0x6);_0x55c748({'imageId':_0x45c7d4,'imageSourceType':_0x4c46c5['UUID'],'source':_0x1fefae,'base64Cache':_0xb7e306,'status':_0x29235a[_0x53b443(0x392)]}),this[_0x53b443(0x21e)]();};});}[_0x51ced9(0x1c2)](){var _0x573506=_0x51ced9,_0x2d85af,_0x30bed7;const _0x274610=this[_0x573506(0x2b2)][_0x573506(0x363)](Xn),_0x132df5=this[_0x573506(0x2b2)]['getConfig'](K);return(_0x30bed7=(_0x2d85af=_0x132df5==null?void 0x0:_0x132df5[_0x573506(0x34e)])!=null?_0x2d85af:_0x274610)!=null?_0x30bed7:Zn;}[_0x51ced9(0x3a4)](){var _0x561d2e=_0x51ced9,_0x3f6aa3,_0x2052fe;const _0x400ce1=this[_0x561d2e(0x2b2)][_0x561d2e(0x363)](Qn),_0x26b3c2=this[_0x561d2e(0x2b2)][_0x561d2e(0x363)](K);return(_0x2052fe=(_0x3f6aa3=_0x26b3c2==null?void 0x0:_0x26b3c2[_0x561d2e(0x2cb)])!=null?_0x3f6aa3:_0x400ce1)!=null?_0x2052fe:er;}[_0x51ced9(0x101)](){var _0x1f72ed=_0x51ced9,_0x13822f;const _0xefb940=this[_0x1f72ed(0x2b2)][_0x1f72ed(0x363)](K);return(_0x13822f=_0xefb940==null?void 0x0:_0xefb940[_0x1f72ed(0x11e)])!=null?_0x13822f:location[_0x1f72ed(0x236)];}[_0x51ced9(0x2c0)](_0x33d6ff,_0x4db757){var _0x38884f=_0x51ced9;return _0x33d6ff[_0x38884f(0x2de)](_0x38884f(0x2e7),_0x4db757);}[_0x51ced9(0x21e)](){var _0x51fede=_0x51ced9;this[_0x51fede(0x2a2)]-=0x1,this[_0x51fede(0x1ba)][_0x51fede(0x2f3)](this[_0x51fede(0x2a2)]);}};Rt=qn([pt(0x0,_0x22f2f4(_0xd1aa2b)),pt(0x1,_0x1c2974),pt(0x2,_0x22f2f4(_0x1a15fa))],Rt);var tr=Object[_0x51ced9(0x264)],ir=(_0x107ec2,_0x2a55b2,_0x26a6a2,_0x1326cd)=>{var _0x1a84d5=_0x51ced9;for(var _0x538bbe=_0x1326cd>0x1?void 0x0:_0x1326cd?tr(_0x2a55b2,_0x26a6a2):_0x2a55b2,_0x757b7a=_0x107ec2[_0x1a84d5(0x395)]-0x1,_0x37650e;_0x757b7a>=0x0;_0x757b7a--)(_0x37650e=_0x107ec2[_0x757b7a])&&(_0x538bbe=_0x37650e(_0x538bbe)||_0x538bbe);return _0x538bbe;},ai=(_0x37cb3f,_0x4a5296)=>(_0x2d9375,_0x122605)=>_0x4a5296(_0x2d9375,_0x122605,_0x37cb3f);const sr=_0x51ced9(0x396);let bt=class{constructor(_0x22e560,_0x2f176b){var _0x1de1d4=_0x51ced9;this[_0x1de1d4(0x2b2)]=_0x22e560,this[_0x1de1d4(0x1c0)]=_0x2f176b;}['_getAPIPrefixPath'](){var _0x5eafb1=_0x51ced9,_0x376825,_0x531375;const _0x523214=this[_0x5eafb1(0x2b2)][_0x5eafb1(0x363)](bi),_0x5a36b3=this[_0x5eafb1(0x2b2)]['getConfig'](K);return(_0x531375=(_0x376825=_0x5a36b3==null?void 0x0:_0x5a36b3[_0x5eafb1(0x1f2)])!=null?_0x376825:_0x523214)!=null?_0x531375:sr;}async[_0x51ced9(0xf9)](_0x3c7c2c){var _0x3dd1ea=_0x51ced9;const _0xf48648=this[_0x3dd1ea(0x25f)]()+_0x3dd1ea(0x1fa);return{'list':[{'title':_0x3dd1ea(0xe2),'mentions':(await this[_0x3dd1ea(0x1c0)]['get'](_0xf48648,{'params':{'objectID':_0x3c7c2c[_0x3dd1ea(0x212)],'unitID':_0x3c7c2c[_0x3dd1ea(0x212)]}}))[_0x3dd1ea(0x155)]['collaborators']['map'](_0x48ce83=>({'objectId':_0x48ce83['id'],'name':_0x48ce83[_0x3dd1ea(0x2db)][_0x3dd1ea(0x1d1)],'metadata':{'icon':_0x48ce83[_0x3dd1ea(0x2db)][_0x3dd1ea(0x1b5)]},'label':_0x48ce83['subject'][_0x3dd1ea(0x1d1)],'objectType':_0x5e63ac[_0x3dd1ea(0x33a)]})),'metadata':{},'type':_0x5e63ac[_0x3dd1ea(0x33a)]}]};}};bt=ir([ai(0x0,_0x22f2f4(_0x1c2974)),ai(0x1,_0x22f2f4(_0xd1aa2b))],bt);var nr=Object['getOwnPropertyDescriptor'],rr=(_0x12511d,_0x3332e2,_0x4dbfb5,_0xfc459d)=>{var _0x57c80c=_0x51ced9;for(var _0x7b2c17=_0xfc459d>0x1?void 0x0:_0xfc459d?nr(_0x3332e2,_0x4dbfb5):_0x3332e2,_0xfe8f19=_0x12511d[_0x57c80c(0x395)]-0x1,_0x354057;_0xfe8f19>=0x0;_0xfe8f19--)(_0x354057=_0x12511d[_0xfe8f19])&&(_0x7b2c17=_0x354057(_0x7b2c17)||_0x7b2c17);return _0x7b2c17;},Ae=(_0x207307,_0x111c89)=>(_0x176251,_0x5740f3)=>_0x111c89(_0x176251,_0x5740f3,_0x207307);let ot=class extends _0x47b106{constructor(_0x58e28f,_0x5b9ac5,_0xda57b3,_0x282ff4,_0x319de6){var _0x5c276a=_0x51ced9;super(),this[_0x5c276a(0x29b)]=_0x58e28f,this[_0x5c276a(0x2ba)]=_0x5b9ac5,this[_0x5c276a(0x184)]=_0xda57b3,this[_0x5c276a(0x249)]=_0x282ff4,this['_collaborationUIEventService']=_0x319de6,this[_0x5c276a(0x1ad)](),this['_initCloseConn']();}[_0x51ced9(0x2bf)](){var _0x253507=_0x51ced9;const _0x567257=async _0x3bdea4=>{var _0x23259d=_0xfe49;(await this[_0x23259d(0x249)][_0x23259d(0x30c)](_0x3bdea4))['event$'][_0x23259d(0x2f8)](_0x1d9e3e(_0x597785=>_0x597785['eventID']===_0x509d65[_0x23259d(0x11a)]),_0x167988(this[_0x23259d(0x3b3)]))[_0x23259d(0x290)](_0x37903c=>{var _0xcf57fc=_0x23259d;const _0x11c8da=_0x37903c,{reason:_0x1e568d}=_0x11c8da[_0xcf57fc(0x100)];this[_0xcf57fc(0x119)][_0xcf57fc(0x124)]({'id':ne['CLOSE_ROOM'],'data':_0x1e568d}),this[_0xcf57fc(0x184)]['updatePermissionPoint'](new _0x69927c(_0x3bdea4)['id'],!0x1),this[_0xcf57fc(0x249)][_0xcf57fc(0x275)](_0x3bdea4);});};_0x3ea747(this[_0x253507(0x2ba)][_0x253507(0x2a6)](_0x2989d4[_0x253507(0x111)]),this[_0x253507(0x2ba)][_0x253507(0x2a6)](_0x2989d4['UNIVER_DOC']))['pipe'](_0x3c37d3(_0x29d0fe=>_0x29d0fe[_0x253507(0x1b2)]()),_0x1d9e3e(_0xbc84e2=>!_0x209e23(_0xbc84e2)),_0x167988(this[_0x253507(0x3b3)]))['subscribe'](_0x22c3dd=>{_0x567257(_0x22c3dd);});}['_initUnitPermissionChange'](){var _0x53ae24=_0x51ced9;const _0x12eaf8=async _0x83b14a=>{var _0x315a54=_0xfe49;const _0x21d465=await this[_0x315a54(0x249)][_0x315a54(0x30c)](_0x83b14a),_0xb27352=this[_0x315a54(0x29b)][_0x315a54(0x301)](_0x499a83);_0x21d465['event$']['pipe'](_0x1d9e3e(_0x59e1d6=>_0x59e1d6[_0x315a54(0x1c1)]===_0x509d65['UPDATE_PERMISSION_OBJ']),_0x167988(this[_0x315a54(0x3b3)]))[_0x315a54(0x290)](_0x150791=>{var _0x1a8f4f=_0x315a54;const _0xba7245=_0x150791,{objectId:_0x1b1578}=_0xba7245[_0x1a8f4f(0x100)];_0x1b1578===_0x83b14a?_0xb27352[_0x1a8f4f(0xec)](_0x83b14a):_0xb27352['refreshPermission'](_0x83b14a,_0x1b1578);});};_0x3ea747(this[_0x53ae24(0x2ba)][_0x53ae24(0x2a6)](_0x2989d4['UNIVER_SHEET']))[_0x53ae24(0x2f8)](_0x3c37d3(_0x6325d7=>_0x6325d7['getUnitId']()),_0x1d9e3e(_0x425c81=>!_0x209e23(_0x425c81)),_0x167988(this['dispose$']))[_0x53ae24(0x290)](_0x92a4c0=>{_0x12eaf8(_0x92a4c0);});}};ot=rr([Ae(0x0,_0x22f2f4(_0x42afda)),Ae(0x1,_0x1a15fa),Ae(0x2,_0x23b67b),Ae(0x3,_0x22f2f4(Le)),Ae(0x4,_0x22f2f4(ve))],ot);var ar=Object[_0x51ced9(0x264)],or=(_0x46007a,_0x5f359a,_0xfc1557,_0xabcd3d)=>{var _0xa61d09=_0x51ced9;for(var _0x202202=_0xabcd3d>0x1?void 0x0:_0xabcd3d?ar(_0x5f359a,_0xfc1557):_0x5f359a,_0x3168e2=_0x46007a[_0xa61d09(0x395)]-0x1,_0x4f6359;_0x3168e2>=0x0;_0x3168e2--)(_0x4f6359=_0x46007a[_0x3168e2])&&(_0x202202=_0x4f6359(_0x202202)||_0x202202);return _0x202202;},oi=(_0x48650c,_0x143494)=>(_0x1d057b,_0x1d3dc6)=>_0x143494(_0x1d057b,_0x1d3dc6,_0x48650c);let Ot=class{constructor(_0x516057,_0x3abf44){var _0x374f42=_0x51ced9;this[_0x374f42(0x2b2)]=_0x516057,this[_0x374f42(0x139)]=_0x3abf44;}async['getUnitOnRev'](_0x40ae1c,_0x327a26){var _0x602a50=_0x51ced9,_0x44133a;const {unitID:_0x85e490,type:_0x44a3af,revision:_0x49129b=0x0}=_0x327a26,_0x4c0b02=this[_0x602a50(0x2f4)]()+'/'+_0x44a3af+_0x602a50(0x146)+_0x85e490+_0x602a50(0x1a4)+_0x49129b,_0xec3289=(await this[_0x602a50(0x139)][_0x602a50(0x301)](_0x4c0b02))[_0x602a50(0x155)],_0xf85fd2=(_0x44133a=_0xec3289['snapshot'])==null?void 0x0:_0x44133a[_0x602a50(0x2cc)];if(_0xf85fd2){const _0x5d118c=_0xf85fd2==null?void 0x0:_0xf85fd2['originalMeta'],_0x5c9231=_0x827acb['encode'](_0x1a586c(_0x5d118c));_0xf85fd2['originalMeta']=_0x5c9231,Object['entries'](_0xf85fd2['sheets'])[_0x602a50(0x39c)](([,_0x5acfc5])=>{var _0xaf20c7=_0x602a50;const _0x2d20c3=_0x5acfc5[_0xaf20c7(0x2ed)],_0x5b01f3=_0x827acb[_0xaf20c7(0x234)](_0x1a586c(_0x2d20c3));_0x5acfc5[_0xaf20c7(0x2ed)]=_0x5b01f3;});}return _0xec3289;}async['getSheetBlock'](_0x302596,_0xf0c720){var _0xee395b=_0x51ced9;const {unitID:_0x2ed8fe,type:_0xd02ce9,blockID:_0x48aebe}=_0xf0c720,_0x5f397f=this[_0xee395b(0x1a6)]()+'/'+_0xd02ce9+_0xee395b(0x146)+_0x2ed8fe+_0xee395b(0x293)+_0x48aebe;return(await this[_0xee395b(0x139)]['get'](_0x5f397f))[_0xee395b(0x155)];}async['getDeserializedSheetBlock'](_0x4e4e2c,_0x598173){var _0x5eaeee=_0x51ced9;const {unitID:_0x1fdbe9,type:_0x38e40c,blockID:_0x505313}=_0x598173,_0x5f514f=this['_getAPIPrefix']()+_0x5eaeee(0x293)+_0x38e40c+_0x5eaeee(0x146)+_0x1fdbe9+_0x5eaeee(0x293)+_0x505313;return(await this[_0x5eaeee(0x139)]['get'](_0x5f514f))[_0x5eaeee(0x155)];}async[_0x51ced9(0x393)](_0x135bdc,_0x581184){var _0x56127b=_0x51ced9;const {unitID:_0x121381,type:_0x15fe15,from:_0x3a58bc,to:_0xbacaa4}=_0x581184,_0x311bdd=this['_getAPIPrefix']()+'/'+_0x15fe15+_0x56127b(0x146)+_0x121381+_0x56127b(0x23a)+_0x3a58bc+_0x56127b(0x244)+_0xbacaa4;return(await this[_0x56127b(0x139)]['get'](_0x311bdd))[_0x56127b(0x155)];}[_0x51ced9(0x2f4)](){var _0x275fae=_0x51ced9,_0x46697f;return(_0x46697f=this[_0x275fae(0x2b2)][_0x275fae(0x363)](ps))!=null?_0x46697f:this['_getAPIPrefix']();}[_0x51ced9(0x1a6)](){var _0x3d4187=_0x51ced9,_0x1b4121,_0x50fe34;const _0x399a3a=this[_0x3d4187(0x2b2)][_0x3d4187(0x363)](fs),_0x167fe8=this['_configService']['getConfig'](K);return(_0x50fe34=(_0x1b4121=_0x167fe8==null?void 0x0:_0x167fe8[_0x3d4187(0xde)])!=null?_0x1b4121:_0x399a3a)!=null?_0x50fe34:vs;}async[_0x51ced9(0x13e)](_0x366347,_0x3c5da0){var _0x5dc61b=_0x51ced9;const _0x11f751=_0x5dc61b(0xe4)+_0x3c5da0[_0x5dc61b(0x2d6)]+_0x5dc61b(0x146)+_0x3c5da0['unitID']+_0x5dc61b(0x33d);return(await this[_0x5dc61b(0x139)][_0x5dc61b(0x301)](_0x11f751,{'params':{'resourceId':JSON['stringify'](_0x3c5da0[_0x5dc61b(0x2f1)])}}))[_0x5dc61b(0x155)];}['saveSnapshot'](){var _0x6ec102=_0x51ced9;throw new Error(_0x6ec102(0x1cc));}[_0x51ced9(0x353)](){var _0x46b36b=_0x51ced9;throw new Error(_0x46b36b(0x1cc));}[_0x51ced9(0x168)](){var _0x28eac7=_0x51ced9;throw new Error(_0x28eac7(0x1cc));}[_0x51ced9(0x245)](){var _0x1e0ac6=_0x51ced9;throw new Error(_0x1e0ac6(0x1cc));}[_0x51ced9(0x202)](){var _0x40d246=_0x51ced9;throw new Error(_0x40d246(0x1cc));}[_0x51ced9(0xc1)](){var _0x5305a1=_0x51ced9;throw new Error(_0x5305a1(0x1cc));}};Ot=or([oi(0x0,_0x1c2974),oi(0x1,_0x22f2f4(_0xd1aa2b))],Ot);var cr=Object[_0x51ced9(0x264)],hr=(_0x23861e,_0x5949dd,_0x19c721,_0x559dcc)=>{var _0x5b1e56=_0x51ced9;for(var _0x33eeeb=_0x559dcc>0x1?void 0x0:_0x559dcc?cr(_0x5949dd,_0x19c721):_0x5949dd,_0x5b6b1c=_0x23861e[_0x5b1e56(0x395)]-0x1,_0x34feb7;_0x5b6b1c>=0x0;_0x5b6b1c--)(_0x34feb7=_0x23861e[_0x5b6b1c])&&(_0x33eeeb=_0x34feb7(_0x33eeeb)||_0x33eeeb);return _0x33eeeb;},we=(_0x49788,_0x266ceb)=>(_0x382b77,_0x5b7561)=>_0x266ceb(_0x382b77,_0x5b7561,_0x49788);let yt=class extends _0x446bd9{constructor(_0x7bfa43,_0x2d17e6,_0x568662,_0x44139b,_0x240a9e){var _0xab1b=_0x51ced9;super(_0x7bfa43,_0x2d17e6,_0x568662),this[_0xab1b(0x30a)]=_0x44139b,this[_0xab1b(0x1b6)]=_0x240a9e;}[_0x51ced9(0x137)](_0x34dfba,_0xae5785){var _0x58c5d5=_0x51ced9;const _0x3a5544=this['_getUndoStack'](_0x34dfba);if(_0x3a5544)try{const _0x31f2a7=this[_0x58c5d5(0x143)](_0x3a5544,_0xae5785);this[_0x58c5d5(0x144)](_0x34dfba,_0x31f2a7);}catch(_0x3a6d3a){this[_0x58c5d5(0x1b6)][_0x58c5d5(0x377)]('[CollaborationUndoRedoService]',_0x3a6d3a),this[_0x58c5d5(0x1e8)](_0x34dfba);}const _0x1f8d8b=this[_0x58c5d5(0x351)](_0x34dfba);if(_0x1f8d8b)try{const _0x22e27d=this[_0x58c5d5(0x143)](_0x1f8d8b,_0xae5785);this[_0x58c5d5(0x284)](_0x34dfba,_0x22e27d);}catch(_0x53c779){this['_logService'][_0x58c5d5(0x377)](_0x53c779),this[_0x58c5d5(0x196)](_0x34dfba);}}[_0x51ced9(0x1e8)](_0x319de3){var _0xf2e043=_0x51ced9;const _0x4cb0ac=this[_0xf2e043(0x260)](_0x319de3);_0x4cb0ac&&(_0x4cb0ac[_0xf2e043(0x395)]=0x0,this['_updateStatus']());}['_clearRedo'](_0x5c8b32){var _0x87875d=_0x51ced9;const _0x30416f=this['_getRedoStack'](_0x5c8b32);_0x30416f&&(_0x30416f[_0x87875d(0x395)]=0x0,this[_0x87875d(0x15d)]());}[_0x51ced9(0x144)](_0x523ed7,_0x184c02){var _0x2a4c06=_0x51ced9;this[_0x2a4c06(0x22c)][_0x2a4c06(0x12f)](_0x523ed7,_0x184c02),this[_0x2a4c06(0x15d)]();}['_substituteRedoStack'](_0x4e471c,_0x3b9a37){var _0xfb2837=_0x51ced9;this[_0xfb2837(0x376)][_0xfb2837(0x12f)](_0x4e471c,_0x3b9a37),this['_updateStatus']();}[_0x51ced9(0x143)](_0x2fcc01,_0x2dba80){var _0x156972=_0x51ced9;const _0xbb29d7=[];let _0x242fca=_0x2dba80,_0xe41f90=_0x2dba80;for(let _0x9c1dc7=_0x2fcc01[_0x156972(0x395)]-0x1;_0x9c1dc7>=0x0;_0x9c1dc7--){const {unitID:_0xe4e5d5,undoMutations:_0x40a715,redoMutations:_0x4a4222}=_0x2fcc01[_0x9c1dc7],_0x1a5f81=this[_0x156972(0x30a)]['transformMutationsWithChangeset'](_0x242fca,_0x40a715),_0x26c40f=this['_transformService']['transformMutationsWithChangeset'](_0xe41f90,_0x4a4222);if(_0x24c73f(_0x1a5f81)||_0x24c73f(_0x26c40f)){this[_0x156972(0x1b6)][_0x156972(0x377)](_0x156972(0x333),_0x156972(0xb1),_0x1a5f81,_0x26c40f);break;}_0x242fca=_0x1a5f81[_0x156972(0x172)],_0xe41f90=_0x26c40f[_0x156972(0x172)],_0xbb29d7[_0x156972(0x26c)]({'unitID':_0xe4e5d5,'undoMutations':_0x1a5f81[_0x156972(0x211)],'redoMutations':_0x26c40f[_0x156972(0x211)]});}return _0xbb29d7[_0x156972(0x169)]();}};yt=hr([we(0x0,_0x1a15fa),we(0x1,_0x398897),we(0x2,_0x334096),we(0x3,_0x49cd74),we(0x4,_0xe9f9bf)],yt);var _r=Object[_0x51ced9(0x31c)],lr=Object[_0x51ced9(0x264)],ur=(_0x5a7ac9,_0x2b34a6,_0x2a79db)=>_0x2b34a6 in _0x5a7ac9?_r(_0x5a7ac9,_0x2b34a6,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x2a79db}):_0x5a7ac9[_0x2b34a6]=_0x2a79db,dr=(_0x44fd48,_0x56b729,_0x469b35,_0x992ce2)=>{var _0x1cc94c=_0x51ced9;for(var _0x40162a=_0x992ce2>0x1?void 0x0:_0x992ce2?lr(_0x56b729,_0x469b35):_0x56b729,_0x1e8b1e=_0x44fd48[_0x1cc94c(0x395)]-0x1,_0x144358;_0x1e8b1e>=0x0;_0x1e8b1e--)(_0x144358=_0x44fd48[_0x1e8b1e])&&(_0x40162a=_0x144358(_0x40162a)||_0x40162a);return _0x40162a;},mt=(_0x7f7013,_0x4326f6)=>(_0x1e54cb,_0x562c85)=>_0x4326f6(_0x1e54cb,_0x562c85,_0x7f7013),fr=(_0x853ff4,_0x21f083,_0x12d557)=>ur(_0x853ff4,_0x21f083+'',_0x12d557);const vr=_0x51ced9(0x1bb);let Nt=class extends _0x52e66e{constructor(_0x143547,_0x37b4e5,_0x754c37,_0x5f54be){var _0x506085=_0x51ced9;super(),N(this,_0x506085(0x1dc)),(this[_0x506085(0x1b6)]=_0x37b4e5,this['_injector']=_0x754c37,this[_0x506085(0x2b2)]=_0x5f54be);const {..._0x51879b}=_0x2fd177({},Ds,_0x143547);if(!_0x51879b[_0x506085(0x3a5)])throw new Error(_0x506085(0xb0));this[_0x506085(0x1dc)]=_0x51879b,this[_0x506085(0x2b2)][_0x506085(0x103)](K,_0x51879b);}[_0x51ced9(0x134)](){var _0xb32262=_0x51ced9;this[_0xb32262(0x1d0)](),this[_0xb32262(0x39a)]();}[_0x51ced9(0x1d0)](){var _0x3a9db5=_0x51ced9,_0x1435b9,_0x2a7b21;this[_0x3a9db5(0x29b)][_0x3a9db5(0x369)](_0x32972a)&&this['_logService'][_0x3a9db5(0x377)](_0x3a9db5(0x346),'you\x20should\x20override\x20\x22IUndoRedoService\x22\x20provided\x20in\x20\x22core\x22\x20package!');const _0x92a3aa=_0x32e19e([[_0x32972a,{'useClass':yt}],[Le],[Pe],[it],[rt],[at],[Si],[ot],[ve],[Ct],[gi,{'useClass':this[_0x3a9db5(0x1dc)][_0x3a9db5(0x3a5)]}],[_0x5e73e0,{'useClass':Ot}],[_0x363339,{'useClass':Tt}],[_0x2eb95f,{'useClass':Rt}],[_0x20bb92,{'useClass':bt}],[nt],[It]],(_0x1435b9=this[_0x3a9db5(0x1dc)])==null?void 0x0:_0x1435b9[_0x3a9db5(0x163)]);if(!((_0x2a7b21=this['_config'])!=null&&_0x2a7b21['enableSingleActiveInstanceLock'])){const _0x25df4a=_0x92a3aa[_0x3a9db5(0x2ce)](([_0x369ab8])=>_0x369ab8===ht);_0x25df4a!==-0x1&&_0x92a3aa['splice'](_0x25df4a,0x1);}_0x48af9c(this[_0x3a9db5(0x29b)],_0x92a3aa);}[_0x51ced9(0x39a)](){var _0x9fa3cd=_0x51ced9,_0x520e18,_0x194760,_0x1f2ed6;this[_0x9fa3cd(0x29b)][_0x9fa3cd(0x301)](_0xd1aa2b)['registerHTTPInterceptor']({'priority':0x14,'interceptor':_0x42aa96({'maxParallel':0x6})}),(_0x520e18=this[_0x9fa3cd(0x1dc)])!=null&&_0x520e18[_0x9fa3cd(0x222)]||(_0x194760=this['_injector']['get'](J,_0x232b67['OPTIONAL']))==null||_0x194760[_0x9fa3cd(0x254)](),(_0x1f2ed6=this[_0x9fa3cd(0x1dc)])!=null&&_0x1f2ed6['enableAuthServer']&&_0x4b203a(this[_0x9fa3cd(0x29b)],[[rt]]),_0x4b203a(this[_0x9fa3cd(0x29b)],[[at],[nt],[ot]]);}};fr(Nt,_0x51ced9(0x1f6),vr),Nt=dr([_0x52f063(_0x5ddef9,_0x584f28),mt(0x1,_0xe9f9bf),mt(0x2,_0x22f2f4(_0x42afda)),mt(0x3,_0x1c2974)],Nt);export{bi as AUTHZ_URL_KEY,Tt as AuthzIoHttpService,_e as AwaitingState,ae as AwaitingWithPendingState,K as COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY,bs as COLLAB_SUBMIT_CHANGESET_URL_KEY,gs as COLLAB_WEB_SOCKET_URL_KEY,nt as CollaborationController,st as CollaborationEntity,Rt as CollaborationImageIoService,gt as CollaborationSession,Le as CollaborationSessionService,Ft as CollaborationSocketService,Ti as CollaborationStatus,ne as CollaborationUIEventId,ve as CollaborationUIEventService,yt as CollaborativeUndoRedoService,Si as CommentService,le as ConflictState,Ss as DEFAULT_COLLAB_WEB_SOCKET_URL,wr as DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT,Nr as DEFAULT_WS_SESSION_TICKET_URL,Ct as DataLoaderService,St as DocCollaborationEntity,Q as FetchingMissState,Es as HEARTBEAT_INTERVAL_KEY,fi as HEARTBEAT_TIMEOUT_KEY,gi as ICollaborationSocketService,J as ILocalCacheService,Us as INetworkConditionService,ht as ISingleActiveUnitService,Ur as LOCAL_CACHE_INTERVAL,Dr as LOCAL_CACHE_INTERVAL_KEY,ys as LOGIN_URL_KEY,Pe as MemberService,bt as MentionIoHttpService,ue as OfflineState,re as PendingState,Ar as REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY,Cs as RETRY_CONNECTING_MAX_COUNT_KEY,yr as SEND_CHANGESET_TIMEOUT_KEY,fs as SNAPSHOT_SERVER_URL_KEY,ps as SNAPSHOT_URL_KEY,Se as SessionStatus,Et as SheetCollaborationEntity,it as SheetTransformSelectionsService,Ot as SnapshotServerOverHTTPService,ye as SyncedState,Ei as UnitStatus,Nt as UniverCollaborationClientPlugin,As as deserializeToCombResponse,Pr as getLocalCacheKey,ws as serializeCombRequest};
1
+ var _0x3085eb=_0x4c1a;(function(_0x36d6a6,_0x309351){var _0x3fea9c=_0x4c1a,_0x567bf9=_0x36d6a6();while(!![]){try{var _0x665228=parseInt(_0x3fea9c(0x1ae))/0x1+-parseInt(_0x3fea9c(0x321))/0x2+-parseInt(_0x3fea9c(0x2f8))/0x3+parseInt(_0x3fea9c(0x225))/0x4*(parseInt(_0x3fea9c(0x25e))/0x5)+parseInt(_0x3fea9c(0x1fa))/0x6*(parseInt(_0x3fea9c(0x355))/0x7)+-parseInt(_0x3fea9c(0x2d0))/0x8+-parseInt(_0x3fea9c(0x27f))/0x9;if(_0x665228===_0x309351)break;else _0x567bf9['push'](_0x567bf9['shift']());}catch(_0x5aca99){_0x567bf9['push'](_0x567bf9['shift']());}}}(_0x5505,0x2f2aa));var Di=Object[_0x3085eb(0x29e)],Ui=(_0xc0dd2a,_0xf3fd7d,_0x27ee00)=>_0xf3fd7d in _0xc0dd2a?Di(_0xc0dd2a,_0xf3fd7d,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x27ee00}):_0xc0dd2a[_0xf3fd7d]=_0x27ee00,N=(_0x50b8e0,_0x24c255,_0xda57c9)=>Ui(_0x50b8e0,typeof _0x24c255!=_0x3085eb(0x295)?_0x24c255+'':_0x24c255,_0xda57c9);import{createIdentifier as _0x108b1e,Inject as _0x53dfbc,Injector as _0x49cf2d,IConfigService as _0x22b79b,ILogService as _0x482beb,Disposable as _0xae3b4e,DisposableCollection as _0x251e36,toDisposable as _0x28f1b6,IUniverInstanceService as _0x892ae8,UserManagerService as _0xe4ba63,UniverInstanceType as _0xc8d7d8,LocaleService as _0x4f8456,Optional as _0x1c5f22,RxDisposable as _0x38ff91,Tools as _0x8a68d4,Rectangle as _0x920a50,ICommandService as _0x51862d,JSONX as _0x2f6eee,CommandType as _0x167fd6,IUndoRedoService as _0x52e66a,IPermissionService as _0x5252a6,sequenceExecute as _0x3c84a1,Workbook as _0x467c71,MentionType as _0x4d9592,isInternalEditorID as _0x3016a9,LocalUndoRedoService as _0x585475,IContextService as _0x42675b,DependentOn as _0x56cc43,Plugin as _0x1b8275,merge as _0x331d89,mergeOverrideWithDependencies as _0x12ba78,IAuthzIoService as _0x1f7e6f,IMentionIOService as _0x5c5879,registerDependencies as _0x4cd714,Quantity as _0x5e8517,touchDependencies as _0x59f3d0}from'@univerjs/core';import{Subject as _0x2445c4,merge as _0x4e3d6c,of as _0x47b097,BehaviorSubject as _0x5bc647,takeUntil as _0x4694c8,ReplaySubject as _0x4f7a2a,take as _0x447cb7,map as _0x2421c0,shareReplay as _0x25c334,firstValueFrom as _0x47bac4,concatMap as _0xeb51ec}from'rxjs';import{map as _0xcf8945,take as _0x5b30d0,filter as _0x16ea72,delay as _0x4cf63b,takeUntil as _0x3d915b}from'rxjs/operators';import{CollaborationEvent as _0x527595,ISnapshotServerService as _0x540a4e,parseChangesetToProtocol as _0x3726d0,ITransformService as _0x20599e,isTransformMutationsWithChangesetSuccess as _0x4a7fa7,mapDocumentTypeToUniverType as _0x569a6b,RevisionService as _0x52c054,isTransformChangesetsSuccess as _0xca2bb8,CompressMutationService as _0x27ae3f,parseProtocolChangeset as _0x1b7419,uuidv4 as _0x14df8e,SnapshotService as _0x3da356,textEncoder as _0x1ec9eb,b64DecodeUnicode as _0x11f623,isTransformMutationsWithChangesetFailure as _0x48d286,UniverCollaborationPlugin as _0x4b656d}from'@univerjs-pro/collaboration';import{HTTPService as _0xfd6f9c,ISocketService as _0x26756b,MergeInterceptorFactory as _0x1eed4d,HTTPRequest as _0x2927cc,UniverNetworkPlugin as _0x2580aa,ThresholdInterceptorFactory as _0x548ba0}from'@univerjs/network';import{ITelemetryService as _0x2f90be}from'@univerjs/telemetry';import{RichTextEditingMutation as _0x253a30}from'@univerjs/docs';import{SheetsSelectionsService as _0x26fa03,SetSelectionsOperation as _0x2899fc,InsertSheetMutation as _0x387995,EmptyMutation as _0x23b44f,WorkbookEditablePermission as _0x4e8e57,SheetPermissionInitController as _0x5d2145}from'@univerjs/sheets';import{ImageSourceType as _0x583a19,ImageUploadStatusType as _0x4dbfd5,IImageIoService as _0x5d628a}from'@univerjs/drawing';import{getGlobalObject as _0x30eed1}from'@univerjs-pro/license';const fs='SNAPSHOT_SERVER_URL_KEY',vs=_0x3085eb(0xd9),ps=_0x3085eb(0x265),yr=_0x3085eb(0x343),ms=0x7d0,gs=_0x3085eb(0x1b0),Ss=_0x3085eb(0x239),Nr=_0x3085eb(0x19b),Es='HEARTBEAT_INTERVAL',Is=0x7530,fi=_0x3085eb(0x240),vi=0x4e20,Ts=0x4e20,Cs=_0x3085eb(0xb4),Rs=0x3,Dr=_0x3085eb(0x1d4),Ur=0x3e8,bs=_0x3085eb(0x175),Os=_0x3085eb(0x27d),ys=_0x3085eb(0x1c2),Ns=_0x3085eb(0xe4),Ar=_0x3085eb(0x1b8),wr=_0x3085eb(0x16f);var pi=(_0x4c44fc=>(_0x4c44fc[_0x4c44fc[_0x3085eb(0xff)]=0x0]='UNDEFINED',_0x4c44fc[_0x4c44fc['OK']=0x1]='OK',_0x4c44fc[_0x4c44fc[_0x3085eb(0x322)]=0x2]=_0x3085eb(0x322),_0x4c44fc[_0x4c44fc[_0x3085eb(0x1b5)]=0x3]='PERMISSION_DENIED',_0x4c44fc[_0x4c44fc['NOT_FOUND']=0x4]=_0x3085eb(0x154),_0x4c44fc[_0x4c44fc[_0x3085eb(0x133)]=0x5]=_0x3085eb(0x133),_0x4c44fc[_0x4c44fc[_0x3085eb(0xa0)]=0x6]=_0x3085eb(0xa0),_0x4c44fc[_0x4c44fc[_0x3085eb(0x204)]=0x7]=_0x3085eb(0x204),_0x4c44fc[_0x4c44fc['TOO_MANY_REQUESTS']=0x8]=_0x3085eb(0xd6),_0x4c44fc[_0x4c44fc['COMPLETION_FINISHED']=0x9]='COMPLETION_FINISHED',_0x4c44fc[_0x4c44fc[_0x3085eb(0x36e)]=0xa]='LOGIN_FAILED',_0x4c44fc[_0x4c44fc[_0x3085eb(0x37b)]=0x1389]=_0x3085eb(0x37b),_0x4c44fc[_0x4c44fc[_0x3085eb(0x111)]=0x1771]=_0x3085eb(0x111),_0x4c44fc[_0x4c44fc['SNAPSHOT_HAS_BEEN_REMOVED']=0x1772]='SNAPSHOT_HAS_BEEN_REMOVED',_0x4c44fc[_0x4c44fc[_0x3085eb(0x210)]=0x1773]=_0x3085eb(0x210),_0x4c44fc[_0x4c44fc[_0x3085eb(0x1e6)]=0x1b59]=_0x3085eb(0x1e6),_0x4c44fc[_0x4c44fc[_0x3085eb(0xb7)]=0x1b5a]=_0x3085eb(0xb7),_0x4c44fc[_0x4c44fc[_0x3085eb(0xcb)]=0x1b5b]=_0x3085eb(0xcb),_0x4c44fc[_0x4c44fc[_0x3085eb(0x12f)]=0x1b5c]=_0x3085eb(0x12f),_0x4c44fc[_0x4c44fc['APPLY_DUPLICATED']=0x1b5d]=_0x3085eb(0x2bd),_0x4c44fc[_0x4c44fc[_0x3085eb(0x2c6)]=0x1f41]=_0x3085eb(0x2c6),_0x4c44fc[_0x4c44fc[_0x3085eb(0x1b4)]=0x2329]=_0x3085eb(0x1b4),_0x4c44fc[_0x4c44fc[_0x3085eb(0x297)]=0x232a]='LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED',_0x4c44fc[_0x4c44fc[_0x3085eb(0x15c)]=0x232b]=_0x3085eb(0x15c),_0x4c44fc[_0x4c44fc['LICENSE_EXPORT_SIZE_EXCEEDED']=0x232c]=_0x3085eb(0x1f4),_0x4c44fc[_0x4c44fc[_0x3085eb(0x186)]=0x232d]=_0x3085eb(0x186),_0x4c44fc[_0x4c44fc[_0x3085eb(0x248)]=0x2711]='YUUMI_UNABLE_LOAD_URL',_0x4c44fc[_0x4c44fc[_0x3085eb(0x13a)]=0x2712]='YUUMI_URL_COL_OUT_OF_RANGE',_0x4c44fc[_0x4c44fc[_0x3085eb(0x276)]=0x2713]=_0x3085eb(0x276),_0x4c44fc[_0x4c44fc['YUUMI_SUBSCRIPTION_NOT_FOUND']=0x2714]=_0x3085eb(0x29b),_0x4c44fc[_0x4c44fc[_0x3085eb(0x2a4)]=0x271a]=_0x3085eb(0x2a4),_0x4c44fc[_0x4c44fc[_0x3085eb(0x350)]=0x271b]='YUUMI_ASYNCIO_CANCELLED',_0x4c44fc[_0x4c44fc[_0x3085eb(0x226)]=0x271c]=_0x3085eb(0x226),_0x4c44fc[_0x4c44fc['YUUMI_ALL_TABLES_IS_INVALID']=0x271d]='YUUMI_ALL_TABLES_IS_INVALID',_0x4c44fc[_0x4c44fc[_0x3085eb(0x10e)]=0x271e]='YUUMI_PROMPT_MAX_TOKENS_EXCEEDED',_0x4c44fc[_0x4c44fc['YUUMI_AI_RUN_FAILED']=0x271f]=_0x3085eb(0x336),_0x4c44fc[_0x4c44fc[_0x3085eb(0x2e3)]=0x2af9]=_0x3085eb(0x2e3),_0x4c44fc[_0x4c44fc[_0x3085eb(0x1d9)]=0x2ee1]=_0x3085eb(0x1d9),_0x4c44fc[_0x4c44fc[_0x3085eb(0x245)]=0x2ee2]=_0x3085eb(0x245),_0x4c44fc[_0x4c44fc['INVITE_CODE_REQUIRED']=0x2ee3]='INVITE_CODE_REQUIRED',_0x4c44fc[_0x4c44fc[_0x3085eb(0x33a)]=0x2ee4]='USER_NOT_INVITED_CODE',_0x4c44fc[_0x4c44fc[_0x3085eb(0x2f0)]=0x2ee5]=_0x3085eb(0x2f0),_0x4c44fc[_0x4c44fc['WECHAT_HAS_BEEN_BOUND']=0x32c9]=_0x3085eb(0x106),_0x4c44fc[_0x4c44fc['MOBILE_HAS_BEEN_BOUND']=0x32ca]='MOBILE_HAS_BEEN_BOUND',_0x4c44fc[_0x4c44fc[_0x3085eb(0xb2)]=0x32cb]=_0x3085eb(0xb2),_0x4c44fc[_0x4c44fc[_0x3085eb(0x122)]=-0x1]=_0x3085eb(0x122),_0x4c44fc))(pi||{}),Z=(_0x3e2496=>(_0x3e2496[_0x3e2496[_0x3085eb(0x357)]=0x0]='UNIVER_UNKNOWN',_0x3e2496[_0x3e2496['UNIVER_DOC']=0x1]='UNIVER_DOC',_0x3e2496[_0x3e2496[_0x3085eb(0x218)]=0x2]=_0x3085eb(0x218),_0x3e2496[_0x3e2496['UNIVER_SLIDE']=0x3]='UNIVER_SLIDE',_0x3e2496[_0x3e2496[_0x3085eb(0x164)]=0x4]=_0x3085eb(0x164),_0x3e2496[_0x3e2496['UNRECOGNIZED']=-0x1]=_0x3085eb(0x122),_0x3e2496))(Z||{}),F=(_0x562068=>(_0x562068[_0x562068[_0x3085eb(0xc8)]=0x0]=_0x3085eb(0xc8),_0x562068[_0x562068[_0x3085eb(0x17f)]=0x1]=_0x3085eb(0x17f),_0x562068[_0x562068[_0x3085eb(0xc3)]=0x2]=_0x3085eb(0xc3),_0x562068[_0x562068[_0x3085eb(0x29c)]=0x3]=_0x3085eb(0x29c),_0x562068[_0x562068[_0x3085eb(0x317)]=0x4]='INGEST',_0x562068[_0x562068[_0x3085eb(0x19c)]=0x5]='HEARTBEAT',_0x562068[_0x562068[_0x3085eb(0x31a)]=0x6]='RECV',_0x562068[_0x562068['UNRECOGNIZED']=-0x1]=_0x3085eb(0x122),_0x562068))(F||{}),me=(_0x19ba58=>(_0x19ba58[_0x19ba58[_0x3085eb(0x303)]=0x0]=_0x3085eb(0x303),_0x19ba58[_0x19ba58['OK']=0x1]='OK',_0x19ba58[_0x19ba58[_0x3085eb(0x1e8)]=0x2]=_0x3085eb(0x1e8),_0x19ba58[_0x19ba58['JOIN_ROOM_FULL']=0x3e9]=_0x3085eb(0x2f9),_0x19ba58[_0x19ba58[_0x3085eb(0x36b)]=0x3ea]='JOIN_ROOM_NOT_EXISTS',_0x19ba58[_0x19ba58[_0x3085eb(0x91)]=0x3eb]=_0x3085eb(0x91),_0x19ba58[_0x19ba58[_0x3085eb(0xaf)]=0x3ec]=_0x3085eb(0xaf),_0x19ba58[_0x19ba58[_0x3085eb(0x122)]=-0x1]='UNRECOGNIZED',_0x19ba58))(me||{}),mi=(_0x5ac4ec=>(_0x5ac4ec[_0x5ac4ec['Undefined']=0x0]=_0x3085eb(0xc7),_0x5ac4ec[_0x5ac4ec[_0x3085eb(0x1b3)]=0x1]=_0x3085eb(0x1b3),_0x5ac4ec[_0x5ac4ec[_0x3085eb(0x2e2)]=0x2]='HttpExport',_0x5ac4ec[_0x5ac4ec[_0x3085eb(0x18d)]=0x3]=_0x3085eb(0x18d),_0x5ac4ec[_0x5ac4ec[_0x3085eb(0xc6)]=0x4]=_0x3085eb(0xc6),_0x5ac4ec[_0x5ac4ec['UserProfileImg']=0x5]='UserProfileImg',_0x5ac4ec[_0x5ac4ec[_0x3085eb(0x122)]=-0x1]=_0x3085eb(0x122),_0x5ac4ec))(mi||{});const K=_0x3085eb(0x1bd),Ds={};var ne=(_0x3d1293=>(_0x3d1293[_0x3085eb(0x97)]=_0x3085eb(0x97),_0x3d1293[_0x3085eb(0x1b5)]='PERMISSION_DENIED',_0x3d1293[_0x3085eb(0x274)]=_0x3085eb(0x274),_0x3d1293['CLOSE_ROOM']='CLOSE_ROOM',_0x3d1293[_0x3085eb(0x30d)]=_0x3085eb(0x30d),_0x3d1293[_0x3085eb(0x13f)]=_0x3085eb(0x13f),_0x3d1293['SOCKET_FAILED']='SOCKET_FAILED',_0x3d1293[_0x3085eb(0x2df)]=_0x3085eb(0x2df),_0x3d1293))(ne||{});class ve{constructor(){var _0x375d23=_0x3085eb;N(this,_0x375d23(0x270),new _0x2445c4()),N(this,_0x375d23(0xad),this['_event$'][_0x375d23(0x1a1)]());}[_0x3085eb(0x23b)](_0x41913f){var _0x591033=_0x3085eb;this['_event$'][_0x591033(0x1c4)](_0x41913f);}}const Us=_0x108b1e(_0x3085eb(0x292));function As(_0x5ac5b9){var _0x30a157=_0x3085eb,_0x19be78,_0x53b7c2,_0x365158,_0x36299a,_0x27ed01;const _0x176acd=_0x5ac5b9[_0x30a157(0xf7)],_0x1b0a5a=JSON[_0x30a157(0x358)](_0x176acd);switch(_0x1b0a5a[_0x30a157(0x237)]){case F[_0x30a157(0x19c)]:case F['HELLO']:{const _0x5d60c8=_0x1b0a5a[_0x30a157(0x1ad)];return{..._0x1b0a5a,'data':_0x5d60c8,'cmd':_0x1b0a5a['cmd']};}case F['JOIN']:{const _0x5acb04=_0x1b0a5a[_0x30a157(0x342)];return{..._0x1b0a5a,'data':_0x5acb04,'cmd':_0x1b0a5a[_0x30a157(0x237)]};}case F['RECV']:{const _0xab30ec=_0x1b0a5a[_0x30a157(0xc0)];switch(_0xab30ec[_0x30a157(0xcf)]){case _0x527595[_0x30a157(0x30a)]:return{..._0x1b0a5a,'data':{..._0xab30ec,'data':(_0x19be78=_0xab30ec[_0x30a157(0x16c)])==null?void 0x0:_0x19be78['cs']},'cmd':_0x1b0a5a[_0x30a157(0x237)]};case _0x527595['CHANGESET_ACK']:return{..._0x1b0a5a,'data':{..._0xab30ec,'data':(_0x53b7c2=_0xab30ec['csAckEvent'])==null?void 0x0:_0x53b7c2['cs']},'cmd':_0x1b0a5a[_0x30a157(0x237)]};case _0x527595['NEW_CHANGESETS']:return{..._0x1b0a5a,'data':{..._0xab30ec,'data':(_0x365158=_0xab30ec[_0x30a157(0x368)])==null?void 0x0:_0x365158['cs']},'cmd':_0x1b0a5a[_0x30a157(0x237)]};case _0x527595[_0x30a157(0x258)]:return{..._0x1b0a5a,'data':{..._0xab30ec,'data':(_0x36299a=_0xab30ec['csRejEvent'])==null?void 0x0:_0x36299a['cs']},'cmd':_0x1b0a5a[_0x30a157(0x237)]};case _0x527595[_0x30a157(0xee)]:return{..._0x1b0a5a,'data':{..._0xab30ec,'data':(_0x27ed01=_0xab30ec[_0x30a157(0x23e)])==null?void 0x0:_0x27ed01['cs']},'cmd':_0x1b0a5a[_0x30a157(0x237)]};case _0x527595[_0x30a157(0xfb)]:return{..._0x1b0a5a,'data':{..._0xab30ec,'data':_0xab30ec[_0x30a157(0xe6)]},'cmd':_0x1b0a5a['cmd']};case _0x527595[_0x30a157(0x99)]:return{..._0x1b0a5a,'data':{..._0xab30ec,'data':_0xab30ec['joinEvent']},'cmd':_0x1b0a5a[_0x30a157(0x237)]};case _0x527595[_0x30a157(0xd5)]:return{..._0x1b0a5a,'data':{..._0xab30ec,'data':_0xab30ec[_0x30a157(0x365)]},'cmd':_0x1b0a5a[_0x30a157(0x237)]};case _0x527595[_0x30a157(0x93)]:return{..._0x1b0a5a,'data':{..._0xab30ec,'data':_0xab30ec[_0x30a157(0x361)]},'cmd':_0x1b0a5a[_0x30a157(0x237)]};case _0x527595['LIVESHARE_FETCH_OPERATIONS']:case _0x527595[_0x30a157(0x28d)]:return{..._0x1b0a5a,'data':{..._0xab30ec,'data':_0xab30ec['liveShareOperation']},'cmd':_0x1b0a5a[_0x30a157(0x237)]};case _0x527595['LIVESHARE_TERMINATE']:return{..._0x1b0a5a,'data':{..._0xab30ec,'data':_0xab30ec[_0x30a157(0x361)]},'cmd':_0x1b0a5a[_0x30a157(0x237)]};case _0x527595[_0x30a157(0x20f)]:return{..._0x1b0a5a,'data':_0xab30ec,'cmd':_0x1b0a5a['cmd']};case _0x527595['COMMENT_UPDATE']:return{..._0x1b0a5a,'data':{..._0xab30ec,'data':_0xab30ec[_0x30a157(0x15a)]},'cmd':_0x1b0a5a[_0x30a157(0x237)]};case _0x527595[_0x30a157(0x151)]:return{..._0x1b0a5a,'data':{..._0xab30ec,'data':_0xab30ec[_0x30a157(0xdb)]},'cmd':_0x1b0a5a['cmd']};case _0x527595[_0x30a157(0xf4)]:return{..._0x1b0a5a,'data':{..._0xab30ec,'data':_0xab30ec[_0x30a157(0x103)]},'cmd':_0x1b0a5a[_0x30a157(0x237)]};case _0x527595[_0x30a157(0x160)]:return{..._0x1b0a5a,'data':{..._0xab30ec,'data':_0xab30ec[_0x30a157(0x1bc)]},'cmd':_0x1b0a5a[_0x30a157(0x237)]};default:return _0x1b0a5a;}}default:return _0x1b0a5a;}}function ws(_0x588ade){var _0x237c0b=_0x3085eb;switch(_0x588ade['cmd']){case F['HEARTBEAT']:case F['HELLO']:return JSON[_0x237c0b(0x356)]({'cmd':_0x588ade[_0x237c0b(0x237)],'routeKey':_0x588ade['routeKey']});case F[_0x237c0b(0x317)]:{let _0x364a05;switch(_0x588ade['data'][_0x237c0b(0xcf)]){case _0x527595[_0x237c0b(0xfb)]:{_0x364a05={'eventID':_0x527595[_0x237c0b(0xfb)],'updateCursorEvent':_0x588ade[_0x237c0b(0xf7)][_0x237c0b(0xf7)]};break;}case _0x527595[_0x237c0b(0xd5)]:{_0x364a05={'eventID':_0x527595[_0x237c0b(0xd5)],'leaveEvent':_0x588ade[_0x237c0b(0xf7)][_0x237c0b(0xf7)]};break;}case _0x527595[_0x237c0b(0x99)]:{_0x364a05={'eventID':_0x527595['USERS_ENTER'],'joinEvent':_0x588ade[_0x237c0b(0xf7)]['data']};break;}case _0x527595[_0x237c0b(0x93)]:{_0x364a05={'eventID':_0x527595[_0x237c0b(0x93)],'liveShareNewHost':_0x588ade[_0x237c0b(0xf7)][_0x237c0b(0xf7)]};break;}case _0x527595['LIVESHARE_OPERATION']:{_0x364a05={'eventID':_0x527595[_0x237c0b(0x28d)],'liveShareOperation':_0x588ade[_0x237c0b(0xf7)][_0x237c0b(0xf7)]};break;}case _0x527595[_0x237c0b(0x366)]:{_0x364a05={'eventID':_0x527595[_0x237c0b(0x366)],'liveShareTerminate':_0x588ade['data'][_0x237c0b(0xf7)]};break;}case _0x527595[_0x237c0b(0xe5)]:{_0x364a05={'eventID':_0x527595[_0x237c0b(0xe5)],'liveShareRequestHost':_0x588ade['data'][_0x237c0b(0xf7)]};break;}case _0x527595[_0x237c0b(0x255)]:{_0x364a05={'eventID':_0x527595[_0x237c0b(0x255)]};break;}default:_0x364a05={'eventID':_0x588ade[_0x237c0b(0xf7)][_0x237c0b(0xcf)]};}return JSON[_0x237c0b(0x356)]({'cmd':_0x588ade[_0x237c0b(0x237)],'routeKey':_0x588ade[_0x237c0b(0x25f)],'collaMsg':_0x364a05});}case F[_0x237c0b(0xc3)]:return JSON[_0x237c0b(0x356)]({'cmd':_0x588ade[_0x237c0b(0x237)],'routeKey':_0x588ade[_0x237c0b(0x25f)],'joinReq':_0x588ade['data']});case F[_0x237c0b(0x29c)]:return JSON[_0x237c0b(0x356)]({'cmd':_0x588ade[_0x237c0b(0x237)],'routeKey':_0x588ade[_0x237c0b(0x25f)],'leaveReq':_0x588ade[_0x237c0b(0xf7)]});default:throw new Error(_0x237c0b(0x25a));}}var Ps=Object[_0x3085eb(0x2b1)],Ls=(_0x538185,_0x5b4e9e,_0x276148,_0x219aff)=>{var _0x4feda5=_0x3085eb;for(var _0xa58218=_0x219aff>0x1?void 0x0:_0x219aff?Ps(_0x5b4e9e,_0x276148):_0x5b4e9e,_0x18d4b7=_0x538185[_0x4feda5(0x32b)]-0x1,_0x1cd164;_0x18d4b7>=0x0;_0x18d4b7--)(_0x1cd164=_0x538185[_0x18d4b7])&&(_0xa58218=_0x1cd164(_0xa58218)||_0xa58218);return _0xa58218;},Ue=(_0x4b9190,_0xcf7242)=>(_0x11c798,_0x5eadd7)=>_0xcf7242(_0x11c798,_0x5eadd7,_0x4b9190);const gi=_0x108b1e(_0x3085eb(0x20a));function Ms(_0x172f81,_0x248ba3,_0x27b60f){var _0x5eafbb=_0x3085eb;return _0x172f81+'/'+_0x248ba3+_0x5eafbb(0x11c)+_0x27b60f+_0x5eafbb(0x1f5);}let Ft=class extends _0xae3b4e{constructor(_0x492f13,_0x1bc45c,_0x18d7ba,_0x78e0bd,_0x28149c){var _0x3bb2e8=_0x3085eb;super(),this[_0x3bb2e8(0x191)]=_0x492f13,this[_0x3bb2e8(0x374)]=_0x1bc45c,this[_0x3bb2e8(0x201)]=_0x18d7ba,this['_logService']=_0x78e0bd,this[_0x3bb2e8(0x168)]=_0x28149c;}[_0x3085eb(0x37a)](_0x473b3f){var _0x4850fd=_0x3085eb;const _0x271357=this[_0x4850fd(0x191)][_0x4850fd(0x21f)](_0x26756b);if(!_0x271357)throw new Error(_0x4850fd(0x2ca));const _0x2d6ad1=_0x271357[_0x4850fd(0x1c5)](_0x473b3f);if(!_0x2d6ad1)throw new Error(_0x4850fd(0x32f));const _0x470a6d=new _0x251e36(),_0x563e6d=new _0x2445c4();_0x470a6d[_0x4850fd(0x364)](_0x2d6ad1[_0x4850fd(0x148)][_0x4850fd(0x197)](_0x575f7c=>_0x563e6d[_0x4850fd(0x1c4)](_0x575f7c))),_0x470a6d[_0x4850fd(0x364)](_0x28f1b6(()=>_0x563e6d[_0x4850fd(0x2ba)]()));const _0x12e81b=new _0x2445c4();_0x470a6d[_0x4850fd(0x364)](_0x2d6ad1[_0x4850fd(0x1ab)]['subscribe'](_0x5c3edc=>_0x12e81b['next'](_0x5c3edc))),_0x470a6d[_0x4850fd(0x364)](_0x28f1b6(()=>_0x12e81b[_0x4850fd(0x2ba)]()));const _0xe2219f=new _0x2445c4();_0x470a6d[_0x4850fd(0x364)](_0x2d6ad1[_0x4850fd(0x9e)]['subscribe'](_0x1809d7=>{var _0x4116cd=_0x4850fd;const _0x195eeb=As(_0x1809d7);_0xe2219f[_0x4116cd(0x1c4)](_0x195eeb);})),_0x470a6d['add'](_0x28f1b6(()=>_0xe2219f[_0x4850fd(0x2ba)]()));let _0x1fd11a;const _0x35a191=()=>{var _0x21812a=_0x4850fd;_0x12e81b[_0x21812a(0x1c4)](new Event(_0x21812a(0x376))),_0x563e6d[_0x21812a(0x1c4)](new Event(_0x21812a(0x376))),_0x1fd11a['close']();};return _0x1fd11a={'memberID':'','close$':_0x563e6d[_0x4850fd(0x1a1)](),'error$':_0x12e81b[_0x4850fd(0x1a1)](),'open$':_0x2d6ad1[_0x4850fd(0x1e2)],'message$':_0xe2219f[_0x4850fd(0x1a1)](),'send':_0x58d334=>{var _0x207ccb=_0x4850fd;if(_0x58d334['cmd']===F[_0x207ccb(0x317)]){if(_0x58d334['data'][_0x207ccb(0xcf)]===_0x527595['SUBMIT_CHANGESET']){this[_0x207ccb(0x382)](_0x1fd11a,_0x58d334[_0x207ccb(0xf7)])[_0x207ccb(0x27c)](_0xcb1115=>{var _0x351023=_0x207ccb;this[_0x351023(0x266)][_0x351023(0x269)](_0xcb1115),_0x35a191();});return;}if(_0x58d334['data'][_0x207ccb(0xcf)]===_0x527595[_0x207ccb(0x18c)]){const _0x3b95e1=_0x58d334[_0x207ccb(0xf7)];this['_fetchMissChangesets'](_0x3b95e1)[_0x207ccb(0x1dd)](_0x3a9510=>{var _0x3b97dd=_0x207ccb;_0xe2219f[_0x3b97dd(0x1c4)]({'cmd':F[_0x3b97dd(0x31a)],'code':me['OK'],'routeKey':_0x3b95e1[_0x3b97dd(0xf7)][_0x3b97dd(0x194)],'routeType':'','data':{'eventID':_0x527595[_0x3b97dd(0x305)],'data':{'changesets':_0x3a9510}}});})['catch'](_0x123694=>{var _0xb7f41e=_0x207ccb;this['_logService'][_0xb7f41e(0x269)](_0x123694),_0x35a191();});return;}}_0x2d6ad1[_0x207ccb(0x37d)](ws(_0x58d334));},'close':()=>{var _0x1f2106=_0x4850fd;_0x2d6ad1[_0x1f2106(0x291)](),_0x470a6d[_0x1f2106(0x298)]();}},_0x1fd11a;}async['_submitChangeset'](_0x4d03a2,_0x2f9277){var _0xb3ab0a=_0x3085eb,_0x11fb2e,_0x491176;const {unitType:_0x23870d,unitID:_0x4dd6e0,changeset:_0x5446c9}=_0x2f9277['data'],_0x238a1a={'unitID':_0x4dd6e0,'memberID':_0x4d03a2[_0xb3ab0a(0x2ed)],'type':_0x23870d,'changeset':_0x3726d0(_0x5446c9)},_0x2bd4ec=this['_configService'][_0xb3ab0a(0xa6)](bs),_0x379362=this[_0xb3ab0a(0x201)]['getConfig'](K),_0x492835=Ms((_0x491176=(_0x11fb2e=_0x379362==null?void 0x0:_0x379362[_0xb3ab0a(0xdf)])!=null?_0x11fb2e:_0x2bd4ec)!=null?_0x491176:Os,_0x23870d,_0x4dd6e0);try{await this[_0xb3ab0a(0x374)][_0xb3ab0a(0x125)](_0x492835,{'body':_0x238a1a});}catch(_0x2faad9){throw this[_0xb3ab0a(0x266)][_0xb3ab0a(0x269)](_0xb3ab0a(0x345),'submit\x20changeset\x20error!'),_0x2faad9;}}async[_0x3085eb(0x211)](_0x2e24f8){var _0x48dc88=_0x3085eb;const {unitID:_0x5191f2,from:_0x48e22e,to:_0x3fef59,unitType:_0x4d9891}=_0x2e24f8[_0x48dc88(0xf7)];return(await this['_snapshotServerService'][_0x48dc88(0x85)]({'metadata':void 0x0},{'unitID':_0x5191f2,'type':_0x4d9891,'from':_0x48e22e,'to':_0x3fef59}))[_0x48dc88(0x2e1)];}};Ft=Ls([Ue(0x0,_0x53dfbc(_0x49cf2d)),Ue(0x1,_0x53dfbc(_0xfd6f9c)),Ue(0x2,_0x22b79b),Ue(0x3,_0x482beb),Ue(0x4,_0x540a4e)],Ft);const xs='collaboration_new_changeset';function ks(_0x4c3834){var _0x2c5c11=_0x3085eb;return JSON[_0x2c5c11(0x356)](_0x4c3834)[_0x2c5c11(0x32b)];}class Si{constructor(){var _0x27368a=_0x3085eb;N(this,_0x27368a(0x328),new _0x2445c4()),N(this,_0x27368a(0x141),this['_commentUpdate$'][_0x27368a(0x1a1)]());}[_0x3085eb(0x2d1)](_0x10960e){var _0x6f8aa0=_0x3085eb;this[_0x6f8aa0(0x328)][_0x6f8aa0(0x1c4)](_0x10960e);}}var $s=Object[_0x3085eb(0x2b1)],Hs=(_0x2db78a,_0x263909,_0x13a80b,_0x18ae48)=>{for(var _0x1cb81e=_0x18ae48>0x1?void 0x0:_0x18ae48?$s(_0x263909,_0x13a80b):_0x263909,_0x5df3cc=_0x2db78a['length']-0x1,_0x16f5ec;_0x5df3cc>=0x0;_0x5df3cc--)(_0x16f5ec=_0x2db78a[_0x5df3cc])&&(_0x1cb81e=_0x16f5ec(_0x1cb81e)||_0x1cb81e);return _0x1cb81e;},Vt=(_0x17cfd6,_0x1c02b0)=>(_0x5468c5,_0x2e7215)=>_0x1c02b0(_0x5468c5,_0x2e7215,_0x17cfd6);let Pe=class extends _0xae3b4e{constructor(_0x4f5f0a,_0x550a9d){var _0x4e4b40=_0x3085eb;super(),N(this,_0x4e4b40(0x34a),new Map()),N(this,'_roomCreated$',new _0x2445c4()),(this[_0x4e4b40(0x25b)]=_0x4f5f0a,this[_0x4e4b40(0x36c)]=_0x550a9d,this[_0x4e4b40(0x362)](_0x4e3d6c(this['_univerInstanceService'][_0x4e4b40(0xf1)](_0xc8d7d8['UNIVER_SHEET'])[_0x4e4b40(0x352)](_0xcf8945(_0x148c00=>_0x148c00[_0x4e4b40(0x309)]())),this['_univerInstanceService'][_0x4e4b40(0xf1)](_0xc8d7d8['UNIVER_DOC'])['pipe'](_0xcf8945(_0x44d237=>_0x44d237[_0x4e4b40(0x309)]())),this[_0x4e4b40(0x25b)][_0x4e4b40(0xf1)](_0xc8d7d8['UNIVER_SLIDE'])[_0x4e4b40(0x352)](_0xcf8945(_0x1a207c=>_0x1a207c[_0x4e4b40(0x309)]())))[_0x4e4b40(0x197)](_0x2d8462=>this[_0x4e4b40(0xaa)](_0x2d8462))));}[_0x3085eb(0xb9)](_0x3ea7d1){var _0x349a9b=_0x3085eb;return this['_roomMembers'][_0x349a9b(0x1f3)](_0x3ea7d1)?_0x47b097(this['_roomMembers']['get'](_0x3ea7d1)):this['_roomCreated$']['pipe'](_0xcf8945(_0x26944c=>{var _0x5e008a=_0x349a9b;if(_0x26944c===_0x3ea7d1)return this['_roomMembers'][_0x5e008a(0x21f)](_0x26944c);}));}['setCurrentUser'](_0x3ce044){this['_userManagerService']['setCurrentUser'](_0x3ce044);}[_0x3085eb(0x28b)](){var _0x4ab011=_0x3085eb;return this[_0x4ab011(0x36c)][_0x4ab011(0x28b)]();}['updateMember'](_0x3bbef8,_0x307c7f){var _0x3bb9a8=_0x3085eb;let _0x2dfd6b=this['_roomMembers'][_0x3bb9a8(0x21f)](_0x3bbef8);_0x2dfd6b||(_0x2dfd6b=new Bs(),this[_0x3bb9a8(0x34a)][_0x3bb9a8(0x171)](_0x3bbef8,_0x2dfd6b),this['_roomCreated$'][_0x3bb9a8(0x1c4)](_0x3bbef8)),_0x2dfd6b[_0x3bb9a8(0x207)](_0x307c7f);}[_0x3085eb(0x18a)](_0x174818,_0x31f851){var _0x3c5164=_0x3085eb;const _0x1d2b8b=this[_0x3c5164(0x34a)][_0x3c5164(0x21f)](_0x174818);_0x1d2b8b&&_0x1d2b8b[_0x3c5164(0x18a)](_0x31f851);}[_0x3085eb(0x24f)](_0x74dc17){var _0x1998bd=_0x3085eb;return this[_0x1998bd(0x34a)][_0x1998bd(0x21f)](_0x74dc17);}['getMember'](_0x3e9460,_0x59cc0b){var _0x1a795c=_0x3085eb;const _0x1bd1ca=this[_0x1a795c(0x34a)][_0x1a795c(0x21f)](_0x3e9460);if(_0x1bd1ca)return _0x1bd1ca[_0x1a795c(0xfd)](_0x59cc0b);}['_removeRoom'](_0x16ebdf){var _0x57dcd5=_0x3085eb;const _0x183989=this['_roomMembers']['get'](_0x16ebdf);_0x183989&&(_0x183989['dispose'](),this[_0x57dcd5(0x34a)][_0x57dcd5(0xc2)](_0x16ebdf));}[_0x3085eb(0x298)](){var _0x18eb75=_0x3085eb;this[_0x18eb75(0x34a)][_0x18eb75(0x86)](_0x1406ad=>_0x1406ad[_0x18eb75(0x298)]()),this[_0x18eb75(0x34a)][_0x18eb75(0x138)](),this['_roomCreated$'][_0x18eb75(0x2ba)]();}};Pe=Hs([Vt(0x0,_0x892ae8),Vt(0x1,_0x53dfbc(_0xe4ba63))],Pe);class Bs extends _0xae3b4e{constructor(){var _0x163825=_0x3085eb;super(...arguments),N(this,_0x163825(0x289),new Map()),N(this,_0x163825(0xe1),new _0x5bc647(this[_0x163825(0x289)])),N(this,'members$',this[_0x163825(0xe1)][_0x163825(0x1a1)]());}[_0x3085eb(0x298)](){var _0x4ee3be=_0x3085eb;this['_members'][_0x4ee3be(0x138)]();}[_0x3085eb(0x207)](_0x52d4b2){var _0x22c6dc=_0x3085eb;this['_members']['set'](_0x52d4b2[_0x22c6dc(0x2ed)],_0x52d4b2),this['_emitMembers']();}[_0x3085eb(0x18a)](_0x92a17a){var _0x3fd34a=_0x3085eb;this[_0x3fd34a(0x289)][_0x3fd34a(0xc2)](_0x92a17a);}['getMember'](_0x2efaf6){var _0x587571=_0x3085eb;return this[_0x587571(0x289)][_0x587571(0x21f)](_0x2efaf6);}['getAllMembers'](){var _0x13396b=_0x3085eb;return Array[_0x13396b(0x23c)](this[_0x13396b(0x289)][_0x13396b(0x26f)]());}[_0x3085eb(0x121)](){var _0x4639c2=_0x3085eb;this['_members$'][_0x4639c2(0x1c4)](this[_0x4639c2(0x289)]);}}var js=Object[_0x3085eb(0x2b1)],Fs=(_0x13112a,_0x1e8b61,_0x105216,_0xe83d36)=>{var _0x4dafd5=_0x3085eb;for(var _0xb987a0=_0xe83d36>0x1?void 0x0:_0xe83d36?js(_0x1e8b61,_0x105216):_0x1e8b61,_0x5ea28f=_0x13112a[_0x4dafd5(0x32b)]-0x1,_0x40c2a5;_0x5ea28f>=0x0;_0x5ea28f--)(_0x40c2a5=_0x13112a[_0x5ea28f])&&(_0xb987a0=_0x40c2a5(_0xb987a0)||_0xb987a0);return _0xb987a0;},pe=(_0x8f1922,_0x4e4df8)=>(_0x3645fd,_0x5bb883)=>_0x4e4df8(_0x3645fd,_0x5bb883,_0x8f1922),Se=(_0xd92145=>(_0xd92145[_0xd92145['IDLE']=0x0]='IDLE',_0xd92145[_0xd92145[_0x3085eb(0x202)]=0x1]=_0x3085eb(0x202),_0xd92145[_0xd92145[_0x3085eb(0x15e)]=0x2]=_0x3085eb(0x15e),_0xd92145[_0xd92145[_0x3085eb(0x181)]=0x3]=_0x3085eb(0x181),_0xd92145))(Se||{});const Gt={[me[_0x3085eb(0x1e8)]]:'session.join-failed',[me[_0x3085eb(0x2f9)]]:_0x3085eb(0x2ea),[me['JOIN_ROOM_NOT_EXISTS']]:'session.room-not-exists',[me[_0x3085eb(0x91)]]:_0x3085eb(0x28e),[me['GLOBAL_ROOMS_CNT_EXCEEDS']]:_0x3085eb(0x301)};let gt=class extends _0x38ff91{constructor(_0x1a5b8e,_0x5072ba,_0x177f4e,_0x4de3ad,_0x1b3b9d,_0x522508,_0x32404a,_0x16dbaa,_0x300af1){var _0x576ea5=_0x3085eb;super(),N(this,_0x576ea5(0x324),new _0x5bc647(0x0)),N(this,_0x576ea5(0x159),this[_0x576ea5(0x324)][_0x576ea5(0x1a1)]()),N(this,_0x576ea5(0x270),new _0x2445c4()),N(this,_0x576ea5(0xad),this[_0x576ea5(0x270)][_0x576ea5(0x1a1)]()),N(this,_0x576ea5(0x1bf)),N(this,'_socketMessageSubscription'),N(this,_0x576ea5(0x29d)),N(this,_0x576ea5(0x158),!0x1),N(this,_0x576ea5(0x1da),null),(this[_0x576ea5(0x296)]=_0x1a5b8e,this['_logService']=_0x177f4e,this['_configService']=_0x4de3ad,this['_localeService']=_0x1b3b9d,this['_memberService']=_0x522508,this[_0x576ea5(0x281)]=_0x32404a,this['_collaborationUIEventService']=_0x16dbaa,this['_telemetryService']=_0x300af1,this['_shouldReportTelemetry']=!!this[_0x576ea5(0x1d5)],_0x5072ba[_0x576ea5(0x352)](_0x4694c8(this[_0x576ea5(0x2cb)]))[_0x576ea5(0x197)](_0x40a027=>{var _0x1cd117=_0x576ea5,_0x337ca6;typeof _0x40a027>'u'||(this[_0x1cd117(0x1bf)]=_0x40a027,_0x40a027?(this['_joinRoom'](_0x40a027),this[_0x1cd117(0x35c)]=_0x40a027[_0x1cd117(0x9e)][_0x1cd117(0x197)](_0x32193f=>{var _0x4b0991=_0x1cd117;_0x32193f[_0x4b0991(0x25f)]===this['_unitID']&&this[_0x4b0991(0x35f)](_0x32193f);})):(this[_0x1cd117(0x2b8)](),this[_0x1cd117(0x324)]['next'](0x2),(_0x337ca6=this[_0x1cd117(0x35c)])==null||_0x337ca6[_0x1cd117(0x12e)](),this['_socketMessageSubscription']=null));}));}get[_0x3085eb(0x2c7)](){var _0x41e5c7=_0x3085eb;return this['_sessionStatus$'][_0x41e5c7(0x128)]();}[_0x3085eb(0x8c)](){var _0x49aa42=_0x3085eb,_0x5926a0,_0x3ad7ee;return(_0x3ad7ee=(_0x5926a0=this[_0x49aa42(0x1bf)])==null?void 0x0:_0x5926a0[_0x49aa42(0x2ed)])!=null?_0x3ad7ee:null;}[_0x3085eb(0x298)](){var _0x254c75=_0x3085eb;super['dispose'](),this[_0x254c75(0x2cb)][_0x254c75(0x1c4)](),this[_0x254c75(0x2cb)][_0x254c75(0x2ba)]();}['close'](){var _0x35ba42=_0x3085eb,_0x4350f5,_0x4ee98b;this['_throwTelemetryCollaborationNewChangeset'](),(_0x4350f5=this[_0x35ba42(0x1bf)])==null||_0x4350f5['send']({'cmd':F[_0x35ba42(0x29c)],'data':{'roomID':this['_unitID']}}),(_0x4ee98b=this[_0x35ba42(0x1bf)])==null||_0x4ee98b[_0x35ba42(0x291)](),this[_0x35ba42(0x270)][_0x35ba42(0x2ba)](),this[_0x35ba42(0x324)]['complete'](),this[_0x35ba42(0x298)]();}[_0x3085eb(0x35f)](_0x23ae23){var _0x11db9d=_0x3085eb;_0x23ae23[_0x11db9d(0x237)]===F['JOIN']?this[_0x11db9d(0x31e)](_0x23ae23):_0x23ae23[_0x11db9d(0x237)]===F['RECV']&&this[_0x11db9d(0x290)](_0x23ae23);}[_0x3085eb(0x192)](_0x32b58d){var _0xb4eaca=_0x3085eb;this[_0xb4eaca(0x324)][_0xb4eaca(0x1c4)](0x1),_0x32b58d[_0xb4eaca(0x37d)]({'cmd':F['JOIN'],'routeKey':this['_unitID'],'routeType':'','data':{'rooms':[{'roomID':this[_0xb4eaca(0x296)]}]}});}[_0x3085eb(0x31e)](_0x4b6c75){var _0x231c72=_0x3085eb,_0x4179e4;if(_0x4b6c75['code']in Gt){this['_collaborationUIEventService'][_0x231c72(0x23b)]({'id':ne['JOIN_ROOM_FAILED'],'data':Gt[_0x4b6c75['code']]}),this[_0x231c72(0x324)]['next'](0x2);return;}this['_sessionStatus$'][_0x231c72(0x1c4)](0x3);const _0x1bd563=(_0x4179e4=_0x4b6c75[_0x231c72(0xf7)][_0x231c72(0x2dd)][this[_0x231c72(0x296)]])==null?void 0x0:_0x4179e4[_0x231c72(0x326)];_0x1bd563&&_0x1bd563['forEach'](_0x1cbbbe=>this[_0x231c72(0x349)][_0x231c72(0x207)](this[_0x231c72(0x296)],_0x1cbbbe));}[_0x3085eb(0x290)](_0x558f60){var _0x481064=_0x3085eb;try{const _0x259781=_0x558f60[_0x481064(0xf7)];switch(_0x259781[_0x481064(0xcf)]){case _0x527595[_0x481064(0x99)]:this['_onUserJoin'](_0x259781),this['_event$']['next'](_0x259781);break;case _0x527595[_0x481064(0xd5)]:this[_0x481064(0x348)](_0x259781),this[_0x481064(0x270)][_0x481064(0x1c4)](_0x259781);break;case _0x527595['CHANGESET_ACK']:case _0x527595[_0x481064(0xee)]:this[_0x481064(0x18e)](),this[_0x481064(0xa1)](),this[_0x481064(0x270)][_0x481064(0x1c4)](_0x259781);break;case _0x527595[_0x481064(0x20f)]:this[_0x481064(0x266)][_0x481064(0x269)]('save\x20fail\x20reason\x20is\x20'+JSON['stringify'](_0x259781)),this[_0x481064(0x270)][_0x481064(0x1c4)](_0x259781);break;case _0x527595[_0x481064(0xd4)]:this['_commentService']['onCommentUpdate'](_0x259781[_0x481064(0xf7)]),this['_event$'][_0x481064(0x1c4)](_0x259781);break;default:this[_0x481064(0x270)]['next'](_0x259781);}}catch(_0x1db7a5){this['_logService'][_0x481064(0x269)](_0x1db7a5,_0x558f60);}}['_onUserJoin'](_0x4554f7){var _0x304d41=_0x3085eb;this[_0x304d41(0x349)][_0x304d41(0x207)](this[_0x304d41(0x296)],_0x4554f7[_0x304d41(0xf7)]);}[_0x3085eb(0x348)](_0x1121e4){var _0x54005d=_0x3085eb;this[_0x54005d(0x349)]['removeMember'](this[_0x54005d(0x296)],_0x1121e4[_0x54005d(0xf7)][_0x54005d(0x2ed)]);}async[_0x3085eb(0x37d)](_0x357d35,_0x1f4b5e){var _0x1af1ee=_0x3085eb;if(this[_0x1af1ee(0x2c7)]!==0x3||!this[_0x1af1ee(0x1bf)])throw new Error(_0x1af1ee(0x26c));try{_0x357d35['eventID']===_0x527595[_0x1af1ee(0x12a)]&&(this[_0x1af1ee(0x15b)](),this['_startTelemetryCollaborationNewChangeset'](_0x357d35)),this[_0x1af1ee(0x1bf)][_0x1af1ee(0x37d)]({'cmd':F[_0x1af1ee(0x317)],'routeKey':_0x1f4b5e,'routeType':'','data':_0x357d35});}catch(_0x1b5c98){this['_logService'][_0x1af1ee(0x269)](_0x1b5c98);}}[_0x3085eb(0x15b)](){var _0x50872a=_0x3085eb,_0x304ae4;this[_0x50872a(0x29d)]=setTimeout(()=>{var _0x34e571=_0x50872a;this[_0x34e571(0x29d)]=null,this[_0x34e571(0x29a)][_0x34e571(0x23b)]({'id':ne[_0x34e571(0x2df)]});},(_0x304ae4=this['_configService'][_0x50872a(0xa6)](fi))!=null?_0x304ae4:vi);}['_clearCollaborationTimeoutTimer'](){var _0x1d9fe9=_0x3085eb;this['_collaborationTimeoutTimer']&&(clearTimeout(this[_0x1d9fe9(0x29d)]),this[_0x1d9fe9(0x29d)]=null);}[_0x3085eb(0x2e6)](_0x2c1265){var _0x3fb31d=_0x3085eb;if(!this[_0x3fb31d(0x158)])return;const {data:_0x21a334}=_0x2c1265,{unitID:_0x385cb1,changeset:_0x4d92ad}=_0x21a334,{mutations:_0x11255e,type:_0x491bbf}=_0x4d92ad;this[_0x3fb31d(0x1da)]={'unitId':_0x385cb1,'type':_0x491bbf,'startTime':performance[_0x3fb31d(0x35d)](),'stopTime':0x0,'duration':0x0,'size':ks(_0x11255e)};}['_stopTelemetryCollaborationNewChangeset'](){var _0x5172f7=_0x3085eb;if(this[_0x5172f7(0x158)]){if(!this[_0x5172f7(0x1da)]){this[_0x5172f7(0x266)][_0x5172f7(0x269)]('[CollaborationSession]','telemetry\x20info\x20is\x20not\x20initialized');return;}this[_0x5172f7(0x1da)]['stopTime']=performance[_0x5172f7(0x35d)](),this[_0x5172f7(0x1da)][_0x5172f7(0x367)]=this[_0x5172f7(0x1da)][_0x5172f7(0x325)]-this[_0x5172f7(0x1da)][_0x5172f7(0x17c)],this['_telemetryService'][_0x5172f7(0x1f9)](xs,this[_0x5172f7(0x1da)]),this[_0x5172f7(0x1da)]=null;}}['_throwTelemetryCollaborationNewChangeset'](){this['_telemetryInfo']=null;}};gt=Fs([pe(0x2,_0x482beb),pe(0x3,_0x22b79b),pe(0x4,_0x53dfbc(_0x4f8456)),pe(0x5,_0x53dfbc(Pe)),pe(0x6,_0x53dfbc(Si)),pe(0x7,_0x53dfbc(ve)),pe(0x8,_0x1c5f22(_0x2f90be))],gt);var Vs=Object[_0x3085eb(0x2b1)],Gs=(_0x2bb673,_0x15a4f7,_0x302ec2,_0x53a5d0)=>{for(var _0x462673=_0x53a5d0>0x1?void 0x0:_0x53a5d0?Vs(_0x15a4f7,_0x302ec2):_0x15a4f7,_0x2c4392=_0x2bb673['length']-0x1,_0x57147f;_0x2c4392>=0x0;_0x2c4392--)(_0x57147f=_0x2bb673[_0x2c4392])&&(_0x462673=_0x57147f(_0x462673)||_0x462673);return _0x462673;},Re=(_0x326eaf,_0x1b5568)=>(_0x335ecb,_0x2ee716)=>_0x1b5568(_0x335ecb,_0x2ee716,_0x326eaf);let Le=class extends _0xae3b4e{constructor(_0x3aa46d,_0x1e6a91,_0x215067,_0x5334ca,_0x414bdf,_0x3060c6){var _0x4af506=_0x3085eb;super(),N(this,_0x4af506(0x25c),new _0x5bc647(void 0x0)),N(this,'socket$',this[_0x4af506(0x25c)]['asObservable']()),N(this,_0x4af506(0x238),null),N(this,_0x4af506(0x379),new Map()),N(this,'_status$',new _0x5bc647(Se[_0x4af506(0x2e7)])),N(this,_0x4af506(0x134),this['_status$']['asObservable']()),N(this,_0x4af506(0x11d),!0x1),N(this,_0x4af506(0x332)),N(this,'_retryCount',0x0),N(this,'_sendHeartbeatTimer'),N(this,_0x4af506(0x1d2)),(this['_injector']=_0x3aa46d,this[_0x4af506(0x266)]=_0x1e6a91,this[_0x4af506(0x201)]=_0x215067,this[_0x4af506(0x157)]=_0x5334ca,this[_0x4af506(0x29a)]=_0x414bdf,this[_0x4af506(0x155)]=_0x3060c6,this[_0x4af506(0x94)]());}get[_0x3085eb(0x1bf)](){var _0x185518=_0x3085eb;return this[_0x185518(0x25c)]['getValue']();}[_0x3085eb(0x94)](){var _0x5ba84b=_0x3085eb;this[_0x5ba84b(0x155)]&&this['disposeWithMe'](this[_0x5ba84b(0x155)]['online$'][_0x5ba84b(0x197)](_0x4869ba=>{var _0x2d7100=_0x5ba84b;_0x4869ba&&!this[_0x2d7100(0x1bf)]&&this[_0x2d7100(0x2ad)](),_0x4869ba||this[_0x2d7100(0x1a3)]();}));}[_0x3085eb(0x298)](){var _0x5f339c=_0x3085eb;super[_0x5f339c(0x298)](),this[_0x5f339c(0xeb)](),this[_0x5f339c(0x310)](),this[_0x5f339c(0x1d0)](),this['_sessions']['forEach'](_0x2623c8=>_0x2623c8[_0x5f339c(0x298)]()),this[_0x5f339c(0x379)][_0x5f339c(0x138)](),this[_0x5f339c(0x13e)][_0x5f339c(0x2ba)]();}async['requireSession'](_0x50ad4a){var _0x472337=_0x3085eb;if(this[_0x472337(0x379)]['has'](_0x50ad4a))return this['_sessions'][_0x472337(0x21f)](_0x50ad4a);this[_0x472337(0x178)]();const _0x2ec463=this[_0x472337(0x191)][_0x472337(0x193)](gt,_0x50ad4a,this[_0x472337(0x25c)][_0x472337(0x1a1)]());return this['_sessions'][_0x472337(0x171)](_0x50ad4a,_0x2ec463),_0x2ec463;}['closeSession'](_0x14e494){var _0xa5d08c=_0x3085eb,_0x4228cc;const _0x5f42ef=this['_sessions'][_0xa5d08c(0x21f)](_0x14e494);_0x5f42ef&&(this[_0xa5d08c(0x379)][_0xa5d08c(0xc2)](_0x14e494),_0x5f42ef[_0xa5d08c(0x291)]()),this[_0xa5d08c(0x379)][_0xa5d08c(0x233)]||(_0x4228cc=this['_socket'])==null||_0x4228cc[_0xa5d08c(0x291)]();}[_0x3085eb(0x2ad)](){var _0x4bd556=_0x3085eb;this['_retryCount']=0x0,this[_0x4bd556(0xeb)](),this[_0x4bd556(0x267)]();}[_0x3085eb(0xeb)](){var _0x35b020=_0x3085eb;this[_0x35b020(0x332)]!=null&&(clearTimeout(this['_retryConnectingTimer']),this['_retryConnectingTimer']=null);}async[_0x3085eb(0x2b4)](){var _0x1d5fc7=_0x3085eb,_0x28fb94,_0x2ac7d8;const _0x45e090=this[_0x1d5fc7(0x201)][_0x1d5fc7(0xa6)](gs),_0xc805d5=this[_0x1d5fc7(0x201)][_0x1d5fc7(0xa6)](K),_0x22e8a0=(_0x2ac7d8=(_0x28fb94=_0xc805d5==null?void 0x0:_0xc805d5['collabWebSocketUrl'])!=null?_0x28fb94:_0x45e090)!=null?_0x2ac7d8:Ss,_0x4c971a=await this['_socketService'][_0x1d5fc7(0x1c5)](_0x22e8a0);return this[_0x1d5fc7(0x238)]=_0x4c971a,_0x4c971a;}async[_0x3085eb(0x178)](){var _0x353d6c=_0x3085eb,_0x319093,_0x2e8a16;try{const _0x5b2666=(_0x2e8a16=(_0x319093=this[_0x353d6c(0x1bf)])!=null?_0x319093:this[_0x353d6c(0x238)])!=null?_0x2e8a16:await this[_0x353d6c(0x2b4)]();if(_0x5b2666){const _0x4a6c40=_0x5b2666[_0x353d6c(0x37d)];_0x5b2666[_0x353d6c(0x37d)]=_0x75e1cd=>(this['_rescheduleHeartbeat'](),_0x4a6c40[_0x353d6c(0x1a0)](_0x5b2666,[_0x75e1cd])),_0x5b2666[_0x353d6c(0x9e)][_0x353d6c(0x197)](_0x547b66=>this[_0x353d6c(0x33f)](_0x5b2666,_0x547b66)),_0x5b2666[_0x353d6c(0x1ab)]['pipe'](_0x5b30d0(0x1))[_0x353d6c(0x197)](_0x53138d=>this[_0x353d6c(0x266)]['error']('[CollaborationSessionService]:\x20socket\x20error',_0x53138d)),_0x5b2666[_0x353d6c(0x1e2)][_0x353d6c(0x352)](_0x5b30d0(0x1))[_0x353d6c(0x197)](()=>{this['_onConnectionOpen'](_0x5b2666);}),_0x5b2666[_0x353d6c(0x148)][_0x353d6c(0x352)](_0x5b30d0(0x1))['subscribe'](_0x473391=>{var _0x510a98=_0x353d6c;this[_0x510a98(0x266)][_0x510a98(0x11b)](_0x510a98(0x1d1),_0x510a98(0x2ce),_0x473391),this[_0x510a98(0x2fe)]();});}}catch(_0x20a2c5){this['_logService'][_0x353d6c(0x269)](_0x20a2c5),this[_0x353d6c(0x2fe)]();}}[_0x3085eb(0x252)](_0x1a57ab){var _0x2c99a5=_0x3085eb;this[_0x2c99a5(0x266)]['debug'](_0x2c99a5(0x1d1),'socket\x20open.'),_0x1a57ab[_0x2c99a5(0x37d)]({'cmd':F['HELLO']}),this[_0x2c99a5(0x92)]();}['_onOffline'](){var _0x91bbc1=_0x3085eb;this['_socketReady']=!0x1,this[_0x91bbc1(0x238)]=null,this[_0x91bbc1(0x13e)][_0x91bbc1(0x1c4)](Se[_0x91bbc1(0x15e)]),this[_0x91bbc1(0x25c)][_0x91bbc1(0x1c4)](null),this[_0x91bbc1(0x310)](),this['_clearHeartbeatTimer']();}[_0x3085eb(0x2fe)](){var _0x4632ec=_0x3085eb,_0x1274cc;this[_0x4632ec(0x1a3)](),this[_0x4632ec(0x2c1)]<((_0x1274cc=this[_0x4632ec(0x201)]['getConfig'](Cs))!=null?_0x1274cc:Rs)?(this[_0x4632ec(0x29a)][_0x4632ec(0x23b)]({'id':ne[_0x4632ec(0x13f)]}),this[_0x4632ec(0x267)]()):this[_0x4632ec(0x29a)][_0x4632ec(0x23b)]({'id':ne[_0x4632ec(0xf8)]});}[_0x3085eb(0x267)](){var _0x25450e=_0x3085eb,_0xf327da;const _0xcf7779=this[_0x25450e(0x2c1)],_0x2c6bd9=this[_0x25450e(0x201)][_0x25450e(0xa6)](K),_0x5e9d40=_0xcf7779===0x0?0x0:((_0xf327da=_0x2c6bd9==null?void 0x0:_0x2c6bd9[_0x25450e(0x250)])!=null?_0xf327da:Ts)*0x2**_0xcf7779;this[_0x25450e(0x332)]=setTimeout(()=>{var _0x6bf753=_0x25450e;clearTimeout(this[_0x6bf753(0x332)]),this[_0x6bf753(0x332)]=null,this['_tryEnsureSocket']();},_0x5e9d40),this[_0x25450e(0x2c1)]+=0x1;}['_onMessage'](_0x56b1c8,_0x4f656e){var _0x46de37=_0x3085eb;const {cmd:_0x2dbe8a}=_0x4f656e;_0x2dbe8a===F['HELLO']&&!this[_0x46de37(0x11d)]&&(_0x56b1c8[_0x46de37(0x2ed)]=_0x4f656e[_0x46de37(0xf7)]['memberID'],this['_socket$'][_0x46de37(0x1c4)](_0x56b1c8),this['_status$']['next'](Se[_0x46de37(0x181)]),this[_0x46de37(0x11d)]=!0x0,this['_candidateSocket']=null),_0x2dbe8a===F['HEARTBEAT']&&this[_0x46de37(0x310)](),this[_0x46de37(0x92)]();}[_0x3085eb(0x92)](){var _0x5018ed=_0x3085eb,_0xe4146c;this[_0x5018ed(0x1d0)](),this[_0x5018ed(0x35b)]=setTimeout(()=>this[_0x5018ed(0x33e)](),(_0xe4146c=this[_0x5018ed(0x201)][_0x5018ed(0xa6)](Es))!=null?_0xe4146c:Is);}[_0x3085eb(0x33e)](){var _0x3e9f9b=_0x3085eb;this[_0x3e9f9b(0x1bf)][_0x3e9f9b(0x37d)]({'cmd':F[_0x3e9f9b(0x19c)]}),this['_waitForHeartbeatResponse']();}[_0x3085eb(0x166)](){var _0x3bae30=_0x3085eb,_0x494e45;this[_0x3bae30(0x1d2)]=setTimeout(()=>this['_onConnectionFailed'](),(_0x494e45=this[_0x3bae30(0x201)][_0x3bae30(0xa6)](fi))!=null?_0x494e45:vi);}[_0x3085eb(0x1d0)](){var _0x5634ea=_0x3085eb;this[_0x5634ea(0x35b)]!=null&&(clearTimeout(this[_0x5634ea(0x35b)]),this[_0x5634ea(0x35b)]=null);}['_clearTimeoutTimer'](){var _0x20d50b=_0x3085eb;this[_0x20d50b(0x1d2)]!=null&&(clearTimeout(this[_0x20d50b(0x1d2)]),this['_timeoutTimer']=null);}};Le=Gs([Re(0x0,_0x53dfbc(_0x49cf2d)),Re(0x1,_0x482beb),Re(0x2,_0x22b79b),Re(0x3,gi),Re(0x4,_0x53dfbc(ve)),Re(0x5,_0x1c5f22(Us))],Le);const J=_0x108b1e('collaboration-client.local-cache-service');function Pr(_0x24034e){var _0xecaa85=_0x3085eb;return _0xecaa85(0x27a)+_0x24034e;}var Ws=Object[_0x3085eb(0x2b1)],Ys=(_0xdcb3ad,_0x49062a,_0x43b1bb,_0x565f06)=>{for(var _0x4f4663=_0x565f06>0x1?void 0x0:_0x565f06?Ws(_0x49062a,_0x43b1bb):_0x49062a,_0x489064=_0xdcb3ad['length']-0x1,_0x420588;_0x489064>=0x0;_0x489064--)(_0x420588=_0xdcb3ad[_0x489064])&&(_0x4f4663=_0x420588(_0x4f4663)||_0x4f4663);return _0x4f4663;},ut=(_0x3fb7eb,_0x3a12fd)=>(_0x35dbee,_0x29dae3)=>_0x3a12fd(_0x35dbee,_0x29dae3,_0x3fb7eb);function _0x4c1a(_0x59b103,_0x3f9ee8){var _0x55057a=_0x5505();return _0x4c1a=function(_0x4c1af8,_0x10f264){_0x4c1af8=_0x4c1af8-0x7f;var _0x10ec7a=_0x55057a[_0x4c1af8];return _0x10ec7a;},_0x4c1a(_0x59b103,_0x3f9ee8);}function Ks(_0x1cc20b){var _0xcf2738=_0x3085eb;const {unitID:_0x16fa8a,mutations:_0xee33be}=_0x1cc20b;return{'unitId':_0x16fa8a,'subUnitId':_0xee33be[0x0][_0xcf2738(0x329)][_0xcf2738(0x184)]};}let it=class{constructor(_0x432213,_0x39051d,_0x13744f){var _0x4d50bf=_0x3085eb;this[_0x4d50bf(0x191)]=_0x432213,this[_0x4d50bf(0x2a9)]=_0x39051d,this[_0x4d50bf(0x1e5)]=_0x13744f;}[_0x3085eb(0x242)](_0xba9dc1){var _0x1a003e=_0x3085eb,_0x5c968a,_0x20f34d,_0xda77f4,_0x4ce81d;const _0x144f3f=this[_0x1a003e(0x191)][_0x1a003e(0x21f)](_0x26fa03),{unitId:_0x33ca71,subUnitId:_0x2722c9}=Ks(_0xba9dc1),_0x16dc43=_0x144f3f==null?void 0x0:_0x144f3f[_0x1a003e(0x1ea)](_0x33ca71)[_0x1a003e(0x1b7)](),_0x2777a1=(_0x20f34d=(_0x5c968a=this[_0x1a003e(0x1e5)][_0x1a003e(0x9b)](_0x33ca71))==null?void 0x0:_0x5c968a[_0x1a003e(0x2af)]())==null?void 0x0:_0x20f34d[_0x1a003e(0x80)]();if(_0x16dc43[_0x1a003e(0x32b)]===0x0||!_0x33ca71||!_0x2722c9)return;const _0x56d15c=[{'id':_0x2899fc['id'],'params':{'unitId':_0x33ca71,'subUnitId':_0x2777a1,'selections':_0x8a68d4[_0x1a003e(0xb3)](_0x16dc43)}}],_0x2541fe=this[_0x1a003e(0x2a9)]['transformMutationsWithChangeset'](_0xba9dc1,_0x56d15c);if(!_0x4a7fa7(_0x2541fe))throw _0x2541fe[_0x1a003e(0x269)];const _0x1a153b=(_0x4ce81d=(_0xda77f4=_0x2541fe['m2Prime'][0x0])==null?void 0x0:_0xda77f4[_0x1a003e(0x329)])==null?void 0x0:_0x4ce81d[_0x1a003e(0x12c)];if(Array[_0x1a003e(0x1ff)](_0x1a153b)&&_0x1a153b[_0x1a003e(0x32b)]){if(_0x1a153b[_0x1a003e(0x32b)]===_0x56d15c[0x0][_0x1a003e(0x329)][_0x1a003e(0x12c)][_0x1a003e(0x32b)]&&_0x1a153b['every']((_0xfd6093,_0x1fbd18)=>_0x920a50['equals'](_0xfd6093[_0x1a003e(0xb0)],_0x56d15c[0x0]['params'][_0x1a003e(0x12c)][_0x1fbd18][_0x1a003e(0xb0)])))return;this[_0x1a003e(0x191)][_0x1a003e(0x21f)](_0x51862d)[_0x1a003e(0x372)](_0x2899fc['id'],{'unitId':_0x33ca71,'subUnitId':_0x2777a1,'selections':_0x1a153b});}}};it=Ys([ut(0x0,_0x53dfbc(_0x49cf2d)),ut(0x1,_0x20599e),ut(0x2,_0x892ae8)],it);const ht=_0x108b1e('univer-pro.collaboration-client.single-active-unit-service');var Ei=(_0x2bc1fc=>(_0x2bc1fc[_0x2bc1fc['NO_OTHER_CLIENTS_EDITING']=0x0]=_0x3085eb(0x341),_0x2bc1fc[_0x2bc1fc['OTHER_CLIENTS_EDITING']=0x1]=_0x3085eb(0xdc),_0x2bc1fc))(Ei||{});function _0x5505(){var _0x513e02=['INVALID_ARGUMENT','create','Error\x20on\x20receiving\x20event','updateMember','call','baseRev','univer-pro.collaboration-client-socket-service','&to=','[OfflineState]:\x20invalid\x20calling\x20to\x20`resend`.','interceptor','pluginName','MSG_FOR_ERROR','ENSURE_SNAPSHOT_EXECUTION','_fetchMissChangesets','FETCH_MISS','algo','/fetchmissing?from=','Cannot\x20assemble\x20a\x20changeset\x20from\x20multiple\x20mutations\x20of\x20different\x20types:\x20','clamp','fetchThroughInterceptors','UNIVER_SHEET','failed\x20to\x20apply\x20missed\x20changesets!','Failed\x20to\x20update\x20permission\x20point','toggleOnline','_showConflictNotification','includes','_checkMissing','get','_initMergeInterceptor','init','body','_xformMode','_state$','743276ZfAMPA','YUUMI_TABLE_NOT_FOUND_IN_UNIT','onTransformSelections','_remoteChangesetQueue','confirm','_onConflict','location','_type','awaiting_with_pending','[CollaborationUndoRedoService]','_change$','session','_localCacheService','loginUrlKey','size','OpenSSL','_sheetTransformSelectionsService','BASE64','cmd','_candidateSocket','ws://127.0.0.1:8000/universer-api/comb/connect','_onLocalMutation','emitEvent','from','loadUnit','csShouldRetryEvent','map','HEARTBEAT_TIMEOUT','reqId','transformSelections','\x22.\x20Please\x20configure\x20the\x20dynamicRequireTargets\x20or/and\x20ignoreDynamicRequires\x20option\x20of\x20@rollup/plugin-commonjs\x20appropriately\x20for\x20this\x20require\x20call\x20to\x20work.','requestParams','INVALID_INVITE_CODE','Cipher','result','YUUMI_UNABLE_LOAD_URL','_incrementRevisionNumber','_resendTimeout','_isPermissionRej','_redoStacks','onTransformIME','_collaborationSessionService','getRoom','retryConnectingInterval','\x20to\x20','_onConnectionOpen','_handlerCallback','change$','LIVESHARE_FETCH_OPERATIONS','type','iterations','CHANGESET_REJ','onRemoteAck','[serializeCombRequest]:\x20should\x20not\x20fall\x20into\x20default\x20branch!','_univerInstanceService','_socket$','patch','5MfXiII','routeKey','/resources','CipherParams','reject','socketService','?size=','SNAPSHOT_URL_KEY','_logService','_tryReconnect','/role','error','name','_transformUndoredo','[CollaborationSession]:\x20should\x20not\x20send\x20message\x20when\x20the\x20session\x20is\x20offline!','UUID','origin','values','_event$','_initRequestHeader','_resendTimer','objectActions','CONFLICT','loadOfflineData','YUUMI_RATE_OVER_LIMIT','sheets','objectID','lib','unit-cache-','padding','catch','/universer-api/comb','_acknowledgedAwaitingChangeset','1502478wCcUCu','_createHandler','_commentService','_changesetReqId','COMPRESS_MUTATION_APPLY','byteOffset','string','\x20in\x20_schedule.','_getLoginPath','auth.needGotoLoginAlert','_members','[CollaborationEntity]:\x20initial\x20state\x20has\x20been\x20created\x20before.\x20You\x20should\x20not\x20call\x20\x22init\x22\x20twice.','getCurrentUser','editing\x20status\x20changed\x20to','LIVESHARE_OPERATION','session.room-permission-denied','_clearRedo','_onRecvEvent','close','univer-pro.collaboration-client.network-condition.service','_commandService','_iKey','symbol','_unitID','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','dispose','getResourcesRequest','_collaborationUIEventService','YUUMI_SUBSCRIPTION_NOT_FOUND','LEAVE','_collaborationTimeoutTimer','defineProperty','mutations','_waitCount','onRemoteRej','src','withCredentials','YUUMI_NO_CUBOID_FOR_QUESTION','max','_toggleOnline','_resendWithTimeout','getCurrentRevOfUnit','_transformService','_transformStateCache','\x0aCurrent:\x20','onLocalMutation','reconnect','function','getActiveSheet','unknown','getOwnPropertyDescriptor','_collabSessionService','_getCtorByUniverType','_createSocket','state$','focused$','_startCollaboration','_throwTelemetryCollaborationNewChangeset','filter','complete','AWAITING','_nRounds','APPLY_DUPLICATED','MUTATION','join','onStateChange','_retryCount','[PendingState]:\x20invalid\x20calling\x20to\x20`resend`.','ceil','_handler','ERROR_IMAGE','CONNECTOR_DATA_TOO_LARGE','sessionStatus','_process','_unlockTransition','[CollaborationSocketService]:\x20failed\x20to\x20get\x20web\x20socket\x20factory!','dispose$','/object/','CLOSE_ROOM','socket\x20close','keySize','1374704hPOrZN','onCommentUpdate','_getSignURL','_nDataBytes','synced','_eventService','_singleActiveUnitService','onRemoteRetry','decryptBlock','createDecryptor','_onFetchMissResult','fetch_missing','uploadFileServerUrl','roomInfos','random','SUBMIT_CHANGESET_TIMEOUT','_undoRedoService','changesets','HttpExport','PY_RUNTIME_SCRIPT_ERROR','_HTTPService','[SyncedState]:\x20received\x20rejection.','_startTelemetryCollaborationNewChangeset','IDLE','fromCollab','Pkcs7','session.room-full','offline','action','memberID','_iv','downloadEndpointUrl','INVITE_CODE_ALREADY_BOUND','_onRemoteRetry','awaitingChangeset','Latin1','[OfflineState]:\x20received\x20rejection.','PERSON','_transformSelections','image/jpg','538299eiEAPC','JOIN_ROOM_FULL','[FetchingMissState]:\x20not\x20expected\x20to\x20receive\x20ack\x20when\x20`this._awaitingChangeset`\x20is\x20null!','_getUndoStack','collaboratorID','_executeRemoteChangeset','_onConnectionFailed','_cipher','SUCCUSS','session.room-cnt-exceeds','_compressMutationService','UNKNOWN_CODE','/universer-api/authz','PSEUDO_FETCH_MISSING_RESULT','Encryptor','substr','workbook','getUnitId','PERMISSION_REJ','file','clone','JOIN_ROOM_FAILED','batchAllowed','default','_clearTimeoutTimer','execute','isPermissionRej','onRemoteChangeset','[DataLoaderService]','getInterceptPoints','_getUploadFileURL','INGEST','splice','/-/object/list','RECV','listRoles','EXCHANGE_UPLOAD_FILE_SERVER_URL_KEY','_state','_onJoinRoomEvent','_transformStack','concat','6640hRfxjZ','INTERNAL_ERROR','encode','_sessionStatus$','stopTime','members','_getAPIPrefix','_commentUpdate$','params','unitInfo$','length','{fileID}','[CollaborationEntity]:\x20cannot\x20apply\x20missing\x20results\x20on\x20other\x20states!','objectType','[CollaborationSocketService]:\x20failed\x20to\x20create\x20socket!','addImageSourceCache','SHA1','_retryConnectingTimer','_unitInfo$','_getCurrentRevision','onTransformRemoteChangesetByIMECache','YUUMI_AI_RUN_FAILED','processBlock','snapshotServerUrl','SYNCED','USER_NOT_INVITED_CODE','_initUnitPermissionChange','min','[CollaborationEntity]:\x20invalid\x20state\x20transition!\x20State\x20transferred\x20from\x20is\x20not\x20the\x20current\x20state.\x0aBefore:\x20','_sendHeartbeat','_onMessage','_imageSourceCache','NO_OTHER_CLIENTS_EDITING','joinRsp','SEND_CHANGESET_TIMEOUT','registerHTTPInterceptor','[CollaborationSession]','/rev/','userID','_onUserLeave','_memberService','_roomMembers','getRandomValues','getSnapshotAPIPath','_updateStatus','/-/object/-/batch_allowed','_doReset','YUUMI_ASYNCIO_CANCELLED','image/bmp','pipe','_entityInit$','EvpKDF','7YZwAPA','stringify','UNIVER_UNKNOWN','parse','decrypt','cfg','_sendHeartbeatTimer','_socketMessageSubscription','now','/universer-api/file/{fileID}/sign-url','_onCombEvent','pad','liveShareNewHost','disposeWithMe','you\x20should\x20override\x20\x22IUndoRedoService\x22\x20provided\x20in\x20\x22core\x22\x20package!','add','leaveEvent','LIVESHARE_TERMINATE','duration','newCsEvent','onMissingChangesets','compose','JOIN_ROOM_NOT_EXISTS','_userManagerService','closeSession','LOGIN_FAILED','_key','HmacMD5','not_collab','executeCommand','_config','_httpService','refreshPermission','connection\x20error','readInt32LE','_transformIMECache','_sessions','_doCreateSocket','CHANGESET_REVISION_CONFILICT','_clearScheduledTask','send','getCollabEntity','reverse','onload','Malformed\x20UTF-8\x20data','_submitChangeset','_createHelper','update','getSheetId','authzUrl','SerializableCipher','loadDoc','incrementRevOfUnit','fetchMissingChangesets','forEach','ERROR_IMAGE_TYPE','_decreaseWaiting','$super','onMissedChangesetFetched','updatePermissionPoint','getMemberID','_sender','onTransformState','_DEC_XFORM_MODE','_map','JOIN_ROOM_PERMISSION_DENIED','_rescheduleHeartbeat','LIVESHARE_NEW_HOST','_listenToNetworkCondition','image/jpeg','_init','OTHER_CLIENT_EDITING','_substituteUndoStack','USERS_ENTER','UNIVER_DOC','getUnit','ciphertext','revision','message$','[PendingState]:\x20received\x20rejection.','ALREADY_EXISTS','_clearCollaborationTimeoutTimer','url','_applyRemoteChangeset','crypto','COMPRESS_MUTATION_SEND','getConfig','originalMeta','__creator','unitId','_removeRoom','floor','words','event$','&source=','GLOBAL_ROOMS_CNT_EXCEEDS','range','_doFinalize','EMAIL_HAS_BEEN_BOUND','deepClone','RETRY_CONNECTING_MAX_COUNT','status','hostname','APPLY_NON_SEQUENTIAL_REVISION','snapshot','waitForRoom$','actions','_syncEditingCollabCursor','saveSnapshot','AWAITING_WITH_PENDING','onSyncEditingCollabCursor','textRanges','collaMsg','conflict','delete','JOIN','format','onlyLocal','UnitSnapshot','Undefined','UNKNOWN_CMD','finalize','resourceIDs','APPLY_REVISION_CONFILICT','onTransformRemoteChangesetByStateCache\x20callback\x20is\x20not\x20added\x20yet.','_permissionService','setShowComponents','eventID','allowed','image/gif','/object','hasOwnProperty','COMMENT_UPDATE','USERS_LEAVE','TOO_MANY_REQUESTS','_minBufferSize','enableOfflineEditing','/universer-api/snapshot','_lockTransition','updatePermissionObjEvent','OTHER_CLIENTS_EDITING','put','[CollaborationController]:\x20invalid\x20univer\x20type:\x20','collabSubmitChangesetUrl','StreamCipher','_members$','prototype','c1Prime','/universer-api/oidc/authpage','LIVESHARE_REQUEST_HOST','updateCursorEvent','getFocusedUnit','subject','_toggleOffline','BufferedBlockAlgorithm','_clearRetryConnectingTimer','[OfflineState]:\x20received\x20changeset.','[PendingState]:\x20unhandled\x20univer\x20type:\x20','CHANGESET_SHOULD_RETRY','method','awaiting','getTypeOfUnitDisposed$','_registerDependencies','_sendingTimer','SHOULD_CLOSE_CONN','_createInitialStateImpl','_createHmacHelper','data','SOCKET_FAILED','People','generateRandomId','UPDATE_CURSOR','PENDING','getMember','encryptBlock','UNDEFINED','mode','Base64','initWorkbookPermissionChange','shouldCloseConn','/collaborator','key','WECHAT_HAS_BEEN_BOUND','_getDownloadEndpointURL','mixIn','_reverseMap','saveChangeset','_transformRemoteChangesetByStateCache','BlockCipher','ivSize','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','NoPadding','_keyPriorReset','SNAPSHOT_INVALID_SNAPSHOT','_onRemoteRejected','PasswordBasedCipher','compute','find','_exhaustRemoteChangesetQueue','objects','resend','_updateState','_updateLocalCache','debug','/unit/','_socketReady','charAt','transformUndoRedo','Could\x20not\x20dynamically\x20require\x20\x22','_emitMembers','UNRECOGNIZED','loadUnitOfRevision','[ConflictState]:\x20invalid\x20calling\x20to\x20`resend`.','post','fetching\x20the\x20latest\x20document\x20from\x20the\x20server.','pending','getValue','_hash','SUBMIT_CHANGESET','saveImage','selections','getUnitStatus$','unsubscribe','APPLY_PERMISSION_DENIED','entries','_substituteRedoStack','_mode','UNAUTHENTICATED','status$','_scheduleCompleteTimestamp','_doCryptBlock','c2Prime','clear','blockSize','YUUMI_URL_COL_OUT_OF_RANGE','_queuedRemoteChangesets','charCodeAt','onSendChangeset','_status$','SOCKET_FAILED_RETRY','override','commentUpdate$','getTypeOfUnitAdded$','createEncryptor','getUnitType','onTransformRemoteChangesetByStateCache','_disableEditing','hasher','close$','_append','repeat','msCrypto','FileId','localCacheService','/universer-api/snapshot/','_getAPIPrefixPath','_entities','UPDATE_PERMISSION_OBJ','_snapshotService','[UniverCollaborationClientPlugin]:\x20you\x20must\x20provide\x20a\x20socketService\x20implementation\x20in\x20config!','NOT_FOUND','_networkConditionService','[SyncedState]:\x20invalid\x20calling\x20to\x20`resend`.','_socketService','_shouldReportTelemetry','sessionStatus$','commentUpdateEvent','_scheduleCollaborationTimeoutTimer','LICENSE_IMPORT_SIZE_EXCEEDED','[PendingState]:\x20received\x20acknowledgement.','OFFLINE','getCollabEntity$','UNISCRIPT_RUN','[OfflineState]:\x20received\x20acknowledgement.','reset','buffer','UNIVER_PROJECT','BlockCipherMode','_waitForHeartbeatResponse','kdf','_snapshotServerService','appendMutation','headers','Utf8','permissionRejEvent','_oKey','_revisionService','/universer-api/uniscript','_replaceFileID','set','NEW_CHANGESETS','copyFileMeta','enc','COLLAB_SUBMIT_CHANGESET_URL','resolve','salt','_tryEnsureSocket','transformChangesets','_getSendChangesetTimeout','enableSingleActiveInstanceLock','startTime','getLatestCsReqIdBySid','encrypt','HELLO','WordArray','ONLINE','_clearUndo','onTransformRemoteChangesetByIMECache\x20callback\x20is\x20not\x20added\x20yet.','subUnitId','requireSession','LICENSE_DISTRO_REJECTED','[CollaborationEntity]','_awaitingChangeset','_keySchedule','removeMember','_clearLocalCache','FETCH_MISSING','UnitEmbedded','_stopTelemetryCollaborationNewChangeset','_prevBlock','m2Prime','_injector','_joinRoom','createInstance','unitID','MD5','Decryptor','subscribe','HmacSHA1','readAsDataURL','_changesetSessionId','/universer-api/user/session-ticket','HEARTBEAT','code','replace','pauseCollaboration','apply','asObservable','_pendingMutations','_onOffline','OPTIONAL','toString','getDeserializedSheetBlock','_onRemoteChangeset','randomBytes','_hasher','HMAC','error$','_collaborationPaused','infoRsp','302470DjYRtT','exports','COLLAB_WEB_SOCKET_URL','_invKeySchedule','_initDependencies','HttpImport','LICENSE_MAX_UNITS_EXCEEDED','PERMISSION_DENIED','_schedule','getCurrentSelections','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','editingUnit','loadSheet','fromCharCode','uniscriptRunEvent','collaboration-client.config','_localeService','_socket','_parse','getSheetBlock','LOGIN_URL_KEY','push','next','createSocket','_ENC_XFORM_MODE','putCollaborators','[FetchMissState]','Hex','toggleOffline','collaborators','_transformRemoteChangesetByIMECache','Base','getImageSourceCache','localeService','_clearHeartbeatTimer','[CollaborationSessionService]','_timeoutTimer','indexOf','LOCAL_CACHE_INTERVAL','_telemetryService','/universer-api/stream/file/upload','_data','This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!','INVITE_CODE_HAS_BEEN_UES','_telemetryInfo','sin','target','then','_onRemoteACK','_replayCachedMutations','onCommandExecuted','state','open$','setConfig','EXCHANGE_SIGN_URL_SERVER_URL_KEY','_instanceService','APPLY_REJECT','AES','FAIL','[SyncedState]:\x20received\x20acknowledgement.','getWorkbookSelections','fetchMiss','sid','sigBytes','POST','listCollaborators','slice','byteLength','Hasher','has','LICENSE_EXPORT_SIZE_EXCEEDED','/new_changes','onStarting','enableCollaboration','/block/','capture','1358628IizVMo','extend','_transitionLocked','updateCollaborator','transformMutationsWithChangeset','isArray','UNIVER_COLLABORATION_CLIENT_PLUGIN','_configService','JOINING','abs'];_0x5505=function(){return _0x513e02;};return _0x5505();}const qs=new Set([_0x387995['id']]);function Wt(_0x442457,_0xba0040,_0x46b869,_0x56c4dc,_0x31f479){var _0x219e3c=_0x3085eb,_0x5e3413,_0x2c40d0,_0x4b40cf,_0x53c2a9;const _0x2459c9=[];for(const _0x2d9fa4 of _0x442457)if(qs[_0x219e3c(0x1f3)](_0x2d9fa4['id'])){if(_0x2459c9[_0x219e3c(0x32b)]>0x0)break;_0x2459c9[_0x219e3c(0x1c3)](_0x2d9fa4);break;}else _0x2459c9[_0x219e3c(0x1c3)](_0x2d9fa4);const _0x5d30f6=(_0x2c40d0=(_0x5e3413=_0x31f479[_0x219e3c(0x28b)]())==null?void 0x0:_0x5e3413['userID'])!=null?_0x2c40d0:_0x219e3c(0x2b0),_0x5c1e07=(_0x53c2a9=(_0x4b40cf=_0x31f479[_0x219e3c(0x28b)]())==null?void 0x0:_0x4b40cf[_0x219e3c(0x2ed)])!=null?_0x53c2a9:_0x219e3c(0x2b0);return{'changeset':{'unitID':_0xba0040,'type':_0x569a6b(_0x46b869[_0x219e3c(0x144)](_0xba0040)),'baseRev':_0x56c4dc[_0x219e3c(0x2a8)](_0xba0040),'revision':0x0,'userID':_0x5d30f6,'memberID':_0x5c1e07,'mutations':_0x2459c9},'pendingMutations':_0x442457[_0x219e3c(0x1f0)](_0x2459c9[_0x219e3c(0x32b)])};}function zs(_0x2181eb,_0x2a35d7,_0x337d94,_0xf9779,_0x4435a5){var _0x12a727=_0x3085eb,_0x4e54f2,_0x24d6f2,_0x395311,_0x1c2236;const _0x447a48=[_0x2181eb['reduce']((_0x1dd675,_0x3ad523)=>{var _0x133f8e=_0x4c1a,_0x559d08;const {id:_0x30af00}=_0x1dd675,{id:_0x4f878c,type:_0x20addf}=_0x3ad523,_0x32eec2=(_0x559d08=_0x1dd675[_0x133f8e(0x329)])!=null?_0x559d08:{'actions':null},_0x476806=_0x3ad523['params'];if(_0x30af00&&_0x30af00!==_0x4f878c)throw new Error(_0x133f8e(0x215)+_0x30af00+'\x20-\x20'+_0x4f878c+'.');return{..._0x1dd675,'id':_0x4f878c,'type':_0x20addf,'params':{'unitId':_0x476806[_0x133f8e(0xa9)],'textRanges':_0x476806['textRanges'],'actions':_0x2f6eee[_0x133f8e(0x36a)](_0x32eec2['actions'],_0x476806[_0x133f8e(0xba)])}};},{})],_0x21d1bd=(_0x24d6f2=(_0x4e54f2=_0x4435a5['getCurrentUser']())==null?void 0x0:_0x4e54f2[_0x12a727(0x347)])!=null?_0x24d6f2:'unknown',_0x26ae07=(_0x1c2236=(_0x395311=_0x4435a5['getCurrentUser']())==null?void 0x0:_0x395311[_0x12a727(0x2ed)])!=null?_0x1c2236:_0x12a727(0x2b0);return{'changeset':{'unitID':_0x2a35d7,'type':_0x569a6b(_0x337d94['getUnitType'](_0x2a35d7)),'baseRev':_0xf9779[_0x12a727(0x2a8)](_0x2a35d7),'revision':0x0,'userID':_0x21d1bd,'memberID':_0x26ae07,'mutations':_0x447a48},'pendingMutations':[]};}function Ii(_0x1efa1a,_0x37709a){var _0x442e2a=_0x3085eb;const _0x1974bd=new _0x4f7a2a(0x1);return setTimeout(()=>_0x1974bd[_0x442e2a(0x1c4)](_0x37709a),_0x1efa1a),_0x1974bd['asObservable']()['pipe'](_0x447cb7(0x1));}const Js={'id':_0x23b44f['id'],'type':_0x167fd6[_0x3085eb(0x2be)],'params':{}};var Xs=Object['getOwnPropertyDescriptor'],Ie=(_0x3600ac,_0x3e6a65,_0x50c838,_0x1c9fc4)=>{var _0x56634c=_0x3085eb;for(var _0x545ab9=_0x1c9fc4>0x1?void 0x0:_0x1c9fc4?Xs(_0x3e6a65,_0x50c838):_0x3e6a65,_0xc36f6f=_0x3600ac[_0x56634c(0x32b)]-0x1,_0x1fd18e;_0xc36f6f>=0x0;_0xc36f6f--)(_0x1fd18e=_0x3600ac[_0xc36f6f])&&(_0x545ab9=_0x1fd18e(_0x545ab9)||_0x545ab9);return _0x545ab9;},P=(_0x464377,_0x28f703)=>(_0x48b47b,_0x2eced6)=>_0x28f703(_0x48b47b,_0x2eced6,_0x464377),Ti=(_0x4be153=>(_0x4be153['NOT_COLLAB']=_0x3085eb(0x371),_0x4be153[_0x3085eb(0x339)]=_0x3085eb(0x2d4),_0x4be153[_0x3085eb(0xfc)]=_0x3085eb(0x127),_0x4be153[_0x3085eb(0x2bb)]=_0x3085eb(0xf0),_0x4be153[_0x3085eb(0xbd)]=_0x3085eb(0x22d),_0x4be153[_0x3085eb(0x212)]=_0x3085eb(0x2db),_0x4be153['CONFLICT']=_0x3085eb(0xc1),_0x4be153[_0x3085eb(0x15e)]=_0x3085eb(0x2eb),_0x4be153))(Ti||{});const Ci=0xea60;class Te{constructor(_0x41315d,_0x42d480,_0x417b20,_0x2fede2,_0x5e9643,_0x164a80,_0x29b236,_0x5b9b0b,_0x3dab97){var _0x354981=_0x3085eb;N(this,'_awaitingChangeset',null),N(this,'_pendingMutations',[]),(this[_0x354981(0x194)]=_0x41315d,this[_0x354981(0x256)]=_0x42d480,this[_0x354981(0x2c4)]=_0x5e9643,this[_0x354981(0x293)]=_0x164a80,this[_0x354981(0x2e0)]=_0x29b236,this[_0x354981(0x16e)]=_0x5b9b0b,this[_0x354981(0x231)]=_0x3dab97,this[_0x354981(0x188)]=_0x417b20,this[_0x354981(0x1a2)]=_0x2fede2);}[_0x3085eb(0x21e)](_0x3bb63a){var _0x2e3eb9=_0x3085eb;const _0x362cea=this[_0x2e3eb9(0x16e)]['getCurrentRevOfUnit'](this[_0x2e3eb9(0x194)]);return _0x3bb63a['revision']>_0x362cea+0x1?(this['_handler']['onMissingChangesets']({'from':_0x362cea,'to':_0x3bb63a[_0x2e3eb9(0x9d)]-0x1}),!0x0):!0x1;}[_0x3085eb(0x26b)](_0x445fe5){var _0x4d8531=_0x3085eb;this[_0x4d8531(0x2e0)][_0x4d8531(0x11f)](this[_0x4d8531(0x194)],_0x445fe5);}[_0x3085eb(0x2f6)](_0x2cd63){var _0x2e1e26=_0x3085eb,_0x1599a8,_0x125707;(_0x125707=(_0x1599a8=this['_handler'])[_0x2e1e26(0x227)])==null||_0x125707[_0x2e1e26(0x208)](_0x1599a8,_0x2cd63);}[_0x3085eb(0x378)](_0x47ac0b){var _0x599018=_0x3085eb,_0x598956,_0x55bdf0;return(_0x55bdf0=(_0x598956=this[_0x599018(0x2c4)])[_0x599018(0x24d)])==null?void 0x0:_0x55bdf0[_0x599018(0x208)](_0x598956,_0x47ac0b);}['_transformStateCache'](_0x65a428){var _0x2319f4=_0x3085eb,_0x342de9,_0x13a29c;return(_0x13a29c=(_0x342de9=this[_0x2319f4(0x2c4)])[_0x2319f4(0x8e)])==null?void 0x0:_0x13a29c[_0x2319f4(0x208)](_0x342de9,_0x65a428);}[_0x3085eb(0x1cc)](_0x23a33d){var _0x3c36af=_0x3085eb,_0x3f0353,_0x572917,_0x3a7cf3;return(_0x3a7cf3=(_0x572917=(_0x3f0353=this[_0x3c36af(0x2c4)])[_0x3c36af(0x335)])==null?void 0x0:_0x572917[_0x3c36af(0x208)](_0x3f0353,_0x23a33d))!=null?_0x3a7cf3:_0x23a33d;}[_0x3085eb(0x10b)](_0x1c6a9b){var _0x582e5c=_0x3085eb,_0x5b26b3,_0x217a74,_0xdd3833;return(_0xdd3833=(_0x217a74=(_0x5b26b3=this[_0x582e5c(0x2c4)])[_0x582e5c(0x145)])==null?void 0x0:_0x217a74[_0x582e5c(0x208)](_0x5b26b3,_0x1c6a9b))!=null?_0xdd3833:_0x1c6a9b;}[_0x3085eb(0xbb)](_0x433338){var _0x5b8d4b=_0x3085eb,_0x5ace3e,_0x24cd91;if(this[_0x5b8d4b(0x256)]===Z[_0x5b8d4b(0x9a)]){const {unitID:_0x183dbb,mutations:_0x740092,memberID:_0x520ccf}=_0x433338,_0x49aa00=_0x740092[0x0][_0x5b8d4b(0x329)][_0x5b8d4b(0xbf)];Array[_0x5b8d4b(0x1ff)](_0x49aa00)&&_0x49aa00[_0x5b8d4b(0x32b)]>0x0&&((_0x24cd91=(_0x5ace3e=this[_0x5b8d4b(0x2c4)])['onSyncEditingCollabCursor'])==null||_0x24cd91[_0x5b8d4b(0x208)](_0x5ace3e,{'unitID':_0x183dbb,'memberID':_0x520ccf,'textRanges':_0x49aa00}));}}[_0x3085eb(0x11a)](){var _0x19e1f2=_0x3085eb,_0x1c3a54;(_0x1c3a54=this[_0x19e1f2(0x231)])==null||_0x1c3a54['updateOfflineData'](this[_0x19e1f2(0x194)],this[_0x19e1f2(0x256)],this[_0x19e1f2(0x188)],this[_0x19e1f2(0x1a2)]);}[_0x3085eb(0x334)](){var _0x1200bf=_0x3085eb;return this['_revisionService'][_0x1200bf(0x2a8)](this[_0x1200bf(0x194)]);}[_0x3085eb(0x249)](){var _0x204f73=_0x3085eb;this[_0x204f73(0x16e)][_0x204f73(0x84)](this[_0x204f73(0x194)]);}[_0x3085eb(0x2fd)](_0x103251){var _0x268052=_0x3085eb,_0x449ed2;let _0x48753e=this[_0x268052(0x1cc)](_0x103251);_0x48753e=this[_0x268052(0x10b)](_0x48753e);const _0x39d203=_0x3c84a1(_0x48753e[_0x268052(0x29f)],this[_0x268052(0x293)],{'fromCollab':!0x0});if(!_0x39d203[_0x268052(0x247)])throw _0x39d203[_0x268052(0x269)]instanceof Error?_0x39d203['error']:new Error((_0x449ed2=_0x39d203['error'])!=null?_0x449ed2:'[CollaborationState]:\x20apply\x20error!');this[_0x268052(0x378)](_0x48753e),this[_0x268052(0x2aa)](_0x48753e),this[_0x268052(0x26b)](_0x103251),this[_0x268052(0x2f6)](_0x48753e),this[_0x268052(0xbb)](_0x48753e),this[_0x268052(0x249)]();}}let ye=class extends Te{constructor(_0x531708,_0x3a5de5,_0x408adf,_0x21eeb6,_0x1adf22,_0x50fdd0,_0x4b6242,_0x12089a,_0x20e1d1,_0x119de7){var _0x151578=_0x3085eb;super(_0x531708,_0x3a5de5,null,[],_0x408adf,_0x4b6242,_0x50fdd0,_0x21eeb6,_0x119de7),N(this,_0x151578(0xb5),_0x151578(0x2d4)),(this[_0x151578(0x191)]=_0x1adf22,this[_0x151578(0x266)]=_0x12089a,this[_0x151578(0x2a9)]=_0x20e1d1,this[_0x151578(0x14d)]=_0x119de7);}[_0x3085eb(0x169)](_0x226371){var _0x5a2845=_0x3085eb;const _0x42bf65=this['_injector'][_0x5a2845(0x193)](re,this[_0x5a2845(0x194)],this[_0x5a2845(0x256)],[_0x226371],this[_0x5a2845(0x2c4)]);return _0x42bf65[_0x5a2845(0x1b6)](),_0x42bf65[_0x5a2845(0x11a)](),_0x42bf65;}['onRemoteChangeset'](_0x1c2adf){var _0x1df699=_0x3085eb;if(this[_0x1df699(0x21e)](_0x1c2adf))return this[_0x1df699(0x191)][_0x1df699(0x193)](Q,this[_0x1df699(0x194)],this[_0x1df699(0x256)],null,[],null,[_0x1c2adf],this['_handler']);try{const _0xc1fe9=this[_0x1df699(0x2a9)]['transformMutationsWithChangeset'](_0x1c2adf,[Js]);if(_0x4a7fa7(_0xc1fe9)){const {c1Prime:_0x46bb12}=_0xc1fe9;return this[_0x1df699(0x2fd)](_0x46bb12),this;}throw _0xc1fe9['error'];}catch(_0x1f5bb8){return this[_0x1df699(0x266)][_0x1df699(0x269)](_0x1f5bb8),this['_onConflict'](!0x1);}}[_0x3085eb(0x22a)](_0x5a36b3){var _0x4d46b6=_0x3085eb;return this['_injector']['createInstance'](le,this['unitID'],this[_0x4d46b6(0x256)],null,[],this['_handler'],_0x5a36b3);}[_0x3085eb(0x259)](){var _0x538e8f=_0x3085eb;throw new Error(_0x538e8f(0x1e9));}[_0x3085eb(0x2a1)](){var _0x225bb1=_0x3085eb;throw new Error(_0x225bb1(0x2e5));}[_0x3085eb(0x2d7)](){return this;}['toggleOffline'](){var _0x478841=_0x3085eb;return this['_injector']['createInstance'](ue,this[_0x478841(0x194)],this[_0x478841(0x256)],null,[],this[_0x478841(0x2c4)]);}[_0x3085eb(0x21b)](){return this;}[_0x3085eb(0x118)](){var _0x47f76e=_0x3085eb;throw new Error(_0x47f76e(0x156));}['fetchMiss'](){var _0x29540e=_0x3085eb;const _0x1b291a=this['_revisionService']['getCurrentRevOfUnit'](this['unitID']);return this[_0x29540e(0x2c4)][_0x29540e(0x369)]({'from':_0x1b291a,'to':0x0}),this['_injector']['createInstance'](Q,this[_0x29540e(0x194)],this[_0x29540e(0x256)],null,[],null,[],this[_0x29540e(0x2c4)]);}};ye=Ie([P(0x3,_0x53dfbc(_0x52c054)),P(0x4,_0x53dfbc(_0x49cf2d)),P(0x5,_0x52e66a),P(0x6,_0x51862d),P(0x7,_0x482beb),P(0x8,_0x20599e),P(0x9,_0x1c5f22(J))],ye);let re=class extends Te{constructor(_0x237c1d,_0x24fc75,_0x224c54,_0x400357,_0x2fff04,_0x4fd959,_0x4f1c97,_0x2f7b6c,_0x7c4067,_0x4ef05c,_0x11cdf4,_0x1829c0,_0x2d824a,_0x1eecb4){var _0x29971d=_0x3085eb;super(_0x237c1d,_0x24fc75,null,_0x224c54,_0x400357,_0x7c4067,_0x2d824a,_0x4fd959,_0x1eecb4),N(this,'status','pending'),N(this,'_scheduleCompleteTimestamp',null),N(this,_0x29971d(0xf3),null),(this[_0x29971d(0x191)]=_0x2fff04,this['_memberService']=_0x4f1c97,this[_0x29971d(0x266)]=_0x2f7b6c,this['_configService']=_0x4ef05c,this[_0x29971d(0x2a9)]=_0x11cdf4,this['_univerInstanceService']=_0x1829c0);}[_0x3085eb(0x169)](_0x157a3a){var _0x53dba7=_0x3085eb;return this[_0x53dba7(0x1a2)][_0x53dba7(0x1c3)](_0x157a3a),this['_updateLocalCache'](),this;}[_0x3085eb(0x313)](_0x28acc6){var _0x5de9d9=_0x3085eb;if(this['_checkMissing'](_0x28acc6))return this[_0x5de9d9(0x37c)](),this[_0x5de9d9(0x191)][_0x5de9d9(0x193)](Q,this[_0x5de9d9(0x194)],this[_0x5de9d9(0x256)],null,this[_0x5de9d9(0x1a2)],null,[_0x28acc6],this[_0x5de9d9(0x2c4)]);try{const _0x349386=this[_0x5de9d9(0x2a9)]['transformMutationsWithChangeset'](_0x28acc6,this[_0x5de9d9(0x1a2)]);if(_0x4a7fa7(_0x349386)){const {c1Prime:_0x24bcf9,m2Prime:_0x38ddde}=_0x349386;this[_0x5de9d9(0x2fd)](_0x24bcf9);const _0x5d6bd5=this[_0x5de9d9(0x191)]['createInstance'](re,this[_0x5de9d9(0x194)],this[_0x5de9d9(0x256)],_0x38ddde,this[_0x5de9d9(0x2c4)]);this[_0x5de9d9(0x37c)]();const _0x54fdcc=new Date()['getTime'](),_0x31ccdc=this[_0x5de9d9(0x135)]?Math[_0x5de9d9(0x2a5)](this[_0x5de9d9(0x135)]-_0x54fdcc,0x0):this[_0x5de9d9(0x17a)]();return _0x5d6bd5[_0x5de9d9(0x1b6)](_0x31ccdc),_0x5d6bd5;}throw _0x349386[_0x5de9d9(0x269)];}catch(_0xcc889f){return this[_0x5de9d9(0x266)][_0x5de9d9(0x269)](_0xcc889f),this[_0x5de9d9(0x22a)](!0x1);}}['onRemoteAck'](){var _0xa8eb7d=_0x3085eb;throw new Error(_0xa8eb7d(0x15d));}[_0x3085eb(0x2a1)](){var _0xeee407=_0x3085eb;throw new Error(_0xeee407(0x9f));}['onRemoteRetry'](){return this;}['toggleOffline'](){var _0x27e619=_0x3085eb;return this[_0x27e619(0x37c)](),this[_0x27e619(0x191)][_0x27e619(0x193)](ue,this['unitID'],this[_0x27e619(0x256)],null,this[_0x27e619(0x1a2)],this['_handler']);}[_0x3085eb(0x21b)](){return this;}[_0x3085eb(0x1b6)](_0x3b1fa4){var _0x4c860b=_0x3085eb;const _0x2cbdcf=_0x3b1fa4!=null?_0x3b1fa4:this[_0x4c860b(0x17a)]();this[_0x4c860b(0x135)]=new Date()['getTime']()+_0x2cbdcf,this['_sendingTimer']=setTimeout(()=>{var _0x1df675=_0x4c860b;this[_0x1df675(0x37c)]();let _0x470d28=null;switch(this[_0x1df675(0x256)]){case Z[_0x1df675(0x218)]:{_0x470d28=Wt(this[_0x1df675(0x1a2)],this[_0x1df675(0x194)],this[_0x1df675(0x25b)],this['_revisionService'],this['_memberService']);break;}case Z[_0x1df675(0x9a)]:{this[_0x1df675(0x1a2)]['every'](_0x23f30e=>_0x23f30e['id']===_0x253a30['id'])?_0x470d28=zs(this[_0x1df675(0x1a2)],this[_0x1df675(0x194)],this[_0x1df675(0x25b)],this[_0x1df675(0x16e)],this[_0x1df675(0x349)]):_0x470d28=Wt(this[_0x1df675(0x1a2)],this[_0x1df675(0x194)],this[_0x1df675(0x25b)],this[_0x1df675(0x16e)],this['_memberService']);break;}default:throw new Error(_0x1df675(0xed)+this[_0x1df675(0x256)]+_0x1df675(0x286));}const {changeset:_0x24c827,pendingMutations:_0x15998f}=_0x470d28;this['_handler'][_0x1df675(0x13d)](_0x24c827);const _0x35ad14=_0x15998f['length']?this[_0x1df675(0x191)][_0x1df675(0x193)](ae,this[_0x1df675(0x194)],this[_0x1df675(0x256)],_0x24c827,_0x15998f,this['_handler'],void 0x0):this[_0x1df675(0x191)][_0x1df675(0x193)](_e,this[_0x1df675(0x194)],this[_0x1df675(0x256)],_0x24c827,this[_0x1df675(0x2c4)]);_0x35ad14[_0x1df675(0x11a)](),this[_0x1df675(0x2c4)][_0x1df675(0x2c0)](this,_0x35ad14);},_0x2cbdcf);}[_0x3085eb(0x17a)](){var _0x3bac39=_0x3085eb,_0x124e72;const _0x1c4bd9=this[_0x3bac39(0x201)][_0x3bac39(0xa6)](K);return(_0x124e72=_0x1c4bd9==null?void 0x0:_0x1c4bd9['sendChangesetTimeout'])!=null?_0x124e72:ms;}[_0x3085eb(0x118)](){var _0x19e554=_0x3085eb;throw new Error(_0x19e554(0x2c2));}[_0x3085eb(0x37c)](){var _0x10e840=_0x3085eb;this[_0x10e840(0xf3)]!=null&&(clearTimeout(this[_0x10e840(0xf3)]),this['_sendingTimer']=null);}[_0x3085eb(0x22a)](_0x4dec5a){var _0x4c7c4d=_0x3085eb;return this['_clearScheduledTask'](),this[_0x4c7c4d(0x191)][_0x4c7c4d(0x193)](le,this['unitID'],this[_0x4c7c4d(0x256)],null,this[_0x4c7c4d(0x1a2)],this[_0x4c7c4d(0x2c4)],_0x4dec5a);}};re=Ie([P(0x4,_0x53dfbc(_0x49cf2d)),P(0x5,_0x53dfbc(_0x52c054)),P(0x6,_0x53dfbc(Pe)),P(0x7,_0x482beb),P(0x8,_0x51862d),P(0x9,_0x22b79b),P(0xa,_0x20599e),P(0xb,_0x892ae8),P(0xc,_0x52e66a),P(0xd,_0x1c5f22(J))],re);let _e=class extends Te{constructor(_0x5d9946,_0x4d88d4,_0x3e1442,_0x229893,_0x1347c4,_0x541b6c,_0x567cbd,_0xc4ac63,_0x4225cc,_0x218177,_0x212a29){var _0x52135c=_0x3085eb;super(_0x5d9946,_0x4d88d4,_0x3e1442,[],_0x229893,_0x567cbd,_0x218177,_0x541b6c,_0x212a29),N(this,_0x52135c(0xb5),_0x52135c(0xf0)),N(this,'_resendTimeout',0x0),N(this,_0x52135c(0x272)),N(this,'_sender'),(this['_injector']=_0x1347c4,this[_0x52135c(0x266)]=_0xc4ac63,this['_transformService']=_0x4225cc);}[_0x3085eb(0x169)](_0x13b69b){var _0x33e161=_0x3085eb;this[_0x33e161(0x37c)]();const _0x1ac3f9=this['_injector']['createInstance'](ae,this['unitID'],this[_0x33e161(0x256)],this[_0x33e161(0x188)],[_0x13b69b],this[_0x33e161(0x2c4)],this['_resendTimer']);return _0x1ac3f9['_updateLocalCache'](),_0x1ac3f9;}[_0x3085eb(0x313)](_0xf0399d){var _0x400b70=_0x3085eb;if(this[_0x400b70(0x21e)](_0xf0399d))return this[_0x400b70(0x37c)](),this[_0x400b70(0x191)]['createInstance'](Q,this[_0x400b70(0x194)],this[_0x400b70(0x256)],this[_0x400b70(0x188)],[],null,[_0xf0399d],this['_handler']);try{const _0x1a8a46=this[_0x400b70(0x2a9)][_0x400b70(0x179)]([_0xf0399d],[this[_0x400b70(0x188)]],!0x1);if(_0xca2bb8(_0x1a8a46)){const {c1Prime:_0x316c7c,c2Prime:_0x3a43e2}=_0x1a8a46;this[_0x400b70(0x2fd)](_0x316c7c[0x0]),_0x3a43e2[0x0][_0x400b70(0x209)]=this['_getCurrentRevision'](),this[_0x400b70(0x37c)]();const _0x25e2f2=this[_0x400b70(0x191)][_0x400b70(0x193)](_e,this[_0x400b70(0x194)],this[_0x400b70(0x256)],_0x3a43e2[0x0],this[_0x400b70(0x2c4)]);return _0x25e2f2['_updateLocalCache'](),_0x25e2f2;}return this[_0x400b70(0x22a)](!0x1);}catch(_0x344244){return this['_logService']['error'](_0x344244),this[_0x400b70(0x22a)](!0x1);}}['onRemoteAck'](_0x210b6c){var _0xd2c3e8=_0x3085eb;this['_clearScheduledTask']();const _0x17b978=this[_0xd2c3e8(0x16e)][_0xd2c3e8(0x2a8)](this[_0xd2c3e8(0x194)]);if(_0x210b6c[_0xd2c3e8(0x9d)]<_0x17b978-0x1)return this;if(this[_0xd2c3e8(0x21e)](_0x210b6c))return this['_injector'][_0xd2c3e8(0x193)](Q,this[_0xd2c3e8(0x194)],this[_0xd2c3e8(0x256)],null,[],this[_0xd2c3e8(0x188)],[],this[_0xd2c3e8(0x2c4)]);this[_0xd2c3e8(0x249)]();const _0x198fa7=this[_0xd2c3e8(0x191)][_0xd2c3e8(0x193)](ye,this[_0xd2c3e8(0x194)],this[_0xd2c3e8(0x256)],this[_0xd2c3e8(0x2c4)]);return _0x198fa7[_0xd2c3e8(0x11a)](),_0x198fa7;}[_0x3085eb(0x2a1)](_0x191409){var _0x92f3ea=_0x3085eb;return this[_0x92f3ea(0x22a)](!!(_0x191409!=null&&_0x191409['isPermissionRej']));}[_0x3085eb(0x2d7)](_0x5c08d6){var _0x9eff8f=_0x3085eb;return this[_0x9eff8f(0x24a)]>Ci?this[_0x9eff8f(0x1ca)]():(this[_0x9eff8f(0x272)]=Ii(this['_resendTimeout'],{'timeout':this[_0x9eff8f(0x24a)],'reqId':_0x5c08d6[_0x9eff8f(0x241)]}),this[_0x9eff8f(0x8d)]=this[_0x9eff8f(0x272)][_0x9eff8f(0x197)](({reqId:_0x5ef3f3,timeout:_0x41a560})=>{var _0x292a4b=_0x9eff8f;this[_0x292a4b(0x2a7)](_0x5ef3f3,_0x41a560);}),this);}[_0x3085eb(0x1ca)](){var _0x598d18=_0x3085eb;return this['_clearScheduledTask'](),this['_injector'][_0x598d18(0x193)](ue,this[_0x598d18(0x194)],this['type'],this[_0x598d18(0x188)],[],this['_handler']);}['toggleOnline'](){return this;}[_0x3085eb(0x118)](){var _0x410304=_0x3085eb;this['_handler'][_0x410304(0x13d)](this[_0x410304(0x188)]);}['_onConflict'](_0x4f5762){var _0x1be833=_0x3085eb;return this[_0x1be833(0x37c)](),this[_0x1be833(0x191)]['createInstance'](le,this[_0x1be833(0x194)],this[_0x1be833(0x256)],this[_0x1be833(0x188)],[],this[_0x1be833(0x2c4)],_0x4f5762);}[_0x3085eb(0x2a7)](_0x130d05,_0x5ef48e){var _0x1f008d=_0x3085eb,_0x2a0218;_0x130d05===((_0x2a0218=this[_0x1f008d(0x188)])==null?void 0x0:_0x2a0218[_0x1f008d(0x241)])&&(this['resend'](),this[_0x1f008d(0x24a)]=_0x5ef48e===0x0?0x3e8:_0x5ef48e*0x2);}[_0x3085eb(0x37c)](){var _0x1c812b=_0x3085eb,_0x480e42;(_0x480e42=this[_0x1c812b(0x8d)])==null||_0x480e42['unsubscribe'](),this[_0x1c812b(0x24a)]=0x0;}};_e=Ie([P(0x4,_0x53dfbc(_0x49cf2d)),P(0x5,_0x53dfbc(_0x52c054)),P(0x6,_0x51862d),P(0x7,_0x482beb),P(0x8,_0x20599e),P(0x9,_0x52e66a),P(0xa,_0x1c5f22(J))],_e);let ae=class extends Te{constructor(_0x1997b8,_0x47ced9,_0x524fb9,_0x5c64c1,_0x1caa7c,_0x45880a,_0x4bfe94,_0x23d73e,_0x27fa5f,_0x4847b8,_0x29e7ac,_0x345d1b,_0x5379e5){var _0x2b7276=_0x3085eb;super(_0x1997b8,_0x47ced9,_0x524fb9,_0x5c64c1,_0x1caa7c,_0x27fa5f,_0x345d1b,_0x23d73e,_0x5379e5),N(this,'status',_0x2b7276(0x22d)),N(this,'_resendTimeout',0x0),N(this,'_resendTimer'),N(this,_0x2b7276(0x8d)),(this['_injector']=_0x4bfe94,this[_0x2b7276(0x266)]=_0x4847b8,this[_0x2b7276(0x2a9)]=_0x29e7ac,this['localCacheService']=_0x5379e5,_0x45880a&&(this[_0x2b7276(0x272)]=_0x45880a,this['_sender']=this[_0x2b7276(0x272)][_0x2b7276(0x197)](({reqId:_0x53613c,timeout:_0x37dd29})=>{var _0xf6927a=_0x2b7276;this[_0xf6927a(0x2a7)](_0x53613c,_0x37dd29);})));}[_0x3085eb(0x169)](_0x1b1f96){var _0xd9afea=_0x3085eb;return this[_0xd9afea(0x1a2)][_0xd9afea(0x1c3)](_0x1b1f96),this;}['onRemoteChangeset'](_0x2e1334){var _0x541811=_0x3085eb;if(this[_0x541811(0x21e)](_0x2e1334))return this['_clearScheduledTask'](),this[_0x541811(0x191)]['createInstance'](Q,this['unitID'],this['type'],this[_0x541811(0x188)],this[_0x541811(0x1a2)],null,[_0x2e1334],this[_0x541811(0x2c4)]);try{const _0x23ed68=this[_0x541811(0x2a9)][_0x541811(0x179)]([_0x2e1334],[this[_0x541811(0x188)]],!0x1);if(_0xca2bb8(_0x23ed68)){const {c1Prime:_0x3784ad,c2Prime:_0xb2de60}=_0x23ed68,_0x5167d1=this[_0x541811(0x2a9)][_0x541811(0x1fe)](_0x3784ad[0x0],this[_0x541811(0x1a2)]);if(_0x4a7fa7(_0x5167d1)){const {c1Prime:_0x58cd19,m2Prime:_0x1d2f86}=_0x5167d1;return this[_0x541811(0x2fd)](_0x58cd19),_0xb2de60[0x0][_0x541811(0x209)]=this['_getCurrentRevision'](),this[_0x541811(0x37c)](),this[_0x541811(0x191)]['createInstance'](ae,this[_0x541811(0x194)],this['type'],_0xb2de60[0x0],_0x1d2f86,this[_0x541811(0x2c4)],void 0x0);}throw _0x5167d1[_0x541811(0x269)];}throw _0x23ed68[_0x541811(0x269)];}catch(_0x42e3ef){return this[_0x541811(0x266)][_0x541811(0x269)](_0x42e3ef),this[_0x541811(0x22a)](!0x1);}}[_0x3085eb(0x259)](_0x4a130e){var _0x11b69c=_0x3085eb;if(this[_0x11b69c(0x37c)](),this[_0x11b69c(0x21e)](_0x4a130e))return this[_0x11b69c(0x191)][_0x11b69c(0x193)](Q,this['unitID'],this[_0x11b69c(0x256)],null,this['_pendingMutations'],this['_awaitingChangeset'],[],this['_handler']);this[_0x11b69c(0x249)]();const _0x3a5e3d=this[_0x11b69c(0x191)][_0x11b69c(0x193)](re,this[_0x11b69c(0x194)],this[_0x11b69c(0x256)],this[_0x11b69c(0x1a2)],this[_0x11b69c(0x2c4)]);return _0x3a5e3d[_0x11b69c(0x1b6)](),_0x3a5e3d[_0x11b69c(0x11a)](),_0x3a5e3d;}['onRemoteRej'](_0x83247){var _0x3dcac6=_0x3085eb;return this[_0x3dcac6(0x22a)](!!(_0x83247!=null&&_0x83247[_0x3dcac6(0x312)]));}[_0x3085eb(0x2d7)](_0x2e11d2){var _0x5460f7=_0x3085eb;return this[_0x5460f7(0x24a)]>Ci?this[_0x5460f7(0x1ca)]():(this[_0x5460f7(0x272)]=Ii(this[_0x5460f7(0x24a)],{'timeout':this[_0x5460f7(0x24a)],'reqId':_0x2e11d2[_0x5460f7(0x241)]}),this[_0x5460f7(0x8d)]=this[_0x5460f7(0x272)][_0x5460f7(0x197)](({reqId:_0x2f51da,timeout:_0x1979ee})=>{this['_resendWithTimeout'](_0x2f51da,_0x1979ee);}),this);}['toggleOffline'](){var _0x1e74b8=_0x3085eb;return this[_0x1e74b8(0x37c)](),this[_0x1e74b8(0x191)][_0x1e74b8(0x193)](ue,this[_0x1e74b8(0x194)],this[_0x1e74b8(0x256)],this[_0x1e74b8(0x188)],this[_0x1e74b8(0x1a2)],this['_handler']);}[_0x3085eb(0x21b)](){return this;}['resend'](){var _0x2f450e=_0x3085eb;this[_0x2f450e(0x2c4)][_0x2f450e(0x13d)](this['_awaitingChangeset']);}[_0x3085eb(0x22a)](_0x5cca38){var _0x3876b1=_0x3085eb;return this['_clearScheduledTask'](),this[_0x3876b1(0x191)][_0x3876b1(0x193)](le,this[_0x3876b1(0x194)],this[_0x3876b1(0x256)],null,this[_0x3876b1(0x1a2)],this['_handler'],_0x5cca38);}[_0x3085eb(0x2a7)](_0x32c273,_0x506b0e){var _0x386a43=_0x3085eb,_0x4ecc4d;_0x32c273===((_0x4ecc4d=this[_0x386a43(0x188)])==null?void 0x0:_0x4ecc4d['reqId'])&&(this[_0x386a43(0x118)](),this[_0x386a43(0x24a)]=_0x506b0e===0x0?0x3e8:_0x506b0e*0x2);}['_clearScheduledTask'](){var _0x1242e7=_0x3085eb,_0x447a1b;(_0x447a1b=this[_0x1242e7(0x8d)])==null||_0x447a1b[_0x1242e7(0x12e)](),this[_0x1242e7(0x24a)]=0x0;}};ae=Ie([P(0x6,_0x53dfbc(_0x49cf2d)),P(0x7,_0x53dfbc(_0x52c054)),P(0x8,_0x51862d),P(0x9,_0x482beb),P(0xa,_0x20599e),P(0xb,_0x52e66a),P(0xc,_0x1c5f22(J))],ae);let le=class extends Te{constructor(_0x30c825,_0x22a2c4,_0x3e6f8c,_0x5090c2,_0x237373,_0x5d1f53=!0x1,_0xacf23,_0x2bcdeb,_0x2be842,_0x5d6a86,_0x3db221,_0xa1af62,_0x44aea1){var _0x3180e0=_0x3085eb;super(_0x30c825,_0x22a2c4,_0x3e6f8c,_0x5090c2,_0x237373,_0x2bcdeb,_0x2be842,_0x5d6a86,_0x44aea1),N(this,_0x3180e0(0xb5),_0x3180e0(0xc1)),(this[_0x3180e0(0x24b)]=_0x5d1f53,this[_0x3180e0(0xcd)]=_0xacf23,this[_0x3180e0(0x1be)]=_0x3db221,this[_0x3180e0(0x29a)]=_0xa1af62,this[_0x3180e0(0x14d)]=_0x44aea1,this[_0x3180e0(0x21c)](),this[_0x3180e0(0x18b)](),this[_0x3180e0(0x146)]());}[_0x3085eb(0x169)](){return this;}[_0x3085eb(0x313)](){return this;}[_0x3085eb(0x259)](){return this;}[_0x3085eb(0x2a1)](){return this;}[_0x3085eb(0x2d7)](){return this;}[_0x3085eb(0x1ca)](){return this;}[_0x3085eb(0x21b)](){return this;}[_0x3085eb(0x118)](){var _0x16ae1e=_0x3085eb;throw new Error(_0x16ae1e(0x124));}[_0x3085eb(0x18b)](){var _0x2de57e=_0x3085eb,_0x14ff3b;(_0x14ff3b=this[_0x2de57e(0x231)])==null||_0x14ff3b['updateOfflineData'](this[_0x2de57e(0x194)],this[_0x2de57e(0x256)],null,[]);}[_0x3085eb(0x21c)](){var _0x1181e4=_0x3085eb;this[_0x1181e4(0x24b)]?this[_0x1181e4(0x29a)][_0x1181e4(0x23b)]({'id':ne[_0x1181e4(0x1b5)]}):this['_collaborationUIEventService'][_0x1181e4(0x23b)]({'id':ne[_0x1181e4(0x274)]});}[_0x3085eb(0x146)](){var _0x5bf3da=_0x3085eb;this[_0x5bf3da(0xcd)][_0x5bf3da(0x8b)](new _0x4e8e57(this['unitID'])['id'],!0x1);}};le=Ie([P(0x6,_0x53dfbc(_0x5252a6)),P(0x7,_0x51862d),P(0x8,_0x52e66a),P(0x9,_0x53dfbc(_0x52c054)),P(0xa,_0x53dfbc(_0x4f8456)),P(0xb,_0x53dfbc(ve)),P(0xc,_0x1c5f22(J))],le);let ue=class extends Te{constructor(_0x5d78dc,_0x15bf9f,_0x30d62f,_0x4a1428,_0xb7b512,_0x3aef98,_0x45fcc2,_0x31c3b0,_0x8dd4dd,_0x1621a4){var _0x496606=_0x3085eb;super(_0x5d78dc,_0x15bf9f,_0x30d62f,_0x4a1428,_0xb7b512,_0x31c3b0,_0x8dd4dd,_0x45fcc2,_0x1621a4),N(this,'status',_0x496606(0x2eb)),this[_0x496606(0x191)]=_0x3aef98;}[_0x3085eb(0x169)](_0x2d2c03){var _0x2b4346=_0x3085eb;return this['_pendingMutations'][_0x2b4346(0x1c3)](_0x2d2c03),this[_0x2b4346(0x11a)](),this;}[_0x3085eb(0x313)](_0x341dd0){var _0x2ea4b1=_0x3085eb;throw new Error(_0x2ea4b1(0xec));}[_0x3085eb(0x259)](){var _0x4780d1=_0x3085eb;throw new Error(_0x4780d1(0x161));}[_0x3085eb(0x2a1)](){var _0x305fb2=_0x3085eb;throw new Error(_0x305fb2(0x2f4));}[_0x3085eb(0x2d7)](){return this;}[_0x3085eb(0x1ca)](){return this;}['toggleOnline'](){var _0x4e148f=_0x3085eb;const {_injector:_0x3724c8,_pendingMutations:_0x271316,_awaitingChangeset:_0xbb98f3,unitID:_0x4bbcab,_handler:_0x1ecefc,type:_0x16dc62}=this,_0x1a56b3=Ri(_0x3724c8,_0x4bbcab,_0x16dc62,_0xbb98f3,_0x271316,_0x1ecefc);return _0x1a56b3 instanceof re?_0x1a56b3[_0x4e148f(0x1b6)]():(_0x1a56b3 instanceof ae||_0x1a56b3 instanceof _e)&&_0x1a56b3['resend'](),_0x1a56b3;}[_0x3085eb(0x118)](){var _0x454ef8=_0x3085eb;throw new Error(_0x454ef8(0x20c));}};ue=Ie([P(0x5,_0x53dfbc(_0x49cf2d)),P(0x6,_0x53dfbc(_0x52c054)),P(0x7,_0x51862d),P(0x8,_0x52e66a),P(0x9,_0x1c5f22(J))],ue);let Q=class extends Te{constructor(_0x11594a,_0x8ad098,_0x5aaf34,_0x151197,_0x5dbd8a,_0x1f2954,_0x1ac09c,_0x4137a1,_0x403d8c,_0xee857e,_0x551f94,_0xcf965e,_0x384b20,_0x31f41a){var _0x5bb74c=_0x3085eb;super(_0x11594a,_0x8ad098,_0x5aaf34,_0x151197,_0x1ac09c,_0x551f94,_0xcf965e,_0x403d8c,_0x31f41a),N(this,'status',_0x5bb74c(0x2db)),(this[_0x5bb74c(0x27e)]=_0x5dbd8a,this[_0x5bb74c(0x13b)]=_0x1f2954,this['_injector']=_0x4137a1,this[_0x5bb74c(0x266)]=_0xee857e,this[_0x5bb74c(0x2a9)]=_0x384b20,this['localCacheService']=_0x31f41a);}['onMissedChangesetFetched'](_0x3813d2){var _0x313206=_0x3085eb;try{const _0x5b54d8=[..._0x3813d2,...this[_0x313206(0x13b)]],_0x18c49b=[this[_0x313206(0x188)]||this[_0x313206(0x27e)]]['filter'](_0x5b895c=>!!_0x5b895c);let _0x423594,_0x109a35;if(_0x18c49b[_0x313206(0x32b)]){const _0x3d862e=this[_0x313206(0x2a9)][_0x313206(0x179)](_0x5b54d8,_0x18c49b,!0x1);if(!_0xca2bb8(_0x3d862e))throw _0x3d862e[_0x313206(0x269)];_0x423594=_0x3d862e[_0x313206(0xe3)],_0x109a35=_0x3d862e[_0x313206(0x137)];}else _0x423594=_0x5b54d8,_0x109a35=[];let _0x2977dd=this[_0x313206(0x1a2)];_0x423594[_0x313206(0x86)](_0x18f830=>{var _0x444e13=_0x313206;let _0x33c570;if(_0x2977dd[_0x444e13(0x32b)]){const _0x4b57ba=this[_0x444e13(0x2a9)][_0x444e13(0x1fe)](_0x18f830,_0x2977dd);if(!_0x4a7fa7(_0x4b57ba))throw _0x4b57ba[_0x444e13(0x269)];_0x33c570=_0x4b57ba[_0x444e13(0xe3)],_0x2977dd=_0x4b57ba[_0x444e13(0x190)];}else _0x33c570=_0x18f830;this[_0x444e13(0x2fd)](_0x33c570);}),this[_0x313206(0x27e)]&&this[_0x313206(0x249)](),this[_0x313206(0x188)]&&_0x109a35['length']&&(_0x109a35[0x0][_0x313206(0x209)]=this[_0x313206(0x334)]());let _0x562009;if(this[_0x313206(0x188)]&&_0x2977dd[_0x313206(0x32b)]!==0x0)_0x562009=this['_injector']['createInstance'](ae,this[_0x313206(0x194)],this[_0x313206(0x256)],_0x109a35[0x0],_0x2977dd,this[_0x313206(0x2c4)],void 0x0);else{if(this['_awaitingChangeset']&&_0x2977dd[_0x313206(0x32b)]===0x0)_0x109a35[0x0][_0x313206(0x209)]=this[_0x313206(0x334)](),_0x562009=this[_0x313206(0x191)]['createInstance'](_e,this[_0x313206(0x194)],this[_0x313206(0x256)],_0x109a35[0x0],this['_handler']);else{if(_0x2977dd[_0x313206(0x32b)]!==0x0){const _0x5247ef=this[_0x313206(0x191)][_0x313206(0x193)](re,this[_0x313206(0x194)],this[_0x313206(0x256)],_0x2977dd,this[_0x313206(0x2c4)]);_0x5247ef[_0x313206(0x1b6)](),_0x562009=_0x5247ef;}else _0x562009=this[_0x313206(0x191)][_0x313206(0x193)](ye,this[_0x313206(0x194)],this[_0x313206(0x256)],this['_handler']);}}return _0x562009[_0x313206(0x11a)](),_0x562009;}catch(_0x59d02c){return this['_logService'][_0x313206(0x269)](_0x313206(0x1c8),_0x313206(0x219),_0x59d02c),this['_injector'][_0x313206(0x193)](le,this[_0x313206(0x194)],this[_0x313206(0x256)],this[_0x313206(0x188)],this[_0x313206(0x1a2)],this['_handler'],!0x1);}}[_0x3085eb(0x118)](){throw new Error('[FetchingMissState]:\x20invalid\x20calling\x20to\x20`resend`.');}[_0x3085eb(0x169)](_0x53d350){var _0x31a266=_0x3085eb;return this[_0x31a266(0x1a2)][_0x31a266(0x1c3)](_0x53d350),this;}['onRemoteChangeset'](_0x40501f){var _0x3edd68=_0x3085eb;return this[_0x3edd68(0x13b)][_0x3edd68(0x1c3)](_0x40501f),this;}[_0x3085eb(0x259)](_0x58ca98){var _0x12179f=_0x3085eb;if(this[_0x12179f(0x188)])return this[_0x12179f(0x27e)]=this[_0x12179f(0x188)],this[_0x12179f(0x188)]=null,this;throw new Error(_0x12179f(0x2fa));}['onRemoteRej'](_0x9a300f){var _0x29c9f7=_0x3085eb;return this[_0x29c9f7(0x22a)](!!(_0x9a300f!=null&&_0x9a300f['isPermissionRej']));}[_0x3085eb(0x2d7)](){return this;}[_0x3085eb(0x1ca)](){var _0x4b43a6=_0x3085eb;return this['_injector'][_0x4b43a6(0x193)](ue,this['unitID'],this[_0x4b43a6(0x256)],this[_0x4b43a6(0x188)],this[_0x4b43a6(0x1a2)],this['_handler']);}[_0x3085eb(0x21b)](){return this;}[_0x3085eb(0x22a)](_0x1216d5){var _0x5d2063=_0x3085eb;return this[_0x5d2063(0x191)]['createInstance'](le,this[_0x5d2063(0x194)],this[_0x5d2063(0x256)],this['_awaitingChangeset'],this[_0x5d2063(0x1a2)],this['_handler'],_0x1216d5);}};Q=Ie([P(0x7,_0x53dfbc(_0x49cf2d)),P(0x8,_0x53dfbc(_0x52c054)),P(0x9,_0x482beb),P(0xa,_0x51862d),P(0xb,_0x52e66a),P(0xc,_0x20599e),P(0xd,_0x1c5f22(J))],Q);function Ri(_0x56f293,_0x18fb06,_0x3db5d7,_0x3bb953,_0xcc19a,_0x18cbb9){var _0x3e0359=_0x3085eb;return _0x3bb953&&_0xcc19a['length']?_0x56f293[_0x3e0359(0x193)](ae,_0x18fb06,_0x3db5d7,_0x3bb953,_0xcc19a,_0x18cbb9,void 0x0):_0x3bb953?_0x56f293['createInstance'](_e,_0x18fb06,_0x3db5d7,_0x3bb953,_0x18cbb9):_0xcc19a[_0x3e0359(0x32b)]?_0x56f293[_0x3e0359(0x193)](re,_0x18fb06,_0x3db5d7,_0xcc19a,_0x18cbb9):_0x56f293[_0x3e0359(0x193)](ye,_0x18fb06,_0x3db5d7,_0x18cbb9);}var Zs=Object['getOwnPropertyDescriptor'],wt=(_0x3b4f74,_0x2bda94,_0x53a082,_0x4cd459)=>{for(var _0x4d1372=_0x4cd459>0x1?void 0x0:_0x4cd459?Zs(_0x2bda94,_0x53a082):_0x2bda94,_0x3b011a=_0x3b4f74['length']-0x1,_0x4a2984;_0x3b011a>=0x0;_0x3b011a--)(_0x4a2984=_0x3b4f74[_0x3b011a])&&(_0x4d1372=_0x4a2984(_0x4d1372)||_0x4d1372);return _0x4d1372;},H=(_0x31cef9,_0x102887)=>(_0x4ebfb,_0x467a1c)=>_0x102887(_0x4ebfb,_0x467a1c,_0x31cef9);let st=class extends _0x38ff91{constructor(_0x11809d,_0x4be0da,_0xfe2547,_0x3c84f6,_0x55d31f,_0xcd9807,_0x51d944,_0x5d720c,_0x2f434a,_0x11dec4,_0x1c9a5d,_0x3de8a5,_0x53dd8c){var _0x262885=_0x3085eb;super(),N(this,_0x262885(0x224),new _0x5bc647(null)),N(this,_0x262885(0x2b5),this[_0x262885(0x224)]['asObservable']()),N(this,_0x262885(0x31d)),N(this,_0x262885(0x1ac),!0x1),N(this,_0x262885(0x19a),''),N(this,_0x262885(0x282),0x0),N(this,'status$',this[_0x262885(0x2b5)][_0x262885(0x352)](_0x2421c0(_0x45078e=>_0x45078e?_0x45078e[_0x262885(0xb5)]:Ti[_0x262885(0x15e)]),_0x25c334(0x1))),N(this,_0x262885(0x1fc),!0x1),N(this,'_remoteChangesetQueue',[]),(this[_0x262885(0x194)]=_0x11809d,this[_0x262885(0x230)]=_0x4be0da,this[_0x262885(0x22c)]=_0xfe2547,this[_0x262885(0x191)]=_0x3c84f6,this['_compressMutationService']=_0x55d31f,this[_0x262885(0x1be)]=_0xcd9807,this['_revisionService']=_0x51d944,this[_0x262885(0x2d5)]=_0x5d720c,this[_0x262885(0x266)]=_0x2f434a,this[_0x262885(0x293)]=_0x11dec4,this['_permissionService']=_0x1c9a5d,this['_singleActiveUnitService']=_0x3de8a5,this[_0x262885(0x231)]=_0x53dd8c);}get[_0x3085eb(0x1e1)](){return this['_state'];}async[_0x3085eb(0x221)](){var _0x1506be=_0x3085eb;if(this[_0x1506be(0x1e1)])throw new Error(_0x1506be(0x28a));await this[_0x1506be(0x96)]();}[_0x3085eb(0x19f)](){var _0x27b804=_0x3085eb;return this[_0x27b804(0x1ac)]=!0x0,_0x28f1b6(()=>{var _0x25a0f9=_0x27b804;this['_collaborationPaused']=!0x1,this[_0x25a0f9(0x116)]();});}[_0x3085eb(0x2ac)](_0x6c10a6){var _0x50fc5f=_0x3085eb;this[_0x50fc5f(0x23a)](_0x6c10a6);}['_updateState'](_0x494770){var _0x3fb22b=_0x3085eb;this[_0x3fb22b(0x31d)]=_0x494770,this['_state$']['next'](_0x494770);}async[_0x3085eb(0x96)](){var _0x52ea62=_0x3085eb,_0x475ac9;this[_0x52ea62(0x119)](await this['_createInitialState']()),this[_0x52ea62(0x2d6)]&&((_0x475ac9=this[_0x52ea62(0x2d6)])==null||_0x475ac9[_0x52ea62(0x1b9)](this['unitID']),this[_0x52ea62(0x362)](this[_0x52ea62(0x2d6)][_0x52ea62(0x12d)](this['unitID'])['subscribe'](_0x318e31=>{var _0x1d8003=_0x52ea62;this[_0x1d8003(0x266)][_0x1d8003(0x11b)](_0x1d8003(0x187),_0x1d8003(0x28c),_0x318e31),_0x318e31===Ei[_0x1d8003(0xdc)]?(this[_0x1d8003(0x2d5)]['emitEvent']({'id':ne['OTHER_CLIENT_EDITING']}),this[_0x1d8003(0xcd)][_0x1d8003(0x8b)](new _0x4e8e57(this[_0x1d8003(0x194)])['id'],!0x1),this[_0x1d8003(0xcd)]['setShowComponents'](!0x1)):(this[_0x1d8003(0xcd)][_0x1d8003(0x8b)](new _0x4e8e57(this[_0x1d8003(0x194)])['id'],!0x0),this[_0x1d8003(0xcd)][_0x1d8003(0xce)](!0x0));})));let _0x5a4e7c=!0x1;return this[_0x52ea62(0x362)](this[_0x52ea62(0x230)][_0x52ea62(0x159)][_0x52ea62(0x197)](_0x370a50=>{var _0x13e48d=_0x52ea62;_0x370a50===Se[_0x13e48d(0x181)]?this[_0x13e48d(0x2a6)](_0x5a4e7c):_0x370a50===Se['OFFLINE']&&(_0x5a4e7c=!0x0,this['_toggleOffline']());})),this[_0x52ea62(0x362)](this['session'][_0x52ea62(0xad)]['subscribe'](_0x19b56d=>{var _0xa1e28f=_0x52ea62;try{switch(_0x19b56d['eventID']){case _0x527595[_0xa1e28f(0x172)]:{this['_onRemoteChangeset'](_0x1b7419(_0x19b56d[_0xa1e28f(0xf7)]));break;}case _0x527595['CHANGESET_ACK']:{this[_0xa1e28f(0x1de)](_0x19b56d[_0xa1e28f(0xf7)]);break;}case _0x527595[_0xa1e28f(0x258)]:{this['_onRemoteRejected']();break;}case _0x527595[_0xa1e28f(0xee)]:{this[_0xa1e28f(0x2f1)](_0x19b56d['data']);break;}case _0x527595[_0xa1e28f(0x305)]:{this['_onFetchMissResult'](_0x19b56d[_0xa1e28f(0xf7)][_0xa1e28f(0x2e1)][_0xa1e28f(0x23f)](_0x288081=>_0x1b7419(_0x288081)));break;}case _0x527595['PERMISSION_REJ']:{this[_0xa1e28f(0x112)]({'isPermissionRej':!0x0});break;}case _0x527595[_0xa1e28f(0x160)]:break;}}catch(_0x5bc0f6){throw console['error'](_0xa1e28f(0x206),_0x5bc0f6),_0x5bc0f6;}})),this['_state'];}[_0x3085eb(0x2c9)](){var _0x1cadc4=_0x3085eb;this[_0x1cadc4(0x1fc)]=!0x1;}[_0x3085eb(0xda)](){var _0x279c33=_0x3085eb;if(this[_0x279c33(0x1fc)])throw new Error('[CollaborationEntity]:\x20cannot\x20lock\x20transition\x20twice!\x20This\x20is\x20an\x20implementation\x20error,\x20meaning\x20you\x20transit\x20the\x20collaboration\x20state\x20again\x20in\x20the\x20process\x20of\x20a\x20previous\x20transition.\x20This\x20should\x20never\x20happen.');this[_0x279c33(0x1fc)]=!0x0;}['_onLocalMutation'](_0xe80b82){var _0x5aa375=_0x3085eb;this[_0x5aa375(0xda)](),this[_0x5aa375(0x119)](this[_0x5aa375(0x31d)][_0x5aa375(0x169)](_0xe80b82)),this[_0x5aa375(0x2c9)]();}[_0x3085eb(0x1a7)](_0x90c741){var _0x316f7d=_0x3085eb;if(!(_0x90c741[_0x316f7d(0x9d)]<=this['_revisionService']['getCurrentRevOfUnit'](this[_0x316f7d(0x194)]))){if(this[_0x316f7d(0x1ac)]){this[_0x316f7d(0x228)][_0x316f7d(0x1c3)](_0x90c741);return;}this[_0x316f7d(0xa3)](_0x90c741);}}[_0x3085eb(0x116)](){var _0x4034cb=_0x3085eb;this[_0x4034cb(0x228)][_0x4034cb(0x86)](_0x3f1a58=>this['_applyRemoteChangeset'](_0x3f1a58)),this[_0x4034cb(0x228)]=[];}[_0x3085eb(0xa3)](_0xbdd46e){var _0x49e268=_0x3085eb;const _0xe37c11=this['_compressMutationService'][_0x49e268(0x20d)][_0x49e268(0x217)](this[_0x49e268(0x302)][_0x49e268(0x20d)][_0x49e268(0x315)]()['COMPRESS_MUTATION_APPLY'])(_0xbdd46e[_0x49e268(0x29f)],null)||_0xbdd46e[_0x49e268(0x29f)],_0x5e761b={..._0xbdd46e,'mutations':_0xe37c11};this[_0x49e268(0xda)](),this[_0x49e268(0x119)](this[_0x49e268(0x31d)]['onRemoteChangeset'](_0x5e761b)),this['_unlockTransition']();}[_0x3085eb(0x1de)](_0x13e653){var _0x582bf1=_0x3085eb;this[_0x582bf1(0xda)](),this['_updateState'](this[_0x582bf1(0x31d)][_0x582bf1(0x259)](_0x13e653)),this['_unlockTransition']();}[_0x3085eb(0x112)](_0x4d0068){var _0x514b66=_0x3085eb;this[_0x514b66(0xda)](),this[_0x514b66(0x119)](this[_0x514b66(0x31d)]['onRemoteRej'](_0x4d0068)),this['_unlockTransition']();}[_0x3085eb(0x2f1)](_0x1e3484){var _0x33e3a6=_0x3085eb;this[_0x33e3a6(0xda)](),this[_0x33e3a6(0x119)](this[_0x33e3a6(0x31d)][_0x33e3a6(0x2d7)](_0x1e3484)),this['_unlockTransition']();}[_0x3085eb(0x2da)](_0x5484e7){var _0x45728f=_0x3085eb;if(!(this[_0x45728f(0x31d)]instanceof Q))throw new TypeError(_0x45728f(0x32d));const _0x3295f6=_0x5484e7[_0x45728f(0x23f)](_0x44092c=>{var _0x39ebc2=_0x45728f;const _0x8e5f09=this[_0x39ebc2(0x302)]['interceptor'][_0x39ebc2(0x217)](this[_0x39ebc2(0x302)]['interceptor'][_0x39ebc2(0x315)]()[_0x39ebc2(0x283)])(_0x44092c[_0x39ebc2(0x29f)],null)||_0x44092c[_0x39ebc2(0x29f)];return{..._0x44092c,'mutations':_0x8e5f09};});this[_0x45728f(0xda)](),this[_0x45728f(0x119)](this[_0x45728f(0x31d)][_0x45728f(0x8a)](_0x3295f6)),this[_0x45728f(0x2c9)]();}[_0x3085eb(0xe9)](){var _0x438737=_0x3085eb;this[_0x438737(0xda)](),this[_0x438737(0x119)](this[_0x438737(0x31d)][_0x438737(0x1ca)]()),this['_unlockTransition']();}[_0x3085eb(0x2a6)](_0x558a2a=!0x1){var _0x1393c1=_0x3085eb;this[_0x1393c1(0xda)](),this[_0x1393c1(0x119)](this[_0x1393c1(0x31d)]['toggleOnline']()),this['_unlockTransition']();const _0x7e27b0=this['_state'];_0x558a2a&&_0x7e27b0 instanceof ye&&(this['_lockTransition'](),this[_0x1393c1(0x119)](_0x7e27b0[_0x1393c1(0x1eb)]()),this['_unlockTransition']());}async['_createInitialState'](){return new Promise(_0x28fcad=>{var _0xa7f77a=_0x4c1a;this[_0xa7f77a(0x230)][_0xa7f77a(0x159)][_0xa7f77a(0x352)](_0x447cb7(0x1))[_0xa7f77a(0x197)](async _0x376e54=>{var _0x58ad1d=_0xa7f77a;_0x28fcad(await this[_0x58ad1d(0xf5)](_0x376e54===Se[_0x58ad1d(0x181)]));});});}[_0x3085eb(0x280)](){var _0x2cb70e=_0x3085eb;const _0xa81cbb=this[_0x2cb70e(0x194)];return{'onStateChange':(_0x9cf107,_0x165e0a)=>{var _0x404ca2=_0x2cb70e;if(_0x9cf107!==this[_0x404ca2(0x31d)])throw new Error(_0x404ca2(0x33d)+_0x9cf107[_0x404ca2(0xb5)]+'\x0aAfter:\x20'+_0x165e0a[_0x404ca2(0xb5)]+_0x404ca2(0x2ab)+this['_state'][_0x404ca2(0xb5)]);this[_0x404ca2(0x119)](_0x165e0a);},'onSendChangeset':_0x25dc50=>{var _0x2c3bc8=_0x2cb70e;_0x25dc50[_0x2c3bc8(0x1ec)]||(_0x25dc50[_0x2c3bc8(0x1ec)]=this['_changesetSessionId'],_0x25dc50[_0x2c3bc8(0x241)]=++this[_0x2c3bc8(0x282)]);const _0x52a356={'eventID':_0x527595[_0x2c3bc8(0x12a)],'data':{'unitID':_0x25dc50['unitID'],'unitType':this[_0x2c3bc8(0x22c)],'changeset':_0x25dc50,'memberID':this[_0x2c3bc8(0x230)][_0x2c3bc8(0x8c)]()}};this[_0x2c3bc8(0x230)][_0x2c3bc8(0x37d)](_0x52a356,this['unitID']);},'onMissingChangesets':({from:_0x19d455,to:_0x3e3408})=>{var _0x83c0e9=_0x2cb70e;this['_logService'][_0x83c0e9(0x11b)]('[CollaborationEntity]','fetching\x20missing\x20changesets\x20from\x20'+_0x19d455+_0x83c0e9(0x251)+_0x3e3408);const _0x179390={'eventID':_0x527595['FETCH_MISSING'],'data':{'unitID':_0xa81cbb,'unitType':this[_0x83c0e9(0x22c)],'from':_0x19d455,'to':_0x3e3408}};this['session'][_0x83c0e9(0x37d)](_0x179390,this[_0x83c0e9(0x194)]);}};}async[_0x3085eb(0xf5)](_0x2cf39f){var _0x326a1e=_0x3085eb,_0x30a89f,_0x2f5c9f,_0x37b78e;const _0x4b8140=await((_0x30a89f=this[_0x326a1e(0x231)])==null?void 0x0:_0x30a89f[_0x326a1e(0x275)](this[_0x326a1e(0x194)])),_0x2b2663=(_0x2f5c9f=_0x4b8140==null?void 0x0:_0x4b8140[_0x326a1e(0x29f)])!=null?_0x2f5c9f:[],_0x36c878=(_0x37b78e=_0x4b8140==null?void 0x0:_0x4b8140[_0x326a1e(0x2f2)])!=null?_0x37b78e:null,_0x301ae9=!!(_0x36c878!=null&&_0x36c878[_0x326a1e(0x1ec)])&&!!(_0x36c878!=null&&_0x36c878[_0x326a1e(0x241)]);this[_0x326a1e(0x19a)]=_0x301ae9?_0x36c878[_0x326a1e(0x1ec)]:_0x14df8e(),this[_0x326a1e(0x282)]=_0x301ae9?_0x36c878['reqId']:0x0;const _0x3c91d1=this[_0x326a1e(0x194)];try{this[_0x326a1e(0x1df)](_0x36c878,_0x2b2663);}catch(_0x4e8c4a){this[_0x326a1e(0x266)][_0x326a1e(0x269)](_0x4e8c4a);}const _0x8e4142=this['_createHandler']();if(_0x2cf39f){const _0x9f32cb=Ri(this[_0x326a1e(0x191)],_0x3c91d1,this['_type'],_0x36c878,_0x2b2663,_0x8e4142);return _0x9f32cb instanceof re?_0x9f32cb[_0x326a1e(0x1b6)]():(_0x9f32cb instanceof ae||_0x9f32cb instanceof _e)&&_0x9f32cb[_0x326a1e(0x118)](),_0x9f32cb;}return this[_0x326a1e(0x191)]['createInstance'](ue,_0x3c91d1,this['_type'],_0x36c878,_0x2b2663,_0x8e4142);}[_0x3085eb(0x1df)](_0x7c70fe,_0x24597d){var _0x2f2e8c=_0x3085eb,_0x212b5b,_0x25cebf;const _0x1be949=this[_0x2f2e8c(0x302)][_0x2f2e8c(0x20d)][_0x2f2e8c(0x217)](this[_0x2f2e8c(0x302)]['interceptor'][_0x2f2e8c(0x315)]()['COMPRESS_MUTATION_APPLY']);(_0x212b5b=_0x1be949((_0x7c70fe==null?void 0x0:_0x7c70fe[_0x2f2e8c(0x29f)])||[],null))==null||_0x212b5b['forEach'](_0x582f84=>this[_0x2f2e8c(0x293)][_0x2f2e8c(0x372)](_0x582f84['id'],_0x582f84[_0x2f2e8c(0x329)])),(_0x25cebf=_0x1be949(_0x24597d||[],null))==null||_0x25cebf[_0x2f2e8c(0x86)](_0xc9c738=>this['_commandService']['executeCommand'](_0xc9c738['id'],_0xc9c738[_0x2f2e8c(0x329)]));}};st=wt([H(0x3,_0x53dfbc(_0x49cf2d)),H(0x4,_0x53dfbc(_0x27ae3f)),H(0x5,_0x53dfbc(_0x4f8456)),H(0x6,_0x53dfbc(_0x52c054)),H(0x7,_0x53dfbc(ve)),H(0x8,_0x482beb),H(0x9,_0x51862d),H(0xa,_0x5252a6),H(0xb,_0x1c5f22(ht)),H(0xc,_0x1c5f22(J))],st);let St=class extends st{constructor(_0x34df05,_0x946ec1,_0x248959,_0x24278a,_0x4057a5,_0x26e415,_0x2203fb,_0x10f04e,_0x3ed596,_0x2643d0,_0x1dbeb1,_0x448164,_0x300b53){var _0x4053d3=_0x3085eb;super(_0x34df05,_0x248959,_0x946ec1,_0x24278a,_0x4057a5,_0x26e415,_0x2203fb,_0x10f04e,_0x3ed596,_0x2643d0,_0x1dbeb1,_0x448164,_0x300b53),N(this,'_handlerCallback',null),(this[_0x4053d3(0x194)]=_0x34df05,this[_0x4053d3(0x256)]=_0x946ec1);}['addHandlerCallback'](_0x10a5e3){this['_handlerCallback']=_0x10a5e3;}['dispose'](){var _0x37e1a1=_0x3085eb;this[_0x37e1a1(0x253)]=null,super[_0x37e1a1(0x298)]();}['_createHandler'](){var _0x1c289e=_0x3085eb;const _0x51c5be=super['_createHandler']();return _0x51c5be[_0x1c289e(0x24d)]=_0x499004=>{var _0x2c1872=_0x1c289e,_0xdd7e1b,_0x2e1d56;return(_0x2e1d56=(_0xdd7e1b=this[_0x2c1872(0x253)])==null?void 0x0:_0xdd7e1b[_0x2c1872(0x24d)])==null?void 0x0:_0x2e1d56['call'](_0xdd7e1b,_0x499004);},_0x51c5be[_0x1c289e(0x8e)]=_0x5c3438=>{var _0x138008=_0x1c289e,_0xa733f4,_0x2d7448;return(_0x2d7448=(_0xa733f4=this[_0x138008(0x253)])==null?void 0x0:_0xa733f4['onTransformState'])==null?void 0x0:_0x2d7448[_0x138008(0x208)](_0xa733f4,_0x5c3438);},_0x51c5be[_0x1c289e(0x227)]=_0x229885=>{var _0x418af6=_0x1c289e,_0x5a04d0,_0x4a1653;return(_0x4a1653=(_0x5a04d0=this['_handlerCallback'])==null?void 0x0:_0x5a04d0[_0x418af6(0x227)])==null?void 0x0:_0x4a1653[_0x418af6(0x208)](_0x5a04d0,_0x229885);},_0x51c5be[_0x1c289e(0xbe)]=_0x346bde=>{var _0x2cbfa8=_0x1c289e,_0xfc6054,_0x103d06;return(_0x103d06=(_0xfc6054=this[_0x2cbfa8(0x253)])==null?void 0x0:_0xfc6054[_0x2cbfa8(0xbe)])==null?void 0x0:_0x103d06[_0x2cbfa8(0x208)](_0xfc6054,_0x346bde);},_0x51c5be[_0x1c289e(0x335)]=_0x457be2=>{var _0x4809bd=_0x1c289e,_0x2d45e5,_0x3d586f,_0x1a57b0;if(!((_0x2d45e5=this[_0x4809bd(0x253)])!=null&&_0x2d45e5[_0x4809bd(0x335)]))throw new Error(_0x4809bd(0x183));return(_0x1a57b0=(_0x3d586f=this['_handlerCallback'])==null?void 0x0:_0x3d586f[_0x4809bd(0x335)])==null?void 0x0:_0x1a57b0['call'](_0x3d586f,_0x457be2);},_0x51c5be[_0x1c289e(0x145)]=_0x520f48=>{var _0x239747=_0x1c289e,_0x2e0cf3,_0x33be7e,_0x57bd37;if(!((_0x2e0cf3=this[_0x239747(0x253)])!=null&&_0x2e0cf3['onTransformRemoteChangesetByStateCache']))throw new Error(_0x239747(0xcc));return(_0x57bd37=(_0x33be7e=this['_handlerCallback'])==null?void 0x0:_0x33be7e[_0x239747(0x145)])==null?void 0x0:_0x57bd37[_0x239747(0x208)](_0x33be7e,_0x520f48);},_0x51c5be;}async['_init'](){var _0xbe5974=_0x3085eb;const _0x4b927c=await super[_0xbe5974(0x96)]();return this[_0xbe5974(0x362)](this[_0xbe5974(0x293)][_0xbe5974(0x1e0)]((_0x2eef37,_0x1f5be2)=>{var _0x21a4bc=_0xbe5974;if(_0x2eef37[_0x21a4bc(0x256)]!==_0x167fd6['MUTATION']||_0x1f5be2!=null&&_0x1f5be2[_0x21a4bc(0x2e8)]||_0x1f5be2!=null&&_0x1f5be2['onlyLocal']||_0x2eef37['id']===_0x253a30['id'])return;const _0x311f53=_0x2eef37[_0x21a4bc(0x329)];if((_0x311f53==null?void 0x0:_0x311f53['unitId'])!==this['unitID'])return;const _0x5729ab=_0x2eef37,_0x53a175=this['_compressMutationService']['interceptor']['fetchThroughInterceptors'](this[_0x21a4bc(0x302)][_0x21a4bc(0x20d)]['getInterceptPoints']()[_0x21a4bc(0xa5)])([_0x5729ab],null)||[_0x5729ab];this[_0x21a4bc(0x23a)](_0x53a175[0x0]);})),_0x4b927c;}};St=wt([H(0x3,_0x53dfbc(_0x49cf2d)),H(0x4,_0x53dfbc(_0x27ae3f)),H(0x5,_0x53dfbc(_0x4f8456)),H(0x6,_0x53dfbc(_0x52c054)),H(0x7,_0x53dfbc(ve)),H(0x8,_0x482beb),H(0x9,_0x51862d),H(0xa,_0x5252a6),H(0xb,_0x1c5f22(ht)),H(0xc,_0x1c5f22(J))],St);let Et=class extends st{constructor(_0xf0ffb7,_0x41d73b,_0x51d0c2,_0x6bb9da,_0x1af125,_0x1e483b,_0x3bfe02,_0x187d17,_0x58f435,_0xefa416,_0xe11011,_0x4d3e9e,_0xe55ea0,_0x6af09b){var _0x50b35e=_0x3085eb;super(_0xf0ffb7,_0x51d0c2,_0x41d73b,_0x6bb9da,_0x1af125,_0x1e483b,_0x3bfe02,_0x58f435,_0xefa416,_0xe11011,_0x4d3e9e,_0xe55ea0,_0x6af09b),this[_0x50b35e(0x194)]=_0xf0ffb7,this[_0x50b35e(0x256)]=_0x41d73b,this[_0x50b35e(0x235)]=_0x187d17;}[_0x3085eb(0x280)](){var _0x4d6b14=_0x3085eb;const _0x474ba7=super['_createHandler']();return _0x474ba7['onTransformSelections']=_0x5ded2a=>this[_0x4d6b14(0x235)][_0x4d6b14(0x242)](_0x5ded2a),_0x474ba7;}async[_0x3085eb(0x96)](){var _0xfb143c=_0x3085eb;const _0xbc14a9=await super['_init']();return this[_0xfb143c(0x362)](this[_0xfb143c(0x293)][_0xfb143c(0x1e0)]((_0x43a531,_0xccc3ba)=>{var _0x4a09c1=_0xfb143c;if(_0x43a531[_0x4a09c1(0x256)]!==_0x167fd6[_0x4a09c1(0x2be)]||_0xccc3ba!=null&&_0xccc3ba[_0x4a09c1(0x2e8)]||_0xccc3ba!=null&&_0xccc3ba[_0x4a09c1(0xc5)])return;const _0x5595b9=_0x43a531[_0x4a09c1(0x329)];if((_0x5595b9==null?void 0x0:_0x5595b9[_0x4a09c1(0xa9)])!==this[_0x4a09c1(0x194)])return;const _0x2eefcd=_0x43a531,_0x1eba85=this[_0x4a09c1(0x302)][_0x4a09c1(0x20d)][_0x4a09c1(0x217)](this[_0x4a09c1(0x302)][_0x4a09c1(0x20d)][_0x4a09c1(0x315)]()[_0x4a09c1(0xa5)])([_0x2eefcd],null)||[_0x2eefcd];this[_0x4a09c1(0x23a)](_0x1eba85[0x0]);})),_0xbc14a9;}};Et=wt([H(0x3,_0x53dfbc(_0x49cf2d)),H(0x4,_0x53dfbc(_0x27ae3f)),H(0x5,_0x53dfbc(_0x4f8456)),H(0x6,_0x53dfbc(_0x52c054)),H(0x7,_0x53dfbc(it)),H(0x8,_0x53dfbc(ve)),H(0x9,_0x482beb),H(0xa,_0x51862d),H(0xb,_0x5252a6),H(0xc,_0x1c5f22(ht)),H(0xd,_0x1c5f22(J))],Et);var Qs=Object[_0x3085eb(0x2b1)],en=(_0x2d40f8,_0x48cf5f,_0x2cd8e1,_0x20a1c4)=>{for(var _0xdeed44=_0x20a1c4>0x1?void 0x0:_0x20a1c4?Qs(_0x48cf5f,_0x2cd8e1):_0x48cf5f,_0x178e40=_0x2d40f8['length']-0x1,_0x51860f;_0x178e40>=0x0;_0x178e40--)(_0x51860f=_0x2d40f8[_0x178e40])&&(_0xdeed44=_0x51860f(_0xdeed44)||_0xdeed44);return _0xdeed44;},Be=(_0xf74e11,_0x1d521f)=>(_0x2c6a9f,_0x7cfa07)=>_0x1d521f(_0x2c6a9f,_0x7cfa07,_0xf74e11);let nt=class extends _0x38ff91{constructor(_0x1cfb7c,_0x359d10,_0xc2ad28,_0x300a79){var _0x4f10ff=_0x3085eb,_0x219f62;super(),N(this,'_entities',new Map()),N(this,_0x4f10ff(0x353),new _0x2445c4()),N(this,'entityInit$',this[_0x4f10ff(0x353)][_0x4f10ff(0x1a1)]()),(this[_0x4f10ff(0x191)]=_0x1cfb7c,this[_0x4f10ff(0x2b2)]=_0x359d10,this['_configService']=_0xc2ad28,this[_0x4f10ff(0x25b)]=_0x300a79,((_0x219f62=this[_0x4f10ff(0x201)][_0x4f10ff(0xa6)](K))==null?void 0x0:_0x219f62[_0x4f10ff(0x1f7)])!==!0x1&&this['_init']());}['dispose'](){var _0x187917=_0x3085eb;super[_0x187917(0x298)](),this[_0x187917(0x150)]['forEach'](_0x5d3bc8=>_0x5d3bc8[_0x187917(0x298)]()),this[_0x187917(0x150)][_0x187917(0x138)]();}[_0x3085eb(0x37e)](_0xd3643){var _0x5e6273=_0x3085eb,_0x1b09df;return(_0x1b09df=this[_0x5e6273(0x150)][_0x5e6273(0x21f)](_0xd3643))!=null?_0x1b09df:null;}[_0x3085eb(0x15f)](_0xb48d43){var _0x255b06=_0x3085eb;const _0x1e90e5=this[_0x255b06(0x37e)](_0xb48d43);return _0x1e90e5?_0x47b097(_0x1e90e5):this[_0x255b06(0x353)][_0x255b06(0x352)](_0x16ea72(_0x1039fe=>_0x1039fe[_0x255b06(0x194)]===_0xb48d43));}['readyForCollab'](_0x40516b){var _0x184f93=_0x3085eb;return _0x47bac4(this[_0x184f93(0x15f)](_0x40516b)[_0x184f93(0x352)](_0xcf8945(()=>{})));}['_init'](){var _0x1159b3=_0x3085eb;this[_0x1159b3(0x25b)][_0x1159b3(0x142)](_0xc8d7d8[_0x1159b3(0x218)])['pipe'](_0x4694c8(this[_0x1159b3(0x2cb)]),_0x4cf63b(0x10))[_0x1159b3(0x197)](async _0x32f5e6=>{var _0x152b9f=_0x1159b3;const _0x215e0e=_0x32f5e6[_0x152b9f(0x309)](),_0x55d921=await this['_startCollaboration'](_0x215e0e,Z[_0x152b9f(0x218)]);this[_0x152b9f(0x150)][_0x152b9f(0x171)](_0x215e0e,_0x55d921);}),this[_0x1159b3(0x25b)][_0x1159b3(0x142)](_0xc8d7d8[_0x1159b3(0x9a)])[_0x1159b3(0x352)](_0x4694c8(this[_0x1159b3(0x2cb)]),_0x4cf63b(0x10))[_0x1159b3(0x352)](_0x16ea72(_0x47442b=>!_0x47442b[_0x1159b3(0x309)]()['startsWith']('__')))['subscribe'](async _0x52dd1b=>{var _0x3a9205=_0x1159b3;const _0x5bba0e=_0x52dd1b[_0x3a9205(0x309)](),_0x514470=await this[_0x3a9205(0x2b7)](_0x5bba0e,Z['UNIVER_DOC']);this[_0x3a9205(0x150)][_0x3a9205(0x171)](_0x5bba0e,_0x514470);}),_0x4e3d6c(this[_0x1159b3(0x25b)][_0x1159b3(0xf1)](_0xc8d7d8['UNIVER_SHEET']),this[_0x1159b3(0x25b)]['getTypeOfUnitDisposed$'](_0xc8d7d8[_0x1159b3(0x9a)]))['pipe'](_0x4694c8(this[_0x1159b3(0x2cb)]))[_0x1159b3(0x197)](_0x24c9a3=>{var _0xead8db=_0x1159b3;const _0x1c5d30=_0x24c9a3[_0xead8db(0x309)](),_0x7a9921=this[_0xead8db(0x150)]['get'](_0x1c5d30);_0x7a9921&&(_0x7a9921[_0xead8db(0x298)](),this[_0xead8db(0x150)][_0xead8db(0xc2)](_0x1c5d30));});}async[_0x3085eb(0x2b7)](_0x41b526,_0x1ab444){var _0x40ba72=_0x3085eb;const _0x4a2533=await this['_collabSessionService'][_0x40ba72(0x185)](_0x41b526),_0x17839c=this['_injector'][_0x40ba72(0x193)](this[_0x40ba72(0x2b3)](_0x1ab444),_0x41b526,_0x1ab444,_0x4a2533);return await _0x17839c['init'](),this[_0x40ba72(0x353)][_0x40ba72(0x1c4)](_0x17839c),_0x17839c;}[_0x3085eb(0x2b3)](_0x27c666){var _0x4cd437=_0x3085eb;switch(_0x27c666){case Z[_0x4cd437(0x9a)]:return St;case Z['UNIVER_SHEET']:return Et;default:throw new Error(_0x4cd437(0xde)+_0x27c666);}}};nt=en([Be(0x0,_0x53dfbc(_0x49cf2d)),Be(0x1,_0x53dfbc(Le)),Be(0x2,_0x22b79b),Be(0x3,_0x892ae8)],nt);var tn=Object['getOwnPropertyDescriptor'],sn=(_0x2d88c6,_0x17e20b,_0x38b719,_0x4cfff7)=>{var _0x6fb35=_0x3085eb;for(var _0x44dbcc=_0x4cfff7>0x1?void 0x0:_0x4cfff7?tn(_0x17e20b,_0x38b719):_0x17e20b,_0x171fdc=_0x2d88c6[_0x6fb35(0x32b)]-0x1,_0x3aaa35;_0x171fdc>=0x0;_0x171fdc--)(_0x3aaa35=_0x2d88c6[_0x171fdc])&&(_0x44dbcc=_0x3aaa35(_0x44dbcc)||_0x44dbcc);return _0x44dbcc;},Yt=(_0x1f7c65,_0x16787c)=>(_0x5f1059,_0x1c5e76)=>_0x16787c(_0x5f1059,_0x1c5e76,_0x1f7c65);const nn='DEFAULT_FILE_NAME',rn='Univer';let It=class extends _0xae3b4e{constructor(_0x7f181b,_0x2a5af6){var _0x2137ae=_0x3085eb;super(),this[_0x2137ae(0x25b)]=_0x7f181b,this['_configService']=_0x2a5af6,this[_0x2137ae(0x96)]();}['_init'](){var _0x2e7ab9=_0x3085eb;this[_0x2e7ab9(0x362)](this[_0x2e7ab9(0x25b)][_0x2e7ab9(0x2b6)]['subscribe'](()=>{var _0x2951a7=_0x2e7ab9,_0x27f674;const _0x250048=this[_0x2951a7(0x25b)][_0x2951a7(0xe7)]();let _0x34b709=(_0x27f674=this[_0x2951a7(0x201)][_0x2951a7(0xa6)](nn))!=null?_0x27f674:rn;_0x250048 instanceof _0x467c71&&(_0x34b709=_0x250048[_0x2951a7(0x26a)]),document['title']=_0x34b709;}));}};It=sn([Yt(0x0,_0x892ae8),Yt(0x1,_0x22b79b)],It);var an=Object[_0x3085eb(0x2b1)],on=(_0x56f500,_0xc9c278,_0x4d86fa,_0x43439c)=>{for(var _0x5cdfb0=_0x43439c>0x1?void 0x0:_0x43439c?an(_0xc9c278,_0x4d86fa):_0xc9c278,_0x1e6b51=_0x56f500['length']-0x1,_0x542710;_0x1e6b51>=0x0;_0x1e6b51--)(_0x542710=_0x56f500[_0x1e6b51])&&(_0x5cdfb0=_0x542710(_0x5cdfb0)||_0x5cdfb0);return _0x5cdfb0;},dt=(_0x3d44f1,_0x7ce2e5)=>(_0x3da797,_0x3d2d4c)=>_0x7ce2e5(_0x3da797,_0x3d2d4c,_0x3d44f1);let rt=class{constructor(_0x31203f,_0x21d7cf,_0x19bef3){var _0x55ab88=_0x3085eb;this[_0x55ab88(0x201)]=_0x31203f,this[_0x55ab88(0x374)]=_0x21d7cf,this['localeService']=_0x19bef3,this[_0x55ab88(0x221)]();}[_0x3085eb(0x221)](){var _0xd34bbb=_0x3085eb;this[_0xd34bbb(0x374)][_0xd34bbb(0x344)]({'priority':0x1,'interceptor':(_0x59171c,_0x5e54d1)=>_0x5e54d1(_0x59171c)[_0xd34bbb(0x352)](_0xeb51ec(async _0x54d546=>{var _0x26b078=_0xd34bbb;const _0x10f653=_0x54d546;if(_0x10f653[_0x26b078(0xb5)]===0x191){if(typeof window>'u')throw new Error('[AuthServerService]:\x20you\x20should\x20provide\x20authentication\x20info\x20on\x20Node.js.');if(window[_0x26b078(0x229)](this[_0x26b078(0x1cf)]['t'](_0x26b078(0x288)))){const _0x39a075=window['encodeURIComponent'](window[_0x26b078(0x22b)]['href']);window[_0x26b078(0x22b)]['href']=this[_0x26b078(0x287)]()+'?url='+_0x39a075;}}return _0x10f653;}))});}[_0x3085eb(0x287)](){var _0x186333=_0x3085eb,_0x38960d,_0x4dcaf1;const _0x3c11c5=this[_0x186333(0x201)][_0x186333(0xa6)](ys),_0x38ece8=this[_0x186333(0x201)][_0x186333(0xa6)](K);return(_0x4dcaf1=(_0x38960d=_0x38ece8==null?void 0x0:_0x38ece8[_0x186333(0x232)])!=null?_0x38960d:_0x3c11c5)!=null?_0x4dcaf1:Ns;}};rt=on([dt(0x0,_0x22b79b),dt(0x1,_0x53dfbc(_0xfd6f9c)),dt(0x2,_0x53dfbc(_0x4f8456))],rt);var cn=Object['getOwnPropertyDescriptor'],hn=(_0x138f5b,_0x3fe229,_0x4fb9e9,_0x878d0a)=>{for(var _0x4c5239=_0x878d0a>0x1?void 0x0:_0x878d0a?cn(_0x3fe229,_0x4fb9e9):_0x3fe229,_0x194421=_0x138f5b['length']-0x1,_0x26465d;_0x194421>=0x0;_0x194421--)(_0x26465d=_0x138f5b[_0x194421])&&(_0x4c5239=_0x26465d(_0x4c5239)||_0x4c5239);return _0x4c5239;},Kt=(_0x18bd15,_0x2b77ff)=>(_0x4969e5,_0x137bef)=>_0x2b77ff(_0x4969e5,_0x137bef,_0x18bd15);const bi='AUTHZ_URL_KEY',_n=_0x3085eb(0x304);let Tt=class extends _0xae3b4e{constructor(_0x3b2fe3,_0xeb0aa6){var _0x559021=_0x3085eb;super(),this[_0x559021(0x2e4)]=_0x3b2fe3,this['_configService']=_0xeb0aa6,this[_0x559021(0x220)]();}['_initMergeInterceptor'](){var _0x247c27=_0x3085eb;const _0x2cb02b=this;this[_0x247c27(0x362)](this[_0x247c27(0x2e4)][_0x247c27(0x344)]({'priority':0x3e7,'interceptor':_0x1eed4d({'isMatch'(_0x4eaa06){var _0x4e5a86=_0x247c27,_0x4aae55;if(_0x4eaa06[_0x4e5a86(0xef)]==='POST'&&((_0x4aae55=_0x4eaa06[_0x4e5a86(0x244)])!=null&&_0x4aae55['body'])){const {objectID:_0x22d82b,objectType:_0xcdc955}=_0x4eaa06['requestParams']['body']||{};if(!_0x22d82b||_0xcdc955===void 0x0)return!0x1;const _0x4d8331=_0x2cb02b['_getAPIPrefixPath']()+'/'+_0xcdc955+_0x4e5a86(0x2cc)+_0x22d82b+'/allowed';if(_0x4eaa06['url']===_0x4d8331)return!0x0;}return!0x1;},'getParamsFromRequest'(_0x1802a7){var _0x1d6b87=_0x247c27,_0x23367f;return(_0x23367f=_0x1802a7[_0x1d6b87(0x244)])==null?void 0x0:_0x23367f[_0x1d6b87(0x222)];},'mergeParamsToRequest'(_0x5e0aba,_0x292ae7){var _0x3c14dd=_0x247c27;const _0x3c6fb9=_0x2cb02b[_0x3c14dd(0x14f)]()+_0x3c14dd(0x34e),_0x3ace49=_0x5e0aba['reduce']((_0x8990f0,_0x3299e6)=>{var _0x3413b3=_0x3c14dd;const {unitID:_0x2e2a9b,objectID:_0x3717ae,objectType:_0x1df508,actions:_0x61ce02}=_0x3299e6;return _0x8990f0[_0x2e2a9b]||(_0x8990f0[_0x2e2a9b]={}),_0x8990f0[_0x2e2a9b][_0x3717ae]||(_0x8990f0[_0x2e2a9b][_0x3717ae]={'objectID':_0x3717ae,'objectType':_0x1df508,'actions':[]}),_0x8990f0[_0x2e2a9b][_0x3717ae][_0x3413b3(0xba)][_0x3413b3(0x1c3)](..._0x61ce02),_0x8990f0;},{}),_0x49adea=[];for(const _0x4bc5eb in _0x3ace49)for(const _0x3ba362 in _0x3ace49[_0x4bc5eb]){const {actions:_0x55a63e,objectType:_0x4bddba}=_0x3ace49[_0x4bc5eb][_0x3ba362],_0x168006=[...new Set(_0x55a63e)];_0x49adea['push']({'unitID':_0x4bc5eb,'objectID':_0x3ba362,'objectType':_0x4bddba,'actions':_0x168006});}return new _0x2927cc(_0x3c14dd(0x1ee),_0x3c6fb9,{'headers':_0x292ae7[_0x3c14dd(0x16a)],'withCredentials':_0x292ae7[_0x3c14dd(0x2a3)],'responseType':_0x292ae7['responseType'],'body':{'requests':_0x49adea}});}},{'distributeResult'(_0xa2ba7a,_0x43dec2){const {objectActions:_0x59b62d}=_0xa2ba7a;return _0x43dec2['map'](_0x5d0d5c=>{var _0x1028cd=_0x4c1a;const {unitID:_0x44d05d,objectID:_0x58eebf,actions:_0x30c81a}=_0x5d0d5c,_0x144a42=_0x59b62d[_0x1028cd(0x115)](_0xdc8105=>_0xdc8105['unitID']===_0x44d05d&&_0xdc8105[_0x1028cd(0x278)]===_0x58eebf),_0x361abe=_0x30c81a[_0x1028cd(0x23f)](_0x273f34=>_0x144a42==null?void 0x0:_0x144a42[_0x1028cd(0xba)][_0x1028cd(0x115)](_0x4bea89=>_0x4bea89[_0x1028cd(0x2ec)]===_0x273f34))[_0x1028cd(0x2b9)](_0x7d30f5=>!!_0x7d30f5);return{'config':_0x5d0d5c,'result':{'actions':_0x361abe,'error':_0xa2ba7a['error']}};});}})}));}['_getAPIPrefixPath'](){var _0x371351=_0x3085eb,_0xe77d50,_0x541b9c;const _0x3afd36=this['_configService']['getConfig'](bi),_0x3c77fc=this['_configService'][_0x371351(0xa6)](K);return(_0x541b9c=(_0xe77d50=_0x3c77fc==null?void 0x0:_0x3c77fc['authzUrl'])!=null?_0xe77d50:_0x3afd36)!=null?_0x541b9c:_n;}async['create'](_0x4835ee){var _0x5fb755=_0x3085eb;const _0x97e0b2=this['_getAPIPrefixPath']()+'/'+_0x4835ee[_0x5fb755(0x32e)]+_0x5fb755(0xd2);return(await this[_0x5fb755(0x2e4)][_0x5fb755(0x125)](_0x97e0b2,{'body':_0x4835ee}))['body'][_0x5fb755(0x278)]||'';}async['list'](_0x33712e){var _0x1f72a2=_0x3085eb;const _0x221107=this[_0x1f72a2(0x14f)]()+_0x1f72a2(0x319);return(await this[_0x1f72a2(0x2e4)]['post'](_0x221107,{'body':_0x33712e}))[_0x1f72a2(0x222)][_0x1f72a2(0x117)];}async[_0x3085eb(0x7f)](_0x2a80cb){var _0x16756a=_0x3085eb,_0x3c8ca6,_0x26b2b1;const _0x569f5b=this[_0x16756a(0x14f)]()+'/'+_0x2a80cb['objectType']+_0x16756a(0x2cc)+_0x2a80cb[_0x16756a(0x278)],_0xd467ca=await this[_0x16756a(0x2e4)][_0x16756a(0xdd)](_0x569f5b,{'body':_0x2a80cb});if(((_0x26b2b1=(_0x3c8ca6=_0xd467ca==null?void 0x0:_0xd467ca[_0x16756a(0x222)])==null?void 0x0:_0x3c8ca6[_0x16756a(0x269)])==null?void 0x0:_0x26b2b1[_0x16756a(0x19d)])!==0x1)throw new Error(_0x16756a(0x21a));}async[_0x3085eb(0xd0)](_0x5ed001){var _0x5743ae=_0x3085eb;const _0x1ccd62=this['_getAPIPrefixPath']()+'/'+_0x5ed001[_0x5743ae(0x32e)]+_0x5743ae(0x2cc)+_0x5ed001[_0x5743ae(0x278)]+'/allowed';return(await this[_0x5743ae(0x2e4)][_0x5743ae(0x125)](_0x1ccd62,{'body':_0x5ed001}))['body'][_0x5743ae(0xba)];}async[_0x3085eb(0x30e)](_0x2e2023){var _0x48fad1=_0x3085eb;const _0x3e290c=this[_0x48fad1(0x14f)]()+'/-/object/-/batch_allowed';return(await this[_0x48fad1(0x2e4)][_0x48fad1(0x125)](_0x3e290c,{'body':{'requests':_0x2e2023}}))['body'][_0x48fad1(0x273)];}async[_0x3085eb(0x31b)](_0x2d0ce8){var _0x341364=_0x3085eb;const _0x524b3f=this[_0x341364(0x14f)]()+'/'+_0x2d0ce8[_0x341364(0x32e)]+_0x341364(0x268),_0x59fce1=await this[_0x341364(0x2e4)][_0x341364(0x125)](_0x524b3f,{'body':_0x2d0ce8});return{'roles':_0x59fce1[_0x341364(0x222)]['roles'],'actions':_0x59fce1[_0x341364(0x222)][_0x341364(0xba)]};}async['deleteCollaborator'](_0x20aad7){var _0x14a3bb=_0x3085eb;const _0x530ec9=this[_0x14a3bb(0x14f)]()+_0x14a3bb(0x104);await this[_0x14a3bb(0x2e4)][_0x14a3bb(0xc2)](_0x530ec9,{'params':{'collaboratorID':_0x20aad7[_0x14a3bb(0x2fc)],'objectID':_0x20aad7[_0x14a3bb(0x278)],'unitID':_0x20aad7[_0x14a3bb(0x194)]}});}async[_0x3085eb(0x1fd)](_0x3fb682){var _0x1f1843=_0x3085eb;const _0x3e318b=this[_0x1f1843(0x14f)]()+_0x1f1843(0x104);await this[_0x1f1843(0x2e4)][_0x1f1843(0x25d)](_0x3e318b,{'body':_0x3fb682});}async['createCollaborator'](_0x1ad29d){var _0x22360e=_0x3085eb;const _0x2b683a=this['_getAPIPrefixPath']()+_0x22360e(0x104);await this[_0x22360e(0x2e4)][_0x22360e(0x125)](_0x2b683a,{'body':_0x1ad29d});}async[_0x3085eb(0x1ef)](_0x119572){var _0x312429=_0x3085eb;const _0x497b4e=this['_getAPIPrefixPath']()+'/collaborator';return(await this['_HTTPService']['get'](_0x497b4e,{'params':{'objectID':_0x119572[_0x312429(0x278)],'unitID':_0x119572[_0x312429(0x194)]}}))['body'][_0x312429(0x1cb)];}async[_0x3085eb(0x1c7)](_0x2e8257){var _0x2d0f09=_0x3085eb;const _0x3ed373=this[_0x2d0f09(0x14f)]()+_0x2d0f09(0x104);await this['_HTTPService'][_0x2d0f09(0xdd)](_0x3ed373,{'body':_0x2e8257});}};Tt=hn([Kt(0x0,_0x53dfbc(_0xfd6f9c)),Kt(0x1,_0x53dfbc(_0x22b79b))],Tt);var ft=typeof globalThis<'u'?globalThis:typeof window<'u'?window:typeof global<'u'?global:typeof self<'u'?self:{};function $e(_0x5b46d){var _0x1bc982=_0x3085eb;return _0x5b46d&&_0x5b46d['__esModule']&&Object[_0x1bc982(0xe2)][_0x1bc982(0xd3)][_0x1bc982(0x208)](_0x5b46d,_0x1bc982(0x30f))?_0x5b46d[_0x1bc982(0x30f)]:_0x5b46d;}var Ve={'exports':{}};function ln(_0x4b0874){var _0x565711=_0x3085eb;throw new Error(_0x565711(0x120)+_0x4b0874+_0x565711(0x243));}var Ge={'exports':{}},un=Ge[_0x3085eb(0x1af)],qt;function te(){var _0x275e38=_0x3085eb;return qt||(qt=0x1,function(_0x3cc45b,_0x3a893f){(function(_0x4952d4,_0x5e2013){var _0x5bf809=_0x4c1a;_0x3cc45b[_0x5bf809(0x1af)]=_0x5e2013();}(un,function(){var _0x23fcef=_0x23fcef||function(_0x45b474,_0x542c33){var _0x10839c=_0x4c1a,_0xcd3692;if(typeof window<'u'&&window['crypto']&&(_0xcd3692=window['crypto']),typeof self<'u'&&self[_0x10839c(0xa4)]&&(_0xcd3692=self[_0x10839c(0xa4)]),typeof globalThis<'u'&&globalThis[_0x10839c(0xa4)]&&(_0xcd3692=globalThis[_0x10839c(0xa4)]),!_0xcd3692&&typeof window<'u'&&window[_0x10839c(0x14b)]&&(_0xcd3692=window[_0x10839c(0x14b)]),!_0xcd3692&&typeof ft<'u'&&ft['crypto']&&(_0xcd3692=ft['crypto']),!_0xcd3692&&typeof ln==_0x10839c(0x2ae))try{_0xcd3692=require(_0x10839c(0xa4));}catch{}var _0x334cb2=function(){var _0x4d83a0=_0x10839c;if(_0xcd3692){if(typeof _0xcd3692[_0x4d83a0(0x34b)]=='function')try{return _0xcd3692[_0x4d83a0(0x34b)](new Uint32Array(0x1))[0x0];}catch{}if(typeof _0xcd3692[_0x4d83a0(0x1a8)]==_0x4d83a0(0x2ae))try{return _0xcd3692[_0x4d83a0(0x1a8)](0x4)[_0x4d83a0(0x377)]();}catch{}}throw new Error('Native\x20crypto\x20module\x20could\x20not\x20be\x20used\x20to\x20get\x20secure\x20random\x20number.');},_0x48c94f=Object[_0x10839c(0x205)]||(function(){function _0x130c47(){}return function(_0xa721be){var _0x4e083a;return _0x130c47['prototype']=_0xa721be,_0x4e083a=new _0x130c47(),_0x130c47['prototype']=null,_0x4e083a;};}()),_0x87b471={},_0x16d6f2=_0x87b471[_0x10839c(0x279)]={},_0x152c6e=_0x16d6f2[_0x10839c(0x1cd)]=(function(){return{'extend':function(_0x1c8307){var _0x3efd90=_0x4c1a,_0x553902=_0x48c94f(this);return _0x1c8307&&_0x553902[_0x3efd90(0x108)](_0x1c8307),(!_0x553902['hasOwnProperty'](_0x3efd90(0x221))||this[_0x3efd90(0x221)]===_0x553902[_0x3efd90(0x221)])&&(_0x553902['init']=function(){var _0x1b644a=_0x3efd90;_0x553902[_0x1b644a(0x89)][_0x1b644a(0x221)][_0x1b644a(0x1a0)](this,arguments);}),_0x553902[_0x3efd90(0x221)][_0x3efd90(0xe2)]=_0x553902,_0x553902[_0x3efd90(0x89)]=this,_0x553902;},'create':function(){var _0x749c0a=_0x4c1a,_0x2a359a=this[_0x749c0a(0x1fb)]();return _0x2a359a[_0x749c0a(0x221)]['apply'](_0x2a359a,arguments),_0x2a359a;},'init':function(){},'mixIn':function(_0x4f7b98){var _0x5df7d7=_0x4c1a;for(var _0x599065 in _0x4f7b98)_0x4f7b98[_0x5df7d7(0xd3)](_0x599065)&&(this[_0x599065]=_0x4f7b98[_0x599065]);_0x4f7b98['hasOwnProperty']('toString')&&(this[_0x5df7d7(0x1a5)]=_0x4f7b98['toString']);},'clone':function(){var _0x4713c3=_0x4c1a;return this[_0x4713c3(0x221)][_0x4713c3(0xe2)][_0x4713c3(0x1fb)](this);}};}()),_0x43001a=_0x16d6f2[_0x10839c(0x180)]=_0x152c6e[_0x10839c(0x1fb)]({'init':function(_0x23b5ba,_0x40ee63){var _0x3ae42f=_0x10839c;_0x23b5ba=this[_0x3ae42f(0xac)]=_0x23b5ba||[],_0x40ee63!=_0x542c33?this[_0x3ae42f(0x1ed)]=_0x40ee63:this['sigBytes']=_0x23b5ba[_0x3ae42f(0x32b)]*0x4;},'toString':function(_0xb4a6e){var _0x5c3915=_0x10839c;return(_0xb4a6e||_0x27b58f)[_0x5c3915(0x356)](this);},'concat':function(_0x43beb){var _0x57b4c3=_0x10839c,_0x16f4f2=this['words'],_0xcc4360=_0x43beb[_0x57b4c3(0xac)],_0x77dd1f=this[_0x57b4c3(0x1ed)],_0x53fc0a=_0x43beb[_0x57b4c3(0x1ed)];if(this['clamp'](),_0x77dd1f%0x4)for(var _0x1312e6=0x0;_0x1312e6<_0x53fc0a;_0x1312e6++){var _0x4e44b6=_0xcc4360[_0x1312e6>>>0x2]>>>0x18-_0x1312e6%0x4*0x8&0xff;_0x16f4f2[_0x77dd1f+_0x1312e6>>>0x2]|=_0x4e44b6<<0x18-(_0x77dd1f+_0x1312e6)%0x4*0x8;}else{for(var _0x1e3437=0x0;_0x1e3437<_0x53fc0a;_0x1e3437+=0x4)_0x16f4f2[_0x77dd1f+_0x1e3437>>>0x2]=_0xcc4360[_0x1e3437>>>0x2];}return this['sigBytes']+=_0x53fc0a,this;},'clamp':function(){var _0x16748e=_0x10839c,_0x397b9b=this[_0x16748e(0xac)],_0x5258ad=this[_0x16748e(0x1ed)];_0x397b9b[_0x5258ad>>>0x2]&=0xffffffff<<0x20-_0x5258ad%0x4*0x8,_0x397b9b['length']=_0x45b474['ceil'](_0x5258ad/0x4);},'clone':function(){var _0x5b0642=_0x10839c,_0x84c10c=_0x152c6e[_0x5b0642(0x30c)][_0x5b0642(0x208)](this);return _0x84c10c[_0x5b0642(0xac)]=this[_0x5b0642(0xac)][_0x5b0642(0x1f0)](0x0),_0x84c10c;},'random':function(_0x3e0238){var _0x3f7021=_0x10839c;for(var _0xd699b5=[],_0x2e8353=0x0;_0x2e8353<_0x3e0238;_0x2e8353+=0x4)_0xd699b5[_0x3f7021(0x1c3)](_0x334cb2());return new _0x43001a[(_0x3f7021(0x221))](_0xd699b5,_0x3e0238);}}),_0x91a464=_0x87b471['enc']={},_0x27b58f=_0x91a464[_0x10839c(0x1c9)]={'stringify':function(_0x553850){var _0x44fba5=_0x10839c;for(var _0x3e4987=_0x553850[_0x44fba5(0xac)],_0x5406bb=_0x553850[_0x44fba5(0x1ed)],_0x180f91=[],_0x2a5082=0x0;_0x2a5082<_0x5406bb;_0x2a5082++){var _0x4e38ca=_0x3e4987[_0x2a5082>>>0x2]>>>0x18-_0x2a5082%0x4*0x8&0xff;_0x180f91[_0x44fba5(0x1c3)]((_0x4e38ca>>>0x4)[_0x44fba5(0x1a5)](0x10)),_0x180f91[_0x44fba5(0x1c3)]((_0x4e38ca&0xf)[_0x44fba5(0x1a5)](0x10));}return _0x180f91['join']('');},'parse':function(_0x30492b){var _0x19f19f=_0x10839c;for(var _0x203066=_0x30492b['length'],_0x144d1e=[],_0x6c9437=0x0;_0x6c9437<_0x203066;_0x6c9437+=0x2)_0x144d1e[_0x6c9437>>>0x3]|=parseInt(_0x30492b[_0x19f19f(0x307)](_0x6c9437,0x2),0x10)<<0x18-_0x6c9437%0x8*0x4;return new _0x43001a[(_0x19f19f(0x221))](_0x144d1e,_0x203066/0x2);}},_0x5b3ab1=_0x91a464[_0x10839c(0x2f3)]={'stringify':function(_0x972e12){var _0x9cb07b=_0x10839c;for(var _0x1d910d=_0x972e12[_0x9cb07b(0xac)],_0x240019=_0x972e12[_0x9cb07b(0x1ed)],_0x363b00=[],_0x4902cf=0x0;_0x4902cf<_0x240019;_0x4902cf++){var _0x3dbc14=_0x1d910d[_0x4902cf>>>0x2]>>>0x18-_0x4902cf%0x4*0x8&0xff;_0x363b00[_0x9cb07b(0x1c3)](String[_0x9cb07b(0x1bb)](_0x3dbc14));}return _0x363b00[_0x9cb07b(0x2bf)]('');},'parse':function(_0x9add37){var _0x1c7b1d=_0x10839c;for(var _0x30e8df=_0x9add37[_0x1c7b1d(0x32b)],_0x1977f8=[],_0x54ec6f=0x0;_0x54ec6f<_0x30e8df;_0x54ec6f++)_0x1977f8[_0x54ec6f>>>0x2]|=(_0x9add37['charCodeAt'](_0x54ec6f)&0xff)<<0x18-_0x54ec6f%0x4*0x8;return new _0x43001a['init'](_0x1977f8,_0x30e8df);}},_0x2764ea=_0x91a464[_0x10839c(0x16b)]={'stringify':function(_0x96c8ad){var _0x1fc485=_0x10839c;try{return decodeURIComponent(escape(_0x5b3ab1[_0x1fc485(0x356)](_0x96c8ad)));}catch{throw new Error(_0x1fc485(0x381));}},'parse':function(_0x5ea2d2){var _0x34f385=_0x10839c;return _0x5b3ab1[_0x34f385(0x358)](unescape(encodeURIComponent(_0x5ea2d2)));}},_0x3365a0=_0x16d6f2[_0x10839c(0xea)]=_0x152c6e[_0x10839c(0x1fb)]({'reset':function(){var _0x237459=_0x10839c;this[_0x237459(0x1d7)]=new _0x43001a[(_0x237459(0x221))](),this[_0x237459(0x2d3)]=0x0;},'_append':function(_0x5eb2fb){var _0x2e14a4=_0x10839c;typeof _0x5eb2fb==_0x2e14a4(0x285)&&(_0x5eb2fb=_0x2764ea[_0x2e14a4(0x358)](_0x5eb2fb)),this['_data']['concat'](_0x5eb2fb),this[_0x2e14a4(0x2d3)]+=_0x5eb2fb[_0x2e14a4(0x1ed)];},'_process':function(_0x213f93){var _0x5a8353=_0x10839c,_0x4d0866,_0x1069a8=this[_0x5a8353(0x1d7)],_0x38587d=_0x1069a8[_0x5a8353(0xac)],_0x235275=_0x1069a8[_0x5a8353(0x1ed)],_0x3a7d96=this[_0x5a8353(0x139)],_0x2bbead=_0x3a7d96*0x4,_0x12e3e9=_0x235275/_0x2bbead;_0x213f93?_0x12e3e9=_0x45b474[_0x5a8353(0x2c3)](_0x12e3e9):_0x12e3e9=_0x45b474['max']((_0x12e3e9|0x0)-this[_0x5a8353(0xd7)],0x0);var _0x511923=_0x12e3e9*_0x3a7d96,_0x141ecf=_0x45b474[_0x5a8353(0x33c)](_0x511923*0x4,_0x235275);if(_0x511923){for(var _0x4aec57=0x0;_0x4aec57<_0x511923;_0x4aec57+=_0x3a7d96)this['_doProcessBlock'](_0x38587d,_0x4aec57);_0x4d0866=_0x38587d[_0x5a8353(0x318)](0x0,_0x511923),_0x1069a8[_0x5a8353(0x1ed)]-=_0x141ecf;}return new _0x43001a['init'](_0x4d0866,_0x141ecf);},'clone':function(){var _0x374d00=_0x10839c,_0x15cd78=_0x152c6e['clone'][_0x374d00(0x208)](this);return _0x15cd78[_0x374d00(0x1d7)]=this[_0x374d00(0x1d7)][_0x374d00(0x30c)](),_0x15cd78;},'_minBufferSize':0x0});_0x16d6f2[_0x10839c(0x1f2)]=_0x3365a0[_0x10839c(0x1fb)]({'cfg':_0x152c6e[_0x10839c(0x1fb)](),'init':function(_0x2c3bfa){var _0x2d1669=_0x10839c;this[_0x2d1669(0x35a)]=this[_0x2d1669(0x35a)]['extend'](_0x2c3bfa),this[_0x2d1669(0x162)]();},'reset':function(){var _0x363968=_0x10839c;_0x3365a0[_0x363968(0x162)][_0x363968(0x208)](this),this[_0x363968(0x34f)]();},'update':function(_0x5544dc){var _0x4d1daf=_0x10839c;return this[_0x4d1daf(0x149)](_0x5544dc),this[_0x4d1daf(0x2c8)](),this;},'finalize':function(_0x169a97){_0x169a97&&this['_append'](_0x169a97);var _0x45628a=this['_doFinalize']();return _0x45628a;},'blockSize':0x10,'_createHelper':function(_0x5494be){return function(_0x40f96a,_0xc69da6){var _0x42e023=_0x4c1a;return new _0x5494be[(_0x42e023(0x221))](_0xc69da6)[_0x42e023(0xc9)](_0x40f96a);};},'_createHmacHelper':function(_0x2351c8){return function(_0x448c23,_0x13ed8b){var _0x3d994f=_0x4c1a;return new _0x4deb61[(_0x3d994f(0x1aa))]['init'](_0x2351c8,_0x13ed8b)[_0x3d994f(0xc9)](_0x448c23);};}});var _0x4deb61=_0x87b471[_0x10839c(0x213)]={};return _0x87b471;}(Math);return _0x23fcef;}));}(Ge)),Ge[_0x275e38(0x1af)];}var We={'exports':{}},dn=We['exports'],zt;function Oi(){var _0x1f29e4=_0x3085eb;return zt||(zt=0x1,function(_0x234574,_0x29b049){(function(_0x289dcf,_0x2f3603){var _0x141f53=_0x4c1a;_0x234574[_0x141f53(0x1af)]=_0x2f3603(te());}(dn,function(_0x44b918){var _0x4382a0=_0x4c1a;return(function(){var _0x2da006=_0x4c1a,_0x161ddf=_0x44b918,_0x43c7f8=_0x161ddf[_0x2da006(0x279)],_0x2f3966=_0x43c7f8[_0x2da006(0x180)],_0x1fd4ba=_0x161ddf[_0x2da006(0x174)];_0x1fd4ba[_0x2da006(0x101)]={'stringify':function(_0x39f0a8){var _0x3095eb=_0x2da006,_0x52be88=_0x39f0a8[_0x3095eb(0xac)],_0x2b602e=_0x39f0a8[_0x3095eb(0x1ed)],_0x2eeb9e=this['_map'];_0x39f0a8[_0x3095eb(0x216)]();for(var _0x5effe7=[],_0x472512=0x0;_0x472512<_0x2b602e;_0x472512+=0x3)for(var _0x266552=_0x52be88[_0x472512>>>0x2]>>>0x18-_0x472512%0x4*0x8&0xff,_0x59b3ec=_0x52be88[_0x472512+0x1>>>0x2]>>>0x18-(_0x472512+0x1)%0x4*0x8&0xff,_0xc37132=_0x52be88[_0x472512+0x2>>>0x2]>>>0x18-(_0x472512+0x2)%0x4*0x8&0xff,_0x1f7106=_0x266552<<0x10|_0x59b3ec<<0x8|_0xc37132,_0x593e05=0x0;_0x593e05<0x4&&_0x472512+_0x593e05*0.75<_0x2b602e;_0x593e05++)_0x5effe7[_0x3095eb(0x1c3)](_0x2eeb9e[_0x3095eb(0x11e)](_0x1f7106>>>0x6*(0x3-_0x593e05)&0x3f));var _0x5b376e=_0x2eeb9e['charAt'](0x40);if(_0x5b376e){for(;_0x5effe7['length']%0x4;)_0x5effe7[_0x3095eb(0x1c3)](_0x5b376e);}return _0x5effe7[_0x3095eb(0x2bf)]('');},'parse':function(_0x5ab95e){var _0x25614d=_0x2da006,_0x2a3583=_0x5ab95e[_0x25614d(0x32b)],_0x4e2baf=this[_0x25614d(0x90)],_0x4dd24b=this[_0x25614d(0x109)];if(!_0x4dd24b){_0x4dd24b=this[_0x25614d(0x109)]=[];for(var _0x2ef21d=0x0;_0x2ef21d<_0x4e2baf['length'];_0x2ef21d++)_0x4dd24b[_0x4e2baf[_0x25614d(0x13c)](_0x2ef21d)]=_0x2ef21d;}var _0x30f26b=_0x4e2baf[_0x25614d(0x11e)](0x40);if(_0x30f26b){var _0x227f1c=_0x5ab95e[_0x25614d(0x1d3)](_0x30f26b);_0x227f1c!==-0x1&&(_0x2a3583=_0x227f1c);}return _0x245d87(_0x5ab95e,_0x2a3583,_0x4dd24b);},'_map':'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/='};function _0x245d87(_0x58ce57,_0x2cac3a,_0x481636){var _0x2111bd=_0x2da006;for(var _0x2cf2b8=[],_0x1a4b93=0x0,_0x5da4fe=0x0;_0x5da4fe<_0x2cac3a;_0x5da4fe++)if(_0x5da4fe%0x4){var _0x36ea8c=_0x481636[_0x58ce57[_0x2111bd(0x13c)](_0x5da4fe-0x1)]<<_0x5da4fe%0x4*0x2,_0x188eed=_0x481636[_0x58ce57['charCodeAt'](_0x5da4fe)]>>>0x6-_0x5da4fe%0x4*0x2,_0x2307cd=_0x36ea8c|_0x188eed;_0x2cf2b8[_0x1a4b93>>>0x2]|=_0x2307cd<<0x18-_0x1a4b93%0x4*0x8,_0x1a4b93++;}return _0x2f3966['create'](_0x2cf2b8,_0x1a4b93);}}()),_0x44b918[_0x4382a0(0x174)]['Base64'];}));}(We)),We[_0x1f29e4(0x1af)];}var Ye={'exports':{}},fn=Ye[_0x3085eb(0x1af)],Jt;function vn(){var _0x3ff16c=_0x3085eb;return Jt||(Jt=0x1,function(_0x1863ac,_0x674774){(function(_0x385154,_0x5c7c08){var _0x1e39b1=_0x4c1a;_0x1863ac[_0x1e39b1(0x1af)]=_0x5c7c08(te());}(fn,function(_0x28f2c7){return function(_0x363ed1){var _0x41747c=_0x4c1a,_0x81add9=_0x28f2c7,_0x1e9089=_0x81add9[_0x41747c(0x279)],_0x45b9bc=_0x1e9089['WordArray'],_0x2c79c0=_0x1e9089['Hasher'],_0x51ec13=_0x81add9[_0x41747c(0x213)],_0xa0a697=[];(function(){var _0xcc9c=_0x41747c;for(var _0x431fb5=0x0;_0x431fb5<0x40;_0x431fb5++)_0xa0a697[_0x431fb5]=_0x363ed1[_0xcc9c(0x203)](_0x363ed1[_0xcc9c(0x1db)](_0x431fb5+0x1))*0x100000000|0x0;}());var _0xd5a84=_0x51ec13[_0x41747c(0x195)]=_0x2c79c0[_0x41747c(0x1fb)]({'_doReset':function(){var _0x1bfd94=_0x41747c;this[_0x1bfd94(0x129)]=new _0x45b9bc[(_0x1bfd94(0x221))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476]);},'_doProcessBlock':function(_0x491911,_0xdc6967){var _0x30c75c=_0x41747c;for(var _0xe8346=0x0;_0xe8346<0x10;_0xe8346++){var _0x5055aa=_0xdc6967+_0xe8346,_0x358e2a=_0x491911[_0x5055aa];_0x491911[_0x5055aa]=(_0x358e2a<<0x8|_0x358e2a>>>0x18)&0xff00ff|(_0x358e2a<<0x18|_0x358e2a>>>0x8)&0xff00ff00;}var _0x529747=this[_0x30c75c(0x129)]['words'],_0x3ea026=_0x491911[_0xdc6967+0x0],_0x585028=_0x491911[_0xdc6967+0x1],_0x329a3d=_0x491911[_0xdc6967+0x2],_0x33b3bf=_0x491911[_0xdc6967+0x3],_0x4093df=_0x491911[_0xdc6967+0x4],_0x209ce9=_0x491911[_0xdc6967+0x5],_0x350e1d=_0x491911[_0xdc6967+0x6],_0x6cecfb=_0x491911[_0xdc6967+0x7],_0x535868=_0x491911[_0xdc6967+0x8],_0x258464=_0x491911[_0xdc6967+0x9],_0x523cab=_0x491911[_0xdc6967+0xa],_0x42ac99=_0x491911[_0xdc6967+0xb],_0x2dd6f8=_0x491911[_0xdc6967+0xc],_0x380bbf=_0x491911[_0xdc6967+0xd],_0x115587=_0x491911[_0xdc6967+0xe],_0x4fa6da=_0x491911[_0xdc6967+0xf],_0xbd1bdf=_0x529747[0x0],_0xf25042=_0x529747[0x1],_0x34e9a8=_0x529747[0x2],_0x233f76=_0x529747[0x3];_0xbd1bdf=_0x1cd328(_0xbd1bdf,_0xf25042,_0x34e9a8,_0x233f76,_0x3ea026,0x7,_0xa0a697[0x0]),_0x233f76=_0x1cd328(_0x233f76,_0xbd1bdf,_0xf25042,_0x34e9a8,_0x585028,0xc,_0xa0a697[0x1]),_0x34e9a8=_0x1cd328(_0x34e9a8,_0x233f76,_0xbd1bdf,_0xf25042,_0x329a3d,0x11,_0xa0a697[0x2]),_0xf25042=_0x1cd328(_0xf25042,_0x34e9a8,_0x233f76,_0xbd1bdf,_0x33b3bf,0x16,_0xa0a697[0x3]),_0xbd1bdf=_0x1cd328(_0xbd1bdf,_0xf25042,_0x34e9a8,_0x233f76,_0x4093df,0x7,_0xa0a697[0x4]),_0x233f76=_0x1cd328(_0x233f76,_0xbd1bdf,_0xf25042,_0x34e9a8,_0x209ce9,0xc,_0xa0a697[0x5]),_0x34e9a8=_0x1cd328(_0x34e9a8,_0x233f76,_0xbd1bdf,_0xf25042,_0x350e1d,0x11,_0xa0a697[0x6]),_0xf25042=_0x1cd328(_0xf25042,_0x34e9a8,_0x233f76,_0xbd1bdf,_0x6cecfb,0x16,_0xa0a697[0x7]),_0xbd1bdf=_0x1cd328(_0xbd1bdf,_0xf25042,_0x34e9a8,_0x233f76,_0x535868,0x7,_0xa0a697[0x8]),_0x233f76=_0x1cd328(_0x233f76,_0xbd1bdf,_0xf25042,_0x34e9a8,_0x258464,0xc,_0xa0a697[0x9]),_0x34e9a8=_0x1cd328(_0x34e9a8,_0x233f76,_0xbd1bdf,_0xf25042,_0x523cab,0x11,_0xa0a697[0xa]),_0xf25042=_0x1cd328(_0xf25042,_0x34e9a8,_0x233f76,_0xbd1bdf,_0x42ac99,0x16,_0xa0a697[0xb]),_0xbd1bdf=_0x1cd328(_0xbd1bdf,_0xf25042,_0x34e9a8,_0x233f76,_0x2dd6f8,0x7,_0xa0a697[0xc]),_0x233f76=_0x1cd328(_0x233f76,_0xbd1bdf,_0xf25042,_0x34e9a8,_0x380bbf,0xc,_0xa0a697[0xd]),_0x34e9a8=_0x1cd328(_0x34e9a8,_0x233f76,_0xbd1bdf,_0xf25042,_0x115587,0x11,_0xa0a697[0xe]),_0xf25042=_0x1cd328(_0xf25042,_0x34e9a8,_0x233f76,_0xbd1bdf,_0x4fa6da,0x16,_0xa0a697[0xf]),_0xbd1bdf=_0xbe0173(_0xbd1bdf,_0xf25042,_0x34e9a8,_0x233f76,_0x585028,0x5,_0xa0a697[0x10]),_0x233f76=_0xbe0173(_0x233f76,_0xbd1bdf,_0xf25042,_0x34e9a8,_0x350e1d,0x9,_0xa0a697[0x11]),_0x34e9a8=_0xbe0173(_0x34e9a8,_0x233f76,_0xbd1bdf,_0xf25042,_0x42ac99,0xe,_0xa0a697[0x12]),_0xf25042=_0xbe0173(_0xf25042,_0x34e9a8,_0x233f76,_0xbd1bdf,_0x3ea026,0x14,_0xa0a697[0x13]),_0xbd1bdf=_0xbe0173(_0xbd1bdf,_0xf25042,_0x34e9a8,_0x233f76,_0x209ce9,0x5,_0xa0a697[0x14]),_0x233f76=_0xbe0173(_0x233f76,_0xbd1bdf,_0xf25042,_0x34e9a8,_0x523cab,0x9,_0xa0a697[0x15]),_0x34e9a8=_0xbe0173(_0x34e9a8,_0x233f76,_0xbd1bdf,_0xf25042,_0x4fa6da,0xe,_0xa0a697[0x16]),_0xf25042=_0xbe0173(_0xf25042,_0x34e9a8,_0x233f76,_0xbd1bdf,_0x4093df,0x14,_0xa0a697[0x17]),_0xbd1bdf=_0xbe0173(_0xbd1bdf,_0xf25042,_0x34e9a8,_0x233f76,_0x258464,0x5,_0xa0a697[0x18]),_0x233f76=_0xbe0173(_0x233f76,_0xbd1bdf,_0xf25042,_0x34e9a8,_0x115587,0x9,_0xa0a697[0x19]),_0x34e9a8=_0xbe0173(_0x34e9a8,_0x233f76,_0xbd1bdf,_0xf25042,_0x33b3bf,0xe,_0xa0a697[0x1a]),_0xf25042=_0xbe0173(_0xf25042,_0x34e9a8,_0x233f76,_0xbd1bdf,_0x535868,0x14,_0xa0a697[0x1b]),_0xbd1bdf=_0xbe0173(_0xbd1bdf,_0xf25042,_0x34e9a8,_0x233f76,_0x380bbf,0x5,_0xa0a697[0x1c]),_0x233f76=_0xbe0173(_0x233f76,_0xbd1bdf,_0xf25042,_0x34e9a8,_0x329a3d,0x9,_0xa0a697[0x1d]),_0x34e9a8=_0xbe0173(_0x34e9a8,_0x233f76,_0xbd1bdf,_0xf25042,_0x6cecfb,0xe,_0xa0a697[0x1e]),_0xf25042=_0xbe0173(_0xf25042,_0x34e9a8,_0x233f76,_0xbd1bdf,_0x2dd6f8,0x14,_0xa0a697[0x1f]),_0xbd1bdf=_0x56f5e1(_0xbd1bdf,_0xf25042,_0x34e9a8,_0x233f76,_0x209ce9,0x4,_0xa0a697[0x20]),_0x233f76=_0x56f5e1(_0x233f76,_0xbd1bdf,_0xf25042,_0x34e9a8,_0x535868,0xb,_0xa0a697[0x21]),_0x34e9a8=_0x56f5e1(_0x34e9a8,_0x233f76,_0xbd1bdf,_0xf25042,_0x42ac99,0x10,_0xa0a697[0x22]),_0xf25042=_0x56f5e1(_0xf25042,_0x34e9a8,_0x233f76,_0xbd1bdf,_0x115587,0x17,_0xa0a697[0x23]),_0xbd1bdf=_0x56f5e1(_0xbd1bdf,_0xf25042,_0x34e9a8,_0x233f76,_0x585028,0x4,_0xa0a697[0x24]),_0x233f76=_0x56f5e1(_0x233f76,_0xbd1bdf,_0xf25042,_0x34e9a8,_0x4093df,0xb,_0xa0a697[0x25]),_0x34e9a8=_0x56f5e1(_0x34e9a8,_0x233f76,_0xbd1bdf,_0xf25042,_0x6cecfb,0x10,_0xa0a697[0x26]),_0xf25042=_0x56f5e1(_0xf25042,_0x34e9a8,_0x233f76,_0xbd1bdf,_0x523cab,0x17,_0xa0a697[0x27]),_0xbd1bdf=_0x56f5e1(_0xbd1bdf,_0xf25042,_0x34e9a8,_0x233f76,_0x380bbf,0x4,_0xa0a697[0x28]),_0x233f76=_0x56f5e1(_0x233f76,_0xbd1bdf,_0xf25042,_0x34e9a8,_0x3ea026,0xb,_0xa0a697[0x29]),_0x34e9a8=_0x56f5e1(_0x34e9a8,_0x233f76,_0xbd1bdf,_0xf25042,_0x33b3bf,0x10,_0xa0a697[0x2a]),_0xf25042=_0x56f5e1(_0xf25042,_0x34e9a8,_0x233f76,_0xbd1bdf,_0x350e1d,0x17,_0xa0a697[0x2b]),_0xbd1bdf=_0x56f5e1(_0xbd1bdf,_0xf25042,_0x34e9a8,_0x233f76,_0x258464,0x4,_0xa0a697[0x2c]),_0x233f76=_0x56f5e1(_0x233f76,_0xbd1bdf,_0xf25042,_0x34e9a8,_0x2dd6f8,0xb,_0xa0a697[0x2d]),_0x34e9a8=_0x56f5e1(_0x34e9a8,_0x233f76,_0xbd1bdf,_0xf25042,_0x4fa6da,0x10,_0xa0a697[0x2e]),_0xf25042=_0x56f5e1(_0xf25042,_0x34e9a8,_0x233f76,_0xbd1bdf,_0x329a3d,0x17,_0xa0a697[0x2f]),_0xbd1bdf=_0x3e344f(_0xbd1bdf,_0xf25042,_0x34e9a8,_0x233f76,_0x3ea026,0x6,_0xa0a697[0x30]),_0x233f76=_0x3e344f(_0x233f76,_0xbd1bdf,_0xf25042,_0x34e9a8,_0x6cecfb,0xa,_0xa0a697[0x31]),_0x34e9a8=_0x3e344f(_0x34e9a8,_0x233f76,_0xbd1bdf,_0xf25042,_0x115587,0xf,_0xa0a697[0x32]),_0xf25042=_0x3e344f(_0xf25042,_0x34e9a8,_0x233f76,_0xbd1bdf,_0x209ce9,0x15,_0xa0a697[0x33]),_0xbd1bdf=_0x3e344f(_0xbd1bdf,_0xf25042,_0x34e9a8,_0x233f76,_0x2dd6f8,0x6,_0xa0a697[0x34]),_0x233f76=_0x3e344f(_0x233f76,_0xbd1bdf,_0xf25042,_0x34e9a8,_0x33b3bf,0xa,_0xa0a697[0x35]),_0x34e9a8=_0x3e344f(_0x34e9a8,_0x233f76,_0xbd1bdf,_0xf25042,_0x523cab,0xf,_0xa0a697[0x36]),_0xf25042=_0x3e344f(_0xf25042,_0x34e9a8,_0x233f76,_0xbd1bdf,_0x585028,0x15,_0xa0a697[0x37]),_0xbd1bdf=_0x3e344f(_0xbd1bdf,_0xf25042,_0x34e9a8,_0x233f76,_0x535868,0x6,_0xa0a697[0x38]),_0x233f76=_0x3e344f(_0x233f76,_0xbd1bdf,_0xf25042,_0x34e9a8,_0x4fa6da,0xa,_0xa0a697[0x39]),_0x34e9a8=_0x3e344f(_0x34e9a8,_0x233f76,_0xbd1bdf,_0xf25042,_0x350e1d,0xf,_0xa0a697[0x3a]),_0xf25042=_0x3e344f(_0xf25042,_0x34e9a8,_0x233f76,_0xbd1bdf,_0x380bbf,0x15,_0xa0a697[0x3b]),_0xbd1bdf=_0x3e344f(_0xbd1bdf,_0xf25042,_0x34e9a8,_0x233f76,_0x4093df,0x6,_0xa0a697[0x3c]),_0x233f76=_0x3e344f(_0x233f76,_0xbd1bdf,_0xf25042,_0x34e9a8,_0x42ac99,0xa,_0xa0a697[0x3d]),_0x34e9a8=_0x3e344f(_0x34e9a8,_0x233f76,_0xbd1bdf,_0xf25042,_0x329a3d,0xf,_0xa0a697[0x3e]),_0xf25042=_0x3e344f(_0xf25042,_0x34e9a8,_0x233f76,_0xbd1bdf,_0x258464,0x15,_0xa0a697[0x3f]),_0x529747[0x0]=_0x529747[0x0]+_0xbd1bdf|0x0,_0x529747[0x1]=_0x529747[0x1]+_0xf25042|0x0,_0x529747[0x2]=_0x529747[0x2]+_0x34e9a8|0x0,_0x529747[0x3]=_0x529747[0x3]+_0x233f76|0x0;},'_doFinalize':function(){var _0x3df321=_0x41747c,_0x516ead=this[_0x3df321(0x1d7)],_0x5a113a=_0x516ead['words'],_0x1bbb80=this['_nDataBytes']*0x8,_0x4a8eb2=_0x516ead[_0x3df321(0x1ed)]*0x8;_0x5a113a[_0x4a8eb2>>>0x5]|=0x80<<0x18-_0x4a8eb2%0x20;var _0x18486a=_0x363ed1[_0x3df321(0xab)](_0x1bbb80/0x100000000),_0x45a426=_0x1bbb80;_0x5a113a[(_0x4a8eb2+0x40>>>0x9<<0x4)+0xf]=(_0x18486a<<0x8|_0x18486a>>>0x18)&0xff00ff|(_0x18486a<<0x18|_0x18486a>>>0x8)&0xff00ff00,_0x5a113a[(_0x4a8eb2+0x40>>>0x9<<0x4)+0xe]=(_0x45a426<<0x8|_0x45a426>>>0x18)&0xff00ff|(_0x45a426<<0x18|_0x45a426>>>0x8)&0xff00ff00,_0x516ead[_0x3df321(0x1ed)]=(_0x5a113a['length']+0x1)*0x4,this[_0x3df321(0x2c8)]();for(var _0x2a6659=this[_0x3df321(0x129)],_0x518db8=_0x2a6659[_0x3df321(0xac)],_0x42f4f7=0x0;_0x42f4f7<0x4;_0x42f4f7++){var _0x587205=_0x518db8[_0x42f4f7];_0x518db8[_0x42f4f7]=(_0x587205<<0x8|_0x587205>>>0x18)&0xff00ff|(_0x587205<<0x18|_0x587205>>>0x8)&0xff00ff00;}return _0x2a6659;},'clone':function(){var _0x42a40a=_0x41747c,_0x48e9a9=_0x2c79c0[_0x42a40a(0x30c)]['call'](this);return _0x48e9a9[_0x42a40a(0x129)]=this[_0x42a40a(0x129)]['clone'](),_0x48e9a9;}});function _0x1cd328(_0x18963d,_0x4bf10d,_0x4685ff,_0x5a6476,_0x5d1400,_0x14c10a,_0x554417){var _0x2762c3=_0x18963d+(_0x4bf10d&_0x4685ff|~_0x4bf10d&_0x5a6476)+_0x5d1400+_0x554417;return(_0x2762c3<<_0x14c10a|_0x2762c3>>>0x20-_0x14c10a)+_0x4bf10d;}function _0xbe0173(_0x49f932,_0x39106e,_0x228dad,_0x9b97db,_0x527b10,_0x486bbf,_0x3a7f98){var _0x5e5d0f=_0x49f932+(_0x39106e&_0x9b97db|_0x228dad&~_0x9b97db)+_0x527b10+_0x3a7f98;return(_0x5e5d0f<<_0x486bbf|_0x5e5d0f>>>0x20-_0x486bbf)+_0x39106e;}function _0x56f5e1(_0x64e478,_0x3bc63a,_0x2683ee,_0x24fc96,_0x2c9d54,_0x1c12bd,_0x2934d2){var _0x168d64=_0x64e478+(_0x3bc63a^_0x2683ee^_0x24fc96)+_0x2c9d54+_0x2934d2;return(_0x168d64<<_0x1c12bd|_0x168d64>>>0x20-_0x1c12bd)+_0x3bc63a;}function _0x3e344f(_0x424352,_0x1cde27,_0x32932f,_0x4228b6,_0x31fa88,_0x3b7a67,_0x42c092){var _0x1c3d7d=_0x424352+(_0x32932f^(_0x1cde27|~_0x4228b6))+_0x31fa88+_0x42c092;return(_0x1c3d7d<<_0x3b7a67|_0x1c3d7d>>>0x20-_0x3b7a67)+_0x1cde27;}_0x81add9['MD5']=_0x2c79c0['_createHelper'](_0xd5a84),_0x81add9[_0x41747c(0x370)]=_0x2c79c0[_0x41747c(0xf6)](_0xd5a84);}(Math),_0x28f2c7['MD5'];}));}(Ye)),Ye[_0x3ff16c(0x1af)];}var Ke={'exports':{}},qe={'exports':{}},pn=qe['exports'],Xt;function mn(){return Xt||(Xt=0x1,function(_0x2ba417,_0x5b4dc9){(function(_0x41f565,_0x1cec97){var _0x4348df=_0x4c1a;_0x2ba417[_0x4348df(0x1af)]=_0x1cec97(te());}(pn,function(_0x5589b6){return(function(){var _0xfea7fa=_0x4c1a,_0x4a4006=_0x5589b6,_0x931151=_0x4a4006['lib'],_0x119207=_0x931151['WordArray'],_0x5be009=_0x931151[_0xfea7fa(0x1f2)],_0x1ade54=_0x4a4006[_0xfea7fa(0x213)],_0x1c964c=[],_0x4a2c69=_0x1ade54['SHA1']=_0x5be009[_0xfea7fa(0x1fb)]({'_doReset':function(){var _0x3fb42b=_0xfea7fa;this[_0x3fb42b(0x129)]=new _0x119207['init']([0x67452301,0xefcdab89,0x98badcfe,0x10325476,0xc3d2e1f0]);},'_doProcessBlock':function(_0x3f5a14,_0x1b7675){var _0x1271af=_0xfea7fa;for(var _0x586e46=this[_0x1271af(0x129)][_0x1271af(0xac)],_0x4b01c0=_0x586e46[0x0],_0x4e7c70=_0x586e46[0x1],_0xd21103=_0x586e46[0x2],_0x357aab=_0x586e46[0x3],_0x3c5695=_0x586e46[0x4],_0x579591=0x0;_0x579591<0x50;_0x579591++){if(_0x579591<0x10)_0x1c964c[_0x579591]=_0x3f5a14[_0x1b7675+_0x579591]|0x0;else{var _0x154f96=_0x1c964c[_0x579591-0x3]^_0x1c964c[_0x579591-0x8]^_0x1c964c[_0x579591-0xe]^_0x1c964c[_0x579591-0x10];_0x1c964c[_0x579591]=_0x154f96<<0x1|_0x154f96>>>0x1f;}var _0x21dea0=(_0x4b01c0<<0x5|_0x4b01c0>>>0x1b)+_0x3c5695+_0x1c964c[_0x579591];_0x579591<0x14?_0x21dea0+=(_0x4e7c70&_0xd21103|~_0x4e7c70&_0x357aab)+0x5a827999:_0x579591<0x28?_0x21dea0+=(_0x4e7c70^_0xd21103^_0x357aab)+0x6ed9eba1:_0x579591<0x3c?_0x21dea0+=(_0x4e7c70&_0xd21103|_0x4e7c70&_0x357aab|_0xd21103&_0x357aab)-0x70e44324:_0x21dea0+=(_0x4e7c70^_0xd21103^_0x357aab)-0x359d3e2a,_0x3c5695=_0x357aab,_0x357aab=_0xd21103,_0xd21103=_0x4e7c70<<0x1e|_0x4e7c70>>>0x2,_0x4e7c70=_0x4b01c0,_0x4b01c0=_0x21dea0;}_0x586e46[0x0]=_0x586e46[0x0]+_0x4b01c0|0x0,_0x586e46[0x1]=_0x586e46[0x1]+_0x4e7c70|0x0,_0x586e46[0x2]=_0x586e46[0x2]+_0xd21103|0x0,_0x586e46[0x3]=_0x586e46[0x3]+_0x357aab|0x0,_0x586e46[0x4]=_0x586e46[0x4]+_0x3c5695|0x0;},'_doFinalize':function(){var _0x3eabcf=_0xfea7fa,_0x2d8fd9=this['_data'],_0x2f7dfb=_0x2d8fd9[_0x3eabcf(0xac)],_0x4b462e=this[_0x3eabcf(0x2d3)]*0x8,_0x30c6bb=_0x2d8fd9[_0x3eabcf(0x1ed)]*0x8;return _0x2f7dfb[_0x30c6bb>>>0x5]|=0x80<<0x18-_0x30c6bb%0x20,_0x2f7dfb[(_0x30c6bb+0x40>>>0x9<<0x4)+0xe]=Math[_0x3eabcf(0xab)](_0x4b462e/0x100000000),_0x2f7dfb[(_0x30c6bb+0x40>>>0x9<<0x4)+0xf]=_0x4b462e,_0x2d8fd9[_0x3eabcf(0x1ed)]=_0x2f7dfb[_0x3eabcf(0x32b)]*0x4,this[_0x3eabcf(0x2c8)](),this[_0x3eabcf(0x129)];},'clone':function(){var _0x56119d=_0xfea7fa,_0x4709c0=_0x5be009[_0x56119d(0x30c)][_0x56119d(0x208)](this);return _0x4709c0[_0x56119d(0x129)]=this[_0x56119d(0x129)][_0x56119d(0x30c)](),_0x4709c0;}});_0x4a4006[_0xfea7fa(0x331)]=_0x5be009[_0xfea7fa(0x383)](_0x4a2c69),_0x4a4006[_0xfea7fa(0x198)]=_0x5be009['_createHmacHelper'](_0x4a2c69);}()),_0x5589b6['SHA1'];}));}(qe)),qe['exports'];}var ze={'exports':{}},gn=ze['exports'],Zt;function Sn(){return Zt||(Zt=0x1,function(_0x4ef059,_0xc56df){(function(_0x32cb83,_0x3da7f1){var _0x23bb00=_0x4c1a;_0x4ef059[_0x23bb00(0x1af)]=_0x3da7f1(te());}(gn,function(_0xbe4c19){(function(){var _0x2c55c2=_0x4c1a,_0xa27412=_0xbe4c19,_0x576e87=_0xa27412[_0x2c55c2(0x279)],_0x29e965=_0x576e87[_0x2c55c2(0x1cd)],_0x22ac64=_0xa27412[_0x2c55c2(0x174)],_0x2bdee9=_0x22ac64[_0x2c55c2(0x16b)],_0x365e15=_0xa27412['algo'];_0x365e15[_0x2c55c2(0x1aa)]=_0x29e965[_0x2c55c2(0x1fb)]({'init':function(_0x18d2f2,_0x4bbf0e){var _0x19c445=_0x2c55c2;_0x18d2f2=this[_0x19c445(0x1a9)]=new _0x18d2f2[(_0x19c445(0x221))](),typeof _0x4bbf0e==_0x19c445(0x285)&&(_0x4bbf0e=_0x2bdee9[_0x19c445(0x358)](_0x4bbf0e));var _0x27e924=_0x18d2f2[_0x19c445(0x139)],_0x4e7dfe=_0x27e924*0x4;_0x4bbf0e['sigBytes']>_0x4e7dfe&&(_0x4bbf0e=_0x18d2f2['finalize'](_0x4bbf0e)),_0x4bbf0e[_0x19c445(0x216)]();for(var _0x52e4d7=this[_0x19c445(0x16d)]=_0x4bbf0e[_0x19c445(0x30c)](),_0x178233=this[_0x19c445(0x294)]=_0x4bbf0e[_0x19c445(0x30c)](),_0x525439=_0x52e4d7['words'],_0x5f1f33=_0x178233[_0x19c445(0xac)],_0x544b4f=0x0;_0x544b4f<_0x27e924;_0x544b4f++)_0x525439[_0x544b4f]^=0x5c5c5c5c,_0x5f1f33[_0x544b4f]^=0x36363636;_0x52e4d7['sigBytes']=_0x178233['sigBytes']=_0x4e7dfe,this['reset']();},'reset':function(){var _0x7294e7=_0x2c55c2,_0x28175a=this[_0x7294e7(0x1a9)];_0x28175a[_0x7294e7(0x162)](),_0x28175a[_0x7294e7(0x7f)](this[_0x7294e7(0x294)]);},'update':function(_0x1d0447){var _0x2849a5=_0x2c55c2;return this['_hasher'][_0x2849a5(0x7f)](_0x1d0447),this;},'finalize':function(_0x3cc3fb){var _0x3a89fc=_0x2c55c2,_0x430746=this['_hasher'],_0x18912d=_0x430746[_0x3a89fc(0xc9)](_0x3cc3fb);_0x430746[_0x3a89fc(0x162)]();var _0x41b487=_0x430746[_0x3a89fc(0xc9)](this[_0x3a89fc(0x16d)][_0x3a89fc(0x30c)]()[_0x3a89fc(0x320)](_0x18912d));return _0x41b487;}});}());}));}(ze)),ze['exports'];}var En=Ke[_0x3085eb(0x1af)],Qt;function yi(){return Qt||(Qt=0x1,function(_0x4901bd,_0x461bfb){(function(_0x13eab8,_0x3cdfb1,_0x511cca){var _0x197d36=_0x4c1a;_0x4901bd[_0x197d36(0x1af)]=_0x3cdfb1(te(),mn(),Sn());}(En,function(_0x3fe470){var _0x46e982=_0x4c1a;return(function(){var _0x61cb43=_0x4c1a,_0x1e920d=_0x3fe470,_0x37bacf=_0x1e920d[_0x61cb43(0x279)],_0x2c343c=_0x37bacf[_0x61cb43(0x1cd)],_0x1822a0=_0x37bacf[_0x61cb43(0x180)],_0x48166f=_0x1e920d['algo'],_0x534855=_0x48166f['MD5'],_0x4c0bc3=_0x48166f['EvpKDF']=_0x2c343c[_0x61cb43(0x1fb)]({'cfg':_0x2c343c['extend']({'keySize':0x80/0x20,'hasher':_0x534855,'iterations':0x1}),'init':function(_0x48d56c){var _0x241bce=_0x61cb43;this['cfg']=this['cfg'][_0x241bce(0x1fb)](_0x48d56c);},'compute':function(_0x3334f4,_0x2bd843){var _0x2cdbb1=_0x61cb43;for(var _0x446c2d,_0x42b21a=this[_0x2cdbb1(0x35a)],_0x3f7b15=_0x42b21a[_0x2cdbb1(0x147)][_0x2cdbb1(0x205)](),_0x173d79=_0x1822a0[_0x2cdbb1(0x205)](),_0x4bab11=_0x173d79[_0x2cdbb1(0xac)],_0x294e92=_0x42b21a[_0x2cdbb1(0x2cf)],_0x58736d=_0x42b21a[_0x2cdbb1(0x257)];_0x4bab11['length']<_0x294e92;){_0x446c2d&&_0x3f7b15[_0x2cdbb1(0x7f)](_0x446c2d),_0x446c2d=_0x3f7b15[_0x2cdbb1(0x7f)](_0x3334f4)[_0x2cdbb1(0xc9)](_0x2bd843),_0x3f7b15[_0x2cdbb1(0x162)]();for(var _0x43dd9a=0x1;_0x43dd9a<_0x58736d;_0x43dd9a++)_0x446c2d=_0x3f7b15[_0x2cdbb1(0xc9)](_0x446c2d),_0x3f7b15[_0x2cdbb1(0x162)]();_0x173d79['concat'](_0x446c2d);}return _0x173d79[_0x2cdbb1(0x1ed)]=_0x294e92*0x4,_0x173d79;}});_0x1e920d[_0x61cb43(0x354)]=function(_0x56cce6,_0x20c4e2,_0x14ba95){var _0x842cbf=_0x61cb43;return _0x4c0bc3['create'](_0x14ba95)[_0x842cbf(0x114)](_0x56cce6,_0x20c4e2);};}()),_0x3fe470[_0x46e982(0x354)];}));}(Ke)),Ke['exports'];}var Je={'exports':{}},In=Je['exports'],ei;function Ni(){return ei||(ei=0x1,function(_0x38e577,_0x172107){(function(_0x42ade9,_0x10d386,_0x5f5c7a){_0x38e577['exports']=_0x10d386(te(),yi());}(In,function(_0x2e798c){var _0x24cdbf=_0x4c1a;_0x2e798c[_0x24cdbf(0x279)][_0x24cdbf(0x246)]||function(_0x209da7){var _0x15b10f=_0x24cdbf,_0x491188=_0x2e798c,_0x2a1ecd=_0x491188[_0x15b10f(0x279)],_0x48c234=_0x2a1ecd['Base'],_0x137fe3=_0x2a1ecd[_0x15b10f(0x180)],_0xa788fd=_0x2a1ecd[_0x15b10f(0xea)],_0x3c5e1c=_0x491188[_0x15b10f(0x174)];_0x3c5e1c['Utf8'];var _0x687daa=_0x3c5e1c['Base64'],_0x52f93a=_0x491188[_0x15b10f(0x213)],_0x5cd099=_0x52f93a['EvpKDF'],_0x1fc650=_0x2a1ecd['Cipher']=_0xa788fd[_0x15b10f(0x1fb)]({'cfg':_0x48c234['extend'](),'createEncryptor':function(_0x2654cb,_0x653ef6){var _0x4bde27=_0x15b10f;return this[_0x4bde27(0x205)](this[_0x4bde27(0x1c6)],_0x2654cb,_0x653ef6);},'createDecryptor':function(_0x3b2fdf,_0x2bd706){var _0x3111d7=_0x15b10f;return this[_0x3111d7(0x205)](this[_0x3111d7(0x8f)],_0x3b2fdf,_0x2bd706);},'init':function(_0x4ca914,_0x4f17ff,_0x41d5de){var _0x48e332=_0x15b10f;this[_0x48e332(0x35a)]=this[_0x48e332(0x35a)]['extend'](_0x41d5de),this[_0x48e332(0x223)]=_0x4ca914,this['_key']=_0x4f17ff,this['reset']();},'reset':function(){var _0x14d7e9=_0x15b10f;_0xa788fd[_0x14d7e9(0x162)]['call'](this),this['_doReset']();},'process':function(_0x76d4ca){var _0x22904d=_0x15b10f;return this[_0x22904d(0x149)](_0x76d4ca),this[_0x22904d(0x2c8)]();},'finalize':function(_0x1095bb){var _0x28f562=_0x15b10f;_0x1095bb&&this['_append'](_0x1095bb);var _0x3de361=this[_0x28f562(0xb1)]();return _0x3de361;},'keySize':0x80/0x20,'ivSize':0x80/0x20,'_ENC_XFORM_MODE':0x1,'_DEC_XFORM_MODE':0x2,'_createHelper':(function(){function _0xb5afe2(_0x3f74e6){var _0x2c10b1=_0x4c1a;return typeof _0x3f74e6==_0x2c10b1(0x285)?_0xad35c4:_0x279db0;}return function(_0x3ccd4a){return{'encrypt':function(_0x41b771,_0x31b951,_0xd7f8dc){var _0x574478=_0x4c1a;return _0xb5afe2(_0x31b951)[_0x574478(0x17e)](_0x3ccd4a,_0x41b771,_0x31b951,_0xd7f8dc);},'decrypt':function(_0x28a5b8,_0x44d993,_0x58c3fd){var _0x5dcab5=_0x4c1a;return _0xb5afe2(_0x44d993)[_0x5dcab5(0x359)](_0x3ccd4a,_0x28a5b8,_0x44d993,_0x58c3fd);}};};}())});_0x2a1ecd[_0x15b10f(0xe0)]=_0x1fc650[_0x15b10f(0x1fb)]({'_doFinalize':function(){var _0x1fd82a=_0x15b10f,_0x138527=this[_0x1fd82a(0x2c8)](!0x0);return _0x138527;},'blockSize':0x1});var _0x1e0137=_0x491188[_0x15b10f(0x100)]={},_0xf6456c=_0x2a1ecd[_0x15b10f(0x165)]=_0x48c234['extend']({'createEncryptor':function(_0x571d72,_0x1f621c){var _0x143c3a=_0x15b10f;return this[_0x143c3a(0x306)][_0x143c3a(0x205)](_0x571d72,_0x1f621c);},'createDecryptor':function(_0x564add,_0x55e5a4){var _0x42c610=_0x15b10f;return this[_0x42c610(0x196)][_0x42c610(0x205)](_0x564add,_0x55e5a4);},'init':function(_0x5c8533,_0x3d469e){var _0x36c9a0=_0x15b10f;this[_0x36c9a0(0x2ff)]=_0x5c8533,this[_0x36c9a0(0x2ee)]=_0x3d469e;}}),_0x5ac446=_0x1e0137['CBC']=(function(){var _0x4d1bdc=_0x15b10f,_0x414f45=_0xf6456c[_0x4d1bdc(0x1fb)]();_0x414f45[_0x4d1bdc(0x306)]=_0x414f45[_0x4d1bdc(0x1fb)]({'processBlock':function(_0x578fd0,_0x128d5c){var _0x5bda0f=_0x4d1bdc,_0x15a59e=this[_0x5bda0f(0x2ff)],_0x3afe8d=_0x15a59e[_0x5bda0f(0x139)];_0x49a837[_0x5bda0f(0x208)](this,_0x578fd0,_0x128d5c,_0x3afe8d),_0x15a59e[_0x5bda0f(0xfe)](_0x578fd0,_0x128d5c),this[_0x5bda0f(0x18f)]=_0x578fd0[_0x5bda0f(0x1f0)](_0x128d5c,_0x128d5c+_0x3afe8d);}}),_0x414f45[_0x4d1bdc(0x196)]=_0x414f45['extend']({'processBlock':function(_0x1de947,_0x1fad43){var _0x5e51a5=_0x4d1bdc,_0x5ceb29=this[_0x5e51a5(0x2ff)],_0x25b55e=_0x5ceb29[_0x5e51a5(0x139)],_0x400c65=_0x1de947[_0x5e51a5(0x1f0)](_0x1fad43,_0x1fad43+_0x25b55e);_0x5ceb29[_0x5e51a5(0x2d8)](_0x1de947,_0x1fad43),_0x49a837[_0x5e51a5(0x208)](this,_0x1de947,_0x1fad43,_0x25b55e),this[_0x5e51a5(0x18f)]=_0x400c65;}});function _0x49a837(_0xd0b961,_0x1af27f,_0x58e170){var _0x37aa60=_0x4d1bdc,_0x582269,_0x3e0793=this[_0x37aa60(0x2ee)];_0x3e0793?(_0x582269=_0x3e0793,this[_0x37aa60(0x2ee)]=_0x209da7):_0x582269=this[_0x37aa60(0x18f)];for(var _0x53bc87=0x0;_0x53bc87<_0x58e170;_0x53bc87++)_0xd0b961[_0x1af27f+_0x53bc87]^=_0x582269[_0x53bc87];}return _0x414f45;}()),_0x113d4d=_0x491188[_0x15b10f(0x360)]={},_0x3fb155=_0x113d4d[_0x15b10f(0x2e9)]={'pad':function(_0x500413,_0x4b88ab){var _0x157d61=_0x15b10f;for(var _0x2c714a=_0x4b88ab*0x4,_0x8588ce=_0x2c714a-_0x500413['sigBytes']%_0x2c714a,_0x23a3ae=_0x8588ce<<0x18|_0x8588ce<<0x10|_0x8588ce<<0x8|_0x8588ce,_0x39ac15=[],_0x55f341=0x0;_0x55f341<_0x8588ce;_0x55f341+=0x4)_0x39ac15[_0x157d61(0x1c3)](_0x23a3ae);var _0x94f4c6=_0x137fe3[_0x157d61(0x205)](_0x39ac15,_0x8588ce);_0x500413[_0x157d61(0x320)](_0x94f4c6);},'unpad':function(_0x4c7335){var _0x5ce88d=_0x15b10f,_0x45d228=_0x4c7335[_0x5ce88d(0xac)][_0x4c7335[_0x5ce88d(0x1ed)]-0x1>>>0x2]&0xff;_0x4c7335[_0x5ce88d(0x1ed)]-=_0x45d228;}};_0x2a1ecd['BlockCipher']=_0x1fc650['extend']({'cfg':_0x1fc650[_0x15b10f(0x35a)]['extend']({'mode':_0x5ac446,'padding':_0x3fb155}),'reset':function(){var _0x289254=_0x15b10f,_0x5d98e0;_0x1fc650['reset'][_0x289254(0x208)](this);var _0x10f9e0=this[_0x289254(0x35a)],_0x4858bc=_0x10f9e0['iv'],_0x6db5c0=_0x10f9e0['mode'];this[_0x289254(0x223)]==this['_ENC_XFORM_MODE']?_0x5d98e0=_0x6db5c0['createEncryptor']:(_0x5d98e0=_0x6db5c0['createDecryptor'],this['_minBufferSize']=0x1),this['_mode']&&this['_mode'][_0x289254(0xa8)]==_0x5d98e0?this[_0x289254(0x132)]['init'](this,_0x4858bc&&_0x4858bc[_0x289254(0xac)]):(this[_0x289254(0x132)]=_0x5d98e0[_0x289254(0x208)](_0x6db5c0,this,_0x4858bc&&_0x4858bc[_0x289254(0xac)]),this[_0x289254(0x132)][_0x289254(0xa8)]=_0x5d98e0);},'_doProcessBlock':function(_0x4ab225,_0x4e9347){var _0x4c5540=_0x15b10f;this['_mode'][_0x4c5540(0x337)](_0x4ab225,_0x4e9347);},'_doFinalize':function(){var _0x28deb5=_0x15b10f,_0x4ec76b,_0x524e04=this[_0x28deb5(0x35a)][_0x28deb5(0x27b)];return this[_0x28deb5(0x223)]==this[_0x28deb5(0x1c6)]?(_0x524e04[_0x28deb5(0x360)](this[_0x28deb5(0x1d7)],this[_0x28deb5(0x139)]),_0x4ec76b=this[_0x28deb5(0x2c8)](!0x0)):(_0x4ec76b=this[_0x28deb5(0x2c8)](!0x0),_0x524e04['unpad'](_0x4ec76b)),_0x4ec76b;},'blockSize':0x80/0x20});var _0x35bc10=_0x2a1ecd[_0x15b10f(0x261)]=_0x48c234[_0x15b10f(0x1fb)]({'init':function(_0x1054b1){var _0x606a49=_0x15b10f;this[_0x606a49(0x108)](_0x1054b1);},'toString':function(_0x2493dc){var _0x424e5f=_0x15b10f;return(_0x2493dc||this['formatter'])[_0x424e5f(0x356)](this);}}),_0x1c3f95=_0x491188[_0x15b10f(0xc4)]={},_0x5619b6=_0x1c3f95[_0x15b10f(0x234)]={'stringify':function(_0x1db388){var _0x27ff3b=_0x15b10f,_0x53b06d,_0x210c43=_0x1db388[_0x27ff3b(0x9c)],_0x5af06f=_0x1db388[_0x27ff3b(0x177)];return _0x5af06f?_0x53b06d=_0x137fe3[_0x27ff3b(0x205)]([0x53616c74,0x65645f5f])[_0x27ff3b(0x320)](_0x5af06f)['concat'](_0x210c43):_0x53b06d=_0x210c43,_0x53b06d['toString'](_0x687daa);},'parse':function(_0x7a12cb){var _0x1ba13e=_0x15b10f,_0x43774d,_0x133116=_0x687daa[_0x1ba13e(0x358)](_0x7a12cb),_0x2021f4=_0x133116[_0x1ba13e(0xac)];return _0x2021f4[0x0]==0x53616c74&&_0x2021f4[0x1]==0x65645f5f&&(_0x43774d=_0x137fe3['create'](_0x2021f4[_0x1ba13e(0x1f0)](0x2,0x4)),_0x2021f4['splice'](0x0,0x4),_0x133116[_0x1ba13e(0x1ed)]-=0x10),_0x35bc10['create']({'ciphertext':_0x133116,'salt':_0x43774d});}},_0x279db0=_0x2a1ecd[_0x15b10f(0x82)]=_0x48c234[_0x15b10f(0x1fb)]({'cfg':_0x48c234[_0x15b10f(0x1fb)]({'format':_0x5619b6}),'encrypt':function(_0x48a521,_0x786670,_0x5274c6,_0x506769){var _0x2aed57=_0x15b10f;_0x506769=this[_0x2aed57(0x35a)][_0x2aed57(0x1fb)](_0x506769);var _0x5191b7=_0x48a521[_0x2aed57(0x143)](_0x5274c6,_0x506769),_0x2a42d5=_0x5191b7[_0x2aed57(0xc9)](_0x786670),_0x3913c7=_0x5191b7[_0x2aed57(0x35a)];return _0x35bc10[_0x2aed57(0x205)]({'ciphertext':_0x2a42d5,'key':_0x5274c6,'iv':_0x3913c7['iv'],'algorithm':_0x48a521,'mode':_0x3913c7[_0x2aed57(0x100)],'padding':_0x3913c7[_0x2aed57(0x27b)],'blockSize':_0x48a521[_0x2aed57(0x139)],'formatter':_0x506769[_0x2aed57(0xc4)]});},'decrypt':function(_0x5db145,_0x2ed66c,_0x5d9688,_0x3b06b4){var _0x695d39=_0x15b10f;_0x3b06b4=this['cfg'][_0x695d39(0x1fb)](_0x3b06b4),_0x2ed66c=this[_0x695d39(0x1c0)](_0x2ed66c,_0x3b06b4[_0x695d39(0xc4)]);var _0x370a6c=_0x5db145[_0x695d39(0x2d9)](_0x5d9688,_0x3b06b4)[_0x695d39(0xc9)](_0x2ed66c[_0x695d39(0x9c)]);return _0x370a6c;},'_parse':function(_0x5f50c6,_0x56f0e4){var _0x237474=_0x15b10f;return typeof _0x5f50c6==_0x237474(0x285)?_0x56f0e4[_0x237474(0x358)](_0x5f50c6,this):_0x5f50c6;}}),_0x13e23b=_0x491188[_0x15b10f(0x167)]={},_0x7e4794=_0x13e23b[_0x15b10f(0x234)]={'execute':function(_0x59427d,_0x40d3fc,_0x3e0866,_0x4ac2c3,_0x375b9f){var _0x5eb872=_0x15b10f;if(_0x4ac2c3||(_0x4ac2c3=_0x137fe3[_0x5eb872(0x2de)](0x40/0x8)),_0x375b9f)var _0x691a14=_0x5cd099['create']({'keySize':_0x40d3fc+_0x3e0866,'hasher':_0x375b9f})[_0x5eb872(0x114)](_0x59427d,_0x4ac2c3);else var _0x691a14=_0x5cd099[_0x5eb872(0x205)]({'keySize':_0x40d3fc+_0x3e0866})[_0x5eb872(0x114)](_0x59427d,_0x4ac2c3);var _0x573992=_0x137fe3[_0x5eb872(0x205)](_0x691a14[_0x5eb872(0xac)][_0x5eb872(0x1f0)](_0x40d3fc),_0x3e0866*0x4);return _0x691a14[_0x5eb872(0x1ed)]=_0x40d3fc*0x4,_0x35bc10[_0x5eb872(0x205)]({'key':_0x691a14,'iv':_0x573992,'salt':_0x4ac2c3});}},_0xad35c4=_0x2a1ecd[_0x15b10f(0x113)]=_0x279db0[_0x15b10f(0x1fb)]({'cfg':_0x279db0['cfg'][_0x15b10f(0x1fb)]({'kdf':_0x7e4794}),'encrypt':function(_0x21be61,_0x13dc5d,_0x4c0252,_0x35c574){var _0x19560a=_0x15b10f;_0x35c574=this[_0x19560a(0x35a)][_0x19560a(0x1fb)](_0x35c574);var _0x264ad3=_0x35c574[_0x19560a(0x167)]['execute'](_0x4c0252,_0x21be61[_0x19560a(0x2cf)],_0x21be61[_0x19560a(0x10d)],_0x35c574['salt'],_0x35c574['hasher']);_0x35c574['iv']=_0x264ad3['iv'];var _0x4c0218=_0x279db0[_0x19560a(0x17e)][_0x19560a(0x208)](this,_0x21be61,_0x13dc5d,_0x264ad3[_0x19560a(0x105)],_0x35c574);return _0x4c0218['mixIn'](_0x264ad3),_0x4c0218;},'decrypt':function(_0xd3be64,_0x3eedbf,_0x116651,_0x159259){var _0x1cf1af=_0x15b10f;_0x159259=this[_0x1cf1af(0x35a)][_0x1cf1af(0x1fb)](_0x159259),_0x3eedbf=this[_0x1cf1af(0x1c0)](_0x3eedbf,_0x159259[_0x1cf1af(0xc4)]);var _0x3b6344=_0x159259[_0x1cf1af(0x167)][_0x1cf1af(0x311)](_0x116651,_0xd3be64[_0x1cf1af(0x2cf)],_0xd3be64[_0x1cf1af(0x10d)],_0x3eedbf[_0x1cf1af(0x177)],_0x159259[_0x1cf1af(0x147)]);_0x159259['iv']=_0x3b6344['iv'];var _0x5d5502=_0x279db0[_0x1cf1af(0x359)][_0x1cf1af(0x208)](this,_0xd3be64,_0x3eedbf,_0x3b6344[_0x1cf1af(0x105)],_0x159259);return _0x5d5502;}});}();}));}(Je)),Je['exports'];}var Tn=Ve[_0x3085eb(0x1af)],ti;function Cn(){var _0x22e063=_0x3085eb;return ti||(ti=0x1,function(_0x1cc05d,_0x338999){(function(_0x315265,_0x42f75f,_0xb1bb9e){var _0x310ffd=_0x4c1a;_0x1cc05d[_0x310ffd(0x1af)]=_0x42f75f(te(),Oi(),vn(),yi(),Ni());}(Tn,function(_0x1de6a7){var _0x401e50=_0x4c1a;return(function(){var _0x19a094=_0x4c1a,_0x14a5f4=_0x1de6a7,_0x2274dd=_0x14a5f4['lib'],_0x47e174=_0x2274dd[_0x19a094(0x10c)],_0x22d194=_0x14a5f4[_0x19a094(0x213)],_0x1eab4e=[],_0x52e6b8=[],_0x449e07=[],_0x23194d=[],_0x14eb92=[],_0x4b8f3f=[],_0x11a2ee=[],_0x289e97=[],_0x31cd26=[],_0x432513=[];(function(){for(var _0x2ecb2c=[],_0x4a6655=0x0;_0x4a6655<0x100;_0x4a6655++)_0x4a6655<0x80?_0x2ecb2c[_0x4a6655]=_0x4a6655<<0x1:_0x2ecb2c[_0x4a6655]=_0x4a6655<<0x1^0x11b;for(var _0x381fa0=0x0,_0x12fd69=0x0,_0x4a6655=0x0;_0x4a6655<0x100;_0x4a6655++){var _0x4512cf=_0x12fd69^_0x12fd69<<0x1^_0x12fd69<<0x2^_0x12fd69<<0x3^_0x12fd69<<0x4;_0x4512cf=_0x4512cf>>>0x8^_0x4512cf&0xff^0x63,_0x1eab4e[_0x381fa0]=_0x4512cf,_0x52e6b8[_0x4512cf]=_0x381fa0;var _0x4f2e05=_0x2ecb2c[_0x381fa0],_0x596000=_0x2ecb2c[_0x4f2e05],_0x11ec53=_0x2ecb2c[_0x596000],_0x470630=_0x2ecb2c[_0x4512cf]*0x101^_0x4512cf*0x1010100;_0x449e07[_0x381fa0]=_0x470630<<0x18|_0x470630>>>0x8,_0x23194d[_0x381fa0]=_0x470630<<0x10|_0x470630>>>0x10,_0x14eb92[_0x381fa0]=_0x470630<<0x8|_0x470630>>>0x18,_0x4b8f3f[_0x381fa0]=_0x470630;var _0x470630=_0x11ec53*0x1010101^_0x596000*0x10001^_0x4f2e05*0x101^_0x381fa0*0x1010100;_0x11a2ee[_0x4512cf]=_0x470630<<0x18|_0x470630>>>0x8,_0x289e97[_0x4512cf]=_0x470630<<0x10|_0x470630>>>0x10,_0x31cd26[_0x4512cf]=_0x470630<<0x8|_0x470630>>>0x18,_0x432513[_0x4512cf]=_0x470630,_0x381fa0?(_0x381fa0=_0x4f2e05^_0x2ecb2c[_0x2ecb2c[_0x2ecb2c[_0x11ec53^_0x4f2e05]]],_0x12fd69^=_0x2ecb2c[_0x2ecb2c[_0x12fd69]]):_0x381fa0=_0x12fd69=0x1;}}());var _0x2d00f6=[0x0,0x1,0x2,0x4,0x8,0x10,0x20,0x40,0x80,0x1b,0x36],_0x2ad89a=_0x22d194[_0x19a094(0x1e7)]=_0x47e174[_0x19a094(0x1fb)]({'_doReset':function(){var _0xb4a11=_0x19a094,_0x2b7311;if(!(this[_0xb4a11(0x2bc)]&&this[_0xb4a11(0x110)]===this[_0xb4a11(0x36f)])){for(var _0x4aea41=this[_0xb4a11(0x110)]=this['_key'],_0xa4418c=_0x4aea41[_0xb4a11(0xac)],_0x560911=_0x4aea41['sigBytes']/0x4,_0x14df9a=this[_0xb4a11(0x2bc)]=_0x560911+0x6,_0x702cf9=(_0x14df9a+0x1)*0x4,_0x2d68e9=this[_0xb4a11(0x189)]=[],_0x18b269=0x0;_0x18b269<_0x702cf9;_0x18b269++)_0x18b269<_0x560911?_0x2d68e9[_0x18b269]=_0xa4418c[_0x18b269]:(_0x2b7311=_0x2d68e9[_0x18b269-0x1],_0x18b269%_0x560911?_0x560911>0x6&&_0x18b269%_0x560911==0x4&&(_0x2b7311=_0x1eab4e[_0x2b7311>>>0x18]<<0x18|_0x1eab4e[_0x2b7311>>>0x10&0xff]<<0x10|_0x1eab4e[_0x2b7311>>>0x8&0xff]<<0x8|_0x1eab4e[_0x2b7311&0xff]):(_0x2b7311=_0x2b7311<<0x8|_0x2b7311>>>0x18,_0x2b7311=_0x1eab4e[_0x2b7311>>>0x18]<<0x18|_0x1eab4e[_0x2b7311>>>0x10&0xff]<<0x10|_0x1eab4e[_0x2b7311>>>0x8&0xff]<<0x8|_0x1eab4e[_0x2b7311&0xff],_0x2b7311^=_0x2d00f6[_0x18b269/_0x560911|0x0]<<0x18),_0x2d68e9[_0x18b269]=_0x2d68e9[_0x18b269-_0x560911]^_0x2b7311);for(var _0xe6a766=this[_0xb4a11(0x1b1)]=[],_0x58bd5b=0x0;_0x58bd5b<_0x702cf9;_0x58bd5b++){var _0x18b269=_0x702cf9-_0x58bd5b;if(_0x58bd5b%0x4)var _0x2b7311=_0x2d68e9[_0x18b269];else var _0x2b7311=_0x2d68e9[_0x18b269-0x4];_0x58bd5b<0x4||_0x18b269<=0x4?_0xe6a766[_0x58bd5b]=_0x2b7311:_0xe6a766[_0x58bd5b]=_0x11a2ee[_0x1eab4e[_0x2b7311>>>0x18]]^_0x289e97[_0x1eab4e[_0x2b7311>>>0x10&0xff]]^_0x31cd26[_0x1eab4e[_0x2b7311>>>0x8&0xff]]^_0x432513[_0x1eab4e[_0x2b7311&0xff]];}}},'encryptBlock':function(_0x1311b6,_0x50aa37){var _0x41d704=_0x19a094;this['_doCryptBlock'](_0x1311b6,_0x50aa37,this[_0x41d704(0x189)],_0x449e07,_0x23194d,_0x14eb92,_0x4b8f3f,_0x1eab4e);},'decryptBlock':function(_0x1e11e3,_0x513348){var _0x2ff1d2=_0x19a094,_0x46b20c=_0x1e11e3[_0x513348+0x1];_0x1e11e3[_0x513348+0x1]=_0x1e11e3[_0x513348+0x3],_0x1e11e3[_0x513348+0x3]=_0x46b20c,this[_0x2ff1d2(0x136)](_0x1e11e3,_0x513348,this[_0x2ff1d2(0x1b1)],_0x11a2ee,_0x289e97,_0x31cd26,_0x432513,_0x52e6b8);var _0x46b20c=_0x1e11e3[_0x513348+0x1];_0x1e11e3[_0x513348+0x1]=_0x1e11e3[_0x513348+0x3],_0x1e11e3[_0x513348+0x3]=_0x46b20c;},'_doCryptBlock':function(_0x18146f,_0x155f62,_0xc182f3,_0xd25a66,_0x5a5564,_0xa59b39,_0x141c76,_0x52621f){var _0x1044dd=_0x19a094;for(var _0x26a2ef=this[_0x1044dd(0x2bc)],_0x801a5b=_0x18146f[_0x155f62]^_0xc182f3[0x0],_0x3f69a0=_0x18146f[_0x155f62+0x1]^_0xc182f3[0x1],_0x5123ad=_0x18146f[_0x155f62+0x2]^_0xc182f3[0x2],_0x424c7a=_0x18146f[_0x155f62+0x3]^_0xc182f3[0x3],_0x4c38c6=0x4,_0x463841=0x1;_0x463841<_0x26a2ef;_0x463841++){var _0x3cc7d6=_0xd25a66[_0x801a5b>>>0x18]^_0x5a5564[_0x3f69a0>>>0x10&0xff]^_0xa59b39[_0x5123ad>>>0x8&0xff]^_0x141c76[_0x424c7a&0xff]^_0xc182f3[_0x4c38c6++],_0x5d8a7f=_0xd25a66[_0x3f69a0>>>0x18]^_0x5a5564[_0x5123ad>>>0x10&0xff]^_0xa59b39[_0x424c7a>>>0x8&0xff]^_0x141c76[_0x801a5b&0xff]^_0xc182f3[_0x4c38c6++],_0x2b56d6=_0xd25a66[_0x5123ad>>>0x18]^_0x5a5564[_0x424c7a>>>0x10&0xff]^_0xa59b39[_0x801a5b>>>0x8&0xff]^_0x141c76[_0x3f69a0&0xff]^_0xc182f3[_0x4c38c6++],_0x29f387=_0xd25a66[_0x424c7a>>>0x18]^_0x5a5564[_0x801a5b>>>0x10&0xff]^_0xa59b39[_0x3f69a0>>>0x8&0xff]^_0x141c76[_0x5123ad&0xff]^_0xc182f3[_0x4c38c6++];_0x801a5b=_0x3cc7d6,_0x3f69a0=_0x5d8a7f,_0x5123ad=_0x2b56d6,_0x424c7a=_0x29f387;}var _0x3cc7d6=(_0x52621f[_0x801a5b>>>0x18]<<0x18|_0x52621f[_0x3f69a0>>>0x10&0xff]<<0x10|_0x52621f[_0x5123ad>>>0x8&0xff]<<0x8|_0x52621f[_0x424c7a&0xff])^_0xc182f3[_0x4c38c6++],_0x5d8a7f=(_0x52621f[_0x3f69a0>>>0x18]<<0x18|_0x52621f[_0x5123ad>>>0x10&0xff]<<0x10|_0x52621f[_0x424c7a>>>0x8&0xff]<<0x8|_0x52621f[_0x801a5b&0xff])^_0xc182f3[_0x4c38c6++],_0x2b56d6=(_0x52621f[_0x5123ad>>>0x18]<<0x18|_0x52621f[_0x424c7a>>>0x10&0xff]<<0x10|_0x52621f[_0x801a5b>>>0x8&0xff]<<0x8|_0x52621f[_0x3f69a0&0xff])^_0xc182f3[_0x4c38c6++],_0x29f387=(_0x52621f[_0x424c7a>>>0x18]<<0x18|_0x52621f[_0x801a5b>>>0x10&0xff]<<0x10|_0x52621f[_0x3f69a0>>>0x8&0xff]<<0x8|_0x52621f[_0x5123ad&0xff])^_0xc182f3[_0x4c38c6++];_0x18146f[_0x155f62]=_0x3cc7d6,_0x18146f[_0x155f62+0x1]=_0x5d8a7f,_0x18146f[_0x155f62+0x2]=_0x2b56d6,_0x18146f[_0x155f62+0x3]=_0x29f387;},'keySize':0x100/0x20});_0x14a5f4['AES']=_0x47e174['_createHelper'](_0x2ad89a);}()),_0x1de6a7[_0x401e50(0x1e7)];}));}(Ve)),Ve[_0x22e063(0x1af)];}var Rn=Cn();const bn=$e(Rn);var On=Oi();const ii=$e(On);var Xe={'exports':{}},yn=Xe['exports'],si;function Nn(){var _0x6257d9=_0x3085eb;return si||(si=0x1,function(_0x4346a1,_0x56823f){(function(_0x4fef77,_0x27977d){var _0x5b051f=_0x4c1a;_0x4346a1[_0x5b051f(0x1af)]=_0x27977d(te());}(yn,function(_0xe340a2){var _0x2850f6=_0x4c1a;return _0xe340a2['enc'][_0x2850f6(0x16b)];}));}(Xe)),Xe[_0x6257d9(0x1af)];}var Dn=Nn();const Un=$e(Dn);var Ze={'exports':{}},An=Ze[_0x3085eb(0x1af)],ni;function wn(){var _0x5f13f7=_0x3085eb;return ni||(ni=0x1,function(_0x52b269,_0x416b49){(function(_0x4e34d7,_0x5b5ecb){var _0x2456c9=_0x4c1a;_0x52b269[_0x2456c9(0x1af)]=_0x5b5ecb(te());}(An,function(_0x2b2995){var _0x466f6c=_0x4c1a;return(function(){var _0x47172e=_0x4c1a;if(typeof ArrayBuffer==_0x47172e(0x2ae)){var _0x3007f0=_0x2b2995,_0x576e0c=_0x3007f0['lib'],_0xc00cfa=_0x576e0c[_0x47172e(0x180)],_0x11c412=_0xc00cfa[_0x47172e(0x221)],_0x46df5c=_0xc00cfa[_0x47172e(0x221)]=function(_0x2e1cdb){var _0x4780e3=_0x47172e;if(_0x2e1cdb instanceof ArrayBuffer&&(_0x2e1cdb=new Uint8Array(_0x2e1cdb)),(_0x2e1cdb instanceof Int8Array||typeof Uint8ClampedArray<'u'&&_0x2e1cdb instanceof Uint8ClampedArray||_0x2e1cdb instanceof Int16Array||_0x2e1cdb instanceof Uint16Array||_0x2e1cdb instanceof Int32Array||_0x2e1cdb instanceof Uint32Array||_0x2e1cdb instanceof Float32Array||_0x2e1cdb instanceof Float64Array)&&(_0x2e1cdb=new Uint8Array(_0x2e1cdb[_0x4780e3(0x163)],_0x2e1cdb[_0x4780e3(0x284)],_0x2e1cdb[_0x4780e3(0x1f1)])),_0x2e1cdb instanceof Uint8Array){for(var _0x391f3c=_0x2e1cdb[_0x4780e3(0x1f1)],_0x482e50=[],_0x52aac4=0x0;_0x52aac4<_0x391f3c;_0x52aac4++)_0x482e50[_0x52aac4>>>0x2]|=_0x2e1cdb[_0x52aac4]<<0x18-_0x52aac4%0x4*0x8;_0x11c412['call'](this,_0x482e50,_0x391f3c);}else _0x11c412[_0x4780e3(0x1a0)](this,arguments);};_0x46df5c[_0x47172e(0xe2)]=_0xc00cfa;}}()),_0x2b2995[_0x466f6c(0x279)][_0x466f6c(0x180)];}));}(Ze)),Ze[_0x5f13f7(0x1af)];}var Pn=wn();const Ln=$e(Pn);var Qe={'exports':{}},Mn=Qe['exports'],ri;function xn(){var _0x1c204f=_0x3085eb;return ri||(ri=0x1,function(_0x410896,_0x28657d){(function(_0x485c76,_0x1015c7,_0x9f74ea){var _0x5eb591=_0x4c1a;_0x410896[_0x5eb591(0x1af)]=_0x1015c7(te(),Ni());}(Mn,function(_0x5afce5){var _0x1d3a12=_0x4c1a;return _0x5afce5[_0x1d3a12(0x360)][_0x1d3a12(0x10f)]={'pad':function(){},'unpad':function(){}},_0x5afce5[_0x1d3a12(0x360)][_0x1d3a12(0x10f)];}));}(Qe)),Qe[_0x1c204f(0x1af)];}var kn=xn();const $n=$e(kn);function Hn(_0x5c0d81,_0x2cb4fe){var _0x245ba6=_0x3085eb;const _0x30bd04=_0x2cb4fe-_0x5c0d81[_0x245ba6(0x32b)]%_0x2cb4fe,_0x1feec0=String['fromCharCode'](_0x30bd04)[_0x245ba6(0x14a)](_0x30bd04);return _0x5c0d81+_0x1feec0;}function Bn(_0x421e4e,_0x3ba496){var _0x6fb4b=_0x3085eb;const _0x3d093f=Ln[_0x6fb4b(0x2de)](0x10),_0x3c43a7=Hn(_0x421e4e,0x10),_0x54e0f9=bn['encrypt'](Un['parse'](_0x3c43a7),ii[_0x6fb4b(0x358)](_0x3ba496),{'iv':_0x3d093f,'padding':$n});return _0x3d093f[_0x6fb4b(0x320)](_0x54e0f9['ciphertext'])[_0x6fb4b(0x1a5)](ii);}function jn(){var _0x268103=_0x3085eb;const _0x4d48fa=_0x30eed1()['__Key__'];if(_0x4d48fa){const _0x22d565={'time':Math[_0x268103(0xab)](Date['now']()/0x3e8),'domain':location[_0x268103(0xb6)]};return Bn(JSON[_0x268103(0x356)](_0x22d565),_0x4d48fa);}}var Fn=Object['getOwnPropertyDescriptor'],Vn=(_0xae3ce3,_0x398c9d,_0x322f92,_0x3c7ccf)=>{var _0x38d1ca=_0x3085eb;for(var _0x1b0b40=_0x3c7ccf>0x1?void 0x0:_0x3c7ccf?Fn(_0x398c9d,_0x322f92):_0x398c9d,_0x5248b6=_0xae3ce3[_0x38d1ca(0x32b)]-0x1,_0x4b152a;_0x5248b6>=0x0;_0x5248b6--)(_0x4b152a=_0xae3ce3[_0x5248b6])&&(_0x1b0b40=_0x4b152a(_0x1b0b40)||_0x1b0b40);return _0x1b0b40;},Gn=(_0x1b0773,_0x392462)=>(_0x3a156d,_0x139b83)=>_0x392462(_0x3a156d,_0x139b83,_0x1b0773);let at=class{constructor(_0x1672f1){var _0x49aa0f=_0x3085eb;this[_0x49aa0f(0x374)]=_0x1672f1,this[_0x49aa0f(0x271)]();}[_0x3085eb(0x271)](){var _0x589105=_0x3085eb;this[_0x589105(0x374)]['registerHTTPInterceptor']({'interceptor':(_0x3114d5,_0x35e38f)=>{var _0x3ecd31=_0x589105;const _0x22c405=_0x3114d5[_0x3ecd31(0x16a)],_0x33b2eb=jn();return _0x33b2eb&&_0x22c405['set']('x-univer-host',_0x33b2eb),_0x35e38f(_0x3114d5);}});}};at=Vn([Gn(0x0,_0x53dfbc(_0xfd6f9c))],at);var Wn=Object[_0x3085eb(0x2b1)],Yn=(_0xaff357,_0x280c40,_0x4c7766,_0x372315)=>{var _0x17aa95=_0x3085eb;for(var _0x2e3f42=_0x372315>0x1?void 0x0:_0x372315?Wn(_0x280c40,_0x4c7766):_0x280c40,_0x127af5=_0xaff357[_0x17aa95(0x32b)]-0x1,_0x4f8f24;_0x127af5>=0x0;_0x127af5--)(_0x4f8f24=_0xaff357[_0x127af5])&&(_0x2e3f42=_0x4f8f24(_0x2e3f42)||_0x2e3f42);return _0x2e3f42;},vt=(_0x2d85d3,_0x3db64c)=>(_0x130389,_0x246898)=>_0x3db64c(_0x130389,_0x246898,_0x2d85d3);let Ct=class extends _0x38ff91{constructor(_0x51f206,_0x4c61e1,_0x52928f){var _0x25c8f3=_0x3085eb;super(),N(this,_0x25c8f3(0x333),new _0x5bc647(null)),N(this,_0x25c8f3(0x32a),this[_0x25c8f3(0x333)]['asObservable']()),(this[_0x25c8f3(0x266)]=_0x51f206,this[_0x25c8f3(0x152)]=_0x4c61e1,this[_0x25c8f3(0x231)]=_0x52928f);}async['loadUnitOfRevision'](_0x38db6a,_0x43e11a,_0x5a050f){var _0x5bdd9d=_0x3085eb;this[_0x5bdd9d(0x333)][_0x5bdd9d(0x1c4)]({'unitId':_0x38db6a,'type':_0x43e11a});let _0x19ebb3=null;switch(_0x43e11a){case Z['UNIVER_SHEET']:{_0x19ebb3=await this[_0x5bdd9d(0x152)][_0x5bdd9d(0x1ba)](_0x38db6a,_0x5a050f);break;}case Z[_0x5bdd9d(0x9a)]:{_0x19ebb3=await this['_snapshotService'][_0x5bdd9d(0x83)](_0x38db6a,_0x5a050f);break;}default:{this['_logService'][_0x5bdd9d(0x269)](_0x5bdd9d(0x314),'Unknown\x20type.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.');break;}}return _0x19ebb3;}async[_0x3085eb(0x23d)](_0x35f55f,_0x24c649,_0xf9151d){var _0x593450=_0x3085eb,_0x3d9079;this[_0x593450(0x333)][_0x593450(0x1c4)]({'unitId':_0x35f55f,'type':_0x24c649,'subUnitId':_0xf9151d});let _0x1b069b=0x0;const _0x924f2e=await((_0x3d9079=this[_0x593450(0x231)])==null?void 0x0:_0x3d9079[_0x593450(0x275)](_0x35f55f));return _0x924f2e&&(_0x924f2e[_0x593450(0x2f2)]||_0x924f2e[_0x593450(0x29f)][_0x593450(0x32b)]!==0x0)&&(_0x1b069b=_0x924f2e['rev']),_0x1b069b===0x0&&this[_0x593450(0x266)][_0x593450(0x11b)]('[DataLoaderService]',_0x593450(0x126)),this[_0x593450(0x123)](_0x35f55f,_0x24c649,_0x1b069b);}};Ct=Yn([vt(0x0,_0x482beb),vt(0x1,_0x53dfbc(_0x3da356)),vt(0x2,_0x1c5f22(J))],Ct);var Kn=Object[_0x3085eb(0x2b1)],qn=(_0x437ea4,_0x4a2433,_0x32d1a4,_0x8c5cd1)=>{var _0x6e54c9=_0x3085eb;for(var _0x318f84=_0x8c5cd1>0x1?void 0x0:_0x8c5cd1?Kn(_0x4a2433,_0x32d1a4):_0x4a2433,_0x5a7fca=_0x437ea4[_0x6e54c9(0x32b)]-0x1,_0xb33bc7;_0x5a7fca>=0x0;_0x5a7fca--)(_0xb33bc7=_0x437ea4[_0x5a7fca])&&(_0x318f84=_0xb33bc7(_0x318f84)||_0x318f84);return _0x318f84;},pt=(_0x28b58c,_0xb48bb3)=>(_0x92d7f0,_0x2ab88b)=>_0xb48bb3(_0x92d7f0,_0x2ab88b,_0x28b58c);const zn=['image/png',_0x3085eb(0x95),_0x3085eb(0x2f7),_0x3085eb(0xd1),_0x3085eb(0x351)],Jn=0x5*0x400*0x400,Xn=_0x3085eb(0x31c),Zn=_0x3085eb(0x1d6),Qn=_0x3085eb(0x1e4),er=_0x3085eb(0x35e);let Rt=class{constructor(_0x5bdb45,_0x401834,_0x439f96){var _0xba9d3c=_0x3085eb;N(this,_0xba9d3c(0x2a0),0x0),N(this,_0xba9d3c(0x22f),new _0x2445c4()),N(this,_0xba9d3c(0x254),this[_0xba9d3c(0x22f)]),N(this,_0xba9d3c(0x340),new Map()),(this[_0xba9d3c(0x374)]=_0x5bdb45,this[_0xba9d3c(0x201)]=_0x401834,this[_0xba9d3c(0x25b)]=_0x439f96);}['setWaitCount'](_0x5a0062){var _0x2bfadb=_0x3085eb;this[_0x2bfadb(0x2a0)]=_0x5a0062,this[_0x2bfadb(0x22f)][_0x2bfadb(0x1c4)](_0x5a0062);}[_0x3085eb(0x1ce)](_0x3fdf25,_0x1ab7de){var _0x43cce0=_0x3085eb;if(_0x1ab7de===_0x583a19[_0x43cce0(0x236)]){const _0x114818=new Image();return _0x114818[_0x43cce0(0x2a2)]=_0x3fdf25,_0x114818;}return this[_0x43cce0(0x340)][_0x43cce0(0x21f)](_0x3fdf25);}[_0x3085eb(0x330)](_0x27287c,_0x1c2f0a,_0x576311){var _0x1c27e1=_0x3085eb;_0x1c2f0a===_0x583a19[_0x1c27e1(0x236)]||_0x576311==null||this[_0x1c27e1(0x340)]['set'](_0x27287c,_0x576311);}async['getImage'](_0x23b27d){var _0x286de9=_0x3085eb;try{const _0x566b50=this[_0x286de9(0x170)](this[_0x286de9(0x2d2)](),''+_0x23b27d),_0x25b7b3=(await this[_0x286de9(0x374)][_0x286de9(0x21f)](_0x566b50))[_0x286de9(0x222)];if(_0x25b7b3['error']&&_0x25b7b3[_0x286de9(0x269)][_0x286de9(0x19d)]===pi['OK']){const _0x16275f=new URL(_0x25b7b3[_0x286de9(0xa2)],this['_getDownloadEndpointURL']())[_0x286de9(0x1a5)]();return Promise[_0x286de9(0x176)](_0x16275f);}return Promise[_0x286de9(0x262)](_0x25b7b3[_0x286de9(0x269)]);}catch(_0x119c16){return Promise[_0x286de9(0x262)](_0x119c16);}}async[_0x3085eb(0x12b)](_0x3d104d){var _0x266bc5=_0x3085eb;let _0x1909b9='';if(!zn[_0x266bc5(0x21d)](_0x3d104d[_0x266bc5(0x256)]))return this[_0x266bc5(0x88)](),Promise['reject'](new Error(_0x4dbfd5[_0x266bc5(0x87)]));if(_0x3d104d[_0x266bc5(0x233)]>Jn)return this[_0x266bc5(0x88)](),Promise[_0x266bc5(0x262)](new Error(_0x4dbfd5['ERROR_EXCEED_SIZE']));try{const _0x3de157=new FormData();_0x3de157['append'](_0x266bc5(0x30b),_0x3d104d);const _0x33b71c=this[_0x266bc5(0x25b)][_0x266bc5(0xe7)](),_0x498700=_0x33b71c==null?void 0x0:_0x33b71c[_0x266bc5(0x309)]();if(!_0x498700)throw new Error('unitId\x20is\x20not\x20found');const _0x2700b1=this[_0x266bc5(0x316)]()+_0x266bc5(0x264)+_0x3d104d[_0x266bc5(0x233)]['toString']()+_0x266bc5(0xae)+mi[_0x266bc5(0x18d)]+'&assign='+encodeURIComponent(_0x498700),_0x27814f={'body':_0x3de157},_0x46158b=(await this[_0x266bc5(0x374)][_0x266bc5(0x125)](_0x2700b1,_0x27814f))[_0x266bc5(0x222)];if(typeof _0x46158b[_0x266bc5(0x14c)]!=_0x266bc5(0x285))return this['_decreaseWaiting'](),Promise[_0x266bc5(0x262)](new Error(_0x4dbfd5['ERROR_IMAGE']));_0x1909b9=_0x46158b[_0x266bc5(0x14c)];}catch{return this[_0x266bc5(0x88)](),Promise[_0x266bc5(0x262)](new Error(_0x4dbfd5[_0x266bc5(0x2c5)]));}return new Promise((_0x276eae,_0x2f4563)=>{var _0x33efed=_0x266bc5;const _0x3353e7=new FileReader();_0x3353e7[_0x33efed(0x199)](_0x3d104d),_0x3353e7[_0x33efed(0x380)]=_0x1be434=>{var _0x4cf258=_0x33efed,_0x55ecd7;const _0x40f59d=(_0x55ecd7=_0x1be434[_0x4cf258(0x1dc)])==null?void 0x0:_0x55ecd7[_0x4cf258(0x247)];if(_0x40f59d==null){this[_0x4cf258(0x88)](),_0x2f4563(new Error(_0x4dbfd5[_0x4cf258(0x2c5)]));return;}const _0x84a930=_0x8a68d4[_0x4cf258(0xfa)](0x6);_0x276eae({'imageId':_0x84a930,'imageSourceType':_0x583a19[_0x4cf258(0x26d)],'source':_0x1909b9,'base64Cache':_0x40f59d,'status':_0x4dbfd5[_0x4cf258(0x300)]}),this[_0x4cf258(0x88)]();};});}['_getUploadFileURL'](){var _0x57ea39=_0x3085eb,_0x3ed6a5,_0x53670f;const _0x3608ff=this[_0x57ea39(0x201)][_0x57ea39(0xa6)](Xn),_0x2ee12f=this[_0x57ea39(0x201)][_0x57ea39(0xa6)](K);return(_0x53670f=(_0x3ed6a5=_0x2ee12f==null?void 0x0:_0x2ee12f[_0x57ea39(0x2dc)])!=null?_0x3ed6a5:_0x3608ff)!=null?_0x53670f:Zn;}[_0x3085eb(0x2d2)](){var _0x10af5e=_0x3085eb,_0x26d32b,_0x30b32b;const _0x5abce7=this[_0x10af5e(0x201)][_0x10af5e(0xa6)](Qn),_0xa228a8=this['_configService'][_0x10af5e(0xa6)](K);return(_0x30b32b=(_0x26d32b=_0xa228a8==null?void 0x0:_0xa228a8['signUrlServerUrl'])!=null?_0x26d32b:_0x5abce7)!=null?_0x30b32b:er;}[_0x3085eb(0x107)](){var _0xad27cb=_0x3085eb,_0x1c59e3;const _0x554b6d=this[_0xad27cb(0x201)][_0xad27cb(0xa6)](K);return(_0x1c59e3=_0x554b6d==null?void 0x0:_0x554b6d[_0xad27cb(0x2ef)])!=null?_0x1c59e3:location[_0xad27cb(0x26e)];}[_0x3085eb(0x170)](_0x5853cd,_0x327be3){var _0x4391a6=_0x3085eb;return _0x5853cd[_0x4391a6(0x19e)](_0x4391a6(0x32c),_0x327be3);}['_decreaseWaiting'](){var _0x43cb04=_0x3085eb;this['_waitCount']-=0x1,this['_change$'][_0x43cb04(0x1c4)](this['_waitCount']);}};Rt=qn([pt(0x0,_0x53dfbc(_0xfd6f9c)),pt(0x1,_0x22b79b),pt(0x2,_0x53dfbc(_0x892ae8))],Rt);var tr=Object[_0x3085eb(0x2b1)],ir=(_0x76fb27,_0x527ff0,_0x5b9451,_0x2f5e34)=>{var _0x1fb39f=_0x3085eb;for(var _0x154e7b=_0x2f5e34>0x1?void 0x0:_0x2f5e34?tr(_0x527ff0,_0x5b9451):_0x527ff0,_0x4ff4f4=_0x76fb27[_0x1fb39f(0x32b)]-0x1,_0x120cdc;_0x4ff4f4>=0x0;_0x4ff4f4--)(_0x120cdc=_0x76fb27[_0x4ff4f4])&&(_0x154e7b=_0x120cdc(_0x154e7b)||_0x154e7b);return _0x154e7b;},ai=(_0x2c3291,_0x3d707a)=>(_0x59ac2f,_0x43e56a)=>_0x3d707a(_0x59ac2f,_0x43e56a,_0x2c3291);const sr='/universer-api/authz';let bt=class{constructor(_0x274e08,_0x700d5d){var _0xb1565c=_0x3085eb;this[_0xb1565c(0x201)]=_0x274e08,this[_0xb1565c(0x2e4)]=_0x700d5d;}['_getAPIPrefixPath'](){var _0x1e4427=_0x3085eb,_0xfc1a99,_0x4cc555;const _0x2a2520=this[_0x1e4427(0x201)][_0x1e4427(0xa6)](bi),_0x2ae009=this[_0x1e4427(0x201)][_0x1e4427(0xa6)](K);return(_0x4cc555=(_0xfc1a99=_0x2ae009==null?void 0x0:_0x2ae009[_0x1e4427(0x81)])!=null?_0xfc1a99:_0x2a2520)!=null?_0x4cc555:sr;}async['list'](_0x57a39e){var _0x34f491=_0x3085eb;const _0x23e472=this['_getAPIPrefixPath']()+_0x34f491(0x104);return{'list':[{'title':_0x34f491(0xf9),'mentions':(await this[_0x34f491(0x2e4)][_0x34f491(0x21f)](_0x23e472,{'params':{'objectID':_0x57a39e[_0x34f491(0xa9)],'unitID':_0x57a39e['unitId']}}))[_0x34f491(0x222)][_0x34f491(0x1cb)][_0x34f491(0x23f)](_0x24024c=>({'objectId':_0x24024c['id'],'name':_0x24024c[_0x34f491(0xe8)]['name'],'metadata':{'icon':_0x24024c[_0x34f491(0xe8)]['avatar']},'label':_0x24024c[_0x34f491(0xe8)][_0x34f491(0x26a)],'objectType':_0x4d9592[_0x34f491(0x2f5)]})),'metadata':{},'type':_0x4d9592['PERSON']}]};}};bt=ir([ai(0x0,_0x53dfbc(_0x22b79b)),ai(0x1,_0x53dfbc(_0xfd6f9c))],bt);var nr=Object[_0x3085eb(0x2b1)],rr=(_0x202255,_0x5311c8,_0x6b8d0f,_0x3a2003)=>{var _0x361482=_0x3085eb;for(var _0x11cfc1=_0x3a2003>0x1?void 0x0:_0x3a2003?nr(_0x5311c8,_0x6b8d0f):_0x5311c8,_0x57d85a=_0x202255[_0x361482(0x32b)]-0x1,_0x2b80f6;_0x57d85a>=0x0;_0x57d85a--)(_0x2b80f6=_0x202255[_0x57d85a])&&(_0x11cfc1=_0x2b80f6(_0x11cfc1)||_0x11cfc1);return _0x11cfc1;},Ae=(_0xd8330c,_0x3bc3fe)=>(_0xfd8b68,_0x12cc88)=>_0x3bc3fe(_0xfd8b68,_0x12cc88,_0xd8330c);let ot=class extends _0x38ff91{constructor(_0x574415,_0x18cb7c,_0x26b84b,_0xb8cda9,_0x2af1bd){var _0x1649c1=_0x3085eb;super(),this[_0x1649c1(0x191)]=_0x574415,this[_0x1649c1(0x25b)]=_0x18cb7c,this['_permissionService']=_0x26b84b,this['_collaborationSessionService']=_0xb8cda9,this[_0x1649c1(0x29a)]=_0x2af1bd,this[_0x1649c1(0x33b)](),this['_initCloseConn']();}['_initCloseConn'](){var _0x44d0ee=_0x3085eb;const _0x3918da=async _0x44e89c=>{var _0x443b6b=_0x4c1a;(await this[_0x443b6b(0x24e)][_0x443b6b(0x185)](_0x44e89c))[_0x443b6b(0xad)][_0x443b6b(0x352)](_0x16ea72(_0xc4384f=>_0xc4384f['eventID']===_0x527595[_0x443b6b(0xf4)]),_0x3d915b(this[_0x443b6b(0x2cb)]))['subscribe'](_0x5c1a38=>{var _0x4c6425=_0x443b6b;const _0x4e85d5=_0x5c1a38,{reason:_0x4a1316}=_0x4e85d5[_0x4c6425(0xf7)];this[_0x4c6425(0x29a)][_0x4c6425(0x23b)]({'id':ne[_0x4c6425(0x2cd)],'data':_0x4a1316}),this[_0x4c6425(0xcd)][_0x4c6425(0x8b)](new _0x4e8e57(_0x44e89c)['id'],!0x1),this['_collaborationSessionService'][_0x4c6425(0x36d)](_0x44e89c);});};_0x4e3d6c(this[_0x44d0ee(0x25b)]['getTypeOfUnitAdded$'](_0xc8d7d8[_0x44d0ee(0x218)]),this['_univerInstanceService'][_0x44d0ee(0x142)](_0xc8d7d8[_0x44d0ee(0x9a)]))[_0x44d0ee(0x352)](_0xcf8945(_0xe0ca2b=>_0xe0ca2b[_0x44d0ee(0x309)]()),_0x16ea72(_0x5e979f=>!_0x3016a9(_0x5e979f)),_0x3d915b(this[_0x44d0ee(0x2cb)]))[_0x44d0ee(0x197)](_0x1c8391=>{_0x3918da(_0x1c8391);});}[_0x3085eb(0x33b)](){var _0x33d38b=_0x3085eb;const _0xf67296=async _0x67ee86=>{var _0x289c68=_0x4c1a;const _0x4b0b9b=await this['_collaborationSessionService'][_0x289c68(0x185)](_0x67ee86),_0x52a109=this[_0x289c68(0x191)][_0x289c68(0x21f)](_0x5d2145);_0x4b0b9b[_0x289c68(0xad)][_0x289c68(0x352)](_0x16ea72(_0x1333ec=>_0x1333ec[_0x289c68(0xcf)]===_0x527595[_0x289c68(0x151)]),_0x3d915b(this[_0x289c68(0x2cb)]))[_0x289c68(0x197)](_0xb22677=>{var _0x2d65ad=_0x289c68;const _0x5350d5=_0xb22677,{objectId:_0x52916b}=_0x5350d5[_0x2d65ad(0xf7)];_0x52916b===_0x67ee86?_0x52a109[_0x2d65ad(0x102)](_0x67ee86):_0x52a109[_0x2d65ad(0x375)](_0x67ee86,_0x52916b);});};_0x4e3d6c(this['_univerInstanceService']['getTypeOfUnitAdded$'](_0xc8d7d8[_0x33d38b(0x218)]))['pipe'](_0xcf8945(_0x18c7db=>_0x18c7db['getUnitId']()),_0x16ea72(_0x19bb57=>!_0x3016a9(_0x19bb57)),_0x3d915b(this[_0x33d38b(0x2cb)]))[_0x33d38b(0x197)](_0x40db4a=>{_0xf67296(_0x40db4a);});}};ot=rr([Ae(0x0,_0x53dfbc(_0x49cf2d)),Ae(0x1,_0x892ae8),Ae(0x2,_0x5252a6),Ae(0x3,_0x53dfbc(Le)),Ae(0x4,_0x53dfbc(ve))],ot);var ar=Object['getOwnPropertyDescriptor'],or=(_0x1b101f,_0x10b772,_0x4850a6,_0x1c1ce4)=>{var _0xedb822=_0x3085eb;for(var _0x263ba1=_0x1c1ce4>0x1?void 0x0:_0x1c1ce4?ar(_0x10b772,_0x4850a6):_0x10b772,_0x1f753a=_0x1b101f[_0xedb822(0x32b)]-0x1,_0x1ec915;_0x1f753a>=0x0;_0x1f753a--)(_0x1ec915=_0x1b101f[_0x1f753a])&&(_0x263ba1=_0x1ec915(_0x263ba1)||_0x263ba1);return _0x263ba1;},oi=(_0x45297f,_0x3972f6)=>(_0xa7e2cc,_0x20b4c7)=>_0x3972f6(_0xa7e2cc,_0x20b4c7,_0x45297f);let Ot=class{constructor(_0x108741,_0x15f522){var _0x436b98=_0x3085eb;this[_0x436b98(0x201)]=_0x108741,this[_0x436b98(0x374)]=_0x15f522;}async['getUnitOnRev'](_0x5d520a,_0x351546){var _0x36a694=_0x3085eb,_0x23d62c;const {unitID:_0x457b16,type:_0x158621,revision:_0xf66be=0x0}=_0x351546,_0x1d02ac=this[_0x36a694(0x34c)]()+'/'+_0x158621+'/unit/'+_0x457b16+_0x36a694(0x346)+_0xf66be,_0x39696f=(await this[_0x36a694(0x374)][_0x36a694(0x21f)](_0x1d02ac))['body'],_0x555186=(_0x23d62c=_0x39696f[_0x36a694(0xb8)])==null?void 0x0:_0x23d62c[_0x36a694(0x308)];if(_0x555186){const _0x100c10=_0x555186==null?void 0x0:_0x555186[_0x36a694(0xa7)],_0x599cc6=_0x1ec9eb[_0x36a694(0x323)](_0x11f623(_0x100c10));_0x555186[_0x36a694(0xa7)]=_0x599cc6,Object[_0x36a694(0x130)](_0x555186[_0x36a694(0x277)])['forEach'](([,_0x4530ae])=>{var _0x2b44db=_0x36a694;const _0x3eecb2=_0x4530ae[_0x2b44db(0xa7)],_0x239026=_0x1ec9eb[_0x2b44db(0x323)](_0x11f623(_0x3eecb2));_0x4530ae[_0x2b44db(0xa7)]=_0x239026;});}return _0x39696f;}async[_0x3085eb(0x1c1)](_0x62072c,_0x5578cf){var _0x500e82=_0x3085eb;const {unitID:_0x33960e,type:_0x580784,blockID:_0x228cf3}=_0x5578cf,_0x370c2e=this['_getAPIPrefix']()+'/'+_0x580784+_0x500e82(0x11c)+_0x33960e+_0x500e82(0x1f8)+_0x228cf3;return(await this['_httpService']['get'](_0x370c2e))[_0x500e82(0x222)];}async[_0x3085eb(0x1a6)](_0x2246c2,_0x48ece1){var _0x35f3dd=_0x3085eb;const {unitID:_0x50ab13,type:_0x44302a,blockID:_0x498f8e}=_0x48ece1,_0x5de13a=this[_0x35f3dd(0x327)]()+_0x35f3dd(0x1f8)+_0x44302a+_0x35f3dd(0x11c)+_0x50ab13+_0x35f3dd(0x1f8)+_0x498f8e;return(await this[_0x35f3dd(0x374)][_0x35f3dd(0x21f)](_0x5de13a))['body'];}async[_0x3085eb(0x85)](_0x4db1d8,_0xedbeb7){var _0x557012=_0x3085eb;const {unitID:_0x17758d,type:_0x20bb5a,from:_0xadc6cb,to:_0x1ab273}=_0xedbeb7,_0x257835=this[_0x557012(0x327)]()+'/'+_0x20bb5a+_0x557012(0x11c)+_0x17758d+_0x557012(0x214)+_0xadc6cb+_0x557012(0x20b)+_0x1ab273;return(await this['_httpService'][_0x557012(0x21f)](_0x257835))[_0x557012(0x222)];}[_0x3085eb(0x34c)](){var _0x48768f=_0x3085eb,_0x2428ff;return(_0x2428ff=this[_0x48768f(0x201)][_0x48768f(0xa6)](ps))!=null?_0x2428ff:this[_0x48768f(0x327)]();}[_0x3085eb(0x327)](){var _0x41fe03=_0x3085eb,_0x3fefb1,_0xee5f0e;const _0x46bcd9=this['_configService'][_0x41fe03(0xa6)](fs),_0x545bcb=this[_0x41fe03(0x201)][_0x41fe03(0xa6)](K);return(_0xee5f0e=(_0x3fefb1=_0x545bcb==null?void 0x0:_0x545bcb[_0x41fe03(0x338)])!=null?_0x3fefb1:_0x46bcd9)!=null?_0xee5f0e:vs;}async[_0x3085eb(0x299)](_0x4859d9,_0x102835){var _0x5e5f19=_0x3085eb;const _0xb24dac=_0x5e5f19(0x14e)+_0x102835[_0x5e5f19(0x256)]+_0x5e5f19(0x11c)+_0x102835['unitID']+_0x5e5f19(0x260);return(await this['_httpService'][_0x5e5f19(0x21f)](_0xb24dac,{'params':{'resourceId':JSON[_0x5e5f19(0x356)](_0x102835[_0x5e5f19(0xca)])}}))[_0x5e5f19(0x222)];}[_0x3085eb(0xbc)](){var _0x4f6083=_0x3085eb;throw new Error(_0x4f6083(0x1d8));}['updateSnapshot'](){var _0x480263=_0x3085eb;throw new Error(_0x480263(0x1d8));}['saveSheetBlock'](){var _0x2ef049=_0x3085eb;throw new Error(_0x2ef049(0x1d8));}[_0x3085eb(0x10a)](){var _0x418783=_0x3085eb;throw new Error(_0x418783(0x1d8));}[_0x3085eb(0x173)](){var _0x262a11=_0x3085eb;throw new Error(_0x262a11(0x1d8));}[_0x3085eb(0x17d)](){var _0x4884b8=_0x3085eb;throw new Error(_0x4884b8(0x1d8));}};Ot=or([oi(0x0,_0x22b79b),oi(0x1,_0x53dfbc(_0xfd6f9c))],Ot);var cr=Object[_0x3085eb(0x2b1)],hr=(_0x2a735c,_0x5afd13,_0x34a516,_0xa74ee8)=>{var _0x4305b0=_0x3085eb;for(var _0x34566b=_0xa74ee8>0x1?void 0x0:_0xa74ee8?cr(_0x5afd13,_0x34a516):_0x5afd13,_0x979085=_0x2a735c[_0x4305b0(0x32b)]-0x1,_0x4fa007;_0x979085>=0x0;_0x979085--)(_0x4fa007=_0x2a735c[_0x979085])&&(_0x34566b=_0x4fa007(_0x34566b)||_0x34566b);return _0x34566b;},we=(_0x1f92ba,_0x221c2e)=>(_0xe8b6d0,_0x41cddf)=>_0x221c2e(_0xe8b6d0,_0x41cddf,_0x1f92ba);let yt=class extends _0x585475{constructor(_0x1566a8,_0x5ab771,_0x4e5b12,_0x5a3640,_0x369f41){var _0x522062=_0x3085eb;super(_0x1566a8,_0x5ab771,_0x4e5b12),this[_0x522062(0x2a9)]=_0x5a3640,this[_0x522062(0x266)]=_0x369f41;}[_0x3085eb(0x11f)](_0x728cb3,_0x5b9aae){var _0x314026=_0x3085eb;const _0x2d5aaa=this[_0x314026(0x2fb)](_0x728cb3);if(_0x2d5aaa)try{const _0x546e9f=this[_0x314026(0x31f)](_0x2d5aaa,_0x5b9aae);this[_0x314026(0x98)](_0x728cb3,_0x546e9f);}catch(_0x16a3e4){this[_0x314026(0x266)][_0x314026(0x269)](_0x314026(0x22e),_0x16a3e4),this['_clearUndo'](_0x728cb3);}const _0x34388a=this['_getRedoStack'](_0x728cb3);if(_0x34388a)try{const _0xbb8b77=this['_transformStack'](_0x34388a,_0x5b9aae);this['_substituteRedoStack'](_0x728cb3,_0xbb8b77);}catch(_0x14bd30){this[_0x314026(0x266)][_0x314026(0x269)](_0x14bd30),this[_0x314026(0x28f)](_0x728cb3);}}[_0x3085eb(0x182)](_0xa1cc76){var _0x1e1f45=_0x3085eb;const _0x4be399=this[_0x1e1f45(0x2fb)](_0xa1cc76);_0x4be399&&(_0x4be399['length']=0x0,this['_updateStatus']());}[_0x3085eb(0x28f)](_0x11352d){var _0x4cc9e4=_0x3085eb;const _0x4b7306=this['_getRedoStack'](_0x11352d);_0x4b7306&&(_0x4b7306[_0x4cc9e4(0x32b)]=0x0,this[_0x4cc9e4(0x34d)]());}[_0x3085eb(0x98)](_0x35bb3b,_0x2213c4){this['_undoStacks']['set'](_0x35bb3b,_0x2213c4),this['_updateStatus']();}[_0x3085eb(0x131)](_0x32053a,_0x537e7e){var _0x225fbe=_0x3085eb;this[_0x225fbe(0x24c)][_0x225fbe(0x171)](_0x32053a,_0x537e7e),this['_updateStatus']();}[_0x3085eb(0x31f)](_0x57260f,_0x5bdc15){var _0x461f1e=_0x3085eb;const _0x19c688=[];let _0x55fb66=_0x5bdc15,_0x41e63d=_0x5bdc15;for(let _0x2b1c86=_0x57260f[_0x461f1e(0x32b)]-0x1;_0x2b1c86>=0x0;_0x2b1c86--){const {unitID:_0x34c22e,undoMutations:_0x59c206,redoMutations:_0x50582a}=_0x57260f[_0x2b1c86],_0x1324c3=this['_transformService'][_0x461f1e(0x1fe)](_0x55fb66,_0x59c206),_0x254518=this['_transformService']['transformMutationsWithChangeset'](_0x41e63d,_0x50582a);if(_0x48d286(_0x1324c3)||_0x48d286(_0x254518)){this[_0x461f1e(0x266)][_0x461f1e(0x269)]('[CollaborationUndoRedoService]','transformStack\x20failed!',_0x1324c3,_0x254518);break;}_0x55fb66=_0x1324c3[_0x461f1e(0xe3)],_0x41e63d=_0x254518[_0x461f1e(0xe3)],_0x19c688[_0x461f1e(0x1c3)]({'unitID':_0x34c22e,'undoMutations':_0x1324c3[_0x461f1e(0x190)],'redoMutations':_0x254518[_0x461f1e(0x190)]});}return _0x19c688[_0x461f1e(0x37f)]();}};yt=hr([we(0x0,_0x892ae8),we(0x1,_0x51862d),we(0x2,_0x42675b),we(0x3,_0x20599e),we(0x4,_0x482beb)],yt);var _r=Object[_0x3085eb(0x29e)],lr=Object['getOwnPropertyDescriptor'],ur=(_0x28813c,_0x3a7d92,_0x4574e9)=>_0x3a7d92 in _0x28813c?_r(_0x28813c,_0x3a7d92,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x4574e9}):_0x28813c[_0x3a7d92]=_0x4574e9,dr=(_0x23ca50,_0x4c53d2,_0x3c8ffc,_0x58f538)=>{for(var _0x3cfdcb=_0x58f538>0x1?void 0x0:_0x58f538?lr(_0x4c53d2,_0x3c8ffc):_0x4c53d2,_0x1f0595=_0x23ca50['length']-0x1,_0x1724db;_0x1f0595>=0x0;_0x1f0595--)(_0x1724db=_0x23ca50[_0x1f0595])&&(_0x3cfdcb=_0x1724db(_0x3cfdcb)||_0x3cfdcb);return _0x3cfdcb;},mt=(_0x1d6a64,_0x39c408)=>(_0x51b20e,_0x2116bc)=>_0x39c408(_0x51b20e,_0x2116bc,_0x1d6a64),fr=(_0x13bc1a,_0x2cc4cc,_0x266e85)=>ur(_0x13bc1a,_0x2cc4cc+'',_0x266e85);const vr=_0x3085eb(0x200);let Nt=class extends _0x1b8275{constructor(_0x264947,_0x163ee5,_0xaf64b1,_0x5d82ff){var _0x45adf6=_0x3085eb;super(),N(this,'_config'),(this['_logService']=_0x163ee5,this[_0x45adf6(0x191)]=_0xaf64b1,this[_0x45adf6(0x201)]=_0x5d82ff);const {..._0xd850dc}=_0x331d89({},Ds,_0x264947);if(!_0xd850dc[_0x45adf6(0x263)])throw new Error(_0x45adf6(0x153));this['_config']=_0xd850dc,this[_0x45adf6(0x201)][_0x45adf6(0x1e3)](K,_0xd850dc);}[_0x3085eb(0x1f6)](){var _0x3b480e=_0x3085eb;this[_0x3b480e(0xf2)](),this[_0x3b480e(0x1b2)]();}[_0x3085eb(0xf2)](){var _0x314f9c=_0x3085eb,_0x142357,_0x332fbd;this[_0x314f9c(0x191)][_0x314f9c(0x1f3)](_0x52e66a)&&this[_0x314f9c(0x266)]['error']('[UniverCollaborationClientPlugin]',_0x314f9c(0x363));const _0x107d07=_0x12ba78([[_0x52e66a,{'useClass':yt}],[Le],[Pe],[it],[rt],[at],[Si],[ot],[ve],[Ct],[gi,{'useClass':this[_0x314f9c(0x373)][_0x314f9c(0x263)]}],[_0x540a4e,{'useClass':Ot}],[_0x1f7e6f,{'useClass':Tt}],[_0x5d628a,{'useClass':Rt}],[_0x5c5879,{'useClass':bt}],[nt],[It]],(_0x142357=this[_0x314f9c(0x373)])==null?void 0x0:_0x142357[_0x314f9c(0x140)]);if(!((_0x332fbd=this['_config'])!=null&&_0x332fbd[_0x314f9c(0x17b)])){const _0x26e46f=_0x107d07['findIndex'](([_0x576224])=>_0x576224===ht);_0x26e46f!==-0x1&&_0x107d07[_0x314f9c(0x318)](_0x26e46f,0x1);}_0x4cd714(this[_0x314f9c(0x191)],_0x107d07);}[_0x3085eb(0x1b2)](){var _0x18a497=_0x3085eb,_0xe17c8b,_0x128f4c,_0x2f2a80;this[_0x18a497(0x191)][_0x18a497(0x21f)](_0xfd6f9c)[_0x18a497(0x344)]({'priority':0x14,'interceptor':_0x548ba0({'maxParallel':0x6})}),(_0xe17c8b=this[_0x18a497(0x373)])!=null&&_0xe17c8b[_0x18a497(0xd8)]||(_0x128f4c=this[_0x18a497(0x191)][_0x18a497(0x21f)](J,_0x5e8517[_0x18a497(0x1a4)]))==null||_0x128f4c['disableLocalCache'](),(_0x2f2a80=this[_0x18a497(0x373)])!=null&&_0x2f2a80['enableAuthServer']&&_0x59f3d0(this[_0x18a497(0x191)],[[rt]]),_0x59f3d0(this['_injector'],[[at],[nt],[ot]]);}};fr(Nt,_0x3085eb(0x20e),vr),Nt=dr([_0x56cc43(_0x4b656d,_0x2580aa),mt(0x1,_0x482beb),mt(0x2,_0x53dfbc(_0x49cf2d)),mt(0x3,_0x22b79b)],Nt);export{bi as AUTHZ_URL_KEY,Tt as AuthzIoHttpService,_e as AwaitingState,ae as AwaitingWithPendingState,K as COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY,bs as COLLAB_SUBMIT_CHANGESET_URL_KEY,gs as COLLAB_WEB_SOCKET_URL_KEY,nt as CollaborationController,st as CollaborationEntity,Rt as CollaborationImageIoService,gt as CollaborationSession,Le as CollaborationSessionService,Ft as CollaborationSocketService,Ti as CollaborationStatus,ne as CollaborationUIEventId,ve as CollaborationUIEventService,yt as CollaborativeUndoRedoService,Si as CommentService,le as ConflictState,Ss as DEFAULT_COLLAB_WEB_SOCKET_URL,wr as DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT,Nr as DEFAULT_WS_SESSION_TICKET_URL,Ct as DataLoaderService,St as DocCollaborationEntity,Q as FetchingMissState,Es as HEARTBEAT_INTERVAL_KEY,fi as HEARTBEAT_TIMEOUT_KEY,gi as ICollaborationSocketService,J as ILocalCacheService,Us as INetworkConditionService,ht as ISingleActiveUnitService,Ur as LOCAL_CACHE_INTERVAL,Dr as LOCAL_CACHE_INTERVAL_KEY,ys as LOGIN_URL_KEY,Pe as MemberService,bt as MentionIoHttpService,ue as OfflineState,re as PendingState,Ar as REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY,Cs as RETRY_CONNECTING_MAX_COUNT_KEY,yr as SEND_CHANGESET_TIMEOUT_KEY,fs as SNAPSHOT_SERVER_URL_KEY,ps as SNAPSHOT_URL_KEY,Se as SessionStatus,Et as SheetCollaborationEntity,it as SheetTransformSelectionsService,Ot as SnapshotServerOverHTTPService,ye as SyncedState,Ei as UnitStatus,Nt as UniverCollaborationClientPlugin,As as deserializeToCombResponse,Pr as getLocalCacheKey,ws as serializeCombRequest};