@univerjs-pro/collaboration-client 0.8.0-nightly.202506061607 → 0.8.0-nightly.202506071606
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/cjs/facade.js +1 -1
- package/lib/cjs/index.js +1 -1
- package/lib/cjs/locale/en-US.js +1 -1
- package/lib/cjs/locale/fa-IR.js +1 -1
- package/lib/cjs/locale/fr-FR.js +1 -1
- package/lib/cjs/locale/ru-RU.js +1 -1
- package/lib/cjs/locale/vi-VN.js +1 -1
- package/lib/cjs/locale/zh-CN.js +1 -1
- package/lib/cjs/locale/zh-TW.js +1 -1
- package/lib/es/facade.js +1 -1
- package/lib/es/index.js +1 -1
- package/lib/es/locale/en-US.js +1 -1
- package/lib/es/locale/fa-IR.js +1 -1
- package/lib/es/locale/fr-FR.js +1 -1
- package/lib/es/locale/ru-RU.js +1 -1
- package/lib/es/locale/vi-VN.js +1 -1
- package/lib/es/locale/zh-CN.js +1 -1
- package/lib/es/locale/zh-TW.js +1 -1
- package/lib/facade.js +1 -1
- package/lib/index.js +1 -1
- package/lib/locale/en-US.js +1 -1
- package/lib/locale/fa-IR.js +1 -1
- package/lib/locale/fr-FR.js +1 -1
- package/lib/locale/ru-RU.js +1 -1
- package/lib/locale/vi-VN.js +1 -1
- package/lib/locale/zh-CN.js +1 -1
- package/lib/locale/zh-TW.js +1 -1
- package/lib/umd/facade.js +1 -1
- package/lib/umd/index.js +1 -1
- package/lib/umd/locale/en-US.js +1 -1
- package/lib/umd/locale/fa-IR.js +1 -1
- package/lib/umd/locale/fr-FR.js +1 -1
- package/lib/umd/locale/ru-RU.js +1 -1
- package/lib/umd/locale/vi-VN.js +1 -1
- package/lib/umd/locale/zh-CN.js +1 -1
- package/lib/umd/locale/zh-TW.js +1 -1
- package/package.json +9 -9
package/lib/index.js
CHANGED
@@ -1 +1 @@
|
|
1
|
-
var _0x6aebf=_0x5cc4;(function(_0x1218b5,_0x164633){var _0x8dccb6=_0x5cc4,_0x489cc9=_0x1218b5();while(!![]){try{var _0x3b6765=-parseInt(_0x8dccb6(0x24f))/0x1+parseInt(_0x8dccb6(0x208))/0x2*(-parseInt(_0x8dccb6(0x1f3))/0x3)+-parseInt(_0x8dccb6(0x2d6))/0x4+-parseInt(_0x8dccb6(0x323))/0x5*(-parseInt(_0x8dccb6(0x231))/0x6)+-parseInt(_0x8dccb6(0x29e))/0x7*(-parseInt(_0x8dccb6(0x1dd))/0x8)+-parseInt(_0x8dccb6(0x1f8))/0x9*(-parseInt(_0x8dccb6(0x317))/0xa)+parseInt(_0x8dccb6(0x2fc))/0xb;if(_0x3b6765===_0x164633)break;else _0x489cc9['push'](_0x489cc9['shift']());}catch(_0x3fff8a){_0x489cc9['push'](_0x489cc9['shift']());}}}(_0x2867,0x90743));var Di=Object[_0x6aebf(0x255)],Ui=(_0x3515dd,_0x58c082,_0xa40808)=>_0x58c082 in _0x3515dd?Di(_0x3515dd,_0x58c082,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0xa40808}):_0x3515dd[_0x58c082]=_0xa40808,N=(_0x31a0c3,_0xfe264d,_0x469978)=>Ui(_0x31a0c3,typeof _0xfe264d!=_0x6aebf(0x144)?_0xfe264d+'':_0xfe264d,_0x469978);import{createIdentifier as _0x31fd00,Inject as _0x18bb67,Injector as _0x11fbde,IConfigService as _0x5317b8,ILogService as _0x26f867,Disposable as _0xd3ae1c,DisposableCollection as _0x31cc16,toDisposable as _0x30fd71,IUniverInstanceService as _0x552064,UserManagerService as _0x3df4c2,UniverInstanceType as _0x5a96fb,LocaleService as _0x21749b,Optional as _0x870f26,RxDisposable as _0x4a9342,Tools as _0x11388e,Rectangle as _0x4ab498,ICommandService as _0x25bbcf,JSONX as _0x498440,CommandType as _0x2863dc,IUndoRedoService as _0x302ea5,IPermissionService as _0x374ceb,sequenceExecute as _0x5c447e,Workbook as _0x52d5b8,MentionType as _0x36128d,isInternalEditorID as _0x587f28,LocalUndoRedoService as _0x45ae3a,IContextService as _0x4d1910,DependentOn as _0xaed92e,Plugin as _0x147501,merge as _0x1c4530,mergeOverrideWithDependencies as _0x1e67f9,IAuthzIoService as _0x40991c,IMentionIOService as _0x51953d,registerDependencies as _0x4947aa,Quantity as _0x997497,touchDependencies as _0x4e514b}from'@univerjs/core';import{Subject as _0x2f4bdc,merge as _0x3fda27,of as _0x3da406,BehaviorSubject as _0x57bee0,takeUntil as _0x27e979,ReplaySubject as _0x2bb09b,take as _0x562006,map as _0x2db594,shareReplay as _0x301fb6,firstValueFrom as _0x13c019,concatMap as _0x530eef}from'rxjs';import{map as _0x1c75cc,take as _0x2966d8,filter as _0x74353e,delay as _0x4ab3d3,takeUntil as _0x30842e}from'rxjs/operators';import{CollaborationEvent as _0x4876af,ISnapshotServerService as _0x3fe259,parseChangesetToProtocol as _0x22dcd4,ITransformService as _0x55d63a,isTransformMutationsWithChangesetSuccess as _0x4cda53,mapDocumentTypeToUniverType as _0x430aac,RevisionService as _0x3293cd,isTransformChangesetsSuccess as _0x557dfb,CompressMutationService as _0xb993a7,parseProtocolChangeset as _0x4f866c,uuidv4 as _0x1b291f,SnapshotService as _0x50e5fc,textEncoder as _0xd579e6,b64DecodeUnicode as _0x2cf7f3,isTransformMutationsWithChangesetFailure as _0x34f905,UniverCollaborationPlugin as _0x411580}from'@univerjs-pro/collaboration';import{HTTPService as _0x26c391,ISocketService as _0x34dbdc,MergeInterceptorFactory as _0x310c62,HTTPRequest as _0x292d8f,UniverNetworkPlugin as _0x2661be,ThresholdInterceptorFactory as _0x94fa86}from'@univerjs/network';import{ITelemetryService as _0x8ee61a}from'@univerjs/telemetry';import{RichTextEditingMutation as _0xfd7d2c}from'@univerjs/docs';import{SheetsSelectionsService as _0x475ccb,SetSelectionsOperation as _0x568604,InsertSheetMutation as _0x15c086,EmptyMutation as _0x48ed62,WorkbookEditablePermission as _0x39effe,SheetPermissionInitController as _0x2cf903}from'@univerjs/sheets';import{ImageSourceType as _0xa69510,ImageUploadStatusType as _0x5f573b,IImageIoService as _0x5138fa}from'@univerjs/drawing';import{getGlobalObject as _0x41b601}from'@univerjs-pro/license';const fs=_0x6aebf(0x1e4),vs='/universer-api/snapshot',ps=_0x6aebf(0x229),yr=_0x6aebf(0xdf),ms=0x7d0,gs=_0x6aebf(0x2d2),Ss=_0x6aebf(0x2fa),Nr=_0x6aebf(0x20a),Es=_0x6aebf(0x2d7),Is=0x7530,fi='HEARTBEAT_TIMEOUT',vi=0x4e20,Ts=0x4e20,Cs=_0x6aebf(0x187),Rs=0x3,Dr=_0x6aebf(0x1ff),Ur=0x3e8,bs=_0x6aebf(0x28c),Os=_0x6aebf(0x264),ys=_0x6aebf(0xbd),Ns='/universer-api/oidc/authpage',Ar='REMOTE_UNISCRIPT_EXECUTION_ENDPOINT',wr=_0x6aebf(0x8f);var pi=(_0x3f2915=>(_0x3f2915[_0x3f2915[_0x6aebf(0x93)]=0x0]=_0x6aebf(0x93),_0x3f2915[_0x3f2915['OK']=0x1]='OK',_0x3f2915[_0x3f2915[_0x6aebf(0x2cd)]=0x2]=_0x6aebf(0x2cd),_0x3f2915[_0x3f2915[_0x6aebf(0x281)]=0x3]='PERMISSION_DENIED',_0x3f2915[_0x3f2915[_0x6aebf(0x109)]=0x4]=_0x6aebf(0x109),_0x3f2915[_0x3f2915[_0x6aebf(0x9a)]=0x5]=_0x6aebf(0x9a),_0x3f2915[_0x3f2915[_0x6aebf(0xe5)]=0x6]=_0x6aebf(0xe5),_0x3f2915[_0x3f2915['INVALID_ARGUMENT']=0x7]=_0x6aebf(0x139),_0x3f2915[_0x3f2915[_0x6aebf(0xb3)]=0x8]=_0x6aebf(0xb3),_0x3f2915[_0x3f2915[_0x6aebf(0x2e1)]=0x9]=_0x6aebf(0x2e1),_0x3f2915[_0x3f2915['LOGIN_FAILED']=0xa]=_0x6aebf(0x313),_0x3f2915[_0x3f2915[_0x6aebf(0x1c1)]=0x1389]=_0x6aebf(0x1c1),_0x3f2915[_0x3f2915['SNAPSHOT_INVALID_SNAPSHOT']=0x1771]='SNAPSHOT_INVALID_SNAPSHOT',_0x3f2915[_0x3f2915[_0x6aebf(0x13c)]=0x1772]='SNAPSHOT_HAS_BEEN_REMOVED',_0x3f2915[_0x3f2915[_0x6aebf(0x297)]=0x1773]=_0x6aebf(0x297),_0x3f2915[_0x3f2915[_0x6aebf(0x380)]=0x1b59]=_0x6aebf(0x380),_0x3f2915[_0x3f2915[_0x6aebf(0x21c)]=0x1b5a]=_0x6aebf(0x21c),_0x3f2915[_0x3f2915[_0x6aebf(0xaa)]=0x1b5b]=_0x6aebf(0xaa),_0x3f2915[_0x3f2915[_0x6aebf(0x1bd)]=0x1b5c]=_0x6aebf(0x1bd),_0x3f2915[_0x3f2915[_0x6aebf(0x12b)]=0x1b5d]=_0x6aebf(0x12b),_0x3f2915[_0x3f2915['CONNECTOR_DATA_TOO_LARGE']=0x1f41]='CONNECTOR_DATA_TOO_LARGE',_0x3f2915[_0x3f2915[_0x6aebf(0x217)]=0x2329]=_0x6aebf(0x217),_0x3f2915[_0x3f2915[_0x6aebf(0xb1)]=0x232a]=_0x6aebf(0xb1),_0x3f2915[_0x3f2915[_0x6aebf(0x38f)]=0x232b]=_0x6aebf(0x38f),_0x3f2915[_0x3f2915[_0x6aebf(0x384)]=0x232c]=_0x6aebf(0x384),_0x3f2915[_0x3f2915[_0x6aebf(0x11a)]=0x232d]=_0x6aebf(0x11a),_0x3f2915[_0x3f2915['YUUMI_UNABLE_LOAD_URL']=0x2711]=_0x6aebf(0xdb),_0x3f2915[_0x3f2915[_0x6aebf(0x2f2)]=0x2712]=_0x6aebf(0x2f2),_0x3f2915[_0x3f2915['YUUMI_RATE_OVER_LIMIT']=0x2713]=_0x6aebf(0x170),_0x3f2915[_0x3f2915['YUUMI_SUBSCRIPTION_NOT_FOUND']=0x2714]=_0x6aebf(0x275),_0x3f2915[_0x3f2915[_0x6aebf(0x131)]=0x271a]=_0x6aebf(0x131),_0x3f2915[_0x3f2915['YUUMI_ASYNCIO_CANCELLED']=0x271b]=_0x6aebf(0x1a5),_0x3f2915[_0x3f2915['YUUMI_TABLE_NOT_FOUND_IN_UNIT']=0x271c]=_0x6aebf(0x22c),_0x3f2915[_0x3f2915[_0x6aebf(0xb9)]=0x271d]=_0x6aebf(0xb9),_0x3f2915[_0x3f2915[_0x6aebf(0x252)]=0x271e]=_0x6aebf(0x252),_0x3f2915[_0x3f2915[_0x6aebf(0x20f)]=0x271f]=_0x6aebf(0x20f),_0x3f2915[_0x3f2915['PY_RUNTIME_SCRIPT_ERROR']=0x2af9]=_0x6aebf(0x19c),_0x3f2915[_0x3f2915[_0x6aebf(0xcb)]=0x2ee1]='INVITE_CODE_HAS_BEEN_UES',_0x3f2915[_0x3f2915[_0x6aebf(0x35c)]=0x2ee2]=_0x6aebf(0x35c),_0x3f2915[_0x3f2915[_0x6aebf(0x2ad)]=0x2ee3]='INVITE_CODE_REQUIRED',_0x3f2915[_0x3f2915[_0x6aebf(0x2ee)]=0x2ee4]=_0x6aebf(0x2ee),_0x3f2915[_0x3f2915[_0x6aebf(0x218)]=0x2ee5]=_0x6aebf(0x218),_0x3f2915[_0x3f2915[_0x6aebf(0x1ad)]=0x32c9]=_0x6aebf(0x1ad),_0x3f2915[_0x3f2915['MOBILE_HAS_BEEN_BOUND']=0x32ca]=_0x6aebf(0xf6),_0x3f2915[_0x3f2915['EMAIL_HAS_BEEN_BOUND']=0x32cb]=_0x6aebf(0x242),_0x3f2915[_0x3f2915[_0x6aebf(0x2f4)]=-0x1]=_0x6aebf(0x2f4),_0x3f2915))(pi||{}),Z=(_0x3a7045=>(_0x3a7045[_0x3a7045[_0x6aebf(0x157)]=0x0]=_0x6aebf(0x157),_0x3a7045[_0x3a7045[_0x6aebf(0x366)]=0x1]='UNIVER_DOC',_0x3a7045[_0x3a7045[_0x6aebf(0x2c7)]=0x2]=_0x6aebf(0x2c7),_0x3a7045[_0x3a7045[_0x6aebf(0x23b)]=0x3]='UNIVER_SLIDE',_0x3a7045[_0x3a7045[_0x6aebf(0x129)]=0x4]=_0x6aebf(0x129),_0x3a7045[_0x3a7045[_0x6aebf(0x2f4)]=-0x1]=_0x6aebf(0x2f4),_0x3a7045))(Z||{}),F=(_0x58278a=>(_0x58278a[_0x58278a[_0x6aebf(0xf1)]=0x0]=_0x6aebf(0xf1),_0x58278a[_0x58278a[_0x6aebf(0x98)]=0x1]=_0x6aebf(0x98),_0x58278a[_0x58278a[_0x6aebf(0x308)]=0x2]='JOIN',_0x58278a[_0x58278a[_0x6aebf(0x1ef)]=0x3]=_0x6aebf(0x1ef),_0x58278a[_0x58278a[_0x6aebf(0x121)]=0x4]='INGEST',_0x58278a[_0x58278a[_0x6aebf(0x303)]=0x5]=_0x6aebf(0x303),_0x58278a[_0x58278a[_0x6aebf(0x2d1)]=0x6]=_0x6aebf(0x2d1),_0x58278a[_0x58278a['UNRECOGNIZED']=-0x1]=_0x6aebf(0x2f4),_0x58278a))(F||{}),me=(_0x3e5954=>(_0x3e5954[_0x3e5954[_0x6aebf(0x21a)]=0x0]='UNKNOWN_CODE',_0x3e5954[_0x3e5954['OK']=0x1]='OK',_0x3e5954[_0x3e5954[_0x6aebf(0x188)]=0x2]=_0x6aebf(0x188),_0x3e5954[_0x3e5954[_0x6aebf(0x221)]=0x3e9]=_0x6aebf(0x221),_0x3e5954[_0x3e5954[_0x6aebf(0x24d)]=0x3ea]=_0x6aebf(0x24d),_0x3e5954[_0x3e5954['JOIN_ROOM_PERMISSION_DENIED']=0x3eb]=_0x6aebf(0x1d9),_0x3e5954[_0x3e5954[_0x6aebf(0x2de)]=0x3ec]=_0x6aebf(0x2de),_0x3e5954[_0x3e5954['UNRECOGNIZED']=-0x1]=_0x6aebf(0x2f4),_0x3e5954))(me||{}),mi=(_0x439c8f=>(_0x439c8f[_0x439c8f['Undefined']=0x0]=_0x6aebf(0x90),_0x439c8f[_0x439c8f[_0x6aebf(0xa2)]=0x1]=_0x6aebf(0xa2),_0x439c8f[_0x439c8f[_0x6aebf(0x25b)]=0x2]=_0x6aebf(0x25b),_0x439c8f[_0x439c8f[_0x6aebf(0xbc)]=0x3]=_0x6aebf(0xbc),_0x439c8f[_0x439c8f[_0x6aebf(0xae)]=0x4]=_0x6aebf(0xae),_0x439c8f[_0x439c8f[_0x6aebf(0x1b2)]=0x5]='UserProfileImg',_0x439c8f[_0x439c8f[_0x6aebf(0x2f4)]=-0x1]=_0x6aebf(0x2f4),_0x439c8f))(mi||{});const K=_0x6aebf(0x1c4),Ds={};var ne=(_0x4b7465=>(_0x4b7465['OTHER_CLIENT_EDITING']=_0x6aebf(0x27e),_0x4b7465[_0x6aebf(0x281)]=_0x6aebf(0x281),_0x4b7465['CONFLICT']=_0x6aebf(0xf7),_0x4b7465[_0x6aebf(0x2f8)]=_0x6aebf(0x2f8),_0x4b7465[_0x6aebf(0x36d)]='JOIN_ROOM_FAILED',_0x4b7465['SOCKET_FAILED_RETRY']='SOCKET_FAILED_RETRY',_0x4b7465['SOCKET_FAILED']=_0x6aebf(0x1a1),_0x4b7465['SUBMIT_CHANGESET_TIMEOUT']=_0x6aebf(0xf8),_0x4b7465))(ne||{});class ve{constructor(){var _0x281be2=_0x6aebf;N(this,_0x281be2(0x36c),new _0x2f4bdc()),N(this,_0x281be2(0x32f),this[_0x281be2(0x36c)][_0x281be2(0x28b)]());}[_0x6aebf(0x247)](_0x5bd5b9){var _0x5ac8a7=_0x6aebf;this[_0x5ac8a7(0x36c)]['next'](_0x5bd5b9);}}const Us=_0x31fd00(_0x6aebf(0x176));function As(_0x557283){var _0x18a5d7=_0x6aebf,_0xe8e66c,_0x4b8e24,_0x54ddb8,_0xda90e8,_0x3421e7;const _0x22754d=_0x557283['data'],_0x37bdb4=JSON[_0x18a5d7(0x337)](_0x22754d);switch(_0x37bdb4['cmd']){case F[_0x18a5d7(0x303)]:case F[_0x18a5d7(0x98)]:{const _0x322a56=_0x37bdb4['infoRsp'];return{..._0x37bdb4,'data':_0x322a56,'cmd':_0x37bdb4[_0x18a5d7(0x294)]};}case F[_0x18a5d7(0x308)]:{const _0x43daf3=_0x37bdb4[_0x18a5d7(0xbe)];return{..._0x37bdb4,'data':_0x43daf3,'cmd':_0x37bdb4[_0x18a5d7(0x294)]};}case F[_0x18a5d7(0x2d1)]:{const _0x4d0b9f=_0x37bdb4['collaMsg'];switch(_0x4d0b9f['eventID']){case _0x4876af['PERMISSION_REJ']:return{..._0x37bdb4,'data':{..._0x4d0b9f,'data':(_0xe8e66c=_0x4d0b9f[_0x18a5d7(0xb0)])==null?void 0x0:_0xe8e66c['cs']},'cmd':_0x37bdb4['cmd']};case _0x4876af['CHANGESET_ACK']:return{..._0x37bdb4,'data':{..._0x4d0b9f,'data':(_0x4b8e24=_0x4d0b9f['csAckEvent'])==null?void 0x0:_0x4b8e24['cs']},'cmd':_0x37bdb4['cmd']};case _0x4876af['NEW_CHANGESETS']:return{..._0x37bdb4,'data':{..._0x4d0b9f,'data':(_0x54ddb8=_0x4d0b9f['newCsEvent'])==null?void 0x0:_0x54ddb8['cs']},'cmd':_0x37bdb4[_0x18a5d7(0x294)]};case _0x4876af[_0x18a5d7(0x2f6)]:return{..._0x37bdb4,'data':{..._0x4d0b9f,'data':(_0xda90e8=_0x4d0b9f['csRejEvent'])==null?void 0x0:_0xda90e8['cs']},'cmd':_0x37bdb4['cmd']};case _0x4876af[_0x18a5d7(0x2e9)]:return{..._0x37bdb4,'data':{..._0x4d0b9f,'data':(_0x3421e7=_0x4d0b9f[_0x18a5d7(0x2aa)])==null?void 0x0:_0x3421e7['cs']},'cmd':_0x37bdb4[_0x18a5d7(0x294)]};case _0x4876af[_0x18a5d7(0x26d)]:return{..._0x37bdb4,'data':{..._0x4d0b9f,'data':_0x4d0b9f[_0x18a5d7(0x365)]},'cmd':_0x37bdb4[_0x18a5d7(0x294)]};case _0x4876af[_0x18a5d7(0xaf)]:return{..._0x37bdb4,'data':{..._0x4d0b9f,'data':_0x4d0b9f[_0x18a5d7(0x259)]},'cmd':_0x37bdb4[_0x18a5d7(0x294)]};case _0x4876af[_0x18a5d7(0x2fb)]:return{..._0x37bdb4,'data':{..._0x4d0b9f,'data':_0x4d0b9f[_0x18a5d7(0x2f5)]},'cmd':_0x37bdb4['cmd']};case _0x4876af['LIVESHARE_NEW_HOST']:return{..._0x37bdb4,'data':{..._0x4d0b9f,'data':_0x4d0b9f[_0x18a5d7(0x174)]},'cmd':_0x37bdb4['cmd']};case _0x4876af[_0x18a5d7(0x2ba)]:case _0x4876af[_0x18a5d7(0x2ea)]:return{..._0x37bdb4,'data':{..._0x4d0b9f,'data':_0x4d0b9f[_0x18a5d7(0x241)]},'cmd':_0x37bdb4[_0x18a5d7(0x294)]};case _0x4876af[_0x18a5d7(0x216)]:return{..._0x37bdb4,'data':{..._0x4d0b9f,'data':_0x4d0b9f[_0x18a5d7(0x174)]},'cmd':_0x37bdb4[_0x18a5d7(0x294)]};case _0x4876af['MSG_FOR_ERROR']:return{..._0x37bdb4,'data':_0x4d0b9f,'cmd':_0x37bdb4[_0x18a5d7(0x294)]};case _0x4876af[_0x18a5d7(0xc5)]:return{..._0x37bdb4,'data':{..._0x4d0b9f,'data':_0x4d0b9f[_0x18a5d7(0x164)]},'cmd':_0x37bdb4[_0x18a5d7(0x294)]};case _0x4876af[_0x18a5d7(0xef)]:return{..._0x37bdb4,'data':{..._0x4d0b9f,'data':_0x4d0b9f['updatePermissionObjEvent']},'cmd':_0x37bdb4[_0x18a5d7(0x294)]};case _0x4876af[_0x18a5d7(0x2f1)]:return{..._0x37bdb4,'data':{..._0x4d0b9f,'data':_0x4d0b9f['shouldCloseConn']},'cmd':_0x37bdb4[_0x18a5d7(0x294)]};case _0x4876af[_0x18a5d7(0x1a2)]:return{..._0x37bdb4,'data':{..._0x4d0b9f,'data':_0x4d0b9f['uniscriptRunEvent']},'cmd':_0x37bdb4[_0x18a5d7(0x294)]};default:return _0x37bdb4;}}default:return _0x37bdb4;}}function ws(_0x27f35d){var _0x5b5595=_0x6aebf;switch(_0x27f35d['cmd']){case F[_0x5b5595(0x303)]:case F['HELLO']:return JSON[_0x5b5595(0x165)]({'cmd':_0x27f35d[_0x5b5595(0x294)],'routeKey':_0x27f35d[_0x5b5595(0x104)]});case F['INGEST']:{let _0x3ecf9e;switch(_0x27f35d[_0x5b5595(0x364)][_0x5b5595(0x305)]){case _0x4876af['UPDATE_CURSOR']:{_0x3ecf9e={'eventID':_0x4876af[_0x5b5595(0x26d)],'updateCursorEvent':_0x27f35d['data'][_0x5b5595(0x364)]};break;}case _0x4876af['USERS_LEAVE']:{_0x3ecf9e={'eventID':_0x4876af[_0x5b5595(0x2fb)],'leaveEvent':_0x27f35d[_0x5b5595(0x364)][_0x5b5595(0x364)]};break;}case _0x4876af[_0x5b5595(0xaf)]:{_0x3ecf9e={'eventID':_0x4876af[_0x5b5595(0xaf)],'joinEvent':_0x27f35d[_0x5b5595(0x364)][_0x5b5595(0x364)]};break;}case _0x4876af[_0x5b5595(0x163)]:{_0x3ecf9e={'eventID':_0x4876af['LIVESHARE_NEW_HOST'],'liveShareNewHost':_0x27f35d[_0x5b5595(0x364)]['data']};break;}case _0x4876af[_0x5b5595(0x2ea)]:{_0x3ecf9e={'eventID':_0x4876af['LIVESHARE_OPERATION'],'liveShareOperation':_0x27f35d['data'][_0x5b5595(0x364)]};break;}case _0x4876af[_0x5b5595(0x216)]:{_0x3ecf9e={'eventID':_0x4876af[_0x5b5595(0x216)],'liveShareTerminate':_0x27f35d['data'][_0x5b5595(0x364)]};break;}case _0x4876af[_0x5b5595(0x256)]:{_0x3ecf9e={'eventID':_0x4876af[_0x5b5595(0x256)],'liveShareRequestHost':_0x27f35d['data'][_0x5b5595(0x364)]};break;}case _0x4876af[_0x5b5595(0x2ba)]:{_0x3ecf9e={'eventID':_0x4876af[_0x5b5595(0x2ba)]};break;}default:_0x3ecf9e={'eventID':_0x27f35d['data'][_0x5b5595(0x305)]};}return JSON[_0x5b5595(0x165)]({'cmd':_0x27f35d['cmd'],'routeKey':_0x27f35d[_0x5b5595(0x104)],'collaMsg':_0x3ecf9e});}case F['JOIN']:return JSON[_0x5b5595(0x165)]({'cmd':_0x27f35d['cmd'],'routeKey':_0x27f35d[_0x5b5595(0x104)],'joinReq':_0x27f35d[_0x5b5595(0x364)]});case F[_0x5b5595(0x1ef)]:return JSON[_0x5b5595(0x165)]({'cmd':_0x27f35d['cmd'],'routeKey':_0x27f35d[_0x5b5595(0x104)],'leaveReq':_0x27f35d[_0x5b5595(0x364)]});default:throw new Error(_0x5b5595(0xc4));}}var Ps=Object[_0x6aebf(0x2ec)],Ls=(_0x10dee8,_0x48717d,_0x4c54ce,_0x5869c4)=>{var _0x1f62c0=_0x6aebf;for(var _0x209c6a=_0x5869c4>0x1?void 0x0:_0x5869c4?Ps(_0x48717d,_0x4c54ce):_0x48717d,_0x5645c8=_0x10dee8[_0x1f62c0(0x16a)]-0x1,_0x551808;_0x5645c8>=0x0;_0x5645c8--)(_0x551808=_0x10dee8[_0x5645c8])&&(_0x209c6a=_0x551808(_0x209c6a)||_0x209c6a);return _0x209c6a;},Ue=(_0x562ad2,_0x5c8dfd)=>(_0x35be67,_0x5091bf)=>_0x5c8dfd(_0x35be67,_0x5091bf,_0x562ad2);const gi=_0x31fd00(_0x6aebf(0x302));function Ms(_0x25aceb,_0x353e88,_0x4d90ad){var _0x4917db=_0x6aebf;return _0x25aceb+'/'+_0x353e88+_0x4917db(0x214)+_0x4d90ad+_0x4917db(0x249);}let Ft=class extends _0xd3ae1c{constructor(_0xf0abda,_0x7ee5fc,_0xa5eee2,_0x2ac577,_0x37918e){var _0xf17799=_0x6aebf;super(),this['_injector']=_0xf0abda,this[_0xf17799(0x190)]=_0x7ee5fc,this[_0xf17799(0x285)]=_0xa5eee2,this[_0xf17799(0x186)]=_0x2ac577,this[_0xf17799(0x316)]=_0x37918e;}[_0x6aebf(0x2d5)](_0x2ab398){var _0x464fa0=_0x6aebf;const _0x4d633c=this['_injector'][_0x464fa0(0x346)](_0x34dbdc);if(!_0x4d633c)throw new Error(_0x464fa0(0x2ab));const _0x51b896=_0x4d633c[_0x464fa0(0x215)](_0x2ab398);if(!_0x51b896)throw new Error(_0x464fa0(0x126));const _0x33731e=new _0x31cc16(),_0x71f6c0=new _0x2f4bdc();_0x33731e[_0x464fa0(0xc0)](_0x51b896[_0x464fa0(0x1cc)][_0x464fa0(0x18c)](_0xadac84=>_0x71f6c0[_0x464fa0(0x312)](_0xadac84))),_0x33731e[_0x464fa0(0xc0)](_0x30fd71(()=>_0x71f6c0[_0x464fa0(0xee)]()));const _0x244dc4=new _0x2f4bdc();_0x33731e[_0x464fa0(0xc0)](_0x51b896[_0x464fa0(0x14a)][_0x464fa0(0x18c)](_0xfdcbae=>_0x244dc4[_0x464fa0(0x312)](_0xfdcbae))),_0x33731e[_0x464fa0(0xc0)](_0x30fd71(()=>_0x244dc4[_0x464fa0(0xee)]()));const _0x3b8a28=new _0x2f4bdc();_0x33731e[_0x464fa0(0xc0)](_0x51b896[_0x464fa0(0x38e)][_0x464fa0(0x18c)](_0x380ed1=>{var _0x3ef555=_0x464fa0;const _0x5a6476=As(_0x380ed1);_0x3b8a28[_0x3ef555(0x312)](_0x5a6476);})),_0x33731e[_0x464fa0(0xc0)](_0x30fd71(()=>_0x3b8a28['complete']()));let _0x1cc84e;const _0x22157b=()=>{var _0x35d037=_0x464fa0;_0x244dc4[_0x35d037(0x312)](new Event(_0x35d037(0x269))),_0x71f6c0[_0x35d037(0x312)](new Event('connection\x20error')),_0x1cc84e[_0x35d037(0x370)]();};return _0x1cc84e={'memberID':'','close$':_0x71f6c0[_0x464fa0(0x28b)](),'error$':_0x244dc4[_0x464fa0(0x28b)](),'open$':_0x51b896['open$'],'message$':_0x3b8a28[_0x464fa0(0x28b)](),'send':_0x1dc82a=>{var _0x158caa=_0x464fa0;if(_0x1dc82a[_0x158caa(0x294)]===F[_0x158caa(0x121)]){if(_0x1dc82a[_0x158caa(0x364)][_0x158caa(0x305)]===_0x4876af['SUBMIT_CHANGESET']){this['_submitChangeset'](_0x1cc84e,_0x1dc82a[_0x158caa(0x364)])[_0x158caa(0x1c7)](_0x31dfeb=>{var _0x6abefc=_0x158caa;this['_logService'][_0x6abefc(0x232)](_0x31dfeb),_0x22157b();});return;}if(_0x1dc82a[_0x158caa(0x364)]['eventID']===_0x4876af['FETCH_MISSING']){const _0x236ded=_0x1dc82a[_0x158caa(0x364)];this[_0x158caa(0x230)](_0x236ded)[_0x158caa(0x34f)](_0x31d58f=>{var _0x2244ab=_0x158caa;_0x3b8a28['next']({'cmd':F[_0x2244ab(0x2d1)],'code':me['OK'],'routeKey':_0x236ded['data']['unitID'],'routeType':'','data':{'eventID':_0x4876af[_0x2244ab(0x11b)],'data':{'changesets':_0x31d58f}}});})[_0x158caa(0x1c7)](_0x17c673=>{var _0x256f5d=_0x158caa;this[_0x256f5d(0x186)]['error'](_0x17c673),_0x22157b();});return;}}_0x51b896[_0x158caa(0x125)](ws(_0x1dc82a));},'close':()=>{var _0x5f1ebf=_0x464fa0;_0x51b896[_0x5f1ebf(0x370)](),_0x33731e[_0x5f1ebf(0x29c)]();}},_0x1cc84e;}async[_0x6aebf(0x1e3)](_0x339cb4,_0xfc1dd){var _0x347faa=_0x6aebf,_0x3d3df2,_0x38d8fc;const {unitType:_0x3c2e15,unitID:_0xe4d3bb,changeset:_0x121f2c}=_0xfc1dd[_0x347faa(0x364)],_0x5b6258={'unitID':_0xe4d3bb,'memberID':_0x339cb4[_0x347faa(0x386)],'type':_0x3c2e15,'changeset':_0x22dcd4(_0x121f2c)},_0xdc086a=this[_0x347faa(0x285)][_0x347faa(0x30d)](bs),_0x350531=this[_0x347faa(0x285)][_0x347faa(0x30d)](K),_0x36d52e=Ms((_0x38d8fc=(_0x3d3df2=_0x350531==null?void 0x0:_0x350531[_0x347faa(0x28a)])!=null?_0x3d3df2:_0xdc086a)!=null?_0x38d8fc:Os,_0x3c2e15,_0xe4d3bb);try{await this['_httpService'][_0x347faa(0x288)](_0x36d52e,{'body':_0x5b6258});}catch(_0x1f45d3){throw this['_logService']['error']('[CollaborationSession]',_0x347faa(0x154)),_0x1f45d3;}}async[_0x6aebf(0x230)](_0x142925){var _0x382e56=_0x6aebf;const {unitID:_0x3f1627,from:_0x509353,to:_0x123e17,unitType:_0x2f7c78}=_0x142925[_0x382e56(0x364)];return(await this[_0x382e56(0x316)]['fetchMissingChangesets']({'metadata':void 0x0},{'unitID':_0x3f1627,'type':_0x2f7c78,'from':_0x509353,'to':_0x123e17}))[_0x382e56(0x397)];}};Ft=Ls([Ue(0x0,_0x18bb67(_0x11fbde)),Ue(0x1,_0x18bb67(_0x26c391)),Ue(0x2,_0x5317b8),Ue(0x3,_0x26f867),Ue(0x4,_0x3fe259)],Ft);const xs=_0x6aebf(0x334);function ks(_0x5e0e89){var _0x271cce=_0x6aebf;return JSON[_0x271cce(0x165)](_0x5e0e89)[_0x271cce(0x16a)];}class Si{constructor(){var _0x1c5a34=_0x6aebf;N(this,_0x1c5a34(0xea),new _0x2f4bdc()),N(this,_0x1c5a34(0x222),this[_0x1c5a34(0xea)][_0x1c5a34(0x28b)]());}['onCommentUpdate'](_0x10e6ab){this['_commentUpdate$']['next'](_0x10e6ab);}}var $s=Object[_0x6aebf(0x2ec)],Hs=(_0x43a886,_0x5a8921,_0x1393d9,_0x1f79f4)=>{for(var _0x2b4726=_0x1f79f4>0x1?void 0x0:_0x1f79f4?$s(_0x5a8921,_0x1393d9):_0x5a8921,_0x5d89d9=_0x43a886['length']-0x1,_0x301819;_0x5d89d9>=0x0;_0x5d89d9--)(_0x301819=_0x43a886[_0x5d89d9])&&(_0x2b4726=_0x301819(_0x2b4726)||_0x2b4726);return _0x2b4726;},Vt=(_0x1768a2,_0x36423b)=>(_0x48ad28,_0x3a3319)=>_0x36423b(_0x48ad28,_0x3a3319,_0x1768a2);let Pe=class extends _0xd3ae1c{constructor(_0x174e1d,_0x28c5c5){var _0x35fad2=_0x6aebf;super(),N(this,_0x35fad2(0x261),new Map()),N(this,_0x35fad2(0x135),new _0x2f4bdc()),(this[_0x35fad2(0x92)]=_0x174e1d,this[_0x35fad2(0x22f)]=_0x28c5c5,this[_0x35fad2(0x361)](_0x3fda27(this['_univerInstanceService']['getTypeOfUnitDisposed$'](_0x5a96fb[_0x35fad2(0x2c7)])[_0x35fad2(0x351)](_0x1c75cc(_0x415f12=>_0x415f12[_0x35fad2(0x30c)]())),this['_univerInstanceService'][_0x35fad2(0x9e)](_0x5a96fb[_0x35fad2(0x366)])[_0x35fad2(0x351)](_0x1c75cc(_0xa0328b=>_0xa0328b['getUnitId']())),this[_0x35fad2(0x92)][_0x35fad2(0x9e)](_0x5a96fb[_0x35fad2(0x23b)])[_0x35fad2(0x351)](_0x1c75cc(_0x1992c5=>_0x1992c5[_0x35fad2(0x30c)]())))[_0x35fad2(0x18c)](_0xe3c9fa=>this[_0x35fad2(0x33c)](_0xe3c9fa))));}['waitForRoom$'](_0xe06880){var _0x50fcc0=_0x6aebf;return this['_roomMembers'][_0x50fcc0(0x31b)](_0xe06880)?_0x3da406(this[_0x50fcc0(0x261)]['get'](_0xe06880)):this['_roomCreated$'][_0x50fcc0(0x351)](_0x1c75cc(_0x13d73c=>{var _0x1dcadc=_0x50fcc0;if(_0x13d73c===_0xe06880)return this[_0x1dcadc(0x261)][_0x1dcadc(0x346)](_0x13d73c);}));}[_0x6aebf(0x124)](_0x1c96b1){var _0x5beada=_0x6aebf;this[_0x5beada(0x22f)][_0x5beada(0x124)](_0x1c96b1);}['getCurrentUser'](){var _0x4d9ccf=_0x6aebf;return this[_0x4d9ccf(0x22f)]['getCurrentUser']();}[_0x6aebf(0x13d)](_0x5865ee,_0x257df8){var _0x13eec2=_0x6aebf;let _0xe48c6b=this[_0x13eec2(0x261)][_0x13eec2(0x346)](_0x5865ee);_0xe48c6b||(_0xe48c6b=new Bs(),this[_0x13eec2(0x261)][_0x13eec2(0x17a)](_0x5865ee,_0xe48c6b),this['_roomCreated$'][_0x13eec2(0x312)](_0x5865ee)),_0xe48c6b[_0x13eec2(0x13d)](_0x257df8);}['removeMember'](_0x48e833,_0x3d934a){var _0x4d1632=_0x6aebf;const _0x2c66bd=this[_0x4d1632(0x261)][_0x4d1632(0x346)](_0x48e833);_0x2c66bd&&_0x2c66bd[_0x4d1632(0x280)](_0x3d934a);}[_0x6aebf(0x321)](_0x5b1d1f){var _0x1f20b1=_0x6aebf;return this[_0x1f20b1(0x261)][_0x1f20b1(0x346)](_0x5b1d1f);}['getMember'](_0x4910f3,_0x85cf2f){var _0x2a25f2=_0x6aebf;const _0x191153=this[_0x2a25f2(0x261)][_0x2a25f2(0x346)](_0x4910f3);if(_0x191153)return _0x191153['getMember'](_0x85cf2f);}['_removeRoom'](_0x2dae71){var _0x4f8aba=_0x6aebf;const _0x1f7d15=this[_0x4f8aba(0x261)][_0x4f8aba(0x346)](_0x2dae71);_0x1f7d15&&(_0x1f7d15[_0x4f8aba(0x29c)](),this[_0x4f8aba(0x261)]['delete'](_0x2dae71));}[_0x6aebf(0x29c)](){var _0xc4e091=_0x6aebf;this['_roomMembers']['forEach'](_0x42be5a=>_0x42be5a['dispose']()),this[_0xc4e091(0x261)][_0xc4e091(0x32d)](),this[_0xc4e091(0x135)][_0xc4e091(0xee)]();}};Pe=Hs([Vt(0x0,_0x552064),Vt(0x1,_0x18bb67(_0x3df4c2))],Pe);class Bs extends _0xd3ae1c{constructor(){var _0xd8c3bf=_0x6aebf;super(...arguments),N(this,_0xd8c3bf(0x167),new Map()),N(this,'_members$',new _0x57bee0(this['_members'])),N(this,_0xd8c3bf(0x114),this[_0xd8c3bf(0x2d8)][_0xd8c3bf(0x28b)]());}[_0x6aebf(0x29c)](){var _0x5be96b=_0x6aebf;this[_0x5be96b(0x167)][_0x5be96b(0x32d)]();}[_0x6aebf(0x13d)](_0x555c42){var _0x4dbb16=_0x6aebf;this[_0x4dbb16(0x167)]['set'](_0x555c42['memberID'],_0x555c42),this[_0x4dbb16(0x16c)]();}['removeMember'](_0x62a809){var _0x1e6ca8=_0x6aebf;this[_0x1e6ca8(0x167)]['delete'](_0x62a809);}[_0x6aebf(0x11d)](_0x1c41f9){var _0x32c7df=_0x6aebf;return this[_0x32c7df(0x167)]['get'](_0x1c41f9);}[_0x6aebf(0x11c)](){var _0x47f2f3=_0x6aebf;return Array['from'](this[_0x47f2f3(0x167)][_0x47f2f3(0x2dd)]());}[_0x6aebf(0x16c)](){var _0x3217ea=_0x6aebf;this[_0x3217ea(0x2d8)][_0x3217ea(0x312)](this[_0x3217ea(0x167)]);}}var js=Object[_0x6aebf(0x2ec)],Fs=(_0x16e3ab,_0x3a0e75,_0x5485a9,_0x300880)=>{var _0x5eca7f=_0x6aebf;for(var _0x95cedd=_0x300880>0x1?void 0x0:_0x300880?js(_0x3a0e75,_0x5485a9):_0x3a0e75,_0x2ddd9f=_0x16e3ab[_0x5eca7f(0x16a)]-0x1,_0x499ec4;_0x2ddd9f>=0x0;_0x2ddd9f--)(_0x499ec4=_0x16e3ab[_0x2ddd9f])&&(_0x95cedd=_0x499ec4(_0x95cedd)||_0x95cedd);return _0x95cedd;},pe=(_0x27946d,_0x28ca54)=>(_0x197f27,_0x48a04a)=>_0x28ca54(_0x197f27,_0x48a04a,_0x27946d),Se=(_0x5c1127=>(_0x5c1127[_0x5c1127[_0x6aebf(0x290)]=0x0]=_0x6aebf(0x290),_0x5c1127[_0x5c1127[_0x6aebf(0x2b6)]=0x1]=_0x6aebf(0x2b6),_0x5c1127[_0x5c1127[_0x6aebf(0x137)]=0x2]='OFFLINE',_0x5c1127[_0x5c1127[_0x6aebf(0xc2)]=0x3]=_0x6aebf(0xc2),_0x5c1127))(Se||{});const Gt={[me[_0x6aebf(0x188)]]:_0x6aebf(0x24b),[me['JOIN_ROOM_FULL']]:_0x6aebf(0x398),[me['JOIN_ROOM_NOT_EXISTS']]:_0x6aebf(0x1fd),[me[_0x6aebf(0x1d9)]]:_0x6aebf(0x1d6),[me[_0x6aebf(0x2de)]]:_0x6aebf(0x162)};let gt=class extends _0x4a9342{constructor(_0x528688,_0xc91634,_0xf2965b,_0xfac4ea,_0x269355,_0x1edd86,_0x3c3046,_0x35dcd9,_0x3275d2){var _0x3436e8=_0x6aebf;super(),N(this,'_sessionStatus$',new _0x57bee0(0x0)),N(this,'sessionStatus$',this[_0x3436e8(0x283)][_0x3436e8(0x28b)]()),N(this,_0x3436e8(0x36c),new _0x2f4bdc()),N(this,_0x3436e8(0x32f),this[_0x3436e8(0x36c)][_0x3436e8(0x28b)]()),N(this,_0x3436e8(0xa3)),N(this,_0x3436e8(0xd3)),N(this,'_collaborationTimeoutTimer'),N(this,_0x3436e8(0xed),!0x1),N(this,_0x3436e8(0x2fd),null),(this[_0x3436e8(0x377)]=_0x528688,this[_0x3436e8(0x186)]=_0xf2965b,this['_configService']=_0xfac4ea,this[_0x3436e8(0x95)]=_0x269355,this[_0x3436e8(0x267)]=_0x1edd86,this['_commentService']=_0x3c3046,this['_collaborationUIEventService']=_0x35dcd9,this[_0x3436e8(0x204)]=_0x3275d2,this[_0x3436e8(0xed)]=!!this['_telemetryService'],_0xc91634['pipe'](_0x27e979(this['dispose$']))['subscribe'](_0x459473=>{var _0x327bc1=_0x3436e8,_0xb99164;typeof _0x459473>'u'||(this[_0x327bc1(0xa3)]=_0x459473,_0x459473?(this[_0x327bc1(0x12c)](_0x459473),this[_0x327bc1(0xd3)]=_0x459473[_0x327bc1(0x38e)][_0x327bc1(0x18c)](_0x49661b=>{var _0x4631aa=_0x327bc1;_0x49661b[_0x4631aa(0x104)]===this['_unitID']&&this[_0x4631aa(0x293)](_0x49661b);})):(this[_0x327bc1(0x16e)](),this[_0x327bc1(0x283)][_0x327bc1(0x312)](0x2),(_0xb99164=this['_socketMessageSubscription'])==null||_0xb99164[_0x327bc1(0x119)](),this[_0x327bc1(0xd3)]=null));}));}get[_0x6aebf(0x147)](){var _0x223912=_0x6aebf;return this[_0x223912(0x283)][_0x223912(0x354)]();}[_0x6aebf(0x9d)](){var _0x692513=_0x6aebf,_0x50d9a2,_0x4ce7b5;return(_0x4ce7b5=(_0x50d9a2=this['_socket'])==null?void 0x0:_0x50d9a2[_0x692513(0x386)])!=null?_0x4ce7b5:null;}[_0x6aebf(0x29c)](){var _0x2ea081=_0x6aebf;super['dispose'](),this[_0x2ea081(0x1df)][_0x2ea081(0x312)](),this[_0x2ea081(0x1df)]['complete']();}[_0x6aebf(0x370)](){var _0x3a4a54=_0x6aebf,_0x416db8,_0x423c92;this[_0x3a4a54(0x16e)](),(_0x416db8=this[_0x3a4a54(0xa3)])==null||_0x416db8[_0x3a4a54(0x125)]({'cmd':F[_0x3a4a54(0x1ef)],'data':{'roomID':this['_unitID']}}),(_0x423c92=this['_socket'])==null||_0x423c92[_0x3a4a54(0x370)](),this[_0x3a4a54(0x36c)][_0x3a4a54(0xee)](),this['_sessionStatus$'][_0x3a4a54(0xee)](),this[_0x3a4a54(0x29c)]();}[_0x6aebf(0x293)](_0x36391d){var _0x51e903=_0x6aebf;_0x36391d[_0x51e903(0x294)]===F[_0x51e903(0x308)]?this[_0x51e903(0xac)](_0x36391d):_0x36391d[_0x51e903(0x294)]===F['RECV']&&this[_0x51e903(0x376)](_0x36391d);}['_joinRoom'](_0xfb82b7){var _0x2a3440=_0x6aebf;this[_0x2a3440(0x283)][_0x2a3440(0x312)](0x1),_0xfb82b7[_0x2a3440(0x125)]({'cmd':F[_0x2a3440(0x308)],'routeKey':this[_0x2a3440(0x377)],'routeType':'','data':{'rooms':[{'roomID':this[_0x2a3440(0x377)]}]}});}['_onJoinRoomEvent'](_0x3849e6){var _0x4c73be=_0x6aebf,_0x40d50a;if(_0x3849e6[_0x4c73be(0x1f2)]in Gt){this['_collaborationUIEventService']['emitEvent']({'id':ne['JOIN_ROOM_FAILED'],'data':Gt[_0x3849e6[_0x4c73be(0x1f2)]]}),this[_0x4c73be(0x283)]['next'](0x2);return;}this['_sessionStatus$'][_0x4c73be(0x312)](0x3);const _0x21fcb7=(_0x40d50a=_0x3849e6[_0x4c73be(0x364)][_0x4c73be(0x25c)][this[_0x4c73be(0x377)]])==null?void 0x0:_0x40d50a['members'];_0x21fcb7&&_0x21fcb7[_0x4c73be(0x14b)](_0x595ff4=>this[_0x4c73be(0x267)][_0x4c73be(0x13d)](this[_0x4c73be(0x377)],_0x595ff4));}[_0x6aebf(0x376)](_0x362712){var _0x2e730a=_0x6aebf;try{const _0x216dc7=_0x362712[_0x2e730a(0x364)];switch(_0x216dc7['eventID']){case _0x4876af['USERS_ENTER']:this[_0x2e730a(0x20b)](_0x216dc7),this['_event$'][_0x2e730a(0x312)](_0x216dc7);break;case _0x4876af['USERS_LEAVE']:this[_0x2e730a(0x363)](_0x216dc7),this[_0x2e730a(0x36c)]['next'](_0x216dc7);break;case _0x4876af['CHANGESET_ACK']:case _0x4876af[_0x2e730a(0x2e9)]:this['_stopTelemetryCollaborationNewChangeset'](),this[_0x2e730a(0x250)](),this[_0x2e730a(0x36c)][_0x2e730a(0x312)](_0x216dc7);break;case _0x4876af[_0x2e730a(0xd7)]:this['_logService']['error']('save\x20fail\x20reason\x20is\x20'+JSON['stringify'](_0x216dc7)),this['_event$'][_0x2e730a(0x312)](_0x216dc7);break;case _0x4876af[_0x2e730a(0xc5)]:this[_0x2e730a(0x33f)][_0x2e730a(0x315)](_0x216dc7[_0x2e730a(0x364)]),this[_0x2e730a(0x36c)][_0x2e730a(0x312)](_0x216dc7);break;default:this[_0x2e730a(0x36c)]['next'](_0x216dc7);}}catch(_0x5d51f2){this[_0x2e730a(0x186)][_0x2e730a(0x232)](_0x5d51f2,_0x362712);}}[_0x6aebf(0x20b)](_0x2a2d3d){var _0x239886=_0x6aebf;this['_memberService'][_0x239886(0x13d)](this[_0x239886(0x377)],_0x2a2d3d['data']);}[_0x6aebf(0x363)](_0x4acb5b){var _0x497f85=_0x6aebf;this[_0x497f85(0x267)]['removeMember'](this['_unitID'],_0x4acb5b[_0x497f85(0x364)][_0x497f85(0x386)]);}async[_0x6aebf(0x125)](_0x55616c,_0x13a7b7){var _0x45390d=_0x6aebf;if(this['sessionStatus']!==0x3||!this[_0x45390d(0xa3)])throw new Error(_0x45390d(0xde));try{_0x55616c[_0x45390d(0x305)]===_0x4876af[_0x45390d(0x2bd)]&&(this[_0x45390d(0x193)](),this[_0x45390d(0x260)](_0x55616c)),this[_0x45390d(0xa3)][_0x45390d(0x125)]({'cmd':F[_0x45390d(0x121)],'routeKey':_0x13a7b7,'routeType':'','data':_0x55616c});}catch(_0x2cbee8){this[_0x45390d(0x186)][_0x45390d(0x232)](_0x2cbee8);}}[_0x6aebf(0x193)](){var _0x58ea63=_0x6aebf,_0x4bcc95;this[_0x58ea63(0x348)]=setTimeout(()=>{var _0x4fd270=_0x58ea63;this['_collaborationTimeoutTimer']=null,this[_0x4fd270(0x1cf)]['emitEvent']({'id':ne[_0x4fd270(0xf8)]});},(_0x4bcc95=this[_0x58ea63(0x285)][_0x58ea63(0x30d)](fi))!=null?_0x4bcc95:vi);}[_0x6aebf(0x250)](){var _0x5464c1=_0x6aebf;this['_collaborationTimeoutTimer']&&(clearTimeout(this[_0x5464c1(0x348)]),this[_0x5464c1(0x348)]=null);}[_0x6aebf(0x260)](_0x12bc9f){var _0x33bd6f=_0x6aebf;if(!this['_shouldReportTelemetry'])return;const {data:_0xf2b11c}=_0x12bc9f,{unitID:_0x4ba742,changeset:_0x4703dc}=_0xf2b11c,{mutations:_0x45323f,type:_0x44a9a8}=_0x4703dc;this[_0x33bd6f(0x2fd)]={'unitId':_0x4ba742,'type':_0x44a9a8,'startTime':performance['now'](),'stopTime':0x0,'duration':0x0,'size':ks(_0x45323f)};}[_0x6aebf(0xe1)](){var _0x1fab9b=_0x6aebf;if(this[_0x1fab9b(0xed)]){if(!this[_0x1fab9b(0x2fd)]){this[_0x1fab9b(0x186)][_0x1fab9b(0x232)]('[CollaborationSession]',_0x1fab9b(0x1d8));return;}this['_telemetryInfo'][_0x1fab9b(0x270)]=performance['now'](),this[_0x1fab9b(0x2fd)][_0x1fab9b(0x292)]=this['_telemetryInfo'][_0x1fab9b(0x270)]-this[_0x1fab9b(0x2fd)][_0x1fab9b(0x291)],this[_0x1fab9b(0x204)][_0x1fab9b(0x1ee)](xs,this[_0x1fab9b(0x2fd)]),this['_telemetryInfo']=null;}}[_0x6aebf(0x16e)](){this['_telemetryInfo']=null;}};gt=Fs([pe(0x2,_0x26f867),pe(0x3,_0x5317b8),pe(0x4,_0x18bb67(_0x21749b)),pe(0x5,_0x18bb67(Pe)),pe(0x6,_0x18bb67(Si)),pe(0x7,_0x18bb67(ve)),pe(0x8,_0x870f26(_0x8ee61a))],gt);var Vs=Object[_0x6aebf(0x2ec)],Gs=(_0x43bfd6,_0x34774b,_0x553192,_0x469aaf)=>{var _0x84183f=_0x6aebf;for(var _0x3c8b6e=_0x469aaf>0x1?void 0x0:_0x469aaf?Vs(_0x34774b,_0x553192):_0x34774b,_0x721c63=_0x43bfd6[_0x84183f(0x16a)]-0x1,_0xf21c43;_0x721c63>=0x0;_0x721c63--)(_0xf21c43=_0x43bfd6[_0x721c63])&&(_0x3c8b6e=_0xf21c43(_0x3c8b6e)||_0x3c8b6e);return _0x3c8b6e;},Re=(_0x5c819f,_0x5d2df5)=>(_0x24e0bc,_0x5eea1b)=>_0x5d2df5(_0x24e0bc,_0x5eea1b,_0x5c819f);let Le=class extends _0xd3ae1c{constructor(_0x4d8e7a,_0xacd047,_0x2290f1,_0x223eb7,_0x29b69f,_0x338c4d){var _0x4e0b43=_0x6aebf;super(),N(this,_0x4e0b43(0x26f),new _0x57bee0(void 0x0)),N(this,_0x4e0b43(0x296),this['_socket$']['asObservable']()),N(this,_0x4e0b43(0x35e),null),N(this,_0x4e0b43(0x2f0),new Map()),N(this,_0x4e0b43(0x106),new _0x57bee0(Se['IDLE'])),N(this,_0x4e0b43(0x367),this[_0x4e0b43(0x106)][_0x4e0b43(0x28b)]()),N(this,'_socketReady',!0x1),N(this,_0x4e0b43(0x140)),N(this,'_retryCount',0x0),N(this,_0x4e0b43(0x116)),N(this,_0x4e0b43(0x332)),(this[_0x4e0b43(0x33b)]=_0x4d8e7a,this[_0x4e0b43(0x186)]=_0xacd047,this[_0x4e0b43(0x285)]=_0x2290f1,this['_socketService']=_0x223eb7,this[_0x4e0b43(0x1cf)]=_0x29b69f,this[_0x4e0b43(0x13e)]=_0x338c4d,this[_0x4e0b43(0xd4)]());}get[_0x6aebf(0xa3)](){return this['_socket$']['getValue']();}[_0x6aebf(0xd4)](){var _0x317a1a=_0x6aebf;this['_networkConditionService']&&this[_0x317a1a(0x361)](this[_0x317a1a(0x13e)][_0x317a1a(0x20d)]['subscribe'](_0x295e3c=>{var _0x39b8ac=_0x317a1a;_0x295e3c&&!this['_socket']&&this[_0x39b8ac(0x223)](),_0x295e3c||this[_0x39b8ac(0x225)]();}));}[_0x6aebf(0x29c)](){var _0x496be5=_0x6aebf;super['dispose'](),this[_0x496be5(0x343)](),this[_0x496be5(0x2bb)](),this[_0x496be5(0x38b)](),this[_0x496be5(0x2f0)][_0x496be5(0x14b)](_0x59f97d=>_0x59f97d['dispose']()),this['_sessions']['clear'](),this[_0x496be5(0x106)][_0x496be5(0xee)]();}async[_0x6aebf(0x25d)](_0x2856cb){var _0x1b328a=_0x6aebf;if(this[_0x1b328a(0x2f0)][_0x1b328a(0x31b)](_0x2856cb))return this['_sessions'][_0x1b328a(0x346)](_0x2856cb);this['_tryEnsureSocket']();const _0x3e1b96=this[_0x1b328a(0x33b)][_0x1b328a(0x322)](gt,_0x2856cb,this[_0x1b328a(0x26f)][_0x1b328a(0x28b)]());return this['_sessions'][_0x1b328a(0x17a)](_0x2856cb,_0x3e1b96),_0x3e1b96;}[_0x6aebf(0x307)](_0x45921b){var _0x4d19e4=_0x6aebf,_0x74029a;const _0x1e7f53=this[_0x4d19e4(0x2f0)]['get'](_0x45921b);_0x1e7f53&&(this[_0x4d19e4(0x2f0)]['delete'](_0x45921b),_0x1e7f53[_0x4d19e4(0x370)]()),this['_sessions'][_0x4d19e4(0x226)]||(_0x74029a=this[_0x4d19e4(0xa3)])==null||_0x74029a[_0x4d19e4(0x370)]();}['reconnect'](){var _0x5c780a=_0x6aebf;this[_0x5c780a(0x173)]=0x0,this[_0x5c780a(0x343)](),this[_0x5c780a(0x298)]();}[_0x6aebf(0x343)](){var _0x265c5b=_0x6aebf;this[_0x265c5b(0x140)]!=null&&(clearTimeout(this[_0x265c5b(0x140)]),this[_0x265c5b(0x140)]=null);}async[_0x6aebf(0x213)](){var _0x5e262e=_0x6aebf,_0x1b041d,_0x3f8915;const _0x3095c6=this[_0x5e262e(0x285)][_0x5e262e(0x30d)](gs),_0x105f5f=this[_0x5e262e(0x285)][_0x5e262e(0x30d)](K),_0x3acb5f=(_0x3f8915=(_0x1b041d=_0x105f5f==null?void 0x0:_0x105f5f[_0x5e262e(0x338)])!=null?_0x1b041d:_0x3095c6)!=null?_0x3f8915:Ss,_0x411426=await this[_0x5e262e(0x17c)][_0x5e262e(0x215)](_0x3acb5f);return this[_0x5e262e(0x35e)]=_0x411426,_0x411426;}async[_0x6aebf(0x2dc)](){var _0x2da535=_0x6aebf,_0x3bf460,_0x4a9259;try{const _0x504198=(_0x4a9259=(_0x3bf460=this[_0x2da535(0xa3)])!=null?_0x3bf460:this[_0x2da535(0x35e)])!=null?_0x4a9259:await this['_createSocket']();if(_0x504198){const _0x4bd675=_0x504198[_0x2da535(0x125)];_0x504198[_0x2da535(0x125)]=_0xc6ea29=>(this[_0x2da535(0x149)](),_0x4bd675[_0x2da535(0x136)](_0x504198,[_0xc6ea29])),_0x504198[_0x2da535(0x38e)]['subscribe'](_0x353f94=>this[_0x2da535(0x341)](_0x504198,_0x353f94)),_0x504198[_0x2da535(0x14a)][_0x2da535(0x351)](_0x2966d8(0x1))[_0x2da535(0x18c)](_0x4f0613=>this['_logService'][_0x2da535(0x232)](_0x2da535(0x17f),_0x4f0613)),_0x504198[_0x2da535(0x2c0)][_0x2da535(0x351)](_0x2966d8(0x1))[_0x2da535(0x18c)](()=>{var _0xabceaa=_0x2da535;this[_0xabceaa(0x108)](_0x504198);}),_0x504198[_0x2da535(0x1cc)][_0x2da535(0x351)](_0x2966d8(0x1))[_0x2da535(0x18c)](_0x4426ef=>{var _0x26dfc7=_0x2da535;this[_0x26dfc7(0x186)]['debug']('[CollaborationSessionService]',_0x26dfc7(0x2c9),_0x4426ef),this[_0x26dfc7(0x320)]();});}}catch(_0x2ee299){this['_logService'][_0x2da535(0x232)](_0x2ee299),this[_0x2da535(0x320)]();}}[_0x6aebf(0x108)](_0x25615a){var _0x45b692=_0x6aebf;this[_0x45b692(0x186)][_0x45b692(0x180)](_0x45b692(0xb2),_0x45b692(0x371)),_0x25615a[_0x45b692(0x125)]({'cmd':F[_0x45b692(0x98)]}),this[_0x45b692(0x149)]();}['_onOffline'](){var _0x360743=_0x6aebf;this[_0x360743(0x127)]=!0x1,this['_candidateSocket']=null,this[_0x360743(0x106)][_0x360743(0x312)](Se[_0x360743(0x137)]),this[_0x360743(0x26f)]['next'](null),this[_0x360743(0x2bb)](),this[_0x360743(0x38b)]();}[_0x6aebf(0x320)](){var _0x274902=_0x6aebf,_0x2596d0;this[_0x274902(0x225)](),this['_retryCount']<((_0x2596d0=this['_configService'][_0x274902(0x30d)](Cs))!=null?_0x2596d0:Rs)?(this['_collaborationUIEventService'][_0x274902(0x247)]({'id':ne['SOCKET_FAILED_RETRY']}),this[_0x274902(0x298)]()):this[_0x274902(0x1cf)][_0x274902(0x247)]({'id':ne[_0x274902(0x1a1)]});}[_0x6aebf(0x298)](){var _0x271c11=_0x6aebf,_0xe6ca48;const _0x1ed7dc=this[_0x271c11(0x173)],_0x4892d8=this['_configService']['getConfig'](K),_0x5c4061=_0x1ed7dc===0x0?0x0:((_0xe6ca48=_0x4892d8==null?void 0x0:_0x4892d8[_0x271c11(0x1b5)])!=null?_0xe6ca48:Ts)*0x2**_0x1ed7dc;this[_0x271c11(0x140)]=setTimeout(()=>{var _0x58cf22=_0x271c11;clearTimeout(this[_0x58cf22(0x140)]),this[_0x58cf22(0x140)]=null,this[_0x58cf22(0x2dc)]();},_0x5c4061),this['_retryCount']+=0x1;}[_0x6aebf(0x341)](_0x367469,_0x3c1e7e){var _0x4cb1fe=_0x6aebf;const {cmd:_0x18b5dd}=_0x3c1e7e;_0x18b5dd===F['HELLO']&&!this[_0x4cb1fe(0x127)]&&(_0x367469[_0x4cb1fe(0x386)]=_0x3c1e7e[_0x4cb1fe(0x364)][_0x4cb1fe(0x386)],this[_0x4cb1fe(0x26f)][_0x4cb1fe(0x312)](_0x367469),this[_0x4cb1fe(0x106)][_0x4cb1fe(0x312)](Se[_0x4cb1fe(0xc2)]),this['_socketReady']=!0x0,this[_0x4cb1fe(0x35e)]=null),_0x18b5dd===F[_0x4cb1fe(0x303)]&&this[_0x4cb1fe(0x2bb)](),this[_0x4cb1fe(0x149)]();}[_0x6aebf(0x149)](){var _0x3c446f=_0x6aebf,_0x5c140c;this[_0x3c446f(0x38b)](),this['_sendHeartbeatTimer']=setTimeout(()=>this[_0x3c446f(0x22a)](),(_0x5c140c=this[_0x3c446f(0x285)]['getConfig'](Es))!=null?_0x5c140c:Is);}[_0x6aebf(0x22a)](){var _0x6de55c=_0x6aebf;this['_socket'][_0x6de55c(0x125)]({'cmd':F['HEARTBEAT']}),this[_0x6de55c(0x2be)]();}[_0x6aebf(0x2be)](){var _0x2092ce=_0x6aebf,_0x116b9d;this[_0x2092ce(0x332)]=setTimeout(()=>this[_0x2092ce(0x320)](),(_0x116b9d=this[_0x2092ce(0x285)][_0x2092ce(0x30d)](fi))!=null?_0x116b9d:vi);}[_0x6aebf(0x38b)](){var _0x53a5db=_0x6aebf;this[_0x53a5db(0x116)]!=null&&(clearTimeout(this[_0x53a5db(0x116)]),this[_0x53a5db(0x116)]=null);}[_0x6aebf(0x2bb)](){var _0x29ef7d=_0x6aebf;this[_0x29ef7d(0x332)]!=null&&(clearTimeout(this[_0x29ef7d(0x332)]),this['_timeoutTimer']=null);}};Le=Gs([Re(0x0,_0x18bb67(_0x11fbde)),Re(0x1,_0x26f867),Re(0x2,_0x5317b8),Re(0x3,gi),Re(0x4,_0x18bb67(ve)),Re(0x5,_0x870f26(Us))],Le);const J=_0x31fd00('collaboration-client.local-cache-service');function Pr(_0x1100e8){return'unit-cache-'+_0x1100e8;}var Ws=Object['getOwnPropertyDescriptor'],Ys=(_0x19dea6,_0x257da1,_0x149574,_0x1ff07c)=>{var _0x1d68b3=_0x6aebf;for(var _0x507e79=_0x1ff07c>0x1?void 0x0:_0x1ff07c?Ws(_0x257da1,_0x149574):_0x257da1,_0x592123=_0x19dea6[_0x1d68b3(0x16a)]-0x1,_0x27fb4d;_0x592123>=0x0;_0x592123--)(_0x27fb4d=_0x19dea6[_0x592123])&&(_0x507e79=_0x27fb4d(_0x507e79)||_0x507e79);return _0x507e79;},ut=(_0x4a8999,_0x1041bc)=>(_0x311aaa,_0x59fd9d)=>_0x1041bc(_0x311aaa,_0x59fd9d,_0x4a8999);function Ks(_0x5645de){var _0x5c32f2=_0x6aebf;const {unitID:_0x42bfd4,mutations:_0x93fd17}=_0x5645de;return{'unitId':_0x42bfd4,'subUnitId':_0x93fd17[0x0][_0x5c32f2(0x388)][_0x5c32f2(0x26a)]};}let it=class{constructor(_0x223292,_0x34fba0,_0x23edc4){var _0x30c87e=_0x6aebf;this[_0x30c87e(0x33b)]=_0x223292,this[_0x30c87e(0x35d)]=_0x34fba0,this[_0x30c87e(0x28d)]=_0x23edc4;}[_0x6aebf(0xca)](_0x549178){var _0x4dabfb=_0x6aebf,_0x36e181,_0x555c6c,_0x11eee0,_0x53f590;const _0x35ffc1=this[_0x4dabfb(0x33b)][_0x4dabfb(0x346)](_0x475ccb),{unitId:_0x21372d,subUnitId:_0x30c6ac}=Ks(_0x549178),_0x65d763=_0x35ffc1==null?void 0x0:_0x35ffc1['getWorkbookSelections'](_0x21372d)['getCurrentSelections'](),_0x375444=(_0x555c6c=(_0x36e181=this[_0x4dabfb(0x28d)][_0x4dabfb(0x2a9)](_0x21372d))==null?void 0x0:_0x36e181[_0x4dabfb(0x27c)]())==null?void 0x0:_0x555c6c['getSheetId']();if(_0x65d763[_0x4dabfb(0x16a)]===0x0||!_0x21372d||!_0x30c6ac)return;const _0x51963c=[{'id':_0x568604['id'],'params':{'unitId':_0x21372d,'subUnitId':_0x375444,'selections':_0x11388e['deepClone'](_0x65d763)}}],_0x38eac3=this[_0x4dabfb(0x35d)][_0x4dabfb(0x228)](_0x549178,_0x51963c);if(!_0x4cda53(_0x38eac3))throw _0x38eac3['error'];const _0xab85ee=(_0x53f590=(_0x11eee0=_0x38eac3[_0x4dabfb(0x29b)][0x0])==null?void 0x0:_0x11eee0[_0x4dabfb(0x388)])==null?void 0x0:_0x53f590[_0x4dabfb(0x219)];if(Array[_0x4dabfb(0x396)](_0xab85ee)&&_0xab85ee[_0x4dabfb(0x16a)]){if(_0xab85ee[_0x4dabfb(0x16a)]===_0x51963c[0x0]['params'][_0x4dabfb(0x219)][_0x4dabfb(0x16a)]&&_0xab85ee[_0x4dabfb(0x2ca)]((_0x13994a,_0x322bff)=>_0x4ab498[_0x4dabfb(0x2fe)](_0x13994a[_0x4dabfb(0x2e2)],_0x51963c[0x0][_0x4dabfb(0x388)][_0x4dabfb(0x219)][_0x322bff][_0x4dabfb(0x2e2)])))return;this[_0x4dabfb(0x33b)][_0x4dabfb(0x346)](_0x25bbcf)[_0x4dabfb(0x1dc)](_0x568604['id'],{'unitId':_0x21372d,'subUnitId':_0x375444,'selections':_0xab85ee});}}};it=Ys([ut(0x0,_0x18bb67(_0x11fbde)),ut(0x1,_0x55d63a),ut(0x2,_0x552064)],it);const ht=_0x31fd00(_0x6aebf(0x395));var Ei=(_0x5aa599=>(_0x5aa599[_0x5aa599[_0x6aebf(0xdd)]=0x0]=_0x6aebf(0xdd),_0x5aa599[_0x5aa599[_0x6aebf(0x1fc)]=0x1]='OTHER_CLIENTS_EDITING',_0x5aa599))(Ei||{});const qs=new Set([_0x15c086['id']]);function Wt(_0x23ff84,_0x30f351,_0x1c2a8a,_0xb957b0,_0x5a0485){var _0x4d7c52=_0x6aebf,_0x3281ec,_0x12654d,_0x1c14c3,_0x274925;const _0x25e445=[];for(const _0x164afb of _0x23ff84)if(qs['has'](_0x164afb['id'])){if(_0x25e445[_0x4d7c52(0x16a)]>0x0)break;_0x25e445['push'](_0x164afb);break;}else _0x25e445[_0x4d7c52(0xce)](_0x164afb);const _0x3de920=(_0x12654d=(_0x3281ec=_0x5a0485['getCurrentUser']())==null?void 0x0:_0x3281ec[_0x4d7c52(0x191)])!=null?_0x12654d:'unknown',_0x1383b0=(_0x274925=(_0x1c14c3=_0x5a0485['getCurrentUser']())==null?void 0x0:_0x1c14c3[_0x4d7c52(0x386)])!=null?_0x274925:_0x4d7c52(0x31c);return{'changeset':{'unitID':_0x30f351,'type':_0x430aac(_0x1c2a8a[_0x4d7c52(0x374)](_0x30f351)),'baseRev':_0xb957b0[_0x4d7c52(0x141)](_0x30f351),'revision':0x0,'userID':_0x3de920,'memberID':_0x1383b0,'mutations':_0x25e445},'pendingMutations':_0x23ff84['slice'](_0x25e445[_0x4d7c52(0x16a)])};}function zs(_0x3a2bc3,_0xcad82d,_0x2c4076,_0x287aea,_0x183ca1){var _0x172530=_0x6aebf,_0x33197e,_0x10c0fa,_0x185910,_0xf55853;const _0x3e8fd1=[_0x3a2bc3[_0x172530(0x325)]((_0x17a5ef,_0x4ff2cf)=>{var _0xf9a5b7=_0x172530,_0x424250;const {id:_0x369068}=_0x17a5ef,{id:_0x4d998b,type:_0x3bb857}=_0x4ff2cf,_0x4f381c=(_0x424250=_0x17a5ef[_0xf9a5b7(0x388)])!=null?_0x424250:{'actions':null},_0x10327b=_0x4ff2cf['params'];if(_0x369068&&_0x369068!==_0x4d998b)throw new Error(_0xf9a5b7(0x2d4)+_0x369068+_0xf9a5b7(0x112)+_0x4d998b+'.');return{..._0x17a5ef,'id':_0x4d998b,'type':_0x3bb857,'params':{'unitId':_0x10327b[_0xf9a5b7(0x128)],'textRanges':_0x10327b['textRanges'],'actions':_0x498440[_0xf9a5b7(0x161)](_0x4f381c[_0xf9a5b7(0x1a6)],_0x10327b[_0xf9a5b7(0x1a6)])}};},{})],_0x21637a=(_0x10c0fa=(_0x33197e=_0x183ca1[_0x172530(0x1a7)]())==null?void 0x0:_0x33197e[_0x172530(0x191)])!=null?_0x10c0fa:'unknown',_0x376c6a=(_0xf55853=(_0x185910=_0x183ca1[_0x172530(0x1a7)]())==null?void 0x0:_0x185910[_0x172530(0x386)])!=null?_0xf55853:_0x172530(0x31c);return{'changeset':{'unitID':_0xcad82d,'type':_0x430aac(_0x2c4076['getUnitType'](_0xcad82d)),'baseRev':_0x287aea[_0x172530(0x141)](_0xcad82d),'revision':0x0,'userID':_0x21637a,'memberID':_0x376c6a,'mutations':_0x3e8fd1},'pendingMutations':[]};}function Ii(_0x5079d6,_0x197160){var _0x14ba65=_0x6aebf;const _0x5b6e6c=new _0x2bb09b(0x1);return setTimeout(()=>_0x5b6e6c[_0x14ba65(0x312)](_0x197160),_0x5079d6),_0x5b6e6c[_0x14ba65(0x28b)]()[_0x14ba65(0x351)](_0x562006(0x1));}const Js={'id':_0x48ed62['id'],'type':_0x2863dc['MUTATION'],'params':{}};var Xs=Object[_0x6aebf(0x2ec)],Ie=(_0x1e3826,_0x41569e,_0xe6a9b,_0x2e5ad8)=>{var _0x4f38e0=_0x6aebf;for(var _0x5ade40=_0x2e5ad8>0x1?void 0x0:_0x2e5ad8?Xs(_0x41569e,_0xe6a9b):_0x41569e,_0x201abe=_0x1e3826[_0x4f38e0(0x16a)]-0x1,_0x477cf5;_0x201abe>=0x0;_0x201abe--)(_0x477cf5=_0x1e3826[_0x201abe])&&(_0x5ade40=_0x477cf5(_0x5ade40)||_0x5ade40);return _0x5ade40;},P=(_0x50daff,_0xa012f)=>(_0x20a2c1,_0x5ad5fb)=>_0xa012f(_0x20a2c1,_0x5ad5fb,_0x50daff),Ti=(_0x5c8738=>(_0x5c8738[_0x6aebf(0xf4)]=_0x6aebf(0x1d2),_0x5c8738[_0x6aebf(0x12a)]=_0x6aebf(0x368),_0x5c8738[_0x6aebf(0x130)]=_0x6aebf(0x372),_0x5c8738[_0x6aebf(0x2e3)]=_0x6aebf(0x10b),_0x5c8738[_0x6aebf(0x1f4)]=_0x6aebf(0xfb),_0x5c8738[_0x6aebf(0x287)]=_0x6aebf(0x91),_0x5c8738[_0x6aebf(0xf7)]=_0x6aebf(0x1e0),_0x5c8738['OFFLINE']=_0x6aebf(0xf9),_0x5c8738))(Ti||{});const Ci=0xea60;class Te{constructor(_0x32925d,_0x33f5b8,_0x17427b,_0x1d0d2c,_0x1c7924,_0x29b240,_0x228152,_0x4043c0,_0x484517){var _0x28a9d5=_0x6aebf;N(this,_0x28a9d5(0x118),null),N(this,_0x28a9d5(0x360),[]),(this[_0x28a9d5(0x196)]=_0x32925d,this['type']=_0x33f5b8,this[_0x28a9d5(0xfc)]=_0x1c7924,this[_0x28a9d5(0x319)]=_0x29b240,this[_0x28a9d5(0x1a4)]=_0x228152,this['_revisionService']=_0x4043c0,this[_0x28a9d5(0x20e)]=_0x484517,this['_awaitingChangeset']=_0x17427b,this[_0x28a9d5(0x360)]=_0x1d0d2c);}[_0x6aebf(0x146)](_0x1fb0b3){var _0x5b86ef=_0x6aebf;const _0x501fb5=this[_0x5b86ef(0xb8)]['getCurrentRevOfUnit'](this[_0x5b86ef(0x196)]);return _0x1fb0b3[_0x5b86ef(0x258)]>_0x501fb5+0x1?(this[_0x5b86ef(0xfc)]['onMissingChangesets']({'from':_0x501fb5,'to':_0x1fb0b3[_0x5b86ef(0x258)]-0x1}),!0x0):!0x1;}['_transformUndoredo'](_0x569423){var _0x5f4867=_0x6aebf;this[_0x5f4867(0x1a4)][_0x5f4867(0x276)](this['unitID'],_0x569423);}['_transformSelections'](_0x113373){var _0x1ab397=_0x6aebf,_0x2faff6,_0x547ef0;(_0x547ef0=(_0x2faff6=this[_0x1ab397(0xfc)])[_0x1ab397(0x299)])==null||_0x547ef0[_0x1ab397(0x382)](_0x2faff6,_0x113373);}[_0x6aebf(0x1bf)](_0xb8c36e){var _0x356263=_0x6aebf,_0x144f31,_0x532395;return(_0x532395=(_0x144f31=this['_handler'])[_0x356263(0x1a9)])==null?void 0x0:_0x532395[_0x356263(0x382)](_0x144f31,_0xb8c36e);}['_transformStateCache'](_0x1e4df3){var _0x938138=_0x6aebf,_0x20597c,_0x535020;return(_0x535020=(_0x20597c=this['_handler'])['onTransformState'])==null?void 0x0:_0x535020[_0x938138(0x382)](_0x20597c,_0x1e4df3);}['_transformRemoteChangesetByIMECache'](_0x179bc7){var _0x4df08b=_0x6aebf,_0x1de03b,_0x3468bf,_0x22e738;return(_0x22e738=(_0x3468bf=(_0x1de03b=this[_0x4df08b(0xfc)])[_0x4df08b(0x1ce)])==null?void 0x0:_0x3468bf[_0x4df08b(0x382)](_0x1de03b,_0x179bc7))!=null?_0x22e738:_0x179bc7;}['_transformRemoteChangesetByStateCache'](_0x20914f){var _0x38166f=_0x6aebf,_0x2dc41b,_0x5acb14,_0x484d3f;return(_0x484d3f=(_0x5acb14=(_0x2dc41b=this[_0x38166f(0xfc)])[_0x38166f(0x34c)])==null?void 0x0:_0x5acb14[_0x38166f(0x382)](_0x2dc41b,_0x20914f))!=null?_0x484d3f:_0x20914f;}['_syncEditingCollabCursor'](_0x218cb3){var _0x599844=_0x6aebf,_0x431daa,_0x453636;if(this[_0x599844(0x171)]===Z[_0x599844(0x366)]){const {unitID:_0x518fab,mutations:_0x14708b,memberID:_0x528a14}=_0x218cb3,_0x53e6bd=_0x14708b[0x0][_0x599844(0x388)][_0x599844(0x236)];Array['isArray'](_0x53e6bd)&&_0x53e6bd[_0x599844(0x16a)]>0x0&&((_0x453636=(_0x431daa=this[_0x599844(0xfc)])[_0x599844(0x28e)])==null||_0x453636['call'](_0x431daa,{'unitID':_0x518fab,'memberID':_0x528a14,'textRanges':_0x53e6bd}));}}[_0x6aebf(0x145)](){var _0x1e4d5b=_0x6aebf,_0x501a16;(_0x501a16=this[_0x1e4d5b(0x20e)])==null||_0x501a16['updateOfflineData'](this['unitID'],this[_0x1e4d5b(0x171)],this[_0x1e4d5b(0x118)],this[_0x1e4d5b(0x360)]);}[_0x6aebf(0xa0)](){var _0x875768=_0x6aebf;return this['_revisionService'][_0x875768(0x141)](this[_0x875768(0x196)]);}[_0x6aebf(0x22b)](){var _0x750cb6=_0x6aebf;this[_0x750cb6(0xb8)]['incrementRevOfUnit'](this[_0x750cb6(0x196)]);}[_0x6aebf(0x22e)](_0xdd7141){var _0x396c06=_0x6aebf,_0x4bfba6;let _0x204c18=this['_transformRemoteChangesetByIMECache'](_0xdd7141);_0x204c18=this[_0x396c06(0x179)](_0x204c18);const _0xbd3f1c=_0x5c447e(_0x204c18[_0x396c06(0x2ae)],this['_commandService'],{'fromCollab':!0x0});if(!_0xbd3f1c[_0x396c06(0x345)])throw _0xbd3f1c[_0x396c06(0x232)]instanceof Error?_0xbd3f1c[_0x396c06(0x232)]:new Error((_0x4bfba6=_0xbd3f1c[_0x396c06(0x232)])!=null?_0x4bfba6:'[CollaborationState]:\x20apply\x20error!');this[_0x396c06(0x1bf)](_0x204c18),this[_0x396c06(0x289)](_0x204c18),this[_0x396c06(0x2ef)](_0xdd7141),this[_0x396c06(0x19a)](_0x204c18),this[_0x396c06(0x2d0)](_0x204c18),this[_0x396c06(0x22b)]();}}let ye=class extends Te{constructor(_0x1bc181,_0x58d52d,_0x5aed2b,_0x27f384,_0x218b22,_0xbeb801,_0x384392,_0x25e0ae,_0x42c702,_0x3cbb06){var _0x2f5cd2=_0x6aebf;super(_0x1bc181,_0x58d52d,null,[],_0x5aed2b,_0x384392,_0xbeb801,_0x27f384,_0x3cbb06),N(this,_0x2f5cd2(0x2c2),'synced'),(this[_0x2f5cd2(0x33b)]=_0x218b22,this[_0x2f5cd2(0x186)]=_0x25e0ae,this['_transformService']=_0x42c702,this['localCacheService']=_0x3cbb06);}[_0x6aebf(0x99)](_0x26b13b){var _0x4e82d6=_0x6aebf;const _0x37d36b=this[_0x4e82d6(0x33b)][_0x4e82d6(0x322)](re,this['unitID'],this[_0x4e82d6(0x171)],[_0x26b13b],this[_0x4e82d6(0xfc)]);return _0x37d36b[_0x4e82d6(0xba)](),_0x37d36b['_updateLocalCache'](),_0x37d36b;}[_0x6aebf(0x12d)](_0x1736e5){var _0x333573=_0x6aebf;if(this[_0x333573(0x146)](_0x1736e5))return this['_injector']['createInstance'](Q,this[_0x333573(0x196)],this[_0x333573(0x171)],null,[],null,[_0x1736e5],this[_0x333573(0xfc)]);try{const _0x300cbf=this[_0x333573(0x35d)][_0x333573(0x228)](_0x1736e5,[Js]);if(_0x4cda53(_0x300cbf)){const {c1Prime:_0x4ccf53}=_0x300cbf;return this[_0x333573(0x22e)](_0x4ccf53),this;}throw _0x300cbf[_0x333573(0x232)];}catch(_0x33babd){return this[_0x333573(0x186)][_0x333573(0x232)](_0x33babd),this['_onConflict'](!0x1);}}[_0x6aebf(0x120)](_0x12cc77){var _0x3faaf9=_0x6aebf;return this[_0x3faaf9(0x33b)]['createInstance'](le,this[_0x3faaf9(0x196)],this[_0x3faaf9(0x171)],null,[],this[_0x3faaf9(0xfc)],_0x12cc77);}[_0x6aebf(0x357)](){var _0xb6f8c=_0x6aebf;throw new Error(_0xb6f8c(0x1be));}[_0x6aebf(0x2c6)](){var _0x46fc0d=_0x6aebf;throw new Error(_0x46fc0d(0x19f));}['onRemoteRetry'](){return this;}[_0x6aebf(0x2e0)](){var _0x10fd89=_0x6aebf;return this[_0x10fd89(0x33b)][_0x10fd89(0x322)](ue,this['unitID'],this[_0x10fd89(0x171)],null,[],this[_0x10fd89(0xfc)]);}[_0x6aebf(0x2c5)](){return this;}['resend'](){throw new Error('[SyncedState]:\x20invalid\x20calling\x20to\x20`resend`.');}[_0x6aebf(0x1b6)](){var _0x2746cf=_0x6aebf;const _0x163dce=this[_0x2746cf(0xb8)][_0x2746cf(0x141)](this[_0x2746cf(0x196)]);return this[_0x2746cf(0xfc)][_0x2746cf(0x96)]({'from':_0x163dce,'to':0x0}),this[_0x2746cf(0x33b)][_0x2746cf(0x322)](Q,this['unitID'],this[_0x2746cf(0x171)],null,[],null,[],this['_handler']);}};ye=Ie([P(0x3,_0x18bb67(_0x3293cd)),P(0x4,_0x18bb67(_0x11fbde)),P(0x5,_0x302ea5),P(0x6,_0x25bbcf),P(0x7,_0x26f867),P(0x8,_0x55d63a),P(0x9,_0x870f26(J))],ye);let re=class extends Te{constructor(_0x6330f6,_0x4ecaa4,_0x5c2962,_0x3aca68,_0x54f253,_0x251109,_0x717a4d,_0x587621,_0x11d4dc,_0x24c969,_0x2a5d88,_0x4b5f25,_0x58a975,_0x133cfd){var _0x429853=_0x6aebf;super(_0x6330f6,_0x4ecaa4,null,_0x5c2962,_0x3aca68,_0x11d4dc,_0x58a975,_0x251109,_0x133cfd),N(this,'status',_0x429853(0x372)),N(this,'_scheduleCompleteTimestamp',null),N(this,_0x429853(0xc8),null),(this[_0x429853(0x33b)]=_0x54f253,this[_0x429853(0x267)]=_0x717a4d,this[_0x429853(0x186)]=_0x587621,this[_0x429853(0x285)]=_0x24c969,this[_0x429853(0x35d)]=_0x2a5d88,this[_0x429853(0x92)]=_0x4b5f25);}[_0x6aebf(0x99)](_0x460c76){var _0x2f5494=_0x6aebf;return this[_0x2f5494(0x360)][_0x2f5494(0xce)](_0x460c76),this[_0x2f5494(0x145)](),this;}[_0x6aebf(0x12d)](_0xbff5c8){var _0x24df26=_0x6aebf;if(this['_checkMissing'](_0xbff5c8))return this[_0x24df26(0x35b)](),this['_injector'][_0x24df26(0x322)](Q,this[_0x24df26(0x196)],this[_0x24df26(0x171)],null,this[_0x24df26(0x360)],null,[_0xbff5c8],this[_0x24df26(0xfc)]);try{const _0x14b11a=this['_transformService']['transformMutationsWithChangeset'](_0xbff5c8,this[_0x24df26(0x360)]);if(_0x4cda53(_0x14b11a)){const {c1Prime:_0x746075,m2Prime:_0x403e3f}=_0x14b11a;this['_executeRemoteChangeset'](_0x746075);const _0x5bd53b=this[_0x24df26(0x33b)][_0x24df26(0x322)](re,this[_0x24df26(0x196)],this['type'],_0x403e3f,this[_0x24df26(0xfc)]);this['_clearScheduledTask']();const _0x12565b=new Date()['getTime'](),_0x5b6759=this[_0x24df26(0x347)]?Math['max'](this[_0x24df26(0x347)]-_0x12565b,0x0):this[_0x24df26(0x97)]();return _0x5bd53b['_schedule'](_0x5b6759),_0x5bd53b;}throw _0x14b11a[_0x24df26(0x232)];}catch(_0x1ea137){return this['_logService']['error'](_0x1ea137),this[_0x24df26(0x120)](!0x1);}}['onRemoteAck'](){throw new Error('[PendingState]:\x20received\x20acknowledgement.');}[_0x6aebf(0x2c6)](){var _0x2ead25=_0x6aebf;throw new Error(_0x2ead25(0x26b));}['onRemoteRetry'](){return this;}[_0x6aebf(0x2e0)](){var _0x1e2931=_0x6aebf;return this[_0x1e2931(0x35b)](),this['_injector'][_0x1e2931(0x322)](ue,this['unitID'],this[_0x1e2931(0x171)],null,this[_0x1e2931(0x360)],this[_0x1e2931(0xfc)]);}['toggleOnline'](){return this;}[_0x6aebf(0xba)](_0x3c4fe5){var _0x57692a=_0x6aebf;const _0x5f2ba8=_0x3c4fe5!=null?_0x3c4fe5:this[_0x57692a(0x97)]();this['_scheduleCompleteTimestamp']=new Date()[_0x57692a(0x195)]()+_0x5f2ba8,this[_0x57692a(0xc8)]=setTimeout(()=>{var _0x60d9a0=_0x57692a;this[_0x60d9a0(0x35b)]();let _0x132177=null;switch(this[_0x60d9a0(0x171)]){case Z[_0x60d9a0(0x2c7)]:{_0x132177=Wt(this[_0x60d9a0(0x360)],this['unitID'],this[_0x60d9a0(0x92)],this[_0x60d9a0(0xb8)],this[_0x60d9a0(0x267)]);break;}case Z[_0x60d9a0(0x366)]:{this[_0x60d9a0(0x360)][_0x60d9a0(0x2ca)](_0x2a65b3=>_0x2a65b3['id']===_0xfd7d2c['id'])?_0x132177=zs(this[_0x60d9a0(0x360)],this['unitID'],this[_0x60d9a0(0x92)],this[_0x60d9a0(0xb8)],this['_memberService']):_0x132177=Wt(this['_pendingMutations'],this[_0x60d9a0(0x196)],this['_univerInstanceService'],this[_0x60d9a0(0xb8)],this['_memberService']);break;}default:throw new Error('[PendingState]:\x20unhandled\x20univer\x20type:\x20'+this[_0x60d9a0(0x171)]+_0x60d9a0(0x18e));}const {changeset:_0x3d5516,pendingMutations:_0x4cef85}=_0x132177;this[_0x60d9a0(0xfc)][_0x60d9a0(0x10e)](_0x3d5516);const _0x427109=_0x4cef85[_0x60d9a0(0x16a)]?this['_injector'][_0x60d9a0(0x322)](ae,this[_0x60d9a0(0x196)],this[_0x60d9a0(0x171)],_0x3d5516,_0x4cef85,this[_0x60d9a0(0xfc)],void 0x0):this[_0x60d9a0(0x33b)][_0x60d9a0(0x322)](_e,this[_0x60d9a0(0x196)],this['type'],_0x3d5516,this['_handler']);_0x427109[_0x60d9a0(0x145)](),this[_0x60d9a0(0xfc)][_0x60d9a0(0x134)](this,_0x427109);},_0x5f2ba8);}[_0x6aebf(0x97)](){var _0x48b836=_0x6aebf,_0x2680ec;const _0x4511ca=this['_configService'][_0x48b836(0x30d)](K);return(_0x2680ec=_0x4511ca==null?void 0x0:_0x4511ca[_0x48b836(0x1c5)])!=null?_0x2680ec:ms;}[_0x6aebf(0x1d5)](){throw new Error('[PendingState]:\x20invalid\x20calling\x20to\x20`resend`.');}[_0x6aebf(0x35b)](){var _0x4f9dfa=_0x6aebf;this[_0x4f9dfa(0xc8)]!=null&&(clearTimeout(this[_0x4f9dfa(0xc8)]),this['_sendingTimer']=null);}[_0x6aebf(0x120)](_0x3f9ebe){var _0x53783e=_0x6aebf;return this[_0x53783e(0x35b)](),this[_0x53783e(0x33b)][_0x53783e(0x322)](le,this[_0x53783e(0x196)],this[_0x53783e(0x171)],null,this[_0x53783e(0x360)],this[_0x53783e(0xfc)],_0x3f9ebe);}};re=Ie([P(0x4,_0x18bb67(_0x11fbde)),P(0x5,_0x18bb67(_0x3293cd)),P(0x6,_0x18bb67(Pe)),P(0x7,_0x26f867),P(0x8,_0x25bbcf),P(0x9,_0x5317b8),P(0xa,_0x55d63a),P(0xb,_0x552064),P(0xc,_0x302ea5),P(0xd,_0x870f26(J))],re);let _e=class extends Te{constructor(_0x478e48,_0x28fb87,_0x54a11c,_0x2dfeeb,_0xe884b1,_0x12c4c,_0x5e4546,_0x1ca637,_0x48093a,_0x4f5d36,_0x1ab08f){var _0x719945=_0x6aebf;super(_0x478e48,_0x28fb87,_0x54a11c,[],_0x2dfeeb,_0x5e4546,_0x4f5d36,_0x12c4c,_0x1ab08f),N(this,_0x719945(0x2c2),'awaiting'),N(this,'_resendTimeout',0x0),N(this,_0x719945(0x24a)),N(this,_0x719945(0x240)),(this[_0x719945(0x33b)]=_0xe884b1,this[_0x719945(0x186)]=_0x1ca637,this[_0x719945(0x35d)]=_0x48093a);}['appendMutation'](_0x4b97d5){var _0x381527=_0x6aebf;this[_0x381527(0x35b)]();const _0x39c593=this[_0x381527(0x33b)][_0x381527(0x322)](ae,this[_0x381527(0x196)],this[_0x381527(0x171)],this['_awaitingChangeset'],[_0x4b97d5],this[_0x381527(0xfc)],this[_0x381527(0x24a)]);return _0x39c593[_0x381527(0x145)](),_0x39c593;}['onRemoteChangeset'](_0x3b6ad8){var _0x2cb19c=_0x6aebf;if(this['_checkMissing'](_0x3b6ad8))return this[_0x2cb19c(0x35b)](),this[_0x2cb19c(0x33b)][_0x2cb19c(0x322)](Q,this[_0x2cb19c(0x196)],this['type'],this[_0x2cb19c(0x118)],[],null,[_0x3b6ad8],this['_handler']);try{const _0x200bf0=this[_0x2cb19c(0x35d)]['transformChangesets']([_0x3b6ad8],[this[_0x2cb19c(0x118)]],!0x1);if(_0x557dfb(_0x200bf0)){const {c1Prime:_0x59f490,c2Prime:_0x220e6f}=_0x200bf0;this[_0x2cb19c(0x22e)](_0x59f490[0x0]),_0x220e6f[0x0][_0x2cb19c(0xf3)]=this[_0x2cb19c(0xa0)](),this[_0x2cb19c(0x35b)]();const _0xe0d509=this[_0x2cb19c(0x33b)][_0x2cb19c(0x322)](_e,this[_0x2cb19c(0x196)],this[_0x2cb19c(0x171)],_0x220e6f[0x0],this['_handler']);return _0xe0d509[_0x2cb19c(0x145)](),_0xe0d509;}return this['_onConflict'](!0x1);}catch(_0xb6e8df){return this[_0x2cb19c(0x186)][_0x2cb19c(0x232)](_0xb6e8df),this[_0x2cb19c(0x120)](!0x1);}}[_0x6aebf(0x357)](_0xf46073){var _0x3d1484=_0x6aebf;this[_0x3d1484(0x35b)]();const _0x2714bf=this[_0x3d1484(0xb8)][_0x3d1484(0x141)](this['unitID']);if(_0xf46073[_0x3d1484(0x258)]<_0x2714bf-0x1)return this;if(this['_checkMissing'](_0xf46073))return this[_0x3d1484(0x33b)][_0x3d1484(0x322)](Q,this[_0x3d1484(0x196)],this[_0x3d1484(0x171)],null,[],this[_0x3d1484(0x118)],[],this[_0x3d1484(0xfc)]);this[_0x3d1484(0x22b)]();const _0x335c74=this['_injector'][_0x3d1484(0x322)](ye,this[_0x3d1484(0x196)],this['type'],this[_0x3d1484(0xfc)]);return _0x335c74[_0x3d1484(0x145)](),_0x335c74;}[_0x6aebf(0x2c6)](_0x1f611c){var _0x34f15e=_0x6aebf;return this[_0x34f15e(0x120)](!!(_0x1f611c!=null&&_0x1f611c[_0x34f15e(0x31f)]));}[_0x6aebf(0x2cb)](_0x3215ec){var _0x54628e=_0x6aebf;return this[_0x54628e(0x234)]>Ci?this[_0x54628e(0x2e0)]():(this[_0x54628e(0x24a)]=Ii(this[_0x54628e(0x234)],{'timeout':this[_0x54628e(0x234)],'reqId':_0x3215ec[_0x54628e(0x194)]}),this['_sender']=this['_resendTimer']['subscribe'](({reqId:_0x3e67d0,timeout:_0x1b549c})=>{var _0x1d80dc=_0x54628e;this[_0x1d80dc(0x1d3)](_0x3e67d0,_0x1b549c);}),this);}[_0x6aebf(0x2e0)](){var _0x58acdf=_0x6aebf;return this['_clearScheduledTask'](),this[_0x58acdf(0x33b)][_0x58acdf(0x322)](ue,this['unitID'],this['type'],this[_0x58acdf(0x118)],[],this[_0x58acdf(0xfc)]);}['toggleOnline'](){return this;}['resend'](){var _0x4ff49b=_0x6aebf;this[_0x4ff49b(0xfc)][_0x4ff49b(0x10e)](this[_0x4ff49b(0x118)]);}[_0x6aebf(0x120)](_0x23a990){var _0x2266ab=_0x6aebf;return this[_0x2266ab(0x35b)](),this[_0x2266ab(0x33b)][_0x2266ab(0x322)](le,this[_0x2266ab(0x196)],this['type'],this[_0x2266ab(0x118)],[],this[_0x2266ab(0xfc)],_0x23a990);}[_0x6aebf(0x1d3)](_0x4d47b9,_0x3c3e73){var _0x1b0c04=_0x6aebf,_0x1510b3;_0x4d47b9===((_0x1510b3=this[_0x1b0c04(0x118)])==null?void 0x0:_0x1510b3['reqId'])&&(this['resend'](),this[_0x1b0c04(0x234)]=_0x3c3e73===0x0?0x3e8:_0x3c3e73*0x2);}[_0x6aebf(0x35b)](){var _0x5cbc33=_0x6aebf,_0x190efb;(_0x190efb=this['_sender'])==null||_0x190efb[_0x5cbc33(0x119)](),this[_0x5cbc33(0x234)]=0x0;}};_e=Ie([P(0x4,_0x18bb67(_0x11fbde)),P(0x5,_0x18bb67(_0x3293cd)),P(0x6,_0x25bbcf),P(0x7,_0x26f867),P(0x8,_0x55d63a),P(0x9,_0x302ea5),P(0xa,_0x870f26(J))],_e);let ae=class extends Te{constructor(_0x5b0f7b,_0x542b08,_0x20515f,_0x4418c0,_0x3e66fa,_0x47e4d2,_0x37394a,_0x2d60bf,_0x20f0f0,_0x3e9b3b,_0x50448e,_0x388abc,_0x5e9c10){var _0x28687a=_0x6aebf;super(_0x5b0f7b,_0x542b08,_0x20515f,_0x4418c0,_0x3e66fa,_0x20f0f0,_0x388abc,_0x2d60bf,_0x5e9c10),N(this,_0x28687a(0x2c2),_0x28687a(0xfb)),N(this,_0x28687a(0x234),0x0),N(this,_0x28687a(0x24a)),N(this,'_sender'),(this['_injector']=_0x37394a,this[_0x28687a(0x186)]=_0x3e9b3b,this[_0x28687a(0x35d)]=_0x50448e,this['localCacheService']=_0x5e9c10,_0x47e4d2&&(this[_0x28687a(0x24a)]=_0x47e4d2,this[_0x28687a(0x240)]=this[_0x28687a(0x24a)][_0x28687a(0x18c)](({reqId:_0x53a38b,timeout:_0x59abea})=>{var _0x7ff9bf=_0x28687a;this[_0x7ff9bf(0x1d3)](_0x53a38b,_0x59abea);})));}['appendMutation'](_0x2185d5){var _0x17557d=_0x6aebf;return this[_0x17557d(0x360)][_0x17557d(0xce)](_0x2185d5),this;}['onRemoteChangeset'](_0x189993){var _0x5678de=_0x6aebf;if(this[_0x5678de(0x146)](_0x189993))return this[_0x5678de(0x35b)](),this[_0x5678de(0x33b)][_0x5678de(0x322)](Q,this[_0x5678de(0x196)],this['type'],this[_0x5678de(0x118)],this[_0x5678de(0x360)],null,[_0x189993],this['_handler']);try{const _0x3ede92=this[_0x5678de(0x35d)][_0x5678de(0x274)]([_0x189993],[this['_awaitingChangeset']],!0x1);if(_0x557dfb(_0x3ede92)){const {c1Prime:_0x4260be,c2Prime:_0x2f3636}=_0x3ede92,_0x2ba76e=this[_0x5678de(0x35d)][_0x5678de(0x228)](_0x4260be[0x0],this[_0x5678de(0x360)]);if(_0x4cda53(_0x2ba76e)){const {c1Prime:_0x563745,m2Prime:_0x4434d9}=_0x2ba76e;return this[_0x5678de(0x22e)](_0x563745),_0x2f3636[0x0][_0x5678de(0xf3)]=this[_0x5678de(0xa0)](),this['_clearScheduledTask'](),this[_0x5678de(0x33b)][_0x5678de(0x322)](ae,this['unitID'],this[_0x5678de(0x171)],_0x2f3636[0x0],_0x4434d9,this[_0x5678de(0xfc)],void 0x0);}throw _0x2ba76e['error'];}throw _0x3ede92[_0x5678de(0x232)];}catch(_0x34bd7f){return this['_logService'][_0x5678de(0x232)](_0x34bd7f),this[_0x5678de(0x120)](!0x1);}}[_0x6aebf(0x357)](_0x1b260b){var _0x4bb1e4=_0x6aebf;if(this[_0x4bb1e4(0x35b)](),this[_0x4bb1e4(0x146)](_0x1b260b))return this[_0x4bb1e4(0x33b)][_0x4bb1e4(0x322)](Q,this[_0x4bb1e4(0x196)],this['type'],null,this[_0x4bb1e4(0x360)],this[_0x4bb1e4(0x118)],[],this[_0x4bb1e4(0xfc)]);this[_0x4bb1e4(0x22b)]();const _0x3a7ac3=this['_injector'][_0x4bb1e4(0x322)](re,this[_0x4bb1e4(0x196)],this[_0x4bb1e4(0x171)],this[_0x4bb1e4(0x360)],this[_0x4bb1e4(0xfc)]);return _0x3a7ac3[_0x4bb1e4(0xba)](),_0x3a7ac3[_0x4bb1e4(0x145)](),_0x3a7ac3;}[_0x6aebf(0x2c6)](_0x1134e6){var _0x16a9d3=_0x6aebf;return this['_onConflict'](!!(_0x1134e6!=null&&_0x1134e6[_0x16a9d3(0x31f)]));}['onRemoteRetry'](_0x552608){var _0x373686=_0x6aebf;return this['_resendTimeout']>Ci?this['toggleOffline']():(this[_0x373686(0x24a)]=Ii(this['_resendTimeout'],{'timeout':this[_0x373686(0x234)],'reqId':_0x552608[_0x373686(0x194)]}),this[_0x373686(0x240)]=this[_0x373686(0x24a)][_0x373686(0x18c)](({reqId:_0x5d2ac1,timeout:_0x7069c7})=>{var _0x3cf268=_0x373686;this[_0x3cf268(0x1d3)](_0x5d2ac1,_0x7069c7);}),this);}[_0x6aebf(0x2e0)](){var _0x128fea=_0x6aebf;return this[_0x128fea(0x35b)](),this[_0x128fea(0x33b)][_0x128fea(0x322)](ue,this['unitID'],this[_0x128fea(0x171)],this[_0x128fea(0x118)],this[_0x128fea(0x360)],this[_0x128fea(0xfc)]);}[_0x6aebf(0x2c5)](){return this;}[_0x6aebf(0x1d5)](){var _0x1c7603=_0x6aebf;this['_handler']['onSendChangeset'](this[_0x1c7603(0x118)]);}[_0x6aebf(0x120)](_0x276d04){var _0x2a240b=_0x6aebf;return this[_0x2a240b(0x35b)](),this[_0x2a240b(0x33b)][_0x2a240b(0x322)](le,this[_0x2a240b(0x196)],this[_0x2a240b(0x171)],null,this[_0x2a240b(0x360)],this[_0x2a240b(0xfc)],_0x276d04);}[_0x6aebf(0x1d3)](_0x502308,_0x5eee7b){var _0x6abd88=_0x6aebf,_0x3c75c8;_0x502308===((_0x3c75c8=this['_awaitingChangeset'])==null?void 0x0:_0x3c75c8[_0x6abd88(0x194)])&&(this['resend'](),this[_0x6abd88(0x234)]=_0x5eee7b===0x0?0x3e8:_0x5eee7b*0x2);}[_0x6aebf(0x35b)](){var _0x3ec213=_0x6aebf,_0x5a7c09;(_0x5a7c09=this[_0x3ec213(0x240)])==null||_0x5a7c09[_0x3ec213(0x119)](),this[_0x3ec213(0x234)]=0x0;}};ae=Ie([P(0x6,_0x18bb67(_0x11fbde)),P(0x7,_0x18bb67(_0x3293cd)),P(0x8,_0x25bbcf),P(0x9,_0x26f867),P(0xa,_0x55d63a),P(0xb,_0x302ea5),P(0xc,_0x870f26(J))],ae);let le=class extends Te{constructor(_0x52c525,_0x39037e,_0x4e27d5,_0x4a85a3,_0x4bd326,_0x4aff91=!0x1,_0x2db2fa,_0x2ca8eb,_0x268fd6,_0x17cd3d,_0x571e47,_0xeefa06,_0xd60054){var _0x3286a6=_0x6aebf;super(_0x52c525,_0x39037e,_0x4e27d5,_0x4a85a3,_0x4bd326,_0x2ca8eb,_0x268fd6,_0x17cd3d,_0xd60054),N(this,_0x3286a6(0x2c2),_0x3286a6(0x1e0)),(this['_isPermissionRej']=_0x4aff91,this['_permissionService']=_0x2db2fa,this[_0x3286a6(0x95)]=_0x571e47,this[_0x3286a6(0x1cf)]=_0xeefa06,this['localCacheService']=_0xd60054,this['_showConflictNotification'](),this['_clearLocalCache'](),this[_0x3286a6(0x272)]());}['appendMutation'](){return this;}[_0x6aebf(0x12d)](){return this;}[_0x6aebf(0x357)](){return this;}['onRemoteRej'](){return this;}['onRemoteRetry'](){return this;}[_0x6aebf(0x2e0)](){return this;}['toggleOnline'](){return this;}[_0x6aebf(0x1d5)](){var _0x5adccd=_0x6aebf;throw new Error(_0x5adccd(0x15d));}[_0x6aebf(0x122)](){var _0x502222=_0x6aebf,_0x335451;(_0x335451=this[_0x502222(0x20e)])==null||_0x335451['updateOfflineData'](this[_0x502222(0x196)],this['type'],null,[]);}[_0x6aebf(0x304)](){var _0x480ba5=_0x6aebf;this[_0x480ba5(0x10d)]?this[_0x480ba5(0x1cf)][_0x480ba5(0x247)]({'id':ne['PERMISSION_DENIED']}):this[_0x480ba5(0x1cf)]['emitEvent']({'id':ne[_0x480ba5(0xf7)]});}[_0x6aebf(0x272)](){var _0x382ebf=_0x6aebf;this[_0x382ebf(0x142)][_0x382ebf(0xc6)](new _0x39effe(this[_0x382ebf(0x196)])['id'],!0x1);}};le=Ie([P(0x6,_0x18bb67(_0x374ceb)),P(0x7,_0x25bbcf),P(0x8,_0x302ea5),P(0x9,_0x18bb67(_0x3293cd)),P(0xa,_0x18bb67(_0x21749b)),P(0xb,_0x18bb67(ve)),P(0xc,_0x870f26(J))],le);let ue=class extends Te{constructor(_0x4ea85a,_0x47a14d,_0x5733d9,_0x548fe8,_0x12b201,_0x54c75d,_0x1ab804,_0x5dac5d,_0x52345d,_0x3aa3b8){var _0x2b14d2=_0x6aebf;super(_0x4ea85a,_0x47a14d,_0x5733d9,_0x548fe8,_0x12b201,_0x5dac5d,_0x52345d,_0x1ab804,_0x3aa3b8),N(this,_0x2b14d2(0x2c2),_0x2b14d2(0xf9)),this[_0x2b14d2(0x33b)]=_0x54c75d;}[_0x6aebf(0x99)](_0x883398){var _0x3bb20b=_0x6aebf;return this['_pendingMutations'][_0x3bb20b(0xce)](_0x883398),this['_updateLocalCache'](),this;}[_0x6aebf(0x12d)](_0xdd755b){var _0x5a354c=_0x6aebf;throw new Error(_0x5a354c(0x33d));}[_0x6aebf(0x357)](){throw new Error('[OfflineState]:\x20received\x20acknowledgement.');}[_0x6aebf(0x2c6)](){throw new Error('[OfflineState]:\x20received\x20rejection.');}[_0x6aebf(0x2cb)](){return this;}['toggleOffline'](){return this;}[_0x6aebf(0x2c5)](){var _0x58480c=_0x6aebf;const {_injector:_0x3138ad,_pendingMutations:_0x11018e,_awaitingChangeset:_0x16de35,unitID:_0x563573,_handler:_0x172988,type:_0x7b7fbb}=this,_0x4c8e71=Ri(_0x3138ad,_0x563573,_0x7b7fbb,_0x16de35,_0x11018e,_0x172988);return _0x4c8e71 instanceof re?_0x4c8e71[_0x58480c(0xba)]():(_0x4c8e71 instanceof ae||_0x4c8e71 instanceof _e)&&_0x4c8e71[_0x58480c(0x1d5)](),_0x4c8e71;}['resend'](){var _0xe4684=_0x6aebf;throw new Error(_0xe4684(0x37c));}};ue=Ie([P(0x5,_0x18bb67(_0x11fbde)),P(0x6,_0x18bb67(_0x3293cd)),P(0x7,_0x25bbcf),P(0x8,_0x302ea5),P(0x9,_0x870f26(J))],ue);let Q=class extends Te{constructor(_0x56b5f2,_0x206555,_0x34fe70,_0x1b3fa2,_0x265a18,_0x3c2e9b,_0x38fd51,_0x580bdb,_0x2023c8,_0x111fd0,_0x18e794,_0x5da819,_0xd0e896,_0x2e86e3){var _0x39b881=_0x6aebf;super(_0x56b5f2,_0x206555,_0x34fe70,_0x1b3fa2,_0x38fd51,_0x18e794,_0x5da819,_0x2023c8,_0x2e86e3),N(this,'status',_0x39b881(0x91)),(this[_0x39b881(0x391)]=_0x265a18,this[_0x39b881(0xf2)]=_0x3c2e9b,this[_0x39b881(0x33b)]=_0x580bdb,this[_0x39b881(0x186)]=_0x111fd0,this[_0x39b881(0x35d)]=_0xd0e896,this[_0x39b881(0x243)]=_0x2e86e3);}[_0x6aebf(0x31a)](_0x37bfd2){var _0x3e6725=_0x6aebf;try{const _0x339051=[..._0x37bfd2,...this[_0x3e6725(0xf2)]],_0x52b7e6=[this[_0x3e6725(0x118)]||this['_acknowledgedAwaitingChangeset']][_0x3e6725(0x94)](_0x1b7fd5=>!!_0x1b7fd5);let _0x31fdd5,_0x3f18e2;if(_0x52b7e6[_0x3e6725(0x16a)]){const _0x217e10=this[_0x3e6725(0x35d)][_0x3e6725(0x274)](_0x339051,_0x52b7e6,!0x1);if(!_0x557dfb(_0x217e10))throw _0x217e10[_0x3e6725(0x232)];_0x31fdd5=_0x217e10[_0x3e6725(0x105)],_0x3f18e2=_0x217e10[_0x3e6725(0x1cb)];}else _0x31fdd5=_0x339051,_0x3f18e2=[];let _0xbed5c2=this[_0x3e6725(0x360)];_0x31fdd5['forEach'](_0x17513d=>{var _0xf60017=_0x3e6725;let _0x3c9e8c;if(_0xbed5c2[_0xf60017(0x16a)]){const _0x2f0c63=this['_transformService'][_0xf60017(0x228)](_0x17513d,_0xbed5c2);if(!_0x4cda53(_0x2f0c63))throw _0x2f0c63['error'];_0x3c9e8c=_0x2f0c63[_0xf60017(0x105)],_0xbed5c2=_0x2f0c63[_0xf60017(0x29b)];}else _0x3c9e8c=_0x17513d;this[_0xf60017(0x22e)](_0x3c9e8c);}),this['_acknowledgedAwaitingChangeset']&&this[_0x3e6725(0x22b)](),this['_awaitingChangeset']&&_0x3f18e2[_0x3e6725(0x16a)]&&(_0x3f18e2[0x0]['baseRev']=this['_getCurrentRevision']());let _0x23bd4b;if(this[_0x3e6725(0x118)]&&_0xbed5c2[_0x3e6725(0x16a)]!==0x0)_0x23bd4b=this[_0x3e6725(0x33b)][_0x3e6725(0x322)](ae,this[_0x3e6725(0x196)],this[_0x3e6725(0x171)],_0x3f18e2[0x0],_0xbed5c2,this[_0x3e6725(0xfc)],void 0x0);else{if(this[_0x3e6725(0x118)]&&_0xbed5c2[_0x3e6725(0x16a)]===0x0)_0x3f18e2[0x0][_0x3e6725(0xf3)]=this[_0x3e6725(0xa0)](),_0x23bd4b=this[_0x3e6725(0x33b)][_0x3e6725(0x322)](_e,this[_0x3e6725(0x196)],this[_0x3e6725(0x171)],_0x3f18e2[0x0],this[_0x3e6725(0xfc)]);else{if(_0xbed5c2[_0x3e6725(0x16a)]!==0x0){const _0x1c7757=this[_0x3e6725(0x33b)]['createInstance'](re,this['unitID'],this['type'],_0xbed5c2,this['_handler']);_0x1c7757['_schedule'](),_0x23bd4b=_0x1c7757;}else _0x23bd4b=this[_0x3e6725(0x33b)]['createInstance'](ye,this[_0x3e6725(0x196)],this[_0x3e6725(0x171)],this[_0x3e6725(0xfc)]);}}return _0x23bd4b[_0x3e6725(0x145)](),_0x23bd4b;}catch(_0x28f8a0){return this[_0x3e6725(0x186)][_0x3e6725(0x232)](_0x3e6725(0x1e9),_0x3e6725(0x373),_0x28f8a0),this[_0x3e6725(0x33b)][_0x3e6725(0x322)](le,this[_0x3e6725(0x196)],this['type'],this[_0x3e6725(0x118)],this[_0x3e6725(0x360)],this[_0x3e6725(0xfc)],!0x1);}}[_0x6aebf(0x1d5)](){throw new Error('[FetchingMissState]:\x20invalid\x20calling\x20to\x20`resend`.');}[_0x6aebf(0x99)](_0x53024a){var _0x11937e=_0x6aebf;return this['_pendingMutations'][_0x11937e(0xce)](_0x53024a),this;}[_0x6aebf(0x12d)](_0x382a42){var _0x4055d6=_0x6aebf;return this[_0x4055d6(0xf2)][_0x4055d6(0xce)](_0x382a42),this;}[_0x6aebf(0x357)](_0x5aa92c){var _0x518b61=_0x6aebf;if(this['_awaitingChangeset'])return this[_0x518b61(0x391)]=this[_0x518b61(0x118)],this[_0x518b61(0x118)]=null,this;throw new Error(_0x518b61(0x328));}['onRemoteRej'](_0x53fa50){var _0x2cb639=_0x6aebf;return this[_0x2cb639(0x120)](!!(_0x53fa50!=null&&_0x53fa50[_0x2cb639(0x31f)]));}[_0x6aebf(0x2cb)](){return this;}['toggleOffline'](){var _0x263f38=_0x6aebf;return this['_injector'][_0x263f38(0x322)](ue,this[_0x263f38(0x196)],this[_0x263f38(0x171)],this[_0x263f38(0x118)],this[_0x263f38(0x360)],this['_handler']);}[_0x6aebf(0x2c5)](){return this;}[_0x6aebf(0x120)](_0x5360a4){var _0x5e5e21=_0x6aebf;return this[_0x5e5e21(0x33b)][_0x5e5e21(0x322)](le,this[_0x5e5e21(0x196)],this[_0x5e5e21(0x171)],this[_0x5e5e21(0x118)],this['_pendingMutations'],this[_0x5e5e21(0xfc)],_0x5360a4);}};Q=Ie([P(0x7,_0x18bb67(_0x11fbde)),P(0x8,_0x18bb67(_0x3293cd)),P(0x9,_0x26f867),P(0xa,_0x25bbcf),P(0xb,_0x302ea5),P(0xc,_0x55d63a),P(0xd,_0x870f26(J))],Q);function Ri(_0x1a227b,_0x365e0c,_0x30a82c,_0x48309d,_0x200094,_0x2efbd4){var _0xcf844=_0x6aebf;return _0x48309d&&_0x200094[_0xcf844(0x16a)]?_0x1a227b[_0xcf844(0x322)](ae,_0x365e0c,_0x30a82c,_0x48309d,_0x200094,_0x2efbd4,void 0x0):_0x48309d?_0x1a227b[_0xcf844(0x322)](_e,_0x365e0c,_0x30a82c,_0x48309d,_0x2efbd4):_0x200094[_0xcf844(0x16a)]?_0x1a227b[_0xcf844(0x322)](re,_0x365e0c,_0x30a82c,_0x200094,_0x2efbd4):_0x1a227b[_0xcf844(0x322)](ye,_0x365e0c,_0x30a82c,_0x2efbd4);}var Zs=Object[_0x6aebf(0x2ec)],wt=(_0x30b5a2,_0x4d1285,_0x3e74b2,_0x52b5c0)=>{var _0x967774=_0x6aebf;for(var _0xc89f1b=_0x52b5c0>0x1?void 0x0:_0x52b5c0?Zs(_0x4d1285,_0x3e74b2):_0x4d1285,_0x44ba52=_0x30b5a2[_0x967774(0x16a)]-0x1,_0x59b112;_0x44ba52>=0x0;_0x44ba52--)(_0x59b112=_0x30b5a2[_0x44ba52])&&(_0xc89f1b=_0x59b112(_0xc89f1b)||_0xc89f1b);return _0xc89f1b;},H=(_0x15ed6e,_0x35aec1)=>(_0x329fc0,_0x13adf9)=>_0x35aec1(_0x329fc0,_0x13adf9,_0x15ed6e);function _0x5cc4(_0x4c9948,_0x4c653b){var _0x28674f=_0x2867();return _0x5cc4=function(_0x5cc42b,_0x45b0af){_0x5cc42b=_0x5cc42b-0x8f;var _0x563007=_0x28674f[_0x5cc42b];return _0x563007;},_0x5cc4(_0x4c9948,_0x4c653b);}let st=class extends _0x4a9342{constructor(_0x688eda,_0x43184c,_0x5e76f6,_0x41eb46,_0x2653dd,_0x9aa336,_0x4182da,_0xbec4b,_0x595019,_0xd90b63,_0x791470,_0x41d4fe,_0x278ad4){var _0x35c385=_0x6aebf;super(),N(this,_0x35c385(0x117),new _0x57bee0(null)),N(this,_0x35c385(0x34e),this['_state$']['asObservable']()),N(this,_0x35c385(0x1ae)),N(this,'_collaborationPaused',!0x1),N(this,_0x35c385(0xb6),''),N(this,_0x35c385(0x1d1),0x0),N(this,_0x35c385(0x367),this[_0x35c385(0x34e)]['pipe'](_0x2db594(_0x7597ab=>_0x7597ab?_0x7597ab[_0x35c385(0x2c2)]:Ti['OFFLINE']),_0x301fb6(0x1))),N(this,_0x35c385(0x25e),!0x1),N(this,_0x35c385(0x22d),[]),(this[_0x35c385(0x196)]=_0x688eda,this[_0x35c385(0x309)]=_0x43184c,this[_0x35c385(0xd5)]=_0x5e76f6,this['_injector']=_0x41eb46,this[_0x35c385(0x295)]=_0x2653dd,this[_0x35c385(0x95)]=_0x9aa336,this[_0x35c385(0xb8)]=_0x4182da,this[_0x35c385(0x17b)]=_0xbec4b,this[_0x35c385(0x186)]=_0x595019,this['_commandService']=_0xd90b63,this['_permissionService']=_0x791470,this['_singleActiveUnitService']=_0x41d4fe,this[_0x35c385(0x20e)]=_0x278ad4);}get[_0x6aebf(0x14f)](){var _0x45df78=_0x6aebf;return this[_0x45df78(0x1ae)];}async[_0x6aebf(0x2b2)](){var _0x2626fb=_0x6aebf;if(this[_0x2626fb(0x14f)])throw new Error(_0x2626fb(0x336));await this[_0x2626fb(0x2b1)]();}[_0x6aebf(0x1b8)](){var _0x571310=_0x6aebf;return this[_0x571310(0x14c)]=!0x0,_0x30fd71(()=>{var _0x107210=_0x571310;this[_0x107210(0x14c)]=!0x1,this[_0x107210(0x21d)]();});}[_0x6aebf(0x2a8)](_0x565bf0){this['_onLocalMutation'](_0x565bf0);}['_updateState'](_0x133842){this['_state']=_0x133842,this['_state$']['next'](_0x133842);}async[_0x6aebf(0x2b1)](){var _0x4c9b04=_0x6aebf,_0x897841;this[_0x4c9b04(0x153)](await this[_0x4c9b04(0x385)]()),this[_0x4c9b04(0x138)]&&((_0x897841=this[_0x4c9b04(0x138)])==null||_0x897841[_0x4c9b04(0x245)](this[_0x4c9b04(0x196)]),this[_0x4c9b04(0x361)](this[_0x4c9b04(0x138)][_0x4c9b04(0x2e7)](this[_0x4c9b04(0x196)])[_0x4c9b04(0x18c)](_0x2da6c4=>{var _0x22d5b5=_0x4c9b04;this[_0x22d5b5(0x186)]['debug'](_0x22d5b5(0x212),_0x22d5b5(0x102),_0x2da6c4),_0x2da6c4===Ei[_0x22d5b5(0x1fc)]?(this[_0x22d5b5(0x17b)]['emitEvent']({'id':ne[_0x22d5b5(0x27e)]}),this['_permissionService']['updatePermissionPoint'](new _0x39effe(this['unitID'])['id'],!0x1),this[_0x22d5b5(0x142)][_0x22d5b5(0x2b4)](!0x1)):(this[_0x22d5b5(0x142)][_0x22d5b5(0xc6)](new _0x39effe(this[_0x22d5b5(0x196)])['id'],!0x0),this[_0x22d5b5(0x142)][_0x22d5b5(0x2b4)](!0x0));})));let _0x3b6feb=!0x1;return this[_0x4c9b04(0x361)](this[_0x4c9b04(0x309)][_0x4c9b04(0x17d)]['subscribe'](_0x1418c8=>{var _0x514ad1=_0x4c9b04;_0x1418c8===Se[_0x514ad1(0xc2)]?this['_toggleOnline'](_0x3b6feb):_0x1418c8===Se['OFFLINE']&&(_0x3b6feb=!0x0,this['_toggleOffline']());})),this[_0x4c9b04(0x361)](this[_0x4c9b04(0x309)]['event$']['subscribe'](_0x4caf51=>{var _0x22c3f5=_0x4c9b04;try{switch(_0x4caf51[_0x22c3f5(0x305)]){case _0x4876af['NEW_CHANGESETS']:{this[_0x22c3f5(0x389)](_0x4f866c(_0x4caf51[_0x22c3f5(0x364)]));break;}case _0x4876af[_0x22c3f5(0x2e4)]:{this[_0x22c3f5(0x1ca)](_0x4caf51[_0x22c3f5(0x364)]);break;}case _0x4876af['CHANGESET_REJ']:{this[_0x22c3f5(0x2f9)]();break;}case _0x4876af[_0x22c3f5(0x2e9)]:{this['_onRemoteRetry'](_0x4caf51[_0x22c3f5(0x364)]);break;}case _0x4876af[_0x22c3f5(0x11b)]:{this['_onFetchMissResult'](_0x4caf51[_0x22c3f5(0x364)][_0x22c3f5(0x397)][_0x22c3f5(0x37b)](_0x4b962c=>_0x4f866c(_0x4b962c)));break;}case _0x4876af[_0x22c3f5(0xb5)]:{this[_0x22c3f5(0x2f9)]({'isPermissionRej':!0x0});break;}case _0x4876af[_0x22c3f5(0x1a2)]:break;}}catch(_0x24972d){throw console[_0x22c3f5(0x232)](_0x22c3f5(0xe3),_0x24972d),_0x24972d;}})),this[_0x4c9b04(0x1ae)];}[_0x6aebf(0x197)](){var _0x5ed367=_0x6aebf;this[_0x5ed367(0x25e)]=!0x1;}['_lockTransition'](){var _0x37f1b7=_0x6aebf;if(this['_transitionLocked'])throw new Error(_0x37f1b7(0x28f));this['_transitionLocked']=!0x0;}[_0x6aebf(0x2c8)](_0x440c63){var _0x341e3a=_0x6aebf;this['_lockTransition'](),this[_0x341e3a(0x153)](this[_0x341e3a(0x1ae)][_0x341e3a(0x99)](_0x440c63)),this[_0x341e3a(0x197)]();}[_0x6aebf(0x389)](_0x110860){var _0x22b568=_0x6aebf;if(!(_0x110860[_0x22b568(0x258)]<=this['_revisionService']['getCurrentRevOfUnit'](this[_0x22b568(0x196)]))){if(this[_0x22b568(0x14c)]){this[_0x22b568(0x22d)]['push'](_0x110860);return;}this['_applyRemoteChangeset'](_0x110860);}}['_exhaustRemoteChangesetQueue'](){var _0x3f8d7b=_0x6aebf;this[_0x3f8d7b(0x22d)][_0x3f8d7b(0x14b)](_0x5b55bb=>this['_applyRemoteChangeset'](_0x5b55bb)),this[_0x3f8d7b(0x22d)]=[];}[_0x6aebf(0x271)](_0x36ebde){var _0x20fe75=_0x6aebf;const _0x4c44d4=this['_compressMutationService']['interceptor'][_0x20fe75(0x23f)](this[_0x20fe75(0x295)][_0x20fe75(0x11e)][_0x20fe75(0x23d)]()[_0x20fe75(0x13f)])(_0x36ebde[_0x20fe75(0x2ae)],null)||_0x36ebde[_0x20fe75(0x2ae)],_0x126bf0={..._0x36ebde,'mutations':_0x4c44d4};this[_0x20fe75(0x1e1)](),this[_0x20fe75(0x153)](this[_0x20fe75(0x1ae)][_0x20fe75(0x12d)](_0x126bf0)),this['_unlockTransition']();}[_0x6aebf(0x1ca)](_0x218b03){var _0x18e870=_0x6aebf;this[_0x18e870(0x1e1)](),this[_0x18e870(0x153)](this[_0x18e870(0x1ae)][_0x18e870(0x357)](_0x218b03)),this[_0x18e870(0x197)]();}['_onRemoteRejected'](_0x26fb3b){var _0x42c617=_0x6aebf;this[_0x42c617(0x1e1)](),this[_0x42c617(0x153)](this['_state'][_0x42c617(0x2c6)](_0x26fb3b)),this[_0x42c617(0x197)]();}[_0x6aebf(0x36a)](_0x515ab6){var _0x50d1e8=_0x6aebf;this[_0x50d1e8(0x1e1)](),this[_0x50d1e8(0x153)](this[_0x50d1e8(0x1ae)][_0x50d1e8(0x2cb)](_0x515ab6)),this[_0x50d1e8(0x197)]();}[_0x6aebf(0x37d)](_0x300bad){var _0x494cfc=_0x6aebf;if(!(this['_state']instanceof Q))throw new TypeError(_0x494cfc(0x310));const _0x536280=_0x300bad[_0x494cfc(0x37b)](_0x37386a=>{var _0x59f87c=_0x494cfc;const _0x1b11c0=this['_compressMutationService'][_0x59f87c(0x11e)][_0x59f87c(0x23f)](this[_0x59f87c(0x295)]['interceptor'][_0x59f87c(0x23d)]()[_0x59f87c(0x13f)])(_0x37386a['mutations'],null)||_0x37386a[_0x59f87c(0x2ae)];return{..._0x37386a,'mutations':_0x1b11c0};});this[_0x494cfc(0x1e1)](),this[_0x494cfc(0x153)](this[_0x494cfc(0x1ae)][_0x494cfc(0x31a)](_0x536280)),this[_0x494cfc(0x197)]();}[_0x6aebf(0x326)](){var _0xdd9705=_0x6aebf;this[_0xdd9705(0x1e1)](),this[_0xdd9705(0x153)](this[_0xdd9705(0x1ae)]['toggleOffline']()),this['_unlockTransition']();}[_0x6aebf(0x172)](_0x3ba3a8=!0x1){var _0x3887da=_0x6aebf;this[_0x3887da(0x1e1)](),this[_0x3887da(0x153)](this['_state']['toggleOnline']()),this[_0x3887da(0x197)]();const _0x4ace3c=this['_state'];_0x3ba3a8&&_0x4ace3c instanceof ye&&(this[_0x3887da(0x1e1)](),this[_0x3887da(0x153)](_0x4ace3c[_0x3887da(0x1b6)]()),this[_0x3887da(0x197)]());}async[_0x6aebf(0x385)](){return new Promise(_0x3378ed=>{var _0x23bf4c=_0x5cc4;this['session'][_0x23bf4c(0x17d)][_0x23bf4c(0x351)](_0x562006(0x1))['subscribe'](async _0x3a7e7d=>{var _0x52ff3f=_0x23bf4c;_0x3378ed(await this[_0x52ff3f(0xe4)](_0x3a7e7d===Se[_0x52ff3f(0xc2)]));});});}[_0x6aebf(0x2f7)](){var _0x3b7705=_0x6aebf;const _0x4f0b64=this[_0x3b7705(0x196)];return{'onStateChange':(_0x32135f,_0x2a3c1f)=>{var _0x1f4abf=_0x3b7705;if(_0x32135f!==this['_state'])throw new Error(_0x1f4abf(0x2e8)+_0x32135f['status']+_0x1f4abf(0x233)+_0x2a3c1f[_0x1f4abf(0x2c2)]+_0x1f4abf(0xc1)+this['_state'][_0x1f4abf(0x2c2)]);this['_updateState'](_0x2a3c1f);},'onSendChangeset':_0x20ad7c=>{var _0x1042dd=_0x3b7705;_0x20ad7c[_0x1042dd(0x23a)]||(_0x20ad7c[_0x1042dd(0x23a)]=this[_0x1042dd(0xb6)],_0x20ad7c['reqId']=++this[_0x1042dd(0x1d1)]);const _0x4e9df1={'eventID':_0x4876af['SUBMIT_CHANGESET'],'data':{'unitID':_0x20ad7c['unitID'],'unitType':this[_0x1042dd(0xd5)],'changeset':_0x20ad7c,'memberID':this[_0x1042dd(0x309)]['getMemberID']()}};this[_0x1042dd(0x309)]['send'](_0x4e9df1,this[_0x1042dd(0x196)]);},'onMissingChangesets':({from:_0x5672c5,to:_0x7f71c0})=>{var _0x51343c=_0x3b7705;this[_0x51343c(0x186)][_0x51343c(0x180)](_0x51343c(0x212),_0x51343c(0xcc)+_0x5672c5+'\x20to\x20'+_0x7f71c0);const _0x419723={'eventID':_0x4876af[_0x51343c(0x1c3)],'data':{'unitID':_0x4f0b64,'unitType':this[_0x51343c(0xd5)],'from':_0x5672c5,'to':_0x7f71c0}};this[_0x51343c(0x309)][_0x51343c(0x125)](_0x419723,this[_0x51343c(0x196)]);}};}async[_0x6aebf(0xe4)](_0x5a6fc3){var _0x33fb0a=_0x6aebf,_0x16c218,_0x458a65,_0x1753c4;const _0x10c616=await((_0x16c218=this[_0x33fb0a(0x20e)])==null?void 0x0:_0x16c218['loadOfflineData'](this['unitID'])),_0x18046e=(_0x458a65=_0x10c616==null?void 0x0:_0x10c616[_0x33fb0a(0x2ae)])!=null?_0x458a65:[],_0x7b0249=(_0x1753c4=_0x10c616==null?void 0x0:_0x10c616[_0x33fb0a(0xb4)])!=null?_0x1753c4:null,_0x40240d=!!(_0x7b0249!=null&&_0x7b0249[_0x33fb0a(0x23a)])&&!!(_0x7b0249!=null&&_0x7b0249[_0x33fb0a(0x194)]);this[_0x33fb0a(0xb6)]=_0x40240d?_0x7b0249['sid']:_0x1b291f(),this[_0x33fb0a(0x1d1)]=_0x40240d?_0x7b0249[_0x33fb0a(0x194)]:0x0;const _0x5db7a8=this['unitID'];try{this[_0x33fb0a(0x1e5)](_0x7b0249,_0x18046e);}catch(_0x4e5c16){this[_0x33fb0a(0x186)][_0x33fb0a(0x232)](_0x4e5c16);}const _0x3916c3=this[_0x33fb0a(0x2f7)]();if(_0x5a6fc3){const _0x221695=Ri(this[_0x33fb0a(0x33b)],_0x5db7a8,this[_0x33fb0a(0xd5)],_0x7b0249,_0x18046e,_0x3916c3);return _0x221695 instanceof re?_0x221695[_0x33fb0a(0xba)]():(_0x221695 instanceof ae||_0x221695 instanceof _e)&&_0x221695['resend'](),_0x221695;}return this['_injector'][_0x33fb0a(0x322)](ue,_0x5db7a8,this[_0x33fb0a(0xd5)],_0x7b0249,_0x18046e,_0x3916c3);}[_0x6aebf(0x1e5)](_0x14e070,_0x390944){var _0x3529ce=_0x6aebf,_0x3b79c3,_0x448869;const _0x296c78=this[_0x3529ce(0x295)]['interceptor'][_0x3529ce(0x23f)](this[_0x3529ce(0x295)][_0x3529ce(0x11e)]['getInterceptPoints']()[_0x3529ce(0x13f)]);(_0x3b79c3=_0x296c78((_0x14e070==null?void 0x0:_0x14e070[_0x3529ce(0x2ae)])||[],null))==null||_0x3b79c3[_0x3529ce(0x14b)](_0x1faeb1=>this[_0x3529ce(0x319)]['executeCommand'](_0x1faeb1['id'],_0x1faeb1['params'])),(_0x448869=_0x296c78(_0x390944||[],null))==null||_0x448869['forEach'](_0x16c072=>this[_0x3529ce(0x319)][_0x3529ce(0x1dc)](_0x16c072['id'],_0x16c072[_0x3529ce(0x388)]));}};st=wt([H(0x3,_0x18bb67(_0x11fbde)),H(0x4,_0x18bb67(_0xb993a7)),H(0x5,_0x18bb67(_0x21749b)),H(0x6,_0x18bb67(_0x3293cd)),H(0x7,_0x18bb67(ve)),H(0x8,_0x26f867),H(0x9,_0x25bbcf),H(0xa,_0x374ceb),H(0xb,_0x870f26(ht)),H(0xc,_0x870f26(J))],st);let St=class extends st{constructor(_0x4028ea,_0x532850,_0x4edc1f,_0x5cf74a,_0x19ff68,_0x1c70e4,_0x5efa38,_0x1d9add,_0x23d01b,_0x195e3e,_0x347994,_0x2b607d,_0x22876c){var _0x3f3706=_0x6aebf;super(_0x4028ea,_0x4edc1f,_0x532850,_0x5cf74a,_0x19ff68,_0x1c70e4,_0x5efa38,_0x1d9add,_0x23d01b,_0x195e3e,_0x347994,_0x2b607d,_0x22876c),N(this,'_handlerCallback',null),(this[_0x3f3706(0x196)]=_0x4028ea,this[_0x3f3706(0x171)]=_0x532850);}[_0x6aebf(0x251)](_0x385081){var _0x13b962=_0x6aebf;this[_0x13b962(0x282)]=_0x385081;}[_0x6aebf(0x29c)](){var _0x5e2983=_0x6aebf;this[_0x5e2983(0x282)]=null,super[_0x5e2983(0x29c)]();}[_0x6aebf(0x2f7)](){var _0x274039=_0x6aebf;const _0x4aedc9=super['_createHandler']();return _0x4aedc9['onTransformIME']=_0x4134ba=>{var _0x582eac=_0x5cc4,_0x31afc6,_0x23c1e5;return(_0x23c1e5=(_0x31afc6=this[_0x582eac(0x282)])==null?void 0x0:_0x31afc6['onTransformIME'])==null?void 0x0:_0x23c1e5[_0x582eac(0x382)](_0x31afc6,_0x4134ba);},_0x4aedc9[_0x274039(0x342)]=_0xf0b2db=>{var _0x349c03,_0xdf18d0;return(_0xdf18d0=(_0x349c03=this['_handlerCallback'])==null?void 0x0:_0x349c03['onTransformState'])==null?void 0x0:_0xdf18d0['call'](_0x349c03,_0xf0b2db);},_0x4aedc9[_0x274039(0x299)]=_0x13c46e=>{var _0x10bbb0=_0x274039,_0x3d6971,_0x40bf6c;return(_0x40bf6c=(_0x3d6971=this[_0x10bbb0(0x282)])==null?void 0x0:_0x3d6971[_0x10bbb0(0x299)])==null?void 0x0:_0x40bf6c[_0x10bbb0(0x382)](_0x3d6971,_0x13c46e);},_0x4aedc9[_0x274039(0x28e)]=_0x16d2d3=>{var _0x3b671e=_0x274039,_0x4e964e,_0x36cc81;return(_0x36cc81=(_0x4e964e=this[_0x3b671e(0x282)])==null?void 0x0:_0x4e964e['onSyncEditingCollabCursor'])==null?void 0x0:_0x36cc81[_0x3b671e(0x382)](_0x4e964e,_0x16d2d3);},_0x4aedc9['onTransformRemoteChangesetByIMECache']=_0x5dd15f=>{var _0x4fc9fc=_0x274039,_0x480dbb,_0x28ef8c,_0x3cde42;if(!((_0x480dbb=this[_0x4fc9fc(0x282)])!=null&&_0x480dbb[_0x4fc9fc(0x1ce)]))throw new Error('onTransformRemoteChangesetByIMECache\x20callback\x20is\x20not\x20added\x20yet.');return(_0x3cde42=(_0x28ef8c=this[_0x4fc9fc(0x282)])==null?void 0x0:_0x28ef8c[_0x4fc9fc(0x1ce)])==null?void 0x0:_0x3cde42[_0x4fc9fc(0x382)](_0x28ef8c,_0x5dd15f);},_0x4aedc9[_0x274039(0x34c)]=_0x15834c=>{var _0x260195=_0x274039,_0x36d2c6,_0x5338bc,_0x38a92f;if(!((_0x36d2c6=this[_0x260195(0x282)])!=null&&_0x36d2c6[_0x260195(0x34c)]))throw new Error(_0x260195(0x12f));return(_0x38a92f=(_0x5338bc=this[_0x260195(0x282)])==null?void 0x0:_0x5338bc['onTransformRemoteChangesetByStateCache'])==null?void 0x0:_0x38a92f[_0x260195(0x382)](_0x5338bc,_0x15834c);},_0x4aedc9;}async[_0x6aebf(0x2b1)](){var _0x29909b=_0x6aebf;const _0x3c2272=await super[_0x29909b(0x2b1)]();return this[_0x29909b(0x361)](this['_commandService']['onCommandExecuted']((_0x2ba6e4,_0x4ffbd5)=>{var _0x21db12=_0x29909b;if(_0x2ba6e4[_0x21db12(0x171)]!==_0x2863dc[_0x21db12(0x21b)]||_0x4ffbd5!=null&&_0x4ffbd5[_0x21db12(0x300)]||_0x4ffbd5!=null&&_0x4ffbd5['onlyLocal']||_0x2ba6e4['id']===_0xfd7d2c['id'])return;const _0x3e8145=_0x2ba6e4[_0x21db12(0x388)];if((_0x3e8145==null?void 0x0:_0x3e8145[_0x21db12(0x128)])!==this['unitID'])return;const _0x47081d=_0x2ba6e4,_0x24d027=this[_0x21db12(0x295)]['interceptor']['fetchThroughInterceptors'](this[_0x21db12(0x295)][_0x21db12(0x11e)][_0x21db12(0x23d)]()[_0x21db12(0x15c)])([_0x47081d],null)||[_0x47081d];this['_onLocalMutation'](_0x24d027[0x0]);})),_0x3c2272;}};St=wt([H(0x3,_0x18bb67(_0x11fbde)),H(0x4,_0x18bb67(_0xb993a7)),H(0x5,_0x18bb67(_0x21749b)),H(0x6,_0x18bb67(_0x3293cd)),H(0x7,_0x18bb67(ve)),H(0x8,_0x26f867),H(0x9,_0x25bbcf),H(0xa,_0x374ceb),H(0xb,_0x870f26(ht)),H(0xc,_0x870f26(J))],St);let Et=class extends st{constructor(_0x35a020,_0x1aef73,_0x2400b5,_0x5e4911,_0x4254ec,_0x2b5dc9,_0x3f0d3e,_0x29a377,_0x398692,_0x45b21b,_0x2869e6,_0x1a613d,_0x10e65e,_0x41ebd7){var _0x17f6fa=_0x6aebf;super(_0x35a020,_0x2400b5,_0x1aef73,_0x5e4911,_0x4254ec,_0x2b5dc9,_0x3f0d3e,_0x398692,_0x45b21b,_0x2869e6,_0x1a613d,_0x10e65e,_0x41ebd7),this['unitID']=_0x35a020,this[_0x17f6fa(0x171)]=_0x1aef73,this[_0x17f6fa(0x30b)]=_0x29a377;}['_createHandler'](){var _0x1ce8ee=_0x6aebf;const _0x481cd0=super[_0x1ce8ee(0x2f7)]();return _0x481cd0[_0x1ce8ee(0x299)]=_0x5b837b=>this[_0x1ce8ee(0x30b)]['transformSelections'](_0x5b837b),_0x481cd0;}async['_init'](){var _0x1ea4cd=_0x6aebf;const _0x3b7670=await super[_0x1ea4cd(0x2b1)]();return this['disposeWithMe'](this[_0x1ea4cd(0x319)][_0x1ea4cd(0x168)]((_0x29050d,_0x53e1fb)=>{var _0x43b8bc=_0x1ea4cd;if(_0x29050d[_0x43b8bc(0x171)]!==_0x2863dc[_0x43b8bc(0x21b)]||_0x53e1fb!=null&&_0x53e1fb[_0x43b8bc(0x300)]||_0x53e1fb!=null&&_0x53e1fb[_0x43b8bc(0x2f3)])return;const _0x4d457c=_0x29050d[_0x43b8bc(0x388)];if((_0x4d457c==null?void 0x0:_0x4d457c[_0x43b8bc(0x128)])!==this['unitID'])return;const _0x6d4ea7=_0x29050d,_0xa4bbbd=this[_0x43b8bc(0x295)][_0x43b8bc(0x11e)][_0x43b8bc(0x23f)](this[_0x43b8bc(0x295)][_0x43b8bc(0x11e)][_0x43b8bc(0x23d)]()[_0x43b8bc(0x15c)])([_0x6d4ea7],null)||[_0x6d4ea7];this['_onLocalMutation'](_0xa4bbbd[0x0]);})),_0x3b7670;}};Et=wt([H(0x3,_0x18bb67(_0x11fbde)),H(0x4,_0x18bb67(_0xb993a7)),H(0x5,_0x18bb67(_0x21749b)),H(0x6,_0x18bb67(_0x3293cd)),H(0x7,_0x18bb67(it)),H(0x8,_0x18bb67(ve)),H(0x9,_0x26f867),H(0xa,_0x25bbcf),H(0xb,_0x374ceb),H(0xc,_0x870f26(ht)),H(0xd,_0x870f26(J))],Et);var Qs=Object[_0x6aebf(0x2ec)],en=(_0x1861d5,_0x530b54,_0x3de7d6,_0x525635)=>{for(var _0x34cc58=_0x525635>0x1?void 0x0:_0x525635?Qs(_0x530b54,_0x3de7d6):_0x530b54,_0x441dd0=_0x1861d5['length']-0x1,_0x26ef02;_0x441dd0>=0x0;_0x441dd0--)(_0x26ef02=_0x1861d5[_0x441dd0])&&(_0x34cc58=_0x26ef02(_0x34cc58)||_0x34cc58);return _0x34cc58;},Be=(_0x31a40d,_0x44b196)=>(_0x1a3691,_0x1d5676)=>_0x44b196(_0x1a3691,_0x1d5676,_0x31a40d);let nt=class extends _0x4a9342{constructor(_0x30288b,_0x4de532,_0x114d08,_0x950082){var _0x27a16b=_0x6aebf,_0x500a02;super(),N(this,'_entities',new Map()),N(this,_0x27a16b(0x10c),new _0x2f4bdc()),N(this,'entityInit$',this['_entityInit$'][_0x27a16b(0x28b)]()),(this[_0x27a16b(0x33b)]=_0x30288b,this['_collabSessionService']=_0x4de532,this[_0x27a16b(0x285)]=_0x114d08,this['_univerInstanceService']=_0x950082,((_0x500a02=this[_0x27a16b(0x285)][_0x27a16b(0x30d)](K))==null?void 0x0:_0x500a02[_0x27a16b(0x1eb)])!==!0x1&&this[_0x27a16b(0x2b1)]());}[_0x6aebf(0x29c)](){var _0x5958e0=_0x6aebf;super[_0x5958e0(0x29c)](),this[_0x5958e0(0x166)][_0x5958e0(0x14b)](_0x11a9a7=>_0x11a9a7['dispose']()),this['_entities'][_0x5958e0(0x32d)]();}[_0x6aebf(0x2ed)](_0xc51885){var _0x3ce74e=_0x6aebf,_0x13d907;return(_0x13d907=this[_0x3ce74e(0x166)][_0x3ce74e(0x346)](_0xc51885))!=null?_0x13d907:null;}['getCollabEntity$'](_0x23ddfd){var _0x3bf7f2=_0x6aebf;const _0x525b2a=this[_0x3bf7f2(0x2ed)](_0x23ddfd);return _0x525b2a?_0x3da406(_0x525b2a):this[_0x3bf7f2(0x10c)][_0x3bf7f2(0x351)](_0x74353e(_0x552670=>_0x552670['unitID']===_0x23ddfd));}[_0x6aebf(0xa6)](_0x38e0ee){return _0x13c019(this['getCollabEntity$'](_0x38e0ee)['pipe'](_0x1c75cc(()=>{})));}[_0x6aebf(0x2b1)](){var _0x541c52=_0x6aebf;this['_univerInstanceService']['getTypeOfUnitAdded$'](_0x5a96fb['UNIVER_SHEET'])[_0x541c52(0x351)](_0x27e979(this[_0x541c52(0x1df)]),_0x4ab3d3(0x10))[_0x541c52(0x18c)](async _0x97aa7e=>{var _0x26b2c4=_0x541c52;const _0x527798=_0x97aa7e['getUnitId'](),_0x153fd3=await this[_0x26b2c4(0x1f7)](_0x527798,Z[_0x26b2c4(0x2c7)]);this[_0x26b2c4(0x166)][_0x26b2c4(0x17a)](_0x527798,_0x153fd3);}),this[_0x541c52(0x92)][_0x541c52(0x37f)](_0x5a96fb[_0x541c52(0x366)])[_0x541c52(0x351)](_0x27e979(this['dispose$']),_0x4ab3d3(0x10))['pipe'](_0x74353e(_0x5022d3=>!_0x5022d3[_0x541c52(0x30c)]()[_0x541c52(0x151)]('__')))[_0x541c52(0x18c)](async _0x13655f=>{var _0x13f36a=_0x541c52;const _0x102d36=_0x13655f['getUnitId'](),_0x2f1a83=await this['_startCollaboration'](_0x102d36,Z[_0x13f36a(0x366)]);this[_0x13f36a(0x166)][_0x13f36a(0x17a)](_0x102d36,_0x2f1a83);}),_0x3fda27(this[_0x541c52(0x92)][_0x541c52(0x9e)](_0x5a96fb[_0x541c52(0x2c7)]),this[_0x541c52(0x92)][_0x541c52(0x9e)](_0x5a96fb['UNIVER_DOC']))[_0x541c52(0x351)](_0x27e979(this[_0x541c52(0x1df)]))[_0x541c52(0x18c)](_0x341801=>{var _0x3a4318=_0x541c52;const _0x2e0305=_0x341801['getUnitId'](),_0x94103f=this[_0x3a4318(0x166)][_0x3a4318(0x346)](_0x2e0305);_0x94103f&&(_0x94103f[_0x3a4318(0x29c)](),this[_0x3a4318(0x166)][_0x3a4318(0x155)](_0x2e0305));});}async[_0x6aebf(0x1f7)](_0x4815a1,_0x53cd6d){var _0x5997de=_0x6aebf;const _0x1224c8=await this[_0x5997de(0x24c)][_0x5997de(0x25d)](_0x4815a1),_0x589bd1=this[_0x5997de(0x33b)]['createInstance'](this[_0x5997de(0xe6)](_0x53cd6d),_0x4815a1,_0x53cd6d,_0x1224c8);return await _0x589bd1['init'](),this[_0x5997de(0x10c)][_0x5997de(0x312)](_0x589bd1),_0x589bd1;}['_getCtorByUniverType'](_0x46969b){var _0x4fd0e3=_0x6aebf;switch(_0x46969b){case Z['UNIVER_DOC']:return St;case Z[_0x4fd0e3(0x2c7)]:return Et;default:throw new Error(_0x4fd0e3(0x177)+_0x46969b);}}};nt=en([Be(0x0,_0x18bb67(_0x11fbde)),Be(0x1,_0x18bb67(Le)),Be(0x2,_0x5317b8),Be(0x3,_0x552064)],nt);var tn=Object[_0x6aebf(0x2ec)],sn=(_0x32e134,_0x1787b7,_0x24a7a9,_0xcc8e14)=>{for(var _0x3c4994=_0xcc8e14>0x1?void 0x0:_0xcc8e14?tn(_0x1787b7,_0x24a7a9):_0x1787b7,_0x4aa528=_0x32e134['length']-0x1,_0x58abfe;_0x4aa528>=0x0;_0x4aa528--)(_0x58abfe=_0x32e134[_0x4aa528])&&(_0x3c4994=_0x58abfe(_0x3c4994)||_0x3c4994);return _0x3c4994;},Yt=(_0x304cd7,_0x3c4b59)=>(_0x478fe0,_0x36a11d)=>_0x3c4b59(_0x478fe0,_0x36a11d,_0x304cd7);const nn=_0x6aebf(0x265),rn=_0x6aebf(0x1f9);let It=class extends _0xd3ae1c{constructor(_0x48d05b,_0x280df2){var _0x67656c=_0x6aebf;super(),this[_0x67656c(0x92)]=_0x48d05b,this['_configService']=_0x280df2,this[_0x67656c(0x2b1)]();}[_0x6aebf(0x2b1)](){var _0x10c53b=_0x6aebf;this[_0x10c53b(0x361)](this[_0x10c53b(0x92)][_0x10c53b(0x34a)][_0x10c53b(0x18c)](()=>{var _0x2b7e28=_0x10c53b,_0x3120f9;const _0x4a6900=this[_0x2b7e28(0x92)][_0x2b7e28(0x12e)]();let _0x4dcf52=(_0x3120f9=this['_configService'][_0x2b7e28(0x30d)](nn))!=null?_0x3120f9:rn;_0x4a6900 instanceof _0x52d5b8&&(_0x4dcf52=_0x4a6900[_0x2b7e28(0x277)]),document[_0x2b7e28(0x331)]=_0x4dcf52;}));}};It=sn([Yt(0x0,_0x552064),Yt(0x1,_0x5317b8)],It);var an=Object[_0x6aebf(0x2ec)],on=(_0x5ee37e,_0x154953,_0x3c7391,_0xf2c1dd)=>{for(var _0x532994=_0xf2c1dd>0x1?void 0x0:_0xf2c1dd?an(_0x154953,_0x3c7391):_0x154953,_0x42ddca=_0x5ee37e['length']-0x1,_0x3b3268;_0x42ddca>=0x0;_0x42ddca--)(_0x3b3268=_0x5ee37e[_0x42ddca])&&(_0x532994=_0x3b3268(_0x532994)||_0x532994);return _0x532994;},dt=(_0x116cfd,_0x2569a6)=>(_0x5e5cbe,_0xf1c9cc)=>_0x2569a6(_0x5e5cbe,_0xf1c9cc,_0x116cfd);let rt=class{constructor(_0x4d4f4b,_0x5a2d41,_0x2055cd){var _0x16b77d=_0x6aebf;this[_0x16b77d(0x285)]=_0x4d4f4b,this[_0x16b77d(0x190)]=_0x5a2d41,this[_0x16b77d(0xcf)]=_0x2055cd,this[_0x16b77d(0x2b2)]();}[_0x6aebf(0x2b2)](){var _0x3fdfb2=_0x6aebf;this[_0x3fdfb2(0x190)][_0x3fdfb2(0x32b)]({'priority':0x1,'interceptor':(_0x46c885,_0x461633)=>_0x461633(_0x46c885)[_0x3fdfb2(0x351)](_0x530eef(async _0x4e95bc=>{var _0x4e5b66=_0x3fdfb2;const _0x406617=_0x4e95bc;if(_0x406617[_0x4e5b66(0x2c2)]===0x191){if(typeof window>'u')throw new Error(_0x4e5b66(0x1f1));if(window[_0x4e5b66(0xd1)](this[_0x4e5b66(0xcf)]['t']('auth.needGotoLoginAlert'))){const _0x55a05b=window[_0x4e5b66(0x30f)](window[_0x4e5b66(0x111)][_0x4e5b66(0x2cc)]);window[_0x4e5b66(0x111)][_0x4e5b66(0x2cc)]=this[_0x4e5b66(0x1ed)]()+_0x4e5b66(0x35a)+_0x55a05b;}}return _0x406617;}))});}[_0x6aebf(0x1ed)](){var _0x1ce7c0=_0x6aebf,_0x4fcc5d,_0xc946e1;const _0x1cd182=this['_configService'][_0x1ce7c0(0x30d)](ys),_0x3be0a5=this[_0x1ce7c0(0x285)][_0x1ce7c0(0x30d)](K);return(_0xc946e1=(_0x4fcc5d=_0x3be0a5==null?void 0x0:_0x3be0a5[_0x1ce7c0(0x1da)])!=null?_0x4fcc5d:_0x1cd182)!=null?_0xc946e1:Ns;}};rt=on([dt(0x0,_0x5317b8),dt(0x1,_0x18bb67(_0x26c391)),dt(0x2,_0x18bb67(_0x21749b))],rt);var cn=Object[_0x6aebf(0x2ec)],hn=(_0x25e67e,_0x1c17ad,_0x2768e1,_0x279cd7)=>{var _0x1b3cf8=_0x6aebf;for(var _0x2cbece=_0x279cd7>0x1?void 0x0:_0x279cd7?cn(_0x1c17ad,_0x2768e1):_0x1c17ad,_0x4e9388=_0x25e67e[_0x1b3cf8(0x16a)]-0x1,_0x1c8cba;_0x4e9388>=0x0;_0x4e9388--)(_0x1c8cba=_0x25e67e[_0x4e9388])&&(_0x2cbece=_0x1c8cba(_0x2cbece)||_0x2cbece);return _0x2cbece;},Kt=(_0x56fc2a,_0x2a3247)=>(_0x365e50,_0x1939a5)=>_0x2a3247(_0x365e50,_0x1939a5,_0x56fc2a);const bi=_0x6aebf(0x387),_n=_0x6aebf(0x2df);let Tt=class extends _0xd3ae1c{constructor(_0x234adb,_0x34259d){var _0x1a8200=_0x6aebf;super(),this['_HTTPService']=_0x234adb,this['_configService']=_0x34259d,this[_0x1a8200(0x2ac)]();}['_initMergeInterceptor'](){var _0x88febd=_0x6aebf;const _0x4afe1a=this;this['disposeWithMe'](this[_0x88febd(0x103)][_0x88febd(0x32b)]({'priority':0x3e7,'interceptor':_0x310c62({'isMatch'(_0x1e898b){var _0x53c4f2=_0x88febd,_0x55fff4;if(_0x1e898b[_0x53c4f2(0x1cd)]===_0x53c4f2(0x1bb)&&((_0x55fff4=_0x1e898b[_0x53c4f2(0x9f)])!=null&&_0x55fff4['body'])){const {objectID:_0x5d588c,objectType:_0xc05920}=_0x1e898b['requestParams'][_0x53c4f2(0x200)]||{};if(!_0x5d588c||_0xc05920===void 0x0)return!0x1;const _0x3242f8=_0x4afe1a[_0x53c4f2(0x29d)]()+'/'+_0xc05920+_0x53c4f2(0x2a4)+_0x5d588c+_0x53c4f2(0x2d3);if(_0x1e898b['url']===_0x3242f8)return!0x0;}return!0x1;},'getParamsFromRequest'(_0x382b17){var _0xcf3edf=_0x88febd,_0x320836;return(_0x320836=_0x382b17[_0xcf3edf(0x9f)])==null?void 0x0:_0x320836['body'];},'mergeParamsToRequest'(_0x2635a4,_0x44420b){var _0x457e47=_0x88febd;const _0x5c697a=_0x4afe1a[_0x457e47(0x29d)]()+_0x457e47(0x35f),_0x1ff75b=_0x2635a4[_0x457e47(0x325)]((_0x28b618,_0x309866)=>{var _0x4b0c26=_0x457e47;const {unitID:_0x2a91f5,objectID:_0x41228c,objectType:_0x3652c0,actions:_0x219624}=_0x309866;return _0x28b618[_0x2a91f5]||(_0x28b618[_0x2a91f5]={}),_0x28b618[_0x2a91f5][_0x41228c]||(_0x28b618[_0x2a91f5][_0x41228c]={'objectID':_0x41228c,'objectType':_0x3652c0,'actions':[]}),_0x28b618[_0x2a91f5][_0x41228c]['actions'][_0x4b0c26(0xce)](..._0x219624),_0x28b618;},{}),_0x12bc60=[];for(const _0x10d2c1 in _0x1ff75b)for(const _0x4c00ea in _0x1ff75b[_0x10d2c1]){const {actions:_0x2132fa,objectType:_0x3ffa9e}=_0x1ff75b[_0x10d2c1][_0x4c00ea],_0x26b3bf=[...new Set(_0x2132fa)];_0x12bc60['push']({'unitID':_0x10d2c1,'objectID':_0x4c00ea,'objectType':_0x3ffa9e,'actions':_0x26b3bf});}return new _0x292d8f(_0x457e47(0x1bb),_0x5c697a,{'headers':_0x44420b[_0x457e47(0x33e)],'withCredentials':_0x44420b[_0x457e47(0xfd)],'responseType':_0x44420b[_0x457e47(0x2db)],'body':{'requests':_0x12bc60}});}},{'distributeResult'(_0x145f14,_0x5049e9){var _0x327105=_0x88febd;const {objectActions:_0x2868ad}=_0x145f14;return _0x5049e9[_0x327105(0x37b)](_0x3c9bae=>{var _0xf3b1df=_0x327105;const {unitID:_0x1c1ab8,objectID:_0x385c47,actions:_0x904ce4}=_0x3c9bae,_0x174385=_0x2868ad[_0xf3b1df(0xa4)](_0x1d1474=>_0x1d1474[_0xf3b1df(0x196)]===_0x1c1ab8&&_0x1d1474[_0xf3b1df(0x314)]===_0x385c47),_0x5d0e39=_0x904ce4[_0xf3b1df(0x37b)](_0x2fe28d=>_0x174385==null?void 0x0:_0x174385[_0xf3b1df(0x1a6)][_0xf3b1df(0xa4)](_0x2da33d=>_0x2da33d['action']===_0x2fe28d))['filter'](_0x1a9291=>!!_0x1a9291);return{'config':_0x3c9bae,'result':{'actions':_0x5d0e39,'error':_0x145f14['error']}};});}})}));}[_0x6aebf(0x29d)](){var _0x47feeb=_0x6aebf,_0x49da03,_0x4f498a;const _0x3c7201=this[_0x47feeb(0x285)][_0x47feeb(0x30d)](bi),_0x276316=this[_0x47feeb(0x285)][_0x47feeb(0x30d)](K);return(_0x4f498a=(_0x49da03=_0x276316==null?void 0x0:_0x276316[_0x47feeb(0x263)])!=null?_0x49da03:_0x3c7201)!=null?_0x4f498a:_n;}async['create'](_0x1bd807){var _0x28ce79=_0x6aebf;const _0x3e454b=this['_getAPIPrefixPath']()+'/'+_0x1bd807['objectType']+_0x28ce79(0x273);return(await this[_0x28ce79(0x103)][_0x28ce79(0x288)](_0x3e454b,{'body':_0x1bd807}))['body'][_0x28ce79(0x314)]||'';}async[_0x6aebf(0x2cf)](_0x58d34e){var _0x41a131=_0x6aebf;const _0x5db82b=this[_0x41a131(0x29d)]()+'/-/object/list';return(await this[_0x41a131(0x103)][_0x41a131(0x288)](_0x5db82b,{'body':_0x58d34e}))[_0x41a131(0x200)][_0x41a131(0x1e2)];}async['update'](_0x100e30){var _0x473fcf=_0x6aebf,_0x24bf68,_0x11f1e3;const _0x2ec7fb=this['_getAPIPrefixPath']()+'/'+_0x100e30[_0x473fcf(0x189)]+_0x473fcf(0x2a4)+_0x100e30[_0x473fcf(0x314)],_0x17f125=await this[_0x473fcf(0x103)]['put'](_0x2ec7fb,{'body':_0x100e30});if(((_0x11f1e3=(_0x24bf68=_0x17f125==null?void 0x0:_0x17f125[_0x473fcf(0x200)])==null?void 0x0:_0x24bf68[_0x473fcf(0x232)])==null?void 0x0:_0x11f1e3['code'])!==0x1)throw new Error(_0x473fcf(0x198));}async[_0x6aebf(0x34d)](_0x9e0ff6){var _0x8c46a1=_0x6aebf;const _0x2e2aa4=this[_0x8c46a1(0x29d)]()+'/'+_0x9e0ff6['objectType']+_0x8c46a1(0x2a4)+_0x9e0ff6[_0x8c46a1(0x314)]+_0x8c46a1(0x2d3);return(await this['_HTTPService'][_0x8c46a1(0x288)](_0x2e2aa4,{'body':_0x9e0ff6}))[_0x8c46a1(0x200)]['actions'];}async[_0x6aebf(0x1b9)](_0x1d6d1c){var _0x45fd6a=_0x6aebf;const _0xa5646=this[_0x45fd6a(0x29d)]()+_0x45fd6a(0x35f);return(await this['_HTTPService'][_0x45fd6a(0x288)](_0xa5646,{'body':{'requests':_0x1d6d1c}}))[_0x45fd6a(0x200)][_0x45fd6a(0x329)];}async['listRoles'](_0x4d7845){var _0x5e0cd9=_0x6aebf;const _0x4bb965=this['_getAPIPrefixPath']()+'/'+_0x4d7845[_0x5e0cd9(0x189)]+_0x5e0cd9(0x10a),_0x3fdd66=await this[_0x5e0cd9(0x103)][_0x5e0cd9(0x288)](_0x4bb965,{'body':_0x4d7845});return{'roles':_0x3fdd66['body'][_0x5e0cd9(0x279)],'actions':_0x3fdd66[_0x5e0cd9(0x200)][_0x5e0cd9(0x1a6)]};}async[_0x6aebf(0xff)](_0x3cd8b1){var _0xedf9d=_0x6aebf;const _0x51be34=this['_getAPIPrefixPath']()+'/collaborator';await this[_0xedf9d(0x103)][_0xedf9d(0x155)](_0x51be34,{'params':{'collaboratorID':_0x3cd8b1['collaboratorID'],'objectID':_0x3cd8b1[_0xedf9d(0x314)],'unitID':_0x3cd8b1[_0xedf9d(0x196)]}});}async['updateCollaborator'](_0x5a0213){var _0x18c918=_0x6aebf;const _0xb0faa=this[_0x18c918(0x29d)]()+_0x18c918(0x362);await this[_0x18c918(0x103)][_0x18c918(0x278)](_0xb0faa,{'body':_0x5a0213});}async[_0x6aebf(0xda)](_0x3e0eb5){var _0x36e5fd=_0x6aebf;const _0x449d20=this[_0x36e5fd(0x29d)]()+_0x36e5fd(0x362);await this[_0x36e5fd(0x103)][_0x36e5fd(0x288)](_0x449d20,{'body':_0x3e0eb5});}async[_0x6aebf(0x2ce)](_0x39c4db){var _0x528936=_0x6aebf;const _0x59a461=this[_0x528936(0x29d)]()+'/collaborator';return(await this[_0x528936(0x103)][_0x528936(0x346)](_0x59a461,{'params':{'objectID':_0x39c4db[_0x528936(0x314)],'unitID':_0x39c4db['unitID']}}))[_0x528936(0x200)][_0x528936(0xbb)];}async[_0x6aebf(0x1af)](_0x1fec62){var _0x585340=_0x6aebf;const _0x5cd7ec=this[_0x585340(0x29d)]()+_0x585340(0x362);await this['_HTTPService']['put'](_0x5cd7ec,{'body':_0x1fec62});}};Tt=hn([Kt(0x0,_0x18bb67(_0x26c391)),Kt(0x1,_0x18bb67(_0x5317b8))],Tt);var ft=typeof globalThis<'u'?globalThis:typeof window<'u'?window:typeof global<'u'?global:typeof self<'u'?self:{};function $e(_0x2e7203){var _0x211b26=_0x6aebf;return _0x2e7203&&_0x2e7203[_0x211b26(0x383)]&&Object[_0x211b26(0x353)][_0x211b26(0x14e)][_0x211b26(0x382)](_0x2e7203,_0x211b26(0x1f0))?_0x2e7203[_0x211b26(0x1f0)]:_0x2e7203;}var Ve={'exports':{}};function ln(_0x354759){var _0x41e646=_0x6aebf;throw new Error('Could\x20not\x20dynamically\x20require\x20\x22'+_0x354759+_0x41e646(0x209));}var Ge={'exports':{}},un=Ge['exports'],qt;function te(){var _0x5d9d33=_0x6aebf;return qt||(qt=0x1,function(_0x56c9c0,_0x15930e){(function(_0x143ad8,_0x2f663e){var _0x497477=_0x5cc4;_0x56c9c0[_0x497477(0x1bc)]=_0x2f663e();}(un,function(){var _0x22b19c=_0x22b19c||function(_0x5c6259,_0x3e7f09){var _0x54ef1a=_0x5cc4,_0x533fea;if(typeof window<'u'&&window[_0x54ef1a(0x16d)]&&(_0x533fea=window[_0x54ef1a(0x16d)]),typeof self<'u'&&self[_0x54ef1a(0x16d)]&&(_0x533fea=self[_0x54ef1a(0x16d)]),typeof globalThis<'u'&&globalThis[_0x54ef1a(0x16d)]&&(_0x533fea=globalThis[_0x54ef1a(0x16d)]),!_0x533fea&&typeof window<'u'&&window['msCrypto']&&(_0x533fea=window[_0x54ef1a(0x369)]),!_0x533fea&&typeof ft<'u'&&ft[_0x54ef1a(0x16d)]&&(_0x533fea=ft[_0x54ef1a(0x16d)]),!_0x533fea&&typeof ln==_0x54ef1a(0x183))try{_0x533fea=require(_0x54ef1a(0x16d));}catch{}var _0x191adc=function(){var _0x5b80a8=_0x54ef1a;if(_0x533fea){if(typeof _0x533fea[_0x5b80a8(0x178)]==_0x5b80a8(0x183))try{return _0x533fea[_0x5b80a8(0x178)](new Uint32Array(0x1))[0x0];}catch{}if(typeof _0x533fea[_0x5b80a8(0x27d)]==_0x5b80a8(0x183))try{return _0x533fea[_0x5b80a8(0x27d)](0x4)[_0x5b80a8(0x184)]();}catch{}}throw new Error(_0x5b80a8(0x143));},_0x1e2eac=Object[_0x54ef1a(0x19e)]||(function(){function _0x290e86(){}return function(_0x378908){var _0x323db5=_0x5cc4,_0x5282d4;return _0x290e86[_0x323db5(0x353)]=_0x378908,_0x5282d4=new _0x290e86(),_0x290e86[_0x323db5(0x353)]=null,_0x5282d4;};}()),_0x4a32b7={},_0x24b6b5=_0x4a32b7[_0x54ef1a(0x1b4)]={},_0x328815=_0x24b6b5[_0x54ef1a(0xa1)]=(function(){return{'extend':function(_0x1c7e5f){var _0x1dabcc=_0x5cc4,_0x492035=_0x1e2eac(this);return _0x1c7e5f&&_0x492035['mixIn'](_0x1c7e5f),(!_0x492035[_0x1dabcc(0x14e)]('init')||this[_0x1dabcc(0x2b2)]===_0x492035[_0x1dabcc(0x2b2)])&&(_0x492035[_0x1dabcc(0x2b2)]=function(){var _0x109d91=_0x1dabcc;_0x492035[_0x109d91(0x24e)][_0x109d91(0x2b2)][_0x109d91(0x136)](this,arguments);}),_0x492035[_0x1dabcc(0x2b2)]['prototype']=_0x492035,_0x492035[_0x1dabcc(0x24e)]=this,_0x492035;},'create':function(){var _0x55274=_0x5cc4,_0x8870fc=this[_0x55274(0x13a)]();return _0x8870fc['init'][_0x55274(0x136)](_0x8870fc,arguments),_0x8870fc;},'init':function(){},'mixIn':function(_0x4b2c3e){var _0x1e4b65=_0x5cc4;for(var _0x427385 in _0x4b2c3e)_0x4b2c3e[_0x1e4b65(0x14e)](_0x427385)&&(this[_0x427385]=_0x4b2c3e[_0x427385]);_0x4b2c3e[_0x1e4b65(0x14e)](_0x1e4b65(0x202))&&(this[_0x1e4b65(0x202)]=_0x4b2c3e[_0x1e4b65(0x202)]);},'clone':function(){var _0x3876d6=_0x5cc4;return this[_0x3876d6(0x2b2)][_0x3876d6(0x353)][_0x3876d6(0x13a)](this);}};}()),_0x8ac5f4=_0x24b6b5[_0x54ef1a(0xb7)]=_0x328815[_0x54ef1a(0x13a)]({'init':function(_0x205e39,_0x52d6ec){var _0x136a5f=_0x54ef1a;_0x205e39=this[_0x136a5f(0x21e)]=_0x205e39||[],_0x52d6ec!=_0x3e7f09?this['sigBytes']=_0x52d6ec:this[_0x136a5f(0xf0)]=_0x205e39[_0x136a5f(0x16a)]*0x4;},'toString':function(_0x1c795f){var _0xd88c35=_0x54ef1a;return(_0x1c795f||_0x1cae88)[_0xd88c35(0x165)](this);},'concat':function(_0x13899a){var _0x16e605=_0x54ef1a,_0x25a488=this[_0x16e605(0x21e)],_0xd34783=_0x13899a[_0x16e605(0x21e)],_0x22c67e=this[_0x16e605(0xf0)],_0x353183=_0x13899a[_0x16e605(0xf0)];if(this['clamp'](),_0x22c67e%0x4)for(var _0x3438ca=0x0;_0x3438ca<_0x353183;_0x3438ca++){var _0x4218ad=_0xd34783[_0x3438ca>>>0x2]>>>0x18-_0x3438ca%0x4*0x8&0xff;_0x25a488[_0x22c67e+_0x3438ca>>>0x2]|=_0x4218ad<<0x18-(_0x22c67e+_0x3438ca)%0x4*0x8;}else{for(var _0x583c9b=0x0;_0x583c9b<_0x353183;_0x583c9b+=0x4)_0x25a488[_0x22c67e+_0x583c9b>>>0x2]=_0xd34783[_0x583c9b>>>0x2];}return this[_0x16e605(0xf0)]+=_0x353183,this;},'clamp':function(){var _0x32fb23=_0x54ef1a,_0x1beb16=this['words'],_0x1b447d=this[_0x32fb23(0xf0)];_0x1beb16[_0x1b447d>>>0x2]&=0xffffffff<<0x20-_0x1b447d%0x4*0x8,_0x1beb16[_0x32fb23(0x16a)]=_0x5c6259[_0x32fb23(0x16f)](_0x1b447d/0x4);},'clone':function(){var _0x5b99e3=_0x54ef1a,_0x59b322=_0x328815[_0x5b99e3(0x262)][_0x5b99e3(0x382)](this);return _0x59b322[_0x5b99e3(0x21e)]=this['words'][_0x5b99e3(0x1ec)](0x0),_0x59b322;},'random':function(_0x5aa044){var _0x61a478=_0x54ef1a;for(var _0x385caa=[],_0x48b75d=0x0;_0x48b75d<_0x5aa044;_0x48b75d+=0x4)_0x385caa[_0x61a478(0xce)](_0x191adc());return new _0x8ac5f4['init'](_0x385caa,_0x5aa044);}}),_0x48932c=_0x4a32b7[_0x54ef1a(0x356)]={},_0x1cae88=_0x48932c[_0x54ef1a(0x235)]={'stringify':function(_0x5efd46){var _0x49f511=_0x54ef1a;for(var _0x190b4e=_0x5efd46[_0x49f511(0x21e)],_0x29f677=_0x5efd46[_0x49f511(0xf0)],_0x41f48c=[],_0x39500d=0x0;_0x39500d<_0x29f677;_0x39500d++){var _0x49141a=_0x190b4e[_0x39500d>>>0x2]>>>0x18-_0x39500d%0x4*0x8&0xff;_0x41f48c['push']((_0x49141a>>>0x4)[_0x49f511(0x202)](0x10)),_0x41f48c[_0x49f511(0xce)]((_0x49141a&0xf)['toString'](0x10));}return _0x41f48c[_0x49f511(0x37e)]('');},'parse':function(_0x3e397c){for(var _0x478525=_0x3e397c['length'],_0x452ac1=[],_0x101809=0x0;_0x101809<_0x478525;_0x101809+=0x2)_0x452ac1[_0x101809>>>0x3]|=parseInt(_0x3e397c['substr'](_0x101809,0x2),0x10)<<0x18-_0x101809%0x8*0x4;return new _0x8ac5f4['init'](_0x452ac1,_0x478525/0x2);}},_0x52f450=_0x48932c['Latin1']={'stringify':function(_0x51bdc3){var _0x33e8de=_0x54ef1a;for(var _0x361cf9=_0x51bdc3[_0x33e8de(0x21e)],_0x573fee=_0x51bdc3[_0x33e8de(0xf0)],_0x25a6d1=[],_0x47a1e4=0x0;_0x47a1e4<_0x573fee;_0x47a1e4++){var _0x3a7b7b=_0x361cf9[_0x47a1e4>>>0x2]>>>0x18-_0x47a1e4%0x4*0x8&0xff;_0x25a6d1[_0x33e8de(0xce)](String[_0x33e8de(0x254)](_0x3a7b7b));}return _0x25a6d1[_0x33e8de(0x37e)]('');},'parse':function(_0x594d22){var _0x3c596f=_0x54ef1a;for(var _0x3412e4=_0x594d22[_0x3c596f(0x16a)],_0x2a3d4f=[],_0x2cc301=0x0;_0x2cc301<_0x3412e4;_0x2cc301++)_0x2a3d4f[_0x2cc301>>>0x2]|=(_0x594d22[_0x3c596f(0xbf)](_0x2cc301)&0xff)<<0x18-_0x2cc301%0x4*0x8;return new _0x8ac5f4[(_0x3c596f(0x2b2))](_0x2a3d4f,_0x3412e4);}},_0x1bbca4=_0x48932c[_0x54ef1a(0x375)]={'stringify':function(_0x450860){var _0x25a649=_0x54ef1a;try{return decodeURIComponent(escape(_0x52f450[_0x25a649(0x165)](_0x450860)));}catch{throw new Error(_0x25a649(0x306));}},'parse':function(_0x4d0240){return _0x52f450['parse'](unescape(encodeURIComponent(_0x4d0240)));}},_0x4b2593=_0x24b6b5[_0x54ef1a(0x390)]=_0x328815[_0x54ef1a(0x13a)]({'reset':function(){var _0x2e2884=_0x54ef1a;this[_0x2e2884(0x248)]=new _0x8ac5f4[(_0x2e2884(0x2b2))](),this['_nDataBytes']=0x0;},'_append':function(_0x2682db){var _0x21125a=_0x54ef1a;typeof _0x2682db==_0x21125a(0x1a3)&&(_0x2682db=_0x1bbca4[_0x21125a(0x337)](_0x2682db)),this[_0x21125a(0x248)][_0x21125a(0x26c)](_0x2682db),this['_nDataBytes']+=_0x2682db['sigBytes'];},'_process':function(_0x173fd1){var _0x3aba4b=_0x54ef1a,_0x3189a5,_0x235ffd=this[_0x3aba4b(0x248)],_0x5f351c=_0x235ffd[_0x3aba4b(0x21e)],_0x45300e=_0x235ffd[_0x3aba4b(0xf0)],_0x5870f8=this['blockSize'],_0x2d58c9=_0x5870f8*0x4,_0x4a7bbb=_0x45300e/_0x2d58c9;_0x173fd1?_0x4a7bbb=_0x5c6259[_0x3aba4b(0x16f)](_0x4a7bbb):_0x4a7bbb=_0x5c6259[_0x3aba4b(0x23e)]((_0x4a7bbb|0x0)-this[_0x3aba4b(0x349)],0x0);var _0x215175=_0x4a7bbb*_0x5870f8,_0x3989ff=_0x5c6259[_0x3aba4b(0x30e)](_0x215175*0x4,_0x45300e);if(_0x215175){for(var _0x28c11d=0x0;_0x28c11d<_0x215175;_0x28c11d+=_0x5870f8)this[_0x3aba4b(0x381)](_0x5f351c,_0x28c11d);_0x3189a5=_0x5f351c[_0x3aba4b(0xe2)](0x0,_0x215175),_0x235ffd[_0x3aba4b(0xf0)]-=_0x3989ff;}return new _0x8ac5f4[(_0x3aba4b(0x2b2))](_0x3189a5,_0x3989ff);},'clone':function(){var _0x36a007=_0x54ef1a,_0x2b6cae=_0x328815['clone']['call'](this);return _0x2b6cae[_0x36a007(0x248)]=this[_0x36a007(0x248)][_0x36a007(0x262)](),_0x2b6cae;},'_minBufferSize':0x0});_0x24b6b5[_0x54ef1a(0x192)]=_0x4b2593[_0x54ef1a(0x13a)]({'cfg':_0x328815[_0x54ef1a(0x13a)](),'init':function(_0x489b10){var _0x2ec65b=_0x54ef1a;this['cfg']=this[_0x2ec65b(0xd0)][_0x2ec65b(0x13a)](_0x489b10),this['reset']();},'reset':function(){_0x4b2593['reset']['call'](this),this['_doReset']();},'update':function(_0xc7eee9){var _0x4acf78=_0x54ef1a;return this[_0x4acf78(0xe0)](_0xc7eee9),this['_process'](),this;},'finalize':function(_0x32527f){var _0x3e2492=_0x54ef1a;_0x32527f&&this[_0x3e2492(0xe0)](_0x32527f);var _0x7d4a79=this[_0x3e2492(0x2a5)]();return _0x7d4a79;},'blockSize':0x10,'_createHelper':function(_0x9009f0){return function(_0x488e2e,_0xfa9983){var _0x13c935=_0x5cc4;return new _0x9009f0[(_0x13c935(0x2b2))](_0xfa9983)[_0x13c935(0x227)](_0x488e2e);};},'_createHmacHelper':function(_0x3f83a6){return function(_0x29998a,_0x48f5a4){var _0x2c653b=_0x5cc4;return new _0x5e1345[(_0x2c653b(0x1aa))][(_0x2c653b(0x2b2))](_0x3f83a6,_0x48f5a4)[_0x2c653b(0x227)](_0x29998a);};}});var _0x5e1345=_0x4a32b7['algo']={};return _0x4a32b7;}(Math);return _0x22b19c;}));}(Ge)),Ge[_0x5d9d33(0x1bc)];}var We={'exports':{}},dn=We['exports'],zt;function Oi(){return zt||(zt=0x1,function(_0x16a037,_0x397cfd){(function(_0x838d3b,_0x4d2bd5){_0x16a037['exports']=_0x4d2bd5(te());}(dn,function(_0x571e7){return(function(){var _0x489b23=_0x5cc4,_0xe60b87=_0x571e7,_0x471842=_0xe60b87[_0x489b23(0x1b4)],_0x5d061e=_0x471842[_0x489b23(0xb7)],_0x4e7779=_0xe60b87[_0x489b23(0x356)];_0x4e7779[_0x489b23(0x201)]={'stringify':function(_0x31760a){var _0x2a9560=_0x489b23,_0x5867b0=_0x31760a['words'],_0x1c2c6d=_0x31760a[_0x2a9560(0xf0)],_0x3e34c3=this['_map'];_0x31760a[_0x2a9560(0x1ea)]();for(var _0x281002=[],_0x53db91=0x0;_0x53db91<_0x1c2c6d;_0x53db91+=0x3)for(var _0x19b2bf=_0x5867b0[_0x53db91>>>0x2]>>>0x18-_0x53db91%0x4*0x8&0xff,_0x3aa207=_0x5867b0[_0x53db91+0x1>>>0x2]>>>0x18-(_0x53db91+0x1)%0x4*0x8&0xff,_0x675843=_0x5867b0[_0x53db91+0x2>>>0x2]>>>0x18-(_0x53db91+0x2)%0x4*0x8&0xff,_0x3dc567=_0x19b2bf<<0x10|_0x3aa207<<0x8|_0x675843,_0x13c9b3=0x0;_0x13c9b3<0x4&&_0x53db91+_0x13c9b3*0.75<_0x1c2c6d;_0x13c9b3++)_0x281002[_0x2a9560(0xce)](_0x3e34c3[_0x2a9560(0x2a2)](_0x3dc567>>>0x6*(0x3-_0x13c9b3)&0x3f));var _0x57e5b4=_0x3e34c3['charAt'](0x40);if(_0x57e5b4){for(;_0x281002[_0x2a9560(0x16a)]%0x4;)_0x281002[_0x2a9560(0xce)](_0x57e5b4);}return _0x281002[_0x2a9560(0x37e)]('');},'parse':function(_0x390625){var _0x1d4b4a=_0x489b23,_0x26f65d=_0x390625['length'],_0x52bc2a=this[_0x1d4b4a(0x156)],_0x4c9306=this[_0x1d4b4a(0x1a8)];if(!_0x4c9306){_0x4c9306=this['_reverseMap']=[];for(var _0x2ec8b2=0x0;_0x2ec8b2<_0x52bc2a[_0x1d4b4a(0x16a)];_0x2ec8b2++)_0x4c9306[_0x52bc2a['charCodeAt'](_0x2ec8b2)]=_0x2ec8b2;}var _0x29cbf7=_0x52bc2a['charAt'](0x40);if(_0x29cbf7){var _0x3c8f4f=_0x390625[_0x1d4b4a(0x27b)](_0x29cbf7);_0x3c8f4f!==-0x1&&(_0x26f65d=_0x3c8f4f);}return _0x4fd05e(_0x390625,_0x26f65d,_0x4c9306);},'_map':_0x489b23(0x18d)};function _0x4fd05e(_0x2d547c,_0x36e51a,_0x198670){var _0x1014c4=_0x489b23;for(var _0x35b87b=[],_0x3cb14d=0x0,_0x36dae6=0x0;_0x36dae6<_0x36e51a;_0x36dae6++)if(_0x36dae6%0x4){var _0x291a0d=_0x198670[_0x2d547c[_0x1014c4(0xbf)](_0x36dae6-0x1)]<<_0x36dae6%0x4*0x2,_0xa5793d=_0x198670[_0x2d547c[_0x1014c4(0xbf)](_0x36dae6)]>>>0x6-_0x36dae6%0x4*0x2,_0x2e7131=_0x291a0d|_0xa5793d;_0x35b87b[_0x3cb14d>>>0x2]|=_0x2e7131<<0x18-_0x3cb14d%0x4*0x8,_0x3cb14d++;}return _0x5d061e[_0x1014c4(0x19e)](_0x35b87b,_0x3cb14d);}}()),_0x571e7['enc']['Base64'];}));}(We)),We['exports'];}var Ye={'exports':{}},fn=Ye['exports'],Jt;function vn(){return Jt||(Jt=0x1,function(_0x57266f,_0x3c1fce){(function(_0x2101d4,_0x27c664){_0x57266f['exports']=_0x27c664(te());}(fn,function(_0x457f74){return function(_0x1f8141){var _0x384bba=_0x5cc4,_0x3621b9=_0x457f74,_0x4e909c=_0x3621b9[_0x384bba(0x1b4)],_0x293393=_0x4e909c[_0x384bba(0xb7)],_0x1d6831=_0x4e909c[_0x384bba(0x192)],_0x59bfef=_0x3621b9[_0x384bba(0xc9)],_0x7dba13=[];(function(){for(var _0x439717=0x0;_0x439717<0x40;_0x439717++)_0x7dba13[_0x439717]=_0x1f8141['abs'](_0x1f8141['sin'](_0x439717+0x1))*0x100000000|0x0;}());var _0x448185=_0x59bfef[_0x384bba(0x2a7)]=_0x1d6831[_0x384bba(0x13a)]({'_doReset':function(){var _0x577dff=_0x384bba;this[_0x577dff(0x32e)]=new _0x293393[(_0x577dff(0x2b2))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476]);},'_doProcessBlock':function(_0x35b0d0,_0x306ea6){var _0x4c6af2=_0x384bba;for(var _0x3bc63a=0x0;_0x3bc63a<0x10;_0x3bc63a++){var _0x3b7a41=_0x306ea6+_0x3bc63a,_0x495405=_0x35b0d0[_0x3b7a41];_0x35b0d0[_0x3b7a41]=(_0x495405<<0x8|_0x495405>>>0x18)&0xff00ff|(_0x495405<<0x18|_0x495405>>>0x8)&0xff00ff00;}var _0x209d4a=this['_hash'][_0x4c6af2(0x21e)],_0x5b17c0=_0x35b0d0[_0x306ea6+0x0],_0x234dc9=_0x35b0d0[_0x306ea6+0x1],_0xf9827=_0x35b0d0[_0x306ea6+0x2],_0x3a7092=_0x35b0d0[_0x306ea6+0x3],_0x223dd3=_0x35b0d0[_0x306ea6+0x4],_0x5a5e7a=_0x35b0d0[_0x306ea6+0x5],_0x34cab3=_0x35b0d0[_0x306ea6+0x6],_0x31a069=_0x35b0d0[_0x306ea6+0x7],_0x538cff=_0x35b0d0[_0x306ea6+0x8],_0x147bf6=_0x35b0d0[_0x306ea6+0x9],_0xb60d3b=_0x35b0d0[_0x306ea6+0xa],_0x256cbb=_0x35b0d0[_0x306ea6+0xb],_0x279c6a=_0x35b0d0[_0x306ea6+0xc],_0x28d2c8=_0x35b0d0[_0x306ea6+0xd],_0x30eeff=_0x35b0d0[_0x306ea6+0xe],_0x4f1f3a=_0x35b0d0[_0x306ea6+0xf],_0x352ac5=_0x209d4a[0x0],_0x5c95a5=_0x209d4a[0x1],_0x591c73=_0x209d4a[0x2],_0x3e3138=_0x209d4a[0x3];_0x352ac5=_0x581b22(_0x352ac5,_0x5c95a5,_0x591c73,_0x3e3138,_0x5b17c0,0x7,_0x7dba13[0x0]),_0x3e3138=_0x581b22(_0x3e3138,_0x352ac5,_0x5c95a5,_0x591c73,_0x234dc9,0xc,_0x7dba13[0x1]),_0x591c73=_0x581b22(_0x591c73,_0x3e3138,_0x352ac5,_0x5c95a5,_0xf9827,0x11,_0x7dba13[0x2]),_0x5c95a5=_0x581b22(_0x5c95a5,_0x591c73,_0x3e3138,_0x352ac5,_0x3a7092,0x16,_0x7dba13[0x3]),_0x352ac5=_0x581b22(_0x352ac5,_0x5c95a5,_0x591c73,_0x3e3138,_0x223dd3,0x7,_0x7dba13[0x4]),_0x3e3138=_0x581b22(_0x3e3138,_0x352ac5,_0x5c95a5,_0x591c73,_0x5a5e7a,0xc,_0x7dba13[0x5]),_0x591c73=_0x581b22(_0x591c73,_0x3e3138,_0x352ac5,_0x5c95a5,_0x34cab3,0x11,_0x7dba13[0x6]),_0x5c95a5=_0x581b22(_0x5c95a5,_0x591c73,_0x3e3138,_0x352ac5,_0x31a069,0x16,_0x7dba13[0x7]),_0x352ac5=_0x581b22(_0x352ac5,_0x5c95a5,_0x591c73,_0x3e3138,_0x538cff,0x7,_0x7dba13[0x8]),_0x3e3138=_0x581b22(_0x3e3138,_0x352ac5,_0x5c95a5,_0x591c73,_0x147bf6,0xc,_0x7dba13[0x9]),_0x591c73=_0x581b22(_0x591c73,_0x3e3138,_0x352ac5,_0x5c95a5,_0xb60d3b,0x11,_0x7dba13[0xa]),_0x5c95a5=_0x581b22(_0x5c95a5,_0x591c73,_0x3e3138,_0x352ac5,_0x256cbb,0x16,_0x7dba13[0xb]),_0x352ac5=_0x581b22(_0x352ac5,_0x5c95a5,_0x591c73,_0x3e3138,_0x279c6a,0x7,_0x7dba13[0xc]),_0x3e3138=_0x581b22(_0x3e3138,_0x352ac5,_0x5c95a5,_0x591c73,_0x28d2c8,0xc,_0x7dba13[0xd]),_0x591c73=_0x581b22(_0x591c73,_0x3e3138,_0x352ac5,_0x5c95a5,_0x30eeff,0x11,_0x7dba13[0xe]),_0x5c95a5=_0x581b22(_0x5c95a5,_0x591c73,_0x3e3138,_0x352ac5,_0x4f1f3a,0x16,_0x7dba13[0xf]),_0x352ac5=_0x307eb9(_0x352ac5,_0x5c95a5,_0x591c73,_0x3e3138,_0x234dc9,0x5,_0x7dba13[0x10]),_0x3e3138=_0x307eb9(_0x3e3138,_0x352ac5,_0x5c95a5,_0x591c73,_0x34cab3,0x9,_0x7dba13[0x11]),_0x591c73=_0x307eb9(_0x591c73,_0x3e3138,_0x352ac5,_0x5c95a5,_0x256cbb,0xe,_0x7dba13[0x12]),_0x5c95a5=_0x307eb9(_0x5c95a5,_0x591c73,_0x3e3138,_0x352ac5,_0x5b17c0,0x14,_0x7dba13[0x13]),_0x352ac5=_0x307eb9(_0x352ac5,_0x5c95a5,_0x591c73,_0x3e3138,_0x5a5e7a,0x5,_0x7dba13[0x14]),_0x3e3138=_0x307eb9(_0x3e3138,_0x352ac5,_0x5c95a5,_0x591c73,_0xb60d3b,0x9,_0x7dba13[0x15]),_0x591c73=_0x307eb9(_0x591c73,_0x3e3138,_0x352ac5,_0x5c95a5,_0x4f1f3a,0xe,_0x7dba13[0x16]),_0x5c95a5=_0x307eb9(_0x5c95a5,_0x591c73,_0x3e3138,_0x352ac5,_0x223dd3,0x14,_0x7dba13[0x17]),_0x352ac5=_0x307eb9(_0x352ac5,_0x5c95a5,_0x591c73,_0x3e3138,_0x147bf6,0x5,_0x7dba13[0x18]),_0x3e3138=_0x307eb9(_0x3e3138,_0x352ac5,_0x5c95a5,_0x591c73,_0x30eeff,0x9,_0x7dba13[0x19]),_0x591c73=_0x307eb9(_0x591c73,_0x3e3138,_0x352ac5,_0x5c95a5,_0x3a7092,0xe,_0x7dba13[0x1a]),_0x5c95a5=_0x307eb9(_0x5c95a5,_0x591c73,_0x3e3138,_0x352ac5,_0x538cff,0x14,_0x7dba13[0x1b]),_0x352ac5=_0x307eb9(_0x352ac5,_0x5c95a5,_0x591c73,_0x3e3138,_0x28d2c8,0x5,_0x7dba13[0x1c]),_0x3e3138=_0x307eb9(_0x3e3138,_0x352ac5,_0x5c95a5,_0x591c73,_0xf9827,0x9,_0x7dba13[0x1d]),_0x591c73=_0x307eb9(_0x591c73,_0x3e3138,_0x352ac5,_0x5c95a5,_0x31a069,0xe,_0x7dba13[0x1e]),_0x5c95a5=_0x307eb9(_0x5c95a5,_0x591c73,_0x3e3138,_0x352ac5,_0x279c6a,0x14,_0x7dba13[0x1f]),_0x352ac5=_0xeee403(_0x352ac5,_0x5c95a5,_0x591c73,_0x3e3138,_0x5a5e7a,0x4,_0x7dba13[0x20]),_0x3e3138=_0xeee403(_0x3e3138,_0x352ac5,_0x5c95a5,_0x591c73,_0x538cff,0xb,_0x7dba13[0x21]),_0x591c73=_0xeee403(_0x591c73,_0x3e3138,_0x352ac5,_0x5c95a5,_0x256cbb,0x10,_0x7dba13[0x22]),_0x5c95a5=_0xeee403(_0x5c95a5,_0x591c73,_0x3e3138,_0x352ac5,_0x30eeff,0x17,_0x7dba13[0x23]),_0x352ac5=_0xeee403(_0x352ac5,_0x5c95a5,_0x591c73,_0x3e3138,_0x234dc9,0x4,_0x7dba13[0x24]),_0x3e3138=_0xeee403(_0x3e3138,_0x352ac5,_0x5c95a5,_0x591c73,_0x223dd3,0xb,_0x7dba13[0x25]),_0x591c73=_0xeee403(_0x591c73,_0x3e3138,_0x352ac5,_0x5c95a5,_0x31a069,0x10,_0x7dba13[0x26]),_0x5c95a5=_0xeee403(_0x5c95a5,_0x591c73,_0x3e3138,_0x352ac5,_0xb60d3b,0x17,_0x7dba13[0x27]),_0x352ac5=_0xeee403(_0x352ac5,_0x5c95a5,_0x591c73,_0x3e3138,_0x28d2c8,0x4,_0x7dba13[0x28]),_0x3e3138=_0xeee403(_0x3e3138,_0x352ac5,_0x5c95a5,_0x591c73,_0x5b17c0,0xb,_0x7dba13[0x29]),_0x591c73=_0xeee403(_0x591c73,_0x3e3138,_0x352ac5,_0x5c95a5,_0x3a7092,0x10,_0x7dba13[0x2a]),_0x5c95a5=_0xeee403(_0x5c95a5,_0x591c73,_0x3e3138,_0x352ac5,_0x34cab3,0x17,_0x7dba13[0x2b]),_0x352ac5=_0xeee403(_0x352ac5,_0x5c95a5,_0x591c73,_0x3e3138,_0x147bf6,0x4,_0x7dba13[0x2c]),_0x3e3138=_0xeee403(_0x3e3138,_0x352ac5,_0x5c95a5,_0x591c73,_0x279c6a,0xb,_0x7dba13[0x2d]),_0x591c73=_0xeee403(_0x591c73,_0x3e3138,_0x352ac5,_0x5c95a5,_0x4f1f3a,0x10,_0x7dba13[0x2e]),_0x5c95a5=_0xeee403(_0x5c95a5,_0x591c73,_0x3e3138,_0x352ac5,_0xf9827,0x17,_0x7dba13[0x2f]),_0x352ac5=_0x4e9eed(_0x352ac5,_0x5c95a5,_0x591c73,_0x3e3138,_0x5b17c0,0x6,_0x7dba13[0x30]),_0x3e3138=_0x4e9eed(_0x3e3138,_0x352ac5,_0x5c95a5,_0x591c73,_0x31a069,0xa,_0x7dba13[0x31]),_0x591c73=_0x4e9eed(_0x591c73,_0x3e3138,_0x352ac5,_0x5c95a5,_0x30eeff,0xf,_0x7dba13[0x32]),_0x5c95a5=_0x4e9eed(_0x5c95a5,_0x591c73,_0x3e3138,_0x352ac5,_0x5a5e7a,0x15,_0x7dba13[0x33]),_0x352ac5=_0x4e9eed(_0x352ac5,_0x5c95a5,_0x591c73,_0x3e3138,_0x279c6a,0x6,_0x7dba13[0x34]),_0x3e3138=_0x4e9eed(_0x3e3138,_0x352ac5,_0x5c95a5,_0x591c73,_0x3a7092,0xa,_0x7dba13[0x35]),_0x591c73=_0x4e9eed(_0x591c73,_0x3e3138,_0x352ac5,_0x5c95a5,_0xb60d3b,0xf,_0x7dba13[0x36]),_0x5c95a5=_0x4e9eed(_0x5c95a5,_0x591c73,_0x3e3138,_0x352ac5,_0x234dc9,0x15,_0x7dba13[0x37]),_0x352ac5=_0x4e9eed(_0x352ac5,_0x5c95a5,_0x591c73,_0x3e3138,_0x538cff,0x6,_0x7dba13[0x38]),_0x3e3138=_0x4e9eed(_0x3e3138,_0x352ac5,_0x5c95a5,_0x591c73,_0x4f1f3a,0xa,_0x7dba13[0x39]),_0x591c73=_0x4e9eed(_0x591c73,_0x3e3138,_0x352ac5,_0x5c95a5,_0x34cab3,0xf,_0x7dba13[0x3a]),_0x5c95a5=_0x4e9eed(_0x5c95a5,_0x591c73,_0x3e3138,_0x352ac5,_0x28d2c8,0x15,_0x7dba13[0x3b]),_0x352ac5=_0x4e9eed(_0x352ac5,_0x5c95a5,_0x591c73,_0x3e3138,_0x223dd3,0x6,_0x7dba13[0x3c]),_0x3e3138=_0x4e9eed(_0x3e3138,_0x352ac5,_0x5c95a5,_0x591c73,_0x256cbb,0xa,_0x7dba13[0x3d]),_0x591c73=_0x4e9eed(_0x591c73,_0x3e3138,_0x352ac5,_0x5c95a5,_0xf9827,0xf,_0x7dba13[0x3e]),_0x5c95a5=_0x4e9eed(_0x5c95a5,_0x591c73,_0x3e3138,_0x352ac5,_0x147bf6,0x15,_0x7dba13[0x3f]),_0x209d4a[0x0]=_0x209d4a[0x0]+_0x352ac5|0x0,_0x209d4a[0x1]=_0x209d4a[0x1]+_0x5c95a5|0x0,_0x209d4a[0x2]=_0x209d4a[0x2]+_0x591c73|0x0,_0x209d4a[0x3]=_0x209d4a[0x3]+_0x3e3138|0x0;},'_doFinalize':function(){var _0x2b38b0=_0x384bba,_0x3f3ead=this['_data'],_0x43f79b=_0x3f3ead[_0x2b38b0(0x21e)],_0x1be325=this['_nDataBytes']*0x8,_0x59e569=_0x3f3ead['sigBytes']*0x8;_0x43f79b[_0x59e569>>>0x5]|=0x80<<0x18-_0x59e569%0x20;var _0x59551d=_0x1f8141[_0x2b38b0(0x37a)](_0x1be325/0x100000000),_0x1372b1=_0x1be325;_0x43f79b[(_0x59e569+0x40>>>0x9<<0x4)+0xf]=(_0x59551d<<0x8|_0x59551d>>>0x18)&0xff00ff|(_0x59551d<<0x18|_0x59551d>>>0x8)&0xff00ff00,_0x43f79b[(_0x59e569+0x40>>>0x9<<0x4)+0xe]=(_0x1372b1<<0x8|_0x1372b1>>>0x18)&0xff00ff|(_0x1372b1<<0x18|_0x1372b1>>>0x8)&0xff00ff00,_0x3f3ead['sigBytes']=(_0x43f79b['length']+0x1)*0x4,this[_0x2b38b0(0x2eb)]();for(var _0x280bd8=this[_0x2b38b0(0x32e)],_0x151596=_0x280bd8[_0x2b38b0(0x21e)],_0x2c23db=0x0;_0x2c23db<0x4;_0x2c23db++){var _0x1de6ab=_0x151596[_0x2c23db];_0x151596[_0x2c23db]=(_0x1de6ab<<0x8|_0x1de6ab>>>0x18)&0xff00ff|(_0x1de6ab<<0x18|_0x1de6ab>>>0x8)&0xff00ff00;}return _0x280bd8;},'clone':function(){var _0x1c3769=_0x384bba,_0x3353e0=_0x1d6831[_0x1c3769(0x262)][_0x1c3769(0x382)](this);return _0x3353e0[_0x1c3769(0x32e)]=this[_0x1c3769(0x32e)]['clone'](),_0x3353e0;}});function _0x581b22(_0x5790d8,_0x3564c8,_0x5d2367,_0x84f4ad,_0x430215,_0x493602,_0x29d8cd){var _0x2befba=_0x5790d8+(_0x3564c8&_0x5d2367|~_0x3564c8&_0x84f4ad)+_0x430215+_0x29d8cd;return(_0x2befba<<_0x493602|_0x2befba>>>0x20-_0x493602)+_0x3564c8;}function _0x307eb9(_0x3b9a42,_0x98c430,_0x24e70d,_0x59f086,_0x54b4f3,_0x5e51cb,_0x160b8b){var _0x415684=_0x3b9a42+(_0x98c430&_0x59f086|_0x24e70d&~_0x59f086)+_0x54b4f3+_0x160b8b;return(_0x415684<<_0x5e51cb|_0x415684>>>0x20-_0x5e51cb)+_0x98c430;}function _0xeee403(_0x3ba25b,_0x354895,_0x2b22f1,_0x89a05,_0xc74243,_0x5be338,_0x1f839f){var _0x3ae0c5=_0x3ba25b+(_0x354895^_0x2b22f1^_0x89a05)+_0xc74243+_0x1f839f;return(_0x3ae0c5<<_0x5be338|_0x3ae0c5>>>0x20-_0x5be338)+_0x354895;}function _0x4e9eed(_0x568df9,_0x4adf3c,_0x10784c,_0xa7f721,_0x3a8fd3,_0x12327a,_0x2a8606){var _0x1c7dd6=_0x568df9+(_0x10784c^(_0x4adf3c|~_0xa7f721))+_0x3a8fd3+_0x2a8606;return(_0x1c7dd6<<_0x12327a|_0x1c7dd6>>>0x20-_0x12327a)+_0x4adf3c;}_0x3621b9[_0x384bba(0x2a7)]=_0x1d6831[_0x384bba(0x1ac)](_0x448185),_0x3621b9[_0x384bba(0x25f)]=_0x1d6831['_createHmacHelper'](_0x448185);}(Math),_0x457f74['MD5'];}));}(Ye)),Ye['exports'];}var Ke={'exports':{}},qe={'exports':{}},pn=qe[_0x6aebf(0x1bc)],Xt;function mn(){var _0x717b68=_0x6aebf;return Xt||(Xt=0x1,function(_0x1ae3c3,_0x2e849e){(function(_0x3742ee,_0x320ed0){_0x1ae3c3['exports']=_0x320ed0(te());}(pn,function(_0x382be0){var _0x461890=_0x5cc4;return(function(){var _0x3211c4=_0x5cc4,_0x592521=_0x382be0,_0x2cb0ab=_0x592521['lib'],_0x50db3a=_0x2cb0ab[_0x3211c4(0xb7)],_0x32e5e2=_0x2cb0ab[_0x3211c4(0x192)],_0x4590fa=_0x592521[_0x3211c4(0xc9)],_0x446f37=[],_0x514c5c=_0x4590fa['SHA1']=_0x32e5e2[_0x3211c4(0x13a)]({'_doReset':function(){var _0xd1ab2b=_0x3211c4;this[_0xd1ab2b(0x32e)]=new _0x50db3a[(_0xd1ab2b(0x2b2))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476,0xc3d2e1f0]);},'_doProcessBlock':function(_0x25ff9e,_0x2ac89b){var _0xd10b2c=_0x3211c4;for(var _0x26c894=this[_0xd10b2c(0x32e)][_0xd10b2c(0x21e)],_0x1750aa=_0x26c894[0x0],_0x153678=_0x26c894[0x1],_0x15f0fd=_0x26c894[0x2],_0x10779c=_0x26c894[0x3],_0x2ca8ab=_0x26c894[0x4],_0x40347d=0x0;_0x40347d<0x50;_0x40347d++){if(_0x40347d<0x10)_0x446f37[_0x40347d]=_0x25ff9e[_0x2ac89b+_0x40347d]|0x0;else{var _0x5aa6d7=_0x446f37[_0x40347d-0x3]^_0x446f37[_0x40347d-0x8]^_0x446f37[_0x40347d-0xe]^_0x446f37[_0x40347d-0x10];_0x446f37[_0x40347d]=_0x5aa6d7<<0x1|_0x5aa6d7>>>0x1f;}var _0x57c701=(_0x1750aa<<0x5|_0x1750aa>>>0x1b)+_0x2ca8ab+_0x446f37[_0x40347d];_0x40347d<0x14?_0x57c701+=(_0x153678&_0x15f0fd|~_0x153678&_0x10779c)+0x5a827999:_0x40347d<0x28?_0x57c701+=(_0x153678^_0x15f0fd^_0x10779c)+0x6ed9eba1:_0x40347d<0x3c?_0x57c701+=(_0x153678&_0x15f0fd|_0x153678&_0x10779c|_0x15f0fd&_0x10779c)-0x70e44324:_0x57c701+=(_0x153678^_0x15f0fd^_0x10779c)-0x359d3e2a,_0x2ca8ab=_0x10779c,_0x10779c=_0x15f0fd,_0x15f0fd=_0x153678<<0x1e|_0x153678>>>0x2,_0x153678=_0x1750aa,_0x1750aa=_0x57c701;}_0x26c894[0x0]=_0x26c894[0x0]+_0x1750aa|0x0,_0x26c894[0x1]=_0x26c894[0x1]+_0x153678|0x0,_0x26c894[0x2]=_0x26c894[0x2]+_0x15f0fd|0x0,_0x26c894[0x3]=_0x26c894[0x3]+_0x10779c|0x0,_0x26c894[0x4]=_0x26c894[0x4]+_0x2ca8ab|0x0;},'_doFinalize':function(){var _0x4b9783=_0x3211c4,_0x405d8b=this[_0x4b9783(0x248)],_0xee3b53=_0x405d8b['words'],_0x598b0e=this[_0x4b9783(0x132)]*0x8,_0x28366d=_0x405d8b['sigBytes']*0x8;return _0xee3b53[_0x28366d>>>0x5]|=0x80<<0x18-_0x28366d%0x20,_0xee3b53[(_0x28366d+0x40>>>0x9<<0x4)+0xe]=Math['floor'](_0x598b0e/0x100000000),_0xee3b53[(_0x28366d+0x40>>>0x9<<0x4)+0xf]=_0x598b0e,_0x405d8b[_0x4b9783(0xf0)]=_0xee3b53[_0x4b9783(0x16a)]*0x4,this[_0x4b9783(0x2eb)](),this[_0x4b9783(0x32e)];},'clone':function(){var _0x2188d5=_0x3211c4,_0xc52a12=_0x32e5e2['clone'][_0x2188d5(0x382)](this);return _0xc52a12['_hash']=this[_0x2188d5(0x32e)][_0x2188d5(0x262)](),_0xc52a12;}});_0x592521[_0x3211c4(0x2c4)]=_0x32e5e2[_0x3211c4(0x1ac)](_0x514c5c),_0x592521['HmacSHA1']=_0x32e5e2['_createHmacHelper'](_0x514c5c);}()),_0x382be0[_0x461890(0x2c4)];}));}(qe)),qe[_0x717b68(0x1bc)];}var ze={'exports':{}},gn=ze['exports'],Zt;function Sn(){return Zt||(Zt=0x1,function(_0x483b0b,_0x5e663b){(function(_0x2f6f97,_0xa705f7){var _0x4177f5=_0x5cc4;_0x483b0b[_0x4177f5(0x1bc)]=_0xa705f7(te());}(gn,function(_0x2c5320){(function(){var _0x5289b5=_0x5cc4,_0x1eeedc=_0x2c5320,_0xe381b2=_0x1eeedc[_0x5289b5(0x1b4)],_0x300a5b=_0xe381b2['Base'],_0x40b378=_0x1eeedc[_0x5289b5(0x356)],_0x3ebe7c=_0x40b378['Utf8'],_0x4bc9f5=_0x1eeedc[_0x5289b5(0xc9)];_0x4bc9f5[_0x5289b5(0x1aa)]=_0x300a5b[_0x5289b5(0x13a)]({'init':function(_0xd4de28,_0xb12046){var _0x388e99=_0x5289b5;_0xd4de28=this[_0x388e99(0x1a0)]=new _0xd4de28[(_0x388e99(0x2b2))](),typeof _0xb12046==_0x388e99(0x1a3)&&(_0xb12046=_0x3ebe7c['parse'](_0xb12046));var _0x57d0aa=_0xd4de28[_0x388e99(0xa8)],_0x599b77=_0x57d0aa*0x4;_0xb12046[_0x388e99(0xf0)]>_0x599b77&&(_0xb12046=_0xd4de28[_0x388e99(0x227)](_0xb12046)),_0xb12046[_0x388e99(0x1ea)]();for(var _0x1e3aef=this[_0x388e99(0x266)]=_0xb12046[_0x388e99(0x262)](),_0x1729c6=this[_0x388e99(0x333)]=_0xb12046[_0x388e99(0x262)](),_0x1e4ad1=_0x1e3aef[_0x388e99(0x21e)],_0x4f9959=_0x1729c6[_0x388e99(0x21e)],_0x267b33=0x0;_0x267b33<_0x57d0aa;_0x267b33++)_0x1e4ad1[_0x267b33]^=0x5c5c5c5c,_0x4f9959[_0x267b33]^=0x36363636;_0x1e3aef[_0x388e99(0xf0)]=_0x1729c6['sigBytes']=_0x599b77,this['reset']();},'reset':function(){var _0x2f503d=_0x5289b5,_0x3fbd79=this['_hasher'];_0x3fbd79[_0x2f503d(0xcd)](),_0x3fbd79[_0x2f503d(0x31d)](this['_iKey']);},'update':function(_0xe2e3ab){var _0x2c6293=_0x5289b5;return this[_0x2c6293(0x1a0)][_0x2c6293(0x31d)](_0xe2e3ab),this;},'finalize':function(_0x47276a){var _0x33b9e6=_0x5289b5,_0x24ae33=this[_0x33b9e6(0x1a0)],_0x136f52=_0x24ae33[_0x33b9e6(0x227)](_0x47276a);_0x24ae33[_0x33b9e6(0xcd)]();var _0x40e4ed=_0x24ae33[_0x33b9e6(0x227)](this['_oKey']['clone']()[_0x33b9e6(0x26c)](_0x136f52));return _0x40e4ed;}});}());}));}(ze)),ze['exports'];}var En=Ke[_0x6aebf(0x1bc)],Qt;function yi(){return Qt||(Qt=0x1,function(_0x33b6f8,_0x30783b){(function(_0x46e6ad,_0x206670,_0x5f2020){var _0x2eef30=_0x5cc4;_0x33b6f8[_0x2eef30(0x1bc)]=_0x206670(te(),mn(),Sn());}(En,function(_0x4af6ec){return(function(){var _0x4a14f6=_0x5cc4,_0x127837=_0x4af6ec,_0x2a3679=_0x127837[_0x4a14f6(0x1b4)],_0x5d6d03=_0x2a3679[_0x4a14f6(0xa1)],_0x1db73b=_0x2a3679[_0x4a14f6(0xb7)],_0xdde390=_0x127837[_0x4a14f6(0xc9)],_0x326550=_0xdde390['MD5'],_0x4ba51a=_0xdde390['EvpKDF']=_0x5d6d03['extend']({'cfg':_0x5d6d03[_0x4a14f6(0x13a)]({'keySize':0x80/0x20,'hasher':_0x326550,'iterations':0x1}),'init':function(_0x26d4db){var _0x1f2bb4=_0x4a14f6;this[_0x1f2bb4(0xd0)]=this[_0x1f2bb4(0xd0)][_0x1f2bb4(0x13a)](_0x26d4db);},'compute':function(_0x51d01a,_0x4a2b9f){var _0x451c3f=_0x4a14f6;for(var _0x3d5765,_0x1da3ce=this['cfg'],_0x36cf56=_0x1da3ce[_0x451c3f(0x1ab)][_0x451c3f(0x19e)](),_0x2329a7=_0x1db73b[_0x451c3f(0x19e)](),_0x561d79=_0x2329a7[_0x451c3f(0x21e)],_0x2e0665=_0x1da3ce['keySize'],_0x3d938f=_0x1da3ce['iterations'];_0x561d79[_0x451c3f(0x16a)]<_0x2e0665;){_0x3d5765&&_0x36cf56[_0x451c3f(0x31d)](_0x3d5765),_0x3d5765=_0x36cf56['update'](_0x51d01a)[_0x451c3f(0x227)](_0x4a2b9f),_0x36cf56[_0x451c3f(0xcd)]();for(var _0xc80b39=0x1;_0xc80b39<_0x3d938f;_0xc80b39++)_0x3d5765=_0x36cf56[_0x451c3f(0x227)](_0x3d5765),_0x36cf56[_0x451c3f(0xcd)]();_0x2329a7[_0x451c3f(0x26c)](_0x3d5765);}return _0x2329a7[_0x451c3f(0xf0)]=_0x2e0665*0x4,_0x2329a7;}});_0x127837[_0x4a14f6(0x339)]=function(_0x3ffb52,_0x41d105,_0x227ca1){var _0x496564=_0x4a14f6;return _0x4ba51a[_0x496564(0x19e)](_0x227ca1)[_0x496564(0x159)](_0x3ffb52,_0x41d105);};}()),_0x4af6ec['EvpKDF'];}));}(Ke)),Ke['exports'];}var Je={'exports':{}},In=Je[_0x6aebf(0x1bc)],ei;function Ni(){var _0x14e851=_0x6aebf;return ei||(ei=0x1,function(_0x3cf080,_0x507047){(function(_0x4cfd58,_0x1a85b6,_0x39157d){var _0xb957df=_0x5cc4;_0x3cf080[_0xb957df(0x1bc)]=_0x1a85b6(te(),yi());}(In,function(_0x485f0d){var _0x1eb92d=_0x5cc4;_0x485f0d[_0x1eb92d(0x1b4)][_0x1eb92d(0x18f)]||function(_0x41cb8d){var _0x281c90=_0x1eb92d,_0x21a11a=_0x485f0d,_0xaa7e55=_0x21a11a[_0x281c90(0x1b4)],_0x1ab205=_0xaa7e55[_0x281c90(0xa1)],_0x5d9a63=_0xaa7e55['WordArray'],_0x3fe514=_0xaa7e55[_0x281c90(0x390)],_0x8d9ada=_0x21a11a[_0x281c90(0x356)];_0x8d9ada['Utf8'];var _0x407204=_0x8d9ada[_0x281c90(0x201)],_0x3f8e82=_0x21a11a[_0x281c90(0xc9)],_0x1335a1=_0x3f8e82[_0x281c90(0x339)],_0x379d57=_0xaa7e55['Cipher']=_0x3fe514['extend']({'cfg':_0x1ab205[_0x281c90(0x13a)](),'createEncryptor':function(_0x3519d2,_0x53cd2c){var _0x16410e=_0x281c90;return this[_0x16410e(0x19e)](this[_0x16410e(0x207)],_0x3519d2,_0x53cd2c);},'createDecryptor':function(_0x32ad34,_0x1923bf){var _0x5de7ac=_0x281c90;return this[_0x5de7ac(0x19e)](this[_0x5de7ac(0x335)],_0x32ad34,_0x1923bf);},'init':function(_0x1162de,_0x275962,_0x11515f){var _0x4e3261=_0x281c90;this[_0x4e3261(0xd0)]=this[_0x4e3261(0xd0)][_0x4e3261(0x13a)](_0x11515f),this[_0x4e3261(0x344)]=_0x1162de,this['_key']=_0x275962,this[_0x4e3261(0xcd)]();},'reset':function(){var _0x41000b=_0x281c90;_0x3fe514[_0x41000b(0xcd)][_0x41000b(0x382)](this),this['_doReset']();},'process':function(_0x503d08){var _0x606c6c=_0x281c90;return this[_0x606c6c(0xe0)](_0x503d08),this['_process']();},'finalize':function(_0x12fdb4){var _0x3be5b8=_0x281c90;_0x12fdb4&&this[_0x3be5b8(0xe0)](_0x12fdb4);var _0x57d5d7=this['_doFinalize']();return _0x57d5d7;},'keySize':0x80/0x20,'ivSize':0x80/0x20,'_ENC_XFORM_MODE':0x1,'_DEC_XFORM_MODE':0x2,'_createHelper':(function(){function _0x1f0d34(_0x32038d){return typeof _0x32038d=='string'?_0x2b3c76:_0x18cfdb;}return function(_0x13532b){return{'encrypt':function(_0x792056,_0x156aa3,_0x771506){var _0x574ec1=_0x5cc4;return _0x1f0d34(_0x156aa3)[_0x574ec1(0x33a)](_0x13532b,_0x792056,_0x156aa3,_0x771506);},'decrypt':function(_0x33bd2f,_0x5e4127,_0x437cb0){return _0x1f0d34(_0x5e4127)['decrypt'](_0x13532b,_0x33bd2f,_0x5e4127,_0x437cb0);}};};}())});_0xaa7e55[_0x281c90(0x34b)]=_0x379d57[_0x281c90(0x13a)]({'_doFinalize':function(){var _0x3091db=_0x281c90,_0x4ed5a3=this[_0x3091db(0x2eb)](!0x0);return _0x4ed5a3;},'blockSize':0x1});var _0x3b9710=_0x21a11a[_0x281c90(0x1db)]={},_0x414b15=_0xaa7e55['BlockCipherMode']=_0x1ab205[_0x281c90(0x13a)]({'createEncryptor':function(_0x517b10,_0x52f077){var _0xaa3920=_0x281c90;return this[_0xaa3920(0x330)]['create'](_0x517b10,_0x52f077);},'createDecryptor':function(_0x14e367,_0x4a1f93){var _0x3a1d28=_0x281c90;return this[_0x3a1d28(0x1c2)][_0x3a1d28(0x19e)](_0x14e367,_0x4a1f93);},'init':function(_0xfe746e,_0x224e5c){var _0x1be27f=_0x281c90;this[_0x1be27f(0x1b3)]=_0xfe746e,this[_0x1be27f(0x268)]=_0x224e5c;}}),_0x3038bf=_0x3b9710[_0x281c90(0xec)]=(function(){var _0x33bc8e=_0x281c90,_0x3e234c=_0x414b15[_0x33bc8e(0x13a)]();_0x3e234c['Encryptor']=_0x3e234c['extend']({'processBlock':function(_0x21d6f4,_0x36b6f6){var _0x22cebf=_0x33bc8e,_0x5ea7d5=this['_cipher'],_0x2dd5e9=_0x5ea7d5[_0x22cebf(0xa8)];_0x2e0fc4['call'](this,_0x21d6f4,_0x36b6f6,_0x2dd5e9),_0x5ea7d5['encryptBlock'](_0x21d6f4,_0x36b6f6),this[_0x22cebf(0x169)]=_0x21d6f4[_0x22cebf(0x1ec)](_0x36b6f6,_0x36b6f6+_0x2dd5e9);}}),_0x3e234c['Decryptor']=_0x3e234c[_0x33bc8e(0x13a)]({'processBlock':function(_0x53281b,_0x57ed5d){var _0x5f4022=_0x33bc8e,_0x1eedbb=this[_0x5f4022(0x1b3)],_0x12f4e1=_0x1eedbb['blockSize'],_0x2287fc=_0x53281b[_0x5f4022(0x1ec)](_0x57ed5d,_0x57ed5d+_0x12f4e1);_0x1eedbb[_0x5f4022(0xa7)](_0x53281b,_0x57ed5d),_0x2e0fc4['call'](this,_0x53281b,_0x57ed5d,_0x12f4e1),this[_0x5f4022(0x169)]=_0x2287fc;}});function _0x2e0fc4(_0x4c85de,_0x55e2b5,_0x2142a0){var _0x50cb36=_0x33bc8e,_0x261eea,_0x30087c=this[_0x50cb36(0x268)];_0x30087c?(_0x261eea=_0x30087c,this[_0x50cb36(0x268)]=_0x41cb8d):_0x261eea=this[_0x50cb36(0x169)];for(var _0x3ddb38=0x0;_0x3ddb38<_0x2142a0;_0x3ddb38++)_0x4c85de[_0x55e2b5+_0x3ddb38]^=_0x261eea[_0x3ddb38];}return _0x3e234c;}()),_0x4a15cf=_0x21a11a[_0x281c90(0x2d9)]={},_0x4479f6=_0x4a15cf[_0x281c90(0x206)]={'pad':function(_0x1fc7aa,_0x5c81a9){var _0x5f0606=_0x281c90;for(var _0x31d17e=_0x5c81a9*0x4,_0x31308f=_0x31d17e-_0x1fc7aa[_0x5f0606(0xf0)]%_0x31d17e,_0x1c800a=_0x31308f<<0x18|_0x31308f<<0x10|_0x31308f<<0x8|_0x31308f,_0xb5b33d=[],_0x437a47=0x0;_0x437a47<_0x31308f;_0x437a47+=0x4)_0xb5b33d[_0x5f0606(0xce)](_0x1c800a);var _0x4b85e3=_0x5d9a63[_0x5f0606(0x19e)](_0xb5b33d,_0x31308f);_0x1fc7aa['concat'](_0x4b85e3);},'unpad':function(_0x10a4ad){var _0x178093=_0x281c90,_0x4a6cd3=_0x10a4ad[_0x178093(0x21e)][_0x10a4ad[_0x178093(0xf0)]-0x1>>>0x2]&0xff;_0x10a4ad[_0x178093(0xf0)]-=_0x4a6cd3;}};_0xaa7e55['BlockCipher']=_0x379d57[_0x281c90(0x13a)]({'cfg':_0x379d57['cfg']['extend']({'mode':_0x3038bf,'padding':_0x4479f6}),'reset':function(){var _0x9b87c4=_0x281c90,_0x18c0d7;_0x379d57[_0x9b87c4(0xcd)][_0x9b87c4(0x382)](this);var _0x5db37d=this['cfg'],_0x1ee23c=_0x5db37d['iv'],_0x10cf6d=_0x5db37d[_0x9b87c4(0x1db)];this['_xformMode']==this[_0x9b87c4(0x207)]?_0x18c0d7=_0x10cf6d[_0x9b87c4(0x239)]:(_0x18c0d7=_0x10cf6d['createDecryptor'],this[_0x9b87c4(0x349)]=0x1),this[_0x9b87c4(0x29a)]&&this['_mode'][_0x9b87c4(0xf5)]==_0x18c0d7?this['_mode'][_0x9b87c4(0x2b2)](this,_0x1ee23c&&_0x1ee23c[_0x9b87c4(0x21e)]):(this[_0x9b87c4(0x29a)]=_0x18c0d7[_0x9b87c4(0x382)](_0x10cf6d,this,_0x1ee23c&&_0x1ee23c[_0x9b87c4(0x21e)]),this[_0x9b87c4(0x29a)][_0x9b87c4(0xf5)]=_0x18c0d7);},'_doProcessBlock':function(_0x20bcc7,_0x5d8ad0){var _0x1e6b4d=_0x281c90;this[_0x1e6b4d(0x29a)]['processBlock'](_0x20bcc7,_0x5d8ad0);},'_doFinalize':function(){var _0x261268=_0x281c90,_0x59c595,_0x2aaf81=this[_0x261268(0xd0)][_0x261268(0x123)];return this[_0x261268(0x344)]==this['_ENC_XFORM_MODE']?(_0x2aaf81['pad'](this[_0x261268(0x248)],this[_0x261268(0xa8)]),_0x59c595=this[_0x261268(0x2eb)](!0x0)):(_0x59c595=this['_process'](!0x0),_0x2aaf81[_0x261268(0x27f)](_0x59c595)),_0x59c595;},'blockSize':0x80/0x20});var _0x45b131=_0xaa7e55[_0x281c90(0x378)]=_0x1ab205[_0x281c90(0x13a)]({'init':function(_0x56ccbe){var _0x3cd512=_0x281c90;this[_0x3cd512(0x1d7)](_0x56ccbe);},'toString':function(_0xc34708){var _0x37e412=_0x281c90;return(_0xc34708||this['formatter'])[_0x37e412(0x165)](this);}}),_0xa7d0e3=_0x21a11a[_0x281c90(0x152)]={},_0x412251=_0xa7d0e3['OpenSSL']={'stringify':function(_0x3593d3){var _0x12abff=_0x281c90,_0x1f76e1,_0x50c0a3=_0x3593d3[_0x12abff(0x1f5)],_0x58c33=_0x3593d3[_0x12abff(0xe8)];return _0x58c33?_0x1f76e1=_0x5d9a63[_0x12abff(0x19e)]([0x53616c74,0x65645f5f])[_0x12abff(0x26c)](_0x58c33)[_0x12abff(0x26c)](_0x50c0a3):_0x1f76e1=_0x50c0a3,_0x1f76e1['toString'](_0x407204);},'parse':function(_0x35d7de){var _0x32b0a9=_0x281c90,_0x47b9a0,_0x21f84a=_0x407204['parse'](_0x35d7de),_0x46ee29=_0x21f84a[_0x32b0a9(0x21e)];return _0x46ee29[0x0]==0x53616c74&&_0x46ee29[0x1]==0x65645f5f&&(_0x47b9a0=_0x5d9a63['create'](_0x46ee29[_0x32b0a9(0x1ec)](0x2,0x4)),_0x46ee29[_0x32b0a9(0xe2)](0x0,0x4),_0x21f84a[_0x32b0a9(0xf0)]-=0x10),_0x45b131['create']({'ciphertext':_0x21f84a,'salt':_0x47b9a0});}},_0x18cfdb=_0xaa7e55[_0x281c90(0x19d)]=_0x1ab205[_0x281c90(0x13a)]({'cfg':_0x1ab205['extend']({'format':_0x412251}),'encrypt':function(_0x3ee3e9,_0x36ea37,_0x5128a8,_0x49aaf7){var _0x121dfe=_0x281c90;_0x49aaf7=this[_0x121dfe(0xd0)]['extend'](_0x49aaf7);var _0x4b4946=_0x3ee3e9[_0x121dfe(0x239)](_0x5128a8,_0x49aaf7),_0xf4f056=_0x4b4946[_0x121dfe(0x227)](_0x36ea37),_0x4af1d5=_0x4b4946['cfg'];return _0x45b131[_0x121dfe(0x19e)]({'ciphertext':_0xf4f056,'key':_0x5128a8,'iv':_0x4af1d5['iv'],'algorithm':_0x3ee3e9,'mode':_0x4af1d5[_0x121dfe(0x1db)],'padding':_0x4af1d5[_0x121dfe(0x123)],'blockSize':_0x3ee3e9[_0x121dfe(0xa8)],'formatter':_0x49aaf7[_0x121dfe(0x152)]});},'decrypt':function(_0x29d600,_0x1dd512,_0x32db61,_0x41b1f0){var _0x368138=_0x281c90;_0x41b1f0=this[_0x368138(0xd0)][_0x368138(0x13a)](_0x41b1f0),_0x1dd512=this[_0x368138(0x133)](_0x1dd512,_0x41b1f0[_0x368138(0x152)]);var _0x2b10d7=_0x29d600[_0x368138(0x18a)](_0x32db61,_0x41b1f0)[_0x368138(0x227)](_0x1dd512['ciphertext']);return _0x2b10d7;},'_parse':function(_0x1a95fd,_0x44feb6){var _0x5341de=_0x281c90;return typeof _0x1a95fd==_0x5341de(0x1a3)?_0x44feb6['parse'](_0x1a95fd,this):_0x1a95fd;}}),_0x5c34f8=_0x21a11a[_0x281c90(0x15e)]={},_0x55d352=_0x5c34f8[_0x281c90(0x27a)]={'execute':function(_0x3f1490,_0x28d747,_0x2f761a,_0xa1de98,_0x1ba7dd){var _0x325459=_0x281c90;if(_0xa1de98||(_0xa1de98=_0x5d9a63['random'](0x40/0x8)),_0x1ba7dd)var _0x512d24=_0x1335a1['create']({'keySize':_0x28d747+_0x2f761a,'hasher':_0x1ba7dd})['compute'](_0x3f1490,_0xa1de98);else var _0x512d24=_0x1335a1[_0x325459(0x19e)]({'keySize':_0x28d747+_0x2f761a})['compute'](_0x3f1490,_0xa1de98);var _0x3bf367=_0x5d9a63['create'](_0x512d24['words'][_0x325459(0x1ec)](_0x28d747),_0x2f761a*0x4);return _0x512d24[_0x325459(0xf0)]=_0x28d747*0x4,_0x45b131[_0x325459(0x19e)]({'key':_0x512d24,'iv':_0x3bf367,'salt':_0xa1de98});}},_0x2b3c76=_0xaa7e55[_0x281c90(0x158)]=_0x18cfdb[_0x281c90(0x13a)]({'cfg':_0x18cfdb[_0x281c90(0xd0)][_0x281c90(0x13a)]({'kdf':_0x55d352}),'encrypt':function(_0x234fe3,_0x1db3dd,_0x106d87,_0x467e88){var _0x5d2d2c=_0x281c90;_0x467e88=this[_0x5d2d2c(0xd0)][_0x5d2d2c(0x13a)](_0x467e88);var _0x5bad22=_0x467e88[_0x5d2d2c(0x15e)][_0x5d2d2c(0x38a)](_0x106d87,_0x234fe3[_0x5d2d2c(0x220)],_0x234fe3[_0x5d2d2c(0x246)],_0x467e88['salt'],_0x467e88[_0x5d2d2c(0x1ab)]);_0x467e88['iv']=_0x5bad22['iv'];var _0x112174=_0x18cfdb[_0x5d2d2c(0x33a)][_0x5d2d2c(0x382)](this,_0x234fe3,_0x1db3dd,_0x5bad22[_0x5d2d2c(0x23c)],_0x467e88);return _0x112174['mixIn'](_0x5bad22),_0x112174;},'decrypt':function(_0x169d82,_0x28f053,_0x435e32,_0x3bbaea){var _0x53abb2=_0x281c90;_0x3bbaea=this[_0x53abb2(0xd0)][_0x53abb2(0x13a)](_0x3bbaea),_0x28f053=this[_0x53abb2(0x133)](_0x28f053,_0x3bbaea['format']);var _0x39788f=_0x3bbaea['kdf'][_0x53abb2(0x38a)](_0x435e32,_0x169d82['keySize'],_0x169d82[_0x53abb2(0x246)],_0x28f053[_0x53abb2(0xe8)],_0x3bbaea[_0x53abb2(0x1ab)]);_0x3bbaea['iv']=_0x39788f['iv'];var _0x392787=_0x18cfdb[_0x53abb2(0x36e)][_0x53abb2(0x382)](this,_0x169d82,_0x28f053,_0x39788f[_0x53abb2(0x23c)],_0x3bbaea);return _0x392787;}});}();}));}(Je)),Je[_0x14e851(0x1bc)];}var Tn=Ve[_0x6aebf(0x1bc)],ti;function Cn(){return ti||(ti=0x1,function(_0xe546e4,_0x38d469){(function(_0x56abb0,_0x4dae57,_0x15d1c0){var _0x4b9e01=_0x5cc4;_0xe546e4[_0x4b9e01(0x1bc)]=_0x4dae57(te(),Oi(),vn(),yi(),Ni());}(Tn,function(_0x520cdd){return(function(){var _0x1816d4=_0x5cc4,_0x185285=_0x520cdd,_0x49615e=_0x185285[_0x1816d4(0x1b4)],_0x5ecdb8=_0x49615e['BlockCipher'],_0x25c4f2=_0x185285['algo'],_0x452a31=[],_0x29e6ba=[],_0x20eb30=[],_0x1c292c=[],_0x48a6f7=[],_0x3444c2=[],_0x49b595=[],_0x440cde=[],_0x3c641e=[],_0x29a311=[];(function(){for(var _0xaf38dd=[],_0x3f2640=0x0;_0x3f2640<0x100;_0x3f2640++)_0x3f2640<0x80?_0xaf38dd[_0x3f2640]=_0x3f2640<<0x1:_0xaf38dd[_0x3f2640]=_0x3f2640<<0x1^0x11b;for(var _0x407647=0x0,_0x2ea30b=0x0,_0x3f2640=0x0;_0x3f2640<0x100;_0x3f2640++){var _0x9b4601=_0x2ea30b^_0x2ea30b<<0x1^_0x2ea30b<<0x2^_0x2ea30b<<0x3^_0x2ea30b<<0x4;_0x9b4601=_0x9b4601>>>0x8^_0x9b4601&0xff^0x63,_0x452a31[_0x407647]=_0x9b4601,_0x29e6ba[_0x9b4601]=_0x407647;var _0x5518ec=_0xaf38dd[_0x407647],_0x4850bc=_0xaf38dd[_0x5518ec],_0x172356=_0xaf38dd[_0x4850bc],_0x2d8d94=_0xaf38dd[_0x9b4601]*0x101^_0x9b4601*0x1010100;_0x20eb30[_0x407647]=_0x2d8d94<<0x18|_0x2d8d94>>>0x8,_0x1c292c[_0x407647]=_0x2d8d94<<0x10|_0x2d8d94>>>0x10,_0x48a6f7[_0x407647]=_0x2d8d94<<0x8|_0x2d8d94>>>0x18,_0x3444c2[_0x407647]=_0x2d8d94;var _0x2d8d94=_0x172356*0x1010101^_0x4850bc*0x10001^_0x5518ec*0x101^_0x407647*0x1010100;_0x49b595[_0x9b4601]=_0x2d8d94<<0x18|_0x2d8d94>>>0x8,_0x440cde[_0x9b4601]=_0x2d8d94<<0x10|_0x2d8d94>>>0x10,_0x3c641e[_0x9b4601]=_0x2d8d94<<0x8|_0x2d8d94>>>0x18,_0x29a311[_0x9b4601]=_0x2d8d94,_0x407647?(_0x407647=_0x5518ec^_0xaf38dd[_0xaf38dd[_0xaf38dd[_0x172356^_0x5518ec]]],_0x2ea30b^=_0xaf38dd[_0xaf38dd[_0x2ea30b]]):_0x407647=_0x2ea30b=0x1;}}());var _0x3993ab=[0x0,0x1,0x2,0x4,0x8,0x10,0x20,0x40,0x80,0x1b,0x36],_0x3b29f2=_0x25c4f2[_0x1816d4(0x13b)]=_0x5ecdb8[_0x1816d4(0x13a)]({'_doReset':function(){var _0x21a199=_0x1816d4,_0x2f21b4;if(!(this[_0x21a199(0x2c1)]&&this['_keyPriorReset']===this['_key'])){for(var _0x361fb3=this[_0x21a199(0x175)]=this[_0x21a199(0xd6)],_0x88af28=_0x361fb3[_0x21a199(0x21e)],_0x2a93be=_0x361fb3[_0x21a199(0xf0)]/0x4,_0x2e815f=this[_0x21a199(0x2c1)]=_0x2a93be+0x6,_0xf13b1a=(_0x2e815f+0x1)*0x4,_0x534daf=this[_0x21a199(0x185)]=[],_0xa8cefc=0x0;_0xa8cefc<_0xf13b1a;_0xa8cefc++)_0xa8cefc<_0x2a93be?_0x534daf[_0xa8cefc]=_0x88af28[_0xa8cefc]:(_0x2f21b4=_0x534daf[_0xa8cefc-0x1],_0xa8cefc%_0x2a93be?_0x2a93be>0x6&&_0xa8cefc%_0x2a93be==0x4&&(_0x2f21b4=_0x452a31[_0x2f21b4>>>0x18]<<0x18|_0x452a31[_0x2f21b4>>>0x10&0xff]<<0x10|_0x452a31[_0x2f21b4>>>0x8&0xff]<<0x8|_0x452a31[_0x2f21b4&0xff]):(_0x2f21b4=_0x2f21b4<<0x8|_0x2f21b4>>>0x18,_0x2f21b4=_0x452a31[_0x2f21b4>>>0x18]<<0x18|_0x452a31[_0x2f21b4>>>0x10&0xff]<<0x10|_0x452a31[_0x2f21b4>>>0x8&0xff]<<0x8|_0x452a31[_0x2f21b4&0xff],_0x2f21b4^=_0x3993ab[_0xa8cefc/_0x2a93be|0x0]<<0x18),_0x534daf[_0xa8cefc]=_0x534daf[_0xa8cefc-_0x2a93be]^_0x2f21b4);for(var _0x4104ea=this[_0x21a199(0xa5)]=[],_0x4b3457=0x0;_0x4b3457<_0xf13b1a;_0x4b3457++){var _0xa8cefc=_0xf13b1a-_0x4b3457;if(_0x4b3457%0x4)var _0x2f21b4=_0x534daf[_0xa8cefc];else var _0x2f21b4=_0x534daf[_0xa8cefc-0x4];_0x4b3457<0x4||_0xa8cefc<=0x4?_0x4104ea[_0x4b3457]=_0x2f21b4:_0x4104ea[_0x4b3457]=_0x49b595[_0x452a31[_0x2f21b4>>>0x18]]^_0x440cde[_0x452a31[_0x2f21b4>>>0x10&0xff]]^_0x3c641e[_0x452a31[_0x2f21b4>>>0x8&0xff]]^_0x29a311[_0x452a31[_0x2f21b4&0xff]];}}},'encryptBlock':function(_0x15128b,_0x2cf29f){var _0x2be7a4=_0x1816d4;this['_doCryptBlock'](_0x15128b,_0x2cf29f,this[_0x2be7a4(0x185)],_0x20eb30,_0x1c292c,_0x48a6f7,_0x3444c2,_0x452a31);},'decryptBlock':function(_0x6cd46d,_0x1cfbdd){var _0x4ad2f8=_0x1816d4,_0x30de78=_0x6cd46d[_0x1cfbdd+0x1];_0x6cd46d[_0x1cfbdd+0x1]=_0x6cd46d[_0x1cfbdd+0x3],_0x6cd46d[_0x1cfbdd+0x3]=_0x30de78,this['_doCryptBlock'](_0x6cd46d,_0x1cfbdd,this[_0x4ad2f8(0xa5)],_0x49b595,_0x440cde,_0x3c641e,_0x29a311,_0x29e6ba);var _0x30de78=_0x6cd46d[_0x1cfbdd+0x1];_0x6cd46d[_0x1cfbdd+0x1]=_0x6cd46d[_0x1cfbdd+0x3],_0x6cd46d[_0x1cfbdd+0x3]=_0x30de78;},'_doCryptBlock':function(_0x3edf3a,_0x1d8f23,_0x5ec215,_0x2d1042,_0x1ed5c0,_0x3657c4,_0x3a0680,_0x207bc6){var _0x3f98cc=_0x1816d4;for(var _0x347b39=this[_0x3f98cc(0x2c1)],_0x5a1d29=_0x3edf3a[_0x1d8f23]^_0x5ec215[0x0],_0x105dda=_0x3edf3a[_0x1d8f23+0x1]^_0x5ec215[0x1],_0x281b9e=_0x3edf3a[_0x1d8f23+0x2]^_0x5ec215[0x2],_0x1ad327=_0x3edf3a[_0x1d8f23+0x3]^_0x5ec215[0x3],_0x48f4c7=0x4,_0x4105ef=0x1;_0x4105ef<_0x347b39;_0x4105ef++){var _0x87677b=_0x2d1042[_0x5a1d29>>>0x18]^_0x1ed5c0[_0x105dda>>>0x10&0xff]^_0x3657c4[_0x281b9e>>>0x8&0xff]^_0x3a0680[_0x1ad327&0xff]^_0x5ec215[_0x48f4c7++],_0x19fea8=_0x2d1042[_0x105dda>>>0x18]^_0x1ed5c0[_0x281b9e>>>0x10&0xff]^_0x3657c4[_0x1ad327>>>0x8&0xff]^_0x3a0680[_0x5a1d29&0xff]^_0x5ec215[_0x48f4c7++],_0x134f53=_0x2d1042[_0x281b9e>>>0x18]^_0x1ed5c0[_0x1ad327>>>0x10&0xff]^_0x3657c4[_0x5a1d29>>>0x8&0xff]^_0x3a0680[_0x105dda&0xff]^_0x5ec215[_0x48f4c7++],_0x1a4a95=_0x2d1042[_0x1ad327>>>0x18]^_0x1ed5c0[_0x5a1d29>>>0x10&0xff]^_0x3657c4[_0x105dda>>>0x8&0xff]^_0x3a0680[_0x281b9e&0xff]^_0x5ec215[_0x48f4c7++];_0x5a1d29=_0x87677b,_0x105dda=_0x19fea8,_0x281b9e=_0x134f53,_0x1ad327=_0x1a4a95;}var _0x87677b=(_0x207bc6[_0x5a1d29>>>0x18]<<0x18|_0x207bc6[_0x105dda>>>0x10&0xff]<<0x10|_0x207bc6[_0x281b9e>>>0x8&0xff]<<0x8|_0x207bc6[_0x1ad327&0xff])^_0x5ec215[_0x48f4c7++],_0x19fea8=(_0x207bc6[_0x105dda>>>0x18]<<0x18|_0x207bc6[_0x281b9e>>>0x10&0xff]<<0x10|_0x207bc6[_0x1ad327>>>0x8&0xff]<<0x8|_0x207bc6[_0x5a1d29&0xff])^_0x5ec215[_0x48f4c7++],_0x134f53=(_0x207bc6[_0x281b9e>>>0x18]<<0x18|_0x207bc6[_0x1ad327>>>0x10&0xff]<<0x10|_0x207bc6[_0x5a1d29>>>0x8&0xff]<<0x8|_0x207bc6[_0x105dda&0xff])^_0x5ec215[_0x48f4c7++],_0x1a4a95=(_0x207bc6[_0x1ad327>>>0x18]<<0x18|_0x207bc6[_0x5a1d29>>>0x10&0xff]<<0x10|_0x207bc6[_0x105dda>>>0x8&0xff]<<0x8|_0x207bc6[_0x281b9e&0xff])^_0x5ec215[_0x48f4c7++];_0x3edf3a[_0x1d8f23]=_0x87677b,_0x3edf3a[_0x1d8f23+0x1]=_0x19fea8,_0x3edf3a[_0x1d8f23+0x2]=_0x134f53,_0x3edf3a[_0x1d8f23+0x3]=_0x1a4a95;},'keySize':0x100/0x20});_0x185285[_0x1816d4(0x13b)]=_0x5ecdb8[_0x1816d4(0x1ac)](_0x3b29f2);}()),_0x520cdd['AES'];}));}(Ve)),Ve['exports'];}var Rn=Cn();const bn=$e(Rn);var On=Oi();const ii=$e(On);var Xe={'exports':{}},yn=Xe[_0x6aebf(0x1bc)],si;function Nn(){var _0x5d1643=_0x6aebf;return si||(si=0x1,function(_0x162527,_0x4e95a5){(function(_0x197a3a,_0xeb1b1){var _0x11f96d=_0x5cc4;_0x162527[_0x11f96d(0x1bc)]=_0xeb1b1(te());}(yn,function(_0x4ab918){var _0x407a71=_0x5cc4;return _0x4ab918['enc'][_0x407a71(0x375)];}));}(Xe)),Xe[_0x5d1643(0x1bc)];}var Dn=Nn();const Un=$e(Dn);var Ze={'exports':{}},An=Ze['exports'],ni;function wn(){return ni||(ni=0x1,function(_0x21433f,_0x314873){(function(_0x4f3252,_0xec7c02){var _0x55188a=_0x5cc4;_0x21433f[_0x55188a(0x1bc)]=_0xec7c02(te());}(An,function(_0x38f730){var _0x262f48=_0x5cc4;return(function(){var _0x5d475a=_0x5cc4;if(typeof ArrayBuffer==_0x5d475a(0x183)){var _0x10534a=_0x38f730,_0x3c1493=_0x10534a[_0x5d475a(0x1b4)],_0x729c63=_0x3c1493[_0x5d475a(0xb7)],_0x28ff35=_0x729c63['init'],_0x7d2cf2=_0x729c63[_0x5d475a(0x2b2)]=function(_0x42d0c3){var _0x3ace10=_0x5d475a;if(_0x42d0c3 instanceof ArrayBuffer&&(_0x42d0c3=new Uint8Array(_0x42d0c3)),(_0x42d0c3 instanceof Int8Array||typeof Uint8ClampedArray<'u'&&_0x42d0c3 instanceof Uint8ClampedArray||_0x42d0c3 instanceof Int16Array||_0x42d0c3 instanceof Uint16Array||_0x42d0c3 instanceof Int32Array||_0x42d0c3 instanceof Uint32Array||_0x42d0c3 instanceof Float32Array||_0x42d0c3 instanceof Float64Array)&&(_0x42d0c3=new Uint8Array(_0x42d0c3[_0x3ace10(0x18b)],_0x42d0c3['byteOffset'],_0x42d0c3[_0x3ace10(0x38d)])),_0x42d0c3 instanceof Uint8Array){for(var _0x5c0fe7=_0x42d0c3['byteLength'],_0x54d6ea=[],_0x558837=0x0;_0x558837<_0x5c0fe7;_0x558837++)_0x54d6ea[_0x558837>>>0x2]|=_0x42d0c3[_0x558837]<<0x18-_0x558837%0x4*0x8;_0x28ff35[_0x3ace10(0x382)](this,_0x54d6ea,_0x5c0fe7);}else _0x28ff35[_0x3ace10(0x136)](this,arguments);};_0x7d2cf2[_0x5d475a(0x353)]=_0x729c63;}}()),_0x38f730[_0x262f48(0x1b4)][_0x262f48(0xb7)];}));}(Ze)),Ze['exports'];}var Pn=wn();const Ln=$e(Pn);var Qe={'exports':{}},Mn=Qe[_0x6aebf(0x1bc)],ri;function xn(){var _0x3d2a41=_0x6aebf;return ri||(ri=0x1,function(_0x5caa0c,_0xa32dd){(function(_0xdad3c1,_0x2a139e,_0x5459ea){_0x5caa0c['exports']=_0x2a139e(te(),Ni());}(Mn,function(_0xe8583c){var _0x1e5ee=_0x5cc4;return _0xe8583c['pad'][_0x1e5ee(0x182)]={'pad':function(){},'unpad':function(){}},_0xe8583c['pad'][_0x1e5ee(0x182)];}));}(Qe)),Qe[_0x3d2a41(0x1bc)];}var kn=xn();const $n=$e(kn);function Hn(_0x1a3097,_0x200a60){var _0x1541d5=_0x6aebf;const _0x2cc8f1=_0x200a60-_0x1a3097[_0x1541d5(0x16a)]%_0x200a60,_0x5d4641=String[_0x1541d5(0x254)](_0x2cc8f1)[_0x1541d5(0x148)](_0x2cc8f1);return _0x1a3097+_0x5d4641;}function Bn(_0x247e06,_0x1e4161){var _0x2eedfa=_0x6aebf;const _0x2f0223=Ln[_0x2eedfa(0x2b9)](0x10),_0x504cb3=Hn(_0x247e06,0x10),_0x4a0832=bn[_0x2eedfa(0x33a)](Un['parse'](_0x504cb3),ii['parse'](_0x1e4161),{'iv':_0x2f0223,'padding':$n});return _0x2f0223[_0x2eedfa(0x26c)](_0x4a0832[_0x2eedfa(0x1f5)])[_0x2eedfa(0x202)](ii);}function jn(){var _0x423858=_0x6aebf;const _0x92912f=_0x41b601()[_0x423858(0x1b1)];if(_0x92912f){const _0x463237={'time':Math['floor'](Date['now']()/0x3e8),'domain':location[_0x423858(0x2a6)]};return Bn(JSON['stringify'](_0x463237),_0x92912f);}}var Fn=Object['getOwnPropertyDescriptor'],Vn=(_0x5e5f05,_0x486885,_0x511df4,_0x48cd4a)=>{var _0x50196d=_0x6aebf;for(var _0x192a64=_0x48cd4a>0x1?void 0x0:_0x48cd4a?Fn(_0x486885,_0x511df4):_0x486885,_0x3f3ecf=_0x5e5f05[_0x50196d(0x16a)]-0x1,_0x5afd48;_0x3f3ecf>=0x0;_0x3f3ecf--)(_0x5afd48=_0x5e5f05[_0x3f3ecf])&&(_0x192a64=_0x5afd48(_0x192a64)||_0x192a64);return _0x192a64;},Gn=(_0x215685,_0x3fe748)=>(_0x257137,_0x47528b)=>_0x3fe748(_0x257137,_0x47528b,_0x215685);let at=class{constructor(_0x14cad4){var _0x2e2775=_0x6aebf;this[_0x2e2775(0x190)]=_0x14cad4,this[_0x2e2775(0x1f6)]();}[_0x6aebf(0x1f6)](){var _0xa10409=_0x6aebf;this[_0xa10409(0x190)]['registerHTTPInterceptor']({'interceptor':(_0xa7a659,_0x5ddd6b)=>{var _0x275c38=_0xa10409;const _0x47b009=_0xa7a659[_0x275c38(0x33e)],_0x56da23=jn();return _0x56da23&&_0x47b009[_0x275c38(0x17a)]('x-univer-host',_0x56da23),_0x5ddd6b(_0xa7a659);}});}};at=Vn([Gn(0x0,_0x18bb67(_0x26c391))],at);var Wn=Object['getOwnPropertyDescriptor'],Yn=(_0x27814f,_0xe54b40,_0x533cd4,_0x31c05a)=>{var _0x14be64=_0x6aebf;for(var _0x4b12c9=_0x31c05a>0x1?void 0x0:_0x31c05a?Wn(_0xe54b40,_0x533cd4):_0xe54b40,_0x1f0111=_0x27814f[_0x14be64(0x16a)]-0x1,_0xbe16ae;_0x1f0111>=0x0;_0x1f0111--)(_0xbe16ae=_0x27814f[_0x1f0111])&&(_0x4b12c9=_0xbe16ae(_0x4b12c9)||_0x4b12c9);return _0x4b12c9;},vt=(_0x2bd986,_0x1fec7a)=>(_0x217efb,_0x3fe792)=>_0x1fec7a(_0x217efb,_0x3fe792,_0x2bd986);let Ct=class extends _0x4a9342{constructor(_0x37d3af,_0x5e696b,_0x337ac6){var _0x4cfac7=_0x6aebf;super(),N(this,_0x4cfac7(0x32c),new _0x57bee0(null)),N(this,_0x4cfac7(0xdc),this[_0x4cfac7(0x32c)][_0x4cfac7(0x28b)]()),(this[_0x4cfac7(0x186)]=_0x37d3af,this[_0x4cfac7(0x32a)]=_0x5e696b,this['_localCacheService']=_0x337ac6);}async[_0x6aebf(0x29f)](_0x25ac99,_0x5c4539,_0x4671e4){var _0x2e967b=_0x6aebf;this['_unitInfo$'][_0x2e967b(0x312)]({'unitId':_0x25ac99,'type':_0x5c4539});let _0x5becce=null;switch(_0x5c4539){case Z[_0x2e967b(0x2c7)]:{_0x5becce=await this[_0x2e967b(0x32a)]['loadSheet'](_0x25ac99,_0x4671e4);break;}case Z[_0x2e967b(0x366)]:{_0x5becce=await this[_0x2e967b(0x32a)][_0x2e967b(0x2a1)](_0x25ac99,_0x4671e4);break;}default:{this['_logService'][_0x2e967b(0x232)](_0x2e967b(0x379),_0x2e967b(0xfe));break;}}return _0x5becce;}async[_0x6aebf(0xd8)](_0x4e7cc7,_0x183990,_0x3fcae4){var _0x3148e9=_0x6aebf,_0x39e0ea;this[_0x3148e9(0x32c)]['next']({'unitId':_0x4e7cc7,'type':_0x183990,'subUnitId':_0x3fcae4});let _0x468f15=0x0;const _0x178b15=await((_0x39e0ea=this[_0x3148e9(0x20e)])==null?void 0x0:_0x39e0ea['loadOfflineData'](_0x4e7cc7));return _0x178b15&&(_0x178b15[_0x3148e9(0xb4)]||_0x178b15[_0x3148e9(0x2ae)][_0x3148e9(0x16a)]!==0x0)&&(_0x468f15=_0x178b15[_0x3148e9(0x352)]),_0x468f15===0x0&&this[_0x3148e9(0x186)][_0x3148e9(0x180)]('[DataLoaderService]',_0x3148e9(0x205)),this[_0x3148e9(0x29f)](_0x4e7cc7,_0x183990,_0x468f15);}};Ct=Yn([vt(0x0,_0x26f867),vt(0x1,_0x18bb67(_0x50e5fc)),vt(0x2,_0x870f26(J))],Ct);var Kn=Object[_0x6aebf(0x2ec)],qn=(_0x34b380,_0x48ffdf,_0x4b51cd,_0x8d54de)=>{var _0x395c8c=_0x6aebf;for(var _0x59ebe7=_0x8d54de>0x1?void 0x0:_0x8d54de?Kn(_0x48ffdf,_0x4b51cd):_0x48ffdf,_0x596362=_0x34b380[_0x395c8c(0x16a)]-0x1,_0x430565;_0x596362>=0x0;_0x596362--)(_0x430565=_0x34b380[_0x596362])&&(_0x59ebe7=_0x430565(_0x59ebe7)||_0x59ebe7);return _0x59ebe7;},pt=(_0x49ac1d,_0x1ff601)=>(_0x7642c2,_0x365bb3)=>_0x1ff601(_0x7642c2,_0x365bb3,_0x49ac1d);const zn=[_0x6aebf(0x1d0),_0x6aebf(0xc3),_0x6aebf(0x15f),_0x6aebf(0x311),_0x6aebf(0x1de)],Jn=0x5*0x400*0x400,Xn='EXCHANGE_UPLOAD_FILE_SERVER_URL_KEY',Zn=_0x6aebf(0x17e),Qn=_0x6aebf(0x160),er='/universer-api/file/{fileID}/sign-url';let Rt=class{constructor(_0x5bb8ec,_0x1c7748,_0x4c4833){var _0x2d4a91=_0x6aebf;N(this,'_waitCount',0x0),N(this,_0x2d4a91(0x327),new _0x2f4bdc()),N(this,'change$',this['_change$']),N(this,'_imageSourceCache',new Map()),(this['_httpService']=_0x5bb8ec,this[_0x2d4a91(0x285)]=_0x1c7748,this[_0x2d4a91(0x92)]=_0x4c4833);}['setWaitCount'](_0xa4aea6){var _0x18b377=_0x6aebf;this[_0x18b377(0x203)]=_0xa4aea6,this[_0x18b377(0x327)]['next'](_0xa4aea6);}['getImageSourceCache'](_0x1ece1f,_0x5aaaf9){var _0x203a7e=_0x6aebf;if(_0x5aaaf9===_0xa69510[_0x203a7e(0x359)]){const _0x1f0f55=new Image();return _0x1f0f55[_0x203a7e(0x110)]=_0x1ece1f,_0x1f0f55;}return this['_imageSourceCache'][_0x203a7e(0x346)](_0x1ece1f);}[_0x6aebf(0x2bc)](_0x2c2efd,_0x1328de,_0x4b2bb3){var _0x45ecb2=_0x6aebf;_0x1328de===_0xa69510[_0x45ecb2(0x359)]||_0x4b2bb3==null||this[_0x45ecb2(0x100)][_0x45ecb2(0x17a)](_0x2c2efd,_0x4b2bb3);}async[_0x6aebf(0x2a0)](_0xd1d422){var _0x21a1e0=_0x6aebf;try{const _0x390577=this[_0x21a1e0(0x355)](this[_0x21a1e0(0x36f)](),''+_0xd1d422),_0x2db824=(await this[_0x21a1e0(0x190)][_0x21a1e0(0x346)](_0x390577))[_0x21a1e0(0x200)];if(_0x2db824[_0x21a1e0(0x232)]&&_0x2db824[_0x21a1e0(0x232)][_0x21a1e0(0x1f2)]===pi['OK']){const _0x2ca595=new URL(_0x2db824[_0x21a1e0(0xa9)],this[_0x21a1e0(0x238)]())[_0x21a1e0(0x202)]();return Promise[_0x21a1e0(0x2af)](_0x2ca595);}return Promise[_0x21a1e0(0x211)](_0x2db824[_0x21a1e0(0x232)]);}catch(_0x381cdd){return Promise[_0x21a1e0(0x211)](_0x381cdd);}}async[_0x6aebf(0x2a3)](_0x57fd5a){var _0x4cad86=_0x6aebf;let _0x4bde41='';if(!zn[_0x4cad86(0x253)](_0x57fd5a[_0x4cad86(0x171)]))return this[_0x4cad86(0x1c0)](),Promise[_0x4cad86(0x211)](new Error(_0x5f573b[_0x4cad86(0x1e8)]));if(_0x57fd5a[_0x4cad86(0x226)]>Jn)return this[_0x4cad86(0x1c0)](),Promise['reject'](new Error(_0x5f573b['ERROR_EXCEED_SIZE']));try{const _0x2520fb=new FormData();_0x2520fb[_0x4cad86(0x9c)]('file',_0x57fd5a);const _0x265f6e=this[_0x4cad86(0x92)][_0x4cad86(0x12e)](),_0x53e4c5=_0x265f6e==null?void 0x0:_0x265f6e[_0x4cad86(0x30c)]();if(!_0x53e4c5)throw new Error(_0x4cad86(0x393));const _0x4fadef=this[_0x4cad86(0x9b)]()+'?size='+_0x57fd5a[_0x4cad86(0x226)][_0x4cad86(0x202)]()+'&source='+mi[_0x4cad86(0xbc)]+'&assign='+encodeURIComponent(_0x53e4c5),_0x210f04={'body':_0x2520fb},_0x2512be=(await this[_0x4cad86(0x190)][_0x4cad86(0x288)](_0x4fadef,_0x210f04))['body'];if(typeof _0x2512be[_0x4cad86(0x286)]!='string')return this[_0x4cad86(0x1c0)](),Promise['reject'](new Error(_0x5f573b['ERROR_IMAGE']));_0x4bde41=_0x2512be[_0x4cad86(0x286)];}catch{return this[_0x4cad86(0x1c0)](),Promise['reject'](new Error(_0x5f573b['ERROR_IMAGE']));}return new Promise((_0x5373c8,_0x3c0e1a)=>{const _0x42c073=new FileReader();_0x42c073['readAsDataURL'](_0x57fd5a),_0x42c073['onload']=_0x15da48=>{var _0x1570fb=_0x5cc4,_0x23a3a0;const _0x335f16=(_0x23a3a0=_0x15da48[_0x1570fb(0x350)])==null?void 0x0:_0x23a3a0[_0x1570fb(0x345)];if(_0x335f16==null){this[_0x1570fb(0x1c0)](),_0x3c0e1a(new Error(_0x5f573b[_0x1570fb(0xe9)]));return;}const _0x28dd59=_0x11388e['generateRandomId'](0x6);_0x5373c8({'imageId':_0x28dd59,'imageSourceType':_0xa69510[_0x1570fb(0xad)],'source':_0x4bde41,'base64Cache':_0x335f16,'status':_0x5f573b['SUCCUSS']}),this[_0x1570fb(0x1c0)]();};});}[_0x6aebf(0x9b)](){var _0x4523da=_0x6aebf,_0x52e26c,_0x5cd643;const _0x300367=this['_configService'][_0x4523da(0x30d)](Xn),_0x411007=this[_0x4523da(0x285)][_0x4523da(0x30d)](K);return(_0x5cd643=(_0x52e26c=_0x411007==null?void 0x0:_0x411007[_0x4523da(0x301)])!=null?_0x52e26c:_0x300367)!=null?_0x5cd643:Zn;}[_0x6aebf(0x36f)](){var _0xb37d07=_0x6aebf,_0xf03d22,_0x9a80cf;const _0x49003e=this[_0xb37d07(0x285)][_0xb37d07(0x30d)](Qn),_0x32f4ab=this[_0xb37d07(0x285)][_0xb37d07(0x30d)](K);return(_0x9a80cf=(_0xf03d22=_0x32f4ab==null?void 0x0:_0x32f4ab['signUrlServerUrl'])!=null?_0xf03d22:_0x49003e)!=null?_0x9a80cf:er;}[_0x6aebf(0x238)](){var _0x213d29=_0x6aebf,_0x4674c8;const _0x521ce0=this[_0x213d29(0x285)][_0x213d29(0x30d)](K);return(_0x4674c8=_0x521ce0==null?void 0x0:_0x521ce0[_0x213d29(0xd9)])!=null?_0x4674c8:location[_0x213d29(0x150)];}['_replaceFileID'](_0x468e7f,_0x22ea16){var _0x5181e3=_0x6aebf;return _0x468e7f[_0x5181e3(0x26e)](_0x5181e3(0x101),_0x22ea16);}[_0x6aebf(0x1c0)](){var _0x38ceb6=_0x6aebf;this[_0x38ceb6(0x203)]-=0x1,this[_0x38ceb6(0x327)][_0x38ceb6(0x312)](this[_0x38ceb6(0x203)]);}};Rt=qn([pt(0x0,_0x18bb67(_0x26c391)),pt(0x1,_0x5317b8),pt(0x2,_0x18bb67(_0x552064))],Rt);var tr=Object[_0x6aebf(0x2ec)],ir=(_0x4f7f09,_0x46521f,_0x260923,_0x26e846)=>{var _0x4996fe=_0x6aebf;for(var _0x2df017=_0x26e846>0x1?void 0x0:_0x26e846?tr(_0x46521f,_0x260923):_0x46521f,_0x3be990=_0x4f7f09[_0x4996fe(0x16a)]-0x1,_0x32da5a;_0x3be990>=0x0;_0x3be990--)(_0x32da5a=_0x4f7f09[_0x3be990])&&(_0x2df017=_0x32da5a(_0x2df017)||_0x2df017);return _0x2df017;},ai=(_0x1d3dd1,_0x4e793c)=>(_0x40e3c7,_0x2cbd6a)=>_0x4e793c(_0x40e3c7,_0x2cbd6a,_0x1d3dd1);const sr=_0x6aebf(0x2df);let bt=class{constructor(_0x55f009,_0x8531ad){var _0x1132fd=_0x6aebf;this[_0x1132fd(0x285)]=_0x55f009,this[_0x1132fd(0x103)]=_0x8531ad;}[_0x6aebf(0x29d)](){var _0x126a76=_0x6aebf,_0x84e2b2,_0x4bcdda;const _0xdd0756=this[_0x126a76(0x285)][_0x126a76(0x30d)](bi),_0x112a08=this[_0x126a76(0x285)]['getConfig'](K);return(_0x4bcdda=(_0x84e2b2=_0x112a08==null?void 0x0:_0x112a08[_0x126a76(0x263)])!=null?_0x84e2b2:_0xdd0756)!=null?_0x4bcdda:sr;}async[_0x6aebf(0x2cf)](_0x2345b6){var _0x416f31=_0x6aebf;const _0x3fc182=this['_getAPIPrefixPath']()+_0x416f31(0x362);return{'list':[{'title':_0x416f31(0x199),'mentions':(await this[_0x416f31(0x103)]['get'](_0x3fc182,{'params':{'objectID':_0x2345b6[_0x416f31(0x128)],'unitID':_0x2345b6[_0x416f31(0x128)]}}))[_0x416f31(0x200)][_0x416f31(0xbb)][_0x416f31(0x37b)](_0x1ef2de=>({'objectId':_0x1ef2de['id'],'name':_0x1ef2de[_0x416f31(0x107)][_0x416f31(0x277)],'metadata':{'icon':_0x1ef2de[_0x416f31(0x107)][_0x416f31(0x1c6)]},'label':_0x1ef2de[_0x416f31(0x107)][_0x416f31(0x277)],'objectType':_0x36128d[_0x416f31(0x10f)]})),'metadata':{},'type':_0x36128d[_0x416f31(0x10f)]}]};}};bt=ir([ai(0x0,_0x18bb67(_0x5317b8)),ai(0x1,_0x18bb67(_0x26c391))],bt);var nr=Object[_0x6aebf(0x2ec)],rr=(_0xb5cbba,_0x52b457,_0xca8137,_0x5c5350)=>{for(var _0x45505c=_0x5c5350>0x1?void 0x0:_0x5c5350?nr(_0x52b457,_0xca8137):_0x52b457,_0x236345=_0xb5cbba['length']-0x1,_0x59a4b5;_0x236345>=0x0;_0x236345--)(_0x59a4b5=_0xb5cbba[_0x236345])&&(_0x45505c=_0x59a4b5(_0x45505c)||_0x45505c);return _0x45505c;},Ae=(_0xd95ec6,_0x23f4ab)=>(_0x2e2f87,_0x11c039)=>_0x23f4ab(_0x2e2f87,_0x11c039,_0xd95ec6);let ot=class extends _0x4a9342{constructor(_0x465a10,_0x22f586,_0x26811e,_0x1ccfd0,_0x2af5dc){var _0x483276=_0x6aebf;super(),this[_0x483276(0x33b)]=_0x465a10,this[_0x483276(0x92)]=_0x22f586,this[_0x483276(0x142)]=_0x26811e,this[_0x483276(0x14d)]=_0x1ccfd0,this[_0x483276(0x1cf)]=_0x2af5dc,this['_initUnitPermissionChange'](),this[_0x483276(0xab)]();}[_0x6aebf(0xab)](){var _0x5303d2=_0x6aebf;const _0x283483=async _0x380488=>{var _0x30f553=_0x5cc4;(await this['_collaborationSessionService'][_0x30f553(0x25d)](_0x380488))[_0x30f553(0x32f)][_0x30f553(0x351)](_0x74353e(_0x313c28=>_0x313c28[_0x30f553(0x305)]===_0x4876af[_0x30f553(0x2f1)]),_0x30842e(this[_0x30f553(0x1df)]))[_0x30f553(0x18c)](_0x4650b0=>{var _0x24f984=_0x30f553;const _0x49a1f6=_0x4650b0,{reason:_0x389d4e}=_0x49a1f6[_0x24f984(0x364)];this['_collaborationUIEventService'][_0x24f984(0x247)]({'id':ne['CLOSE_ROOM'],'data':_0x389d4e}),this[_0x24f984(0x142)][_0x24f984(0xc6)](new _0x39effe(_0x380488)['id'],!0x1),this[_0x24f984(0x14d)]['closeSession'](_0x380488);});};_0x3fda27(this[_0x5303d2(0x92)][_0x5303d2(0x37f)](_0x5a96fb[_0x5303d2(0x2c7)]),this['_univerInstanceService'][_0x5303d2(0x37f)](_0x5a96fb[_0x5303d2(0x366)]))[_0x5303d2(0x351)](_0x1c75cc(_0x54a86a=>_0x54a86a[_0x5303d2(0x30c)]()),_0x74353e(_0x5c56fc=>!_0x587f28(_0x5c56fc)),_0x30842e(this['dispose$']))[_0x5303d2(0x18c)](_0x492519=>{_0x283483(_0x492519);});}[_0x6aebf(0x2e5)](){var _0x52afea=_0x6aebf;const _0x59dd64=async _0x1e4c77=>{var _0x36c6a8=_0x5cc4;const _0x2017fb=await this[_0x36c6a8(0x14d)][_0x36c6a8(0x25d)](_0x1e4c77),_0x4bcfcc=this[_0x36c6a8(0x33b)][_0x36c6a8(0x346)](_0x2cf903);_0x2017fb[_0x36c6a8(0x32f)][_0x36c6a8(0x351)](_0x74353e(_0x19d333=>_0x19d333[_0x36c6a8(0x305)]===_0x4876af[_0x36c6a8(0xef)]),_0x30842e(this['dispose$']))['subscribe'](_0xf45a35=>{var _0x11008b=_0x36c6a8;const _0x20e9c0=_0xf45a35,{objectId:_0x3fe8e4}=_0x20e9c0['data'];_0x3fe8e4===_0x1e4c77?_0x4bcfcc[_0x11008b(0x2bf)](_0x1e4c77):_0x4bcfcc[_0x11008b(0x2b5)](_0x1e4c77,_0x3fe8e4);});};_0x3fda27(this[_0x52afea(0x92)][_0x52afea(0x37f)](_0x5a96fb['UNIVER_SHEET']))[_0x52afea(0x351)](_0x1c75cc(_0x206d5f=>_0x206d5f[_0x52afea(0x30c)]()),_0x74353e(_0x38bd8d=>!_0x587f28(_0x38bd8d)),_0x30842e(this['dispose$']))[_0x52afea(0x18c)](_0x2201c3=>{_0x59dd64(_0x2201c3);});}};ot=rr([Ae(0x0,_0x18bb67(_0x11fbde)),Ae(0x1,_0x552064),Ae(0x2,_0x374ceb),Ae(0x3,_0x18bb67(Le)),Ae(0x4,_0x18bb67(ve))],ot);var ar=Object['getOwnPropertyDescriptor'],or=(_0x12306d,_0x56ddef,_0x2d6d44,_0xec5526)=>{var _0x2e634b=_0x6aebf;for(var _0x4ee9c4=_0xec5526>0x1?void 0x0:_0xec5526?ar(_0x56ddef,_0x2d6d44):_0x56ddef,_0x54bcbe=_0x12306d[_0x2e634b(0x16a)]-0x1,_0x2f2705;_0x54bcbe>=0x0;_0x54bcbe--)(_0x2f2705=_0x12306d[_0x54bcbe])&&(_0x4ee9c4=_0x2f2705(_0x4ee9c4)||_0x4ee9c4);return _0x4ee9c4;},oi=(_0x5a5faf,_0x449ff9)=>(_0x136864,_0x311521)=>_0x449ff9(_0x136864,_0x311521,_0x5a5faf);let Ot=class{constructor(_0x395c5c,_0x1611cc){var _0x539dd0=_0x6aebf;this[_0x539dd0(0x285)]=_0x395c5c,this[_0x539dd0(0x190)]=_0x1611cc;}async['getUnitOnRev'](_0xfc524f,_0x22a185){var _0x1630c8=_0x6aebf,_0x4656c9;const {unitID:_0x24918e,type:_0x4e00f2,revision:_0x48302b=0x0}=_0x22a185,_0x38fde9=this[_0x1630c8(0x30a)]()+'/'+_0x4e00f2+_0x1630c8(0x214)+_0x24918e+'/rev/'+_0x48302b,_0x2660fe=(await this[_0x1630c8(0x190)][_0x1630c8(0x346)](_0x38fde9))[_0x1630c8(0x200)],_0x1db85c=(_0x4656c9=_0x2660fe[_0x1630c8(0x36b)])==null?void 0x0:_0x4656c9[_0x1630c8(0x31e)];if(_0x1db85c){const _0x2c7469=_0x1db85c==null?void 0x0:_0x1db85c['originalMeta'],_0x5e1ba0=_0xd579e6['encode'](_0x2cf7f3(_0x2c7469));_0x1db85c[_0x1630c8(0x1fb)]=_0x5e1ba0,Object['entries'](_0x1db85c[_0x1630c8(0x1ba)])['forEach'](([,_0x13df07])=>{var _0x578496=_0x1630c8;const _0x21be1e=_0x13df07['originalMeta'],_0x23d49a=_0xd579e6[_0x578496(0x16b)](_0x2cf7f3(_0x21be1e));_0x13df07['originalMeta']=_0x23d49a;});}return _0x2660fe;}async[_0x6aebf(0x21f)](_0x218148,_0x47457a){var _0x581b0a=_0x6aebf;const {unitID:_0x24bc3d,type:_0x52e037,blockID:_0x57bdb2}=_0x47457a,_0x397e37=this[_0x581b0a(0x1fe)]()+'/'+_0x52e037+_0x581b0a(0x214)+_0x24bc3d+'/block/'+_0x57bdb2;return(await this[_0x581b0a(0x190)][_0x581b0a(0x346)](_0x397e37))[_0x581b0a(0x200)];}async[_0x6aebf(0x340)](_0x29eaf9,_0xb934ab){var _0x5b934e=_0x6aebf;const {unitID:_0x415bc6,type:_0x50dad6,blockID:_0x2391cf}=_0xb934ab,_0x1f8af6=this[_0x5b934e(0x1fe)]()+_0x5b934e(0xd2)+_0x50dad6+_0x5b934e(0x214)+_0x415bc6+_0x5b934e(0xd2)+_0x2391cf;return(await this[_0x5b934e(0x190)][_0x5b934e(0x346)](_0x1f8af6))[_0x5b934e(0x200)];}async[_0x6aebf(0x19b)](_0x35c7d8,_0x5a9e65){var _0x4e48e2=_0x6aebf;const {unitID:_0x25495a,type:_0x327b79,from:_0x2940f9,to:_0x4be26d}=_0x5a9e65,_0x53d9d9=this['_getAPIPrefix']()+'/'+_0x327b79+_0x4e48e2(0x214)+_0x25495a+_0x4e48e2(0x324)+_0x2940f9+_0x4e48e2(0x358)+_0x4be26d;return(await this['_httpService']['get'](_0x53d9d9))[_0x4e48e2(0x200)];}['getSnapshotAPIPath'](){var _0x95d5e8=_0x6aebf,_0x33ea88;return(_0x33ea88=this[_0x95d5e8(0x285)]['getConfig'](ps))!=null?_0x33ea88:this['_getAPIPrefix']();}[_0x6aebf(0x1fe)](){var _0x144692=_0x6aebf,_0x42ad9c,_0x2cce3f;const _0x59000d=this[_0x144692(0x285)][_0x144692(0x30d)](fs),_0x3d2ff4=this[_0x144692(0x285)][_0x144692(0x30d)](K);return(_0x2cce3f=(_0x42ad9c=_0x3d2ff4==null?void 0x0:_0x3d2ff4[_0x144692(0x1b7)])!=null?_0x42ad9c:_0x59000d)!=null?_0x2cce3f:vs;}async[_0x6aebf(0x1b0)](_0x870555,_0x29fe8a){var _0x1c36ab=_0x6aebf;const _0x5ee72b=_0x1c36ab(0x284)+_0x29fe8a['type']+_0x1c36ab(0x214)+_0x29fe8a[_0x1c36ab(0x196)]+_0x1c36ab(0x2b3);return(await this['_httpService'][_0x1c36ab(0x346)](_0x5ee72b,{'params':{'resourceId':JSON['stringify'](_0x29fe8a['resourceIDs'])}}))['body'];}[_0x6aebf(0x38c)](){var _0x587650=_0x6aebf;throw new Error(_0x587650(0x2b7));}[_0x6aebf(0x1c9)](){var _0xd05119=_0x6aebf;throw new Error(_0xd05119(0x2b7));}[_0x6aebf(0x257)](){var _0x156a17=_0x6aebf;throw new Error(_0x156a17(0x2b7));}[_0x6aebf(0x2b8)](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}[_0x6aebf(0x20c)](){var _0x190c63=_0x6aebf;throw new Error(_0x190c63(0x2b7));}[_0x6aebf(0xfa)](){var _0x3ff6ed=_0x6aebf;throw new Error(_0x3ff6ed(0x2b7));}};Ot=or([oi(0x0,_0x5317b8),oi(0x1,_0x18bb67(_0x26c391))],Ot);var cr=Object[_0x6aebf(0x2ec)],hr=(_0x2a4744,_0x552426,_0x16b28c,_0xea60e)=>{var _0x11471f=_0x6aebf;for(var _0x33d8c6=_0xea60e>0x1?void 0x0:_0xea60e?cr(_0x552426,_0x16b28c):_0x552426,_0x1535cb=_0x2a4744[_0x11471f(0x16a)]-0x1,_0x1f8d27;_0x1535cb>=0x0;_0x1535cb--)(_0x1f8d27=_0x2a4744[_0x1535cb])&&(_0x33d8c6=_0x1f8d27(_0x33d8c6)||_0x33d8c6);return _0x33d8c6;},we=(_0x460c67,_0x126692)=>(_0x10eebf,_0x4d7556)=>_0x126692(_0x10eebf,_0x4d7556,_0x460c67);let yt=class extends _0x45ae3a{constructor(_0x36fd7a,_0x1c2c11,_0x5e94d8,_0x251069,_0xff84eb){var _0x2a0326=_0x6aebf;super(_0x36fd7a,_0x1c2c11,_0x5e94d8),this['_transformService']=_0x251069,this[_0x2a0326(0x186)]=_0xff84eb;}['transformUndoRedo'](_0x27f2d3,_0x157ebc){var _0x1953f7=_0x6aebf;const _0x5b080b=this[_0x1953f7(0xeb)](_0x27f2d3);if(_0x5b080b)try{const _0x8d68bd=this[_0x1953f7(0x2e6)](_0x5b080b,_0x157ebc);this[_0x1953f7(0x2c3)](_0x27f2d3,_0x8d68bd);}catch(_0x40cf7c){this[_0x1953f7(0x186)]['error']('[CollaborationUndoRedoService]',_0x40cf7c),this[_0x1953f7(0x15b)](_0x27f2d3);}const _0x47f1ed=this[_0x1953f7(0x237)](_0x27f2d3);if(_0x47f1ed)try{const _0x31023d=this['_transformStack'](_0x47f1ed,_0x157ebc);this[_0x1953f7(0x244)](_0x27f2d3,_0x31023d);}catch(_0x53a0d0){this[_0x1953f7(0x186)][_0x1953f7(0x232)](_0x53a0d0),this['_clearRedo'](_0x27f2d3);}}[_0x6aebf(0x15b)](_0x433d2a){var _0x89ce7d=_0x6aebf;const _0x219930=this[_0x89ce7d(0xeb)](_0x433d2a);_0x219930&&(_0x219930[_0x89ce7d(0x16a)]=0x0,this[_0x89ce7d(0x25a)]());}[_0x6aebf(0x1d4)](_0x2801fc){var _0x5b6d66=_0x6aebf;const _0x4fec1d=this['_getRedoStack'](_0x2801fc);_0x4fec1d&&(_0x4fec1d['length']=0x0,this[_0x5b6d66(0x25a)]());}[_0x6aebf(0x2c3)](_0x103ae6,_0x112863){var _0x6e21c9=_0x6aebf;this[_0x6e21c9(0x210)][_0x6e21c9(0x17a)](_0x103ae6,_0x112863),this['_updateStatus']();}[_0x6aebf(0x244)](_0x42af6a,_0x279b5b){var _0x1960b6=_0x6aebf;this['_redoStacks']['set'](_0x42af6a,_0x279b5b),this[_0x1960b6(0x25a)]();}[_0x6aebf(0x2e6)](_0x3e6e12,_0x40c0a7){var _0x455773=_0x6aebf;const _0x22fcd7=[];let _0xa077f6=_0x40c0a7,_0x7df6f5=_0x40c0a7;for(let _0x42b957=_0x3e6e12[_0x455773(0x16a)]-0x1;_0x42b957>=0x0;_0x42b957--){const {unitID:_0x446ab0,undoMutations:_0x2d736c,redoMutations:_0x29d2af}=_0x3e6e12[_0x42b957],_0x1e0782=this[_0x455773(0x35d)]['transformMutationsWithChangeset'](_0xa077f6,_0x2d736c),_0x195241=this[_0x455773(0x35d)][_0x455773(0x228)](_0x7df6f5,_0x29d2af);if(_0x34f905(_0x1e0782)||_0x34f905(_0x195241)){this[_0x455773(0x186)][_0x455773(0x232)](_0x455773(0xe7),_0x455773(0x394),_0x1e0782,_0x195241);break;}_0xa077f6=_0x1e0782[_0x455773(0x105)],_0x7df6f5=_0x195241['c1Prime'],_0x22fcd7['push']({'unitID':_0x446ab0,'undoMutations':_0x1e0782[_0x455773(0x29b)],'redoMutations':_0x195241[_0x455773(0x29b)]});}return _0x22fcd7['reverse']();}};yt=hr([we(0x0,_0x552064),we(0x1,_0x25bbcf),we(0x2,_0x4d1910),we(0x3,_0x55d63a),we(0x4,_0x26f867)],yt);var _r=Object['defineProperty'],lr=Object[_0x6aebf(0x2ec)],ur=(_0x5710fd,_0x417e02,_0x4be24b)=>_0x417e02 in _0x5710fd?_r(_0x5710fd,_0x417e02,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x4be24b}):_0x5710fd[_0x417e02]=_0x4be24b,dr=(_0x440b49,_0x191c9a,_0x277782,_0x287fb9)=>{var _0x5d1551=_0x6aebf;for(var _0xc9b7c7=_0x287fb9>0x1?void 0x0:_0x287fb9?lr(_0x191c9a,_0x277782):_0x191c9a,_0x2671a9=_0x440b49[_0x5d1551(0x16a)]-0x1,_0xfb45b0;_0x2671a9>=0x0;_0x2671a9--)(_0xfb45b0=_0x440b49[_0x2671a9])&&(_0xc9b7c7=_0xfb45b0(_0xc9b7c7)||_0xc9b7c7);return _0xc9b7c7;},mt=(_0x361e89,_0x289870)=>(_0xfd6c94,_0x2ac646)=>_0x289870(_0xfd6c94,_0x2ac646,_0x361e89),fr=(_0x34d686,_0x2e7d8d,_0x2df21d)=>ur(_0x34d686,_0x2e7d8d+'',_0x2df21d);const vr=_0x6aebf(0x1c8);let Nt=class extends _0x147501{constructor(_0x463f58,_0x2fbd5f,_0x193bba,_0x54d899){var _0x1d964b=_0x6aebf;super(),N(this,'_config'),(this[_0x1d964b(0x186)]=_0x2fbd5f,this['_injector']=_0x193bba,this[_0x1d964b(0x285)]=_0x54d899);const {..._0x5635f9}=_0x1c4530({},Ds,_0x463f58);if(!_0x5635f9[_0x1d964b(0x2ff)])throw new Error(_0x1d964b(0x1fa));this[_0x1d964b(0x1e7)]=_0x5635f9,this[_0x1d964b(0x285)][_0x1d964b(0x113)](K,_0x5635f9);}[_0x6aebf(0xc7)](){var _0x4d2d4b=_0x6aebf;this['_registerDependencies'](),this[_0x4d2d4b(0x181)]();}[_0x6aebf(0x318)](){var _0x3cee8f=_0x6aebf,_0xf72f46,_0x6e5e8f;this[_0x3cee8f(0x33b)][_0x3cee8f(0x31b)](_0x302ea5)&&this['_logService']['error']('[UniverCollaborationClientPlugin]',_0x3cee8f(0x392));const _0xbdd941=_0x1e67f9([[_0x302ea5,{'useClass':yt}],[Le],[Pe],[it],[rt],[at],[Si],[ot],[ve],[Ct],[gi,{'useClass':this[_0x3cee8f(0x1e7)]['socketService']}],[_0x3fe259,{'useClass':Ot}],[_0x40991c,{'useClass':Tt}],[_0x5138fa,{'useClass':Rt}],[_0x51953d,{'useClass':bt}],[nt],[It]],(_0xf72f46=this[_0x3cee8f(0x1e7)])==null?void 0x0:_0xf72f46[_0x3cee8f(0x1e6)]);if(!((_0x6e5e8f=this[_0x3cee8f(0x1e7)])!=null&&_0x6e5e8f[_0x3cee8f(0x2b0)])){const _0x136793=_0xbdd941[_0x3cee8f(0x115)](([_0x36ff77])=>_0x36ff77===ht);_0x136793!==-0x1&&_0xbdd941['splice'](_0x136793,0x1);}_0x4947aa(this['_injector'],_0xbdd941);}[_0x6aebf(0x181)](){var _0x2aa338=_0x6aebf,_0x3fc8c0,_0xfcbf1,_0x26cca4;this[_0x2aa338(0x33b)]['get'](_0x26c391)[_0x2aa338(0x32b)]({'priority':0x14,'interceptor':_0x94fa86({'maxParallel':0x6})}),(_0x3fc8c0=this['_config'])!=null&&_0x3fc8c0[_0x2aa338(0x2da)]||(_0xfcbf1=this[_0x2aa338(0x33b)][_0x2aa338(0x346)](J,_0x997497[_0x2aa338(0x11f)]))==null||_0xfcbf1['disableLocalCache'](),(_0x26cca4=this[_0x2aa338(0x1e7)])!=null&&_0x26cca4[_0x2aa338(0x224)]&&_0x4e514b(this[_0x2aa338(0x33b)],[[rt]]),_0x4e514b(this[_0x2aa338(0x33b)],[[at],[nt],[ot]]);}};fr(Nt,_0x6aebf(0x15a),vr),Nt=dr([_0xaed92e(_0x411580,_0x2661be),mt(0x1,_0x26f867),mt(0x2,_0x18bb67(_0x11fbde)),mt(0x3,_0x5317b8)],Nt);function _0x2867(){var _0x357f92=['_state','putCollaborators','getResourcesRequest','__Key__','UserProfileImg','_cipher','lib','retryConnectingInterval','fetchMiss','snapshotServerUrl','pauseCollaboration','batchAllowed','sheets','POST','exports','APPLY_PERMISSION_DENIED','[SyncedState]:\x20received\x20acknowledgement.','_transformIMECache','_decreaseWaiting','CHANGESET_REVISION_CONFILICT','Decryptor','FETCH_MISSING','collaboration-client.config','sendChangesetTimeout','avatar','catch','UNIVER_COLLABORATION_CLIENT_PLUGIN','updateSnapshot','_onRemoteACK','c2Prime','close$','method','onTransformRemoteChangesetByIMECache','_collaborationUIEventService','image/png','_changesetReqId','not_collab','_resendWithTimeout','_clearRedo','resend','session.room-permission-denied','mixIn','telemetry\x20info\x20is\x20not\x20initialized','JOIN_ROOM_PERMISSION_DENIED','loginUrlKey','mode','executeCommand','79160HKnPgn','image/bmp','dispose$','conflict','_lockTransition','objects','_submitChangeset','SNAPSHOT_SERVER_URL_KEY','_replayCachedMutations','override','_config','ERROR_IMAGE_TYPE','[FetchMissState]','clamp','enableCollaboration','slice','_getLoginPath','capture','LEAVE','default','[AuthServerService]:\x20you\x20should\x20provide\x20authentication\x20info\x20on\x20Node.js.','code','54ytvNIf','AWAITING_WITH_PENDING','ciphertext','_initRequestHeader','_startCollaboration','27WSmVlA','Univer','[UniverCollaborationClientPlugin]:\x20you\x20must\x20provide\x20a\x20socketService\x20implementation\x20in\x20config!','originalMeta','OTHER_CLIENTS_EDITING','session.room-not-exists','_getAPIPrefix','LOCAL_CACHE_INTERVAL','body','Base64','toString','_waitCount','_telemetryService','fetching\x20the\x20latest\x20document\x20from\x20the\x20server.','Pkcs7','_ENC_XFORM_MODE','104998dLKmxU','\x22.\x20Please\x20configure\x20the\x20dynamicRequireTargets\x20or/and\x20ignoreDynamicRequires\x20option\x20of\x20@rollup/plugin-commonjs\x20appropriately\x20for\x20this\x20require\x20call\x20to\x20work.','/universer-api/user/session-ticket','_onUserJoin','copyFileMeta','online$','_localCacheService','YUUMI_AI_RUN_FAILED','_undoStacks','reject','[CollaborationEntity]','_createSocket','/unit/','createSocket','LIVESHARE_TERMINATE','LICENSE_MAX_UNITS_EXCEEDED','INVITE_CODE_ALREADY_BOUND','selections','UNKNOWN_CODE','MUTATION','APPLY_NON_SEQUENTIAL_REVISION','_exhaustRemoteChangesetQueue','words','getSheetBlock','keySize','JOIN_ROOM_FULL','commentUpdate$','reconnect','enableAuthServer','_onOffline','size','finalize','transformMutationsWithChangeset','SNAPSHOT_URL_KEY','_sendHeartbeat','_incrementRevisionNumber','YUUMI_TABLE_NOT_FOUND_IN_UNIT','_remoteChangesetQueue','_executeRemoteChangeset','_userManagerService','_fetchMissChangesets','24foRQsR','error','\x0aAfter:\x20','_resendTimeout','Hex','textRanges','_getRedoStack','_getDownloadEndpointURL','createEncryptor','sid','UNIVER_SLIDE','key','getInterceptPoints','max','fetchThroughInterceptors','_sender','liveShareOperation','EMAIL_HAS_BEEN_BOUND','localCacheService','_substituteRedoStack','editingUnit','ivSize','emitEvent','_data','/new_changes','_resendTimer','session.join-failed','_collabSessionService','JOIN_ROOM_NOT_EXISTS','$super','1148871WvFRyi','_clearCollaborationTimeoutTimer','addHandlerCallback','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','includes','fromCharCode','defineProperty','LIVESHARE_REQUEST_HOST','saveSheetBlock','revision','joinEvent','_updateStatus','HttpExport','roomInfos','requireSession','_transitionLocked','HmacMD5','_startTelemetryCollaborationNewChangeset','_roomMembers','clone','authzUrl','/universer-api/comb','DEFAULT_FILE_NAME','_oKey','_memberService','_iv','connection\x20error','subUnitId','[PendingState]:\x20received\x20rejection.','concat','UPDATE_CURSOR','replace','_socket$','stopTime','_applyRemoteChangeset','_disableEditing','/object','transformChangesets','YUUMI_SUBSCRIPTION_NOT_FOUND','transformUndoRedo','name','patch','roles','OpenSSL','indexOf','getActiveSheet','randomBytes','OTHER_CLIENT_EDITING','unpad','removeMember','PERMISSION_DENIED','_handlerCallback','_sessionStatus$','/universer-api/snapshot/','_configService','FileId','FETCH_MISS','post','_transformStateCache','collabSubmitChangesetUrl','asObservable','COLLAB_SUBMIT_CHANGESET_URL','_instanceService','onSyncEditingCollabCursor','[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.','IDLE','startTime','duration','_onCombEvent','cmd','_compressMutationService','socket$','ENSURE_SNAPSHOT_EXECUTION','_tryReconnect','onTransformSelections','_mode','m2Prime','dispose','_getAPIPrefixPath','399DibxzU','loadUnitOfRevision','getImage','loadDoc','charAt','saveImage','/object/','_doFinalize','hostname','MD5','onLocalMutation','getUnit','csShouldRetryEvent','[CollaborationSocketService]:\x20failed\x20to\x20get\x20web\x20socket\x20factory!','_initMergeInterceptor','INVITE_CODE_REQUIRED','mutations','resolve','enableSingleActiveInstanceLock','_init','init','/resources','setShowComponents','refreshPermission','JOINING','This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!','saveChangeset','random','LIVESHARE_FETCH_OPERATIONS','_clearTimeoutTimer','addImageSourceCache','SUBMIT_CHANGESET','_waitForHeartbeatResponse','initWorkbookPermissionChange','open$','_nRounds','status','_substituteUndoStack','SHA1','toggleOnline','onRemoteRej','UNIVER_SHEET','_onLocalMutation','socket\x20close','every','onRemoteRetry','href','INTERNAL_ERROR','listCollaborators','list','_syncEditingCollabCursor','RECV','COLLAB_WEB_SOCKET_URL','/allowed','Cannot\x20assemble\x20a\x20changeset\x20from\x20multiple\x20mutations\x20of\x20different\x20types:\x20','_doCreateSocket','2903164SREBOJ','HEARTBEAT_INTERVAL','_members$','pad','enableOfflineEditing','responseType','_tryEnsureSocket','values','GLOBAL_ROOMS_CNT_EXCEEDS','/universer-api/authz','toggleOffline','COMPLETION_FINISHED','range','AWAITING','CHANGESET_ACK','_initUnitPermissionChange','_transformStack','getUnitStatus$','[CollaborationEntity]:\x20invalid\x20state\x20transition!\x20State\x20transferred\x20from\x20is\x20not\x20the\x20current\x20state.\x0aBefore:\x20','CHANGESET_SHOULD_RETRY','LIVESHARE_OPERATION','_process','getOwnPropertyDescriptor','getCollabEntity','USER_NOT_INVITED_CODE','_transformUndoredo','_sessions','SHOULD_CLOSE_CONN','YUUMI_URL_COL_OUT_OF_RANGE','onlyLocal','UNRECOGNIZED','leaveEvent','CHANGESET_REJ','_createHandler','CLOSE_ROOM','_onRemoteRejected','ws://127.0.0.1:8000/universer-api/comb/connect','USERS_LEAVE','27494225GEaNRc','_telemetryInfo','equals','socketService','fromCollab','uploadFileServerUrl','univer-pro.collaboration-client-socket-service','HEARTBEAT','_showConflictNotification','eventID','Malformed\x20UTF-8\x20data','closeSession','JOIN','session','getSnapshotAPIPath','_sheetTransformSelectionsService','getUnitId','getConfig','min','encodeURIComponent','[CollaborationEntity]:\x20cannot\x20apply\x20missing\x20results\x20on\x20other\x20states!','image/gif','next','LOGIN_FAILED','objectID','onCommentUpdate','_snapshotServerService','47230vjDYKU','_registerDependencies','_commandService','onMissedChangesetFetched','has','unknown','update','workbook','isPermissionRej','_onConnectionFailed','getRoom','createInstance','417085RlwZes','/fetchmissing?from=','reduce','_toggleOffline','_change$','[FetchingMissState]:\x20not\x20expected\x20to\x20receive\x20ack\x20when\x20`this._awaitingChangeset`\x20is\x20null!','objectActions','_snapshotService','registerHTTPInterceptor','_unitInfo$','clear','_hash','event$','Encryptor','title','_timeoutTimer','_iKey','collaboration_new_changeset','_DEC_XFORM_MODE','[CollaborationEntity]:\x20initial\x20state\x20has\x20been\x20created\x20before.\x20You\x20should\x20not\x20call\x20\x22init\x22\x20twice.','parse','collabWebSocketUrl','EvpKDF','encrypt','_injector','_removeRoom','[OfflineState]:\x20received\x20changeset.','headers','_commentService','getDeserializedSheetBlock','_onMessage','onTransformState','_clearRetryConnectingTimer','_xformMode','result','get','_scheduleCompleteTimestamp','_collaborationTimeoutTimer','_minBufferSize','focused$','StreamCipher','onTransformRemoteChangesetByStateCache','allowed','state$','then','target','pipe','rev','prototype','getValue','_replaceFileID','enc','onRemoteAck','&to=','BASE64','?url=','_clearScheduledTask','INVALID_INVITE_CODE','_transformService','_candidateSocket','/-/object/-/batch_allowed','_pendingMutations','disposeWithMe','/collaborator','_onUserLeave','data','updateCursorEvent','UNIVER_DOC','status$','synced','msCrypto','_onRemoteRetry','snapshot','_event$','JOIN_ROOM_FAILED','decrypt','_getSignURL','close','socket\x20open.','pending','failed\x20to\x20apply\x20missed\x20changesets!','getUnitType','Utf8','_onRecvEvent','_unitID','CipherParams','[DataLoaderService]','floor','map','[OfflineState]:\x20invalid\x20calling\x20to\x20`resend`.','_onFetchMissResult','join','getTypeOfUnitAdded$','APPLY_REJECT','_doProcessBlock','call','__esModule','LICENSE_EXPORT_SIZE_EXCEEDED','_createInitialState','memberID','AUTHZ_URL_KEY','params','_onRemoteChangeset','execute','_clearHeartbeatTimer','saveSnapshot','byteLength','message$','LICENSE_IMPORT_SIZE_EXCEEDED','BufferedBlockAlgorithm','_acknowledgedAwaitingChangeset','you\x20should\x20override\x20\x22IUndoRedoService\x22\x20provided\x20in\x20\x22core\x22\x20package!','unitId\x20is\x20not\x20found','transformStack\x20failed!','univer-pro.collaboration-client.single-active-unit-service','isArray','changesets','session.room-full','/universer-api/uniscript','Undefined','fetch_missing','_univerInstanceService','UNDEFINED','filter','_localeService','onMissingChangesets','_getSendChangesetTimeout','HELLO','appendMutation','UNAUTHENTICATED','_getUploadFileURL','append','getMemberID','getTypeOfUnitDisposed$','requestParams','_getCurrentRevision','Base','HttpImport','_socket','find','_invKeySchedule','readyForCollab','decryptBlock','blockSize','url','APPLY_REVISION_CONFILICT','_initCloseConn','_onJoinRoomEvent','UUID','UnitSnapshot','USERS_ENTER','permissionRejEvent','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','[CollaborationSessionService]','TOO_MANY_REQUESTS','awaitingChangeset','PERMISSION_REJ','_changesetSessionId','WordArray','_revisionService','YUUMI_ALL_TABLES_IS_INVALID','_schedule','collaborators','UnitEmbedded','LOGIN_URL_KEY','joinRsp','charCodeAt','add','\x0aCurrent:\x20','ONLINE','image/jpeg','[serializeCombRequest]:\x20should\x20not\x20fall\x20into\x20default\x20branch!','COMMENT_UPDATE','updatePermissionPoint','onStarting','_sendingTimer','algo','transformSelections','INVITE_CODE_HAS_BEEN_UES','fetching\x20missing\x20changesets\x20from\x20','reset','push','localeService','cfg','confirm','/block/','_socketMessageSubscription','_listenToNetworkCondition','_type','_key','MSG_FOR_ERROR','loadUnit','downloadEndpointUrl','createCollaborator','YUUMI_UNABLE_LOAD_URL','unitInfo$','NO_OTHER_CLIENTS_EDITING','[CollaborationSession]:\x20should\x20not\x20send\x20message\x20when\x20the\x20session\x20is\x20offline!','SEND_CHANGESET_TIMEOUT','_append','_stopTelemetryCollaborationNewChangeset','splice','Error\x20on\x20receiving\x20event','_createInitialStateImpl','ALREADY_EXISTS','_getCtorByUniverType','[CollaborationUndoRedoService]','salt','ERROR_IMAGE','_commentUpdate$','_getUndoStack','CBC','_shouldReportTelemetry','complete','UPDATE_PERMISSION_OBJ','sigBytes','UNKNOWN_CMD','_queuedRemoteChangesets','baseRev','NOT_COLLAB','__creator','MOBILE_HAS_BEEN_BOUND','CONFLICT','SUBMIT_CHANGESET_TIMEOUT','offline','getLatestCsReqIdBySid','awaiting_with_pending','_handler','withCredentials','Unknown\x20type.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','deleteCollaborator','_imageSourceCache','{fileID}','editing\x20status\x20changed\x20to','_HTTPService','routeKey','c1Prime','_status$','subject','_onConnectionOpen','NOT_FOUND','/role','awaiting','_entityInit$','_isPermissionRej','onSendChangeset','PERSON','src','location','\x20-\x20','setConfig','members$','findIndex','_sendHeartbeatTimer','_state$','_awaitingChangeset','unsubscribe','LICENSE_DISTRO_REJECTED','PSEUDO_FETCH_MISSING_RESULT','getAllMembers','getMember','interceptor','OPTIONAL','_onConflict','INGEST','_clearLocalCache','padding','setCurrentUser','send','[CollaborationSocketService]:\x20failed\x20to\x20create\x20socket!','_socketReady','unitId','UNIVER_PROJECT','SYNCED','APPLY_DUPLICATED','_joinRoom','onRemoteChangeset','getFocusedUnit','onTransformRemoteChangesetByStateCache\x20callback\x20is\x20not\x20added\x20yet.','PENDING','YUUMI_NO_CUBOID_FOR_QUESTION','_nDataBytes','_parse','onStateChange','_roomCreated$','apply','OFFLINE','_singleActiveUnitService','INVALID_ARGUMENT','extend','AES','SNAPSHOT_HAS_BEEN_REMOVED','updateMember','_networkConditionService','COMPRESS_MUTATION_APPLY','_retryConnectingTimer','getCurrentRevOfUnit','_permissionService','Native\x20crypto\x20module\x20could\x20not\x20be\x20used\x20to\x20get\x20secure\x20random\x20number.','symbol','_updateLocalCache','_checkMissing','sessionStatus','repeat','_rescheduleHeartbeat','error$','forEach','_collaborationPaused','_collaborationSessionService','hasOwnProperty','state','origin','startsWith','format','_updateState','submit\x20changeset\x20error!','delete','_map','UNIVER_UNKNOWN','PasswordBasedCipher','compute','pluginName','_clearUndo','COMPRESS_MUTATION_SEND','[ConflictState]:\x20invalid\x20calling\x20to\x20`resend`.','kdf','image/jpg','EXCHANGE_SIGN_URL_SERVER_URL_KEY','compose','session.room-cnt-exceeds','LIVESHARE_NEW_HOST','commentUpdateEvent','stringify','_entities','_members','onCommandExecuted','_prevBlock','length','encode','_emitMembers','crypto','_throwTelemetryCollaborationNewChangeset','ceil','YUUMI_RATE_OVER_LIMIT','type','_toggleOnline','_retryCount','liveShareNewHost','_keyPriorReset','univer-pro.collaboration-client.network-condition.service','[CollaborationController]:\x20invalid\x20univer\x20type:\x20','getRandomValues','_transformRemoteChangesetByStateCache','set','_eventService','_socketService','sessionStatus$','/universer-api/stream/file/upload','[CollaborationSessionService]:\x20socket\x20error','debug','_initDependencies','NoPadding','function','readInt32LE','_keySchedule','_logService','RETRY_CONNECTING_MAX_COUNT','FAIL','objectType','createDecryptor','buffer','subscribe','ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=','\x20in\x20_schedule.','Cipher','_httpService','userID','Hasher','_scheduleCollaborationTimeoutTimer','reqId','getTime','unitID','_unlockTransition','Failed\x20to\x20update\x20permission\x20point','People','_transformSelections','fetchMissingChangesets','PY_RUNTIME_SCRIPT_ERROR','SerializableCipher','create','[SyncedState]:\x20received\x20rejection.','_hasher','SOCKET_FAILED','UNISCRIPT_RUN','string','_undoRedoService','YUUMI_ASYNCIO_CANCELLED','actions','getCurrentUser','_reverseMap','onTransformIME','HMAC','hasher','_createHelper','WECHAT_HAS_BEEN_BOUND'];_0x2867=function(){return _0x357f92;};return _0x2867();}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 _0x374e05=_0xbcb8;(function(_0x44d0af,_0x5a1865){var _0x1e0b82=_0xbcb8,_0x1c722b=_0x44d0af();while(!![]){try{var _0x17597e=parseInt(_0x1e0b82(0x3ea))/0x1+-parseInt(_0x1e0b82(0x36a))/0x2+-parseInt(_0x1e0b82(0x389))/0x3*(-parseInt(_0x1e0b82(0x3b7))/0x4)+-parseInt(_0x1e0b82(0x252))/0x5+-parseInt(_0x1e0b82(0x200))/0x6*(parseInt(_0x1e0b82(0x2db))/0x7)+-parseInt(_0x1e0b82(0x2cc))/0x8+parseInt(_0x1e0b82(0x42b))/0x9;if(_0x17597e===_0x5a1865)break;else _0x1c722b['push'](_0x1c722b['shift']());}catch(_0x21a747){_0x1c722b['push'](_0x1c722b['shift']());}}}(_0x5654,0xde258));var Di=Object['defineProperty'],Ui=(_0x4e7706,_0xe954dd,_0x3d9346)=>_0xe954dd in _0x4e7706?Di(_0x4e7706,_0xe954dd,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x3d9346}):_0x4e7706[_0xe954dd]=_0x3d9346,N=(_0x21d4fe,_0x49d760,_0x4d32b2)=>Ui(_0x21d4fe,typeof _0x49d760!=_0x374e05(0x1d1)?_0x49d760+'':_0x49d760,_0x4d32b2);import{createIdentifier as _0x4d9e28,Inject as _0x59854e,Injector as _0x43d4c8,IConfigService as _0x53268d,ILogService as _0x57d59c,Disposable as _0x531aaf,DisposableCollection as _0x25f6d2,toDisposable as _0x4256c6,IUniverInstanceService as _0xdbe7af,UserManagerService as _0x3f909c,UniverInstanceType as _0x3d936d,LocaleService as _0x1725ed,Optional as _0x2ed8f6,RxDisposable as _0x374f4f,Tools as _0x2d22fb,Rectangle as _0x16f56c,ICommandService as _0x4ad308,JSONX as _0x9ab3b2,CommandType as _0x1fcea5,IUndoRedoService as _0x3351b5,IPermissionService as _0x3a92ee,sequenceExecute as _0x52f016,Workbook as _0x565202,MentionType as _0xfefe3,isInternalEditorID as _0x50e5b4,LocalUndoRedoService as _0x711a29,IContextService as _0x4c3eed,DependentOn as _0x18be4f,Plugin as _0x3fb74a,merge as _0x3c37a0,mergeOverrideWithDependencies as _0x24fcf8,IAuthzIoService as _0x2cbd0f,IMentionIOService as _0x1e2b6d,registerDependencies as _0x18a796,Quantity as _0x45f1a8,touchDependencies as _0x2986c6}from'@univerjs/core';import{Subject as _0x680904,merge as _0x338fa9,of as _0x546ff7,BehaviorSubject as _0x50c941,takeUntil as _0x12c15b,ReplaySubject as _0x1b8130,take as _0x1eeb94,map as _0x1ad8c5,shareReplay as _0x4bce9d,firstValueFrom as _0x340c8b,concatMap as _0xd70d04}from'rxjs';import{map as _0x516989,take as _0x5d9856,filter as _0x442050,delay as _0x456e34,takeUntil as _0x40c490}from'rxjs/operators';import{CollaborationEvent as _0x440e76,ISnapshotServerService as _0x5bd4bf,parseChangesetToProtocol as _0xb88801,ITransformService as _0x3b110b,isTransformMutationsWithChangesetSuccess as _0x17ca45,mapDocumentTypeToUniverType as _0x468592,RevisionService as _0xa86e8b,isTransformChangesetsSuccess as _0x216356,CompressMutationService as _0x554754,parseProtocolChangeset as _0x4073c1,uuidv4 as _0x4f18a2,SnapshotService as _0x887aaa,textEncoder as _0x42a3f4,b64DecodeUnicode as _0x2246ea,isTransformMutationsWithChangesetFailure as _0x36d1eb,UniverCollaborationPlugin as _0x3b0d6b}from'@univerjs-pro/collaboration';import{HTTPService as _0x3c791d,ISocketService as _0x4d2767,MergeInterceptorFactory as _0x1f4878,HTTPRequest as _0x256b58,UniverNetworkPlugin as _0x240bdc,ThresholdInterceptorFactory as _0x18f225}from'@univerjs/network';import{ITelemetryService as _0x521b29}from'@univerjs/telemetry';import{RichTextEditingMutation as _0x879aff}from'@univerjs/docs';import{SheetsSelectionsService as _0x3829e4,SetSelectionsOperation as _0xce7f28,InsertSheetMutation as _0x5c0a1a,EmptyMutation as _0x9bfa95,WorkbookEditablePermission as _0x156a28,SheetPermissionInitController as _0x20a94c}from'@univerjs/sheets';import{ImageSourceType as _0x5700af,ImageUploadStatusType as _0x469573,IImageIoService as _0xe7666b}from'@univerjs/drawing';import{getGlobalObject as _0x5aec11}from'@univerjs-pro/license';const fs=_0x374e05(0x2b6),vs='/universer-api/snapshot',ps=_0x374e05(0x2b1),yr='SEND_CHANGESET_TIMEOUT',ms=0x7d0,gs='COLLAB_WEB_SOCKET_URL',Ss='ws://127.0.0.1:8000/universer-api/comb/connect',Nr=_0x374e05(0x3be),Es=_0x374e05(0x244),Is=0x7530,fi=_0x374e05(0x2ef),vi=0x4e20,Ts=0x4e20,Cs=_0x374e05(0x257),Rs=0x3,Dr=_0x374e05(0x472),Ur=0x3e8,bs=_0x374e05(0x1a5),Os=_0x374e05(0x362),ys=_0x374e05(0x44f),Ns=_0x374e05(0x1e3),Ar=_0x374e05(0x33e),wr=_0x374e05(0x1e7);var pi=(_0x402a18=>(_0x402a18[_0x402a18[_0x374e05(0x302)]=0x0]='UNDEFINED',_0x402a18[_0x402a18['OK']=0x1]='OK',_0x402a18[_0x402a18['INTERNAL_ERROR']=0x2]=_0x374e05(0x2a0),_0x402a18[_0x402a18[_0x374e05(0x1bc)]=0x3]=_0x374e05(0x1bc),_0x402a18[_0x402a18['NOT_FOUND']=0x4]=_0x374e05(0x273),_0x402a18[_0x402a18[_0x374e05(0x408)]=0x5]='UNAUTHENTICATED',_0x402a18[_0x402a18[_0x374e05(0x229)]=0x6]=_0x374e05(0x229),_0x402a18[_0x402a18[_0x374e05(0x3b0)]=0x7]='INVALID_ARGUMENT',_0x402a18[_0x402a18[_0x374e05(0x44c)]=0x8]='TOO_MANY_REQUESTS',_0x402a18[_0x402a18[_0x374e05(0x43c)]=0x9]=_0x374e05(0x43c),_0x402a18[_0x402a18[_0x374e05(0x454)]=0xa]=_0x374e05(0x454),_0x402a18[_0x402a18[_0x374e05(0x284)]=0x1389]=_0x374e05(0x284),_0x402a18[_0x402a18[_0x374e05(0x36c)]=0x1771]=_0x374e05(0x36c),_0x402a18[_0x402a18[_0x374e05(0x27a)]=0x1772]='SNAPSHOT_HAS_BEEN_REMOVED',_0x402a18[_0x402a18[_0x374e05(0x410)]=0x1773]=_0x374e05(0x410),_0x402a18[_0x402a18[_0x374e05(0x1a2)]=0x1b59]=_0x374e05(0x1a2),_0x402a18[_0x402a18[_0x374e05(0x1fb)]=0x1b5a]='APPLY_NON_SEQUENTIAL_REVISION',_0x402a18[_0x402a18['APPLY_REVISION_CONFILICT']=0x1b5b]=_0x374e05(0x411),_0x402a18[_0x402a18['APPLY_PERMISSION_DENIED']=0x1b5c]=_0x374e05(0x1e6),_0x402a18[_0x402a18[_0x374e05(0x44a)]=0x1b5d]=_0x374e05(0x44a),_0x402a18[_0x402a18[_0x374e05(0x34d)]=0x1f41]=_0x374e05(0x34d),_0x402a18[_0x402a18['LICENSE_MAX_UNITS_EXCEEDED']=0x2329]=_0x374e05(0x219),_0x402a18[_0x402a18['LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED']=0x232a]='LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED',_0x402a18[_0x402a18[_0x374e05(0x3a0)]=0x232b]=_0x374e05(0x3a0),_0x402a18[_0x402a18['LICENSE_EXPORT_SIZE_EXCEEDED']=0x232c]=_0x374e05(0x3ca),_0x402a18[_0x402a18[_0x374e05(0x403)]=0x232d]=_0x374e05(0x403),_0x402a18[_0x402a18['YUUMI_UNABLE_LOAD_URL']=0x2711]=_0x374e05(0x354),_0x402a18[_0x402a18[_0x374e05(0x42c)]=0x2712]=_0x374e05(0x42c),_0x402a18[_0x402a18[_0x374e05(0x1c6)]=0x2713]=_0x374e05(0x1c6),_0x402a18[_0x402a18['YUUMI_SUBSCRIPTION_NOT_FOUND']=0x2714]=_0x374e05(0x279),_0x402a18[_0x402a18[_0x374e05(0x218)]=0x271a]='YUUMI_NO_CUBOID_FOR_QUESTION',_0x402a18[_0x402a18[_0x374e05(0x397)]=0x271b]='YUUMI_ASYNCIO_CANCELLED',_0x402a18[_0x402a18['YUUMI_TABLE_NOT_FOUND_IN_UNIT']=0x271c]=_0x374e05(0x23a),_0x402a18[_0x402a18[_0x374e05(0x3cd)]=0x271d]=_0x374e05(0x3cd),_0x402a18[_0x402a18[_0x374e05(0x412)]=0x271e]='YUUMI_PROMPT_MAX_TOKENS_EXCEEDED',_0x402a18[_0x402a18['YUUMI_AI_RUN_FAILED']=0x271f]=_0x374e05(0x26b),_0x402a18[_0x402a18[_0x374e05(0x3db)]=0x2af9]=_0x374e05(0x3db),_0x402a18[_0x402a18['INVITE_CODE_HAS_BEEN_UES']=0x2ee1]=_0x374e05(0x1f4),_0x402a18[_0x402a18[_0x374e05(0x310)]=0x2ee2]=_0x374e05(0x310),_0x402a18[_0x402a18[_0x374e05(0x18a)]=0x2ee3]=_0x374e05(0x18a),_0x402a18[_0x402a18[_0x374e05(0x1fd)]=0x2ee4]=_0x374e05(0x1fd),_0x402a18[_0x402a18[_0x374e05(0x3f8)]=0x2ee5]=_0x374e05(0x3f8),_0x402a18[_0x402a18['WECHAT_HAS_BEEN_BOUND']=0x32c9]=_0x374e05(0x214),_0x402a18[_0x402a18[_0x374e05(0x466)]=0x32ca]='MOBILE_HAS_BEEN_BOUND',_0x402a18[_0x402a18[_0x374e05(0x316)]=0x32cb]=_0x374e05(0x316),_0x402a18[_0x402a18['UNRECOGNIZED']=-0x1]=_0x374e05(0x364),_0x402a18))(pi||{}),Z=(_0x3a09f7=>(_0x3a09f7[_0x3a09f7[_0x374e05(0x26d)]=0x0]='UNIVER_UNKNOWN',_0x3a09f7[_0x3a09f7[_0x374e05(0x338)]=0x1]=_0x374e05(0x338),_0x3a09f7[_0x3a09f7[_0x374e05(0x1ac)]=0x2]=_0x374e05(0x1ac),_0x3a09f7[_0x3a09f7[_0x374e05(0x32d)]=0x3]=_0x374e05(0x32d),_0x3a09f7[_0x3a09f7[_0x374e05(0x2ab)]=0x4]=_0x374e05(0x2ab),_0x3a09f7[_0x3a09f7['UNRECOGNIZED']=-0x1]='UNRECOGNIZED',_0x3a09f7))(Z||{}),F=(_0x7fb267=>(_0x7fb267[_0x7fb267[_0x374e05(0x461)]=0x0]=_0x374e05(0x461),_0x7fb267[_0x7fb267['HELLO']=0x1]=_0x374e05(0x46b),_0x7fb267[_0x7fb267[_0x374e05(0x3fc)]=0x2]=_0x374e05(0x3fc),_0x7fb267[_0x7fb267[_0x374e05(0x480)]=0x3]=_0x374e05(0x480),_0x7fb267[_0x7fb267[_0x374e05(0x46f)]=0x4]='INGEST',_0x7fb267[_0x7fb267[_0x374e05(0x431)]=0x5]=_0x374e05(0x431),_0x7fb267[_0x7fb267['RECV']=0x6]=_0x374e05(0x196),_0x7fb267[_0x7fb267[_0x374e05(0x364)]=-0x1]=_0x374e05(0x364),_0x7fb267))(F||{}),me=(_0x1e6cf1=>(_0x1e6cf1[_0x1e6cf1[_0x374e05(0x1d9)]=0x0]=_0x374e05(0x1d9),_0x1e6cf1[_0x1e6cf1['OK']=0x1]='OK',_0x1e6cf1[_0x1e6cf1[_0x374e05(0x3aa)]=0x2]='FAIL',_0x1e6cf1[_0x1e6cf1['JOIN_ROOM_FULL']=0x3e9]='JOIN_ROOM_FULL',_0x1e6cf1[_0x1e6cf1[_0x374e05(0x237)]=0x3ea]=_0x374e05(0x237),_0x1e6cf1[_0x1e6cf1[_0x374e05(0x3e4)]=0x3eb]=_0x374e05(0x3e4),_0x1e6cf1[_0x1e6cf1[_0x374e05(0x292)]=0x3ec]=_0x374e05(0x292),_0x1e6cf1[_0x1e6cf1[_0x374e05(0x364)]=-0x1]='UNRECOGNIZED',_0x1e6cf1))(me||{}),mi=(_0x3b41b2=>(_0x3b41b2[_0x3b41b2[_0x374e05(0x42e)]=0x0]='Undefined',_0x3b41b2[_0x3b41b2[_0x374e05(0x25d)]=0x1]='HttpImport',_0x3b41b2[_0x3b41b2[_0x374e05(0x1df)]=0x2]=_0x374e05(0x1df),_0x3b41b2[_0x3b41b2[_0x374e05(0x468)]=0x3]=_0x374e05(0x468),_0x3b41b2[_0x3b41b2[_0x374e05(0x3bf)]=0x4]='UnitSnapshot',_0x3b41b2[_0x3b41b2[_0x374e05(0x262)]=0x5]='UserProfileImg',_0x3b41b2[_0x3b41b2[_0x374e05(0x364)]=-0x1]='UNRECOGNIZED',_0x3b41b2))(mi||{});const K='collaboration-client.config',Ds={};var ne=(_0x1b145f=>(_0x1b145f[_0x374e05(0x251)]=_0x374e05(0x251),_0x1b145f[_0x374e05(0x1bc)]=_0x374e05(0x1bc),_0x1b145f[_0x374e05(0x3f7)]='CONFLICT',_0x1b145f[_0x374e05(0x239)]='CLOSE_ROOM',_0x1b145f[_0x374e05(0x3dc)]='JOIN_ROOM_FAILED',_0x1b145f[_0x374e05(0x3b1)]=_0x374e05(0x3b1),_0x1b145f['SOCKET_FAILED']='SOCKET_FAILED',_0x1b145f[_0x374e05(0x1ae)]='SUBMIT_CHANGESET_TIMEOUT',_0x1b145f))(ne||{});class ve{constructor(){var _0x4a59a2=_0x374e05;N(this,_0x4a59a2(0x45a),new _0x680904()),N(this,'event$',this[_0x4a59a2(0x45a)][_0x4a59a2(0x32e)]());}[_0x374e05(0x43a)](_0x455bf7){var _0x32827a=_0x374e05;this['_event$'][_0x32827a(0x321)](_0x455bf7);}}const Us=_0x4d9e28(_0x374e05(0x417));function As(_0x54f562){var _0x2045f2=_0x374e05,_0x4baffc,_0x28dfed,_0xaa4cd5,_0x4baf72,_0x478f36;const _0x2aab25=_0x54f562[_0x2045f2(0x400)],_0x39de3d=JSON[_0x2045f2(0x38e)](_0x2aab25);switch(_0x39de3d[_0x2045f2(0x45e)]){case F[_0x2045f2(0x431)]:case F[_0x2045f2(0x46b)]:{const _0x536826=_0x39de3d[_0x2045f2(0x3fe)];return{..._0x39de3d,'data':_0x536826,'cmd':_0x39de3d[_0x2045f2(0x45e)]};}case F[_0x2045f2(0x3fc)]:{const _0x32c058=_0x39de3d[_0x2045f2(0x1db)];return{..._0x39de3d,'data':_0x32c058,'cmd':_0x39de3d[_0x2045f2(0x45e)]};}case F[_0x2045f2(0x196)]:{const _0x226203=_0x39de3d[_0x2045f2(0x30b)];switch(_0x226203[_0x2045f2(0x228)]){case _0x440e76[_0x2045f2(0x428)]:return{..._0x39de3d,'data':{..._0x226203,'data':(_0x4baffc=_0x226203['permissionRejEvent'])==null?void 0x0:_0x4baffc['cs']},'cmd':_0x39de3d[_0x2045f2(0x45e)]};case _0x440e76['CHANGESET_ACK']:return{..._0x39de3d,'data':{..._0x226203,'data':(_0x28dfed=_0x226203['csAckEvent'])==null?void 0x0:_0x28dfed['cs']},'cmd':_0x39de3d[_0x2045f2(0x45e)]};case _0x440e76[_0x2045f2(0x423)]:return{..._0x39de3d,'data':{..._0x226203,'data':(_0xaa4cd5=_0x226203['newCsEvent'])==null?void 0x0:_0xaa4cd5['cs']},'cmd':_0x39de3d['cmd']};case _0x440e76[_0x2045f2(0x1c5)]:return{..._0x39de3d,'data':{..._0x226203,'data':(_0x4baf72=_0x226203[_0x2045f2(0x3ac)])==null?void 0x0:_0x4baf72['cs']},'cmd':_0x39de3d[_0x2045f2(0x45e)]};case _0x440e76[_0x2045f2(0x23c)]:return{..._0x39de3d,'data':{..._0x226203,'data':(_0x478f36=_0x226203['csShouldRetryEvent'])==null?void 0x0:_0x478f36['cs']},'cmd':_0x39de3d[_0x2045f2(0x45e)]};case _0x440e76[_0x2045f2(0x437)]:return{..._0x39de3d,'data':{..._0x226203,'data':_0x226203[_0x2045f2(0x336)]},'cmd':_0x39de3d[_0x2045f2(0x45e)]};case _0x440e76[_0x2045f2(0x296)]:return{..._0x39de3d,'data':{..._0x226203,'data':_0x226203['joinEvent']},'cmd':_0x39de3d[_0x2045f2(0x45e)]};case _0x440e76['USERS_LEAVE']:return{..._0x39de3d,'data':{..._0x226203,'data':_0x226203[_0x2045f2(0x25a)]},'cmd':_0x39de3d[_0x2045f2(0x45e)]};case _0x440e76[_0x2045f2(0x274)]:return{..._0x39de3d,'data':{..._0x226203,'data':_0x226203['liveShareNewHost']},'cmd':_0x39de3d['cmd']};case _0x440e76[_0x2045f2(0x1f8)]:case _0x440e76[_0x2045f2(0x392)]:return{..._0x39de3d,'data':{..._0x226203,'data':_0x226203['liveShareOperation']},'cmd':_0x39de3d['cmd']};case _0x440e76[_0x2045f2(0x19b)]:return{..._0x39de3d,'data':{..._0x226203,'data':_0x226203['liveShareNewHost']},'cmd':_0x39de3d[_0x2045f2(0x45e)]};case _0x440e76['MSG_FOR_ERROR']:return{..._0x39de3d,'data':_0x226203,'cmd':_0x39de3d['cmd']};case _0x440e76[_0x2045f2(0x37f)]:return{..._0x39de3d,'data':{..._0x226203,'data':_0x226203[_0x2045f2(0x1ea)]},'cmd':_0x39de3d['cmd']};case _0x440e76[_0x2045f2(0x21a)]:return{..._0x39de3d,'data':{..._0x226203,'data':_0x226203[_0x2045f2(0x335)]},'cmd':_0x39de3d[_0x2045f2(0x45e)]};case _0x440e76[_0x2045f2(0x46c)]:return{..._0x39de3d,'data':{..._0x226203,'data':_0x226203[_0x2045f2(0x45f)]},'cmd':_0x39de3d[_0x2045f2(0x45e)]};case _0x440e76[_0x2045f2(0x22b)]:return{..._0x39de3d,'data':{..._0x226203,'data':_0x226203[_0x2045f2(0x23f)]},'cmd':_0x39de3d[_0x2045f2(0x45e)]};default:return _0x39de3d;}}default:return _0x39de3d;}}function ws(_0x46d985){var _0x273618=_0x374e05;switch(_0x46d985[_0x273618(0x45e)]){case F[_0x273618(0x431)]:case F[_0x273618(0x46b)]:return JSON[_0x273618(0x198)]({'cmd':_0x46d985[_0x273618(0x45e)],'routeKey':_0x46d985[_0x273618(0x3da)]});case F[_0x273618(0x46f)]:{let _0x357c5e;switch(_0x46d985[_0x273618(0x400)][_0x273618(0x228)]){case _0x440e76['UPDATE_CURSOR']:{_0x357c5e={'eventID':_0x440e76[_0x273618(0x437)],'updateCursorEvent':_0x46d985[_0x273618(0x400)][_0x273618(0x400)]};break;}case _0x440e76[_0x273618(0x420)]:{_0x357c5e={'eventID':_0x440e76[_0x273618(0x420)],'leaveEvent':_0x46d985[_0x273618(0x400)]['data']};break;}case _0x440e76[_0x273618(0x296)]:{_0x357c5e={'eventID':_0x440e76['USERS_ENTER'],'joinEvent':_0x46d985[_0x273618(0x400)][_0x273618(0x400)]};break;}case _0x440e76[_0x273618(0x274)]:{_0x357c5e={'eventID':_0x440e76[_0x273618(0x274)],'liveShareNewHost':_0x46d985[_0x273618(0x400)][_0x273618(0x400)]};break;}case _0x440e76['LIVESHARE_OPERATION']:{_0x357c5e={'eventID':_0x440e76[_0x273618(0x392)],'liveShareOperation':_0x46d985[_0x273618(0x400)][_0x273618(0x400)]};break;}case _0x440e76[_0x273618(0x19b)]:{_0x357c5e={'eventID':_0x440e76[_0x273618(0x19b)],'liveShareTerminate':_0x46d985['data'][_0x273618(0x400)]};break;}case _0x440e76['LIVESHARE_REQUEST_HOST']:{_0x357c5e={'eventID':_0x440e76[_0x273618(0x401)],'liveShareRequestHost':_0x46d985['data'][_0x273618(0x400)]};break;}case _0x440e76[_0x273618(0x1f8)]:{_0x357c5e={'eventID':_0x440e76[_0x273618(0x1f8)]};break;}default:_0x357c5e={'eventID':_0x46d985[_0x273618(0x400)][_0x273618(0x228)]};}return JSON[_0x273618(0x198)]({'cmd':_0x46d985['cmd'],'routeKey':_0x46d985[_0x273618(0x3da)],'collaMsg':_0x357c5e});}case F[_0x273618(0x3fc)]:return JSON['stringify']({'cmd':_0x46d985[_0x273618(0x45e)],'routeKey':_0x46d985[_0x273618(0x3da)],'joinReq':_0x46d985[_0x273618(0x400)]});case F[_0x273618(0x480)]:return JSON['stringify']({'cmd':_0x46d985['cmd'],'routeKey':_0x46d985[_0x273618(0x3da)],'leaveReq':_0x46d985[_0x273618(0x400)]});default:throw new Error('[serializeCombRequest]:\x20should\x20not\x20fall\x20into\x20default\x20branch!');}}var Ps=Object[_0x374e05(0x34f)],Ls=(_0x18f692,_0x27b06e,_0x328787,_0x30021a)=>{var _0x13ca47=_0x374e05;for(var _0x24c62e=_0x30021a>0x1?void 0x0:_0x30021a?Ps(_0x27b06e,_0x328787):_0x27b06e,_0x31cebc=_0x18f692[_0x13ca47(0x3d1)]-0x1,_0x3e430e;_0x31cebc>=0x0;_0x31cebc--)(_0x3e430e=_0x18f692[_0x31cebc])&&(_0x24c62e=_0x3e430e(_0x24c62e)||_0x24c62e);return _0x24c62e;},Ue=(_0x43ea76,_0x2890e8)=>(_0x10c1c0,_0x5ba242)=>_0x2890e8(_0x10c1c0,_0x5ba242,_0x43ea76);const gi=_0x4d9e28(_0x374e05(0x1b7));function Ms(_0x5eb9b1,_0x59fd07,_0x7bb13b){var _0x4987e4=_0x374e05;return _0x5eb9b1+'/'+_0x59fd07+_0x4987e4(0x313)+_0x7bb13b+_0x4987e4(0x267);}let Ft=class extends _0x531aaf{constructor(_0x4553bc,_0x5bcc32,_0x93701b,_0x1f4c6b,_0x2f2fa3){var _0x36ca44=_0x374e05;super(),this[_0x36ca44(0x41e)]=_0x4553bc,this[_0x36ca44(0x3d7)]=_0x5bcc32,this['_configService']=_0x93701b,this[_0x36ca44(0x41a)]=_0x1f4c6b,this[_0x36ca44(0x2d5)]=_0x2f2fa3;}['_doCreateSocket'](_0x298d01){var _0x33ce1c=_0x374e05;const _0x3caece=this[_0x33ce1c(0x41e)]['get'](_0x4d2767);if(!_0x3caece)throw new Error(_0x33ce1c(0x33b));const _0x1530bf=_0x3caece['createSocket'](_0x298d01);if(!_0x1530bf)throw new Error(_0x33ce1c(0x3bd));const _0x2b125e=new _0x25f6d2(),_0xc2e0a8=new _0x680904();_0x2b125e['add'](_0x1530bf['close$']['subscribe'](_0x545a1e=>_0xc2e0a8[_0x33ce1c(0x321)](_0x545a1e))),_0x2b125e[_0x33ce1c(0x192)](_0x4256c6(()=>_0xc2e0a8[_0x33ce1c(0x47b)]()));const _0x331fed=new _0x680904();_0x2b125e[_0x33ce1c(0x192)](_0x1530bf['error$'][_0x33ce1c(0x44b)](_0x13adf9=>_0x331fed['next'](_0x13adf9))),_0x2b125e['add'](_0x4256c6(()=>_0x331fed['complete']()));const _0x520e7a=new _0x680904();_0x2b125e[_0x33ce1c(0x192)](_0x1530bf[_0x33ce1c(0x24f)][_0x33ce1c(0x44b)](_0x20966b=>{var _0x310132=_0x33ce1c;const _0x330a6e=As(_0x20966b);_0x520e7a[_0x310132(0x321)](_0x330a6e);})),_0x2b125e['add'](_0x4256c6(()=>_0x520e7a['complete']()));let _0x4df7f8;const _0x2b947a=()=>{var _0x5be21d=_0x33ce1c;_0x331fed[_0x5be21d(0x321)](new Event(_0x5be21d(0x19f))),_0xc2e0a8[_0x5be21d(0x321)](new Event(_0x5be21d(0x19f))),_0x4df7f8[_0x5be21d(0x1c3)]();};return _0x4df7f8={'memberID':'','close$':_0xc2e0a8[_0x33ce1c(0x32e)](),'error$':_0x331fed[_0x33ce1c(0x32e)](),'open$':_0x1530bf[_0x33ce1c(0x319)],'message$':_0x520e7a[_0x33ce1c(0x32e)](),'send':_0x1ee7f8=>{var _0x17dcff=_0x33ce1c;if(_0x1ee7f8[_0x17dcff(0x45e)]===F['INGEST']){if(_0x1ee7f8[_0x17dcff(0x400)][_0x17dcff(0x228)]===_0x440e76['SUBMIT_CHANGESET']){this['_submitChangeset'](_0x4df7f8,_0x1ee7f8['data'])['catch'](_0xfd0e3a=>{var _0x5c51ee=_0x17dcff;this[_0x5c51ee(0x41a)]['error'](_0xfd0e3a),_0x2b947a();});return;}if(_0x1ee7f8['data']['eventID']===_0x440e76[_0x17dcff(0x290)]){const _0x18cd1d=_0x1ee7f8['data'];this[_0x17dcff(0x207)](_0x18cd1d)[_0x17dcff(0x1c0)](_0x2ea5c8=>{var _0x260d68=_0x17dcff;_0x520e7a[_0x260d68(0x321)]({'cmd':F[_0x260d68(0x196)],'code':me['OK'],'routeKey':_0x18cd1d[_0x260d68(0x400)][_0x260d68(0x42a)],'routeType':'','data':{'eventID':_0x440e76[_0x260d68(0x209)],'data':{'changesets':_0x2ea5c8}}});})['catch'](_0x248b1b=>{var _0x58b46b=_0x17dcff;this[_0x58b46b(0x41a)][_0x58b46b(0x1ee)](_0x248b1b),_0x2b947a();});return;}}_0x1530bf['send'](ws(_0x1ee7f8));},'close':()=>{var _0x41584b=_0x33ce1c;_0x1530bf[_0x41584b(0x1c3)](),_0x2b125e[_0x41584b(0x455)]();}},_0x4df7f8;}async[_0x374e05(0x29e)](_0x43b39a,_0x22b3e7){var _0x74675=_0x374e05,_0x5eac62,_0x5bce0c;const {unitType:_0x18507c,unitID:_0x1b19de,changeset:_0x30559e}=_0x22b3e7['data'],_0x5020e9={'unitID':_0x1b19de,'memberID':_0x43b39a[_0x74675(0x277)],'type':_0x18507c,'changeset':_0xb88801(_0x30559e)},_0x2ed3ac=this[_0x74675(0x31e)][_0x74675(0x1d8)](bs),_0x2ba60b=this[_0x74675(0x31e)]['getConfig'](K),_0x1043a7=Ms((_0x5bce0c=(_0x5eac62=_0x2ba60b==null?void 0x0:_0x2ba60b['collabSubmitChangesetUrl'])!=null?_0x5eac62:_0x2ed3ac)!=null?_0x5bce0c:Os,_0x18507c,_0x1b19de);try{await this[_0x74675(0x3d7)][_0x74675(0x3b4)](_0x1043a7,{'body':_0x5020e9});}catch(_0xa5d10c){throw this['_logService']['error'](_0x74675(0x2b3),_0x74675(0x300)),_0xa5d10c;}}async[_0x374e05(0x207)](_0x47587c){var _0x30a580=_0x374e05;const {unitID:_0x58deee,from:_0x2528ea,to:_0x5d6ba0,unitType:_0x561ef7}=_0x47587c[_0x30a580(0x400)];return(await this[_0x30a580(0x2d5)]['fetchMissingChangesets']({'metadata':void 0x0},{'unitID':_0x58deee,'type':_0x561ef7,'from':_0x2528ea,'to':_0x5d6ba0}))['changesets'];}};Ft=Ls([Ue(0x0,_0x59854e(_0x43d4c8)),Ue(0x1,_0x59854e(_0x3c791d)),Ue(0x2,_0x53268d),Ue(0x3,_0x57d59c),Ue(0x4,_0x5bd4bf)],Ft);const xs=_0x374e05(0x1a6);function ks(_0x847e68){return JSON['stringify'](_0x847e68)['length'];}class Si{constructor(){var _0x29b2b5=_0x374e05;N(this,_0x29b2b5(0x2b8),new _0x680904()),N(this,_0x29b2b5(0x29a),this[_0x29b2b5(0x2b8)][_0x29b2b5(0x32e)]());}[_0x374e05(0x3d6)](_0x4998df){var _0x193608=_0x374e05;this[_0x193608(0x2b8)]['next'](_0x4998df);}}var $s=Object[_0x374e05(0x34f)],Hs=(_0x3d63eb,_0x9f6855,_0x7c1096,_0x4e5a41)=>{var _0x5d8c52=_0x374e05;for(var _0x41094a=_0x4e5a41>0x1?void 0x0:_0x4e5a41?$s(_0x9f6855,_0x7c1096):_0x9f6855,_0x337673=_0x3d63eb[_0x5d8c52(0x3d1)]-0x1,_0x397751;_0x337673>=0x0;_0x337673--)(_0x397751=_0x3d63eb[_0x337673])&&(_0x41094a=_0x397751(_0x41094a)||_0x41094a);return _0x41094a;},Vt=(_0x1aa126,_0x574d22)=>(_0x36858b,_0x4a58f7)=>_0x574d22(_0x36858b,_0x4a58f7,_0x1aa126);let Pe=class extends _0x531aaf{constructor(_0x536268,_0x388304){var _0x197df1=_0x374e05;super(),N(this,_0x197df1(0x1dc),new Map()),N(this,_0x197df1(0x2e1),new _0x680904()),(this[_0x197df1(0x47d)]=_0x536268,this[_0x197df1(0x2fd)]=_0x388304,this[_0x197df1(0x191)](_0x338fa9(this['_univerInstanceService'][_0x197df1(0x294)](_0x3d936d[_0x197df1(0x1ac)])['pipe'](_0x516989(_0x20a367=>_0x20a367['getUnitId']())),this[_0x197df1(0x47d)][_0x197df1(0x294)](_0x3d936d[_0x197df1(0x338)])[_0x197df1(0x3a3)](_0x516989(_0x2d7d10=>_0x2d7d10[_0x197df1(0x3b2)]())),this[_0x197df1(0x47d)][_0x197df1(0x294)](_0x3d936d[_0x197df1(0x32d)])[_0x197df1(0x3a3)](_0x516989(_0x2d411b=>_0x2d411b[_0x197df1(0x3b2)]())))[_0x197df1(0x44b)](_0x3706f2=>this['_removeRoom'](_0x3706f2))));}['waitForRoom$'](_0x3bda12){var _0x53cc95=_0x374e05;return this['_roomMembers'][_0x53cc95(0x1ca)](_0x3bda12)?_0x546ff7(this[_0x53cc95(0x1dc)][_0x53cc95(0x35f)](_0x3bda12)):this[_0x53cc95(0x2e1)]['pipe'](_0x516989(_0x38cc31=>{var _0x345acf=_0x53cc95;if(_0x38cc31===_0x3bda12)return this[_0x345acf(0x1dc)]['get'](_0x38cc31);}));}['setCurrentUser'](_0x51bad6){var _0x203a1b=_0x374e05;this[_0x203a1b(0x2fd)]['setCurrentUser'](_0x51bad6);}[_0x374e05(0x29b)](){var _0x35c943=_0x374e05;return this['_userManagerService'][_0x35c943(0x29b)]();}['updateMember'](_0x154c1f,_0x44f060){var _0x33726a=_0x374e05;let _0x408513=this[_0x33726a(0x1dc)][_0x33726a(0x35f)](_0x154c1f);_0x408513||(_0x408513=new Bs(),this['_roomMembers'][_0x33726a(0x2d2)](_0x154c1f,_0x408513),this[_0x33726a(0x2e1)][_0x33726a(0x321)](_0x154c1f)),_0x408513[_0x33726a(0x2e5)](_0x44f060);}['removeMember'](_0x2e78aa,_0x5c345e){var _0x57da4f=_0x374e05;const _0x2d15da=this['_roomMembers'][_0x57da4f(0x35f)](_0x2e78aa);_0x2d15da&&_0x2d15da[_0x57da4f(0x245)](_0x5c345e);}[_0x374e05(0x1b8)](_0x1fecab){var _0xe1b558=_0x374e05;return this['_roomMembers'][_0xe1b558(0x35f)](_0x1fecab);}['getMember'](_0x2de9f6,_0xa8aff9){var _0x1a8d7f=_0x374e05;const _0x398a18=this[_0x1a8d7f(0x1dc)]['get'](_0x2de9f6);if(_0x398a18)return _0x398a18[_0x1a8d7f(0x42f)](_0xa8aff9);}[_0x374e05(0x1c8)](_0xe6069d){var _0x400462=_0x374e05;const _0x3c58a7=this['_roomMembers'][_0x400462(0x35f)](_0xe6069d);_0x3c58a7&&(_0x3c58a7['dispose'](),this[_0x400462(0x1dc)][_0x400462(0x2af)](_0xe6069d));}[_0x374e05(0x455)](){var _0xdf347f=_0x374e05;this['_roomMembers'][_0xdf347f(0x37b)](_0x184f77=>_0x184f77[_0xdf347f(0x455)]()),this[_0xdf347f(0x1dc)][_0xdf347f(0x39d)](),this['_roomCreated$'][_0xdf347f(0x47b)]();}};Pe=Hs([Vt(0x0,_0xdbe7af),Vt(0x1,_0x59854e(_0x3f909c))],Pe);class Bs extends _0x531aaf{constructor(){var _0x388f28=_0x374e05;super(...arguments),N(this,_0x388f28(0x37e),new Map()),N(this,_0x388f28(0x2f5),new _0x50c941(this[_0x388f28(0x37e)])),N(this,'members$',this[_0x388f28(0x2f5)]['asObservable']());}['dispose'](){var _0x50ca71=_0x374e05;this[_0x50ca71(0x37e)][_0x50ca71(0x39d)]();}[_0x374e05(0x2e5)](_0x356142){var _0x5604f1=_0x374e05;this[_0x5604f1(0x37e)][_0x5604f1(0x2d2)](_0x356142[_0x5604f1(0x277)],_0x356142),this[_0x5604f1(0x1ab)]();}[_0x374e05(0x245)](_0x47be10){var _0x239362=_0x374e05;this['_members'][_0x239362(0x2af)](_0x47be10);}[_0x374e05(0x42f)](_0x306092){var _0x11e3e9=_0x374e05;return this[_0x11e3e9(0x37e)][_0x11e3e9(0x35f)](_0x306092);}['getAllMembers'](){var _0x33ea21=_0x374e05;return Array[_0x33ea21(0x20a)](this[_0x33ea21(0x37e)]['values']());}[_0x374e05(0x1ab)](){var _0x326eba=_0x374e05;this[_0x326eba(0x2f5)][_0x326eba(0x321)](this[_0x326eba(0x37e)]);}}var js=Object[_0x374e05(0x34f)],Fs=(_0x436615,_0x566d79,_0x4bab9d,_0x157897)=>{var _0x55eee7=_0x374e05;for(var _0x19da62=_0x157897>0x1?void 0x0:_0x157897?js(_0x566d79,_0x4bab9d):_0x566d79,_0x3aeae7=_0x436615[_0x55eee7(0x3d1)]-0x1,_0x1f15e2;_0x3aeae7>=0x0;_0x3aeae7--)(_0x1f15e2=_0x436615[_0x3aeae7])&&(_0x19da62=_0x1f15e2(_0x19da62)||_0x19da62);return _0x19da62;},pe=(_0x52b222,_0x3e11d2)=>(_0x10c43e,_0x39540b)=>_0x3e11d2(_0x10c43e,_0x39540b,_0x52b222),Se=(_0x411256=>(_0x411256[_0x411256[_0x374e05(0x2d8)]=0x0]='IDLE',_0x411256[_0x411256[_0x374e05(0x1f3)]=0x1]=_0x374e05(0x1f3),_0x411256[_0x411256[_0x374e05(0x22d)]=0x2]=_0x374e05(0x22d),_0x411256[_0x411256[_0x374e05(0x479)]=0x3]=_0x374e05(0x479),_0x411256))(Se||{});const Gt={[me[_0x374e05(0x3aa)]]:_0x374e05(0x261),[me['JOIN_ROOM_FULL']]:_0x374e05(0x2ce),[me[_0x374e05(0x237)]]:_0x374e05(0x394),[me[_0x374e05(0x3e4)]]:_0x374e05(0x3cc),[me[_0x374e05(0x292)]]:'session.room-cnt-exceeds'};let gt=class extends _0x374f4f{constructor(_0x17b602,_0x28f29d,_0x3995b5,_0x266b45,_0x24b556,_0x1a43fa,_0x4f5338,_0x54bf0c,_0x4e8180){var _0x5c86c3=_0x374e05;super(),N(this,'_sessionStatus$',new _0x50c941(0x0)),N(this,'sessionStatus$',this[_0x5c86c3(0x371)][_0x5c86c3(0x32e)]()),N(this,'_event$',new _0x680904()),N(this,_0x5c86c3(0x2e8),this['_event$'][_0x5c86c3(0x32e)]()),N(this,_0x5c86c3(0x34b)),N(this,'_socketMessageSubscription'),N(this,_0x5c86c3(0x1b0)),N(this,_0x5c86c3(0x3ae),!0x1),N(this,_0x5c86c3(0x1e5),null),(this['_unitID']=_0x17b602,this['_logService']=_0x3995b5,this[_0x5c86c3(0x31e)]=_0x266b45,this[_0x5c86c3(0x320)]=_0x24b556,this['_memberService']=_0x1a43fa,this[_0x5c86c3(0x3e2)]=_0x4f5338,this[_0x5c86c3(0x358)]=_0x54bf0c,this['_telemetryService']=_0x4e8180,this[_0x5c86c3(0x3ae)]=!!this[_0x5c86c3(0x210)],_0x28f29d[_0x5c86c3(0x3a3)](_0x12c15b(this[_0x5c86c3(0x2a3)]))[_0x5c86c3(0x44b)](_0x308ef1=>{var _0x3090a9=_0x5c86c3,_0x511563;typeof _0x308ef1>'u'||(this[_0x3090a9(0x34b)]=_0x308ef1,_0x308ef1?(this['_joinRoom'](_0x308ef1),this[_0x3090a9(0x2e6)]=_0x308ef1[_0x3090a9(0x24f)][_0x3090a9(0x44b)](_0x3bd32a=>{var _0x3d6132=_0x3090a9;_0x3bd32a[_0x3d6132(0x3da)]===this['_unitID']&&this['_onCombEvent'](_0x3bd32a);})):(this[_0x3090a9(0x3e3)](),this['_sessionStatus$'][_0x3090a9(0x321)](0x2),(_0x511563=this['_socketMessageSubscription'])==null||_0x511563[_0x3090a9(0x3b5)](),this['_socketMessageSubscription']=null));}));}get[_0x374e05(0x1a8)](){var _0x47e4f2=_0x374e05;return this[_0x47e4f2(0x371)][_0x47e4f2(0x369)]();}[_0x374e05(0x2a9)](){var _0x5aee7f=_0x374e05,_0x52b0d8,_0x2f7bb4;return(_0x2f7bb4=(_0x52b0d8=this[_0x5aee7f(0x34b)])==null?void 0x0:_0x52b0d8[_0x5aee7f(0x277)])!=null?_0x2f7bb4:null;}['dispose'](){var _0xca5b7b=_0x374e05;super[_0xca5b7b(0x455)](),this[_0xca5b7b(0x2a3)][_0xca5b7b(0x321)](),this[_0xca5b7b(0x2a3)][_0xca5b7b(0x47b)]();}[_0x374e05(0x1c3)](){var _0x271be3=_0x374e05,_0x417f41,_0x35187a;this[_0x271be3(0x3e3)](),(_0x417f41=this['_socket'])==null||_0x417f41[_0x271be3(0x23e)]({'cmd':F[_0x271be3(0x480)],'data':{'roomID':this[_0x271be3(0x47a)]}}),(_0x35187a=this[_0x271be3(0x34b)])==null||_0x35187a[_0x271be3(0x1c3)](),this[_0x271be3(0x45a)][_0x271be3(0x47b)](),this[_0x271be3(0x371)][_0x271be3(0x47b)](),this[_0x271be3(0x455)]();}[_0x374e05(0x3e1)](_0x31189e){var _0x3f0c74=_0x374e05;_0x31189e[_0x3f0c74(0x45e)]===F['JOIN']?this[_0x3f0c74(0x462)](_0x31189e):_0x31189e[_0x3f0c74(0x45e)]===F[_0x3f0c74(0x196)]&&this[_0x3f0c74(0x275)](_0x31189e);}[_0x374e05(0x2cb)](_0x2ccd89){var _0x51223e=_0x374e05;this[_0x51223e(0x371)][_0x51223e(0x321)](0x1),_0x2ccd89[_0x51223e(0x23e)]({'cmd':F[_0x51223e(0x3fc)],'routeKey':this[_0x51223e(0x47a)],'routeType':'','data':{'rooms':[{'roomID':this['_unitID']}]}});}['_onJoinRoomEvent'](_0x28ded2){var _0x1070fa=_0x374e05,_0xa47e1c;if(_0x28ded2[_0x1070fa(0x28c)]in Gt){this[_0x1070fa(0x358)][_0x1070fa(0x43a)]({'id':ne[_0x1070fa(0x3dc)],'data':Gt[_0x28ded2[_0x1070fa(0x28c)]]}),this[_0x1070fa(0x371)]['next'](0x2);return;}this[_0x1070fa(0x371)][_0x1070fa(0x321)](0x3);const _0x3910ff=(_0xa47e1c=_0x28ded2[_0x1070fa(0x400)]['roomInfos'][this[_0x1070fa(0x47a)]])==null?void 0x0:_0xa47e1c['members'];_0x3910ff&&_0x3910ff['forEach'](_0x43607e=>this[_0x1070fa(0x40b)][_0x1070fa(0x2e5)](this['_unitID'],_0x43607e));}[_0x374e05(0x275)](_0xeb54e0){var _0x195687=_0x374e05;try{const _0x432840=_0xeb54e0[_0x195687(0x400)];switch(_0x432840[_0x195687(0x228)]){case _0x440e76['USERS_ENTER']:this['_onUserJoin'](_0x432840),this[_0x195687(0x45a)]['next'](_0x432840);break;case _0x440e76[_0x195687(0x420)]:this[_0x195687(0x26c)](_0x432840),this[_0x195687(0x45a)][_0x195687(0x321)](_0x432840);break;case _0x440e76[_0x195687(0x1fa)]:case _0x440e76['CHANGESET_SHOULD_RETRY']:this[_0x195687(0x3c8)](),this[_0x195687(0x365)](),this[_0x195687(0x45a)][_0x195687(0x321)](_0x432840);break;case _0x440e76[_0x195687(0x446)]:this[_0x195687(0x41a)][_0x195687(0x1ee)](_0x195687(0x250)+JSON['stringify'](_0x432840)),this['_event$'][_0x195687(0x321)](_0x432840);break;case _0x440e76[_0x195687(0x37f)]:this['_commentService'][_0x195687(0x3d6)](_0x432840[_0x195687(0x400)]),this['_event$'][_0x195687(0x321)](_0x432840);break;default:this[_0x195687(0x45a)][_0x195687(0x321)](_0x432840);}}catch(_0x22f76e){this[_0x195687(0x41a)]['error'](_0x22f76e,_0xeb54e0);}}[_0x374e05(0x447)](_0x46ad73){var _0x2aac7a=_0x374e05;this[_0x2aac7a(0x40b)][_0x2aac7a(0x2e5)](this[_0x2aac7a(0x47a)],_0x46ad73[_0x2aac7a(0x400)]);}['_onUserLeave'](_0x1d990f){var _0x556049=_0x374e05;this[_0x556049(0x40b)][_0x556049(0x245)](this[_0x556049(0x47a)],_0x1d990f['data'][_0x556049(0x277)]);}async[_0x374e05(0x23e)](_0x5eb92d,_0x56a7c6){var _0x611892=_0x374e05;if(this[_0x611892(0x1a8)]!==0x3||!this[_0x611892(0x34b)])throw new Error(_0x611892(0x2b9));try{_0x5eb92d[_0x611892(0x228)]===_0x440e76[_0x611892(0x481)]&&(this['_scheduleCollaborationTimeoutTimer'](),this[_0x611892(0x398)](_0x5eb92d)),this[_0x611892(0x34b)][_0x611892(0x23e)]({'cmd':F['INGEST'],'routeKey':_0x56a7c6,'routeType':'','data':_0x5eb92d});}catch(_0x2229db){this[_0x611892(0x41a)][_0x611892(0x1ee)](_0x2229db);}}[_0x374e05(0x2d7)](){var _0x2c84af=_0x374e05,_0x1acc91;this[_0x2c84af(0x1b0)]=setTimeout(()=>{var _0x30549e=_0x2c84af;this[_0x30549e(0x1b0)]=null,this[_0x30549e(0x358)]['emitEvent']({'id':ne[_0x30549e(0x1ae)]});},(_0x1acc91=this[_0x2c84af(0x31e)][_0x2c84af(0x1d8)](fi))!=null?_0x1acc91:vi);}['_clearCollaborationTimeoutTimer'](){var _0x409a63=_0x374e05;this['_collaborationTimeoutTimer']&&(clearTimeout(this[_0x409a63(0x1b0)]),this['_collaborationTimeoutTimer']=null);}[_0x374e05(0x398)](_0x5b57fc){var _0x3cd41b=_0x374e05;if(!this[_0x3cd41b(0x3ae)])return;const {data:_0x2d5d2f}=_0x5b57fc,{unitID:_0x4d94c2,changeset:_0x1e536f}=_0x2d5d2f,{mutations:_0x2ce59a,type:_0x54c0a7}=_0x1e536f;this[_0x3cd41b(0x1e5)]={'unitId':_0x4d94c2,'type':_0x54c0a7,'startTime':performance[_0x3cd41b(0x3f5)](),'stopTime':0x0,'duration':0x0,'size':ks(_0x2ce59a)};}[_0x374e05(0x3c8)](){var _0xb9c13f=_0x374e05;if(this['_shouldReportTelemetry']){if(!this[_0xb9c13f(0x1e5)]){this[_0xb9c13f(0x41a)]['error'](_0xb9c13f(0x2b3),_0xb9c13f(0x3b8));return;}this[_0xb9c13f(0x1e5)]['stopTime']=performance['now'](),this[_0xb9c13f(0x1e5)][_0xb9c13f(0x3a8)]=this[_0xb9c13f(0x1e5)]['stopTime']-this[_0xb9c13f(0x1e5)][_0xb9c13f(0x1e2)],this[_0xb9c13f(0x210)]['capture'](xs,this[_0xb9c13f(0x1e5)]),this[_0xb9c13f(0x1e5)]=null;}}[_0x374e05(0x3e3)](){this['_telemetryInfo']=null;}};gt=Fs([pe(0x2,_0x57d59c),pe(0x3,_0x53268d),pe(0x4,_0x59854e(_0x1725ed)),pe(0x5,_0x59854e(Pe)),pe(0x6,_0x59854e(Si)),pe(0x7,_0x59854e(ve)),pe(0x8,_0x2ed8f6(_0x521b29))],gt);var Vs=Object[_0x374e05(0x34f)],Gs=(_0xc42eb5,_0xf9ab41,_0x21132e,_0x43edb2)=>{for(var _0x9adae4=_0x43edb2>0x1?void 0x0:_0x43edb2?Vs(_0xf9ab41,_0x21132e):_0xf9ab41,_0x2a3a62=_0xc42eb5['length']-0x1,_0x264624;_0x2a3a62>=0x0;_0x2a3a62--)(_0x264624=_0xc42eb5[_0x2a3a62])&&(_0x9adae4=_0x264624(_0x9adae4)||_0x9adae4);return _0x9adae4;},Re=(_0x51d941,_0x2e890e)=>(_0x4c289f,_0x4619e5)=>_0x2e890e(_0x4c289f,_0x4619e5,_0x51d941);let Le=class extends _0x531aaf{constructor(_0xaed1e9,_0x6613df,_0x24de96,_0xeb4e3b,_0x177695,_0x5f549){var _0x621d3f=_0x374e05;super(),N(this,_0x621d3f(0x328),new _0x50c941(void 0x0)),N(this,'socket$',this[_0x621d3f(0x328)][_0x621d3f(0x32e)]()),N(this,_0x621d3f(0x246),null),N(this,_0x621d3f(0x232),new Map()),N(this,'_status$',new _0x50c941(Se[_0x621d3f(0x2d8)])),N(this,_0x621d3f(0x1b5),this['_status$'][_0x621d3f(0x32e)]()),N(this,'_socketReady',!0x1),N(this,'_retryConnectingTimer'),N(this,'_retryCount',0x0),N(this,_0x621d3f(0x484)),N(this,_0x621d3f(0x18c)),(this['_injector']=_0xaed1e9,this[_0x621d3f(0x41a)]=_0x6613df,this[_0x621d3f(0x31e)]=_0x24de96,this[_0x621d3f(0x311)]=_0xeb4e3b,this[_0x621d3f(0x358)]=_0x177695,this[_0x621d3f(0x385)]=_0x5f549,this[_0x621d3f(0x2bb)]());}get[_0x374e05(0x34b)](){var _0x215fa8=_0x374e05;return this[_0x215fa8(0x328)][_0x215fa8(0x369)]();}[_0x374e05(0x2bb)](){var _0x61c709=_0x374e05;this[_0x61c709(0x385)]&&this[_0x61c709(0x191)](this[_0x61c709(0x385)][_0x61c709(0x45b)][_0x61c709(0x44b)](_0x31ed68=>{var _0x186191=_0x61c709;_0x31ed68&&!this[_0x186191(0x34b)]&&this['reconnect'](),_0x31ed68||this[_0x186191(0x2d4)]();}));}[_0x374e05(0x455)](){var _0x2e3947=_0x374e05;super[_0x2e3947(0x455)](),this[_0x2e3947(0x459)](),this[_0x2e3947(0x2df)](),this[_0x2e3947(0x3bb)](),this[_0x2e3947(0x232)][_0x2e3947(0x37b)](_0x1c9356=>_0x1c9356[_0x2e3947(0x455)]()),this[_0x2e3947(0x232)][_0x2e3947(0x39d)](),this['_status$'][_0x2e3947(0x47b)]();}async[_0x374e05(0x3d4)](_0x1b2f4a){var _0x443231=_0x374e05;if(this['_sessions']['has'](_0x1b2f4a))return this[_0x443231(0x232)][_0x443231(0x35f)](_0x1b2f4a);this[_0x443231(0x478)]();const _0x1f5b1a=this[_0x443231(0x41e)][_0x443231(0x1ce)](gt,_0x1b2f4a,this[_0x443231(0x328)][_0x443231(0x32e)]());return this[_0x443231(0x232)][_0x443231(0x2d2)](_0x1b2f4a,_0x1f5b1a),_0x1f5b1a;}[_0x374e05(0x317)](_0x1ed5db){var _0x2d84df=_0x374e05,_0x51eb60;const _0x331928=this[_0x2d84df(0x232)]['get'](_0x1ed5db);_0x331928&&(this[_0x2d84df(0x232)][_0x2d84df(0x2af)](_0x1ed5db),_0x331928['close']()),this[_0x2d84df(0x232)]['size']||(_0x51eb60=this[_0x2d84df(0x34b)])==null||_0x51eb60['close']();}[_0x374e05(0x255)](){var _0x4e931e=_0x374e05;this[_0x4e931e(0x2be)]=0x0,this[_0x4e931e(0x459)](),this[_0x4e931e(0x2cf)]();}[_0x374e05(0x459)](){var _0x30775f=_0x374e05;this[_0x30775f(0x2d1)]!=null&&(clearTimeout(this['_retryConnectingTimer']),this[_0x30775f(0x2d1)]=null);}async[_0x374e05(0x325)](){var _0x1b2622=_0x374e05,_0x5494e2,_0x692d47;const _0x215722=this[_0x1b2622(0x31e)][_0x1b2622(0x1d8)](gs),_0x1b1a3b=this['_configService']['getConfig'](K),_0x2339c3=(_0x692d47=(_0x5494e2=_0x1b1a3b==null?void 0x0:_0x1b1a3b[_0x1b2622(0x212)])!=null?_0x5494e2:_0x215722)!=null?_0x692d47:Ss,_0x5afb51=await this[_0x1b2622(0x311)][_0x1b2622(0x3dd)](_0x2339c3);return this[_0x1b2622(0x246)]=_0x5afb51,_0x5afb51;}async[_0x374e05(0x478)](){var _0x38a2d6=_0x374e05,_0x2e5ca9,_0x590d98;try{const _0x25c76b=(_0x590d98=(_0x2e5ca9=this[_0x38a2d6(0x34b)])!=null?_0x2e5ca9:this[_0x38a2d6(0x246)])!=null?_0x590d98:await this[_0x38a2d6(0x325)]();if(_0x25c76b){const _0x1dfddf=_0x25c76b[_0x38a2d6(0x23e)];_0x25c76b[_0x38a2d6(0x23e)]=_0x485058=>(this['_rescheduleHeartbeat'](),_0x1dfddf[_0x38a2d6(0x2dd)](_0x25c76b,[_0x485058])),_0x25c76b['message$']['subscribe'](_0x3af005=>this['_onMessage'](_0x25c76b,_0x3af005)),_0x25c76b[_0x38a2d6(0x291)][_0x38a2d6(0x3a3)](_0x5d9856(0x1))['subscribe'](_0x2252bb=>this[_0x38a2d6(0x41a)]['error']('[CollaborationSessionService]:\x20socket\x20error',_0x2252bb)),_0x25c76b[_0x38a2d6(0x319)]['pipe'](_0x5d9856(0x1))[_0x38a2d6(0x44b)](()=>{var _0x2dcb1d=_0x38a2d6;this[_0x2dcb1d(0x1b4)](_0x25c76b);}),_0x25c76b[_0x38a2d6(0x450)]['pipe'](_0x5d9856(0x1))[_0x38a2d6(0x44b)](_0x552c7f=>{var _0x242cc7=_0x38a2d6;this[_0x242cc7(0x41a)][_0x242cc7(0x1dd)](_0x242cc7(0x2d3),_0x242cc7(0x37c),_0x552c7f),this[_0x242cc7(0x2b7)]();});}}catch(_0x520cdc){this['_logService'][_0x38a2d6(0x1ee)](_0x520cdc),this[_0x38a2d6(0x2b7)]();}}[_0x374e05(0x1b4)](_0x32ef04){var _0x1e366a=_0x374e05;this[_0x1e366a(0x41a)][_0x1e366a(0x1dd)](_0x1e366a(0x2d3),_0x1e366a(0x3a5)),_0x32ef04['send']({'cmd':F['HELLO']}),this[_0x1e366a(0x2f9)]();}[_0x374e05(0x2d4)](){var _0x1d9bd4=_0x374e05;this['_socketReady']=!0x1,this[_0x1d9bd4(0x246)]=null,this[_0x1d9bd4(0x29d)][_0x1d9bd4(0x321)](Se['OFFLINE']),this[_0x1d9bd4(0x328)][_0x1d9bd4(0x321)](null),this[_0x1d9bd4(0x2df)](),this['_clearHeartbeatTimer']();}[_0x374e05(0x2b7)](){var _0x21d477=_0x374e05,_0x4d4847;this[_0x21d477(0x2d4)](),this[_0x21d477(0x2be)]<((_0x4d4847=this[_0x21d477(0x31e)]['getConfig'](Cs))!=null?_0x4d4847:Rs)?(this[_0x21d477(0x358)][_0x21d477(0x43a)]({'id':ne[_0x21d477(0x3b1)]}),this[_0x21d477(0x2cf)]()):this[_0x21d477(0x358)][_0x21d477(0x43a)]({'id':ne[_0x21d477(0x205)]});}['_tryReconnect'](){var _0x11bdca=_0x374e05,_0x3db052;const _0x363f75=this[_0x11bdca(0x2be)],_0x2042de=this[_0x11bdca(0x31e)]['getConfig'](K),_0x16df8d=_0x363f75===0x0?0x0:((_0x3db052=_0x2042de==null?void 0x0:_0x2042de[_0x11bdca(0x265)])!=null?_0x3db052:Ts)*0x2**_0x363f75;this[_0x11bdca(0x2d1)]=setTimeout(()=>{var _0x3557ad=_0x11bdca;clearTimeout(this[_0x3557ad(0x2d1)]),this[_0x3557ad(0x2d1)]=null,this[_0x3557ad(0x478)]();},_0x16df8d),this[_0x11bdca(0x2be)]+=0x1;}[_0x374e05(0x1a3)](_0x2df9ed,_0x3fd900){var _0x182b61=_0x374e05;const {cmd:_0x3fd20b}=_0x3fd900;_0x3fd20b===F[_0x182b61(0x46b)]&&!this[_0x182b61(0x222)]&&(_0x2df9ed[_0x182b61(0x277)]=_0x3fd900[_0x182b61(0x400)][_0x182b61(0x277)],this[_0x182b61(0x328)][_0x182b61(0x321)](_0x2df9ed),this['_status$'][_0x182b61(0x321)](Se['ONLINE']),this['_socketReady']=!0x0,this[_0x182b61(0x246)]=null),_0x3fd20b===F[_0x182b61(0x431)]&&this[_0x182b61(0x2df)](),this[_0x182b61(0x2f9)]();}['_rescheduleHeartbeat'](){var _0x185284=_0x374e05,_0x3cb234;this['_clearHeartbeatTimer'](),this[_0x185284(0x484)]=setTimeout(()=>this['_sendHeartbeat'](),(_0x3cb234=this[_0x185284(0x31e)][_0x185284(0x1d8)](Es))!=null?_0x3cb234:Is);}['_sendHeartbeat'](){var _0x5c653a=_0x374e05;this[_0x5c653a(0x34b)][_0x5c653a(0x23e)]({'cmd':F['HEARTBEAT']}),this['_waitForHeartbeatResponse']();}['_waitForHeartbeatResponse'](){var _0x306d13=_0x374e05,_0x898186;this[_0x306d13(0x18c)]=setTimeout(()=>this[_0x306d13(0x2b7)](),(_0x898186=this['_configService'][_0x306d13(0x1d8)](fi))!=null?_0x898186:vi);}[_0x374e05(0x3bb)](){var _0x354fee=_0x374e05;this[_0x354fee(0x484)]!=null&&(clearTimeout(this[_0x354fee(0x484)]),this[_0x354fee(0x484)]=null);}[_0x374e05(0x2df)](){var _0x6c8bb8=_0x374e05;this[_0x6c8bb8(0x18c)]!=null&&(clearTimeout(this['_timeoutTimer']),this[_0x6c8bb8(0x18c)]=null);}};Le=Gs([Re(0x0,_0x59854e(_0x43d4c8)),Re(0x1,_0x57d59c),Re(0x2,_0x53268d),Re(0x3,gi),Re(0x4,_0x59854e(ve)),Re(0x5,_0x2ed8f6(Us))],Le);const J=_0x4d9e28(_0x374e05(0x3de));function Pr(_0x4abbc6){return'unit-cache-'+_0x4abbc6;}var Ws=Object[_0x374e05(0x34f)],Ys=(_0x3aefc2,_0x3a41bb,_0x2c2ba2,_0xd463c7)=>{var _0xd0b65a=_0x374e05;for(var _0x3d2b51=_0xd463c7>0x1?void 0x0:_0xd463c7?Ws(_0x3a41bb,_0x2c2ba2):_0x3a41bb,_0x580fb5=_0x3aefc2[_0xd0b65a(0x3d1)]-0x1,_0x4f966c;_0x580fb5>=0x0;_0x580fb5--)(_0x4f966c=_0x3aefc2[_0x580fb5])&&(_0x3d2b51=_0x4f966c(_0x3d2b51)||_0x3d2b51);return _0x3d2b51;},ut=(_0x4f30b9,_0x7bc3ea)=>(_0x483d75,_0x4888d6)=>_0x7bc3ea(_0x483d75,_0x4888d6,_0x4f30b9);function Ks(_0x4a8c5a){var _0x16b931=_0x374e05;const {unitID:_0x395fa1,mutations:_0x50a9b9}=_0x4a8c5a;return{'unitId':_0x395fa1,'subUnitId':_0x50a9b9[0x0]['params'][_0x16b931(0x1e9)]};}let it=class{constructor(_0x5357d3,_0x472f28,_0x1b97f6){var _0x43bb93=_0x374e05;this[_0x43bb93(0x41e)]=_0x5357d3,this['_transformService']=_0x472f28,this['_instanceService']=_0x1b97f6;}[_0x374e05(0x330)](_0x5c35e1){var _0x3bac13=_0x374e05,_0x444ebb,_0x31fcad,_0x3a951c,_0x46a5c2;const _0x27717e=this['_injector'][_0x3bac13(0x35f)](_0x3829e4),{unitId:_0x1d9561,subUnitId:_0x4d157a}=Ks(_0x5c35e1),_0x4c59af=_0x27717e==null?void 0x0:_0x27717e[_0x3bac13(0x2c5)](_0x1d9561)['getCurrentSelections'](),_0x3503e7=(_0x31fcad=(_0x444ebb=this[_0x3bac13(0x3f1)][_0x3bac13(0x409)](_0x1d9561))==null?void 0x0:_0x444ebb['getActiveSheet']())==null?void 0x0:_0x31fcad['getSheetId']();if(_0x4c59af[_0x3bac13(0x3d1)]===0x0||!_0x1d9561||!_0x4d157a)return;const _0x503903=[{'id':_0xce7f28['id'],'params':{'unitId':_0x1d9561,'subUnitId':_0x3503e7,'selections':_0x2d22fb[_0x3bac13(0x2f2)](_0x4c59af)}}],_0x220fea=this['_transformService'][_0x3bac13(0x30d)](_0x5c35e1,_0x503903);if(!_0x17ca45(_0x220fea))throw _0x220fea[_0x3bac13(0x1ee)];const _0x2343e6=(_0x46a5c2=(_0x3a951c=_0x220fea['m2Prime'][0x0])==null?void 0x0:_0x3a951c[_0x3bac13(0x1f6)])==null?void 0x0:_0x46a5c2[_0x3bac13(0x440)];if(Array[_0x3bac13(0x1cc)](_0x2343e6)&&_0x2343e6[_0x3bac13(0x3d1)]){if(_0x2343e6[_0x3bac13(0x3d1)]===_0x503903[0x0][_0x3bac13(0x1f6)][_0x3bac13(0x440)][_0x3bac13(0x3d1)]&&_0x2343e6[_0x3bac13(0x427)]((_0x4945d9,_0xb25250)=>_0x16f56c[_0x3bac13(0x2b2)](_0x4945d9['range'],_0x503903[0x0]['params']['selections'][_0xb25250][_0x3bac13(0x43f)])))return;this[_0x3bac13(0x41e)][_0x3bac13(0x35f)](_0x4ad308)[_0x3bac13(0x3c0)](_0xce7f28['id'],{'unitId':_0x1d9561,'subUnitId':_0x3503e7,'selections':_0x2343e6});}}};it=Ys([ut(0x0,_0x59854e(_0x43d4c8)),ut(0x1,_0x3b110b),ut(0x2,_0xdbe7af)],it);const ht=_0x4d9e28(_0x374e05(0x27f));var Ei=(_0x2cf9ab=>(_0x2cf9ab[_0x2cf9ab[_0x374e05(0x303)]=0x0]=_0x374e05(0x303),_0x2cf9ab[_0x2cf9ab[_0x374e05(0x3a2)]=0x1]=_0x374e05(0x3a2),_0x2cf9ab))(Ei||{});const qs=new Set([_0x5c0a1a['id']]);function Wt(_0x5b3cf9,_0x369431,_0x68499c,_0x58a023,_0x5893a2){var _0x4d9e3=_0x374e05,_0x50cccf,_0x6eb7c5,_0x4c99d1,_0x460951;const _0x4f44f0=[];for(const _0x19a392 of _0x5b3cf9)if(qs[_0x4d9e3(0x1ca)](_0x19a392['id'])){if(_0x4f44f0['length']>0x0)break;_0x4f44f0['push'](_0x19a392);break;}else _0x4f44f0['push'](_0x19a392);const _0x51d009=(_0x6eb7c5=(_0x50cccf=_0x5893a2[_0x4d9e3(0x29b)]())==null?void 0x0:_0x50cccf[_0x4d9e3(0x395)])!=null?_0x6eb7c5:'unknown',_0x5d6fa2=(_0x460951=(_0x4c99d1=_0x5893a2[_0x4d9e3(0x29b)]())==null?void 0x0:_0x4c99d1['memberID'])!=null?_0x460951:_0x4d9e3(0x27b);return{'changeset':{'unitID':_0x369431,'type':_0x468592(_0x68499c[_0x4d9e3(0x3f4)](_0x369431)),'baseRev':_0x58a023[_0x4d9e3(0x1a4)](_0x369431),'revision':0x0,'userID':_0x51d009,'memberID':_0x5d6fa2,'mutations':_0x4f44f0},'pendingMutations':_0x5b3cf9[_0x4d9e3(0x416)](_0x4f44f0[_0x4d9e3(0x3d1)])};}function zs(_0x294509,_0x1d1385,_0x4201b2,_0x56fba8,_0x341290){var _0x56ed20=_0x374e05,_0x368975,_0x16084b,_0x482295,_0x1d082b;const _0x44aa0a=[_0x294509[_0x56ed20(0x360)]((_0x128013,_0x168ff1)=>{var _0xc7197f=_0x56ed20,_0x3347f2;const {id:_0x3967fb}=_0x128013,{id:_0xe058,type:_0x3495f5}=_0x168ff1,_0x52ace2=(_0x3347f2=_0x128013[_0xc7197f(0x1f6)])!=null?_0x3347f2:{'actions':null},_0x3b0da6=_0x168ff1[_0xc7197f(0x1f6)];if(_0x3967fb&&_0x3967fb!==_0xe058)throw new Error('Cannot\x20assemble\x20a\x20changeset\x20from\x20multiple\x20mutations\x20of\x20different\x20types:\x20'+_0x3967fb+_0xc7197f(0x334)+_0xe058+'.');return{..._0x128013,'id':_0xe058,'type':_0x3495f5,'params':{'unitId':_0x3b0da6[_0xc7197f(0x221)],'textRanges':_0x3b0da6[_0xc7197f(0x2ae)],'actions':_0x9ab3b2['compose'](_0x52ace2[_0xc7197f(0x1a0)],_0x3b0da6[_0xc7197f(0x1a0)])}};},{})],_0x43913c=(_0x16084b=(_0x368975=_0x341290['getCurrentUser']())==null?void 0x0:_0x368975['userID'])!=null?_0x16084b:_0x56ed20(0x27b),_0x40ae37=(_0x1d082b=(_0x482295=_0x341290[_0x56ed20(0x29b)]())==null?void 0x0:_0x482295['memberID'])!=null?_0x1d082b:_0x56ed20(0x27b);return{'changeset':{'unitID':_0x1d1385,'type':_0x468592(_0x4201b2[_0x56ed20(0x3f4)](_0x1d1385)),'baseRev':_0x56fba8['getCurrentRevOfUnit'](_0x1d1385),'revision':0x0,'userID':_0x43913c,'memberID':_0x40ae37,'mutations':_0x44aa0a},'pendingMutations':[]};}function Ii(_0x209fe2,_0x4dc834){var _0x1afd39=_0x374e05;const _0x1b79c5=new _0x1b8130(0x1);return setTimeout(()=>_0x1b79c5[_0x1afd39(0x321)](_0x4dc834),_0x209fe2),_0x1b79c5[_0x1afd39(0x32e)]()['pipe'](_0x1eeb94(0x1));}const Js={'id':_0x9bfa95['id'],'type':_0x1fcea5[_0x374e05(0x345)],'params':{}};var Xs=Object['getOwnPropertyDescriptor'],Ie=(_0x12e5fc,_0x373609,_0x3c6d00,_0x5c0e0d)=>{var _0x3d3152=_0x374e05;for(var _0x4d6e8f=_0x5c0e0d>0x1?void 0x0:_0x5c0e0d?Xs(_0x373609,_0x3c6d00):_0x373609,_0x31534b=_0x12e5fc[_0x3d3152(0x3d1)]-0x1,_0x197090;_0x31534b>=0x0;_0x31534b--)(_0x197090=_0x12e5fc[_0x31534b])&&(_0x4d6e8f=_0x197090(_0x4d6e8f)||_0x4d6e8f);return _0x4d6e8f;},P=(_0x640e1,_0x1626cf)=>(_0x4010bc,_0x2050fa)=>_0x1626cf(_0x4010bc,_0x2050fa,_0x640e1),Ti=(_0x28b00e=>(_0x28b00e[_0x374e05(0x35c)]=_0x374e05(0x41f),_0x28b00e[_0x374e05(0x20b)]=_0x374e05(0x305),_0x28b00e[_0x374e05(0x438)]=_0x374e05(0x37a),_0x28b00e['AWAITING']=_0x374e05(0x213),_0x28b00e[_0x374e05(0x46d)]=_0x374e05(0x3fd),_0x28b00e['FETCH_MISS']='fetch_missing',_0x28b00e['CONFLICT']='conflict',_0x28b00e['OFFLINE']=_0x374e05(0x1f1),_0x28b00e))(Ti||{});const Ci=0xea60;class Te{constructor(_0x178b8a,_0x1a1397,_0x5305b9,_0x85edc4,_0x47b61d,_0x14edc,_0x3073c0,_0x2181ad,_0x26cb2c){var _0x3eee00=_0x374e05;N(this,_0x3eee00(0x3ec),null),N(this,_0x3eee00(0x387),[]),(this['unitID']=_0x178b8a,this[_0x3eee00(0x217)]=_0x1a1397,this[_0x3eee00(0x404)]=_0x47b61d,this['_commandService']=_0x14edc,this['_undoRedoService']=_0x3073c0,this[_0x3eee00(0x2cd)]=_0x2181ad,this[_0x3eee00(0x45c)]=_0x26cb2c,this[_0x3eee00(0x3ec)]=_0x5305b9,this[_0x3eee00(0x387)]=_0x85edc4);}[_0x374e05(0x405)](_0x4c0904){var _0x13d3b4=_0x374e05;const _0x57577a=this[_0x13d3b4(0x2cd)][_0x13d3b4(0x1a4)](this[_0x13d3b4(0x42a)]);return _0x4c0904[_0x13d3b4(0x1c1)]>_0x57577a+0x1?(this[_0x13d3b4(0x404)][_0x13d3b4(0x240)]({'from':_0x57577a,'to':_0x4c0904[_0x13d3b4(0x1c1)]-0x1}),!0x0):!0x1;}['_transformUndoredo'](_0x31dcdf){var _0x20adf1=_0x374e05;this[_0x20adf1(0x21b)][_0x20adf1(0x22e)](this[_0x20adf1(0x42a)],_0x31dcdf);}[_0x374e05(0x36d)](_0x5e3649){var _0x14d6ce=_0x374e05,_0x27eb2e,_0x270510;(_0x270510=(_0x27eb2e=this[_0x14d6ce(0x404)])['onTransformSelections'])==null||_0x270510['call'](_0x27eb2e,_0x5e3649);}[_0x374e05(0x35b)](_0x37d2f4){var _0x405d4c=_0x374e05,_0x55dc39,_0x31e528;return(_0x31e528=(_0x55dc39=this[_0x405d4c(0x404)])[_0x405d4c(0x2de)])==null?void 0x0:_0x31e528[_0x405d4c(0x469)](_0x55dc39,_0x37d2f4);}[_0x374e05(0x1a7)](_0x3ca875){var _0x3dfab7=_0x374e05,_0x3d4b57,_0x329fc2;return(_0x329fc2=(_0x3d4b57=this[_0x3dfab7(0x404)])[_0x3dfab7(0x415)])==null?void 0x0:_0x329fc2[_0x3dfab7(0x469)](_0x3d4b57,_0x3ca875);}[_0x374e05(0x2ee)](_0x24a1aa){var _0x178970=_0x374e05,_0x151eab,_0x59b696,_0xd2ef9f;return(_0xd2ef9f=(_0x59b696=(_0x151eab=this[_0x178970(0x404)])['onTransformRemoteChangesetByIMECache'])==null?void 0x0:_0x59b696[_0x178970(0x469)](_0x151eab,_0x24a1aa))!=null?_0xd2ef9f:_0x24a1aa;}[_0x374e05(0x298)](_0x29ac5f){var _0x27a16f=_0x374e05,_0x3fb213,_0x51ebbf,_0x311979;return(_0x311979=(_0x51ebbf=(_0x3fb213=this['_handler'])[_0x27a16f(0x19a)])==null?void 0x0:_0x51ebbf[_0x27a16f(0x469)](_0x3fb213,_0x29ac5f))!=null?_0x311979:_0x29ac5f;}['_syncEditingCollabCursor'](_0x43bca6){var _0xf4fae1=_0x374e05,_0x2e99dd,_0x558a22;if(this[_0xf4fae1(0x217)]===Z[_0xf4fae1(0x338)]){const {unitID:_0x6071b2,mutations:_0x1659a5,memberID:_0x1b6058}=_0x43bca6,_0x8d24f9=_0x1659a5[0x0][_0xf4fae1(0x1f6)][_0xf4fae1(0x2ae)];Array[_0xf4fae1(0x1cc)](_0x8d24f9)&&_0x8d24f9[_0xf4fae1(0x3d1)]>0x0&&((_0x558a22=(_0x2e99dd=this[_0xf4fae1(0x404)])['onSyncEditingCollabCursor'])==null||_0x558a22[_0xf4fae1(0x469)](_0x2e99dd,{'unitID':_0x6071b2,'memberID':_0x1b6058,'textRanges':_0x8d24f9}));}}[_0x374e05(0x26a)](){var _0x5dd97a=_0x374e05,_0x46bf54;(_0x46bf54=this[_0x5dd97a(0x45c)])==null||_0x46bf54[_0x5dd97a(0x28a)](this['unitID'],this[_0x5dd97a(0x217)],this[_0x5dd97a(0x3ec)],this[_0x5dd97a(0x387)]);}['_getCurrentRevision'](){var _0xe88b9a=_0x374e05;return this[_0xe88b9a(0x2cd)][_0xe88b9a(0x1a4)](this[_0xe88b9a(0x42a)]);}[_0x374e05(0x32a)](){var _0x3ac4be=_0x374e05;this['_revisionService']['incrementRevOfUnit'](this[_0x3ac4be(0x42a)]);}[_0x374e05(0x23b)](_0x778e2f){var _0x2d173b=_0x374e05,_0x166d97;let _0x401c04=this[_0x2d173b(0x2ee)](_0x778e2f);_0x401c04=this['_transformRemoteChangesetByStateCache'](_0x401c04);const _0xb2683=_0x52f016(_0x401c04['mutations'],this[_0x2d173b(0x1ad)],{'fromCollab':!0x0});if(!_0xb2683[_0x2d173b(0x20e)])throw _0xb2683['error']instanceof Error?_0xb2683[_0x2d173b(0x1ee)]:new Error((_0x166d97=_0xb2683['error'])!=null?_0x166d97:'[CollaborationState]:\x20apply\x20error!');this[_0x2d173b(0x35b)](_0x401c04),this[_0x2d173b(0x1a7)](_0x401c04),this[_0x2d173b(0x22c)](_0x778e2f),this[_0x2d173b(0x36d)](_0x401c04),this[_0x2d173b(0x2aa)](_0x401c04),this[_0x2d173b(0x32a)]();}}let ye=class extends Te{constructor(_0x45f68d,_0x233f34,_0x308ea1,_0x3152bb,_0xa2c2ca,_0x169fe6,_0x1c9167,_0xfba817,_0x4e8b3d,_0x4bc25b){var _0x1e79fd=_0x374e05;super(_0x45f68d,_0x233f34,null,[],_0x308ea1,_0x1c9167,_0x169fe6,_0x3152bb,_0x4bc25b),N(this,'status',_0x1e79fd(0x305)),(this[_0x1e79fd(0x41e)]=_0xa2c2ca,this[_0x1e79fd(0x41a)]=_0xfba817,this[_0x1e79fd(0x3ed)]=_0x4e8b3d,this[_0x1e79fd(0x2ba)]=_0x4bc25b);}['appendMutation'](_0x33270e){var _0x164ae0=_0x374e05;const _0x3574c7=this[_0x164ae0(0x41e)]['createInstance'](re,this[_0x164ae0(0x42a)],this['type'],[_0x33270e],this[_0x164ae0(0x404)]);return _0x3574c7[_0x164ae0(0x46e)](),_0x3574c7[_0x164ae0(0x26a)](),_0x3574c7;}[_0x374e05(0x2c4)](_0x48d763){var _0x48defa=_0x374e05;if(this['_checkMissing'](_0x48d763))return this['_injector']['createInstance'](Q,this[_0x48defa(0x42a)],this['type'],null,[],null,[_0x48d763],this[_0x48defa(0x404)]);try{const _0x1163c5=this[_0x48defa(0x3ed)][_0x48defa(0x30d)](_0x48d763,[Js]);if(_0x17ca45(_0x1163c5)){const {c1Prime:_0x28cc98}=_0x1163c5;return this[_0x48defa(0x23b)](_0x28cc98),this;}throw _0x1163c5[_0x48defa(0x1ee)];}catch(_0x3d6179){return this[_0x48defa(0x41a)][_0x48defa(0x1ee)](_0x3d6179),this[_0x48defa(0x473)](!0x1);}}[_0x374e05(0x473)](_0x4e62c5){var _0x4df30b=_0x374e05;return this[_0x4df30b(0x41e)][_0x4df30b(0x1ce)](le,this[_0x4df30b(0x42a)],this['type'],null,[],this[_0x4df30b(0x404)],_0x4e62c5);}[_0x374e05(0x39a)](){var _0x47b798=_0x374e05;throw new Error(_0x47b798(0x372));}[_0x374e05(0x21d)](){var _0x6b2f7d=_0x374e05;throw new Error(_0x6b2f7d(0x243));}[_0x374e05(0x3a7)](){return this;}['toggleOffline'](){var _0x55c161=_0x374e05;return this[_0x55c161(0x41e)][_0x55c161(0x1ce)](ue,this[_0x55c161(0x42a)],this['type'],null,[],this[_0x55c161(0x404)]);}[_0x374e05(0x379)](){return this;}[_0x374e05(0x1d7)](){var _0x59b8fb=_0x374e05;throw new Error(_0x59b8fb(0x47e));}['fetchMiss'](){var _0x8006cf=_0x374e05;const _0x18ea32=this[_0x8006cf(0x2cd)][_0x8006cf(0x1a4)](this[_0x8006cf(0x42a)]);return this['_handler'][_0x8006cf(0x240)]({'from':_0x18ea32,'to':0x0}),this['_injector'][_0x8006cf(0x1ce)](Q,this[_0x8006cf(0x42a)],this['type'],null,[],null,[],this[_0x8006cf(0x404)]);}};ye=Ie([P(0x3,_0x59854e(_0xa86e8b)),P(0x4,_0x59854e(_0x43d4c8)),P(0x5,_0x3351b5),P(0x6,_0x4ad308),P(0x7,_0x57d59c),P(0x8,_0x3b110b),P(0x9,_0x2ed8f6(J))],ye);let re=class extends Te{constructor(_0x1f622b,_0x239776,_0x96669a,_0xe0ae6a,_0x495cad,_0x191f2d,_0x9ebb13,_0x318529,_0x41dc02,_0x5cfba9,_0xe8c21e,_0x3c3c25,_0x3c61b5,_0x1db390){var _0x212afb=_0x374e05;super(_0x1f622b,_0x239776,null,_0x96669a,_0xe0ae6a,_0x41dc02,_0x3c61b5,_0x191f2d,_0x1db390),N(this,_0x212afb(0x2bf),_0x212afb(0x37a)),N(this,_0x212afb(0x327),null),N(this,'_sendingTimer',null),(this[_0x212afb(0x41e)]=_0x495cad,this[_0x212afb(0x40b)]=_0x9ebb13,this['_logService']=_0x318529,this[_0x212afb(0x31e)]=_0x5cfba9,this['_transformService']=_0xe8c21e,this[_0x212afb(0x47d)]=_0x3c3c25);}[_0x374e05(0x439)](_0x1377d1){var _0x50166d=_0x374e05;return this[_0x50166d(0x387)]['push'](_0x1377d1),this[_0x50166d(0x26a)](),this;}[_0x374e05(0x2c4)](_0x26e98e){var _0x36ebff=_0x374e05;if(this[_0x36ebff(0x405)](_0x26e98e))return this[_0x36ebff(0x33d)](),this[_0x36ebff(0x41e)]['createInstance'](Q,this[_0x36ebff(0x42a)],this[_0x36ebff(0x217)],null,this[_0x36ebff(0x387)],null,[_0x26e98e],this[_0x36ebff(0x404)]);try{const _0x7c2a24=this['_transformService'][_0x36ebff(0x30d)](_0x26e98e,this[_0x36ebff(0x387)]);if(_0x17ca45(_0x7c2a24)){const {c1Prime:_0x1c75c4,m2Prime:_0x18db46}=_0x7c2a24;this[_0x36ebff(0x23b)](_0x1c75c4);const _0x3e53aa=this[_0x36ebff(0x41e)][_0x36ebff(0x1ce)](re,this['unitID'],this['type'],_0x18db46,this[_0x36ebff(0x404)]);this[_0x36ebff(0x33d)]();const _0x54feb6=new Date()[_0x36ebff(0x204)](),_0x2ef845=this['_scheduleCompleteTimestamp']?Math[_0x36ebff(0x2c9)](this[_0x36ebff(0x327)]-_0x54feb6,0x0):this[_0x36ebff(0x270)]();return _0x3e53aa[_0x36ebff(0x46e)](_0x2ef845),_0x3e53aa;}throw _0x7c2a24[_0x36ebff(0x1ee)];}catch(_0x5416d9){return this['_logService'][_0x36ebff(0x1ee)](_0x5416d9),this['_onConflict'](!0x1);}}['onRemoteAck'](){var _0x109bf8=_0x374e05;throw new Error(_0x109bf8(0x285));}[_0x374e05(0x21d)](){var _0x3ae662=_0x374e05;throw new Error(_0x3ae662(0x2a4));}[_0x374e05(0x3a7)](){return this;}['toggleOffline'](){var _0x3c0065=_0x374e05;return this['_clearScheduledTask'](),this[_0x3c0065(0x41e)][_0x3c0065(0x1ce)](ue,this['unitID'],this[_0x3c0065(0x217)],null,this[_0x3c0065(0x387)],this['_handler']);}['toggleOnline'](){return this;}[_0x374e05(0x46e)](_0x1b8776){var _0x17d6c6=_0x374e05;const _0x15f96e=_0x1b8776!=null?_0x1b8776:this[_0x17d6c6(0x270)]();this['_scheduleCompleteTimestamp']=new Date()[_0x17d6c6(0x204)]()+_0x15f96e,this[_0x17d6c6(0x425)]=setTimeout(()=>{var _0x2bca63=_0x17d6c6;this['_clearScheduledTask']();let _0x1b9003=null;switch(this[_0x2bca63(0x217)]){case Z[_0x2bca63(0x1ac)]:{_0x1b9003=Wt(this[_0x2bca63(0x387)],this[_0x2bca63(0x42a)],this['_univerInstanceService'],this[_0x2bca63(0x2cd)],this[_0x2bca63(0x40b)]);break;}case Z['UNIVER_DOC']:{this[_0x2bca63(0x387)][_0x2bca63(0x427)](_0x3dc7b6=>_0x3dc7b6['id']===_0x879aff['id'])?_0x1b9003=zs(this[_0x2bca63(0x387)],this[_0x2bca63(0x42a)],this[_0x2bca63(0x47d)],this[_0x2bca63(0x2cd)],this[_0x2bca63(0x40b)]):_0x1b9003=Wt(this['_pendingMutations'],this[_0x2bca63(0x42a)],this[_0x2bca63(0x47d)],this[_0x2bca63(0x2cd)],this[_0x2bca63(0x40b)]);break;}default:throw new Error('[PendingState]:\x20unhandled\x20univer\x20type:\x20'+this['type']+_0x2bca63(0x2c0));}const {changeset:_0x9ca4ca,pendingMutations:_0x580a4d}=_0x1b9003;this['_handler'][_0x2bca63(0x18d)](_0x9ca4ca);const _0x13158f=_0x580a4d[_0x2bca63(0x3d1)]?this[_0x2bca63(0x41e)][_0x2bca63(0x1ce)](ae,this['unitID'],this['type'],_0x9ca4ca,_0x580a4d,this[_0x2bca63(0x404)],void 0x0):this[_0x2bca63(0x41e)]['createInstance'](_e,this[_0x2bca63(0x42a)],this[_0x2bca63(0x217)],_0x9ca4ca,this[_0x2bca63(0x404)]);_0x13158f[_0x2bca63(0x26a)](),this[_0x2bca63(0x404)][_0x2bca63(0x41d)](this,_0x13158f);},_0x15f96e);}[_0x374e05(0x270)](){var _0x33ecd7=_0x374e05,_0x5c692c;const _0x5378d9=this[_0x33ecd7(0x31e)]['getConfig'](K);return(_0x5c692c=_0x5378d9==null?void 0x0:_0x5378d9[_0x33ecd7(0x1fc)])!=null?_0x5c692c:ms;}['resend'](){throw new Error('[PendingState]:\x20invalid\x20calling\x20to\x20`resend`.');}[_0x374e05(0x33d)](){var _0x10aa6d=_0x374e05;this[_0x10aa6d(0x425)]!=null&&(clearTimeout(this[_0x10aa6d(0x425)]),this[_0x10aa6d(0x425)]=null);}[_0x374e05(0x473)](_0x247e21){var _0x5b0223=_0x374e05;return this['_clearScheduledTask'](),this['_injector']['createInstance'](le,this['unitID'],this['type'],null,this['_pendingMutations'],this[_0x5b0223(0x404)],_0x247e21);}};re=Ie([P(0x4,_0x59854e(_0x43d4c8)),P(0x5,_0x59854e(_0xa86e8b)),P(0x6,_0x59854e(Pe)),P(0x7,_0x57d59c),P(0x8,_0x4ad308),P(0x9,_0x53268d),P(0xa,_0x3b110b),P(0xb,_0xdbe7af),P(0xc,_0x3351b5),P(0xd,_0x2ed8f6(J))],re);let _e=class extends Te{constructor(_0x10b82a,_0xfbe81f,_0x1bbca0,_0xfbe88,_0x16de58,_0x45102a,_0x1acce2,_0x5c42a7,_0x3bf57f,_0x359658,_0x299ac8){var _0x50a5b1=_0x374e05;super(_0x10b82a,_0xfbe81f,_0x1bbca0,[],_0xfbe88,_0x1acce2,_0x359658,_0x45102a,_0x299ac8),N(this,_0x50a5b1(0x2bf),'awaiting'),N(this,_0x50a5b1(0x2ea),0x0),N(this,_0x50a5b1(0x421)),N(this,_0x50a5b1(0x35a)),(this[_0x50a5b1(0x41e)]=_0x16de58,this[_0x50a5b1(0x41a)]=_0x5c42a7,this['_transformService']=_0x3bf57f);}[_0x374e05(0x439)](_0x589155){var _0x3ec98a=_0x374e05;this[_0x3ec98a(0x33d)]();const _0x57ebf2=this[_0x3ec98a(0x41e)][_0x3ec98a(0x1ce)](ae,this[_0x3ec98a(0x42a)],this[_0x3ec98a(0x217)],this[_0x3ec98a(0x3ec)],[_0x589155],this[_0x3ec98a(0x404)],this[_0x3ec98a(0x421)]);return _0x57ebf2[_0x3ec98a(0x26a)](),_0x57ebf2;}[_0x374e05(0x2c4)](_0x3cbb36){var _0x422cc0=_0x374e05;if(this['_checkMissing'](_0x3cbb36))return this['_clearScheduledTask'](),this[_0x422cc0(0x41e)]['createInstance'](Q,this[_0x422cc0(0x42a)],this[_0x422cc0(0x217)],this[_0x422cc0(0x3ec)],[],null,[_0x3cbb36],this[_0x422cc0(0x404)]);try{const _0x29b57c=this[_0x422cc0(0x3ed)][_0x422cc0(0x236)]([_0x3cbb36],[this[_0x422cc0(0x3ec)]],!0x1);if(_0x216356(_0x29b57c)){const {c1Prime:_0x5b3891,c2Prime:_0x4cd6aa}=_0x29b57c;this[_0x422cc0(0x23b)](_0x5b3891[0x0]),_0x4cd6aa[0x0][_0x422cc0(0x3b3)]=this[_0x422cc0(0x2e0)](),this['_clearScheduledTask']();const _0x17d422=this['_injector'][_0x422cc0(0x1ce)](_e,this[_0x422cc0(0x42a)],this[_0x422cc0(0x217)],_0x4cd6aa[0x0],this['_handler']);return _0x17d422[_0x422cc0(0x26a)](),_0x17d422;}return this[_0x422cc0(0x473)](!0x1);}catch(_0x197850){return this['_logService']['error'](_0x197850),this[_0x422cc0(0x473)](!0x1);}}['onRemoteAck'](_0x179b87){var _0x425db5=_0x374e05;this[_0x425db5(0x33d)]();const _0x4bd09a=this[_0x425db5(0x2cd)][_0x425db5(0x1a4)](this['unitID']);if(_0x179b87[_0x425db5(0x1c1)]<_0x4bd09a-0x1)return this;if(this[_0x425db5(0x405)](_0x179b87))return this[_0x425db5(0x41e)][_0x425db5(0x1ce)](Q,this[_0x425db5(0x42a)],this[_0x425db5(0x217)],null,[],this[_0x425db5(0x3ec)],[],this[_0x425db5(0x404)]);this[_0x425db5(0x32a)]();const _0x117bb5=this[_0x425db5(0x41e)][_0x425db5(0x1ce)](ye,this[_0x425db5(0x42a)],this[_0x425db5(0x217)],this[_0x425db5(0x404)]);return _0x117bb5[_0x425db5(0x26a)](),_0x117bb5;}[_0x374e05(0x21d)](_0x3f3385){var _0x496da0=_0x374e05;return this[_0x496da0(0x473)](!!(_0x3f3385!=null&&_0x3f3385[_0x496da0(0x374)]));}['onRemoteRetry'](_0x4c5cfc){var _0x194b56=_0x374e05;return this[_0x194b56(0x2ea)]>Ci?this[_0x194b56(0x363)]():(this[_0x194b56(0x421)]=Ii(this['_resendTimeout'],{'timeout':this[_0x194b56(0x2ea)],'reqId':_0x4c5cfc['reqId']}),this[_0x194b56(0x35a)]=this[_0x194b56(0x421)][_0x194b56(0x44b)](({reqId:_0x68f4b6,timeout:_0x27b6b9})=>{var _0x1dcef3=_0x194b56;this[_0x1dcef3(0x304)](_0x68f4b6,_0x27b6b9);}),this);}[_0x374e05(0x363)](){var _0xc56bd7=_0x374e05;return this[_0xc56bd7(0x33d)](),this[_0xc56bd7(0x41e)][_0xc56bd7(0x1ce)](ue,this[_0xc56bd7(0x42a)],this[_0xc56bd7(0x217)],this[_0xc56bd7(0x3ec)],[],this[_0xc56bd7(0x404)]);}[_0x374e05(0x379)](){return this;}[_0x374e05(0x1d7)](){var _0x4d6522=_0x374e05;this[_0x4d6522(0x404)][_0x4d6522(0x18d)](this[_0x4d6522(0x3ec)]);}[_0x374e05(0x473)](_0x2585ad){var _0x29e698=_0x374e05;return this[_0x29e698(0x33d)](),this[_0x29e698(0x41e)]['createInstance'](le,this[_0x29e698(0x42a)],this[_0x29e698(0x217)],this[_0x29e698(0x3ec)],[],this['_handler'],_0x2585ad);}[_0x374e05(0x304)](_0x236a6d,_0x29e9bc){var _0x1ff492=_0x374e05,_0x35307c;_0x236a6d===((_0x35307c=this[_0x1ff492(0x3ec)])==null?void 0x0:_0x35307c[_0x1ff492(0x26e)])&&(this[_0x1ff492(0x1d7)](),this['_resendTimeout']=_0x29e9bc===0x0?0x3e8:_0x29e9bc*0x2);}[_0x374e05(0x33d)](){var _0x355c2f=_0x374e05,_0x451f4f;(_0x451f4f=this['_sender'])==null||_0x451f4f[_0x355c2f(0x3b5)](),this[_0x355c2f(0x2ea)]=0x0;}};_e=Ie([P(0x4,_0x59854e(_0x43d4c8)),P(0x5,_0x59854e(_0xa86e8b)),P(0x6,_0x4ad308),P(0x7,_0x57d59c),P(0x8,_0x3b110b),P(0x9,_0x3351b5),P(0xa,_0x2ed8f6(J))],_e);let ae=class extends Te{constructor(_0x28bc5c,_0x552a85,_0x2cbcb4,_0x3ca15b,_0x286fe3,_0x55a0b9,_0x2097f4,_0x11bdd9,_0x5c9996,_0x42d91b,_0x5d7f41,_0x44830f,_0x5bd7a2){var _0xf3cf6a=_0x374e05;super(_0x28bc5c,_0x552a85,_0x2cbcb4,_0x3ca15b,_0x286fe3,_0x5c9996,_0x44830f,_0x11bdd9,_0x5bd7a2),N(this,_0xf3cf6a(0x2bf),_0xf3cf6a(0x3fd)),N(this,_0xf3cf6a(0x2ea),0x0),N(this,_0xf3cf6a(0x421)),N(this,_0xf3cf6a(0x35a)),(this['_injector']=_0x2097f4,this[_0xf3cf6a(0x41a)]=_0x42d91b,this['_transformService']=_0x5d7f41,this[_0xf3cf6a(0x2ba)]=_0x5bd7a2,_0x55a0b9&&(this[_0xf3cf6a(0x421)]=_0x55a0b9,this['_sender']=this[_0xf3cf6a(0x421)][_0xf3cf6a(0x44b)](({reqId:_0x4b2d29,timeout:_0x36e78d})=>{var _0x1ac810=_0xf3cf6a;this[_0x1ac810(0x304)](_0x4b2d29,_0x36e78d);})));}[_0x374e05(0x439)](_0xc96fa4){return this['_pendingMutations']['push'](_0xc96fa4),this;}[_0x374e05(0x2c4)](_0x18594f){var _0x206f31=_0x374e05;if(this['_checkMissing'](_0x18594f))return this['_clearScheduledTask'](),this[_0x206f31(0x41e)]['createInstance'](Q,this['unitID'],this[_0x206f31(0x217)],this[_0x206f31(0x3ec)],this[_0x206f31(0x387)],null,[_0x18594f],this[_0x206f31(0x404)]);try{const _0x1d4f7f=this[_0x206f31(0x3ed)][_0x206f31(0x236)]([_0x18594f],[this[_0x206f31(0x3ec)]],!0x1);if(_0x216356(_0x1d4f7f)){const {c1Prime:_0x237645,c2Prime:_0x54a2e6}=_0x1d4f7f,_0x27e0cf=this['_transformService'][_0x206f31(0x30d)](_0x237645[0x0],this[_0x206f31(0x387)]);if(_0x17ca45(_0x27e0cf)){const {c1Prime:_0x130abb,m2Prime:_0x32fec3}=_0x27e0cf;return this['_executeRemoteChangeset'](_0x130abb),_0x54a2e6[0x0][_0x206f31(0x3b3)]=this['_getCurrentRevision'](),this[_0x206f31(0x33d)](),this[_0x206f31(0x41e)][_0x206f31(0x1ce)](ae,this[_0x206f31(0x42a)],this[_0x206f31(0x217)],_0x54a2e6[0x0],_0x32fec3,this[_0x206f31(0x404)],void 0x0);}throw _0x27e0cf['error'];}throw _0x1d4f7f[_0x206f31(0x1ee)];}catch(_0x27e831){return this[_0x206f31(0x41a)][_0x206f31(0x1ee)](_0x27e831),this[_0x206f31(0x473)](!0x1);}}[_0x374e05(0x39a)](_0x4ef8e9){var _0x11cd46=_0x374e05;if(this[_0x11cd46(0x33d)](),this['_checkMissing'](_0x4ef8e9))return this[_0x11cd46(0x41e)][_0x11cd46(0x1ce)](Q,this[_0x11cd46(0x42a)],this['type'],null,this['_pendingMutations'],this[_0x11cd46(0x3ec)],[],this[_0x11cd46(0x404)]);this['_incrementRevisionNumber']();const _0x4b273f=this[_0x11cd46(0x41e)][_0x11cd46(0x1ce)](re,this['unitID'],this[_0x11cd46(0x217)],this[_0x11cd46(0x387)],this['_handler']);return _0x4b273f[_0x11cd46(0x46e)](),_0x4b273f['_updateLocalCache'](),_0x4b273f;}[_0x374e05(0x21d)](_0x5f0141){var _0x2aadb1=_0x374e05;return this[_0x2aadb1(0x473)](!!(_0x5f0141!=null&&_0x5f0141[_0x2aadb1(0x374)]));}[_0x374e05(0x3a7)](_0x20918c){var _0x24e2b2=_0x374e05;return this[_0x24e2b2(0x2ea)]>Ci?this['toggleOffline']():(this[_0x24e2b2(0x421)]=Ii(this['_resendTimeout'],{'timeout':this[_0x24e2b2(0x2ea)],'reqId':_0x20918c[_0x24e2b2(0x26e)]}),this['_sender']=this['_resendTimer'][_0x24e2b2(0x44b)](({reqId:_0x42d94a,timeout:_0x4e68f8})=>{var _0x27fa92=_0x24e2b2;this[_0x27fa92(0x304)](_0x42d94a,_0x4e68f8);}),this);}[_0x374e05(0x363)](){var _0x2443cd=_0x374e05;return this[_0x2443cd(0x33d)](),this[_0x2443cd(0x41e)][_0x2443cd(0x1ce)](ue,this[_0x2443cd(0x42a)],this[_0x2443cd(0x217)],this['_awaitingChangeset'],this['_pendingMutations'],this[_0x2443cd(0x404)]);}['toggleOnline'](){return this;}[_0x374e05(0x1d7)](){var _0x407a57=_0x374e05;this[_0x407a57(0x404)][_0x407a57(0x18d)](this['_awaitingChangeset']);}[_0x374e05(0x473)](_0x4c77de){var _0x201273=_0x374e05;return this[_0x201273(0x33d)](),this['_injector'][_0x201273(0x1ce)](le,this[_0x201273(0x42a)],this['type'],null,this[_0x201273(0x387)],this['_handler'],_0x4c77de);}['_resendWithTimeout'](_0x4f7768,_0x26b3c2){var _0x16b228=_0x374e05,_0xa68ad3;_0x4f7768===((_0xa68ad3=this[_0x16b228(0x3ec)])==null?void 0x0:_0xa68ad3[_0x16b228(0x26e)])&&(this[_0x16b228(0x1d7)](),this[_0x16b228(0x2ea)]=_0x26b3c2===0x0?0x3e8:_0x26b3c2*0x2);}[_0x374e05(0x33d)](){var _0x53b136=_0x374e05,_0x5e64c8;(_0x5e64c8=this['_sender'])==null||_0x5e64c8[_0x53b136(0x3b5)](),this[_0x53b136(0x2ea)]=0x0;}};ae=Ie([P(0x6,_0x59854e(_0x43d4c8)),P(0x7,_0x59854e(_0xa86e8b)),P(0x8,_0x4ad308),P(0x9,_0x57d59c),P(0xa,_0x3b110b),P(0xb,_0x3351b5),P(0xc,_0x2ed8f6(J))],ae);let le=class extends Te{constructor(_0x1679e3,_0x50d886,_0x4b13b8,_0x510b0a,_0x3f52b2,_0x7caa0c=!0x1,_0x1628fe,_0x4728dd,_0x1600b4,_0x2c23e8,_0x419a9d,_0x222bf1,_0x99dbcf){var _0x251766=_0x374e05;super(_0x1679e3,_0x50d886,_0x4b13b8,_0x510b0a,_0x3f52b2,_0x4728dd,_0x1600b4,_0x2c23e8,_0x99dbcf),N(this,'status',_0x251766(0x2c6)),(this['_isPermissionRej']=_0x7caa0c,this[_0x251766(0x2e2)]=_0x1628fe,this['_localeService']=_0x419a9d,this[_0x251766(0x358)]=_0x222bf1,this[_0x251766(0x2ba)]=_0x99dbcf,this[_0x251766(0x25f)](),this['_clearLocalCache'](),this[_0x251766(0x211)]());}[_0x374e05(0x439)](){return this;}[_0x374e05(0x2c4)](){return this;}[_0x374e05(0x39a)](){return this;}[_0x374e05(0x21d)](){return this;}[_0x374e05(0x3a7)](){return this;}[_0x374e05(0x363)](){return this;}[_0x374e05(0x379)](){return this;}['resend'](){var _0x1bd993=_0x374e05;throw new Error(_0x1bd993(0x2f4));}['_clearLocalCache'](){var _0x2fd89e=_0x374e05,_0x3d01e0;(_0x3d01e0=this[_0x2fd89e(0x45c)])==null||_0x3d01e0['updateOfflineData'](this[_0x2fd89e(0x42a)],this[_0x2fd89e(0x217)],null,[]);}[_0x374e05(0x25f)](){var _0x2a80a7=_0x374e05;this['_isPermissionRej']?this[_0x2a80a7(0x358)][_0x2a80a7(0x43a)]({'id':ne[_0x2a80a7(0x1bc)]}):this[_0x2a80a7(0x358)][_0x2a80a7(0x43a)]({'id':ne[_0x2a80a7(0x3f7)]});}[_0x374e05(0x211)](){var _0x4bd065=_0x374e05;this[_0x4bd065(0x2e2)][_0x4bd065(0x3ef)](new _0x156a28(this[_0x4bd065(0x42a)])['id'],!0x1);}};le=Ie([P(0x6,_0x59854e(_0x3a92ee)),P(0x7,_0x4ad308),P(0x8,_0x3351b5),P(0x9,_0x59854e(_0xa86e8b)),P(0xa,_0x59854e(_0x1725ed)),P(0xb,_0x59854e(ve)),P(0xc,_0x2ed8f6(J))],le);let ue=class extends Te{constructor(_0x4ef65d,_0x14bb56,_0x1c65a6,_0x284cdb,_0x341a47,_0x2fdc31,_0x4085d3,_0x8589db,_0x6c92a9,_0x52a4ca){var _0x411ad1=_0x374e05;super(_0x4ef65d,_0x14bb56,_0x1c65a6,_0x284cdb,_0x341a47,_0x8589db,_0x6c92a9,_0x4085d3,_0x52a4ca),N(this,_0x411ad1(0x2bf),_0x411ad1(0x1f1)),this['_injector']=_0x2fdc31;}[_0x374e05(0x439)](_0x1e41f4){var _0x45cf99=_0x374e05;return this[_0x45cf99(0x387)]['push'](_0x1e41f4),this[_0x45cf99(0x26a)](),this;}['onRemoteChangeset'](_0x37f723){throw new Error('[OfflineState]:\x20received\x20changeset.');}[_0x374e05(0x39a)](){throw new Error('[OfflineState]:\x20received\x20acknowledgement.');}['onRemoteRej'](){var _0x5a1aa3=_0x374e05;throw new Error(_0x5a1aa3(0x1c9));}[_0x374e05(0x3a7)](){return this;}[_0x374e05(0x363)](){return this;}[_0x374e05(0x379)](){var _0x4dfbaa=_0x374e05;const {_injector:_0x1ea8a3,_pendingMutations:_0x370249,_awaitingChangeset:_0x39400d,unitID:_0x20ad88,_handler:_0x3d2104,type:_0x4e1d09}=this,_0x2f1dcc=Ri(_0x1ea8a3,_0x20ad88,_0x4e1d09,_0x39400d,_0x370249,_0x3d2104);return _0x2f1dcc instanceof re?_0x2f1dcc[_0x4dfbaa(0x46e)]():(_0x2f1dcc instanceof ae||_0x2f1dcc instanceof _e)&&_0x2f1dcc[_0x4dfbaa(0x1d7)](),_0x2f1dcc;}['resend'](){var _0x1e1926=_0x374e05;throw new Error(_0x1e1926(0x2dc));}};ue=Ie([P(0x5,_0x59854e(_0x43d4c8)),P(0x6,_0x59854e(_0xa86e8b)),P(0x7,_0x4ad308),P(0x8,_0x3351b5),P(0x9,_0x2ed8f6(J))],ue);let Q=class extends Te{constructor(_0x2beba5,_0x36b058,_0x2774bd,_0x68b980,_0xc8093b,_0x2d32e7,_0x11edc2,_0x5006f5,_0x394382,_0xf6e743,_0x5a4f3c,_0x4debbc,_0x288440,_0x551a2d){var _0x7f0b99=_0x374e05;super(_0x2beba5,_0x36b058,_0x2774bd,_0x68b980,_0x11edc2,_0x5a4f3c,_0x4debbc,_0x394382,_0x551a2d),N(this,_0x7f0b99(0x2bf),_0x7f0b99(0x2fa)),(this[_0x7f0b99(0x189)]=_0xc8093b,this['_queuedRemoteChangesets']=_0x2d32e7,this[_0x7f0b99(0x41e)]=_0x5006f5,this[_0x7f0b99(0x41a)]=_0xf6e743,this['_transformService']=_0x288440,this[_0x7f0b99(0x2ba)]=_0x551a2d);}[_0x374e05(0x2ec)](_0x38715b){var _0x1516a1=_0x374e05;try{const _0x181021=[..._0x38715b,...this['_queuedRemoteChangesets']],_0x66d4f6=[this[_0x1516a1(0x3ec)]||this[_0x1516a1(0x189)]][_0x1516a1(0x38b)](_0x1c22c4=>!!_0x1c22c4);let _0x5ae396,_0x363f8f;if(_0x66d4f6['length']){const _0xee577e=this['_transformService'][_0x1516a1(0x236)](_0x181021,_0x66d4f6,!0x1);if(!_0x216356(_0xee577e))throw _0xee577e[_0x1516a1(0x1ee)];_0x5ae396=_0xee577e[_0x1516a1(0x288)],_0x363f8f=_0xee577e['c2Prime'];}else _0x5ae396=_0x181021,_0x363f8f=[];let _0x109323=this[_0x1516a1(0x387)];_0x5ae396[_0x1516a1(0x37b)](_0x441d31=>{var _0x467592=_0x1516a1;let _0x2eae2e;if(_0x109323[_0x467592(0x3d1)]){const _0x223ae8=this[_0x467592(0x3ed)]['transformMutationsWithChangeset'](_0x441d31,_0x109323);if(!_0x17ca45(_0x223ae8))throw _0x223ae8[_0x467592(0x1ee)];_0x2eae2e=_0x223ae8[_0x467592(0x288)],_0x109323=_0x223ae8[_0x467592(0x226)];}else _0x2eae2e=_0x441d31;this[_0x467592(0x23b)](_0x2eae2e);}),this[_0x1516a1(0x189)]&&this[_0x1516a1(0x32a)](),this[_0x1516a1(0x3ec)]&&_0x363f8f['length']&&(_0x363f8f[0x0]['baseRev']=this[_0x1516a1(0x2e0)]());let _0x326781;if(this['_awaitingChangeset']&&_0x109323['length']!==0x0)_0x326781=this[_0x1516a1(0x41e)]['createInstance'](ae,this[_0x1516a1(0x42a)],this[_0x1516a1(0x217)],_0x363f8f[0x0],_0x109323,this[_0x1516a1(0x404)],void 0x0);else{if(this[_0x1516a1(0x3ec)]&&_0x109323[_0x1516a1(0x3d1)]===0x0)_0x363f8f[0x0][_0x1516a1(0x3b3)]=this['_getCurrentRevision'](),_0x326781=this[_0x1516a1(0x41e)][_0x1516a1(0x1ce)](_e,this[_0x1516a1(0x42a)],this[_0x1516a1(0x217)],_0x363f8f[0x0],this[_0x1516a1(0x404)]);else{if(_0x109323[_0x1516a1(0x3d1)]!==0x0){const _0x918d96=this['_injector'][_0x1516a1(0x1ce)](re,this[_0x1516a1(0x42a)],this[_0x1516a1(0x217)],_0x109323,this[_0x1516a1(0x404)]);_0x918d96[_0x1516a1(0x46e)](),_0x326781=_0x918d96;}else _0x326781=this[_0x1516a1(0x41e)][_0x1516a1(0x1ce)](ye,this[_0x1516a1(0x42a)],this[_0x1516a1(0x217)],this['_handler']);}}return _0x326781[_0x1516a1(0x26a)](),_0x326781;}catch(_0x42a101){return this[_0x1516a1(0x41a)][_0x1516a1(0x1ee)](_0x1516a1(0x287),'failed\x20to\x20apply\x20missed\x20changesets!',_0x42a101),this[_0x1516a1(0x41e)][_0x1516a1(0x1ce)](le,this[_0x1516a1(0x42a)],this[_0x1516a1(0x217)],this[_0x1516a1(0x3ec)],this[_0x1516a1(0x387)],this[_0x1516a1(0x404)],!0x1);}}[_0x374e05(0x1d7)](){var _0x118a80=_0x374e05;throw new Error(_0x118a80(0x32f));}[_0x374e05(0x439)](_0xd087ce){var _0x5b36c0=_0x374e05;return this[_0x5b36c0(0x387)][_0x5b36c0(0x1b6)](_0xd087ce),this;}['onRemoteChangeset'](_0x2b24bb){var _0x467728=_0x374e05;return this[_0x467728(0x2e9)][_0x467728(0x1b6)](_0x2b24bb),this;}['onRemoteAck'](_0x571d2a){var _0x24dcd7=_0x374e05;if(this[_0x24dcd7(0x3ec)])return this[_0x24dcd7(0x189)]=this[_0x24dcd7(0x3ec)],this['_awaitingChangeset']=null,this;throw new Error(_0x24dcd7(0x426));}[_0x374e05(0x21d)](_0x50158a){var _0x5d23ab=_0x374e05;return this[_0x5d23ab(0x473)](!!(_0x50158a!=null&&_0x50158a[_0x5d23ab(0x374)]));}[_0x374e05(0x3a7)](){return this;}[_0x374e05(0x363)](){var _0x21959a=_0x374e05;return this[_0x21959a(0x41e)]['createInstance'](ue,this[_0x21959a(0x42a)],this['type'],this[_0x21959a(0x3ec)],this[_0x21959a(0x387)],this[_0x21959a(0x404)]);}[_0x374e05(0x379)](){return this;}['_onConflict'](_0x11ec72){var _0x55008e=_0x374e05;return this[_0x55008e(0x41e)]['createInstance'](le,this[_0x55008e(0x42a)],this[_0x55008e(0x217)],this['_awaitingChangeset'],this[_0x55008e(0x387)],this['_handler'],_0x11ec72);}};Q=Ie([P(0x7,_0x59854e(_0x43d4c8)),P(0x8,_0x59854e(_0xa86e8b)),P(0x9,_0x57d59c),P(0xa,_0x4ad308),P(0xb,_0x3351b5),P(0xc,_0x3b110b),P(0xd,_0x2ed8f6(J))],Q);function Ri(_0x1b1b91,_0x4f8ee6,_0x4b65fa,_0x56fc59,_0x489b68,_0x597b93){var _0x2a237a=_0x374e05;return _0x56fc59&&_0x489b68[_0x2a237a(0x3d1)]?_0x1b1b91[_0x2a237a(0x1ce)](ae,_0x4f8ee6,_0x4b65fa,_0x56fc59,_0x489b68,_0x597b93,void 0x0):_0x56fc59?_0x1b1b91[_0x2a237a(0x1ce)](_e,_0x4f8ee6,_0x4b65fa,_0x56fc59,_0x597b93):_0x489b68[_0x2a237a(0x3d1)]?_0x1b1b91[_0x2a237a(0x1ce)](re,_0x4f8ee6,_0x4b65fa,_0x489b68,_0x597b93):_0x1b1b91['createInstance'](ye,_0x4f8ee6,_0x4b65fa,_0x597b93);}var Zs=Object['getOwnPropertyDescriptor'],wt=(_0x517626,_0x2df297,_0x51687a,_0x55668a)=>{for(var _0x550d30=_0x55668a>0x1?void 0x0:_0x55668a?Zs(_0x2df297,_0x51687a):_0x2df297,_0x365e1b=_0x517626['length']-0x1,_0x108e7e;_0x365e1b>=0x0;_0x365e1b--)(_0x108e7e=_0x517626[_0x365e1b])&&(_0x550d30=_0x108e7e(_0x550d30)||_0x550d30);return _0x550d30;},H=(_0xccf9c,_0x25e454)=>(_0x52e075,_0x57b9f6)=>_0x25e454(_0x52e075,_0x57b9f6,_0xccf9c);let st=class extends _0x374f4f{constructor(_0x40743c,_0x248fb4,_0x1bbab7,_0x13291a,_0x8a5701,_0x2186a8,_0x544236,_0x16d97d,_0x322c4e,_0x59c2a3,_0x5ad657,_0x3b3a30,_0x2583fd){var _0x4f47cf=_0x374e05;super(),N(this,'_state$',new _0x50c941(null)),N(this,_0x4f47cf(0x413),this[_0x4f47cf(0x375)][_0x4f47cf(0x32e)]()),N(this,_0x4f47cf(0x3b9)),N(this,'_collaborationPaused',!0x1),N(this,_0x4f47cf(0x3e6),''),N(this,'_changesetReqId',0x0),N(this,_0x4f47cf(0x1b5),this[_0x4f47cf(0x413)][_0x4f47cf(0x3a3)](_0x1ad8c5(_0x45fb35=>_0x45fb35?_0x45fb35['status']:Ti['OFFLINE']),_0x4bce9d(0x1))),N(this,_0x4f47cf(0x18b),!0x1),N(this,_0x4f47cf(0x2f7),[]),(this[_0x4f47cf(0x42a)]=_0x40743c,this[_0x4f47cf(0x443)]=_0x248fb4,this['_type']=_0x1bbab7,this[_0x4f47cf(0x41e)]=_0x13291a,this[_0x4f47cf(0x33a)]=_0x8a5701,this['_localeService']=_0x2186a8,this['_revisionService']=_0x544236,this[_0x4f47cf(0x3b6)]=_0x16d97d,this[_0x4f47cf(0x41a)]=_0x322c4e,this[_0x4f47cf(0x1ad)]=_0x59c2a3,this[_0x4f47cf(0x2e2)]=_0x5ad657,this[_0x4f47cf(0x24a)]=_0x3b3a30,this[_0x4f47cf(0x45c)]=_0x2583fd);}get[_0x374e05(0x289)](){var _0x2472d1=_0x374e05;return this[_0x2472d1(0x3b9)];}async[_0x374e05(0x2fc)](){var _0x4ea038=_0x374e05;if(this['state'])throw new Error(_0x4ea038(0x2e3));await this['_init']();}['pauseCollaboration'](){var _0x3a4ec7=_0x374e05;return this[_0x3a4ec7(0x208)]=!0x0,_0x4256c6(()=>{var _0x5d1728=_0x3a4ec7;this[_0x5d1728(0x208)]=!0x1,this[_0x5d1728(0x3c4)]();});}[_0x374e05(0x2c1)](_0x74761c){var _0x14688c=_0x374e05;this[_0x14688c(0x43d)](_0x74761c);}[_0x374e05(0x3e9)](_0x39764d){var _0x3bc274=_0x374e05;this[_0x3bc274(0x3b9)]=_0x39764d,this['_state$'][_0x3bc274(0x321)](_0x39764d);}async[_0x374e05(0x475)](){var _0x476f07=_0x374e05,_0x5dc544;this[_0x476f07(0x3e9)](await this['_createInitialState']()),this[_0x476f07(0x24a)]&&((_0x5dc544=this['_singleActiveUnitService'])==null||_0x5dc544[_0x476f07(0x351)](this['unitID']),this[_0x476f07(0x191)](this[_0x476f07(0x24a)][_0x476f07(0x2a5)](this['unitID'])['subscribe'](_0x5e93f6=>{var _0x461248=_0x476f07;this[_0x461248(0x41a)][_0x461248(0x1dd)]('[CollaborationEntity]',_0x461248(0x1e4),_0x5e93f6),_0x5e93f6===Ei['OTHER_CLIENTS_EDITING']?(this[_0x461248(0x3b6)][_0x461248(0x43a)]({'id':ne[_0x461248(0x251)]}),this[_0x461248(0x2e2)][_0x461248(0x3ef)](new _0x156a28(this[_0x461248(0x42a)])['id'],!0x1),this['_permissionService'][_0x461248(0x2f0)](!0x1)):(this[_0x461248(0x2e2)][_0x461248(0x3ef)](new _0x156a28(this[_0x461248(0x42a)])['id'],!0x0),this[_0x461248(0x2e2)]['setShowComponents'](!0x0));})));let _0x15d30f=!0x1;return this['disposeWithMe'](this['session'][_0x476f07(0x40a)][_0x476f07(0x44b)](_0x169c80=>{var _0x4a9878=_0x476f07;_0x169c80===Se[_0x4a9878(0x479)]?this['_toggleOnline'](_0x15d30f):_0x169c80===Se['OFFLINE']&&(_0x15d30f=!0x0,this[_0x4a9878(0x318)]());})),this['disposeWithMe'](this['session']['event$']['subscribe'](_0x3f91ba=>{var _0x37f1c7=_0x476f07;try{switch(_0x3f91ba[_0x37f1c7(0x228)]){case _0x440e76[_0x37f1c7(0x423)]:{this[_0x37f1c7(0x312)](_0x4073c1(_0x3f91ba['data']));break;}case _0x440e76[_0x37f1c7(0x1fa)]:{this[_0x37f1c7(0x266)](_0x3f91ba[_0x37f1c7(0x400)]);break;}case _0x440e76['CHANGESET_REJ']:{this[_0x37f1c7(0x23d)]();break;}case _0x440e76[_0x37f1c7(0x23c)]:{this['_onRemoteRetry'](_0x3f91ba[_0x37f1c7(0x400)]);break;}case _0x440e76[_0x37f1c7(0x209)]:{this[_0x37f1c7(0x424)](_0x3f91ba[_0x37f1c7(0x400)][_0x37f1c7(0x453)][_0x37f1c7(0x2e4)](_0x15bfdc=>_0x4073c1(_0x15bfdc)));break;}case _0x440e76[_0x37f1c7(0x428)]:{this['_onRemoteRejected']({'isPermissionRej':!0x0});break;}case _0x440e76[_0x37f1c7(0x22b)]:break;}}catch(_0x339e94){throw console[_0x37f1c7(0x1ee)](_0x37f1c7(0x242),_0x339e94),_0x339e94;}})),this['_state'];}[_0x374e05(0x24e)](){var _0x1c61d0=_0x374e05;this[_0x1c61d0(0x18b)]=!0x1;}[_0x374e05(0x272)](){var _0x13a257=_0x374e05;if(this['_transitionLocked'])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[_0x13a257(0x18b)]=!0x0;}['_onLocalMutation'](_0x5600ae){var _0x42873e=_0x374e05;this[_0x42873e(0x272)](),this[_0x42873e(0x3e9)](this[_0x42873e(0x3b9)][_0x42873e(0x439)](_0x5600ae)),this[_0x42873e(0x24e)]();}[_0x374e05(0x312)](_0x51e884){var _0x16deea=_0x374e05;if(!(_0x51e884[_0x16deea(0x1c1)]<=this[_0x16deea(0x2cd)][_0x16deea(0x1a4)](this['unitID']))){if(this[_0x16deea(0x208)]){this[_0x16deea(0x2f7)]['push'](_0x51e884);return;}this['_applyRemoteChangeset'](_0x51e884);}}[_0x374e05(0x3c4)](){var _0x640de9=_0x374e05;this[_0x640de9(0x2f7)][_0x640de9(0x37b)](_0x573d97=>this[_0x640de9(0x384)](_0x573d97)),this[_0x640de9(0x2f7)]=[];}[_0x374e05(0x384)](_0x403a0d){var _0x231f68=_0x374e05;const _0x4af4ca=this[_0x231f68(0x33a)]['interceptor'][_0x231f68(0x3fb)](this['_compressMutationService'][_0x231f68(0x3f9)][_0x231f68(0x33f)]()[_0x231f68(0x21c)])(_0x403a0d[_0x231f68(0x40e)],null)||_0x403a0d[_0x231f68(0x40e)],_0x3a2122={..._0x403a0d,'mutations':_0x4af4ca};this[_0x231f68(0x272)](),this[_0x231f68(0x3e9)](this[_0x231f68(0x3b9)][_0x231f68(0x2c4)](_0x3a2122)),this[_0x231f68(0x24e)]();}[_0x374e05(0x266)](_0x4b119f){var _0x530f7f=_0x374e05;this[_0x530f7f(0x272)](),this['_updateState'](this[_0x530f7f(0x3b9)]['onRemoteAck'](_0x4b119f)),this[_0x530f7f(0x24e)]();}[_0x374e05(0x23d)](_0x6654e7){var _0xe5d572=_0x374e05;this[_0xe5d572(0x272)](),this[_0xe5d572(0x3e9)](this[_0xe5d572(0x3b9)][_0xe5d572(0x21d)](_0x6654e7)),this[_0xe5d572(0x24e)]();}['_onRemoteRetry'](_0x479910){var _0x5c6890=_0x374e05;this[_0x5c6890(0x272)](),this[_0x5c6890(0x3e9)](this[_0x5c6890(0x3b9)]['onRemoteRetry'](_0x479910)),this[_0x5c6890(0x24e)]();}[_0x374e05(0x424)](_0x2ccff9){var _0x45c340=_0x374e05;if(!(this[_0x45c340(0x3b9)]instanceof Q))throw new TypeError(_0x45c340(0x457));const _0x23fe16=_0x2ccff9[_0x45c340(0x2e4)](_0x45d7c3=>{var _0x5d1067=_0x45c340;const _0xc80a1f=this[_0x5d1067(0x33a)]['interceptor']['fetchThroughInterceptors'](this[_0x5d1067(0x33a)][_0x5d1067(0x3f9)][_0x5d1067(0x33f)]()[_0x5d1067(0x21c)])(_0x45d7c3[_0x5d1067(0x40e)],null)||_0x45d7c3[_0x5d1067(0x40e)];return{..._0x45d7c3,'mutations':_0xc80a1f};});this[_0x45c340(0x272)](),this[_0x45c340(0x3e9)](this['_state'][_0x45c340(0x2ec)](_0x23fe16)),this[_0x45c340(0x24e)]();}[_0x374e05(0x318)](){var _0x5e62dd=_0x374e05;this[_0x5e62dd(0x272)](),this[_0x5e62dd(0x3e9)](this[_0x5e62dd(0x3b9)][_0x5e62dd(0x363)]()),this[_0x5e62dd(0x24e)]();}[_0x374e05(0x422)](_0x571e48=!0x1){var _0x20cfba=_0x374e05;this['_lockTransition'](),this['_updateState'](this[_0x20cfba(0x3b9)][_0x20cfba(0x379)]()),this['_unlockTransition']();const _0x3d2799=this[_0x20cfba(0x3b9)];_0x571e48&&_0x3d2799 instanceof ye&&(this[_0x20cfba(0x272)](),this[_0x20cfba(0x3e9)](_0x3d2799['fetchMiss']()),this[_0x20cfba(0x24e)]());}async[_0x374e05(0x1af)](){return new Promise(_0x3b3abc=>{var _0x15795c=_0xbcb8;this[_0x15795c(0x443)]['sessionStatus$'][_0x15795c(0x3a3)](_0x1eeb94(0x1))[_0x15795c(0x44b)](async _0x4630f8=>{var _0x16872f=_0x15795c;_0x3b3abc(await this[_0x16872f(0x283)](_0x4630f8===Se['ONLINE']));});});}['_createHandler'](){var _0x41cc79=_0x374e05;const _0x5a548c=this[_0x41cc79(0x42a)];return{'onStateChange':(_0x4c45d9,_0x21d467)=>{var _0x378c08=_0x41cc79;if(_0x4c45d9!==this['_state'])throw new Error('[CollaborationEntity]:\x20invalid\x20state\x20transition!\x20State\x20transferred\x20from\x20is\x20not\x20the\x20current\x20state.\x0aBefore:\x20'+_0x4c45d9['status']+'\x0aAfter:\x20'+_0x21d467['status']+'\x0aCurrent:\x20'+this[_0x378c08(0x3b9)][_0x378c08(0x2bf)]);this[_0x378c08(0x3e9)](_0x21d467);},'onSendChangeset':_0x54ff80=>{var _0x1bee72=_0x41cc79;_0x54ff80[_0x1bee72(0x1bf)]||(_0x54ff80[_0x1bee72(0x1bf)]=this[_0x1bee72(0x3e6)],_0x54ff80[_0x1bee72(0x26e)]=++this[_0x1bee72(0x441)]);const _0x36a124={'eventID':_0x440e76[_0x1bee72(0x481)],'data':{'unitID':_0x54ff80[_0x1bee72(0x42a)],'unitType':this['_type'],'changeset':_0x54ff80,'memberID':this['session'][_0x1bee72(0x2a9)]()}};this['session']['send'](_0x36a124,this[_0x1bee72(0x42a)]);},'onMissingChangesets':({from:_0x3b2c9a,to:_0x381d56})=>{var _0x73ea59=_0x41cc79;this[_0x73ea59(0x41a)][_0x73ea59(0x1dd)]('[CollaborationEntity]',_0x73ea59(0x188)+_0x3b2c9a+_0x73ea59(0x256)+_0x381d56);const _0x321932={'eventID':_0x440e76[_0x73ea59(0x290)],'data':{'unitID':_0x5a548c,'unitType':this['_type'],'from':_0x3b2c9a,'to':_0x381d56}};this[_0x73ea59(0x443)][_0x73ea59(0x23e)](_0x321932,this[_0x73ea59(0x42a)]);}};}async[_0x374e05(0x283)](_0x26601c){var _0x335d4c=_0x374e05,_0x1b8ce6,_0xb16d3d,_0xdbddae;const _0x19c92a=await((_0x1b8ce6=this[_0x335d4c(0x45c)])==null?void 0x0:_0x1b8ce6[_0x335d4c(0x2a6)](this['unitID'])),_0x1acfa3=(_0xb16d3d=_0x19c92a==null?void 0x0:_0x19c92a[_0x335d4c(0x40e)])!=null?_0xb16d3d:[],_0x14dab3=(_0xdbddae=_0x19c92a==null?void 0x0:_0x19c92a[_0x335d4c(0x293)])!=null?_0xdbddae:null,_0x13fd0b=!!(_0x14dab3!=null&&_0x14dab3[_0x335d4c(0x1bf)])&&!!(_0x14dab3!=null&&_0x14dab3[_0x335d4c(0x26e)]);this['_changesetSessionId']=_0x13fd0b?_0x14dab3[_0x335d4c(0x1bf)]:_0x4f18a2(),this[_0x335d4c(0x441)]=_0x13fd0b?_0x14dab3['reqId']:0x0;const _0x1e9f32=this[_0x335d4c(0x42a)];try{this[_0x335d4c(0x25b)](_0x14dab3,_0x1acfa3);}catch(_0x22334e){this[_0x335d4c(0x41a)][_0x335d4c(0x1ee)](_0x22334e);}const _0x10f208=this['_createHandler']();if(_0x26601c){const _0xb736c4=Ri(this[_0x335d4c(0x41e)],_0x1e9f32,this['_type'],_0x14dab3,_0x1acfa3,_0x10f208);return _0xb736c4 instanceof re?_0xb736c4[_0x335d4c(0x46e)]():(_0xb736c4 instanceof ae||_0xb736c4 instanceof _e)&&_0xb736c4[_0x335d4c(0x1d7)](),_0xb736c4;}return this[_0x335d4c(0x41e)][_0x335d4c(0x1ce)](ue,_0x1e9f32,this[_0x335d4c(0x465)],_0x14dab3,_0x1acfa3,_0x10f208);}[_0x374e05(0x25b)](_0x24a1b6,_0x5ca5dd){var _0x59fc2f=_0x374e05,_0x2e3484,_0xf7eef3;const _0x5ada5e=this['_compressMutationService']['interceptor'][_0x59fc2f(0x3fb)](this[_0x59fc2f(0x33a)]['interceptor'][_0x59fc2f(0x33f)]()['COMPRESS_MUTATION_APPLY']);(_0x2e3484=_0x5ada5e((_0x24a1b6==null?void 0x0:_0x24a1b6[_0x59fc2f(0x40e)])||[],null))==null||_0x2e3484[_0x59fc2f(0x37b)](_0x496e3d=>this[_0x59fc2f(0x1ad)][_0x59fc2f(0x3c0)](_0x496e3d['id'],_0x496e3d[_0x59fc2f(0x1f6)])),(_0xf7eef3=_0x5ada5e(_0x5ca5dd||[],null))==null||_0xf7eef3[_0x59fc2f(0x37b)](_0x5111e6=>this[_0x59fc2f(0x1ad)][_0x59fc2f(0x3c0)](_0x5111e6['id'],_0x5111e6[_0x59fc2f(0x1f6)]));}};st=wt([H(0x3,_0x59854e(_0x43d4c8)),H(0x4,_0x59854e(_0x554754)),H(0x5,_0x59854e(_0x1725ed)),H(0x6,_0x59854e(_0xa86e8b)),H(0x7,_0x59854e(ve)),H(0x8,_0x57d59c),H(0x9,_0x4ad308),H(0xa,_0x3a92ee),H(0xb,_0x2ed8f6(ht)),H(0xc,_0x2ed8f6(J))],st);let St=class extends st{constructor(_0x2692db,_0x2d5630,_0x219c28,_0x582f0b,_0x24d961,_0x5e3e4d,_0x2294ac,_0x3b1181,_0x34fdf5,_0x4c24b4,_0x1e3000,_0x715b9b,_0x52dd59){var _0x53685e=_0x374e05;super(_0x2692db,_0x219c28,_0x2d5630,_0x582f0b,_0x24d961,_0x5e3e4d,_0x2294ac,_0x3b1181,_0x34fdf5,_0x4c24b4,_0x1e3000,_0x715b9b,_0x52dd59),N(this,_0x53685e(0x206),null),(this[_0x53685e(0x42a)]=_0x2692db,this[_0x53685e(0x217)]=_0x2d5630);}['addHandlerCallback'](_0x40eaa3){this['_handlerCallback']=_0x40eaa3;}[_0x374e05(0x455)](){var _0x561421=_0x374e05;this[_0x561421(0x206)]=null,super[_0x561421(0x455)]();}['_createHandler'](){var _0xebc1db=_0x374e05;const _0x48456e=super[_0xebc1db(0x187)]();return _0x48456e[_0xebc1db(0x2de)]=_0x1f3564=>{var _0x19d2b5=_0xebc1db,_0x3031fb,_0x4c32ba;return(_0x4c32ba=(_0x3031fb=this[_0x19d2b5(0x206)])==null?void 0x0:_0x3031fb[_0x19d2b5(0x2de)])==null?void 0x0:_0x4c32ba['call'](_0x3031fb,_0x1f3564);},_0x48456e[_0xebc1db(0x415)]=_0x5474ec=>{var _0x7d8ced=_0xebc1db,_0x7661db,_0x5d8cf4;return(_0x5d8cf4=(_0x7661db=this[_0x7d8ced(0x206)])==null?void 0x0:_0x7661db[_0x7d8ced(0x415)])==null?void 0x0:_0x5d8cf4[_0x7d8ced(0x469)](_0x7661db,_0x5474ec);},_0x48456e[_0xebc1db(0x3ab)]=_0x247043=>{var _0x1ed475=_0xebc1db,_0x486b25,_0x5337fc;return(_0x5337fc=(_0x486b25=this[_0x1ed475(0x206)])==null?void 0x0:_0x486b25[_0x1ed475(0x3ab)])==null?void 0x0:_0x5337fc['call'](_0x486b25,_0x247043);},_0x48456e[_0xebc1db(0x2c8)]=_0x32164=>{var _0x8c418f=_0xebc1db,_0x1e219a,_0x4ee220;return(_0x4ee220=(_0x1e219a=this[_0x8c418f(0x206)])==null?void 0x0:_0x1e219a[_0x8c418f(0x2c8)])==null?void 0x0:_0x4ee220['call'](_0x1e219a,_0x32164);},_0x48456e[_0xebc1db(0x407)]=_0x4a0cbb=>{var _0x59c98c=_0xebc1db,_0x18c232,_0x84eb4f,_0x307986;if(!((_0x18c232=this[_0x59c98c(0x206)])!=null&&_0x18c232[_0x59c98c(0x407)]))throw new Error(_0x59c98c(0x253));return(_0x307986=(_0x84eb4f=this[_0x59c98c(0x206)])==null?void 0x0:_0x84eb4f[_0x59c98c(0x407)])==null?void 0x0:_0x307986[_0x59c98c(0x469)](_0x84eb4f,_0x4a0cbb);},_0x48456e[_0xebc1db(0x19a)]=_0x175459=>{var _0x2e481f=_0xebc1db,_0x3b593f,_0x315401,_0xcdbaaa;if(!((_0x3b593f=this['_handlerCallback'])!=null&&_0x3b593f['onTransformRemoteChangesetByStateCache']))throw new Error('onTransformRemoteChangesetByStateCache\x20callback\x20is\x20not\x20added\x20yet.');return(_0xcdbaaa=(_0x315401=this['_handlerCallback'])==null?void 0x0:_0x315401[_0x2e481f(0x19a)])==null?void 0x0:_0xcdbaaa[_0x2e481f(0x469)](_0x315401,_0x175459);},_0x48456e;}async[_0x374e05(0x475)](){var _0x356dcc=_0x374e05;const _0x524c65=await super[_0x356dcc(0x475)]();return this[_0x356dcc(0x191)](this[_0x356dcc(0x1ad)][_0x356dcc(0x2f8)]((_0x22bcbe,_0x1790b6)=>{var _0x4d7c1b=_0x356dcc;if(_0x22bcbe[_0x4d7c1b(0x217)]!==_0x1fcea5[_0x4d7c1b(0x345)]||_0x1790b6!=null&&_0x1790b6[_0x4d7c1b(0x3a1)]||_0x1790b6!=null&&_0x1790b6[_0x4d7c1b(0x476)]||_0x22bcbe['id']===_0x879aff['id'])return;const _0x38aa16=_0x22bcbe[_0x4d7c1b(0x1f6)];if((_0x38aa16==null?void 0x0:_0x38aa16[_0x4d7c1b(0x221)])!==this[_0x4d7c1b(0x42a)])return;const _0x5c849b=_0x22bcbe,_0x35d810=this[_0x4d7c1b(0x33a)][_0x4d7c1b(0x3f9)]['fetchThroughInterceptors'](this['_compressMutationService']['interceptor'][_0x4d7c1b(0x33f)]()[_0x4d7c1b(0x39e)])([_0x5c849b],null)||[_0x5c849b];this[_0x4d7c1b(0x43d)](_0x35d810[0x0]);})),_0x524c65;}};St=wt([H(0x3,_0x59854e(_0x43d4c8)),H(0x4,_0x59854e(_0x554754)),H(0x5,_0x59854e(_0x1725ed)),H(0x6,_0x59854e(_0xa86e8b)),H(0x7,_0x59854e(ve)),H(0x8,_0x57d59c),H(0x9,_0x4ad308),H(0xa,_0x3a92ee),H(0xb,_0x2ed8f6(ht)),H(0xc,_0x2ed8f6(J))],St);let Et=class extends st{constructor(_0x314643,_0x59dfee,_0x4c9f07,_0xa55942,_0x199c39,_0x2bf730,_0x561c24,_0x480f88,_0x4d9613,_0x53fbab,_0x457353,_0x17a079,_0x401266,_0x1e53ec){var _0x3c5469=_0x374e05;super(_0x314643,_0x4c9f07,_0x59dfee,_0xa55942,_0x199c39,_0x2bf730,_0x561c24,_0x4d9613,_0x53fbab,_0x457353,_0x17a079,_0x401266,_0x1e53ec),this[_0x3c5469(0x42a)]=_0x314643,this[_0x3c5469(0x217)]=_0x59dfee,this[_0x3c5469(0x2d9)]=_0x480f88;}[_0x374e05(0x187)](){var _0xa30edd=_0x374e05;const _0x1f1032=super[_0xa30edd(0x187)]();return _0x1f1032[_0xa30edd(0x3ab)]=_0x38747f=>this[_0xa30edd(0x2d9)]['transformSelections'](_0x38747f),_0x1f1032;}async[_0x374e05(0x475)](){var _0x31078c=_0x374e05;const _0x10ca4c=await super[_0x31078c(0x475)]();return this[_0x31078c(0x191)](this['_commandService'][_0x31078c(0x2f8)]((_0x302bef,_0x729e2c)=>{var _0x105758=_0x31078c;if(_0x302bef[_0x105758(0x217)]!==_0x1fcea5['MUTATION']||_0x729e2c!=null&&_0x729e2c['fromCollab']||_0x729e2c!=null&&_0x729e2c[_0x105758(0x476)])return;const _0x3ac46c=_0x302bef[_0x105758(0x1f6)];if((_0x3ac46c==null?void 0x0:_0x3ac46c['unitId'])!==this['unitID'])return;const _0x4f12c6=_0x302bef,_0x536846=this[_0x105758(0x33a)]['interceptor'][_0x105758(0x3fb)](this[_0x105758(0x33a)]['interceptor'][_0x105758(0x33f)]()[_0x105758(0x39e)])([_0x4f12c6],null)||[_0x4f12c6];this[_0x105758(0x43d)](_0x536846[0x0]);})),_0x10ca4c;}};Et=wt([H(0x3,_0x59854e(_0x43d4c8)),H(0x4,_0x59854e(_0x554754)),H(0x5,_0x59854e(_0x1725ed)),H(0x6,_0x59854e(_0xa86e8b)),H(0x7,_0x59854e(it)),H(0x8,_0x59854e(ve)),H(0x9,_0x57d59c),H(0xa,_0x4ad308),H(0xb,_0x3a92ee),H(0xc,_0x2ed8f6(ht)),H(0xd,_0x2ed8f6(J))],Et);var Qs=Object[_0x374e05(0x34f)],en=(_0xef2d59,_0x224a41,_0x4b52bc,_0xf5cdfc)=>{var _0x4a404b=_0x374e05;for(var _0x2201bb=_0xf5cdfc>0x1?void 0x0:_0xf5cdfc?Qs(_0x224a41,_0x4b52bc):_0x224a41,_0x1217c7=_0xef2d59[_0x4a404b(0x3d1)]-0x1,_0x2e7db8;_0x1217c7>=0x0;_0x1217c7--)(_0x2e7db8=_0xef2d59[_0x1217c7])&&(_0x2201bb=_0x2e7db8(_0x2201bb)||_0x2201bb);return _0x2201bb;},Be=(_0x541332,_0x24999f)=>(_0x451383,_0x4d8ace)=>_0x24999f(_0x451383,_0x4d8ace,_0x541332);let nt=class extends _0x374f4f{constructor(_0x2f92cb,_0x30bbc1,_0x2e5874,_0x31a83f){var _0x152ecc=_0x374e05,_0x53e069;super(),N(this,'_entities',new Map()),N(this,_0x152ecc(0x359),new _0x680904()),N(this,_0x152ecc(0x3ba),this['_entityInit$'][_0x152ecc(0x32e)]()),(this['_injector']=_0x2f92cb,this[_0x152ecc(0x301)]=_0x30bbc1,this[_0x152ecc(0x31e)]=_0x2e5874,this['_univerInstanceService']=_0x31a83f,((_0x53e069=this['_configService']['getConfig'](K))==null?void 0x0:_0x53e069[_0x152ecc(0x339)])!==!0x1&&this[_0x152ecc(0x475)]());}['dispose'](){var _0x47ca8b=_0x374e05;super[_0x47ca8b(0x455)](),this['_entities']['forEach'](_0x32982c=>_0x32982c[_0x47ca8b(0x455)]()),this[_0x47ca8b(0x1cb)][_0x47ca8b(0x39d)]();}[_0x374e05(0x352)](_0x105448){var _0x5c8421=_0x374e05,_0x150c3d;return(_0x150c3d=this[_0x5c8421(0x1cb)]['get'](_0x105448))!=null?_0x150c3d:null;}[_0x374e05(0x224)](_0x3ab41c){var _0x52d873=_0x374e05;const _0x30eba4=this['getCollabEntity'](_0x3ab41c);return _0x30eba4?_0x546ff7(_0x30eba4):this[_0x52d873(0x359)][_0x52d873(0x3a3)](_0x442050(_0x2b4d67=>_0x2b4d67[_0x52d873(0x42a)]===_0x3ab41c));}[_0x374e05(0x199)](_0x1ce11f){var _0x2fc7fc=_0x374e05;return _0x340c8b(this[_0x2fc7fc(0x224)](_0x1ce11f)[_0x2fc7fc(0x3a3)](_0x516989(()=>{})));}[_0x374e05(0x475)](){var _0x485107=_0x374e05;this[_0x485107(0x47d)][_0x485107(0x2ad)](_0x3d936d[_0x485107(0x1ac)])['pipe'](_0x12c15b(this[_0x485107(0x2a3)]),_0x456e34(0x10))[_0x485107(0x44b)](async _0x235135=>{var _0x30558d=_0x485107;const _0x57596=_0x235135[_0x30558d(0x3b2)](),_0x48168e=await this['_startCollaboration'](_0x57596,Z[_0x30558d(0x1ac)]);this[_0x30558d(0x1cb)][_0x30558d(0x2d2)](_0x57596,_0x48168e);}),this[_0x485107(0x47d)][_0x485107(0x2ad)](_0x3d936d[_0x485107(0x338)])['pipe'](_0x12c15b(this[_0x485107(0x2a3)]),_0x456e34(0x10))[_0x485107(0x3a3)](_0x442050(_0x54493b=>!_0x54493b[_0x485107(0x3b2)]()[_0x485107(0x3c5)]('__')))[_0x485107(0x44b)](async _0x531116=>{var _0x48c6ba=_0x485107;const _0x5b26b5=_0x531116[_0x48c6ba(0x3b2)](),_0x431557=await this[_0x48c6ba(0x3af)](_0x5b26b5,Z[_0x48c6ba(0x338)]);this[_0x48c6ba(0x1cb)][_0x48c6ba(0x2d2)](_0x5b26b5,_0x431557);}),_0x338fa9(this[_0x485107(0x47d)][_0x485107(0x294)](_0x3d936d[_0x485107(0x1ac)]),this['_univerInstanceService'][_0x485107(0x294)](_0x3d936d[_0x485107(0x338)]))[_0x485107(0x3a3)](_0x12c15b(this[_0x485107(0x2a3)]))[_0x485107(0x44b)](_0x5d3a36=>{var _0x147464=_0x485107;const _0x5cfb51=_0x5d3a36[_0x147464(0x3b2)](),_0xdb4929=this[_0x147464(0x1cb)][_0x147464(0x35f)](_0x5cfb51);_0xdb4929&&(_0xdb4929[_0x147464(0x455)](),this['_entities'][_0x147464(0x2af)](_0x5cfb51));});}async[_0x374e05(0x3af)](_0x590530,_0x54ddb8){var _0x4a7f6f=_0x374e05;const _0x276eb8=await this[_0x4a7f6f(0x301)]['requireSession'](_0x590530),_0x214d42=this['_injector']['createInstance'](this[_0x4a7f6f(0x383)](_0x54ddb8),_0x590530,_0x54ddb8,_0x276eb8);return await _0x214d42[_0x4a7f6f(0x2fc)](),this[_0x4a7f6f(0x359)][_0x4a7f6f(0x321)](_0x214d42),_0x214d42;}['_getCtorByUniverType'](_0x41de20){var _0x421966=_0x374e05;switch(_0x41de20){case Z['UNIVER_DOC']:return St;case Z['UNIVER_SHEET']:return Et;default:throw new Error(_0x421966(0x442)+_0x41de20);}}};nt=en([Be(0x0,_0x59854e(_0x43d4c8)),Be(0x1,_0x59854e(Le)),Be(0x2,_0x53268d),Be(0x3,_0xdbe7af)],nt);var tn=Object['getOwnPropertyDescriptor'],sn=(_0x35830e,_0x4994c7,_0x385b1b,_0x19f952)=>{var _0x45f32=_0x374e05;for(var _0x2f756e=_0x19f952>0x1?void 0x0:_0x19f952?tn(_0x4994c7,_0x385b1b):_0x4994c7,_0x54415c=_0x35830e[_0x45f32(0x3d1)]-0x1,_0x3b1119;_0x54415c>=0x0;_0x54415c--)(_0x3b1119=_0x35830e[_0x54415c])&&(_0x2f756e=_0x3b1119(_0x2f756e)||_0x2f756e);return _0x2f756e;},Yt=(_0x1b9721,_0x68d221)=>(_0x5193e2,_0x30189d)=>_0x68d221(_0x5193e2,_0x30189d,_0x1b9721);function _0xbcb8(_0x2785f6,_0x2e765b){var _0x5654ec=_0x5654();return _0xbcb8=function(_0xbcb8e6,_0x32fbc3){_0xbcb8e6=_0xbcb8e6-0x187;var _0x2ea883=_0x5654ec[_0xbcb8e6];return _0x2ea883;},_0xbcb8(_0x2785f6,_0x2e765b);}const nn=_0x374e05(0x46a),rn=_0x374e05(0x1b3);let It=class extends _0x531aaf{constructor(_0x3035bc,_0x501c84){var _0x390b23=_0x374e05;super(),this[_0x390b23(0x47d)]=_0x3035bc,this[_0x390b23(0x31e)]=_0x501c84,this[_0x390b23(0x475)]();}[_0x374e05(0x475)](){var _0x345ff3=_0x374e05;this[_0x345ff3(0x191)](this['_univerInstanceService'][_0x345ff3(0x3eb)][_0x345ff3(0x44b)](()=>{var _0x2ad29a=_0x345ff3,_0x39af0a;const _0x32aa76=this[_0x2ad29a(0x47d)][_0x2ad29a(0x264)]();let _0x23de37=(_0x39af0a=this[_0x2ad29a(0x31e)][_0x2ad29a(0x1d8)](nn))!=null?_0x39af0a:rn;_0x32aa76 instanceof _0x565202&&(_0x23de37=_0x32aa76['name']),document['title']=_0x23de37;}));}};It=sn([Yt(0x0,_0xdbe7af),Yt(0x1,_0x53268d)],It);var an=Object[_0x374e05(0x34f)],on=(_0x553b27,_0x3531fe,_0x1b149a,_0x5b160e)=>{var _0x7c263c=_0x374e05;for(var _0x2d1c4b=_0x5b160e>0x1?void 0x0:_0x5b160e?an(_0x3531fe,_0x1b149a):_0x3531fe,_0x543d2c=_0x553b27[_0x7c263c(0x3d1)]-0x1,_0x4a9b87;_0x543d2c>=0x0;_0x543d2c--)(_0x4a9b87=_0x553b27[_0x543d2c])&&(_0x2d1c4b=_0x4a9b87(_0x2d1c4b)||_0x2d1c4b);return _0x2d1c4b;},dt=(_0x48207c,_0xe34ed1)=>(_0x4bf372,_0xe2ba9c)=>_0xe34ed1(_0x4bf372,_0xe2ba9c,_0x48207c);let rt=class{constructor(_0x657634,_0x546c03,_0x2083ea){var _0x43d317=_0x374e05;this['_configService']=_0x657634,this[_0x43d317(0x3d7)]=_0x546c03,this[_0x43d317(0x195)]=_0x2083ea,this['init']();}[_0x374e05(0x2fc)](){var _0x1c0848=_0x374e05;this[_0x1c0848(0x3d7)][_0x1c0848(0x3a4)]({'priority':0x1,'interceptor':(_0x5365ea,_0x1373a6)=>_0x1373a6(_0x5365ea)[_0x1c0848(0x3a3)](_0xd70d04(async _0x255ddb=>{var _0xe8879c=_0x1c0848;const _0x64df73=_0x255ddb;if(_0x64df73[_0xe8879c(0x2bf)]===0x191){if(typeof window>'u')throw new Error(_0xe8879c(0x3d8));if(window['confirm'](this[_0xe8879c(0x195)]['t'](_0xe8879c(0x1c2)))){const _0x3baa4c=window[_0xe8879c(0x391)](window['location']['href']);window['location'][_0xe8879c(0x2ed)]=this[_0xe8879c(0x2b4)]()+_0xe8879c(0x402)+_0x3baa4c;}}return _0x64df73;}))});}[_0x374e05(0x2b4)](){var _0x2120bf=_0x374e05,_0x21737e,_0x120758;const _0x53b833=this[_0x2120bf(0x31e)][_0x2120bf(0x1d8)](ys),_0x38e5f7=this['_configService']['getConfig'](K);return(_0x120758=(_0x21737e=_0x38e5f7==null?void 0x0:_0x38e5f7[_0x2120bf(0x1bb)])!=null?_0x21737e:_0x53b833)!=null?_0x120758:Ns;}};rt=on([dt(0x0,_0x53268d),dt(0x1,_0x59854e(_0x3c791d)),dt(0x2,_0x59854e(_0x1725ed))],rt);var cn=Object['getOwnPropertyDescriptor'],hn=(_0xc40879,_0x463b2f,_0x40089b,_0x3efa66)=>{for(var _0x4c5593=_0x3efa66>0x1?void 0x0:_0x3efa66?cn(_0x463b2f,_0x40089b):_0x463b2f,_0x360745=_0xc40879['length']-0x1,_0x2bdd61;_0x360745>=0x0;_0x360745--)(_0x2bdd61=_0xc40879[_0x360745])&&(_0x4c5593=_0x2bdd61(_0x4c5593)||_0x4c5593);return _0x4c5593;},Kt=(_0xa426d5,_0x344f09)=>(_0xb63940,_0x4aa596)=>_0x344f09(_0xb63940,_0x4aa596,_0xa426d5);const bi=_0x374e05(0x38a),_n=_0x374e05(0x37d);let Tt=class extends _0x531aaf{constructor(_0x1cedd3,_0x177238){var _0x3971a8=_0x374e05;super(),this[_0x3971a8(0x1a1)]=_0x1cedd3,this[_0x3971a8(0x31e)]=_0x177238,this['_initMergeInterceptor']();}['_initMergeInterceptor'](){var _0x58f0c6=_0x374e05;const _0x26d3ff=this;this[_0x58f0c6(0x191)](this[_0x58f0c6(0x1a1)][_0x58f0c6(0x3a4)]({'priority':0x3e7,'interceptor':_0x1f4878({'isMatch'(_0x65833d){var _0x4f3d6a=_0x58f0c6,_0x42cf24;if(_0x65833d[_0x4f3d6a(0x2b0)]===_0x4f3d6a(0x282)&&((_0x42cf24=_0x65833d[_0x4f3d6a(0x21f)])!=null&&_0x42cf24['body'])){const {objectID:_0x2f7515,objectType:_0x3b98ac}=_0x65833d[_0x4f3d6a(0x21f)][_0x4f3d6a(0x297)]||{};if(!_0x2f7515||_0x3b98ac===void 0x0)return!0x1;const _0x3d7d25=_0x26d3ff['_getAPIPrefixPath']()+'/'+_0x3b98ac+_0x4f3d6a(0x28e)+_0x2f7515+_0x4f3d6a(0x1c7);if(_0x65833d[_0x4f3d6a(0x1d2)]===_0x3d7d25)return!0x0;}return!0x1;},'getParamsFromRequest'(_0x2d46ac){var _0x183fc8=_0x58f0c6,_0x15092d;return(_0x15092d=_0x2d46ac[_0x183fc8(0x21f)])==null?void 0x0:_0x15092d[_0x183fc8(0x297)];},'mergeParamsToRequest'(_0x359559,_0x35f304){var _0x1ca448=_0x58f0c6;const _0x5c80de=_0x26d3ff[_0x1ca448(0x31a)]()+_0x1ca448(0x445),_0x34ae3f=_0x359559[_0x1ca448(0x360)]((_0xeca270,_0x55f2af)=>{var _0x53ab25=_0x1ca448;const {unitID:_0x455ec4,objectID:_0x3757ef,objectType:_0x57f177,actions:_0x468389}=_0x55f2af;return _0xeca270[_0x455ec4]||(_0xeca270[_0x455ec4]={}),_0xeca270[_0x455ec4][_0x3757ef]||(_0xeca270[_0x455ec4][_0x3757ef]={'objectID':_0x3757ef,'objectType':_0x57f177,'actions':[]}),_0xeca270[_0x455ec4][_0x3757ef][_0x53ab25(0x1a0)][_0x53ab25(0x1b6)](..._0x468389),_0xeca270;},{}),_0x39fa92=[];for(const _0x290409 in _0x34ae3f)for(const _0x2b2731 in _0x34ae3f[_0x290409]){const {actions:_0x140837,objectType:_0x85671f}=_0x34ae3f[_0x290409][_0x2b2731],_0x286075=[...new Set(_0x140837)];_0x39fa92[_0x1ca448(0x1b6)]({'unitID':_0x290409,'objectID':_0x2b2731,'objectType':_0x85671f,'actions':_0x286075});}return new _0x256b58(_0x1ca448(0x282),_0x5c80de,{'headers':_0x35f304[_0x1ca448(0x2c3)],'withCredentials':_0x35f304[_0x1ca448(0x27d)],'responseType':_0x35f304['responseType'],'body':{'requests':_0x39fa92}});}},{'distributeResult'(_0x1c4644,_0x31c15f){var _0x4b718b=_0x58f0c6;const {objectActions:_0x48e162}=_0x1c4644;return _0x31c15f[_0x4b718b(0x2e4)](_0x109b01=>{var _0x5248e3=_0x4b718b;const {unitID:_0xc41b15,objectID:_0x42958b,actions:_0x26b1d9}=_0x109b01,_0x3b3e32=_0x48e162[_0x5248e3(0x471)](_0x4bdacc=>_0x4bdacc[_0x5248e3(0x42a)]===_0xc41b15&&_0x4bdacc[_0x5248e3(0x373)]===_0x42958b),_0x5e8ce8=_0x26b1d9['map'](_0x3ef113=>_0x3b3e32==null?void 0x0:_0x3b3e32['actions'][_0x5248e3(0x471)](_0x4171ae=>_0x4171ae[_0x5248e3(0x216)]===_0x3ef113))[_0x5248e3(0x38b)](_0x4aa485=>!!_0x4aa485);return{'config':_0x109b01,'result':{'actions':_0x5e8ce8,'error':_0x1c4644[_0x5248e3(0x1ee)]}};});}})}));}['_getAPIPrefixPath'](){var _0x3ec7b4=_0x374e05,_0x4a6d9d,_0x3d1beb;const _0x573b15=this[_0x3ec7b4(0x31e)][_0x3ec7b4(0x1d8)](bi),_0x126879=this[_0x3ec7b4(0x31e)][_0x3ec7b4(0x1d8)](K);return(_0x3d1beb=(_0x4a6d9d=_0x126879==null?void 0x0:_0x126879[_0x3ec7b4(0x483)])!=null?_0x4a6d9d:_0x573b15)!=null?_0x3d1beb:_n;}async[_0x374e05(0x3d5)](_0x448ba1){var _0x2b35b1=_0x374e05;const _0x593218=this[_0x2b35b1(0x31a)]()+'/'+_0x448ba1['objectType']+'/object';return(await this[_0x2b35b1(0x1a1)][_0x2b35b1(0x3b4)](_0x593218,{'body':_0x448ba1}))[_0x2b35b1(0x297)]['objectID']||'';}async[_0x374e05(0x3bc)](_0x486d65){var _0x3d9c30=_0x374e05;const _0x587cd2=this['_getAPIPrefixPath']()+'/-/object/list';return(await this[_0x3d9c30(0x1a1)]['post'](_0x587cd2,{'body':_0x486d65}))[_0x3d9c30(0x297)]['objects'];}async['update'](_0x179569){var _0x1a7a47=_0x374e05,_0x7d93fd,_0x367b45;const _0x1fe9e3=this[_0x1a7a47(0x31a)]()+'/'+_0x179569['objectType']+_0x1a7a47(0x28e)+_0x179569['objectID'],_0x2f0a9f=await this[_0x1a7a47(0x1a1)][_0x1a7a47(0x1aa)](_0x1fe9e3,{'body':_0x179569});if(((_0x367b45=(_0x7d93fd=_0x2f0a9f==null?void 0x0:_0x2f0a9f['body'])==null?void 0x0:_0x7d93fd['error'])==null?void 0x0:_0x367b45[_0x1a7a47(0x28c)])!==0x1)throw new Error(_0x1a7a47(0x1cf));}async[_0x374e05(0x3a6)](_0x6e12ee){var _0x113762=_0x374e05;const _0x4ec9e5=this[_0x113762(0x31a)]()+'/'+_0x6e12ee['objectType']+_0x113762(0x28e)+_0x6e12ee['objectID']+_0x113762(0x1c7);return(await this['_HTTPService']['post'](_0x4ec9e5,{'body':_0x6e12ee}))[_0x113762(0x297)]['actions'];}async[_0x374e05(0x27c)](_0x3f71bc){var _0x278053=_0x374e05;const _0x2b19cc=this[_0x278053(0x31a)]()+_0x278053(0x445);return(await this[_0x278053(0x1a1)]['post'](_0x2b19cc,{'body':{'requests':_0x3f71bc}}))[_0x278053(0x297)][_0x278053(0x3f0)];}async['listRoles'](_0x4b0d85){var _0x29ec7e=_0x374e05;const _0x26081f=this[_0x29ec7e(0x31a)]()+'/'+_0x4b0d85[_0x29ec7e(0x449)]+_0x29ec7e(0x433),_0x455c1f=await this[_0x29ec7e(0x1a1)][_0x29ec7e(0x3b4)](_0x26081f,{'body':_0x4b0d85});return{'roles':_0x455c1f[_0x29ec7e(0x297)][_0x29ec7e(0x1f5)],'actions':_0x455c1f[_0x29ec7e(0x297)]['actions']};}async[_0x374e05(0x18e)](_0x43ffd7){var _0x265694=_0x374e05;const _0xfd7278=this[_0x265694(0x31a)]()+_0x265694(0x201);await this[_0x265694(0x1a1)][_0x265694(0x2af)](_0xfd7278,{'params':{'collaboratorID':_0x43ffd7[_0x265694(0x241)],'objectID':_0x43ffd7[_0x265694(0x373)],'unitID':_0x43ffd7['unitID']}});}async[_0x374e05(0x1e1)](_0x57946d){var _0x838ffe=_0x374e05;const _0x1de239=this[_0x838ffe(0x31a)]()+_0x838ffe(0x201);await this['_HTTPService'][_0x838ffe(0x20c)](_0x1de239,{'body':_0x57946d});}async[_0x374e05(0x3e7)](_0xef3c00){var _0x1d61a0=_0x374e05;const _0x4e871a=this[_0x1d61a0(0x31a)]()+'/collaborator';await this[_0x1d61a0(0x1a1)][_0x1d61a0(0x3b4)](_0x4e871a,{'body':_0xef3c00});}async[_0x374e05(0x3f3)](_0x164327){var _0x227632=_0x374e05;const _0x432905=this['_getAPIPrefixPath']()+_0x227632(0x201);return(await this[_0x227632(0x1a1)]['get'](_0x432905,{'params':{'objectID':_0x164327['objectID'],'unitID':_0x164327[_0x227632(0x42a)]}}))[_0x227632(0x297)][_0x227632(0x3ce)];}async[_0x374e05(0x38f)](_0x5656d9){var _0x3095eb=_0x374e05;const _0x27906e=this[_0x3095eb(0x31a)]()+'/collaborator';await this[_0x3095eb(0x1a1)][_0x3095eb(0x1aa)](_0x27906e,{'body':_0x5656d9});}};Tt=hn([Kt(0x0,_0x59854e(_0x3c791d)),Kt(0x1,_0x59854e(_0x53268d))],Tt);var ft=typeof globalThis<'u'?globalThis:typeof window<'u'?window:typeof global<'u'?global:typeof self<'u'?self:{};function $e(_0x507231){var _0x40472e=_0x374e05;return _0x507231&&_0x507231[_0x40472e(0x20f)]&&Object[_0x40472e(0x3fa)]['hasOwnProperty'][_0x40472e(0x469)](_0x507231,_0x40472e(0x39c))?_0x507231['default']:_0x507231;}var Ve={'exports':{}};function ln(_0x1adecf){throw new Error('Could\x20not\x20dynamically\x20require\x20\x22'+_0x1adecf+'\x22.\x20Please\x20configure\x20the\x20dynamicRequireTargets\x20or/and\x20ignoreDynamicRequires\x20option\x20of\x20@rollup/plugin-commonjs\x20appropriately\x20for\x20this\x20require\x20call\x20to\x20work.');}var Ge={'exports':{}},un=Ge['exports'],qt;function te(){var _0xe28f69=_0x374e05;return qt||(qt=0x1,function(_0x35eb3b,_0x1517a6){(function(_0x56a2c7,_0x4ef259){var _0x357a67=_0xbcb8;_0x35eb3b[_0x357a67(0x2ca)]=_0x4ef259();}(un,function(){var _0x1eaabc=_0x1eaabc||function(_0x421919,_0x1ae23d){var _0x28ff71=_0xbcb8,_0x2b5137;if(typeof window<'u'&&window[_0x28ff71(0x1a9)]&&(_0x2b5137=window[_0x28ff71(0x1a9)]),typeof self<'u'&&self['crypto']&&(_0x2b5137=self[_0x28ff71(0x1a9)]),typeof globalThis<'u'&&globalThis['crypto']&&(_0x2b5137=globalThis[_0x28ff71(0x1a9)]),!_0x2b5137&&typeof window<'u'&&window[_0x28ff71(0x3e0)]&&(_0x2b5137=window[_0x28ff71(0x3e0)]),!_0x2b5137&&typeof ft<'u'&&ft[_0x28ff71(0x1a9)]&&(_0x2b5137=ft[_0x28ff71(0x1a9)]),!_0x2b5137&&typeof ln==_0x28ff71(0x40f))try{_0x2b5137=require(_0x28ff71(0x1a9));}catch{}var _0x5bc311=function(){var _0x4a7c2f=_0x28ff71;if(_0x2b5137){if(typeof _0x2b5137['getRandomValues']=='function')try{return _0x2b5137['getRandomValues'](new Uint32Array(0x1))[0x0];}catch{}if(typeof _0x2b5137[_0x4a7c2f(0x2c2)]==_0x4a7c2f(0x40f))try{return _0x2b5137[_0x4a7c2f(0x2c2)](0x4)[_0x4a7c2f(0x1de)]();}catch{}}throw new Error('Native\x20crypto\x20module\x20could\x20not\x20be\x20used\x20to\x20get\x20secure\x20random\x20number.');},_0x37cf52=Object[_0x28ff71(0x3d5)]||(function(){function _0x42a719(){}return function(_0x15170b){var _0x5a2bc4=_0xbcb8,_0x2c8b3a;return _0x42a719[_0x5a2bc4(0x3fa)]=_0x15170b,_0x2c8b3a=new _0x42a719(),_0x42a719['prototype']=null,_0x2c8b3a;};}()),_0x2bf446={},_0x2d05cc=_0x2bf446['lib']={},_0x4bffc3=_0x2d05cc[_0x28ff71(0x436)]=(function(){return{'extend':function(_0x2aade6){var _0x1fe3ab=_0xbcb8,_0x35a13d=_0x37cf52(this);return _0x2aade6&&_0x35a13d['mixIn'](_0x2aade6),(!_0x35a13d['hasOwnProperty'](_0x1fe3ab(0x2fc))||this[_0x1fe3ab(0x2fc)]===_0x35a13d[_0x1fe3ab(0x2fc)])&&(_0x35a13d[_0x1fe3ab(0x2fc)]=function(){var _0xc55538=_0x1fe3ab;_0x35a13d['$super'][_0xc55538(0x2fc)]['apply'](this,arguments);}),_0x35a13d['init'][_0x1fe3ab(0x3fa)]=_0x35a13d,_0x35a13d[_0x1fe3ab(0x341)]=this,_0x35a13d;},'create':function(){var _0x1dd054=_0xbcb8,_0x1933e5=this[_0x1dd054(0x271)]();return _0x1933e5[_0x1dd054(0x2fc)]['apply'](_0x1933e5,arguments),_0x1933e5;},'init':function(){},'mixIn':function(_0x5b1a8a){var _0xcf147e=_0xbcb8;for(var _0x5ec414 in _0x5b1a8a)_0x5b1a8a[_0xcf147e(0x314)](_0x5ec414)&&(this[_0x5ec414]=_0x5b1a8a[_0x5ec414]);_0x5b1a8a[_0xcf147e(0x314)](_0xcf147e(0x452))&&(this['toString']=_0x5b1a8a[_0xcf147e(0x452)]);},'clone':function(){var _0x2d1899=_0xbcb8;return this[_0x2d1899(0x2fc)][_0x2d1899(0x3fa)][_0x2d1899(0x271)](this);}};}()),_0x2f24a8=_0x2d05cc[_0x28ff71(0x3e5)]=_0x4bffc3[_0x28ff71(0x271)]({'init':function(_0x21a507,_0x1544e1){var _0xb7302e=_0x28ff71;_0x21a507=this[_0xb7302e(0x29c)]=_0x21a507||[],_0x1544e1!=_0x1ae23d?this[_0xb7302e(0x470)]=_0x1544e1:this[_0xb7302e(0x470)]=_0x21a507[_0xb7302e(0x3d1)]*0x4;},'toString':function(_0x577fd8){var _0x2adcb6=_0x28ff71;return(_0x577fd8||_0x59b898)[_0x2adcb6(0x198)](this);},'concat':function(_0x15aefb){var _0x2ff435=_0x28ff71,_0x30b1bd=this['words'],_0x308c93=_0x15aefb['words'],_0x516696=this[_0x2ff435(0x470)],_0x52f2b3=_0x15aefb['sigBytes'];if(this[_0x2ff435(0x388)](),_0x516696%0x4)for(var _0xde67ca=0x0;_0xde67ca<_0x52f2b3;_0xde67ca++){var _0x496b91=_0x308c93[_0xde67ca>>>0x2]>>>0x18-_0xde67ca%0x4*0x8&0xff;_0x30b1bd[_0x516696+_0xde67ca>>>0x2]|=_0x496b91<<0x18-(_0x516696+_0xde67ca)%0x4*0x8;}else{for(var _0x54dd8d=0x0;_0x54dd8d<_0x52f2b3;_0x54dd8d+=0x4)_0x30b1bd[_0x516696+_0x54dd8d>>>0x2]=_0x308c93[_0x54dd8d>>>0x2];}return this['sigBytes']+=_0x52f2b3,this;},'clamp':function(){var _0xfe1740=_0x28ff71,_0x2d012e=this[_0xfe1740(0x29c)],_0x338f39=this[_0xfe1740(0x470)];_0x2d012e[_0x338f39>>>0x2]&=0xffffffff<<0x20-_0x338f39%0x4*0x8,_0x2d012e[_0xfe1740(0x3d1)]=_0x421919[_0xfe1740(0x3f2)](_0x338f39/0x4);},'clone':function(){var _0x44bd3b=_0x28ff71,_0x53db9a=_0x4bffc3[_0x44bd3b(0x2f3)][_0x44bd3b(0x469)](this);return _0x53db9a[_0x44bd3b(0x29c)]=this[_0x44bd3b(0x29c)][_0x44bd3b(0x416)](0x0),_0x53db9a;},'random':function(_0x4080dc){var _0xd4a442=_0x28ff71;for(var _0x201eef=[],_0x4a2ab9=0x0;_0x4a2ab9<_0x4080dc;_0x4a2ab9+=0x4)_0x201eef[_0xd4a442(0x1b6)](_0x5bc311());return new _0x2f24a8[(_0xd4a442(0x2fc))](_0x201eef,_0x4080dc);}}),_0x376040=_0x2bf446[_0x28ff71(0x2ff)]={},_0x59b898=_0x376040['Hex']={'stringify':function(_0x47c77f){var _0x12a04a=_0x28ff71;for(var _0x55a88f=_0x47c77f['words'],_0x3bec96=_0x47c77f['sigBytes'],_0x401740=[],_0x2498f8=0x0;_0x2498f8<_0x3bec96;_0x2498f8++){var _0x288e64=_0x55a88f[_0x2498f8>>>0x2]>>>0x18-_0x2498f8%0x4*0x8&0xff;_0x401740[_0x12a04a(0x1b6)]((_0x288e64>>>0x4)[_0x12a04a(0x452)](0x10)),_0x401740['push']((_0x288e64&0xf)[_0x12a04a(0x452)](0x10));}return _0x401740[_0x12a04a(0x268)]('');},'parse':function(_0x1dd48f){for(var _0x220ee5=_0x1dd48f['length'],_0x3ff730=[],_0x4592f2=0x0;_0x4592f2<_0x220ee5;_0x4592f2+=0x2)_0x3ff730[_0x4592f2>>>0x3]|=parseInt(_0x1dd48f['substr'](_0x4592f2,0x2),0x10)<<0x18-_0x4592f2%0x8*0x4;return new _0x2f24a8['init'](_0x3ff730,_0x220ee5/0x2);}},_0x4129be=_0x376040['Latin1']={'stringify':function(_0xdfe512){var _0x1269ea=_0x28ff71;for(var _0x46fa2e=_0xdfe512['words'],_0x2888b9=_0xdfe512['sigBytes'],_0x2177d0=[],_0x3c8f05=0x0;_0x3c8f05<_0x2888b9;_0x3c8f05++){var _0x2256bb=_0x46fa2e[_0x3c8f05>>>0x2]>>>0x18-_0x3c8f05%0x4*0x8&0xff;_0x2177d0[_0x1269ea(0x1b6)](String[_0x1269ea(0x1ba)](_0x2256bb));}return _0x2177d0[_0x1269ea(0x268)]('');},'parse':function(_0x243905){var _0xcea1bb=_0x28ff71;for(var _0x1e2bc9=_0x243905[_0xcea1bb(0x3d1)],_0x4ad721=[],_0xb05125=0x0;_0xb05125<_0x1e2bc9;_0xb05125++)_0x4ad721[_0xb05125>>>0x2]|=(_0x243905[_0xcea1bb(0x248)](_0xb05125)&0xff)<<0x18-_0xb05125%0x4*0x8;return new _0x2f24a8[(_0xcea1bb(0x2fc))](_0x4ad721,_0x1e2bc9);}},_0x5a6072=_0x376040[_0x28ff71(0x38c)]={'stringify':function(_0x1d26a7){var _0x4d1f79=_0x28ff71;try{return decodeURIComponent(escape(_0x4129be[_0x4d1f79(0x198)](_0x1d26a7)));}catch{throw new Error(_0x4d1f79(0x259));}},'parse':function(_0x5b3e78){return _0x4129be['parse'](unescape(encodeURIComponent(_0x5b3e78)));}},_0x41bb85=_0x2d05cc[_0x28ff71(0x31f)]=_0x4bffc3[_0x28ff71(0x271)]({'reset':function(){var _0x551012=_0x28ff71;this[_0x551012(0x34e)]=new _0x2f24a8[(_0x551012(0x2fc))](),this[_0x551012(0x1fe)]=0x0;},'_append':function(_0x15a141){var _0x2d2cf7=_0x28ff71;typeof _0x15a141==_0x2d2cf7(0x2fb)&&(_0x15a141=_0x5a6072[_0x2d2cf7(0x38e)](_0x15a141)),this['_data'][_0x2d2cf7(0x380)](_0x15a141),this[_0x2d2cf7(0x1fe)]+=_0x15a141['sigBytes'];},'_process':function(_0x13c89f){var _0x411f54=_0x28ff71,_0x308f4a,_0x45a8f5=this[_0x411f54(0x34e)],_0x57cf7a=_0x45a8f5['words'],_0x2fb28b=_0x45a8f5[_0x411f54(0x470)],_0x84b1ba=this[_0x411f54(0x356)],_0x40f7d8=_0x84b1ba*0x4,_0x4a1b9c=_0x2fb28b/_0x40f7d8;_0x13c89f?_0x4a1b9c=_0x421919[_0x411f54(0x3f2)](_0x4a1b9c):_0x4a1b9c=_0x421919[_0x411f54(0x2c9)]((_0x4a1b9c|0x0)-this[_0x411f54(0x28f)],0x0);var _0x739960=_0x4a1b9c*_0x84b1ba,_0x6ebd58=_0x421919[_0x411f54(0x278)](_0x739960*0x4,_0x2fb28b);if(_0x739960){for(var _0x14ee30=0x0;_0x14ee30<_0x739960;_0x14ee30+=_0x84b1ba)this['_doProcessBlock'](_0x57cf7a,_0x14ee30);_0x308f4a=_0x57cf7a['splice'](0x0,_0x739960),_0x45a8f5[_0x411f54(0x470)]-=_0x6ebd58;}return new _0x2f24a8[(_0x411f54(0x2fc))](_0x308f4a,_0x6ebd58);},'clone':function(){var _0x158982=_0x28ff71,_0x4110ec=_0x4bffc3['clone']['call'](this);return _0x4110ec['_data']=this[_0x158982(0x34e)][_0x158982(0x2f3)](),_0x4110ec;},'_minBufferSize':0x0});_0x2d05cc[_0x28ff71(0x3f6)]=_0x41bb85[_0x28ff71(0x271)]({'cfg':_0x4bffc3['extend'](),'init':function(_0x366e89){var _0x4e5d9d=_0x28ff71;this[_0x4e5d9d(0x42d)]=this[_0x4e5d9d(0x42d)][_0x4e5d9d(0x271)](_0x366e89),this[_0x4e5d9d(0x487)]();},'reset':function(){var _0x9e6193=_0x28ff71;_0x41bb85[_0x9e6193(0x487)][_0x9e6193(0x469)](this),this[_0x9e6193(0x2d0)]();},'update':function(_0x4a7f6a){var _0x49ca2c=_0x28ff71;return this[_0x49ca2c(0x381)](_0x4a7f6a),this[_0x49ca2c(0x2a8)](),this;},'finalize':function(_0x487211){var _0x4f28b5=_0x28ff71;_0x487211&&this[_0x4f28b5(0x381)](_0x487211);var _0x3556ee=this[_0x4f28b5(0x2d6)]();return _0x3556ee;},'blockSize':0x10,'_createHelper':function(_0x4bc69d){return function(_0x287250,_0x940a10){var _0x1c5f08=_0xbcb8;return new _0x4bc69d[(_0x1c5f08(0x2fc))](_0x940a10)['finalize'](_0x287250);};},'_createHmacHelper':function(_0x38b2c9){return function(_0x16ac7a,_0x4625d9){var _0x5a47f6=_0xbcb8;return new _0x3f8e74[(_0x5a47f6(0x3df))][(_0x5a47f6(0x2fc))](_0x38b2c9,_0x4625d9)[_0x5a47f6(0x44d)](_0x16ac7a);};}});var _0x3f8e74=_0x2bf446[_0x28ff71(0x47f)]={};return _0x2bf446;}(Math);return _0x1eaabc;}));}(Ge)),Ge[_0xe28f69(0x2ca)];}var We={'exports':{}},dn=We['exports'],zt;function Oi(){var _0x14fd50=_0x374e05;return zt||(zt=0x1,function(_0x1db46,_0x353f16){(function(_0x24d6f4,_0x17ac75){var _0x2458af=_0xbcb8;_0x1db46[_0x2458af(0x2ca)]=_0x17ac75(te());}(dn,function(_0x498242){var _0x5457f7=_0xbcb8;return(function(){var _0xbef82b=_0xbcb8,_0x2c9cfd=_0x498242,_0x401546=_0x2c9cfd[_0xbef82b(0x306)],_0x346fcf=_0x401546['WordArray'],_0x14104d=_0x2c9cfd[_0xbef82b(0x2ff)];_0x14104d[_0xbef82b(0x220)]={'stringify':function(_0x5c22dc){var _0x1d0e6e=_0xbef82b,_0x40372d=_0x5c22dc[_0x1d0e6e(0x29c)],_0x44c575=_0x5c22dc[_0x1d0e6e(0x470)],_0x54f3d5=this[_0x1d0e6e(0x35d)];_0x5c22dc[_0x1d0e6e(0x388)]();for(var _0x29515b=[],_0x1feae1=0x0;_0x1feae1<_0x44c575;_0x1feae1+=0x3)for(var _0x1745e2=_0x40372d[_0x1feae1>>>0x2]>>>0x18-_0x1feae1%0x4*0x8&0xff,_0x2234f9=_0x40372d[_0x1feae1+0x1>>>0x2]>>>0x18-(_0x1feae1+0x1)%0x4*0x8&0xff,_0x46313b=_0x40372d[_0x1feae1+0x2>>>0x2]>>>0x18-(_0x1feae1+0x2)%0x4*0x8&0xff,_0x1c6a9d=_0x1745e2<<0x10|_0x2234f9<<0x8|_0x46313b,_0x332b73=0x0;_0x332b73<0x4&&_0x1feae1+_0x332b73*0.75<_0x44c575;_0x332b73++)_0x29515b['push'](_0x54f3d5['charAt'](_0x1c6a9d>>>0x6*(0x3-_0x332b73)&0x3f));var _0x21c564=_0x54f3d5[_0x1d0e6e(0x3c6)](0x40);if(_0x21c564){for(;_0x29515b['length']%0x4;)_0x29515b[_0x1d0e6e(0x1b6)](_0x21c564);}return _0x29515b[_0x1d0e6e(0x268)]('');},'parse':function(_0x260a37){var _0x4f75f4=_0xbef82b,_0x1230b1=_0x260a37[_0x4f75f4(0x3d1)],_0x211e7c=this[_0x4f75f4(0x35d)],_0x2fe15a=this[_0x4f75f4(0x485)];if(!_0x2fe15a){_0x2fe15a=this[_0x4f75f4(0x485)]=[];for(var _0x12f56d=0x0;_0x12f56d<_0x211e7c['length'];_0x12f56d++)_0x2fe15a[_0x211e7c[_0x4f75f4(0x248)](_0x12f56d)]=_0x12f56d;}var _0x16159c=_0x211e7c[_0x4f75f4(0x3c6)](0x40);if(_0x16159c){var _0x10ee6f=_0x260a37[_0x4f75f4(0x43e)](_0x16159c);_0x10ee6f!==-0x1&&(_0x1230b1=_0x10ee6f);}return _0x37703c(_0x260a37,_0x1230b1,_0x2fe15a);},'_map':_0xbef82b(0x276)};function _0x37703c(_0x46e8ea,_0x5216f5,_0x33045b){var _0x46c964=_0xbef82b;for(var _0x5de959=[],_0x1edc0c=0x0,_0x551495=0x0;_0x551495<_0x5216f5;_0x551495++)if(_0x551495%0x4){var _0x4f65c4=_0x33045b[_0x46e8ea[_0x46c964(0x248)](_0x551495-0x1)]<<_0x551495%0x4*0x2,_0x2e1573=_0x33045b[_0x46e8ea[_0x46c964(0x248)](_0x551495)]>>>0x6-_0x551495%0x4*0x2,_0x55a0da=_0x4f65c4|_0x2e1573;_0x5de959[_0x1edc0c>>>0x2]|=_0x55a0da<<0x18-_0x1edc0c%0x4*0x8,_0x1edc0c++;}return _0x346fcf['create'](_0x5de959,_0x1edc0c);}}()),_0x498242[_0x5457f7(0x2ff)][_0x5457f7(0x220)];}));}(We)),We[_0x14fd50(0x2ca)];}var Ye={'exports':{}},fn=Ye[_0x374e05(0x2ca)],Jt;function vn(){var _0x539490=_0x374e05;return Jt||(Jt=0x1,function(_0x24b8db,_0x42325b){(function(_0x41fd3a,_0x43fde8){var _0x16b19f=_0xbcb8;_0x24b8db[_0x16b19f(0x2ca)]=_0x43fde8(te());}(fn,function(_0x239c52){var _0x5efbc3=_0xbcb8;return function(_0x1d3f89){var _0x5a0d40=_0xbcb8,_0x46ef2c=_0x239c52,_0x43ba9a=_0x46ef2c['lib'],_0x5a43c2=_0x43ba9a[_0x5a0d40(0x3e5)],_0x41dc66=_0x43ba9a[_0x5a0d40(0x3f6)],_0x2834aa=_0x46ef2c[_0x5a0d40(0x47f)],_0x3bf276=[];(function(){var _0x4e0e34=_0x5a0d40;for(var _0x4f03f4=0x0;_0x4f03f4<0x40;_0x4f03f4++)_0x3bf276[_0x4f03f4]=_0x1d3f89[_0x4e0e34(0x1cd)](_0x1d3f89[_0x4e0e34(0x315)](_0x4f03f4+0x1))*0x100000000|0x0;}());var _0x36b0e0=_0x2834aa['MD5']=_0x41dc66[_0x5a0d40(0x271)]({'_doReset':function(){var _0x11bf71=_0x5a0d40;this[_0x11bf71(0x258)]=new _0x5a43c2[(_0x11bf71(0x2fc))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476]);},'_doProcessBlock':function(_0x45431a,_0x4abbeb){var _0x2b2ebe=_0x5a0d40;for(var _0x5a12d9=0x0;_0x5a12d9<0x10;_0x5a12d9++){var _0x160a73=_0x4abbeb+_0x5a12d9,_0x2bf544=_0x45431a[_0x160a73];_0x45431a[_0x160a73]=(_0x2bf544<<0x8|_0x2bf544>>>0x18)&0xff00ff|(_0x2bf544<<0x18|_0x2bf544>>>0x8)&0xff00ff00;}var _0x4dc6c2=this[_0x2b2ebe(0x258)]['words'],_0x33338a=_0x45431a[_0x4abbeb+0x0],_0x5d4b66=_0x45431a[_0x4abbeb+0x1],_0x2e94ce=_0x45431a[_0x4abbeb+0x2],_0x2454f4=_0x45431a[_0x4abbeb+0x3],_0x2fbde8=_0x45431a[_0x4abbeb+0x4],_0x297bce=_0x45431a[_0x4abbeb+0x5],_0x2a3329=_0x45431a[_0x4abbeb+0x6],_0x9d763a=_0x45431a[_0x4abbeb+0x7],_0x265add=_0x45431a[_0x4abbeb+0x8],_0xacd6ad=_0x45431a[_0x4abbeb+0x9],_0x4e4547=_0x45431a[_0x4abbeb+0xa],_0x205c61=_0x45431a[_0x4abbeb+0xb],_0x1b6bd0=_0x45431a[_0x4abbeb+0xc],_0x15a5e0=_0x45431a[_0x4abbeb+0xd],_0x93c5db=_0x45431a[_0x4abbeb+0xe],_0x74a9f5=_0x45431a[_0x4abbeb+0xf],_0x3431ec=_0x4dc6c2[0x0],_0x335a4b=_0x4dc6c2[0x1],_0x7e2b0b=_0x4dc6c2[0x2],_0x164251=_0x4dc6c2[0x3];_0x3431ec=_0x28fa72(_0x3431ec,_0x335a4b,_0x7e2b0b,_0x164251,_0x33338a,0x7,_0x3bf276[0x0]),_0x164251=_0x28fa72(_0x164251,_0x3431ec,_0x335a4b,_0x7e2b0b,_0x5d4b66,0xc,_0x3bf276[0x1]),_0x7e2b0b=_0x28fa72(_0x7e2b0b,_0x164251,_0x3431ec,_0x335a4b,_0x2e94ce,0x11,_0x3bf276[0x2]),_0x335a4b=_0x28fa72(_0x335a4b,_0x7e2b0b,_0x164251,_0x3431ec,_0x2454f4,0x16,_0x3bf276[0x3]),_0x3431ec=_0x28fa72(_0x3431ec,_0x335a4b,_0x7e2b0b,_0x164251,_0x2fbde8,0x7,_0x3bf276[0x4]),_0x164251=_0x28fa72(_0x164251,_0x3431ec,_0x335a4b,_0x7e2b0b,_0x297bce,0xc,_0x3bf276[0x5]),_0x7e2b0b=_0x28fa72(_0x7e2b0b,_0x164251,_0x3431ec,_0x335a4b,_0x2a3329,0x11,_0x3bf276[0x6]),_0x335a4b=_0x28fa72(_0x335a4b,_0x7e2b0b,_0x164251,_0x3431ec,_0x9d763a,0x16,_0x3bf276[0x7]),_0x3431ec=_0x28fa72(_0x3431ec,_0x335a4b,_0x7e2b0b,_0x164251,_0x265add,0x7,_0x3bf276[0x8]),_0x164251=_0x28fa72(_0x164251,_0x3431ec,_0x335a4b,_0x7e2b0b,_0xacd6ad,0xc,_0x3bf276[0x9]),_0x7e2b0b=_0x28fa72(_0x7e2b0b,_0x164251,_0x3431ec,_0x335a4b,_0x4e4547,0x11,_0x3bf276[0xa]),_0x335a4b=_0x28fa72(_0x335a4b,_0x7e2b0b,_0x164251,_0x3431ec,_0x205c61,0x16,_0x3bf276[0xb]),_0x3431ec=_0x28fa72(_0x3431ec,_0x335a4b,_0x7e2b0b,_0x164251,_0x1b6bd0,0x7,_0x3bf276[0xc]),_0x164251=_0x28fa72(_0x164251,_0x3431ec,_0x335a4b,_0x7e2b0b,_0x15a5e0,0xc,_0x3bf276[0xd]),_0x7e2b0b=_0x28fa72(_0x7e2b0b,_0x164251,_0x3431ec,_0x335a4b,_0x93c5db,0x11,_0x3bf276[0xe]),_0x335a4b=_0x28fa72(_0x335a4b,_0x7e2b0b,_0x164251,_0x3431ec,_0x74a9f5,0x16,_0x3bf276[0xf]),_0x3431ec=_0x2d2ef0(_0x3431ec,_0x335a4b,_0x7e2b0b,_0x164251,_0x5d4b66,0x5,_0x3bf276[0x10]),_0x164251=_0x2d2ef0(_0x164251,_0x3431ec,_0x335a4b,_0x7e2b0b,_0x2a3329,0x9,_0x3bf276[0x11]),_0x7e2b0b=_0x2d2ef0(_0x7e2b0b,_0x164251,_0x3431ec,_0x335a4b,_0x205c61,0xe,_0x3bf276[0x12]),_0x335a4b=_0x2d2ef0(_0x335a4b,_0x7e2b0b,_0x164251,_0x3431ec,_0x33338a,0x14,_0x3bf276[0x13]),_0x3431ec=_0x2d2ef0(_0x3431ec,_0x335a4b,_0x7e2b0b,_0x164251,_0x297bce,0x5,_0x3bf276[0x14]),_0x164251=_0x2d2ef0(_0x164251,_0x3431ec,_0x335a4b,_0x7e2b0b,_0x4e4547,0x9,_0x3bf276[0x15]),_0x7e2b0b=_0x2d2ef0(_0x7e2b0b,_0x164251,_0x3431ec,_0x335a4b,_0x74a9f5,0xe,_0x3bf276[0x16]),_0x335a4b=_0x2d2ef0(_0x335a4b,_0x7e2b0b,_0x164251,_0x3431ec,_0x2fbde8,0x14,_0x3bf276[0x17]),_0x3431ec=_0x2d2ef0(_0x3431ec,_0x335a4b,_0x7e2b0b,_0x164251,_0xacd6ad,0x5,_0x3bf276[0x18]),_0x164251=_0x2d2ef0(_0x164251,_0x3431ec,_0x335a4b,_0x7e2b0b,_0x93c5db,0x9,_0x3bf276[0x19]),_0x7e2b0b=_0x2d2ef0(_0x7e2b0b,_0x164251,_0x3431ec,_0x335a4b,_0x2454f4,0xe,_0x3bf276[0x1a]),_0x335a4b=_0x2d2ef0(_0x335a4b,_0x7e2b0b,_0x164251,_0x3431ec,_0x265add,0x14,_0x3bf276[0x1b]),_0x3431ec=_0x2d2ef0(_0x3431ec,_0x335a4b,_0x7e2b0b,_0x164251,_0x15a5e0,0x5,_0x3bf276[0x1c]),_0x164251=_0x2d2ef0(_0x164251,_0x3431ec,_0x335a4b,_0x7e2b0b,_0x2e94ce,0x9,_0x3bf276[0x1d]),_0x7e2b0b=_0x2d2ef0(_0x7e2b0b,_0x164251,_0x3431ec,_0x335a4b,_0x9d763a,0xe,_0x3bf276[0x1e]),_0x335a4b=_0x2d2ef0(_0x335a4b,_0x7e2b0b,_0x164251,_0x3431ec,_0x1b6bd0,0x14,_0x3bf276[0x1f]),_0x3431ec=_0x120d4e(_0x3431ec,_0x335a4b,_0x7e2b0b,_0x164251,_0x297bce,0x4,_0x3bf276[0x20]),_0x164251=_0x120d4e(_0x164251,_0x3431ec,_0x335a4b,_0x7e2b0b,_0x265add,0xb,_0x3bf276[0x21]),_0x7e2b0b=_0x120d4e(_0x7e2b0b,_0x164251,_0x3431ec,_0x335a4b,_0x205c61,0x10,_0x3bf276[0x22]),_0x335a4b=_0x120d4e(_0x335a4b,_0x7e2b0b,_0x164251,_0x3431ec,_0x93c5db,0x17,_0x3bf276[0x23]),_0x3431ec=_0x120d4e(_0x3431ec,_0x335a4b,_0x7e2b0b,_0x164251,_0x5d4b66,0x4,_0x3bf276[0x24]),_0x164251=_0x120d4e(_0x164251,_0x3431ec,_0x335a4b,_0x7e2b0b,_0x2fbde8,0xb,_0x3bf276[0x25]),_0x7e2b0b=_0x120d4e(_0x7e2b0b,_0x164251,_0x3431ec,_0x335a4b,_0x9d763a,0x10,_0x3bf276[0x26]),_0x335a4b=_0x120d4e(_0x335a4b,_0x7e2b0b,_0x164251,_0x3431ec,_0x4e4547,0x17,_0x3bf276[0x27]),_0x3431ec=_0x120d4e(_0x3431ec,_0x335a4b,_0x7e2b0b,_0x164251,_0x15a5e0,0x4,_0x3bf276[0x28]),_0x164251=_0x120d4e(_0x164251,_0x3431ec,_0x335a4b,_0x7e2b0b,_0x33338a,0xb,_0x3bf276[0x29]),_0x7e2b0b=_0x120d4e(_0x7e2b0b,_0x164251,_0x3431ec,_0x335a4b,_0x2454f4,0x10,_0x3bf276[0x2a]),_0x335a4b=_0x120d4e(_0x335a4b,_0x7e2b0b,_0x164251,_0x3431ec,_0x2a3329,0x17,_0x3bf276[0x2b]),_0x3431ec=_0x120d4e(_0x3431ec,_0x335a4b,_0x7e2b0b,_0x164251,_0xacd6ad,0x4,_0x3bf276[0x2c]),_0x164251=_0x120d4e(_0x164251,_0x3431ec,_0x335a4b,_0x7e2b0b,_0x1b6bd0,0xb,_0x3bf276[0x2d]),_0x7e2b0b=_0x120d4e(_0x7e2b0b,_0x164251,_0x3431ec,_0x335a4b,_0x74a9f5,0x10,_0x3bf276[0x2e]),_0x335a4b=_0x120d4e(_0x335a4b,_0x7e2b0b,_0x164251,_0x3431ec,_0x2e94ce,0x17,_0x3bf276[0x2f]),_0x3431ec=_0x53a915(_0x3431ec,_0x335a4b,_0x7e2b0b,_0x164251,_0x33338a,0x6,_0x3bf276[0x30]),_0x164251=_0x53a915(_0x164251,_0x3431ec,_0x335a4b,_0x7e2b0b,_0x9d763a,0xa,_0x3bf276[0x31]),_0x7e2b0b=_0x53a915(_0x7e2b0b,_0x164251,_0x3431ec,_0x335a4b,_0x93c5db,0xf,_0x3bf276[0x32]),_0x335a4b=_0x53a915(_0x335a4b,_0x7e2b0b,_0x164251,_0x3431ec,_0x297bce,0x15,_0x3bf276[0x33]),_0x3431ec=_0x53a915(_0x3431ec,_0x335a4b,_0x7e2b0b,_0x164251,_0x1b6bd0,0x6,_0x3bf276[0x34]),_0x164251=_0x53a915(_0x164251,_0x3431ec,_0x335a4b,_0x7e2b0b,_0x2454f4,0xa,_0x3bf276[0x35]),_0x7e2b0b=_0x53a915(_0x7e2b0b,_0x164251,_0x3431ec,_0x335a4b,_0x4e4547,0xf,_0x3bf276[0x36]),_0x335a4b=_0x53a915(_0x335a4b,_0x7e2b0b,_0x164251,_0x3431ec,_0x5d4b66,0x15,_0x3bf276[0x37]),_0x3431ec=_0x53a915(_0x3431ec,_0x335a4b,_0x7e2b0b,_0x164251,_0x265add,0x6,_0x3bf276[0x38]),_0x164251=_0x53a915(_0x164251,_0x3431ec,_0x335a4b,_0x7e2b0b,_0x74a9f5,0xa,_0x3bf276[0x39]),_0x7e2b0b=_0x53a915(_0x7e2b0b,_0x164251,_0x3431ec,_0x335a4b,_0x2a3329,0xf,_0x3bf276[0x3a]),_0x335a4b=_0x53a915(_0x335a4b,_0x7e2b0b,_0x164251,_0x3431ec,_0x15a5e0,0x15,_0x3bf276[0x3b]),_0x3431ec=_0x53a915(_0x3431ec,_0x335a4b,_0x7e2b0b,_0x164251,_0x2fbde8,0x6,_0x3bf276[0x3c]),_0x164251=_0x53a915(_0x164251,_0x3431ec,_0x335a4b,_0x7e2b0b,_0x205c61,0xa,_0x3bf276[0x3d]),_0x7e2b0b=_0x53a915(_0x7e2b0b,_0x164251,_0x3431ec,_0x335a4b,_0x2e94ce,0xf,_0x3bf276[0x3e]),_0x335a4b=_0x53a915(_0x335a4b,_0x7e2b0b,_0x164251,_0x3431ec,_0xacd6ad,0x15,_0x3bf276[0x3f]),_0x4dc6c2[0x0]=_0x4dc6c2[0x0]+_0x3431ec|0x0,_0x4dc6c2[0x1]=_0x4dc6c2[0x1]+_0x335a4b|0x0,_0x4dc6c2[0x2]=_0x4dc6c2[0x2]+_0x7e2b0b|0x0,_0x4dc6c2[0x3]=_0x4dc6c2[0x3]+_0x164251|0x0;},'_doFinalize':function(){var _0x4eed6a=_0x5a0d40,_0x525a07=this[_0x4eed6a(0x34e)],_0x105b85=_0x525a07[_0x4eed6a(0x29c)],_0x207981=this['_nDataBytes']*0x8,_0x3dc142=_0x525a07['sigBytes']*0x8;_0x105b85[_0x3dc142>>>0x5]|=0x80<<0x18-_0x3dc142%0x20;var _0x224a83=_0x1d3f89[_0x4eed6a(0x2eb)](_0x207981/0x100000000),_0x378537=_0x207981;_0x105b85[(_0x3dc142+0x40>>>0x9<<0x4)+0xf]=(_0x224a83<<0x8|_0x224a83>>>0x18)&0xff00ff|(_0x224a83<<0x18|_0x224a83>>>0x8)&0xff00ff00,_0x105b85[(_0x3dc142+0x40>>>0x9<<0x4)+0xe]=(_0x378537<<0x8|_0x378537>>>0x18)&0xff00ff|(_0x378537<<0x18|_0x378537>>>0x8)&0xff00ff00,_0x525a07[_0x4eed6a(0x470)]=(_0x105b85['length']+0x1)*0x4,this['_process']();for(var _0x1efd1e=this[_0x4eed6a(0x258)],_0x453490=_0x1efd1e[_0x4eed6a(0x29c)],_0x43f687=0x0;_0x43f687<0x4;_0x43f687++){var _0x365c17=_0x453490[_0x43f687];_0x453490[_0x43f687]=(_0x365c17<<0x8|_0x365c17>>>0x18)&0xff00ff|(_0x365c17<<0x18|_0x365c17>>>0x8)&0xff00ff00;}return _0x1efd1e;},'clone':function(){var _0x1c3751=_0x5a0d40,_0x28ae6f=_0x41dc66[_0x1c3751(0x2f3)][_0x1c3751(0x469)](this);return _0x28ae6f[_0x1c3751(0x258)]=this['_hash'][_0x1c3751(0x2f3)](),_0x28ae6f;}});function _0x28fa72(_0x447545,_0x164fa9,_0x10c7ec,_0x40a961,_0x48bec8,_0x820b64,_0x2a0200){var _0x8fa33f=_0x447545+(_0x164fa9&_0x10c7ec|~_0x164fa9&_0x40a961)+_0x48bec8+_0x2a0200;return(_0x8fa33f<<_0x820b64|_0x8fa33f>>>0x20-_0x820b64)+_0x164fa9;}function _0x2d2ef0(_0x5c0527,_0x515130,_0x396682,_0x5e33ca,_0x37b570,_0x1eed36,_0xb0a9e){var _0x1cbd97=_0x5c0527+(_0x515130&_0x5e33ca|_0x396682&~_0x5e33ca)+_0x37b570+_0xb0a9e;return(_0x1cbd97<<_0x1eed36|_0x1cbd97>>>0x20-_0x1eed36)+_0x515130;}function _0x120d4e(_0x2b1686,_0x2537d2,_0x55d393,_0x18a06e,_0x54506a,_0x4dcee3,_0x15ace5){var _0x126a69=_0x2b1686+(_0x2537d2^_0x55d393^_0x18a06e)+_0x54506a+_0x15ace5;return(_0x126a69<<_0x4dcee3|_0x126a69>>>0x20-_0x4dcee3)+_0x2537d2;}function _0x53a915(_0x566e63,_0x2d1d25,_0xbdb94d,_0x552176,_0x8df8cb,_0x8f47c0,_0x21cc20){var _0x20e828=_0x566e63+(_0xbdb94d^(_0x2d1d25|~_0x552176))+_0x8df8cb+_0x21cc20;return(_0x20e828<<_0x8f47c0|_0x20e828>>>0x20-_0x8f47c0)+_0x2d1d25;}_0x46ef2c[_0x5a0d40(0x3ad)]=_0x41dc66[_0x5a0d40(0x1d3)](_0x36b0e0),_0x46ef2c[_0x5a0d40(0x33c)]=_0x41dc66[_0x5a0d40(0x451)](_0x36b0e0);}(Math),_0x239c52[_0x5efbc3(0x3ad)];}));}(Ye)),Ye[_0x539490(0x2ca)];}var Ke={'exports':{}},qe={'exports':{}},pn=qe[_0x374e05(0x2ca)],Xt;function mn(){var _0x493c41=_0x374e05;return Xt||(Xt=0x1,function(_0x542ae3,_0x157677){(function(_0x287286,_0x251620){var _0x233c24=_0xbcb8;_0x542ae3[_0x233c24(0x2ca)]=_0x251620(te());}(pn,function(_0x15f256){return(function(){var _0x2a42e4=_0xbcb8,_0x3d96b9=_0x15f256,_0x5f9b3f=_0x3d96b9['lib'],_0x55ac8c=_0x5f9b3f['WordArray'],_0x192b58=_0x5f9b3f[_0x2a42e4(0x3f6)],_0x11358d=_0x3d96b9[_0x2a42e4(0x47f)],_0x38c1ba=[],_0x55f88a=_0x11358d['SHA1']=_0x192b58[_0x2a42e4(0x271)]({'_doReset':function(){var _0x18b361=_0x2a42e4;this[_0x18b361(0x258)]=new _0x55ac8c[(_0x18b361(0x2fc))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476,0xc3d2e1f0]);},'_doProcessBlock':function(_0x3fad41,_0x5c3c1a){var _0x1d7366=_0x2a42e4;for(var _0x5d48d6=this[_0x1d7366(0x258)][_0x1d7366(0x29c)],_0xfecda4=_0x5d48d6[0x0],_0xcf7e89=_0x5d48d6[0x1],_0x137afb=_0x5d48d6[0x2],_0x1e44d9=_0x5d48d6[0x3],_0x2046cd=_0x5d48d6[0x4],_0x37d94c=0x0;_0x37d94c<0x50;_0x37d94c++){if(_0x37d94c<0x10)_0x38c1ba[_0x37d94c]=_0x3fad41[_0x5c3c1a+_0x37d94c]|0x0;else{var _0x6afe84=_0x38c1ba[_0x37d94c-0x3]^_0x38c1ba[_0x37d94c-0x8]^_0x38c1ba[_0x37d94c-0xe]^_0x38c1ba[_0x37d94c-0x10];_0x38c1ba[_0x37d94c]=_0x6afe84<<0x1|_0x6afe84>>>0x1f;}var _0x143598=(_0xfecda4<<0x5|_0xfecda4>>>0x1b)+_0x2046cd+_0x38c1ba[_0x37d94c];_0x37d94c<0x14?_0x143598+=(_0xcf7e89&_0x137afb|~_0xcf7e89&_0x1e44d9)+0x5a827999:_0x37d94c<0x28?_0x143598+=(_0xcf7e89^_0x137afb^_0x1e44d9)+0x6ed9eba1:_0x37d94c<0x3c?_0x143598+=(_0xcf7e89&_0x137afb|_0xcf7e89&_0x1e44d9|_0x137afb&_0x1e44d9)-0x70e44324:_0x143598+=(_0xcf7e89^_0x137afb^_0x1e44d9)-0x359d3e2a,_0x2046cd=_0x1e44d9,_0x1e44d9=_0x137afb,_0x137afb=_0xcf7e89<<0x1e|_0xcf7e89>>>0x2,_0xcf7e89=_0xfecda4,_0xfecda4=_0x143598;}_0x5d48d6[0x0]=_0x5d48d6[0x0]+_0xfecda4|0x0,_0x5d48d6[0x1]=_0x5d48d6[0x1]+_0xcf7e89|0x0,_0x5d48d6[0x2]=_0x5d48d6[0x2]+_0x137afb|0x0,_0x5d48d6[0x3]=_0x5d48d6[0x3]+_0x1e44d9|0x0,_0x5d48d6[0x4]=_0x5d48d6[0x4]+_0x2046cd|0x0;},'_doFinalize':function(){var _0x41e4c0=_0x2a42e4,_0x512cc1=this[_0x41e4c0(0x34e)],_0x3bf6f1=_0x512cc1[_0x41e4c0(0x29c)],_0xe3eb55=this[_0x41e4c0(0x1fe)]*0x8,_0x11e31f=_0x512cc1[_0x41e4c0(0x470)]*0x8;return _0x3bf6f1[_0x11e31f>>>0x5]|=0x80<<0x18-_0x11e31f%0x20,_0x3bf6f1[(_0x11e31f+0x40>>>0x9<<0x4)+0xe]=Math['floor'](_0xe3eb55/0x100000000),_0x3bf6f1[(_0x11e31f+0x40>>>0x9<<0x4)+0xf]=_0xe3eb55,_0x512cc1[_0x41e4c0(0x470)]=_0x3bf6f1[_0x41e4c0(0x3d1)]*0x4,this[_0x41e4c0(0x2a8)](),this[_0x41e4c0(0x258)];},'clone':function(){var _0x5f46fd=_0x2a42e4,_0x44f014=_0x192b58[_0x5f46fd(0x2f3)]['call'](this);return _0x44f014[_0x5f46fd(0x258)]=this[_0x5f46fd(0x258)][_0x5f46fd(0x2f3)](),_0x44f014;}});_0x3d96b9[_0x2a42e4(0x386)]=_0x192b58[_0x2a42e4(0x1d3)](_0x55f88a),_0x3d96b9[_0x2a42e4(0x1f9)]=_0x192b58[_0x2a42e4(0x451)](_0x55f88a);}()),_0x15f256['SHA1'];}));}(qe)),qe[_0x493c41(0x2ca)];}var ze={'exports':{}},gn=ze[_0x374e05(0x2ca)],Zt;function Sn(){var _0x4e8e8f=_0x374e05;return Zt||(Zt=0x1,function(_0x277bd2,_0x3fb0c0){(function(_0x1d31f1,_0x2501dc){var _0x364833=_0xbcb8;_0x277bd2[_0x364833(0x2ca)]=_0x2501dc(te());}(gn,function(_0x2bf8b4){(function(){var _0xc6e662=_0xbcb8,_0x7c687f=_0x2bf8b4,_0x580a1f=_0x7c687f['lib'],_0x3d49ae=_0x580a1f['Base'],_0x560bea=_0x7c687f[_0xc6e662(0x2ff)],_0x20993c=_0x560bea['Utf8'],_0x5323df=_0x7c687f[_0xc6e662(0x47f)];_0x5323df[_0xc6e662(0x3df)]=_0x3d49ae[_0xc6e662(0x271)]({'init':function(_0x4ff89e,_0x18110c){var _0x221c96=_0xc6e662;_0x4ff89e=this[_0x221c96(0x18f)]=new _0x4ff89e['init'](),typeof _0x18110c==_0x221c96(0x2fb)&&(_0x18110c=_0x20993c[_0x221c96(0x38e)](_0x18110c));var _0x4d5a4d=_0x4ff89e[_0x221c96(0x356)],_0x2bacc4=_0x4d5a4d*0x4;_0x18110c[_0x221c96(0x470)]>_0x2bacc4&&(_0x18110c=_0x4ff89e['finalize'](_0x18110c)),_0x18110c[_0x221c96(0x388)]();for(var _0xa17ff1=this[_0x221c96(0x2ac)]=_0x18110c[_0x221c96(0x2f3)](),_0x2cf430=this[_0x221c96(0x247)]=_0x18110c['clone'](),_0x4be3e0=_0xa17ff1['words'],_0x46a15f=_0x2cf430[_0x221c96(0x29c)],_0x451b08=0x0;_0x451b08<_0x4d5a4d;_0x451b08++)_0x4be3e0[_0x451b08]^=0x5c5c5c5c,_0x46a15f[_0x451b08]^=0x36363636;_0xa17ff1[_0x221c96(0x470)]=_0x2cf430[_0x221c96(0x470)]=_0x2bacc4,this[_0x221c96(0x487)]();},'reset':function(){var _0x5b0d42=_0xc6e662,_0x5c6aec=this[_0x5b0d42(0x18f)];_0x5c6aec['reset'](),_0x5c6aec[_0x5b0d42(0x2b5)](this[_0x5b0d42(0x247)]);},'update':function(_0x30bb29){var _0x3c841c=_0xc6e662;return this[_0x3c841c(0x18f)][_0x3c841c(0x2b5)](_0x30bb29),this;},'finalize':function(_0x52fb34){var _0x16775c=_0xc6e662,_0x19677a=this['_hasher'],_0x2b4dc0=_0x19677a[_0x16775c(0x44d)](_0x52fb34);_0x19677a[_0x16775c(0x487)]();var _0x290c34=_0x19677a[_0x16775c(0x44d)](this[_0x16775c(0x2ac)]['clone']()['concat'](_0x2b4dc0));return _0x290c34;}});}());}));}(ze)),ze[_0x4e8e8f(0x2ca)];}var En=Ke[_0x374e05(0x2ca)],Qt;function yi(){var _0x4598cb=_0x374e05;return Qt||(Qt=0x1,function(_0x26ea35,_0x45cefa){(function(_0x622f02,_0x19e254,_0x395019){_0x26ea35['exports']=_0x19e254(te(),mn(),Sn());}(En,function(_0x27461a){var _0x4972d6=_0xbcb8;return(function(){var _0x5dc018=_0xbcb8,_0x1a97ea=_0x27461a,_0x35d8c3=_0x1a97ea[_0x5dc018(0x306)],_0x21434e=_0x35d8c3[_0x5dc018(0x436)],_0x41fbb5=_0x35d8c3[_0x5dc018(0x3e5)],_0x2bb678=_0x1a97ea[_0x5dc018(0x47f)],_0x1ae645=_0x2bb678[_0x5dc018(0x3ad)],_0x231e09=_0x2bb678['EvpKDF']=_0x21434e[_0x5dc018(0x271)]({'cfg':_0x21434e[_0x5dc018(0x271)]({'keySize':0x80/0x20,'hasher':_0x1ae645,'iterations':0x1}),'init':function(_0x439f44){var _0x1eec26=_0x5dc018;this[_0x1eec26(0x42d)]=this['cfg']['extend'](_0x439f44);},'compute':function(_0x249ef0,_0x32ddcc){var _0x2b5b4d=_0x5dc018;for(var _0x16dc0f,_0x27e2e5=this['cfg'],_0xa96cef=_0x27e2e5[_0x2b5b4d(0x2bc)]['create'](),_0x1e0c65=_0x41fbb5[_0x2b5b4d(0x3d5)](),_0x3b91c5=_0x1e0c65[_0x2b5b4d(0x29c)],_0x2845e6=_0x27e2e5['keySize'],_0x40baa5=_0x27e2e5[_0x2b5b4d(0x324)];_0x3b91c5[_0x2b5b4d(0x3d1)]<_0x2845e6;){_0x16dc0f&&_0xa96cef[_0x2b5b4d(0x2b5)](_0x16dc0f),_0x16dc0f=_0xa96cef['update'](_0x249ef0)['finalize'](_0x32ddcc),_0xa96cef[_0x2b5b4d(0x487)]();for(var _0x28706c=0x1;_0x28706c<_0x40baa5;_0x28706c++)_0x16dc0f=_0xa96cef['finalize'](_0x16dc0f),_0xa96cef[_0x2b5b4d(0x487)]();_0x1e0c65[_0x2b5b4d(0x380)](_0x16dc0f);}return _0x1e0c65[_0x2b5b4d(0x470)]=_0x2845e6*0x4,_0x1e0c65;}});_0x1a97ea[_0x5dc018(0x38d)]=function(_0x4a2e67,_0x20602e,_0xec1297){var _0x2cf4a8=_0x5dc018;return _0x231e09['create'](_0xec1297)[_0x2cf4a8(0x227)](_0x4a2e67,_0x20602e);};}()),_0x27461a[_0x4972d6(0x38d)];}));}(Ke)),Ke[_0x4598cb(0x2ca)];}var Je={'exports':{}},In=Je[_0x374e05(0x2ca)],ei;function Ni(){return ei||(ei=0x1,function(_0x22199d,_0x2d28f6){(function(_0x14cfca,_0x96dc2e,_0x48eee1){_0x22199d['exports']=_0x96dc2e(te(),yi());}(In,function(_0x3771a5){var _0x228adb=_0xbcb8;_0x3771a5[_0x228adb(0x306)][_0x228adb(0x337)]||function(_0x342273){var _0x3fd06a=_0x228adb,_0x3218f9=_0x3771a5,_0xf5b19b=_0x3218f9[_0x3fd06a(0x306)],_0x1cac6a=_0xf5b19b['Base'],_0x65a515=_0xf5b19b['WordArray'],_0xe77461=_0xf5b19b[_0x3fd06a(0x31f)],_0xfcd8c8=_0x3218f9['enc'];_0xfcd8c8[_0x3fd06a(0x38c)];var _0x38b714=_0xfcd8c8['Base64'],_0x1b13c4=_0x3218f9[_0x3fd06a(0x47f)],_0x14687c=_0x1b13c4['EvpKDF'],_0x16cc48=_0xf5b19b[_0x3fd06a(0x337)]=_0xe77461[_0x3fd06a(0x271)]({'cfg':_0x1cac6a['extend'](),'createEncryptor':function(_0x3523eb,_0x43cb14){var _0x55bfab=_0x3fd06a;return this['create'](this[_0x55bfab(0x31d)],_0x3523eb,_0x43cb14);},'createDecryptor':function(_0x4dbeb1,_0x52d279){var _0x490d70=_0x3fd06a;return this[_0x490d70(0x3d5)](this[_0x490d70(0x1c4)],_0x4dbeb1,_0x52d279);},'init':function(_0x5294a9,_0x4a8ce7,_0x12ea4b){var _0x2eaad0=_0x3fd06a;this[_0x2eaad0(0x42d)]=this[_0x2eaad0(0x42d)]['extend'](_0x12ea4b),this[_0x2eaad0(0x1b9)]=_0x5294a9,this[_0x2eaad0(0x30f)]=_0x4a8ce7,this[_0x2eaad0(0x487)]();},'reset':function(){var _0x1d5635=_0x3fd06a;_0xe77461[_0x1d5635(0x487)][_0x1d5635(0x469)](this),this[_0x1d5635(0x2d0)]();},'process':function(_0xa6501a){var _0x5347bc=_0x3fd06a;return this['_append'](_0xa6501a),this[_0x5347bc(0x2a8)]();},'finalize':function(_0x138383){var _0x2d87ab=_0x3fd06a;_0x138383&&this['_append'](_0x138383);var _0x492115=this[_0x2d87ab(0x2d6)]();return _0x492115;},'keySize':0x80/0x20,'ivSize':0x80/0x20,'_ENC_XFORM_MODE':0x1,'_DEC_XFORM_MODE':0x2,'_createHelper':(function(){function _0x24e014(_0x2a9bdd){var _0x358187=_0xbcb8;return typeof _0x2a9bdd==_0x358187(0x2fb)?_0x323024:_0x69c8fb;}return function(_0x2a64d3){return{'encrypt':function(_0x2e4a28,_0x4c714d,_0x225b04){return _0x24e014(_0x4c714d)['encrypt'](_0x2a64d3,_0x2e4a28,_0x4c714d,_0x225b04);},'decrypt':function(_0xcc1d2e,_0x4ea1aa,_0x59e36d){var _0x3bb24c=_0xbcb8;return _0x24e014(_0x4ea1aa)[_0x3bb24c(0x3e8)](_0x2a64d3,_0xcc1d2e,_0x4ea1aa,_0x59e36d);}};};}())});_0xf5b19b[_0x3fd06a(0x281)]=_0x16cc48[_0x3fd06a(0x271)]({'_doFinalize':function(){var _0x155651=_0x3fd06a,_0x13665d=this[_0x155651(0x2a8)](!0x0);return _0x13665d;},'blockSize':0x1});var _0x9a9bd9=_0x3218f9['mode']={},_0x35cdb0=_0xf5b19b[_0x3fd06a(0x361)]=_0x1cac6a[_0x3fd06a(0x271)]({'createEncryptor':function(_0xdcbba,_0x32d026){var _0x2a6af2=_0x3fd06a;return this[_0x2a6af2(0x399)][_0x2a6af2(0x3d5)](_0xdcbba,_0x32d026);},'createDecryptor':function(_0x4f9bab,_0x1254b7){return this['Decryptor']['create'](_0x4f9bab,_0x1254b7);},'init':function(_0x4785d3,_0x2d4609){var _0x15cfaf=_0x3fd06a;this['_cipher']=_0x4785d3,this[_0x15cfaf(0x3d2)]=_0x2d4609;}}),_0x14e925=_0x9a9bd9[_0x3fd06a(0x2bd)]=(function(){var _0x418eff=_0x3fd06a,_0x3e7141=_0x35cdb0[_0x418eff(0x271)]();_0x3e7141[_0x418eff(0x399)]=_0x3e7141[_0x418eff(0x271)]({'processBlock':function(_0x4a32d2,_0x3a4ecb){var _0x3f27df=_0x418eff,_0xee600d=this['_cipher'],_0x2d2669=_0xee600d[_0x3f27df(0x356)];_0x51b467['call'](this,_0x4a32d2,_0x3a4ecb,_0x2d2669),_0xee600d['encryptBlock'](_0x4a32d2,_0x3a4ecb),this['_prevBlock']=_0x4a32d2[_0x3f27df(0x416)](_0x3a4ecb,_0x3a4ecb+_0x2d2669);}}),_0x3e7141[_0x418eff(0x326)]=_0x3e7141[_0x418eff(0x271)]({'processBlock':function(_0x232f1d,_0x354e86){var _0x5d52ab=_0x418eff,_0x4a8307=this[_0x5d52ab(0x308)],_0x352294=_0x4a8307[_0x5d52ab(0x356)],_0x18e40a=_0x232f1d[_0x5d52ab(0x416)](_0x354e86,_0x354e86+_0x352294);_0x4a8307[_0x5d52ab(0x366)](_0x232f1d,_0x354e86),_0x51b467['call'](this,_0x232f1d,_0x354e86,_0x352294),this[_0x5d52ab(0x21e)]=_0x18e40a;}});function _0x51b467(_0x296b6e,_0x4f4f8c,_0x147e98){var _0x4b4d08=_0x418eff,_0x4e1201,_0x415b1c=this[_0x4b4d08(0x3d2)];_0x415b1c?(_0x4e1201=_0x415b1c,this[_0x4b4d08(0x3d2)]=_0x342273):_0x4e1201=this[_0x4b4d08(0x21e)];for(var _0x351ff7=0x0;_0x351ff7<_0x147e98;_0x351ff7++)_0x296b6e[_0x4f4f8c+_0x351ff7]^=_0x4e1201[_0x351ff7];}return _0x3e7141;}()),_0x2979ae=_0x3218f9[_0x3fd06a(0x467)]={},_0x2a4529=_0x2979ae[_0x3fd06a(0x482)]={'pad':function(_0x39274e,_0x1a3a27){var _0x257943=_0x3fd06a;for(var _0x1a96f7=_0x1a3a27*0x4,_0x175b0d=_0x1a96f7-_0x39274e['sigBytes']%_0x1a96f7,_0x11574f=_0x175b0d<<0x18|_0x175b0d<<0x10|_0x175b0d<<0x8|_0x175b0d,_0x13827e=[],_0xa88559=0x0;_0xa88559<_0x175b0d;_0xa88559+=0x4)_0x13827e[_0x257943(0x1b6)](_0x11574f);var _0x48b074=_0x65a515['create'](_0x13827e,_0x175b0d);_0x39274e['concat'](_0x48b074);},'unpad':function(_0x2b1ac7){var _0x475f38=_0x3fd06a,_0x184dbb=_0x2b1ac7['words'][_0x2b1ac7[_0x475f38(0x470)]-0x1>>>0x2]&0xff;_0x2b1ac7[_0x475f38(0x470)]-=_0x184dbb;}};_0xf5b19b[_0x3fd06a(0x3c1)]=_0x16cc48['extend']({'cfg':_0x16cc48[_0x3fd06a(0x42d)][_0x3fd06a(0x271)]({'mode':_0x14e925,'padding':_0x2a4529}),'reset':function(){var _0x5ee9cf=_0x3fd06a,_0x5b7bc0;_0x16cc48[_0x5ee9cf(0x487)][_0x5ee9cf(0x469)](this);var _0x1a7abc=this[_0x5ee9cf(0x42d)],_0x20eaac=_0x1a7abc['iv'],_0x5cb0e1=_0x1a7abc[_0x5ee9cf(0x28d)];this[_0x5ee9cf(0x1b9)]==this[_0x5ee9cf(0x31d)]?_0x5b7bc0=_0x5cb0e1['createEncryptor']:(_0x5b7bc0=_0x5cb0e1[_0x5ee9cf(0x1bd)],this[_0x5ee9cf(0x28f)]=0x1),this['_mode']&&this[_0x5ee9cf(0x429)][_0x5ee9cf(0x24d)]==_0x5b7bc0?this[_0x5ee9cf(0x429)][_0x5ee9cf(0x2fc)](this,_0x20eaac&&_0x20eaac[_0x5ee9cf(0x29c)]):(this[_0x5ee9cf(0x429)]=_0x5b7bc0[_0x5ee9cf(0x469)](_0x5cb0e1,this,_0x20eaac&&_0x20eaac[_0x5ee9cf(0x29c)]),this[_0x5ee9cf(0x429)][_0x5ee9cf(0x24d)]=_0x5b7bc0);},'_doProcessBlock':function(_0x26c76b,_0x161d17){var _0x375015=_0x3fd06a;this['_mode'][_0x375015(0x333)](_0x26c76b,_0x161d17);},'_doFinalize':function(){var _0x2d5120=_0x3fd06a,_0x78da3e,_0x5e47d4=this['cfg']['padding'];return this[_0x2d5120(0x1b9)]==this[_0x2d5120(0x31d)]?(_0x5e47d4[_0x2d5120(0x467)](this[_0x2d5120(0x34e)],this[_0x2d5120(0x356)]),_0x78da3e=this[_0x2d5120(0x2a8)](!0x0)):(_0x78da3e=this[_0x2d5120(0x2a8)](!0x0),_0x5e47d4[_0x2d5120(0x26f)](_0x78da3e)),_0x78da3e;},'blockSize':0x80/0x20});var _0x2786a3=_0xf5b19b[_0x3fd06a(0x342)]=_0x1cac6a[_0x3fd06a(0x271)]({'init':function(_0x3b8e07){var _0x2977ff=_0x3fd06a;this[_0x2977ff(0x223)](_0x3b8e07);},'toString':function(_0x35fc3c){var _0x39b78d=_0x3fd06a;return(_0x35fc3c||this[_0x39b78d(0x1da)])[_0x39b78d(0x198)](this);}}),_0x3e17f3=_0x3218f9['format']={},_0x241bc8=_0x3e17f3[_0x3fd06a(0x1eb)]={'stringify':function(_0x1ae7bb){var _0x62413=_0x3fd06a,_0x20ddef,_0x494dfd=_0x1ae7bb[_0x62413(0x249)],_0x55e0a8=_0x1ae7bb[_0x62413(0x1be)];return _0x55e0a8?_0x20ddef=_0x65a515[_0x62413(0x3d5)]([0x53616c74,0x65645f5f])['concat'](_0x55e0a8)['concat'](_0x494dfd):_0x20ddef=_0x494dfd,_0x20ddef[_0x62413(0x452)](_0x38b714);},'parse':function(_0x11ad2a){var _0x2f0f9d=_0x3fd06a,_0x58185c,_0x30a111=_0x38b714['parse'](_0x11ad2a),_0x23b7d4=_0x30a111[_0x2f0f9d(0x29c)];return _0x23b7d4[0x0]==0x53616c74&&_0x23b7d4[0x1]==0x65645f5f&&(_0x58185c=_0x65a515[_0x2f0f9d(0x3d5)](_0x23b7d4['slice'](0x2,0x4)),_0x23b7d4['splice'](0x0,0x4),_0x30a111[_0x2f0f9d(0x470)]-=0x10),_0x2786a3[_0x2f0f9d(0x3d5)]({'ciphertext':_0x30a111,'salt':_0x58185c});}},_0x69c8fb=_0xf5b19b[_0x3fd06a(0x448)]=_0x1cac6a['extend']({'cfg':_0x1cac6a[_0x3fd06a(0x271)]({'format':_0x241bc8}),'encrypt':function(_0x16a0e6,_0xef7aca,_0x158c1a,_0x25a445){var _0x405b5a=_0x3fd06a;_0x25a445=this[_0x405b5a(0x42d)]['extend'](_0x25a445);var _0x22ede5=_0x16a0e6[_0x405b5a(0x477)](_0x158c1a,_0x25a445),_0x558e1d=_0x22ede5['finalize'](_0xef7aca),_0x2dd57b=_0x22ede5[_0x405b5a(0x42d)];return _0x2786a3[_0x405b5a(0x3d5)]({'ciphertext':_0x558e1d,'key':_0x158c1a,'iv':_0x2dd57b['iv'],'algorithm':_0x16a0e6,'mode':_0x2dd57b[_0x405b5a(0x28d)],'padding':_0x2dd57b[_0x405b5a(0x40d)],'blockSize':_0x16a0e6[_0x405b5a(0x356)],'formatter':_0x25a445[_0x405b5a(0x36f)]});},'decrypt':function(_0x39f592,_0x2b9cab,_0x218e8b,_0x2911ec){var _0x3275fa=_0x3fd06a;_0x2911ec=this[_0x3275fa(0x42d)][_0x3275fa(0x271)](_0x2911ec),_0x2b9cab=this['_parse'](_0x2b9cab,_0x2911ec['format']);var _0x113dae=_0x39f592[_0x3275fa(0x1bd)](_0x218e8b,_0x2911ec)[_0x3275fa(0x44d)](_0x2b9cab[_0x3275fa(0x249)]);return _0x113dae;},'_parse':function(_0xf6fbd9,_0x1a6b70){var _0x2ba5a3=_0x3fd06a;return typeof _0xf6fbd9=='string'?_0x1a6b70[_0x2ba5a3(0x38e)](_0xf6fbd9,this):_0xf6fbd9;}}),_0x13ebec=_0x3218f9[_0x3fd06a(0x434)]={},_0x47b52f=_0x13ebec[_0x3fd06a(0x1eb)]={'execute':function(_0x3b9fc9,_0x3fe980,_0x29e7d2,_0x423809,_0x3a627c){var _0x363189=_0x3fd06a;if(_0x423809||(_0x423809=_0x65a515[_0x363189(0x322)](0x40/0x8)),_0x3a627c)var _0x5b54a3=_0x14687c[_0x363189(0x3d5)]({'keySize':_0x3fe980+_0x29e7d2,'hasher':_0x3a627c})[_0x363189(0x227)](_0x3b9fc9,_0x423809);else var _0x5b54a3=_0x14687c['create']({'keySize':_0x3fe980+_0x29e7d2})['compute'](_0x3b9fc9,_0x423809);var _0x385bdc=_0x65a515[_0x363189(0x3d5)](_0x5b54a3[_0x363189(0x29c)][_0x363189(0x416)](_0x3fe980),_0x29e7d2*0x4);return _0x5b54a3[_0x363189(0x470)]=_0x3fe980*0x4,_0x2786a3[_0x363189(0x3d5)]({'key':_0x5b54a3,'iv':_0x385bdc,'salt':_0x423809});}},_0x323024=_0xf5b19b[_0x3fd06a(0x47c)]=_0x69c8fb[_0x3fd06a(0x271)]({'cfg':_0x69c8fb['cfg']['extend']({'kdf':_0x47b52f}),'encrypt':function(_0x559ecb,_0x4d90c5,_0x2ccf2e,_0x22f13c){var _0x306a44=_0x3fd06a;_0x22f13c=this[_0x306a44(0x42d)][_0x306a44(0x271)](_0x22f13c);var _0x42bc32=_0x22f13c[_0x306a44(0x434)][_0x306a44(0x235)](_0x2ccf2e,_0x559ecb['keySize'],_0x559ecb['ivSize'],_0x22f13c[_0x306a44(0x1be)],_0x22f13c[_0x306a44(0x2bc)]);_0x22f13c['iv']=_0x42bc32['iv'];var _0x5ca8ac=_0x69c8fb[_0x306a44(0x2a2)]['call'](this,_0x559ecb,_0x4d90c5,_0x42bc32[_0x306a44(0x1d6)],_0x22f13c);return _0x5ca8ac[_0x306a44(0x223)](_0x42bc32),_0x5ca8ac;},'decrypt':function(_0x51f797,_0x556ea8,_0x510052,_0x18f219){var _0x2913e1=_0x3fd06a;_0x18f219=this[_0x2913e1(0x42d)]['extend'](_0x18f219),_0x556ea8=this[_0x2913e1(0x3cf)](_0x556ea8,_0x18f219['format']);var _0x1411e7=_0x18f219[_0x2913e1(0x434)][_0x2913e1(0x235)](_0x510052,_0x51f797[_0x2913e1(0x31c)],_0x51f797[_0x2913e1(0x353)],_0x556ea8[_0x2913e1(0x1be)],_0x18f219['hasher']);_0x18f219['iv']=_0x1411e7['iv'];var _0x17fe65=_0x69c8fb[_0x2913e1(0x3e8)][_0x2913e1(0x469)](this,_0x51f797,_0x556ea8,_0x1411e7[_0x2913e1(0x1d6)],_0x18f219);return _0x17fe65;}});}();}));}(Je)),Je['exports'];}var Tn=Ve['exports'],ti;function Cn(){var _0x3292a2=_0x374e05;return ti||(ti=0x1,function(_0x314616,_0x2624e7){(function(_0x5da37c,_0x1ab267,_0x56b323){var _0x4e15a6=_0xbcb8;_0x314616[_0x4e15a6(0x2ca)]=_0x1ab267(te(),Oi(),vn(),yi(),Ni());}(Tn,function(_0x389c8b){var _0x2c6538=_0xbcb8;return(function(){var _0x776c50=_0xbcb8,_0x4ae3b7=_0x389c8b,_0x3bcbeb=_0x4ae3b7[_0x776c50(0x306)],_0x5859e0=_0x3bcbeb[_0x776c50(0x3c1)],_0x6ff057=_0x4ae3b7[_0x776c50(0x47f)],_0x57046d=[],_0xb1075e=[],_0x4fbbbb=[],_0x407acb=[],_0xdb1e14=[],_0x21677b=[],_0xac5156=[],_0x2e7967=[],_0x4db5e3=[],_0x1415a7=[];(function(){for(var _0x433606=[],_0x3c9e09=0x0;_0x3c9e09<0x100;_0x3c9e09++)_0x3c9e09<0x80?_0x433606[_0x3c9e09]=_0x3c9e09<<0x1:_0x433606[_0x3c9e09]=_0x3c9e09<<0x1^0x11b;for(var _0x2e92a2=0x0,_0x342e83=0x0,_0x3c9e09=0x0;_0x3c9e09<0x100;_0x3c9e09++){var _0x23caf5=_0x342e83^_0x342e83<<0x1^_0x342e83<<0x2^_0x342e83<<0x3^_0x342e83<<0x4;_0x23caf5=_0x23caf5>>>0x8^_0x23caf5&0xff^0x63,_0x57046d[_0x2e92a2]=_0x23caf5,_0xb1075e[_0x23caf5]=_0x2e92a2;var _0x50fc7f=_0x433606[_0x2e92a2],_0x46ce0f=_0x433606[_0x50fc7f],_0x5e1ced=_0x433606[_0x46ce0f],_0x59f97d=_0x433606[_0x23caf5]*0x101^_0x23caf5*0x1010100;_0x4fbbbb[_0x2e92a2]=_0x59f97d<<0x18|_0x59f97d>>>0x8,_0x407acb[_0x2e92a2]=_0x59f97d<<0x10|_0x59f97d>>>0x10,_0xdb1e14[_0x2e92a2]=_0x59f97d<<0x8|_0x59f97d>>>0x18,_0x21677b[_0x2e92a2]=_0x59f97d;var _0x59f97d=_0x5e1ced*0x1010101^_0x46ce0f*0x10001^_0x50fc7f*0x101^_0x2e92a2*0x1010100;_0xac5156[_0x23caf5]=_0x59f97d<<0x18|_0x59f97d>>>0x8,_0x2e7967[_0x23caf5]=_0x59f97d<<0x10|_0x59f97d>>>0x10,_0x4db5e3[_0x23caf5]=_0x59f97d<<0x8|_0x59f97d>>>0x18,_0x1415a7[_0x23caf5]=_0x59f97d,_0x2e92a2?(_0x2e92a2=_0x50fc7f^_0x433606[_0x433606[_0x433606[_0x5e1ced^_0x50fc7f]]],_0x342e83^=_0x433606[_0x433606[_0x342e83]]):_0x2e92a2=_0x342e83=0x1;}}());var _0x16e0b2=[0x0,0x1,0x2,0x4,0x8,0x10,0x20,0x40,0x80,0x1b,0x36],_0x89c2ae=_0x6ff057[_0x776c50(0x28b)]=_0x5859e0['extend']({'_doReset':function(){var _0x493a50=_0x776c50,_0x4e7161;if(!(this['_nRounds']&&this[_0x493a50(0x34c)]===this[_0x493a50(0x30f)])){for(var _0x5ecc15=this[_0x493a50(0x34c)]=this[_0x493a50(0x30f)],_0x24fab8=_0x5ecc15['words'],_0x12c45a=_0x5ecc15[_0x493a50(0x470)]/0x4,_0x2906e0=this['_nRounds']=_0x12c45a+0x6,_0x53cdc2=(_0x2906e0+0x1)*0x4,_0x346057=this[_0x493a50(0x1ff)]=[],_0x7cd415=0x0;_0x7cd415<_0x53cdc2;_0x7cd415++)_0x7cd415<_0x12c45a?_0x346057[_0x7cd415]=_0x24fab8[_0x7cd415]:(_0x4e7161=_0x346057[_0x7cd415-0x1],_0x7cd415%_0x12c45a?_0x12c45a>0x6&&_0x7cd415%_0x12c45a==0x4&&(_0x4e7161=_0x57046d[_0x4e7161>>>0x18]<<0x18|_0x57046d[_0x4e7161>>>0x10&0xff]<<0x10|_0x57046d[_0x4e7161>>>0x8&0xff]<<0x8|_0x57046d[_0x4e7161&0xff]):(_0x4e7161=_0x4e7161<<0x8|_0x4e7161>>>0x18,_0x4e7161=_0x57046d[_0x4e7161>>>0x18]<<0x18|_0x57046d[_0x4e7161>>>0x10&0xff]<<0x10|_0x57046d[_0x4e7161>>>0x8&0xff]<<0x8|_0x57046d[_0x4e7161&0xff],_0x4e7161^=_0x16e0b2[_0x7cd415/_0x12c45a|0x0]<<0x18),_0x346057[_0x7cd415]=_0x346057[_0x7cd415-_0x12c45a]^_0x4e7161);for(var _0x5236fa=this['_invKeySchedule']=[],_0x5592fe=0x0;_0x5592fe<_0x53cdc2;_0x5592fe++){var _0x7cd415=_0x53cdc2-_0x5592fe;if(_0x5592fe%0x4)var _0x4e7161=_0x346057[_0x7cd415];else var _0x4e7161=_0x346057[_0x7cd415-0x4];_0x5592fe<0x4||_0x7cd415<=0x4?_0x5236fa[_0x5592fe]=_0x4e7161:_0x5236fa[_0x5592fe]=_0xac5156[_0x57046d[_0x4e7161>>>0x18]]^_0x2e7967[_0x57046d[_0x4e7161>>>0x10&0xff]]^_0x4db5e3[_0x57046d[_0x4e7161>>>0x8&0xff]]^_0x1415a7[_0x57046d[_0x4e7161&0xff]];}}},'encryptBlock':function(_0x14e962,_0x4e56aa){var _0x354300=_0x776c50;this[_0x354300(0x1d0)](_0x14e962,_0x4e56aa,this[_0x354300(0x1ff)],_0x4fbbbb,_0x407acb,_0xdb1e14,_0x21677b,_0x57046d);},'decryptBlock':function(_0x40ff71,_0x149199){var _0x7f77e=_0x776c50,_0x388044=_0x40ff71[_0x149199+0x1];_0x40ff71[_0x149199+0x1]=_0x40ff71[_0x149199+0x3],_0x40ff71[_0x149199+0x3]=_0x388044,this[_0x7f77e(0x1d0)](_0x40ff71,_0x149199,this[_0x7f77e(0x41c)],_0xac5156,_0x2e7967,_0x4db5e3,_0x1415a7,_0xb1075e);var _0x388044=_0x40ff71[_0x149199+0x1];_0x40ff71[_0x149199+0x1]=_0x40ff71[_0x149199+0x3],_0x40ff71[_0x149199+0x3]=_0x388044;},'_doCryptBlock':function(_0x4703e7,_0xa69389,_0x2ac278,_0x4748cd,_0x114d25,_0x37f54b,_0x32ac2f,_0x58f8a6){var _0x21e38f=_0x776c50;for(var _0x601b5f=this[_0x21e38f(0x295)],_0x58936a=_0x4703e7[_0xa69389]^_0x2ac278[0x0],_0x1f0b66=_0x4703e7[_0xa69389+0x1]^_0x2ac278[0x1],_0x28b5e8=_0x4703e7[_0xa69389+0x2]^_0x2ac278[0x2],_0x11bafe=_0x4703e7[_0xa69389+0x3]^_0x2ac278[0x3],_0x29bb9f=0x4,_0x32137b=0x1;_0x32137b<_0x601b5f;_0x32137b++){var _0xb9b109=_0x4748cd[_0x58936a>>>0x18]^_0x114d25[_0x1f0b66>>>0x10&0xff]^_0x37f54b[_0x28b5e8>>>0x8&0xff]^_0x32ac2f[_0x11bafe&0xff]^_0x2ac278[_0x29bb9f++],_0x10a76c=_0x4748cd[_0x1f0b66>>>0x18]^_0x114d25[_0x28b5e8>>>0x10&0xff]^_0x37f54b[_0x11bafe>>>0x8&0xff]^_0x32ac2f[_0x58936a&0xff]^_0x2ac278[_0x29bb9f++],_0x4361e6=_0x4748cd[_0x28b5e8>>>0x18]^_0x114d25[_0x11bafe>>>0x10&0xff]^_0x37f54b[_0x58936a>>>0x8&0xff]^_0x32ac2f[_0x1f0b66&0xff]^_0x2ac278[_0x29bb9f++],_0x7cc5f3=_0x4748cd[_0x11bafe>>>0x18]^_0x114d25[_0x58936a>>>0x10&0xff]^_0x37f54b[_0x1f0b66>>>0x8&0xff]^_0x32ac2f[_0x28b5e8&0xff]^_0x2ac278[_0x29bb9f++];_0x58936a=_0xb9b109,_0x1f0b66=_0x10a76c,_0x28b5e8=_0x4361e6,_0x11bafe=_0x7cc5f3;}var _0xb9b109=(_0x58f8a6[_0x58936a>>>0x18]<<0x18|_0x58f8a6[_0x1f0b66>>>0x10&0xff]<<0x10|_0x58f8a6[_0x28b5e8>>>0x8&0xff]<<0x8|_0x58f8a6[_0x11bafe&0xff])^_0x2ac278[_0x29bb9f++],_0x10a76c=(_0x58f8a6[_0x1f0b66>>>0x18]<<0x18|_0x58f8a6[_0x28b5e8>>>0x10&0xff]<<0x10|_0x58f8a6[_0x11bafe>>>0x8&0xff]<<0x8|_0x58f8a6[_0x58936a&0xff])^_0x2ac278[_0x29bb9f++],_0x4361e6=(_0x58f8a6[_0x28b5e8>>>0x18]<<0x18|_0x58f8a6[_0x11bafe>>>0x10&0xff]<<0x10|_0x58f8a6[_0x58936a>>>0x8&0xff]<<0x8|_0x58f8a6[_0x1f0b66&0xff])^_0x2ac278[_0x29bb9f++],_0x7cc5f3=(_0x58f8a6[_0x11bafe>>>0x18]<<0x18|_0x58f8a6[_0x58936a>>>0x10&0xff]<<0x10|_0x58f8a6[_0x1f0b66>>>0x8&0xff]<<0x8|_0x58f8a6[_0x28b5e8&0xff])^_0x2ac278[_0x29bb9f++];_0x4703e7[_0xa69389]=_0xb9b109,_0x4703e7[_0xa69389+0x1]=_0x10a76c,_0x4703e7[_0xa69389+0x2]=_0x4361e6,_0x4703e7[_0xa69389+0x3]=_0x7cc5f3;},'keySize':0x100/0x20});_0x4ae3b7[_0x776c50(0x28b)]=_0x5859e0[_0x776c50(0x1d3)](_0x89c2ae);}()),_0x389c8b[_0x2c6538(0x28b)];}));}(Ve)),Ve[_0x3292a2(0x2ca)];}var Rn=Cn();const bn=$e(Rn);var On=Oi();function _0x5654(){var _0x5423ee=['_rescheduleHeartbeat','fetch_missing','string','init','_userManagerService','/fetchmissing?from=','enc','submit\x20changeset\x20error!','_collabSessionService','UNDEFINED','NO_OTHER_CLIENTS_EDITING','_resendWithTimeout','synced','lib','/resources','_cipher','BASE64','SUCCUSS','collaMsg','encode','transformMutationsWithChangeset','you\x20should\x20override\x20\x22IUndoRedoService\x22\x20provided\x20in\x20\x22core\x22\x20package!','_key','INVALID_INVITE_CODE','_socketService','_onRemoteChangeset','/unit/','hasOwnProperty','sin','EMAIL_HAS_BEEN_BOUND','closeSession','_toggleOffline','open$','_getAPIPrefixPath','_undoStacks','keySize','_ENC_XFORM_MODE','_configService','BufferedBlockAlgorithm','_localeService','next','random','Unknown\x20type.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','iterations','_createSocket','Decryptor','_scheduleCompleteTimestamp','_socket$','_transformStack','_incrementRevisionNumber','_getSignURL','_initRequestHeader','UNIVER_SLIDE','asObservable','[FetchingMissState]:\x20invalid\x20calling\x20to\x20`resend`.','transformSelections','snapshotServerUrl','reverse','processBlock','\x20-\x20','updatePermissionObjEvent','updateCursorEvent','Cipher','UNIVER_DOC','enableCollaboration','_compressMutationService','[CollaborationSocketService]:\x20failed\x20to\x20get\x20web\x20socket\x20factory!','HmacMD5','_clearScheduledTask','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','getInterceptPoints','entries','$super','CipherParams','append','saveImage','MUTATION','_substituteUndoStack','_getUndoStack','replace','_snapshotService','getResourcesRequest','_socket','_keyPriorReset','CONNECTOR_DATA_TOO_LARGE','_data','getOwnPropertyDescriptor','override','editingUnit','getCollabEntity','ivSize','YUUMI_UNABLE_LOAD_URL','enableOfflineEditing','blockSize','/universer-api/stream/file/upload','_collaborationUIEventService','_entityInit$','_sender','_transformIMECache','NOT_COLLAB','_map','_initDependencies','get','reduce','BlockCipherMode','/universer-api/comb','toggleOffline','UNRECOGNIZED','_clearCollaborationTimeoutTimer','decryptBlock','_substituteRedoStack','copyFileMeta','getValue','2432574LLsora','UUID','SNAPSHOT_INVALID_SNAPSHOT','_transformSelections','resourceIDs','format','_clearUndo','_sessionStatus$','[SyncedState]:\x20received\x20acknowledgement.','objectID','isPermissionRej','_state$','size','image/bmp','generateRandomId','toggleOnline','pending','forEach','socket\x20close','/universer-api/authz','_members','COMMENT_UPDATE','concat','_append','_collaborationSessionService','_getCtorByUniverType','_applyRemoteChangeset','_networkConditionService','SHA1','_pendingMutations','clamp','4288506AhYUFB','AUTHZ_URL_KEY','filter','Utf8','EvpKDF','parse','putCollaborators','src','encodeURIComponent','LIVESHARE_OPERATION','getLatestCsReqIdBySid','session.room-not-exists','userID','&source=','YUUMI_ASYNCIO_CANCELLED','_startTelemetryCollaborationNewChangeset','Encryptor','onRemoteAck','originalMeta','default','clear','COMPRESS_MUTATION_SEND','rev','LICENSE_IMPORT_SIZE_EXCEEDED','fromCollab','OTHER_CLIENTS_EDITING','pipe','registerHTTPInterceptor','socket\x20open.','allowed','onRemoteRetry','duration','image/gif','FAIL','onTransformSelections','csRejEvent','MD5','_shouldReportTelemetry','_startCollaboration','INVALID_ARGUMENT','SOCKET_FAILED_RETRY','getUnitId','baseRev','post','unsubscribe','_eventService','4eGfgrH','telemetry\x20info\x20is\x20not\x20initialized','_state','entityInit$','_clearHeartbeatTimer','list','[CollaborationSocketService]:\x20failed\x20to\x20create\x20socket!','/universer-api/user/session-ticket','UnitSnapshot','executeCommand','BlockCipher','getSnapshotAPIPath','_initCloseConn','_exhaustRemoteChangesetQueue','startsWith','charAt','getImage','_stopTelemetryCollaborationNewChangeset','ERROR_IMAGE_TYPE','LICENSE_EXPORT_SIZE_EXCEEDED','[UniverCollaborationClientPlugin]','session.room-permission-denied','YUUMI_ALL_TABLES_IS_INVALID','collaborators','_parse','addImageSourceCache','length','_iv','unitInfo$','requireSession','create','onCommentUpdate','_httpService','[AuthServerService]:\x20you\x20should\x20provide\x20authentication\x20info\x20on\x20Node.js.','ERROR_EXCEED_SIZE','routeKey','PY_RUNTIME_SCRIPT_ERROR','JOIN_ROOM_FAILED','createSocket','collaboration-client.local-cache-service','HMAC','msCrypto','_onCombEvent','_commentService','_throwTelemetryCollaborationNewChangeset','JOIN_ROOM_PERMISSION_DENIED','WordArray','_changesetSessionId','createCollaborator','decrypt','_updateState','35072SZemSx','focused$','_awaitingChangeset','_transformService','fetchMissingChangesets','updatePermissionPoint','objectActions','_instanceService','ceil','listCollaborators','getUnitType','now','Hasher','CONFLICT','INVITE_CODE_ALREADY_BOUND','interceptor','prototype','fetchThroughInterceptors','JOIN','awaiting_with_pending','infoRsp','signUrlServerUrl','data','LIVESHARE_REQUEST_HOST','?url=','LICENSE_DISTRO_REJECTED','_handler','_checkMissing','_waitCount','onTransformRemoteChangesetByIMECache','UNAUTHENTICATED','getUnit','sessionStatus$','_memberService','getSheetBlock','padding','mutations','function','ENSURE_SNAPSHOT_EXECUTION','APPLY_REVISION_CONFILICT','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','state$','UNIVER_COLLABORATION_CLIENT_PLUGIN','onTransformState','slice','univer-pro.collaboration-client.network-condition.service','repeat','_unitInfo$','_logService','downloadEndpointUrl','_invKeySchedule','onStateChange','_injector','not_collab','USERS_LEAVE','_resendTimer','_toggleOnline','NEW_CHANGESETS','_onFetchMissResult','_sendingTimer','[FetchingMissState]:\x20not\x20expected\x20to\x20receive\x20ack\x20when\x20`this._awaitingChangeset`\x20is\x20null!','every','PERMISSION_REJ','_mode','unitID','35428086xOCQHh','YUUMI_URL_COL_OUT_OF_RANGE','cfg','Undefined','getMember','setWaitCount','HEARTBEAT','includes','/role','kdf','This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!','Base','UPDATE_CURSOR','PENDING','appendMutation','emitEvent','change$','COMPLETION_FINISHED','_onLocalMutation','indexOf','range','selections','_changesetReqId','[CollaborationController]:\x20invalid\x20univer\x20type:\x20','session','saveSnapshot','/-/object/-/batch_allowed','MSG_FOR_ERROR','_onUserJoin','SerializableCipher','objectType','APPLY_DUPLICATED','subscribe','TOO_MANY_REQUESTS','finalize','setConfig','LOGIN_URL_KEY','close$','_createHmacHelper','toString','changesets','LOGIN_FAILED','dispose','transformStack\x20failed!','[CollaborationEntity]:\x20cannot\x20apply\x20missing\x20results\x20on\x20other\x20states!','_initUnitPermissionChange','_clearRetryConnectingTimer','_event$','online$','_localCacheService','x-univer-host','cmd','shouldCloseConn','_registerDependencies','UNKNOWN_CMD','_onJoinRoomEvent','getImageSourceCache','image/jpeg','_type','MOBILE_HAS_BEEN_BOUND','pad','UnitEmbedded','call','DEFAULT_FILE_NAME','HELLO','SHOULD_CLOSE_CONN','AWAITING_WITH_PENDING','_schedule','INGEST','sigBytes','find','LOCAL_CACHE_INTERVAL','_onConflict','image/png','_init','onlyLocal','createEncryptor','_tryEnsureSocket','ONLINE','_unitID','complete','PasswordBasedCipher','_univerInstanceService','[SyncedState]:\x20invalid\x20calling\x20to\x20`resend`.','algo','LEAVE','SUBMIT_CHANGESET','Pkcs7','authzUrl','_sendHeartbeatTimer','_reverseMap','/universer-api/snapshot/','reset','_createHandler','fetching\x20missing\x20changesets\x20from\x20','_acknowledgedAwaitingChangeset','INVITE_CODE_REQUIRED','_transitionLocked','_timeoutTimer','onSendChangeset','deleteCollaborator','_hasher','PERSON','disposeWithMe','add','loadDoc','buffer','localeService','RECV','&to=','stringify','readyForCollab','onTransformRemoteChangesetByStateCache','LIVESHARE_TERMINATE','updateSnapshot','FileId','{fileID}','connection\x20error','actions','_HTTPService','APPLY_REJECT','_onMessage','getCurrentRevOfUnit','COLLAB_SUBMIT_CHANGESET_URL','collaboration_new_changeset','_transformStateCache','sessionStatus','crypto','put','_emitMembers','UNIVER_SHEET','_commandService','SUBMIT_CHANGESET_TIMEOUT','_createInitialState','_collaborationTimeoutTimer','resolve','EXCHANGE_SIGN_URL_SERVER_URL_KEY','Univer','_onConnectionOpen','status$','push','univer-pro.collaboration-client-socket-service','getRoom','_xformMode','fromCharCode','loginUrlKey','PERMISSION_DENIED','createDecryptor','salt','sid','then','revision','auth.needGotoLoginAlert','close','_DEC_XFORM_MODE','CHANGESET_REJ','YUUMI_RATE_OVER_LIMIT','/allowed','_removeRoom','[OfflineState]:\x20received\x20rejection.','has','_entities','isArray','abs','createInstance','Failed\x20to\x20update\x20permission\x20point','_doCryptBlock','symbol','url','_createHelper','_replaceFileID','avatar','key','resend','getConfig','UNKNOWN_CODE','formatter','joinRsp','_roomMembers','debug','readInt32LE','HttpExport','_decreaseWaiting','updateCollaborator','startTime','/universer-api/oidc/authpage','editing\x20status\x20changed\x20to','_telemetryInfo','APPLY_PERMISSION_DENIED','/universer-api/uniscript','reject','subUnitId','commentUpdateEvent','OpenSSL','getDeserializedSheetBlock','socketService','error','_getUploadFileURL','getUnitOnRev','offline','enableSingleActiveInstanceLock','JOINING','INVITE_CODE_HAS_BEEN_UES','roles','params','People','LIVESHARE_FETCH_OPERATIONS','HmacSHA1','CHANGESET_ACK','APPLY_NON_SEQUENTIAL_REVISION','sendChangesetTimeout','USER_NOT_INVITED_CODE','_nDataBytes','_keySchedule','42qdBoDQ','/collaborator','_getAPIPrefix','OPTIONAL','getTime','SOCKET_FAILED','_handlerCallback','_fetchMissChangesets','_collaborationPaused','PSEUDO_FETCH_MISSING_RESULT','from','SYNCED','patch','hostname','result','__esModule','_telemetryService','_disableEditing','collabWebSocketUrl','awaiting','WECHAT_HAS_BEEN_BOUND','origin','action','type','YUUMI_NO_CUBOID_FOR_QUESTION','LICENSE_MAX_UNITS_EXCEEDED','UPDATE_PERMISSION_OBJ','_undoRedoService','COMPRESS_MUTATION_APPLY','onRemoteRej','_prevBlock','requestParams','Base64','unitId','_socketReady','mixIn','getCollabEntity$','loadUnit','m2Prime','compute','eventID','ALREADY_EXISTS','_change$','UNISCRIPT_RUN','_transformUndoredo','OFFLINE','transformUndoRedo','subject','ERROR_IMAGE','?size=','_sessions','_getRedoStack','_updateStatus','execute','transformChangesets','JOIN_ROOM_NOT_EXISTS','saveChangeset','CLOSE_ROOM','YUUMI_TABLE_NOT_FOUND_IN_UNIT','_executeRemoteChangeset','CHANGESET_SHOULD_RETRY','_onRemoteRejected','send','uniscriptRunEvent','onMissingChangesets','collaboratorID','Error\x20on\x20receiving\x20event','[SyncedState]:\x20received\x20rejection.','HEARTBEAT_INTERVAL','removeMember','_candidateSocket','_iKey','charCodeAt','ciphertext','_singleActiveUnitService','findIndex','NoPadding','__creator','_unlockTransition','message$','save\x20fail\x20reason\x20is\x20','OTHER_CLIENT_EDITING','2343895BoXiJT','onTransformRemoteChangesetByIMECache\x20callback\x20is\x20not\x20added\x20yet.','file','reconnect','\x20to\x20','RETRY_CONNECTING_MAX_COUNT','_hash','Malformed\x20UTF-8\x20data','leaveEvent','_replayCachedMutations','_imageSourceCache','HttpImport','refreshPermission','_showConflictNotification','/block/','session.join-failed','UserProfileImg','onStarting','getFocusedUnit','retryConnectingInterval','_onRemoteACK','/new_changes','join','_config','_updateLocalCache','YUUMI_AI_RUN_FAILED','_onUserLeave','UNIVER_UNKNOWN','reqId','unpad','_getSendChangesetTimeout','extend','_lockTransition','NOT_FOUND','LIVESHARE_NEW_HOST','_onRecvEvent','ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=','memberID','min','YUUMI_SUBSCRIPTION_NOT_FOUND','SNAPSHOT_HAS_BEEN_REMOVED','unknown','batchAllowed','withCredentials','workbook','univer-pro.collaboration-client.single-active-unit-service','unitId\x20is\x20not\x20found','StreamCipher','POST','_createInitialStateImpl','CHANGESET_REVISION_CONFILICT','[PendingState]:\x20received\x20acknowledgement.','byteLength','[FetchMissState]','c1Prime','state','updateOfflineData','AES','code','mode','/object/','_minBufferSize','FETCH_MISSING','error$','GLOBAL_ROOMS_CNT_EXCEEDS','awaitingChangeset','getTypeOfUnitDisposed$','_nRounds','USERS_ENTER','body','_transformRemoteChangesetByStateCache','_getDownloadEndpointURL','commentUpdate$','getCurrentUser','words','_status$','_submitChangeset','[UniverCollaborationClientPlugin]:\x20you\x20must\x20provide\x20a\x20socketService\x20implementation\x20in\x20config!','INTERNAL_ERROR','loadSheet','encrypt','dispose$','[PendingState]:\x20received\x20rejection.','getUnitStatus$','loadOfflineData','pluginName','_process','getMemberID','_syncEditingCollabCursor','UNIVER_PROJECT','_oKey','getTypeOfUnitAdded$','textRanges','delete','method','SNAPSHOT_URL_KEY','equals','[CollaborationSession]','_getLoginPath','update','SNAPSHOT_SERVER_URL_KEY','_onConnectionFailed','_commentUpdate$','[CollaborationSession]:\x20should\x20not\x20send\x20message\x20when\x20the\x20session\x20is\x20offline!','localCacheService','_listenToNetworkCondition','hasher','CBC','_retryCount','status','\x20in\x20_schedule.','onLocalMutation','randomBytes','headers','onRemoteChangeset','getWorkbookSelections','conflict','byteOffset','onSyncEditingCollabCursor','max','exports','_joinRoom','8016696aBUghm','_revisionService','session.room-full','_tryReconnect','_doReset','_retryConnectingTimer','set','[CollaborationSessionService]','_onOffline','_snapshotServerService','_doFinalize','_scheduleCollaborationTimeoutTimer','IDLE','_sheetTransformSelectionsService','name','1803963AEUOlU','[OfflineState]:\x20invalid\x20calling\x20to\x20`resend`.','apply','onTransformIME','_clearTimeoutTimer','_getCurrentRevision','_roomCreated$','_permissionService','[CollaborationEntity]:\x20initial\x20state\x20has\x20been\x20created\x20before.\x20You\x20should\x20not\x20call\x20\x22init\x22\x20twice.','map','updateMember','_socketMessageSubscription','splice','event$','_queuedRemoteChangesets','_resendTimeout','floor','onMissedChangesetFetched','href','_transformRemoteChangesetByIMECache','HEARTBEAT_TIMEOUT','setShowComponents','[CollaborationUndoRedoService]','deepClone','clone','[ConflictState]:\x20invalid\x20calling\x20to\x20`resend`.','_members$','loadUnitOfRevision','_remoteChangesetQueue','onCommandExecuted'];_0x5654=function(){return _0x5423ee;};return _0x5654();}const ii=$e(On);var Xe={'exports':{}},yn=Xe[_0x374e05(0x2ca)],si;function Nn(){var _0x316dc9=_0x374e05;return si||(si=0x1,function(_0x55e3a1,_0x25de68){(function(_0x2ef86a,_0x5475a4){var _0xdf4fd2=_0xbcb8;_0x55e3a1[_0xdf4fd2(0x2ca)]=_0x5475a4(te());}(yn,function(_0x2d6d0e){var _0xeceece=_0xbcb8;return _0x2d6d0e['enc'][_0xeceece(0x38c)];}));}(Xe)),Xe[_0x316dc9(0x2ca)];}var Dn=Nn();const Un=$e(Dn);var Ze={'exports':{}},An=Ze['exports'],ni;function wn(){var _0x503adc=_0x374e05;return ni||(ni=0x1,function(_0x4c6df0,_0x365000){(function(_0x4850d2,_0x7e6e0e){_0x4c6df0['exports']=_0x7e6e0e(te());}(An,function(_0x5bb82d){var _0x1afbdf=_0xbcb8;return(function(){var _0x5b9399=_0xbcb8;if(typeof ArrayBuffer==_0x5b9399(0x40f)){var _0x3b833a=_0x5bb82d,_0x2686dc=_0x3b833a[_0x5b9399(0x306)],_0x520626=_0x2686dc[_0x5b9399(0x3e5)],_0xf5839c=_0x520626[_0x5b9399(0x2fc)],_0x548c7e=_0x520626[_0x5b9399(0x2fc)]=function(_0x566299){var _0x53ef41=_0x5b9399;if(_0x566299 instanceof ArrayBuffer&&(_0x566299=new Uint8Array(_0x566299)),(_0x566299 instanceof Int8Array||typeof Uint8ClampedArray<'u'&&_0x566299 instanceof Uint8ClampedArray||_0x566299 instanceof Int16Array||_0x566299 instanceof Uint16Array||_0x566299 instanceof Int32Array||_0x566299 instanceof Uint32Array||_0x566299 instanceof Float32Array||_0x566299 instanceof Float64Array)&&(_0x566299=new Uint8Array(_0x566299[_0x53ef41(0x194)],_0x566299[_0x53ef41(0x2c7)],_0x566299[_0x53ef41(0x286)])),_0x566299 instanceof Uint8Array){for(var _0x5182a4=_0x566299[_0x53ef41(0x286)],_0x575517=[],_0x388b5e=0x0;_0x388b5e<_0x5182a4;_0x388b5e++)_0x575517[_0x388b5e>>>0x2]|=_0x566299[_0x388b5e]<<0x18-_0x388b5e%0x4*0x8;_0xf5839c[_0x53ef41(0x469)](this,_0x575517,_0x5182a4);}else _0xf5839c[_0x53ef41(0x2dd)](this,arguments);};_0x548c7e[_0x5b9399(0x3fa)]=_0x520626;}}()),_0x5bb82d['lib'][_0x1afbdf(0x3e5)];}));}(Ze)),Ze[_0x503adc(0x2ca)];}var Pn=wn();const Ln=$e(Pn);var Qe={'exports':{}},Mn=Qe[_0x374e05(0x2ca)],ri;function xn(){var _0x4c6525=_0x374e05;return ri||(ri=0x1,function(_0x35ff16,_0x58000f){(function(_0x17660e,_0x359498,_0x10d63f){_0x35ff16['exports']=_0x359498(te(),Ni());}(Mn,function(_0x5b7131){var _0x4e0f0c=_0xbcb8;return _0x5b7131[_0x4e0f0c(0x467)][_0x4e0f0c(0x24c)]={'pad':function(){},'unpad':function(){}},_0x5b7131[_0x4e0f0c(0x467)][_0x4e0f0c(0x24c)];}));}(Qe)),Qe[_0x4c6525(0x2ca)];}var kn=xn();const $n=$e(kn);function Hn(_0x386df7,_0x4ed4b5){var _0x300fde=_0x374e05;const _0x575791=_0x4ed4b5-_0x386df7[_0x300fde(0x3d1)]%_0x4ed4b5,_0x12ea5a=String['fromCharCode'](_0x575791)[_0x300fde(0x418)](_0x575791);return _0x386df7+_0x12ea5a;}function Bn(_0x2ec9d6,_0x57b1ee){var _0x5ab8d2=_0x374e05;const _0x28d693=Ln['random'](0x10),_0x523eb8=Hn(_0x2ec9d6,0x10),_0x521211=bn[_0x5ab8d2(0x2a2)](Un[_0x5ab8d2(0x38e)](_0x523eb8),ii['parse'](_0x57b1ee),{'iv':_0x28d693,'padding':$n});return _0x28d693['concat'](_0x521211[_0x5ab8d2(0x249)])[_0x5ab8d2(0x452)](ii);}function jn(){var _0x1af98f=_0x374e05;const _0x362266=_0x5aec11()['__Key__'];if(_0x362266){const _0x39e2bd={'time':Math[_0x1af98f(0x2eb)](Date[_0x1af98f(0x3f5)]()/0x3e8),'domain':location[_0x1af98f(0x20d)]};return Bn(JSON[_0x1af98f(0x198)](_0x39e2bd),_0x362266);}}var Fn=Object[_0x374e05(0x34f)],Vn=(_0x469dd0,_0x255fb4,_0x5de185,_0x3aad58)=>{var _0x2a1a8b=_0x374e05;for(var _0x5528e9=_0x3aad58>0x1?void 0x0:_0x3aad58?Fn(_0x255fb4,_0x5de185):_0x255fb4,_0x52373a=_0x469dd0[_0x2a1a8b(0x3d1)]-0x1,_0x3d54e3;_0x52373a>=0x0;_0x52373a--)(_0x3d54e3=_0x469dd0[_0x52373a])&&(_0x5528e9=_0x3d54e3(_0x5528e9)||_0x5528e9);return _0x5528e9;},Gn=(_0x435cce,_0x11c95b)=>(_0x308e70,_0x2ceda3)=>_0x11c95b(_0x308e70,_0x2ceda3,_0x435cce);let at=class{constructor(_0x5addd1){var _0x189da0=_0x374e05;this[_0x189da0(0x3d7)]=_0x5addd1,this[_0x189da0(0x32c)]();}[_0x374e05(0x32c)](){var _0x210466=_0x374e05;this[_0x210466(0x3d7)][_0x210466(0x3a4)]({'interceptor':(_0x59fbfe,_0x385f28)=>{var _0x2d8b45=_0x210466;const _0x26c293=_0x59fbfe[_0x2d8b45(0x2c3)],_0x1e2913=jn();return _0x1e2913&&_0x26c293[_0x2d8b45(0x2d2)](_0x2d8b45(0x45d),_0x1e2913),_0x385f28(_0x59fbfe);}});}};at=Vn([Gn(0x0,_0x59854e(_0x3c791d))],at);var Wn=Object['getOwnPropertyDescriptor'],Yn=(_0x1541d4,_0xa9c465,_0x26ecc0,_0x342d36)=>{var _0x43df10=_0x374e05;for(var _0x5569ba=_0x342d36>0x1?void 0x0:_0x342d36?Wn(_0xa9c465,_0x26ecc0):_0xa9c465,_0x2d22a8=_0x1541d4[_0x43df10(0x3d1)]-0x1,_0x1a2ccf;_0x2d22a8>=0x0;_0x2d22a8--)(_0x1a2ccf=_0x1541d4[_0x2d22a8])&&(_0x5569ba=_0x1a2ccf(_0x5569ba)||_0x5569ba);return _0x5569ba;},vt=(_0x3e6712,_0x2553cc)=>(_0x1ddfa4,_0x1e0dfd)=>_0x2553cc(_0x1ddfa4,_0x1e0dfd,_0x3e6712);let Ct=class extends _0x374f4f{constructor(_0x57aa88,_0x5b2f7b,_0x46de98){var _0x5cca27=_0x374e05;super(),N(this,'_unitInfo$',new _0x50c941(null)),N(this,_0x5cca27(0x3d3),this[_0x5cca27(0x419)][_0x5cca27(0x32e)]()),(this[_0x5cca27(0x41a)]=_0x57aa88,this[_0x5cca27(0x349)]=_0x5b2f7b,this['_localCacheService']=_0x46de98);}async['loadUnitOfRevision'](_0x387b9d,_0x19eafa,_0x21674b){var _0x48a268=_0x374e05;this['_unitInfo$'][_0x48a268(0x321)]({'unitId':_0x387b9d,'type':_0x19eafa});let _0xc58195=null;switch(_0x19eafa){case Z['UNIVER_SHEET']:{_0xc58195=await this[_0x48a268(0x349)][_0x48a268(0x2a1)](_0x387b9d,_0x21674b);break;}case Z['UNIVER_DOC']:{_0xc58195=await this[_0x48a268(0x349)][_0x48a268(0x193)](_0x387b9d,_0x21674b);break;}default:{this[_0x48a268(0x41a)][_0x48a268(0x1ee)]('[DataLoaderService]',_0x48a268(0x323));break;}}return _0xc58195;}async[_0x374e05(0x225)](_0x3762e8,_0x3139c0,_0x441c7b){var _0x4de799=_0x374e05,_0x36d14b;this['_unitInfo$'][_0x4de799(0x321)]({'unitId':_0x3762e8,'type':_0x3139c0,'subUnitId':_0x441c7b});let _0x44a2a8=0x0;const _0x93d305=await((_0x36d14b=this[_0x4de799(0x45c)])==null?void 0x0:_0x36d14b[_0x4de799(0x2a6)](_0x3762e8));return _0x93d305&&(_0x93d305[_0x4de799(0x293)]||_0x93d305['mutations'][_0x4de799(0x3d1)]!==0x0)&&(_0x44a2a8=_0x93d305[_0x4de799(0x39f)]),_0x44a2a8===0x0&&this[_0x4de799(0x41a)][_0x4de799(0x1dd)]('[DataLoaderService]','fetching\x20the\x20latest\x20document\x20from\x20the\x20server.'),this[_0x4de799(0x2f6)](_0x3762e8,_0x3139c0,_0x44a2a8);}};Ct=Yn([vt(0x0,_0x57d59c),vt(0x1,_0x59854e(_0x887aaa)),vt(0x2,_0x2ed8f6(J))],Ct);var Kn=Object[_0x374e05(0x34f)],qn=(_0x55be5d,_0x10afc0,_0x25eb1d,_0x52973f)=>{var _0x587447=_0x374e05;for(var _0x2b0ebf=_0x52973f>0x1?void 0x0:_0x52973f?Kn(_0x10afc0,_0x25eb1d):_0x10afc0,_0x1a806e=_0x55be5d[_0x587447(0x3d1)]-0x1,_0x4eb31b;_0x1a806e>=0x0;_0x1a806e--)(_0x4eb31b=_0x55be5d[_0x1a806e])&&(_0x2b0ebf=_0x4eb31b(_0x2b0ebf)||_0x2b0ebf);return _0x2b0ebf;},pt=(_0x9c049e,_0x35d1bb)=>(_0x83a7d6,_0x3d57a7)=>_0x35d1bb(_0x83a7d6,_0x3d57a7,_0x9c049e);const zn=[_0x374e05(0x474),_0x374e05(0x464),'image/jpg',_0x374e05(0x3a9),_0x374e05(0x377)],Jn=0x5*0x400*0x400,Xn='EXCHANGE_UPLOAD_FILE_SERVER_URL_KEY',Zn=_0x374e05(0x357),Qn=_0x374e05(0x1b2),er='/universer-api/file/{fileID}/sign-url';let Rt=class{constructor(_0x3dc654,_0x1663da,_0x3c8cdf){var _0x27cf3c=_0x374e05;N(this,_0x27cf3c(0x406),0x0),N(this,_0x27cf3c(0x22a),new _0x680904()),N(this,_0x27cf3c(0x43b),this['_change$']),N(this,'_imageSourceCache',new Map()),(this['_httpService']=_0x3dc654,this[_0x27cf3c(0x31e)]=_0x1663da,this['_univerInstanceService']=_0x3c8cdf);}[_0x374e05(0x430)](_0x40bb3a){var _0x3afab0=_0x374e05;this[_0x3afab0(0x406)]=_0x40bb3a,this['_change$'][_0x3afab0(0x321)](_0x40bb3a);}[_0x374e05(0x463)](_0x4ca8b2,_0x25dd5b){var _0x11ec48=_0x374e05;if(_0x25dd5b===_0x5700af[_0x11ec48(0x309)]){const _0x58b98f=new Image();return _0x58b98f[_0x11ec48(0x390)]=_0x4ca8b2,_0x58b98f;}return this[_0x11ec48(0x25c)]['get'](_0x4ca8b2);}[_0x374e05(0x3d0)](_0x97cfd,_0x2bac8a,_0x3c3f1a){var _0xdee9ff=_0x374e05;_0x2bac8a===_0x5700af[_0xdee9ff(0x309)]||_0x3c3f1a==null||this['_imageSourceCache']['set'](_0x97cfd,_0x3c3f1a);}async[_0x374e05(0x3c7)](_0x34e539){var _0x55c00b=_0x374e05;try{const _0x319b88=this[_0x55c00b(0x1d4)](this[_0x55c00b(0x32b)](),''+_0x34e539),_0x18e4c1=(await this[_0x55c00b(0x3d7)][_0x55c00b(0x35f)](_0x319b88))['body'];if(_0x18e4c1['error']&&_0x18e4c1['error']['code']===pi['OK']){const _0x4ff419=new URL(_0x18e4c1[_0x55c00b(0x1d2)],this[_0x55c00b(0x299)]())[_0x55c00b(0x452)]();return Promise[_0x55c00b(0x1b1)](_0x4ff419);}return Promise[_0x55c00b(0x1e8)](_0x18e4c1[_0x55c00b(0x1ee)]);}catch(_0x268498){return Promise[_0x55c00b(0x1e8)](_0x268498);}}async[_0x374e05(0x344)](_0x46864a){var _0x2e3ca2=_0x374e05;let _0x3a3bd3='';if(!zn[_0x2e3ca2(0x432)](_0x46864a[_0x2e3ca2(0x217)]))return this[_0x2e3ca2(0x1e0)](),Promise[_0x2e3ca2(0x1e8)](new Error(_0x469573[_0x2e3ca2(0x3c9)]));if(_0x46864a[_0x2e3ca2(0x376)]>Jn)return this['_decreaseWaiting'](),Promise[_0x2e3ca2(0x1e8)](new Error(_0x469573[_0x2e3ca2(0x3d9)]));try{const _0x304068=new FormData();_0x304068[_0x2e3ca2(0x343)](_0x2e3ca2(0x254),_0x46864a);const _0x4ae8c2=this['_univerInstanceService'][_0x2e3ca2(0x264)](),_0x707549=_0x4ae8c2==null?void 0x0:_0x4ae8c2[_0x2e3ca2(0x3b2)]();if(!_0x707549)throw new Error(_0x2e3ca2(0x280));const _0x1ddffc=this[_0x2e3ca2(0x1ef)]()+_0x2e3ca2(0x231)+_0x46864a[_0x2e3ca2(0x376)]['toString']()+_0x2e3ca2(0x396)+mi[_0x2e3ca2(0x468)]+'&assign='+encodeURIComponent(_0x707549),_0x3d64aa={'body':_0x304068},_0x3d3b7f=(await this[_0x2e3ca2(0x3d7)][_0x2e3ca2(0x3b4)](_0x1ddffc,_0x3d64aa))[_0x2e3ca2(0x297)];if(typeof _0x3d3b7f[_0x2e3ca2(0x19d)]!='string')return this[_0x2e3ca2(0x1e0)](),Promise[_0x2e3ca2(0x1e8)](new Error(_0x469573[_0x2e3ca2(0x230)]));_0x3a3bd3=_0x3d3b7f[_0x2e3ca2(0x19d)];}catch{return this[_0x2e3ca2(0x1e0)](),Promise[_0x2e3ca2(0x1e8)](new Error(_0x469573[_0x2e3ca2(0x230)]));}return new Promise((_0x58c6fd,_0x57e839)=>{const _0x42df07=new FileReader();_0x42df07['readAsDataURL'](_0x46864a),_0x42df07['onload']=_0x2f15d8=>{var _0xe31d82=_0xbcb8,_0x41808e;const _0x4beffd=(_0x41808e=_0x2f15d8['target'])==null?void 0x0:_0x41808e[_0xe31d82(0x20e)];if(_0x4beffd==null){this['_decreaseWaiting'](),_0x57e839(new Error(_0x469573[_0xe31d82(0x230)]));return;}const _0x53eacc=_0x2d22fb[_0xe31d82(0x378)](0x6);_0x58c6fd({'imageId':_0x53eacc,'imageSourceType':_0x5700af[_0xe31d82(0x36b)],'source':_0x3a3bd3,'base64Cache':_0x4beffd,'status':_0x469573[_0xe31d82(0x30a)]}),this['_decreaseWaiting']();};});}[_0x374e05(0x1ef)](){var _0x43de13=_0x374e05,_0x1de7cd,_0x41c5c8;const _0x46b6d6=this[_0x43de13(0x31e)]['getConfig'](Xn),_0x22094e=this[_0x43de13(0x31e)][_0x43de13(0x1d8)](K);return(_0x41c5c8=(_0x1de7cd=_0x22094e==null?void 0x0:_0x22094e['uploadFileServerUrl'])!=null?_0x1de7cd:_0x46b6d6)!=null?_0x41c5c8:Zn;}[_0x374e05(0x32b)](){var _0x2c4f38=_0x374e05,_0x5d229d,_0x439453;const _0x178afa=this[_0x2c4f38(0x31e)][_0x2c4f38(0x1d8)](Qn),_0x3a7ab5=this[_0x2c4f38(0x31e)]['getConfig'](K);return(_0x439453=(_0x5d229d=_0x3a7ab5==null?void 0x0:_0x3a7ab5[_0x2c4f38(0x3ff)])!=null?_0x5d229d:_0x178afa)!=null?_0x439453:er;}[_0x374e05(0x299)](){var _0x393d65=_0x374e05,_0x5480e6;const _0x661383=this[_0x393d65(0x31e)]['getConfig'](K);return(_0x5480e6=_0x661383==null?void 0x0:_0x661383[_0x393d65(0x41b)])!=null?_0x5480e6:location[_0x393d65(0x215)];}['_replaceFileID'](_0x1b0fce,_0x191d0a){var _0x28b467=_0x374e05;return _0x1b0fce[_0x28b467(0x348)](_0x28b467(0x19e),_0x191d0a);}[_0x374e05(0x1e0)](){var _0x2cd38a=_0x374e05;this[_0x2cd38a(0x406)]-=0x1,this[_0x2cd38a(0x22a)][_0x2cd38a(0x321)](this[_0x2cd38a(0x406)]);}};Rt=qn([pt(0x0,_0x59854e(_0x3c791d)),pt(0x1,_0x53268d),pt(0x2,_0x59854e(_0xdbe7af))],Rt);var tr=Object['getOwnPropertyDescriptor'],ir=(_0x55253a,_0x150bcd,_0x3c58a9,_0x18aa1a)=>{var _0x1e8bd4=_0x374e05;for(var _0xf02f5f=_0x18aa1a>0x1?void 0x0:_0x18aa1a?tr(_0x150bcd,_0x3c58a9):_0x150bcd,_0x34eb6c=_0x55253a[_0x1e8bd4(0x3d1)]-0x1,_0x34088e;_0x34eb6c>=0x0;_0x34eb6c--)(_0x34088e=_0x55253a[_0x34eb6c])&&(_0xf02f5f=_0x34088e(_0xf02f5f)||_0xf02f5f);return _0xf02f5f;},ai=(_0x3b0a23,_0x31dec5)=>(_0xc7cd98,_0x21f638)=>_0x31dec5(_0xc7cd98,_0x21f638,_0x3b0a23);const sr=_0x374e05(0x37d);let bt=class{constructor(_0x54cfb4,_0x41612a){var _0x994284=_0x374e05;this[_0x994284(0x31e)]=_0x54cfb4,this[_0x994284(0x1a1)]=_0x41612a;}[_0x374e05(0x31a)](){var _0x1ed721=_0x374e05,_0x865c6a,_0x28fdf6;const _0x4f4dbf=this[_0x1ed721(0x31e)][_0x1ed721(0x1d8)](bi),_0x4397ba=this[_0x1ed721(0x31e)][_0x1ed721(0x1d8)](K);return(_0x28fdf6=(_0x865c6a=_0x4397ba==null?void 0x0:_0x4397ba[_0x1ed721(0x483)])!=null?_0x865c6a:_0x4f4dbf)!=null?_0x28fdf6:sr;}async['list'](_0x4683f6){var _0x5b7910=_0x374e05;const _0x3d58df=this['_getAPIPrefixPath']()+_0x5b7910(0x201);return{'list':[{'title':_0x5b7910(0x1f7),'mentions':(await this[_0x5b7910(0x1a1)][_0x5b7910(0x35f)](_0x3d58df,{'params':{'objectID':_0x4683f6['unitId'],'unitID':_0x4683f6['unitId']}}))[_0x5b7910(0x297)][_0x5b7910(0x3ce)]['map'](_0x1db72e=>({'objectId':_0x1db72e['id'],'name':_0x1db72e[_0x5b7910(0x22f)][_0x5b7910(0x2da)],'metadata':{'icon':_0x1db72e[_0x5b7910(0x22f)][_0x5b7910(0x1d5)]},'label':_0x1db72e[_0x5b7910(0x22f)][_0x5b7910(0x2da)],'objectType':_0xfefe3['PERSON']})),'metadata':{},'type':_0xfefe3[_0x5b7910(0x190)]}]};}};bt=ir([ai(0x0,_0x59854e(_0x53268d)),ai(0x1,_0x59854e(_0x3c791d))],bt);var nr=Object[_0x374e05(0x34f)],rr=(_0x5a05bb,_0x2d27a9,_0x1500c7,_0x54246c)=>{var _0x5ec96=_0x374e05;for(var _0x1dc1de=_0x54246c>0x1?void 0x0:_0x54246c?nr(_0x2d27a9,_0x1500c7):_0x2d27a9,_0x28b2f8=_0x5a05bb[_0x5ec96(0x3d1)]-0x1,_0x3fea49;_0x28b2f8>=0x0;_0x28b2f8--)(_0x3fea49=_0x5a05bb[_0x28b2f8])&&(_0x1dc1de=_0x3fea49(_0x1dc1de)||_0x1dc1de);return _0x1dc1de;},Ae=(_0x1b502a,_0x1cf905)=>(_0x4e9b4a,_0xaa189b)=>_0x1cf905(_0x4e9b4a,_0xaa189b,_0x1b502a);let ot=class extends _0x374f4f{constructor(_0xdb5b6e,_0x35e783,_0x356bc0,_0x23ea30,_0x3133e2){var _0x4bd676=_0x374e05;super(),this[_0x4bd676(0x41e)]=_0xdb5b6e,this[_0x4bd676(0x47d)]=_0x35e783,this['_permissionService']=_0x356bc0,this['_collaborationSessionService']=_0x23ea30,this[_0x4bd676(0x358)]=_0x3133e2,this[_0x4bd676(0x458)](),this['_initCloseConn']();}[_0x374e05(0x3c3)](){var _0xae839b=_0x374e05;const _0xf26ac0=async _0x5975eb=>{var _0x5c8745=_0xbcb8;(await this[_0x5c8745(0x382)][_0x5c8745(0x3d4)](_0x5975eb))[_0x5c8745(0x2e8)]['pipe'](_0x442050(_0x479c34=>_0x479c34[_0x5c8745(0x228)]===_0x440e76[_0x5c8745(0x46c)]),_0x40c490(this['dispose$']))[_0x5c8745(0x44b)](_0x55bfa9=>{var _0x37e4a3=_0x5c8745;const _0x14b8ff=_0x55bfa9,{reason:_0x58817c}=_0x14b8ff[_0x37e4a3(0x400)];this[_0x37e4a3(0x358)][_0x37e4a3(0x43a)]({'id':ne[_0x37e4a3(0x239)],'data':_0x58817c}),this[_0x37e4a3(0x2e2)]['updatePermissionPoint'](new _0x156a28(_0x5975eb)['id'],!0x1),this[_0x37e4a3(0x382)][_0x37e4a3(0x317)](_0x5975eb);});};_0x338fa9(this[_0xae839b(0x47d)]['getTypeOfUnitAdded$'](_0x3d936d[_0xae839b(0x1ac)]),this['_univerInstanceService']['getTypeOfUnitAdded$'](_0x3d936d[_0xae839b(0x338)]))[_0xae839b(0x3a3)](_0x516989(_0x36f2fc=>_0x36f2fc[_0xae839b(0x3b2)]()),_0x442050(_0x10ae38=>!_0x50e5b4(_0x10ae38)),_0x40c490(this[_0xae839b(0x2a3)]))['subscribe'](_0x52905e=>{_0xf26ac0(_0x52905e);});}['_initUnitPermissionChange'](){var _0xe7e208=_0x374e05;const _0x189155=async _0x32a4b4=>{var _0x27e24a=_0xbcb8;const _0x477634=await this[_0x27e24a(0x382)][_0x27e24a(0x3d4)](_0x32a4b4),_0x3dff22=this[_0x27e24a(0x41e)][_0x27e24a(0x35f)](_0x20a94c);_0x477634[_0x27e24a(0x2e8)][_0x27e24a(0x3a3)](_0x442050(_0x830db3=>_0x830db3[_0x27e24a(0x228)]===_0x440e76[_0x27e24a(0x21a)]),_0x40c490(this[_0x27e24a(0x2a3)]))[_0x27e24a(0x44b)](_0x1d2c6e=>{var _0x2bafb9=_0x27e24a;const _0xa1eee3=_0x1d2c6e,{objectId:_0x5f1e3c}=_0xa1eee3[_0x2bafb9(0x400)];_0x5f1e3c===_0x32a4b4?_0x3dff22['initWorkbookPermissionChange'](_0x32a4b4):_0x3dff22[_0x2bafb9(0x25e)](_0x32a4b4,_0x5f1e3c);});};_0x338fa9(this[_0xe7e208(0x47d)][_0xe7e208(0x2ad)](_0x3d936d[_0xe7e208(0x1ac)]))['pipe'](_0x516989(_0x3f57fa=>_0x3f57fa['getUnitId']()),_0x442050(_0x384e44=>!_0x50e5b4(_0x384e44)),_0x40c490(this[_0xe7e208(0x2a3)]))[_0xe7e208(0x44b)](_0x4c3bfc=>{_0x189155(_0x4c3bfc);});}};ot=rr([Ae(0x0,_0x59854e(_0x43d4c8)),Ae(0x1,_0xdbe7af),Ae(0x2,_0x3a92ee),Ae(0x3,_0x59854e(Le)),Ae(0x4,_0x59854e(ve))],ot);var ar=Object['getOwnPropertyDescriptor'],or=(_0x254b76,_0xbb07cf,_0x1e61ba,_0x1ac45b)=>{for(var _0x7c1ff6=_0x1ac45b>0x1?void 0x0:_0x1ac45b?ar(_0xbb07cf,_0x1e61ba):_0xbb07cf,_0x155a21=_0x254b76['length']-0x1,_0x4d5848;_0x155a21>=0x0;_0x155a21--)(_0x4d5848=_0x254b76[_0x155a21])&&(_0x7c1ff6=_0x4d5848(_0x7c1ff6)||_0x7c1ff6);return _0x7c1ff6;},oi=(_0x4f107,_0xcc8156)=>(_0x993eb6,_0x291b13)=>_0xcc8156(_0x993eb6,_0x291b13,_0x4f107);let Ot=class{constructor(_0xc79d04,_0x2ed894){var _0x127414=_0x374e05;this[_0x127414(0x31e)]=_0xc79d04,this[_0x127414(0x3d7)]=_0x2ed894;}async[_0x374e05(0x1f0)](_0x51b49d,_0x1efd4c){var _0x2cdc98=_0x374e05,_0x2568e1;const {unitID:_0x1b8d03,type:_0x16df30,revision:_0x465a60=0x0}=_0x1efd4c,_0x423001=this[_0x2cdc98(0x3c2)]()+'/'+_0x16df30+_0x2cdc98(0x313)+_0x1b8d03+'/rev/'+_0x465a60,_0x5956cf=(await this[_0x2cdc98(0x3d7)]['get'](_0x423001))[_0x2cdc98(0x297)],_0x3549c9=(_0x2568e1=_0x5956cf['snapshot'])==null?void 0x0:_0x2568e1[_0x2cdc98(0x27e)];if(_0x3549c9){const _0xaeddcc=_0x3549c9==null?void 0x0:_0x3549c9[_0x2cdc98(0x39b)],_0x7ad6bb=_0x42a3f4[_0x2cdc98(0x30c)](_0x2246ea(_0xaeddcc));_0x3549c9[_0x2cdc98(0x39b)]=_0x7ad6bb,Object[_0x2cdc98(0x340)](_0x3549c9['sheets'])[_0x2cdc98(0x37b)](([,_0x546123])=>{var _0x5e1f41=_0x2cdc98;const _0x529597=_0x546123[_0x5e1f41(0x39b)],_0xe40cf7=_0x42a3f4[_0x5e1f41(0x30c)](_0x2246ea(_0x529597));_0x546123['originalMeta']=_0xe40cf7;});}return _0x5956cf;}async[_0x374e05(0x40c)](_0x97e6a,_0x2972fc){var _0x389f83=_0x374e05;const {unitID:_0x337580,type:_0x7e7eed,blockID:_0x146645}=_0x2972fc,_0x1d5967=this[_0x389f83(0x202)]()+'/'+_0x7e7eed+'/unit/'+_0x337580+'/block/'+_0x146645;return(await this['_httpService'][_0x389f83(0x35f)](_0x1d5967))[_0x389f83(0x297)];}async[_0x374e05(0x1ec)](_0x363117,_0x27dd1f){var _0x14e037=_0x374e05;const {unitID:_0x49c604,type:_0x42d977,blockID:_0x47eeb3}=_0x27dd1f,_0xe6911a=this[_0x14e037(0x202)]()+_0x14e037(0x260)+_0x42d977+'/unit/'+_0x49c604+_0x14e037(0x260)+_0x47eeb3;return(await this[_0x14e037(0x3d7)]['get'](_0xe6911a))['body'];}async[_0x374e05(0x3ee)](_0x1e7a72,_0x4dd511){var _0x55e2e3=_0x374e05;const {unitID:_0x313ae6,type:_0x16148a,from:_0x50a8bd,to:_0x53bde4}=_0x4dd511,_0x20a7df=this[_0x55e2e3(0x202)]()+'/'+_0x16148a+_0x55e2e3(0x313)+_0x313ae6+_0x55e2e3(0x2fe)+_0x50a8bd+_0x55e2e3(0x197)+_0x53bde4;return(await this[_0x55e2e3(0x3d7)]['get'](_0x20a7df))['body'];}[_0x374e05(0x3c2)](){var _0x4efbd5=_0x374e05,_0x14c26b;return(_0x14c26b=this[_0x4efbd5(0x31e)][_0x4efbd5(0x1d8)](ps))!=null?_0x14c26b:this[_0x4efbd5(0x202)]();}[_0x374e05(0x202)](){var _0x9c38e0=_0x374e05,_0x18cb0f,_0x4e712a;const _0xf73764=this['_configService']['getConfig'](fs),_0x5de773=this[_0x9c38e0(0x31e)]['getConfig'](K);return(_0x4e712a=(_0x18cb0f=_0x5de773==null?void 0x0:_0x5de773[_0x9c38e0(0x331)])!=null?_0x18cb0f:_0xf73764)!=null?_0x4e712a:vs;}async[_0x374e05(0x34a)](_0x4dcc86,_0x38581b){var _0x33847b=_0x374e05;const _0x2c1d61=_0x33847b(0x486)+_0x38581b['type']+_0x33847b(0x313)+_0x38581b[_0x33847b(0x42a)]+_0x33847b(0x307);return(await this['_httpService']['get'](_0x2c1d61,{'params':{'resourceId':JSON[_0x33847b(0x198)](_0x38581b[_0x33847b(0x36e)])}}))[_0x33847b(0x297)];}[_0x374e05(0x444)](){var _0x46eca3=_0x374e05;throw new Error(_0x46eca3(0x435));}[_0x374e05(0x19c)](){var _0x5f0161=_0x374e05;throw new Error(_0x5f0161(0x435));}['saveSheetBlock'](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}[_0x374e05(0x238)](){var _0x1a5c2c=_0x374e05;throw new Error(_0x1a5c2c(0x435));}[_0x374e05(0x368)](){var _0x8833ac=_0x374e05;throw new Error(_0x8833ac(0x435));}[_0x374e05(0x393)](){var _0x117d10=_0x374e05;throw new Error(_0x117d10(0x435));}};Ot=or([oi(0x0,_0x53268d),oi(0x1,_0x59854e(_0x3c791d))],Ot);var cr=Object[_0x374e05(0x34f)],hr=(_0x354a28,_0x2b71e9,_0x299663,_0x443c6b)=>{var _0x541254=_0x374e05;for(var _0x34c1a6=_0x443c6b>0x1?void 0x0:_0x443c6b?cr(_0x2b71e9,_0x299663):_0x2b71e9,_0x165b6f=_0x354a28[_0x541254(0x3d1)]-0x1,_0x32eb5a;_0x165b6f>=0x0;_0x165b6f--)(_0x32eb5a=_0x354a28[_0x165b6f])&&(_0x34c1a6=_0x32eb5a(_0x34c1a6)||_0x34c1a6);return _0x34c1a6;},we=(_0x28182f,_0x4d85c1)=>(_0x20a2df,_0x36a6fc)=>_0x4d85c1(_0x20a2df,_0x36a6fc,_0x28182f);let yt=class extends _0x711a29{constructor(_0xe98de0,_0x188c24,_0xf74691,_0x291a65,_0x5584bd){var _0x1e97fa=_0x374e05;super(_0xe98de0,_0x188c24,_0xf74691),this[_0x1e97fa(0x3ed)]=_0x291a65,this[_0x1e97fa(0x41a)]=_0x5584bd;}[_0x374e05(0x22e)](_0x7cb48d,_0x2de1f6){var _0x252aef=_0x374e05;const _0x998433=this[_0x252aef(0x347)](_0x7cb48d);if(_0x998433)try{const _0x4e5dd8=this[_0x252aef(0x329)](_0x998433,_0x2de1f6);this[_0x252aef(0x346)](_0x7cb48d,_0x4e5dd8);}catch(_0x270cfe){this[_0x252aef(0x41a)][_0x252aef(0x1ee)](_0x252aef(0x2f1),_0x270cfe),this[_0x252aef(0x370)](_0x7cb48d);}const _0x1c7c49=this[_0x252aef(0x233)](_0x7cb48d);if(_0x1c7c49)try{const _0x219456=this[_0x252aef(0x329)](_0x1c7c49,_0x2de1f6);this['_substituteRedoStack'](_0x7cb48d,_0x219456);}catch(_0x1a35da){this[_0x252aef(0x41a)][_0x252aef(0x1ee)](_0x1a35da),this['_clearRedo'](_0x7cb48d);}}[_0x374e05(0x370)](_0x2ada85){var _0x5544c4=_0x374e05;const _0x5e6bf5=this[_0x5544c4(0x347)](_0x2ada85);_0x5e6bf5&&(_0x5e6bf5[_0x5544c4(0x3d1)]=0x0,this[_0x5544c4(0x234)]());}['_clearRedo'](_0x194fdc){var _0x1c20dc=_0x374e05;const _0x14f3db=this['_getRedoStack'](_0x194fdc);_0x14f3db&&(_0x14f3db['length']=0x0,this[_0x1c20dc(0x234)]());}[_0x374e05(0x346)](_0x43e70a,_0x29e3c8){var _0x2b5bf0=_0x374e05;this[_0x2b5bf0(0x31b)]['set'](_0x43e70a,_0x29e3c8),this[_0x2b5bf0(0x234)]();}[_0x374e05(0x367)](_0x1716f6,_0x36bd34){var _0x4d7eb3=_0x374e05;this['_redoStacks']['set'](_0x1716f6,_0x36bd34),this[_0x4d7eb3(0x234)]();}['_transformStack'](_0x1a55ad,_0x45c6a0){var _0x21c6ba=_0x374e05;const _0x1e1e50=[];let _0x1cc623=_0x45c6a0,_0x16ac92=_0x45c6a0;for(let _0x4f7cab=_0x1a55ad[_0x21c6ba(0x3d1)]-0x1;_0x4f7cab>=0x0;_0x4f7cab--){const {unitID:_0x50ea56,undoMutations:_0x5497de,redoMutations:_0x7edfc9}=_0x1a55ad[_0x4f7cab],_0x11c8a1=this[_0x21c6ba(0x3ed)][_0x21c6ba(0x30d)](_0x1cc623,_0x5497de),_0x39bf77=this['_transformService'][_0x21c6ba(0x30d)](_0x16ac92,_0x7edfc9);if(_0x36d1eb(_0x11c8a1)||_0x36d1eb(_0x39bf77)){this[_0x21c6ba(0x41a)][_0x21c6ba(0x1ee)](_0x21c6ba(0x2f1),_0x21c6ba(0x456),_0x11c8a1,_0x39bf77);break;}_0x1cc623=_0x11c8a1[_0x21c6ba(0x288)],_0x16ac92=_0x39bf77[_0x21c6ba(0x288)],_0x1e1e50[_0x21c6ba(0x1b6)]({'unitID':_0x50ea56,'undoMutations':_0x11c8a1[_0x21c6ba(0x226)],'redoMutations':_0x39bf77['m2Prime']});}return _0x1e1e50[_0x21c6ba(0x332)]();}};yt=hr([we(0x0,_0xdbe7af),we(0x1,_0x4ad308),we(0x2,_0x4c3eed),we(0x3,_0x3b110b),we(0x4,_0x57d59c)],yt);var _r=Object['defineProperty'],lr=Object[_0x374e05(0x34f)],ur=(_0x366cdc,_0x4037ef,_0x3fe24a)=>_0x4037ef in _0x366cdc?_r(_0x366cdc,_0x4037ef,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x3fe24a}):_0x366cdc[_0x4037ef]=_0x3fe24a,dr=(_0x3634f1,_0x5b4e37,_0xb1ad29,_0x418c44)=>{var _0x5e1e8e=_0x374e05;for(var _0x31170c=_0x418c44>0x1?void 0x0:_0x418c44?lr(_0x5b4e37,_0xb1ad29):_0x5b4e37,_0x51afc9=_0x3634f1[_0x5e1e8e(0x3d1)]-0x1,_0x2e40ef;_0x51afc9>=0x0;_0x51afc9--)(_0x2e40ef=_0x3634f1[_0x51afc9])&&(_0x31170c=_0x2e40ef(_0x31170c)||_0x31170c);return _0x31170c;},mt=(_0x475477,_0x21028c)=>(_0x13f435,_0x5a8900)=>_0x21028c(_0x13f435,_0x5a8900,_0x475477),fr=(_0x576cd,_0x226902,_0x129fae)=>ur(_0x576cd,_0x226902+'',_0x129fae);const vr=_0x374e05(0x414);let Nt=class extends _0x3fb74a{constructor(_0x13a123,_0x306e7f,_0x504bbc,_0x532521){var _0x2f416a=_0x374e05;super(),N(this,_0x2f416a(0x269)),(this[_0x2f416a(0x41a)]=_0x306e7f,this['_injector']=_0x504bbc,this[_0x2f416a(0x31e)]=_0x532521);const {..._0x25c034}=_0x3c37a0({},Ds,_0x13a123);if(!_0x25c034[_0x2f416a(0x1ed)])throw new Error(_0x2f416a(0x29f));this[_0x2f416a(0x269)]=_0x25c034,this[_0x2f416a(0x31e)][_0x2f416a(0x44e)](K,_0x25c034);}[_0x374e05(0x263)](){var _0x1cf35e=_0x374e05;this[_0x1cf35e(0x460)](),this[_0x1cf35e(0x35e)]();}[_0x374e05(0x460)](){var _0x27cb4a=_0x374e05,_0xcd316f,_0x10bf9d;this[_0x27cb4a(0x41e)][_0x27cb4a(0x1ca)](_0x3351b5)&&this['_logService'][_0x27cb4a(0x1ee)](_0x27cb4a(0x3cb),_0x27cb4a(0x30e));const _0x32544c=_0x24fcf8([[_0x3351b5,{'useClass':yt}],[Le],[Pe],[it],[rt],[at],[Si],[ot],[ve],[Ct],[gi,{'useClass':this[_0x27cb4a(0x269)][_0x27cb4a(0x1ed)]}],[_0x5bd4bf,{'useClass':Ot}],[_0x2cbd0f,{'useClass':Tt}],[_0xe7666b,{'useClass':Rt}],[_0x1e2b6d,{'useClass':bt}],[nt],[It]],(_0xcd316f=this[_0x27cb4a(0x269)])==null?void 0x0:_0xcd316f[_0x27cb4a(0x350)]);if(!((_0x10bf9d=this[_0x27cb4a(0x269)])!=null&&_0x10bf9d[_0x27cb4a(0x1f2)])){const _0x167006=_0x32544c[_0x27cb4a(0x24b)](([_0x93c84c])=>_0x93c84c===ht);_0x167006!==-0x1&&_0x32544c[_0x27cb4a(0x2e7)](_0x167006,0x1);}_0x18a796(this['_injector'],_0x32544c);}[_0x374e05(0x35e)](){var _0x340e48=_0x374e05,_0x4499d8,_0x5ce386,_0x41ae0b;this[_0x340e48(0x41e)][_0x340e48(0x35f)](_0x3c791d)[_0x340e48(0x3a4)]({'priority':0x14,'interceptor':_0x18f225({'maxParallel':0x6})}),(_0x4499d8=this['_config'])!=null&&_0x4499d8[_0x340e48(0x355)]||(_0x5ce386=this[_0x340e48(0x41e)][_0x340e48(0x35f)](J,_0x45f1a8[_0x340e48(0x203)]))==null||_0x5ce386['disableLocalCache'](),(_0x41ae0b=this[_0x340e48(0x269)])!=null&&_0x41ae0b['enableAuthServer']&&_0x2986c6(this['_injector'],[[rt]]),_0x2986c6(this['_injector'],[[at],[nt],[ot]]);}};fr(Nt,_0x374e05(0x2a7),vr),Nt=dr([_0x18be4f(_0x3b0d6b,_0x240bdc),mt(0x1,_0x57d59c),mt(0x2,_0x59854e(_0x43d4c8)),mt(0x3,_0x53268d)],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};
|